@ckeditor/ckeditor5-ai 47.0.0-alpha.9 → 47.1.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 (328) hide show
  1. package/build/ai.js +1 -1
  2. package/ckeditor5-metadata.json +9 -2
  3. package/dist/index-editor.css +119 -34
  4. package/dist/index.css +144 -35
  5. package/dist/index.js +4 -4
  6. package/dist/translations/af.js +1 -1
  7. package/dist/translations/af.umd.js +1 -1
  8. package/dist/translations/ar.js +1 -1
  9. package/dist/translations/ar.umd.js +1 -1
  10. package/dist/translations/ast.js +1 -1
  11. package/dist/translations/ast.umd.js +1 -1
  12. package/dist/translations/az.js +1 -1
  13. package/dist/translations/az.umd.js +1 -1
  14. package/dist/translations/be.js +1 -1
  15. package/dist/translations/be.umd.js +1 -1
  16. package/dist/translations/bg.js +1 -1
  17. package/dist/translations/bg.umd.js +1 -1
  18. package/dist/translations/bn.js +1 -1
  19. package/dist/translations/bn.umd.js +1 -1
  20. package/dist/translations/bs.js +1 -1
  21. package/dist/translations/bs.umd.js +1 -1
  22. package/dist/translations/ca.js +1 -1
  23. package/dist/translations/ca.umd.js +1 -1
  24. package/dist/translations/cs.js +1 -1
  25. package/dist/translations/cs.umd.js +1 -1
  26. package/dist/translations/da.js +1 -1
  27. package/dist/translations/da.umd.js +1 -1
  28. package/dist/translations/de-ch.js +1 -1
  29. package/dist/translations/de-ch.umd.js +1 -1
  30. package/dist/translations/de.js +1 -1
  31. package/dist/translations/de.umd.js +1 -1
  32. package/dist/translations/el.js +1 -1
  33. package/dist/translations/el.umd.js +1 -1
  34. package/dist/translations/en-au.js +1 -1
  35. package/dist/translations/en-au.umd.js +1 -1
  36. package/dist/translations/en-gb.js +1 -1
  37. package/dist/translations/en-gb.umd.js +1 -1
  38. package/dist/translations/en.js +1 -1
  39. package/dist/translations/en.umd.js +1 -1
  40. package/dist/translations/eo.js +1 -1
  41. package/dist/translations/eo.umd.js +1 -1
  42. package/dist/translations/es-co.js +1 -1
  43. package/dist/translations/es-co.umd.js +1 -1
  44. package/dist/translations/es.js +1 -1
  45. package/dist/translations/es.umd.js +1 -1
  46. package/dist/translations/et.js +1 -1
  47. package/dist/translations/et.umd.js +1 -1
  48. package/dist/translations/eu.js +1 -1
  49. package/dist/translations/eu.umd.js +1 -1
  50. package/dist/translations/fa.js +1 -1
  51. package/dist/translations/fa.umd.js +1 -1
  52. package/dist/translations/fi.js +1 -1
  53. package/dist/translations/fi.umd.js +1 -1
  54. package/dist/translations/fr.js +1 -1
  55. package/dist/translations/fr.umd.js +1 -1
  56. package/dist/translations/gl.js +1 -1
  57. package/dist/translations/gl.umd.js +1 -1
  58. package/dist/translations/gu.js +1 -1
  59. package/dist/translations/gu.umd.js +1 -1
  60. package/dist/translations/he.js +1 -1
  61. package/dist/translations/he.umd.js +1 -1
  62. package/dist/translations/hi.js +1 -1
  63. package/dist/translations/hi.umd.js +1 -1
  64. package/dist/translations/hr.js +1 -1
  65. package/dist/translations/hr.umd.js +1 -1
  66. package/dist/translations/hu.js +1 -1
  67. package/dist/translations/hu.umd.js +1 -1
  68. package/dist/translations/hy.js +1 -1
  69. package/dist/translations/hy.umd.js +1 -1
  70. package/dist/translations/id.js +1 -1
  71. package/dist/translations/id.umd.js +1 -1
  72. package/dist/translations/it.js +1 -1
  73. package/dist/translations/it.umd.js +1 -1
  74. package/dist/translations/ja.js +1 -1
  75. package/dist/translations/ja.umd.js +1 -1
  76. package/dist/translations/jv.js +1 -1
  77. package/dist/translations/jv.umd.js +1 -1
  78. package/dist/translations/kk.js +1 -1
  79. package/dist/translations/kk.umd.js +1 -1
  80. package/dist/translations/km.js +1 -1
  81. package/dist/translations/km.umd.js +1 -1
  82. package/dist/translations/kn.js +1 -1
  83. package/dist/translations/kn.umd.js +1 -1
  84. package/dist/translations/ko.js +1 -1
  85. package/dist/translations/ko.umd.js +1 -1
  86. package/dist/translations/ku.js +1 -1
  87. package/dist/translations/ku.umd.js +1 -1
  88. package/dist/translations/lt.js +1 -1
  89. package/dist/translations/lt.umd.js +1 -1
  90. package/dist/translations/lv.js +1 -1
  91. package/dist/translations/lv.umd.js +1 -1
  92. package/dist/translations/ms.js +1 -1
  93. package/dist/translations/ms.umd.js +1 -1
  94. package/dist/translations/nb.js +1 -1
  95. package/dist/translations/nb.umd.js +1 -1
  96. package/dist/translations/ne.js +1 -1
  97. package/dist/translations/ne.umd.js +1 -1
  98. package/dist/translations/nl.js +1 -1
  99. package/dist/translations/nl.umd.js +1 -1
  100. package/dist/translations/no.js +1 -1
  101. package/dist/translations/no.umd.js +1 -1
  102. package/dist/translations/oc.js +1 -1
  103. package/dist/translations/oc.umd.js +1 -1
  104. package/dist/translations/pl.js +1 -1
  105. package/dist/translations/pl.umd.js +1 -1
  106. package/dist/translations/pt-br.js +1 -1
  107. package/dist/translations/pt-br.umd.js +1 -1
  108. package/dist/translations/pt.js +1 -1
  109. package/dist/translations/pt.umd.js +1 -1
  110. package/dist/translations/ro.js +1 -1
  111. package/dist/translations/ro.umd.js +1 -1
  112. package/dist/translations/ru.js +1 -1
  113. package/dist/translations/ru.umd.js +1 -1
  114. package/dist/translations/si.js +1 -1
  115. package/dist/translations/si.umd.js +1 -1
  116. package/dist/translations/sk.js +1 -1
  117. package/dist/translations/sk.umd.js +1 -1
  118. package/dist/translations/sl.js +1 -1
  119. package/dist/translations/sl.umd.js +1 -1
  120. package/dist/translations/sq.js +1 -1
  121. package/dist/translations/sq.umd.js +1 -1
  122. package/dist/translations/sr-latn.js +1 -1
  123. package/dist/translations/sr-latn.umd.js +1 -1
  124. package/dist/translations/sr.js +1 -1
  125. package/dist/translations/sr.umd.js +1 -1
  126. package/dist/translations/sv.js +1 -1
  127. package/dist/translations/sv.umd.js +1 -1
  128. package/dist/translations/th.js +1 -1
  129. package/dist/translations/th.umd.js +1 -1
  130. package/dist/translations/ti.js +1 -1
  131. package/dist/translations/ti.umd.js +1 -1
  132. package/dist/translations/tk.js +1 -1
  133. package/dist/translations/tk.umd.js +1 -1
  134. package/dist/translations/tr.js +1 -1
  135. package/dist/translations/tr.umd.js +1 -1
  136. package/dist/translations/tt.js +1 -1
  137. package/dist/translations/tt.umd.js +1 -1
  138. package/dist/translations/ug.js +1 -1
  139. package/dist/translations/ug.umd.js +1 -1
  140. package/dist/translations/uk.js +1 -1
  141. package/dist/translations/uk.umd.js +1 -1
  142. package/dist/translations/ur.js +1 -1
  143. package/dist/translations/ur.umd.js +1 -1
  144. package/dist/translations/uz.js +1 -1
  145. package/dist/translations/uz.umd.js +1 -1
  146. package/dist/translations/vi.js +1 -1
  147. package/dist/translations/vi.umd.js +1 -1
  148. package/dist/translations/zh-cn.js +1 -1
  149. package/dist/translations/zh-cn.umd.js +1 -1
  150. package/dist/translations/zh.js +1 -1
  151. package/dist/translations/zh.umd.js +1 -1
  152. package/lang/contexts.json +5 -0
  153. package/package.json +15 -15
  154. package/src/aiactions/aiactions.js +1 -1
  155. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  156. package/src/aiactions/model/aiactionsreply.js +1 -1
  157. package/src/aiassistant/adapters/aiadapter.js +1 -1
  158. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  159. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  160. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  161. package/src/aiassistant/aiassistant.js +1 -1
  162. package/src/aiassistant/aiassistantediting.js +1 -1
  163. package/src/aiassistant/aiassistantui.js +1 -1
  164. package/src/aiassistant/legacyerrors.js +1 -1
  165. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  166. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  167. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  170. package/src/aiassistant/ui/form/aiformview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  172. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  173. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  174. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  175. package/src/aiassistant/utils/common-translations.js +1 -1
  176. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  177. package/src/aiballoon/aiballoon.js +1 -1
  178. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  179. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  180. package/src/aiballoon/ui/aiballoonview.js +1 -1
  181. package/src/aichat/aichat.d.ts +3 -3
  182. package/src/aichat/aichat.js +1 -1
  183. package/src/aichat/aichatcontroller.js +1 -1
  184. package/src/aichat/aichatui.d.ts +6 -0
  185. package/src/aichat/aichatui.js +1 -1
  186. package/src/aichat/model/aichatcontext.js +1 -1
  187. package/src/aichat/model/aichatconversation.d.ts +2 -4
  188. package/src/aichat/model/aichatconversation.js +1 -1
  189. package/src/aichat/model/aichatinteraction.js +1 -1
  190. package/src/aichat/model/aichatmodels.d.ts +11 -4
  191. package/src/aichat/model/aichatmodels.js +1 -1
  192. package/src/aichat/ui/aichatcontrolsview.d.ts +9 -0
  193. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  194. package/src/aichat/ui/aichatfeedview.js +1 -1
  195. package/src/aichat/ui/aichatheaderview.js +1 -1
  196. package/src/aichat/ui/aichatview.js +1 -1
  197. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  198. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  199. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  200. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  201. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  202. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  203. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  204. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  205. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  206. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  207. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  208. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  209. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  212. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  213. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  214. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  215. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  216. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  217. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  218. package/src/aichat/utils/eventnames.js +1 -1
  219. package/src/aichat/utils/promisequeue.js +1 -1
  220. package/src/aichat/utils/scrollmanager.js +1 -1
  221. package/src/aichathistory/aichathistory.js +1 -1
  222. package/src/aichathistory/aichathistorycontroller.js +1 -1
  223. package/src/aichathistory/aichathistoryui.js +1 -1
  224. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  225. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  226. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  227. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  228. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  229. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  230. package/src/aiconfig.d.ts +4 -0
  231. package/src/aicore/aiconnector.js +1 -1
  232. package/src/aicore/aiediting.js +1 -1
  233. package/src/aicore/model/aicapabilities.js +1 -1
  234. package/src/aicore/model/aicontext.js +1 -1
  235. package/src/aicore/model/aiinteraction.js +1 -1
  236. package/src/aicore/model/aireply.d.ts +1 -1
  237. package/src/aicore/model/aireply.js +1 -1
  238. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  239. package/src/aicore/pipeline/airesponseparser.js +2 -2
  240. package/src/aicore/ui/aidisclaimerview.js +1 -1
  241. package/src/aicore/ui/aiskeleton.js +1 -1
  242. package/src/aicore/ui/aispinner.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  247. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  248. package/src/aicore/utils/common-translations.js +1 -1
  249. package/src/aicore/utils/createresizebutton.js +1 -1
  250. package/src/aicore/utils/documentposition.js +1 -1
  251. package/src/aicore/utils/documentrange.js +1 -1
  252. package/src/aicore/utils/eventnames.js +1 -1
  253. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  254. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  255. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  256. package/src/aicore/utils/htmlparser.js +1 -1
  257. package/src/aicore/utils/htmlstreamer.js +1 -1
  258. package/src/aieditorintegration/aieditorintegration.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  260. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  261. package/src/aiquickactions/aiquickactions.d.ts +2 -1
  262. package/src/aiquickactions/aiquickactions.js +1 -1
  263. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  264. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  265. package/src/aiquickactions/aiquickactionsui.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +2 -1
  267. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  269. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  270. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  271. package/src/aireviewmode/aireviewmode.js +1 -1
  272. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  273. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  274. package/src/aireviewmode/aireviewmodeui.d.ts +3 -1
  275. package/src/aireviewmode/aireviewmodeui.js +1 -1
  276. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  277. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  278. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  279. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  280. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +6 -0
  281. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  282. package/src/aireviewmode/model/aireviewcheckrun.d.ts +31 -3
  283. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  284. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +1 -1
  285. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  286. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  287. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +5 -1
  288. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  289. package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +7 -5
  290. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  291. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +3 -0
  292. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  293. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +4 -0
  294. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  295. package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +27 -3
  296. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  297. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  298. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +13 -1
  299. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  300. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  301. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  302. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  303. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
  304. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  305. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  306. package/src/aitabs/aitabs.js +1 -1
  307. package/src/aitabs/aitabsmainview.d.ts +4 -0
  308. package/src/aitabs/aitabsmainview.js +1 -1
  309. package/src/aitabs/tabs/aitabsview.js +1 -1
  310. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  311. package/src/aitabs/tabs/tabpanelview.js +1 -1
  312. package/src/errors.d.ts +5 -0
  313. package/src/errors.js +23 -0
  314. package/src/index.js +1 -1
  315. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +4 -0
  316. package/theme/aichat/aichat-controls/model-unavailable-message.css +39 -0
  317. package/theme/aichat/aichat-controls.css +1 -0
  318. package/theme/aichat/aichat.css +0 -1
  319. package/theme/aichat/aichatfeed.css +9 -0
  320. package/theme/aichat/aisuggestioncontainer.css +7 -1
  321. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +4 -0
  322. package/theme/aireviewmode/aireviewmode-check-list.css +4 -0
  323. package/theme/aireviewmode/aireviewmode-check-run-result.css +25 -19
  324. package/theme/aireviewmode/aireviewmode-check-run.css +35 -7
  325. package/theme/aitabs/aitabsview.css +2 -2
  326. package/theme/aitabs/tabs/tabsview.css +13 -3
  327. package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +0 -16
  328. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x866354=_0x59f5;(function(_0x250353,_0x5737bc){const _0x4a0d63=_0x59f5,_0x3505eb=_0x250353();while(!![]){try{const _0x354461=-parseInt(_0x4a0d63(0x179))/0x1+parseInt(_0x4a0d63(0x1cc))/0x2*(parseInt(_0x4a0d63(0x155))/0x3)+-parseInt(_0x4a0d63(0x19a))/0x4+-parseInt(_0x4a0d63(0x164))/0x5+parseInt(_0x4a0d63(0x1b1))/0x6*(-parseInt(_0x4a0d63(0x1bd))/0x7)+-parseInt(_0x4a0d63(0x13e))/0x8*(-parseInt(_0x4a0d63(0x15f))/0x9)+parseInt(_0x4a0d63(0x1c7))/0xa*(parseInt(_0x4a0d63(0x167))/0xb);if(_0x354461===_0x5737bc)break;else _0x3505eb['push'](_0x3505eb['shift']());}catch(_0x1cbb69){_0x3505eb['push'](_0x3505eb['shift']());}}}(_0x1572,0x412c3));function _0x1572(){const _0x36a97f=['ai.reviewMode.translations','_currentReviewCheckRun','AIReviewModeUI','.ck-ai-review-mode__check-run-result','accepted','reviewCheckResultRejected','aborted','removeClass','source','changeId','reviewCheckRunUpdated','_aiConnector','AIReviewModeEditing','document','checks','requires','showReviewCheckList','replaceAll','_getTranslationWithDefault','totalCount','restart','_onDiffChange','closest','translate','330568aOAULJ','getTotalChangesCount','abort','message','setCheckResultTitle','stopListening','description','_changeActivationSource','ready','AI_REVIEW_CHECK_','upsertCustomAIReviewRating','map','applyChange','change','acceptChange','leaveReviewModeResultList','setActiveStateInResults','args','_DESCRIPTION','showChunkErrorView','diffContent','prompt','panel','3Mhwvlb','content','includes','_onReviewModeRunLeave','ck-ai-review-mode-highlights','_TITLE','contentNew','dismissChange','resetActiveStateInResults','_OPTIONS_LABEL','9PvOzHP','AIConnector','updateChangeState','aireviewmode-check-run-failed','markAllChangesAsAccepted','1806210MYpDon','markChangeAsRejected','hideChangeBalloon','33506JZNtWU','contentInitial','options','getChangeElement','reviewName','unmodified','processedResultsCount','showCheckRunResult','error-chunk','reviewCheckResultAccepted','custom','init','listenTo','changes','_aiReviewModeEditing','domElement','get','isCustom','298435bAAyZj','reviewCheckResultActivated','ck-ai-review-mode-diff','_logError','find','showNoChangesView','isPremiumPlugin','data','_aiReviewCheckList','finished','abortReviewStream','aireviewmode-no-current-check-run','_aiReviewModeUi','leaveReviewMode','title','getDocumentData','getReviewCheckList','showGeneralErrorView','context','view','documentData','rejectChange','editing','config','getCheckById','loading','getActiveChanges','markChangeAsAccepted','getMarkerElementForChange','start','reviewCheckResultReady','model','models','742428CMIyns','activateChange','switchToReadOnly','changeMarkerClick','ai-request-aborted','forceReadyState','reviewCheckResultAdded','length','isOfficialPlugin','upsertAIReviewRating','error-general','pluginName','getEditor','showReviewCompletedView','rejected','result','showCheckRunResults','status','locale','clearAllMarkers','isChangeActive','emitter','split','78sVRgKY','_OPTIONS_DATA_','runReviewCheck','_isDiffOn','AI_MODEL_DESCRIPTION_','setAvailableChecks','getAll','addClass','switchToEdit','deactivateChange','retryReview','callId','80857xFVNpZ','_updateRatings','_translateReviewChecks','toUpperCase','toggleDiff','aireviewmode-source-check-not-found','plugins','showChangeBalloon','showActionsWhenResultIsReady','params','3070ckvgMa','markChangePositionInEditorContent','label','AIReviewModeController','addResultChanges','571902UOGEYt','getRoot','getAcceptedChangesCount','reviewCheckResultDeactivated','finishReview','acceptAllChanges'];_0x1572=function(){return _0x36a97f;};return _0x1572();}import{ContextPlugin as _0x500dd6}from'ckeditor5/src/core.js';import{CKEditorError as _0x49c5f8,logError as _0x4955af,scrollAncestorsToShowTarget as _0x3d7e08,scrollViewportToShowTarget as _0x25eb98}from'ckeditor5/src/utils.js';import{AIConnector as _0x3aedd0}from'../aicore/aiconnector.js';function _0x59f5(_0x3c9dd7,_0x26e13b){const _0x1572e9=_0x1572();return _0x59f5=function(_0x59f53d,_0x113ddf){_0x59f53d=_0x59f53d-0x137;let _0xfc7141=_0x1572e9[_0x59f53d];return _0xfc7141;},_0x59f5(_0x3c9dd7,_0x26e13b);}import{AIReviewCheckList as _0x2b7ead}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x5ce461}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x454a48}from'./model/aireviewcustomcheckrun.js';import{AIReviewModels as _0x97e860}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0x2737ad}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x267b9d}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x500dd6{[_0x866354(0x1dd)];[_0x866354(0x185)];[_0x866354(0x175)];[_0x866354(0x181)];[_0x866354(0x1d3)];[_0x866354(0x1b4)]=!0x1;[_0x866354(0x145)]=null;static get[_0x866354(0x1e1)](){return[_0x3aedd0];}static get[_0x866354(0x1a5)](){const _0x3deef4=_0x866354;return _0x3deef4(0x1ca);}static get[_0x866354(0x1a2)](){return!0x0;}static get[_0x866354(0x17f)](){return!0x0;}async[_0x866354(0x172)](){const _0x4cafc4=_0x866354;this[_0x4cafc4(0x1dd)]=this[_0x4cafc4(0x18b)][_0x4cafc4(0x1c3)][_0x4cafc4(0x177)](_0x4cafc4(0x160)),this[_0x4cafc4(0x185)]=this[_0x4cafc4(0x18b)][_0x4cafc4(0x1c3)][_0x4cafc4(0x177)](_0x4cafc4(0x1d4)),this[_0x4cafc4(0x175)]=this[_0x4cafc4(0x18b)][_0x4cafc4(0x1c3)][_0x4cafc4(0x177)](_0x4cafc4(0x1de));const _0x469dbc=this[_0x4cafc4(0x18b)][_0x4cafc4(0x190)][_0x4cafc4(0x177)](_0x4cafc4(0x1d2));if(_0x469dbc){for(const _0x485488 of _0x2737ad)_0x4cafc4(0x13d)===_0x485488['id']&&(_0x485488[_0x4cafc4(0x169)][0x0][_0x4cafc4(0x180)]=_0x469dbc);}const _0x437d2a=this[_0x4cafc4(0x1bf)](_0x2737ad);this[_0x4cafc4(0x181)]=new _0x2b7ead(_0x437d2a);const _0x4a6e6b=this[_0x4cafc4(0x181)][_0x4cafc4(0x1e0)][_0x4cafc4(0x17d)](_0xb40d16=>_0x4cafc4(0x171)===_0xb40d16['id']);if(_0x4a6e6b){const _0x460eef=await new _0x97e860({'connector':this[_0x4cafc4(0x1dd)]})[_0x4cafc4(0x1b7)]();_0x4a6e6b[_0x4cafc4(0x199)]=_0x460eef[_0x4cafc4(0x149)](_0x464522=>({..._0x464522,'description':this[_0x4cafc4(0x138)](_0x4cafc4(0x1b5)+_0x464522['id'][_0x4cafc4(0x1c0)](),_0x464522[_0x4cafc4(0x144)])}));}this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x189),()=>{const _0x272175=_0x4cafc4;this[_0x272175(0x185)][_0x272175(0x1b6)](this[_0x272175(0x181)][_0x272175(0x1e0)]);}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x1b3),async(_0x4ca7cc,_0x3026cf)=>{const _0x487202=_0x4cafc4,_0x1d6a6a=this[_0x487202(0x181)][_0x487202(0x191)](_0x3026cf['id']);if(_0x1d6a6a){this[_0x487202(0x13b)](this[_0x487202(0x1b4)]),_0x3026cf[_0x487202(0x178)]?this[_0x487202(0x1d3)]=new _0x454a48(_0x3026cf[_0x487202(0x14f)][_0x487202(0x153)],_0x3026cf[_0x487202(0x14f)][_0x487202(0x198)],this[_0x487202(0x175)][_0x487202(0x188)](),_0x1d6a6a,this[_0x487202(0x1dd)]):this[_0x487202(0x1d3)]=new _0x5ce461(this[_0x487202(0x175)][_0x487202(0x188)](),_0x1d6a6a,this[_0x487202(0x1dd)],_0x3026cf[_0x487202(0x1c6)],_0x3026cf[_0x487202(0x14f)]),this[_0x487202(0x185)][_0x487202(0x142)](this[_0x487202(0x1d3)][_0x487202(0x187)]),this[_0x487202(0x1d3)]['on'](_0x487202(0x1dc),(_0x46b96b,_0x2f9eb2)=>{const _0x96a7c8=_0x487202;_0x96a7c8(0x180)===_0x2f9eb2[_0x96a7c8(0x1ab)]||_0x96a7c8(0x192)===_0x2f9eb2[_0x96a7c8(0x1ab)]?(this[_0x96a7c8(0x175)][_0x96a7c8(0x19c)](),this[_0x96a7c8(0x185)][_0x96a7c8(0x1aa)](_0x2f9eb2)):_0x96a7c8(0x182)===_0x2f9eb2[_0x96a7c8(0x1ab)]?this[_0x96a7c8(0x185)][_0x96a7c8(0x1a7)]():_0x96a7c8(0x146)===_0x2f9eb2[_0x96a7c8(0x1ab)]?this[_0x96a7c8(0x185)][_0x96a7c8(0x1c5)]():_0x96a7c8(0x16c)===_0x2f9eb2[_0x96a7c8(0x1ab)]?this[_0x96a7c8(0x185)][_0x96a7c8(0x17e)]():_0x96a7c8(0x1a4)===_0x2f9eb2[_0x96a7c8(0x1ab)]?this[_0x96a7c8(0x185)][_0x96a7c8(0x18a)]():_0x96a7c8(0x16f)===_0x2f9eb2[_0x96a7c8(0x1ab)]?this[_0x96a7c8(0x185)][_0x96a7c8(0x151)]():_0x96a7c8(0x1d8)===_0x2f9eb2[_0x96a7c8(0x1ab)]&&(this[_0x96a7c8(0x1d3)]&&this[_0x96a7c8(0x1d3)][_0x96a7c8(0x16d)]>0x0?setTimeout(()=>{const _0x4273ea=_0x96a7c8;this[_0x4273ea(0x1d3)]?.[_0x4273ea(0x19f)]();},0x0):this[_0x96a7c8(0x158)](!0x0));}),this[_0x487202(0x1d3)]['on'](_0x487202(0x1a0),(_0x7406a9,_0x41e784)=>{const _0x659106=_0x487202;if(!this[_0x659106(0x1d3)])throw new _0x49c5f8(_0x659106(0x184),this);const _0x4fce3f=this[_0x659106(0x175)][_0x659106(0x152)](_0x41e784[_0x659106(0x1a9)][_0x659106(0x168)],_0x41e784[_0x659106(0x1a9)][_0x659106(0x15b)]);_0x41e784[_0x659106(0x1da)][_0x659106(0x1cb)](_0x41e784[_0x659106(0x1a9)]['id'],_0x4fce3f);}),this[_0x487202(0x1d3)]['on'](_0x487202(0x197),(_0x5382f7,_0x44fc73)=>{const _0x6f2778=_0x487202;for(const _0x4ef2e7 of _0x44fc73[_0x6f2778(0x174)])this[_0x6f2778(0x185)][_0x6f2778(0x16e)](_0x4ef2e7);this[_0x6f2778(0x175)][_0x6f2778(0x1c8)](_0x44fc73[_0x6f2778(0x174)],_0x44fc73[_0x6f2778(0x1da)][_0x6f2778(0x18d)]);}),this[_0x487202(0x1d3)]['on'](_0x487202(0x170),(_0x43dbdf,_0x44b6a1)=>{const _0x5c5e11=_0x487202;this[_0x5c5e11(0x185)][_0x5c5e11(0x161)](_0x44b6a1[_0x5c5e11(0x14b)]['id'],_0x5c5e11(0x1d6));}),this[_0x487202(0x1d3)]['on'](_0x487202(0x1d7),(_0x46910d,_0x26051c)=>{const _0x174bb1=_0x487202;this[_0x174bb1(0x185)][_0x174bb1(0x161)](_0x26051c[_0x174bb1(0x14b)]['id'],_0x174bb1(0x1a8));}),this[_0x487202(0x1d3)]['on'](_0x487202(0x17a),(_0x111ec3,_0x51343a)=>{const _0x43f31d=_0x487202;this[_0x43f31d(0x185)][_0x43f31d(0x14e)](_0x51343a[_0x43f31d(0x14b)]['id']);const _0x37d051=this[_0x43f31d(0x175)][_0x43f31d(0x195)](_0x51343a[_0x43f31d(0x14b)]['id']);if(_0x37d051){if(_0x43f31d(0x156)===this[_0x43f31d(0x145)]){const _0x5a9a07=this[_0x43f31d(0x185)][_0x43f31d(0x16a)](_0x51343a[_0x43f31d(0x14b)]['id']);_0x5a9a07&&_0x3d7e08(_0x5a9a07[_0x43f31d(0x13c)](_0x43f31d(0x1d5))||_0x5a9a07);}else{if(_0x43f31d(0x154)===this[_0x43f31d(0x145)]){const _0x4430af={'target':_0x37d051[_0x43f31d(0x176)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x25eb98(_0x4430af);}}this[_0x43f31d(0x185)][_0x43f31d(0x1c4)](_0x51343a[_0x43f31d(0x14b)],_0x37d051[_0x43f31d(0x176)]);}}),this[_0x487202(0x1d3)]['on'](_0x487202(0x1cf),()=>{const _0x144b16=_0x487202;this[_0x144b16(0x185)][_0x144b16(0x15d)]();});try{await this[_0x487202(0x1d3)][_0x487202(0x196)]();}catch(_0x31dea4){_0x31dea4 instanceof Error&&_0x31dea4[_0x487202(0x141)][_0x487202(0x157)](_0x487202(0x19e))||(_0x31dea4 instanceof _0x49c5f8?this[_0x487202(0x17c)](_0x31dea4):this[_0x487202(0x17c)](new _0x49c5f8(_0x487202(0x162),this,{'error':_0x31dea4})));}}else this[_0x487202(0x17c)](new _0x49c5f8(_0x487202(0x1c2),this,{'checkId':_0x3026cf['id']}));}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x186),()=>{const _0x1c6cc1=_0x4cafc4;this[_0x1c6cc1(0x158)]();}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x14d),()=>{const _0x437156=_0x4cafc4;this[_0x437156(0x158)](!0x0);}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x183),()=>{const _0x3c6609=_0x4cafc4;this[_0x3c6609(0x1d3)]&&this[_0x3c6609(0x1d3)][_0x3c6609(0x140)]();}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x1d0),()=>{const _0xf68871=_0x4cafc4;this[_0xf68871(0x158)](!0x0);}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x1d1),()=>{const _0x34ef84=_0x4cafc4;if(!this[_0x34ef84(0x1d3)])return;const _0x4b3c6d=this[_0x34ef84(0x1d3)][_0x34ef84(0x193)]();_0x4b3c6d[_0x34ef84(0x1a1)]&&(this[_0x34ef84(0x175)][_0x34ef84(0x14a)](_0x4b3c6d[_0x34ef84(0x149)](_0x1bb48e=>_0x1bb48e['id'])),this[_0x34ef84(0x1d3)][_0x34ef84(0x163)](),this[_0x34ef84(0x1be)]());}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x14c),(_0x20c2ef,_0x482eb2)=>{const _0x5b133a=_0x4cafc4;if(!this[_0x5b133a(0x1d3)]||!this[_0x5b133a(0x1d3)][_0x5b133a(0x1ae)](_0x482eb2['id']))return;this[_0x5b133a(0x175)][_0x5b133a(0x14a)]([_0x482eb2['id']]),this[_0x5b133a(0x1d3)][_0x5b133a(0x194)](_0x482eb2['id']),this[_0x5b133a(0x185)][_0x5b133a(0x166)]();const _0x2981d8=_0x482eb2['id'][_0x5b133a(0x1b0)]('-');this[_0x5b133a(0x1be)](_0x2981d8[0x0]);}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x15c),(_0xc8890e,_0x1fa15c)=>{const _0x1f94d8=_0x4cafc4;if(!this[_0x1f94d8(0x1d3)]||!this[_0x1f94d8(0x1d3)][_0x1f94d8(0x1ae)](_0x1fa15c['id']))return;this[_0x1f94d8(0x175)][_0x1f94d8(0x18e)](_0x1fa15c['id']),this[_0x1f94d8(0x1d3)][_0x1f94d8(0x165)](_0x1fa15c['id']),this[_0x1f94d8(0x185)][_0x1f94d8(0x166)]();const _0x40739f=_0x1fa15c['id'][_0x1f94d8(0x1b0)]('-');this[_0x1f94d8(0x1be)](_0x40739f[0x0]);}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x1c1),(_0x4f882c,_0x51dbbb)=>{const _0x4b9200=_0x4cafc4;this[_0x4b9200(0x1b4)]=_0x51dbbb['on'],this[_0x4b9200(0x13b)](this[_0x4b9200(0x1b4)]);}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x1bb),async()=>{const _0x12002f=_0x4cafc4;this[_0x12002f(0x1d3)]&&await this[_0x12002f(0x1d3)][_0x12002f(0x13a)]();}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x19b),(_0x289d0c,_0x5c8fd7)=>{const _0x1b4e7a=_0x4cafc4;this[_0x1b4e7a(0x1d3)]&&(this[_0x1b4e7a(0x145)]=_0x1b4e7a(0x154),this[_0x1b4e7a(0x1d3)][_0x1b4e7a(0x19b)](_0x5c8fd7['id']));}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x185)],_0x4cafc4(0x1ba),()=>{const _0x256377=_0x4cafc4;this[_0x256377(0x1d3)]&&this[_0x256377(0x1d3)][_0x256377(0x1ba)]();}),this[_0x4cafc4(0x173)](this[_0x4cafc4(0x175)][_0x4cafc4(0x1af)],_0x4cafc4(0x19d),(_0x5d824a,_0x3b6eda)=>{const _0x2c61bc=_0x4cafc4;this[_0x2c61bc(0x1d3)]&&(this[_0x2c61bc(0x145)]=_0x2c61bc(0x156),this[_0x2c61bc(0x1d3)][_0x2c61bc(0x19b)](_0x3b6eda[_0x2c61bc(0x1db)]));});}[_0x866354(0x1be)](_0x1f3d4e){const _0x2b8652=_0x866354;if(!this[_0x2b8652(0x1d3)])return;const _0x3c37b={'positiveCount':this[_0x2b8652(0x1d3)][_0x2b8652(0x1ce)](),'totalCount':this[_0x2b8652(0x1d3)][_0x2b8652(0x13f)]()};if(0x0===_0x3c37b[_0x2b8652(0x139)])return;const _0x2941dd=this[_0x2b8652(0x1d3)][_0x2b8652(0x1bc)];if(this[_0x2b8652(0x1d3)]instanceof _0x5ce461){const _0x5c93eb=this[_0x2b8652(0x1d3)][_0x2b8652(0x16b)];this[_0x2b8652(0x1dd)][_0x2b8652(0x1a3)](_0x5c93eb,_0x2941dd,_0x3c37b,_0x1f3d4e);}else this[_0x2b8652(0x1d3)]instanceof _0x454a48&&this[_0x2b8652(0x1dd)][_0x2b8652(0x148)](_0x2941dd,_0x3c37b,_0x1f3d4e);}[_0x866354(0x158)](_0x4a2af2=!0x1){const _0x58af60=_0x866354;this[_0x58af60(0x1d3)]&&(this[_0x58af60(0x1be)](),this[_0x58af60(0x1d3)][_0x58af60(0x140)](),this[_0x58af60(0x1d3)][_0x58af60(0x143)](),this[_0x58af60(0x1d3)]=void 0x0),_0x4a2af2&&this[_0x58af60(0x185)][_0x58af60(0x1e2)](),this[_0x58af60(0x175)][_0x58af60(0x1ad)](),this[_0x58af60(0x175)][_0x58af60(0x1b9)](),this[_0x58af60(0x145)]=null;const _0x19d391=this[_0x58af60(0x175)][_0x58af60(0x1a6)]();_0x19d391&&_0x19d391[_0x58af60(0x18f)][_0x58af60(0x18c)][_0x58af60(0x14b)](_0x83af3e=>{const _0xb4c2a4=_0x58af60,_0x82aa7d=_0x19d391[_0xb4c2a4(0x18f)][_0xb4c2a4(0x18c)][_0xb4c2a4(0x1df)][_0xb4c2a4(0x1cd)]();_0x83af3e[_0xb4c2a4(0x1d9)](_0xb4c2a4(0x17b),_0x82aa7d),_0x83af3e[_0xb4c2a4(0x1d9)](_0xb4c2a4(0x159),_0x82aa7d);});}[_0x866354(0x13b)](_0x24f28f){const _0x2aa1b5=_0x866354,_0x5360d6=this[_0x2aa1b5(0x175)][_0x2aa1b5(0x1a6)]();_0x5360d6&&_0x5360d6[_0x2aa1b5(0x18f)][_0x2aa1b5(0x18c)][_0x2aa1b5(0x14b)](_0x18e481=>{const _0x2f4d04=_0x2aa1b5,_0x54ecbd=_0x5360d6[_0x2f4d04(0x18f)][_0x2f4d04(0x18c)][_0x2f4d04(0x1df)][_0x2f4d04(0x1cd)]();_0x18e481[_0x2f4d04(0x1d9)](_0x2f4d04(0x17b),_0x54ecbd),_0x18e481[_0x2f4d04(0x1d9)](_0x2f4d04(0x159),_0x54ecbd),_0x18e481[_0x2f4d04(0x1b8)](_0x24f28f?_0x2f4d04(0x17b):_0x2f4d04(0x159),_0x54ecbd);});}[_0x866354(0x1bf)](_0x4a65b5){const _0x4d8f5b=_0x866354;return _0x4a65b5[_0x4d8f5b(0x149)](_0x282edb=>{const _0x339197=_0x4d8f5b,_0xf86b8e=_0x339197(0x147)+_0x282edb['id'][_0x339197(0x1c0)]()[_0x339197(0x137)]('-','_'),_0x3a82a5={..._0x282edb,'title':this[_0x339197(0x138)](_0xf86b8e+_0x339197(0x15a),_0x282edb[_0x339197(0x187)]),'description':this[_0x339197(0x138)](_0xf86b8e+_0x339197(0x150),_0x282edb[_0x339197(0x144)])};return _0x282edb[_0x339197(0x169)]&&(_0x3a82a5[_0x339197(0x169)]=_0x282edb[_0x339197(0x169)][_0x339197(0x149)](_0x1d2595=>({..._0x1d2595,'label':this[_0x339197(0x138)](_0xf86b8e+_0x339197(0x15e),_0x1d2595[_0x339197(0x1c9)]||''),'data':_0x1d2595[_0x339197(0x180)]?_0x1d2595[_0x339197(0x180)][_0x339197(0x149)](_0x3ea5e4=>({..._0x3ea5e4,'label':this[_0x339197(0x138)](_0xf86b8e+_0x339197(0x1b2)+_0x3ea5e4['id'][_0x339197(0x1c0)](),_0x3ea5e4[_0x339197(0x1c9)])})):void 0x0}))),_0x3a82a5;});}[_0x866354(0x138)](_0x1f3933,_0x56a29a){const _0x11044f=_0x866354,_0x1b19b9=this[_0x11044f(0x18b)][_0x11044f(0x1ac)],_0x353938=_0x267b9d(_0x1b19b9,_0x1f3933);return _0x353938===_0x1f3933?_0x56a29a:_0x353938;}[_0x866354(0x17c)](_0x2a9a7b){const _0x1082c9=_0x866354;_0x4955af(_0x2a9a7b[_0x1082c9(0x141)]),this[_0x1082c9(0x185)][_0x1082c9(0x18a)]();}}
23
+ const _0x2748bb=_0x1224;(function(_0x4edaf8,_0x3a6c2d){const _0x2b8f5c=_0x1224,_0x1d69f9=_0x4edaf8();while(!![]){try{const _0x555bcd=parseInt(_0x2b8f5c(0x126))/0x1+parseInt(_0x2b8f5c(0x125))/0x2*(-parseInt(_0x2b8f5c(0xd7))/0x3)+parseInt(_0x2b8f5c(0xe4))/0x4+parseInt(_0x2b8f5c(0xe0))/0x5+parseInt(_0x2b8f5c(0x15d))/0x6+parseInt(_0x2b8f5c(0x13c))/0x7+-parseInt(_0x2b8f5c(0x109))/0x8*(parseInt(_0x2b8f5c(0x150))/0x9);if(_0x555bcd===_0x3a6c2d)break;else _0x1d69f9['push'](_0x1d69f9['shift']());}catch(_0x44b22a){_0x1d69f9['push'](_0x1d69f9['shift']());}}}(_0x4c74,0xf0212));import{ContextPlugin as _0x1a8b5f}from'ckeditor5/src/core.js';import{CKEditorError as _0x316ead,logError as _0x40ad5d,scrollAncestorsToShowTarget as _0x3fd812,scrollViewportToShowTarget as _0x4fedac}from'ckeditor5/src/utils.js';function _0x1224(_0x435ae4,_0x22d0de){const _0x4c7480=_0x4c74();return _0x1224=function(_0x1224e4,_0x20434c){_0x1224e4=_0x1224e4-0xd1;let _0x229324=_0x4c7480[_0x1224e4];return _0x229324;},_0x1224(_0x435ae4,_0x22d0de);}import{AIConnector as _0x9373e1}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x298c0d}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x46612c}from'./model/aireviewsystemcheckrun.js';function _0x4c74(){const _0x197a35=['showCheckRunResult','context','abortReviewStream','isOfficialPlugin','hideDiffInBalloon','reviewCheckResultReady','get','AI_MODEL_DESCRIPTION_','ai.reviewMode.translations','_aiConnector','init','find','getMarkerElementForChange','params','retryReview','_changeActivationSource','source','title','setAvailableChecks','13824168OKcfYA','switchToEdit','config','error-chunk','_TITLE','map','deactivateChange','content','AIReviewModeController','includes','sendRating','removeClass','reviewCheckRunUpdated','start','changeMarkerClick','isCustom','data','reviewCheckResultDeactivated','showDiffInBalloon','model','showReviewCompletedView','showNoChangesView','restart','view','showCheckRunResults','result','AIReviewModeUI','processedResultsCount','968XVZiYW','626065ScjaQg','changeId','getDocumentData','reviewCheckResultActivated','toggleDiff','replaceAll','activateChange','_aiReviewModeUi','AIReviewModeEditing','emitter','custom','getActiveChanges','acceptAllChanges','panel','ai-review-mode-check-run-failed','addClass','changes','unmodified','isPremiumPlugin','reviewCheckResultAdded','aborted','ck-ai-review-mode-highlights','5652290tWGRGU','getEditor','getRoot','setActiveStateInResults','updateChangeState','hasModifications','markAllChangesAsAccepted','loading','_DESCRIPTION','forceReadyState','_aiReviewModeEditing','getCheckById','getAll','_OPTIONS_DATA_','AI_REVIEW_CHECK_','locale','_isDiffOn','options','error-general','clearAllMarkers','9OUtXyP','acceptChange','label','leaveReviewMode','_currentReviewCheckRun','_OPTIONS_LABEL','diffContent','description','_onReviewModeRunLeave','markChangePositionInEditorContent','args','documentData','applyChange','7170oPjtdG','message','markChangeAsRejected','document','showActionsWhenResultIsReady','abort','ready','length','getChangeElement','_logError','showChunkErrorView','isChangeActive','setCheckResultTitle','translate','AIConnector','stopListening','status','pluginName','_getTranslationWithDefault','models','domElement','leaveReviewModeResultList','reviewCheckResultRejected','requires','subTitle','.ck-ai-review-mode__check-run-result','listenTo','finishReview','_translateReviewChecks','ai-review-mode-no-current-check-run','addResultChanges','finished','6027TsatQd','accepted','editing','ck-ai-review-mode-diff','contentInitial','checks','change','contentNew','showGeneralErrorView','3106410iquNJr','toUpperCase','prompt','rejected','6511740cRwcpA','showReviewCheckList','ai-request-aborted','resetActiveStateInResults','closest','switchToReadOnly','showChangeBalloon','runReviewCheck','_onDiffChange','reviewCheckResultAccepted','ai-review-mode-source-check-not-found','markChangeAsAccepted','getReviewCheckList','rejectChange','_aiReviewCheckList','plugins','dismissChange','hideChangeBalloon'];_0x4c74=function(){return _0x197a35;};return _0x4c74();}import{AIReviewCustomCheckRun as _0x3589b4}from'./model/aireviewcustomcheckrun.js';import{AIReviewModels as _0x512e68}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0x38c917}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x289bd0}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x1a8b5f{[_0x2748bb(0xff)];[_0x2748bb(0x12d)];[_0x2748bb(0x146)];[_0x2748bb(0xf2)];[_0x2748bb(0x154)];[_0x2748bb(0x14c)]=!0x1;[_0x2748bb(0x105)]=null;static get[_0x2748bb(0x174)](){return[_0x9373e1];}static get[_0x2748bb(0x16e)](){const _0x400662=_0x2748bb;return _0x400662(0x111);}static get[_0x2748bb(0xf9)](){return!0x0;}static get[_0x2748bb(0x138)](){return!0x0;}async[_0x2748bb(0x100)](){const _0x409734=_0x2748bb;this[_0x409734(0xff)]=this[_0x409734(0xf7)][_0x409734(0xf3)][_0x409734(0xfc)](_0x409734(0x16b)),this[_0x409734(0x12d)]=this[_0x409734(0xf7)][_0x409734(0xf3)][_0x409734(0xfc)](_0x409734(0x123)),this[_0x409734(0x146)]=this[_0x409734(0xf7)][_0x409734(0xf3)][_0x409734(0xfc)](_0x409734(0x12e));const _0x1214ab=this[_0x409734(0xf7)][_0x409734(0x10b)][_0x409734(0xfc)](_0x409734(0xfe));if(_0x1214ab){for(const _0x403a8a of _0x38c917)_0x409734(0x16a)===_0x403a8a['id']&&(_0x403a8a[_0x409734(0x14d)][0x0][_0x409734(0x119)]=_0x1214ab);}const _0x590b17=this[_0x409734(0xd3)](_0x38c917);this[_0x409734(0xf2)]=new _0x298c0d(_0x590b17);const _0x334303=this[_0x409734(0xf2)][_0x409734(0xdc)][_0x409734(0x101)](_0x510788=>_0x409734(0x130)===_0x510788['id']);if(_0x334303){const _0x13f04a=await new _0x512e68({'connector':this[_0x409734(0xff)]})[_0x409734(0x148)]();_0x334303[_0x409734(0x170)]=_0x13f04a[_0x409734(0x10e)](_0x130db4=>({..._0x130db4,'description':this[_0x409734(0x16f)](_0x409734(0xfd)+_0x130db4['id'][_0x409734(0xe1)](),_0x130db4[_0x409734(0x157)])}));}this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0xf0),()=>{const _0x5dde77=_0x409734;this[_0x5dde77(0x12d)][_0x5dde77(0x108)](this[_0x5dde77(0xf2)][_0x5dde77(0xdc)]);}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0xeb),async(_0x4a1507,_0x5a17cd)=>{const _0x2833ca=_0x409734,_0x5d7b03=this[_0x2833ca(0xf2)][_0x2833ca(0x147)](_0x5a17cd['id']);if(_0x5d7b03){this[_0x2833ca(0xec)](this[_0x2833ca(0x14c)]),_0x5a17cd[_0x2833ca(0x118)]?this[_0x2833ca(0x154)]=new _0x3589b4(_0x5a17cd[_0x2833ca(0x15a)][_0x2833ca(0xe2)],_0x5a17cd[_0x2833ca(0x15a)][_0x2833ca(0x11c)],this[_0x2833ca(0x146)][_0x2833ca(0x128)](),_0x5d7b03,this[_0x2833ca(0xff)]):this[_0x2833ca(0x154)]=new _0x46612c(this[_0x2833ca(0x146)][_0x2833ca(0x128)](),_0x5d7b03,this[_0x2833ca(0xff)],_0x5a17cd[_0x2833ca(0x103)],_0x5a17cd[_0x2833ca(0x15a)]),this[_0x2833ca(0x12d)][_0x2833ca(0x169)](this[_0x2833ca(0x154)][_0x2833ca(0x107)],this[_0x2833ca(0x154)][_0x2833ca(0x175)]),this[_0x2833ca(0x154)]['on'](_0x2833ca(0x115),(_0x1387ff,_0x4d7c1c)=>{const _0x554302=_0x2833ca;_0x554302(0x119)===_0x4d7c1c[_0x554302(0x16d)]||_0x554302(0x143)===_0x4d7c1c[_0x554302(0x16d)]?(this[_0x554302(0x146)][_0x554302(0xe9)](),this[_0x554302(0x12d)][_0x554302(0x121)](_0x4d7c1c)):_0x554302(0xd6)===_0x4d7c1c[_0x554302(0x16d)]?this[_0x554302(0x12d)][_0x554302(0x11d)]():_0x554302(0x163)===_0x4d7c1c[_0x554302(0x16d)]?this[_0x554302(0x12d)][_0x554302(0x161)]():_0x554302(0x137)===_0x4d7c1c[_0x554302(0x16d)]?this[_0x554302(0x12d)][_0x554302(0x11e)]():_0x554302(0x14e)===_0x4d7c1c[_0x554302(0x16d)]?this[_0x554302(0x12d)][_0x554302(0xdf)]():_0x554302(0x10c)===_0x4d7c1c[_0x554302(0x16d)]?this[_0x554302(0x12d)][_0x554302(0x167)]():_0x554302(0x13a)===_0x4d7c1c[_0x554302(0x16d)]&&(this[_0x554302(0x154)]&&this[_0x554302(0x154)][_0x554302(0x124)]>0x0?setTimeout(()=>{const _0x139d18=_0x554302;this[_0x139d18(0x154)]?.[_0x139d18(0x145)]();},0x0):this[_0x554302(0x158)](!0x0)),_0x554302(0x163)!==_0x4d7c1c[_0x554302(0x16d)]&&_0x554302(0x10c)!==_0x4d7c1c[_0x554302(0x16d)]&&_0x554302(0x14e)!==_0x4d7c1c[_0x554302(0x16d)]||this[_0x554302(0x154)]?.[_0x554302(0x113)]();}),this[_0x2833ca(0x154)]['on'](_0x2833ca(0x139),(_0x28913e,_0x361474)=>{const _0x37f2d2=_0x2833ca;if(!this[_0x37f2d2(0x154)])throw new _0x316ead(_0x37f2d2(0xd4),this);const _0x1aea3b=this[_0x37f2d2(0x146)][_0x37f2d2(0x156)](_0x361474[_0x37f2d2(0x122)][_0x37f2d2(0xdb)],_0x361474[_0x37f2d2(0x122)][_0x37f2d2(0xde)]);_0x361474[_0x37f2d2(0x106)][_0x37f2d2(0xd5)](_0x361474[_0x37f2d2(0x122)]['id'],_0x1aea3b);}),this[_0x2833ca(0x154)]['on'](_0x2833ca(0xfb),(_0x184a1b,_0x26114b)=>{const _0x7017e2=_0x2833ca;for(const _0x13acd2 of _0x26114b[_0x7017e2(0x136)])this[_0x7017e2(0x12d)][_0x7017e2(0xf6)](_0x13acd2);this[_0x7017e2(0x146)][_0x7017e2(0x159)](_0x26114b[_0x7017e2(0x136)],_0x26114b[_0x7017e2(0x106)][_0x7017e2(0x15b)]);}),this[_0x2833ca(0x154)]['on'](_0x2833ca(0xed),(_0x34979b,_0x37cf7c)=>{const _0x4ba84c=_0x2833ca;this[_0x4ba84c(0x12d)][_0x4ba84c(0x140)](_0x37cf7c[_0x4ba84c(0xdd)]['id'],_0x4ba84c(0xd8));}),this[_0x2833ca(0x154)]['on'](_0x2833ca(0x173),(_0x5bad9b,_0x5bc37b)=>{const _0x339bce=_0x2833ca;this[_0x339bce(0x12d)][_0x339bce(0x140)](_0x5bc37b[_0x339bce(0xdd)]['id'],_0x339bce(0xe3));}),this[_0x2833ca(0x154)]['on'](_0x2833ca(0x129),(_0x4682e3,_0x3fcdb3)=>{const _0x22cf85=_0x2833ca;this[_0x22cf85(0x12d)][_0x22cf85(0x13f)](_0x3fcdb3[_0x22cf85(0xdd)]['id']);const _0x34fc13=this[_0x22cf85(0x146)][_0x22cf85(0x102)](_0x3fcdb3[_0x22cf85(0xdd)]['id']);if(_0x34fc13){if(_0x22cf85(0x110)===this[_0x22cf85(0x105)]){const _0x2327e9=this[_0x22cf85(0x12d)][_0x22cf85(0x165)](_0x3fcdb3[_0x22cf85(0xdd)]['id']);_0x2327e9&&_0x3fd812(_0x2327e9[_0x22cf85(0xe8)](_0x22cf85(0x176))||_0x2327e9);}else{if(_0x22cf85(0x133)===this[_0x22cf85(0x105)]){const _0x108d1c={'target':_0x34fc13[_0x22cf85(0x171)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x4fedac(_0x108d1c);}}this[_0x22cf85(0x12d)][_0x22cf85(0xea)](_0x3fcdb3[_0x22cf85(0xdd)],_0x34fc13[_0x22cf85(0x171)]);}}),this[_0x2833ca(0x154)]['on'](_0x2833ca(0x11a),()=>{const _0x5932dd=_0x2833ca;this[_0x5932dd(0x12d)][_0x5932dd(0xe7)]();});try{await this[_0x2833ca(0x154)][_0x2833ca(0x116)]();}catch(_0x3d13fd){_0x3d13fd instanceof Error&&_0x3d13fd[_0x2833ca(0x15e)][_0x2833ca(0x112)](_0x2833ca(0xe6))||(_0x3d13fd instanceof _0x316ead?this[_0x2833ca(0x166)](_0x3d13fd):this[_0x2833ca(0x166)](new _0x316ead(_0x2833ca(0x134),this,{'error':_0x3d13fd})));}}else this[_0x2833ca(0x166)](new _0x316ead(_0x2833ca(0xee),this,{'checkId':_0x5a17cd['id']}));}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0x153),()=>{const _0x5767be=_0x409734;this[_0x5767be(0x158)]();}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0x172),()=>{const _0x3e29c4=_0x409734;this[_0x3e29c4(0x158)](!0x0);}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0xf8),()=>{const _0x339cab=_0x409734;this[_0x339cab(0x154)]&&this[_0x339cab(0x154)][_0x339cab(0x162)]();}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0xd2),()=>{const _0x66ba6=_0x409734;this[_0x66ba6(0x158)](!0x0);}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0x132),()=>{const _0x5cfb6e=_0x409734;if(!this[_0x5cfb6e(0x154)])return;const _0x48b891=this[_0x5cfb6e(0x154)][_0x5cfb6e(0x131)]();_0x48b891[_0x5cfb6e(0x164)]&&(this[_0x5cfb6e(0x146)][_0x5cfb6e(0x15c)](_0x48b891[_0x5cfb6e(0x10e)](_0x3d0b20=>_0x3d0b20['id'])),this[_0x5cfb6e(0x154)][_0x5cfb6e(0x142)](),this[_0x5cfb6e(0x154)][_0x5cfb6e(0x113)]());}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0x151),(_0xadee5f,_0x1232dd)=>{const _0x2d11dd=_0x409734;this[_0x2d11dd(0x154)]&&this[_0x2d11dd(0x154)][_0x2d11dd(0x168)](_0x1232dd['id'])&&(this[_0x2d11dd(0x146)][_0x2d11dd(0x15c)]([_0x1232dd['id']]),this[_0x2d11dd(0x154)][_0x2d11dd(0xef)](_0x1232dd['id']),this[_0x2d11dd(0x12d)][_0x2d11dd(0xf5)](),this[_0x2d11dd(0x154)][_0x2d11dd(0x113)](_0x1232dd['id']));}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0xf4),(_0x4872f3,_0x2cf149)=>{const _0x581dba=_0x409734;this[_0x581dba(0x154)]&&this[_0x581dba(0x154)][_0x581dba(0x168)](_0x2cf149['id'])&&(this[_0x581dba(0x146)][_0x581dba(0xf1)](_0x2cf149['id']),this[_0x581dba(0x154)][_0x581dba(0x15f)](_0x2cf149['id']),this[_0x581dba(0x12d)][_0x581dba(0xf5)](),this[_0x581dba(0x154)][_0x581dba(0x113)](_0x2cf149['id']));}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0x12a),(_0x57394a,_0x8ce857)=>{const _0x3cbe40=_0x409734;this[_0x3cbe40(0x14c)]=_0x8ce857['on'],this[_0x3cbe40(0xec)](this[_0x3cbe40(0x14c)]);}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0x104),async()=>{const _0x17cc87=_0x409734;this[_0x17cc87(0x154)]&&await this[_0x17cc87(0x154)][_0x17cc87(0x11f)]();}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0x12c),(_0x302fcf,_0x28be97)=>{const _0x1c270e=_0x409734;this[_0x1c270e(0x154)]&&(this[_0x1c270e(0x105)]=_0x1c270e(0x133),this[_0x1c270e(0x154)][_0x1c270e(0x12c)](_0x28be97['id']));}),this[_0x409734(0xd1)](this[_0x409734(0x12d)],_0x409734(0x10f),()=>{const _0x340f9f=_0x409734;this[_0x340f9f(0x154)]&&this[_0x340f9f(0x154)][_0x340f9f(0x10f)]();}),this[_0x409734(0xd1)](this[_0x409734(0x146)][_0x409734(0x12f)],_0x409734(0x117),(_0x2454e7,_0x1abb8d)=>{const _0x41b2ca=_0x409734;this[_0x41b2ca(0x154)]&&(this[_0x41b2ca(0x105)]=_0x41b2ca(0x110),this[_0x41b2ca(0x154)][_0x41b2ca(0x12c)](_0x1abb8d[_0x41b2ca(0x127)]));});}[_0x2748bb(0x158)](_0x1cb816=!0x1){const _0x9c4294=_0x2748bb;this[_0x9c4294(0x154)]&&(this[_0x9c4294(0x154)][_0x9c4294(0x141)]||this[_0x9c4294(0x154)][_0x9c4294(0x113)](),this[_0x9c4294(0x154)][_0x9c4294(0x162)](),this[_0x9c4294(0x154)][_0x9c4294(0x16c)](),this[_0x9c4294(0x154)]=void 0x0),_0x1cb816&&this[_0x9c4294(0x12d)][_0x9c4294(0xe5)](),this[_0x9c4294(0x146)][_0x9c4294(0x14f)](),this[_0x9c4294(0x146)][_0x9c4294(0x10a)](),this[_0x9c4294(0x105)]=null;const _0x5041a9=this[_0x9c4294(0x146)][_0x9c4294(0x13d)]();_0x5041a9&&_0x5041a9[_0x9c4294(0xd9)][_0x9c4294(0x120)][_0x9c4294(0xdd)](_0x58c070=>{const _0x5c9352=_0x9c4294,_0x3fd39f=_0x5041a9[_0x5c9352(0xd9)][_0x5c9352(0x120)][_0x5c9352(0x160)][_0x5c9352(0x13e)]();_0x58c070[_0x5c9352(0x114)](_0x5c9352(0xda),_0x3fd39f),_0x58c070[_0x5c9352(0x114)](_0x5c9352(0x13b),_0x3fd39f);});}[_0x2748bb(0xec)](_0x2cdbba){const _0x107692=_0x2748bb,_0x344fc8=this[_0x107692(0x146)][_0x107692(0x13d)]();_0x2cdbba?this[_0x107692(0x12d)][_0x107692(0xfa)]():this[_0x107692(0x12d)][_0x107692(0x11b)](),_0x344fc8&&_0x344fc8[_0x107692(0xd9)][_0x107692(0x120)][_0x107692(0xdd)](_0x4ace91=>{const _0x585474=_0x107692,_0x3394e2=_0x344fc8[_0x585474(0xd9)][_0x585474(0x120)][_0x585474(0x160)][_0x585474(0x13e)]();_0x4ace91[_0x585474(0x114)](_0x585474(0xda),_0x3394e2),_0x4ace91[_0x585474(0x114)](_0x585474(0x13b),_0x3394e2),_0x4ace91[_0x585474(0x135)](_0x2cdbba?_0x585474(0xda):_0x585474(0x13b),_0x3394e2);});}[_0x2748bb(0xd3)](_0x58754d){const _0x4be755=_0x2748bb;return _0x58754d[_0x4be755(0x10e)](_0xa2c8ec=>{const _0x175e86=_0x4be755,_0x1fd4ad=_0x175e86(0x14a)+_0xa2c8ec['id'][_0x175e86(0xe1)]()[_0x175e86(0x12b)]('-','_'),_0x21e928={..._0xa2c8ec,'title':this[_0x175e86(0x16f)](_0x1fd4ad+_0x175e86(0x10d),_0xa2c8ec[_0x175e86(0x107)]),'description':this[_0x175e86(0x16f)](_0x1fd4ad+_0x175e86(0x144),_0xa2c8ec[_0x175e86(0x157)])};return _0xa2c8ec[_0x175e86(0x14d)]&&(_0x21e928[_0x175e86(0x14d)]=_0xa2c8ec[_0x175e86(0x14d)][_0x175e86(0x10e)](_0x486d50=>({..._0x486d50,'label':this[_0x175e86(0x16f)](_0x1fd4ad+_0x175e86(0x155),_0x486d50[_0x175e86(0x152)]||''),'data':_0x486d50[_0x175e86(0x119)]?_0x486d50[_0x175e86(0x119)][_0x175e86(0x10e)](_0x3bcf12=>({..._0x3bcf12,'label':this[_0x175e86(0x16f)](_0x1fd4ad+_0x175e86(0x149)+_0x3bcf12['id'][_0x175e86(0xe1)](),_0x3bcf12[_0x175e86(0x152)])})):void 0x0}))),_0x21e928;});}[_0x2748bb(0x16f)](_0x5096b4,_0x3e8364){const _0x3cea0c=_0x2748bb,_0x286c0e=this[_0x3cea0c(0xf7)][_0x3cea0c(0x14b)],_0x5ef58a=_0x289bd0(_0x286c0e,_0x5096b4);return _0x5ef58a===_0x5096b4?_0x3e8364:_0x5ef58a;}[_0x2748bb(0x166)](_0xcce46c){const _0x5814ed=_0x2748bb;_0x40ad5d(_0xcce46c[_0x5814ed(0x15e)]),this[_0x5814ed(0x12d)][_0x5814ed(0xdf)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e83b9=_0x205c;(function(_0x262e04,_0x28da48){const _0x2566f3=_0x205c,_0x5ec9a6=_0x262e04();while(!![]){try{const _0x542df1=-parseInt(_0x2566f3(0x1fd))/0x1+-parseInt(_0x2566f3(0x1c5))/0x2+parseInt(_0x2566f3(0x164))/0x3+parseInt(_0x2566f3(0x18d))/0x4+parseInt(_0x2566f3(0x160))/0x5*(-parseInt(_0x2566f3(0x147))/0x6)+parseInt(_0x2566f3(0x1b3))/0x7*(parseInt(_0x2566f3(0x202))/0x8)+-parseInt(_0x2566f3(0x212))/0x9*(parseInt(_0x2566f3(0x17f))/0xa);if(_0x542df1===_0x28da48)break;else _0x5ec9a6['push'](_0x5ec9a6['shift']());}catch(_0x80816e){_0x5ec9a6['push'](_0x5ec9a6['shift']());}}}(_0x2b68,0x75841));function _0x205c(_0x1e2411,_0x1e1e7d){const _0x2b68ba=_0x2b68();return _0x205c=function(_0x205c49,_0x2090aa){_0x205c49=_0x205c49-0x13f;let _0x2a2bf9=_0x2b68ba[_0x205c49];return _0x2a2bf9;},_0x205c(_0x1e2411,_0x1e1e7d);}import{InsertOperation as _0x18bb59,MarkerOperation as _0x25e8d6,ModelDocumentFragment as _0x1227db,ModelPosition as _0x19c465,ModelRange as _0x12659e,ModelTreeWalker as _0x3131bf,transformOperationSets as _0x5e6bc6}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x3235d9,EmitterMixin as _0x25649d}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x6ee446}from'ckeditor5/src/core.js';import{DocumentCompare as _0xd6d290,DATA_ID_MODEL_ATTRIBUTE as _0x44e34c,DATA_ID_VIEW_ATTRIBUTE as _0x50b854}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x2728df}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x41490c}from'../aicore/aiediting.js';const se=_0x1e83b9(0x1da);export class AIReviewModeEditing extends _0x6ee446{static get[_0x1e83b9(0x18f)](){const _0x390f1c=_0x1e83b9;return _0x390f1c(0x14d);}static get[_0x1e83b9(0x1eb)](){return[_0xd6d290,_0x41490c];}static get[_0x1e83b9(0x17a)](){return!0x0;}static get[_0x1e83b9(0x17c)](){return!0x0;}[_0x1e83b9(0x151)]=new Map();[_0x1e83b9(0x208)];[_0x1e83b9(0x215)];constructor(_0x2ae2d4){const _0xbdc670=_0x1e83b9;super(_0x2ae2d4),this[_0xbdc670(0x208)]=new(_0x3235d9())(),this[_0xbdc670(0x215)]=new(_0x25649d())();}get[_0x1e83b9(0x20e)](){const _0x4e6e0b=_0x1e83b9;return this[_0x4e6e0b(0x215)];}[_0x1e83b9(0x1ef)](){const _0x4e74e4=_0x1e83b9,_0x135cc9=_0x2728df(this[_0x4e74e4(0x15f)]);_0x135cc9[_0x4e74e4(0x174)][_0x4e74e4(0x1f4)](_0x4e74e4(0x1e0))[_0x4e74e4(0x184)]({'model':se+_0x4e74e4(0x16c),'view':(_0x166f6b,{writer:_0x5b0449})=>{const _0x2f8123=_0x4e74e4,_0x200a8c=this[_0x2f8123(0x151)][_0x2f8123(0x1c6)](_0x166f6b[_0x2f8123(0x1b1)]),_0x573744={'class':_0x2f8123(0x17e),'data-marker-id':_0x166f6b[_0x2f8123(0x1b1)]};return _0x5b0449[_0x2f8123(0x1d8)](_0x2f8123(0x14e),_0x573744,function(_0x5571ab){const _0x440b08=_0x2f8123,_0xfcc601=this[_0x440b08(0x1aa)](_0x5571ab);return _0xfcc601[_0x440b08(0x1f5)]=_0x200a8c?.[_0x440b08(0x1c0)]||'',_0xfcc601;});}}),_0x135cc9[_0x4e74e4(0x174)][_0x4e74e4(0x1f4)](_0x4e74e4(0x1e0))[_0x4e74e4(0x19a)]({'model':se+_0x4e74e4(0x1ad),'view':_0x4b5f66=>({'classes':_0x4e74e4(0x200),'attributes':{'data-marker-id':_0x4b5f66[_0x4e74e4(0x1b1)]}})}),_0x135cc9[_0x4e74e4(0x174)][_0x4e74e4(0x1f4)](_0x4e74e4(0x1e0))[_0x4e74e4(0x19a)]({'model':se+_0x4e74e4(0x1bf),'view':_0x1a58ee=>({'classes':_0x4e74e4(0x13f),'attributes':{'data-marker-id':_0x1a58ee[_0x4e74e4(0x1b1)]}})}),_0x135cc9[_0x4e74e4(0x174)][_0x4e74e4(0x1f4)](_0x4e74e4(0x1e0))[_0x4e74e4(0x19a)]({'model':se+_0x4e74e4(0x145),'view':_0x406d67=>({'classes':_0x4e74e4(0x1c4),'attributes':{'data-marker-id':_0x406d67[_0x4e74e4(0x1b1)]}})}),_0x135cc9[_0x4e74e4(0x174)][_0x4e74e4(0x1f4)](_0x4e74e4(0x204))[_0x4e74e4(0x184)]({'model':se+_0x4e74e4(0x180),'view':(_0x553476,{writer:_0x1fadbf})=>_0x1fadbf[_0x4e74e4(0x153)](_0x4e74e4(0x14e),{'class':_0x4e74e4(0x1a7)+(_0x553476[_0x4e74e4(0x1b8)]?_0x4e74e4(0x199):_0x4e74e4(0x16b))})}),_0x135cc9[_0x4e74e4(0x174)][_0x4e74e4(0x1f4)](_0x4e74e4(0x188))[_0x4e74e4(0x218)]({'model':_0x44e34c,'view':_0x50b854}),this[_0x4e74e4(0x208)][_0x4e74e4(0x140)](document,_0x4e74e4(0x210),(_0x92a51d,_0x119e1d)=>{const _0x282ede=_0x4e74e4,_0x2dd1f2=_0x119e1d[_0x282ede(0x1e6)],_0x59e122=this[_0x282ede(0x19d)](_0x2dd1f2);if(!_0x59e122)return;const _0x9ba865=_0x59e122[_0x282ede(0x144)](_0x282ede(0x141)),_0x453672=_0x9ba865[_0x282ede(0x1e8)](':')[_0x282ede(0x1ca)]()?.[_0x282ede(0x1e8)]('_')[0x0];this[_0x282ede(0x215)][_0x282ede(0x1d9)](_0x282ede(0x1c2),{'markerId':_0x9ba865,'changeId':_0x453672});});}[_0x1e83b9(0x178)](){const _0x4a490c=_0x1e83b9,_0x4b1294=this[_0x4a490c(0x15f)][_0x4a490c(0x167)][_0x4a490c(0x1c6)](_0x4a490c(0x1d4)),_0x5629fc=_0x2728df(this[_0x4a490c(0x15f)]),_0x2fdbc8=_0x5629fc[_0x4a490c(0x1cd)],_0x26e7f9=new _0x1227db();for(const _0x36c556 of _0x2fdbc8[_0x4a490c(0x1f3)][_0x4a490c(0x1ae)]()[_0x4a490c(0x18b)]()){const _0x4c9470=_0x36c556[_0x4a490c(0x1fe)](!0x0);_0x26e7f9[_0x4a490c(0x1de)](_0x4c9470);}for(const _0x27d5f9 of _0x2fdbc8[_0x4a490c(0x17d)])_0x26e7f9[_0x4a490c(0x17d)][_0x4a490c(0x19e)](_0x27d5f9[_0x4a490c(0x15c)],this[_0x4a490c(0x1a5)](_0x27d5f9[_0x4a490c(0x1fb)]()[_0x4a490c(0x1c9)](),_0x26e7f9));const _0x560527=new _0x3131bf({'ignoreElementEnd':!0x0,'startPosition':_0x2fdbc8[_0x4a490c(0x1f7)](_0x26e7f9,0x0)}),_0x33f78f=new Set(),_0xd2d5d1=new Map();for(const {item:_0x41f90e}of _0x560527){if(!_0x41f90e['is'](_0x4a490c(0x216)))continue;const _0xcb5ef6=_0x41f90e[_0x4a490c(0x15d)];if((!_0xcb5ef6||!_0xcb5ef6['is'](_0x4a490c(0x19f),_0x4a490c(0x195)))&&(_0xcb5ef6&&_0xcb5ef6['is'](_0x4a490c(0x19f)))){let _0x5e0c42=_0xcb5ef6[_0x4a490c(0x144)](_0x44e34c);_0x5e0c42||(_0x5e0c42=_0x4b1294[_0x4a490c(0x156)](_0x33f78f),_0xcb5ef6[_0x4a490c(0x155)](_0x44e34c,_0x5e0c42)),_0x33f78f[_0x4a490c(0x173)](_0x5e0c42);let _0x5e0041=_0xcb5ef6;for(;_0x5e0041[_0x4a490c(0x15d)]&&!_0x5e0041[_0x4a490c(0x15d)]['is'](_0x4a490c(0x206));)_0x5e0041=_0x5e0041[_0x4a490c(0x15d)],_0x5e0041[_0x4a490c(0x14a)](_0x44e34c)&&_0x5e0041[_0x4a490c(0x1c1)](_0x44e34c);_0xd2d5d1[_0x4a490c(0x19e)](_0x5e0c42,{'path':_0xcb5ef6[_0x4a490c(0x20c)](),'getContent':this[_0x4a490c(0x1b4)](_0x5e0041[_0x4a490c(0x1fe)](!0x0),_0x5e0c42,_0x5629fc[_0x4a490c(0x213)])}),_0x560527[_0x4a490c(0x1a0)](_0x2fdbc8[_0x4a490c(0x20d)](_0xcb5ef6));}}return{'content':_0x5629fc[_0x4a490c(0x213)][_0x4a490c(0x20a)][_0x4a490c(0x1c7)](_0x5629fc[_0x4a490c(0x213)][_0x4a490c(0x1a4)](_0x26e7f9)),'version':_0x5629fc[_0x4a490c(0x1cd)][_0x4a490c(0x1f3)][_0x4a490c(0x179)],'elements':_0xd2d5d1};}[_0x1e83b9(0x169)](_0x1cf987,_0x5b2dc2){const _0x44d87b=_0x1e83b9,_0x651fe8=_0x2728df(this[_0x44d87b(0x15f)]),_0x3be5ab=_0x651fe8[_0x44d87b(0x213)][_0x44d87b(0x1b7)](_0x1cf987,_0x44d87b(0x177)),_0x506806=_0x651fe8[_0x44d87b(0x1cd)][_0x44d87b(0x1f7)](_0x3be5ab,0x0),_0x37f0bf=this[_0x44d87b(0x15f)][_0x44d87b(0x167)][_0x44d87b(0x1c6)](_0x44d87b(0x1e3))[_0x44d87b(0x20b)](_0x1cf987,_0x5b2dc2,{'anchor':_0x506806,'markDeletions':!0x0})[_0x44d87b(0x191)]()[_0x44d87b(0x1d7)](_0x45365b=>_0x44d87b(0x16c)===_0x45365b[_0x44d87b(0x182)]||_0x44d87b(0x1e7)===_0x45365b[_0x44d87b(0x182)]&&_0x45365b[_0x44d87b(0x15c)][_0x44d87b(0x19b)](_0x44d87b(0x172))),_0x300cb7=this[_0x44d87b(0x1cb)](_0x37f0bf),_0x53df83=[];let _0x3f108f=0x0;return _0x651fe8[_0x44d87b(0x1cd)][_0x44d87b(0x1a1)](_0x45e66b=>{const _0x493694=_0x44d87b;for(let _0xde356d=0x0;_0xde356d<_0x300cb7[_0x493694(0x16a)];_0xde356d++){const _0x3ca23c=_0x300cb7[_0xde356d],_0x31e71a=_0x45e66b[_0x493694(0x209)]();for(const _0x367bbf of _0x3be5ab[_0x493694(0x18b)]())_0x45e66b[_0x493694(0x16f)](_0x367bbf[_0x493694(0x1fe)](!0x0),_0x31e71a);for(const _0x2e11e5 of _0x3ca23c[_0x493694(0x163)])if(_0x493694(0x16c)===_0x2e11e5[_0x493694(0x182)]){const _0x13296f=_0x2e11e5;_0x13296f[_0x493694(0x205)]=null,_0x13296f[_0x493694(0x185)]=!0x1,this[_0x493694(0x149)](_0x13296f,_0x31e71a),_0x45e66b[_0x493694(0x1e5)][_0x493694(0x14c)](_0x2e11e5),_0x651fe8[_0x493694(0x1cd)][_0x493694(0x1fa)](_0x2e11e5);const _0xe64a33=_0x493694(0x196)+_0x3f108f++,_0x16e368=_0x651fe8[_0x493694(0x1cd)][_0x493694(0x162)](_0x13296f[_0x493694(0x1f1)],_0x13296f[_0x493694(0x1f1)][_0x493694(0x1d5)](_0x13296f[_0x493694(0x1ed)]));_0x31e71a[_0x493694(0x17d)][_0x493694(0x19e)](_0xe64a33,_0x16e368);}else{if(_0x493694(0x1e7)===_0x2e11e5[_0x493694(0x182)]&&_0x2e11e5[_0x493694(0x15c)][_0x493694(0x19b)](_0x493694(0x172))){const _0x32e3e1=_0x2e11e5,_0x33dbce=_0x493694(0x1a9)+_0x3f108f++;this[_0x493694(0x149)](_0x32e3e1,_0x31e71a),_0x31e71a[_0x493694(0x17d)][_0x493694(0x19e)](_0x33dbce,_0x32e3e1[_0x493694(0x16d)]);}}const _0x3b0982=this[_0x493694(0x1a2)](this[_0x493694(0x1a3)](this[_0x493694(0x211)](_0x3ca23c[_0x493694(0x163)][0x0]),_0x31e71a),this[_0x493694(0x1a3)](this[_0x493694(0x15e)](_0x3ca23c[_0x493694(0x163)][_0x3ca23c[_0x493694(0x163)][_0x493694(0x16a)]-0x1]),_0x31e71a));_0x31e71a[_0x493694(0x17d)][_0x493694(0x19e)](se+_0x493694(0x180),new _0x12659e(_0x3b0982[_0x493694(0x199)],_0x3b0982[_0x493694(0x16b)])),_0x53df83[_0x493694(0x1a6)]({..._0x3ca23c,'context':this[_0x493694(0x1b5)](_0x31e71a,_0x651fe8[_0x493694(0x213)],{'ellipsisBefore':_0x3b0982[_0x493694(0x207)],'ellipsisAfter':_0x3b0982[_0x493694(0x1ff)]}),'content':this[_0x493694(0x1dd)](_0x31e71a,_0x651fe8[_0x493694(0x213)])});}}),_0x53df83;}[_0x1e83b9(0x17b)](_0x1fc3c3,_0x9e7da6){const _0xc35111=_0x1e83b9,_0x5488ff=_0x1fc3c3[0x0][_0xc35111(0x15d)]['id'],_0x39ed0c=_0x9e7da6[_0xc35111(0x161)][_0xc35111(0x1c6)](_0x5488ff);if(!_0x39ed0c)return void console[_0xc35111(0x194)](_0xc35111(0x159)+_0x5488ff);const _0x4a7423=_0x39ed0c[_0xc35111(0x198)],_0x1d0873=_0x2728df(this[_0xc35111(0x15f)]),_0x20dd1f=_0x1d0873[_0xc35111(0x1cd)][_0xc35111(0x1f3)][_0xc35111(0x150)][_0xc35111(0x191)](_0x9e7da6[_0xc35111(0x179)]),_0x51c393=[];for(const _0x5d3029 of _0x1fc3c3){const _0xbf4e62=_0x5d3029[_0xc35111(0x163)][_0xc35111(0x203)](_0x3adcad=>this[_0xc35111(0x181)](_0x3adcad,_0x4a7423,_0x1d0873[_0xc35111(0x1cd)][_0xc35111(0x1f3)][_0xc35111(0x176)]()[0x0]));if(!_0xbf4e62||!_0xbf4e62[_0xc35111(0x16a)])continue;const _0x401dbc=_0xbf4e62[_0xc35111(0x1ec)](_0x44c96d=>_0xc35111(0x1e7)===_0x44c96d[_0xc35111(0x182)]&&_0x44c96d[_0xc35111(0x15c)][_0xc35111(0x19b)](_0xc35111(0x172))),_0x20cbe2={'document':_0x1d0873[_0xc35111(0x1cd)][_0xc35111(0x1f3)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x56e05c=_0x5e6bc6(_0xbf4e62,_0x20dd1f,_0x20cbe2)[_0xc35111(0x168)];for(const _0x2dd0dc of _0x56e05c)if(_0xc35111(0x16c)===_0x2dd0dc[_0xc35111(0x182)]){const _0xd6336b=_0x2dd0dc,_0x41ca41=_0xd6336b[_0xc35111(0x1bc)];let _0x2a6f25='';for(const _0x5781af of _0x41ca41)_0x5781af&&_0x5781af['is'](_0xc35111(0x1d6))&&(_0x2a6f25+=_0x5781af[_0xc35111(0x213)]);_0x51c393[_0xc35111(0x1a6)]({'start':_0xd6336b[_0xc35111(0x1f1)],'end':_0xd6336b[_0xc35111(0x1f1)],'type':_0xc35111(0x16c),'groupId':_0x5d3029['id'],'text':_0x2a6f25});}else{if(_0xc35111(0x1e7)===_0x2dd0dc[_0xc35111(0x182)]&&_0x2dd0dc[_0xc35111(0x15c)][_0xc35111(0x19b)](_0xc35111(0x172))){const _0x280152=_0x2dd0dc;let _0x4e194d=_0xc35111(0x145);if(_0x401dbc){const _0xd0b5c3=this[_0xc35111(0x146)](_0x280152[_0xc35111(0x16d)][_0xc35111(0x199)],_0xc35111(0x1f2),_0x1d0873[_0xc35111(0x1cd)][_0xc35111(0x197)]),_0x26158a=this[_0xc35111(0x146)](_0x280152[_0xc35111(0x16d)][_0xc35111(0x16b)],_0xc35111(0x1bb),_0x1d0873[_0xc35111(0x1cd)][_0xc35111(0x197)]);if(_0xd0b5c3||_0x26158a){const _0x26ca6f=_0x280152[_0xc35111(0x16d)][_0xc35111(0x199)][_0xc35111(0x1d5)](-_0xd0b5c3),_0x59d8b0=_0x280152[_0xc35111(0x16d)][_0xc35111(0x16b)][_0xc35111(0x1d5)](_0x26158a);_0x51c393[_0xc35111(0x1a6)]({'start':_0x26ca6f,'end':_0x59d8b0,'groupId':_0x5d3029['id'],'type':_0xc35111(0x1bf)});}else _0x4e194d=_0xc35111(0x1ad);}_0x51c393[_0xc35111(0x1a6)]({'start':_0x280152[_0xc35111(0x16d)][_0xc35111(0x199)],'end':_0x280152[_0xc35111(0x16d)][_0xc35111(0x16b)],'groupId':_0x5d3029['id'],'type':_0x4e194d});}}}this[_0xc35111(0x186)](_0x51c393);}[_0x1e83b9(0x1f6)](){const _0x3f3ede=_0x1e83b9;_0x2728df(this[_0x3f3ede(0x15f)])[_0x3f3ede(0x1cd)][_0x3f3ede(0x1a1)](_0x39f88d=>{const _0x23d457=_0x3f3ede;for(const _0x51717f of this[_0x23d457(0x151)][_0x23d457(0x1c8)]())_0x39f88d[_0x23d457(0x15b)](_0x51717f);}),this[_0x3f3ede(0x151)][_0x3f3ede(0x187)]();}[_0x1e83b9(0x214)](){const _0x2416bc=_0x1e83b9;_0x2728df(this[_0x2416bc(0x15f)])[_0x2416bc(0x171)](_0x2416bc(0x1fc));}[_0x1e83b9(0x1ab)](){const _0x14e8fc=_0x1e83b9;_0x2728df(this[_0x14e8fc(0x15f)])[_0x14e8fc(0x152)](_0x14e8fc(0x1fc));}[_0x1e83b9(0x1d1)](_0x5bfe9b){const _0x26501d=_0x1e83b9,_0x23fb01=_0x2728df(this[_0x26501d(0x15f)]),_0x12a31b=_0x23fb01[_0x26501d(0x1cd)],_0x2032d3=_0x5bfe9b[_0x26501d(0x203)](_0x483f62=>this[_0x26501d(0x1b9)](_0x483f62))[_0x26501d(0x1f8)]();_0x12a31b[_0x26501d(0x1a1)](_0x23c76e=>{const _0x4eb70b=_0x26501d;for(const _0x4cb31f of _0x2032d3){const _0xc871b0=_0x23fb01[_0x4eb70b(0x1cd)][_0x4eb70b(0x17d)][_0x4eb70b(0x1c6)](_0x4cb31f['id']);_0xc871b0&&(_0x4eb70b(0x16c)===_0x4cb31f[_0x4eb70b(0x182)]?_0x12a31b[_0x4eb70b(0x1be)](_0x23c76e[_0x4eb70b(0x1e2)](_0x4cb31f[_0x4eb70b(0x1c0)]||''),_0xc871b0[_0x4eb70b(0x1fb)]()[_0x4eb70b(0x199)]):_0x4eb70b(0x145)!==_0x4cb31f[_0x4eb70b(0x182)]&&_0x4eb70b(0x1ad)!==_0x4cb31f[_0x4eb70b(0x182)]||_0x12a31b[_0x4eb70b(0x1e4)](_0x12a31b[_0x4eb70b(0x14b)](_0xc871b0[_0x4eb70b(0x1fb)]())),_0x23c76e[_0x4eb70b(0x15b)](_0x4cb31f['id']),this[_0x4eb70b(0x151)][_0x4eb70b(0x165)](_0x4cb31f['id']));}});}[_0x1e83b9(0x1e9)](_0x1bb919){const _0x5c19f9=_0x1e83b9,_0x1bae44=_0x2728df(this[_0x5c19f9(0x15f)]),_0x45afe7=this[_0x5c19f9(0x1b9)](_0x1bb919);_0x1bae44[_0x5c19f9(0x1cd)][_0x5c19f9(0x1a1)](_0x21c298=>{const _0x10087b=_0x5c19f9;for(const _0x24a8a2 of _0x45afe7)_0x21c298[_0x10087b(0x15b)](_0x24a8a2['id']),this[_0x10087b(0x151)][_0x10087b(0x165)](_0x24a8a2['id']);});}[_0x1e83b9(0x183)](){const _0x4b0741=_0x1e83b9;return _0x2728df(this[_0x4b0741(0x15f)]);}[_0x1e83b9(0x157)](_0x1a164d){const _0x2646f3=_0x1e83b9,_0x353ab5=Array[_0x2646f3(0x1b0)](this[_0x2646f3(0x151)][_0x2646f3(0x1cc)]())[_0x2646f3(0x1d7)](_0xdcd69a=>_0xdcd69a[_0x2646f3(0x192)]===_0x1a164d);if(!_0x353ab5[_0x2646f3(0x16a)])return null;const _0x37dd90=0x1===_0x353ab5[_0x2646f3(0x16a)]?_0x353ab5[0x0]:this[_0x2646f3(0x1db)](_0x353ab5)[0x0],_0x5067b8=_0x2728df(this[_0x2646f3(0x15f)]),_0x243585=_0x5067b8[_0x2646f3(0x1cd)][_0x2646f3(0x17d)][_0x2646f3(0x1c6)](_0x37dd90['id']);if(!_0x243585)return null;const _0x2ed6c8=_0x243585[_0x2646f3(0x1fb)](),_0x98ef87=_0x5067b8[_0x2646f3(0x1ce)][_0x2646f3(0x19c)][_0x2646f3(0x18a)]();if(!_0x98ef87||!_0x2ed6c8)return null;const _0x382f1c=_0x98ef87[_0x2646f3(0x1ac)](_0x2646f3(0x1dc)+_0x37dd90['id']+'\x22]');return _0x382f1c?{'modelRange':_0x2ed6c8,'domElement':_0x382f1c}:null;}[_0x1e83b9(0x181)](_0x59709c,_0x52e784,_0x38dfed){const _0x498861=_0x1e83b9;if(_0x498861(0x16c)===_0x59709c[_0x498861(0x182)]){const _0x445810=_0x59709c;return new _0x18bb59(this[_0x498861(0x18e)](_0x445810[_0x498861(0x1f1)],_0x52e784[_0x498861(0x1cf)](_0x445810[_0x498861(0x1f1)][_0x498861(0x15a)]),_0x38dfed),_0x445810[_0x498861(0x1bc)],_0x445810[_0x498861(0x205)]);}if(_0x498861(0x1e7)===_0x59709c[_0x498861(0x182)]&&_0x59709c[_0x498861(0x15c)][_0x498861(0x19b)](_0x498861(0x172))){const _0x2d039c=_0x59709c;return new _0x25e8d6(_0x2d039c[_0x498861(0x15c)],_0x2d039c[_0x498861(0x1d2)],this[_0x498861(0x143)](_0x2d039c[_0x498861(0x16d)],_0x52e784[_0x498861(0x1cf)](_0x2d039c[_0x498861(0x16d)][_0x498861(0x199)][_0x498861(0x15a)]),_0x52e784[_0x498861(0x1cf)](_0x2d039c[_0x498861(0x16d)][_0x498861(0x16b)][_0x498861(0x15a)]),_0x38dfed),_0x2d039c[_0x498861(0x151)],_0x2d039c[_0x498861(0x1ea)],_0x2d039c[_0x498861(0x205)]);}return _0x59709c;}[_0x1e83b9(0x1cb)](_0x49da7d){const _0x5a274b=_0x1e83b9;if(!_0x49da7d[_0x5a274b(0x16a)])return[];const _0x181e1d=[];let _0x4a130c=0x0,_0x4fa94a=0x0,_0x307f5c=[];for(let _0x11cc40=0x0;_0x11cc40<=_0x49da7d[_0x5a274b(0x16a)];_0x11cc40++){const _0x102adf=_0x49da7d[_0x11cc40],_0x4dc3d5=_0x49da7d[_0x11cc40-0x1];!_0x102adf||_0x4dc3d5&&!this[_0x5a274b(0x15e)](_0x4dc3d5)[_0x5a274b(0x201)](this[_0x5a274b(0x211)](_0x102adf))?(_0x181e1d[_0x5a274b(0x1a6)]({'operations':_0x307f5c,'operationsIsolated':_0x307f5c[_0x5a274b(0x203)](_0x7a2bad=>this[_0x5a274b(0x20f)](_0x7a2bad[_0x5a274b(0x1c9)](),-_0x4fa94a)),'groupOffset':_0x4a130c}),_0x307f5c=_0x102adf?[_0x102adf]:[],_0x4fa94a+=_0x4a130c,_0x4a130c=0x0):_0x307f5c[_0x5a274b(0x1a6)](_0x102adf),_0x102adf&&_0x5a274b(0x16c)===_0x102adf[_0x5a274b(0x182)]&&(_0x4a130c+=_0x102adf[_0x5a274b(0x1ed)]);}return _0x181e1d;}[_0x1e83b9(0x146)](_0x5dc82f,_0x3d02a4,_0x2154c2,_0x2c6ed1=0x1){const _0xf0eaed=_0x1e83b9,_0x543acb=new _0x3131bf({'startPosition':_0x5dc82f,'direction':_0x3d02a4});let _0x2e61ee=0x0;for(let _0x4d1dac=0x0;_0x4d1dac<_0x2c6ed1;_0x4d1dac++){let _0x14faf1=0x0,_0x5d9ac2=!0x1,_0x15e534=_0xf0eaed(0x1bb)===_0x3d02a4?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x9631fa}of _0x543acb)if(_0x9631fa['is'](_0xf0eaed(0x216))){const _0x1301ed=_0x15e534[_0xf0eaed(0x175)](_0x9631fa[_0xf0eaed(0x213)]);if(_0x1301ed&&_0x1301ed[_0xf0eaed(0x16a)]){if(_0x14faf1+=_0xf0eaed(0x1bb)===_0x3d02a4?_0x1301ed[_0xf0eaed(0x16e)]+_0x1301ed[0x0][_0xf0eaed(0x16a)]:_0x9631fa[_0xf0eaed(0x213)][_0xf0eaed(0x16a)]-_0x1301ed[_0xf0eaed(0x16e)],_0x1301ed[0x0][_0xf0eaed(0x16a)]!==_0x9631fa[_0xf0eaed(0x213)][_0xf0eaed(0x16a)])break;_0x5d9ac2=!0x0,_0x15e534=_0xf0eaed(0x1bb)===_0x3d02a4?/^\w+/:/\w+$/;}else{if(_0x5d9ac2)break;_0x14faf1+=_0x9631fa[_0xf0eaed(0x1f0)];}}else{if(_0x9631fa['is'](_0xf0eaed(0x19f))){_0x2154c2[_0xf0eaed(0x1f9)](_0x9631fa)&&!_0x5d9ac2&&(_0x14faf1+=0x1);break;}}_0x2e61ee+=_0x14faf1,_0x543acb[_0xf0eaed(0x1a0)](_0x5dc82f[_0xf0eaed(0x1d5)](_0xf0eaed(0x1bb)===_0x3d02a4?_0x2e61ee:-_0x2e61ee));}return _0x2e61ee;}[_0x1e83b9(0x1a2)](_0xba0096,_0x491177){const _0xe6967c=_0x1e83b9,_0x5eddcf=_0x2728df(this[_0xe6967c(0x15f)])[_0xe6967c(0x1cd)][_0xe6967c(0x197)],_0x536a36=this[_0xe6967c(0x146)](_0xba0096,_0xe6967c(0x1f2),_0x5eddcf,0x6),_0x4c5a00=this[_0xe6967c(0x146)](_0x491177,_0xe6967c(0x1bb),_0x5eddcf,0x6),_0x1c4e28=_0xba0096[_0xe6967c(0x1d5)](-_0x536a36),_0x43ffb2=_0x491177[_0xe6967c(0x1d5)](_0x4c5a00);return{'start':_0x1c4e28,'end':_0x43ffb2,'hasContentBefore':!_0x1c4e28[_0xe6967c(0x148)],'hasContentAfter':!_0x43ffb2[_0xe6967c(0x1e1)]};}[_0x1e83b9(0x186)](_0x1cbb6f){const _0x4d6404=_0x1e83b9,_0x3eb4f6=this[_0x4d6404(0x15f)][_0x4d6404(0x167)][_0x4d6404(0x1c6)](_0x4d6404(0x1d4)),_0x4d93c6=new Set();_0x2728df(this[_0x4d6404(0x15f)])[_0x4d6404(0x1cd)][_0x4d6404(0x1a1)](_0x3d3c20=>{const _0x4bbd91=_0x4d6404;for(const _0x23c738 of _0x1cbb6f){const _0x262f42=''+se+_0x23c738[_0x4bbd91(0x182)]+':'+_0x23c738[_0x4bbd91(0x192)]+'_'+_0x3eb4f6[_0x4bbd91(0x156)](_0x4d93c6);this[_0x4bbd91(0x151)][_0x4bbd91(0x19e)](_0x262f42,{'id':_0x262f42,'groupId':_0x23c738[_0x4bbd91(0x192)],'type':_0x23c738[_0x4bbd91(0x182)],'text':_0x23c738[_0x4bbd91(0x1c0)]}),_0x3d3c20[_0x4bbd91(0x1d3)](_0x262f42,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3d3c20[_0x4bbd91(0x162)](_0x23c738[_0x4bbd91(0x199)],_0x23c738[_0x4bbd91(0x16b)])});}});}[_0x1e83b9(0x1b5)](_0x4aadf2,_0x4de6c8,_0x3981a7){let _0x1020ad='';return()=>{const _0x99e0a5=_0x205c;if(!_0x1020ad){const _0x1c77a=_0x4de6c8[_0x99e0a5(0x1a4)](_0x4aadf2,{'showSuggestionHighlights':!0x0}),_0x1342fe=_0x1c77a[_0x99e0a5(0x1df)](0x0);if(!_0x1342fe)return'';let _0x36cb42=!0x1;const _0x1b0c6a=[];for(const _0x30eb6b of _0x1342fe[_0x99e0a5(0x18b)]())_0x30eb6b['is'](_0x99e0a5(0x19f),_0x99e0a5(0x14e))&&_0x30eb6b[_0x99e0a5(0x158)](_0x99e0a5(0x1b2))&&(_0x36cb42=!0x1),_0x36cb42&&_0x1b0c6a[_0x99e0a5(0x1a6)](_0x30eb6b),_0x30eb6b['is'](_0x99e0a5(0x19f),_0x99e0a5(0x14e))&&_0x30eb6b[_0x99e0a5(0x158)](_0x99e0a5(0x142))&&(_0x36cb42=!0x0);_0x1342fe[_0x99e0a5(0x170)](0x0,_0x1342fe[_0x99e0a5(0x193)]),_0x3981a7?.[_0x99e0a5(0x1ba)]&&_0x1342fe[_0x99e0a5(0x1de)]('…'),_0x1342fe[_0x99e0a5(0x1de)](_0x1b0c6a),_0x3981a7?.[_0x99e0a5(0x190)]&&_0x1342fe[_0x99e0a5(0x1de)]('…');const _0x4192cf=_0x4de6c8[_0x99e0a5(0x1bd)][_0x99e0a5(0x1b6)][_0x99e0a5(0x217)](_0x1c77a),_0x3d7a34=_0x4de6c8[_0x99e0a5(0x1bd)][_0x99e0a5(0x1c3)][_0x99e0a5(0x189)](_0x4192cf);_0x1020ad=_0x3d7a34;}return _0x1020ad;};}[_0x1e83b9(0x1dd)](_0x375244,_0x5a20f9){const _0x539e5f=_0x1e83b9;let _0x583fac='';return()=>(_0x583fac||(_0x583fac=_0x5a20f9[_0x539e5f(0x1a8)](_0x375244,{'showSuggestionHighlights':!0x0})),_0x583fac);}[_0x1e83b9(0x1b4)](_0x280356,_0x56b8a8,_0x5b58e5){let _0x4ba2f6='';return()=>{const _0xec570b=_0x205c;if(!_0x4ba2f6){const _0x3b3169=_0x5b58e5[_0xec570b(0x1a4)](new _0x1227db(_0x280356)),_0x51cc79=_0x5b58e5[_0xec570b(0x1bd)][_0xec570b(0x1b6)][_0xec570b(0x217)](_0x3b3169)[_0xec570b(0x1ac)](_0xec570b(0x1d0)+_0x56b8a8+'\x22]');_0x4ba2f6=_0x51cc79?.[_0xec570b(0x166)]||'';}return _0x4ba2f6;};}[_0x1e83b9(0x19d)](_0x3896ed,_0xe7d712=0x5){const _0x26055c=_0x1e83b9;let _0x27f0cf=_0x3896ed,_0x38839a=null;for(let _0x204d04=0x0;_0x204d04<_0xe7d712&&_0x27f0cf;_0x204d04++){if(!_0x27f0cf[_0x26055c(0x1af)]){_0x27f0cf=_0x27f0cf[_0x26055c(0x18c)];continue;}if(!(''+_0x27f0cf[_0x26055c(0x1af)])[_0x26055c(0x1ee)](_0x26055c(0x14f))){_0x27f0cf=_0x27f0cf[_0x26055c(0x18c)];continue;}if(!_0x27f0cf[_0x26055c(0x144)](_0x26055c(0x141)))break;_0x38839a=_0x27f0cf;break;}return _0x38839a;}[_0x1e83b9(0x1b9)](_0x635e47){const _0x2e10f7=_0x1e83b9;return Array[_0x2e10f7(0x1b0)](this[_0x2e10f7(0x151)][_0x2e10f7(0x1cc)]())[_0x2e10f7(0x1d7)](_0x25c7c7=>_0x25c7c7[_0x2e10f7(0x192)]===_0x635e47);}[_0x1e83b9(0x211)](_0x47f058){const _0x51eb57=_0x1e83b9;return _0x51eb57(0x16c)===_0x47f058[_0x51eb57(0x182)]?_0x47f058[_0x51eb57(0x1f1)]:_0x47f058[_0x51eb57(0x16d)][_0x51eb57(0x199)];}[_0x1e83b9(0x15e)](_0x414300,_0x30cfc3=!0x1){const _0x594427=_0x1e83b9;return _0x594427(0x16c)===_0x414300[_0x594427(0x182)]?_0x30cfc3?_0x414300[_0x594427(0x1f1)]:_0x414300[_0x594427(0x1f1)][_0x594427(0x1d5)](_0x414300[_0x594427(0x1ed)]):_0x414300[_0x594427(0x16d)][_0x594427(0x16b)];}[_0x1e83b9(0x20f)](_0x315537,_0x16f619){const _0x4ef7b8=_0x1e83b9;return _0x4ef7b8(0x16c)===_0x315537[_0x4ef7b8(0x182)]?_0x315537[_0x4ef7b8(0x1f1)]=_0x315537[_0x4ef7b8(0x1f1)][_0x4ef7b8(0x1d5)](_0x16f619):_0x4ef7b8(0x1e7)===_0x315537[_0x4ef7b8(0x182)]&&_0x315537[_0x4ef7b8(0x16d)]&&(_0x315537[_0x4ef7b8(0x16d)]=new _0x12659e(_0x315537[_0x4ef7b8(0x16d)][_0x4ef7b8(0x199)][_0x4ef7b8(0x1d5)](_0x16f619),_0x315537[_0x4ef7b8(0x16d)][_0x4ef7b8(0x16b)][_0x4ef7b8(0x1d5)](_0x16f619))),_0x315537;}[_0x1e83b9(0x149)](_0x4b92db,_0x43b1ce){const _0x352f97=_0x1e83b9;_0x352f97(0x16c)===_0x4b92db[_0x352f97(0x182)]?_0x4b92db[_0x352f97(0x1f1)]=this[_0x352f97(0x1a3)](_0x4b92db[_0x352f97(0x1f1)],_0x43b1ce):_0x352f97(0x1e7)===_0x4b92db[_0x352f97(0x182)]&&_0x4b92db[_0x352f97(0x16d)]&&(_0x4b92db[_0x352f97(0x16d)]=this[_0x352f97(0x1a5)](_0x4b92db[_0x352f97(0x16d)],_0x43b1ce));}[_0x1e83b9(0x1a3)](_0x393989,_0x3197cc){const _0x210115=_0x1e83b9;return new _0x19c465(_0x3197cc,_0x393989[_0x210115(0x198)]);}[_0x1e83b9(0x1a5)](_0x27286c,_0xe92c3){const _0x5c2224=_0x1e83b9;return new _0x12659e(this[_0x5c2224(0x1a3)](_0x27286c[_0x5c2224(0x199)],_0xe92c3),this[_0x5c2224(0x1a3)](_0x27286c[_0x5c2224(0x16b)],_0xe92c3));}[_0x1e83b9(0x18e)](_0x2e6481,_0x59d5f6,_0x4cbae6){return new _0x19c465(_0x4cbae6,[..._0x59d5f6]);}[_0x1e83b9(0x143)](_0x3dfc42,_0x2ba66b,_0x386c1a,_0x1c3c4d){const _0x11356d=_0x1e83b9;return new _0x12659e(this[_0x11356d(0x18e)](_0x3dfc42[_0x11356d(0x199)],_0x2ba66b,_0x1c3c4d),this[_0x11356d(0x18e)](_0x3dfc42[_0x11356d(0x16b)],_0x386c1a,_0x1c3c4d));}[_0x1e83b9(0x1db)](_0xb8a44e){const _0x164b95=_0x1e83b9,_0x30cef1=_0x170c9d=>{const _0x5f2244=_0x205c;switch(_0x170c9d){case _0x5f2244(0x16c):return 0x1;case _0x5f2244(0x1bf):return 0x2;case _0x5f2244(0x1ad):return 0x3;case _0x5f2244(0x145):return 0x4;}};return _0xb8a44e[_0x164b95(0x154)]((_0x3a392c,_0xdb5ddd)=>_0x30cef1(_0x3a392c[_0x164b95(0x182)])-_0x30cef1(_0xdb5ddd[_0x164b95(0x182)]));}}function _0x2b68(){const _0x1ce78e=['_appendChild','getChild','editingDowncast','isAtEnd','createText','DocumentCompare','deleteContent','batch','target','marker','split','rejectChange','affectsData','requires','every','howMany','includes','afterInit','offsetSize','position','backward','document','for','innerHTML','clearAllMarkers','createPositionAt','flat','isInline','applyOperation','getRange','ai-review-mode','333520XpJpnj','_clone','hasContentAfter','ck-ai_review-mode-marker_strikethrough','isTouching','9352qStuYZ','map','dataDowncast','baseVersion','documentFragment','hasContentBefore','_domEmitter','createDocumentFragment','processor','getDiff','getPath','createPositionAfter','emitter','_shiftOperation','click','_getOperationStart','419265trumhM','data','switchToReadOnly','_eventEmitter','$textProxy','viewToDom','attributeToAttribute','ck-ai_review-mode-marker_underline','listenTo','data-marker-id','ck-ai_review-mode-marker_context-start','_changeRange','getAttribute','remove-text','_findAdjacentContextDistance','30KHHDzk','isAtStart','_changeOperationOwnerDocument','hasAttribute','createSelection','addOperation','AIReviewModeEditing','span','ck-ai_review-mode-marker_','history','_markers','disableReadOnlyMode','createRawElement','sort','_setAttribute','_nextDataId','getMarkerElementForChange','hasClass','No\x20element\x20found\x20for\x20ID:\x20','offset','removeMarker','name','parent','_getOperationEnd','context','6730dnIQSs','elements','createRange','operationsIsolated','1958133edRdXd','delete','outerHTML','plugins','operationsA','diffContent','length','end','insert','newRange','index','append','_removeChildren','enableReadOnlyMode','$markedRemove','add','conversion','exec','getRoots','$documentFragment','getDocumentData','version','isOfficialPlugin','markChangePositionInEditorContent','isPremiumPlugin','markers','ck-ai_review-mode-marker_add','110eCdMPI','suggestion-context','_translateOperationToEditorContent','type','getEditor','markerToElement','isDocumentOperation','_insertMarkers','clear','downcast','getHtml','getDomRoot','getChildren','parentElement','1980640BGGJBo','_changePosition','pluginName','ellipsisAfter','getOperations','groupId','childCount','warn','caption','suggestion:insertion:id:authorId:','schema','path','start','markerToHighlight','startsWith','view','_findMarkerElement','set','element','jumpTo','change','_getChangeContext','_changePositionOwnerDocument','toView','_changeRangeOwnerDocument','push','ck-ai_review-mode-marker_context-','stringify','suggestion:deletion:id:authorId:','toDomElement','switchToEdit','querySelector','remove-only','getRoot','className','from','markerName','ck-ai_review-mode-marker_context-end','5754zdXZQH','_createGetContentUsingDataIdFn','_createGetContextFn','domConverter','parse','isOpening','_getMarkersDataForGroup','ellipsisBefore','forward','nodes','htmlProcessor','insertContent','remove-context','text','_removeAttribute','changeMarkerClick','htmlWriter','ck-ai_review-mode-marker_hide','1549518CpTnyH','get','toData','keys','clone','pop','_groupAdjacentOperations','values','model','editing','concat','[data-id=\x22','applyChange','oldRange','addMarker','AIEditing','getShiftedBy','model:$text','filter','createUIElement','fire','reviewmode-','_sortMarkers','[data-marker-id=\x22','_createGetContentFn'];_0x2b68=function(){return _0x1ce78e;};return _0x2b68();}
23
+ const _0x3fe4f6=_0x595c;(function(_0x187fda,_0x363e86){const _0x1aea45=_0x595c,_0x28b295=_0x187fda();while(!![]){try{const _0x5f00d7=-parseInt(_0x1aea45(0x104))/0x1+parseInt(_0x1aea45(0xb3))/0x2+-parseInt(_0x1aea45(0x11c))/0x3*(parseInt(_0x1aea45(0xfa))/0x4)+-parseInt(_0x1aea45(0x116))/0x5*(parseInt(_0x1aea45(0xfc))/0x6)+-parseInt(_0x1aea45(0x83))/0x7*(-parseInt(_0x1aea45(0x98))/0x8)+-parseInt(_0x1aea45(0x148))/0x9*(parseInt(_0x1aea45(0x90))/0xa)+parseInt(_0x1aea45(0xc1))/0xb*(parseInt(_0x1aea45(0xe9))/0xc);if(_0x5f00d7===_0x363e86)break;else _0x28b295['push'](_0x28b295['shift']());}catch(_0x5e1489){_0x28b295['push'](_0x28b295['shift']());}}}(_0x4f61,0x36a3b));import{InsertOperation as _0x45d087,MarkerOperation as _0x1892dc,ModelDocumentFragment as _0x33afe0,ModelPosition as _0x5d4b2f,ModelRange as _0x2ea32e,ModelTreeWalker as _0x47e8ed,transformOperationSets as _0x25af43}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x40fd5d,EmitterMixin as _0x4ec5c9}from'ckeditor5/src/utils.js';import{ContextPlugin as _0xe18ca9}from'ckeditor5/src/core.js';import{DocumentCompare as _0x57c3da,DATA_ID_MODEL_ATTRIBUTE as _0x494f8c,DATA_ID_VIEW_ATTRIBUTE as _0x28a690}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x5b0a84}from'../aicore/utils/geteditorfromcontext.js';function _0x4f61(){const _0xc92c83=['parent','36zkcFno','name','createUIElement','_appendChild','documentFragment','isAtStart','_changeOperationOwnerDocument','enableReadOnlyMode','199016OzlgGT','add','isInline','_changeRangeOwnerDocument','addMarker','_groupAdjacentOperations','every','parse','_getMarkersDataForGroup','conversion','get','baseVersion','DocumentCompare','flat','No\x20element\x20found\x20for\x20ID:\x20','insertContent','editing','suggestion:insertion:id:authorId:','187470UkdWHY','startsWith','markerToHighlight','stringify','getRoots','ck-ai_review-mode-marker_context-','9cvwYHh','_changePositionOwnerDocument','createPositionAt','createPositionAfter','createDocumentFragment','isPremiumPlugin','toView','_changePosition','markerToElement','createText','target','push','isOpening','isAtEnd','AIReviewModeEditing','_changeRange','remove-context','AIEditing','clearAllMarkers','delete','_eventEmitter','pluginName','offset','values','_setAttribute','_domEmitter','[data-marker-id=\x22','batch','toData','outerHTML','innerHTML','_getOperationStart','offsetSize','remove-text','ck-ai_review-mode-marker_hide','ck-ai_review-mode-marker_add','remove-only','$documentFragment','schema','_createGetContentUsingDataIdFn','requires','createRange','elements','getShiftedBy','3297744YaBQwB','split','pop','getChildren','index','getRange','data','_removeChildren','className','listenTo','dataDowncast','set','childCount','map','length','append','isOfficialPlugin','keys','_markers','switchToReadOnly','for','querySelector','document','56cwWFzp','hasContentBefore','ck-ai_review-mode-marker_underline','caption','hasClass','getDocumentData','clear','ck-ai_review-mode-marker_strikethrough','filter','_createGetContextFn','removeMarker','sort','view','10RntoIc','domConverter','hasContentAfter','howMany','element','getEditor','_getOperationEnd','insert','112960FWDAFh','changeMarkerClick','addOperation','_findMarkerElement','nodes','[data-id=\x22','end','groupId','disableReadOnlyMode','start','getDomRoot','oldRange','isTouching','ellipsisBefore','span','afterInit','jumpTo','createSelection','ck-ai_review-mode-marker_context-start','text','emitter','toDomElement','clone','_insertMarkers','path','ellipsisAfter','_clone','710212XcXRta','viewToDom','fire','applyOperation','marker','context','markers','concat','change','position','operationsA','htmlProcessor','operationsIsolated','ck-ai_review-mode-marker_','11ITZbPd','downcast','getRoot','_removeAttribute','forward','getAttribute','version','diffContent','markChangePositionInEditorContent','ck-ai_review-mode-marker_context-end','model:$text','model','suggestion-context','attributeToAttribute','editingDowncast','type','_findAdjacentContextDistance','suggestion:deletion:id:authorId:','htmlWriter','getOperations','from','includes','createRawElement','switchToEdit','click','newRange','affectsData','getChild','getPath','reviewmode-','warn','_sortMarkers','$textProxy','exec','data-marker-id','_shiftOperation','ai-review-mode','isDocumentOperation','history','processor','10659288zlTWbo','backward','hasAttribute','_nextDataId','deleteContent','_getChangeContext','applyChange','_createGetContentFn','plugins','getMarkerElementForChange','parentElement','rejectChange','_translateOperationToEditorContent','getDiff','getHtml','markerName','$markedRemove','456188zSmZhb'];_0x4f61=function(){return _0xc92c83;};return _0x4f61();}import{AIEditing as _0x1c9927}from'../aicore/aiediting.js';function _0x595c(_0x44b9df,_0x1aec67){const _0x4f610f=_0x4f61();return _0x595c=function(_0x595cc9,_0x1f672c){_0x595cc9=_0x595cc9-0x83;let _0x45350a=_0x4f610f[_0x595cc9];return _0x45350a;},_0x595c(_0x44b9df,_0x1aec67);}const ae=_0x3fe4f6(0xde);export class AIReviewModeEditing extends _0xe18ca9{static get[_0x3fe4f6(0x131)](){const _0x5198f2=_0x3fe4f6;return _0x5198f2(0x12a);}static get[_0x3fe4f6(0x144)](){return[_0x57c3da,_0x1c9927];}static get[_0x3fe4f6(0x158)](){return!0x0;}static get[_0x3fe4f6(0x121)](){return!0x0;}[_0x3fe4f6(0x15a)]=new Map();[_0x3fe4f6(0x135)];[_0x3fe4f6(0x130)];constructor(_0x1a4676){const _0x1b9306=_0x3fe4f6;super(_0x1a4676),this[_0x1b9306(0x135)]=new(_0x40fd5d())(),this[_0x1b9306(0x130)]=new(_0x4ec5c9())();}get[_0x3fe4f6(0xac)](){const _0x7ef37f=_0x3fe4f6;return this[_0x7ef37f(0x130)];}[_0x3fe4f6(0xa7)](){const _0x141689=_0x3fe4f6,_0x470c81=_0x5b0a84(this[_0x141689(0xb8)]);_0x470c81[_0x141689(0x10d)][_0x141689(0x15c)](_0x141689(0xcf))[_0x141689(0x124)]({'model':ae+_0x141689(0x97),'view':(_0x2790fe,{writer:_0x192a9a})=>{const _0x403d03=_0x141689,_0x1f5fec=this[_0x403d03(0x15a)][_0x403d03(0x10e)](_0x2790fe[_0x403d03(0xf8)]),_0x3a69c6={'class':_0x403d03(0x13f),'data-marker-id':_0x2790fe[_0x403d03(0xf8)]};return _0x192a9a[_0x403d03(0xfe)](_0x403d03(0xa6),_0x3a69c6,function(_0x164e6a){const _0x1c1d41=_0x403d03,_0xf0410f=this[_0x1c1d41(0xad)](_0x164e6a);return _0xf0410f[_0x1c1d41(0x13a)]=_0x1f5fec?.[_0x1c1d41(0xab)]||'',_0xf0410f;});}}),_0x470c81[_0x141689(0x10d)][_0x141689(0x15c)](_0x141689(0xcf))[_0x141689(0x118)]({'model':ae+_0x141689(0x140),'view':_0x23a231=>({'classes':_0x141689(0x8a),'attributes':{'data-marker-id':_0x23a231[_0x141689(0xf8)]}})}),_0x470c81[_0x141689(0x10d)][_0x141689(0x15c)](_0x141689(0xcf))[_0x141689(0x118)]({'model':ae+_0x141689(0x12c),'view':_0x4faa62=>({'classes':_0x141689(0x85),'attributes':{'data-marker-id':_0x4faa62[_0x141689(0xf8)]}})}),_0x470c81[_0x141689(0x10d)][_0x141689(0x15c)](_0x141689(0xcf))[_0x141689(0x118)]({'model':ae+_0x141689(0x13d),'view':_0x65117a=>({'classes':_0x141689(0x13e),'attributes':{'data-marker-id':_0x65117a[_0x141689(0xf8)]}})}),_0x470c81[_0x141689(0x10d)][_0x141689(0x15c)](_0x141689(0x152))[_0x141689(0x124)]({'model':ae+_0x141689(0xcd),'view':(_0x1ba834,{writer:_0x4c0f16})=>_0x4c0f16[_0x141689(0xd7)](_0x141689(0xa6),{'class':_0x141689(0x11b)+(_0x1ba834[_0x141689(0x128)]?_0x141689(0xa1):_0x141689(0x9e))})}),_0x470c81[_0x141689(0x10d)][_0x141689(0x15c)](_0x141689(0xc2))[_0x141689(0xce)]({'model':_0x494f8c,'view':_0x28a690}),this[_0x141689(0x135)][_0x141689(0x151)](document,_0x141689(0xd9),(_0xdbd8ed,_0x318caf)=>{const _0x5ea45c=_0x141689,_0xbd4bc6=_0x318caf[_0x5ea45c(0x126)],_0x562160=this[_0x5ea45c(0x9b)](_0xbd4bc6);if(!_0x562160)return;const _0x4a8421=_0x562160[_0x5ea45c(0xc6)](_0x5ea45c(0xe3)),_0x13b2f0=_0x4a8421[_0x5ea45c(0x149)](':')[_0x5ea45c(0x14a)]()?.[_0x5ea45c(0x149)]('_')[0x0];this[_0x5ea45c(0x130)][_0x5ea45c(0xb5)](_0x5ea45c(0x99),{'markerId':_0x4a8421,'changeId':_0x13b2f0});});}[_0x3fe4f6(0x88)](){const _0x4edde1=_0x3fe4f6,_0x44c9b3=this[_0x4edde1(0xb8)][_0x4edde1(0xf1)][_0x4edde1(0x10e)](_0x4edde1(0x12d)),_0x2058ed=_0x5b0a84(this[_0x4edde1(0xb8)]),_0x2c54d9=_0x2058ed[_0x4edde1(0xcc)],_0x522865=new _0x33afe0();for(const _0x11c11d of _0x2c54d9[_0x4edde1(0x15e)][_0x4edde1(0xc3)]()[_0x4edde1(0x14b)]()){const _0x16e821=_0x11c11d[_0x4edde1(0xb2)](!0x0);_0x522865[_0x4edde1(0xff)](_0x16e821);}for(const _0x4a7a60 of _0x2c54d9[_0x4edde1(0xb9)])_0x522865[_0x4edde1(0xb9)][_0x4edde1(0x153)](_0x4a7a60[_0x4edde1(0xfd)],this[_0x4edde1(0x107)](_0x4a7a60[_0x4edde1(0x14d)]()[_0x4edde1(0xae)](),_0x522865));const _0x175e40=new _0x47e8ed({'ignoreElementEnd':!0x0,'startPosition':_0x2c54d9[_0x4edde1(0x11e)](_0x522865,0x0)}),_0x5e4898=new Set(),_0x3bce35=new Map();for(const {item:_0x5e9b41}of _0x175e40){if(!_0x5e9b41['is'](_0x4edde1(0xe1)))continue;const _0x32c409=_0x5e9b41[_0x4edde1(0xfb)];if((!_0x32c409||!_0x32c409['is'](_0x4edde1(0x94),_0x4edde1(0x86)))&&(_0x32c409&&_0x32c409['is'](_0x4edde1(0x94)))){let _0x3863ae=_0x32c409[_0x4edde1(0xc6)](_0x494f8c);_0x3863ae||(_0x3863ae=_0x44c9b3[_0x4edde1(0xec)](_0x5e4898),_0x32c409[_0x4edde1(0x134)](_0x494f8c,_0x3863ae)),_0x5e4898[_0x4edde1(0x105)](_0x3863ae);let _0xe00b3a=_0x32c409;for(;_0xe00b3a[_0x4edde1(0xfb)]&&!_0xe00b3a[_0x4edde1(0xfb)]['is'](_0x4edde1(0x100));)_0xe00b3a=_0xe00b3a[_0x4edde1(0xfb)],_0xe00b3a[_0x4edde1(0xeb)](_0x494f8c)&&_0xe00b3a[_0x4edde1(0xc4)](_0x494f8c);_0x3bce35[_0x4edde1(0x153)](_0x3863ae,{'path':_0x32c409[_0x4edde1(0xdd)](),'getContent':this[_0x4edde1(0x143)](_0xe00b3a[_0x4edde1(0xb2)](!0x0),_0x3863ae,_0x2058ed[_0x4edde1(0x14e)])}),_0x175e40[_0x4edde1(0xa8)](_0x2c54d9[_0x4edde1(0x11f)](_0x32c409));}}return{'content':_0x2058ed[_0x4edde1(0x14e)][_0x4edde1(0xe8)][_0x4edde1(0x138)](_0x2058ed[_0x4edde1(0x14e)][_0x4edde1(0x122)](_0x522865)),'version':_0x2058ed[_0x4edde1(0xcc)][_0x4edde1(0x15e)][_0x4edde1(0xc7)],'elements':_0x3bce35};}[_0x3fe4f6(0xc8)](_0x1d5a94,_0x5bf4af){const _0x16c680=_0x3fe4f6,_0x56d71f=_0x5b0a84(this[_0x16c680(0xb8)]),_0x2f884c=_0x56d71f[_0x16c680(0x14e)][_0x16c680(0x10b)](_0x1d5a94,_0x16c680(0x141)),_0x347422=_0x56d71f[_0x16c680(0xcc)][_0x16c680(0x11e)](_0x2f884c,0x0),_0x431cdf=this[_0x16c680(0xb8)][_0x16c680(0xf1)][_0x16c680(0x10e)](_0x16c680(0x110))[_0x16c680(0xf6)](_0x1d5a94,_0x5bf4af,{'anchor':_0x347422,'markDeletions':!0x0})[_0x16c680(0xd4)]()[_0x16c680(0x8b)](_0x60b48e=>_0x16c680(0x97)===_0x60b48e[_0x16c680(0xd0)]||_0x16c680(0xb7)===_0x60b48e[_0x16c680(0xd0)]&&_0x60b48e[_0x16c680(0xfd)][_0x16c680(0x117)](_0x16c680(0xf9))),_0x16a854=this[_0x16c680(0x109)](_0x431cdf),_0x1fb34f=[];let _0x5306bd=0x0;return _0x56d71f[_0x16c680(0xcc)][_0x16c680(0xbb)](_0x44d36b=>{const _0x56e70f=_0x16c680;for(let _0x45d745=0x0;_0x45d745<_0x16a854[_0x56e70f(0x156)];_0x45d745++){const _0x69bd1d=_0x16a854[_0x45d745],_0x5ea24e=_0x44d36b[_0x56e70f(0x120)]();for(const _0x1a0cfa of _0x2f884c[_0x56e70f(0x14b)]())_0x44d36b[_0x56e70f(0x157)](_0x1a0cfa[_0x56e70f(0xb2)](!0x0),_0x5ea24e);for(const _0x161f18 of _0x69bd1d[_0x56e70f(0xbf)])if(_0x56e70f(0x97)===_0x161f18[_0x56e70f(0xd0)]){const _0x5b05a2=_0x161f18;_0x5b05a2[_0x56e70f(0x10f)]=null,_0x5b05a2[_0x56e70f(0xe6)]=!0x1,this[_0x56e70f(0x102)](_0x5b05a2,_0x5ea24e),_0x44d36b[_0x56e70f(0x137)][_0x56e70f(0x9a)](_0x161f18),_0x56d71f[_0x56e70f(0xcc)][_0x56e70f(0xb6)](_0x161f18);const _0x2aba70=_0x56e70f(0x115)+_0x5306bd++,_0x45d883=_0x56d71f[_0x56e70f(0xcc)][_0x56e70f(0x145)](_0x5b05a2[_0x56e70f(0xbc)],_0x5b05a2[_0x56e70f(0xbc)][_0x56e70f(0x147)](_0x5b05a2[_0x56e70f(0x93)]));_0x5ea24e[_0x56e70f(0xb9)][_0x56e70f(0x153)](_0x2aba70,_0x45d883);}else{if(_0x56e70f(0xb7)===_0x161f18[_0x56e70f(0xd0)]&&_0x161f18[_0x56e70f(0xfd)][_0x56e70f(0x117)](_0x56e70f(0xf9))){const _0x25d09e=_0x161f18,_0x37bbe5=_0x56e70f(0xd2)+_0x5306bd++;this[_0x56e70f(0x102)](_0x25d09e,_0x5ea24e),_0x5ea24e[_0x56e70f(0xb9)][_0x56e70f(0x153)](_0x37bbe5,_0x25d09e[_0x56e70f(0xda)]);}}const _0x5767a3=this[_0x56e70f(0xee)](this[_0x56e70f(0x11d)](this[_0x56e70f(0x13b)](_0x69bd1d[_0x56e70f(0xbf)][0x0]),_0x5ea24e),this[_0x56e70f(0x11d)](this[_0x56e70f(0x96)](_0x69bd1d[_0x56e70f(0xbf)][_0x69bd1d[_0x56e70f(0xbf)][_0x56e70f(0x156)]-0x1]),_0x5ea24e));_0x5ea24e[_0x56e70f(0xb9)][_0x56e70f(0x153)](ae+_0x56e70f(0xcd),new _0x2ea32e(_0x5767a3[_0x56e70f(0xa1)],_0x5767a3[_0x56e70f(0x9e)])),_0x1fb34f[_0x56e70f(0x127)]({..._0x69bd1d,'context':this[_0x56e70f(0x8c)](_0x5ea24e,_0x56d71f[_0x56e70f(0x14e)],{'ellipsisBefore':_0x5767a3[_0x56e70f(0x84)],'ellipsisAfter':_0x5767a3[_0x56e70f(0x92)]}),'content':this[_0x56e70f(0xf0)](_0x5ea24e,_0x56d71f[_0x56e70f(0x14e)])});}}),_0x1fb34f;}[_0x3fe4f6(0xc9)](_0x2a0bc2,_0x28cc9f){const _0x54279d=_0x3fe4f6,_0x16f3be=_0x2a0bc2[0x0][_0x54279d(0xfb)]['id'],_0x46c3b2=_0x28cc9f[_0x54279d(0x146)][_0x54279d(0x10e)](_0x16f3be);if(!_0x46c3b2)return void console[_0x54279d(0xdf)](_0x54279d(0x112)+_0x16f3be);const _0x3391dc=_0x46c3b2[_0x54279d(0xb0)],_0xfcfcbb=_0x5b0a84(this[_0x54279d(0xb8)]),_0x1c4812=_0xfcfcbb[_0x54279d(0xcc)][_0x54279d(0x15e)][_0x54279d(0xe7)][_0x54279d(0xd4)](_0x28cc9f[_0x54279d(0xc7)]),_0x3da8a3=[];for(const _0x1d4865 of _0x2a0bc2){const _0x3ff99d=_0x1d4865[_0x54279d(0xbf)][_0x54279d(0x155)](_0x14ab28=>this[_0x54279d(0xf5)](_0x14ab28,_0x3391dc,_0xfcfcbb[_0x54279d(0xcc)][_0x54279d(0x15e)][_0x54279d(0x11a)]()[0x0]));if(!_0x3ff99d||!_0x3ff99d[_0x54279d(0x156)])continue;const _0x32ba7e=_0x3ff99d[_0x54279d(0x10a)](_0x1f1ca3=>_0x54279d(0xb7)===_0x1f1ca3[_0x54279d(0xd0)]&&_0x1f1ca3[_0x54279d(0xfd)][_0x54279d(0x117)](_0x54279d(0xf9))),_0x5b726b={'document':_0xfcfcbb[_0x54279d(0xcc)][_0x54279d(0x15e)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x565d3c=_0x25af43(_0x3ff99d,_0x1c4812,_0x5b726b)[_0x54279d(0xbd)];for(const _0x6c9943 of _0x565d3c)if(_0x54279d(0x97)===_0x6c9943[_0x54279d(0xd0)]){const _0x508628=_0x6c9943,_0x2d1ce8=_0x508628[_0x54279d(0x9c)];let _0x9cceaa='';for(const _0x48a30a of _0x2d1ce8)_0x48a30a&&_0x48a30a['is'](_0x54279d(0xcb))&&(_0x9cceaa+=_0x48a30a[_0x54279d(0x14e)]);_0x3da8a3[_0x54279d(0x127)]({'start':_0x508628[_0x54279d(0xbc)],'end':_0x508628[_0x54279d(0xbc)],'type':_0x54279d(0x97),'groupId':_0x1d4865['id'],'text':_0x9cceaa});}else{if(_0x54279d(0xb7)===_0x6c9943[_0x54279d(0xd0)]&&_0x6c9943[_0x54279d(0xfd)][_0x54279d(0x117)](_0x54279d(0xf9))){const _0x18fbcb=_0x6c9943;let _0x2b16c4=_0x54279d(0x13d);if(_0x32ba7e){const _0x5e98a2=this[_0x54279d(0xd1)](_0x18fbcb[_0x54279d(0xda)][_0x54279d(0xa1)],_0x54279d(0xea),_0xfcfcbb[_0x54279d(0xcc)][_0x54279d(0x142)]),_0xddee5a=this[_0x54279d(0xd1)](_0x18fbcb[_0x54279d(0xda)][_0x54279d(0x9e)],_0x54279d(0xc5),_0xfcfcbb[_0x54279d(0xcc)][_0x54279d(0x142)]);if(_0x5e98a2||_0xddee5a){const _0x2b3150=_0x18fbcb[_0x54279d(0xda)][_0x54279d(0xa1)][_0x54279d(0x147)](-_0x5e98a2),_0x11df76=_0x18fbcb[_0x54279d(0xda)][_0x54279d(0x9e)][_0x54279d(0x147)](_0xddee5a);_0x3da8a3[_0x54279d(0x127)]({'start':_0x2b3150,'end':_0x11df76,'groupId':_0x1d4865['id'],'type':_0x54279d(0x12c)});}else _0x2b16c4=_0x54279d(0x140);}_0x3da8a3[_0x54279d(0x127)]({'start':_0x18fbcb[_0x54279d(0xda)][_0x54279d(0xa1)],'end':_0x18fbcb[_0x54279d(0xda)][_0x54279d(0x9e)],'groupId':_0x1d4865['id'],'type':_0x2b16c4});}}}this[_0x54279d(0xaf)](_0x3da8a3);}[_0x3fe4f6(0x12e)](){const _0x896650=_0x3fe4f6;_0x5b0a84(this[_0x896650(0xb8)])[_0x896650(0xcc)][_0x896650(0xbb)](_0x473d68=>{const _0x38097c=_0x896650;for(const _0x9ab4f1 of this[_0x38097c(0x15a)][_0x38097c(0x159)]())_0x473d68[_0x38097c(0x8d)](_0x9ab4f1);}),this[_0x896650(0x15a)][_0x896650(0x89)]();}[_0x3fe4f6(0x15b)](){const _0x3ffbea=_0x3fe4f6;_0x5b0a84(this[_0x3ffbea(0xb8)])[_0x3ffbea(0x103)](_0x3ffbea(0xe5));}[_0x3fe4f6(0xd8)](){const _0x599d78=_0x3fe4f6;_0x5b0a84(this[_0x599d78(0xb8)])[_0x599d78(0xa0)](_0x599d78(0xe5));}[_0x3fe4f6(0xef)](_0x40e3b0){const _0x1ef65f=_0x3fe4f6,_0x2e207c=_0x5b0a84(this[_0x1ef65f(0xb8)]),_0xdac449=_0x2e207c[_0x1ef65f(0xcc)],_0x2ee28d=_0x40e3b0[_0x1ef65f(0x155)](_0x391836=>this[_0x1ef65f(0x10c)](_0x391836))[_0x1ef65f(0x111)]();_0xdac449[_0x1ef65f(0xbb)](_0x32af94=>{const _0x23e74c=_0x1ef65f;for(const _0x332500 of _0x2ee28d){const _0x37a739=_0x2e207c[_0x23e74c(0xcc)][_0x23e74c(0xb9)][_0x23e74c(0x10e)](_0x332500['id']);_0x37a739&&(_0x23e74c(0x97)===_0x332500[_0x23e74c(0xd0)]?_0xdac449[_0x23e74c(0x113)](_0x32af94[_0x23e74c(0x125)](_0x332500[_0x23e74c(0xab)]||''),_0x37a739[_0x23e74c(0x14d)]()[_0x23e74c(0xa1)]):_0x23e74c(0x13d)!==_0x332500[_0x23e74c(0xd0)]&&_0x23e74c(0x140)!==_0x332500[_0x23e74c(0xd0)]||_0xdac449[_0x23e74c(0xed)](_0xdac449[_0x23e74c(0xa9)](_0x37a739[_0x23e74c(0x14d)]())),_0x32af94[_0x23e74c(0x8d)](_0x332500['id']),this[_0x23e74c(0x15a)][_0x23e74c(0x12f)](_0x332500['id']));}});}[_0x3fe4f6(0xf4)](_0x49b951){const _0xf5fe6c=_0x3fe4f6,_0x342367=_0x5b0a84(this[_0xf5fe6c(0xb8)]),_0x4e3ab4=this[_0xf5fe6c(0x10c)](_0x49b951);_0x342367[_0xf5fe6c(0xcc)][_0xf5fe6c(0xbb)](_0x3a0ad0=>{const _0x1403bf=_0xf5fe6c;for(const _0xd72dba of _0x4e3ab4)_0x3a0ad0[_0x1403bf(0x8d)](_0xd72dba['id']),this[_0x1403bf(0x15a)][_0x1403bf(0x12f)](_0xd72dba['id']);});}[_0x3fe4f6(0x95)](){const _0x22cf8c=_0x3fe4f6;return _0x5b0a84(this[_0x22cf8c(0xb8)]);}[_0x3fe4f6(0xf2)](_0x3cc7bc){const _0x4ecf3d=_0x3fe4f6,_0x430933=Array[_0x4ecf3d(0xd5)](this[_0x4ecf3d(0x15a)][_0x4ecf3d(0x133)]())[_0x4ecf3d(0x8b)](_0x44bf82=>_0x44bf82[_0x4ecf3d(0x9f)]===_0x3cc7bc);if(!_0x430933[_0x4ecf3d(0x156)])return null;const _0x374cac=0x1===_0x430933[_0x4ecf3d(0x156)]?_0x430933[0x0]:this[_0x4ecf3d(0xe0)](_0x430933)[0x0],_0x3cb3e9=_0x5b0a84(this[_0x4ecf3d(0xb8)]),_0x403b5c=_0x3cb3e9[_0x4ecf3d(0xcc)][_0x4ecf3d(0xb9)][_0x4ecf3d(0x10e)](_0x374cac['id']);if(!_0x403b5c)return null;const _0x499866=_0x403b5c[_0x4ecf3d(0x14d)](),_0x431b4e=_0x3cb3e9[_0x4ecf3d(0x114)][_0x4ecf3d(0x8f)][_0x4ecf3d(0xa2)]();if(!_0x431b4e||!_0x499866)return null;const _0x29e2d6=_0x431b4e[_0x4ecf3d(0x15d)](_0x4ecf3d(0x136)+_0x374cac['id']+'\x22]');return _0x29e2d6?{'modelRange':_0x499866,'domElement':_0x29e2d6}:null;}[_0x3fe4f6(0xf5)](_0x32f0a6,_0x3966d9,_0x5c3c47){const _0x132510=_0x3fe4f6;if(_0x132510(0x97)===_0x32f0a6[_0x132510(0xd0)]){const _0x1f5d4a=_0x32f0a6;return new _0x45d087(this[_0x132510(0x123)](_0x1f5d4a[_0x132510(0xbc)],_0x3966d9[_0x132510(0xba)](_0x1f5d4a[_0x132510(0xbc)][_0x132510(0x132)]),_0x5c3c47),_0x1f5d4a[_0x132510(0x9c)],_0x1f5d4a[_0x132510(0x10f)]);}if(_0x132510(0xb7)===_0x32f0a6[_0x132510(0xd0)]&&_0x32f0a6[_0x132510(0xfd)][_0x132510(0x117)](_0x132510(0xf9))){const _0x1eebb5=_0x32f0a6;return new _0x1892dc(_0x1eebb5[_0x132510(0xfd)],_0x1eebb5[_0x132510(0xa3)],this[_0x132510(0x12b)](_0x1eebb5[_0x132510(0xda)],_0x3966d9[_0x132510(0xba)](_0x1eebb5[_0x132510(0xda)][_0x132510(0xa1)][_0x132510(0x132)]),_0x3966d9[_0x132510(0xba)](_0x1eebb5[_0x132510(0xda)][_0x132510(0x9e)][_0x132510(0x132)]),_0x5c3c47),_0x1eebb5[_0x132510(0x15a)],_0x1eebb5[_0x132510(0xdb)],_0x1eebb5[_0x132510(0x10f)]);}return _0x32f0a6;}[_0x3fe4f6(0x109)](_0x32d40c){const _0x35c4b9=_0x3fe4f6;if(!_0x32d40c[_0x35c4b9(0x156)])return[];const _0x41477a=[];let _0x16726b=0x0,_0x50e634=0x0,_0x404d69=[];for(let _0x198f0d=0x0;_0x198f0d<=_0x32d40c[_0x35c4b9(0x156)];_0x198f0d++){const _0x2a46f4=_0x32d40c[_0x198f0d],_0x5b6ada=_0x32d40c[_0x198f0d-0x1];!_0x2a46f4||_0x5b6ada&&!this[_0x35c4b9(0x96)](_0x5b6ada)[_0x35c4b9(0xa4)](this[_0x35c4b9(0x13b)](_0x2a46f4))?(_0x41477a[_0x35c4b9(0x127)]({'operations':_0x404d69,'operationsIsolated':_0x404d69[_0x35c4b9(0x155)](_0x3e5310=>this[_0x35c4b9(0xe4)](_0x3e5310[_0x35c4b9(0xae)](),-_0x50e634)),'groupOffset':_0x16726b}),_0x404d69=_0x2a46f4?[_0x2a46f4]:[],_0x50e634+=_0x16726b,_0x16726b=0x0):_0x404d69[_0x35c4b9(0x127)](_0x2a46f4),_0x2a46f4&&_0x35c4b9(0x97)===_0x2a46f4[_0x35c4b9(0xd0)]&&(_0x16726b+=_0x2a46f4[_0x35c4b9(0x93)]);}return _0x41477a;}[_0x3fe4f6(0xd1)](_0x1740e6,_0x160513,_0x17ab82,_0x10337d=0x1){const _0x28e6d4=_0x3fe4f6,_0x37c2c2=new _0x47e8ed({'startPosition':_0x1740e6,'direction':_0x160513});let _0x163287=0x0;for(let _0x2bcbaf=0x0;_0x2bcbaf<_0x10337d;_0x2bcbaf++){let _0x74bde0=0x0,_0x195b6e=!0x1,_0x497409=_0x28e6d4(0xc5)===_0x160513?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x5db49e}of _0x37c2c2)if(_0x5db49e['is'](_0x28e6d4(0xe1))){const _0x5d8cbd=_0x497409[_0x28e6d4(0xe2)](_0x5db49e[_0x28e6d4(0x14e)]);if(_0x5d8cbd&&_0x5d8cbd[_0x28e6d4(0x156)]){if(_0x74bde0+=_0x28e6d4(0xc5)===_0x160513?_0x5d8cbd[_0x28e6d4(0x14c)]+_0x5d8cbd[0x0][_0x28e6d4(0x156)]:_0x5db49e[_0x28e6d4(0x14e)][_0x28e6d4(0x156)]-_0x5d8cbd[_0x28e6d4(0x14c)],_0x5d8cbd[0x0][_0x28e6d4(0x156)]!==_0x5db49e[_0x28e6d4(0x14e)][_0x28e6d4(0x156)])break;_0x195b6e=!0x0,_0x497409=_0x28e6d4(0xc5)===_0x160513?/^\w+/:/\w+$/;}else{if(_0x195b6e)break;_0x74bde0+=_0x5db49e[_0x28e6d4(0x13c)];}}else{if(_0x5db49e['is'](_0x28e6d4(0x94))){_0x17ab82[_0x28e6d4(0x106)](_0x5db49e)&&!_0x195b6e&&(_0x74bde0+=0x1);break;}}_0x163287+=_0x74bde0,_0x37c2c2[_0x28e6d4(0xa8)](_0x1740e6[_0x28e6d4(0x147)](_0x28e6d4(0xc5)===_0x160513?_0x163287:-_0x163287));}return _0x163287;}[_0x3fe4f6(0xee)](_0x2e7919,_0x5e9e7a){const _0x46c60a=_0x3fe4f6,_0x2cca9b=_0x5b0a84(this[_0x46c60a(0xb8)])[_0x46c60a(0xcc)][_0x46c60a(0x142)],_0x2f1823=this[_0x46c60a(0xd1)](_0x2e7919,_0x46c60a(0xea),_0x2cca9b,0x6),_0x499dd7=this[_0x46c60a(0xd1)](_0x5e9e7a,_0x46c60a(0xc5),_0x2cca9b,0x6),_0x2d0670=_0x2e7919[_0x46c60a(0x147)](-_0x2f1823),_0x440ee0=_0x5e9e7a[_0x46c60a(0x147)](_0x499dd7);return{'start':_0x2d0670,'end':_0x440ee0,'hasContentBefore':!_0x2d0670[_0x46c60a(0x101)],'hasContentAfter':!_0x440ee0[_0x46c60a(0x129)]};}[_0x3fe4f6(0xaf)](_0x13c8f5){const _0x4420ec=_0x3fe4f6,_0x15c063=this[_0x4420ec(0xb8)][_0x4420ec(0xf1)][_0x4420ec(0x10e)](_0x4420ec(0x12d)),_0x5874cc=new Set();_0x5b0a84(this[_0x4420ec(0xb8)])[_0x4420ec(0xcc)][_0x4420ec(0xbb)](_0x215ceb=>{const _0x148833=_0x4420ec;for(const _0x4d4202 of _0x13c8f5){const _0x2c3cb9=''+ae+_0x4d4202[_0x148833(0xd0)]+':'+_0x4d4202[_0x148833(0x9f)]+'_'+_0x15c063[_0x148833(0xec)](_0x5874cc);this[_0x148833(0x15a)][_0x148833(0x153)](_0x2c3cb9,{'id':_0x2c3cb9,'groupId':_0x4d4202[_0x148833(0x9f)],'type':_0x4d4202[_0x148833(0xd0)],'text':_0x4d4202[_0x148833(0xab)]}),_0x215ceb[_0x148833(0x108)](_0x2c3cb9,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x215ceb[_0x148833(0x145)](_0x4d4202[_0x148833(0xa1)],_0x4d4202[_0x148833(0x9e)])});}});}[_0x3fe4f6(0x8c)](_0x2f28b0,_0x407503,_0x2e2f94){let _0x24830b='';return()=>{const _0x57f9b2=_0x595c;if(!_0x24830b){const _0x2b1c57=_0x407503[_0x57f9b2(0x122)](_0x2f28b0,{'showSuggestionHighlights':!0x0}),_0x42c72a=_0x2b1c57[_0x57f9b2(0xdc)](0x0);if(!_0x42c72a)return'';let _0x43b4ad=!0x1;const _0x1eca89=[];for(const _0x1488a2 of _0x42c72a[_0x57f9b2(0x14b)]())_0x1488a2['is'](_0x57f9b2(0x94),_0x57f9b2(0xa6))&&_0x1488a2[_0x57f9b2(0x87)](_0x57f9b2(0xca))&&(_0x43b4ad=!0x1),_0x43b4ad&&_0x1eca89[_0x57f9b2(0x127)](_0x1488a2),_0x1488a2['is'](_0x57f9b2(0x94),_0x57f9b2(0xa6))&&_0x1488a2[_0x57f9b2(0x87)](_0x57f9b2(0xaa))&&(_0x43b4ad=!0x0);_0x42c72a[_0x57f9b2(0x14f)](0x0,_0x42c72a[_0x57f9b2(0x154)]),_0x2e2f94?.[_0x57f9b2(0xa5)]&&_0x42c72a[_0x57f9b2(0xff)]('…'),_0x42c72a[_0x57f9b2(0xff)](_0x1eca89),_0x2e2f94?.[_0x57f9b2(0xb1)]&&_0x42c72a[_0x57f9b2(0xff)]('…');const _0xeaa543=_0x407503[_0x57f9b2(0xbe)][_0x57f9b2(0x91)][_0x57f9b2(0xb4)](_0x2b1c57),_0x15f98b=_0x407503[_0x57f9b2(0xbe)][_0x57f9b2(0xd3)][_0x57f9b2(0xf7)](_0xeaa543);_0x24830b=_0x15f98b;}return _0x24830b;};}[_0x3fe4f6(0xf0)](_0x429c1f,_0x31b283){const _0x2bc699=_0x3fe4f6;let _0x307669='';return()=>(_0x307669||(_0x307669=_0x31b283[_0x2bc699(0x119)](_0x429c1f,{'showSuggestionHighlights':!0x0})),_0x307669);}[_0x3fe4f6(0x143)](_0xeac566,_0x4ba036,_0x5c0c6a){let _0x38f3e8='';return()=>{const _0x27a3ef=_0x595c;if(!_0x38f3e8){const _0x202d8f=_0x5c0c6a[_0x27a3ef(0x122)](new _0x33afe0(_0xeac566)),_0x5b032a=_0x5c0c6a[_0x27a3ef(0xbe)][_0x27a3ef(0x91)][_0x27a3ef(0xb4)](_0x202d8f)[_0x27a3ef(0x15d)](_0x27a3ef(0x9d)+_0x4ba036+'\x22]');_0x38f3e8=_0x5b032a?.[_0x27a3ef(0x139)]||'';}return _0x38f3e8;};}[_0x3fe4f6(0x9b)](_0x54e21f,_0x2943f9=0x5){const _0x4fd915=_0x3fe4f6;let _0x396038=_0x54e21f,_0x399187=null;for(let _0x10b667=0x0;_0x10b667<_0x2943f9&&_0x396038;_0x10b667++){if(!_0x396038[_0x4fd915(0x150)]){_0x396038=_0x396038[_0x4fd915(0xf3)];continue;}if(!(''+_0x396038[_0x4fd915(0x150)])[_0x4fd915(0xd6)](_0x4fd915(0xc0))){_0x396038=_0x396038[_0x4fd915(0xf3)];continue;}if(!_0x396038[_0x4fd915(0xc6)](_0x4fd915(0xe3)))break;_0x399187=_0x396038;break;}return _0x399187;}[_0x3fe4f6(0x10c)](_0x43d179){const _0x5d1f3f=_0x3fe4f6;return Array[_0x5d1f3f(0xd5)](this[_0x5d1f3f(0x15a)][_0x5d1f3f(0x133)]())[_0x5d1f3f(0x8b)](_0x3998c2=>_0x3998c2[_0x5d1f3f(0x9f)]===_0x43d179);}[_0x3fe4f6(0x13b)](_0x1b00ee){const _0x34d5ce=_0x3fe4f6;return _0x34d5ce(0x97)===_0x1b00ee[_0x34d5ce(0xd0)]?_0x1b00ee[_0x34d5ce(0xbc)]:_0x1b00ee[_0x34d5ce(0xda)][_0x34d5ce(0xa1)];}[_0x3fe4f6(0x96)](_0x39899d,_0xda90e4=!0x1){const _0x4b096f=_0x3fe4f6;return _0x4b096f(0x97)===_0x39899d[_0x4b096f(0xd0)]?_0xda90e4?_0x39899d[_0x4b096f(0xbc)]:_0x39899d[_0x4b096f(0xbc)][_0x4b096f(0x147)](_0x39899d[_0x4b096f(0x93)]):_0x39899d[_0x4b096f(0xda)][_0x4b096f(0x9e)];}[_0x3fe4f6(0xe4)](_0xb92e04,_0x58501f){const _0x2e1e2b=_0x3fe4f6;return _0x2e1e2b(0x97)===_0xb92e04[_0x2e1e2b(0xd0)]?_0xb92e04[_0x2e1e2b(0xbc)]=_0xb92e04[_0x2e1e2b(0xbc)][_0x2e1e2b(0x147)](_0x58501f):_0x2e1e2b(0xb7)===_0xb92e04[_0x2e1e2b(0xd0)]&&_0xb92e04[_0x2e1e2b(0xda)]&&(_0xb92e04[_0x2e1e2b(0xda)]=new _0x2ea32e(_0xb92e04[_0x2e1e2b(0xda)][_0x2e1e2b(0xa1)][_0x2e1e2b(0x147)](_0x58501f),_0xb92e04[_0x2e1e2b(0xda)][_0x2e1e2b(0x9e)][_0x2e1e2b(0x147)](_0x58501f))),_0xb92e04;}[_0x3fe4f6(0x102)](_0x52018b,_0x56683a){const _0x48fa19=_0x3fe4f6;_0x48fa19(0x97)===_0x52018b[_0x48fa19(0xd0)]?_0x52018b[_0x48fa19(0xbc)]=this[_0x48fa19(0x11d)](_0x52018b[_0x48fa19(0xbc)],_0x56683a):_0x48fa19(0xb7)===_0x52018b[_0x48fa19(0xd0)]&&_0x52018b[_0x48fa19(0xda)]&&(_0x52018b[_0x48fa19(0xda)]=this[_0x48fa19(0x107)](_0x52018b[_0x48fa19(0xda)],_0x56683a));}[_0x3fe4f6(0x11d)](_0x2a5b9e,_0x5d8644){const _0x465d41=_0x3fe4f6;return new _0x5d4b2f(_0x5d8644,_0x2a5b9e[_0x465d41(0xb0)]);}[_0x3fe4f6(0x107)](_0x40d629,_0x36cad1){const _0x5efe7a=_0x3fe4f6;return new _0x2ea32e(this[_0x5efe7a(0x11d)](_0x40d629[_0x5efe7a(0xa1)],_0x36cad1),this[_0x5efe7a(0x11d)](_0x40d629[_0x5efe7a(0x9e)],_0x36cad1));}[_0x3fe4f6(0x123)](_0x3dd63,_0x25cf25,_0x2b1005){return new _0x5d4b2f(_0x2b1005,[..._0x25cf25]);}[_0x3fe4f6(0x12b)](_0x2d4108,_0x41e688,_0x21b513,_0x450114){const _0x327437=_0x3fe4f6;return new _0x2ea32e(this[_0x327437(0x123)](_0x2d4108[_0x327437(0xa1)],_0x41e688,_0x450114),this[_0x327437(0x123)](_0x2d4108[_0x327437(0x9e)],_0x21b513,_0x450114));}[_0x3fe4f6(0xe0)](_0x572546){const _0x5562d4=_0x3fe4f6,_0x462452=_0x361f6c=>{const _0x31216e=_0x595c;switch(_0x361f6c){case _0x31216e(0x97):return 0x1;case _0x31216e(0x12c):return 0x2;case _0x31216e(0x140):return 0x3;case _0x31216e(0x13d):return 0x4;}};return _0x572546[_0x5562d4(0x8e)]((_0x17027c,_0x45a816)=>_0x462452(_0x17027c[_0x5562d4(0xd0)])-_0x462452(_0x45a816[_0x5562d4(0xd0)]));}}
@@ -56,7 +56,7 @@ export declare class AIReviewModeUI extends ContextPlugin {
56
56
  }): void;
57
57
  showGeneralErrorView(): void;
58
58
  showChunkErrorView(): void;
59
- setCheckResultTitle(title: string): void;
59
+ setCheckResultTitle(title: string, subtitle?: string): void;
60
60
  setActiveStateInResults(id: string): void;
61
61
  resetActiveStateInResults(): void;
62
62
  updateChangeState(id: string, status: 'active' | 'accepted' | 'rejected'): void;
@@ -66,6 +66,8 @@ export declare class AIReviewModeUI extends ContextPlugin {
66
66
  hideActionsWhenResultIsReady(): void;
67
67
  showChangeBalloon(change: AIReviewCheckResultChange, target: HTMLElement): void;
68
68
  hideChangeBalloon(): void;
69
+ hideDiffInBalloon(): void;
70
+ showDiffInBalloon(): void;
69
71
  getChangeElement(changeId: string): HTMLElement | null;
70
72
  deactivateChange(): void;
71
73
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4c0e(){const _0x3f464b=['_bodyCollection','setAvailableChecks','hideChangeBalloon','6uwTuGg','view','forEach','delegate','showActionsWhenResultIsReady','getResults','AIReviewModeUI','2544625HQMfIx','1830820yNlikn','pluginName','3750384oVpIIl','leaveReviewModeResultList','detachFromDom','addCheckRunResult','get','_reviewModeView','dismissChange','setTitle','showChangeBalloon','acceptChange','showCheckRunResult','hideResult','error-general','setCheckResultTitle','acceptAllChanges','retryReview','75626tkFbcc','getReviewCheckList','showReviewCheckList','activateTab','1sSvzTq','leaveReviewMode','element','activateChange','hideActionsWhenResultIsReady','hideBalloon','reviewCheckResultsView','addTab','setItemAsActive','status','setChecks','plugins','isOfficialPlugin','runReviewCheck','updateChangeState','context','showBalloon','showReviewCheckListView','locale','2169jOJjGA','learnMore','showGeneralErrorView','abortReviewStream','showChunkErrorView','resetActiveStateInResults','isPremiumPlugin','hasChecks','showNoChangesView','1647852ueeSiD','attachToDom','find','toggleDiff','showReviewCompletedView','32390LiIGoV','finishReview','accepted','_reviewModeBalloonSuggestionItemView','reviewCheckListView','reviewMode','AI_REVIEW_MODE','destroy','showReviewCheckResultsView','AITabs','rejected','getChangeElement','setItemAsInactive','3681552UzMbus','deactivateChange','error-chunk','fire','showCheckRunResults','setActiveStateInResults','init','requires'];_0x4c0e=function(){return _0x3f464b;};return _0x4c0e();}const _0xd051d=_0x2fab;(function(_0x413579,_0x153cb6){const _0x4c5824=_0x2fab,_0x19469e=_0x413579();while(!![]){try{const _0x72e0=-parseInt(_0x4c5824(0x13c))/0x1*(parseInt(_0x4c5824(0x138))/0x2)+-parseInt(_0x4c5824(0x158))/0x3+-parseInt(_0x4c5824(0x126))/0x4+parseInt(_0x4c5824(0x125))/0x5*(parseInt(_0x4c5824(0x11e))/0x6)+parseInt(_0x4c5824(0x113))/0x7+-parseInt(_0x4c5824(0x128))/0x8+parseInt(_0x4c5824(0x14f))/0x9*(parseInt(_0x4c5824(0x15d))/0xa);if(_0x72e0===_0x153cb6)break;else _0x19469e['push'](_0x19469e['shift']());}catch(_0x4ed443){_0x19469e['push'](_0x19469e['shift']());}}}(_0x4c0e,0x49b24));function _0x2fab(_0x1b16f7,_0x5f12e6){const _0x4c0e09=_0x4c0e();return _0x2fab=function(_0x2fab6c,_0x44ee0d){_0x2fab6c=_0x2fab6c-0x108;let _0x3d9f2c=_0x4c0e09[_0x2fab6c];return _0x3d9f2c;},_0x2fab(_0x1b16f7,_0x5f12e6);}import{ContextPlugin as _0x775cfe}from'ckeditor5/src/core.js';import{IconAIReview as _0x1d7385}from'ckeditor5/src/icons.js';import{BodyCollection as _0x2fc87f}from'ckeditor5/src/ui.js';import{AITabs as _0x201366}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x393cda}from'./ui/aireviewmodeview.js';import{getTranslation as _0xc35077}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x46d56c}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0xd051d(0x139),_0xd051d(0x149),_0xd051d(0x152),_0xd051d(0x15b),_0xd051d(0x136),_0xd051d(0x129),_0xd051d(0x13f),_0xd051d(0x131),_0xd051d(0x12e),_0xd051d(0x150),_0xd051d(0x15e),_0xd051d(0x137)];export class AIReviewModeUI extends _0x775cfe{[_0xd051d(0x12d)];[_0xd051d(0x109)];[_0xd051d(0x11b)];static get[_0xd051d(0x11a)](){return[_0x201366];}static get[_0xd051d(0x127)](){const _0xac93fc=_0xd051d;return _0xac93fc(0x124);}static get[_0xd051d(0x148)](){return!0x0;}static get[_0xd051d(0x155)](){return!0x0;}constructor(_0x2e875d){const _0x168218=_0xd051d;super(_0x2e875d),this[_0x168218(0x11b)]=new _0x2fc87f(this[_0x168218(0x14b)][_0x168218(0x14e)]),this[_0x168218(0x11b)][_0x168218(0x159)](),this[_0x168218(0x12d)]=new _0x393cda(this[_0x168218(0x14b)][_0x168218(0x14e)]),this[_0x168218(0x12d)][_0x168218(0x121)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x168218(0x109)]=new _0x46d56c(this[_0x168218(0x14b)][_0x168218(0x14e)],this[_0x168218(0x11b)]),this[_0x168218(0x109)][_0x168218(0x121)](_0x168218(0x131),_0x168218(0x12e),_0x168218(0x114))['to'](this);}[_0xd051d(0x119)](){const _0x520e85=_0xd051d,_0x25fa4a=this[_0x520e85(0x14b)][_0x520e85(0x147)][_0x520e85(0x12c)](_0x520e85(0x10f));_0x25fa4a[_0x520e85(0x11f)]['on'](_0x520e85(0x13b),(_0x5758a5,_0x553057)=>{const _0x465bc8=_0x520e85;_0x465bc8(0x10b)===_0x553057?this[_0x465bc8(0x116)](_0x465bc8(0x139)):this[_0x465bc8(0x116)](_0x465bc8(0x13d));}),_0x25fa4a[_0x520e85(0x11f)][_0x520e85(0x143)]({'id':_0x520e85(0x10b),'buttonLabel':_0xc35077(this[_0x520e85(0x14b)][_0x520e85(0x14e)],_0x520e85(0x10c)),'buttonIcon':_0x1d7385,'order':0x0,'content':this[_0x520e85(0x12d)]});}[_0xd051d(0x10d)](){const _0x515e90=_0xd051d;this[_0x515e90(0x11b)][_0x515e90(0x12a)](),super[_0x515e90(0x10d)]();}[_0xd051d(0x11c)](_0x813c8b){const _0x421a7e=_0xd051d;this[_0x421a7e(0x12d)][_0x421a7e(0x10a)][_0x421a7e(0x156)]()||this[_0x421a7e(0x12d)][_0x421a7e(0x10a)][_0x421a7e(0x146)](_0x813c8b),this[_0x421a7e(0x12d)][_0x421a7e(0x14d)]();}[_0xd051d(0x13a)](){const _0x16a4c6=_0xd051d;this[_0x16a4c6(0x116)](_0x16a4c6(0x139));}[_0xd051d(0x117)](_0x4dc02f){const _0x6a8ce7=_0xd051d;_0x4dc02f&&(_0x6a8ce7(0x134)!==_0x4dc02f[_0x6a8ce7(0x145)]?_0x6a8ce7(0x115)!==_0x4dc02f[_0x6a8ce7(0x145)]?this[_0x6a8ce7(0x12d)][_0x6a8ce7(0x10e)]():this[_0x6a8ce7(0x153)]():this[_0x6a8ce7(0x151)]());}[_0xd051d(0x132)](_0x459b73){const _0x5e58c7=_0xd051d;this[_0x5e58c7(0x12d)][_0x5e58c7(0x12b)](_0x459b73);}[_0xd051d(0x151)](){const _0x25c711=_0xd051d;this[_0x25c711(0x12d)][_0x25c711(0x151)]();}[_0xd051d(0x153)](){const _0x51cdd5=_0xd051d;this[_0x51cdd5(0x12d)][_0x51cdd5(0x153)]();}[_0xd051d(0x135)](_0x3b49f6){const _0x3ef190=_0xd051d;this[_0x3ef190(0x12d)][_0x3ef190(0x142)][_0x3ef190(0x12f)](_0x3b49f6);}[_0xd051d(0x118)](_0xb491c3){const _0x5d4f9b=_0xd051d;this[_0x5d4f9b(0x12d)][_0x5d4f9b(0x142)][_0x5d4f9b(0x123)]()[_0x5d4f9b(0x120)](_0x3ef808=>{const _0x3aa1b3=_0x5d4f9b;_0x3ef808['id']===_0xb491c3&&_0x3ef808[_0x3aa1b3(0x144)]();});}[_0xd051d(0x154)](){const _0x5ba2f0=_0xd051d;this[_0x5ba2f0(0x12d)][_0x5ba2f0(0x142)][_0x5ba2f0(0x123)]()[_0x5ba2f0(0x120)](_0x412854=>_0x412854[_0x5ba2f0(0x112)]());}[_0xd051d(0x14a)](_0x5699ba,_0x479a63){const _0x1434f0=_0xd051d;_0x1434f0(0x108)!==_0x479a63&&_0x1434f0(0x110)!==_0x479a63||this[_0x1434f0(0x12d)][_0x1434f0(0x142)][_0x1434f0(0x133)](_0x5699ba);}[_0xd051d(0x15c)](){const _0x5dd1f6=_0xd051d;this[_0x5dd1f6(0x12d)][_0x5dd1f6(0x15c)]();}[_0xd051d(0x122)](){const _0x4fdbfb=_0xd051d;this[_0x4fdbfb(0x12d)][_0x4fdbfb(0x122)]();}[_0xd051d(0x157)](){const _0x38a0a7=_0xd051d;this[_0x38a0a7(0x12d)][_0x38a0a7(0x157)]();}[_0xd051d(0x140)](){const _0x1bf536=_0xd051d;this[_0x1bf536(0x12d)][_0x1bf536(0x140)]();}[_0xd051d(0x130)](_0x358ad1,_0xc0ce7e){const _0x4f857b=_0xd051d;this[_0x4f857b(0x109)][_0x4f857b(0x14c)](_0x358ad1,_0xc0ce7e);}[_0xd051d(0x11d)](){const _0x156030=_0xd051d;this[_0x156030(0x109)][_0x156030(0x141)]();}[_0xd051d(0x111)](_0x1686dc){const _0x80d776=_0xd051d,_0x335475=this[_0x80d776(0x12d)][_0x80d776(0x142)][_0x80d776(0x123)]()[_0x80d776(0x15a)](_0x506072=>_0x506072['id']===_0x1686dc);return _0x335475?_0x335475[_0x80d776(0x13e)]:null;}[_0xd051d(0x114)](){const _0x1fb603=_0xd051d;this[_0x1fb603(0x109)][_0x1fb603(0x114)]();}}
23
+ const _0x463b8e=_0x52ed;function _0x27ff(){const _0x28c8c6=['addCheckRunResult','reviewCheckResultsView','1050kuAZGF','leaveReviewModeResultList','showReviewCheckListView','finishReview','forEach','pluginName','error-general','42669yFbLOt','delegate','showReviewCheckList','view','showReviewCheckResultsView','15WXTRQj','resetActiveStateInResults','_reviewModeBalloonSuggestionItemView','destroy','showChangeBalloon','get','activateTab','init','359580eEuIZJ','showActionsWhenResultIsReady','acceptAllChanges','showDiffInBalloon','setTitle','AIReviewModeUI','1717101PyydzX','_bodyCollection','5154DpLIgR','runReviewCheck','_reviewModeView','getChangeElement','getResults','deactivateChange','showChunkErrorView','813710wqkeMu','retryReview','detachFromDom','AITabs','hideActionsWhenResultIsReady','leaveReviewMode','locale','plugins','reviewCheckListView','learnMore','AI_REVIEW_MODE','hideDiffInBalloon','abortReviewStream','hideResult','dismissChange','updateChangeState','isPremiumPlugin','reviewMode','getReviewCheckList','showBalloon','showGeneralErrorView','acceptChange','requires','activateChange','734904FwapKk','status','rejected','showCheckRunResults','setAvailableChecks','hideBalloon','addTab','1729WyCBDN','context','toggleDiff','setChecks','hideChangeBalloon','element','showNoChangesView','find','434723wcFswI','isOfficialPlugin','accepted','setActiveStateInResults','fire','setItemAsInactive','3BHchwS','hasChecks','showReviewCompletedView','setCheckResultTitle','attachToDom','setItemAsActive','error-chunk','showCheckRunResult'];_0x27ff=function(){return _0x28c8c6;};return _0x27ff();}(function(_0x321a03,_0x579059){const _0x357ee4=_0x52ed,_0x38b2ac=_0x321a03();while(!![]){try{const _0x527a53=parseInt(_0x357ee4(0x217))/0x1+-parseInt(_0x357ee4(0x1f0))/0x2*(parseInt(_0x357ee4(0x21d))/0x3)+parseInt(_0x357ee4(0x1e1))/0x4*(parseInt(_0x357ee4(0x1d9))/0x5)+-parseInt(_0x357ee4(0x1e9))/0x6*(parseInt(_0x357ee4(0x20f))/0x7)+parseInt(_0x357ee4(0x208))/0x8+-parseInt(_0x357ee4(0x1e7))/0x9+-parseInt(_0x357ee4(0x1cd))/0xa*(-parseInt(_0x357ee4(0x1d4))/0xb);if(_0x527a53===_0x579059)break;else _0x38b2ac['push'](_0x38b2ac['shift']());}catch(_0x292417){_0x38b2ac['push'](_0x38b2ac['shift']());}}}(_0x27ff,0x60215));import{ContextPlugin as _0x5824dc}from'ckeditor5/src/core.js';function _0x52ed(_0x73ac4f,_0x2ef7f3){const _0x27fff3=_0x27ff();return _0x52ed=function(_0x52edbe,_0xeb99d7){_0x52edbe=_0x52edbe-0x1c5;let _0x1d9f7b=_0x27fff3[_0x52edbe];return _0x1d9f7b;},_0x52ed(_0x73ac4f,_0x2ef7f3);}import{IconAIReview as _0xccfbab}from'ckeditor5/src/icons.js';import{BodyCollection as _0x5a6fb8}from'ckeditor5/src/ui.js';import{AITabs as _0x43fde8}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x4d6b2d}from'./ui/aireviewmodeview.js';import{getTranslation as _0x249f64}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x14cc09}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x463b8e(0x202),_0x463b8e(0x1ea),_0x463b8e(0x1fc),_0x463b8e(0x211),_0x463b8e(0x1e3),_0x463b8e(0x1ce),_0x463b8e(0x207),_0x463b8e(0x205),_0x463b8e(0x1fe),_0x463b8e(0x1f9),_0x463b8e(0x1d0),_0x463b8e(0x1f1)];export class AIReviewModeUI extends _0x5824dc{[_0x463b8e(0x1eb)];[_0x463b8e(0x1db)];[_0x463b8e(0x1e8)];static get[_0x463b8e(0x206)](){return[_0x43fde8];}static get[_0x463b8e(0x1d2)](){const _0x4816c1=_0x463b8e;return _0x4816c1(0x1e6);}static get[_0x463b8e(0x218)](){return!0x0;}static get[_0x463b8e(0x200)](){return!0x0;}constructor(_0x36a291){const _0x17e472=_0x463b8e;super(_0x36a291),this[_0x17e472(0x1e8)]=new _0x5a6fb8(this[_0x17e472(0x210)][_0x17e472(0x1f6)]),this[_0x17e472(0x1e8)][_0x17e472(0x1c7)](),this[_0x17e472(0x1eb)]=new _0x4d6b2d(this[_0x17e472(0x210)][_0x17e472(0x1f6)]),this[_0x17e472(0x1eb)][_0x17e472(0x1d5)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x17e472(0x1db)]=new _0x14cc09(this[_0x17e472(0x210)][_0x17e472(0x1f6)],this[_0x17e472(0x1e8)]),this[_0x17e472(0x1db)][_0x17e472(0x1d5)](_0x17e472(0x205),_0x17e472(0x1fe),_0x17e472(0x1ee))['to'](this);}[_0x463b8e(0x1e0)](){const _0x2772b7=_0x463b8e,_0x4fe437=this[_0x2772b7(0x210)][_0x2772b7(0x1f7)][_0x2772b7(0x1de)](_0x2772b7(0x1f3));_0x4fe437[_0x2772b7(0x1d7)]['on'](_0x2772b7(0x1df),(_0x27d5b2,_0x1d54f9)=>{const _0x1c3904=_0x2772b7;_0x1c3904(0x201)===_0x1d54f9?this[_0x1c3904(0x21b)](_0x1c3904(0x202)):this[_0x1c3904(0x21b)](_0x1c3904(0x1f5));}),_0x4fe437[_0x2772b7(0x1d7)][_0x2772b7(0x20e)]({'id':_0x2772b7(0x201),'buttonLabel':_0x249f64(this[_0x2772b7(0x210)][_0x2772b7(0x1f6)],_0x2772b7(0x1fa)),'buttonIcon':_0xccfbab,'order':0x0,'content':this[_0x2772b7(0x1eb)]});}[_0x463b8e(0x1dc)](){const _0x56c623=_0x463b8e;this[_0x56c623(0x1e8)][_0x56c623(0x1f2)](),super[_0x56c623(0x1dc)]();}[_0x463b8e(0x20c)](_0x137f8c){const _0x529f3c=_0x463b8e;this[_0x529f3c(0x1eb)][_0x529f3c(0x1f8)][_0x529f3c(0x21e)]()||this[_0x529f3c(0x1eb)][_0x529f3c(0x1f8)][_0x529f3c(0x212)](_0x137f8c),this[_0x529f3c(0x1eb)][_0x529f3c(0x1cf)]();}[_0x463b8e(0x1d6)](){const _0x44f1a8=_0x463b8e;this[_0x44f1a8(0x21b)](_0x44f1a8(0x202));}[_0x463b8e(0x20b)](_0x342105){const _0x2dd24d=_0x463b8e;_0x342105&&(_0x2dd24d(0x1d3)!==_0x342105[_0x2dd24d(0x209)]?_0x2dd24d(0x1c9)!==_0x342105[_0x2dd24d(0x209)]?this[_0x2dd24d(0x1eb)][_0x2dd24d(0x1d8)]():this[_0x2dd24d(0x1ef)]():this[_0x2dd24d(0x204)]());}[_0x463b8e(0x1ca)](_0x22ae7f){const _0xa78cb=_0x463b8e;this[_0xa78cb(0x1eb)][_0xa78cb(0x1cb)](_0x22ae7f);}[_0x463b8e(0x204)](){const _0x178da2=_0x463b8e;this[_0x178da2(0x1eb)][_0x178da2(0x204)]();}[_0x463b8e(0x1ef)](){const _0x287278=_0x463b8e;this[_0x287278(0x1eb)][_0x287278(0x1ef)]();}[_0x463b8e(0x1c6)](_0x337a63,_0x463bc6){const _0x16cb2d=_0x463b8e;this[_0x16cb2d(0x1eb)][_0x16cb2d(0x1cc)][_0x16cb2d(0x1e5)](_0x337a63,_0x463bc6);}[_0x463b8e(0x21a)](_0x4ab6f0){const _0x3046e9=_0x463b8e;this[_0x3046e9(0x1eb)][_0x3046e9(0x1cc)][_0x3046e9(0x1ed)]()[_0x3046e9(0x1d1)](_0x1323a9=>{const _0x1fe1d1=_0x3046e9;_0x1323a9['id']===_0x4ab6f0&&_0x1323a9[_0x1fe1d1(0x1c8)]();});}[_0x463b8e(0x1da)](){const _0x2a6182=_0x463b8e;this[_0x2a6182(0x1eb)][_0x2a6182(0x1cc)][_0x2a6182(0x1ed)]()[_0x2a6182(0x1d1)](_0x2d266a=>_0x2d266a[_0x2a6182(0x21c)]());}[_0x463b8e(0x1ff)](_0x1b94c1,_0x57fbff){const _0x2e7710=_0x463b8e;_0x2e7710(0x219)!==_0x57fbff&&_0x2e7710(0x20a)!==_0x57fbff||this[_0x2e7710(0x1eb)][_0x2e7710(0x1cc)][_0x2e7710(0x1fd)](_0x1b94c1);}[_0x463b8e(0x1c5)](){const _0x420778=_0x463b8e;this[_0x420778(0x1eb)][_0x420778(0x1c5)]();}[_0x463b8e(0x1e2)](){const _0x2e5a7c=_0x463b8e;this[_0x2e5a7c(0x1eb)][_0x2e5a7c(0x1e2)]();}[_0x463b8e(0x215)](){const _0x59ea5f=_0x463b8e;this[_0x59ea5f(0x1eb)][_0x59ea5f(0x215)]();}[_0x463b8e(0x1f4)](){const _0x29b29b=_0x463b8e;this[_0x29b29b(0x1eb)][_0x29b29b(0x1f4)]();}[_0x463b8e(0x1dd)](_0x2b658c,_0x427b04){const _0x5e64df=_0x463b8e;this[_0x5e64df(0x1db)][_0x5e64df(0x203)](_0x2b658c,_0x427b04);}[_0x463b8e(0x213)](){const _0x1d4f46=_0x463b8e;this[_0x1d4f46(0x1db)][_0x1d4f46(0x20d)]();}[_0x463b8e(0x1fb)](){const _0x1753a7=_0x463b8e;this[_0x1753a7(0x1db)][_0x1753a7(0x1fb)]();}[_0x463b8e(0x1e4)](){const _0x2a2185=_0x463b8e;this[_0x2a2185(0x1db)][_0x2a2185(0x1e4)]();}[_0x463b8e(0x1ec)](_0x29a210){const _0x181138=_0x463b8e,_0x49c4f5=this[_0x181138(0x1eb)][_0x181138(0x1cc)][_0x181138(0x1ed)]()[_0x181138(0x216)](_0x1c649b=>_0x1c649b['id']===_0x29a210);return _0x49c4f5?_0x49c4f5[_0x181138(0x214)]:null;}[_0x463b8e(0x1ee)](){const _0x519200=_0x463b8e;this[_0x519200(0x1db)][_0x519200(0x1ee)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4807(_0x21f501,_0x1acd24){var _0x2be7c1=_0x2be7();return _0x4807=function(_0x480792,_0x2f801d){_0x480792=_0x480792-0x78;var _0x102e87=_0x2be7c1[_0x480792];return _0x102e87;},_0x4807(_0x21f501,_0x1acd24);}var _0x5a49ed=_0x4807;function _0x2be7(){var _0x520e94=['options','isParameterized','320532xttuaM','12SzOdXY','3873248AaqPfv','description','useArgs','title','1815723FQArjg','60741TfqgVf','413176hHJKjT','830gZWuCp','926737YxSkBx','91HTgRWf','1875685nIgIzV'];_0x2be7=function(){return _0x520e94;};return _0x2be7();}(function(_0x186b1a,_0x29bd33){var _0x372316=_0x4807,_0x66487c=_0x186b1a();while(!![]){try{var _0x56d3c7=-parseInt(_0x372316(0x86))/0x1+-parseInt(_0x372316(0x7c))/0x2+parseInt(_0x372316(0x82))/0x3+parseInt(_0x372316(0x7e))/0x4+-parseInt(_0x372316(0x79))/0x5*(parseInt(_0x372316(0x7d))/0x6)+parseInt(_0x372316(0x78))/0x7*(parseInt(_0x372316(0x84))/0x8)+-parseInt(_0x372316(0x83))/0x9*(-parseInt(_0x372316(0x85))/0xa);if(_0x56d3c7===_0x29bd33)break;else _0x66487c['push'](_0x66487c['shift']());}catch(_0xde6409){_0x66487c['push'](_0x66487c['shift']());}}}(_0x2be7,0xec4ae));export class AIReviewCheck{['id'];[_0x5a49ed(0x81)];[_0x5a49ed(0x7f)];[_0x5a49ed(0x7b)];[_0x5a49ed(0x80)];[_0x5a49ed(0x7a)];constructor({id:_0x361726,title:_0x160655,description:_0x4e406c,isParameterized:_0x174b21,useArgs:_0x236fb1,options:_0x564acd}){var _0x3d5ed4=_0x5a49ed;this['id']=_0x361726,this[_0x3d5ed4(0x81)]=_0x160655,this[_0x3d5ed4(0x7f)]=_0x4e406c,this[_0x3d5ed4(0x7b)]=_0x174b21,this[_0x3d5ed4(0x80)]=_0x236fb1,this[_0x3d5ed4(0x7a)]=_0x564acd;}}
23
+ function _0x54c9(_0x21e851,_0x2d60c2){var _0x4d50fe=_0x4d50();return _0x54c9=function(_0x54c989,_0x1c2091){_0x54c989=_0x54c989-0xdb;var _0x179ae2=_0x4d50fe[_0x54c989];return _0x179ae2;},_0x54c9(_0x21e851,_0x2d60c2);}var _0x3d95e4=_0x54c9;(function(_0x2c72dc,_0x1b10fe){var _0x5560c7=_0x54c9,_0x56e1c0=_0x2c72dc();while(!![]){try{var _0x523290=parseInt(_0x5560c7(0xe6))/0x1*(-parseInt(_0x5560c7(0xdf))/0x2)+parseInt(_0x5560c7(0xe7))/0x3*(parseInt(_0x5560c7(0xdc))/0x4)+parseInt(_0x5560c7(0xea))/0x5+-parseInt(_0x5560c7(0xe4))/0x6+-parseInt(_0x5560c7(0xe3))/0x7*(parseInt(_0x5560c7(0xe0))/0x8)+-parseInt(_0x5560c7(0xe2))/0x9+-parseInt(_0x5560c7(0xe9))/0xa*(-parseInt(_0x5560c7(0xdd))/0xb);if(_0x523290===_0x1b10fe)break;else _0x56e1c0['push'](_0x56e1c0['shift']());}catch(_0x14f76a){_0x56e1c0['push'](_0x56e1c0['shift']());}}}(_0x4d50,0x87473));function _0x4d50(){var _0x91727=['33922EXlCXq','6533520UhuEFL','useArgs','7YMJysX','3250833XNvwwn','options','20UtitAe','3189075mcqMAL','isParameterized','4RSXLxS','6465580VLkmCf','description','285502bBvHUe','328vuddQq','title','504216rJdQGc'];_0x4d50=function(){return _0x91727;};return _0x4d50();}export class AIReviewCheck{['id'];[_0x3d95e4(0xe1)];[_0x3d95e4(0xde)];[_0x3d95e4(0xdb)];[_0x3d95e4(0xe5)];[_0x3d95e4(0xe8)];constructor({id:_0x324f99,title:_0x270d67,description:_0x2e3455,isParameterized:_0x1ada87,useArgs:_0x4a02ee,options:_0x2302a0}){var _0x43f6bb=_0x3d95e4;this['id']=_0x324f99,this[_0x43f6bb(0xe1)]=_0x270d67,this[_0x43f6bb(0xde)]=_0x2e3455,this[_0x43f6bb(0xdb)]=_0x1ada87,this[_0x43f6bb(0xe5)]=_0x4a02ee,this[_0x43f6bb(0xe8)]=_0x2302a0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x16a1da=_0x1046;function _0x1046(_0x19f0e0,_0x182917){var _0x4398a1=_0x4398();return _0x1046=function(_0x104680,_0x1249ec){_0x104680=_0x104680-0x156;var _0x38a8a9=_0x4398a1[_0x104680];return _0x38a8a9;},_0x1046(_0x19f0e0,_0x182917);}(function(_0x3dcb9e,_0x44785c){var _0x4fc497=_0x1046,_0x1eb056=_0x3dcb9e();while(!![]){try{var _0x2449ab=parseInt(_0x4fc497(0x158))/0x1+parseInt(_0x4fc497(0x161))/0x2*(parseInt(_0x4fc497(0x15f))/0x3)+parseInt(_0x4fc497(0x159))/0x4+parseInt(_0x4fc497(0x15a))/0x5*(parseInt(_0x4fc497(0x156))/0x6)+-parseInt(_0x4fc497(0x157))/0x7+parseInt(_0x4fc497(0x15e))/0x8*(parseInt(_0x4fc497(0x15c))/0x9)+-parseInt(_0x4fc497(0x160))/0xa;if(_0x2449ab===_0x44785c)break;else _0x1eb056['push'](_0x1eb056['shift']());}catch(_0x4e2ac1){_0x1eb056['push'](_0x1eb056['shift']());}}}(_0x4398,0xb066c));function _0x4398(){var _0x75974e=['2612886UyMjuv','88698UwbBBQ','5202386GFbpkj','305364TJQttk','3158180KaayOp','225USxIOW','models','1733463EVbwdy','_models','48GcoHyF','3fZUAix','27564910DMpGVG'];_0x4398=function(){return _0x75974e;};return _0x4398();}import{AIReviewCheck as _0x38960e}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x38960e{[_0x16a1da(0x15d)]=[];get[_0x16a1da(0x15b)](){var _0x14057f=_0x16a1da;return this[_0x14057f(0x15d)];}set[_0x16a1da(0x15b)](_0x4dc24d){var _0x347ed1=_0x16a1da;this[_0x347ed1(0x15d)]=_0x4dc24d;}}
23
+ var _0x264977=_0x4144;(function(_0x4836bb,_0x3879f8){var _0x40d1b0=_0x4144,_0x186a0f=_0x4836bb();while(!![]){try{var _0x524620=-parseInt(_0x40d1b0(0x95))/0x1*(-parseInt(_0x40d1b0(0x98))/0x2)+-parseInt(_0x40d1b0(0x9f))/0x3*(-parseInt(_0x40d1b0(0x9a))/0x4)+parseInt(_0x40d1b0(0x97))/0x5*(-parseInt(_0x40d1b0(0x93))/0x6)+parseInt(_0x40d1b0(0x9c))/0x7*(parseInt(_0x40d1b0(0x96))/0x8)+-parseInt(_0x40d1b0(0x94))/0x9+-parseInt(_0x40d1b0(0x9d))/0xa*(parseInt(_0x40d1b0(0x9e))/0xb)+parseInt(_0x40d1b0(0x9b))/0xc;if(_0x524620===_0x3879f8)break;else _0x186a0f['push'](_0x186a0f['shift']());}catch(_0x28147a){_0x186a0f['push'](_0x186a0f['shift']());}}}(_0x1cae,0x86e70));function _0x1cae(){var _0x475104=['9482499GwacPC','114131xVguJi','8GHinhV','25qqlOpK','2ocBWHn','models','4808ybyHVG','11607696wKtrZm','5458033hvIHes','473240ULLMNu','77TtsBON','2604GiNZZh','_models','1160466IFaNUm'];_0x1cae=function(){return _0x475104;};return _0x1cae();}import{AIReviewCheck as _0x24cbe2}from'./aireviewcheck.js';function _0x4144(_0x27df87,_0x391248){var _0x1cae20=_0x1cae();return _0x4144=function(_0x414446,_0x5d2ae3){_0x414446=_0x414446-0x92;var _0x9c9ca7=_0x1cae20[_0x414446];return _0x9c9ca7;},_0x4144(_0x27df87,_0x391248);}export class AIReviewCheckCustom extends _0x24cbe2{[_0x264977(0x92)]=[];get[_0x264977(0x99)](){var _0x3b9f70=_0x264977;return this[_0x3b9f70(0x92)];}set[_0x264977(0x99)](_0x48b043){var _0x5a7717=_0x264977;this[_0x5a7717(0x92)]=_0x48b043;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5dba60=_0x39d6;(function(_0x2e2662,_0x3e7823){var _0x57e0cd=_0x39d6,_0x1b5dc1=_0x2e2662();while(!![]){try{var _0x52bd08=parseInt(_0x57e0cd(0xe7))/0x1+parseInt(_0x57e0cd(0xf5))/0x2*(parseInt(_0x57e0cd(0xeb))/0x3)+-parseInt(_0x57e0cd(0xf2))/0x4+parseInt(_0x57e0cd(0xf8))/0x5*(-parseInt(_0x57e0cd(0xe8))/0x6)+-parseInt(_0x57e0cd(0xf7))/0x7*(parseInt(_0x57e0cd(0xea))/0x8)+parseInt(_0x57e0cd(0xef))/0x9+parseInt(_0x57e0cd(0xf6))/0xa*(parseInt(_0x57e0cd(0xed))/0xb);if(_0x52bd08===_0x3e7823)break;else _0x1b5dc1['push'](_0x1b5dc1['shift']());}catch(_0x28eff1){_0x1b5dc1['push'](_0x1b5dc1['shift']());}}}(_0x1e57,0x5e5dd));import{ObservableMixin as _0x141919}from'ckeditor5/src/utils.js';function _0x1e57(){var _0x4b96d4=['3731463EdVDoc','_mapCheckDefinitions','getCheckById','352560NLNtxJ','map','custom','2JXPLfO','1472180SVAUwu','4313302ZhvnWh','12175OMggCi','36625SXrdAO','240CETrbI','checks','8rUnLcm','1327749aHuiYt','find','22BZKxHP','_checks'];_0x1e57=function(){return _0x4b96d4;};return _0x1e57();}function _0x39d6(_0x26dbf7,_0x130ab7){var _0x1e57b8=_0x1e57();return _0x39d6=function(_0x39d665,_0x1cb025){_0x39d665=_0x39d665-0xe7;var _0x1f1e5f=_0x1e57b8[_0x39d665];return _0x1f1e5f;},_0x39d6(_0x26dbf7,_0x130ab7);}import{AIReviewCheck as _0xaa5b0f}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x4a1d58}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x141919(){[_0x5dba60(0xee)];constructor(_0x3df99b){var _0x496c08=_0x5dba60;super(),this[_0x496c08(0xee)]=this[_0x496c08(0xf0)](_0x3df99b);}get[_0x5dba60(0xe9)](){var _0x25cdaf=_0x5dba60;return this[_0x25cdaf(0xee)];}[_0x5dba60(0xf1)](_0x5ae5a6){var _0x189fa8=_0x5dba60;return this[_0x189fa8(0xe9)][_0x189fa8(0xec)](_0x358c95=>_0x358c95['id']===_0x5ae5a6);}[_0x5dba60(0xf0)](_0x1ba670){var _0x4c150b=_0x5dba60;return _0x1ba670[_0x4c150b(0xf3)](_0x326b80=>_0x4c150b(0xf4)===_0x326b80['id']?new _0x4a1d58(_0x326b80):new _0xaa5b0f(_0x326b80));}}
23
+ var _0x154022=_0x1230;(function(_0x285d81,_0x2718c5){var _0x4f539f=_0x1230,_0x5be4ef=_0x285d81();while(!![]){try{var _0x50bef0=-parseInt(_0x4f539f(0x7b))/0x1+-parseInt(_0x4f539f(0x77))/0x2*(parseInt(_0x4f539f(0x76))/0x3)+parseInt(_0x4f539f(0x71))/0x4*(parseInt(_0x4f539f(0x72))/0x5)+-parseInt(_0x4f539f(0x78))/0x6+-parseInt(_0x4f539f(0x6f))/0x7+parseInt(_0x4f539f(0x75))/0x8+parseInt(_0x4f539f(0x6e))/0x9;if(_0x50bef0===_0x2718c5)break;else _0x5be4ef['push'](_0x5be4ef['shift']());}catch(_0x5bca83){_0x5be4ef['push'](_0x5be4ef['shift']());}}}(_0x1869,0xdd542));import{ObservableMixin as _0xdf3df7}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x2cf7a1}from'./aireviewcheck.js';function _0x1230(_0x354d16,_0x2c10e0){var _0x1869a2=_0x1869();return _0x1230=function(_0x12308b,_0x468106){_0x12308b=_0x12308b-0x6c;var _0x3bd341=_0x1869a2[_0x12308b];return _0x3bd341;},_0x1230(_0x354d16,_0x2c10e0);}function _0x1869(){var _0x3419fe=['_checks','8687840EzcXmc','951738RCvDwG','10uREaVU','10791684UOxQGk','checks','map','1205288lojRHh','getCheckById','custom','28252593SbYYVL','713489tgozGr','_mapCheckDefinitions','80792lMRmxl','340UYawbi','find'];_0x1869=function(){return _0x3419fe;};return _0x1869();}import{AIReviewCheckCustom as _0x16607c}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0xdf3df7(){[_0x154022(0x74)];constructor(_0x2c6283){var _0x1a1e62=_0x154022;super(),this[_0x1a1e62(0x74)]=this[_0x1a1e62(0x70)](_0x2c6283);}get[_0x154022(0x79)](){var _0x125b3b=_0x154022;return this[_0x125b3b(0x74)];}[_0x154022(0x6c)](_0x501a9d){var _0x289b91=_0x154022;return this[_0x289b91(0x79)][_0x289b91(0x73)](_0x40e536=>_0x40e536['id']===_0x501a9d);}[_0x154022(0x70)](_0x523d9e){var _0x4a7805=_0x154022;return _0x523d9e[_0x4a7805(0x7a)](_0x5503ad=>_0x4a7805(0x6d)===_0x5503ad['id']?new _0x16607c(_0x5503ad):new _0x2cf7a1(_0x5503ad));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5727ad=_0x2c59;(function(_0x1bbf65,_0x320b14){var _0x1b6096=_0x2c59,_0x1f9b1b=_0x1bbf65();while(!![]){try{var _0xb7cc40=parseInt(_0x1b6096(0x77))/0x1+parseInt(_0x1b6096(0x7b))/0x2*(parseInt(_0x1b6096(0x7c))/0x3)+parseInt(_0x1b6096(0x76))/0x4*(parseInt(_0x1b6096(0x78))/0x5)+-parseInt(_0x1b6096(0x79))/0x6+parseInt(_0x1b6096(0x72))/0x7*(parseInt(_0x1b6096(0x74))/0x8)+parseInt(_0x1b6096(0x7a))/0x9*(parseInt(_0x1b6096(0x71))/0xa)+-parseInt(_0x1b6096(0x75))/0xb;if(_0xb7cc40===_0x320b14)break;else _0x1f9b1b['push'](_0x1f9b1b['shift']());}catch(_0x370160){_0x1f9b1b['push'](_0x1f9b1b['shift']());}}}(_0x48e9,0x4c15b));function _0x2c59(_0x53edad,_0x35f846){var _0x48e9a3=_0x48e9();return _0x2c59=function(_0x2c5925,_0x2a31fc){_0x2c5925=_0x2c5925-0x6f;var _0x429217=_0x48e9a3[_0x2c5925];return _0x429217;},_0x2c59(_0x53edad,_0x35f846);}import{EmitterMixin as _0x382170}from'ckeditor5/src/utils.js';function _0x48e9(){var _0x3895eb=['7qGqVev','contentInitial','3958304KZkrdO','14087348nZeFzW','64IqmOVg','179147ZcRybZ','188165BOsDpo','2225772Meccwr','3501KetzBQ','528734UaRsyr','3PayTDo','contentNew','documentVersion','10870iYANpr'];_0x48e9=function(){return _0x3895eb;};return _0x48e9();}export class AIReviewCheckResult extends _0x382170(){['id'];[_0x5727ad(0x6f)];[_0x5727ad(0x73)];[_0x5727ad(0x70)];constructor({id:_0xe907f0,contentNew:_0x4fd7eb,contentInitial:_0x5307b1,documentVersion:_0x25b9a5}){var _0xd26b44=_0x5727ad;super(),this['id']=_0xe907f0,this[_0xd26b44(0x6f)]=_0x4fd7eb,this[_0xd26b44(0x73)]=_0x5307b1,this[_0xd26b44(0x70)]=_0x25b9a5;}}
23
+ var _0x203e2a=_0xf488;(function(_0x258293,_0x535170){var _0x5f3575=_0xf488,_0x498427=_0x258293();while(!![]){try{var _0x35d165=-parseInt(_0x5f3575(0x77))/0x1*(parseInt(_0x5f3575(0x7b))/0x2)+-parseInt(_0x5f3575(0x7d))/0x3*(-parseInt(_0x5f3575(0x76))/0x4)+-parseInt(_0x5f3575(0x78))/0x5+parseInt(_0x5f3575(0x7c))/0x6+-parseInt(_0x5f3575(0x7a))/0x7+parseInt(_0x5f3575(0x74))/0x8+parseInt(_0x5f3575(0x75))/0x9;if(_0x35d165===_0x535170)break;else _0x498427['push'](_0x498427['shift']());}catch(_0x1e4765){_0x498427['push'](_0x498427['shift']());}}}(_0x3f58,0xa93d8));function _0xf488(_0x7a4194,_0xc07fc0){var _0x3f5829=_0x3f58();return _0xf488=function(_0xf48865,_0x559bf8){_0xf48865=_0xf48865-0x73;var _0x1b7196=_0x3f5829[_0xf48865];return _0x1b7196;},_0xf488(_0x7a4194,_0xc07fc0);}import{EmitterMixin as _0x3f6ea6}from'ckeditor5/src/utils.js';function _0x3f58(){var _0x1786c2=['5880675FedopW','documentVersion','9200212YmNjPt','2OGPZya','2082966LhFDJz','3Jasmhk','contentNew','contentInitial','6389856nSdNJm','24572844PHQdLz','19876nqWwQu','697519JrBSte'];_0x3f58=function(){return _0x1786c2;};return _0x3f58();}export class AIReviewCheckResult extends _0x3f6ea6(){['id'];[_0x203e2a(0x7e)];[_0x203e2a(0x73)];[_0x203e2a(0x79)];constructor({id:_0x17a07d,contentNew:_0x5e80dd,contentInitial:_0x1c0f1b,documentVersion:_0x3c81c3}){var _0xecfb26=_0x203e2a;super(),this['id']=_0x17a07d,this[_0xecfb26(0x7e)]=_0x5e80dd,this[_0xecfb26(0x73)]=_0x1c0f1b,this[_0xecfb26(0x79)]=_0x3c81c3;}}
@@ -37,6 +37,12 @@ export declare class AIReviewCheckResultChange extends /* #__PURE__ */ AIReviewC
37
37
  * @observable
38
38
  */
39
39
  isActivated: boolean;
40
+ /**
41
+ * Indicates whether the change has been rated.
42
+ *
43
+ * @observable
44
+ */
45
+ isRated: boolean;
40
46
  /**
41
47
  * Creates a new instance of the AIReviewCheckResult.
42
48
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3b2fde=_0x2862;function _0x4f4d(){var _0x24ac0e=['7ehzErL','401590PXeREN','isActivated','status','operations','active','998evTRdP','3924dAWKkc','contentDiffed','operationsIsolated','_editorOperations','10309744IlFhdZ','set','1425846CwTnWW','3309236bRCowS','parent','7281BLNPaU','23300232feMmzc','22PbPNKv','context','6RNiHJA','_data','590ZOoeLw'];_0x4f4d=function(){return _0x24ac0e;};return _0x4f4d();}(function(_0x128701,_0x212e4b){var _0x296449=_0x2862,_0x42a3b5=_0x128701();while(!![]){try{var _0x291fb3=parseInt(_0x296449(0x16d))/0x1+-parseInt(_0x296449(0x166))/0x2*(-parseInt(_0x296449(0x159))/0x3)+parseInt(_0x296449(0x16e))/0x4+parseInt(_0x296449(0x161))/0x5*(-parseInt(_0x296449(0x15d))/0x6)+-parseInt(_0x296449(0x160))/0x7*(-parseInt(_0x296449(0x16b))/0x8)+-parseInt(_0x296449(0x167))/0x9*(-parseInt(_0x296449(0x15f))/0xa)+-parseInt(_0x296449(0x15b))/0xb*(parseInt(_0x296449(0x15a))/0xc);if(_0x291fb3===_0x212e4b)break;else _0x42a3b5['push'](_0x42a3b5['shift']());}catch(_0x2dfbe3){_0x42a3b5['push'](_0x42a3b5['shift']());}}}(_0x4f4d,0xc6f84));import{ObservableMixin as _0x20820b}from'ckeditor5/src/utils.js';function _0x2862(_0x42b9f3,_0x576274){var _0x4f4d18=_0x4f4d();return _0x2862=function(_0x28625f,_0xb82194){_0x28625f=_0x28625f-0x158;var _0x169b0c=_0x4f4d18[_0x28625f];return _0x169b0c;},_0x2862(_0x42b9f3,_0x576274);}export class AIReviewCheckResultChange extends _0x20820b(){['id'];[_0x3b2fde(0x158)];[_0x3b2fde(0x15e)];[_0x3b2fde(0x16a)]=[];constructor(_0x2cac06,_0x45a8c5,_0x5829d2){var _0x5d65ea=_0x3b2fde;super(),this['id']=_0x2cac06,this[_0x5d65ea(0x158)]=_0x5829d2,this[_0x5d65ea(0x15e)]=_0x45a8c5,this[_0x5d65ea(0x16c)](_0x5d65ea(0x162),!0x1),this[_0x5d65ea(0x16c)](_0x5d65ea(0x163),_0x5d65ea(0x165));}get[_0x3b2fde(0x168)](){var _0xf40884=_0x3b2fde;return this[_0xf40884(0x15e)][_0xf40884(0x15c)]();}get[_0x3b2fde(0x164)](){var _0x22b94e=_0x3b2fde;return this[_0x22b94e(0x15e)][_0x22b94e(0x164)];}get[_0x3b2fde(0x169)](){var _0x39e46e=_0x3b2fde;return this[_0x39e46e(0x15e)][_0x39e46e(0x169)];}}
23
+ var _0x289a9a=_0x21be;function _0x49e6(){var _0x354966=['663719zMAgzo','active','contentDiffed','2223570VAGyXz','isActivated','isRated','operationsIsolated','205NJlfAB','2509128AEMhFg','4WvduZa','9epcVFx','_data','24feNSOx','5887170lZxOhS','status','operations','22CrrcBF','1059552xScsBU','_editorOperations','57724AAFHqN','context','set','145846rAzoOo','parent'];_0x49e6=function(){return _0x354966;};return _0x49e6();}(function(_0x30ab52,_0x50e64b){var _0x5551f6=_0x21be,_0x37f577=_0x30ab52();while(!![]){try{var _0x269e29=-parseInt(_0x5551f6(0x19d))/0x1*(-parseInt(_0x5551f6(0x190))/0x2)+parseInt(_0x5551f6(0x198))/0x3+parseInt(_0x5551f6(0x19a))/0x4*(-parseInt(_0x5551f6(0x1a6))/0x5)+parseInt(_0x5551f6(0x194))/0x6+parseInt(_0x5551f6(0x19f))/0x7*(-parseInt(_0x5551f6(0x193))/0x8)+-parseInt(_0x5551f6(0x191))/0x9*(-parseInt(_0x5551f6(0x1a2))/0xa)+-parseInt(_0x5551f6(0x197))/0xb*(parseInt(_0x5551f6(0x1a7))/0xc);if(_0x269e29===_0x50e64b)break;else _0x37f577['push'](_0x37f577['shift']());}catch(_0x4fef62){_0x37f577['push'](_0x37f577['shift']());}}}(_0x49e6,0x87486));import{ObservableMixin as _0x744d09}from'ckeditor5/src/utils.js';function _0x21be(_0x257b5c,_0x52e886){var _0x49e6ac=_0x49e6();return _0x21be=function(_0x21be95,_0x25990c){_0x21be95=_0x21be95-0x190;var _0x4c2a49=_0x49e6ac[_0x21be95];return _0x4c2a49;},_0x21be(_0x257b5c,_0x52e886);}export class AIReviewCheckResultChange extends _0x744d09(){['id'];[_0x289a9a(0x19e)];[_0x289a9a(0x192)];[_0x289a9a(0x199)]=[];constructor(_0x175570,_0x537848,_0x527b10){var _0x2b8f41=_0x289a9a;super(),this['id']=_0x175570,this[_0x2b8f41(0x19e)]=_0x527b10,this[_0x2b8f41(0x192)]=_0x537848,this[_0x2b8f41(0x19c)](_0x2b8f41(0x1a3),!0x1),this[_0x2b8f41(0x19c)](_0x2b8f41(0x1a4),!0x1),this[_0x2b8f41(0x19c)](_0x2b8f41(0x195),_0x2b8f41(0x1a0));}get[_0x289a9a(0x1a1)](){var _0x355e63=_0x289a9a;return this[_0x355e63(0x192)][_0x355e63(0x19b)]();}get[_0x289a9a(0x196)](){var _0x592ed5=_0x289a9a;return this[_0x592ed5(0x192)][_0x592ed5(0x196)];}get[_0x289a9a(0x1a5)](){var _0x47396b=_0x289a9a;return this[_0x47396b(0x192)][_0x47396b(0x1a5)];}}
@@ -23,6 +23,9 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
23
23
  * The check run ID.
24
24
  */
25
25
  readonly id: string;
26
+ /**
27
+ * The call ID returned by the AI API when the check run is started.
28
+ */
26
29
  callId?: string;
27
30
  constructor(documentData: AIDocumentData, sourceCheck: AIReviewCheck, connector: AIConnector, params?: Array<string>, args?: Record<string, any>);
28
31
  /**
@@ -37,6 +40,18 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
37
40
  * Returns the check title.
38
41
  */
39
42
  get title(): string;
43
+ /**
44
+ * Returns the check subtitle.
45
+ */
46
+ get subTitle(): string;
47
+ /**
48
+ * Returns the check ID.
49
+ */
50
+ get reviewName(): string;
51
+ /**
52
+ * Whether the check run has any modifications (accepted or rejected changes).
53
+ */
54
+ get hasModifications(): boolean;
40
55
  /**
41
56
  * Starts the check run resulting in an API call. After the call is finished, the status
42
57
  * and list of changes are updated.
@@ -59,9 +74,22 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
59
74
  activateChange(changeId: string): void;
60
75
  deactivateChange(): void;
61
76
  forceReadyState(): void;
62
- getAcceptedChangesCount(): number;
63
- getTotalChangesCount(): number;
64
- get reviewName(): string;
77
+ /**
78
+ * Sends the rating to an AI API for the review check run.
79
+ *
80
+ * If `changeId` is provided, the rating will be associated with that specific result, which
81
+ * the change is a part of (since the result is splitted into multiple changes). The `resultId`
82
+ * is used on the backend to track ratings for individual results.
83
+ * If `changeId` is not provided, the rating will be send as general for the whole check run.
84
+ *
85
+ * The rating will not be send if:
86
+ * - There is no `callId` (means the check run was not started or failed before getting the ID).
87
+ * - There are no changes in the check run.
88
+ * - The change with given `changeId` was already rated.
89
+ * - The check run is not ready yet (still streaming), since we don't know the final number of changes
90
+ * yet, which is required to send the rating.
91
+ */
92
+ sendRating(changeId?: string): Promise<void>;
65
93
  }
66
94
  export type AIReviewCheckRunUpdatedEvent = {
67
95
  name: 'reviewCheckRunUpdated';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3995(_0x119c9e,_0xdafbae){const _0x10c55f=_0x10c5();return _0x3995=function(_0x39950e,_0x4dbb10){_0x39950e=_0x39950e-0x1e6;let _0x5b4c44=_0x10c55f[_0x39950e];return _0x5b4c44;},_0x3995(_0x119c9e,_0xdafbae);}function _0x10c5(){const _0x17d561=['message','data','forEach','40VArvrl','_changes','loading','includes','isActivated','getContent','operation','reviewCheckResultAccepted','status','version','event','active','_reviewArgs','accepted','ready','899613lKiaiI','markChangeAsRejected','documentData','4AZQJZA','2703944xSrLdw','error-general','rejected','title','getAcceptedChangesCount','7osrtAE','isChangeActive','size','abortController','processedResultsCount','getTotalChangesCount','_documentData','getActiveChanges','248318zvIfhn','clear','unmodified','change:isActivated','change:status','_createApiRequest','forceReadyState','push','get','ai-request-aborted','activateChange','15BFvSbk','abort','717369kumgpe','aborted','restart','fire','_reviewParams','dataId','168684HwvUOy','_checkIfFinished','filter','set','reviewCheckResultAdded','reviewCheckRunUpdated','_aiConnector','getStream','markAllChangesAsAccepted','_sourceCheck','_activeRequest','length','Not\x20implemented.','elements','_addReviewCheckResult','initialized','reviewCheckResultDeactivated','callId','find','deactivateChange','reviewCheckResultReady','start','addResultChanges','review-metadata','error','textDelta','finished','_currentError','markChangeAsAccepted','17452Ewvhnz','_results','reviewName','reviewCheckResultActivated','reviewCheckResultRejected','error-chunk','198081uznMMW'];_0x10c5=function(){return _0x17d561;};return _0x10c5();}const _0x37f7b9=_0x3995;(function(_0x22d8ba,_0xb486a3){const _0x31f005=_0x3995,_0x1c9584=_0x22d8ba();while(!![]){try{const _0x2e9120=-parseInt(_0x31f005(0x229))/0x1*(parseInt(_0x31f005(0x207))/0x2)+parseInt(_0x31f005(0x23e))/0x3*(parseInt(_0x31f005(0x223))/0x4)+parseInt(_0x31f005(0x23c))/0x5*(parseInt(_0x31f005(0x1ea))/0x6)+parseInt(_0x31f005(0x231))/0x7+-parseInt(_0x31f005(0x224))/0x8+-parseInt(_0x31f005(0x20d))/0x9+-parseInt(_0x31f005(0x211))/0xa*(-parseInt(_0x31f005(0x220))/0xb);if(_0x2e9120===_0xb486a3)break;else _0x1c9584['push'](_0x1c9584['shift']());}catch(_0x4f9b40){_0x1c9584['push'](_0x1c9584['shift']());}}}(_0x10c5,0x40b1b));import{ObservableMixin as _0x3c7fde,uid as _0x2974bb}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x3cc400}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x99fec9}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x3c7fde(){['id']=_0x2974bb();[_0x37f7b9(0x208)]=new Map();[_0x37f7b9(0x212)]=[];[_0x37f7b9(0x22f)];[_0x37f7b9(0x1f3)];[_0x37f7b9(0x1f0)];[_0x37f7b9(0x1e8)];[_0x37f7b9(0x21d)];[_0x37f7b9(0x1f4)]=null;[_0x37f7b9(0x205)];[_0x37f7b9(0x1fb)];constructor(_0x9ecb75,_0x45c552,_0x21e456,_0x26f39c,_0x2670f8){const _0x1d18a9=_0x37f7b9;super(),this[_0x1d18a9(0x22f)]=_0x9ecb75,this[_0x1d18a9(0x1f3)]=_0x45c552,this[_0x1d18a9(0x1f0)]=_0x21e456,this[_0x1d18a9(0x1e8)]=_0x26f39c,this[_0x1d18a9(0x21d)]=_0x2670f8,this['on'](_0x1d18a9(0x235),(_0x59c7f9,_0x1140f0,_0x838ad1)=>{const _0x4ddd1c=_0x1d18a9;this[_0x4ddd1c(0x1e7)](_0x4ddd1c(0x1ef),{'status':_0x838ad1,'run':this,'error':this[_0x4ddd1c(0x205)]});}),this[_0x1d18a9(0x1ed)](_0x1d18a9(0x219),_0x1d18a9(0x1f9));}get[_0x37f7b9(0x222)](){const _0x408490=_0x37f7b9;return this[_0x408490(0x22f)];}get[_0x37f7b9(0x22d)](){const _0x5dbb9b=_0x37f7b9;return this[_0x5dbb9b(0x208)][_0x5dbb9b(0x22b)];}get[_0x37f7b9(0x227)](){const _0x453c57=_0x37f7b9;return this[_0x453c57(0x1f3)][_0x453c57(0x227)];}async[_0x37f7b9(0x1ff)](){const _0x10ec24=_0x37f7b9;this[_0x10ec24(0x219)]=_0x10ec24(0x213),this[_0x10ec24(0x205)]=void 0x0;try{this[_0x10ec24(0x1f4)]=this[_0x10ec24(0x236)]();const _0x28521d=await this[_0x10ec24(0x1f4)][_0x10ec24(0x1f1)]();this[_0x10ec24(0x219)]=_0x10ec24(0x20f);for await(const _0x35b920 of _0x28521d)_0x10ec24(0x233)!==_0x35b920[_0x10ec24(0x20f)][_0x10ec24(0x217)]&&(_0x10ec24(0x202)!==_0x35b920[_0x10ec24(0x20f)][_0x10ec24(0x217)]?_0x10ec24(0x201)!==_0x35b920[_0x10ec24(0x21b)]?this[_0x10ec24(0x1f8)](_0x35b920[_0x10ec24(0x20f)][_0x10ec24(0x1e9)],_0x35b920[_0x10ec24(0x20f)][_0x10ec24(0x203)]):this[_0x10ec24(0x1fb)]=_0x35b920[_0x10ec24(0x20f)][_0x10ec24(0x1fb)]:this[_0x10ec24(0x219)]=_0x10ec24(0x20c));_0x10ec24(0x20c)!==this[_0x10ec24(0x219)]&&(0x0===this[_0x10ec24(0x208)][_0x10ec24(0x22b)]?this[_0x10ec24(0x219)]=_0x10ec24(0x233):this[_0x10ec24(0x219)]=_0x10ec24(0x21f));}catch(_0xf8d48e){this[_0x10ec24(0x205)]=_0xf8d48e,_0xf8d48e instanceof Error&&_0xf8d48e[_0x10ec24(0x20e)][_0x10ec24(0x214)](_0x10ec24(0x23a))?this[_0x10ec24(0x219)]=_0x10ec24(0x23f):this[_0x10ec24(0x219)]=_0x10ec24(0x225);}finally{this[_0x10ec24(0x1f4)]=null;}}async[_0x37f7b9(0x1e6)](){const _0x14b6ca=_0x37f7b9;this[_0x14b6ca(0x208)][_0x14b6ca(0x232)](),this[_0x14b6ca(0x212)][_0x14b6ca(0x1f5)]=0x0,this[_0x14b6ca(0x205)]=void 0x0,await this[_0x14b6ca(0x1ff)]();}[_0x37f7b9(0x200)](_0x4d2ffb,_0x2564d0){const _0x27bc7d=_0x37f7b9,_0xcfe05e=this[_0x27bc7d(0x208)][_0x27bc7d(0x239)](_0x4d2ffb);if(!_0xcfe05e)return;const _0x2b3608=[];_0x2564d0[_0x27bc7d(0x210)]((_0x1d2bd8,_0x4d99f0)=>{const _0x3d3c06=_0x27bc7d,_0x59a476=new _0x99fec9(_0xcfe05e['id']+'-'+_0x4d99f0,_0x1d2bd8,_0xcfe05e);_0x59a476['on'](_0x3d3c06(0x235),()=>{const _0x33fe52=_0x3d3c06;_0x33fe52(0x21e)===_0x59a476[_0x33fe52(0x219)]?this[_0x33fe52(0x1e7)](_0x33fe52(0x218),{'change':_0x59a476}):_0x33fe52(0x226)===_0x59a476[_0x33fe52(0x219)]&&this[_0x33fe52(0x1e7)](_0x33fe52(0x20b),{'change':_0x59a476});}),_0x59a476['on'](_0x3d3c06(0x234),()=>{const _0x16f4a3=_0x3d3c06;_0x59a476[_0x16f4a3(0x215)]?this[_0x16f4a3(0x1e7)](_0x16f4a3(0x20a),{'change':_0x59a476}):this[_0x16f4a3(0x1e7)](_0x16f4a3(0x1fa),{'change':_0x59a476});}),this[_0x3d3c06(0x212)][_0x3d3c06(0x238)](_0x59a476),_0x2b3608[_0x3d3c06(0x238)](_0x59a476);}),this[_0x27bc7d(0x1e7)](_0x27bc7d(0x1fe),{'changes':_0x2b3608,'result':_0xcfe05e,'source':this});}[_0x37f7b9(0x23d)](){const _0x274421=_0x37f7b9;this[_0x274421(0x1f4)]&&(this[_0x274421(0x1f4)][_0x274421(0x22c)][_0x274421(0x23d)](),this[_0x274421(0x1f4)]=null,this[_0x274421(0x219)]=_0x274421(0x23f));}[_0x37f7b9(0x22a)](_0x526f6c){const _0x16aa6b=_0x37f7b9,_0x12e3e6=this[_0x16aa6b(0x212)][_0x16aa6b(0x1fc)](_0x18c5d7=>_0x18c5d7['id']===_0x526f6c);return!(!_0x12e3e6||_0x16aa6b(0x21c)!==_0x12e3e6[_0x16aa6b(0x219)]);}[_0x37f7b9(0x230)](){const _0x2d4efc=_0x37f7b9;return this[_0x2d4efc(0x212)][_0x2d4efc(0x1ec)](_0x42273d=>_0x2d4efc(0x21c)===_0x42273d[_0x2d4efc(0x219)]);}[_0x37f7b9(0x1f2)](){const _0x3c8419=_0x37f7b9;for(const _0x4a168d of this[_0x3c8419(0x212)])_0x3c8419(0x21c)===_0x4a168d[_0x3c8419(0x219)]&&(_0x4a168d[_0x3c8419(0x219)]=_0x3c8419(0x21e));this[_0x3c8419(0x1eb)]();}[_0x37f7b9(0x206)](_0x2e1a68){const _0x2915c0=_0x37f7b9,_0x1db828=this[_0x2915c0(0x212)][_0x2915c0(0x1fc)](_0x2480c2=>_0x2480c2['id']===_0x2e1a68);_0x1db828&&_0x2915c0(0x21c)===_0x1db828[_0x2915c0(0x219)]&&(_0x1db828[_0x2915c0(0x219)]=_0x2915c0(0x21e)),this[_0x2915c0(0x1eb)]();}[_0x37f7b9(0x221)](_0x4ab44a){const _0x195c2a=_0x37f7b9,_0x33205f=this[_0x195c2a(0x212)][_0x195c2a(0x1fc)](_0x539c8d=>_0x539c8d['id']===_0x4ab44a);_0x33205f&&_0x195c2a(0x21c)===_0x33205f[_0x195c2a(0x219)]&&(_0x33205f[_0x195c2a(0x219)]=_0x195c2a(0x226)),this[_0x195c2a(0x1eb)]();}[_0x37f7b9(0x23b)](_0x51b4ea){const _0x17feb8=_0x37f7b9;this[_0x17feb8(0x212)][_0x17feb8(0x1ec)](_0x22c6a8=>_0x22c6a8[_0x17feb8(0x215)]&&_0x22c6a8['id']!==_0x51b4ea)[_0x17feb8(0x210)](_0x1ef37a=>{const _0x5cd994=_0x17feb8;_0x1ef37a[_0x5cd994(0x215)]=!0x1;});const _0x386992=this[_0x17feb8(0x212)][_0x17feb8(0x1fc)](_0x5ae291=>_0x5ae291['id']===_0x51b4ea);_0x386992&&(_0x386992[_0x17feb8(0x215)]=!0x0);}[_0x37f7b9(0x1fd)](){const _0x14fc40=_0x37f7b9;this[_0x14fc40(0x212)][_0x14fc40(0x1ec)](_0x317c92=>_0x317c92[_0x14fc40(0x215)])[_0x14fc40(0x210)](_0x496065=>{const _0x42b129=_0x14fc40;_0x496065[_0x42b129(0x215)]=!0x1;});}[_0x37f7b9(0x237)](){const _0x5df9e3=_0x37f7b9;this[_0x5df9e3(0x219)]=_0x5df9e3(0x21f);}[_0x37f7b9(0x1f8)](_0x535990,_0x510fbc){const _0x167cda=_0x37f7b9,_0xc680dc=this[_0x167cda(0x22f)][_0x167cda(0x1f7)][_0x167cda(0x239)](_0x535990);if(!_0xc680dc)return;const _0x7a1379=_0xc680dc[_0x167cda(0x216)]();if(_0x7a1379===_0x510fbc)return;const _0x5ee3e0=new _0x3cc400({'id':_0x535990,'contentInitial':_0x7a1379,'contentNew':_0x510fbc,'documentVersion':this[_0x167cda(0x22f)][_0x167cda(0x21a)]});this[_0x167cda(0x208)][_0x167cda(0x1ed)](_0x5ee3e0['id'],_0x5ee3e0),this[_0x167cda(0x1e7)](_0x167cda(0x1ee),{'result':_0x5ee3e0,'source':this});}[_0x37f7b9(0x1eb)](){const _0x3a248b=_0x37f7b9;if(_0x3a248b(0x21f)!==this[_0x3a248b(0x219)])return;0x0===this[_0x3a248b(0x212)][_0x3a248b(0x1ec)](_0x53b372=>_0x3a248b(0x21c)===_0x53b372[_0x3a248b(0x219)])[_0x3a248b(0x1f5)]&&(this[_0x3a248b(0x219)]=_0x3a248b(0x204));}[_0x37f7b9(0x236)](){const _0x439512=_0x37f7b9;throw new Error(_0x439512(0x1f6));}[_0x37f7b9(0x228)](){const _0x4b3108=_0x37f7b9;return this[_0x4b3108(0x212)][_0x4b3108(0x1ec)](_0x9373b3=>_0x4b3108(0x21e)===_0x9373b3[_0x4b3108(0x219)])[_0x4b3108(0x1f5)];}[_0x37f7b9(0x22e)](){const _0x2f71f1=_0x37f7b9;return this[_0x2f71f1(0x212)][_0x2f71f1(0x1f5)];}get[_0x37f7b9(0x209)](){const _0x195ecd=_0x37f7b9;return this[_0x195ecd(0x1f3)]['id'];}}
23
+ const _0x5b596a=_0x148b;(function(_0x585851,_0x479b41){const _0x110de9=_0x148b,_0x58164e=_0x585851();while(!![]){try{const _0xc712a8=-parseInt(_0x110de9(0x12f))/0x1*(parseInt(_0x110de9(0x153))/0x2)+-parseInt(_0x110de9(0x165))/0x3*(-parseInt(_0x110de9(0x11c))/0x4)+parseInt(_0x110de9(0x129))/0x5*(parseInt(_0x110de9(0x113))/0x6)+parseInt(_0x110de9(0x124))/0x7+-parseInt(_0x110de9(0x166))/0x8*(-parseInt(_0x110de9(0x162))/0x9)+-parseInt(_0x110de9(0x169))/0xa*(parseInt(_0x110de9(0x150))/0xb)+-parseInt(_0x110de9(0x156))/0xc;if(_0xc712a8===_0x479b41)break;else _0x58164e['push'](_0x58164e['shift']());}catch(_0x1e463d){_0x58164e['push'](_0x58164e['shift']());}}}(_0x2fc2,0x9d828));function _0x148b(_0x448f1a,_0x3d952f){const _0x2fc290=_0x2fc2();return _0x148b=function(_0x148b9e,_0x329215){_0x148b9e=_0x148b9e-0x10d;let _0x62d62=_0x2fc290[_0x148b9e];return _0x62d62;},_0x148b(_0x448f1a,_0x3d952f);}import{ObservableMixin as _0xdf957a,uid as _0x42e24c}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x449850}from'./aireviewcheckresult.js';function _0x2fc2(){const _0x65afcd=['16mWfvSk','message','error-general','4856170cYYChc','markAllChangesAsAccepted','isRated','includes','reviewName','title','subTitle','activateChange','active','6ZIVsbV','processedResultsCount','version','_currentError','every','_checkIfFinished','set','_reviewArgs','clear','40Fidrwg','getActiveChanges','_documentData','rejected','aborted','callId','textDelta','filter','4962279vJhrlY','loading','start','reviewCheckResultRejected','_aiConnector','4489345zQmpCq','forEach','reviewCheckResultReady','_createApiRequest','length','_sendRatingRequest','71pXSyfO','hasModifications','_reviewParams','change:status','finished','reviewCheckResultDeactivated','elements','isActivated','deactivateChange','_changes','operation','error-chunk','find','unmodified','event','forceReadyState','markChangeAsAccepted','get','data','parent','isChangeActive','documentData','size','ready','_sourceCheck','_results','restart','change:isActivated','error','push','abortController','_activeRequest','dataId','22rupXbA','_addReviewCheckResult','status','1692grZaPV','getContent','review-metadata','13848216MyBfHe','ai-request-aborted','abort','getStream','sendRating','markChangeAsRejected','reviewCheckResultAccepted','reviewCheckResultAdded','fire','reviewCheckRunUpdated','accepted','reviewCheckResultActivated','4834629FbqdVd','addResultChanges','initialized','44805LKNlzx'];_0x2fc2=function(){return _0x65afcd;};return _0x2fc2();}import{AIReviewCheckResultChange as _0x2476b9}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0xdf957a(){['id']=_0x42e24c();[_0x5b596a(0x121)];[_0x5b596a(0x148)]=new Map();[_0x5b596a(0x138)]=[];[_0x5b596a(0x11e)];[_0x5b596a(0x147)];[_0x5b596a(0x128)];[_0x5b596a(0x131)];[_0x5b596a(0x11a)];[_0x5b596a(0x14e)]=null;[_0x5b596a(0x116)];constructor(_0x485f0c,_0x39c439,_0x11f010,_0x395ecc,_0x34ff7a){const _0xe4914a=_0x5b596a;super(),this[_0xe4914a(0x11e)]=_0x485f0c,this[_0xe4914a(0x147)]=_0x39c439,this[_0xe4914a(0x128)]=_0x11f010,this[_0xe4914a(0x131)]=_0x395ecc,this[_0xe4914a(0x11a)]=_0x34ff7a,this['on'](_0xe4914a(0x132),(_0x89afe1,_0x19137a,_0x1c6886)=>{const _0x21c760=_0xe4914a;this[_0x21c760(0x15e)](_0x21c760(0x15f),{'status':_0x1c6886,'run':this,'error':this[_0x21c760(0x116)]});}),this[_0xe4914a(0x119)](_0xe4914a(0x152),_0xe4914a(0x164));}get[_0x5b596a(0x144)](){const _0xb7fe0=_0x5b596a;return this[_0xb7fe0(0x11e)];}get[_0x5b596a(0x114)](){const _0x3fa29e=_0x5b596a;return this[_0x3fa29e(0x148)][_0x3fa29e(0x145)];}get[_0x5b596a(0x10f)](){const _0x1bc8c9=_0x5b596a;return this[_0x1bc8c9(0x147)][_0x1bc8c9(0x10f)];}get[_0x5b596a(0x110)](){return'';}get[_0x5b596a(0x10e)](){const _0x5b4164=_0x5b596a;return this[_0x5b4164(0x147)]['id'];}get[_0x5b596a(0x130)](){const _0x5371af=_0x5b596a;return!this[_0x5371af(0x138)][_0x5371af(0x117)](_0x456359=>_0x5371af(0x112)===_0x456359[_0x5371af(0x152)]);}async[_0x5b596a(0x126)](){const _0x50e215=_0x5b596a;this[_0x50e215(0x152)]=_0x50e215(0x125),this[_0x50e215(0x116)]=void 0x0;try{this[_0x50e215(0x14e)]=this[_0x50e215(0x12c)]();const _0x37f02a=await this[_0x50e215(0x14e)][_0x50e215(0x159)]();this[_0x50e215(0x152)]=_0x50e215(0x141);for await(const _0x56c534 of _0x37f02a)_0x50e215(0x13c)!==_0x56c534[_0x50e215(0x141)][_0x50e215(0x139)]&&(_0x50e215(0x14b)!==_0x56c534[_0x50e215(0x141)][_0x50e215(0x139)]?_0x50e215(0x155)!==_0x56c534[_0x50e215(0x13d)]?this[_0x50e215(0x151)](_0x56c534[_0x50e215(0x141)][_0x50e215(0x14f)],_0x56c534[_0x50e215(0x141)][_0x50e215(0x122)]):this[_0x50e215(0x121)]=_0x56c534[_0x50e215(0x141)][_0x50e215(0x121)]:this[_0x50e215(0x152)]=_0x50e215(0x13a));_0x50e215(0x13a)!==this[_0x50e215(0x152)]&&(0x0===this[_0x50e215(0x148)][_0x50e215(0x145)]?this[_0x50e215(0x152)]=_0x50e215(0x13c):this[_0x50e215(0x152)]=_0x50e215(0x146));}catch(_0x5b1aac){this[_0x50e215(0x116)]=_0x5b1aac,_0x5b1aac instanceof Error&&_0x5b1aac[_0x50e215(0x167)][_0x50e215(0x10d)](_0x50e215(0x157))?this[_0x50e215(0x152)]=_0x50e215(0x120):this[_0x50e215(0x152)]=_0x50e215(0x168);}finally{this[_0x50e215(0x14e)]=null;}}async[_0x5b596a(0x149)](){const _0x15509b=_0x5b596a;this[_0x15509b(0x148)][_0x15509b(0x11b)](),this[_0x15509b(0x138)][_0x15509b(0x12d)]=0x0,this[_0x15509b(0x116)]=void 0x0,await this[_0x15509b(0x126)]();}[_0x5b596a(0x163)](_0x247ff1,_0x40a2d1){const _0x91ef36=_0x5b596a,_0x4fa9c0=this[_0x91ef36(0x148)][_0x91ef36(0x140)](_0x247ff1);if(!_0x4fa9c0)return;const _0xebdbe0=[];_0x40a2d1[_0x91ef36(0x12a)]((_0x4f9451,_0x41b142)=>{const _0x13cc9d=_0x91ef36,_0x4668c2=new _0x2476b9(_0x4fa9c0['id']+'-'+_0x41b142,_0x4f9451,_0x4fa9c0);_0x4668c2['on'](_0x13cc9d(0x132),()=>{const _0x59bd56=_0x13cc9d;_0x59bd56(0x160)===_0x4668c2[_0x59bd56(0x152)]?this[_0x59bd56(0x15e)](_0x59bd56(0x15c),{'change':_0x4668c2}):_0x59bd56(0x11f)===_0x4668c2[_0x59bd56(0x152)]&&this[_0x59bd56(0x15e)](_0x59bd56(0x127),{'change':_0x4668c2});}),_0x4668c2['on'](_0x13cc9d(0x14a),()=>{const _0x2ff9b2=_0x13cc9d;_0x4668c2[_0x2ff9b2(0x136)]?this[_0x2ff9b2(0x15e)](_0x2ff9b2(0x161),{'change':_0x4668c2}):this[_0x2ff9b2(0x15e)](_0x2ff9b2(0x134),{'change':_0x4668c2});}),this[_0x13cc9d(0x138)][_0x13cc9d(0x14c)](_0x4668c2),_0xebdbe0[_0x13cc9d(0x14c)](_0x4668c2);}),this[_0x91ef36(0x15e)](_0x91ef36(0x12b),{'changes':_0xebdbe0,'result':_0x4fa9c0,'source':this});}[_0x5b596a(0x158)](){const _0x559952=_0x5b596a;this[_0x559952(0x14e)]&&(this[_0x559952(0x14e)][_0x559952(0x14d)][_0x559952(0x158)](),this[_0x559952(0x14e)]=null,this[_0x559952(0x152)]=_0x559952(0x120));}[_0x5b596a(0x143)](_0x2ad6a){const _0x3b0a05=_0x5b596a,_0x30ea3e=this[_0x3b0a05(0x138)][_0x3b0a05(0x13b)](_0x5312af=>_0x5312af['id']===_0x2ad6a);return!(!_0x30ea3e||_0x3b0a05(0x112)!==_0x30ea3e[_0x3b0a05(0x152)]);}[_0x5b596a(0x11d)](){const _0x2bf62f=_0x5b596a;return this[_0x2bf62f(0x138)][_0x2bf62f(0x123)](_0x347ea7=>_0x2bf62f(0x112)===_0x347ea7[_0x2bf62f(0x152)]);}[_0x5b596a(0x16a)](){const _0x6bc4ac=_0x5b596a;for(const _0x346507 of this[_0x6bc4ac(0x138)])_0x6bc4ac(0x112)===_0x346507[_0x6bc4ac(0x152)]&&(_0x346507[_0x6bc4ac(0x152)]=_0x6bc4ac(0x160));this[_0x6bc4ac(0x118)]();}[_0x5b596a(0x13f)](_0x58e0e9){const _0x754478=_0x5b596a,_0x5e18c6=this[_0x754478(0x138)][_0x754478(0x13b)](_0x2c2083=>_0x2c2083['id']===_0x58e0e9);_0x5e18c6&&_0x754478(0x112)===_0x5e18c6[_0x754478(0x152)]&&(_0x5e18c6[_0x754478(0x152)]=_0x754478(0x160)),this[_0x754478(0x118)]();}[_0x5b596a(0x15b)](_0x958187){const _0x5b035f=_0x5b596a,_0x22da84=this[_0x5b035f(0x138)][_0x5b035f(0x13b)](_0x4b2baf=>_0x4b2baf['id']===_0x958187);_0x22da84&&_0x5b035f(0x112)===_0x22da84[_0x5b035f(0x152)]&&(_0x22da84[_0x5b035f(0x152)]=_0x5b035f(0x11f)),this[_0x5b035f(0x118)]();}[_0x5b596a(0x111)](_0x28b58e){const _0x3a8e71=_0x5b596a;this[_0x3a8e71(0x138)][_0x3a8e71(0x123)](_0x1fad23=>_0x1fad23[_0x3a8e71(0x136)]&&_0x1fad23['id']!==_0x28b58e)[_0x3a8e71(0x12a)](_0x560689=>{const _0x16a6fa=_0x3a8e71;_0x560689[_0x16a6fa(0x136)]=!0x1;});const _0x3736fb=this[_0x3a8e71(0x138)][_0x3a8e71(0x13b)](_0x5862d2=>_0x5862d2['id']===_0x28b58e);_0x3736fb&&(_0x3736fb[_0x3a8e71(0x136)]=!0x0);}[_0x5b596a(0x137)](){const _0x36d819=_0x5b596a;this[_0x36d819(0x138)][_0x36d819(0x123)](_0x255384=>_0x255384[_0x36d819(0x136)])[_0x36d819(0x12a)](_0x3aede6=>{const _0x3c6b1b=_0x36d819;_0x3aede6[_0x3c6b1b(0x136)]=!0x1;});}[_0x5b596a(0x13e)](){const _0x588f73=_0x5b596a;this[_0x588f73(0x152)]=_0x588f73(0x146);}async[_0x5b596a(0x15a)](_0x923a78){const _0x262beb=_0x5b596a;if(_0x262beb(0x164)===this[_0x262beb(0x152)]||_0x262beb(0x125)===this[_0x262beb(0x152)]||_0x262beb(0x141)===this[_0x262beb(0x152)])return;if(!this[_0x262beb(0x121)]||0x0===this[_0x262beb(0x138)][_0x262beb(0x12d)])return;let _0x23ae87;if(_0x923a78){const _0x127eb9=this[_0x262beb(0x138)][_0x262beb(0x13b)](_0x25fc1f=>_0x25fc1f['id']===_0x923a78);if(_0x127eb9&&_0x127eb9[_0x262beb(0x16b)])return;_0x127eb9&&(_0x23ae87=_0x127eb9[_0x262beb(0x142)]['id'],_0x127eb9[_0x262beb(0x16b)]=!0x0);}const _0xc8c20b={'positiveCount':this[_0x262beb(0x138)][_0x262beb(0x123)](_0x5aba5e=>_0x262beb(0x160)===_0x5aba5e[_0x262beb(0x152)])[_0x262beb(0x12d)],'totalCount':this[_0x262beb(0x138)][_0x262beb(0x12d)]};this[_0x262beb(0x12e)](_0xc8c20b,this[_0x262beb(0x121)],_0x23ae87);}[_0x5b596a(0x151)](_0x5c4693,_0x3ae18d){const _0x1927be=_0x5b596a,_0x364e35=this[_0x1927be(0x11e)][_0x1927be(0x135)][_0x1927be(0x140)](_0x5c4693);if(!_0x364e35)return;const _0xaf25fe=_0x364e35[_0x1927be(0x154)]();if(_0xaf25fe===_0x3ae18d)return;const _0x243458=new _0x449850({'id':_0x5c4693,'contentInitial':_0xaf25fe,'contentNew':_0x3ae18d,'documentVersion':this[_0x1927be(0x11e)][_0x1927be(0x115)]});this[_0x1927be(0x148)][_0x1927be(0x119)](_0x243458['id'],_0x243458),this[_0x1927be(0x15e)](_0x1927be(0x15d),{'result':_0x243458,'source':this});}[_0x5b596a(0x118)](){const _0x30f7b0=_0x5b596a;if(_0x30f7b0(0x146)!==this[_0x30f7b0(0x152)])return;0x0===this[_0x30f7b0(0x138)][_0x30f7b0(0x123)](_0x571e2d=>_0x30f7b0(0x112)===_0x571e2d[_0x30f7b0(0x152)])[_0x30f7b0(0x12d)]&&(this[_0x30f7b0(0x152)]=_0x30f7b0(0x133));}}
@@ -17,5 +17,5 @@ export declare class AIReviewCustomCheckRun extends AIReviewCheckRun {
17
17
  /**
18
18
  * @inheritDoc
19
19
  */
20
- get title(): string;
20
+ get subTitle(): string;
21
21
  }