@ckeditor/ckeditor5-ai 47.0.0-alpha.9 → 47.1.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (328) hide show
  1. package/build/ai.js +1 -1
  2. package/ckeditor5-metadata.json +9 -2
  3. package/dist/index-editor.css +119 -34
  4. package/dist/index.css +144 -35
  5. package/dist/index.js +4 -4
  6. package/dist/translations/af.js +1 -1
  7. package/dist/translations/af.umd.js +1 -1
  8. package/dist/translations/ar.js +1 -1
  9. package/dist/translations/ar.umd.js +1 -1
  10. package/dist/translations/ast.js +1 -1
  11. package/dist/translations/ast.umd.js +1 -1
  12. package/dist/translations/az.js +1 -1
  13. package/dist/translations/az.umd.js +1 -1
  14. package/dist/translations/be.js +1 -1
  15. package/dist/translations/be.umd.js +1 -1
  16. package/dist/translations/bg.js +1 -1
  17. package/dist/translations/bg.umd.js +1 -1
  18. package/dist/translations/bn.js +1 -1
  19. package/dist/translations/bn.umd.js +1 -1
  20. package/dist/translations/bs.js +1 -1
  21. package/dist/translations/bs.umd.js +1 -1
  22. package/dist/translations/ca.js +1 -1
  23. package/dist/translations/ca.umd.js +1 -1
  24. package/dist/translations/cs.js +1 -1
  25. package/dist/translations/cs.umd.js +1 -1
  26. package/dist/translations/da.js +1 -1
  27. package/dist/translations/da.umd.js +1 -1
  28. package/dist/translations/de-ch.js +1 -1
  29. package/dist/translations/de-ch.umd.js +1 -1
  30. package/dist/translations/de.js +1 -1
  31. package/dist/translations/de.umd.js +1 -1
  32. package/dist/translations/el.js +1 -1
  33. package/dist/translations/el.umd.js +1 -1
  34. package/dist/translations/en-au.js +1 -1
  35. package/dist/translations/en-au.umd.js +1 -1
  36. package/dist/translations/en-gb.js +1 -1
  37. package/dist/translations/en-gb.umd.js +1 -1
  38. package/dist/translations/en.js +1 -1
  39. package/dist/translations/en.umd.js +1 -1
  40. package/dist/translations/eo.js +1 -1
  41. package/dist/translations/eo.umd.js +1 -1
  42. package/dist/translations/es-co.js +1 -1
  43. package/dist/translations/es-co.umd.js +1 -1
  44. package/dist/translations/es.js +1 -1
  45. package/dist/translations/es.umd.js +1 -1
  46. package/dist/translations/et.js +1 -1
  47. package/dist/translations/et.umd.js +1 -1
  48. package/dist/translations/eu.js +1 -1
  49. package/dist/translations/eu.umd.js +1 -1
  50. package/dist/translations/fa.js +1 -1
  51. package/dist/translations/fa.umd.js +1 -1
  52. package/dist/translations/fi.js +1 -1
  53. package/dist/translations/fi.umd.js +1 -1
  54. package/dist/translations/fr.js +1 -1
  55. package/dist/translations/fr.umd.js +1 -1
  56. package/dist/translations/gl.js +1 -1
  57. package/dist/translations/gl.umd.js +1 -1
  58. package/dist/translations/gu.js +1 -1
  59. package/dist/translations/gu.umd.js +1 -1
  60. package/dist/translations/he.js +1 -1
  61. package/dist/translations/he.umd.js +1 -1
  62. package/dist/translations/hi.js +1 -1
  63. package/dist/translations/hi.umd.js +1 -1
  64. package/dist/translations/hr.js +1 -1
  65. package/dist/translations/hr.umd.js +1 -1
  66. package/dist/translations/hu.js +1 -1
  67. package/dist/translations/hu.umd.js +1 -1
  68. package/dist/translations/hy.js +1 -1
  69. package/dist/translations/hy.umd.js +1 -1
  70. package/dist/translations/id.js +1 -1
  71. package/dist/translations/id.umd.js +1 -1
  72. package/dist/translations/it.js +1 -1
  73. package/dist/translations/it.umd.js +1 -1
  74. package/dist/translations/ja.js +1 -1
  75. package/dist/translations/ja.umd.js +1 -1
  76. package/dist/translations/jv.js +1 -1
  77. package/dist/translations/jv.umd.js +1 -1
  78. package/dist/translations/kk.js +1 -1
  79. package/dist/translations/kk.umd.js +1 -1
  80. package/dist/translations/km.js +1 -1
  81. package/dist/translations/km.umd.js +1 -1
  82. package/dist/translations/kn.js +1 -1
  83. package/dist/translations/kn.umd.js +1 -1
  84. package/dist/translations/ko.js +1 -1
  85. package/dist/translations/ko.umd.js +1 -1
  86. package/dist/translations/ku.js +1 -1
  87. package/dist/translations/ku.umd.js +1 -1
  88. package/dist/translations/lt.js +1 -1
  89. package/dist/translations/lt.umd.js +1 -1
  90. package/dist/translations/lv.js +1 -1
  91. package/dist/translations/lv.umd.js +1 -1
  92. package/dist/translations/ms.js +1 -1
  93. package/dist/translations/ms.umd.js +1 -1
  94. package/dist/translations/nb.js +1 -1
  95. package/dist/translations/nb.umd.js +1 -1
  96. package/dist/translations/ne.js +1 -1
  97. package/dist/translations/ne.umd.js +1 -1
  98. package/dist/translations/nl.js +1 -1
  99. package/dist/translations/nl.umd.js +1 -1
  100. package/dist/translations/no.js +1 -1
  101. package/dist/translations/no.umd.js +1 -1
  102. package/dist/translations/oc.js +1 -1
  103. package/dist/translations/oc.umd.js +1 -1
  104. package/dist/translations/pl.js +1 -1
  105. package/dist/translations/pl.umd.js +1 -1
  106. package/dist/translations/pt-br.js +1 -1
  107. package/dist/translations/pt-br.umd.js +1 -1
  108. package/dist/translations/pt.js +1 -1
  109. package/dist/translations/pt.umd.js +1 -1
  110. package/dist/translations/ro.js +1 -1
  111. package/dist/translations/ro.umd.js +1 -1
  112. package/dist/translations/ru.js +1 -1
  113. package/dist/translations/ru.umd.js +1 -1
  114. package/dist/translations/si.js +1 -1
  115. package/dist/translations/si.umd.js +1 -1
  116. package/dist/translations/sk.js +1 -1
  117. package/dist/translations/sk.umd.js +1 -1
  118. package/dist/translations/sl.js +1 -1
  119. package/dist/translations/sl.umd.js +1 -1
  120. package/dist/translations/sq.js +1 -1
  121. package/dist/translations/sq.umd.js +1 -1
  122. package/dist/translations/sr-latn.js +1 -1
  123. package/dist/translations/sr-latn.umd.js +1 -1
  124. package/dist/translations/sr.js +1 -1
  125. package/dist/translations/sr.umd.js +1 -1
  126. package/dist/translations/sv.js +1 -1
  127. package/dist/translations/sv.umd.js +1 -1
  128. package/dist/translations/th.js +1 -1
  129. package/dist/translations/th.umd.js +1 -1
  130. package/dist/translations/ti.js +1 -1
  131. package/dist/translations/ti.umd.js +1 -1
  132. package/dist/translations/tk.js +1 -1
  133. package/dist/translations/tk.umd.js +1 -1
  134. package/dist/translations/tr.js +1 -1
  135. package/dist/translations/tr.umd.js +1 -1
  136. package/dist/translations/tt.js +1 -1
  137. package/dist/translations/tt.umd.js +1 -1
  138. package/dist/translations/ug.js +1 -1
  139. package/dist/translations/ug.umd.js +1 -1
  140. package/dist/translations/uk.js +1 -1
  141. package/dist/translations/uk.umd.js +1 -1
  142. package/dist/translations/ur.js +1 -1
  143. package/dist/translations/ur.umd.js +1 -1
  144. package/dist/translations/uz.js +1 -1
  145. package/dist/translations/uz.umd.js +1 -1
  146. package/dist/translations/vi.js +1 -1
  147. package/dist/translations/vi.umd.js +1 -1
  148. package/dist/translations/zh-cn.js +1 -1
  149. package/dist/translations/zh-cn.umd.js +1 -1
  150. package/dist/translations/zh.js +1 -1
  151. package/dist/translations/zh.umd.js +1 -1
  152. package/lang/contexts.json +5 -0
  153. package/package.json +15 -15
  154. package/src/aiactions/aiactions.js +1 -1
  155. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  156. package/src/aiactions/model/aiactionsreply.js +1 -1
  157. package/src/aiassistant/adapters/aiadapter.js +1 -1
  158. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  159. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  160. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  161. package/src/aiassistant/aiassistant.js +1 -1
  162. package/src/aiassistant/aiassistantediting.js +1 -1
  163. package/src/aiassistant/aiassistantui.js +1 -1
  164. package/src/aiassistant/legacyerrors.js +1 -1
  165. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  166. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  167. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  170. package/src/aiassistant/ui/form/aiformview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  172. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  173. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  174. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  175. package/src/aiassistant/utils/common-translations.js +1 -1
  176. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  177. package/src/aiballoon/aiballoon.js +1 -1
  178. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  179. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  180. package/src/aiballoon/ui/aiballoonview.js +1 -1
  181. package/src/aichat/aichat.d.ts +3 -3
  182. package/src/aichat/aichat.js +1 -1
  183. package/src/aichat/aichatcontroller.js +1 -1
  184. package/src/aichat/aichatui.d.ts +6 -0
  185. package/src/aichat/aichatui.js +1 -1
  186. package/src/aichat/model/aichatcontext.js +1 -1
  187. package/src/aichat/model/aichatconversation.d.ts +2 -4
  188. package/src/aichat/model/aichatconversation.js +1 -1
  189. package/src/aichat/model/aichatinteraction.js +1 -1
  190. package/src/aichat/model/aichatmodels.d.ts +11 -4
  191. package/src/aichat/model/aichatmodels.js +1 -1
  192. package/src/aichat/ui/aichatcontrolsview.d.ts +9 -0
  193. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  194. package/src/aichat/ui/aichatfeedview.js +1 -1
  195. package/src/aichat/ui/aichatheaderview.js +1 -1
  196. package/src/aichat/ui/aichatview.js +1 -1
  197. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  198. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  199. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  200. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  201. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  202. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  203. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  204. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  205. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  206. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  207. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  208. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  209. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  212. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  213. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  214. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  215. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  216. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  217. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  218. package/src/aichat/utils/eventnames.js +1 -1
  219. package/src/aichat/utils/promisequeue.js +1 -1
  220. package/src/aichat/utils/scrollmanager.js +1 -1
  221. package/src/aichathistory/aichathistory.js +1 -1
  222. package/src/aichathistory/aichathistorycontroller.js +1 -1
  223. package/src/aichathistory/aichathistoryui.js +1 -1
  224. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  225. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  226. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  227. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  228. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  229. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  230. package/src/aiconfig.d.ts +4 -0
  231. package/src/aicore/aiconnector.js +1 -1
  232. package/src/aicore/aiediting.js +1 -1
  233. package/src/aicore/model/aicapabilities.js +1 -1
  234. package/src/aicore/model/aicontext.js +1 -1
  235. package/src/aicore/model/aiinteraction.js +1 -1
  236. package/src/aicore/model/aireply.d.ts +1 -1
  237. package/src/aicore/model/aireply.js +1 -1
  238. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  239. package/src/aicore/pipeline/airesponseparser.js +2 -2
  240. package/src/aicore/ui/aidisclaimerview.js +1 -1
  241. package/src/aicore/ui/aiskeleton.js +1 -1
  242. package/src/aicore/ui/aispinner.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  247. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  248. package/src/aicore/utils/common-translations.js +1 -1
  249. package/src/aicore/utils/createresizebutton.js +1 -1
  250. package/src/aicore/utils/documentposition.js +1 -1
  251. package/src/aicore/utils/documentrange.js +1 -1
  252. package/src/aicore/utils/eventnames.js +1 -1
  253. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  254. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  255. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  256. package/src/aicore/utils/htmlparser.js +1 -1
  257. package/src/aicore/utils/htmlstreamer.js +1 -1
  258. package/src/aieditorintegration/aieditorintegration.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  260. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  261. package/src/aiquickactions/aiquickactions.d.ts +2 -1
  262. package/src/aiquickactions/aiquickactions.js +1 -1
  263. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  264. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  265. package/src/aiquickactions/aiquickactionsui.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +2 -1
  267. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  269. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  270. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  271. package/src/aireviewmode/aireviewmode.js +1 -1
  272. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  273. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  274. package/src/aireviewmode/aireviewmodeui.d.ts +3 -1
  275. package/src/aireviewmode/aireviewmodeui.js +1 -1
  276. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  277. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  278. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  279. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  280. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +6 -0
  281. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  282. package/src/aireviewmode/model/aireviewcheckrun.d.ts +31 -3
  283. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  284. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +1 -1
  285. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  286. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  287. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +5 -1
  288. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  289. package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +7 -5
  290. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  291. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +3 -0
  292. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  293. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +4 -0
  294. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  295. package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +27 -3
  296. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  297. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  298. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +13 -1
  299. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  300. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  301. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  302. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  303. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
  304. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  305. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  306. package/src/aitabs/aitabs.js +1 -1
  307. package/src/aitabs/aitabsmainview.d.ts +4 -0
  308. package/src/aitabs/aitabsmainview.js +1 -1
  309. package/src/aitabs/tabs/aitabsview.js +1 -1
  310. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  311. package/src/aitabs/tabs/tabpanelview.js +1 -1
  312. package/src/errors.d.ts +5 -0
  313. package/src/errors.js +23 -0
  314. package/src/index.js +1 -1
  315. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +4 -0
  316. package/theme/aichat/aichat-controls/model-unavailable-message.css +39 -0
  317. package/theme/aichat/aichat-controls.css +1 -0
  318. package/theme/aichat/aichat.css +0 -1
  319. package/theme/aichat/aichatfeed.css +9 -0
  320. package/theme/aichat/aisuggestioncontainer.css +7 -1
  321. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +4 -0
  322. package/theme/aireviewmode/aireviewmode-check-list.css +4 -0
  323. package/theme/aireviewmode/aireviewmode-check-run-result.css +25 -19
  324. package/theme/aireviewmode/aireviewmode-check-run.css +35 -7
  325. package/theme/aitabs/aitabsview.css +2 -2
  326. package/theme/aitabs/tabs/tabsview.css +13 -3
  327. package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +0 -16
  328. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x450933=_0x4384;function _0x59b3(){var _0x16c789=['content','8bJrUaE','_prompt','callCustomReview','48DurHGy','809253gEEPoS','title','11VvYshS','_aiConnector','16700kWGQQS','494966hgtARk','_documentData','_model','329861vLCxbe','1505050oJigME','_createApiRequest','148055FFahQA','3gKKDgd','142527MgdwJB'];_0x59b3=function(){return _0x16c789;};return _0x59b3();}function _0x4384(_0x5b7f32,_0x5f5cbc){var _0x59b36b=_0x59b3();return _0x4384=function(_0x438433,_0x9b3d75){_0x438433=_0x438433-0x134;var _0x2e07ff=_0x59b36b[_0x438433];return _0x2e07ff;},_0x4384(_0x5b7f32,_0x5f5cbc);}(function(_0x4e870c,_0x4f2383){var _0x450157=_0x4384,_0x289d90=_0x4e870c();while(!![]){try{var _0x14cb8b=parseInt(_0x450157(0x13a))/0x1+-parseInt(_0x450157(0x145))/0x2*(-parseInt(_0x450157(0x139))/0x3)+-parseInt(_0x450157(0x144))/0x4+-parseInt(_0x450157(0x138))/0x5*(parseInt(_0x450157(0x13f))/0x6)+parseInt(_0x450157(0x135))/0x7*(-parseInt(_0x450157(0x13c))/0x8)+-parseInt(_0x450157(0x140))/0x9+parseInt(_0x450157(0x136))/0xa*(parseInt(_0x450157(0x142))/0xb);if(_0x14cb8b===_0x4f2383)break;else _0x289d90['push'](_0x289d90['shift']());}catch(_0x3da2b3){_0x289d90['push'](_0x289d90['shift']());}}}(_0x59b3,0x27a6c));import{AIReviewCheckRun as _0x1ffb5d}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x1ffb5d{[_0x450933(0x13d)];[_0x450933(0x134)];constructor(_0x221292,_0x3ffd50,_0x25b329,_0x4335c1,_0x1cc156){var _0x51a375=_0x450933;super(_0x25b329,_0x4335c1,_0x1cc156),this[_0x51a375(0x13d)]=_0x221292,this[_0x51a375(0x134)]=_0x3ffd50;}get[_0x450933(0x141)](){var _0x3d4c1b=_0x450933;return this[_0x3d4c1b(0x13d)];}[_0x450933(0x137)](){var _0x1dea8d=_0x450933;return this[_0x1dea8d(0x143)][_0x1dea8d(0x13e)]({'content':this[_0x1dea8d(0x146)][_0x1dea8d(0x13b)],'prompt':this[_0x1dea8d(0x13d)],'model':this[_0x1dea8d(0x134)]});}}
23
+ function _0x5ab4(){var _0x33f9dc=['115518rhXTGH','7ISjvuC','14541FLQAuj','_sendRatingRequest','1847048oooLNh','35WsMUEJ','_prompt','callCustomReview','_aiConnector','_documentData','3161169pDKmWx','upsertCustomAIReviewRating','574980AgCQMA','_model','164hDWTWt','content','348860GBGRyh','_createApiRequest','subTitle','82251blLiRf'];_0x5ab4=function(){return _0x33f9dc;};return _0x5ab4();}var _0x31e985=_0x42d2;(function(_0x2d5962,_0x292dcb){var _0x4e9840=_0x42d2,_0x2d81d1=_0x2d5962();while(!![]){try{var _0x55eb53=-parseInt(_0x4e9840(0x1f7))/0x1+-parseInt(_0x4e9840(0x1f4))/0x2+-parseInt(_0x4e9840(0x1fa))/0x3*(-parseInt(_0x4e9840(0x1f2))/0x4)+parseInt(_0x4e9840(0x1fd))/0x5*(parseInt(_0x4e9840(0x1f8))/0x6)+-parseInt(_0x4e9840(0x1f9))/0x7*(parseInt(_0x4e9840(0x1fc))/0x8)+parseInt(_0x4e9840(0x1ee))/0x9+parseInt(_0x4e9840(0x1f0))/0xa;if(_0x55eb53===_0x292dcb)break;else _0x2d81d1['push'](_0x2d81d1['shift']());}catch(_0x59877d){_0x2d81d1['push'](_0x2d81d1['shift']());}}}(_0x5ab4,0x3e2d3));function _0x42d2(_0x16a039,_0x25bc4f){var _0x5ab4bf=_0x5ab4();return _0x42d2=function(_0x42d2aa,_0x5245e8){_0x42d2aa=_0x42d2aa-0x1ec;var _0x3460b0=_0x5ab4bf[_0x42d2aa];return _0x3460b0;},_0x42d2(_0x16a039,_0x25bc4f);}import{AIReviewCheckRun as _0x455dfd}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x455dfd{[_0x31e985(0x1fe)];[_0x31e985(0x1f1)];constructor(_0x46bfa2,_0x194ba8,_0x45362d,_0x227903,_0x4b7568){var _0x38055f=_0x31e985;super(_0x45362d,_0x227903,_0x4b7568),this[_0x38055f(0x1fe)]=_0x46bfa2,this[_0x38055f(0x1f1)]=_0x194ba8;}get[_0x31e985(0x1f6)](){var _0x273a0d=_0x31e985;return this[_0x273a0d(0x1fe)];}[_0x31e985(0x1f5)](){var _0x46b845=_0x31e985;return this[_0x46b845(0x1ec)][_0x46b845(0x1ff)]({'content':this[_0x46b845(0x1ed)][_0x46b845(0x1f3)],'prompt':this[_0x46b845(0x1fe)],'model':this[_0x46b845(0x1f1)]});}[_0x31e985(0x1fb)](_0x1b21a7,_0x25a29d,_0x22600b){var _0x3149a2=_0x31e985;return this[_0x3149a2(0x1ec)][_0x3149a2(0x1ef)](_0x25a29d,_0x1b21a7,_0x22600b);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb03b32=_0x2939;(function(_0x4d5f93,_0x4cc052){const _0x1d9f84=_0x2939,_0x8e131f=_0x4d5f93();while(!![]){try{const _0x4899c0=-parseInt(_0x1d9f84(0x117))/0x1*(-parseInt(_0x1d9f84(0x116))/0x2)+-parseInt(_0x1d9f84(0x121))/0x3+parseInt(_0x1d9f84(0x118))/0x4+parseInt(_0x1d9f84(0x11a))/0x5*(-parseInt(_0x1d9f84(0x11b))/0x6)+parseInt(_0x1d9f84(0x113))/0x7+parseInt(_0x1d9f84(0x119))/0x8+-parseInt(_0x1d9f84(0x11e))/0x9;if(_0x4899c0===_0x4cc052)break;else _0x8e131f['push'](_0x8e131f['shift']());}catch(_0x8cc48){_0x8e131f['push'](_0x8e131f['shift']());}}}(_0x26f0,0x64663));function _0x2939(_0x23e982,_0x40c3a3){const _0x26f067=_0x26f0();return _0x2939=function(_0x29391e,_0x5f1293){_0x29391e=_0x29391e-0x113;let _0x1d5f5e=_0x26f067[_0x29391e];return _0x1d5f5e;},_0x2939(_0x23e982,_0x40c3a3);}function _0x26f0(){const _0x53649a=['2890608VHFmQP','getAll','getModels','2QegOiN','317071pEDfXS','2009620IOjZhH','3727920BWBnQM','15xbTDYT','1469406sPMLvE','list','length','558927ZwOlEE','items','_connector','1471107NVSVRG','_modelList'];_0x26f0=function(){return _0x53649a;};return _0x26f0();}import{EmitterMixin as _0x286b48}from'ckeditor5/src/utils.js';export class AIReviewModels extends _0x286b48(){[_0xb03b32(0x122)]=[];[_0xb03b32(0x120)];constructor({connector:_0x32757a}){const _0x3251d8=_0xb03b32;super(),this[_0x3251d8(0x120)]=_0x32757a;}async[_0xb03b32(0x114)](){const _0x4bdc8e=_0xb03b32;if(!this[_0x4bdc8e(0x122)][_0x4bdc8e(0x11d)])try{const _0x3a1bb3=this[_0x4bdc8e(0x120)][_0x4bdc8e(0x115)](),_0x4d559b=await _0x3a1bb3[_0x4bdc8e(0x11c)]();this[_0x4bdc8e(0x122)]=_0x4d559b[_0x4bdc8e(0x11f)];}catch{}return this[_0x4bdc8e(0x122)];}}
23
+ const _0x3afc2f=_0x56cb;function _0x56cb(_0x2b7cfd,_0x34dc76){const _0x2203fe=_0x2203();return _0x56cb=function(_0x56cb98,_0x383cec){_0x56cb98=_0x56cb98-0xec;let _0x30b056=_0x2203fe[_0x56cb98];return _0x30b056;},_0x56cb(_0x2b7cfd,_0x34dc76);}(function(_0x1aa47e,_0xa9325){const _0x57b653=_0x56cb,_0x3f0c91=_0x1aa47e();while(!![]){try{const _0x542848=-parseInt(_0x57b653(0xfb))/0x1*(parseInt(_0x57b653(0xf5))/0x2)+-parseInt(_0x57b653(0xf7))/0x3+parseInt(_0x57b653(0xfc))/0x4*(parseInt(_0x57b653(0xf2))/0x5)+-parseInt(_0x57b653(0xef))/0x6+parseInt(_0x57b653(0xf3))/0x7+-parseInt(_0x57b653(0xec))/0x8*(-parseInt(_0x57b653(0xee))/0x9)+parseInt(_0x57b653(0xf0))/0xa;if(_0x542848===_0xa9325)break;else _0x3f0c91['push'](_0x3f0c91['shift']());}catch(_0x18b42e){_0x3f0c91['push'](_0x3f0c91['shift']());}}}(_0x2203,0x5dee1));function _0x2203(){const _0x1206a9=['192tXBZee','getModels','252171IJzxSG','3592512ntvBJZ','6027140pREbtR','getAll','94305TjmoRb','2460402VCDbzG','list','6778zDVexK','_connector','1542723sAbfHo','items','length','_modelList','77bfTVCN','28igfjiU'];_0x2203=function(){return _0x1206a9;};return _0x2203();}import{EmitterMixin as _0x3d5c63}from'ckeditor5/src/utils.js';export class AIReviewModels extends _0x3d5c63(){[_0x3afc2f(0xfa)]=[];[_0x3afc2f(0xf6)];constructor({connector:_0x4801d9}){const _0x3e8504=_0x3afc2f;super(),this[_0x3e8504(0xf6)]=_0x4801d9;}async[_0x3afc2f(0xf1)](){const _0x29b162=_0x3afc2f;if(!this[_0x29b162(0xfa)][_0x29b162(0xf9)])try{const _0x2bb0e7=this[_0x29b162(0xf6)][_0x29b162(0xed)](),_0x3e4625=await _0x2bb0e7[_0x29b162(0xf4)]();this[_0x29b162(0xfa)]=_0x3e4625[_0x29b162(0xf8)];}catch{}return this[_0x29b162(0xfa)];}}
@@ -13,5 +13,9 @@ export declare class AIReviewSystemCheckRun extends AIReviewCheckRun {
13
13
  /**
14
14
  * @inheritDoc
15
15
  */
16
- get title(): string;
16
+ get subTitle(): string;
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ get reviewName(): string;
17
21
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x212118=_0x25cf;(function(_0x21cb25,_0x458fb7){const _0xd5b8cb=_0x25cf,_0x589934=_0x21cb25();while(!![]){try{const _0x6da6a2=parseInt(_0xd5b8cb(0x119))/0x1+-parseInt(_0xd5b8cb(0x12c))/0x2*(parseInt(_0xd5b8cb(0x117))/0x3)+-parseInt(_0xd5b8cb(0x113))/0x4*(parseInt(_0xd5b8cb(0x118))/0x5)+-parseInt(_0xd5b8cb(0x11f))/0x6*(-parseInt(_0xd5b8cb(0x126))/0x7)+-parseInt(_0xd5b8cb(0x12d))/0x8*(-parseInt(_0xd5b8cb(0x11b))/0x9)+parseInt(_0xd5b8cb(0x130))/0xa*(parseInt(_0xd5b8cb(0x131))/0xb)+parseInt(_0xd5b8cb(0x123))/0xc*(-parseInt(_0xd5b8cb(0x11d))/0xd);if(_0x6da6a2===_0x458fb7)break;else _0x589934['push'](_0x589934['shift']());}catch(_0x4a77f0){_0x589934['push'](_0x589934['shift']());}}}(_0x1dec,0xae152));function _0x1dec(){const _0x2726e4=['86696KQGvEM','_reviewArgs','title','45230ULWFuF','3443yDWrJu','95416RKdzKJ','label','data','length','30021vdCQkf','15fFRZkn','716728YJyHfE','_aiConnector','477nOspyB','_createApiRequest','15215252vcdWwt','_sourceCheck','7662WVzsQr','_documentData','content','_composeReviewName','24zsafoj','_reviewParams','push','2569KGsHxR','options','join','callSystemReview','find','useArgs','10orrwYp'];_0x1dec=function(){return _0x2726e4;};return _0x1dec();}function _0x25cf(_0x1eca96,_0x473e24){const _0x1decc6=_0x1dec();return _0x25cf=function(_0x25cfb6,_0x3214b5){_0x25cfb6=_0x25cfb6-0x113;let _0xdb8bff=_0x1decc6[_0x25cfb6];return _0xdb8bff;},_0x25cf(_0x1eca96,_0x473e24);}import{AIReviewCheckRun as _0x550404}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x550404{get[_0x212118(0x12f)](){const _0xf18ddf=_0x212118;if(!this[_0xf18ddf(0x124)]||0x0===this[_0xf18ddf(0x124)][_0xf18ddf(0x116)]||this[_0xf18ddf(0x11e)][_0xf18ddf(0x12b)])return this[_0xf18ddf(0x11e)][_0xf18ddf(0x12f)];const _0x5dab84=[];if(this[_0xf18ddf(0x124)][_0xf18ddf(0x116)]>0x0&&this[_0xf18ddf(0x11e)][_0xf18ddf(0x127)])for(let _0x29bd6d=0x0;_0x29bd6d<this[_0xf18ddf(0x124)][_0xf18ddf(0x116)];_0x29bd6d++){if(!this[_0xf18ddf(0x124)][_0x29bd6d]||!this[_0xf18ddf(0x11e)][_0xf18ddf(0x127)][_0x29bd6d])continue;const _0xb3cf77=this[_0xf18ddf(0x11e)][_0xf18ddf(0x127)][_0x29bd6d],_0x4cdf1d=_0xb3cf77[_0xf18ddf(0x115)]?.[_0xf18ddf(0x12a)](_0xc5e787=>_0xc5e787['id']===this[_0xf18ddf(0x124)][_0x29bd6d]);_0x4cdf1d&&_0x5dab84[_0xf18ddf(0x125)](_0x4cdf1d[_0xf18ddf(0x114)]);}return this[_0xf18ddf(0x11e)][_0xf18ddf(0x12f)]+':\x20'+_0x5dab84[_0xf18ddf(0x128)](',\x20');}[_0x212118(0x11c)](){const _0x3e629e=_0x212118;return this[_0x3e629e(0x11a)][_0x3e629e(0x129)]({'reviewName':this[_0x3e629e(0x122)](),'content':this[_0x3e629e(0x120)][_0x3e629e(0x121)],'args':this[_0x3e629e(0x12e)]});}[_0x212118(0x122)](){const _0x4f957b=_0x212118;return!this[_0x4f957b(0x124)]||0x0===this[_0x4f957b(0x124)][_0x4f957b(0x116)]||this[_0x4f957b(0x11e)][_0x4f957b(0x12b)]?this[_0x4f957b(0x11e)]['id']:[this[_0x4f957b(0x11e)]['id'],...this[_0x4f957b(0x124)]][_0x4f957b(0x128)]('-');}}
23
+ function _0x2451(_0x168b70,_0x95478f){const _0x550939=_0x5509();return _0x2451=function(_0x245180,_0x636d02){_0x245180=_0x245180-0x15c;let _0x5a1f9c=_0x550939[_0x245180];return _0x5a1f9c;},_0x2451(_0x168b70,_0x95478f);}function _0x5509(){const _0x46081d=['_reviewParams','content','37894032Tihozi','_documentData','_sourceCheck','length','15482RCQlUx','find','join','data','_reviewArgs','18936YSEnGu','8yKpQAT','6800052YcGGVn','subTitle','20ZDIRKR','3261204uYHzhv','useArgs','744291RchOHx','_createApiRequest','2157105iUjbYr','_sendRatingRequest','_aiConnector','reviewName','110tUVADH','options','callSystemReview','_composeReviewName','2891Trmehl','push','upsertAIReviewRating','label'];_0x5509=function(){return _0x46081d;};return _0x5509();}const _0x4df185=_0x2451;(function(_0x1db40b,_0x5408b8){const _0xe6ab04=_0x2451,_0xd448bc=_0x1db40b();while(!![]){try{const _0x57eccc=parseInt(_0xe6ab04(0x176))/0x1*(parseInt(_0xe6ab04(0x15f))/0x2)+parseInt(_0xe6ab04(0x160))/0x3+parseInt(_0xe6ab04(0x15c))/0x4*(-parseInt(_0xe6ab04(0x164))/0x5)+-parseInt(_0xe6ab04(0x15d))/0x6+parseInt(_0xe6ab04(0x16c))/0x7*(-parseInt(_0xe6ab04(0x17b))/0x8)+-parseInt(_0xe6ab04(0x162))/0x9*(parseInt(_0xe6ab04(0x168))/0xa)+parseInt(_0xe6ab04(0x172))/0xb;if(_0x57eccc===_0x5408b8)break;else _0xd448bc['push'](_0xd448bc['shift']());}catch(_0x73b722){_0xd448bc['push'](_0xd448bc['shift']());}}}(_0x5509,0xc421c));import{AIReviewCheckRun as _0x4e072a}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x4e072a{get[_0x4df185(0x15e)](){const _0x3019df=_0x4df185;if(!this[_0x3019df(0x170)]||0x0===this[_0x3019df(0x170)][_0x3019df(0x175)])return'';const _0x5bdd71=[];if(this[_0x3019df(0x170)][_0x3019df(0x175)]>0x0&&this[_0x3019df(0x174)][_0x3019df(0x169)])for(let _0x4ea905=0x0;_0x4ea905<this[_0x3019df(0x170)][_0x3019df(0x175)];_0x4ea905++){if(!this[_0x3019df(0x170)][_0x4ea905]||!this[_0x3019df(0x174)][_0x3019df(0x169)][_0x4ea905])continue;const _0x5a4e7c=this[_0x3019df(0x174)][_0x3019df(0x169)][_0x4ea905],_0x552ae3=_0x5a4e7c[_0x3019df(0x179)]?.[_0x3019df(0x177)](_0x5dcf3b=>_0x5dcf3b['id']===this[_0x3019df(0x170)][_0x4ea905]);_0x552ae3&&_0x5bdd71[_0x3019df(0x16d)](_0x552ae3[_0x3019df(0x16f)]);}return _0x5bdd71[_0x3019df(0x178)](',\x20');}get[_0x4df185(0x167)](){const _0x515e3b=_0x4df185;return this[_0x515e3b(0x16b)]();}[_0x4df185(0x163)](){const _0x6c5fa6=_0x4df185;return this[_0x6c5fa6(0x166)][_0x6c5fa6(0x16a)]({'reviewName':this[_0x6c5fa6(0x16b)](),'content':this[_0x6c5fa6(0x173)][_0x6c5fa6(0x171)],'args':this[_0x6c5fa6(0x17a)]});}[_0x4df185(0x165)](_0x40b94a,_0x365b4f,_0x29ceb6){const _0x23b3ff=_0x4df185;return this[_0x23b3ff(0x166)][_0x23b3ff(0x16e)](this[_0x23b3ff(0x167)],_0x365b4f,_0x40b94a,_0x29ceb6);}[_0x4df185(0x16b)](){const _0x5cb001=_0x4df185;return!this[_0x5cb001(0x170)]||0x0===this[_0x5cb001(0x170)][_0x5cb001(0x175)]||this[_0x5cb001(0x174)][_0x5cb001(0x161)]?this[_0x5cb001(0x174)]['id']:[this[_0x5cb001(0x174)]['id'],...this[_0x5cb001(0x170)]][_0x5cb001(0x178)]('-');}}
@@ -6,8 +6,14 @@
6
6
  * @module ai/aireviewmode/ui/customcontrols/aireviemodepromptinputview
7
7
  */
8
8
  import { TextareaView } from 'ckeditor5/src/ui.js';
9
- import { type Locale } from 'ckeditor5/src/utils.js';
9
+ import { KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
10
10
  export declare class AIReviewModePromptInputView extends TextareaView {
11
+ /**
12
+ * An instance of the keystroke handler managing user interaction and accessibility.
13
+ *
14
+ * @readonly
15
+ */
16
+ keystrokes: KeystrokeHandler;
11
17
  /**
12
18
  * Flag indicating if the input is empty.
13
19
  * @observable
@@ -18,10 +24,6 @@ export declare class AIReviewModePromptInputView extends TextareaView {
18
24
  * @inheritDoc
19
25
  */
20
26
  render(): void;
21
- /**
22
- * Sets the placeholder text for the input.
23
- */
24
- setPlaceholderText(placeholder: string): void;
25
27
  }
26
28
  export type AIChatSendUserMessageEvent = {
27
29
  name: 'sendUserMessage';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3e7c(){var _0x3c857c=['bindTemplate','MAX_ROWS','isEmpty','extendTemplate','render','735777cGJQBr','value','minRows','trim','8auYSYC','set','update','stopPropagation','ck-review-mode__prompt-input','198248HLfSwL','maxRows','placeholder','975282ilduVF','ai-review-mode-prompt-input','MIN_ROWS','1383088aRMWNP','5756035zkIKul','14436023jgcKiI','setPlaceholderText','4924260FzIHJD','element'];_0x3e7c=function(){return _0x3c857c;};return _0x3e7c();}var _0xb8c482=_0x1e68;(function(_0x45ad4b,_0x1bdd9e){var _0x30b8dd=_0x1e68,_0x2ac573=_0x45ad4b();while(!![]){try{var _0x1377d4=parseInt(_0x30b8dd(0x119))/0x1+parseInt(_0x30b8dd(0x105))/0x2+parseInt(_0x30b8dd(0x110))/0x3+-parseInt(_0x30b8dd(0x109))/0x4+-parseInt(_0x30b8dd(0x106))/0x5+-parseInt(_0x30b8dd(0x11c))/0x6+parseInt(_0x30b8dd(0x107))/0x7*(parseInt(_0x30b8dd(0x114))/0x8);if(_0x1377d4===_0x1bdd9e)break;else _0x2ac573['push'](_0x2ac573['shift']());}catch(_0x4bf7f9){_0x2ac573['push'](_0x2ac573['shift']());}}}(_0x3e7c,0x9f4e9));import{TextareaView as _0x60196b}from'ckeditor5/src/ui.js';function _0x1e68(_0x5b7715,_0x502afc){var _0x3e7cad=_0x3e7c();return _0x1e68=function(_0x1e68db,_0x5ab07a){_0x1e68db=_0x1e68db-0x105;var _0x165a82=_0x3e7cad[_0x1e68db];return _0x165a82;},_0x1e68(_0x5b7715,_0x502afc);}export class AIReviewModePromptInputView extends _0x60196b{static [_0xb8c482(0x11e)]=0x1;static [_0xb8c482(0x10c)]=0xc;constructor(_0xb2aa00){var _0x4a8fa3=_0xb8c482;super(_0xb2aa00),this[_0x4a8fa3(0x115)](_0x4a8fa3(0x10d),!0x0),this[_0x4a8fa3(0x112)]=AIReviewModePromptInputView[_0x4a8fa3(0x11e)],this[_0x4a8fa3(0x11a)]=AIReviewModePromptInputView[_0x4a8fa3(0x10c)],this[_0x4a8fa3(0x10e)]({'attributes':{'id':_0x4a8fa3(0x11d),'class':['ck',_0x4a8fa3(0x118)]}}),this[_0x4a8fa3(0x10e)]({'on':{'click':this[_0x4a8fa3(0x10b)]['to'](_0x33ae57=>{var _0x52b4c3=_0x4a8fa3;_0x33ae57[_0x52b4c3(0x117)]();})}});}[_0xb8c482(0x10f)](){var _0x4a0fda=_0xb8c482;super[_0x4a0fda(0x10f)](),this['on'](_0x4a0fda(0x116),()=>{var _0x440b12=_0x4a0fda;this[_0x440b12(0x10d)]=''===this[_0x440b12(0x10a)][_0x440b12(0x111)]?.[_0x440b12(0x113)]();});}[_0xb8c482(0x108)](_0x2f0d37){var _0x5559d7=_0xb8c482;this[_0x5559d7(0x115)](_0x5559d7(0x11b),_0x2f0d37);}}
23
+ var _0x2cf48c=_0x595a;function _0x595a(_0x263e0e,_0x5c58d7){var _0x344755=_0x3447();return _0x595a=function(_0x595a82,_0x5de215){_0x595a82=_0x595a82-0x7d;var _0x3b9f70=_0x344755[_0x595a82];return _0x3b9f70;},_0x595a(_0x263e0e,_0x5c58d7);}(function(_0x40e102,_0x490b7c){var _0x24fb79=_0x595a,_0x1a0fcb=_0x40e102();while(!![]){try{var _0x5a2615=-parseInt(_0x24fb79(0x8a))/0x1*(-parseInt(_0x24fb79(0x90))/0x2)+parseInt(_0x24fb79(0x7e))/0x3+-parseInt(_0x24fb79(0x84))/0x4+-parseInt(_0x24fb79(0x81))/0x5+parseInt(_0x24fb79(0x8f))/0x6+parseInt(_0x24fb79(0x7d))/0x7*(-parseInt(_0x24fb79(0x83))/0x8)+-parseInt(_0x24fb79(0x8d))/0x9;if(_0x5a2615===_0x490b7c)break;else _0x1a0fcb['push'](_0x1a0fcb['shift']());}catch(_0x3b62a7){_0x1a0fcb['push'](_0x1a0fcb['shift']());}}}(_0x3447,0xb947b));import{TextareaView as _0x64822a}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0xf3c86d}from'ckeditor5/src/utils.js';function _0x3447(){var _0x432f93=['1707760AFfyBm','render','2008DrYsLM','5692808bBkCPI','minRows','extendTemplate','update','value','listenTo','395SweHhQ','ai-review-mode-prompt-input','MIN_ROWS','3308724qfkzmU','keystrokes','4688472dObncT','4946vmGFAB','maxRows','MAX_ROWS','trim','isEmpty','element','5411NuwPOD','3981219yidAAW','set','ck-review-mode__prompt-input'];_0x3447=function(){return _0x432f93;};return _0x3447();}export class AIReviewModePromptInputView extends _0x64822a{[_0x2cf48c(0x8e)];static [_0x2cf48c(0x8c)]=0x1;static [_0x2cf48c(0x92)]=0xc;constructor(_0x22c63d){var _0x39b5ac=_0x2cf48c;super(_0x22c63d),this[_0x39b5ac(0x7f)](_0x39b5ac(0x94),!0x0),this[_0x39b5ac(0x8e)]=new _0xf3c86d(),this[_0x39b5ac(0x85)]=AIReviewModePromptInputView[_0x39b5ac(0x8c)],this[_0x39b5ac(0x91)]=AIReviewModePromptInputView[_0x39b5ac(0x92)],this[_0x39b5ac(0x86)]({'attributes':{'id':_0x39b5ac(0x8b),'class':['ck',_0x39b5ac(0x80)]}});}[_0x2cf48c(0x82)](){var _0x12d5b4=_0x2cf48c;super[_0x12d5b4(0x82)](),this['on'](_0x12d5b4(0x87),()=>{var _0x2c73ff=_0x12d5b4;this[_0x2c73ff(0x94)]=''===this[_0x2c73ff(0x95)][_0x2c73ff(0x88)]?.[_0x2c73ff(0x93)]();}),this[_0x12d5b4(0x8e)][_0x12d5b4(0x89)](this[_0x12d5b4(0x95)]);}}
@@ -19,9 +19,12 @@ export declare class AIReviewModeBalloonSuggestionItemView extends BalloonPanelV
19
19
  */
20
20
  resultItemView: AIReviewModeReviewCheckListItemResultsView;
21
21
  constructor(locale: Locale, bodyCollection: BodyCollection);
22
+ render(): void;
22
23
  updateContent(change: AIReviewCheckResultChange): void;
23
24
  showBalloon(change: AIReviewCheckResultChange, target: HTMLElement): void;
24
25
  hideBalloon(): void;
26
+ hideDiffInBalloon(): void;
27
+ showDiffInBalloon(): void;
25
28
  deactivateChange(): void;
26
29
  }
27
30
  export type AIReviewModeUIDeactivateChangeEvent = {
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1790(_0x2771a2,_0x3d8513){const _0x1e8454=_0x1e84();return _0x1790=function(_0x179062,_0x79312c){_0x179062=_0x179062-0xc2;let _0x5a4422=_0x1e8454[_0x179062];return _0x5a4422;},_0x1790(_0x2771a2,_0x3d8513);}const _0x40d087=_0x1790;(function(_0x3e8cb1,_0x2a765b){const _0x4f3057=_0x1790,_0x5e0280=_0x3e8cb1();while(!![]){try{const _0x372b4c=parseInt(_0x4f3057(0xce))/0x1*(-parseInt(_0x4f3057(0xe1))/0x2)+parseInt(_0x4f3057(0xea))/0x3*(parseInt(_0x4f3057(0xd4))/0x4)+parseInt(_0x4f3057(0xc5))/0x5+parseInt(_0x4f3057(0xc6))/0x6*(parseInt(_0x4f3057(0xd5))/0x7)+parseInt(_0x4f3057(0xcd))/0x8+parseInt(_0x4f3057(0xda))/0x9*(-parseInt(_0x4f3057(0xd8))/0xa)+-parseInt(_0x4f3057(0xc7))/0xb*(parseInt(_0x4f3057(0xd0))/0xc);if(_0x372b4c===_0x2a765b)break;else _0x5e0280['push'](_0x5e0280['shift']());}catch(_0x5af7c6){_0x5e0280['push'](_0x5e0280['shift']());}}}(_0x1e84,0x94490));import{BalloonPanelView as _0x10c928,View as _0x5d56a6,clickOutsideHandler as _0x29fdeb}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x472f38}from'./aireviewmodechecklistitemresultview.js';function _0x1e84(){const _0x341b56=['isVisible','_createContentView','setTemplate','showBalloon','hide','contentDiffed','6274wtYILi','deactivateChange','set','unpin','changeId','dismissChange','delegate','resultResponseView','extendTemplate','6981GNMEFd','show','pin','ck-ai-review-mode__suggestion-text','element','innerHTML','4286130nCiSzS','5751366mWKqJj','197450QPLedJ','updateContent','resultItemView','div','ck-content','acceptChange','6031424ckOcAO','67HtOcTe','ck-ai-review-mode-balloon-panel-suggestion','1644VWQYjr','fire','hideBalloon','ck-reset','1676JLbrby','7WwvXOn','content','locale','127630CgwNmK','add','189sBztWp'];_0x1e84=function(){return _0x341b56;};return _0x1e84();}import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x10c928{[_0x40d087(0xc9)];constructor(_0x2f150e,_0x4b250f){const _0x186aaf=_0x40d087;super(_0x2f150e),this[_0x186aaf(0xe3)]({'isVisible':!0x1,'position':'se','class':null,'top':0x0,'left':0x0}),this[_0x186aaf(0xe9)]({'tag':_0x186aaf(0xca),'attributes':{'class':[_0x186aaf(0xd3)],'tabindex':'-1'}}),this[_0x186aaf(0xd6)][_0x186aaf(0xd9)](this[_0x186aaf(0xdc)]()),_0x4b250f[_0x186aaf(0xd9)](this),_0x29fdeb({'emitter':this,'activator':()=>this[_0x186aaf(0xdb)],'contextElements':[this[_0x186aaf(0xc3)]],'callback':()=>{const _0x35e7a2=_0x186aaf;this[_0x35e7a2(0xd2)](),this[_0x35e7a2(0xe2)]();}});}[_0x40d087(0xc8)](_0x3b5905){const _0x231b7d=_0x40d087;this[_0x231b7d(0xc9)][_0x231b7d(0xe5)]=_0x3b5905['id'],this[_0x231b7d(0xc9)][_0x231b7d(0xe8)][_0x231b7d(0xc3)][_0x231b7d(0xc4)]=_0x3b5905[_0x231b7d(0xe0)];}[_0x40d087(0xde)](_0x2f4868,_0x26c4ac){const _0x8ec35e=_0x40d087;this[_0x8ec35e(0xc8)](_0x2f4868),this[_0x8ec35e(0xeb)](),this[_0x8ec35e(0xec)]({'target':_0x26c4ac});}[_0x40d087(0xd2)](){const _0xe59861=_0x40d087;this[_0xe59861(0xdf)](),this[_0xe59861(0xe4)]();}[_0x40d087(0xe2)](){const _0xafa463=_0x40d087;this[_0xafa463(0xd1)](_0xafa463(0xe2));}[_0x40d087(0xdc)](){const _0x2f1643=_0x40d087,_0x3f03e9=new _0x5d56a6();return this[_0x2f1643(0xc9)]=new _0x472f38(this[_0x2f1643(0xd7)],''),this[_0x2f1643(0xc9)][_0x2f1643(0xe8)][_0x2f1643(0xe9)]({'attributes':{'class':[_0x2f1643(0xcb)]}}),this[_0x2f1643(0xc9)][_0x2f1643(0xe7)](_0x2f1643(0xcc),_0x2f1643(0xe6))['to'](this),_0x3f03e9[_0x2f1643(0xdd)]({'tag':_0x2f1643(0xca),'attributes':{'class':[_0x2f1643(0xd3),_0x2f1643(0xcf)]},'children':[{'tag':'p','attributes':{'class':[_0x2f1643(0xc2)]},'children':[this[_0x2f1643(0xc9)]]}]}),_0x3f03e9;}}
23
+ const _0x3832b6=_0x5e33;function _0x1304(){const _0x36e6de=['88138hIYAbO','644332HQLADz','ck-reset','_setupClickOutsideHandler','width','32ETYaQU','delegate','element','11277915iQHxxz','acceptChange','showDiff','2544sUmgUM','content','deactivateChange','from','_createContentView','pin','showDiffInBalloon','set','locale','add','dismissChange','864AsSqVA','isVisible','hideBalloon','div','extendTemplate','arrow_se','changeId','8170FziciG','hideDiffInBalloon','_getBestRectPosition','resultItemView','ck-ai-review-mode-balloon-panel-suggestion','fire','innerHTML','show','1678767gXmgQt','render','updateContent','ck-content','getClientRects','unpin','5zoITBe','contentDiffed','find','ck-ai-review-mode__suggestion-text','hide','112830IsScUe','showBalloon','2529877JOjKAQ','resultResponseView','setTemplate'];_0x1304=function(){return _0x36e6de;};return _0x1304();}(function(_0xef5ba3,_0xd6df7){const _0x3bfef7=_0x5e33,_0x2e9edc=_0xef5ba3();while(!![]){try{const _0x12ea3d=-parseInt(_0x3bfef7(0x86))/0x1*(parseInt(_0x3bfef7(0x90))/0x2)+parseInt(_0x3bfef7(0x80))/0x3+-parseInt(_0x3bfef7(0x91))/0x4+-parseInt(_0x3bfef7(0xad))/0x5*(parseInt(_0x3bfef7(0x9b))/0x6)+parseInt(_0x3bfef7(0x8d))/0x7*(parseInt(_0x3bfef7(0x95))/0x8)+-parseInt(_0x3bfef7(0xa6))/0x9*(parseInt(_0x3bfef7(0x8b))/0xa)+parseInt(_0x3bfef7(0x98))/0xb;if(_0x12ea3d===_0xd6df7)break;else _0x2e9edc['push'](_0x2e9edc['shift']());}catch(_0x40dff8){_0x2e9edc['push'](_0x2e9edc['shift']());}}}(_0x1304,0xd527e));function _0x5e33(_0x18346c,_0x1cce84){const _0x130403=_0x1304();return _0x5e33=function(_0x5e33d0,_0x1daa86){_0x5e33d0=_0x5e33d0-0x7d;let _0xc20b1b=_0x130403[_0x5e33d0];return _0xc20b1b;},_0x5e33(_0x18346c,_0x1cce84);}import{BalloonPanelView as _0x21edc6,View as _0x30bf69,clickOutsideHandler as _0x2c6bd6}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCheckListItemResultsView as _0x1c5539}from'./aireviewmodechecklistitemresultview.js';import'../../../theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeBalloonSuggestionItemView extends _0x21edc6{[_0x3832b6(0xb0)];constructor(_0x1cd6cc,_0x4b825c){const _0x40a193=_0x3832b6;super(_0x1cd6cc),this[_0x40a193(0xa2)]({'isVisible':!0x1,'position':_0x40a193(0xab),'class':null,'top':0x0,'left':0x0}),this[_0x40a193(0xaa)]({'tag':_0x40a193(0xa9),'attributes':{'class':[_0x40a193(0x92)],'tabindex':'-1'}}),this[_0x40a193(0x9c)][_0x40a193(0xa4)](this[_0x40a193(0x9f)]()),_0x4b825c[_0x40a193(0xa4)](this);}[_0x3832b6(0x81)](){const _0x494c33=_0x3832b6;super[_0x494c33(0x81)](),this[_0x494c33(0x93)]();}[_0x3832b6(0x82)](_0x29fa99){const _0x17c852=_0x3832b6;this[_0x17c852(0xb0)][_0x17c852(0xac)]=_0x29fa99['id'],this[_0x17c852(0xb0)][_0x17c852(0x8e)][_0x17c852(0x97)][_0x17c852(0x7e)]=_0x29fa99[_0x17c852(0x87)];}[_0x3832b6(0x8c)](_0x11481f,_0xf6184f){const _0x3cd8b3=_0x3832b6;this[_0x3cd8b3(0x82)](_0x11481f),this[_0x3cd8b3(0x7f)](),this[_0x3cd8b3(0xa0)]({'target':()=>this[_0x3cd8b3(0xaf)](_0xf6184f)});}[_0x3832b6(0xa8)](){const _0x7dd8dc=_0x3832b6;this[_0x7dd8dc(0x8a)](),this[_0x7dd8dc(0x85)]();}[_0x3832b6(0xae)](){const _0x1b51cd=_0x3832b6;this[_0x1b51cd(0xb0)][_0x1b51cd(0x9a)]=!0x1;}[_0x3832b6(0xa1)](){const _0x457249=_0x3832b6;this[_0x457249(0xb0)][_0x457249(0x9a)]=!0x0;}[_0x3832b6(0x9d)](){const _0x508775=_0x3832b6;this[_0x508775(0x7d)](_0x508775(0x9d));}[_0x3832b6(0x93)](){const _0x6ef77e=_0x3832b6;_0x2c6bd6({'emitter':this,'activator':()=>this[_0x6ef77e(0xa7)],'contextElements':[this[_0x6ef77e(0x97)]],'callback':()=>{const _0x56b664=_0x6ef77e;this[_0x56b664(0xa8)](),this[_0x56b664(0x9d)]();}});}[_0x3832b6(0x9f)](){const _0x4c5600=_0x3832b6,_0x535c3e=new _0x30bf69();return this[_0x4c5600(0xb0)]=new _0x1c5539(this[_0x4c5600(0xa3)],''),this[_0x4c5600(0xb0)][_0x4c5600(0x8e)][_0x4c5600(0xaa)]({'attributes':{'class':[_0x4c5600(0x83)]}}),this[_0x4c5600(0xb0)][_0x4c5600(0x96)](_0x4c5600(0x99),_0x4c5600(0xa5))['to'](this),_0x535c3e[_0x4c5600(0x8f)]({'tag':_0x4c5600(0xa9),'attributes':{'class':[_0x4c5600(0x92),_0x4c5600(0xb1)]},'children':[{'tag':'p','attributes':{'class':[_0x4c5600(0x89)]},'children':[this[_0x4c5600(0xb0)]]}]}),_0x535c3e;}[_0x3832b6(0xaf)](_0x3facc){const _0x57429a=_0x3832b6,_0x28ac0b=Array[_0x57429a(0x9e)](_0x3facc[_0x57429a(0x84)]());return _0x28ac0b[_0x57429a(0x88)](_0x18fa4a=>_0x18fa4a[_0x57429a(0x94)]>0x0)||_0x28ac0b[0x0];}}
@@ -24,6 +24,10 @@ export declare class AIReviewModeReviewCheckListItemResultsView extends View {
24
24
  * @observable
25
25
  */
26
26
  isActive: boolean;
27
+ /**
28
+ * @observable
29
+ */
30
+ showDiff: boolean;
27
31
  readonly id: string;
28
32
  constructor(locale: Locale, id: string);
29
33
  setItemAsActive(): void;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cd9ff=_0x29e1;(function(_0x364800,_0x2658ea){const _0xe767f2=_0x29e1,_0x4466a8=_0x364800();while(!![]){try{const _0x5ec2c1=parseInt(_0xe767f2(0x185))/0x1*(-parseInt(_0xe767f2(0x178))/0x2)+-parseInt(_0xe767f2(0x19e))/0x3*(-parseInt(_0xe767f2(0x188))/0x4)+-parseInt(_0xe767f2(0x1a1))/0x5*(parseInt(_0xe767f2(0x1a5))/0x6)+parseInt(_0xe767f2(0x19a))/0x7+parseInt(_0xe767f2(0x18d))/0x8*(-parseInt(_0xe767f2(0x198))/0x9)+-parseInt(_0xe767f2(0x179))/0xa*(-parseInt(_0xe767f2(0x180))/0xb)+parseInt(_0xe767f2(0x1aa))/0xc*(parseInt(_0xe767f2(0x1a7))/0xd);if(_0x5ec2c1===_0x2658ea)break;else _0x4466a8['push'](_0x4466a8['shift']());}catch(_0x182ca9){_0x4466a8['push'](_0x4466a8['shift']());}}}(_0x2fd8,0x2c214));import{View as _0x14ddf7,ButtonView as _0x579d81}from'ckeditor5/src/ui.js';function _0x2fd8(){const _0x113002=['17966TZtzCC','ck-ai-review-mode__check-run-result-action-buttons','AI_REVIEW_MODE_DISMISS_CHANGE','2748whALPv','ck-ai-review-mode__check-run-result-response','_createResultResponseView','_createDismissButtonView','setItemAsInactive','menuitemcheckbox','ck-content','2HeBjkV','30PcYwhz','fire','_createAcceptButtonView','ck-ai-review-mode__check-run-result','isOn','_createInfoButtonView','activateChange','117161mchoSx','setTemplate','isActive','ck-content-direct-excluded','extendTemplate','172741aRCtzr','bind','ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button','621596pzoLhe','execute','changeId','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button','set','82104TEAxZD','log','dismissChange','ck-ai-review-mode__check-run-result-footer','bindTemplate','resultResponseView','ck-ai-review-mode__check-run-result_active','setItemAsActive','acceptButtonView','isInfoToggleOn','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','171LjnKuc','div','870576XiMhDS','acceptChange','Toggle\x20info\x20view','infoButtonView','3kERNrY','AI_REVIEW_MODE_LEARN_MORE','dismissButtonView','1080iozOaW','stopPropagation','AI_REVIEW_MODE_ACCEPT_CHANGE','locale','2214qNurnJ','click'];_0x2fd8=function(){return _0x113002;};return _0x2fd8();}import{IconInfo as _0x502f46}from'ckeditor5/src/icons.js';function _0x29e1(_0x542dd7,_0x4c06eb){const _0x2fd89f=_0x2fd8();return _0x29e1=function(_0x29e150,_0xf838f2){_0x29e150=_0x29e150-0x175;let _0x1257ee=_0x2fd89f[_0x29e150];return _0x1257ee;},_0x29e1(_0x542dd7,_0x4c06eb);}import{getTranslation as _0x4cce31}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x14ddf7{[_0x2cd9ff(0x192)];[_0x2cd9ff(0x195)];[_0x2cd9ff(0x1a0)];[_0x2cd9ff(0x19d)];constructor(_0x3b7c35,_0xa8c420){const _0x202c42=_0x2cd9ff;super(_0x3b7c35),this['id']=_0xa8c420,this[_0x202c42(0x18c)](_0x202c42(0x18a),_0xa8c420),this[_0x202c42(0x192)]=this[_0x202c42(0x1ac)](),this[_0x202c42(0x195)]=this[_0x202c42(0x17b)](),this[_0x202c42(0x1a0)]=this[_0x202c42(0x1ad)](),this[_0x202c42(0x19d)]=this[_0x202c42(0x17e)](),this[_0x202c42(0x18c)](_0x202c42(0x196),!0x1),this[_0x202c42(0x18c)](_0x202c42(0x182),!0x1),this[_0x202c42(0x181)]({'tag':_0x202c42(0x199),'attributes':{'class':[_0x202c42(0x17c),this[_0x202c42(0x191)]['if'](_0x202c42(0x182),_0x202c42(0x193))]},'on':{'click':this[_0x202c42(0x191)]['to'](_0x202c42(0x1a6))},'children':[this[_0x202c42(0x192)],{'tag':_0x202c42(0x199),'attributes':{'class':[_0x202c42(0x190)]},'children':[{'tag':_0x202c42(0x199),'attributes':{'class':[_0x202c42(0x1a8)]},'children':[this[_0x202c42(0x195)],this[_0x202c42(0x1a0)]]},this[_0x202c42(0x19d)]]}]}),this['on'](_0x202c42(0x1a6),()=>{const _0x23425a=_0x202c42;this[_0x23425a(0x17a)](_0x23425a(0x17f),{'id':_0xa8c420,'source':this});});}[_0x2cd9ff(0x194)](){const _0x422451=_0x2cd9ff;this[_0x422451(0x182)]=!0x0;}[_0x2cd9ff(0x175)](){const _0x5a18fb=_0x2cd9ff;this[_0x5a18fb(0x182)]=!0x1;}[_0x2cd9ff(0x1ac)](){const _0x509343=_0x2cd9ff,_0x442ff8=new _0x14ddf7(this[_0x509343(0x1a4)]);return _0x442ff8[_0x509343(0x181)]({'tag':_0x509343(0x199),'attributes':{'class':['ck',_0x509343(0x177),_0x509343(0x183),_0x509343(0x1ab)]}}),_0x442ff8;}[_0x2cd9ff(0x17b)](){const _0x354133=_0x2cd9ff,_0x12baed=new _0x579d81(this[_0x354133(0x1a4)]);return _0x12baed[_0x354133(0x18c)]({'label':_0x4cce31(this[_0x354133(0x1a4)],_0x354133(0x1a3)),'withText':!0x0,'class':_0x354133(0x187)}),_0x12baed[_0x354133(0x184)]({'on':{'click':this[_0x354133(0x191)]['to'](_0x552fcb=>{const _0x187fb7=_0x354133;this[_0x187fb7(0x17a)](_0x187fb7(0x19b),{'id':this[_0x187fb7(0x18a)]}),_0x552fcb[_0x187fb7(0x1a2)]();})}}),_0x12baed;}[_0x2cd9ff(0x1ad)](){const _0x1d9668=_0x2cd9ff,_0x506dc5=new _0x579d81(this[_0x1d9668(0x1a4)]);return _0x506dc5[_0x1d9668(0x18c)]({'label':_0x4cce31(this[_0x1d9668(0x1a4)],_0x1d9668(0x1a9)),'withText':!0x0,'class':_0x1d9668(0x18b)}),_0x506dc5[_0x1d9668(0x184)]({'on':{'click':this[_0x1d9668(0x191)]['to'](_0x1d7640=>{const _0x260860=_0x1d9668;this[_0x260860(0x17a)](_0x260860(0x18f),{'id':this[_0x260860(0x18a)]}),_0x1d7640[_0x260860(0x1a2)]();})}}),_0x506dc5;}[_0x2cd9ff(0x17e)](){const _0x47a4f1=_0x2cd9ff,_0x4ae09e=new _0x579d81(this[_0x47a4f1(0x1a4)]);return _0x4ae09e[_0x47a4f1(0x18c)]({'label':_0x4cce31(this[_0x47a4f1(0x1a4)],_0x47a4f1(0x19f)),'icon':_0x502f46,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x47a4f1(0x176),'class':_0x47a4f1(0x197)}),_0x4ae09e[_0x47a4f1(0x186)](_0x47a4f1(0x17d))['to'](this,_0x47a4f1(0x196),_0xd8d321=>_0xd8d321),_0x4ae09e['on'](_0x47a4f1(0x189),()=>{const _0xabfb1b=_0x47a4f1;console[_0xabfb1b(0x18e)](_0xabfb1b(0x19c)),this[_0xabfb1b(0x196)]=!this[_0xabfb1b(0x196)];}),_0x4ae09e;}}
23
+ const _0x222b8e=_0x5804;function _0x1710(){const _0x3e4398=['9760788iKrWEL','acceptChange','fire','showDiff','4146984wLdpOD','_createAcceptButtonView','_createResultResponseView','_createInfoButtonView','ck-ai-review-mode__check-run-result','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button','546236ZTPsQJ','ck-ai-review-mode__check-run-result-action-buttons','resultResponseView','dismissButtonView','58650HNfBOX','setItemAsInactive','bindTemplate','_createDismissButtonView','ck-content','set','bind','isOn','3621610miZbwG','AI_REVIEW_MODE_LEARN_MORE','21GbbIfu','ck-ai-review-mode__check-run-result_active','AI_REVIEW_MODE_DISMISS_CHANGE','menuitemcheckbox','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','click','extendTemplate','setTemplate','infoButtonView','acceptButtonView','div','ck-ai-review-mode__check-run-result-response','setItemAsActive','isActive','AI_REVIEW_MODE_ACCEPT_CHANGE','ck-content-direct-excluded','isInfoToggleOn','ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button','3Yuhcrk','execute','activateChange','stopPropagation','ck-hidden','changeId','ck-ai-review-mode__check-run-result-footer','locale','2574545ElDsnn','26379SpfxMb','dismissChange','369FmNvhX'];_0x1710=function(){return _0x3e4398;};return _0x1710();}function _0x5804(_0x482e3f,_0x4d37c2){const _0x171081=_0x1710();return _0x5804=function(_0x58044c,_0x96affb){_0x58044c=_0x58044c-0x184;let _0x1bf383=_0x171081[_0x58044c];return _0x1bf383;},_0x5804(_0x482e3f,_0x4d37c2);}(function(_0x3901dc,_0x2a314f){const _0x3f29fa=_0x5804,_0x2404c4=_0x3901dc();while(!![]){try{const _0x44cf9f=-parseInt(_0x3f29fa(0x195))/0x1+parseInt(_0x3f29fa(0x1ae))/0x2+-parseInt(_0x3f29fa(0x18c))/0x3*(parseInt(_0x3f29fa(0x1a2))/0x4)+-parseInt(_0x3f29fa(0x194))/0x5+parseInt(_0x3f29fa(0x198))/0x6+-parseInt(_0x3f29fa(0x1b0))/0x7*(parseInt(_0x3f29fa(0x19c))/0x8)+parseInt(_0x3f29fa(0x197))/0x9*(-parseInt(_0x3f29fa(0x1a6))/0xa);if(_0x44cf9f===_0x2a314f)break;else _0x2404c4['push'](_0x2404c4['shift']());}catch(_0x3d4d77){_0x2404c4['push'](_0x2404c4['shift']());}}}(_0x1710,0xeb64c));import{View as _0x3ab8c3,ButtonView as _0x3e882d}from'ckeditor5/src/ui.js';import{IconInfo as _0x3099c2}from'ckeditor5/src/icons.js';import{getTranslation as _0x53f9df}from'../../aicore/utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x3ab8c3{[_0x222b8e(0x1a4)];[_0x222b8e(0x1b9)];[_0x222b8e(0x1a5)];[_0x222b8e(0x1b8)];constructor(_0x3cbb64,_0x499298){const _0xf0a627=_0x222b8e;super(_0x3cbb64),this['id']=_0x499298,this[_0xf0a627(0x1ab)](_0xf0a627(0x191),_0x499298),this[_0xf0a627(0x1a4)]=this[_0xf0a627(0x19e)](),this[_0xf0a627(0x1b9)]=this[_0xf0a627(0x19d)](),this[_0xf0a627(0x1a5)]=this[_0xf0a627(0x1a9)](),this[_0xf0a627(0x1b8)]=this[_0xf0a627(0x19f)](),this[_0xf0a627(0x1ab)](_0xf0a627(0x18a),!0x1),this[_0xf0a627(0x1ab)](_0xf0a627(0x187),!0x1),this[_0xf0a627(0x1ab)](_0xf0a627(0x19b),!0x0),this[_0xf0a627(0x1b7)]({'tag':_0xf0a627(0x184),'attributes':{'class':[_0xf0a627(0x1a0),this[_0xf0a627(0x1a8)]['if'](_0xf0a627(0x187),_0xf0a627(0x1b1))]},'on':{'click':this[_0xf0a627(0x1a8)]['to'](_0xf0a627(0x1b5))},'children':[this[_0xf0a627(0x1a4)],{'tag':_0xf0a627(0x184),'attributes':{'class':[_0xf0a627(0x192)]},'children':[{'tag':_0xf0a627(0x184),'attributes':{'class':[_0xf0a627(0x1a3)]},'children':[this[_0xf0a627(0x1b9)],this[_0xf0a627(0x1a5)]]},this[_0xf0a627(0x1b8)]]}]}),this['on'](_0xf0a627(0x1b5),()=>{const _0x1e8677=_0xf0a627;this[_0x1e8677(0x19a)](_0x1e8677(0x18e),{'id':_0x499298,'source':this});});}[_0x222b8e(0x186)](){const _0x4b65b1=_0x222b8e;this[_0x4b65b1(0x187)]=!0x0;}[_0x222b8e(0x1a7)](){const _0x36f518=_0x222b8e;this[_0x36f518(0x187)]=!0x1;}[_0x222b8e(0x19e)](){const _0x4aa6cf=_0x222b8e,_0x55aed3=new _0x3ab8c3(this[_0x4aa6cf(0x193)]);return _0x55aed3[_0x4aa6cf(0x1b7)]({'tag':_0x4aa6cf(0x184),'attributes':{'class':['ck',_0x4aa6cf(0x1aa),_0x4aa6cf(0x189),_0x4aa6cf(0x185),this[_0x4aa6cf(0x1a8)]['if'](_0x4aa6cf(0x19b),_0x4aa6cf(0x190),_0x1c905d=>!_0x1c905d)]}}),_0x55aed3;}[_0x222b8e(0x19d)](){const _0x19145f=_0x222b8e,_0x317ef2=new _0x3e882d(this[_0x19145f(0x193)]);return _0x317ef2[_0x19145f(0x1ab)]({'label':_0x53f9df(this[_0x19145f(0x193)],_0x19145f(0x188)),'withText':!0x0,'class':_0x19145f(0x18b)}),_0x317ef2[_0x19145f(0x1b6)]({'on':{'click':this[_0x19145f(0x1a8)]['to'](_0xe8ff68=>{const _0x3710d7=_0x19145f;this[_0x3710d7(0x19a)](_0x3710d7(0x199),{'id':this[_0x3710d7(0x191)]}),_0xe8ff68[_0x3710d7(0x18f)]();})}}),_0x317ef2;}[_0x222b8e(0x1a9)](){const _0x1b3167=_0x222b8e,_0x5f040d=new _0x3e882d(this[_0x1b3167(0x193)]);return _0x5f040d[_0x1b3167(0x1ab)]({'label':_0x53f9df(this[_0x1b3167(0x193)],_0x1b3167(0x1b2)),'withText':!0x0,'class':_0x1b3167(0x1a1)}),_0x5f040d[_0x1b3167(0x1b6)]({'on':{'click':this[_0x1b3167(0x1a8)]['to'](_0x57331f=>{const _0x430942=_0x1b3167;this[_0x430942(0x19a)](_0x430942(0x196),{'id':this[_0x430942(0x191)]}),_0x57331f[_0x430942(0x18f)]();})}}),_0x5f040d;}[_0x222b8e(0x19f)](){const _0x174ca4=_0x222b8e,_0x596808=new _0x3e882d(this[_0x174ca4(0x193)]);return _0x596808[_0x174ca4(0x1ab)]({'label':_0x53f9df(this[_0x174ca4(0x193)],_0x174ca4(0x1af)),'icon':_0x3099c2,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x174ca4(0x1b3),'class':_0x174ca4(0x1b4)}),_0x596808[_0x174ca4(0x1ac)](_0x174ca4(0x1ad))['to'](this,_0x174ca4(0x18a),_0x13d577=>_0x13d577),_0x596808['on'](_0x174ca4(0x18d),()=>{const _0x58c091=_0x174ca4;this[_0x58c091(0x18a)]=!this[_0x58c091(0x18a)];}),_0x596808;}}
@@ -5,19 +5,43 @@
5
5
  /**
6
6
  * @module ai/aireviewmode/ui/aireviewmodecustomcheckview
7
7
  */
8
- import { type Locale } from 'ckeditor5/src/utils.js';
9
- import { View, ButtonView } from 'ckeditor5/src/ui.js';
8
+ import { type Locale, KeystrokeHandler, FocusTracker } from 'ckeditor5/src/utils.js';
9
+ import { View, ButtonView, LabeledFieldView, FocusCycler } from 'ckeditor5/src/ui.js';
10
10
  import { AIReviewModePromptInputView } from './aireviemodepromptinputview.js';
11
11
  import type { AIReviewCheckCustom } from '../model/aireviewcheckcustom.js';
12
12
  export declare class AIReviewModeCustomCheckView extends View {
13
+ /**
14
+ * Tracks information about DOM focus in the form.
15
+ */
16
+ readonly focusTracker: FocusTracker;
17
+ /**
18
+ * An instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}.
19
+ */
20
+ readonly keystrokes: KeystrokeHandler;
21
+ /**
22
+ * Helps cycling over {@link #_focusables} in the form.
23
+ */
24
+ readonly focusCycler: FocusCycler;
13
25
  prompt: string;
14
26
  modelId: string;
15
27
  submitButtonView: ButtonView;
16
28
  cancelButtonView: ButtonView;
17
- promptInputView: AIReviewModePromptInputView;
29
+ promptInputView: LabeledFieldView<AIReviewModePromptInputView>;
30
+ actionsFooterView: View;
18
31
  constructor(locale: Locale, check: AIReviewCheckCustom);
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ render(): void;
36
+ get modelDefaultValue(): string;
37
+ get modelDefaultLabel(): string;
19
38
  /**
20
39
  * Resets the form to its default state.
21
40
  */
22
41
  resetToDefault(): void;
42
+ /**
43
+ * Resets the form validation status.
44
+ */
45
+ resetFormValidationStatus(): void;
23
46
  }
47
+ export type CustomCheckFormValidatorCallback = () => string | undefined;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x157e5c}from'ckeditor5/src/utils.js';import{View as _0x507e89,ButtonView as _0x309568,FormRowView as _0xa8c3db,createDropdown as _0x2dd9e9,addListToDropdown as _0x142dbb,UIModel as _0x145dcb,ButtonLabelView as _0x54babb}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0xc81816}from'./aireviemodepromptinputview.js';export class AIReviewModeCustomCheckView extends _0x507e89{['submitButtonView'];['cancelButtonView'];['promptInputView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x35f5f8,_0x4fd998){super(_0x35f5f8),this['_check']=_0x4fd998,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x4fd998['models']&&_0x4fd998['models']['length']>0x0?_0x4fd998['models'][0x0]['id']:'',this['_defaultLabel']=_0x4fd998['models']&&_0x4fd998['models']['length']>0x0?_0x4fd998['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),this['promptInputView']=new _0xc81816(_0x35f5f8),this['promptInputView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['on']('input',()=>{this['prompt']=this['promptInputView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x157e5c(),this['_setModelList'](),_0x142dbb(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);const _0x3e4e42=new _0x507e89(_0x35f5f8);_0x3e4e42['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 _0xa8c3db(this['locale'],{'children':[this['promptInputView']]}),new _0xa8c3db(this['locale'],{'children':[_0x3e4e42]})]});}['resetToDefault'](){this['prompt']='',this['modelId']=this['_defaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['_defaultLabel'];}['_createSubmitButtonView'](){const _0x2d3282=new _0x309568(this['locale']),t=this['locale']['t'];return _0x2d3282['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x2d3282['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x19ba96=>{_0x19ba96['stopPropagation']();})}}),_0x2d3282['on']('execute',()=>{this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x2d3282;}['_createCancelButtonView'](){const _0x90ca5=new _0x309568(this['locale']),t=this['locale']['t'];return _0x90ca5['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x90ca5['on']('execute',()=>{this['resetToDefault']();}),_0x90ca5;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x59ee1d=this['_check']['models'];if(this['resetToDefault'](),_0x59ee1d?.['length'])for(const _0x2c8e40 of _0x59ee1d){const _0x4e31e6=new _0x145dcb({'label':_0x2c8e40['name'],'withText':!0x0,'role':'menuitemradio','id':_0x2c8e40['id'],'model':_0x2c8e40});_0x4e31e6['bind']('isOn')['to'](this,'modelId',_0x4066b2=>_0x4066b2===_0x2c8e40['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x4e31e6,'labelView':new js(this['locale'],_0x2c8e40)});}}['_createModelSelectionDropdown'](){const _0x39c896=_0x2dd9e9(this['locale']);return _0x39c896['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x39c896['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x581ba0=>{_0x581ba0['stopPropagation']();})}}),_0x39c896['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x39c896,'execute',_0x3e8884=>{this['modelId']=_0x3e8884['source']['model']['id'],_0x39c896['buttonView']['label']=_0x3e8884['source']['label'];}),_0x39c896;}}class js extends _0x54babb{constructor(_0x53a03f,_0x1ce8b1){super();const _0x3dfaf4=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x3dfaf4['to']('style'),'id':_0x3dfaf4['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'text':_0x3dfaf4['to']('text')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[{'text':_0x1ce8b1['description']}]}]}]});}}
23
+ import{Collection as _0x241e5c,KeystrokeHandler as _0x1bbb22,FocusTracker as _0x5c0e64}from'ckeditor5/src/utils.js';import{View as _0x4aadf9,ViewCollection as _0x242a5a,ButtonView as _0x53899b,FormRowView as _0xfdc312,createDropdown as _0x14a52c,addListToDropdown as _0x3de3dc,UIModel as _0x3a2919,ButtonLabelView as _0x4c3c91,LabeledFieldView as _0x529391,FocusCycler as _0xe93d62}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x36f7c3}from'./aireviemodepromptinputview.js';import{getTranslation as _0x3c6e70}from'../../aicore/utils/common-translations.js';export class AIReviewModeCustomCheckView extends _0x4aadf9{['focusTracker']=new _0x5c0e64();['keystrokes']=new _0x1bbb22();['focusCycler'];['_focusables']=new _0x242a5a();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x4c9dfb,_0x3ae184){super(_0x4c9dfb),this['_check']=_0x3ae184,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x3ae184['models']&&_0x3ae184['models']['length']>0x0?_0x3ae184['models'][0x0]['id']:'',this['_defaultLabel']=_0x3ae184['models']&&_0x3ae184['models']['length']>0x0?_0x3ae184['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x529391(this['locale'],()=>new _0x36f7c3(_0x4c9dfb)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x241e5c(),this['_setModelList'](),_0x3de3dc(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-custom-actions']},'children':[new _0xfdc312(this['locale'],{'children':[this['promptInputView']]}),new _0xfdc312(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x480782,_0x4e86d4)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x4e86d4()):_0x4e86d4();}),this['focusCycler']=new _0xe93d62({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x2516f5=>{this['_focusables']['add'](_0x2516f5),this['focusTracker']['add'](_0x2516f5['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x46e049 of this['_getFormValidators']()){const _0x195dce=_0x46e049();if(_0x195dce)return this['promptInputView']['errorText']=_0x195dce,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x3c6e70(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0xeb7dbb=new _0x53899b(this['locale']),t=this['locale']['t'];return _0xeb7dbb['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0xeb7dbb['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0xeb7dbb;}['_createCancelButtonView'](){const _0x1411f9=new _0x53899b(this['locale']),t=this['locale']['t'];return _0x1411f9['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x1411f9['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x274d42=>{_0x274d42['stopPropagation']();})}}),_0x1411f9['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x1411f9;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x7e9839=this['_check']['models'];if(this['resetToDefault'](),_0x7e9839?.['length'])for(const _0x44fbc3 of _0x7e9839){const _0x28d67b=new _0x3a2919({'label':_0x44fbc3['name'],'withText':!0x0,'role':'menuitemradio','id':_0x44fbc3['id'],'model':_0x44fbc3});_0x28d67b['bind']('isOn')['to'](this,'modelId',_0x9f9c22=>_0x9f9c22===_0x44fbc3['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x28d67b,'labelView':new Ns(this['locale'],_0x44fbc3)});}}['_createModelSelectionDropdown'](){const _0x9594d7=_0x14a52c(this['locale']);return _0x9594d7['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x9594d7['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x9594d7,'execute',_0x19d265=>{this['modelId']=_0x19d265['source']['model']['id'],_0x9594d7['buttonView']['label']=_0x19d265['source']['label'];}),_0x9594d7;}['_createActionsFooterView'](){const _0x23cd6f=new _0x4aadf9(this['locale']);return _0x23cd6f['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']]}]}),_0x23cd6f;}}class Ns extends _0x4c3c91{constructor(_0x4452db,_0xa22d35){super();const _0x2c6ead=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x2c6ead['to']('style'),'id':_0x2c6ead['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x2c6ead['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0xa22d35['description']||'']}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x495782=_0x4300;(function(_0x226b06,_0x48cb3b){const _0x5284fa=_0x4300,_0x4f0d32=_0x226b06();while(!![]){try{const _0x4c788=parseInt(_0x5284fa(0xbc))/0x1*(parseInt(_0x5284fa(0xca))/0x2)+parseInt(_0x5284fa(0xbb))/0x3*(-parseInt(_0x5284fa(0xba))/0x4)+parseInt(_0x5284fa(0xcf))/0x5*(-parseInt(_0x5284fa(0xc1))/0x6)+-parseInt(_0x5284fa(0xbf))/0x7*(parseInt(_0x5284fa(0xd4))/0x8)+parseInt(_0x5284fa(0xcc))/0x9+-parseInt(_0x5284fa(0xbd))/0xa*(-parseInt(_0x5284fa(0xd6))/0xb)+parseInt(_0x5284fa(0xd2))/0xc;if(_0x4c788===_0x48cb3b)break;else _0x4f0d32['push'](_0x4f0d32['shift']());}catch(_0x497d8b){_0x4f0d32['push'](_0x4f0d32['shift']());}}}(_0x2ddc,0xe70df));function _0x2ddc(){const _0x49496a=['10210mndgKJ','length','runReviewCheck','32525076dFidmM','ck-ai-review-mode__check-list','16mKZwgm','setChecks','14869327GzkosI','entries','2201484PXRovi','9aENLOt','2XqaylP','10iubKbL','hasChecks','5866462EQGVWp','ck-hidden','3768Aopvfm','div','isVisible','resetAllParameterizedChecks','_checkViews','delegate','clear','locale','bindTemplate','603128yKtYSG','resetToDefault','8016408sJRVcd','setTemplate','add'];_0x2ddc=function(){return _0x49496a;};return _0x2ddc();}import{ListItemView as _0x3d4abb,ViewCollection as _0x2bf4c0}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x528f34}from'./aireviewmodereviewcommandlistitemview.js';function _0x4300(_0x157e3b,_0x36bde3){const _0x2ddc31=_0x2ddc();return _0x4300=function(_0x4300e5,_0x204015){_0x4300e5=_0x4300e5-0xba;let _0x539b05=_0x2ddc31[_0x4300e5];return _0x539b05;},_0x4300(_0x157e3b,_0x36bde3);}import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x3d4abb{[_0x495782(0xc5)];constructor(_0x5815c6){const _0x1e9d45=_0x495782;super(_0x5815c6),this[_0x1e9d45(0xc5)]=new _0x2bf4c0();const _0x55042b=this[_0x1e9d45(0xc9)];this[_0x1e9d45(0xcd)]({'tag':_0x1e9d45(0xc2),'attributes':{'class':[_0x1e9d45(0xd3),_0x55042b['if'](_0x1e9d45(0xc3),_0x1e9d45(0xc0),_0x4dd7f4=>!_0x4dd7f4)]},'children':this[_0x1e9d45(0xc5)]});}[_0x495782(0xd5)](_0x188641){const _0x1bd963=_0x495782;this[_0x1bd963(0xc5)][_0x1bd963(0xc7)]();for(const [_0x533f9b,_0x2e2e0d]of _0x188641[_0x1bd963(0xd7)]()){const _0x4fabd2=new _0x528f34(this[_0x1bd963(0xc8)],_0x2e2e0d,_0x533f9b);_0x4fabd2[_0x1bd963(0xc6)](_0x1bd963(0xd1))['to'](this),this[_0x1bd963(0xc5)][_0x1bd963(0xce)](_0x4fabd2);}}[_0x495782(0xbe)](){const _0x2382da=_0x495782;return this[_0x2382da(0xc5)][_0x2382da(0xd0)]>0x0;}[_0x495782(0xc4)](){const _0x1d07ba=_0x495782;for(const _0x3a83f2 of this[_0x1d07ba(0xc5)])_0x3a83f2 instanceof _0x528f34&&_0x3a83f2[_0x1d07ba(0xcb)]();}}
23
+ function _0x17c5(_0x36955c,_0x4f1ff7){const _0x3ff387=_0x3ff3();return _0x17c5=function(_0x17c5f4,_0x4a17ae){_0x17c5f4=_0x17c5f4-0x7d;let _0x590c6b=_0x3ff387[_0x17c5f4];return _0x590c6b;},_0x17c5(_0x36955c,_0x4f1ff7);}function _0x3ff3(){const _0x3bf6be=['length','ck-hidden','hasChecks','2660205SETTOn','986536JgKjnV','div','4107591lTynML','bindTemplate','56FDOTOp','add','resetAllParameterizedChecks','entries','setChecks','8qDBhEe','clear','locale','387323nsaydD','_checkViews','ck-ai-review-mode__check-list','756RcuyMl','532HuICqv','8136570GGbGDh','runReviewCheck','isVisible','setTemplate','resetToDefault','341502FbXdCV','delegate'];_0x3ff3=function(){return _0x3bf6be;};return _0x3ff3();}const _0x162b94=_0x17c5;(function(_0x2563d5,_0x43f025){const _0x4f937d=_0x17c5,_0x2d5827=_0x2563d5();while(!![]){try{const _0x12ae81=parseInt(_0x4f937d(0x93))/0x1+parseInt(_0x4f937d(0x87))/0x2+parseInt(_0x4f937d(0x96))/0x3*(parseInt(_0x4f937d(0x97))/0x4)+-parseInt(_0x4f937d(0x86))/0x5+-parseInt(_0x4f937d(0x81))/0x6*(parseInt(_0x4f937d(0x8b))/0x7)+parseInt(_0x4f937d(0x90))/0x8*(-parseInt(_0x4f937d(0x89))/0x9)+parseInt(_0x4f937d(0x98))/0xa;if(_0x12ae81===_0x43f025)break;else _0x2d5827['push'](_0x2d5827['shift']());}catch(_0x48b48a){_0x2d5827['push'](_0x2d5827['shift']());}}}(_0x3ff3,0x45554));import{ListItemView as _0x41390f,ViewCollection as _0x161f56}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x54309b}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x41390f{[_0x162b94(0x94)];constructor(_0x5d0ffe){const _0x4250af=_0x162b94;super(_0x5d0ffe),this[_0x4250af(0x94)]=new _0x161f56();const _0x4d13a0=this[_0x4250af(0x8a)];this[_0x4250af(0x7f)]({'tag':_0x4250af(0x88),'attributes':{'class':[_0x4250af(0x95),_0x4d13a0['if'](_0x4250af(0x7e),_0x4250af(0x84),_0x2faf8b=>!_0x2faf8b)]},'children':this[_0x4250af(0x94)]});}[_0x162b94(0x8f)](_0x5e7275){const _0x611d0c=_0x162b94;this[_0x611d0c(0x94)][_0x611d0c(0x91)]();for(const [_0x2f8c45,_0x24e782]of _0x5e7275[_0x611d0c(0x8e)]()){const _0x3c6458=new _0x54309b(this[_0x611d0c(0x92)],_0x24e782,_0x2f8c45);_0x3c6458[_0x611d0c(0x82)](_0x611d0c(0x7d))['to'](this),this[_0x611d0c(0x94)][_0x611d0c(0x8c)](_0x3c6458);}}[_0x162b94(0x85)](){const _0x15c970=_0x162b94;return this[_0x15c970(0x94)][_0x15c970(0x83)]>0x0;}[_0x162b94(0x8d)](){const _0x36a3b4=_0x162b94;for(const _0x49bd59 of this[_0x36a3b4(0x94)])_0x49bd59 instanceof _0x54309b&&_0x49bd59[_0x36a3b4(0x80)]();}}
@@ -12,7 +12,13 @@ import { AIDisclaimerView } from '../../aicore/ui/aidisclaimerview.js';
12
12
  import '../../../theme/aireviewmode/aireviewmode-check-run.css';
13
13
  import '../../../theme/aireviewmode/aireviewmode-check-run-result.css';
14
14
  export declare class AIReviewModeReviewCheckResultsView extends ListItemView {
15
+ /**
16
+ * The header view containing the title and action buttons.
17
+ */
15
18
  resultsHeader: View;
19
+ /**
20
+ * The disclaimer view shown below the results.
21
+ */
16
22
  reviewDisclaimer: AIDisclaimerView;
17
23
  /**
18
24
  * The title of the current check results.
@@ -20,6 +26,12 @@ export declare class AIReviewModeReviewCheckResultsView extends ListItemView {
20
26
  * @observable
21
27
  */
22
28
  headerTitle: string;
29
+ /**
30
+ * The subtitle of the current check results.
31
+ *
32
+ * @observable
33
+ */
34
+ headerSubtitle: string;
23
35
  /**
24
36
  * The loading state of the controls.
25
37
  *
@@ -54,7 +66,7 @@ export declare class AIReviewModeReviewCheckResultsView extends ListItemView {
54
66
  *
55
67
  * @param title The title to set in the header.
56
68
  */
57
- setTitle(title: string): void;
69
+ setTitle(title: string, subtitle?: string): void;
58
70
  showChunkErrorMessage(): void;
59
71
  showGeneralErrorMessage(): void;
60
72
  resetErrorState(): void;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x7e6a16,View as _0x5e3f4,ViewCollection as _0x4f9ee1,ButtonView as _0x36d17c}from'ckeditor5/src/ui.js';import{IconStop as _0x3e99d1,IconEye as _0x24e548,IconEyeCrossedOut as _0x24276e}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x3fd954}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x15f9ca,SKELETON_DEFINITIONS as _0x339fcd}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x15aaea}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x4803ec}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x18a725}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x7e6a16{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0x246cbf){super(_0x246cbf),this['_resultViews']=new _0x4f9ee1(),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 _0x15aaea(_0x246cbf),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 _0x1a42c2=this['_createCombinedSkeletonLoader'](),_0x24e3b1=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x24e3b1['if']('isVisible','ck-hidden',_0x2c3e2c=>!_0x2c3e2c)]},'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',_0x5c0ce4=>_0x5c0ce4)]},'children':this['_resultViews']},_0x1a42c2]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x1ec743){const _0x778921=new _0x3fd954(this['locale'],_0x1ec743['id']);_0x778921['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x778921),_0x778921['resultResponseView']['element']['innerHTML']=_0x1ec743['contentDiffed'];}['hideResult'](_0xa94aec){const _0x11a3f7=this['_resultViews']['find'](_0x42b3e7=>_0x42b3e7['id']===_0xa94aec);_0x11a3f7&&(_0x11a3f7['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x11a3f7['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x11a3f7),_0x11a3f7['destroy']();},{'once':!0x0}));}['setTitle'](_0x251116){this['headerTitle']=_0x251116;}['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 _0x15f9ca(this['locale'],_0x339fcd['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x135a53=new _0x5e3f4(this['locale']),_0x3fcbd0=[];for(let _0x249db8=0x0;_0x249db8<0x10;_0x249db8++){const _0x3b4cd3=this['_createSkeletonLoader']();_0x3b4cd3['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x3fcbd0['push'](_0x3b4cd3);}return _0x135a53['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x1c290f=>!_0x1c290f)]},'children':_0x3fcbd0}),_0x135a53;}['_createErrorView'](){const _0x387776=new _0x5e3f4(this['locale']),_0x347da7=new _0x36d17c(this['locale']),t=this['locale']['t'];return _0x387776['delegate']('retryReview')['to'](this),_0x347da7['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x347da7['on']('execute',()=>{this['fire']('retryReview');}),_0x387776['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x24e713=>!_0x24e713),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x1558bb=>'chunk'===_0x1558bb)]},'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',_0x5510ad=>'chunk'===_0x5510ad)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x403298=>'general'!==_0x403298)]},'children':[{'text':_0x4803ec(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x15a513=>'chunk'!==_0x15a513)]},'children':[{'text':_0x4803ec(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x347da7]}),_0x387776;}['_createCancelButtonView'](){const _0x59dfdc=new _0x36d17c(this['locale']);return _0x59dfdc['set']({'label':_0x4803ec(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x3e99d1}),_0x59dfdc['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5e063a=>_0x5e063a)]}}),_0x59dfdc['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x59dfdc;}['_createToggleDiffButtonView'](){const _0x768448=new _0x36d17c(this['locale']);_0x768448['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x768448['bind']('isEnabled')['to'](this,'isError',_0x268c9f=>!_0x268c9f),_0x768448['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x571b82=>!_0x571b82)]}});const _0x37bcf2=_0x4803ec(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x3eb141=_0x4803ec(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x768448['bind']('isOn')['to'](this,'isToggleDiffOn',_0x58fb45=>_0x58fb45),_0x768448['bind']('icon')['to'](this,'isToggleDiffOn',_0x50bd91=>_0x50bd91?_0x24e548:_0x24276e),_0x768448['bind']('label')['to'](this,'isToggleDiffOn',_0x1781bb=>_0x1781bb?_0x37bcf2:_0x3eb141),_0x768448['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x768448;}['_createAcceptAllButtonView'](){const _0x368e3e=new _0x36d17c(this['locale']);return _0x368e3e['set']({'label':_0x4803ec(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x368e3e['bind']('isEnabled')['to'](this,'isError',_0x1d0348=>!_0x1d0348),_0x368e3e['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x26eaf4=>!_0x26eaf4)]}}),_0x368e3e['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x368e3e;}['_createExitReviewButtonView'](){const _0x1bd8c6=new _0x36d17c(this['locale']);return _0x1bd8c6['set']({'label':_0x4803ec(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x1bd8c6['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2b8a1d=>!_0x2b8a1d)]}}),_0x1bd8c6['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x1bd8c6;}['_createResultHeaderView'](){const _0x3429db=new _0x5e3f4(this['locale']),_0x6d35ca=new _0x18a725();return _0x6d35ca['bind']('isVisible')['to'](this,'isResultReady',_0xeb09ab=>!_0xeb09ab),_0x3429db['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':[_0x6d35ca,this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x3429db;}}
23
+ import{ListItemView as _0x3b1400,View as _0x51ad48,ViewCollection as _0x2886c0,ButtonView as _0x338338}from'ckeditor5/src/ui.js';import{IconStop as _0x3761ff,IconEye as _0x177bdd,IconEyeCrossedOut as _0x1de828}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x146263}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x6130c8,SKELETON_DEFINITIONS as _0x1f2261}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x3e9944}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x325d9a}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x25f4b7}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';import'../../../theme/aireviewmode/aireviewmode-check-run-result.css';export class AIReviewModeReviewCheckResultsView extends _0x3b1400{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0x23a679){super(_0x23a679),this['_resultViews']=new _0x2886c0(),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 _0x3e9944(_0x23a679),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general');const _0x4ad1e6=this['_createCombinedSkeletonLoader'](),_0x4f4dd5=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x4f4dd5['if']('isVisible','ck-hidden',_0xd01823=>!_0xd01823)]},'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',_0x1b938c=>_0x1b938c)]},'children':this['_resultViews']},_0x4ad1e6]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x50596e){const _0x173fa6=new _0x146263(this['locale'],_0x50596e['id']);_0x173fa6['delegate']('acceptChange','dismissChange','activateChange')['to'](this),this['_resultViews']['add'](_0x173fa6),_0x173fa6['resultResponseView']['element']['innerHTML']=_0x50596e['contentDiffed'];}['hideResult'](_0x49073d){const _0x14e2d1=this['_resultViews']['find'](_0x5cf92b=>_0x5cf92b['id']===_0x49073d);_0x14e2d1&&(_0x14e2d1['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x14e2d1['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x14e2d1),_0x14e2d1['destroy']();},{'once':!0x0}));}['setTitle'](_0x2cda6a,_0x160e6c){this['headerTitle']=_0x2cda6a,this['headerSubtitle']=_0x160e6c||'';}['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 _0x6130c8(this['locale'],_0x1f2261['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x34db86=new _0x51ad48(this['locale']),_0x3bf494=[];for(let _0x330b4e=0x0;_0x330b4e<0x10;_0x330b4e++){const _0x550e60=this['_createSkeletonLoader']();_0x550e60['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x3bf494['push'](_0x550e60);}return _0x34db86['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x581975=>!_0x581975)]},'children':_0x3bf494}),_0x34db86;}['_createErrorView'](){const _0x23c06b=new _0x51ad48(this['locale']),_0x1f10cb=new _0x338338(this['locale']),t=this['locale']['t'];return _0x23c06b['delegate']('retryReview')['to'](this),_0x1f10cb['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x1f10cb['on']('execute',()=>{this['fire']('retryReview');}),_0x23c06b['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x198dbe=>!_0x198dbe),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x6fa04f=>'chunk'===_0x6fa04f)]},'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',_0x4cdd1f=>'chunk'===_0x4cdd1f)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x3dca2a=>'general'!==_0x3dca2a)]},'children':[{'text':_0x325d9a(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x27da9d=>'chunk'!==_0x27da9d)]},'children':[{'text':_0x325d9a(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x1f10cb]}),_0x23c06b;}['_createCancelButtonView'](){const _0x34ba7a=new _0x338338(this['locale']);return _0x34ba7a['set']({'label':_0x325d9a(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x3761ff}),_0x34ba7a['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x29e0e2=>_0x29e0e2)]}}),_0x34ba7a['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x34ba7a;}['_createToggleDiffButtonView'](){const _0x3b206d=new _0x338338(this['locale']);_0x3b206d['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x3b206d['bind']('isEnabled')['to'](this,'isError',_0x14d950=>!_0x14d950),_0x3b206d['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5cf585=>!_0x5cf585)]}});const _0x3acf40=_0x325d9a(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x2f52a8=_0x325d9a(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x3b206d['bind']('isOn')['to'](this,'isToggleDiffOn',_0x3f1625=>_0x3f1625),_0x3b206d['bind']('icon')['to'](this,'isToggleDiffOn',_0x42fe9a=>_0x42fe9a?_0x177bdd:_0x1de828),_0x3b206d['bind']('label')['to'](this,'isToggleDiffOn',_0x48830a=>_0x48830a?_0x3acf40:_0x2f52a8),_0x3b206d['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x3b206d;}['_createAcceptAllButtonView'](){const _0x56df5a=new _0x338338(this['locale']);return _0x56df5a['set']({'label':_0x325d9a(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x56df5a['bind']('isEnabled')['to'](this,'isError',_0x5ed122=>!_0x5ed122),_0x56df5a['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2bbe4e=>!_0x2bbe4e)]}}),_0x56df5a['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x56df5a;}['_createExitReviewButtonView'](){const _0xe2ed28=new _0x338338(this['locale']);return _0xe2ed28['set']({'label':_0x325d9a(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0xe2ed28['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2f1f1d=>!_0x2f1f1d)]}}),_0xe2ed28['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0xe2ed28;}['_createResultHeaderView'](){const _0x12582a=new _0x51ad48(this['locale']),_0x1786ac=this['_createTitleView']();return _0x12582a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header']},'children':[_0x1786ac,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x12582a;}['_createTitleView'](){const _0xe620b6=new _0x51ad48(this['locale']),_0xd79ab1=new _0x25f4b7();return _0xd79ab1['bind']('isVisible')['to'](this,'isResultReady',_0x3a0686=>!_0x3a0686),_0xe620b6['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-wrapper']},'children':[_0xd79ab1,{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title-content']},'children':[{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai-review-mode__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]}]}),_0xe620b6;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x29d87e,IconView as _0x111221,View as _0x3beb5f,ViewCollection as _0xa749fb,ButtonView as _0x308dce,clickOutsideHandler as _0x87b8d4}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x2d3480}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x1d1e3d}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x2f6393}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x29d87e{['_formItemsCollection']=new _0xa749fb();['_customCheckView']=null;constructor(_0x54266f,_0x215c0a,_0x1214f8){super(_0x54266f),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x215c0a['isParameterized']);const _0x18b551=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',_0x144cea=>_0x144cea),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x35cc1=>_0x35cc1)],'style':{'--ck-ai-check-list-item-index':_0x1214f8}},'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':_0x215c0a['title']}]},_0x18b551]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x215c0a['description']}]}]}]},..._0x215c0a['isParameterized']?[this['_createParameterizedView'](_0x215c0a)]:[],...'custom'===_0x215c0a['id']?[this['_createCustomView'](_0x215c0a)]:[]]}),this['on']('click',()=>{_0x215c0a['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x215c0a['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x87b8d4({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x12b4ea=>{_0x12b4ea['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x6543c9=new _0x111221();return _0x6543c9['content']=_0x2d3480,_0x6543c9['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x6543c9;}['_createParameterizedView'](_0x16b6f3){const _0x53e943=new _0x3beb5f(),_0x4a20e8=this['_createFormView'](_0x16b6f3);return _0x53e943['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x2df0d4=>!_0x2df0d4)]},'children':[_0x4a20e8]}),_0x53e943;}['_createFormView'](_0x4e0bde){const _0x99980e=new _0x3beb5f(),_0x29c137=Array['isArray'](_0x4e0bde['options'])?_0x4e0bde['options']:[],_0x350413=new _0x308dce(this['locale']),t=this['locale']['t'];_0x350413['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x350413['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3c9212=>{_0x3c9212['stopPropagation']();})}}),_0x350413['on']('execute',()=>{const _0x3091ba=[],_0x122044={};this['_formItemsCollection']['forEach'](_0x222e52=>{_0x3091ba['push'](_0x222e52['value']),_0x4e0bde['useArgs']&&_0x4e0bde['options']&&(_0x122044[_0x222e52['argsKey']]=_0x222e52['value']);}),this['fire']('runReviewCheck',{'id':_0x4e0bde['id'],'params':_0x3091ba['length']?_0x3091ba:void 0x0,'args':Object['keys'](_0x122044)['length']?_0x122044:void 0x0});});const _0x1087d8=_0x29c137['length'];return _0x29c137['forEach']((_0xf4beb5,_0x2df7b3)=>{const _0x39bbdb=_0x2df7b3===_0x1087d8-0x1;this['_formItemsCollection']['add'](new _0x1d1e3d(this['locale'],_0xf4beb5,_0x39bbdb?_0x350413:null));}),_0x99980e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x99980e;}['_createCustomView'](_0x5b98de){return this['_customCheckView']=new _0x2f6393(this['locale'],_0x5b98de),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',_0x561ba8=>!_0x561ba8)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['_customCheckView'];}}
23
+ import{ListItemView as _0x46fb6b,IconView as _0x10e624,View as _0x52112a,ViewCollection as _0x36f597,ButtonView as _0x5b1a9e,clickOutsideHandler as _0x1198ec}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x226aaf}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x5a29d}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x4bf6ee}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x46fb6b{['_formItemsCollection']=new _0x36f597();['_customCheckView']=null;constructor(_0x139954,_0x2571ae,_0x31e383){super(_0x139954),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x2571ae['isParameterized']);const _0x2f7f5b=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',_0x5c5610=>_0x5c5610),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x408b95=>_0x408b95)],'style':{'--ck-ai-check-list-item-index':_0x31e383}},'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':_0x2571ae['title']}]},_0x2f7f5b]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x2571ae['description']}]}]}]},..._0x2571ae['isParameterized']?[this['_createParameterizedView'](_0x2571ae)]:[],...'custom'===_0x2571ae['id']?[this['_createCustomView'](_0x2571ae)]:[]]}),this['on']('click',()=>{_0x2571ae['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x2571ae['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x1198ec({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x1c53f5=>{_0x1c53f5['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x59dcce=new _0x10e624();return _0x59dcce['content']=_0x226aaf,_0x59dcce['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x59dcce;}['_createParameterizedView'](_0x529544){const _0x2de623=new _0x52112a(),_0x578ca1=this['_createFormView'](_0x529544);return _0x2de623['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x373907=>!_0x373907)]},'children':[_0x578ca1]}),_0x2de623;}['_createFormView'](_0x5bc600){const _0x1bdecb=new _0x52112a(),_0x17a703=Array['isArray'](_0x5bc600['options'])?_0x5bc600['options']:[],_0x585348=new _0x5b1a9e(this['locale']),t=this['locale']['t'];_0x585348['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x585348['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x573e33=>{_0x573e33['stopPropagation']();})}}),_0x585348['on']('execute',()=>{const _0x5811ee=[],_0x295df6={};this['_formItemsCollection']['forEach'](_0x42104b=>{_0x5811ee['push'](_0x42104b['value']),_0x5bc600['useArgs']&&_0x5bc600['options']&&(_0x295df6[_0x42104b['argsKey']]=_0x42104b['value']);}),this['fire']('runReviewCheck',{'id':_0x5bc600['id'],'params':_0x5811ee['length']?_0x5811ee:void 0x0,'args':Object['keys'](_0x295df6)['length']?_0x295df6:void 0x0});});const _0x4cef55=_0x17a703['length'];return _0x17a703['forEach']((_0x270644,_0x2acaba)=>{const _0x516a0f=_0x2acaba===_0x4cef55-0x1;this['_formItemsCollection']['add'](new _0x5a29d(this['locale'],_0x270644,_0x516a0f?_0x585348:null));}),_0x1bdecb['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x1bdecb;}['_createCustomView'](_0x289bc2){return this['_customCheckView']=new _0x4bf6ee(this['locale'],_0x289bc2),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',_0xce2a96=>!_0xce2a96)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x3f58cb,_0x402209,_0x44bb37)=>{_0x44bb37||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22947f=_0x26dd;(function(_0x12bf40,_0x204391){const _0x2ff529=_0x26dd,_0x5391bb=_0x12bf40();while(!![]){try{const _0x22b894=-parseInt(_0x2ff529(0x162))/0x1*(-parseInt(_0x2ff529(0x15f))/0x2)+parseInt(_0x2ff529(0x144))/0x3+-parseInt(_0x2ff529(0x160))/0x4+parseInt(_0x2ff529(0x167))/0x5+parseInt(_0x2ff529(0x166))/0x6+-parseInt(_0x2ff529(0x14b))/0x7*(-parseInt(_0x2ff529(0x154))/0x8)+-parseInt(_0x2ff529(0x165))/0x9;if(_0x22b894===_0x204391)break;else _0x5391bb['push'](_0x5391bb['shift']());}catch(_0x33028f){_0x5391bb['push'](_0x5391bb['shift']());}}}(_0x3ac9,0x3ab89));import{ListItemView as _0x508ae0,View as _0x152891,ButtonView as _0xc03798}from'ckeditor5/src/ui.js';function _0x26dd(_0x160604,_0x45e756){const _0x3ac9db=_0x3ac9();return _0x26dd=function(_0x26dd45,_0x124a75){_0x26dd45=_0x26dd45-0x144;let _0x4ab365=_0x3ac9db[_0x26dd45];return _0x4ab365;},_0x26dd(_0x160604,_0x45e756);}import{getTranslation as _0x147da5}from'../../aicore/utils/common-translations.js';function _0x3ac9(){const _0x39381b=['viewType','764742fPhWLq','ck-ai-review-mode__review-completed-content','div','fire','bindTemplate','finishReview','ck-ai-review-mode__review-completed-header-buttons','725515zaXNSQ','isVisible','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','_createFinishReviewButtonView','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','execute','_finishReviewButtonView','ck-ai-button-primary','span','24ixsXTN','locale','ck-ai-review-mode__review-completed','ck-ai-review-mode__review-completed-header','AI_REVIEW_MODE_COMPLETED_TEXT','ck-ai-review-mode__review-completed-header-title','_createResultHeaderView','resultsHeader','setTemplate','completed','set','4rziOny','847080cQbmro','ck-ai-review-mode__review-completed-content-icon','201514XhsYSv','ck-hidden','ck-ai-review-mode__review-completed-content-text','10209546ogRiHn','2513958viIdXT','994075nnxtnz','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE'];_0x3ac9=function(){return _0x39381b;};return _0x3ac9();}import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeReviewCompletedView extends _0x508ae0{[_0x22947f(0x15b)];[_0x22947f(0x151)];constructor(_0x3cb693){const _0x262521=_0x22947f;super(_0x3cb693),this[_0x262521(0x151)]=this[_0x262521(0x14e)](),this[_0x262521(0x15b)]=this[_0x262521(0x15a)](),this[_0x262521(0x15e)](_0x262521(0x169),_0x262521(0x15d));const _0x5266c3=this[_0x262521(0x148)];this[_0x262521(0x15c)]({'tag':_0x262521(0x146),'attributes':{'class':[_0x262521(0x156),_0x5266c3['if'](_0x262521(0x14c),_0x262521(0x163),_0x2efaa4=>!_0x2efaa4)]},'children':[this[_0x262521(0x15b)],{'tag':_0x262521(0x146),'attributes':{'class':[_0x262521(0x145)]},'children':[{'tag':_0x262521(0x153),'attributes':{'class':[_0x262521(0x161)]},'children':[{'text':_0x5266c3['to'](_0x262521(0x169),_0x40295f=>_0x262521(0x15d)===_0x40295f?'🎉':'👍')}]},{'tag':'p','attributes':{'class':[_0x262521(0x164)]},'children':[{'text':_0x5266c3['to'](_0x262521(0x169),_0x4c62cd=>_0x147da5(_0x3cb693,_0x262521(0x15d)===_0x4c62cd?_0x262521(0x158):_0x262521(0x14d)))}]}]}]});}[_0x22947f(0x14e)](){const _0x417990=_0x22947f,_0x38edde=new _0xc03798(this[_0x417990(0x155)]);return _0x38edde[_0x417990(0x15e)]({'label':_0x147da5(this[_0x417990(0x155)],_0x417990(0x14f)),'withText':!0x0,'class':_0x417990(0x152)}),_0x38edde['on'](_0x417990(0x150),()=>{const _0x28011f=_0x417990;this[_0x28011f(0x147)](_0x28011f(0x149));}),_0x38edde;}[_0x22947f(0x15a)](){const _0x3ccc13=_0x22947f,_0xff8b89=new _0x152891(this[_0x3ccc13(0x155)]);return _0xff8b89[_0x3ccc13(0x15c)]({'tag':_0x3ccc13(0x146),'attributes':{'class':[_0x3ccc13(0x157)]},'children':[{'tag':_0x3ccc13(0x153),'attributes':{'class':[_0x3ccc13(0x159)]},'children':[{'text':_0x147da5(this[_0x3ccc13(0x155)],_0x3ccc13(0x168))}]},{'tag':_0x3ccc13(0x146),'attributes':{'class':[_0x3ccc13(0x14a)]},'children':[this[_0x3ccc13(0x151)]]}]}),_0xff8b89;}}
23
+ const _0x1ab33d=_0x4bb3;(function(_0x528fda,_0x17f32b){const _0x4b8d98=_0x4bb3,_0x20b65c=_0x528fda();while(!![]){try{const _0x3a537f=-parseInt(_0x4b8d98(0x12d))/0x1+parseInt(_0x4b8d98(0x10b))/0x2+-parseInt(_0x4b8d98(0x114))/0x3+-parseInt(_0x4b8d98(0x124))/0x4*(parseInt(_0x4b8d98(0x116))/0x5)+-parseInt(_0x4b8d98(0x10c))/0x6*(parseInt(_0x4b8d98(0x108))/0x7)+parseInt(_0x4b8d98(0x11b))/0x8*(parseInt(_0x4b8d98(0x112))/0x9)+-parseInt(_0x4b8d98(0x12b))/0xa*(-parseInt(_0x4b8d98(0x12e))/0xb);if(_0x3a537f===_0x17f32b)break;else _0x20b65c['push'](_0x20b65c['shift']());}catch(_0x5e68cc){_0x20b65c['push'](_0x20b65c['shift']());}}}(_0x2504,0xb356f));function _0x2504(){const _0x5f3440=['bindTemplate','26691yIddCS','AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','940ZwcPKq','ck-hidden','fire','ck-ai-button-primary','resultsHeader','26792TUtmBP','_finishReviewButtonView','_createResultHeaderView','completed','ck-ai-review-mode__review-completed-content','AI_REVIEW_MODE_COMPLETED_TEXT','finishReview','locale','ck-ai-review-mode__review-completed-content-text','244pixdih','div','ck-ai-review-mode__review-completed-header','isVisible','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','viewType','setTemplate','3970640RbxtEq','set','356032tOEqjh','11pSlakJ','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','861FLRllR','execute','ck-ai-review-mode__review-completed','1444726ErGcIq','35046RljZQN','ck-ai-review-mode__review-completed-content-icon','ck-ai-review-mode__review-completed-header-title','ck-ai-review-mode__review-completed-header-buttons','span','_createFinishReviewButtonView','1908wucUQC'];_0x2504=function(){return _0x5f3440;};return _0x2504();}import{ListItemView as _0x477f4c,View as _0x46c25e,ButtonView as _0x5a8081}from'ckeditor5/src/ui.js';import{getTranslation as _0x344c52}from'../../aicore/utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';function _0x4bb3(_0x400d21,_0x328651){const _0x2504e8=_0x2504();return _0x4bb3=function(_0x4bb30f,_0x553bcb){_0x4bb30f=_0x4bb30f-0x108;let _0x26e23f=_0x2504e8[_0x4bb30f];return _0x26e23f;},_0x4bb3(_0x400d21,_0x328651);}export class AIReviewModeReviewCompletedView extends _0x477f4c{[_0x1ab33d(0x11a)];[_0x1ab33d(0x11c)];constructor(_0x473745){const _0x52e324=_0x1ab33d;super(_0x473745),this[_0x52e324(0x11c)]=this[_0x52e324(0x111)](),this[_0x52e324(0x11a)]=this[_0x52e324(0x11d)](),this[_0x52e324(0x12c)](_0x52e324(0x129),_0x52e324(0x11e));const _0x1996e7=this[_0x52e324(0x113)];this[_0x52e324(0x12a)]({'tag':_0x52e324(0x125),'attributes':{'class':[_0x52e324(0x10a),_0x1996e7['if'](_0x52e324(0x127),_0x52e324(0x117),_0x576e0b=>!_0x576e0b)]},'children':[this[_0x52e324(0x11a)],{'tag':_0x52e324(0x125),'attributes':{'class':[_0x52e324(0x11f)]},'children':[{'tag':_0x52e324(0x110),'attributes':{'class':[_0x52e324(0x10d)]},'children':[{'text':_0x1996e7['to'](_0x52e324(0x129),_0x1d4ce1=>_0x52e324(0x11e)===_0x1d4ce1?'🎉':'👍')}]},{'tag':'p','attributes':{'class':[_0x52e324(0x123)]},'children':[{'text':_0x1996e7['to'](_0x52e324(0x129),_0xdca104=>_0x344c52(_0x473745,_0x52e324(0x11e)===_0xdca104?_0x52e324(0x120):_0x52e324(0x115)))}]}]}]});}[_0x1ab33d(0x111)](){const _0x539804=_0x1ab33d,_0x3dab24=new _0x5a8081(this[_0x539804(0x122)]);return _0x3dab24[_0x539804(0x12c)]({'label':_0x344c52(this[_0x539804(0x122)],_0x539804(0x12f)),'withText':!0x0,'class':_0x539804(0x119)}),_0x3dab24['on'](_0x539804(0x109),()=>{const _0x3dce64=_0x539804;this[_0x3dce64(0x118)](_0x3dce64(0x121));}),_0x3dab24;}[_0x1ab33d(0x11d)](){const _0x5056f2=_0x1ab33d,_0x104553=new _0x46c25e(this[_0x5056f2(0x122)]);return _0x104553[_0x5056f2(0x12a)]({'tag':_0x5056f2(0x125),'attributes':{'class':[_0x5056f2(0x126)]},'children':[{'tag':_0x5056f2(0x110),'attributes':{'class':[_0x5056f2(0x10e)]},'children':[{'text':_0x344c52(this[_0x5056f2(0x122)],_0x5056f2(0x128))}]},{'tag':_0x5056f2(0x125),'attributes':{'class':[_0x5056f2(0x10f)]},'children':[this[_0x5056f2(0x11c)]]}]}),_0x104553;}}