@ckeditor/ckeditor5-ai 47.0.0-alpha.0 → 47.0.0-alpha.1

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 (295) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index-editor.css +105 -11
  3. package/dist/index.css +105 -11
  4. package/dist/index.js +4 -4
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/lang/contexts.json +1 -0
  152. package/package.json +15 -15
  153. package/src/aiactions/aiactions.js +1 -1
  154. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  155. package/src/aiactions/model/aiactionsreply.js +1 -1
  156. package/src/aiassistant/adapters/aiadapter.js +1 -1
  157. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  158. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  159. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  160. package/src/aiassistant/aiassistant.js +1 -1
  161. package/src/aiassistant/aiassistantediting.js +1 -1
  162. package/src/aiassistant/aiassistantui.js +1 -1
  163. package/src/aiassistant/legacyerrors.js +1 -1
  164. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  165. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  166. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  167. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformview.js +1 -1
  170. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  172. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  173. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  174. package/src/aiassistant/utils/common-translations.js +1 -1
  175. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  176. package/src/aiballoon/aiballoon.js +1 -1
  177. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  178. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  179. package/src/aiballoon/ui/aiballoonview.js +1 -1
  180. package/src/aichat/aichat.js +1 -1
  181. package/src/aichat/aichatcontroller.js +1 -1
  182. package/src/aichat/aichatui.js +1 -1
  183. package/src/aichat/model/aichatcontext.js +1 -1
  184. package/src/aichat/model/aichatconversation.js +1 -1
  185. package/src/aichat/model/aichatinteraction.js +1 -1
  186. package/src/aichat/model/aichatmodels.js +1 -1
  187. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  188. package/src/aichat/ui/aichatfeedview.js +1 -1
  189. package/src/aichat/ui/aichatheaderview.js +1 -1
  190. package/src/aichat/ui/aichatview.js +1 -1
  191. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  195. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  198. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  203. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  212. package/src/aichat/utils/eventnames.js +1 -1
  213. package/src/aichat/utils/promisequeue.js +1 -1
  214. package/src/aichat/utils/scrollmanager.js +1 -1
  215. package/src/aichathistory/aichathistory.js +1 -1
  216. package/src/aichathistory/aichathistorycontroller.js +1 -1
  217. package/src/aichathistory/aichathistoryui.js +1 -1
  218. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  219. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  221. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  223. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  224. package/src/aiconfig.d.ts +11 -0
  225. package/src/aicore/aiconnector.js +1 -1
  226. package/src/aicore/aiediting.js +1 -1
  227. package/src/aicore/model/aicapabilities.js +1 -1
  228. package/src/aicore/model/aicontext.js +1 -1
  229. package/src/aicore/model/aiinteraction.js +1 -1
  230. package/src/aicore/model/aireply.js +1 -1
  231. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  232. package/src/aicore/pipeline/airesponseparser.js +2 -2
  233. package/src/aicore/ui/aidisclaimerview.js +1 -1
  234. package/src/aicore/ui/aiskeleton.js +1 -1
  235. package/src/aicore/ui/aispinner.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  242. package/src/aicore/utils/common-translations.js +1 -1
  243. package/src/aicore/utils/createresizebutton.js +1 -1
  244. package/src/aicore/utils/documentposition.js +1 -1
  245. package/src/aicore/utils/documentrange.js +1 -1
  246. package/src/aicore/utils/eventnames.js +1 -1
  247. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  248. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  249. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  250. package/src/aicore/utils/htmlparser.js +1 -1
  251. package/src/aicore/utils/htmlstreamer.js +1 -1
  252. package/src/aiquickactions/aiquickactions.js +1 -1
  253. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  254. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  255. package/src/aiquickactions/aiquickactionsui.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  259. package/src/aiquickactions/utils/common-translations.js +1 -1
  260. package/src/aireviewmode/aireviewmode.js +1 -1
  261. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  262. package/src/aireviewmode/aireviewmodeediting.d.ts +1 -1
  263. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  264. package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
  265. package/src/aireviewmode/aireviewmodeui.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  268. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  270. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  271. package/src/aireviewmode/model/aireviewcheckrun.d.ts +1 -0
  272. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  273. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  274. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  275. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  276. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +4 -0
  279. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  284. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  285. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  286. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  287. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  288. package/src/aireviewmode/utils/common-translations.js +1 -1
  289. package/src/aitabs/aitabs.js +1 -1
  290. package/src/aitabs/aitabsmainview.js +1 -1
  291. package/src/aitabs/tabs/aitabsview.js +1 -1
  292. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  293. package/src/aitabs/tabs/tabpanelview.js +1 -1
  294. package/src/index.js +1 -1
  295. package/theme/aireviewmode/aireviewmode-check-list.css +112 -11
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13cdf5=_0x56ff;(function(_0xa26973,_0x24d624){const _0x4b7d5e=_0x56ff,_0x2c2412=_0xa26973();while(!![]){try{const _0x82ceff=parseInt(_0x4b7d5e(0x101))/0x1*(-parseInt(_0x4b7d5e(0x103))/0x2)+-parseInt(_0x4b7d5e(0x135))/0x3+parseInt(_0x4b7d5e(0x117))/0x4+-parseInt(_0x4b7d5e(0x13b))/0x5*(-parseInt(_0x4b7d5e(0x137))/0x6)+-parseInt(_0x4b7d5e(0x126))/0x7*(parseInt(_0x4b7d5e(0x111))/0x8)+-parseInt(_0x4b7d5e(0x127))/0x9*(-parseInt(_0x4b7d5e(0x10b))/0xa)+-parseInt(_0x4b7d5e(0x130))/0xb;if(_0x82ceff===_0x24d624)break;else _0x2c2412['push'](_0x2c2412['shift']());}catch(_0x4a3458){_0x2c2412['push'](_0x2c2412['shift']());}}}(_0x32ee,0x663d2));function _0x56ff(_0x2f60fb,_0x5cfa16){const _0x32ee16=_0x32ee();return _0x56ff=function(_0x56ff42,_0x4999eb){_0x56ff42=_0x56ff42-0xf5;let _0x405d89=_0x32ee16[_0x56ff42];return _0x405d89;},_0x56ff(_0x2f60fb,_0x5cfa16);}import{ObservableMixin as _0x46c129,uid as _0x4c1ecf}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0xc59c3}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x232168}from'./aireviewcheckresultchange.js';function _0x32ee(){const _0x3e1abc=['reviewCheckResultReady','rejected','dataId','operation','error-chunk','addResultChanges','active','507ZWpHUY','documentData','1290zfEcOn','elements','ready','isChangeActive','data','getActiveChanges','_checkIfFinished','getStream','10bPlBpA','push','forEach','Not\x20implemented.','_changes','status','3145880wTqejV','abort','markChangeAsAccepted','start','loading','error-general','448108ggCwmk','getContent','_results','clear','filter','_activeRequest','_createApiRequest','size','markChangeAsRejected','reviewCheckResultAccepted','_aiConnector','finished','accepted','processedResultsCount','reviewCheckResultAdded','7bAeqGr','7359561cSLSOb','fire','find','abortController','_currentError','markAllChangesAsAccepted','_addReviewCheckResult','_sourceCheck','reviewCheckRunUpdated','2343561UxEotJ','aborted','length','unmodified','_documentData','726090dtXzQt','initialized','330VswdOU','textDelta','reviewCheckResultRejected','set','60395eKlRxR','error','change:status','restart','_reviewArgs','get','version'];_0x32ee=function(){return _0x3e1abc;};return _0x32ee();}export class AIReviewCheckRun extends _0x46c129(){['id']=_0x4c1ecf();[_0x13cdf5(0x119)]=new Map();[_0x13cdf5(0x10f)]=[];[_0x13cdf5(0x134)];[_0x13cdf5(0x12e)];[_0x13cdf5(0x121)];[_0x13cdf5(0xf7)];[_0x13cdf5(0x11c)]=null;[_0x13cdf5(0x12b)];constructor(_0x4b757c,_0x454e7d,_0x5652c0,_0x5bd746){const _0x304b29=_0x13cdf5;super(),this[_0x304b29(0x134)]=_0x4b757c,this[_0x304b29(0x12e)]=_0x454e7d,this[_0x304b29(0x121)]=_0x5652c0,this[_0x304b29(0xf7)]=_0x5bd746,this['on'](_0x304b29(0xf5),(_0x3cf483,_0x2d007b,_0x51a2ce)=>{const _0x5d2681=_0x304b29;this[_0x5d2681(0x128)](_0x5d2681(0x12f),{'status':_0x51a2ce,'run':this,'error':this[_0x5d2681(0x12b)]});}),this[_0x304b29(0x13a)](_0x304b29(0x110),_0x304b29(0x136));}get[_0x13cdf5(0x102)](){const _0x53082d=_0x13cdf5;return this[_0x53082d(0x134)];}get[_0x13cdf5(0x124)](){const _0x2781b6=_0x13cdf5;return this[_0x2781b6(0x119)][_0x2781b6(0x11e)];}async[_0x13cdf5(0x114)](){const _0x36074b=_0x13cdf5;this[_0x36074b(0x110)]=_0x36074b(0x115),this[_0x36074b(0x12b)]=void 0x0;try{this[_0x36074b(0x11c)]=this[_0x36074b(0x11d)]();const _0x4a2d10=await this[_0x36074b(0x11c)][_0x36074b(0x10a)]();this[_0x36074b(0x110)]=_0x36074b(0x107);for await(const _0x946b7 of _0x4a2d10)_0x36074b(0x133)!==_0x946b7[_0x36074b(0x107)][_0x36074b(0xfd)]&&(_0x36074b(0x13c)!==_0x946b7[_0x36074b(0x107)][_0x36074b(0xfd)]?this[_0x36074b(0x12d)](_0x946b7[_0x36074b(0x107)][_0x36074b(0xfc)],_0x946b7[_0x36074b(0x107)][_0x36074b(0x138)]):this[_0x36074b(0x110)]=_0x36074b(0xfe));_0x36074b(0xfe)!==this[_0x36074b(0x110)]&&(this[_0x36074b(0x110)]=_0x36074b(0x105));}catch(_0x5260e2){this[_0x36074b(0x12b)]=_0x5260e2,this[_0x36074b(0x110)]=_0x36074b(0x116);}finally{this[_0x36074b(0x11c)]=null;}}async[_0x13cdf5(0xf6)](){const _0x5b4761=_0x13cdf5;this[_0x5b4761(0x119)][_0x5b4761(0x11a)](),this[_0x5b4761(0x10f)][_0x5b4761(0x132)]=0x0,this[_0x5b4761(0x12b)]=void 0x0,await this[_0x5b4761(0x114)]();}[_0x13cdf5(0xff)](_0x1e7b28,_0x2b4c84){const _0x5dc3d3=_0x13cdf5,_0x37fd17=this[_0x5dc3d3(0x119)][_0x5dc3d3(0xf8)](_0x1e7b28);if(!_0x37fd17)return;const _0x26c579=[];_0x2b4c84[_0x5dc3d3(0x10d)]((_0x4f8829,_0x189ad7)=>{const _0x3c9129=_0x5dc3d3,_0xce7074=new _0x232168(_0x37fd17['id']+'-'+_0x189ad7,_0x4f8829,_0x37fd17);_0xce7074['on'](_0x3c9129(0xf5),()=>{const _0x439476=_0x3c9129;_0x439476(0x123)===_0xce7074[_0x439476(0x110)]?this[_0x439476(0x128)](_0x439476(0x120),{'change':_0xce7074}):_0x439476(0xfb)===_0xce7074[_0x439476(0x110)]&&this[_0x439476(0x128)](_0x439476(0x139),{'change':_0xce7074});}),this[_0x3c9129(0x10f)][_0x3c9129(0x10c)](_0xce7074),_0x26c579[_0x3c9129(0x10c)](_0xce7074);}),this[_0x5dc3d3(0x128)](_0x5dc3d3(0xfa),{'changes':_0x26c579,'result':_0x37fd17,'source':this});}[_0x13cdf5(0x112)](){const _0x4c24c1=_0x13cdf5;this[_0x4c24c1(0x11c)]&&(this[_0x4c24c1(0x11c)][_0x4c24c1(0x12a)][_0x4c24c1(0x112)](),this[_0x4c24c1(0x11c)]=null,this[_0x4c24c1(0x110)]=_0x4c24c1(0x131));}[_0x13cdf5(0x106)](_0x32d8cc){const _0x3d8191=_0x13cdf5,_0x1017cf=this[_0x3d8191(0x10f)][_0x3d8191(0x129)](_0xcf316=>_0xcf316['id']===_0x32d8cc);return!(!_0x1017cf||_0x3d8191(0x100)!==_0x1017cf[_0x3d8191(0x110)]);}[_0x13cdf5(0x108)](){const _0xe356a3=_0x13cdf5;return this[_0xe356a3(0x10f)][_0xe356a3(0x11b)](_0x4ba3e0=>_0xe356a3(0x100)===_0x4ba3e0[_0xe356a3(0x110)]);}[_0x13cdf5(0x12c)](){const _0x465da1=_0x13cdf5;for(const _0x5352da of this[_0x465da1(0x10f)])_0x465da1(0x100)===_0x5352da[_0x465da1(0x110)]&&(_0x5352da[_0x465da1(0x110)]=_0x465da1(0x123));this[_0x465da1(0x109)]();}[_0x13cdf5(0x113)](_0x3a1390){const _0x401c73=_0x13cdf5,_0x19c402=this[_0x401c73(0x10f)][_0x401c73(0x129)](_0x16cdfd=>_0x16cdfd['id']===_0x3a1390);_0x19c402&&_0x401c73(0x100)===_0x19c402[_0x401c73(0x110)]&&(_0x19c402[_0x401c73(0x110)]=_0x401c73(0x123)),this[_0x401c73(0x109)]();}[_0x13cdf5(0x11f)](_0x36d25c){const _0x6b4efc=_0x13cdf5,_0xd3b7b1=this[_0x6b4efc(0x10f)][_0x6b4efc(0x129)](_0x1fb8ca=>_0x1fb8ca['id']===_0x36d25c);_0xd3b7b1&&_0x6b4efc(0x100)===_0xd3b7b1[_0x6b4efc(0x110)]&&(_0xd3b7b1[_0x6b4efc(0x110)]=_0x6b4efc(0xfb)),this[_0x6b4efc(0x109)]();}[_0x13cdf5(0x12d)](_0x1bcc12,_0x296105){const _0x1fc897=_0x13cdf5,_0x1fab8c=this[_0x1fc897(0x134)][_0x1fc897(0x104)][_0x1fc897(0xf8)](_0x1bcc12);if(!_0x1fab8c)return;const _0x4a9ca7=_0x1fab8c[_0x1fc897(0x118)]();if(_0x4a9ca7===_0x296105)return;const _0x1637ac=new _0xc59c3({'id':_0x1bcc12,'contentInitial':_0x4a9ca7,'contentNew':_0x296105,'documentVersion':this[_0x1fc897(0x134)][_0x1fc897(0xf9)]});this[_0x1fc897(0x119)][_0x1fc897(0x13a)](_0x1637ac['id'],_0x1637ac),this[_0x1fc897(0x128)](_0x1fc897(0x125),{'result':_0x1637ac,'source':this});}[_0x13cdf5(0x109)](){const _0x3f54f9=_0x13cdf5;if(_0x3f54f9(0x105)!==this[_0x3f54f9(0x110)])return;0x0===this[_0x3f54f9(0x10f)][_0x3f54f9(0x11b)](_0xfa939d=>_0x3f54f9(0x100)===_0xfa939d[_0x3f54f9(0x110)])[_0x3f54f9(0x132)]&&(this[_0x3f54f9(0x110)]=_0x3f54f9(0x122));}[_0x13cdf5(0x11d)](){const _0x5e6be9=_0x13cdf5;throw new Error(_0x5e6be9(0x10e));}}
23
+ const _0x32ff22=_0xfc59;(function(_0x509ddd,_0x39f708){const _0x1427ac=_0xfc59,_0x14528e=_0x509ddd();while(!![]){try{const _0x1e530e=-parseInt(_0x1427ac(0xd9))/0x1+parseInt(_0x1427ac(0x94))/0x2*(parseInt(_0x1427ac(0xbd))/0x3)+parseInt(_0x1427ac(0xd2))/0x4*(-parseInt(_0x1427ac(0xda))/0x5)+parseInt(_0x1427ac(0xa1))/0x6*(-parseInt(_0x1427ac(0xaf))/0x7)+parseInt(_0x1427ac(0xd7))/0x8+parseInt(_0x1427ac(0xbe))/0x9+-parseInt(_0x1427ac(0xd5))/0xa*(-parseInt(_0x1427ac(0xcc))/0xb);if(_0x1e530e===_0x39f708)break;else _0x14528e['push'](_0x14528e['shift']());}catch(_0x57d8ca){_0x14528e['push'](_0x14528e['shift']());}}}(_0x20e2,0x53378));import{ObservableMixin as _0x5ecc9d,uid as _0x5ede9c}from'ckeditor5/src/utils.js';import{AIReviewCheckResult as _0xf21085}from'./aireviewcheckresult.js';import{AIReviewCheckResultChange as _0x26cd66}from'./aireviewcheckresultchange.js';function _0xfc59(_0x27cd31,_0x597db4){const _0x20e2ee=_0x20e2();return _0xfc59=function(_0xfc5997,_0x2a04b3){_0xfc5997=_0xfc5997-0x92;let _0x785065=_0x20e2ee[_0xfc5997];return _0x785065;},_0xfc59(_0x27cd31,_0x597db4);}export class AIReviewCheckRun extends _0x5ecc9d(){['id']=_0x5ede9c();[_0x32ff22(0xb4)]=new Map();[_0x32ff22(0xa4)]=[];[_0x32ff22(0x9c)];[_0x32ff22(0xc2)];[_0x32ff22(0x9b)];[_0x32ff22(0x95)];[_0x32ff22(0xdd)]=null;[_0x32ff22(0xca)];constructor(_0x105748,_0x128d25,_0x3c3c2b,_0x2dc67a){const _0x4c9b95=_0x32ff22;super(),this[_0x4c9b95(0x9c)]=_0x105748,this[_0x4c9b95(0xc2)]=_0x128d25,this[_0x4c9b95(0x9b)]=_0x3c3c2b,this[_0x4c9b95(0x95)]=_0x2dc67a,this['on'](_0x4c9b95(0xc3),(_0x4bdf06,_0x24f0d2,_0xd15b07)=>{const _0xa8129=_0x4c9b95;this[_0xa8129(0xb0)](_0xa8129(0xac),{'status':_0xd15b07,'run':this,'error':this[_0xa8129(0xca)]});}),this[_0x4c9b95(0xbc)](_0x4c9b95(0x9e),_0x4c9b95(0xbb));}get[_0x32ff22(0xb8)](){const _0xc523a6=_0x32ff22;return this[_0xc523a6(0x9c)];}get[_0x32ff22(0xa3)](){const _0x266ae1=_0x32ff22;return this[_0x266ae1(0xb4)][_0x266ae1(0xbf)];}async[_0x32ff22(0xa0)](){const _0x2d9235=_0x32ff22;this[_0x2d9235(0x9e)]=_0x2d9235(0xc5),this[_0x2d9235(0xca)]=void 0x0;try{this[_0x2d9235(0xdd)]=this[_0x2d9235(0x98)]();const _0x1bf807=await this[_0x2d9235(0xdd)][_0x2d9235(0xa9)]();this[_0x2d9235(0x9e)]=_0x2d9235(0x9d);for await(const _0x12094f of _0x1bf807)_0x2d9235(0xce)!==_0x12094f[_0x2d9235(0x9d)][_0x2d9235(0xb9)]&&(_0x2d9235(0x92)!==_0x12094f[_0x2d9235(0x9d)][_0x2d9235(0xb9)]?this[_0x2d9235(0xb2)](_0x12094f[_0x2d9235(0x9d)][_0x2d9235(0xaa)],_0x12094f[_0x2d9235(0x9d)][_0x2d9235(0xd6)]):this[_0x2d9235(0x9e)]=_0x2d9235(0xb7));_0x2d9235(0xb7)!==this[_0x2d9235(0x9e)]&&(this[_0x2d9235(0x9e)]=_0x2d9235(0xb1));}catch(_0xd734c4){this[_0x2d9235(0xca)]=_0xd734c4,_0xd734c4 instanceof Error&&_0xd734c4[_0x2d9235(0xab)][_0x2d9235(0xd4)](_0x2d9235(0xba))?this[_0x2d9235(0x9e)]=_0x2d9235(0xc4):this[_0x2d9235(0x9e)]=_0x2d9235(0xc6);}finally{this[_0x2d9235(0xdd)]=null;}}async[_0x32ff22(0xc0)](){const _0x2fb7d5=_0x32ff22;this[_0x2fb7d5(0xb4)][_0x2fb7d5(0xad)](),this[_0x2fb7d5(0xa4)][_0x2fb7d5(0xa7)]=0x0,this[_0x2fb7d5(0xca)]=void 0x0,await this[_0x2fb7d5(0xa0)]();}[_0x32ff22(0xd1)](_0x10de17,_0x5ec867){const _0x4f2ef6=_0x32ff22,_0x5e1332=this[_0x4f2ef6(0xb4)][_0x4f2ef6(0xdb)](_0x10de17);if(!_0x5e1332)return;const _0x41a881=[];_0x5ec867[_0x4f2ef6(0xc7)]((_0x49623a,_0x47911d)=>{const _0x5654a0=_0x4f2ef6,_0x233b93=new _0x26cd66(_0x5e1332['id']+'-'+_0x47911d,_0x49623a,_0x5e1332);_0x233b93['on'](_0x5654a0(0xc3),()=>{const _0x591caa=_0x5654a0;_0x591caa(0xd8)===_0x233b93[_0x591caa(0x9e)]?this[_0x591caa(0xb0)](_0x591caa(0x93),{'change':_0x233b93}):_0x591caa(0xcd)===_0x233b93[_0x591caa(0x9e)]&&this[_0x591caa(0xb0)](_0x591caa(0xa5),{'change':_0x233b93});}),this[_0x5654a0(0xa4)][_0x5654a0(0xc8)](_0x233b93),_0x41a881[_0x5654a0(0xc8)](_0x233b93);}),this[_0x4f2ef6(0xb0)](_0x4f2ef6(0xa6),{'changes':_0x41a881,'result':_0x5e1332,'source':this});}[_0x32ff22(0xd3)](){const _0x4455d6=_0x32ff22;this[_0x4455d6(0xdd)]&&(this[_0x4455d6(0xdd)][_0x4455d6(0x9a)][_0x4455d6(0xd3)](),this[_0x4455d6(0xdd)]=null,this[_0x4455d6(0x9e)]=_0x4455d6(0xc4));}[_0x32ff22(0xae)](_0xc72371){const _0x18e422=_0x32ff22,_0x160a05=this[_0x18e422(0xa4)][_0x18e422(0x9f)](_0xf81da6=>_0xf81da6['id']===_0xc72371);return!(!_0x160a05||_0x18e422(0x96)!==_0x160a05[_0x18e422(0x9e)]);}[_0x32ff22(0xc1)](){const _0x336972=_0x32ff22;return this[_0x336972(0xa4)][_0x336972(0x99)](_0x5837ec=>_0x336972(0x96)===_0x5837ec[_0x336972(0x9e)]);}[_0x32ff22(0xcf)](){const _0x3e67e8=_0x32ff22;for(const _0x526cda of this[_0x3e67e8(0xa4)])_0x3e67e8(0x96)===_0x526cda[_0x3e67e8(0x9e)]&&(_0x526cda[_0x3e67e8(0x9e)]=_0x3e67e8(0xd8));this[_0x3e67e8(0xcb)]();}[_0x32ff22(0x97)](_0x5aea35){const _0x5dd71e=_0x32ff22,_0x4f9828=this[_0x5dd71e(0xa4)][_0x5dd71e(0x9f)](_0x5dc400=>_0x5dc400['id']===_0x5aea35);_0x4f9828&&_0x5dd71e(0x96)===_0x4f9828[_0x5dd71e(0x9e)]&&(_0x4f9828[_0x5dd71e(0x9e)]=_0x5dd71e(0xd8)),this[_0x5dd71e(0xcb)]();}[_0x32ff22(0xa2)](_0xbe8376){const _0x361f2a=_0x32ff22,_0x4b907f=this[_0x361f2a(0xa4)][_0x361f2a(0x9f)](_0xa95921=>_0xa95921['id']===_0xbe8376);_0x4b907f&&_0x361f2a(0x96)===_0x4b907f[_0x361f2a(0x9e)]&&(_0x4b907f[_0x361f2a(0x9e)]=_0x361f2a(0xcd)),this[_0x361f2a(0xcb)]();}[_0x32ff22(0xa8)](){const _0x50779e=_0x32ff22;this[_0x50779e(0x9e)]=_0x50779e(0xb1);}[_0x32ff22(0xb2)](_0x321459,_0x3281d3){const _0x1c2575=_0x32ff22,_0x7f5f36=this[_0x1c2575(0x9c)][_0x1c2575(0xdc)][_0x1c2575(0xdb)](_0x321459);if(!_0x7f5f36)return;const _0x23b0e2=_0x7f5f36[_0x1c2575(0xc9)]();if(_0x23b0e2===_0x3281d3)return;const _0x4c70d6=new _0xf21085({'id':_0x321459,'contentInitial':_0x23b0e2,'contentNew':_0x3281d3,'documentVersion':this[_0x1c2575(0x9c)][_0x1c2575(0xb3)]});this[_0x1c2575(0xb4)][_0x1c2575(0xbc)](_0x4c70d6['id'],_0x4c70d6),this[_0x1c2575(0xb0)](_0x1c2575(0xb6),{'result':_0x4c70d6,'source':this});}[_0x32ff22(0xcb)](){const _0x458956=_0x32ff22;if(_0x458956(0xb1)!==this[_0x458956(0x9e)])return;0x0===this[_0x458956(0xa4)][_0x458956(0x99)](_0x431fc0=>_0x458956(0x96)===_0x431fc0[_0x458956(0x9e)])[_0x458956(0xa7)]&&(this[_0x458956(0x9e)]=_0x458956(0xb5));}[_0x32ff22(0x98)](){const _0x1775e9=_0x32ff22;throw new Error(_0x1775e9(0xd0));}}function _0x20e2(){const _0x3463d4=['getContent','_currentError','_checkIfFinished','2178946BVISTk','rejected','unmodified','markAllChangesAsAccepted','Not\x20implemented.','addResultChanges','4ftoXPG','abort','includes','10sJIaJS','textDelta','3050544ttFMwN','accepted','166677IqwsZt','2222245hSlFnS','get','elements','_activeRequest','error','reviewCheckResultAccepted','2OqFUca','_reviewArgs','active','markChangeAsAccepted','_createApiRequest','filter','abortController','_aiConnector','_documentData','data','status','find','start','11988hCTTWr','markChangeAsRejected','processedResultsCount','_changes','reviewCheckResultRejected','reviewCheckResultReady','length','forceReadyState','getStream','dataId','message','reviewCheckRunUpdated','clear','isChangeActive','315wGeLuw','fire','ready','_addReviewCheckResult','version','_results','finished','reviewCheckResultAdded','error-chunk','documentData','operation','ai-request-aborted','initialized','set','437787QOHcly','2849031uCnLEL','size','restart','getActiveChanges','_sourceCheck','change:status','aborted','loading','error-general','forEach','push'];_0x20e2=function(){return _0x3463d4;};return _0x20e2();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x140a3d=_0x1af2;(function(_0x16cd71,_0x12be11){var _0x575f41=_0x1af2,_0x744c5e=_0x16cd71();while(!![]){try{var _0x256a73=parseInt(_0x575f41(0x117))/0x1*(parseInt(_0x575f41(0x119))/0x2)+-parseInt(_0x575f41(0x11b))/0x3+-parseInt(_0x575f41(0x120))/0x4+parseInt(_0x575f41(0x124))/0x5+parseInt(_0x575f41(0x116))/0x6*(-parseInt(_0x575f41(0x118))/0x7)+parseInt(_0x575f41(0x11f))/0x8*(parseInt(_0x575f41(0x125))/0x9)+parseInt(_0x575f41(0x11a))/0xa*(parseInt(_0x575f41(0x126))/0xb);if(_0x256a73===_0x12be11)break;else _0x744c5e['push'](_0x744c5e['shift']());}catch(_0x2f136f){_0x744c5e['push'](_0x744c5e['shift']());}}}(_0x1ac0,0xcac7b));function _0x1af2(_0x1818c6,_0x3d4e9d){var _0x1ac0b6=_0x1ac0();return _0x1af2=function(_0x1af217,_0x4743b8){_0x1af217=_0x1af217-0x116;var _0x4758ba=_0x1ac0b6[_0x1af217];return _0x4758ba;},_0x1af2(_0x1818c6,_0x3d4e9d);}import{AIReviewCheckRun as _0x4de5c9}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0x4de5c9{[_0x140a3d(0x122)];[_0x140a3d(0x11c)];constructor(_0x1c6c33,_0x45c868,_0xf3e02,_0x3e0cbb,_0x166e05){var _0xc747f9=_0x140a3d;super(_0xf3e02,_0x3e0cbb,_0x166e05),this[_0xc747f9(0x122)]=_0x1c6c33,this[_0xc747f9(0x11c)]=_0x45c868;}[_0x140a3d(0x11e)](){var _0x3675e8=_0x140a3d;return this[_0x3675e8(0x121)][_0x3675e8(0x123)]({'content':this[_0x3675e8(0x11d)][_0x3675e8(0x127)],'prompt':this[_0x3675e8(0x122)],'model':this[_0x3675e8(0x11c)]});}}function _0x1ac0(){var _0x2147b8=['6221560wXzEfN','_aiConnector','_prompt','callCustomReview','6631555WxNEZC','12392379RLLURM','11wBfwUJ','content','41862HqWdlB','526744uYOfby','1211bHxGzb','2etJEpk','4583710wwlalr','286077fzypMW','_model','_documentData','_createApiRequest','8axCbZZ'];_0x1ac0=function(){return _0x2147b8;};return _0x1ac0();}
23
+ function _0x19ee(_0x597a1b,_0x490d9e){var _0x2746ce=_0x2746();return _0x19ee=function(_0x19ee2b,_0x5624d8){_0x19ee2b=_0x19ee2b-0x9e;var _0x5aa9d1=_0x2746ce[_0x19ee2b];return _0x5aa9d1;},_0x19ee(_0x597a1b,_0x490d9e);}var _0x38b7cc=_0x19ee;(function(_0x5c1a40,_0x2e4e3a){var _0x54f9ac=_0x19ee,_0x242471=_0x5c1a40();while(!![]){try{var _0x14ecdb=-parseInt(_0x54f9ac(0xad))/0x1*(parseInt(_0x54f9ac(0xaa))/0x2)+-parseInt(_0x54f9ac(0xac))/0x3+-parseInt(_0x54f9ac(0xab))/0x4+parseInt(_0x54f9ac(0x9e))/0x5*(parseInt(_0x54f9ac(0xa3))/0x6)+-parseInt(_0x54f9ac(0xa6))/0x7+-parseInt(_0x54f9ac(0xa1))/0x8+parseInt(_0x54f9ac(0xa5))/0x9*(parseInt(_0x54f9ac(0xa4))/0xa);if(_0x14ecdb===_0x2e4e3a)break;else _0x242471['push'](_0x242471['shift']());}catch(_0x101bde){_0x242471['push'](_0x242471['shift']());}}}(_0x2746,0xa427d));import{AIReviewCheckRun as _0xa7a3c9}from'./aireviewcheckrun.js';export class AIReviewCustomCheckRun extends _0xa7a3c9{[_0x38b7cc(0xa2)];[_0x38b7cc(0xa9)];constructor(_0x157e2b,_0x3d058e,_0x1c6e35,_0x4e1edc,_0x41b60f){var _0x51b938=_0x38b7cc;super(_0x1c6e35,_0x4e1edc,_0x41b60f),this[_0x51b938(0xa2)]=_0x157e2b,this[_0x51b938(0xa9)]=_0x3d058e;}[_0x38b7cc(0x9f)](){var _0x46c9d5=_0x38b7cc;return this[_0x46c9d5(0xa8)][_0x46c9d5(0xae)]({'content':this[_0x46c9d5(0xa0)][_0x46c9d5(0xa7)],'prompt':this[_0x46c9d5(0xa2)],'model':this[_0x46c9d5(0xa9)]});}}function _0x2746(){var _0x44a0d3=['_model','12790bZsyWE','1744136aNBghh','3621546bvUSHy','10cSfDff','callCustomReview','397470eeEOGC','_createApiRequest','_documentData','8536288xFjcbd','_prompt','18HzCLFH','30rzXITd','11648178jQHIjM','4722375jeKSHf','content','_aiConnector'];_0x2746=function(){return _0x44a0d3;};return _0x2746();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ba5ac=_0x4fd4;(function(_0x16163f,_0x5f38a5){const _0x515667=_0x4fd4,_0x3edcf6=_0x16163f();while(!![]){try{const _0x5348a9=-parseInt(_0x515667(0x15f))/0x1*(parseInt(_0x515667(0x155))/0x2)+-parseInt(_0x515667(0x161))/0x3+-parseInt(_0x515667(0x157))/0x4*(parseInt(_0x515667(0x15c))/0x5)+parseInt(_0x515667(0x15b))/0x6*(-parseInt(_0x515667(0x163))/0x7)+-parseInt(_0x515667(0x164))/0x8+-parseInt(_0x515667(0x15a))/0x9*(parseInt(_0x515667(0x165))/0xa)+parseInt(_0x515667(0x158))/0xb;if(_0x5348a9===_0x5f38a5)break;else _0x3edcf6['push'](_0x3edcf6['shift']());}catch(_0x3fa381){_0x3edcf6['push'](_0x3edcf6['shift']());}}}(_0x27e0,0xe37e0));function _0x27e0(){const _0x268808=['339689XnZhqH','3382920HPfOqC','10840VxLuNp','getAll','22cAwQWi','_modelList','4zQUzVm','61792819slxGhd','list','11664derSwZ','54dOyqIU','1397815RjscDC','length','getModels','63002usrkpA','_connector','4345992FvOKHw','items'];_0x27e0=function(){return _0x268808;};return _0x27e0();}import{EmitterMixin as _0x395198}from'ckeditor5/src/utils.js';function _0x4fd4(_0x3eda6a,_0x1f2f9d){const _0x27e08a=_0x27e0();return _0x4fd4=function(_0x4fd4e2,_0x13c3e7){_0x4fd4e2=_0x4fd4e2-0x155;let _0x78f60e=_0x27e08a[_0x4fd4e2];return _0x78f60e;},_0x4fd4(_0x3eda6a,_0x1f2f9d);}export class AIReviewModels extends _0x395198(){[_0x5ba5ac(0x156)]=[];[_0x5ba5ac(0x160)];constructor({connector:_0x45e528}){const _0x18428a=_0x5ba5ac;super(),this[_0x18428a(0x160)]=_0x45e528;}async[_0x5ba5ac(0x166)](){const _0x52eb10=_0x5ba5ac;if(!this[_0x52eb10(0x156)][_0x52eb10(0x15d)])try{const _0x3e1a8b=this[_0x52eb10(0x160)][_0x52eb10(0x15e)](),_0x2bae77=await _0x3e1a8b[_0x52eb10(0x159)]();this[_0x52eb10(0x156)]=_0x2bae77[_0x52eb10(0x162)];}catch{}return this[_0x52eb10(0x156)];}}
23
+ const _0x259ff4=_0x1334;(function(_0x2ee72e,_0x158813){const _0x1d8279=_0x1334,_0x4c390f=_0x2ee72e();while(!![]){try{const _0x20e846=-parseInt(_0x1d8279(0x1f7))/0x1+parseInt(_0x1d8279(0x1ef))/0x2+parseInt(_0x1d8279(0x1f3))/0x3*(-parseInt(_0x1d8279(0x1f6))/0x4)+parseInt(_0x1d8279(0x1f1))/0x5+-parseInt(_0x1d8279(0x1ed))/0x6+-parseInt(_0x1d8279(0x1ec))/0x7*(-parseInt(_0x1d8279(0x1ee))/0x8)+parseInt(_0x1d8279(0x1f2))/0x9;if(_0x20e846===_0x158813)break;else _0x4c390f['push'](_0x4c390f['shift']());}catch(_0x4ac418){_0x4c390f['push'](_0x4c390f['shift']());}}}(_0x3561,0x84e04));import{EmitterMixin as _0x1f58b1}from'ckeditor5/src/utils.js';export class AIReviewModels extends _0x1f58b1(){[_0x259ff4(0x1f8)]=[];[_0x259ff4(0x1f9)];constructor({connector:_0x50e1af}){const _0x5a9520=_0x259ff4;super(),this[_0x5a9520(0x1f9)]=_0x50e1af;}async[_0x259ff4(0x1fb)](){const _0x2d3be1=_0x259ff4;if(!this[_0x2d3be1(0x1f8)][_0x2d3be1(0x1f5)])try{const _0x362dea=this[_0x2d3be1(0x1f9)][_0x2d3be1(0x1f4)](),_0x4526a7=await _0x362dea[_0x2d3be1(0x1f0)]();this[_0x2d3be1(0x1f8)]=_0x4526a7[_0x2d3be1(0x1fa)];}catch{}return this[_0x2d3be1(0x1f8)];}}function _0x1334(_0x28407f,_0x1cc32a){const _0x356119=_0x3561();return _0x1334=function(_0x1334a5,_0x2f7f9f){_0x1334a5=_0x1334a5-0x1ec;let _0x25651a=_0x356119[_0x1334a5];return _0x25651a;},_0x1334(_0x28407f,_0x1cc32a);}function _0x3561(){const _0x1ded6e=['list','2800170lJXoKP','8872713JeVryc','306081cmSJCD','getModels','length','8uCCUYZ','644290pIMNcW','_modelList','_connector','items','getAll','13237mXyFNA','4039590KrpHzT','1976yFyKJm','105802wvAjBK'];_0x3561=function(){return _0x1ded6e;};return _0x3561();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1e1937=_0x1b23;function _0x1ce4(){var _0x472eec=['callSystemReview','28432SCgPFO','_createApiRequest','content','3406081wwVdjL','_aiConnector','5817zXDOZQ','4073880SxQKPv','1265208EQuwYx','1804SuDyKa','_sourceCheck','_documentData','26QwfITY','164178JdnYrs','_reviewArgs','1340oOAvMh','3151140NGYYrm'];_0x1ce4=function(){return _0x472eec;};return _0x1ce4();}(function(_0x2b9b79,_0x1d660e){var _0x2ecdc2=_0x1b23,_0x15ddde=_0x2b9b79();while(!![]){try{var _0x1552f1=parseInt(_0x2ecdc2(0x1a1))/0x1*(parseInt(_0x2ecdc2(0x1a7))/0x2)+parseInt(_0x2ecdc2(0x19b))/0x3*(parseInt(_0x2ecdc2(0x19e))/0x4)+parseInt(_0x2ecdc2(0x1a5))/0x5+parseInt(_0x2ecdc2(0x19c))/0x6+parseInt(_0x2ecdc2(0x199))/0x7+-parseInt(_0x2ecdc2(0x19d))/0x8+parseInt(_0x2ecdc2(0x1a2))/0x9*(-parseInt(_0x2ecdc2(0x1a4))/0xa);if(_0x1552f1===_0x1d660e)break;else _0x15ddde['push'](_0x15ddde['shift']());}catch(_0x3fe054){_0x15ddde['push'](_0x15ddde['shift']());}}}(_0x1ce4,0x6ac45));function _0x1b23(_0x2338f7,_0x4b05ac){var _0x1ce40b=_0x1ce4();return _0x1b23=function(_0x1b235d,_0x160cbe){_0x1b235d=_0x1b235d-0x197;var _0x518655=_0x1ce40b[_0x1b235d];return _0x518655;},_0x1b23(_0x2338f7,_0x4b05ac);}import{AIReviewCheckRun as _0x2a5e8f}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x2a5e8f{[_0x1e1937(0x197)](){var _0x56239d=_0x1e1937;return this[_0x56239d(0x19a)][_0x56239d(0x1a6)]({'reviewName':this[_0x56239d(0x19f)]['id'],'content':this[_0x56239d(0x1a0)][_0x56239d(0x198)],'args':this[_0x56239d(0x1a3)]});}}
23
+ var _0x30e4c0=_0xcca5;function _0xcca5(_0x3cd60f,_0x4bcd36){var _0x384e89=_0x384e();return _0xcca5=function(_0xcca50,_0x482095){_0xcca50=_0xcca50-0x13d;var _0x247cad=_0x384e89[_0xcca50];return _0x247cad;},_0xcca5(_0x3cd60f,_0x4bcd36);}(function(_0x215691,_0x218165){var _0x1ecb8c=_0xcca5,_0x3867ba=_0x215691();while(!![]){try{var _0x19d164=-parseInt(_0x1ecb8c(0x149))/0x1+parseInt(_0x1ecb8c(0x14c))/0x2+parseInt(_0x1ecb8c(0x143))/0x3+parseInt(_0x1ecb8c(0x13d))/0x4+-parseInt(_0x1ecb8c(0x14a))/0x5*(parseInt(_0x1ecb8c(0x146))/0x6)+-parseInt(_0x1ecb8c(0x142))/0x7*(-parseInt(_0x1ecb8c(0x14b))/0x8)+-parseInt(_0x1ecb8c(0x144))/0x9;if(_0x19d164===_0x218165)break;else _0x3867ba['push'](_0x3867ba['shift']());}catch(_0x3287c7){_0x3867ba['push'](_0x3867ba['shift']());}}}(_0x384e,0x6eb0d));function _0x384e(){var _0x288798=['670628KTpfSE','_aiConnector','_documentData','_sourceCheck','callSystemReview','7KuILCM','278949Zmaena','94212UwFfTJ','content','1201488SEciaz','_reviewArgs','_createApiRequest','196825XSNkJZ','5wnccmt','4009432CvNWsZ','198222BsSYkD'];_0x384e=function(){return _0x288798;};return _0x384e();}import{AIReviewCheckRun as _0x419f27}from'./aireviewcheckrun.js';export class AIReviewSystemCheckRun extends _0x419f27{[_0x30e4c0(0x148)](){var _0x46504d=_0x30e4c0;return this[_0x46504d(0x13e)][_0x46504d(0x141)]({'reviewName':this[_0x46504d(0x140)]['id'],'content':this[_0x46504d(0x13f)][_0x46504d(0x145)],'args':this[_0x46504d(0x147)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x48b193=_0x3ec7;(function(_0x2b7e99,_0x596c64){var _0x2dfd27=_0x3ec7,_0x66f334=_0x2b7e99();while(!![]){try{var _0x254659=-parseInt(_0x2dfd27(0x201))/0x1*(parseInt(_0x2dfd27(0x202))/0x2)+-parseInt(_0x2dfd27(0x1ff))/0x3+-parseInt(_0x2dfd27(0x1fe))/0x4+parseInt(_0x2dfd27(0x1fd))/0x5*(parseInt(_0x2dfd27(0x1f2))/0x6)+parseInt(_0x2dfd27(0x1fc))/0x7+-parseInt(_0x2dfd27(0x1f4))/0x8*(parseInt(_0x2dfd27(0x206))/0x9)+-parseInt(_0x2dfd27(0x1fa))/0xa*(-parseInt(_0x2dfd27(0x209))/0xb);if(_0x254659===_0x596c64)break;else _0x66f334['push'](_0x66f334['shift']());}catch(_0x32ef72){_0x66f334['push'](_0x66f334['shift']());}}}(_0x35ee,0x8209b));function _0x35ee(){var _0x39b03f=['MIN_ROWS','3736eIvYaw','set','minRows','isEmpty','maxRows','ck-review-mode__prompt-input','50xeeeBK','element','5647383SdxWBa','185lEqWzh','758128MoqDZx','1874076uFTTst','MAX_ROWS','4tEnBeV','84246qvrrty','placeholder','trim','value','12546kBEXgc','update','setPlaceholderText','994334PagbIb','bindTemplate','ai-review-mode-prompt-input','extendTemplate','render','stopPropagation','147180ghngvl'];_0x35ee=function(){return _0x39b03f;};return _0x35ee();}import{TextareaView as _0x5878ca}from'ckeditor5/src/ui.js';function _0x3ec7(_0xd3d377,_0xf6143f){var _0x35ee85=_0x35ee();return _0x3ec7=function(_0x3ec741,_0x3a264b){_0x3ec741=_0x3ec741-0x1f2;var _0x5048a0=_0x35ee85[_0x3ec741];return _0x5048a0;},_0x3ec7(_0xd3d377,_0xf6143f);}export class AIReviewModePromptInputView extends _0x5878ca{static [_0x48b193(0x1f3)]=0x1;static [_0x48b193(0x200)]=0xc;constructor(_0x580584){var _0x5eb025=_0x48b193;super(_0x580584),this[_0x5eb025(0x1f5)](_0x5eb025(0x1f7),!0x0),this[_0x5eb025(0x1f6)]=AIReviewModePromptInputView[_0x5eb025(0x1f3)],this[_0x5eb025(0x1f8)]=AIReviewModePromptInputView[_0x5eb025(0x200)],this[_0x5eb025(0x20c)]({'attributes':{'id':_0x5eb025(0x20b),'class':['ck',_0x5eb025(0x1f9)]}}),this[_0x5eb025(0x20c)]({'on':{'click':this[_0x5eb025(0x20a)]['to'](_0xbdab3=>{var _0xfeef8f=_0x5eb025;_0xbdab3[_0xfeef8f(0x20e)]();})}});}[_0x48b193(0x20d)](){var _0x1553aa=_0x48b193;super[_0x1553aa(0x20d)](),this['on'](_0x1553aa(0x207),()=>{var _0x42e5cc=_0x1553aa;this[_0x42e5cc(0x1f7)]=''===this[_0x42e5cc(0x1fb)][_0x42e5cc(0x205)]?.[_0x42e5cc(0x204)]();});}[_0x48b193(0x208)](_0x4ee90d){var _0x23fbd7=_0x48b193;this[_0x23fbd7(0x1f5)](_0x23fbd7(0x203),_0x4ee90d);}}
23
+ var _0x3557de=_0x3e68;function _0x3e68(_0x1d8a41,_0x5bca4d){var _0x3dd791=_0x3dd7();return _0x3e68=function(_0x3e6800,_0x114698){_0x3e6800=_0x3e6800-0x164;var _0x5e074d=_0x3dd791[_0x3e6800];return _0x5e074d;},_0x3e68(_0x1d8a41,_0x5bca4d);}function _0x3dd7(){var _0x52e50b=['trim','9zoocam','set','475218rWGlXD','setPlaceholderText','ai-review-mode-prompt-input','minRows','1294412Tucbov','value','placeholder','5rpJPQg','element','bindTemplate','render','extendTemplate','MIN_ROWS','1bsSKJM','5203230lqZbwt','1905312uGmmGo','update','2147206YlLuXd','2813184BrtFcs','MAX_ROWS','isEmpty','ck-review-mode__prompt-input','maxRows','6526480FRWiVU','stopPropagation'];_0x3dd7=function(){return _0x52e50b;};return _0x3dd7();}(function(_0xa512a3,_0x2f3839){var _0x50b0c8=_0x3e68,_0x49f235=_0xa512a3();while(!![]){try{var _0x49365d=-parseInt(_0x50b0c8(0x16a))/0x1*(-parseInt(_0x50b0c8(0x16e))/0x2)+-parseInt(_0x50b0c8(0x16c))/0x3+parseInt(_0x50b0c8(0x16f))/0x4+parseInt(_0x50b0c8(0x164))/0x5*(-parseInt(_0x50b0c8(0x179))/0x6)+-parseInt(_0x50b0c8(0x17d))/0x7+-parseInt(_0x50b0c8(0x174))/0x8+parseInt(_0x50b0c8(0x177))/0x9*(parseInt(_0x50b0c8(0x16b))/0xa);if(_0x49365d===_0x2f3839)break;else _0x49f235['push'](_0x49f235['shift']());}catch(_0x54cb02){_0x49f235['push'](_0x49f235['shift']());}}}(_0x3dd7,0x8e22d));import{TextareaView as _0x4c30f7}from'ckeditor5/src/ui.js';export class AIReviewModePromptInputView extends _0x4c30f7{static [_0x3557de(0x169)]=0x1;static [_0x3557de(0x170)]=0xc;constructor(_0x4e3d04){var _0x429bb6=_0x3557de;super(_0x4e3d04),this[_0x429bb6(0x178)](_0x429bb6(0x171),!0x0),this[_0x429bb6(0x17c)]=AIReviewModePromptInputView[_0x429bb6(0x169)],this[_0x429bb6(0x173)]=AIReviewModePromptInputView[_0x429bb6(0x170)],this[_0x429bb6(0x168)]({'attributes':{'id':_0x429bb6(0x17b),'class':['ck',_0x429bb6(0x172)]}}),this[_0x429bb6(0x168)]({'on':{'click':this[_0x429bb6(0x166)]['to'](_0x1d4965=>{var _0x4c44ca=_0x429bb6;_0x1d4965[_0x4c44ca(0x175)]();})}});}[_0x3557de(0x167)](){var _0x4c8ca1=_0x3557de;super[_0x4c8ca1(0x167)](),this['on'](_0x4c8ca1(0x16d),()=>{var _0x3d1152=_0x4c8ca1;this[_0x3d1152(0x171)]=''===this[_0x3d1152(0x165)][_0x3d1152(0x17e)]?.[_0x3d1152(0x176)]();});}[_0x3557de(0x17a)](_0x3161be){var _0x521ca0=_0x3557de;this[_0x521ca0(0x178)](_0x521ca0(0x17f),_0x3161be);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x184f70=_0x8f15;(function(_0x597e5d,_0x149499){const _0x1d3ace=_0x8f15,_0xb0585a=_0x597e5d();while(!![]){try{const _0x848389=parseInt(_0x1d3ace(0xc2))/0x1+parseInt(_0x1d3ace(0xb4))/0x2*(parseInt(_0x1d3ace(0xab))/0x3)+-parseInt(_0x1d3ace(0x9f))/0x4+parseInt(_0x1d3ace(0x9e))/0x5*(-parseInt(_0x1d3ace(0xa1))/0x6)+-parseInt(_0x1d3ace(0xb6))/0x7+parseInt(_0x1d3ace(0xba))/0x8*(parseInt(_0x1d3ace(0xc6))/0x9)+parseInt(_0x1d3ace(0xcc))/0xa;if(_0x848389===_0x149499)break;else _0xb0585a['push'](_0xb0585a['shift']());}catch(_0x47aa85){_0xb0585a['push'](_0xb0585a['shift']());}}}(_0x5179,0x1a5da));import{View as _0x439baf,ButtonView as _0x14769f}from'ckeditor5/src/ui.js';function _0x8f15(_0x5c85b7,_0xcc68eb){const _0x5179c5=_0x5179();return _0x8f15=function(_0x8f1565,_0x47baa8){_0x8f1565=_0x8f1565-0x9d;let _0x3a0faa=_0x5179c5[_0x8f1565];return _0x3a0faa;},_0x8f15(_0x5c85b7,_0xcc68eb);}function _0x5179(){const _0x36826e=['ck-ai-review-mode__check-run-result_active','1443000muZjOY','div','AI_REVIEW_MODE_ACCEPT_CHANGE','ck-ai-review-mode__check-run-result','AI_REVIEW_MODE_LEARN_MORE','1032695NNIjCk','819144lgtPLB','bindTemplate','6jmyYZu','dismissButtonView','isOn','setItemAsActive','resultResponseView','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','_createAcceptButtonView','menuitemcheckbox','dismissChange','_createInfoButtonView','58659rgYpsg','ck-ai-review-mode__check-run-result-footer','log','stopPropagation','bind','acceptChange','setTemplate','extendTemplate','execute','18czcyiU','ck-ai-review-mode__check-run-result-action-buttons','854252ROAUqk','Toggle\x20info\x20view','AI_REVIEW_MODE_DISMISS_CHANGE','ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button','64XcaQMZ','isActive','locale','click','_createResultResponseView','acceptButtonView','infoButtonView','setItemAsInactive','108526hFlAYg','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button','ck-ai-review-mode__check-run-result-response','fire','239121adEkRP','set','isInfoToggleOn','scrollToSuggestionInDocument','_createDismissButtonView'];_0x5179=function(){return _0x36826e;};return _0x5179();}import{IconInfo as _0x2eba1e}from'ckeditor5/src/icons.js';import{getTranslation as _0x6c9ce1}from'../utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x439baf{[_0x184f70(0xa5)];[_0x184f70(0xbf)];[_0x184f70(0xa2)];[_0x184f70(0xc0)];constructor(_0x54bbf7,_0x38d4ba){const _0x155188=_0x184f70;super(_0x54bbf7),this['id']=_0x38d4ba,this[_0x155188(0xa5)]=this[_0x155188(0xbe)](),this[_0x155188(0xbf)]=this[_0x155188(0xa7)](_0x38d4ba),this[_0x155188(0xa2)]=this[_0x155188(0xca)](_0x38d4ba),this[_0x155188(0xc0)]=this[_0x155188(0xaa)](),this[_0x155188(0xc7)](_0x155188(0xc8),!0x1),this[_0x155188(0xc7)](_0x155188(0xbb),!0x1),this[_0x155188(0xb1)]({'tag':_0x155188(0xcd),'attributes':{'class':[_0x155188(0xcf),this[_0x155188(0xa0)]['if'](_0x155188(0xbb),_0x155188(0xcb))]},'on':{'click':this[_0x155188(0xa0)]['to'](_0x155188(0xbd))},'children':[this[_0x155188(0xa5)],{'tag':_0x155188(0xcd),'attributes':{'class':[_0x155188(0xac)]},'children':[{'tag':_0x155188(0xcd),'attributes':{'class':[_0x155188(0xb5)]},'children':[this[_0x155188(0xbf)],this[_0x155188(0xa2)]]},this[_0x155188(0xc0)]]}]}),this['on'](_0x155188(0xbd),()=>{const _0x4f1084=_0x155188;this[_0x4f1084(0xc5)](_0x4f1084(0xc9),{'id':_0x38d4ba,'source':this});});}[_0x184f70(0xa4)](){const _0x25abac=_0x184f70;this[_0x25abac(0xbb)]=!0x0;}[_0x184f70(0xc1)](){const _0x4adf0e=_0x184f70;this[_0x4adf0e(0xbb)]=!0x1;}[_0x184f70(0xbe)](){const _0x429a42=_0x184f70,_0x38608b=new _0x439baf(this[_0x429a42(0xbc)]);return _0x38608b[_0x429a42(0xb1)]({'tag':_0x429a42(0xcd),'attributes':{'class':[_0x429a42(0xc4)]}}),_0x38608b;}[_0x184f70(0xa7)](_0x2d6dd8){const _0x4fc250=_0x184f70,_0x2c19ca=new _0x14769f(this[_0x4fc250(0xbc)]);return _0x2c19ca[_0x4fc250(0xc7)]({'label':_0x6c9ce1(this[_0x4fc250(0xbc)],_0x4fc250(0xce)),'withText':!0x0,'class':_0x4fc250(0xb9)}),_0x2c19ca[_0x4fc250(0xb2)]({'on':{'click':this[_0x4fc250(0xa0)]['to'](_0x547b71=>{const _0x277585=_0x4fc250;this[_0x277585(0xc5)](_0x277585(0xb0),{'id':_0x2d6dd8}),_0x547b71[_0x277585(0xae)]();})}}),_0x2c19ca;}[_0x184f70(0xca)](_0x35efce){const _0x4f549d=_0x184f70,_0x29d4b5=new _0x14769f(this[_0x4f549d(0xbc)]);return _0x29d4b5[_0x4f549d(0xc7)]({'label':_0x6c9ce1(this[_0x4f549d(0xbc)],_0x4f549d(0xb8)),'withText':!0x0,'class':_0x4f549d(0xc3)}),_0x29d4b5[_0x4f549d(0xb2)]({'on':{'click':this[_0x4f549d(0xa0)]['to'](_0x4e9271=>{const _0x44889c=_0x4f549d;this[_0x44889c(0xc5)](_0x44889c(0xa9),{'id':_0x35efce}),_0x4e9271[_0x44889c(0xae)]();})}}),_0x29d4b5;}[_0x184f70(0xaa)](){const _0x245c08=_0x184f70,_0x293ee9=new _0x14769f(this[_0x245c08(0xbc)]);return _0x293ee9[_0x245c08(0xc7)]({'label':_0x6c9ce1(this[_0x245c08(0xbc)],_0x245c08(0x9d)),'icon':_0x2eba1e,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x245c08(0xa8),'class':_0x245c08(0xa6)}),_0x293ee9[_0x245c08(0xaf)](_0x245c08(0xa3))['to'](this,_0x245c08(0xc8),_0x51e9ed=>_0x51e9ed),_0x293ee9['on'](_0x245c08(0xb3),()=>{const _0x1f151b=_0x245c08;console[_0x1f151b(0xad)](_0x1f151b(0xb7)),this[_0x1f151b(0xc8)]=!this[_0x1f151b(0xc8)];}),_0x293ee9;}}
23
+ const _0x7a7b4=_0x2aec;(function(_0x5dbcee,_0x884b79){const _0x3d5857=_0x2aec,_0x12ecac=_0x5dbcee();while(!![]){try{const _0x407867=parseInt(_0x3d5857(0xad))/0x1*(parseInt(_0x3d5857(0xb1))/0x2)+-parseInt(_0x3d5857(0xa6))/0x3*(-parseInt(_0x3d5857(0xb4))/0x4)+parseInt(_0x3d5857(0xbf))/0x5*(parseInt(_0x3d5857(0xca))/0x6)+parseInt(_0x3d5857(0xb9))/0x7+parseInt(_0x3d5857(0xab))/0x8+-parseInt(_0x3d5857(0xcf))/0x9*(-parseInt(_0x3d5857(0xaa))/0xa)+-parseInt(_0x3d5857(0xd0))/0xb;if(_0x407867===_0x884b79)break;else _0x12ecac['push'](_0x12ecac['shift']());}catch(_0x2389b6){_0x12ecac['push'](_0x12ecac['shift']());}}}(_0x1b4f,0x50b47));function _0x1b4f(){const _0x4dfe9a=['setItemAsInactive','set','ck-ai-review-mode__check-run-result-response','_createInfoButtonView','ck-ai-button-secondary\x20ck-ai-review-mode__check-run-result-accept-button','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-info-button\x20ck-hidden','locale','setTemplate','594291kEuQQk','ck-ai-review-mode__check-run-result-action-buttons','acceptChange','_createResultResponseView','650FtIFUh','2695384BsqQMj','Toggle\x20info\x20view','1083jtPMKu','AI_REVIEW_MODE_LEARN_MORE','click','extendTemplate','178xYyTLB','AI_REVIEW_MODE_DISMISS_CHANGE','bind','4BDaDrS','dismissChange','infoButtonView','scrollToSuggestionInDocument','resultResponseView','2235730VFOvLr','log','bindTemplate','_createDismissButtonView','setItemAsActive','dismissButtonView','5SNrcRq','isInfoToggleOn','ck-ai-review-mode__check-run-result','fire','menuitemcheckbox','stopPropagation','execute','ck-ai-review-mode__check-run-result_active','div','_createAcceptButtonView','ck-ai-review-mode__check-run-result-footer','1718322MpXvmg','isOn','AI_REVIEW_MODE_ACCEPT_CHANGE','isActive','ck-ai-button-tertiary-filled\x20ck-ai-review-mode__check-run-result-dismiss-button','58860DMyuDn','14648887kglYWp','acceptButtonView'];_0x1b4f=function(){return _0x4dfe9a;};return _0x1b4f();}import{View as _0x44fa38,ButtonView as _0x8f229e}from'ckeditor5/src/ui.js';function _0x2aec(_0x412331,_0xc92c54){const _0x1b4fca=_0x1b4f();return _0x2aec=function(_0x2aec90,_0x10a785){_0x2aec90=_0x2aec90-0x9d;let _0x2d3e7c=_0x1b4fca[_0x2aec90];return _0x2d3e7c;},_0x2aec(_0x412331,_0xc92c54);}import{IconInfo as _0x87d153}from'ckeditor5/src/icons.js';import{getTranslation as _0x4b05a0}from'../utils/common-translations.js';export class AIReviewModeReviewCheckListItemResultsView extends _0x44fa38{[_0x7a7b4(0xb8)];[_0x7a7b4(0x9d)];[_0x7a7b4(0xbe)];[_0x7a7b4(0xb6)];constructor(_0x3216c8,_0x3978b6){const _0x55d3d7=_0x7a7b4;super(_0x3216c8),this['id']=_0x3978b6,this[_0x55d3d7(0xb8)]=this[_0x55d3d7(0xa9)](),this[_0x55d3d7(0x9d)]=this[_0x55d3d7(0xc8)](_0x3978b6),this[_0x55d3d7(0xbe)]=this[_0x55d3d7(0xbc)](_0x3978b6),this[_0x55d3d7(0xb6)]=this[_0x55d3d7(0xa1)](),this[_0x55d3d7(0x9f)](_0x55d3d7(0xc0),!0x1),this[_0x55d3d7(0x9f)](_0x55d3d7(0xcd),!0x1),this[_0x55d3d7(0xa5)]({'tag':_0x55d3d7(0xc7),'attributes':{'class':[_0x55d3d7(0xc1),this[_0x55d3d7(0xbb)]['if'](_0x55d3d7(0xcd),_0x55d3d7(0xc6))]},'on':{'click':this[_0x55d3d7(0xbb)]['to'](_0x55d3d7(0xaf))},'children':[this[_0x55d3d7(0xb8)],{'tag':_0x55d3d7(0xc7),'attributes':{'class':[_0x55d3d7(0xc9)]},'children':[{'tag':_0x55d3d7(0xc7),'attributes':{'class':[_0x55d3d7(0xa7)]},'children':[this[_0x55d3d7(0x9d)],this[_0x55d3d7(0xbe)]]},this[_0x55d3d7(0xb6)]]}]}),this['on'](_0x55d3d7(0xaf),()=>{const _0x17f04b=_0x55d3d7;this[_0x17f04b(0xc2)](_0x17f04b(0xb7),{'id':_0x3978b6,'source':this});});}[_0x7a7b4(0xbd)](){const _0x1d315a=_0x7a7b4;this[_0x1d315a(0xcd)]=!0x0;}[_0x7a7b4(0x9e)](){const _0x2249ec=_0x7a7b4;this[_0x2249ec(0xcd)]=!0x1;}[_0x7a7b4(0xa9)](){const _0x20908b=_0x7a7b4,_0x4a6627=new _0x44fa38(this[_0x20908b(0xa4)]);return _0x4a6627[_0x20908b(0xa5)]({'tag':_0x20908b(0xc7),'attributes':{'class':[_0x20908b(0xa0)]}}),_0x4a6627;}[_0x7a7b4(0xc8)](_0x422d80){const _0xe70821=_0x7a7b4,_0x265fb9=new _0x8f229e(this[_0xe70821(0xa4)]);return _0x265fb9[_0xe70821(0x9f)]({'label':_0x4b05a0(this[_0xe70821(0xa4)],_0xe70821(0xcc)),'withText':!0x0,'class':_0xe70821(0xa2)}),_0x265fb9[_0xe70821(0xb0)]({'on':{'click':this[_0xe70821(0xbb)]['to'](_0xed31bb=>{const _0xba29ff=_0xe70821;this[_0xba29ff(0xc2)](_0xba29ff(0xa8),{'id':_0x422d80}),_0xed31bb[_0xba29ff(0xc4)]();})}}),_0x265fb9;}[_0x7a7b4(0xbc)](_0x34bf6c){const _0x3fe182=_0x7a7b4,_0x385566=new _0x8f229e(this[_0x3fe182(0xa4)]);return _0x385566[_0x3fe182(0x9f)]({'label':_0x4b05a0(this[_0x3fe182(0xa4)],_0x3fe182(0xb2)),'withText':!0x0,'class':_0x3fe182(0xce)}),_0x385566[_0x3fe182(0xb0)]({'on':{'click':this[_0x3fe182(0xbb)]['to'](_0x183116=>{const _0x483d91=_0x3fe182;this[_0x483d91(0xc2)](_0x483d91(0xb5),{'id':_0x34bf6c}),_0x183116[_0x483d91(0xc4)]();})}}),_0x385566;}[_0x7a7b4(0xa1)](){const _0x5e31e8=_0x7a7b4,_0x5842d0=new _0x8f229e(this[_0x5e31e8(0xa4)]);return _0x5842d0[_0x5e31e8(0x9f)]({'label':_0x4b05a0(this[_0x5e31e8(0xa4)],_0x5e31e8(0xae)),'icon':_0x87d153,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x5e31e8(0xc3),'class':_0x5e31e8(0xa3)}),_0x5842d0[_0x5e31e8(0xb3)](_0x5e31e8(0xcb))['to'](this,_0x5e31e8(0xc0),_0x298303=>_0x298303),_0x5842d0['on'](_0x5e31e8(0xc5),()=>{const _0x41a732=_0x5e31e8;console[_0x41a732(0xba)](_0x41a732(0xac)),this[_0x41a732(0xc0)]=!this[_0x41a732(0xc0)];}),_0x5842d0;}}
@@ -16,4 +16,8 @@ export declare class AIReviewModeCustomCheckView extends View {
16
16
  cancelButtonView: ButtonView;
17
17
  promptInputView: AIReviewModePromptInputView;
18
18
  constructor(locale: Locale, check: AIReviewCheckCustom);
19
+ /**
20
+ * Resets the form to its default state.
21
+ */
22
+ resetToDefault(): void;
19
23
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4fc5f3=_0x5753;(function(_0xf5fd88,_0x3df584){const _0x51e84c=_0x5753,_0x4a8314=_0xf5fd88();while(!![]){try{const _0x16092b=-parseInt(_0x51e84c(0x1e0))/0x1*(parseInt(_0x51e84c(0x1d5))/0x2)+-parseInt(_0x51e84c(0x1ee))/0x3+-parseInt(_0x51e84c(0x1e8))/0x4*(-parseInt(_0x51e84c(0x1d9))/0x5)+parseInt(_0x51e84c(0x204))/0x6+parseInt(_0x51e84c(0x1eb))/0x7*(parseInt(_0x51e84c(0x1d3))/0x8)+parseInt(_0x51e84c(0x1ce))/0x9+-parseInt(_0x51e84c(0x1fa))/0xa;if(_0x16092b===_0x3df584)break;else _0x4a8314['push'](_0x4a8314['shift']());}catch(_0xda6f46){_0x4a8314['push'](_0x4a8314['shift']());}}}(_0x3ade,0x1ce6d));import{Collection as _0x126ee7}from'ckeditor5/src/utils.js';function _0x5753(_0x522488,_0x4773a8){const _0x3ade2a=_0x3ade();return _0x5753=function(_0x575370,_0x77a761){_0x575370=_0x575370-0x1cc;let _0x1ada9a=_0x3ade2a[_0x575370];return _0x1ada9a;},_0x5753(_0x522488,_0x4773a8);}import{View as _0x118929,ButtonView as _0x4b4771,FormRowView as _0x468052,createDropdown as _0x250610,addListToDropdown as _0x3b5973,UIModel as _0x54f0d9,ButtonLabelView as _0x4b6d07}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x19f24a}from'./aireviemodepromptinputview.js';function _0x3ade(){const _0x286665=['submitButtonView','cancelCustomCheck','locale','element','608076EWypmw','source','_modelSelectionDropdownItems','prompt','Review','clear','1183932IxqpMv','model','models','add','log','232vACybs','value','224ECJLIk','fire','_check','_modelSelectionDropdown','86770PSCOQr','cancelButtonView','stopPropagation','input','runReviewCheck','ck-ai-review-mode__check-list-item-custom-actions-footer','modelId','1699fjaIGk','listenTo','setTemplate','extendTemplate','buttonView','_setModelList','ck-ai-review-mode__check-list-item-custom-actions','name','12PBvoGn','bindTemplate','_createSubmitButtonView','55307PzhnHx','label','menuitemradio','353094zfTSsc','Custom\x20check\x20canceled','execute','_createModelSelectionDropdown','length','set','div','button','bind','ck-ai-button-primary','_createCancelButtonView','ck-ai-review-mode__check-list-item-parameterized-custom-actions-buttons','877180rzvOEA','Cancel','isOn','ck-ai-button-tertiary-filled','custom','promptInputView'];_0x3ade=function(){return _0x286665;};return _0x3ade();}export class AIReviewModeCustomCheckView extends _0x118929{[_0x4fc5f3(0x200)];[_0x4fc5f3(0x1da)];[_0x4fc5f3(0x1ff)];[_0x4fc5f3(0x1d8)];[_0x4fc5f3(0x206)];[_0x4fc5f3(0x1d7)];constructor(_0x1ed69d,_0x2a04b1){const _0x16664d=_0x4fc5f3;super(_0x1ed69d),this[_0x16664d(0x1d7)]=_0x2a04b1,this[_0x16664d(0x1f3)](_0x16664d(0x207),''),this[_0x16664d(0x1f3)](_0x16664d(0x1df),''),this[_0x16664d(0x200)]=this[_0x16664d(0x1ea)](),this[_0x16664d(0x1da)]=this[_0x16664d(0x1f8)](),this[_0x16664d(0x1ff)]=new _0x19f24a(_0x1ed69d),this[_0x16664d(0x1ff)][_0x16664d(0x1f6)](_0x16664d(0x1d4))['to'](this,_0x16664d(0x207)),this[_0x16664d(0x1ff)]['on'](_0x16664d(0x1dc),()=>{const _0x24929d=_0x16664d;this[_0x24929d(0x207)]=this[_0x24929d(0x1ff)][_0x24929d(0x203)][_0x24929d(0x1d4)];}),this[_0x16664d(0x1d8)]=this[_0x16664d(0x1f1)](),this[_0x16664d(0x206)]=new _0x126ee7(),this[_0x16664d(0x1e5)](),_0x3b5973(this[_0x16664d(0x1d8)],this[_0x16664d(0x206)]);const _0x209535=new _0x118929(_0x1ed69d);_0x209535[_0x16664d(0x1e2)]({'tag':_0x16664d(0x1f4),'attributes':{'class':[_0x16664d(0x1de)]},'children':[this[_0x16664d(0x1d8)],{'tag':_0x16664d(0x1f4),'attributes':{'class':[_0x16664d(0x1f9)]},'children':[this[_0x16664d(0x1da)],this[_0x16664d(0x200)]]}]}),this[_0x16664d(0x1e2)]({'tag':_0x16664d(0x1f4),'attributes':{'class':[_0x16664d(0x1e6)]},'children':[new _0x468052(this[_0x16664d(0x202)],{'children':[this[_0x16664d(0x1ff)]]}),new _0x468052(this[_0x16664d(0x202)],{'children':[_0x209535]})]});}[_0x4fc5f3(0x1ea)](){const _0x48699a=_0x4fc5f3,_0x1b61db=new _0x4b4771(this[_0x48699a(0x202)]);return _0x1b61db[_0x48699a(0x1f3)]({'label':_0x48699a(0x1cc),'withText':!0x0,'class':_0x48699a(0x1f7)}),_0x1b61db[_0x48699a(0x1e3)]({'on':{'click':this[_0x48699a(0x1e9)]['to'](_0x2fe714=>{const _0x342f0e=_0x48699a;_0x2fe714[_0x342f0e(0x1db)]();})}}),_0x1b61db['on'](_0x48699a(0x1f0),()=>{const _0x532075=_0x48699a;this[_0x532075(0x1d6)](_0x532075(0x1dd),{'id':_0x532075(0x1fe),'args':{'prompt':this[_0x532075(0x207)],'model':this[_0x532075(0x1df)]},'isCustom':!0x0});}),_0x1b61db;}[_0x4fc5f3(0x1f8)](){const _0x3bb6e3=_0x4fc5f3,_0x4d813e=new _0x4b4771(this[_0x3bb6e3(0x202)]);return _0x4d813e[_0x3bb6e3(0x1f3)]({'label':_0x3bb6e3(0x1fb),'withText':!0x0,'class':_0x3bb6e3(0x1fd)}),_0x4d813e['on'](_0x3bb6e3(0x1f0),()=>{const _0x232b19=_0x3bb6e3;console[_0x232b19(0x1d2)](_0x232b19(0x1ef)),this[_0x232b19(0x207)]='',this[_0x232b19(0x1d6)](_0x232b19(0x201));}),_0x4d813e;}[_0x4fc5f3(0x1e5)](){const _0x4a67e7=_0x4fc5f3;this[_0x4a67e7(0x206)][_0x4a67e7(0x1cd)]();const _0x4ae1b1=this[_0x4a67e7(0x1d7)][_0x4a67e7(0x1d0)];if(_0x4ae1b1?.[_0x4a67e7(0x1f2)])for(const _0x2205fd of _0x4ae1b1){const _0x4c9657=new _0x54f0d9({'label':_0x2205fd[_0x4a67e7(0x1e7)],'withText':!0x0,'role':_0x4a67e7(0x1ed),'id':_0x2205fd['id'],'model':_0x2205fd});_0x4c9657[_0x4a67e7(0x1f6)](_0x4a67e7(0x1fc))['to'](this,_0x4a67e7(0x1df),_0x42e440=>_0x42e440===_0x2205fd['id']),this[_0x4a67e7(0x206)][_0x4a67e7(0x1d1)]({'type':_0x4a67e7(0x1f5),'model':_0x4c9657,'labelView':new _0x4b6d07()});}}[_0x4fc5f3(0x1f1)](){const _0x27813c=_0x4fc5f3,_0x4e071d=_0x250610(this[_0x27813c(0x202)]);return _0x4e071d[_0x27813c(0x1f3)]({'panelPosition':'se'}),_0x4e071d[_0x27813c(0x1e3)]({'on':{'click':this[_0x27813c(0x1e9)]['to'](_0x4a5ee3=>{const _0x41d634=_0x27813c;_0x4a5ee3[_0x41d634(0x1db)]();})}}),_0x4e071d[_0x27813c(0x1e4)][_0x27813c(0x1f3)]({'label':this[_0x27813c(0x1d7)][_0x27813c(0x1d0)][0x0][_0x27813c(0x1e7)],'withText':!0x0,'tooltip':!0x0}),this[_0x27813c(0x1e1)](_0x4e071d,_0x27813c(0x1f0),_0x1091fc=>{const _0x53d163=_0x27813c;this[_0x53d163(0x1df)]=_0x1091fc[_0x53d163(0x205)][_0x53d163(0x1cf)]['id'],_0x4e071d[_0x53d163(0x1e4)][_0x53d163(0x1ec)]=_0x1091fc[_0x53d163(0x205)][_0x53d163(0x1ec)];}),_0x4e071d;}}
23
+ import{Collection as _0x166461}from'ckeditor5/src/utils.js';import{View as _0x28d632,ButtonView as _0x4031e4,FormRowView as _0x545726,createDropdown as _0x4bb6b9,addListToDropdown as _0x23c78a,UIModel as _0x37aca6,ButtonLabelView as _0x285968}from'ckeditor5/src/ui.js';import{AIReviewModePromptInputView as _0x2c4451}from'./aireviemodepromptinputview.js';export class AIReviewModeCustomCheckView extends _0x28d632{['submitButtonView'];['cancelButtonView'];['promptInputView'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x3a55c6,_0x17ec4e){super(_0x3a55c6),this['_check']=_0x17ec4e,this['set']('prompt',''),this['set']('modelId',''),this['_defaultValue']=_0x17ec4e['models']&&_0x17ec4e['models']['length']>0x0?_0x17ec4e['models'][0x0]['id']:'',this['_defaultLabel']=_0x17ec4e['models']&&_0x17ec4e['models']['length']>0x0?_0x17ec4e['models'][0x0]['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),this['promptInputView']=new _0x2c4451(_0x3a55c6),this['promptInputView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['on']('input',()=>{this['prompt']=this['promptInputView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x166461(),this['_setModelList'](),_0x23c78a(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);const _0x6d4f3=new _0x28d632(_0x3a55c6);_0x6d4f3['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 _0x545726(this['locale'],{'children':[this['promptInputView']]}),new _0x545726(this['locale'],{'children':[_0x6d4f3]})]});}['resetToDefault'](){this['prompt']='',this['modelId']=this['_defaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['_defaultLabel'];}['_createSubmitButtonView'](){const _0x14da51=new _0x4031e4(this['locale']),t=this['locale']['t'];return _0x14da51['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x14da51['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x5e3253=>{_0x5e3253['stopPropagation']();})}}),_0x14da51['on']('execute',()=>{this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x14da51;}['_createCancelButtonView'](){const _0x178f60=new _0x4031e4(this['locale']),t=this['locale']['t'];return _0x178f60['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary-filled'}),_0x178f60['on']('execute',()=>{this['resetToDefault']();}),_0x178f60;}['_setModelList'](){this['_modelSelectionDropdownItems']['clear']();const _0x3f2fcd=this['_check']['models'];if(this['resetToDefault'](),_0x3f2fcd?.['length'])for(const _0x38e2c4 of _0x3f2fcd){const _0x240852=new _0x37aca6({'label':_0x38e2c4['name'],'withText':!0x0,'role':'menuitemradio','id':_0x38e2c4['id'],'model':_0x38e2c4});_0x240852['bind']('isOn')['to'](this,'modelId',_0x5d11bd=>_0x5d11bd===_0x38e2c4['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x240852,'labelView':new js(this['locale'],_0x38e2c4)});}}['_createModelSelectionDropdown'](){const _0x263081=_0x4bb6b9(this['locale']);return _0x263081['set']({'panelPosition':'se','class':'ck-ai-review-mode__check-list-item-model-dropdown'}),_0x263081['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4c32d4=>{_0x4c32d4['stopPropagation']();})}}),_0x263081['buttonView']['set']({'label':this['_check']['models'][0x0]['name'],'withText':!0x0,'tooltip':!0x0}),this['listenTo'](_0x263081,'execute',_0x41420e=>{this['modelId']=_0x41420e['source']['model']['id'],_0x263081['buttonView']['label']=_0x41420e['source']['label'];}),_0x263081;}}class js extends _0x285968{constructor(_0x37eff2,_0x49060b){super();const _0x107263=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x107263['to']('style'),'id':_0x107263['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-name']},'children':[{'text':_0x107263['to']('text')}]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[{'text':_0x49060b['description']}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1db8d5=_0x57a6;(function(_0x149705,_0x1c3147){const _0x9e9dd3=_0x57a6,_0x4beb1a=_0x149705();while(!![]){try{const _0x36d4af=-parseInt(_0x9e9dd3(0xa1))/0x1*(parseInt(_0x9e9dd3(0xab))/0x2)+-parseInt(_0x9e9dd3(0xa2))/0x3+parseInt(_0x9e9dd3(0xad))/0x4+-parseInt(_0x9e9dd3(0xaf))/0x5*(parseInt(_0x9e9dd3(0x9a))/0x6)+-parseInt(_0x9e9dd3(0xb1))/0x7+-parseInt(_0x9e9dd3(0xa0))/0x8+parseInt(_0x9e9dd3(0x9d))/0x9*(parseInt(_0x9e9dd3(0xa8))/0xa);if(_0x36d4af===_0x1c3147)break;else _0x4beb1a['push'](_0x4beb1a['shift']());}catch(_0x1c8698){_0x4beb1a['push'](_0x4beb1a['shift']());}}}(_0x3eee,0x7c9ee));function _0x57a6(_0x373465,_0x1e6762){const _0x3eeeec=_0x3eee();return _0x57a6=function(_0x57a6d0,_0x582311){_0x57a6d0=_0x57a6d0-0x96;let _0x26aed1=_0x3eeeec[_0x57a6d0];return _0x26aed1;},_0x57a6(_0x373465,_0x1e6762);}function _0x3eee(){const _0x1dff57=['_checkViews','div','437193ikcWxe','locale','ck-hidden','4656760GaCHhm','4yAmidA','2657925SmpQev','setCustomCheckModel','entries','length','setChecks','setTemplate','710jaudYR','isVisible','resetAllParameterizedChecks','282318JsWfqR','add','1886792OTwVHb','resetToDefault','66245MDvdiT','hasChecks','2779609JDQsYm','clear','delegate','cancelCustomCheck','ck-ai-review-mode__check-list','runReviewCheck','bindTemplate','444YlTqJo'];_0x3eee=function(){return _0x1dff57;};return _0x3eee();}import{ListItemView as _0x92b0de,ViewCollection as _0x2a5afe}from'ckeditor5/src/ui.js';import{AIReviewModeReviewCommandListItemView as _0x2d8033}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0x92b0de{[_0x1db8d5(0x9b)];constructor(_0x3669d6){const _0x93f5a9=_0x1db8d5;super(_0x3669d6),this[_0x93f5a9(0x9b)]=new _0x2a5afe();const _0x589bf5=this[_0x93f5a9(0x99)];this[_0x93f5a9(0xa7)]({'tag':_0x93f5a9(0x9c),'attributes':{'class':[_0x93f5a9(0x97),_0x589bf5['if'](_0x93f5a9(0xa9),_0x93f5a9(0x9f),_0x5812a4=>!_0x5812a4)]},'children':this[_0x93f5a9(0x9b)]});}[_0x1db8d5(0xa6)](_0x4087cd){const _0x574fc0=_0x1db8d5;this[_0x574fc0(0x9b)][_0x574fc0(0xb2)]();for(const [_0xae4571,_0x483d06]of _0x4087cd[_0x574fc0(0xa4)]()){const _0x4be7ed=new _0x2d8033(this[_0x574fc0(0x9e)],_0x483d06,_0xae4571);_0x4be7ed[_0x574fc0(0xb3)](_0x574fc0(0x98))['to'](this),_0x4be7ed[_0x574fc0(0xb3)](_0x574fc0(0x96))['to'](this),_0x4be7ed[_0x574fc0(0xb3)](_0x574fc0(0xa3))['to'](this),this[_0x574fc0(0x9b)][_0x574fc0(0xac)](_0x4be7ed);}}[_0x1db8d5(0xb0)](){const _0x471168=_0x1db8d5;return this[_0x471168(0x9b)][_0x471168(0xa5)]>0x0;}[_0x1db8d5(0xaa)](){const _0x538bc4=_0x1db8d5;for(const _0x40832b of this[_0x538bc4(0x9b)])_0x40832b instanceof _0x2d8033&&_0x40832b[_0x538bc4(0xae)]();}}
23
+ const _0x970a67=_0x2491;(function(_0x1dcc39,_0x402130){const _0x415045=_0x2491,_0x5946c4=_0x1dcc39();while(!![]){try{const _0x10e3eb=-parseInt(_0x415045(0x1c1))/0x1+-parseInt(_0x415045(0x1c5))/0x2*(-parseInt(_0x415045(0x1c4))/0x3)+parseInt(_0x415045(0x1c3))/0x4+-parseInt(_0x415045(0x1ca))/0x5+-parseInt(_0x415045(0x1ce))/0x6+-parseInt(_0x415045(0x1ba))/0x7*(parseInt(_0x415045(0x1b6))/0x8)+-parseInt(_0x415045(0x1c9))/0x9*(-parseInt(_0x415045(0x1be))/0xa);if(_0x10e3eb===_0x402130)break;else _0x5946c4['push'](_0x5946c4['shift']());}catch(_0x5ba7f1){_0x5946c4['push'](_0x5946c4['shift']());}}}(_0x415c,0x6a10e));function _0x415c(){const _0x2e3ce6=['_checkViews','bindTemplate','1362810GomNCk','clear','isVisible','delegate','1120624rhNfeB','entries','resetAllParameterizedChecks','ck-hidden','28CIkIMa','add','resetToDefault','length','140aunRBW','runReviewCheck','locale','781811VDbOoL','hasChecks','2130808XwLfrA','390BSwTsI','5532PyQHRc','setTemplate','setChecks','div','816714oXiEJX','795110lVSQMN','ck-ai-review-mode__check-list'];_0x415c=function(){return _0x2e3ce6;};return _0x415c();}import{ListItemView as _0xb7bb21,ViewCollection as _0xebac79}from'ckeditor5/src/ui.js';function _0x2491(_0x587413,_0x9cac03){const _0x415ce5=_0x415c();return _0x2491=function(_0x24915a,_0x1f95f3){_0x24915a=_0x24915a-0x1b6;let _0x4abce3=_0x415ce5[_0x24915a];return _0x4abce3;},_0x2491(_0x587413,_0x9cac03);}import{AIReviewModeReviewCommandListItemView as _0x4cbfe1}from'./aireviewmodereviewcommandlistitemview.js';import'../../../theme/aireviewmode/aireviewmode-check-list.css';export class AIReviewModeReviewCheckListView extends _0xb7bb21{[_0x970a67(0x1cc)];constructor(_0x28588c){const _0x2df72a=_0x970a67;super(_0x28588c),this[_0x2df72a(0x1cc)]=new _0xebac79();const _0x48e499=this[_0x2df72a(0x1cd)];this[_0x2df72a(0x1c6)]({'tag':_0x2df72a(0x1c8),'attributes':{'class':[_0x2df72a(0x1cb),_0x48e499['if'](_0x2df72a(0x1d0),_0x2df72a(0x1b9),_0xac5367=>!_0xac5367)]},'children':this[_0x2df72a(0x1cc)]});}[_0x970a67(0x1c7)](_0x1d83a3){const _0x17ae12=_0x970a67;this[_0x17ae12(0x1cc)][_0x17ae12(0x1cf)]();for(const [_0x4841e8,_0x4b1ca5]of _0x1d83a3[_0x17ae12(0x1b7)]()){const _0x4486da=new _0x4cbfe1(this[_0x17ae12(0x1c0)],_0x4b1ca5,_0x4841e8);_0x4486da[_0x17ae12(0x1d1)](_0x17ae12(0x1bf))['to'](this),this[_0x17ae12(0x1cc)][_0x17ae12(0x1bb)](_0x4486da);}}[_0x970a67(0x1c2)](){const _0x45f6b0=_0x970a67;return this[_0x45f6b0(0x1cc)][_0x45f6b0(0x1bd)]>0x0;}[_0x970a67(0x1b8)](){const _0x106dc3=_0x970a67;for(const _0x20abce of this[_0x106dc3(0x1cc)])_0x20abce instanceof _0x4cbfe1&&_0x20abce[_0x106dc3(0x1bc)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x32a98e,View as _0x44f538,ViewCollection as _0x12b242,ButtonView as _0x516902}from'ckeditor5/src/ui.js';import{IconStop as _0x552b7b,IconEye as _0x578dab,IconEyeCrossedOut as _0x289a76}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x25965b}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x4f3bdf,SKELETON_DEFINITIONS as _0x2e59c5}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x26d783}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x1317d7}from'../utils/common-translations.js';import{AISpinnerView as _0x4d9ba7}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';export class AIReviewModeReviewCheckResultsView extends _0x32a98e{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0x1b128e){super(_0x1b128e),this['_resultViews']=new _0x12b242(),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 _0x26d783(_0x1b128e),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 _0x19db70=this['_createCombinedSkeletonLoader'](),_0xa5ae1c=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0xa5ae1c['if']('isVisible','ck-hidden',_0x21f824=>!_0x21f824)]},'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',_0x26a4f9=>_0x26a4f9)]},'children':this['_resultViews']},_0x19db70]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x4c707a){const _0x4c21b5=new _0x25965b(this['locale'],_0x4c707a['id']);_0x4c21b5['delegate']('acceptChange','dismissChange','scrollToSuggestionInDocument')['to'](this),this['_resultViews']['add'](_0x4c21b5),_0x4c21b5['resultResponseView']['element']['innerHTML']=_0x4c707a['contentDiffed'];}['hideResult'](_0x5db633){const _0xafc266=this['_resultViews']['find'](_0x1c33b5=>_0x1c33b5['id']===_0x5db633);_0xafc266&&(_0xafc266['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0xafc266['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0xafc266),_0xafc266['destroy']();},{'once':!0x0}));}['setTitle'](_0x26dd5b){this['headerTitle']=_0x26dd5b;}['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 _0x4f3bdf(this['locale'],_0x2e59c5['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x595155=new _0x44f538(this['locale']),_0x372ddd=[];for(let _0x3d5320=0x0;_0x3d5320<0x10;_0x3d5320++){const _0x3cd3da=this['_createSkeletonLoader']();_0x3cd3da['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x372ddd['push'](_0x3cd3da);}return _0x595155['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x5d3ebc=>!_0x5d3ebc)]},'children':_0x372ddd}),_0x595155;}['_createErrorView'](){const _0x4ca73=new _0x44f538(this['locale']),_0x2ae2dc=new _0x516902(this['locale']),t=this['locale']['t'];return _0x4ca73['delegate']('retryReview')['to'](this),_0x2ae2dc['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x2ae2dc['on']('execute',()=>{this['fire']('retryReview');}),_0x4ca73['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x40ce9a=>!_0x40ce9a),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x21f001=>'chunk'===_0x21f001)]},'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',_0x21b615=>'chunk'===_0x21b615)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x3a1bee=>'general'!==_0x3a1bee)]},'children':[{'text':_0x1317d7(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x424a62=>'chunk'!==_0x424a62)]},'children':[{'text':_0x1317d7(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x2ae2dc]}),_0x4ca73;}['_createCancelButtonView'](){const _0x40d05f=new _0x516902(this['locale']);return _0x40d05f['set']({'label':_0x1317d7(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x552b7b}),_0x40d05f['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x234618=>_0x234618)]}}),_0x40d05f['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x40d05f;}['_createToggleDiffButtonView'](){const _0x4215f9=new _0x516902(this['locale']);_0x4215f9['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x4215f9['bind']('isEnabled')['to'](this,'isError',_0x5aad16=>!_0x5aad16),_0x4215f9['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x23ff20=>!_0x23ff20)]}});const _0x230b1d=_0x1317d7(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x4996d0=_0x1317d7(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x4215f9['bind']('isOn')['to'](this,'isToggleDiffOn',_0x76e320=>_0x76e320),_0x4215f9['bind']('icon')['to'](this,'isToggleDiffOn',_0x164d81=>_0x164d81?_0x578dab:_0x289a76),_0x4215f9['bind']('label')['to'](this,'isToggleDiffOn',_0x3acb3c=>_0x3acb3c?_0x230b1d:_0x4996d0),_0x4215f9['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x4215f9;}['_createAcceptAllButtonView'](){const _0x39b940=new _0x516902(this['locale']);return _0x39b940['set']({'label':_0x1317d7(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x39b940['bind']('isEnabled')['to'](this,'isError',_0x395170=>!_0x395170),_0x39b940['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x35e70e=>!_0x35e70e)]}}),_0x39b940['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x39b940;}['_createExitReviewButtonView'](){const _0x30bd1d=new _0x516902(this['locale']);return _0x30bd1d['set']({'label':_0x1317d7(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x30bd1d['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x353d02=>!_0x353d02)]}}),_0x30bd1d['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x30bd1d;}['_createResultHeaderView'](){const _0x5323a5=new _0x44f538(this['locale']),_0x5228ee=new _0x4d9ba7();return _0x5228ee['bind']('isVisible')['to'](this,'isResultReady',_0x2e7d0b=>!_0x2e7d0b),_0x5323a5['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':[_0x5228ee,this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x5323a5;}}
23
+ import{ListItemView as _0x181fd7,View as _0x5cddfe,ViewCollection as _0x42cac6,ButtonView as _0x2d30b6}from'ckeditor5/src/ui.js';import{IconStop as _0x103391,IconEye as _0x580772,IconEyeCrossedOut as _0x1f3c19}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListItemResultsView as _0x5dae6a}from'./aireviewmodechecklistitemresultview.js';import{AISkeletonView as _0x20c95f,SKELETON_DEFINITIONS as _0xa12850}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x58431c}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0xa3b51a}from'../utils/common-translations.js';import{AISpinnerView as _0x1a0965}from'../../aicore/ui/aispinner.js';import'../../../theme/aireviewmode/aireviewmode-check-run.css';export class AIReviewModeReviewCheckResultsView extends _0x181fd7{['_resultViews'];['resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];constructor(_0x444211){super(_0x444211),this['_resultViews']=new _0x42cac6(),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 _0x58431c(_0x444211),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 _0x304030=this['_createCombinedSkeletonLoader'](),_0x3b8434=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run',_0x3b8434['if']('isVisible','ck-hidden',_0x4578c2=>!_0x4578c2)]},'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',_0x500882=>_0x500882)]},'children':this['_resultViews']},_0x304030]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x5281e9){const _0xe2a7c6=new _0x5dae6a(this['locale'],_0x5281e9['id']);_0xe2a7c6['delegate']('acceptChange','dismissChange','scrollToSuggestionInDocument')['to'](this),this['_resultViews']['add'](_0xe2a7c6),_0xe2a7c6['resultResponseView']['element']['innerHTML']=_0x5281e9['contentDiffed'];}['hideResult'](_0x469812){const _0x58f095=this['_resultViews']['find'](_0x23ef2a=>_0x23ef2a['id']===_0x469812);_0x58f095&&(_0x58f095['element']?.['classList']['add']('ck-ai-review-mode__check-run-result_removing'),_0x58f095['element']?.['addEventListener']('animationend',()=>{this['_resultViews']['remove'](_0x58f095),_0x58f095['destroy']();},{'once':!0x0}));}['setTitle'](_0x387783){this['headerTitle']=_0x387783;}['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 _0x20c95f(this['locale'],_0xa12850['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x54afa5=new _0x5cddfe(this['locale']),_0x5637b2=[];for(let _0x47b92e=0x0;_0x47b92e<0x10;_0x47b92e++){const _0x28dd7f=this['_createSkeletonLoader']();_0x28dd7f['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-run-skeleton-item']}}),_0x5637b2['push'](_0x28dd7f);}return _0x54afa5['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x16e925=>!_0x16e925)]},'children':_0x5637b2}),_0x54afa5;}['_createErrorView'](){const _0x2c0ea3=new _0x5cddfe(this['locale']),_0x23e661=new _0x2d30b6(this['locale']),t=this['locale']['t'];return _0x2c0ea3['delegate']('retryReview')['to'](this),_0x23e661['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai-review-mode__check-run-error-retry-button'}),_0x23e661['on']('execute',()=>{this['fire']('retryReview');}),_0x2c0ea3['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x4eacde=>!_0x4eacde),this['bindTemplate']['if']('errorType','ck-ai-review-mode__check-run-error-container_border-bottom',_0x3b8479=>'chunk'===_0x3b8479)]},'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',_0x13bf29=>'chunk'===_0x13bf29)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x7e40f=>'general'!==_0x7e40f)]},'children':[{'text':_0xa3b51a(this['locale'],'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}]},{'tag':'p','attributes':{'class':['ck-ai-chat-error__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x54d9ba=>'chunk'!==_0x54d9ba)]},'children':[{'text':_0xa3b51a(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x23e661]}),_0x2c0ea3;}['_createCancelButtonView'](){const _0x370c9d=new _0x2d30b6(this['locale']);return _0x370c9d['set']({'label':_0xa3b51a(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ai-chat-controls-loader__cancel-button'],'icon':_0x103391}),_0x370c9d['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3490a2=>_0x3490a2)]}}),_0x370c9d['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x370c9d;}['_createToggleDiffButtonView'](){const _0x21e22a=new _0x2d30b6(this['locale']);_0x21e22a['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x21e22a['bind']('isEnabled')['to'](this,'isError',_0x1f10d3=>!_0x1f10d3),_0x21e22a['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai-review-mode__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x38b237=>!_0x38b237)]}});const _0x47657c=_0xa3b51a(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x45258e=_0xa3b51a(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x21e22a['bind']('isOn')['to'](this,'isToggleDiffOn',_0x5c0832=>_0x5c0832),_0x21e22a['bind']('icon')['to'](this,'isToggleDiffOn',_0x526b1c=>_0x526b1c?_0x580772:_0x1f3c19),_0x21e22a['bind']('label')['to'](this,'isToggleDiffOn',_0x3a64bd=>_0x3a64bd?_0x47657c:_0x45258e),_0x21e22a['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x21e22a;}['_createAcceptAllButtonView'](){const _0x4768dd=new _0x2d30b6(this['locale']);return _0x4768dd['set']({'label':_0xa3b51a(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x4768dd['bind']('isEnabled')['to'](this,'isError',_0x8554af=>!_0x8554af),_0x4768dd['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai-review-mode__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1146df=>!_0x1146df)]}}),_0x4768dd['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x4768dd;}['_createExitReviewButtonView'](){const _0x151aeb=new _0x2d30b6(this['locale']);return _0x151aeb['set']({'label':_0xa3b51a(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x151aeb['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary-filled','ck-ai-review-mode__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x593727=>!_0x593727)]}}),_0x151aeb['on']('execute',()=>{this['fire']('leaveReviewModeResultList');}),_0x151aeb;}['_createResultHeaderView'](){const _0x4bc3d6=new _0x5cddfe(this['locale']),_0x240287=new _0x1a0965();return _0x240287['bind']('isVisible')['to'](this,'isResultReady',_0x5904c5=>!_0x5904c5),_0x4bc3d6['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':[_0x240287,this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView']]}]}),_0x4bc3d6;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x11a6(){const _0xa061d7=['element','join','span','ck-ai-review-mode__check-list-item-description','isParameterized','ck-ai-review-mode__check-list-item_rendered','isParametrizedViewOpen','description','isItemParametrized','4494765dkoKsL','4cFpYkC','runReviewCheck','push','ck-ai-review-mode__check-list-item','ck-ai-review-mode__check-list-item-title','8564650tgbyEp','setCustomCheckModel','locale','ck-ai-review-mode__check-list-item-parameterized','_createFormView','_formItemsCollection','title','bindTemplate','_createCustomView','stopPropagation','ck-ai-review-mode__check-list-item-title-text','2775249BPszxJ','6055360rROBCe','1465008QfdIPi','ck-ai-review-mode__check-list-item-title-icon','isArray','argsKey','custom','Submit','execute','resetToDefault','ck-ai-review-mode__check-list-item-parameterized-form','length','1170492iUdHSn','forEach','ck-ai-review-mode__check-list-item-parameterized_custom','isListItemRendered','render','ck-ai-review-mode__check-list-item-main-content','cancelCustomCheck','extendTemplate','content','_createParameterizedView','delegate','div','18NqaOSm','ck-ai-review-mode__check-list-item_selected','ck-ai-button-primary','set','fire','ck-hidden','value','65499Qsofpo','click','add','useArgs','_createIconView','options','726Zbgame','setTemplate','ck-ai-review-mode__check-list-item-content'];_0x11a6=function(){return _0xa061d7;};return _0x11a6();}function _0x33fa(_0x2d2319,_0x180d1a){const _0x11a635=_0x11a6();return _0x33fa=function(_0x33fa55,_0x2bbabd){_0x33fa55=_0x33fa55-0x11b;let _0x3a69f3=_0x11a635[_0x33fa55];return _0x3a69f3;},_0x33fa(_0x2d2319,_0x180d1a);}const _0x4019d3=_0x33fa;(function(_0x486763,_0xbfecac){const _0x1716e2=_0x33fa,_0x5d8528=_0x486763();while(!![]){try{const _0xba859d=parseInt(_0x1716e2(0x12b))/0x1+-parseInt(_0x1716e2(0x121))/0x2+-parseInt(_0x1716e2(0x11f))/0x3*(-parseInt(_0x1716e2(0x151))/0x4)+-parseInt(_0x1716e2(0x150))/0x5+parseInt(_0x1716e2(0x144))/0x6*(parseInt(_0x1716e2(0x13e))/0x7)+parseInt(_0x1716e2(0x120))/0x8+-parseInt(_0x1716e2(0x137))/0x9*(parseInt(_0x1716e2(0x156))/0xa);if(_0xba859d===_0xbfecac)break;else _0x5d8528['push'](_0x5d8528['shift']());}catch(_0x4d3c95){_0x5d8528['push'](_0x5d8528['shift']());}}}(_0x11a6,0x9c531));import{ListItemView as _0x9f1704,IconView as _0x1d705e,View as _0x3c5e3b,ViewCollection as _0x311191,ButtonView as _0x222c23,clickOutsideHandler as _0x28d871}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x297130}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x36f500}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x6b4619}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x9f1704{[_0x4019d3(0x15b)]=new _0x311191();constructor(_0x32c551,_0x4adfb3,_0x1be9d9){const _0x5c23d4=_0x4019d3;super(_0x32c551),this[_0x5c23d4(0x13a)](_0x5c23d4(0x14d),!0x1),this[_0x5c23d4(0x13a)](_0x5c23d4(0x12e),!0x1),this[_0x5c23d4(0x13a)](_0x5c23d4(0x14f),_0x4adfb3[_0x5c23d4(0x14b)]);const _0x446b1c=this[_0x5c23d4(0x142)]();this[_0x5c23d4(0x145)]({'tag':_0x5c23d4(0x136),'attributes':{'class':[_0x5c23d4(0x154),this[_0x5c23d4(0x11b)]['if'](_0x5c23d4(0x14d),_0x5c23d4(0x138),_0x2f18db=>_0x2f18db),this[_0x5c23d4(0x11b)]['if'](_0x5c23d4(0x12e),_0x5c23d4(0x14c),_0x496ff0=>_0x496ff0)],'style':{'--ck-ai-check-list-item-index':_0x1be9d9}},'on':{'click':this[_0x5c23d4(0x11b)]['to'](_0x5c23d4(0x13f))},'children':[{'tag':_0x5c23d4(0x136),'attributes':{'class':[_0x5c23d4(0x146)]},'children':[{'tag':_0x5c23d4(0x136),'attributes':{'class':[_0x5c23d4(0x130)]},'children':[{'tag':_0x5c23d4(0x136),'attributes':{'class':[_0x5c23d4(0x155)]},'children':[{'tag':_0x5c23d4(0x149),'attributes':{'class':[_0x5c23d4(0x11e)]},'children':[{'text':_0x4adfb3[_0x5c23d4(0x15c)]}]},_0x446b1c]},{'tag':_0x5c23d4(0x136),'attributes':{'class':[_0x5c23d4(0x14a)]},'children':[{'text':_0x4adfb3[_0x5c23d4(0x14e)]}]}]}]},..._0x4adfb3[_0x5c23d4(0x14b)]?[this[_0x5c23d4(0x134)](_0x4adfb3)]:[],..._0x5c23d4(0x125)===_0x4adfb3['id']?[this[_0x5c23d4(0x11c)](_0x4adfb3)]:[]]}),this['on'](_0x5c23d4(0x13f),()=>{const _0x3673f0=_0x5c23d4;_0x4adfb3[_0x3673f0(0x14b)]?this[_0x3673f0(0x14d)]=!this[_0x3673f0(0x14d)]:this[_0x3673f0(0x13b)](_0x3673f0(0x152),{'id':_0x4adfb3['id']});}),requestAnimationFrame(()=>{const _0x251609=_0x5c23d4;this[_0x251609(0x12e)]=!0x0;});}[_0x4019d3(0x12f)](){const _0x30af8b=_0x4019d3;super[_0x30af8b(0x12f)](),this[_0x30af8b(0x14f)]&&_0x28d871({'emitter':this,'activator':()=>!0x0===this[_0x30af8b(0x14d)],'contextElements':[this[_0x30af8b(0x147)]],'callback':()=>{const _0x542bf2=_0x30af8b;this[_0x542bf2(0x14d)]=!0x1;}});}[_0x4019d3(0x128)](){const _0x1b222d=_0x4019d3;this[_0x1b222d(0x14d)]=!0x1,this[_0x1b222d(0x15b)][_0x1b222d(0x12c)](_0x2ed073=>{const _0x31b380=_0x1b222d;_0x2ed073[_0x31b380(0x128)]();});}[_0x4019d3(0x142)](){const _0x2b3295=_0x4019d3,_0x125e38=new _0x1d705e();return _0x125e38[_0x2b3295(0x133)]=_0x297130,_0x125e38[_0x2b3295(0x132)]({'attributes':{'class':[_0x2b3295(0x122)]}}),_0x125e38;}[_0x4019d3(0x134)](_0x1588bc){const _0x342d52=_0x4019d3,_0x4a61ab=new _0x3c5e3b(),_0xbbcce=this[_0x342d52(0x15a)](_0x1588bc);return _0x4a61ab[_0x342d52(0x145)]({'tag':_0x342d52(0x136),'attributes':{'class':[_0x342d52(0x159),this[_0x342d52(0x11b)]['if'](_0x342d52(0x14d),_0x342d52(0x13c),_0x597209=>!_0x597209)]},'children':[_0xbbcce]}),_0x4a61ab;}[_0x4019d3(0x15a)](_0x37f851){const _0xb63290=_0x4019d3,_0x509aec=new _0x3c5e3b(),_0x413ed6=Array[_0xb63290(0x123)](_0x37f851[_0xb63290(0x143)])?_0x37f851[_0xb63290(0x143)]:[],_0x3f0959=new _0x222c23(this[_0xb63290(0x158)]);_0x3f0959[_0xb63290(0x13a)]({'label':_0xb63290(0x126),'withText':!0x0,'class':_0xb63290(0x139)}),_0x3f0959[_0xb63290(0x132)]({'on':{'click':this[_0xb63290(0x11b)]['to'](_0x404380=>{const _0x53cede=_0xb63290;_0x404380[_0x53cede(0x11d)]();})}}),_0x3f0959['on'](_0xb63290(0x127),()=>{const _0x476724=_0xb63290,_0x110c2b=[];let _0xfd9745;this[_0x476724(0x15b)][_0x476724(0x12c)](_0x225569=>{const _0x5f59c7=_0x476724;_0x110c2b[_0x5f59c7(0x153)](_0x225569[_0x5f59c7(0x13d)]),_0x37f851[_0x5f59c7(0x141)]&&_0x37f851[_0x5f59c7(0x143)]&&(_0xfd9745={[_0x225569[_0x5f59c7(0x124)]]:_0x225569[_0x5f59c7(0x13d)]});});const _0x3b0ba3=_0x37f851[_0x476724(0x141)]?_0x37f851['id']:[_0x37f851['id'],..._0x110c2b][_0x476724(0x148)]('-');this[_0x476724(0x13b)](_0x476724(0x152),{'id':_0x3b0ba3,'args':_0xfd9745});});const _0x5d572b=_0x413ed6[_0xb63290(0x12a)];return _0x413ed6[_0xb63290(0x12c)]((_0x56d545,_0x3a6fc1)=>{const _0x33296e=_0xb63290,_0x11a46c=_0x3a6fc1===_0x5d572b-0x1;this[_0x33296e(0x15b)][_0x33296e(0x140)](new _0x36f500(this[_0x33296e(0x158)],_0x56d545,_0x11a46c?_0x3f0959:null));}),_0x509aec[_0xb63290(0x145)]({'tag':_0xb63290(0x136),'attributes':{'class':[_0xb63290(0x129)]},'children':this[_0xb63290(0x15b)]}),_0x509aec;}[_0x4019d3(0x11c)](_0x1b2170){const _0x48a023=_0x4019d3,_0x118b86=new _0x6b4619(this[_0x48a023(0x158)],_0x1b2170);return _0x118b86[_0x48a023(0x132)]({'attributes':{'class':[_0x48a023(0x159),_0x48a023(0x12d),this[_0x48a023(0x11b)]['if'](_0x48a023(0x14d),_0x48a023(0x13c),_0x5872a8=>!_0x5872a8)]}}),_0x118b86[_0x48a023(0x135)](_0x48a023(0x152))['to'](this),_0x118b86[_0x48a023(0x135)](_0x48a023(0x131))['to'](this),_0x118b86[_0x48a023(0x135)](_0x48a023(0x157))['to'](this),_0x118b86;}}
23
+ import{ListItemView as _0x297d7c,IconView as _0x1911df,View as _0x32a467,ViewCollection as _0x1f751b,ButtonView as _0x5f4296,clickOutsideHandler as _0x59388d}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x290b61}from'ckeditor5/src/icons.js';import{AIReviewModeFormManagerView as _0x3bbc38}from'./form/aireviewmodeformmanager.js';import{AIReviewModeCustomCheckView as _0x4ec43d}from'./aireviewmodecustomcheckview.js';export class AIReviewModeReviewCommandListItemView extends _0x297d7c{['_formItemsCollection']=new _0x1f751b();['_customCheckView']=null;constructor(_0x4e300b,_0x267c99,_0x3ab896){super(_0x4e300b),this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x267c99['isParameterized']);const _0x4f3c28=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',_0x330cc7=>_0x330cc7),this['bindTemplate']['if']('isListItemRendered','ck-ai-review-mode__check-list-item_rendered',_0x177538=>_0x177538)],'style':{'--ck-ai-check-list-item-index':_0x3ab896}},'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':_0x267c99['title']}]},_0x4f3c28]},{'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-description']},'children':[{'text':_0x267c99['description']}]}]}]},..._0x267c99['isParameterized']?[this['_createParameterizedView'](_0x267c99)]:[],...'custom'===_0x267c99['id']?[this['_createCustomView'](_0x267c99)]:[]]}),this['on']('click',()=>{_0x267c99['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x267c99['id']});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x59388d({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x561cbe=>{_0x561cbe['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x248cbb=new _0x1911df();return _0x248cbb['content']=_0x290b61,_0x248cbb['extendTemplate']({'attributes':{'class':['ck-ai-review-mode__check-list-item-title-icon']}}),_0x248cbb;}['_createParameterizedView'](_0x47d382){const _0xa15756=new _0x32a467(),_0x1e0901=this['_createFormView'](_0x47d382);return _0xa15756['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x153558=>!_0x153558)]},'children':[_0x1e0901]}),_0xa15756;}['_createFormView'](_0x494504){const _0x20bbd8=new _0x32a467(),_0x2dbebf=Array['isArray'](_0x494504['options'])?_0x494504['options']:[],_0x15d523=new _0x5f4296(this['locale']),t=this['locale']['t'];_0x15d523['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x15d523['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4af039=>{_0x4af039['stopPropagation']();})}}),_0x15d523['on']('execute',()=>{const _0x2353a9=[];let _0xf25063;this['_formItemsCollection']['forEach'](_0x9e742b=>{_0x2353a9['push'](_0x9e742b['value']),_0x494504['useArgs']&&_0x494504['options']&&(_0xf25063={[_0x9e742b['argsKey']]:_0x9e742b['value']});});const _0xd99259=_0x494504['useArgs']?_0x494504['id']:[_0x494504['id'],..._0x2353a9]['join']('-');this['fire']('runReviewCheck',{'id':_0xd99259,'args':_0xf25063});});const _0x104d9e=_0x2dbebf['length'];return _0x2dbebf['forEach']((_0x1aae3f,_0x2ad764)=>{const _0x39a631=_0x2ad764===_0x104d9e-0x1;this['_formItemsCollection']['add'](new _0x3bbc38(this['locale'],_0x1aae3f,_0x39a631?_0x15d523:null));}),_0x20bbd8['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-review-mode__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x20bbd8;}['_createCustomView'](_0x2f7b7b){return this['_customCheckView']=new _0x4ec43d(this['locale'],_0x2f7b7b),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',_0x33e2d8=>!_0x33e2d8)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['_customCheckView'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x11c6(){const _0x50b461=['450PRYwRt','isVisible','resultsHeader','ck-ai-review-mode__review-completed-content','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','1304TKLPJw','locale','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','_createResultHeaderView','span','1278yDsvff','execute','setTemplate','ck-ai-review-mode__review-completed-content-text','4800eXwkXi','25150lDCgOe','12dZYrIH','_finishReviewButtonView','ck-ai-button-primary','2248192WibcHp','AI_REVIEW_MODE_COMPLETED_TEXT','7jKPbNm','_createFinishReviewButtonView','bindTemplate','11543499kJRLuB','set','342834EdlWFD','1244172SgVHYP','ck-ai-review-mode__review-completed','div','958WbWsvr','ck-ai-review-mode__review-completed-content-icon','finishReview','ck-ai-review-mode__review-completed-header','ck-hidden','ck-ai-review-mode__review-completed-header-buttons','ck-ai-review-mode__review-completed-header-title','fire'];_0x11c6=function(){return _0x50b461;};return _0x11c6();}const _0x1d4ef6=_0x5472;(function(_0x5a7f28,_0x34e064){const _0x3c2d41=_0x5472,_0x4b0998=_0x5a7f28();while(!![]){try{const _0x23ceac=parseInt(_0x3c2d41(0x107))/0x1*(-parseInt(_0x3c2d41(0xff))/0x2)+-parseInt(_0x3c2d41(0xfb))/0x3+parseInt(_0x3c2d41(0xe6))/0x4*(parseInt(_0x3c2d41(0xef))/0x5)+-parseInt(_0x3c2d41(0xfc))/0x6+parseInt(_0x3c2d41(0xf6))/0x7*(-parseInt(_0x3c2d41(0xf4))/0x8)+parseInt(_0x3c2d41(0xeb))/0x9*(-parseInt(_0x3c2d41(0xf0))/0xa)+parseInt(_0x3c2d41(0xf9))/0xb*(parseInt(_0x3c2d41(0xf1))/0xc);if(_0x23ceac===_0x34e064)break;else _0x4b0998['push'](_0x4b0998['shift']());}catch(_0x1318dc){_0x4b0998['push'](_0x4b0998['shift']());}}}(_0x11c6,0x2da91));import{ListItemView as _0x3945c3,View as _0x421466,ButtonView as _0x22e9c4}from'ckeditor5/src/ui.js';import{getTranslation as _0x52e8c9}from'../utils/common-translations.js';import'../../../theme/aireviewmode/aireviewmode-review-completed.css';function _0x5472(_0x4dc727,_0x1affa7){const _0x11c65a=_0x11c6();return _0x5472=function(_0x54720d,_0x4e61c9){_0x54720d=_0x54720d-0xe3;let _0x5c76a7=_0x11c65a[_0x54720d];return _0x5c76a7;},_0x5472(_0x4dc727,_0x1affa7);}export class AIReviewModeReviewCompletedView extends _0x3945c3{[_0x1d4ef6(0xe3)];[_0x1d4ef6(0xf2)];constructor(_0x12337e){const _0x2856af=_0x1d4ef6;super(_0x12337e),this[_0x2856af(0xf2)]=this[_0x2856af(0xf7)](),this[_0x2856af(0xe3)]=this[_0x2856af(0xe9)]();const _0x9ced36=this[_0x2856af(0xf8)];this[_0x2856af(0xed)]({'tag':_0x2856af(0xfe),'attributes':{'class':[_0x2856af(0xfd),_0x9ced36['if'](_0x2856af(0x108),_0x2856af(0x103),_0x34a141=>!_0x34a141)]},'children':[this[_0x2856af(0xe3)],{'tag':_0x2856af(0xfe),'attributes':{'class':[_0x2856af(0xe4)]},'children':[{'tag':_0x2856af(0xea),'attributes':{'class':[_0x2856af(0x100)]},'children':[{'text':'🎉'}]},{'tag':'p','attributes':{'class':[_0x2856af(0xee)]},'children':[{'text':_0x52e8c9(_0x12337e,_0x2856af(0xf5))}]}]}]});}[_0x1d4ef6(0xf7)](){const _0x222225=_0x1d4ef6,_0x24f047=new _0x22e9c4(this[_0x222225(0xe7)]);return _0x24f047[_0x222225(0xfa)]({'label':_0x52e8c9(this[_0x222225(0xe7)],_0x222225(0xe5)),'withText':!0x0,'class':_0x222225(0xf3)}),_0x24f047['on'](_0x222225(0xec),()=>{const _0x3e5645=_0x222225;this[_0x3e5645(0x106)](_0x3e5645(0x101));}),_0x24f047;}[_0x1d4ef6(0xe9)](){const _0x5b1894=_0x1d4ef6,_0x31be08=new _0x421466(this[_0x5b1894(0xe7)]);return _0x31be08[_0x5b1894(0xed)]({'tag':_0x5b1894(0xfe),'attributes':{'class':[_0x5b1894(0x102)]},'children':[{'tag':_0x5b1894(0xea),'attributes':{'class':[_0x5b1894(0x105)]},'children':[{'text':_0x52e8c9(this[_0x5b1894(0xe7)],_0x5b1894(0xe8))}]},{'tag':_0x5b1894(0xfe),'attributes':{'class':[_0x5b1894(0x104)]},'children':[this[_0x5b1894(0xf2)]]}]}),_0x31be08;}}
23
+ const _0x3890c6=_0x5855;(function(_0x86646b,_0x1e08ec){const _0x1e8fd5=_0x5855,_0x3747de=_0x86646b();while(!![]){try{const _0x55dc43=-parseInt(_0x1e8fd5(0x10b))/0x1+parseInt(_0x1e8fd5(0x107))/0x2*(parseInt(_0x1e8fd5(0x106))/0x3)+-parseInt(_0x1e8fd5(0x10d))/0x4*(parseInt(_0x1e8fd5(0xff))/0x5)+parseInt(_0x1e8fd5(0x108))/0x6*(parseInt(_0x1e8fd5(0xf8))/0x7)+-parseInt(_0x1e8fd5(0x113))/0x8*(parseInt(_0x1e8fd5(0xf6))/0x9)+parseInt(_0x1e8fd5(0x10c))/0xa+parseInt(_0x1e8fd5(0x117))/0xb*(parseInt(_0x1e8fd5(0x111))/0xc);if(_0x55dc43===_0x1e08ec)break;else _0x3747de['push'](_0x3747de['shift']());}catch(_0xc805b7){_0x3747de['push'](_0x3747de['shift']());}}}(_0x269a,0x68ad3));function _0x5855(_0x11480c,_0x46a67e){const _0x269a2b=_0x269a();return _0x5855=function(_0x58550e,_0x117523){_0x58550e=_0x58550e-0xf6;let _0x10a901=_0x269a2b[_0x58550e];return _0x10a901;},_0x5855(_0x11480c,_0x46a67e);}import{ListItemView as _0x267968,View as _0x20736b,ButtonView as _0x5465a9}from'ckeditor5/src/ui.js';import{getTranslation as _0x23bc64}from'../utils/common-translations.js';function _0x269a(){const _0x3139c7=['setTemplate','_finishReviewButtonView','execute','2319jLgdpa','266lZYsWm','1333362xHdeRD','span','ck-hidden','247780myFvoE','3632490jnlEnX','37580LTEtiA','set','resultsHeader','ck-ai-review-mode__review-completed-header','6828jqRysT','div','108104AMCekg','ck-ai-review-mode__review-completed-content-text','locale','ck-ai-review-mode__review-completed-content','2981xPROsR','AI_REVIEW_MODE_COMPLETED_TEXT','fire','ck-ai-review-mode__review-completed','ck-ai-review-mode__review-completed-header-title','369GcpfxP','ck-ai-review-mode__review-completed-header-buttons','21KwlJzi','_createFinishReviewButtonView','_createResultHeaderView','ck-ai-review-mode__review-completed-content-icon','AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','ck-ai-button-primary','AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','30RiAqgQ','bindTemplate','isVisible','finishReview'];_0x269a=function(){return _0x3139c7;};return _0x269a();}import'../../../theme/aireviewmode/aireviewmode-review-completed.css';export class AIReviewModeReviewCompletedView extends _0x267968{[_0x3890c6(0x10f)];[_0x3890c6(0x104)];constructor(_0xbf9331){const _0xcaa652=_0x3890c6;super(_0xbf9331),this[_0xcaa652(0x104)]=this[_0xcaa652(0xf9)](),this[_0xcaa652(0x10f)]=this[_0xcaa652(0xfa)]();const _0x5b5ffa=this[_0xcaa652(0x100)];this[_0xcaa652(0x103)]({'tag':_0xcaa652(0x112),'attributes':{'class':[_0xcaa652(0x11a),_0x5b5ffa['if'](_0xcaa652(0x101),_0xcaa652(0x10a),_0x296233=>!_0x296233)]},'children':[this[_0xcaa652(0x10f)],{'tag':_0xcaa652(0x112),'attributes':{'class':[_0xcaa652(0x116)]},'children':[{'tag':_0xcaa652(0x109),'attributes':{'class':[_0xcaa652(0xfb)]},'children':[{'text':'🎉'}]},{'tag':'p','attributes':{'class':[_0xcaa652(0x114)]},'children':[{'text':_0x23bc64(_0xbf9331,_0xcaa652(0x118))}]}]}]});}[_0x3890c6(0xf9)](){const _0x507c98=_0x3890c6,_0x37e37c=new _0x5465a9(this[_0x507c98(0x115)]);return _0x37e37c[_0x507c98(0x10e)]({'label':_0x23bc64(this[_0x507c98(0x115)],_0x507c98(0xfe)),'withText':!0x0,'class':_0x507c98(0xfd)}),_0x37e37c['on'](_0x507c98(0x105),()=>{const _0x566964=_0x507c98;this[_0x566964(0x119)](_0x566964(0x102));}),_0x37e37c;}[_0x3890c6(0xfa)](){const _0x39d6fc=_0x3890c6,_0x1b049a=new _0x20736b(this[_0x39d6fc(0x115)]);return _0x1b049a[_0x39d6fc(0x103)]({'tag':_0x39d6fc(0x112),'attributes':{'class':[_0x39d6fc(0x110)]},'children':[{'tag':_0x39d6fc(0x109),'attributes':{'class':[_0x39d6fc(0x11b)]},'children':[{'text':_0x23bc64(this[_0x39d6fc(0x115)],_0x39d6fc(0xfc))}]},{'tag':_0x39d6fc(0x112),'attributes':{'class':[_0x39d6fc(0xf7)]},'children':[this[_0x39d6fc(0x104)]]}]}),_0x1b049a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x219d56=_0x37dd;function _0x551a(){var _0x10acc4=['showReviewCompletedView','ck-rounded-corners','reviewCheckListView','6143088VdjvXB','isResultReady','ck-ai-header\x20ck-ai-header_review-mode','delegate','setTemplate','16wvZgot','isLoading','11clOzHP','Review\x20Mode','reviewCompletedView','isVisible','showActionsWhenResultIsReady','clearResults','addResult','2364588cmcPKo','addCheckRunResult','44645zNIcUg','div','reviewCheckResultsView','918743CVzKWk','ck-reset_all','ltr','24owqEPo','1609108IHFTMh','showGeneralErrorMessage','ck-ai-review-mode','showReviewCheckResultsView','showGeneralErrorView','resetErrorState','showChunkErrorMessage','showReviewCheckListView','finishReview','10181680LltnBc','reviewModeHeader','ck-content\x20','hideActionsWhenResultIsReady','set','resetAllParameterizedChecks','404346uzJnwK','324EQZJEz','showChunkErrorView'];_0x551a=function(){return _0x10acc4;};return _0x551a();}(function(_0x98ed33,_0x385a33){var _0x2ac6b0=_0x37dd,_0x5ce920=_0x98ed33();while(!![]){try{var _0x57d894=parseInt(_0x2ac6b0(0x15e))/0x1+-parseInt(_0x2ac6b0(0x162))/0x2+parseInt(_0x2ac6b0(0x171))/0x3*(parseInt(_0x2ac6b0(0x17c))/0x4)+-parseInt(_0x2ac6b0(0x187))/0x5*(parseInt(_0x2ac6b0(0x172))/0x6)+parseInt(_0x2ac6b0(0x177))/0x7+-parseInt(_0x2ac6b0(0x161))/0x8*(-parseInt(_0x2ac6b0(0x185))/0x9)+parseInt(_0x2ac6b0(0x16b))/0xa*(-parseInt(_0x2ac6b0(0x17e))/0xb);if(_0x57d894===_0x385a33)break;else _0x5ce920['push'](_0x5ce920['shift']());}catch(_0x1c6a36){_0x5ce920['push'](_0x5ce920['shift']());}}}(_0x551a,0xc7e4b));import{View as _0xb9ce1,FormHeaderView as _0x3f20ff}from'ckeditor5/src/ui.js';import{IconAIReview as _0x281e48}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x405add}from'./aireviewmodereviewchecklistview.js';function _0x37dd(_0x4be9f2,_0x2f6a8f){var _0x551a42=_0x551a();return _0x37dd=function(_0x37dd07,_0x28e849){_0x37dd07=_0x37dd07-0x15c;var _0x318870=_0x551a42[_0x37dd07];return _0x318870;},_0x37dd(_0x4be9f2,_0x2f6a8f);}import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x4b4336}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x15b240}from'./aireviewmodereviewcheckresultsview.js';import{AIReviewModeReviewCompletedView as _0x2af172}from'./aireviewmodereviewcompletedview.js';export class AIReviewModeView extends _0xb9ce1{[_0x219d56(0x16c)];[_0x219d56(0x176)];[_0x219d56(0x15d)];[_0x219d56(0x180)];constructor(_0x15fc53){var _0x5a1351=_0x219d56;super(_0x15fc53),this[_0x5a1351(0x16c)]=new _0x3f20ff(_0x15fc53,{'label':_0x5a1351(0x17f),'icon':_0x281e48,'class':_0x5a1351(0x179)}),this[_0x5a1351(0x176)]=new _0x405add(_0x15fc53),this[_0x5a1351(0x176)][_0x5a1351(0x17a)](..._0x4b4336)['to'](this),this[_0x5a1351(0x15d)]=new _0x15b240(_0x15fc53),this[_0x5a1351(0x15d)][_0x5a1351(0x17a)](..._0x4b4336)['to'](this),this[_0x5a1351(0x180)]=new _0x2af172(_0x15fc53),this[_0x5a1351(0x180)][_0x5a1351(0x17a)](_0x5a1351(0x16a))['to'](this),this[_0x5a1351(0x176)][_0x5a1351(0x16f)](_0x5a1351(0x181),!0x1),this[_0x5a1351(0x15d)][_0x5a1351(0x16f)](_0x5a1351(0x181),!0x1),this[_0x5a1351(0x15d)][_0x5a1351(0x16f)](_0x5a1351(0x17d),!0x1),this[_0x5a1351(0x15d)][_0x5a1351(0x16f)](_0x5a1351(0x178),!0x1),this[_0x5a1351(0x180)][_0x5a1351(0x16f)](_0x5a1351(0x181),!0x1),this[_0x5a1351(0x17b)]({'tag':_0x5a1351(0x15c),'attributes':{'class':['ck',_0x5a1351(0x16d),_0x5a1351(0x15f),_0x5a1351(0x164),_0x5a1351(0x175)],'dir':_0x5a1351(0x160)},'children':[this[_0x5a1351(0x16c)],this[_0x5a1351(0x176)],this[_0x5a1351(0x15d)],this[_0x5a1351(0x180)]]});}[_0x219d56(0x169)](){var _0x1d65aa=_0x219d56;this[_0x1d65aa(0x176)][_0x1d65aa(0x170)](),this[_0x1d65aa(0x176)][_0x1d65aa(0x16f)](_0x1d65aa(0x181),!0x0),this[_0x1d65aa(0x15d)][_0x1d65aa(0x16f)](_0x1d65aa(0x181),!0x1),this[_0x1d65aa(0x180)][_0x1d65aa(0x16f)](_0x1d65aa(0x181),!0x1);}[_0x219d56(0x165)](){var _0x19c29b=_0x219d56;this[_0x19c29b(0x16e)](),this[_0x19c29b(0x15d)][_0x19c29b(0x167)](),this[_0x19c29b(0x176)][_0x19c29b(0x16f)](_0x19c29b(0x181),!0x1),this[_0x19c29b(0x15d)][_0x19c29b(0x16f)](_0x19c29b(0x181),!0x0),this[_0x19c29b(0x15d)][_0x19c29b(0x183)](),this[_0x19c29b(0x15d)][_0x19c29b(0x16f)](_0x19c29b(0x17d),!0x0);}[_0x219d56(0x186)](_0x46c0f4){var _0x1b9d8b=_0x219d56;this[_0x1b9d8b(0x15d)][_0x1b9d8b(0x184)](_0x46c0f4),this[_0x1b9d8b(0x15d)][_0x1b9d8b(0x16f)](_0x1b9d8b(0x17d),!0x1);}[_0x219d56(0x174)](){var _0x351581=_0x219d56;this[_0x351581(0x176)][_0x351581(0x16f)](_0x351581(0x181),!0x1),this[_0x351581(0x15d)][_0x351581(0x16f)](_0x351581(0x181),!0x1),this[_0x351581(0x180)][_0x351581(0x16f)](_0x351581(0x181),!0x0);}[_0x219d56(0x182)](){var _0x1bad9a=_0x219d56;this[_0x1bad9a(0x15d)][_0x1bad9a(0x178)]=!0x0;}[_0x219d56(0x16e)](){var _0x252e1a=_0x219d56;this[_0x252e1a(0x15d)][_0x252e1a(0x178)]=!0x1;}[_0x219d56(0x166)](){var _0x5a9a5c=_0x219d56;this[_0x5a9a5c(0x15d)][_0x5a9a5c(0x16f)](_0x5a9a5c(0x17d),!0x1),this[_0x5a9a5c(0x182)](),this[_0x5a9a5c(0x15d)][_0x5a9a5c(0x163)]();}[_0x219d56(0x173)](){var _0x5049ad=_0x219d56;this[_0x5049ad(0x15d)][_0x5049ad(0x16f)](_0x5049ad(0x17d),!0x1),this[_0x5049ad(0x182)](),this[_0x5049ad(0x15d)][_0x5049ad(0x168)]();}}
23
+ var _0x3c0990=_0x23a4;(function(_0xca0dc3,_0x2ef1f0){var _0x189985=_0x23a4,_0x55ba14=_0xca0dc3();while(!![]){try{var _0x24658a=parseInt(_0x189985(0x189))/0x1+parseInt(_0x189985(0x190))/0x2+parseInt(_0x189985(0x177))/0x3*(-parseInt(_0x189985(0x18b))/0x4)+parseInt(_0x189985(0x18e))/0x5*(-parseInt(_0x189985(0x188))/0x6)+-parseInt(_0x189985(0x176))/0x7*(parseInt(_0x189985(0x17d))/0x8)+-parseInt(_0x189985(0x172))/0x9+-parseInt(_0x189985(0x16f))/0xa*(-parseInt(_0x189985(0x16d))/0xb);if(_0x24658a===_0x2ef1f0)break;else _0x55ba14['push'](_0x55ba14['shift']());}catch(_0x37c002){_0x55ba14['push'](_0x55ba14['shift']());}}}(_0x139d,0xaae21));import{View as _0x157959,FormHeaderView as _0x5d8ef9}from'ckeditor5/src/ui.js';import{IconAIReview as _0x4f52f1}from'ckeditor5/src/icons.js';import{AIReviewModeReviewCheckListView as _0x267d2a}from'./aireviewmodereviewchecklistview.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x3f52d4}from'../aireviewmodeui.js';import{AIReviewModeReviewCheckResultsView as _0x114041}from'./aireviewmodereviewcheckresultsview.js';function _0x139d(){var _0x4720c4=['showActionsWhenResultIsReady','2519826aJdEnP','1102531jPawHV','ck-rounded-corners','2375836BOpFEl','ck-ai-review-mode','addCheckRunResult','5BWKPTr','ltr','1013888IGASGQ','resetErrorState','ck-ai-header\x20ck-ai-header_review-mode','reviewCheckListView','setTemplate','ck-content\x20','reviewModeHeader','showReviewCompletedView','ck-reset_all','11MopTol','showGeneralErrorView','14605320IJBhgq','finishReview','showReviewCheckListView','4275585umLpdZ','div','isLoading','showChunkErrorMessage','455MEYQux','3CJysIY','addResult','delegate','isVisible','AI_REVIEW_MODE','hideActionsWhenResultIsReady','108440aZRToj','set','showChunkErrorView','resetAllParameterizedChecks','reviewCompletedView','showGeneralErrorMessage','reviewCheckResultsView','clearResults','showReviewCheckResultsView','isResultReady'];_0x139d=function(){return _0x4720c4;};return _0x139d();}import{AIReviewModeReviewCompletedView as _0x1916d8}from'./aireviewmodereviewcompletedview.js';function _0x23a4(_0x561d33,_0x12c938){var _0x139daa=_0x139d();return _0x23a4=function(_0x23a4cc,_0x3e0790){_0x23a4cc=_0x23a4cc-0x166;var _0x46f7a7=_0x139daa[_0x23a4cc];return _0x46f7a7;},_0x23a4(_0x561d33,_0x12c938);}import{getTranslation as _0x3da511}from'../utils/common-translations.js';export class AIReviewModeView extends _0x157959{[_0x3c0990(0x16a)];[_0x3c0990(0x167)];[_0x3c0990(0x183)];[_0x3c0990(0x181)];constructor(_0x5189b3){var _0x2aa36a=_0x3c0990;super(_0x5189b3),this[_0x2aa36a(0x16a)]=new _0x5d8ef9(_0x5189b3,{'label':_0x3da511(_0x5189b3,_0x2aa36a(0x17b)),'icon':_0x4f52f1,'class':_0x2aa36a(0x166)}),this[_0x2aa36a(0x167)]=new _0x267d2a(_0x5189b3),this[_0x2aa36a(0x167)][_0x2aa36a(0x179)](..._0x3f52d4)['to'](this),this[_0x2aa36a(0x183)]=new _0x114041(_0x5189b3),this[_0x2aa36a(0x183)][_0x2aa36a(0x179)](..._0x3f52d4)['to'](this),this[_0x2aa36a(0x181)]=new _0x1916d8(_0x5189b3),this[_0x2aa36a(0x181)][_0x2aa36a(0x179)](_0x2aa36a(0x170))['to'](this),this[_0x2aa36a(0x167)][_0x2aa36a(0x17e)](_0x2aa36a(0x17a),!0x1),this[_0x2aa36a(0x183)][_0x2aa36a(0x17e)](_0x2aa36a(0x17a),!0x1),this[_0x2aa36a(0x183)][_0x2aa36a(0x17e)](_0x2aa36a(0x174),!0x1),this[_0x2aa36a(0x183)][_0x2aa36a(0x17e)](_0x2aa36a(0x186),!0x1),this[_0x2aa36a(0x181)][_0x2aa36a(0x17e)](_0x2aa36a(0x17a),!0x1),this[_0x2aa36a(0x168)]({'tag':_0x2aa36a(0x173),'attributes':{'class':['ck',_0x2aa36a(0x169),_0x2aa36a(0x16c),_0x2aa36a(0x18c),_0x2aa36a(0x18a)],'dir':_0x2aa36a(0x18f)},'children':[this[_0x2aa36a(0x16a)],this[_0x2aa36a(0x167)],this[_0x2aa36a(0x183)],this[_0x2aa36a(0x181)]]});}[_0x3c0990(0x171)](){var _0x3bb3d0=_0x3c0990;this[_0x3bb3d0(0x167)][_0x3bb3d0(0x180)](),this[_0x3bb3d0(0x167)][_0x3bb3d0(0x17e)](_0x3bb3d0(0x17a),!0x0),this[_0x3bb3d0(0x183)][_0x3bb3d0(0x17e)](_0x3bb3d0(0x17a),!0x1),this[_0x3bb3d0(0x181)][_0x3bb3d0(0x17e)](_0x3bb3d0(0x17a),!0x1);}[_0x3c0990(0x185)](){var _0x24a66a=_0x3c0990;this[_0x24a66a(0x17c)](),this[_0x24a66a(0x183)][_0x24a66a(0x191)](),this[_0x24a66a(0x167)][_0x24a66a(0x17e)](_0x24a66a(0x17a),!0x1),this[_0x24a66a(0x183)][_0x24a66a(0x17e)](_0x24a66a(0x17a),!0x0),this[_0x24a66a(0x183)][_0x24a66a(0x184)](),this[_0x24a66a(0x183)][_0x24a66a(0x17e)](_0x24a66a(0x174),!0x0);}[_0x3c0990(0x18d)](_0x216cd9){var _0xc0ca30=_0x3c0990;this[_0xc0ca30(0x183)][_0xc0ca30(0x178)](_0x216cd9),this[_0xc0ca30(0x183)][_0xc0ca30(0x17e)](_0xc0ca30(0x174),!0x1);}[_0x3c0990(0x16b)](){var _0xf3460d=_0x3c0990;this[_0xf3460d(0x167)][_0xf3460d(0x17e)](_0xf3460d(0x17a),!0x1),this[_0xf3460d(0x183)][_0xf3460d(0x17e)](_0xf3460d(0x17a),!0x1),this[_0xf3460d(0x181)][_0xf3460d(0x17e)](_0xf3460d(0x17a),!0x0);}[_0x3c0990(0x187)](){var _0x274bd9=_0x3c0990;this[_0x274bd9(0x183)][_0x274bd9(0x186)]=!0x0;}[_0x3c0990(0x17c)](){var _0x1bf6b0=_0x3c0990;this[_0x1bf6b0(0x183)][_0x1bf6b0(0x186)]=!0x1;}[_0x3c0990(0x16e)](){var _0x156be4=_0x3c0990;this[_0x156be4(0x183)][_0x156be4(0x17e)](_0x156be4(0x174),!0x1),this[_0x156be4(0x187)](),this[_0x156be4(0x183)][_0x156be4(0x182)]();}[_0x3c0990(0x17f)](){var _0x27d468=_0x3c0990;this[_0x27d468(0x183)][_0x27d468(0x17e)](_0x27d468(0x174),!0x1),this[_0x27d468(0x187)](),this[_0x27d468(0x183)][_0x27d468(0x175)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44d631=_0x5cf6;(function(_0x150366,_0x23b40d){const _0x2b99c6=_0x5cf6,_0x68db8d=_0x150366();while(!![]){try{const _0x3d5382=-parseInt(_0x2b99c6(0xa1))/0x1+parseInt(_0x2b99c6(0xb3))/0x2*(parseInt(_0x2b99c6(0xa8))/0x3)+-parseInt(_0x2b99c6(0xb6))/0x4*(parseInt(_0x2b99c6(0xa9))/0x5)+-parseInt(_0x2b99c6(0xb1))/0x6+parseInt(_0x2b99c6(0xaf))/0x7*(parseInt(_0x2b99c6(0xa2))/0x8)+-parseInt(_0x2b99c6(0xae))/0x9*(-parseInt(_0x2b99c6(0x9e))/0xa)+parseInt(_0x2b99c6(0xa7))/0xb;if(_0x3d5382===_0x23b40d)break;else _0x68db8d['push'](_0x68db8d['shift']());}catch(_0x360720){_0x68db8d['push'](_0x68db8d['shift']());}}}(_0x5c99,0x6fd82));function _0x5cf6(_0x9538fb,_0x4dcd95){const _0x5c99ec=_0x5c99();return _0x5cf6=function(_0x5cf6e9,_0x3ca1c2){_0x5cf6e9=_0x5cf6e9-0x9b;let _0x21ed07=_0x5c99ec[_0x5cf6e9];return _0x21ed07;},_0x5cf6(_0x9538fb,_0x4dcd95);}import{FormRowView as _0x11eebb,ListItemView as _0x34a938}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0x2a82bb}from'./aireviewmodeformdropdown.js';function _0x5c99(){const _0x1f927a=['_formItem','div','bind','value','135vpfrdu','28tYONsw','formType','155094ZFadIv','formValue','2xdIcoT','argsKey','locale','24452CAZmKK','ck-ai-review-mode__form-item','resetToDefault','ck-form__row_with-submit','541890ILULur','setTemplate','dropdown','368759adocge','356144psArXZ','add','children','set','ck-reset_all','2893550jPSQhl','1510467tljnzl','740IHzZRF'];_0x5c99=function(){return _0x1f927a;};return _0x5c99();}export class AIReviewModeFormManagerView extends _0x34a938{[_0x44d631(0xaa)]=null;constructor(_0x4696e4,_0x3a4937,_0x2c0219){const _0x55c589=_0x44d631;super(_0x4696e4),this[_0x55c589(0xb4)]=_0x3a4937?.[_0x55c589(0xb4)];if(_0x55c589(0xa0)===_0x3a4937[_0x55c589(0xb0)])this[_0x55c589(0xaa)]=new _0x2a82bb(this[_0x55c589(0xb5)],_0x3a4937);this[_0x55c589(0xa5)](_0x55c589(0xad),''),this[_0x55c589(0xac)](_0x55c589(0xad))['to'](this[_0x55c589(0xaa)],_0x55c589(0xb2));const _0x241491=new _0x11eebb(this[_0x55c589(0xb5)],{'children':[this[_0x55c589(0xaa)]],'class':[_0x2c0219?_0x55c589(0x9d):'']});_0x2c0219&&_0x241491[_0x55c589(0xa4)][_0x55c589(0xa3)](_0x2c0219),this[_0x55c589(0x9f)]({'tag':_0x55c589(0xab),'attributes':{'class':['ck',_0x55c589(0x9b),_0x55c589(0xa6)]},'children':[_0x241491]});}[_0x44d631(0x9c)](){const _0x1a8a84=_0x44d631;this[_0x1a8a84(0xaa)][_0x1a8a84(0x9c)]();}}
23
+ function _0x2204(_0x3f4280,_0x7ed745){const _0x1196d2=_0x1196();return _0x2204=function(_0x2204d8,_0x495757){_0x2204d8=_0x2204d8-0xde;let _0x21899f=_0x1196d2[_0x2204d8];return _0x21899f;},_0x2204(_0x3f4280,_0x7ed745);}const _0x24aeb0=_0x2204;function _0x1196(){const _0x3576ed=['3996kevvZm','ck-ai-review-mode__form-item','36203687wFfKTh','_formItem','div','18300xTetaB','12HMxuRh','10KbbFxU','42SQpoMj','561FJYAJS','ck-reset_all','59689tVfyrt','locale','add','formValue','13361238bVgYWr','2143575BwTxIw','formType','resetToDefault','dropdown','1705iNFArA','bind','children','ck-form__row_with-submit','set','argsKey','24qgmmfc','value','5972967PwGDae','setTemplate'];_0x1196=function(){return _0x3576ed;};return _0x1196();}(function(_0x2095a2,_0x584217){const _0x36ad84=_0x2204,_0x193ca1=_0x2095a2();while(!![]){try{const _0x39cc25=-parseInt(_0x36ad84(0xe3))/0x1*(parseInt(_0x36ad84(0xe0))/0x2)+-parseInt(_0x36ad84(0xe1))/0x3*(parseInt(_0x36ad84(0xfb))/0x4)+-parseInt(_0x36ad84(0xec))/0x5*(parseInt(_0x36ad84(0xf6))/0x6)+parseInt(_0x36ad84(0xf4))/0x7+parseInt(_0x36ad84(0xf2))/0x8*(parseInt(_0x36ad84(0xe8))/0x9)+parseInt(_0x36ad84(0xdf))/0xa*(-parseInt(_0x36ad84(0xe7))/0xb)+parseInt(_0x36ad84(0xde))/0xc*(parseInt(_0x36ad84(0xf8))/0xd);if(_0x39cc25===_0x584217)break;else _0x193ca1['push'](_0x193ca1['shift']());}catch(_0x58a66b){_0x193ca1['push'](_0x193ca1['shift']());}}}(_0x1196,0xc3c9b));import{FormRowView as _0x5ec5f3,ListItemView as _0x443c91}from'ckeditor5/src/ui.js';import{AIReviewModeFormDropdownView as _0xa30d76}from'./aireviewmodeformdropdown.js';export class AIReviewModeFormManagerView extends _0x443c91{[_0x24aeb0(0xf9)]=null;constructor(_0x9ffc8d,_0xc2d88c,_0x27bca9){const _0xc3845c=_0x24aeb0;super(_0x9ffc8d),this[_0xc3845c(0xf1)]=_0xc2d88c?.[_0xc3845c(0xf1)];if(_0xc3845c(0xeb)===_0xc2d88c[_0xc3845c(0xe9)])this[_0xc3845c(0xf9)]=new _0xa30d76(this[_0xc3845c(0xe4)],_0xc2d88c);this[_0xc3845c(0xf0)](_0xc3845c(0xf3),''),this[_0xc3845c(0xed)](_0xc3845c(0xf3))['to'](this[_0xc3845c(0xf9)],_0xc3845c(0xe6));const _0x31e2fa=new _0x5ec5f3(this[_0xc3845c(0xe4)],{'children':[this[_0xc3845c(0xf9)]],'class':[_0x27bca9?_0xc3845c(0xef):'']});_0x27bca9&&_0x31e2fa[_0xc3845c(0xee)][_0xc3845c(0xe5)](_0x27bca9),this[_0xc3845c(0xf5)]({'tag':_0xc3845c(0xfa),'attributes':{'class':['ck',_0xc3845c(0xf7),_0xc3845c(0xe2)]},'children':[_0x31e2fa]});}[_0x24aeb0(0xea)](){const _0x317b22=_0x24aeb0;this[_0x317b22(0xf9)][_0x317b22(0xea)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x340c89=_0x4533;function _0x4533(_0x4b2e50,_0x559370){const _0x590733=_0x5907();return _0x4533=function(_0x4533f7,_0x42ad93){_0x4533f7=_0x4533f7-0x7c;let _0x4d7bee=_0x590733[_0x4533f7];return _0x4d7bee;},_0x4533(_0x4b2e50,_0x559370);}(function(_0x3ffe5d,_0x31b518){const _0xfe427d=_0x4533,_0x5c9435=_0x3ffe5d();while(!![]){try{const _0x1f1e05=parseInt(_0xfe427d(0x83))/0x1*(-parseInt(_0xfe427d(0x84))/0x2)+-parseInt(_0xfe427d(0x7e))/0x3*(parseInt(_0xfe427d(0x99))/0x4)+-parseInt(_0xfe427d(0x7d))/0x5+parseInt(_0xfe427d(0x9d))/0x6+-parseInt(_0xfe427d(0x96))/0x7+parseInt(_0xfe427d(0xa1))/0x8*(parseInt(_0xfe427d(0x93))/0x9)+-parseInt(_0xfe427d(0xa6))/0xa*(-parseInt(_0xfe427d(0x86))/0xb);if(_0x1f1e05===_0x31b518)break;else _0x5c9435['push'](_0x5c9435['shift']());}catch(_0x4d4703){_0x5c9435['push'](_0x5c9435['shift']());}}}(_0x5907,0xa8c1d));import{Collection as _0x58da1d}from'ckeditor5/src/utils.js';import{View as _0x423d41,createDropdown as _0x1cf7db,addListToDropdown as _0x14aa8c,UIModel as _0x31f50e}from'ckeditor5/src/ui.js';export class AIReviewModeFormDropdownView extends _0x423d41{[_0x340c89(0x80)];[_0x340c89(0x9c)];[_0x340c89(0x9e)];constructor(_0xbd36bf,_0x1d7ee9){const _0x28ea45=_0x340c89;super(_0xbd36bf),this[_0x28ea45(0x9c)]=_0x1d7ee9[_0x28ea45(0x8a)]||(_0x1d7ee9[_0x28ea45(0x81)][_0x28ea45(0x95)]>0x0?_0x1d7ee9[_0x28ea45(0x81)][0x0]['id']:''),this[_0x28ea45(0x9e)]=_0x1d7ee9[_0x28ea45(0x81)][_0x28ea45(0xa3)](_0x30d9f6=>_0x30d9f6['id']===this[_0x28ea45(0x9c)])?.[_0x28ea45(0xa2)]||'',this[_0x28ea45(0x85)](_0x28ea45(0x91),''),this[_0x28ea45(0x80)]=_0x1cf7db(this[_0x28ea45(0x87)]);const _0x21b240=this[_0x28ea45(0x8c)](_0x1d7ee9[_0x28ea45(0x81)]);_0x14aa8c(this[_0x28ea45(0x80)],_0x21b240,{'role':_0x28ea45(0xa4),'ariaLabel':_0x1d7ee9[_0x28ea45(0xa2)]}),this[_0x28ea45(0x80)][_0x28ea45(0x90)][_0x28ea45(0x85)]({'label':this[_0x28ea45(0x9e)],'withText':!0x0}),this[_0x28ea45(0x80)][_0x28ea45(0x9b)]({'on':{'click':this[_0x28ea45(0x8e)]['to'](_0x35875a=>{const _0x1fb6fd=_0x28ea45;_0x35875a[_0x1fb6fd(0x89)]();})}}),this[_0x28ea45(0xa5)](this[_0x28ea45(0x80)],_0x28ea45(0x88),_0x756594=>{const _0x1c90a6=_0x28ea45;this[_0x1c90a6(0x91)]=_0x756594[_0x1c90a6(0x92)][_0x1c90a6(0x82)]['id'],this[_0x1c90a6(0x80)][_0x1c90a6(0x90)][_0x1c90a6(0xa2)]=_0x756594[_0x1c90a6(0x92)][_0x1c90a6(0x82)][_0x1c90a6(0xa2)];}),this[_0x28ea45(0x9a)]({'tag':_0x28ea45(0x98),'attributes':{'class':['ck',_0x28ea45(0x8b),_0x28ea45(0xa0),_0x28ea45(0x9f)]},'children':[this[_0x28ea45(0x80)]]});}[_0x340c89(0x94)](){const _0x5e9e47=_0x340c89;this[_0x5e9e47(0x91)]=this[_0x5e9e47(0x9c)],this[_0x5e9e47(0x80)][_0x5e9e47(0x90)][_0x5e9e47(0xa2)]=this[_0x5e9e47(0x9e)];}[_0x340c89(0x8c)](_0x39cb5e=[]){const _0x1416cf=_0x340c89,_0x224f47=new _0x58da1d();this[_0x1416cf(0x94)]();for(const _0x3a951e of _0x39cb5e){const _0x24e423=new _0x31f50e({'label':_0x3a951e[_0x1416cf(0xa2)],'withText':!0x0,'role':_0x1416cf(0x7c),'id':_0x3a951e['id'],'model':_0x3a951e});_0x24e423[_0x1416cf(0x8f)](_0x1416cf(0x97))['to'](this,_0x1416cf(0x91),_0x2d7702=>_0x2d7702===_0x24e423['id']);const _0x480093={'type':_0x1416cf(0x7f),'model':_0x24e423};_0x224f47[_0x1416cf(0x8d)](_0x480093);}return _0x224f47;}}function _0x5907(){const _0x4f1cf6=['data','model','4HMVXFI','531112wZaaLO','set','187BnNYsS','locale','execute','stopPropagation','default','ck-reset_all','_prepareListOptions','add','bindTemplate','bind','buttonView','formValue','source','2951253yCwoYl','resetToDefault','length','5637394IJbZzF','isOn','div','2591032ByrzJQ','setTemplate','extendTemplate','_defaultValue','5687040cAlFUj','_defaultLabel','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','ck-ai-review-mode__check-list-item-parameterized-form-element','16XvUPMF','label','find','menu','listenTo','1543210twQOBS','menuitemradio','5102890OuzUrC','3geCATf','button','_dropdownView'];_0x5907=function(){return _0x4f1cf6;};return _0x5907();}
23
+ const _0x169458=_0x4746;function _0x24b6(){const _0x1f06cd=['7MAReTd','bindTemplate','_dropdownView','1128304KUFspU','isOn','listenTo','72hfiUTY','setTemplate','data','set','18tnbyXb','12340viIbBB','ck-reset_all','29668BemETj','find','_defaultValue','resetToDefault','length','model','656840wBfLRY','formValue','765FvyaQG','add','ck-ai-review-mode__check-list-item-parameterized-form-element','1071191dStxkP','1788966hucjXM','ck-ai-review-mode__check-list-item-parameterized-form-element_dropdown','46714TgrsIn','div','button','stopPropagation','_defaultLabel','locale','buttonView','14maWqmh','default','execute','source','label','extendTemplate','_prepareListOptions','bind','menuitemradio','menu'];_0x24b6=function(){return _0x1f06cd;};return _0x24b6();}(function(_0x5c854b,_0x422bde){const _0x1337fc=_0x4746,_0x3abf89=_0x5c854b();while(!![]){try{const _0x329b8b=-parseInt(_0x1337fc(0x1e5))/0x1*(-parseInt(_0x1337fc(0x1ec))/0x2)+-parseInt(_0x1337fc(0x1d4))/0x3*(-parseInt(_0x1337fc(0x1d7))/0x4)+parseInt(_0x1337fc(0x1dd))/0x5+parseInt(_0x1337fc(0x1e3))/0x6+parseInt(_0x1337fc(0x1f6))/0x7*(-parseInt(_0x1337fc(0x1f9))/0x8)+parseInt(_0x1337fc(0x1df))/0x9*(parseInt(_0x1337fc(0x1d5))/0xa)+parseInt(_0x1337fc(0x1e2))/0xb*(-parseInt(_0x1337fc(0x1fc))/0xc);if(_0x329b8b===_0x422bde)break;else _0x3abf89['push'](_0x3abf89['shift']());}catch(_0x55a298){_0x3abf89['push'](_0x3abf89['shift']());}}}(_0x24b6,0x2c173));import{Collection as _0x4ff77c}from'ckeditor5/src/utils.js';import{View as _0x189a1e,createDropdown as _0xddf60e,addListToDropdown as _0x190dab,UIModel as _0x1db8f0}from'ckeditor5/src/ui.js';function _0x4746(_0x5ac309,_0x34fa1b){const _0x24b656=_0x24b6();return _0x4746=function(_0x4746e9,_0x55fa7a){_0x4746e9=_0x4746e9-0x1d3;let _0x2fc8a5=_0x24b656[_0x4746e9];return _0x2fc8a5;},_0x4746(_0x5ac309,_0x34fa1b);}export class AIReviewModeFormDropdownView extends _0x189a1e{[_0x169458(0x1f8)];[_0x169458(0x1d9)];[_0x169458(0x1e9)];constructor(_0x23bd80,_0x432f9f){const _0x27e7fa=_0x169458;super(_0x23bd80),this[_0x27e7fa(0x1d9)]=_0x432f9f[_0x27e7fa(0x1ed)]||(_0x432f9f[_0x27e7fa(0x1fe)][_0x27e7fa(0x1db)]>0x0?_0x432f9f[_0x27e7fa(0x1fe)][0x0]['id']:''),this[_0x27e7fa(0x1e9)]=_0x432f9f[_0x27e7fa(0x1fe)][_0x27e7fa(0x1d8)](_0x2de60a=>_0x2de60a['id']===this[_0x27e7fa(0x1d9)])?.[_0x27e7fa(0x1f0)]||'',this[_0x27e7fa(0x1d3)](_0x27e7fa(0x1de),''),this[_0x27e7fa(0x1f8)]=_0xddf60e(this[_0x27e7fa(0x1ea)]);const _0x315369=this[_0x27e7fa(0x1f2)](_0x432f9f[_0x27e7fa(0x1fe)]);_0x190dab(this[_0x27e7fa(0x1f8)],_0x315369,{'role':_0x27e7fa(0x1f5),'ariaLabel':_0x432f9f[_0x27e7fa(0x1f0)]}),this[_0x27e7fa(0x1f8)][_0x27e7fa(0x1eb)][_0x27e7fa(0x1d3)]({'label':this[_0x27e7fa(0x1e9)],'withText':!0x0}),this[_0x27e7fa(0x1f8)][_0x27e7fa(0x1f1)]({'on':{'click':this[_0x27e7fa(0x1f7)]['to'](_0x160c9e=>{const _0x20dab6=_0x27e7fa;_0x160c9e[_0x20dab6(0x1e8)]();})}}),this[_0x27e7fa(0x1fb)](this[_0x27e7fa(0x1f8)],_0x27e7fa(0x1ee),_0x3617c3=>{const _0x2f324c=_0x27e7fa;this[_0x2f324c(0x1de)]=_0x3617c3[_0x2f324c(0x1ef)][_0x2f324c(0x1dc)]['id'],this[_0x2f324c(0x1f8)][_0x2f324c(0x1eb)][_0x2f324c(0x1f0)]=_0x3617c3[_0x2f324c(0x1ef)][_0x2f324c(0x1dc)][_0x2f324c(0x1f0)];}),this[_0x27e7fa(0x1fd)]({'tag':_0x27e7fa(0x1e6),'attributes':{'class':['ck',_0x27e7fa(0x1d6),_0x27e7fa(0x1e1),_0x27e7fa(0x1e4)]},'children':[this[_0x27e7fa(0x1f8)]]});}[_0x169458(0x1da)](){const _0x2f6699=_0x169458;this[_0x2f6699(0x1de)]=this[_0x2f6699(0x1d9)],this[_0x2f6699(0x1f8)][_0x2f6699(0x1eb)][_0x2f6699(0x1f0)]=this[_0x2f6699(0x1e9)];}[_0x169458(0x1f2)](_0x51bce9=[]){const _0x17f680=_0x169458,_0xa8475d=new _0x4ff77c();this[_0x17f680(0x1da)]();for(const _0x121e44 of _0x51bce9){const _0x1f6bdc=new _0x1db8f0({'label':_0x121e44[_0x17f680(0x1f0)],'withText':!0x0,'role':_0x17f680(0x1f4),'id':_0x121e44['id'],'model':_0x121e44});_0x1f6bdc[_0x17f680(0x1f3)](_0x17f680(0x1fa))['to'](this,_0x17f680(0x1de),_0x3c69eb=>_0x3c69eb===_0x1f6bdc['id']);const _0x2e2995={'type':_0x17f680(0x1e7),'model':_0x1f6bdc};_0xa8475d[_0x17f680(0x1e0)](_0x2e2995);}return _0xa8475d;}}