@ckeditor/ckeditor5-ai 47.5.0 → 47.6.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 (515) hide show
  1. package/build/966.ai.js +5 -0
  2. package/build/ai.js +1 -2
  3. package/build/translations/af.js +1 -1
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/ast.js +1 -1
  6. package/build/translations/az.js +1 -1
  7. package/build/translations/be.js +1 -1
  8. package/build/translations/bg.js +1 -1
  9. package/build/translations/bn.js +1 -1
  10. package/build/translations/bs.js +1 -1
  11. package/build/translations/ca.js +1 -1
  12. package/build/translations/cs.js +1 -1
  13. package/build/translations/da.js +1 -1
  14. package/build/translations/de-ch.js +1 -1
  15. package/build/translations/de.js +1 -1
  16. package/build/translations/el.js +1 -1
  17. package/build/translations/en-au.js +1 -1
  18. package/build/translations/en-gb.js +1 -1
  19. package/build/translations/en.js +1 -0
  20. package/build/translations/eo.js +1 -1
  21. package/build/translations/es-co.js +1 -1
  22. package/build/translations/es.js +1 -1
  23. package/build/translations/et.js +1 -1
  24. package/build/translations/eu.js +1 -1
  25. package/build/translations/fa.js +1 -1
  26. package/build/translations/fi.js +1 -1
  27. package/build/translations/fr.js +1 -1
  28. package/build/translations/gl.js +1 -1
  29. package/build/translations/gu.js +1 -1
  30. package/build/translations/he.js +1 -1
  31. package/build/translations/hi.js +1 -1
  32. package/build/translations/hr.js +1 -1
  33. package/build/translations/hu.js +1 -1
  34. package/build/translations/hy.js +1 -1
  35. package/build/translations/id.js +1 -1
  36. package/build/translations/it.js +1 -1
  37. package/build/translations/ja.js +1 -1
  38. package/build/translations/jv.js +1 -1
  39. package/build/translations/kk.js +1 -1
  40. package/build/translations/km.js +1 -1
  41. package/build/translations/kn.js +1 -1
  42. package/build/translations/ko.js +1 -1
  43. package/build/translations/ku.js +1 -1
  44. package/build/translations/lt.js +1 -1
  45. package/build/translations/lv.js +1 -1
  46. package/build/translations/ms.js +1 -1
  47. package/build/translations/nb.js +1 -1
  48. package/build/translations/ne.js +1 -1
  49. package/build/translations/nl.js +1 -1
  50. package/build/translations/no.js +1 -1
  51. package/build/translations/oc.js +1 -1
  52. package/build/translations/pl.js +1 -1
  53. package/build/translations/pt-br.js +1 -1
  54. package/build/translations/pt.js +1 -1
  55. package/build/translations/ro.js +1 -1
  56. package/build/translations/ru.js +1 -1
  57. package/build/translations/si.js +1 -1
  58. package/build/translations/sk.js +1 -1
  59. package/build/translations/sl.js +1 -1
  60. package/build/translations/sq.js +1 -1
  61. package/build/translations/sr-latn.js +1 -1
  62. package/build/translations/sr.js +1 -1
  63. package/build/translations/sv.js +1 -1
  64. package/build/translations/th.js +1 -1
  65. package/build/translations/ti.js +1 -1
  66. package/build/translations/tk.js +1 -1
  67. package/build/translations/tr.js +1 -1
  68. package/build/translations/tt.js +1 -1
  69. package/build/translations/ug.js +1 -1
  70. package/build/translations/uk.js +1 -1
  71. package/build/translations/ur.js +1 -1
  72. package/build/translations/uz.js +1 -1
  73. package/build/translations/vi.js +1 -1
  74. package/build/translations/zh-cn.js +1 -1
  75. package/build/translations/zh.js +1 -1
  76. package/dist/index-editor.css +387 -403
  77. package/dist/index.css +441 -413
  78. package/dist/index.js +5 -5
  79. package/dist/translations/af.js +1 -1
  80. package/dist/translations/af.umd.js +1 -1
  81. package/dist/translations/ar.js +1 -1
  82. package/dist/translations/ar.umd.js +1 -1
  83. package/dist/translations/ast.js +1 -1
  84. package/dist/translations/ast.umd.js +1 -1
  85. package/dist/translations/az.js +1 -1
  86. package/dist/translations/az.umd.js +1 -1
  87. package/dist/translations/be.js +1 -1
  88. package/dist/translations/be.umd.js +1 -1
  89. package/dist/translations/bg.js +1 -1
  90. package/dist/translations/bg.umd.js +1 -1
  91. package/dist/translations/bn.js +1 -1
  92. package/dist/translations/bn.umd.js +1 -1
  93. package/dist/translations/bs.js +1 -1
  94. package/dist/translations/bs.umd.js +1 -1
  95. package/dist/translations/ca.js +1 -1
  96. package/dist/translations/ca.umd.js +1 -1
  97. package/dist/translations/cs.js +1 -1
  98. package/dist/translations/cs.umd.js +1 -1
  99. package/dist/translations/da.js +1 -1
  100. package/dist/translations/da.umd.js +1 -1
  101. package/dist/translations/de-ch.js +1 -1
  102. package/dist/translations/de-ch.umd.js +1 -1
  103. package/dist/translations/de.js +1 -1
  104. package/dist/translations/de.umd.js +1 -1
  105. package/dist/translations/el.js +1 -1
  106. package/dist/translations/el.umd.js +1 -1
  107. package/dist/translations/en-au.js +1 -1
  108. package/dist/translations/en-au.umd.js +1 -1
  109. package/dist/translations/en-gb.js +1 -1
  110. package/dist/translations/en-gb.umd.js +1 -1
  111. package/dist/translations/en.js +1 -1
  112. package/dist/translations/en.umd.js +1 -1
  113. package/dist/translations/eo.js +1 -1
  114. package/dist/translations/eo.umd.js +1 -1
  115. package/dist/translations/es-co.js +1 -1
  116. package/dist/translations/es-co.umd.js +1 -1
  117. package/dist/translations/es.js +1 -1
  118. package/dist/translations/es.umd.js +1 -1
  119. package/dist/translations/et.js +1 -1
  120. package/dist/translations/et.umd.js +1 -1
  121. package/dist/translations/eu.js +1 -1
  122. package/dist/translations/eu.umd.js +1 -1
  123. package/dist/translations/fa.js +1 -1
  124. package/dist/translations/fa.umd.js +1 -1
  125. package/dist/translations/fi.js +1 -1
  126. package/dist/translations/fi.umd.js +1 -1
  127. package/dist/translations/fr.js +1 -1
  128. package/dist/translations/fr.umd.js +1 -1
  129. package/dist/translations/gl.js +1 -1
  130. package/dist/translations/gl.umd.js +1 -1
  131. package/dist/translations/gu.js +1 -1
  132. package/dist/translations/gu.umd.js +1 -1
  133. package/dist/translations/he.js +1 -1
  134. package/dist/translations/he.umd.js +1 -1
  135. package/dist/translations/hi.js +1 -1
  136. package/dist/translations/hi.umd.js +1 -1
  137. package/dist/translations/hr.js +1 -1
  138. package/dist/translations/hr.umd.js +1 -1
  139. package/dist/translations/hu.js +1 -1
  140. package/dist/translations/hu.umd.js +1 -1
  141. package/dist/translations/hy.js +1 -1
  142. package/dist/translations/hy.umd.js +1 -1
  143. package/dist/translations/id.js +1 -1
  144. package/dist/translations/id.umd.js +1 -1
  145. package/dist/translations/it.js +1 -1
  146. package/dist/translations/it.umd.js +1 -1
  147. package/dist/translations/ja.js +1 -1
  148. package/dist/translations/ja.umd.js +1 -1
  149. package/dist/translations/jv.js +1 -1
  150. package/dist/translations/jv.umd.js +1 -1
  151. package/dist/translations/kk.js +1 -1
  152. package/dist/translations/kk.umd.js +1 -1
  153. package/dist/translations/km.js +1 -1
  154. package/dist/translations/km.umd.js +1 -1
  155. package/dist/translations/kn.js +1 -1
  156. package/dist/translations/kn.umd.js +1 -1
  157. package/dist/translations/ko.js +1 -1
  158. package/dist/translations/ko.umd.js +1 -1
  159. package/dist/translations/ku.js +1 -1
  160. package/dist/translations/ku.umd.js +1 -1
  161. package/dist/translations/lt.js +1 -1
  162. package/dist/translations/lt.umd.js +1 -1
  163. package/dist/translations/lv.js +1 -1
  164. package/dist/translations/lv.umd.js +1 -1
  165. package/dist/translations/ms.js +1 -1
  166. package/dist/translations/ms.umd.js +1 -1
  167. package/dist/translations/nb.js +1 -1
  168. package/dist/translations/nb.umd.js +1 -1
  169. package/dist/translations/ne.js +1 -1
  170. package/dist/translations/ne.umd.js +1 -1
  171. package/dist/translations/nl.js +1 -1
  172. package/dist/translations/nl.umd.js +1 -1
  173. package/dist/translations/no.js +1 -1
  174. package/dist/translations/no.umd.js +1 -1
  175. package/dist/translations/oc.js +1 -1
  176. package/dist/translations/oc.umd.js +1 -1
  177. package/dist/translations/pl.js +1 -1
  178. package/dist/translations/pl.umd.js +1 -1
  179. package/dist/translations/pt-br.js +1 -1
  180. package/dist/translations/pt-br.umd.js +1 -1
  181. package/dist/translations/pt.js +1 -1
  182. package/dist/translations/pt.umd.js +1 -1
  183. package/dist/translations/ro.js +1 -1
  184. package/dist/translations/ro.umd.js +1 -1
  185. package/dist/translations/ru.js +1 -1
  186. package/dist/translations/ru.umd.js +1 -1
  187. package/dist/translations/si.js +1 -1
  188. package/dist/translations/si.umd.js +1 -1
  189. package/dist/translations/sk.js +1 -1
  190. package/dist/translations/sk.umd.js +1 -1
  191. package/dist/translations/sl.js +1 -1
  192. package/dist/translations/sl.umd.js +1 -1
  193. package/dist/translations/sq.js +1 -1
  194. package/dist/translations/sq.umd.js +1 -1
  195. package/dist/translations/sr-latn.js +1 -1
  196. package/dist/translations/sr-latn.umd.js +1 -1
  197. package/dist/translations/sr.js +1 -1
  198. package/dist/translations/sr.umd.js +1 -1
  199. package/dist/translations/sv.js +1 -1
  200. package/dist/translations/sv.umd.js +1 -1
  201. package/dist/translations/th.js +1 -1
  202. package/dist/translations/th.umd.js +1 -1
  203. package/dist/translations/ti.js +1 -1
  204. package/dist/translations/ti.umd.js +1 -1
  205. package/dist/translations/tk.js +1 -1
  206. package/dist/translations/tk.umd.js +1 -1
  207. package/dist/translations/tr.js +1 -1
  208. package/dist/translations/tr.umd.js +1 -1
  209. package/dist/translations/tt.js +1 -1
  210. package/dist/translations/tt.umd.js +1 -1
  211. package/dist/translations/ug.js +1 -1
  212. package/dist/translations/ug.umd.js +1 -1
  213. package/dist/translations/uk.js +1 -1
  214. package/dist/translations/uk.umd.js +1 -1
  215. package/dist/translations/ur.js +1 -1
  216. package/dist/translations/ur.umd.js +1 -1
  217. package/dist/translations/uz.js +1 -1
  218. package/dist/translations/uz.umd.js +1 -1
  219. package/dist/translations/vi.js +1 -1
  220. package/dist/translations/vi.umd.js +1 -1
  221. package/dist/translations/zh-cn.js +1 -1
  222. package/dist/translations/zh-cn.umd.js +1 -1
  223. package/dist/translations/zh.js +1 -1
  224. package/dist/translations/zh.umd.js +1 -1
  225. package/lang/contexts.json +1 -0
  226. package/lang/translations/af.po +8 -4
  227. package/lang/translations/ar.po +8 -4
  228. package/lang/translations/ast.po +8 -4
  229. package/lang/translations/az.po +8 -4
  230. package/lang/translations/be.po +8 -4
  231. package/lang/translations/bg.po +8 -4
  232. package/lang/translations/bn.po +8 -4
  233. package/lang/translations/bs.po +8 -4
  234. package/lang/translations/ca.po +8 -4
  235. package/lang/translations/cs.po +8 -4
  236. package/lang/translations/da.po +8 -4
  237. package/lang/translations/de-ch.po +8 -4
  238. package/lang/translations/de.po +8 -4
  239. package/lang/translations/el.po +8 -4
  240. package/lang/translations/en-au.po +8 -4
  241. package/lang/translations/en-gb.po +8 -4
  242. package/lang/translations/en.po +8 -4
  243. package/lang/translations/eo.po +8 -4
  244. package/lang/translations/es-co.po +8 -4
  245. package/lang/translations/es.po +8 -4
  246. package/lang/translations/et.po +8 -4
  247. package/lang/translations/eu.po +8 -4
  248. package/lang/translations/fa.po +8 -4
  249. package/lang/translations/fi.po +8 -4
  250. package/lang/translations/fr.po +8 -4
  251. package/lang/translations/gl.po +8 -4
  252. package/lang/translations/gu.po +8 -4
  253. package/lang/translations/he.po +8 -4
  254. package/lang/translations/hi.po +8 -4
  255. package/lang/translations/hr.po +8 -4
  256. package/lang/translations/hu.po +8 -4
  257. package/lang/translations/hy.po +8 -4
  258. package/lang/translations/id.po +8 -4
  259. package/lang/translations/it.po +8 -4
  260. package/lang/translations/ja.po +8 -4
  261. package/lang/translations/jv.po +8 -4
  262. package/lang/translations/kk.po +8 -4
  263. package/lang/translations/km.po +8 -4
  264. package/lang/translations/kn.po +8 -4
  265. package/lang/translations/ko.po +8 -4
  266. package/lang/translations/ku.po +8 -4
  267. package/lang/translations/lt.po +8 -4
  268. package/lang/translations/lv.po +8 -4
  269. package/lang/translations/ms.po +8 -4
  270. package/lang/translations/nb.po +8 -4
  271. package/lang/translations/ne.po +8 -4
  272. package/lang/translations/nl.po +8 -4
  273. package/lang/translations/no.po +8 -4
  274. package/lang/translations/oc.po +8 -4
  275. package/lang/translations/pl.po +8 -4
  276. package/lang/translations/pt-br.po +8 -4
  277. package/lang/translations/pt.po +8 -4
  278. package/lang/translations/ro.po +8 -4
  279. package/lang/translations/ru.po +8 -4
  280. package/lang/translations/si.po +8 -4
  281. package/lang/translations/sk.po +8 -4
  282. package/lang/translations/sl.po +8 -4
  283. package/lang/translations/sq.po +8 -4
  284. package/lang/translations/sr-latn.po +8 -4
  285. package/lang/translations/sr.po +8 -4
  286. package/lang/translations/sv.po +8 -4
  287. package/lang/translations/th.po +8 -4
  288. package/lang/translations/ti.po +8 -4
  289. package/lang/translations/tk.po +8 -4
  290. package/lang/translations/tr.po +8 -4
  291. package/lang/translations/tt.po +8 -4
  292. package/lang/translations/ug.po +8 -4
  293. package/lang/translations/uk.po +8 -4
  294. package/lang/translations/ur.po +8 -4
  295. package/lang/translations/uz.po +8 -4
  296. package/lang/translations/vi.po +8 -4
  297. package/lang/translations/zh-cn.po +8 -4
  298. package/lang/translations/zh.po +8 -4
  299. package/package.json +21 -21
  300. package/src/aiactions/aiactions.js +1 -1
  301. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  302. package/src/aiactions/model/aiactionsreply.js +1 -1
  303. package/src/aiassistant/adapters/aiadapter.js +1 -1
  304. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  305. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  306. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  307. package/src/aiassistant/aiassistant.js +1 -1
  308. package/src/aiassistant/aiassistantediting.js +1 -1
  309. package/src/aiassistant/aiassistantui.js +1 -1
  310. package/src/aiassistant/legacyerrors.js +1 -1
  311. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  312. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  313. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  314. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  315. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  316. package/src/aiassistant/ui/form/aiformview.js +1 -1
  317. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  318. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  319. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  320. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  321. package/src/aiassistant/utils/common-translations.js +1 -1
  322. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  323. package/src/aiballoon/aiballoon.js +1 -1
  324. package/src/aiballoon/ui/aiballoonview.js +1 -1
  325. package/src/aichat/aichat.d.ts +12 -8
  326. package/src/aichat/aichat.js +1 -1
  327. package/src/aichat/aichatballoon.js +1 -1
  328. package/src/aichat/aichatcontroller.d.ts +4 -0
  329. package/src/aichat/aichatcontroller.js +1 -1
  330. package/src/aichat/aichatui.d.ts +24 -1
  331. package/src/aichat/aichatui.js +1 -1
  332. package/src/aichat/model/aichatcontext.js +1 -1
  333. package/src/aichat/model/aichatconversation.d.ts +13 -0
  334. package/src/aichat/model/aichatconversation.js +1 -1
  335. package/src/aichat/model/aichatinteraction.js +1 -1
  336. package/src/aichat/ui/aichatballoonview.js +1 -1
  337. package/src/aichat/ui/aichatcontrolsview.d.ts +5 -1
  338. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  339. package/src/aichat/ui/aichatfeedview.d.ts +4 -0
  340. package/src/aichat/ui/aichatfeedview.js +1 -1
  341. package/src/aichat/ui/aichatheaderview.js +1 -1
  342. package/src/aichat/ui/aichatview.js +1 -1
  343. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  344. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  345. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  346. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  347. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  348. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  349. package/src/aichat/ui/controls/aichatpromptinputview.d.ts +5 -0
  350. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  351. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  352. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  353. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  354. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  355. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  356. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  357. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  358. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  359. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  360. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  361. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  362. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  363. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  364. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  365. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  366. package/src/aichat/utils/eventnames.js +1 -1
  367. package/src/aichat/utils/promisequeue.js +1 -1
  368. package/src/aichathistory/aichathistory.js +1 -1
  369. package/src/aichathistory/aichathistorycontroller.js +1 -1
  370. package/src/aichathistory/aichathistoryui.js +1 -1
  371. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  372. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  373. package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
  374. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  375. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  376. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  377. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  378. package/src/aichatshortcuts/aichatshortcuts.d.ts +324 -0
  379. package/src/aichatshortcuts/aichatshortcuts.js +23 -0
  380. package/src/aichatshortcuts/ui/aichatshortcutsview.d.ts +23 -0
  381. package/src/aichatshortcuts/ui/aichatshortcutsview.js +23 -0
  382. package/src/aichatshortcuts/ui/aichatshortcutview.d.ts +23 -0
  383. package/src/aichatshortcuts/ui/aichatshortcutview.js +23 -0
  384. package/src/aiconfig.d.ts +7 -0
  385. package/src/aicore/aiconnector.js +1 -1
  386. package/src/aicore/aiediting.js +1 -1
  387. package/src/aicore/model/aicapabilities.d.ts +8 -0
  388. package/src/aicore/model/aicapabilities.js +1 -1
  389. package/src/aicore/model/aicontext.d.ts +7 -1
  390. package/src/aicore/model/aicontext.js +1 -1
  391. package/src/aicore/model/aiinteraction.js +1 -1
  392. package/src/aicore/model/aimodels.js +1 -1
  393. package/src/aicore/model/aireply.js +1 -1
  394. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  395. package/src/aicore/pipeline/airesponseparser.js +2 -2
  396. package/src/aicore/ui/aidisclaimerview.js +1 -1
  397. package/src/aicore/ui/aiskeleton.js +1 -1
  398. package/src/aicore/ui/aispinner.js +1 -1
  399. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  400. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  401. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  402. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  403. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  404. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  405. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  406. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  407. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  408. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  409. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  410. package/src/aicore/utils/common-translations.js +1 -1
  411. package/src/aicore/utils/createresizebutton.d.ts +1 -0
  412. package/src/aicore/utils/createresizebutton.js +1 -1
  413. package/src/aicore/utils/documentposition.js +1 -1
  414. package/src/aicore/utils/documentrange.js +1 -1
  415. package/src/aicore/utils/eventnames.js +1 -1
  416. package/src/aicore/utils/geteditorfromcontext.js +1 -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/aicore/utils/scrollmanager.js +1 -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/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  433. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  434. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  435. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  436. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  437. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  438. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  439. package/src/aireviewcore/aireviewcoreui.js +1 -1
  440. package/src/aireviewcore/model/aireviewcheck.d.ts +4 -0
  441. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  442. package/src/aireviewcore/model/aireviewchecklist.d.ts +3 -3
  443. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  444. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  445. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  446. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  447. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  448. package/src/aireviewcore/types.d.ts +11 -2
  449. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  450. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  451. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  452. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  453. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  454. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  455. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  456. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  457. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  458. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  459. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  460. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  461. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  462. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +4 -0
  463. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  464. package/src/aireviewmode/aireviewmode.d.ts +95 -0
  465. package/src/aireviewmode/aireviewmode.js +1 -1
  466. package/src/aireviewmode/aireviewmodecontroller.d.ts +5 -0
  467. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  468. package/src/aireviewmode/aireviewmodeui.js +1 -1
  469. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +6 -3
  470. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  471. package/src/aireviewmode/model/aireviewcheckextra.d.ts +35 -0
  472. package/src/aireviewmode/model/aireviewcheckextra.js +23 -0
  473. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +2 -1
  474. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  475. package/src/aireviewmode/model/aireviewextracheckrun.d.ts +20 -0
  476. package/src/aireviewmode/model/aireviewextracheckrun.js +23 -0
  477. package/src/aireviewmode/model/aireviewmodechecklist.d.ts +10 -0
  478. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  479. package/src/aitabs/aitabs.js +1 -1
  480. package/src/aitabs/aitabsmainview.js +1 -1
  481. package/src/aitabs/tabs/aitabsview.js +1 -1
  482. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  483. package/src/aitabs/tabs/tabpanelview.js +1 -1
  484. package/src/aitranslate/aitranslate.js +1 -1
  485. package/src/aitranslate/aitranslatecontroller.js +1 -1
  486. package/src/aitranslate/aitranslateui.js +1 -1
  487. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  488. package/src/aitranslate/model/aitranslatechecklist.d.ts +5 -0
  489. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  490. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  491. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  492. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  493. package/src/augmentation.d.ts +2 -0
  494. package/src/errors.js +1 -1
  495. package/src/errorsmap.js +1 -1
  496. package/src/index.d.ts +2 -1
  497. package/src/index.js +1 -1
  498. package/theme/aichat/aichat-controls/aichat-context-controls.css +0 -1
  499. package/theme/aichat/aichat-controls/aichat-controls-button.css +22 -23
  500. package/theme/aichat/aichat-controls/prompt-input.css +23 -0
  501. package/theme/aichat/aichat-controls.css +0 -19
  502. package/theme/aichat/aichathistory.css +1 -1
  503. package/theme/aichat/aiminitoolbar.css +0 -16
  504. package/theme/aichatshortcuts/aichatshortcuts.css +84 -0
  505. package/theme/aieditorintegration/aitogglebutton.css +5 -11
  506. package/theme/aiquickactions/aiquickactions.css +6 -11
  507. package/theme/aiquickactions/aiquickactionsballoon.css +37 -29
  508. package/theme/aireviewcore/aireviewcore-check-run.css +4 -0
  509. package/theme/aireviewcore/aireviewcore.css +4 -4
  510. package/theme/aitabs/aitabsresizebutton.css +14 -0
  511. package/theme/aitranslate/aitranslate.css +4 -0
  512. package/theme/common/aibutton.css +56 -67
  513. package/theme/common/aiheader.css +1 -1
  514. package/theme/common/aisuggestioncontentparttoolbar.css +1 -1
  515. package/theme/common/aisuggestionstreamablecontent.css +4 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x592073=_0x4203;(function(_0xc20bea,_0x3ea37f){const _0x15be06=_0x4203,_0x355813=_0xc20bea();while(!![]){try{const _0x3bb915=parseInt(_0x15be06(0x137))/0x1*(-parseInt(_0x15be06(0xf8))/0x2)+parseInt(_0x15be06(0xfe))/0x3*(parseInt(_0x15be06(0x136))/0x4)+-parseInt(_0x15be06(0xf2))/0x5*(-parseInt(_0x15be06(0x123))/0x6)+parseInt(_0x15be06(0x111))/0x7+-parseInt(_0x15be06(0x128))/0x8+parseInt(_0x15be06(0xf0))/0x9*(-parseInt(_0x15be06(0x121))/0xa)+parseInt(_0x15be06(0x116))/0xb;if(_0x3bb915===_0x3ea37f)break;else _0x355813['push'](_0x355813['shift']());}catch(_0x872e43){_0x355813['push'](_0x355813['shift']());}}}(_0x46ce,0x3413c));function _0x46ce(){const _0x24726d=['7221brtHAr','hideActionsWhenResultIsReady','plugins','setChecks','_mainView','detachFromDom','status','showDiffInBalloon','attachToDom','showReviewCheckList','showCheckRunResult','getReviewCheckList','activateChange','showReviewCheckListView','showGeneralReviewCoreErrorView','forEach','showNoChangesView','delegate','addCheckRunResult','982429kDXwWs','accepted','requires','AITabs','leaveReviewCoreResultList','3939188TLQcvt','resetActiveStateInResults','reviewCheckListView','find','hideBalloon','showActionsWhenResultIsReady','reviewCheckResultsView','finishReview','get','showBalloon','getResults','340DEdxxN','element','156mkKdwY','error-chunk','acceptChange','toggleDiff','isPremiumPlugin','680192WJgMaF','setActiveStateInResults','acceptAllChanges','config','showResult','hideChangeBalloon','outdated','abortReviewStream','hideDiffInBalloon','learnMore','_balloonSuggestionView','dismissChange','fire','isOfficialPlugin','68URMZcx','73xlDHvD','createMainView','retryReview','getChangeElement','showGeneralResultsErrorView','updateChangeState','runReviewCheck','hideResult','showChunkErrorView','showChangeBalloon','locale','hasChecks','showCheckRunResults','setCheckResultTitle','setItemAsActive','error-general','registerTab','ai.models.showModelSelector','deactivateChange','55575urywEb','rejected','47395zsVINP','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','showReviewCompletedView','setAvailableChecks','destroy','setItemAsInactive','7604WCgeKS','_bodyCollection','showReviewCheckResultsView','init','setTitle','context'];_0x46ce=function(){return _0x24726d;};return _0x46ce();}import{ContextPlugin as _0x58e3f0}from'ckeditor5/src/core.js';import{BodyCollection as _0x56955b}from'ckeditor5/src/ui.js';import{getTranslation as _0x5b080b}from'../aicore/utils/common-translations.js';import{AITabs as _0x17aed7}from'../aitabs/aitabs.js';import{AIReviewCoreBalloonSuggestionItemView as _0x186807}from'./ui/aireviewcoreballoonsuggestionview.js';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x592073(0x109),_0x592073(0x13d),_0x592073(0x12f),_0x592073(0x126),_0x592073(0x12a),_0x592073(0x115),_0x592073(0x10a),_0x592073(0xef),_0x592073(0x125),_0x592073(0x133),_0x592073(0x131),_0x592073(0x11d),_0x592073(0x139)];function _0x4203(_0x389634,_0x27c7b3){const _0x46ce3e=_0x46ce();return _0x4203=function(_0x42036b,_0x38da93){_0x42036b=_0x42036b-0xec;let _0x352e19=_0x46ce3e[_0x42036b];return _0x352e19;},_0x4203(_0x389634,_0x27c7b3);}export class AIReviewCoreUI extends _0x58e3f0{[_0x592073(0x102)];[_0x592073(0x132)];[_0x592073(0xf9)];static get[_0x592073(0x113)](){return[_0x17aed7];}static get[_0x592073(0x135)](){return!0x0;}static get[_0x592073(0x127)](){return!0x0;}constructor(_0xb2239e){const _0x16a192=_0x592073;super(_0xb2239e),this[_0x16a192(0xf9)]=new _0x56955b(this[_0x16a192(0xfd)][_0x16a192(0x141)]),this[_0x16a192(0xf9)][_0x16a192(0x106)](),this[_0x16a192(0x102)]=this[_0x16a192(0x138)](),this[_0x16a192(0x102)][_0x16a192(0x10f)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x16a192(0x132)]=new _0x186807(this[_0x16a192(0xfd)][_0x16a192(0x141)],this[_0x16a192(0xf9)]),this[_0x16a192(0x132)][_0x16a192(0x10f)](_0x16a192(0x125),_0x16a192(0x133),_0x16a192(0xef))['to'](this);}[_0x592073(0xfb)](){const _0x10a5e0=_0x592073,_0x52541b=this[_0x10a5e0(0xfd)][_0x10a5e0(0x100)][_0x10a5e0(0x11e)](_0x10a5e0(0x114));this[_0x10a5e0(0xed)](_0x52541b);}[_0x592073(0xf6)](){const _0x4f72c3=_0x592073;this[_0x4f72c3(0xf9)][_0x4f72c3(0x103)](),super[_0x4f72c3(0xf6)]();}[_0x592073(0xf5)](_0x494926){const _0xf50f39=_0x592073;if(!this[_0xf50f39(0x102)][_0xf50f39(0x118)][_0xf50f39(0x142)]()){const _0x58db66=!this[_0xf50f39(0xfd)][_0xf50f39(0x12b)][_0xf50f39(0x11e)](_0xf50f39(0xee));this[_0xf50f39(0x102)][_0xf50f39(0x118)][_0xf50f39(0x101)](_0x494926,_0x58db66);}this[_0xf50f39(0x102)][_0xf50f39(0x10b)]();}[_0x592073(0x107)](){const _0x61b984=_0x592073;this[_0x61b984(0x134)](_0x61b984(0x109));}[_0x592073(0x143)](_0x17405c){const _0x48f158=_0x592073;_0x17405c&&(_0x48f158(0xec)!==_0x17405c[_0x48f158(0x104)]?_0x48f158(0x124)!==_0x17405c[_0x48f158(0x104)]?this[_0x48f158(0x102)][_0x48f158(0xfa)]():this[_0x48f158(0x13f)]():this[_0x48f158(0x13b)]());}[_0x592073(0x108)](_0x51d047){const _0x5e0951=_0x592073;this[_0x5e0951(0x102)][_0x5e0951(0x110)](_0x51d047);}[_0x592073(0x13b)](){const _0x3a4580=_0x592073;this[_0x3a4580(0x102)][_0x3a4580(0x13b)]();}[_0x592073(0x10c)](_0x352445){const _0x31bfd8=_0x592073;this[_0x31bfd8(0x102)][_0x31bfd8(0x10c)](_0x352445??_0x5b080b(this[_0x31bfd8(0xfd)][_0x31bfd8(0x141)],_0x31bfd8(0xf3)));}[_0x592073(0x13f)](){const _0x438be0=_0x592073;this[_0x438be0(0x102)][_0x438be0(0x13f)]();}[_0x592073(0x144)](_0x405f8d,_0xb27fbc){const _0x221543=_0x592073;this[_0x221543(0x102)][_0x221543(0x11c)][_0x221543(0xfc)](_0x405f8d,_0xb27fbc);}[_0x592073(0x129)](_0x25acb0){const _0x17e688=_0x592073;this[_0x17e688(0x102)][_0x17e688(0x11c)][_0x17e688(0x120)]()[_0x17e688(0x10d)](_0x9ee832=>{const _0x273570=_0x17e688;_0x9ee832['id']===_0x25acb0&&_0x9ee832[_0x273570(0x145)]();});}[_0x592073(0x117)](){const _0x15ff93=_0x592073;this[_0x15ff93(0x102)][_0x15ff93(0x11c)][_0x15ff93(0x120)]()[_0x15ff93(0x10d)](_0x462860=>_0x462860[_0x15ff93(0xf7)]());}[_0x592073(0x13c)](_0x509af0,_0x42e2c8){const _0x1d15f6=_0x592073;_0x1d15f6(0x112)===_0x42e2c8||_0x1d15f6(0xf1)===_0x42e2c8||_0x1d15f6(0x12e)===_0x42e2c8?this[_0x1d15f6(0x102)][_0x1d15f6(0x11c)][_0x1d15f6(0x13e)](_0x509af0,_0x42e2c8):this[_0x1d15f6(0x102)][_0x1d15f6(0x11c)][_0x1d15f6(0x12c)](_0x509af0,_0x42e2c8);}[_0x592073(0xf4)](){const _0x186de2=_0x592073;this[_0x186de2(0x102)][_0x186de2(0xf4)]();}[_0x592073(0x11b)](){const _0x4e66ff=_0x592073;this[_0x4e66ff(0x102)][_0x4e66ff(0x11b)]();}[_0x592073(0x10e)](){const _0x1b14b1=_0x592073;this[_0x1b14b1(0x102)][_0x1b14b1(0x10e)]();}[_0x592073(0xff)](){const _0x55a2b4=_0x592073;this[_0x55a2b4(0x102)][_0x55a2b4(0xff)]();}[_0x592073(0x140)](_0x557b04,_0x3c3a7e,_0x19cc87,_0x7d0586,_0x4326a1,_0x45d783){const _0xffebff=_0x592073;this[_0xffebff(0x132)][_0xffebff(0x11f)](_0x557b04,_0x3c3a7e,_0x19cc87,_0x7d0586,_0x4326a1,_0x45d783);}[_0x592073(0x12d)](){const _0x3c9e4b=_0x592073;this[_0x3c9e4b(0x132)][_0x3c9e4b(0x11a)]();}[_0x592073(0x130)](){const _0x440885=_0x592073;this[_0x440885(0x132)][_0x440885(0x130)]();}[_0x592073(0x105)](){const _0x272b21=_0x592073;this[_0x272b21(0x132)][_0x272b21(0x105)]();}[_0x592073(0x13a)](_0x220a0d){const _0x45d2b4=_0x592073,_0x48b95d=this[_0x45d2b4(0x102)][_0x45d2b4(0x11c)][_0x45d2b4(0x120)]()[_0x45d2b4(0x119)](_0x43eaa8=>_0x43eaa8['id']===_0x220a0d);return _0x48b95d?_0x48b95d[_0x45d2b4(0x122)]:null;}[_0x592073(0xef)](){const _0x4bfbd4=_0x592073;this[_0x4bfbd4(0x132)][_0x4bfbd4(0xef)]();}}
23
+ const _0x1cd685=_0x5e16;(function(_0x4bfae0,_0x4dae69){const _0xe2cdae=_0x5e16,_0x5a7b4b=_0x4bfae0();while(!![]){try{const _0x1285e3=parseInt(_0xe2cdae(0x179))/0x1*(parseInt(_0xe2cdae(0x16f))/0x2)+-parseInt(_0xe2cdae(0x149))/0x3+-parseInt(_0xe2cdae(0x172))/0x4*(-parseInt(_0xe2cdae(0x157))/0x5)+parseInt(_0xe2cdae(0x12f))/0x6+-parseInt(_0xe2cdae(0x168))/0x7*(parseInt(_0xe2cdae(0x152))/0x8)+-parseInt(_0xe2cdae(0x165))/0x9*(parseInt(_0xe2cdae(0x15e))/0xa)+parseInt(_0xe2cdae(0x163))/0xb*(parseInt(_0xe2cdae(0x156))/0xc);if(_0x1285e3===_0x4dae69)break;else _0x5a7b4b['push'](_0x5a7b4b['shift']());}catch(_0x3eb47e){_0x5a7b4b['push'](_0x5a7b4b['shift']());}}}(_0x4e8c,0x6bd44));import{ContextPlugin as _0x3bb5f0}from'ckeditor5/src/core.js';function _0x4e8c(){const _0x4cace9=['AITabs','2511696PXnJFY','showGeneralReviewCoreErrorView','setItemAsActive','element','forEach','reviewCheckListView','status','hideBalloon','finishReview','plugins','reviewCheckResultsView','dismissChange','config','requires','isOfficialPlugin','deactivateChange','init','retryReview','setItemAsInactive','activateChange','abortReviewStream','showResult','hideActionsWhenResultIsReady','showNoChangesView','error-general','setTitle','1083579UpYpcq','getReviewCheckList','showBalloon','hideChangeBalloon','hideDiffInBalloon','showChunkErrorView','rejected','showDiffInBalloon','leaveReviewCoreResultList','8mXDVPV','context','locale','destroy','12NnhnuK','1824710lsbkMz','registerTab','_balloonSuggestionView','acceptChange','hasChecks','showActionsWhenResultIsReady','setCheckResultTitle','70fnOPtb','find','ai.models.showModelSelector','showReviewCheckListView','fire','1121307zCTzWu','getChangeElement','28269PviLCq','hideResult','createMainView','1210405NxwHTJ','showChangeBalloon','getResults','showReviewCheckResultsView','showReviewCheckList','updateChangeState','_bodyCollection','34fjswVX','accepted','attachToDom','4Jyioft','setActiveStateInResults','showCheckRunResult','isPremiumPlugin','resetActiveStateInResults','_mainView','setChecks','6604gDwGkT','showCheckRunResults','detachFromDom','get','showReviewCompletedView','learnMore','setAvailableChecks','error-chunk','toggleDiff','AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','delegate','acceptAllChanges','outdated','runReviewCheck','showGeneralResultsErrorView','addCheckRunResult'];_0x4e8c=function(){return _0x4cace9;};return _0x4e8c();}import{BodyCollection as _0x3ccac4}from'ckeditor5/src/ui.js';import{getTranslation as _0x5d8132}from'../aicore/utils/common-translations.js';function _0x5e16(_0x36af9b,_0x4c047a){const _0x4e8cda=_0x4e8c();return _0x5e16=function(_0x5e16e1,_0xb81268){_0x5e16e1=_0x5e16e1-0x12d;let _0x547f0e=_0x4e8cda[_0x5e16e1];return _0x547f0e;},_0x5e16(_0x36af9b,_0x4c047a);}import{AITabs as _0x35e7d8}from'../aitabs/aitabs.js';import{AIReviewCoreBalloonSuggestionItemView as _0x4b2da2}from'./ui/aireviewcoreballoonsuggestionview.js';export const AI_REVIEW_MODE_UI_EVENT_NAMES=[_0x1cd685(0x14a),_0x1cd685(0x186),_0x1cd685(0x143),_0x1cd685(0x181),_0x1cd685(0x184),_0x1cd685(0x151),_0x1cd685(0x142),_0x1cd685(0x13e),_0x1cd685(0x15a),_0x1cd685(0x13a),_0x1cd685(0x17e),_0x1cd685(0x137),_0x1cd685(0x140)];export class AIReviewCoreUI extends _0x3bb5f0{[_0x1cd685(0x177)];[_0x1cd685(0x159)];[_0x1cd685(0x16e)];static get[_0x1cd685(0x13c)](){return[_0x35e7d8];}static get[_0x1cd685(0x13d)](){return!0x0;}static get[_0x1cd685(0x175)](){return!0x0;}constructor(_0x2acc86){const _0x51a275=_0x1cd685;super(_0x2acc86),this[_0x51a275(0x16e)]=new _0x3ccac4(this[_0x51a275(0x153)][_0x51a275(0x154)]),this[_0x51a275(0x16e)][_0x51a275(0x171)](),this[_0x51a275(0x177)]=this[_0x51a275(0x167)](),this[_0x51a275(0x177)][_0x51a275(0x183)](...AI_REVIEW_MODE_UI_EVENT_NAMES)['to'](this),this[_0x51a275(0x159)]=new _0x4b2da2(this[_0x51a275(0x153)][_0x51a275(0x154)],this[_0x51a275(0x16e)]),this[_0x51a275(0x159)][_0x51a275(0x183)](_0x51a275(0x15a),_0x51a275(0x13a),_0x51a275(0x13e))['to'](this);}[_0x1cd685(0x13f)](){const _0x55a9ba=_0x1cd685,_0x55fa39=this[_0x55a9ba(0x153)][_0x55a9ba(0x138)][_0x55a9ba(0x17c)](_0x55a9ba(0x12e));this[_0x55a9ba(0x158)](_0x55fa39);}[_0x1cd685(0x155)](){const _0x959be4=_0x1cd685;this[_0x959be4(0x16e)][_0x959be4(0x17b)](),super[_0x959be4(0x155)]();}[_0x1cd685(0x17f)](_0x314f3b){const _0x27d384=_0x1cd685;if(!this[_0x27d384(0x177)][_0x27d384(0x134)][_0x27d384(0x15b)]()){const _0x241468=!this[_0x27d384(0x153)][_0x27d384(0x13b)][_0x27d384(0x17c)](_0x27d384(0x160));this[_0x27d384(0x177)][_0x27d384(0x134)][_0x27d384(0x178)](_0x314f3b,_0x241468);}this[_0x27d384(0x177)][_0x27d384(0x161)]();}[_0x1cd685(0x16c)](){const _0x34e5ee=_0x1cd685;this[_0x34e5ee(0x162)](_0x34e5ee(0x14a));}[_0x1cd685(0x17a)](_0x3aa0b8){const _0x4e9b3a=_0x1cd685;_0x3aa0b8&&(_0x4e9b3a(0x147)!==_0x3aa0b8[_0x4e9b3a(0x135)]?_0x4e9b3a(0x180)!==_0x3aa0b8[_0x4e9b3a(0x135)]?this[_0x4e9b3a(0x177)][_0x4e9b3a(0x16b)]():this[_0x4e9b3a(0x14e)]():this[_0x4e9b3a(0x187)]());}[_0x1cd685(0x174)](_0x2ce4df){const _0x5d94c7=_0x1cd685;this[_0x5d94c7(0x177)][_0x5d94c7(0x12d)](_0x2ce4df);}[_0x1cd685(0x187)](){const _0x48bc32=_0x1cd685;this[_0x48bc32(0x177)][_0x48bc32(0x187)]();}[_0x1cd685(0x130)](_0x53eea8){const _0x22a4a9=_0x1cd685;this[_0x22a4a9(0x177)][_0x22a4a9(0x130)](_0x53eea8??_0x5d8132(this[_0x22a4a9(0x153)][_0x22a4a9(0x154)],_0x22a4a9(0x182)));}[_0x1cd685(0x14e)](){const _0x3ca7e8=_0x1cd685;this[_0x3ca7e8(0x177)][_0x3ca7e8(0x14e)]();}[_0x1cd685(0x15d)](_0x538d27,_0x3bf3ad){const _0x10bc27=_0x1cd685;this[_0x10bc27(0x177)][_0x10bc27(0x139)][_0x10bc27(0x148)](_0x538d27,_0x3bf3ad);}[_0x1cd685(0x173)](_0x4c34ba){const _0x17aa2f=_0x1cd685;this[_0x17aa2f(0x177)][_0x17aa2f(0x139)][_0x17aa2f(0x16a)]()[_0x17aa2f(0x133)](_0x45a859=>{const _0x41e8b0=_0x17aa2f;_0x45a859['id']===_0x4c34ba&&_0x45a859[_0x41e8b0(0x131)]();});}[_0x1cd685(0x176)](){const _0x39092e=_0x1cd685;this[_0x39092e(0x177)][_0x39092e(0x139)][_0x39092e(0x16a)]()[_0x39092e(0x133)](_0x3a7e5e=>_0x3a7e5e[_0x39092e(0x141)]());}[_0x1cd685(0x16d)](_0x206cf2,_0x5c1749){const _0x2204b0=_0x1cd685;_0x2204b0(0x170)===_0x5c1749||_0x2204b0(0x14f)===_0x5c1749||_0x2204b0(0x185)===_0x5c1749?this[_0x2204b0(0x177)][_0x2204b0(0x139)][_0x2204b0(0x166)](_0x206cf2,_0x5c1749):this[_0x2204b0(0x177)][_0x2204b0(0x139)][_0x2204b0(0x144)](_0x206cf2,_0x5c1749);}[_0x1cd685(0x17d)](){const _0x36a0e1=_0x1cd685;this[_0x36a0e1(0x177)][_0x36a0e1(0x17d)]();}[_0x1cd685(0x15c)](){const _0x4365f4=_0x1cd685;this[_0x4365f4(0x177)][_0x4365f4(0x15c)]();}[_0x1cd685(0x146)](){const _0x43f13e=_0x1cd685;this[_0x43f13e(0x177)][_0x43f13e(0x146)]();}[_0x1cd685(0x145)](){const _0x5ac630=_0x1cd685;this[_0x5ac630(0x177)][_0x5ac630(0x145)]();}[_0x1cd685(0x169)](_0x4ef139,_0x550a68,_0x3cfa31,_0x1ff791,_0x17c9bf,_0x289007){const _0xa599f4=_0x1cd685;this[_0xa599f4(0x159)][_0xa599f4(0x14b)](_0x4ef139,_0x550a68,_0x3cfa31,_0x1ff791,_0x17c9bf,_0x289007);}[_0x1cd685(0x14c)](){const _0x519c6e=_0x1cd685;this[_0x519c6e(0x159)][_0x519c6e(0x136)]();}[_0x1cd685(0x14d)](){const _0x11a152=_0x1cd685;this[_0x11a152(0x159)][_0x11a152(0x14d)]();}[_0x1cd685(0x150)](){const _0x269681=_0x1cd685;this[_0x269681(0x159)][_0x269681(0x150)]();}[_0x1cd685(0x164)](_0x4a2f50){const _0xdca1cb=_0x1cd685,_0x5523f2=this[_0xdca1cb(0x177)][_0xdca1cb(0x139)][_0xdca1cb(0x16a)]()[_0xdca1cb(0x15f)](_0x520ef8=>_0x520ef8['id']===_0x4a2f50);return _0x5523f2?_0x5523f2[_0xdca1cb(0x132)]:null;}[_0x1cd685(0x13e)](){const _0x31f0f9=_0x1cd685;this[_0x31f0f9(0x159)][_0x31f0f9(0x13e)]();}}
@@ -14,6 +14,10 @@ export declare class AIReviewCheck {
14
14
  * The unique ID of the check.
15
15
  */
16
16
  readonly id: string;
17
+ /**
18
+ * The command ID of the check, used in the API communication.
19
+ */
20
+ readonly commandId: string;
17
21
  /**
18
22
  * The title of the check.
19
23
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x22a9c6=_0x37e7;(function(_0x2feff3,_0x2e0a00){var _0x299b8=_0x37e7,_0x35a8ef=_0x2feff3();while(!![]){try{var _0x5d7bf1=-parseInt(_0x299b8(0x103))/0x1+-parseInt(_0x299b8(0xf8))/0x2*(-parseInt(_0x299b8(0xfe))/0x3)+parseInt(_0x299b8(0x100))/0x4+-parseInt(_0x299b8(0xf6))/0x5*(-parseInt(_0x299b8(0xf4))/0x6)+parseInt(_0x299b8(0xfa))/0x7+parseInt(_0x299b8(0xf5))/0x8*(parseInt(_0x299b8(0xfc))/0x9)+-parseInt(_0x299b8(0xfb))/0xa*(parseInt(_0x299b8(0x101))/0xb);if(_0x5d7bf1===_0x2e0a00)break;else _0x35a8ef['push'](_0x35a8ef['shift']());}catch(_0x32cba3){_0x35a8ef['push'](_0x35a8ef['shift']());}}}(_0x4c18,0xe248c));function _0x37e7(_0x498488,_0x4810f9){var _0x4c18a7=_0x4c18();return _0x37e7=function(_0x37e77e,_0x3bb801){_0x37e77e=_0x37e77e-0xf4;var _0x1c5d53=_0x4c18a7[_0x37e77e];return _0x1c5d53;},_0x37e7(_0x498488,_0x4810f9);}export class AIReviewCheck{['id'];[_0x22a9c6(0xf7)];[_0x22a9c6(0x105)];[_0x22a9c6(0xff)];[_0x22a9c6(0xf9)];[_0x22a9c6(0x102)];[_0x22a9c6(0x104)];get[_0x22a9c6(0xfd)](){return this['id'];}constructor(_0x5df2ef){var _0x2c219f=_0x22a9c6;this['id']=_0x5df2ef['id'],this[_0x2c219f(0xf7)]=_0x5df2ef[_0x2c219f(0xf7)],this[_0x2c219f(0x105)]=_0x5df2ef[_0x2c219f(0x105)],this[_0x2c219f(0xff)]=_0x5df2ef[_0x2c219f(0xff)],this[_0x2c219f(0xf9)]=_0x5df2ef[_0x2c219f(0xf9)],this[_0x2c219f(0x102)]=_0x5df2ef[_0x2c219f(0x102)],this[_0x2c219f(0x104)]=_0x5df2ef[_0x2c219f(0x104)];}}function _0x4c18(){var _0x193515=['args','description','78BtGqgu','51608HSVWni','98040okliBC','title','50jwwHvC','useArgs','11339559pIZDZs','13479890Azzezw','2250xreiSm','apiId','2193VYVfEm','isParameterized','1284772bJmsAa','11dbHXHx','options','1552210UnalPo'];_0x4c18=function(){return _0x193515;};return _0x4c18();}
23
+ var _0x3fcef2=_0x16e9;function _0x16e9(_0x1cd557,_0x3d804e){var _0x5587be=_0x5587();return _0x16e9=function(_0x16e9da,_0x127d20){_0x16e9da=_0x16e9da-0x13f;var _0x5b7fbf=_0x5587be[_0x16e9da];return _0x5b7fbf;},_0x16e9(_0x1cd557,_0x3d804e);}(function(_0x38b6aa,_0xf48683){var _0x2d9870=_0x16e9,_0x5d3d39=_0x38b6aa();while(!![]){try{var _0x166704=parseInt(_0x2d9870(0x14c))/0x1*(parseInt(_0x2d9870(0x142))/0x2)+-parseInt(_0x2d9870(0x14b))/0x3*(parseInt(_0x2d9870(0x149))/0x4)+-parseInt(_0x2d9870(0x140))/0x5+parseInt(_0x2d9870(0x148))/0x6+-parseInt(_0x2d9870(0x13f))/0x7*(-parseInt(_0x2d9870(0x144))/0x8)+parseInt(_0x2d9870(0x146))/0x9*(-parseInt(_0x2d9870(0x14d))/0xa)+-parseInt(_0x2d9870(0x141))/0xb;if(_0x166704===_0xf48683)break;else _0x5d3d39['push'](_0x5d3d39['shift']());}catch(_0xc4312){_0x5d3d39['push'](_0x5d3d39['shift']());}}}(_0x5587,0xe7e88));export class AIReviewCheck{['id'];[_0x3fcef2(0x14e)];[_0x3fcef2(0x151)];[_0x3fcef2(0x147)];[_0x3fcef2(0x14f)];[_0x3fcef2(0x14a)];[_0x3fcef2(0x150)];[_0x3fcef2(0x143)];get[_0x3fcef2(0x145)](){var _0x9436a8=_0x3fcef2;return this[_0x9436a8(0x14e)];}constructor(_0xecd361){var _0x52b2c5=_0x3fcef2;this['id']=_0xecd361['id'],this[_0x52b2c5(0x14e)]=_0xecd361[_0x52b2c5(0x14e)],this[_0x52b2c5(0x151)]=_0xecd361[_0x52b2c5(0x151)],this[_0x52b2c5(0x147)]=_0xecd361[_0x52b2c5(0x147)],this[_0x52b2c5(0x14f)]=_0xecd361[_0x52b2c5(0x14f)],this[_0x52b2c5(0x14a)]=_0xecd361[_0x52b2c5(0x14a)],this[_0x52b2c5(0x150)]=_0xecd361[_0x52b2c5(0x150)],this[_0x52b2c5(0x143)]=_0xecd361[_0x52b2c5(0x143)];}}function _0x5587(){var _0x2b1308=['title','89341Fjmoms','6345515ixdZLW','879098MkQJsi','22IiUUrQ','args','760xatKkk','apiId','54Odgjxp','description','10978908kFYkbM','1544MSgeen','useArgs','8793yptZFM','81874YsiykL','854390mGXpfW','commandId','isParameterized','options'];_0x5587=function(){return _0x2b1308;};return _0x5587();}
@@ -3,7 +3,7 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import { AIReviewCheck } from './aireviewcheck.js';
6
- import { type AIReviewCheckDefinition } from '../types.js';
6
+ import { type AIReviewCheckBaseDefinition } from '../types.js';
7
7
  declare const AIReviewCheckList_base: {
8
8
  new (): import("ckeditor5/src/utils.js").Observable;
9
9
  prototype: import("ckeditor5/src/utils.js").Observable;
@@ -13,9 +13,9 @@ declare const AIReviewCheckList_base: {
13
13
  */
14
14
  export declare class AIReviewCheckList extends /* #__PURE__ */ AIReviewCheckList_base {
15
15
  /**
16
- * @inheritDoc
16
+ * Initializes the list of checks based on the provided definitions.
17
17
  */
18
- constructor(checks: Array<AIReviewCheckDefinition>);
18
+ setupChecks(checks: Array<AIReviewCheckBaseDefinition>): void;
19
19
  /**
20
20
  * The list of available review checks.
21
21
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x592f64=_0x53b0;function _0x270e(){var _0x24d5ca=['333028OfcORZ','2271024mfoQDQ','549780WIMPgY','filter','_checks','2797179CwawtA','checks','688375kukksz','9MrBUYp','find','getCheckById','_mapCheckDefinitions','74790ZNMVrI','1695558flZvqB','map','removeCheckById'];_0x270e=function(){return _0x24d5ca;};return _0x270e();}function _0x53b0(_0x11be54,_0x50a209){var _0x270ea8=_0x270e();return _0x53b0=function(_0x53b0c5,_0x42d162){_0x53b0c5=_0x53b0c5-0x1e8;var _0x4eb146=_0x270ea8[_0x53b0c5];return _0x4eb146;},_0x53b0(_0x11be54,_0x50a209);}(function(_0x2e33a2,_0x7a590d){var _0x4c3c5f=_0x53b0,_0x1c861d=_0x2e33a2();while(!![]){try{var _0x382e66=parseInt(_0x4c3c5f(0x1f7))/0x1+-parseInt(_0x4c3c5f(0x1eb))/0x2*(-parseInt(_0x4c3c5f(0x1f3))/0x3)+parseInt(_0x4c3c5f(0x1ed))/0x4+-parseInt(_0x4c3c5f(0x1f2))/0x5+-parseInt(_0x4c3c5f(0x1e8))/0x6+parseInt(_0x4c3c5f(0x1f0))/0x7+-parseInt(_0x4c3c5f(0x1ec))/0x8;if(_0x382e66===_0x7a590d)break;else _0x1c861d['push'](_0x1c861d['shift']());}catch(_0x7b955d){_0x1c861d['push'](_0x1c861d['shift']());}}}(_0x270e,0x636bc));import{ObservableMixin as _0xa64ded}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x1ebd13}from'./aireviewcheck.js';export class AIReviewCheckList extends _0xa64ded(){[_0x592f64(0x1ef)];constructor(_0x357017){var _0x233152=_0x592f64;super(),this[_0x233152(0x1ef)]=this[_0x233152(0x1f6)](_0x357017);}get[_0x592f64(0x1f1)](){var _0x3ab897=_0x592f64;return this[_0x3ab897(0x1ef)];}[_0x592f64(0x1f5)](_0x329924){var _0xeddc41=_0x592f64;return this[_0xeddc41(0x1f1)][_0xeddc41(0x1f4)](_0x44163b=>_0x44163b['id']===_0x329924);}[_0x592f64(0x1ea)](_0x1dff95){var _0x1036ea=_0x592f64;this[_0x1036ea(0x1ef)]=this[_0x1036ea(0x1ef)][_0x1036ea(0x1ee)](_0xbab1ed=>_0xbab1ed['id']!==_0x1dff95);}[_0x592f64(0x1f6)](_0x157f9e){var _0x51de2c=_0x592f64;return _0x157f9e[_0x51de2c(0x1e9)](_0x1f9067=>new _0x1ebd13(_0x1f9067));}}
23
+ function _0x3bb6(){var _0x420713=['_checks','checks','16MHyziE','6OyWyQX','find','2027662LTSrMM','3962100oLDxwl','1312105lIDnVR','18JaYLCI','getCheckById','removeCheckById','9879254oehotK','1460949AAAwDR','map','4milZDk','filter','119237mWVGHZ','5162022ZkqBAk','setupChecks'];_0x3bb6=function(){return _0x420713;};return _0x3bb6();}var _0x4ac58c=_0xfa7c;(function(_0x2f097a,_0x1ced6b){var _0x9a1264=_0xfa7c,_0x14ea8d=_0x2f097a();while(!![]){try{var _0x3e9371=parseInt(_0x9a1264(0x109))/0x1*(-parseInt(_0x9a1264(0xfc))/0x2)+-parseInt(_0x9a1264(0x105))/0x3*(-parseInt(_0x9a1264(0x107))/0x4)+-parseInt(_0x9a1264(0x100))/0x5*(parseInt(_0x9a1264(0x101))/0x6)+parseInt(_0x9a1264(0xfe))/0x7*(parseInt(_0x9a1264(0xfb))/0x8)+-parseInt(_0x9a1264(0x10a))/0x9+parseInt(_0x9a1264(0xff))/0xa+parseInt(_0x9a1264(0x104))/0xb;if(_0x3e9371===_0x1ced6b)break;else _0x14ea8d['push'](_0x14ea8d['shift']());}catch(_0x47fa42){_0x14ea8d['push'](_0x14ea8d['shift']());}}}(_0x3bb6,0x9cc3b));import{ObservableMixin as _0x30ea22}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x554142}from'./aireviewcheck.js';function _0xfa7c(_0x37cf5b,_0x1ff88a){var _0x3bb623=_0x3bb6();return _0xfa7c=function(_0xfa7c96,_0x2db24f){_0xfa7c96=_0xfa7c96-0xf8;var _0x293217=_0x3bb623[_0xfa7c96];return _0x293217;},_0xfa7c(_0x37cf5b,_0x1ff88a);}export class AIReviewCheckList extends _0x30ea22(){[_0x4ac58c(0xf9)]=[];[_0x4ac58c(0xf8)](_0x4547db){var _0x226ebf=_0x4ac58c;this[_0x226ebf(0xf9)]=_0x4547db[_0x226ebf(0x106)](_0x1da15e=>new _0x554142(_0x1da15e));}get[_0x4ac58c(0xfa)](){var _0x445f86=_0x4ac58c;return this[_0x445f86(0xf9)];}[_0x4ac58c(0x102)](_0x4985df){var _0x3be5dc=_0x4ac58c;return this[_0x3be5dc(0xfa)][_0x3be5dc(0xfd)](_0x2d66d6=>_0x2d66d6['id']===_0x4985df);}[_0x4ac58c(0x103)](_0x2cbfa9){var _0x50a53b=_0x4ac58c;this[_0x50a53b(0xf9)]=this[_0x50a53b(0xf9)][_0x50a53b(0x108)](_0xfc4dec=>_0xfc4dec['id']!==_0x2cbfa9);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x68b2(){var _0x3e1452=['5wgpMwz','3335832edCjeK','18815769BvWnsw','documentVersion','contentInitial','185379pEmrov','contentNew','1333866rEicXC','3279244zzXNgD','8929448sLYvJN','2TNeHKD','7760907CzEVjS'];_0x68b2=function(){return _0x3e1452;};return _0x68b2();}var _0x330ff8=_0x2dcf;function _0x2dcf(_0x2546c4,_0x146448){var _0x68b27e=_0x68b2();return _0x2dcf=function(_0x2dcf46,_0x388433){_0x2dcf46=_0x2dcf46-0x1ad;var _0x298e33=_0x68b27e[_0x2dcf46];return _0x298e33;},_0x2dcf(_0x2546c4,_0x146448);}(function(_0x42f6cf,_0x1db12b){var _0x20c5a2=_0x2dcf,_0x4954ee=_0x42f6cf();while(!![]){try{var _0x3a21d0=-parseInt(_0x20c5a2(0x1b0))/0x1*(-parseInt(_0x20c5a2(0x1b5))/0x2)+parseInt(_0x20c5a2(0x1b8))/0x3+-parseInt(_0x20c5a2(0x1b3))/0x4+parseInt(_0x20c5a2(0x1b7))/0x5*(parseInt(_0x20c5a2(0x1b2))/0x6)+-parseInt(_0x20c5a2(0x1b6))/0x7+-parseInt(_0x20c5a2(0x1b4))/0x8+parseInt(_0x20c5a2(0x1ad))/0x9;if(_0x3a21d0===_0x1db12b)break;else _0x4954ee['push'](_0x4954ee['shift']());}catch(_0x5b8aa9){_0x4954ee['push'](_0x4954ee['shift']());}}}(_0x68b2,0x8a14e));import{EmitterMixin as _0xd5d80e}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0xd5d80e(){['id'];[_0x330ff8(0x1b1)];[_0x330ff8(0x1af)];[_0x330ff8(0x1ae)];constructor({id:_0x15d393,contentNew:_0x17db98,contentInitial:_0x28886e,documentVersion:_0x1ac3a2}){var _0x3cdac9=_0x330ff8;super(),this['id']=_0x15d393,this[_0x3cdac9(0x1b1)]=_0x17db98,this[_0x3cdac9(0x1af)]=_0x28886e,this[_0x3cdac9(0x1ae)]=_0x1ac3a2;}}
23
+ var _0x43899c=_0x4bd5;(function(_0x298f31,_0x13c0b6){var _0x5b518d=_0x4bd5,_0x16470d=_0x298f31();while(!![]){try{var _0x3b969f=parseInt(_0x5b518d(0x1d9))/0x1*(-parseInt(_0x5b518d(0x1d7))/0x2)+-parseInt(_0x5b518d(0x1d5))/0x3+parseInt(_0x5b518d(0x1d3))/0x4*(parseInt(_0x5b518d(0x1d8))/0x5)+-parseInt(_0x5b518d(0x1cd))/0x6+-parseInt(_0x5b518d(0x1d1))/0x7*(parseInt(_0x5b518d(0x1d2))/0x8)+-parseInt(_0x5b518d(0x1d6))/0x9+-parseInt(_0x5b518d(0x1cf))/0xa*(-parseInt(_0x5b518d(0x1d4))/0xb);if(_0x3b969f===_0x13c0b6)break;else _0x16470d['push'](_0x16470d['shift']());}catch(_0x2cc525){_0x16470d['push'](_0x16470d['shift']());}}}(_0x35c4,0xd513d));import{EmitterMixin as _0x3f5a5c}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x3f5a5c(){['id'];[_0x43899c(0x1ce)];[_0x43899c(0x1cc)];[_0x43899c(0x1d0)];constructor({id:_0x310951,contentNew:_0x2a2dc6,contentInitial:_0x759916,documentVersion:_0x46ba51}){var _0xa1ef31=_0x43899c;super(),this['id']=_0x310951,this[_0xa1ef31(0x1ce)]=_0x2a2dc6,this[_0xa1ef31(0x1cc)]=_0x759916,this[_0xa1ef31(0x1d0)]=_0x46ba51;}}function _0x4bd5(_0x17a1f7,_0x5c4577){var _0x35c4fe=_0x35c4();return _0x4bd5=function(_0x4bd5ce,_0x4bcd32){_0x4bd5ce=_0x4bd5ce-0x1cc;var _0x25e2d9=_0x35c4fe[_0x4bd5ce];return _0x25e2d9;},_0x4bd5(_0x17a1f7,_0x5c4577);}function _0x35c4(){var _0x110903=['20305690xtheUz','documentVersion','178857vrmyvv','136ZkbAXk','4uUASwv','22AaXgYp','3257385cCpUFK','13652073HdJlSf','2azmjfV','4358995adwdVz','887974bHrzgm','contentInitial','810834LnyEYJ','contentNew'];_0x35c4=function(){return _0x110903;};return _0x35c4();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x11e9ec=_0x146e;(function(_0x1da711,_0x300ae){var _0x400378=_0x146e,_0x5be9d8=_0x1da711();while(!![]){try{var _0x52d06d=-parseInt(_0x400378(0xa2))/0x1+parseInt(_0x400378(0x99))/0x2*(-parseInt(_0x400378(0x98))/0x3)+parseInt(_0x400378(0x96))/0x4*(parseInt(_0x400378(0x97))/0x5)+-parseInt(_0x400378(0xaa))/0x6*(-parseInt(_0x400378(0x9a))/0x7)+-parseInt(_0x400378(0xa7))/0x8+parseInt(_0x400378(0x92))/0x9*(-parseInt(_0x400378(0x95))/0xa)+parseInt(_0x400378(0x93))/0xb*(parseInt(_0x400378(0x9e))/0xc);if(_0x52d06d===_0x300ae)break;else _0x5be9d8['push'](_0x5be9d8['shift']());}catch(_0x2fdb3e){_0x5be9d8['push'](_0x5be9d8['shift']());}}}(_0x8436,0xc2b06));function _0x146e(_0x14eb83,_0x5e3c8d){var _0x8436d0=_0x8436();return _0x146e=function(_0x146e9f,_0x487eda){_0x146e9f=_0x146e9f-0x92;var _0x55deb5=_0x8436d0[_0x146e9f];return _0x55deb5;},_0x146e(_0x14eb83,_0x5e3c8d);}function _0x8436(){var _0x48bf3b=['22517ovdODW','pending','10ncsqqk','4023724Bjxozm','5hxZhHv','104187zswfae','78wghEsF','9141643RPZqUs','status','context','contentDiffed','9732NElqpc','change:status','set','parent','85977IRxElX','isActivated','_data','isRated','_editorOperations','12286928dCBLCg','operationsIsolated','operations','6MQIKRJ','1784493MhHvCr'];_0x8436=function(){return _0x48bf3b;};return _0x8436();}import{ObservableMixin as _0x436b39}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x436b39(){['id'];[_0x11e9ec(0xa1)];[_0x11e9ec(0xa4)];[_0x11e9ec(0xa6)]=[];constructor(_0x41f18a,_0x4098e7,_0x106cf0){var _0xdf9073=_0x11e9ec;super(),this['id']=_0x41f18a,this[_0xdf9073(0xa1)]=_0x106cf0,this[_0xdf9073(0xa4)]=_0x4098e7,this[_0xdf9073(0xa0)](_0xdf9073(0xa3),!0x1),this[_0xdf9073(0xa0)](_0xdf9073(0xa5),!0x1),this[_0xdf9073(0xa0)](_0xdf9073(0x9b),_0xdf9073(0x94)),this['on'](_0xdf9073(0x9f),()=>{var _0xb9f814=_0xdf9073;_0xb9f814(0x94)!==this[_0xb9f814(0x9b)]&&this[_0xb9f814(0xa3)]&&(this[_0xb9f814(0xa3)]=!0x1);});}get[_0x11e9ec(0x9d)](){var _0x17ca79=_0x11e9ec;return this[_0x17ca79(0xa4)][_0x17ca79(0x9c)]();}get[_0x11e9ec(0xa9)](){var _0x33dc8b=_0x11e9ec;return this[_0x33dc8b(0xa4)][_0x33dc8b(0xa9)];}get[_0x11e9ec(0xa8)](){var _0x2d1237=_0x11e9ec;return this[_0x2d1237(0xa4)][_0x2d1237(0xa8)];}}
23
+ var _0x25925b=_0x3c07;function _0x27c8(){var _0x56e075=['8365300ChUxFN','64WVFYnd','58252YwApAx','set','5551vPLfyf','context','5303440ursdCF','99708LAaWAB','6NZIsDT','5795321lhdNPE','isRated','1645641ZsqpKW','operationsIsolated','pending','change:status','status','_editorOperations','operations','parent','3378GawLIf','_data','249VGDqML','isActivated','11JRYsNw','contentDiffed','139dPGaFS'];_0x27c8=function(){return _0x56e075;};return _0x27c8();}(function(_0x2ed265,_0x97f273){var _0x2e53c8=_0x3c07,_0x1d5057=_0x2ed265();while(!![]){try{var _0x272bf9=parseInt(_0x2e53c8(0xd7))/0x1*(parseInt(_0x2e53c8(0xeb))/0x2)+-parseInt(_0x2e53c8(0xd3))/0x3*(-parseInt(_0x2e53c8(0xda))/0x4)+-parseInt(_0x2e53c8(0xde))/0x5+-parseInt(_0x2e53c8(0xe0))/0x6*(parseInt(_0x2e53c8(0xe1))/0x7)+parseInt(_0x2e53c8(0xd9))/0x8*(-parseInt(_0x2e53c8(0xe3))/0x9)+-parseInt(_0x2e53c8(0xd8))/0xa*(parseInt(_0x2e53c8(0xd5))/0xb)+parseInt(_0x2e53c8(0xdf))/0xc*(parseInt(_0x2e53c8(0xdc))/0xd);if(_0x272bf9===_0x97f273)break;else _0x1d5057['push'](_0x1d5057['shift']());}catch(_0x1d1bc9){_0x1d5057['push'](_0x1d5057['shift']());}}}(_0x27c8,0xc42ca));import{ObservableMixin as _0x4ef9d2}from'ckeditor5/src/utils.js';function _0x3c07(_0x4dad00,_0x35e1c5){var _0x27c8c2=_0x27c8();return _0x3c07=function(_0x3c07db,_0x32b737){_0x3c07db=_0x3c07db-0xd3;var _0x6a24b8=_0x27c8c2[_0x3c07db];return _0x6a24b8;},_0x3c07(_0x4dad00,_0x35e1c5);}export class AIReviewCheckResultChange extends _0x4ef9d2(){['id'];[_0x25925b(0xea)];[_0x25925b(0xec)];[_0x25925b(0xe8)]=[];constructor(_0x4c0b43,_0x2c9484,_0x14641e){var _0x24266d=_0x25925b;super(),this['id']=_0x4c0b43,this[_0x24266d(0xea)]=_0x14641e,this[_0x24266d(0xec)]=_0x2c9484,this[_0x24266d(0xdb)](_0x24266d(0xd4),!0x1),this[_0x24266d(0xdb)](_0x24266d(0xe2),!0x1),this[_0x24266d(0xdb)](_0x24266d(0xe7),_0x24266d(0xe5)),this['on'](_0x24266d(0xe6),()=>{var _0x1e26cd=_0x24266d;_0x1e26cd(0xe5)!==this[_0x1e26cd(0xe7)]&&this[_0x1e26cd(0xd4)]&&(this[_0x1e26cd(0xd4)]=!0x1);});}get[_0x25925b(0xd6)](){var _0x5112eb=_0x25925b;return this[_0x5112eb(0xec)][_0x5112eb(0xdd)]();}get[_0x25925b(0xe9)](){var _0x4040b5=_0x25925b;return this[_0x4040b5(0xec)][_0x4040b5(0xe9)];}get[_0x25925b(0xe4)](){var _0x20ec33=_0x25925b;return this[_0x20ec33(0xec)][_0x20ec33(0xe4)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x451b78=_0x47d5;function _0x47d5(_0x288c0b,_0x5795da){const _0x5c134b=_0x5c13();return _0x47d5=function(_0x47d5d0,_0x54e765){_0x47d5d0=_0x47d5d0-0x1bb;let _0x4813d1=_0x5c134b[_0x47d5d0];return _0x4813d1;},_0x47d5(_0x288c0b,_0x5795da);}(function(_0xc4759c,_0x906451){const _0x324735=_0x47d5,_0x363c77=_0xc4759c();while(!![]){try{const _0x25b9a8=-parseInt(_0x324735(0x1c0))/0x1+-parseInt(_0x324735(0x20b))/0x2+-parseInt(_0x324735(0x20c))/0x3+-parseInt(_0x324735(0x1de))/0x4+-parseInt(_0x324735(0x1cf))/0x5*(-parseInt(_0x324735(0x1df))/0x6)+-parseInt(_0x324735(0x1dc))/0x7+-parseInt(_0x324735(0x20e))/0x8*(-parseInt(_0x324735(0x209))/0x9);if(_0x25b9a8===_0x906451)break;else _0x363c77['push'](_0x363c77['shift']());}catch(_0x4d82b3){_0x363c77['push'](_0x363c77['shift']());}}}(_0x5c13,0x4a9cf));import{ObservableMixin as _0x5ab800,uid as _0x416d39}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x212f14}from'./aireviewcheckresult.js';function _0x5c13(){const _0x2e0e5e=['operation','processedResultsCount','finished','reviewCheckResultAdded','review-metadata','some','restart','35UdeWgf','loading','start','isActivated','fire','initialized','documentData','sendRating','markChangeAsAccepted','includes','isChangeActive','_sendRatingRequest','_createApiRequest','998592eORJzP','event','2166804ObJMPG','466362efrusI','title','hasModifications','parent','addResultChanges','abort','abortController','get','status','reviewCheckResultChangeStatusUpdated','reviewCheckRunUpdated','isAnyChangeActivated','reviewCheckResultActivated','error','callId','_currentError','_changes','dataId','markChangeAsPending','reviewCheckResultReady','accepted','getChangeById','_results','subTitle','isRated','markAllChangesAsAccepted','set','version','_aiConnector','every','deactivateChange','ai-request-aborted','_reviewParams','currentError','activateChange','_sourceCheck','unmodified','markChangeAsRejected','getActiveChanges','forEach','push','data','271827meMhew','_activeRequest','655204jplBtl','221169AORUnf','getStream','232BYxlQh','outdated','size','updateDocumentData','_checkIfFinished','length','filter','find','change:status','_documentData','error-chunk','forceReadyState','rejected','pending','reviewCheckResultDeactivated','_reviewArgs','error-general','markChangeAsOutdated','change:isActivated','_addReviewCheckResult','elements','28679jlPbrW','getContent','message','aborted','textDelta','reviewName','ready','clear'];_0x5c13=function(){return _0x2e0e5e;};return _0x5c13();}import{AIReviewCheckResultChange as _0x185814}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x5ab800(){['id']=_0x416d39();[_0x451b78(0x1ed)];[_0x451b78(0x1f5)]=new Map();[_0x451b78(0x1ef)]=[];[_0x451b78(0x202)];[_0x451b78(0x217)];[_0x451b78(0x1fb)];[_0x451b78(0x1ff)];[_0x451b78(0x21d)];[_0x451b78(0x20a)]=null;[_0x451b78(0x1ee)];constructor(_0x17657d,_0x3b5b13,_0x1c07e6,_0x42ea19,_0x8acaee){const _0x30df50=_0x451b78;super(),this[_0x30df50(0x202)]=_0x3b5b13,this[_0x30df50(0x217)]=_0x17657d,this[_0x30df50(0x1fb)]=_0x1c07e6,this[_0x30df50(0x1ff)]=_0x42ea19,this[_0x30df50(0x21d)]=_0x8acaee,this['on'](_0x30df50(0x216),(_0x4ff5db,_0x135867,_0xfd0daf)=>{const _0x4c3b1e=_0x30df50;this[_0x4c3b1e(0x1d3)](_0x4c3b1e(0x1e9),{'status':_0xfd0daf,'run':this,'error':this[_0x4c3b1e(0x1ee)]});}),this[_0x30df50(0x1f9)](_0x30df50(0x1e7),_0x30df50(0x1d4));}get[_0x451b78(0x1d5)](){const _0x55b52c=_0x451b78;return this[_0x55b52c(0x217)];}get[_0x451b78(0x1c9)](){const _0x2bcf01=_0x451b78;return this[_0x2bcf01(0x1f5)][_0x2bcf01(0x210)];}get[_0x451b78(0x1e0)](){const _0x143a59=_0x451b78;return this[_0x143a59(0x202)][_0x143a59(0x1e0)];}get[_0x451b78(0x1f6)](){return'';}get[_0x451b78(0x1c5)](){const _0x11695a=_0x451b78;return this[_0x11695a(0x202)]['id'];}get[_0x451b78(0x1e1)](){const _0x208677=_0x451b78;return!this[_0x208677(0x1ef)][_0x208677(0x1fc)](_0x51b297=>_0x208677(0x21b)===_0x51b297[_0x208677(0x1e7)]);}get[_0x451b78(0x200)](){const _0x4b8c3b=_0x451b78;return this[_0x4b8c3b(0x1ee)];}[_0x451b78(0x211)](_0x283da0){const _0x132f5c=_0x451b78;this[_0x132f5c(0x217)]=_0x283da0;}async[_0x451b78(0x1d1)](){const _0xaf6d47=_0x451b78;this[_0xaf6d47(0x1e7)]=_0xaf6d47(0x1d0),this[_0xaf6d47(0x1ee)]=void 0x0;try{this[_0xaf6d47(0x20a)]=this[_0xaf6d47(0x1db)]();const _0x2fc699=await this[_0xaf6d47(0x20a)][_0xaf6d47(0x20d)]();this[_0xaf6d47(0x1e7)]=_0xaf6d47(0x208);for await(const _0x392783 of _0x2fc699)_0xaf6d47(0x203)!==_0x392783[_0xaf6d47(0x208)][_0xaf6d47(0x1c8)]&&(_0xaf6d47(0x1ec)!==_0x392783[_0xaf6d47(0x208)][_0xaf6d47(0x1c8)]?_0xaf6d47(0x1cc)!==_0x392783[_0xaf6d47(0x1dd)]?this[_0xaf6d47(0x1be)](_0x392783[_0xaf6d47(0x208)][_0xaf6d47(0x1f0)],_0x392783[_0xaf6d47(0x208)][_0xaf6d47(0x1c4)]):this[_0xaf6d47(0x1ed)]=_0x392783[_0xaf6d47(0x208)][_0xaf6d47(0x1ed)]:this[_0xaf6d47(0x1e7)]=_0xaf6d47(0x218));_0xaf6d47(0x218)!==this[_0xaf6d47(0x1e7)]&&(0x0===this[_0xaf6d47(0x1f5)][_0xaf6d47(0x210)]||0x0===this[_0xaf6d47(0x1ef)][_0xaf6d47(0x213)]?this[_0xaf6d47(0x1e7)]=_0xaf6d47(0x203):this[_0xaf6d47(0x1e7)]=_0xaf6d47(0x1c6));}catch(_0x3da88b){this[_0xaf6d47(0x1ee)]=_0x3da88b,_0x3da88b instanceof Error&&_0x3da88b[_0xaf6d47(0x1c2)][_0xaf6d47(0x1d8)](_0xaf6d47(0x1fe))?this[_0xaf6d47(0x1e7)]=_0xaf6d47(0x1c3):this[_0xaf6d47(0x1e7)]=_0xaf6d47(0x1bb);}finally{this[_0xaf6d47(0x20a)]=null;}}async[_0x451b78(0x1ce)](){const _0x164271=_0x451b78;this[_0x164271(0x1f5)][_0x164271(0x1c7)](),this[_0x164271(0x1ef)][_0x164271(0x213)]=0x0,this[_0x164271(0x1ee)]=void 0x0,await this[_0x164271(0x1d1)]();}[_0x451b78(0x1e3)](_0x550f02,_0x4e855b){const _0x4e6f0f=_0x451b78,_0x14f09f=this[_0x4e6f0f(0x1f5)][_0x4e6f0f(0x1e6)](_0x550f02);if(!_0x14f09f)return;if(0x0===_0x4e855b[_0x4e6f0f(0x213)])return;const _0x51e880=[];_0x4e855b[_0x4e6f0f(0x206)]((_0x9e1792,_0x47cd81)=>{const _0x502053=_0x4e6f0f,_0x27ffa8=new _0x185814(_0x14f09f['id']+'-'+_0x47cd81,_0x9e1792,_0x14f09f);_0x27ffa8['on'](_0x502053(0x216),()=>{const _0x19ef31=_0x502053;this[_0x19ef31(0x1d3)](_0x19ef31(0x1e8),{'change':_0x27ffa8,'status':_0x27ffa8[_0x19ef31(0x1e7)]});}),_0x27ffa8['on'](_0x502053(0x1bd),()=>{const _0x247f0a=_0x502053;_0x27ffa8[_0x247f0a(0x1d2)]?this[_0x247f0a(0x1d3)](_0x247f0a(0x1eb),{'change':_0x27ffa8}):this[_0x247f0a(0x1d3)](_0x247f0a(0x21c),{'change':_0x27ffa8});}),this[_0x502053(0x1ef)][_0x502053(0x207)](_0x27ffa8),_0x51e880[_0x502053(0x207)](_0x27ffa8);}),this[_0x4e6f0f(0x1d3)](_0x4e6f0f(0x1f2),{'changes':_0x51e880,'result':_0x14f09f,'source':this});}[_0x451b78(0x1e4)](){const _0x407760=_0x451b78;this[_0x407760(0x20a)]&&(this[_0x407760(0x20a)][_0x407760(0x1e5)][_0x407760(0x1e4)](),this[_0x407760(0x20a)]=null,this[_0x407760(0x1e7)]=_0x407760(0x1c3));}[_0x451b78(0x1d9)](_0x19b8cf){const _0x4dcc89=_0x451b78,_0x326f70=this[_0x4dcc89(0x1ef)][_0x4dcc89(0x215)](_0x499dc7=>_0x499dc7['id']===_0x19b8cf);return!(!_0x326f70||_0x4dcc89(0x21b)!==_0x326f70[_0x4dcc89(0x1e7)]);}[_0x451b78(0x1ea)](){const _0x4f5b1e=_0x451b78;return this[_0x4f5b1e(0x1ef)][_0x4f5b1e(0x1cd)](_0x55a0cc=>!0x0===_0x55a0cc[_0x4f5b1e(0x1d2)]);}[_0x451b78(0x205)](){const _0x184d9e=_0x451b78;return this[_0x184d9e(0x1ef)][_0x184d9e(0x214)](_0x1c26a0=>_0x184d9e(0x21b)===_0x1c26a0[_0x184d9e(0x1e7)]);}[_0x451b78(0x1f4)](_0x22214a){const _0x5a8373=_0x451b78;return this[_0x5a8373(0x1ef)][_0x5a8373(0x215)](_0x2d1d38=>_0x2d1d38['id']===_0x22214a);}[_0x451b78(0x1f8)](){const _0x577550=_0x451b78;for(const _0x415ed6 of this[_0x577550(0x1ef)])_0x577550(0x21b)===_0x415ed6[_0x577550(0x1e7)]&&(_0x415ed6[_0x577550(0x1e7)]=_0x577550(0x1f3));this[_0x577550(0x212)]();}[_0x451b78(0x1d7)](_0x5d5063){const _0x3375ed=_0x451b78,_0x4693c8=this[_0x3375ed(0x1ef)][_0x3375ed(0x215)](_0x380ba9=>_0x380ba9['id']===_0x5d5063);_0x4693c8&&_0x3375ed(0x21b)===_0x4693c8[_0x3375ed(0x1e7)]&&(_0x4693c8[_0x3375ed(0x1e7)]=_0x3375ed(0x1f3)),this[_0x3375ed(0x212)]();}[_0x451b78(0x204)](_0x4fc70c){const _0x469aee=_0x451b78,_0x152455=this[_0x469aee(0x1ef)][_0x469aee(0x215)](_0x3adaf0=>_0x3adaf0['id']===_0x4fc70c);_0x152455&&_0x469aee(0x21b)===_0x152455[_0x469aee(0x1e7)]&&(_0x152455[_0x469aee(0x1e7)]=_0x469aee(0x21a)),this[_0x469aee(0x212)]();}[_0x451b78(0x1bc)](_0x56fced){const _0x2096ad=_0x451b78,_0x27c2cd=this[_0x2096ad(0x1ef)][_0x2096ad(0x215)](_0xe4ed55=>_0xe4ed55['id']===_0x56fced);_0x27c2cd&&_0x2096ad(0x21b)===_0x27c2cd[_0x2096ad(0x1e7)]&&(_0x27c2cd[_0x2096ad(0x1e7)]=_0x2096ad(0x20f)),this[_0x2096ad(0x212)]();}[_0x451b78(0x1f1)](_0x4e22b4){const _0x3134f0=_0x451b78,_0xb667fb=this[_0x3134f0(0x1ef)][_0x3134f0(0x215)](_0x4b3b63=>_0x4b3b63['id']===_0x4e22b4);_0xb667fb&&_0x3134f0(0x20f)===_0xb667fb[_0x3134f0(0x1e7)]&&(_0xb667fb[_0x3134f0(0x1e7)]=_0x3134f0(0x21b)),this[_0x3134f0(0x212)]();}[_0x451b78(0x201)](_0x4787ca){const _0x2b76e5=_0x451b78;this[_0x2b76e5(0x1ef)][_0x2b76e5(0x214)](_0x4c66b1=>_0x4c66b1[_0x2b76e5(0x1d2)]&&_0x4c66b1['id']!==_0x4787ca)[_0x2b76e5(0x206)](_0x53b9ab=>{const _0x342c88=_0x2b76e5;_0x53b9ab[_0x342c88(0x1d2)]=!0x1;});const _0xfe0cba=this[_0x2b76e5(0x1ef)][_0x2b76e5(0x215)](_0x437735=>_0x437735['id']===_0x4787ca);_0xfe0cba&&_0x2b76e5(0x21b)===_0xfe0cba[_0x2b76e5(0x1e7)]&&(_0xfe0cba[_0x2b76e5(0x1d2)]=!0x0);}[_0x451b78(0x1fd)](){const _0x261f8f=_0x451b78;this[_0x261f8f(0x1ef)][_0x261f8f(0x214)](_0x52851d=>_0x52851d[_0x261f8f(0x1d2)])[_0x261f8f(0x206)](_0x39e2a3=>{const _0x5bdd49=_0x261f8f;_0x39e2a3[_0x5bdd49(0x1d2)]=!0x1;});}[_0x451b78(0x219)](){const _0x51cc1e=_0x451b78;this[_0x51cc1e(0x1e7)]=_0x51cc1e(0x1c6);}async[_0x451b78(0x1d6)](_0x3ba604){const _0x3fb1bf=_0x451b78;if(_0x3fb1bf(0x1d4)===this[_0x3fb1bf(0x1e7)]||_0x3fb1bf(0x1d0)===this[_0x3fb1bf(0x1e7)]||_0x3fb1bf(0x208)===this[_0x3fb1bf(0x1e7)])return;if(!this[_0x3fb1bf(0x1ed)]||0x0===this[_0x3fb1bf(0x1ef)][_0x3fb1bf(0x213)])return;let _0x185b0c;if(_0x3ba604){const _0x26929b=this[_0x3fb1bf(0x1ef)][_0x3fb1bf(0x215)](_0x32b2b9=>_0x32b2b9['id']===_0x3ba604);if(_0x26929b&&_0x26929b[_0x3fb1bf(0x1f7)])return;_0x26929b&&(_0x185b0c=_0x26929b[_0x3fb1bf(0x1e2)]['id'],_0x26929b[_0x3fb1bf(0x1f7)]=!0x0);}const _0x458e62={'positiveCount':this[_0x3fb1bf(0x1ef)][_0x3fb1bf(0x214)](_0x3efb41=>_0x3fb1bf(0x1f3)===_0x3efb41[_0x3fb1bf(0x1e7)])[_0x3fb1bf(0x213)],'totalCount':this[_0x3fb1bf(0x1ef)][_0x3fb1bf(0x213)]};this[_0x3fb1bf(0x1da)](_0x458e62,this[_0x3fb1bf(0x1ed)],_0x185b0c);}[_0x451b78(0x1be)](_0x54ad40,_0xa60781){const _0x2b2adf=_0x451b78,_0x1a7cd2=this[_0x2b2adf(0x217)][_0x2b2adf(0x1bf)][_0x2b2adf(0x1e6)](_0x54ad40);if(!_0x1a7cd2)return;const _0x39245a=_0x1a7cd2[_0x2b2adf(0x1c1)]();if(_0x39245a===_0xa60781)return;const _0x5ab9b7=new _0x212f14({'id':_0x54ad40,'contentInitial':_0x39245a,'contentNew':_0xa60781,'documentVersion':this[_0x2b2adf(0x217)][_0x2b2adf(0x1fa)]});this[_0x2b2adf(0x1f5)][_0x2b2adf(0x1f9)](_0x5ab9b7['id'],_0x5ab9b7),this[_0x2b2adf(0x1d3)](_0x2b2adf(0x1cb),{'result':_0x5ab9b7,'source':this});}[_0x451b78(0x212)](){const _0xa03188=_0x451b78;_0xa03188(0x1ca)===this[_0xa03188(0x1e7)]&&(this[_0xa03188(0x1ef)][_0xa03188(0x214)](_0x5c6cee=>_0xa03188(0x21b)===_0x5c6cee[_0xa03188(0x1e7)])[_0xa03188(0x213)]>0x0&&(this[_0xa03188(0x1e7)]=_0xa03188(0x1c6))),_0xa03188(0x1c6)===this[_0xa03188(0x1e7)]&&(0x0===this[_0xa03188(0x1ef)][_0xa03188(0x214)](_0x8831c3=>_0xa03188(0x21b)===_0x8831c3[_0xa03188(0x1e7)])[_0xa03188(0x213)]&&(this[_0xa03188(0x1e7)]=_0xa03188(0x1ca)));}}
23
+ const _0x5530a4=_0x3819;(function(_0x4c03f8,_0x239f27){const _0x39475c=_0x3819,_0x185229=_0x4c03f8();while(!![]){try{const _0x30ef8c=-parseInt(_0x39475c(0x1b9))/0x1+-parseInt(_0x39475c(0x1eb))/0x2*(parseInt(_0x39475c(0x1c2))/0x3)+parseInt(_0x39475c(0x1d0))/0x4*(parseInt(_0x39475c(0x1d8))/0x5)+-parseInt(_0x39475c(0x18c))/0x6*(parseInt(_0x39475c(0x199))/0x7)+-parseInt(_0x39475c(0x1b2))/0x8*(parseInt(_0x39475c(0x1e0))/0x9)+parseInt(_0x39475c(0x1be))/0xa+parseInt(_0x39475c(0x1c7))/0xb;if(_0x30ef8c===_0x239f27)break;else _0x185229['push'](_0x185229['shift']());}catch(_0xc4857f){_0x185229['push'](_0x185229['shift']());}}}(_0x5c35,0xb9848));import{ObservableMixin as _0xe3d65b,uid as _0x1acc98}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x4ddddb}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x29f098}from'./aireviewcheckresultchange.js';function _0x3819(_0x18b44c,_0x45d0e7){const _0x5c35ef=_0x5c35();return _0x3819=function(_0x3819a0,_0x483ee4){_0x3819a0=_0x3819a0-0x187;let _0x4a1594=_0x5c35ef[_0x3819a0];return _0x4a1594;},_0x3819(_0x18b44c,_0x45d0e7);}function _0x5c35(){const _0x5bb945=['accepted','clear','event','abortController','some','markChangeAsAccepted','7280SQZrpS','deactivateChange','_reviewArgs','reviewCheckResultActivated','review-metadata','unmodified','get','callId','235JNVnJU','_checkIfFinished','parent','_sourceCheck','processedResultsCount','dataId','initialized','abort','2469699LqKXuR','_results','filter','getActiveChanges','error-chunk','elements','activateChange','rejected','ai-request-aborted','markChangeAsRejected','updateDocumentData','4kyfZve','getChangeById','reviewCheckResultAdded','title','version','currentError','1104798Xbdgmd','forEach','set','_addReviewCheckResult','_reviewParams','reviewCheckRunUpdated','every','change:isActivated','getContent','reviewCheckResultChangeStatusUpdated','outdated','_currentError','isRated','7WrbKnp','reviewName','message','isAnyChangeActivated','length','data','push','documentData','forceReadyState','_documentData','size','start','sendRating','find','pending','change:status','isActivated','operation','error-general','subTitle','markChangeAsOutdated','finished','_activeRequest','getStream','addResultChanges','8ohAlkp','_sendRatingRequest','_aiConnector','ready','reviewCheckResultReady','isChangeActive','textDelta','98788AjzVig','_changes','markAllChangesAsAccepted','reviewCheckResultDeactivated','error','8340460JQAFkb','hasModifications','restart','fire','327399GgWjhh','aborted','_createApiRequest','status','includes','6774812DvhfvJ','markChangeAsPending','loading'];_0x5c35=function(){return _0x5bb945;};return _0x5c35();}export class AIReviewCheckRun extends _0xe3d65b(){['id']=_0x1acc98();[_0x5530a4(0x1d7)];[_0x5530a4(0x1e1)]=new Map();[_0x5530a4(0x1ba)]=[];[_0x5530a4(0x1db)];[_0x5530a4(0x1a2)];[_0x5530a4(0x1b4)];[_0x5530a4(0x190)];[_0x5530a4(0x1d2)];[_0x5530a4(0x1af)]=null;[_0x5530a4(0x197)];constructor(_0x1129a9,_0x58e331,_0x3c8cd0,_0x34b89d,_0x13ec76){const _0x4a1406=_0x5530a4;super(),this[_0x4a1406(0x1db)]=_0x58e331,this[_0x4a1406(0x1a2)]=_0x1129a9,this[_0x4a1406(0x1b4)]=_0x3c8cd0,this[_0x4a1406(0x190)]=_0x34b89d,this[_0x4a1406(0x1d2)]=_0x13ec76,this['on'](_0x4a1406(0x1a8),(_0x39b116,_0x29bb5b,_0x2cedc6)=>{const _0x2c4939=_0x4a1406;this[_0x2c4939(0x1c1)](_0x2c4939(0x191),{'status':_0x2cedc6,'run':this,'error':this[_0x2c4939(0x197)]});}),this[_0x4a1406(0x18e)](_0x4a1406(0x1c5),_0x4a1406(0x1de));}get[_0x5530a4(0x1a0)](){const _0x93b48a=_0x5530a4;return this[_0x93b48a(0x1a2)];}get[_0x5530a4(0x1dc)](){const _0x201716=_0x5530a4;return this[_0x201716(0x1e1)][_0x201716(0x1a3)];}get[_0x5530a4(0x189)](){const _0x370c38=_0x5530a4;return this[_0x370c38(0x1db)][_0x370c38(0x189)];}get[_0x5530a4(0x1ac)](){return'';}get[_0x5530a4(0x19a)](){const _0x5ed1f3=_0x5530a4;return this[_0x5ed1f3(0x1db)]['id'];}get[_0x5530a4(0x1bf)](){const _0x5b91f9=_0x5530a4;return!this[_0x5b91f9(0x1ba)][_0x5b91f9(0x192)](_0x246461=>_0x5b91f9(0x1a7)===_0x246461[_0x5b91f9(0x1c5)]);}get[_0x5530a4(0x18b)](){const _0x276830=_0x5530a4;return this[_0x276830(0x197)];}[_0x5530a4(0x1ea)](_0x429b4b){const _0x30fc13=_0x5530a4;this[_0x30fc13(0x1a2)]=_0x429b4b;}async[_0x5530a4(0x1a4)](){const _0x47ae39=_0x5530a4;this[_0x47ae39(0x1c5)]=_0x47ae39(0x1c9),this[_0x47ae39(0x197)]=void 0x0;try{this[_0x47ae39(0x1af)]=this[_0x47ae39(0x1c4)]();const _0x26a8d4=await this[_0x47ae39(0x1af)][_0x47ae39(0x1b0)]();this[_0x47ae39(0x1c5)]=_0x47ae39(0x19e);for await(const _0x1787d5 of _0x26a8d4)_0x47ae39(0x1d5)!==_0x1787d5[_0x47ae39(0x19e)][_0x47ae39(0x1aa)]&&(_0x47ae39(0x1bd)!==_0x1787d5[_0x47ae39(0x19e)][_0x47ae39(0x1aa)]?_0x47ae39(0x1d4)!==_0x1787d5[_0x47ae39(0x1cc)]?this[_0x47ae39(0x18f)](_0x1787d5[_0x47ae39(0x19e)][_0x47ae39(0x1dd)],_0x1787d5[_0x47ae39(0x19e)][_0x47ae39(0x1b8)]):this[_0x47ae39(0x1d7)]=_0x1787d5[_0x47ae39(0x19e)][_0x47ae39(0x1d7)]:this[_0x47ae39(0x1c5)]=_0x47ae39(0x1e4));_0x47ae39(0x1e4)!==this[_0x47ae39(0x1c5)]&&(0x0===this[_0x47ae39(0x1e1)][_0x47ae39(0x1a3)]||0x0===this[_0x47ae39(0x1ba)][_0x47ae39(0x19d)]?this[_0x47ae39(0x1c5)]=_0x47ae39(0x1d5):this[_0x47ae39(0x1c5)]=_0x47ae39(0x1b5));}catch(_0x4f1eaf){this[_0x47ae39(0x197)]=_0x4f1eaf,_0x4f1eaf instanceof Error&&_0x4f1eaf[_0x47ae39(0x19b)][_0x47ae39(0x1c6)](_0x47ae39(0x1e8))?this[_0x47ae39(0x1c5)]=_0x47ae39(0x1c3):this[_0x47ae39(0x1c5)]=_0x47ae39(0x1ab);}finally{this[_0x47ae39(0x1af)]=null;}}async[_0x5530a4(0x1c0)](){const _0x6bee88=_0x5530a4;this[_0x6bee88(0x1e1)][_0x6bee88(0x1cb)](),this[_0x6bee88(0x1ba)][_0x6bee88(0x19d)]=0x0,this[_0x6bee88(0x197)]=void 0x0,await this[_0x6bee88(0x1a4)]();}[_0x5530a4(0x1b1)](_0x342f4a,_0x2d0fa1){const _0x273d01=_0x5530a4,_0x175181=this[_0x273d01(0x1e1)][_0x273d01(0x1d6)](_0x342f4a);if(!_0x175181)return;if(0x0===_0x2d0fa1[_0x273d01(0x19d)])return;const _0x5a046e=[];_0x2d0fa1[_0x273d01(0x18d)]((_0x5b15f4,_0x32691c)=>{const _0xee8c54=_0x273d01,_0xb5b95d=new _0x29f098(_0x175181['id']+'-'+_0x32691c,_0x5b15f4,_0x175181);_0xb5b95d['on'](_0xee8c54(0x1a8),()=>{const _0x25ef51=_0xee8c54;this[_0x25ef51(0x1c1)](_0x25ef51(0x195),{'change':_0xb5b95d,'status':_0xb5b95d[_0x25ef51(0x1c5)]});}),_0xb5b95d['on'](_0xee8c54(0x193),()=>{const _0x4fc5af=_0xee8c54;_0xb5b95d[_0x4fc5af(0x1a9)]?this[_0x4fc5af(0x1c1)](_0x4fc5af(0x1d3),{'change':_0xb5b95d}):this[_0x4fc5af(0x1c1)](_0x4fc5af(0x1bc),{'change':_0xb5b95d});}),this[_0xee8c54(0x1ba)][_0xee8c54(0x19f)](_0xb5b95d),_0x5a046e[_0xee8c54(0x19f)](_0xb5b95d);}),this[_0x273d01(0x1c1)](_0x273d01(0x1b6),{'changes':_0x5a046e,'result':_0x175181,'source':this});}[_0x5530a4(0x1df)](){const _0x239878=_0x5530a4;this[_0x239878(0x1af)]&&(this[_0x239878(0x1af)][_0x239878(0x1cd)][_0x239878(0x1df)](),this[_0x239878(0x1af)]=null,this[_0x239878(0x1c5)]=_0x239878(0x1c3));}[_0x5530a4(0x1b7)](_0x2fdb44){const _0x17b5b1=_0x5530a4,_0x2b7de8=this[_0x17b5b1(0x1ba)][_0x17b5b1(0x1a6)](_0x161a0d=>_0x161a0d['id']===_0x2fdb44);return!(!_0x2b7de8||_0x17b5b1(0x1a7)!==_0x2b7de8[_0x17b5b1(0x1c5)]);}[_0x5530a4(0x19c)](){const _0x2a05d3=_0x5530a4;return this[_0x2a05d3(0x1ba)][_0x2a05d3(0x1ce)](_0x3ac968=>!0x0===_0x3ac968[_0x2a05d3(0x1a9)]);}[_0x5530a4(0x1e3)](){const _0x1a5230=_0x5530a4;return this[_0x1a5230(0x1ba)][_0x1a5230(0x1e2)](_0x62a515=>_0x1a5230(0x1a7)===_0x62a515[_0x1a5230(0x1c5)]);}[_0x5530a4(0x187)](_0x17422c){const _0x57d33b=_0x5530a4;return this[_0x57d33b(0x1ba)][_0x57d33b(0x1a6)](_0x3b538f=>_0x3b538f['id']===_0x17422c);}[_0x5530a4(0x1bb)](){const _0x57dc5d=_0x5530a4;for(const _0xa86891 of this[_0x57dc5d(0x1ba)])_0x57dc5d(0x1a7)===_0xa86891[_0x57dc5d(0x1c5)]&&(_0xa86891[_0x57dc5d(0x1c5)]=_0x57dc5d(0x1ca));this[_0x57dc5d(0x1d9)]();}[_0x5530a4(0x1cf)](_0x4d14aa){const _0x368cc2=_0x5530a4,_0x4aa21f=this[_0x368cc2(0x1ba)][_0x368cc2(0x1a6)](_0x13b16b=>_0x13b16b['id']===_0x4d14aa);_0x4aa21f&&_0x368cc2(0x1a7)===_0x4aa21f[_0x368cc2(0x1c5)]&&(_0x4aa21f[_0x368cc2(0x1c5)]=_0x368cc2(0x1ca)),this[_0x368cc2(0x1d9)]();}[_0x5530a4(0x1e9)](_0x1f6817){const _0x47c113=_0x5530a4,_0x2a8d1f=this[_0x47c113(0x1ba)][_0x47c113(0x1a6)](_0x446175=>_0x446175['id']===_0x1f6817);_0x2a8d1f&&_0x47c113(0x1a7)===_0x2a8d1f[_0x47c113(0x1c5)]&&(_0x2a8d1f[_0x47c113(0x1c5)]=_0x47c113(0x1e7)),this[_0x47c113(0x1d9)]();}[_0x5530a4(0x1ad)](_0x227f15){const _0x45cfef=_0x5530a4,_0x44a588=this[_0x45cfef(0x1ba)][_0x45cfef(0x1a6)](_0x395176=>_0x395176['id']===_0x227f15);_0x44a588&&_0x45cfef(0x1a7)===_0x44a588[_0x45cfef(0x1c5)]&&(_0x44a588[_0x45cfef(0x1c5)]=_0x45cfef(0x196)),this[_0x45cfef(0x1d9)]();}[_0x5530a4(0x1c8)](_0x8dbf14){const _0x586aac=_0x5530a4,_0x1fd14b=this[_0x586aac(0x1ba)][_0x586aac(0x1a6)](_0x10141b=>_0x10141b['id']===_0x8dbf14);_0x1fd14b&&_0x586aac(0x196)===_0x1fd14b[_0x586aac(0x1c5)]&&(_0x1fd14b[_0x586aac(0x1c5)]=_0x586aac(0x1a7)),this[_0x586aac(0x1d9)]();}[_0x5530a4(0x1e6)](_0x85d5f8){const _0x422647=_0x5530a4;this[_0x422647(0x1ba)][_0x422647(0x1e2)](_0x313716=>_0x313716[_0x422647(0x1a9)]&&_0x313716['id']!==_0x85d5f8)[_0x422647(0x18d)](_0x1869bd=>{const _0x44dc44=_0x422647;_0x1869bd[_0x44dc44(0x1a9)]=!0x1;});const _0x315b42=this[_0x422647(0x1ba)][_0x422647(0x1a6)](_0x5196a2=>_0x5196a2['id']===_0x85d5f8);_0x315b42&&_0x422647(0x1a7)===_0x315b42[_0x422647(0x1c5)]&&(_0x315b42[_0x422647(0x1a9)]=!0x0);}[_0x5530a4(0x1d1)](){const _0x2bb25d=_0x5530a4;this[_0x2bb25d(0x1ba)][_0x2bb25d(0x1e2)](_0x3046f9=>_0x3046f9[_0x2bb25d(0x1a9)])[_0x2bb25d(0x18d)](_0x627d22=>{const _0x39b05c=_0x2bb25d;_0x627d22[_0x39b05c(0x1a9)]=!0x1;});}[_0x5530a4(0x1a1)](){const _0x47b564=_0x5530a4;this[_0x47b564(0x1c5)]=_0x47b564(0x1b5);}async[_0x5530a4(0x1a5)](_0x1c2bcf){const _0x8cec14=_0x5530a4;if(_0x8cec14(0x1de)===this[_0x8cec14(0x1c5)]||_0x8cec14(0x1c9)===this[_0x8cec14(0x1c5)]||_0x8cec14(0x19e)===this[_0x8cec14(0x1c5)])return;if(!this[_0x8cec14(0x1d7)]||0x0===this[_0x8cec14(0x1ba)][_0x8cec14(0x19d)])return;let _0x227392;if(_0x1c2bcf){const _0x5156ab=this[_0x8cec14(0x1ba)][_0x8cec14(0x1a6)](_0x5c21b5=>_0x5c21b5['id']===_0x1c2bcf);if(_0x5156ab&&_0x5156ab[_0x8cec14(0x198)])return;_0x5156ab&&(_0x227392=_0x5156ab[_0x8cec14(0x1da)]['id'],_0x5156ab[_0x8cec14(0x198)]=!0x0);}const _0x3ef0af={'positiveCount':this[_0x8cec14(0x1ba)][_0x8cec14(0x1e2)](_0x5b1ddb=>_0x8cec14(0x1ca)===_0x5b1ddb[_0x8cec14(0x1c5)])[_0x8cec14(0x19d)],'totalCount':this[_0x8cec14(0x1ba)][_0x8cec14(0x19d)]};this[_0x8cec14(0x1b3)](_0x3ef0af,this[_0x8cec14(0x1d7)],_0x227392);}[_0x5530a4(0x18f)](_0x593184,_0xeba205){const _0x5855e9=_0x5530a4,_0x42bc27=this[_0x5855e9(0x1a2)][_0x5855e9(0x1e5)][_0x5855e9(0x1d6)](_0x593184);if(!_0x42bc27)return;const _0x3868d4=_0x42bc27[_0x5855e9(0x194)]();if(_0x3868d4===_0xeba205)return;const _0x392448=new _0x4ddddb({'id':_0x593184,'contentInitial':_0x3868d4,'contentNew':_0xeba205,'documentVersion':this[_0x5855e9(0x1a2)][_0x5855e9(0x18a)]});this[_0x5855e9(0x1e1)][_0x5855e9(0x18e)](_0x392448['id'],_0x392448),this[_0x5855e9(0x1c1)](_0x5855e9(0x188),{'result':_0x392448,'source':this});}[_0x5530a4(0x1d9)](){const _0x59cf54=_0x5530a4;_0x59cf54(0x1ae)===this[_0x59cf54(0x1c5)]&&(this[_0x59cf54(0x1ba)][_0x59cf54(0x1e2)](_0x4fd898=>_0x59cf54(0x1a7)===_0x4fd898[_0x59cf54(0x1c5)])[_0x59cf54(0x19d)]>0x0&&(this[_0x59cf54(0x1c5)]=_0x59cf54(0x1b5))),_0x59cf54(0x1b5)===this[_0x59cf54(0x1c5)]&&(0x0===this[_0x59cf54(0x1ba)][_0x59cf54(0x1e2)](_0x5db9c3=>_0x59cf54(0x1a7)===_0x5db9c3[_0x59cf54(0x1c5)])[_0x59cf54(0x19d)]&&(this[_0x59cf54(0x1c5)]=_0x59cf54(0x1ae)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x44ac(_0x3df257,_0x56d64c){const _0x416063=_0x4160();return _0x44ac=function(_0x44ac1f,_0x581c0f){_0x44ac1f=_0x44ac1f-0xe9;let _0x460e04=_0x416063[_0x44ac1f];return _0x460e04;},_0x44ac(_0x3df257,_0x56d64c);}const _0x5adbbe=_0x44ac;(function(_0x5aa275,_0x56c091){const _0x33c473=_0x44ac,_0x3b72ab=_0x5aa275();while(!![]){try{const _0x5bd679=-parseInt(_0x33c473(0x106))/0x1*(-parseInt(_0x33c473(0xe9))/0x2)+-parseInt(_0x33c473(0x107))/0x3*(-parseInt(_0x33c473(0xf9))/0x4)+parseInt(_0x33c473(0xf1))/0x5+parseInt(_0x33c473(0xfe))/0x6+-parseInt(_0x33c473(0xfa))/0x7+parseInt(_0x33c473(0x103))/0x8+-parseInt(_0x33c473(0xeb))/0x9;if(_0x5bd679===_0x56c091)break;else _0x3b72ab['push'](_0x3b72ab['shift']());}catch(_0x135a13){_0x3b72ab['push'](_0x3b72ab['shift']());}}}(_0x4160,0x792aa));import{AIReviewCheckRun as _0x4dc38e}from'./aireviewcheckrun.js';function _0x4160(){const _0x16a8de=['581375mZsAEA','options','_reviewArgs','_aiConnector','label','content','find','callSystemReview','2566864ZjwUXE','41678yTUByx','upsertAIReviewRating','apiId','push','593724zsBohm','useArgs','_createApiRequest','length','_sendRatingRequest','2157240sxcrZy','_reviewParams','_documentData','34231RGccff','3ySzixI','8qNbYHL','data','6851448dncvKN','join','subTitle','reviewName','_sourceCheck','_composeReviewName'];_0x4160=function(){return _0x16a8de;};return _0x4160();}export class AIReviewSystemCheckRun extends _0x4dc38e{get[_0x5adbbe(0xed)](){const _0x4e1745=_0x5adbbe;if(!this[_0x4e1745(0x104)]||0x0===this[_0x4e1745(0x104)][_0x4e1745(0x101)])return'';const _0xe3b855=[];if(this[_0x4e1745(0x104)][_0x4e1745(0x101)]>0x0&&this[_0x4e1745(0xef)][_0x4e1745(0xf2)])for(let _0x52b893=0x0;_0x52b893<this[_0x4e1745(0x104)][_0x4e1745(0x101)];_0x52b893++){if(!this[_0x4e1745(0x104)][_0x52b893]||!this[_0x4e1745(0xef)][_0x4e1745(0xf2)][_0x52b893])continue;const _0x3e4543=this[_0x4e1745(0xef)][_0x4e1745(0xf2)][_0x52b893],_0x46b9e8=_0x3e4543[_0x4e1745(0xea)]?.[_0x4e1745(0xf7)](_0x244db3=>_0x244db3['id']===this[_0x4e1745(0x104)][_0x52b893]);_0x46b9e8&&_0xe3b855[_0x4e1745(0xfd)](_0x46b9e8[_0x4e1745(0xf5)]);}return _0xe3b855[_0x4e1745(0xec)](',\x20');}get[_0x5adbbe(0xee)](){const _0x307d1b=_0x5adbbe;return this[_0x307d1b(0xf0)]();}[_0x5adbbe(0x100)](){const _0xaeb19c=_0x5adbbe;return this[_0xaeb19c(0xf4)][_0xaeb19c(0xf8)]({'reviewName':this[_0xaeb19c(0xf0)](),'content':this[_0xaeb19c(0x105)][_0xaeb19c(0xf6)],'args':this[_0xaeb19c(0xf3)]});}[_0x5adbbe(0x102)](_0x532bdb,_0x19e79a,_0x3c2ba7){const _0xc99099=_0x5adbbe;return this[_0xc99099(0xf4)][_0xc99099(0xfb)](this[_0xc99099(0xee)],_0x19e79a,_0x532bdb,_0x3c2ba7);}[_0x5adbbe(0xf0)](){const _0x32565e=_0x5adbbe;return!this[_0x32565e(0x104)]||0x0===this[_0x32565e(0x104)][_0x32565e(0x101)]||this[_0x32565e(0xef)][_0x32565e(0xff)]?this[_0x32565e(0xef)][_0x32565e(0xfc)]:[this[_0x32565e(0xef)][_0x32565e(0xfc)],...this[_0x32565e(0x104)]][_0x32565e(0xec)]('-');}}
23
+ function _0xb85d(){const _0x2bead6=['12btIrbg','_sendRatingRequest','options','_reviewArgs','reviewName','join','1348008JwTvEf','data','subTitle','186EyaBTy','find','content','1511937yZdURk','push','label','634266PtIiuB','1XkyjxO','_composeReviewName','_sourceCheck','useArgs','apiId','3WBHdBp','upsertAIReviewRating','callSystemReview','_createApiRequest','29420DoetdF','_documentData','15831udlNez','_reviewParams','810yeDGmD','1443448OiqLFV','_aiConnector','length','2219767iwOdhA'];_0xb85d=function(){return _0x2bead6;};return _0xb85d();}const _0x575e02=_0x238a;function _0x238a(_0x12835e,_0x53f0f8){const _0xb85d4=_0xb85d();return _0x238a=function(_0x238aad,_0x2b2a77){_0x238aad=_0x238aad-0x75;let _0x46b04b=_0xb85d4[_0x238aad];return _0x46b04b;},_0x238a(_0x12835e,_0x53f0f8);}(function(_0x7b6eb7,_0x3e1565){const _0x2624b6=_0x238a,_0x10a32c=_0x7b6eb7();while(!![]){try{const _0x19e536=-parseInt(_0x2624b6(0x7e))/0x1*(-parseInt(_0x2624b6(0x7d))/0x2)+parseInt(_0x2624b6(0x83))/0x3*(-parseInt(_0x2624b6(0x96))/0x4)+parseInt(_0x2624b6(0x87))/0x5*(parseInt(_0x2624b6(0x77))/0x6)+-parseInt(_0x2624b6(0x7a))/0x7+parseInt(_0x2624b6(0x8c))/0x8+-parseInt(_0x2624b6(0x89))/0x9*(parseInt(_0x2624b6(0x8b))/0xa)+parseInt(_0x2624b6(0x8f))/0xb*(parseInt(_0x2624b6(0x90))/0xc);if(_0x19e536===_0x3e1565)break;else _0x10a32c['push'](_0x10a32c['shift']());}catch(_0x94b99){_0x10a32c['push'](_0x10a32c['shift']());}}}(_0xb85d,0x2d7b5));import{AIReviewCheckRun as _0x5e1450}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x5e1450{get[_0x575e02(0x76)](){const _0x5da577=_0x575e02;if(!this[_0x5da577(0x8a)]||0x0===this[_0x5da577(0x8a)][_0x5da577(0x8e)])return'';const _0x5a7d0c=[];if(this[_0x5da577(0x8a)][_0x5da577(0x8e)]>0x0&&this[_0x5da577(0x80)][_0x5da577(0x92)])for(let _0x259155=0x0;_0x259155<this[_0x5da577(0x8a)][_0x5da577(0x8e)];_0x259155++){if(!this[_0x5da577(0x8a)][_0x259155]||!this[_0x5da577(0x80)][_0x5da577(0x92)][_0x259155])continue;const _0x27b493=this[_0x5da577(0x80)][_0x5da577(0x92)][_0x259155],_0x1cd437=_0x27b493[_0x5da577(0x75)]?.[_0x5da577(0x78)](_0x590a62=>_0x590a62['id']===this[_0x5da577(0x8a)][_0x259155]);_0x1cd437&&_0x5a7d0c[_0x5da577(0x7b)](_0x1cd437[_0x5da577(0x7c)]);}return _0x5a7d0c[_0x5da577(0x95)](',\x20');}get[_0x575e02(0x94)](){const _0x1a0b57=_0x575e02;return this[_0x1a0b57(0x7f)]();}[_0x575e02(0x86)](){const _0x160654=_0x575e02;return this[_0x160654(0x8d)][_0x160654(0x85)]({'reviewName':this[_0x160654(0x7f)](),'content':this[_0x160654(0x88)][_0x160654(0x79)],'args':this[_0x160654(0x93)]});}[_0x575e02(0x91)](_0x435cc1,_0xac0b18,_0xe17b5b){const _0x1d0d20=_0x575e02;return this[_0x1d0d20(0x8d)][_0x1d0d20(0x84)](this[_0x1d0d20(0x94)],_0xac0b18,_0x435cc1,_0xe17b5b);}[_0x575e02(0x7f)](){const _0x3a74dd=_0x575e02;return!this[_0x3a74dd(0x8a)]||0x0===this[_0x3a74dd(0x8a)][_0x3a74dd(0x8e)]||this[_0x3a74dd(0x80)][_0x3a74dd(0x81)]?this[_0x3a74dd(0x80)][_0x3a74dd(0x82)]:[this[_0x3a74dd(0x80)][_0x3a74dd(0x82)],...this[_0x3a74dd(0x8a)]][_0x3a74dd(0x95)]('-');}}
@@ -5,15 +5,24 @@
5
5
  /**
6
6
  * @module ai/aireviewcore/types
7
7
  */
8
- export type AIReviewCheckDefinition = {
8
+ export interface AIReviewCheckBaseDefinition {
9
9
  id: string;
10
+ commandId: string;
10
11
  title: string;
11
12
  description: string;
12
13
  isParameterized: boolean;
14
+ isExtra?: boolean;
15
+ }
16
+ export interface AIReviewCheckDefinition extends AIReviewCheckBaseDefinition {
13
17
  useArgs?: boolean;
14
18
  options?: Array<AIReviewCheckOptions>;
15
19
  args?: Record<string, string>;
16
- };
20
+ }
21
+ export interface AIReviewCheckExtraDefinition extends AIReviewCheckBaseDefinition {
22
+ isExtra: true;
23
+ prompt: string;
24
+ model?: string;
25
+ }
17
26
  export type AIReviewCheckOptions = {
18
27
  formType: string;
19
28
  label?: string;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x349517=_0x52c4;(function(_0x3ff049,_0x5ad334){const _0x163a4d=_0x52c4,_0x203c5c=_0x3ff049();while(!![]){try{const _0x182307=parseInt(_0x163a4d(0x1e9))/0x1+-parseInt(_0x163a4d(0x1ea))/0x2*(parseInt(_0x163a4d(0x1ff))/0x3)+parseInt(_0x163a4d(0x213))/0x4+-parseInt(_0x163a4d(0x20f))/0x5+parseInt(_0x163a4d(0x1f1))/0x6*(parseInt(_0x163a4d(0x1d7))/0x7)+-parseInt(_0x163a4d(0x1fa))/0x8+parseInt(_0x163a4d(0x210))/0x9;if(_0x182307===_0x5ad334)break;else _0x203c5c['push'](_0x203c5c['shift']());}catch(_0x5b2480){_0x203c5c['push'](_0x203c5c['shift']());}}}(_0xc73b,0xa2782));import{Rect as _0x5ada2b,getConstrainedViewportRect as _0x5a7dfe}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x604e3a,View as _0x98b63a,clickOutsideHandler as _0x181ce0}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x4b1482}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';function _0x52c4(_0x58667a,_0x18fd74){const _0xc73b0d=_0xc73b();return _0x52c4=function(_0x52c42b,_0x2c92e2){_0x52c42b=_0x52c42b-0x1ca;let _0x53a1fd=_0xc73b0d[_0x52c42b];return _0x53a1fd;},_0x52c4(_0x58667a,_0x18fd74);}import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';function _0xc73b(){const _0x519ba7=['left','arrow_','_setupClickOutsideHandler','_pinnedTargetElement','ck-content','1256112UMyikG','_getPointedRectIndexFromEvent','resultItemView','getIntersection','add','2405451WyCsFQ','unpin','updateContent','balloon','_getBestRectPositionOnHover','from','div','documentElement','arrow_se','render','hover','reverse','_pinnedRectIndex','set','_isPinnedRectVisible','top','3327325cMzUPi','5151483asPawN','contentDiffed','deactivateChange','3583672obVHkr','acceptChange','delegate','hideBalloon','locale','show','pin','getBoundingClientRect','push','isVisible','forEach','hideDiffInBalloon','bindTemplate','ck-ai_review-balloon-panel-suggestion','_createContentView','dismissChange','getClientRects','ck-ai_review__suggestion-text','1363173weVZbm','resultResponseView','bottom','showDiffInBalloon','_pinnedTargetChangeId','replace','ck-ai_review-balloon-panel-suggestion_diff-active','clientY','fire','extendTemplate','showDiff','element','click','innerHTML','showBalloon','clientX','length','setTemplate','431987YftUcM','2LzeRLo','right','content','hide','ck-reset','_getBestRectPositionOnClick','position','12nkPOVe','width','changeId','isDiffActive'];_0xc73b=function(){return _0x519ba7;};return _0xc73b();}export class AIReviewCoreBalloonSuggestionItemView extends _0x604e3a{[_0x349517(0x1fc)];[_0x349517(0x20b)]=void 0x0;[_0x349517(0x1f8)]=void 0x0;[_0x349517(0x1db)]=void 0x0;constructor(_0x1d5a13,_0x126254){const _0x222e96=_0x349517;super(_0x1d5a13),this[_0x222e96(0x20c)]({'isVisible':!0x1,'position':_0x222e96(0x207),'class':null,'top':0x0,'left':0x0}),this[_0x222e96(0x1e0)]({'tag':_0x222e96(0x205),'attributes':{'class':[_0x222e96(0x1ee)],'tabindex':'-1'}}),this[_0x222e96(0x20c)](_0x222e96(0x1f4),!0x1),this[_0x222e96(0x1ec)][_0x222e96(0x1fe)](this[_0x222e96(0x1d3)]()),_0x126254[_0x222e96(0x1fe)](this);}[_0x349517(0x208)](){const _0x3be963=_0x349517;super[_0x3be963(0x208)](),this[_0x3be963(0x1f7)]();}[_0x349517(0x201)](_0x43100f){const _0x4e275e=_0x349517;this[_0x4e275e(0x1fc)][_0x4e275e(0x1f3)]=_0x43100f['id'],this[_0x4e275e(0x1fc)][_0x4e275e(0x1d8)][_0x4e275e(0x1e2)][_0x4e275e(0x1e4)]=_0x43100f[_0x4e275e(0x211)];}[_0x349517(0x1e5)](_0x36931d,_0xc89695,_0x494f99,_0x184e33,_0x37a4b2,_0xa77d26){const _0x4b146e=_0x349517,_0x37eba3=_0xc89695();if(!_0x37eba3)return;this[_0x4b146e(0x201)](_0x36931d),this[_0x4b146e(0x1ca)]();const _0x28420d=Array[_0x4b146e(0x204)](_0x37eba3[_0x4b146e(0x1d5)]())[_0x4b146e(0x20a)](),_0x48ebbd=this[_0x4b146e(0x1fb)](_0x494f99,_0x28420d),_0xa8cddf=_0x28420d[_0x48ebbd??0x0];_0x4b146e(0x1e3)===_0x184e33?(this[_0x4b146e(0x1f4)]=!0x0,this[_0x4b146e(0x1cb)]({'target':()=>this[_0x4b146e(0x1ef)](_0xc89695(),_0x48ebbd,_0x36931d['id'],_0x37a4b2,_0xa77d26)||_0xa8cddf})):_0x4b146e(0x209)===_0x184e33&&(this[_0x4b146e(0x1f4)]=!0x1,this[_0x4b146e(0x1cb)]({'target':()=>this[_0x4b146e(0x203)](_0xc89695(),_0x48ebbd,_0x36931d['id'])||_0xa8cddf}));}[_0x349517(0x216)](){const _0x1a2108=_0x349517;this[_0x1a2108(0x1ed)](),this[_0x1a2108(0x200)](),this[_0x1a2108(0x20b)]=void 0x0,this[_0x1a2108(0x1f8)]=void 0x0,this[_0x1a2108(0x1db)]=void 0x0;}[_0x349517(0x1d0)](){const _0xc2e69a=_0x349517;this[_0xc2e69a(0x1fc)][_0xc2e69a(0x1e1)]=!0x1;}[_0x349517(0x1da)](){const _0x57d8a7=_0x349517;this[_0x57d8a7(0x1fc)][_0x57d8a7(0x1e1)]=!0x0;}[_0x349517(0x212)](){const _0x456e92=_0x349517;this[_0x456e92(0x1df)](_0x456e92(0x212),{'origin':_0x456e92(0x202)});}[_0x349517(0x1f7)](){const _0x3af37b=_0x349517;_0x181ce0({'emitter':this,'activator':()=>this[_0x3af37b(0x1ce)],'contextElements':()=>{const _0x326441=_0x3af37b,_0x17ec86=[this[_0x326441(0x1e2)]];return this[_0x326441(0x1f8)]&&_0x17ec86[_0x326441(0x1cd)](this[_0x326441(0x1f8)]),_0x17ec86;},'callback':()=>{const _0x37ece6=_0x3af37b;this[_0x37ece6(0x1ed)](),this[_0x37ece6(0x200)](),this[_0x37ece6(0x212)](),this[_0x37ece6(0x1f8)]=void 0x0,this[_0x37ece6(0x20b)]=void 0x0,this[_0x37ece6(0x1db)]=void 0x0;}});}[_0x349517(0x1d3)](){const _0x55fa98=_0x349517,_0x295b45=new _0x98b63a();return this[_0x55fa98(0x1fc)]=new _0x4b1482(this[_0x55fa98(0x217)],''),this[_0x55fa98(0x1fc)][_0x55fa98(0x1d8)][_0x55fa98(0x1e0)]({'attributes':{'class':[_0x55fa98(0x1f9)]}}),this[_0x55fa98(0x1fc)][_0x55fa98(0x215)](_0x55fa98(0x214),_0x55fa98(0x1d4))['to'](this),_0x295b45[_0x55fa98(0x1e8)]({'tag':_0x55fa98(0x205),'attributes':{'class':[_0x55fa98(0x1ee),_0x55fa98(0x1d2),this[_0x55fa98(0x1d1)]['if'](_0x55fa98(0x1f4),_0x55fa98(0x1dd))]},'children':[{'tag':'p','attributes':{'class':[_0x55fa98(0x1d6)]},'children':[this[_0x55fa98(0x1fc)]]}]}),_0x295b45;}[_0x349517(0x1ef)](_0x175f6f,_0x1f1b68,_0x52149e,_0x30329e,_0x3ddf35){const _0x27f684=_0x349517;if(!_0x175f6f)return null;const _0x2d801c=this[_0x27f684(0x1f0)][_0x27f684(0x1dc)](_0x27f684(0x1f6),''),_0x263ac7=Array[_0x27f684(0x204)](_0x175f6f[_0x27f684(0x1d5)]());let _0x5c7cc3,_0x3ff26d=_0x263ac7[_0x27f684(0x20a)]();return void 0x0!==_0x1f1b68&&this[_0x27f684(0x20d)](_0x3ff26d[_0x1f1b68],_0x30329e,_0x3ddf35)?(_0x5c7cc3=_0x3ff26d[_0x1f1b68],this[_0x27f684(0x20b)]=_0x1f1b68):this[_0x27f684(0x20d)](_0x3ff26d[0x0],_0x30329e,_0x3ddf35)&&void 0x0===_0x1f1b68?_0x5c7cc3=_0x3ff26d[0x0]:(_0x3ff26d='s'==_0x2d801c[0x0]?[..._0x263ac7][_0x27f684(0x20a)]():_0x263ac7,_0x3ff26d[_0x27f684(0x1cf)](_0x3f2b23=>{const _0x57680f=_0x27f684;this[_0x57680f(0x20d)](_0x3f2b23,_0x30329e,_0x3ddf35)&&(_0x5c7cc3=_0x3f2b23);})),this[_0x27f684(0x1db)]=_0x52149e,this[_0x27f684(0x1f8)]=_0x175f6f,_0x5c7cc3||_0x175f6f[_0x27f684(0x1cc)]();}[_0x349517(0x203)](_0x270b08,_0xdf1fdd,_0x1a1908){const _0x95fdcd=_0x349517;if(!_0x270b08)return null;const _0x1a3401=Array[_0x95fdcd(0x204)](_0x270b08[_0x95fdcd(0x1d5)]())[_0x95fdcd(0x20a)]();if(void 0x0===this[_0x95fdcd(0x20b)]&&void 0x0!==_0xdf1fdd&&this[_0x95fdcd(0x1db)]!==_0x1a1908)return this[_0x95fdcd(0x20b)]=_0xdf1fdd,this[_0x95fdcd(0x1f8)]=_0x270b08,this[_0x95fdcd(0x1db)]=_0x1a1908,_0x1a3401[_0xdf1fdd];if(void 0x0!==this[_0x95fdcd(0x20b)]&&this[_0x95fdcd(0x1db)]===_0x1a1908){if(_0x270b08!==this[_0x95fdcd(0x1f8)])return Array[_0x95fdcd(0x204)](this[_0x95fdcd(0x1f8)][_0x95fdcd(0x1d5)]())[_0x95fdcd(0x20a)]()[this[_0x95fdcd(0x20b)]];return _0x1a3401[this[_0x95fdcd(0x20b)]];}return void 0x0!==_0xdf1fdd&&this[_0x95fdcd(0x1db)]!==_0x1a1908?(this[_0x95fdcd(0x20b)]=_0xdf1fdd,this[_0x95fdcd(0x1f8)]=_0x270b08,this[_0x95fdcd(0x1db)]=_0x1a1908,_0x1a3401[_0xdf1fdd]):_0x270b08[_0x95fdcd(0x1cc)]();}[_0x349517(0x1fb)](_0x461084,_0x355d63){const _0x40571b=_0x349517;if(_0x461084)for(let _0x27dda8=0x0;_0x27dda8<_0x355d63[_0x40571b(0x1e7)];_0x27dda8++){const _0x122823=_0x355d63[_0x27dda8];if(_0x461084[_0x40571b(0x1e6)]>=_0x122823[_0x40571b(0x1f5)]-0x3&&_0x461084[_0x40571b(0x1e6)]<=_0x122823[_0x40571b(0x1eb)]+0x3&&_0x461084[_0x40571b(0x1de)]>=_0x122823[_0x40571b(0x20e)]-0x3&&_0x461084[_0x40571b(0x1de)]<=_0x122823[_0x40571b(0x1d9)]+0x3)return _0x27dda8;}}[_0x349517(0x20d)](_0x3e88e2,_0x328af0,_0xb02fec){const _0x5af007=_0x349517,_0x2280aa=new _0x5ada2b(_0x3e88e2),_0x1545a3=_0x328af0||document[_0x5af007(0x206)],_0x9203a9=_0x2280aa[_0x5af007(0x1fd)](_0x5a7dfe(_0xb02fec)),_0x387cac=new _0x5ada2b(_0x1545a3)[_0x5af007(0x1fd)](_0x2280aa);return!!(_0x9203a9&&_0x387cac&&_0x2280aa[_0x5af007(0x1f2)]>0x0);}}
23
+ const _0xd504d9=_0x536d;(function(_0x45062a,_0x156308){const _0x469827=_0x536d,_0x54acbd=_0x45062a();while(!![]){try{const _0xd05d6a=parseInt(_0x469827(0x203))/0x1*(parseInt(_0x469827(0x205))/0x2)+parseInt(_0x469827(0x22b))/0x3+-parseInt(_0x469827(0x1f0))/0x4*(parseInt(_0x469827(0x213))/0x5)+-parseInt(_0x469827(0x20b))/0x6*(-parseInt(_0x469827(0x21d))/0x7)+parseInt(_0x469827(0x1e4))/0x8*(parseInt(_0x469827(0x207))/0x9)+parseInt(_0x469827(0x204))/0xa*(parseInt(_0x469827(0x1e3))/0xb)+-parseInt(_0x469827(0x212))/0xc;if(_0xd05d6a===_0x156308)break;else _0x54acbd['push'](_0x54acbd['shift']());}catch(_0x3b62b0){_0x54acbd['push'](_0x54acbd['shift']());}}}(_0x23b1,0xb63bd));import{Rect as _0x56e600,getConstrainedViewportRect as _0x189290}from'ckeditor5/src/utils.js';function _0x536d(_0x4669af,_0xef73a7){const _0x23b114=_0x23b1();return _0x536d=function(_0x536dd9,_0x58de3c){_0x536dd9=_0x536dd9-0x1de;let _0x11cad3=_0x23b114[_0x536dd9];return _0x11cad3;},_0x536d(_0x4669af,_0xef73a7);}import{BalloonPanelView as _0x35cd21,View as _0x4d0cb5,clickOutsideHandler as _0x5accc2}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x4c92ce}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';function _0x23b1(){const _0x48d97c=['isVisible','showDiff','add','innerHTML','3285227IFWSwR','3802776diyoFp','isDiffActive','push','getIntersection','ck-ai_review__suggestion-text','top','showBalloon','hideDiffInBalloon','right','set','hover','resultResponseView','205704uaSpAA','contentDiffed','_pinnedTargetChangeId','ck-reset','changeId','bindTemplate','hideBalloon','getBoundingClientRect','hide','click','acceptChange','unpin','forEach','_pinnedTargetElement','ck-content','_setupClickOutsideHandler','getClientRects','div','_createContentView','19KLZcVH','10JFegwt','134198SVqqRV','locale','18VKjYHK','width','fire','clientX','333972blrUsw','show','bottom','_getPointedRectIndexFromEvent','showDiffInBalloon','updateContent','documentElement','27440700xMbsTL','145hXgHKC','clientY','from','extendTemplate','ck-ai_review-balloon-panel-suggestion','_getBestRectPositionOnHover','length','element','arrow_se','dismissChange','161UNGnQR','resultItemView','pin','content','left','setTemplate','position','reverse','balloon','_getBestRectPositionOnClick','ck-ai_review-balloon-panel-suggestion_diff-active','_isPinnedRectVisible','replace','render','2160150zxFqGw','delegate','arrow_','_pinnedRectIndex','deactivateChange'];_0x23b1=function(){return _0x48d97c;};return _0x23b1();}import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x35cd21{[_0xd504d9(0x21e)];[_0xd504d9(0x22e)]=void 0x0;[_0xd504d9(0x1fd)]=void 0x0;[_0xd504d9(0x1f2)]=void 0x0;constructor(_0x1f4658,_0x46b4a5){const _0x16c7b7=_0xd504d9;super(_0x1f4658),this[_0x16c7b7(0x1ed)]({'isVisible':!0x1,'position':_0x16c7b7(0x21b),'class':null,'top':0x0,'left':0x0}),this[_0x16c7b7(0x216)]({'tag':_0x16c7b7(0x201),'attributes':{'class':[_0x16c7b7(0x1f3)],'tabindex':'-1'}}),this[_0x16c7b7(0x1ed)](_0x16c7b7(0x1e5),!0x1),this[_0x16c7b7(0x220)][_0x16c7b7(0x1e1)](this[_0x16c7b7(0x202)]()),_0x46b4a5[_0x16c7b7(0x1e1)](this);}[_0xd504d9(0x22a)](){const _0x17db82=_0xd504d9;super[_0x17db82(0x22a)](),this[_0x17db82(0x1ff)]();}[_0xd504d9(0x210)](_0x4e6f99){const _0x59581d=_0xd504d9;this[_0x59581d(0x21e)][_0x59581d(0x1f4)]=_0x4e6f99['id'],this[_0x59581d(0x21e)][_0x59581d(0x1ef)][_0x59581d(0x21a)][_0x59581d(0x1e2)]=_0x4e6f99[_0x59581d(0x1f1)];}[_0xd504d9(0x1ea)](_0x10f66b,_0xa89cbc,_0x30fc55,_0x45c4f5,_0x6b1398,_0x1ce102){const _0x20c696=_0xd504d9,_0x537dd2=_0xa89cbc();if(!_0x537dd2)return;this[_0x20c696(0x210)](_0x10f66b),this[_0x20c696(0x20c)]();const _0x3c3f68=Array[_0x20c696(0x215)](_0x537dd2[_0x20c696(0x200)]())[_0x20c696(0x224)](),_0x5645aa=this[_0x20c696(0x20e)](_0x30fc55,_0x3c3f68),_0x261c15=_0x3c3f68[_0x5645aa??0x0];_0x20c696(0x1f9)===_0x45c4f5?(this[_0x20c696(0x1e5)]=!0x0,this[_0x20c696(0x21f)]({'target':()=>this[_0x20c696(0x226)](_0xa89cbc(),_0x5645aa,_0x10f66b['id'],_0x6b1398,_0x1ce102)||_0x261c15})):_0x20c696(0x1ee)===_0x45c4f5&&(this[_0x20c696(0x1e5)]=!0x1,this[_0x20c696(0x21f)]({'target':()=>this[_0x20c696(0x218)](_0xa89cbc(),_0x5645aa,_0x10f66b['id'])||_0x261c15}));}[_0xd504d9(0x1f6)](){const _0xbb6887=_0xd504d9;this[_0xbb6887(0x1f8)](),this[_0xbb6887(0x1fb)](),this[_0xbb6887(0x22e)]=void 0x0,this[_0xbb6887(0x1fd)]=void 0x0,this[_0xbb6887(0x1f2)]=void 0x0;}[_0xd504d9(0x1eb)](){const _0x12d6e7=_0xd504d9;this[_0x12d6e7(0x21e)][_0x12d6e7(0x1e0)]=!0x1;}[_0xd504d9(0x20f)](){const _0x3bd1ce=_0xd504d9;this[_0x3bd1ce(0x21e)][_0x3bd1ce(0x1e0)]=!0x0;}[_0xd504d9(0x1de)](){const _0x43390f=_0xd504d9;this[_0x43390f(0x209)](_0x43390f(0x1de),{'origin':_0x43390f(0x225)});}[_0xd504d9(0x1ff)](){const _0x340cc8=_0xd504d9;_0x5accc2({'emitter':this,'activator':()=>this[_0x340cc8(0x1df)],'contextElements':()=>{const _0x2a2612=_0x340cc8,_0x56ab39=[this[_0x2a2612(0x21a)]];return this[_0x2a2612(0x1fd)]&&_0x56ab39[_0x2a2612(0x1e6)](this[_0x2a2612(0x1fd)]),_0x56ab39;},'callback':()=>{const _0x53a735=_0x340cc8;this[_0x53a735(0x1f8)](),this[_0x53a735(0x1fb)](),this[_0x53a735(0x1de)](),this[_0x53a735(0x1fd)]=void 0x0,this[_0x53a735(0x22e)]=void 0x0,this[_0x53a735(0x1f2)]=void 0x0;}});}[_0xd504d9(0x202)](){const _0x3fb249=_0xd504d9,_0x301ba7=new _0x4d0cb5();return this[_0x3fb249(0x21e)]=new _0x4c92ce(this[_0x3fb249(0x206)],''),this[_0x3fb249(0x21e)][_0x3fb249(0x1ef)][_0x3fb249(0x216)]({'attributes':{'class':[_0x3fb249(0x1fe)]}}),this[_0x3fb249(0x21e)][_0x3fb249(0x22c)](_0x3fb249(0x1fa),_0x3fb249(0x21c))['to'](this),_0x301ba7[_0x3fb249(0x222)]({'tag':_0x3fb249(0x201),'attributes':{'class':[_0x3fb249(0x1f3),_0x3fb249(0x217),this[_0x3fb249(0x1f5)]['if'](_0x3fb249(0x1e5),_0x3fb249(0x227))]},'children':[{'tag':'p','attributes':{'class':[_0x3fb249(0x1e8)]},'children':[this[_0x3fb249(0x21e)]]}]}),_0x301ba7;}[_0xd504d9(0x226)](_0x2e22cb,_0x500036,_0x2b004c,_0x51159c,_0x241f16){const _0x52724a=_0xd504d9;if(!_0x2e22cb)return null;const _0x1f1622=this[_0x52724a(0x223)][_0x52724a(0x229)](_0x52724a(0x22d),''),_0x1033e4=Array[_0x52724a(0x215)](_0x2e22cb[_0x52724a(0x200)]());let _0x38421a,_0x1e9a3e=_0x1033e4[_0x52724a(0x224)]();return void 0x0!==_0x500036&&this[_0x52724a(0x228)](_0x1e9a3e[_0x500036],_0x51159c,_0x241f16)?(_0x38421a=_0x1e9a3e[_0x500036],this[_0x52724a(0x22e)]=_0x500036):this[_0x52724a(0x228)](_0x1e9a3e[0x0],_0x51159c,_0x241f16)&&void 0x0===_0x500036?_0x38421a=_0x1e9a3e[0x0]:(_0x1e9a3e='s'==_0x1f1622[0x0]?[..._0x1033e4][_0x52724a(0x224)]():_0x1033e4,_0x1e9a3e[_0x52724a(0x1fc)](_0x5a78b2=>{const _0x2a1bf3=_0x52724a;this[_0x2a1bf3(0x228)](_0x5a78b2,_0x51159c,_0x241f16)&&(_0x38421a=_0x5a78b2);})),this[_0x52724a(0x1f2)]=_0x2b004c,this[_0x52724a(0x1fd)]=_0x2e22cb,_0x38421a||_0x2e22cb[_0x52724a(0x1f7)]();}[_0xd504d9(0x218)](_0x58f3e1,_0x34579b,_0x2daf26){const _0x998ce6=_0xd504d9;if(!_0x58f3e1)return null;const _0x53983a=Array[_0x998ce6(0x215)](_0x58f3e1[_0x998ce6(0x200)]())[_0x998ce6(0x224)]();if(void 0x0===this[_0x998ce6(0x22e)]&&void 0x0!==_0x34579b&&this[_0x998ce6(0x1f2)]!==_0x2daf26)return this[_0x998ce6(0x22e)]=_0x34579b,this[_0x998ce6(0x1fd)]=_0x58f3e1,this[_0x998ce6(0x1f2)]=_0x2daf26,_0x53983a[_0x34579b];if(void 0x0!==this[_0x998ce6(0x22e)]&&this[_0x998ce6(0x1f2)]===_0x2daf26){if(_0x58f3e1!==this[_0x998ce6(0x1fd)])return Array[_0x998ce6(0x215)](this[_0x998ce6(0x1fd)][_0x998ce6(0x200)]())[_0x998ce6(0x224)]()[this[_0x998ce6(0x22e)]];return _0x53983a[this[_0x998ce6(0x22e)]];}return void 0x0!==_0x34579b&&this[_0x998ce6(0x1f2)]!==_0x2daf26?(this[_0x998ce6(0x22e)]=_0x34579b,this[_0x998ce6(0x1fd)]=_0x58f3e1,this[_0x998ce6(0x1f2)]=_0x2daf26,_0x53983a[_0x34579b]):_0x58f3e1[_0x998ce6(0x1f7)]();}[_0xd504d9(0x20e)](_0x228ede,_0x20a95a){const _0x376171=_0xd504d9;if(_0x228ede)for(let _0x465a99=0x0;_0x465a99<_0x20a95a[_0x376171(0x219)];_0x465a99++){const _0x2d0630=_0x20a95a[_0x465a99];if(_0x228ede[_0x376171(0x20a)]>=_0x2d0630[_0x376171(0x221)]-0x3&&_0x228ede[_0x376171(0x20a)]<=_0x2d0630[_0x376171(0x1ec)]+0x3&&_0x228ede[_0x376171(0x214)]>=_0x2d0630[_0x376171(0x1e9)]-0x3&&_0x228ede[_0x376171(0x214)]<=_0x2d0630[_0x376171(0x20d)]+0x3)return _0x465a99;}}[_0xd504d9(0x228)](_0xa0359d,_0x101782,_0x2fd483){const _0x1fc52b=_0xd504d9,_0x44fac4=new _0x56e600(_0xa0359d),_0x849325=_0x101782||document[_0x1fc52b(0x211)],_0x269791=_0x44fac4[_0x1fc52b(0x1e7)](_0x189290(_0x2fd483)),_0x278219=new _0x56e600(_0x849325)[_0x1fc52b(0x1e7)](_0x44fac4);return!!(_0x269791&&_0x278219&&_0x44fac4[_0x1fc52b(0x208)]>0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a2151=_0x17c7;(function(_0x16c37f,_0x3a90a7){const _0x3ab1fe=_0x17c7,_0x5b7652=_0x16c37f();while(!![]){try{const _0x3c5cc6=-parseInt(_0x3ab1fe(0x173))/0x1*(-parseInt(_0x3ab1fe(0x170))/0x2)+-parseInt(_0x3ab1fe(0x12f))/0x3*(-parseInt(_0x3ab1fe(0x15a))/0x4)+parseInt(_0x3ab1fe(0x166))/0x5*(-parseInt(_0x3ab1fe(0x14b))/0x6)+-parseInt(_0x3ab1fe(0x135))/0x7+-parseInt(_0x3ab1fe(0x136))/0x8*(parseInt(_0x3ab1fe(0x12c))/0x9)+parseInt(_0x3ab1fe(0x12a))/0xa*(-parseInt(_0x3ab1fe(0x145))/0xb)+parseInt(_0x3ab1fe(0x16e))/0xc;if(_0x3c5cc6===_0x3a90a7)break;else _0x5b7652['push'](_0x5b7652['shift']());}catch(_0x28c236){_0x5b7652['push'](_0x5b7652['shift']());}}}(_0x716a,0x4b5f1));function _0x716a(){const _0xcf7780=['acceptChange','click','8516HqYJVt','stopPropagation','resultResponseView','isEnabled','accepted','outdatedButtonView','ck-ai_review__check-run-result-footer','acceptButtonView','ck-ai_review__check-run-result-response','bind','_createInfoButtonView','locale','7860RfCTFp','panel','deactivateChange','_createOutdatedButtonView','set','change:status','menuitemcheckbox','ck-ai-button-tertiary-filled','11272380Qjrfld','label','38PgdBnj','showDiff','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','30657CCkKHK','AI_REVIEW_MODE_DISMISS_CHANGE','isActive','dismissButtonView','hover','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','ck-ai_review__check-run-result-dismiss-button','preventDefault','icon','800180SaxBTL','isInfoToggleOn','5154462uZhySN','_createDismissButtonView','dismissChange','429RkXIuN','div','target','ck-ai_review__check-run-result','rejected','ck-ai_review__check-run-result_active','3303944nNSMiG','8Bmvpdn','setTemplate','bindTemplate','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','ck-ai_review__check-run-result-accept-button','AI_REVIEW_MODE_ACCEPT_CHANGE','_createAcceptButtonView','ck-hidden','fire','mouseout','ck-reset_all-excluded','ck-ai_review__check-run-result-action-buttons','_createResultResponseView','setItemAsActive','changeId','22grlVTW','mouseover','pending','ck-ai_review__check-run-result-status-button','setItemAsInactive','ck-ai-button-secondary','1194LdBcdk','activateChange','execute','isOn','ck-content','infoButtonView','status','ck-ai-button-tertiary-filled\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','disabled','tagName','AI_REVIEW_MODE_LEARN_MORE','outdated','extendTemplate'];_0x716a=function(){return _0xcf7780;};return _0x716a();}import{View as _0x525380,ButtonView as _0x18957d}from'ckeditor5/src/ui.js';function _0x17c7(_0x48e66c,_0x4fd951){const _0x716a34=_0x716a();return _0x17c7=function(_0x17c7d5,_0x49228b){_0x17c7d5=_0x17c7d5-0x126;let _0x21e0d3=_0x716a34[_0x17c7d5];return _0x21e0d3;},_0x17c7(_0x48e66c,_0x4fd951);}import{IconInfo as _0x3d36c1,IconCheck as _0x56315,IconCancel as _0x4aae64,IconOutdated as _0x284a91}from'ckeditor5/src/icons.js';import{getTranslation as _0x5d82b2}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x525380{[_0x1a2151(0x15c)];[_0x1a2151(0x161)];[_0x1a2151(0x176)];[_0x1a2151(0x150)];[_0x1a2151(0x15f)];constructor(_0x4b8d55,_0x4bb766){const _0x5f36ff=_0x1a2151;super(_0x4b8d55),this['id']=_0x4bb766,this[_0x5f36ff(0x16a)](_0x5f36ff(0x151),_0x5f36ff(0x147)),this[_0x5f36ff(0x16a)](_0x5f36ff(0x144),_0x4bb766),this[_0x5f36ff(0x15c)]=this[_0x5f36ff(0x142)](),this[_0x5f36ff(0x161)]=this[_0x5f36ff(0x13c)](),this[_0x5f36ff(0x176)]=this[_0x5f36ff(0x12d)](),this[_0x5f36ff(0x150)]=this[_0x5f36ff(0x164)](),this[_0x5f36ff(0x15f)]=this[_0x5f36ff(0x169)](),this[_0x5f36ff(0x16a)](_0x5f36ff(0x12b),!0x1),this[_0x5f36ff(0x16a)](_0x5f36ff(0x175),!0x1),this[_0x5f36ff(0x16a)](_0x5f36ff(0x171),!0x0),this[_0x5f36ff(0x137)]({'tag':_0x5f36ff(0x130),'attributes':{'class':[_0x5f36ff(0x132),this[_0x5f36ff(0x138)]['if'](_0x5f36ff(0x175),_0x5f36ff(0x134))]},'on':{'click':this[_0x5f36ff(0x138)]['to'](_0x5f36ff(0x159)),'mouseover':this[_0x5f36ff(0x138)]['to'](_0x5f36ff(0x146)),'mouseout':this[_0x5f36ff(0x138)]['to'](_0x5f36ff(0x13f))},'children':[this[_0x5f36ff(0x15c)],{'tag':_0x5f36ff(0x130),'attributes':{'class':[_0x5f36ff(0x160)]},'children':[{'tag':_0x5f36ff(0x130),'attributes':{'class':[_0x5f36ff(0x141)]},'children':[this[_0x5f36ff(0x161)],this[_0x5f36ff(0x176)],this[_0x5f36ff(0x15f)]]},this[_0x5f36ff(0x150)]]}]}),this['on'](_0x5f36ff(0x159),(_0x1e57f6,_0x1ca55b)=>{const _0x1844f4=_0x5f36ff;_0x1ca55b&&_0x1ca55b[_0x1844f4(0x131)]&&'A'===_0x1ca55b[_0x1844f4(0x131)][_0x1844f4(0x154)]&&_0x1ca55b[_0x1844f4(0x128)](),this[_0x1844f4(0x13e)](_0x1844f4(0x14c),{'id':_0x4bb766,'source':this,'uiInteraction':_0x1844f4(0x159)});}),this['on'](_0x5f36ff(0x146),()=>{const _0x1793ae=_0x5f36ff;this[_0x1793ae(0x13e)](_0x1793ae(0x14c),{'id':_0x4bb766,'source':this,'uiInteraction':_0x1793ae(0x177)});}),this['on'](_0x5f36ff(0x13f),()=>{const _0x3cda56=_0x5f36ff;this[_0x3cda56(0x13e)](_0x3cda56(0x168),{'origin':_0x3cda56(0x167),'id':_0x4bb766,'source':this});});}[_0x1a2151(0x143)](){const _0x5e2538=_0x1a2151;this[_0x5e2538(0x175)]=!0x0;}[_0x1a2151(0x149)](){const _0x2fb16c=_0x1a2151;this[_0x2fb16c(0x175)]=!0x1;}[_0x1a2151(0x142)](){const _0x4fca1e=_0x1a2151,_0x19b11f=new _0x525380(this[_0x4fca1e(0x165)]);return _0x19b11f[_0x4fca1e(0x137)]({'tag':_0x4fca1e(0x130),'attributes':{'class':['ck',_0x4fca1e(0x14f),_0x4fca1e(0x140),_0x4fca1e(0x162),this[_0x4fca1e(0x138)]['if'](_0x4fca1e(0x171),_0x4fca1e(0x13d),_0x59f5d0=>!_0x59f5d0)]}}),_0x19b11f;}[_0x1a2151(0x13c)](){const _0x2bb784=_0x1a2151,_0x211b01=new _0x18957d(this[_0x2bb784(0x165)]);return _0x211b01[_0x2bb784(0x16a)]({'label':_0x5d82b2(this[_0x2bb784(0x165)],_0x2bb784(0x13b)),'withText':!0x0}),_0x211b01[_0x2bb784(0x157)]({'on':{'click':this[_0x2bb784(0x138)]['to'](_0x112c06=>{const _0xb9e6c9=_0x2bb784;this[_0xb9e6c9(0x13e)](_0xb9e6c9(0x158),{'id':this[_0xb9e6c9(0x144)]}),_0x112c06[_0xb9e6c9(0x15b)]();})},'attributes':{'class':[_0x2bb784(0x14a),_0x2bb784(0x13a),this[_0x2bb784(0x138)]['if'](_0x2bb784(0x151),_0x2bb784(0x13d),_0x473bb9=>_0x2bb784(0x147)!==_0x473bb9&&_0x2bb784(0x15e)!==_0x473bb9),this[_0x2bb784(0x138)]['if'](_0x2bb784(0x151),_0x2bb784(0x13a),_0x6cfa23=>_0x2bb784(0x147)===_0x6cfa23),this[_0x2bb784(0x138)]['if'](_0x2bb784(0x151),_0x2bb784(0x148),_0x51daa0=>_0x2bb784(0x15e)===_0x51daa0)]}}),this['on'](_0x2bb784(0x16b),(_0x112fba,_0x557f5b,_0x58daeb)=>{const _0x164c45=_0x2bb784;_0x211b01[_0x164c45(0x15d)]=_0x164c45(0x147)===_0x58daeb,_0x164c45(0x15e)===_0x58daeb&&(_0x211b01[_0x164c45(0x16f)]=_0x5d82b2(this[_0x164c45(0x165)],_0x164c45(0x139)),_0x211b01[_0x164c45(0x129)]=_0x56315);}),_0x211b01;}[_0x1a2151(0x12d)](){const _0x57090c=_0x1a2151,_0xd919af=new _0x18957d(this[_0x57090c(0x165)]);return _0xd919af[_0x57090c(0x16a)]({'label':_0x5d82b2(this[_0x57090c(0x165)],_0x57090c(0x174)),'withText':!0x0}),_0xd919af[_0x57090c(0x157)]({'on':{'click':this[_0x57090c(0x138)]['to'](_0x3b424a=>{const _0xf084b2=_0x57090c;this[_0xf084b2(0x13e)](_0xf084b2(0x12e),{'id':this[_0xf084b2(0x144)]}),_0x3b424a[_0xf084b2(0x15b)]();})},'attributes':{'class':[_0x57090c(0x16d),this[_0x57090c(0x138)]['if'](_0x57090c(0x151),_0x57090c(0x13d),_0x3434e6=>_0x57090c(0x147)!==_0x3434e6&&_0x57090c(0x133)!==_0x3434e6),this[_0x57090c(0x138)]['if'](_0x57090c(0x151),_0x57090c(0x127),_0x333a41=>_0x57090c(0x147)===_0x333a41),this[_0x57090c(0x138)]['if'](_0x57090c(0x151),_0x57090c(0x148),_0x338a17=>_0x57090c(0x133)===_0x338a17)]}}),this['on'](_0x57090c(0x16b),(_0x34a943,_0x192ed1,_0x3c9922)=>{const _0x5af4ef=_0x57090c;_0xd919af[_0x5af4ef(0x15d)]=_0x5af4ef(0x147)===_0x3c9922,_0x5af4ef(0x133)===_0x3c9922&&(_0xd919af[_0x5af4ef(0x16f)]=_0x5d82b2(this[_0x5af4ef(0x165)],_0x5af4ef(0x172)),_0xd919af[_0x5af4ef(0x129)]=_0x4aae64);}),_0xd919af;}[_0x1a2151(0x164)](){const _0x487a3b=_0x1a2151,_0x2ded0b=new _0x18957d(this[_0x487a3b(0x165)]);return _0x2ded0b[_0x487a3b(0x16a)]({'label':_0x5d82b2(this[_0x487a3b(0x165)],_0x487a3b(0x155)),'icon':_0x3d36c1,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x487a3b(0x16c),'class':_0x487a3b(0x152)}),_0x2ded0b[_0x487a3b(0x163)](_0x487a3b(0x14e))['to'](this,_0x487a3b(0x12b),_0x4193dc=>_0x4193dc),_0x2ded0b['on'](_0x487a3b(0x14d),()=>{const _0x3fd2c8=_0x487a3b;this[_0x3fd2c8(0x12b)]=!this[_0x3fd2c8(0x12b)];}),_0x2ded0b;}[_0x1a2151(0x169)](){const _0x5b9b4e=_0x1a2151,_0x319287=new _0x18957d(this[_0x5b9b4e(0x165)]);return _0x319287[_0x5b9b4e(0x16a)]({'label':_0x5d82b2(this[_0x5b9b4e(0x165)],_0x5b9b4e(0x126)),'icon':_0x284a91,'withText':!0x0,'isEnabled':!0x1}),_0x319287[_0x5b9b4e(0x157)]({'attributes':{'class':[_0x5b9b4e(0x14a),_0x5b9b4e(0x148),this[_0x5b9b4e(0x138)]['if'](_0x5b9b4e(0x151),_0x5b9b4e(0x13d),_0x172c54=>_0x5b9b4e(0x156)!==_0x172c54)],'disabled':_0x5b9b4e(0x153)}}),_0x319287;}}
23
+ const _0x3d3a69=_0x3219;function _0x3219(_0x40baa5,_0x503ae7){const _0x20ea43=_0x20ea();return _0x3219=function(_0x321919,_0x1c00f7){_0x321919=_0x321919-0x12a;let _0x2669b2=_0x20ea43[_0x321919];return _0x2669b2;},_0x3219(_0x40baa5,_0x503ae7);}(function(_0x4a72b9,_0x224c02){const _0x189c37=_0x3219,_0x2a4ee2=_0x4a72b9();while(!![]){try{const _0x33b45d=parseInt(_0x189c37(0x137))/0x1*(-parseInt(_0x189c37(0x12d))/0x2)+parseInt(_0x189c37(0x151))/0x3+parseInt(_0x189c37(0x13a))/0x4*(parseInt(_0x189c37(0x159))/0x5)+-parseInt(_0x189c37(0x160))/0x6+parseInt(_0x189c37(0x15f))/0x7*(-parseInt(_0x189c37(0x179))/0x8)+-parseInt(_0x189c37(0x158))/0x9+-parseInt(_0x189c37(0x167))/0xa*(-parseInt(_0x189c37(0x148))/0xb);if(_0x33b45d===_0x224c02)break;else _0x2a4ee2['push'](_0x2a4ee2['shift']());}catch(_0x1c8d4a){_0x2a4ee2['push'](_0x2a4ee2['shift']());}}}(_0x20ea,0x6a6fd));import{View as _0x33c599,ButtonView as _0x27c847}from'ckeditor5/src/ui.js';function _0x20ea(){const _0x4f5e69=['ck-hidden','ck-ai_review__check-run-result-dismiss-button','disabled','rejected','ck-content','ck-reset_all-excluded','8IIGFyF','fire','ck-ai_review__check-run-result-response','setTemplate','outdatedButtonView','59998SMKSfb','target','bindTemplate','div','panel','ck-ai_review__check-run-result-accept-button','mouseover','_createAcceptButtonView','dismissButtonView','accepted','21knOKpa','_createDismissButtonView','_createInfoButtonView','4xunyIZ','ck-ai_review__check-run-result-status-button','AI_REVIEW_MODE_LEARN_MORE','AI_REVIEW_MODE_DISMISS_CHANGE','acceptButtonView','ck-ai_review__check-run-result-footer','stopPropagation','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','extendTemplate','preventDefault','pending','ck-ai-button-secondary','outdated','_createResultResponseView','6763691QGWQIy','isEnabled','activateChange','AI_REVIEW_MODE_ACCEPT_CHANGE','infoButtonView','mouseout','deactivateChange','label','locale','1512603NEUiUU','menuitemcheckbox','ck-ai_review__check-run-result_active','ck-ai-button-tertiary','setItemAsActive','changeId','showDiff','7759206WckRZc','1523315xgAFfs','_createOutdatedButtonView','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','click','ck-ai_review__check-run-result','bind','4320274PxVBOT','4338768rGsqfn','execute','ck-ai_review__check-run-result-action-buttons','status','isOn','icon','setItemAsInactive','40TkeOCS','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','isInfoToggleOn','tagName','change:status','dismissChange','set','acceptChange','isActive','resultResponseView','hover'];_0x20ea=function(){return _0x4f5e69;};return _0x20ea();}import{IconInfo as _0x42c9d0,IconCheck as _0x39086a,IconCancel as _0x44beef,IconOutdated as _0x464f91}from'ckeditor5/src/icons.js';import{getTranslation as _0x3cb4fc}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x33c599{[_0x3d3a69(0x171)];[_0x3d3a69(0x13e)];[_0x3d3a69(0x135)];[_0x3d3a69(0x14c)];[_0x3d3a69(0x12c)];constructor(_0x3a03a8,_0x22c1a8){const _0x29e56e=_0x3d3a69;super(_0x3a03a8),this['id']=_0x22c1a8,this[_0x29e56e(0x16e)](_0x29e56e(0x163),_0x29e56e(0x144)),this[_0x29e56e(0x16e)](_0x29e56e(0x156),_0x22c1a8),this[_0x29e56e(0x171)]=this[_0x29e56e(0x147)](),this[_0x29e56e(0x13e)]=this[_0x29e56e(0x134)](),this[_0x29e56e(0x135)]=this[_0x29e56e(0x138)](),this[_0x29e56e(0x14c)]=this[_0x29e56e(0x139)](),this[_0x29e56e(0x12c)]=this[_0x29e56e(0x15a)](),this[_0x29e56e(0x16e)](_0x29e56e(0x16a),!0x1),this[_0x29e56e(0x16e)](_0x29e56e(0x170),!0x1),this[_0x29e56e(0x16e)](_0x29e56e(0x157),!0x0),this[_0x29e56e(0x12b)]({'tag':_0x29e56e(0x130),'attributes':{'class':[_0x29e56e(0x15d),this[_0x29e56e(0x12f)]['if'](_0x29e56e(0x170),_0x29e56e(0x153))]},'on':{'click':this[_0x29e56e(0x12f)]['to'](_0x29e56e(0x15c)),'mouseover':this[_0x29e56e(0x12f)]['to'](_0x29e56e(0x133)),'mouseout':this[_0x29e56e(0x12f)]['to'](_0x29e56e(0x14d))},'children':[this[_0x29e56e(0x171)],{'tag':_0x29e56e(0x130),'attributes':{'class':[_0x29e56e(0x13f)]},'children':[{'tag':_0x29e56e(0x130),'attributes':{'class':[_0x29e56e(0x162)]},'children':[this[_0x29e56e(0x13e)],this[_0x29e56e(0x135)],this[_0x29e56e(0x12c)]]},this[_0x29e56e(0x14c)]]}]}),this['on'](_0x29e56e(0x15c),(_0x5b50de,_0x31a536)=>{const _0x53c6db=_0x29e56e;_0x31a536&&_0x31a536[_0x53c6db(0x12e)]&&'A'===_0x31a536[_0x53c6db(0x12e)][_0x53c6db(0x16b)]&&_0x31a536[_0x53c6db(0x143)](),this[_0x53c6db(0x17a)](_0x53c6db(0x14a),{'id':_0x22c1a8,'source':this,'uiInteraction':_0x53c6db(0x15c)});}),this['on'](_0x29e56e(0x133),()=>{const _0x4da784=_0x29e56e;this[_0x4da784(0x17a)](_0x4da784(0x14a),{'id':_0x22c1a8,'source':this,'uiInteraction':_0x4da784(0x172)});}),this['on'](_0x29e56e(0x14d),()=>{const _0x1720ad=_0x29e56e;this[_0x1720ad(0x17a)](_0x1720ad(0x14e),{'origin':_0x1720ad(0x131),'id':_0x22c1a8,'source':this});});}[_0x3d3a69(0x155)](){const _0x2382c1=_0x3d3a69;this[_0x2382c1(0x170)]=!0x0;}[_0x3d3a69(0x166)](){const _0xea2e58=_0x3d3a69;this[_0xea2e58(0x170)]=!0x1;}[_0x3d3a69(0x147)](){const _0x59d0ba=_0x3d3a69,_0x129399=new _0x33c599(this[_0x59d0ba(0x150)]);return _0x129399[_0x59d0ba(0x12b)]({'tag':_0x59d0ba(0x130),'attributes':{'class':['ck',_0x59d0ba(0x177),_0x59d0ba(0x178),_0x59d0ba(0x12a),this[_0x59d0ba(0x12f)]['if'](_0x59d0ba(0x157),_0x59d0ba(0x173),_0x1c6682=>!_0x1c6682)]}}),_0x129399;}[_0x3d3a69(0x134)](){const _0x285eb4=_0x3d3a69,_0x113690=new _0x27c847(this[_0x285eb4(0x150)]);return _0x113690[_0x285eb4(0x16e)]({'label':_0x3cb4fc(this[_0x285eb4(0x150)],_0x285eb4(0x14b)),'withText':!0x0}),_0x113690[_0x285eb4(0x142)]({'on':{'click':this[_0x285eb4(0x12f)]['to'](_0x18bed5=>{const _0x12d773=_0x285eb4;this[_0x12d773(0x17a)](_0x12d773(0x16f),{'id':this[_0x12d773(0x156)]}),_0x18bed5[_0x12d773(0x140)]();})},'attributes':{'class':[_0x285eb4(0x145),_0x285eb4(0x132),this[_0x285eb4(0x12f)]['if'](_0x285eb4(0x163),_0x285eb4(0x173),_0x558d11=>_0x285eb4(0x144)!==_0x558d11&&_0x285eb4(0x136)!==_0x558d11),this[_0x285eb4(0x12f)]['if'](_0x285eb4(0x163),_0x285eb4(0x132),_0x354902=>_0x285eb4(0x144)===_0x354902),this[_0x285eb4(0x12f)]['if'](_0x285eb4(0x163),_0x285eb4(0x13b),_0x51a3e9=>_0x285eb4(0x136)===_0x51a3e9)]}}),this['on'](_0x285eb4(0x16c),(_0x13ca2b,_0x5ae8e7,_0x4cdaed)=>{const _0x4441ca=_0x285eb4;_0x113690[_0x4441ca(0x149)]=_0x4441ca(0x144)===_0x4cdaed,_0x4441ca(0x136)===_0x4cdaed&&(_0x113690[_0x4441ca(0x14f)]=_0x3cb4fc(this[_0x4441ca(0x150)],_0x4441ca(0x15b)),_0x113690[_0x4441ca(0x165)]=_0x39086a);}),_0x113690;}[_0x3d3a69(0x138)](){const _0x1250cd=_0x3d3a69,_0x14d036=new _0x27c847(this[_0x1250cd(0x150)]);return _0x14d036[_0x1250cd(0x16e)]({'label':_0x3cb4fc(this[_0x1250cd(0x150)],_0x1250cd(0x13d)),'withText':!0x0}),_0x14d036[_0x1250cd(0x142)]({'on':{'click':this[_0x1250cd(0x12f)]['to'](_0x2b29ab=>{const _0x2d8a3a=_0x1250cd;this[_0x2d8a3a(0x17a)](_0x2d8a3a(0x16d),{'id':this[_0x2d8a3a(0x156)]}),_0x2b29ab[_0x2d8a3a(0x140)]();})},'attributes':{'class':[_0x1250cd(0x154),this[_0x1250cd(0x12f)]['if'](_0x1250cd(0x163),_0x1250cd(0x173),_0x1adb39=>_0x1250cd(0x144)!==_0x1adb39&&_0x1250cd(0x176)!==_0x1adb39),this[_0x1250cd(0x12f)]['if'](_0x1250cd(0x163),_0x1250cd(0x174),_0x28e2c3=>_0x1250cd(0x144)===_0x28e2c3),this[_0x1250cd(0x12f)]['if'](_0x1250cd(0x163),_0x1250cd(0x13b),_0x451d40=>_0x1250cd(0x176)===_0x451d40)]}}),this['on'](_0x1250cd(0x16c),(_0xbe3922,_0x5b9325,_0x3bb244)=>{const _0x5d5c58=_0x1250cd;_0x14d036[_0x5d5c58(0x149)]=_0x5d5c58(0x144)===_0x3bb244,_0x5d5c58(0x176)===_0x3bb244&&(_0x14d036[_0x5d5c58(0x14f)]=_0x3cb4fc(this[_0x5d5c58(0x150)],_0x5d5c58(0x168)),_0x14d036[_0x5d5c58(0x165)]=_0x44beef);}),_0x14d036;}[_0x3d3a69(0x139)](){const _0x30fa9c=_0x3d3a69,_0x4e081d=new _0x27c847(this[_0x30fa9c(0x150)]);return _0x4e081d[_0x30fa9c(0x16e)]({'label':_0x3cb4fc(this[_0x30fa9c(0x150)],_0x30fa9c(0x13c)),'icon':_0x42c9d0,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x30fa9c(0x152),'class':_0x30fa9c(0x169)}),_0x4e081d[_0x30fa9c(0x15e)](_0x30fa9c(0x164))['to'](this,_0x30fa9c(0x16a),_0x54810f=>_0x54810f),_0x4e081d['on'](_0x30fa9c(0x161),()=>{const _0x2de823=_0x30fa9c;this[_0x2de823(0x16a)]=!this[_0x2de823(0x16a)];}),_0x4e081d;}[_0x3d3a69(0x15a)](){const _0x8f0810=_0x3d3a69,_0x31925a=new _0x27c847(this[_0x8f0810(0x150)]);return _0x31925a[_0x8f0810(0x16e)]({'label':_0x3cb4fc(this[_0x8f0810(0x150)],_0x8f0810(0x141)),'icon':_0x464f91,'withText':!0x0,'isEnabled':!0x1}),_0x31925a[_0x8f0810(0x142)]({'attributes':{'class':[_0x8f0810(0x145),_0x8f0810(0x13b),this[_0x8f0810(0x12f)]['if'](_0x8f0810(0x163),_0x8f0810(0x173),_0x509e25=>_0x8f0810(0x146)!==_0x509e25)],'disabled':_0x8f0810(0x175)}}),_0x31925a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x5d911c,KeystrokeHandler as _0x5d073d,FocusTracker as _0x123e30}from'ckeditor5/src/utils.js';import{View as _0x506d32,ViewCollection as _0x1f7949,ButtonView as _0x1e0b49,FormRowView as _0x505ff0,createDropdown as _0xd3d519,addListToDropdown as _0x18e2b8,UIModel as _0x51b335,ButtonLabelView as _0x3ec159,LabeledFieldView as _0x334506,FocusCycler as _0x4cc2c1}from'ckeditor5/src/ui.js';import{getTranslation as _0x19a376}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x5e98a2}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x506d32{['focusTracker']=new _0x123e30();['keystrokes']=new _0x5d073d();['focusCycler'];['_focusables']=new _0x1f7949();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x103b09,_0x155e2c,_0x1bc528=!0x1){super(_0x103b09),this['_check']=_0x155e2c,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x155e2c['defaultModel']?_0x155e2c['defaultModel']['id']:'',this['_defaultLabel']=_0x155e2c['defaultModel']?_0x155e2c['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x334506(this['locale'],()=>new _0x5e98a2(_0x103b09)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x5d911c(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x1bc528),_0x18e2b8(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x505ff0(this['locale'],{'children':[this['promptInputView']]}),new _0x505ff0(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x3ee326,_0x3e1c5e)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x3e1c5e()):_0x3e1c5e();}),this['focusCycler']=new _0x4cc2c1({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x19de2b=>{this['_focusables']['add'](_0x19de2b),this['focusTracker']['add'](_0x19de2b['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x1083a4 of this['_getFormValidators']()){const _0x383152=_0x1083a4();if(_0x383152)return this['promptInputView']['errorText']=_0x383152,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x19a376(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x141b85=new _0x1e0b49(this['locale']),t=this['locale']['t'];return _0x141b85['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x141b85['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x141b85;}['_createCancelButtonView'](){const _0x4d3db8=new _0x1e0b49(this['locale']),t=this['locale']['t'];return _0x4d3db8['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x4d3db8['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4ba59e=>{_0x4ba59e['stopPropagation']();})}}),_0x4d3db8['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x4d3db8;}['_setModelList'](_0xfd4ab8){this['_modelSelectionDropdownItems']['clear']();const _0x34aa31=this['_check']['models'];if(_0xfd4ab8)this['set']('modelDisplayMode','hidden');else{const _0x503b6a=0x1===_0x34aa31['length'];this['set']('modelDisplayMode',_0x503b6a?'name':'selector');}if(this['resetToDefault'](),_0x34aa31?.['length']){0x1===_0x34aa31['length']&&this['set']('activeModelName',_0x34aa31[0x0]['name']||_0x34aa31[0x0]['id']);for(const _0x309c29 of _0x34aa31){const _0x54e9fe=new _0x51b335({'label':_0x309c29['name'],'withText':!0x0,'role':'menuitemradio','id':_0x309c29['id'],'model':_0x309c29});_0x54e9fe['bind']('isOn')['to'](this,'modelId',_0x2c94bc=>_0x2c94bc===_0x309c29['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x54e9fe,'labelView':new _o(this['locale'],_0x309c29)});}}}['_createModelSelectionDropdown'](){const _0x19771d=_0xd3d519(this['locale']);return _0x19771d['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x19771d['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x19771d['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x1e1d1d=>'selector'===_0x1e1d1d),this['listenTo'](_0x19771d,'execute',_0x2f3468=>{this['modelId']=_0x2f3468['source']['model']['id'],_0x19771d['buttonView']['label']=_0x2f3468['source']['label'];}),_0x19771d;}['_createModelNameView'](){const _0x2d0364=new po(this['locale']);return _0x2d0364['bind']('text')['to'](this,'activeModelName',_0x5390c7=>_0x5390c7??''),_0x2d0364['bind']('isVisible')['to'](this,'modelDisplayMode',_0x262d51=>'name'===_0x262d51),_0x2d0364;}['_createActionsFooterView'](){const _0x42e0cb=new _0x506d32(this['locale']);return _0x42e0cb['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x42e0cb;}}class po extends _0x506d32{constructor(_0x381d70){super(_0x381d70),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x482c1b=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x482c1b['if']('isVisible','ck-hidden',_0x329215=>!_0x329215)]},'children':[{'text':_0x482c1b['to']('text')}]});}}class _o extends _0x3ec159{constructor(_0x58b055,_0x586749){super();const _0x31bbf1=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x31bbf1['to']('style'),'id':_0x31bbf1['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x31bbf1['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x586749['description']||'']}]}]});}}
23
+ import{Collection as _0x3d65af,KeystrokeHandler as _0x4d2491,FocusTracker as _0x344f86}from'ckeditor5/src/utils.js';import{View as _0x4ddd58,ViewCollection as _0xad22c5,ButtonView as _0x3c5a44,FormRowView as _0x3581a9,createDropdown as _0x1f7811,addListToDropdown as _0x191d01,UIModel as _0x152f85,ButtonLabelView as _0x26f3db,LabeledFieldView as _0x5f4816,FocusCycler as _0x3615dd}from'ckeditor5/src/ui.js';import{getTranslation as _0x35b048}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x3e0e83}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x4ddd58{['focusTracker']=new _0x344f86();['keystrokes']=new _0x4d2491();['focusCycler'];['_focusables']=new _0xad22c5();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x536bc5,_0x3bbac4,_0x2ccdf1=!0x1){super(_0x536bc5),this['_check']=_0x3bbac4,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x3bbac4['defaultModel']?_0x3bbac4['defaultModel']['id']:'',this['_defaultLabel']=_0x3bbac4['defaultModel']?_0x3bbac4['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x5f4816(this['locale'],()=>new _0x3e0e83(_0x536bc5)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x3d65af(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x2ccdf1),_0x191d01(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x3581a9(this['locale'],{'children':[this['promptInputView']]}),new _0x3581a9(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x9c33af,_0x445b26)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x445b26()):_0x445b26();}),this['focusCycler']=new _0x3615dd({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x1ad0ac=>{this['_focusables']['add'](_0x1ad0ac),this['focusTracker']['add'](_0x1ad0ac['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x1156e6 of this['_getFormValidators']()){const _0x5c5b0a=_0x1156e6();if(_0x5c5b0a)return this['promptInputView']['errorText']=_0x5c5b0a,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x35b048(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x1fab71=new _0x3c5a44(this['locale']),t=this['locale']['t'];return _0x1fab71['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x1fab71['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x1fab71;}['_createCancelButtonView'](){const _0x2e6b68=new _0x3c5a44(this['locale']),t=this['locale']['t'];return _0x2e6b68['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x2e6b68['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x408440=>{_0x408440['stopPropagation']();})}}),_0x2e6b68['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x2e6b68;}['_setModelList'](_0x2ba78a){this['_modelSelectionDropdownItems']['clear']();const _0x274a35=this['_check']['models'];if(_0x2ba78a)this['set']('modelDisplayMode','hidden');else{const _0x1745b7=0x1===_0x274a35['length'];this['set']('modelDisplayMode',_0x1745b7?'name':'selector');}if(this['resetToDefault'](),_0x274a35?.['length']){0x1===_0x274a35['length']&&this['set']('activeModelName',_0x274a35[0x0]['name']||_0x274a35[0x0]['id']);for(const _0x43c615 of _0x274a35){const _0x279505=new _0x152f85({'label':_0x43c615['name'],'withText':!0x0,'role':'menuitemradio','id':_0x43c615['id'],'model':_0x43c615});_0x279505['bind']('isOn')['to'](this,'modelId',_0x51d263=>_0x51d263===_0x43c615['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x279505,'labelView':new ko(this['locale'],_0x43c615)});}}}['_createModelSelectionDropdown'](){const _0x554e49=_0x1f7811(this['locale']);return _0x554e49['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x554e49['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x554e49['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x48e97f=>'selector'===_0x48e97f),this['listenTo'](_0x554e49,'execute',_0x4058de=>{this['modelId']=_0x4058de['source']['model']['id'],_0x554e49['buttonView']['label']=_0x4058de['source']['label'];}),_0x554e49;}['_createModelNameView'](){const _0x263c3f=new _o(this['locale']);return _0x263c3f['bind']('text')['to'](this,'activeModelName',_0x5d31ee=>_0x5d31ee??''),_0x263c3f['bind']('isVisible')['to'](this,'modelDisplayMode',_0xe4ef=>'name'===_0xe4ef),_0x263c3f;}['_createActionsFooterView'](){const _0x1d41a4=new _0x4ddd58(this['locale']);return _0x1d41a4['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x1d41a4;}}class _o extends _0x4ddd58{constructor(_0x1c2f8e){super(_0x1c2f8e),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x591d31=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x591d31['if']('isVisible','ck-hidden',_0x559d33=>!_0x559d33)]},'children':[{'text':_0x591d31['to']('text')}]});}}class ko extends _0x26f3db{constructor(_0x208ca6,_0x1b8db6){super();const _0x121362=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x121362['to']('style'),'id':_0x121362['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x121362['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x1b8db6['description']||'']}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x444de3,_0x1b14f0){var _0x18a627=_0x116f,_0x229b62=_0x444de3();while(!![]){try{var _0xad1f54=parseInt(_0x18a627(0x106))/0x1+parseInt(_0x18a627(0x107))/0x2+parseInt(_0x18a627(0x110))/0x3*(parseInt(_0x18a627(0x10c))/0x4)+-parseInt(_0x18a627(0x102))/0x5*(parseInt(_0x18a627(0x112))/0x6)+parseInt(_0x18a627(0x109))/0x7*(-parseInt(_0x18a627(0x10d))/0x8)+parseInt(_0x18a627(0x105))/0x9*(-parseInt(_0x18a627(0x103))/0xa)+parseInt(_0x18a627(0x108))/0xb*(parseInt(_0x18a627(0x10f))/0xc);if(_0xad1f54===_0x1b14f0)break;else _0x229b62['push'](_0x229b62['shift']());}catch(_0x45a898){_0x229b62['push'](_0x229b62['shift']());}}}(_0x2c06,0xaff27));import{ButtonView as _0x2fb0d5}from'ckeditor5/src/ui.js';function _0x2c06(){var _0x55f46e=['ck-ai-button-primary','4958348LsSVTS','4918840SuDKxC','fire','10193268saYmpS','3YJTTPa','set','852504WbHaBi','10REDKqW','296730esTvvo','finishReview','414sGIonw','291370bVRuHX','2438238cQBbTa','11hJTLZu','14bqRTXP','execute'];_0x2c06=function(){return _0x55f46e;};return _0x2c06();}function _0x116f(_0x12d5d7,_0x157a8a){var _0x2c063b=_0x2c06();return _0x116f=function(_0x116f5a,_0x95e2b5){_0x116f5a=_0x116f5a-0x102;var _0x12d403=_0x2c063b[_0x116f5a];return _0x12d403;},_0x116f(_0x12d5d7,_0x157a8a);}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x2fb0d5{constructor(_0x5c11e3,_0xff5c73){var _0x50bfc5=_0x116f;super(_0xff5c73),this[_0x50bfc5(0x111)]({'label':_0x5c11e3,'withText':!0x0,'class':_0x50bfc5(0x10b)}),this['on'](_0x50bfc5(0x10a),()=>{var _0x1368dd=_0x50bfc5;this[_0x1368dd(0x10e)](_0x1368dd(0x104));});}}
23
+ (function(_0x4c0156,_0x2aec94){var _0x467da5=_0x1951,_0x8da5de=_0x4c0156();while(!![]){try{var _0x2dc2f5=parseInt(_0x467da5(0xad))/0x1+-parseInt(_0x467da5(0xb3))/0x2+parseInt(_0x467da5(0xb8))/0x3*(parseInt(_0x467da5(0xb5))/0x4)+-parseInt(_0x467da5(0xb6))/0x5*(parseInt(_0x467da5(0xac))/0x6)+-parseInt(_0x467da5(0xb9))/0x7*(parseInt(_0x467da5(0xaa))/0x8)+parseInt(_0x467da5(0xb4))/0x9*(parseInt(_0x467da5(0xaf))/0xa)+-parseInt(_0x467da5(0xb2))/0xb*(-parseInt(_0x467da5(0xba))/0xc);if(_0x2dc2f5===_0x2aec94)break;else _0x8da5de['push'](_0x8da5de['shift']());}catch(_0x304645){_0x8da5de['push'](_0x8da5de['shift']());}}}(_0x1d1b,0x60382));function _0x1d1b(){var _0x58c1d9=['145KjfaiQ','fire','1278138xILuqs','35CvDsht','846660PRQfyP','63896IdIreG','finishReview','79974inoGrp','651803AcjYrK','execute','10hyFIQc','set','ck-ai-button-primary','11WBrfgg','874722wYZCJe','985923XjkOZK','4HnlpzS'];_0x1d1b=function(){return _0x58c1d9;};return _0x1d1b();}import{ButtonView as _0x476be3}from'ckeditor5/src/ui.js';function _0x1951(_0x5eb5e3,_0x1ff31a){var _0x1d1b22=_0x1d1b();return _0x1951=function(_0x195180,_0x49c815){_0x195180=_0x195180-0xaa;var _0x1e1b96=_0x1d1b22[_0x195180];return _0x1e1b96;},_0x1951(_0x5eb5e3,_0x1ff31a);}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x476be3{constructor(_0x2f78b3,_0x29ddb8){var _0x3d2f4f=_0x1951;super(_0x29ddb8),this[_0x3d2f4f(0xb0)]({'label':_0x2f78b3,'withText':!0x0,'class':_0x3d2f4f(0xb1)}),this['on'](_0x3d2f4f(0xae),()=>{var _0x23957e=_0x3d2f4f;this[_0x23957e(0xb7)](_0x23957e(0xab));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xd673a,_0x4b4415){const _0x316927=_0x1c8a,_0x3a444d=_0xd673a();while(!![]){try{const _0x5987b6=-parseInt(_0x316927(0x1e6))/0x1+-parseInt(_0x316927(0x1db))/0x2+-parseInt(_0x316927(0x1d3))/0x3*(-parseInt(_0x316927(0x1d5))/0x4)+parseInt(_0x316927(0x1d9))/0x5*(parseInt(_0x316927(0x1e3))/0x6)+parseInt(_0x316927(0x1d6))/0x7*(parseInt(_0x316927(0x1e1))/0x8)+-parseInt(_0x316927(0x1e4))/0x9+-parseInt(_0x316927(0x1d7))/0xa*(-parseInt(_0x316927(0x1e2))/0xb);if(_0x5987b6===_0x4b4415)break;else _0x3a444d['push'](_0x3a444d['shift']());}catch(_0x112b16){_0x3a444d['push'](_0x3a444d['shift']());}}}(_0x21a5,0x1bc6d));import{View as _0x4324b2}from'ckeditor5/src/ui.js';function _0x1c8a(_0x302831,_0x1728d6){const _0x21a582=_0x21a5();return _0x1c8a=function(_0x1c8a21,_0x3d8d9b){_0x1c8a21=_0x1c8a21-0x1d3;let _0x3abcd2=_0x21a582[_0x1c8a21];return _0x3abcd2;},_0x1c8a(_0x302831,_0x1728d6);}export class AIReviewCoreGeneralErrorView extends _0x4324b2{constructor(_0x404111){const _0x216f3d=_0x1c8a;super(_0x404111),this[_0x216f3d(0x1e0)](_0x216f3d(0x1d4),!0x1),this[_0x216f3d(0x1e0)](_0x216f3d(0x1e5),'');const _0x481060=this[_0x216f3d(0x1dc)];this[_0x216f3d(0x1da)]({'tag':_0x216f3d(0x1dd),'attributes':{'class':['ck',_0x216f3d(0x1de),_0x481060['if'](_0x216f3d(0x1d4),_0x216f3d(0x1d8),_0x15002a=>!_0x15002a)]},'children':[{'tag':'p','attributes':{'class':_0x216f3d(0x1df)},'children':[{'text':_0x481060['to'](_0x216f3d(0x1e5))}]}]});}}function _0x21a5(){const _0x670662=['set','47352AgXpXc','616etsTyc','15270hWKWYL','1657386rLMHCE','errorMessage','52595xzRFsu','340923ozKgeD','isVisible','4JcHZKg','28ULRcyY','20070xauBhA','ck-hidden','445ldYDvB','setTemplate','251384pwBnkl','bindTemplate','div','ck-ai_review__general-error-container','ck\x20ck-ai-notification\x20ck-ai-notification_error'];_0x21a5=function(){return _0x670662;};return _0x21a5();}
23
+ function _0x5cb8(){const _0x376fd3=['ck\x20ck-ai-notification\x20ck-ai-notification_error','7403472oyMsvL','21314yefyRp','5745068SRcmas','errorMessage','31321060JXHfim','set','19443ZGzGgy','73HnEzsm','ck-ai_review__general-error-container','1504520xiKVge','ck-hidden','12BlcZyu','div','bindTemplate','1925541fRpcIq','412fbtMwx','isVisible','setTemplate'];_0x5cb8=function(){return _0x376fd3;};return _0x5cb8();}(function(_0x1966c8,_0x152e5a){const _0x443034=_0x4c89,_0x220647=_0x1966c8();while(!![]){try{const _0x5dac3c=-parseInt(_0x443034(0x1fd))/0x1*(parseInt(_0x443034(0x1f7))/0x2)+-parseInt(_0x443034(0x1fc))/0x3*(parseInt(_0x443034(0x1f2))/0x4)+parseInt(_0x443034(0x1ff))/0x5*(parseInt(_0x443034(0x201))/0x6)+-parseInt(_0x443034(0x1f8))/0x7+-parseInt(_0x443034(0x1f6))/0x8+parseInt(_0x443034(0x204))/0x9+parseInt(_0x443034(0x1fa))/0xa;if(_0x5dac3c===_0x152e5a)break;else _0x220647['push'](_0x220647['shift']());}catch(_0x26bf69){_0x220647['push'](_0x220647['shift']());}}}(_0x5cb8,0xb89e9));function _0x4c89(_0x25d75b,_0xfaee49){const _0x5cb86b=_0x5cb8();return _0x4c89=function(_0x4c89f6,_0x10f835){_0x4c89f6=_0x4c89f6-0x1f2;let _0x14953d=_0x5cb86b[_0x4c89f6];return _0x14953d;},_0x4c89(_0x25d75b,_0xfaee49);}import{View as _0x10c087}from'ckeditor5/src/ui.js';export class AIReviewCoreGeneralErrorView extends _0x10c087{constructor(_0x5a5e2e){const _0x6a5465=_0x4c89;super(_0x5a5e2e),this[_0x6a5465(0x1fb)](_0x6a5465(0x1f3),!0x1),this[_0x6a5465(0x1fb)](_0x6a5465(0x1f9),'');const _0x187894=this[_0x6a5465(0x203)];this[_0x6a5465(0x1f4)]({'tag':_0x6a5465(0x202),'attributes':{'class':['ck',_0x6a5465(0x1fe),_0x187894['if'](_0x6a5465(0x1f3),_0x6a5465(0x200),_0x34e397=>!_0x34e397)]},'children':[{'tag':'p','attributes':{'class':_0x6a5465(0x1f5)},'children':[{'text':_0x187894['to'](_0x6a5465(0x1f9))}]}]});}}