@ckeditor/ckeditor5-ai 47.0.0-alpha.6 → 47.0.0-alpha.8

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 (490) hide show
  1. package/LICENSE.md +4 -0
  2. package/build/ai.js +2 -2
  3. package/build/translations/af.js +1 -1
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/ast.js +1 -1
  6. package/build/translations/az.js +1 -1
  7. package/build/translations/be.js +1 -1
  8. package/build/translations/bg.js +1 -1
  9. package/build/translations/bn.js +1 -1
  10. package/build/translations/bs.js +1 -1
  11. package/build/translations/ca.js +1 -1
  12. package/build/translations/cs.js +1 -1
  13. package/build/translations/da.js +1 -1
  14. package/build/translations/de-ch.js +1 -1
  15. package/build/translations/de.js +1 -1
  16. package/build/translations/el.js +1 -1
  17. package/build/translations/en-au.js +1 -1
  18. package/build/translations/en-gb.js +1 -1
  19. package/build/translations/eo.js +1 -1
  20. package/build/translations/es-co.js +1 -1
  21. package/build/translations/es.js +1 -1
  22. package/build/translations/et.js +1 -1
  23. package/build/translations/eu.js +1 -1
  24. package/build/translations/fa.js +1 -1
  25. package/build/translations/fi.js +1 -1
  26. package/build/translations/fr.js +1 -1
  27. package/build/translations/gl.js +1 -1
  28. package/build/translations/gu.js +1 -1
  29. package/build/translations/he.js +1 -1
  30. package/build/translations/hi.js +1 -1
  31. package/build/translations/hr.js +1 -1
  32. package/build/translations/hu.js +1 -1
  33. package/build/translations/hy.js +1 -1
  34. package/build/translations/id.js +1 -1
  35. package/build/translations/it.js +1 -1
  36. package/build/translations/ja.js +1 -1
  37. package/build/translations/jv.js +1 -1
  38. package/build/translations/kk.js +1 -1
  39. package/build/translations/km.js +1 -1
  40. package/build/translations/kn.js +1 -1
  41. package/build/translations/ko.js +1 -1
  42. package/build/translations/ku.js +1 -1
  43. package/build/translations/lt.js +1 -1
  44. package/build/translations/lv.js +1 -1
  45. package/build/translations/ms.js +1 -1
  46. package/build/translations/nb.js +1 -1
  47. package/build/translations/ne.js +1 -1
  48. package/build/translations/nl.js +1 -1
  49. package/build/translations/no.js +1 -1
  50. package/build/translations/oc.js +1 -1
  51. package/build/translations/pl.js +1 -1
  52. package/build/translations/pt-br.js +1 -1
  53. package/build/translations/pt.js +1 -1
  54. package/build/translations/ro.js +1 -1
  55. package/build/translations/ru.js +1 -1
  56. package/build/translations/si.js +1 -1
  57. package/build/translations/sk.js +1 -1
  58. package/build/translations/sl.js +1 -1
  59. package/build/translations/sq.js +1 -1
  60. package/build/translations/sr-latn.js +1 -1
  61. package/build/translations/sr.js +1 -1
  62. package/build/translations/sv.js +1 -1
  63. package/build/translations/th.js +1 -1
  64. package/build/translations/ti.js +1 -1
  65. package/build/translations/tk.js +1 -1
  66. package/build/translations/tr.js +1 -1
  67. package/build/translations/tt.js +1 -1
  68. package/build/translations/ug.js +1 -1
  69. package/build/translations/uk.js +1 -1
  70. package/build/translations/ur.js +1 -1
  71. package/build/translations/uz.js +1 -1
  72. package/build/translations/vi.js +1 -1
  73. package/build/translations/zh-cn.js +1 -1
  74. package/build/translations/zh.js +1 -1
  75. package/dist/index-editor.css +147 -23
  76. package/dist/index.css +182 -24
  77. package/dist/index.js +4 -4
  78. package/dist/translations/af.js +1 -1
  79. package/dist/translations/af.umd.js +1 -1
  80. package/dist/translations/ar.js +1 -1
  81. package/dist/translations/ar.umd.js +1 -1
  82. package/dist/translations/ast.js +1 -1
  83. package/dist/translations/ast.umd.js +1 -1
  84. package/dist/translations/az.js +1 -1
  85. package/dist/translations/az.umd.js +1 -1
  86. package/dist/translations/be.js +1 -1
  87. package/dist/translations/be.umd.js +1 -1
  88. package/dist/translations/bg.js +1 -1
  89. package/dist/translations/bg.umd.js +1 -1
  90. package/dist/translations/bn.js +1 -1
  91. package/dist/translations/bn.umd.js +1 -1
  92. package/dist/translations/bs.js +1 -1
  93. package/dist/translations/bs.umd.js +1 -1
  94. package/dist/translations/ca.js +1 -1
  95. package/dist/translations/ca.umd.js +1 -1
  96. package/dist/translations/cs.js +1 -1
  97. package/dist/translations/cs.umd.js +1 -1
  98. package/dist/translations/da.js +1 -1
  99. package/dist/translations/da.umd.js +1 -1
  100. package/dist/translations/de-ch.js +1 -1
  101. package/dist/translations/de-ch.umd.js +1 -1
  102. package/dist/translations/de.js +1 -1
  103. package/dist/translations/de.umd.js +1 -1
  104. package/dist/translations/el.js +1 -1
  105. package/dist/translations/el.umd.js +1 -1
  106. package/dist/translations/en-au.js +1 -1
  107. package/dist/translations/en-au.umd.js +1 -1
  108. package/dist/translations/en-gb.js +1 -1
  109. package/dist/translations/en-gb.umd.js +1 -1
  110. package/dist/translations/en.js +1 -1
  111. package/dist/translations/en.umd.js +1 -1
  112. package/dist/translations/eo.js +1 -1
  113. package/dist/translations/eo.umd.js +1 -1
  114. package/dist/translations/es-co.js +1 -1
  115. package/dist/translations/es-co.umd.js +1 -1
  116. package/dist/translations/es.js +1 -1
  117. package/dist/translations/es.umd.js +1 -1
  118. package/dist/translations/et.js +1 -1
  119. package/dist/translations/et.umd.js +1 -1
  120. package/dist/translations/eu.js +1 -1
  121. package/dist/translations/eu.umd.js +1 -1
  122. package/dist/translations/fa.js +1 -1
  123. package/dist/translations/fa.umd.js +1 -1
  124. package/dist/translations/fi.js +1 -1
  125. package/dist/translations/fi.umd.js +1 -1
  126. package/dist/translations/fr.js +1 -1
  127. package/dist/translations/fr.umd.js +1 -1
  128. package/dist/translations/gl.js +1 -1
  129. package/dist/translations/gl.umd.js +1 -1
  130. package/dist/translations/gu.js +1 -1
  131. package/dist/translations/gu.umd.js +1 -1
  132. package/dist/translations/he.js +1 -1
  133. package/dist/translations/he.umd.js +1 -1
  134. package/dist/translations/hi.js +1 -1
  135. package/dist/translations/hi.umd.js +1 -1
  136. package/dist/translations/hr.js +1 -1
  137. package/dist/translations/hr.umd.js +1 -1
  138. package/dist/translations/hu.js +1 -1
  139. package/dist/translations/hu.umd.js +1 -1
  140. package/dist/translations/hy.js +1 -1
  141. package/dist/translations/hy.umd.js +1 -1
  142. package/dist/translations/id.js +1 -1
  143. package/dist/translations/id.umd.js +1 -1
  144. package/dist/translations/it.js +1 -1
  145. package/dist/translations/it.umd.js +1 -1
  146. package/dist/translations/ja.js +1 -1
  147. package/dist/translations/ja.umd.js +1 -1
  148. package/dist/translations/jv.js +1 -1
  149. package/dist/translations/jv.umd.js +1 -1
  150. package/dist/translations/kk.js +1 -1
  151. package/dist/translations/kk.umd.js +1 -1
  152. package/dist/translations/km.js +1 -1
  153. package/dist/translations/km.umd.js +1 -1
  154. package/dist/translations/kn.js +1 -1
  155. package/dist/translations/kn.umd.js +1 -1
  156. package/dist/translations/ko.js +1 -1
  157. package/dist/translations/ko.umd.js +1 -1
  158. package/dist/translations/ku.js +1 -1
  159. package/dist/translations/ku.umd.js +1 -1
  160. package/dist/translations/lt.js +1 -1
  161. package/dist/translations/lt.umd.js +1 -1
  162. package/dist/translations/lv.js +1 -1
  163. package/dist/translations/lv.umd.js +1 -1
  164. package/dist/translations/ms.js +1 -1
  165. package/dist/translations/ms.umd.js +1 -1
  166. package/dist/translations/nb.js +1 -1
  167. package/dist/translations/nb.umd.js +1 -1
  168. package/dist/translations/ne.js +1 -1
  169. package/dist/translations/ne.umd.js +1 -1
  170. package/dist/translations/nl.js +1 -1
  171. package/dist/translations/nl.umd.js +1 -1
  172. package/dist/translations/no.js +1 -1
  173. package/dist/translations/no.umd.js +1 -1
  174. package/dist/translations/oc.js +1 -1
  175. package/dist/translations/oc.umd.js +1 -1
  176. package/dist/translations/pl.js +1 -1
  177. package/dist/translations/pl.umd.js +1 -1
  178. package/dist/translations/pt-br.js +1 -1
  179. package/dist/translations/pt-br.umd.js +1 -1
  180. package/dist/translations/pt.js +1 -1
  181. package/dist/translations/pt.umd.js +1 -1
  182. package/dist/translations/ro.js +1 -1
  183. package/dist/translations/ro.umd.js +1 -1
  184. package/dist/translations/ru.js +1 -1
  185. package/dist/translations/ru.umd.js +1 -1
  186. package/dist/translations/si.js +1 -1
  187. package/dist/translations/si.umd.js +1 -1
  188. package/dist/translations/sk.js +1 -1
  189. package/dist/translations/sk.umd.js +1 -1
  190. package/dist/translations/sl.js +1 -1
  191. package/dist/translations/sl.umd.js +1 -1
  192. package/dist/translations/sq.js +1 -1
  193. package/dist/translations/sq.umd.js +1 -1
  194. package/dist/translations/sr-latn.js +1 -1
  195. package/dist/translations/sr-latn.umd.js +1 -1
  196. package/dist/translations/sr.js +1 -1
  197. package/dist/translations/sr.umd.js +1 -1
  198. package/dist/translations/sv.js +1 -1
  199. package/dist/translations/sv.umd.js +1 -1
  200. package/dist/translations/th.js +1 -1
  201. package/dist/translations/th.umd.js +1 -1
  202. package/dist/translations/ti.js +1 -1
  203. package/dist/translations/ti.umd.js +1 -1
  204. package/dist/translations/tk.js +1 -1
  205. package/dist/translations/tk.umd.js +1 -1
  206. package/dist/translations/tr.js +1 -1
  207. package/dist/translations/tr.umd.js +1 -1
  208. package/dist/translations/tt.js +1 -1
  209. package/dist/translations/tt.umd.js +1 -1
  210. package/dist/translations/ug.js +1 -1
  211. package/dist/translations/ug.umd.js +1 -1
  212. package/dist/translations/uk.js +1 -1
  213. package/dist/translations/uk.umd.js +1 -1
  214. package/dist/translations/ur.js +1 -1
  215. package/dist/translations/ur.umd.js +1 -1
  216. package/dist/translations/uz.js +1 -1
  217. package/dist/translations/uz.umd.js +1 -1
  218. package/dist/translations/vi.js +1 -1
  219. package/dist/translations/vi.umd.js +1 -1
  220. package/dist/translations/zh-cn.js +1 -1
  221. package/dist/translations/zh-cn.umd.js +1 -1
  222. package/dist/translations/zh.js +1 -1
  223. package/dist/translations/zh.umd.js +1 -1
  224. package/lang/contexts.json +5 -0
  225. package/lang/translations/af.po +224 -0
  226. package/lang/translations/ar.po +232 -0
  227. package/lang/translations/ast.po +224 -0
  228. package/lang/translations/az.po +224 -0
  229. package/lang/translations/be.po +226 -0
  230. package/lang/translations/bg.po +224 -0
  231. package/lang/translations/bn.po +224 -0
  232. package/lang/translations/bs.po +226 -0
  233. package/lang/translations/ca.po +224 -0
  234. package/lang/translations/cs.po +226 -0
  235. package/lang/translations/da.po +224 -0
  236. package/lang/translations/de-ch.po +224 -0
  237. package/lang/translations/de.po +224 -0
  238. package/lang/translations/el.po +224 -0
  239. package/lang/translations/en-au.po +224 -0
  240. package/lang/translations/en-gb.po +224 -0
  241. package/lang/translations/en.po +224 -0
  242. package/lang/translations/eo.po +224 -0
  243. package/lang/translations/es-co.po +224 -0
  244. package/lang/translations/es.po +224 -0
  245. package/lang/translations/et.po +224 -0
  246. package/lang/translations/eu.po +224 -0
  247. package/lang/translations/fa.po +222 -0
  248. package/lang/translations/fi.po +224 -0
  249. package/lang/translations/fr.po +224 -0
  250. package/lang/translations/gl.po +224 -0
  251. package/lang/translations/gu.po +224 -0
  252. package/lang/translations/he.po +224 -0
  253. package/lang/translations/hi.po +224 -0
  254. package/lang/translations/hr.po +226 -0
  255. package/lang/translations/hu.po +224 -0
  256. package/lang/translations/hy.po +224 -0
  257. package/lang/translations/id.po +222 -0
  258. package/lang/translations/it.po +224 -0
  259. package/lang/translations/ja.po +222 -0
  260. package/lang/translations/jv.po +224 -0
  261. package/lang/translations/kk.po +224 -0
  262. package/lang/translations/km.po +222 -0
  263. package/lang/translations/kn.po +224 -0
  264. package/lang/translations/ko.po +222 -0
  265. package/lang/translations/ku.po +224 -0
  266. package/lang/translations/lt.po +226 -0
  267. package/lang/translations/lv.po +226 -0
  268. package/lang/translations/ms.po +222 -0
  269. package/lang/translations/nb.po +224 -0
  270. package/lang/translations/ne.po +224 -0
  271. package/lang/translations/nl.po +224 -0
  272. package/lang/translations/no.po +224 -0
  273. package/lang/translations/oc.po +224 -0
  274. package/lang/translations/pl.po +226 -0
  275. package/lang/translations/pt-br.po +224 -0
  276. package/lang/translations/pt.po +224 -0
  277. package/lang/translations/ro.po +226 -0
  278. package/lang/translations/ru.po +226 -0
  279. package/lang/translations/si.po +224 -0
  280. package/lang/translations/sk.po +226 -0
  281. package/lang/translations/sl.po +228 -0
  282. package/lang/translations/sq.po +224 -0
  283. package/lang/translations/sr-latn.po +226 -0
  284. package/lang/translations/sr.po +226 -0
  285. package/lang/translations/sv.po +224 -0
  286. package/lang/translations/th.po +222 -0
  287. package/lang/translations/ti.po +224 -0
  288. package/lang/translations/tk.po +224 -0
  289. package/lang/translations/tr.po +224 -0
  290. package/lang/translations/tt.po +222 -0
  291. package/lang/translations/ug.po +222 -0
  292. package/lang/translations/uk.po +226 -0
  293. package/lang/translations/ur.po +224 -0
  294. package/lang/translations/uz.po +224 -0
  295. package/lang/translations/vi.po +222 -0
  296. package/lang/translations/zh-cn.po +222 -0
  297. package/lang/translations/zh.po +222 -0
  298. package/package.json +15 -15
  299. package/src/aiactions/aiactions.d.ts +0 -2
  300. package/src/aiactions/aiactions.js +1 -1
  301. package/src/aiactions/model/aiactionsinteraction.d.ts +1 -0
  302. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  303. package/src/aiactions/model/aiactionsreply.js +1 -1
  304. package/src/aiassistant/adapters/aiadapter.js +1 -1
  305. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  306. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  307. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  308. package/src/aiassistant/aiassistant.js +1 -1
  309. package/src/aiassistant/aiassistantediting.js +1 -1
  310. package/src/aiassistant/aiassistantui.js +1 -1
  311. package/src/aiassistant/legacyerrors.js +1 -1
  312. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  313. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  314. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  315. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  316. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  317. package/src/aiassistant/ui/form/aiformview.js +1 -1
  318. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  319. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  320. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  321. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  322. package/src/aiassistant/utils/common-translations.js +1 -1
  323. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  324. package/src/aiballoon/aiballoon.js +1 -1
  325. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  326. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  327. package/src/aiballoon/ui/aiballoonview.d.ts +3 -1
  328. package/src/aiballoon/ui/aiballoonview.js +1 -1
  329. package/src/aichat/aichat.d.ts +12 -4
  330. package/src/aichat/aichat.js +1 -1
  331. package/src/aichat/aichatcontroller.d.ts +0 -1
  332. package/src/aichat/aichatcontroller.js +1 -1
  333. package/src/aichat/aichatui.d.ts +7 -3
  334. package/src/aichat/aichatui.js +1 -1
  335. package/src/aichat/model/aichatcontext.d.ts +1 -227
  336. package/src/aichat/model/aichatcontext.js +1 -1
  337. package/src/aichat/model/aichatconversation.js +1 -1
  338. package/src/aichat/model/aichatinteraction.d.ts +3 -0
  339. package/src/aichat/model/aichatinteraction.js +1 -1
  340. package/src/aichat/model/aichatmodels.d.ts +0 -30
  341. package/src/aichat/model/aichatmodels.js +1 -1
  342. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  343. package/src/aichat/ui/aichatfeedview.d.ts +4 -0
  344. package/src/aichat/ui/aichatfeedview.js +1 -1
  345. package/src/aichat/ui/aichatheaderview.js +1 -1
  346. package/src/aichat/ui/aichatview.js +1 -1
  347. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  348. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  349. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -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/aichatresourcelistitemview.js +1 -1
  356. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  357. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  358. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  359. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  360. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  361. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  362. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -0
  363. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  364. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  365. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  366. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +8 -2
  367. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  368. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +9 -0
  369. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  370. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  371. package/src/aichat/utils/eventnames.js +1 -1
  372. package/src/aichat/utils/promisequeue.js +1 -1
  373. package/src/aichat/utils/scrollmanager.js +1 -1
  374. package/src/aichathistory/aichathistory.js +1 -1
  375. package/src/aichathistory/aichathistorycontroller.d.ts +0 -1
  376. package/src/aichathistory/aichathistorycontroller.js +1 -1
  377. package/src/aichathistory/aichathistoryui.d.ts +0 -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.js +1 -1
  382. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  383. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  384. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  385. package/src/aiconfig.d.ts +64 -9
  386. package/src/aicore/aiconnector.d.ts +13 -1
  387. package/src/aicore/aiconnector.js +1 -1
  388. package/src/aicore/aiediting.d.ts +0 -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.d.ts +41 -1
  393. package/src/aicore/model/aiinteraction.js +1 -1
  394. package/src/aicore/model/aireply.d.ts +2 -2
  395. package/src/aicore/model/aireply.js +1 -1
  396. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  397. package/src/aicore/pipeline/airesponseparser.js +2 -2
  398. package/src/aicore/ui/aidisclaimerview.js +1 -1
  399. package/src/aicore/ui/aiskeleton.js +1 -1
  400. package/src/aicore/ui/aispinner.js +1 -1
  401. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  402. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  403. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +16 -0
  404. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  405. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  406. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  407. package/src/aicore/utils/common-translations.js +1 -1
  408. package/src/aicore/utils/createresizebutton.js +1 -1
  409. package/src/aicore/utils/documentposition.js +1 -1
  410. package/src/aicore/utils/documentrange.js +1 -1
  411. package/src/aicore/utils/eventnames.d.ts +0 -1
  412. package/src/aicore/utils/eventnames.js +1 -1
  413. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  414. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  415. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  416. package/src/aicore/utils/htmlparser.js +1 -1
  417. package/src/aicore/utils/htmlstreamer.js +1 -1
  418. package/src/aieditorintegration/aieditorintegration.js +1 -1
  419. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -0
  420. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  421. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  422. package/src/aiquickactions/aiquickactions.d.ts +164 -1
  423. package/src/aiquickactions/aiquickactions.js +1 -1
  424. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  425. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  426. package/src/aiquickactions/aiquickactionsui.d.ts +0 -49
  427. package/src/aiquickactions/aiquickactionsui.js +1 -1
  428. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  429. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  430. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  431. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +0 -1
  432. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  433. package/src/aireviewmode/aireviewmode.d.ts +29 -0
  434. package/src/aireviewmode/aireviewmode.js +1 -1
  435. package/src/aireviewmode/aireviewmodecontroller.d.ts +0 -1
  436. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  437. package/src/aireviewmode/aireviewmodeediting.d.ts +1 -2
  438. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  439. package/src/aireviewmode/aireviewmodeui.d.ts +0 -1
  440. package/src/aireviewmode/aireviewmodeui.js +1 -1
  441. package/src/aireviewmode/model/aireviewcheck.d.ts +0 -1
  442. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  443. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +0 -1
  444. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  445. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  446. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  447. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  448. package/src/aireviewmode/model/aireviewcheckrun.d.ts +4 -0
  449. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  450. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +0 -1
  451. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  452. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  453. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +0 -1
  454. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  455. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  456. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  457. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  458. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  459. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  460. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  461. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  462. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  463. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  464. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  465. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  466. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  467. package/src/aitabs/aitabs.d.ts +6 -16
  468. package/src/aitabs/aitabs.js +1 -1
  469. package/src/aitabs/aitabsmainview.js +1 -1
  470. package/src/aitabs/tabs/aitabsview.js +1 -1
  471. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  472. package/src/aitabs/tabs/tabpanelview.js +1 -1
  473. package/src/index.d.ts +1 -1
  474. package/src/index.js +1 -1
  475. package/theme/aiballoon/aiballoon.css +17 -4
  476. package/theme/aichat/aichat.css +1 -0
  477. package/theme/aichat/aichatfeed.css +39 -0
  478. package/theme/aichat/aichathistory.css +26 -9
  479. package/theme/aichat/aiminitoolbar.css +8 -0
  480. package/theme/aichat/aisuggestioncontainer.css +6 -0
  481. package/theme/aieditorintegration/aitogglebutton.css +23 -0
  482. package/theme/aiquickactions/aiquickactions.css +23 -4
  483. package/theme/aireviewmode/aireviewmode-check-run-result.css +3 -2
  484. package/theme/aireviewmode/aireviewmode.css +23 -0
  485. package/theme/aitabs/aitabsview.css +6 -1
  486. package/theme/common/aibutton.css +1 -5
  487. package/theme/common/aiheader.css +1 -0
  488. package/theme/common/aitrackchanges.css +13 -0
  489. package/src/aiquickactions/utils/common-translations.d.ts +0 -9
  490. package/src/aiquickactions/utils/common-translations.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2755f=_0x41b5;function _0x41b5(_0x260e0a,_0x1e8283){var _0x5f19a1=_0x5f19();return _0x41b5=function(_0x41b5c9,_0x2f422a){_0x41b5c9=_0x41b5c9-0x1d1;var _0x3f5ca5=_0x5f19a1[_0x41b5c9];return _0x3f5ca5;},_0x41b5(_0x260e0a,_0x1e8283);}function _0x5f19(){var _0x1ec6f8=['5446744dfnUKS','models','1011JuraNi','22FEnkKI','129859pWZBpb','209815GXNCYV','3359916AidLre','_models','18nAtHZr','10576926dofFeJ','788UEchmB','7JLZabR','14440430xmUsNm'];_0x5f19=function(){return _0x1ec6f8;};return _0x5f19();}(function(_0x410b29,_0x257e90){var _0x5b448c=_0x41b5,_0x338460=_0x410b29();while(!![]){try{var _0x14011e=parseInt(_0x5b448c(0x1d4))/0x1+-parseInt(_0x5b448c(0x1d6))/0x2+-parseInt(_0x5b448c(0x1d2))/0x3*(-parseInt(_0x5b448c(0x1da))/0x4)+-parseInt(_0x5b448c(0x1d5))/0x5+parseInt(_0x5b448c(0x1d9))/0x6*(-parseInt(_0x5b448c(0x1db))/0x7)+-parseInt(_0x5b448c(0x1dd))/0x8*(-parseInt(_0x5b448c(0x1d8))/0x9)+parseInt(_0x5b448c(0x1dc))/0xa*(parseInt(_0x5b448c(0x1d3))/0xb);if(_0x14011e===_0x257e90)break;else _0x338460['push'](_0x338460['shift']());}catch(_0x2d9f82){_0x338460['push'](_0x338460['shift']());}}}(_0x5f19,0xeaafe));import{AIReviewCheck as _0x1ace7d}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x1ace7d{[_0x2755f(0x1d7)]=[];get[_0x2755f(0x1d1)](){var _0xef2372=_0x2755f;return this[_0xef2372(0x1d7)];}set[_0x2755f(0x1d1)](_0x74fd73){var _0x4b5948=_0x2755f;this[_0x4b5948(0x1d7)]=_0x74fd73;}}
23
+ var _0x11bde5=_0x2d6b;function _0x2d6b(_0x2541e7,_0x4f9be7){var _0x27e518=_0x27e5();return _0x2d6b=function(_0x2d6bfa,_0x4c3630){_0x2d6bfa=_0x2d6bfa-0x191;var _0x90437a=_0x27e518[_0x2d6bfa];return _0x90437a;},_0x2d6b(_0x2541e7,_0x4f9be7);}(function(_0x5bb115,_0x6f507d){var _0xc5cd51=_0x2d6b,_0x53a8d5=_0x5bb115();while(!![]){try{var _0x68aae6=-parseInt(_0xc5cd51(0x193))/0x1*(-parseInt(_0xc5cd51(0x195))/0x2)+-parseInt(_0xc5cd51(0x19b))/0x3*(-parseInt(_0xc5cd51(0x197))/0x4)+parseInt(_0xc5cd51(0x192))/0x5+parseInt(_0xc5cd51(0x199))/0x6+-parseInt(_0xc5cd51(0x196))/0x7+-parseInt(_0xc5cd51(0x19a))/0x8*(-parseInt(_0xc5cd51(0x191))/0x9)+-parseInt(_0xc5cd51(0x198))/0xa;if(_0x68aae6===_0x6f507d)break;else _0x53a8d5['push'](_0x53a8d5['shift']());}catch(_0x794acb){_0x53a8d5['push'](_0x53a8d5['shift']());}}}(_0x27e5,0xcec4b));function _0x27e5(){var _0x181587=['15nLynum','models','1896525tFldcY','2968765imVRIM','2887FaUOeH','_models','170ZnDkVZ','33096gSXFFA','183140LtyouN','21183320NmGfbR','10147110GmAmqB','8BlJeWR'];_0x27e5=function(){return _0x181587;};return _0x27e5();}import{AIReviewCheck as _0x1618ff}from'./aireviewcheck.js';export class AIReviewCheckCustom extends _0x1618ff{[_0x11bde5(0x194)]=[];get[_0x11bde5(0x19c)](){var _0x3cb218=_0x11bde5;return this[_0x3cb218(0x194)];}set[_0x11bde5(0x19c)](_0x367947){var _0x322081=_0x11bde5;this[_0x322081(0x194)]=_0x367947;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x36b18d=_0x170e;function _0x170e(_0x578197,_0x4c98fb){var _0x4e88d2=_0x4e88();return _0x170e=function(_0x170e3f,_0x6c71dc){_0x170e3f=_0x170e3f-0xee;var _0x63558a=_0x4e88d2[_0x170e3f];return _0x63558a;},_0x170e(_0x578197,_0x4c98fb);}(function(_0x19edbd,_0x4870d1){var _0x502301=_0x170e,_0x1c7df1=_0x19edbd();while(!![]){try{var _0xf40da4=parseInt(_0x502301(0xf2))/0x1*(-parseInt(_0x502301(0xf7))/0x2)+-parseInt(_0x502301(0xf3))/0x3+-parseInt(_0x502301(0xf6))/0x4*(-parseInt(_0x502301(0xf8))/0x5)+parseInt(_0x502301(0xf4))/0x6*(-parseInt(_0x502301(0xf0))/0x7)+parseInt(_0x502301(0xf5))/0x8+-parseInt(_0x502301(0xfe))/0x9+parseInt(_0x502301(0xfc))/0xa;if(_0xf40da4===_0x4870d1)break;else _0x1c7df1['push'](_0x1c7df1['shift']());}catch(_0x25e5c2){_0x1c7df1['push'](_0x1c7df1['shift']());}}}(_0x4e88,0x19efe));import{ObservableMixin as _0x3fde06}from'ckeditor5/src/utils.js';function _0x4e88(){var _0x4bb3f7=['23838RLQfEV','222pLCMWd','445616sPzGwd','129112vCRHEU','22tQwOyq','5hLwFUW','getCheckById','find','checks','1800680ExFlFb','_checks','755766jzQyHT','map','_mapCheckDefinitions','2765mOAZAm','custom','5025evCtcD'];_0x4e88=function(){return _0x4bb3f7;};return _0x4e88();}import{AIReviewCheck as _0x636ed7}from'./aireviewcheck.js';import{AIReviewCheckCustom as _0x377d87}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x3fde06(){[_0x36b18d(0xfd)];constructor(_0x56cd4c){var _0xb162fa=_0x36b18d;super(),this[_0xb162fa(0xfd)]=this[_0xb162fa(0xef)](_0x56cd4c);}get[_0x36b18d(0xfb)](){var _0x34134b=_0x36b18d;return this[_0x34134b(0xfd)];}[_0x36b18d(0xf9)](_0x2c8322){var _0x131463=_0x36b18d;return this[_0x131463(0xfb)][_0x131463(0xfa)](_0x1b816b=>_0x1b816b['id']===_0x2c8322);}[_0x36b18d(0xef)](_0xc1dd67){var _0x560a0e=_0x36b18d;return _0xc1dd67[_0x560a0e(0xee)](_0x4aea4f=>_0x560a0e(0xf1)===_0x4aea4f['id']?new _0x377d87(_0x4aea4f):new _0x636ed7(_0x4aea4f));}}
23
+ function _0x52e3(){var _0x195b47=['_checks','3675808OwtHXv','6pAbxTA','_mapCheckDefinitions','find','getCheckById','custom','624104Pigmgf','map','1185518NYDIxE','checks','538nxBHwf','13261293aOTPKk','9702cajCUz','3011043JsBbRh','1920205ehcmCo'];_0x52e3=function(){return _0x195b47;};return _0x52e3();}var _0x5ba0d1=_0x2488;(function(_0x385224,_0xf8aaa0){var _0x2b117e=_0x2488,_0x204ef5=_0x385224();while(!![]){try{var _0x499314=-parseInt(_0x2b117e(0x171))/0x1+-parseInt(_0x2b117e(0x173))/0x2*(-parseInt(_0x2b117e(0x165))/0x3)+-parseInt(_0x2b117e(0x16f))/0x4+-parseInt(_0x2b117e(0x167))/0x5*(parseInt(_0x2b117e(0x16a))/0x6)+-parseInt(_0x2b117e(0x166))/0x7+parseInt(_0x2b117e(0x169))/0x8+parseInt(_0x2b117e(0x164))/0x9;if(_0x499314===_0xf8aaa0)break;else _0x204ef5['push'](_0x204ef5['shift']());}catch(_0x3d6b5a){_0x204ef5['push'](_0x204ef5['shift']());}}}(_0x52e3,0x9dffd));import{ObservableMixin as _0x22d04a}from'ckeditor5/src/utils.js';import{AIReviewCheck as _0x1f2365}from'./aireviewcheck.js';function _0x2488(_0x42230d,_0x4cc641){var _0x52e3f5=_0x52e3();return _0x2488=function(_0x24885f,_0x4faebb){_0x24885f=_0x24885f-0x164;var _0x103062=_0x52e3f5[_0x24885f];return _0x103062;},_0x2488(_0x42230d,_0x4cc641);}import{AIReviewCheckCustom as _0x5ae9d2}from'./aireviewcheckcustom.js';export class AIReviewCheckList extends _0x22d04a(){[_0x5ba0d1(0x168)];constructor(_0x45acd7){var _0xf4587e=_0x5ba0d1;super(),this[_0xf4587e(0x168)]=this[_0xf4587e(0x16b)](_0x45acd7);}get[_0x5ba0d1(0x172)](){var _0x58a2b0=_0x5ba0d1;return this[_0x58a2b0(0x168)];}[_0x5ba0d1(0x16d)](_0x17ddb7){var _0x5456ac=_0x5ba0d1;return this[_0x5456ac(0x172)][_0x5456ac(0x16c)](_0x1cd248=>_0x1cd248['id']===_0x17ddb7);}[_0x5ba0d1(0x16b)](_0x1e4eaa){var _0x25de77=_0x5ba0d1;return _0x1e4eaa[_0x25de77(0x170)](_0x538be5=>_0x25de77(0x16e)===_0x538be5['id']?new _0x5ae9d2(_0x538be5):new _0x1f2365(_0x538be5));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3e8d3e=_0x5e38;function _0x5e38(_0x28bd90,_0x1b9059){var _0x2d5f7b=_0x2d5f();return _0x5e38=function(_0x5e3871,_0x13ffff){_0x5e3871=_0x5e3871-0x7b;var _0x3a526f=_0x2d5f7b[_0x5e3871];return _0x3a526f;},_0x5e38(_0x28bd90,_0x1b9059);}(function(_0x5ea991,_0x48d8e1){var _0x21122e=_0x5e38,_0x5acad5=_0x5ea991();while(!![]){try{var _0xec3dab=parseInt(_0x21122e(0x7b))/0x1+-parseInt(_0x21122e(0x84))/0x2+-parseInt(_0x21122e(0x7c))/0x3*(-parseInt(_0x21122e(0x87))/0x4)+-parseInt(_0x21122e(0x85))/0x5*(parseInt(_0x21122e(0x7f))/0x6)+parseInt(_0x21122e(0x82))/0x7+-parseInt(_0x21122e(0x86))/0x8+-parseInt(_0x21122e(0x7e))/0x9*(parseInt(_0x21122e(0x7d))/0xa);if(_0xec3dab===_0x48d8e1)break;else _0x5acad5['push'](_0x5acad5['shift']());}catch(_0x4632da){_0x5acad5['push'](_0x5acad5['shift']());}}}(_0x2d5f,0xb4569));import{EmitterMixin as _0x184d7b}from'ckeditor5/src/utils.js';export class AIReviewCheckResult extends _0x184d7b(){['id'];[_0x3e8d3e(0x83)];[_0x3e8d3e(0x80)];[_0x3e8d3e(0x81)];constructor({id:_0xef75b6,contentNew:_0x5574fd,contentInitial:_0x47e204,documentVersion:_0x40ded3}){var _0x491bfc=_0x3e8d3e;super(),this['id']=_0xef75b6,this[_0x491bfc(0x83)]=_0x5574fd,this[_0x491bfc(0x80)]=_0x47e204,this[_0x491bfc(0x81)]=_0x40ded3;}}function _0x2d5f(){var _0x3edb28=['documentVersion','7817803UwopYq','contentNew','901470OdDexf','5zCMSRQ','6895664rxTsTs','278004yOoOVP','669162EPDLEr','54inFwXR','9783340danNJl','9DCmsup','43902sHpazG','contentInitial'];_0x2d5f=function(){return _0x3edb28;};return _0x2d5f();}
23
+ var _0x2fbec5=_0x9a9a;function _0x9a9a(_0x2e42b4,_0x2a2825){var _0x885933=_0x8859();return _0x9a9a=function(_0x9a9a6f,_0x35b720){_0x9a9a6f=_0x9a9a6f-0x1a2;var _0x53f59d=_0x885933[_0x9a9a6f];return _0x53f59d;},_0x9a9a(_0x2e42b4,_0x2a2825);}(function(_0x483a39,_0x1de519){var _0x4dd9a0=_0x9a9a,_0xd907be=_0x483a39();while(!![]){try{var _0x17dcd7=-parseInt(_0x4dd9a0(0x1ac))/0x1+parseInt(_0x4dd9a0(0x1a8))/0x2+-parseInt(_0x4dd9a0(0x1ad))/0x3*(-parseInt(_0x4dd9a0(0x1a5))/0x4)+-parseInt(_0x4dd9a0(0x1ab))/0x5+-parseInt(_0x4dd9a0(0x1a7))/0x6*(-parseInt(_0x4dd9a0(0x1a3))/0x7)+-parseInt(_0x4dd9a0(0x1aa))/0x8+parseInt(_0x4dd9a0(0x1a4))/0x9*(parseInt(_0x4dd9a0(0x1a6))/0xa);if(_0x17dcd7===_0x1de519)break;else _0xd907be['push'](_0xd907be['shift']());}catch(_0x53ef5b){_0xd907be['push'](_0xd907be['shift']());}}}(_0x8859,0xdaf9a));import{EmitterMixin as _0x58b352}from'ckeditor5/src/utils.js';function _0x8859(){var _0xc93953=['7tADNVw','810036ggNVKO','486496DTCZhF','50iQtTSI','9107016xmhAOu','306646FWNpGz','contentNew','1326280cwzVEq','2698990LDnXly','1734914CMaaEL','30vmmROC','contentInitial','documentVersion'];_0x8859=function(){return _0xc93953;};return _0x8859();}export class AIReviewCheckResult extends _0x58b352(){['id'];[_0x2fbec5(0x1a9)];[_0x2fbec5(0x1ae)];[_0x2fbec5(0x1a2)];constructor({id:_0x4771cc,contentNew:_0x57fca2,contentInitial:_0x467b42,documentVersion:_0x5d4cb5}){var _0x2105aa=_0x2fbec5;super(),this['id']=_0x4771cc,this[_0x2105aa(0x1a9)]=_0x57fca2,this[_0x2105aa(0x1ae)]=_0x467b42,this[_0x2105aa(0x1a2)]=_0x5d4cb5;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3dc5c1=_0x2b13;(function(_0x4043f6,_0x580868){var _0x4d4bda=_0x2b13,_0x3a6616=_0x4043f6();while(!![]){try{var _0x43d3fc=-parseInt(_0x4d4bda(0x155))/0x1*(-parseInt(_0x4d4bda(0x15f))/0x2)+-parseInt(_0x4d4bda(0x166))/0x3+parseInt(_0x4d4bda(0x163))/0x4+-parseInt(_0x4d4bda(0x157))/0x5+parseInt(_0x4d4bda(0x15b))/0x6*(parseInt(_0x4d4bda(0x15a))/0x7)+-parseInt(_0x4d4bda(0x165))/0x8*(parseInt(_0x4d4bda(0x156))/0x9)+parseInt(_0x4d4bda(0x152))/0xa*(parseInt(_0x4d4bda(0x15d))/0xb);if(_0x43d3fc===_0x580868)break;else _0x3a6616['push'](_0x3a6616['shift']());}catch(_0x3c4b18){_0x3a6616['push'](_0x3a6616['shift']());}}}(_0x1be8,0x62518));function _0x2b13(_0x4496cb,_0x53936b){var _0x1be836=_0x1be8();return _0x2b13=function(_0x2b133a,_0x2fd988){_0x2b133a=_0x2b133a-0x151;var _0x200e58=_0x1be836[_0x2b133a];return _0x200e58;},_0x2b13(_0x4496cb,_0x53936b);}import{ObservableMixin as _0x144f00}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x144f00(){['id'];[_0x3dc5c1(0x15e)];[_0x3dc5c1(0x153)];[_0x3dc5c1(0x160)]=[];constructor(_0x838d96,_0x10bdbb,_0x4b6c8d){var _0xa5b2b4=_0x3dc5c1;super(),this['id']=_0x838d96,this[_0xa5b2b4(0x15e)]=_0x4b6c8d,this[_0xa5b2b4(0x153)]=_0x10bdbb,this[_0xa5b2b4(0x159)](_0xa5b2b4(0x154),!0x1),this[_0xa5b2b4(0x159)](_0xa5b2b4(0x151),_0xa5b2b4(0x15c));}get[_0x3dc5c1(0x164)](){var _0x316819=_0x3dc5c1;return this[_0x316819(0x153)][_0x316819(0x158)]();}get[_0x3dc5c1(0x161)](){var _0x345d91=_0x3dc5c1;return this[_0x345d91(0x153)][_0x345d91(0x161)];}get[_0x3dc5c1(0x162)](){var _0x2c8ee5=_0x3dc5c1;return this[_0x2c8ee5(0x153)][_0x2c8ee5(0x162)];}}function _0x1be8(){var _0x2a3516=['907071WADibk','parent','126GXLHhf','_editorOperations','operations','operationsIsolated','2788808CqEaLI','contentDiffed','8smDWcf','358989vaiNZo','status','20rbdVKl','_data','isActivated','6502bfDxkW','4054329xWjLDO','3366585vsDlkD','context','set','374423BdfDTz','42DdvyYG','active'];_0x1be8=function(){return _0x2a3516;};return _0x1be8();}
23
+ function _0x3fee(){var _0x4cf951=['567980nXUCfo','3519NpQUFr','496612WcrMZk','active','1573418uvRZBZ','_data','context','_editorOperations','operations','isActivated','contentDiffed','15584NUQjHQ','1038948GGvTNg','status','set','operationsIsolated','parent','272280NyxotG','5PGrAhD','251643ykMtKX'];_0x3fee=function(){return _0x4cf951;};return _0x3fee();}var _0x41eecc=_0xbaf9;(function(_0x27ce3a,_0x14c5e0){var _0x51c7a8=_0xbaf9,_0xa1189f=_0x27ce3a();while(!![]){try{var _0x55d8ec=parseInt(_0x51c7a8(0x1fc))/0x1+-parseInt(_0x51c7a8(0x1ff))/0x2+-parseInt(_0x51c7a8(0x1fe))/0x3+parseInt(_0x51c7a8(0x201))/0x4*(-parseInt(_0x51c7a8(0x1fd))/0x5)+-parseInt(_0x51c7a8(0x1f7))/0x6+-parseInt(_0x51c7a8(0x1ef))/0x7+parseInt(_0x51c7a8(0x1f6))/0x8*(parseInt(_0x51c7a8(0x200))/0x9);if(_0x55d8ec===_0x14c5e0)break;else _0xa1189f['push'](_0xa1189f['shift']());}catch(_0x25edd9){_0xa1189f['push'](_0xa1189f['shift']());}}}(_0x3fee,0x23278));function _0xbaf9(_0x5664a8,_0x30ed4a){var _0x3fee14=_0x3fee();return _0xbaf9=function(_0xbaf934,_0x457697){_0xbaf934=_0xbaf934-0x1ef;var _0x30b84a=_0x3fee14[_0xbaf934];return _0x30b84a;},_0xbaf9(_0x5664a8,_0x30ed4a);}import{ObservableMixin as _0x5cdbd8}from'ckeditor5/src/utils.js';export class AIReviewCheckResultChange extends _0x5cdbd8(){['id'];[_0x41eecc(0x1fb)];[_0x41eecc(0x1f0)];[_0x41eecc(0x1f2)]=[];constructor(_0x50f818,_0x3255f8,_0x2212bb){var _0x584965=_0x41eecc;super(),this['id']=_0x50f818,this[_0x584965(0x1fb)]=_0x2212bb,this[_0x584965(0x1f0)]=_0x3255f8,this[_0x584965(0x1f9)](_0x584965(0x1f4),!0x1),this[_0x584965(0x1f9)](_0x584965(0x1f8),_0x584965(0x202));}get[_0x41eecc(0x1f5)](){var _0x3aee21=_0x41eecc;return this[_0x3aee21(0x1f0)][_0x3aee21(0x1f1)]();}get[_0x41eecc(0x1f3)](){var _0x17cb05=_0x41eecc;return this[_0x17cb05(0x1f0)][_0x17cb05(0x1f3)];}get[_0x41eecc(0x1fa)](){var _0x538efe=_0x41eecc;return this[_0x538efe(0x1f0)][_0x538efe(0x1fa)];}}
@@ -23,6 +23,7 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
23
23
  * The check run ID.
24
24
  */
25
25
  readonly id: string;
26
+ callId?: string;
26
27
  constructor(documentData: AIDocumentData, sourceCheck: AIReviewCheck, connector: AIConnector, params?: Array<string>, args?: Record<string, any>);
27
28
  /**
28
29
  * Returns the document data obtained at the time of the check run.
@@ -58,6 +59,9 @@ export declare abstract class AIReviewCheckRun extends /* #__PURE__ */ AIReviewC
58
59
  activateChange(changeId: string): void;
59
60
  deactivateChange(): void;
60
61
  forceReadyState(): void;
62
+ getAcceptedChangesCount(): number;
63
+ getTotalChangesCount(): number;
64
+ get reviewName(): string;
61
65
  }
62
66
  export type AIReviewCheckRunUpdatedEvent = {
63
67
  name: 'reviewCheckRunUpdated';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a97d4=_0x588a;(function(_0x5e6e2f,_0x4a9171){const _0x487799=_0x588a,_0x2e2564=_0x5e6e2f();while(!![]){try{const _0xbf084c=parseInt(_0x487799(0x1b0))/0x1+-parseInt(_0x487799(0x1a2))/0x2+-parseInt(_0x487799(0x1c5))/0x3+parseInt(_0x487799(0x1db))/0x4+-parseInt(_0x487799(0x1c3))/0x5*(-parseInt(_0x487799(0x1d2))/0x6)+parseInt(_0x487799(0x1aa))/0x7+-parseInt(_0x487799(0x199))/0x8*(-parseInt(_0x487799(0x191))/0x9);if(_0xbf084c===_0x4a9171)break;else _0x2e2564['push'](_0x2e2564['shift']());}catch(_0x3f7eb5){_0x2e2564['push'](_0x2e2564['shift']());}}}(_0x2bcc,0x20861));function _0x588a(_0x4cdaee,_0x133061){const _0x2bccb0=_0x2bcc();return _0x588a=function(_0x588ad6,_0x315f07){_0x588ad6=_0x588ad6-0x18a;let _0x1b7688=_0x2bccb0[_0x588ad6];return _0x1b7688;},_0x588a(_0x4cdaee,_0x133061);}import{ObservableMixin as _0x4c37ec,uid as _0x3070d3}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x2d81ed}from'./aireviewcheckresult.js';function _0x2bcc(){const _0x3041ae=['change:isActivated','processedResultsCount','restart','clear','_reviewParams','173241BkymFC','error-general','length','deactivateChange','_reviewArgs','reviewCheckResultRejected','start','accepted','16MCqkMp','markChangeAsAccepted','isChangeActive','error-chunk','size','data','_documentData','forceReadyState','active','506604cNUGBa','abort','abortController','textDelta','getContent','initialized','_activeRequest','message','490189wtfdDS','reviewCheckResultAccepted','aborted','includes','reviewCheckResultReady','rejected','131044JGAZBn','change:status','reviewCheckRunUpdated','operation','_createApiRequest','_sourceCheck','Not\x20implemented.','finished','_addReviewCheckResult','documentData','isActivated','markChangeAsRejected','filter','ai-request-aborted','addResultChanges','reviewCheckResultDeactivated','reviewCheckResultAdded','getActiveChanges','title','5LEVljt','get','122571twpQeA','status','_results','dataId','_checkIfFinished','elements','push','forEach','find','error','set','getStream','version','757032EABlGz','_aiConnector','_changes','ready','unmodified','fire','activateChange','loading','markAllChangesAsAccepted','246540HyVUuO','reviewCheckResultActivated','_currentError'];_0x2bcc=function(){return _0x3041ae;};return _0x2bcc();}import{AIReviewCheckResultChange as _0x4864e3}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0x4c37ec(){['id']=_0x3070d3();[_0x2a97d4(0x1c7)]=new Map();[_0x2a97d4(0x1d4)]=[];[_0x2a97d4(0x19f)];[_0x2a97d4(0x1b5)];[_0x2a97d4(0x1d3)];[_0x2a97d4(0x190)];[_0x2a97d4(0x195)];[_0x2a97d4(0x1a8)]=null;[_0x2a97d4(0x18b)];constructor(_0x2d4e1e,_0x39ce68,_0x419e1b,_0x208c4a,_0x5e75a0){const _0x5ee80b=_0x2a97d4;super(),this[_0x5ee80b(0x19f)]=_0x2d4e1e,this[_0x5ee80b(0x1b5)]=_0x39ce68,this[_0x5ee80b(0x1d3)]=_0x419e1b,this[_0x5ee80b(0x190)]=_0x208c4a,this[_0x5ee80b(0x195)]=_0x5e75a0,this['on'](_0x5ee80b(0x1b1),(_0x308dc3,_0x26184c,_0x4f966d)=>{const _0x5e3d6a=_0x5ee80b;this[_0x5e3d6a(0x1d7)](_0x5e3d6a(0x1b2),{'status':_0x4f966d,'run':this,'error':this[_0x5e3d6a(0x18b)]});}),this[_0x5ee80b(0x1cf)](_0x5ee80b(0x1c6),_0x5ee80b(0x1a7));}get[_0x2a97d4(0x1b9)](){const _0x14d505=_0x2a97d4;return this[_0x14d505(0x19f)];}get[_0x2a97d4(0x18d)](){const _0x25be58=_0x2a97d4;return this[_0x25be58(0x1c7)][_0x25be58(0x19d)];}get[_0x2a97d4(0x1c2)](){const _0x788a90=_0x2a97d4;return this[_0x788a90(0x1b5)][_0x788a90(0x1c2)];}async[_0x2a97d4(0x197)](){const _0x380a4a=_0x2a97d4;this[_0x380a4a(0x1c6)]=_0x380a4a(0x1d9),this[_0x380a4a(0x18b)]=void 0x0;try{this[_0x380a4a(0x1a8)]=this[_0x380a4a(0x1b4)]();const _0x1ff304=await this[_0x380a4a(0x1a8)][_0x380a4a(0x1d0)]();this[_0x380a4a(0x1c6)]=_0x380a4a(0x19e);for await(const _0x45f07a of _0x1ff304)_0x380a4a(0x1d6)!==_0x45f07a[_0x380a4a(0x19e)][_0x380a4a(0x1b3)]&&(_0x380a4a(0x1ce)!==_0x45f07a[_0x380a4a(0x19e)][_0x380a4a(0x1b3)]?this[_0x380a4a(0x1b8)](_0x45f07a[_0x380a4a(0x19e)][_0x380a4a(0x1c8)],_0x45f07a[_0x380a4a(0x19e)][_0x380a4a(0x1a5)]):this[_0x380a4a(0x1c6)]=_0x380a4a(0x19c));_0x380a4a(0x19c)!==this[_0x380a4a(0x1c6)]&&(0x0===this[_0x380a4a(0x1c7)][_0x380a4a(0x19d)]?this[_0x380a4a(0x1c6)]=_0x380a4a(0x1d6):this[_0x380a4a(0x1c6)]=_0x380a4a(0x1d5));}catch(_0x7f5ca0){this[_0x380a4a(0x18b)]=_0x7f5ca0,_0x7f5ca0 instanceof Error&&_0x7f5ca0[_0x380a4a(0x1a9)][_0x380a4a(0x1ad)](_0x380a4a(0x1bd))?this[_0x380a4a(0x1c6)]=_0x380a4a(0x1ac):this[_0x380a4a(0x1c6)]=_0x380a4a(0x192);}finally{this[_0x380a4a(0x1a8)]=null;}}async[_0x2a97d4(0x18e)](){const _0x472e83=_0x2a97d4;this[_0x472e83(0x1c7)][_0x472e83(0x18f)](),this[_0x472e83(0x1d4)][_0x472e83(0x193)]=0x0,this[_0x472e83(0x18b)]=void 0x0,await this[_0x472e83(0x197)]();}[_0x2a97d4(0x1be)](_0x464a50,_0x5cc16e){const _0x2f32df=_0x2a97d4,_0x340292=this[_0x2f32df(0x1c7)][_0x2f32df(0x1c4)](_0x464a50);if(!_0x340292)return;const _0x100298=[];_0x5cc16e[_0x2f32df(0x1cc)]((_0x5483bf,_0x7eab66)=>{const _0x434247=_0x2f32df,_0x572771=new _0x4864e3(_0x340292['id']+'-'+_0x7eab66,_0x5483bf,_0x340292);_0x572771['on'](_0x434247(0x1b1),()=>{const _0x416856=_0x434247;_0x416856(0x198)===_0x572771[_0x416856(0x1c6)]?this[_0x416856(0x1d7)](_0x416856(0x1ab),{'change':_0x572771}):_0x416856(0x1af)===_0x572771[_0x416856(0x1c6)]&&this[_0x416856(0x1d7)](_0x416856(0x196),{'change':_0x572771});}),_0x572771['on'](_0x434247(0x18c),()=>{const _0x5d75ff=_0x434247;_0x572771[_0x5d75ff(0x1ba)]?this[_0x5d75ff(0x1d7)](_0x5d75ff(0x18a),{'change':_0x572771}):this[_0x5d75ff(0x1d7)](_0x5d75ff(0x1bf),{'change':_0x572771});}),this[_0x434247(0x1d4)][_0x434247(0x1cb)](_0x572771),_0x100298[_0x434247(0x1cb)](_0x572771);}),this[_0x2f32df(0x1d7)](_0x2f32df(0x1ae),{'changes':_0x100298,'result':_0x340292,'source':this});}[_0x2a97d4(0x1a3)](){const _0x57bb71=_0x2a97d4;this[_0x57bb71(0x1a8)]&&(this[_0x57bb71(0x1a8)][_0x57bb71(0x1a4)][_0x57bb71(0x1a3)](),this[_0x57bb71(0x1a8)]=null,this[_0x57bb71(0x1c6)]=_0x57bb71(0x1ac));}[_0x2a97d4(0x19b)](_0x107114){const _0x233267=_0x2a97d4,_0x2dcb25=this[_0x233267(0x1d4)][_0x233267(0x1cd)](_0x14766d=>_0x14766d['id']===_0x107114);return!(!_0x2dcb25||_0x233267(0x1a1)!==_0x2dcb25[_0x233267(0x1c6)]);}[_0x2a97d4(0x1c1)](){const _0x2927a9=_0x2a97d4;return this[_0x2927a9(0x1d4)][_0x2927a9(0x1bc)](_0x31437c=>_0x2927a9(0x1a1)===_0x31437c[_0x2927a9(0x1c6)]);}[_0x2a97d4(0x1da)](){const _0x4a23a2=_0x2a97d4;for(const _0x4ef55f of this[_0x4a23a2(0x1d4)])_0x4a23a2(0x1a1)===_0x4ef55f[_0x4a23a2(0x1c6)]&&(_0x4ef55f[_0x4a23a2(0x1c6)]=_0x4a23a2(0x198));this[_0x4a23a2(0x1c9)]();}[_0x2a97d4(0x19a)](_0xd0202){const _0x5e1f23=_0x2a97d4,_0x2afa4c=this[_0x5e1f23(0x1d4)][_0x5e1f23(0x1cd)](_0x186eb2=>_0x186eb2['id']===_0xd0202);_0x2afa4c&&_0x5e1f23(0x1a1)===_0x2afa4c[_0x5e1f23(0x1c6)]&&(_0x2afa4c[_0x5e1f23(0x1c6)]=_0x5e1f23(0x198)),this[_0x5e1f23(0x1c9)]();}[_0x2a97d4(0x1bb)](_0x11ba79){const _0x45d03=_0x2a97d4,_0x5b42a9=this[_0x45d03(0x1d4)][_0x45d03(0x1cd)](_0xf8796f=>_0xf8796f['id']===_0x11ba79);_0x5b42a9&&_0x45d03(0x1a1)===_0x5b42a9[_0x45d03(0x1c6)]&&(_0x5b42a9[_0x45d03(0x1c6)]=_0x45d03(0x1af)),this[_0x45d03(0x1c9)]();}[_0x2a97d4(0x1d8)](_0x502aac){const _0x2c749c=_0x2a97d4;this[_0x2c749c(0x1d4)][_0x2c749c(0x1bc)](_0x3984c7=>_0x3984c7[_0x2c749c(0x1ba)]&&_0x3984c7['id']!==_0x502aac)[_0x2c749c(0x1cc)](_0x5d6f93=>{const _0x3a7ec4=_0x2c749c;_0x5d6f93[_0x3a7ec4(0x1ba)]=!0x1;});const _0x7681e3=this[_0x2c749c(0x1d4)][_0x2c749c(0x1cd)](_0x4fef23=>_0x4fef23['id']===_0x502aac);_0x7681e3&&(_0x7681e3[_0x2c749c(0x1ba)]=!0x0);}[_0x2a97d4(0x194)](){const _0x4c4ed3=_0x2a97d4;this[_0x4c4ed3(0x1d4)][_0x4c4ed3(0x1bc)](_0x5e0bc1=>_0x5e0bc1[_0x4c4ed3(0x1ba)])[_0x4c4ed3(0x1cc)](_0x596a1b=>{const _0x417179=_0x4c4ed3;_0x596a1b[_0x417179(0x1ba)]=!0x1;});}[_0x2a97d4(0x1a0)](){const _0x3364c0=_0x2a97d4;this[_0x3364c0(0x1c6)]=_0x3364c0(0x1d5);}[_0x2a97d4(0x1b8)](_0x172204,_0x1030ac){const _0x36d0d5=_0x2a97d4,_0x13af6d=this[_0x36d0d5(0x19f)][_0x36d0d5(0x1ca)][_0x36d0d5(0x1c4)](_0x172204);if(!_0x13af6d)return;const _0x246286=_0x13af6d[_0x36d0d5(0x1a6)]();if(_0x246286===_0x1030ac)return;const _0x20e8ec=new _0x2d81ed({'id':_0x172204,'contentInitial':_0x246286,'contentNew':_0x1030ac,'documentVersion':this[_0x36d0d5(0x19f)][_0x36d0d5(0x1d1)]});this[_0x36d0d5(0x1c7)][_0x36d0d5(0x1cf)](_0x20e8ec['id'],_0x20e8ec),this[_0x36d0d5(0x1d7)](_0x36d0d5(0x1c0),{'result':_0x20e8ec,'source':this});}[_0x2a97d4(0x1c9)](){const _0x4a62d5=_0x2a97d4;if(_0x4a62d5(0x1d5)!==this[_0x4a62d5(0x1c6)])return;0x0===this[_0x4a62d5(0x1d4)][_0x4a62d5(0x1bc)](_0x11eb33=>_0x4a62d5(0x1a1)===_0x11eb33[_0x4a62d5(0x1c6)])[_0x4a62d5(0x193)]&&(this[_0x4a62d5(0x1c6)]=_0x4a62d5(0x1b7));}[_0x2a97d4(0x1b4)](){const _0x20778f=_0x2a97d4;throw new Error(_0x20778f(0x1b6));}}
23
+ function _0x435f(_0x1a2a11,_0x1cd9de){const _0x5af16f=_0x5af1();return _0x435f=function(_0x435f6d,_0x170d62){_0x435f6d=_0x435f6d-0x104;let _0x2e3a7b=_0x5af16f[_0x435f6d];return _0x2e3a7b;},_0x435f(_0x1a2a11,_0x1cd9de);}const _0x276382=_0x435f;function _0x5af1(){const _0x114b13=['loading','_sourceCheck','size','forEach','12774280dIILER','_reviewParams','error-general','aborted','isChangeActive','message','_reviewArgs','callId','_currentError','processedResultsCount','_aiConnector','getStream','set','status','908014SiBwoT','_addReviewCheckResult','abortController','filter','reviewName','fire','_createApiRequest','active','clear','_checkIfFinished','initialized','getActiveChanges','error-chunk','finished','_documentData','dataId','1417564PMjMEO','markChangeAsAccepted','ready','version','6147924gZmbDA','unmodified','restart','documentData','isActivated','3RpQwWj','_results','markAllChangesAsAccepted','data','start','Not\x20implemented.','change:status','reviewCheckResultReady','90WWOqac','getAcceptedChangesCount','push','479381sVeMzR','get','reviewCheckRunUpdated','getContent','reviewCheckResultDeactivated','length','ai-request-aborted','reviewCheckResultAccepted','deactivateChange','error','11BpVouV','forceReadyState','9rMuFnL','reviewCheckResultActivated','_changes','rejected','change:isActivated','elements','textDelta','_activeRequest','addResultChanges','2349820lSRWOr','abort','markChangeAsRejected','4400888fcsRfZ','activateChange','accepted','reviewCheckResultRejected','event','includes','find','operation','title','reviewCheckResultAdded','getTotalChangesCount','3ztePCk','review-metadata'];_0x5af1=function(){return _0x114b13;};return _0x5af1();}(function(_0x1abad9,_0x2423e0){const _0x44e01e=_0x435f,_0x2c38b4=_0x1abad9();while(!![]){try{const _0x339725=parseInt(_0x44e01e(0x12c))/0x1*(parseInt(_0x44e01e(0x113))/0x2)+-parseInt(_0x44e01e(0x15a))/0x3*(-parseInt(_0x44e01e(0x123))/0x4)+-parseInt(_0x44e01e(0x14c))/0x5+parseInt(_0x44e01e(0x134))/0x6*(parseInt(_0x44e01e(0x137))/0x7)+-parseInt(_0x44e01e(0x14f))/0x8*(parseInt(_0x44e01e(0x143))/0x9)+-parseInt(_0x44e01e(0x105))/0xa+-parseInt(_0x44e01e(0x141))/0xb*(-parseInt(_0x44e01e(0x127))/0xc);if(_0x339725===_0x2423e0)break;else _0x2c38b4['push'](_0x2c38b4['shift']());}catch(_0x5f4978){_0x2c38b4['push'](_0x2c38b4['shift']());}}}(_0x5af1,0xea011));import{ObservableMixin as _0xcb3fe3,uid as _0x28d9b8}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0x5b4cdd}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x1eaf4d}from'./aireviewcheckresultchange.js';export class AIReviewCheckRun extends _0xcb3fe3(){['id']=_0x28d9b8();[_0x276382(0x12d)]=new Map();[_0x276382(0x145)]=[];[_0x276382(0x121)];[_0x276382(0x15d)];[_0x276382(0x10f)];[_0x276382(0x106)];[_0x276382(0x10b)];[_0x276382(0x14a)]=null;[_0x276382(0x10d)];[_0x276382(0x10c)];constructor(_0x14e34f,_0x2ffa9d,_0x45760e,_0x4fed14,_0x462871){const _0x551792=_0x276382;super(),this[_0x551792(0x121)]=_0x14e34f,this[_0x551792(0x15d)]=_0x2ffa9d,this[_0x551792(0x10f)]=_0x45760e,this[_0x551792(0x106)]=_0x4fed14,this[_0x551792(0x10b)]=_0x462871,this['on'](_0x551792(0x132),(_0x35ad98,_0x2d4d79,_0x9addde)=>{const _0x3b4c21=_0x551792;this[_0x3b4c21(0x118)](_0x3b4c21(0x139),{'status':_0x9addde,'run':this,'error':this[_0x3b4c21(0x10d)]});}),this[_0x551792(0x111)](_0x551792(0x112),_0x551792(0x11d));}get[_0x276382(0x12a)](){const _0x3950b9=_0x276382;return this[_0x3950b9(0x121)];}get[_0x276382(0x10e)](){const _0x4939e=_0x276382;return this[_0x4939e(0x12d)][_0x4939e(0x15e)];}get[_0x276382(0x157)](){const _0x2a564a=_0x276382;return this[_0x2a564a(0x15d)][_0x2a564a(0x157)];}async[_0x276382(0x130)](){const _0x53acc9=_0x276382;this[_0x53acc9(0x112)]=_0x53acc9(0x15c),this[_0x53acc9(0x10d)]=void 0x0;try{this[_0x53acc9(0x14a)]=this[_0x53acc9(0x119)]();const _0x472424=await this[_0x53acc9(0x14a)][_0x53acc9(0x110)]();this[_0x53acc9(0x112)]=_0x53acc9(0x12f);for await(const _0x5dfdc5 of _0x472424)_0x53acc9(0x128)!==_0x5dfdc5[_0x53acc9(0x12f)][_0x53acc9(0x156)]&&(_0x53acc9(0x140)!==_0x5dfdc5[_0x53acc9(0x12f)][_0x53acc9(0x156)]?_0x53acc9(0x15b)!==_0x5dfdc5[_0x53acc9(0x153)]?this[_0x53acc9(0x114)](_0x5dfdc5[_0x53acc9(0x12f)][_0x53acc9(0x122)],_0x5dfdc5[_0x53acc9(0x12f)][_0x53acc9(0x149)]):this[_0x53acc9(0x10c)]=_0x5dfdc5[_0x53acc9(0x12f)][_0x53acc9(0x10c)]:this[_0x53acc9(0x112)]=_0x53acc9(0x11f));_0x53acc9(0x11f)!==this[_0x53acc9(0x112)]&&(0x0===this[_0x53acc9(0x12d)][_0x53acc9(0x15e)]?this[_0x53acc9(0x112)]=_0x53acc9(0x128):this[_0x53acc9(0x112)]=_0x53acc9(0x125));}catch(_0x27baa5){this[_0x53acc9(0x10d)]=_0x27baa5,_0x27baa5 instanceof Error&&_0x27baa5[_0x53acc9(0x10a)][_0x53acc9(0x154)](_0x53acc9(0x13d))?this[_0x53acc9(0x112)]=_0x53acc9(0x108):this[_0x53acc9(0x112)]=_0x53acc9(0x107);}finally{this[_0x53acc9(0x14a)]=null;}}async[_0x276382(0x129)](){const _0x3530f3=_0x276382;this[_0x3530f3(0x12d)][_0x3530f3(0x11b)](),this[_0x3530f3(0x145)][_0x3530f3(0x13c)]=0x0,this[_0x3530f3(0x10d)]=void 0x0,await this[_0x3530f3(0x130)]();}[_0x276382(0x14b)](_0x58206c,_0x182516){const _0x4146b1=_0x276382,_0x5e29f5=this[_0x4146b1(0x12d)][_0x4146b1(0x138)](_0x58206c);if(!_0x5e29f5)return;const _0x4d29fe=[];_0x182516[_0x4146b1(0x104)]((_0x38c211,_0x2f8244)=>{const _0x1b7a73=_0x4146b1,_0x2d020f=new _0x1eaf4d(_0x5e29f5['id']+'-'+_0x2f8244,_0x38c211,_0x5e29f5);_0x2d020f['on'](_0x1b7a73(0x132),()=>{const _0x18140a=_0x1b7a73;_0x18140a(0x151)===_0x2d020f[_0x18140a(0x112)]?this[_0x18140a(0x118)](_0x18140a(0x13e),{'change':_0x2d020f}):_0x18140a(0x146)===_0x2d020f[_0x18140a(0x112)]&&this[_0x18140a(0x118)](_0x18140a(0x152),{'change':_0x2d020f});}),_0x2d020f['on'](_0x1b7a73(0x147),()=>{const _0x55df37=_0x1b7a73;_0x2d020f[_0x55df37(0x12b)]?this[_0x55df37(0x118)](_0x55df37(0x144),{'change':_0x2d020f}):this[_0x55df37(0x118)](_0x55df37(0x13b),{'change':_0x2d020f});}),this[_0x1b7a73(0x145)][_0x1b7a73(0x136)](_0x2d020f),_0x4d29fe[_0x1b7a73(0x136)](_0x2d020f);}),this[_0x4146b1(0x118)](_0x4146b1(0x133),{'changes':_0x4d29fe,'result':_0x5e29f5,'source':this});}[_0x276382(0x14d)](){const _0x553b2c=_0x276382;this[_0x553b2c(0x14a)]&&(this[_0x553b2c(0x14a)][_0x553b2c(0x115)][_0x553b2c(0x14d)](),this[_0x553b2c(0x14a)]=null,this[_0x553b2c(0x112)]=_0x553b2c(0x108));}[_0x276382(0x109)](_0x154ef9){const _0x4f8060=_0x276382,_0x1ce3cb=this[_0x4f8060(0x145)][_0x4f8060(0x155)](_0x17d07e=>_0x17d07e['id']===_0x154ef9);return!(!_0x1ce3cb||_0x4f8060(0x11a)!==_0x1ce3cb[_0x4f8060(0x112)]);}[_0x276382(0x11e)](){const _0x111eb0=_0x276382;return this[_0x111eb0(0x145)][_0x111eb0(0x116)](_0x2bf219=>_0x111eb0(0x11a)===_0x2bf219[_0x111eb0(0x112)]);}[_0x276382(0x12e)](){const _0x428046=_0x276382;for(const _0x5415cc of this[_0x428046(0x145)])_0x428046(0x11a)===_0x5415cc[_0x428046(0x112)]&&(_0x5415cc[_0x428046(0x112)]=_0x428046(0x151));this[_0x428046(0x11c)]();}[_0x276382(0x124)](_0x431e10){const _0x5909f8=_0x276382,_0x21a2dc=this[_0x5909f8(0x145)][_0x5909f8(0x155)](_0x44e2f4=>_0x44e2f4['id']===_0x431e10);_0x21a2dc&&_0x5909f8(0x11a)===_0x21a2dc[_0x5909f8(0x112)]&&(_0x21a2dc[_0x5909f8(0x112)]=_0x5909f8(0x151)),this[_0x5909f8(0x11c)]();}[_0x276382(0x14e)](_0x2880f0){const _0x4171f0=_0x276382,_0x53f918=this[_0x4171f0(0x145)][_0x4171f0(0x155)](_0x3bb9be=>_0x3bb9be['id']===_0x2880f0);_0x53f918&&_0x4171f0(0x11a)===_0x53f918[_0x4171f0(0x112)]&&(_0x53f918[_0x4171f0(0x112)]=_0x4171f0(0x146)),this[_0x4171f0(0x11c)]();}[_0x276382(0x150)](_0x38f3e1){const _0x24a090=_0x276382;this[_0x24a090(0x145)][_0x24a090(0x116)](_0x551648=>_0x551648[_0x24a090(0x12b)]&&_0x551648['id']!==_0x38f3e1)[_0x24a090(0x104)](_0x44c892=>{const _0x46706d=_0x24a090;_0x44c892[_0x46706d(0x12b)]=!0x1;});const _0xac0c76=this[_0x24a090(0x145)][_0x24a090(0x155)](_0x1e47c3=>_0x1e47c3['id']===_0x38f3e1);_0xac0c76&&(_0xac0c76[_0x24a090(0x12b)]=!0x0);}[_0x276382(0x13f)](){const _0x4c5331=_0x276382;this[_0x4c5331(0x145)][_0x4c5331(0x116)](_0x385d1d=>_0x385d1d[_0x4c5331(0x12b)])[_0x4c5331(0x104)](_0xa19b27=>{const _0x5ae000=_0x4c5331;_0xa19b27[_0x5ae000(0x12b)]=!0x1;});}[_0x276382(0x142)](){const _0x500937=_0x276382;this[_0x500937(0x112)]=_0x500937(0x125);}[_0x276382(0x114)](_0x7a3bc6,_0x4a8f71){const _0x5eb8b6=_0x276382,_0x378afa=this[_0x5eb8b6(0x121)][_0x5eb8b6(0x148)][_0x5eb8b6(0x138)](_0x7a3bc6);if(!_0x378afa)return;const _0x56e873=_0x378afa[_0x5eb8b6(0x13a)]();if(_0x56e873===_0x4a8f71)return;const _0x1601b2=new _0x5b4cdd({'id':_0x7a3bc6,'contentInitial':_0x56e873,'contentNew':_0x4a8f71,'documentVersion':this[_0x5eb8b6(0x121)][_0x5eb8b6(0x126)]});this[_0x5eb8b6(0x12d)][_0x5eb8b6(0x111)](_0x1601b2['id'],_0x1601b2),this[_0x5eb8b6(0x118)](_0x5eb8b6(0x158),{'result':_0x1601b2,'source':this});}[_0x276382(0x11c)](){const _0x4bb3eb=_0x276382;if(_0x4bb3eb(0x125)!==this[_0x4bb3eb(0x112)])return;0x0===this[_0x4bb3eb(0x145)][_0x4bb3eb(0x116)](_0x250f1f=>_0x4bb3eb(0x11a)===_0x250f1f[_0x4bb3eb(0x112)])[_0x4bb3eb(0x13c)]&&(this[_0x4bb3eb(0x112)]=_0x4bb3eb(0x120));}[_0x276382(0x119)](){const _0x145f4d=_0x276382;throw new Error(_0x145f4d(0x131));}[_0x276382(0x135)](){const _0x30e63d=_0x276382;return this[_0x30e63d(0x145)][_0x30e63d(0x116)](_0x4b5218=>_0x30e63d(0x151)===_0x4b5218[_0x30e63d(0x112)])[_0x30e63d(0x13c)];}[_0x276382(0x159)](){const _0x572df3=_0x276382;return this[_0x572df3(0x145)][_0x572df3(0x13c)];}get[_0x276382(0x117)](){const _0xe55bac=_0x276382;return this[_0xe55bac(0x15d)]['id'];}}
@@ -4,7 +4,6 @@
4
4
  */
5
5
  /**
6
6
  * @module ai/aireviewmode/model/aireviewcustomcheckrun
7
- * @publicApi
8
7
  */
9
8
  import { AIReviewCheckRun } from './aireviewcheckrun.js';
10
9
  import { type AIConnector } from '../../aicore/aiconnector.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4fdd(){var _0x406b13=['_aiConnector','143864AvwMZL','content','124zZITCa','title','_documentData','2fSGelc','_createApiRequest','_model','_prompt','87975sQFxzE','8mXKkLD','1965627VZdYlA','callCustomReview','570967TRiLan','3782634KNRFEP','1208859jMiCel','1636240FdWukz'];_0x4fdd=function(){return _0x406b13;};return _0x4fdd();}var _0x190dcf=_0x30b5;(function(_0x162d75,_0xc1a2fa){var _0x120555=_0x30b5,_0x5d080a=_0x162d75();while(!![]){try{var _0x381f5c=parseInt(_0x120555(0xbd))/0x1+-parseInt(_0x120555(0xc7))/0x2*(parseInt(_0x120555(0xbf))/0x3)+-parseInt(_0x120555(0xc4))/0x4*(parseInt(_0x120555(0xcb))/0x5)+parseInt(_0x120555(0xbe))/0x6+parseInt(_0x120555(0xc2))/0x7*(parseInt(_0x120555(0xcc))/0x8)+parseInt(_0x120555(0xcd))/0x9+-parseInt(_0x120555(0xc0))/0xa;if(_0x381f5c===_0xc1a2fa)break;else _0x5d080a['push'](_0x5d080a['shift']());}catch(_0x2c613d){_0x5d080a['push'](_0x5d080a['shift']());}}}(_0x4fdd,0x50293));function _0x30b5(_0x175751,_0x2151cc){var _0x4fdd20=_0x4fdd();return _0x30b5=function(_0x30b528,_0x4ef35d){_0x30b528=_0x30b528-0xbc;var _0x40b936=_0x4fdd20[_0x30b528];return _0x40b936;},_0x30b5(_0x175751,_0x2151cc);}import{AIReviewCheckRun as _0x13e07e}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x13e07e{[_0x190dcf(0xca)];[_0x190dcf(0xc9)];constructor(_0x53b09c,_0x2b31d2,_0x2672ee,_0x4db30f,_0x47cc78){var _0x371211=_0x190dcf;super(_0x2672ee,_0x4db30f,_0x47cc78),this[_0x371211(0xca)]=_0x53b09c,this[_0x371211(0xc9)]=_0x2b31d2;}get[_0x190dcf(0xc5)](){var _0x516e5d=_0x190dcf;return this[_0x516e5d(0xca)];}[_0x190dcf(0xc8)](){var _0x152e32=_0x190dcf;return this[_0x152e32(0xc1)][_0x152e32(0xbc)]({'content':this[_0x152e32(0xc6)][_0x152e32(0xc3)],'prompt':this[_0x152e32(0xca)],'model':this[_0x152e32(0xc9)]});}}
23
+ var _0xc17672=_0x17d2;(function(_0x27eeb7,_0x3d89db){var _0x4b01fb=_0x17d2,_0x271864=_0x27eeb7();while(!![]){try{var _0x531c8b=parseInt(_0x4b01fb(0xaa))/0x1*(-parseInt(_0x4b01fb(0xac))/0x2)+parseInt(_0x4b01fb(0xad))/0x3+-parseInt(_0x4b01fb(0xa3))/0x4*(-parseInt(_0x4b01fb(0xa8))/0x5)+parseInt(_0x4b01fb(0xb6))/0x6*(parseInt(_0x4b01fb(0xab))/0x7)+parseInt(_0x4b01fb(0xa7))/0x8*(parseInt(_0x4b01fb(0xb5))/0x9)+parseInt(_0x4b01fb(0xa5))/0xa+-parseInt(_0x4b01fb(0xb3))/0xb*(parseInt(_0x4b01fb(0xae))/0xc);if(_0x531c8b===_0x3d89db)break;else _0x271864['push'](_0x271864['shift']());}catch(_0x489a97){_0x271864['push'](_0x271864['shift']());}}}(_0x47c5,0xc2ff5));function _0x17d2(_0x2e56c8,_0x370c62){var _0x47c568=_0x47c5();return _0x17d2=function(_0x17d29c,_0x38cf12){_0x17d29c=_0x17d29c-0xa3;var _0x5e3634=_0x47c568[_0x17d29c];return _0x5e3634;},_0x17d2(_0x2e56c8,_0x370c62);}function _0x47c5(){var _0xf30525=['100eomomU','1556517aZRUad','12LYVaRF','_createApiRequest','_aiConnector','callCustomReview','content','25033899mXjdyx','title','315IVJbOr','10326ztRGHF','1050904DThXGw','_prompt','2538830UsPXTe','_model','75496EgoFLX','20psNSzU','_documentData','11086sPvxte','5999MwrEsX'];_0x47c5=function(){return _0xf30525;};return _0x47c5();}import{AIReviewCheckRun as _0x130363}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x130363{[_0xc17672(0xa4)];[_0xc17672(0xa6)];constructor(_0x479d47,_0x392cd5,_0x49ddbc,_0xa5b0fe,_0xc4153d){var _0x5b7e60=_0xc17672;super(_0x49ddbc,_0xa5b0fe,_0xc4153d),this[_0x5b7e60(0xa4)]=_0x479d47,this[_0x5b7e60(0xa6)]=_0x392cd5;}get[_0xc17672(0xb4)](){var _0x34f8eb=_0xc17672;return this[_0x34f8eb(0xa4)];}[_0xc17672(0xaf)](){var _0x5a342f=_0xc17672;return this[_0x5a342f(0xb0)][_0x5a342f(0xb1)]({'content':this[_0x5a342f(0xa9)][_0x5a342f(0xb2)],'prompt':this[_0x5a342f(0xa4)],'model':this[_0x5a342f(0xa6)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1ad1(){const _0x267a3a=['29530fnkNEz','getModels','621505Fvugzb','length','list','75kxbabG','5687bPvAlZ','4ZwnlFa','35892hvFcvP','608DKcVKe','1917489XBudSS','28XAneZo','items','2409690vIfRcl','_connector','_modelList','201636UxeIoD','getAll','58107840veVAdW'];_0x1ad1=function(){return _0x267a3a;};return _0x1ad1();}const _0x3ec962=_0x4cca;function _0x4cca(_0x57f0d5,_0x5e1240){const _0x1ad118=_0x1ad1();return _0x4cca=function(_0x4ccaa1,_0x4f83bb){_0x4ccaa1=_0x4ccaa1-0xd3;let _0x3ae960=_0x1ad118[_0x4ccaa1];return _0x3ae960;},_0x4cca(_0x57f0d5,_0x5e1240);}(function(_0x118ed4,_0x32f05f){const _0x3724ee=_0x4cca,_0x47e048=_0x118ed4();while(!![]){try{const _0x2a2aa6=parseInt(_0x3724ee(0xd8))/0x1*(-parseInt(_0x3724ee(0xdd))/0x2)+-parseInt(_0x3724ee(0xe0))/0x3+parseInt(_0x3724ee(0xd3))/0x4*(parseInt(_0x3724ee(0xdb))/0x5)+parseInt(_0x3724ee(0xe3))/0x6*(-parseInt(_0x3724ee(0xe1))/0x7)+-parseInt(_0x3724ee(0xdf))/0x8*(-parseInt(_0x3724ee(0xde))/0x9)+-parseInt(_0x3724ee(0xd6))/0xa*(parseInt(_0x3724ee(0xdc))/0xb)+parseInt(_0x3724ee(0xd5))/0xc;if(_0x2a2aa6===_0x32f05f)break;else _0x47e048['push'](_0x47e048['shift']());}catch(_0x4eb7fa){_0x47e048['push'](_0x47e048['shift']());}}}(_0x1ad1,0xd85c1));import{EmitterMixin as _0x33b37d}from'ckeditor5/src/utils.js';export class AIReviewModels extends _0x33b37d(){[_0x3ec962(0xe5)]=[];[_0x3ec962(0xe4)];constructor({connector:_0x137bf5}){const _0xc373be=_0x3ec962;super(),this[_0xc373be(0xe4)]=_0x137bf5;}async[_0x3ec962(0xd4)](){const _0x40ce96=_0x3ec962;if(!this[_0x40ce96(0xe5)][_0x40ce96(0xd9)])try{const _0x4d3fd7=this[_0x40ce96(0xe4)][_0x40ce96(0xd7)](),_0x3c1d7f=await _0x4d3fd7[_0x40ce96(0xda)]();this[_0x40ce96(0xe5)]=_0x3c1d7f[_0x40ce96(0xe2)];}catch{}return this[_0x40ce96(0xe5)];}}
23
+ const _0x2d1dd7=_0x3f22;(function(_0x33b6f5,_0x19495f){const _0x4ea53f=_0x3f22,_0x4e469c=_0x33b6f5();while(!![]){try{const _0x3a4598=parseInt(_0x4ea53f(0x13f))/0x1+parseInt(_0x4ea53f(0x140))/0x2*(-parseInt(_0x4ea53f(0x13e))/0x3)+parseInt(_0x4ea53f(0x138))/0x4*(-parseInt(_0x4ea53f(0x135))/0x5)+parseInt(_0x4ea53f(0x136))/0x6*(-parseInt(_0x4ea53f(0x13a))/0x7)+parseInt(_0x4ea53f(0x13d))/0x8+-parseInt(_0x4ea53f(0x131))/0x9*(parseInt(_0x4ea53f(0x13c))/0xa)+parseInt(_0x4ea53f(0x139))/0xb;if(_0x3a4598===_0x19495f)break;else _0x4e469c['push'](_0x4e469c['shift']());}catch(_0xc36b27){_0x4e469c['push'](_0x4e469c['shift']());}}}(_0x406f,0x86eda));import{EmitterMixin as _0x2a3b71}from'ckeditor5/src/utils.js';function _0x3f22(_0x4b9fd2,_0x501a37){const _0x406f66=_0x406f();return _0x3f22=function(_0x3f22cf,_0x224a82){_0x3f22cf=_0x3f22cf-0x130;let _0x2f4b0f=_0x406f66[_0x3f22cf];return _0x2f4b0f;},_0x3f22(_0x4b9fd2,_0x501a37);}export class AIReviewModels extends _0x2a3b71(){[_0x2d1dd7(0x130)]=[];[_0x2d1dd7(0x133)];constructor({connector:_0x130e2c}){const _0x15677d=_0x2d1dd7;super(),this[_0x15677d(0x133)]=_0x130e2c;}async[_0x2d1dd7(0x134)](){const _0x144b20=_0x2d1dd7;if(!this[_0x144b20(0x130)][_0x144b20(0x137)])try{const _0x3ff701=this[_0x144b20(0x133)][_0x144b20(0x141)](),_0x1e82f1=await _0x3ff701[_0x144b20(0x132)]();this[_0x144b20(0x130)]=_0x1e82f1[_0x144b20(0x13b)];}catch{}return this[_0x144b20(0x130)];}}function _0x406f(){const _0x59535f=['825702TXifda','248260jdmdia','getModels','_modelList','99OeSLAq','list','_connector','getAll','30ANifHX','1840008pxTycX','length','199632GDnisB','2435741pYyXOJ','7EGyBqp','items','197630hOtIvp','3625376XMEcSZ','3YVzXNr'];_0x406f=function(){return _0x59535f;};return _0x406f();}
@@ -4,7 +4,6 @@
4
4
  */
5
5
  /**
6
6
  * @module ai/aireviewmode/model/aireviewsystemcheckrun
7
- * @publicApi
8
7
  */
9
8
  import { AIReviewCheckRun } from './aireviewcheckrun.js';
10
9
  /**
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x18ce(_0x24e16d,_0x4ff30a){const _0x96acfd=_0x96ac();return _0x18ce=function(_0x18cefe,_0x47b5b8){_0x18cefe=_0x18cefe-0xcd;let _0x45b421=_0x96acfd[_0x18cefe];return _0x45b421;},_0x18ce(_0x24e16d,_0x4ff30a);}const _0x166b86=_0x18ce;function _0x96ac(){const _0x44bc16=['push','6xvPNet','8HYrcIi','title','content','_reviewArgs','_sourceCheck','4017114RKThrw','3072055NracwC','91XzcwJu','77658WmMjEE','4ohSPoD','find','8394050jfsVGT','_aiConnector','callSystemReview','join','6900300cDdbOy','useArgs','options','label','length','111574ucJnfz','141341PmCefa','_composeReviewName','_documentData','_reviewParams','_createApiRequest','data'];_0x96ac=function(){return _0x44bc16;};return _0x96ac();}(function(_0x61447c,_0x4d0763){const _0x215119=_0x18ce,_0x3f1e20=_0x61447c();while(!![]){try{const _0x4590d6=-parseInt(_0x215119(0xe4))/0x1+parseInt(_0x215119(0xe3))/0x2*(-parseInt(_0x215119(0xce))/0x3)+parseInt(_0x215119(0xd8))/0x4*(parseInt(_0x215119(0xd5))/0x5)+-parseInt(_0x215119(0xd7))/0x6*(parseInt(_0x215119(0xd6))/0x7)+parseInt(_0x215119(0xcf))/0x8*(parseInt(_0x215119(0xd4))/0x9)+-parseInt(_0x215119(0xda))/0xa+parseInt(_0x215119(0xde))/0xb;if(_0x4590d6===_0x4d0763)break;else _0x3f1e20['push'](_0x3f1e20['shift']());}catch(_0x4debaf){_0x3f1e20['push'](_0x3f1e20['shift']());}}}(_0x96ac,0x685d6));import{AIReviewCheckRun as _0x200bce}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x200bce{get[_0x166b86(0xd0)](){const _0x8358f6=_0x166b86;if(!this[_0x8358f6(0xe7)]||0x0===this[_0x8358f6(0xe7)][_0x8358f6(0xe2)]||this[_0x8358f6(0xd3)][_0x8358f6(0xdf)])return this[_0x8358f6(0xd3)][_0x8358f6(0xd0)];const _0x2f412c=[];if(this[_0x8358f6(0xe7)][_0x8358f6(0xe2)]>0x0&&this[_0x8358f6(0xd3)][_0x8358f6(0xe0)])for(let _0x57f748=0x0;_0x57f748<this[_0x8358f6(0xe7)][_0x8358f6(0xe2)];_0x57f748++){if(!this[_0x8358f6(0xe7)][_0x57f748]||!this[_0x8358f6(0xd3)][_0x8358f6(0xe0)][_0x57f748])continue;const _0x272bb3=this[_0x8358f6(0xd3)][_0x8358f6(0xe0)][_0x57f748],_0x595d82=_0x272bb3[_0x8358f6(0xe9)]?.[_0x8358f6(0xd9)](_0x1b6b64=>_0x1b6b64['id']===this[_0x8358f6(0xe7)][_0x57f748]);_0x595d82&&_0x2f412c[_0x8358f6(0xcd)](_0x595d82[_0x8358f6(0xe1)]);}return this[_0x8358f6(0xd3)][_0x8358f6(0xd0)]+':\x20'+_0x2f412c[_0x8358f6(0xdd)](',\x20');}[_0x166b86(0xe8)](){const _0x50f51c=_0x166b86;return this[_0x50f51c(0xdb)][_0x50f51c(0xdc)]({'reviewName':this[_0x50f51c(0xe5)](),'content':this[_0x50f51c(0xe6)][_0x50f51c(0xd1)],'args':this[_0x50f51c(0xd2)]});}[_0x166b86(0xe5)](){const _0x5476b4=_0x166b86;return!this[_0x5476b4(0xe7)]||0x0===this[_0x5476b4(0xe7)][_0x5476b4(0xe2)]||this[_0x5476b4(0xd3)][_0x5476b4(0xdf)]?this[_0x5476b4(0xd3)]['id']:[this[_0x5476b4(0xd3)]['id'],...this[_0x5476b4(0xe7)]][_0x5476b4(0xdd)]('-');}}
23
+ const _0x2794c9=_0x509f;(function(_0x291492,_0xdea6b){const _0x221ae4=_0x509f,_0x4eac21=_0x291492();while(!![]){try{const _0x49f84c=parseInt(_0x221ae4(0x144))/0x1+-parseInt(_0x221ae4(0x13c))/0x2+-parseInt(_0x221ae4(0x133))/0x3+parseInt(_0x221ae4(0x135))/0x4*(-parseInt(_0x221ae4(0x146))/0x5)+-parseInt(_0x221ae4(0x12f))/0x6*(-parseInt(_0x221ae4(0x12c))/0x7)+-parseInt(_0x221ae4(0x131))/0x8+-parseInt(_0x221ae4(0x12e))/0x9*(-parseInt(_0x221ae4(0x12d))/0xa);if(_0x49f84c===_0xdea6b)break;else _0x4eac21['push'](_0x4eac21['shift']());}catch(_0xd9417f){_0x4eac21['push'](_0x4eac21['shift']());}}}(_0x5a9d,0xedea5));function _0x509f(_0x1e5f14,_0x15497b){const _0x5a9de0=_0x5a9d();return _0x509f=function(_0x509f8c,_0x55e4a4){_0x509f8c=_0x509f8c-0x12b;let _0x4e5591=_0x5a9de0[_0x509f8c];return _0x4e5591;},_0x509f(_0x1e5f14,_0x15497b);}import{AIReviewCheckRun as _0x340e24}from'./aireviewcheckrun.js';function _0x5a9d(){const _0x1c9499=['title','length','_documentData','605167XZKpjU','useArgs','318830ujrsSI','join','7bNXZsX','121630RUoDXg','342TGLnvl','11565846WyKQXY','push','13665360nMwIBd','content','538089bUIrTZ','label','4ciWxOY','options','data','_createApiRequest','find','_reviewParams','_sourceCheck','138404EFkIiQ','_composeReviewName','callSystemReview','_aiConnector','_reviewArgs'];_0x5a9d=function(){return _0x1c9499;};return _0x5a9d();}export class AIReviewSystemCheckRun extends _0x340e24{get[_0x2794c9(0x141)](){const _0x5de271=_0x2794c9;if(!this[_0x5de271(0x13a)]||0x0===this[_0x5de271(0x13a)][_0x5de271(0x142)]||this[_0x5de271(0x13b)][_0x5de271(0x145)])return this[_0x5de271(0x13b)][_0x5de271(0x141)];const _0x396820=[];if(this[_0x5de271(0x13a)][_0x5de271(0x142)]>0x0&&this[_0x5de271(0x13b)][_0x5de271(0x136)])for(let _0x51b8d5=0x0;_0x51b8d5<this[_0x5de271(0x13a)][_0x5de271(0x142)];_0x51b8d5++){if(!this[_0x5de271(0x13a)][_0x51b8d5]||!this[_0x5de271(0x13b)][_0x5de271(0x136)][_0x51b8d5])continue;const _0x37843b=this[_0x5de271(0x13b)][_0x5de271(0x136)][_0x51b8d5],_0xee2947=_0x37843b[_0x5de271(0x137)]?.[_0x5de271(0x139)](_0x4dcbe0=>_0x4dcbe0['id']===this[_0x5de271(0x13a)][_0x51b8d5]);_0xee2947&&_0x396820[_0x5de271(0x130)](_0xee2947[_0x5de271(0x134)]);}return this[_0x5de271(0x13b)][_0x5de271(0x141)]+':\x20'+_0x396820[_0x5de271(0x12b)](',\x20');}[_0x2794c9(0x138)](){const _0x5a7bbf=_0x2794c9;return this[_0x5a7bbf(0x13f)][_0x5a7bbf(0x13e)]({'reviewName':this[_0x5a7bbf(0x13d)](),'content':this[_0x5a7bbf(0x143)][_0x5a7bbf(0x132)],'args':this[_0x5a7bbf(0x140)]});}[_0x2794c9(0x13d)](){const _0x537065=_0x2794c9;return!this[_0x537065(0x13a)]||0x0===this[_0x537065(0x13a)][_0x537065(0x142)]||this[_0x537065(0x13b)][_0x537065(0x145)]?this[_0x537065(0x13b)]['id']:[this[_0x537065(0x13b)]['id'],...this[_0x537065(0x13a)]][_0x537065(0x12b)]('-');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5b5dbf=_0x2962;function _0x2962(_0x48579e,_0x1cd4b9){var _0x4ed5c9=_0x4ed5();return _0x2962=function(_0x296262,_0x59ac49){_0x296262=_0x296262-0x109;var _0x5b60b6=_0x4ed5c9[_0x296262];return _0x5b60b6;},_0x2962(_0x48579e,_0x1cd4b9);}function _0x4ed5(){var _0x3364fd=['value','bindTemplate','7126864pTdRal','26851okOueW','trim','extendTemplate','14cZeSEw','ck-review-mode__prompt-input','1066380TryFMm','14388ayBESI','placeholder','18Saqzjz','2MAfvmu','maxRows','update','273693HPkztD','setPlaceholderText','isEmpty','1343780hCTaZm','ai-review-mode-prompt-input','set','3278290CUrvAN','MAX_ROWS','stopPropagation','render','10HevjAt','MIN_ROWS','624853uDOETE','element','minRows'];_0x4ed5=function(){return _0x3364fd;};return _0x4ed5();}(function(_0x2dbc89,_0x411b8e){var _0x3d8841=_0x2962,_0x2be3cb=_0x2dbc89();while(!![]){try{var _0x26d5a6=-parseInt(_0x3d8841(0x10b))/0x1+-parseInt(_0x3d8841(0x11a))/0x2*(-parseInt(_0x3d8841(0x11d))/0x3)+parseInt(_0x3d8841(0x120))/0x4*(-parseInt(_0x3d8841(0x109))/0x5)+-parseInt(_0x3d8841(0x116))/0x6*(-parseInt(_0x3d8841(0x114))/0x7)+-parseInt(_0x3d8841(0x110))/0x8+-parseInt(_0x3d8841(0x119))/0x9*(parseInt(_0x3d8841(0x123))/0xa)+-parseInt(_0x3d8841(0x111))/0xb*(-parseInt(_0x3d8841(0x117))/0xc);if(_0x26d5a6===_0x411b8e)break;else _0x2be3cb['push'](_0x2be3cb['shift']());}catch(_0x99c707){_0x2be3cb['push'](_0x2be3cb['shift']());}}}(_0x4ed5,0x8170f));import{TextareaView as _0x4e8e04}from'ckeditor5/src/ui.js';export class AIReviewModePromptInputView extends _0x4e8e04{static [_0x5b5dbf(0x10a)]=0x1;static [_0x5b5dbf(0x124)]=0xc;constructor(_0x39440a){var _0x193e9e=_0x5b5dbf;super(_0x39440a),this[_0x193e9e(0x122)](_0x193e9e(0x11f),!0x0),this[_0x193e9e(0x10d)]=AIReviewModePromptInputView[_0x193e9e(0x10a)],this[_0x193e9e(0x11b)]=AIReviewModePromptInputView[_0x193e9e(0x124)],this[_0x193e9e(0x113)]({'attributes':{'id':_0x193e9e(0x121),'class':['ck',_0x193e9e(0x115)]}}),this[_0x193e9e(0x113)]({'on':{'click':this[_0x193e9e(0x10f)]['to'](_0x1862b9=>{var _0x7fe45=_0x193e9e;_0x1862b9[_0x7fe45(0x125)]();})}});}[_0x5b5dbf(0x126)](){var _0x2bbd2f=_0x5b5dbf;super[_0x2bbd2f(0x126)](),this['on'](_0x2bbd2f(0x11c),()=>{var _0x33651b=_0x2bbd2f;this[_0x33651b(0x11f)]=''===this[_0x33651b(0x10c)][_0x33651b(0x10e)]?.[_0x33651b(0x112)]();});}[_0x5b5dbf(0x11e)](_0x4139c9){var _0x5d90ec=_0x5b5dbf;this[_0x5d90ec(0x122)](_0x5d90ec(0x118),_0x4139c9);}}
23
+ var _0x34e51c=_0x12b3;(function(_0x543969,_0x34ec9d){var _0x3ba214=_0x12b3,_0x32312d=_0x543969();while(!![]){try{var _0x102593=parseInt(_0x3ba214(0x115))/0x1+-parseInt(_0x3ba214(0x117))/0x2*(parseInt(_0x3ba214(0x110))/0x3)+-parseInt(_0x3ba214(0x119))/0x4+parseInt(_0x3ba214(0x10b))/0x5*(-parseInt(_0x3ba214(0x111))/0x6)+parseInt(_0x3ba214(0x103))/0x7*(parseInt(_0x3ba214(0x10f))/0x8)+-parseInt(_0x3ba214(0x101))/0x9+parseInt(_0x3ba214(0x114))/0xa;if(_0x102593===_0x34ec9d)break;else _0x32312d['push'](_0x32312d['shift']());}catch(_0x418570){_0x32312d['push'](_0x32312d['shift']());}}}(_0x19ee,0x338aa));import{TextareaView as _0x1e68f9}from'ckeditor5/src/ui.js';function _0x12b3(_0x158a95,_0x204900){var _0x19ee48=_0x19ee();return _0x12b3=function(_0x12b376,_0x4d45aa){_0x12b376=_0x12b376-0xff;var _0x529115=_0x19ee48[_0x12b376];return _0x529115;},_0x12b3(_0x158a95,_0x204900);}export class AIReviewModePromptInputView extends _0x1e68f9{static [_0x34e51c(0x112)]=0x1;static [_0x34e51c(0x116)]=0xc;constructor(_0xa1fd80){var _0x2360be=_0x34e51c;super(_0xa1fd80),this[_0x2360be(0x10e)](_0x2360be(0x107),!0x0),this[_0x2360be(0x104)]=AIReviewModePromptInputView[_0x2360be(0x112)],this[_0x2360be(0x118)]=AIReviewModePromptInputView[_0x2360be(0x116)],this[_0x2360be(0x10d)]({'attributes':{'id':_0x2360be(0x106),'class':['ck',_0x2360be(0x105)]}}),this[_0x2360be(0x10d)]({'on':{'click':this[_0x2360be(0xff)]['to'](_0x19b6c8=>{var _0x3ee6f4=_0x2360be;_0x19b6c8[_0x3ee6f4(0x10a)]();})}});}[_0x34e51c(0x102)](){var _0x936fa6=_0x34e51c;super[_0x936fa6(0x102)](),this['on'](_0x936fa6(0x100),()=>{var _0x463eaf=_0x936fa6;this[_0x463eaf(0x107)]=''===this[_0x463eaf(0x10c)][_0x463eaf(0x108)]?.[_0x463eaf(0x113)]();});}[_0x34e51c(0x109)](_0x5a4245){var _0x250fed=_0x34e51c;this[_0x250fed(0x10e)](_0x250fed(0x11a),_0x5a4245);}}function _0x19ee(){var _0x287b39=['maxRows','1181760SgMAyX','placeholder','bindTemplate','update','2817252cRUbKf','render','259lxOYlb','minRows','ck-review-mode__prompt-input','ai-review-mode-prompt-input','isEmpty','value','setPlaceholderText','stopPropagation','5CZEWhD','element','extendTemplate','set','40840xCHTLB','1596ICzgsi','718836ePaqXH','MIN_ROWS','trim','9475860vgLnwD','160953LEDhvn','MAX_ROWS','1346cOxZnq'];_0x19ee=function(){return _0x287b39;};return _0x19ee();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x474c(_0x301b17,_0x219ab0){const _0x170dfe=_0x170d();return _0x474c=function(_0x474cf2,_0x1744ab){_0x474cf2=_0x474cf2-0x12a;let _0x5d890f=_0x170dfe[_0x474cf2];return _0x5d890f;},_0x474c(_0x301b17,_0x219ab0);}const _0x22fc91=_0x474c;(function(_0x5e96bc,_0x4ef1a7){const _0x216ded=_0x474c,_0x131265=_0x5e96bc();while(!![]){try{const _0x2d09da=-parseInt(_0x216ded(0x12d))/0x1*(-parseInt(_0x216ded(0x151))/0x2)+parseInt(_0x216ded(0x14b))/0x3*(parseInt(_0x216ded(0x149))/0x4)+-parseInt(_0x216ded(0x133))/0x5+parseInt(_0x216ded(0x13c))/0x6+parseInt(_0x216ded(0x153))/0x7*(parseInt(_0x216ded(0x13e))/0x8)+-parseInt(_0x216ded(0x150))/0x9*(-parseInt(_0x216ded(0x134))/0xa)+-parseInt(_0x216ded(0x12f))/0xb*(parseInt(_0x216ded(0x139))/0xc);if(_0x2d09da===_0x4ef1a7)break;else _0x131265['push'](_0x131265['shift']());}catch(_0x711137){_0x131265['push'](_0x131265['shift']());}}}(_0x170d,0x5ac7c));import{BalloonPanelView as _0x4b9585,View as _0x5c4005,clickOutsideHandler as _0x21bf58}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x2b06c2}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';function _0x170d(){const _0x50e174=['acceptChange','div','hide','resultResponseView','6415092NebqQe','content','resultItemView','2290578ZtEFwc','deactivateChange','3620288WmrAGU','add','innerHTML','pin','ck-content','show','element','ck-ai-review-mode__suggestion-text','setTemplate','fire','contentDiffed','88xGVQHb','changeId','101187aRfDQC','dismissChange','set','locale','delegate','8298UbKjTO','296VvcyRn','showBalloon','7HJcXht','unpin','_createContentView','isVisible','updateContent','3578OHbEEH','ck-ai-review-mode-balloon-panel-suggestion','33POZZvE','extendTemplate','hideBalloon','ck-reset','2822670AMnRme','4710NxpjYA'];_0x170d=function(){return _0x50e174;};return _0x170d();}import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x4b9585{[_0x22fc91(0x13b)];constructor(_0x352eb8,_0x5a6550){const _0xcf7f77=_0x22fc91;super(_0x352eb8),this[_0xcf7f77(0x14d)]({'isVisible':!0x1,'position':'se','class':null,'top':0x0,'left':0x0}),this[_0xcf7f77(0x130)]({'tag':_0xcf7f77(0x136),'attributes':{'class':[_0xcf7f77(0x132)],'tabindex':'-1'}}),this[_0xcf7f77(0x13a)][_0xcf7f77(0x13f)](this[_0xcf7f77(0x12a)]()),_0x5a6550[_0xcf7f77(0x13f)](this),_0x21bf58({'emitter':this,'activator':()=>this[_0xcf7f77(0x12b)],'contextElements':[this[_0xcf7f77(0x144)]],'callback':()=>{const _0x16bfd3=_0xcf7f77;this[_0x16bfd3(0x131)](),this[_0x16bfd3(0x13d)]();}});}[_0x22fc91(0x12c)](_0x156dd7){const _0x4baa9b=_0x22fc91;this[_0x4baa9b(0x13b)][_0x4baa9b(0x14a)]=_0x156dd7['id'],this[_0x4baa9b(0x13b)][_0x4baa9b(0x138)][_0x4baa9b(0x144)][_0x4baa9b(0x140)]=_0x156dd7[_0x4baa9b(0x148)];}[_0x22fc91(0x152)](_0x27a02f,_0xd93adb){const _0x10c371=_0x22fc91;this[_0x10c371(0x12c)](_0x27a02f),this[_0x10c371(0x143)](),this[_0x10c371(0x141)]({'target':_0xd93adb});}[_0x22fc91(0x131)](){const _0x27a73f=_0x22fc91;this[_0x27a73f(0x137)](),this[_0x27a73f(0x154)]();}[_0x22fc91(0x13d)](){const _0x3f6511=_0x22fc91;this[_0x3f6511(0x147)](_0x3f6511(0x13d));}[_0x22fc91(0x12a)](){const _0xa97be=_0x22fc91,_0x2da684=new _0x5c4005();return this[_0xa97be(0x13b)]=new _0x2b06c2(this[_0xa97be(0x14e)],''),this[_0xa97be(0x13b)][_0xa97be(0x138)][_0xa97be(0x130)]({'attributes':{'class':[_0xa97be(0x142)]}}),this[_0xa97be(0x13b)][_0xa97be(0x14f)](_0xa97be(0x135),_0xa97be(0x14c))['to'](this),_0x2da684[_0xa97be(0x146)]({'tag':_0xa97be(0x136),'attributes':{'class':[_0xa97be(0x132),_0xa97be(0x12e)]},'children':[{'tag':'p','attributes':{'class':[_0xa97be(0x145)]},'children':[this[_0xa97be(0x13b)]]}]}),_0x2da684;}}
23
+ const _0x52a66c=_0x5f08;(function(_0x5cb07b,_0x3298e9){const _0x56a3a9=_0x5f08,_0x4d1985=_0x5cb07b();while(!![]){try{const _0x1a4496=-parseInt(_0x56a3a9(0x1fb))/0x1+parseInt(_0x56a3a9(0x210))/0x2+-parseInt(_0x56a3a9(0x1f4))/0x3+parseInt(_0x56a3a9(0x206))/0x4*(-parseInt(_0x56a3a9(0x203))/0x5)+-parseInt(_0x56a3a9(0x1ef))/0x6*(-parseInt(_0x56a3a9(0x1f1))/0x7)+-parseInt(_0x56a3a9(0x204))/0x8+parseInt(_0x56a3a9(0x20c))/0x9;if(_0x1a4496===_0x3298e9)break;else _0x4d1985['push'](_0x4d1985['shift']());}catch(_0x410dd0){_0x4d1985['push'](_0x4d1985['shift']());}}}(_0x20d7,0x831f6));import{BalloonPanelView as _0x2ba94d,View as _0x2f87cb,clickOutsideHandler as _0x405684}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x50d3a4}from'./aireviewmodechecklistitemresultview.js';function _0x5f08(_0x75de7d,_0x5399e9){const _0x20d78a=_0x20d7();return _0x5f08=function(_0x5f0884,_0xfe1b79){_0x5f0884=_0x5f0884-0x1ee;let _0x59f1a1=_0x20d78a[_0x5f0884];return _0x59f1a1;},_0x5f08(_0x75de7d,_0x5399e9);}function _0x20d7(){const _0x1d3d19=['changeId','_createContentView','967119zsTwrK','resultItemView','extendTemplate','delegate','element','resultResponseView','add','841962uIawgz','updateContent','dismissChange','set','content','showBalloon','unpin','locale','5LRyMBn','2355608rXeHyR','hide','1204132shfSAq','setTemplate','isVisible','show','ck-ai-review-mode__suggestion-text','ck-reset','16963713qtTYRF','pin','acceptChange','fire','198910GyJyxh','innerHTML','div','deactivateChange','contentDiffed','ck-ai-review-mode-balloon-panel-suggestion','ck-content','630fKJDAc','hideBalloon','20839dXAeNb'];_0x20d7=function(){return _0x1d3d19;};return _0x20d7();}import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x2ba94d{[_0x52a66c(0x1f5)];constructor(_0x590c72,_0x54b35d){const _0x1280b6=_0x52a66c;super(_0x590c72),this[_0x1280b6(0x1fe)]({'isVisible':!0x1,'position':'se','class':null,'top':0x0,'left':0x0}),this[_0x1280b6(0x1f6)]({'tag':_0x1280b6(0x212),'attributes':{'class':[_0x1280b6(0x20b)],'tabindex':'-1'}}),this[_0x1280b6(0x1ff)][_0x1280b6(0x1fa)](this[_0x1280b6(0x1f3)]()),_0x54b35d[_0x1280b6(0x1fa)](this),_0x405684({'emitter':this,'activator':()=>this[_0x1280b6(0x208)],'contextElements':[this[_0x1280b6(0x1f8)]],'callback':()=>{const _0x2a0464=_0x1280b6;this[_0x2a0464(0x1f0)](),this[_0x2a0464(0x213)]();}});}[_0x52a66c(0x1fc)](_0x448a67){const _0x2b297d=_0x52a66c;this[_0x2b297d(0x1f5)][_0x2b297d(0x1f2)]=_0x448a67['id'],this[_0x2b297d(0x1f5)][_0x2b297d(0x1f9)][_0x2b297d(0x1f8)][_0x2b297d(0x211)]=_0x448a67[_0x2b297d(0x214)];}[_0x52a66c(0x200)](_0x117b07,_0x1eaa0b){const _0x556ffd=_0x52a66c;this[_0x556ffd(0x1fc)](_0x117b07),this[_0x556ffd(0x209)](),this[_0x556ffd(0x20d)]({'target':_0x1eaa0b});}[_0x52a66c(0x1f0)](){const _0x39fca0=_0x52a66c;this[_0x39fca0(0x205)](),this[_0x39fca0(0x201)]();}[_0x52a66c(0x213)](){const _0x5d4f3e=_0x52a66c;this[_0x5d4f3e(0x20f)](_0x5d4f3e(0x213));}[_0x52a66c(0x1f3)](){const _0x217d44=_0x52a66c,_0x1fb6c1=new _0x2f87cb();return this[_0x217d44(0x1f5)]=new _0x50d3a4(this[_0x217d44(0x202)],''),this[_0x217d44(0x1f5)][_0x217d44(0x1f9)][_0x217d44(0x1f6)]({'attributes':{'class':[_0x217d44(0x1ee)]}}),this[_0x217d44(0x1f5)][_0x217d44(0x1f7)](_0x217d44(0x20e),_0x217d44(0x1fd))['to'](this),_0x1fb6c1[_0x217d44(0x207)]({'tag':_0x217d44(0x212),'attributes':{'class':[_0x217d44(0x20b),_0x217d44(0x215)]},'children':[{'tag':'p','attributes':{'class':[_0x217d44(0x20a)]},'children':[this[_0x217d44(0x1f5)]]}]}),_0x1fb6c1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x319fcf=_0x4e2b;function _0x480e(){const _0x33eaf7=['ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','13lPMJru','82028crmrQa','dismissChange','_createAcceptButtonView','28760irVBJX','div','dismissButtonView','2832iZUEsX','ck-ai-review-mode__check-run-result-action-buttons','544OPXMfW','AI_REVIEW_MODE_DISMISS_CHANGE','extendTemplate','setItemAsInactive','bindTemplate','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button','4122KweqTU','resultResponseView','ck-ai-review-mode__check-run-result-response','menuitemcheckbox','setItemAsActive','ck-content','fire','ck-ai-review-mode__check-run-result-footer','set','isOn','ck-ai-review-mode__check-run-result_active','execute','ck-ai-review-mode__check-run-result','isActive','stopPropagation','acceptChange','isInfoToggleOn','bind','AI_REVIEW_MODE_LEARN_MORE','acceptButtonView','16870eQkLJQ','26336qYvKUU','infoButtonView','locale','355ySRKgL','log','changeId','_createDismissButtonView','_createResultResponseView','_createInfoButtonView','Toggle\x20info\x20view','ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button','activateChange','13421964rfppwe','1100723GpVWmb','AI_REVIEW_MODE_ACCEPT_CHANGE','setTemplate','87AXMmbh','4334kPFxQU','click'];_0x480e=function(){return _0x33eaf7;};return _0x480e();}(function(_0x20d644,_0x58eede){const _0x134117=_0x4e2b,_0x5c174e=_0x20d644();while(!![]){try{const _0x470abc=parseInt(_0x134117(0x114))/0x1+-parseInt(_0x134117(0xe4))/0x2*(-parseInt(_0x134117(0x117))/0x3)+-parseInt(_0x134117(0x107))/0x4*(parseInt(_0x134117(0x10a))/0x5)+-parseInt(_0x134117(0xea))/0x6*(-parseInt(_0x134117(0x106))/0x7)+-parseInt(_0x134117(0xec))/0x8*(parseInt(_0x134117(0xf2))/0x9)+-parseInt(_0x134117(0xe7))/0xa*(parseInt(_0x134117(0xe0))/0xb)+parseInt(_0x134117(0x113))/0xc*(-parseInt(_0x134117(0xe3))/0xd);if(_0x470abc===_0x58eede)break;else _0x5c174e['push'](_0x5c174e['shift']());}catch(_0x599350){_0x5c174e['push'](_0x5c174e['shift']());}}}(_0x480e,0xa5618));function _0x4e2b(_0x595648,_0x12fd45){const _0x480ebb=_0x480e();return _0x4e2b=function(_0x4e2baa,_0x541aa5){_0x4e2baa=_0x4e2baa-0xe0;let _0x2c56=_0x480ebb[_0x4e2baa];return _0x2c56;},_0x4e2b(_0x595648,_0x12fd45);}import{View as _0xa918d5,ButtonView as _0x1696e8}from'ckeditor5/src/ui.js';import{IconInfo as _0x170b3e}from'ckeditor5/src/icons.js';import{getTranslation as _0x19c57b}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0xa918d5{[_0x319fcf(0xf3)];[_0x319fcf(0x105)];[_0x319fcf(0xe9)];[_0x319fcf(0x108)];constructor(_0x160056,_0x2f3e37){const _0x2a897d=_0x319fcf;super(_0x160056),this['id']=_0x2f3e37,this[_0x2a897d(0xfa)](_0x2a897d(0x10c),_0x2f3e37),this[_0x2a897d(0xf3)]=this[_0x2a897d(0x10e)](),this[_0x2a897d(0x105)]=this[_0x2a897d(0xe6)](),this[_0x2a897d(0xe9)]=this[_0x2a897d(0x10d)](),this[_0x2a897d(0x108)]=this[_0x2a897d(0x10f)](),this[_0x2a897d(0xfa)](_0x2a897d(0x102),!0x1),this[_0x2a897d(0xfa)](_0x2a897d(0xff),!0x1),this[_0x2a897d(0x116)]({'tag':_0x2a897d(0xe8),'attributes':{'class':[_0x2a897d(0xfe),this[_0x2a897d(0xf0)]['if'](_0x2a897d(0xff),_0x2a897d(0xfc))]},'on':{'click':this[_0x2a897d(0xf0)]['to'](_0x2a897d(0xe1))},'children':[this[_0x2a897d(0xf3)],{'tag':_0x2a897d(0xe8),'attributes':{'class':[_0x2a897d(0xf9)]},'children':[{'tag':_0x2a897d(0xe8),'attributes':{'class':[_0x2a897d(0xeb)]},'children':[this[_0x2a897d(0x105)],this[_0x2a897d(0xe9)]]},this[_0x2a897d(0x108)]]}]}),this['on'](_0x2a897d(0xe1),()=>{const _0x14092f=_0x2a897d;this[_0x14092f(0xf8)](_0x14092f(0x112),{'id':_0x2f3e37,'source':this});});}[_0x319fcf(0xf6)](){const _0x2aceac=_0x319fcf;this[_0x2aceac(0xff)]=!0x0;}[_0x319fcf(0xef)](){const _0x51a95d=_0x319fcf;this[_0x51a95d(0xff)]=!0x1;}[_0x319fcf(0x10e)](){const _0xaa4ff7=_0x319fcf,_0x291ab6=new _0xa918d5(this[_0xaa4ff7(0x109)]);return _0x291ab6[_0xaa4ff7(0x116)]({'tag':_0xaa4ff7(0xe8),'attributes':{'class':['ck',_0xaa4ff7(0xf7),_0xaa4ff7(0xf4)]}}),_0x291ab6;}[_0x319fcf(0xe6)](){const _0x463203=_0x319fcf,_0x4c5584=new _0x1696e8(this[_0x463203(0x109)]);return _0x4c5584[_0x463203(0xfa)]({'label':_0x19c57b(this[_0x463203(0x109)],_0x463203(0x115)),'withText':!0x0,'class':_0x463203(0x111)}),_0x4c5584[_0x463203(0xee)]({'on':{'click':this[_0x463203(0xf0)]['to'](_0x266470=>{const _0x2e9ba3=_0x463203;this[_0x2e9ba3(0xf8)](_0x2e9ba3(0x101),{'id':this[_0x2e9ba3(0x10c)]}),_0x266470[_0x2e9ba3(0x100)]();})}}),_0x4c5584;}[_0x319fcf(0x10d)](){const _0x2b8a89=_0x319fcf,_0x562945=new _0x1696e8(this[_0x2b8a89(0x109)]);return _0x562945[_0x2b8a89(0xfa)]({'label':_0x19c57b(this[_0x2b8a89(0x109)],_0x2b8a89(0xed)),'withText':!0x0,'class':_0x2b8a89(0xf1)}),_0x562945[_0x2b8a89(0xee)]({'on':{'click':this[_0x2b8a89(0xf0)]['to'](_0x4a0e3f=>{const _0x4febda=_0x2b8a89;this[_0x4febda(0xf8)](_0x4febda(0xe5),{'id':this[_0x4febda(0x10c)]}),_0x4a0e3f[_0x4febda(0x100)]();})}}),_0x562945;}[_0x319fcf(0x10f)](){const _0x5eb97c=_0x319fcf,_0x1e3e4e=new _0x1696e8(this[_0x5eb97c(0x109)]);return _0x1e3e4e[_0x5eb97c(0xfa)]({'label':_0x19c57b(this[_0x5eb97c(0x109)],_0x5eb97c(0x104)),'icon':_0x170b3e,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x5eb97c(0xf5),'class':_0x5eb97c(0xe2)}),_0x1e3e4e[_0x5eb97c(0x103)](_0x5eb97c(0xfb))['to'](this,_0x5eb97c(0x102),_0x399fb1=>_0x399fb1),_0x1e3e4e['on'](_0x5eb97c(0xfd),()=>{const _0x3476ce=_0x5eb97c;console[_0x3476ce(0x10b)](_0x3476ce(0x110)),this[_0x3476ce(0x102)]=!this[_0x3476ce(0x102)];}),_0x1e3e4e;}}
23
+ const _0x147457=_0x342b;(function(_0x1b2abc,_0x2013fe){const _0xfb0e37=_0x342b,_0x2ede6a=_0x1b2abc();while(!![]){try{const _0x8e2b7c=parseInt(_0xfb0e37(0xe5))/0x1*(-parseInt(_0xfb0e37(0xc9))/0x2)+-parseInt(_0xfb0e37(0xe6))/0x3*(-parseInt(_0xfb0e37(0xb9))/0x4)+-parseInt(_0xfb0e37(0xc8))/0x5*(-parseInt(_0xfb0e37(0xd0))/0x6)+-parseInt(_0xfb0e37(0xbe))/0x7*(-parseInt(_0xfb0e37(0xc2))/0x8)+parseInt(_0xfb0e37(0xbd))/0x9+parseInt(_0xfb0e37(0xe7))/0xa+-parseInt(_0xfb0e37(0xcb))/0xb*(parseInt(_0xfb0e37(0xc3))/0xc);if(_0x8e2b7c===_0x2013fe)break;else _0x2ede6a['push'](_0x2ede6a['shift']());}catch(_0x579476){_0x2ede6a['push'](_0x2ede6a['shift']());}}}(_0x2d04,0x399d5));function _0x342b(_0x2ec154,_0xf65324){const _0x2d0434=_0x2d04();return _0x342b=function(_0x342bc1,_0x511993){_0x342bc1=_0x342bc1-0xb8;let _0x3af4ef=_0x2d0434[_0x342bc1];return _0x3af4ef;},_0x342b(_0x2ec154,_0xf65324);}import{View as _0x209605,ButtonView as _0xe40013}from'ckeditor5/src/ui.js';import{IconInfo as _0x454d89}from'ckeditor5/src/icons.js';function _0x2d04(){const _0x37c6bf=['AI_REVIEW_MODE_DISMISS_CHANGE','bind','8KgzEug','663252SrQHkU','execute','fire','ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button','extendTemplate','19745WyTetX','200ZmKMTj','ck-ai-review-mode__check-run-result-footer','88jlIJQC','isActive','_createDismissButtonView','stopPropagation','set','96BCDseM','_createInfoButtonView','dismissChange','ck-ai-review-mode__check-run-result_active','menuitemcheckbox','setItemAsActive','infoButtonView','log','acceptButtonView','setTemplate','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button','dismissButtonView','acceptChange','ck-ai-review-mode__check-run-result','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','ck-ai-review-mode__check-run-result-response','ck-content','ck-ai-review-mode__check-run-result-action-buttons','changeId','_createResultResponseView','_createAcceptButtonView','3307Unoxza','334890MZjddF','1154910Mkgede','bindTemplate','AI_REVIEW_MODE_ACCEPT_CHANGE','ck-content-direct-excluded','div','activateChange','resultResponseView','AI_REVIEW_MODE_LEARN_MORE','click','Toggle\x20info\x20view','8kmlsuR','setItemAsInactive','isInfoToggleOn','locale','1267479EvqBDU','3262637URpSRs','isOn'];_0x2d04=function(){return _0x37c6bf;};return _0x2d04();}import{getTranslation as _0x4d8099}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x209605{[_0x147457(0xed)];[_0x147457(0xd8)];[_0x147457(0xdb)];[_0x147457(0xd6)];constructor(_0x2c1a90,_0x43ca34){const _0x5d2e41=_0x147457;super(_0x2c1a90),this['id']=_0x43ca34,this[_0x5d2e41(0xcf)](_0x5d2e41(0xe2),_0x43ca34),this[_0x5d2e41(0xed)]=this[_0x5d2e41(0xe3)](),this[_0x5d2e41(0xd8)]=this[_0x5d2e41(0xe4)](),this[_0x5d2e41(0xdb)]=this[_0x5d2e41(0xcd)](),this[_0x5d2e41(0xd6)]=this[_0x5d2e41(0xd1)](),this[_0x5d2e41(0xcf)](_0x5d2e41(0xbb),!0x1),this[_0x5d2e41(0xcf)](_0x5d2e41(0xcc),!0x1),this[_0x5d2e41(0xd9)]({'tag':_0x5d2e41(0xeb),'attributes':{'class':[_0x5d2e41(0xdd),this[_0x5d2e41(0xe8)]['if'](_0x5d2e41(0xcc),_0x5d2e41(0xd3))]},'on':{'click':this[_0x5d2e41(0xe8)]['to'](_0x5d2e41(0xef))},'children':[this[_0x5d2e41(0xed)],{'tag':_0x5d2e41(0xeb),'attributes':{'class':[_0x5d2e41(0xca)]},'children':[{'tag':_0x5d2e41(0xeb),'attributes':{'class':[_0x5d2e41(0xe1)]},'children':[this[_0x5d2e41(0xd8)],this[_0x5d2e41(0xdb)]]},this[_0x5d2e41(0xd6)]]}]}),this['on'](_0x5d2e41(0xef),()=>{const _0x40f992=_0x5d2e41;this[_0x40f992(0xc5)](_0x40f992(0xec),{'id':_0x43ca34,'source':this});});}[_0x147457(0xd5)](){const _0x50f52b=_0x147457;this[_0x50f52b(0xcc)]=!0x0;}[_0x147457(0xba)](){const _0x2033cf=_0x147457;this[_0x2033cf(0xcc)]=!0x1;}[_0x147457(0xe3)](){const _0x3d5112=_0x147457,_0x2ecca2=new _0x209605(this[_0x3d5112(0xbc)]);return _0x2ecca2[_0x3d5112(0xd9)]({'tag':_0x3d5112(0xeb),'attributes':{'class':['ck',_0x3d5112(0xe0),_0x3d5112(0xea),_0x3d5112(0xdf)]}}),_0x2ecca2;}[_0x147457(0xe4)](){const _0x17ac41=_0x147457,_0x1ce818=new _0xe40013(this[_0x17ac41(0xbc)]);return _0x1ce818[_0x17ac41(0xcf)]({'label':_0x4d8099(this[_0x17ac41(0xbc)],_0x17ac41(0xe9)),'withText':!0x0,'class':_0x17ac41(0xc6)}),_0x1ce818[_0x17ac41(0xc7)]({'on':{'click':this[_0x17ac41(0xe8)]['to'](_0x5988d8=>{const _0x494f1c=_0x17ac41;this[_0x494f1c(0xc5)](_0x494f1c(0xdc),{'id':this[_0x494f1c(0xe2)]}),_0x5988d8[_0x494f1c(0xce)]();})}}),_0x1ce818;}[_0x147457(0xcd)](){const _0x35eeae=_0x147457,_0x4a4c25=new _0xe40013(this[_0x35eeae(0xbc)]);return _0x4a4c25[_0x35eeae(0xcf)]({'label':_0x4d8099(this[_0x35eeae(0xbc)],_0x35eeae(0xc0)),'withText':!0x0,'class':_0x35eeae(0xda)}),_0x4a4c25[_0x35eeae(0xc7)]({'on':{'click':this[_0x35eeae(0xe8)]['to'](_0x45d460=>{const _0x1caef4=_0x35eeae;this[_0x1caef4(0xc5)](_0x1caef4(0xd2),{'id':this[_0x1caef4(0xe2)]}),_0x45d460[_0x1caef4(0xce)]();})}}),_0x4a4c25;}[_0x147457(0xd1)](){const _0x163bc4=_0x147457,_0x364522=new _0xe40013(this[_0x163bc4(0xbc)]);return _0x364522[_0x163bc4(0xcf)]({'label':_0x4d8099(this[_0x163bc4(0xbc)],_0x163bc4(0xee)),'icon':_0x454d89,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x163bc4(0xd4),'class':_0x163bc4(0xde)}),_0x364522[_0x163bc4(0xc1)](_0x163bc4(0xbf))['to'](this,_0x163bc4(0xbb),_0xfa4ff0=>_0xfa4ff0),_0x364522['on'](_0x163bc4(0xc4),()=>{const _0x913301=_0x163bc4;console[_0x913301(0xd7)](_0x913301(0xb8)),this[_0x913301(0xbb)]=!this[_0x913301(0xbb)];}),_0x364522;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x4f1a4f}from'ckeditor5/src/utils.js';import{View as _0x21f032,ButtonView as _0x99f194,FormRowView as _0x44f906,createDropdown as _0x4f0b72,addListToDropdown as _0xc06a4a,UIModel as _0xc13dfa,ButtonLabelView as _0x126bc7}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x43669c}from'./aireviemodepromptinputview.js';export class AIReviewModeCustomCheckView extends _0x21f032{['submitButtonView'];['cancelButtonView'];['promptInputView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x5364e2,_0x28e907){super(_0x5364e2),this['_check']=_0x28e907,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x28e907['models']&&_0x28e907['models']['length']>0x0?_0x28e907['models'][0x0]['id']:'',this['_defaultLabel']=_0x28e907['models']&&_0x28e907['models']['length']>0x0?_0x28e907['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),this['promptInputView']=new _0x43669c(_0x5364e2),this['promptInputView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['on']('input',()=>{this['prompt']=this['promptInputView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x4f1a4f(),this['_setModelList'](),_0xc06a4a(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);const _0xc7e791=new _0x21f032(_0x5364e2);_0xc7e791['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']]}]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x44f906(this['locale'],{'children':[this['promptInputView']]}),new _0x44f906(this['locale'],{'children':[_0xc7e791]})]});}['resetToDefault'](){this['prompt']='',this['modelId']=this['_defaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['_defaultLabel'];}['_createSubmitButtonView'](){const _0x331593=new _0x99f194(this['locale']),t=this['locale']['t'];return _0x331593['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x331593['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1ee78b=>{_0x1ee78b['stopPropagation']();})}}),_0x331593['on']('execute',()=>{this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x331593;}['_createCancelButtonView'](){const _0x18d598=new _0x99f194(this['locale']),t=this['locale']['t'];return _0x18d598['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x18d598['on']('execute',()=>{this['resetToDefault']();}),_0x18d598;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0xc3e959=this['_check']['models'];if(this['resetToDefault'](),_0xc3e959?.['length'])for(const _0x2f4146 of _0xc3e959){const _0x24aa54=new _0xc13dfa({'label':_0x2f4146['name'],'withText':!0x0,'role':'menuitemradio','id':_0x2f4146['id'],'model':_0x2f4146});_0x24aa54['bind']('isOn')['to'](this,'modelId',_0x25d488=>_0x25d488===_0x2f4146['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x24aa54,'labelView':new Ms(this['locale'],_0x2f4146)});}}['_createModelSelectionDropdown'](){const _0x519698=_0x4f0b72(this['locale']);return _0x519698['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x519698['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x145fee=>{_0x145fee['stopPropagation']();})}}),_0x519698['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x519698,'execute',_0x3e7ba8=>{this['modelId']=_0x3e7ba8['source']['model']['id'],_0x519698['buttonView']['label']=_0x3e7ba8['source']['label'];}),_0x519698;}}class Ms extends _0x126bc7{constructor(_0x17bf22,_0x5d9850){super();const _0x3e6cf8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x3e6cf8['to']('style'),'id':_0x3e6cf8['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'text':_0x3e6cf8['to']('text')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[{'text':_0x5d9850['description']}]}]}]});}}
23
+ import{Collection as _0x1c113f}from'ckeditor5/src/utils.js';import{View as _0x40ca4c,ButtonView as _0x2a3b18,FormRowView as _0x539575,createDropdown as _0x4bca22,addListToDropdown as _0x5f1f03,UIModel as _0x41f5d3,ButtonLabelView as _0x3946d3}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x5e1f45}from'./aireviemodepromptinputview.js';export class AIReviewModeCustomCheckView extends _0x40ca4c{['submitButtonView'];['cancelButtonView'];['promptInputView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x4f8fdd,_0x56132f){super(_0x4f8fdd),this['_check']=_0x56132f,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x56132f['models']&&_0x56132f['models']['length']>0x0?_0x56132f['models'][0x0]['id']:'',this['_defaultLabel']=_0x56132f['models']&&_0x56132f['models']['length']>0x0?_0x56132f['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),this['promptInputView']=new _0x5e1f45(_0x4f8fdd),this['promptInputView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['on']('input',()=>{this['prompt']=this['promptInputView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x1c113f(),this['_setModelList'](),_0x5f1f03(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);const _0x10a3fa=new _0x40ca4c(_0x4f8fdd);_0x10a3fa['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']]}]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0x539575(this['locale'],{'children':[this['promptInputView']]}),new _0x539575(this['locale'],{'children':[_0x10a3fa]})]});}['resetToDefault'](){this['prompt']='',this['modelId']=this['_defaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['_defaultLabel'];}['_createSubmitButtonView'](){const _0x15bb50=new _0x2a3b18(this['locale']),t=this['locale']['t'];return _0x15bb50['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x15bb50['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x12612e=>{_0x12612e['stopPropagation']();})}}),_0x15bb50['on']('execute',()=>{this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x15bb50;}['_createCancelButtonView'](){const _0x219de4=new _0x2a3b18(this['locale']),t=this['locale']['t'];return _0x219de4['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x219de4['on']('execute',()=>{this['resetToDefault']();}),_0x219de4;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x47de2b=this['_check']['models'];if(this['resetToDefault'](),_0x47de2b?.['length'])for(const _0xd02d82 of _0x47de2b){const _0xba3c53=new _0x41f5d3({'label':_0xd02d82['name'],'withText':!0x0,'role':'menuitemradio','id':_0xd02d82['id'],'model':_0xd02d82});_0xba3c53['bind']('isOn')['to'](this,'modelId',_0x5cd3d0=>_0x5cd3d0===_0xd02d82['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0xba3c53,'labelView':new js(this['locale'],_0xd02d82)});}}['_createModelSelectionDropdown'](){const _0xc82055=_0x4bca22(this['locale']);return _0xc82055['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0xc82055['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x27ee35=>{_0x27ee35['stopPropagation']();})}}),_0xc82055['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0xc82055,'execute',_0x29ad16=>{this['modelId']=_0x29ad16['source']['model']['id'],_0xc82055['buttonView']['label']=_0x29ad16['source']['label'];}),_0xc82055;}}class js extends _0x3946d3{constructor(_0x1b2c78,_0x5dc2fa){super();const _0x2ef07d=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x2ef07d['to']('style'),'id':_0x2ef07d['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'text':_0x2ef07d['to']('text')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[{'text':_0x5dc2fa['description']}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ce947=_0x30a7;function _0x30a7(_0x12f7be,_0x5d4a28){const _0x54cdbf=_0x54cd();return _0x30a7=function(_0x30a719,_0x7f0b71){_0x30a719=_0x30a719-0x11f;let _0x310139=_0x54cdbf[_0x30a719];return _0x310139;},_0x30a7(_0x12f7be,_0x5d4a28);}(function(_0xc650b0,_0x3c8c7c){const _0x4bece7=_0x30a7,_0x550bee=_0xc650b0();while(!![]){try{const _0x4e1024=parseInt(_0x4bece7(0x123))/0x1+-parseInt(_0x4bece7(0x124))/0x2*(parseInt(_0x4bece7(0x130))/0x3)+parseInt(_0x4bece7(0x12c))/0x4*(parseInt(_0x4bece7(0x135))/0x5)+parseInt(_0x4bece7(0x138))/0x6+parseInt(_0x4bece7(0x13a))/0x7+-parseInt(_0x4bece7(0x120))/0x8+parseInt(_0x4bece7(0x121))/0x9*(-parseInt(_0x4bece7(0x12e))/0xa);if(_0x4e1024===_0x3c8c7c)break;else _0x550bee['push'](_0x550bee['shift']());}catch(_0x4e14f7){_0x550bee['push'](_0x550bee['shift']());}}}(_0x54cd,0x33cac));import{ListItemView as _0x649f7c,ViewCollection as _0x15ff0c}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x2fea60}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x649f7c{[_0x3ce947(0x131)];constructor(_0x142bb9){const _0x3f84c8=_0x3ce947;super(_0x142bb9),this[_0x3f84c8(0x131)]=new _0x15ff0c();const _0x20f0d3=this[_0x3f84c8(0x128)];this[_0x3f84c8(0x133)]({'tag':_0x3f84c8(0x125),'attributes':{'class':[_0x3f84c8(0x127),_0x20f0d3['if'](_0x3f84c8(0x122),_0x3f84c8(0x134),_0x1195a2=>!_0x1195a2)]},'children':this[_0x3f84c8(0x131)]});}[_0x3ce947(0x12a)](_0xc34f15){const _0x2c42fa=_0x3ce947;this[_0x2c42fa(0x131)][_0x2c42fa(0x126)]();for(const [_0x16ac5a,_0x6b064]of _0xc34f15[_0x2c42fa(0x12b)]()){const _0x4feb06=new _0x2fea60(this[_0x2c42fa(0x12f)],_0x6b064,_0x16ac5a);_0x4feb06[_0x2c42fa(0x136)](_0x2c42fa(0x11f))['to'](this),this[_0x2c42fa(0x131)][_0x2c42fa(0x129)](_0x4feb06);}}[_0x3ce947(0x12d)](){const _0x2b3f94=_0x3ce947;return this[_0x2b3f94(0x131)][_0x2b3f94(0x132)]>0x0;}[_0x3ce947(0x137)](){const _0xd2d0e9=_0x3ce947;for(const _0x59bb1d of this[_0xd2d0e9(0x131)])_0x59bb1d instanceof _0x2fea60&&_0x59bb1d[_0xd2d0e9(0x139)]();}}function _0x54cd(){const _0x21088e=['_checkViews','length','setTemplate','ck-hidden','60eninfM','delegate','resetAllParameterizedChecks','380592BIlVzB','resetToDefault','1972404WODFpt','runReviewCheck','872584uAGMpB','9ESxSOy','isVisible','170192NxTZng','379732YCjsyq','div','clear','ck-ai-review-mode__check-list','bindTemplate','add','setChecks','entries','65012bcPplb','hasChecks','1993530MdUJlI','locale','3VjygJg'];_0x54cd=function(){return _0x21088e;};return _0x54cd();}
23
+ const _0xefe19=_0x2b2a;(function(_0x5793e8,_0x2c2267){const _0x31fa55=_0x2b2a,_0x3d4169=_0x5793e8();while(!![]){try{const _0x242459=parseInt(_0x31fa55(0xff))/0x1+parseInt(_0x31fa55(0xed))/0x2+parseInt(_0x31fa55(0xf5))/0x3+parseInt(_0x31fa55(0x107))/0x4*(parseInt(_0x31fa55(0x103))/0x5)+parseInt(_0x31fa55(0xfe))/0x6*(parseInt(_0x31fa55(0xfd))/0x7)+parseInt(_0x31fa55(0xee))/0x8+-parseInt(_0x31fa55(0x102))/0x9;if(_0x242459===_0x2c2267)break;else _0x3d4169['push'](_0x3d4169['shift']());}catch(_0x2c6f6f){_0x3d4169['push'](_0x3d4169['shift']());}}}(_0x4a18,0xaee26));function _0x4a18(){const _0x26c4a5=['1174608RCrjQM','runReviewCheck','delegate','setChecks','resetToDefault','add','resetAllParameterizedChecks','3702579KIPMql','isVisible','ck-hidden','hasChecks','entries','bindTemplate','locale','div','21EvDqjy','1007718NJzPxJ','83428SRDjWH','_checkViews','ck-ai-review-mode__check-list','20775384CIsygJ','1517530dMdFZO','clear','length','setTemplate','4jabPhC','1505780MAYjqW'];_0x4a18=function(){return _0x26c4a5;};return _0x4a18();}function _0x2b2a(_0x199507,_0x459347){const _0x4a187b=_0x4a18();return _0x2b2a=function(_0x2b2a21,_0x5907c1){_0x2b2a21=_0x2b2a21-0xed;let _0x42bf62=_0x4a187b[_0x2b2a21];return _0x42bf62;},_0x2b2a(_0x199507,_0x459347);}import{ListItemView as _0x185878,ViewCollection as _0x17106c}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x590e40}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x185878{[_0xefe19(0x100)];constructor(_0x2eb93f){const _0xd6695=_0xefe19;super(_0x2eb93f),this[_0xd6695(0x100)]=new _0x17106c();const _0x55503b=this[_0xd6695(0xfa)];this[_0xd6695(0x106)]({'tag':_0xd6695(0xfc),'attributes':{'class':[_0xd6695(0x101),_0x55503b['if'](_0xd6695(0xf6),_0xd6695(0xf7),_0x2ef9ab=>!_0x2ef9ab)]},'children':this[_0xd6695(0x100)]});}[_0xefe19(0xf1)](_0x69cc39){const _0x4a3ed0=_0xefe19;this[_0x4a3ed0(0x100)][_0x4a3ed0(0x104)]();for(const [_0xeb5da6,_0x4686df]of _0x69cc39[_0x4a3ed0(0xf9)]()){const _0x34207b=new _0x590e40(this[_0x4a3ed0(0xfb)],_0x4686df,_0xeb5da6);_0x34207b[_0x4a3ed0(0xf0)](_0x4a3ed0(0xef))['to'](this),this[_0x4a3ed0(0x100)][_0x4a3ed0(0xf3)](_0x34207b);}}[_0xefe19(0xf8)](){const _0x16a288=_0xefe19;return this[_0x16a288(0x100)][_0x16a288(0x105)]>0x0;}[_0xefe19(0xf4)](){const _0x30a21c=_0xefe19;for(const _0x14431d of this[_0x30a21c(0x100)])_0x14431d instanceof _0x590e40&&_0x14431d[_0x30a21c(0xf2)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x1064dc,View as _0x390f3f,ViewCollection as _0x30e591,ButtonView as _0x3ddfe5}from'ckeditor5/src/ui.js';import{IconStop as _0x3e096c,IconEye as _0x297454,IconEyeCrossedOut as _0x2833ec}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x5f1c56}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x4a02d7,SKELETON_DEFINITIONS as _0x185b5d}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x5331d9}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x5db268}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x506b57}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x1064dc{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0x5f2212){super(_0x5f2212),this['_resultViews']=new _0x30e591(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x5331d9(_0x5f2212),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general');const _0x23692f=this['_createCombinedSkeletonLoader'](),_0x12805f=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x12805f['if']('isVisible','ck-hidden',_0x18f9ab=>!_0x18f9ab)]},'children':[this['resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x215974=>_0x215974)]},'children':this['_resultViews']},_0x23692f]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x495b70){const _0x470099=new _0x5f1c56(this['locale'],_0x495b70['id']);_0x470099['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x470099),_0x470099['resultResponseView']['element']['innerHTML']=_0x495b70['contentDiffed'];}['hideResult'](_0x324d3f){const _0x3353e3=this['_resultViews']['find'](_0x11f92c=>_0x11f92c['id']===_0x324d3f);_0x3353e3&&(_0x3353e3['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x3353e3['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x3353e3),_0x3353e3['destroy']();},{'once':!0x0}));}['setTitle'](_0x11769e){this['headerTitle']=_0x11769e;}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x4a02d7(this['locale'],_0x185b5d['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x310a27=new _0x390f3f(this['locale']),_0x414ad1=[];for(let _0x130ce9=0x0;_0x130ce9<0x10;_0x130ce9++){const _0x4350ac=this['_createSkeletonLoader']();_0x4350ac['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x414ad1['push'](_0x4350ac);}return _0x310a27['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2c663e=>!_0x2c663e)]},'children':_0x414ad1}),_0x310a27;}['_createErrorView'](){const _0x3cb492=new _0x390f3f(this['locale']),_0x295ad2=new _0x3ddfe5(this['locale']),t=this['locale']['t'];return _0x3cb492['delegate']('retryReview')['to'](this),_0x295ad2['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x295ad2['on']('execute',()=>{this['fire']('retryReview');}),_0x3cb492['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x758a75=>!_0x758a75),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x503c4c=>'chunk'===_0x503c4c)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-chat-error','ck-ai-chat-error_full-width','ck-ai-review-mode__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-chat-error_warning',_0x32bb0c=>'chunk'===_0x32bb0c)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x41463b=>'general'!==_0x41463b)]},'children':[{'text':_0x5db268(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0xed8714=>'chunk'!==_0xed8714)]},'children':[{'text':_0x5db268(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x295ad2]}),_0x3cb492;}['_createCancelButtonView'](){const _0x3da37e=new _0x3ddfe5(this['locale']);return _0x3da37e['set']({'label':_0x5db268(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x3e096c}),_0x3da37e['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4c600f=>_0x4c600f)]}}),_0x3da37e['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x3da37e;}['_createToggleDiffButtonView'](){const _0x1e754b=new _0x3ddfe5(this['locale']);_0x1e754b['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x1e754b['bind']('isEnabled')['to'](this,'isError',_0x403558=>!_0x403558),_0x1e754b['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4403c4=>!_0x4403c4)]}});const _0x44e99f=_0x5db268(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x2a5359=_0x5db268(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x1e754b['bind']('isOn')['to'](this,'isToggleDiffOn',_0xded50b=>_0xded50b),_0x1e754b['bind']('icon')['to'](this,'isToggleDiffOn',_0x3c66bc=>_0x3c66bc?_0x297454:_0x2833ec),_0x1e754b['bind']('label')['to'](this,'isToggleDiffOn',_0x28cbda=>_0x28cbda?_0x44e99f:_0x2a5359),_0x1e754b['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x1e754b;}['_createAcceptAllButtonView'](){const _0x181e5=new _0x3ddfe5(this['locale']);return _0x181e5['set']({'label':_0x5db268(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x181e5['bind']('isEnabled')['to'](this,'isError',_0x4c49a1=>!_0x4c49a1),_0x181e5['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x496526=>!_0x496526)]}}),_0x181e5['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x181e5;}['_createExitReviewButtonView'](){const _0x352158=new _0x3ddfe5(this['locale']);return _0x352158['set']({'label':_0x5db268(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x352158['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x50c98b=>!_0x50c98b)]}}),_0x352158['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x352158;}['_createResultHeaderView'](){const _0x364cbe=new _0x390f3f(this['locale']),_0x501dc4=new _0x506b57();return _0x501dc4['bind']('isVisible')['to'](this,'isResultReady',_0x4c1efa=>!_0x4c1efa),_0x364cbe['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[_0x501dc4,this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x364cbe;}}
23
+ import{ListItemView as _0x123d61,View as _0x14cfe5,ViewCollection as _0xef5f9f,ButtonView as _0x133c26}from'ckeditor5/src/ui.js';import{IconStop as _0x56b24a,IconEye as _0x279569,IconEyeCrossedOut as _0x40ec8a}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x29b4a0}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x54752d,SKELETON_DEFINITIONS as _0x303582}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x2256e2}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x555bb7}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x2c984a}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x123d61{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0x26369f){super(_0x26369f),this['_resultViews']=new _0xef5f9f(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x2256e2(_0x26369f),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general');const _0x4ee017=this['_createCombinedSkeletonLoader'](),_0x3d87a7=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x3d87a7['if']('isVisible','ck-hidden',_0x65cac=>!_0x65cac)]},'children':[this['resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x455919=>_0x455919)]},'children':this['_resultViews']},_0x4ee017]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x38089c){const _0x505ad5=new _0x29b4a0(this['locale'],_0x38089c['id']);_0x505ad5['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x505ad5),_0x505ad5['resultResponseView']['element']['innerHTML']=_0x38089c['contentDiffed'];}['hideResult'](_0x5c6210){const _0x5f1fa4=this['_resultViews']['find'](_0x334102=>_0x334102['id']===_0x5c6210);_0x5f1fa4&&(_0x5f1fa4['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x5f1fa4['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x5f1fa4),_0x5f1fa4['destroy']();},{'once':!0x0}));}['setTitle'](_0x4ae8a2){this['headerTitle']=_0x4ae8a2;}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x54752d(this['locale'],_0x303582['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x286142=new _0x14cfe5(this['locale']),_0x368b5e=[];for(let _0x312951=0x0;_0x312951<0x10;_0x312951++){const _0x5881d5=this['_createSkeletonLoader']();_0x5881d5['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x368b5e['push'](_0x5881d5);}return _0x286142['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x33b4bf=>!_0x33b4bf)]},'children':_0x368b5e}),_0x286142;}['_createErrorView'](){const _0x78f76d=new _0x14cfe5(this['locale']),_0xe9e8aa=new _0x133c26(this['locale']),t=this['locale']['t'];return _0x78f76d['delegate']('retryReview')['to'](this),_0xe9e8aa['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0xe9e8aa['on']('execute',()=>{this['fire']('retryReview');}),_0x78f76d['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x4a6395=>!_0x4a6395),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x4ba76d=>'chunk'===_0x4ba76d)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-chat-error','ck-ai-chat-error_full-width','ck-ai-review-mode__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-chat-error_warning',_0x41b7d0=>'chunk'===_0x41b7d0)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x547812=>'general'!==_0x547812)]},'children':[{'text':_0x555bb7(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x1d1a6c=>'chunk'!==_0x1d1a6c)]},'children':[{'text':_0x555bb7(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0xe9e8aa]}),_0x78f76d;}['_createCancelButtonView'](){const _0x5856d8=new _0x133c26(this['locale']);return _0x5856d8['set']({'label':_0x555bb7(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x56b24a}),_0x5856d8['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1ec953=>_0x1ec953)]}}),_0x5856d8['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x5856d8;}['_createToggleDiffButtonView'](){const _0x1c7a43=new _0x133c26(this['locale']);_0x1c7a43['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x1c7a43['bind']('isEnabled')['to'](this,'isError',_0x748edd=>!_0x748edd),_0x1c7a43['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x482c96=>!_0x482c96)]}});const _0x20bd22=_0x555bb7(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0xd99826=_0x555bb7(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x1c7a43['bind']('isOn')['to'](this,'isToggleDiffOn',_0x5bbab6=>_0x5bbab6),_0x1c7a43['bind']('icon')['to'](this,'isToggleDiffOn',_0x1c2c96=>_0x1c2c96?_0x279569:_0x40ec8a),_0x1c7a43['bind']('label')['to'](this,'isToggleDiffOn',_0xa0695e=>_0xa0695e?_0x20bd22:_0xd99826),_0x1c7a43['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x1c7a43;}['_createAcceptAllButtonView'](){const _0x4f04fc=new _0x133c26(this['locale']);return _0x4f04fc['set']({'label':_0x555bb7(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x4f04fc['bind']('isEnabled')['to'](this,'isError',_0x5b4130=>!_0x5b4130),_0x4f04fc['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4847b1=>!_0x4847b1)]}}),_0x4f04fc['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x4f04fc;}['_createExitReviewButtonView'](){const _0x168777=new _0x133c26(this['locale']);return _0x168777['set']({'label':_0x555bb7(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x168777['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x552f0a=>!_0x552f0a)]}}),_0x168777['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x168777;}['_createResultHeaderView'](){const _0x2ad28b=new _0x14cfe5(this['locale']),_0x4da218=new _0x2c984a();return _0x4da218['bind']('isVisible')['to'](this,'isResultReady',_0x213617=>!_0x213617),_0x2ad28b['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[_0x4da218,this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x2ad28b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x3e5d18,IconView as _0x2c2c76,View as _0x478782,ViewCollection as _0x5f2605,ButtonView as _0x37a097,clickOutsideHandler as _0x2f1da3}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x3b4629}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x85d119}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x299c5f}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x3e5d18{['_formItemsCollection']=new _0x5f2605();['_customCheckView']=null;constructor(_0xf62351,_0x52831d,_0x599ee2){super(_0xf62351),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x52831d['isParameterized']);const _0x34cd96=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai-review-mode__check-list-item_selected',_0x27a7d2=>_0x27a7d2),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x53c7c8=>_0x53c7c8)],'style':{'--ck-ai-check-list-item-index':_0x599ee2}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-list-item-title-text']},'children':[{'text':_0x52831d['title']}]},_0x34cd96]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x52831d['description']}]}]}]},..._0x52831d['isParameterized']?[this['_createParameterizedView'](_0x52831d)]:[],...'custom'===_0x52831d['id']?[this['_createCustomView'](_0x52831d)]:[]]}),this['on']('click',()=>{_0x52831d['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x52831d['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x2f1da3({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x4921cb=>{_0x4921cb['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x512867=new _0x2c2c76();return _0x512867['content']=_0x3b4629,_0x512867['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x512867;}['_createParameterizedView'](_0x4645eb){const _0x1c15ae=new _0x478782(),_0x10f846=this['_createFormView'](_0x4645eb);return _0x1c15ae['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x22ea57=>!_0x22ea57)]},'children':[_0x10f846]}),_0x1c15ae;}['_createFormView'](_0x5c0cf4){const _0x1e5c23=new _0x478782(),_0x3bba01=Array['isArray'](_0x5c0cf4['options'])?_0x5c0cf4['options']:[],_0x5acfcb=new _0x37a097(this['locale']),t=this['locale']['t'];_0x5acfcb['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x5acfcb['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x37cf75=>{_0x37cf75['stopPropagation']();})}}),_0x5acfcb['on']('execute',()=>{const _0xfbbe30=[],_0x141e6b={};this['_formItemsCollection']['forEach'](_0x4a5a85=>{_0xfbbe30['push'](_0x4a5a85['value']),_0x5c0cf4['useArgs']&&_0x5c0cf4['options']&&(_0x141e6b[_0x4a5a85['argsKey']]=_0x4a5a85['value']);}),this['fire']('runReviewCheck',{'id':_0x5c0cf4['id'],'params':_0xfbbe30['length']?_0xfbbe30:void 0x0,'args':Object['keys'](_0x141e6b)['length']?_0x141e6b:void 0x0});});const _0x50d47f=_0x3bba01['length'];return _0x3bba01['forEach']((_0xb10c3,_0x13ee49)=>{const _0x1c83c3=_0x13ee49===_0x50d47f-0x1;this['_formItemsCollection']['add'](new _0x85d119(this['locale'],_0xb10c3,_0x1c83c3?_0x5acfcb:null));}),_0x1e5c23['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x1e5c23;}['_createCustomView'](_0x827676){return this['_customCheckView']=new _0x299c5f(this['locale'],_0x827676),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized','ck-ai-review-mode__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x559d48=>!_0x559d48)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['_customCheckView'];}}
23
+ import{ListItemView as _0x152277,IconView as _0x5bc9f5,View as _0x2874eb,ViewCollection as _0x190a6b,ButtonView as _0x35cdc4,clickOutsideHandler as _0x33cd6c}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x35eec7}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x4f47b0}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x575ce6}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x152277{['_formItemsCollection']=new _0x190a6b();['_customCheckView']=null;constructor(_0x27a53d,_0x4f4529,_0x33b660){super(_0x27a53d),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x4f4529['isParameterized']);const _0x5f4c7a=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai-review-mode__check-list-item_selected',_0x5da116=>_0x5da116),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x79c484=>_0x79c484)],'style':{'--ck-ai-check-list-item-index':_0x33b660}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-list-item-title-text']},'children':[{'text':_0x4f4529['title']}]},_0x5f4c7a]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x4f4529['description']}]}]}]},..._0x4f4529['isParameterized']?[this['_createParameterizedView'](_0x4f4529)]:[],...'custom'===_0x4f4529['id']?[this['_createCustomView'](_0x4f4529)]:[]]}),this['on']('click',()=>{_0x4f4529['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x4f4529['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x33cd6c({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x42397d=>{_0x42397d['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x31fdc8=new _0x5bc9f5();return _0x31fdc8['content']=_0x35eec7,_0x31fdc8['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x31fdc8;}['_createParameterizedView'](_0x5ae7eb){const _0x5354fe=new _0x2874eb(),_0x4eb9cd=this['_createFormView'](_0x5ae7eb);return _0x5354fe['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x18be95=>!_0x18be95)]},'children':[_0x4eb9cd]}),_0x5354fe;}['_createFormView'](_0x2059a0){const _0x3b782b=new _0x2874eb(),_0x16e41d=Array['isArray'](_0x2059a0['options'])?_0x2059a0['options']:[],_0x1c0095=new _0x35cdc4(this['locale']),t=this['locale']['t'];_0x1c0095['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x1c0095['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3e253b=>{_0x3e253b['stopPropagation']();})}}),_0x1c0095['on']('execute',()=>{const _0x506978=[],_0x51e9c6={};this['_formItemsCollection']['forEach'](_0x506a1c=>{_0x506978['push'](_0x506a1c['value']),_0x2059a0['useArgs']&&_0x2059a0['options']&&(_0x51e9c6[_0x506a1c['argsKey']]=_0x506a1c['value']);}),this['fire']('runReviewCheck',{'id':_0x2059a0['id'],'params':_0x506978['length']?_0x506978:void 0x0,'args':Object['keys'](_0x51e9c6)['length']?_0x51e9c6:void 0x0});});const _0x4175de=_0x16e41d['length'];return _0x16e41d['forEach']((_0x1fe9d3,_0x323455)=>{const _0x43536b=_0x323455===_0x4175de-0x1;this['_formItemsCollection']['add'](new _0x4f47b0(this['locale'],_0x1fe9d3,_0x43536b?_0x1c0095:null));}),_0x3b782b['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x3b782b;}['_createCustomView'](_0x27eac0){return this['_customCheckView']=new _0x575ce6(this['locale'],_0x27eac0),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized','ck-ai-review-mode__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x20224a=>!_0x20224a)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['_customCheckView'];}}