@ckeditor/ckeditor5-ai 47.7.5-alpha.0 → 47.7.6

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 (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27e8d4=_0x1a5b;(function(_0x5a1dd3,_0x1aa6d8){const _0x41f891=_0x1a5b,_0x2e456f=_0x5a1dd3();while(!![]){try{const _0x42fa7b=parseInt(_0x41f891(0x1f1))/0x1*(parseInt(_0x41f891(0x200))/0x2)+parseInt(_0x41f891(0x1d4))/0x3+parseInt(_0x41f891(0x203))/0x4*(-parseInt(_0x41f891(0x21a))/0x5)+-parseInt(_0x41f891(0x1dd))/0x6+parseInt(_0x41f891(0x1f7))/0x7+parseInt(_0x41f891(0x205))/0x8*(-parseInt(_0x41f891(0x1f0))/0x9)+parseInt(_0x41f891(0x1fa))/0xa*(parseInt(_0x41f891(0x1e6))/0xb);if(_0x42fa7b===_0x1aa6d8)break;else _0x2e456f['push'](_0x2e456f['shift']());}catch(_0x426f09){_0x2e456f['push'](_0x2e456f['shift']());}}}(_0x4afa,0x55c4c));import{Rect as _0x303656,getConstrainedViewportRect as _0x1ff9f7}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x41d869,View as _0x360859,clickOutsideHandler as _0x192b36}from'ckeditor5/src/ui.js';function _0x1a5b(_0x255407,_0x517c6a){const _0x4afa01=_0x4afa();return _0x1a5b=function(_0x1a5b92,_0x62f241){_0x1a5b92=_0x1a5b92-0x1d3;let _0x50069d=_0x4afa01[_0x1a5b92];return _0x50069d;},_0x1a5b(_0x255407,_0x517c6a);}import{AIReviewCoreReviewCheckListItemResultsView as _0xcb507e}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x41d869{[_0x27e8d4(0x1ff)];[_0x27e8d4(0x204)]=void 0x0;[_0x27e8d4(0x1e5)]=void 0x0;[_0x27e8d4(0x20e)]=void 0x0;constructor(_0x4d4804,_0x1000ce){const _0x3eec61=_0x27e8d4;super(_0x4d4804),this[_0x3eec61(0x1e2)]({'isVisible':!0x1,'position':_0x3eec61(0x1ef),'class':null,'top':0x0,'left':0x0}),this[_0x3eec61(0x1d7)]({'tag':_0x3eec61(0x202),'attributes':{'class':[_0x3eec61(0x20b)],'tabindex':'-1'}}),this[_0x3eec61(0x1e2)](_0x3eec61(0x1e9),!0x1),this[_0x3eec61(0x1fb)][_0x3eec61(0x1d5)](this[_0x3eec61(0x20f)]()),_0x1000ce[_0x3eec61(0x1d5)](this);}[_0x27e8d4(0x212)](){const _0x41d485=_0x27e8d4;super[_0x41d485(0x212)](),this[_0x41d485(0x1d9)]();}[_0x27e8d4(0x1f3)](_0x175466){const _0x7f12e3=_0x27e8d4;this[_0x7f12e3(0x1ff)][_0x7f12e3(0x1e3)]=_0x175466['id'],this[_0x7f12e3(0x1ff)][_0x7f12e3(0x208)][_0x7f12e3(0x1d6)][_0x7f12e3(0x221)]=_0x175466[_0x7f12e3(0x1df)];}[_0x27e8d4(0x201)](_0x5c5706,_0x520198,_0x1a8565,_0x39afc8,_0x422e0e,_0xcad9ed){const _0x2dec46=_0x27e8d4,_0xa6c75a=_0x520198();if(!_0xa6c75a)return;this[_0x2dec46(0x1f3)](_0x5c5706),this[_0x2dec46(0x211)]();const _0x5ef9de=Array[_0x2dec46(0x21b)](_0xa6c75a[_0x2dec46(0x217)]())[_0x2dec46(0x207)](),_0x4362af=this[_0x2dec46(0x1ec)](_0x1a8565,_0x5ef9de),_0x146238=_0x5ef9de[_0x4362af??0x0];_0x2dec46(0x1fe)===_0x39afc8?(this[_0x2dec46(0x1e9)]=!0x0,this[_0x2dec46(0x21f)]({'target':()=>this[_0x2dec46(0x1f4)](_0x520198(),_0x4362af,_0x5c5706['id'],_0x422e0e,_0xcad9ed)||_0x146238})):_0x2dec46(0x1de)===_0x39afc8&&(this[_0x2dec46(0x1e9)]=!0x1,this[_0x2dec46(0x21f)]({'target':()=>this[_0x2dec46(0x21c)](_0x520198(),_0x4362af,_0x5c5706['id'])||_0x146238}));}[_0x27e8d4(0x1e0)](){const _0x240b00=_0x27e8d4;this[_0x240b00(0x1e7)](),this[_0x240b00(0x21d)](),this[_0x240b00(0x204)]=void 0x0,this[_0x240b00(0x1e5)]=void 0x0,this[_0x240b00(0x20e)]=void 0x0;}[_0x27e8d4(0x213)](){const _0x22bd83=_0x27e8d4;this[_0x22bd83(0x1ff)][_0x22bd83(0x214)]=!0x1;}[_0x27e8d4(0x219)](){const _0x5dcf7a=_0x27e8d4;this[_0x5dcf7a(0x1ff)][_0x5dcf7a(0x214)]=!0x0;}[_0x27e8d4(0x1f5)](){const _0x105dff=_0x27e8d4;this[_0x105dff(0x1fd)](_0x105dff(0x1f5),{'origin':_0x105dff(0x1e1)});}[_0x27e8d4(0x1d9)](){const _0x37dfc1=_0x27e8d4;_0x192b36({'emitter':this,'activator':()=>this[_0x37dfc1(0x20c)],'contextElements':()=>{const _0x13960d=_0x37dfc1,_0x53b51e=[this[_0x13960d(0x1d6)]];return this[_0x13960d(0x1e5)]&&_0x53b51e[_0x13960d(0x1ea)](this[_0x13960d(0x1e5)]),_0x53b51e;},'callback':()=>{const _0x2c61eb=_0x37dfc1;this[_0x2c61eb(0x1e7)](),this[_0x2c61eb(0x21d)](),this[_0x2c61eb(0x1f5)](),this[_0x2c61eb(0x1e5)]=void 0x0,this[_0x2c61eb(0x204)]=void 0x0,this[_0x2c61eb(0x20e)]=void 0x0;}});}[_0x27e8d4(0x20f)](){const _0xaeb126=_0x27e8d4,_0x5431b5=new _0x360859();return this[_0xaeb126(0x1ff)]=new _0xcb507e(this[_0xaeb126(0x1fc)],''),this[_0xaeb126(0x1ff)][_0xaeb126(0x208)][_0xaeb126(0x1d7)]({'attributes':{'class':[_0xaeb126(0x222)]}}),this[_0xaeb126(0x1ff)][_0xaeb126(0x210)](_0xaeb126(0x1db),_0xaeb126(0x218))['to'](this),_0x5431b5[_0xaeb126(0x1f6)]({'tag':_0xaeb126(0x202),'attributes':{'class':[_0xaeb126(0x20b),_0xaeb126(0x1ed),this[_0xaeb126(0x1e4)]['if'](_0xaeb126(0x1e9),_0xaeb126(0x209))]},'children':[{'tag':'p','attributes':{'class':[_0xaeb126(0x1f8)]},'children':[this[_0xaeb126(0x1ff)]]}]}),_0x5431b5;}[_0x27e8d4(0x1f4)](_0x194606,_0x25f2f3,_0x16c74c,_0xe5e1be,_0x4caff6){const _0x2da983=_0x27e8d4;if(!_0x194606)return null;const _0x449d50=this[_0x2da983(0x20d)][_0x2da983(0x206)](_0x2da983(0x1dc),''),_0x1fa281=Array[_0x2da983(0x21b)](_0x194606[_0x2da983(0x217)]());let _0x29edb5,_0x4c77a2=_0x1fa281[_0x2da983(0x207)]();return void 0x0!==_0x25f2f3&&this[_0x2da983(0x20a)](_0x4c77a2[_0x25f2f3],_0xe5e1be,_0x4caff6)?(_0x29edb5=_0x4c77a2[_0x25f2f3],this[_0x2da983(0x204)]=_0x25f2f3):this[_0x2da983(0x20a)](_0x4c77a2[0x0],_0xe5e1be,_0x4caff6)&&void 0x0===_0x25f2f3?_0x29edb5=_0x4c77a2[0x0]:(_0x4c77a2='s'==_0x449d50[0x0]?[..._0x1fa281][_0x2da983(0x207)]():_0x1fa281,_0x4c77a2[_0x2da983(0x220)](_0x2ea729=>{const _0x1512ef=_0x2da983;this[_0x1512ef(0x20a)](_0x2ea729,_0xe5e1be,_0x4caff6)&&(_0x29edb5=_0x2ea729);})),this[_0x2da983(0x20e)]=_0x16c74c,this[_0x2da983(0x1e5)]=_0x194606,_0x29edb5||_0x194606[_0x2da983(0x1ee)]();}[_0x27e8d4(0x21c)](_0x18d02d,_0x27e169,_0x2cbca0){const _0x31f528=_0x27e8d4;if(!_0x18d02d)return null;const _0x2a3e4a=Array[_0x31f528(0x21b)](_0x18d02d[_0x31f528(0x217)]())[_0x31f528(0x207)]();if(void 0x0===this[_0x31f528(0x204)]&&void 0x0!==_0x27e169&&this[_0x31f528(0x20e)]!==_0x2cbca0)return this[_0x31f528(0x204)]=_0x27e169,this[_0x31f528(0x1e5)]=_0x18d02d,this[_0x31f528(0x20e)]=_0x2cbca0,_0x2a3e4a[_0x27e169];if(void 0x0!==this[_0x31f528(0x204)]&&this[_0x31f528(0x20e)]===_0x2cbca0){if(_0x18d02d!==this[_0x31f528(0x1e5)])return Array[_0x31f528(0x21b)](this[_0x31f528(0x1e5)][_0x31f528(0x217)]())[_0x31f528(0x207)]()[this[_0x31f528(0x204)]];return _0x2a3e4a[this[_0x31f528(0x204)]];}return void 0x0!==_0x27e169&&this[_0x31f528(0x20e)]!==_0x2cbca0?(this[_0x31f528(0x204)]=_0x27e169,this[_0x31f528(0x1e5)]=_0x18d02d,this[_0x31f528(0x20e)]=_0x2cbca0,_0x2a3e4a[_0x27e169]):_0x18d02d[_0x31f528(0x1ee)]();}[_0x27e8d4(0x1ec)](_0x169587,_0x3cb494){const _0x56b814=_0x27e8d4;if(_0x169587)for(let _0x2b8f15=0x0;_0x2b8f15<_0x3cb494[_0x56b814(0x21e)];_0x2b8f15++){const _0xf13a6e=_0x3cb494[_0x2b8f15];if(_0x169587[_0x56b814(0x1f9)]>=_0xf13a6e[_0x56b814(0x1da)]-0x3&&_0x169587[_0x56b814(0x1f9)]<=_0xf13a6e[_0x56b814(0x1e8)]+0x3&&_0x169587[_0x56b814(0x216)]>=_0xf13a6e[_0x56b814(0x1d3)]-0x3&&_0x169587[_0x56b814(0x216)]<=_0xf13a6e[_0x56b814(0x1d8)]+0x3)return _0x2b8f15;}}[_0x27e8d4(0x20a)](_0x2c2ddf,_0x75cd1d,_0x13d7b7){const _0x280bc6=_0x27e8d4,_0x45c48c=new _0x303656(_0x2c2ddf),_0x25a270=_0x75cd1d||document[_0x280bc6(0x1eb)],_0x4fb257=_0x45c48c[_0x280bc6(0x1f2)](_0x1ff9f7(_0x13d7b7)),_0x5d10e8=new _0x303656(_0x25a270)[_0x280bc6(0x1f2)](_0x45c48c);return!!(_0x4fb257&&_0x5d10e8&&_0x45c48c[_0x280bc6(0x215)]>0x0);}}function _0x4afa(){const _0x6967d3=['unpin','length','pin','forEach','innerHTML','ck-content','top','4029CandzM','add','element','extendTemplate','bottom','_setupClickOutsideHandler','left','acceptChange','arrow_','3520524rkLbEA','hover','contentDiffed','hideBalloon','balloon','set','changeId','bindTemplate','_pinnedTargetElement','22AZyKAX','hide','right','isDiffActive','push','documentElement','_getPointedRectIndexFromEvent','ck-ai_review-balloon-panel-suggestion','getBoundingClientRect','arrow_se','265968ckxNfv','4LBfylG','getIntersection','updateContent','_getBestRectPositionOnClick','deactivateChange','setTemplate','4667278eLlBdm','ck-ai_review__suggestion-text','clientX','6883460HwRmey','content','locale','fire','click','resultItemView','10714pIdQGr','showBalloon','div','28692ynHKEe','_pinnedRectIndex','152rklnJX','replace','reverse','resultResponseView','ck-ai_review-balloon-panel-suggestion_diff-active','_isPinnedRectVisible','ck-reset','isVisible','position','_pinnedTargetChangeId','_createContentView','delegate','show','render','hideDiffInBalloon','showDiff','width','clientY','getClientRects','dismissChange','showDiffInBalloon','395usaQpp','from','_getBestRectPositionOnHover'];_0x4afa=function(){return _0x6967d3;};return _0x4afa();}
23
+ function _0x3aef(_0x2ea1cd,_0xb39a5f){const _0x12086a=_0x1208();return _0x3aef=function(_0x3aef3c,_0x10e921){_0x3aef3c=_0x3aef3c-0x11e;let _0x4f1fbe=_0x12086a[_0x3aef3c];return _0x4f1fbe;},_0x3aef(_0x2ea1cd,_0xb39a5f);}const _0x3c0ca6=_0x3aef;(function(_0x29b140,_0x2f3808){const _0x33bb18=_0x3aef,_0x58b5f8=_0x29b140();while(!![]){try{const _0x5d3027=parseInt(_0x33bb18(0x162))/0x1*(-parseInt(_0x33bb18(0x160))/0x2)+-parseInt(_0x33bb18(0x146))/0x3*(parseInt(_0x33bb18(0x148))/0x4)+-parseInt(_0x33bb18(0x123))/0x5*(parseInt(_0x33bb18(0x134))/0x6)+parseInt(_0x33bb18(0x15e))/0x7+parseInt(_0x33bb18(0x15c))/0x8*(parseInt(_0x33bb18(0x139))/0x9)+parseInt(_0x33bb18(0x142))/0xa+parseInt(_0x33bb18(0x126))/0xb;if(_0x5d3027===_0x2f3808)break;else _0x58b5f8['push'](_0x58b5f8['shift']());}catch(_0x2c2304){_0x58b5f8['push'](_0x58b5f8['shift']());}}}(_0x1208,0xc9f7c));import{Rect as _0x25be5d,getConstrainedViewportRect as _0x21c88f}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x4e84b9,View as _0x498116,clickOutsideHandler as _0xada68f}from'ckeditor5/src/ui.js';function _0x1208(){const _0x12bcb4=['8239473nyZXmw','showBalloon','push','isVisible','render','delegate','balloon','hover','ck-content','right','width','setTemplate','getIntersection','acceptChange','1980882FXfXOd','fire','extendTemplate','hideBalloon','hide','9KnEFHg','deactivateChange','bindTemplate','clientY','length','dismissChange','_pinnedTargetElement','ck-ai_review-balloon-panel-suggestion','clientX','13440480FcZriA','show','ck-ai_review-balloon-panel-suggestion_diff-active','ck-reset','120tuSMTk','getClientRects','55736YSUXmy','_createContentView','_isPinnedRectVisible','element','_getPointedRectIndexFromEvent','set','arrow_se','top','unpin','forEach','pin','updateContent','hideDiffInBalloon','getBoundingClientRect','_setupClickOutsideHandler','locale','contentDiffed','add','bottom','showDiff','9315448mlCRyC','resultItemView','5323871XVSnlX','_getBestRectPositionOnHover','982720PghgkU','reverse','2Hntuzy','content','_getBestRectPositionOnClick','changeId','from','click','replace','showDiffInBalloon','arrow_','isDiffActive','position','_pinnedTargetChangeId','ck-ai_review__suggestion-text','innerHTML','div','left','resultResponseView','25DZMJCR','documentElement','_pinnedRectIndex'];_0x1208=function(){return _0x12bcb4;};return _0x1208();}import{AIReviewCoreReviewCheckListItemResultsView as _0x17e51a}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x4e84b9{[_0x3c0ca6(0x15d)];[_0x3c0ca6(0x125)]=void 0x0;[_0x3c0ca6(0x13f)]=void 0x0;[_0x3c0ca6(0x16d)]=void 0x0;constructor(_0x4d49cf,_0x4cb4d8){const _0x4f5635=_0x3c0ca6;super(_0x4d49cf),this[_0x4f5635(0x14d)]({'isVisible':!0x1,'position':_0x4f5635(0x14e),'class':null,'top':0x0,'left':0x0}),this[_0x4f5635(0x136)]({'tag':_0x4f5635(0x120),'attributes':{'class':[_0x4f5635(0x145)],'tabindex':'-1'}}),this[_0x4f5635(0x14d)](_0x4f5635(0x16b),!0x1),this[_0x4f5635(0x163)][_0x4f5635(0x159)](this[_0x4f5635(0x149)]()),_0x4cb4d8[_0x4f5635(0x159)](this);}[_0x3c0ca6(0x12a)](){const _0x1bb7ef=_0x3c0ca6;super[_0x1bb7ef(0x12a)](),this[_0x1bb7ef(0x156)]();}[_0x3c0ca6(0x153)](_0x20fa4e){const _0x529406=_0x3c0ca6;this[_0x529406(0x15d)][_0x529406(0x165)]=_0x20fa4e['id'],this[_0x529406(0x15d)][_0x529406(0x122)][_0x529406(0x14b)][_0x529406(0x11f)]=_0x20fa4e[_0x529406(0x158)];}[_0x3c0ca6(0x127)](_0x181640,_0x410ba2,_0x1be368,_0x57582f,_0x54d5bb,_0x2fa2fc){const _0x586452=_0x3c0ca6,_0xaf723c=_0x410ba2();if(!_0xaf723c)return;this[_0x586452(0x153)](_0x181640),this[_0x586452(0x143)]();const _0x13d08f=Array[_0x586452(0x166)](_0xaf723c[_0x586452(0x147)]())[_0x586452(0x161)](),_0x3bd69a=this[_0x586452(0x14c)](_0x1be368,_0x13d08f),_0x4f3845=_0x13d08f[_0x3bd69a??0x0];_0x586452(0x167)===_0x57582f?(this[_0x586452(0x16b)]=!0x0,this[_0x586452(0x152)]({'target':()=>this[_0x586452(0x164)](_0x410ba2(),_0x3bd69a,_0x181640['id'],_0x54d5bb,_0x2fa2fc)||_0x4f3845})):_0x586452(0x12d)===_0x57582f&&(this[_0x586452(0x16b)]=!0x1,this[_0x586452(0x152)]({'target':()=>this[_0x586452(0x15f)](_0x410ba2(),_0x3bd69a,_0x181640['id'])||_0x4f3845}));}[_0x3c0ca6(0x137)](){const _0x134bac=_0x3c0ca6;this[_0x134bac(0x138)](),this[_0x134bac(0x150)](),this[_0x134bac(0x125)]=void 0x0,this[_0x134bac(0x13f)]=void 0x0,this[_0x134bac(0x16d)]=void 0x0;}[_0x3c0ca6(0x154)](){const _0x180aeb=_0x3c0ca6;this[_0x180aeb(0x15d)][_0x180aeb(0x15b)]=!0x1;}[_0x3c0ca6(0x169)](){const _0x2adda3=_0x3c0ca6;this[_0x2adda3(0x15d)][_0x2adda3(0x15b)]=!0x0;}[_0x3c0ca6(0x13a)](){const _0x5109a7=_0x3c0ca6;this[_0x5109a7(0x135)](_0x5109a7(0x13a),{'origin':_0x5109a7(0x12c)});}[_0x3c0ca6(0x156)](){const _0x4d97ef=_0x3c0ca6;_0xada68f({'emitter':this,'activator':()=>this[_0x4d97ef(0x129)],'contextElements':()=>{const _0x28f46c=_0x4d97ef,_0x2cec4f=[this[_0x28f46c(0x14b)]];return this[_0x28f46c(0x13f)]&&_0x2cec4f[_0x28f46c(0x128)](this[_0x28f46c(0x13f)]),_0x2cec4f;},'callback':()=>{const _0x53ae29=_0x4d97ef;this[_0x53ae29(0x138)](),this[_0x53ae29(0x150)](),this[_0x53ae29(0x13a)](),this[_0x53ae29(0x13f)]=void 0x0,this[_0x53ae29(0x125)]=void 0x0,this[_0x53ae29(0x16d)]=void 0x0;}});}[_0x3c0ca6(0x149)](){const _0x389328=_0x3c0ca6,_0x3ead41=new _0x498116();return this[_0x389328(0x15d)]=new _0x17e51a(this[_0x389328(0x157)],''),this[_0x389328(0x15d)][_0x389328(0x122)][_0x389328(0x136)]({'attributes':{'class':[_0x389328(0x12e)]}}),this[_0x389328(0x15d)][_0x389328(0x12b)](_0x389328(0x133),_0x389328(0x13e))['to'](this),_0x3ead41[_0x389328(0x131)]({'tag':_0x389328(0x120),'attributes':{'class':[_0x389328(0x145),_0x389328(0x140),this[_0x389328(0x13b)]['if'](_0x389328(0x16b),_0x389328(0x144))]},'children':[{'tag':'p','attributes':{'class':[_0x389328(0x11e)]},'children':[this[_0x389328(0x15d)]]}]}),_0x3ead41;}[_0x3c0ca6(0x164)](_0x4811fa,_0x2df540,_0x470bc2,_0x2c93a3,_0x2dca48){const _0x4b9d39=_0x3c0ca6;if(!_0x4811fa)return null;const _0x164490=this[_0x4b9d39(0x16c)][_0x4b9d39(0x168)](_0x4b9d39(0x16a),''),_0x3699a6=Array[_0x4b9d39(0x166)](_0x4811fa[_0x4b9d39(0x147)]());let _0x40fbc3,_0x30ceb0=_0x3699a6[_0x4b9d39(0x161)]();return void 0x0!==_0x2df540&&this[_0x4b9d39(0x14a)](_0x30ceb0[_0x2df540],_0x2c93a3,_0x2dca48)?(_0x40fbc3=_0x30ceb0[_0x2df540],this[_0x4b9d39(0x125)]=_0x2df540):this[_0x4b9d39(0x14a)](_0x30ceb0[0x0],_0x2c93a3,_0x2dca48)&&void 0x0===_0x2df540?_0x40fbc3=_0x30ceb0[0x0]:(_0x30ceb0='s'==_0x164490[0x0]?[..._0x3699a6][_0x4b9d39(0x161)]():_0x3699a6,_0x30ceb0[_0x4b9d39(0x151)](_0x47948f=>{const _0x5d816f=_0x4b9d39;this[_0x5d816f(0x14a)](_0x47948f,_0x2c93a3,_0x2dca48)&&(_0x40fbc3=_0x47948f);})),this[_0x4b9d39(0x16d)]=_0x470bc2,this[_0x4b9d39(0x13f)]=_0x4811fa,_0x40fbc3||_0x4811fa[_0x4b9d39(0x155)]();}[_0x3c0ca6(0x15f)](_0x2abb1b,_0x132f32,_0x3441d9){const _0x783354=_0x3c0ca6;if(!_0x2abb1b)return null;const _0x10ad41=Array[_0x783354(0x166)](_0x2abb1b[_0x783354(0x147)]())[_0x783354(0x161)]();if(void 0x0===this[_0x783354(0x125)]&&void 0x0!==_0x132f32&&this[_0x783354(0x16d)]!==_0x3441d9)return this[_0x783354(0x125)]=_0x132f32,this[_0x783354(0x13f)]=_0x2abb1b,this[_0x783354(0x16d)]=_0x3441d9,_0x10ad41[_0x132f32];if(void 0x0!==this[_0x783354(0x125)]&&this[_0x783354(0x16d)]===_0x3441d9){if(_0x2abb1b!==this[_0x783354(0x13f)])return Array[_0x783354(0x166)](this[_0x783354(0x13f)][_0x783354(0x147)]())[_0x783354(0x161)]()[this[_0x783354(0x125)]];return _0x10ad41[this[_0x783354(0x125)]];}return void 0x0!==_0x132f32&&this[_0x783354(0x16d)]!==_0x3441d9?(this[_0x783354(0x125)]=_0x132f32,this[_0x783354(0x13f)]=_0x2abb1b,this[_0x783354(0x16d)]=_0x3441d9,_0x10ad41[_0x132f32]):_0x2abb1b[_0x783354(0x155)]();}[_0x3c0ca6(0x14c)](_0x395b3d,_0x10b485){const _0x494378=_0x3c0ca6;if(_0x395b3d)for(let _0x38589b=0x0;_0x38589b<_0x10b485[_0x494378(0x13d)];_0x38589b++){const _0x16852e=_0x10b485[_0x38589b];if(_0x395b3d[_0x494378(0x141)]>=_0x16852e[_0x494378(0x121)]-0x3&&_0x395b3d[_0x494378(0x141)]<=_0x16852e[_0x494378(0x12f)]+0x3&&_0x395b3d[_0x494378(0x13c)]>=_0x16852e[_0x494378(0x14f)]-0x3&&_0x395b3d[_0x494378(0x13c)]<=_0x16852e[_0x494378(0x15a)]+0x3)return _0x38589b;}}[_0x3c0ca6(0x14a)](_0x341f8c,_0x24d90b,_0x3df6fd){const _0x3445f7=_0x3c0ca6,_0x4ae3ee=new _0x25be5d(_0x341f8c),_0x373e09=_0x24d90b||document[_0x3445f7(0x124)],_0x3753d5=_0x4ae3ee[_0x3445f7(0x132)](_0x21c88f(_0x3df6fd)),_0x589a2a=new _0x25be5d(_0x373e09)[_0x3445f7(0x132)](_0x4ae3ee);return!!(_0x3753d5&&_0x589a2a&&_0x4ae3ee[_0x3445f7(0x130)]>0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2902ed=_0x38aa;function _0x38aa(_0x2a513a,_0x566a2f){const _0xdc00d=_0xdc00();return _0x38aa=function(_0x38aab3,_0xfc77ec){_0x38aab3=_0x38aab3-0xb0;let _0x833b94=_0xdc00d[_0x38aab3];return _0x833b94;},_0x38aa(_0x2a513a,_0x566a2f);}(function(_0x1555a9,_0x554395){const _0x459a3a=_0x38aa,_0x3ce2dc=_0x1555a9();while(!![]){try{const _0x4acf80=parseInt(_0x459a3a(0xcc))/0x1*(-parseInt(_0x459a3a(0xd4))/0x2)+parseInt(_0x459a3a(0xc0))/0x3*(parseInt(_0x459a3a(0xe2))/0x4)+parseInt(_0x459a3a(0xfa))/0x5+parseInt(_0x459a3a(0xf5))/0x6*(parseInt(_0x459a3a(0xd6))/0x7)+parseInt(_0x459a3a(0xc6))/0x8+-parseInt(_0x459a3a(0xc9))/0x9+-parseInt(_0x459a3a(0xce))/0xa;if(_0x4acf80===_0x554395)break;else _0x3ce2dc['push'](_0x3ce2dc['shift']());}catch(_0x19ef65){_0x3ce2dc['push'](_0x3ce2dc['shift']());}}}(_0xdc00,0x1e419));import{View as _0x2c9a10,ButtonView as _0x139505}from'ckeditor5/src/ui.js';import{IconInfo as _0xcdf8d4,IconCheck as _0x230244,IconCancel as _0x519681,IconOutdated as _0x5dc3b3}from'ckeditor5/src/icons.js';import{getTranslation as _0x156943}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x2c9a10{[_0x2902ed(0xef)];[_0x2902ed(0xca)];[_0x2902ed(0xc3)];[_0x2902ed(0xb8)];[_0x2902ed(0xbd)];constructor(_0x28057d,_0x1e8cfe){const _0x4c97cd=_0x2902ed;super(_0x28057d),this['id']=_0x1e8cfe,this[_0x4c97cd(0xde)](_0x4c97cd(0xe5),_0x4c97cd(0xc1)),this[_0x4c97cd(0xde)](_0x4c97cd(0xfe),_0x1e8cfe),this[_0x4c97cd(0xef)]=this[_0x4c97cd(0xcf)](),this[_0x4c97cd(0xca)]=this[_0x4c97cd(0xdb)](),this[_0x4c97cd(0xc3)]=this[_0x4c97cd(0xfc)](),this[_0x4c97cd(0xb8)]=this[_0x4c97cd(0xd3)](),this[_0x4c97cd(0xbd)]=this[_0x4c97cd(0xb5)](),this[_0x4c97cd(0xde)](_0x4c97cd(0xd2),!0x1),this[_0x4c97cd(0xde)](_0x4c97cd(0xe4),!0x1),this[_0x4c97cd(0xde)](_0x4c97cd(0xb0),!0x0),this[_0x4c97cd(0xf3)]({'tag':_0x4c97cd(0xe6),'attributes':{'class':[_0x4c97cd(0xb7),this[_0x4c97cd(0xc8)]['if'](_0x4c97cd(0xe4),_0x4c97cd(0xd5))]},'on':{'click':this[_0x4c97cd(0xc8)]['to'](_0x4c97cd(0xd9)),'mouseover':this[_0x4c97cd(0xc8)]['to'](_0x4c97cd(0xf8)),'mouseout':this[_0x4c97cd(0xc8)]['to'](_0x4c97cd(0xe1))},'children':[this[_0x4c97cd(0xef)],{'tag':_0x4c97cd(0xe6),'attributes':{'class':[_0x4c97cd(0xb6)]},'children':[{'tag':_0x4c97cd(0xe6),'attributes':{'class':[_0x4c97cd(0xdc)]},'children':[this[_0x4c97cd(0xca)],this[_0x4c97cd(0xc3)],this[_0x4c97cd(0xbd)]]},this[_0x4c97cd(0xb8)]]}]}),this['on'](_0x4c97cd(0xd9),(_0x138243,_0x4e7470)=>{const _0x5e386f=_0x4c97cd;_0x4e7470&&_0x4e7470[_0x5e386f(0xe3)]&&'A'===_0x4e7470[_0x5e386f(0xe3)][_0x5e386f(0xf0)]&&_0x4e7470[_0x5e386f(0xe7)](),this[_0x5e386f(0xee)](_0x5e386f(0xda),{'id':_0x1e8cfe,'source':this,'uiInteraction':_0x5e386f(0xd9)});}),this['on'](_0x4c97cd(0xf8),()=>{const _0x45c706=_0x4c97cd;this[_0x45c706(0xee)](_0x45c706(0xda),{'id':_0x1e8cfe,'source':this,'uiInteraction':_0x45c706(0xc5)});}),this['on'](_0x4c97cd(0xe1),()=>{const _0x36a6ac=_0x4c97cd;this[_0x36a6ac(0xee)](_0x36a6ac(0xdd),{'origin':_0x36a6ac(0xea),'id':_0x1e8cfe,'source':this});});}[_0x2902ed(0xec)](){const _0x51ef22=_0x2902ed;this[_0x51ef22(0xe4)]=!0x0;}[_0x2902ed(0xe8)](){const _0x11dbe6=_0x2902ed;this[_0x11dbe6(0xe4)]=!0x1;}[_0x2902ed(0xcf)](){const _0x2941c3=_0x2902ed,_0x500068=new _0x2c9a10(this[_0x2941c3(0xba)]);return _0x500068[_0x2941c3(0xf3)]({'tag':_0x2941c3(0xe6),'attributes':{'class':['ck',_0x2941c3(0xf9),_0x2941c3(0xf6),_0x2941c3(0xe0),this[_0x2941c3(0xc8)]['if'](_0x2941c3(0xb0),_0x2941c3(0xb9),_0x4b192c=>!_0x4b192c)]}}),_0x500068;}[_0x2902ed(0xdb)](){const _0x3e5c8d=_0x2902ed,_0x2f4310=new _0x139505(this[_0x3e5c8d(0xba)]);return _0x2f4310[_0x3e5c8d(0xde)]({'label':_0x156943(this[_0x3e5c8d(0xba)],_0x3e5c8d(0xd8)),'withText':!0x0}),_0x2f4310[_0x3e5c8d(0xdf)]({'on':{'click':this[_0x3e5c8d(0xc8)]['to'](_0x2c445b=>{const _0x245898=_0x3e5c8d;this[_0x245898(0xee)](_0x245898(0xf7),{'id':this[_0x245898(0xfe)]}),_0x2c445b[_0x245898(0xc2)]();})},'attributes':{'class':[_0x3e5c8d(0xfb),_0x3e5c8d(0xf4),this[_0x3e5c8d(0xc8)]['if'](_0x3e5c8d(0xe5),_0x3e5c8d(0xb9),_0x5de2b2=>_0x3e5c8d(0xc1)!==_0x5de2b2&&_0x3e5c8d(0xb3)!==_0x5de2b2),this[_0x3e5c8d(0xc8)]['if'](_0x3e5c8d(0xe5),_0x3e5c8d(0xf4),_0x2d3877=>_0x3e5c8d(0xc1)===_0x2d3877),this[_0x3e5c8d(0xc8)]['if'](_0x3e5c8d(0xe5),_0x3e5c8d(0xbe),_0x1e51d6=>_0x3e5c8d(0xb3)===_0x1e51d6)]}}),this['on'](_0x3e5c8d(0xd0),(_0x408a8a,_0x3eae88,_0x140e30)=>{const _0x120368=_0x3e5c8d;_0x2f4310[_0x120368(0xbb)]=_0x120368(0xc1)===_0x140e30,_0x120368(0xb3)===_0x140e30&&(_0x2f4310[_0x120368(0xbf)]=_0x156943(this[_0x120368(0xba)],_0x120368(0xbc)),_0x2f4310[_0x120368(0xc4)]=_0x230244);}),_0x2f4310;}[_0x2902ed(0xfc)](){const _0x44eb80=_0x2902ed,_0x1cd42c=new _0x139505(this[_0x44eb80(0xba)]);return _0x1cd42c[_0x44eb80(0xde)]({'label':_0x156943(this[_0x44eb80(0xba)],_0x44eb80(0xc7)),'withText':!0x0}),_0x1cd42c[_0x44eb80(0xdf)]({'on':{'click':this[_0x44eb80(0xc8)]['to'](_0xe5468a=>{const _0x411153=_0x44eb80;this[_0x411153(0xee)](_0x411153(0xb4),{'id':this[_0x411153(0xfe)]}),_0xe5468a[_0x411153(0xc2)]();})},'attributes':{'class':[_0x44eb80(0xcb),this[_0x44eb80(0xc8)]['if'](_0x44eb80(0xe5),_0x44eb80(0xb9),_0x330b61=>_0x44eb80(0xc1)!==_0x330b61&&_0x44eb80(0xed)!==_0x330b61),this[_0x44eb80(0xc8)]['if'](_0x44eb80(0xe5),_0x44eb80(0xd1),_0x4b39b0=>_0x44eb80(0xc1)===_0x4b39b0),this[_0x44eb80(0xc8)]['if'](_0x44eb80(0xe5),_0x44eb80(0xbe),_0x2100ad=>_0x44eb80(0xed)===_0x2100ad)]}}),this['on'](_0x44eb80(0xd0),(_0x3628f3,_0xaee846,_0x39cf81)=>{const _0x597e0f=_0x44eb80;_0x1cd42c[_0x597e0f(0xbb)]=_0x597e0f(0xc1)===_0x39cf81,_0x597e0f(0xed)===_0x39cf81&&(_0x1cd42c[_0x597e0f(0xbf)]=_0x156943(this[_0x597e0f(0xba)],_0x597e0f(0xf2)),_0x1cd42c[_0x597e0f(0xc4)]=_0x519681);}),_0x1cd42c;}[_0x2902ed(0xd3)](){const _0x21071d=_0x2902ed,_0x5c4a3c=new _0x139505(this[_0x21071d(0xba)]);return _0x5c4a3c[_0x21071d(0xde)]({'label':_0x156943(this[_0x21071d(0xba)],_0x21071d(0xeb)),'icon':_0xcdf8d4,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x21071d(0xb2),'class':_0x21071d(0xcd)}),_0x5c4a3c[_0x21071d(0xb1)](_0x21071d(0xff))['to'](this,_0x21071d(0xd2),_0x3203f5=>_0x3203f5),_0x5c4a3c['on'](_0x21071d(0xfd),()=>{const _0x5830df=_0x21071d;this[_0x5830df(0xd2)]=!this[_0x5830df(0xd2)];}),_0x5c4a3c;}[_0x2902ed(0xb5)](){const _0x27085e=_0x2902ed,_0x7e30b7=new _0x139505(this[_0x27085e(0xba)]);return _0x7e30b7[_0x27085e(0xde)]({'label':_0x156943(this[_0x27085e(0xba)],_0x27085e(0xd7)),'icon':_0x5dc3b3,'withText':!0x0,'isEnabled':!0x1}),_0x7e30b7[_0x27085e(0xdf)]({'attributes':{'class':[_0x27085e(0xfb),_0x27085e(0xbe),this[_0x27085e(0xc8)]['if'](_0x27085e(0xe5),_0x27085e(0xb9),_0x51746a=>_0x27085e(0xf1)!==_0x51746a)],'disabled':_0x27085e(0xe9)}}),_0x7e30b7;}}function _0xdc00(){const _0x60d8dc=['mouseover','ck-content','847885jSzKcX','ck-ai-button-secondary','_createDismissButtonView','execute','changeId','isOn','showDiff','bind','menuitemcheckbox','accepted','dismissChange','_createOutdatedButtonView','ck-ai_review__check-run-result-footer','ck-ai_review__check-run-result','infoButtonView','ck-hidden','locale','isEnabled','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','outdatedButtonView','ck-ai_review__check-run-result-status-button','label','4137KEIJZj','pending','stopPropagation','dismissButtonView','icon','hover','121920rZgORO','AI_REVIEW_MODE_DISMISS_CHANGE','bindTemplate','1323027vfBenD','acceptButtonView','ck-ai-button-tertiary','1MxldOk','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','2116030KNiqXz','_createResultResponseView','change:status','ck-ai_review__check-run-result-dismiss-button','isInfoToggleOn','_createInfoButtonView','103654ATjeKv','ck-ai_review__check-run-result_active','246078AnxtCN','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','AI_REVIEW_MODE_ACCEPT_CHANGE','click','activateChange','_createAcceptButtonView','ck-ai_review__check-run-result-action-buttons','deactivateChange','set','extendTemplate','ck-ai_review__check-run-result-response','mouseout','708ntaGRJ','target','isActive','status','div','preventDefault','setItemAsInactive','disabled','panel','AI_REVIEW_MODE_LEARN_MORE','setItemAsActive','rejected','fire','resultResponseView','tagName','outdated','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','setTemplate','ck-ai_review__check-run-result-accept-button','18iUkHEt','ck-reset_all-excluded','acceptChange'];_0xdc00=function(){return _0x60d8dc;};return _0xdc00();}
23
+ const _0x427a29=_0x13bf;(function(_0x58ce58,_0x2b2f3d){const _0x30d800=_0x13bf,_0x394ff9=_0x58ce58();while(!![]){try{const _0x7a02fb=-parseInt(_0x30d800(0x1a9))/0x1*(-parseInt(_0x30d800(0x17c))/0x2)+-parseInt(_0x30d800(0x161))/0x3+-parseInt(_0x30d800(0x164))/0x4*(parseInt(_0x30d800(0x17b))/0x5)+-parseInt(_0x30d800(0x172))/0x6*(-parseInt(_0x30d800(0x173))/0x7)+parseInt(_0x30d800(0x19f))/0x8*(parseInt(_0x30d800(0x192))/0x9)+parseInt(_0x30d800(0x15e))/0xa+parseInt(_0x30d800(0x1a2))/0xb*(-parseInt(_0x30d800(0x176))/0xc);if(_0x7a02fb===_0x2b2f3d)break;else _0x394ff9['push'](_0x394ff9['shift']());}catch(_0x1dc7c4){_0x394ff9['push'](_0x394ff9['shift']());}}}(_0x1045,0xc57ed));function _0x13bf(_0x1d28c7,_0x2dc1d7){const _0x104504=_0x1045();return _0x13bf=function(_0x13bf14,_0xe4334){_0x13bf14=_0x13bf14-0x15b;let _0x4fb989=_0x104504[_0x13bf14];return _0x4fb989;},_0x13bf(_0x1d28c7,_0x2dc1d7);}import{View as _0x39b780,ButtonView as _0x5b5119}from'ckeditor5/src/ui.js';import{IconInfo as _0x4ee8cb,IconCheck as _0x2efb2f,IconCancel as _0x2b2a14,IconOutdated as _0x24c354}from'ckeditor5/src/icons.js';import{getTranslation as _0x109db1}from'../../aicore/utils/common-translations.js';function _0x1045(){const _0x30ee9d=['bindTemplate','tagName','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','status','deactivateChange','ck-ai_review__check-run-result','outdated','1083336sgrMrb','execute','stopPropagation','119779hQYjJX','_createAcceptButtonView','icon','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','_createOutdatedButtonView','AI_REVIEW_MODE_ACCEPT_CHANGE','ck-ai_review__check-run-result-accept-button','3zoWHjq','bind','activateChange','ck-ai-button-secondary','preventDefault','ck-ai_review__check-run-result_active','div','10316270QPiHLE','pending','AI_REVIEW_MODE_DISMISS_CHANGE','3308928gsfnEe','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','ck-ai_review__check-run-result-status-button','20VMRFIL','extendTemplate','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','isEnabled','infoButtonView','set','_createInfoButtonView','ck-reset_all-excluded','isActive','isInfoToggleOn','change:status','setItemAsActive','disabled','ck-ai_review__check-run-result-dismiss-button','85074XpWbvV','721AzAjah','target','isOn','888fkUozB','fire','ck-ai_review__check-run-result-footer','_createDismissButtonView','_createResultResponseView','1092870PYboCf','247060KCveWB','AI_REVIEW_MODE_LEARN_MORE','ck-hidden','resultResponseView','dismissButtonView','mouseover','changeId','click','dismissChange','ck-ai_review__check-run-result-action-buttons','ck-ai_review__check-run-result-response','acceptButtonView','setTemplate','ck-ai-button-tertiary','mouseout','locale','setItemAsInactive','accepted','ck-content','hover','showDiff','outdatedButtonView','63pJkGQl','menuitemcheckbox','panel','rejected','label','acceptChange'];_0x1045=function(){return _0x30ee9d;};return _0x1045();}export class AIReviewCoreReviewCheckListItemResultsView extends _0x39b780{[_0x427a29(0x17f)];[_0x427a29(0x187)];[_0x427a29(0x180)];[_0x427a29(0x168)];[_0x427a29(0x191)];constructor(_0x2cc6d0,_0x29fc58){const _0x5bbe39=_0x427a29;super(_0x2cc6d0),this['id']=_0x29fc58,this[_0x5bbe39(0x169)](_0x5bbe39(0x19b),_0x5bbe39(0x15f)),this[_0x5bbe39(0x169)](_0x5bbe39(0x182),_0x29fc58),this[_0x5bbe39(0x17f)]=this[_0x5bbe39(0x17a)](),this[_0x5bbe39(0x187)]=this[_0x5bbe39(0x1a3)](),this[_0x5bbe39(0x180)]=this[_0x5bbe39(0x179)](),this[_0x5bbe39(0x168)]=this[_0x5bbe39(0x16a)](),this[_0x5bbe39(0x191)]=this[_0x5bbe39(0x1a6)](),this[_0x5bbe39(0x169)](_0x5bbe39(0x16d),!0x1),this[_0x5bbe39(0x169)](_0x5bbe39(0x16c),!0x1),this[_0x5bbe39(0x169)](_0x5bbe39(0x190),!0x0),this[_0x5bbe39(0x188)]({'tag':_0x5bbe39(0x15d),'attributes':{'class':[_0x5bbe39(0x19d),this[_0x5bbe39(0x198)]['if'](_0x5bbe39(0x16c),_0x5bbe39(0x15c))]},'on':{'click':this[_0x5bbe39(0x198)]['to'](_0x5bbe39(0x183)),'mouseover':this[_0x5bbe39(0x198)]['to'](_0x5bbe39(0x181)),'mouseout':this[_0x5bbe39(0x198)]['to'](_0x5bbe39(0x18a))},'children':[this[_0x5bbe39(0x17f)],{'tag':_0x5bbe39(0x15d),'attributes':{'class':[_0x5bbe39(0x178)]},'children':[{'tag':_0x5bbe39(0x15d),'attributes':{'class':[_0x5bbe39(0x185)]},'children':[this[_0x5bbe39(0x187)],this[_0x5bbe39(0x180)],this[_0x5bbe39(0x191)]]},this[_0x5bbe39(0x168)]]}]}),this['on'](_0x5bbe39(0x183),(_0x4bfe64,_0x2dbeb2)=>{const _0x5378b9=_0x5bbe39;_0x2dbeb2&&_0x2dbeb2[_0x5378b9(0x174)]&&'A'===_0x2dbeb2[_0x5378b9(0x174)][_0x5378b9(0x199)]&&_0x2dbeb2[_0x5378b9(0x15b)](),this[_0x5378b9(0x177)](_0x5378b9(0x1ab),{'id':_0x29fc58,'source':this,'uiInteraction':_0x5378b9(0x183)});}),this['on'](_0x5bbe39(0x181),()=>{const _0x48f33c=_0x5bbe39;this[_0x48f33c(0x177)](_0x48f33c(0x1ab),{'id':_0x29fc58,'source':this,'uiInteraction':_0x48f33c(0x18f)});}),this['on'](_0x5bbe39(0x18a),()=>{const _0x515584=_0x5bbe39;this[_0x515584(0x177)](_0x515584(0x19c),{'origin':_0x515584(0x194),'id':_0x29fc58,'source':this});});}[_0x427a29(0x16f)](){const _0x6943c8=_0x427a29;this[_0x6943c8(0x16c)]=!0x0;}[_0x427a29(0x18c)](){const _0x2e3872=_0x427a29;this[_0x2e3872(0x16c)]=!0x1;}[_0x427a29(0x17a)](){const _0x4bbe11=_0x427a29,_0x591f96=new _0x39b780(this[_0x4bbe11(0x18b)]);return _0x591f96[_0x4bbe11(0x188)]({'tag':_0x4bbe11(0x15d),'attributes':{'class':['ck',_0x4bbe11(0x18e),_0x4bbe11(0x16b),_0x4bbe11(0x186),this[_0x4bbe11(0x198)]['if'](_0x4bbe11(0x190),_0x4bbe11(0x17e),_0x136870=>!_0x136870)]}}),_0x591f96;}[_0x427a29(0x1a3)](){const _0x34c6bd=_0x427a29,_0x45cadb=new _0x5b5119(this[_0x34c6bd(0x18b)]);return _0x45cadb[_0x34c6bd(0x169)]({'label':_0x109db1(this[_0x34c6bd(0x18b)],_0x34c6bd(0x1a7)),'withText':!0x0}),_0x45cadb[_0x34c6bd(0x165)]({'on':{'click':this[_0x34c6bd(0x198)]['to'](_0x589d98=>{const _0x55c746=_0x34c6bd;this[_0x55c746(0x177)](_0x55c746(0x197),{'id':this[_0x55c746(0x182)]}),_0x589d98[_0x55c746(0x1a1)]();})},'attributes':{'class':[_0x34c6bd(0x1ac),_0x34c6bd(0x1a8),this[_0x34c6bd(0x198)]['if'](_0x34c6bd(0x19b),_0x34c6bd(0x17e),_0x3f8845=>_0x34c6bd(0x15f)!==_0x3f8845&&_0x34c6bd(0x18d)!==_0x3f8845),this[_0x34c6bd(0x198)]['if'](_0x34c6bd(0x19b),_0x34c6bd(0x1a8),_0x171657=>_0x34c6bd(0x15f)===_0x171657),this[_0x34c6bd(0x198)]['if'](_0x34c6bd(0x19b),_0x34c6bd(0x163),_0x1f89cf=>_0x34c6bd(0x18d)===_0x1f89cf)]}}),this['on'](_0x34c6bd(0x16e),(_0x13c70e,_0x30190f,_0x2e5803)=>{const _0x272555=_0x34c6bd;_0x45cadb[_0x272555(0x167)]=_0x272555(0x15f)===_0x2e5803,_0x272555(0x18d)===_0x2e5803&&(_0x45cadb[_0x272555(0x196)]=_0x109db1(this[_0x272555(0x18b)],_0x272555(0x19a)),_0x45cadb[_0x272555(0x1a4)]=_0x2efb2f);}),_0x45cadb;}[_0x427a29(0x179)](){const _0x351486=_0x427a29,_0x1ea50b=new _0x5b5119(this[_0x351486(0x18b)]);return _0x1ea50b[_0x351486(0x169)]({'label':_0x109db1(this[_0x351486(0x18b)],_0x351486(0x160)),'withText':!0x0}),_0x1ea50b[_0x351486(0x165)]({'on':{'click':this[_0x351486(0x198)]['to'](_0x316f4a=>{const _0x3be104=_0x351486;this[_0x3be104(0x177)](_0x3be104(0x184),{'id':this[_0x3be104(0x182)]}),_0x316f4a[_0x3be104(0x1a1)]();})},'attributes':{'class':[_0x351486(0x189),this[_0x351486(0x198)]['if'](_0x351486(0x19b),_0x351486(0x17e),_0x27ea9d=>_0x351486(0x15f)!==_0x27ea9d&&_0x351486(0x195)!==_0x27ea9d),this[_0x351486(0x198)]['if'](_0x351486(0x19b),_0x351486(0x171),_0x1e1b1f=>_0x351486(0x15f)===_0x1e1b1f),this[_0x351486(0x198)]['if'](_0x351486(0x19b),_0x351486(0x163),_0x386255=>_0x351486(0x195)===_0x386255)]}}),this['on'](_0x351486(0x16e),(_0x1aad0d,_0x16ce5f,_0x394542)=>{const _0x34c518=_0x351486;_0x1ea50b[_0x34c518(0x167)]=_0x34c518(0x15f)===_0x394542,_0x34c518(0x195)===_0x394542&&(_0x1ea50b[_0x34c518(0x196)]=_0x109db1(this[_0x34c518(0x18b)],_0x34c518(0x166)),_0x1ea50b[_0x34c518(0x1a4)]=_0x2b2a14);}),_0x1ea50b;}[_0x427a29(0x16a)](){const _0x9c71a=_0x427a29,_0x1dc1f9=new _0x5b5119(this[_0x9c71a(0x18b)]);return _0x1dc1f9[_0x9c71a(0x169)]({'label':_0x109db1(this[_0x9c71a(0x18b)],_0x9c71a(0x17d)),'icon':_0x4ee8cb,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x9c71a(0x193),'class':_0x9c71a(0x162)}),_0x1dc1f9[_0x9c71a(0x1aa)](_0x9c71a(0x175))['to'](this,_0x9c71a(0x16d),_0x349cd1=>_0x349cd1),_0x1dc1f9['on'](_0x9c71a(0x1a0),()=>{const _0x51b11a=_0x9c71a;this[_0x51b11a(0x16d)]=!this[_0x51b11a(0x16d)];}),_0x1dc1f9;}[_0x427a29(0x1a6)](){const _0x4612e6=_0x427a29,_0x2cc754=new _0x5b5119(this[_0x4612e6(0x18b)]);return _0x2cc754[_0x4612e6(0x169)]({'label':_0x109db1(this[_0x4612e6(0x18b)],_0x4612e6(0x1a5)),'icon':_0x24c354,'withText':!0x0,'isEnabled':!0x1}),_0x2cc754[_0x4612e6(0x165)]({'attributes':{'class':[_0x4612e6(0x1ac),_0x4612e6(0x163),this[_0x4612e6(0x198)]['if'](_0x4612e6(0x19b),_0x4612e6(0x17e),_0x4c4fd7=>_0x4612e6(0x19e)!==_0x4c4fd7)],'disabled':_0x4612e6(0x170)}}),_0x2cc754;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x4d586a,KeystrokeHandler as _0xe83c00,FocusTracker as _0x138887}from'ckeditor5/src/utils.js';import{View as _0x45d871,ViewCollection as _0x29fdd1,ButtonView as _0x58328a,FormRowView as _0x14f14a,createDropdown as _0x383d3e,addListToDropdown as _0x976e35,UIModel as _0x56c7bd,ButtonLabelView as _0xa1357b,LabeledFieldView as _0x5a2e2a,FocusCycler as _0x300f61}from'ckeditor5/src/ui.js';import{getTranslation as _0x3075d6}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x51237e}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x45d871{['focusTracker']=new _0x138887();['keystrokes']=new _0xe83c00();['focusCycler'];['_focusables']=new _0x29fdd1();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x464d85,_0x9dbabb,_0xfcfc2e=!0x1){super(_0x464d85),this['_check']=_0x9dbabb,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x9dbabb['defaultModel']?_0x9dbabb['defaultModel']['id']:'',this['_defaultLabel']=_0x9dbabb['defaultModel']?_0x9dbabb['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x5a2e2a(this['locale'],()=>new _0x51237e(_0x464d85)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x4d586a(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0xfcfc2e),_0x976e35(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x14f14a(this['locale'],{'children':[this['promptInputView']]}),new _0x14f14a(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x55fe42,_0xcbecaa)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0xcbecaa()):_0xcbecaa();}),this['focusCycler']=new _0x300f61({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x421959=>{this['_focusables']['add'](_0x421959),this['focusTracker']['add'](_0x421959['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x338616 of this['_getFormValidators']()){const _0x3e7cf6=_0x338616();if(_0x3e7cf6)return this['promptInputView']['errorText']=_0x3e7cf6,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x3075d6(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x3716dc=new _0x58328a(this['locale']),t=this['locale']['t'];return _0x3716dc['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3716dc['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x3716dc;}['_createCancelButtonView'](){const _0x38faf8=new _0x58328a(this['locale']),t=this['locale']['t'];return _0x38faf8['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x38faf8['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x2c35d5=>{_0x2c35d5['stopPropagation']();})}}),_0x38faf8['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x38faf8;}['_setModelList'](_0x4829a6){this['_modelSelectionDropdownItems']['clear']();const _0x235d9f=this['_check']['models'];if(_0x4829a6)this['set']('modelDisplayMode','hidden');else{const _0x55d192=0x1===_0x235d9f['length'];this['set']('modelDisplayMode',_0x55d192?'name':'selector');}if(this['resetToDefault'](),_0x235d9f?.['length']){0x1===_0x235d9f['length']&&this['set']('activeModelName',_0x235d9f[0x0]['name']||_0x235d9f[0x0]['id']);for(const _0x3e13a of _0x235d9f){const _0x231326=new _0x56c7bd({'label':_0x3e13a['name'],'withText':!0x0,'role':'menuitemradio','id':_0x3e13a['id'],'model':_0x3e13a});_0x231326['bind']('isOn')['to'](this,'modelId',_0x361ab6=>_0x361ab6===_0x3e13a['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x231326,'labelView':new ModelButtonLabelView(this['locale'],_0x3e13a)});}}}['_createModelSelectionDropdown'](){const _0x11e455=_0x383d3e(this['locale']);return _0x11e455['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x11e455['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x11e455['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x29294e=>'selector'===_0x29294e),this['listenTo'](_0x11e455,'execute',_0x406bfc=>{this['modelId']=_0x406bfc['source']['model']['id'],_0x11e455['buttonView']['label']=_0x406bfc['source']['label'];}),_0x11e455;}['_createModelNameView'](){const _0x1e1548=new ModelNameView(this['locale']);return _0x1e1548['bind']('text')['to'](this,'activeModelName',_0x592270=>_0x592270??''),_0x1e1548['bind']('isVisible')['to'](this,'modelDisplayMode',_0x2d0e17=>'name'===_0x2d0e17),_0x1e1548;}['_createActionsFooterView'](){const _0x483b45=new _0x45d871(this['locale']);return _0x483b45['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x483b45;}}class ModelNameView extends _0x45d871{constructor(_0x54a51a){super(_0x54a51a),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x289cb6=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x289cb6['if']('isVisible','ck-hidden',_0x2e1a07=>!_0x2e1a07)]},'children':[{'text':_0x289cb6['to']('text')}]});}}class ModelButtonLabelView extends _0xa1357b{constructor(_0x52de61,_0x393180){super();const _0x59263d=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x59263d['to']('style'),'id':_0x59263d['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x59263d['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x393180['description']||'']}]}]});}}
23
+ import{Collection as _0x13205c,KeystrokeHandler as _0x4d61b2,FocusTracker as _0x5ba090}from'ckeditor5/src/utils.js';import{View as _0x7b2a78,ViewCollection as _0x2b3392,ButtonView as _0x21f084,FormRowView as _0x4890d0,createDropdown as _0x27d95d,addListToDropdown as _0x4a4446,UIModel as _0x32e401,ButtonLabelView as _0x2e159c,LabeledFieldView as _0x3f52e4,FocusCycler as _0x1cd7db}from'ckeditor5/src/ui.js';import{getTranslation as _0x27d158}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x34cbbb}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x7b2a78{['focusTracker']=new _0x5ba090();['keystrokes']=new _0x4d61b2();['focusCycler'];['_focusables']=new _0x2b3392();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x5bf87a,_0x2cb4f2,_0x39f10a=!0x1){super(_0x5bf87a),this['_check']=_0x2cb4f2,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x2cb4f2['defaultModel']?_0x2cb4f2['defaultModel']['id']:'',this['_defaultLabel']=_0x2cb4f2['defaultModel']?_0x2cb4f2['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x3f52e4(this['locale'],()=>new _0x34cbbb(_0x5bf87a)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x13205c(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x39f10a),_0x4a4446(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x4890d0(this['locale'],{'children':[this['promptInputView']]}),new _0x4890d0(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x296550,_0x2691e7)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x2691e7()):_0x2691e7();}),this['focusCycler']=new _0x1cd7db({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0xc72950=>{this['_focusables']['add'](_0xc72950),this['focusTracker']['add'](_0xc72950['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x23cdfb of this['_getFormValidators']()){const _0x131c78=_0x23cdfb();if(_0x131c78)return this['promptInputView']['errorText']=_0x131c78,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x27d158(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x2cf418=new _0x21f084(this['locale']),t=this['locale']['t'];return _0x2cf418['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x2cf418['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x2cf418;}['_createCancelButtonView'](){const _0x53399c=new _0x21f084(this['locale']),t=this['locale']['t'];return _0x53399c['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x53399c['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x158c09=>{_0x158c09['stopPropagation']();})}}),_0x53399c['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x53399c;}['_setModelList'](_0x3e8962){this['_modelSelectionDropdownItems']['clear']();const _0x1af6ef=this['_check']['models'];if(_0x3e8962)this['set']('modelDisplayMode','hidden');else{const _0x22f6ff=0x1===_0x1af6ef['length'];this['set']('modelDisplayMode',_0x22f6ff?'name':'selector');}if(this['resetToDefault'](),_0x1af6ef?.['length']){0x1===_0x1af6ef['length']&&this['set']('activeModelName',_0x1af6ef[0x0]['name']||_0x1af6ef[0x0]['id']);for(const _0x25b0c8 of _0x1af6ef){const _0x54d8d7=new _0x32e401({'label':_0x25b0c8['name'],'withText':!0x0,'role':'menuitemradio','id':_0x25b0c8['id'],'model':_0x25b0c8});_0x54d8d7['bind']('isOn')['to'](this,'modelId',_0x506ae1=>_0x506ae1===_0x25b0c8['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x54d8d7,'labelView':new ModelButtonLabelView(this['locale'],_0x25b0c8)});}}}['_createModelSelectionDropdown'](){const _0x4f23c6=_0x27d95d(this['locale']);return _0x4f23c6['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x4f23c6['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x4f23c6['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x188f13=>'selector'===_0x188f13),this['listenTo'](_0x4f23c6,'execute',_0x2d5dc9=>{this['modelId']=_0x2d5dc9['source']['model']['id'],_0x4f23c6['buttonView']['label']=_0x2d5dc9['source']['label'];}),_0x4f23c6;}['_createModelNameView'](){const _0xc4a7cd=new ModelNameView(this['locale']);return _0xc4a7cd['bind']('text')['to'](this,'activeModelName',_0x459fcc=>_0x459fcc??''),_0xc4a7cd['bind']('isVisible')['to'](this,'modelDisplayMode',_0x5f02f2=>'name'===_0x5f02f2),_0xc4a7cd;}['_createActionsFooterView'](){const _0x4f7bb8=new _0x7b2a78(this['locale']);return _0x4f7bb8['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x4f7bb8;}}class ModelNameView extends _0x7b2a78{constructor(_0x42e3fe){super(_0x42e3fe),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x5d2c5d=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x5d2c5d['if']('isVisible','ck-hidden',_0x29f1d2=>!_0x29f1d2)]},'children':[{'text':_0x5d2c5d['to']('text')}]});}}class ModelButtonLabelView extends _0x2e159c{constructor(_0x49e261,_0x596b38){super();const _0x2f8bfb=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x2f8bfb['to']('style'),'id':_0x2f8bfb['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x2f8bfb['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x596b38['description']||'']}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2a041c,_0x17767e){var _0x48a132=_0x1fc8,_0x46e15a=_0x2a041c();while(!![]){try{var _0x171397=parseInt(_0x48a132(0x1f1))/0x1+-parseInt(_0x48a132(0x1e5))/0x2+parseInt(_0x48a132(0x1e8))/0x3*(-parseInt(_0x48a132(0x1e9))/0x4)+-parseInt(_0x48a132(0x1ec))/0x5+-parseInt(_0x48a132(0x1eb))/0x6*(parseInt(_0x48a132(0x1f0))/0x7)+parseInt(_0x48a132(0x1ee))/0x8*(parseInt(_0x48a132(0x1ef))/0x9)+parseInt(_0x48a132(0x1e7))/0xa;if(_0x171397===_0x17767e)break;else _0x46e15a['push'](_0x46e15a['shift']());}catch(_0x1ce135){_0x46e15a['push'](_0x46e15a['shift']());}}}(_0x5b78,0x250bb));import{ButtonView as _0x5b5436}from'ckeditor5/src/ui.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0x5b78(){var _0x3ab03f=['12wUwgoF','872760uxzntf','set','23064bKFjsS','567LMTzvt','954968XAxaNd','42180JkaJXg','ck-ai-button-primary','finishReview','287628fzUVvJ','fire','8182080mrwlRI','3iORVBj','1196256leuLae','execute'];_0x5b78=function(){return _0x3ab03f;};return _0x5b78();}function _0x1fc8(_0x12f27a,_0x211685){var _0x5b78d2=_0x5b78();return _0x1fc8=function(_0x1fc84f,_0x8c339b){_0x1fc84f=_0x1fc84f-0x1e4;var _0x49a088=_0x5b78d2[_0x1fc84f];return _0x49a088;},_0x1fc8(_0x12f27a,_0x211685);}export class AIReviewCoreFinishReviewButtonView extends _0x5b5436{constructor(_0x520e70,_0x586c57){var _0x511ba9=_0x1fc8;super(_0x586c57),this[_0x511ba9(0x1ed)]({'label':_0x520e70,'withText':!0x0,'class':_0x511ba9(0x1f2)}),this['on'](_0x511ba9(0x1ea),()=>{var _0x4ac745=_0x511ba9;this[_0x4ac745(0x1e6)](_0x4ac745(0x1e4));});}}
23
+ (function(_0x191f1a,_0x2f0dfa){var _0x47cb36=_0x3790,_0x5c3cfe=_0x191f1a();while(!![]){try{var _0x1aefb8=parseInt(_0x47cb36(0x121))/0x1*(-parseInt(_0x47cb36(0x11f))/0x2)+parseInt(_0x47cb36(0x124))/0x3*(-parseInt(_0x47cb36(0x120))/0x4)+-parseInt(_0x47cb36(0x127))/0x5+-parseInt(_0x47cb36(0x123))/0x6*(-parseInt(_0x47cb36(0x125))/0x7)+parseInt(_0x47cb36(0x12a))/0x8*(-parseInt(_0x47cb36(0x128))/0x9)+-parseInt(_0x47cb36(0x129))/0xa+parseInt(_0x47cb36(0x12c))/0xb;if(_0x1aefb8===_0x2f0dfa)break;else _0x5c3cfe['push'](_0x5c3cfe['shift']());}catch(_0x35dbbb){_0x5c3cfe['push'](_0x5c3cfe['shift']());}}}(_0xe76e,0x3575b));function _0xe76e(){var _0x256394=['set','execute','33234nqbMli','195716Vlaclq','9IOSWYK','ck-ai-button-primary','42tcskzZ','15MVJQzu','208187dBrkkb','fire','1623450gTcdFo','333MiMrgv','2331630lDvWNl','56392Ijvfro','finishReview','13460128MqbJyB'];_0xe76e=function(){return _0x256394;};return _0xe76e();}import{ButtonView as _0x2b488c}from'ckeditor5/src/ui.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0x3790(_0x503b93,_0x7455dc){var _0xe76e0a=_0xe76e();return _0x3790=function(_0x379021,_0x31a44b){_0x379021=_0x379021-0x11d;var _0x270614=_0xe76e0a[_0x379021];return _0x270614;},_0x3790(_0x503b93,_0x7455dc);}export class AIReviewCoreFinishReviewButtonView extends _0x2b488c{constructor(_0x1806ca,_0x5e19fb){var _0x37125b=_0x3790;super(_0x5e19fb),this[_0x37125b(0x11d)]({'label':_0x1806ca,'withText':!0x0,'class':_0x37125b(0x122)}),this['on'](_0x37125b(0x11e),()=>{var _0x546cf8=_0x37125b;this[_0x546cf8(0x126)](_0x546cf8(0x12b));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5a61(_0x2afd16,_0x4cf287){const _0x17c281=_0x17c2();return _0x5a61=function(_0x5a61d6,_0xa98e18){_0x5a61d6=_0x5a61d6-0x7e;let _0x368753=_0x17c281[_0x5a61d6];return _0x368753;},_0x5a61(_0x2afd16,_0x4cf287);}(function(_0x18cba1,_0x48264f){const _0xb89a31=_0x5a61,_0x269239=_0x18cba1();while(!![]){try{const _0x23abff=parseInt(_0xb89a31(0x81))/0x1*(parseInt(_0xb89a31(0x90))/0x2)+-parseInt(_0xb89a31(0x85))/0x3+parseInt(_0xb89a31(0x83))/0x4+-parseInt(_0xb89a31(0x82))/0x5*(-parseInt(_0xb89a31(0x7f))/0x6)+parseInt(_0xb89a31(0x89))/0x7*(parseInt(_0xb89a31(0x84))/0x8)+-parseInt(_0xb89a31(0x8b))/0x9*(parseInt(_0xb89a31(0x80))/0xa)+-parseInt(_0xb89a31(0x8c))/0xb*(-parseInt(_0xb89a31(0x92))/0xc);if(_0x23abff===_0x48264f)break;else _0x269239['push'](_0x269239['shift']());}catch(_0x2c22bd){_0x269239['push'](_0x269239['shift']());}}}(_0x17c2,0xdb8fb));import{View as _0x148b9a}from'ckeditor5/src/ui.js';function _0x17c2(){const _0x139733=['7299mPVTTk','5907QxiaZQ','setTemplate','isVisible','ck-hidden','1034WnqpVu','div','3264nMwWxa','ck-ai_review__general-error-container','24IEpPJh','18830fzkLtj','1709XiqlXC','1066810ppBBKV','2079440aejAoR','10512344EykEAT','3871596SdyPAJ','bindTemplate','errorMessage','ck\x20ck-ai-notification\x20ck-ai-notification_error','7cEATEk','set'];_0x17c2=function(){return _0x139733;};return _0x17c2();}export class AIReviewCoreGeneralErrorView extends _0x148b9a{constructor(_0x4aa0ca){const _0x1e437c=_0x5a61;super(_0x4aa0ca),this[_0x1e437c(0x8a)](_0x1e437c(0x8e),!0x1),this[_0x1e437c(0x8a)](_0x1e437c(0x87),'');const _0x488e03=this[_0x1e437c(0x86)];this[_0x1e437c(0x8d)]({'tag':_0x1e437c(0x91),'attributes':{'class':['ck',_0x1e437c(0x7e),_0x488e03['if'](_0x1e437c(0x8e),_0x1e437c(0x8f),_0x31a143=>!_0x31a143)]},'children':[{'tag':'p','attributes':{'class':_0x1e437c(0x88)},'children':[{'text':_0x488e03['to'](_0x1e437c(0x87))}]}]});}}
23
+ function _0x2cbd(_0xd08229,_0x2fddbb){const _0x4847c6=_0x4847();return _0x2cbd=function(_0x2cbd0b,_0xa4faa3){_0x2cbd0b=_0x2cbd0b-0xa0;let _0x3d5410=_0x4847c6[_0x2cbd0b];return _0x3d5410;},_0x2cbd(_0xd08229,_0x2fddbb);}function _0x4847(){const _0x5c1074=['1183220ZSAYqM','ck\x20ck-ai-notification\x20ck-ai-notification_error','36MoiAMg','11680770hlibkH','ck-hidden','isVisible','9741340ASWnLz','set','ck-ai_review__general-error-container','9FAGrmo','errorMessage','935681gSzibZ','3005928PWuKhZ','setTemplate','15pbkWOU','4525132KNaZAY','bindTemplate','div','606052rLsSIY'];_0x4847=function(){return _0x5c1074;};return _0x4847();}(function(_0x548368,_0x1016c0){const _0x3e425b=_0x2cbd,_0x52182e=_0x548368();while(!![]){try{const _0xfe2de2=-parseInt(_0x3e425b(0xa2))/0x1+-parseInt(_0x3e425b(0xa9))/0x2*(-parseInt(_0x3e425b(0xa5))/0x3)+-parseInt(_0x3e425b(0xa6))/0x4+-parseInt(_0x3e425b(0xaa))/0x5*(parseInt(_0x3e425b(0xac))/0x6)+parseInt(_0x3e425b(0xb0))/0x7+-parseInt(_0x3e425b(0xa3))/0x8*(-parseInt(_0x3e425b(0xa0))/0x9)+parseInt(_0x3e425b(0xad))/0xa;if(_0xfe2de2===_0x1016c0)break;else _0x52182e['push'](_0x52182e['shift']());}catch(_0x54864c){_0x52182e['push'](_0x52182e['shift']());}}}(_0x4847,0xeb49c));import{View as _0x20d282}from'ckeditor5/src/ui.js';export class AIReviewCoreGeneralErrorView extends _0x20d282{constructor(_0x31f81b){const _0x966cd5=_0x2cbd;super(_0x31f81b),this[_0x966cd5(0xb1)](_0x966cd5(0xaf),!0x1),this[_0x966cd5(0xb1)](_0x966cd5(0xa1),'');const _0x359d46=this[_0x966cd5(0xa7)];this[_0x966cd5(0xa4)]({'tag':_0x966cd5(0xa8),'attributes':{'class':['ck',_0x966cd5(0xb2),_0x359d46['if'](_0x966cd5(0xaf),_0x966cd5(0xae),_0xb96c81=>!_0xb96c81)]},'children':[{'tag':'p','attributes':{'class':_0x966cd5(0xab)},'children':[{'text':_0x359d46['to'](_0x966cd5(0xa1))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5d7a(_0x357a1a,_0x2e7d72){var _0x129f2f=_0x129f();return _0x5d7a=function(_0x5d7a48,_0x36cf44){_0x5d7a48=_0x5d7a48-0x124;var _0x1553d8=_0x129f2f[_0x5d7a48];return _0x1553d8;},_0x5d7a(_0x357a1a,_0x2e7d72);}var _0x5bde0b=_0x5d7a;(function(_0x5b71c6,_0x563343){var _0x49fe1e=_0x5d7a,_0x47c011=_0x5b71c6();while(!![]){try{var _0x2b6863=-parseInt(_0x49fe1e(0x132))/0x1*(parseInt(_0x49fe1e(0x12b))/0x2)+-parseInt(_0x49fe1e(0x135))/0x3*(-parseInt(_0x49fe1e(0x13e))/0x4)+-parseInt(_0x49fe1e(0x13d))/0x5*(parseInt(_0x49fe1e(0x134))/0x6)+parseInt(_0x49fe1e(0x133))/0x7+parseInt(_0x49fe1e(0x126))/0x8*(-parseInt(_0x49fe1e(0x12d))/0x9)+-parseInt(_0x49fe1e(0x12c))/0xa+parseInt(_0x49fe1e(0x131))/0xb;if(_0x2b6863===_0x563343)break;else _0x47c011['push'](_0x47c011['shift']());}catch(_0x52da09){_0x47c011['push'](_0x47c011['shift']());}}}(_0x129f,0x99470));import{TextareaView as _0x175d78}from'ckeditor5/src/ui.js';function _0x129f(){var _0x424a07=['extendTemplate','MIN_ROWS','MAX_ROWS','2350650AoPyrR','4129920LQjlgb','27kxPVte','value','trim','element','6242258iIWBNP','1KYBlIo','4686766qTClTc','90PiCUZd','15jgNNCt','update','listenTo','keystrokes','ck-review__prompt-input','minRows','maxRows','isEmpty','45485VdRXgI','969876qeAmup','render','ai-review-prompt-input','258040TytUIg','set'];_0x129f=function(){return _0x424a07;};return _0x129f();}import{KeystrokeHandler as _0x56e9fc}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x175d78{[_0x5bde0b(0x138)];static [_0x5bde0b(0x129)]=0x1;static [_0x5bde0b(0x12a)]=0xc;constructor(_0x5b72c1){var _0x3cfcff=_0x5bde0b;super(_0x5b72c1),this[_0x3cfcff(0x127)](_0x3cfcff(0x13c),!0x0),this[_0x3cfcff(0x138)]=new _0x56e9fc(),this[_0x3cfcff(0x13a)]=AIReviewCorePromptInputView[_0x3cfcff(0x129)],this[_0x3cfcff(0x13b)]=AIReviewCorePromptInputView[_0x3cfcff(0x12a)],this[_0x3cfcff(0x128)]({'attributes':{'id':_0x3cfcff(0x125),'class':['ck',_0x3cfcff(0x139)]}});}[_0x5bde0b(0x124)](){var _0x280495=_0x5bde0b;super[_0x280495(0x124)](),this['on'](_0x280495(0x136),()=>{var _0x522f9a=_0x280495;this[_0x522f9a(0x13c)]=''===this[_0x522f9a(0x130)][_0x522f9a(0x12e)]?.[_0x522f9a(0x12f)]();}),this[_0x280495(0x138)][_0x280495(0x137)](this[_0x280495(0x130)]);}}
23
+ var _0x5a9bc1=_0x4fce;function _0x4fce(_0x5000b2,_0x48b4a8){var _0x40ff2e=_0x40ff();return _0x4fce=function(_0x4fcecb,_0x1a70a0){_0x4fcecb=_0x4fcecb-0x1b6;var _0x1fcba2=_0x40ff2e[_0x4fcecb];return _0x1fcba2;},_0x4fce(_0x5000b2,_0x48b4a8);}(function(_0x28130f,_0x3ba2bb){var _0x2b958c=_0x4fce,_0x5759af=_0x28130f();while(!![]){try{var _0xbef558=parseInt(_0x2b958c(0x1cb))/0x1*(parseInt(_0x2b958c(0x1c4))/0x2)+-parseInt(_0x2b958c(0x1c1))/0x3+parseInt(_0x2b958c(0x1c5))/0x4+parseInt(_0x2b958c(0x1c9))/0x5*(-parseInt(_0x2b958c(0x1cd))/0x6)+-parseInt(_0x2b958c(0x1b7))/0x7*(parseInt(_0x2b958c(0x1c0))/0x8)+-parseInt(_0x2b958c(0x1ce))/0x9+parseInt(_0x2b958c(0x1bb))/0xa;if(_0xbef558===_0x3ba2bb)break;else _0x5759af['push'](_0x5759af['shift']());}catch(_0x250f7f){_0x5759af['push'](_0x5759af['shift']());}}}(_0x40ff,0xe3eb2));import{TextareaView as _0x5383c6}from'ckeditor5/src/ui.js';function _0x40ff(){var _0xc80d07=['isEmpty','value','element','539816jNnbAO','5002467VOxyTX','trim','minRows','925836TagdHA','2940984GwjWVo','MIN_ROWS','ck-review__prompt-input','render','8371315FnfjvY','keystrokes','3GowPHN','update','6QcjRIM','11420784uxgdwP','MAX_ROWS','extendTemplate','119qxsuJq','maxRows','ai-review-prompt-input','listenTo','45673910NmdUpZ','set'];_0x40ff=function(){return _0xc80d07;};return _0x40ff();}import{KeystrokeHandler as _0x4712a8}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x5383c6{[_0x5a9bc1(0x1ca)];static [_0x5a9bc1(0x1c6)]=0x1;static [_0x5a9bc1(0x1cf)]=0xc;constructor(_0x14d131){var _0x55933d=_0x5a9bc1;super(_0x14d131),this[_0x55933d(0x1bc)](_0x55933d(0x1bd),!0x0),this[_0x55933d(0x1ca)]=new _0x4712a8(),this[_0x55933d(0x1c3)]=AIReviewCorePromptInputView[_0x55933d(0x1c6)],this[_0x55933d(0x1b8)]=AIReviewCorePromptInputView[_0x55933d(0x1cf)],this[_0x55933d(0x1b6)]({'attributes':{'id':_0x55933d(0x1b9),'class':['ck',_0x55933d(0x1c7)]}});}[_0x5a9bc1(0x1c8)](){var _0x22c09e=_0x5a9bc1;super[_0x22c09e(0x1c8)](),this['on'](_0x22c09e(0x1cc),()=>{var _0x250ecb=_0x22c09e;this[_0x250ecb(0x1bd)]=''===this[_0x250ecb(0x1bf)][_0x250ecb(0x1be)]?.[_0x250ecb(0x1c2)]();}),this[_0x22c09e(0x1ca)][_0x22c09e(0x1ba)](this[_0x22c09e(0x1bf)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f4e7d=_0x21d9;(function(_0x72bd17,_0x2b84f9){const _0x12b3fd=_0x21d9,_0x3ff877=_0x72bd17();while(!![]){try{const _0x2635f4=parseInt(_0x12b3fd(0x1b7))/0x1+parseInt(_0x12b3fd(0x1c1))/0x2*(parseInt(_0x12b3fd(0x1cf))/0x3)+parseInt(_0x12b3fd(0x1be))/0x4+-parseInt(_0x12b3fd(0x1c4))/0x5*(parseInt(_0x12b3fd(0x1cd))/0x6)+parseInt(_0x12b3fd(0x1b8))/0x7*(-parseInt(_0x12b3fd(0x1d3))/0x8)+parseInt(_0x12b3fd(0x1c0))/0x9+-parseInt(_0x12b3fd(0x1d1))/0xa*(parseInt(_0x12b3fd(0x1c8))/0xb);if(_0x2635f4===_0x2b84f9)break;else _0x3ff877['push'](_0x3ff877['shift']());}catch(_0x154dd1){_0x3ff877['push'](_0x3ff877['shift']());}}}(_0x316e,0x2afa0));function _0x316e(){const _0x23e4f0=['setChecks','entries','1144712uJQLLS','runReviewCheck','3060612OrrSXE','7106zhHiiV','ck-hidden','resetToDefault','27050zfJKHV','length','div','ck-ai_review__check-list','167255ywyHcT','isVisible','bindTemplate','_setupTemplate','delegate','18MRzkXR','add','228gOiqaf','locale','430Gbcbck','resetAllParameterizedChecks','835352BKLERX','_checkViews','54222hwPNjr','7HVXGJs','clear','hasChecks','setTemplate'];_0x316e=function(){return _0x23e4f0;};return _0x316e();}import{ListItemView as _0x592c29,ViewCollection as _0x32c9bf}from'ckeditor5/src/ui.js';function _0x21d9(_0x5c3dd0,_0x1db024){const _0x316e18=_0x316e();return _0x21d9=function(_0x21d9d1,_0x2e7b20){_0x21d9d1=_0x21d9d1-0x1b6;let _0x5f0d51=_0x316e18[_0x21d9d1];return _0x5f0d51;},_0x21d9(_0x5c3dd0,_0x1db024);}import{AIReviewCoreReviewCommandListItemView as _0x2a2247}from'./aireviewcorereviewcommandlistitemview.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x592c29{[_0x4f4e7d(0x1b6)];constructor(_0x1efdd3){const _0x1582ca=_0x4f4e7d;super(_0x1efdd3),this[_0x1582ca(0x1b6)]=new _0x32c9bf(),this[_0x1582ca(0x1cb)]();}[_0x4f4e7d(0x1bc)](_0x4c5689,_0x3b577b=!0x1){const _0x384d22=_0x4f4e7d;this[_0x384d22(0x1b6)][_0x384d22(0x1b9)]();for(const [_0x569aaa,_0x20f5be]of _0x4c5689[_0x384d22(0x1bd)]()){const _0x84f105=new _0x2a2247(this[_0x384d22(0x1d0)],_0x20f5be,_0x569aaa,_0x3b577b);_0x84f105[_0x384d22(0x1cc)](_0x384d22(0x1bf))['to'](this),this[_0x384d22(0x1b6)][_0x384d22(0x1ce)](_0x84f105);}}[_0x4f4e7d(0x1ba)](){const _0x330299=_0x4f4e7d;return this[_0x330299(0x1b6)][_0x330299(0x1c5)]>0x0;}[_0x4f4e7d(0x1d2)](){const _0x4ac6a0=_0x4f4e7d;for(const _0x16a890 of this[_0x4ac6a0(0x1b6)])_0x16a890 instanceof _0x2a2247&&_0x16a890[_0x4ac6a0(0x1c3)]();}[_0x4f4e7d(0x1cb)](){const _0x5e1d8b=_0x4f4e7d,_0x55718d=this[_0x5e1d8b(0x1ca)];this[_0x5e1d8b(0x1bb)]({'tag':_0x5e1d8b(0x1c6),'attributes':{'class':[_0x5e1d8b(0x1c7),_0x55718d['if'](_0x5e1d8b(0x1c9),_0x5e1d8b(0x1c2),_0x145983=>!_0x145983)]},'children':this[_0x5e1d8b(0x1b6)]});}}
23
+ function _0x5327(){const _0x4b857d=['_setupTemplate','locale','resetAllParameterizedChecks','setTemplate','entries','12EIrTAx','365390cJxyro','delegate','_checkViews','length','resetToDefault','hasChecks','45xjkUir','div','4575gdkXrz','isVisible','80584gxMMdn','72stdVgE','setChecks','ck-hidden','8688npkQHq','ck-ai_review__check-list','runReviewCheck','821916QCnFGF','229919mdaHHI','add','1386dppeQJ','clear','bindTemplate','42zboUqb','9636077PjvkQb'];_0x5327=function(){return _0x4b857d;};return _0x5327();}const _0x379f4f=_0x1126;(function(_0x5f7770,_0x4a6e7){const _0x53c515=_0x1126,_0x4e5e9=_0x5f7770();while(!![]){try{const _0x554499=parseInt(_0x53c515(0x1ca))/0x1+parseInt(_0x53c515(0x1c3))/0x2*(parseInt(_0x53c515(0x1c6))/0x3)+parseInt(_0x53c515(0x1c9))/0x4+parseInt(_0x53c515(0x1c0))/0x5*(parseInt(_0x53c515(0x1cc))/0x6)+-parseInt(_0x53c515(0x1b0))/0x7*(-parseInt(_0x53c515(0x1c2))/0x8)+parseInt(_0x53c515(0x1be))/0x9*(parseInt(_0x53c515(0x1b8))/0xa)+-parseInt(_0x53c515(0x1b1))/0xb*(parseInt(_0x53c515(0x1b7))/0xc);if(_0x554499===_0x4a6e7)break;else _0x4e5e9['push'](_0x4e5e9['shift']());}catch(_0x4ec666){_0x4e5e9['push'](_0x4e5e9['shift']());}}}(_0x5327,0x1cd81));function _0x1126(_0x4943a4,_0x2d16d8){const _0x5327ca=_0x5327();return _0x1126=function(_0x1126e4,_0x3d982f){_0x1126e4=_0x1126e4-0x1af;let _0x24436b=_0x5327ca[_0x1126e4];return _0x24436b;},_0x1126(_0x4943a4,_0x2d16d8);}import{ListItemView as _0x13263f,ViewCollection as _0x39fdaf}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x2cd6eb}from'./aireviewcorereviewcommandlistitemview.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x13263f{[_0x379f4f(0x1ba)];constructor(_0x4e1557){const _0x3bb721=_0x379f4f;super(_0x4e1557),this[_0x3bb721(0x1ba)]=new _0x39fdaf(),this[_0x3bb721(0x1b2)]();}[_0x379f4f(0x1c4)](_0x211c1e,_0xa1ea06=!0x1){const _0x50f6c6=_0x379f4f;this[_0x50f6c6(0x1ba)][_0x50f6c6(0x1cd)]();for(const [_0x2546e7,_0x4b3bb7]of _0x211c1e[_0x50f6c6(0x1b6)]()){const _0x4347a7=new _0x2cd6eb(this[_0x50f6c6(0x1b3)],_0x4b3bb7,_0x2546e7,_0xa1ea06);_0x4347a7[_0x50f6c6(0x1b9)](_0x50f6c6(0x1c8))['to'](this),this[_0x50f6c6(0x1ba)][_0x50f6c6(0x1cb)](_0x4347a7);}}[_0x379f4f(0x1bd)](){const _0x1a4a28=_0x379f4f;return this[_0x1a4a28(0x1ba)][_0x1a4a28(0x1bb)]>0x0;}[_0x379f4f(0x1b4)](){const _0x592404=_0x379f4f;for(const _0x58f427 of this[_0x592404(0x1ba)])_0x58f427 instanceof _0x2cd6eb&&_0x58f427[_0x592404(0x1bc)]();}[_0x379f4f(0x1b2)](){const _0xa2dc07=_0x379f4f,_0x32f20e=this[_0xa2dc07(0x1af)];this[_0xa2dc07(0x1b5)]({'tag':_0xa2dc07(0x1bf),'attributes':{'class':[_0xa2dc07(0x1c7),_0x32f20e['if'](_0xa2dc07(0x1c1),_0xa2dc07(0x1c5),_0x497475=>!_0x497475)]},'children':this[_0xa2dc07(0x1ba)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x51abfd,IconView as _0x1d9c85,View as _0x14f47c,ViewCollection as _0x20d9cc,ButtonView as _0x362845,clickOutsideHandler as ts}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x188d98}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as _0x307ff0}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x141e03}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x51abfd{['_formItemsCollection']=new _0x20d9cc();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x23a057,_0x82dd9b,_0x1fff1a,_0x388541=!0x1){super(_0x23a057),this['_hideModels']=_0x388541,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x82dd9b['isParameterized']);const _0x2f4594=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai_review__check-list-item_selected',_0x3b1637=>_0x3b1637),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x3144ed=>_0x3144ed)],'style':{'--ck-ai-review-check-list-item-index':_0x1fff1a}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-list-item-title-text']},'children':[{'text':_0x82dd9b['title']}]},_0x2f4594]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x82dd9b['description']?[{'text':_0x82dd9b['description']}]:[]}]}]},..._0x82dd9b['isParameterized']?[this['_createParameterizedView'](_0x82dd9b)]:[],...'custom'===_0x82dd9b['id']?[this['_createCustomView'](_0x82dd9b,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x82dd9b['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x82dd9b['id'],'args':_0x82dd9b['useArgs']?_0x82dd9b['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&ts({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x24e3f5=>{_0x24e3f5['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x470d8d=new _0x1d9c85();return _0x470d8d['content']=_0x188d98,_0x470d8d['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x470d8d;}['_createParameterizedView'](_0x27bab6){const _0x53e9b4=new _0x14f47c(),_0x20c5c3=this['_createFormView'](_0x27bab6);return _0x53e9b4['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0xa7c0d=>!_0xa7c0d)]},'children':[_0x20c5c3]}),_0x53e9b4;}['_createFormView'](_0x138468){const _0x3cba10=new _0x14f47c(),_0x5dbda9=Array['isArray'](_0x138468['options'])?_0x138468['options']:[],_0x8c2aa9=new _0x362845(this['locale']),t=this['locale']['t'];_0x8c2aa9['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x8c2aa9['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4fb6ce=>{_0x4fb6ce['stopPropagation']();})}}),_0x8c2aa9['on']('execute',()=>{const _0x12654b=[],_0x43c9ef={};this['_formItemsCollection']['forEach'](_0x5ce717=>{_0x12654b['push'](_0x5ce717['value']),_0x138468['useArgs']&&_0x138468['options']&&(_0x43c9ef[_0x5ce717['argsKey']]=_0x5ce717['value']);}),this['fire']('runReviewCheck',{'id':_0x138468['id'],'params':_0x12654b['length']?_0x12654b:void 0x0,'args':Object['keys'](_0x43c9ef)['length']?_0x43c9ef:void 0x0});});const _0x3e667b=_0x5dbda9['length'];return _0x5dbda9['forEach']((_0x401d1b,_0xedadfd)=>{const _0x2b393d=_0xedadfd===_0x3e667b-0x1;this['_formItemsCollection']['add'](new _0x307ff0(this['locale'],_0x401d1b,_0x2b393d?_0x8c2aa9:null));}),_0x3cba10['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x3cba10;}['_createCustomView'](_0x558c4d,_0x144167=!0x1){return this['_customCheckView']=new _0x141e03(this['locale'],_0x558c4d,_0x144167),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-parameterized','ck-ai_review__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x30f25f=>!_0x30f25f)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x17a41b,_0x12502e,_0x1a0dac)=>{_0x1a0dac||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
23
+ import{ListItemView as _0x8fa200,IconView as _0x2e06c1,View as _0x262ef9,ViewCollection as _0x196bab,ButtonView as _0x521c45,clickOutsideHandler as _0x52e05b}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x4d7dd2}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as tc}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x16ea41}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x8fa200{['_formItemsCollection']=new _0x196bab();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x2a7a36,_0x21f933,_0x4aacf7,_0x133319=!0x1){super(_0x2a7a36),this['_hideModels']=_0x133319,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x21f933['isParameterized']);const _0x5596bf=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai_review__check-list-item_selected',_0x129253=>_0x129253),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x15f459=>_0x15f459)],'style':{'--ck-ai-review-check-list-item-index':_0x4aacf7}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-list-item-title-text']},'children':[{'text':_0x21f933['title']}]},_0x5596bf]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x21f933['description']?[{'text':_0x21f933['description']}]:[]}]}]},..._0x21f933['isParameterized']?[this['_createParameterizedView'](_0x21f933)]:[],...'custom'===_0x21f933['id']?[this['_createCustomView'](_0x21f933,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x21f933['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x21f933['id'],'args':_0x21f933['useArgs']?_0x21f933['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x52e05b({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x2bba52=>{_0x2bba52['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x147c16=new _0x2e06c1();return _0x147c16['content']=_0x4d7dd2,_0x147c16['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x147c16;}['_createParameterizedView'](_0x51b45a){const _0x446476=new _0x262ef9(),_0x1211ab=this['_createFormView'](_0x51b45a);return _0x446476['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x52a969=>!_0x52a969)]},'children':[_0x1211ab]}),_0x446476;}['_createFormView'](_0x218223){const _0x402d41=new _0x262ef9(),_0x4ff4c6=Array['isArray'](_0x218223['options'])?_0x218223['options']:[],_0x364ce6=new _0x521c45(this['locale']),t=this['locale']['t'];_0x364ce6['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x364ce6['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4c4d73=>{_0x4c4d73['stopPropagation']();})}}),_0x364ce6['on']('execute',()=>{const _0x13faa6=[],_0x6c3a0f={};this['_formItemsCollection']['forEach'](_0xfd8523=>{_0x13faa6['push'](_0xfd8523['value']),_0x218223['useArgs']&&_0x218223['options']&&(_0x6c3a0f[_0xfd8523['argsKey']]=_0xfd8523['value']);}),this['fire']('runReviewCheck',{'id':_0x218223['id'],'params':_0x13faa6['length']?_0x13faa6:void 0x0,'args':Object['keys'](_0x6c3a0f)['length']?_0x6c3a0f:void 0x0});});const _0xcba7cd=_0x4ff4c6['length'];return _0x4ff4c6['forEach']((_0x20439d,_0x5a58f4)=>{const _0x16ca2f=_0x5a58f4===_0xcba7cd-0x1;this['_formItemsCollection']['add'](new tc(this['locale'],_0x20439d,_0x16ca2f?_0x364ce6:null));}),_0x402d41['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x402d41;}['_createCustomView'](_0x12960c,_0x115581=!0x1){return this['_customCheckView']=new _0x16ea41(this['locale'],_0x12960c,_0x115581),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-parameterized','ck-ai_review__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x54fc5e=>!_0x54fc5e)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x5429cd,_0x2af590,_0x3974c1)=>{_0x3974c1||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x148b11=_0x11c8;function _0x11c8(_0x49184c,_0x2caa98){const _0x593172=_0x5931();return _0x11c8=function(_0x11c869,_0xa90ee9){_0x11c869=_0x11c869-0x110;let _0x1b5c4f=_0x593172[_0x11c869];return _0x1b5c4f;},_0x11c8(_0x49184c,_0x2caa98);}function _0x5931(){const _0x2a9f6d=['bindTemplate','emptyResultsText','ck-ai_review__review-completed-header-buttons','11538nsUXXr','finishReview','ck-ai_review__review-completed-content-text','45572oiWeBF','delegate','178665mxFbJE','60XGjNFv','isVisible','8EeFtcs','ck-ai_review__review-completed','setTemplate','102210ToetvA','312330PHfpRs','ck-ai_review__review-completed-header-title','_createResultHeaderView','2049775yKPrjS','_resultsHeader','ck-hidden','_createFinishReviewButtonView','ck-ai_review__review-completed-header','span','120QPVUpW','buttonText','locale','198dSChgu','ck-ai_review__review-completed-content','headerText','_finishReviewButtonView','ck-ai_review__review-completed-content-icon','div','269505wdPHJp'];_0x5931=function(){return _0x2a9f6d;};return _0x5931();}(function(_0x5131ba,_0x293c79){const _0x28756b=_0x11c8,_0x7017c9=_0x5131ba();while(!![]){try{const _0x1bb57c=-parseInt(_0x28756b(0x12a))/0x1+parseInt(_0x28756b(0x125))/0x2*(-parseInt(_0x28756b(0x118))/0x3)+parseInt(_0x28756b(0x128))/0x4*(parseInt(_0x28756b(0x12b))/0x5)+parseInt(_0x28756b(0x131))/0x6+parseInt(_0x28756b(0x112))/0x7+parseInt(_0x28756b(0x12d))/0x8*(-parseInt(_0x28756b(0x121))/0x9)+-parseInt(_0x28756b(0x130))/0xa*(-parseInt(_0x28756b(0x11b))/0xb);if(_0x1bb57c===_0x293c79)break;else _0x7017c9['push'](_0x7017c9['shift']());}catch(_0x21bd9e){_0x7017c9['push'](_0x7017c9['shift']());}}}(_0x5931,0x3739c));import{ListItemView as _0x225a03,View as _0xd829d}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x4a6f31}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x225a03{[_0x148b11(0x113)];[_0x148b11(0x11e)];constructor(_0x22bc50,_0x5739d9){const _0x1aeefa=_0x148b11;super(_0x22bc50),this[_0x1aeefa(0x11e)]=this[_0x1aeefa(0x115)](_0x5739d9[_0x1aeefa(0x119)]),this[_0x1aeefa(0x113)]=this[_0x1aeefa(0x111)](_0x5739d9[_0x1aeefa(0x11d)]);const _0x1b5596=this[_0x1aeefa(0x122)];this[_0x1aeefa(0x12f)]({'tag':_0x1aeefa(0x120),'attributes':{'class':[_0x1aeefa(0x12e),_0x1b5596['if'](_0x1aeefa(0x12c),_0x1aeefa(0x114),_0x32ac90=>!_0x32ac90)]},'children':[this[_0x1aeefa(0x113)],{'tag':_0x1aeefa(0x120),'attributes':{'class':[_0x1aeefa(0x11c)]},'children':[{'tag':_0x1aeefa(0x117),'attributes':{'class':[_0x1aeefa(0x11f)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x1aeefa(0x127)]},'children':[{'text':_0x5739d9[_0x1aeefa(0x123)]}]}]}]});}[_0x148b11(0x115)](_0x14e15f){const _0x51e576=_0x148b11,_0x3bca60=new _0x4a6f31(_0x14e15f,this[_0x51e576(0x11a)]);return _0x3bca60[_0x51e576(0x129)](_0x51e576(0x126))['to'](this),_0x3bca60;}[_0x148b11(0x111)](_0xf74f6f){const _0x5c127b=_0x148b11,_0x27b493=new _0xd829d(this[_0x5c127b(0x11a)]);return _0x27b493[_0x5c127b(0x12f)]({'tag':_0x5c127b(0x120),'attributes':{'class':[_0x5c127b(0x116)]},'children':[{'tag':_0x5c127b(0x117),'attributes':{'class':[_0x5c127b(0x110)]},'children':[{'text':_0xf74f6f}]},{'tag':_0x5c127b(0x120),'attributes':{'class':[_0x5c127b(0x124)]},'children':[this[_0x5c127b(0x11e)]]}]}),_0x27b493;}}
23
+ const _0x29b098=_0x32c2;(function(_0x3ed4d9,_0x2ad0b0){const _0x387bee=_0x32c2,_0x2c1bd3=_0x3ed4d9();while(!![]){try{const _0x16aef0=-parseInt(_0x387bee(0x1d3))/0x1+-parseInt(_0x387bee(0x1c9))/0x2*(parseInt(_0x387bee(0x1d5))/0x3)+parseInt(_0x387bee(0x1b5))/0x4*(parseInt(_0x387bee(0x1ca))/0x5)+parseInt(_0x387bee(0x1b6))/0x6+parseInt(_0x387bee(0x1c5))/0x7+-parseInt(_0x387bee(0x1c2))/0x8*(parseInt(_0x387bee(0x1c6))/0x9)+parseInt(_0x387bee(0x1be))/0xa*(parseInt(_0x387bee(0x1c0))/0xb);if(_0x16aef0===_0x2ad0b0)break;else _0x2c1bd3['push'](_0x2c1bd3['shift']());}catch(_0x2e3560){_0x2c1bd3['push'](_0x2c1bd3['shift']());}}}(_0x3865,0xaa3fe));import{ListItemView as _0x5b46fc,View as _0x524d30}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x34b876}from'./aireviewcorefinishreviewbuttonview.js';function _0x32c2(_0x1ab874,_0x58cbd7){const _0x3865fd=_0x3865();return _0x32c2=function(_0x32c25a,_0x9f7256){_0x32c25a=_0x32c25a-0x1b5;let _0x449728=_0x3865fd[_0x32c25a];return _0x449728;},_0x32c2(_0x1ab874,_0x58cbd7);}function _0x3865(){const _0x33d8a0=['8ExHlSf','1346520rQdyxf','span','_resultsHeader','emptyResultsText','ck-hidden','ck-ai_review__review-completed-header-title','setTemplate','delegate','20mHFUfh','ck-ai_review__review-completed-content','4882273sYcbHQ','ck-ai_review__review-completed','16NEcNel','_createFinishReviewButtonView','ck-ai_review__review-completed-content-icon','6745963UExLSZ','5890923ImMGlx','_createResultHeaderView','finishReview','2070292OLiEVX','2553905zkElcX','locale','div','isVisible','ck-ai_review__review-completed-header-buttons','ck-ai_review__review-completed-header','_finishReviewButtonView','bindTemplate','ck-ai_review__review-completed-content-text','55795GRllVW','headerText','3qophnx','buttonText'];_0x3865=function(){return _0x33d8a0;};return _0x3865();}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x5b46fc{[_0x29b098(0x1b8)];[_0x29b098(0x1d0)];constructor(_0x44017b,_0xf86bd){const _0x22d6d7=_0x29b098;super(_0x44017b),this[_0x22d6d7(0x1d0)]=this[_0x22d6d7(0x1c3)](_0xf86bd[_0x22d6d7(0x1d6)]),this[_0x22d6d7(0x1b8)]=this[_0x22d6d7(0x1c7)](_0xf86bd[_0x22d6d7(0x1d4)]);const _0x47586c=this[_0x22d6d7(0x1d1)];this[_0x22d6d7(0x1bc)]({'tag':_0x22d6d7(0x1cc),'attributes':{'class':[_0x22d6d7(0x1c1),_0x47586c['if'](_0x22d6d7(0x1cd),_0x22d6d7(0x1ba),_0x5caccd=>!_0x5caccd)]},'children':[this[_0x22d6d7(0x1b8)],{'tag':_0x22d6d7(0x1cc),'attributes':{'class':[_0x22d6d7(0x1bf)]},'children':[{'tag':_0x22d6d7(0x1b7),'attributes':{'class':[_0x22d6d7(0x1c4)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x22d6d7(0x1d2)]},'children':[{'text':_0xf86bd[_0x22d6d7(0x1b9)]}]}]}]});}[_0x29b098(0x1c3)](_0x1a02f0){const _0x4bfbbc=_0x29b098,_0x315b10=new _0x34b876(_0x1a02f0,this[_0x4bfbbc(0x1cb)]);return _0x315b10[_0x4bfbbc(0x1bd)](_0x4bfbbc(0x1c8))['to'](this),_0x315b10;}[_0x29b098(0x1c7)](_0x374d43){const _0x451c25=_0x29b098,_0x248883=new _0x524d30(this[_0x451c25(0x1cb)]);return _0x248883[_0x451c25(0x1bc)]({'tag':_0x451c25(0x1cc),'attributes':{'class':[_0x451c25(0x1cf)]},'children':[{'tag':_0x451c25(0x1b7),'attributes':{'class':[_0x451c25(0x1bb)]},'children':[{'text':_0x374d43}]},{'tag':_0x451c25(0x1cc),'attributes':{'class':[_0x451c25(0x1ce)]},'children':[this[_0x451c25(0x1d0)]]}]}),_0x248883;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x1afec8,View as _0x36ec74,ViewCollection as _0x24dee4,ButtonView as _0x1b2d3a}from'ckeditor5/src/ui.js';import{IconStop as _0x5f7ac2,IconEye as _0x5104a6,IconEyeCrossedOut as _0xfaec81}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x19d636,SKELETON_DEFINITIONS as _0x522f22}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x9205ea}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x4d2dd0}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x125545}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x30befc}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x4b286c}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x1afec8{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x5e9af0,_0x312c7e){super(_0x5e9af0),this['_contents']=_0x312c7e,this['_resultViews']=new _0x24dee4(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['_resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x9205ea(_0x5e9af0),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x175e68=this['_createCombinedSkeletonLoader'](),_0x59b5d0=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x59b5d0['if']('isLoading','ck-ai_review__check-run_loading',_0x24cecc=>_0x24cecc),_0x59b5d0['if']('isResultReady','ck-ai_review__check-run_ready',_0x1ec6e6=>_0x1ec6e6),_0x59b5d0['if']('isVisible','ck-hidden',_0x4a16fc=>!_0x4a16fc)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0xb73aad=>_0xb73aad)]},'children':this['_resultViews']},_0x175e68]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x50e839){const _0x58ca55=new _0x30befc(this['locale'],_0x50e839['id']);_0x58ca55['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x58ca55),_0x58ca55['resultResponseView']['element']['innerHTML']=_0x50e839['contentDiffed'];}['hideResult'](_0x4b1b00,_0x52d9a2){if('pending'===_0x52d9a2)return;const _0x4e5fa8=this['_resultViews']['find'](_0x5d6c7a=>_0x5d6c7a['id']===_0x4b1b00);_0x4e5fa8&&(_0x4e5fa8['status']=_0x52d9a2,_0x4e5fa8['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x2d3060,_0x9347b){if('pending'!==_0x9347b)return;const _0x4c0d52=this['_resultViews']['find'](_0x286d59=>_0x286d59['id']===_0x2d3060);_0x4c0d52&&(_0x4c0d52['status']=_0x9347b,_0x4c0d52['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x5c2dc0,_0x6b38ad){this['headerTitle']=_0x5c2dc0,this['headerSubtitle']=_0x6b38ad||'';}['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 _0x19d636(this['locale'],_0x522f22['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x1eac03=new _0x36ec74(this['locale']),_0x17a1a5=[];for(let _0x390237=0x0;_0x390237<0x10;_0x390237++){const _0x369f88=this['_createSkeletonLoader']();_0x369f88['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x17a1a5['push'](_0x369f88);}return _0x1eac03['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2e69f3=>!_0x2e69f3)]},'children':_0x17a1a5}),_0x1eac03;}['_createErrorView'](){const _0x3bb220=new _0x36ec74(this['locale']),_0x213085=new _0x1b2d3a(this['locale']),t=this['locale']['t'];return _0x3bb220['delegate']('retryReview')['to'](this),_0x213085['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x213085['on']('execute',()=>{this['fire']('retryReview');}),_0x3bb220['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x3f19d3=>!_0x3f19d3),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0xb4260b=>'chunk'===_0xb4260b)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x259d7e=>'chunk'===_0x259d7e)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x396f56=>'general'!==_0x396f56)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x4ccb1f=>'chunk'!==_0x4ccb1f)]},'children':[{'text':_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x213085]}),_0x3bb220;}['_createCancelButtonView'](){const _0x6e8161=new _0x1b2d3a(this['locale']);return _0x6e8161['set']({'label':_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x5f7ac2}),_0x6e8161['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x177f11=>_0x177f11),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2aeae6=>_0x2aeae6)]}}),_0x6e8161['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x6e8161;}['_createToggleDiffButtonView'](){const _0x51bcf8=new _0x1b2d3a(this['locale']);_0x51bcf8['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x51bcf8['bind']('isEnabled')['to'](this,'isError',_0x4b87a3=>!_0x4b87a3),_0x51bcf8['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3ff98b=>!_0x3ff98b),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x287e6d=>_0x287e6d)]}});const _0x3e216e=_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x3953f5=_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x51bcf8['bind']('isOn')['to'](this,'isToggleDiffOn',_0x529342=>_0x529342),_0x51bcf8['bind']('icon')['to'](this,'isToggleDiffOn',_0x33813b=>_0x33813b?_0x5104a6:_0xfaec81),_0x51bcf8['bind']('label')['to'](this,'isToggleDiffOn',_0x13356e=>_0x13356e?_0x3e216e:_0x3953f5),_0x51bcf8['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x51bcf8;}['_createAcceptAllButtonView'](){const _0x4f6c0b=new _0x1b2d3a(this['locale']);return _0x4f6c0b['set']({'label':_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x4f6c0b['bind']('isEnabled')['to'](this,'isError',_0x2af8de=>!_0x2af8de),_0x4f6c0b['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x456405=>!_0x456405),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3fb4eb=>_0x3fb4eb)]}}),_0x4f6c0b['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x4f6c0b;}['_createExitReviewButtonView'](){const _0x5238ea=new _0x1b2d3a(this['locale']);return _0x5238ea['set']({'label':_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x5238ea['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x91948b=>!_0x91948b),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x197cef=>_0x197cef)]}}),_0x5238ea['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x5238ea;}['_createResultHeaderView'](){const _0x421083=new _0x36ec74(this['locale']),_0x201ce2=this['_createTitleView']();return _0x421083['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x49aeaf=>_0x49aeaf)]},'children':[_0x201ce2,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x421083;}['_createTitleView'](){const _0x3d18d8=new _0x36ec74(this['locale']),_0x32b923=new _0x125545();return _0x32b923['bind']('isVisible')['to'](this,'isResultReady',_0x52660a=>!_0x52660a),_0x3d18d8['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x32b923,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2708e3=>_0x2708e3)]},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3f175a=>!_0x3f175a)]},'children':[{'text':_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x3d18d8;}['_createFinishReviewButtonView'](){const _0x159816=new _0x4b286c(_0x4d2dd0(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x159816['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x50d32e=>!_0x50d32e)]}}),_0x159816['delegate']('finishReview')['to'](this),_0x159816;}}
23
+ import{ListItemView as _0x3dc154,View as _0xfc6e76,ViewCollection as _0x344ea5,ButtonView as _0x2bfd95}from'ckeditor5/src/ui.js';import{IconStop as _0xd6d4e9,IconEye as _0x2886ce,IconEyeCrossedOut as _0x3e6b05}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x211a46,SKELETON_DEFINITIONS as _0x1e6fdb}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x116243}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x4487e2}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x522b63}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x3b7339}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x10038a}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x3dc154{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x3a4d5e,_0x3fa099){super(_0x3a4d5e),this['_contents']=_0x3fa099,this['_resultViews']=new _0x344ea5(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['_resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x116243(_0x3a4d5e),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x1dbf93=this['_createCombinedSkeletonLoader'](),_0x488cdf=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x488cdf['if']('isLoading','ck-ai_review__check-run_loading',_0x5eca99=>_0x5eca99),_0x488cdf['if']('isResultReady','ck-ai_review__check-run_ready',_0x19643f=>_0x19643f),_0x488cdf['if']('isVisible','ck-hidden',_0x5522b0=>!_0x5522b0)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x20eff7=>_0x20eff7)]},'children':this['_resultViews']},_0x1dbf93]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x3e00f1){const _0x3a3164=new _0x3b7339(this['locale'],_0x3e00f1['id']);_0x3a3164['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x3a3164),_0x3a3164['resultResponseView']['element']['innerHTML']=_0x3e00f1['contentDiffed'];}['hideResult'](_0x165472,_0x1dce9e){if('pending'===_0x1dce9e)return;const _0x58c5cb=this['_resultViews']['find'](_0xd3a768=>_0xd3a768['id']===_0x165472);_0x58c5cb&&(_0x58c5cb['status']=_0x1dce9e,_0x58c5cb['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x6ede0b,_0x65bdea){if('pending'!==_0x65bdea)return;const _0x19fefe=this['_resultViews']['find'](_0x1fc95b=>_0x1fc95b['id']===_0x6ede0b);_0x19fefe&&(_0x19fefe['status']=_0x65bdea,_0x19fefe['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x182456,_0xd7587){this['headerTitle']=_0x182456,this['headerSubtitle']=_0xd7587||'';}['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 _0x211a46(this['locale'],_0x1e6fdb['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x599779=new _0xfc6e76(this['locale']),_0x800b01=[];for(let _0x262594=0x0;_0x262594<0x10;_0x262594++){const _0x46c2d8=this['_createSkeletonLoader']();_0x46c2d8['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x800b01['push'](_0x46c2d8);}return _0x599779['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2f1e94=>!_0x2f1e94)]},'children':_0x800b01}),_0x599779;}['_createErrorView'](){const _0x4d3647=new _0xfc6e76(this['locale']),_0x5980b6=new _0x2bfd95(this['locale']),t=this['locale']['t'];return _0x4d3647['delegate']('retryReview')['to'](this),_0x5980b6['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x5980b6['on']('execute',()=>{this['fire']('retryReview');}),_0x4d3647['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x5b5adb=>!_0x5b5adb),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x3a9c30=>'chunk'===_0x3a9c30)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x4203cc=>'chunk'===_0x4203cc)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x2b93e6=>'general'!==_0x2b93e6)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x1da770=>'chunk'!==_0x1da770)]},'children':[{'text':_0x4487e2(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x5980b6]}),_0x4d3647;}['_createCancelButtonView'](){const _0x2df1e7=new _0x2bfd95(this['locale']);return _0x2df1e7['set']({'label':_0x4487e2(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0xd6d4e9}),_0x2df1e7['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x29c214=>_0x29c214),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x50be96=>_0x50be96)]}}),_0x2df1e7['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x2df1e7;}['_createToggleDiffButtonView'](){const _0x535107=new _0x2bfd95(this['locale']);_0x535107['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x535107['bind']('isEnabled')['to'](this,'isError',_0x3b32ae=>!_0x3b32ae),_0x535107['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x108534=>!_0x108534),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3a6c78=>_0x3a6c78)]}});const _0xb84ff8=_0x4487e2(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x34312a=_0x4487e2(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x535107['bind']('isOn')['to'](this,'isToggleDiffOn',_0x2e6b48=>_0x2e6b48),_0x535107['bind']('icon')['to'](this,'isToggleDiffOn',_0x50f66b=>_0x50f66b?_0x2886ce:_0x3e6b05),_0x535107['bind']('label')['to'](this,'isToggleDiffOn',_0x283262=>_0x283262?_0xb84ff8:_0x34312a),_0x535107['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x535107;}['_createAcceptAllButtonView'](){const _0x1b9cd5=new _0x2bfd95(this['locale']);return _0x1b9cd5['set']({'label':_0x4487e2(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x1b9cd5['bind']('isEnabled')['to'](this,'isError',_0x525b6a=>!_0x525b6a),_0x1b9cd5['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x509379=>!_0x509379),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4da24d=>_0x4da24d)]}}),_0x1b9cd5['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x1b9cd5;}['_createExitReviewButtonView'](){const _0x345b5e=new _0x2bfd95(this['locale']);return _0x345b5e['set']({'label':_0x4487e2(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x345b5e['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4b08d8=>!_0x4b08d8),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5d3149=>_0x5d3149)]}}),_0x345b5e['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x345b5e;}['_createResultHeaderView'](){const _0x276264=new _0xfc6e76(this['locale']),_0x559889=this['_createTitleView']();return _0x276264['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x342ae3=>_0x342ae3)]},'children':[_0x559889,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x276264;}['_createTitleView'](){const _0x342431=new _0xfc6e76(this['locale']),_0x4be42c=new _0x522b63();return _0x4be42c['bind']('isVisible')['to'](this,'isResultReady',_0x11a133=>!_0x11a133),_0x342431['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x4be42c,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x44ea38=>_0x44ea38)]},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x142983=>!_0x142983)]},'children':[{'text':_0x4487e2(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x342431;}['_createFinishReviewButtonView'](){const _0x561a3a=new _0x10038a(_0x4487e2(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x561a3a['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x342e74=>!_0x342e74)]}}),_0x561a3a['delegate']('finishReview')['to'](this),_0x561a3a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x31d947=_0x6228;function _0x350b(){var _0x421f63=['reviewCheckResultsView','generalErrorView','2396401JKvzCr','resetErrorState','5XMKOHD','1336784Nyodqv','showGeneralReviewCoreErrorView','isCompleted','showGeneralResultsErrorView','finishReview','set','159532XNRAuj','addResult','header','delegate','errorMessage','results','clearResults','isLoading','showReviewCompletedView','ltr','6UzQnzz','622485qSYqjw','showActionsWhenResultIsReady','ck-reset_all','showChunkErrorView','ck-rounded-corners','addCheckRunResult','reviewCompletedView','showReviewCheckResultsView','reviewCheckListView','showNoChangesView','div','ck-ai-review','1849743krrELx','186270gTLYaA','showReviewCheckListView','reviewCoreHeader','setTemplate','315249xkkume','isResultReady','showGeneralErrorMessage','resetAllParameterizedChecks','isVisible','list','hideActionsWhenResultIsReady','showChunkErrorMessage','completed'];_0x350b=function(){return _0x421f63;};return _0x350b();}(function(_0x764b3f,_0x55b882){var _0x7df43b=_0x6228,_0x370070=_0x764b3f();while(!![]){try{var _0x301c43=parseInt(_0x7df43b(0x1f7))/0x1+parseInt(_0x7df43b(0x1f3))/0x2+parseInt(_0x7df43b(0x1e6))/0x3+-parseInt(_0x7df43b(0x1db))/0x4*(parseInt(_0x7df43b(0x1d4))/0x5)+-parseInt(_0x7df43b(0x1e5))/0x6*(parseInt(_0x7df43b(0x1d2))/0x7)+parseInt(_0x7df43b(0x1d5))/0x8+-parseInt(_0x7df43b(0x1f2))/0x9;if(_0x301c43===_0x55b882)break;else _0x370070['push'](_0x370070['shift']());}catch(_0x33e1c5){_0x370070['push'](_0x370070['shift']());}}}(_0x350b,0x2fa98));import{View as _0x9865d8}from'ckeditor5/src/ui.js';function _0x6228(_0x45d4af,_0x158ddf){var _0x350b95=_0x350b();return _0x6228=function(_0x6228eb,_0x4f1cac){_0x6228eb=_0x6228eb-0x1cb;var _0x286e2f=_0x350b95[_0x6228eb];return _0x286e2f;},_0x6228(_0x45d4af,_0x158ddf);}import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x2dbe37}from'../aireviewcoreui.js';import{AIReviewCoreGeneralErrorView as _0x2622fa}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x9865d8{[_0x31d947(0x1f5)];[_0x31d947(0x1d1)];[_0x31d947(0x1ee)];[_0x31d947(0x1d0)];[_0x31d947(0x1ec)];constructor(_0x90c357,_0x1b75f4){var _0x57546b=_0x31d947;super(_0x90c357),this[_0x57546b(0x1f5)]=_0x1b75f4[_0x57546b(0x1dd)],this[_0x57546b(0x1d1)]=new _0x2622fa(_0x90c357),this[_0x57546b(0x1ee)]=_0x1b75f4[_0x57546b(0x1cc)],this[_0x57546b(0x1ee)][_0x57546b(0x1de)](..._0x2dbe37)['to'](this),this[_0x57546b(0x1d0)]=_0x1b75f4[_0x57546b(0x1e0)],this[_0x57546b(0x1d0)][_0x57546b(0x1de)](..._0x2dbe37)['to'](this),this[_0x57546b(0x1ec)]=_0x1b75f4[_0x57546b(0x1cf)],this[_0x57546b(0x1ec)][_0x57546b(0x1de)](_0x57546b(0x1d9))['to'](this),this[_0x57546b(0x1ee)][_0x57546b(0x1da)](_0x57546b(0x1cb),!0x1),this[_0x57546b(0x1d0)][_0x57546b(0x1da)](_0x57546b(0x1cb),!0x1),this[_0x57546b(0x1d0)][_0x57546b(0x1da)](_0x57546b(0x1e2),!0x1),this[_0x57546b(0x1d0)][_0x57546b(0x1da)](_0x57546b(0x1f8),!0x1),this[_0x57546b(0x1ec)][_0x57546b(0x1da)](_0x57546b(0x1cb),!0x1),this[_0x57546b(0x1f6)]({'tag':_0x57546b(0x1f0),'attributes':{'class':['ck',_0x57546b(0x1e8),_0x57546b(0x1f1),_0x57546b(0x1ea)],'dir':_0x57546b(0x1e4)},'children':[this[_0x57546b(0x1f5)],this[_0x57546b(0x1d1)],this[_0x57546b(0x1ee)],this[_0x57546b(0x1d0)],this[_0x57546b(0x1ec)]]});}[_0x31d947(0x1f4)](){var _0x390783=_0x31d947;this[_0x390783(0x1ee)][_0x390783(0x1fa)](),this[_0x390783(0x1ee)][_0x390783(0x1da)](_0x390783(0x1cb),!0x0),this[_0x390783(0x1d0)][_0x390783(0x1da)](_0x390783(0x1cb),!0x1),this[_0x390783(0x1ec)][_0x390783(0x1da)](_0x390783(0x1cb),!0x1);}[_0x31d947(0x1ed)](){var _0x346a90=_0x31d947;this[_0x346a90(0x1cd)](),this[_0x346a90(0x1d0)][_0x346a90(0x1d3)](),this[_0x346a90(0x1ee)][_0x346a90(0x1da)](_0x346a90(0x1cb),!0x1),this[_0x346a90(0x1d0)][_0x346a90(0x1da)](_0x346a90(0x1cb),!0x0),this[_0x346a90(0x1d0)][_0x346a90(0x1e1)](),this[_0x346a90(0x1d0)][_0x346a90(0x1da)](_0x346a90(0x1e2),!0x0),this[_0x346a90(0x1d0)][_0x346a90(0x1da)](_0x346a90(0x1d7),!0x1);}[_0x31d947(0x1eb)](_0x4fe433){var _0x578248=_0x31d947;this[_0x578248(0x1d0)][_0x578248(0x1dc)](_0x4fe433),this[_0x578248(0x1d0)][_0x578248(0x1da)](_0x578248(0x1e2),!0x1);}[_0x31d947(0x1e3)](){var _0x4dd3ca=_0x31d947;this[_0x4dd3ca(0x1d0)][_0x4dd3ca(0x1da)](_0x4dd3ca(0x1cb),!0x0),this[_0x4dd3ca(0x1ec)][_0x4dd3ca(0x1da)](_0x4dd3ca(0x1cb),!0x1),this[_0x4dd3ca(0x1d0)][_0x4dd3ca(0x1da)](_0x4dd3ca(0x1d7),!0x0),this[_0x4dd3ca(0x1ee)][_0x4dd3ca(0x1da)](_0x4dd3ca(0x1cb),!0x1);}[_0x31d947(0x1e7)](){var _0x3fc582=_0x31d947;this[_0x3fc582(0x1d0)][_0x3fc582(0x1f8)]?(this[_0x3fc582(0x1ee)][_0x3fc582(0x1da)](_0x3fc582(0x1cb),!0x1),this[_0x3fc582(0x1d0)][_0x3fc582(0x1da)](_0x3fc582(0x1cb),!0x0),this[_0x3fc582(0x1ec)][_0x3fc582(0x1da)](_0x3fc582(0x1cb),!0x1)):this[_0x3fc582(0x1d0)][_0x3fc582(0x1f8)]=!0x0;}[_0x31d947(0x1ef)](){var _0x2edc1a=_0x31d947;this[_0x2edc1a(0x1ee)][_0x2edc1a(0x1da)](_0x2edc1a(0x1cb),!0x1),this[_0x2edc1a(0x1d0)][_0x2edc1a(0x1da)](_0x2edc1a(0x1cb),!0x1),this[_0x2edc1a(0x1ec)][_0x2edc1a(0x1da)](_0x2edc1a(0x1cb),!0x0);}[_0x31d947(0x1cd)](){var _0x2de68d=_0x31d947;this[_0x2de68d(0x1d0)][_0x2de68d(0x1f8)]=!0x1;}[_0x31d947(0x1d6)](_0x4c780c){var _0x5250f6=_0x31d947;this[_0x5250f6(0x1d1)][_0x5250f6(0x1da)](_0x5250f6(0x1cb),!0x0),this[_0x5250f6(0x1d1)][_0x5250f6(0x1df)]=_0x4c780c;}[_0x31d947(0x1d8)](){var _0x3b5e52=_0x31d947;this[_0x3b5e52(0x1d0)][_0x3b5e52(0x1da)](_0x3b5e52(0x1e2),!0x1),this[_0x3b5e52(0x1e7)](),this[_0x3b5e52(0x1d0)][_0x3b5e52(0x1f9)]();}[_0x31d947(0x1e9)](){var _0x37367e=_0x31d947;this[_0x37367e(0x1d0)][_0x37367e(0x1da)](_0x37367e(0x1e2),!0x1),this[_0x37367e(0x1e7)](),this[_0x37367e(0x1d0)][_0x37367e(0x1ce)]();}}
23
+ var _0x2e32a1=_0x36ca;(function(_0x27acea,_0x26cfc8){var _0x272042=_0x36ca,_0x3ebe2b=_0x27acea();while(!![]){try{var _0x1d652f=-parseInt(_0x272042(0x131))/0x1+parseInt(_0x272042(0x158))/0x2*(parseInt(_0x272042(0x143))/0x3)+-parseInt(_0x272042(0x133))/0x4+-parseInt(_0x272042(0x150))/0x5+parseInt(_0x272042(0x142))/0x6*(parseInt(_0x272042(0x157))/0x7)+-parseInt(_0x272042(0x136))/0x8*(parseInt(_0x272042(0x155))/0x9)+parseInt(_0x272042(0x139))/0xa*(parseInt(_0x272042(0x153))/0xb);if(_0x1d652f===_0x26cfc8)break;else _0x3ebe2b['push'](_0x3ebe2b['shift']());}catch(_0x87c971){_0x3ebe2b['push'](_0x3ebe2b['shift']());}}}(_0x27d5,0x603ad));import{View as _0x2b931e}from'ckeditor5/src/ui.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0xdf8f5d}from'../aireviewcoreui.js';function _0x36ca(_0x1b9f25,_0x599a9a){var _0x27d5c4=_0x27d5();return _0x36ca=function(_0x36ca01,_0x373715){_0x36ca01=_0x36ca01-0x12f;var _0x485ca8=_0x27d5c4[_0x36ca01];return _0x485ca8;},_0x36ca(_0x1b9f25,_0x599a9a);}function _0x27d5(){var _0x6820de=['delegate','showChunkErrorView','1102453KGishM','resetErrorState','45YHpmwZ','errorMessage','28364wmeTyI','2gNxvbv','ltr','isLoading','completed','reviewCheckListView','clearResults','isResultReady','showReviewCheckResultsView','header','div','showNoChangesView','392292IbSlTp','showGeneralErrorMessage','863832ZvQFLM','isVisible','isCompleted','120272dDDvnN','resetAllParameterizedChecks','ck-rounded-corners','130aFmjXU','setTemplate','ck-ai-review','showReviewCheckListView','reviewCompletedView','list','reviewCoreHeader','showChunkErrorMessage','results','588BGSiOW','42417Yccepj','showGeneralReviewCoreErrorView','ck-reset_all','addResult','reviewCheckResultsView','finishReview','showReviewCompletedView','generalErrorView','set','addCheckRunResult','hideActionsWhenResultIsReady','showGeneralResultsErrorView','showActionsWhenResultIsReady','3182785luVfXY'];_0x27d5=function(){return _0x6820de;};return _0x27d5();}import{AIReviewCoreGeneralErrorView as _0x5b38a7}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x2b931e{[_0x2e32a1(0x13f)];[_0x2e32a1(0x14a)];[_0x2e32a1(0x15c)];[_0x2e32a1(0x147)];[_0x2e32a1(0x13d)];constructor(_0x5b2b76,_0x388fc2){var _0x7d3d1=_0x2e32a1;super(_0x5b2b76),this[_0x7d3d1(0x13f)]=_0x388fc2[_0x7d3d1(0x160)],this[_0x7d3d1(0x14a)]=new _0x5b38a7(_0x5b2b76),this[_0x7d3d1(0x15c)]=_0x388fc2[_0x7d3d1(0x13e)],this[_0x7d3d1(0x15c)][_0x7d3d1(0x151)](..._0xdf8f5d)['to'](this),this[_0x7d3d1(0x147)]=_0x388fc2[_0x7d3d1(0x141)],this[_0x7d3d1(0x147)][_0x7d3d1(0x151)](..._0xdf8f5d)['to'](this),this[_0x7d3d1(0x13d)]=_0x388fc2[_0x7d3d1(0x15b)],this[_0x7d3d1(0x13d)][_0x7d3d1(0x151)](_0x7d3d1(0x148))['to'](this),this[_0x7d3d1(0x15c)][_0x7d3d1(0x14b)](_0x7d3d1(0x134),!0x1),this[_0x7d3d1(0x147)][_0x7d3d1(0x14b)](_0x7d3d1(0x134),!0x1),this[_0x7d3d1(0x147)][_0x7d3d1(0x14b)](_0x7d3d1(0x15a),!0x1),this[_0x7d3d1(0x147)][_0x7d3d1(0x14b)](_0x7d3d1(0x15e),!0x1),this[_0x7d3d1(0x13d)][_0x7d3d1(0x14b)](_0x7d3d1(0x134),!0x1),this[_0x7d3d1(0x13a)]({'tag':_0x7d3d1(0x12f),'attributes':{'class':['ck',_0x7d3d1(0x145),_0x7d3d1(0x13b),_0x7d3d1(0x138)],'dir':_0x7d3d1(0x159)},'children':[this[_0x7d3d1(0x13f)],this[_0x7d3d1(0x14a)],this[_0x7d3d1(0x15c)],this[_0x7d3d1(0x147)],this[_0x7d3d1(0x13d)]]});}[_0x2e32a1(0x13c)](){var _0x39503e=_0x2e32a1;this[_0x39503e(0x15c)][_0x39503e(0x137)](),this[_0x39503e(0x15c)][_0x39503e(0x14b)](_0x39503e(0x134),!0x0),this[_0x39503e(0x147)][_0x39503e(0x14b)](_0x39503e(0x134),!0x1),this[_0x39503e(0x13d)][_0x39503e(0x14b)](_0x39503e(0x134),!0x1);}[_0x2e32a1(0x15f)](){var _0x26116d=_0x2e32a1;this[_0x26116d(0x14d)](),this[_0x26116d(0x147)][_0x26116d(0x154)](),this[_0x26116d(0x15c)][_0x26116d(0x14b)](_0x26116d(0x134),!0x1),this[_0x26116d(0x147)][_0x26116d(0x14b)](_0x26116d(0x134),!0x0),this[_0x26116d(0x147)][_0x26116d(0x15d)](),this[_0x26116d(0x147)][_0x26116d(0x14b)](_0x26116d(0x15a),!0x0),this[_0x26116d(0x147)][_0x26116d(0x14b)](_0x26116d(0x135),!0x1);}[_0x2e32a1(0x14c)](_0xa1fbb1){var _0x35bdbf=_0x2e32a1;this[_0x35bdbf(0x147)][_0x35bdbf(0x146)](_0xa1fbb1),this[_0x35bdbf(0x147)][_0x35bdbf(0x14b)](_0x35bdbf(0x15a),!0x1);}[_0x2e32a1(0x149)](){var _0x5be133=_0x2e32a1;this[_0x5be133(0x147)][_0x5be133(0x14b)](_0x5be133(0x134),!0x0),this[_0x5be133(0x13d)][_0x5be133(0x14b)](_0x5be133(0x134),!0x1),this[_0x5be133(0x147)][_0x5be133(0x14b)](_0x5be133(0x135),!0x0),this[_0x5be133(0x15c)][_0x5be133(0x14b)](_0x5be133(0x134),!0x1);}[_0x2e32a1(0x14f)](){var _0x393f8a=_0x2e32a1;this[_0x393f8a(0x147)][_0x393f8a(0x15e)]?(this[_0x393f8a(0x15c)][_0x393f8a(0x14b)](_0x393f8a(0x134),!0x1),this[_0x393f8a(0x147)][_0x393f8a(0x14b)](_0x393f8a(0x134),!0x0),this[_0x393f8a(0x13d)][_0x393f8a(0x14b)](_0x393f8a(0x134),!0x1)):this[_0x393f8a(0x147)][_0x393f8a(0x15e)]=!0x0;}[_0x2e32a1(0x130)](){var _0x27cbca=_0x2e32a1;this[_0x27cbca(0x15c)][_0x27cbca(0x14b)](_0x27cbca(0x134),!0x1),this[_0x27cbca(0x147)][_0x27cbca(0x14b)](_0x27cbca(0x134),!0x1),this[_0x27cbca(0x13d)][_0x27cbca(0x14b)](_0x27cbca(0x134),!0x0);}[_0x2e32a1(0x14d)](){var _0x12f205=_0x2e32a1;this[_0x12f205(0x147)][_0x12f205(0x15e)]=!0x1;}[_0x2e32a1(0x144)](_0x1d4636){var _0x37c870=_0x2e32a1;this[_0x37c870(0x14a)][_0x37c870(0x14b)](_0x37c870(0x134),!0x0),this[_0x37c870(0x14a)][_0x37c870(0x156)]=_0x1d4636;}[_0x2e32a1(0x14e)](){var _0x5d5847=_0x2e32a1;this[_0x5d5847(0x147)][_0x5d5847(0x14b)](_0x5d5847(0x15a),!0x1),this[_0x5d5847(0x14f)](),this[_0x5d5847(0x147)][_0x5d5847(0x132)]();}[_0x2e32a1(0x152)](){var _0x58ff6a=_0x2e32a1;this[_0x58ff6a(0x147)][_0x58ff6a(0x14b)](_0x58ff6a(0x15a),!0x1),this[_0x58ff6a(0x14f)](),this[_0x58ff6a(0x147)][_0x58ff6a(0x140)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd968e0=_0x1660;(function(_0x357dfb,_0x10d5b3){const _0x162929=_0x1660,_0x1be693=_0x357dfb();while(!![]){try{const _0x493e29=parseInt(_0x162929(0x1c4))/0x1+parseInt(_0x162929(0x1bb))/0x2*(parseInt(_0x162929(0x1ab))/0x3)+-parseInt(_0x162929(0x1b4))/0x4+parseInt(_0x162929(0x1c1))/0x5*(-parseInt(_0x162929(0x1a8))/0x6)+-parseInt(_0x162929(0x1ba))/0x7*(-parseInt(_0x162929(0x1b5))/0x8)+-parseInt(_0x162929(0x1ac))/0x9+-parseInt(_0x162929(0x1cb))/0xa*(parseInt(_0x162929(0x1c5))/0xb);if(_0x493e29===_0x10d5b3)break;else _0x1be693['push'](_0x1be693['shift']());}catch(_0x3d82a9){_0x1be693['push'](_0x1be693['shift']());}}}(_0x583b,0x96f9b));import{Collection as _0x57f3be}from'ckeditor5/src/utils.js';function _0x1660(_0x5403b7,_0x32fd3d){const _0x583b77=_0x583b();return _0x1660=function(_0x16607b,_0x4e12ab){_0x16607b=_0x16607b-0x1a7;let _0x217326=_0x583b77[_0x16607b];return _0x217326;},_0x1660(_0x5403b7,_0x32fd3d);}import{View as _0x1e890f,createDropdown as _0x344a76,addListToDropdown as _0x415486,UIModel as _0x1a0944}from'ckeditor5/src/ui.js';export class AIReviewCoreFormDropdownView extends _0x1e890f{[_0xd968e0(0x1a7)];[_0xd968e0(0x1c7)];[_0xd968e0(0x1b0)];constructor(_0x437a55,_0x16daca){const _0x2c1295=_0xd968e0;super(_0x437a55),this[_0x2c1295(0x1c7)]=_0x16daca[_0x2c1295(0x1ca)]||(_0x16daca[_0x2c1295(0x1b3)][_0x2c1295(0x1be)]>0x0?_0x16daca[_0x2c1295(0x1b3)][0x0]['id']:''),this[_0x2c1295(0x1b0)]=_0x16daca[_0x2c1295(0x1b3)][_0x2c1295(0x1bd)](_0xc4be68=>_0xc4be68['id']===this[_0x2c1295(0x1c7)])?.[_0x2c1295(0x1c0)]||'',this[_0x2c1295(0x1b1)](_0x2c1295(0x1b6),''),this[_0x2c1295(0x1a7)]=_0x344a76(this[_0x2c1295(0x1c3)]);const _0x3c45bb=this[_0x2c1295(0x1ae)](_0x16daca[_0x2c1295(0x1b3)]);_0x415486(this[_0x2c1295(0x1a7)],_0x3c45bb,{'role':_0x2c1295(0x1c8),'ariaLabel':_0x16daca[_0x2c1295(0x1c0)]}),this[_0x2c1295(0x1a7)][_0x2c1295(0x1c6)][_0x2c1295(0x1b1)]({'label':this[_0x2c1295(0x1b0)],'withText':!0x0}),this[_0x2c1295(0x1a7)][_0x2c1295(0x1aa)]({'on':{'click':this[_0x2c1295(0x1b2)]['to'](_0x377474=>{const _0x28a44f=_0x2c1295;_0x377474[_0x28a44f(0x1d1)]();})}}),this[_0x2c1295(0x1cf)](this[_0x2c1295(0x1a7)],_0x2c1295(0x1b7),_0x214a2f=>{const _0x5c66e2=_0x2c1295;this[_0x5c66e2(0x1b6)]=_0x214a2f[_0x5c66e2(0x1cc)][_0x5c66e2(0x1af)]['id'],this[_0x5c66e2(0x1a7)][_0x5c66e2(0x1c6)][_0x5c66e2(0x1c0)]=_0x214a2f[_0x5c66e2(0x1cc)][_0x5c66e2(0x1af)][_0x5c66e2(0x1c0)];}),this[_0x2c1295(0x1b9)]({'tag':_0x2c1295(0x1cd),'attributes':{'class':['ck',_0x2c1295(0x1d0),_0x2c1295(0x1ad),_0x2c1295(0x1bf)]},'children':[this[_0x2c1295(0x1a7)]]});}[_0xd968e0(0x1a9)](){const _0x516b27=_0xd968e0;this[_0x516b27(0x1b6)]=this[_0x516b27(0x1c7)],this[_0x516b27(0x1a7)][_0x516b27(0x1c6)][_0x516b27(0x1c0)]=this[_0x516b27(0x1b0)];}[_0xd968e0(0x1ae)](_0xcad5cc=[]){const _0x35d7f0=_0xd968e0,_0x5ef940=new _0x57f3be();this[_0x35d7f0(0x1a9)]();for(const _0x52928b of _0xcad5cc){const _0x2a1600=new _0x1a0944({'label':_0x52928b[_0x35d7f0(0x1c0)],'withText':!0x0,'role':_0x35d7f0(0x1c2),'id':_0x52928b['id'],'model':_0x52928b});_0x2a1600[_0x35d7f0(0x1bc)](_0x35d7f0(0x1c9))['to'](this,_0x35d7f0(0x1b6),_0x474101=>_0x474101===_0x2a1600['id']);const _0x2627e6={'type':_0x35d7f0(0x1ce),'model':_0x2a1600};_0x5ef940[_0x35d7f0(0x1b8)](_0x2627e6);}return _0x5ef940;}}function _0x583b(){const _0x7901f4=['880940fUuYNw','9325560QbECbs','formValue','execute','add','setTemplate','7IuEfSJ','2ItyWPQ','bind','find','length','ck-ai_review__check-list-item-parameterized-form-element_dropdown','label','4775YtEObn','menuitemradio','locale','484655WnfYKk','11kdQmbN','buttonView','_defaultValue','menu','isOn','default','3539330EFuPqU','source','div','button','listenTo','ck-reset_all','stopPropagation','_dropdownView','3480BZosQq','resetToDefault','extendTemplate','2136657mqkpyd','5544954fLmRbc','ck-ai_review__check-list-item-parameterized-form-element','_prepareListOptions','model','_defaultLabel','set','bindTemplate','data'];_0x583b=function(){return _0x7901f4;};return _0x583b();}
23
+ function _0x5865(_0x190741,_0x3bf7f1){const _0xaaae64=_0xaaae();return _0x5865=function(_0x586538,_0x128d75){_0x586538=_0x586538-0x148;let _0x174f3c=_0xaaae64[_0x586538];return _0x174f3c;},_0x5865(_0x190741,_0x3bf7f1);}const _0x230fe1=_0x5865;function _0xaaae(){const _0x5d60ca=['locale','ck-reset_all','456123OKfLQS','setTemplate','formValue','resetToDefault','extendTemplate','default','17315YLHTOY','61572dasFtc','10DMWLEc','3795IMITug','_prepareListOptions','label','source','2358608gkBahC','_defaultLabel','execute','button','4035332cIWYFP','ck-ai_review__check-list-item-parameterized-form-element_dropdown','menuitemradio','set','12gUDfin','bind','6630WVhxhi','buttonView','data','find','ck-ai_review__check-list-item-parameterized-form-element','stopPropagation','length','listenTo','822RjXEnn','div','model','47uuvQCU','bindTemplate','isOn','3091707gAlKav','_defaultValue','add','menu','_dropdownView'];_0xaaae=function(){return _0x5d60ca;};return _0xaaae();}(function(_0x4b0d1a,_0x3be629){const _0x14d035=_0x5865,_0x3c5a67=_0x4b0d1a();while(!![]){try{const _0x435900=parseInt(_0x14d035(0x162))/0x1*(-parseInt(_0x14d035(0x157))/0x2)+-parseInt(_0x14d035(0x16c))/0x3*(-parseInt(_0x14d035(0x155))/0x4)+parseInt(_0x14d035(0x172))/0x5*(-parseInt(_0x14d035(0x15f))/0x6)+-parseInt(_0x14d035(0x151))/0x7+-parseInt(_0x14d035(0x14d))/0x8+-parseInt(_0x14d035(0x165))/0x9*(parseInt(_0x14d035(0x148))/0xa)+parseInt(_0x14d035(0x149))/0xb*(parseInt(_0x14d035(0x173))/0xc);if(_0x435900===_0x3be629)break;else _0x3c5a67['push'](_0x3c5a67['shift']());}catch(_0x2b4c91){_0x3c5a67['push'](_0x3c5a67['shift']());}}}(_0xaaae,0x5d149));import{Collection as _0x2ba405}from'ckeditor5/src/utils.js';import{View as _0x134372,createDropdown as _0x559c0a,addListToDropdown as _0x4152a7,UIModel as _0x2d0337}from'ckeditor5/src/ui.js';export class AIReviewCoreFormDropdownView extends _0x134372{[_0x230fe1(0x169)];[_0x230fe1(0x166)];[_0x230fe1(0x14e)];constructor(_0x4e6f1b,_0x2da39d){const _0xf8d8d9=_0x230fe1;super(_0x4e6f1b),this[_0xf8d8d9(0x166)]=_0x2da39d[_0xf8d8d9(0x171)]||(_0x2da39d[_0xf8d8d9(0x159)][_0xf8d8d9(0x15d)]>0x0?_0x2da39d[_0xf8d8d9(0x159)][0x0]['id']:''),this[_0xf8d8d9(0x14e)]=_0x2da39d[_0xf8d8d9(0x159)][_0xf8d8d9(0x15a)](_0x3a097c=>_0x3a097c['id']===this[_0xf8d8d9(0x166)])?.[_0xf8d8d9(0x14b)]||'',this[_0xf8d8d9(0x154)](_0xf8d8d9(0x16e),''),this[_0xf8d8d9(0x169)]=_0x559c0a(this[_0xf8d8d9(0x16a)]);const _0x1f0124=this[_0xf8d8d9(0x14a)](_0x2da39d[_0xf8d8d9(0x159)]);_0x4152a7(this[_0xf8d8d9(0x169)],_0x1f0124,{'role':_0xf8d8d9(0x168),'ariaLabel':_0x2da39d[_0xf8d8d9(0x14b)]}),this[_0xf8d8d9(0x169)][_0xf8d8d9(0x158)][_0xf8d8d9(0x154)]({'label':this[_0xf8d8d9(0x14e)],'withText':!0x0}),this[_0xf8d8d9(0x169)][_0xf8d8d9(0x170)]({'on':{'click':this[_0xf8d8d9(0x163)]['to'](_0x1a78ef=>{const _0x2e3016=_0xf8d8d9;_0x1a78ef[_0x2e3016(0x15c)]();})}}),this[_0xf8d8d9(0x15e)](this[_0xf8d8d9(0x169)],_0xf8d8d9(0x14f),_0x14350e=>{const _0x15affb=_0xf8d8d9;this[_0x15affb(0x16e)]=_0x14350e[_0x15affb(0x14c)][_0x15affb(0x161)]['id'],this[_0x15affb(0x169)][_0x15affb(0x158)][_0x15affb(0x14b)]=_0x14350e[_0x15affb(0x14c)][_0x15affb(0x161)][_0x15affb(0x14b)];}),this[_0xf8d8d9(0x16d)]({'tag':_0xf8d8d9(0x160),'attributes':{'class':['ck',_0xf8d8d9(0x16b),_0xf8d8d9(0x15b),_0xf8d8d9(0x152)]},'children':[this[_0xf8d8d9(0x169)]]});}[_0x230fe1(0x16f)](){const _0x928151=_0x230fe1;this[_0x928151(0x16e)]=this[_0x928151(0x166)],this[_0x928151(0x169)][_0x928151(0x158)][_0x928151(0x14b)]=this[_0x928151(0x14e)];}[_0x230fe1(0x14a)](_0x58d3e6=[]){const _0xd804f5=_0x230fe1,_0x180196=new _0x2ba405();this[_0xd804f5(0x16f)]();for(const _0x50d23c of _0x58d3e6){const _0x47ff2b=new _0x2d0337({'label':_0x50d23c[_0xd804f5(0x14b)],'withText':!0x0,'role':_0xd804f5(0x153),'id':_0x50d23c['id'],'model':_0x50d23c});_0x47ff2b[_0xd804f5(0x156)](_0xd804f5(0x164))['to'](this,_0xd804f5(0x16e),_0x57b36f=>_0x57b36f===_0x47ff2b['id']);const _0x51b0ad={'type':_0xd804f5(0x150),'model':_0x47ff2b};_0x180196[_0xd804f5(0x167)](_0x51b0ad);}return _0x180196;}}