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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (498) hide show
  1. package/build/ai.js +2 -2
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/ast.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/be.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/bn.js +1 -1
  9. package/build/translations/bs.js +1 -1
  10. package/build/translations/ca.js +1 -1
  11. package/build/translations/cs.js +1 -1
  12. package/build/translations/da.js +1 -1
  13. package/build/translations/de-ch.js +1 -1
  14. package/build/translations/de.js +1 -1
  15. package/build/translations/el.js +1 -1
  16. package/build/translations/en-au.js +1 -1
  17. package/build/translations/en-gb.js +1 -1
  18. package/build/translations/eo.js +1 -1
  19. package/build/translations/es-co.js +1 -1
  20. package/build/translations/es.js +1 -1
  21. package/build/translations/et.js +1 -1
  22. package/build/translations/eu.js +1 -1
  23. package/build/translations/fa.js +1 -1
  24. package/build/translations/fi.js +1 -1
  25. package/build/translations/fr.js +1 -1
  26. package/build/translations/gl.js +1 -1
  27. package/build/translations/gu.js +1 -1
  28. package/build/translations/he.js +1 -1
  29. package/build/translations/hi.js +1 -1
  30. package/build/translations/hr.js +1 -1
  31. package/build/translations/hu.js +1 -1
  32. package/build/translations/hy.js +1 -1
  33. package/build/translations/id.js +1 -1
  34. package/build/translations/it.js +1 -1
  35. package/build/translations/ja.js +1 -1
  36. package/build/translations/jv.js +1 -1
  37. package/build/translations/kk.js +1 -1
  38. package/build/translations/km.js +1 -1
  39. package/build/translations/kn.js +1 -1
  40. package/build/translations/ko.js +1 -1
  41. package/build/translations/ku.js +1 -1
  42. package/build/translations/lt.js +1 -1
  43. package/build/translations/lv.js +1 -1
  44. package/build/translations/ms.js +1 -1
  45. package/build/translations/nb.js +1 -1
  46. package/build/translations/ne.js +1 -1
  47. package/build/translations/nl.js +1 -1
  48. package/build/translations/no.js +1 -1
  49. package/build/translations/oc.js +1 -1
  50. package/build/translations/pl.js +1 -1
  51. package/build/translations/pt-br.js +1 -1
  52. package/build/translations/pt.js +1 -1
  53. package/build/translations/ro.js +1 -1
  54. package/build/translations/ru.js +1 -1
  55. package/build/translations/si.js +1 -1
  56. package/build/translations/sk.js +1 -1
  57. package/build/translations/sl.js +1 -1
  58. package/build/translations/sq.js +1 -1
  59. package/build/translations/sr-latn.js +1 -1
  60. package/build/translations/sr.js +1 -1
  61. package/build/translations/sv.js +1 -1
  62. package/build/translations/th.js +1 -1
  63. package/build/translations/ti.js +1 -1
  64. package/build/translations/tk.js +1 -1
  65. package/build/translations/tr.js +1 -1
  66. package/build/translations/tt.js +1 -1
  67. package/build/translations/ug.js +1 -1
  68. package/build/translations/uk.js +1 -1
  69. package/build/translations/ur.js +1 -1
  70. package/build/translations/uz.js +1 -1
  71. package/build/translations/vi.js +1 -1
  72. package/build/translations/zh-cn.js +1 -1
  73. package/build/translations/zh.js +1 -1
  74. package/dist/index-editor.css +573 -203
  75. package/dist/index.css +627 -204
  76. package/dist/index.js +5 -4
  77. package/dist/translations/af.js +1 -1
  78. package/dist/translations/af.umd.js +1 -1
  79. package/dist/translations/ar.js +1 -1
  80. package/dist/translations/ar.umd.js +1 -1
  81. package/dist/translations/ast.js +1 -1
  82. package/dist/translations/ast.umd.js +1 -1
  83. package/dist/translations/az.js +1 -1
  84. package/dist/translations/az.umd.js +1 -1
  85. package/dist/translations/be.js +1 -1
  86. package/dist/translations/be.umd.js +1 -1
  87. package/dist/translations/bg.js +1 -1
  88. package/dist/translations/bg.umd.js +1 -1
  89. package/dist/translations/bn.js +1 -1
  90. package/dist/translations/bn.umd.js +1 -1
  91. package/dist/translations/bs.js +1 -1
  92. package/dist/translations/bs.umd.js +1 -1
  93. package/dist/translations/ca.js +1 -1
  94. package/dist/translations/ca.umd.js +1 -1
  95. package/dist/translations/cs.js +1 -1
  96. package/dist/translations/cs.umd.js +1 -1
  97. package/dist/translations/da.js +1 -1
  98. package/dist/translations/da.umd.js +1 -1
  99. package/dist/translations/de-ch.js +1 -1
  100. package/dist/translations/de-ch.umd.js +1 -1
  101. package/dist/translations/de.js +1 -1
  102. package/dist/translations/de.umd.js +1 -1
  103. package/dist/translations/el.js +1 -1
  104. package/dist/translations/el.umd.js +1 -1
  105. package/dist/translations/en-au.js +1 -1
  106. package/dist/translations/en-au.umd.js +1 -1
  107. package/dist/translations/en-gb.js +1 -1
  108. package/dist/translations/en-gb.umd.js +1 -1
  109. package/dist/translations/en.js +1 -1
  110. package/dist/translations/en.umd.js +1 -1
  111. package/dist/translations/eo.js +1 -1
  112. package/dist/translations/eo.umd.js +1 -1
  113. package/dist/translations/es-co.js +1 -1
  114. package/dist/translations/es-co.umd.js +1 -1
  115. package/dist/translations/es.js +1 -1
  116. package/dist/translations/es.umd.js +1 -1
  117. package/dist/translations/et.js +1 -1
  118. package/dist/translations/et.umd.js +1 -1
  119. package/dist/translations/eu.js +1 -1
  120. package/dist/translations/eu.umd.js +1 -1
  121. package/dist/translations/fa.js +1 -1
  122. package/dist/translations/fa.umd.js +1 -1
  123. package/dist/translations/fi.js +1 -1
  124. package/dist/translations/fi.umd.js +1 -1
  125. package/dist/translations/fr.js +1 -1
  126. package/dist/translations/fr.umd.js +1 -1
  127. package/dist/translations/gl.js +1 -1
  128. package/dist/translations/gl.umd.js +1 -1
  129. package/dist/translations/gu.js +1 -1
  130. package/dist/translations/gu.umd.js +1 -1
  131. package/dist/translations/he.js +1 -1
  132. package/dist/translations/he.umd.js +1 -1
  133. package/dist/translations/hi.js +1 -1
  134. package/dist/translations/hi.umd.js +1 -1
  135. package/dist/translations/hr.js +1 -1
  136. package/dist/translations/hr.umd.js +1 -1
  137. package/dist/translations/hu.js +1 -1
  138. package/dist/translations/hu.umd.js +1 -1
  139. package/dist/translations/hy.js +1 -1
  140. package/dist/translations/hy.umd.js +1 -1
  141. package/dist/translations/id.js +1 -1
  142. package/dist/translations/id.umd.js +1 -1
  143. package/dist/translations/it.js +1 -1
  144. package/dist/translations/it.umd.js +1 -1
  145. package/dist/translations/ja.js +1 -1
  146. package/dist/translations/ja.umd.js +1 -1
  147. package/dist/translations/jv.js +1 -1
  148. package/dist/translations/jv.umd.js +1 -1
  149. package/dist/translations/kk.js +1 -1
  150. package/dist/translations/kk.umd.js +1 -1
  151. package/dist/translations/km.js +1 -1
  152. package/dist/translations/km.umd.js +1 -1
  153. package/dist/translations/kn.js +1 -1
  154. package/dist/translations/kn.umd.js +1 -1
  155. package/dist/translations/ko.js +1 -1
  156. package/dist/translations/ko.umd.js +1 -1
  157. package/dist/translations/ku.js +1 -1
  158. package/dist/translations/ku.umd.js +1 -1
  159. package/dist/translations/lt.js +1 -1
  160. package/dist/translations/lt.umd.js +1 -1
  161. package/dist/translations/lv.js +1 -1
  162. package/dist/translations/lv.umd.js +1 -1
  163. package/dist/translations/ms.js +1 -1
  164. package/dist/translations/ms.umd.js +1 -1
  165. package/dist/translations/nb.js +1 -1
  166. package/dist/translations/nb.umd.js +1 -1
  167. package/dist/translations/ne.js +1 -1
  168. package/dist/translations/ne.umd.js +1 -1
  169. package/dist/translations/nl.js +1 -1
  170. package/dist/translations/nl.umd.js +1 -1
  171. package/dist/translations/no.js +1 -1
  172. package/dist/translations/no.umd.js +1 -1
  173. package/dist/translations/oc.js +1 -1
  174. package/dist/translations/oc.umd.js +1 -1
  175. package/dist/translations/pl.js +1 -1
  176. package/dist/translations/pl.umd.js +1 -1
  177. package/dist/translations/pt-br.js +1 -1
  178. package/dist/translations/pt-br.umd.js +1 -1
  179. package/dist/translations/pt.js +1 -1
  180. package/dist/translations/pt.umd.js +1 -1
  181. package/dist/translations/ro.js +1 -1
  182. package/dist/translations/ro.umd.js +1 -1
  183. package/dist/translations/ru.js +1 -1
  184. package/dist/translations/ru.umd.js +1 -1
  185. package/dist/translations/si.js +1 -1
  186. package/dist/translations/si.umd.js +1 -1
  187. package/dist/translations/sk.js +1 -1
  188. package/dist/translations/sk.umd.js +1 -1
  189. package/dist/translations/sl.js +1 -1
  190. package/dist/translations/sl.umd.js +1 -1
  191. package/dist/translations/sq.js +1 -1
  192. package/dist/translations/sq.umd.js +1 -1
  193. package/dist/translations/sr-latn.js +1 -1
  194. package/dist/translations/sr-latn.umd.js +1 -1
  195. package/dist/translations/sr.js +1 -1
  196. package/dist/translations/sr.umd.js +1 -1
  197. package/dist/translations/sv.js +1 -1
  198. package/dist/translations/sv.umd.js +1 -1
  199. package/dist/translations/th.js +1 -1
  200. package/dist/translations/th.umd.js +1 -1
  201. package/dist/translations/ti.js +1 -1
  202. package/dist/translations/ti.umd.js +1 -1
  203. package/dist/translations/tk.js +1 -1
  204. package/dist/translations/tk.umd.js +1 -1
  205. package/dist/translations/tr.js +1 -1
  206. package/dist/translations/tr.umd.js +1 -1
  207. package/dist/translations/tt.js +1 -1
  208. package/dist/translations/tt.umd.js +1 -1
  209. package/dist/translations/ug.js +1 -1
  210. package/dist/translations/ug.umd.js +1 -1
  211. package/dist/translations/uk.js +1 -1
  212. package/dist/translations/uk.umd.js +1 -1
  213. package/dist/translations/ur.js +1 -1
  214. package/dist/translations/ur.umd.js +1 -1
  215. package/dist/translations/uz.js +1 -1
  216. package/dist/translations/uz.umd.js +1 -1
  217. package/dist/translations/vi.js +1 -1
  218. package/dist/translations/vi.umd.js +1 -1
  219. package/dist/translations/zh-cn.js +1 -1
  220. package/dist/translations/zh-cn.umd.js +1 -1
  221. package/dist/translations/zh.js +1 -1
  222. package/dist/translations/zh.umd.js +1 -1
  223. package/lang/contexts.json +8 -1
  224. package/lang/translations/af.po +52 -4
  225. package/lang/translations/ar.po +52 -4
  226. package/lang/translations/ast.po +52 -4
  227. package/lang/translations/az.po +52 -4
  228. package/lang/translations/be.po +52 -4
  229. package/lang/translations/bg.po +52 -4
  230. package/lang/translations/bn.po +52 -4
  231. package/lang/translations/bs.po +52 -4
  232. package/lang/translations/ca.po +52 -4
  233. package/lang/translations/cs.po +52 -4
  234. package/lang/translations/da.po +52 -4
  235. package/lang/translations/de-ch.po +52 -4
  236. package/lang/translations/de.po +52 -4
  237. package/lang/translations/el.po +52 -4
  238. package/lang/translations/en-au.po +52 -4
  239. package/lang/translations/en-gb.po +52 -4
  240. package/lang/translations/en.po +52 -4
  241. package/lang/translations/eo.po +52 -4
  242. package/lang/translations/es-co.po +52 -4
  243. package/lang/translations/es.po +52 -4
  244. package/lang/translations/et.po +52 -4
  245. package/lang/translations/eu.po +52 -4
  246. package/lang/translations/fa.po +52 -4
  247. package/lang/translations/fi.po +52 -4
  248. package/lang/translations/fr.po +52 -4
  249. package/lang/translations/gl.po +52 -4
  250. package/lang/translations/gu.po +52 -4
  251. package/lang/translations/he.po +52 -4
  252. package/lang/translations/hi.po +52 -4
  253. package/lang/translations/hr.po +52 -4
  254. package/lang/translations/hu.po +52 -4
  255. package/lang/translations/hy.po +52 -4
  256. package/lang/translations/id.po +52 -4
  257. package/lang/translations/it.po +52 -4
  258. package/lang/translations/ja.po +52 -4
  259. package/lang/translations/jv.po +52 -4
  260. package/lang/translations/kk.po +52 -4
  261. package/lang/translations/km.po +52 -4
  262. package/lang/translations/kn.po +52 -4
  263. package/lang/translations/ko.po +52 -4
  264. package/lang/translations/ku.po +52 -4
  265. package/lang/translations/lt.po +52 -4
  266. package/lang/translations/lv.po +52 -4
  267. package/lang/translations/ms.po +52 -4
  268. package/lang/translations/nb.po +52 -4
  269. package/lang/translations/ne.po +52 -4
  270. package/lang/translations/nl.po +52 -4
  271. package/lang/translations/no.po +52 -4
  272. package/lang/translations/oc.po +52 -4
  273. package/lang/translations/pl.po +52 -4
  274. package/lang/translations/pt-br.po +52 -4
  275. package/lang/translations/pt.po +52 -4
  276. package/lang/translations/ro.po +52 -4
  277. package/lang/translations/ru.po +52 -4
  278. package/lang/translations/si.po +52 -4
  279. package/lang/translations/sk.po +52 -4
  280. package/lang/translations/sl.po +52 -4
  281. package/lang/translations/sq.po +52 -4
  282. package/lang/translations/sr-latn.po +52 -4
  283. package/lang/translations/sr.po +52 -4
  284. package/lang/translations/sv.po +52 -4
  285. package/lang/translations/th.po +52 -4
  286. package/lang/translations/ti.po +52 -4
  287. package/lang/translations/tk.po +52 -4
  288. package/lang/translations/tr.po +52 -4
  289. package/lang/translations/tt.po +52 -4
  290. package/lang/translations/ug.po +52 -4
  291. package/lang/translations/uk.po +52 -4
  292. package/lang/translations/ur.po +52 -4
  293. package/lang/translations/uz.po +52 -4
  294. package/lang/translations/vi.po +52 -4
  295. package/lang/translations/zh-cn.po +52 -4
  296. package/lang/translations/zh.po +52 -4
  297. package/package.json +15 -15
  298. package/src/aiactions/aiactions.d.ts +1 -1
  299. package/src/aiactions/aiactions.js +1 -1
  300. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  301. package/src/aiactions/model/aiactionsreply.js +1 -1
  302. package/src/aiassistant/adapters/aiadapter.js +1 -1
  303. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  304. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  305. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  306. package/src/aiassistant/aiassistant.js +1 -1
  307. package/src/aiassistant/aiassistantediting.js +1 -1
  308. package/src/aiassistant/aiassistantui.js +1 -1
  309. package/src/aiassistant/legacyerrors.js +1 -1
  310. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  311. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  312. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  313. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  314. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  315. package/src/aiassistant/ui/form/aiformview.js +1 -1
  316. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  317. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  318. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  319. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  320. package/src/aiassistant/utils/common-translations.js +1 -1
  321. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  322. package/src/aiballoon/aiballoon.d.ts +5 -1
  323. package/src/aiballoon/aiballoon.js +1 -1
  324. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  325. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  326. package/src/aiballoon/ui/aiballoonview.d.ts +40 -1
  327. package/src/aiballoon/ui/aiballoonview.js +1 -1
  328. package/src/aichat/aichat.js +1 -1
  329. package/src/aichat/aichatcontroller.d.ts +1 -1
  330. package/src/aichat/aichatcontroller.js +1 -1
  331. package/src/aichat/aichatui.d.ts +1 -0
  332. package/src/aichat/aichatui.js +1 -1
  333. package/src/aichat/model/aichatcontext.d.ts +4 -0
  334. package/src/aichat/model/aichatcontext.js +1 -1
  335. package/src/aichat/model/aichatconversation.js +1 -1
  336. package/src/aichat/model/aichatinteraction.js +1 -1
  337. package/src/aichat/model/aichatmodels.d.ts +8 -29
  338. package/src/aichat/model/aichatmodels.js +1 -1
  339. package/src/aichat/ui/aichatcontrolsview.d.ts +4 -1
  340. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  341. package/src/aichat/ui/aichatfeedview.d.ts +2 -2
  342. package/src/aichat/ui/aichatfeedview.js +1 -1
  343. package/src/aichat/ui/aichatheaderview.js +1 -1
  344. package/src/aichat/ui/aichatview.d.ts +4 -1
  345. package/src/aichat/ui/aichatview.js +1 -1
  346. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  347. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  348. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  349. package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +4 -1
  350. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  351. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  352. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  353. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  354. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  355. package/src/aichat/ui/controls/resources/{aichatresourceslistview.d.ts → aichatcontextresourceslistview.d.ts} +1 -1
  356. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +23 -0
  357. package/src/aichat/ui/controls/resources/{aichatresourcesview.d.ts → aichatcontextresourcesview.d.ts} +5 -2
  358. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +23 -0
  359. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  360. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +4 -0
  361. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  362. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  363. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  364. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  365. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  366. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  367. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  368. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +3 -3
  369. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  370. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -3
  371. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  372. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  373. package/src/aichat/utils/eventnames.js +1 -1
  374. package/src/aichat/utils/promisequeue.js +1 -1
  375. package/src/aichat/utils/scrollmanager.js +1 -1
  376. package/src/aichathistory/aichathistory.js +1 -1
  377. package/src/aichathistory/aichathistorycontroller.js +1 -1
  378. package/src/aichathistory/aichathistoryui.js +1 -1
  379. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  380. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  381. package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
  382. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -1
  383. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  384. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  385. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  386. package/src/aiconfig.d.ts +28 -7
  387. package/src/aicore/aiconnector.d.ts +1 -0
  388. package/src/aicore/aiconnector.js +1 -1
  389. package/src/aicore/aiediting.js +1 -1
  390. package/src/aicore/model/aicapabilities.js +1 -1
  391. package/src/aicore/model/aicontext.js +1 -1
  392. package/src/aicore/model/aiinteraction.js +1 -1
  393. package/src/aicore/model/aimodels.d.ts +66 -0
  394. package/src/aicore/model/aimodels.js +23 -0
  395. package/src/aicore/model/aireply.d.ts +9 -1
  396. package/src/aicore/model/aireply.js +1 -1
  397. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  398. package/src/aicore/pipeline/airesponseparser.js +2 -2
  399. package/src/aicore/ui/aidisclaimerview.js +1 -1
  400. package/src/aicore/ui/aiskeleton.js +1 -1
  401. package/src/aicore/ui/aispinner.js +1 -1
  402. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  403. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +5 -2
  404. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  405. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +3 -1
  406. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  407. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +6 -2
  408. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  409. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  410. package/src/aicore/utils/common-translations.js +1 -1
  411. package/src/aicore/utils/createresizebutton.js +1 -1
  412. package/src/aicore/utils/documentposition.js +1 -1
  413. package/src/aicore/utils/documentrange.js +1 -1
  414. package/src/aicore/utils/eventnames.js +1 -1
  415. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  416. package/src/aicore/utils/getoperationsfromreply.d.ts +2 -1
  417. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  418. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  419. package/src/aicore/utils/htmlparser.js +1 -1
  420. package/src/aicore/utils/htmlstreamer.js +1 -1
  421. package/src/aieditorintegration/aieditorintegration.d.ts +2 -1
  422. package/src/aieditorintegration/aieditorintegration.js +1 -1
  423. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  424. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  425. package/src/aiquickactions/aiquickactions.js +1 -1
  426. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  427. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  428. package/src/aiquickactions/aiquickactionsui.js +1 -1
  429. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  430. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  431. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  432. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  433. package/src/aireviewmode/aireviewmode.js +1 -1
  434. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  435. package/src/aireviewmode/aireviewmodeediting.d.ts +18 -0
  436. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  437. package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
  438. package/src/aireviewmode/aireviewmodeui.js +1 -1
  439. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  440. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +3 -3
  441. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  442. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  443. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  444. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
  445. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  446. package/src/aireviewmode/model/aireviewcheckrun.d.ts +9 -10
  447. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  448. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  449. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  450. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  451. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  452. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +6 -0
  453. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  454. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  455. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +13 -0
  456. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +23 -0
  457. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  458. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +9 -1
  459. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  460. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  461. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +0 -4
  462. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  463. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  464. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  465. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  466. package/src/aitabs/aitabs.js +1 -1
  467. package/src/aitabs/aitabsmainview.js +1 -1
  468. package/src/aitabs/tabs/aitabsview.js +1 -1
  469. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  470. package/src/aitabs/tabs/tabpanelview.js +1 -1
  471. package/src/errors.js +1 -1
  472. package/src/index.d.ts +1 -0
  473. package/src/index.js +1 -1
  474. package/theme/aiballoon/aiballoon.css +12 -0
  475. package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
  476. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +52 -43
  477. package/theme/aichat/aichat-controls/aichat-controls-button.css +8 -6
  478. package/theme/aichat/aichat-controls/aichat-controls-loader.css +36 -52
  479. package/theme/aichat/aichat-controls/prompt-capabilities.css +0 -1
  480. package/theme/aichat/aichat-controls.css +11 -27
  481. package/theme/aichat/aichat.css +2 -3
  482. package/theme/aichat/aichatfeed.css +1 -27
  483. package/theme/aichat/aichathistory.css +12 -0
  484. package/theme/aichat/aisuggestioncontainer.css +5 -0
  485. package/theme/aireviewmode/aireviewmode-check-list.css +25 -23
  486. package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
  487. package/theme/aireviewmode/aireviewmode-check-run.css +28 -5
  488. package/theme/aireviewmode/aireviewmode.css +17 -7
  489. package/theme/aitabs/aitabsview.css +1 -1
  490. package/theme/aitabs/tabs/tabbuttonview.css +1 -0
  491. package/theme/aitabs/tabs/tabsview.css +1 -0
  492. package/theme/common/aibutton.css +27 -0
  493. package/theme/common/aiheader.css +14 -4
  494. package/theme/common/aitrackchanges.css +8 -1
  495. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +0 -23
  496. package/src/aichat/ui/controls/resources/aichatresourcesview.js +0 -23
  497. package/src/aireviewmode/model/aireviewmodels.d.ts +0 -26
  498. package/src/aireviewmode/model/aireviewmodels.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41e953=_0x19b7;(function(_0x33508f,_0x1dc542){const _0x4b890d=_0x19b7,_0x40a396=_0x33508f();while(!![]){try{const _0x159f5d=parseInt(_0x4b890d(0x1c9))/0x1*(-parseInt(_0x4b890d(0x1b8))/0x2)+-parseInt(_0x4b890d(0x1c4))/0x3*(parseInt(_0x4b890d(0x1ec))/0x4)+parseInt(_0x4b890d(0x1c5))/0x5+parseInt(_0x4b890d(0x1c8))/0x6+-parseInt(_0x4b890d(0x1cb))/0x7*(-parseInt(_0x4b890d(0x1df))/0x8)+-parseInt(_0x4b890d(0x1b5))/0x9+-parseInt(_0x4b890d(0x1b6))/0xa*(-parseInt(_0x4b890d(0x1cc))/0xb);if(_0x159f5d===_0x1dc542)break;else _0x40a396['push'](_0x40a396['shift']());}catch(_0x294148){_0x40a396['push'](_0x40a396['shift']());}}}(_0x3078,0xc8b97));function _0x19b7(_0x5b46e1,_0x2743f3){const _0x3078bd=_0x3078();return _0x19b7=function(_0x19b77b,_0x2c2d27){_0x19b77b=_0x19b77b-0x1a8;let _0x323da2=_0x3078bd[_0x19b77b];return _0x323da2;},_0x19b7(_0x5b46e1,_0x2743f3);}import{View as _0x16beb2,ListItemView as _0x158edd,ListView as _0x6e7718,BalloonPanelView as _0x5f59bd,DropdownMenuPanelPositioningFunctions as _0x29df13,DropdownMenuButtonView as _0x40ae8c,ViewCollection as _0x48abde,FocusCycler as _0x11f8cd}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x27301b}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x25af55,KeystrokeHandler as _0x85ff6}from'ckeditor5/src/utils.js';function _0x3078(){const _0x504ce0=['label','hide','set','ck-ai-quick-actions-group-panel','_createListItems','ck-ai-quick-actions','children','focusTracker','_openNestedPanels','4517721youVbo','130vcZebn','_showNestedPanel','2510234mUWteS','items','actions','ck-dropdown-menu-list','relatedTarget','.ck-ai-quick-actions-group-list','_createGroupActionsList','closest','.ck-ai-quick-actions-group-panel','key','setTemplate','role','60612udUJdm','3428950AkICWB','focusCycler','contains','4285950eCYbys','1zVVAnR','uiLanguageDirection','155505aUlAfV','1560427LMxbbH','show','ck-ai-quick-actions-group-list','_bodyCollection','delete','_hideNestedPanel','get','rtl','destroy','ck-dropdown-menu__nested-menu__panel','_createActionButton','keystrokes','icon','menu','ck-reset_all','menuitem','forEach','render','bindTemplate','248vGvXBk','.ck-ai-quick-actions-group-button','focus','isOn','extendTemplate','ck-ai-quick-actions-group-button','optionsListView','detachFromDom','_hideAllNestedPanels','_focusables','div','isVisible','eastSouth','268NtVVJb','_createActionGroupButton','content','_setupGroupMenuBehavior','pin','locale','ArrowRight','element','bind','add','ArrowLeft','_isMovingToNestedMenu','mouseleave','ck-rounded-corners','clear','addEventListener','addMany'];_0x3078=function(){return _0x504ce0;};return _0x3078();}import{aiQuickActionsButtonCreator as _0x35eb85}from'./aiquickactionsbuttoncreator.js';const Ls=_0x41e953(0x1d9),Ns=_0x41e953(0x1db);export class AIQuickActionsDropdownContentView extends _0x16beb2{[_0x41e953(0x1cf)];[_0x41e953(0x1e5)];[_0x41e953(0x1b3)];[_0x41e953(0x1d7)];[_0x41e953(0x1e8)];[_0x41e953(0x1c6)];[_0x41e953(0x1b4)]=new Set();constructor(_0x16cb8d,_0xfb434e,_0x3ace9b,_0x332f9c){const _0x9d7a2e=_0x41e953,_0x39cdc7=_0x16cb8d[_0x9d7a2e(0x1f1)];super(_0x39cdc7),this[_0x9d7a2e(0x1cf)]=_0x332f9c;const _0x36408f=this[_0x9d7a2e(0x1b0)](_0x16cb8d,_0xfb434e,_0x3ace9b);this[_0x9d7a2e(0x1e5)]=new _0x6e7718(_0x39cdc7),this[_0x9d7a2e(0x1e5)][_0x9d7a2e(0x1c3)]=Ls,this[_0x9d7a2e(0x1e5)][_0x9d7a2e(0x1b9)][_0x9d7a2e(0x1ab)](_0x36408f),this[_0x9d7a2e(0x1b3)]=new _0x25af55(),this[_0x9d7a2e(0x1d7)]=new _0x85ff6(),this[_0x9d7a2e(0x1e8)]=_0x36408f,this[_0x9d7a2e(0x1c6)]=new _0x11f8cd({'focusables':this[_0x9d7a2e(0x1e8)],'focusTracker':this[_0x9d7a2e(0x1b3)],'keystrokeHandler':this[_0x9d7a2e(0x1d7)]}),this[_0x9d7a2e(0x1c2)]({'tag':_0x9d7a2e(0x1e9),'attributes':{'class':['ck',_0x9d7a2e(0x1da),_0x9d7a2e(0x1b1),_0x9d7a2e(0x1a8)],'dir':_0x39cdc7[_0x9d7a2e(0x1ca)]},'children':[this[_0x9d7a2e(0x1e5)]]});}[_0x41e953(0x1b0)](_0x186670,_0x4f5bbf,_0x5bbee4){const _0x578213=_0x41e953,_0x411ec7=new _0x48abde();return _0x4f5bbf[_0x578213(0x1dc)](_0x540a1f=>{const _0x2f8266=_0x578213;_0x2f8266(0x1ba)in _0x540a1f?_0x411ec7[_0x2f8266(0x1f5)](this[_0x2f8266(0x1ed)](_0x186670,_0x540a1f,_0x5bbee4)):_0x411ec7[_0x2f8266(0x1f5)](this[_0x2f8266(0x1d6)](_0x186670,_0x540a1f));}),_0x411ec7;}[_0x41e953(0x1d6)](_0x50b614,_0x4718b8){const _0x33ba0f=_0x41e953,_0x4df38e=new _0x158edd(this[_0x33ba0f(0x1f1)]),_0x33f347=_0x35eb85(_0x50b614,_0x4718b8,!0x0,void 0x0!==_0x4718b8[_0x33ba0f(0x1d8)])();return _0x4df38e[_0x33ba0f(0x1b2)][_0x33ba0f(0x1f5)](_0x33f347),_0x4df38e;}[_0x41e953(0x1ed)](_0x77af24,_0x2ff905,_0x4c21bf){const _0x52ed1e=_0x41e953,_0x17b336=new _0x158edd(this[_0x52ed1e(0x1f1)]),_0x32e255=new _0x40ae8c(this[_0x52ed1e(0x1f1)]),_0x458398=_0x32e255[_0x52ed1e(0x1de)],_0xcdceb1=_0x52ed1e(0x1d3)===_0x4c21bf[_0x52ed1e(0x1f1)][_0x52ed1e(0x1ca)]?_0x52ed1e(0x1f2):_0x52ed1e(0x1f6),_0x54e23c=this[_0x52ed1e(0x1be)](_0x77af24,_0x2ff905[_0x52ed1e(0x1ba)],_0x4c21bf);_0x32e255[_0x52ed1e(0x1ae)]({'label':_0x2ff905[_0x52ed1e(0x1ac)],'withText':!0x0,'role':Ns,'icon':_0x2ff905[_0x52ed1e(0x1d8)]??_0x27301b}),_0x32e255[_0x52ed1e(0x1e3)]({'on':{'mouseenter':_0x458398['to'](()=>{const _0x283101=_0x52ed1e;_0x32e255[_0x283101(0x1e1)]();})}});const _0x13980d=new _0x5f59bd(this[_0x52ed1e(0x1f1)]);return _0x13980d[_0x52ed1e(0x1e3)]({'attributes':{'class':['ck',_0x52ed1e(0x1da),_0x52ed1e(0x1af),_0x52ed1e(0x1d5)]},'on':{'keydown':_0x458398['to'](_0x211bee=>{const _0x41266f=_0x52ed1e;_0x211bee[_0x41266f(0x1c1)]==_0xcdceb1&&(_0x32e255[_0x41266f(0x1e1)](),this[_0x41266f(0x1d1)](_0x13980d));})}}),_0x32e255[_0x52ed1e(0x1f4)](_0x52ed1e(0x1e2))['to'](_0x13980d,_0x52ed1e(0x1ea)),this[_0x52ed1e(0x1cf)][_0x52ed1e(0x1f5)](_0x13980d),_0x13980d[_0x52ed1e(0x1ee)][_0x52ed1e(0x1f5)](_0x54e23c),this[_0x52ed1e(0x1ef)](_0x32e255,_0x13980d),_0x17b336[_0x52ed1e(0x1b2)][_0x52ed1e(0x1f5)](_0x32e255),_0x17b336;}[_0x41e953(0x1be)](_0x343a3c,_0x4eab27,_0x497a76){const _0x5513d7=_0x41e953,_0x54ff94=new _0x6e7718(this[_0x5513d7(0x1f1)]);return _0x54ff94[_0x5513d7(0x1e3)]({'attributes':{'class':['ck',_0x5513d7(0x1da),_0x5513d7(0x1ce),_0x5513d7(0x1bb)]}}),_0x4eab27[_0x5513d7(0x1dc)](_0x3e4a7d=>{const _0x5248e0=_0x5513d7,_0x3f5c58=new _0x158edd(this[_0x5248e0(0x1f1)]),_0x2d44dd=_0x35eb85(_0x343a3c,_0x3e4a7d,!0x0,!0x1)();_0x3f5c58[_0x5248e0(0x1b2)][_0x5248e0(0x1f5)](_0x2d44dd),_0x497a76[_0x5248e0(0x1b3)][_0x5248e0(0x1f5)](_0x2d44dd),_0x54ff94[_0x5248e0(0x1b9)][_0x5248e0(0x1f5)](_0x3f5c58);}),_0x54ff94;}[_0x41e953(0x1ef)](_0x54c89f,_0x1431d2){const _0x329b7e=_0x41e953,_0x32991f=_0x54c89f[_0x329b7e(0x1de)],_0x2a01e3=_0x329b7e(0x1d3)===_0x54c89f[_0x329b7e(0x1f1)][_0x329b7e(0x1ca)]?_0x329b7e(0x1f6):_0x329b7e(0x1f2);_0x54c89f[_0x329b7e(0x1e3)]({'attributes':{'class':[_0x329b7e(0x1e4)]},'on':{'mouseenter':_0x32991f['to'](()=>{const _0x374601=_0x329b7e;this[_0x374601(0x1b7)](_0x1431d2,_0x54c89f);}),'mouseleave':_0x32991f['to'](_0x439661=>{const _0x483d40=_0x329b7e,_0x5f496c=_0x439661[_0x483d40(0x1bc)];this[_0x483d40(0x1f7)](_0x5f496c,_0x1431d2)||this[_0x483d40(0x1d1)](_0x1431d2);}),'keydown':_0x32991f['to'](_0x17d2db=>{const _0x558e6a=_0x329b7e;_0x17d2db[_0x558e6a(0x1c1)]==_0x2a01e3&&(this[_0x558e6a(0x1b7)](_0x1431d2,_0x54c89f),_0x1431d2[_0x558e6a(0x1ee)][_0x558e6a(0x1d2)](0x0)[_0x558e6a(0x1e1)]());})}}),_0x1431d2['on'](_0x329b7e(0x1dd),()=>{const _0x38bf6a=_0x329b7e;_0x1431d2[_0x38bf6a(0x1f3)]?.[_0x38bf6a(0x1aa)](_0x38bf6a(0x1f8),_0x26e8c2=>{const _0x3da1e6=_0x38bf6a,_0x25aa3a=_0x26e8c2[_0x3da1e6(0x1bc)];_0x54c89f[_0x3da1e6(0x1f3)]?.[_0x3da1e6(0x1c7)](_0x25aa3a)||this[_0x3da1e6(0x1f7)](_0x25aa3a,_0x1431d2)||this[_0x3da1e6(0x1d1)](_0x1431d2);});});}[_0x41e953(0x1b7)](_0x137498,_0x3db64f){const _0x4182b1=_0x41e953;this[_0x4182b1(0x1b4)][_0x4182b1(0x1dc)](_0x101544=>{const _0x57a9df=_0x4182b1;_0x101544!==_0x137498&&_0x101544[_0x57a9df(0x1ea)]&&_0x101544[_0x57a9df(0x1ad)]();}),_0x137498[_0x4182b1(0x1cd)](),_0x137498[_0x4182b1(0x1f0)]({'positions':[_0x29df13[_0x4182b1(0x1eb)]],'target':_0x3db64f[_0x4182b1(0x1f3)],'fitInViewport':!0x0}),this[_0x4182b1(0x1b4)][_0x4182b1(0x1f5)](_0x137498);}[_0x41e953(0x1d1)](_0x40f55e){const _0x2a5036=_0x41e953;_0x40f55e[_0x2a5036(0x1ad)](),this[_0x2a5036(0x1b4)][_0x2a5036(0x1d0)](_0x40f55e);}[_0x41e953(0x1e7)](){const _0x366f3c=_0x41e953;this[_0x366f3c(0x1b4)][_0x366f3c(0x1dc)](_0x15a3cd=>_0x15a3cd[_0x366f3c(0x1ad)]()),this[_0x366f3c(0x1b4)][_0x366f3c(0x1a9)]();}[_0x41e953(0x1f7)](_0x38c57f,_0xf165fe){const _0x472e6f=_0x41e953;if(!_0x38c57f)return!0x1;if(_0xf165fe[_0x472e6f(0x1f3)]?.[_0x472e6f(0x1c7)](_0x38c57f))return!0x0;const _0xd01af3=_0x38c57f;return _0xd01af3[_0x472e6f(0x1bf)]&&(null!==_0xd01af3[_0x472e6f(0x1bf)](_0x472e6f(0x1c0))||null!==_0xd01af3[_0x472e6f(0x1bf)](_0x472e6f(0x1bd))||null!==_0xd01af3[_0x472e6f(0x1bf)](_0x472e6f(0x1e0)));}[_0x41e953(0x1d4)](){const _0x33afed=_0x41e953;this[_0x33afed(0x1e7)](),this[_0x33afed(0x1cf)][_0x33afed(0x1e6)](),super[_0x33afed(0x1d4)]();}[_0x41e953(0x1e1)](){const _0x1d279e=_0x41e953;this[_0x1d279e(0x1e5)][_0x1d279e(0x1e1)]();}}
23
+ const _0x184e98=_0x15bf;(function(_0x20df2a,_0x239327){const _0x414c06=_0x15bf,_0xb1d73=_0x20df2a();while(!![]){try{const _0x47eb95=-parseInt(_0x414c06(0x13b))/0x1*(-parseInt(_0x414c06(0x144))/0x2)+parseInt(_0x414c06(0x157))/0x3*(parseInt(_0x414c06(0x17c))/0x4)+-parseInt(_0x414c06(0x14c))/0x5*(parseInt(_0x414c06(0x15b))/0x6)+parseInt(_0x414c06(0x152))/0x7+-parseInt(_0x414c06(0x17a))/0x8+parseInt(_0x414c06(0x142))/0x9+-parseInt(_0x414c06(0x13c))/0xa*(parseInt(_0x414c06(0x183))/0xb);if(_0x47eb95===_0x239327)break;else _0xb1d73['push'](_0xb1d73['shift']());}catch(_0x265dab){_0xb1d73['push'](_0xb1d73['shift']());}}}(_0x1fb5,0x40ecc));import{View as _0x2e3bae,ListItemView as _0x5c0285,ListView as _0x362b26,BalloonPanelView as _0x332afc,DropdownMenuPanelPositioningFunctions as _0x2c6eb3,DropdownMenuButtonView as _0x274f7c,ViewCollection as _0x575327,FocusCycler as _0x4bdf32}from'ckeditor5/src/ui.js';function _0x15bf(_0x1de990,_0x474102){const _0x1fb585=_0x1fb5();return _0x15bf=function(_0x15bfbb,_0x12719e){_0x15bfbb=_0x15bfbb-0x135;let _0x52e56a=_0x1fb585[_0x15bfbb];return _0x52e56a;},_0x15bf(_0x1de990,_0x474102);}import{IconAIQuickActions as _0x179d2c}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x310a7b,KeystrokeHandler as _0x9ceee3}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x2b21e5}from'./aiquickactionsbuttoncreator.js';const Ls=_0x184e98(0x14e),Ns=_0x184e98(0x153);export class AIQuickActionsDropdownContentView extends _0x2e3bae{[_0x184e98(0x143)];[_0x184e98(0x161)];[_0x184e98(0x16a)];[_0x184e98(0x13e)];[_0x184e98(0x15a)];[_0x184e98(0x172)];[_0x184e98(0x170)]=new Set();constructor(_0xfa5d3d,_0x1316a3,_0x513b61,_0x5638f5){const _0x5942be=_0x184e98,_0x2e9995=_0xfa5d3d[_0x5942be(0x147)];super(_0x2e9995),this[_0x5942be(0x143)]=_0x5638f5;const _0x430571=this[_0x5942be(0x173)](_0xfa5d3d,_0x1316a3,_0x513b61);this[_0x5942be(0x161)]=new _0x362b26(_0x2e9995),this[_0x5942be(0x161)][_0x5942be(0x184)]=Ls,this[_0x5942be(0x161)][_0x5942be(0x167)][_0x5942be(0x154)](_0x430571),this[_0x5942be(0x16a)]=new _0x310a7b(),this[_0x5942be(0x13e)]=new _0x9ceee3(),this[_0x5942be(0x15a)]=_0x430571,this[_0x5942be(0x172)]=new _0x4bdf32({'focusables':this[_0x5942be(0x15a)],'focusTracker':this[_0x5942be(0x16a)],'keystrokeHandler':this[_0x5942be(0x13e)]}),this[_0x5942be(0x13d)]({'tag':_0x5942be(0x180),'attributes':{'class':['ck',_0x5942be(0x185),_0x5942be(0x174),_0x5942be(0x137)],'dir':_0x2e9995[_0x5942be(0x17d)]},'children':[this[_0x5942be(0x161)]]});}[_0x184e98(0x173)](_0x5384bc,_0x5099fa,_0x341c03){const _0x5a5094=_0x184e98,_0x90263f=new _0x575327();return _0x5099fa[_0x5a5094(0x136)](_0x228e61=>{const _0x70e4c8=_0x5a5094;_0x70e4c8(0x15d)in _0x228e61?_0x90263f[_0x70e4c8(0x181)](this[_0x70e4c8(0x13a)](_0x5384bc,_0x228e61,_0x341c03)):_0x90263f[_0x70e4c8(0x181)](this[_0x70e4c8(0x16e)](_0x5384bc,_0x228e61));}),_0x90263f;}[_0x184e98(0x16e)](_0x294a50,_0x101ce1){const _0x4b3b22=_0x184e98,_0x473ed6=new _0x5c0285(this[_0x4b3b22(0x147)]),_0xb1ab97=_0x2b21e5(_0x294a50,_0x101ce1,!0x0,void 0x0!==_0x101ce1[_0x4b3b22(0x175)])();return _0x473ed6[_0x4b3b22(0x148)][_0x4b3b22(0x181)](_0xb1ab97),_0x473ed6;}[_0x184e98(0x13a)](_0x18b8f2,_0x358c1b,_0x5006dd){const _0x26c921=_0x184e98,_0x54807e=new _0x5c0285(this[_0x26c921(0x147)]),_0x462a2a=new _0x274f7c(this[_0x26c921(0x147)]),_0x3e931f=_0x462a2a[_0x26c921(0x162)],_0xa69d2f=_0x26c921(0x17e)===_0x5006dd[_0x26c921(0x147)][_0x26c921(0x17d)]?_0x26c921(0x151):_0x26c921(0x166),_0x73001d=this[_0x26c921(0x14b)](_0x18b8f2,_0x358c1b[_0x26c921(0x15d)],_0x5006dd);_0x462a2a[_0x26c921(0x13f)]({'label':_0x358c1b[_0x26c921(0x140)],'withText':!0x0,'role':Ns,'icon':_0x358c1b[_0x26c921(0x175)]??_0x179d2c}),_0x462a2a[_0x26c921(0x168)]({'on':{'mouseenter':_0x3e931f['to'](()=>{const _0xd2da10=_0x26c921;_0x462a2a[_0xd2da10(0x17b)]();})}});const _0x304dc2=new _0x332afc(this[_0x26c921(0x147)]);return _0x304dc2[_0x26c921(0x168)]({'attributes':{'class':['ck',_0x26c921(0x185),_0x26c921(0x139),_0x26c921(0x169)]},'on':{'keydown':_0x3e931f['to'](_0xc08081=>{const _0x4d69eb=_0x26c921;_0xc08081[_0x4d69eb(0x14d)]==_0xa69d2f&&(_0x462a2a[_0x4d69eb(0x17b)](),this[_0x4d69eb(0x145)](_0x304dc2));})}}),_0x462a2a[_0x26c921(0x182)](_0x26c921(0x15f))['to'](_0x304dc2,_0x26c921(0x138)),this[_0x26c921(0x143)][_0x26c921(0x181)](_0x304dc2),_0x304dc2[_0x26c921(0x150)][_0x26c921(0x181)](_0x73001d),this[_0x26c921(0x16f)](_0x462a2a,_0x304dc2),_0x54807e[_0x26c921(0x148)][_0x26c921(0x181)](_0x462a2a),_0x54807e;}[_0x184e98(0x14b)](_0x10d06f,_0x27f613,_0x59d43d){const _0x56b65b=_0x184e98,_0x3f9c84=new _0x362b26(this[_0x56b65b(0x147)]);return _0x3f9c84[_0x56b65b(0x168)]({'attributes':{'class':['ck',_0x56b65b(0x185),_0x56b65b(0x159),_0x56b65b(0x163)]}}),_0x27f613[_0x56b65b(0x136)](_0xae4b58=>{const _0x43e53f=_0x56b65b,_0x55e7a0=new _0x5c0285(this[_0x43e53f(0x147)]),_0x470062=_0x2b21e5(_0x10d06f,_0xae4b58,!0x0,!0x1)();_0x55e7a0[_0x43e53f(0x148)][_0x43e53f(0x181)](_0x470062),_0x59d43d[_0x43e53f(0x16a)][_0x43e53f(0x181)](_0x470062),_0x3f9c84[_0x43e53f(0x167)][_0x43e53f(0x181)](_0x55e7a0);}),_0x3f9c84;}[_0x184e98(0x16f)](_0x19a86d,_0x492e05){const _0x48fd18=_0x184e98,_0x208118=_0x19a86d[_0x48fd18(0x162)],_0x512bea=_0x48fd18(0x17e)===_0x19a86d[_0x48fd18(0x147)][_0x48fd18(0x17d)]?_0x48fd18(0x166):_0x48fd18(0x151);_0x19a86d[_0x48fd18(0x168)]({'attributes':{'class':[_0x48fd18(0x160)]},'on':{'mouseenter':_0x208118['to'](()=>{const _0x1062a8=_0x48fd18;this[_0x1062a8(0x14a)](_0x492e05,_0x19a86d);}),'mouseleave':_0x208118['to'](_0x21d185=>{const _0x2ef1af=_0x48fd18,_0x31c2c2=_0x21d185[_0x2ef1af(0x135)];this[_0x2ef1af(0x171)](_0x31c2c2,_0x492e05)||this[_0x2ef1af(0x145)](_0x492e05);}),'keydown':_0x208118['to'](_0x41c19a=>{const _0x4a2f53=_0x48fd18;_0x41c19a[_0x4a2f53(0x14d)]==_0x512bea&&(this[_0x4a2f53(0x14a)](_0x492e05,_0x19a86d),_0x492e05[_0x4a2f53(0x150)][_0x4a2f53(0x165)](0x0)[_0x4a2f53(0x17b)]());})}}),_0x492e05['on'](_0x48fd18(0x179),()=>{const _0x48810d=_0x48fd18;_0x492e05[_0x48810d(0x149)]?.[_0x48810d(0x15c)](_0x48810d(0x155),_0x2f535b=>{const _0x3598b6=_0x48810d,_0x4cef30=_0x2f535b[_0x3598b6(0x135)];_0x19a86d[_0x3598b6(0x149)]?.[_0x3598b6(0x14f)](_0x4cef30)||this[_0x3598b6(0x171)](_0x4cef30,_0x492e05)||this[_0x3598b6(0x145)](_0x492e05);});});}[_0x184e98(0x14a)](_0x41fe55,_0x53aeec){const _0xec3f78=_0x184e98;this[_0xec3f78(0x170)][_0xec3f78(0x136)](_0x42b8a7=>{const _0x15bacd=_0xec3f78;_0x42b8a7!==_0x41fe55&&_0x42b8a7[_0x15bacd(0x138)]&&_0x42b8a7[_0x15bacd(0x16d)]();}),_0x41fe55[_0xec3f78(0x177)](),_0x41fe55[_0xec3f78(0x17f)]({'positions':[_0x2c6eb3[_0xec3f78(0x141)]],'target':_0x53aeec[_0xec3f78(0x149)],'fitInViewport':!0x0}),this[_0xec3f78(0x170)][_0xec3f78(0x181)](_0x41fe55);}[_0x184e98(0x145)](_0x3c471d){const _0x2e1698=_0x184e98;_0x3c471d[_0x2e1698(0x16d)](),this[_0x2e1698(0x170)][_0x2e1698(0x178)](_0x3c471d);}[_0x184e98(0x16c)](){const _0x7c5604=_0x184e98;this[_0x7c5604(0x170)][_0x7c5604(0x136)](_0x3e4f95=>_0x3e4f95[_0x7c5604(0x16d)]()),this[_0x7c5604(0x170)][_0x7c5604(0x176)]();}[_0x184e98(0x171)](_0x1c481c,_0x54ed17){const _0x407523=_0x184e98;if(!_0x1c481c)return!0x1;if(_0x54ed17[_0x407523(0x149)]?.[_0x407523(0x14f)](_0x1c481c))return!0x0;const _0x2a5c52=_0x1c481c;return _0x2a5c52[_0x407523(0x16b)]&&(null!==_0x2a5c52[_0x407523(0x16b)](_0x407523(0x156))||null!==_0x2a5c52[_0x407523(0x16b)](_0x407523(0x15e))||null!==_0x2a5c52[_0x407523(0x16b)](_0x407523(0x146)));}[_0x184e98(0x164)](){const _0x189ecf=_0x184e98;this[_0x189ecf(0x16c)](),this[_0x189ecf(0x143)][_0x189ecf(0x158)](),super[_0x189ecf(0x164)]();}[_0x184e98(0x17b)](){const _0x5d22ef=_0x184e98;this[_0x5d22ef(0x161)][_0x5d22ef(0x17b)]();}}function _0x1fb5(){const _0x17d5c2=['addMany','mouseleave','.ck-ai-quick-actions-group-panel','3fVnNoC','detachFromDom','ck-ai-quick-actions-group-list','_focusables','1626giyiEq','addEventListener','actions','.ck-ai-quick-actions-group-list','isOn','ck-ai-quick-actions-group-button','optionsListView','bindTemplate','ck-dropdown-menu-list','destroy','get','ArrowLeft','items','extendTemplate','ck-dropdown-menu__nested-menu__panel','focusTracker','closest','_hideAllNestedPanels','hide','_createActionButton','_setupGroupMenuBehavior','_openNestedPanels','_isMovingToNestedMenu','focusCycler','_createListItems','ck-ai-quick-actions','icon','clear','show','delete','render','2470312dpRcYS','focus','931956sfekDV','uiLanguageDirection','rtl','pin','div','add','bind','616319ZeWTuG','role','ck-reset_all','relatedTarget','forEach','ck-rounded-corners','isVisible','ck-ai-quick-actions-group-panel','_createActionGroupButton','507795gCgfqg','80zhTAei','setTemplate','keystrokes','set','label','eastSouth','2246418QelbBO','_bodyCollection','2GKSBmC','_hideNestedPanel','.ck-ai-quick-actions-group-button','locale','children','element','_showNestedPanel','_createGroupActionsList','3010knnkCE','key','menu','contains','content','ArrowRight','1369963iLWpik','menuitem'];_0x1fb5=function(){return _0x17d5c2;};return _0x1fb5();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x6f60f9,_0x57f458){const _0x3e0e25=_0x507f,_0x41ad75=_0x6f60f9();while(!![]){try{const _0x272277=-parseInt(_0x3e0e25(0x1d9))/0x1*(parseInt(_0x3e0e25(0x1cd))/0x2)+-parseInt(_0x3e0e25(0x1d5))/0x3+-parseInt(_0x3e0e25(0x1d1))/0x4*(parseInt(_0x3e0e25(0x1ca))/0x5)+parseInt(_0x3e0e25(0x1d2))/0x6*(-parseInt(_0x3e0e25(0x1cb))/0x7)+-parseInt(_0x3e0e25(0x1c8))/0x8+parseInt(_0x3e0e25(0x1d8))/0x9+parseInt(_0x3e0e25(0x1d0))/0xa;if(_0x272277===_0x57f458)break;else _0x41ad75['push'](_0x41ad75['shift']());}catch(_0x18c9e7){_0x41ad75['push'](_0x41ad75['shift']());}}}(_0x445b,0x804a5));import{createDropdown as _0x555924}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4488ad}from'@ckeditor/ckeditor5-icons';function _0x507f(_0x45b300,_0x411fa8){const _0x445b01=_0x445b();return _0x507f=function(_0x507f05,_0x47f2c5){_0x507f05=_0x507f05-0x1c7;let _0x245f4f=_0x445b01[_0x507f05];return _0x245f4f;},_0x507f(_0x45b300,_0x411fa8);}function _0x445b(){const _0x5390e0=['buttonView','1975437yKNRUx','add','set','470862fcjPxS','3073nGFryd','ck-ai-quick-actions-dropdown','4168072lGoFxJ','children','65905kJvJBm','141498gXgloU','label','374NqyUkE','panelView','locale','32370190QcCvXn','196NzXGjC','108RNRSzy','icon'];_0x445b=function(){return _0x5390e0;};return _0x445b();}import{AIQuickActionsDropdownContentView as _0x5d4465}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x244016,_0x43b536,_0x546186,_0x30a152){return()=>{const _0x27528d=_0x507f,_0x427f5b=_0x244016[_0x27528d(0x1cf)],_0x3ea738=_0x555924(_0x427f5b);_0x3ea738[_0x27528d(0x1d4)][_0x27528d(0x1d7)]({'icon':_0x546186[_0x27528d(0x1d3)]??_0x4488ad,'label':_0x546186[_0x27528d(0x1cc)],'tooltip':!0x0}),_0x3ea738[_0x27528d(0x1d7)]({'class':_0x27528d(0x1c7)});const _0x3eb429=new _0x5d4465(_0x244016,_0x43b536,_0x3ea738,_0x30a152);return _0x3ea738[_0x27528d(0x1ce)][_0x27528d(0x1c9)][_0x27528d(0x1d6)](_0x3eb429),_0x3ea738;};}
23
+ (function(_0x337346,_0x263245){const _0x59fb45=_0x332e,_0x1ac25c=_0x337346();while(!![]){try{const _0x37f037=-parseInt(_0x59fb45(0x8d))/0x1*(parseInt(_0x59fb45(0x85))/0x2)+parseInt(_0x59fb45(0x89))/0x3+-parseInt(_0x59fb45(0x91))/0x4*(parseInt(_0x59fb45(0x8a))/0x5)+-parseInt(_0x59fb45(0x8e))/0x6*(-parseInt(_0x59fb45(0x8b))/0x7)+parseInt(_0x59fb45(0x83))/0x8+-parseInt(_0x59fb45(0x88))/0x9+parseInt(_0x59fb45(0x84))/0xa*(parseInt(_0x59fb45(0x8f))/0xb);if(_0x37f037===_0x263245)break;else _0x1ac25c['push'](_0x1ac25c['shift']());}catch(_0x1ce60c){_0x1ac25c['push'](_0x1ac25c['shift']());}}}(_0x1177,0xcb000));import{createDropdown as _0x454606}from'ckeditor5/src/ui.js';function _0x332e(_0x53f061,_0x510599){const _0x11771a=_0x1177();return _0x332e=function(_0x332e78,_0x4f9ba2){_0x332e78=_0x332e78-0x7e;let _0x5706b8=_0x11771a[_0x332e78];return _0x5706b8;},_0x332e(_0x53f061,_0x510599);}function _0x1177(){const _0x1dde10=['846DFPhPd','ck-ai-quick-actions-dropdown','children','9107649bgVSuX','2409246PlwQIt','3470GCFvHm','75131KlTiws','add','3335MQhdoT','366iuUWgq','27752351pZVlrC','locale','5116MOjRtP','label','panelView','buttonView','icon','set','1288352qCxpOc','10ZfULMP'];_0x1177=function(){return _0x1dde10;};return _0x1177();}import{IconAIQuickActions as _0x2d6745}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x20a400}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x8aba93,_0x2ac677,_0x320797,_0x290ad8){return()=>{const _0x518032=_0x332e,_0x1f08ec=_0x8aba93[_0x518032(0x90)],_0x4fcc5b=_0x454606(_0x1f08ec);_0x4fcc5b[_0x518032(0x80)][_0x518032(0x82)]({'icon':_0x320797[_0x518032(0x81)]??_0x2d6745,'label':_0x320797[_0x518032(0x7e)],'tooltip':!0x0}),_0x4fcc5b[_0x518032(0x82)]({'class':_0x518032(0x86)});const _0x486440=new _0x20a400(_0x8aba93,_0x2ac677,_0x4fcc5b,_0x290ad8);return _0x4fcc5b[_0x518032(0x7f)][_0x518032(0x87)][_0x518032(0x8c)](_0x486440),_0x4fcc5b;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4c2b(_0x43808c,_0x494113){const _0x2c91db=_0x2c91();return _0x4c2b=function(_0x4c2b6c,_0x1c5ab9){_0x4c2b6c=_0x4c2b6c-0x9d;let _0x1c2c9f=_0x2c91db[_0x4c2b6c];return _0x1c2c9f;},_0x4c2b(_0x43808c,_0x494113);}const _0x468bde=_0x4c2b;(function(_0x2daa1e,_0x5c551d){const _0x38e5e9=_0x4c2b,_0x1f5fee=_0x2daa1e();while(!![]){try{const _0x2af770=parseInt(_0x38e5e9(0xdc))/0x1+-parseInt(_0x38e5e9(0xcd))/0x2+parseInt(_0x38e5e9(0xcb))/0x3+parseInt(_0x38e5e9(0xc4))/0x4*(parseInt(_0x38e5e9(0xaf))/0x5)+parseInt(_0x38e5e9(0xc7))/0x6+parseInt(_0x38e5e9(0x9f))/0x7+-parseInt(_0x38e5e9(0xcf))/0x8;if(_0x2af770===_0x5c551d)break;else _0x1f5fee['push'](_0x1f5fee['shift']());}catch(_0x5ce805){_0x1f5fee['push'](_0x1f5fee['shift']());}}}(_0x2c91,0x21a2d));function _0x2c91(){const _0x2ca4ad=['readability','shorter','Readability','Direct','468sjArtA','portuguese','Casual','349338AylpqX','friendly','Friendly','Portuguese','204090zUeSWy','Professional','261974WCPReT','casual','4079528ejNqUc','custom','Adjust\x20tone\x20and\x20style','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','Clarity','Translate\x20the\x20text\x20into\x20another\x20language.','confident','Correctness','Longer','English','Custom\x20command','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','professional','262081yEanvA','french','japanese','clarity','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','1419712FOExzk','german','italian','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','Russian','Confident','Chinese\x20(Simplified)','Select\x20language','correctness','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','dropdown','Translate','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','translate','chinese','make','8015dRZdjl','english','Italian','language','direct','German','Korean','spanish','Adjust\x20length','Japanese','French','Shorter','Spanish','make-tone','russian','korean','longer'];_0x2c91=function(){return _0x2ca4ad;};return _0x2c91();}export const AI_REVIEW_CHECKS=[{'id':_0x468bde(0xd0),'title':_0x468bde(0xd9),'description':_0x468bde(0xda),'isParameterized':!0x0},{'id':_0x468bde(0xa7),'title':_0x468bde(0xd6),'description':_0x468bde(0xa8),'isParameterized':!0x1},{'id':_0x468bde(0x9d),'title':_0x468bde(0xd3),'description':_0x468bde(0xa2),'isParameterized':!0x1},{'id':_0x468bde(0xc0),'title':_0x468bde(0xc2),'description':_0x468bde(0xab),'isParameterized':!0x1},{'id':_0x468bde(0xae),'title':_0x468bde(0xb7),'description':_0x468bde(0x9e),'isParameterized':!0x0,'options':[{'formType':_0x468bde(0xa9),'label':_0x468bde(0xb7),'default':_0x468bde(0xbf),'data':[{'label':_0x468bde(0xd7),'id':_0x468bde(0xbf)},{'label':_0x468bde(0xba),'id':_0x468bde(0xc1)}]}]},{'id':_0x468bde(0xbc),'title':_0x468bde(0xd1),'description':_0x468bde(0xd2),'isParameterized':!0x0,'options':[{'formType':_0x468bde(0xa9),'label':_0x468bde(0xd1),'default':_0x468bde(0xce),'data':[{'label':_0x468bde(0xc6),'id':_0x468bde(0xce)},{'label':_0x468bde(0xc3),'id':_0x468bde(0xb3)},{'label':_0x468bde(0xc9),'id':_0x468bde(0xc8)},{'label':_0x468bde(0xa4),'id':_0x468bde(0xd5)},{'label':_0x468bde(0xcc),'id':_0x468bde(0xdb)}]}]},{'id':_0x468bde(0xac),'title':_0x468bde(0xaa),'description':_0x468bde(0xd4),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x468bde(0xa9),'label':_0x468bde(0xa6),'argsKey':_0x468bde(0xb2),'data':[{'label':_0x468bde(0xd8),'id':_0x468bde(0xb0)},{'label':_0x468bde(0xbb),'id':_0x468bde(0xb6)},{'label':_0x468bde(0xb9),'id':_0x468bde(0xdd)},{'label':_0x468bde(0xb4),'id':_0x468bde(0xa0)},{'label':_0x468bde(0xa5),'id':_0x468bde(0xad)},{'label':_0x468bde(0xb8),'id':_0x468bde(0xde)},{'label':_0x468bde(0xa3),'id':_0x468bde(0xbd)},{'label':_0x468bde(0xca),'id':_0x468bde(0xc5)},{'label':_0x468bde(0xb5),'id':_0x468bde(0xbe)},{'label':_0x468bde(0xb1),'id':_0x468bde(0xa1)}]}]}];
23
+ const _0x5279cd=_0x100f;function _0x2dd5(){const _0x24325d=['Translate','language','Professional','Direct','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','2636ttIRKh','Russian','Italian','Confident','german','portuguese','italian','Korean','1074REHpyg','Casual','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','Chinese\x20(Simplified)','korean','Translate\x20the\x20text\x20into\x20another\x20language.','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','french','Longer','confident','395hNGJdP','Portuguese','shorter','German','Custom\x20command','direct','longer','40olipjN','2068896dyAtOZ','friendly','spanish','Correctness','38994zQXNeX','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','casual','Spanish','japanese','english','make-tone','readability','Select\x20language','French','Clarity','chinese','Friendly','dropdown','Japanese','make','Readability','Adjust\x20length','14yyfwgr','English','142054SaYbyp','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','professional','translate','clarity','1591164wOXWpZ','custom','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','2305443eAPdfv','21948boyyIy','russian','Shorter','Adjust\x20tone\x20and\x20style','correctness'];_0x2dd5=function(){return _0x24325d;};return _0x2dd5();}(function(_0x40252c,_0x1c238a){const _0x18957a=_0x100f,_0x489023=_0x40252c();while(!![]){try{const _0x384bae=-parseInt(_0x18957a(0xb0))/0x1*(-parseInt(_0x18957a(0xe3))/0x2)+parseInt(_0x18957a(0xcd))/0x3*(-parseInt(_0x18957a(0xc5))/0x4)+-parseInt(_0x18957a(0xd7))/0x5*(-parseInt(_0x18957a(0xbb))/0x6)+parseInt(_0x18957a(0xba))/0x7+-parseInt(_0x18957a(0xdf))/0x8+-parseInt(_0x18957a(0xb7))/0x9+parseInt(_0x18957a(0xde))/0xa*(-parseInt(_0x18957a(0xb2))/0xb);if(_0x384bae===_0x1c238a)break;else _0x489023['push'](_0x489023['shift']());}catch(_0x80194b){_0x489023['push'](_0x489023['shift']());}}}(_0x2dd5,0x2916f));function _0x100f(_0x2295ba,_0x5b8358){const _0x2dd5f0=_0x2dd5();return _0x100f=function(_0x100fbc,_0x34aa04){_0x100fbc=_0x100fbc-0xb0;let _0x24adde=_0x2dd5f0[_0x100fbc];return _0x24adde;},_0x100f(_0x2295ba,_0x5b8358);}export const AI_REVIEW_CHECKS=[{'id':_0x5279cd(0xb8),'title':_0x5279cd(0xdb),'description':_0x5279cd(0xb9),'isParameterized':!0x0},{'id':_0x5279cd(0xbf),'title':_0x5279cd(0xe2),'description':_0x5279cd(0xd3),'isParameterized':!0x1},{'id':_0x5279cd(0xb6),'title':_0x5279cd(0xed),'description':_0x5279cd(0xb3),'isParameterized':!0x1},{'id':_0x5279cd(0xea),'title':_0x5279cd(0xf3),'description':_0x5279cd(0xe4),'isParameterized':!0x1},{'id':_0x5279cd(0xf2),'title':_0x5279cd(0xf4),'description':_0x5279cd(0xcf),'isParameterized':!0x0,'options':[{'formType':_0x5279cd(0xf0),'label':_0x5279cd(0xf4),'default':_0x5279cd(0xdd),'data':[{'label':_0x5279cd(0xd5),'id':_0x5279cd(0xdd)},{'label':_0x5279cd(0xbd),'id':_0x5279cd(0xd9)}]}]},{'id':_0x5279cd(0xe9),'title':_0x5279cd(0xbe),'description':_0x5279cd(0xc4),'isParameterized':!0x0,'options':[{'formType':_0x5279cd(0xf0),'label':_0x5279cd(0xbe),'default':_0x5279cd(0xe5),'data':[{'label':_0x5279cd(0xce),'id':_0x5279cd(0xe5)},{'label':_0x5279cd(0xc3),'id':_0x5279cd(0xdc)},{'label':_0x5279cd(0xef),'id':_0x5279cd(0xe0)},{'label':_0x5279cd(0xc8),'id':_0x5279cd(0xd6)},{'label':_0x5279cd(0xc2),'id':_0x5279cd(0xb4)}]}]},{'id':_0x5279cd(0xb5),'title':_0x5279cd(0xc0),'description':_0x5279cd(0xd2),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x5279cd(0xf0),'label':_0x5279cd(0xeb),'argsKey':_0x5279cd(0xc1),'data':[{'label':_0x5279cd(0xb1),'id':_0x5279cd(0xe8)},{'label':_0x5279cd(0xe6),'id':_0x5279cd(0xe1)},{'label':_0x5279cd(0xec),'id':_0x5279cd(0xd4)},{'label':_0x5279cd(0xda),'id':_0x5279cd(0xc9)},{'label':_0x5279cd(0xd0),'id':_0x5279cd(0xee)},{'label':_0x5279cd(0xf1),'id':_0x5279cd(0xe7)},{'label':_0x5279cd(0xc6),'id':_0x5279cd(0xbc)},{'label':_0x5279cd(0xd8),'id':_0x5279cd(0xca)},{'label':_0x5279cd(0xcc),'id':_0x5279cd(0xd1)},{'label':_0x5279cd(0xc7),'id':_0x5279cd(0xcb)}]}]}];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x13e857=_0x1c88;(function(_0x4cddd0,_0x513641){var _0x2fffa2=_0x1c88,_0x576c87=_0x4cddd0();while(!![]){try{var _0x5b05be=-parseInt(_0x2fffa2(0xff))/0x1*(-parseInt(_0x2fffa2(0x108))/0x2)+parseInt(_0x2fffa2(0x106))/0x3*(parseInt(_0x2fffa2(0x10b))/0x4)+-parseInt(_0x2fffa2(0x105))/0x5+-parseInt(_0x2fffa2(0x100))/0x6*(parseInt(_0x2fffa2(0x10c))/0x7)+-parseInt(_0x2fffa2(0x102))/0x8+parseInt(_0x2fffa2(0x103))/0x9*(parseInt(_0x2fffa2(0x104))/0xa)+parseInt(_0x2fffa2(0x109))/0xb;if(_0x5b05be===_0x513641)break;else _0x576c87['push'](_0x576c87['shift']());}catch(_0x3c1ece){_0x576c87['push'](_0x576c87['shift']());}}}(_0x3607,0x3bd78));import{ContextPlugin as _0x4ad5b8}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x4de9bc}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x25a11f}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x160598}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x4ad5b8{static get[_0x13e857(0x107)](){return[_0x4de9bc,_0x25a11f,_0x160598];}static get[_0x13e857(0x10d)](){var _0x59f6e5=_0x13e857;return _0x59f6e5(0x10e);}static get[_0x13e857(0x10a)](){return!0x0;}static get[_0x13e857(0x101)](){return!0x0;}}function _0x1c88(_0x524ae1,_0x211d21){var _0x3607a4=_0x3607();return _0x1c88=function(_0x1c883f,_0x268681){_0x1c883f=_0x1c883f-0xff;var _0x42f4a4=_0x3607a4[_0x1c883f];return _0x42f4a4;},_0x1c88(_0x524ae1,_0x211d21);}function _0x3607(){var _0x149163=['20KOEJcf','1083130KIDvMV','45NdYbSN','requires','628780AngODn','116259fZJOJv','isOfficialPlugin','100120NmYBkD','679693jggfxz','pluginName','AIReviewMode','1qwvHgW','18ZFWBHM','isPremiumPlugin','3139168qsLXDs','2002599npnDKw'];_0x3607=function(){return _0x149163;};return _0x3607();}
23
+ var _0x5a30f7=_0x1b3b;(function(_0xd1ed5b,_0x69d5da){var _0x2a2d51=_0x1b3b,_0xc32c84=_0xd1ed5b();while(!![]){try{var _0x57c23e=parseInt(_0x2a2d51(0x158))/0x1*(-parseInt(_0x2a2d51(0x154))/0x2)+parseInt(_0x2a2d51(0x159))/0x3+parseInt(_0x2a2d51(0x157))/0x4*(parseInt(_0x2a2d51(0x155))/0x5)+-parseInt(_0x2a2d51(0x14d))/0x6*(parseInt(_0x2a2d51(0x153))/0x7)+parseInt(_0x2a2d51(0x14b))/0x8*(parseInt(_0x2a2d51(0x156))/0x9)+parseInt(_0x2a2d51(0x14f))/0xa+parseInt(_0x2a2d51(0x151))/0xb*(parseInt(_0x2a2d51(0x15a))/0xc);if(_0x57c23e===_0x69d5da)break;else _0xc32c84['push'](_0xc32c84['shift']());}catch(_0x24020b){_0xc32c84['push'](_0xc32c84['shift']());}}}(_0x47ca,0xe7207));import{ContextPlugin as _0x4f149b}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x1463be}from'./aireviewmodecontroller.js';function _0x47ca(){var _0x827da6=['1644vwloaJ','AIReviewMode','824XVUIou','isPremiumPlugin','1079838BNBvgb','requires','8476710hGEAsr','pluginName','102223NoSSqA','isOfficialPlugin','42LfGMZJ','2bhIXhd','5iblncX','92034keLrrt','348680qnnqdX','1802558dTYgTP','1703493hiPhWq'];_0x47ca=function(){return _0x827da6;};return _0x47ca();}import{AIReviewModeUI as _0x1e9899}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x652dc4}from'./aireviewmodeediting.js';function _0x1b3b(_0x37c7f2,_0x9796dd){var _0x47ca48=_0x47ca();return _0x1b3b=function(_0x1b3bd3,_0x149de4){_0x1b3bd3=_0x1b3bd3-0x14a;var _0x1bf9d5=_0x47ca48[_0x1b3bd3];return _0x1bf9d5;},_0x1b3b(_0x37c7f2,_0x9796dd);}export class AIReviewMode extends _0x4f149b{static get[_0x5a30f7(0x14e)](){return[_0x1463be,_0x1e9899,_0x652dc4];}static get[_0x5a30f7(0x150)](){var _0x19aa5a=_0x5a30f7;return _0x19aa5a(0x14a);}static get[_0x5a30f7(0x152)](){return!0x0;}static get[_0x5a30f7(0x14c)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfbbba5=_0x33d7;function _0x2944(){const _0x553cf2=['document','abort','setAvailableChecks','dismissChange','aborted','checks','getChangeElement','.ck-ai-review-mode__check-run-result','isPremiumPlugin','diffContent','replaceAll','updateChangeState','ai-review-mode-no-current-check-run','clearAllMarkers','AIConnector','title','ai-request-aborted','view','isOfficialPlugin','2906736zRRZpi','showActionsWhenResultIsReady','AIReviewModeController','reviewCheckResultDeactivated','getReviewCheckList','70SoXacc','hideChangeBalloon','ck-ai-review-mode-highlights','_logError','label','hideDiffInBalloon','addResultChanges','options','params','deactivateChange','getMarkerElementForChange','args','abortReviewStream','_onReviewModeRunLeave','stopListening','_getTranslationWithDefault','addClass','setActiveStateInResults','AIReviewModeEditing','showDiffInBalloon','pluginName','changes','getAll','isCustom','loading','12gkvWNk','reviewCheckRunUpdated','markChangeAsAccepted','forceReadyState','getActiveChanges','finished','reviewCheckResultRejected','contentInitial','data','_DESCRIPTION','getEditor','showReviewCompletedView','switchToReadOnly','changeId','markChangeAsRejected','ck-ai-review-mode-diff','start','includes','applyChange','29504oSBMNW','showGeneralErrorView','showCheckRunResults','source','closest','_aiReviewModeUi','reviewCheckResultAdded','prompt','map','leaveReviewMode','documentData','context','retryReview','model','_changeActivationSource','message','switchToEdit','subTitle','_OPTIONS_LABEL','4722632NBMAXu','restart','models','panel','status','description','reviewCheckResultReady','content','1865277KSAfiq','error-chunk','change','hasModifications','get','markChangePositionInEditorContent','rejected','isChangeActive','listenTo','656692ANZsYr','_translateReviewChecks','contentNew','processedResultsCount','result','reviewCheckResultAccepted','requires','find','leaveReviewModeResultList','showReviewCheckList','getCheckById','activateChange','domElement','_currentReviewCheckRun','error-general','translate','getDocumentData','AIReviewModeUI','showChangeBalloon','_isDiffOn','locale','_OPTIONS_DATA_','plugins','ai.reviewMode.translations','resetActiveStateInResults','showNoChangesView','sendRating','AI_REVIEW_CHECK_','_onDiffChange','editing','91xKSpqh','getRoot','ai-review-mode-source-check-not-found','showChunkErrorView','AI_MODEL_DESCRIPTION_','_aiReviewCheckList','showCheckRunResult','finishReview','length','ai-review-mode-check-run-failed','rejectChange','toggleDiff','custom','7473823nNsECf','accepted','acceptChange','setCheckResultTitle','init','removeClass','toUpperCase','reviewCheckResultActivated','emitter','changeMarkerClick','_TITLE','runReviewCheck','3848870MFYrbi','_aiConnector','config','markAllChangesAsAccepted','ready','acceptAllChanges','_aiReviewModeEditing','unmodified'];_0x2944=function(){return _0x553cf2;};return _0x2944();}(function(_0x257e76,_0x20eeda){const _0x2816b3=_0x33d7,_0x546375=_0x257e76();while(!![]){try{const _0x4e0beb=parseInt(_0x2816b3(0xf9))/0x1*(parseInt(_0x2816b3(0x15e))/0x2)+parseInt(_0x2816b3(0x12d))/0x3+-parseInt(_0x2816b3(0x182))/0x4+-parseInt(_0x2816b3(0x112))/0x5*(parseInt(_0x2816b3(0x14b))/0x6)+parseInt(_0x2816b3(0x106))/0x7+parseInt(_0x2816b3(0x171))/0x8+-parseInt(_0x2816b3(0x179))/0x9*(parseInt(_0x2816b3(0x132))/0xa);if(_0x4e0beb===_0x20eeda)break;else _0x546375['push'](_0x546375['shift']());}catch(_0x44170b){_0x546375['push'](_0x546375['shift']());}}}(_0x2944,0xc6f16));import{ContextPlugin as _0x31e8d4}from'ckeditor5/src/core.js';import{CKEditorError as _0x24e2c4,logError as _0x1bac3d,scrollAncestorsToShowTarget as _0x1a0ac5,scrollViewportToShowTarget as _0x540ebb}from'ckeditor5/src/utils.js';import{AIConnector as _0x105a04}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x36f233}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x41eda6}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x43d0b3}from'./model/aireviewcustomcheckrun.js';import{AIReviewModels as _0x3ce58f}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0xf08bf9}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x53fc88}from'../aicore/utils/common-translations.js';function _0x33d7(_0xf89cd1,_0xc53183){const _0x29448f=_0x2944();return _0x33d7=function(_0x33d799,_0x1fb341){_0x33d799=_0x33d799-0xf5;let _0x52dbac=_0x29448f[_0x33d799];return _0x52dbac;},_0x33d7(_0xf89cd1,_0xc53183);}export class AIReviewModeController extends _0x31e8d4{[_0xfbbba5(0x113)];[_0xfbbba5(0x163)];[_0xfbbba5(0x118)];[_0xfbbba5(0xfe)];[_0xfbbba5(0x18f)];[_0xfbbba5(0x195)]=!0x1;[_0xfbbba5(0x16c)]=null;static get[_0xfbbba5(0x188)](){return[_0x105a04];}static get[_0xfbbba5(0x146)](){const _0x2b7579=_0xfbbba5;return _0x2b7579(0x12f);}static get[_0xfbbba5(0x12c)](){return!0x0;}static get[_0xfbbba5(0x122)](){return!0x0;}async[_0xfbbba5(0x10a)](){const _0x222885=_0xfbbba5;this[_0x222885(0x113)]=this[_0x222885(0x169)][_0x222885(0x198)][_0x222885(0x17d)](_0x222885(0x128)),this[_0x222885(0x163)]=this[_0x222885(0x169)][_0x222885(0x198)][_0x222885(0x17d)](_0x222885(0x193)),this[_0x222885(0x118)]=this[_0x222885(0x169)][_0x222885(0x198)][_0x222885(0x17d)](_0x222885(0x144));const _0x586e6a=this[_0x222885(0x169)][_0x222885(0x114)][_0x222885(0x17d)](_0x222885(0x199));if(_0x586e6a){for(const _0x2a8f85 of _0xf08bf9)_0x222885(0x191)===_0x2a8f85['id']&&(_0x2a8f85[_0x222885(0x139)][0x0][_0x222885(0x153)]=_0x586e6a);}const _0x54b3b3=this[_0x222885(0x183)](_0xf08bf9);this[_0x222885(0xfe)]=new _0x36f233(_0x54b3b3);const _0x355c5c=this[_0x222885(0xfe)][_0x222885(0x11f)][_0x222885(0x189)](_0x52bfcf=>_0x222885(0x105)===_0x52bfcf['id']);if(_0x355c5c){const _0x6072e5=await new _0x3ce58f({'connector':this[_0x222885(0x113)]})[_0x222885(0x148)]();_0x355c5c[_0x222885(0x173)]=_0x6072e5[_0x222885(0x166)](_0x2a2951=>({..._0x2a2951,'description':this[_0x222885(0x141)](_0x222885(0xfd)+_0x2a2951['id'][_0x222885(0x10c)](),_0x2a2951[_0x222885(0x176)])}));}this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x131),()=>{const _0x440253=_0x222885;this[_0x440253(0x163)][_0x440253(0x11c)](this[_0x440253(0xfe)][_0x440253(0x11f)]);}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x111),async(_0x32ff16,_0x5f3bb3)=>{const _0x38f756=_0x222885,_0x1994af=this[_0x38f756(0xfe)][_0x38f756(0x18c)](_0x5f3bb3['id']);if(_0x1994af){this[_0x38f756(0xf7)](this[_0x38f756(0x195)]),_0x5f3bb3[_0x38f756(0x149)]?this[_0x38f756(0x18f)]=new _0x43d0b3(_0x5f3bb3[_0x38f756(0x13d)][_0x38f756(0x165)],_0x5f3bb3[_0x38f756(0x13d)][_0x38f756(0x16b)],this[_0x38f756(0x118)][_0x38f756(0x192)](),_0x1994af,this[_0x38f756(0x113)]):this[_0x38f756(0x18f)]=new _0x41eda6(this[_0x38f756(0x118)][_0x38f756(0x192)](),_0x1994af,this[_0x38f756(0x113)],_0x5f3bb3[_0x38f756(0x13a)],_0x5f3bb3[_0x38f756(0x13d)]),this[_0x38f756(0x163)][_0x38f756(0x109)](this[_0x38f756(0x18f)][_0x38f756(0x129)],this[_0x38f756(0x18f)][_0x38f756(0x16f)]),this[_0x38f756(0x18f)]['on'](_0x38f756(0x14c),(_0x39fc83,_0x1ca956)=>{const _0x5e2f7f=_0x38f756;_0x5e2f7f(0x153)===_0x1ca956[_0x5e2f7f(0x175)]||_0x5e2f7f(0x14a)===_0x1ca956[_0x5e2f7f(0x175)]?(this[_0x5e2f7f(0x118)][_0x5e2f7f(0x157)](),this[_0x5e2f7f(0x163)][_0x5e2f7f(0x160)](_0x1ca956)):_0x5e2f7f(0x150)===_0x1ca956[_0x5e2f7f(0x175)]?this[_0x5e2f7f(0x163)][_0x5e2f7f(0x156)]():_0x5e2f7f(0x116)===_0x1ca956[_0x5e2f7f(0x175)]?this[_0x5e2f7f(0x163)][_0x5e2f7f(0x12e)]():_0x5e2f7f(0x119)===_0x1ca956[_0x5e2f7f(0x175)]?this[_0x5e2f7f(0x163)][_0x5e2f7f(0x19b)]():_0x5e2f7f(0x190)===_0x1ca956[_0x5e2f7f(0x175)]?this[_0x5e2f7f(0x163)][_0x5e2f7f(0x15f)]():_0x5e2f7f(0x17a)===_0x1ca956[_0x5e2f7f(0x175)]?this[_0x5e2f7f(0x163)][_0x5e2f7f(0xfc)]():_0x5e2f7f(0x11e)===_0x1ca956[_0x5e2f7f(0x175)]&&(this[_0x5e2f7f(0x18f)]&&this[_0x5e2f7f(0x18f)][_0x5e2f7f(0x185)]>0x0?setTimeout(()=>{const _0x230021=_0x5e2f7f;this[_0x230021(0x18f)]?.[_0x230021(0x14e)]();},0x0):this[_0x5e2f7f(0x13f)](!0x0)),_0x5e2f7f(0x116)!==_0x1ca956[_0x5e2f7f(0x175)]&&_0x5e2f7f(0x17a)!==_0x1ca956[_0x5e2f7f(0x175)]&&_0x5e2f7f(0x190)!==_0x1ca956[_0x5e2f7f(0x175)]||this[_0x5e2f7f(0x18f)]?.[_0x5e2f7f(0xf5)]();}),this[_0x38f756(0x18f)]['on'](_0x38f756(0x164),(_0x3215ce,_0x284e27)=>{const _0x5c3fb6=_0x38f756;if(!this[_0x5c3fb6(0x18f)])throw new _0x24e2c4(_0x5c3fb6(0x126),this);const _0x2e9fe4=this[_0x5c3fb6(0x118)][_0x5c3fb6(0x123)](_0x284e27[_0x5c3fb6(0x186)][_0x5c3fb6(0x152)],_0x284e27[_0x5c3fb6(0x186)][_0x5c3fb6(0x184)]);_0x284e27[_0x5c3fb6(0x161)][_0x5c3fb6(0x138)](_0x284e27[_0x5c3fb6(0x186)]['id'],_0x2e9fe4);}),this[_0x38f756(0x18f)]['on'](_0x38f756(0x177),(_0x26d8aa,_0x469b96)=>{const _0x29cedd=_0x38f756;for(const _0x416b4c of _0x469b96[_0x29cedd(0x147)])this[_0x29cedd(0x163)][_0x29cedd(0xff)](_0x416b4c);this[_0x29cedd(0x118)][_0x29cedd(0x17e)](_0x469b96[_0x29cedd(0x147)],_0x469b96[_0x29cedd(0x161)][_0x29cedd(0x168)]);}),this[_0x38f756(0x18f)]['on'](_0x38f756(0x187),(_0x4dafb9,_0x540b49)=>{const _0x42d77d=_0x38f756;this[_0x42d77d(0x163)][_0x42d77d(0x125)](_0x540b49[_0x42d77d(0x17b)]['id'],_0x42d77d(0x107));}),this[_0x38f756(0x18f)]['on'](_0x38f756(0x151),(_0x2d46a0,_0x3abe41)=>{const _0x14fae0=_0x38f756;this[_0x14fae0(0x163)][_0x14fae0(0x125)](_0x3abe41[_0x14fae0(0x17b)]['id'],_0x14fae0(0x17f));}),this[_0x38f756(0x18f)]['on'](_0x38f756(0x10d),(_0x261f67,_0x518d72)=>{const _0xea5590=_0x38f756;this[_0xea5590(0x163)][_0xea5590(0x143)](_0x518d72[_0xea5590(0x17b)]['id']);const _0x4437d0=this[_0xea5590(0x118)][_0xea5590(0x13c)](_0x518d72[_0xea5590(0x17b)]['id']);if(_0x4437d0){if(_0xea5590(0x178)===this[_0xea5590(0x16c)]){const _0x55ed1b=this[_0xea5590(0x163)][_0xea5590(0x120)](_0x518d72[_0xea5590(0x17b)]['id']);_0x55ed1b&&_0x1a0ac5(_0x55ed1b[_0xea5590(0x162)](_0xea5590(0x121))||_0x55ed1b);}else{if(_0xea5590(0x174)===this[_0xea5590(0x16c)]){const _0x27aa61={'target':_0x4437d0[_0xea5590(0x18e)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x540ebb(_0x27aa61);}}this[_0xea5590(0x163)][_0xea5590(0x194)](_0x518d72[_0xea5590(0x17b)],_0x4437d0[_0xea5590(0x18e)]);}}),this[_0x38f756(0x18f)]['on'](_0x38f756(0x130),()=>{const _0x4a44e1=_0x38f756;this[_0x4a44e1(0x163)][_0x4a44e1(0x19a)]();});try{await this[_0x38f756(0x18f)][_0x38f756(0x15b)]();}catch(_0x309aab){_0x309aab instanceof Error&&_0x309aab[_0x38f756(0x16d)][_0x38f756(0x15c)](_0x38f756(0x12a))||(_0x309aab instanceof _0x24e2c4?this[_0x38f756(0x135)](_0x309aab):this[_0x38f756(0x135)](new _0x24e2c4(_0x38f756(0x102),this,{'error':_0x309aab})));}}else this[_0x38f756(0x135)](new _0x24e2c4(_0x38f756(0xfb),this,{'checkId':_0x5f3bb3['id']}));}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x167),()=>{const _0xf0b634=_0x222885;this[_0xf0b634(0x13f)]();}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x18a),()=>{const _0x3b9ea0=_0x222885;this[_0x3b9ea0(0x13f)](!0x0);}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x13e),()=>{const _0x45b3db=_0x222885;this[_0x45b3db(0x18f)]&&this[_0x45b3db(0x18f)][_0x45b3db(0x11b)]();}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x100),()=>{const _0x7de960=_0x222885;this[_0x7de960(0x13f)](!0x0);}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x117),()=>{const _0x34bd43=_0x222885;if(!this[_0x34bd43(0x18f)])return;const _0x295636=this[_0x34bd43(0x18f)][_0x34bd43(0x14f)]();_0x295636[_0x34bd43(0x101)]&&(this[_0x34bd43(0x118)][_0x34bd43(0x15d)](_0x295636[_0x34bd43(0x166)](_0x521fd4=>_0x521fd4['id'])),this[_0x34bd43(0x18f)][_0x34bd43(0x115)](),this[_0x34bd43(0x18f)][_0x34bd43(0xf5)]());}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x108),(_0x22a32b,_0x318c4e)=>{const _0x32a579=_0x222885;this[_0x32a579(0x18f)]&&this[_0x32a579(0x18f)][_0x32a579(0x180)](_0x318c4e['id'])&&(this[_0x32a579(0x118)][_0x32a579(0x15d)]([_0x318c4e['id']]),this[_0x32a579(0x18f)][_0x32a579(0x14d)](_0x318c4e['id']),this[_0x32a579(0x163)][_0x32a579(0x133)](),this[_0x32a579(0x18f)][_0x32a579(0xf5)](_0x318c4e['id']));}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x11d),(_0x5af31c,_0x389eda)=>{const _0x1cb251=_0x222885;this[_0x1cb251(0x18f)]&&this[_0x1cb251(0x18f)][_0x1cb251(0x180)](_0x389eda['id'])&&(this[_0x1cb251(0x118)][_0x1cb251(0x103)](_0x389eda['id']),this[_0x1cb251(0x18f)][_0x1cb251(0x159)](_0x389eda['id']),this[_0x1cb251(0x163)][_0x1cb251(0x133)](),this[_0x1cb251(0x18f)][_0x1cb251(0xf5)](_0x389eda['id']));}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x104),(_0x48b6ca,_0x273482)=>{const _0x370e91=_0x222885;this[_0x370e91(0x195)]=_0x273482['on'],this[_0x370e91(0xf7)](this[_0x370e91(0x195)]);}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x16a),async()=>{const _0x3dbb1d=_0x222885;this[_0x3dbb1d(0x18f)]&&await this[_0x3dbb1d(0x18f)][_0x3dbb1d(0x172)]();}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x18d),(_0xea4168,_0x1ce93c)=>{const _0x1f83dc=_0x222885;this[_0x1f83dc(0x18f)]&&(this[_0x1f83dc(0x16c)]=_0x1f83dc(0x174),this[_0x1f83dc(0x18f)][_0x1f83dc(0x18d)](_0x1ce93c['id']));}),this[_0x222885(0x181)](this[_0x222885(0x163)],_0x222885(0x13b),()=>{const _0x5bb40c=_0x222885;this[_0x5bb40c(0x18f)]&&this[_0x5bb40c(0x18f)][_0x5bb40c(0x13b)]();}),this[_0x222885(0x181)](this[_0x222885(0x118)][_0x222885(0x10e)],_0x222885(0x10f),(_0x25a95c,_0x245895)=>{const _0x3d97c2=_0x222885;this[_0x3d97c2(0x18f)]&&(this[_0x3d97c2(0x16c)]=_0x3d97c2(0x178),this[_0x3d97c2(0x18f)][_0x3d97c2(0x18d)](_0x245895[_0x3d97c2(0x158)]));});}[_0xfbbba5(0x13f)](_0x1ca842=!0x1){const _0x194ecf=_0xfbbba5;this[_0x194ecf(0x18f)]&&(this[_0x194ecf(0x18f)][_0x194ecf(0x17c)]||this[_0x194ecf(0x18f)][_0x194ecf(0xf5)](),this[_0x194ecf(0x18f)][_0x194ecf(0x11b)](),this[_0x194ecf(0x18f)][_0x194ecf(0x140)](),this[_0x194ecf(0x18f)]=void 0x0),_0x1ca842&&this[_0x194ecf(0x163)][_0x194ecf(0x18b)](),this[_0x194ecf(0x118)][_0x194ecf(0x127)](),this[_0x194ecf(0x118)][_0x194ecf(0x16e)](),this[_0x194ecf(0x16c)]=null;const _0x4cfabd=this[_0x194ecf(0x118)][_0x194ecf(0x155)]();_0x4cfabd&&_0x4cfabd[_0x194ecf(0xf8)][_0x194ecf(0x12b)][_0x194ecf(0x17b)](_0x201eee=>{const _0x2ee258=_0x194ecf,_0x56efc2=_0x4cfabd[_0x2ee258(0xf8)][_0x2ee258(0x12b)][_0x2ee258(0x11a)][_0x2ee258(0xfa)]();_0x201eee[_0x2ee258(0x10b)](_0x2ee258(0x15a),_0x56efc2),_0x201eee[_0x2ee258(0x10b)](_0x2ee258(0x134),_0x56efc2);});}[_0xfbbba5(0xf7)](_0x557fc3){const _0x1045e3=_0xfbbba5,_0x374580=this[_0x1045e3(0x118)][_0x1045e3(0x155)]();_0x557fc3?this[_0x1045e3(0x163)][_0x1045e3(0x137)]():this[_0x1045e3(0x163)][_0x1045e3(0x145)](),_0x374580&&_0x374580[_0x1045e3(0xf8)][_0x1045e3(0x12b)][_0x1045e3(0x17b)](_0x170bd7=>{const _0x33f457=_0x1045e3,_0x4bd20b=_0x374580[_0x33f457(0xf8)][_0x33f457(0x12b)][_0x33f457(0x11a)][_0x33f457(0xfa)]();_0x170bd7[_0x33f457(0x10b)](_0x33f457(0x15a),_0x4bd20b),_0x170bd7[_0x33f457(0x10b)](_0x33f457(0x134),_0x4bd20b),_0x170bd7[_0x33f457(0x142)](_0x557fc3?_0x33f457(0x15a):_0x33f457(0x134),_0x4bd20b);});}[_0xfbbba5(0x183)](_0x3bd1a5){const _0x2ac07=_0xfbbba5;return _0x3bd1a5[_0x2ac07(0x166)](_0x5f3317=>{const _0x1c53a3=_0x2ac07,_0x3a3ad5=_0x1c53a3(0xf6)+_0x5f3317['id'][_0x1c53a3(0x10c)]()[_0x1c53a3(0x124)]('-','_'),_0x2031b1={..._0x5f3317,'title':this[_0x1c53a3(0x141)](_0x3a3ad5+_0x1c53a3(0x110),_0x5f3317[_0x1c53a3(0x129)]),'description':this[_0x1c53a3(0x141)](_0x3a3ad5+_0x1c53a3(0x154),_0x5f3317[_0x1c53a3(0x176)])};return _0x5f3317[_0x1c53a3(0x139)]&&(_0x2031b1[_0x1c53a3(0x139)]=_0x5f3317[_0x1c53a3(0x139)][_0x1c53a3(0x166)](_0x5f0978=>({..._0x5f0978,'label':this[_0x1c53a3(0x141)](_0x3a3ad5+_0x1c53a3(0x170),_0x5f0978[_0x1c53a3(0x136)]||''),'data':_0x5f0978[_0x1c53a3(0x153)]?_0x5f0978[_0x1c53a3(0x153)][_0x1c53a3(0x166)](_0x2dc705=>({..._0x2dc705,'label':this[_0x1c53a3(0x141)](_0x3a3ad5+_0x1c53a3(0x197)+_0x2dc705['id'][_0x1c53a3(0x10c)](),_0x2dc705[_0x1c53a3(0x136)])})):void 0x0}))),_0x2031b1;});}[_0xfbbba5(0x141)](_0x1b127f,_0x5101f9){const _0x5670cb=_0xfbbba5,_0x2fa4f5=this[_0x5670cb(0x169)][_0x5670cb(0x196)],_0x347295=_0x53fc88(_0x2fa4f5,_0x1b127f);return _0x347295===_0x1b127f?_0x5101f9:_0x347295;}[_0xfbbba5(0x135)](_0x19bd5d){const _0x3bcdbd=_0xfbbba5;_0x1bac3d(_0x19bd5d[_0x3bcdbd(0x16d)]),this[_0x3bcdbd(0x163)][_0x3bcdbd(0x15f)]();}}
23
+ const _0x4d8807=_0x1d98;(function(_0x3178df,_0x44845e){const _0x5e40f8=_0x1d98,_0x2c07a5=_0x3178df();while(!![]){try{const _0x6887e7=parseInt(_0x5e40f8(0x1b3))/0x1+-parseInt(_0x5e40f8(0x1ea))/0x2+parseInt(_0x5e40f8(0x1f3))/0x3+-parseInt(_0x5e40f8(0x22c))/0x4+parseInt(_0x5e40f8(0x1ec))/0x5+parseInt(_0x5e40f8(0x190))/0x6+-parseInt(_0x5e40f8(0x1f6))/0x7;if(_0x6887e7===_0x44845e)break;else _0x2c07a5['push'](_0x2c07a5['shift']());}catch(_0x33fb36){_0x2c07a5['push'](_0x2c07a5['shift']());}}}(_0x3298,0x9fe24));import{ContextPlugin as _0x2aa479}from'ckeditor5/src/core.js';import{CKEditorError as _0x14ca66,logError as _0x27a151,scrollAncestorsToShowTarget as _0x3e913d,scrollViewportToShowTarget as _0x36e5eb}from'ckeditor5/src/utils.js';function _0x1d98(_0x41475e,_0x200f25){const _0x32989e=_0x3298();return _0x1d98=function(_0x1d9888,_0x320203){_0x1d9888=_0x1d9888-0x18c;let _0x31767d=_0x32989e[_0x1d9888];return _0x31767d;},_0x1d98(_0x41475e,_0x200f25);}import{AIConnector as _0x3bf832}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x22aba4}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x2c5cb7}from'./model/aireviewsystemcheckrun.js';function _0x3298(){const _0x5227d3=['changeMarkerRemoved','showChunkErrorView','diffContent','switchToReadOnly','showGeneralErrorView','_aiReviewCheckList','markChangeAsPending','isCustom','subTitle','_onReviewModeRunLeave','markChangeAsOutdated','setAvailableChecks','leaveReviewModeResultList','deactivateChange','contentInitial','changeMarkerRestored','documentData','description','prompt','abort','isPremiumPlugin','source','ck-ai-review-mode-diff','markAllChangesAsAccepted','unmodified','setCheckResultTitle','showActionsWhenResultIsReady','view','_changeActivationSource','isOfficialPlugin','AIReviewModeUI','reviewCheckRunUpdated','result','2420772rVRuhI','getAll','markChangeAsAccepted','reviewCheckResultAdded','toggleDiff','.ck-ai-review-mode__check-run-result','model','_OPTIONS_DATA_','context','length','data','ai-review-mode-check-run-general-error','7465260ieOgzz','locale','addResultChanges','reviewCheckResultDeactivated','finished','loading','AI_REVIEW_CHECK_','_OPTIONS_LABEL','applyChange','showDiffInBalloon','setActiveStateInResults','showNoChangesView','init','AI_MODEL_DESCRIPTION_','ai-review-mode-no-current-check-run','getEditor','hasModifications','getMarkerElementForChange','closest','changes','updateChangeState','ai-review-mode-check-run-chunk-error','ready','rejectChange','reviewCheckResultChangeStatusUpdated','showReviewCheckList','config','toUpperCase','dismissChange','pluginName','showReviewCompletedView','error-general','args','error-chunk','leaveReviewMode','950863WphQYo','removeClass','currentError','retryReview','includes','getCheckById','_translateReviewChecks','ck-ai-review-mode-highlights','_aiConnector','models','contentNew','_onDiffChange','panel','find','_logError','stopListening','_getTranslationWithDefault','showChangeBalloon','finishReview','AIReviewModeController','forceReadyState','getChangeElement','translate','markChangeAsRejected','get','_isDiffOn','status','getDocumentData','addClass','params','content','showCheckRunResult','getActiveChanges','requires','title','getReviewCheckList','change','replaceAll','runReviewCheck','sendRating','label','checks','activateChange','listenTo','isChangeActive','showCheckRunResults','options','changeId','aborted','_aiReviewModeUi','_currentReviewCheckRun','custom','domElement','markChangePositionInEditorContent','getRoot','1899038Vwfhmh','ai-review-mode-check-run-failed','970085cZoyMu','document','reviewCheckResultActivated','acceptChange','acceptAllChanges','message','_aiReviewModeEditing','1848390LBcWlj','plugins','clearAllMarkers','5569368yaFouL','AIConnector','editing','ai-review-mode-source-check-not-found','map','abortReviewStream','start','resetActiveStateInResults','processedResultsCount','ai.reviewMode.translations','emitter','_DESCRIPTION','hideChangeBalloon','hideDiffInBalloon','_TITLE','switchToEdit','changeMarkerClick','ai-request-aborted','restart','AIReviewModeEditing','reviewCheckResultReady'];_0x3298=function(){return _0x5227d3;};return _0x3298();}import{AIReviewCustomCheckRun as _0x20e4c7}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x21829a}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x145ed2}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x2bcb78}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x2aa479{[_0x4d8807(0x1bb)];[_0x4d8807(0x1e4)];[_0x4d8807(0x1f2)];[_0x4d8807(0x210)];[_0x4d8807(0x1e5)];[_0x4d8807(0x1cc)]=!0x1;[_0x4d8807(0x227)]=null;static get[_0x4d8807(0x1d4)](){return[_0x3bf832];}static get[_0x4d8807(0x1ad)](){const _0x5baa7e=_0x4d8807;return _0x5baa7e(0x1c6);}static get[_0x4d8807(0x228)](){return!0x0;}static get[_0x4d8807(0x21f)](){return!0x0;}async[_0x4d8807(0x19c)](){const _0xbe7675=_0x4d8807;this[_0xbe7675(0x1bb)]=this[_0xbe7675(0x18c)][_0xbe7675(0x1f4)][_0xbe7675(0x1cb)](_0xbe7675(0x1f7)),this[_0xbe7675(0x1e4)]=this[_0xbe7675(0x18c)][_0xbe7675(0x1f4)][_0xbe7675(0x1cb)](_0xbe7675(0x229)),this[_0xbe7675(0x1f2)]=this[_0xbe7675(0x18c)][_0xbe7675(0x1f4)][_0xbe7675(0x1cb)](_0xbe7675(0x209));const _0x3a0adf=this[_0xbe7675(0x18c)][_0xbe7675(0x1aa)][_0xbe7675(0x1cb)](_0xbe7675(0x1ff));if(_0x3a0adf){for(const _0x4c52ad of _0x145ed2)_0xbe7675(0x1c9)===_0x4c52ad['id']&&(_0x4c52ad[_0xbe7675(0x1e1)][0x0][_0xbe7675(0x18e)]=_0x3a0adf);}const _0x58483b=this[_0xbe7675(0x1b9)](_0x145ed2);this[_0xbe7675(0x210)]=new _0x22aba4(_0x58483b);const _0x22e665=this[_0xbe7675(0x210)][_0xbe7675(0x1dc)][_0xbe7675(0x1c0)](_0x98681d=>_0xbe7675(0x1e6)===_0x98681d['id']);if(_0x22e665){const _0x37fd94=await new _0x21829a({'connector':this[_0xbe7675(0x1bb)]})[_0xbe7675(0x22d)]();_0x22e665[_0xbe7675(0x1bc)]=_0x37fd94[_0xbe7675(0x1fa)](_0x23cf69=>({..._0x23cf69,'description':this[_0xbe7675(0x1c3)](_0xbe7675(0x19d)+_0x23cf69['id'][_0xbe7675(0x1ab)](),_0x23cf69[_0xbe7675(0x21c)])}));}this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x1d6),()=>{const _0x380835=_0xbe7675;this[_0x380835(0x1e4)][_0x380835(0x216)](this[_0x380835(0x210)][_0x380835(0x1dc)]);}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x1d9),async(_0x2e8893,_0x2303a2)=>{const _0x471f2b=_0xbe7675,_0x3875a0=this[_0x471f2b(0x210)][_0x471f2b(0x1b8)](_0x2303a2['id']);if(_0x3875a0){this[_0x471f2b(0x1be)](this[_0x471f2b(0x1cc)]),_0x2303a2[_0x471f2b(0x212)]?this[_0x471f2b(0x1e5)]=new _0x20e4c7(_0x2303a2[_0x471f2b(0x1b0)][_0x471f2b(0x21d)],_0x2303a2[_0x471f2b(0x1b0)][_0x471f2b(0x232)],this[_0x471f2b(0x1f2)][_0x471f2b(0x1ce)](),_0x3875a0,this[_0x471f2b(0x1bb)]):this[_0x471f2b(0x1e5)]=new _0x2c5cb7(this[_0x471f2b(0x1f2)][_0x471f2b(0x1ce)](),_0x3875a0,this[_0x471f2b(0x1bb)],_0x2303a2[_0x471f2b(0x1d0)],_0x2303a2[_0x471f2b(0x1b0)]),this[_0x471f2b(0x1e4)][_0x471f2b(0x224)](this[_0x471f2b(0x1e5)][_0x471f2b(0x1d5)],this[_0x471f2b(0x1e5)][_0x471f2b(0x213)]),this[_0x471f2b(0x1e5)]['on'](_0x471f2b(0x22a),(_0x32dc92,_0x3a8b08)=>{const _0x305fc1=_0x471f2b;_0x305fc1(0x18e)===_0x3a8b08[_0x305fc1(0x1cd)]||_0x305fc1(0x195)===_0x3a8b08[_0x305fc1(0x1cd)]?(this[_0x305fc1(0x1f2)][_0x305fc1(0x20e)](),this[_0x305fc1(0x1e4)][_0x305fc1(0x1e0)](_0x3a8b08)):_0x305fc1(0x194)===_0x3a8b08[_0x305fc1(0x1cd)]?this[_0x305fc1(0x1e4)][_0x305fc1(0x1ae)]():_0x305fc1(0x1a6)===_0x3a8b08[_0x305fc1(0x1cd)]?this[_0x305fc1(0x1e4)][_0x305fc1(0x225)]():_0x305fc1(0x223)===_0x3a8b08[_0x305fc1(0x1cd)]?this[_0x305fc1(0x1e4)][_0x305fc1(0x19b)]():_0x305fc1(0x1af)===_0x3a8b08[_0x305fc1(0x1cd)]?(this[_0x305fc1(0x1e4)][_0x305fc1(0x20f)](),this[_0x305fc1(0x1c1)](new _0x14ca66(_0x305fc1(0x18f),this,this[_0x305fc1(0x1e5)]?.[_0x305fc1(0x1b5)]))):_0x305fc1(0x1b1)===_0x3a8b08[_0x305fc1(0x1cd)]?(this[_0x305fc1(0x1e4)][_0x305fc1(0x20c)](),this[_0x305fc1(0x1c1)](new _0x14ca66(_0x305fc1(0x1a5),this,this[_0x305fc1(0x1e5)]?.[_0x305fc1(0x1b5)]))):_0x305fc1(0x1e3)===_0x3a8b08[_0x305fc1(0x1cd)]&&(this[_0x305fc1(0x1e5)]&&this[_0x305fc1(0x1e5)][_0x305fc1(0x1fe)]>0x0?setTimeout(()=>{const _0x4b8e73=_0x305fc1;this[_0x4b8e73(0x1e5)]?.[_0x4b8e73(0x1c7)]();},0x0):this[_0x305fc1(0x214)](!0x0)),_0x305fc1(0x1a6)!==_0x3a8b08[_0x305fc1(0x1cd)]&&_0x305fc1(0x1b1)!==_0x3a8b08[_0x305fc1(0x1cd)]&&_0x305fc1(0x1af)!==_0x3a8b08[_0x305fc1(0x1cd)]||this[_0x305fc1(0x1e5)]?.[_0x305fc1(0x1da)]();}),this[_0x471f2b(0x1e5)]['on'](_0x471f2b(0x22f),(_0x57b4d8,_0x28170d)=>{const _0x465954=_0x471f2b;if(!this[_0x465954(0x1e5)])throw new _0x14ca66(_0x465954(0x19e),this);const _0x50bb5c=this[_0x465954(0x1f2)][_0x465954(0x20d)](_0x28170d[_0x465954(0x22b)][_0x465954(0x219)],_0x28170d[_0x465954(0x22b)][_0x465954(0x1bd)]);_0x28170d[_0x465954(0x220)][_0x465954(0x192)](_0x28170d[_0x465954(0x22b)]['id'],_0x50bb5c);}),this[_0x471f2b(0x1e5)]['on'](_0x471f2b(0x20a),(_0x5dd0c8,_0x213aa7)=>{const _0x18c197=_0x471f2b;for(const _0x364783 of _0x213aa7[_0x18c197(0x1a3)])this[_0x18c197(0x1e4)][_0x18c197(0x1d2)](_0x364783);this[_0x18c197(0x1f2)][_0x18c197(0x1e8)](_0x213aa7[_0x18c197(0x1a3)],_0x213aa7[_0x18c197(0x220)][_0x18c197(0x21b)]);}),this[_0x471f2b(0x1e5)]['on'](_0x471f2b(0x1a8),(_0x1a82d8,_0x40349c)=>{const _0x2050cd=_0x471f2b;this[_0x2050cd(0x1e4)][_0x2050cd(0x1a4)](_0x40349c[_0x2050cd(0x1d7)]['id'],_0x40349c[_0x2050cd(0x1cd)]);}),this[_0x471f2b(0x1e5)]['on'](_0x471f2b(0x1ee),(_0x4ef75d,_0x3477e6)=>{const _0x5bbb03=_0x471f2b;this[_0x5bbb03(0x1e4)][_0x5bbb03(0x19a)](_0x3477e6[_0x5bbb03(0x1d7)]['id']);const _0x8eb165=this[_0x5bbb03(0x1f2)][_0x5bbb03(0x1a1)](_0x3477e6[_0x5bbb03(0x1d7)]['id']);if(_0x8eb165){if(_0x5bbb03(0x1d1)===this[_0x5bbb03(0x227)]){const _0x32cb33=this[_0x5bbb03(0x1e4)][_0x5bbb03(0x1c8)](_0x3477e6[_0x5bbb03(0x1d7)]['id']);_0x32cb33&&_0x3e913d(_0x32cb33[_0x5bbb03(0x1a2)](_0x5bbb03(0x231))||_0x32cb33);}else{if(_0x5bbb03(0x1bf)===this[_0x5bbb03(0x227)]){const _0x402c62={'target':_0x8eb165[_0x5bbb03(0x1e7)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x36e5eb(_0x402c62);}}this[_0x5bbb03(0x1e4)][_0x5bbb03(0x1c4)](_0x3477e6[_0x5bbb03(0x1d7)],_0x8eb165[_0x5bbb03(0x1e7)]);}}),this[_0x471f2b(0x1e5)]['on'](_0x471f2b(0x193),()=>{const _0x4be9cc=_0x471f2b;this[_0x4be9cc(0x1e4)][_0x4be9cc(0x1fd)](),this[_0x4be9cc(0x1e4)][_0x4be9cc(0x202)]();});try{await this[_0x471f2b(0x1e5)][_0x471f2b(0x1fc)]();}catch(_0x416c04){_0x416c04 instanceof Error&&_0x416c04[_0x471f2b(0x1f1)][_0x471f2b(0x1b7)](_0x471f2b(0x207))||(_0x416c04 instanceof _0x14ca66?this[_0x471f2b(0x1c1)](_0x416c04):this[_0x471f2b(0x1c1)](new _0x14ca66(_0x471f2b(0x1eb),this,{'error':_0x416c04})));}}else this[_0x471f2b(0x1c1)](new _0x14ca66(_0x471f2b(0x1f9),this,{'checkId':_0x2303a2['id']}));}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x1b2),()=>{const _0x4380df=_0xbe7675;this[_0x4380df(0x214)]();}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x217),()=>{const _0x2378f3=_0xbe7675;this[_0x2378f3(0x214)](!0x0);}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x1fb),()=>{const _0x3689ca=_0xbe7675;this[_0x3689ca(0x1e5)]&&this[_0x3689ca(0x1e5)][_0x3689ca(0x21e)]();}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x1c5),()=>{const _0x478045=_0xbe7675;this[_0x478045(0x214)](!0x0);}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x1f0),()=>{const _0x282b28=_0xbe7675;if(!this[_0x282b28(0x1e5)])return;const _0x1306ca=this[_0x282b28(0x1e5)][_0x282b28(0x1d3)]();_0x1306ca[_0x282b28(0x18d)]&&(this[_0x282b28(0x1f2)][_0x282b28(0x198)](_0x1306ca[_0x282b28(0x1fa)](_0x415b22=>_0x415b22['id'])),this[_0x282b28(0x1e5)][_0x282b28(0x222)](),this[_0x282b28(0x1e5)][_0x282b28(0x1da)]());}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x1ef),(_0x5f1b45,_0x56085b)=>{const _0x158ac1=_0xbe7675;this[_0x158ac1(0x1e5)]&&this[_0x158ac1(0x1e5)][_0x158ac1(0x1df)](_0x56085b['id'])&&(this[_0x158ac1(0x1f2)][_0x158ac1(0x198)]([_0x56085b['id']]),this[_0x158ac1(0x1e5)][_0x158ac1(0x22e)](_0x56085b['id']),this[_0x158ac1(0x1e4)][_0x158ac1(0x202)](),this[_0x158ac1(0x1e5)][_0x158ac1(0x1da)](_0x56085b['id']));}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x1ac),(_0x546714,_0x462b55)=>{const _0x1ebee7=_0xbe7675;this[_0x1ebee7(0x1e5)]&&this[_0x1ebee7(0x1e5)][_0x1ebee7(0x1df)](_0x462b55['id'])&&(this[_0x1ebee7(0x1f2)][_0x1ebee7(0x1a7)](_0x462b55['id']),this[_0x1ebee7(0x1e5)][_0x1ebee7(0x1ca)](_0x462b55['id']),this[_0x1ebee7(0x1e4)][_0x1ebee7(0x202)](),this[_0x1ebee7(0x1e5)][_0x1ebee7(0x1da)](_0x462b55['id']));}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x230),(_0x1f904c,_0x4a28d5)=>{const _0x1e938e=_0xbe7675;this[_0x1e938e(0x1cc)]=_0x4a28d5['on'],this[_0x1e938e(0x1be)](this[_0x1e938e(0x1cc)]);}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x1b6),async()=>{const _0x433c1b=_0xbe7675;this[_0x433c1b(0x1e5)]&&await this[_0x433c1b(0x1e5)][_0x433c1b(0x208)]();}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x1dd),(_0x2a6fb7,_0x5456eb)=>{const _0x159c6e=_0xbe7675;this[_0x159c6e(0x1e5)]&&(this[_0x159c6e(0x227)]=_0x159c6e(0x1bf),this[_0x159c6e(0x1e5)][_0x159c6e(0x1dd)](_0x5456eb['id']));}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1e4)],_0xbe7675(0x218),()=>{const _0x5f546d=_0xbe7675;this[_0x5f546d(0x1e5)]&&this[_0x5f546d(0x1e5)][_0x5f546d(0x218)]();}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1f2)][_0xbe7675(0x200)],_0xbe7675(0x206),(_0x191a7d,_0x529b25)=>{const _0x2fa86e=_0xbe7675;this[_0x2fa86e(0x1e5)]&&(this[_0x2fa86e(0x227)]=_0x2fa86e(0x1d1),this[_0x2fa86e(0x1e5)][_0x2fa86e(0x1dd)](_0x529b25[_0x2fa86e(0x1e2)]));}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1f2)][_0xbe7675(0x200)],_0xbe7675(0x20b),(_0x3b33d8,_0x1f98bb)=>{const _0x21c0ff=_0xbe7675;this[_0x21c0ff(0x1e5)]&&this[_0x21c0ff(0x1e5)][_0x21c0ff(0x215)](_0x1f98bb[_0x21c0ff(0x1e2)]);}),this[_0xbe7675(0x1de)](this[_0xbe7675(0x1f2)][_0xbe7675(0x200)],_0xbe7675(0x21a),(_0x54b8d7,_0x560c62)=>{const _0x46df08=_0xbe7675;this[_0x46df08(0x1e5)]&&this[_0x46df08(0x1e5)][_0x46df08(0x211)](_0x560c62[_0x46df08(0x1e2)]);});}[_0x4d8807(0x214)](_0x4523d2=!0x1){const _0x488cfb=_0x4d8807;this[_0x488cfb(0x1e5)]&&(this[_0x488cfb(0x1e5)][_0x488cfb(0x1a0)]||this[_0x488cfb(0x1e5)][_0x488cfb(0x1da)](),this[_0x488cfb(0x1e5)][_0x488cfb(0x1c2)](),this[_0x488cfb(0x1e5)][_0x488cfb(0x21e)](),this[_0x488cfb(0x1e5)]=void 0x0),_0x4523d2&&this[_0x488cfb(0x1e4)][_0x488cfb(0x1a9)](),this[_0x488cfb(0x1f2)][_0x488cfb(0x1f5)](),this[_0x488cfb(0x1f2)][_0x488cfb(0x205)](),this[_0x488cfb(0x227)]=null;const _0x2474dd=this[_0x488cfb(0x1f2)][_0x488cfb(0x19f)]();_0x2474dd&&_0x2474dd[_0x488cfb(0x1f8)][_0x488cfb(0x226)][_0x488cfb(0x1d7)](_0x20f6ea=>{const _0x4d77d9=_0x488cfb,_0x3a84e0=_0x2474dd[_0x4d77d9(0x1f8)][_0x4d77d9(0x226)][_0x4d77d9(0x1ed)][_0x4d77d9(0x1e9)]();_0x20f6ea[_0x4d77d9(0x1b4)](_0x4d77d9(0x221),_0x3a84e0),_0x20f6ea[_0x4d77d9(0x1b4)](_0x4d77d9(0x1ba),_0x3a84e0);});}[_0x4d8807(0x1be)](_0x5a2032){const _0x4db177=_0x4d8807,_0x266224=this[_0x4db177(0x1f2)][_0x4db177(0x19f)]();_0x5a2032?this[_0x4db177(0x1e4)][_0x4db177(0x203)]():this[_0x4db177(0x1e4)][_0x4db177(0x199)](),_0x266224&&_0x266224[_0x4db177(0x1f8)][_0x4db177(0x226)][_0x4db177(0x1d7)](_0x431058=>{const _0x46e80a=_0x4db177,_0x37f9f1=_0x266224[_0x46e80a(0x1f8)][_0x46e80a(0x226)][_0x46e80a(0x1ed)][_0x46e80a(0x1e9)]();_0x431058[_0x46e80a(0x1b4)](_0x46e80a(0x221),_0x37f9f1),_0x431058[_0x46e80a(0x1b4)](_0x46e80a(0x1ba),_0x37f9f1),_0x431058[_0x46e80a(0x1cf)](_0x5a2032?_0x46e80a(0x221):_0x46e80a(0x1ba),_0x37f9f1);});}[_0x4d8807(0x1b9)](_0x33b47c){const _0x2dce63=_0x4d8807;return _0x33b47c[_0x2dce63(0x1fa)](_0x2b15f8=>{const _0x5f10b6=_0x2dce63,_0xc3b8d1=_0x5f10b6(0x196)+_0x2b15f8['id'][_0x5f10b6(0x1ab)]()[_0x5f10b6(0x1d8)]('-','_'),_0x3179f2={..._0x2b15f8,'title':this[_0x5f10b6(0x1c3)](_0xc3b8d1+_0x5f10b6(0x204),_0x2b15f8[_0x5f10b6(0x1d5)]),'description':this[_0x5f10b6(0x1c3)](_0xc3b8d1+_0x5f10b6(0x201),_0x2b15f8[_0x5f10b6(0x21c)])};return _0x2b15f8[_0x5f10b6(0x1e1)]&&(_0x3179f2[_0x5f10b6(0x1e1)]=_0x2b15f8[_0x5f10b6(0x1e1)][_0x5f10b6(0x1fa)](_0x2ff827=>({..._0x2ff827,'label':this[_0x5f10b6(0x1c3)](_0xc3b8d1+_0x5f10b6(0x197),_0x2ff827[_0x5f10b6(0x1db)]||''),'data':_0x2ff827[_0x5f10b6(0x18e)]?_0x2ff827[_0x5f10b6(0x18e)][_0x5f10b6(0x1fa)](_0x4845ad=>({..._0x4845ad,'label':this[_0x5f10b6(0x1c3)](_0xc3b8d1+_0x5f10b6(0x233)+_0x4845ad['id'][_0x5f10b6(0x1ab)](),_0x4845ad[_0x5f10b6(0x1db)])})):void 0x0}))),_0x3179f2;});}[_0x4d8807(0x1c3)](_0x33bb34,_0xa21ed7){const _0x51d829=_0x4d8807,_0x4b0840=this[_0x51d829(0x18c)][_0x51d829(0x191)],_0x56db16=_0x2bcb78(_0x4b0840,_0x33bb34);return _0x56db16===_0x33bb34?_0xa21ed7:_0x56db16;}[_0x4d8807(0x1c1)](_0x5a46ed){const _0x39dbbf=_0x4d8807;_0x27a151(_0x5a46ed[_0x39dbbf(0x1f1)]),this[_0x39dbbf(0x1e4)][_0x39dbbf(0x20f)]();}}
@@ -142,3 +142,21 @@ export type AIReviewModeChangeMarkerClickedEvent = {
142
142
  }
143
143
  ];
144
144
  };
145
+ export type AIReviewModeChangeMarkerRemovedEvent = {
146
+ name: 'changeMarkerRemoved';
147
+ args: [
148
+ {
149
+ markerId: string;
150
+ changeId: string;
151
+ }
152
+ ];
153
+ };
154
+ export type AIReviewModeChangeMarkerRestoredEvent = {
155
+ name: 'changeMarkerRestored';
156
+ args: [
157
+ {
158
+ markerId: string;
159
+ changeId: string;
160
+ }
161
+ ];
162
+ };
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xcf4cc3=_0x20fd;(function(_0x1f33a5,_0xc090ee){const _0x56869a=_0x20fd,_0x152953=_0x1f33a5();while(!![]){try{const _0x18a503=parseInt(_0x56869a(0x288))/0x1*(-parseInt(_0x56869a(0x21d))/0x2)+-parseInt(_0x56869a(0x201))/0x3+parseInt(_0x56869a(0x2a4))/0x4+-parseInt(_0x56869a(0x246))/0x5*(parseInt(_0x56869a(0x256))/0x6)+parseInt(_0x56869a(0x245))/0x7*(-parseInt(_0x56869a(0x28f))/0x8)+-parseInt(_0x56869a(0x1d7))/0x9+-parseInt(_0x56869a(0x209))/0xa*(-parseInt(_0x56869a(0x277))/0xb);if(_0x18a503===_0xc090ee)break;else _0x152953['push'](_0x152953['shift']());}catch(_0x1ceb47){_0x152953['push'](_0x152953['shift']());}}}(_0x38a9,0xa41fd));import{InsertOperation as _0x14f967,MarkerOperation as _0x2d514b,ModelDocumentFragment as _0x12da2a,ModelPosition as _0x41f9d9,ModelRange as _0x3c5abf,ModelTreeWalker as _0x16699b,transformOperationSets as _0x50fff2}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x56fb01,EmitterMixin as _0x11a948}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x542b4f}from'ckeditor5/src/core.js';import{DocumentCompare as _0x2de56c,DATA_ID_MODEL_ATTRIBUTE as _0x303dc0,DATA_ID_VIEW_ATTRIBUTE as _0x19ffec}from'ckeditor5-collaboration/src/collaboration-core.js';import{getEditorFromContext as _0x3df94b}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x2f2729}from'../aicore/aiediting.js';const ue=_0xcf4cc3(0x244);function _0x38a9(){const _0x3f6392=['ck-ai_review-mode-marker_context-end','1541749KgwPSS','ck-ai_review-mode-marker_context-start','flat','_domEmitter','element','schema','_shiftOperation','howMany','add','text','split','groupId','includes','ck-ai_review-mode-marker_context-','stringify','parentElement','_eventEmitter','1BjWyDh','getRoots','createUIElement','exec','keys','suggestion:insertion:id:authorId:','createPositionAt','40uqXvrf','ai-review-mode','parent','htmlProcessor','toView','model:$text','length','_clone','name','remove-context','elements','editing','document','[data-id=\x22','data-marker-id','isAtStart','_createGetContentFn','isTouching','getChild','pluginName','getShiftedBy','4671960vJMOuD','remove-only','isInline','model','start','insertContent','markers','offsetSize','backward','markerToHighlight','suggestion:deletion:id:authorId:','className','pop','map','3391290yCyBni','clearAllMarkers','concat','removeMarker','ck-ai_review-mode-marker_hide','filter','getDiff','span','_removeChildren','applyOperation','hasClass','every','remove-text','for','data','isOfficialPlugin','getMarkerElementForChange','documentFragment','version','from','position','warn','getRange','getEditor','outerHTML','rejectChange','offset','afterInit','getDocumentData','querySelector','baseVersion','_groupAdjacentOperations','isOpening','affectsData','_changeRangeOwnerDocument','ck-ai_review-mode-marker_underline','requires','click','newRange','$markedRemove','emitter','set','575739cuhFjc','_removeAttribute','AIReviewModeEditing','sort','_translateOperationToEditorContent','operationsA','htmlWriter','attributeToAttribute','190CpVkcm','path','$textProxy','insert','parse','_getMarkersDataForGroup','enableReadOnlyMode','history','get','downcast','applyChange','view','nodes','_createGetContextFn','processor','marker','oldRange','isDocumentOperation','getHtml','hasContentAfter','882006bwhJSk','type','createRange','_changeRange','getRoot','getPath','caption','jumpTo','_sortMarkers','[data-marker-id=\x22','deleteContent','createPositionAfter','addMarker','createRawElement','$documentFragment','getOperations','_findMarkerElement','toDomElement','switchToReadOnly','batch','_appendChild','getChildren','markerName','change','createSelection','dataDowncast','target','diffContent','forward','_changePosition','ck-ai_review-mode-marker_strikethrough','hasAttribute','plugins','domConverter','_changePositionOwnerDocument','_insertMarkers','_findAdjacentContextDistance','fire','ellipsisBefore','reviewmode-','1255429mZKILt','6261485KYWljo','createText','_getOperationEnd','append','operationsIsolated','values','DocumentCompare','AIEditing','listenTo','index','markerToElement','getDomRoot','_setAttribute','viewToDom','_markers','startsWith','6pdjJuS','toData','editingDowncast','hasContentBefore','childCount','ck-ai_review-mode-marker_','ellipsisAfter','getAttribute','clone','isPremiumPlugin','suggestion-context','No\x20element\x20found\x20for\x20ID:\x20','_createGetContentUsingDataIdFn','isAtEnd','clear','context','switchToEdit','_nextDataId','createDocumentFragment','push','conversion','markChangePositionInEditorContent','disableReadOnlyMode','_getChangeContext','_changeOperationOwnerDocument','_getOperationStart','delete','end','addOperation','changeMarkerClick','innerHTML','ck-ai_review-mode-marker_add'];_0x38a9=function(){return _0x3f6392;};return _0x38a9();}function _0x20fd(_0xebb83c,_0x22f3f7){const _0x38a92c=_0x38a9();return _0x20fd=function(_0x20fdd9,_0x44b22a){_0x20fdd9=_0x20fdd9-0x1cb;let _0x1083a7=_0x38a92c[_0x20fdd9];return _0x1083a7;},_0x20fd(_0xebb83c,_0x22f3f7);}export class AIReviewModeEditing extends _0x542b4f{static get[_0xcf4cc3(0x2a2)](){const _0x5b7991=_0xcf4cc3;return _0x5b7991(0x203);}static get[_0xcf4cc3(0x1fb)](){return[_0x2de56c,_0x2f2729];}static get[_0xcf4cc3(0x1e6)](){return!0x0;}static get[_0xcf4cc3(0x25f)](){return!0x0;}[_0xcf4cc3(0x254)]=new Map();[_0xcf4cc3(0x27a)];[_0xcf4cc3(0x287)];constructor(_0x462309){const _0x36a860=_0xcf4cc3;super(_0x462309),this[_0x36a860(0x27a)]=new(_0x56fb01())(),this[_0x36a860(0x287)]=new(_0x11a948())();}get[_0xcf4cc3(0x1ff)](){const _0x136b2a=_0xcf4cc3;return this[_0x136b2a(0x287)];}[_0xcf4cc3(0x1f2)](){const _0x3d2b07=_0xcf4cc3,_0x52cc9f=_0x3df94b(this[_0x3d2b07(0x265)]);_0x52cc9f[_0x3d2b07(0x26a)][_0x3d2b07(0x1e4)](_0x3d2b07(0x258))[_0x3d2b07(0x250)]({'model':ue+_0x3d2b07(0x20c),'view':(_0x19e32a,{writer:_0x5822a3})=>{const _0x161915=_0x3d2b07,_0xb6bea=this[_0x161915(0x254)][_0x161915(0x211)](_0x19e32a[_0x161915(0x233)]),_0x10dbfa={'class':_0x161915(0x275),'data-marker-id':_0x19e32a[_0x161915(0x233)]};return _0x5822a3[_0x161915(0x28a)](_0x161915(0x1de),_0x10dbfa,function(_0x4d0221){const _0xf9ddce=_0x161915,_0x1ce31f=this[_0xf9ddce(0x22e)](_0x4d0221);return _0x1ce31f[_0xf9ddce(0x274)]=_0xb6bea?.[_0xf9ddce(0x280)]||'',_0x1ce31f;});}}),_0x52cc9f[_0x3d2b07(0x26a)][_0x3d2b07(0x1e4)](_0x3d2b07(0x258))[_0x3d2b07(0x1d2)]({'model':ue+_0x3d2b07(0x2a5),'view':_0x1ce1b4=>({'classes':_0x3d2b07(0x23b),'attributes':{'data-marker-id':_0x1ce1b4[_0x3d2b07(0x233)]}})}),_0x52cc9f[_0x3d2b07(0x26a)][_0x3d2b07(0x1e4)](_0x3d2b07(0x258))[_0x3d2b07(0x1d2)]({'model':ue+_0x3d2b07(0x298),'view':_0x41af6a=>({'classes':_0x3d2b07(0x1fa),'attributes':{'data-marker-id':_0x41af6a[_0x3d2b07(0x233)]}})}),_0x52cc9f[_0x3d2b07(0x26a)][_0x3d2b07(0x1e4)](_0x3d2b07(0x258))[_0x3d2b07(0x1d2)]({'model':ue+_0x3d2b07(0x1e3),'view':_0x4162d1=>({'classes':_0x3d2b07(0x1db),'attributes':{'data-marker-id':_0x4162d1[_0x3d2b07(0x233)]}})}),_0x52cc9f[_0x3d2b07(0x26a)][_0x3d2b07(0x1e4)](_0x3d2b07(0x236))[_0x3d2b07(0x250)]({'model':ue+_0x3d2b07(0x260),'view':(_0xbdd44b,{writer:_0x1716e6})=>_0x1716e6[_0x3d2b07(0x22a)](_0x3d2b07(0x1de),{'class':_0x3d2b07(0x284)+(_0xbdd44b[_0x3d2b07(0x1f7)]?_0x3d2b07(0x1cd):_0x3d2b07(0x271))})}),_0x52cc9f[_0x3d2b07(0x26a)][_0x3d2b07(0x1e4)](_0x3d2b07(0x212))[_0x3d2b07(0x208)]({'model':_0x303dc0,'view':_0x19ffec}),this[_0x3d2b07(0x27a)][_0x3d2b07(0x24e)](document,_0x3d2b07(0x1fc),(_0x5b9ec0,_0x350346)=>{const _0x44bef9=_0x3d2b07,_0x3f4fd3=_0x350346[_0x44bef9(0x237)],_0x4d3aba=this[_0x44bef9(0x22d)](_0x3f4fd3);if(!_0x4d3aba)return;const _0x184a16=_0x4d3aba[_0x44bef9(0x25d)](_0x44bef9(0x29d)),_0x32239a=_0x184a16[_0x44bef9(0x281)](':')[_0x44bef9(0x1d5)]()?.[_0x44bef9(0x281)]('_')[0x0];this[_0x44bef9(0x287)][_0x44bef9(0x242)](_0x44bef9(0x273),{'markerId':_0x184a16,'changeId':_0x32239a});});}[_0xcf4cc3(0x1f3)](){const _0x107068=_0xcf4cc3,_0x18de28=this[_0x107068(0x265)][_0x107068(0x23d)][_0x107068(0x211)](_0x107068(0x24d)),_0x5c86ba=_0x3df94b(this[_0x107068(0x265)]),_0x144ea0=_0x5c86ba[_0x107068(0x1cc)],_0x1ff5d8=new _0x12da2a();for(const _0x232e2b of _0x144ea0[_0x107068(0x29b)][_0x107068(0x221)]()[_0x107068(0x232)]()){const _0x551e21=_0x232e2b[_0x107068(0x296)](!0x0);_0x1ff5d8[_0x107068(0x231)](_0x551e21);}for(const _0x4ebe81 of _0x144ea0[_0x107068(0x1cf)])_0x1ff5d8[_0x107068(0x1cf)][_0x107068(0x200)](_0x4ebe81[_0x107068(0x297)],this[_0x107068(0x1f9)](_0x4ebe81[_0x107068(0x1ed)]()[_0x107068(0x25e)](),_0x1ff5d8));const _0x235eab=new _0x16699b({'ignoreElementEnd':!0x0,'startPosition':_0x144ea0[_0x107068(0x28e)](_0x1ff5d8,0x0)}),_0x4b885f=new Set(),_0x184385=new Map();for(const {item:_0x486e88}of _0x235eab){if(!_0x486e88['is'](_0x107068(0x20b)))continue;const _0x48a85c=_0x486e88[_0x107068(0x291)];if((!_0x48a85c||!_0x48a85c['is'](_0x107068(0x27b),_0x107068(0x223)))&&(_0x48a85c&&_0x48a85c['is'](_0x107068(0x27b)))){let _0x425b15=_0x48a85c[_0x107068(0x25d)](_0x303dc0);_0x425b15||(_0x425b15=_0x18de28[_0x107068(0x267)](_0x4b885f),_0x48a85c[_0x107068(0x252)](_0x303dc0,_0x425b15)),_0x4b885f[_0x107068(0x27f)](_0x425b15);let _0xb7dbdc=_0x48a85c;for(;_0xb7dbdc[_0x107068(0x291)]&&!_0xb7dbdc[_0x107068(0x291)]['is'](_0x107068(0x1e8));)_0xb7dbdc=_0xb7dbdc[_0x107068(0x291)],_0xb7dbdc[_0x107068(0x23c)](_0x303dc0)&&_0xb7dbdc[_0x107068(0x202)](_0x303dc0);_0x184385[_0x107068(0x200)](_0x425b15,{'path':_0x48a85c[_0x107068(0x222)](),'getContent':this[_0x107068(0x262)](_0xb7dbdc[_0x107068(0x296)](!0x0),_0x425b15,_0x5c86ba[_0x107068(0x1e5)])}),_0x235eab[_0x107068(0x224)](_0x144ea0[_0x107068(0x228)](_0x48a85c));}}return{'content':_0x5c86ba[_0x107068(0x1e5)][_0x107068(0x217)][_0x107068(0x257)](_0x5c86ba[_0x107068(0x1e5)][_0x107068(0x293)](_0x1ff5d8)),'version':_0x5c86ba[_0x107068(0x1cc)][_0x107068(0x29b)][_0x107068(0x1e9)],'elements':_0x184385};}[_0xcf4cc3(0x238)](_0x42daa4,_0x3f79f8){const _0x22faa6=_0xcf4cc3,_0x29a42e=_0x3df94b(this[_0x22faa6(0x265)]),_0x3ffa20=_0x29a42e[_0x22faa6(0x1e5)][_0x22faa6(0x20d)](_0x42daa4,_0x22faa6(0x22b)),_0x5b2633=_0x29a42e[_0x22faa6(0x1cc)][_0x22faa6(0x28e)](_0x3ffa20,0x0),_0x103e57=this[_0x22faa6(0x265)][_0x22faa6(0x23d)][_0x22faa6(0x211)](_0x22faa6(0x24c))[_0x22faa6(0x1dd)](_0x42daa4,_0x3f79f8,{'anchor':_0x5b2633,'markDeletions':!0x0})[_0x22faa6(0x22c)]()[_0x22faa6(0x1dc)](_0x3a2c6e=>_0x22faa6(0x20c)===_0x3a2c6e[_0x22faa6(0x21e)]||_0x22faa6(0x218)===_0x3a2c6e[_0x22faa6(0x21e)]&&_0x3a2c6e[_0x22faa6(0x297)][_0x22faa6(0x255)](_0x22faa6(0x1fe))),_0x1088b1=this[_0x22faa6(0x1f6)](_0x103e57),_0x31ab39=[];let _0xa0358d=0x0;return _0x29a42e[_0x22faa6(0x1cc)][_0x22faa6(0x234)](_0x3f0500=>{const _0x46a871=_0x22faa6;for(let _0x22e2d8=0x0;_0x22e2d8<_0x1088b1[_0x46a871(0x295)];_0x22e2d8++){const _0x4e6a47=_0x1088b1[_0x22e2d8],_0x12b328=_0x3f0500[_0x46a871(0x268)]();for(const _0x530672 of _0x3ffa20[_0x46a871(0x232)]())_0x3f0500[_0x46a871(0x249)](_0x530672[_0x46a871(0x296)](!0x0),_0x12b328);for(const _0x4c48db of _0x4e6a47[_0x46a871(0x24a)])if(_0x46a871(0x20c)===_0x4c48db[_0x46a871(0x21e)]){const _0x36d50f=_0x4c48db;_0x36d50f[_0x46a871(0x1f5)]=null,_0x36d50f[_0x46a871(0x21a)]=!0x1,this[_0x46a871(0x26e)](_0x36d50f,_0x12b328),_0x3f0500[_0x46a871(0x230)][_0x46a871(0x272)](_0x4c48db),_0x29a42e[_0x46a871(0x1cc)][_0x46a871(0x1e0)](_0x4c48db);const _0x589d71=_0x46a871(0x28d)+_0xa0358d++,_0x3d94d7=_0x29a42e[_0x46a871(0x1cc)][_0x46a871(0x21f)](_0x36d50f[_0x46a871(0x1eb)],_0x36d50f[_0x46a871(0x1eb)][_0x46a871(0x2a3)](_0x36d50f[_0x46a871(0x27e)]));_0x12b328[_0x46a871(0x1cf)][_0x46a871(0x200)](_0x589d71,_0x3d94d7);}else{if(_0x46a871(0x218)===_0x4c48db[_0x46a871(0x21e)]&&_0x4c48db[_0x46a871(0x297)][_0x46a871(0x255)](_0x46a871(0x1fe))){const _0x405fd4=_0x4c48db,_0x4fb9ae=_0x46a871(0x1d3)+_0xa0358d++;this[_0x46a871(0x26e)](_0x405fd4,_0x12b328),_0x12b328[_0x46a871(0x1cf)][_0x46a871(0x200)](_0x4fb9ae,_0x405fd4[_0x46a871(0x1fd)]);}}const _0x373a59=this[_0x46a871(0x26d)](this[_0x46a871(0x23f)](this[_0x46a871(0x26f)](_0x4e6a47[_0x46a871(0x24a)][0x0]),_0x12b328),this[_0x46a871(0x23f)](this[_0x46a871(0x248)](_0x4e6a47[_0x46a871(0x24a)][_0x4e6a47[_0x46a871(0x24a)][_0x46a871(0x295)]-0x1]),_0x12b328));_0x12b328[_0x46a871(0x1cf)][_0x46a871(0x200)](ue+_0x46a871(0x260),new _0x3c5abf(_0x373a59[_0x46a871(0x1cd)],_0x373a59[_0x46a871(0x271)])),_0x31ab39[_0x46a871(0x269)]({..._0x4e6a47,'context':this[_0x46a871(0x216)](_0x12b328,_0x29a42e[_0x46a871(0x1e5)],{'ellipsisBefore':_0x373a59[_0x46a871(0x259)],'ellipsisAfter':_0x373a59[_0x46a871(0x21c)]}),'content':this[_0x46a871(0x29f)](_0x12b328,_0x29a42e[_0x46a871(0x1e5)])});}}),_0x31ab39;}[_0xcf4cc3(0x26b)](_0x54b720,_0x58cdfd){const _0x3c4cbf=_0xcf4cc3,_0x3870ef=_0x54b720[0x0][_0x3c4cbf(0x291)]['id'],_0x5a31fe=_0x58cdfd[_0x3c4cbf(0x299)][_0x3c4cbf(0x211)](_0x3870ef);if(!_0x5a31fe)return void console[_0x3c4cbf(0x1ec)](_0x3c4cbf(0x261)+_0x3870ef);const _0x33cc6a=_0x5a31fe[_0x3c4cbf(0x20a)],_0x599ad7=_0x3df94b(this[_0x3c4cbf(0x265)]),_0x47ea92=_0x599ad7[_0x3c4cbf(0x1cc)][_0x3c4cbf(0x29b)][_0x3c4cbf(0x210)][_0x3c4cbf(0x22c)](_0x58cdfd[_0x3c4cbf(0x1e9)]),_0x3e11c8=[];for(const _0x366336 of _0x54b720){const _0x30b682=_0x366336[_0x3c4cbf(0x24a)][_0x3c4cbf(0x1d6)](_0x302910=>this[_0x3c4cbf(0x205)](_0x302910,_0x33cc6a,_0x599ad7[_0x3c4cbf(0x1cc)][_0x3c4cbf(0x29b)][_0x3c4cbf(0x289)]()[0x0]));if(!_0x30b682||!_0x30b682[_0x3c4cbf(0x295)])continue;const _0x245880=_0x30b682[_0x3c4cbf(0x1e2)](_0x3ccedb=>_0x3c4cbf(0x218)===_0x3ccedb[_0x3c4cbf(0x21e)]&&_0x3ccedb[_0x3c4cbf(0x297)][_0x3c4cbf(0x255)](_0x3c4cbf(0x1fe))),_0x33cc3f={'document':_0x599ad7[_0x3c4cbf(0x1cc)][_0x3c4cbf(0x29b)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x3a2baa=_0x50fff2(_0x30b682,_0x47ea92,_0x33cc3f)[_0x3c4cbf(0x206)];for(const _0x1ee042 of _0x3a2baa)if(_0x3c4cbf(0x20c)===_0x1ee042[_0x3c4cbf(0x21e)]){const _0x2e3f0f=_0x1ee042,_0x506b88=_0x2e3f0f[_0x3c4cbf(0x215)];let _0x45f07f='';for(const _0x421e51 of _0x506b88)_0x421e51&&_0x421e51['is'](_0x3c4cbf(0x294))&&(_0x45f07f+=_0x421e51[_0x3c4cbf(0x1e5)]);_0x3e11c8[_0x3c4cbf(0x269)]({'start':_0x2e3f0f[_0x3c4cbf(0x1eb)],'end':_0x2e3f0f[_0x3c4cbf(0x1eb)],'type':_0x3c4cbf(0x20c),'groupId':_0x366336['id'],'text':_0x45f07f});}else{if(_0x3c4cbf(0x218)===_0x1ee042[_0x3c4cbf(0x21e)]&&_0x1ee042[_0x3c4cbf(0x297)][_0x3c4cbf(0x255)](_0x3c4cbf(0x1fe))){const _0x1dc56d=_0x1ee042;let _0x4a238b=_0x3c4cbf(0x1e3);if(_0x245880){const _0xa5f90d=this[_0x3c4cbf(0x241)](_0x1dc56d[_0x3c4cbf(0x1fd)][_0x3c4cbf(0x1cd)],_0x3c4cbf(0x1d1),_0x599ad7[_0x3c4cbf(0x1cc)][_0x3c4cbf(0x27c)]),_0x63d419=this[_0x3c4cbf(0x241)](_0x1dc56d[_0x3c4cbf(0x1fd)][_0x3c4cbf(0x271)],_0x3c4cbf(0x239),_0x599ad7[_0x3c4cbf(0x1cc)][_0x3c4cbf(0x27c)]);if(_0xa5f90d||_0x63d419){const _0x42ebde=_0x1dc56d[_0x3c4cbf(0x1fd)][_0x3c4cbf(0x1cd)][_0x3c4cbf(0x2a3)](-_0xa5f90d),_0x3fce91=_0x1dc56d[_0x3c4cbf(0x1fd)][_0x3c4cbf(0x271)][_0x3c4cbf(0x2a3)](_0x63d419);_0x3e11c8[_0x3c4cbf(0x269)]({'start':_0x42ebde,'end':_0x3fce91,'groupId':_0x366336['id'],'type':_0x3c4cbf(0x298)});}else _0x4a238b=_0x3c4cbf(0x2a5);}_0x3e11c8[_0x3c4cbf(0x269)]({'start':_0x1dc56d[_0x3c4cbf(0x1fd)][_0x3c4cbf(0x1cd)],'end':_0x1dc56d[_0x3c4cbf(0x1fd)][_0x3c4cbf(0x271)],'groupId':_0x366336['id'],'type':_0x4a238b});}}}this[_0x3c4cbf(0x240)](_0x3e11c8);}[_0xcf4cc3(0x1d8)](){const _0x4387ee=_0xcf4cc3;_0x3df94b(this[_0x4387ee(0x265)])[_0x4387ee(0x1cc)][_0x4387ee(0x234)](_0x4e4820=>{const _0x149f94=_0x4387ee;for(const _0x268f3b of this[_0x149f94(0x254)][_0x149f94(0x28c)]())_0x4e4820[_0x149f94(0x1da)](_0x268f3b);}),this[_0x4387ee(0x254)][_0x4387ee(0x264)]();}[_0xcf4cc3(0x22f)](){const _0x1c9596=_0xcf4cc3;_0x3df94b(this[_0x1c9596(0x265)])[_0x1c9596(0x20f)](_0x1c9596(0x290));}[_0xcf4cc3(0x266)](){const _0x490739=_0xcf4cc3;_0x3df94b(this[_0x490739(0x265)])[_0x490739(0x26c)](_0x490739(0x290));}[_0xcf4cc3(0x213)](_0x3a1844){const _0x5a5ba5=_0xcf4cc3,_0x8a539f=_0x3df94b(this[_0x5a5ba5(0x265)]),_0x118e38=_0x8a539f[_0x5a5ba5(0x1cc)],_0x15b7ae=_0x3a1844[_0x5a5ba5(0x1d6)](_0x30c698=>this[_0x5a5ba5(0x20e)](_0x30c698))[_0x5a5ba5(0x279)]();_0x118e38[_0x5a5ba5(0x234)](_0x426c4e=>{const _0x4cb8f0=_0x5a5ba5;for(const _0x2c79c2 of _0x15b7ae){const _0x48876f=_0x8a539f[_0x4cb8f0(0x1cc)][_0x4cb8f0(0x1cf)][_0x4cb8f0(0x211)](_0x2c79c2['id']);_0x48876f&&(_0x4cb8f0(0x20c)===_0x2c79c2[_0x4cb8f0(0x21e)]?_0x118e38[_0x4cb8f0(0x1ce)](_0x426c4e[_0x4cb8f0(0x247)](_0x2c79c2[_0x4cb8f0(0x280)]||''),_0x48876f[_0x4cb8f0(0x1ed)]()[_0x4cb8f0(0x1cd)]):_0x4cb8f0(0x1e3)!==_0x2c79c2[_0x4cb8f0(0x21e)]&&_0x4cb8f0(0x2a5)!==_0x2c79c2[_0x4cb8f0(0x21e)]||_0x118e38[_0x4cb8f0(0x227)](_0x118e38[_0x4cb8f0(0x235)](_0x48876f[_0x4cb8f0(0x1ed)]())),_0x426c4e[_0x4cb8f0(0x1da)](_0x2c79c2['id']),this[_0x4cb8f0(0x254)][_0x4cb8f0(0x270)](_0x2c79c2['id']));}});}[_0xcf4cc3(0x1f0)](_0x507baf){const _0x352159=_0xcf4cc3,_0x19016d=_0x3df94b(this[_0x352159(0x265)]),_0x1a0904=this[_0x352159(0x20e)](_0x507baf);_0x19016d[_0x352159(0x1cc)][_0x352159(0x234)](_0x511227=>{const _0xcb5dd0=_0x352159;for(const _0x519995 of _0x1a0904)_0x511227[_0xcb5dd0(0x1da)](_0x519995['id']),this[_0xcb5dd0(0x254)][_0xcb5dd0(0x270)](_0x519995['id']);});}[_0xcf4cc3(0x1ee)](){const _0x1d80d1=_0xcf4cc3;return _0x3df94b(this[_0x1d80d1(0x265)]);}[_0xcf4cc3(0x1e7)](_0xb47957){const _0x5814aa=_0xcf4cc3,_0x25f005=Array[_0x5814aa(0x1ea)](this[_0x5814aa(0x254)][_0x5814aa(0x24b)]())[_0x5814aa(0x1dc)](_0xe2ede=>_0xe2ede[_0x5814aa(0x282)]===_0xb47957);if(!_0x25f005[_0x5814aa(0x295)])return null;const _0x12e45a=0x1===_0x25f005[_0x5814aa(0x295)]?_0x25f005[0x0]:this[_0x5814aa(0x225)](_0x25f005)[0x0],_0x2f0d8c=_0x3df94b(this[_0x5814aa(0x265)]),_0x94b1ad=_0x2f0d8c[_0x5814aa(0x1cc)][_0x5814aa(0x1cf)][_0x5814aa(0x211)](_0x12e45a['id']);if(!_0x94b1ad)return null;const _0x2388ae=_0x94b1ad[_0x5814aa(0x1ed)](),_0x232fd7=_0x2f0d8c[_0x5814aa(0x29a)][_0x5814aa(0x214)][_0x5814aa(0x251)]();if(!_0x232fd7||!_0x2388ae)return null;const _0x53f285=_0x232fd7[_0x5814aa(0x1f4)](_0x5814aa(0x226)+_0x12e45a['id']+'\x22]');return _0x53f285?{'modelRange':_0x2388ae,'domElement':_0x53f285}:null;}[_0xcf4cc3(0x205)](_0x260487,_0x19fec3,_0x4dcc91){const _0x5d29c8=_0xcf4cc3;if(_0x5d29c8(0x20c)===_0x260487[_0x5d29c8(0x21e)]){const _0x240b6d=_0x260487;return new _0x14f967(this[_0x5d29c8(0x23a)](_0x240b6d[_0x5d29c8(0x1eb)],_0x19fec3[_0x5d29c8(0x1d9)](_0x240b6d[_0x5d29c8(0x1eb)][_0x5d29c8(0x1f1)]),_0x4dcc91),_0x240b6d[_0x5d29c8(0x215)],_0x240b6d[_0x5d29c8(0x1f5)]);}if(_0x5d29c8(0x218)===_0x260487[_0x5d29c8(0x21e)]&&_0x260487[_0x5d29c8(0x297)][_0x5d29c8(0x255)](_0x5d29c8(0x1fe))){const _0x37d8dd=_0x260487;return new _0x2d514b(_0x37d8dd[_0x5d29c8(0x297)],_0x37d8dd[_0x5d29c8(0x219)],this[_0x5d29c8(0x220)](_0x37d8dd[_0x5d29c8(0x1fd)],_0x19fec3[_0x5d29c8(0x1d9)](_0x37d8dd[_0x5d29c8(0x1fd)][_0x5d29c8(0x1cd)][_0x5d29c8(0x1f1)]),_0x19fec3[_0x5d29c8(0x1d9)](_0x37d8dd[_0x5d29c8(0x1fd)][_0x5d29c8(0x271)][_0x5d29c8(0x1f1)]),_0x4dcc91),_0x37d8dd[_0x5d29c8(0x254)],_0x37d8dd[_0x5d29c8(0x1f8)],_0x37d8dd[_0x5d29c8(0x1f5)]);}return _0x260487;}[_0xcf4cc3(0x1f6)](_0x5d53fa){const _0x1a5298=_0xcf4cc3;if(!_0x5d53fa[_0x1a5298(0x295)])return[];const _0x5bfc0b=[];let _0x26b0ef=0x0,_0x293a5c=0x0,_0x2a87c0=[];for(let _0x2a2f48=0x0;_0x2a2f48<=_0x5d53fa[_0x1a5298(0x295)];_0x2a2f48++){const _0x4e3fff=_0x5d53fa[_0x2a2f48],_0x58e272=_0x5d53fa[_0x2a2f48-0x1];!_0x4e3fff||_0x58e272&&!this[_0x1a5298(0x248)](_0x58e272)[_0x1a5298(0x2a0)](this[_0x1a5298(0x26f)](_0x4e3fff))?(_0x5bfc0b[_0x1a5298(0x269)]({'operations':_0x2a87c0,'operationsIsolated':_0x2a87c0[_0x1a5298(0x1d6)](_0x47da75=>this[_0x1a5298(0x27d)](_0x47da75[_0x1a5298(0x25e)](),-_0x293a5c)),'groupOffset':_0x26b0ef}),_0x2a87c0=_0x4e3fff?[_0x4e3fff]:[],_0x293a5c+=_0x26b0ef,_0x26b0ef=0x0):_0x2a87c0[_0x1a5298(0x269)](_0x4e3fff),_0x4e3fff&&_0x1a5298(0x20c)===_0x4e3fff[_0x1a5298(0x21e)]&&(_0x26b0ef+=_0x4e3fff[_0x1a5298(0x27e)]);}return _0x5bfc0b;}[_0xcf4cc3(0x241)](_0x4e8633,_0x417c01,_0x3d753f,_0x219aab=0x1){const _0x1ef264=_0xcf4cc3,_0x6fe276=new _0x16699b({'startPosition':_0x4e8633,'direction':_0x417c01});let _0x4d201a=0x0;for(let _0x292abc=0x0;_0x292abc<_0x219aab;_0x292abc++){let _0x41f763=0x0,_0x47edbf=!0x1,_0x7e1e76=_0x1ef264(0x239)===_0x417c01?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x4a8770}of _0x6fe276)if(_0x4a8770['is'](_0x1ef264(0x20b))){const _0x424efd=_0x7e1e76[_0x1ef264(0x28b)](_0x4a8770[_0x1ef264(0x1e5)]);if(_0x424efd&&_0x424efd[_0x1ef264(0x295)]){if(_0x41f763+=_0x1ef264(0x239)===_0x417c01?_0x424efd[_0x1ef264(0x24f)]+_0x424efd[0x0][_0x1ef264(0x295)]:_0x4a8770[_0x1ef264(0x1e5)][_0x1ef264(0x295)]-_0x424efd[_0x1ef264(0x24f)],_0x424efd[0x0][_0x1ef264(0x295)]!==_0x4a8770[_0x1ef264(0x1e5)][_0x1ef264(0x295)])break;_0x47edbf=!0x0,_0x7e1e76=_0x1ef264(0x239)===_0x417c01?/^\w+/:/\w+$/;}else{if(_0x47edbf)break;_0x41f763+=_0x4a8770[_0x1ef264(0x1d0)];}}else{if(_0x4a8770['is'](_0x1ef264(0x27b))){_0x3d753f[_0x1ef264(0x1cb)](_0x4a8770)&&!_0x47edbf&&(_0x41f763+=0x1);break;}}_0x4d201a+=_0x41f763,_0x6fe276[_0x1ef264(0x224)](_0x4e8633[_0x1ef264(0x2a3)](_0x1ef264(0x239)===_0x417c01?_0x4d201a:-_0x4d201a));}return _0x4d201a;}[_0xcf4cc3(0x26d)](_0x1196d2,_0x597fd3){const _0x2b0f14=_0xcf4cc3,_0x20f328=_0x3df94b(this[_0x2b0f14(0x265)])[_0x2b0f14(0x1cc)][_0x2b0f14(0x27c)],_0x5226f5=this[_0x2b0f14(0x241)](_0x1196d2,_0x2b0f14(0x1d1),_0x20f328,0x6),_0x429511=this[_0x2b0f14(0x241)](_0x597fd3,_0x2b0f14(0x239),_0x20f328,0x6),_0x29ce81=_0x1196d2[_0x2b0f14(0x2a3)](-_0x5226f5),_0x20537b=_0x597fd3[_0x2b0f14(0x2a3)](_0x429511);return{'start':_0x29ce81,'end':_0x20537b,'hasContentBefore':!_0x29ce81[_0x2b0f14(0x29e)],'hasContentAfter':!_0x20537b[_0x2b0f14(0x263)]};}[_0xcf4cc3(0x240)](_0x54a83d){const _0x44b29a=_0xcf4cc3,_0x5afc73=this[_0x44b29a(0x265)][_0x44b29a(0x23d)][_0x44b29a(0x211)](_0x44b29a(0x24d)),_0x5b6c65=new Set();_0x3df94b(this[_0x44b29a(0x265)])[_0x44b29a(0x1cc)][_0x44b29a(0x234)](_0x1416c4=>{const _0x4bf082=_0x44b29a;for(const _0x66fc00 of _0x54a83d){const _0x5892f3=''+ue+_0x66fc00[_0x4bf082(0x21e)]+':'+_0x66fc00[_0x4bf082(0x282)]+'_'+_0x5afc73[_0x4bf082(0x267)](_0x5b6c65);this[_0x4bf082(0x254)][_0x4bf082(0x200)](_0x5892f3,{'id':_0x5892f3,'groupId':_0x66fc00[_0x4bf082(0x282)],'type':_0x66fc00[_0x4bf082(0x21e)],'text':_0x66fc00[_0x4bf082(0x280)]}),_0x1416c4[_0x4bf082(0x229)](_0x5892f3,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1416c4[_0x4bf082(0x21f)](_0x66fc00[_0x4bf082(0x1cd)],_0x66fc00[_0x4bf082(0x271)])});}});}[_0xcf4cc3(0x216)](_0x56ce73,_0xe65321,_0x243431){let _0x48fef8='';return()=>{const _0x21a989=_0x20fd;if(!_0x48fef8){const _0x5818f6=_0xe65321[_0x21a989(0x293)](_0x56ce73,{'showSuggestionHighlights':!0x0}),_0x1086f1=_0x5818f6[_0x21a989(0x2a1)](0x0);if(!_0x1086f1)return'';let _0x46eec9=!0x1;const _0x28328a=[];for(const _0x3e4a94 of _0x1086f1[_0x21a989(0x232)]())_0x3e4a94['is'](_0x21a989(0x27b),_0x21a989(0x1de))&&_0x3e4a94[_0x21a989(0x1e1)](_0x21a989(0x276))&&(_0x46eec9=!0x1),_0x46eec9&&_0x28328a[_0x21a989(0x269)](_0x3e4a94),_0x3e4a94['is'](_0x21a989(0x27b),_0x21a989(0x1de))&&_0x3e4a94[_0x21a989(0x1e1)](_0x21a989(0x278))&&(_0x46eec9=!0x0);_0x1086f1[_0x21a989(0x1df)](0x0,_0x1086f1[_0x21a989(0x25a)]),_0x243431?.[_0x21a989(0x243)]&&_0x1086f1[_0x21a989(0x231)]('…'),_0x1086f1[_0x21a989(0x231)](_0x28328a),_0x243431?.[_0x21a989(0x25c)]&&_0x1086f1[_0x21a989(0x231)]('…');const _0x6ddcf3=_0xe65321[_0x21a989(0x292)][_0x21a989(0x23e)][_0x21a989(0x253)](_0x5818f6),_0x16e52a=_0xe65321[_0x21a989(0x292)][_0x21a989(0x207)][_0x21a989(0x21b)](_0x6ddcf3);_0x48fef8=_0x16e52a;}return _0x48fef8;};}[_0xcf4cc3(0x29f)](_0x3ab365,_0x28e206){const _0x2d250a=_0xcf4cc3;let _0x55dad5='';return()=>(_0x55dad5||(_0x55dad5=_0x28e206[_0x2d250a(0x285)](_0x3ab365,{'showSuggestionHighlights':!0x0})),_0x55dad5);}[_0xcf4cc3(0x262)](_0x28b0ef,_0x155033,_0x35bce3){let _0x4172ac='';return()=>{const _0x2a73b5=_0x20fd;if(!_0x4172ac){const _0x48d01e=_0x35bce3[_0x2a73b5(0x293)](new _0x12da2a(_0x28b0ef)),_0x16558f=_0x35bce3[_0x2a73b5(0x292)][_0x2a73b5(0x23e)][_0x2a73b5(0x253)](_0x48d01e)[_0x2a73b5(0x1f4)](_0x2a73b5(0x29c)+_0x155033+'\x22]');_0x4172ac=_0x16558f?.[_0x2a73b5(0x1ef)]||'';}return _0x4172ac;};}[_0xcf4cc3(0x22d)](_0x284db2,_0x197ecf=0x5){const _0x5a4604=_0xcf4cc3;let _0x254b81=_0x284db2,_0xb8f5be=null;for(let _0x1f4be8=0x0;_0x1f4be8<_0x197ecf&&_0x254b81;_0x1f4be8++){if(!_0x254b81[_0x5a4604(0x1d4)]){_0x254b81=_0x254b81[_0x5a4604(0x286)];continue;}if(!(''+_0x254b81[_0x5a4604(0x1d4)])[_0x5a4604(0x283)](_0x5a4604(0x25b))){_0x254b81=_0x254b81[_0x5a4604(0x286)];continue;}if(!_0x254b81[_0x5a4604(0x25d)](_0x5a4604(0x29d)))break;_0xb8f5be=_0x254b81;break;}return _0xb8f5be;}[_0xcf4cc3(0x20e)](_0x783e5f){const _0x2d7062=_0xcf4cc3;return Array[_0x2d7062(0x1ea)](this[_0x2d7062(0x254)][_0x2d7062(0x24b)]())[_0x2d7062(0x1dc)](_0x5ab609=>_0x5ab609[_0x2d7062(0x282)]===_0x783e5f);}[_0xcf4cc3(0x26f)](_0x894b73){const _0x31ae3e=_0xcf4cc3;return _0x31ae3e(0x20c)===_0x894b73[_0x31ae3e(0x21e)]?_0x894b73[_0x31ae3e(0x1eb)]:_0x894b73[_0x31ae3e(0x1fd)][_0x31ae3e(0x1cd)];}[_0xcf4cc3(0x248)](_0x1d99cf,_0x532d90=!0x1){const _0x56a80b=_0xcf4cc3;return _0x56a80b(0x20c)===_0x1d99cf[_0x56a80b(0x21e)]?_0x532d90?_0x1d99cf[_0x56a80b(0x1eb)]:_0x1d99cf[_0x56a80b(0x1eb)][_0x56a80b(0x2a3)](_0x1d99cf[_0x56a80b(0x27e)]):_0x1d99cf[_0x56a80b(0x1fd)][_0x56a80b(0x271)];}[_0xcf4cc3(0x27d)](_0x1f1bd0,_0x248a27){const _0x7867b4=_0xcf4cc3;return _0x7867b4(0x20c)===_0x1f1bd0[_0x7867b4(0x21e)]?_0x1f1bd0[_0x7867b4(0x1eb)]=_0x1f1bd0[_0x7867b4(0x1eb)][_0x7867b4(0x2a3)](_0x248a27):_0x7867b4(0x218)===_0x1f1bd0[_0x7867b4(0x21e)]&&_0x1f1bd0[_0x7867b4(0x1fd)]&&(_0x1f1bd0[_0x7867b4(0x1fd)]=new _0x3c5abf(_0x1f1bd0[_0x7867b4(0x1fd)][_0x7867b4(0x1cd)][_0x7867b4(0x2a3)](_0x248a27),_0x1f1bd0[_0x7867b4(0x1fd)][_0x7867b4(0x271)][_0x7867b4(0x2a3)](_0x248a27))),_0x1f1bd0;}[_0xcf4cc3(0x26e)](_0x333bb9,_0x377beb){const _0x57c667=_0xcf4cc3;_0x57c667(0x20c)===_0x333bb9[_0x57c667(0x21e)]?_0x333bb9[_0x57c667(0x1eb)]=this[_0x57c667(0x23f)](_0x333bb9[_0x57c667(0x1eb)],_0x377beb):_0x57c667(0x218)===_0x333bb9[_0x57c667(0x21e)]&&_0x333bb9[_0x57c667(0x1fd)]&&(_0x333bb9[_0x57c667(0x1fd)]=this[_0x57c667(0x1f9)](_0x333bb9[_0x57c667(0x1fd)],_0x377beb));}[_0xcf4cc3(0x23f)](_0x2d4912,_0x21432b){const _0x4e43f9=_0xcf4cc3;return new _0x41f9d9(_0x21432b,_0x2d4912[_0x4e43f9(0x20a)]);}[_0xcf4cc3(0x1f9)](_0x59d0ba,_0x509405){const _0x1e6939=_0xcf4cc3;return new _0x3c5abf(this[_0x1e6939(0x23f)](_0x59d0ba[_0x1e6939(0x1cd)],_0x509405),this[_0x1e6939(0x23f)](_0x59d0ba[_0x1e6939(0x271)],_0x509405));}[_0xcf4cc3(0x23a)](_0x32b0ac,_0x5c5e47,_0x2f1980){return new _0x41f9d9(_0x2f1980,[..._0x5c5e47]);}[_0xcf4cc3(0x220)](_0x40d132,_0x1c4a25,_0x5d0b43,_0x4d0a08){const _0x3b06f0=_0xcf4cc3;return new _0x3c5abf(this[_0x3b06f0(0x23a)](_0x40d132[_0x3b06f0(0x1cd)],_0x1c4a25,_0x4d0a08),this[_0x3b06f0(0x23a)](_0x40d132[_0x3b06f0(0x271)],_0x5d0b43,_0x4d0a08));}[_0xcf4cc3(0x225)](_0x53685f){const _0x3d76cb=_0xcf4cc3,_0x51419d=_0x542356=>{const _0x54b582=_0x20fd;switch(_0x542356){case _0x54b582(0x20c):return 0x1;case _0x54b582(0x298):return 0x2;case _0x54b582(0x2a5):return 0x3;case _0x54b582(0x1e3):return 0x4;}};return _0x53685f[_0x3d76cb(0x204)]((_0x1da01b,_0x4f7117)=>_0x51419d(_0x1da01b[_0x3d76cb(0x21e)])-_0x51419d(_0x4f7117[_0x3d76cb(0x21e)]));}}
23
+ const _0x2f63fa=_0x54bb;(function(_0x3fb24a,_0x4ef442){const _0xe624c0=_0x54bb,_0x354044=_0x3fb24a();while(!![]){try{const _0x55414a=-parseInt(_0xe624c0(0x1dc))/0x1+-parseInt(_0xe624c0(0x1e5))/0x2*(-parseInt(_0xe624c0(0x1be))/0x3)+parseInt(_0xe624c0(0x261))/0x4+-parseInt(_0xe624c0(0x203))/0x5+-parseInt(_0xe624c0(0x231))/0x6+parseInt(_0xe624c0(0x1d1))/0x7+parseInt(_0xe624c0(0x287))/0x8*(-parseInt(_0xe624c0(0x276))/0x9);if(_0x55414a===_0x4ef442)break;else _0x354044['push'](_0x354044['shift']());}catch(_0x2a6ee5){_0x354044['push'](_0x354044['shift']());}}}(_0x9cea,0xc26be));import{InsertOperation as _0x44ba1e,MarkerOperation as _0x3ab45b,ModelDocumentFragment as _0x58a5a6,ModelPosition as _0x5611d6,ModelRange as _0x125146,ModelTreeWalker as _0x17fe61,transformOperationSets as _0x3f53ae}from'ckeditor5/src/engine.js';import{DomEmitterMixin as _0x28a6e9,EmitterMixin as _0x13ee6b}from'ckeditor5/src/utils.js';import{ContextPlugin as _0x383958}from'ckeditor5/src/core.js';function _0x9cea(){const _0x37955c=['getDomRoot','elements','_getOperationEnd','forEach','260fgWHWc','schema','_createGetContextFn','_changeRangeOwnerDocument','switchToReadOnly','_changeRange','No\x20element\x20found\x20for\x20ID:\x20','createRange','_createGetContentFn','keys','oldRange','changeMarkerRestored','attributeToAttribute','className','offset','marker','pluginName','markChangePositionInEditorContent','_validateMarkers','differ','getRoots','append','getMarkerElementForChange','name','switchToEdit','length','disableReadOnlyMode','enableReadOnlyMode','suggestion:insertion:id:authorId:','changeMarkerRemoved','6769165uYIugb','_sortMarkers','ellipsisAfter','offsetSize','element','groupId','$documentFragment','createText','ck-ai_review-mode-marker_hide','getChangedMarkers','end','remove-context','change','changeMarkerClick','index','containsRange','domConverter','markerToElement','size','hasContentBefore','every','AIReviewModeEditing','add','warn','applyOperation','_getOperationStart','pop','values','_shiftOperation','ck-ai_review-mode-marker_underline','outerHTML','operationsA','ck-ai_review-mode-marker_context-end','htmlProcessor','isIntersecting','afterInit','path','addMarker','getStart','clear','push','version','getPath','createPositionAfter','childCount','isInline','607044SsXOMX','exec','isAtEnd','removeMarker','$textProxy','parentElement','clone','[data-marker-id=\x22','diffContent','isPremiumPlugin','position','ck-ai_review-mode-marker_','ck-ai_review-mode-marker_context-start','$graveyard','hasAttribute','newRange','data-marker-id','getDiff','getChild','view','listenTo','createSelection','isOpening','innerHTML','_domEmitter','affectsData','_eventEmitter','_markers','[data-id=\x22','_hasSameTopLevelElement','getEditor','data','remove-only','baseVersion','suggestion-context','map','target','backward','clearAllMarkers','batch','querySelector','rejectChange','isDocumentOperation','caption','has','model','createPositionAt','requires','4129588rUKEUy','fire','conversion','markers','text','sort','click','downcast','delete','isOfficialPlugin','root','rootName','_appendChild','ck-ai_review-mode-marker_strikethrough','_setAttribute','htmlWriter','parent','getAttribute','toData','concat','getRange','36SJtBhp','includes','createDocumentFragment','document','documentFragment','getChanges','getHtml','_insertMarkers','_handleMarkerChanges','_changePositionOwnerDocument','toDomElement','insert','_nextDataId','ck-ai_review-mode-marker_add','_changePosition','filter','editingDowncast','17504UbArxb','remove-text','getShiftedBy','context','applyChange','hasContentAfter','for','remove','_groupAdjacentOperations','_findAdjacentContextDistance','stringify','_changeOperationOwnerDocument','createRawElement','$markedRemove','dataDowncast','startsWith','_clone','processor','ellipsisBefore','parse','nodes','forward','addOperation','getChildren','from','_removeAttribute','ck-ai_review-mode-marker_context-','ai-review-mode','isAtStart','registerPostFixer','type','insertContent','plugins','AIEditing','reviewmode-','get','27033BYBouB','flat','editing','span','_getChangeContext','_createGetContentUsingDataIdFn','operationsIsolated','markerToHighlight','start','_translateOperationToEditorContent','getDocumentData','isTouching','deleteContent','history','getRoot','split','_findMarkerElement','_removeChildren','toView','3910501FrwoMx','howMany','jumpTo','markerName','hasClass','emitter','_getMarkersDataForGroup','suggestion:deletion:id:authorId:','set','_parseMarkerName','createUIElement','502361kJydad','model:$text','viewToDom','DocumentCompare','getOperations'];_0x9cea=function(){return _0x37955c;};return _0x9cea();}import{DocumentCompare as _0x386bc2,DATA_ID_MODEL_ATTRIBUTE as _0x3a6ae6,DATA_ID_VIEW_ATTRIBUTE as _0x4c8700}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x54bb(_0x5c6e9e,_0x3bb4c9){const _0x9ceaa3=_0x9cea();return _0x54bb=function(_0x54bbce,_0x388f91){_0x54bbce=_0x54bbce-0x1b1;let _0x4daaaf=_0x9ceaa3[_0x54bbce];return _0x4daaaf;},_0x54bb(_0x5c6e9e,_0x3bb4c9);}import{getEditorFromContext as _0x4dc46b}from'../aicore/utils/geteditorfromcontext.js';import{AIEditing as _0x8bc9be}from'../aicore/aiediting.js';const we=_0x2f63fa(0x1bc);export class AIReviewModeEditing extends _0x383958{static get[_0x2f63fa(0x1f5)](){const _0x2b2131=_0x2f63fa;return _0x2b2131(0x218);}static get[_0x2f63fa(0x260)](){return[_0x386bc2,_0x8bc9be];}static get[_0x2f63fa(0x26a)](){return!0x0;}static get[_0x2f63fa(0x23a)](){return!0x0;}[_0x2f63fa(0x24c)]=new Map();[_0x2f63fa(0x249)];[_0x2f63fa(0x24b)];constructor(_0x41bc36){const _0x13aa2e=_0x2f63fa;super(_0x41bc36),this[_0x13aa2e(0x249)]=new(_0x28a6e9())(),this[_0x13aa2e(0x24b)]=new(_0x13ee6b())();}get[_0x2f63fa(0x1d6)](){const _0x1447d4=_0x2f63fa;return this[_0x1447d4(0x24b)];}[_0x2f63fa(0x226)](){const _0xa89d75=_0x2f63fa,_0x2a0f32=_0x4dc46b(this[_0xa89d75(0x28a)]);_0x2a0f32[_0xa89d75(0x263)][_0xa89d75(0x28d)](_0xa89d75(0x286))[_0xa89d75(0x214)]({'model':we+_0xa89d75(0x281),'view':(_0x599f46,{writer:_0x4dc551})=>{const _0x563345=_0xa89d75,_0x2cbd53=this[_0x563345(0x24c)][_0x563345(0x1bd)](_0x599f46[_0x563345(0x1d4)]),_0x7dd1a9={'class':_0x563345(0x283),'data-marker-id':_0x599f46[_0x563345(0x1d4)]};return _0x4dc551[_0x563345(0x1db)](_0x563345(0x1c1),_0x7dd1a9,function(_0x41dafe){const _0x521967=_0x563345,_0x4abb53=this[_0x521967(0x280)](_0x41dafe);return _0x4abb53[_0x521967(0x248)]=_0x2cbd53?.[_0x521967(0x265)]||'',_0x4abb53;});}}),_0x2a0f32[_0xa89d75(0x263)][_0xa89d75(0x28d)](_0xa89d75(0x286))[_0xa89d75(0x1c5)]({'model':we+_0xa89d75(0x251),'view':_0x4084a6=>({'classes':_0xa89d75(0x26e),'attributes':{'data-marker-id':_0x4084a6[_0xa89d75(0x1d4)]}})}),_0x2a0f32[_0xa89d75(0x263)][_0xa89d75(0x28d)](_0xa89d75(0x286))[_0xa89d75(0x1c5)]({'model':we+_0xa89d75(0x20e),'view':_0x667361=>({'classes':_0xa89d75(0x220),'attributes':{'data-marker-id':_0x667361[_0xa89d75(0x1d4)]}})}),_0x2a0f32[_0xa89d75(0x263)][_0xa89d75(0x28d)](_0xa89d75(0x286))[_0xa89d75(0x1c5)]({'model':we+_0xa89d75(0x288),'view':_0x5ad855=>({'classes':_0xa89d75(0x20b),'attributes':{'data-marker-id':_0x5ad855[_0xa89d75(0x1d4)]}})}),_0x2a0f32[_0xa89d75(0x263)][_0xa89d75(0x28d)](_0xa89d75(0x295))[_0xa89d75(0x214)]({'model':we+_0xa89d75(0x253),'view':(_0x87d557,{writer:_0x5969a5})=>_0x5969a5[_0xa89d75(0x293)](_0xa89d75(0x1c1),{'class':_0xa89d75(0x1b4)+(_0x87d557[_0xa89d75(0x247)]?_0xa89d75(0x1c6):_0xa89d75(0x20d))})}),_0x2a0f32[_0xa89d75(0x263)][_0xa89d75(0x28d)](_0xa89d75(0x268))[_0xa89d75(0x1f1)]({'model':_0x3a6ae6,'view':_0x4c8700}),this[_0xa89d75(0x249)][_0xa89d75(0x245)](document,_0xa89d75(0x267),(_0x40d9c4,_0x129eb2)=>{const _0x8d52da=_0xa89d75,_0x4d7b24=_0x129eb2[_0x8d52da(0x255)],_0x60b6eb=this[_0x8d52da(0x1ce)](_0x4d7b24);if(!_0x60b6eb)return;const _0x403110=_0x60b6eb[_0x8d52da(0x272)](_0x8d52da(0x241)),_0x444853=_0x403110[_0x8d52da(0x1cd)](':')[_0x8d52da(0x21d)]()?.[_0x8d52da(0x1cd)]('_')[0x0];this[_0x8d52da(0x24b)][_0x8d52da(0x262)](_0x8d52da(0x210),{'markerId':_0x403110,'changeId':_0x444853});}),_0x2a0f32[_0xa89d75(0x25e)][_0xa89d75(0x279)][_0xa89d75(0x1b7)](_0x10db42=>this[_0xa89d75(0x1f7)](_0x2a0f32,_0x10db42)),_0x2a0f32[_0xa89d75(0x25e)][_0xa89d75(0x279)]['on'](_0xa89d75(0x20f),()=>this[_0xa89d75(0x27e)](_0x2a0f32));}[_0x2f63fa(0x1c8)](){const _0x4c004e=_0x2f63fa,_0x10fcb1=this[_0x4c004e(0x28a)][_0x4c004e(0x1ba)][_0x4c004e(0x1bd)](_0x4c004e(0x1bb)),_0x3fe9e6=_0x4dc46b(this[_0x4c004e(0x28a)]),_0x3ed2b8=_0x3fe9e6[_0x4c004e(0x25e)],_0x42ae61=new _0x58a5a6();for(const _0x1328dc of _0x3ed2b8[_0x4c004e(0x279)][_0x4c004e(0x1cc)]()[_0x4c004e(0x1b1)]()){const _0x215f0a=_0x1328dc[_0x4c004e(0x297)](!0x0);_0x42ae61[_0x4c004e(0x26d)](_0x215f0a);}for(const _0x109b46 of _0x3ed2b8[_0x4c004e(0x264)])_0x42ae61[_0x4c004e(0x264)][_0x4c004e(0x1d9)](_0x109b46[_0x4c004e(0x1fc)],this[_0x4c004e(0x1e8)](_0x109b46[_0x4c004e(0x275)]()[_0x4c004e(0x237)](),_0x42ae61));const _0x561815=new _0x17fe61({'ignoreElementEnd':!0x0,'startPosition':_0x3ed2b8[_0x4c004e(0x25f)](_0x42ae61,0x0)}),_0x4cf483=new Set(),_0x2c4b37=new Map();for(const {item:_0x5996e9}of _0x561815){if(!_0x5996e9['is'](_0x4c004e(0x235)))continue;const _0x2fad8f=_0x5996e9[_0x4c004e(0x271)];if((!_0x2fad8f||!_0x2fad8f['is'](_0x4c004e(0x207),_0x4c004e(0x25c)))&&(_0x2fad8f&&_0x2fad8f['is'](_0x4c004e(0x207)))){let _0x5dfec8=_0x2fad8f[_0x4c004e(0x272)](_0x3a6ae6);_0x5dfec8||(_0x5dfec8=_0x10fcb1[_0x4c004e(0x282)](_0x4cf483),_0x2fad8f[_0x4c004e(0x26f)](_0x3a6ae6,_0x5dfec8)),_0x4cf483[_0x4c004e(0x219)](_0x5dfec8);let _0x47e9ab=_0x2fad8f;for(;_0x47e9ab[_0x4c004e(0x271)]&&!_0x47e9ab[_0x4c004e(0x271)]['is'](_0x4c004e(0x27a));)_0x47e9ab=_0x47e9ab[_0x4c004e(0x271)],_0x47e9ab[_0x4c004e(0x23f)](_0x3a6ae6)&&_0x47e9ab[_0x4c004e(0x1b3)](_0x3a6ae6);_0x2c4b37[_0x4c004e(0x1d9)](_0x5dfec8,{'path':_0x2fad8f[_0x4c004e(0x22d)](),'getContent':this[_0x4c004e(0x1c3)](_0x47e9ab[_0x4c004e(0x297)](!0x0),_0x5dfec8,_0x3fe9e6[_0x4c004e(0x250)])}),_0x561815[_0x4c004e(0x1d3)](_0x3ed2b8[_0x4c004e(0x22e)](_0x2fad8f));}}return{'content':_0x3fe9e6[_0x4c004e(0x250)][_0x4c004e(0x298)][_0x4c004e(0x273)](_0x3fe9e6[_0x4c004e(0x250)][_0x4c004e(0x1d0)](_0x42ae61)),'version':_0x3fe9e6[_0x4c004e(0x25e)][_0x4c004e(0x279)][_0x4c004e(0x22c)],'elements':_0x2c4b37};}[_0x2f63fa(0x239)](_0xd1edaf,_0x123ff9){const _0x2d522e=_0x2f63fa,_0x568c32=[],_0x37099d=_0x4dc46b(this[_0x2d522e(0x28a)]),_0x187a74=_0x37099d[_0x2d522e(0x250)][_0x2d522e(0x29a)](_0xd1edaf,_0x2d522e(0x209)),_0x3498e4=_0x37099d[_0x2d522e(0x25e)][_0x2d522e(0x25f)](_0x187a74,0x0),_0x4d2529=_0x37099d[_0x2d522e(0x250)][_0x2d522e(0x29a)](_0x123ff9,_0x2d522e(0x209));if(!this[_0x2d522e(0x24e)](_0x187a74,_0x4d2529))return _0x568c32;const _0x3f7919=this[_0x2d522e(0x28a)][_0x2d522e(0x1ba)][_0x2d522e(0x1bd)](_0x2d522e(0x1df))[_0x2d522e(0x242)](_0xd1edaf,_0x123ff9,{'anchor':_0x3498e4,'markDeletions':!0x0})[_0x2d522e(0x1e0)]()[_0x2d522e(0x285)](_0x1d4fe9=>_0x2d522e(0x281)===_0x1d4fe9[_0x2d522e(0x1b8)]||_0x2d522e(0x1f4)===_0x1d4fe9[_0x2d522e(0x1b8)]&&_0x1d4fe9[_0x2d522e(0x1fc)][_0x2d522e(0x296)](_0x2d522e(0x294))),_0x5eb821=this[_0x2d522e(0x28f)](_0x3f7919);let _0x539970=0x0;return _0x37099d[_0x2d522e(0x25e)][_0x2d522e(0x20f)](_0x421d82=>{const _0x1bb676=_0x2d522e;for(let _0x45d711=0x0;_0x45d711<_0x5eb821[_0x1bb676(0x1fe)];_0x45d711++){const _0x2a3257=_0x5eb821[_0x45d711],_0x180226=_0x421d82[_0x1bb676(0x278)]();for(const _0xd5e53e of _0x187a74[_0x1bb676(0x1b1)]())_0x421d82[_0x1bb676(0x1fa)](_0xd5e53e[_0x1bb676(0x297)](!0x0),_0x180226);for(const _0x3d837a of _0x2a3257[_0x1bb676(0x1c4)])if(_0x1bb676(0x281)===_0x3d837a[_0x1bb676(0x1b8)]){const _0x41a4d8=_0x3d837a;_0x41a4d8[_0x1bb676(0x252)]=null,_0x41a4d8[_0x1bb676(0x25b)]=!0x1,this[_0x1bb676(0x292)](_0x41a4d8,_0x180226),_0x421d82[_0x1bb676(0x258)][_0x1bb676(0x29d)](_0x3d837a),_0x37099d[_0x1bb676(0x25e)][_0x1bb676(0x21b)](_0x3d837a);const _0x462db3=_0x1bb676(0x201)+_0x539970++,_0x4afa87=_0x37099d[_0x1bb676(0x25e)][_0x1bb676(0x1ec)](_0x41a4d8[_0x1bb676(0x23b)],_0x41a4d8[_0x1bb676(0x23b)][_0x1bb676(0x289)](_0x41a4d8[_0x1bb676(0x1d2)]));_0x180226[_0x1bb676(0x264)][_0x1bb676(0x1d9)](_0x462db3,_0x4afa87);}else{if(_0x1bb676(0x1f4)===_0x3d837a[_0x1bb676(0x1b8)]&&_0x3d837a[_0x1bb676(0x1fc)][_0x1bb676(0x296)](_0x1bb676(0x294))){const _0x3d238c=_0x3d837a,_0x2e2098=_0x1bb676(0x1d8)+_0x539970++;this[_0x1bb676(0x292)](_0x3d238c,_0x180226),_0x180226[_0x1bb676(0x264)][_0x1bb676(0x1d9)](_0x2e2098,_0x3d238c[_0x1bb676(0x240)]);}}const _0x5640ea=this[_0x1bb676(0x1c2)](this[_0x1bb676(0x27f)](this[_0x1bb676(0x21c)](_0x2a3257[_0x1bb676(0x1c4)][0x0]),_0x180226),this[_0x1bb676(0x27f)](this[_0x1bb676(0x1e3)](_0x2a3257[_0x1bb676(0x1c4)][_0x2a3257[_0x1bb676(0x1c4)][_0x1bb676(0x1fe)]-0x1]),_0x180226));_0x180226[_0x1bb676(0x264)][_0x1bb676(0x1d9)](we+_0x1bb676(0x253),new _0x125146(_0x5640ea[_0x1bb676(0x1c6)],_0x5640ea[_0x1bb676(0x20d)])),_0x568c32[_0x1bb676(0x22b)]({..._0x2a3257,'context':this[_0x1bb676(0x1e7)](_0x180226,_0x37099d[_0x1bb676(0x250)],{'ellipsisBefore':_0x5640ea[_0x1bb676(0x216)],'ellipsisAfter':_0x5640ea[_0x1bb676(0x28c)]}),'content':this[_0x1bb676(0x1ed)](_0x180226,_0x37099d[_0x1bb676(0x250)])});}}),_0x568c32;}[_0x2f63fa(0x1f6)](_0x215c76,_0x2b45fc){const _0x335c70=_0x2f63fa;if(!_0x215c76[_0x335c70(0x1fe)])return;const _0x47204f=_0x215c76[0x0][_0x335c70(0x271)]['id'],_0xacedf6=_0x2b45fc[_0x335c70(0x1e2)][_0x335c70(0x1bd)](_0x47204f);if(!_0xacedf6)return void console[_0x335c70(0x21a)](_0x335c70(0x1eb)+_0x47204f);const _0x407361=_0xacedf6[_0x335c70(0x227)],_0x1df72f=_0x4dc46b(this[_0x335c70(0x28a)]),_0x59872e=_0x1df72f[_0x335c70(0x25e)][_0x335c70(0x279)][_0x335c70(0x1cb)][_0x335c70(0x1e0)](_0x2b45fc[_0x335c70(0x22c)]),_0x558756=[];for(const _0x10b77f of _0x215c76){const _0x5be191=_0x10b77f[_0x335c70(0x1c4)][_0x335c70(0x254)](_0x35bbe4=>this[_0x335c70(0x1c7)](_0x35bbe4,_0x407361,_0x1df72f[_0x335c70(0x25e)][_0x335c70(0x279)][_0x335c70(0x1f9)]()[0x0]));if(!_0x5be191||!_0x5be191[_0x335c70(0x1fe)])continue;const _0x3b923b=_0x5be191[_0x335c70(0x217)](_0x5e914b=>_0x335c70(0x1f4)===_0x5e914b[_0x335c70(0x1b8)]&&_0x5e914b[_0x335c70(0x1fc)][_0x335c70(0x296)](_0x335c70(0x294))),_0x84489a={'document':_0x1df72f[_0x335c70(0x25e)][_0x335c70(0x279)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x5771b0=_0x3f53ae(_0x5be191,_0x59872e,_0x84489a)[_0x335c70(0x222)];for(const _0x1d0649 of _0x5771b0)if(_0x335c70(0x281)===_0x1d0649[_0x335c70(0x1b8)]){const _0x5ef5f9=_0x1d0649,_0x24ef7f=_0x5ef5f9[_0x335c70(0x29b)];let _0x376f97='';for(const _0x401bfc of _0x24ef7f)_0x401bfc&&_0x401bfc['is'](_0x335c70(0x1dd))&&(_0x376f97+=_0x401bfc[_0x335c70(0x250)]);_0x558756[_0x335c70(0x22b)]({'start':_0x5ef5f9[_0x335c70(0x23b)],'end':_0x5ef5f9[_0x335c70(0x23b)],'type':_0x335c70(0x281),'groupId':_0x10b77f['id'],'text':_0x376f97});}else{if(_0x335c70(0x1f4)===_0x1d0649[_0x335c70(0x1b8)]&&_0x1d0649[_0x335c70(0x1fc)][_0x335c70(0x296)](_0x335c70(0x294))){const _0x7b1248=_0x1d0649;let _0x4c206a=_0x335c70(0x288);if(_0x3b923b){const _0x439805=this[_0x335c70(0x290)](_0x7b1248[_0x335c70(0x240)][_0x335c70(0x1c6)],_0x335c70(0x256),_0x1df72f[_0x335c70(0x25e)][_0x335c70(0x1e6)]),_0x189e53=this[_0x335c70(0x290)](_0x7b1248[_0x335c70(0x240)][_0x335c70(0x20d)],_0x335c70(0x29c),_0x1df72f[_0x335c70(0x25e)][_0x335c70(0x1e6)]);if(_0x439805||_0x189e53){const _0xccad57=_0x7b1248[_0x335c70(0x240)][_0x335c70(0x1c6)][_0x335c70(0x289)](-_0x439805),_0x3b066c=_0x7b1248[_0x335c70(0x240)][_0x335c70(0x20d)][_0x335c70(0x289)](_0x189e53);_0x558756[_0x335c70(0x22b)]({'start':_0xccad57,'end':_0x3b066c,'groupId':_0x10b77f['id'],'type':_0x335c70(0x20e)});}else _0x4c206a=_0x335c70(0x251);}_0x558756[_0x335c70(0x22b)]({'start':_0x7b1248[_0x335c70(0x240)][_0x335c70(0x1c6)],'end':_0x7b1248[_0x335c70(0x240)][_0x335c70(0x20d)],'groupId':_0x10b77f['id'],'type':_0x4c206a});}}}this[_0x335c70(0x27d)](_0x558756);}[_0x2f63fa(0x257)](){const _0x1cd544=_0x2f63fa,_0x11bb33=_0x4dc46b(this[_0x1cd544(0x28a)]);_0x11bb33[_0x1cd544(0x25e)][_0x1cd544(0x20f)](_0x4b146a=>{const _0x19c5c5=_0x1cd544;for(const _0x38fd21 of this[_0x19c5c5(0x24c)][_0x19c5c5(0x1ee)]())_0x11bb33[_0x19c5c5(0x25e)][_0x19c5c5(0x264)][_0x19c5c5(0x1bd)](_0x38fd21)&&_0x4b146a[_0x19c5c5(0x234)](_0x38fd21);}),this[_0x1cd544(0x24c)][_0x1cd544(0x22a)]();}[_0x2f63fa(0x1e9)](){const _0x5c2e77=_0x2f63fa;_0x4dc46b(this[_0x5c2e77(0x28a)])[_0x5c2e77(0x200)](_0x5c2e77(0x1b5));}[_0x2f63fa(0x1fd)](){const _0x6e3ea6=_0x2f63fa;_0x4dc46b(this[_0x6e3ea6(0x28a)])[_0x6e3ea6(0x1ff)](_0x6e3ea6(0x1b5));}[_0x2f63fa(0x28b)](_0xa9dd2){const _0x1686db=_0x2f63fa,_0xcacfb2=_0x4dc46b(this[_0x1686db(0x28a)]),_0x3b1a2d=_0xcacfb2[_0x1686db(0x25e)],_0x531979=_0xa9dd2[_0x1686db(0x254)](_0x46cb52=>this[_0x1686db(0x1d7)](_0x46cb52))[_0x1686db(0x1bf)]();_0x3b1a2d[_0x1686db(0x20f)](_0x1cebf9=>{const _0x79868b=_0x1686db;for(const _0x1c647a of _0x531979){const _0x3e7cb1=_0xcacfb2[_0x79868b(0x25e)][_0x79868b(0x264)][_0x79868b(0x1bd)](_0x1c647a['id']);_0x3e7cb1&&(_0x79868b(0x281)===_0x1c647a[_0x79868b(0x1b8)]?_0x3b1a2d[_0x79868b(0x1b9)](_0x1cebf9[_0x79868b(0x20a)](_0x1c647a[_0x79868b(0x265)]||''),_0x3e7cb1[_0x79868b(0x275)]()[_0x79868b(0x1c6)]):_0x79868b(0x288)!==_0x1c647a[_0x79868b(0x1b8)]&&_0x79868b(0x251)!==_0x1c647a[_0x79868b(0x1b8)]||_0x3b1a2d[_0x79868b(0x1ca)](_0x3b1a2d[_0x79868b(0x246)](_0x3e7cb1[_0x79868b(0x275)]())),_0x1cebf9[_0x79868b(0x234)](_0x1c647a['id']),this[_0x79868b(0x24c)][_0x79868b(0x269)](_0x1c647a['id']));}});}[_0x2f63fa(0x25a)](_0x1795a3){const _0x44afbb=_0x2f63fa,_0x41ba9c=_0x4dc46b(this[_0x44afbb(0x28a)]),_0x5d00f0=this[_0x44afbb(0x1d7)](_0x1795a3);_0x41ba9c[_0x44afbb(0x25e)][_0x44afbb(0x20f)](_0x1d1bb5=>{const _0xa82e8a=_0x44afbb;for(const _0x4237d5 of _0x5d00f0)_0x1d1bb5[_0xa82e8a(0x234)](_0x4237d5['id']),this[_0xa82e8a(0x24c)][_0xa82e8a(0x269)](_0x4237d5['id']);});}[_0x2f63fa(0x24f)](){const _0x1bf4fc=_0x2f63fa;return _0x4dc46b(this[_0x1bf4fc(0x28a)]);}[_0x2f63fa(0x1fb)](_0x1b8dfd){const _0x539657=_0x2f63fa,_0x286303=Array[_0x539657(0x1b2)](this[_0x539657(0x24c)][_0x539657(0x21e)]())[_0x539657(0x285)](_0x5d6ff5=>_0x5d6ff5[_0x539657(0x208)]===_0x1b8dfd);if(!_0x286303[_0x539657(0x1fe)])return null;const _0x19a4a6=0x1===_0x286303[_0x539657(0x1fe)]?_0x286303[0x0]:this[_0x539657(0x204)](_0x286303)[0x0],_0x5c53ea=_0x4dc46b(this[_0x539657(0x28a)]),_0x50e861=_0x5c53ea[_0x539657(0x25e)][_0x539657(0x264)][_0x539657(0x1bd)](_0x19a4a6['id']);if(!_0x50e861)return null;const _0x1ef918=_0x50e861[_0x539657(0x275)](),_0x5e3582=_0x5c53ea[_0x539657(0x1c0)][_0x539657(0x244)][_0x539657(0x1e1)]();if(!_0x5e3582||!_0x1ef918)return null;const _0x4c99ed=_0x5e3582[_0x539657(0x259)](_0x539657(0x238)+_0x19a4a6['id']+'\x22]');return _0x4c99ed?{'modelRange':_0x1ef918,'domElement':_0x4c99ed}:null;}[_0x2f63fa(0x1f7)](_0x5098b1,_0x126887){const _0x2bb5b8=_0x2f63fa,_0x5c7a3c=Array[_0x2bb5b8(0x1b2)](this[_0x2bb5b8(0x24c)][_0x2bb5b8(0x1ee)]()),_0x5e1858=new Map();for(const _0x14cd38 of _0x5c7a3c){const _0x755ecc=_0x5098b1[_0x2bb5b8(0x25e)][_0x2bb5b8(0x264)][_0x2bb5b8(0x1bd)](_0x14cd38);if(!_0x755ecc)continue;const _0x2f1cce=_0x755ecc[_0x2bb5b8(0x229)]()[_0x2bb5b8(0x227)][0x0];_0x5e1858[_0x2bb5b8(0x25d)](_0x2f1cce)||_0x5e1858[_0x2bb5b8(0x1d9)](_0x2f1cce,[]),_0x5e1858[_0x2bb5b8(0x1bd)](_0x2f1cce)[_0x2bb5b8(0x22b)](_0x755ecc);}const _0x442b75=new Set();for(const _0x1ba12f of _0x5098b1[_0x2bb5b8(0x25e)][_0x2bb5b8(0x279)][_0x2bb5b8(0x1f8)][_0x2bb5b8(0x27b)]()){let _0x204093=-0x1,_0x12ba05=null;if(_0x2bb5b8(0x281)===_0x1ba12f[_0x2bb5b8(0x1b8)])_0x12ba05=new _0x125146(_0x1ba12f[_0x2bb5b8(0x23b)],_0x1ba12f[_0x2bb5b8(0x23b)][_0x2bb5b8(0x289)](_0x1ba12f[_0x2bb5b8(0x1fe)])),_0x204093=_0x1ba12f[_0x2bb5b8(0x23b)][_0x2bb5b8(0x227)][0x0];else{if(_0x2bb5b8(0x28e)!==_0x1ba12f[_0x2bb5b8(0x1b8)])continue;_0x12ba05=new _0x125146(_0x1ba12f[_0x2bb5b8(0x23b)]),_0x204093=_0x1ba12f[_0x2bb5b8(0x23b)][_0x2bb5b8(0x227)][0x0];}const _0x427e4e=_0x5e1858[_0x2bb5b8(0x1bd)](_0x204093)||[];if(_0x427e4e[_0x2bb5b8(0x1fe)]){for(const _0x22d6f9 of _0x427e4e)if(_0x12ba05[_0x2bb5b8(0x26b)][_0x2bb5b8(0x26c)]===_0x22d6f9[_0x2bb5b8(0x275)]()[_0x2bb5b8(0x26b)][_0x2bb5b8(0x26c)]&&(_0x2bb5b8(0x281)!==_0x1ba12f[_0x2bb5b8(0x1b8)]||!_0x12ba05[_0x2bb5b8(0x212)](_0x22d6f9[_0x2bb5b8(0x275)]()))&&(_0x12ba05[_0x2bb5b8(0x225)](_0x22d6f9[_0x2bb5b8(0x275)]())||_0x12ba05[_0x2bb5b8(0x1c6)][_0x2bb5b8(0x1c9)](_0x22d6f9[_0x2bb5b8(0x275)]()[_0x2bb5b8(0x20d)])||_0x12ba05[_0x2bb5b8(0x20d)][_0x2bb5b8(0x1c9)](_0x22d6f9[_0x2bb5b8(0x275)]()[_0x2bb5b8(0x1c6)]))){const _0x2742d3=this[_0x2bb5b8(0x1da)](_0x22d6f9[_0x2bb5b8(0x1fc)]);Array[_0x2bb5b8(0x1b2)](this[_0x2bb5b8(0x24c)][_0x2bb5b8(0x21e)]())[_0x2bb5b8(0x285)](_0x4a2eab=>_0x4a2eab[_0x2bb5b8(0x208)]===_0x2742d3[_0x2bb5b8(0x208)])[_0x2bb5b8(0x1e4)](_0x394f3b=>_0x442b75[_0x2bb5b8(0x219)](_0x394f3b['id']));}}}if(_0x442b75[_0x2bb5b8(0x215)]){for(const _0x4e6f0a of _0x442b75)_0x126887[_0x2bb5b8(0x234)](_0x4e6f0a);return!0x0;}return!0x1;}[_0x2f63fa(0x27e)](_0x567e38){const _0x3ef435=_0x2f63fa;for(const {name:_0x2cbf22,data:_0x555017}of _0x567e38[_0x3ef435(0x25e)][_0x3ef435(0x279)][_0x3ef435(0x1f8)][_0x3ef435(0x20c)]()){if(!_0x2cbf22[_0x3ef435(0x296)](we))continue;const _0x230741=_0x555017[_0x3ef435(0x1ef)],_0x152be6=_0x555017[_0x3ef435(0x240)],_0x2076ba=_0x230741&&_0x3ef435(0x23e)===_0x230741[_0x3ef435(0x26b)][_0x3ef435(0x26c)],_0xa45a5=_0x152be6&&_0x3ef435(0x23e)===_0x152be6[_0x3ef435(0x26b)][_0x3ef435(0x26c)];if(_0x2076ba&&_0xa45a5)continue;const _0x306de1=this[_0x3ef435(0x1da)](_0x2cbf22);this[_0x3ef435(0x24c)][_0x3ef435(0x1bd)](_0x2cbf22)&&(_0xa45a5||!_0x152be6?this[_0x3ef435(0x24b)][_0x3ef435(0x262)](_0x3ef435(0x202),{'markerId':_0x2cbf22,'changeId':_0x306de1[_0x3ef435(0x208)]}):_0x2076ba&&_0x152be6&&this[_0x3ef435(0x24b)][_0x3ef435(0x262)](_0x3ef435(0x1f0),{'markerId':_0x2cbf22,'changeId':_0x306de1[_0x3ef435(0x208)]}));}}[_0x2f63fa(0x1da)](_0x4e0e3c){const _0xcaff90=_0x2f63fa,_0x84b0a7=_0x4e0e3c[_0xcaff90(0x1cd)](':'),_0x58c348=(_0x84b0a7[0x1]||'')[_0xcaff90(0x1cd)]('_');return{'prefix':_0x84b0a7[0x0],'groupId':_0x58c348[0x0],'suffix':_0x58c348[0x1]};}[_0x2f63fa(0x1c7)](_0x5591c9,_0xb51f33,_0x4242fa){const _0x52fb5f=_0x2f63fa;if(_0x52fb5f(0x281)===_0x5591c9[_0x52fb5f(0x1b8)]){const _0xc53ade=_0x5591c9;return new _0x44ba1e(this[_0x52fb5f(0x284)](_0xb51f33[_0x52fb5f(0x274)](_0xc53ade[_0x52fb5f(0x23b)][_0x52fb5f(0x1f3)]),_0x4242fa),_0xc53ade[_0x52fb5f(0x29b)],_0xc53ade[_0x52fb5f(0x252)]);}if(_0x52fb5f(0x1f4)===_0x5591c9[_0x52fb5f(0x1b8)]&&_0x5591c9[_0x52fb5f(0x1fc)][_0x52fb5f(0x296)](_0x52fb5f(0x294))){const _0x3c45ef=_0x5591c9;return new _0x3ab45b(_0x3c45ef[_0x52fb5f(0x1fc)],_0x3c45ef[_0x52fb5f(0x1ef)],this[_0x52fb5f(0x1ea)](_0x3c45ef[_0x52fb5f(0x240)],_0xb51f33[_0x52fb5f(0x274)](_0x3c45ef[_0x52fb5f(0x240)][_0x52fb5f(0x1c6)][_0x52fb5f(0x1f3)]),_0xb51f33[_0x52fb5f(0x274)](_0x3c45ef[_0x52fb5f(0x240)][_0x52fb5f(0x20d)][_0x52fb5f(0x1f3)]),_0x4242fa),_0x3c45ef[_0x52fb5f(0x24c)],_0x3c45ef[_0x52fb5f(0x24a)],_0x3c45ef[_0x52fb5f(0x252)]);}return _0x5591c9;}[_0x2f63fa(0x28f)](_0x11c564){const _0x5b77e5=_0x2f63fa;if(!_0x11c564[_0x5b77e5(0x1fe)])return[];const _0x2c5faf=[];let _0x2ac01f=0x0,_0x5c1ea7=0x0,_0x47d6b1=[];for(let _0x3f0a23=0x0;_0x3f0a23<=_0x11c564[_0x5b77e5(0x1fe)];_0x3f0a23++){const _0x227c96=_0x11c564[_0x3f0a23],_0x3cb797=_0x11c564[_0x3f0a23-0x1];!_0x227c96||_0x3cb797&&!this[_0x5b77e5(0x1e3)](_0x3cb797)[_0x5b77e5(0x1c9)](this[_0x5b77e5(0x21c)](_0x227c96))?(_0x2c5faf[_0x5b77e5(0x22b)]({'operations':_0x47d6b1,'operationsIsolated':_0x47d6b1[_0x5b77e5(0x254)](_0x40b3ed=>this[_0x5b77e5(0x21f)](_0x40b3ed[_0x5b77e5(0x237)](),-_0x5c1ea7)),'groupOffset':_0x2ac01f}),_0x47d6b1=_0x227c96?[_0x227c96]:[],_0x5c1ea7+=_0x2ac01f,_0x2ac01f=0x0):_0x47d6b1[_0x5b77e5(0x22b)](_0x227c96),_0x227c96&&_0x5b77e5(0x281)===_0x227c96[_0x5b77e5(0x1b8)]&&(_0x2ac01f+=_0x227c96[_0x5b77e5(0x1d2)]);}return _0x2c5faf;}[_0x2f63fa(0x290)](_0x1ca6cd,_0x20b1d6,_0xa58f2c,_0x12dfdb=0x1){const _0x313283=_0x2f63fa,_0x191a81=new _0x17fe61({'startPosition':_0x1ca6cd,'direction':_0x20b1d6});let _0x5aba8d=0x0;for(let _0x173db2=0x0;_0x173db2<_0x12dfdb;_0x173db2++){let _0x1a5a9b=0x0,_0x561165=!0x1,_0x21a24e=_0x313283(0x29c)===_0x20b1d6?/^\W*\w+/:/\w+\W*$/;for(const {item:_0x5ea15a}of _0x191a81)if(_0x5ea15a['is'](_0x313283(0x235))){const _0x1e6558=_0x21a24e[_0x313283(0x232)](_0x5ea15a[_0x313283(0x250)]);if(_0x1e6558&&_0x1e6558[_0x313283(0x1fe)]){if(_0x1a5a9b+=_0x313283(0x29c)===_0x20b1d6?_0x1e6558[_0x313283(0x211)]+_0x1e6558[0x0][_0x313283(0x1fe)]:_0x5ea15a[_0x313283(0x250)][_0x313283(0x1fe)]-_0x1e6558[_0x313283(0x211)],_0x1e6558[0x0][_0x313283(0x1fe)]!==_0x5ea15a[_0x313283(0x250)][_0x313283(0x1fe)])break;_0x561165=!0x0,_0x21a24e=_0x313283(0x29c)===_0x20b1d6?/^\w+/:/\w+$/;}else{if(_0x561165)break;_0x1a5a9b+=_0x5ea15a[_0x313283(0x206)];}}else{if(_0x5ea15a['is'](_0x313283(0x207))){_0xa58f2c[_0x313283(0x230)](_0x5ea15a)&&!_0x561165&&(_0x1a5a9b+=0x1);break;}}_0x5aba8d+=_0x1a5a9b,_0x191a81[_0x313283(0x1d3)](_0x1ca6cd[_0x313283(0x289)](_0x313283(0x29c)===_0x20b1d6?_0x5aba8d:-_0x5aba8d));}return _0x5aba8d;}[_0x2f63fa(0x1c2)](_0x2b26f8,_0x33408a){const _0x345c2e=_0x2f63fa,_0x1acfcf=_0x4dc46b(this[_0x345c2e(0x28a)])[_0x345c2e(0x25e)][_0x345c2e(0x1e6)],_0x13d55d=this[_0x345c2e(0x290)](_0x2b26f8,_0x345c2e(0x256),_0x1acfcf,0x6),_0x4b8788=this[_0x345c2e(0x290)](_0x33408a,_0x345c2e(0x29c),_0x1acfcf,0x6),_0x10d3c5=_0x2b26f8[_0x345c2e(0x289)](-_0x13d55d),_0x4812c5=_0x33408a[_0x345c2e(0x289)](_0x4b8788);return{'start':_0x10d3c5,'end':_0x4812c5,'hasContentBefore':!_0x10d3c5[_0x345c2e(0x1b6)],'hasContentAfter':!_0x4812c5[_0x345c2e(0x233)]};}[_0x2f63fa(0x27d)](_0x4cb8f4){const _0x229dfd=_0x2f63fa,_0x4bbb25=this[_0x229dfd(0x28a)][_0x229dfd(0x1ba)][_0x229dfd(0x1bd)](_0x229dfd(0x1bb)),_0x130890=new Set();_0x4dc46b(this[_0x229dfd(0x28a)])[_0x229dfd(0x25e)][_0x229dfd(0x20f)](_0x18913b=>{const _0x330b1f=_0x229dfd;for(const _0xc07bf4 of _0x4cb8f4){const _0x507230=''+we+_0xc07bf4[_0x330b1f(0x1b8)]+':'+_0xc07bf4[_0x330b1f(0x208)]+'_'+_0x4bbb25[_0x330b1f(0x282)](_0x130890);this[_0x330b1f(0x24c)][_0x330b1f(0x1d9)](_0x507230,{'id':_0x507230,'groupId':_0xc07bf4[_0x330b1f(0x208)],'type':_0xc07bf4[_0x330b1f(0x1b8)],'text':_0xc07bf4[_0x330b1f(0x265)]}),_0x18913b[_0x330b1f(0x228)](_0x507230,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x18913b[_0x330b1f(0x1ec)](_0xc07bf4[_0x330b1f(0x1c6)],_0xc07bf4[_0x330b1f(0x20d)])});}});}[_0x2f63fa(0x1e7)](_0x167728,_0x334d63,_0x35fc38){let _0x46b63e='';return()=>{const _0x551f62=_0x54bb;if(!_0x46b63e){const _0x267fb1=_0x334d63[_0x551f62(0x1d0)](_0x167728,{'showSuggestionHighlights':!0x0}),_0x1b92d5=_0x267fb1[_0x551f62(0x243)](0x0);if(!_0x1b92d5)return'';let _0xfd03ac=!0x1;const _0x4ddafa=[];for(const _0x30fb5b of _0x1b92d5[_0x551f62(0x1b1)]())_0x30fb5b['is'](_0x551f62(0x207),_0x551f62(0x1c1))&&_0x30fb5b[_0x551f62(0x1d5)](_0x551f62(0x223))&&(_0xfd03ac=!0x1),_0xfd03ac&&_0x4ddafa[_0x551f62(0x22b)](_0x30fb5b),_0x30fb5b['is'](_0x551f62(0x207),_0x551f62(0x1c1))&&_0x30fb5b[_0x551f62(0x1d5)](_0x551f62(0x23d))&&(_0xfd03ac=!0x0);_0x1b92d5[_0x551f62(0x1cf)](0x0,_0x1b92d5[_0x551f62(0x22f)]),_0x35fc38?.[_0x551f62(0x299)]&&_0x1b92d5[_0x551f62(0x26d)]('…'),_0x1b92d5[_0x551f62(0x26d)](_0x4ddafa),_0x35fc38?.[_0x551f62(0x205)]&&_0x1b92d5[_0x551f62(0x26d)]('…');const _0x2794c1=_0x334d63[_0x551f62(0x224)][_0x551f62(0x213)][_0x551f62(0x1de)](_0x267fb1),_0x4e6f85=_0x334d63[_0x551f62(0x224)][_0x551f62(0x270)][_0x551f62(0x27c)](_0x2794c1);_0x46b63e=_0x4e6f85;}return _0x46b63e;};}[_0x2f63fa(0x1ed)](_0x270a8e,_0x3ec48d){const _0x271c6c=_0x2f63fa;let _0x5eb4e='';return()=>(_0x5eb4e||(_0x5eb4e=_0x3ec48d[_0x271c6c(0x291)](_0x270a8e,{'showSuggestionHighlights':!0x0})),_0x5eb4e);}[_0x2f63fa(0x1c3)](_0x4657e4,_0x4dca3b,_0x2c2e1a){let _0x3b7fb4='';return()=>{const _0x572e18=_0x54bb;if(!_0x3b7fb4){const _0x475b5f=_0x2c2e1a[_0x572e18(0x1d0)](new _0x58a5a6(_0x4657e4)),_0x385539=_0x2c2e1a[_0x572e18(0x224)][_0x572e18(0x213)][_0x572e18(0x1de)](_0x475b5f)[_0x572e18(0x259)](_0x572e18(0x24d)+_0x4dca3b+'\x22]');_0x3b7fb4=_0x385539?.[_0x572e18(0x221)]||'';}return _0x3b7fb4;};}[_0x2f63fa(0x1ce)](_0x324c51,_0x860b2a=0x5){const _0x990cbe=_0x2f63fa;let _0x2993fd=_0x324c51,_0x5d2bec=null;for(let _0x16406d=0x0;_0x16406d<_0x860b2a&&_0x2993fd;_0x16406d++){if(!_0x2993fd[_0x990cbe(0x1f2)]){_0x2993fd=_0x2993fd[_0x990cbe(0x236)];continue;}if(!(''+_0x2993fd[_0x990cbe(0x1f2)])[_0x990cbe(0x277)](_0x990cbe(0x23c))){_0x2993fd=_0x2993fd[_0x990cbe(0x236)];continue;}if(!_0x2993fd[_0x990cbe(0x272)](_0x990cbe(0x241)))break;_0x5d2bec=_0x2993fd;break;}return _0x5d2bec;}[_0x2f63fa(0x1d7)](_0x4632de){const _0x42944c=_0x2f63fa;return Array[_0x42944c(0x1b2)](this[_0x42944c(0x24c)][_0x42944c(0x21e)]())[_0x42944c(0x285)](_0x53f4e0=>_0x53f4e0[_0x42944c(0x208)]===_0x4632de);}[_0x2f63fa(0x21c)](_0x5a5f19){const _0x2d7675=_0x2f63fa;return _0x2d7675(0x281)===_0x5a5f19[_0x2d7675(0x1b8)]?_0x5a5f19[_0x2d7675(0x23b)]:_0x5a5f19[_0x2d7675(0x240)][_0x2d7675(0x1c6)];}[_0x2f63fa(0x1e3)](_0x20fc94,_0x488547=!0x1){const _0x21173c=_0x2f63fa;return _0x21173c(0x281)===_0x20fc94[_0x21173c(0x1b8)]?_0x488547?_0x20fc94[_0x21173c(0x23b)]:_0x20fc94[_0x21173c(0x23b)][_0x21173c(0x289)](_0x20fc94[_0x21173c(0x1d2)]):_0x20fc94[_0x21173c(0x240)][_0x21173c(0x20d)];}[_0x2f63fa(0x21f)](_0x2f7772,_0x55b1ff){const _0x4ecc27=_0x2f63fa;return _0x4ecc27(0x281)===_0x2f7772[_0x4ecc27(0x1b8)]?_0x2f7772[_0x4ecc27(0x23b)]=_0x2f7772[_0x4ecc27(0x23b)][_0x4ecc27(0x289)](_0x55b1ff):_0x4ecc27(0x1f4)===_0x2f7772[_0x4ecc27(0x1b8)]&&_0x2f7772[_0x4ecc27(0x240)]&&(_0x2f7772[_0x4ecc27(0x240)]=new _0x125146(_0x2f7772[_0x4ecc27(0x240)][_0x4ecc27(0x1c6)][_0x4ecc27(0x289)](_0x55b1ff),_0x2f7772[_0x4ecc27(0x240)][_0x4ecc27(0x20d)][_0x4ecc27(0x289)](_0x55b1ff))),_0x2f7772;}[_0x2f63fa(0x292)](_0x398545,_0x20971f){const _0x29d763=_0x2f63fa;_0x29d763(0x281)===_0x398545[_0x29d763(0x1b8)]?_0x398545[_0x29d763(0x23b)]=this[_0x29d763(0x27f)](_0x398545[_0x29d763(0x23b)],_0x20971f):_0x29d763(0x1f4)===_0x398545[_0x29d763(0x1b8)]&&_0x398545[_0x29d763(0x240)]&&(_0x398545[_0x29d763(0x240)]=this[_0x29d763(0x1e8)](_0x398545[_0x29d763(0x240)],_0x20971f));}[_0x2f63fa(0x27f)](_0x57f95d,_0x27820c){const _0x64baf0=_0x2f63fa;return new _0x5611d6(_0x27820c,_0x57f95d[_0x64baf0(0x227)]);}[_0x2f63fa(0x1e8)](_0x5f2748,_0x4d68fd){const _0x10eb14=_0x2f63fa;return new _0x125146(this[_0x10eb14(0x27f)](_0x5f2748[_0x10eb14(0x1c6)],_0x4d68fd),this[_0x10eb14(0x27f)](_0x5f2748[_0x10eb14(0x20d)],_0x4d68fd));}[_0x2f63fa(0x284)](_0x24fb05,_0x4f1961){return new _0x5611d6(_0x4f1961,[..._0x24fb05]);}[_0x2f63fa(0x1ea)](_0x461522,_0xc02183,_0x2606ba,_0x2d36ca){const _0x3f7b5a=_0x2f63fa;return new _0x125146(this[_0x3f7b5a(0x284)](_0xc02183,_0x2d36ca),this[_0x3f7b5a(0x284)](_0x2606ba,_0x2d36ca));}[_0x2f63fa(0x204)](_0x16ce5c){const _0x122c35=_0x2f63fa,_0x2eb8b1=_0x37e048=>{const _0x542a69=_0x54bb;switch(_0x37e048){case _0x542a69(0x281):return 0x1;case _0x542a69(0x20e):return 0x2;case _0x542a69(0x251):return 0x3;case _0x542a69(0x288):return 0x4;}};return _0x16ce5c[_0x122c35(0x266)]((_0x229e45,_0x2edd5b)=>_0x2eb8b1(_0x229e45[_0x122c35(0x1b8)])-_0x2eb8b1(_0x2edd5b[_0x122c35(0x1b8)]));}[_0x2f63fa(0x24e)](_0x252c95,_0x1e98e5){const _0x33aa57=_0x2f63fa,_0x543499=_0x252c95[_0x33aa57(0x243)](0x0),_0x1749e4=_0x1e98e5[_0x33aa57(0x243)](0x0);return!(!_0x543499||!_0x1749e4)&&((!_0x543499['is'](_0x33aa57(0x207))||!_0x1749e4['is'](_0x33aa57(0x207))||_0x543499[_0x33aa57(0x1fc)]===_0x1749e4[_0x33aa57(0x1fc)])&&!(_0x543499['is'](_0x33aa57(0x207))&&!_0x1749e4['is'](_0x33aa57(0x207))||!_0x543499['is'](_0x33aa57(0x207))&&_0x1749e4['is'](_0x33aa57(0x207))));}}
@@ -59,7 +59,7 @@ export declare class AIReviewModeUI extends ContextPlugin {
59
59
  setCheckResultTitle(title: string, subtitle?: string): void;
60
60
  setActiveStateInResults(id: string): void;
61
61
  resetActiveStateInResults(): void;
62
- updateChangeState(id: string, status: 'active' | 'accepted' | 'rejected'): void;
62
+ updateChangeState(id: string, status: AIReviewCheckResultChange['status']): void;
63
63
  showReviewCompletedView(): void;
64
64
  showActionsWhenResultIsReady(): void;
65
65
  showNoChangesView(): void;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d5759=_0x1ad1;(function(_0xd30d2,_0x44b83b){const _0xe4e273=_0x1ad1,_0x3e6f97=_0xd30d2();while(!![]){try{const _0xecb857=parseInt(_0xe4e273(0xf0))/0x1+-parseInt(_0xe4e273(0x11f))/0x2+-parseInt(_0xe4e273(0x125))/0x3*(parseInt(_0xe4e273(0x124))/0x4)+parseInt(_0xe4e273(0x10b))/0x5*(-parseInt(_0xe4e273(0x117))/0x6)+-parseInt(_0xe4e273(0x12b))/0x7+parseInt(_0xe4e273(0x10f))/0x8*(-parseInt(_0xe4e273(0x118))/0x9)+parseInt(_0xe4e273(0x10e))/0xa;if(_0xecb857===_0x44b83b)break;else _0x3e6f97['push'](_0x3e6f97['shift']());}catch(_0x342a4f){_0x3e6f97['push'](_0x3e6f97['shift']());}}}(_0x49e9,0xc9414));function _0x1ad1(_0x56940a,_0x2d7528){const _0x49e9c7=_0x49e9();return _0x1ad1=function(_0x1ad1fd,_0x3a7e86){_0x1ad1fd=_0x1ad1fd-0xd7;let _0x3fd310=_0x49e9c7[_0x1ad1fd];return _0x3fd310;},_0x1ad1(_0x56940a,_0x2d7528);}import{ContextPlugin as _0x4d03f7}from'ckeditor5/src/core.js';import{IconAIReview as _0x397406}from'ckeditor5/src/icons.js';import{BodyCollection as _0x3044b8}from'ckeditor5/src/ui.js';import{AITabs as _0x59b8f7}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x1d3248}from'./ui/aireviewmodeview.js';import{getTranslation as _0x2a455f}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x523a7a}from'./ui/aireviewmodeballoonsuggestionview.js';function _0x49e9(){const _0x4cd0e7=['showGeneralErrorView','_reviewModeBalloonSuggestionItemView','detachFromDom','hideResult','1470618YfJqOy','setAvailableChecks','showReviewCheckListView','getChangeElement','getResults','4773460MznPRi','3ewvSwf','addCheckRunResult','attachToDom','get','deactivateChange','AIReviewModeUI','7706643OYHvvK','dismissChange','updateChangeState','error-general','error-chunk','retryReview','reviewCheckResultsView','showReviewCheckResultsView','isOfficialPlugin','showChangeBalloon','showActionsWhenResultIsReady','setItemAsInactive','accepted','_bodyCollection','leaveReviewModeResultList','setActiveStateInResults','hideBalloon','acceptChange','element','delegate','acceptAllChanges','find','forEach','hideDiffInBalloon','showDiffInBalloon','isPremiumPlugin','showChunkErrorView','hideChangeBalloon','status','setChecks','367062sTsRVx','_reviewModeView','abortReviewStream','hasChecks','finishReview','requires','setTitle','locale','resetActiveStateInResults','activateChange','AI_REVIEW_MODE','init','destroy','toggleDiff','addTab','hideActionsWhenResultIsReady','showBalloon','setCheckResultTitle','context','reviewCheckListView','fire','showReviewCompletedView','showCheckRunResult','activateTab','rejected','plugins','AITabs','595gLSEWS','view','runReviewCheck','46604270jWXCtQ','20936zxiTlH','leaveReviewMode','reviewMode','learnMore','showReviewCheckList','pluginName','setItemAsActive','getReviewCheckList','5202rAzBLa','3681GvnITm','showNoChangesView','showCheckRunResults'];_0x49e9=function(){return _0x4cd0e7;};return _0x49e9();}import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x5d5759(0x116),_0x5d5759(0x10d),_0x5d5759(0xf2),_0x5d5759(0xfd),_0x5d5759(0xe6),_0x5d5759(0xe0),_0x5d5759(0xf9),_0x5d5759(0xe3),_0x5d5759(0x12c),_0x5d5759(0x112),_0x5d5759(0xf4),_0x5d5759(0xd7)];export class AIReviewModeUI extends _0x4d03f7{[_0x5d5759(0xf1)];[_0x5d5759(0x11c)];[_0x5d5759(0xdf)];static get[_0x5d5759(0xf5)](){return[_0x59b8f7];}static get[_0x5d5759(0x114)](){const _0x6635ad=_0x5d5759;return _0x6635ad(0x12a);}static get[_0x5d5759(0xda)](){return!0x0;}static get[_0x5d5759(0xeb)](){return!0x0;}constructor(_0x11ff63){const _0x57319d=_0x5d5759;super(_0x11ff63),this[_0x57319d(0xdf)]=new _0x3044b8(this[_0x57319d(0x102)][_0x57319d(0xf7)]),this[_0x57319d(0xdf)][_0x57319d(0x127)](),this[_0x57319d(0xf1)]=new _0x1d3248(this[_0x57319d(0x102)][_0x57319d(0xf7)]),this[_0x57319d(0xf1)][_0x57319d(0xe5)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x57319d(0x11c)]=new _0x523a7a(this[_0x57319d(0x102)][_0x57319d(0xf7)],this[_0x57319d(0xdf)]),this[_0x57319d(0x11c)][_0x57319d(0xe5)](_0x57319d(0xe3),_0x57319d(0x12c),_0x57319d(0x129))['to'](this);}[_0x5d5759(0xfb)](){const _0x27eecd=_0x5d5759,_0x5f4e87=this[_0x27eecd(0x102)][_0x27eecd(0x109)][_0x27eecd(0x128)](_0x27eecd(0x10a));_0x5f4e87[_0x27eecd(0x10c)]['on'](_0x27eecd(0x107),(_0x4798f0,_0x45b179)=>{const _0x1d1c19=_0x27eecd;_0x1d1c19(0x111)===_0x45b179?this[_0x1d1c19(0x104)](_0x1d1c19(0x116)):this[_0x1d1c19(0x104)](_0x1d1c19(0x110));}),_0x5f4e87[_0x27eecd(0x10c)][_0x27eecd(0xfe)]({'id':_0x27eecd(0x111),'buttonLabel':_0x2a455f(this[_0x27eecd(0x102)][_0x27eecd(0xf7)],_0x27eecd(0xfa)),'buttonIcon':_0x397406,'order':0x0,'content':this[_0x27eecd(0xf1)]});}[_0x5d5759(0xfc)](){const _0x811bb2=_0x5d5759;this[_0x811bb2(0xdf)][_0x811bb2(0x11d)](),super[_0x811bb2(0xfc)]();}[_0x5d5759(0x120)](_0xc89fe2){const _0xfd5cf5=_0x5d5759;this[_0xfd5cf5(0xf1)][_0xfd5cf5(0x103)][_0xfd5cf5(0xf3)]()||this[_0xfd5cf5(0xf1)][_0xfd5cf5(0x103)][_0xfd5cf5(0xef)](_0xc89fe2),this[_0xfd5cf5(0xf1)][_0xfd5cf5(0x121)]();}[_0x5d5759(0x113)](){const _0x44057e=_0x5d5759;this[_0x44057e(0x104)](_0x44057e(0x116));}[_0x5d5759(0x11a)](_0x2fac8c){const _0x23ddcc=_0x5d5759;_0x2fac8c&&(_0x23ddcc(0x12e)!==_0x2fac8c[_0x23ddcc(0xee)]?_0x23ddcc(0x12f)!==_0x2fac8c[_0x23ddcc(0xee)]?this[_0x23ddcc(0xf1)][_0x23ddcc(0xd9)]():this[_0x23ddcc(0xec)]():this[_0x23ddcc(0x11b)]());}[_0x5d5759(0x106)](_0x1ead24){const _0x3be0f8=_0x5d5759;this[_0x3be0f8(0xf1)][_0x3be0f8(0x126)](_0x1ead24);}[_0x5d5759(0x11b)](){const _0xab828d=_0x5d5759;this[_0xab828d(0xf1)][_0xab828d(0x11b)]();}[_0x5d5759(0xec)](){const _0x132332=_0x5d5759;this[_0x132332(0xf1)][_0x132332(0xec)]();}[_0x5d5759(0x101)](_0x3b91e4,_0x171e9d){const _0x291a4f=_0x5d5759;this[_0x291a4f(0xf1)][_0x291a4f(0xd8)][_0x291a4f(0xf6)](_0x3b91e4,_0x171e9d);}[_0x5d5759(0xe1)](_0x5a13c5){const _0x5dcfdf=_0x5d5759;this[_0x5dcfdf(0xf1)][_0x5dcfdf(0xd8)][_0x5dcfdf(0x123)]()[_0x5dcfdf(0xe8)](_0x5dbe0c=>{const _0x23e78e=_0x5dcfdf;_0x5dbe0c['id']===_0x5a13c5&&_0x5dbe0c[_0x23e78e(0x115)]();});}[_0x5d5759(0xf8)](){const _0x20ebcd=_0x5d5759;this[_0x20ebcd(0xf1)][_0x20ebcd(0xd8)][_0x20ebcd(0x123)]()[_0x20ebcd(0xe8)](_0x34f295=>_0x34f295[_0x20ebcd(0xdd)]());}[_0x5d5759(0x12d)](_0x193cb4,_0x4d754a){const _0x4edc43=_0x5d5759;_0x4edc43(0xde)!==_0x4d754a&&_0x4edc43(0x108)!==_0x4d754a||this[_0x4edc43(0xf1)][_0x4edc43(0xd8)][_0x4edc43(0x11e)](_0x193cb4);}[_0x5d5759(0x105)](){const _0x508b54=_0x5d5759;this[_0x508b54(0xf1)][_0x508b54(0x105)]();}[_0x5d5759(0xdc)](){const _0x407cae=_0x5d5759;this[_0x407cae(0xf1)][_0x407cae(0xdc)]();}[_0x5d5759(0x119)](){const _0x528548=_0x5d5759;this[_0x528548(0xf1)][_0x528548(0x119)]();}[_0x5d5759(0xff)](){const _0x4f72b0=_0x5d5759;this[_0x4f72b0(0xf1)][_0x4f72b0(0xff)]();}[_0x5d5759(0xdb)](_0x6d7b7b,_0x14d7b2){const _0x2cce1a=_0x5d5759;this[_0x2cce1a(0x11c)][_0x2cce1a(0x100)](_0x6d7b7b,_0x14d7b2);}[_0x5d5759(0xed)](){const _0x2d5965=_0x5d5759;this[_0x2d5965(0x11c)][_0x2d5965(0xe2)]();}[_0x5d5759(0xe9)](){const _0x1a57af=_0x5d5759;this[_0x1a57af(0x11c)][_0x1a57af(0xe9)]();}[_0x5d5759(0xea)](){const _0x559dfd=_0x5d5759;this[_0x559dfd(0x11c)][_0x559dfd(0xea)]();}[_0x5d5759(0x122)](_0x1a229d){const _0x354739=_0x5d5759,_0x3bc9aa=this[_0x354739(0xf1)][_0x354739(0xd8)][_0x354739(0x123)]()[_0x354739(0xe7)](_0x568bee=>_0x568bee['id']===_0x1a229d);return _0x3bc9aa?_0x3bc9aa[_0x354739(0xe4)]:null;}[_0x5d5759(0x129)](){const _0x11aa8c=_0x5d5759;this[_0x11aa8c(0x11c)][_0x11aa8c(0x129)]();}}
23
+ const _0x296cb2=_0x5d10;(function(_0x37d0a6,_0x2dc858){const _0x51a4b8=_0x5d10,_0x33e83e=_0x37d0a6();while(!![]){try{const _0x3eed4e=-parseInt(_0x51a4b8(0x114))/0x1*(-parseInt(_0x51a4b8(0x120))/0x2)+parseInt(_0x51a4b8(0xfb))/0x3+-parseInt(_0x51a4b8(0x102))/0x4+-parseInt(_0x51a4b8(0x10d))/0x5*(parseInt(_0x51a4b8(0x136))/0x6)+-parseInt(_0x51a4b8(0xf9))/0x7+-parseInt(_0x51a4b8(0x10f))/0x8*(parseInt(_0x51a4b8(0xf4))/0x9)+parseInt(_0x51a4b8(0x10e))/0xa;if(_0x3eed4e===_0x2dc858)break;else _0x33e83e['push'](_0x33e83e['shift']());}catch(_0x211f2a){_0x33e83e['push'](_0x33e83e['shift']());}}}(_0x2efb,0xa8388));import{ContextPlugin as _0x393086}from'ckeditor5/src/core.js';import{IconAIReview as _0x28f075}from'ckeditor5/src/icons.js';import{BodyCollection as _0x283c80}from'ckeditor5/src/ui.js';import{AITabs as _0x113084}from'../aitabs/aitabs.js';import{AIReviewModeView as _0x3ae373}from'./ui/aireviewmodeview.js';function _0x2efb(){const _0x5c5ccb=['showReviewCheckResultsView','fire','showBalloon','runReviewCheck','leaveReviewMode','getResults','AI_REVIEW_MODE','setActiveStateInResults','retryReview','showNoChangesView','acceptChange','toggleDiff','hideActionsWhenResultIsReady','view','delegate','status','addTab','135MVtKYe','isPremiumPlugin','hasChecks','leaveReviewModeResultList','addCheckRunResult','9248540SehIzk','detachFromDom','2118180lmKZjw','reviewCheckListView','init','activateTab','reviewCheckResultsView','find','showChangeBalloon','1903220GYxFTR','showResult','setItemAsActive','_reviewModeView','error-chunk','showReviewCompletedView','_reviewModeBalloonSuggestionItemView','setAvailableChecks','hideBalloon','activateChange','getChangeElement','5iXLQUO','30278020aUOTZV','500152ARVcRg','resetActiveStateInResults','showReviewCheckList','showActionsWhenResultIsReady','showChunkErrorView','723EIMlty','acceptAllChanges','showGeneralErrorView','deactivateChange','finishReview','_bodyCollection','hideChangeBalloon','context','showReviewCheckListView','isOfficialPlugin','destroy','outdated','554xUEmWC','requires','abortReviewStream','showDiffInBalloon','setItemAsInactive','showCheckRunResults','pluginName','setCheckResultTitle','learnMore','updateChangeState','rejected','dismissChange','accepted','showCheckRunResult','hideDiffInBalloon','reviewMode','AITabs','setChecks','element','AIReviewModeUI','hideResult','get','3061746yxIajp','getReviewCheckList','forEach','locale','error-general','setTitle','plugins','attachToDom'];_0x2efb=function(){return _0x5c5ccb;};return _0x2efb();}function _0x5d10(_0x48063f,_0x391ddc){const _0x2efbb4=_0x2efb();return _0x5d10=function(_0x5d101d,_0x11d7f5){_0x5d101d=_0x5d101d-0xdd;let _0x109e81=_0x2efbb4[_0x5d101d];return _0x109e81;},_0x5d10(_0x48063f,_0x391ddc);}import{getTranslation as _0x42a3bb}from'../aicore/utils/common-translations.js';import{AIReviewModeBalloonSuggestionItemView as _0x2c23cb}from'./ui/aireviewmodeballoonsuggestionview.js';import'../../theme/aireviewmode/aireviewmode.css';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x296cb2(0x137),_0x296cb2(0xe6),_0x296cb2(0x122),_0x296cb2(0xee),_0x296cb2(0x115),_0x296cb2(0xf7),_0x296cb2(0x10b),_0x296cb2(0xed),_0x296cb2(0x12b),_0x296cb2(0x128),_0x296cb2(0x118),_0x296cb2(0xeb)];export class AIReviewModeUI extends _0x393086{[_0x296cb2(0x105)];[_0x296cb2(0x108)];[_0x296cb2(0x119)];static get[_0x296cb2(0x121)](){return[_0x113084];}static get[_0x296cb2(0x126)](){const _0x208817=_0x296cb2;return _0x208817(0x133);}static get[_0x296cb2(0x11d)](){return!0x0;}static get[_0x296cb2(0xf5)](){return!0x0;}constructor(_0x142eda){const _0x3655dd=_0x296cb2;super(_0x142eda),this[_0x3655dd(0x119)]=new _0x283c80(this[_0x3655dd(0x11b)][_0x3655dd(0xde)]),this[_0x3655dd(0x119)][_0x3655dd(0xe2)](),this[_0x3655dd(0x105)]=new _0x3ae373(this[_0x3655dd(0x11b)][_0x3655dd(0xde)]),this[_0x3655dd(0x105)][_0x3655dd(0xf1)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x3655dd(0x108)]=new _0x2c23cb(this[_0x3655dd(0x11b)][_0x3655dd(0xde)],this[_0x3655dd(0x119)]),this[_0x3655dd(0x108)][_0x3655dd(0xf1)](_0x3655dd(0xed),_0x3655dd(0x12b),_0x3655dd(0x117))['to'](this);}[_0x296cb2(0xfd)](){const _0x5a7ec7=_0x296cb2,_0x37f4ca=this[_0x5a7ec7(0x11b)][_0x5a7ec7(0xe1)][_0x5a7ec7(0x135)](_0x5a7ec7(0x130));_0x37f4ca[_0x5a7ec7(0xf0)]['on'](_0x5a7ec7(0xfe),(_0x729941,_0x1685e7)=>{const _0x5c92ee=_0x5a7ec7;_0x5c92ee(0x12f)===_0x1685e7?this[_0x5c92ee(0xe4)](_0x5c92ee(0x137)):this[_0x5c92ee(0xe4)](_0x5c92ee(0xe7));}),_0x37f4ca[_0x5a7ec7(0xf0)][_0x5a7ec7(0xf3)]({'id':_0x5a7ec7(0x12f),'buttonLabel':_0x42a3bb(this[_0x5a7ec7(0x11b)][_0x5a7ec7(0xde)],_0x5a7ec7(0xe9)),'buttonIcon':_0x28f075,'order':0x0,'content':this[_0x5a7ec7(0x105)]});}[_0x296cb2(0x11e)](){const _0x42823a=_0x296cb2;this[_0x42823a(0x119)][_0x42823a(0xfa)](),super[_0x42823a(0x11e)]();}[_0x296cb2(0x109)](_0x1faa09){const _0x5f2be7=_0x296cb2;this[_0x5f2be7(0x105)][_0x5f2be7(0xfc)][_0x5f2be7(0xf6)]()||this[_0x5f2be7(0x105)][_0x5f2be7(0xfc)][_0x5f2be7(0x131)](_0x1faa09),this[_0x5f2be7(0x105)][_0x5f2be7(0x11c)]();}[_0x296cb2(0x111)](){const _0x2e8d17=_0x296cb2;this[_0x2e8d17(0xe4)](_0x2e8d17(0x137));}[_0x296cb2(0x125)](_0x71ce0){const _0x5f2d59=_0x296cb2;_0x71ce0&&(_0x5f2d59(0xdf)!==_0x71ce0[_0x5f2d59(0xf2)]?_0x5f2d59(0x106)!==_0x71ce0[_0x5f2d59(0xf2)]?this[_0x5f2d59(0x105)][_0x5f2d59(0xe3)]():this[_0x5f2d59(0x113)]():this[_0x5f2d59(0x116)]());}[_0x296cb2(0x12d)](_0x544980){const _0x2a9a98=_0x296cb2;this[_0x2a9a98(0x105)][_0x2a9a98(0xf8)](_0x544980);}[_0x296cb2(0x116)](){const _0x595c70=_0x296cb2;this[_0x595c70(0x105)][_0x595c70(0x116)]();}[_0x296cb2(0x113)](){const _0x1f7521=_0x296cb2;this[_0x1f7521(0x105)][_0x1f7521(0x113)]();}[_0x296cb2(0x127)](_0x3fee55,_0x2f343e){const _0x164a2c=_0x296cb2;this[_0x164a2c(0x105)][_0x164a2c(0xff)][_0x164a2c(0xe0)](_0x3fee55,_0x2f343e);}[_0x296cb2(0xea)](_0x11ef85){const _0x4a851c=_0x296cb2;this[_0x4a851c(0x105)][_0x4a851c(0xff)][_0x4a851c(0xe8)]()[_0x4a851c(0xdd)](_0x4ce4cc=>{const _0x2097ff=_0x4a851c;_0x4ce4cc['id']===_0x11ef85&&_0x4ce4cc[_0x2097ff(0x104)]();});}[_0x296cb2(0x110)](){const _0x2c6e6a=_0x296cb2;this[_0x2c6e6a(0x105)][_0x2c6e6a(0xff)][_0x2c6e6a(0xe8)]()[_0x2c6e6a(0xdd)](_0x29655e=>_0x29655e[_0x2c6e6a(0x124)]());}[_0x296cb2(0x129)](_0x1792e7,_0x3c2f66){const _0x254e39=_0x296cb2;_0x254e39(0x12c)===_0x3c2f66||_0x254e39(0x12a)===_0x3c2f66||_0x254e39(0x11f)===_0x3c2f66?this[_0x254e39(0x105)][_0x254e39(0xff)][_0x254e39(0x134)](_0x1792e7,_0x3c2f66):this[_0x254e39(0x105)][_0x254e39(0xff)][_0x254e39(0x103)](_0x1792e7,_0x3c2f66);}[_0x296cb2(0x107)](){const _0xbd12db=_0x296cb2;this[_0xbd12db(0x105)][_0xbd12db(0x107)]();}[_0x296cb2(0x112)](){const _0x555ce4=_0x296cb2;this[_0x555ce4(0x105)][_0x555ce4(0x112)]();}[_0x296cb2(0xec)](){const _0xf3a4ec=_0x296cb2;this[_0xf3a4ec(0x105)][_0xf3a4ec(0xec)]();}[_0x296cb2(0xef)](){const _0x4c3fa6=_0x296cb2;this[_0x4c3fa6(0x105)][_0x4c3fa6(0xef)]();}[_0x296cb2(0x101)](_0x13742f,_0x5a722d){const _0x5d6d69=_0x296cb2;this[_0x5d6d69(0x108)][_0x5d6d69(0xe5)](_0x13742f,_0x5a722d);}[_0x296cb2(0x11a)](){const _0x1e2120=_0x296cb2;this[_0x1e2120(0x108)][_0x1e2120(0x10a)]();}[_0x296cb2(0x12e)](){const _0x2a206b=_0x296cb2;this[_0x2a206b(0x108)][_0x2a206b(0x12e)]();}[_0x296cb2(0x123)](){const _0x1bfced=_0x296cb2;this[_0x1bfced(0x108)][_0x1bfced(0x123)]();}[_0x296cb2(0x10c)](_0x159a6d){const _0xca975d=_0x296cb2,_0x59eaa6=this[_0xca975d(0x105)][_0xca975d(0xff)][_0xca975d(0xe8)]()[_0xca975d(0x100)](_0xc6926a=>_0xc6926a['id']===_0x159a6d);return _0x59eaa6?_0x59eaa6[_0xca975d(0x132)]:null;}[_0x296cb2(0x117)](){const _0x29f752=_0x296cb2;this[_0x29f752(0x108)][_0x29f752(0x117)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xfa8a(){var _0x1db8d7=['1359440rlJCXx','124282CPnrYM','27vpkknS','isParameterized','useArgs','options','409183oLezlr','20UgrOAV','title','description','2742TfrhBd','6uUFvvQ','4148886cQeJyi','2266488GsljVJ','1764992BnWHvQ'];_0xfa8a=function(){return _0x1db8d7;};return _0xfa8a();}var _0x532bda=_0x4f7a;function _0x4f7a(_0x346811,_0x28e205){var _0xfa8a13=_0xfa8a();return _0x4f7a=function(_0x4f7a92,_0xad71b2){_0x4f7a92=_0x4f7a92-0x1ac;var _0x3920ea=_0xfa8a13[_0x4f7a92];return _0x3920ea;},_0x4f7a(_0x346811,_0x28e205);}(function(_0x158ad8,_0x59baf6){var _0x1d1d65=_0x4f7a,_0x3b2e6b=_0x158ad8();while(!![]){try{var _0x57d33a=-parseInt(_0x1d1d65(0x1b4))/0x1+-parseInt(_0x1d1d65(0x1af))/0x2*(parseInt(_0x1d1d65(0x1b9))/0x3)+-parseInt(_0x1d1d65(0x1ad))/0x4+parseInt(_0x1d1d65(0x1b5))/0x5*(-parseInt(_0x1d1d65(0x1b8))/0x6)+parseInt(_0x1d1d65(0x1ba))/0x7+parseInt(_0x1d1d65(0x1ac))/0x8+-parseInt(_0x1d1d65(0x1b0))/0x9*(-parseInt(_0x1d1d65(0x1ae))/0xa);if(_0x57d33a===_0x59baf6)break;else _0x3b2e6b['push'](_0x3b2e6b['shift']());}catch(_0x21d346){_0x3b2e6b['push'](_0x3b2e6b['shift']());}}}(_0xfa8a,0x4b064));export class AIReviewCheck{['id'];[_0x532bda(0x1b6)];[_0x532bda(0x1b7)];[_0x532bda(0x1b1)];[_0x532bda(0x1b2)];[_0x532bda(0x1b3)];constructor({id:_0x359d90,title:_0x3e5d19,description:_0x2a7c34,isParameterized:_0x4796e4,useArgs:_0x421219,options:_0x1caf75}){var _0x9bb61a=_0x532bda;this['id']=_0x359d90,this[_0x9bb61a(0x1b6)]=_0x3e5d19,this[_0x9bb61a(0x1b7)]=_0x2a7c34,this[_0x9bb61a(0x1b1)]=_0x4796e4,this[_0x9bb61a(0x1b2)]=_0x421219,this[_0x9bb61a(0x1b3)]=_0x1caf75;}}
23
+ var _0x217f58=_0x5c09;function _0x2ade(){var _0x17d3cc=['options','4271916SNasbS','2456808MDTrlK','2664273KfVbYt','11vxZEtT','4667131lIEkZr','14905070RMaGtI','5JxrWfi','16sHcxkA','38XZWqoO','useArgs','55509ACgYGc','description','title','isParameterized','403569ESlQaS'];_0x2ade=function(){return _0x17d3cc;};return _0x2ade();}(function(_0x46c4e5,_0x5bf895){var _0x2afd05=_0x5c09,_0x4f7e77=_0x46c4e5();while(!![]){try{var _0x293fb4=-parseInt(_0x2afd05(0x110))/0x1*(parseInt(_0x2afd05(0x10e))/0x2)+-parseInt(_0x2afd05(0x108))/0x3+parseInt(_0x2afd05(0x107))/0x4*(parseInt(_0x2afd05(0x10c))/0x5)+-parseInt(_0x2afd05(0x106))/0x6+-parseInt(_0x2afd05(0x10a))/0x7*(-parseInt(_0x2afd05(0x10d))/0x8)+-parseInt(_0x2afd05(0x104))/0x9+parseInt(_0x2afd05(0x10b))/0xa*(parseInt(_0x2afd05(0x109))/0xb);if(_0x293fb4===_0x5bf895)break;else _0x4f7e77['push'](_0x4f7e77['shift']());}catch(_0x43ef0f){_0x4f7e77['push'](_0x4f7e77['shift']());}}}(_0x2ade,0xb451a));function _0x5c09(_0x5a7548,_0x1ec496){var _0x2ade22=_0x2ade();return _0x5c09=function(_0x5c0985,_0x1062cb){_0x5c0985=_0x5c0985-0x103;var _0x278248=_0x2ade22[_0x5c0985];return _0x278248;},_0x5c09(_0x5a7548,_0x1ec496);}export class AIReviewCheck{['id'];[_0x217f58(0x112)];[_0x217f58(0x111)];[_0x217f58(0x103)];[_0x217f58(0x10f)];[_0x217f58(0x105)];constructor({id:_0x4e98c4,title:_0x3ee04f,description:_0x1b73b0,isParameterized:_0x31a61e,useArgs:_0x5e229f,options:_0x4de36e}){var _0x28782f=_0x217f58;this['id']=_0x4e98c4,this[_0x28782f(0x112)]=_0x3ee04f,this[_0x28782f(0x111)]=_0x1b73b0,this[_0x28782f(0x103)]=_0x31a61e,this[_0x28782f(0x10f)]=_0x5e229f,this[_0x28782f(0x105)]=_0x4de36e;}}
@@ -6,11 +6,11 @@
6
6
  * @module ai/aireviewmode/model/aireviewcheckcustom
7
7
  */
8
8
  import { AIReviewCheck } from './aireviewcheck.js';
9
- import { type AIReviewModel } from './aireviewmodels.js';
9
+ import { type AIModelData } from '../../aicore/aiconnector.js';
10
10
  /**
11
11
  * Represents the single type of custom check that can be performed in the AI Review Mode.
12
12
  */
13
13
  export declare class AIReviewCheckCustom extends AIReviewCheck {
14
- get models(): Array<AIReviewModel>;
15
- set models(models: Array<AIReviewModel>);
14
+ get models(): Array<AIModelData>;
15
+ set models(models: Array<AIModelData>);
16
16
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x57b7(_0x1bd074,_0x46a719){var _0x4656b6=_0x4656();return _0x57b7=function(_0x57b779,_0x246ac4){_0x57b779=_0x57b779-0x15e;var _0x5e27c1=_0x4656b6[_0x57b779];return _0x5e27c1;},_0x57b7(_0x1bd074,_0x46a719);}function _0x4656(){var _0x5a3ff9=['7SUivxL','4555090zsTEkI','models','3560716zzBIkb','5276344wzhunN','3119487zZaeFL','287138iATMkI','4698936QGToyl','3MPfSaj','9hInqfl','_models','53846200dSIufr'];_0x4656=function(){return _0x5a3ff9;};return _0x4656();}var _0x1ec740=_0x57b7;(function(_0x2b1a2b,_0x5b1eaf){var _0x31fe23=_0x57b7,_0x335038=_0x2b1a2b();while(!![]){try{var _0x823bec=parseInt(_0x31fe23(0x15f))/0x1*(-parseInt(_0x31fe23(0x169))/0x2)+-parseInt(_0x31fe23(0x168))/0x3+-parseInt(_0x31fe23(0x166))/0x4+-parseInt(_0x31fe23(0x164))/0x5+-parseInt(_0x31fe23(0x15e))/0x6+-parseInt(_0x31fe23(0x163))/0x7*(parseInt(_0x31fe23(0x167))/0x8)+parseInt(_0x31fe23(0x160))/0x9*(parseInt(_0x31fe23(0x162))/0xa);if(_0x823bec===_0x5b1eaf)break;else _0x335038['push'](_0x335038['shift']());}catch(_0x565d50){_0x335038['push'](_0x335038['shift']());}}}(_0x4656,0xa39ec));import{AIReviewCheck as _0x74b01}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x74b01{[_0x1ec740(0x161)]=[];get[_0x1ec740(0x165)](){var _0x495174=_0x1ec740;return this[_0x495174(0x161)];}set[_0x1ec740(0x165)](_0x2b0d62){var _0x1ad8a0=_0x1ec740;this[_0x1ad8a0(0x161)]=_0x2b0d62;}}
23
+ function _0x799f(_0x3e90ca,_0x248e17){var _0x335c4f=_0x335c();return _0x799f=function(_0x799fcb,_0x50c3de){_0x799fcb=_0x799fcb-0x96;var _0x58cb5c=_0x335c4f[_0x799fcb];return _0x58cb5c;},_0x799f(_0x3e90ca,_0x248e17);}var _0x524395=_0x799f;function _0x335c(){var _0x7ca8bf=['_models','1831848GTRgmo','66xyHxYm','1220785UTVsOI','73744gQOCDA','1043805vUhmCS','126559NmpUCs','6foshyk','6iTRksP','6629601biQfUO','30sWmxJQ','models','178497lXvgzs'];_0x335c=function(){return _0x7ca8bf;};return _0x335c();}(function(_0x5e1fc8,_0x1ad217){var _0x23392a=_0x799f,_0x5d1e69=_0x5e1fc8();while(!![]){try{var _0x28701b=parseInt(_0x23392a(0x96))/0x1*(parseInt(_0x23392a(0x98))/0x2)+parseInt(_0x23392a(0x9f))/0x3*(-parseInt(_0x23392a(0xa1))/0x4)+parseInt(_0x23392a(0xa0))/0x5*(parseInt(_0x23392a(0x97))/0x6)+-parseInt(_0x23392a(0xa2))/0x7+-parseInt(_0x23392a(0x9e))/0x8+parseInt(_0x23392a(0x9c))/0x9*(-parseInt(_0x23392a(0x9a))/0xa)+parseInt(_0x23392a(0x99))/0xb;if(_0x28701b===_0x1ad217)break;else _0x5d1e69['push'](_0x5d1e69['shift']());}catch(_0x1b0ed3){_0x5d1e69['push'](_0x5d1e69['shift']());}}}(_0x335c,0x5d96a));import{AIReviewCheck as _0x590b05}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x590b05{[_0x524395(0x9d)]=[];get[_0x524395(0x9b)](){var _0x48fb00=_0x524395;return this[_0x48fb00(0x9d)];}set[_0x524395(0x9b)](_0x429156){var _0x257f84=_0x524395;this[_0x257f84(0x9d)]=_0x429156;}}