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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (498) hide show
  1. package/build/ai.js +2 -2
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/ast.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/be.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/bn.js +1 -1
  9. package/build/translations/bs.js +1 -1
  10. package/build/translations/ca.js +1 -1
  11. package/build/translations/cs.js +1 -1
  12. package/build/translations/da.js +1 -1
  13. package/build/translations/de-ch.js +1 -1
  14. package/build/translations/de.js +1 -1
  15. package/build/translations/el.js +1 -1
  16. package/build/translations/en-au.js +1 -1
  17. package/build/translations/en-gb.js +1 -1
  18. package/build/translations/eo.js +1 -1
  19. package/build/translations/es-co.js +1 -1
  20. package/build/translations/es.js +1 -1
  21. package/build/translations/et.js +1 -1
  22. package/build/translations/eu.js +1 -1
  23. package/build/translations/fa.js +1 -1
  24. package/build/translations/fi.js +1 -1
  25. package/build/translations/fr.js +1 -1
  26. package/build/translations/gl.js +1 -1
  27. package/build/translations/gu.js +1 -1
  28. package/build/translations/he.js +1 -1
  29. package/build/translations/hi.js +1 -1
  30. package/build/translations/hr.js +1 -1
  31. package/build/translations/hu.js +1 -1
  32. package/build/translations/hy.js +1 -1
  33. package/build/translations/id.js +1 -1
  34. package/build/translations/it.js +1 -1
  35. package/build/translations/ja.js +1 -1
  36. package/build/translations/jv.js +1 -1
  37. package/build/translations/kk.js +1 -1
  38. package/build/translations/km.js +1 -1
  39. package/build/translations/kn.js +1 -1
  40. package/build/translations/ko.js +1 -1
  41. package/build/translations/ku.js +1 -1
  42. package/build/translations/lt.js +1 -1
  43. package/build/translations/lv.js +1 -1
  44. package/build/translations/ms.js +1 -1
  45. package/build/translations/nb.js +1 -1
  46. package/build/translations/ne.js +1 -1
  47. package/build/translations/nl.js +1 -1
  48. package/build/translations/no.js +1 -1
  49. package/build/translations/oc.js +1 -1
  50. package/build/translations/pl.js +1 -1
  51. package/build/translations/pt-br.js +1 -1
  52. package/build/translations/pt.js +1 -1
  53. package/build/translations/ro.js +1 -1
  54. package/build/translations/ru.js +1 -1
  55. package/build/translations/si.js +1 -1
  56. package/build/translations/sk.js +1 -1
  57. package/build/translations/sl.js +1 -1
  58. package/build/translations/sq.js +1 -1
  59. package/build/translations/sr-latn.js +1 -1
  60. package/build/translations/sr.js +1 -1
  61. package/build/translations/sv.js +1 -1
  62. package/build/translations/th.js +1 -1
  63. package/build/translations/ti.js +1 -1
  64. package/build/translations/tk.js +1 -1
  65. package/build/translations/tr.js +1 -1
  66. package/build/translations/tt.js +1 -1
  67. package/build/translations/ug.js +1 -1
  68. package/build/translations/uk.js +1 -1
  69. package/build/translations/ur.js +1 -1
  70. package/build/translations/uz.js +1 -1
  71. package/build/translations/vi.js +1 -1
  72. package/build/translations/zh-cn.js +1 -1
  73. package/build/translations/zh.js +1 -1
  74. package/dist/index-editor.css +573 -203
  75. package/dist/index.css +627 -204
  76. package/dist/index.js +5 -4
  77. package/dist/translations/af.js +1 -1
  78. package/dist/translations/af.umd.js +1 -1
  79. package/dist/translations/ar.js +1 -1
  80. package/dist/translations/ar.umd.js +1 -1
  81. package/dist/translations/ast.js +1 -1
  82. package/dist/translations/ast.umd.js +1 -1
  83. package/dist/translations/az.js +1 -1
  84. package/dist/translations/az.umd.js +1 -1
  85. package/dist/translations/be.js +1 -1
  86. package/dist/translations/be.umd.js +1 -1
  87. package/dist/translations/bg.js +1 -1
  88. package/dist/translations/bg.umd.js +1 -1
  89. package/dist/translations/bn.js +1 -1
  90. package/dist/translations/bn.umd.js +1 -1
  91. package/dist/translations/bs.js +1 -1
  92. package/dist/translations/bs.umd.js +1 -1
  93. package/dist/translations/ca.js +1 -1
  94. package/dist/translations/ca.umd.js +1 -1
  95. package/dist/translations/cs.js +1 -1
  96. package/dist/translations/cs.umd.js +1 -1
  97. package/dist/translations/da.js +1 -1
  98. package/dist/translations/da.umd.js +1 -1
  99. package/dist/translations/de-ch.js +1 -1
  100. package/dist/translations/de-ch.umd.js +1 -1
  101. package/dist/translations/de.js +1 -1
  102. package/dist/translations/de.umd.js +1 -1
  103. package/dist/translations/el.js +1 -1
  104. package/dist/translations/el.umd.js +1 -1
  105. package/dist/translations/en-au.js +1 -1
  106. package/dist/translations/en-au.umd.js +1 -1
  107. package/dist/translations/en-gb.js +1 -1
  108. package/dist/translations/en-gb.umd.js +1 -1
  109. package/dist/translations/en.js +1 -1
  110. package/dist/translations/en.umd.js +1 -1
  111. package/dist/translations/eo.js +1 -1
  112. package/dist/translations/eo.umd.js +1 -1
  113. package/dist/translations/es-co.js +1 -1
  114. package/dist/translations/es-co.umd.js +1 -1
  115. package/dist/translations/es.js +1 -1
  116. package/dist/translations/es.umd.js +1 -1
  117. package/dist/translations/et.js +1 -1
  118. package/dist/translations/et.umd.js +1 -1
  119. package/dist/translations/eu.js +1 -1
  120. package/dist/translations/eu.umd.js +1 -1
  121. package/dist/translations/fa.js +1 -1
  122. package/dist/translations/fa.umd.js +1 -1
  123. package/dist/translations/fi.js +1 -1
  124. package/dist/translations/fi.umd.js +1 -1
  125. package/dist/translations/fr.js +1 -1
  126. package/dist/translations/fr.umd.js +1 -1
  127. package/dist/translations/gl.js +1 -1
  128. package/dist/translations/gl.umd.js +1 -1
  129. package/dist/translations/gu.js +1 -1
  130. package/dist/translations/gu.umd.js +1 -1
  131. package/dist/translations/he.js +1 -1
  132. package/dist/translations/he.umd.js +1 -1
  133. package/dist/translations/hi.js +1 -1
  134. package/dist/translations/hi.umd.js +1 -1
  135. package/dist/translations/hr.js +1 -1
  136. package/dist/translations/hr.umd.js +1 -1
  137. package/dist/translations/hu.js +1 -1
  138. package/dist/translations/hu.umd.js +1 -1
  139. package/dist/translations/hy.js +1 -1
  140. package/dist/translations/hy.umd.js +1 -1
  141. package/dist/translations/id.js +1 -1
  142. package/dist/translations/id.umd.js +1 -1
  143. package/dist/translations/it.js +1 -1
  144. package/dist/translations/it.umd.js +1 -1
  145. package/dist/translations/ja.js +1 -1
  146. package/dist/translations/ja.umd.js +1 -1
  147. package/dist/translations/jv.js +1 -1
  148. package/dist/translations/jv.umd.js +1 -1
  149. package/dist/translations/kk.js +1 -1
  150. package/dist/translations/kk.umd.js +1 -1
  151. package/dist/translations/km.js +1 -1
  152. package/dist/translations/km.umd.js +1 -1
  153. package/dist/translations/kn.js +1 -1
  154. package/dist/translations/kn.umd.js +1 -1
  155. package/dist/translations/ko.js +1 -1
  156. package/dist/translations/ko.umd.js +1 -1
  157. package/dist/translations/ku.js +1 -1
  158. package/dist/translations/ku.umd.js +1 -1
  159. package/dist/translations/lt.js +1 -1
  160. package/dist/translations/lt.umd.js +1 -1
  161. package/dist/translations/lv.js +1 -1
  162. package/dist/translations/lv.umd.js +1 -1
  163. package/dist/translations/ms.js +1 -1
  164. package/dist/translations/ms.umd.js +1 -1
  165. package/dist/translations/nb.js +1 -1
  166. package/dist/translations/nb.umd.js +1 -1
  167. package/dist/translations/ne.js +1 -1
  168. package/dist/translations/ne.umd.js +1 -1
  169. package/dist/translations/nl.js +1 -1
  170. package/dist/translations/nl.umd.js +1 -1
  171. package/dist/translations/no.js +1 -1
  172. package/dist/translations/no.umd.js +1 -1
  173. package/dist/translations/oc.js +1 -1
  174. package/dist/translations/oc.umd.js +1 -1
  175. package/dist/translations/pl.js +1 -1
  176. package/dist/translations/pl.umd.js +1 -1
  177. package/dist/translations/pt-br.js +1 -1
  178. package/dist/translations/pt-br.umd.js +1 -1
  179. package/dist/translations/pt.js +1 -1
  180. package/dist/translations/pt.umd.js +1 -1
  181. package/dist/translations/ro.js +1 -1
  182. package/dist/translations/ro.umd.js +1 -1
  183. package/dist/translations/ru.js +1 -1
  184. package/dist/translations/ru.umd.js +1 -1
  185. package/dist/translations/si.js +1 -1
  186. package/dist/translations/si.umd.js +1 -1
  187. package/dist/translations/sk.js +1 -1
  188. package/dist/translations/sk.umd.js +1 -1
  189. package/dist/translations/sl.js +1 -1
  190. package/dist/translations/sl.umd.js +1 -1
  191. package/dist/translations/sq.js +1 -1
  192. package/dist/translations/sq.umd.js +1 -1
  193. package/dist/translations/sr-latn.js +1 -1
  194. package/dist/translations/sr-latn.umd.js +1 -1
  195. package/dist/translations/sr.js +1 -1
  196. package/dist/translations/sr.umd.js +1 -1
  197. package/dist/translations/sv.js +1 -1
  198. package/dist/translations/sv.umd.js +1 -1
  199. package/dist/translations/th.js +1 -1
  200. package/dist/translations/th.umd.js +1 -1
  201. package/dist/translations/ti.js +1 -1
  202. package/dist/translations/ti.umd.js +1 -1
  203. package/dist/translations/tk.js +1 -1
  204. package/dist/translations/tk.umd.js +1 -1
  205. package/dist/translations/tr.js +1 -1
  206. package/dist/translations/tr.umd.js +1 -1
  207. package/dist/translations/tt.js +1 -1
  208. package/dist/translations/tt.umd.js +1 -1
  209. package/dist/translations/ug.js +1 -1
  210. package/dist/translations/ug.umd.js +1 -1
  211. package/dist/translations/uk.js +1 -1
  212. package/dist/translations/uk.umd.js +1 -1
  213. package/dist/translations/ur.js +1 -1
  214. package/dist/translations/ur.umd.js +1 -1
  215. package/dist/translations/uz.js +1 -1
  216. package/dist/translations/uz.umd.js +1 -1
  217. package/dist/translations/vi.js +1 -1
  218. package/dist/translations/vi.umd.js +1 -1
  219. package/dist/translations/zh-cn.js +1 -1
  220. package/dist/translations/zh-cn.umd.js +1 -1
  221. package/dist/translations/zh.js +1 -1
  222. package/dist/translations/zh.umd.js +1 -1
  223. package/lang/contexts.json +8 -1
  224. package/lang/translations/af.po +52 -4
  225. package/lang/translations/ar.po +52 -4
  226. package/lang/translations/ast.po +52 -4
  227. package/lang/translations/az.po +52 -4
  228. package/lang/translations/be.po +52 -4
  229. package/lang/translations/bg.po +52 -4
  230. package/lang/translations/bn.po +52 -4
  231. package/lang/translations/bs.po +52 -4
  232. package/lang/translations/ca.po +52 -4
  233. package/lang/translations/cs.po +52 -4
  234. package/lang/translations/da.po +52 -4
  235. package/lang/translations/de-ch.po +52 -4
  236. package/lang/translations/de.po +52 -4
  237. package/lang/translations/el.po +52 -4
  238. package/lang/translations/en-au.po +52 -4
  239. package/lang/translations/en-gb.po +52 -4
  240. package/lang/translations/en.po +52 -4
  241. package/lang/translations/eo.po +52 -4
  242. package/lang/translations/es-co.po +52 -4
  243. package/lang/translations/es.po +52 -4
  244. package/lang/translations/et.po +52 -4
  245. package/lang/translations/eu.po +52 -4
  246. package/lang/translations/fa.po +52 -4
  247. package/lang/translations/fi.po +52 -4
  248. package/lang/translations/fr.po +52 -4
  249. package/lang/translations/gl.po +52 -4
  250. package/lang/translations/gu.po +52 -4
  251. package/lang/translations/he.po +52 -4
  252. package/lang/translations/hi.po +52 -4
  253. package/lang/translations/hr.po +52 -4
  254. package/lang/translations/hu.po +52 -4
  255. package/lang/translations/hy.po +52 -4
  256. package/lang/translations/id.po +52 -4
  257. package/lang/translations/it.po +52 -4
  258. package/lang/translations/ja.po +52 -4
  259. package/lang/translations/jv.po +52 -4
  260. package/lang/translations/kk.po +52 -4
  261. package/lang/translations/km.po +52 -4
  262. package/lang/translations/kn.po +52 -4
  263. package/lang/translations/ko.po +52 -4
  264. package/lang/translations/ku.po +52 -4
  265. package/lang/translations/lt.po +52 -4
  266. package/lang/translations/lv.po +52 -4
  267. package/lang/translations/ms.po +52 -4
  268. package/lang/translations/nb.po +52 -4
  269. package/lang/translations/ne.po +52 -4
  270. package/lang/translations/nl.po +52 -4
  271. package/lang/translations/no.po +52 -4
  272. package/lang/translations/oc.po +52 -4
  273. package/lang/translations/pl.po +52 -4
  274. package/lang/translations/pt-br.po +52 -4
  275. package/lang/translations/pt.po +52 -4
  276. package/lang/translations/ro.po +52 -4
  277. package/lang/translations/ru.po +52 -4
  278. package/lang/translations/si.po +52 -4
  279. package/lang/translations/sk.po +52 -4
  280. package/lang/translations/sl.po +52 -4
  281. package/lang/translations/sq.po +52 -4
  282. package/lang/translations/sr-latn.po +52 -4
  283. package/lang/translations/sr.po +52 -4
  284. package/lang/translations/sv.po +52 -4
  285. package/lang/translations/th.po +52 -4
  286. package/lang/translations/ti.po +52 -4
  287. package/lang/translations/tk.po +52 -4
  288. package/lang/translations/tr.po +52 -4
  289. package/lang/translations/tt.po +52 -4
  290. package/lang/translations/ug.po +52 -4
  291. package/lang/translations/uk.po +52 -4
  292. package/lang/translations/ur.po +52 -4
  293. package/lang/translations/uz.po +52 -4
  294. package/lang/translations/vi.po +52 -4
  295. package/lang/translations/zh-cn.po +52 -4
  296. package/lang/translations/zh.po +52 -4
  297. package/package.json +15 -15
  298. package/src/aiactions/aiactions.d.ts +1 -1
  299. package/src/aiactions/aiactions.js +1 -1
  300. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  301. package/src/aiactions/model/aiactionsreply.js +1 -1
  302. package/src/aiassistant/adapters/aiadapter.js +1 -1
  303. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  304. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  305. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  306. package/src/aiassistant/aiassistant.js +1 -1
  307. package/src/aiassistant/aiassistantediting.js +1 -1
  308. package/src/aiassistant/aiassistantui.js +1 -1
  309. package/src/aiassistant/legacyerrors.js +1 -1
  310. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  311. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  312. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  313. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  314. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  315. package/src/aiassistant/ui/form/aiformview.js +1 -1
  316. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  317. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  318. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  319. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  320. package/src/aiassistant/utils/common-translations.js +1 -1
  321. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  322. package/src/aiballoon/aiballoon.d.ts +5 -1
  323. package/src/aiballoon/aiballoon.js +1 -1
  324. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  325. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  326. package/src/aiballoon/ui/aiballoonview.d.ts +40 -1
  327. package/src/aiballoon/ui/aiballoonview.js +1 -1
  328. package/src/aichat/aichat.js +1 -1
  329. package/src/aichat/aichatcontroller.d.ts +1 -1
  330. package/src/aichat/aichatcontroller.js +1 -1
  331. package/src/aichat/aichatui.d.ts +1 -0
  332. package/src/aichat/aichatui.js +1 -1
  333. package/src/aichat/model/aichatcontext.d.ts +4 -0
  334. package/src/aichat/model/aichatcontext.js +1 -1
  335. package/src/aichat/model/aichatconversation.js +1 -1
  336. package/src/aichat/model/aichatinteraction.js +1 -1
  337. package/src/aichat/model/aichatmodels.d.ts +8 -29
  338. package/src/aichat/model/aichatmodels.js +1 -1
  339. package/src/aichat/ui/aichatcontrolsview.d.ts +4 -1
  340. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  341. package/src/aichat/ui/aichatfeedview.d.ts +2 -2
  342. package/src/aichat/ui/aichatfeedview.js +1 -1
  343. package/src/aichat/ui/aichatheaderview.js +1 -1
  344. package/src/aichat/ui/aichatview.d.ts +4 -1
  345. package/src/aichat/ui/aichatview.js +1 -1
  346. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  347. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  348. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  349. package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +4 -1
  350. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  351. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  352. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  353. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  354. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  355. package/src/aichat/ui/controls/resources/{aichatresourceslistview.d.ts → aichatcontextresourceslistview.d.ts} +1 -1
  356. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +23 -0
  357. package/src/aichat/ui/controls/resources/{aichatresourcesview.d.ts → aichatcontextresourcesview.d.ts} +5 -2
  358. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +23 -0
  359. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  360. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +4 -0
  361. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  362. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  363. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  364. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  365. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  366. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  367. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  368. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +3 -3
  369. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  370. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -3
  371. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  372. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  373. package/src/aichat/utils/eventnames.js +1 -1
  374. package/src/aichat/utils/promisequeue.js +1 -1
  375. package/src/aichat/utils/scrollmanager.js +1 -1
  376. package/src/aichathistory/aichathistory.js +1 -1
  377. package/src/aichathistory/aichathistorycontroller.js +1 -1
  378. package/src/aichathistory/aichathistoryui.js +1 -1
  379. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  380. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  381. package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
  382. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -1
  383. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  384. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  385. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  386. package/src/aiconfig.d.ts +28 -7
  387. package/src/aicore/aiconnector.d.ts +1 -0
  388. package/src/aicore/aiconnector.js +1 -1
  389. package/src/aicore/aiediting.js +1 -1
  390. package/src/aicore/model/aicapabilities.js +1 -1
  391. package/src/aicore/model/aicontext.js +1 -1
  392. package/src/aicore/model/aiinteraction.js +1 -1
  393. package/src/aicore/model/aimodels.d.ts +66 -0
  394. package/src/aicore/model/aimodels.js +23 -0
  395. package/src/aicore/model/aireply.d.ts +9 -1
  396. package/src/aicore/model/aireply.js +1 -1
  397. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  398. package/src/aicore/pipeline/airesponseparser.js +2 -2
  399. package/src/aicore/ui/aidisclaimerview.js +1 -1
  400. package/src/aicore/ui/aiskeleton.js +1 -1
  401. package/src/aicore/ui/aispinner.js +1 -1
  402. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  403. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +5 -2
  404. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  405. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +3 -1
  406. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  407. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +6 -2
  408. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  409. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  410. package/src/aicore/utils/common-translations.js +1 -1
  411. package/src/aicore/utils/createresizebutton.js +1 -1
  412. package/src/aicore/utils/documentposition.js +1 -1
  413. package/src/aicore/utils/documentrange.js +1 -1
  414. package/src/aicore/utils/eventnames.js +1 -1
  415. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  416. package/src/aicore/utils/getoperationsfromreply.d.ts +2 -1
  417. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  418. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  419. package/src/aicore/utils/htmlparser.js +1 -1
  420. package/src/aicore/utils/htmlstreamer.js +1 -1
  421. package/src/aieditorintegration/aieditorintegration.d.ts +2 -1
  422. package/src/aieditorintegration/aieditorintegration.js +1 -1
  423. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  424. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  425. package/src/aiquickactions/aiquickactions.js +1 -1
  426. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  427. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  428. package/src/aiquickactions/aiquickactionsui.js +1 -1
  429. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  430. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  431. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  432. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  433. package/src/aireviewmode/aireviewmode.js +1 -1
  434. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  435. package/src/aireviewmode/aireviewmodeediting.d.ts +18 -0
  436. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  437. package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
  438. package/src/aireviewmode/aireviewmodeui.js +1 -1
  439. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  440. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +3 -3
  441. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  442. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  443. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  444. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
  445. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  446. package/src/aireviewmode/model/aireviewcheckrun.d.ts +9 -10
  447. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  448. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  449. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  450. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  451. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  452. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +6 -0
  453. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  454. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  455. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +13 -0
  456. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +23 -0
  457. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  458. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +9 -1
  459. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  460. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  461. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +0 -4
  462. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  463. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  464. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  465. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  466. package/src/aitabs/aitabs.js +1 -1
  467. package/src/aitabs/aitabsmainview.js +1 -1
  468. package/src/aitabs/tabs/aitabsview.js +1 -1
  469. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  470. package/src/aitabs/tabs/tabpanelview.js +1 -1
  471. package/src/errors.js +1 -1
  472. package/src/index.d.ts +1 -0
  473. package/src/index.js +1 -1
  474. package/theme/aiballoon/aiballoon.css +12 -0
  475. package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
  476. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +52 -43
  477. package/theme/aichat/aichat-controls/aichat-controls-button.css +8 -6
  478. package/theme/aichat/aichat-controls/aichat-controls-loader.css +36 -52
  479. package/theme/aichat/aichat-controls/prompt-capabilities.css +0 -1
  480. package/theme/aichat/aichat-controls.css +11 -27
  481. package/theme/aichat/aichat.css +2 -3
  482. package/theme/aichat/aichatfeed.css +1 -27
  483. package/theme/aichat/aichathistory.css +12 -0
  484. package/theme/aichat/aisuggestioncontainer.css +5 -0
  485. package/theme/aireviewmode/aireviewmode-check-list.css +25 -23
  486. package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
  487. package/theme/aireviewmode/aireviewmode-check-run.css +28 -5
  488. package/theme/aireviewmode/aireviewmode.css +17 -7
  489. package/theme/aitabs/aitabsview.css +1 -1
  490. package/theme/aitabs/tabs/tabbuttonview.css +1 -0
  491. package/theme/aitabs/tabs/tabsview.css +1 -0
  492. package/theme/common/aibutton.css +27 -0
  493. package/theme/common/aiheader.css +14 -4
  494. package/theme/common/aitrackchanges.css +8 -1
  495. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +0 -23
  496. package/src/aichat/ui/controls/resources/aichatresourcesview.js +0 -23
  497. package/src/aireviewmode/model/aireviewmodels.d.ts +0 -26
  498. package/src/aireviewmode/model/aireviewmodels.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x7ca578=_0x1054;(function(_0x522e7a,_0x4ebf58){var _0x12764e=_0x1054,_0x3e815c=_0x522e7a();while(!![]){try{var _0x22cba8=parseInt(_0x12764e(0x8b))/0x1+parseInt(_0x12764e(0x8a))/0x2+parseInt(_0x12764e(0x89))/0x3*(-parseInt(_0x12764e(0x90))/0x4)+parseInt(_0x12764e(0x87))/0x5*(parseInt(_0x12764e(0x8c))/0x6)+-parseInt(_0x12764e(0x88))/0x7+parseInt(_0x12764e(0x86))/0x8*(-parseInt(_0x12764e(0x95))/0x9)+-parseInt(_0x12764e(0x93))/0xa;if(_0x22cba8===_0x4ebf58)break;else _0x3e815c['push'](_0x3e815c['shift']());}catch(_0x44516a){_0x3e815c['push'](_0x3e815c['shift']());}}}(_0xceea,0x58ce1));function _0x1054(_0x41c27a,_0x32ba95){var _0xceea44=_0xceea();return _0x1054=function(_0x1054a7,_0x2a6f84){_0x1054a7=_0x1054a7-0x85;var _0xdfe5d8=_0xceea44[_0x1054a7];return _0xdfe5d8;},_0x1054(_0x41c27a,_0x32ba95);}import{ObservableMixin as _0x4c5eda}from'ckeditor5/src/utils.js';function _0xceea(){var _0x352f84=['custom','331852RYnOLP','getCheckById','map','1890770VkruBr','find','1997694OdvCkM','_checks','8CcwfQi','40ENZJbM','1369025GONYtx','6dFsJYD','1228652mwlJGO','500411DKJTPF','16164KrKhLf','checks','_mapCheckDefinitions'];_0xceea=function(){return _0x352f84;};return _0xceea();}import{AIReviewCheck as _0x31ea81}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x5b0ac7}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x4c5eda(){[_0x7ca578(0x85)];constructor(_0x3eadee){var _0x257bcf=_0x7ca578;super(),this[_0x257bcf(0x85)]=this[_0x257bcf(0x8e)](_0x3eadee);}get[_0x7ca578(0x8d)](){var _0x2844c4=_0x7ca578;return this[_0x2844c4(0x85)];}[_0x7ca578(0x91)](_0x55463e){var _0x5c0ef8=_0x7ca578;return this[_0x5c0ef8(0x8d)][_0x5c0ef8(0x94)](_0x4f6ebc=>_0x4f6ebc['id']===_0x55463e);}[_0x7ca578(0x8e)](_0x3dfdf2){var _0x30cbf1=_0x7ca578;return _0x3dfdf2[_0x30cbf1(0x92)](_0xb5f4d7=>_0x30cbf1(0x8f)===_0xb5f4d7['id']?new _0x5b0ac7(_0xb5f4d7):new _0x31ea81(_0xb5f4d7));}}
23
+ var _0x5f19a1=_0x28f6;function _0x2fee(){var _0x2b3fc2=['24288720bYSNZj','custom','120vDMXkD','140BubOdc','22UGzRID','543Akjclr','12001970DfzotK','2AHcjgH','309678oWDxZJ','_mapCheckDefinitions','find','15348hZiJpN','getCheckById','_checks','867144echYTB','320440BSUiIn','13998159ZlJZcz','checks','map'];_0x2fee=function(){return _0x2b3fc2;};return _0x2fee();}(function(_0x1a2975,_0x2d2144){var _0x316857=_0x28f6,_0x3c301b=_0x1a2975();while(!![]){try{var _0x57103e=-parseInt(_0x316857(0x163))/0x1*(-parseInt(_0x316857(0x16a))/0x2)+-parseInt(_0x316857(0x161))/0x3*(-parseInt(_0x316857(0x167))/0x4)+parseInt(_0x316857(0x171))/0x5*(-parseInt(_0x316857(0x164))/0x6)+-parseInt(_0x316857(0x172))/0x7*(parseInt(_0x316857(0x16b))/0x8)+-parseInt(_0x316857(0x16c))/0x9+-parseInt(_0x316857(0x162))/0xa+-parseInt(_0x316857(0x173))/0xb*(-parseInt(_0x316857(0x16f))/0xc);if(_0x57103e===_0x2d2144)break;else _0x3c301b['push'](_0x3c301b['shift']());}catch(_0x247a68){_0x3c301b['push'](_0x3c301b['shift']());}}}(_0x2fee,0xc6d41));function _0x28f6(_0x2cb3cd,_0x103c93){var _0x2fee36=_0x2fee();return _0x28f6=function(_0x28f662,_0x3b7aa3){_0x28f662=_0x28f662-0x161;var _0x389531=_0x2fee36[_0x28f662];return _0x389531;},_0x28f6(_0x2cb3cd,_0x103c93);}import{ObservableMixin as _0x4e81dd}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x4f6090}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x54511a}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x4e81dd(){[_0x5f19a1(0x169)];constructor(_0x599567){var _0x5eafbe=_0x5f19a1;super(),this[_0x5eafbe(0x169)]=this[_0x5eafbe(0x165)](_0x599567);}get[_0x5f19a1(0x16d)](){var _0x3dc1d8=_0x5f19a1;return this[_0x3dc1d8(0x169)];}[_0x5f19a1(0x168)](_0x59c21c){var _0x9ab17=_0x5f19a1;return this[_0x9ab17(0x16d)][_0x9ab17(0x166)](_0x4f9ccc=>_0x4f9ccc['id']===_0x59c21c);}[_0x5f19a1(0x165)](_0x46fb92){var _0x516747=_0x5f19a1;return _0x46fb92[_0x516747(0x16e)](_0x29d93b=>_0x516747(0x170)===_0x29d93b['id']?new _0x54511a(_0x29d93b):new _0x4f6090(_0x29d93b));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3584(_0x27fd65,_0x132639){var _0x250ae0=_0x250a();return _0x3584=function(_0x358401,_0x351bf9){_0x358401=_0x358401-0x1b3;var _0x16089b=_0x250ae0[_0x358401];return _0x16089b;},_0x3584(_0x27fd65,_0x132639);}var _0x4e47a8=_0x3584;function _0x250a(){var _0x2481ed=['236455ObrluJ','235002yFTBSr','6QVpGpa','64426728cvkdWX','26UmDrvR','1257219VQNduc','3495681HefTew','858810zxjZnD','contentNew','contentInitial','1448AzDZjC','documentVersion','13mpoSKc','20pbkOFb','121elGhJj','55323wXgjOc'];_0x250a=function(){return _0x2481ed;};return _0x250a();}(function(_0x43584f,_0x2c00e6){var _0x405fac=_0x3584,_0x23eb4c=_0x43584f();while(!![]){try{var _0x4a8da8=-parseInt(_0x405fac(0x1b3))/0x1+-parseInt(_0x405fac(0x1c2))/0x2*(parseInt(_0x405fac(0x1bf))/0x3)+parseInt(_0x405fac(0x1bb))/0x4*(parseInt(_0x405fac(0x1be))/0x5)+-parseInt(_0x405fac(0x1c0))/0x6*(parseInt(_0x405fac(0x1b4))/0x7)+-parseInt(_0x405fac(0x1b8))/0x8*(parseInt(_0x405fac(0x1bd))/0x9)+-parseInt(_0x405fac(0x1b5))/0xa*(parseInt(_0x405fac(0x1bc))/0xb)+-parseInt(_0x405fac(0x1c1))/0xc*(-parseInt(_0x405fac(0x1ba))/0xd);if(_0x4a8da8===_0x2c00e6)break;else _0x23eb4c['push'](_0x23eb4c['shift']());}catch(_0x543617){_0x23eb4c['push'](_0x23eb4c['shift']());}}}(_0x250a,0xbcbf3));import{EmitterMixin as _0x1bcd40}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x1bcd40(){['id'];[_0x4e47a8(0x1b6)];[_0x4e47a8(0x1b7)];[_0x4e47a8(0x1b9)];constructor({id:_0x4ef77f,contentNew:_0x964d9d,contentInitial:_0x9e9232,documentVersion:_0x3802e4}){var _0x28e4d6=_0x4e47a8;super(),this['id']=_0x4ef77f,this[_0x28e4d6(0x1b6)]=_0x964d9d,this[_0x28e4d6(0x1b7)]=_0x9e9232,this[_0x28e4d6(0x1b9)]=_0x3802e4;}}
23
+ var _0x1df77c=_0x1f0c;function _0x1f0c(_0x57f15c,_0x4398cc){var _0x5b74b9=_0x5b74();return _0x1f0c=function(_0x1f0c52,_0x2cce21){_0x1f0c52=_0x1f0c52-0x197;var _0x5ca73e=_0x5b74b9[_0x1f0c52];return _0x5ca73e;},_0x1f0c(_0x57f15c,_0x4398cc);}function _0x5b74(){var _0x444136=['2085783IXYDDG','contentInitial','782850CxZQpf','107471WMJbOD','19UbYUFQ','2200eyoKWa','documentVersion','contentNew','2586648mbXfcs','234luxjfM','9ZmHVmo','25700cHmHLc','2223836FFxaeD','20228yLQZPT'];_0x5b74=function(){return _0x444136;};return _0x5b74();}(function(_0x3249e1,_0x5c2748){var _0x53c99f=_0x1f0c,_0x5956db=_0x3249e1();while(!![]){try{var _0x149083=parseInt(_0x53c99f(0x197))/0x1*(parseInt(_0x53c99f(0x1a0))/0x2)+parseInt(_0x53c99f(0x1a1))/0x3+-parseInt(_0x53c99f(0x19f))/0x4+-parseInt(_0x53c99f(0x1a3))/0x5+-parseInt(_0x53c99f(0x19c))/0x6*(parseInt(_0x53c99f(0x1a4))/0x7)+-parseInt(_0x53c99f(0x19b))/0x8*(-parseInt(_0x53c99f(0x19d))/0x9)+parseInt(_0x53c99f(0x19e))/0xa*(parseInt(_0x53c99f(0x198))/0xb);if(_0x149083===_0x5c2748)break;else _0x5956db['push'](_0x5956db['shift']());}catch(_0x1822b4){_0x5956db['push'](_0x5956db['shift']());}}}(_0x5b74,0x64f16));import{EmitterMixin as _0x44c9a6}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x44c9a6(){['id'];[_0x1df77c(0x19a)];[_0x1df77c(0x1a2)];[_0x1df77c(0x199)];constructor({id:_0x3ff166,contentNew:_0x4e3e72,contentInitial:_0x4c5eaf,documentVersion:_0x15e287}){var _0x3ffc97=_0x1df77c;super(),this['id']=_0x3ff166,this[_0x3ffc97(0x19a)]=_0x4e3e72,this[_0x3ffc97(0x1a2)]=_0x4c5eaf,this[_0x3ffc97(0x199)]=_0x15e287;}}
@@ -30,7 +30,7 @@ export declare class AIReviewCheckResultChange extends /* #__PURE__ */ AIReviewC
30
30
  *
31
31
  * @observable
32
32
  */
33
- status: 'active' | 'accepted' | 'rejected';
33
+ status: 'pending' | 'accepted' | 'rejected' | 'outdated';
34
34
  /**
35
35
  * Indicates whether the change is currently activated.
36
36
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x191c(_0x523517,_0x251313){var _0x2161d4=_0x2161();return _0x191c=function(_0x191c86,_0x24b42c){_0x191c86=_0x191c86-0x7b;var _0x21a862=_0x2161d4[_0x191c86];return _0x21a862;},_0x191c(_0x523517,_0x251313);}var _0x35cfc8=_0x191c;function _0x2161(){var _0x278757=['isRated','105pQFlwk','contentDiffed','255740xgEADz','416854czIdCS','operationsIsolated','315430axcNHd','1722440pfSYlT','status','_data','_editorOperations','2056548zvGnpp','active','set','parent','78IEtnyw','context','396QglDSc','operations','29938xcJkHq','isActivated','33103ROFISe'];_0x2161=function(){return _0x278757;};return _0x2161();}(function(_0x90a9bc,_0x188bce){var _0x446efd=_0x191c,_0x4fa1dc=_0x90a9bc();while(!![]){try{var _0x4c2c22=parseInt(_0x446efd(0x80))/0x1+-parseInt(_0x446efd(0x8f))/0x2*(-parseInt(_0x446efd(0x7d))/0x3)+parseInt(_0x446efd(0x87))/0x4+-parseInt(_0x446efd(0x7f))/0x5+parseInt(_0x446efd(0x8b))/0x6*(parseInt(_0x446efd(0x7b))/0x7)+parseInt(_0x446efd(0x83))/0x8+-parseInt(_0x446efd(0x8d))/0x9*(parseInt(_0x446efd(0x82))/0xa);if(_0x4c2c22===_0x188bce)break;else _0x4fa1dc['push'](_0x4fa1dc['shift']());}catch(_0x401954){_0x4fa1dc['push'](_0x4fa1dc['shift']());}}}(_0x2161,0x47728));import{ObservableMixin as _0x1a18a0}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x1a18a0(){['id'];[_0x35cfc8(0x8a)];[_0x35cfc8(0x85)];[_0x35cfc8(0x86)]=[];constructor(_0x12aca3,_0x131a35,_0x540c77){var _0x2e955b=_0x35cfc8;super(),this['id']=_0x12aca3,this[_0x2e955b(0x8a)]=_0x540c77,this[_0x2e955b(0x85)]=_0x131a35,this[_0x2e955b(0x89)](_0x2e955b(0x90),!0x1),this[_0x2e955b(0x89)](_0x2e955b(0x7c),!0x1),this[_0x2e955b(0x89)](_0x2e955b(0x84),_0x2e955b(0x88));}get[_0x35cfc8(0x7e)](){var _0xc6c051=_0x35cfc8;return this[_0xc6c051(0x85)][_0xc6c051(0x8c)]();}get[_0x35cfc8(0x8e)](){var _0x15c221=_0x35cfc8;return this[_0x15c221(0x85)][_0x15c221(0x8e)];}get[_0x35cfc8(0x81)](){var _0x38a023=_0x35cfc8;return this[_0x38a023(0x85)][_0x38a023(0x81)];}}
23
+ var _0x59b352=_0x42c7;function _0x1bb2(){var _0x76e3ac=['isRated','8117823ykWLLU','252685pMAmND','operations','1756432PZNHHg','11225yxTWkD','contentDiffed','isActivated','parent','context','set','pending','_editorOperations','operationsIsolated','11ZzPjht','1352319kZXTxk','5222385GABIvI','68dOmqpm','status','174OcEFDz','4VyCIGl','change:status','_data','25402970JUgFIN'];_0x1bb2=function(){return _0x76e3ac;};return _0x1bb2();}function _0x42c7(_0x13dcac,_0x2c2779){var _0x1bb2f9=_0x1bb2();return _0x42c7=function(_0x42c7f4,_0x1d0fe8){_0x42c7f4=_0x42c7f4-0x1c2;var _0x21aaa5=_0x1bb2f9[_0x42c7f4];return _0x21aaa5;},_0x42c7(_0x13dcac,_0x2c2779);}(function(_0x10dfca,_0x570bea){var _0x4f11af=_0x42c7,_0x2f8420=_0x10dfca();while(!![]){try{var _0x302d98=parseInt(_0x4f11af(0x1cc))/0x1*(-parseInt(_0x4f11af(0x1d8))/0x2)+-parseInt(_0x4f11af(0x1d6))/0x3*(-parseInt(_0x4f11af(0x1c3))/0x4)+-parseInt(_0x4f11af(0x1c9))/0x5*(parseInt(_0x4f11af(0x1c2))/0x6)+-parseInt(_0x4f11af(0x1c8))/0x7+parseInt(_0x4f11af(0x1cb))/0x8+parseInt(_0x4f11af(0x1d7))/0x9+-parseInt(_0x4f11af(0x1c6))/0xa*(-parseInt(_0x4f11af(0x1d5))/0xb);if(_0x302d98===_0x570bea)break;else _0x2f8420['push'](_0x2f8420['shift']());}catch(_0xa4f0c1){_0x2f8420['push'](_0x2f8420['shift']());}}}(_0x1bb2,0xbf669));import{ObservableMixin as _0x13c6e6}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x13c6e6(){['id'];[_0x59b352(0x1cf)];[_0x59b352(0x1c5)];[_0x59b352(0x1d3)]=[];constructor(_0x33ae0c,_0x1891d,_0x2491b5){var _0x2d8e62=_0x59b352;super(),this['id']=_0x33ae0c,this[_0x2d8e62(0x1cf)]=_0x2491b5,this[_0x2d8e62(0x1c5)]=_0x1891d,this[_0x2d8e62(0x1d1)](_0x2d8e62(0x1ce),!0x1),this[_0x2d8e62(0x1d1)](_0x2d8e62(0x1c7),!0x1),this[_0x2d8e62(0x1d1)](_0x2d8e62(0x1d9),_0x2d8e62(0x1d2)),this['on'](_0x2d8e62(0x1c4),()=>{var _0x276ab1=_0x2d8e62;_0x276ab1(0x1d2)!==this[_0x276ab1(0x1d9)]&&this[_0x276ab1(0x1ce)]&&(this[_0x276ab1(0x1ce)]=!0x1);});}get[_0x59b352(0x1cd)](){var _0x1b7fe4=_0x59b352;return this[_0x1b7fe4(0x1c5)][_0x1b7fe4(0x1d0)]();}get[_0x59b352(0x1ca)](){var _0x2d11bb=_0x59b352;return this[_0x2d11bb(0x1c5)][_0x2d11bb(0x1ca)];}get[_0x59b352(0x1d4)](){var _0x2f19c4=_0x59b352;return this[_0x2f19c4(0x1c5)][_0x2f19c4(0x1d4)];}}
@@ -52,6 +52,10 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
52
52
  * Whether the check run has any modifications (accepted or rejected changes).
53
53
  */
54
54
  get hasModifications(): boolean;
55
+ /**
56
+ * Returns the current error that occurred during the check run, if any.
57
+ */
58
+ get currentError(): Error | undefined;
55
59
  /**
56
60
  * Starts the check run resulting in an API call. After the call is finished, the status
57
61
  * and list of changes are updated.
@@ -71,6 +75,8 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
71
75
  markAllChangesAsAccepted(): void;
72
76
  markChangeAsAccepted(changeId: string): void;
73
77
  markChangeAsRejected(changeId: string): void;
78
+ markChangeAsOutdated(changeId: string): void;
79
+ markChangeAsPending(changeId: string): void;
74
80
  activateChange(changeId: string): void;
75
81
  deactivateChange(): void;
76
82
  forceReadyState(): void;
@@ -120,19 +126,12 @@ export type AIReviewCheckResultReadyEvent = {
120
126
  }
121
127
  ];
122
128
  };
123
- export type AIReviewCheckResultChangeAcceptedEvent = {
124
- name: 'reviewCheckResultAccepted';
125
- args: [
126
- {
127
- change: AIReviewCheckResultChange;
128
- }
129
- ];
130
- };
131
- export type AIReviewCheckResultChangeRejectedEvent = {
132
- name: 'reviewCheckResultRejected';
129
+ export type AIReviewCheckResultChangeStatusUpdatedEvent = {
130
+ name: 'reviewCheckResultChangeStatusUpdated';
133
131
  args: [
134
132
  {
135
133
  change: AIReviewCheckResultChange;
134
+ status: AIReviewCheckResultChange['status'];
136
135
  }
137
136
  ];
138
137
  };
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x34b8(){const _0x29b97c=['aborted','815590tWIGTB','67923wEeZzk','reviewCheckResultActivated','includes','initialized','9vEQRif','reviewCheckResultReady','_createApiRequest','get','_sendRatingRequest','processedResultsCount','change:status','_checkIfFinished','9762UbivZc','_addReviewCheckResult','dataId','set','error-chunk','status','find','textDelta','24ZFFnTB','_reviewArgs','reviewName','abortController','markAllChangesAsAccepted','ai-request-aborted','operation','422002DERIdO','title','2113144RzGCue','_documentData','490ihcbnj','hasModifications','getContent','isChangeActive','reviewCheckResultAccepted','filter','10068DjmhCK','review-metadata','reviewCheckResultAdded','subTitle','abort','activateChange','sendRating','loading','ready','forceReadyState','_changes','start','elements','693875kfrwzY','parent','length','1TuYNWN','markChangeAsAccepted','_aiConnector','_activeRequest','clear','callId','finished','reviewCheckResultRejected','addResultChanges','getActiveChanges','event','restart','reviewCheckResultDeactivated','data','accepted','rejected','change:isActivated','_currentError','version','documentData','unmodified','push','fire','error-general','forEach','error','every','isRated','getStream','2915ZzDoJE','reviewCheckRunUpdated','_sourceCheck','_results','markChangeAsRejected','message','deactivateChange','active','_reviewParams','size','isActivated'];_0x34b8=function(){return _0x29b97c;};return _0x34b8();}function _0x3ebb(_0x4e5fb5,_0x478bb7){const _0x34b81f=_0x34b8();return _0x3ebb=function(_0x3ebb66,_0x54d9a5){_0x3ebb66=_0x3ebb66-0x15a;let _0x2cd2ab=_0x34b81f[_0x3ebb66];return _0x2cd2ab;},_0x3ebb(_0x4e5fb5,_0x478bb7);}const _0x34c8b5=_0x3ebb;(function(_0x35cfb1,_0x2e7ca9){const _0x5712eb=_0x3ebb,_0x540a81=_0x35cfb1();while(!![]){try{const _0xcfc13d=parseInt(_0x5712eb(0x15a))/0x1*(parseInt(_0x5712eb(0x19f))/0x2)+-parseInt(_0x5712eb(0x184))/0x3*(-parseInt(_0x5712eb(0x198))/0x4)+-parseInt(_0x5712eb(0x1b6))/0x5+parseInt(_0x5712eb(0x190))/0x6*(parseInt(_0x5712eb(0x1a3))/0x7)+parseInt(_0x5712eb(0x1a1))/0x8*(-parseInt(_0x5712eb(0x188))/0x9)+-parseInt(_0x5712eb(0x183))/0xa+-parseInt(_0x5712eb(0x177))/0xb*(-parseInt(_0x5712eb(0x1a9))/0xc);if(_0xcfc13d===_0x2e7ca9)break;else _0x540a81['push'](_0x540a81['shift']());}catch(_0x185940){_0x540a81['push'](_0x540a81['shift']());}}}(_0x34b8,0x307c3));import{ObservableMixin as _0xaa832d,uid as _0xa6000e}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x47c163}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x1f0f1e}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0xaa832d(){['id']=_0xa6000e();[_0x34c8b5(0x15f)];[_0x34c8b5(0x17a)]=new Map();[_0x34c8b5(0x1b3)]=[];[_0x34c8b5(0x1a2)];[_0x34c8b5(0x179)];[_0x34c8b5(0x15c)];[_0x34c8b5(0x17f)];[_0x34c8b5(0x199)];[_0x34c8b5(0x15d)]=null;[_0x34c8b5(0x16b)];constructor(_0x432990,_0x42816c,_0x24589c,_0x470ab,_0x371e9c){const _0xb78c05=_0x34c8b5;super(),this[_0xb78c05(0x1a2)]=_0x432990,this[_0xb78c05(0x179)]=_0x42816c,this[_0xb78c05(0x15c)]=_0x24589c,this[_0xb78c05(0x17f)]=_0x470ab,this[_0xb78c05(0x199)]=_0x371e9c,this['on'](_0xb78c05(0x18e),(_0x43392e,_0xa7f400,_0x3599ab)=>{const _0x9e802=_0xb78c05;this[_0x9e802(0x170)](_0x9e802(0x178),{'status':_0x3599ab,'run':this,'error':this[_0x9e802(0x16b)]});}),this[_0xb78c05(0x193)](_0xb78c05(0x195),_0xb78c05(0x187));}get[_0x34c8b5(0x16d)](){const _0x1491b4=_0x34c8b5;return this[_0x1491b4(0x1a2)];}get[_0x34c8b5(0x18d)](){const _0x1c1faa=_0x34c8b5;return this[_0x1c1faa(0x17a)][_0x1c1faa(0x180)];}get[_0x34c8b5(0x1a0)](){const _0x5b8f9b=_0x34c8b5;return this[_0x5b8f9b(0x179)][_0x5b8f9b(0x1a0)];}get[_0x34c8b5(0x1ac)](){return'';}get[_0x34c8b5(0x19a)](){const _0x1ed58b=_0x34c8b5;return this[_0x1ed58b(0x179)]['id'];}get[_0x34c8b5(0x1a4)](){const _0xb20ce1=_0x34c8b5;return!this[_0xb20ce1(0x1b3)][_0xb20ce1(0x174)](_0x25ca86=>_0xb20ce1(0x17e)===_0x25ca86[_0xb20ce1(0x195)]);}async[_0x34c8b5(0x1b4)](){const _0x3669bd=_0x34c8b5;this[_0x3669bd(0x195)]=_0x3669bd(0x1b0),this[_0x3669bd(0x16b)]=void 0x0;try{this[_0x3669bd(0x15d)]=this[_0x3669bd(0x18a)]();const _0x501bb8=await this[_0x3669bd(0x15d)][_0x3669bd(0x176)]();this[_0x3669bd(0x195)]=_0x3669bd(0x167);for await(const _0x1b2bc2 of _0x501bb8)_0x3669bd(0x16e)!==_0x1b2bc2[_0x3669bd(0x167)][_0x3669bd(0x19e)]&&(_0x3669bd(0x173)!==_0x1b2bc2[_0x3669bd(0x167)][_0x3669bd(0x19e)]?_0x3669bd(0x1aa)!==_0x1b2bc2[_0x3669bd(0x164)]?this[_0x3669bd(0x191)](_0x1b2bc2[_0x3669bd(0x167)][_0x3669bd(0x192)],_0x1b2bc2[_0x3669bd(0x167)][_0x3669bd(0x197)]):this[_0x3669bd(0x15f)]=_0x1b2bc2[_0x3669bd(0x167)][_0x3669bd(0x15f)]:this[_0x3669bd(0x195)]=_0x3669bd(0x194));_0x3669bd(0x194)!==this[_0x3669bd(0x195)]&&(0x0===this[_0x3669bd(0x17a)][_0x3669bd(0x180)]?this[_0x3669bd(0x195)]=_0x3669bd(0x16e):this[_0x3669bd(0x195)]=_0x3669bd(0x1b1));}catch(_0x53cd6f){this[_0x3669bd(0x16b)]=_0x53cd6f,_0x53cd6f instanceof Error&&_0x53cd6f[_0x3669bd(0x17c)][_0x3669bd(0x186)](_0x3669bd(0x19d))?this[_0x3669bd(0x195)]=_0x3669bd(0x182):this[_0x3669bd(0x195)]=_0x3669bd(0x171);}finally{this[_0x3669bd(0x15d)]=null;}}async[_0x34c8b5(0x165)](){const _0x4d1fe7=_0x34c8b5;this[_0x4d1fe7(0x17a)][_0x4d1fe7(0x15e)](),this[_0x4d1fe7(0x1b3)][_0x4d1fe7(0x1b8)]=0x0,this[_0x4d1fe7(0x16b)]=void 0x0,await this[_0x4d1fe7(0x1b4)]();}[_0x34c8b5(0x162)](_0x523639,_0x26617c){const _0x485d81=_0x34c8b5,_0x4f284a=this[_0x485d81(0x17a)][_0x485d81(0x18b)](_0x523639);if(!_0x4f284a)return;const _0x104031=[];_0x26617c[_0x485d81(0x172)]((_0xb19516,_0x105ad5)=>{const _0x967bfb=_0x485d81,_0x541e2e=new _0x1f0f1e(_0x4f284a['id']+'-'+_0x105ad5,_0xb19516,_0x4f284a);_0x541e2e['on'](_0x967bfb(0x18e),()=>{const _0x43eab0=_0x967bfb;_0x43eab0(0x168)===_0x541e2e[_0x43eab0(0x195)]?this[_0x43eab0(0x170)](_0x43eab0(0x1a7),{'change':_0x541e2e}):_0x43eab0(0x169)===_0x541e2e[_0x43eab0(0x195)]&&this[_0x43eab0(0x170)](_0x43eab0(0x161),{'change':_0x541e2e});}),_0x541e2e['on'](_0x967bfb(0x16a),()=>{const _0x598a24=_0x967bfb;_0x541e2e[_0x598a24(0x181)]?this[_0x598a24(0x170)](_0x598a24(0x185),{'change':_0x541e2e}):this[_0x598a24(0x170)](_0x598a24(0x166),{'change':_0x541e2e});}),this[_0x967bfb(0x1b3)][_0x967bfb(0x16f)](_0x541e2e),_0x104031[_0x967bfb(0x16f)](_0x541e2e);}),this[_0x485d81(0x170)](_0x485d81(0x189),{'changes':_0x104031,'result':_0x4f284a,'source':this});}[_0x34c8b5(0x1ad)](){const _0x154d5d=_0x34c8b5;this[_0x154d5d(0x15d)]&&(this[_0x154d5d(0x15d)][_0x154d5d(0x19b)][_0x154d5d(0x1ad)](),this[_0x154d5d(0x15d)]=null,this[_0x154d5d(0x195)]=_0x154d5d(0x182));}[_0x34c8b5(0x1a6)](_0x4cd151){const _0x4b5543=_0x34c8b5,_0x319cdc=this[_0x4b5543(0x1b3)][_0x4b5543(0x196)](_0xe3f32b=>_0xe3f32b['id']===_0x4cd151);return!(!_0x319cdc||_0x4b5543(0x17e)!==_0x319cdc[_0x4b5543(0x195)]);}[_0x34c8b5(0x163)](){const _0x5ca91f=_0x34c8b5;return this[_0x5ca91f(0x1b3)][_0x5ca91f(0x1a8)](_0x5dcf76=>_0x5ca91f(0x17e)===_0x5dcf76[_0x5ca91f(0x195)]);}[_0x34c8b5(0x19c)](){const _0x3fe0cd=_0x34c8b5;for(const _0x3aa8a8 of this[_0x3fe0cd(0x1b3)])_0x3fe0cd(0x17e)===_0x3aa8a8[_0x3fe0cd(0x195)]&&(_0x3aa8a8[_0x3fe0cd(0x195)]=_0x3fe0cd(0x168));this[_0x3fe0cd(0x18f)]();}[_0x34c8b5(0x15b)](_0x38a3b2){const _0x4c98b0=_0x34c8b5,_0x3dd4cf=this[_0x4c98b0(0x1b3)][_0x4c98b0(0x196)](_0x19b2be=>_0x19b2be['id']===_0x38a3b2);_0x3dd4cf&&_0x4c98b0(0x17e)===_0x3dd4cf[_0x4c98b0(0x195)]&&(_0x3dd4cf[_0x4c98b0(0x195)]=_0x4c98b0(0x168)),this[_0x4c98b0(0x18f)]();}[_0x34c8b5(0x17b)](_0x266b3d){const _0x2191fa=_0x34c8b5,_0xfb35d6=this[_0x2191fa(0x1b3)][_0x2191fa(0x196)](_0x20c09d=>_0x20c09d['id']===_0x266b3d);_0xfb35d6&&_0x2191fa(0x17e)===_0xfb35d6[_0x2191fa(0x195)]&&(_0xfb35d6[_0x2191fa(0x195)]=_0x2191fa(0x169)),this[_0x2191fa(0x18f)]();}[_0x34c8b5(0x1ae)](_0x56ece3){const _0x1a4f06=_0x34c8b5;this[_0x1a4f06(0x1b3)][_0x1a4f06(0x1a8)](_0x306560=>_0x306560[_0x1a4f06(0x181)]&&_0x306560['id']!==_0x56ece3)[_0x1a4f06(0x172)](_0x40c1e5=>{const _0x4055ad=_0x1a4f06;_0x40c1e5[_0x4055ad(0x181)]=!0x1;});const _0x2ea20c=this[_0x1a4f06(0x1b3)][_0x1a4f06(0x196)](_0x417ab1=>_0x417ab1['id']===_0x56ece3);_0x2ea20c&&(_0x2ea20c[_0x1a4f06(0x181)]=!0x0);}[_0x34c8b5(0x17d)](){const _0x91dfd=_0x34c8b5;this[_0x91dfd(0x1b3)][_0x91dfd(0x1a8)](_0x359768=>_0x359768[_0x91dfd(0x181)])[_0x91dfd(0x172)](_0x49e4b3=>{const _0x41f398=_0x91dfd;_0x49e4b3[_0x41f398(0x181)]=!0x1;});}[_0x34c8b5(0x1b2)](){const _0x2778b9=_0x34c8b5;this[_0x2778b9(0x195)]=_0x2778b9(0x1b1);}async[_0x34c8b5(0x1af)](_0x19d8ef){const _0x59f9ef=_0x34c8b5;if(_0x59f9ef(0x187)===this[_0x59f9ef(0x195)]||_0x59f9ef(0x1b0)===this[_0x59f9ef(0x195)]||_0x59f9ef(0x167)===this[_0x59f9ef(0x195)])return;if(!this[_0x59f9ef(0x15f)]||0x0===this[_0x59f9ef(0x1b3)][_0x59f9ef(0x1b8)])return;let _0x5bfb0e;if(_0x19d8ef){const _0x2a3dd7=this[_0x59f9ef(0x1b3)][_0x59f9ef(0x196)](_0x167cb9=>_0x167cb9['id']===_0x19d8ef);if(_0x2a3dd7&&_0x2a3dd7[_0x59f9ef(0x175)])return;_0x2a3dd7&&(_0x5bfb0e=_0x2a3dd7[_0x59f9ef(0x1b7)]['id'],_0x2a3dd7[_0x59f9ef(0x175)]=!0x0);}const _0x54f30e={'positiveCount':this[_0x59f9ef(0x1b3)][_0x59f9ef(0x1a8)](_0x45b4a0=>_0x59f9ef(0x168)===_0x45b4a0[_0x59f9ef(0x195)])[_0x59f9ef(0x1b8)],'totalCount':this[_0x59f9ef(0x1b3)][_0x59f9ef(0x1b8)]};this[_0x59f9ef(0x18c)](_0x54f30e,this[_0x59f9ef(0x15f)],_0x5bfb0e);}[_0x34c8b5(0x191)](_0x328890,_0x5c24d8){const _0x10cc55=_0x34c8b5,_0x1397cf=this[_0x10cc55(0x1a2)][_0x10cc55(0x1b5)][_0x10cc55(0x18b)](_0x328890);if(!_0x1397cf)return;const _0x285f96=_0x1397cf[_0x10cc55(0x1a5)]();if(_0x285f96===_0x5c24d8)return;const _0x580576=new _0x47c163({'id':_0x328890,'contentInitial':_0x285f96,'contentNew':_0x5c24d8,'documentVersion':this[_0x10cc55(0x1a2)][_0x10cc55(0x16c)]});this[_0x10cc55(0x17a)][_0x10cc55(0x193)](_0x580576['id'],_0x580576),this[_0x10cc55(0x170)](_0x10cc55(0x1ab),{'result':_0x580576,'source':this});}[_0x34c8b5(0x18f)](){const _0x4e969a=_0x34c8b5;if(_0x4e969a(0x1b1)!==this[_0x4e969a(0x195)])return;0x0===this[_0x4e969a(0x1b3)][_0x4e969a(0x1a8)](_0x1e0b4f=>_0x4e969a(0x17e)===_0x1e0b4f[_0x4e969a(0x195)])[_0x4e969a(0x1b8)]&&(this[_0x4e969a(0x195)]=_0x4e969a(0x160));}}
23
+ function _0x471a(){const _0x4b6291=['_reviewParams','_checkIfFinished','17647XQWqmV','error-chunk','pending','change:isActivated','rejected','isActivated','message','activateChange','textDelta','outdated','ai-request-aborted','operation','event','1056566TkSmPP','fire','parent','19151ERViPU','2072585XUEazJ','1089476MhgMeD','dataId','getContent','abort','markChangeAsOutdated','initialized','616653NsyBNc','finished','reviewCheckRunUpdated','reviewName','markAllChangesAsAccepted','every','clear','reviewCheckResultDeactivated','hasModifications','_documentData','documentData','markChangeAsAccepted','4562568jxmdje','reviewCheckResultActivated','error-general','start','_createApiRequest','markChangeAsPending','_reviewArgs','deactivateChange','72cjdXaW','filter','addResultChanges','getActiveChanges','10370RhhbVL','currentError','3SYvWtA','includes','processedResultsCount','reviewCheckResultChangeStatusUpdated','aborted','markChangeAsRejected','_addReviewCheckResult','isChangeActive','abortController','version','forceReadyState','size','_changes','_currentError','callId','data','change:status','_aiConnector','reviewCheckResultReady','106CZhheP','accepted','error','unmodified','push','get','review-metadata','forEach','ready','sendRating','_results','title','_sendRatingRequest','_sourceCheck','status','loading','restart','subTitle','elements','getStream','reviewCheckResultAdded','set','_activeRequest','isRated','length','find'];_0x471a=function(){return _0x4b6291;};return _0x471a();}const _0x280a6c=_0x56e9;(function(_0x26a39b,_0x4beab4){const _0x1065a=_0x56e9,_0x498b7e=_0x26a39b();while(!![]){try{const _0x5b6a74=parseInt(_0x1065a(0x7d))/0x1*(parseInt(_0x1065a(0xc2))/0x2)+parseInt(_0x1065a(0xaf))/0x3*(-parseInt(_0x1065a(0x8f))/0x4)+-parseInt(_0x1065a(0x8e))/0x5+-parseInt(_0x1065a(0xa1))/0x6+parseInt(_0x1065a(0x8a))/0x7+parseInt(_0x1065a(0xa9))/0x8*(-parseInt(_0x1065a(0x95))/0x9)+-parseInt(_0x1065a(0xad))/0xa*(-parseInt(_0x1065a(0x8d))/0xb);if(_0x5b6a74===_0x4beab4)break;else _0x498b7e['push'](_0x498b7e['shift']());}catch(_0xbe83d3){_0x498b7e['push'](_0x498b7e['shift']());}}}(_0x471a,0xca11f));import{ObservableMixin as _0x3f345c,uid as _0x8c422f}from'ckeditor5/src/utils.js';function _0x56e9(_0x2bbd1e,_0x1e10dc){const _0x471a21=_0x471a();return _0x56e9=function(_0x56e97e,_0x4f9418){_0x56e97e=_0x56e97e-0x67;let _0x50b265=_0x471a21[_0x56e97e];return _0x50b265;},_0x56e9(_0x2bbd1e,_0x1e10dc);}import{AIReviewCheckResult as _0x41e75b}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x541cd0}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x3f345c(){['id']=_0x8c422f();[_0x280a6c(0xbd)];[_0x280a6c(0x6b)]=new Map();[_0x280a6c(0xbb)]=[];[_0x280a6c(0x9e)];[_0x280a6c(0x6e)];[_0x280a6c(0xc0)];[_0x280a6c(0x7b)];[_0x280a6c(0xa7)];[_0x280a6c(0x77)]=null;[_0x280a6c(0xbc)];constructor(_0x5872e9,_0x183e18,_0x2bd708,_0x179cd9,_0x3b73b5){const _0x2195c9=_0x280a6c;super(),this[_0x2195c9(0x9e)]=_0x5872e9,this[_0x2195c9(0x6e)]=_0x183e18,this[_0x2195c9(0xc0)]=_0x2bd708,this[_0x2195c9(0x7b)]=_0x179cd9,this[_0x2195c9(0xa7)]=_0x3b73b5,this['on'](_0x2195c9(0xbf),(_0x8b9fde,_0x21fc53,_0x6f7107)=>{const _0x2ae383=_0x2195c9;this[_0x2ae383(0x8b)](_0x2ae383(0x97),{'status':_0x6f7107,'run':this,'error':this[_0x2ae383(0xbc)]});}),this[_0x2195c9(0x76)](_0x2195c9(0x6f),_0x2195c9(0x94));}get[_0x280a6c(0x9f)](){const _0x227d36=_0x280a6c;return this[_0x227d36(0x9e)];}get[_0x280a6c(0xb1)](){const _0x4b83ee=_0x280a6c;return this[_0x4b83ee(0x6b)][_0x4b83ee(0xba)];}get[_0x280a6c(0x6c)](){const _0x6f2037=_0x280a6c;return this[_0x6f2037(0x6e)][_0x6f2037(0x6c)];}get[_0x280a6c(0x72)](){return'';}get[_0x280a6c(0x98)](){const _0x35e430=_0x280a6c;return this[_0x35e430(0x6e)]['id'];}get[_0x280a6c(0x9d)](){const _0x3b05a4=_0x280a6c;return!this[_0x3b05a4(0xbb)][_0x3b05a4(0x9a)](_0x53c80a=>_0x3b05a4(0x7f)===_0x53c80a[_0x3b05a4(0x6f)]);}get[_0x280a6c(0xae)](){const _0x1b2a59=_0x280a6c;return this[_0x1b2a59(0xbc)];}async[_0x280a6c(0xa4)](){const _0x2b7661=_0x280a6c;this[_0x2b7661(0x6f)]=_0x2b7661(0x70),this[_0x2b7661(0xbc)]=void 0x0;try{this[_0x2b7661(0x77)]=this[_0x2b7661(0xa5)]();const _0x3cc294=await this[_0x2b7661(0x77)][_0x2b7661(0x74)]();this[_0x2b7661(0x6f)]=_0x2b7661(0xbe);for await(const _0x136a92 of _0x3cc294)_0x2b7661(0xc5)!==_0x136a92[_0x2b7661(0xbe)][_0x2b7661(0x88)]&&(_0x2b7661(0xc4)!==_0x136a92[_0x2b7661(0xbe)][_0x2b7661(0x88)]?_0x2b7661(0x67)!==_0x136a92[_0x2b7661(0x89)]?this[_0x2b7661(0xb5)](_0x136a92[_0x2b7661(0xbe)][_0x2b7661(0x90)],_0x136a92[_0x2b7661(0xbe)][_0x2b7661(0x85)]):this[_0x2b7661(0xbd)]=_0x136a92[_0x2b7661(0xbe)][_0x2b7661(0xbd)]:this[_0x2b7661(0x6f)]=_0x2b7661(0x7e));_0x2b7661(0x7e)!==this[_0x2b7661(0x6f)]&&(0x0===this[_0x2b7661(0x6b)][_0x2b7661(0xba)]?this[_0x2b7661(0x6f)]=_0x2b7661(0xc5):this[_0x2b7661(0x6f)]=_0x2b7661(0x69));}catch(_0x5abc46){this[_0x2b7661(0xbc)]=_0x5abc46,_0x5abc46 instanceof Error&&_0x5abc46[_0x2b7661(0x83)][_0x2b7661(0xb0)](_0x2b7661(0x87))?this[_0x2b7661(0x6f)]=_0x2b7661(0xb3):this[_0x2b7661(0x6f)]=_0x2b7661(0xa3);}finally{this[_0x2b7661(0x77)]=null;}}async[_0x280a6c(0x71)](){const _0x4caabb=_0x280a6c;this[_0x4caabb(0x6b)][_0x4caabb(0x9b)](),this[_0x4caabb(0xbb)][_0x4caabb(0x79)]=0x0,this[_0x4caabb(0xbc)]=void 0x0,await this[_0x4caabb(0xa4)]();}[_0x280a6c(0xab)](_0x498074,_0x105986){const _0x4d7b54=_0x280a6c,_0xd5c4a5=this[_0x4d7b54(0x6b)][_0x4d7b54(0xc7)](_0x498074);if(!_0xd5c4a5)return;const _0x354ea3=[];_0x105986[_0x4d7b54(0x68)]((_0x53ba32,_0x68f183)=>{const _0x4745aa=_0x4d7b54,_0x45bdde=new _0x541cd0(_0xd5c4a5['id']+'-'+_0x68f183,_0x53ba32,_0xd5c4a5);_0x45bdde['on'](_0x4745aa(0xbf),()=>{const _0x40904c=_0x4745aa;this[_0x40904c(0x8b)](_0x40904c(0xb2),{'change':_0x45bdde,'status':_0x45bdde[_0x40904c(0x6f)]});}),_0x45bdde['on'](_0x4745aa(0x80),()=>{const _0x4517a6=_0x4745aa;_0x45bdde[_0x4517a6(0x82)]?this[_0x4517a6(0x8b)](_0x4517a6(0xa2),{'change':_0x45bdde}):this[_0x4517a6(0x8b)](_0x4517a6(0x9c),{'change':_0x45bdde});}),this[_0x4745aa(0xbb)][_0x4745aa(0xc6)](_0x45bdde),_0x354ea3[_0x4745aa(0xc6)](_0x45bdde);}),this[_0x4d7b54(0x8b)](_0x4d7b54(0xc1),{'changes':_0x354ea3,'result':_0xd5c4a5,'source':this});}[_0x280a6c(0x92)](){const _0x2c39ad=_0x280a6c;this[_0x2c39ad(0x77)]&&(this[_0x2c39ad(0x77)][_0x2c39ad(0xb7)][_0x2c39ad(0x92)](),this[_0x2c39ad(0x77)]=null,this[_0x2c39ad(0x6f)]=_0x2c39ad(0xb3));}[_0x280a6c(0xb6)](_0x3c8966){const _0x1ea948=_0x280a6c,_0xb62df5=this[_0x1ea948(0xbb)][_0x1ea948(0x7a)](_0x38002e=>_0x38002e['id']===_0x3c8966);return!(!_0xb62df5||_0x1ea948(0x7f)!==_0xb62df5[_0x1ea948(0x6f)]);}[_0x280a6c(0xac)](){const _0x2bb084=_0x280a6c;return this[_0x2bb084(0xbb)][_0x2bb084(0xaa)](_0x53dea8=>_0x2bb084(0x7f)===_0x53dea8[_0x2bb084(0x6f)]);}[_0x280a6c(0x99)](){const _0x13d0bb=_0x280a6c;for(const _0x4e237e of this[_0x13d0bb(0xbb)])_0x13d0bb(0x7f)===_0x4e237e[_0x13d0bb(0x6f)]&&(_0x4e237e[_0x13d0bb(0x6f)]=_0x13d0bb(0xc3));this[_0x13d0bb(0x7c)]();}[_0x280a6c(0xa0)](_0x4f4823){const _0x2d62cb=_0x280a6c,_0x4591ce=this[_0x2d62cb(0xbb)][_0x2d62cb(0x7a)](_0x337914=>_0x337914['id']===_0x4f4823);_0x4591ce&&_0x2d62cb(0x7f)===_0x4591ce[_0x2d62cb(0x6f)]&&(_0x4591ce[_0x2d62cb(0x6f)]=_0x2d62cb(0xc3)),this[_0x2d62cb(0x7c)]();}[_0x280a6c(0xb4)](_0x4351e0){const _0x277dd7=_0x280a6c,_0x352117=this[_0x277dd7(0xbb)][_0x277dd7(0x7a)](_0x2c4e29=>_0x2c4e29['id']===_0x4351e0);_0x352117&&_0x277dd7(0x7f)===_0x352117[_0x277dd7(0x6f)]&&(_0x352117[_0x277dd7(0x6f)]=_0x277dd7(0x81)),this[_0x277dd7(0x7c)]();}[_0x280a6c(0x93)](_0x471afc){const _0x581c8d=_0x280a6c,_0x1b105f=this[_0x581c8d(0xbb)][_0x581c8d(0x7a)](_0x5e05d7=>_0x5e05d7['id']===_0x471afc);_0x1b105f&&_0x581c8d(0x7f)===_0x1b105f[_0x581c8d(0x6f)]&&(_0x1b105f[_0x581c8d(0x6f)]=_0x581c8d(0x86)),this[_0x581c8d(0x7c)]();}[_0x280a6c(0xa6)](_0xd744b1){const _0x20eb8d=_0x280a6c,_0x35864e=this[_0x20eb8d(0xbb)][_0x20eb8d(0x7a)](_0x5c1226=>_0x5c1226['id']===_0xd744b1);_0x35864e&&_0x20eb8d(0x86)===_0x35864e[_0x20eb8d(0x6f)]&&(_0x35864e[_0x20eb8d(0x6f)]=_0x20eb8d(0x7f)),this[_0x20eb8d(0x7c)]();}[_0x280a6c(0x84)](_0x586e09){const _0x4cc439=_0x280a6c;this[_0x4cc439(0xbb)][_0x4cc439(0xaa)](_0x144a29=>_0x144a29[_0x4cc439(0x82)]&&_0x144a29['id']!==_0x586e09)[_0x4cc439(0x68)](_0x348b3f=>{const _0x3d20cb=_0x4cc439;_0x348b3f[_0x3d20cb(0x82)]=!0x1;});const _0x309619=this[_0x4cc439(0xbb)][_0x4cc439(0x7a)](_0x5bf310=>_0x5bf310['id']===_0x586e09);_0x309619&&_0x4cc439(0x7f)===_0x309619[_0x4cc439(0x6f)]&&(_0x309619[_0x4cc439(0x82)]=!0x0);}[_0x280a6c(0xa8)](){const _0x32d0eb=_0x280a6c;this[_0x32d0eb(0xbb)][_0x32d0eb(0xaa)](_0x1a155f=>_0x1a155f[_0x32d0eb(0x82)])[_0x32d0eb(0x68)](_0x270c9e=>{const _0x2a58e4=_0x32d0eb;_0x270c9e[_0x2a58e4(0x82)]=!0x1;});}[_0x280a6c(0xb9)](){const _0x1ce869=_0x280a6c;this[_0x1ce869(0x6f)]=_0x1ce869(0x69);}async[_0x280a6c(0x6a)](_0x18e95b){const _0x461ed0=_0x280a6c;if(_0x461ed0(0x94)===this[_0x461ed0(0x6f)]||_0x461ed0(0x70)===this[_0x461ed0(0x6f)]||_0x461ed0(0xbe)===this[_0x461ed0(0x6f)])return;if(!this[_0x461ed0(0xbd)]||0x0===this[_0x461ed0(0xbb)][_0x461ed0(0x79)])return;let _0x198f82;if(_0x18e95b){const _0x5987e2=this[_0x461ed0(0xbb)][_0x461ed0(0x7a)](_0x4ec401=>_0x4ec401['id']===_0x18e95b);if(_0x5987e2&&_0x5987e2[_0x461ed0(0x78)])return;_0x5987e2&&(_0x198f82=_0x5987e2[_0x461ed0(0x8c)]['id'],_0x5987e2[_0x461ed0(0x78)]=!0x0);}const _0x234ff1={'positiveCount':this[_0x461ed0(0xbb)][_0x461ed0(0xaa)](_0x25a39c=>_0x461ed0(0xc3)===_0x25a39c[_0x461ed0(0x6f)])[_0x461ed0(0x79)],'totalCount':this[_0x461ed0(0xbb)][_0x461ed0(0x79)]};this[_0x461ed0(0x6d)](_0x234ff1,this[_0x461ed0(0xbd)],_0x198f82);}[_0x280a6c(0xb5)](_0x507e79,_0x61b4a9){const _0x9123af=_0x280a6c,_0x36cab0=this[_0x9123af(0x9e)][_0x9123af(0x73)][_0x9123af(0xc7)](_0x507e79);if(!_0x36cab0)return;const _0x433030=_0x36cab0[_0x9123af(0x91)]();if(_0x433030===_0x61b4a9)return;const _0xdc2c03=new _0x41e75b({'id':_0x507e79,'contentInitial':_0x433030,'contentNew':_0x61b4a9,'documentVersion':this[_0x9123af(0x9e)][_0x9123af(0xb8)]});this[_0x9123af(0x6b)][_0x9123af(0x76)](_0xdc2c03['id'],_0xdc2c03),this[_0x9123af(0x8b)](_0x9123af(0x75),{'result':_0xdc2c03,'source':this});}[_0x280a6c(0x7c)](){const _0x1dd64c=_0x280a6c;_0x1dd64c(0x96)===this[_0x1dd64c(0x6f)]&&(this[_0x1dd64c(0xbb)][_0x1dd64c(0xaa)](_0x5f23f5=>_0x1dd64c(0x7f)===_0x5f23f5[_0x1dd64c(0x6f)])[_0x1dd64c(0x79)]>0x0&&(this[_0x1dd64c(0x6f)]=_0x1dd64c(0x69))),_0x1dd64c(0x69)===this[_0x1dd64c(0x6f)]&&(0x0===this[_0x1dd64c(0xbb)][_0x1dd64c(0xaa)](_0x2b9431=>_0x1dd64c(0x7f)===_0x2b9431[_0x1dd64c(0x6f)])[_0x1dd64c(0x79)]&&(this[_0x1dd64c(0x6f)]=_0x1dd64c(0x96)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x43331c=_0x5de6;function _0x5de6(_0x465cf7,_0x222941){var _0x492d9a=_0x492d();return _0x5de6=function(_0x5de66b,_0x18db8d){_0x5de66b=_0x5de66b-0x103;var _0x2db467=_0x492d9a[_0x5de66b];return _0x2db467;},_0x5de6(_0x465cf7,_0x222941);}(function(_0x14dfc5,_0x2c704a){var _0x2971c7=_0x5de6,_0x39909b=_0x14dfc5();while(!![]){try{var _0x14bd32=-parseInt(_0x2971c7(0x10d))/0x1*(-parseInt(_0x2971c7(0x10a))/0x2)+parseInt(_0x2971c7(0x115))/0x3+-parseInt(_0x2971c7(0x10e))/0x4*(-parseInt(_0x2971c7(0x106))/0x5)+-parseInt(_0x2971c7(0x103))/0x6+parseInt(_0x2971c7(0x112))/0x7+-parseInt(_0x2971c7(0x104))/0x8+-parseInt(_0x2971c7(0x10f))/0x9*(-parseInt(_0x2971c7(0x10c))/0xa);if(_0x14bd32===_0x2c704a)break;else _0x39909b['push'](_0x39909b['shift']());}catch(_0x149084){_0x39909b['push'](_0x39909b['shift']());}}}(_0x492d,0x37478));function _0x492d(){var _0x3bacd1=['2420984WywABA','callCustomReview','5UgdoTW','_createApiRequest','_prompt','_sendRatingRequest','4uFZFVp','upsertCustomAIReviewRating','10XghYEZ','9378fFwnCQ','414444OGUECR','5284071UuiKQc','_documentData','content','1114589fNbESK','subTitle','_aiConnector','142923VxUwJP','_model','2323842likUqH'];_0x492d=function(){return _0x3bacd1;};return _0x492d();}import{AIReviewCheckRun as _0x2df89d}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x2df89d{[_0x43331c(0x108)];[_0x43331c(0x116)];constructor(_0xb0600d,_0x4d704a,_0x223e0,_0x12e06d,_0x2fb4d3){var _0x566190=_0x43331c;super(_0x223e0,_0x12e06d,_0x2fb4d3),this[_0x566190(0x108)]=_0xb0600d,this[_0x566190(0x116)]=_0x4d704a;}get[_0x43331c(0x113)](){var _0x26da8c=_0x43331c;return this[_0x26da8c(0x108)];}[_0x43331c(0x107)](){var _0x5d9dfe=_0x43331c;return this[_0x5d9dfe(0x114)][_0x5d9dfe(0x105)]({'content':this[_0x5d9dfe(0x110)][_0x5d9dfe(0x111)],'prompt':this[_0x5d9dfe(0x108)],'model':this[_0x5d9dfe(0x116)]});}[_0x43331c(0x109)](_0x14d880,_0x1cdf09,_0x40cf13){var _0x5198c0=_0x43331c;return this[_0x5198c0(0x114)][_0x5198c0(0x10b)](_0x1cdf09,_0x14d880,_0x40cf13);}}
23
+ var _0x4dbab9=_0x50d4;function _0x68a3(){var _0x2123a1=['10566yeqEfp','170ypiSmC','504tGFExa','_sendRatingRequest','_aiConnector','722984QTfIae','callCustomReview','_createApiRequest','_model','2589900HjGzdG','_prompt','48588pYbqOQ','845gFBnXP','2136nuiNDC','content','14044QgUQlT','_documentData','739387LLoDax','subTitle','1736814VlPrvU','upsertCustomAIReviewRating'];_0x68a3=function(){return _0x2123a1;};return _0x68a3();}function _0x50d4(_0x20d25a,_0x18643e){var _0x68a35f=_0x68a3();return _0x50d4=function(_0x50d440,_0x1698cb){_0x50d440=_0x50d440-0x8b;var _0x4787cf=_0x68a35f[_0x50d440];return _0x4787cf;},_0x50d4(_0x20d25a,_0x18643e);}(function(_0x56a973,_0x3750de){var _0x33d59a=_0x50d4,_0x4d1b2a=_0x56a973();while(!![]){try{var _0x59904e=parseInt(_0x33d59a(0x93))/0x1+-parseInt(_0x33d59a(0x8c))/0x2+-parseInt(_0x33d59a(0x97))/0x3+-parseInt(_0x33d59a(0x9d))/0x4*(parseInt(_0x33d59a(0x9a))/0x5)+-parseInt(_0x33d59a(0x99))/0x6*(-parseInt(_0x33d59a(0x90))/0x7)+-parseInt(_0x33d59a(0x9b))/0x8*(-parseInt(_0x33d59a(0x8e))/0x9)+-parseInt(_0x33d59a(0x8f))/0xa*(-parseInt(_0x33d59a(0x9f))/0xb);if(_0x59904e===_0x3750de)break;else _0x4d1b2a['push'](_0x4d1b2a['shift']());}catch(_0x313ab0){_0x4d1b2a['push'](_0x4d1b2a['shift']());}}}(_0x68a3,0x6ab81));import{AIReviewCheckRun as _0x50f246}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x50f246{[_0x4dbab9(0x98)];[_0x4dbab9(0x96)];constructor(_0x4f36a3,_0x22d679,_0xbfa954,_0x120530,_0x3412d6){var _0x59e295=_0x4dbab9;super(_0xbfa954,_0x120530,_0x3412d6),this[_0x59e295(0x98)]=_0x4f36a3,this[_0x59e295(0x96)]=_0x22d679;}get[_0x4dbab9(0x8b)](){var _0x191b5=_0x4dbab9;return this[_0x191b5(0x98)];}[_0x4dbab9(0x95)](){var _0x5ef602=_0x4dbab9;return this[_0x5ef602(0x92)][_0x5ef602(0x94)]({'content':this[_0x5ef602(0x9e)][_0x5ef602(0x9c)],'prompt':this[_0x5ef602(0x98)],'model':this[_0x5ef602(0x96)]});}[_0x4dbab9(0x91)](_0x19b3a9,_0xe3b8d,_0x5ba53c){var _0x1d636c=_0x4dbab9;return this[_0x1d636c(0x92)][_0x1d636c(0x8d)](_0xe3b8d,_0x19b3a9,_0x5ba53c);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1008b2=_0x25e3;(function(_0x19d5cc,_0x116758){const _0x5602eb=_0x25e3,_0x4b4e3b=_0x19d5cc();while(!![]){try{const _0x32d5ca=parseInt(_0x5602eb(0x12a))/0x1*(-parseInt(_0x5602eb(0x12f))/0x2)+parseInt(_0x5602eb(0x12c))/0x3+parseInt(_0x5602eb(0x11f))/0x4*(parseInt(_0x5602eb(0x13a))/0x5)+-parseInt(_0x5602eb(0x11c))/0x6*(-parseInt(_0x5602eb(0x12b))/0x7)+-parseInt(_0x5602eb(0x138))/0x8+parseInt(_0x5602eb(0x11d))/0x9+parseInt(_0x5602eb(0x127))/0xa*(parseInt(_0x5602eb(0x13b))/0xb);if(_0x32d5ca===_0x116758)break;else _0x4b4e3b['push'](_0x4b4e3b['shift']());}catch(_0x15d4cf){_0x4b4e3b['push'](_0x4b4e3b['shift']());}}}(_0x1e37,0x35966));function _0x1e37(){const _0x550e01=['_aiConnector','length','subTitle','options','label','push','callSystemReview','2289448nHrbNF','reviewName','4355lvBXpF','133221zlsfvp','234MVDyGP','3145320uZWsZU','_createApiRequest','108YfoRiv','_sourceCheck','join','content','_reviewArgs','_documentData','upsertAIReviewRating','useArgs','10LuVhgR','_composeReviewName','data','1SSeYyl','29442cBbjZg','1048026Tomabi','find','_reviewParams','785618GsIzzw','_sendRatingRequest'];_0x1e37=function(){return _0x550e01;};return _0x1e37();}import{AIReviewCheckRun as _0x38533b}from'./aireviewcheckrun.js';function _0x25e3(_0xb63d9,_0x303484){const _0x1e3784=_0x1e37();return _0x25e3=function(_0x25e3f0,_0x2a9718){_0x25e3f0=_0x25e3f0-0x11c;let _0x296455=_0x1e3784[_0x25e3f0];return _0x296455;},_0x25e3(_0xb63d9,_0x303484);}export class AIReviewSystemCheckRun extends _0x38533b{get[_0x1008b2(0x133)](){const _0x3481aa=_0x1008b2;if(!this[_0x3481aa(0x12e)]||0x0===this[_0x3481aa(0x12e)][_0x3481aa(0x132)])return'';const _0x178c97=[];if(this[_0x3481aa(0x12e)][_0x3481aa(0x132)]>0x0&&this[_0x3481aa(0x120)][_0x3481aa(0x134)])for(let _0x3d3da4=0x0;_0x3d3da4<this[_0x3481aa(0x12e)][_0x3481aa(0x132)];_0x3d3da4++){if(!this[_0x3481aa(0x12e)][_0x3d3da4]||!this[_0x3481aa(0x120)][_0x3481aa(0x134)][_0x3d3da4])continue;const _0x49a073=this[_0x3481aa(0x120)][_0x3481aa(0x134)][_0x3d3da4],_0x27c19a=_0x49a073[_0x3481aa(0x129)]?.[_0x3481aa(0x12d)](_0x4f4d95=>_0x4f4d95['id']===this[_0x3481aa(0x12e)][_0x3d3da4]);_0x27c19a&&_0x178c97[_0x3481aa(0x136)](_0x27c19a[_0x3481aa(0x135)]);}return _0x178c97[_0x3481aa(0x121)](',\x20');}get[_0x1008b2(0x139)](){const _0xc3c5ed=_0x1008b2;return this[_0xc3c5ed(0x128)]();}[_0x1008b2(0x11e)](){const _0x915c06=_0x1008b2;return this[_0x915c06(0x131)][_0x915c06(0x137)]({'reviewName':this[_0x915c06(0x128)](),'content':this[_0x915c06(0x124)][_0x915c06(0x122)],'args':this[_0x915c06(0x123)]});}[_0x1008b2(0x130)](_0x43453c,_0x63d835,_0x5d0b3f){const _0x39876c=_0x1008b2;return this[_0x39876c(0x131)][_0x39876c(0x125)](this[_0x39876c(0x139)],_0x63d835,_0x43453c,_0x5d0b3f);}[_0x1008b2(0x128)](){const _0x20841f=_0x1008b2;return!this[_0x20841f(0x12e)]||0x0===this[_0x20841f(0x12e)][_0x20841f(0x132)]||this[_0x20841f(0x120)][_0x20841f(0x126)]?this[_0x20841f(0x120)]['id']:[this[_0x20841f(0x120)]['id'],...this[_0x20841f(0x12e)]][_0x20841f(0x121)]('-');}}
23
+ function _0x3c92(_0x5bba12,_0x5bdbd0){const _0x39988d=_0x3998();return _0x3c92=function(_0x3c92ae,_0x36d09e){_0x3c92ae=_0x3c92ae-0x13e;let _0x748bcc=_0x39988d[_0x3c92ae];return _0x748bcc;},_0x3c92(_0x5bba12,_0x5bdbd0);}function _0x3998(){const _0xfead71=['push','callSystemReview','34047310SkyAfZ','options','1059569LaUeAL','upsertAIReviewRating','_reviewArgs','56sXAAls','4667142oCrRGK','length','_createApiRequest','_sendRatingRequest','reviewName','useArgs','content','_composeReviewName','label','data','14ZZHckt','_sourceCheck','_reviewParams','4162950oicHwx','subTitle','882764KXNPCQ','2492585aDcbDP','_aiConnector','join','_documentData','find','87185nSNwSw','18yhDBJC'];_0x3998=function(){return _0xfead71;};return _0x3998();}const _0x36f46d=_0x3c92;(function(_0x46aecc,_0x16f32e){const _0x364956=_0x3c92,_0x19d9c9=_0x46aecc();while(!![]){try{const _0x1f29d4=-parseInt(_0x364956(0x144))/0x1*(parseInt(_0x364956(0x158))/0x2)+-parseInt(_0x364956(0x14e))/0x3+-parseInt(_0x364956(0x13e))/0x4+-parseInt(_0x364956(0x13f))/0x5*(-parseInt(_0x364956(0x145))/0x6)+parseInt(_0x364956(0x14a))/0x7*(-parseInt(_0x364956(0x14d))/0x8)+-parseInt(_0x364956(0x15b))/0x9+parseInt(_0x364956(0x148))/0xa;if(_0x1f29d4===_0x16f32e)break;else _0x19d9c9['push'](_0x19d9c9['shift']());}catch(_0x137816){_0x19d9c9['push'](_0x19d9c9['shift']());}}}(_0x3998,0xf20e7));import{AIReviewCheckRun as _0x5f209a}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x5f209a{get[_0x36f46d(0x15c)](){const _0x1e1809=_0x36f46d;if(!this[_0x1e1809(0x15a)]||0x0===this[_0x1e1809(0x15a)][_0x1e1809(0x14f)])return'';const _0x11200a=[];if(this[_0x1e1809(0x15a)][_0x1e1809(0x14f)]>0x0&&this[_0x1e1809(0x159)][_0x1e1809(0x149)])for(let _0x4fdb8d=0x0;_0x4fdb8d<this[_0x1e1809(0x15a)][_0x1e1809(0x14f)];_0x4fdb8d++){if(!this[_0x1e1809(0x15a)][_0x4fdb8d]||!this[_0x1e1809(0x159)][_0x1e1809(0x149)][_0x4fdb8d])continue;const _0x3f3db8=this[_0x1e1809(0x159)][_0x1e1809(0x149)][_0x4fdb8d],_0x4068f5=_0x3f3db8[_0x1e1809(0x157)]?.[_0x1e1809(0x143)](_0x5b7cab=>_0x5b7cab['id']===this[_0x1e1809(0x15a)][_0x4fdb8d]);_0x4068f5&&_0x11200a[_0x1e1809(0x146)](_0x4068f5[_0x1e1809(0x156)]);}return _0x11200a[_0x1e1809(0x141)](',\x20');}get[_0x36f46d(0x152)](){const _0x35910c=_0x36f46d;return this[_0x35910c(0x155)]();}[_0x36f46d(0x150)](){const _0x565710=_0x36f46d;return this[_0x565710(0x140)][_0x565710(0x147)]({'reviewName':this[_0x565710(0x155)](),'content':this[_0x565710(0x142)][_0x565710(0x154)],'args':this[_0x565710(0x14c)]});}[_0x36f46d(0x151)](_0xb95aa2,_0x140e35,_0x59d7fe){const _0x512d73=_0x36f46d;return this[_0x512d73(0x140)][_0x512d73(0x14b)](this[_0x512d73(0x152)],_0x140e35,_0xb95aa2,_0x59d7fe);}[_0x36f46d(0x155)](){const _0x103430=_0x36f46d;return!this[_0x103430(0x15a)]||0x0===this[_0x103430(0x15a)][_0x103430(0x14f)]||this[_0x103430(0x159)][_0x103430(0x153)]?this[_0x103430(0x159)]['id']:[this[_0x103430(0x159)]['id'],...this[_0x103430(0x15a)]][_0x103430(0x141)]('-');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2db11f=_0x150f;function _0x150f(_0xd49f8d,_0x281a84){var _0x2ff256=_0x2ff2();return _0x150f=function(_0x150fdc,_0x3e0df6){_0x150fdc=_0x150fdc-0xc6;var _0x234b07=_0x2ff256[_0x150fdc];return _0x234b07;},_0x150f(_0xd49f8d,_0x281a84);}(function(_0x244636,_0x45699c){var _0x1144db=_0x150f,_0x2bb1f5=_0x244636();while(!![]){try{var _0x138b97=-parseInt(_0x1144db(0xd5))/0x1+-parseInt(_0x1144db(0xde))/0x2+-parseInt(_0x1144db(0xd4))/0x3+-parseInt(_0x1144db(0xc8))/0x4+parseInt(_0x1144db(0xdb))/0x5*(-parseInt(_0x1144db(0xdf))/0x6)+-parseInt(_0x1144db(0xcf))/0x7*(-parseInt(_0x1144db(0xc7))/0x8)+parseInt(_0x1144db(0xcd))/0x9*(parseInt(_0x1144db(0xd9))/0xa);if(_0x138b97===_0x45699c)break;else _0x2bb1f5['push'](_0x2bb1f5['shift']());}catch(_0x42b45f){_0x2bb1f5['push'](_0x2bb1f5['shift']());}}}(_0x2ff2,0xb9123));function _0x2ff2(){var _0x5f434d=['set','element','631473uleIDL','121922LBCJiw','extendTemplate','listenTo','keystrokes','10840qgHPvF','render','4207765BIeyLC','ai-review-mode-prompt-input','update','1273046oZrfVT','6EMampe','MAX_ROWS','601384wapCrq','3933024hcZfHG','trim','MIN_ROWS','value','maxRows','19503MlrQDO','isEmpty','112cPQObZ','minRows','ck-review-mode__prompt-input'];_0x2ff2=function(){return _0x5f434d;};return _0x2ff2();}import{TextareaView as _0x56d34f}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5ae01a}from'ckeditor5/src/utils.js';export class AIReviewModePromptInputView extends _0x56d34f{[_0x2db11f(0xd8)];static [_0x2db11f(0xca)]=0x1;static [_0x2db11f(0xc6)]=0xc;constructor(_0x26dd36){var _0x5e9b25=_0x2db11f;super(_0x26dd36),this[_0x5e9b25(0xd2)](_0x5e9b25(0xce),!0x0),this[_0x5e9b25(0xd8)]=new _0x5ae01a(),this[_0x5e9b25(0xd0)]=AIReviewModePromptInputView[_0x5e9b25(0xca)],this[_0x5e9b25(0xcc)]=AIReviewModePromptInputView[_0x5e9b25(0xc6)],this[_0x5e9b25(0xd6)]({'attributes':{'id':_0x5e9b25(0xdc),'class':['ck',_0x5e9b25(0xd1)]}});}[_0x2db11f(0xda)](){var _0x2aedf5=_0x2db11f;super[_0x2aedf5(0xda)](),this['on'](_0x2aedf5(0xdd),()=>{var _0x1d08f0=_0x2aedf5;this[_0x1d08f0(0xce)]=''===this[_0x1d08f0(0xd3)][_0x1d08f0(0xcb)]?.[_0x1d08f0(0xc9)]();}),this[_0x2aedf5(0xd8)][_0x2aedf5(0xd7)](this[_0x2aedf5(0xd3)]);}}
23
+ function _0x6cb5(_0x3f16de,_0x26368d){var _0x2af597=_0x2af5();return _0x6cb5=function(_0x6cb589,_0x529d04){_0x6cb589=_0x6cb589-0x1e4;var _0x48cbde=_0x2af597[_0x6cb589];return _0x48cbde;},_0x6cb5(_0x3f16de,_0x26368d);}var _0x16879d=_0x6cb5;(function(_0x1bef57,_0x3ea7f2){var _0x5300e4=_0x6cb5,_0x4de3e5=_0x1bef57();while(!![]){try{var _0x6e65c2=-parseInt(_0x5300e4(0x1fd))/0x1*(parseInt(_0x5300e4(0x1e7))/0x2)+-parseInt(_0x5300e4(0x1e8))/0x3*(parseInt(_0x5300e4(0x1f5))/0x4)+-parseInt(_0x5300e4(0x1ea))/0x5+-parseInt(_0x5300e4(0x1f0))/0x6+parseInt(_0x5300e4(0x1ec))/0x7*(-parseInt(_0x5300e4(0x1fa))/0x8)+-parseInt(_0x5300e4(0x1e6))/0x9+parseInt(_0x5300e4(0x1e5))/0xa;if(_0x6e65c2===_0x3ea7f2)break;else _0x4de3e5['push'](_0x4de3e5['shift']());}catch(_0x63b192){_0x4de3e5['push'](_0x4de3e5['shift']());}}}(_0x2af5,0xd47fe));import{TextareaView as _0x5d0b74}from'ckeditor5/src/ui.js';function _0x2af5(){var _0x4eac4d=['render','710AfZvuU','MIN_ROWS','77285990RkgtMO','13409478IQhjGb','2122NOBSlB','3oqqPWe','element','2297610ZhiqOa','ck-review-mode__prompt-input','10871abebdo','set','isEmpty','listenTo','7432560bTOseW','keystrokes','update','value','MAX_ROWS','5075736YVjAqt','minRows','maxRows','extendTemplate','trim','8488wMnxur','ai-review-mode-prompt-input'];_0x2af5=function(){return _0x4eac4d;};return _0x2af5();}import{KeystrokeHandler as _0x51a973}from'ckeditor5/src/utils.js';export class AIReviewModePromptInputView extends _0x5d0b74{[_0x16879d(0x1f1)];static [_0x16879d(0x1e4)]=0x1;static [_0x16879d(0x1f4)]=0xc;constructor(_0x186ed1){var _0x32ea2c=_0x16879d;super(_0x186ed1),this[_0x32ea2c(0x1ed)](_0x32ea2c(0x1ee),!0x0),this[_0x32ea2c(0x1f1)]=new _0x51a973(),this[_0x32ea2c(0x1f6)]=AIReviewModePromptInputView[_0x32ea2c(0x1e4)],this[_0x32ea2c(0x1f7)]=AIReviewModePromptInputView[_0x32ea2c(0x1f4)],this[_0x32ea2c(0x1f8)]({'attributes':{'id':_0x32ea2c(0x1fb),'class':['ck',_0x32ea2c(0x1eb)]}});}[_0x16879d(0x1fc)](){var _0x57abec=_0x16879d;super[_0x57abec(0x1fc)](),this['on'](_0x57abec(0x1f2),()=>{var _0x259394=_0x57abec;this[_0x259394(0x1ee)]=''===this[_0x259394(0x1e9)][_0x259394(0x1f3)]?.[_0x259394(0x1f9)]();}),this[_0x57abec(0x1f1)][_0x57abec(0x1ef)](this[_0x57abec(0x1e9)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5441(){const _0xa82a7=['954200MCgKAX','content','getClientRects','showBalloon','hideBalloon','add','resultItemView','extendTemplate','find','innerHTML','129756JmyrIY','_getBestRectPosition','54DApLAO','1732412viAsWc','pin','unpin','dismissChange','isVisible','ck-ai-review-mode__suggestion-text','div','_setupClickOutsideHandler','69097kUTzbt','ck-reset','arrow_se','updateContent','11565090yEQhjQ','fire','deactivateChange','locale','hideDiffInBalloon','1142840PkfWzO','3kuppOr','show','_createContentView','acceptChange','set','width','119550ywvzGF','ck-ai-review-mode-balloon-panel-suggestion','setTemplate','delegate','showDiff','resultResponseView','render','changeId','contentDiffed','from','element','showDiffInBalloon','hide','ck-content'];_0x5441=function(){return _0xa82a7;};return _0x5441();}const _0x8b16ad=_0x4eaa;(function(_0x4fb812,_0x1ffa02){const _0x34b355=_0x4eaa,_0x358411=_0x4fb812();while(!![]){try{const _0x5d7bb0=-parseInt(_0x34b355(0x180))/0x1+parseInt(_0x34b355(0x168))/0x2+parseInt(_0x34b355(0x162))/0x3*(-parseInt(_0x34b355(0x183))/0x4)+-parseInt(_0x34b355(0x161))/0x5+parseInt(_0x34b355(0x182))/0x6*(-parseInt(_0x34b355(0x18b))/0x7)+-parseInt(_0x34b355(0x176))/0x8+parseInt(_0x34b355(0x15c))/0x9;if(_0x5d7bb0===_0x1ffa02)break;else _0x358411['push'](_0x358411['shift']());}catch(_0x41e6c3){_0x358411['push'](_0x358411['shift']());}}}(_0x5441,0x5449c));import{BalloonPanelView as _0x280d7a,View as _0x4f28e6,clickOutsideHandler as _0x1a3b16}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x18a1d3}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';function _0x4eaa(_0x3da3fd,_0x255a16){const _0x544161=_0x5441();return _0x4eaa=function(_0x4eaa4f,_0x2a8166){_0x4eaa4f=_0x4eaa4f-0x15b;let _0x3cba17=_0x544161[_0x4eaa4f];return _0x3cba17;},_0x4eaa(_0x3da3fd,_0x255a16);}export class AIReviewModeBalloonSuggestionItemView extends _0x280d7a{[_0x8b16ad(0x17c)];constructor(_0x5dd9cd,_0x83dfbe){const _0x5d0457=_0x8b16ad;super(_0x5dd9cd),this[_0x5d0457(0x166)]({'isVisible':!0x1,'position':_0x5d0457(0x18d),'class':null,'top':0x0,'left':0x0}),this[_0x5d0457(0x17d)]({'tag':_0x5d0457(0x189),'attributes':{'class':[_0x5d0457(0x18c)],'tabindex':'-1'}}),this[_0x5d0457(0x177)][_0x5d0457(0x17b)](this[_0x5d0457(0x164)]()),_0x83dfbe[_0x5d0457(0x17b)](this);}[_0x8b16ad(0x16e)](){const _0x397754=_0x8b16ad;super[_0x397754(0x16e)](),this[_0x397754(0x18a)]();}[_0x8b16ad(0x15b)](_0x4154e6){const _0x3686ef=_0x8b16ad;this[_0x3686ef(0x17c)][_0x3686ef(0x16f)]=_0x4154e6['id'],this[_0x3686ef(0x17c)][_0x3686ef(0x16d)][_0x3686ef(0x172)][_0x3686ef(0x17f)]=_0x4154e6[_0x3686ef(0x170)];}[_0x8b16ad(0x179)](_0x2b1e7e,_0xb55777){const _0xc2e77b=_0x8b16ad;this[_0xc2e77b(0x15b)](_0x2b1e7e),this[_0xc2e77b(0x163)](),this[_0xc2e77b(0x184)]({'target':()=>this[_0xc2e77b(0x181)](_0xb55777)});}[_0x8b16ad(0x17a)](){const _0x238ac4=_0x8b16ad;this[_0x238ac4(0x174)](),this[_0x238ac4(0x185)]();}[_0x8b16ad(0x160)](){const _0x1f4836=_0x8b16ad;this[_0x1f4836(0x17c)][_0x1f4836(0x16c)]=!0x1;}[_0x8b16ad(0x173)](){const _0x5810f5=_0x8b16ad;this[_0x5810f5(0x17c)][_0x5810f5(0x16c)]=!0x0;}[_0x8b16ad(0x15e)](){const _0x5587f1=_0x8b16ad;this[_0x5587f1(0x15d)](_0x5587f1(0x15e));}[_0x8b16ad(0x18a)](){const _0x10b70e=_0x8b16ad;_0x1a3b16({'emitter':this,'activator':()=>this[_0x10b70e(0x187)],'contextElements':[this[_0x10b70e(0x172)]],'callback':()=>{const _0x2dc6ba=_0x10b70e;this[_0x2dc6ba(0x17a)](),this[_0x2dc6ba(0x15e)]();}});}[_0x8b16ad(0x164)](){const _0x29f985=_0x8b16ad,_0x63e39b=new _0x4f28e6();return this[_0x29f985(0x17c)]=new _0x18a1d3(this[_0x29f985(0x15f)],''),this[_0x29f985(0x17c)][_0x29f985(0x16d)][_0x29f985(0x17d)]({'attributes':{'class':[_0x29f985(0x175)]}}),this[_0x29f985(0x17c)][_0x29f985(0x16b)](_0x29f985(0x165),_0x29f985(0x186))['to'](this),_0x63e39b[_0x29f985(0x16a)]({'tag':_0x29f985(0x189),'attributes':{'class':[_0x29f985(0x18c),_0x29f985(0x169)]},'children':[{'tag':'p','attributes':{'class':[_0x29f985(0x188)]},'children':[this[_0x29f985(0x17c)]]}]}),_0x63e39b;}[_0x8b16ad(0x181)](_0x40e52a){const _0x285823=_0x8b16ad,_0x14ad0a=Array[_0x285823(0x171)](_0x40e52a[_0x285823(0x178)]());return _0x14ad0a[_0x285823(0x17e)](_0x14bd32=>_0x14bd32[_0x285823(0x167)]>0x0)||_0x14ad0a[0x0];}}
23
+ const _0x13581b=_0x2dbe;(function(_0x11ebfb,_0x426de2){const _0x5b2b9e=_0x2dbe,_0x46ff20=_0x11ebfb();while(!![]){try{const _0x2bc774=-parseInt(_0x5b2b9e(0xdc))/0x1+-parseInt(_0x5b2b9e(0xfc))/0x2*(parseInt(_0x5b2b9e(0xfe))/0x3)+parseInt(_0x5b2b9e(0xf0))/0x4+parseInt(_0x5b2b9e(0xe5))/0x5+parseInt(_0x5b2b9e(0xf4))/0x6*(-parseInt(_0x5b2b9e(0xe0))/0x7)+-parseInt(_0x5b2b9e(0xe8))/0x8+parseInt(_0x5b2b9e(0xd7))/0x9;if(_0x2bc774===_0x426de2)break;else _0x46ff20['push'](_0x46ff20['shift']());}catch(_0x191670){_0x46ff20['push'](_0x46ff20['shift']());}}}(_0x5e11,0x3fed4));import{BalloonPanelView as _0x3297db,View as _0x4cc832,clickOutsideHandler as _0xe0fcd9}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x5736d2}from'./aireviewmodechecklistitemresultview.js';function _0x2dbe(_0x15f4dc,_0x3173ee){const _0x5e119d=_0x5e11();return _0x2dbe=function(_0x2dbef0,_0x33729a){_0x2dbef0=_0x2dbef0-0xd4;let _0x30b56b=_0x5e119d[_0x2dbef0];return _0x30b56b;},_0x2dbe(_0x15f4dc,_0x3173ee);}function _0x5e11(){const _0x2fc5cb=['acceptChange','ck-ai-review-mode-balloon-panel-suggestion','20716yzhgNU','hide','changeId','add','1139820gcwHto','fire','ck-reset','showBalloon','isVisible','innerHTML','set','element','2fZisza','showDiff','267519NaDxKE','contentDiffed','resultResponseView','ck-content','getClientRects','_setupClickOutsideHandler','render','setTemplate','pin','div','resultItemView','from','3862134hkwGQK','find','width','_getBestRectPosition','extendTemplate','143377rjnvxb','showDiffInBalloon','locale','_createContentView','7UgFqLp','updateContent','arrow_se','hideDiffInBalloon','hideBalloon','1867100tGFkrd','ck-ai-review-mode__suggestion-text','dismissChange','986888khMXeX','deactivateChange','show','content','unpin','delegate'];_0x5e11=function(){return _0x2fc5cb;};return _0x5e11();}import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x3297db{[_0x13581b(0xd5)];constructor(_0x19b479,_0x51d2a0){const _0x180735=_0x13581b;super(_0x19b479),this[_0x180735(0xfa)]({'isVisible':!0x1,'position':_0x180735(0xe2),'class':null,'top':0x0,'left':0x0}),this[_0x180735(0xdb)]({'tag':_0x180735(0xd4),'attributes':{'class':[_0x180735(0xf6)],'tabindex':'-1'}}),this[_0x180735(0xeb)][_0x180735(0xf3)](this[_0x180735(0xdf)]()),_0x51d2a0[_0x180735(0xf3)](this);}[_0x13581b(0x104)](){const _0x5e9d14=_0x13581b;super[_0x5e9d14(0x104)](),this[_0x5e9d14(0x103)]();}[_0x13581b(0xe1)](_0x26bbdd){const _0x2bf934=_0x13581b;this[_0x2bf934(0xd5)][_0x2bf934(0xf2)]=_0x26bbdd['id'],this[_0x2bf934(0xd5)][_0x2bf934(0x100)][_0x2bf934(0xfb)][_0x2bf934(0xf9)]=_0x26bbdd[_0x2bf934(0xff)];}[_0x13581b(0xf7)](_0x12ab10,_0x649c38){const _0x1916cd=_0x13581b;this[_0x1916cd(0xe1)](_0x12ab10),this[_0x1916cd(0xea)](),this[_0x1916cd(0x106)]({'target':()=>this[_0x1916cd(0xda)](_0x649c38)});}[_0x13581b(0xe4)](){const _0x32e95f=_0x13581b;this[_0x32e95f(0xf1)](),this[_0x32e95f(0xec)]();}[_0x13581b(0xe3)](){const _0x43bf3b=_0x13581b;this[_0x43bf3b(0xd5)][_0x43bf3b(0xfd)]=!0x1;}[_0x13581b(0xdd)](){const _0x343cc8=_0x13581b;this[_0x343cc8(0xd5)][_0x343cc8(0xfd)]=!0x0;}[_0x13581b(0xe9)](){const _0x188d43=_0x13581b;this[_0x188d43(0xf5)](_0x188d43(0xe9));}[_0x13581b(0x103)](){const _0x342993=_0x13581b;_0xe0fcd9({'emitter':this,'activator':()=>this[_0x342993(0xf8)],'contextElements':[this[_0x342993(0xfb)]],'callback':()=>{const _0x2508b0=_0x342993;this[_0x2508b0(0xe4)](),this[_0x2508b0(0xe9)]();}});}[_0x13581b(0xdf)](){const _0x248be7=_0x13581b,_0x566ad9=new _0x4cc832();return this[_0x248be7(0xd5)]=new _0x5736d2(this[_0x248be7(0xde)],''),this[_0x248be7(0xd5)][_0x248be7(0x100)][_0x248be7(0xdb)]({'attributes':{'class':[_0x248be7(0x101)]}}),this[_0x248be7(0xd5)][_0x248be7(0xed)](_0x248be7(0xee),_0x248be7(0xe7))['to'](this),_0x566ad9[_0x248be7(0x105)]({'tag':_0x248be7(0xd4),'attributes':{'class':[_0x248be7(0xf6),_0x248be7(0xef)]},'children':[{'tag':'p','attributes':{'class':[_0x248be7(0xe6)]},'children':[this[_0x248be7(0xd5)]]}]}),_0x566ad9;}[_0x13581b(0xda)](_0x5c7fed){const _0x2390b5=_0x13581b,_0xe9bc73=Array[_0x2390b5(0xd6)](_0x5c7fed[_0x2390b5(0x102)]());return _0xe9bc73[_0x2390b5(0xd8)](_0x47a522=>_0x47a522[_0x2390b5(0xd9)]>0x0)||_0xe9bc73[0x0];}}
@@ -7,11 +7,13 @@
7
7
  */
8
8
  import { type Locale } from 'ckeditor5/src/utils.js';
9
9
  import { View, ButtonView } from 'ckeditor5/src/ui.js';
10
+ import { type AIReviewCheckResultChange } from '../model/aireviewcheckresultchange.js';
10
11
  export declare class AIReviewModeReviewCheckListItemResultsView extends View {
11
12
  resultResponseView: View;
12
13
  acceptButtonView: ButtonView;
13
14
  dismissButtonView: ButtonView;
14
15
  infoButtonView: ButtonView;
16
+ statusButtonView: ButtonView;
15
17
  /**
16
18
  * @observable
17
19
  */
@@ -28,6 +30,10 @@ export declare class AIReviewModeReviewCheckListItemResultsView extends View {
28
30
  * @observable
29
31
  */
30
32
  showDiff: boolean;
33
+ /**
34
+ * @observable
35
+ */
36
+ status: AIReviewCheckResultChange['status'];
31
37
  readonly id: string;
32
38
  constructor(locale: Locale, id: string);
33
39
  setItemAsActive(): void;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9599ce=_0x4564;(function(_0x5cb99d,_0x275bfe){const _0x2d277b=_0x4564,_0x4de57c=_0x5cb99d();while(!![]){try{const _0x4b536f=parseInt(_0x2d277b(0x1c6))/0x1*(-parseInt(_0x2d277b(0x1a6))/0x2)+-parseInt(_0x2d277b(0x1ae))/0x3*(parseInt(_0x2d277b(0x1c4))/0x4)+parseInt(_0x2d277b(0x1be))/0x5+-parseInt(_0x2d277b(0x1b1))/0x6*(-parseInt(_0x2d277b(0x1b8))/0x7)+parseInt(_0x2d277b(0x197))/0x8+parseInt(_0x2d277b(0x1a4))/0x9+parseInt(_0x2d277b(0x1c2))/0xa*(-parseInt(_0x2d277b(0x1a5))/0xb);if(_0x4b536f===_0x275bfe)break;else _0x4de57c['push'](_0x4de57c['shift']());}catch(_0x5dc2ca){_0x4de57c['push'](_0x4de57c['shift']());}}}(_0x179f,0x43fab));function _0x4564(_0x5028b3,_0x4838a5){const _0x179fc=_0x179f();return _0x4564=function(_0x456450,_0x55a7d6){_0x456450=_0x456450-0x196;let _0x4d5fcb=_0x179fc[_0x456450];return _0x4d5fcb;},_0x4564(_0x5028b3,_0x4838a5);}import{View as _0x1a828e,ButtonView as _0x1cbcef}from'ckeditor5/src/ui.js';import{IconInfo as _0x3ac8de}from'ckeditor5/src/icons.js';import{getTranslation as _0x966871}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x1a828e{[_0x9599ce(0x19d)];[_0x9599ce(0x19b)];[_0x9599ce(0x1ac)];[_0x9599ce(0x1af)];constructor(_0x1efd93,_0x478b6e){const _0x281652=_0x9599ce;super(_0x1efd93),this['id']=_0x478b6e,this[_0x281652(0x19a)](_0x281652(0x199),_0x478b6e),this[_0x281652(0x19d)]=this[_0x281652(0x1cb)](),this[_0x281652(0x19b)]=this[_0x281652(0x1b7)](),this[_0x281652(0x1ac)]=this[_0x281652(0x1c3)](),this[_0x281652(0x1af)]=this[_0x281652(0x1b5)](),this[_0x281652(0x19a)](_0x281652(0x1c5),!0x1),this[_0x281652(0x19a)](_0x281652(0x1c8),!0x1),this[_0x281652(0x19a)](_0x281652(0x1ca),!0x0),this[_0x281652(0x19f)]({'tag':_0x281652(0x1b2),'attributes':{'class':[_0x281652(0x1c9),this[_0x281652(0x1cc)]['if'](_0x281652(0x1c8),_0x281652(0x1a7))]},'on':{'click':this[_0x281652(0x1cc)]['to'](_0x281652(0x1ad))},'children':[this[_0x281652(0x19d)],{'tag':_0x281652(0x1b2),'attributes':{'class':[_0x281652(0x196)]},'children':[{'tag':_0x281652(0x1b2),'attributes':{'class':[_0x281652(0x1b9)]},'children':[this[_0x281652(0x19b)],this[_0x281652(0x1ac)]]},this[_0x281652(0x1af)]]}]}),this['on'](_0x281652(0x1ad),()=>{const _0x3e5e6e=_0x281652;this[_0x3e5e6e(0x1c0)](_0x3e5e6e(0x1aa),{'id':_0x478b6e,'source':this});});}[_0x9599ce(0x1b4)](){const _0x5f447a=_0x9599ce;this[_0x5f447a(0x1c8)]=!0x0;}[_0x9599ce(0x1b6)](){const _0x51590a=_0x9599ce;this[_0x51590a(0x1c8)]=!0x1;}[_0x9599ce(0x1cb)](){const _0x3ded7f=_0x9599ce,_0x2e1ebb=new _0x1a828e(this[_0x3ded7f(0x1c7)]);return _0x2e1ebb[_0x3ded7f(0x19f)]({'tag':_0x3ded7f(0x1b2),'attributes':{'class':['ck',_0x3ded7f(0x1ba),_0x3ded7f(0x1a1),_0x3ded7f(0x198),this[_0x3ded7f(0x1cc)]['if'](_0x3ded7f(0x1ca),_0x3ded7f(0x1a2),_0x313529=>!_0x313529)]}}),_0x2e1ebb;}[_0x9599ce(0x1b7)](){const _0x17134f=_0x9599ce,_0x13d389=new _0x1cbcef(this[_0x17134f(0x1c7)]);return _0x13d389[_0x17134f(0x19a)]({'label':_0x966871(this[_0x17134f(0x1c7)],_0x17134f(0x19e)),'withText':!0x0,'class':_0x17134f(0x1bd)}),_0x13d389[_0x17134f(0x1a3)]({'on':{'click':this[_0x17134f(0x1cc)]['to'](_0x25d0a6=>{const _0x50ec19=_0x17134f;this[_0x50ec19(0x1c0)](_0x50ec19(0x1c1),{'id':this[_0x50ec19(0x199)]}),_0x25d0a6[_0x50ec19(0x1a0)]();})}}),_0x13d389;}[_0x9599ce(0x1c3)](){const _0x3d3234=_0x9599ce,_0x4ea1b9=new _0x1cbcef(this[_0x3d3234(0x1c7)]);return _0x4ea1b9[_0x3d3234(0x19a)]({'label':_0x966871(this[_0x3d3234(0x1c7)],_0x3d3234(0x1b0)),'withText':!0x0,'class':_0x3d3234(0x19c)}),_0x4ea1b9[_0x3d3234(0x1a3)]({'on':{'click':this[_0x3d3234(0x1cc)]['to'](_0x153a33=>{const _0xfa5318=_0x3d3234;this[_0xfa5318(0x1c0)](_0xfa5318(0x1ab),{'id':this[_0xfa5318(0x199)]}),_0x153a33[_0xfa5318(0x1a0)]();})}}),_0x4ea1b9;}[_0x9599ce(0x1b5)](){const _0x4c893b=_0x9599ce,_0x24a18d=new _0x1cbcef(this[_0x4c893b(0x1c7)]);return _0x24a18d[_0x4c893b(0x19a)]({'label':_0x966871(this[_0x4c893b(0x1c7)],_0x4c893b(0x1bb)),'icon':_0x3ac8de,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x4c893b(0x1a8),'class':_0x4c893b(0x1a9)}),_0x24a18d[_0x4c893b(0x1bc)](_0x4c893b(0x1bf))['to'](this,_0x4c893b(0x1c5),_0x44c0d5=>_0x44c0d5),_0x24a18d['on'](_0x4c893b(0x1b3),()=>{const _0x249bfd=_0x4c893b;this[_0x249bfd(0x1c5)]=!this[_0x249bfd(0x1c5)];}),_0x24a18d;}}function _0x179f(){const _0x5e2df7=['ck-content','AI_REVIEW_MODE_LEARN_MORE','bind','ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button','342805FslbaI','isOn','fire','acceptChange','1320260ZZMVNp','_createDismissButtonView','76GJNDuY','isInfoToggleOn','197bZwQWT','locale','isActive','ck-ai-review-mode__check-run-result','showDiff','_createResultResponseView','bindTemplate','ck-ai-review-mode__check-run-result-footer','2329088XRoHps','ck-ai-review-mode__check-run-result-response','changeId','set','acceptButtonView','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button','resultResponseView','AI_REVIEW_MODE_ACCEPT_CHANGE','setTemplate','stopPropagation','ck-content-direct-excluded','ck-hidden','extendTemplate','3146562LifaEU','22xzDyyJ','2298DyormM','ck-ai-review-mode__check-run-result_active','menuitemcheckbox','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','activateChange','dismissChange','dismissButtonView','click','20901DDOCoC','infoButtonView','AI_REVIEW_MODE_DISMISS_CHANGE','9516RngJLl','div','execute','setItemAsActive','_createInfoButtonView','setItemAsInactive','_createAcceptButtonView','847epyqYK','ck-ai-review-mode__check-run-result-action-buttons'];_0x179f=function(){return _0x5e2df7;};return _0x179f();}
23
+ const _0x50142c=_0x189b;(function(_0x303c4b,_0x3a4706){const _0x58c694=_0x189b,_0x2b9c16=_0x303c4b();while(!![]){try{const _0x4c771b=-parseInt(_0x58c694(0x1bc))/0x1*(parseInt(_0x58c694(0x1b4))/0x2)+parseInt(_0x58c694(0x1c0))/0x3+parseInt(_0x58c694(0x18f))/0x4+-parseInt(_0x58c694(0x1ca))/0x5+parseInt(_0x58c694(0x1b2))/0x6*(-parseInt(_0x58c694(0x18b))/0x7)+parseInt(_0x58c694(0x197))/0x8+parseInt(_0x58c694(0x1a4))/0x9;if(_0x4c771b===_0x3a4706)break;else _0x2b9c16['push'](_0x2b9c16['shift']());}catch(_0x39c45b){_0x2b9c16['push'](_0x2b9c16['shift']());}}}(_0x23fa,0x7dfca));function _0x23fa(){const _0x187bce=['dismissChange','ck-hidden','ck-ai-review-mode__check-run-result-status-button','bind','REJECTED','execute','toUpperCase','activateChange','label','6sMcrVP','setItemAsInactive','279394TrUGyz','extendTemplate','setItemAsActive','isOn','icon','_createResultResponseView','set','ACCEPTED','5iEMlor','ck-ai-review-mode__check-run-result-action-buttons','acceptButtonView','stopPropagation','1946112ItTGfi','_createStatusButtonView','infoButtonView','AI_REVIEW_MODE_DISMISS_CHANGE','isActive','ck-ai-review-mode__check-run-result-footer','_createAcceptButtonView','ck-content','ck-ai-review-mode__check-run-result_active','status','4264075yZluJC','fire','ck-ai-review-mode__check-run-result-dismiss-button','isInfoToggleOn','1470399tTJoib','showDiff','statusButtonView','AI_REVIEW_MODE_CHECK_STATUS_','2926484UEkmwj','disabled','resultResponseView','AI_REVIEW_MODE_ACCEPT_CHANGE','bindTemplate','_createDismissButtonView','ck-ai-review-mode__check-run-result-response','dismissButtonView','2687904vuJjXr','ck-ai-review-mode__check-run-result-accept-button','menuitemcheckbox','AI_REVIEW_MODE_LEARN_MORE','setTemplate','ck-ai-review-mode__check-run-result','pending','ck-ai-button-secondary','changeId','click','ck-ai-button-tertiary-filled','ck-content-direct-excluded','acceptChange','5049774HxPHem','locale','_createInfoButtonView','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','div'];_0x23fa=function(){return _0x187bce;};return _0x23fa();}function _0x189b(_0xb73e3c,_0x3f3358){const _0x23fa19=_0x23fa();return _0x189b=function(_0x189bbd,_0xa02cae){_0x189bbd=_0x189bbd-0x18a;let _0x1aa61a=_0x23fa19[_0x189bbd];return _0x1aa61a;},_0x189b(_0xb73e3c,_0x3f3358);}import{View as _0x2bdfad,ButtonView as _0x10234e}from'ckeditor5/src/ui.js';import{IconInfo as _0x3eeabd,IconCheck as _0x152bd6,IconCancel as _0x508e20,IconOutdated as _0x3dba38}from'ckeditor5/src/icons.js';import{getTranslation as _0x5cb817}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x2bdfad{[_0x50142c(0x191)];[_0x50142c(0x1be)];[_0x50142c(0x196)];[_0x50142c(0x1c2)];[_0x50142c(0x18d)];constructor(_0x5d445d,_0x49d088){const _0x2d736b=_0x50142c;super(_0x5d445d),this['id']=_0x49d088,this[_0x2d736b(0x1ba)](_0x2d736b(0x1c9),_0x2d736b(0x19d)),this[_0x2d736b(0x1ba)](_0x2d736b(0x19f),_0x49d088),this[_0x2d736b(0x191)]=this[_0x2d736b(0x1b9)](),this[_0x2d736b(0x1be)]=this[_0x2d736b(0x1c6)](),this[_0x2d736b(0x196)]=this[_0x2d736b(0x194)](),this[_0x2d736b(0x1c2)]=this[_0x2d736b(0x1a6)](),this[_0x2d736b(0x18d)]=this[_0x2d736b(0x1c1)](),this[_0x2d736b(0x1ba)](_0x2d736b(0x18a),!0x1),this[_0x2d736b(0x1ba)](_0x2d736b(0x1c4),!0x1),this[_0x2d736b(0x1ba)](_0x2d736b(0x18c),!0x0),this[_0x2d736b(0x19b)]({'tag':_0x2d736b(0x1a8),'attributes':{'class':[_0x2d736b(0x19c),this[_0x2d736b(0x193)]['if'](_0x2d736b(0x1c4),_0x2d736b(0x1c8))]},'on':{'click':this[_0x2d736b(0x193)]['to'](_0x2d736b(0x1a0))},'children':[this[_0x2d736b(0x191)],{'tag':_0x2d736b(0x1a8),'attributes':{'class':[_0x2d736b(0x1c5)]},'children':[{'tag':_0x2d736b(0x1a8),'attributes':{'class':[_0x2d736b(0x1bd)]},'children':[this[_0x2d736b(0x1be)],this[_0x2d736b(0x196)],this[_0x2d736b(0x18d)]]},this[_0x2d736b(0x1c2)]]}]}),this['on'](_0x2d736b(0x1a0),()=>{const _0x2475b4=_0x2d736b;this[_0x2475b4(0x1cb)](_0x2475b4(0x1b0),{'id':_0x49d088,'source':this});});}[_0x50142c(0x1b6)](){const _0x4e27cc=_0x50142c;this[_0x4e27cc(0x1c4)]=!0x0;}[_0x50142c(0x1b3)](){const _0x2b9190=_0x50142c;this[_0x2b9190(0x1c4)]=!0x1;}[_0x50142c(0x1b9)](){const _0xf6e7b3=_0x50142c,_0x3ba5cb=new _0x2bdfad(this[_0xf6e7b3(0x1a5)]);return _0x3ba5cb[_0xf6e7b3(0x19b)]({'tag':_0xf6e7b3(0x1a8),'attributes':{'class':['ck',_0xf6e7b3(0x1c7),_0xf6e7b3(0x1a2),_0xf6e7b3(0x195),this[_0xf6e7b3(0x193)]['if'](_0xf6e7b3(0x18c),_0xf6e7b3(0x1aa),_0x5dbe38=>!_0x5dbe38)]}}),_0x3ba5cb;}[_0x50142c(0x1c6)](){const _0x541ec0=_0x50142c,_0x221544=new _0x10234e(this[_0x541ec0(0x1a5)]);return _0x221544[_0x541ec0(0x1ba)]({'label':_0x5cb817(this[_0x541ec0(0x1a5)],_0x541ec0(0x192)),'withText':!0x0}),_0x221544[_0x541ec0(0x1b5)]({'on':{'click':this[_0x541ec0(0x193)]['to'](_0x3fec20=>{const _0x26fd92=_0x541ec0;this[_0x26fd92(0x1cb)](_0x26fd92(0x1a3),{'id':this[_0x26fd92(0x19f)]}),_0x3fec20[_0x26fd92(0x1bf)]();})},'attributes':{'class':[_0x541ec0(0x19e),_0x541ec0(0x198),this[_0x541ec0(0x193)]['if'](_0x541ec0(0x1c9),_0x541ec0(0x1aa),_0x6dd3b8=>_0x541ec0(0x19d)!==_0x6dd3b8)]}}),_0x221544;}[_0x50142c(0x194)](){const _0x314b9a=_0x50142c,_0x2098f5=new _0x10234e(this[_0x314b9a(0x1a5)]);return _0x2098f5[_0x314b9a(0x1ba)]({'label':_0x5cb817(this[_0x314b9a(0x1a5)],_0x314b9a(0x1c3)),'withText':!0x0}),_0x2098f5[_0x314b9a(0x1b5)]({'on':{'click':this[_0x314b9a(0x193)]['to'](_0x5cebfa=>{const _0x57ea64=_0x314b9a;this[_0x57ea64(0x1cb)](_0x57ea64(0x1a9),{'id':this[_0x57ea64(0x19f)]}),_0x5cebfa[_0x57ea64(0x1bf)]();})},'attributes':{'class':[_0x314b9a(0x1a1),_0x314b9a(0x1cc),this[_0x314b9a(0x193)]['if'](_0x314b9a(0x1c9),_0x314b9a(0x1aa),_0x1c774c=>_0x314b9a(0x19d)!==_0x1c774c)]}}),_0x2098f5;}[_0x50142c(0x1a6)](){const _0x131f16=_0x50142c,_0x1d0fc5=new _0x10234e(this[_0x131f16(0x1a5)]);return _0x1d0fc5[_0x131f16(0x1ba)]({'label':_0x5cb817(this[_0x131f16(0x1a5)],_0x131f16(0x19a)),'icon':_0x3eeabd,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x131f16(0x199),'class':_0x131f16(0x1a7)}),_0x1d0fc5[_0x131f16(0x1ac)](_0x131f16(0x1b7))['to'](this,_0x131f16(0x18a),_0x4f59c1=>_0x4f59c1),_0x1d0fc5['on'](_0x131f16(0x1ae),()=>{const _0x510b20=_0x131f16;this[_0x510b20(0x18a)]=!this[_0x510b20(0x18a)];}),_0x1d0fc5;}[_0x50142c(0x1c1)](){const _0xc3afc9=_0x50142c,_0x3297bf=new _0x10234e(this[_0xc3afc9(0x1a5)]);return _0x3297bf[_0xc3afc9(0x1ba)]({'withText':!0x0,'isEnabled':!0x1}),_0x3297bf[_0xc3afc9(0x1ac)](_0xc3afc9(0x1b1))['to'](this,_0xc3afc9(0x1c9),_0x5e4fab=>_0x5cb817(this[_0xc3afc9(0x1a5)],_0xc3afc9(0x18e)+_0x5e4fab[_0xc3afc9(0x1af)]())),_0x3297bf[_0xc3afc9(0x1ac)](_0xc3afc9(0x1b8))['to'](this,_0xc3afc9(0x1c9),_0xb14d7d=>_0xc3afc9(0x1bb)===_0xb14d7d[_0xc3afc9(0x1af)]()?_0x152bd6:_0xc3afc9(0x1ad)===_0xb14d7d[_0xc3afc9(0x1af)]()?_0x508e20:_0x3dba38),_0x3297bf[_0xc3afc9(0x1b5)]({'attributes':{'class':[_0xc3afc9(0x19e),_0xc3afc9(0x1ab),this[_0xc3afc9(0x193)]['if'](_0xc3afc9(0x1c9),_0xc3afc9(0x1aa),_0x4eaffa=>_0xc3afc9(0x19d)===_0x4eaffa)],'disabled':_0xc3afc9(0x190)}}),_0x3297bf;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x4cb982,KeystrokeHandler as _0x17e8f6,FocusTracker as _0x4a0647}from'ckeditor5/src/utils.js';import{View as _0xf8c373,ViewCollection as _0x35f1e7,ButtonView as _0x39d2df,FormRowView as _0x59ea51,createDropdown as _0x5b023c,addListToDropdown as _0x208925,UIModel as _0x268acc,ButtonLabelView as _0x3600ae,LabeledFieldView as _0x4af9c6,FocusCycler as _0x32df2f}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x54f84f}from'./aireviemodepromptinputview.js';import{getTranslation as _0x8afad}from'../../aicore/utils/common-translations.js';export class AIReviewModeCustomCheckView extends _0xf8c373{['focusTracker']=new _0x4a0647();['keystrokes']=new _0x17e8f6();['focusCycler'];['_focusables']=new _0x35f1e7();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x243a6d,_0x168af6){super(_0x243a6d),this['_check']=_0x168af6,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x168af6['models']&&_0x168af6['models']['length']>0x0?_0x168af6['models'][0x0]['id']:'',this['_defaultLabel']=_0x168af6['models']&&_0x168af6['models']['length']>0x0?_0x168af6['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x4af9c6(this['locale'],()=>new _0x54f84f(_0x243a6d)),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 _0x4cb982(),this['_setModelList'](),_0x208925(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x59ea51(this['locale'],{'children':[this['promptInputView']]}),new _0x59ea51(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x591a69,_0x538bbc)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x538bbc()):_0x538bbc();}),this['focusCycler']=new _0x32df2f({'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'](_0x155c3e=>{this['_focusables']['add'](_0x155c3e),this['focusTracker']['add'](_0x155c3e['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 _0x188cf6 of this['_getFormValidators']()){const _0x4d0f86=_0x188cf6();if(_0x4d0f86)return this['promptInputView']['errorText']=_0x4d0f86,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x8afad(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x3d1a84=new _0x39d2df(this['locale']),t=this['locale']['t'];return _0x3d1a84['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3d1a84['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x3d1a84;}['_createCancelButtonView'](){const _0x506e22=new _0x39d2df(this['locale']),t=this['locale']['t'];return _0x506e22['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x506e22['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x17f28f=>{_0x17f28f['stopPropagation']();})}}),_0x506e22['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x506e22;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x55a8b4=this['_check']['models'];if(this['resetToDefault'](),_0x55a8b4?.['length'])for(const _0x4b151b of _0x55a8b4){const _0x25b67b=new _0x268acc({'label':_0x4b151b['name'],'withText':!0x0,'role':'menuitemradio','id':_0x4b151b['id'],'model':_0x4b151b});_0x25b67b['bind']('isOn')['to'](this,'modelId',_0x226850=>_0x226850===_0x4b151b['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x25b67b,'labelView':new Hs(this['locale'],_0x4b151b)});}}['_createModelSelectionDropdown'](){const _0x35ce50=_0x5b023c(this['locale']);return _0x35ce50['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x35ce50['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x35ce50,'execute',_0x5cd230=>{this['modelId']=_0x5cd230['source']['model']['id'],_0x35ce50['buttonView']['label']=_0x5cd230['source']['label'];}),_0x35ce50;}['_createActionsFooterView'](){const _0x5282f1=new _0xf8c373(this['locale']);return _0x5282f1['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x5282f1;}}class Hs extends _0x3600ae{constructor(_0x3ce27b,_0x5a0dbb){super();const _0x22b3e0=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x22b3e0['to']('style'),'id':_0x22b3e0['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x22b3e0['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x5a0dbb['description']||'']}]}]});}}
23
+ import{Collection as _0x274474,KeystrokeHandler as _0x5f4ac8,FocusTracker as _0x2daccf}from'ckeditor5/src/utils.js';import{View as _0x5151c7,ViewCollection as _0x578b60,ButtonView as _0x1307a3,FormRowView as _0x35c11a,createDropdown as _0x2bff2c,addListToDropdown as _0x203239,UIModel as _0xdf198e,ButtonLabelView as _0xa9f8a1,LabeledFieldView as _0x418e61,FocusCycler as _0x578b6b}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x39984c}from'./aireviemodepromptinputview.js';import{getTranslation as _0x3eedcb}from'../../aicore/utils/common-translations.js';import{AIModels as _0x345479}from'../../aicore/model/aimodels.js';export class AIReviewModeCustomCheckView extends _0x5151c7{['focusTracker']=new _0x2daccf();['keystrokes']=new _0x5f4ac8();['focusCycler'];['_focusables']=new _0x578b60();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0xa3ae27,_0x5ba14d){super(_0xa3ae27),this['_check']=_0x5ba14d,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x5ba14d['models']&&_0x5ba14d['models']['length']>0x0?_0x5ba14d['models'][0x0]['id']:'',this['_defaultLabel']=_0x5ba14d['models']&&_0x5ba14d['models']['length']>0x0?_0x5ba14d['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x418e61(this['locale'],()=>new _0x39984c(_0xa3ae27)),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 _0x274474(),this['_setModelList'](),_0x203239(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x35c11a(this['locale'],{'children':[this['promptInputView']]}),new _0x35c11a(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x541335,_0x89105c)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x89105c()):_0x89105c();}),this['focusCycler']=new _0x578b6b({'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'](_0x92820e=>{this['_focusables']['add'](_0x92820e),this['focusTracker']['add'](_0x92820e['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 _0x4c58aa of this['_getFormValidators']()){const _0x56e583=_0x4c58aa();if(_0x56e583)return this['promptInputView']['errorText']=_0x56e583,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x3eedcb(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x533572=new _0x1307a3(this['locale']),t=this['locale']['t'];return _0x533572['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x533572['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x533572;}['_createCancelButtonView'](){const _0x396a29=new _0x1307a3(this['locale']),t=this['locale']['t'];return _0x396a29['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x396a29['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x6e2169=>{_0x6e2169['stopPropagation']();})}}),_0x396a29['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x396a29;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x54b897=this['_check']['models'];if(this['resetToDefault'](),_0x54b897?.['length']){const _0x2c80d3=_0x345479['getLocalized'](this['locale'],_0x54b897);for(const _0xe6b928 of _0x2c80d3){const _0x19d7b3=new _0xdf198e({'label':_0xe6b928['name'],'withText':!0x0,'role':'menuitemradio','id':_0xe6b928['id'],'model':_0xe6b928});_0x19d7b3['bind']('isOn')['to'](this,'modelId',_0x44a39c=>_0x44a39c===_0xe6b928['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x19d7b3,'labelView':new Ws(this['locale'],_0xe6b928)});}}}['_createModelSelectionDropdown'](){const _0x49bb47=_0x2bff2c(this['locale']);return _0x49bb47['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x49bb47['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x49bb47,'execute',_0x2711a2=>{this['modelId']=_0x2711a2['source']['model']['id'],_0x49bb47['buttonView']['label']=_0x2711a2['source']['label'];}),_0x49bb47;}['_createActionsFooterView'](){const _0x3f9f02=new _0x5151c7(this['locale']);return _0x3f9f02['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x3f9f02;}}class Ws extends _0xa9f8a1{constructor(_0x31041b,_0x589139){super();const _0x5235c8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x5235c8['to']('style'),'id':_0x5235c8['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x5235c8['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x589139['description']||'']}]}]});}}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module ai/aireviewmode/ui/aireviewmodefinishreviewbuttonview
7
+ */
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
+ import { ButtonView } from 'ckeditor5/src/ui.js';
10
+ import '../../../theme/aireviewmode/aireviewmode-review-completed.css';
11
+ export declare class AIReviewModeFinishReviewButtonView extends ButtonView {
12
+ constructor(locale: Locale);
13
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0x327072,_0x44427b){var _0x1fc1fd=_0x45f9,_0x1feda3=_0x327072();while(!![]){try{var _0x193da6=-parseInt(_0x1fc1fd(0x6d))/0x1*(-parseInt(_0x1fc1fd(0x73))/0x2)+-parseInt(_0x1fc1fd(0x6c))/0x3+-parseInt(_0x1fc1fd(0x77))/0x4+parseInt(_0x1fc1fd(0x75))/0x5*(-parseInt(_0x1fc1fd(0x71))/0x6)+-parseInt(_0x1fc1fd(0x6e))/0x7*(-parseInt(_0x1fc1fd(0x79))/0x8)+-parseInt(_0x1fc1fd(0x6a))/0x9+-parseInt(_0x1fc1fd(0x78))/0xa*(-parseInt(_0x1fc1fd(0x74))/0xb);if(_0x193da6===_0x44427b)break;else _0x1feda3['push'](_0x1feda3['shift']());}catch(_0x22239c){_0x1feda3['push'](_0x1feda3['shift']());}}}(_0x409f,0xc9e75));import{ButtonView as _0x29b69d}from'ckeditor5/src/ui.js';import{getTranslation as _0x2d008a}from'../../aicore/utils/common-translations.js';function _0x45f9(_0x3089d2,_0x5ab51b){var _0x409fa0=_0x409f();return _0x45f9=function(_0x45f94a,_0x21d56b){_0x45f94a=_0x45f94a-0x69;var _0x477c53=_0x409fa0[_0x45f94a];return _0x477c53;},_0x45f9(_0x3089d2,_0x5ab51b);}function _0x409f(){var _0x2b3b4e=['16ynNCrE','finishReview','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','755388cbPfNF','locale','237966qUpYmC','23jXPoxs','1654513dPpqPZ','execute','ck-ai-button-primary','12fkjDxF','fire','58436qFcAfO','33qKJADl','1402895LaYlWM','set','2536392waczAT','3469250lDoVsE'];_0x409f=function(){return _0x2b3b4e;};return _0x409f();}import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeFinishReviewButtonView extends _0x29b69d{constructor(_0xb3e564){var _0x5df9cf=_0x45f9;super(_0xb3e564),this[_0x5df9cf(0x76)]({'label':_0x2d008a(this[_0x5df9cf(0x6b)],_0x5df9cf(0x69)),'withText':!0x0,'class':_0x5df9cf(0x70)}),this['on'](_0x5df9cf(0x6f),()=>{var _0x11bbae=_0x5df9cf;this[_0x11bbae(0x72)](_0x11bbae(0x7a));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x112f2d=_0x5b40;function _0x54d7(){const _0x553107=['setTemplate','82OsdbET','ck-ai-review-mode__check-list','2759910qZafFt','clear','resetAllParameterizedChecks','isVisible','entries','1167792AAtIuG','2936530uKhOIZ','setChecks','add','9cZzClN','49YFLPhs','9BlpbPE','5MSJDzl','bindTemplate','1166187uRUlSk','_checkViews','runReviewCheck','20747WpecaW','3065376SUZBuG','317692hXUmdF','delegate','ck-hidden','resetToDefault','locale','hasChecks','div','length'];_0x54d7=function(){return _0x553107;};return _0x54d7();}(function(_0xe578a0,_0x14332e){const _0x3a2176=_0x5b40,_0x3f6fbf=_0xe578a0();while(!![]){try{const _0x47d026=-parseInt(_0x3a2176(0xe1))/0x1*(-parseInt(_0x3a2176(0xce))/0x2)+-parseInt(_0x3a2176(0xd9))/0x3*(parseInt(_0x3a2176(0xc5))/0x4)+-parseInt(_0x3a2176(0xdc))/0x5*(parseInt(_0x3a2176(0xd0))/0x6)+parseInt(_0x3a2176(0xda))/0x7*(parseInt(_0x3a2176(0xd5))/0x8)+-parseInt(_0x3a2176(0xdb))/0x9*(parseInt(_0x3a2176(0xd6))/0xa)+-parseInt(_0x3a2176(0xde))/0xb+-parseInt(_0x3a2176(0xc4))/0xc;if(_0x47d026===_0x14332e)break;else _0x3f6fbf['push'](_0x3f6fbf['shift']());}catch(_0x171738){_0x3f6fbf['push'](_0x3f6fbf['shift']());}}}(_0x54d7,0x7eba1));function _0x5b40(_0x42aeff,_0x4ba178){const _0x54d7c5=_0x54d7();return _0x5b40=function(_0x5b4021,_0x3b5a61){_0x5b4021=_0x5b4021-0xc4;let _0x5d0cd1=_0x54d7c5[_0x5b4021];return _0x5d0cd1;},_0x5b40(_0x42aeff,_0x4ba178);}import{ListItemView as _0x5ef376,ViewCollection as _0xdf1441}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x2cea73}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x5ef376{[_0x112f2d(0xdf)];constructor(_0xc3197){const _0x256b7f=_0x112f2d;super(_0xc3197),this[_0x256b7f(0xdf)]=new _0xdf1441();const _0x37adc6=this[_0x256b7f(0xdd)];this[_0x256b7f(0xcd)]({'tag':_0x256b7f(0xcb),'attributes':{'class':[_0x256b7f(0xcf),_0x37adc6['if'](_0x256b7f(0xd3),_0x256b7f(0xc7),_0x2dcdfe=>!_0x2dcdfe)]},'children':this[_0x256b7f(0xdf)]});}[_0x112f2d(0xd7)](_0xc5d5d7){const _0x2ab71f=_0x112f2d;this[_0x2ab71f(0xdf)][_0x2ab71f(0xd1)]();for(const [_0x29535b,_0x1cf977]of _0xc5d5d7[_0x2ab71f(0xd4)]()){const _0x5243b8=new _0x2cea73(this[_0x2ab71f(0xc9)],_0x1cf977,_0x29535b);_0x5243b8[_0x2ab71f(0xc6)](_0x2ab71f(0xe0))['to'](this),this[_0x2ab71f(0xdf)][_0x2ab71f(0xd8)](_0x5243b8);}}[_0x112f2d(0xca)](){const _0x2ac28c=_0x112f2d;return this[_0x2ac28c(0xdf)][_0x2ac28c(0xcc)]>0x0;}[_0x112f2d(0xd2)](){const _0x5f40a6=_0x112f2d;for(const _0x1d76d9 of this[_0x5f40a6(0xdf)])_0x1d76d9 instanceof _0x2cea73&&_0x1d76d9[_0x5f40a6(0xc8)]();}}
23
+ const _0x3ed545=_0x27b7;function _0x27b7(_0x2bee06,_0x2c0bc6){const _0x58ebab=_0x58eb();return _0x27b7=function(_0x27b78a,_0x3a3dc5){_0x27b78a=_0x27b78a-0x1e5;let _0x2da6dd=_0x58ebab[_0x27b78a];return _0x2da6dd;},_0x27b7(_0x2bee06,_0x2c0bc6);}(function(_0x15dd19,_0x1e73f2){const _0x480e1a=_0x27b7,_0x147697=_0x15dd19();while(!![]){try{const _0x50efab=-parseInt(_0x480e1a(0x200))/0x1+parseInt(_0x480e1a(0x1ee))/0x2+-parseInt(_0x480e1a(0x1fc))/0x3*(parseInt(_0x480e1a(0x1e7))/0x4)+parseInt(_0x480e1a(0x1eb))/0x5*(-parseInt(_0x480e1a(0x1f1))/0x6)+-parseInt(_0x480e1a(0x1f7))/0x7+-parseInt(_0x480e1a(0x1f3))/0x8*(-parseInt(_0x480e1a(0x1ea))/0x9)+parseInt(_0x480e1a(0x1fa))/0xa*(parseInt(_0x480e1a(0x1f4))/0xb);if(_0x50efab===_0x1e73f2)break;else _0x147697['push'](_0x147697['shift']());}catch(_0x33f79c){_0x147697['push'](_0x147697['shift']());}}}(_0x58eb,0xf2bf8));import{ListItemView as _0x4431a7,ViewCollection as _0x1ecf49}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x843e74}from'./aireviewmodereviewcommandlistitemview.js';function _0x58eb(){const _0x1fffcf=['8ATgBJi','187sgUCME','resetToDefault','setChecks','5194434sSuoln','entries','delegate','312740xHXYOf','ck-hidden','519BhjHvo','div','resetAllParameterizedChecks','add','99090ygJQWy','runReviewCheck','bindTemplate','locale','31088hWDteS','setTemplate','hasChecks','12966858WAiOZX','5NWVChb','_checkViews','clear','3647306sKfgcS','ck-ai-review-mode__check-list','isVisible','3696414fdUnuG','length'];_0x58eb=function(){return _0x1fffcf;};return _0x58eb();}import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x4431a7{[_0x3ed545(0x1ec)];constructor(_0x333588){const _0x201dc9=_0x3ed545;super(_0x333588),this[_0x201dc9(0x1ec)]=new _0x1ecf49();const _0x47153b=this[_0x201dc9(0x1e5)];this[_0x201dc9(0x1e8)]({'tag':_0x201dc9(0x1fd),'attributes':{'class':[_0x201dc9(0x1ef),_0x47153b['if'](_0x201dc9(0x1f0),_0x201dc9(0x1fb),_0x304719=>!_0x304719)]},'children':this[_0x201dc9(0x1ec)]});}[_0x3ed545(0x1f6)](_0x264676){const _0x32f7cf=_0x3ed545;this[_0x32f7cf(0x1ec)][_0x32f7cf(0x1ed)]();for(const [_0x444fb5,_0x4a784b]of _0x264676[_0x32f7cf(0x1f8)]()){const _0x2c5c71=new _0x843e74(this[_0x32f7cf(0x1e6)],_0x4a784b,_0x444fb5);_0x2c5c71[_0x32f7cf(0x1f9)](_0x32f7cf(0x201))['to'](this),this[_0x32f7cf(0x1ec)][_0x32f7cf(0x1ff)](_0x2c5c71);}}[_0x3ed545(0x1e9)](){const _0x26ba84=_0x3ed545;return this[_0x26ba84(0x1ec)][_0x26ba84(0x1f2)]>0x0;}[_0x3ed545(0x1fe)](){const _0x2913d2=_0x3ed545;for(const _0x1de7bd of this[_0x2913d2(0x1ec)])_0x1de7bd instanceof _0x843e74&&_0x1de7bd[_0x2913d2(0x1f5)]();}}
@@ -9,6 +9,7 @@ import { type Locale } from 'ckeditor5/src/utils.js';
9
9
  import { ListItemView, View, ViewCollection } from 'ckeditor5/src/ui.js';
10
10
  import { AIReviewModeReviewCheckListItemResultsView } from './aireviewmodechecklistitemresultview.js';
11
11
  import { AIDisclaimerView } from '../../aicore/ui/aidisclaimerview.js';
12
+ import { type AIReviewCheckResultChange } from '../model/aireviewcheckresultchange.js';
12
13
  import '../../../theme/aireviewmode/aireviewmode-check-run.css';
13
14
  import '../../../theme/aireviewmode/aireviewmode-check-run-result.css';
14
15
  export declare class AIReviewModeReviewCheckResultsView extends ListItemView {
@@ -44,6 +45,12 @@ export declare class AIReviewModeReviewCheckResultsView extends ListItemView {
44
45
  * @observable
45
46
  */
46
47
  isToggleDiffOn: boolean;
48
+ /**
49
+ * Indicates whether the review is completed.
50
+ *
51
+ * @observable
52
+ */
53
+ isCompleted: boolean;
47
54
  /**
48
55
  * Indicates whether the results are ready and can be interacted with.
49
56
  *
@@ -60,7 +67,8 @@ export declare class AIReviewModeReviewCheckResultsView extends ListItemView {
60
67
  contentDiffed: string;
61
68
  id: string;
62
69
  }): void;
63
- hideResult(id: string): void;
70
+ hideResult(id: string, status: AIReviewCheckResultChange['status']): void;
71
+ showResult(id: string, status: AIReviewCheckResultChange['status']): void;
64
72
  /**
65
73
  * Sets the title of the current check results.
66
74
  *