@ckeditor/ckeditor5-ai 47.2.0-alpha.7 → 47.3.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 (472) hide show
  1. package/LICENSE.md +16 -20
  2. package/build/ai.js +2 -2
  3. package/build/translations/af.js +1 -1
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/ast.js +1 -1
  6. package/build/translations/az.js +1 -1
  7. package/build/translations/be.js +1 -1
  8. package/build/translations/bg.js +1 -1
  9. package/build/translations/bn.js +1 -1
  10. package/build/translations/bs.js +1 -1
  11. package/build/translations/ca.js +1 -1
  12. package/build/translations/cs.js +1 -1
  13. package/build/translations/da.js +1 -1
  14. package/build/translations/de-ch.js +1 -1
  15. package/build/translations/de.js +1 -1
  16. package/build/translations/el.js +1 -1
  17. package/build/translations/en-au.js +1 -1
  18. package/build/translations/en-gb.js +1 -1
  19. package/build/translations/eo.js +1 -1
  20. package/build/translations/es-co.js +1 -1
  21. package/build/translations/es.js +1 -1
  22. package/build/translations/et.js +1 -1
  23. package/build/translations/eu.js +1 -1
  24. package/build/translations/fa.js +1 -1
  25. package/build/translations/fi.js +1 -1
  26. package/build/translations/fr.js +1 -1
  27. package/build/translations/gl.js +1 -1
  28. package/build/translations/gu.js +1 -1
  29. package/build/translations/he.js +1 -1
  30. package/build/translations/hi.js +1 -1
  31. package/build/translations/hr.js +1 -1
  32. package/build/translations/hu.js +1 -1
  33. package/build/translations/hy.js +1 -1
  34. package/build/translations/id.js +1 -1
  35. package/build/translations/it.js +1 -1
  36. package/build/translations/ja.js +1 -1
  37. package/build/translations/jv.js +1 -1
  38. package/build/translations/kk.js +1 -1
  39. package/build/translations/km.js +1 -1
  40. package/build/translations/kn.js +1 -1
  41. package/build/translations/ko.js +1 -1
  42. package/build/translations/ku.js +1 -1
  43. package/build/translations/lt.js +1 -1
  44. package/build/translations/lv.js +1 -1
  45. package/build/translations/ms.js +1 -1
  46. package/build/translations/nb.js +1 -1
  47. package/build/translations/ne.js +1 -1
  48. package/build/translations/nl.js +1 -1
  49. package/build/translations/no.js +1 -1
  50. package/build/translations/oc.js +1 -1
  51. package/build/translations/pl.js +1 -1
  52. package/build/translations/pt-br.js +1 -1
  53. package/build/translations/pt.js +1 -1
  54. package/build/translations/ro.js +1 -1
  55. package/build/translations/ru.js +1 -1
  56. package/build/translations/si.js +1 -1
  57. package/build/translations/sk.js +1 -1
  58. package/build/translations/sl.js +1 -1
  59. package/build/translations/sq.js +1 -1
  60. package/build/translations/sr-latn.js +1 -1
  61. package/build/translations/sr.js +1 -1
  62. package/build/translations/sv.js +1 -1
  63. package/build/translations/th.js +1 -1
  64. package/build/translations/ti.js +1 -1
  65. package/build/translations/tk.js +1 -1
  66. package/build/translations/tr.js +1 -1
  67. package/build/translations/tt.js +1 -1
  68. package/build/translations/ug.js +1 -1
  69. package/build/translations/uk.js +1 -1
  70. package/build/translations/ur.js +1 -1
  71. package/build/translations/uz.js +1 -1
  72. package/build/translations/vi.js +1 -1
  73. package/build/translations/zh-cn.js +1 -1
  74. package/build/translations/zh.js +1 -1
  75. package/dist/index-editor.css +285 -65
  76. package/dist/index.css +286 -68
  77. package/dist/index.js +5 -5
  78. package/dist/translations/af.js +1 -1
  79. package/dist/translations/af.umd.js +1 -1
  80. package/dist/translations/ar.js +1 -1
  81. package/dist/translations/ar.umd.js +1 -1
  82. package/dist/translations/ast.js +1 -1
  83. package/dist/translations/ast.umd.js +1 -1
  84. package/dist/translations/az.js +1 -1
  85. package/dist/translations/az.umd.js +1 -1
  86. package/dist/translations/be.js +1 -1
  87. package/dist/translations/be.umd.js +1 -1
  88. package/dist/translations/bg.js +1 -1
  89. package/dist/translations/bg.umd.js +1 -1
  90. package/dist/translations/bn.js +1 -1
  91. package/dist/translations/bn.umd.js +1 -1
  92. package/dist/translations/bs.js +1 -1
  93. package/dist/translations/bs.umd.js +1 -1
  94. package/dist/translations/ca.js +1 -1
  95. package/dist/translations/ca.umd.js +1 -1
  96. package/dist/translations/cs.js +1 -1
  97. package/dist/translations/cs.umd.js +1 -1
  98. package/dist/translations/da.js +1 -1
  99. package/dist/translations/da.umd.js +1 -1
  100. package/dist/translations/de-ch.js +1 -1
  101. package/dist/translations/de-ch.umd.js +1 -1
  102. package/dist/translations/de.js +1 -1
  103. package/dist/translations/de.umd.js +1 -1
  104. package/dist/translations/el.js +1 -1
  105. package/dist/translations/el.umd.js +1 -1
  106. package/dist/translations/en-au.js +1 -1
  107. package/dist/translations/en-au.umd.js +1 -1
  108. package/dist/translations/en-gb.js +1 -1
  109. package/dist/translations/en-gb.umd.js +1 -1
  110. package/dist/translations/en.js +1 -1
  111. package/dist/translations/en.umd.js +1 -1
  112. package/dist/translations/eo.js +1 -1
  113. package/dist/translations/eo.umd.js +1 -1
  114. package/dist/translations/es-co.js +1 -1
  115. package/dist/translations/es-co.umd.js +1 -1
  116. package/dist/translations/es.js +1 -1
  117. package/dist/translations/es.umd.js +1 -1
  118. package/dist/translations/et.js +1 -1
  119. package/dist/translations/et.umd.js +1 -1
  120. package/dist/translations/eu.js +1 -1
  121. package/dist/translations/eu.umd.js +1 -1
  122. package/dist/translations/fa.js +1 -1
  123. package/dist/translations/fa.umd.js +1 -1
  124. package/dist/translations/fi.js +1 -1
  125. package/dist/translations/fi.umd.js +1 -1
  126. package/dist/translations/fr.js +1 -1
  127. package/dist/translations/fr.umd.js +1 -1
  128. package/dist/translations/gl.js +1 -1
  129. package/dist/translations/gl.umd.js +1 -1
  130. package/dist/translations/gu.js +1 -1
  131. package/dist/translations/gu.umd.js +1 -1
  132. package/dist/translations/he.js +1 -1
  133. package/dist/translations/he.umd.js +1 -1
  134. package/dist/translations/hi.js +1 -1
  135. package/dist/translations/hi.umd.js +1 -1
  136. package/dist/translations/hr.js +1 -1
  137. package/dist/translations/hr.umd.js +1 -1
  138. package/dist/translations/hu.js +1 -1
  139. package/dist/translations/hu.umd.js +1 -1
  140. package/dist/translations/hy.js +1 -1
  141. package/dist/translations/hy.umd.js +1 -1
  142. package/dist/translations/id.js +1 -1
  143. package/dist/translations/id.umd.js +1 -1
  144. package/dist/translations/it.js +1 -1
  145. package/dist/translations/it.umd.js +1 -1
  146. package/dist/translations/ja.js +1 -1
  147. package/dist/translations/ja.umd.js +1 -1
  148. package/dist/translations/jv.js +1 -1
  149. package/dist/translations/jv.umd.js +1 -1
  150. package/dist/translations/kk.js +1 -1
  151. package/dist/translations/kk.umd.js +1 -1
  152. package/dist/translations/km.js +1 -1
  153. package/dist/translations/km.umd.js +1 -1
  154. package/dist/translations/kn.js +1 -1
  155. package/dist/translations/kn.umd.js +1 -1
  156. package/dist/translations/ko.js +1 -1
  157. package/dist/translations/ko.umd.js +1 -1
  158. package/dist/translations/ku.js +1 -1
  159. package/dist/translations/ku.umd.js +1 -1
  160. package/dist/translations/lt.js +1 -1
  161. package/dist/translations/lt.umd.js +1 -1
  162. package/dist/translations/lv.js +1 -1
  163. package/dist/translations/lv.umd.js +1 -1
  164. package/dist/translations/ms.js +1 -1
  165. package/dist/translations/ms.umd.js +1 -1
  166. package/dist/translations/nb.js +1 -1
  167. package/dist/translations/nb.umd.js +1 -1
  168. package/dist/translations/ne.js +1 -1
  169. package/dist/translations/ne.umd.js +1 -1
  170. package/dist/translations/nl.js +1 -1
  171. package/dist/translations/nl.umd.js +1 -1
  172. package/dist/translations/no.js +1 -1
  173. package/dist/translations/no.umd.js +1 -1
  174. package/dist/translations/oc.js +1 -1
  175. package/dist/translations/oc.umd.js +1 -1
  176. package/dist/translations/pl.js +1 -1
  177. package/dist/translations/pl.umd.js +1 -1
  178. package/dist/translations/pt-br.js +1 -1
  179. package/dist/translations/pt-br.umd.js +1 -1
  180. package/dist/translations/pt.js +1 -1
  181. package/dist/translations/pt.umd.js +1 -1
  182. package/dist/translations/ro.js +1 -1
  183. package/dist/translations/ro.umd.js +1 -1
  184. package/dist/translations/ru.js +1 -1
  185. package/dist/translations/ru.umd.js +1 -1
  186. package/dist/translations/si.js +1 -1
  187. package/dist/translations/si.umd.js +1 -1
  188. package/dist/translations/sk.js +1 -1
  189. package/dist/translations/sk.umd.js +1 -1
  190. package/dist/translations/sl.js +1 -1
  191. package/dist/translations/sl.umd.js +1 -1
  192. package/dist/translations/sq.js +1 -1
  193. package/dist/translations/sq.umd.js +1 -1
  194. package/dist/translations/sr-latn.js +1 -1
  195. package/dist/translations/sr-latn.umd.js +1 -1
  196. package/dist/translations/sr.js +1 -1
  197. package/dist/translations/sr.umd.js +1 -1
  198. package/dist/translations/sv.js +1 -1
  199. package/dist/translations/sv.umd.js +1 -1
  200. package/dist/translations/th.js +1 -1
  201. package/dist/translations/th.umd.js +1 -1
  202. package/dist/translations/ti.js +1 -1
  203. package/dist/translations/ti.umd.js +1 -1
  204. package/dist/translations/tk.js +1 -1
  205. package/dist/translations/tk.umd.js +1 -1
  206. package/dist/translations/tr.js +1 -1
  207. package/dist/translations/tr.umd.js +1 -1
  208. package/dist/translations/tt.js +1 -1
  209. package/dist/translations/tt.umd.js +1 -1
  210. package/dist/translations/ug.js +1 -1
  211. package/dist/translations/ug.umd.js +1 -1
  212. package/dist/translations/uk.js +1 -1
  213. package/dist/translations/uk.umd.js +1 -1
  214. package/dist/translations/ur.js +1 -1
  215. package/dist/translations/ur.umd.js +1 -1
  216. package/dist/translations/uz.js +1 -1
  217. package/dist/translations/uz.umd.js +1 -1
  218. package/dist/translations/vi.js +1 -1
  219. package/dist/translations/vi.umd.js +1 -1
  220. package/dist/translations/zh-cn.js +1 -1
  221. package/dist/translations/zh-cn.umd.js +1 -1
  222. package/dist/translations/zh.js +1 -1
  223. package/dist/translations/zh.umd.js +1 -1
  224. package/lang/contexts.json +10 -1
  225. package/lang/translations/af.po +36 -0
  226. package/lang/translations/ar.po +36 -0
  227. package/lang/translations/ast.po +36 -0
  228. package/lang/translations/az.po +36 -0
  229. package/lang/translations/be.po +36 -0
  230. package/lang/translations/bg.po +36 -0
  231. package/lang/translations/bn.po +36 -0
  232. package/lang/translations/bs.po +36 -0
  233. package/lang/translations/ca.po +36 -0
  234. package/lang/translations/cs.po +36 -0
  235. package/lang/translations/da.po +36 -0
  236. package/lang/translations/de-ch.po +36 -0
  237. package/lang/translations/de.po +36 -0
  238. package/lang/translations/el.po +36 -0
  239. package/lang/translations/en-au.po +36 -0
  240. package/lang/translations/en-gb.po +36 -0
  241. package/lang/translations/en.po +36 -0
  242. package/lang/translations/eo.po +36 -0
  243. package/lang/translations/es-co.po +36 -0
  244. package/lang/translations/es.po +36 -0
  245. package/lang/translations/et.po +36 -0
  246. package/lang/translations/eu.po +36 -0
  247. package/lang/translations/fa.po +36 -0
  248. package/lang/translations/fi.po +36 -0
  249. package/lang/translations/fr.po +36 -0
  250. package/lang/translations/gl.po +36 -0
  251. package/lang/translations/gu.po +36 -0
  252. package/lang/translations/he.po +36 -0
  253. package/lang/translations/hi.po +36 -0
  254. package/lang/translations/hr.po +36 -0
  255. package/lang/translations/hu.po +36 -0
  256. package/lang/translations/hy.po +36 -0
  257. package/lang/translations/id.po +36 -0
  258. package/lang/translations/it.po +36 -0
  259. package/lang/translations/ja.po +36 -0
  260. package/lang/translations/jv.po +36 -0
  261. package/lang/translations/kk.po +36 -0
  262. package/lang/translations/km.po +36 -0
  263. package/lang/translations/kn.po +36 -0
  264. package/lang/translations/ko.po +36 -0
  265. package/lang/translations/ku.po +36 -0
  266. package/lang/translations/lt.po +36 -0
  267. package/lang/translations/lv.po +36 -0
  268. package/lang/translations/ms.po +36 -0
  269. package/lang/translations/nb.po +36 -0
  270. package/lang/translations/ne.po +36 -0
  271. package/lang/translations/nl.po +36 -0
  272. package/lang/translations/no.po +36 -0
  273. package/lang/translations/oc.po +36 -0
  274. package/lang/translations/pl.po +36 -0
  275. package/lang/translations/pt-br.po +36 -0
  276. package/lang/translations/pt.po +36 -0
  277. package/lang/translations/ro.po +36 -0
  278. package/lang/translations/ru.po +36 -0
  279. package/lang/translations/si.po +36 -0
  280. package/lang/translations/sk.po +36 -0
  281. package/lang/translations/sl.po +36 -0
  282. package/lang/translations/sq.po +36 -0
  283. package/lang/translations/sr-latn.po +36 -0
  284. package/lang/translations/sr.po +36 -0
  285. package/lang/translations/sv.po +36 -0
  286. package/lang/translations/th.po +36 -0
  287. package/lang/translations/ti.po +36 -0
  288. package/lang/translations/tk.po +36 -0
  289. package/lang/translations/tr.po +36 -0
  290. package/lang/translations/tt.po +36 -0
  291. package/lang/translations/ug.po +36 -0
  292. package/lang/translations/uk.po +36 -0
  293. package/lang/translations/ur.po +36 -0
  294. package/lang/translations/uz.po +36 -0
  295. package/lang/translations/vi.po +36 -0
  296. package/lang/translations/zh-cn.po +36 -0
  297. package/lang/translations/zh.po +36 -0
  298. package/package.json +15 -15
  299. package/src/aiactions/aiactions.js +1 -1
  300. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  301. package/src/aiactions/model/aiactionsreply.js +1 -1
  302. package/src/aiassistant/adapters/aiadapter.js +1 -1
  303. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  304. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  305. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  306. package/src/aiassistant/aiassistant.js +1 -1
  307. package/src/aiassistant/aiassistantediting.js +1 -1
  308. package/src/aiassistant/aiassistantui.js +1 -1
  309. package/src/aiassistant/legacyerrors.js +1 -1
  310. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  311. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  312. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  313. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  314. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  315. package/src/aiassistant/ui/form/aiformview.js +1 -1
  316. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  317. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  318. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  319. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  320. package/src/aiassistant/utils/common-translations.js +1 -1
  321. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  322. package/src/aiballoon/aiballoon.d.ts +8 -0
  323. package/src/aiballoon/aiballoon.js +1 -1
  324. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  325. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  326. package/src/aiballoon/ui/aiballoonview.d.ts +12 -0
  327. package/src/aiballoon/ui/aiballoonview.js +1 -1
  328. package/src/aichat/aichat.js +1 -1
  329. package/src/aichat/aichatcontroller.js +1 -1
  330. package/src/aichat/aichatui.js +1 -1
  331. package/src/aichat/model/aichatcontext.d.ts +1 -1
  332. package/src/aichat/model/aichatcontext.js +1 -1
  333. package/src/aichat/model/aichatconversation.js +1 -1
  334. package/src/aichat/model/aichatinteraction.js +1 -1
  335. package/src/aichat/model/aichatmodels.js +1 -1
  336. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  337. package/src/aichat/ui/aichatfeedview.js +1 -1
  338. package/src/aichat/ui/aichatheaderview.js +1 -1
  339. package/src/aichat/ui/aichatview.js +1 -1
  340. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  341. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  342. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  343. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  344. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  345. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  346. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  347. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  348. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  349. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  350. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  351. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  352. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  353. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  354. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  355. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  356. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  357. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  358. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  359. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  360. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  361. package/src/aichat/utils/eventnames.js +1 -1
  362. package/src/aichat/utils/promisequeue.js +1 -1
  363. package/src/aichathistory/aichathistory.js +1 -1
  364. package/src/aichathistory/aichathistorycontroller.js +1 -1
  365. package/src/aichathistory/aichathistoryui.js +1 -1
  366. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  367. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  368. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  369. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  370. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  371. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  372. package/src/aicore/aiconnector.js +1 -1
  373. package/src/aicore/aiediting.js +1 -1
  374. package/src/aicore/model/aicapabilities.js +1 -1
  375. package/src/aicore/model/aicontext.js +1 -1
  376. package/src/aicore/model/aiinteraction.js +1 -1
  377. package/src/aicore/model/aimodels.js +1 -1
  378. package/src/aicore/model/aireply.js +1 -1
  379. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  380. package/src/aicore/pipeline/airesponseparser.js +2 -2
  381. package/src/aicore/ui/aidisclaimerview.js +1 -1
  382. package/src/aicore/ui/aiskeleton.js +1 -1
  383. package/src/aicore/ui/aispinner.js +1 -1
  384. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  385. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  386. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  387. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  388. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  389. package/src/aicore/utils/common-translations.js +1 -1
  390. package/src/aicore/utils/createresizebutton.js +1 -1
  391. package/src/aicore/utils/documentposition.js +1 -1
  392. package/src/aicore/utils/documentrange.js +1 -1
  393. package/src/aicore/utils/eventnames.js +1 -1
  394. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  395. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  396. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  397. package/src/aicore/utils/htmlparser.js +1 -1
  398. package/src/aicore/utils/htmlstreamer.js +1 -1
  399. package/src/aicore/utils/scrollmanager.js +23 -0
  400. package/src/aieditorintegration/aieditorintegration.js +1 -1
  401. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  402. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  403. package/src/aiquickactions/aiquickactions.d.ts +24 -1
  404. package/src/aiquickactions/aiquickactions.js +1 -1
  405. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  406. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  407. package/src/aiquickactions/aiquickactionsui.d.ts +5 -1
  408. package/src/aiquickactions/aiquickactionsui.js +1 -1
  409. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +39 -6
  410. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  411. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +6 -1
  412. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  413. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +30 -5
  414. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  415. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +5 -0
  416. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +23 -0
  417. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +29 -0
  418. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +23 -0
  419. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  420. package/src/aireviewmode/aireviewmode.js +1 -1
  421. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  422. package/src/aireviewmode/aireviewmodeediting.d.ts +16 -0
  423. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  424. package/src/aireviewmode/aireviewmodeui.d.ts +8 -2
  425. package/src/aireviewmode/aireviewmodeui.js +1 -1
  426. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  427. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  428. package/src/aireviewmode/model/aireviewchecklist.d.ts +4 -0
  429. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  430. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  431. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  432. package/src/aireviewmode/model/aireviewcheckrun.d.ts +6 -0
  433. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  434. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  435. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  436. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  437. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +11 -2
  438. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  439. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  440. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  441. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  442. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.d.ts +24 -0
  443. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +23 -0
  444. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  445. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  446. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  447. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  448. package/src/aireviewmode/ui/aireviewmodeview.d.ts +7 -1
  449. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  450. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  451. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  452. package/src/aitabs/aitabs.js +1 -1
  453. package/src/aitabs/aitabsmainview.js +1 -1
  454. package/src/aitabs/tabs/aitabsview.js +1 -1
  455. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  456. package/src/aitabs/tabs/tabpanelview.js +1 -1
  457. package/src/errors.js +1 -1
  458. package/src/errorsmap.d.ts +8 -0
  459. package/src/errorsmap.js +23 -0
  460. package/src/index.js +1 -1
  461. package/theme/aiballoon/aiballoon.css +26 -0
  462. package/theme/aichat/aichat.css +1 -3
  463. package/theme/aichat/aichathistory.css +1 -1
  464. package/theme/aichat/aisuggestioncontainer.css +1 -1
  465. package/theme/aiquickactions/aiquickactions.css +139 -25
  466. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +24 -0
  467. package/theme/aireviewmode/aireviewmode-check-run.css +13 -0
  468. package/theme/aireviewmode/aireviewmode.css +33 -10
  469. package/theme/common/{aichaterror.css → ainotification.css} +17 -14
  470. package/theme/common/aitrackchanges.css +9 -0
  471. package/src/aichat/utils/scrollmanager.js +0 -23
  472. /package/src/{aichat → aicore}/utils/scrollmanager.d.ts +0 -0
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x222a(_0x29e2b7,_0x2951f6){const _0x2bb341=_0x2bb3();return _0x222a=function(_0x222aeb,_0x335f12){_0x222aeb=_0x222aeb-0xda;let _0x381010=_0x2bb341[_0x222aeb];return _0x381010;},_0x222a(_0x29e2b7,_0x2951f6);}const _0x28cd29=_0x222a;(function(_0x43f5ac,_0x53d5b1){const _0x55727d=_0x222a,_0x37d167=_0x43f5ac();while(!![]){try{const _0x549f62=-parseInt(_0x55727d(0x13d))/0x1+parseInt(_0x55727d(0x159))/0x2*(-parseInt(_0x55727d(0xe6))/0x3)+-parseInt(_0x55727d(0x1ab))/0x4*(-parseInt(_0x55727d(0x17f))/0x5)+parseInt(_0x55727d(0x194))/0x6*(parseInt(_0x55727d(0x1bf))/0x7)+-parseInt(_0x55727d(0xf8))/0x8+parseInt(_0x55727d(0x181))/0x9+parseInt(_0x55727d(0xeb))/0xa;if(_0x549f62===_0x53d5b1)break;else _0x37d167['push'](_0x37d167['shift']());}catch(_0x11bfd4){_0x37d167['push'](_0x37d167['shift']());}}}(_0x2bb3,0xeb3b8));import{InsertOperation as _0xcc3b8c,MarkerOperation as _0x2fa0df,ModelDocumentFragment as _0x234b28,ModelPosition as _0x3c6d10,ModelRange as _0x4af4fe,ModelTreeWalker as _0xfa2a36,transformOperationSets as _0x3d470e}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x32c5d8,EmitterMixin as _0x3e1b75}from'ckeditor5/src/utils.js';function _0x2bb3(){const _0x3e3a9b=['getHtml','markerToElement','size','isOfficialPlugin','className','schema','1319624SbZszI','root','createRange','editingDowncast','pluginName','add','hasContentBefore','_translateOperationToEditorContent','model:$text','getShiftedBy','markerName','isPremiumPlugin','click','hasClass','_findMarkerElement','text','viewToDom','htmlProcessor','$documentFragment','isAtEnd','flat','documentFragment','removeMarker','remove-text','startsWith','for','createRawElement','getPath','25136mneITt','getDocumentData','insert','version','_parseMarkerName','_getChangeContext','getRoot','map','_markers','addOperation','position','createDocumentFragment','howMany','disableReadOnlyMode','parse','[data-id=\x22','element','createText','enableReadOnlyMode','exec','parent','$textProxy','has','change','ck-ai_review-mode-marker_','getChildren','baseVersion','caption','createUIElement','_getOperationStart','childCount','context','_clone','isAtStart','remove','markers','clone','_hasSameTopLevelElement','10950KLPtbq','emitter','16008417fokVkV','keys','newRange','history','view','ck-ai_review-mode-marker_hide','_changePositionOwnerDocument','AIEditing','suggestion:insertion:id:authorId:','index','applyChange','_appendChild','getChanges','document','conversion','listenTo','split','differ','_eventEmitter','72894zAETBO','toData','isInline','getChild','parentElement','type','values','rejectChange','offset','from','isIntersecting','ck-ai_review-mode-marker_context-end','innerHTML','append','hasAttribute','ck-ai_review-mode-marker_context-','AIReviewModeEditing','getMarkerElementForChange','applyOperation','span','editing','htmlWriter','model','816rcsVnZ','afterInit','jumpTo','$markedRemove','getOperations','sort','getRange','plugins','deleteContent','getEditor','forEach','_findAdjacentContextDistance','nodes','_getMarkersDataForGroup','_changePosition','operationsIsolated','data','_changeRange','clear','length','406FxgZTd','containsRange','getDomRoot','ck-ai_review-mode-marker_add','_domEmitter','changeMarkerRemoved','_createGetContentFn','_changeRangeOwnerDocument','operationsA','addMarker','includes','target','batch','getAttribute','_createGetContextFn','backward','push','end','ck-ai_review-mode-marker_underline','get','_createGetContentUsingDataIdFn','186GsnqQX','_nextDataId','requires','dataDowncast','_getOperationEnd','13933890qUEfRM','[data-marker-id=\x22','_sortMarkers','processor','diffContent','createSelection','pop','ai-review-mode','createPositionAfter','markerToHighlight','toView','markChangePositionInEditorContent','_validateMarkers','10089216kfmILz','insertContent','fire','remove-only','switchToReadOnly','createPositionAt','clearAllMarkers','oldRange','getChangedMarkers','hasContentAfter','offsetSize','isTouching','suggestion-context','marker','$graveyard','elements','ck-ai_review-mode-marker_strikethrough','name','DocumentCompare','attributeToAttribute','_setAttribute','isOpening','concat','changeMarkerRestored','suggestion:deletion:id:authorId:','_handleMarkerChanges','groupId','_insertMarkers','getRoots','stringify','_groupAdjacentOperations','ck-ai_review-mode-marker_context-start','getDiff','rootName','set','isDocumentOperation','_removeAttribute','registerPostFixer','delete','every','reviewmode-','getStart','_changeOperationOwnerDocument','downcast','filter','switchToEdit','warn','No\x20element\x20found\x20for\x20ID:\x20','_removeChildren','data-marker-id','domConverter','toDomElement','ellipsisBefore','forward','affectsData','outerHTML','start','querySelector','_shiftOperation','path','ellipsisAfter','changeMarkerClick','remove-context'];_0x2bb3=function(){return _0x3e3a9b;};return _0x2bb3();}import{ContextPlugin as _0x3d42ac}from'ckeditor5/src/core.js';import{DocumentCompare as _0x187bcb,DATA_ID_MODEL_ATTRIBUTE as _0x2f28bd,DATA_ID_VIEW_ATTRIBUTE as _0x3929c}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x147c02}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x48eb4a}from'../aicore/aiediting.js';const me=_0x28cd29(0x120);export class AIReviewModeEditing extends _0x3d42ac{static get[_0x28cd29(0x141)](){const _0x109285=_0x28cd29;return _0x109285(0x1a4);}static get[_0x28cd29(0xe8)](){return[_0x187bcb,_0x48eb4a];}static get[_0x28cd29(0x13a)](){return!0x0;}static get[_0x28cd29(0x148)](){return!0x0;}[_0x28cd29(0x161)]=new Map();[_0x28cd29(0x1c3)];[_0x28cd29(0x193)];constructor(_0x55000d){const _0x373001=_0x28cd29;super(_0x55000d),this[_0x373001(0x1c3)]=new(_0x32c5d8())(),this[_0x373001(0x193)]=new(_0x3e1b75())();}get[_0x28cd29(0x180)](){const _0x1b951e=_0x28cd29;return this[_0x1b951e(0x193)];}[_0x28cd29(0x1ac)](){const _0xbf4e49=_0x28cd29,_0x11a059=_0x147c02(this[_0xbf4e49(0x178)]);_0x11a059[_0xbf4e49(0x18f)][_0xbf4e49(0x156)](_0xbf4e49(0x140))[_0xbf4e49(0x138)]({'model':me+_0xbf4e49(0x15b),'view':(_0x1c8fc4,{writer:_0x12f174})=>{const _0x3fef49=_0xbf4e49,_0x5af366=this[_0x3fef49(0x161)][_0x3fef49(0xe4)](_0x1c8fc4[_0x3fef49(0x147)]),_0x2ece17={'class':_0x3fef49(0x1c2),'data-marker-id':_0x1c8fc4[_0x3fef49(0x147)]};return _0x12f174[_0x3fef49(0x175)](_0x3fef49(0x1a7),_0x2ece17,function(_0x137143){const _0x3ede40=_0x3fef49,_0x8afca4=this[_0x3ede40(0x12b)](_0x137143);return _0x8afca4[_0x3ede40(0x1a0)]=_0x5af366?.[_0x3ede40(0x14c)]||'',_0x8afca4;});}}),_0x11a059[_0xbf4e49(0x18f)][_0xbf4e49(0x156)](_0xbf4e49(0x140))[_0xbf4e49(0xf4)]({'model':me+_0xbf4e49(0xfb),'view':_0x4d66f8=>({'classes':_0xbf4e49(0x108),'attributes':{'data-marker-id':_0x4d66f8[_0xbf4e49(0x147)]}})}),_0x11a059[_0xbf4e49(0x18f)][_0xbf4e49(0x156)](_0xbf4e49(0x140))[_0xbf4e49(0xf4)]({'model':me+_0xbf4e49(0x136),'view':_0x599792=>({'classes':_0xbf4e49(0xe3),'attributes':{'data-marker-id':_0x599792[_0xbf4e49(0x147)]}})}),_0x11a059[_0xbf4e49(0x18f)][_0xbf4e49(0x156)](_0xbf4e49(0x140))[_0xbf4e49(0xf4)]({'model':me+_0xbf4e49(0x154),'view':_0x280a35=>({'classes':_0xbf4e49(0x186),'attributes':{'data-marker-id':_0x280a35[_0xbf4e49(0x147)]}})}),_0x11a059[_0xbf4e49(0x18f)][_0xbf4e49(0x156)](_0xbf4e49(0xe9))[_0xbf4e49(0x138)]({'model':me+_0xbf4e49(0x104),'view':(_0x23ef2c,{writer:_0x4d09ee})=>_0x4d09ee[_0xbf4e49(0x157)](_0xbf4e49(0x1a7),{'class':_0xbf4e49(0x1a3)+(_0x23ef2c[_0xbf4e49(0x10d)]?_0xbf4e49(0x130):_0xbf4e49(0xe2))})}),_0x11a059[_0xbf4e49(0x18f)][_0xbf4e49(0x156)](_0xbf4e49(0x123))[_0xbf4e49(0x10b)]({'model':_0x2f28bd,'view':_0x3929c}),this[_0xbf4e49(0x1c3)][_0xbf4e49(0x190)](document,_0xbf4e49(0x149),(_0x1edbef,_0x2708b0)=>{const _0x484889=_0xbf4e49,_0x2bbbe2=_0x2708b0[_0x484889(0xdc)],_0x28962d=this[_0x484889(0x14b)](_0x2bbbe2);if(!_0x28962d)return;const _0x3fb0bd=_0x28962d[_0x484889(0xde)](_0x484889(0x129)),_0x8ae227=_0x3fb0bd[_0x484889(0x191)](':')[_0x484889(0xf1)]()?.[_0x484889(0x191)]('_')[0x0];this[_0x484889(0x193)][_0x484889(0xfa)](_0x484889(0x135),{'markerId':_0x3fb0bd,'changeId':_0x8ae227});}),_0x11a059[_0xbf4e49(0x1aa)][_0xbf4e49(0x18e)][_0xbf4e49(0x11d)](_0x22dded=>this[_0xbf4e49(0xf7)](_0x11a059,_0x22dded)),_0x11a059[_0xbf4e49(0x1aa)][_0xbf4e49(0x18e)]['on'](_0xbf4e49(0x170),()=>this[_0xbf4e49(0x111)](_0x11a059));}[_0x28cd29(0x15a)](){const _0x246b3c=_0x28cd29,_0x44e610=this[_0x246b3c(0x178)][_0x246b3c(0x1b2)][_0x246b3c(0xe4)](_0x246b3c(0x188)),_0x2ef577=_0x147c02(this[_0x246b3c(0x178)]),_0x2fd171=_0x2ef577[_0x246b3c(0x1aa)],_0x492009=new _0x234b28();for(const _0x121100 of _0x2fd171[_0x246b3c(0x18e)][_0x246b3c(0x15f)]()[_0x246b3c(0x172)]()){const _0x150dcd=_0x121100[_0x246b3c(0x179)](!0x0);_0x492009[_0x246b3c(0x18c)](_0x150dcd);}for(const _0x78443f of _0x2fd171[_0x246b3c(0x17c)])_0x492009[_0x246b3c(0x17c)][_0x246b3c(0x11a)](_0x78443f[_0x246b3c(0x109)],this[_0x246b3c(0x1c6)](_0x78443f[_0x246b3c(0x1b1)]()[_0x246b3c(0x17d)](),_0x492009));const _0x36950c=new _0xfa2a36({'ignoreElementEnd':!0x0,'startPosition':_0x2fd171[_0x246b3c(0xfd)](_0x492009,0x0)}),_0x5cb08b=new Set(),_0x2baf57=new Map();for(const {item:_0x68854e}of _0x36950c){if(!_0x68854e['is'](_0x246b3c(0x16e)))continue;const _0x5906a4=_0x68854e[_0x246b3c(0x16d)];if((!_0x5906a4||!_0x5906a4['is'](_0x246b3c(0x169),_0x246b3c(0x174)))&&(_0x5906a4&&_0x5906a4['is'](_0x246b3c(0x169)))){let _0x4772b8=_0x5906a4[_0x246b3c(0xde)](_0x2f28bd);_0x4772b8||(_0x4772b8=_0x44e610[_0x246b3c(0xe7)](_0x5cb08b),_0x5906a4[_0x246b3c(0x10c)](_0x2f28bd,_0x4772b8)),_0x5cb08b[_0x246b3c(0x142)](_0x4772b8);let _0x5b30a9=_0x5906a4;for(;_0x5b30a9[_0x246b3c(0x16d)]&&!_0x5b30a9[_0x246b3c(0x16d)]['is'](_0x246b3c(0x152));)_0x5b30a9=_0x5b30a9[_0x246b3c(0x16d)],_0x5b30a9[_0x246b3c(0x1a2)](_0x2f28bd)&&_0x5b30a9[_0x246b3c(0x11c)](_0x2f28bd);_0x2baf57[_0x246b3c(0x11a)](_0x4772b8,{'path':_0x5906a4[_0x246b3c(0x158)](),'getContent':this[_0x246b3c(0xe5)](_0x5b30a9[_0x246b3c(0x179)](!0x0),_0x4772b8,_0x2ef577[_0x246b3c(0x1bb)])}),_0x36950c[_0x246b3c(0x1ad)](_0x2fd171[_0x246b3c(0xf3)](_0x5906a4));}}return{'content':_0x2ef577[_0x246b3c(0x1bb)][_0x246b3c(0xee)][_0x246b3c(0x195)](_0x2ef577[_0x246b3c(0x1bb)][_0x246b3c(0xf5)](_0x492009)),'version':_0x2ef577[_0x246b3c(0x1aa)][_0x246b3c(0x18e)][_0x246b3c(0x15c)],'elements':_0x2baf57};}[_0x28cd29(0xef)](_0x15c656,_0x319a12){const _0xac0132=_0x28cd29,_0x5615ce=[],_0xa00c3e=_0x147c02(this[_0xac0132(0x178)]),_0x59e580=_0xa00c3e[_0xac0132(0x1bb)][_0xac0132(0x167)](_0x15c656,_0xac0132(0x14f)),_0xa92c2a=_0xa00c3e[_0xac0132(0x1aa)][_0xac0132(0xfd)](_0x59e580,0x0),_0x4603d8=_0xa00c3e[_0xac0132(0x1bb)][_0xac0132(0x167)](_0x319a12,_0xac0132(0x14f));if(!this[_0xac0132(0x17e)](_0x59e580,_0x4603d8))return _0x5615ce;const _0x432e68=this[_0xac0132(0x178)][_0xac0132(0x1b2)][_0xac0132(0xe4)](_0xac0132(0x10a))[_0xac0132(0x118)](_0x15c656,_0x319a12,{'anchor':_0xa92c2a,'markDeletions':!0x0})[_0xac0132(0x1af)]()[_0xac0132(0x124)](_0x12b65a=>_0xac0132(0x15b)===_0x12b65a[_0xac0132(0x199)]||_0xac0132(0x105)===_0x12b65a[_0xac0132(0x199)]&&_0x12b65a[_0xac0132(0x109)][_0xac0132(0x155)](_0xac0132(0x1ae))),_0x21d006=this[_0xac0132(0x116)](_0x432e68);let _0x494db8=0x0;return _0xa00c3e[_0xac0132(0x1aa)][_0xac0132(0x170)](_0x4c548a=>{const _0x2b9097=_0xac0132;for(let _0x2969f6=0x0;_0x2969f6<_0x21d006[_0x2b9097(0x1be)];_0x2969f6++){const _0x56869d=_0x21d006[_0x2969f6],_0x490b58=_0x4c548a[_0x2b9097(0x164)]();for(const _0x53a0d3 of _0x59e580[_0x2b9097(0x172)]())_0x4c548a[_0x2b9097(0x1a1)](_0x53a0d3[_0x2b9097(0x179)](!0x0),_0x490b58);for(const _0x2ebbec of _0x56869d[_0x2b9097(0x1ba)])if(_0x2b9097(0x15b)===_0x2ebbec[_0x2b9097(0x199)]){const _0x43bcea=_0x2ebbec;_0x43bcea[_0x2b9097(0x173)]=null,_0x43bcea[_0x2b9097(0x11b)]=!0x1,this[_0x2b9097(0x122)](_0x43bcea,_0x490b58),_0x4c548a[_0x2b9097(0xdd)][_0x2b9097(0x162)](_0x2ebbec),_0xa00c3e[_0x2b9097(0x1aa)][_0x2b9097(0x1a6)](_0x2ebbec);const _0x230eff=_0x2b9097(0x189)+_0x494db8++,_0x21fa4a=_0xa00c3e[_0x2b9097(0x1aa)][_0x2b9097(0x13f)](_0x43bcea[_0x2b9097(0x163)],_0x43bcea[_0x2b9097(0x163)][_0x2b9097(0x146)](_0x43bcea[_0x2b9097(0x165)]));_0x490b58[_0x2b9097(0x17c)][_0x2b9097(0x11a)](_0x230eff,_0x21fa4a);}else{if(_0x2b9097(0x105)===_0x2ebbec[_0x2b9097(0x199)]&&_0x2ebbec[_0x2b9097(0x109)][_0x2b9097(0x155)](_0x2b9097(0x1ae))){const _0x2ccd54=_0x2ebbec,_0x60a06b=_0x2b9097(0x110)+_0x494db8++;this[_0x2b9097(0x122)](_0x2ccd54,_0x490b58),_0x490b58[_0x2b9097(0x17c)][_0x2b9097(0x11a)](_0x60a06b,_0x2ccd54[_0x2b9097(0x183)]);}}const _0x2ae6f8=this[_0x2b9097(0x15e)](this[_0x2b9097(0x187)](this[_0x2b9097(0x176)](_0x56869d[_0x2b9097(0x1ba)][0x0]),_0x490b58),this[_0x2b9097(0x187)](this[_0x2b9097(0xea)](_0x56869d[_0x2b9097(0x1ba)][_0x56869d[_0x2b9097(0x1ba)][_0x2b9097(0x1be)]-0x1]),_0x490b58));_0x490b58[_0x2b9097(0x17c)][_0x2b9097(0x11a)](me+_0x2b9097(0x104),new _0x4af4fe(_0x2ae6f8[_0x2b9097(0x130)],_0x2ae6f8[_0x2b9097(0xe2)])),_0x5615ce[_0x2b9097(0xe1)]({..._0x56869d,'context':this[_0x2b9097(0xdf)](_0x490b58,_0xa00c3e[_0x2b9097(0x1bb)],{'ellipsisBefore':_0x2ae6f8[_0x2b9097(0x143)],'ellipsisAfter':_0x2ae6f8[_0x2b9097(0x101)]}),'content':this[_0x2b9097(0x1c5)](_0x490b58,_0xa00c3e[_0x2b9097(0x1bb)])});}}),_0x5615ce;}[_0x28cd29(0xf6)](_0x599976,_0x3b59ff){const _0x588a0e=_0x28cd29;if(!_0x599976[_0x588a0e(0x1be)])return;const _0x2f9ece=_0x599976[0x0][_0x588a0e(0x16d)]['id'],_0x367e17=_0x3b59ff[_0x588a0e(0x107)][_0x588a0e(0xe4)](_0x2f9ece);if(!_0x367e17)return void console[_0x588a0e(0x126)](_0x588a0e(0x127)+_0x2f9ece);const _0x45a5e0=_0x367e17[_0x588a0e(0x133)],_0x27431f=_0x147c02(this[_0x588a0e(0x178)]),_0x577e37=_0x27431f[_0x588a0e(0x1aa)][_0x588a0e(0x18e)][_0x588a0e(0x184)][_0x588a0e(0x1af)](_0x3b59ff[_0x588a0e(0x15c)]),_0x33c24d=[];for(const _0x2662f0 of _0x599976){const _0x3c110c=_0x2662f0[_0x588a0e(0x1ba)][_0x588a0e(0x160)](_0x17734a=>this[_0x588a0e(0x144)](_0x17734a,_0x45a5e0,_0x27431f[_0x588a0e(0x1aa)][_0x588a0e(0x18e)][_0x588a0e(0x114)]()[0x0]));if(!_0x3c110c||!_0x3c110c[_0x588a0e(0x1be)])continue;const _0x337c39=_0x3c110c[_0x588a0e(0x11f)](_0xdbc9f6=>_0x588a0e(0x105)===_0xdbc9f6[_0x588a0e(0x199)]&&_0xdbc9f6[_0x588a0e(0x109)][_0x588a0e(0x155)](_0x588a0e(0x1ae))),_0x4a99c8={'document':_0x27431f[_0x588a0e(0x1aa)][_0x588a0e(0x18e)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x111ad8=_0x3d470e(_0x3c110c,_0x577e37,_0x4a99c8)[_0x588a0e(0x1c7)];for(const _0x59f639 of _0x111ad8)if(_0x588a0e(0x15b)===_0x59f639[_0x588a0e(0x199)]){const _0x48ae12=_0x59f639,_0x2474e3=_0x48ae12[_0x588a0e(0x1b7)];let _0x4aa894='';for(const _0x4e5c21 of _0x2474e3)_0x4e5c21&&_0x4e5c21['is'](_0x588a0e(0x145))&&(_0x4aa894+=_0x4e5c21[_0x588a0e(0x1bb)]);_0x33c24d[_0x588a0e(0xe1)]({'start':_0x48ae12[_0x588a0e(0x163)],'end':_0x48ae12[_0x588a0e(0x163)],'type':_0x588a0e(0x15b),'groupId':_0x2662f0['id'],'text':_0x4aa894});}else{if(_0x588a0e(0x105)===_0x59f639[_0x588a0e(0x199)]&&_0x59f639[_0x588a0e(0x109)][_0x588a0e(0x155)](_0x588a0e(0x1ae))){const _0x2d8aa0=_0x59f639;let _0x24e766=_0x588a0e(0x154);if(_0x337c39){const _0x2e89d8=this[_0x588a0e(0x1b6)](_0x2d8aa0[_0x588a0e(0x183)][_0x588a0e(0x130)],_0x588a0e(0xe0),_0x27431f[_0x588a0e(0x1aa)][_0x588a0e(0x13c)]),_0x40cf76=this[_0x588a0e(0x1b6)](_0x2d8aa0[_0x588a0e(0x183)][_0x588a0e(0xe2)],_0x588a0e(0x12d),_0x27431f[_0x588a0e(0x1aa)][_0x588a0e(0x13c)]);if(_0x2e89d8||_0x40cf76){const _0x1950fc=_0x2d8aa0[_0x588a0e(0x183)][_0x588a0e(0x130)][_0x588a0e(0x146)](-_0x2e89d8),_0x306da4=_0x2d8aa0[_0x588a0e(0x183)][_0x588a0e(0xe2)][_0x588a0e(0x146)](_0x40cf76);_0x33c24d[_0x588a0e(0xe1)]({'start':_0x1950fc,'end':_0x306da4,'groupId':_0x2662f0['id'],'type':_0x588a0e(0x136)});}else _0x24e766=_0x588a0e(0xfb);}_0x33c24d[_0x588a0e(0xe1)]({'start':_0x2d8aa0[_0x588a0e(0x183)][_0x588a0e(0x130)],'end':_0x2d8aa0[_0x588a0e(0x183)][_0x588a0e(0xe2)],'groupId':_0x2662f0['id'],'type':_0x24e766});}}}this[_0x588a0e(0x113)](_0x33c24d);}[_0x28cd29(0xfe)](){const _0x5557e7=_0x28cd29,_0x50e44f=_0x147c02(this[_0x5557e7(0x178)]);_0x50e44f[_0x5557e7(0x1aa)][_0x5557e7(0x170)](_0x371a84=>{const _0x3a4684=_0x5557e7;for(const _0xb4aa96 of this[_0x3a4684(0x161)][_0x3a4684(0x182)]())_0x50e44f[_0x3a4684(0x1aa)][_0x3a4684(0x17c)][_0x3a4684(0xe4)](_0xb4aa96)&&_0x371a84[_0x3a4684(0x153)](_0xb4aa96);}),this[_0x5557e7(0x161)][_0x5557e7(0x1bd)]();}[_0x28cd29(0xfc)](){const _0xc52833=_0x28cd29;_0x147c02(this[_0xc52833(0x178)])[_0xc52833(0x16b)](_0xc52833(0xf2));}[_0x28cd29(0x125)](){const _0x5df08d=_0x28cd29;_0x147c02(this[_0x5df08d(0x178)])[_0x5df08d(0x166)](_0x5df08d(0xf2));}[_0x28cd29(0x18b)](_0x4a57cf){const _0x12f614=_0x28cd29,_0x42a6e7=_0x147c02(this[_0x12f614(0x178)]),_0x378d17=_0x42a6e7[_0x12f614(0x1aa)],_0x8b325c=_0x4a57cf[_0x12f614(0x160)](_0x5c7350=>this[_0x12f614(0x1b8)](_0x5c7350))[_0x12f614(0x151)]();_0x378d17[_0x12f614(0x170)](_0x53a65e=>{const _0x3f2975=_0x12f614;for(const _0xde3c1d of _0x8b325c){const _0x5742c5=_0x42a6e7[_0x3f2975(0x1aa)][_0x3f2975(0x17c)][_0x3f2975(0xe4)](_0xde3c1d['id']);_0x5742c5&&(_0x3f2975(0x15b)===_0xde3c1d[_0x3f2975(0x199)]?_0x378d17[_0x3f2975(0xf9)](_0x53a65e[_0x3f2975(0x16a)](_0xde3c1d[_0x3f2975(0x14c)]||''),_0x5742c5[_0x3f2975(0x1b1)]()[_0x3f2975(0x130)]):_0x3f2975(0x154)!==_0xde3c1d[_0x3f2975(0x199)]&&_0x3f2975(0xfb)!==_0xde3c1d[_0x3f2975(0x199)]||_0x378d17[_0x3f2975(0x1b3)](_0x378d17[_0x3f2975(0xf0)](_0x5742c5[_0x3f2975(0x1b1)]())),_0x53a65e[_0x3f2975(0x153)](_0xde3c1d['id']),this[_0x3f2975(0x161)][_0x3f2975(0x11e)](_0xde3c1d['id']));}});}[_0x28cd29(0x19b)](_0x475798){const _0x322dcc=_0x28cd29,_0x4db6db=_0x147c02(this[_0x322dcc(0x178)]),_0x558095=this[_0x322dcc(0x1b8)](_0x475798);_0x4db6db[_0x322dcc(0x1aa)][_0x322dcc(0x170)](_0x1ec2ed=>{const _0xd69185=_0x322dcc;for(const _0x3b9522 of _0x558095)_0x1ec2ed[_0xd69185(0x153)](_0x3b9522['id']),this[_0xd69185(0x161)][_0xd69185(0x11e)](_0x3b9522['id']);});}[_0x28cd29(0x1b4)](){const _0x3614cf=_0x28cd29;return _0x147c02(this[_0x3614cf(0x178)]);}[_0x28cd29(0x1a5)](_0x303eee){const _0xd5d31b=_0x28cd29,_0x5e1d6f=Array[_0xd5d31b(0x19d)](this[_0xd5d31b(0x161)][_0xd5d31b(0x19a)]())[_0xd5d31b(0x124)](_0x1994c5=>_0x1994c5[_0xd5d31b(0x112)]===_0x303eee);if(!_0x5e1d6f[_0xd5d31b(0x1be)])return null;const _0x17e594=0x1===_0x5e1d6f[_0xd5d31b(0x1be)]?_0x5e1d6f[0x0]:this[_0xd5d31b(0xed)](_0x5e1d6f)[0x0],_0x2dcf33=_0x147c02(this[_0xd5d31b(0x178)]),_0x44c1ba=_0x2dcf33[_0xd5d31b(0x1aa)][_0xd5d31b(0x17c)][_0xd5d31b(0xe4)](_0x17e594['id']);if(!_0x44c1ba)return null;const _0x15cef9=_0x44c1ba[_0xd5d31b(0x1b1)](),_0x1b8a69=_0x2dcf33[_0xd5d31b(0x1a8)][_0xd5d31b(0x185)][_0xd5d31b(0x1c1)]();if(!_0x1b8a69||!_0x15cef9)return null;const _0x318cae=_0x1b8a69[_0xd5d31b(0x131)](_0xd5d31b(0xec)+_0x17e594['id']+'\x22]');return _0x318cae?{'modelRange':_0x15cef9,'domElement':_0x318cae}:null;}[_0x28cd29(0xf7)](_0x1cada2,_0x46f635){const _0x37e074=_0x28cd29,_0x320434=Array[_0x37e074(0x19d)](this[_0x37e074(0x161)][_0x37e074(0x182)]()),_0x2df57d=new Map();for(const _0x47bdca of _0x320434){const _0x82e359=_0x1cada2[_0x37e074(0x1aa)][_0x37e074(0x17c)][_0x37e074(0xe4)](_0x47bdca);if(!_0x82e359)continue;const _0x3fd98a=_0x82e359[_0x37e074(0x121)]()[_0x37e074(0x133)][0x0];_0x2df57d[_0x37e074(0x16f)](_0x3fd98a)||_0x2df57d[_0x37e074(0x11a)](_0x3fd98a,[]),_0x2df57d[_0x37e074(0xe4)](_0x3fd98a)[_0x37e074(0xe1)](_0x82e359);}const _0x5b7807=new Set();for(const _0x30160f of _0x1cada2[_0x37e074(0x1aa)][_0x37e074(0x18e)][_0x37e074(0x192)][_0x37e074(0x18d)]()){let _0x1e6e99=-0x1,_0x5c8f85=null;if(_0x37e074(0x15b)===_0x30160f[_0x37e074(0x199)])_0x5c8f85=new _0x4af4fe(_0x30160f[_0x37e074(0x163)],_0x30160f[_0x37e074(0x163)][_0x37e074(0x146)](_0x30160f[_0x37e074(0x1be)])),_0x1e6e99=_0x30160f[_0x37e074(0x163)][_0x37e074(0x133)][0x0];else{if(_0x37e074(0x17b)!==_0x30160f[_0x37e074(0x199)])continue;_0x5c8f85=new _0x4af4fe(_0x30160f[_0x37e074(0x163)]),_0x1e6e99=_0x30160f[_0x37e074(0x163)][_0x37e074(0x133)][0x0];}const _0x3ab644=_0x2df57d[_0x37e074(0xe4)](_0x1e6e99)||[];if(_0x3ab644[_0x37e074(0x1be)]){for(const _0x583b8e of _0x3ab644)if(_0x5c8f85[_0x37e074(0x13e)][_0x37e074(0x119)]===_0x583b8e[_0x37e074(0x1b1)]()[_0x37e074(0x13e)][_0x37e074(0x119)]&&(_0x37e074(0x15b)!==_0x30160f[_0x37e074(0x199)]||!_0x5c8f85[_0x37e074(0x1c0)](_0x583b8e[_0x37e074(0x1b1)]()))&&(_0x5c8f85[_0x37e074(0x19e)](_0x583b8e[_0x37e074(0x1b1)]())||_0x5c8f85[_0x37e074(0x130)][_0x37e074(0x103)](_0x583b8e[_0x37e074(0x1b1)]()[_0x37e074(0xe2)])||_0x5c8f85[_0x37e074(0xe2)][_0x37e074(0x103)](_0x583b8e[_0x37e074(0x1b1)]()[_0x37e074(0x130)]))){const _0x2df0cf=this[_0x37e074(0x15d)](_0x583b8e[_0x37e074(0x109)]);Array[_0x37e074(0x19d)](this[_0x37e074(0x161)][_0x37e074(0x19a)]())[_0x37e074(0x124)](_0x528f66=>_0x528f66[_0x37e074(0x112)]===_0x2df0cf[_0x37e074(0x112)])[_0x37e074(0x1b5)](_0x3a77ef=>_0x5b7807[_0x37e074(0x142)](_0x3a77ef['id']));}}}if(_0x5b7807[_0x37e074(0x139)]){for(const _0x4e97ed of _0x5b7807)_0x46f635[_0x37e074(0x153)](_0x4e97ed);return!0x0;}return!0x1;}[_0x28cd29(0x111)](_0x3c7276){const _0x247d02=_0x28cd29;for(const {name:_0x9747cf,data:_0x19ba77}of _0x3c7276[_0x247d02(0x1aa)][_0x247d02(0x18e)][_0x247d02(0x192)][_0x247d02(0x100)]()){if(!_0x9747cf[_0x247d02(0x155)](me))continue;const _0x5870a9=_0x19ba77[_0x247d02(0xff)],_0x3efd3a=_0x19ba77[_0x247d02(0x183)],_0x2bdee2=_0x5870a9&&_0x247d02(0x106)===_0x5870a9[_0x247d02(0x13e)][_0x247d02(0x119)],_0xefb11a=_0x3efd3a&&_0x247d02(0x106)===_0x3efd3a[_0x247d02(0x13e)][_0x247d02(0x119)];if(_0x2bdee2&&_0xefb11a)continue;const _0x3d034b=this[_0x247d02(0x15d)](_0x9747cf);this[_0x247d02(0x161)][_0x247d02(0xe4)](_0x9747cf)&&(_0xefb11a||!_0x3efd3a?this[_0x247d02(0x193)][_0x247d02(0xfa)](_0x247d02(0x1c4),{'markerId':_0x9747cf,'changeId':_0x3d034b[_0x247d02(0x112)]}):_0x2bdee2&&_0x3efd3a&&this[_0x247d02(0x193)][_0x247d02(0xfa)](_0x247d02(0x10f),{'markerId':_0x9747cf,'changeId':_0x3d034b[_0x247d02(0x112)]}));}}[_0x28cd29(0x15d)](_0x2f61d2){const _0x47e066=_0x28cd29,_0x3c2302=_0x2f61d2[_0x47e066(0x191)](':'),_0x438f33=(_0x3c2302[0x1]||'')[_0x47e066(0x191)]('_');return{'prefix':_0x3c2302[0x0],'groupId':_0x438f33[0x0],'suffix':_0x438f33[0x1]};}[_0x28cd29(0x144)](_0x21ec1e,_0x1dbb1,_0x2c1f33){const _0x17da45=_0x28cd29;if(_0x17da45(0x15b)===_0x21ec1e[_0x17da45(0x199)]){const _0x407a78=_0x21ec1e;return new _0xcc3b8c(this[_0x17da45(0x1b9)](_0x1dbb1[_0x17da45(0x10e)](_0x407a78[_0x17da45(0x163)][_0x17da45(0x19c)]),_0x2c1f33),_0x407a78[_0x17da45(0x1b7)],_0x407a78[_0x17da45(0x173)]);}if(_0x17da45(0x105)===_0x21ec1e[_0x17da45(0x199)]&&_0x21ec1e[_0x17da45(0x109)][_0x17da45(0x155)](_0x17da45(0x1ae))){const _0x288c55=_0x21ec1e;return new _0x2fa0df(_0x288c55[_0x17da45(0x109)],_0x288c55[_0x17da45(0xff)],this[_0x17da45(0x1bc)](_0x288c55[_0x17da45(0x183)],_0x1dbb1[_0x17da45(0x10e)](_0x288c55[_0x17da45(0x183)][_0x17da45(0x130)][_0x17da45(0x19c)]),_0x1dbb1[_0x17da45(0x10e)](_0x288c55[_0x17da45(0x183)][_0x17da45(0xe2)][_0x17da45(0x19c)]),_0x2c1f33),_0x288c55[_0x17da45(0x161)],_0x288c55[_0x17da45(0x12e)],_0x288c55[_0x17da45(0x173)]);}return _0x21ec1e;}[_0x28cd29(0x116)](_0xe767b9){const _0x56bbdd=_0x28cd29;if(!_0xe767b9[_0x56bbdd(0x1be)])return[];const _0x471062=[];let _0x53d749=0x0,_0x17226f=0x0,_0x4ffc24=[];for(let _0x5227ba=0x0;_0x5227ba<=_0xe767b9[_0x56bbdd(0x1be)];_0x5227ba++){const _0x37db9d=_0xe767b9[_0x5227ba],_0x18b6c2=_0xe767b9[_0x5227ba-0x1];!_0x37db9d||_0x18b6c2&&!this[_0x56bbdd(0xea)](_0x18b6c2)[_0x56bbdd(0x103)](this[_0x56bbdd(0x176)](_0x37db9d))?(_0x471062[_0x56bbdd(0xe1)]({'operations':_0x4ffc24,'operationsIsolated':_0x4ffc24[_0x56bbdd(0x160)](_0x3bc27f=>this[_0x56bbdd(0x132)](_0x3bc27f[_0x56bbdd(0x17d)](),-_0x17226f)),'groupOffset':_0x53d749}),_0x4ffc24=_0x37db9d?[_0x37db9d]:[],_0x17226f+=_0x53d749,_0x53d749=0x0):_0x4ffc24[_0x56bbdd(0xe1)](_0x37db9d),_0x37db9d&&_0x56bbdd(0x15b)===_0x37db9d[_0x56bbdd(0x199)]&&(_0x53d749+=_0x37db9d[_0x56bbdd(0x165)]);}return _0x471062;}[_0x28cd29(0x1b6)](_0x31d9ed,_0x236ae1,_0x44ac60,_0x2f926a=0x1){const _0x444858=_0x28cd29,_0x154065=new _0xfa2a36({'startPosition':_0x31d9ed,'direction':_0x236ae1});let _0x190012=0x0;for(let _0x59f8ca=0x0;_0x59f8ca<_0x2f926a;_0x59f8ca++){let _0x13ed4e=0x0,_0x5ced92=!0x1,_0x3e39fc=_0x444858(0x12d)===_0x236ae1?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x16abd3}of _0x154065)if(_0x16abd3['is'](_0x444858(0x16e))){const _0x566163=_0x3e39fc[_0x444858(0x16c)](_0x16abd3[_0x444858(0x1bb)]);if(_0x566163&&_0x566163[_0x444858(0x1be)]){if(_0x13ed4e+=_0x444858(0x12d)===_0x236ae1?_0x566163[_0x444858(0x18a)]+_0x566163[0x0][_0x444858(0x1be)]:_0x16abd3[_0x444858(0x1bb)][_0x444858(0x1be)]-_0x566163[_0x444858(0x18a)],_0x566163[0x0][_0x444858(0x1be)]!==_0x16abd3[_0x444858(0x1bb)][_0x444858(0x1be)])break;_0x5ced92=!0x0,_0x3e39fc=_0x444858(0x12d)===_0x236ae1?/^\w+/:/\w+$/;}else{if(_0x5ced92)break;_0x13ed4e+=_0x16abd3[_0x444858(0x102)];}}else{if(_0x16abd3['is'](_0x444858(0x169))){_0x44ac60[_0x444858(0x196)](_0x16abd3)&&!_0x5ced92&&(_0x13ed4e+=0x1);break;}}_0x190012+=_0x13ed4e,_0x154065[_0x444858(0x1ad)](_0x31d9ed[_0x444858(0x146)](_0x444858(0x12d)===_0x236ae1?_0x190012:-_0x190012));}return _0x190012;}[_0x28cd29(0x15e)](_0x7636e8,_0x59df46){const _0x47de87=_0x28cd29,_0xc0906b=_0x147c02(this[_0x47de87(0x178)])[_0x47de87(0x1aa)][_0x47de87(0x13c)],_0x5375d8=this[_0x47de87(0x1b6)](_0x7636e8,_0x47de87(0xe0),_0xc0906b,0x6),_0x2c7fe2=this[_0x47de87(0x1b6)](_0x59df46,_0x47de87(0x12d),_0xc0906b,0x6),_0x586c07=_0x7636e8[_0x47de87(0x146)](-_0x5375d8),_0x298d73=_0x59df46[_0x47de87(0x146)](_0x2c7fe2);return{'start':_0x586c07,'end':_0x298d73,'hasContentBefore':!_0x586c07[_0x47de87(0x17a)],'hasContentAfter':!_0x298d73[_0x47de87(0x150)]};}[_0x28cd29(0x113)](_0x115dbf){const _0x45e10b=_0x28cd29,_0x4dfc02=this[_0x45e10b(0x178)][_0x45e10b(0x1b2)][_0x45e10b(0xe4)](_0x45e10b(0x188)),_0x23b827=new Set();_0x147c02(this[_0x45e10b(0x178)])[_0x45e10b(0x1aa)][_0x45e10b(0x170)](_0x5742b6=>{const _0x3799d9=_0x45e10b;for(const _0xec4fd of _0x115dbf){const _0x3822ff=''+me+_0xec4fd[_0x3799d9(0x199)]+':'+_0xec4fd[_0x3799d9(0x112)]+'_'+_0x4dfc02[_0x3799d9(0xe7)](_0x23b827);this[_0x3799d9(0x161)][_0x3799d9(0x11a)](_0x3822ff,{'id':_0x3822ff,'groupId':_0xec4fd[_0x3799d9(0x112)],'type':_0xec4fd[_0x3799d9(0x199)],'text':_0xec4fd[_0x3799d9(0x14c)]}),_0x5742b6[_0x3799d9(0xda)](_0x3822ff,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5742b6[_0x3799d9(0x13f)](_0xec4fd[_0x3799d9(0x130)],_0xec4fd[_0x3799d9(0xe2)])});}});}[_0x28cd29(0xdf)](_0x456d21,_0x160e82,_0xda189a){let _0x52b998='';return()=>{const _0x1fef8a=_0x222a;if(!_0x52b998){const _0x5e4201=_0x160e82[_0x1fef8a(0xf5)](_0x456d21,{'showSuggestionHighlights':!0x0}),_0x327435=_0x5e4201[_0x1fef8a(0x197)](0x0);if(!_0x327435)return'';let _0xed8edf=!0x1;const _0x2b6692=[];for(const _0x278175 of _0x327435[_0x1fef8a(0x172)]())_0x278175['is'](_0x1fef8a(0x169),_0x1fef8a(0x1a7))&&_0x278175[_0x1fef8a(0x14a)](_0x1fef8a(0x19f))&&(_0xed8edf=!0x1),_0xed8edf&&_0x2b6692[_0x1fef8a(0xe1)](_0x278175),_0x278175['is'](_0x1fef8a(0x169),_0x1fef8a(0x1a7))&&_0x278175[_0x1fef8a(0x14a)](_0x1fef8a(0x117))&&(_0xed8edf=!0x0);_0x327435[_0x1fef8a(0x128)](0x0,_0x327435[_0x1fef8a(0x177)]),_0xda189a?.[_0x1fef8a(0x12c)]&&_0x327435[_0x1fef8a(0x18c)]('…'),_0x327435[_0x1fef8a(0x18c)](_0x2b6692),_0xda189a?.[_0x1fef8a(0x134)]&&_0x327435[_0x1fef8a(0x18c)]('…');const _0x4bec12=_0x160e82[_0x1fef8a(0x14e)][_0x1fef8a(0x12a)][_0x1fef8a(0x14d)](_0x5e4201),_0x1b5f40=_0x160e82[_0x1fef8a(0x14e)][_0x1fef8a(0x1a9)][_0x1fef8a(0x137)](_0x4bec12);_0x52b998=_0x1b5f40;}return _0x52b998;};}[_0x28cd29(0x1c5)](_0x2a87d3,_0x40d287){const _0x5d6d8a=_0x28cd29;let _0x5332dc='';return()=>(_0x5332dc||(_0x5332dc=_0x40d287[_0x5d6d8a(0x115)](_0x2a87d3,{'showSuggestionHighlights':!0x0})),_0x5332dc);}[_0x28cd29(0xe5)](_0x39d3b0,_0x5e2178,_0x6689a6){let _0x139954='';return()=>{const _0x715e6=_0x222a;if(!_0x139954){const _0x4a8846=_0x6689a6[_0x715e6(0xf5)](new _0x234b28(_0x39d3b0)),_0xf9345c=_0x6689a6[_0x715e6(0x14e)][_0x715e6(0x12a)][_0x715e6(0x14d)](_0x4a8846)[_0x715e6(0x131)](_0x715e6(0x168)+_0x5e2178+'\x22]');_0x139954=_0xf9345c?.[_0x715e6(0x12f)]||'';}return _0x139954;};}[_0x28cd29(0x14b)](_0x5741cc,_0x24e7d3=0x5){const _0x57c5cf=_0x28cd29;let _0x1ee6fb=_0x5741cc,_0xf37c62=null;for(let _0x303ea4=0x0;_0x303ea4<_0x24e7d3&&_0x1ee6fb;_0x303ea4++){if(!_0x1ee6fb[_0x57c5cf(0x13b)]){_0x1ee6fb=_0x1ee6fb[_0x57c5cf(0x198)];continue;}if(!(''+_0x1ee6fb[_0x57c5cf(0x13b)])[_0x57c5cf(0xdb)](_0x57c5cf(0x171))){_0x1ee6fb=_0x1ee6fb[_0x57c5cf(0x198)];continue;}if(!_0x1ee6fb[_0x57c5cf(0xde)](_0x57c5cf(0x129)))break;_0xf37c62=_0x1ee6fb;break;}return _0xf37c62;}[_0x28cd29(0x1b8)](_0x5a7646){const _0xf5524b=_0x28cd29;return Array[_0xf5524b(0x19d)](this[_0xf5524b(0x161)][_0xf5524b(0x19a)]())[_0xf5524b(0x124)](_0x267f0a=>_0x267f0a[_0xf5524b(0x112)]===_0x5a7646);}[_0x28cd29(0x176)](_0x25d713){const _0x4c59cf=_0x28cd29;return _0x4c59cf(0x15b)===_0x25d713[_0x4c59cf(0x199)]?_0x25d713[_0x4c59cf(0x163)]:_0x25d713[_0x4c59cf(0x183)][_0x4c59cf(0x130)];}[_0x28cd29(0xea)](_0x4bc513,_0x3e4362=!0x1){const _0xfdb6be=_0x28cd29;return _0xfdb6be(0x15b)===_0x4bc513[_0xfdb6be(0x199)]?_0x3e4362?_0x4bc513[_0xfdb6be(0x163)]:_0x4bc513[_0xfdb6be(0x163)][_0xfdb6be(0x146)](_0x4bc513[_0xfdb6be(0x165)]):_0x4bc513[_0xfdb6be(0x183)][_0xfdb6be(0xe2)];}[_0x28cd29(0x132)](_0x5b6d52,_0x1c2277){const _0x5b424c=_0x28cd29;return _0x5b424c(0x15b)===_0x5b6d52[_0x5b424c(0x199)]?_0x5b6d52[_0x5b424c(0x163)]=_0x5b6d52[_0x5b424c(0x163)][_0x5b424c(0x146)](_0x1c2277):_0x5b424c(0x105)===_0x5b6d52[_0x5b424c(0x199)]&&_0x5b6d52[_0x5b424c(0x183)]&&(_0x5b6d52[_0x5b424c(0x183)]=new _0x4af4fe(_0x5b6d52[_0x5b424c(0x183)][_0x5b424c(0x130)][_0x5b424c(0x146)](_0x1c2277),_0x5b6d52[_0x5b424c(0x183)][_0x5b424c(0xe2)][_0x5b424c(0x146)](_0x1c2277))),_0x5b6d52;}[_0x28cd29(0x122)](_0x3f82e9,_0x18eb9a){const _0x5385cd=_0x28cd29;_0x5385cd(0x15b)===_0x3f82e9[_0x5385cd(0x199)]?_0x3f82e9[_0x5385cd(0x163)]=this[_0x5385cd(0x187)](_0x3f82e9[_0x5385cd(0x163)],_0x18eb9a):_0x5385cd(0x105)===_0x3f82e9[_0x5385cd(0x199)]&&_0x3f82e9[_0x5385cd(0x183)]&&(_0x3f82e9[_0x5385cd(0x183)]=this[_0x5385cd(0x1c6)](_0x3f82e9[_0x5385cd(0x183)],_0x18eb9a));}[_0x28cd29(0x187)](_0x4e3d12,_0x5af9f3){const _0x2899e5=_0x28cd29;return new _0x3c6d10(_0x5af9f3,_0x4e3d12[_0x2899e5(0x133)]);}[_0x28cd29(0x1c6)](_0x140d16,_0x3635f6){const _0x1f5ac0=_0x28cd29;return new _0x4af4fe(this[_0x1f5ac0(0x187)](_0x140d16[_0x1f5ac0(0x130)],_0x3635f6),this[_0x1f5ac0(0x187)](_0x140d16[_0x1f5ac0(0xe2)],_0x3635f6));}[_0x28cd29(0x1b9)](_0x1fa199,_0x520f00){return new _0x3c6d10(_0x520f00,[..._0x1fa199]);}[_0x28cd29(0x1bc)](_0x1af65e,_0x4d112a,_0x3999c1,_0x3e71be){const _0x39eed1=_0x28cd29;return new _0x4af4fe(this[_0x39eed1(0x1b9)](_0x4d112a,_0x3e71be),this[_0x39eed1(0x1b9)](_0x3999c1,_0x3e71be));}[_0x28cd29(0xed)](_0x11b428){const _0x4b209b=_0x28cd29,_0x2b7292=_0x266c6e=>{const _0x54e1ed=_0x222a;switch(_0x266c6e){case _0x54e1ed(0x15b):return 0x1;case _0x54e1ed(0x136):return 0x2;case _0x54e1ed(0xfb):return 0x3;case _0x54e1ed(0x154):return 0x4;}};return _0x11b428[_0x4b209b(0x1b0)]((_0xa2c64e,_0x8db866)=>_0x2b7292(_0xa2c64e[_0x4b209b(0x199)])-_0x2b7292(_0x8db866[_0x4b209b(0x199)]));}[_0x28cd29(0x17e)](_0x3a2e9c,_0x1aefe3){const _0x3e7f20=_0x28cd29,_0x3eb1a9=_0x3a2e9c[_0x3e7f20(0x197)](0x0),_0x2e172c=_0x1aefe3[_0x3e7f20(0x197)](0x0);return!(!_0x3eb1a9||!_0x2e172c)&&((!_0x3eb1a9['is'](_0x3e7f20(0x169))||!_0x2e172c['is'](_0x3e7f20(0x169))||_0x3eb1a9[_0x3e7f20(0x109)]===_0x2e172c[_0x3e7f20(0x109)])&&!(_0x3eb1a9['is'](_0x3e7f20(0x169))&&!_0x2e172c['is'](_0x3e7f20(0x169))||!_0x3eb1a9['is'](_0x3e7f20(0x169))&&_0x2e172c['is'](_0x3e7f20(0x169))));}}
23
+ const _0x9ddc56=_0x54ad;function _0x54ad(_0x4dca3e,_0x1c6ca7){const _0x141443=_0x1414();return _0x54ad=function(_0x54ad26,_0x330112){_0x54ad26=_0x54ad26-0xd3;let _0x1e40ee=_0x141443[_0x54ad26];return _0x1e40ee;},_0x54ad(_0x4dca3e,_0x1c6ca7);}(function(_0x2e7245,_0x39ca54){const _0x271bf9=_0x54ad,_0x8eafe5=_0x2e7245();while(!![]){try{const _0x20f770=parseInt(_0x271bf9(0x137))/0x1*(-parseInt(_0x271bf9(0x1c0))/0x2)+parseInt(_0x271bf9(0x101))/0x3+-parseInt(_0x271bf9(0x19e))/0x4*(-parseInt(_0x271bf9(0x1a1))/0x5)+parseInt(_0x271bf9(0x1b2))/0x6+parseInt(_0x271bf9(0x166))/0x7+parseInt(_0x271bf9(0x1b8))/0x8+-parseInt(_0x271bf9(0x190))/0x9*(-parseInt(_0x271bf9(0xe5))/0xa);if(_0x20f770===_0x39ca54)break;else _0x8eafe5['push'](_0x8eafe5['shift']());}catch(_0x2d57bf){_0x8eafe5['push'](_0x8eafe5['shift']());}}}(_0x1414,0x5110f));function _0x1414(){const _0x418291=['data','delete','values','baseVersion','_validateMarkers','nodes','enableReadOnlyMode','root','stringify','rejectChange','includes','AIReviewModeEditing','ck-ai_review-mode-marker_context-start','elements','getPath','map','markers','_clone','target','emitter','ck-ai_review-mode-marker_underline','parse','operationsA','_insertMarkers','querySelector','isAtStart','getChanges','version','_sortMarkers','reviewmode-','911106itGxWP','append','_domEmitter','remove-text','$markedRemove','_hasSameTopLevelElement','getRoots','insert','childCount','split','disableReadOnlyMode','getStart','filter','size','30964StLJpx','operationsIsolated','createText','95xSobPg','createDocumentFragment','ck-ai_review-mode-marker_context-end','hasContentBefore','end','remove','_findMarkerElement','markerToHighlight','createPositionAt','pop','dataDowncast','isPremiumPlugin','attributeToAttribute','_getMarkersDataForGroup','warn','_groupAdjacentOperations','ellipsisAfter','127020wDWgEq','fire','newRange','keys','_createGetContentUsingDataIdFn','ck-ai_review-mode-marker_context-','944200KcLVBL','index','_findAdjacentContextDistance','view','jumpTo','plugins','_haveOnlyInlineContent','_markers','1106044LeQJSU','processor','getEditor','text','ai-review-mode','addOperation','_parseMarkerName','removeMarker','model:$text','name','toView','No\x20element\x20found\x20for\x20ID:\x20','ck-ai_review-mode-marker_add','hasContentAfter','htmlProcessor','.ck-reset.ck-ai-review-mode-balloon-panel-suggestion','offsetSize','_createGetContentFn','applyOperation','_haveSingleTopLevelElement','suggestion-context','rootName','_setAttribute','span','createRawElement','push','insertContent','model','30RONRxx','AIEditing','toData','suggestion:deletion:id:authorId:','_changePosition','editing','downcast','$graveyard','forEach','createSelection','changeMarkerRestored','isOfficialPlugin','_changeOperationOwnerDocument','getRange','marker','domConverter','change','closest','hasAttribute','isInline','markerToElement','$textProxy','affectsData','forward','markChangePositionInEditorContent','_shiftOperation','DocumentCompare','[data-id=\x22','126846Wugxaw','history','batch','startsWith','_createGetContextFn','has','click','flat','every','getAttribute','containsRange','from','ck-ai_review-mode-marker_hide','_eventEmitter','createPositionAfter','listenTo','_handleMarkerChanges','className','_upsertDataId','htmlWriter','[data-marker-id=\x22','_getOperationEnd','ck-ai_review-mode-marker_','switchToReadOnly','_getOperationStart','parent','documentFragment','clearAllMarkers','conversion','changeMarkerHovered','set','editingDowncast','getChildren','getChangedMarkers','_appendChild','schema','getChild','isIntersecting','registerPostFixer','exec','context','differ','getOperations','document','ck-ai_review-mode-marker_strikethrough','get','element','_changePositionOwnerDocument','getHtml','getMarkerElementForChange','getDiff','backward','type','groupId','1vnXGIe','innerHTML','isAtEnd','containerElement','concat','for','offset','requires','createRange','outerHTML','getRoot','applyChange','_getChangeContext','hasClass','_removeChildren','_nextDataId','length','isTouching','changeMarkerBlurred','createUIElement','mouseover','addMarker','afterInit','toDomElement','remove-context','clear','viewToDom','sort','relatedTarget','getDocumentData','data-marker-id','remove-only','parentElement','oldRange','markerName','isOpening','changeMarkerClick','ellipsisBefore','pluginName','suggestion:insertion:id:authorId:','isDocumentOperation','_changeRange','path','howMany','diffContent','_removeAttribute','switchToEdit','1769677oQnbuU','getDomRoot','_changeRangeOwnerDocument','deleteContent','$documentFragment','add','clone','start','changeMarkerRemoved','getShiftedBy','_translateOperationToEditorContent','position'];_0x1414=function(){return _0x418291;};return _0x1414();}import{InsertOperation as _0x232256,MarkerOperation as _0x1f36b5,ModelDocumentFragment as _0x295fd2,ModelPosition as _0xae77cd,ModelRange as _0x5cdd59,ModelTreeWalker as _0x24eca4,transformOperationSets as _0xc342d2}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x1868c3,EmitterMixin as _0x4f70fd}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x5eb5ea}from'ckeditor5/src/core.js';import{DocumentCompare as _0x41b878,DATA_ID_MODEL_ATTRIBUTE as _0x544b8f,DATA_ID_VIEW_ATTRIBUTE as _0x159cfe}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x2184e2}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x9db21b}from'../aicore/aiediting.js';import{debounce as _0x501643}from'es-toolkit/compat';const le=_0x9ddc56(0x18f);export class AIReviewModeEditing extends _0x5eb5ea{static get[_0x9ddc56(0x15d)](){const _0x586f28=_0x9ddc56;return _0x586f28(0x17d);}static get[_0x9ddc56(0x13e)](){return[_0x41b878,_0x9db21b];}static get[_0x9ddc56(0xf0)](){return!0x0;}static get[_0x9ddc56(0x1ac)](){return!0x0;}[_0x9ddc56(0x1bf)]=new Map();[_0x9ddc56(0x192)];[_0x9ddc56(0x10e)];constructor(_0x53f2de){const _0x23d55c=_0x9ddc56;super(_0x53f2de),this[_0x23d55c(0x192)]=new(_0x1868c3())(),this[_0x23d55c(0x10e)]=new(_0x4f70fd())();}get[_0x9ddc56(0x185)](){const _0x310abf=_0x9ddc56;return this[_0x310abf(0x10e)];}[_0x9ddc56(0x14d)](){const _0x37ae6e=_0x9ddc56,_0xe6729e=_0x2184e2(this[_0x37ae6e(0x129)]);_0xe6729e[_0x37ae6e(0x11d)][_0x37ae6e(0x13c)](_0x37ae6e(0x120))[_0x37ae6e(0xf9)]({'model':le+_0x37ae6e(0x197),'view':(_0x545ca8,{writer:_0x6480d4})=>{const _0x27f9b6=_0x37ae6e,_0x2458c2=this[_0x27f9b6(0x1bf)][_0x27f9b6(0x12e)](_0x545ca8[_0x27f9b6(0x159)]),_0x2de5b2={'class':_0x27f9b6(0xd5),'data-marker-id':_0x545ca8[_0x27f9b6(0x159)]};return _0x6480d4[_0x27f9b6(0x14a)](_0x27f9b6(0xe0),_0x2de5b2,function(_0x22eb91){const _0x11bdc0=_0x27f9b6,_0x2fc7fc=this[_0x11bdc0(0x14e)](_0x22eb91);return _0x2fc7fc[_0x11bdc0(0x138)]=_0x2458c2?.[_0x11bdc0(0x1c3)]||'',_0x2fc7fc;});}}),_0xe6729e[_0x37ae6e(0x11d)][_0x37ae6e(0x13c)](_0x37ae6e(0x120))[_0x37ae6e(0x1a8)]({'model':le+_0x37ae6e(0x156),'view':_0xad688c=>({'classes':_0x37ae6e(0x12d),'attributes':{'data-marker-id':_0xad688c[_0x37ae6e(0x159)]}})}),_0xe6729e[_0x37ae6e(0x11d)][_0x37ae6e(0x13c)](_0x37ae6e(0x120))[_0x37ae6e(0x1a8)]({'model':le+_0x37ae6e(0x14f),'view':_0x45a2db=>({'classes':_0x37ae6e(0x186),'attributes':{'data-marker-id':_0x45a2db[_0x37ae6e(0x159)]}})}),_0xe6729e[_0x37ae6e(0x11d)][_0x37ae6e(0x13c)](_0x37ae6e(0x120))[_0x37ae6e(0x1a8)]({'model':le+_0x37ae6e(0x193),'view':_0x154750=>({'classes':_0x37ae6e(0x10d),'attributes':{'data-marker-id':_0x154750[_0x37ae6e(0x159)]}})}),_0xe6729e[_0x37ae6e(0x11d)][_0x37ae6e(0x13c)](_0x37ae6e(0x1ab))[_0x37ae6e(0xf9)]({'model':le+_0x37ae6e(0xdd),'view':(_0x12f9bd,{writer:_0x13ad7b})=>_0x13ad7b[_0x37ae6e(0xe1)](_0x37ae6e(0xe0),{'class':_0x37ae6e(0x1b7)+(_0x12f9bd[_0x37ae6e(0x15a)]?_0x37ae6e(0x16d):_0x37ae6e(0x1a5))})}),_0xe6729e[_0x37ae6e(0x11d)][_0x37ae6e(0x13c)](_0x37ae6e(0xeb))[_0x37ae6e(0x1ad)]({'model':_0x544b8f,'view':_0x159cfe}),this[_0x37ae6e(0x192)][_0x37ae6e(0x110)](document,_0x37ae6e(0x107),(_0x39b724,_0x5a69ee)=>{const _0x4abf65=_0x37ae6e,_0x1d3e64=_0x5a69ee[_0x4abf65(0x184)],_0x36cdbb=this[_0x4abf65(0x1a7)](_0x1d3e64);if(!_0x36cdbb)return;const _0x285963=_0x36cdbb[_0x4abf65(0x10a)](_0x4abf65(0x155)),_0x11c1da=_0x285963[_0x4abf65(0x199)](':')[_0x4abf65(0x1aa)]()?.[_0x4abf65(0x199)]('_')[0x0];this[_0x4abf65(0x10e)][_0x4abf65(0x1b3)](_0x4abf65(0x15b),{'markerId':_0x285963,'changeId':_0x11c1da,'markerElement':_0x36cdbb,'domEvent':_0x5a69ee});}),this[_0x37ae6e(0x192)][_0x37ae6e(0x110)](document,_0x37ae6e(0x14b),(_0x4c3576,_0x2bae28)=>{const _0x45518f=_0x37ae6e,_0x2c3bf3=_0x2bae28[_0x45518f(0x184)],_0x507804=_0x2bae28[_0x45518f(0x153)];let _0x59605a=this[_0x45518f(0x1a7)](_0x2c3bf3);if(!_0x59605a&&_0x507804&&(_0x59605a=this[_0x45518f(0x1a7)](_0x507804)),!_0x59605a)return;const _0x1f0358=_0x59605a[_0x45518f(0x10a)](_0x45518f(0x155)),_0x18b699=_0x1f0358[_0x45518f(0x199)](':')[_0x45518f(0x1aa)]()?.[_0x45518f(0x199)]('_')[0x0];this[_0x45518f(0x10e)][_0x45518f(0x1b3)](_0x45518f(0x11e),{'changeId':_0x18b699,'markerElement':_0x59605a,'domEvent':_0x2bae28});}),this[_0x37ae6e(0x192)][_0x37ae6e(0x110)](document,_0x37ae6e(0x14b),_0x501643((_0x328b6a,_0x527f0b)=>{const _0x4038c1=_0x37ae6e,_0x407076=_0x527f0b[_0x4038c1(0x184)];if(this[_0x4038c1(0x1a7)](_0x407076))return;_0x407076[_0x4038c1(0xf6)](_0x4038c1(0xd8))||this[_0x4038c1(0x10e)][_0x4038c1(0x1b3)](_0x4038c1(0x149));},0xc8)),_0xe6729e[_0x37ae6e(0xe4)][_0x37ae6e(0x12c)][_0x37ae6e(0x127)](_0x305e6c=>this[_0x37ae6e(0x176)](_0xe6729e,_0x305e6c)),_0xe6729e[_0x37ae6e(0xe4)][_0x37ae6e(0x12c)]['on'](_0x37ae6e(0xf5),()=>this[_0x37ae6e(0x111)](_0xe6729e));}[_0x9ddc56(0x154)](){const _0xdc3503=_0x9ddc56,_0x521366=this[_0xdc3503(0x129)][_0xdc3503(0x1bd)][_0xdc3503(0x12e)](_0xdc3503(0xe6)),_0x273a4d=_0x2184e2(this[_0xdc3503(0x129)]),_0x59361e=_0x273a4d[_0xdc3503(0xe4)],_0x348bdf=new _0x295fd2();for(const _0x19be45 of _0x59361e[_0xdc3503(0x12c)][_0xdc3503(0x141)]()[_0xdc3503(0x121)]()){const _0x2090af=_0x19be45[_0xdc3503(0x183)](!0x0);_0x348bdf[_0xdc3503(0x123)](_0x2090af);}for(const _0x1a93c0 of _0x59361e[_0xdc3503(0x182)])_0x348bdf[_0xdc3503(0x182)][_0xdc3503(0x11f)](_0x1a93c0[_0xdc3503(0x1c9)],this[_0xdc3503(0x168)](_0x1a93c0[_0xdc3503(0xf2)]()[_0xdc3503(0x16c)](),_0x348bdf));const _0x26990c=new _0x24eca4({'ignoreElementEnd':!0x0,'startPosition':_0x59361e[_0xdc3503(0x1a9)](_0x348bdf,0x0)}),_0x3bc305=new Set(),_0x3e2106=new Map();for(const {item:_0x4936ea}of _0x26990c){if(!_0x4936ea['is'](_0xdc3503(0xfa)))continue;const _0x209c2b=_0x4936ea[_0xdc3503(0x11a)];if(_0x209c2b&&_0x209c2b['is'](_0xdc3503(0x12f))){const _0x4fbdce=this[_0xdc3503(0x113)](_0x209c2b,()=>_0x521366[_0xdc3503(0x146)](_0x3bc305));_0x3bc305[_0xdc3503(0x16b)](_0x4fbdce);for(const _0x1e8fd9 of _0x209c2b[_0xdc3503(0x121)]())_0x1e8fd9['is'](_0xdc3503(0x12f))&&_0x3bc305[_0xdc3503(0x16b)](this[_0xdc3503(0x113)](_0x1e8fd9,()=>_0x521366[_0xdc3503(0x146)](_0x3bc305)));let _0x45e42f=_0x209c2b;for(;_0x45e42f[_0xdc3503(0x11a)]&&!_0x45e42f[_0xdc3503(0x11a)]['is'](_0xdc3503(0x11b));)_0x45e42f=_0x45e42f[_0xdc3503(0x11a)],_0x45e42f[_0xdc3503(0xf7)](_0x544b8f)&&_0x45e42f[_0xdc3503(0x164)](_0x544b8f);_0x3e2106[_0xdc3503(0x11f)](_0x4fbdce,{'path':_0x209c2b[_0xdc3503(0x180)](),'getContent':this[_0xdc3503(0x1b6)](_0x45e42f[_0xdc3503(0x183)](!0x0),_0x4fbdce,_0x273a4d[_0xdc3503(0x172)])}),_0x26990c[_0xdc3503(0x1bc)](_0x59361e[_0xdc3503(0x10f)](_0x209c2b));}}return{'content':_0x273a4d[_0xdc3503(0x172)][_0xdc3503(0x1c1)][_0xdc3503(0xe7)](_0x273a4d[_0xdc3503(0x172)][_0xdc3503(0xd3)](_0x348bdf)),'version':_0x273a4d[_0xdc3503(0xe4)][_0xdc3503(0x12c)][_0xdc3503(0x18d)],'elements':_0x3e2106};}[_0x9ddc56(0x163)](_0x20c5cf,_0x341d4f){const _0x2f9fcb=_0x9ddc56,_0x2e3c8d=[],_0x289be0=_0x2184e2(this[_0x2f9fcb(0x129)]),_0x3e391c=_0x289be0[_0x2f9fcb(0x172)][_0x2f9fcb(0x187)](_0x341d4f,_0x2f9fcb(0x16a)),_0x3b7043=_0x289be0[_0x2f9fcb(0x172)][_0x2f9fcb(0x187)](_0x20c5cf,_0x2f9fcb(0x16a)),_0x1a9c72=_0x289be0[_0x2f9fcb(0xe4)][_0x2f9fcb(0x1a9)](_0x3b7043,0x0);if(this[_0x2f9fcb(0xdc)](_0x3e391c)){if(!this[_0x2f9fcb(0x195)](_0x3b7043,_0x3e391c))return _0x2e3c8d;}else{const _0x423185=_0x289be0[_0x2f9fcb(0xe4)][_0x2f9fcb(0x124)];if(!this[_0x2f9fcb(0x1be)](_0x3b7043,_0x423185)||!this[_0x2f9fcb(0x1be)](_0x3e391c,_0x423185))return _0x2e3c8d;}const _0x1789b9=this[_0x2f9fcb(0x129)][_0x2f9fcb(0x1bd)][_0x2f9fcb(0x12e)](_0x2f9fcb(0xff))[_0x2f9fcb(0x133)](_0x20c5cf,_0x341d4f,{'anchor':_0x1a9c72,'markDeletions':!0x0})[_0x2f9fcb(0x12b)]()[_0x2f9fcb(0x19c)](_0x21f84b=>_0x2f9fcb(0x197)===_0x21f84b[_0x2f9fcb(0x135)]||_0x2f9fcb(0xf3)===_0x21f84b[_0x2f9fcb(0x135)]&&_0x21f84b[_0x2f9fcb(0x1c9)][_0x2f9fcb(0x104)](_0x2f9fcb(0x194))),_0x530136=this[_0x2f9fcb(0x1b0)](_0x1789b9);let _0x47bdda=0x0;return _0x289be0[_0x2f9fcb(0xe4)][_0x2f9fcb(0xf5)](_0x320d97=>{const _0x516246=_0x2f9fcb;for(let _0x2f2eb3=0x0;_0x2f2eb3<_0x530136[_0x516246(0x147)];_0x2f2eb3++){const _0x3a4bb2=_0x530136[_0x2f2eb3],_0x28a975=_0x320d97[_0x516246(0x1a2)]();for(const _0xe68d4 of _0x3b7043[_0x516246(0x121)]())_0x320d97[_0x516246(0x191)](_0xe68d4[_0x516246(0x183)](!0x0),_0x28a975);for(const _0x1ada28 of _0x3a4bb2[_0x516246(0x19f)])if(_0x516246(0x197)===_0x1ada28[_0x516246(0x135)]){const _0x3081cf=_0x1ada28;_0x3081cf[_0x516246(0x175)]=null,_0x3081cf[_0x516246(0x15f)]=!0x1,this[_0x516246(0xf1)](_0x3081cf,_0x28a975),_0x320d97[_0x516246(0x103)][_0x516246(0x1c5)](_0x1ada28),_0x289be0[_0x516246(0xe4)][_0x516246(0xdb)](_0x1ada28);const _0x4a6b04=_0x516246(0x15e)+_0x47bdda++,_0x2c7a27=_0x289be0[_0x516246(0xe4)][_0x516246(0x13f)](_0x3081cf[_0x516246(0x171)],_0x3081cf[_0x516246(0x171)][_0x516246(0x16f)](_0x3081cf[_0x516246(0x162)]));_0x28a975[_0x516246(0x182)][_0x516246(0x11f)](_0x4a6b04,_0x2c7a27);}else{if(_0x516246(0xf3)===_0x1ada28[_0x516246(0x135)]&&_0x1ada28[_0x516246(0x1c9)][_0x516246(0x104)](_0x516246(0x194))){const _0x4b89a9=_0x1ada28,_0x55d8f9=_0x516246(0xe8)+_0x47bdda++;this[_0x516246(0xf1)](_0x4b89a9,_0x28a975),_0x28a975[_0x516246(0x182)][_0x516246(0x11f)](_0x55d8f9,_0x4b89a9[_0x516246(0x1b4)]);}}const _0x2922ed=this[_0x516246(0x143)](this[_0x516246(0x130)](this[_0x516246(0x119)](_0x3a4bb2[_0x516246(0x19f)][0x0]),_0x28a975),this[_0x516246(0x130)](this[_0x516246(0x116)](_0x3a4bb2[_0x516246(0x19f)][_0x3a4bb2[_0x516246(0x19f)][_0x516246(0x147)]-0x1]),_0x28a975));_0x28a975[_0x516246(0x182)][_0x516246(0x11f)](le+_0x516246(0xdd),new _0x5cdd59(_0x2922ed[_0x516246(0x16d)],_0x2922ed[_0x516246(0x1a5)])),_0x2e3c8d[_0x516246(0xe2)]({..._0x3a4bb2,'context':this[_0x516246(0x105)](_0x28a975,_0x289be0[_0x516246(0x172)],{'ellipsisBefore':_0x2922ed[_0x516246(0x1a4)],'ellipsisAfter':_0x2922ed[_0x516246(0xd6)]}),'content':this[_0x516246(0xda)](_0x28a975,_0x289be0[_0x516246(0x172)])});}}),_0x2e3c8d;}[_0x9ddc56(0xfd)](_0x36818b,_0x319b6c){const _0x2356c9=_0x9ddc56;if(!_0x36818b[_0x2356c9(0x147)])return;const _0x2805f0=_0x36818b[0x0][_0x2356c9(0x11a)]['id'],_0x53ca34=_0x319b6c[_0x2356c9(0x17f)][_0x2356c9(0x12e)](_0x2805f0);if(!_0x53ca34)return void console[_0x2356c9(0x1af)](_0x2356c9(0xd4)+_0x2805f0);const _0xa14177=_0x53ca34[_0x2356c9(0x161)],_0x1bd56d=_0x2184e2(this[_0x2356c9(0x129)]),_0x19971e=_0x1bd56d[_0x2356c9(0xe4)][_0x2356c9(0x12c)][_0x2356c9(0x102)][_0x2356c9(0x12b)](_0x319b6c[_0x2356c9(0x18d)]),_0x1d2b3e=[];for(const _0x319ba5 of _0x36818b){const _0x8403b6=_0x319ba5[_0x2356c9(0x19f)][_0x2356c9(0x181)](_0x10bda0=>this[_0x2356c9(0x170)](_0x10bda0,_0xa14177,_0x1bd56d[_0x2356c9(0xe4)][_0x2356c9(0x12c)][_0x2356c9(0x196)]()[0x0]));if(!_0x8403b6||!_0x8403b6[_0x2356c9(0x147)])continue;const _0x38ca90=_0x8403b6[_0x2356c9(0x109)](_0x128b74=>_0x2356c9(0xf3)===_0x128b74[_0x2356c9(0x135)]&&_0x128b74[_0x2356c9(0x1c9)][_0x2356c9(0x104)](_0x2356c9(0x194))),_0x48be6d={'document':_0x1bd56d[_0x2356c9(0xe4)][_0x2356c9(0x12c)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x28fe24=_0xc342d2(_0x8403b6,_0x19971e,_0x48be6d)[_0x2356c9(0x188)];for(const _0xf92b76 of _0x28fe24)if(_0x2356c9(0x197)===_0xf92b76[_0x2356c9(0x135)]){const _0x6b88f=_0xf92b76,_0x42c067=_0x6b88f[_0x2356c9(0x177)];let _0xb0a44f='';for(const _0xb01b18 of _0x42c067)_0xb01b18&&_0xb01b18['is'](_0x2356c9(0x1c8))&&(_0xb0a44f+=_0xb01b18[_0x2356c9(0x172)]);_0x1d2b3e[_0x2356c9(0xe2)]({'start':_0x6b88f[_0x2356c9(0x171)],'end':_0x6b88f[_0x2356c9(0x171)],'type':_0x2356c9(0x197),'groupId':_0x319ba5['id'],'text':_0xb0a44f});}else{if(_0x2356c9(0xf3)===_0xf92b76[_0x2356c9(0x135)]&&_0xf92b76[_0x2356c9(0x1c9)][_0x2356c9(0x104)](_0x2356c9(0x194))){const _0x2fdebe=_0xf92b76;let _0x430af2=_0x2356c9(0x193);if(_0x38ca90){const _0xce78dc=this[_0x2356c9(0x1ba)](_0x2fdebe[_0x2356c9(0x1b4)][_0x2356c9(0x16d)],_0x2356c9(0x134),_0x1bd56d[_0x2356c9(0xe4)][_0x2356c9(0x124)]),_0x48d8e2=this[_0x2356c9(0x1ba)](_0x2fdebe[_0x2356c9(0x1b4)][_0x2356c9(0x1a5)],_0x2356c9(0xfc),_0x1bd56d[_0x2356c9(0xe4)][_0x2356c9(0x124)]);if(_0xce78dc||_0x48d8e2){const _0x4c4a6a=_0x2fdebe[_0x2356c9(0x1b4)][_0x2356c9(0x16d)][_0x2356c9(0x16f)](-_0xce78dc),_0x1a670b=_0x2fdebe[_0x2356c9(0x1b4)][_0x2356c9(0x1a5)][_0x2356c9(0x16f)](_0x48d8e2);_0x1d2b3e[_0x2356c9(0xe2)]({'start':_0x4c4a6a,'end':_0x1a670b,'groupId':_0x319ba5['id'],'type':_0x2356c9(0x14f)});}else _0x430af2=_0x2356c9(0x156);}_0x1d2b3e[_0x2356c9(0xe2)]({'start':_0x2fdebe[_0x2356c9(0x1b4)][_0x2356c9(0x16d)],'end':_0x2fdebe[_0x2356c9(0x1b4)][_0x2356c9(0x1a5)],'groupId':_0x319ba5['id'],'type':_0x430af2});}}}this[_0x2356c9(0x189)](_0x1d2b3e);}[_0x9ddc56(0x11c)](){const _0x53c5ae=_0x9ddc56,_0x30831a=_0x2184e2(this[_0x53c5ae(0x129)]);_0x30831a[_0x53c5ae(0xe4)][_0x53c5ae(0xf5)](_0x590068=>{const _0x5d8937=_0x53c5ae;for(const _0x1e0c32 of this[_0x5d8937(0x1bf)][_0x5d8937(0x1b5)]())_0x30831a[_0x5d8937(0xe4)][_0x5d8937(0x182)][_0x5d8937(0x12e)](_0x1e0c32)&&_0x590068[_0x5d8937(0x1c7)](_0x1e0c32);}),this[_0x53c5ae(0x1bf)][_0x53c5ae(0x150)]();}[_0x9ddc56(0x118)](){const _0x1e6b09=_0x9ddc56;_0x2184e2(this[_0x1e6b09(0x129)])[_0x1e6b09(0x178)](_0x1e6b09(0x1c4));}[_0x9ddc56(0x165)](){const _0x556779=_0x9ddc56;_0x2184e2(this[_0x556779(0x129)])[_0x556779(0x19a)](_0x556779(0x1c4));}[_0x9ddc56(0x142)](_0x5a32c7){const _0x229533=_0x9ddc56,_0x554899=_0x2184e2(this[_0x229533(0x129)]),_0x2f65dd=_0x554899[_0x229533(0xe4)],_0x3fbe75=_0x5a32c7[_0x229533(0x181)](_0x5335d0=>this[_0x229533(0x1ae)](_0x5335d0))[_0x229533(0x108)]();_0x2f65dd[_0x229533(0xf5)](_0x5ef5ed=>{const _0x17f37a=_0x229533;for(const _0x423d11 of _0x3fbe75){const _0x3f5a01=_0x554899[_0x17f37a(0xe4)][_0x17f37a(0x182)][_0x17f37a(0x12e)](_0x423d11['id']);_0x3f5a01&&(_0x17f37a(0x197)===_0x423d11[_0x17f37a(0x135)]?_0x2f65dd[_0x17f37a(0xe3)](_0x5ef5ed[_0x17f37a(0x1a0)](_0x423d11[_0x17f37a(0x1c3)]||''),_0x3f5a01[_0x17f37a(0xf2)]()[_0x17f37a(0x16d)]):_0x17f37a(0x193)!==_0x423d11[_0x17f37a(0x135)]&&_0x17f37a(0x156)!==_0x423d11[_0x17f37a(0x135)]||_0x2f65dd[_0x17f37a(0x169)](_0x2f65dd[_0x17f37a(0xee)](_0x3f5a01[_0x17f37a(0xf2)]())),_0x5ef5ed[_0x17f37a(0x1c7)](_0x423d11['id']),this[_0x17f37a(0x1bf)][_0x17f37a(0x173)](_0x423d11['id']));}});}[_0x9ddc56(0x17b)](_0x1843cf){const _0x4784d2=_0x9ddc56,_0x43e374=_0x2184e2(this[_0x4784d2(0x129)]),_0x5cfb18=this[_0x4784d2(0x1ae)](_0x1843cf);_0x43e374[_0x4784d2(0xe4)][_0x4784d2(0xf5)](_0x22033b=>{const _0xc092bf=_0x4784d2;for(const _0xf2177c of _0x5cfb18)_0x22033b[_0xc092bf(0x1c7)](_0xf2177c['id']),this[_0xc092bf(0x1bf)][_0xc092bf(0x173)](_0xf2177c['id']);});}[_0x9ddc56(0x1c2)](){const _0x212938=_0x9ddc56;return _0x2184e2(this[_0x212938(0x129)]);}[_0x9ddc56(0x132)](_0x11b1ab){const _0x35aa90=_0x9ddc56,_0x50729d=Array[_0x35aa90(0x10c)](this[_0x35aa90(0x1bf)][_0x35aa90(0x174)]())[_0x35aa90(0x19c)](_0x36b347=>_0x36b347[_0x35aa90(0x136)]===_0x11b1ab);if(!_0x50729d[_0x35aa90(0x147)])return null;const _0x244fde=0x1===_0x50729d[_0x35aa90(0x147)]?_0x50729d[0x0]:this[_0x35aa90(0x18e)](_0x50729d)[0x0],_0x97a0f4=_0x2184e2(this[_0x35aa90(0x129)]),_0x554f64=_0x97a0f4[_0x35aa90(0xe4)][_0x35aa90(0x182)][_0x35aa90(0x12e)](_0x244fde['id']);if(!_0x554f64)return null;const _0x4f988a=_0x554f64[_0x35aa90(0xf2)](),_0x450537=_0x97a0f4[_0x35aa90(0xea)][_0x35aa90(0x1bb)][_0x35aa90(0x167)]();if(!_0x450537||!_0x4f988a)return null;const _0x206690=_0x450537[_0x35aa90(0x18a)](_0x35aa90(0x115)+_0x244fde['id']+'\x22]');return _0x206690?{'modelRange':_0x4f988a,'domElement':_0x206690}:null;}[_0x9ddc56(0x176)](_0x41f7eb,_0x3e871a){const _0x5d2a2b=_0x9ddc56,_0x1b3298=Array[_0x5d2a2b(0x10c)](this[_0x5d2a2b(0x1bf)][_0x5d2a2b(0x1b5)]()),_0xe992ce=new Map();for(const _0x1727e3 of _0x1b3298){const _0xa3b7f8=_0x41f7eb[_0x5d2a2b(0xe4)][_0x5d2a2b(0x182)][_0x5d2a2b(0x12e)](_0x1727e3);if(!_0xa3b7f8)continue;const _0x1142fe=_0xa3b7f8[_0x5d2a2b(0x19b)]()[_0x5d2a2b(0x161)][0x0];_0xe992ce[_0x5d2a2b(0x106)](_0x1142fe)||_0xe992ce[_0x5d2a2b(0x11f)](_0x1142fe,[]),_0xe992ce[_0x5d2a2b(0x12e)](_0x1142fe)[_0x5d2a2b(0xe2)](_0xa3b7f8);}const _0x4afe9e=new Set();for(const _0x5e44d7 of _0x41f7eb[_0x5d2a2b(0xe4)][_0x5d2a2b(0x12c)][_0x5d2a2b(0x12a)][_0x5d2a2b(0x18c)]()){let _0x1b6d8=-0x1,_0x1cd9af=null;if(_0x5d2a2b(0x197)===_0x5e44d7[_0x5d2a2b(0x135)])_0x1cd9af=new _0x5cdd59(_0x5e44d7[_0x5d2a2b(0x171)],_0x5e44d7[_0x5d2a2b(0x171)][_0x5d2a2b(0x16f)](_0x5e44d7[_0x5d2a2b(0x147)])),_0x1b6d8=_0x5e44d7[_0x5d2a2b(0x171)][_0x5d2a2b(0x161)][0x0];else{if(_0x5d2a2b(0x1a6)!==_0x5e44d7[_0x5d2a2b(0x135)])continue;_0x1cd9af=new _0x5cdd59(_0x5e44d7[_0x5d2a2b(0x171)]),_0x1b6d8=_0x5e44d7[_0x5d2a2b(0x171)][_0x5d2a2b(0x161)][0x0];}const _0x58716e=_0xe992ce[_0x5d2a2b(0x12e)](_0x1b6d8)||[];if(_0x58716e[_0x5d2a2b(0x147)]){for(const _0x1ffc78 of _0x58716e)if(_0x1cd9af[_0x5d2a2b(0x179)][_0x5d2a2b(0xde)]===_0x1ffc78[_0x5d2a2b(0xf2)]()[_0x5d2a2b(0x179)][_0x5d2a2b(0xde)]&&(_0x5d2a2b(0x197)!==_0x5e44d7[_0x5d2a2b(0x135)]||!_0x1cd9af[_0x5d2a2b(0x10b)](_0x1ffc78[_0x5d2a2b(0xf2)]()))&&(_0x1cd9af[_0x5d2a2b(0x126)](_0x1ffc78[_0x5d2a2b(0xf2)]())||_0x1cd9af[_0x5d2a2b(0x16d)][_0x5d2a2b(0x148)](_0x1ffc78[_0x5d2a2b(0xf2)]()[_0x5d2a2b(0x1a5)])||_0x1cd9af[_0x5d2a2b(0x1a5)][_0x5d2a2b(0x148)](_0x1ffc78[_0x5d2a2b(0xf2)]()[_0x5d2a2b(0x16d)]))){const _0x30eae0=this[_0x5d2a2b(0x1c6)](_0x1ffc78[_0x5d2a2b(0x1c9)]);Array[_0x5d2a2b(0x10c)](this[_0x5d2a2b(0x1bf)][_0x5d2a2b(0x174)]())[_0x5d2a2b(0x19c)](_0x343884=>_0x343884[_0x5d2a2b(0x136)]===_0x30eae0[_0x5d2a2b(0x136)])[_0x5d2a2b(0xed)](_0x4cd359=>_0x4afe9e[_0x5d2a2b(0x16b)](_0x4cd359['id']));}}}if(_0x4afe9e[_0x5d2a2b(0x19d)]){for(const _0x298f08 of _0x4afe9e)_0x3e871a[_0x5d2a2b(0x1c7)](_0x298f08);return!0x0;}return!0x1;}[_0x9ddc56(0x111)](_0x1c67cf){const _0x3fed47=_0x9ddc56;for(const {name:_0x5b24dd,data:_0x3e1772}of _0x1c67cf[_0x3fed47(0xe4)][_0x3fed47(0x12c)][_0x3fed47(0x12a)][_0x3fed47(0x122)]()){if(!_0x5b24dd[_0x3fed47(0x104)](le))continue;const _0x1bdd6f=_0x3e1772[_0x3fed47(0x158)],_0x5dcb2b=_0x3e1772[_0x3fed47(0x1b4)],_0x24ba6c=_0x1bdd6f&&_0x3fed47(0xec)===_0x1bdd6f[_0x3fed47(0x179)][_0x3fed47(0xde)],_0xd7750c=_0x5dcb2b&&_0x3fed47(0xec)===_0x5dcb2b[_0x3fed47(0x179)][_0x3fed47(0xde)];if(_0x24ba6c&&_0xd7750c)continue;const _0x4d7b61=this[_0x3fed47(0x1c6)](_0x5b24dd);this[_0x3fed47(0x1bf)][_0x3fed47(0x12e)](_0x5b24dd)&&(_0xd7750c||!_0x5dcb2b?this[_0x3fed47(0x10e)][_0x3fed47(0x1b3)](_0x3fed47(0x16e),{'markerId':_0x5b24dd,'changeId':_0x4d7b61[_0x3fed47(0x136)]}):_0x24ba6c&&_0x5dcb2b&&this[_0x3fed47(0x10e)][_0x3fed47(0x1b3)](_0x3fed47(0xef),{'markerId':_0x5b24dd,'changeId':_0x4d7b61[_0x3fed47(0x136)]}));}}[_0x9ddc56(0x1c6)](_0x373690){const _0x11e7f4=_0x9ddc56,_0x3cbfed=_0x373690[_0x11e7f4(0x199)](':'),_0x3fa1d6=(_0x3cbfed[0x1]||'')[_0x11e7f4(0x199)]('_');return{'prefix':_0x3cbfed[0x0],'groupId':_0x3fa1d6[0x0],'suffix':_0x3fa1d6[0x1]};}[_0x9ddc56(0x170)](_0x58b4cd,_0xed5fda,_0x4243e4){const _0x32fc1a=_0x9ddc56;if(_0x32fc1a(0x197)===_0x58b4cd[_0x32fc1a(0x135)]){const _0x56ab5e=_0x58b4cd;return new _0x232256(this[_0x32fc1a(0xe9)](_0xed5fda[_0x32fc1a(0x13b)](_0x56ab5e[_0x32fc1a(0x171)][_0x32fc1a(0x13d)]),_0x4243e4),_0x56ab5e[_0x32fc1a(0x177)],_0x56ab5e[_0x32fc1a(0x175)]);}if(_0x32fc1a(0xf3)===_0x58b4cd[_0x32fc1a(0x135)]&&_0x58b4cd[_0x32fc1a(0x1c9)][_0x32fc1a(0x104)](_0x32fc1a(0x194))){const _0x5ee257=_0x58b4cd;return new _0x1f36b5(_0x5ee257[_0x32fc1a(0x1c9)],_0x5ee257[_0x32fc1a(0x158)],this[_0x32fc1a(0x160)](_0x5ee257[_0x32fc1a(0x1b4)],_0xed5fda[_0x32fc1a(0x13b)](_0x5ee257[_0x32fc1a(0x1b4)][_0x32fc1a(0x16d)][_0x32fc1a(0x13d)]),_0xed5fda[_0x32fc1a(0x13b)](_0x5ee257[_0x32fc1a(0x1b4)][_0x32fc1a(0x1a5)][_0x32fc1a(0x13d)]),_0x4243e4),_0x5ee257[_0x32fc1a(0x1bf)],_0x5ee257[_0x32fc1a(0xfb)],_0x5ee257[_0x32fc1a(0x175)]);}return _0x58b4cd;}[_0x9ddc56(0x1b0)](_0x2a9788){const _0x5e4e55=_0x9ddc56;if(!_0x2a9788[_0x5e4e55(0x147)])return[];const _0x1b4eab=[];let _0x2fd118=0x0,_0x5e89f8=0x0,_0x156573=[];for(let _0x33f514=0x0;_0x33f514<=_0x2a9788[_0x5e4e55(0x147)];_0x33f514++){const _0x24c746=_0x2a9788[_0x33f514],_0x30e8c3=_0x2a9788[_0x33f514-0x1];!_0x24c746||_0x30e8c3&&!this[_0x5e4e55(0x116)](_0x30e8c3)[_0x5e4e55(0x148)](this[_0x5e4e55(0x119)](_0x24c746))?(_0x1b4eab[_0x5e4e55(0xe2)]({'operations':_0x156573,'operationsIsolated':_0x156573[_0x5e4e55(0x181)](_0x36414b=>this[_0x5e4e55(0xfe)](_0x36414b[_0x5e4e55(0x16c)](),-_0x5e89f8)),'groupOffset':_0x2fd118}),_0x156573=_0x24c746?[_0x24c746]:[],_0x5e89f8+=_0x2fd118,_0x2fd118=0x0):_0x156573[_0x5e4e55(0xe2)](_0x24c746),_0x24c746&&_0x5e4e55(0x197)===_0x24c746[_0x5e4e55(0x135)]&&(_0x2fd118+=_0x24c746[_0x5e4e55(0x162)]);}return _0x1b4eab;}[_0x9ddc56(0x1ba)](_0x2148c5,_0x7ba81a,_0x5c575d,_0x314d90=0x1){const _0x5055d7=_0x9ddc56,_0x36f513=new _0x24eca4({'startPosition':_0x2148c5,'direction':_0x7ba81a});let _0x18807f=0x0;for(let _0x500c85=0x0;_0x500c85<_0x314d90;_0x500c85++){let _0x52207c=0x0,_0xa0ea67=!0x1,_0x47cc45=_0x5055d7(0xfc)===_0x7ba81a?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x189960}of _0x36f513)if(_0x189960['is'](_0x5055d7(0xfa))){const _0x3eeee3=_0x47cc45[_0x5055d7(0x128)](_0x189960[_0x5055d7(0x172)]);if(_0x3eeee3&&_0x3eeee3[_0x5055d7(0x147)]){if(_0x52207c+=_0x5055d7(0xfc)===_0x7ba81a?_0x3eeee3[_0x5055d7(0x1b9)]+_0x3eeee3[0x0][_0x5055d7(0x147)]:_0x189960[_0x5055d7(0x172)][_0x5055d7(0x147)]-_0x3eeee3[_0x5055d7(0x1b9)],_0x3eeee3[0x0][_0x5055d7(0x147)]!==_0x189960[_0x5055d7(0x172)][_0x5055d7(0x147)])break;_0xa0ea67=!0x0,_0x47cc45=_0x5055d7(0xfc)===_0x7ba81a?/^\w+/:/\w+$/;}else{if(_0xa0ea67)break;_0x52207c+=_0x189960[_0x5055d7(0xd9)];}}else{if(_0x189960['is'](_0x5055d7(0x12f))){_0x5c575d[_0x5055d7(0xf8)](_0x189960)&&!_0xa0ea67&&(_0x52207c+=0x1);break;}}_0x18807f+=_0x52207c,_0x36f513[_0x5055d7(0x1bc)](_0x2148c5[_0x5055d7(0x16f)](_0x5055d7(0xfc)===_0x7ba81a?_0x18807f:-_0x18807f));}return _0x18807f;}[_0x9ddc56(0x143)](_0x436298,_0x20daab){const _0x1c68aa=_0x9ddc56,_0x3d4294=_0x2184e2(this[_0x1c68aa(0x129)])[_0x1c68aa(0xe4)][_0x1c68aa(0x124)],_0x4a577e=this[_0x1c68aa(0x1ba)](_0x436298,_0x1c68aa(0x134),_0x3d4294,0x6),_0x578d1d=this[_0x1c68aa(0x1ba)](_0x20daab,_0x1c68aa(0xfc),_0x3d4294,0x6),_0x4ca6f2=_0x436298[_0x1c68aa(0x16f)](-_0x4a577e),_0x36aa8b=_0x20daab[_0x1c68aa(0x16f)](_0x578d1d);return{'start':_0x4ca6f2,'end':_0x36aa8b,'hasContentBefore':!_0x4ca6f2[_0x1c68aa(0x18b)],'hasContentAfter':!_0x36aa8b[_0x1c68aa(0x139)]};}[_0x9ddc56(0x189)](_0x35d355){const _0x324763=_0x9ddc56,_0x172e4e=this[_0x324763(0x129)][_0x324763(0x1bd)][_0x324763(0x12e)](_0x324763(0xe6)),_0x5e78ad=new Set();_0x2184e2(this[_0x324763(0x129)])[_0x324763(0xe4)][_0x324763(0xf5)](_0x391284=>{const _0x4bee45=_0x324763;for(const _0x27247f of _0x35d355){const _0x4df787=''+le+_0x27247f[_0x4bee45(0x135)]+':'+_0x27247f[_0x4bee45(0x136)]+'_'+_0x172e4e[_0x4bee45(0x146)](_0x5e78ad);this[_0x4bee45(0x1bf)][_0x4bee45(0x11f)](_0x4df787,{'id':_0x4df787,'groupId':_0x27247f[_0x4bee45(0x136)],'type':_0x27247f[_0x4bee45(0x135)],'text':_0x27247f[_0x4bee45(0x1c3)]}),_0x391284[_0x4bee45(0x14c)](_0x4df787,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x391284[_0x4bee45(0x13f)](_0x27247f[_0x4bee45(0x16d)],_0x27247f[_0x4bee45(0x1a5)])});}});}[_0x9ddc56(0x105)](_0x37a8dc,_0x124662,_0x2c795c){let _0x3c4a4f='';return()=>{const _0x3c5ea1=_0x54ad;if(!_0x3c4a4f){const _0x1349ff=_0x124662[_0x3c5ea1(0xd3)](_0x37a8dc,{'showSuggestionHighlights':!0x0});let _0x178f68=_0x1349ff[_0x3c5ea1(0x125)](0x0);if(_0x178f68['is'](_0x3c5ea1(0x13a))||(_0x178f68=_0x1349ff),!_0x178f68)return'';let _0x14c87e=!0x1;const _0x21e9f0=[];for(const _0x2ccec8 of _0x178f68[_0x3c5ea1(0x121)]())_0x2ccec8['is'](_0x3c5ea1(0x12f),_0x3c5ea1(0xe0))&&_0x2ccec8[_0x3c5ea1(0x144)](_0x3c5ea1(0x1a3))&&(_0x14c87e=!0x1),_0x14c87e&&_0x21e9f0[_0x3c5ea1(0xe2)](_0x2ccec8),_0x2ccec8['is'](_0x3c5ea1(0x12f),_0x3c5ea1(0xe0))&&_0x2ccec8[_0x3c5ea1(0x144)](_0x3c5ea1(0x17e))&&(_0x14c87e=!0x0);_0x178f68[_0x3c5ea1(0x145)](0x0,_0x178f68[_0x3c5ea1(0x198)]),_0x2c795c?.[_0x3c5ea1(0x15c)]&&_0x178f68[_0x3c5ea1(0x123)]('…'),_0x178f68[_0x3c5ea1(0x123)](_0x21e9f0),_0x2c795c?.[_0x3c5ea1(0x1b1)]&&_0x178f68[_0x3c5ea1(0x123)]('…');const _0x38f7e2=_0x124662[_0x3c5ea1(0xd7)][_0x3c5ea1(0xf4)][_0x3c5ea1(0x151)](_0x1349ff),_0xd88288=_0x124662[_0x3c5ea1(0xd7)][_0x3c5ea1(0x114)][_0x3c5ea1(0x131)](_0x38f7e2);_0x3c4a4f=_0xd88288;}return _0x3c4a4f;};}[_0x9ddc56(0xda)](_0x5c2bbd,_0x42cb1a){const _0x410706=_0x9ddc56;let _0x59b188='';return()=>(_0x59b188||(_0x59b188=_0x42cb1a[_0x410706(0x17a)](_0x5c2bbd,{'showSuggestionHighlights':!0x0})),_0x59b188);}[_0x9ddc56(0x1b6)](_0x574222,_0x11f986,_0x3bb467){let _0x4f7737='';return()=>{const _0x187edb=_0x54ad;if(!_0x4f7737){const _0x43bb76=_0x3bb467[_0x187edb(0xd3)](new _0x295fd2(_0x574222)),_0x41a8c0=_0x3bb467[_0x187edb(0xd7)][_0x187edb(0xf4)][_0x187edb(0x151)](_0x43bb76)[_0x187edb(0x18a)](_0x187edb(0x100)+_0x11f986+'\x22]');_0x4f7737=_0x41a8c0?.[_0x187edb(0x140)]||'';}return _0x4f7737;};}[_0x9ddc56(0x1a7)](_0x9d50e3,_0x103a5e=0x5){const _0x1708bb=_0x9ddc56;let _0x3b079d=_0x9d50e3,_0x2fefa1=null;for(let _0x4af384=0x0;_0x4af384<_0x103a5e&&_0x3b079d;_0x4af384++){if(!_0x3b079d[_0x1708bb(0x112)]){_0x3b079d=_0x3b079d[_0x1708bb(0x157)];continue;}if(!(''+_0x3b079d[_0x1708bb(0x112)])[_0x1708bb(0x17c)](_0x1708bb(0x117))){_0x3b079d=_0x3b079d[_0x1708bb(0x157)];continue;}if(!_0x3b079d[_0x1708bb(0x10a)](_0x1708bb(0x155)))break;_0x2fefa1=_0x3b079d;break;}return _0x2fefa1;}[_0x9ddc56(0x1ae)](_0x2334ac){const _0xa2c63c=_0x9ddc56;return Array[_0xa2c63c(0x10c)](this[_0xa2c63c(0x1bf)][_0xa2c63c(0x174)]())[_0xa2c63c(0x19c)](_0x5dd869=>_0x5dd869[_0xa2c63c(0x136)]===_0x2334ac);}[_0x9ddc56(0x119)](_0x4a8341){const _0x337f29=_0x9ddc56;return _0x337f29(0x197)===_0x4a8341[_0x337f29(0x135)]?_0x4a8341[_0x337f29(0x171)]:_0x4a8341[_0x337f29(0x1b4)][_0x337f29(0x16d)];}[_0x9ddc56(0x116)](_0x57a08b,_0x17fae6=!0x1){const _0x293d04=_0x9ddc56;return _0x293d04(0x197)===_0x57a08b[_0x293d04(0x135)]?_0x17fae6?_0x57a08b[_0x293d04(0x171)]:_0x57a08b[_0x293d04(0x171)][_0x293d04(0x16f)](_0x57a08b[_0x293d04(0x162)]):_0x57a08b[_0x293d04(0x1b4)][_0x293d04(0x1a5)];}[_0x9ddc56(0xfe)](_0x55533c,_0x577fac){const _0x22373f=_0x9ddc56;return _0x22373f(0x197)===_0x55533c[_0x22373f(0x135)]?_0x55533c[_0x22373f(0x171)]=_0x55533c[_0x22373f(0x171)][_0x22373f(0x16f)](_0x577fac):_0x22373f(0xf3)===_0x55533c[_0x22373f(0x135)]&&_0x55533c[_0x22373f(0x1b4)]&&(_0x55533c[_0x22373f(0x1b4)]=new _0x5cdd59(_0x55533c[_0x22373f(0x1b4)][_0x22373f(0x16d)][_0x22373f(0x16f)](_0x577fac),_0x55533c[_0x22373f(0x1b4)][_0x22373f(0x1a5)][_0x22373f(0x16f)](_0x577fac))),_0x55533c;}[_0x9ddc56(0xf1)](_0x53850b,_0x2eb569){const _0x3afbf5=_0x9ddc56;_0x3afbf5(0x197)===_0x53850b[_0x3afbf5(0x135)]?_0x53850b[_0x3afbf5(0x171)]=this[_0x3afbf5(0x130)](_0x53850b[_0x3afbf5(0x171)],_0x2eb569):_0x3afbf5(0xf3)===_0x53850b[_0x3afbf5(0x135)]&&_0x53850b[_0x3afbf5(0x1b4)]&&(_0x53850b[_0x3afbf5(0x1b4)]=this[_0x3afbf5(0x168)](_0x53850b[_0x3afbf5(0x1b4)],_0x2eb569));}[_0x9ddc56(0x130)](_0x567ed9,_0x7a8e22){const _0x2b4314=_0x9ddc56;return new _0xae77cd(_0x7a8e22,_0x567ed9[_0x2b4314(0x161)]);}[_0x9ddc56(0x168)](_0x223fca,_0x216b41){const _0x8f6de3=_0x9ddc56;return new _0x5cdd59(this[_0x8f6de3(0x130)](_0x223fca[_0x8f6de3(0x16d)],_0x216b41),this[_0x8f6de3(0x130)](_0x223fca[_0x8f6de3(0x1a5)],_0x216b41));}[_0x9ddc56(0xe9)](_0x315e9f,_0x350c2d){return new _0xae77cd(_0x350c2d,[..._0x315e9f]);}[_0x9ddc56(0x160)](_0x1e9593,_0x17ad04,_0x494a48,_0x5863a5){const _0x1cb493=_0x9ddc56;return new _0x5cdd59(this[_0x1cb493(0xe9)](_0x17ad04,_0x5863a5),this[_0x1cb493(0xe9)](_0x494a48,_0x5863a5));}[_0x9ddc56(0x18e)](_0x5e7e0c){const _0x27f4aa=_0x9ddc56,_0x390138=_0x57fa2d=>{const _0x4f7cf5=_0x54ad;switch(_0x57fa2d){case _0x4f7cf5(0x197):return 0x1;case _0x4f7cf5(0x14f):return 0x2;case _0x4f7cf5(0x156):return 0x3;case _0x4f7cf5(0x193):return 0x4;}};return _0x5e7e0c[_0x27f4aa(0x152)]((_0x84aeab,_0x2e4a46)=>_0x390138(_0x84aeab[_0x27f4aa(0x135)])-_0x390138(_0x2e4a46[_0x27f4aa(0x135)]));}[_0x9ddc56(0x195)](_0x50a758,_0x300568){const _0x1a9c5a=_0x9ddc56,_0x1f7792=_0x50a758[_0x1a9c5a(0x125)](0x0),_0x30b54a=_0x300568[_0x1a9c5a(0x125)](0x0);return!(!_0x1f7792||!_0x30b54a)&&((!_0x1f7792['is'](_0x1a9c5a(0x12f))||!_0x30b54a['is'](_0x1a9c5a(0x12f))||_0x1f7792[_0x1a9c5a(0x1c9)]===_0x30b54a[_0x1a9c5a(0x1c9)])&&!(_0x1f7792['is'](_0x1a9c5a(0x12f))&&!_0x30b54a['is'](_0x1a9c5a(0x12f))||!_0x1f7792['is'](_0x1a9c5a(0x12f))&&_0x30b54a['is'](_0x1a9c5a(0x12f))));}[_0x9ddc56(0xdc)](_0x60150c){const _0x2d3369=_0x9ddc56;return 0x1===_0x60150c[_0x2d3369(0x198)];}[_0x9ddc56(0x1be)](_0x6d6d1a,_0x220404){const _0x3a311e=_0x9ddc56;for(const _0x1854b4 of _0x6d6d1a[_0x3a311e(0x121)]())if(_0x1854b4['is'](_0x3a311e(0x12f))&&!_0x220404[_0x3a311e(0xf8)](_0x1854b4))return!0x1;return!0x0;}[_0x9ddc56(0x113)](_0x45bbb4,_0x2f2f31){const _0x1c6f6b=_0x9ddc56;let _0x367a48=_0x45bbb4[_0x1c6f6b(0x10a)](_0x544b8f);return _0x367a48||(_0x367a48=_0x2f2f31(),_0x45bbb4[_0x1c6f6b(0xdf)](_0x544b8f,_0x367a48)),_0x367a48;}}
@@ -54,7 +54,8 @@ export declare class AIReviewModeUI extends ContextPlugin {
54
54
  contentDiffed: string;
55
55
  id: string;
56
56
  }): void;
57
- showGeneralErrorView(): void;
57
+ showGeneralResultsErrorView(): void;
58
+ showGeneralReviewModeErrorView(errorMessage?: string): void;
58
59
  showChunkErrorView(): void;
59
60
  setCheckResultTitle(title: string, subtitle?: string): void;
60
61
  setActiveStateInResults(id: string): void;
@@ -64,7 +65,12 @@ export declare class AIReviewModeUI extends ContextPlugin {
64
65
  showActionsWhenResultIsReady(): void;
65
66
  showNoChangesView(): void;
66
67
  hideActionsWhenResultIsReady(): void;
67
- showChangeBalloon(change: AIReviewCheckResultChange, target: HTMLElement): void;
68
+ showChangeBalloon(change: AIReviewCheckResultChange, target: HTMLElement, domEvent: MouseEvent | undefined, eventType: 'click' | 'hover', limiter?: HTMLElement, viewportOffset?: {
69
+ top?: number;
70
+ left?: number;
71
+ bottom?: number;
72
+ right?: number;
73
+ }): void;
68
74
  hideChangeBalloon(): void;
69
75
  hideDiffInBalloon(): void;
70
76
  showDiffInBalloon(): void;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3623ed=_0x3a23;function _0x42d6(){const _0x250e14=['find','setCheckResultTitle','leaveReviewModeResultList','addTab','reviewCheckListView','view','showChunkErrorView','showCheckRunResult','forEach','showResult','_reviewModeView','get','AI_REVIEW_MODE','hideResult','retryReview','acceptAllChanges','_reviewModeBalloonSuggestionItemView','requires','showReviewCompletedView','hasChecks','hideBalloon','36oVUtwm','addCheckRunResult','status','showGeneralErrorView','showNoChangesView','showCheckRunResults','detachFromDom','isOfficialPlugin','leaveReviewMode','AIReviewModeUI','showActionsWhenResultIsReady','fire','acceptChange','plugins','3ULcsDm','showBalloon','setAvailableChecks','3346063NrwJGY','1933960nGtgCL','setActiveStateInResults','setChecks','learnMore','runReviewCheck','context','6117792ANAljE','element','locale','4708wOYaVh','setTitle','reviewCheckResultsView','delegate','hideChangeBalloon','resetActiveStateInResults','hideActionsWhenResultIsReady','toggleDiff','rejected','reviewMode','showChangeBalloon','pluginName','dismissChange','2860972JkNMHZ','23135690fzSrGk','hideDiffInBalloon','error-general','getResults','outdated','deactivateChange','abortReviewStream','attachToDom','showDiffInBalloon','activateChange','finishReview','getChangeElement','setItemAsActive','activateTab','setItemAsInactive','getReviewCheckList','showReviewCheckResultsView','21iHLsBD','AITabs','accepted','init','destroy','error-chunk','showReviewCheckList','_bodyCollection','updateChangeState','407464EERmiW','isPremiumPlugin','showReviewCheckListView'];_0x42d6=function(){return _0x250e14;};return _0x42d6();}(function(_0x46969e,_0x5e74b5){const _0xd1b686=_0x3a23,_0x212e16=_0x46969e();while(!![]){try{const _0x1c6381=parseInt(_0xd1b686(0x217))/0x1*(parseInt(_0xd1b686(0x1f8))/0x2)+-parseInt(_0xd1b686(0x1eb))/0x3*(parseInt(_0xd1b686(0x205))/0x4)+-parseInt(_0xd1b686(0x1ef))/0x5+-parseInt(_0xd1b686(0x1f5))/0x6+parseInt(_0xd1b686(0x1ee))/0x7+-parseInt(_0xd1b686(0x220))/0x8*(parseInt(_0xd1b686(0x1dd))/0x9)+parseInt(_0xd1b686(0x206))/0xa;if(_0x1c6381===_0x5e74b5)break;else _0x212e16['push'](_0x212e16['shift']());}catch(_0xea23b9){_0x212e16['push'](_0x212e16['shift']());}}}(_0x42d6,0x7de1d));import{ContextPlugin as _0x3d1969}from'ckeditor5/src/core.js';import{IconAIReview as _0x1497c5}from'ckeditor5/src/icons.js';import{BodyCollection as _0x5878be}from'ckeditor5/src/ui.js';import{AITabs as _0x24b18c}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x5f3ed1}from'./ui/aireviewmodeview.js';import{getTranslation as _0x36c14e}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x353c0a}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';function _0x3a23(_0x174a49,_0x5ef359){const _0x42d64c=_0x42d6();return _0x3a23=function(_0x3a2324,_0xfd8973){_0x3a2324=_0x3a2324-0x1d3;let _0xa18664=_0x42d64c[_0x3a2324];return _0xa18664;},_0x3a23(_0x174a49,_0x5ef359);}export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x3623ed(0x215),_0x3623ed(0x1f3),_0x3623ed(0x20c),_0x3623ed(0x1ff),_0x3623ed(0x1d7),_0x3623ed(0x225),_0x3623ed(0x20f),_0x3623ed(0x1e9),_0x3623ed(0x204),_0x3623ed(0x1f2),_0x3623ed(0x210),_0x3623ed(0x1d6)];export class AIReviewModeUI extends _0x3d1969{[_0x3623ed(0x22d)];[_0x3623ed(0x1d8)];[_0x3623ed(0x21e)];static get[_0x3623ed(0x1d9)](){return[_0x24b18c];}static get[_0x3623ed(0x203)](){const _0x382442=_0x3623ed;return _0x382442(0x1e6);}static get[_0x3623ed(0x1e4)](){return!0x0;}static get[_0x3623ed(0x221)](){return!0x0;}constructor(_0x4a38ab){const _0x44c41c=_0x3623ed;super(_0x4a38ab),this[_0x44c41c(0x21e)]=new _0x5878be(this[_0x44c41c(0x1f4)][_0x44c41c(0x1f7)]),this[_0x44c41c(0x21e)][_0x44c41c(0x20d)](),this[_0x44c41c(0x22d)]=new _0x5f3ed1(this[_0x44c41c(0x1f4)][_0x44c41c(0x1f7)]),this[_0x44c41c(0x22d)][_0x44c41c(0x1fb)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x44c41c(0x1d8)]=new _0x353c0a(this[_0x44c41c(0x1f4)][_0x44c41c(0x1f7)],this[_0x44c41c(0x21e)]),this[_0x44c41c(0x1d8)][_0x44c41c(0x1fb)](_0x44c41c(0x1e9),_0x44c41c(0x204),_0x44c41c(0x20b))['to'](this);}[_0x3623ed(0x21a)](){const _0x20b51f=_0x3623ed,_0x52cdff=this[_0x20b51f(0x1f4)][_0x20b51f(0x1ea)][_0x20b51f(0x1d3)](_0x20b51f(0x218));_0x52cdff[_0x20b51f(0x228)]['on'](_0x20b51f(0x213),(_0x4e5640,_0x28a613)=>{const _0x201225=_0x20b51f;_0x201225(0x201)===_0x28a613?this[_0x201225(0x1e8)](_0x201225(0x215)):this[_0x201225(0x1e8)](_0x201225(0x1e5));}),_0x52cdff[_0x20b51f(0x228)][_0x20b51f(0x226)]({'id':_0x20b51f(0x201),'buttonLabel':_0x36c14e(this[_0x20b51f(0x1f4)][_0x20b51f(0x1f7)],_0x20b51f(0x1d4)),'buttonIcon':_0x1497c5,'order':0x0,'content':this[_0x20b51f(0x22d)]});}[_0x3623ed(0x21b)](){const _0x267a6c=_0x3623ed;this[_0x267a6c(0x21e)][_0x267a6c(0x1e3)](),super[_0x267a6c(0x21b)]();}[_0x3623ed(0x1ed)](_0x2aa791){const _0x87f97b=_0x3623ed;this[_0x87f97b(0x22d)][_0x87f97b(0x227)][_0x87f97b(0x1db)]()||this[_0x87f97b(0x22d)][_0x87f97b(0x227)][_0x87f97b(0x1f1)](_0x2aa791),this[_0x87f97b(0x22d)][_0x87f97b(0x222)]();}[_0x3623ed(0x21d)](){const _0x178cbe=_0x3623ed;this[_0x178cbe(0x1e8)](_0x178cbe(0x215));}[_0x3623ed(0x1e2)](_0xc749f7){const _0x56abcb=_0x3623ed;_0xc749f7&&(_0x56abcb(0x208)!==_0xc749f7[_0x56abcb(0x1df)]?_0x56abcb(0x21c)!==_0xc749f7[_0x56abcb(0x1df)]?this[_0x56abcb(0x22d)][_0x56abcb(0x216)]():this[_0x56abcb(0x229)]():this[_0x56abcb(0x1e0)]());}[_0x3623ed(0x22a)](_0x3bf0bf){const _0x30e58d=_0x3623ed;this[_0x30e58d(0x22d)][_0x30e58d(0x1de)](_0x3bf0bf);}[_0x3623ed(0x1e0)](){const _0x200ddf=_0x3623ed;this[_0x200ddf(0x22d)][_0x200ddf(0x1e0)]();}[_0x3623ed(0x229)](){const _0x21e298=_0x3623ed;this[_0x21e298(0x22d)][_0x21e298(0x229)]();}[_0x3623ed(0x224)](_0x41c8ff,_0x2cbeeb){const _0x2e500c=_0x3623ed;this[_0x2e500c(0x22d)][_0x2e500c(0x1fa)][_0x2e500c(0x1f9)](_0x41c8ff,_0x2cbeeb);}[_0x3623ed(0x1f0)](_0xfc1e15){const _0xb7db7f=_0x3623ed;this[_0xb7db7f(0x22d)][_0xb7db7f(0x1fa)][_0xb7db7f(0x209)]()[_0xb7db7f(0x22b)](_0x5d8049=>{const _0x3d83e2=_0xb7db7f;_0x5d8049['id']===_0xfc1e15&&_0x5d8049[_0x3d83e2(0x212)]();});}[_0x3623ed(0x1fd)](){const _0x50adc9=_0x3623ed;this[_0x50adc9(0x22d)][_0x50adc9(0x1fa)][_0x50adc9(0x209)]()[_0x50adc9(0x22b)](_0x8734f5=>_0x8734f5[_0x50adc9(0x214)]());}[_0x3623ed(0x21f)](_0x16f70f,_0x4a1ebe){const _0x1f8501=_0x3623ed;_0x1f8501(0x219)===_0x4a1ebe||_0x1f8501(0x200)===_0x4a1ebe||_0x1f8501(0x20a)===_0x4a1ebe?this[_0x1f8501(0x22d)][_0x1f8501(0x1fa)][_0x1f8501(0x1d5)](_0x16f70f,_0x4a1ebe):this[_0x1f8501(0x22d)][_0x1f8501(0x1fa)][_0x1f8501(0x22c)](_0x16f70f,_0x4a1ebe);}[_0x3623ed(0x1da)](){const _0x242768=_0x3623ed;this[_0x242768(0x22d)][_0x242768(0x1da)]();}[_0x3623ed(0x1e7)](){const _0x1109a1=_0x3623ed;this[_0x1109a1(0x22d)][_0x1109a1(0x1e7)]();}[_0x3623ed(0x1e1)](){const _0x347b9d=_0x3623ed;this[_0x347b9d(0x22d)][_0x347b9d(0x1e1)]();}[_0x3623ed(0x1fe)](){const _0x12e930=_0x3623ed;this[_0x12e930(0x22d)][_0x12e930(0x1fe)]();}[_0x3623ed(0x202)](_0x1b8fb3,_0x57fb1e){const _0x2401b1=_0x3623ed;this[_0x2401b1(0x1d8)][_0x2401b1(0x1ec)](_0x1b8fb3,_0x57fb1e);}[_0x3623ed(0x1fc)](){const _0x47083f=_0x3623ed;this[_0x47083f(0x1d8)][_0x47083f(0x1dc)]();}[_0x3623ed(0x207)](){const _0x18edd5=_0x3623ed;this[_0x18edd5(0x1d8)][_0x18edd5(0x207)]();}[_0x3623ed(0x20e)](){const _0x54401a=_0x3623ed;this[_0x54401a(0x1d8)][_0x54401a(0x20e)]();}[_0x3623ed(0x211)](_0x183134){const _0x215c73=_0x3623ed,_0x2115f1=this[_0x215c73(0x22d)][_0x215c73(0x1fa)][_0x215c73(0x209)]()[_0x215c73(0x223)](_0x16c008=>_0x16c008['id']===_0x183134);return _0x2115f1?_0x2115f1[_0x215c73(0x1f6)]:null;}[_0x3623ed(0x20b)](){const _0x12097c=_0x3623ed;this[_0x12097c(0x1d8)][_0x12097c(0x20b)]();}}
23
+ const _0x5b9f52=_0x41a6;(function(_0x16f362,_0x8d4082){const _0x170056=_0x41a6,_0x3abd57=_0x16f362();while(!![]){try{const _0x56b604=parseInt(_0x170056(0xe4))/0x1*(-parseInt(_0x170056(0xde))/0x2)+parseInt(_0x170056(0xe2))/0x3*(-parseInt(_0x170056(0xe0))/0x4)+-parseInt(_0x170056(0xea))/0x5*(-parseInt(_0x170056(0xdf))/0x6)+parseInt(_0x170056(0xc8))/0x7*(-parseInt(_0x170056(0xfe))/0x8)+-parseInt(_0x170056(0xcc))/0x9+parseInt(_0x170056(0xee))/0xa*(-parseInt(_0x170056(0xe1))/0xb)+parseInt(_0x170056(0xb5))/0xc;if(_0x56b604===_0x8d4082)break;else _0x3abd57['push'](_0x3abd57['shift']());}catch(_0x32322b){_0x3abd57['push'](_0x3abd57['shift']());}}}(_0x52ea,0x76539));import{ContextPlugin as _0x59ab8b}from'ckeditor5/src/core.js';import{IconAIReview as _0x112eeb}from'ckeditor5/src/icons.js';import{BodyCollection as _0x4a95c9}from'ckeditor5/src/ui.js';import{AITabs as _0x378ea8}from'../aitabs/aitabs.js';import{AIReviewModeView as _0xd47131}from'./ui/aireviewmodeview.js';import{getTranslation as _0x4645a5}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x286d9b}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x5b9f52(0xca),_0x5b9f52(0xba),_0x5b9f52(0xae),_0x5b9f52(0xd4),_0x5b9f52(0xf1),_0x5b9f52(0xef),_0x5b9f52(0xa6),_0x5b9f52(0xc0),_0x5b9f52(0xa4),_0x5b9f52(0xc2),_0x5b9f52(0xbd),_0x5b9f52(0xc1)];export class AIReviewModeUI extends _0x59ab8b{[_0x5b9f52(0xe6)];[_0x5b9f52(0xec)];[_0x5b9f52(0xd0)];static get[_0x5b9f52(0xd7)](){return[_0x378ea8];}static get[_0x5b9f52(0xf3)](){const _0x3929e1=_0x5b9f52;return _0x3929e1(0xe5);}static get[_0x5b9f52(0xc7)](){return!0x0;}static get[_0x5b9f52(0xf8)](){return!0x0;}constructor(_0x4543c3){const _0x51a5a6=_0x5b9f52;super(_0x4543c3),this[_0x51a5a6(0xd0)]=new _0x4a95c9(this[_0x51a5a6(0xd6)][_0x51a5a6(0xad)]),this[_0x51a5a6(0xd0)][_0x51a5a6(0xb0)](),this[_0x51a5a6(0xe6)]=new _0xd47131(this[_0x51a5a6(0xd6)][_0x51a5a6(0xad)]),this[_0x51a5a6(0xe6)][_0x51a5a6(0xb7)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x51a5a6(0xec)]=new _0x286d9b(this[_0x51a5a6(0xd6)][_0x51a5a6(0xad)],this[_0x51a5a6(0xd0)]),this[_0x51a5a6(0xec)][_0x51a5a6(0xb7)](_0x51a5a6(0xc0),_0x51a5a6(0xa4),_0x51a5a6(0xc6))['to'](this);}[_0x5b9f52(0xd3)](){const _0x2899ee=_0x5b9f52,_0x3e96bb=this[_0x2899ee(0xd6)][_0x2899ee(0xa9)][_0x2899ee(0xcb)](_0x2899ee(0xbe));_0x3e96bb[_0x2899ee(0xc5)]['on'](_0x2899ee(0xcd),(_0x1e939b,_0x54fe97)=>{const _0x17469f=_0x2899ee;_0x17469f(0xf4)===_0x54fe97?this[_0x17469f(0xaa)](_0x17469f(0xca)):this[_0x17469f(0xaa)](_0x17469f(0xb6));}),_0x3e96bb[_0x2899ee(0xc5)][_0x2899ee(0xa1)]({'id':_0x2899ee(0xf4),'buttonLabel':_0x4645a5(this[_0x2899ee(0xd6)][_0x2899ee(0xad)],_0x2899ee(0xd8)),'buttonIcon':_0x112eeb,'order':0x0,'content':this[_0x2899ee(0xe6)]});}[_0x5b9f52(0xda)](){const _0x4fa7c7=_0x5b9f52;this[_0x4fa7c7(0xd0)][_0x4fa7c7(0xa3)](),super[_0x4fa7c7(0xda)]();}[_0x5b9f52(0xfb)](_0x104a27){const _0x2b3f4b=_0x5b9f52;this[_0x2b3f4b(0xe6)][_0x2b3f4b(0xf0)][_0x2b3f4b(0xce)]()||this[_0x2b3f4b(0xe6)][_0x2b3f4b(0xf0)][_0x2b3f4b(0xbb)](_0x104a27),this[_0x2b3f4b(0xe6)][_0x2b3f4b(0xc9)]();}[_0x5b9f52(0xdd)](){const _0x49c2b6=_0x5b9f52;this[_0x49c2b6(0xaa)](_0x49c2b6(0xca));}[_0x5b9f52(0xc4)](_0x1901ac){const _0xa6888b=_0x5b9f52;_0x1901ac&&(_0xa6888b(0xb8)!==_0x1901ac[_0xa6888b(0xf6)]?_0xa6888b(0xab)!==_0x1901ac[_0xa6888b(0xf6)]?this[_0xa6888b(0xe6)][_0xa6888b(0xfd)]():this[_0xa6888b(0xe7)]():this[_0xa6888b(0xd2)]());}[_0x5b9f52(0xe8)](_0x51df62){const _0x4e54b6=_0x5b9f52;this[_0x4e54b6(0xe6)][_0x4e54b6(0xa2)](_0x51df62);}[_0x5b9f52(0xd2)](){const _0x6ff164=_0x5b9f52;this[_0x6ff164(0xe6)][_0x6ff164(0xd2)]();}[_0x5b9f52(0xdc)](_0x1820c1){const _0x140532=_0x5b9f52;this[_0x140532(0xe6)][_0x140532(0xdc)](_0x1820c1??_0x4645a5(this[_0x140532(0xd6)][_0x140532(0xad)],_0x140532(0xfc)));}[_0x5b9f52(0xe7)](){const _0x331deb=_0x5b9f52;this[_0x331deb(0xe6)][_0x331deb(0xe7)]();}[_0x5b9f52(0xf9)](_0x47ac61,_0x1f8454){const _0x346a98=_0x5b9f52;this[_0x346a98(0xe6)][_0x346a98(0xd9)][_0x346a98(0xf5)](_0x47ac61,_0x1f8454);}[_0x5b9f52(0xb1)](_0x2a577e){const _0x435bfb=_0x5b9f52;this[_0x435bfb(0xe6)][_0x435bfb(0xd9)][_0x435bfb(0xbc)]()[_0x435bfb(0xac)](_0x15ea5f=>{const _0x4d477e=_0x435bfb;_0x15ea5f['id']===_0x2a577e&&_0x15ea5f[_0x4d477e(0xb2)]();});}[_0x5b9f52(0xbf)](){const _0x1c4b68=_0x5b9f52;this[_0x1c4b68(0xe6)][_0x1c4b68(0xd9)][_0x1c4b68(0xbc)]()[_0x1c4b68(0xac)](_0x2d567f=>_0x2d567f[_0x1c4b68(0xa7)]());}[_0x5b9f52(0xe3)](_0x163358,_0x497e0f){const _0x583472=_0x5b9f52;_0x583472(0xaf)===_0x497e0f||_0x583472(0xa5)===_0x497e0f||_0x583472(0xb4)===_0x497e0f?this[_0x583472(0xe6)][_0x583472(0xd9)][_0x583472(0xd5)](_0x163358,_0x497e0f):this[_0x583472(0xe6)][_0x583472(0xd9)][_0x583472(0xd1)](_0x163358,_0x497e0f);}[_0x5b9f52(0xdb)](){const _0x3af404=_0x5b9f52;this[_0x3af404(0xe6)][_0x3af404(0xdb)]();}[_0x5b9f52(0xeb)](){const _0xaf17f5=_0x5b9f52;this[_0xaf17f5(0xe6)][_0xaf17f5(0xeb)]();}[_0x5b9f52(0xed)](){const _0x3a2b66=_0x5b9f52;this[_0x3a2b66(0xe6)][_0x3a2b66(0xed)]();}[_0x5b9f52(0xcf)](){const _0x3a5938=_0x5b9f52;this[_0x3a5938(0xe6)][_0x3a5938(0xcf)]();}[_0x5b9f52(0xf7)](_0x444223,_0x22ad77,_0x3d494d,_0x167007,_0x274554,_0x55fdfa){const _0x219f41=_0x5b9f52;this[_0x219f41(0xec)][_0x219f41(0xb3)](_0x444223,_0x22ad77,_0x3d494d,_0x167007,_0x274554,_0x55fdfa);}[_0x5b9f52(0xe9)](){const _0x3728cf=_0x5b9f52;this[_0x3728cf(0xec)][_0x3728cf(0xc3)]();}[_0x5b9f52(0xfa)](){const _0x386e09=_0x5b9f52;this[_0x386e09(0xec)][_0x386e09(0xfa)]();}[_0x5b9f52(0xa8)](){const _0x4bd566=_0x5b9f52;this[_0x4bd566(0xec)][_0x4bd566(0xa8)]();}[_0x5b9f52(0xff)](_0x32cd69){const _0x1f342f=_0x5b9f52,_0x2c0122=this[_0x1f342f(0xe6)][_0x1f342f(0xd9)][_0x1f342f(0xbc)]()[_0x1f342f(0xf2)](_0x538aa5=>_0x538aa5['id']===_0x32cd69);return _0x2c0122?_0x2c0122[_0x1f342f(0xb9)]:null;}[_0x5b9f52(0xc6)](){const _0x2cabe8=_0x5b9f52;this[_0x2cabe8(0xec)][_0x2cabe8(0xc6)]();}}function _0x41a6(_0x52388e,_0x2a52d2){const _0x52eaeb=_0x52ea();return _0x41a6=function(_0x41a66b,_0x18704a){_0x41a66b=_0x41a66b-0xa1;let _0x2adc2d=_0x52eaeb[_0x41a66b];return _0x2adc2d;},_0x41a6(_0x52388e,_0x2a52d2);}function _0x52ea(){const _0x41722f=['init','toggleDiff','hideResult','context','requires','AI_REVIEW_MODE','reviewCheckResultsView','destroy','showReviewCompletedView','showGeneralReviewModeErrorView','showReviewCheckList','42278XuPGiy','47082zdbevf','16VXSwPO','8864504NrYGSN','437406aTPVXW','updateChangeState','4lNUaGe','AIReviewModeUI','_reviewModeView','showChunkErrorView','showCheckRunResult','hideChangeBalloon','310ZIbPBX','showActionsWhenResultIsReady','_reviewModeBalloonSuggestionItemView','showNoChangesView','10ufyjQC','leaveReviewModeResultList','reviewCheckListView','acceptAllChanges','find','pluginName','reviewMode','setTitle','status','showChangeBalloon','isPremiumPlugin','setCheckResultTitle','hideDiffInBalloon','setAvailableChecks','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','showReviewCheckResultsView','1744016qZOwhO','getChangeElement','addTab','addCheckRunResult','detachFromDom','dismissChange','rejected','activateChange','setItemAsInactive','showDiffInBalloon','plugins','fire','error-chunk','forEach','locale','abortReviewStream','accepted','attachToDom','setActiveStateInResults','setItemAsActive','showBalloon','outdated','31061004Qvnwkz','leaveReviewMode','delegate','error-general','element','runReviewCheck','setChecks','getResults','finishReview','AITabs','resetActiveStateInResults','acceptChange','retryReview','learnMore','hideBalloon','showCheckRunResults','view','deactivateChange','isOfficialPlugin','21CFiFJe','showReviewCheckListView','getReviewCheckList','get','4163688ejOvjk','activateTab','hasChecks','hideActionsWhenResultIsReady','_bodyCollection','showResult','showGeneralResultsErrorView'];_0x52ea=function(){return _0x41722f;};return _0x52ea();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x421afc=_0x4598;(function(_0xcc8ab7,_0x2e7044){var _0x3b5f14=_0x4598,_0x163edc=_0xcc8ab7();while(!![]){try{var _0xba8ec3=parseInt(_0x3b5f14(0x1fc))/0x1+parseInt(_0x3b5f14(0x1fd))/0x2+parseInt(_0x3b5f14(0x1f2))/0x3+-parseInt(_0x3b5f14(0x1f3))/0x4+-parseInt(_0x3b5f14(0x1f5))/0x5*(parseInt(_0x3b5f14(0x1fe))/0x6)+parseInt(_0x3b5f14(0x1f9))/0x7+-parseInt(_0x3b5f14(0x1f6))/0x8*(parseInt(_0x3b5f14(0x1ff))/0x9);if(_0xba8ec3===_0x2e7044)break;else _0x163edc['push'](_0x163edc['shift']());}catch(_0x4b8e98){_0x163edc['push'](_0x163edc['shift']());}}}(_0x110f,0xc3be2));function _0x4598(_0x48987a,_0x5934b2){var _0x110fe1=_0x110f();return _0x4598=function(_0x4598a8,_0x336488){_0x4598a8=_0x4598a8-0x1f2;var _0x33c33d=_0x110fe1[_0x4598a8];return _0x33c33d;},_0x4598(_0x48987a,_0x5934b2);}function _0x110f(){var _0x118fc0=['title','5KPdtXk','568OVJMQH','options','description','5632942gkOQst','useArgs','isParameterized','285855JCsgDQ','523124YoJBPw','467184hRrUUb','4509SrUUrG','1617960GPoJVV','3904984ArFwdk'];_0x110f=function(){return _0x118fc0;};return _0x110f();}export class AIReviewCheck{['id'];[_0x421afc(0x1f4)];[_0x421afc(0x1f8)];[_0x421afc(0x1fb)];[_0x421afc(0x1fa)];[_0x421afc(0x1f7)];constructor({id:_0x1bc165,title:_0x190253,description:_0xee51e7,isParameterized:_0x3082a4,useArgs:_0xf2eb09,options:_0x530248}){var _0x5b3ace=_0x421afc;this['id']=_0x1bc165,this[_0x5b3ace(0x1f4)]=_0x190253,this[_0x5b3ace(0x1f8)]=_0xee51e7,this[_0x5b3ace(0x1fb)]=_0x3082a4,this[_0x5b3ace(0x1fa)]=_0xf2eb09,this[_0x5b3ace(0x1f7)]=_0x530248;}}
23
+ var _0x505a0b=_0x15d3;(function(_0x31799e,_0x304fe4){var _0x19f161=_0x15d3,_0x1051a6=_0x31799e();while(!![]){try{var _0x7a6b1d=-parseInt(_0x19f161(0x15a))/0x1*(-parseInt(_0x19f161(0x153))/0x2)+-parseInt(_0x19f161(0x158))/0x3+parseInt(_0x19f161(0x155))/0x4*(-parseInt(_0x19f161(0x157))/0x5)+parseInt(_0x19f161(0x15c))/0x6*(-parseInt(_0x19f161(0x154))/0x7)+parseInt(_0x19f161(0x15b))/0x8+parseInt(_0x19f161(0x151))/0x9*(parseInt(_0x19f161(0x150))/0xa)+parseInt(_0x19f161(0x15d))/0xb;if(_0x7a6b1d===_0x304fe4)break;else _0x1051a6['push'](_0x1051a6['shift']());}catch(_0x5c3ba8){_0x1051a6['push'](_0x1051a6['shift']());}}}(_0x3452,0x38bc6));function _0x15d3(_0x209924,_0x346ecc){var _0x345202=_0x3452();return _0x15d3=function(_0x15d3e9,_0x3a019c){_0x15d3e9=_0x15d3e9-0x14f;var _0x19347b=_0x345202[_0x15d3e9];return _0x19347b;},_0x15d3(_0x209924,_0x346ecc);}function _0x3452(){var _0xc09c0b=['100JbxAYK','1202937heGjgx','useArgs','14QtXyxl','3592144WdlAzC','607494uTFDmE','2427733AImrUA','options','description','6730QNPaDt','5319trPphU','isParameterized','3542KDKOPy','7MjGLvG','71528vFJxpp','title'];_0x3452=function(){return _0xc09c0b;};return _0x3452();}export class AIReviewCheck{['id'];[_0x505a0b(0x156)];[_0x505a0b(0x14f)];[_0x505a0b(0x152)];[_0x505a0b(0x159)];[_0x505a0b(0x15e)];constructor({id:_0x5d4d0a,title:_0x30b433,description:_0x48348c,isParameterized:_0x1812aa,useArgs:_0x22fce4,options:_0x43893a}){var _0xa74c8c=_0x505a0b;this['id']=_0x5d4d0a,this[_0xa74c8c(0x156)]=_0x30b433,this[_0xa74c8c(0x14f)]=_0x48348c,this[_0xa74c8c(0x152)]=_0x1812aa,this[_0xa74c8c(0x159)]=_0x22fce4,this[_0xa74c8c(0x15e)]=_0x43893a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xc1b212=_0x575f;function _0x24d1(){var _0x4c9e1c=['3689yrQsFB','5736992ArHnDI','8923705bSXWro','1170WLLxgS','1958832yQpakK','_models','1025128RcyjDl','2WBxpQp','357843gapAmi','models','29309490QfBKdE'];_0x24d1=function(){return _0x4c9e1c;};return _0x24d1();}(function(_0x480b4b,_0x5ae2a6){var _0x387c38=_0x575f,_0x3db7d4=_0x480b4b();while(!![]){try{var _0x4eaf49=-parseInt(_0x387c38(0xf0))/0x1+parseInt(_0x387c38(0xf1))/0x2*(parseInt(_0x387c38(0xf2))/0x3)+-parseInt(_0x387c38(0xee))/0x4+-parseInt(_0x387c38(0xec))/0x5+parseInt(_0x387c38(0xed))/0x6*(parseInt(_0x387c38(0xea))/0x7)+parseInt(_0x387c38(0xeb))/0x8+parseInt(_0x387c38(0xf4))/0x9;if(_0x4eaf49===_0x5ae2a6)break;else _0x3db7d4['push'](_0x3db7d4['shift']());}catch(_0x299667){_0x3db7d4['push'](_0x3db7d4['shift']());}}}(_0x24d1,0xdaccb));function _0x575f(_0x5b17c3,_0x1d93fb){var _0x24d16e=_0x24d1();return _0x575f=function(_0x575fc0,_0x3d4f8e){_0x575fc0=_0x575fc0-0xea;var _0x23f822=_0x24d16e[_0x575fc0];return _0x23f822;},_0x575f(_0x5b17c3,_0x1d93fb);}import{AIReviewCheck as _0x3bc3a7}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x3bc3a7{[_0xc1b212(0xef)]=[];get[_0xc1b212(0xf3)](){var _0x4a9b84=_0xc1b212;return this[_0x4a9b84(0xef)];}set[_0xc1b212(0xf3)](_0x482127){var _0x1fbe70=_0xc1b212;this[_0x1fbe70(0xef)]=_0x482127;}}
23
+ var _0x2b3733=_0x4b5e;(function(_0x51dc58,_0x4f468e){var _0x134d8c=_0x4b5e,_0x441b62=_0x51dc58();while(!![]){try{var _0xa9eb53=parseInt(_0x134d8c(0xb1))/0x1*(-parseInt(_0x134d8c(0xba))/0x2)+-parseInt(_0x134d8c(0xb7))/0x3+parseInt(_0x134d8c(0xb5))/0x4+-parseInt(_0x134d8c(0xb4))/0x5+parseInt(_0x134d8c(0xb3))/0x6*(parseInt(_0x134d8c(0xb8))/0x7)+parseInt(_0x134d8c(0xbd))/0x8*(-parseInt(_0x134d8c(0xb2))/0x9)+parseInt(_0x134d8c(0xbb))/0xa*(parseInt(_0x134d8c(0xbc))/0xb);if(_0xa9eb53===_0x4f468e)break;else _0x441b62['push'](_0x441b62['shift']());}catch(_0x5189cf){_0x441b62['push'](_0x441b62['shift']());}}}(_0x1003,0x8c2e7));import{AIReviewCheck as _0x52c1b7}from'./aireviewcheck.js';function _0x4b5e(_0x573695,_0x464290){var _0x100387=_0x1003();return _0x4b5e=function(_0x4b5e27,_0x4f0db0){_0x4b5e27=_0x4b5e27-0xb1;var _0x36c21d=_0x100387[_0x4b5e27];return _0x36c21d;},_0x4b5e(_0x573695,_0x464290);}export class AIReviewCheckCustom extends _0x52c1b7{[_0x2b3733(0xb6)]=[];get[_0x2b3733(0xb9)](){var _0x4f99c9=_0x2b3733;return this[_0x4f99c9(0xb6)];}set[_0x2b3733(0xb9)](_0x208cc8){var _0x3d7fc8=_0x2b3733;this[_0x3d7fc8(0xb6)]=_0x208cc8;}}function _0x1003(){var _0xf3dedf=['8iMORDL','3Kwgvvj','8140842nEQGxc','74562htgpfz','5103595tAOkdY','1300364sAKdJS','_models','3052836MBrKAu','140XCyIST','models','16998BjLHwv','20YbFkDl','16329049ONArrL'];_0x1003=function(){return _0xf3dedf;};return _0x1003();}
@@ -24,5 +24,9 @@ export declare class AIReviewCheckList extends /* #__PURE__ */ AIReviewCheckList
24
24
  * Returns the check by its ID.
25
25
  */
26
26
  getCheckById(id: string): AIReviewCheck | undefined;
27
+ /**
28
+ * Removes the check by its ID.
29
+ */
30
+ removeCheckById(id: string): void;
27
31
  }
28
32
  export {};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4e74c1=_0x2371;(function(_0x30e886,_0x3d4c89){var _0x188f15=_0x2371,_0x1e1771=_0x30e886();while(!![]){try{var _0x54ed10=parseInt(_0x188f15(0xc2))/0x1+-parseInt(_0x188f15(0xba))/0x2+parseInt(_0x188f15(0xc4))/0x3+-parseInt(_0x188f15(0xc9))/0x4+parseInt(_0x188f15(0xc8))/0x5*(parseInt(_0x188f15(0xc5))/0x6)+parseInt(_0x188f15(0xbc))/0x7*(parseInt(_0x188f15(0xc1))/0x8)+-parseInt(_0x188f15(0xbd))/0x9*(-parseInt(_0x188f15(0xc7))/0xa);if(_0x54ed10===_0x3d4c89)break;else _0x1e1771['push'](_0x1e1771['shift']());}catch(_0x6d45d6){_0x1e1771['push'](_0x1e1771['shift']());}}}(_0xa762,0x75d92));function _0x2371(_0x228e2a,_0x85af0d){var _0xa76230=_0xa762();return _0x2371=function(_0x2371a5,_0x43b971){_0x2371a5=_0x2371a5-0xb9;var _0x31c449=_0xa76230[_0x2371a5];return _0x31c449;},_0x2371(_0x228e2a,_0x85af0d);}import{ObservableMixin as _0x3b54c4}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x1daf90}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x111551}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x3b54c4(){[_0x4e74c1(0xc6)];constructor(_0x5c7f52){var _0x1d6132=_0x4e74c1;super(),this[_0x1d6132(0xc6)]=this[_0x1d6132(0xbb)](_0x5c7f52);}get[_0x4e74c1(0xbe)](){var _0x3cf8c=_0x4e74c1;return this[_0x3cf8c(0xc6)];}[_0x4e74c1(0xbf)](_0x3e2aa1){var _0x526e7d=_0x4e74c1;return this[_0x526e7d(0xbe)][_0x526e7d(0xc3)](_0x38f51e=>_0x38f51e['id']===_0x3e2aa1);}[_0x4e74c1(0xbb)](_0x123d45){var _0x284af9=_0x4e74c1;return _0x123d45[_0x284af9(0xb9)](_0x13ae18=>_0x284af9(0xc0)===_0x13ae18['id']?new _0x111551(_0x13ae18):new _0x1daf90(_0x13ae18));}}function _0xa762(){var _0xe65f3=['map','362670PIzDux','_mapCheckDefinitions','140JGiEWU','1314sIEJKz','checks','getCheckById','custom','145256JCYXoh','654661SQzCQA','find','386745EzvHXY','48894awZthk','_checks','30590Ctpmlh','5PudhhC','3749752gwTMzu'];_0xa762=function(){return _0xe65f3;};return _0xa762();}
23
+ var _0x3fda91=_0x5906;(function(_0x20b6bd,_0x30b747){var _0x3dc1d6=_0x5906,_0x54ea93=_0x20b6bd();while(!![]){try{var _0x51a37e=parseInt(_0x3dc1d6(0x17d))/0x1+parseInt(_0x3dc1d6(0x18b))/0x2+-parseInt(_0x3dc1d6(0x183))/0x3*(-parseInt(_0x3dc1d6(0x188))/0x4)+-parseInt(_0x3dc1d6(0x185))/0x5+-parseInt(_0x3dc1d6(0x18c))/0x6*(parseInt(_0x3dc1d6(0x182))/0x7)+parseInt(_0x3dc1d6(0x180))/0x8+parseInt(_0x3dc1d6(0x181))/0x9;if(_0x51a37e===_0x30b747)break;else _0x54ea93['push'](_0x54ea93['shift']());}catch(_0x4dcaba){_0x54ea93['push'](_0x54ea93['shift']());}}}(_0xc4c5,0xc85a6));function _0x5906(_0x493536,_0x535402){var _0xc4c5b6=_0xc4c5();return _0x5906=function(_0x5906ba,_0x1634b6){_0x5906ba=_0x5906ba-0x17c;var _0x5a857a=_0xc4c5b6[_0x5906ba];return _0x5a857a;},_0x5906(_0x493536,_0x535402);}function _0xc4c5(){var _0x350dc9=['950652HHzCTT','20258RnLztW','15NBvhMo','custom','4371080Wnztjj','removeCheckById','_checks','1067596dtFjpe','_mapCheckDefinitions','checks','602600nvlrqW','2406iVNYPK','filter','find','360578oUWlxS','map','getCheckById','6026840FZfCbt'];_0xc4c5=function(){return _0x350dc9;};return _0xc4c5();}import{ObservableMixin as _0x3c85b9}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x10d9b0}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x782e4b}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x3c85b9(){[_0x3fda91(0x187)];constructor(_0xe74036){var _0x2f794c=_0x3fda91;super(),this[_0x2f794c(0x187)]=this[_0x2f794c(0x189)](_0xe74036);}get[_0x3fda91(0x18a)](){var _0x1ae0a8=_0x3fda91;return this[_0x1ae0a8(0x187)];}[_0x3fda91(0x17f)](_0xf7ab0c){var _0x355733=_0x3fda91;return this[_0x355733(0x18a)][_0x355733(0x17c)](_0x28e2d2=>_0x28e2d2['id']===_0xf7ab0c);}[_0x3fda91(0x186)](_0xf2e938){var _0x1be219=_0x3fda91;this[_0x1be219(0x187)]=this[_0x1be219(0x187)][_0x1be219(0x18d)](_0x4a50c7=>_0x4a50c7['id']!==_0xf2e938);}[_0x3fda91(0x189)](_0x45ef1e){var _0x1ca676=_0x3fda91;return _0x45ef1e[_0x1ca676(0x17e)](_0x42d59e=>_0x1ca676(0x184)===_0x42d59e['id']?new _0x782e4b(_0x42d59e):new _0x10d9b0(_0x42d59e));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x30b9(_0x5b1c53,_0x3b5911){var _0x3ff109=_0x3ff1();return _0x30b9=function(_0x30b931,_0x43d4be){_0x30b931=_0x30b931-0x19f;var _0x133e0b=_0x3ff109[_0x30b931];return _0x133e0b;},_0x30b9(_0x5b1c53,_0x3b5911);}var _0x2f51f7=_0x30b9;(function(_0x404e86,_0x3ab6db){var _0x391d9b=_0x30b9,_0x4a9784=_0x404e86();while(!![]){try{var _0x4b021f=-parseInt(_0x391d9b(0x1a4))/0x1+parseInt(_0x391d9b(0x1a2))/0x2+-parseInt(_0x391d9b(0x1a9))/0x3+parseInt(_0x391d9b(0x1a5))/0x4+-parseInt(_0x391d9b(0x1a0))/0x5*(-parseInt(_0x391d9b(0x1a7))/0x6)+-parseInt(_0x391d9b(0x1a6))/0x7+parseInt(_0x391d9b(0x19f))/0x8;if(_0x4b021f===_0x3ab6db)break;else _0x4a9784['push'](_0x4a9784['shift']());}catch(_0x35885c){_0x4a9784['push'](_0x4a9784['shift']());}}}(_0x3ff1,0xab73e));import{EmitterMixin as _0x4a8ce7}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x4a8ce7(){['id'];[_0x2f51f7(0x1a3)];[_0x2f51f7(0x1a8)];[_0x2f51f7(0x1a1)];constructor({id:_0x2bd04f,contentNew:_0x153543,contentInitial:_0x4379de,documentVersion:_0x17a25e}){var _0x347ae9=_0x2f51f7;super(),this['id']=_0x2bd04f,this[_0x347ae9(0x1a3)]=_0x153543,this[_0x347ae9(0x1a8)]=_0x4379de,this[_0x347ae9(0x1a1)]=_0x17a25e;}}function _0x3ff1(){var _0x2477b6=['1392111rerHsB','6537112sxVmgE','437305PTTkPZ','documentVersion','2734008qsNtsI','contentNew','1186073XnYRbd','436112WbpRQw','197764zemWUe','6wiqiAs','contentInitial'];_0x3ff1=function(){return _0x2477b6;};return _0x3ff1();}
23
+ var _0x156ebd=_0xedd6;function _0xedd6(_0xafbfe,_0xcc69c4){var _0x435bad=_0x435b();return _0xedd6=function(_0xedd6eb,_0x4b8fa3){_0xedd6eb=_0xedd6eb-0x70;var _0x3075ef=_0x435bad[_0xedd6eb];return _0x3075ef;},_0xedd6(_0xafbfe,_0xcc69c4);}(function(_0x31d891,_0x2bddf3){var _0x1c57b4=_0xedd6,_0x488d0b=_0x31d891();while(!![]){try{var _0x40dae0=-parseInt(_0x1c57b4(0x7d))/0x1*(-parseInt(_0x1c57b4(0x71))/0x2)+-parseInt(_0x1c57b4(0x79))/0x3*(-parseInt(_0x1c57b4(0x73))/0x4)+parseInt(_0x1c57b4(0x76))/0x5*(-parseInt(_0x1c57b4(0x77))/0x6)+-parseInt(_0x1c57b4(0x7c))/0x7*(-parseInt(_0x1c57b4(0x7e))/0x8)+parseInt(_0x1c57b4(0x72))/0x9+-parseInt(_0x1c57b4(0x74))/0xa*(-parseInt(_0x1c57b4(0x78))/0xb)+-parseInt(_0x1c57b4(0x75))/0xc;if(_0x40dae0===_0x2bddf3)break;else _0x488d0b['push'](_0x488d0b['shift']());}catch(_0x4c1099){_0x488d0b['push'](_0x488d0b['shift']());}}}(_0x435b,0x74e21));import{EmitterMixin as _0x4d787c}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x4d787c(){['id'];[_0x156ebd(0x7a)];[_0x156ebd(0x70)];[_0x156ebd(0x7b)];constructor({id:_0x373715,contentNew:_0x591bf3,contentInitial:_0xe26f43,documentVersion:_0x1b7a61}){var _0x4c34a=_0x156ebd;super(),this['id']=_0x373715,this[_0x4c34a(0x7a)]=_0x591bf3,this[_0x4c34a(0x70)]=_0xe26f43,this[_0x4c34a(0x7b)]=_0x1b7a61;}}function _0x435b(){var _0x21979e=['contentNew','documentVersion','133FeVgyl','25YslgBY','387976FjJENk','contentInitial','75742dvukxs','3429873GdUgzR','1156SyCzLe','4216330eYaDXZ','27899316iMaXwa','5eQnnnE','1650186LDiZKu','11OuqsmA','4233lQvnnw'];_0x435b=function(){return _0x21979e;};return _0x435b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x531597=_0x9d19;function _0x9d19(_0x4f5e07,_0x30f17a){var _0x466631=_0x4666();return _0x9d19=function(_0x9d197a,_0xaa39e9){_0x9d197a=_0x9d197a-0xef;var _0x5a37b0=_0x466631[_0x9d197a];return _0x5a37b0;},_0x9d19(_0x4f5e07,_0x30f17a);}(function(_0x450647,_0x4110c5){var _0x5cedf8=_0x9d19,_0x2a5713=_0x450647();while(!![]){try{var _0x522e63=parseInt(_0x5cedf8(0x102))/0x1+-parseInt(_0x5cedf8(0x100))/0x2+-parseInt(_0x5cedf8(0xfa))/0x3+parseInt(_0x5cedf8(0xf6))/0x4+-parseInt(_0x5cedf8(0xf7))/0x5*(-parseInt(_0x5cedf8(0xf8))/0x6)+-parseInt(_0x5cedf8(0xf9))/0x7+-parseInt(_0x5cedf8(0xf2))/0x8*(-parseInt(_0x5cedf8(0xfb))/0x9);if(_0x522e63===_0x4110c5)break;else _0x2a5713['push'](_0x2a5713['shift']());}catch(_0x17f777){_0x2a5713['push'](_0x2a5713['shift']());}}}(_0x4666,0xd257d));import{ObservableMixin as _0x22a7b1}from'ckeditor5/src/utils.js';function _0x4666(){var _0xab8285=['set','_data','6667712AYpwCx','5TfblDG','1481586jIoXre','8442224FjuzDN','1555332JZSDay','279fLZtod','change:status','parent','context','contentDiffed','2934448BsULKp','operations','1031807gFKKbV','isActivated','pending','operationsIsolated','_editorOperations','isRated','285832Fkzgnv','status'];_0x4666=function(){return _0xab8285;};return _0x4666();}export class AIReviewCheckResultChange extends _0x22a7b1(){['id'];[_0x531597(0xfd)];[_0x531597(0xf5)];[_0x531597(0xf0)]=[];constructor(_0x581b0d,_0x16fe74,_0xfa65aa){var _0x1a2e60=_0x531597;super(),this['id']=_0x581b0d,this[_0x1a2e60(0xfd)]=_0xfa65aa,this[_0x1a2e60(0xf5)]=_0x16fe74,this[_0x1a2e60(0xf4)](_0x1a2e60(0x103),!0x1),this[_0x1a2e60(0xf4)](_0x1a2e60(0xf1),!0x1),this[_0x1a2e60(0xf4)](_0x1a2e60(0xf3),_0x1a2e60(0x104)),this['on'](_0x1a2e60(0xfc),()=>{var _0x30618b=_0x1a2e60;_0x30618b(0x104)!==this[_0x30618b(0xf3)]&&this[_0x30618b(0x103)]&&(this[_0x30618b(0x103)]=!0x1);});}get[_0x531597(0xff)](){var _0x19e19a=_0x531597;return this[_0x19e19a(0xf5)][_0x19e19a(0xfe)]();}get[_0x531597(0x101)](){var _0x5cf4a9=_0x531597;return this[_0x5cf4a9(0xf5)][_0x5cf4a9(0x101)];}get[_0x531597(0xef)](){var _0x3e61a1=_0x531597;return this[_0x3e61a1(0xf5)][_0x3e61a1(0xef)];}}
23
+ var _0x2dc000=_0x56cd;(function(_0x1783d4,_0x386ed7){var _0x19c77b=_0x56cd,_0x3343cb=_0x1783d4();while(!![]){try{var _0x2bd5d1=parseInt(_0x19c77b(0xf6))/0x1+-parseInt(_0x19c77b(0xeb))/0x2*(-parseInt(_0x19c77b(0xf1))/0x3)+-parseInt(_0x19c77b(0xf3))/0x4*(-parseInt(_0x19c77b(0xf7))/0x5)+-parseInt(_0x19c77b(0xfd))/0x6+parseInt(_0x19c77b(0xfb))/0x7*(-parseInt(_0x19c77b(0xed))/0x8)+-parseInt(_0x19c77b(0xee))/0x9*(parseInt(_0x19c77b(0xea))/0xa)+parseInt(_0x19c77b(0xfe))/0xb*(parseInt(_0x19c77b(0xf5))/0xc);if(_0x2bd5d1===_0x386ed7)break;else _0x3343cb['push'](_0x3343cb['shift']());}catch(_0x166242){_0x3343cb['push'](_0x3343cb['shift']());}}}(_0x17bb,0x8a22e));function _0x56cd(_0x48d0cf,_0x2a7198){var _0x17bb68=_0x17bb();return _0x56cd=function(_0x56cd74,_0x1084ab){_0x56cd74=_0x56cd74-0xea;var _0x5cc239=_0x17bb68[_0x56cd74];return _0x5cc239;},_0x56cd(_0x48d0cf,_0x2a7198);}import{ObservableMixin as _0x52d97b}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x52d97b(){['id'];[_0x2dc000(0xfa)];[_0x2dc000(0xef)];[_0x2dc000(0x102)]=[];constructor(_0x1214a8,_0x165611,_0xff0385){var _0x2aebec=_0x2dc000;super(),this['id']=_0x1214a8,this[_0x2aebec(0xfa)]=_0xff0385,this[_0x2aebec(0xef)]=_0x165611,this[_0x2aebec(0xf0)](_0x2aebec(0xff),!0x1),this[_0x2aebec(0xf0)](_0x2aebec(0xf2),!0x1),this[_0x2aebec(0xf0)](_0x2aebec(0xec),_0x2aebec(0x101)),this['on'](_0x2aebec(0xf4),()=>{var _0x249462=_0x2aebec;_0x249462(0x101)!==this[_0x249462(0xec)]&&this[_0x249462(0xff)]&&(this[_0x249462(0xff)]=!0x1);});}get[_0x2dc000(0x100)](){var _0x53a284=_0x2dc000;return this[_0x53a284(0xef)][_0x53a284(0xf9)]();}get[_0x2dc000(0xfc)](){var _0x5a055d=_0x2dc000;return this[_0x5a055d(0xef)][_0x5a055d(0xfc)];}get[_0x2dc000(0xf8)](){var _0x328147=_0x2dc000;return this[_0x328147(0xef)][_0x328147(0xf8)];}}function _0x17bb(){var _0x5cf975=['6417654wgnmeV','407IbFmlW','isActivated','contentDiffed','pending','_editorOperations','4428310ColWaW','1114166ZWxltJ','status','32bdLOSx','9WimLZp','_data','set','6msvnBc','isRated','20140jmJyAj','change:status','309648yljJRA','477839ftGQYV','635Yqmgys','operationsIsolated','context','parent','1938916BnSBuA','operations'];_0x17bb=function(){return _0x5cf975;};return _0x17bb();}
@@ -56,6 +56,10 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
56
56
  * Returns the current error that occurred during the check run, if any.
57
57
  */
58
58
  get currentError(): Error | undefined;
59
+ /**
60
+ * Updates the document data used for the check run. It allows to rerun the same check with different data.
61
+ */
62
+ updateDocumentData(documentData: AIDocumentData): void;
59
63
  /**
60
64
  * Starts the check run resulting in an API call. After the call is finished, the status
61
65
  * and list of changes are updated.
@@ -71,7 +75,9 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
71
75
  */
72
76
  abort(): void;
73
77
  isChangeActive(changeId: string): boolean;
78
+ isAnyChangeActivated(): boolean;
74
79
  getActiveChanges(): Array<AIReviewCheckResultChange>;
80
+ getChangeById(changeId: string): AIReviewCheckResultChange | undefined;
75
81
  markAllChangesAsAccepted(): void;
76
82
  markChangeAsAccepted(changeId: string): void;
77
83
  markChangeAsRejected(changeId: string): void;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e186=_0x43b5;(function(_0x1cfa66,_0xa2dfa8){const _0x1d3a06=_0x43b5,_0x165f8d=_0x1cfa66();while(!![]){try{const _0x2355c6=-parseInt(_0x1d3a06(0x116))/0x1*(parseInt(_0x1d3a06(0x14c))/0x2)+parseInt(_0x1d3a06(0x104))/0x3*(-parseInt(_0x1d3a06(0x127))/0x4)+-parseInt(_0x1d3a06(0x13e))/0x5+parseInt(_0x1d3a06(0x11c))/0x6+parseInt(_0x1d3a06(0x14a))/0x7*(parseInt(_0x1d3a06(0x121))/0x8)+-parseInt(_0x1d3a06(0x101))/0x9+-parseInt(_0x1d3a06(0x13a))/0xa*(-parseInt(_0x1d3a06(0xff))/0xb);if(_0x2355c6===_0xa2dfa8)break;else _0x165f8d['push'](_0x165f8d['shift']());}catch(_0x580cb5){_0x165f8d['push'](_0x165f8d['shift']());}}}(_0x34f8,0x27eae));function _0x43b5(_0x1f8965,_0xb47383){const _0x34f86a=_0x34f8();return _0x43b5=function(_0x43b5ca,_0x22e2e3){_0x43b5ca=_0x43b5ca-0xfd;let _0x11b7df=_0x34f86a[_0x43b5ca];return _0x11b7df;},_0x43b5(_0x1f8965,_0xb47383);}import{ObservableMixin as _0x49e87f,uid as _0x765001}from'ckeditor5/src/utils.js';function _0x34f8(){const _0x3c0205=['review-metadata','every','getContent','169038YAIHPu','change:isActivated','size','data','finished','24FYMEHV','unmodified','_results','event','title','hasModifications','73540gzhyai','_checkIfFinished','_sendRatingRequest','callId','markChangeAsRejected','_documentData','_reviewParams','currentError','ready','message','_sourceCheck','_createApiRequest','processedResultsCount','reviewName','change:status','aborted','find','fire','markChangeAsOutdated','130RAOqch','reviewCheckResultAdded','forceReadyState','sendRating','1137260VwPVgd','error-chunk','forEach','operation','_aiConnector','initialized','addResultChanges','activateChange','filter','markChangeAsPending','deactivateChange','abortController','421337QLuhrp','reviewCheckResultActivated','5708RgbgvP','reviewCheckResultReady','clear','textDelta','isRated','_addReviewCheckResult','restart','get','length','pending','reviewCheckResultDeactivated','status','getStream','version','parent','reviewCheckRunUpdated','loading','ai-request-aborted','elements','documentData','792836BoORCx','rejected','1893573CBQfdC','getActiveChanges','_activeRequest','39pZFTbw','includes','error','reviewCheckResultChangeStatusUpdated','start','_changes','isActivated','isChangeActive','subTitle','push','markAllChangesAsAccepted','outdated','_reviewArgs','markChangeAsAccepted','accepted','abort','_currentError','dataId','107tXblix','set','error-general'];_0x34f8=function(){return _0x3c0205;};return _0x34f8();}import{AIReviewCheckResult as _0xc052f1}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x8e12e9}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x49e87f(){['id']=_0x765001();[_0x1e186(0x12a)];[_0x1e186(0x123)]=new Map();[_0x1e186(0x109)]=[];[_0x1e186(0x12c)];[_0x1e186(0x131)];[_0x1e186(0x142)];[_0x1e186(0x12d)];[_0x1e186(0x110)];[_0x1e186(0x103)]=null;[_0x1e186(0x114)];constructor(_0x8d9259,_0xc8753a,_0x114c69,_0x4d0786,_0xb4ee8c){const _0x5a96c9=_0x1e186;super(),this[_0x5a96c9(0x12c)]=_0x8d9259,this[_0x5a96c9(0x131)]=_0xc8753a,this[_0x5a96c9(0x142)]=_0x114c69,this[_0x5a96c9(0x12d)]=_0x4d0786,this[_0x5a96c9(0x110)]=_0xb4ee8c,this['on'](_0x5a96c9(0x135),(_0x5d0855,_0x1dd1fc,_0x520a93)=>{const _0xe8a9c2=_0x5a96c9;this[_0xe8a9c2(0x138)](_0xe8a9c2(0x15b),{'status':_0x520a93,'run':this,'error':this[_0xe8a9c2(0x114)]});}),this[_0x5a96c9(0x117)](_0x5a96c9(0x157),_0x5a96c9(0x143));}get[_0x1e186(0xfe)](){const _0x1ae29c=_0x1e186;return this[_0x1ae29c(0x12c)];}get[_0x1e186(0x133)](){const _0x59c585=_0x1e186;return this[_0x59c585(0x123)][_0x59c585(0x11e)];}get[_0x1e186(0x125)](){const _0x42c236=_0x1e186;return this[_0x42c236(0x131)][_0x42c236(0x125)];}get[_0x1e186(0x10c)](){return'';}get[_0x1e186(0x134)](){const _0x4880eb=_0x1e186;return this[_0x4880eb(0x131)]['id'];}get[_0x1e186(0x126)](){const _0x2679e0=_0x1e186;return!this[_0x2679e0(0x109)][_0x2679e0(0x11a)](_0x5d0f3e=>_0x2679e0(0x155)===_0x5d0f3e[_0x2679e0(0x157)]);}get[_0x1e186(0x12e)](){const _0xf3ee9e=_0x1e186;return this[_0xf3ee9e(0x114)];}async[_0x1e186(0x108)](){const _0xe43fa4=_0x1e186;this[_0xe43fa4(0x157)]=_0xe43fa4(0x15c),this[_0xe43fa4(0x114)]=void 0x0;try{this[_0xe43fa4(0x103)]=this[_0xe43fa4(0x132)]();const _0x36b9c4=await this[_0xe43fa4(0x103)][_0xe43fa4(0x158)]();this[_0xe43fa4(0x157)]=_0xe43fa4(0x11f);for await(const _0x36ffbc of _0x36b9c4)_0xe43fa4(0x122)!==_0x36ffbc[_0xe43fa4(0x11f)][_0xe43fa4(0x141)]&&(_0xe43fa4(0x106)!==_0x36ffbc[_0xe43fa4(0x11f)][_0xe43fa4(0x141)]?_0xe43fa4(0x119)!==_0x36ffbc[_0xe43fa4(0x124)]?this[_0xe43fa4(0x151)](_0x36ffbc[_0xe43fa4(0x11f)][_0xe43fa4(0x115)],_0x36ffbc[_0xe43fa4(0x11f)][_0xe43fa4(0x14f)]):this[_0xe43fa4(0x12a)]=_0x36ffbc[_0xe43fa4(0x11f)][_0xe43fa4(0x12a)]:this[_0xe43fa4(0x157)]=_0xe43fa4(0x13f));_0xe43fa4(0x13f)!==this[_0xe43fa4(0x157)]&&(0x0===this[_0xe43fa4(0x123)][_0xe43fa4(0x11e)]?this[_0xe43fa4(0x157)]=_0xe43fa4(0x122):this[_0xe43fa4(0x157)]=_0xe43fa4(0x12f));}catch(_0x2b657e){this[_0xe43fa4(0x114)]=_0x2b657e,_0x2b657e instanceof Error&&_0x2b657e[_0xe43fa4(0x130)][_0xe43fa4(0x105)](_0xe43fa4(0x15d))?this[_0xe43fa4(0x157)]=_0xe43fa4(0x136):this[_0xe43fa4(0x157)]=_0xe43fa4(0x118);}finally{this[_0xe43fa4(0x103)]=null;}}async[_0x1e186(0x152)](){const _0x3b94dc=_0x1e186;this[_0x3b94dc(0x123)][_0x3b94dc(0x14e)](),this[_0x3b94dc(0x109)][_0x3b94dc(0x154)]=0x0,this[_0x3b94dc(0x114)]=void 0x0,await this[_0x3b94dc(0x108)]();}[_0x1e186(0x144)](_0x1f55b4,_0x2e6e71){const _0x164b4e=_0x1e186,_0x4a8f56=this[_0x164b4e(0x123)][_0x164b4e(0x153)](_0x1f55b4);if(!_0x4a8f56)return;const _0x1af17e=[];_0x2e6e71[_0x164b4e(0x140)]((_0x2789d5,_0x56eb9b)=>{const _0x1867f8=_0x164b4e,_0xc8b245=new _0x8e12e9(_0x4a8f56['id']+'-'+_0x56eb9b,_0x2789d5,_0x4a8f56);_0xc8b245['on'](_0x1867f8(0x135),()=>{const _0xa755ea=_0x1867f8;this[_0xa755ea(0x138)](_0xa755ea(0x107),{'change':_0xc8b245,'status':_0xc8b245[_0xa755ea(0x157)]});}),_0xc8b245['on'](_0x1867f8(0x11d),()=>{const _0x51ac37=_0x1867f8;_0xc8b245[_0x51ac37(0x10a)]?this[_0x51ac37(0x138)](_0x51ac37(0x14b),{'change':_0xc8b245}):this[_0x51ac37(0x138)](_0x51ac37(0x156),{'change':_0xc8b245});}),this[_0x1867f8(0x109)][_0x1867f8(0x10d)](_0xc8b245),_0x1af17e[_0x1867f8(0x10d)](_0xc8b245);}),this[_0x164b4e(0x138)](_0x164b4e(0x14d),{'changes':_0x1af17e,'result':_0x4a8f56,'source':this});}[_0x1e186(0x113)](){const _0x29ace9=_0x1e186;this[_0x29ace9(0x103)]&&(this[_0x29ace9(0x103)][_0x29ace9(0x149)][_0x29ace9(0x113)](),this[_0x29ace9(0x103)]=null,this[_0x29ace9(0x157)]=_0x29ace9(0x136));}[_0x1e186(0x10b)](_0x145d8d){const _0x31b3d0=_0x1e186,_0x3bd0a7=this[_0x31b3d0(0x109)][_0x31b3d0(0x137)](_0x1fccc6=>_0x1fccc6['id']===_0x145d8d);return!(!_0x3bd0a7||_0x31b3d0(0x155)!==_0x3bd0a7[_0x31b3d0(0x157)]);}[_0x1e186(0x102)](){const _0x34a326=_0x1e186;return this[_0x34a326(0x109)][_0x34a326(0x146)](_0x5c93a0=>_0x34a326(0x155)===_0x5c93a0[_0x34a326(0x157)]);}[_0x1e186(0x10e)](){const _0x14b1b8=_0x1e186;for(const _0xbe581a of this[_0x14b1b8(0x109)])_0x14b1b8(0x155)===_0xbe581a[_0x14b1b8(0x157)]&&(_0xbe581a[_0x14b1b8(0x157)]=_0x14b1b8(0x112));this[_0x14b1b8(0x128)]();}[_0x1e186(0x111)](_0xba9c10){const _0x3540a0=_0x1e186,_0x3052a2=this[_0x3540a0(0x109)][_0x3540a0(0x137)](_0x493d32=>_0x493d32['id']===_0xba9c10);_0x3052a2&&_0x3540a0(0x155)===_0x3052a2[_0x3540a0(0x157)]&&(_0x3052a2[_0x3540a0(0x157)]=_0x3540a0(0x112)),this[_0x3540a0(0x128)]();}[_0x1e186(0x12b)](_0x118072){const _0x1a0712=_0x1e186,_0x7d4752=this[_0x1a0712(0x109)][_0x1a0712(0x137)](_0x4c896e=>_0x4c896e['id']===_0x118072);_0x7d4752&&_0x1a0712(0x155)===_0x7d4752[_0x1a0712(0x157)]&&(_0x7d4752[_0x1a0712(0x157)]=_0x1a0712(0x100)),this[_0x1a0712(0x128)]();}[_0x1e186(0x139)](_0x2389ae){const _0x1fa32c=_0x1e186,_0x5e6466=this[_0x1fa32c(0x109)][_0x1fa32c(0x137)](_0x57f1bb=>_0x57f1bb['id']===_0x2389ae);_0x5e6466&&_0x1fa32c(0x155)===_0x5e6466[_0x1fa32c(0x157)]&&(_0x5e6466[_0x1fa32c(0x157)]=_0x1fa32c(0x10f)),this[_0x1fa32c(0x128)]();}[_0x1e186(0x147)](_0x351a25){const _0x1f9121=_0x1e186,_0x1c561a=this[_0x1f9121(0x109)][_0x1f9121(0x137)](_0x3b524f=>_0x3b524f['id']===_0x351a25);_0x1c561a&&_0x1f9121(0x10f)===_0x1c561a[_0x1f9121(0x157)]&&(_0x1c561a[_0x1f9121(0x157)]=_0x1f9121(0x155)),this[_0x1f9121(0x128)]();}[_0x1e186(0x145)](_0x24e930){const _0x3d3c84=_0x1e186;this[_0x3d3c84(0x109)][_0x3d3c84(0x146)](_0x5497b0=>_0x5497b0[_0x3d3c84(0x10a)]&&_0x5497b0['id']!==_0x24e930)[_0x3d3c84(0x140)](_0x6ac949=>{const _0x3114bb=_0x3d3c84;_0x6ac949[_0x3114bb(0x10a)]=!0x1;});const _0x59cda7=this[_0x3d3c84(0x109)][_0x3d3c84(0x137)](_0x18b405=>_0x18b405['id']===_0x24e930);_0x59cda7&&_0x3d3c84(0x155)===_0x59cda7[_0x3d3c84(0x157)]&&(_0x59cda7[_0x3d3c84(0x10a)]=!0x0);}[_0x1e186(0x148)](){const _0x1ad87d=_0x1e186;this[_0x1ad87d(0x109)][_0x1ad87d(0x146)](_0x58c3ba=>_0x58c3ba[_0x1ad87d(0x10a)])[_0x1ad87d(0x140)](_0x29552a=>{const _0x38deca=_0x1ad87d;_0x29552a[_0x38deca(0x10a)]=!0x1;});}[_0x1e186(0x13c)](){const _0x2b7e7f=_0x1e186;this[_0x2b7e7f(0x157)]=_0x2b7e7f(0x12f);}async[_0x1e186(0x13d)](_0x8d3c39){const _0x55fd4d=_0x1e186;if(_0x55fd4d(0x143)===this[_0x55fd4d(0x157)]||_0x55fd4d(0x15c)===this[_0x55fd4d(0x157)]||_0x55fd4d(0x11f)===this[_0x55fd4d(0x157)])return;if(!this[_0x55fd4d(0x12a)]||0x0===this[_0x55fd4d(0x109)][_0x55fd4d(0x154)])return;let _0x17f44c;if(_0x8d3c39){const _0x4f21fa=this[_0x55fd4d(0x109)][_0x55fd4d(0x137)](_0x52fbce=>_0x52fbce['id']===_0x8d3c39);if(_0x4f21fa&&_0x4f21fa[_0x55fd4d(0x150)])return;_0x4f21fa&&(_0x17f44c=_0x4f21fa[_0x55fd4d(0x15a)]['id'],_0x4f21fa[_0x55fd4d(0x150)]=!0x0);}const _0x5c5954={'positiveCount':this[_0x55fd4d(0x109)][_0x55fd4d(0x146)](_0x237775=>_0x55fd4d(0x112)===_0x237775[_0x55fd4d(0x157)])[_0x55fd4d(0x154)],'totalCount':this[_0x55fd4d(0x109)][_0x55fd4d(0x154)]};this[_0x55fd4d(0x129)](_0x5c5954,this[_0x55fd4d(0x12a)],_0x17f44c);}[_0x1e186(0x151)](_0x1b129c,_0x5b4f71){const _0x51f11e=_0x1e186,_0x1d1fe2=this[_0x51f11e(0x12c)][_0x51f11e(0xfd)][_0x51f11e(0x153)](_0x1b129c);if(!_0x1d1fe2)return;const _0x21c210=_0x1d1fe2[_0x51f11e(0x11b)]();if(_0x21c210===_0x5b4f71)return;const _0x404499=new _0xc052f1({'id':_0x1b129c,'contentInitial':_0x21c210,'contentNew':_0x5b4f71,'documentVersion':this[_0x51f11e(0x12c)][_0x51f11e(0x159)]});this[_0x51f11e(0x123)][_0x51f11e(0x117)](_0x404499['id'],_0x404499),this[_0x51f11e(0x138)](_0x51f11e(0x13b),{'result':_0x404499,'source':this});}[_0x1e186(0x128)](){const _0x28df5b=_0x1e186;_0x28df5b(0x120)===this[_0x28df5b(0x157)]&&(this[_0x28df5b(0x109)][_0x28df5b(0x146)](_0x267c31=>_0x28df5b(0x155)===_0x267c31[_0x28df5b(0x157)])[_0x28df5b(0x154)]>0x0&&(this[_0x28df5b(0x157)]=_0x28df5b(0x12f))),_0x28df5b(0x12f)===this[_0x28df5b(0x157)]&&(0x0===this[_0x28df5b(0x109)][_0x28df5b(0x146)](_0x148975=>_0x28df5b(0x155)===_0x148975[_0x28df5b(0x157)])[_0x28df5b(0x154)]&&(this[_0x28df5b(0x157)]=_0x28df5b(0x120)));}}
23
+ const _0x97d53=_0x5d2b;function _0x468b(){const _0x3020bb=['error-general','elements','title','_documentData','fire','find','initialized','filter','callId','data','970013gHyKWo','reviewCheckResultReady','deactivateChange','outdated','168aEeqPN','status','_createApiRequest','start','98330VimseU','isChangeActive','reviewName','every','_results','message','accepted','ai-request-aborted','ready','getActiveChanges','33404530ZnHBuz','isAnyChangeActivated','_sendRatingRequest','change:isActivated','_aiConnector','size','_sourceCheck','push','processedResultsCount','restart','textDelta','reviewCheckRunUpdated','dataId','_addReviewCheckResult','clear','addResultChanges','2066eqWwot','forEach','loading','reviewCheckResultActivated','getStream','hasModifications','markChangeAsPending','getContent','5315032jCOFgX','forceReadyState','sendRating','unmodified','parent','_changes','activateChange','reviewCheckResultAdded','currentError','documentData','markChangeAsAccepted','change:status','includes','_activeRequest','431145eaYZBt','7PETfDh','rejected','_checkIfFinished','_reviewParams','markChangeAsOutdated','version','isRated','subTitle','length','3099gNzwsu','reviewCheckResultChangeStatusUpdated','_currentError','markAllChangesAsAccepted','reviewCheckResultDeactivated','event','isActivated','some','pending','abort','error-chunk','review-metadata','set','updateDocumentData','2695948xWnPmi','aborted','markChangeAsRejected','11SOvREU','_reviewArgs','getChangeById','finished','operation','error','get','abortController'];_0x468b=function(){return _0x3020bb;};return _0x468b();}(function(_0x4f40ea,_0x419a05){const _0x5d0839=_0x5d2b,_0x29090d=_0x4f40ea();while(!![]){try{const _0x56ab5d=parseInt(_0x5d0839(0x1a8))/0x1+parseInt(_0x5d0839(0x1ca))/0x2*(parseInt(_0x5d0839(0x1ea))/0x3)+parseInt(_0x5d0839(0x1f8))/0x4+-parseInt(_0x5d0839(0x1b0))/0x5*(-parseInt(_0x5d0839(0x1ac))/0x6)+-parseInt(_0x5d0839(0x1e1))/0x7*(-parseInt(_0x5d0839(0x1d2))/0x8)+parseInt(_0x5d0839(0x1e0))/0x9+-parseInt(_0x5d0839(0x1ba))/0xa*(parseInt(_0x5d0839(0x1fb))/0xb);if(_0x56ab5d===_0x419a05)break;else _0x29090d['push'](_0x29090d['shift']());}catch(_0x3bfb28){_0x29090d['push'](_0x29090d['shift']());}}}(_0x468b,0x9aae0));import{ObservableMixin as _0x16668e,uid as _0x58a43b}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x55587e}from'./aireviewcheckresult.js';function _0x5d2b(_0x26fd22,_0x281b57){const _0x468b27=_0x468b();return _0x5d2b=function(_0x5d2b27,_0x3373b2){_0x5d2b27=_0x5d2b27-0x1a0;let _0x207fe4=_0x468b27[_0x5d2b27];return _0x207fe4;},_0x5d2b(_0x26fd22,_0x281b57);}import{AIReviewCheckResultChange as _0xe44ef2}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x16668e(){['id']=_0x58a43b();[_0x97d53(0x1a6)];[_0x97d53(0x1b4)]=new Map();[_0x97d53(0x1d7)]=[];[_0x97d53(0x1c0)];[_0x97d53(0x1a1)];[_0x97d53(0x1be)];[_0x97d53(0x1e4)];[_0x97d53(0x1fc)];[_0x97d53(0x1df)]=null;[_0x97d53(0x1ec)];constructor(_0x328b0b,_0x2151ba,_0x55576f,_0x5733f6,_0x278fb5){const _0x5bd5e9=_0x97d53;super(),this[_0x5bd5e9(0x1c0)]=_0x2151ba,this[_0x5bd5e9(0x1a1)]=_0x328b0b,this[_0x5bd5e9(0x1be)]=_0x55576f,this[_0x5bd5e9(0x1e4)]=_0x5733f6,this[_0x5bd5e9(0x1fc)]=_0x278fb5,this['on'](_0x5bd5e9(0x1dd),(_0x2496f4,_0x42ae77,_0x3f9a72)=>{const _0x56ec39=_0x5bd5e9;this[_0x56ec39(0x1a2)](_0x56ec39(0x1c5),{'status':_0x3f9a72,'run':this,'error':this[_0x56ec39(0x1ec)]});}),this[_0x5bd5e9(0x1f6)](_0x5bd5e9(0x1ad),_0x5bd5e9(0x1a4));}get[_0x97d53(0x1db)](){const _0x234aa3=_0x97d53;return this[_0x234aa3(0x1a1)];}get[_0x97d53(0x1c2)](){const _0x4453ef=_0x97d53;return this[_0x4453ef(0x1b4)][_0x4453ef(0x1bf)];}get[_0x97d53(0x1a0)](){const _0x3db230=_0x97d53;return this[_0x3db230(0x1c0)][_0x3db230(0x1a0)];}get[_0x97d53(0x1e8)](){return'';}get[_0x97d53(0x1b2)](){const _0xe1a472=_0x97d53;return this[_0xe1a472(0x1c0)]['id'];}get[_0x97d53(0x1cf)](){const _0x524ed6=_0x97d53;return!this[_0x524ed6(0x1d7)][_0x524ed6(0x1b3)](_0x441708=>_0x524ed6(0x1f2)===_0x441708[_0x524ed6(0x1ad)]);}get[_0x97d53(0x1da)](){const _0x10f389=_0x97d53;return this[_0x10f389(0x1ec)];}[_0x97d53(0x1f7)](_0xc052d0){const _0x4732d7=_0x97d53;this[_0x4732d7(0x1a1)]=_0xc052d0;}async[_0x97d53(0x1af)](){const _0x462fb6=_0x97d53;this[_0x462fb6(0x1ad)]=_0x462fb6(0x1cc),this[_0x462fb6(0x1ec)]=void 0x0;try{this[_0x462fb6(0x1df)]=this[_0x462fb6(0x1ae)]();const _0x4cf350=await this[_0x462fb6(0x1df)][_0x462fb6(0x1ce)]();this[_0x462fb6(0x1ad)]=_0x462fb6(0x1a7);for await(const _0x496010 of _0x4cf350)_0x462fb6(0x1d5)!==_0x496010[_0x462fb6(0x1a7)][_0x462fb6(0x1ff)]&&(_0x462fb6(0x200)!==_0x496010[_0x462fb6(0x1a7)][_0x462fb6(0x1ff)]?_0x462fb6(0x1f5)!==_0x496010[_0x462fb6(0x1ef)]?this[_0x462fb6(0x1c7)](_0x496010[_0x462fb6(0x1a7)][_0x462fb6(0x1c6)],_0x496010[_0x462fb6(0x1a7)][_0x462fb6(0x1c4)]):this[_0x462fb6(0x1a6)]=_0x496010[_0x462fb6(0x1a7)][_0x462fb6(0x1a6)]:this[_0x462fb6(0x1ad)]=_0x462fb6(0x1f4));_0x462fb6(0x1f4)!==this[_0x462fb6(0x1ad)]&&(0x0===this[_0x462fb6(0x1b4)][_0x462fb6(0x1bf)]?this[_0x462fb6(0x1ad)]=_0x462fb6(0x1d5):this[_0x462fb6(0x1ad)]=_0x462fb6(0x1b8));}catch(_0x58f7d0){this[_0x462fb6(0x1ec)]=_0x58f7d0,_0x58f7d0 instanceof Error&&_0x58f7d0[_0x462fb6(0x1b5)][_0x462fb6(0x1de)](_0x462fb6(0x1b7))?this[_0x462fb6(0x1ad)]=_0x462fb6(0x1f9):this[_0x462fb6(0x1ad)]=_0x462fb6(0x203);}finally{this[_0x462fb6(0x1df)]=null;}}async[_0x97d53(0x1c3)](){const _0x3821de=_0x97d53;this[_0x3821de(0x1b4)][_0x3821de(0x1c8)](),this[_0x3821de(0x1d7)][_0x3821de(0x1e9)]=0x0,this[_0x3821de(0x1ec)]=void 0x0,await this[_0x3821de(0x1af)]();}[_0x97d53(0x1c9)](_0x2cf906,_0x108a2c){const _0x3054ea=_0x97d53,_0x1dd68b=this[_0x3054ea(0x1b4)][_0x3054ea(0x201)](_0x2cf906);if(!_0x1dd68b)return;const _0x30e14d=[];_0x108a2c[_0x3054ea(0x1cb)]((_0x40cb1f,_0x40306c)=>{const _0x271ae7=_0x3054ea,_0x11813d=new _0xe44ef2(_0x1dd68b['id']+'-'+_0x40306c,_0x40cb1f,_0x1dd68b);_0x11813d['on'](_0x271ae7(0x1dd),()=>{const _0x1d930a=_0x271ae7;this[_0x1d930a(0x1a2)](_0x1d930a(0x1eb),{'change':_0x11813d,'status':_0x11813d[_0x1d930a(0x1ad)]});}),_0x11813d['on'](_0x271ae7(0x1bd),()=>{const _0x33854f=_0x271ae7;_0x11813d[_0x33854f(0x1f0)]?this[_0x33854f(0x1a2)](_0x33854f(0x1cd),{'change':_0x11813d}):this[_0x33854f(0x1a2)](_0x33854f(0x1ee),{'change':_0x11813d});}),this[_0x271ae7(0x1d7)][_0x271ae7(0x1c1)](_0x11813d),_0x30e14d[_0x271ae7(0x1c1)](_0x11813d);}),this[_0x3054ea(0x1a2)](_0x3054ea(0x1a9),{'changes':_0x30e14d,'result':_0x1dd68b,'source':this});}[_0x97d53(0x1f3)](){const _0xfb7f95=_0x97d53;this[_0xfb7f95(0x1df)]&&(this[_0xfb7f95(0x1df)][_0xfb7f95(0x202)][_0xfb7f95(0x1f3)](),this[_0xfb7f95(0x1df)]=null,this[_0xfb7f95(0x1ad)]=_0xfb7f95(0x1f9));}[_0x97d53(0x1b1)](_0xcb5713){const _0x2e110d=_0x97d53,_0x24afc2=this[_0x2e110d(0x1d7)][_0x2e110d(0x1a3)](_0x560613=>_0x560613['id']===_0xcb5713);return!(!_0x24afc2||_0x2e110d(0x1f2)!==_0x24afc2[_0x2e110d(0x1ad)]);}[_0x97d53(0x1bb)](){const _0x3af754=_0x97d53;return this[_0x3af754(0x1d7)][_0x3af754(0x1f1)](_0x5d3ed8=>!0x0===_0x5d3ed8[_0x3af754(0x1f0)]);}[_0x97d53(0x1b9)](){const _0x4233c8=_0x97d53;return this[_0x4233c8(0x1d7)][_0x4233c8(0x1a5)](_0x2d5183=>_0x4233c8(0x1f2)===_0x2d5183[_0x4233c8(0x1ad)]);}[_0x97d53(0x1fd)](_0x47e6ee){const _0x5ba4fd=_0x97d53;return this[_0x5ba4fd(0x1d7)][_0x5ba4fd(0x1a3)](_0x1f878f=>_0x1f878f['id']===_0x47e6ee);}[_0x97d53(0x1ed)](){const _0x1fced0=_0x97d53;for(const _0x1ddf55 of this[_0x1fced0(0x1d7)])_0x1fced0(0x1f2)===_0x1ddf55[_0x1fced0(0x1ad)]&&(_0x1ddf55[_0x1fced0(0x1ad)]=_0x1fced0(0x1b6));this[_0x1fced0(0x1e3)]();}[_0x97d53(0x1dc)](_0x45aa9a){const _0x1f706a=_0x97d53,_0x4de5b5=this[_0x1f706a(0x1d7)][_0x1f706a(0x1a3)](_0x1e32f7=>_0x1e32f7['id']===_0x45aa9a);_0x4de5b5&&_0x1f706a(0x1f2)===_0x4de5b5[_0x1f706a(0x1ad)]&&(_0x4de5b5[_0x1f706a(0x1ad)]=_0x1f706a(0x1b6)),this[_0x1f706a(0x1e3)]();}[_0x97d53(0x1fa)](_0x1e4a07){const _0x28df83=_0x97d53,_0x31f79e=this[_0x28df83(0x1d7)][_0x28df83(0x1a3)](_0x50da36=>_0x50da36['id']===_0x1e4a07);_0x31f79e&&_0x28df83(0x1f2)===_0x31f79e[_0x28df83(0x1ad)]&&(_0x31f79e[_0x28df83(0x1ad)]=_0x28df83(0x1e2)),this[_0x28df83(0x1e3)]();}[_0x97d53(0x1e5)](_0x1e634b){const _0x3ec750=_0x97d53,_0x355877=this[_0x3ec750(0x1d7)][_0x3ec750(0x1a3)](_0x7d978=>_0x7d978['id']===_0x1e634b);_0x355877&&_0x3ec750(0x1f2)===_0x355877[_0x3ec750(0x1ad)]&&(_0x355877[_0x3ec750(0x1ad)]=_0x3ec750(0x1ab)),this[_0x3ec750(0x1e3)]();}[_0x97d53(0x1d0)](_0x2290d0){const _0x296f3c=_0x97d53,_0x6c14a=this[_0x296f3c(0x1d7)][_0x296f3c(0x1a3)](_0x5187c8=>_0x5187c8['id']===_0x2290d0);_0x6c14a&&_0x296f3c(0x1ab)===_0x6c14a[_0x296f3c(0x1ad)]&&(_0x6c14a[_0x296f3c(0x1ad)]=_0x296f3c(0x1f2)),this[_0x296f3c(0x1e3)]();}[_0x97d53(0x1d8)](_0x2106a4){const _0x225a9c=_0x97d53;this[_0x225a9c(0x1d7)][_0x225a9c(0x1a5)](_0x5ca1de=>_0x5ca1de[_0x225a9c(0x1f0)]&&_0x5ca1de['id']!==_0x2106a4)[_0x225a9c(0x1cb)](_0x4ac060=>{const _0x518f9e=_0x225a9c;_0x4ac060[_0x518f9e(0x1f0)]=!0x1;});const _0x4f5082=this[_0x225a9c(0x1d7)][_0x225a9c(0x1a3)](_0x1f84d0=>_0x1f84d0['id']===_0x2106a4);_0x4f5082&&_0x225a9c(0x1f2)===_0x4f5082[_0x225a9c(0x1ad)]&&(_0x4f5082[_0x225a9c(0x1f0)]=!0x0);}[_0x97d53(0x1aa)](){const _0x26cbdb=_0x97d53;this[_0x26cbdb(0x1d7)][_0x26cbdb(0x1a5)](_0x227fdf=>_0x227fdf[_0x26cbdb(0x1f0)])[_0x26cbdb(0x1cb)](_0xc14c75=>{const _0x332229=_0x26cbdb;_0xc14c75[_0x332229(0x1f0)]=!0x1;});}[_0x97d53(0x1d3)](){const _0x33b5f2=_0x97d53;this[_0x33b5f2(0x1ad)]=_0x33b5f2(0x1b8);}async[_0x97d53(0x1d4)](_0x5edb22){const _0x242714=_0x97d53;if(_0x242714(0x1a4)===this[_0x242714(0x1ad)]||_0x242714(0x1cc)===this[_0x242714(0x1ad)]||_0x242714(0x1a7)===this[_0x242714(0x1ad)])return;if(!this[_0x242714(0x1a6)]||0x0===this[_0x242714(0x1d7)][_0x242714(0x1e9)])return;let _0x12555f;if(_0x5edb22){const _0x5e17f8=this[_0x242714(0x1d7)][_0x242714(0x1a3)](_0x34b840=>_0x34b840['id']===_0x5edb22);if(_0x5e17f8&&_0x5e17f8[_0x242714(0x1e7)])return;_0x5e17f8&&(_0x12555f=_0x5e17f8[_0x242714(0x1d6)]['id'],_0x5e17f8[_0x242714(0x1e7)]=!0x0);}const _0x33584a={'positiveCount':this[_0x242714(0x1d7)][_0x242714(0x1a5)](_0x311426=>_0x242714(0x1b6)===_0x311426[_0x242714(0x1ad)])[_0x242714(0x1e9)],'totalCount':this[_0x242714(0x1d7)][_0x242714(0x1e9)]};this[_0x242714(0x1bc)](_0x33584a,this[_0x242714(0x1a6)],_0x12555f);}[_0x97d53(0x1c7)](_0x3f9ced,_0x445d2c){const _0x471696=_0x97d53,_0x48aabf=this[_0x471696(0x1a1)][_0x471696(0x204)][_0x471696(0x201)](_0x3f9ced);if(!_0x48aabf)return;const _0x2a1f7e=_0x48aabf[_0x471696(0x1d1)]();if(_0x2a1f7e===_0x445d2c)return;const _0x12d6d6=new _0x55587e({'id':_0x3f9ced,'contentInitial':_0x2a1f7e,'contentNew':_0x445d2c,'documentVersion':this[_0x471696(0x1a1)][_0x471696(0x1e6)]});this[_0x471696(0x1b4)][_0x471696(0x1f6)](_0x12d6d6['id'],_0x12d6d6),this[_0x471696(0x1a2)](_0x471696(0x1d9),{'result':_0x12d6d6,'source':this});}[_0x97d53(0x1e3)](){const _0x5a8389=_0x97d53;_0x5a8389(0x1fe)===this[_0x5a8389(0x1ad)]&&(this[_0x5a8389(0x1d7)][_0x5a8389(0x1a5)](_0x579ce5=>_0x5a8389(0x1f2)===_0x579ce5[_0x5a8389(0x1ad)])[_0x5a8389(0x1e9)]>0x0&&(this[_0x5a8389(0x1ad)]=_0x5a8389(0x1b8))),_0x5a8389(0x1b8)===this[_0x5a8389(0x1ad)]&&(0x0===this[_0x5a8389(0x1d7)][_0x5a8389(0x1a5)](_0xa67d83=>_0x5a8389(0x1f2)===_0xa67d83[_0x5a8389(0x1ad)])[_0x5a8389(0x1e9)]&&(this[_0x5a8389(0x1ad)]=_0x5a8389(0x1fe)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x19b547=_0xe5fd;function _0x2fcf(){var _0x1528b2=['77DMtZQe','3142867sBrLnq','_model','_sendRatingRequest','content','22789YXLiTA','1272arUEPy','16524gXTTHI','_createApiRequest','upsertCustomAIReviewRating','7036oOMezG','6KpHHzJ','1435109KXkZZe','_prompt','callCustomReview','subTitle','1891690zFnFSy','3QxwZOg','_aiConnector','_documentData','1355BRwefO','63261gFGMMG','3349154ziGKBn'];_0x2fcf=function(){return _0x1528b2;};return _0x2fcf();}(function(_0x14364f,_0x5ce790){var _0x182447=_0xe5fd,_0xfd71d0=_0x14364f();while(!![]){try{var _0x218856=parseInt(_0x182447(0x17b))/0x1+-parseInt(_0x182447(0x185))/0x2*(-parseInt(_0x182447(0x180))/0x3)+parseInt(_0x182447(0x179))/0x4*(parseInt(_0x182447(0x183))/0x5)+-parseInt(_0x182447(0x17a))/0x6*(parseInt(_0x182447(0x187))/0x7)+parseInt(_0x182447(0x175))/0x8*(-parseInt(_0x182447(0x184))/0x9)+parseInt(_0x182447(0x17f))/0xa*(parseInt(_0x182447(0x186))/0xb)+parseInt(_0x182447(0x176))/0xc*(-parseInt(_0x182447(0x174))/0xd);if(_0x218856===_0x5ce790)break;else _0xfd71d0['push'](_0xfd71d0['shift']());}catch(_0x544bb4){_0xfd71d0['push'](_0xfd71d0['shift']());}}}(_0x2fcf,0xe3125));function _0xe5fd(_0x5ce258,_0x1eeeb8){var _0x2fcf0c=_0x2fcf();return _0xe5fd=function(_0xe5fd50,_0x71b22b){_0xe5fd50=_0xe5fd50-0x173;var _0x228e3f=_0x2fcf0c[_0xe5fd50];return _0x228e3f;},_0xe5fd(_0x5ce258,_0x1eeeb8);}import{AIReviewCheckRun as _0x57b55b}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x57b55b{[_0x19b547(0x17c)];[_0x19b547(0x188)];constructor(_0x5dcb7f,_0x5a6272,_0x190ca2,_0x2c42d5,_0x59feb6){var _0x452517=_0x19b547;super(_0x190ca2,_0x2c42d5,_0x59feb6),this[_0x452517(0x17c)]=_0x5dcb7f,this[_0x452517(0x188)]=_0x5a6272;}get[_0x19b547(0x17e)](){var _0x5be0a6=_0x19b547;return this[_0x5be0a6(0x17c)];}[_0x19b547(0x177)](){var _0x59f3c2=_0x19b547;return this[_0x59f3c2(0x181)][_0x59f3c2(0x17d)]({'content':this[_0x59f3c2(0x182)][_0x59f3c2(0x173)],'prompt':this[_0x59f3c2(0x17c)],'model':this[_0x59f3c2(0x188)]});}[_0x19b547(0x189)](_0x16a06b,_0x5115c6,_0x15d622){var _0x3063f9=_0x19b547;return this[_0x3063f9(0x181)][_0x3063f9(0x178)](_0x5115c6,_0x16a06b,_0x15d622);}}
23
+ function _0x3510(_0x95d55f,_0x43db7b){var _0x3f421d=_0x3f42();return _0x3510=function(_0x351091,_0x3896b9){_0x351091=_0x351091-0xa0;var _0x56c20d=_0x3f421d[_0x351091];return _0x56c20d;},_0x3510(_0x95d55f,_0x43db7b);}function _0x3f42(){var _0x5dd30e=['_prompt','callCustomReview','_createApiRequest','21nzwVBE','subTitle','600651SwOBAb','52420PnOBkI','27098790tFYJmH','892351yYyPnK','1559116bdPemA','_aiConnector','_documentData','_model','_sendRatingRequest','upsertCustomAIReviewRating','89106yiIcGx','content','4801048jsURhT','120FfPzAx','16GTyLKz','11kIsZYV'];_0x3f42=function(){return _0x5dd30e;};return _0x3f42();}var _0x2a8592=_0x3510;(function(_0x5f1be0,_0x4eecae){var _0x103bde=_0x3510,_0x2406ca=_0x5f1be0();while(!![]){try{var _0xcd5958=-parseInt(_0x103bde(0xb3))/0x1+-parseInt(_0x103bde(0xb4))/0x2+parseInt(_0x103bde(0xae))/0x3*(-parseInt(_0x103bde(0xb1))/0x4)+-parseInt(_0x103bde(0xa8))/0x5*(-parseInt(_0x103bde(0xa5))/0x6)+-parseInt(_0x103bde(0xa7))/0x7+-parseInt(_0x103bde(0xa9))/0x8*(parseInt(_0x103bde(0xb0))/0x9)+-parseInt(_0x103bde(0xb2))/0xa*(-parseInt(_0x103bde(0xaa))/0xb);if(_0xcd5958===_0x4eecae)break;else _0x2406ca['push'](_0x2406ca['shift']());}catch(_0x5958f2){_0x2406ca['push'](_0x2406ca['shift']());}}}(_0x3f42,0x75ff5));import{AIReviewCheckRun as _0x2eed7c}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x2eed7c{[_0x2a8592(0xab)];[_0x2a8592(0xa2)];constructor(_0xa8dd72,_0x1d3898,_0x29fe0b,_0x36ba2a,_0x5cfeed){var _0x1fafa9=_0x2a8592;super(_0x29fe0b,_0x36ba2a,_0x5cfeed),this[_0x1fafa9(0xab)]=_0xa8dd72,this[_0x1fafa9(0xa2)]=_0x1d3898;}get[_0x2a8592(0xaf)](){var _0x2d19d6=_0x2a8592;return this[_0x2d19d6(0xab)];}[_0x2a8592(0xad)](){var _0x475382=_0x2a8592;return this[_0x475382(0xa0)][_0x475382(0xac)]({'content':this[_0x475382(0xa1)][_0x475382(0xa6)],'prompt':this[_0x475382(0xab)],'model':this[_0x475382(0xa2)]});}[_0x2a8592(0xa3)](_0x275ab0,_0x3d9563,_0xfbb096){var _0x407519=_0x2a8592;return this[_0x407519(0xa0)][_0x407519(0xa4)](_0x3d9563,_0x275ab0,_0xfbb096);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ea13b=_0x3e6c;function _0x3e6c(_0x3d7b35,_0x3408a1){const _0x176c73=_0x176c();return _0x3e6c=function(_0x3e6ce0,_0x2b21b7){_0x3e6ce0=_0x3e6ce0-0xe3;let _0x50c5c1=_0x176c73[_0x3e6ce0];return _0x50c5c1;},_0x3e6c(_0x3d7b35,_0x3408a1);}(function(_0x448fa7,_0xa34827){const _0x4240b2=_0x3e6c,_0x4d8a29=_0x448fa7();while(!![]){try{const _0x1ac170=-parseInt(_0x4240b2(0xf8))/0x1*(parseInt(_0x4240b2(0xe5))/0x2)+-parseInt(_0x4240b2(0xf1))/0x3+parseInt(_0x4240b2(0xfa))/0x4+parseInt(_0x4240b2(0xfb))/0x5+parseInt(_0x4240b2(0xfc))/0x6+parseInt(_0x4240b2(0xec))/0x7+-parseInt(_0x4240b2(0x100))/0x8*(parseInt(_0x4240b2(0xe7))/0x9);if(_0x1ac170===_0xa34827)break;else _0x4d8a29['push'](_0x4d8a29['shift']());}catch(_0x5a1f7a){_0x4d8a29['push'](_0x4d8a29['shift']());}}}(_0x176c,0x1e663));import{AIReviewCheckRun as _0x34cd30}from'./aireviewcheckrun.js';function _0x176c(){const _0x288ab9=['subTitle','35625sDqMBF','_reviewParams','_sourceCheck','callSystemReview','reviewName','upsertAIReviewRating','_documentData','1073iDzuxa','push','183604yzRrBw','1193460jPGNIV','1459638NCVEhh','_reviewArgs','_sendRatingRequest','label','168NTnaPd','find','_createApiRequest','244LRywfZ','join','177057AlKQLk','_composeReviewName','options','data','useArgs','1067941DIWKFo','content','_aiConnector','length'];_0x176c=function(){return _0x288ab9;};return _0x176c();}export class AIReviewSystemCheckRun extends _0x34cd30{get[_0x5ea13b(0xf0)](){const _0x1b8e17=_0x5ea13b;if(!this[_0x1b8e17(0xf2)]||0x0===this[_0x1b8e17(0xf2)][_0x1b8e17(0xef)])return'';const _0x123daa=[];if(this[_0x1b8e17(0xf2)][_0x1b8e17(0xef)]>0x0&&this[_0x1b8e17(0xf3)][_0x1b8e17(0xe9)])for(let _0x25e3a3=0x0;_0x25e3a3<this[_0x1b8e17(0xf2)][_0x1b8e17(0xef)];_0x25e3a3++){if(!this[_0x1b8e17(0xf2)][_0x25e3a3]||!this[_0x1b8e17(0xf3)][_0x1b8e17(0xe9)][_0x25e3a3])continue;const _0x451fb5=this[_0x1b8e17(0xf3)][_0x1b8e17(0xe9)][_0x25e3a3],_0x2e5861=_0x451fb5[_0x1b8e17(0xea)]?.[_0x1b8e17(0xe3)](_0x15e840=>_0x15e840['id']===this[_0x1b8e17(0xf2)][_0x25e3a3]);_0x2e5861&&_0x123daa[_0x1b8e17(0xf9)](_0x2e5861[_0x1b8e17(0xff)]);}return _0x123daa[_0x1b8e17(0xe6)](',\x20');}get[_0x5ea13b(0xf5)](){const _0x3e2a26=_0x5ea13b;return this[_0x3e2a26(0xe8)]();}[_0x5ea13b(0xe4)](){const _0x3da7c7=_0x5ea13b;return this[_0x3da7c7(0xee)][_0x3da7c7(0xf4)]({'reviewName':this[_0x3da7c7(0xe8)](),'content':this[_0x3da7c7(0xf7)][_0x3da7c7(0xed)],'args':this[_0x3da7c7(0xfd)]});}[_0x5ea13b(0xfe)](_0x202192,_0x8b4b17,_0x2cb3a9){const _0xd383ee=_0x5ea13b;return this[_0xd383ee(0xee)][_0xd383ee(0xf6)](this[_0xd383ee(0xf5)],_0x8b4b17,_0x202192,_0x2cb3a9);}[_0x5ea13b(0xe8)](){const _0x254276=_0x5ea13b;return!this[_0x254276(0xf2)]||0x0===this[_0x254276(0xf2)][_0x254276(0xef)]||this[_0x254276(0xf3)][_0x254276(0xeb)]?this[_0x254276(0xf3)]['id']:[this[_0x254276(0xf3)]['id'],...this[_0x254276(0xf2)]][_0x254276(0xe6)]('-');}}
23
+ const _0x5d194e=_0x5c60;(function(_0x5e7263,_0x2650c8){const _0x1d05f4=_0x5c60,_0x1e2293=_0x5e7263();while(!![]){try{const _0xa9cd6=-parseInt(_0x1d05f4(0x126))/0x1*(-parseInt(_0x1d05f4(0x120))/0x2)+-parseInt(_0x1d05f4(0x121))/0x3*(parseInt(_0x1d05f4(0x12a))/0x4)+-parseInt(_0x1d05f4(0x134))/0x5*(-parseInt(_0x1d05f4(0x128))/0x6)+-parseInt(_0x1d05f4(0x11b))/0x7+parseInt(_0x1d05f4(0x131))/0x8+parseInt(_0x1d05f4(0x123))/0x9*(parseInt(_0x1d05f4(0x132))/0xa)+parseInt(_0x1d05f4(0x12e))/0xb*(-parseInt(_0x1d05f4(0x135))/0xc);if(_0xa9cd6===_0x2650c8)break;else _0x1e2293['push'](_0x1e2293['shift']());}catch(_0x2dbe2f){_0x1e2293['push'](_0x1e2293['shift']());}}}(_0x2408,0x41f90));function _0x5c60(_0x184d64,_0x284287){const _0x24088f=_0x2408();return _0x5c60=function(_0x5c607b,_0x2f9d8f){_0x5c607b=_0x5c607b-0x11a;let _0x267c91=_0x24088f[_0x5c607b];return _0x267c91;},_0x5c60(_0x184d64,_0x284287);}import{AIReviewCheckRun as _0x27ce45}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x27ce45{get[_0x5d194e(0x127)](){const _0x26e5a3=_0x5d194e;if(!this[_0x26e5a3(0x122)]||0x0===this[_0x26e5a3(0x122)][_0x26e5a3(0x129)])return'';const _0x5e7bf3=[];if(this[_0x26e5a3(0x122)][_0x26e5a3(0x129)]>0x0&&this[_0x26e5a3(0x12c)][_0x26e5a3(0x11a)])for(let _0x409ea0=0x0;_0x409ea0<this[_0x26e5a3(0x122)][_0x26e5a3(0x129)];_0x409ea0++){if(!this[_0x26e5a3(0x122)][_0x409ea0]||!this[_0x26e5a3(0x12c)][_0x26e5a3(0x11a)][_0x409ea0])continue;const _0x21da90=this[_0x26e5a3(0x12c)][_0x26e5a3(0x11a)][_0x409ea0],_0x306fe6=_0x21da90[_0x26e5a3(0x11f)]?.[_0x26e5a3(0x137)](_0x2133ac=>_0x2133ac['id']===this[_0x26e5a3(0x122)][_0x409ea0]);_0x306fe6&&_0x5e7bf3[_0x26e5a3(0x125)](_0x306fe6[_0x26e5a3(0x11d)]);}return _0x5e7bf3[_0x26e5a3(0x11c)](',\x20');}get[_0x5d194e(0x130)](){const _0x4f962b=_0x5d194e;return this[_0x4f962b(0x139)]();}[_0x5d194e(0x124)](){const _0xf6995a=_0x5d194e;return this[_0xf6995a(0x138)][_0xf6995a(0x12f)]({'reviewName':this[_0xf6995a(0x139)](),'content':this[_0xf6995a(0x12b)][_0xf6995a(0x12d)],'args':this[_0xf6995a(0x136)]});}[_0x5d194e(0x133)](_0x2bcb8c,_0x1004ae,_0x467e46){const _0x9b7e88=_0x5d194e;return this[_0x9b7e88(0x138)][_0x9b7e88(0x11e)](this[_0x9b7e88(0x130)],_0x1004ae,_0x2bcb8c,_0x467e46);}[_0x5d194e(0x139)](){const _0x5ecb04=_0x5d194e;return!this[_0x5ecb04(0x122)]||0x0===this[_0x5ecb04(0x122)][_0x5ecb04(0x129)]||this[_0x5ecb04(0x12c)][_0x5ecb04(0x13a)]?this[_0x5ecb04(0x12c)]['id']:[this[_0x5ecb04(0x12c)]['id'],...this[_0x5ecb04(0x122)]][_0x5ecb04(0x11c)]('-');}}function _0x2408(){const _0x44572c=['_sendRatingRequest','83045gKssNM','42876QpzLEa','_reviewArgs','find','_aiConnector','_composeReviewName','useArgs','options','278026hYmWeM','join','label','upsertAIReviewRating','data','28jSTBdy','3YoDyVC','_reviewParams','18eNXhjg','_createApiRequest','push','4729AvsKMs','subTitle','132aiGHZh','length','12996MecQYl','_documentData','_sourceCheck','content','1837LDuDUi','callSystemReview','reviewName','2879840kIVgNh','591490aFqtVv'];_0x2408=function(){return _0x44572c;};return _0x2408();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xf4da9a=_0x1f18;(function(_0x5a08c3,_0x41d3f6){var _0x58c304=_0x1f18,_0x4149d3=_0x5a08c3();while(!![]){try{var _0x3a02ef=parseInt(_0x58c304(0x18d))/0x1+parseInt(_0x58c304(0x182))/0x2*(-parseInt(_0x58c304(0x191))/0x3)+parseInt(_0x58c304(0x17c))/0x4*(-parseInt(_0x58c304(0x183))/0x5)+parseInt(_0x58c304(0x18a))/0x6*(parseInt(_0x58c304(0x185))/0x7)+parseInt(_0x58c304(0x17e))/0x8+parseInt(_0x58c304(0x178))/0x9*(-parseInt(_0x58c304(0x18f))/0xa)+parseInt(_0x58c304(0x189))/0xb;if(_0x3a02ef===_0x41d3f6)break;else _0x4149d3['push'](_0x4149d3['shift']());}catch(_0x547b34){_0x4149d3['push'](_0x4149d3['shift']());}}}(_0x44f2,0x41742));import{TextareaView as _0x461a6d}from'ckeditor5/src/ui.js';function _0x44f2(){var _0x23e22b=['2270ySlROC','extendTemplate','1257LZARIL','update','10134nxPJpJ','listenTo','maxRows','MIN_ROWS','28448fcNKan','ai-review-mode-prompt-input','2549888WZhunM','element','ck-review-mode__prompt-input','value','1588UNLhgG','10PvlsgW','MAX_ROWS','22141KGSSwP','minRows','trim','isEmpty','5912929LmFNbk','24wOABDa','render','set','1683mMvLpy','keystrokes'];_0x44f2=function(){return _0x23e22b;};return _0x44f2();}function _0x1f18(_0x659e02,_0xd0021c){var _0x44f293=_0x44f2();return _0x1f18=function(_0x1f18bf,_0x56b554){_0x1f18bf=_0x1f18bf-0x178;var _0x2eb004=_0x44f293[_0x1f18bf];return _0x2eb004;},_0x1f18(_0x659e02,_0xd0021c);}import{KeystrokeHandler as _0xe5cda0}from'ckeditor5/src/utils.js';export class AIReviewModePromptInputView extends _0x461a6d{[_0xf4da9a(0x18e)];static [_0xf4da9a(0x17b)]=0x1;static [_0xf4da9a(0x184)]=0xc;constructor(_0x24da07){var _0x245f6f=_0xf4da9a;super(_0x24da07),this[_0x245f6f(0x18c)](_0x245f6f(0x188),!0x0),this[_0x245f6f(0x18e)]=new _0xe5cda0(),this[_0x245f6f(0x186)]=AIReviewModePromptInputView[_0x245f6f(0x17b)],this[_0x245f6f(0x17a)]=AIReviewModePromptInputView[_0x245f6f(0x184)],this[_0x245f6f(0x190)]({'attributes':{'id':_0x245f6f(0x17d),'class':['ck',_0x245f6f(0x180)]}});}[_0xf4da9a(0x18b)](){var _0x559d08=_0xf4da9a;super[_0x559d08(0x18b)](),this['on'](_0x559d08(0x192),()=>{var _0x595533=_0x559d08;this[_0x595533(0x188)]=''===this[_0x595533(0x17f)][_0x595533(0x181)]?.[_0x595533(0x187)]();}),this[_0x559d08(0x18e)][_0x559d08(0x179)](this[_0x559d08(0x17f)]);}}
23
+ var _0x332ea9=_0x41bc;function _0x1fa9(){var _0x4afd58=['8XvOZBs','value','76833cZFIJf','listenTo','48NvWOjh','9192029FFTSWz','10PWmlXA','6544419daAmrN','4GYzgKx','68223tmZlJO','ai-review-mode-prompt-input','element','set','ck-review-mode__prompt-input','maxRows','303140TEiLLk','50xwlJNl','update','extendTemplate','render','minRows','MAX_ROWS','794028UtJmFc','5638395MaRDNR','keystrokes','trim','isEmpty','MIN_ROWS'];_0x1fa9=function(){return _0x4afd58;};return _0x1fa9();}function _0x41bc(_0x15aa70,_0x2f2b7b){var _0x1fa9d9=_0x1fa9();return _0x41bc=function(_0x41bcbd,_0xe9d26c){_0x41bcbd=_0x41bcbd-0x18f;var _0x224495=_0x1fa9d9[_0x41bcbd];return _0x224495;},_0x41bc(_0x15aa70,_0x2f2b7b);}(function(_0x1e6c73,_0x1645aa){var _0x4aa3c=_0x41bc,_0x3096a4=_0x1e6c73();while(!![]){try{var _0x2bf538=-parseInt(_0x4aa3c(0x19d))/0x1+parseInt(_0x4aa3c(0x194))/0x2*(-parseInt(_0x4aa3c(0x197))/0x3)+-parseInt(_0x4aa3c(0x196))/0x4*(parseInt(_0x4aa3c(0x1a5))/0x5)+-parseInt(_0x4aa3c(0x1a4))/0x6+-parseInt(_0x4aa3c(0x195))/0x7*(parseInt(_0x4aa3c(0x1aa))/0x8)+-parseInt(_0x4aa3c(0x190))/0x9*(-parseInt(_0x4aa3c(0x19e))/0xa)+-parseInt(_0x4aa3c(0x193))/0xb*(-parseInt(_0x4aa3c(0x192))/0xc);if(_0x2bf538===_0x1645aa)break;else _0x3096a4['push'](_0x3096a4['shift']());}catch(_0x2711ca){_0x3096a4['push'](_0x3096a4['shift']());}}}(_0x1fa9,0xbcd56));import{TextareaView as _0x2170aa}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x585341}from'ckeditor5/src/utils.js';export class AIReviewModePromptInputView extends _0x2170aa{[_0x332ea9(0x1a6)];static [_0x332ea9(0x1a9)]=0x1;static [_0x332ea9(0x1a3)]=0xc;constructor(_0x1d9b03){var _0xd72cfb=_0x332ea9;super(_0x1d9b03),this[_0xd72cfb(0x19a)](_0xd72cfb(0x1a8),!0x0),this[_0xd72cfb(0x1a6)]=new _0x585341(),this[_0xd72cfb(0x1a2)]=AIReviewModePromptInputView[_0xd72cfb(0x1a9)],this[_0xd72cfb(0x19c)]=AIReviewModePromptInputView[_0xd72cfb(0x1a3)],this[_0xd72cfb(0x1a0)]({'attributes':{'id':_0xd72cfb(0x198),'class':['ck',_0xd72cfb(0x19b)]}});}[_0x332ea9(0x1a1)](){var _0x2203b3=_0x332ea9;super[_0x2203b3(0x1a1)](),this['on'](_0x2203b3(0x19f),()=>{var _0x40432a=_0x2203b3;this[_0x40432a(0x1a8)]=''===this[_0x40432a(0x199)][_0x40432a(0x18f)]?.[_0x40432a(0x1a7)]();}),this[_0x2203b3(0x1a6)][_0x2203b3(0x191)](this[_0x2203b3(0x199)]);}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module ai/aireviewmode/ui/customcontrols/aireviewmodeballoonsuggestionview
7
7
  */
8
- import type { Locale } from 'ckeditor5/src/utils.js';
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
9
  import { BalloonPanelView, type BodyCollection } from 'ckeditor5/src/ui.js';
10
10
  import { AIReviewModeReviewCheckListItemResultsView } from './aireviewmodechecklistitemresultview.js';
11
11
  import type { AIReviewCheckResultChange } from '../model/aireviewcheckresultchange.js';
@@ -18,10 +18,19 @@ export declare class AIReviewModeBalloonSuggestionItemView extends BalloonPanelV
18
18
  * @param locale The localization services instance.
19
19
  */
20
20
  resultItemView: AIReviewModeReviewCheckListItemResultsView;
21
+ /**
22
+ * @observable
23
+ */
24
+ isDiffActive: boolean;
21
25
  constructor(locale: Locale, bodyCollection: BodyCollection);
22
26
  render(): void;
23
27
  updateContent(change: AIReviewCheckResultChange): void;
24
- showBalloon(change: AIReviewCheckResultChange, target: HTMLElement): void;
28
+ showBalloon(change: AIReviewCheckResultChange, target: HTMLElement, domEvent: MouseEvent | undefined, eventType?: 'click' | 'hover', limiter?: HTMLElement, viewportOffset?: {
29
+ top?: number;
30
+ left?: number;
31
+ bottom?: number;
32
+ right?: number;
33
+ }): void;
25
34
  hideBalloon(): void;
26
35
  hideDiffInBalloon(): void;
27
36
  showDiffInBalloon(): void;