@ckeditor/ckeditor5-ai 47.1.0 → 47.2.0-alpha.0

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 (498) hide show
  1. package/build/ai.js +2 -2
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/ast.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/be.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/bn.js +1 -1
  9. package/build/translations/bs.js +1 -1
  10. package/build/translations/ca.js +1 -1
  11. package/build/translations/cs.js +1 -1
  12. package/build/translations/da.js +1 -1
  13. package/build/translations/de-ch.js +1 -1
  14. package/build/translations/de.js +1 -1
  15. package/build/translations/el.js +1 -1
  16. package/build/translations/en-au.js +1 -1
  17. package/build/translations/en-gb.js +1 -1
  18. package/build/translations/eo.js +1 -1
  19. package/build/translations/es-co.js +1 -1
  20. package/build/translations/es.js +1 -1
  21. package/build/translations/et.js +1 -1
  22. package/build/translations/eu.js +1 -1
  23. package/build/translations/fa.js +1 -1
  24. package/build/translations/fi.js +1 -1
  25. package/build/translations/fr.js +1 -1
  26. package/build/translations/gl.js +1 -1
  27. package/build/translations/gu.js +1 -1
  28. package/build/translations/he.js +1 -1
  29. package/build/translations/hi.js +1 -1
  30. package/build/translations/hr.js +1 -1
  31. package/build/translations/hu.js +1 -1
  32. package/build/translations/hy.js +1 -1
  33. package/build/translations/id.js +1 -1
  34. package/build/translations/it.js +1 -1
  35. package/build/translations/ja.js +1 -1
  36. package/build/translations/jv.js +1 -1
  37. package/build/translations/kk.js +1 -1
  38. package/build/translations/km.js +1 -1
  39. package/build/translations/kn.js +1 -1
  40. package/build/translations/ko.js +1 -1
  41. package/build/translations/ku.js +1 -1
  42. package/build/translations/lt.js +1 -1
  43. package/build/translations/lv.js +1 -1
  44. package/build/translations/ms.js +1 -1
  45. package/build/translations/nb.js +1 -1
  46. package/build/translations/ne.js +1 -1
  47. package/build/translations/nl.js +1 -1
  48. package/build/translations/no.js +1 -1
  49. package/build/translations/oc.js +1 -1
  50. package/build/translations/pl.js +1 -1
  51. package/build/translations/pt-br.js +1 -1
  52. package/build/translations/pt.js +1 -1
  53. package/build/translations/ro.js +1 -1
  54. package/build/translations/ru.js +1 -1
  55. package/build/translations/si.js +1 -1
  56. package/build/translations/sk.js +1 -1
  57. package/build/translations/sl.js +1 -1
  58. package/build/translations/sq.js +1 -1
  59. package/build/translations/sr-latn.js +1 -1
  60. package/build/translations/sr.js +1 -1
  61. package/build/translations/sv.js +1 -1
  62. package/build/translations/th.js +1 -1
  63. package/build/translations/ti.js +1 -1
  64. package/build/translations/tk.js +1 -1
  65. package/build/translations/tr.js +1 -1
  66. package/build/translations/tt.js +1 -1
  67. package/build/translations/ug.js +1 -1
  68. package/build/translations/uk.js +1 -1
  69. package/build/translations/ur.js +1 -1
  70. package/build/translations/uz.js +1 -1
  71. package/build/translations/vi.js +1 -1
  72. package/build/translations/zh-cn.js +1 -1
  73. package/build/translations/zh.js +1 -1
  74. package/dist/index-editor.css +573 -203
  75. package/dist/index.css +627 -204
  76. package/dist/index.js +5 -4
  77. package/dist/translations/af.js +1 -1
  78. package/dist/translations/af.umd.js +1 -1
  79. package/dist/translations/ar.js +1 -1
  80. package/dist/translations/ar.umd.js +1 -1
  81. package/dist/translations/ast.js +1 -1
  82. package/dist/translations/ast.umd.js +1 -1
  83. package/dist/translations/az.js +1 -1
  84. package/dist/translations/az.umd.js +1 -1
  85. package/dist/translations/be.js +1 -1
  86. package/dist/translations/be.umd.js +1 -1
  87. package/dist/translations/bg.js +1 -1
  88. package/dist/translations/bg.umd.js +1 -1
  89. package/dist/translations/bn.js +1 -1
  90. package/dist/translations/bn.umd.js +1 -1
  91. package/dist/translations/bs.js +1 -1
  92. package/dist/translations/bs.umd.js +1 -1
  93. package/dist/translations/ca.js +1 -1
  94. package/dist/translations/ca.umd.js +1 -1
  95. package/dist/translations/cs.js +1 -1
  96. package/dist/translations/cs.umd.js +1 -1
  97. package/dist/translations/da.js +1 -1
  98. package/dist/translations/da.umd.js +1 -1
  99. package/dist/translations/de-ch.js +1 -1
  100. package/dist/translations/de-ch.umd.js +1 -1
  101. package/dist/translations/de.js +1 -1
  102. package/dist/translations/de.umd.js +1 -1
  103. package/dist/translations/el.js +1 -1
  104. package/dist/translations/el.umd.js +1 -1
  105. package/dist/translations/en-au.js +1 -1
  106. package/dist/translations/en-au.umd.js +1 -1
  107. package/dist/translations/en-gb.js +1 -1
  108. package/dist/translations/en-gb.umd.js +1 -1
  109. package/dist/translations/en.js +1 -1
  110. package/dist/translations/en.umd.js +1 -1
  111. package/dist/translations/eo.js +1 -1
  112. package/dist/translations/eo.umd.js +1 -1
  113. package/dist/translations/es-co.js +1 -1
  114. package/dist/translations/es-co.umd.js +1 -1
  115. package/dist/translations/es.js +1 -1
  116. package/dist/translations/es.umd.js +1 -1
  117. package/dist/translations/et.js +1 -1
  118. package/dist/translations/et.umd.js +1 -1
  119. package/dist/translations/eu.js +1 -1
  120. package/dist/translations/eu.umd.js +1 -1
  121. package/dist/translations/fa.js +1 -1
  122. package/dist/translations/fa.umd.js +1 -1
  123. package/dist/translations/fi.js +1 -1
  124. package/dist/translations/fi.umd.js +1 -1
  125. package/dist/translations/fr.js +1 -1
  126. package/dist/translations/fr.umd.js +1 -1
  127. package/dist/translations/gl.js +1 -1
  128. package/dist/translations/gl.umd.js +1 -1
  129. package/dist/translations/gu.js +1 -1
  130. package/dist/translations/gu.umd.js +1 -1
  131. package/dist/translations/he.js +1 -1
  132. package/dist/translations/he.umd.js +1 -1
  133. package/dist/translations/hi.js +1 -1
  134. package/dist/translations/hi.umd.js +1 -1
  135. package/dist/translations/hr.js +1 -1
  136. package/dist/translations/hr.umd.js +1 -1
  137. package/dist/translations/hu.js +1 -1
  138. package/dist/translations/hu.umd.js +1 -1
  139. package/dist/translations/hy.js +1 -1
  140. package/dist/translations/hy.umd.js +1 -1
  141. package/dist/translations/id.js +1 -1
  142. package/dist/translations/id.umd.js +1 -1
  143. package/dist/translations/it.js +1 -1
  144. package/dist/translations/it.umd.js +1 -1
  145. package/dist/translations/ja.js +1 -1
  146. package/dist/translations/ja.umd.js +1 -1
  147. package/dist/translations/jv.js +1 -1
  148. package/dist/translations/jv.umd.js +1 -1
  149. package/dist/translations/kk.js +1 -1
  150. package/dist/translations/kk.umd.js +1 -1
  151. package/dist/translations/km.js +1 -1
  152. package/dist/translations/km.umd.js +1 -1
  153. package/dist/translations/kn.js +1 -1
  154. package/dist/translations/kn.umd.js +1 -1
  155. package/dist/translations/ko.js +1 -1
  156. package/dist/translations/ko.umd.js +1 -1
  157. package/dist/translations/ku.js +1 -1
  158. package/dist/translations/ku.umd.js +1 -1
  159. package/dist/translations/lt.js +1 -1
  160. package/dist/translations/lt.umd.js +1 -1
  161. package/dist/translations/lv.js +1 -1
  162. package/dist/translations/lv.umd.js +1 -1
  163. package/dist/translations/ms.js +1 -1
  164. package/dist/translations/ms.umd.js +1 -1
  165. package/dist/translations/nb.js +1 -1
  166. package/dist/translations/nb.umd.js +1 -1
  167. package/dist/translations/ne.js +1 -1
  168. package/dist/translations/ne.umd.js +1 -1
  169. package/dist/translations/nl.js +1 -1
  170. package/dist/translations/nl.umd.js +1 -1
  171. package/dist/translations/no.js +1 -1
  172. package/dist/translations/no.umd.js +1 -1
  173. package/dist/translations/oc.js +1 -1
  174. package/dist/translations/oc.umd.js +1 -1
  175. package/dist/translations/pl.js +1 -1
  176. package/dist/translations/pl.umd.js +1 -1
  177. package/dist/translations/pt-br.js +1 -1
  178. package/dist/translations/pt-br.umd.js +1 -1
  179. package/dist/translations/pt.js +1 -1
  180. package/dist/translations/pt.umd.js +1 -1
  181. package/dist/translations/ro.js +1 -1
  182. package/dist/translations/ro.umd.js +1 -1
  183. package/dist/translations/ru.js +1 -1
  184. package/dist/translations/ru.umd.js +1 -1
  185. package/dist/translations/si.js +1 -1
  186. package/dist/translations/si.umd.js +1 -1
  187. package/dist/translations/sk.js +1 -1
  188. package/dist/translations/sk.umd.js +1 -1
  189. package/dist/translations/sl.js +1 -1
  190. package/dist/translations/sl.umd.js +1 -1
  191. package/dist/translations/sq.js +1 -1
  192. package/dist/translations/sq.umd.js +1 -1
  193. package/dist/translations/sr-latn.js +1 -1
  194. package/dist/translations/sr-latn.umd.js +1 -1
  195. package/dist/translations/sr.js +1 -1
  196. package/dist/translations/sr.umd.js +1 -1
  197. package/dist/translations/sv.js +1 -1
  198. package/dist/translations/sv.umd.js +1 -1
  199. package/dist/translations/th.js +1 -1
  200. package/dist/translations/th.umd.js +1 -1
  201. package/dist/translations/ti.js +1 -1
  202. package/dist/translations/ti.umd.js +1 -1
  203. package/dist/translations/tk.js +1 -1
  204. package/dist/translations/tk.umd.js +1 -1
  205. package/dist/translations/tr.js +1 -1
  206. package/dist/translations/tr.umd.js +1 -1
  207. package/dist/translations/tt.js +1 -1
  208. package/dist/translations/tt.umd.js +1 -1
  209. package/dist/translations/ug.js +1 -1
  210. package/dist/translations/ug.umd.js +1 -1
  211. package/dist/translations/uk.js +1 -1
  212. package/dist/translations/uk.umd.js +1 -1
  213. package/dist/translations/ur.js +1 -1
  214. package/dist/translations/ur.umd.js +1 -1
  215. package/dist/translations/uz.js +1 -1
  216. package/dist/translations/uz.umd.js +1 -1
  217. package/dist/translations/vi.js +1 -1
  218. package/dist/translations/vi.umd.js +1 -1
  219. package/dist/translations/zh-cn.js +1 -1
  220. package/dist/translations/zh-cn.umd.js +1 -1
  221. package/dist/translations/zh.js +1 -1
  222. package/dist/translations/zh.umd.js +1 -1
  223. package/lang/contexts.json +8 -1
  224. package/lang/translations/af.po +52 -4
  225. package/lang/translations/ar.po +52 -4
  226. package/lang/translations/ast.po +52 -4
  227. package/lang/translations/az.po +52 -4
  228. package/lang/translations/be.po +52 -4
  229. package/lang/translations/bg.po +52 -4
  230. package/lang/translations/bn.po +52 -4
  231. package/lang/translations/bs.po +52 -4
  232. package/lang/translations/ca.po +52 -4
  233. package/lang/translations/cs.po +52 -4
  234. package/lang/translations/da.po +52 -4
  235. package/lang/translations/de-ch.po +52 -4
  236. package/lang/translations/de.po +52 -4
  237. package/lang/translations/el.po +52 -4
  238. package/lang/translations/en-au.po +52 -4
  239. package/lang/translations/en-gb.po +52 -4
  240. package/lang/translations/en.po +52 -4
  241. package/lang/translations/eo.po +52 -4
  242. package/lang/translations/es-co.po +52 -4
  243. package/lang/translations/es.po +52 -4
  244. package/lang/translations/et.po +52 -4
  245. package/lang/translations/eu.po +52 -4
  246. package/lang/translations/fa.po +52 -4
  247. package/lang/translations/fi.po +52 -4
  248. package/lang/translations/fr.po +52 -4
  249. package/lang/translations/gl.po +52 -4
  250. package/lang/translations/gu.po +52 -4
  251. package/lang/translations/he.po +52 -4
  252. package/lang/translations/hi.po +52 -4
  253. package/lang/translations/hr.po +52 -4
  254. package/lang/translations/hu.po +52 -4
  255. package/lang/translations/hy.po +52 -4
  256. package/lang/translations/id.po +52 -4
  257. package/lang/translations/it.po +52 -4
  258. package/lang/translations/ja.po +52 -4
  259. package/lang/translations/jv.po +52 -4
  260. package/lang/translations/kk.po +52 -4
  261. package/lang/translations/km.po +52 -4
  262. package/lang/translations/kn.po +52 -4
  263. package/lang/translations/ko.po +52 -4
  264. package/lang/translations/ku.po +52 -4
  265. package/lang/translations/lt.po +52 -4
  266. package/lang/translations/lv.po +52 -4
  267. package/lang/translations/ms.po +52 -4
  268. package/lang/translations/nb.po +52 -4
  269. package/lang/translations/ne.po +52 -4
  270. package/lang/translations/nl.po +52 -4
  271. package/lang/translations/no.po +52 -4
  272. package/lang/translations/oc.po +52 -4
  273. package/lang/translations/pl.po +52 -4
  274. package/lang/translations/pt-br.po +52 -4
  275. package/lang/translations/pt.po +52 -4
  276. package/lang/translations/ro.po +52 -4
  277. package/lang/translations/ru.po +52 -4
  278. package/lang/translations/si.po +52 -4
  279. package/lang/translations/sk.po +52 -4
  280. package/lang/translations/sl.po +52 -4
  281. package/lang/translations/sq.po +52 -4
  282. package/lang/translations/sr-latn.po +52 -4
  283. package/lang/translations/sr.po +52 -4
  284. package/lang/translations/sv.po +52 -4
  285. package/lang/translations/th.po +52 -4
  286. package/lang/translations/ti.po +52 -4
  287. package/lang/translations/tk.po +52 -4
  288. package/lang/translations/tr.po +52 -4
  289. package/lang/translations/tt.po +52 -4
  290. package/lang/translations/ug.po +52 -4
  291. package/lang/translations/uk.po +52 -4
  292. package/lang/translations/ur.po +52 -4
  293. package/lang/translations/uz.po +52 -4
  294. package/lang/translations/vi.po +52 -4
  295. package/lang/translations/zh-cn.po +52 -4
  296. package/lang/translations/zh.po +52 -4
  297. package/package.json +15 -15
  298. package/src/aiactions/aiactions.d.ts +1 -1
  299. package/src/aiactions/aiactions.js +1 -1
  300. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  301. package/src/aiactions/model/aiactionsreply.js +1 -1
  302. package/src/aiassistant/adapters/aiadapter.js +1 -1
  303. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  304. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  305. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  306. package/src/aiassistant/aiassistant.js +1 -1
  307. package/src/aiassistant/aiassistantediting.js +1 -1
  308. package/src/aiassistant/aiassistantui.js +1 -1
  309. package/src/aiassistant/legacyerrors.js +1 -1
  310. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  311. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  312. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  313. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  314. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  315. package/src/aiassistant/ui/form/aiformview.js +1 -1
  316. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  317. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  318. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  319. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  320. package/src/aiassistant/utils/common-translations.js +1 -1
  321. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  322. package/src/aiballoon/aiballoon.d.ts +5 -1
  323. package/src/aiballoon/aiballoon.js +1 -1
  324. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  325. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  326. package/src/aiballoon/ui/aiballoonview.d.ts +40 -1
  327. package/src/aiballoon/ui/aiballoonview.js +1 -1
  328. package/src/aichat/aichat.js +1 -1
  329. package/src/aichat/aichatcontroller.d.ts +1 -1
  330. package/src/aichat/aichatcontroller.js +1 -1
  331. package/src/aichat/aichatui.d.ts +1 -0
  332. package/src/aichat/aichatui.js +1 -1
  333. package/src/aichat/model/aichatcontext.d.ts +4 -0
  334. package/src/aichat/model/aichatcontext.js +1 -1
  335. package/src/aichat/model/aichatconversation.js +1 -1
  336. package/src/aichat/model/aichatinteraction.js +1 -1
  337. package/src/aichat/model/aichatmodels.d.ts +8 -29
  338. package/src/aichat/model/aichatmodels.js +1 -1
  339. package/src/aichat/ui/aichatcontrolsview.d.ts +4 -1
  340. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  341. package/src/aichat/ui/aichatfeedview.d.ts +2 -2
  342. package/src/aichat/ui/aichatfeedview.js +1 -1
  343. package/src/aichat/ui/aichatheaderview.js +1 -1
  344. package/src/aichat/ui/aichatview.d.ts +4 -1
  345. package/src/aichat/ui/aichatview.js +1 -1
  346. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  347. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  348. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  349. package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +4 -1
  350. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  351. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  352. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  353. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  354. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  355. package/src/aichat/ui/controls/resources/{aichatresourceslistview.d.ts → aichatcontextresourceslistview.d.ts} +1 -1
  356. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +23 -0
  357. package/src/aichat/ui/controls/resources/{aichatresourcesview.d.ts → aichatcontextresourcesview.d.ts} +5 -2
  358. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +23 -0
  359. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  360. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +4 -0
  361. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  362. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  363. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  364. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  365. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  366. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  367. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  368. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +3 -3
  369. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  370. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -3
  371. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  372. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  373. package/src/aichat/utils/eventnames.js +1 -1
  374. package/src/aichat/utils/promisequeue.js +1 -1
  375. package/src/aichat/utils/scrollmanager.js +1 -1
  376. package/src/aichathistory/aichathistory.js +1 -1
  377. package/src/aichathistory/aichathistorycontroller.js +1 -1
  378. package/src/aichathistory/aichathistoryui.js +1 -1
  379. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  380. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  381. package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
  382. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -1
  383. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  384. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  385. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  386. package/src/aiconfig.d.ts +28 -7
  387. package/src/aicore/aiconnector.d.ts +1 -0
  388. package/src/aicore/aiconnector.js +1 -1
  389. package/src/aicore/aiediting.js +1 -1
  390. package/src/aicore/model/aicapabilities.js +1 -1
  391. package/src/aicore/model/aicontext.js +1 -1
  392. package/src/aicore/model/aiinteraction.js +1 -1
  393. package/src/aicore/model/aimodels.d.ts +66 -0
  394. package/src/aicore/model/aimodels.js +23 -0
  395. package/src/aicore/model/aireply.d.ts +9 -1
  396. package/src/aicore/model/aireply.js +1 -1
  397. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  398. package/src/aicore/pipeline/airesponseparser.js +2 -2
  399. package/src/aicore/ui/aidisclaimerview.js +1 -1
  400. package/src/aicore/ui/aiskeleton.js +1 -1
  401. package/src/aicore/ui/aispinner.js +1 -1
  402. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  403. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +5 -2
  404. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  405. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +3 -1
  406. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  407. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +6 -2
  408. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  409. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  410. package/src/aicore/utils/common-translations.js +1 -1
  411. package/src/aicore/utils/createresizebutton.js +1 -1
  412. package/src/aicore/utils/documentposition.js +1 -1
  413. package/src/aicore/utils/documentrange.js +1 -1
  414. package/src/aicore/utils/eventnames.js +1 -1
  415. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  416. package/src/aicore/utils/getoperationsfromreply.d.ts +2 -1
  417. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  418. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  419. package/src/aicore/utils/htmlparser.js +1 -1
  420. package/src/aicore/utils/htmlstreamer.js +1 -1
  421. package/src/aieditorintegration/aieditorintegration.d.ts +2 -1
  422. package/src/aieditorintegration/aieditorintegration.js +1 -1
  423. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  424. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  425. package/src/aiquickactions/aiquickactions.js +1 -1
  426. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  427. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  428. package/src/aiquickactions/aiquickactionsui.js +1 -1
  429. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  430. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  431. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  432. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  433. package/src/aireviewmode/aireviewmode.js +1 -1
  434. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  435. package/src/aireviewmode/aireviewmodeediting.d.ts +18 -0
  436. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  437. package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
  438. package/src/aireviewmode/aireviewmodeui.js +1 -1
  439. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  440. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +3 -3
  441. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  442. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  443. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  444. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
  445. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  446. package/src/aireviewmode/model/aireviewcheckrun.d.ts +9 -10
  447. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  448. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  449. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  450. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  451. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  452. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +6 -0
  453. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  454. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  455. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +13 -0
  456. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +23 -0
  457. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  458. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +9 -1
  459. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  460. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  461. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +0 -4
  462. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  463. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  464. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  465. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  466. package/src/aitabs/aitabs.js +1 -1
  467. package/src/aitabs/aitabsmainview.js +1 -1
  468. package/src/aitabs/tabs/aitabsview.js +1 -1
  469. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  470. package/src/aitabs/tabs/tabpanelview.js +1 -1
  471. package/src/errors.js +1 -1
  472. package/src/index.d.ts +1 -0
  473. package/src/index.js +1 -1
  474. package/theme/aiballoon/aiballoon.css +12 -0
  475. package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
  476. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +52 -43
  477. package/theme/aichat/aichat-controls/aichat-controls-button.css +8 -6
  478. package/theme/aichat/aichat-controls/aichat-controls-loader.css +36 -52
  479. package/theme/aichat/aichat-controls/prompt-capabilities.css +0 -1
  480. package/theme/aichat/aichat-controls.css +11 -27
  481. package/theme/aichat/aichat.css +2 -3
  482. package/theme/aichat/aichatfeed.css +1 -27
  483. package/theme/aichat/aichathistory.css +12 -0
  484. package/theme/aichat/aisuggestioncontainer.css +5 -0
  485. package/theme/aireviewmode/aireviewmode-check-list.css +25 -23
  486. package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
  487. package/theme/aireviewmode/aireviewmode-check-run.css +28 -5
  488. package/theme/aireviewmode/aireviewmode.css +17 -7
  489. package/theme/aitabs/aitabsview.css +1 -1
  490. package/theme/aitabs/tabs/tabbuttonview.css +1 -0
  491. package/theme/aitabs/tabs/tabsview.css +1 -0
  492. package/theme/common/aibutton.css +27 -0
  493. package/theme/common/aiheader.css +14 -4
  494. package/theme/common/aitrackchanges.css +8 -1
  495. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +0 -23
  496. package/src/aichat/ui/controls/resources/aichatresourcesview.js +0 -23
  497. package/src/aireviewmode/model/aireviewmodels.d.ts +0 -26
  498. package/src/aireviewmode/model/aireviewmodels.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xa472(){const _0x56dfe2=['362699jTGjNc','21918ksbcZn','type','removed','236355SnJtdj','documentContextContent','getOperations','anchorId','1029gCJUQn','getDiff','map','operationsA','previousSibling','180itutXS','getDocumentContext','length','data-id','shift','18JyZSnK','5871712sbzJmz','filter','2ZyWLtc','history','cloneNode','3842715AOyMwA','1699863dRqEnS','content','model','version','4637888lQrhaP','node','document','new'];_0xa472=function(){return _0x56dfe2;};return _0xa472();}(function(_0x5746c4,_0xb3946a){const _0x4ae9ac=_0x1d2a,_0x2a24e1=_0x5746c4();while(!![]){try{const _0x5633fc=-parseInt(_0x4ae9ac(0xb4))/0x1*(-parseInt(_0x4ae9ac(0xc9))/0x2)+parseInt(_0x4ae9ac(0xcc))/0x3+parseInt(_0x4ae9ac(0xb0))/0x4+-parseInt(_0x4ae9ac(0xb8))/0x5+parseInt(_0x4ae9ac(0xb5))/0x6*(-parseInt(_0x4ae9ac(0xbc))/0x7)+-parseInt(_0x4ae9ac(0xc7))/0x8*(-parseInt(_0x4ae9ac(0xc6))/0x9)+parseInt(_0x4ae9ac(0xc1))/0xa*(-parseInt(_0x4ae9ac(0xcd))/0xb);if(_0x5633fc===_0xb3946a)break;else _0x2a24e1['push'](_0x2a24e1['shift']());}catch(_0x3e392a){_0x2a24e1['push'](_0x2a24e1['shift']());}}}(_0xa472,0xdcfbc));function _0x1d2a(_0x4e885b,_0x350b71){const _0xa47277=_0xa472();return _0x1d2a=function(_0x1d2ad7,_0x485697){_0x1d2ad7=_0x1d2ad7-0xae;let _0x1cf947=_0xa47277[_0x1d2ad7];return _0x1cf947;},_0x1d2a(_0x4e885b,_0x350b71);}import{transformOperationSets as _0x2ad06a}from'ckeditor5/src/engine.js';import{append as _0x1f760f,findByAttribute as _0x850e84,prependChild as _0x31dbdc,removeElement as _0x2d32f7,serialize as _0x30729b}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x475d3a,interaction:_0x51300a,reply:_0x46f79a,groups:_0x9e0b80,transform:_0x907046,documentCompare:_0xc3bb05,documentCompareOptions:_0x1c3f12}){const _0x1221c3=_0x1d2a,_0x51e3c6=_0x51300a[_0x1221c3(0xc2)]();if(!_0x51e3c6)return[];const _0x4ac1f6=_0x51e3c6[_0x1221c3(0xce)],_0x476154=_0x51e3c6[_0x1221c3(0xaf)],_0x41a548=_0x46f79a[_0x1221c3(0xb9)][_0x1221c3(0xcb)](!0x0);for(const {changes:_0x19de11}of _0x9e0b80){const _0x4b747e=_0x19de11[_0x1221c3(0xc8)](_0xceaa1d=>_0x1221c3(0xb3)!=_0xceaa1d[_0x1221c3(0xb6)])[_0x1221c3(0xbe)](_0x23448c=>_0x850e84(_0x1221c3(0xc4),_0x23448c['id'],_0x41a548)),_0x43588a=_0x19de11[_0x1221c3(0xc8)](_0x250d73=>_0x1221c3(0xb7)!=_0x250d73[_0x1221c3(0xb6)])[_0x1221c3(0xbe)](_0xab8af1=>_0xab8af1[_0x1221c3(0xb1)][_0x1221c3(0xcb)](!0x0));let _0x383686=null;if(_0x4b747e[_0x1221c3(0xc3)]){_0x383686=_0x4b747e[0x0][_0x1221c3(0xc0)];for(let _0x4bce82=0x0;_0x4bce82<_0x4b747e[_0x1221c3(0xc3)];_0x4bce82++)_0x2d32f7(_0x4b747e[_0x4bce82]);}if(_0x43588a[_0x1221c3(0xc3)]){_0x383686||(_0x19de11[0x0][_0x1221c3(0xbb)]?_0x383686=_0x850e84(_0x1221c3(0xc4),_0x19de11[0x0][_0x1221c3(0xbb)],_0x41a548):(_0x383686=_0x43588a[_0x1221c3(0xc5)](),_0x31dbdc(_0x41a548,_0x383686)));for(let _0x262724=0x0;_0x262724<_0x43588a[_0x1221c3(0xc3)];_0x262724++)_0x1f760f(_0x383686,_0x43588a[_0x262724]),_0x383686=_0x43588a[_0x262724];}}const _0x23c106=_0x30729b(_0x41a548),_0x245523=_0xc3bb05[_0x1221c3(0xbd)](_0x4ac1f6,_0x23c106,_0x1c3f12)[_0x1221c3(0xba)]();if(_0x907046){const _0x1c8a25=_0x475d3a[_0x1221c3(0xae)][_0x1221c3(0xb2)][_0x1221c3(0xca)][_0x1221c3(0xba)](_0x476154),_0x5983a3={'document':_0x475d3a[_0x1221c3(0xae)][_0x1221c3(0xb2)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x2ad06a(_0x245523,_0x1c8a25,_0x5983a3)[_0x1221c3(0xbf)];}return _0x245523;}
23
+ (function(_0x5270c7,_0x53bff2){const _0x2fd086=_0x13c5,_0x5f4172=_0x5270c7();while(!![]){try{const _0x25f796=parseInt(_0x2fd086(0x10b))/0x1+-parseInt(_0x2fd086(0x115))/0x2+parseInt(_0x2fd086(0x11c))/0x3*(parseInt(_0x2fd086(0xff))/0x4)+-parseInt(_0x2fd086(0x11d))/0x5+-parseInt(_0x2fd086(0x117))/0x6*(parseInt(_0x2fd086(0x11a))/0x7)+-parseInt(_0x2fd086(0xfc))/0x8+parseInt(_0x2fd086(0x119))/0x9*(parseInt(_0x2fd086(0x101))/0xa);if(_0x25f796===_0x53bff2)break;else _0x5f4172['push'](_0x5f4172['shift']());}catch(_0xbc6658){_0x5f4172['push'](_0x5f4172['shift']());}}}(_0x1b11,0x61e66));import{transformOperationSets as _0x4ce9fa}from'ckeditor5/src/engine.js';function _0x13c5(_0x497684,_0x1fa1c5){const _0x1b1144=_0x1b11();return _0x13c5=function(_0x13c500,_0xb3a0bf){_0x13c500=_0x13c500-0xf9;let _0x2c23eb=_0x1b1144[_0x13c500];return _0x2c23eb;},_0x13c5(_0x497684,_0x1fa1c5);}import{append as _0x2e7913,findByAttribute as _0x2a4592,prependChild as _0x140707,removeElement as _0x66d5a7,serialize as _0x254029}from'./htmlparser.js';export function getOperationsFromReply({editor:_0x22faf4,interaction:_0x2c1247,reply:_0x538871,groups:_0x4bfd12,transform:_0x5eaf2a,documentCompare:_0x14fb60,documentCompareOptions:_0xeeb81f}){const _0x200823=_0x13c5,_0x37a631=_0x2c1247[_0x200823(0x10c)]();if(!_0x37a631)return[];const _0x7f82da=_0x37a631[_0x200823(0x113)],_0x46bfb1=_0x37a631[_0x200823(0xfa)],_0x65b3b9=_0x538871[_0x200823(0x114)][_0x200823(0x107)](!0x0);for(const {changes:_0x31cc94}of _0x4bfd12){const _0x5198aa=_0x31cc94[_0x200823(0x105)](_0x1f12e2=>_0x200823(0xfd)!=_0x1f12e2[_0x200823(0x103)])[_0x200823(0x10d)](_0x2a89d4=>_0x2a4592(_0x200823(0x11b),_0x2a89d4['id'],_0x65b3b9)),_0xf90606=_0x31cc94[_0x200823(0x105)](_0x470ec8=>_0x200823(0x109)!=_0x470ec8[_0x200823(0x103)])[_0x200823(0x10d)](_0x6f9839=>_0x6f9839[_0x200823(0xfe)][_0x200823(0x107)](!0x0));let _0x147f9d=null;if(_0x5198aa[_0x200823(0x106)]){_0x147f9d=_0x5198aa[0x0][_0x200823(0x116)];for(let _0x44c1f3=0x0;_0x44c1f3<_0x5198aa[_0x200823(0x106)];_0x44c1f3++)_0x66d5a7(_0x5198aa[_0x44c1f3]);}if(_0xf90606[_0x200823(0x106)]){_0x147f9d||(_0x31cc94[0x0][_0x200823(0x10e)]?_0x147f9d=_0x2a4592(_0x200823(0x11b),_0x31cc94[0x0][_0x200823(0x10e)],_0x65b3b9):(_0x147f9d=_0xf90606[_0x200823(0x118)](),_0x140707(_0x65b3b9,_0x147f9d)));for(let _0x140bb0=0x0;_0x140bb0<_0xf90606[_0x200823(0x106)];_0x140bb0++)_0x2e7913(_0x147f9d,_0xf90606[_0x140bb0]),_0x147f9d=_0xf90606[_0x140bb0];}}const _0x320f73=_0x254029(_0x65b3b9),_0x67d061=_0x14fb60[_0x200823(0x112)](_0x7f82da,_0x320f73,_0xeeb81f)[_0x200823(0x104)]();if(_0x5eaf2a){const _0x4ee4da=_0x22faf4[_0x200823(0xf9)][_0x200823(0x10f)][_0x200823(0x100)][_0x200823(0x104)](_0x46bfb1),_0x305d88={'document':_0x22faf4[_0x200823(0xf9)][_0x200823(0x10f)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x4ce9fa(_0x67d061,_0x4ee4da,_0x305d88)[_0x200823(0x108)];}return _0x67d061;}function _0x1b11(){const _0x3aa193=['15UWCVcg','2348725dLiiMt','oldRange','model','version','name','3153632qcwFqP','new','node','190636OdWmQA','history','2360XJIuNj','get','type','getOperations','filter','length','cloneNode','operationsA','removed','getRange','258964BvkttH','getDocumentContext','map','anchorId','document','markers','marker','getDiff','content','documentContextContent','1007856cVFRlg','previousSibling','24LXoWWW','shift','52047nOjkeA','163051JBDtcu','data-id'];_0x1b11=function(){return _0x3aa193;};return _0x1b11();}export function fixMarkerOperationOldRange(_0x1df663,_0x274d16){const _0x2ad82e=_0x13c5;if(_0x2ad82e(0x111)!=_0x274d16[_0x2ad82e(0x103)])return;const _0x4a5092=_0x1df663[_0x2ad82e(0xf9)][_0x2ad82e(0x110)][_0x2ad82e(0x102)](_0x274d16[_0x2ad82e(0xfb)]);_0x4a5092&&(_0x274d16[_0x2ad82e(0x11e)]=_0x4a5092[_0x2ad82e(0x10a)]());}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xc721(){const _0x5b8e11=['getShiftedBy','schema','moveTargetPosition','data','createPositionFromPath','749541Nklstp','position','offset','isBlock','changes','448esjdtZ','stickiness','getOperations','backward','type','marker','start','$root','plugins','parent','batch','sourcePosition','12YPaDYV','116417Cfdfiu','word','range','...','getMinimalFlatRanges','removeAttribute','children','POSITIVE_INFINITY','2lPBfJy','remove','132bPiQwF','11622gmYajM','split','4272345CvQZdQ','isBefore','insert','getTransformedByOperation','splitPosition','nodeBefore','length','_getTransformedByDeletion','$text','root','get','data-id','focus','model','TrackChangesEditing','forward','isDocumentOperation','name','rename','createPositionAt','1390XseJuy','applyOperation','element','textNode','modifySelection','1057698DeRtoH','slice','createSelection','parse','_getTransformedByInsertion','targetPosition','getFirstRange','getMovedRangeStart','DocumentCompare','push','change','markers','node','nodeAfter','createRange','end','newRange','20AhsYIh','isAfter','clone','isObject','path','baseVersion','getDiff','isMarkedRemoveOperation','setTo','removed','cloneNode','index','merge','map','new','7735023StJfpu','addOperation','howMany','stringify','changeAttribute','delete','152548xRCEXc','_applyOperationsAsSuggestions','reverse','addAttribute','set','toNone'];_0xc721=function(){return _0x5b8e11;};return _0xc721();}(function(_0x32999f,_0x27bd4a){const _0x5f4a18=_0x17ec,_0x4d6606=_0x32999f();while(!![]){try{const _0x5bf491=-parseInt(_0x5f4a18(0x19e))/0x1*(-parseInt(_0x5f4a18(0x1c3))/0x2)+-parseInt(_0x5f4a18(0x1e1))/0x3*(-parseInt(_0x5f4a18(0x1ba))/0x4)+parseInt(_0x5f4a18(0x1dc))/0x5*(-parseInt(_0x5f4a18(0x1c6))/0x6)+parseInt(_0x5f4a18(0x1bb))/0x7*(parseInt(_0x5f4a18(0x1ae))/0x8)+-parseInt(_0x5f4a18(0x198))/0x9*(parseInt(_0x5f4a18(0x189))/0xa)+parseInt(_0x5f4a18(0x1c8))/0xb+parseInt(_0x5f4a18(0x1c5))/0xc*(parseInt(_0x5f4a18(0x1a9))/0xd);if(_0x5bf491===_0x27bd4a)break;else _0x4d6606['push'](_0x4d6606['shift']());}catch(_0x4c2609){_0x4d6606['push'](_0x4d6606['shift']());}}}(_0xc721,0xdd648));import{findOne as _0x4fdeb9,getAttribute as _0x47d62d,Document as _0x278575,serialize as _0x1d3397,parse as _0x3bee13}from'./htmlparser.js';import{_DetachOperation as _0x5ce2a7,_removeFromModelNodeList as _0x73569e,_insertIntoModelNodeList as _0x3900a9}from'ckeditor5/src/engine.js';export function getSuggestionPartsFromReply({editor:_0x507e9c,changeGroups:_0xff4717,documentContextContent:_0x3debcd,showDiff:_0x40ec87,trimUnchanged:_0x13f7f7=!0x0}){const _0x1457c9=_0x17ec;return _0xff4717[_0x1457c9(0x196)](_0x36ae06=>{const _0x30ba63=_0x1457c9,_0x5cd868=new _0x278575([]),_0x3089bd=new _0x278575([]);for(const _0x1b07fe of _0x36ae06[_0x30ba63(0x1ad)])if(_0x40ec87&&_0x30ba63(0x192)==_0x1b07fe[_0x30ba63(0x1b2)]||_0x3089bd[_0x30ba63(0x1c1)][_0x30ba63(0x181)](_0x1b07fe[_0x30ba63(0x184)][_0x30ba63(0x193)](!0x0)),_0x30ba63(0x197)!=_0x1b07fe[_0x30ba63(0x1b2)]&&(_0x40ec87||_0x30ba63(0x192)!=_0x1b07fe[_0x30ba63(0x1b2)])){const _0x4fa9c7=_0x4fdeb9(_0x5dba69=>_0x47d62d(_0x5dba69,_0x30ba63(0x1d3))==_0x1b07fe['id'],_0x3debcd,!0x0);_0x4fa9c7&&_0x5cd868[_0x30ba63(0x1c1)][_0x30ba63(0x181)](_0x4fa9c7[_0x30ba63(0x193)](!0x0));}const {content:_0xabaa05,hasChanges:_0x418b61}=function(_0x19b501,_0x3cb5a1,_0xbfd8f4,_0x34fef6,_0x167e2b=!0x0){const _0xc1005d=_0x30ba63,_0x1203f2=_0x19b501[_0xc1005d(0x1b6)][_0xc1005d(0x1d2)](_0xc1005d(0x180)),_0x2c9b09=_0x19b501[_0xc1005d(0x1b6)][_0xc1005d(0x1d2)](_0xc1005d(0x1d6)),_0x2b7a09=_0x1d3397(_0x3cb5a1),_0xe70ce1=_0x1d3397(_0xbfd8f4),_0x340319=_0x19b501[_0xc1005d(0x1a7)][_0xc1005d(0x17b)](_0x2b7a09,_0xc1005d(0x1b5)),_0x3d16ff=_0x19b501[_0xc1005d(0x1d5)][_0xc1005d(0x1db)](_0x340319,0x0),_0x3ed867=_0x1203f2[_0xc1005d(0x18f)](_0x2b7a09,_0xe70ce1,{'anchor':_0x3d16ff,'markDeletions':_0x34fef6}),_0x76763a=_0x3ed867[_0xc1005d(0x1b0)]();if(0x0==_0x76763a[_0xc1005d(0x1ce)])return{'content':_0x3cb5a1[_0xc1005d(0x193)](!0x0),'hasChanges':!0x1};_0x34fef6?_0x2c9b09[_0xc1005d(0x19f)](_0x76763a):_0x19b501[_0xc1005d(0x1d5)][_0xc1005d(0x182)](_0x33d334=>{const _0x559660=_0xc1005d;for(const _0x490dce of _0x76763a)if(_0x559660(0x1c4)==_0x490dce[_0x559660(0x1b2)]){const _0x1aee73=_0x490dce[_0x559660(0x1b9)],_0x1f0df8=_0x490dce[_0x559660(0x19a)],_0x503bad=new _0x5ce2a7(_0x1aee73,_0x1f0df8);_0x33d334[_0x559660(0x1b8)][_0x559660(0x199)](_0x503bad),_0x19b501[_0x559660(0x1d5)][_0x559660(0x1dd)](_0x503bad);}else{if(_0x559660(0x1b3)==_0x490dce[_0x559660(0x1b2)]){const _0xc8020f=_0x490dce[_0x559660(0x1d9)],_0x166626=_0x490dce[_0x559660(0x188)];_0x340319[_0x559660(0x183)][_0x559660(0x1a2)](_0xc8020f,_0x166626);}else _0x490dce[_0x559660(0x18e)]=null,_0x490dce[_0x559660(0x1d8)]=!0x1,_0x33d334[_0x559660(0x1b8)][_0x559660(0x199)](_0x490dce),_0x19b501[_0x559660(0x1d5)][_0x559660(0x1dd)](_0x490dce);}});if(_0x167e2b){const _0x326531=getMinimalSelection(_0x19b501,_0x76763a,_0x340319);expandSelectionWithContext(_0x19b501[_0xc1005d(0x1d5)],_0x326531),function(_0x4a23bc,_0xc21bd8){const _0x469585=_0xc1005d,_0x12c79d=_0xc21bd8[_0x469585(0x17e)]()[_0x469585(0x1b4)];let _0x52fd27=_0xc21bd8[_0x469585(0x17e)]()[_0x469585(0x187)];const _0x1e1933=_0x12c79d[_0x469585(0x1d1)];(_0x52fd27[_0x469585(0x1df)]||_0x52fd27[_0x469585(0x185)]&&_0x52fd27[_0x469585(0x185)]['is'](_0x469585(0x1d0)))&&(_0x3900a9(_0x52fd27,_0x469585(0x1be)),_0x52fd27=_0x52fd27[_0x469585(0x1a4)](0x3)),(_0x12c79d[_0x469585(0x1df)]||_0x12c79d[_0x469585(0x1cd)]&&_0x12c79d[_0x469585(0x1cd)]['is'](_0x469585(0x1d0)))&&(_0x3900a9(_0x12c79d,_0x469585(0x1be)),function(_0x403d2e,_0x48a6db,_0x927af1){const _0x4ddc4f=_0x469585;for(let [_0x3832f6,_0x45ca1c]of _0x403d2e[_0x4ddc4f(0x183)]){const _0x3f8c58=_0x45ca1c[_0x4ddc4f(0x17c)](_0x48a6db,_0x927af1,!0x1);_0x45ca1c=_0x3f8c58[0x0],_0x403d2e[_0x4ddc4f(0x183)][_0x4ddc4f(0x1a2)](_0x3832f6,_0x45ca1c);}}(_0x1e1933,_0x12c79d,0x3),_0x12c79d[_0x469585(0x1b7)]==_0x52fd27[_0x469585(0x1b7)]&&(_0x52fd27=_0x52fd27[_0x469585(0x1a4)](0x3)));const _0x119513=_0x4a23bc[_0x469585(0x186)](_0x4a23bc[_0x469585(0x1db)](_0x1e1933,0x0),_0x12c79d),_0x3237af=_0x4a23bc[_0x469585(0x186)](_0x52fd27,_0x4a23bc[_0x469585(0x1db)](_0x1e1933,_0x469585(0x187))),_0x409f3e=[..._0x119513[_0x469585(0x1bf)](),..._0x3237af[_0x469585(0x1bf)]()];_0x409f3e[_0x469585(0x1a0)]();for(const _0x127e0a of _0x409f3e)_0x73569e(_0x127e0a),_transformMarkersByDeletion(_0x1e1933,_0x127e0a);}(_0x19b501[_0xc1005d(0x1d5)],_0x326531);}const _0x4192aa=_0x19b501[_0xc1005d(0x1a7)][_0xc1005d(0x19b)](_0x340319,{'showSuggestionHighlights':!0x0});return{'content':_0x3bee13(_0x4192aa),'hasChanges':!0x0};}(_0x507e9c,_0x5cd868,_0x3089bd,_0x40ec87,_0x13f7f7);return{'type':_0x36ae06[_0x30ba63(0x1ad)][0x0][_0x30ba63(0x1b2)],'index':_0x36ae06[_0x30ba63(0x194)],'content':_0xabaa05,'hasChanges':_0x418b61};});}export function getMinimalSelection(_0x5afcb7,_0x4e958b,_0x1b85cf){const _0x2d984b=_0x17ec,_0x2c75ab=_0x5afcb7[_0x2d984b(0x1b6)][_0x2d984b(0x1d2)](_0x2d984b(0x180));let _0x5f0b8a=_0x5afcb7[_0x2d984b(0x1d5)][_0x2d984b(0x1db)](_0x1b85cf,Number[_0x2d984b(0x1c2)]),_0x437c35=_0x5afcb7[_0x2d984b(0x1d5)][_0x2d984b(0x1db)](_0x1b85cf,0x0);for(const _0x4b7947 of _0x4e958b){let _0x44284d,_0x5a7f08;if(_0x2c75ab[_0x2d984b(0x190)](_0x4b7947))_0x44284d=_0x4b7947[_0x2d984b(0x188)][_0x2d984b(0x1b4)],_0x5a7f08=_0x4b7947[_0x2d984b(0x188)][_0x2d984b(0x187)];else switch(_0x5f0b8a=_0x5f0b8a[_0x2d984b(0x1cb)](_0x4b7947),_0x437c35=_0x437c35[_0x2d984b(0x1cb)](_0x4b7947),_0x4b7947[_0x2d984b(0x1b2)]){case _0x2d984b(0x1da):_0x44284d=_0x4b7947[_0x2d984b(0x1aa)],_0x5a7f08=_0x44284d[_0x2d984b(0x1a4)](0x1);break;case _0x2d984b(0x1a1):case _0x2d984b(0x1c0):case _0x2d984b(0x19c):_0x44284d=_0x4b7947[_0x2d984b(0x1bd)][_0x2d984b(0x1b4)],_0x5a7f08=_0x4b7947[_0x2d984b(0x1bd)][_0x2d984b(0x187)];break;case _0x2d984b(0x1ca):_0x44284d=_0x4b7947[_0x2d984b(0x1aa)],_0x5a7f08=_0x44284d[_0x2d984b(0x1a4)](_0x4b7947[_0x2d984b(0x19a)]);break;case _0x2d984b(0x1c7):_0x44284d=_0x4b7947[_0x2d984b(0x1cc)],_0x5a7f08=_0x4b7947[_0x2d984b(0x1a6)];break;case _0x2d984b(0x195):{const _0x592162=_0x4b7947[_0x2d984b(0x17d)][_0x2d984b(0x18d)][_0x2d984b(0x179)](0x0,-0x1);_0x44284d=_0x5afcb7[_0x2d984b(0x1d5)][_0x2d984b(0x1a8)](_0x1b85cf,_0x592162),_0x5a7f08=_0x44284d[_0x2d984b(0x1a4)](0x1);break;}case _0x2d984b(0x1c4):{const _0x42abf3=_0x4b7947[_0x2d984b(0x19a)],_0x4e4224=_0x4b7947[_0x2d984b(0x1b9)][_0x2d984b(0x17c)](_0x4b7947[_0x2d984b(0x17d)],_0x42abf3),_0x2ed9ce=_0x4b7947[_0x2d984b(0x17f)]();_0x2d984b(0x1c4)==_0x4b7947[_0x2d984b(0x1b2)]?(_0x44284d=_0x4e4224,_0x5a7f08=_0x4e4224):(_0x44284d=_0x2ed9ce,_0x5a7f08=_0x2ed9ce[_0x2d984b(0x1a4)](_0x42abf3));break;}}_0x44284d&&_0x44284d[_0x2d984b(0x1c9)](_0x5f0b8a)&&(_0x5f0b8a=_0x44284d[_0x2d984b(0x18b)](),_0x5f0b8a[_0x2d984b(0x1af)]=_0x2d984b(0x1a3)),_0x5a7f08&&_0x5a7f08[_0x2d984b(0x18a)](_0x437c35)&&(_0x437c35=_0x5a7f08[_0x2d984b(0x18b)](),_0x437c35[_0x2d984b(0x1af)]=_0x2d984b(0x1a3));}return _0x5afcb7[_0x2d984b(0x1d5)][_0x2d984b(0x17a)](_0x5afcb7[_0x2d984b(0x1d5)][_0x2d984b(0x186)](_0x5f0b8a,_0x437c35));}function _0x17ec(_0x47ce67,_0xa26545){const _0xc721a1=_0xc721();return _0x17ec=function(_0x17ec85,_0x22b026){_0x17ec85=_0x17ec85-0x179;let _0x1b7001=_0xc721a1[_0x17ec85];return _0x1b7001;},_0x17ec(_0x47ce67,_0xa26545);}export function expandSelectionWithContext(_0xdc11df,_0xb51261){const _0x4ba687=_0x17ec;an(_0xdc11df,_0xb51261,_0x4ba687(0x1d7));const _0x1f8298=_0xb51261[_0x4ba687(0x17e)]();_0xb51261[_0x4ba687(0x191)]([]),_0xb51261[_0x4ba687(0x191)](_0x1f8298,{'backward':!0x0}),an(_0xdc11df,_0xb51261,_0x4ba687(0x1b1));}function an(_0x54711c,_0x5ed219,_0x521364){const _0x190e86=_0x17ec;let _0x4ad5b6=0x14;for(;_0x4ad5b6;){_0x54711c[_0x190e86(0x1e0)](_0x5ed219,{'unit':_0x190e86(0x1bc),'direction':_0x521364}),_0x4ad5b6--;const _0x7b1459=_0x5ed219[_0x190e86(0x1d4)][_0x190e86(0x1d7)==_0x521364?_0x190e86(0x1cd):_0x190e86(0x185)];if(_0x7b1459&&_0x7b1459['is'](_0x190e86(0x1de))&&_0x54711c[_0x190e86(0x1a5)][_0x190e86(0x1ac)](_0x7b1459)&&_0x54711c[_0x190e86(0x1a5)][_0x190e86(0x18c)](_0x7b1459))break;}}export function _transformMarkersByDeletion(_0x5773a7,_0x560142){const _0x564f51=_0x17ec;for(const [_0x24f464,_0x1dfa36]of _0x5773a7[_0x564f51(0x183)]){const _0x18b79a=_0x1dfa36[_0x564f51(0x1cf)](_0x560142[_0x564f51(0x1b4)],_0x560142[_0x564f51(0x187)][_0x564f51(0x1ab)]-_0x560142[_0x564f51(0x1b4)][_0x564f51(0x1ab)]);null!=_0x18b79a?_0x5773a7[_0x564f51(0x183)][_0x564f51(0x1a2)](_0x24f464,_0x18b79a):_0x5773a7[_0x564f51(0x183)][_0x564f51(0x19d)](_0x24f464);}}
23
+ (function(_0x2bdc10,_0x3fba34){const _0x476748=_0x1e6a,_0x3f4fa3=_0x2bdc10();while(!![]){try{const _0x5f02dd=-parseInt(_0x476748(0x197))/0x1*(-parseInt(_0x476748(0x15b))/0x2)+-parseInt(_0x476748(0x162))/0x3*(-parseInt(_0x476748(0x1a7))/0x4)+parseInt(_0x476748(0x143))/0x5+parseInt(_0x476748(0x18a))/0x6+parseInt(_0x476748(0x14b))/0x7+parseInt(_0x476748(0x189))/0x8*(parseInt(_0x476748(0x1a4))/0x9)+parseInt(_0x476748(0x159))/0xa*(-parseInt(_0x476748(0x196))/0xb);if(_0x5f02dd===_0x3fba34)break;else _0x3f4fa3['push'](_0x3f4fa3['shift']());}catch(_0x5a579f){_0x3f4fa3['push'](_0x3f4fa3['shift']());}}}(_0x1182,0xa82ed));import{findOne as _0x535833,getAttribute as _0x1d1296,Document as _0x317f6a,serialize as _0xda0db9,parse as _0x2ba871}from'./htmlparser.js';import{fixElementSuggestionRange as _0x1444b7}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x2bdac2,_DetachOperation as _0x221500,_removeFromModelNodeList as _0x40b5aa,_insertIntoModelNodeList as _0x15ce7c}from'ckeditor5/src/engine.js';import{uid as _0x45814d}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x3f15ed,changeGroups:_0x22a5c4,documentContextContent:_0x567ee7,showDiff:_0x4c9b99,trimUnchanged:_0x5698eb=!0x0}){const _0x29abfd=_0x1e6a;return _0x22a5c4[_0x29abfd(0x15d)](_0x51fd74=>{const _0x2a3bf3=_0x29abfd,_0x55e214=new _0x317f6a([]),_0x5befa6=new _0x317f6a([]);for(const _0x2eb8b9 of _0x51fd74[_0x2a3bf3(0x148)])if(_0x4c9b99&&_0x2a3bf3(0x170)==_0x2eb8b9[_0x2a3bf3(0x187)]||_0x5befa6[_0x2a3bf3(0x18e)][_0x2a3bf3(0x152)](_0x2eb8b9[_0x2a3bf3(0x165)][_0x2a3bf3(0x19f)](!0x0)),_0x2a3bf3(0x173)!=_0x2eb8b9[_0x2a3bf3(0x187)]&&(_0x4c9b99||_0x2a3bf3(0x170)!=_0x2eb8b9[_0x2a3bf3(0x187)])){const _0x48a47b=_0x535833(_0x4221f7=>_0x1d1296(_0x4221f7,_0x2a3bf3(0x19b))==_0x2eb8b9['id'],_0x567ee7,!0x0);_0x48a47b&&_0x55e214[_0x2a3bf3(0x18e)][_0x2a3bf3(0x152)](_0x48a47b[_0x2a3bf3(0x19f)](!0x0));}const {content:_0x365fc1,hasChanges:_0x18f215}=function(_0x5def25,_0x39288f,_0x25d0b0,_0xf7cc85,_0x459ca1=!0x0){const _0x44b6f6=_0x2a3bf3,_0x156109=_0x5def25[_0x44b6f6(0x164)][_0x44b6f6(0x167)](_0x44b6f6(0x1a3)),_0x23cb72=_0xda0db9(_0x39288f),_0x34362c=_0xda0db9(_0x25d0b0),_0x1df1c9=_0x5def25[_0x44b6f6(0x16b)][_0x44b6f6(0x13d)](_0x23cb72,_0x44b6f6(0x13f)),_0x58973f=_0x5def25[_0x44b6f6(0x1ab)][_0x44b6f6(0x15e)](_0x1df1c9,0x0),_0x2ee85a=_0x156109[_0x44b6f6(0x174)](_0x23cb72,_0x34362c,{'anchor':_0x58973f,'markDeletions':_0xf7cc85}),_0x27da4d=_0x2ee85a[_0x44b6f6(0x1b1)]();if(0x0==_0x27da4d[_0x44b6f6(0x16e)])return{'content':_0x39288f[_0x44b6f6(0x19f)](!0x0),'hasChanges':!0x1};_0xf7cc85?function(_0x345547,_0x5efc1a,_0x43f7ce){const _0x1aa5aa=_0x44b6f6;if(0x0==_0x345547[_0x1aa5aa(0x16e)])return;const _0x185123=_0x43f7ce[_0x1aa5aa(0x164)][_0x1aa5aa(0x167)](_0x1aa5aa(0x1a3)),_0x42ccba=_0x43f7ce[_0x1aa5aa(0x164)][_0x1aa5aa(0x167)](_0x1aa5aa(0x142));_0x43f7ce[_0x1aa5aa(0x1ab)][_0x1aa5aa(0x181)](_0x58746e=>{const _0x1f6d03=_0x1aa5aa,_0x4bcad1=new Set();for(let _0x1bfa6a=0x0;_0x1bfa6a<_0x345547[_0x1f6d03(0x16e)];_0x1bfa6a++){const _0x36fa87=_0x345547[_0x1bfa6a];if(_0x36fa87[_0x1f6d03(0x1a8)]=null,_0x36fa87[_0x1f6d03(0x198)]=!0x1,_0x185123[_0x1f6d03(0x157)](_0x36fa87)){const _0x5c149b=_0x1444b7(_0x36fa87[_0x1f6d03(0x14f)],_0x43f7ce[_0x1f6d03(0x1ab)]),_0x10a821=_0x1f6d03(0x1ae)+_0x45814d()+_0x1f6d03(0x19c);_0x5efc1a[_0x1f6d03(0x199)][_0x1f6d03(0x151)](_0x10a821,_0x5c149b);}else switch(_0x36fa87[_0x1f6d03(0x187)]){case _0x1f6d03(0x178):{if(_0x36fa87[_0x1f6d03(0x175)]==_0x36fa87[_0x1f6d03(0x14e)])break;_0x58746e[_0x1f6d03(0x186)][_0x1f6d03(0x158)](_0x36fa87),_0x43f7ce[_0x1f6d03(0x1ab)][_0x1f6d03(0x17a)](_0x36fa87);const _0x346942=_0x1f6d03(0x14c),_0xe6536d=_0x36fa87[_0x1f6d03(0x1a5)],_0x462910=_0x43f7ce[_0x1f6d03(0x1ab)][_0x1f6d03(0x147)](_0xe6536d,_0x43f7ce[_0x1f6d03(0x1ab)][_0x1f6d03(0x15e)](_0xe6536d[_0x1f6d03(0x1b2)],_0x1f6d03(0x1a0))),_0x4c652b=_0x1f6d03(0x1ad)+_0x346942+':'+_0x45814d()+_0x1f6d03(0x19c);_0x5efc1a[_0x1f6d03(0x199)][_0x1f6d03(0x151)](_0x4c652b,_0x462910);break;}case _0x1f6d03(0x19e):case _0x1f6d03(0x1aa):case _0x1f6d03(0x156):{if(_0x36fa87[_0x1f6d03(0x155)]==_0x36fa87[_0x1f6d03(0x17e)])break;_0x58746e[_0x1f6d03(0x186)][_0x1f6d03(0x158)](_0x36fa87),_0x43f7ce[_0x1f6d03(0x1ab)][_0x1f6d03(0x17a)](_0x36fa87);const _0xf13f69=_0x36fa87[_0x1f6d03(0x179)];if(!_0x42ccba[_0x1f6d03(0x183)](_0xf13f69))break;const _0x3780a0=_0x1444b7(_0x36fa87[_0x1f6d03(0x14a)],_0x43f7ce[_0x1f6d03(0x1ab)]),_0x1c0215=_0x1f6d03(0x1ad)+_0xf13f69+':'+_0x45814d()+_0x1f6d03(0x19c);_0x5efc1a[_0x1f6d03(0x199)][_0x1f6d03(0x151)](_0x1c0215,_0x3780a0);break;}case _0x1f6d03(0x168):{_0x58746e[_0x1f6d03(0x186)][_0x1f6d03(0x158)](_0x36fa87),_0x43f7ce[_0x1f6d03(0x1ab)][_0x1f6d03(0x17a)](_0x36fa87);if(_0x345547[_0x1bfa6a+0x1]&&_0x1f6d03(0x184)==_0x345547[_0x1bfa6a+0x1][_0x1f6d03(0x187)]){ro(_0x5efc1a,_0x36fa87);break;}const _0x1ae427=_0x36fa87[_0x1f6d03(0x1a5)],_0x5583e5=_0x36fa87[_0x1f6d03(0x177)],_0x540b88=_0x1444b7(_0x43f7ce[_0x1f6d03(0x1ab)][_0x1f6d03(0x147)](_0x1ae427,_0x1ae427[_0x1f6d03(0x160)](_0x5583e5)),_0x43f7ce[_0x1f6d03(0x1ab)]),_0x231fe8=_0x1f6d03(0x153)+_0x45814d()+_0x1f6d03(0x19c);_0x5efc1a[_0x1f6d03(0x199)][_0x1f6d03(0x151)](_0x231fe8,_0x540b88);break;}case _0x1f6d03(0x182):{_0x58746e[_0x1f6d03(0x186)][_0x1f6d03(0x158)](_0x36fa87),_0x43f7ce[_0x1f6d03(0x1ab)][_0x1f6d03(0x17a)](_0x36fa87);const _0x2b7efb=_0x36fa87[_0x1f6d03(0x16c)],_0x1eb811=_0x36fa87[_0x1f6d03(0x14d)],_0x153063=_0x43f7ce[_0x1f6d03(0x1ab)][_0x1f6d03(0x147)](_0x2b7efb,_0x1eb811),_0x4dac85=_0x1f6d03(0x153)+_0x45814d()+_0x1f6d03(0x19c);_0x5efc1a[_0x1f6d03(0x199)][_0x1f6d03(0x151)](_0x4dac85,_0x153063);break;}case _0x1f6d03(0x184):{_0x58746e[_0x1f6d03(0x186)][_0x1f6d03(0x158)](_0x36fa87),_0x43f7ce[_0x1f6d03(0x1ab)][_0x1f6d03(0x17a)](_0x36fa87),_0x345547[_0x1bfa6a-0x1]&&_0x1f6d03(0x168)==_0x345547[_0x1bfa6a-0x1][_0x1f6d03(0x187)]&&ro(_0x5efc1a,_0x36fa87);const _0x19ad13=_0x36fa87[_0x1f6d03(0x15f)](),_0x58c4bb=_0x36fa87[_0x1f6d03(0x177)];for(let _0x404e4a=0x0;_0x404e4a<_0x58c4bb;_0x404e4a++){const _0x136a2c=_0x19ad13[_0x1f6d03(0x160)](_0x404e4a)[_0x1f6d03(0x1b2)];_0x4bcad1[_0x1f6d03(0x16a)](_0x136a2c);}break;}case _0x1f6d03(0x154):{const _0x2ad00f=_0x36fa87[_0x1f6d03(0x18d)],_0x4bdedf=_0x36fa87[_0x1f6d03(0x177)],_0x3a4e31=new _0x221500(_0x2ad00f,_0x4bdedf);_0x58746e[_0x1f6d03(0x186)][_0x1f6d03(0x158)](_0x3a4e31),_0x43f7ce[_0x1f6d03(0x1ab)][_0x1f6d03(0x17a)](_0x3a4e31);break;}}}for(const _0x5e5fe9 of _0x4bcad1){const _0x1424a2=_0x43f7ce[_0x1f6d03(0x1ab)][_0x1f6d03(0x171)](_0x5e5fe9),_0x402ba5=_0x1f6d03(0x1a1)+_0x45814d()+_0x1f6d03(0x19c);_0x5efc1a[_0x1f6d03(0x199)][_0x1f6d03(0x151)](_0x402ba5,_0x1444b7(_0x1424a2,_0x43f7ce[_0x1f6d03(0x1ab)]));}});}(_0x27da4d,_0x1df1c9,_0x5def25):_0x5def25[_0x44b6f6(0x1ab)][_0x44b6f6(0x181)](_0x2a7d8f=>{const _0x32716d=_0x44b6f6;for(const _0x2486f5 of _0x27da4d)if(_0x32716d(0x154)==_0x2486f5[_0x32716d(0x187)]){const _0x2182f9=_0x2486f5[_0x32716d(0x18d)],_0x37f68d=_0x2486f5[_0x32716d(0x177)],_0x21e1ff=new _0x221500(_0x2182f9,_0x37f68d);_0x2a7d8f[_0x32716d(0x186)][_0x32716d(0x158)](_0x21e1ff),_0x5def25[_0x32716d(0x1ab)][_0x32716d(0x17a)](_0x21e1ff);}else{if(_0x32716d(0x145)==_0x2486f5[_0x32716d(0x187)]){const _0x21b061=_0x2486f5[_0x32716d(0x191)],_0x137c54=_0x2486f5[_0x32716d(0x14f)];_0x1df1c9[_0x32716d(0x199)][_0x32716d(0x151)](_0x21b061,_0x137c54);}else _0x2486f5[_0x32716d(0x1a8)]=null,_0x2486f5[_0x32716d(0x198)]=!0x1,_0x2a7d8f[_0x32716d(0x186)][_0x32716d(0x158)](_0x2486f5),_0x5def25[_0x32716d(0x1ab)][_0x32716d(0x17a)](_0x2486f5);}});if(_0x459ca1){const _0x46f99a=getMinimalSelection(_0x5def25,_0x27da4d,_0x1df1c9);expandSelectionWithContext(_0x5def25[_0x44b6f6(0x1ab)],_0x46f99a),function(_0x852928,_0x2ba956){const _0x4992e6=_0x44b6f6,_0x3fe4b0=_0x2ba956[_0x4992e6(0x17f)]()[_0x4992e6(0x146)];let _0x57faf3=_0x2ba956[_0x4992e6(0x17f)]()[_0x4992e6(0x1a0)];const _0x1d5855=_0x3fe4b0[_0x4992e6(0x1a2)];(_0x57faf3[_0x4992e6(0x16d)]||_0x57faf3[_0x4992e6(0x1b2)]&&_0x57faf3[_0x4992e6(0x1b2)]['is'](_0x4992e6(0x19d)))&&(_0x15ce7c(_0x57faf3,_0x4992e6(0x161)),_0x57faf3=_0x57faf3[_0x4992e6(0x160)](0x3)),(_0x3fe4b0[_0x4992e6(0x16d)]||_0x3fe4b0[_0x4992e6(0x193)]&&_0x3fe4b0[_0x4992e6(0x193)]['is'](_0x4992e6(0x19d)))&&(_0x15ce7c(_0x3fe4b0,_0x4992e6(0x161)),function(_0x3b86eb,_0x200c0e,_0x226030){const _0x29a39b=_0x4992e6;for(let [_0x270d08,_0x3e54e7]of _0x3b86eb[_0x29a39b(0x199)]){const _0x1b8650=_0x3e54e7[_0x29a39b(0x1a9)](_0x200c0e,_0x226030,!0x1);_0x3e54e7=_0x1b8650[0x0],_0x3b86eb[_0x29a39b(0x199)][_0x29a39b(0x151)](_0x270d08,_0x3e54e7);}}(_0x1d5855,_0x3fe4b0,0x3),_0x3fe4b0[_0x4992e6(0x1af)]==_0x57faf3[_0x4992e6(0x1af)]&&(_0x57faf3=_0x57faf3[_0x4992e6(0x160)](0x3)));const _0x2e5ee1=_0x852928[_0x4992e6(0x147)](_0x852928[_0x4992e6(0x15e)](_0x1d5855,0x0),_0x3fe4b0),_0x595a2f=_0x852928[_0x4992e6(0x147)](_0x57faf3,_0x852928[_0x4992e6(0x15e)](_0x1d5855,_0x4992e6(0x1a0))),_0x2f2ef5=[..._0x2e5ee1[_0x4992e6(0x172)](),..._0x595a2f[_0x4992e6(0x172)]()];_0x2f2ef5[_0x4992e6(0x188)]();for(const _0x2e267a of _0x2f2ef5)_0x40b5aa(_0x2e267a),_transformMarkersByDeletion(_0x1d5855,_0x2e267a);}(_0x5def25[_0x44b6f6(0x1ab)],_0x46f99a);}const _0x3fbef9=_0x5def25[_0x44b6f6(0x16b)][_0x44b6f6(0x144)](_0x1df1c9,{'showSuggestionHighlights':!0x0});return{'content':_0x2ba871(_0x3fbef9),'hasChanges':!0x0};}(_0x3f15ed,_0x55e214,_0x5befa6,_0x4c9b99,_0x5698eb);return{'type':_0x51fd74[_0x2a3bf3(0x148)][0x0][_0x2a3bf3(0x187)],'index':_0x51fd74[_0x2a3bf3(0x163)],'content':_0x365fc1,'hasChanges':_0x18f215};});}function _0x1182(){const _0x1b6c83=['oldName','createPositionFromPath','howMany','rename','key','applyOperation','targetPosition','isObject','createSelection','newValue','getFirstRange','toNone','change','split','isRegisteredAttribute','move','offset','batch','type','reverse','411032aGHUhk','4132620yozYUQ','stickiness','isBefore','sourcePosition','children','path','clone','name','slice','nodeBefore','word','focus','14911039LLWSrn','498374XrEBcw','isDocumentOperation','markers','isBlock','data-id',':$aiSuggestion','$text','addAttribute','cloneNode','end','suggestion:formatBlock:$fakeWrap:','root','DocumentCompare','189BYEwwA','position','getTransformedByOperation','4szwFgt','baseVersion','_getTransformedByInsertion','removeAttribute','model','setTo','suggestion:attribute:','suggestion:deletion:','parent','merge','getOperations','nodeAfter','parse','_createFromRanges','$root','schema','delete','SuggestionsConversion','830825qcWvmV','stringify','marker','start','createRange','changes','backward','range','5007422ciTUqR','$elementName','moveTargetPosition','newName','newRange','modifySelection','set','push','suggestion:insertion:','remove','oldValue','changeAttribute','isMarkedRemoveOperation','addOperation','20JuoMJg','forward','2QcxIqR','isAfter','map','createPositionAt','getMovedRangeStart','getShiftedBy','...','757083xAXmiV','index','plugins','node','_getTransformedByDeletion','get','insert','element','add','data','splitPosition','textNode','length','POSITIVE_INFINITY','removed','createRangeOn','getMinimalFlatRanges','new','getDiff'];_0x1182=function(){return _0x1b6c83;};return _0x1182();}function ro(_0x4b6caa,_0x5224d7){const _0x466318=_0x1e6a;for(const [_0x29c024,_0xc3b3ba]of _0x4b6caa[_0x466318(0x199)]){const _0x3171ce=_0x2bdac2[_0x466318(0x13e)](_0xc3b3ba[_0x466318(0x1a6)](_0x5224d7));_0x4b6caa[_0x466318(0x199)][_0x466318(0x151)](_0x29c024,_0x3171ce);}}function _0x1e6a(_0x4afebe,_0x42802e){const _0x1182a0=_0x1182();return _0x1e6a=function(_0x1e6acf,_0x2d4af6){_0x1e6acf=_0x1e6acf-0x13d;let _0xdec429=_0x1182a0[_0x1e6acf];return _0xdec429;},_0x1e6a(_0x4afebe,_0x42802e);}export function getMinimalSelection(_0x435602,_0x1feeea,_0x22e4f3){const _0x477184=_0x1e6a,_0x412c88=_0x435602[_0x477184(0x164)][_0x477184(0x167)](_0x477184(0x1a3));let _0x42e4bd=_0x435602[_0x477184(0x1ab)][_0x477184(0x15e)](_0x22e4f3,Number[_0x477184(0x16f)]),_0x2c3d23=_0x435602[_0x477184(0x1ab)][_0x477184(0x15e)](_0x22e4f3,0x0);for(const _0x306e01 of _0x1feeea){let _0x191e9f,_0x9c49f;if(_0x412c88[_0x477184(0x157)](_0x306e01))_0x191e9f=_0x306e01[_0x477184(0x14f)][_0x477184(0x146)],_0x9c49f=_0x306e01[_0x477184(0x14f)][_0x477184(0x1a0)];else switch(_0x42e4bd=_0x42e4bd[_0x477184(0x1a6)](_0x306e01),_0x2c3d23=_0x2c3d23[_0x477184(0x1a6)](_0x306e01),_0x306e01[_0x477184(0x187)]){case _0x477184(0x178):_0x191e9f=_0x306e01[_0x477184(0x1a5)],_0x9c49f=_0x191e9f[_0x477184(0x160)](0x1);break;case _0x477184(0x19e):case _0x477184(0x1aa):case _0x477184(0x156):_0x191e9f=_0x306e01[_0x477184(0x14a)][_0x477184(0x146)],_0x9c49f=_0x306e01[_0x477184(0x14a)][_0x477184(0x1a0)];break;case _0x477184(0x168):_0x191e9f=_0x306e01[_0x477184(0x1a5)],_0x9c49f=_0x191e9f[_0x477184(0x160)](_0x306e01[_0x477184(0x177)]);break;case _0x477184(0x182):_0x191e9f=_0x306e01[_0x477184(0x16c)],_0x9c49f=_0x306e01[_0x477184(0x14d)];break;case _0x477184(0x1b0):{const _0x594ca6=_0x306e01[_0x477184(0x17b)][_0x477184(0x18f)][_0x477184(0x192)](0x0,-0x1);_0x191e9f=_0x435602[_0x477184(0x1ab)][_0x477184(0x176)](_0x22e4f3,_0x594ca6),_0x9c49f=_0x191e9f[_0x477184(0x160)](0x1);break;}case _0x477184(0x154):{const _0x6aa6b7=_0x306e01[_0x477184(0x177)],_0x2d4069=_0x306e01[_0x477184(0x18d)][_0x477184(0x1a9)](_0x306e01[_0x477184(0x17b)],_0x6aa6b7),_0x5b8ee0=_0x306e01[_0x477184(0x15f)]();_0x477184(0x154)==_0x306e01[_0x477184(0x187)]?(_0x191e9f=_0x2d4069,_0x9c49f=_0x2d4069):(_0x191e9f=_0x5b8ee0,_0x9c49f=_0x5b8ee0[_0x477184(0x160)](_0x6aa6b7));break;}}_0x191e9f&&_0x191e9f[_0x477184(0x18c)](_0x42e4bd)&&(_0x42e4bd=_0x191e9f[_0x477184(0x190)](),_0x42e4bd[_0x477184(0x18b)]=_0x477184(0x180)),_0x9c49f&&_0x9c49f[_0x477184(0x15c)](_0x2c3d23)&&(_0x2c3d23=_0x9c49f[_0x477184(0x190)](),_0x2c3d23[_0x477184(0x18b)]=_0x477184(0x180));}return _0x435602[_0x477184(0x1ab)][_0x477184(0x17d)](_0x435602[_0x477184(0x1ab)][_0x477184(0x147)](_0x42e4bd,_0x2c3d23));}export function expandSelectionWithContext(_0x19cc5e,_0x4bb781){const _0x4d5dd2=_0x1e6a;so(_0x19cc5e,_0x4bb781,_0x4d5dd2(0x15a));const _0x54ce59=_0x4bb781[_0x4d5dd2(0x17f)]();_0x4bb781[_0x4d5dd2(0x1ac)]([]),_0x4bb781[_0x4d5dd2(0x1ac)](_0x54ce59,{'backward':!0x0}),so(_0x19cc5e,_0x4bb781,_0x4d5dd2(0x149));}function so(_0x2daaf4,_0x3f4fe7,_0x19a5e8){const _0x102c19=_0x1e6a;let _0x18521f=0x14;for(;_0x18521f;){_0x2daaf4[_0x102c19(0x150)](_0x3f4fe7,{'unit':_0x102c19(0x194),'direction':_0x19a5e8}),_0x18521f--;const _0x4eabd7=_0x3f4fe7[_0x102c19(0x195)][_0x102c19(0x15a)==_0x19a5e8?_0x102c19(0x193):_0x102c19(0x1b2)];if(_0x4eabd7&&_0x4eabd7['is'](_0x102c19(0x169))&&_0x2daaf4[_0x102c19(0x140)][_0x102c19(0x19a)](_0x4eabd7)&&_0x2daaf4[_0x102c19(0x140)][_0x102c19(0x17c)](_0x4eabd7))break;}}export function _transformMarkersByDeletion(_0x1e4964,_0x86686){const _0x399858=_0x1e6a;for(const [_0x10361f,_0x583e95]of _0x1e4964[_0x399858(0x199)]){const _0x40c252=_0x583e95[_0x399858(0x166)](_0x86686[_0x399858(0x146)],_0x86686[_0x399858(0x1a0)][_0x399858(0x185)]-_0x86686[_0x399858(0x146)][_0x399858(0x185)]);null!=_0x40c252?_0x1e4964[_0x399858(0x199)][_0x399858(0x151)](_0x10361f,_0x40c252):_0x1e4964[_0x399858(0x199)][_0x399858(0x141)](_0x10361f);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x362019,_0x3fa191){const _0xaab70d=_0x5b74,_0x545861=_0x362019();while(!![]){try{const _0x5cac39=parseInt(_0xaab70d(0x1fa))/0x1*(-parseInt(_0xaab70d(0x1f7))/0x2)+-parseInt(_0xaab70d(0x1ef))/0x3*(parseInt(_0xaab70d(0x1ee))/0x4)+-parseInt(_0xaab70d(0x1f8))/0x5+-parseInt(_0xaab70d(0x1f4))/0x6+parseInt(_0xaab70d(0x200))/0x7+-parseInt(_0xaab70d(0x1fb))/0x8*(parseInt(_0xaab70d(0x1f5))/0x9)+parseInt(_0xaab70d(0x1f6))/0xa;if(_0x5cac39===_0x3fa191)break;else _0x545861['push'](_0x545861['shift']());}catch(_0x415417){_0x545861['push'](_0x545861['shift']());}}}(_0x5ded,0x6178b));import{parseDocument as _0x3d07fd}from'htmlparser2';import{append as _0xf37949,appendChild as _0x3a51b9,find as _0xd3843e,findAll as _0xc11413,findOne as _0x3ad8cd,getChildren as _0x11573f,isComment as _0x438be9,isTag as _0xc14ea3,prepend as _0x17498a,prependChild as _0x25f22f,removeElement as _0x150a29,replaceElement as _0x73096,textContent as _0xe1a7ae,getParent as _0x2e6e66,hasChildren as _0x21bcd6}from'domutils';import _0x150d80 from'dom-serializer';import{cloneNode as _0x5dd80a,isDocument as _0x5a03e6,isText as _0x354f0b,Element as _0x4af97e,Text as _0x5427d0,Document as _0x1d0677,NodeWithChildren as _0x35b01b}from'domhandler';export{_0x5dd80a as cloneNode,_0xd3843e as find,_0x3ad8cd as findOne,_0xc11413 as findAll,_0x11573f as getChildren,_0x2e6e66 as getParent,_0x438be9 as isComment,_0x5a03e6 as isDocument,_0xc14ea3 as isTag,_0x354f0b as isText,_0xf37949 as append,_0x3a51b9 as appendChild,_0x17498a as prepend,_0x25f22f as prependChild,_0x150d80 as render,_0x150a29 as removeElement,_0x73096 as replaceElement,_0xe1a7ae as textContent,_0x21bcd6 as hasChildren,_0x4af97e as Element,_0x1d0677 as Document,_0x35b01b as NodeWithChildren,_0x5427d0 as Text};export function parse(_0x5d607a){return _0x3d07fd(_0x5d607a);}export function serialize(_0x232bfb){return _0x150d80(_0x232bfb);}export function findByAttribute(_0x9e4b76,_0x57e080,_0x123ff4){const _0x3cde91=_0x5b74,_0x297427=null!==_0x57e080?_0x4fd3ad=>_0x4fd3ad[_0x3cde91(0x1f1)][_0x9e4b76]===_0x57e080:_0x2f4dde=>Boolean(_0x2f4dde[_0x3cde91(0x1f1)][_0x9e4b76]);return _0x3ad8cd(_0x2f17c9=>_0xc14ea3(_0x2f17c9)&&_0x297427(_0x2f17c9),_0x123ff4);}export function findAllByAttribute(_0x5bdaa5,_0x2f72eb,_0x570a1f){const _0x31c479=_0x5b74,_0xb1d8d1=null!==_0x2f72eb?_0xaf365d=>_0xaf365d[_0x31c479(0x1f1)][_0x5bdaa5]===_0x2f72eb:_0x41ad88=>Boolean(_0x41ad88[_0x31c479(0x1f1)][_0x5bdaa5]);return _0xc11413(_0x250c5b=>_0xc14ea3(_0x250c5b)&&_0xb1d8d1(_0x250c5b),_0x570a1f);}export function findAllComments(_0x1e5632){return _0xd3843e(_0x164e6d=>_0x438be9(_0x164e6d),_0x1e5632,!0x0,0x1/0x0);}export function getAttribute(_0xb413dc,_0x5592bc){const _0x2b7c53=_0x5b74;return _0xb413dc&&_0xc14ea3(_0xb413dc)?_0xb413dc[_0x2b7c53(0x1f1)][_0x5592bc]:null;}export function setAttribute(_0x47ed68,_0x3ead1b,_0x1f2a85){const _0x31d394=_0x5b74;_0xc14ea3(_0x47ed68)&&(null===_0x1f2a85?delete _0x47ed68[_0x31d394(0x1f1)][_0x3ead1b]:_0x47ed68[_0x31d394(0x1f1)][_0x3ead1b]=_0x1f2a85);}export function insertElement(_0x3252bd,_0x3625b3,_0x28ea6b){const _0x1090f8=_0x5b74,_0x4cf204=_0x3625b3[_0x1090f8(0x1e9)](!0x0);_0x1090f8(0x1ec)===_0x28ea6b?_0x17498a(_0x3252bd,_0x4cf204):_0x1090f8(0x1fe)===_0x28ea6b?_0x25f22f(_0x3252bd,_0x4cf204):_0x1090f8(0x1e8)===_0x28ea6b?_0x3a51b9(_0x3252bd,_0x4cf204):_0x1090f8(0x1ea)===_0x28ea6b&&_0xf37949(_0x3252bd,_0x4cf204);}export function moveElement(_0x556705,_0x3c8469){_0x150a29(_0x556705),_0x73096(_0x3c8469,_0x556705);}export function clone(_0x56ceaf){const _0x4f8e04=_0x5b74;return _0x56ceaf[_0x4f8e04(0x1e9)](!0x0);}function _0x5b74(_0x3d9c2a,_0x4e818d){const _0x5ded05=_0x5ded();return _0x5b74=function(_0x5b742f,_0x4af0a7){_0x5b742f=_0x5b742f-0x1e8;let _0x2a4ff2=_0x5ded05[_0x5b742f];return _0x2a4ff2;},_0x5b74(_0x3d9c2a,_0x4e818d);}function _0x5ded(){const _0x2fa9ad=['beforebegin','nextSibling','4ZMUDDn','2077563WPkDfe','map','attribs','replace','forEach','3753726rNmQGu','2565702aKowMq','35308890WPCxmN','2nAbcDz','3036210fYLsqd','indexOf','636113nHNNAi','16DPXiav','slice','reverse','afterbegin','push','49wUSrhZ','beforeend','cloneNode','afterend','parentNode'];_0x5ded=function(){return _0x2fa9ad;};return _0x5ded();}export function getParents(_0x49a39d){const _0x5395d4=_0x5b74,_0x109c6c=[];let _0x2b58f7=_0x49a39d;for(;_0x2b58f7;)_0x2b58f7=_0x2e6e66(_0x2b58f7),_0x2b58f7&&_0x109c6c[_0x5395d4(0x1ff)](_0x2b58f7);return _0x109c6c;}export function normalizeHTML(_0x429c84){const _0x3c772f=_0x5b74;return _0x429c84[_0x3c772f(0x1f2)](/^\s+/gm,'')[_0x3c772f(0x1f2)](/\s+$/gm,'')[_0x3c772f(0x1f2)](/\n*/g,'')[_0x3c772f(0x1f2)](/\s+/g,'\x20')[_0x3c772f(0x1f2)](/>\s*</g,'><');}export function areNodesSame(_0x1b4585,_0x3dad52){return normalizeHTML(serialize(_0x1b4585))===normalizeHTML(serialize(_0x3dad52));}export function getNodeNestingLevel(_0x14c2d6){const _0x20a4f0=_0x5b74;let _0x902be5=0x0;for(;_0x14c2d6[_0x20a4f0(0x1eb)];)_0x14c2d6=_0x14c2d6[_0x20a4f0(0x1eb)],_0x902be5++;return _0x902be5;}export function removeElementsAfter(_0x200ff3){const _0x3bec8f=_0x5b74,_0x141aef=[];let _0x57e0eb=_0x200ff3[_0x3bec8f(0x1ed)];for(;_0x57e0eb;)_0x141aef[_0x3bec8f(0x1ff)](_0x57e0eb),_0x57e0eb=_0x57e0eb[_0x3bec8f(0x1ed)];_0x141aef[_0x3bec8f(0x1f3)](_0x5b8dd1=>{_0x150a29(_0x5b8dd1);});}export function getNodePath(_0x169952){const _0xc7b0eb=_0x5b74;return[_0x169952,...getParents(_0x169952)][_0xc7b0eb(0x1fc)](0x0,-0x1)[_0xc7b0eb(0x1f0)](_0x139024=>{const _0x235cd0=_0xc7b0eb,_0x1bc9e6=_0x2e6e66(_0x139024);return _0x11573f(_0x1bc9e6)[_0x235cd0(0x1f9)](_0x139024);})[_0xc7b0eb(0x1fd)]();}
23
+ (function(_0x2082bc,_0x464d85){const _0x45881d=_0x7ba0,_0x3242fb=_0x2082bc();while(!![]){try{const _0x9ad658=-parseInt(_0x45881d(0x12b))/0x1+parseInt(_0x45881d(0x120))/0x2+parseInt(_0x45881d(0x135))/0x3*(parseInt(_0x45881d(0x12d))/0x4)+-parseInt(_0x45881d(0x126))/0x5+-parseInt(_0x45881d(0x12e))/0x6+-parseInt(_0x45881d(0x122))/0x7+parseInt(_0x45881d(0x127))/0x8;if(_0x9ad658===_0x464d85)break;else _0x3242fb['push'](_0x3242fb['shift']());}catch(_0x1dac86){_0x3242fb['push'](_0x3242fb['shift']());}}}(_0x4a1f,0x208f4));import{parseDocument as _0x52087a}from'htmlparser2';import{append as _0x428850,appendChild as _0x56b188,find as _0x587ebc,findAll as _0x1e5f0c,findOne as _0xb064b9,getChildren as _0x1be465,isComment as _0x2b9967,isTag as _0x29edec,prepend as _0x480e85,prependChild as _0x2edd3b,removeElement as _0x4d03d6,replaceElement as _0x4ee2e6,textContent as _0x5873f5,getParent as _0x2da3b1,hasChildren as _0x4a9f52}from'domutils';import _0x276e6b from'dom-serializer';import{cloneNode as _0x21f7ea,isDocument as _0x2a8802,isText as _0x150a8a,Element as _0x414de7,Text as _0x4a0361,Document as _0x27b6bf,NodeWithChildren as _0xf23772}from'domhandler';function _0x4a1f(){const _0x52a077=['attribs','102174wnzFlV','slice','290140ZDVCxw','replace','5159HBAVnB','afterend','beforebegin','reverse','435805nyLcTI','3413280ljFlji','nextSibling','push','map','208009sTePDL','indexOf','4tABRGL','1059102TcFhis','forEach','afterbegin','parentNode','cloneNode','beforeend'];_0x4a1f=function(){return _0x52a077;};return _0x4a1f();}export{_0x21f7ea as cloneNode,_0x587ebc as find,_0xb064b9 as findOne,_0x1e5f0c as findAll,_0x1be465 as getChildren,_0x2da3b1 as getParent,_0x2b9967 as isComment,_0x2a8802 as isDocument,_0x29edec as isTag,_0x150a8a as isText,_0x428850 as append,_0x56b188 as appendChild,_0x480e85 as prepend,_0x2edd3b as prependChild,_0x276e6b as render,_0x4d03d6 as removeElement,_0x4ee2e6 as replaceElement,_0x5873f5 as textContent,_0x4a9f52 as hasChildren,_0x414de7 as Element,_0x27b6bf as Document,_0xf23772 as NodeWithChildren,_0x4a0361 as Text};function _0x7ba0(_0x2e43da,_0x5aaef4){const _0x4a1f53=_0x4a1f();return _0x7ba0=function(_0x7ba0fd,_0x4ba1b2){_0x7ba0fd=_0x7ba0fd-0x11f;let _0x45f16f=_0x4a1f53[_0x7ba0fd];return _0x45f16f;},_0x7ba0(_0x2e43da,_0x5aaef4);}export function parse(_0x838093){return _0x52087a(_0x838093);}export function serialize(_0x273587){return _0x276e6b(_0x273587);}export function findByAttribute(_0x2c5dcc,_0x43d07f,_0x452c20){const _0x545142=_0x7ba0,_0x95d4dc=null!==_0x43d07f?_0x3e35f2=>_0x3e35f2[_0x545142(0x134)][_0x2c5dcc]===_0x43d07f:_0x157222=>Boolean(_0x157222[_0x545142(0x134)][_0x2c5dcc]);return _0xb064b9(_0xb7cd37=>_0x29edec(_0xb7cd37)&&_0x95d4dc(_0xb7cd37),_0x452c20);}export function findAllByAttribute(_0x109361,_0x386f93,_0x2de370){const _0x1837e5=_0x7ba0,_0x12f632=null!==_0x386f93?_0x277205=>_0x277205[_0x1837e5(0x134)][_0x109361]===_0x386f93:_0x61cb62=>Boolean(_0x61cb62[_0x1837e5(0x134)][_0x109361]);return _0x1e5f0c(_0x20d876=>_0x29edec(_0x20d876)&&_0x12f632(_0x20d876),_0x2de370);}export function findAllComments(_0x3afffe){return _0x587ebc(_0x10e8ae=>_0x2b9967(_0x10e8ae),_0x3afffe,!0x0,0x1/0x0);}export function getAttribute(_0x585cc1,_0x7a3e9c){const _0x89cebf=_0x7ba0;return _0x585cc1&&_0x29edec(_0x585cc1)?_0x585cc1[_0x89cebf(0x134)][_0x7a3e9c]:null;}export function setAttribute(_0x2d16b6,_0x2b5ede,_0x482101){const _0x4e9055=_0x7ba0;_0x29edec(_0x2d16b6)&&(null===_0x482101?delete _0x2d16b6[_0x4e9055(0x134)][_0x2b5ede]:_0x2d16b6[_0x4e9055(0x134)][_0x2b5ede]=_0x482101);}export function insertElement(_0x2cc2f0,_0x1f17e2,_0x245f0b){const _0x24a32f=_0x7ba0,_0x45c5d4=_0x1f17e2[_0x24a32f(0x132)](!0x0);_0x24a32f(0x124)===_0x245f0b?_0x480e85(_0x2cc2f0,_0x45c5d4):_0x24a32f(0x130)===_0x245f0b?_0x2edd3b(_0x2cc2f0,_0x45c5d4):_0x24a32f(0x133)===_0x245f0b?_0x56b188(_0x2cc2f0,_0x45c5d4):_0x24a32f(0x123)===_0x245f0b&&_0x428850(_0x2cc2f0,_0x45c5d4);}export function moveElement(_0x2eee52,_0xfa9a62){_0x4d03d6(_0x2eee52),_0x4ee2e6(_0xfa9a62,_0x2eee52);}export function clone(_0x2e13bc){const _0x52d4c9=_0x7ba0;return _0x2e13bc[_0x52d4c9(0x132)](!0x0);}export function getParents(_0x2b7bde){const _0x41958f=_0x7ba0,_0xf10fc5=[];let _0x3907a7=_0x2b7bde;for(;_0x3907a7;)_0x3907a7=_0x2da3b1(_0x3907a7),_0x3907a7&&_0xf10fc5[_0x41958f(0x129)](_0x3907a7);return _0xf10fc5;}export function normalizeHTML(_0x234a4a){const _0x5bf5c0=_0x7ba0;return _0x234a4a[_0x5bf5c0(0x121)](/^\s+/gm,'')[_0x5bf5c0(0x121)](/\s+$/gm,'')[_0x5bf5c0(0x121)](/\n*/g,'')[_0x5bf5c0(0x121)](/\s+/g,'\x20')[_0x5bf5c0(0x121)](/>\s*</g,'><');}export function areNodesSame(_0x3465fb,_0x2e623d){return normalizeHTML(serialize(_0x3465fb))===normalizeHTML(serialize(_0x2e623d));}export function getNodeNestingLevel(_0x466fd2){const _0x4b0081=_0x7ba0;let _0x5050ff=0x0;for(;_0x466fd2[_0x4b0081(0x131)];)_0x466fd2=_0x466fd2[_0x4b0081(0x131)],_0x5050ff++;return _0x5050ff;}export function removeElementsAfter(_0x1c4c39){const _0x5dff61=_0x7ba0,_0x5aae20=[];let _0x50cd67=_0x1c4c39[_0x5dff61(0x128)];for(;_0x50cd67;)_0x5aae20[_0x5dff61(0x129)](_0x50cd67),_0x50cd67=_0x50cd67[_0x5dff61(0x128)];_0x5aae20[_0x5dff61(0x12f)](_0x45417c=>{_0x4d03d6(_0x45417c);});}export function getNodePath(_0x11304a){const _0xc39c8=_0x7ba0;return[_0x11304a,...getParents(_0x11304a)][_0xc39c8(0x11f)](0x0,-0x1)[_0xc39c8(0x12a)](_0x3e66dc=>{const _0x33b54e=_0xc39c8,_0x5981c6=_0x2da3b1(_0x3e66dc);return _0x1be465(_0x5981c6)[_0x33b54e(0x12c)](_0x3e66dc);})[_0xc39c8(0x125)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x517d(){const _0x517760=['match','ai-html-streamer-current-index-out-of-bounds','currentIndex','mark','30IoHiFz','getParsedDocumentNodeList','replaceWith','div','document','393198cBXMuI','code','reverse','textNodeStyle','forEach','abort','push','212872XYpeIY','nodesList','strong','span[data-ck-html-streamer-word-chunk]','bind','sup','splitTextNodeIntoWordNodes','1604274fDYfQT','2076020CcIiPI','ins','length','delay','timeoutAbortController','childNodes','sub','renderNode','attribs','querySelectorAll','shouldBeStreamed','span','options','stream','9237512CINKYG','signal','parent','isStreaming','stop','join','entries','cleanUpAnimations','987395axsjZr','isWordSplitResult','3TWbVNQ','onStreamUpdate','10608363DSbxPp','from','map','del','includes','children','now','isWordSplitSource','addEventListener','10fOrkGM','tagName'];_0x517d=function(){return _0x517760;};return _0x517d();}const _0x325413=_0x2175;(function(_0x4e0c76,_0x41092f){const _0x72eb65=_0x2175,_0x570d9f=_0x4e0c76();while(!![]){try{const _0x45a43d=-parseInt(_0x72eb65(0xd6))/0x1+parseInt(_0x72eb65(0xc0))/0x2+parseInt(_0x72eb65(0xd8))/0x3*(-parseInt(_0x72eb65(0xb8))/0x4)+-parseInt(_0x72eb65(0xac))/0x5*(-parseInt(_0x72eb65(0xb1))/0x6)+parseInt(_0x72eb65(0xbf))/0x7+parseInt(_0x72eb65(0xce))/0x8+parseInt(_0x72eb65(0xda))/0x9*(-parseInt(_0x72eb65(0xa6))/0xa);if(_0x45a43d===_0x41092f)break;else _0x570d9f['push'](_0x570d9f['shift']());}catch(_0x154ccf){_0x570d9f['push'](_0x570d9f['shift']());}}}(_0x517d,0x9172f));import _0x32708f from'morphdom';import{NodeWithChildren as _0xc77718,Text as _0x10af63,Element as _0x25e46a,isText as _0x2c85d6,isDocument as _0x13f7a5,isTag as _0x4923f1,cloneNode as _0x684441,getChildren as _0x13b0c2,prepend as _0x91ee0c,removeElement as _0x405553,textContent as _0x3c8bf9,render as _0x4f29ac}from'./htmlparser.js';import{logWarning as _0x3b4df0}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x325413(0xcc)];[_0x325413(0xd1)]=!0x1;[_0x325413(0xb0)]=null;[_0x325413(0xb9)]=[];[_0x325413(0xaa)]=0x0;[_0x325413(0xc4)]=null;constructor(_0x472426){const _0x4387a3=_0x325413;this[_0x4387a3(0xcc)]={'delay':_0x472426[_0x4387a3(0xc3)]??0x14,'textNodeStyle':_0x472426[_0x4387a3(0xb4)],'onStreamUpdate':_0x472426[_0x4387a3(0xd9)]||(()=>{})};}async[_0x325413(0xcd)]({document:_0x25ab76,targetElement:_0x37362e,abortSignal:_0x4eda18}){const _0x49834b=_0x325413;this[_0x49834b(0xd1)]&&this[_0x49834b(0xd2)](),_0x4eda18?.[_0x49834b(0xa5)](_0x49834b(0xb6),this[_0x49834b(0xd2)][_0x49834b(0xbc)](this)),this[_0x49834b(0xb0)]=_0x684441(_0x25ab76,!0x0),this[_0x49834b(0xb9)]=this[_0x49834b(0xad)](),this[_0x49834b(0xd1)]=!0x0,this[_0x49834b(0xaa)]>this[_0x49834b(0xb9)][_0x49834b(0xc2)]&&(_0x3b4df0(_0x49834b(0xa9),{'currentIndex':this[_0x49834b(0xaa)],'nodeList':this[_0x49834b(0xb9)]}),this[_0x49834b(0xaa)]=this[_0x49834b(0xb9)][_0x49834b(0xc2)]);for(let _0x876693=0x0;_0x876693<this[_0x49834b(0xaa)];_0x876693++)this[_0x49834b(0xb9)][_0x876693][_0x49834b(0xca)]=!0x0;let _0x10a6f3=0x0;for(let _0x380f2f=this[_0x49834b(0xaa)];_0x380f2f<this[_0x49834b(0xb9)][_0x49834b(0xc2)];_0x380f2f++){const _0x23a0e3=Date[_0x49834b(0xa3)](),_0x5672f0=this[_0x49834b(0xb9)][_0x380f2f],_0x28ed6e=_0x23a0e3-_0x10a6f3;_0x5672f0[_0x49834b(0xca)]=!0x0;let _0x14a0fc=_0x5672f0[_0x49834b(0xd0)];for(;_0x14a0fc;)_0x14a0fc[_0x49834b(0xca)]=!0x0,_0x14a0fc=_0x14a0fc[_0x49834b(0xd0)];if(_0x28ed6e<this[_0x49834b(0xcc)][_0x49834b(0xc3)])try{const {promise:_0x4d3621,abortController:_0x14743b}=mr(this[_0x49834b(0xcc)][_0x49834b(0xc3)]-_0x28ed6e);this[_0x49834b(0xc4)]=_0x14743b,await _0x4d3621;}catch(_0x305284){return;}_0x32708f(_0x37362e,'<'+_0x37362e[_0x49834b(0xa7)]+'>'+this[_0x49834b(0xc7)](this[_0x49834b(0xb0)])+'</'+_0x37362e[_0x49834b(0xa7)]+'>',{'childrenOnly':!0x0}),this[_0x49834b(0xcc)][_0x49834b(0xd9)]&&this[_0x49834b(0xcc)][_0x49834b(0xd9)](),this[_0x49834b(0xaa)]=_0x380f2f,_0x10a6f3=Date[_0x49834b(0xa3)]();}this[_0x49834b(0xd1)]=!0x1;}[_0x325413(0xd5)]({targetElement:_0x868350}){const _0x6dfb6c=_0x325413;Array[_0x6dfb6c(0xdb)](_0x868350[_0x6dfb6c(0xc9)](_0x6dfb6c(0xbb)))[_0x6dfb6c(0xb3)]()[_0x6dfb6c(0xb5)](_0x1a86bf=>{const _0x178f89=_0x6dfb6c;_0x1a86bf[_0x178f89(0xae)](_0x1a86bf[_0x178f89(0xc5)][0x0]);});}[_0x325413(0xd2)](){const _0x2f5fb9=_0x325413;this[_0x2f5fb9(0xd1)]=!0x1,this[_0x2f5fb9(0xc4)]&&(this[_0x2f5fb9(0xc4)][_0x2f5fb9(0xb6)](),this[_0x2f5fb9(0xc4)]=null);}[_0x325413(0xc7)](_0x1cb102){const _0x3334e6=_0x325413;let _0x3bc37a='';if(function(_0x268c8e){return _0x13f7a5(_0x268c8e);}(_0x1cb102)){for(const _0x81d2df of _0x1cb102[_0x3334e6(0xa2)])_0x3bc37a+=this[_0x3334e6(0xc7)](_0x81d2df);}else{if(ar(_0x1cb102)){if(!_0x1cb102[_0x3334e6(0xca)])return'';const _0x2c5981=_0x1cb102,_0x7a3b09=Object[_0x3334e6(0xd4)](_0x2c5981[_0x3334e6(0xc8)])[_0x3334e6(0xdc)](([_0x42858a,_0x3f72b4])=>_0x42858a+'=\x22'+_0x3f72b4+'\x22')[_0x3334e6(0xd3)]('\x20');_0x3bc37a+='<'+_0x2c5981[_0x3334e6(0xa7)]+(_0x7a3b09?'\x20'+_0x7a3b09:'')+'>';for(const _0x54b96d of _0x13b0c2(_0x2c5981))_0x3bc37a+=this[_0x3334e6(0xc7)](_0x54b96d);_0x3bc37a+='</'+_0x2c5981[_0x3334e6(0xa7)]+'>';}else{if(!cr(_0x1cb102))return'';if(!_0x1cb102[_0x3334e6(0xca)])return'';!function(_0x551e50){const _0x4ac303=_0x3334e6;if(!_0x551e50[_0x4ac303(0xd0)]||!ar(_0x551e50[_0x4ac303(0xd0)]))return!0x1;if(!hr[_0x4ac303(0xde)](_0x551e50[_0x4ac303(0xd0)][_0x4ac303(0xa7)]))return!0x1;return!_0x3c8bf9(_0x551e50)[_0x4ac303(0xa8)](/^\s*[<>]\s*$/);}(_0x1cb102)?_0x3bc37a+=_0x4f29ac(_0x1cb102):_0x3bc37a+=_0x4f29ac(new _0x25e46a(_0x3334e6(0xcb),{'data-ck-html-streamer-word-chunk':'','style':this[_0x3334e6(0xcc)][_0x3334e6(0xb4)]},[_0x1cb102]));}}return _0x3bc37a;}[_0x325413(0xad)](){const _0x50aff4=_0x325413,_0x10962d=[];return function(_0x395f16,_0x77b364){const _0x9c416d=_0x2175,_0x50dd51=_0x3dc1d8=>{const _0x3b4d37=_0x2175;if(_0x77b364(_0x3dc1d8),_0x3dc1d8 instanceof _0xc77718)for(let _0x58f9a7=0x0;_0x58f9a7<_0x3dc1d8[_0x3b4d37(0xa2)][_0x3b4d37(0xc2)];_0x58f9a7++){const _0x28961b=_0x3dc1d8[_0x3b4d37(0xa2)][_0x58f9a7];_0x50dd51(_0x28961b);}};for(let _0x4b7e61=0x0;_0x4b7e61<_0x395f16[_0x9c416d(0xa2)][_0x9c416d(0xc2)];_0x4b7e61++)_0x50dd51(_0x395f16[_0x9c416d(0xa2)][_0x4b7e61]);}(this[_0x50aff4(0xb0)],_0x544613=>{const _0x2e0e81=_0x50aff4;if(cr(_0x544613)){const _0x3496f2=this[_0x2e0e81(0xbe)](_0x544613);_0x3496f2[_0x2e0e81(0xc2)]&&_0x10962d[_0x2e0e81(0xb7)](..._0x3496f2);}_0x544613[_0x2e0e81(0xa4)]||_0x544613[_0x2e0e81(0xd7)]||_0x10962d[_0x2e0e81(0xb7)](_0x544613);}),_0x10962d;}[_0x325413(0xbe)](_0x131ad1){const _0x26fd71=_0x325413;if(_0x131ad1[_0x26fd71(0xa4)]||_0x131ad1[_0x26fd71(0xd7)])return[];const _0x53b7c9=_0x3c8bf9(_0x131ad1)[_0x26fd71(0xa8)](/(?:\s*\S+\s*)/g),_0x541d05=[];if(_0x53b7c9&&_0x53b7c9[_0x26fd71(0xc2)]>0x1){for(const _0x84dfd5 of _0x53b7c9){const _0x6a61ac=new _0x10af63(_0x84dfd5);_0x6a61ac[_0x26fd71(0xd7)]=!0x0,_0x91ee0c(_0x131ad1,_0x6a61ac),_0x541d05[_0x26fd71(0xb7)](_0x6a61ac);}_0x131ad1[_0x26fd71(0xa4)]=!0x0,_0x405553(_0x131ad1);}return _0x541d05;}}const hr=['p','li','td','th',_0x325413(0xcb),'h1','h2','h3','h4','h5','h6','b',_0x325413(0xba),'i','em',_0x325413(0xab),_0x325413(0xdd),_0x325413(0xc1),_0x325413(0xbd),_0x325413(0xc6),'a',_0x325413(0xb2),_0x325413(0xaf)];function cr(_0x3fb154){return _0x2c85d6(_0x3fb154);}function _0x2175(_0x39e825,_0x272217){const _0x517d66=_0x517d();return _0x2175=function(_0x2175ec,_0x25ac83){_0x2175ec=_0x2175ec-0xa2;let _0x114781=_0x517d66[_0x2175ec];return _0x114781;},_0x2175(_0x39e825,_0x272217);}function ar(_0x4a8582){return _0x4923f1(_0x4a8582);}function mr(_0x379481){const _0x41510a=new AbortController();return{'promise':new Promise((_0x5b23df,_0x67a6c3)=>{const _0x2a295b=_0x2175,_0x3f527f=setTimeout(_0x5b23df,_0x379481);_0x41510a[_0x2a295b(0xcf)][_0x2a295b(0xa5)](_0x2a295b(0xb6),()=>{clearTimeout(_0x3f527f),_0x67a6c3();});}),'abortController':_0x41510a};}
23
+ const _0x5802da=_0x49ac;(function(_0x4591f1,_0x5797c5){const _0x396844=_0x49ac,_0x2121c=_0x4591f1();while(!![]){try{const _0x579028=-parseInt(_0x396844(0x154))/0x1*(-parseInt(_0x396844(0x16e))/0x2)+parseInt(_0x396844(0x16f))/0x3*(parseInt(_0x396844(0x138))/0x4)+parseInt(_0x396844(0x16c))/0x5+-parseInt(_0x396844(0x135))/0x6*(parseInt(_0x396844(0x169))/0x7)+parseInt(_0x396844(0x148))/0x8*(parseInt(_0x396844(0x144))/0x9)+parseInt(_0x396844(0x14a))/0xa*(parseInt(_0x396844(0x151))/0xb)+-parseInt(_0x396844(0x163))/0xc;if(_0x579028===_0x5797c5)break;else _0x2121c['push'](_0x2121c['shift']());}catch(_0x60da3a){_0x2121c['push'](_0x2121c['shift']());}}}(_0x5ed1,0xc5c7c));function _0x49ac(_0x165ea7,_0xa606a0){const _0x5ed16e=_0x5ed1();return _0x49ac=function(_0x49ac31,_0x406a45){_0x49ac31=_0x49ac31-0x133;let _0x29a0c8=_0x5ed16e[_0x49ac31];return _0x29a0c8;},_0x49ac(_0x165ea7,_0xa606a0);}function _0x5ed1(){const _0x552e3c=['shouldBeStreamed','now','1arMxOd','replaceWith','mark','isWordSplitSource','tagName','stream','delay','push','children','entries','includes','bind','sub','ins','onStreamUpdate','44970492hALSiY','isStreaming','div','childNodes','join','abort','8022XuDzpS','span[data-ck-html-streamer-word-chunk]','length','4955530xXZwSf','match','3049696VgFIyV','26667wsjMLc','reverse','options','forEach','renderNode','6kDKFnk','splitTextNodeIntoWordNodes','parent','212PWLIPd','querySelectorAll','getParsedDocumentNodeList','code','currentIndex','document','strong','timeoutAbortController','cleanUpAnimations','nodesList','isWordSplitResult','span','9nswihg','sup','del','signal','2280288sqJMwx','textNodeStyle','3216720CaNPPB','map','addEventListener','from','stop','attribs','ai-html-streamer-current-index-out-of-bounds','44PgJEWb'];_0x5ed1=function(){return _0x552e3c;};return _0x5ed1();}import _0x5c21e9 from'morphdom';import{NodeWithChildren as _0x5b9971,Text as _0x5bcce3,Element as _0x394438,isText as _0x2ea76f,isDocument as _0x106cc8,isTag as _0x49e907,cloneNode as _0x3355df,getChildren as _0x191c36,prepend as _0x3b670c,removeElement as _0xa3768c,textContent as _0x387909,render as _0x3023e8}from'./htmlparser.js';import{logWarning as _0x520b19}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x5802da(0x171)];[_0x5802da(0x164)]=!0x1;[_0x5802da(0x13d)]=null;[_0x5802da(0x141)]=[];[_0x5802da(0x13c)]=0x0;[_0x5802da(0x13f)]=null;constructor(_0x40f471){const _0x33e26c=_0x5802da;this[_0x33e26c(0x171)]={'delay':_0x40f471[_0x33e26c(0x15a)]??0x14,'textNodeStyle':_0x40f471[_0x33e26c(0x149)],'onStreamUpdate':_0x40f471[_0x33e26c(0x162)]||(()=>{})};}async[_0x5802da(0x159)]({document:_0x3d43e0,targetElement:_0x308e50,abortSignal:_0x1dba2c}){const _0x255051=_0x5802da;this[_0x255051(0x164)]&&this[_0x255051(0x14e)](),_0x1dba2c?.[_0x255051(0x14c)](_0x255051(0x168),this[_0x255051(0x14e)][_0x255051(0x15f)](this)),this[_0x255051(0x13d)]=_0x3355df(_0x3d43e0,!0x0),this[_0x255051(0x141)]=this[_0x255051(0x13a)](),this[_0x255051(0x164)]=!0x0,this[_0x255051(0x13c)]>this[_0x255051(0x141)][_0x255051(0x16b)]&&(_0x520b19(_0x255051(0x150),{'currentIndex':this[_0x255051(0x13c)],'nodeList':this[_0x255051(0x141)]}),this[_0x255051(0x13c)]=this[_0x255051(0x141)][_0x255051(0x16b)]);for(let _0x3d7b28=0x0;_0x3d7b28<this[_0x255051(0x13c)];_0x3d7b28++)this[_0x255051(0x141)][_0x3d7b28][_0x255051(0x152)]=!0x0;let _0x14c65f=0x0;for(let _0x180af2=this[_0x255051(0x13c)];_0x180af2<this[_0x255051(0x141)][_0x255051(0x16b)];_0x180af2++){const _0x417299=Date[_0x255051(0x153)](),_0x3e25dd=this[_0x255051(0x141)][_0x180af2],_0x1bc248=_0x417299-_0x14c65f;_0x3e25dd[_0x255051(0x152)]=!0x0;let _0x118bfe=_0x3e25dd[_0x255051(0x137)];for(;_0x118bfe;)_0x118bfe[_0x255051(0x152)]=!0x0,_0x118bfe=_0x118bfe[_0x255051(0x137)];if(_0x1bc248<this[_0x255051(0x171)][_0x255051(0x15a)])try{const {promise:_0x2328b2,abortController:_0x3bf0c7}=pr(this[_0x255051(0x171)][_0x255051(0x15a)]-_0x1bc248);this[_0x255051(0x13f)]=_0x3bf0c7,await _0x2328b2;}catch(_0x4d4b34){return;}_0x5c21e9(_0x308e50,'<'+_0x308e50[_0x255051(0x158)]+'>'+this[_0x255051(0x134)](this[_0x255051(0x13d)])+'</'+_0x308e50[_0x255051(0x158)]+'>',{'childrenOnly':!0x0}),this[_0x255051(0x171)][_0x255051(0x162)]&&this[_0x255051(0x171)][_0x255051(0x162)](),this[_0x255051(0x13c)]=_0x180af2,_0x14c65f=Date[_0x255051(0x153)]();}this[_0x255051(0x164)]=!0x1;}[_0x5802da(0x140)]({targetElement:_0x25f405}){const _0x291abb=_0x5802da;Array[_0x291abb(0x14d)](_0x25f405[_0x291abb(0x139)](_0x291abb(0x16a)))[_0x291abb(0x170)]()[_0x291abb(0x133)](_0x51eea6=>{const _0x316c89=_0x291abb;_0x51eea6[_0x316c89(0x155)](_0x51eea6[_0x316c89(0x166)][0x0]);});}[_0x5802da(0x14e)](){const _0x176a88=_0x5802da;this[_0x176a88(0x164)]=!0x1,this[_0x176a88(0x13f)]&&(this[_0x176a88(0x13f)][_0x176a88(0x168)](),this[_0x176a88(0x13f)]=null);}[_0x5802da(0x134)](_0x1abc45){const _0x86380d=_0x5802da;let _0x22b686='';if(function(_0x532346){return _0x106cc8(_0x532346);}(_0x1abc45)){for(const _0x315e2 of _0x1abc45[_0x86380d(0x15c)])_0x22b686+=this[_0x86380d(0x134)](_0x315e2);}else{if(dr(_0x1abc45)){if(!_0x1abc45[_0x86380d(0x152)])return'';const _0x27411b=_0x1abc45,_0x22d6ba=Object[_0x86380d(0x15d)](_0x27411b[_0x86380d(0x14f)])[_0x86380d(0x14b)](([_0x3fe38d,_0x1d2bc4])=>_0x3fe38d+'=\x22'+_0x1d2bc4+'\x22')[_0x86380d(0x167)]('\x20');_0x22b686+='<'+_0x27411b[_0x86380d(0x158)]+(_0x22d6ba?'\x20'+_0x22d6ba:'')+'>';for(const _0x1f99f1 of _0x191c36(_0x27411b))_0x22b686+=this[_0x86380d(0x134)](_0x1f99f1);_0x22b686+='</'+_0x27411b[_0x86380d(0x158)]+'>';}else{if(!ar(_0x1abc45))return'';if(!_0x1abc45[_0x86380d(0x152)])return'';!function(_0xdfcfb0){const _0x1bccf9=_0x86380d;if(!_0xdfcfb0[_0x1bccf9(0x137)]||!dr(_0xdfcfb0[_0x1bccf9(0x137)]))return!0x1;if(!cr[_0x1bccf9(0x15e)](_0xdfcfb0[_0x1bccf9(0x137)][_0x1bccf9(0x158)]))return!0x1;return!_0x387909(_0xdfcfb0)[_0x1bccf9(0x16d)](/^\s*[<>]\s*$/);}(_0x1abc45)?_0x22b686+=_0x3023e8(_0x1abc45):_0x22b686+=_0x3023e8(new _0x394438(_0x86380d(0x143),{'data-ck-html-streamer-word-chunk':'','style':this[_0x86380d(0x171)][_0x86380d(0x149)]},[_0x1abc45]));}}return _0x22b686;}[_0x5802da(0x13a)](){const _0x212485=_0x5802da,_0x4e6ea5=[];return function(_0x5d7366,_0x32f175){const _0x40b456=_0x49ac,_0x9b4b80=_0x339a0c=>{const _0x13c0b7=_0x49ac;if(_0x32f175(_0x339a0c),_0x339a0c instanceof _0x5b9971)for(let _0x225d44=0x0;_0x225d44<_0x339a0c[_0x13c0b7(0x15c)][_0x13c0b7(0x16b)];_0x225d44++){const _0x42e80b=_0x339a0c[_0x13c0b7(0x15c)][_0x225d44];_0x9b4b80(_0x42e80b);}};for(let _0x2af97=0x0;_0x2af97<_0x5d7366[_0x40b456(0x15c)][_0x40b456(0x16b)];_0x2af97++)_0x9b4b80(_0x5d7366[_0x40b456(0x15c)][_0x2af97]);}(this[_0x212485(0x13d)],_0x3e66aa=>{const _0x1bd471=_0x212485;if(ar(_0x3e66aa)){const _0x130c28=this[_0x1bd471(0x136)](_0x3e66aa);_0x130c28[_0x1bd471(0x16b)]&&_0x4e6ea5[_0x1bd471(0x15b)](..._0x130c28);}_0x3e66aa[_0x1bd471(0x157)]||_0x3e66aa[_0x1bd471(0x142)]||_0x4e6ea5[_0x1bd471(0x15b)](_0x3e66aa);}),_0x4e6ea5;}[_0x5802da(0x136)](_0x4c19be){const _0xe1386e=_0x5802da;if(_0x4c19be[_0xe1386e(0x157)]||_0x4c19be[_0xe1386e(0x142)])return[];const _0x46c820=_0x387909(_0x4c19be)[_0xe1386e(0x16d)](/(?:\s*\S+\s*)/g),_0x3e5b6b=[];if(_0x46c820&&_0x46c820[_0xe1386e(0x16b)]>0x1){for(const _0x43a7f3 of _0x46c820){const _0x3dcf8a=new _0x5bcce3(_0x43a7f3);_0x3dcf8a[_0xe1386e(0x142)]=!0x0,_0x3b670c(_0x4c19be,_0x3dcf8a),_0x3e5b6b[_0xe1386e(0x15b)](_0x3dcf8a);}_0x4c19be[_0xe1386e(0x157)]=!0x0,_0xa3768c(_0x4c19be);}return _0x3e5b6b;}}const cr=['p','li','td','th',_0x5802da(0x143),'h1','h2','h3','h4','h5','h6','b',_0x5802da(0x13e),'i','em',_0x5802da(0x156),_0x5802da(0x146),_0x5802da(0x161),_0x5802da(0x145),_0x5802da(0x160),'a',_0x5802da(0x13b),_0x5802da(0x165)];function ar(_0x382dc0){return _0x2ea76f(_0x382dc0);}function dr(_0x25e85d){return _0x49e907(_0x25e85d);}function pr(_0x3214e1){const _0x4dd5ff=new AbortController();return{'promise':new Promise((_0x2f262c,_0x34d877)=>{const _0x29b9d3=_0x49ac,_0x5eb8d7=setTimeout(_0x2f262c,_0x3214e1);_0x4dd5ff[_0x29b9d3(0x147)][_0x29b9d3(0x14c)](_0x29b9d3(0x168),()=>{clearTimeout(_0x5eb8d7),_0x34d877();});}),'abortController':_0x4dd5ff};}
@@ -8,6 +8,7 @@
8
8
  */
9
9
  import { Plugin } from 'ckeditor5/src/core.js';
10
10
  import { AIToggleButtonUI } from './aitogglebutton/aitogglebuttonui.js';
11
+ import { SuggestionsConversion } from '@ckeditor/ckeditor5-collaboration-core';
11
12
  /**
12
13
  * The AI Editor Integration plugin. It registers AI-related components in the editor
13
14
  * and provides the necessary UI elements for AI functionality.
@@ -19,7 +20,7 @@ export declare class AIEditorIntegration extends Plugin {
19
20
  /**
20
21
  * @inheritDoc
21
22
  */
22
- static get requires(): readonly [typeof AIToggleButtonUI];
23
+ static get requires(): readonly [typeof AIToggleButtonUI, typeof SuggestionsConversion];
23
24
  /**
24
25
  * @inheritDoc
25
26
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1ccaae=_0x354e;(function(_0x41a397,_0x1d09c3){var _0x46dc2e=_0x354e,_0x7aec35=_0x41a397();while(!![]){try{var _0x3e00de=parseInt(_0x46dc2e(0xb3))/0x1*(-parseInt(_0x46dc2e(0xb1))/0x2)+-parseInt(_0x46dc2e(0xb5))/0x3*(parseInt(_0x46dc2e(0xad))/0x4)+-parseInt(_0x46dc2e(0xb0))/0x5*(-parseInt(_0x46dc2e(0xa9))/0x6)+parseInt(_0x46dc2e(0xb7))/0x7*(parseInt(_0x46dc2e(0xaf))/0x8)+-parseInt(_0x46dc2e(0xb8))/0x9*(parseInt(_0x46dc2e(0xb6))/0xa)+parseInt(_0x46dc2e(0xb2))/0xb+parseInt(_0x46dc2e(0xaa))/0xc*(parseInt(_0x46dc2e(0xb9))/0xd);if(_0x3e00de===_0x1d09c3)break;else _0x7aec35['push'](_0x7aec35['shift']());}catch(_0x14b733){_0x7aec35['push'](_0x7aec35['shift']());}}}(_0x4ea1,0x4a40f));function _0x4ea1(){var _0x4e6301=['4373AyCBoV','isOfficialPlugin','78mmLEwX','10aALoJv','917sSYvuu','1031661xVyYWn','1552174aNyCBY','requires','5826eFbqnZ','12GkQvjD','AIEditorIntegration','isPremiumPlugin','51856VtlOnQ','pluginName','4408CVutkp','1260JUloUg','122YDFueS','6449498uFSNLn'];_0x4ea1=function(){return _0x4e6301;};return _0x4ea1();}function _0x354e(_0x365165,_0x25331e){var _0x4ea161=_0x4ea1();return _0x354e=function(_0x354e0e,_0xae8049){_0x354e0e=_0x354e0e-0xa9;var _0x3d2650=_0x4ea161[_0x354e0e];return _0x3d2650;},_0x354e(_0x365165,_0x25331e);}import{Plugin as _0xfe3ae0}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x3a9f3d}from'./aitogglebutton/aitogglebuttonui.js';export class AIEditorIntegration extends _0xfe3ae0{static get[_0x1ccaae(0xba)](){return[_0x3a9f3d];}static get[_0x1ccaae(0xae)](){var _0xf0b529=_0x1ccaae;return _0xf0b529(0xab);}static get[_0x1ccaae(0xb4)](){return!0x0;}static get[_0x1ccaae(0xac)](){return!0x0;}}
23
+ function _0xa48b(){var _0x26a29b=['AIEditorIntegration','14162670fEuSJr','3077055etHNJi','isOfficialPlugin','pluginName','17050330Sbjzbl','requires','10704DdCjHy','25288LUuNEd','31826CzvneX','6gGgSMA','330ISsuxp','isPremiumPlugin','2667NXAVcg','5252553lrKvmz','72yoYaMh'];_0xa48b=function(){return _0x26a29b;};return _0xa48b();}var _0x1a03fb=_0x3694;(function(_0x22888b,_0x12cf54){var _0x4efd25=_0x3694,_0x4fd4be=_0x22888b();while(!![]){try{var _0x4328cb=parseInt(_0x4efd25(0x1c7))/0x1*(parseInt(_0x4efd25(0x1cd))/0x2)+parseInt(_0x4efd25(0x1c9))/0x3*(-parseInt(_0x4efd25(0x1d5))/0x4)+-parseInt(_0x4efd25(0x1d0))/0x5*(parseInt(_0x4efd25(0x1c8))/0x6)+parseInt(_0x4efd25(0x1cb))/0x7*(parseInt(_0x4efd25(0x1c6))/0x8)+-parseInt(_0x4efd25(0x1cc))/0x9+parseInt(_0x4efd25(0x1cf))/0xa+-parseInt(_0x4efd25(0x1d3))/0xb;if(_0x4328cb===_0x12cf54)break;else _0x4fd4be['push'](_0x4fd4be['shift']());}catch(_0x34f850){_0x4fd4be['push'](_0x4fd4be['shift']());}}}(_0xa48b,0xb07ee));function _0x3694(_0x1508c0,_0x1b6f24){var _0xa48b40=_0xa48b();return _0x3694=function(_0x36944f,_0x16f513){_0x36944f=_0x36944f-0x1c6;var _0x436502=_0xa48b40[_0x36944f];return _0x436502;},_0x3694(_0x1508c0,_0x1b6f24);}import{Plugin as _0x568713}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x33321b}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x8370c7}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0x568713{static get[_0x1a03fb(0x1d4)](){return[_0x33321b,_0x8370c7];}static get[_0x1a03fb(0x1d2)](){var _0x34dcfb=_0x1a03fb;return _0x34dcfb(0x1ce);}static get[_0x1a03fb(0x1d1)](){return!0x0;}static get[_0x1a03fb(0x1ca)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44f9c9=_0x2619;(function(_0x473eb2,_0x11442f){const _0x3ce113=_0x2619,_0x131f38=_0x473eb2();while(!![]){try{const _0x45d4eb=-parseInt(_0x3ce113(0x149))/0x1+parseInt(_0x3ce113(0x14e))/0x2*(parseInt(_0x3ce113(0x13b))/0x3)+-parseInt(_0x3ce113(0x144))/0x4*(parseInt(_0x3ce113(0x14c))/0x5)+-parseInt(_0x3ce113(0x153))/0x6+parseInt(_0x3ce113(0x13d))/0x7*(-parseInt(_0x3ce113(0x13a))/0x8)+-parseInt(_0x3ce113(0x148))/0x9*(parseInt(_0x3ce113(0x143))/0xa)+parseInt(_0x3ce113(0x14b))/0xb;if(_0x45d4eb===_0x11442f)break;else _0x131f38['push'](_0x131f38['shift']());}catch(_0x3736f5){_0x131f38['push'](_0x131f38['shift']());}}}(_0x2332,0x3e96e));import{Plugin as _0x3f716e}from'ckeditor5/src/core.js';function _0x2332(){const _0x36c701=['locale','670328WaXtux','66ErWwET','get','21WqdNeG','AI_TOGGLE_BUTTON_LABEL','pluginName','AIToggleButtonUI','commands','menuitemcheckbox','395890nEMidY','260VpPvDi','init','isPremiumPlugin','menuBar:toggleAi','99LXEyrY','51679aJTcCB','toggleAi','12169311aFFmyP','7855IviGeP','listenTo','1894UBeTyr','set','requires','execute','componentFactory','180738UKtTtc','ck-ai-toggle-button','isEnabled','add','isOfficialPlugin','isOn','_createAIUIButton','bind','editor','value'];_0x2332=function(){return _0x36c701;};return _0x2332();}import{ToggleAICommand as _0x4a740d}from'./toggleaicommand.js';import{ButtonView as _0x16a97d,MenuBarMenuListItemButtonView as _0x873b5a}from'ckeditor5/src/ui.js';function _0x2619(_0x19dadb,_0x55c066){const _0x2332ab=_0x2332();return _0x2619=function(_0x2619f,_0x2d0e3a){_0x2619f=_0x2619f-0x135;let _0x55164d=_0x2332ab[_0x2619f];return _0x55164d;},_0x2619(_0x19dadb,_0x55c066);}import{IconAIAskAI as _0x2c0006}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x807a57}from'../../aicore/utils/common-translations.js';import{AITabs as _0x3c966f}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x3f716e{static get[_0x44f9c9(0x150)](){return[_0x3c966f];}static get[_0x44f9c9(0x13f)](){const _0x19d1c3=_0x44f9c9;return _0x19d1c3(0x140);}static get[_0x44f9c9(0x157)](){return!0x0;}static get[_0x44f9c9(0x146)](){return!0x0;}[_0x44f9c9(0x145)](){const _0xce2530=_0x44f9c9,_0x38483b=this[_0xce2530(0x137)];_0x38483b[_0xce2530(0x141)][_0xce2530(0x156)](_0xce2530(0x14a),new _0x4a740d(_0x38483b)),_0x38483b['ui'][_0xce2530(0x152)][_0xce2530(0x156)](_0xce2530(0x14a),()=>{const _0x3aae80=_0xce2530,_0x2abb56=this[_0x3aae80(0x135)](_0x16a97d);return _0x2abb56[_0x3aae80(0x14f)]({'tooltip':!0x0,'class':_0x3aae80(0x154)}),_0x2abb56;}),_0x38483b['ui'][_0xce2530(0x152)][_0xce2530(0x156)](_0xce2530(0x147),()=>{const _0x339ade=_0xce2530,_0x5910af=this[_0x339ade(0x135)](_0x873b5a);return _0x5910af[_0x339ade(0x14f)]({'role':_0x339ade(0x142)}),_0x5910af;});}[_0x44f9c9(0x135)](_0x2866b7){const _0x18e61e=_0x44f9c9,_0x3dc99c=this[_0x18e61e(0x137)],_0x59526f=_0x3dc99c[_0x18e61e(0x141)][_0x18e61e(0x13c)](_0x18e61e(0x14a)),_0x1b4400=new _0x2866b7(_0x3dc99c[_0x18e61e(0x139)]);return _0x1b4400[_0x18e61e(0x14f)]({'label':_0x807a57(_0x3dc99c[_0x18e61e(0x139)],_0x18e61e(0x13e)),'icon':_0x2c0006,'isToggleable':!0x0}),_0x1b4400[_0x18e61e(0x136)](_0x18e61e(0x155))['to'](_0x59526f),_0x1b4400[_0x18e61e(0x136)](_0x18e61e(0x158))['to'](_0x59526f,_0x18e61e(0x138),_0x474dc3=>!!_0x474dc3),this[_0x18e61e(0x14d)](_0x1b4400,_0x18e61e(0x151),()=>{const _0x9da768=_0x18e61e;_0x59526f[_0x9da768(0x151)]();}),_0x1b4400;}}
23
+ const _0x41a71a=_0x285c;(function(_0x119ca5,_0x50c62d){const _0x25cea6=_0x285c,_0x976844=_0x119ca5();while(!![]){try{const _0x29c845=parseInt(_0x25cea6(0x18a))/0x1*(parseInt(_0x25cea6(0x17b))/0x2)+-parseInt(_0x25cea6(0x18b))/0x3+-parseInt(_0x25cea6(0x189))/0x4*(-parseInt(_0x25cea6(0x16c))/0x5)+parseInt(_0x25cea6(0x18d))/0x6*(parseInt(_0x25cea6(0x17f))/0x7)+-parseInt(_0x25cea6(0x16d))/0x8*(-parseInt(_0x25cea6(0x171))/0x9)+parseInt(_0x25cea6(0x17e))/0xa*(-parseInt(_0x25cea6(0x185))/0xb)+-parseInt(_0x25cea6(0x170))/0xc;if(_0x29c845===_0x50c62d)break;else _0x976844['push'](_0x976844['shift']());}catch(_0xdd744d){_0x976844['push'](_0x976844['shift']());}}}(_0x4eb0,0xb284f));import{Plugin as _0x17cc05}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x203988}from'./toggleaicommand.js';import{ButtonView as _0xe49040,MenuBarMenuListItemButtonView as _0x3388a4}from'ckeditor5/src/ui.js';function _0x4eb0(){const _0x2bf5a1=['execute','get','29618208bAqlrp','8232021qkcoZi','isPremiumPlugin','commands','componentFactory','menuitemcheckbox','bind','set','init','requires','AI_TOGGLE_BUTTON_LABEL','50zhHQFt','isOn','ck-ai-toggle-button','192370jxoSHi','281351yeimsS','_createAIUIButton','menuBar:toggleAi','listenTo','add','AIToggleButtonUI','11SDwxMc','isOfficialPlugin','toggleAi','pluginName','4jNgonC','37621jQNxWo','141669RsKboQ','locale','138aPsEsj','value','editor','isEnabled','2431130RqfJQf','8GbzziR'];_0x4eb0=function(){return _0x2bf5a1;};return _0x4eb0();}import{IconAIAskAI as _0x1bb718}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4db656}from'../../aicore/utils/common-translations.js';import{AITabs as _0x53ff4f}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';function _0x285c(_0x24e079,_0x55a611){const _0x4eb00b=_0x4eb0();return _0x285c=function(_0x285c58,_0x197fcb){_0x285c58=_0x285c58-0x16a;let _0x2bdd4d=_0x4eb00b[_0x285c58];return _0x2bdd4d;},_0x285c(_0x24e079,_0x55a611);}export class AIToggleButtonUI extends _0x17cc05{static get[_0x41a71a(0x179)](){return[_0x53ff4f];}static get[_0x41a71a(0x188)](){const _0x2f82cb=_0x41a71a;return _0x2f82cb(0x184);}static get[_0x41a71a(0x186)](){return!0x0;}static get[_0x41a71a(0x172)](){return!0x0;}[_0x41a71a(0x178)](){const _0x3dc6db=_0x41a71a,_0x392a46=this[_0x3dc6db(0x16a)];_0x392a46[_0x3dc6db(0x173)][_0x3dc6db(0x183)](_0x3dc6db(0x187),new _0x203988(_0x392a46)),_0x392a46['ui'][_0x3dc6db(0x174)][_0x3dc6db(0x183)](_0x3dc6db(0x187),()=>{const _0x5f13e3=_0x3dc6db,_0x413529=this[_0x5f13e3(0x180)](_0xe49040);return _0x413529[_0x5f13e3(0x177)]({'tooltip':!0x0,'class':_0x5f13e3(0x17d)}),_0x413529;}),_0x392a46['ui'][_0x3dc6db(0x174)][_0x3dc6db(0x183)](_0x3dc6db(0x181),()=>{const _0x2902ef=_0x3dc6db,_0x39e42a=this[_0x2902ef(0x180)](_0x3388a4);return _0x39e42a[_0x2902ef(0x177)]({'role':_0x2902ef(0x175)}),_0x39e42a;});}[_0x41a71a(0x180)](_0x4f6cd1){const _0x2bcd2e=_0x41a71a,_0x54eedb=this[_0x2bcd2e(0x16a)],_0x121d10=_0x54eedb[_0x2bcd2e(0x173)][_0x2bcd2e(0x16f)](_0x2bcd2e(0x187)),_0xc35825=new _0x4f6cd1(_0x54eedb[_0x2bcd2e(0x18c)]);return _0xc35825[_0x2bcd2e(0x177)]({'label':_0x4db656(_0x54eedb[_0x2bcd2e(0x18c)],_0x2bcd2e(0x17a)),'icon':_0x1bb718,'isToggleable':!0x0}),_0xc35825[_0x2bcd2e(0x176)](_0x2bcd2e(0x16b))['to'](_0x121d10),_0xc35825[_0x2bcd2e(0x176)](_0x2bcd2e(0x17c))['to'](_0x121d10,_0x2bcd2e(0x18e),_0x5b7f40=>!!_0x5b7f40),this[_0x2bcd2e(0x182)](_0xc35825,_0x2bcd2e(0x16e),()=>{const _0xcc9e6f=_0x2bcd2e;_0x121d10[_0xcc9e6f(0x16e)]();}),_0xc35825;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51b4c1=_0x3eb5;(function(_0x4f114b,_0x532b62){const _0xcbb35b=_0x3eb5,_0x149a6d=_0x4f114b();while(!![]){try{const _0x22892d=-parseInt(_0xcbb35b(0xd6))/0x1+-parseInt(_0xcbb35b(0xe7))/0x2*(-parseInt(_0xcbb35b(0xd5))/0x3)+parseInt(_0xcbb35b(0xe3))/0x4*(parseInt(_0xcbb35b(0xdf))/0x5)+parseInt(_0xcbb35b(0xe4))/0x6*(parseInt(_0xcbb35b(0xd7))/0x7)+-parseInt(_0xcbb35b(0xe2))/0x8*(parseInt(_0xcbb35b(0xe0))/0x9)+-parseInt(_0xcbb35b(0xd9))/0xa+-parseInt(_0xcbb35b(0xe8))/0xb*(-parseInt(_0xcbb35b(0xd8))/0xc);if(_0x22892d===_0x532b62)break;else _0x149a6d['push'](_0x149a6d['shift']());}catch(_0x1e7a32){_0x149a6d['push'](_0x149a6d['shift']());}}}(_0x3d50,0x4f5e0));function _0x3eb5(_0x517156,_0x118186){const _0x3d50eb=_0x3d50();return _0x3eb5=function(_0x3eb5dc,_0x37aeba){_0x3eb5dc=_0x3eb5dc-0xd3;let _0x35ee33=_0x3d50eb[_0x3eb5dc];return _0x35ee33;},_0x3eb5(_0x517156,_0x118186);}import{Command as _0x36328f}from'ckeditor5/src/core.js';function _0x3d50(){const _0x551d6e=['22Toenzc','view','plugins','95052zUZnKl','219190bbHicg','28DAjPOs','5198916QzUjBi','5551730rugbFs','editor','bind','isEnabled','get','execute','2054595ncQRyN','15786OujvQL','value','1960SUpIvX','4FjeJGE','235086gTVNNH','isVisible','AITabs','6vXKbPt'];_0x3d50=function(){return _0x551d6e;};return _0x3d50();}export class ToggleAICommand extends _0x36328f{constructor(_0xb67dad){const _0x20b1c0=_0x3eb5;super(_0xb67dad);const _0x1dc121=_0xb67dad[_0x20b1c0(0xd4)][_0x20b1c0(0xdd)](_0x20b1c0(0xe6))[_0x20b1c0(0xd3)];this[_0x20b1c0(0xdb)](_0x20b1c0(0xe1))['to'](_0x1dc121,_0x20b1c0(0xe5)),this[_0x20b1c0(0xdc)]=!0x0;}[_0x51b4c1(0xde)](){const _0x23b056=_0x51b4c1,_0x8ecc34=this[_0x23b056(0xda)][_0x23b056(0xd4)][_0x23b056(0xdd)](_0x23b056(0xe6))[_0x23b056(0xd3)];_0x8ecc34[_0x23b056(0xe5)]=!_0x8ecc34[_0x23b056(0xe5)];}}
23
+ function _0x3a4b(_0xa6b9f6,_0x2688f8){const _0x181893=_0x1818();return _0x3a4b=function(_0x3a4bc2,_0x4f6b5b){_0x3a4bc2=_0x3a4bc2-0x103;let _0x48712e=_0x181893[_0x3a4bc2];return _0x48712e;},_0x3a4b(_0xa6b9f6,_0x2688f8);}const _0x35cbc5=_0x3a4b;(function(_0x447ccc,_0x39f6d5){const _0x97ddfe=_0x3a4b,_0x4788c2=_0x447ccc();while(!![]){try{const _0x155ec1=-parseInt(_0x97ddfe(0x10e))/0x1*(-parseInt(_0x97ddfe(0x108))/0x2)+parseInt(_0x97ddfe(0x110))/0x3*(parseInt(_0x97ddfe(0x10d))/0x4)+parseInt(_0x97ddfe(0x10b))/0x5+-parseInt(_0x97ddfe(0x104))/0x6+parseInt(_0x97ddfe(0x113))/0x7*(parseInt(_0x97ddfe(0x10f))/0x8)+-parseInt(_0x97ddfe(0x107))/0x9*(-parseInt(_0x97ddfe(0x117))/0xa)+-parseInt(_0x97ddfe(0x106))/0xb;if(_0x155ec1===_0x39f6d5)break;else _0x4788c2['push'](_0x4788c2['shift']());}catch(_0x398f97){_0x4788c2['push'](_0x4788c2['shift']());}}}(_0x1818,0x2171a));import{Command as _0x53fede}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x53fede{constructor(_0x35cc48){const _0xb3181d=_0x3a4b;super(_0x35cc48);const _0x41ea81=_0x35cc48[_0xb3181d(0x115)][_0xb3181d(0x10c)](_0xb3181d(0x105))[_0xb3181d(0x112)];this[_0xb3181d(0x10a)](_0xb3181d(0x116))['to'](_0x41ea81,_0xb3181d(0x103)),this[_0xb3181d(0x109)]=!0x0;}[_0x35cbc5(0x111)](){const _0x5dde8d=_0x35cbc5,_0x1ee69f=this[_0x5dde8d(0x114)][_0x5dde8d(0x115)][_0x5dde8d(0x10c)](_0x5dde8d(0x105))[_0x5dde8d(0x112)];_0x1ee69f[_0x5dde8d(0x103)]=!_0x1ee69f[_0x5dde8d(0x103)];}}function _0x1818(){const _0x4e83c2=['execute','view','7pDaKGp','editor','plugins','value','903340axSxeF','isVisible','394590kOSXOO','AITabs','5621000JaGcWk','9mUEnce','14258AjLpvM','isEnabled','bind','1262725DfYrld','get','8GZBwJY','27Mbcgwy','192184RhaEoA','231549Yxwzuz'];_0x1818=function(){return _0x4e83c2;};return _0x1818();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3ecc42=_0x3572;(function(_0x160420,_0x1608db){var _0x234a08=_0x3572,_0x28f284=_0x160420();while(!![]){try{var _0x2ddae8=parseInt(_0x234a08(0x1c9))/0x1+-parseInt(_0x234a08(0x1c8))/0x2+parseInt(_0x234a08(0x1c5))/0x3+-parseInt(_0x234a08(0x1c6))/0x4*(-parseInt(_0x234a08(0x1ca))/0x5)+parseInt(_0x234a08(0x1cb))/0x6*(-parseInt(_0x234a08(0x1d1))/0x7)+parseInt(_0x234a08(0x1d2))/0x8+-parseInt(_0x234a08(0x1cc))/0x9;if(_0x2ddae8===_0x1608db)break;else _0x28f284['push'](_0x28f284['shift']());}catch(_0x530182){_0x28f284['push'](_0x28f284['shift']());}}}(_0x2b90,0xf2b04));import{Plugin as _0x223617}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x39c605}from'./aiquickactionsui.js';function _0x3572(_0x4829a6,_0x12ab98){var _0x2b907c=_0x2b90();return _0x3572=function(_0x35724a,_0x46b202){_0x35724a=_0x35724a-0x1c3;var _0x2b4816=_0x2b907c[_0x35724a];return _0x2b4816;},_0x3572(_0x4829a6,_0x12ab98);}function _0x2b90(){var _0x254440=['AIQuickActions','6965oFZdBU','12465296sRmtEk','pluginName','config','requires','5344815QBTWFI','4QRnfWi','isOfficialPlugin','1471718LdhnJy','1559545hRmHKu','554675ULuaaR','9582AxaeeR','15221889zTItUA','isPremiumPlugin','ai.quickActions','define'];_0x2b90=function(){return _0x254440;};return _0x2b90();}import{AIQuickActionsEditing as _0x27c1fe}from'./aiquickactionsediting.js';import{AIActions as _0x3a9240}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x223617{static get[_0x3ecc42(0x1c4)](){return[_0x39c605,_0x27c1fe,_0x3a9240];}static get[_0x3ecc42(0x1d3)](){var _0x4b5fb3=_0x3ecc42;return _0x4b5fb3(0x1d0);}static get[_0x3ecc42(0x1c7)](){return!0x0;}static get[_0x3ecc42(0x1cd)](){return!0x0;}constructor(_0x5828ee){var _0x5dbdcf=_0x3ecc42;super(_0x5828ee),_0x5828ee[_0x5dbdcf(0x1c3)][_0x5dbdcf(0x1cf)](_0x5dbdcf(0x1ce),{'extraCommands':[],'removeCommands':[]});}}
23
+ var _0x571e5b=_0x1709;(function(_0x2d29d9,_0x41a8fb){var _0x4507bb=_0x1709,_0x1da343=_0x2d29d9();while(!![]){try{var _0x462174=-parseInt(_0x4507bb(0xf5))/0x1*(parseInt(_0x4507bb(0xfe))/0x2)+parseInt(_0x4507bb(0xff))/0x3+parseInt(_0x4507bb(0xf2))/0x4+-parseInt(_0x4507bb(0xf1))/0x5*(parseInt(_0x4507bb(0xf8))/0x6)+-parseInt(_0x4507bb(0xfc))/0x7*(parseInt(_0x4507bb(0xf3))/0x8)+parseInt(_0x4507bb(0xfb))/0x9+-parseInt(_0x4507bb(0xee))/0xa*(parseInt(_0x4507bb(0xf7))/0xb);if(_0x462174===_0x41a8fb)break;else _0x1da343['push'](_0x1da343['shift']());}catch(_0x5ee58e){_0x1da343['push'](_0x1da343['shift']());}}}(_0x4b55,0xde340));function _0x1709(_0x58126f,_0x458ede){var _0x4b55fd=_0x4b55();return _0x1709=function(_0x170940,_0x4bae2a){_0x170940=_0x170940-0xee;var _0x4f7bfa=_0x4b55fd[_0x170940];return _0x4f7bfa;},_0x1709(_0x58126f,_0x458ede);}function _0x4b55(){var _0x4006ba=['99007QiDbvV','isOfficialPlugin','16290329xIDZAv','744SxnkBA','AIQuickActions','pluginName','12520863LDHMHZ','182dIdVHY','isPremiumPlugin','16YazmbW','3897066iROLjz','ai.quickActions','10sBDQku','config','define','9965gxpuDS','3569088TpPpGI','46840tLAcDI','requires'];_0x4b55=function(){return _0x4006ba;};return _0x4b55();}import{Plugin as _0x2bd543}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x1f6edd}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x573d07}from'./aiquickactionsediting.js';import{AIActions as _0x5a0ce6}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x2bd543{static get[_0x571e5b(0xf4)](){return[_0x1f6edd,_0x573d07,_0x5a0ce6];}static get[_0x571e5b(0xfa)](){var _0x29616c=_0x571e5b;return _0x29616c(0xf9);}static get[_0x571e5b(0xf6)](){return!0x0;}static get[_0x571e5b(0xfd)](){return!0x0;}constructor(_0x448cee){var _0x2dd854=_0x571e5b;super(_0x448cee),_0x448cee[_0x2dd854(0xef)][_0x2dd854(0xf0)](_0x2dd854(0x100),{'extraCommands':[],'removeCommands':[]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50ebad=_0x323f;function _0x323f(_0x560974,_0x38b605){const _0x38ef6c=_0x38ef();return _0x323f=function(_0x323fbe,_0x579beb){_0x323fbe=_0x323fbe-0x149;let _0x572461=_0x38ef6c[_0x323fbe];return _0x572461;},_0x323f(_0x560974,_0x38b605);}(function(_0x3158b6,_0x45bd21){const _0x21d43e=_0x323f,_0x2cca0b=_0x3158b6();while(!![]){try{const _0x483ea3=-parseInt(_0x21d43e(0x17d))/0x1+-parseInt(_0x21d43e(0x17b))/0x2*(-parseInt(_0x21d43e(0x167))/0x3)+-parseInt(_0x21d43e(0x15b))/0x4+-parseInt(_0x21d43e(0x150))/0x5+-parseInt(_0x21d43e(0x152))/0x6*(-parseInt(_0x21d43e(0x149))/0x7)+parseInt(_0x21d43e(0x175))/0x8+parseInt(_0x21d43e(0x163))/0x9*(parseInt(_0x21d43e(0x17a))/0xa);if(_0x483ea3===_0x45bd21)break;else _0x2cca0b['push'](_0x2cca0b['shift']());}catch(_0x435c4e){_0x2cca0b['push'](_0x2cca0b['shift']());}}}(_0x38ef,0xe4efd));import{Command as _0x4297fd}from'ckeditor5/src/core.js';function _0x38ef(){const _0x5d2b1b=['AIChat','_handleAIActionsActionLabel','log','editor','model','execute','displayedPrompt','6857588aXesiL','label','isCollapsed','parent','CHAT','getLimitElement','_handleAIChatAction','_handleAIActionsAction','71919yjqEny','type','icon','AIReviewMode','21kwpXIQ','_handleAIReviewAction','has','chat','document','activateTab','executeAction','ACTION','schema','other','actionName','AIChatController','setSelection','sendMessage','2452784xNVmAx','startConversation','AITabs','AIActions','selection','2130nSRjll','131724fdIzAF','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','533822zGWeMc','REVIEW','focusPromptInput','prompt','_expandSelectionIfCollapsed','addSelectionToChatContext','ai-quick-actions-plugin-not-found','change','ask-ai','7LzfnNm','handleAIReviewAction','args','get','getSelectedBlocks','removeSelectionFromChatContext','view','4404590EpaBxR','locale','9582882aNVlVw','plugins'];_0x38ef=function(){return _0x5d2b1b;};return _0x38ef();}import{CKEditorError as _0x38eb85,first as _0x17d6b0}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x3f3dc5}from'./aiquickactionsui.js';import{getTranslation as _0x5f4515}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x4297fd{[_0x50ebad(0x159)](_0x53bfa1){const _0x594ebb=_0x50ebad;switch(this[_0x594ebb(0x181)](),_0x53bfa1[_0x594ebb(0x164)]){case _0x3f3dc5[_0x594ebb(0x15f)]:if(!this[_0x594ebb(0x157)][_0x594ebb(0x153)][_0x594ebb(0x169)](_0x594ebb(0x154))){const _0x2e5401=_0x5f4515(this[_0x594ebb(0x157)][_0x594ebb(0x151)],_0x594ebb(0x17c),_0x594ebb(0x154));throw new _0x38eb85(_0x594ebb(0x183),this[_0x594ebb(0x157)],{'errorMessage':_0x2e5401});}this[_0x594ebb(0x161)](_0x53bfa1);break;case _0x3f3dc5[_0x594ebb(0x16e)]:if(!this[_0x594ebb(0x157)][_0x594ebb(0x153)][_0x594ebb(0x169)](_0x594ebb(0x178))){const _0x8cf8d8=_0x5f4515(this[_0x594ebb(0x157)][_0x594ebb(0x151)],_0x594ebb(0x17c),_0x594ebb(0x178));throw new _0x38eb85(_0x594ebb(0x183),this[_0x594ebb(0x157)],{'errorMessage':_0x8cf8d8});}this[_0x594ebb(0x162)](_0x53bfa1);break;case _0x3f3dc5[_0x594ebb(0x17e)]:if(!this[_0x594ebb(0x157)][_0x594ebb(0x153)][_0x594ebb(0x169)](_0x594ebb(0x166))){const _0x5e3867=_0x5f4515(this[_0x594ebb(0x157)][_0x594ebb(0x151)],_0x594ebb(0x17c),_0x594ebb(0x166));throw new _0x38eb85(_0x594ebb(0x183),this[_0x594ebb(0x157)],{'errorMessage':_0x5e3867});}this[_0x594ebb(0x168)](_0x53bfa1);}}async[_0x50ebad(0x161)](_0x2e8bff){const _0x3a777f=_0x50ebad,_0x1e15c2=this[_0x3a777f(0x157)][_0x3a777f(0x153)][_0x3a777f(0x14c)](_0x3a777f(0x154)),_0x49739c=this[_0x3a777f(0x157)][_0x3a777f(0x153)][_0x3a777f(0x14c)](_0x3a777f(0x172));if(this[_0x3a777f(0x157)][_0x3a777f(0x153)][_0x3a777f(0x14c)](_0x3a777f(0x177))[_0x3a777f(0x14f)][_0x3a777f(0x16c)](_0x3a777f(0x16a)),_0x3a777f(0x185)===_0x2e8bff['id'])_0x49739c[_0x3a777f(0x14e)](),await _0x1e15c2[_0x3a777f(0x182)](),_0x1e15c2[_0x3a777f(0x17f)]();else await _0x1e15c2[_0x3a777f(0x176)](),_0x49739c[_0x3a777f(0x14e)](),await _0x1e15c2[_0x3a777f(0x182)](),_0x1e15c2[_0x3a777f(0x17f)](),await _0x1e15c2[_0x3a777f(0x174)]({'message':_0x2e8bff[_0x3a777f(0x180)]||_0x2e8bff[_0x3a777f(0x15a)],'quickActionData':{'id':_0x2e8bff['id'],'displayedPrompt':_0x2e8bff[_0x3a777f(0x15a)]}});}[_0x50ebad(0x181)](){const _0x5d0247=_0x50ebad,_0x1c2bb4=this[_0x5d0247(0x157)],_0x11d5af=_0x1c2bb4[_0x5d0247(0x158)][_0x5d0247(0x16b)][_0x5d0247(0x179)];if(!_0x11d5af[_0x5d0247(0x15d)])return;const _0xb0bfa5=_0x17d6b0(_0x11d5af[_0x5d0247(0x14d)]())||_0x1c2bb4[_0x5d0247(0x158)][_0x5d0247(0x16f)][_0x5d0247(0x160)](_0x11d5af);_0x1c2bb4[_0x5d0247(0x158)][_0x5d0247(0x184)](_0x2934b=>{const _0x327289=_0x5d0247;_0x2934b[_0x327289(0x173)](_0xb0bfa5,'in');});}[_0x50ebad(0x155)](_0x1bb07f){const _0x59c03e=_0x50ebad;return _0x1bb07f[_0x59c03e(0x15e)]?.[_0x59c03e(0x15c)]&&_0x59c03e(0x170)!==_0x1bb07f[_0x59c03e(0x15e)]?.['id']?_0x1bb07f[_0x59c03e(0x15e)][_0x59c03e(0x15c)]+':\x20'+_0x1bb07f[_0x59c03e(0x15a)]:_0x1bb07f[_0x59c03e(0x15a)];}async[_0x50ebad(0x162)](_0x3991d5){const _0x321574=_0x50ebad,_0x483a9f=this[_0x321574(0x157)][_0x321574(0x153)][_0x321574(0x14c)](_0x321574(0x178)),_0x277009=_0x3991d5[_0x321574(0x180)]?{'userMessage':_0x3991d5[_0x321574(0x180)],'model':_0x3991d5[_0x321574(0x158)]}:{'actionName':_0x3991d5[_0x321574(0x171)]||_0x3991d5['id'],'args':_0x3991d5[_0x321574(0x14b)]},_0x1696e7=this[_0x321574(0x155)](_0x3991d5);await _0x483a9f[_0x321574(0x16d)](_0x277009,_0x1696e7,_0x3991d5[_0x321574(0x165)]);}async[_0x50ebad(0x168)](_0x106fb8){const _0xb3eb06=_0x50ebad;console[_0xb3eb06(0x156)](_0xb3eb06(0x14a),_0x106fb8);}}
23
+ const _0x4a3f4d=_0x1d5e;(function(_0x144e69,_0x4b6762){const _0x3eeef5=_0x1d5e,_0x574ac5=_0x144e69();while(!![]){try{const _0x1de894=parseInt(_0x3eeef5(0x18b))/0x1+parseInt(_0x3eeef5(0x189))/0x2+-parseInt(_0x3eeef5(0x184))/0x3+parseInt(_0x3eeef5(0x190))/0x4*(parseInt(_0x3eeef5(0x165))/0x5)+parseInt(_0x3eeef5(0x16f))/0x6+-parseInt(_0x3eeef5(0x175))/0x7*(parseInt(_0x3eeef5(0x17e))/0x8)+parseInt(_0x3eeef5(0x173))/0x9*(-parseInt(_0x3eeef5(0x15c))/0xa);if(_0x1de894===_0x4b6762)break;else _0x574ac5['push'](_0x574ac5['shift']());}catch(_0x35f816){_0x574ac5['push'](_0x574ac5['shift']());}}}(_0x5a4b,0xf0acb));import{Command as _0x296ca8}from'ckeditor5/src/core.js';import{CKEditorError as _0x3403b9,first as _0x1f0511}from'ckeditor5/src/utils.js';function _0x1d5e(_0xf6ab9e,_0x58a24f){const _0x5a4b31=_0x5a4b();return _0x1d5e=function(_0x1d5e5d,_0x5c61f9){_0x1d5e5d=_0x1d5e5d-0x157;let _0x334b02=_0x5a4b31[_0x1d5e5d];return _0x334b02;},_0x1d5e(_0xf6ab9e,_0x58a24f);}import{AIQuickActionType as _0x31f732}from'./aiquickactionsui.js';import{getTranslation as _0xec38bb}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x296ca8{[_0x4a3f4d(0x181)](_0x176db4){const _0x37382f=_0x4a3f4d;switch(this[_0x37382f(0x159)](),_0x176db4[_0x37382f(0x191)]){case _0x31f732[_0x37382f(0x16c)]:if(!this[_0x37382f(0x18f)][_0x37382f(0x176)][_0x37382f(0x162)](_0x37382f(0x15b))){const _0x5f3de4=_0xec38bb(this[_0x37382f(0x18f)][_0x37382f(0x16a)],_0x37382f(0x172),_0x37382f(0x15b));throw new _0x3403b9(_0x37382f(0x182),this[_0x37382f(0x18f)],{'errorMessage':_0x5f3de4});}this[_0x37382f(0x16d)](_0x176db4);break;case _0x31f732[_0x37382f(0x177)]:if(!this[_0x37382f(0x18f)][_0x37382f(0x176)][_0x37382f(0x162)](_0x37382f(0x15a))){const _0x8dd6e7=_0xec38bb(this[_0x37382f(0x18f)][_0x37382f(0x16a)],_0x37382f(0x172),_0x37382f(0x15a));throw new _0x3403b9(_0x37382f(0x182),this[_0x37382f(0x18f)],{'errorMessage':_0x8dd6e7});}this[_0x37382f(0x17f)](_0x176db4);break;case _0x31f732[_0x37382f(0x161)]:if(!this[_0x37382f(0x18f)][_0x37382f(0x176)][_0x37382f(0x162)](_0x37382f(0x17c))){const _0x3c19de=_0xec38bb(this[_0x37382f(0x18f)][_0x37382f(0x16a)],_0x37382f(0x172),_0x37382f(0x17c));throw new _0x3403b9(_0x37382f(0x182),this[_0x37382f(0x18f)],{'errorMessage':_0x3c19de});}this[_0x37382f(0x18e)](_0x176db4);}}async[_0x4a3f4d(0x16d)](_0x2c787a){const _0x17bef7=_0x4a3f4d,_0x3b5917=this[_0x17bef7(0x18f)][_0x17bef7(0x176)][_0x17bef7(0x183)](_0x17bef7(0x15b)),_0x3aba3a=this[_0x17bef7(0x18f)][_0x17bef7(0x176)][_0x17bef7(0x183)](_0x17bef7(0x15f));if(this[_0x17bef7(0x18f)][_0x17bef7(0x176)][_0x17bef7(0x183)](_0x17bef7(0x188))[_0x17bef7(0x179)][_0x17bef7(0x15e)](_0x17bef7(0x18d)),_0x17bef7(0x18c)===_0x2c787a['id'])_0x3aba3a[_0x17bef7(0x192)](),await _0x3b5917[_0x17bef7(0x16b)](),_0x3b5917[_0x17bef7(0x166)]();else await _0x3b5917[_0x17bef7(0x158)](),_0x3aba3a[_0x17bef7(0x192)](),await _0x3b5917[_0x17bef7(0x16b)](),_0x3b5917[_0x17bef7(0x166)](),await _0x3b5917[_0x17bef7(0x174)]({'message':_0x2c787a[_0x17bef7(0x15d)]||_0x2c787a[_0x17bef7(0x164)],'quickActionData':{'id':_0x2c787a['id'],'displayedPrompt':_0x2c787a[_0x17bef7(0x164)]}});}[_0x4a3f4d(0x159)](){const _0x26b819=_0x4a3f4d,_0x46b4d7=this[_0x26b819(0x18f)],_0x33fde2=_0x46b4d7[_0x26b819(0x18a)][_0x26b819(0x16e)][_0x26b819(0x171)];if(!_0x33fde2[_0x26b819(0x180)])return;const _0x285c17=_0x1f0511(_0x33fde2[_0x26b819(0x17b)]())||_0x46b4d7[_0x26b819(0x18a)][_0x26b819(0x168)][_0x26b819(0x187)](_0x33fde2);_0x46b4d7[_0x26b819(0x18a)][_0x26b819(0x185)](_0x31bb72=>{const _0x21836b=_0x26b819;_0x31bb72[_0x21836b(0x186)](_0x285c17,'in');});}[_0x4a3f4d(0x163)](_0xcdcb32){const _0x3b530a=_0x4a3f4d;return _0xcdcb32[_0x3b530a(0x178)]?.[_0x3b530a(0x17a)]&&_0x3b530a(0x157)!==_0xcdcb32[_0x3b530a(0x178)]?.['id']?_0xcdcb32[_0x3b530a(0x178)][_0x3b530a(0x17a)]+':\x20'+_0xcdcb32[_0x3b530a(0x164)]:_0xcdcb32[_0x3b530a(0x164)];}async[_0x4a3f4d(0x17f)](_0x2d452b){const _0x12d54a=_0x4a3f4d,_0x3f2cbd=this[_0x12d54a(0x18f)][_0x12d54a(0x176)][_0x12d54a(0x183)](_0x12d54a(0x15a)),_0x198767=_0x2d452b[_0x12d54a(0x15d)]?{'userMessage':_0x2d452b[_0x12d54a(0x15d)],'model':_0x2d452b[_0x12d54a(0x18a)]}:{'actionName':_0x2d452b[_0x12d54a(0x170)]||_0x2d452b['id'],'args':_0x2d452b[_0x12d54a(0x169)]},_0x532c92=this[_0x12d54a(0x163)](_0x2d452b);await _0x3f2cbd[_0x12d54a(0x17d)](_0x198767,_0x532c92,_0x2d452b[_0x12d54a(0x160)]);}async[_0x4a3f4d(0x18e)](_0x16998d){const _0x14081d=_0x4a3f4d;console[_0x14081d(0x193)](_0x14081d(0x167),_0x16998d);}}function _0x5a4b(){const _0x60ba1d=['focusPromptInput','handleAIReviewAction','schema','args','locale','addSelectionToChatContext','CHAT','_handleAIChatAction','document','8011800zlewRE','actionName','selection','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','36sVuJWp','sendMessage','3572450luVVWt','plugins','ACTION','parent','view','label','getSelectedBlocks','AIReviewMode','executeAction','16QktZXx','_handleAIActionsAction','isCollapsed','execute','ai-quick-actions-plugin-not-found','get','5794311fCKWjZ','change','setSelection','getLimitElement','AITabs','1828822FxOlSa','model','1278532xBQEub','ask-ai','chat','_handleAIReviewAction','editor','116BDUypg','type','removeSelectionFromChatContext','log','other','startConversation','_expandSelectionIfCollapsed','AIActions','AIChat','1421110MmuKOf','prompt','activateTab','AIChatController','icon','REVIEW','has','_handleAIActionsActionLabel','displayedPrompt','168645RrGTAf'];_0x5a4b=function(){return _0x60ba1d;};return _0x5a4b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4cf6(){const _0xc60e4b=['isOfficialPlugin','6705480pFYVlJ','392amnqfL','1248982VGdsht','init','get','add','467013PMoGgT','model','editor','removeSelectionFromChatContext','has','pluginName','directChange','24VgMMqR','4wSsdRk','selection','AIQuickActionsEditing','AIChat','93663CbCRsT','585541pyRxit','commands','change:range','88DIWTER','document','4413852wxHeto','plugins','3060470PAIxGj','isPremiumPlugin','aiQuickAction'];_0x4cf6=function(){return _0xc60e4b;};return _0x4cf6();}const _0x4d8dbe=_0x4731;(function(_0x3ebd4d,_0x4a12ca){const _0x1e618e=_0x4731,_0x42340d=_0x3ebd4d();while(!![]){try{const _0xd0c400=-parseInt(_0x1e618e(0xb5))/0x1+parseInt(_0x1e618e(0xb0))/0x2*(parseInt(_0x1e618e(0xc6))/0x3)+parseInt(_0x1e618e(0xba))/0x4+-parseInt(_0x1e618e(0xc0))/0x5+-parseInt(_0x1e618e(0xaf))/0x6*(parseInt(_0x1e618e(0xc2))/0x7)+-parseInt(_0x1e618e(0xc1))/0x8*(parseInt(_0x1e618e(0xb4))/0x9)+parseInt(_0x1e618e(0xbc))/0xa*(parseInt(_0x1e618e(0xb8))/0xb);if(_0xd0c400===_0x4a12ca)break;else _0x42340d['push'](_0x42340d['shift']());}catch(_0x58afb8){_0x42340d['push'](_0x42340d['shift']());}}}(_0x4cf6,0xae0c1));function _0x4731(_0x26ea0c,_0x3ff887){const _0x4cf6c8=_0x4cf6();return _0x4731=function(_0x4731ad,_0x2c48de){_0x4731ad=_0x4731ad-0xad;let _0x2d4c43=_0x4cf6c8[_0x4731ad];return _0x2d4c43;},_0x4731(_0x26ea0c,_0x3ff887);}import{Plugin as _0x2de8ac}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x29e83e}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x2de8ac{static get[_0x4d8dbe(0xad)](){const _0x23f9a5=_0x4d8dbe;return _0x23f9a5(0xb2);}static get[_0x4d8dbe(0xbf)](){return!0x0;}static get[_0x4d8dbe(0xbd)](){return!0x0;}[_0x4d8dbe(0xc3)](){const _0x3e18fe=_0x4d8dbe,_0x3effb4=this[_0x3e18fe(0xc8)],_0x18a336=new _0x29e83e(this[_0x3e18fe(0xc8)]);if(_0x3effb4[_0x3e18fe(0xb6)][_0x3e18fe(0xc5)](_0x3e18fe(0xbe),_0x18a336),_0x3effb4[_0x3e18fe(0xbb)][_0x3e18fe(0xca)](_0x3e18fe(0xb3))){const _0x3690f0=this[_0x3e18fe(0xc8)][_0x3e18fe(0xbb)][_0x3e18fe(0xc4)](_0x3e18fe(0xb3));_0x3effb4[_0x3e18fe(0xc7)][_0x3e18fe(0xb9)][_0x3e18fe(0xb1)]['on'](_0x3e18fe(0xb7),(_0x55d704,_0xc04226)=>{const _0x1c9d55=_0x3e18fe;_0xc04226[_0x1c9d55(0xae)]&&_0x3690f0[_0x1c9d55(0xc9)]();});}}}
23
+ function _0x14cf(){const _0x301740=['isPremiumPlugin','commands','isOfficialPlugin','document','459756peTlSr','editor','3872fccfQy','17108HCpnkl','model','pluginName','directChange','removeSelectionFromChatContext','has','plugins','AIChat','19660tnxtRH','4397IsQKnf','selection','init','1702656tSBOMS','get','AIQuickActionsEditing','add','3191187eZwqxk','100VCCiMB','change:range','602EPvQoB','80eUZXLy','aiQuickAction','6203214tWhCAd'];_0x14cf=function(){return _0x301740;};return _0x14cf();}function _0x40f7(_0x4c8396,_0x48f52b){const _0x14cf9b=_0x14cf();return _0x40f7=function(_0x40f7ca,_0x37bcaf){_0x40f7ca=_0x40f7ca-0x169;let _0x4c1724=_0x14cf9b[_0x40f7ca];return _0x4c1724;},_0x40f7(_0x4c8396,_0x48f52b);}const _0x4ca67d=_0x40f7;(function(_0x44e2cf,_0x37fb75){const _0xd0686b=_0x40f7,_0x3a1547=_0x44e2cf();while(!![]){try{const _0x103a3f=-parseInt(_0xd0686b(0x185))/0x1*(-parseInt(_0xd0686b(0x171))/0x2)+-parseInt(_0xd0686b(0x16e))/0x3+-parseInt(_0xd0686b(0x16f))/0x4*(parseInt(_0xd0686b(0x184))/0x5)+parseInt(_0xd0686b(0x174))/0x6+parseInt(_0xd0686b(0x17c))/0x7*(parseInt(_0xd0686b(0x17b))/0x8)+parseInt(_0xd0686b(0x16a))/0x9*(-parseInt(_0xd0686b(0x172))/0xa)+parseInt(_0xd0686b(0x179))/0xb;if(_0x103a3f===_0x37fb75)break;else _0x3a1547['push'](_0x3a1547['shift']());}catch(_0x30725e){_0x3a1547['push'](_0x3a1547['shift']());}}}(_0x14cf,0xdd53d));import{Plugin as _0x2aa982}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x2358d4}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x2aa982{static get[_0x4ca67d(0x17e)](){const _0x25f83c=_0x4ca67d;return _0x25f83c(0x16c);}static get[_0x4ca67d(0x177)](){return!0x0;}static get[_0x4ca67d(0x175)](){return!0x0;}[_0x4ca67d(0x169)](){const _0x2aaeac=_0x4ca67d,_0x2a118c=this[_0x2aaeac(0x17a)],_0x100b44=new _0x2358d4(this[_0x2aaeac(0x17a)]);if(_0x2a118c[_0x2aaeac(0x176)][_0x2aaeac(0x16d)](_0x2aaeac(0x173),_0x100b44),_0x2a118c[_0x2aaeac(0x182)][_0x2aaeac(0x181)](_0x2aaeac(0x183))){const _0x6fbf92=this[_0x2aaeac(0x17a)][_0x2aaeac(0x182)][_0x2aaeac(0x16b)](_0x2aaeac(0x183));_0x2a118c[_0x2aaeac(0x17d)][_0x2aaeac(0x178)][_0x2aaeac(0x186)]['on'](_0x2aaeac(0x170),(_0x6d999b,_0x6d9f06)=>{const _0x43f93d=_0x2aaeac;_0x6d9f06[_0x43f93d(0x17f)]&&_0x6fbf92[_0x43f93d(0x180)]();});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x324abe=_0x4163;(function(_0x3cc483,_0x5f4be8){const _0xfc17e=_0x4163,_0x4a3c4d=_0x3cc483();while(!![]){try{const _0x361f75=parseInt(_0xfc17e(0x112))/0x1*(-parseInt(_0xfc17e(0xd5))/0x2)+-parseInt(_0xfc17e(0x160))/0x3*(parseInt(_0xfc17e(0xe1))/0x4)+parseInt(_0xfc17e(0x114))/0x5*(parseInt(_0xfc17e(0x135))/0x6)+parseInt(_0xfc17e(0xf2))/0x7+-parseInt(_0xfc17e(0x15e))/0x8*(parseInt(_0xfc17e(0x167))/0x9)+parseInt(_0xfc17e(0x156))/0xa*(-parseInt(_0xfc17e(0x14f))/0xb)+parseInt(_0xfc17e(0xfe))/0xc;if(_0x361f75===_0x5f4be8)break;else _0x4a3c4d['push'](_0x4a3c4d['shift']());}catch(_0x541283){_0x4a3c4d['push'](_0x4a3c4d['shift']());}}}(_0x39c1,0x97fe1));import{IconAIAdjustLength as _0x254508,IconAIAskAI as _0x24f731,IconAIChangeTone as _0x34ffa9,IconAIChatCommands as _0x212549,IconAIContinueWriting as _0x191889,IconAIGrammarCheck as _0xaef611,IconAIImproveWriting as _0x352611,IconAIOther as _0x44fdfa,IconAIQuickActions as _0x418ef1,IconAITranslate as _0x592dcc}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x12d320}from'ckeditor5/src/core.js';import{getTranslation as _0x3613a8}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x4e8e1f}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x14f495}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x2ca207,BalloonToolbar as _0x2e136d,MenuBarMenuView as _0x25c3ac,MenuBarMenuListView as _0x21ca6d,MenuBarMenuListItemView as _0x45325e,MenuBarMenuListItemButtonView as _0x4b630c}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Bt=_0x324abe(0x13f),Jt=_0x324abe(0x16d),Vt=_0x324abe(0xf0);export var AIQuickActionType;function _0x4163(_0x1daa07,_0x5b337a){const _0x39c1b3=_0x39c1();return _0x4163=function(_0x4163b7,_0x1c62bc){_0x4163b7=_0x4163b7-0xd4;let _0x3d23c1=_0x39c1b3[_0x4163b7];return _0x3d23c1;},_0x4163(_0x1daa07,_0x5b337a);}!function(_0x2d2b9d){const _0x45aabc=_0x324abe;_0x2d2b9d[_0x45aabc(0x117)]=_0x45aabc(0x117),_0x2d2b9d[_0x45aabc(0x111)]=_0x45aabc(0x111),_0x2d2b9d[_0x45aabc(0x140)]=_0x45aabc(0x140);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x21c663){const _0x55b327=_0x324abe;_0x21c663[_0x55b327(0x117)]=_0x55b327(0x11b),_0x21c663[_0x55b327(0x111)]=_0x55b327(0xe9),_0x21c663[_0x55b327(0x140)]=_0x55b327(0x120);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x39c1(){const _0xee24b3=['AI_QUICK_ACTIONS_TRANSLATE_FRENCH','DisplayNames','buttonView','make-tone-confident','pluginName','AI_QUICK_ACTIONS_EXPLAIN','translate-to-spanish','_executeQuickAction','AI_QUICK_ACTIONS_MORE_CONFIDENT','continue','1396NJAFBz','uiLanguage','get','add','language','close','has','make-tone-friendly','AIActions','make-shorter','children','ai.quickActions.removeCommands','portuguese','ai.quickActions.extraCommands','highlight-key-points','<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>','AIQuickActionsUI','5413737sdJgGF','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','_shouldIncludeAction','displayedPrompt','editor','make-tone-professional','AI_QUICK_ACTIONS_TRANSLATE','translate-to-chinese','make-longer','delegate','menuitem','aiQuickActions','23298828yegBDd','set','russian','aiQuickAction','other','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_CHAT_COMMANDS','menuBarView','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','init','locale','translate','isOfficialPlugin','AI_QUICK_ACTIONS_SUMMARIZE','isPremiumPlugin','_initializeQuickActionsDropdown','ACTION','7bVaYdK','filter','1637385RVRBoh','chat-commands','translate-to-italian','CHAT','_initializeQuickActionsComponents','translate-to-korean','AI_QUICK_ACTIONS_MAKE_SHORTER','AIChat','_prepareQuickActionsDefinition','panelView','focus','change-tone','AIReviewMode','translate-to-japanese','make-tone-casual','korean','improve-writing','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_HEADING','menu','length','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_ADJUST_LENGTH','spanish','AI_QUICK_ACTIONS_MORE_CASUAL','translate-to-english','values','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','summarize','translate-to-portuguese','label','12qQZzFG','_quickActionsDefinition','plugins','chinese','commands','menuBar:aiQuickActions','_initializeQuickActionsComponentsAndCommands','japanese','AI_QUICK_ACTIONS_MORE_FRIENDLY','execute','<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>','REVIEW','items','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','adjust-length','push','italian','find','map','config','attachToDom','AI_QUICK_ACTIONS_IMPROVE_WRITING','includes','type','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','componentFactory','55ooFtHP','AI_QUICK_ACTIONS_MAKE_LONGER','translate-to-russian','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','_initializeQuickActionsMenuBar','some','forEach','995050BzEQfx','explain','AI_QUICK_ACTIONS_ASK_AI','AI_QUICK_ACTIONS_OTHER','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','view','translate-to-german','requires','672ieQqsC','editing','7434rKLuvr','replace','fix-grammar','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','English','icon','getDefaultQuickActions','69219viEQnb','actions','german','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','make-tone-direct','ask-ai','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','french','211132WUuVXF','english'];_0x39c1=function(){return _0xee24b3;};return _0x39c1();}export class AIQuickActionsUI extends _0x12d320{static get[_0x324abe(0x15d)](){return[_0x2e136d];}static get[_0x324abe(0xdb)](){const _0x4aff2a=_0x324abe;return _0x4aff2a(0xf1);}static get[_0x324abe(0x10d)](){return!0x0;}static get[_0x324abe(0x10f)](){return!0x0;}[_0x324abe(0x10a)](){const _0x9d8f85=_0x324abe;this[_0x9d8f85(0x11c)](this[_0x9d8f85(0x12a)]()),this[_0x9d8f85(0x13b)]();}static[_0x324abe(0x166)](_0xeebc27){return function(_0x3d57ca){const _0x1baf8b=_0x4163,_0x5a0c35=new Intl[(_0x1baf8b(0xd8))](['en'],{'type':_0x1baf8b(0xe5)})['of'](_0x3d57ca[_0x1baf8b(0xe2)]),_0x5850fa=_0x5a0c35||_0x1baf8b(0x164),_0x5ac2a7=[{'id':_0x1baf8b(0x16c),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x158)),'type':AIQuickActionType[_0x1baf8b(0x117)],'icon':_0x24f731},{'id':_0x1baf8b(0x115),'label':_0x3613a8(_0x3d57ca,_0x1baf8b(0x105)),'icon':_0x212549,'actions':[{'id':_0x1baf8b(0x157),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0xdc)),'prompt':Bt[_0x1baf8b(0x161)]('%0',_0x5850fa),'type':AIQuickActionType[_0x1baf8b(0x117)]},{'id':_0x1baf8b(0x132),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x10e)),'prompt':Jt[_0x1baf8b(0x161)]('%0',_0x5850fa),'type':AIQuickActionType[_0x1baf8b(0x117)]},{'id':_0x1baf8b(0xef),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x15a)),'prompt':Vt[_0x1baf8b(0x161)]('%0',_0x5850fa),'type':AIQuickActionType[_0x1baf8b(0x117)]}]},{'id':_0x1baf8b(0x124),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x14a)),'type':AIQuickActionType[_0x1baf8b(0x111)],'icon':_0x352611},{'id':_0x1baf8b(0xe0),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x103)),'type':AIQuickActionType[_0x1baf8b(0x111)],'icon':_0x191889},{'id':_0x1baf8b(0x162),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0xf3)),'type':AIQuickActionType[_0x1baf8b(0x111)],'icon':_0xaef611},{'id':_0x1baf8b(0x143),'label':_0x3613a8(_0x3d57ca,_0x1baf8b(0x12c)),'icon':_0x254508,'actions':[{'id':_0x1baf8b(0xea),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x11a)),'type':AIQuickActionType[_0x1baf8b(0x111)]},{'id':_0x1baf8b(0xfa),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x150)),'type':AIQuickActionType[_0x1baf8b(0x111)]}]},{'id':_0x1baf8b(0x11f),'label':_0x3613a8(_0x3d57ca,_0x1baf8b(0x126)),'icon':_0x34ffa9,'actions':[{'id':_0x1baf8b(0x122),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x12e)),'type':AIQuickActionType[_0x1baf8b(0x111)]},{'id':_0x1baf8b(0x16b),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x104)),'type':AIQuickActionType[_0x1baf8b(0x111)]},{'id':_0x1baf8b(0xe8),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x13d)),'type':AIQuickActionType[_0x1baf8b(0x111)]},{'id':_0x1baf8b(0xda),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0xdf)),'type':AIQuickActionType[_0x1baf8b(0x111)]},{'id':_0x1baf8b(0xf7),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x125)),'type':AIQuickActionType[_0x1baf8b(0x111)]}]},{'id':_0x1baf8b(0x10c),'label':_0x3613a8(_0x3d57ca,_0x1baf8b(0xf8)),'icon':_0x592dcc,'actions':[{'id':_0x1baf8b(0x12f),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x152)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0xd6)}},{'id':_0x1baf8b(0xf9),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x12b)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x138)}},{'id':_0x1baf8b(0xdd),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x142)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x12d)}},{'id':_0x1baf8b(0x15c),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x131)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x169)}},{'id':_0x1baf8b(0x108),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0xd7)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0xd4)}},{'id':_0x1baf8b(0x121),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x14d)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x13c)}},{'id':_0x1baf8b(0x133),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x107)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0xed)}},{'id':_0x1baf8b(0x119),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x109)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x123)}},{'id':_0x1baf8b(0x116),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x16a)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x145)}},{'id':_0x1baf8b(0x151),'displayedPrompt':_0x3613a8(_0x3d57ca,_0x1baf8b(0x163)),'type':AIQuickActionType[_0x1baf8b(0x111)],'actionName':_0x1baf8b(0x10c),'args':{'language':_0x1baf8b(0x100)}}]},{'id':_0x1baf8b(0x102),'label':_0x3613a8(_0x3d57ca,_0x1baf8b(0x159)),'icon':_0x44fdfa,'actions':[]}];return _0x5ac2a7;}(_0xeebc27);}[_0x324abe(0x12a)](){const _0x7eede9=_0x324abe,_0x58e3ef=AIQuickActionsUI[_0x7eede9(0x166)](this[_0x7eede9(0xf6)][_0x7eede9(0x10b)]),_0x57b4e7=(this[_0x7eede9(0xf6)][_0x7eede9(0x148)][_0x7eede9(0xe3)](_0x7eede9(0xee))||[])[_0x7eede9(0x147)](_0x3412a6=>({..._0x3412a6,'icon':void 0x0}));return _0x58e3ef[_0x7eede9(0x146)](_0x32423b=>_0x7eede9(0x102)===_0x32423b['id'])[_0x7eede9(0x168)][_0x7eede9(0x144)](..._0x57b4e7),_0x58e3ef;}[_0x324abe(0x13b)](){const _0x44c5c1=_0x324abe,_0xc2f981=new _0x2ca207(this[_0x44c5c1(0xf6)][_0x44c5c1(0x10b)]);_0xc2f981[_0x44c5c1(0x149)](),this[_0x44c5c1(0x110)](_0xc2f981),this[_0x44c5c1(0x153)](),this[_0x44c5c1(0x118)](_0xc2f981);}[_0x324abe(0x110)](_0x228cce){const _0x7352c0=_0x324abe;this[_0x7352c0(0xf6)]['ui'][_0x7352c0(0x14e)][_0x7352c0(0xe4)](_0x7352c0(0xfd),_0x4e8e1f(this[_0x7352c0(0xf6)],this[_0x7352c0(0x136)],{'icon':_0x418ef1,'label':_0x3613a8(this[_0x7352c0(0xf6)][_0x7352c0(0x10b)],_0x7352c0(0x127))},_0x228cce));}[_0x324abe(0x11c)](_0xc7da15){const _0x54dd9a=_0x324abe;this[_0x54dd9a(0x136)]=_0xc7da15[_0x54dd9a(0x147)](_0x3d81fd=>{const _0x1a2ad0=_0x54dd9a;if(_0x1a2ad0(0x168)in _0x3d81fd){const _0x4231d4=_0x3d81fd;return{..._0x4231d4,'actions':_0x4231d4[_0x1a2ad0(0x168)][_0x1a2ad0(0x147)](_0xcbbdca=>{const {actions:_0x3de6bd,..._0x44a343}=_0x4231d4;return{..._0xcbbdca,'parent':_0x44a343};})[_0x1a2ad0(0x113)](_0x5583a6=>this[_0x1a2ad0(0xf4)](_0x5583a6))};}return _0x3d81fd;})[_0x54dd9a(0x113)](_0x41d3f7=>_0x54dd9a(0x168)in _0x41d3f7?_0x41d3f7[_0x54dd9a(0x168)][_0x54dd9a(0x129)]>0x0:this[_0x54dd9a(0xf4)](_0x41d3f7));}[_0x324abe(0xf4)](_0x35ffe7){const _0xf44fd9=_0x324abe,_0x144fef=this[_0xf44fd9(0xf6)][_0xf44fd9(0x148)][_0xf44fd9(0xe3)](_0xf44fd9(0xec))||[];return this[_0xf44fd9(0xf6)][_0xf44fd9(0x137)][_0xf44fd9(0xe7)](AIQuickActionTypeToPluginName[_0x35ffe7[_0xf44fd9(0x14c)]])&&!_0x144fef[_0xf44fd9(0x14b)](_0x35ffe7['id']);}[_0x324abe(0x118)](_0xe044f8){const _0x2dca1b=_0x324abe;this[_0x2dca1b(0x136)][_0x2dca1b(0x155)](_0x221711=>{const _0x22052e=_0x2dca1b;if(_0x22052e(0x168)in _0x221711){const _0x4dd335=_0x4e8e1f(this[_0x22052e(0xf6)],_0x221711[_0x22052e(0x168)],_0x221711,_0xe044f8);this[_0x22052e(0xf6)]['ui'][_0x22052e(0x14e)][_0x22052e(0xe4)](_0x221711['id'],_0x4dd335),_0x221711[_0x22052e(0x168)][_0x22052e(0x155)](_0x3447eb=>{const _0x39e97e=_0x22052e,_0x4a429c=_0x14f495(this[_0x39e97e(0xf6)],_0x3447eb);this[_0x39e97e(0xf6)]['ui'][_0x39e97e(0x14e)][_0x39e97e(0xe4)](_0x3447eb['id'],_0x4a429c);});}else{const _0x370cb7=_0x14f495(this[_0x22052e(0xf6)],_0x221711,!0x1,!0x0,!0x1);this[_0x22052e(0xf6)]['ui'][_0x22052e(0x14e)][_0x22052e(0xe4)](_0x221711['id'],_0x370cb7);}});}[_0x324abe(0x153)](){const _0x5b5c15=_0x324abe;this[_0x5b5c15(0xf6)]['ui'][_0x5b5c15(0x14e)][_0x5b5c15(0xe4)](_0x5b5c15(0x13a),_0x4889d9=>{const _0x40ec80=_0x5b5c15,_0x53c082=new _0x25c3ac(_0x4889d9),_0x2f4323=_0x3613a8(_0x4889d9,_0x40ec80(0x127));_0x53c082[_0x40ec80(0xd9)][_0x40ec80(0xff)]({'label':_0x2f4323,'icon':_0x418ef1});const _0x3d51ee=new _0x21ca6d(_0x4889d9);_0x3d51ee[_0x40ec80(0xff)]({'ariaLabel':_0x2f4323,'role':_0x40ec80(0x128)}),this[_0x40ec80(0x136)][_0x40ec80(0x155)](_0xc08101=>{const _0x2c8011=_0x40ec80;if(_0x2c8011(0x168)in _0xc08101){const _0x1f5203=_0xc08101,_0x390662=new _0x45325e(_0x4889d9,_0x53c082),_0x428055=new _0x25c3ac(_0x4889d9),_0x58db9d=new _0x21ca6d(_0x4889d9);_0x428055[_0x2c8011(0xd9)][_0x2c8011(0xff)]({'label':_0x1f5203[_0x2c8011(0x134)],'icon':_0x1f5203[_0x2c8011(0x165)]}),_0x1f5203[_0x2c8011(0x168)][_0x2c8011(0x155)](_0x4eab46=>{const _0x443d37=_0x2c8011,_0x36f758=new _0x45325e(_0x4889d9,_0x428055),_0x3ee9b0=new _0x4b630c(_0x4889d9);_0x3ee9b0[_0x443d37(0xff)]({'label':_0x4eab46[_0x443d37(0xf5)],'icon':_0x4eab46[_0x443d37(0x165)],'role':_0x443d37(0xfc)}),_0x3ee9b0['on'](_0x443d37(0x13e),()=>{const _0x489871=_0x443d37;this[_0x489871(0xde)](_0x4eab46);}),_0x3ee9b0[_0x443d37(0xfb)](_0x443d37(0x13e))['to'](_0x428055),_0x36f758[_0x443d37(0xeb)][_0x443d37(0xe4)](_0x3ee9b0),_0x58db9d[_0x443d37(0x141)][_0x443d37(0xe4)](_0x36f758);}),_0x428055[_0x2c8011(0x11d)][_0x2c8011(0xeb)][_0x2c8011(0xe4)](_0x58db9d),_0x390662[_0x2c8011(0xeb)][_0x2c8011(0xe4)](_0x428055),_0x3d51ee[_0x2c8011(0x141)][_0x2c8011(0xe4)](_0x390662);}else{const _0x810244=_0xc08101,_0x347202=new _0x45325e(_0x4889d9,_0x53c082),_0x5861f0=new _0x4b630c(_0x4889d9);_0x5861f0[_0x2c8011(0xff)]({'label':_0x810244[_0x2c8011(0xf5)],'icon':_0x810244[_0x2c8011(0x165)],'role':_0x2c8011(0xfc)}),_0x5861f0['on'](_0x2c8011(0x13e),()=>{const _0x452beb=_0x2c8011;this[_0x452beb(0xde)](_0x810244);}),_0x5861f0[_0x2c8011(0xfb)](_0x2c8011(0x13e))['to'](_0x53c082),_0x347202[_0x2c8011(0xeb)][_0x2c8011(0xe4)](_0x5861f0),_0x3d51ee[_0x2c8011(0x141)][_0x2c8011(0xe4)](_0x347202);}});const _0x54271c=Object[_0x40ec80(0x130)](AIQuickActionTypeToPluginName)[_0x40ec80(0x154)](_0x27a620=>this[_0x40ec80(0xf6)][_0x40ec80(0x137)][_0x40ec80(0xe7)](_0x27a620));return _0x53c082[_0x40ec80(0xff)]({'isEnabled':_0x54271c}),_0x53c082[_0x40ec80(0x11d)][_0x40ec80(0xeb)][_0x40ec80(0xe4)](_0x3d51ee),_0x53c082;});}[_0x324abe(0xde)](_0x2bd0cb){const _0x4ed14d=_0x324abe,_0x4410b1=this[_0x4ed14d(0xf6)];_0x4410b1[_0x4ed14d(0x15f)][_0x4ed14d(0x15b)][_0x4ed14d(0x11e)](),_0x4410b1[_0x4ed14d(0x139)][_0x4ed14d(0x13e)](_0x4ed14d(0x101),_0x2bd0cb);const _0x50e1b3=_0x4410b1['ui'][_0x4ed14d(0x15b)][_0x4ed14d(0x106)];_0x50e1b3&&_0x50e1b3[_0x4ed14d(0xe6)]&&_0x50e1b3[_0x4ed14d(0xe6)]();}}
23
+ const _0x2f4ed9=_0x1c2e;(function(_0x5e6e3a,_0x3ee4a5){const _0x5b882e=_0x1c2e,_0x585ad3=_0x5e6e3a();while(!![]){try{const _0x2dc84a=-parseInt(_0x5b882e(0xe7))/0x1*(-parseInt(_0x5b882e(0xa2))/0x2)+parseInt(_0x5b882e(0xd8))/0x3*(-parseInt(_0x5b882e(0x105))/0x4)+-parseInt(_0x5b882e(0x113))/0x5*(parseInt(_0x5b882e(0xc4))/0x6)+-parseInt(_0x5b882e(0x9c))/0x7+-parseInt(_0x5b882e(0x97))/0x8*(parseInt(_0x5b882e(0xf7))/0x9)+parseInt(_0x5b882e(0xac))/0xa+-parseInt(_0x5b882e(0xa1))/0xb*(-parseInt(_0x5b882e(0x100))/0xc);if(_0x2dc84a===_0x3ee4a5)break;else _0x585ad3['push'](_0x585ad3['shift']());}catch(_0x1ced32){_0x585ad3['push'](_0x585ad3['shift']());}}}(_0x4d5f,0x1a23b));function _0x4d5f(){const _0x5f506d=['AI_QUICK_ACTIONS_EXPLAIN','make-shorter','italian','label','ACTION','view','444AAyXAQ','actions','requires','explain','translate-to-japanese','menuitem','adjust-length','uiLanguage','_quickActionsDefinition','translate','highlight-key-points','ask-ai','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_CHANGE_TONE','editing','editor','chinese','AIActions','chat-commands','commands','12OsFoyA','AI_QUICK_ACTIONS_ASK_AI','russian','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','translate-to-spanish','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','other','AI_QUICK_ACTIONS_CHAT_COMMANDS','locale','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','menu','CHAT','improve-writing','make-tone-direct','513AWcUmq','_initializeQuickActionsMenuBar','make-tone-friendly','DisplayNames','portuguese','aiQuickAction','translate-to-portuguese','plugins','translate-to-italian','_getDefaultAndCustomActions','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_IMPROVE_WRITING','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','some','60444mEGqZu','REVIEW','translate-to-korean','spanish','<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>','includes','language','componentFactory','menuBar:aiQuickActions','158652QsvnoL','summarize','forEach','AI_QUICK_ACTIONS_MORE_CONFIDENT','japanese','4mkUlYz','<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>','values','AIQuickActionsUI','change-tone','get','type','french','English','AI_QUICK_ACTIONS_MAKE_LONGER','find','continue','icon','AI_QUICK_ACTIONS_HEADING','10755YhDrJh','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','map','execute','filter','AI_QUICK_ACTIONS_MORE_CASUAL','close','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','_initializeQuickActionsDropdown','AI_QUICK_ACTIONS_MORE_DIRECT','_shouldIncludeAction','translate-to-english','children','make-longer','panelView','AI_QUICK_ACTIONS_TRANSLATE','isOfficialPlugin','aiQuickActions','push','attachToDom','_executeQuickAction','replace','AI_QUICK_ACTIONS_ADJUST_LENGTH','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','displayedPrompt','korean','make-tone-confident','set','has','menuBarView','152dBJXxw','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','getDefaultQuickActions','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','278215OMPVAA','make-tone-professional','AIReviewMode','config','fix-grammar','121EinumU','504HNjrXn','translate-to-russian','AI_QUICK_ACTIONS_CONTINUE_WRITING','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','focus','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','1588870UvMklQ','AIChat','add','make-tone-casual','length','delegate','AI_QUICK_ACTIONS_OTHER','buttonView','translate-to-german','AI_QUICK_ACTIONS_SUMMARIZE','isPremiumPlugin','english','AI_QUICK_ACTIONS_MORE_FRIENDLY','items','pluginName','german','translate-to-chinese','init'];_0x4d5f=function(){return _0x5f506d;};return _0x4d5f();}import{IconAIAdjustLength as _0x29aa5b,IconAIChangeTone as _0x456d49,IconAIChatCommands as _0x33a7b3,IconAIContinueWriting as _0x301cad,IconAIGrammarCheck as _0x1fd95b,IconAIImproveWriting as _0xc01f03,IconAIOther as _0x44cfc9,IconAIQuickActions as _0x156c4a,IconAITranslate as _0x2dcebd}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x10f5a2}from'ckeditor5/src/core.js';import{getTranslation as _0x101f11}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x4e49e2}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x43aca8}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x1accff,BalloonToolbar as _0x480fb1,MenuBarMenuView as _0x2df7db,MenuBarMenuListView as _0x241a68,MenuBarMenuListItemView as _0x564c7c,MenuBarMenuListItemButtonView as _0x1e08c7}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const oe=_0x2f4ed9(0x90),ae=_0x2f4ed9(0xfb),se=_0x2f4ed9(0x106);export var AIQuickActionType;!function(_0x33c576){const _0x586ec4=_0x2f4ed9;_0x33c576[_0x586ec4(0xe4)]=_0x586ec4(0xe4),_0x33c576[_0x586ec4(0xc2)]=_0x586ec4(0xc2),_0x33c576[_0x586ec4(0xf8)]=_0x586ec4(0xf8);}(AIQuickActionType||(AIQuickActionType={}));function _0x1c2e(_0x1e7e03,_0x189dea){const _0x4d5f5c=_0x4d5f();return _0x1c2e=function(_0x1c2e1d,_0x3bb24b){_0x1c2e1d=_0x1c2e1d-0x7e;let _0x21b837=_0x4d5f5c[_0x1c2e1d];return _0x21b837;},_0x1c2e(_0x1e7e03,_0x189dea);}export var AIQuickActionTypeToPluginName;!function(_0x4b728c){const _0x250df9=_0x2f4ed9;_0x4b728c[_0x250df9(0xe4)]=_0x250df9(0xad),_0x4b728c[_0x250df9(0xc2)]=_0x250df9(0xd5),_0x4b728c[_0x250df9(0xf8)]=_0x250df9(0x9e);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x10f5a2{static get[_0x2f4ed9(0xc6)](){return[_0x480fb1];}static get[_0x2f4ed9(0xba)](){const _0x272cec=_0x2f4ed9;return _0x272cec(0x108);}static get[_0x2f4ed9(0x89)](){return!0x0;}static get[_0x2f4ed9(0xb6)](){return!0x0;}[_0x2f4ed9(0xbd)](){const _0x24df73=_0x2f4ed9;this[_0x24df73(0xf1)](this[_0x24df73(0xf0)]()),this[_0x24df73(0xa8)]();}static[_0x2f4ed9(0x99)](_0x382e8e){return function(_0xedabab){const _0x498d8c=_0x1c2e,_0x57dd63=new Intl[(_0x498d8c(0xea))](['en'],{'type':_0x498d8c(0xfd)})['of'](_0xedabab[_0x498d8c(0xcb)]),_0x56238b=_0x57dd63||_0x498d8c(0x10d),_0x53204a=[{'id':_0x498d8c(0xcf),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xd9)),'type':AIQuickActionType[_0x498d8c(0xe4)],'icon':_0x33a7b3},{'id':_0x498d8c(0xd6),'label':_0x101f11(_0xedabab,_0x498d8c(0xdf)),'icon':_0x33a7b3,'actions':[{'id':_0x498d8c(0xc7),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xbe)),'prompt':oe[_0x498d8c(0x8e)]('%0',_0x56238b),'type':AIQuickActionType[_0x498d8c(0xe4)]},{'id':_0x498d8c(0x101),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xb5)),'prompt':ae[_0x498d8c(0x8e)]('%0',_0x56238b),'type':AIQuickActionType[_0x498d8c(0xe4)]},{'id':_0x498d8c(0xce),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xe1)),'prompt':se[_0x498d8c(0x8e)]('%0',_0x56238b),'type':AIQuickActionType[_0x498d8c(0xe4)]}]},{'id':_0x498d8c(0xe5),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xf3)),'type':AIQuickActionType[_0x498d8c(0xc2)],'icon':_0xc01f03},{'id':_0x498d8c(0x110),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xa4)),'type':AIQuickActionType[_0x498d8c(0xc2)],'icon':_0x301cad},{'id':_0x498d8c(0xa0),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xa6)),'type':AIQuickActionType[_0x498d8c(0xc2)],'icon':_0x1fd95b},{'id':_0x498d8c(0xca),'label':_0x101f11(_0xedabab,_0x498d8c(0x8f)),'icon':_0x29aa5b,'actions':[{'id':_0x498d8c(0xbf),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xf2)),'type':AIQuickActionType[_0x498d8c(0xc2)]},{'id':_0x498d8c(0x86),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0x10e)),'type':AIQuickActionType[_0x498d8c(0xc2)]}]},{'id':_0x498d8c(0x109),'label':_0x101f11(_0xedabab,_0x498d8c(0xd1)),'icon':_0x456d49,'actions':[{'id':_0x498d8c(0xaf),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0x7e)),'type':AIQuickActionType[_0x498d8c(0xc2)]},{'id':_0x498d8c(0xe6),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0x82)),'type':AIQuickActionType[_0x498d8c(0xc2)]},{'id':_0x498d8c(0xe9),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xb8)),'type':AIQuickActionType[_0x498d8c(0xc2)]},{'id':_0x498d8c(0x93),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0x103)),'type':AIQuickActionType[_0x498d8c(0xc2)]},{'id':_0x498d8c(0x9d),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xe2)),'type':AIQuickActionType[_0x498d8c(0xc2)]}]},{'id':_0x498d8c(0xcd),'label':_0x101f11(_0xedabab,_0x498d8c(0x88)),'icon':_0x2dcebd,'actions':[{'id':_0x498d8c(0x84),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xab)),'type':AIQuickActionType[_0x498d8c(0xc2)],'actionName':_0x498d8c(0xcd),'args':{'language':_0x498d8c(0xb7)}},{'id':_0x498d8c(0xbc),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xf5)),'type':AIQuickActionType[_0x498d8c(0xc2)],'actionName':_0x498d8c(0xcd),'args':{'language':_0x498d8c(0xd4)}},{'id':_0x498d8c(0xdc),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0x9b)),'type':AIQuickActionType[_0x498d8c(0xc2)],'actionName':_0x498d8c(0xcd),'args':{'language':_0x498d8c(0xfa)}},{'id':_0x498d8c(0xb4),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0x80)),'type':AIQuickActionType[_0x498d8c(0xc2)],'actionName':_0x498d8c(0xcd),'args':{'language':_0x498d8c(0xbb)}},{'id':_0x498d8c(0xf4),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xdd)),'type':AIQuickActionType[_0x498d8c(0xc2)],'actionName':_0x498d8c(0xcd),'args':{'language':_0x498d8c(0x10c)}},{'id':_0x498d8c(0xc8),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xa9)),'type':AIQuickActionType[_0x498d8c(0xc2)],'actionName':_0x498d8c(0xcd),'args':{'language':_0x498d8c(0x104)}},{'id':_0x498d8c(0xed),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0x98)),'type':AIQuickActionType[_0x498d8c(0xc2)],'actionName':_0x498d8c(0xcd),'args':{'language':_0x498d8c(0xeb)}},{'id':_0x498d8c(0xf9),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xdb)),'type':AIQuickActionType[_0x498d8c(0xc2)],'actionName':_0x498d8c(0xcd),'args':{'language':_0x498d8c(0x92)}},{'id':_0x498d8c(0xef),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0xd0)),'type':AIQuickActionType[_0x498d8c(0xc2)],'actionName':_0x498d8c(0xcd),'args':{'language':_0x498d8c(0xc0)}},{'id':_0x498d8c(0xa3),'displayedPrompt':_0x101f11(_0xedabab,_0x498d8c(0x114)),'type':AIQuickActionType[_0x498d8c(0xc2)],'actionName':_0x498d8c(0xcd),'args':{'language':_0x498d8c(0xda)}}]},{'id':_0x498d8c(0xde),'label':_0x101f11(_0xedabab,_0x498d8c(0xb2)),'icon':_0x44cfc9,'actions':[]}];return _0x53204a;}(_0x382e8e);}[_0x2f4ed9(0xf0)](){const _0x8ccfb9=_0x2f4ed9,_0x7020f6=AIQuickActionsUI[_0x8ccfb9(0x99)](this[_0x8ccfb9(0xd3)][_0x8ccfb9(0xe0)]),_0x5977ad=(this[_0x8ccfb9(0xd3)][_0x8ccfb9(0x9f)][_0x8ccfb9(0x10a)](_0x8ccfb9(0xa5))||[])[_0x8ccfb9(0x115)](_0x9bbaa8=>({..._0x9bbaa8,'icon':void 0x0}));return _0x7020f6[_0x8ccfb9(0x10f)](_0x5d66a8=>_0x8ccfb9(0xde)===_0x5d66a8['id'])[_0x8ccfb9(0xc5)][_0x8ccfb9(0x8b)](..._0x5977ad),_0x7020f6;}[_0x2f4ed9(0xa8)](){const _0x10bd24=_0x2f4ed9,_0x22f5e8=new _0x1accff(this[_0x10bd24(0xd3)][_0x10bd24(0xe0)]);_0x22f5e8[_0x10bd24(0x8c)](),this[_0x10bd24(0x81)](_0x22f5e8),this[_0x10bd24(0xe8)](),this[_0x10bd24(0xaa)](_0x22f5e8);}[_0x2f4ed9(0x81)](_0x3ccb78){const _0x3675f2=_0x2f4ed9;this[_0x3675f2(0xd3)]['ui'][_0x3675f2(0xfe)][_0x3675f2(0xae)](_0x3675f2(0x8a),_0x4e49e2(this[_0x3675f2(0xd3)],this[_0x3675f2(0xcc)],{'icon':_0x156c4a,'label':_0x101f11(this[_0x3675f2(0xd3)][_0x3675f2(0xe0)],_0x3675f2(0x112))},_0x3ccb78));}[_0x2f4ed9(0xf1)](_0x3d17c3){const _0x17baeb=_0x2f4ed9;this[_0x17baeb(0xcc)]=_0x3d17c3[_0x17baeb(0x115)](_0x54747d=>{const _0x1ff0e0=_0x17baeb;if(_0x1ff0e0(0xc5)in _0x54747d){const _0x34ed2c=_0x54747d;return{..._0x34ed2c,'actions':_0x34ed2c[_0x1ff0e0(0xc5)][_0x1ff0e0(0x115)](_0x22e4c0=>{const {actions:_0x371931,..._0x17af09}=_0x34ed2c;return{..._0x22e4c0,'parent':_0x17af09};})[_0x1ff0e0(0x117)](_0x2ed2df=>this[_0x1ff0e0(0x83)](_0x2ed2df))};}return _0x54747d;})[_0x17baeb(0x117)](_0x28ebdb=>_0x17baeb(0xc5)in _0x28ebdb?_0x28ebdb[_0x17baeb(0xc5)][_0x17baeb(0xb0)]>0x0:this[_0x17baeb(0x83)](_0x28ebdb));}[_0x2f4ed9(0x83)](_0x3b20a0){const _0x5a54f3=_0x2f4ed9,_0x4668f1=this[_0x5a54f3(0xd3)][_0x5a54f3(0x9f)][_0x5a54f3(0x10a)](_0x5a54f3(0x9a))||[];return this[_0x5a54f3(0xd3)][_0x5a54f3(0xee)][_0x5a54f3(0x95)](AIQuickActionTypeToPluginName[_0x3b20a0[_0x5a54f3(0x10b)]])&&!_0x4668f1[_0x5a54f3(0xfc)](_0x3b20a0['id']);}[_0x2f4ed9(0xaa)](_0x3871a7){const _0x14c113=_0x2f4ed9;this[_0x14c113(0xcc)][_0x14c113(0x102)](_0x12478b=>{const _0x459a69=_0x14c113;if(_0x459a69(0xc5)in _0x12478b){const _0x463a4c=_0x4e49e2(this[_0x459a69(0xd3)],_0x12478b[_0x459a69(0xc5)],_0x12478b,_0x3871a7);this[_0x459a69(0xd3)]['ui'][_0x459a69(0xfe)][_0x459a69(0xae)](_0x12478b['id'],_0x463a4c),_0x12478b[_0x459a69(0xc5)][_0x459a69(0x102)](_0x5e4143=>{const _0x11f490=_0x459a69,_0x1df947=_0x43aca8(this[_0x11f490(0xd3)],_0x5e4143);this[_0x11f490(0xd3)]['ui'][_0x11f490(0xfe)][_0x11f490(0xae)](_0x5e4143['id'],_0x1df947);});}else{const _0x29d45c=_0x43aca8(this[_0x459a69(0xd3)],_0x12478b,!0x1,!0x0,!0x1);this[_0x459a69(0xd3)]['ui'][_0x459a69(0xfe)][_0x459a69(0xae)](_0x12478b['id'],_0x29d45c);}});}[_0x2f4ed9(0xe8)](){const _0x4d7ba0=_0x2f4ed9;this[_0x4d7ba0(0xd3)]['ui'][_0x4d7ba0(0xfe)][_0x4d7ba0(0xae)](_0x4d7ba0(0xff),_0x5af33c=>{const _0x428e76=_0x4d7ba0,_0x3d8800=new _0x2df7db(_0x5af33c),_0x1a478c=_0x101f11(_0x5af33c,_0x428e76(0x112));_0x3d8800[_0x428e76(0xb3)][_0x428e76(0x94)]({'label':_0x1a478c,'icon':_0x156c4a});const _0x24ae90=new _0x241a68(_0x5af33c);_0x24ae90[_0x428e76(0x94)]({'ariaLabel':_0x1a478c,'role':_0x428e76(0xe3)}),this[_0x428e76(0xcc)][_0x428e76(0x102)](_0x3d91a4=>{const _0x2e55ce=_0x428e76;if(_0x2e55ce(0xc5)in _0x3d91a4){const _0x10d8c9=_0x3d91a4,_0x4e7503=new _0x564c7c(_0x5af33c,_0x3d8800),_0x53bed1=new _0x2df7db(_0x5af33c),_0x42c9c9=new _0x241a68(_0x5af33c);_0x53bed1[_0x2e55ce(0xb3)][_0x2e55ce(0x94)]({'label':_0x10d8c9[_0x2e55ce(0xc1)],'icon':_0x10d8c9[_0x2e55ce(0x111)]}),_0x10d8c9[_0x2e55ce(0xc5)][_0x2e55ce(0x102)](_0x3d4821=>{const _0x299e91=_0x2e55ce,_0x282782=new _0x564c7c(_0x5af33c,_0x53bed1),_0x3ee566=new _0x1e08c7(_0x5af33c);_0x3ee566[_0x299e91(0x94)]({'label':_0x3d4821[_0x299e91(0x91)],'icon':_0x3d4821[_0x299e91(0x111)],'role':_0x299e91(0xc9)}),_0x3ee566['on'](_0x299e91(0x116),()=>{const _0x1594ce=_0x299e91;this[_0x1594ce(0x8d)](_0x3d4821);}),_0x3ee566[_0x299e91(0xb1)](_0x299e91(0x116))['to'](_0x53bed1),_0x282782[_0x299e91(0x85)][_0x299e91(0xae)](_0x3ee566),_0x42c9c9[_0x299e91(0xb9)][_0x299e91(0xae)](_0x282782);}),_0x53bed1[_0x2e55ce(0x87)][_0x2e55ce(0x85)][_0x2e55ce(0xae)](_0x42c9c9),_0x4e7503[_0x2e55ce(0x85)][_0x2e55ce(0xae)](_0x53bed1),_0x24ae90[_0x2e55ce(0xb9)][_0x2e55ce(0xae)](_0x4e7503);}else{const _0x2ba574=_0x3d91a4,_0xff1212=new _0x564c7c(_0x5af33c,_0x3d8800),_0x54a752=new _0x1e08c7(_0x5af33c);_0x54a752[_0x2e55ce(0x94)]({'label':_0x2ba574[_0x2e55ce(0x91)],'icon':_0x2ba574[_0x2e55ce(0x111)],'role':_0x2e55ce(0xc9)}),_0x54a752['on'](_0x2e55ce(0x116),()=>{const _0x3a9002=_0x2e55ce;this[_0x3a9002(0x8d)](_0x2ba574);}),_0x54a752[_0x2e55ce(0xb1)](_0x2e55ce(0x116))['to'](_0x3d8800),_0xff1212[_0x2e55ce(0x85)][_0x2e55ce(0xae)](_0x54a752),_0x24ae90[_0x2e55ce(0xb9)][_0x2e55ce(0xae)](_0xff1212);}});const _0x14604d=Object[_0x428e76(0x107)](AIQuickActionTypeToPluginName)[_0x428e76(0xf6)](_0x21d615=>this[_0x428e76(0xd3)][_0x428e76(0xee)][_0x428e76(0x95)](_0x21d615));return _0x3d8800[_0x428e76(0x94)]({'isEnabled':_0x14604d}),_0x3d8800[_0x428e76(0x87)][_0x428e76(0x85)][_0x428e76(0xae)](_0x24ae90),_0x3d8800;});}[_0x2f4ed9(0x8d)](_0x364afe){const _0x3ec24f=_0x2f4ed9,_0x39ff97=this[_0x3ec24f(0xd3)];_0x39ff97[_0x3ec24f(0xd2)][_0x3ec24f(0xc3)][_0x3ec24f(0xa7)](),_0x39ff97[_0x3ec24f(0xd7)][_0x3ec24f(0x116)](_0x3ec24f(0xec),_0x364afe);const _0x10a044=_0x39ff97['ui'][_0x3ec24f(0xc3)][_0x3ec24f(0x96)];_0x10a044&&_0x10a044[_0x3ec24f(0x7f)]&&_0x10a044[_0x3ec24f(0x7f)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x47a4f9,_0x49813f){const _0x1758cb=_0x5d0e,_0x13ba92=_0x47a4f9();while(!![]){try{const _0xb52799=-parseInt(_0x1758cb(0x164))/0x1+parseInt(_0x1758cb(0x154))/0x2+-parseInt(_0x1758cb(0x15d))/0x3+parseInt(_0x1758cb(0x156))/0x4*(parseInt(_0x1758cb(0x161))/0x5)+-parseInt(_0x1758cb(0x157))/0x6+parseInt(_0x1758cb(0x15a))/0x7*(parseInt(_0x1758cb(0x160))/0x8)+parseInt(_0x1758cb(0x15c))/0x9;if(_0xb52799===_0x49813f)break;else _0x13ba92['push'](_0x13ba92['shift']());}catch(_0xb40007){_0x13ba92['push'](_0x13ba92['shift']());}}}(_0x60c7,0xf40aa));function _0x60c7(){const _0x402f6c=['commands','ck-ai-quick-actions-button','2382604goGKTe','editing','16qAkwHN','1586208HcvPSl','view','icon','193193GwBfwX','locale','7250886JcjuDy','2144556hwBIjx','displayedPrompt','bindTemplate','64Iipgyi','926995KjuiIn','menuitem','set','980530ncEGGD','focus','aiQuickAction','parent','extendTemplate','execute'];_0x60c7=function(){return _0x402f6c;};return _0x60c7();}import{ButtonView as _0x4a0f04}from'ckeditor5/src/ui.js';function _0x5d0e(_0x2b3807,_0x5355ca){const _0x60c792=_0x60c7();return _0x5d0e=function(_0x5d0e7c,_0x52a52f){_0x5d0e7c=_0x5d0e7c-0x150;let _0x19fa82=_0x60c792[_0x5d0e7c];return _0x19fa82;},_0x5d0e(_0x2b3807,_0x5355ca);}import{IconAIQuickActions as _0x1306f4}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x246758,_0x513900,_0x39242a=!0x1,_0x2bdaea=!0x0,_0x303c56=!0x0){return()=>{const _0xaadaed=_0x5d0e,_0x289bb5=_0x246758[_0xaadaed(0x15b)],_0x1df24b=new _0x4a0f04(_0x289bb5),_0x5b569c=_0x1df24b[_0xaadaed(0x15f)];_0x303c56&&_0x1df24b[_0xaadaed(0x150)]({'on':{'mouseenter':_0x5b569c['to'](()=>{const _0x24deb3=_0xaadaed;_0x1df24b[_0x24deb3(0x165)]();})}});const _0x1010ed=_0x513900[_0xaadaed(0x159)]??_0x513900[_0xaadaed(0x167)]?.[_0xaadaed(0x159)];return _0x1df24b[_0xaadaed(0x163)]({'label':_0x513900[_0xaadaed(0x15e)],'withText':_0x39242a,'role':_0xaadaed(0x162),'icon':_0x2bdaea?_0x1010ed??_0x1306f4:void 0x0,'tooltip':!_0x39242a,'class':_0xaadaed(0x153)}),_0x1df24b['on'](_0xaadaed(0x151),()=>{const _0x7f0606=_0xaadaed;_0x246758[_0x7f0606(0x155)][_0x7f0606(0x158)][_0x7f0606(0x165)](),_0x246758[_0x7f0606(0x152)][_0x7f0606(0x151)](_0x7f0606(0x166),_0x513900);}),_0x1df24b;};}
23
+ (function(_0x2b929c,_0x3485bf){const _0x4d15f6=_0x119f,_0x292b70=_0x2b929c();while(!![]){try{const _0x4fd857=-parseInt(_0x4d15f6(0x193))/0x1+-parseInt(_0x4d15f6(0x190))/0x2*(parseInt(_0x4d15f6(0x198))/0x3)+-parseInt(_0x4d15f6(0x19c))/0x4*(-parseInt(_0x4d15f6(0x18c))/0x5)+parseInt(_0x4d15f6(0x191))/0x6*(-parseInt(_0x4d15f6(0x18f))/0x7)+parseInt(_0x4d15f6(0x1a3))/0x8+parseInt(_0x4d15f6(0x1a0))/0x9*(-parseInt(_0x4d15f6(0x1a6))/0xa)+parseInt(_0x4d15f6(0x19f))/0xb*(parseInt(_0x4d15f6(0x18d))/0xc);if(_0x4fd857===_0x3485bf)break;else _0x292b70['push'](_0x292b70['shift']());}catch(_0x2f62a7){_0x292b70['push'](_0x292b70['shift']());}}}(_0x337b,0xca71b));import{ButtonView as _0x493e1b}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x25d2fb}from'@ckeditor/ckeditor5-icons';function _0x337b(){const _0x19ff83=['menuitem','extendTemplate','1237494ahlmvV','bindTemplate','focus','execute','16DOLJwF','commands','icon','11UpGkEg','5162526YKcGHP','ck-ai-quick-actions-button','editing','494608TCDLlp','locale','parent','20xaOAgj','1395920CfkjJG','38473272EqUAeZ','displayedPrompt','7cVNMpi','4OyQlao','7730034TCOMNt','set','294894afMssI','aiQuickAction','view'];_0x337b=function(){return _0x19ff83;};return _0x337b();}function _0x119f(_0x59e9d6,_0x45aec4){const _0x337b1f=_0x337b();return _0x119f=function(_0x119fc5,_0x4ac6a9){_0x119fc5=_0x119fc5-0x18c;let _0x5d6368=_0x337b1f[_0x119fc5];return _0x5d6368;},_0x119f(_0x59e9d6,_0x45aec4);}export function aiQuickActionsButtonCreator(_0x32ef6d,_0x58996e,_0xadc15=!0x1,_0x3529a2=!0x0,_0xf0a8e1=!0x0){return()=>{const _0x14d6c1=_0x119f,_0x57b8ff=_0x32ef6d[_0x14d6c1(0x1a4)],_0x5c7cc8=new _0x493e1b(_0x57b8ff),_0xab6d46=_0x5c7cc8[_0x14d6c1(0x199)];_0xf0a8e1&&_0x5c7cc8[_0x14d6c1(0x197)]({'on':{'mouseenter':_0xab6d46['to'](()=>{const _0x3e7b96=_0x14d6c1;_0x5c7cc8[_0x3e7b96(0x19a)]();})}});const _0x3f12db=_0x58996e[_0x14d6c1(0x19e)]??_0x58996e[_0x14d6c1(0x1a5)]?.[_0x14d6c1(0x19e)];return _0x5c7cc8[_0x14d6c1(0x192)]({'label':_0x58996e[_0x14d6c1(0x18e)],'withText':_0xadc15,'role':_0x14d6c1(0x196),'icon':_0x3529a2?_0x3f12db??_0x25d2fb:void 0x0,'tooltip':!_0xadc15,'class':_0x14d6c1(0x1a1)}),_0x5c7cc8['on'](_0x14d6c1(0x19b),()=>{const _0x25ba7a=_0x14d6c1;_0x32ef6d[_0x25ba7a(0x1a2)][_0x25ba7a(0x195)][_0x25ba7a(0x19a)](),_0x32ef6d[_0x25ba7a(0x19d)][_0x25ba7a(0x19b)](_0x25ba7a(0x194),_0x58996e);}),_0x5c7cc8;};}