@ckeditor/ckeditor5-ai 47.6.2-alpha.1 → 47.7.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x275851=_0xfce1;(function(_0xcb1721,_0x52d437){const _0x59c139=_0xfce1,_0x39515e=_0xcb1721();while(!![]){try{const _0x35e466=-parseInt(_0x59c139(0x1c0))/0x1*(-parseInt(_0x59c139(0x1ad))/0x2)+-parseInt(_0x59c139(0x1ec))/0x3+-parseInt(_0x59c139(0x1f0))/0x4+parseInt(_0x59c139(0x1a7))/0x5+parseInt(_0x59c139(0x1d7))/0x6+-parseInt(_0x59c139(0x1bd))/0x7*(parseInt(_0x59c139(0x1e0))/0x8)+parseInt(_0x59c139(0x1b0))/0x9*(parseInt(_0x59c139(0x1be))/0xa);if(_0x35e466===_0x52d437)break;else _0x39515e['push'](_0x39515e['shift']());}catch(_0x335535){_0x39515e['push'](_0x39515e['shift']());}}}(_0x3576,0xe57f1));function _0x3576(){const _0x497f8c=['60neLaKv','set','2ghnWha','_setupClickOutsideHandler','from','pin','arrow_se','getBoundingClientRect','clientY','_pinnedTargetElement','resultResponseView','bindTemplate','_createContentView','resultItemView','showBalloon','click','contentDiffed','forEach','left','ck-ai_review__suggestion-text','delegate','element','content','_pinnedRectIndex','add','1621218AzIbjd','_isPinnedRectVisible','setTemplate','balloon','bottom','ck-ai_review-balloon-panel-suggestion_diff-active','_getBestRectPositionOnHover','unpin','clientX','1048IDgnoi','_getPointedRectIndexFromEvent','hideDiffInBalloon','reverse','arrow_','hover','deactivateChange','ck-ai_review-balloon-panel-suggestion','ck-content','showDiffInBalloon','_getBestRectPositionOnClick','getClientRects','1895433Hquqiq','dismissChange','isDiffActive','show','3507496eIQKkC','changeId','right','getIntersection','acceptChange','extendTemplate','1192670KqOCGM','hideBalloon','showDiff','position','_pinnedTargetChangeId','isVisible','69686ExwrOT','push','locale','3488256ibRxoH','width','hide','render','updateContent','fire','documentElement','replace','top','div','ck-reset','length','innerHTML','24325ErUNgy'];_0x3576=function(){return _0x497f8c;};return _0x3576();}import{Rect as _0x558d55,getConstrainedViewportRect as _0x2d2130}from'ckeditor5/src/utils.js';function _0xfce1(_0x1b117c,_0x19f17c){const _0x35762d=_0x3576();return _0xfce1=function(_0xfce165,_0x5719cf){_0xfce165=_0xfce165-0x1a4;let _0x5bdb16=_0x35762d[_0xfce165];return _0x5bdb16;},_0xfce1(_0x1b117c,_0x19f17c);}import{BalloonPanelView as _0xbb4d2a,View as _0x78d249,clickOutsideHandler as _0x10ae32}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x36696f}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0xbb4d2a{[_0x275851(0x1cb)];[_0x275851(0x1d5)]=void 0x0;[_0x275851(0x1c7)]=void 0x0;[_0x275851(0x1ab)]=void 0x0;constructor(_0x2fda33,_0x13c451){const _0x5ae1d2=_0x275851;super(_0x2fda33),this[_0x5ae1d2(0x1bf)]({'isVisible':!0x1,'position':_0x5ae1d2(0x1c4),'class':null,'top':0x0,'left':0x0}),this[_0x5ae1d2(0x1a6)]({'tag':_0x5ae1d2(0x1b9),'attributes':{'class':[_0x5ae1d2(0x1ba)],'tabindex':'-1'}}),this[_0x5ae1d2(0x1bf)](_0x5ae1d2(0x1ee),!0x1),this[_0x5ae1d2(0x1d4)][_0x5ae1d2(0x1d6)](this[_0x5ae1d2(0x1ca)]()),_0x13c451[_0x5ae1d2(0x1d6)](this);}[_0x275851(0x1b3)](){const _0x5b7fd5=_0x275851;super[_0x5b7fd5(0x1b3)](),this[_0x5b7fd5(0x1c1)]();}[_0x275851(0x1b4)](_0x68547c){const _0x3a5ed4=_0x275851;this[_0x3a5ed4(0x1cb)][_0x3a5ed4(0x1f1)]=_0x68547c['id'],this[_0x3a5ed4(0x1cb)][_0x3a5ed4(0x1c8)][_0x3a5ed4(0x1d3)][_0x3a5ed4(0x1bc)]=_0x68547c[_0x3a5ed4(0x1ce)];}[_0x275851(0x1cc)](_0x3c289f,_0x3de437,_0x4a0468,_0x525d2b,_0x2ed93c,_0xddb5d0){const _0x1f8e88=_0x275851,_0x1b4316=_0x3de437();if(!_0x1b4316)return;this[_0x1f8e88(0x1b4)](_0x3c289f),this[_0x1f8e88(0x1ef)]();const _0x33e1f4=Array[_0x1f8e88(0x1c2)](_0x1b4316[_0x1f8e88(0x1eb)]())[_0x1f8e88(0x1e3)](),_0x2ae4ce=this[_0x1f8e88(0x1e1)](_0x4a0468,_0x33e1f4),_0x65d075=_0x33e1f4[_0x2ae4ce??0x0];_0x1f8e88(0x1cd)===_0x525d2b?(this[_0x1f8e88(0x1ee)]=!0x0,this[_0x1f8e88(0x1c3)]({'target':()=>this[_0x1f8e88(0x1ea)](_0x3de437(),_0x2ae4ce,_0x3c289f['id'],_0x2ed93c,_0xddb5d0)||_0x65d075})):_0x1f8e88(0x1e5)===_0x525d2b&&(this[_0x1f8e88(0x1ee)]=!0x1,this[_0x1f8e88(0x1c3)]({'target':()=>this[_0x1f8e88(0x1dd)](_0x3de437(),_0x2ae4ce,_0x3c289f['id'])||_0x65d075}));}[_0x275851(0x1a8)](){const _0xc44e5e=_0x275851;this[_0xc44e5e(0x1b2)](),this[_0xc44e5e(0x1de)](),this[_0xc44e5e(0x1d5)]=void 0x0,this[_0xc44e5e(0x1c7)]=void 0x0,this[_0xc44e5e(0x1ab)]=void 0x0;}[_0x275851(0x1e2)](){const _0x477e40=_0x275851;this[_0x477e40(0x1cb)][_0x477e40(0x1a9)]=!0x1;}[_0x275851(0x1e9)](){const _0x989da3=_0x275851;this[_0x989da3(0x1cb)][_0x989da3(0x1a9)]=!0x0;}[_0x275851(0x1e6)](){const _0x26168e=_0x275851;this[_0x26168e(0x1b5)](_0x26168e(0x1e6),{'origin':_0x26168e(0x1da)});}[_0x275851(0x1c1)](){const _0x5f4198=_0x275851;_0x10ae32({'emitter':this,'activator':()=>this[_0x5f4198(0x1ac)],'contextElements':()=>{const _0x15c562=_0x5f4198,_0x256e90=[this[_0x15c562(0x1d3)]];return this[_0x15c562(0x1c7)]&&_0x256e90[_0x15c562(0x1ae)](this[_0x15c562(0x1c7)]),_0x256e90;},'callback':()=>{const _0x4cfb4d=_0x5f4198;this[_0x4cfb4d(0x1b2)](),this[_0x4cfb4d(0x1de)](),this[_0x4cfb4d(0x1e6)](),this[_0x4cfb4d(0x1c7)]=void 0x0,this[_0x4cfb4d(0x1d5)]=void 0x0,this[_0x4cfb4d(0x1ab)]=void 0x0;}});}[_0x275851(0x1ca)](){const _0x1e4f68=_0x275851,_0x70e647=new _0x78d249();return this[_0x1e4f68(0x1cb)]=new _0x36696f(this[_0x1e4f68(0x1af)],''),this[_0x1e4f68(0x1cb)][_0x1e4f68(0x1c8)][_0x1e4f68(0x1a6)]({'attributes':{'class':[_0x1e4f68(0x1e8)]}}),this[_0x1e4f68(0x1cb)][_0x1e4f68(0x1d2)](_0x1e4f68(0x1a5),_0x1e4f68(0x1ed))['to'](this),_0x70e647[_0x1e4f68(0x1d9)]({'tag':_0x1e4f68(0x1b9),'attributes':{'class':[_0x1e4f68(0x1ba),_0x1e4f68(0x1e7),this[_0x1e4f68(0x1c9)]['if'](_0x1e4f68(0x1ee),_0x1e4f68(0x1dc))]},'children':[{'tag':'p','attributes':{'class':[_0x1e4f68(0x1d1)]},'children':[this[_0x1e4f68(0x1cb)]]}]}),_0x70e647;}[_0x275851(0x1ea)](_0x3f5d4f,_0x37a298,_0x43a960,_0x4b38b7,_0x3dd7a3){const _0x4b04df=_0x275851;if(!_0x3f5d4f)return null;const _0x3875d6=this[_0x4b04df(0x1aa)][_0x4b04df(0x1b7)](_0x4b04df(0x1e4),''),_0x293a9c=Array[_0x4b04df(0x1c2)](_0x3f5d4f[_0x4b04df(0x1eb)]());let _0x2939c9,_0x24e5db=_0x293a9c[_0x4b04df(0x1e3)]();return void 0x0!==_0x37a298&&this[_0x4b04df(0x1d8)](_0x24e5db[_0x37a298],_0x4b38b7,_0x3dd7a3)?(_0x2939c9=_0x24e5db[_0x37a298],this[_0x4b04df(0x1d5)]=_0x37a298):this[_0x4b04df(0x1d8)](_0x24e5db[0x0],_0x4b38b7,_0x3dd7a3)&&void 0x0===_0x37a298?_0x2939c9=_0x24e5db[0x0]:(_0x24e5db='s'==_0x3875d6[0x0]?[..._0x293a9c][_0x4b04df(0x1e3)]():_0x293a9c,_0x24e5db[_0x4b04df(0x1cf)](_0x17c418=>{const _0x38b78e=_0x4b04df;this[_0x38b78e(0x1d8)](_0x17c418,_0x4b38b7,_0x3dd7a3)&&(_0x2939c9=_0x17c418);})),this[_0x4b04df(0x1ab)]=_0x43a960,this[_0x4b04df(0x1c7)]=_0x3f5d4f,_0x2939c9||_0x3f5d4f[_0x4b04df(0x1c5)]();}[_0x275851(0x1dd)](_0x15c1a9,_0x27349f,_0x5a1cbe){const _0x5a5fbf=_0x275851;if(!_0x15c1a9)return null;const _0x6280b4=Array[_0x5a5fbf(0x1c2)](_0x15c1a9[_0x5a5fbf(0x1eb)]())[_0x5a5fbf(0x1e3)]();if(void 0x0===this[_0x5a5fbf(0x1d5)]&&void 0x0!==_0x27349f&&this[_0x5a5fbf(0x1ab)]!==_0x5a1cbe)return this[_0x5a5fbf(0x1d5)]=_0x27349f,this[_0x5a5fbf(0x1c7)]=_0x15c1a9,this[_0x5a5fbf(0x1ab)]=_0x5a1cbe,_0x6280b4[_0x27349f];if(void 0x0!==this[_0x5a5fbf(0x1d5)]&&this[_0x5a5fbf(0x1ab)]===_0x5a1cbe){if(_0x15c1a9!==this[_0x5a5fbf(0x1c7)])return Array[_0x5a5fbf(0x1c2)](this[_0x5a5fbf(0x1c7)][_0x5a5fbf(0x1eb)]())[_0x5a5fbf(0x1e3)]()[this[_0x5a5fbf(0x1d5)]];return _0x6280b4[this[_0x5a5fbf(0x1d5)]];}return void 0x0!==_0x27349f&&this[_0x5a5fbf(0x1ab)]!==_0x5a1cbe?(this[_0x5a5fbf(0x1d5)]=_0x27349f,this[_0x5a5fbf(0x1c7)]=_0x15c1a9,this[_0x5a5fbf(0x1ab)]=_0x5a1cbe,_0x6280b4[_0x27349f]):_0x15c1a9[_0x5a5fbf(0x1c5)]();}[_0x275851(0x1e1)](_0x4df473,_0x10a7af){const _0xc97e10=_0x275851;if(_0x4df473)for(let _0x1b7eb0=0x0;_0x1b7eb0<_0x10a7af[_0xc97e10(0x1bb)];_0x1b7eb0++){const _0x444831=_0x10a7af[_0x1b7eb0];if(_0x4df473[_0xc97e10(0x1df)]>=_0x444831[_0xc97e10(0x1d0)]-0x3&&_0x4df473[_0xc97e10(0x1df)]<=_0x444831[_0xc97e10(0x1f2)]+0x3&&_0x4df473[_0xc97e10(0x1c6)]>=_0x444831[_0xc97e10(0x1b8)]-0x3&&_0x4df473[_0xc97e10(0x1c6)]<=_0x444831[_0xc97e10(0x1db)]+0x3)return _0x1b7eb0;}}[_0x275851(0x1d8)](_0x49e0f4,_0x322e8c,_0x5a5e0d){const _0x4dc026=_0x275851,_0x136eba=new _0x558d55(_0x49e0f4),_0x24e918=_0x322e8c||document[_0x4dc026(0x1b6)],_0x4df8e4=_0x136eba[_0x4dc026(0x1a4)](_0x2d2130(_0x5a5e0d)),_0x353062=new _0x558d55(_0x24e918)[_0x4dc026(0x1a4)](_0x136eba);return!!(_0x4df8e4&&_0x353062&&_0x136eba[_0x4dc026(0x1b1)]>0x0);}}
23
+ function _0x2775(){const _0x3755b5=['contentDiffed','showDiffInBalloon','ck-ai_review__suggestion-text','1834104fjUHrd','3246824aPirHK','isDiffActive','hideBalloon','reverse','locale','click','deactivateChange','14112270wIAEri','ck-reset','arrow_se','div','extendTemplate','_getBestRectPositionOnClick','set','hover','balloon','445378cOQQtB','ck-ai_review-balloon-panel-suggestion_diff-active','changeId','content','setTemplate','getIntersection','_pinnedTargetChangeId','dismissChange','delegate','402qgSvSE','10048mYkMlR','updateContent','_isPinnedRectVisible','show','documentElement','showDiff','ck-ai_review-balloon-panel-suggestion','right','_createContentView','_getBestRectPositionOnHover','replace','bottom','hide','position','unpin','arrow_','forEach','6bbhASz','resultResponseView','pin','innerHTML','from','render','_pinnedRectIndex','fire','_setupClickOutsideHandler','add','top','resultItemView','2327591pRvjOx','clientX','bindTemplate','acceptChange','showBalloon','push','clientY','_getPointedRectIndexFromEvent','left','6906190OXKFeA','getClientRects','length','_pinnedTargetElement','width','ck-content','getBoundingClientRect','element','isVisible','hideDiffInBalloon'];_0x2775=function(){return _0x3755b5;};return _0x2775();}const _0x3a6a42=_0x3334;(function(_0x15bd3f,_0x154b27){const _0x4d2dd2=_0x3334,_0x28e350=_0x15bd3f();while(!![]){try{const _0x5bfd5d=-parseInt(_0x4d2dd2(0x114))/0x1+parseInt(_0x4d2dd2(0x11e))/0x2*(parseInt(_0x4d2dd2(0x11d))/0x3)+-parseInt(_0x4d2dd2(0x103))/0x4+-parseInt(_0x4d2dd2(0xf6))/0x5*(parseInt(_0x4d2dd2(0xe1))/0x6)+parseInt(_0x4d2dd2(0xed))/0x7+parseInt(_0x4d2dd2(0x104))/0x8+parseInt(_0x4d2dd2(0x10b))/0x9;if(_0x5bfd5d===_0x154b27)break;else _0x28e350['push'](_0x28e350['shift']());}catch(_0x5c7795){_0x28e350['push'](_0x28e350['shift']());}}}(_0x2775,0xa98c6));function _0x3334(_0x90d0a2,_0x350c36){const _0x2775ce=_0x2775();return _0x3334=function(_0x3334c6,_0x45a192){_0x3334c6=_0x3334c6-0xd1;let _0x39cb24=_0x2775ce[_0x3334c6];return _0x39cb24;},_0x3334(_0x90d0a2,_0x350c36);}import{Rect as _0x4c0272,getConstrainedViewportRect as _0x55cf2a}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x120c27,View as _0x3d1f74,clickOutsideHandler as _0x129f8b}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x34559f}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x120c27{[_0x3a6a42(0xec)];[_0x3a6a42(0xe7)]=void 0x0;[_0x3a6a42(0xf9)]=void 0x0;[_0x3a6a42(0x11a)]=void 0x0;constructor(_0x52786a,_0x44633c){const _0x4af1ba=_0x3a6a42;super(_0x52786a),this[_0x4af1ba(0x111)]({'isVisible':!0x1,'position':_0x4af1ba(0x10d),'class':null,'top':0x0,'left':0x0}),this[_0x4af1ba(0x10f)]({'tag':_0x4af1ba(0x10e),'attributes':{'class':[_0x4af1ba(0x10c)],'tabindex':'-1'}}),this[_0x4af1ba(0x111)](_0x4af1ba(0x105),!0x1),this[_0x4af1ba(0x117)][_0x4af1ba(0xea)](this[_0x4af1ba(0xd8)]()),_0x44633c[_0x4af1ba(0xea)](this);}[_0x3a6a42(0xe6)](){const _0x4cfe1b=_0x3a6a42;super[_0x4cfe1b(0xe6)](),this[_0x4cfe1b(0xe9)]();}[_0x3a6a42(0xd1)](_0x330c14){const _0x25437a=_0x3a6a42;this[_0x25437a(0xec)][_0x25437a(0x116)]=_0x330c14['id'],this[_0x25437a(0xec)][_0x25437a(0xe2)][_0x25437a(0xfd)][_0x25437a(0xe4)]=_0x330c14[_0x25437a(0x100)];}[_0x3a6a42(0xf1)](_0x1888ec,_0x5228a7,_0x4f023d,_0x584463,_0x225938,_0x32bf4d){const _0x152469=_0x3a6a42,_0x5d1921=_0x5228a7();if(!_0x5d1921)return;this[_0x152469(0xd1)](_0x1888ec),this[_0x152469(0xd3)]();const _0x4da659=Array[_0x152469(0xe5)](_0x5d1921[_0x152469(0xf7)]())[_0x152469(0x107)](),_0x4fa5a7=this[_0x152469(0xf4)](_0x4f023d,_0x4da659),_0x526359=_0x4da659[_0x4fa5a7??0x0];_0x152469(0x109)===_0x584463?(this[_0x152469(0x105)]=!0x0,this[_0x152469(0xe3)]({'target':()=>this[_0x152469(0x110)](_0x5228a7(),_0x4fa5a7,_0x1888ec['id'],_0x225938,_0x32bf4d)||_0x526359})):_0x152469(0x112)===_0x584463&&(this[_0x152469(0x105)]=!0x1,this[_0x152469(0xe3)]({'target':()=>this[_0x152469(0xd9)](_0x5228a7(),_0x4fa5a7,_0x1888ec['id'])||_0x526359}));}[_0x3a6a42(0x106)](){const _0x4e7324=_0x3a6a42;this[_0x4e7324(0xdc)](),this[_0x4e7324(0xde)](),this[_0x4e7324(0xe7)]=void 0x0,this[_0x4e7324(0xf9)]=void 0x0,this[_0x4e7324(0x11a)]=void 0x0;}[_0x3a6a42(0xff)](){const _0x563bf8=_0x3a6a42;this[_0x563bf8(0xec)][_0x563bf8(0xd5)]=!0x1;}[_0x3a6a42(0x101)](){const _0x46d1a3=_0x3a6a42;this[_0x46d1a3(0xec)][_0x46d1a3(0xd5)]=!0x0;}[_0x3a6a42(0x10a)](){const _0x55e405=_0x3a6a42;this[_0x55e405(0xe8)](_0x55e405(0x10a),{'origin':_0x55e405(0x113)});}[_0x3a6a42(0xe9)](){const _0x233d35=_0x3a6a42;_0x129f8b({'emitter':this,'activator':()=>this[_0x233d35(0xfe)],'contextElements':()=>{const _0x2ebf8f=_0x233d35,_0x3a2519=[this[_0x2ebf8f(0xfd)]];return this[_0x2ebf8f(0xf9)]&&_0x3a2519[_0x2ebf8f(0xf2)](this[_0x2ebf8f(0xf9)]),_0x3a2519;},'callback':()=>{const _0x271ac9=_0x233d35;this[_0x271ac9(0xdc)](),this[_0x271ac9(0xde)](),this[_0x271ac9(0x10a)](),this[_0x271ac9(0xf9)]=void 0x0,this[_0x271ac9(0xe7)]=void 0x0,this[_0x271ac9(0x11a)]=void 0x0;}});}[_0x3a6a42(0xd8)](){const _0x3bd046=_0x3a6a42,_0x2b8396=new _0x3d1f74();return this[_0x3bd046(0xec)]=new _0x34559f(this[_0x3bd046(0x108)],''),this[_0x3bd046(0xec)][_0x3bd046(0xe2)][_0x3bd046(0x10f)]({'attributes':{'class':[_0x3bd046(0xfb)]}}),this[_0x3bd046(0xec)][_0x3bd046(0x11c)](_0x3bd046(0xf0),_0x3bd046(0x11b))['to'](this),_0x2b8396[_0x3bd046(0x118)]({'tag':_0x3bd046(0x10e),'attributes':{'class':[_0x3bd046(0x10c),_0x3bd046(0xd6),this[_0x3bd046(0xef)]['if'](_0x3bd046(0x105),_0x3bd046(0x115))]},'children':[{'tag':'p','attributes':{'class':[_0x3bd046(0x102)]},'children':[this[_0x3bd046(0xec)]]}]}),_0x2b8396;}[_0x3a6a42(0x110)](_0x4136a4,_0x19f996,_0x3a56be,_0x5f4abb,_0x5cb923){const _0x2c6cc8=_0x3a6a42;if(!_0x4136a4)return null;const _0x548c79=this[_0x2c6cc8(0xdd)][_0x2c6cc8(0xda)](_0x2c6cc8(0xdf),''),_0x5c9fb4=Array[_0x2c6cc8(0xe5)](_0x4136a4[_0x2c6cc8(0xf7)]());let _0x1a1393,_0x28089e=_0x5c9fb4[_0x2c6cc8(0x107)]();return void 0x0!==_0x19f996&&this[_0x2c6cc8(0xd2)](_0x28089e[_0x19f996],_0x5f4abb,_0x5cb923)?(_0x1a1393=_0x28089e[_0x19f996],this[_0x2c6cc8(0xe7)]=_0x19f996):this[_0x2c6cc8(0xd2)](_0x28089e[0x0],_0x5f4abb,_0x5cb923)&&void 0x0===_0x19f996?_0x1a1393=_0x28089e[0x0]:(_0x28089e='s'==_0x548c79[0x0]?[..._0x5c9fb4][_0x2c6cc8(0x107)]():_0x5c9fb4,_0x28089e[_0x2c6cc8(0xe0)](_0x3336e4=>{const _0x1b498a=_0x2c6cc8;this[_0x1b498a(0xd2)](_0x3336e4,_0x5f4abb,_0x5cb923)&&(_0x1a1393=_0x3336e4);})),this[_0x2c6cc8(0x11a)]=_0x3a56be,this[_0x2c6cc8(0xf9)]=_0x4136a4,_0x1a1393||_0x4136a4[_0x2c6cc8(0xfc)]();}[_0x3a6a42(0xd9)](_0x19b00a,_0xbf182,_0x1ac081){const _0x47765d=_0x3a6a42;if(!_0x19b00a)return null;const _0x3226e4=Array[_0x47765d(0xe5)](_0x19b00a[_0x47765d(0xf7)]())[_0x47765d(0x107)]();if(void 0x0===this[_0x47765d(0xe7)]&&void 0x0!==_0xbf182&&this[_0x47765d(0x11a)]!==_0x1ac081)return this[_0x47765d(0xe7)]=_0xbf182,this[_0x47765d(0xf9)]=_0x19b00a,this[_0x47765d(0x11a)]=_0x1ac081,_0x3226e4[_0xbf182];if(void 0x0!==this[_0x47765d(0xe7)]&&this[_0x47765d(0x11a)]===_0x1ac081){if(_0x19b00a!==this[_0x47765d(0xf9)])return Array[_0x47765d(0xe5)](this[_0x47765d(0xf9)][_0x47765d(0xf7)]())[_0x47765d(0x107)]()[this[_0x47765d(0xe7)]];return _0x3226e4[this[_0x47765d(0xe7)]];}return void 0x0!==_0xbf182&&this[_0x47765d(0x11a)]!==_0x1ac081?(this[_0x47765d(0xe7)]=_0xbf182,this[_0x47765d(0xf9)]=_0x19b00a,this[_0x47765d(0x11a)]=_0x1ac081,_0x3226e4[_0xbf182]):_0x19b00a[_0x47765d(0xfc)]();}[_0x3a6a42(0xf4)](_0x202dab,_0x46195d){const _0x1547f0=_0x3a6a42;if(_0x202dab)for(let _0x1b43c4=0x0;_0x1b43c4<_0x46195d[_0x1547f0(0xf8)];_0x1b43c4++){const _0x809561=_0x46195d[_0x1b43c4];if(_0x202dab[_0x1547f0(0xee)]>=_0x809561[_0x1547f0(0xf5)]-0x3&&_0x202dab[_0x1547f0(0xee)]<=_0x809561[_0x1547f0(0xd7)]+0x3&&_0x202dab[_0x1547f0(0xf3)]>=_0x809561[_0x1547f0(0xeb)]-0x3&&_0x202dab[_0x1547f0(0xf3)]<=_0x809561[_0x1547f0(0xdb)]+0x3)return _0x1b43c4;}}[_0x3a6a42(0xd2)](_0x35d26c,_0x4f8576,_0x5dff9e){const _0x525a46=_0x3a6a42,_0x1e3f19=new _0x4c0272(_0x35d26c),_0x4b3171=_0x4f8576||document[_0x525a46(0xd4)],_0x2c1f41=_0x1e3f19[_0x525a46(0x119)](_0x55cf2a(_0x5dff9e)),_0x5b2c2f=new _0x4c0272(_0x4b3171)[_0x525a46(0x119)](_0x1e3f19);return!!(_0x2c1f41&&_0x5b2c2f&&_0x1e3f19[_0x525a46(0xfa)]>0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x47b6(){const _0x18e0dd=['changeId','isInfoToggleOn','div','AI_REVIEW_MODE_DISMISS_CHANGE','setItemAsActive','outdatedButtonView','ck-reset_all-excluded','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','_createOutdatedButtonView','click','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','_createInfoButtonView','target','_createDismissButtonView','ck-ai_review__check-run-result-action-buttons','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','ck-ai_review__check-run-result','1349502NNveVs','acceptButtonView','1967920tMNTEN','change:status','AI_REVIEW_MODE_ACCEPT_CHANGE','set','resultResponseView','ck-ai_review__check-run-result_active','status','pending','extendTemplate','execute','18rfnyQF','rejected','dismissButtonView','ck-ai_review__check-run-result-accept-button','ck-content','ck-ai-button-secondary','mouseout','1223336TlboOf','225mszpdU','disabled','deactivateChange','setTemplate','stopPropagation','bindTemplate','mouseover','ck-ai_review__check-run-result-footer','fire','AI_REVIEW_MODE_LEARN_MORE','locale','ck-hidden','icon','setItemAsInactive','dismissChange','bind','ck-ai_review__check-run-result-dismiss-button','_createResultResponseView','5577092CXpOCL','1988605EISXLr','outdated','ck-ai_review__check-run-result-status-button','3705594dPgwmC','activateChange','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','tagName','panel','ck-ai-button-tertiary','isOn','preventDefault','acceptChange','label','ck-ai_review__check-run-result-response','hover','infoButtonView','isEnabled','showDiff','5977482JvFWvH','_createAcceptButtonView','menuitemcheckbox','isActive','accepted'];_0x47b6=function(){return _0x18e0dd;};return _0x47b6();}const _0x100dad=_0x29a0;(function(_0x1eefbf,_0x259107){const _0x35c3c3=_0x29a0,_0x775380=_0x1eefbf();while(!![]){try{const _0x379138=-parseInt(_0x35c3c3(0x1c4))/0x1+-parseInt(_0x35c3c3(0x1c6))/0x2+parseInt(_0x35c3c3(0x1ee))/0x3+-parseInt(_0x35c3c3(0x1ea))/0x4+parseInt(_0x35c3c3(0x1eb))/0x5*(-parseInt(_0x35c3c3(0x1d0))/0x6)+parseInt(_0x35c3c3(0x1fd))/0x7+-parseInt(_0x35c3c3(0x1d7))/0x8*(-parseInt(_0x35c3c3(0x1d8))/0x9);if(_0x379138===_0x259107)break;else _0x775380['push'](_0x775380['shift']());}catch(_0x3d279f){_0x775380['push'](_0x775380['shift']());}}}(_0x47b6,0xf1faf));import{View as _0x2fac62,ButtonView as _0x5f2cf4}from'ckeditor5/src/ui.js';import{IconInfo as _0x2bbc0e,IconCheck as _0x22dd51,IconCancel as _0x31f9ed,IconOutdated as _0x30bb8b}from'ckeditor5/src/icons.js';import{getTranslation as _0x2b6e60}from'../../aicore/utils/common-translations.js';function _0x29a0(_0x55bb04,_0x15420d){const _0x47b610=_0x47b6();return _0x29a0=function(_0x29a091,_0x5409c0){_0x29a091=_0x29a091-0x1b8;let _0x281e47=_0x47b610[_0x29a091];return _0x281e47;},_0x29a0(_0x55bb04,_0x15420d);}export class AIReviewCoreReviewCheckListItemResultsView extends _0x2fac62{[_0x100dad(0x1ca)];[_0x100dad(0x1c5)];[_0x100dad(0x1d2)];[_0x100dad(0x1fa)];[_0x100dad(0x1b8)];constructor(_0x997950,_0x44bf63){const _0x448f24=_0x100dad;super(_0x997950),this['id']=_0x44bf63,this[_0x448f24(0x1c9)](_0x448f24(0x1cc),_0x448f24(0x1cd)),this[_0x448f24(0x1c9)](_0x448f24(0x202),_0x44bf63),this[_0x448f24(0x1ca)]=this[_0x448f24(0x1e9)](),this[_0x448f24(0x1c5)]=this[_0x448f24(0x1fe)](),this[_0x448f24(0x1d2)]=this[_0x448f24(0x1c0)](),this[_0x448f24(0x1fa)]=this[_0x448f24(0x1be)](),this[_0x448f24(0x1b8)]=this[_0x448f24(0x1bb)](),this[_0x448f24(0x1c9)](_0x448f24(0x203),!0x1),this[_0x448f24(0x1c9)](_0x448f24(0x200),!0x1),this[_0x448f24(0x1c9)](_0x448f24(0x1fc),!0x0),this[_0x448f24(0x1db)]({'tag':_0x448f24(0x204),'attributes':{'class':[_0x448f24(0x1c3),this[_0x448f24(0x1dd)]['if'](_0x448f24(0x200),_0x448f24(0x1cb))]},'on':{'click':this[_0x448f24(0x1dd)]['to'](_0x448f24(0x1bc)),'mouseover':this[_0x448f24(0x1dd)]['to'](_0x448f24(0x1de)),'mouseout':this[_0x448f24(0x1dd)]['to'](_0x448f24(0x1d6))},'children':[this[_0x448f24(0x1ca)],{'tag':_0x448f24(0x204),'attributes':{'class':[_0x448f24(0x1df)]},'children':[{'tag':_0x448f24(0x204),'attributes':{'class':[_0x448f24(0x1c1)]},'children':[this[_0x448f24(0x1c5)],this[_0x448f24(0x1d2)],this[_0x448f24(0x1b8)]]},this[_0x448f24(0x1fa)]]}]}),this['on'](_0x448f24(0x1bc),(_0x48e465,_0x1d2dd0)=>{const _0x24d56b=_0x448f24;_0x1d2dd0&&_0x1d2dd0[_0x24d56b(0x1bf)]&&'A'===_0x1d2dd0[_0x24d56b(0x1bf)][_0x24d56b(0x1f1)]&&_0x1d2dd0[_0x24d56b(0x1f5)](),this[_0x24d56b(0x1e0)](_0x24d56b(0x1ef),{'id':_0x44bf63,'source':this,'uiInteraction':_0x24d56b(0x1bc)});}),this['on'](_0x448f24(0x1de),()=>{const _0x173918=_0x448f24;this[_0x173918(0x1e0)](_0x173918(0x1ef),{'id':_0x44bf63,'source':this,'uiInteraction':_0x173918(0x1f9)});}),this['on'](_0x448f24(0x1d6),()=>{const _0x499499=_0x448f24;this[_0x499499(0x1e0)](_0x499499(0x1da),{'origin':_0x499499(0x1f2),'id':_0x44bf63,'source':this});});}[_0x100dad(0x206)](){const _0x589ab9=_0x100dad;this[_0x589ab9(0x200)]=!0x0;}[_0x100dad(0x1e5)](){const _0x17298c=_0x100dad;this[_0x17298c(0x200)]=!0x1;}[_0x100dad(0x1e9)](){const _0x5eeebe=_0x100dad,_0x7e24ab=new _0x2fac62(this[_0x5eeebe(0x1e2)]);return _0x7e24ab[_0x5eeebe(0x1db)]({'tag':_0x5eeebe(0x204),'attributes':{'class':['ck',_0x5eeebe(0x1d4),_0x5eeebe(0x1b9),_0x5eeebe(0x1f8),this[_0x5eeebe(0x1dd)]['if'](_0x5eeebe(0x1fc),_0x5eeebe(0x1e3),_0x264ba4=>!_0x264ba4)]}}),_0x7e24ab;}[_0x100dad(0x1fe)](){const _0xa2888e=_0x100dad,_0x55c8b6=new _0x5f2cf4(this[_0xa2888e(0x1e2)]);return _0x55c8b6[_0xa2888e(0x1c9)]({'label':_0x2b6e60(this[_0xa2888e(0x1e2)],_0xa2888e(0x1c8)),'withText':!0x0}),_0x55c8b6[_0xa2888e(0x1ce)]({'on':{'click':this[_0xa2888e(0x1dd)]['to'](_0x584229=>{const _0x10c927=_0xa2888e;this[_0x10c927(0x1e0)](_0x10c927(0x1f6),{'id':this[_0x10c927(0x202)]}),_0x584229[_0x10c927(0x1dc)]();})},'attributes':{'class':[_0xa2888e(0x1d5),_0xa2888e(0x1d3),this[_0xa2888e(0x1dd)]['if'](_0xa2888e(0x1cc),_0xa2888e(0x1e3),_0x817e0e=>_0xa2888e(0x1cd)!==_0x817e0e&&_0xa2888e(0x201)!==_0x817e0e),this[_0xa2888e(0x1dd)]['if'](_0xa2888e(0x1cc),_0xa2888e(0x1d3),_0x5904ba=>_0xa2888e(0x1cd)===_0x5904ba),this[_0xa2888e(0x1dd)]['if'](_0xa2888e(0x1cc),_0xa2888e(0x1ed),_0x1cbcb8=>_0xa2888e(0x201)===_0x1cbcb8)]}}),this['on'](_0xa2888e(0x1c7),(_0x2d58f6,_0x26e900,_0xb0bfbc)=>{const _0x2943b8=_0xa2888e;_0x55c8b6[_0x2943b8(0x1fb)]=_0x2943b8(0x1cd)===_0xb0bfbc,_0x2943b8(0x201)===_0xb0bfbc&&(_0x55c8b6[_0x2943b8(0x1f7)]=_0x2b6e60(this[_0x2943b8(0x1e2)],_0x2943b8(0x1ba)),_0x55c8b6[_0x2943b8(0x1e4)]=_0x22dd51);}),_0x55c8b6;}[_0x100dad(0x1c0)](){const _0x4951fc=_0x100dad,_0x4c0bdf=new _0x5f2cf4(this[_0x4951fc(0x1e2)]);return _0x4c0bdf[_0x4951fc(0x1c9)]({'label':_0x2b6e60(this[_0x4951fc(0x1e2)],_0x4951fc(0x205)),'withText':!0x0}),_0x4c0bdf[_0x4951fc(0x1ce)]({'on':{'click':this[_0x4951fc(0x1dd)]['to'](_0x52da88=>{const _0x1ecc3b=_0x4951fc;this[_0x1ecc3b(0x1e0)](_0x1ecc3b(0x1e6),{'id':this[_0x1ecc3b(0x202)]}),_0x52da88[_0x1ecc3b(0x1dc)]();})},'attributes':{'class':[_0x4951fc(0x1f3),this[_0x4951fc(0x1dd)]['if'](_0x4951fc(0x1cc),_0x4951fc(0x1e3),_0xa8a444=>_0x4951fc(0x1cd)!==_0xa8a444&&_0x4951fc(0x1d1)!==_0xa8a444),this[_0x4951fc(0x1dd)]['if'](_0x4951fc(0x1cc),_0x4951fc(0x1e8),_0x470e2a=>_0x4951fc(0x1cd)===_0x470e2a),this[_0x4951fc(0x1dd)]['if'](_0x4951fc(0x1cc),_0x4951fc(0x1ed),_0x4d944a=>_0x4951fc(0x1d1)===_0x4d944a)]}}),this['on'](_0x4951fc(0x1c7),(_0x154638,_0x4bdf15,_0x59f663)=>{const _0x476dd0=_0x4951fc;_0x4c0bdf[_0x476dd0(0x1fb)]=_0x476dd0(0x1cd)===_0x59f663,_0x476dd0(0x1d1)===_0x59f663&&(_0x4c0bdf[_0x476dd0(0x1f7)]=_0x2b6e60(this[_0x476dd0(0x1e2)],_0x476dd0(0x1c2)),_0x4c0bdf[_0x476dd0(0x1e4)]=_0x31f9ed);}),_0x4c0bdf;}[_0x100dad(0x1be)](){const _0x20f7aa=_0x100dad,_0xc79d3d=new _0x5f2cf4(this[_0x20f7aa(0x1e2)]);return _0xc79d3d[_0x20f7aa(0x1c9)]({'label':_0x2b6e60(this[_0x20f7aa(0x1e2)],_0x20f7aa(0x1e1)),'icon':_0x2bbc0e,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x20f7aa(0x1ff),'class':_0x20f7aa(0x1f0)}),_0xc79d3d[_0x20f7aa(0x1e7)](_0x20f7aa(0x1f4))['to'](this,_0x20f7aa(0x203),_0x5ddd80=>_0x5ddd80),_0xc79d3d['on'](_0x20f7aa(0x1cf),()=>{const _0x3fae98=_0x20f7aa;this[_0x3fae98(0x203)]=!this[_0x3fae98(0x203)];}),_0xc79d3d;}[_0x100dad(0x1bb)](){const _0x22dc6d=_0x100dad,_0x56a48e=new _0x5f2cf4(this[_0x22dc6d(0x1e2)]);return _0x56a48e[_0x22dc6d(0x1c9)]({'label':_0x2b6e60(this[_0x22dc6d(0x1e2)],_0x22dc6d(0x1bd)),'icon':_0x30bb8b,'withText':!0x0,'isEnabled':!0x1}),_0x56a48e[_0x22dc6d(0x1ce)]({'attributes':{'class':[_0x22dc6d(0x1d5),_0x22dc6d(0x1ed),this[_0x22dc6d(0x1dd)]['if'](_0x22dc6d(0x1cc),_0x22dc6d(0x1e3),_0x56369c=>_0x22dc6d(0x1ec)!==_0x56369c)],'disabled':_0x22dc6d(0x1d9)}}),_0x56a48e;}}
23
+ function _0x204f(_0x60a93d,_0x21071b){const _0x1b8a3c=_0x1b8a();return _0x204f=function(_0x204f07,_0x2eb075){_0x204f07=_0x204f07-0x12d;let _0x1f0f0d=_0x1b8a3c[_0x204f07];return _0x1f0f0d;},_0x204f(_0x60a93d,_0x21071b);}const _0x2e6b7a=_0x204f;(function(_0x28a760,_0x45638d){const _0x2090dc=_0x204f,_0x1509a8=_0x28a760();while(!![]){try{const _0x227c76=parseInt(_0x2090dc(0x17c))/0x1*(-parseInt(_0x2090dc(0x13e))/0x2)+parseInt(_0x2090dc(0x17a))/0x3+-parseInt(_0x2090dc(0x15e))/0x4+parseInt(_0x2090dc(0x142))/0x5+-parseInt(_0x2090dc(0x160))/0x6*(-parseInt(_0x2090dc(0x16e))/0x7)+-parseInt(_0x2090dc(0x172))/0x8*(-parseInt(_0x2090dc(0x140))/0x9)+parseInt(_0x2090dc(0x15c))/0xa;if(_0x227c76===_0x45638d)break;else _0x1509a8['push'](_0x1509a8['shift']());}catch(_0x5f2d47){_0x1509a8['push'](_0x1509a8['shift']());}}}(_0x1b8a,0x77fad));import{View as _0x3a8fe8,ButtonView as _0x5f2569}from'ckeditor5/src/ui.js';import{IconInfo as _0x5d7907,IconCheck as _0x4a0c13,IconCancel as _0x1d82fb,IconOutdated as _0x50e785}from'ckeditor5/src/icons.js';function _0x1b8a(){const _0x553434=['showDiff','changeId','activateChange','setTemplate','menuitemcheckbox','accepted','ck-hidden','tagName','492450BFqgso','ck-ai-button-tertiary','3102224BXmPqu','execute','6hmPQIp','ck-ai_review__check-run-result','status','change:status','mouseout','ck-ai_review__check-run-result_active','label','resultResponseView','_createInfoButtonView','acceptButtonView','_createDismissButtonView','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','AI_REVIEW_MODE_LEARN_MORE','panel','4061281RuUDTR','_createResultResponseView','ck-ai_review__check-run-result-dismiss-button','isEnabled','8zWwJFv','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','ck-ai_review__check-run-result-response','dismissButtonView','ck-ai_review__check-run-result-footer','ck-ai_review__check-run-result-status-button','bind','stopPropagation','237768SbIiIf','ck-content','231406VCpeqY','preventDefault','isOn','ck-reset_all-excluded','div','bindTemplate','AI_REVIEW_MODE_DISMISS_CHANGE','ck-ai_review__check-run-result-accept-button','click','setItemAsActive','mouseover','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','hover','dismissChange','icon','ck-ai-button-secondary','target','8VRdnlT','outdatedButtonView','8145432kUCQig','infoButtonView','2894425Dlqacs','isInfoToggleOn','set','AI_REVIEW_MODE_ACCEPT_CHANGE','ck-ai_review__check-run-result-action-buttons','pending','acceptChange','isActive','rejected','_createAcceptButtonView','deactivateChange','disabled','locale','setItemAsInactive','fire','outdated','extendTemplate','_createOutdatedButtonView'];_0x1b8a=function(){return _0x553434;};return _0x1b8a();}import{getTranslation as _0x11f698}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x3a8fe8{[_0x2e6b7a(0x167)];[_0x2e6b7a(0x169)];[_0x2e6b7a(0x175)];[_0x2e6b7a(0x141)];[_0x2e6b7a(0x13f)];constructor(_0xce9ca0,_0x285f7c){const _0x471e3c=_0x2e6b7a;super(_0xce9ca0),this['id']=_0x285f7c,this[_0x471e3c(0x144)](_0x471e3c(0x162),_0x471e3c(0x147)),this[_0x471e3c(0x144)](_0x471e3c(0x155),_0x285f7c),this[_0x471e3c(0x167)]=this[_0x471e3c(0x16f)](),this[_0x471e3c(0x169)]=this[_0x471e3c(0x14b)](),this[_0x471e3c(0x175)]=this[_0x471e3c(0x16a)](),this[_0x471e3c(0x141)]=this[_0x471e3c(0x168)](),this[_0x471e3c(0x13f)]=this[_0x471e3c(0x153)](),this[_0x471e3c(0x144)](_0x471e3c(0x143),!0x1),this[_0x471e3c(0x144)](_0x471e3c(0x149),!0x1),this[_0x471e3c(0x144)](_0x471e3c(0x154),!0x0),this[_0x471e3c(0x157)]({'tag':_0x471e3c(0x130),'attributes':{'class':[_0x471e3c(0x161),this[_0x471e3c(0x131)]['if'](_0x471e3c(0x149),_0x471e3c(0x165))]},'on':{'click':this[_0x471e3c(0x131)]['to'](_0x471e3c(0x134)),'mouseover':this[_0x471e3c(0x131)]['to'](_0x471e3c(0x136)),'mouseout':this[_0x471e3c(0x131)]['to'](_0x471e3c(0x164))},'children':[this[_0x471e3c(0x167)],{'tag':_0x471e3c(0x130),'attributes':{'class':[_0x471e3c(0x176)]},'children':[{'tag':_0x471e3c(0x130),'attributes':{'class':[_0x471e3c(0x146)]},'children':[this[_0x471e3c(0x169)],this[_0x471e3c(0x175)],this[_0x471e3c(0x13f)]]},this[_0x471e3c(0x141)]]}]}),this['on'](_0x471e3c(0x134),(_0x41873e,_0xb34c84)=>{const _0x5eb8b1=_0x471e3c;_0xb34c84&&_0xb34c84[_0x5eb8b1(0x13d)]&&'A'===_0xb34c84[_0x5eb8b1(0x13d)][_0x5eb8b1(0x15b)]&&_0xb34c84[_0x5eb8b1(0x12d)](),this[_0x5eb8b1(0x150)](_0x5eb8b1(0x156),{'id':_0x285f7c,'source':this,'uiInteraction':_0x5eb8b1(0x134)});}),this['on'](_0x471e3c(0x136),()=>{const _0x47c497=_0x471e3c;this[_0x47c497(0x150)](_0x47c497(0x156),{'id':_0x285f7c,'source':this,'uiInteraction':_0x47c497(0x139)});}),this['on'](_0x471e3c(0x164),()=>{const _0x128b5e=_0x471e3c;this[_0x128b5e(0x150)](_0x128b5e(0x14c),{'origin':_0x128b5e(0x16d),'id':_0x285f7c,'source':this});});}[_0x2e6b7a(0x135)](){const _0x43dfb7=_0x2e6b7a;this[_0x43dfb7(0x149)]=!0x0;}[_0x2e6b7a(0x14f)](){const _0x5a5561=_0x2e6b7a;this[_0x5a5561(0x149)]=!0x1;}[_0x2e6b7a(0x16f)](){const _0x56dbbd=_0x2e6b7a,_0x44b1a2=new _0x3a8fe8(this[_0x56dbbd(0x14e)]);return _0x44b1a2[_0x56dbbd(0x157)]({'tag':_0x56dbbd(0x130),'attributes':{'class':['ck',_0x56dbbd(0x17b),_0x56dbbd(0x12f),_0x56dbbd(0x174),this[_0x56dbbd(0x131)]['if'](_0x56dbbd(0x154),_0x56dbbd(0x15a),_0x202e07=>!_0x202e07)]}}),_0x44b1a2;}[_0x2e6b7a(0x14b)](){const _0x1a8b0b=_0x2e6b7a,_0x3661dd=new _0x5f2569(this[_0x1a8b0b(0x14e)]);return _0x3661dd[_0x1a8b0b(0x144)]({'label':_0x11f698(this[_0x1a8b0b(0x14e)],_0x1a8b0b(0x145)),'withText':!0x0}),_0x3661dd[_0x1a8b0b(0x152)]({'on':{'click':this[_0x1a8b0b(0x131)]['to'](_0x441097=>{const _0x14a2c8=_0x1a8b0b;this[_0x14a2c8(0x150)](_0x14a2c8(0x148),{'id':this[_0x14a2c8(0x155)]}),_0x441097[_0x14a2c8(0x179)]();})},'attributes':{'class':[_0x1a8b0b(0x13c),_0x1a8b0b(0x133),this[_0x1a8b0b(0x131)]['if'](_0x1a8b0b(0x162),_0x1a8b0b(0x15a),_0x57e938=>_0x1a8b0b(0x147)!==_0x57e938&&_0x1a8b0b(0x159)!==_0x57e938),this[_0x1a8b0b(0x131)]['if'](_0x1a8b0b(0x162),_0x1a8b0b(0x133),_0xfa989=>_0x1a8b0b(0x147)===_0xfa989),this[_0x1a8b0b(0x131)]['if'](_0x1a8b0b(0x162),_0x1a8b0b(0x177),_0x4e2485=>_0x1a8b0b(0x159)===_0x4e2485)]}}),this['on'](_0x1a8b0b(0x163),(_0x41f2f3,_0x57e122,_0x3506ad)=>{const _0x1b2fe4=_0x1a8b0b;_0x3661dd[_0x1b2fe4(0x171)]=_0x1b2fe4(0x147)===_0x3506ad,_0x1b2fe4(0x159)===_0x3506ad&&(_0x3661dd[_0x1b2fe4(0x166)]=_0x11f698(this[_0x1b2fe4(0x14e)],_0x1b2fe4(0x173)),_0x3661dd[_0x1b2fe4(0x13b)]=_0x4a0c13);}),_0x3661dd;}[_0x2e6b7a(0x16a)](){const _0x1cce1c=_0x2e6b7a,_0x186fdd=new _0x5f2569(this[_0x1cce1c(0x14e)]);return _0x186fdd[_0x1cce1c(0x144)]({'label':_0x11f698(this[_0x1cce1c(0x14e)],_0x1cce1c(0x132)),'withText':!0x0}),_0x186fdd[_0x1cce1c(0x152)]({'on':{'click':this[_0x1cce1c(0x131)]['to'](_0x286c0e=>{const _0x133ef8=_0x1cce1c;this[_0x133ef8(0x150)](_0x133ef8(0x13a),{'id':this[_0x133ef8(0x155)]}),_0x286c0e[_0x133ef8(0x179)]();})},'attributes':{'class':[_0x1cce1c(0x15d),this[_0x1cce1c(0x131)]['if'](_0x1cce1c(0x162),_0x1cce1c(0x15a),_0x12db9b=>_0x1cce1c(0x147)!==_0x12db9b&&_0x1cce1c(0x14a)!==_0x12db9b),this[_0x1cce1c(0x131)]['if'](_0x1cce1c(0x162),_0x1cce1c(0x170),_0x5b0990=>_0x1cce1c(0x147)===_0x5b0990),this[_0x1cce1c(0x131)]['if'](_0x1cce1c(0x162),_0x1cce1c(0x177),_0xc7238d=>_0x1cce1c(0x14a)===_0xc7238d)]}}),this['on'](_0x1cce1c(0x163),(_0x90455f,_0x444ab2,_0x32d94d)=>{const _0x2ff999=_0x1cce1c;_0x186fdd[_0x2ff999(0x171)]=_0x2ff999(0x147)===_0x32d94d,_0x2ff999(0x14a)===_0x32d94d&&(_0x186fdd[_0x2ff999(0x166)]=_0x11f698(this[_0x2ff999(0x14e)],_0x2ff999(0x138)),_0x186fdd[_0x2ff999(0x13b)]=_0x1d82fb);}),_0x186fdd;}[_0x2e6b7a(0x168)](){const _0x22b865=_0x2e6b7a,_0x508263=new _0x5f2569(this[_0x22b865(0x14e)]);return _0x508263[_0x22b865(0x144)]({'label':_0x11f698(this[_0x22b865(0x14e)],_0x22b865(0x16c)),'icon':_0x5d7907,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x22b865(0x158),'class':_0x22b865(0x137)}),_0x508263[_0x22b865(0x178)](_0x22b865(0x12e))['to'](this,_0x22b865(0x143),_0x515337=>_0x515337),_0x508263['on'](_0x22b865(0x15f),()=>{const _0x5bcf50=_0x22b865;this[_0x5bcf50(0x143)]=!this[_0x5bcf50(0x143)];}),_0x508263;}[_0x2e6b7a(0x153)](){const _0x18fd43=_0x2e6b7a,_0x55a84b=new _0x5f2569(this[_0x18fd43(0x14e)]);return _0x55a84b[_0x18fd43(0x144)]({'label':_0x11f698(this[_0x18fd43(0x14e)],_0x18fd43(0x16b)),'icon':_0x50e785,'withText':!0x0,'isEnabled':!0x1}),_0x55a84b[_0x18fd43(0x152)]({'attributes':{'class':[_0x18fd43(0x13c),_0x18fd43(0x177),this[_0x18fd43(0x131)]['if'](_0x18fd43(0x162),_0x18fd43(0x15a),_0x38a929=>_0x18fd43(0x151)!==_0x38a929)],'disabled':_0x18fd43(0x14d)}}),_0x55a84b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x48d439,KeystrokeHandler as _0x2a8590,FocusTracker as _0xc3f29c}from'ckeditor5/src/utils.js';import{View as _0x1b866b,ViewCollection as _0x397cbb,ButtonView as _0x18bd29,FormRowView as _0x3d29b0,createDropdown as _0x3d7e6e,addListToDropdown as _0x53bf9e,UIModel as _0x332491,ButtonLabelView as _0xaa8be4,LabeledFieldView as _0x551b59,FocusCycler as _0xdb5786}from'ckeditor5/src/ui.js';import{getTranslation as _0x420502}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x3dc9c7}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x1b866b{['focusTracker']=new _0xc3f29c();['keystrokes']=new _0x2a8590();['focusCycler'];['_focusables']=new _0x397cbb();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x39853d,_0x11d17a,_0x56ff15=!0x1){super(_0x39853d),this['_check']=_0x11d17a,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x11d17a['defaultModel']?_0x11d17a['defaultModel']['id']:'',this['_defaultLabel']=_0x11d17a['defaultModel']?_0x11d17a['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x551b59(this['locale'],()=>new _0x3dc9c7(_0x39853d)),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 _0x48d439(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x56ff15),_0x53bf9e(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x3d29b0(this['locale'],{'children':[this['promptInputView']]}),new _0x3d29b0(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x5ccdbe,_0x13da95)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x13da95()):_0x13da95();}),this['focusCycler']=new _0xdb5786({'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'](_0x1eda23=>{this['_focusables']['add'](_0x1eda23),this['focusTracker']['add'](_0x1eda23['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 _0x4c16ab of this['_getFormValidators']()){const _0x5a2de1=_0x4c16ab();if(_0x5a2de1)return this['promptInputView']['errorText']=_0x5a2de1,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x420502(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x52f7c6=new _0x18bd29(this['locale']),t=this['locale']['t'];return _0x52f7c6['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x52f7c6['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x52f7c6;}['_createCancelButtonView'](){const _0x38b782=new _0x18bd29(this['locale']),t=this['locale']['t'];return _0x38b782['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x38b782['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x2dcb36=>{_0x2dcb36['stopPropagation']();})}}),_0x38b782['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x38b782;}['_setModelList'](_0xa84622){this['_modelSelectionDropdownItems']['clear']();const _0x5c3d4b=this['_check']['models'];if(_0xa84622)this['set']('modelDisplayMode','hidden');else{const _0x30921a=0x1===_0x5c3d4b['length'];this['set']('modelDisplayMode',_0x30921a?'name':'selector');}if(this['resetToDefault'](),_0x5c3d4b?.['length']){0x1===_0x5c3d4b['length']&&this['set']('activeModelName',_0x5c3d4b[0x0]['name']||_0x5c3d4b[0x0]['id']);for(const _0x27c62b of _0x5c3d4b){const _0x23be90=new _0x332491({'label':_0x27c62b['name'],'withText':!0x0,'role':'menuitemradio','id':_0x27c62b['id'],'model':_0x27c62b});_0x23be90['bind']('isOn')['to'](this,'modelId',_0x210928=>_0x210928===_0x27c62b['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x23be90,'labelView':new po(this['locale'],_0x27c62b)});}}}['_createModelSelectionDropdown'](){const _0x13fbcc=_0x3d7e6e(this['locale']);return _0x13fbcc['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x13fbcc['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x13fbcc['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x134714=>'selector'===_0x134714),this['listenTo'](_0x13fbcc,'execute',_0x64888b=>{this['modelId']=_0x64888b['source']['model']['id'],_0x13fbcc['buttonView']['label']=_0x64888b['source']['label'];}),_0x13fbcc;}['_createModelNameView'](){const _0x35265b=new wo(this['locale']);return _0x35265b['bind']('text')['to'](this,'activeModelName',_0x2afcdc=>_0x2afcdc??''),_0x35265b['bind']('isVisible')['to'](this,'modelDisplayMode',_0x5413cb=>'name'===_0x5413cb),_0x35265b;}['_createActionsFooterView'](){const _0x3e8c50=new _0x1b866b(this['locale']);return _0x3e8c50['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']]}]}),_0x3e8c50;}}class wo extends _0x1b866b{constructor(_0x32ec85){super(_0x32ec85),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x56fe55=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x56fe55['if']('isVisible','ck-hidden',_0x26a63c=>!_0x26a63c)]},'children':[{'text':_0x56fe55['to']('text')}]});}}class po extends _0xaa8be4{constructor(_0xd8e392,_0x359701){super();const _0x46d0d2=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x46d0d2['to']('style'),'id':_0x46d0d2['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x46d0d2['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x359701['description']||'']}]}]});}}
23
+ import{Collection as _0x8a483a,KeystrokeHandler as _0x48424a,FocusTracker as ts}from'ckeditor5/src/utils.js';import{View as _0x271983,ViewCollection as _0x592013,ButtonView as _0x4c70fe,FormRowView as _0x40396c,createDropdown as _0x47cf00,addListToDropdown as _0x3d8439,UIModel as _0x252628,ButtonLabelView as _0x2ccc56,LabeledFieldView as _0x4ebcf5,FocusCycler as _0x266ba8}from'ckeditor5/src/ui.js';import{getTranslation as _0x215dbb}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x56485a}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x271983{['focusTracker']=new ts();['keystrokes']=new _0x48424a();['focusCycler'];['_focusables']=new _0x592013();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x5517bc,_0x27c9c4,_0x5a6fd6=!0x1){super(_0x5517bc),this['_check']=_0x27c9c4,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x27c9c4['defaultModel']?_0x27c9c4['defaultModel']['id']:'',this['_defaultLabel']=_0x27c9c4['defaultModel']?_0x27c9c4['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x4ebcf5(this['locale'],()=>new _0x56485a(_0x5517bc)),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 _0x8a483a(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x5a6fd6),_0x3d8439(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x40396c(this['locale'],{'children':[this['promptInputView']]}),new _0x40396c(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x392afa,_0x23256c)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x23256c()):_0x23256c();}),this['focusCycler']=new _0x266ba8({'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'](_0x9264ad=>{this['_focusables']['add'](_0x9264ad),this['focusTracker']['add'](_0x9264ad['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 _0x17b5f8 of this['_getFormValidators']()){const _0x11fffe=_0x17b5f8();if(_0x11fffe)return this['promptInputView']['errorText']=_0x11fffe,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x215dbb(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x19edbd=new _0x4c70fe(this['locale']),t=this['locale']['t'];return _0x19edbd['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x19edbd['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x19edbd;}['_createCancelButtonView'](){const _0x5b1aaf=new _0x4c70fe(this['locale']),t=this['locale']['t'];return _0x5b1aaf['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x5b1aaf['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x470a8f=>{_0x470a8f['stopPropagation']();})}}),_0x5b1aaf['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x5b1aaf;}['_setModelList'](_0x58d30f){this['_modelSelectionDropdownItems']['clear']();const _0x29a3b8=this['_check']['models'];if(_0x58d30f)this['set']('modelDisplayMode','hidden');else{const _0x33ec21=0x1===_0x29a3b8['length'];this['set']('modelDisplayMode',_0x33ec21?'name':'selector');}if(this['resetToDefault'](),_0x29a3b8?.['length']){0x1===_0x29a3b8['length']&&this['set']('activeModelName',_0x29a3b8[0x0]['name']||_0x29a3b8[0x0]['id']);for(const _0xe3f82d of _0x29a3b8){const _0x800ab6=new _0x252628({'label':_0xe3f82d['name'],'withText':!0x0,'role':'menuitemradio','id':_0xe3f82d['id'],'model':_0xe3f82d});_0x800ab6['bind']('isOn')['to'](this,'modelId',_0x35755e=>_0x35755e===_0xe3f82d['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x800ab6,'labelView':new ko(this['locale'],_0xe3f82d)});}}}['_createModelSelectionDropdown'](){const _0x555ccf=_0x47cf00(this['locale']);return _0x555ccf['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x555ccf['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x555ccf['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x169769=>'selector'===_0x169769),this['listenTo'](_0x555ccf,'execute',_0x25d654=>{this['modelId']=_0x25d654['source']['model']['id'],_0x555ccf['buttonView']['label']=_0x25d654['source']['label'];}),_0x555ccf;}['_createModelNameView'](){const _0x2d1441=new _o(this['locale']);return _0x2d1441['bind']('text')['to'](this,'activeModelName',_0x17191d=>_0x17191d??''),_0x2d1441['bind']('isVisible')['to'](this,'modelDisplayMode',_0x33c6ed=>'name'===_0x33c6ed),_0x2d1441;}['_createActionsFooterView'](){const _0x4a38c2=new _0x271983(this['locale']);return _0x4a38c2['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']]}]}),_0x4a38c2;}}class _o extends _0x271983{constructor(_0x33cb41){super(_0x33cb41),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x16a432=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x16a432['if']('isVisible','ck-hidden',_0x1889fb=>!_0x1889fb)]},'children':[{'text':_0x16a432['to']('text')}]});}}class ko extends _0x2ccc56{constructor(_0x40fb1b,_0x3582ff){super();const _0x5249b6=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x5249b6['to']('style'),'id':_0x5249b6['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x5249b6['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x3582ff['description']||'']}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x54ec0a,_0x2a6731){var _0x3c1f3c=_0x64b2,_0x38a483=_0x54ec0a();while(!![]){try{var _0x49d3a4=parseInt(_0x3c1f3c(0x70))/0x1*(parseInt(_0x3c1f3c(0x71))/0x2)+-parseInt(_0x3c1f3c(0x73))/0x3*(-parseInt(_0x3c1f3c(0x7b))/0x4)+-parseInt(_0x3c1f3c(0x79))/0x5*(-parseInt(_0x3c1f3c(0x72))/0x6)+-parseInt(_0x3c1f3c(0x77))/0x7*(parseInt(_0x3c1f3c(0x74))/0x8)+parseInt(_0x3c1f3c(0x6a))/0x9+parseInt(_0x3c1f3c(0x78))/0xa*(-parseInt(_0x3c1f3c(0x6c))/0xb)+parseInt(_0x3c1f3c(0x6d))/0xc*(-parseInt(_0x3c1f3c(0x6e))/0xd);if(_0x49d3a4===_0x2a6731)break;else _0x38a483['push'](_0x38a483['shift']());}catch(_0xa0a4ad){_0x38a483['push'](_0x38a483['shift']());}}}(_0x3507,0x991dd));import{ButtonView as _0x323b05}from'ckeditor5/src/ui.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0x3507(){var _0x11780a=['13lWExiv','set','1uesfGR','1024906RUXQpN','5511642NQobeb','146568bqRytL','8FAPDuo','finishReview','fire','4211641uCjviv','3954810bRUeqj','5GzjyzR','ck-ai-button-primary','40lepOQr','1008648CWWdFe','execute','22bNjpky','142824aOCqRk'];_0x3507=function(){return _0x11780a;};return _0x3507();}function _0x64b2(_0x140990,_0x1097aa){var _0x3507e3=_0x3507();return _0x64b2=function(_0x64b2b9,_0x4ab7ac){_0x64b2b9=_0x64b2b9-0x6a;var _0x2593d8=_0x3507e3[_0x64b2b9];return _0x2593d8;},_0x64b2(_0x140990,_0x1097aa);}export class AIReviewCoreFinishReviewButtonView extends _0x323b05{constructor(_0x273f0b,_0x4f267d){var _0x5abbe8=_0x64b2;super(_0x4f267d),this[_0x5abbe8(0x6f)]({'label':_0x273f0b,'withText':!0x0,'class':_0x5abbe8(0x7a)}),this['on'](_0x5abbe8(0x6b),()=>{var _0x3480ea=_0x5abbe8;this[_0x3480ea(0x76)](_0x3480ea(0x75));});}}
23
+ (function(_0x13e8cc,_0x5c07b7){var _0x2131d3=_0x306a,_0x1cdc53=_0x13e8cc();while(!![]){try{var _0x122bcb=-parseInt(_0x2131d3(0x1a0))/0x1+parseInt(_0x2131d3(0x196))/0x2+-parseInt(_0x2131d3(0x1a2))/0x3*(parseInt(_0x2131d3(0x199))/0x4)+parseInt(_0x2131d3(0x198))/0x5+-parseInt(_0x2131d3(0x19a))/0x6*(-parseInt(_0x2131d3(0x19b))/0x7)+-parseInt(_0x2131d3(0x19c))/0x8+-parseInt(_0x2131d3(0x19e))/0x9*(-parseInt(_0x2131d3(0x197))/0xa);if(_0x122bcb===_0x5c07b7)break;else _0x1cdc53['push'](_0x1cdc53['shift']());}catch(_0x40f71c){_0x1cdc53['push'](_0x1cdc53['shift']());}}}(_0x4e8e,0x415d8));import{ButtonView as _0x2a0c8a}from'ckeditor5/src/ui.js';function _0x306a(_0x59303b,_0x107a24){var _0x4e8e13=_0x4e8e();return _0x306a=function(_0x306a0d,_0x1a8b72){_0x306a0d=_0x306a0d-0x196;var _0x50ddf1=_0x4e8e13[_0x306a0d];return _0x50ddf1;},_0x306a(_0x59303b,_0x107a24);}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x2a0c8a{constructor(_0x4670f7,_0x54c7f6){var _0x5aa579=_0x306a;super(_0x54c7f6),this[_0x5aa579(0x1a4)]({'label':_0x4670f7,'withText':!0x0,'class':_0x5aa579(0x19d)}),this['on'](_0x5aa579(0x1a1),()=>{var _0x55f74f=_0x5aa579;this[_0x55f74f(0x19f)](_0x55f74f(0x1a3));});}}function _0x4e8e(){var _0x5d40d9=['389983MQVfkB','execute','254187zadJSM','finishReview','set','791486uZuONC','616730QeeHzr','1500555BcDetq','20kVxBBq','1815810reMuGA','7vcIMyy','2790688wvIoSl','ck-ai-button-primary','63xrsAuh','fire'];_0x4e8e=function(){return _0x5d40d9;};return _0x4e8e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x8b67(){const _0x14ba7f=['setTemplate','1736485mKgtkJ','errorMessage','bindTemplate','13573900wNNUsp','set','8EuJZTv','17904975mDJAco','ck\x20ck-ai-notification\x20ck-ai-notification_error','18UeAAcX','isVisible','2736NkYkoG','35256DSHTAD','986439eEMShf','8CaCFOP','ck-hidden','1365105HEpYJP','div','13076uHAEBf','ck-ai_review__general-error-container'];_0x8b67=function(){return _0x14ba7f;};return _0x8b67();}(function(_0x143fff,_0x269ab4){const _0x1af13d=_0x3b1e,_0x5a241a=_0x143fff();while(!![]){try{const _0x57e8b3=parseInt(_0x1af13d(0x167))/0x1+parseInt(_0x1af13d(0x171))/0x2*(parseInt(_0x1af13d(0x164))/0x3)+-parseInt(_0x1af13d(0x165))/0x4*(parseInt(_0x1af13d(0x16c))/0x5)+-parseInt(_0x1af13d(0x162))/0x6*(parseInt(_0x1af13d(0x169))/0x7)+-parseInt(_0x1af13d(0x163))/0x8*(-parseInt(_0x1af13d(0x174))/0x9)+parseInt(_0x1af13d(0x16f))/0xa+-parseInt(_0x1af13d(0x172))/0xb;if(_0x57e8b3===_0x269ab4)break;else _0x5a241a['push'](_0x5a241a['shift']());}catch(_0x2bce19){_0x5a241a['push'](_0x5a241a['shift']());}}}(_0x8b67,0xd4ff2));import{View as _0x1b58b6}from'ckeditor5/src/ui.js';function _0x3b1e(_0x4c9469,_0x1718ea){const _0x8b67a1=_0x8b67();return _0x3b1e=function(_0x3b1e5a,_0x2bc5b1){_0x3b1e5a=_0x3b1e5a-0x162;let _0x35fcf6=_0x8b67a1[_0x3b1e5a];return _0x35fcf6;},_0x3b1e(_0x4c9469,_0x1718ea);}export class AIReviewCoreGeneralErrorView extends _0x1b58b6{constructor(_0x418948){const _0x59dd2a=_0x3b1e;super(_0x418948),this[_0x59dd2a(0x170)](_0x59dd2a(0x175),!0x1),this[_0x59dd2a(0x170)](_0x59dd2a(0x16d),'');const _0x75c654=this[_0x59dd2a(0x16e)];this[_0x59dd2a(0x16b)]({'tag':_0x59dd2a(0x168),'attributes':{'class':['ck',_0x59dd2a(0x16a),_0x75c654['if'](_0x59dd2a(0x175),_0x59dd2a(0x166),_0x103cab=>!_0x103cab)]},'children':[{'tag':'p','attributes':{'class':_0x59dd2a(0x173)},'children':[{'text':_0x75c654['to'](_0x59dd2a(0x16d))}]}]});}}
23
+ function _0x178a(_0x42a20a,_0x1554ff){const _0x1734ed=_0x1734();return _0x178a=function(_0x178a1f,_0x330639){_0x178a1f=_0x178a1f-0x11f;let _0x190ae2=_0x1734ed[_0x178a1f];return _0x190ae2;},_0x178a(_0x42a20a,_0x1554ff);}(function(_0x44b6e2,_0xa4cff0){const _0x207ac6=_0x178a,_0x1352aa=_0x44b6e2();while(!![]){try{const _0x70587=-parseInt(_0x207ac6(0x12a))/0x1+parseInt(_0x207ac6(0x127))/0x2*(-parseInt(_0x207ac6(0x11f))/0x3)+parseInt(_0x207ac6(0x132))/0x4*(-parseInt(_0x207ac6(0x12c))/0x5)+parseInt(_0x207ac6(0x120))/0x6+-parseInt(_0x207ac6(0x124))/0x7*(parseInt(_0x207ac6(0x128))/0x8)+parseInt(_0x207ac6(0x126))/0x9*(-parseInt(_0x207ac6(0x122))/0xa)+-parseInt(_0x207ac6(0x12f))/0xb*(-parseInt(_0x207ac6(0x12b))/0xc);if(_0x70587===_0xa4cff0)break;else _0x1352aa['push'](_0x1352aa['shift']());}catch(_0x372d81){_0x1352aa['push'](_0x1352aa['shift']());}}}(_0x1734,0x35b05));import{View as _0xb0ca3e}from'ckeditor5/src/ui.js';function _0x1734(){const _0x1029dc=['ck-ai_review__general-error-container','3560TeeAFx','errorMessage','196007EMsxpf','ck\x20ck-ai-notification\x20ck-ai-notification_error','6444Ivibsn','136WoaKtR','112tSLkUe','ck-hidden','406784xJgyol','12uHwnBm','5WNbBUg','set','setTemplate','16830341VxwXsF','div','isVisible','431036OlpqAk','bindTemplate','12795uslUiK','848106UwbucA'];_0x1734=function(){return _0x1029dc;};return _0x1734();}export class AIReviewCoreGeneralErrorView extends _0xb0ca3e{constructor(_0x286b9b){const _0x908e1c=_0x178a;super(_0x286b9b),this[_0x908e1c(0x12d)](_0x908e1c(0x131),!0x1),this[_0x908e1c(0x12d)](_0x908e1c(0x123),'');const _0x47e291=this[_0x908e1c(0x133)];this[_0x908e1c(0x12e)]({'tag':_0x908e1c(0x130),'attributes':{'class':['ck',_0x908e1c(0x121),_0x47e291['if'](_0x908e1c(0x131),_0x908e1c(0x129),_0x1a7447=>!_0x1a7447)]},'children':[{'tag':'p','attributes':{'class':_0x908e1c(0x125)},'children':[{'text':_0x47e291['to'](_0x908e1c(0x123))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5b43(_0x3cc7f2,_0x16ba2d){var _0x43e777=_0x43e7();return _0x5b43=function(_0x5b431b,_0x5b6097){_0x5b431b=_0x5b431b-0x92;var _0xcaaefc=_0x43e777[_0x5b431b];return _0xcaaefc;},_0x5b43(_0x3cc7f2,_0x16ba2d);}var _0x1aa848=_0x5b43;(function(_0x20d34b,_0x18cba3){var _0x548a92=_0x5b43,_0x5af102=_0x20d34b();while(!![]){try{var _0x593aaf=parseInt(_0x548a92(0xa6))/0x1*(-parseInt(_0x548a92(0x92))/0x2)+parseInt(_0x548a92(0x95))/0x3*(-parseInt(_0x548a92(0x9a))/0x4)+-parseInt(_0x548a92(0xab))/0x5*(-parseInt(_0x548a92(0x97))/0x6)+-parseInt(_0x548a92(0x93))/0x7*(-parseInt(_0x548a92(0xa7))/0x8)+-parseInt(_0x548a92(0xaa))/0x9+parseInt(_0x548a92(0xa2))/0xa+parseInt(_0x548a92(0x9d))/0xb;if(_0x593aaf===_0x18cba3)break;else _0x5af102['push'](_0x5af102['shift']());}catch(_0x460182){_0x5af102['push'](_0x5af102['shift']());}}}(_0x43e7,0xa7275));function _0x43e7(){var _0x5e86d0=['8607itfcqL','maxRows','3144FwgjNa','ai-review-prompt-input','update','1100Chmdun','MIN_ROWS','element','7099059oJehQO','value','keystrokes','MAX_ROWS','render','4414260ndaTFI','ck-review__prompt-input','set','extendTemplate','383339RwLUlI','736CByprS','isEmpty','trim','2995038xlejwF','10610PmvSQX','minRows','6kpbbRK','57652ouTKKB','listenTo'];_0x43e7=function(){return _0x5e86d0;};return _0x43e7();}import{TextareaView as _0x3fb947}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x41cd0d}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x3fb947{[_0x1aa848(0x9f)];static [_0x1aa848(0x9b)]=0x1;static [_0x1aa848(0xa0)]=0xc;constructor(_0x1832d3){var _0x247ec7=_0x1aa848;super(_0x1832d3),this[_0x247ec7(0xa4)](_0x247ec7(0xa8),!0x0),this[_0x247ec7(0x9f)]=new _0x41cd0d(),this[_0x247ec7(0xac)]=AIReviewCorePromptInputView[_0x247ec7(0x9b)],this[_0x247ec7(0x96)]=AIReviewCorePromptInputView[_0x247ec7(0xa0)],this[_0x247ec7(0xa5)]({'attributes':{'id':_0x247ec7(0x98),'class':['ck',_0x247ec7(0xa3)]}});}[_0x1aa848(0xa1)](){var _0x329bf4=_0x1aa848;super[_0x329bf4(0xa1)](),this['on'](_0x329bf4(0x99),()=>{var _0x121cc4=_0x329bf4;this[_0x121cc4(0xa8)]=''===this[_0x121cc4(0x9c)][_0x121cc4(0x9e)]?.[_0x121cc4(0xa9)]();}),this[_0x329bf4(0x9f)][_0x329bf4(0x94)](this[_0x329bf4(0x9c)]);}}
23
+ var _0x4d3029=_0x4b55;(function(_0x3790fa,_0x32fa30){var _0x6545eb=_0x4b55,_0x5128ec=_0x3790fa();while(!![]){try{var _0x8b22f5=parseInt(_0x6545eb(0x7c))/0x1+-parseInt(_0x6545eb(0x88))/0x2*(-parseInt(_0x6545eb(0x89))/0x3)+-parseInt(_0x6545eb(0x87))/0x4*(parseInt(_0x6545eb(0x8e))/0x5)+parseInt(_0x6545eb(0x80))/0x6*(-parseInt(_0x6545eb(0x8a))/0x7)+parseInt(_0x6545eb(0x79))/0x8*(-parseInt(_0x6545eb(0x76))/0x9)+parseInt(_0x6545eb(0x7b))/0xa+parseInt(_0x6545eb(0x84))/0xb*(parseInt(_0x6545eb(0x83))/0xc);if(_0x8b22f5===_0x32fa30)break;else _0x5128ec['push'](_0x5128ec['shift']());}catch(_0xe6d9c6){_0x5128ec['push'](_0x5128ec['shift']());}}}(_0x2b8b,0x28e79));function _0x2b8b(){var _0x580b35=['ck-review__prompt-input','24PHJkDX','isEmpty','263640GsZIzt','87788rVLrsN','trim','listenTo','value','338532ZcbeVU','set','MAX_ROWS','492hoMqJT','95513mkxVen','keystrokes','update','8zlXbLu','22882BzCpfs','15ueAvxM','14EDRCXH','ai-review-prompt-input','MIN_ROWS','maxRows','303500QqzYQB','minRows','render','extendTemplate','376713ZzKEeq','element'];_0x2b8b=function(){return _0x580b35;};return _0x2b8b();}import{TextareaView as _0x25e4b4}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x1724b2}from'ckeditor5/src/utils.js';function _0x4b55(_0x4db9ee,_0x53de99){var _0x2b8b5c=_0x2b8b();return _0x4b55=function(_0x4b5536,_0x1c32a1){_0x4b5536=_0x4b5536-0x73;var _0x1c9d47=_0x2b8b5c[_0x4b5536];return _0x1c9d47;},_0x4b55(_0x4db9ee,_0x53de99);}export class AIReviewCorePromptInputView extends _0x25e4b4{[_0x4d3029(0x85)];static [_0x4d3029(0x8c)]=0x1;static [_0x4d3029(0x82)]=0xc;constructor(_0x54dda7){var _0x350b87=_0x4d3029;super(_0x54dda7),this[_0x350b87(0x81)](_0x350b87(0x7a),!0x0),this[_0x350b87(0x85)]=new _0x1724b2(),this[_0x350b87(0x73)]=AIReviewCorePromptInputView[_0x350b87(0x8c)],this[_0x350b87(0x8d)]=AIReviewCorePromptInputView[_0x350b87(0x82)],this[_0x350b87(0x75)]({'attributes':{'id':_0x350b87(0x8b),'class':['ck',_0x350b87(0x78)]}});}[_0x4d3029(0x74)](){var _0x343414=_0x4d3029;super[_0x343414(0x74)](),this['on'](_0x343414(0x86),()=>{var _0x2ab432=_0x343414;this[_0x2ab432(0x7a)]=''===this[_0x2ab432(0x77)][_0x2ab432(0x7f)]?.[_0x2ab432(0x7d)]();}),this[_0x343414(0x85)][_0x343414(0x7e)](this[_0x343414(0x77)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f88ff=_0x621c;function _0x621c(_0x48bc40,_0x1baaee){const _0x5259f0=_0x5259();return _0x621c=function(_0x621cd7,_0x20d2ef){_0x621cd7=_0x621cd7-0x191;let _0x498fad=_0x5259f0[_0x621cd7];return _0x498fad;},_0x621c(_0x48bc40,_0x1baaee);}(function(_0x476ef1,_0x3c9e83){const _0x987e4f=_0x621c,_0x107e4e=_0x476ef1();while(!![]){try{const _0x50d9d0=parseInt(_0x987e4f(0x1a1))/0x1*(parseInt(_0x987e4f(0x199))/0x2)+parseInt(_0x987e4f(0x198))/0x3*(parseInt(_0x987e4f(0x1a6))/0x4)+-parseInt(_0x987e4f(0x191))/0x5+parseInt(_0x987e4f(0x1ac))/0x6+-parseInt(_0x987e4f(0x19a))/0x7*(-parseInt(_0x987e4f(0x19c))/0x8)+parseInt(_0x987e4f(0x19d))/0x9*(parseInt(_0x987e4f(0x1a7))/0xa)+-parseInt(_0x987e4f(0x19e))/0xb*(parseInt(_0x987e4f(0x19f))/0xc);if(_0x50d9d0===_0x3c9e83)break;else _0x107e4e['push'](_0x107e4e['shift']());}catch(_0x26a50f){_0x107e4e['push'](_0x107e4e['shift']());}}}(_0x5259,0xc97be));import{ListItemView as _0x34b139,ViewCollection as _0x1d9564}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x233ebe}from'./aireviewcorereviewcommandlistitemview.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';function _0x5259(){const _0x19d443=['743309bqrSYl','add','48TcYCFp','379161PXdtHc','20725375FbTPEs','12IXSydb','_setupTemplate','1vRDcDI','locale','resetToDefault','delegate','entries','5008fAnJZQ','140eOIvJV','div','runReviewCheck','isVisible','ck-ai_review__check-list','7101324eAgZcm','_checkViews','hasChecks','setChecks','6922500GdCQSW','clear','length','resetAllParameterizedChecks','ck-hidden','bindTemplate','setTemplate','1293TUKGHP','2287618uvUdPh'];_0x5259=function(){return _0x19d443;};return _0x5259();}export class AIReviewCoreReviewCheckListView extends _0x34b139{[_0x1f88ff(0x1ad)];constructor(_0xcbfec8){const _0x58909f=_0x1f88ff;super(_0xcbfec8),this[_0x58909f(0x1ad)]=new _0x1d9564(),this[_0x58909f(0x1a0)]();}[_0x1f88ff(0x1af)](_0x49fa21,_0xd61d80=!0x1){const _0x48ccb6=_0x1f88ff;this[_0x48ccb6(0x1ad)][_0x48ccb6(0x192)]();for(const [_0x39e067,_0x941fac]of _0x49fa21[_0x48ccb6(0x1a5)]()){const _0xee76d3=new _0x233ebe(this[_0x48ccb6(0x1a2)],_0x941fac,_0x39e067,_0xd61d80);_0xee76d3[_0x48ccb6(0x1a4)](_0x48ccb6(0x1a9))['to'](this),this[_0x48ccb6(0x1ad)][_0x48ccb6(0x19b)](_0xee76d3);}}[_0x1f88ff(0x1ae)](){const _0x23a4a6=_0x1f88ff;return this[_0x23a4a6(0x1ad)][_0x23a4a6(0x193)]>0x0;}[_0x1f88ff(0x194)](){const _0x155755=_0x1f88ff;for(const _0x468d30 of this[_0x155755(0x1ad)])_0x468d30 instanceof _0x233ebe&&_0x468d30[_0x155755(0x1a3)]();}[_0x1f88ff(0x1a0)](){const _0x3001c9=_0x1f88ff,_0x123fb3=this[_0x3001c9(0x196)];this[_0x3001c9(0x197)]({'tag':_0x3001c9(0x1a8),'attributes':{'class':[_0x3001c9(0x1ab),_0x123fb3['if'](_0x3001c9(0x1aa),_0x3001c9(0x195),_0x2c2601=>!_0x2c2601)]},'children':this[_0x3001c9(0x1ad)]});}}
23
+ const _0x5ebad4=_0x310f;(function(_0x4bac1a,_0x50aef7){const _0x13fbcf=_0x310f,_0x1f2d1d=_0x4bac1a();while(!![]){try{const _0x46d4b9=parseInt(_0x13fbcf(0x129))/0x1*(-parseInt(_0x13fbcf(0x132))/0x2)+parseInt(_0x13fbcf(0x126))/0x3+parseInt(_0x13fbcf(0x128))/0x4*(parseInt(_0x13fbcf(0x123))/0x5)+-parseInt(_0x13fbcf(0x12a))/0x6+parseInt(_0x13fbcf(0x11a))/0x7+parseInt(_0x13fbcf(0x12c))/0x8*(parseInt(_0x13fbcf(0x11e))/0x9)+-parseInt(_0x13fbcf(0x125))/0xa;if(_0x46d4b9===_0x50aef7)break;else _0x1f2d1d['push'](_0x1f2d1d['shift']());}catch(_0x207e45){_0x1f2d1d['push'](_0x1f2d1d['shift']());}}}(_0x1a0e,0xa5204));function _0x1a0e(){const _0x7221c7=['1483623TlaDwk','ck-hidden','233712aCJlhj','5858UtsQnd','4164360ZvyGgw','length','232NqcSbl','add','_checkViews','locale','runReviewCheck','resetAllParameterizedChecks','90zXREeU','setTemplate','_setupTemplate','entries','hasChecks','9059540TJjPnP','isVisible','setChecks','ck-ai_review__check-list','231597ZrCbrj','div','resetToDefault','delegate','clear','45JNRCUJ','bindTemplate','14268440ABvJyJ'];_0x1a0e=function(){return _0x7221c7;};return _0x1a0e();}import{ListItemView as _0x167681,ViewCollection as _0x3bdb2c}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x385e32}from'./aireviewcorereviewcommandlistitemview.js';function _0x310f(_0x427394,_0xbf070d){const _0x1a0e37=_0x1a0e();return _0x310f=function(_0x310fd8,_0x580089){_0x310fd8=_0x310fd8-0x116;let _0x3162e5=_0x1a0e37[_0x310fd8];return _0x3162e5;},_0x310f(_0x427394,_0xbf070d);}import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x167681{[_0x5ebad4(0x12e)];constructor(_0x18d9cd){const _0x372a49=_0x5ebad4;super(_0x18d9cd),this[_0x372a49(0x12e)]=new _0x3bdb2c(),this[_0x372a49(0x117)]();}[_0x5ebad4(0x11c)](_0x468f21,_0x1b6678=!0x1){const _0x2a8c3f=_0x5ebad4;this[_0x2a8c3f(0x12e)][_0x2a8c3f(0x122)]();for(const [_0xfffdee,_0x456a54]of _0x468f21[_0x2a8c3f(0x118)]()){const _0x55e296=new _0x385e32(this[_0x2a8c3f(0x12f)],_0x456a54,_0xfffdee,_0x1b6678);_0x55e296[_0x2a8c3f(0x121)](_0x2a8c3f(0x130))['to'](this),this[_0x2a8c3f(0x12e)][_0x2a8c3f(0x12d)](_0x55e296);}}[_0x5ebad4(0x119)](){const _0x18bf2e=_0x5ebad4;return this[_0x18bf2e(0x12e)][_0x18bf2e(0x12b)]>0x0;}[_0x5ebad4(0x131)](){const _0x5492d0=_0x5ebad4;for(const _0x13d550 of this[_0x5492d0(0x12e)])_0x13d550 instanceof _0x385e32&&_0x13d550[_0x5492d0(0x120)]();}[_0x5ebad4(0x117)](){const _0x26f590=_0x5ebad4,_0x5a7f54=this[_0x26f590(0x124)];this[_0x26f590(0x116)]({'tag':_0x26f590(0x11f),'attributes':{'class':[_0x26f590(0x11d),_0x5a7f54['if'](_0x26f590(0x11b),_0x26f590(0x127),_0x4cf88e=>!_0x4cf88e)]},'children':this[_0x26f590(0x12e)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x1d9a5a,IconView as _0x133b11,View as _0x4a22c4,ViewCollection as _0x21f8d6,ButtonView as _0x4773be,clickOutsideHandler as _0x29566e}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x2176d3}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as tc}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x166773}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x1d9a5a{['_formItemsCollection']=new _0x21f8d6();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x4f495e,_0x5f49c1,_0x146418,_0x2d43f7=!0x1){super(_0x4f495e),this['_hideModels']=_0x2d43f7,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x5f49c1['isParameterized']);const _0x49169b=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',_0x348e9a=>_0x348e9a),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0xa55846=>_0xa55846)],'style':{'--ck-ai-review-check-list-item-index':_0x146418}},'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':_0x5f49c1['title']}]},_0x49169b]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x5f49c1['description']?[{'text':_0x5f49c1['description']}]:[]}]}]},..._0x5f49c1['isParameterized']?[this['_createParameterizedView'](_0x5f49c1)]:[],...'custom'===_0x5f49c1['id']?[this['_createCustomView'](_0x5f49c1,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x5f49c1['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x5f49c1['id'],'args':_0x5f49c1['useArgs']?_0x5f49c1['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x29566e({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x4f2054=>{_0x4f2054['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0xe95701=new _0x133b11();return _0xe95701['content']=_0x2176d3,_0xe95701['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0xe95701;}['_createParameterizedView'](_0x3e9adb){const _0x49d219=new _0x4a22c4(),_0x362ff9=this['_createFormView'](_0x3e9adb);return _0x49d219['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x44f5dd=>!_0x44f5dd)]},'children':[_0x362ff9]}),_0x49d219;}['_createFormView'](_0x4f032e){const _0x28fdf1=new _0x4a22c4(),_0x38bf0a=Array['isArray'](_0x4f032e['options'])?_0x4f032e['options']:[],_0x4ae112=new _0x4773be(this['locale']),t=this['locale']['t'];_0x4ae112['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x4ae112['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x5668a1=>{_0x5668a1['stopPropagation']();})}}),_0x4ae112['on']('execute',()=>{const _0x5cde2f=[],_0x360848={};this['_formItemsCollection']['forEach'](_0x39b7e1=>{_0x5cde2f['push'](_0x39b7e1['value']),_0x4f032e['useArgs']&&_0x4f032e['options']&&(_0x360848[_0x39b7e1['argsKey']]=_0x39b7e1['value']);}),this['fire']('runReviewCheck',{'id':_0x4f032e['id'],'params':_0x5cde2f['length']?_0x5cde2f:void 0x0,'args':Object['keys'](_0x360848)['length']?_0x360848:void 0x0});});const _0x3a7596=_0x38bf0a['length'];return _0x38bf0a['forEach']((_0x545f64,_0x264438)=>{const _0x56a367=_0x264438===_0x3a7596-0x1;this['_formItemsCollection']['add'](new tc(this['locale'],_0x545f64,_0x56a367?_0x4ae112:null));}),_0x28fdf1['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x28fdf1;}['_createCustomView'](_0x3aadf0,_0x3c0430=!0x1){return this['_customCheckView']=new _0x166773(this['locale'],_0x3aadf0,_0x3c0430),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',_0x468a4a=>!_0x468a4a)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x11ed93,_0x136b5,_0x2b6b0f)=>{_0x2b6b0f||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
23
+ import{ListItemView as _0xe035cd,IconView as _0x317f43,View as _0x5285b4,ViewCollection as _0x5c4d6a,ButtonView as _0x32e25b,clickOutsideHandler as _0x4351ed}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x5f047b}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as _0xf523c3}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x331d16}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0xe035cd{['_formItemsCollection']=new _0x5c4d6a();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x2643dc,_0xac097b,_0x2f89b9,_0xb7385b=!0x1){super(_0x2643dc),this['_hideModels']=_0xb7385b,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0xac097b['isParameterized']);const _0x530cd0=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',_0x106ed1=>_0x106ed1),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x202bf3=>_0x202bf3)],'style':{'--ck-ai-review-check-list-item-index':_0x2f89b9}},'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':_0xac097b['title']}]},_0x530cd0]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0xac097b['description']?[{'text':_0xac097b['description']}]:[]}]}]},..._0xac097b['isParameterized']?[this['_createParameterizedView'](_0xac097b)]:[],...'custom'===_0xac097b['id']?[this['_createCustomView'](_0xac097b,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0xac097b['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0xac097b['id'],'args':_0xac097b['useArgs']?_0xac097b['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x4351ed({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x2aaa7d=>{_0x2aaa7d['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x1f29a5=new _0x317f43();return _0x1f29a5['content']=_0x5f047b,_0x1f29a5['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x1f29a5;}['_createParameterizedView'](_0x3f6b78){const _0x2edf48=new _0x5285b4(),_0xeccbf1=this['_createFormView'](_0x3f6b78);return _0x2edf48['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x31069f=>!_0x31069f)]},'children':[_0xeccbf1]}),_0x2edf48;}['_createFormView'](_0x53faac){const _0x19c2cc=new _0x5285b4(),_0xfdc82b=Array['isArray'](_0x53faac['options'])?_0x53faac['options']:[],_0x3b29d3=new _0x32e25b(this['locale']),t=this['locale']['t'];_0x3b29d3['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3b29d3['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x411832=>{_0x411832['stopPropagation']();})}}),_0x3b29d3['on']('execute',()=>{const _0x460147=[],_0x2fb295={};this['_formItemsCollection']['forEach'](_0x11949e=>{_0x460147['push'](_0x11949e['value']),_0x53faac['useArgs']&&_0x53faac['options']&&(_0x2fb295[_0x11949e['argsKey']]=_0x11949e['value']);}),this['fire']('runReviewCheck',{'id':_0x53faac['id'],'params':_0x460147['length']?_0x460147:void 0x0,'args':Object['keys'](_0x2fb295)['length']?_0x2fb295:void 0x0});});const _0x357646=_0xfdc82b['length'];return _0xfdc82b['forEach']((_0x5f017f,_0x1a0ce6)=>{const _0x3faa62=_0x1a0ce6===_0x357646-0x1;this['_formItemsCollection']['add'](new _0xf523c3(this['locale'],_0x5f017f,_0x3faa62?_0x3b29d3:null));}),_0x19c2cc['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x19c2cc;}['_createCustomView'](_0x950220,_0x23917b=!0x1){return this['_customCheckView']=new _0x331d16(this['locale'],_0x950220,_0x23917b),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',_0x4bab65=>!_0x4bab65)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x27963c,_0x45706e,_0x434211)=>{_0x434211||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18cd7a=_0x3b81;function _0x22f8(){const _0x4b0efc=['div','ck-hidden','ck-ai_review__review-completed-header-title','ck-ai_review__review-completed-header-buttons','8244453KDnCNu','_createResultHeaderView','headerText','ck-ai_review__review-completed-header','delegate','finishReview','ck-ai_review__review-completed','_finishReviewButtonView','_createFinishReviewButtonView','586607OTimaG','setTemplate','locale','isVisible','11dheMPQ','15501210DFsqWK','123bPfxrA','5950915eqLiSr','52424UOCeEC','ck-ai_review__review-completed-content','ck-ai_review__review-completed-content-icon','buttonText','emptyResultsText','6hrsnbA','span','1559960CSwpHX','bindTemplate','_resultsHeader','ck-ai_review__review-completed-content-text','16FbrgNW','680661uwyHSM'];_0x22f8=function(){return _0x4b0efc;};return _0x22f8();}(function(_0x1e24b0,_0x4a6d8c){const _0x56ce1a=_0x3b81,_0xffea54=_0x1e24b0();while(!![]){try{const _0xc22760=parseInt(_0x56ce1a(0x1cd))/0x1+-parseInt(_0x56ce1a(0x1ba))/0x2+parseInt(_0x56ce1a(0x1d3))/0x3*(-parseInt(_0x56ce1a(0x1d5))/0x4)+parseInt(_0x56ce1a(0x1d4))/0x5*(parseInt(_0x56ce1a(0x1b8))/0x6)+-parseInt(_0x56ce1a(0x1c4))/0x7+parseInt(_0x56ce1a(0x1be))/0x8*(-parseInt(_0x56ce1a(0x1bf))/0x9)+parseInt(_0x56ce1a(0x1d2))/0xa*(parseInt(_0x56ce1a(0x1d1))/0xb);if(_0xc22760===_0x4a6d8c)break;else _0xffea54['push'](_0xffea54['shift']());}catch(_0x54be3b){_0xffea54['push'](_0xffea54['shift']());}}}(_0x22f8,0xa6264));import{ListItemView as _0x51aaf2,View as _0x3b28d0}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x2f96cb}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0x3b81(_0x43dd04,_0x2f7143){const _0x22f8e9=_0x22f8();return _0x3b81=function(_0x3b81cf,_0x27f5d7){_0x3b81cf=_0x3b81cf-0x1b8;let _0x2276b0=_0x22f8e9[_0x3b81cf];return _0x2276b0;},_0x3b81(_0x43dd04,_0x2f7143);}export class AIReviewCoreReviewCompletedView extends _0x51aaf2{[_0x18cd7a(0x1bc)];[_0x18cd7a(0x1cb)];constructor(_0x5c0ba2,_0x5bd9f9){const _0x5d0975=_0x18cd7a;super(_0x5c0ba2),this[_0x5d0975(0x1cb)]=this[_0x5d0975(0x1cc)](_0x5bd9f9[_0x5d0975(0x1d8)]),this[_0x5d0975(0x1bc)]=this[_0x5d0975(0x1c5)](_0x5bd9f9[_0x5d0975(0x1c6)]);const _0x2e7b1d=this[_0x5d0975(0x1bb)];this[_0x5d0975(0x1ce)]({'tag':_0x5d0975(0x1c0),'attributes':{'class':[_0x5d0975(0x1ca),_0x2e7b1d['if'](_0x5d0975(0x1d0),_0x5d0975(0x1c1),_0x5b874b=>!_0x5b874b)]},'children':[this[_0x5d0975(0x1bc)],{'tag':_0x5d0975(0x1c0),'attributes':{'class':[_0x5d0975(0x1d6)]},'children':[{'tag':_0x5d0975(0x1b9),'attributes':{'class':[_0x5d0975(0x1d7)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x5d0975(0x1bd)]},'children':[{'text':_0x5bd9f9[_0x5d0975(0x1d9)]}]}]}]});}[_0x18cd7a(0x1cc)](_0x2ab80c){const _0x2720f1=_0x18cd7a,_0x3a1780=new _0x2f96cb(_0x2ab80c,this[_0x2720f1(0x1cf)]);return _0x3a1780[_0x2720f1(0x1c8)](_0x2720f1(0x1c9))['to'](this),_0x3a1780;}[_0x18cd7a(0x1c5)](_0x49e2a8){const _0x1f280e=_0x18cd7a,_0x2abbee=new _0x3b28d0(this[_0x1f280e(0x1cf)]);return _0x2abbee[_0x1f280e(0x1ce)]({'tag':_0x1f280e(0x1c0),'attributes':{'class':[_0x1f280e(0x1c7)]},'children':[{'tag':_0x1f280e(0x1b9),'attributes':{'class':[_0x1f280e(0x1c2)]},'children':[{'text':_0x49e2a8}]},{'tag':_0x1f280e(0x1c0),'attributes':{'class':[_0x1f280e(0x1c3)]},'children':[this[_0x1f280e(0x1cb)]]}]}),_0x2abbee;}}
23
+ const _0x5ad635=_0x1116;function _0x1116(_0x3e931d,_0x5c5a18){const _0x379df7=_0x379d();return _0x1116=function(_0x11168d,_0x4d7e11){_0x11168d=_0x11168d-0x97;let _0x56b8b3=_0x379df7[_0x11168d];return _0x56b8b3;},_0x1116(_0x3e931d,_0x5c5a18);}(function(_0x17574a,_0x22cffa){const _0x54f62e=_0x1116,_0x242fce=_0x17574a();while(!![]){try{const _0x214844=-parseInt(_0x54f62e(0xad))/0x1*(-parseInt(_0x54f62e(0xa5))/0x2)+-parseInt(_0x54f62e(0x99))/0x3+-parseInt(_0x54f62e(0xa2))/0x4*(-parseInt(_0x54f62e(0xb2))/0x5)+-parseInt(_0x54f62e(0x9b))/0x6+parseInt(_0x54f62e(0xa8))/0x7+parseInt(_0x54f62e(0xb4))/0x8+-parseInt(_0x54f62e(0xb6))/0x9;if(_0x214844===_0x22cffa)break;else _0x242fce['push'](_0x242fce['shift']());}catch(_0x457065){_0x242fce['push'](_0x242fce['shift']());}}}(_0x379d,0x94184));function _0x379d(){const _0x2586b6=['3442383zpfoSf','ck-ai_review__review-completed-header-title','6485004uYutZL','ck-ai_review__review-completed-header','isVisible','_resultsHeader','finishReview','delegate','ck-hidden','619516UGmKRq','ck-ai_review__review-completed','bindTemplate','2KnJlTV','ck-ai_review__review-completed-content-text','div','8326850hrBQLA','ck-ai_review__review-completed-header-buttons','_finishReviewButtonView','span','headerText','684773WRGTXo','_createFinishReviewButtonView','locale','ck-ai_review__review-completed-content','setTemplate','5AkWFxJ','emptyResultsText','8693544aIOCWd','ck-ai_review__review-completed-content-icon','2529036JJbcCS','_createResultHeaderView','buttonText'];_0x379d=function(){return _0x2586b6;};return _0x379d();}import{ListItemView as _0x3e4e75,View as _0x4e7193}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x33d5f5}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x3e4e75{[_0x5ad635(0x9e)];[_0x5ad635(0xaa)];constructor(_0x5309d9,_0x12dc73){const _0x48d96a=_0x5ad635;super(_0x5309d9),this[_0x48d96a(0xaa)]=this[_0x48d96a(0xae)](_0x12dc73[_0x48d96a(0x98)]),this[_0x48d96a(0x9e)]=this[_0x48d96a(0x97)](_0x12dc73[_0x48d96a(0xac)]);const _0x2e45d9=this[_0x48d96a(0xa4)];this[_0x48d96a(0xb1)]({'tag':_0x48d96a(0xa7),'attributes':{'class':[_0x48d96a(0xa3),_0x2e45d9['if'](_0x48d96a(0x9d),_0x48d96a(0xa1),_0x3093b6=>!_0x3093b6)]},'children':[this[_0x48d96a(0x9e)],{'tag':_0x48d96a(0xa7),'attributes':{'class':[_0x48d96a(0xb0)]},'children':[{'tag':_0x48d96a(0xab),'attributes':{'class':[_0x48d96a(0xb5)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x48d96a(0xa6)]},'children':[{'text':_0x12dc73[_0x48d96a(0xb3)]}]}]}]});}[_0x5ad635(0xae)](_0x2e5b6b){const _0x5cb3ea=_0x5ad635,_0x468091=new _0x33d5f5(_0x2e5b6b,this[_0x5cb3ea(0xaf)]);return _0x468091[_0x5cb3ea(0xa0)](_0x5cb3ea(0x9f))['to'](this),_0x468091;}[_0x5ad635(0x97)](_0x1e6a3d){const _0x365de7=_0x5ad635,_0x4a3b0e=new _0x4e7193(this[_0x365de7(0xaf)]);return _0x4a3b0e[_0x365de7(0xb1)]({'tag':_0x365de7(0xa7),'attributes':{'class':[_0x365de7(0x9c)]},'children':[{'tag':_0x365de7(0xab),'attributes':{'class':[_0x365de7(0x9a)]},'children':[{'text':_0x1e6a3d}]},{'tag':_0x365de7(0xa7),'attributes':{'class':[_0x365de7(0xa9)]},'children':[this[_0x365de7(0xaa)]]}]}),_0x4a3b0e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x3dea1b,View as _0x7be2e5,ViewCollection as _0x178e34,ButtonView as _0x4b3f84}from'ckeditor5/src/ui.js';import{IconStop as _0x491f3a,IconEye as _0x4152a4,IconEyeCrossedOut as _0x26e65b}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x86742d,SKELETON_DEFINITIONS as _0x7d6d39}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x2c39bd}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x273f53}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x53f51b}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x3c71c4}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x1ca679}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x3dea1b{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x4977e0,_0x1725bc){super(_0x4977e0),this['_contents']=_0x1725bc,this['_resultViews']=new _0x178e34(),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 _0x2c39bd(_0x4977e0),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 _0x4d7859=this['_createCombinedSkeletonLoader'](),_0x4f1b14=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x4f1b14['if']('isLoading','ck-ai_review__check-run_loading',_0xd3304a=>_0xd3304a),_0x4f1b14['if']('isResultReady','ck-ai_review__check-run_ready',_0x266bd0=>_0x266bd0),_0x4f1b14['if']('isVisible','ck-hidden',_0x11ab7b=>!_0x11ab7b)]},'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',_0x22ee26=>_0x22ee26)]},'children':this['_resultViews']},_0x4d7859]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x501baf){const _0x5e7450=new _0x3c71c4(this['locale'],_0x501baf['id']);_0x5e7450['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x5e7450),_0x5e7450['resultResponseView']['element']['innerHTML']=_0x501baf['contentDiffed'];}['hideResult'](_0x58b1fe,_0x400b4e){if('pending'===_0x400b4e)return;const _0x1010cd=this['_resultViews']['find'](_0x1e71a1=>_0x1e71a1['id']===_0x58b1fe);_0x1010cd&&(_0x1010cd['status']=_0x400b4e,_0x1010cd['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x382fe5,_0x40ecf4){if('pending'!==_0x40ecf4)return;const _0x203bc7=this['_resultViews']['find'](_0x415de0=>_0x415de0['id']===_0x382fe5);_0x203bc7&&(_0x203bc7['status']=_0x40ecf4,_0x203bc7['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x43e541,_0x3e4d44){this['headerTitle']=_0x43e541,this['headerSubtitle']=_0x3e4d44||'';}['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 _0x86742d(this['locale'],_0x7d6d39['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x456195=new _0x7be2e5(this['locale']),_0x252501=[];for(let _0x554023=0x0;_0x554023<0x10;_0x554023++){const _0x571004=this['_createSkeletonLoader']();_0x571004['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x252501['push'](_0x571004);}return _0x456195['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x1b9f84=>!_0x1b9f84)]},'children':_0x252501}),_0x456195;}['_createErrorView'](){const _0x29ae70=new _0x7be2e5(this['locale']),_0x4d43ad=new _0x4b3f84(this['locale']),t=this['locale']['t'];return _0x29ae70['delegate']('retryReview')['to'](this),_0x4d43ad['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x4d43ad['on']('execute',()=>{this['fire']('retryReview');}),_0x29ae70['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0xa98955=>!_0xa98955),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x1e9b45=>'chunk'===_0x1e9b45)]},'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',_0x619ebd=>'chunk'===_0x619ebd)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0xd6f18c=>'general'!==_0xd6f18c)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x4da6b4=>'chunk'!==_0x4da6b4)]},'children':[{'text':_0x273f53(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x4d43ad]}),_0x29ae70;}['_createCancelButtonView'](){const _0x339ed2=new _0x4b3f84(this['locale']);return _0x339ed2['set']({'label':_0x273f53(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x491f3a}),_0x339ed2['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x531c1f=>_0x531c1f),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4f928f=>_0x4f928f)]}}),_0x339ed2['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x339ed2;}['_createToggleDiffButtonView'](){const _0x553152=new _0x4b3f84(this['locale']);_0x553152['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x553152['bind']('isEnabled')['to'](this,'isError',_0x5a6af=>!_0x5a6af),_0x553152['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4d825a=>!_0x4d825a),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x265e67=>_0x265e67)]}});const _0x1e8e32=_0x273f53(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0xdc19bb=_0x273f53(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x553152['bind']('isOn')['to'](this,'isToggleDiffOn',_0x1799d3=>_0x1799d3),_0x553152['bind']('icon')['to'](this,'isToggleDiffOn',_0x168b94=>_0x168b94?_0x4152a4:_0x26e65b),_0x553152['bind']('label')['to'](this,'isToggleDiffOn',_0x4d2e8a=>_0x4d2e8a?_0x1e8e32:_0xdc19bb),_0x553152['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x553152;}['_createAcceptAllButtonView'](){const _0x5cb83c=new _0x4b3f84(this['locale']);return _0x5cb83c['set']({'label':_0x273f53(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x5cb83c['bind']('isEnabled')['to'](this,'isError',_0x5a59d1=>!_0x5a59d1),_0x5cb83c['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x9dcc6a=>!_0x9dcc6a),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x22a4c7=>_0x22a4c7)]}}),_0x5cb83c['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x5cb83c;}['_createExitReviewButtonView'](){const _0x54cd88=new _0x4b3f84(this['locale']);return _0x54cd88['set']({'label':_0x273f53(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x54cd88['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x57d23c=>!_0x57d23c),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2e3b08=>_0x2e3b08)]}}),_0x54cd88['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x54cd88;}['_createResultHeaderView'](){const _0x5e2b59=new _0x7be2e5(this['locale']),_0x175398=this['_createTitleView']();return _0x5e2b59['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x2212c9=>_0x2212c9)]},'children':[_0x175398,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x5e2b59;}['_createTitleView'](){const _0x444e8c=new _0x7be2e5(this['locale']),_0x59c576=new _0x53f51b();return _0x59c576['bind']('isVisible')['to'](this,'isResultReady',_0x17a126=>!_0x17a126),_0x444e8c['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x59c576,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4aae83=>_0x4aae83)]},'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',_0x2f2a41=>!_0x2f2a41)]},'children':[{'text':_0x273f53(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x444e8c;}['_createFinishReviewButtonView'](){const _0x21efd7=new _0x1ca679(_0x273f53(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x21efd7['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2716e5=>!_0x2716e5)]}}),_0x21efd7['delegate']('finishReview')['to'](this),_0x21efd7;}}
23
+ import{ListItemView as _0x4054e6,View as _0x5caf51,ViewCollection as _0x4c9653,ButtonView as _0x33923d}from'ckeditor5/src/ui.js';import{IconStop as _0x2f9d95,IconEye as _0x566728,IconEyeCrossedOut as _0x1c8654}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x168bf1,SKELETON_DEFINITIONS as _0x40e911}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x3e3790}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x1caa95}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x790a38}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x5d83d7}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x327b58}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x4054e6{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x1e8c69,_0x36713f){super(_0x1e8c69),this['_contents']=_0x36713f,this['_resultViews']=new _0x4c9653(),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 _0x3e3790(_0x1e8c69),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 _0x1b873b=this['_createCombinedSkeletonLoader'](),_0x1ea4e5=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x1ea4e5['if']('isLoading','ck-ai_review__check-run_loading',_0x5cd2d6=>_0x5cd2d6),_0x1ea4e5['if']('isResultReady','ck-ai_review__check-run_ready',_0x229e00=>_0x229e00),_0x1ea4e5['if']('isVisible','ck-hidden',_0x36f921=>!_0x36f921)]},'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',_0x1c1d19=>_0x1c1d19)]},'children':this['_resultViews']},_0x1b873b]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x1d1af1){const _0x5991ed=new _0x5d83d7(this['locale'],_0x1d1af1['id']);_0x5991ed['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x5991ed),_0x5991ed['resultResponseView']['element']['innerHTML']=_0x1d1af1['contentDiffed'];}['hideResult'](_0xc1e960,_0x549e27){if('pending'===_0x549e27)return;const _0x248c40=this['_resultViews']['find'](_0xf64d31=>_0xf64d31['id']===_0xc1e960);_0x248c40&&(_0x248c40['status']=_0x549e27,_0x248c40['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x438dba,_0x58b7ef){if('pending'!==_0x58b7ef)return;const _0x475e83=this['_resultViews']['find'](_0x513be7=>_0x513be7['id']===_0x438dba);_0x475e83&&(_0x475e83['status']=_0x58b7ef,_0x475e83['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0xa3e2b9,_0x3c30e3){this['headerTitle']=_0xa3e2b9,this['headerSubtitle']=_0x3c30e3||'';}['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 _0x168bf1(this['locale'],_0x40e911['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x377fdf=new _0x5caf51(this['locale']),_0xd3e1d=[];for(let _0x27553b=0x0;_0x27553b<0x10;_0x27553b++){const _0xac4a5e=this['_createSkeletonLoader']();_0xac4a5e['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0xd3e1d['push'](_0xac4a5e);}return _0x377fdf['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x937840=>!_0x937840)]},'children':_0xd3e1d}),_0x377fdf;}['_createErrorView'](){const _0x3ebc65=new _0x5caf51(this['locale']),_0x3d3925=new _0x33923d(this['locale']),t=this['locale']['t'];return _0x3ebc65['delegate']('retryReview')['to'](this),_0x3d3925['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x3d3925['on']('execute',()=>{this['fire']('retryReview');}),_0x3ebc65['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x7e76b=>!_0x7e76b),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x692059=>'chunk'===_0x692059)]},'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',_0x2a676d=>'chunk'===_0x2a676d)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x5ca9cd=>'general'!==_0x5ca9cd)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x271d42=>'chunk'!==_0x271d42)]},'children':[{'text':_0x1caa95(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x3d3925]}),_0x3ebc65;}['_createCancelButtonView'](){const _0x2260d9=new _0x33923d(this['locale']);return _0x2260d9['set']({'label':_0x1caa95(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x2f9d95}),_0x2260d9['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5ccdac=>_0x5ccdac),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2ab5b5=>_0x2ab5b5)]}}),_0x2260d9['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x2260d9;}['_createToggleDiffButtonView'](){const _0x5ca915=new _0x33923d(this['locale']);_0x5ca915['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x5ca915['bind']('isEnabled')['to'](this,'isError',_0x3461f7=>!_0x3461f7),_0x5ca915['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x305252=>!_0x305252),this['bindTemplate']['if']('isCompleted','ck-hidden',_0xf1e0f9=>_0xf1e0f9)]}});const _0x3805dd=_0x1caa95(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x1932de=_0x1caa95(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x5ca915['bind']('isOn')['to'](this,'isToggleDiffOn',_0x2e56d4=>_0x2e56d4),_0x5ca915['bind']('icon')['to'](this,'isToggleDiffOn',_0x2aca00=>_0x2aca00?_0x566728:_0x1c8654),_0x5ca915['bind']('label')['to'](this,'isToggleDiffOn',_0x328bd3=>_0x328bd3?_0x3805dd:_0x1932de),_0x5ca915['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x5ca915;}['_createAcceptAllButtonView'](){const _0x53cec9=new _0x33923d(this['locale']);return _0x53cec9['set']({'label':_0x1caa95(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x53cec9['bind']('isEnabled')['to'](this,'isError',_0x393b87=>!_0x393b87),_0x53cec9['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3e9ca4=>!_0x3e9ca4),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x11f15c=>_0x11f15c)]}}),_0x53cec9['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x53cec9;}['_createExitReviewButtonView'](){const _0x24980e=new _0x33923d(this['locale']);return _0x24980e['set']({'label':_0x1caa95(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x24980e['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5e466b=>!_0x5e466b),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x492a07=>_0x492a07)]}}),_0x24980e['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x24980e;}['_createResultHeaderView'](){const _0x3e48ed=new _0x5caf51(this['locale']),_0x4d6fda=this['_createTitleView']();return _0x3e48ed['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x5be3c2=>_0x5be3c2)]},'children':[_0x4d6fda,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x3e48ed;}['_createTitleView'](){const _0x404898=new _0x5caf51(this['locale']),_0x4cc15e=new _0x790a38();return _0x4cc15e['bind']('isVisible')['to'](this,'isResultReady',_0x3ae07c=>!_0x3ae07c),_0x404898['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x4cc15e,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2b133a=>_0x2b133a)]},'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',_0x5f849c=>!_0x5f849c)]},'children':[{'text':_0x1caa95(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x404898;}['_createFinishReviewButtonView'](){const _0x4cd160=new _0x327b58(_0x1caa95(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x4cd160['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0xabf6e1=>!_0xabf6e1)]}}),_0x4cd160['delegate']('finishReview')['to'](this),_0x4cd160;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5430(_0x3134c0,_0x5db51c){var _0xa14f4a=_0xa14f();return _0x5430=function(_0x54306b,_0x36d80b){_0x54306b=_0x54306b-0x1ab;var _0x1c502a=_0xa14f4a[_0x54306b];return _0x1c502a;},_0x5430(_0x3134c0,_0x5db51c);}var _0x95b89c=_0x5430;(function(_0x505f28,_0x29635d){var _0x2af558=_0x5430,_0x4fce05=_0x505f28();while(!![]){try{var _0x31e5a3=-parseInt(_0x2af558(0x1d6))/0x1*(parseInt(_0x2af558(0x1d2))/0x2)+-parseInt(_0x2af558(0x1ad))/0x3+parseInt(_0x2af558(0x1d9))/0x4+parseInt(_0x2af558(0x1c5))/0x5*(parseInt(_0x2af558(0x1b5))/0x6)+parseInt(_0x2af558(0x1b4))/0x7+parseInt(_0x2af558(0x1b2))/0x8+-parseInt(_0x2af558(0x1d1))/0x9;if(_0x31e5a3===_0x29635d)break;else _0x4fce05['push'](_0x4fce05['shift']());}catch(_0x30780d){_0x4fce05['push'](_0x4fce05['shift']());}}}(_0xa14f,0x67e57));function _0xa14f(){var _0xe8842a=['ck-rounded-corners','isVisible','9305fMWSjI','div','showGeneralErrorMessage','resetErrorState','isResultReady','showReviewCheckResultsView','showActionsWhenResultIsReady','reviewCompletedView','ck-ai-review','generalErrorView','list','completed','1608984oOuonA','12jxBzyE','showChunkErrorMessage','errorMessage','isCompleted','14279rBAhKB','set','addCheckRunResult','199548yxvFwb','ltr','hideActionsWhenResultIsReady','addResult','1819017NRPplQ','clearResults','showReviewCompletedView','isLoading','resetAllParameterizedChecks','1001592qiOfDF','setTemplate','4579057ZeGXZJ','1506qtRcQJ','reviewCheckResultsView','showGeneralResultsErrorView','showGeneralReviewCoreErrorView','delegate','showReviewCheckListView','showChunkErrorView','header','finishReview','reviewCheckListView','results','ck-reset_all','showNoChangesView','reviewCoreHeader'];_0xa14f=function(){return _0xe8842a;};return _0xa14f();}import{View as _0x5d26b4}from'ckeditor5/src/ui.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0xe038bc}from'../aireviewcoreui.js';import{AIReviewCoreGeneralErrorView as _0x1b88de}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x5d26b4{[_0x95b89c(0x1c2)];[_0x95b89c(0x1ce)];[_0x95b89c(0x1be)];[_0x95b89c(0x1b6)];[_0x95b89c(0x1cc)];constructor(_0x23e7c0,_0x4bcbf5){var _0x3913c6=_0x95b89c;super(_0x23e7c0),this[_0x3913c6(0x1c2)]=_0x4bcbf5[_0x3913c6(0x1bc)],this[_0x3913c6(0x1ce)]=new _0x1b88de(_0x23e7c0),this[_0x3913c6(0x1be)]=_0x4bcbf5[_0x3913c6(0x1cf)],this[_0x3913c6(0x1be)][_0x3913c6(0x1b9)](..._0xe038bc)['to'](this),this[_0x3913c6(0x1b6)]=_0x4bcbf5[_0x3913c6(0x1bf)],this[_0x3913c6(0x1b6)][_0x3913c6(0x1b9)](..._0xe038bc)['to'](this),this[_0x3913c6(0x1cc)]=_0x4bcbf5[_0x3913c6(0x1d0)],this[_0x3913c6(0x1cc)][_0x3913c6(0x1b9)](_0x3913c6(0x1bd))['to'](this),this[_0x3913c6(0x1be)][_0x3913c6(0x1d7)](_0x3913c6(0x1c4),!0x1),this[_0x3913c6(0x1b6)][_0x3913c6(0x1d7)](_0x3913c6(0x1c4),!0x1),this[_0x3913c6(0x1b6)][_0x3913c6(0x1d7)](_0x3913c6(0x1b0),!0x1),this[_0x3913c6(0x1b6)][_0x3913c6(0x1d7)](_0x3913c6(0x1c9),!0x1),this[_0x3913c6(0x1cc)][_0x3913c6(0x1d7)](_0x3913c6(0x1c4),!0x1),this[_0x3913c6(0x1b3)]({'tag':_0x3913c6(0x1c6),'attributes':{'class':['ck',_0x3913c6(0x1c0),_0x3913c6(0x1cd),_0x3913c6(0x1c3)],'dir':_0x3913c6(0x1da)},'children':[this[_0x3913c6(0x1c2)],this[_0x3913c6(0x1ce)],this[_0x3913c6(0x1be)],this[_0x3913c6(0x1b6)],this[_0x3913c6(0x1cc)]]});}[_0x95b89c(0x1ba)](){var _0x3a126f=_0x95b89c;this[_0x3a126f(0x1be)][_0x3a126f(0x1b1)](),this[_0x3a126f(0x1be)][_0x3a126f(0x1d7)](_0x3a126f(0x1c4),!0x0),this[_0x3a126f(0x1b6)][_0x3a126f(0x1d7)](_0x3a126f(0x1c4),!0x1),this[_0x3a126f(0x1cc)][_0x3a126f(0x1d7)](_0x3a126f(0x1c4),!0x1);}[_0x95b89c(0x1ca)](){var _0x4f9d73=_0x95b89c;this[_0x4f9d73(0x1ab)](),this[_0x4f9d73(0x1b6)][_0x4f9d73(0x1c8)](),this[_0x4f9d73(0x1be)][_0x4f9d73(0x1d7)](_0x4f9d73(0x1c4),!0x1),this[_0x4f9d73(0x1b6)][_0x4f9d73(0x1d7)](_0x4f9d73(0x1c4),!0x0),this[_0x4f9d73(0x1b6)][_0x4f9d73(0x1ae)](),this[_0x4f9d73(0x1b6)][_0x4f9d73(0x1d7)](_0x4f9d73(0x1b0),!0x0),this[_0x4f9d73(0x1b6)][_0x4f9d73(0x1d7)](_0x4f9d73(0x1d5),!0x1);}[_0x95b89c(0x1d8)](_0x5796cb){var _0x15b308=_0x95b89c;this[_0x15b308(0x1b6)][_0x15b308(0x1ac)](_0x5796cb),this[_0x15b308(0x1b6)][_0x15b308(0x1d7)](_0x15b308(0x1b0),!0x1);}[_0x95b89c(0x1af)](){var _0x1b3bef=_0x95b89c;this[_0x1b3bef(0x1b6)][_0x1b3bef(0x1d7)](_0x1b3bef(0x1c4),!0x0),this[_0x1b3bef(0x1cc)][_0x1b3bef(0x1d7)](_0x1b3bef(0x1c4),!0x1),this[_0x1b3bef(0x1b6)][_0x1b3bef(0x1d7)](_0x1b3bef(0x1d5),!0x0),this[_0x1b3bef(0x1be)][_0x1b3bef(0x1d7)](_0x1b3bef(0x1c4),!0x1);}[_0x95b89c(0x1cb)](){var _0x46222c=_0x95b89c;this[_0x46222c(0x1b6)][_0x46222c(0x1c9)]?(this[_0x46222c(0x1be)][_0x46222c(0x1d7)](_0x46222c(0x1c4),!0x1),this[_0x46222c(0x1b6)][_0x46222c(0x1d7)](_0x46222c(0x1c4),!0x0),this[_0x46222c(0x1cc)][_0x46222c(0x1d7)](_0x46222c(0x1c4),!0x1)):this[_0x46222c(0x1b6)][_0x46222c(0x1c9)]=!0x0;}[_0x95b89c(0x1c1)](){var _0x2999bc=_0x95b89c;this[_0x2999bc(0x1be)][_0x2999bc(0x1d7)](_0x2999bc(0x1c4),!0x1),this[_0x2999bc(0x1b6)][_0x2999bc(0x1d7)](_0x2999bc(0x1c4),!0x1),this[_0x2999bc(0x1cc)][_0x2999bc(0x1d7)](_0x2999bc(0x1c4),!0x0);}[_0x95b89c(0x1ab)](){var _0x5a3a53=_0x95b89c;this[_0x5a3a53(0x1b6)][_0x5a3a53(0x1c9)]=!0x1;}[_0x95b89c(0x1b8)](_0x13c89e){var _0x519929=_0x95b89c;this[_0x519929(0x1ce)][_0x519929(0x1d7)](_0x519929(0x1c4),!0x0),this[_0x519929(0x1ce)][_0x519929(0x1d4)]=_0x13c89e;}[_0x95b89c(0x1b7)](){var _0x718f2e=_0x95b89c;this[_0x718f2e(0x1b6)][_0x718f2e(0x1d7)](_0x718f2e(0x1b0),!0x1),this[_0x718f2e(0x1cb)](),this[_0x718f2e(0x1b6)][_0x718f2e(0x1c7)]();}[_0x95b89c(0x1bb)](){var _0x330d6a=_0x95b89c;this[_0x330d6a(0x1b6)][_0x330d6a(0x1d7)](_0x330d6a(0x1b0),!0x1),this[_0x330d6a(0x1cb)](),this[_0x330d6a(0x1b6)][_0x330d6a(0x1d3)]();}}
23
+ var _0x2934e4=_0x40e4;function _0x40e4(_0x55d41a,_0x3e0f2){var _0x38f7f3=_0x38f7();return _0x40e4=function(_0x40e4c9,_0x435fa9){_0x40e4c9=_0x40e4c9-0x99;var _0x49406f=_0x38f7f3[_0x40e4c9];return _0x49406f;},_0x40e4(_0x55d41a,_0x3e0f2);}(function(_0x1fd2be,_0x4ea11d){var _0x425164=_0x40e4,_0x4493dd=_0x1fd2be();while(!![]){try{var _0x493868=-parseInt(_0x425164(0xc2))/0x1*(-parseInt(_0x425164(0xac))/0x2)+-parseInt(_0x425164(0xbb))/0x3+-parseInt(_0x425164(0xb7))/0x4+-parseInt(_0x425164(0xb5))/0x5+-parseInt(_0x425164(0xc5))/0x6+-parseInt(_0x425164(0xba))/0x7+parseInt(_0x425164(0xc7))/0x8;if(_0x493868===_0x4ea11d)break;else _0x4493dd['push'](_0x4493dd['shift']());}catch(_0x132b42){_0x4493dd['push'](_0x4493dd['shift']());}}}(_0x38f7,0xbafc8));import{View as _0x34921b}from'ckeditor5/src/ui.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x438546}from'../aireviewcoreui.js';import{AIReviewCoreGeneralErrorView as _0x49e7ac}from'./aireviewcoregeneralerrorview.js';function _0x38f7(){var _0x48bc18=['ck-rounded-corners','set','results','addResult','resetErrorState','isVisible','finishReview','showGeneralResultsErrorView','showReviewCheckResultsView','12fRoKVi','delegate','reviewCheckListView','showChunkErrorView','resetAllParameterizedChecks','list','div','ck-ai-review','showGeneralReviewCoreErrorView','1688085XqOYZH','showChunkErrorMessage','4825744qaWrOr','isResultReady','showReviewCheckListView','10057215QObNZG','3054555axxRPQ','errorMessage','showGeneralErrorMessage','setTemplate','hideActionsWhenResultIsReady','reviewCompletedView','completed','94759EMLODt','reviewCheckResultsView','clearResults','5060262NcbDsH','showActionsWhenResultIsReady','40317616XACLjy','addCheckRunResult','showNoChangesView','generalErrorView','isLoading','ck-reset_all','reviewCoreHeader','ltr','header','showReviewCompletedView','isCompleted'];_0x38f7=function(){return _0x48bc18;};return _0x38f7();}export class AIReviewCoreView extends _0x34921b{[_0x2934e4(0x9e)];[_0x2934e4(0x9b)];[_0x2934e4(0xae)];[_0x2934e4(0xc3)];[_0x2934e4(0xc0)];constructor(_0x367b30,_0x44f57b){var _0xf1132=_0x2934e4;super(_0x367b30),this[_0xf1132(0x9e)]=_0x44f57b[_0xf1132(0xa0)],this[_0xf1132(0x9b)]=new _0x49e7ac(_0x367b30),this[_0xf1132(0xae)]=_0x44f57b[_0xf1132(0xb1)],this[_0xf1132(0xae)][_0xf1132(0xad)](..._0x438546)['to'](this),this[_0xf1132(0xc3)]=_0x44f57b[_0xf1132(0xa5)],this[_0xf1132(0xc3)][_0xf1132(0xad)](..._0x438546)['to'](this),this[_0xf1132(0xc0)]=_0x44f57b[_0xf1132(0xc1)],this[_0xf1132(0xc0)][_0xf1132(0xad)](_0xf1132(0xa9))['to'](this),this[_0xf1132(0xae)][_0xf1132(0xa4)](_0xf1132(0xa8),!0x1),this[_0xf1132(0xc3)][_0xf1132(0xa4)](_0xf1132(0xa8),!0x1),this[_0xf1132(0xc3)][_0xf1132(0xa4)](_0xf1132(0x9c),!0x1),this[_0xf1132(0xc3)][_0xf1132(0xa4)](_0xf1132(0xb8),!0x1),this[_0xf1132(0xc0)][_0xf1132(0xa4)](_0xf1132(0xa8),!0x1),this[_0xf1132(0xbe)]({'tag':_0xf1132(0xb2),'attributes':{'class':['ck',_0xf1132(0x9d),_0xf1132(0xb3),_0xf1132(0xa3)],'dir':_0xf1132(0x9f)},'children':[this[_0xf1132(0x9e)],this[_0xf1132(0x9b)],this[_0xf1132(0xae)],this[_0xf1132(0xc3)],this[_0xf1132(0xc0)]]});}[_0x2934e4(0xb9)](){var _0x36b4a1=_0x2934e4;this[_0x36b4a1(0xae)][_0x36b4a1(0xb0)](),this[_0x36b4a1(0xae)][_0x36b4a1(0xa4)](_0x36b4a1(0xa8),!0x0),this[_0x36b4a1(0xc3)][_0x36b4a1(0xa4)](_0x36b4a1(0xa8),!0x1),this[_0x36b4a1(0xc0)][_0x36b4a1(0xa4)](_0x36b4a1(0xa8),!0x1);}[_0x2934e4(0xab)](){var _0x3de58c=_0x2934e4;this[_0x3de58c(0xbf)](),this[_0x3de58c(0xc3)][_0x3de58c(0xa7)](),this[_0x3de58c(0xae)][_0x3de58c(0xa4)](_0x3de58c(0xa8),!0x1),this[_0x3de58c(0xc3)][_0x3de58c(0xa4)](_0x3de58c(0xa8),!0x0),this[_0x3de58c(0xc3)][_0x3de58c(0xc4)](),this[_0x3de58c(0xc3)][_0x3de58c(0xa4)](_0x3de58c(0x9c),!0x0),this[_0x3de58c(0xc3)][_0x3de58c(0xa4)](_0x3de58c(0xa2),!0x1);}[_0x2934e4(0x99)](_0x2a80dc){var _0x4e71d5=_0x2934e4;this[_0x4e71d5(0xc3)][_0x4e71d5(0xa6)](_0x2a80dc),this[_0x4e71d5(0xc3)][_0x4e71d5(0xa4)](_0x4e71d5(0x9c),!0x1);}[_0x2934e4(0xa1)](){var _0xba312=_0x2934e4;this[_0xba312(0xc3)][_0xba312(0xa4)](_0xba312(0xa8),!0x0),this[_0xba312(0xc0)][_0xba312(0xa4)](_0xba312(0xa8),!0x1),this[_0xba312(0xc3)][_0xba312(0xa4)](_0xba312(0xa2),!0x0),this[_0xba312(0xae)][_0xba312(0xa4)](_0xba312(0xa8),!0x1);}[_0x2934e4(0xc6)](){var _0x3ec4e5=_0x2934e4;this[_0x3ec4e5(0xc3)][_0x3ec4e5(0xb8)]?(this[_0x3ec4e5(0xae)][_0x3ec4e5(0xa4)](_0x3ec4e5(0xa8),!0x1),this[_0x3ec4e5(0xc3)][_0x3ec4e5(0xa4)](_0x3ec4e5(0xa8),!0x0),this[_0x3ec4e5(0xc0)][_0x3ec4e5(0xa4)](_0x3ec4e5(0xa8),!0x1)):this[_0x3ec4e5(0xc3)][_0x3ec4e5(0xb8)]=!0x0;}[_0x2934e4(0x9a)](){var _0x117e65=_0x2934e4;this[_0x117e65(0xae)][_0x117e65(0xa4)](_0x117e65(0xa8),!0x1),this[_0x117e65(0xc3)][_0x117e65(0xa4)](_0x117e65(0xa8),!0x1),this[_0x117e65(0xc0)][_0x117e65(0xa4)](_0x117e65(0xa8),!0x0);}[_0x2934e4(0xbf)](){var _0x4e2735=_0x2934e4;this[_0x4e2735(0xc3)][_0x4e2735(0xb8)]=!0x1;}[_0x2934e4(0xb4)](_0x35f0d9){var _0x496cef=_0x2934e4;this[_0x496cef(0x9b)][_0x496cef(0xa4)](_0x496cef(0xa8),!0x0),this[_0x496cef(0x9b)][_0x496cef(0xbc)]=_0x35f0d9;}[_0x2934e4(0xaa)](){var _0x435566=_0x2934e4;this[_0x435566(0xc3)][_0x435566(0xa4)](_0x435566(0x9c),!0x1),this[_0x435566(0xc6)](),this[_0x435566(0xc3)][_0x435566(0xbd)]();}[_0x2934e4(0xaf)](){var _0x1dbbc8=_0x2934e4;this[_0x1dbbc8(0xc3)][_0x1dbbc8(0xa4)](_0x1dbbc8(0x9c),!0x1),this[_0x1dbbc8(0xc6)](),this[_0x1dbbc8(0xc3)][_0x1dbbc8(0xb6)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34766d=_0x6cbf;function _0x6cbf(_0x25178a,_0x288f69){const _0x202736=_0x2027();return _0x6cbf=function(_0x6cbf9a,_0x440521){_0x6cbf9a=_0x6cbf9a-0x1cc;let _0x430c72=_0x202736[_0x6cbf9a];return _0x430c72;},_0x6cbf(_0x25178a,_0x288f69);}(function(_0x12b5d7,_0x1f1dcd){const _0x3092d6=_0x6cbf,_0x31a2b=_0x12b5d7();while(!![]){try{const _0x171ea3=-parseInt(_0x3092d6(0x1e4))/0x1+-parseInt(_0x3092d6(0x1cc))/0x2*(parseInt(_0x3092d6(0x1f6))/0x3)+parseInt(_0x3092d6(0x1e2))/0x4+parseInt(_0x3092d6(0x1d0))/0x5*(parseInt(_0x3092d6(0x1e0))/0x6)+-parseInt(_0x3092d6(0x1da))/0x7*(parseInt(_0x3092d6(0x1e8))/0x8)+-parseInt(_0x3092d6(0x1ef))/0x9*(-parseInt(_0x3092d6(0x1e3))/0xa)+parseInt(_0x3092d6(0x1d8))/0xb;if(_0x171ea3===_0x1f1dcd)break;else _0x31a2b['push'](_0x31a2b['shift']());}catch(_0x15a735){_0x31a2b['push'](_0x31a2b['shift']());}}}(_0x2027,0x21244));import{Collection as _0x31b5d2}from'ckeditor5/src/utils.js';function _0x2027(){const _0x4e2e71=['listenTo','add','find','36HmGRaK','formValue','_defaultLabel','bind','bindTemplate','data','ck-reset_all','21jlIjxt','778bqrWJN','ck-ai_review__check-list-item-parameterized-form-element','menuitemradio','set','6015rYQrch','extendTemplate','menu','button','div','buttonView','_defaultValue','locale','2265549gZgGeY','length','1592948mZyExg','_prepareListOptions','ck-ai_review__check-list-item-parameterized-form-element_dropdown','isOn','label','execute','1080CAmPuV','source','197952TcJoZp','95770xlYocT','144260TBXEYh','resetToDefault','model','default','8xmaLEX','setTemplate','stopPropagation','_dropdownView'];_0x2027=function(){return _0x4e2e71;};return _0x2027();}import{View as _0x45dd5f,createDropdown as _0x1f5e05,addListToDropdown as _0x517153,UIModel as _0x1194e8}from'ckeditor5/src/ui.js';export class AIReviewCoreFormDropdownView extends _0x45dd5f{[_0x34766d(0x1eb)];[_0x34766d(0x1d6)];[_0x34766d(0x1f1)];constructor(_0x104feb,_0x4cd4a0){const _0x19a019=_0x34766d;super(_0x104feb),this[_0x19a019(0x1d6)]=_0x4cd4a0[_0x19a019(0x1e7)]||(_0x4cd4a0[_0x19a019(0x1f4)][_0x19a019(0x1d9)]>0x0?_0x4cd4a0[_0x19a019(0x1f4)][0x0]['id']:''),this[_0x19a019(0x1f1)]=_0x4cd4a0[_0x19a019(0x1f4)][_0x19a019(0x1ee)](_0x5f4ccc=>_0x5f4ccc['id']===this[_0x19a019(0x1d6)])?.[_0x19a019(0x1de)]||'',this[_0x19a019(0x1cf)](_0x19a019(0x1f0),''),this[_0x19a019(0x1eb)]=_0x1f5e05(this[_0x19a019(0x1d7)]);const _0x127fbb=this[_0x19a019(0x1db)](_0x4cd4a0[_0x19a019(0x1f4)]);_0x517153(this[_0x19a019(0x1eb)],_0x127fbb,{'role':_0x19a019(0x1d2),'ariaLabel':_0x4cd4a0[_0x19a019(0x1de)]}),this[_0x19a019(0x1eb)][_0x19a019(0x1d5)][_0x19a019(0x1cf)]({'label':this[_0x19a019(0x1f1)],'withText':!0x0}),this[_0x19a019(0x1eb)][_0x19a019(0x1d1)]({'on':{'click':this[_0x19a019(0x1f3)]['to'](_0x2d17e1=>{const _0x12f7fb=_0x19a019;_0x2d17e1[_0x12f7fb(0x1ea)]();})}}),this[_0x19a019(0x1ec)](this[_0x19a019(0x1eb)],_0x19a019(0x1df),_0x4eefbf=>{const _0x47c210=_0x19a019;this[_0x47c210(0x1f0)]=_0x4eefbf[_0x47c210(0x1e1)][_0x47c210(0x1e6)]['id'],this[_0x47c210(0x1eb)][_0x47c210(0x1d5)][_0x47c210(0x1de)]=_0x4eefbf[_0x47c210(0x1e1)][_0x47c210(0x1e6)][_0x47c210(0x1de)];}),this[_0x19a019(0x1e9)]({'tag':_0x19a019(0x1d4),'attributes':{'class':['ck',_0x19a019(0x1f5),_0x19a019(0x1cd),_0x19a019(0x1dc)]},'children':[this[_0x19a019(0x1eb)]]});}[_0x34766d(0x1e5)](){const _0x2e3bdf=_0x34766d;this[_0x2e3bdf(0x1f0)]=this[_0x2e3bdf(0x1d6)],this[_0x2e3bdf(0x1eb)][_0x2e3bdf(0x1d5)][_0x2e3bdf(0x1de)]=this[_0x2e3bdf(0x1f1)];}[_0x34766d(0x1db)](_0x46570b=[]){const _0x3f602f=_0x34766d,_0x8fe52e=new _0x31b5d2();this[_0x3f602f(0x1e5)]();for(const _0x2a3bb0 of _0x46570b){const _0x150006=new _0x1194e8({'label':_0x2a3bb0[_0x3f602f(0x1de)],'withText':!0x0,'role':_0x3f602f(0x1ce),'id':_0x2a3bb0['id'],'model':_0x2a3bb0});_0x150006[_0x3f602f(0x1f2)](_0x3f602f(0x1dd))['to'](this,_0x3f602f(0x1f0),_0x1b135e=>_0x1b135e===_0x150006['id']);const _0x4874f0={'type':_0x3f602f(0x1d3),'model':_0x150006};_0x8fe52e[_0x3f602f(0x1ed)](_0x4874f0);}return _0x8fe52e;}}
23
+ const _0x533cc6=_0x43da;(function(_0x47a242,_0x16f066){const _0x3905f2=_0x43da,_0x474f3b=_0x47a242();while(!![]){try{const _0xf035e4=-parseInt(_0x3905f2(0x1a1))/0x1*(parseInt(_0x3905f2(0x195))/0x2)+parseInt(_0x3905f2(0x1b0))/0x3*(parseInt(_0x3905f2(0x18f))/0x4)+-parseInt(_0x3905f2(0x1a5))/0x5*(-parseInt(_0x3905f2(0x19c))/0x6)+-parseInt(_0x3905f2(0x19d))/0x7*(parseInt(_0x3905f2(0x199))/0x8)+parseInt(_0x3905f2(0x198))/0x9+parseInt(_0x3905f2(0x1a2))/0xa*(parseInt(_0x3905f2(0x1b1))/0xb)+parseInt(_0x3905f2(0x190))/0xc;if(_0xf035e4===_0x16f066)break;else _0x474f3b['push'](_0x474f3b['shift']());}catch(_0x3ed8d2){_0x474f3b['push'](_0x474f3b['shift']());}}}(_0x4b4c,0xb44f4));function _0x43da(_0x58fb8f,_0x189769){const _0x4b4cb3=_0x4b4c();return _0x43da=function(_0x43da68,_0x39fdfe){_0x43da68=_0x43da68-0x18c;let _0x3d7daa=_0x4b4cb3[_0x43da68];return _0x3d7daa;},_0x43da(_0x58fb8f,_0x189769);}import{Collection as _0xf3f48c}from'ckeditor5/src/utils.js';import{View as _0x3c8c08,createDropdown as _0x3b3260,addListToDropdown as _0x1b80fb,UIModel as _0x4ce979}from'ckeditor5/src/ui.js';export class AIReviewCoreFormDropdownView extends _0x3c8c08{[_0x533cc6(0x1b4)];[_0x533cc6(0x192)];[_0x533cc6(0x19f)];constructor(_0x4ba548,_0x285b50){const _0x45055c=_0x533cc6;super(_0x4ba548),this[_0x45055c(0x192)]=_0x285b50[_0x45055c(0x1aa)]||(_0x285b50[_0x45055c(0x18e)][_0x45055c(0x191)]>0x0?_0x285b50[_0x45055c(0x18e)][0x0]['id']:''),this[_0x45055c(0x19f)]=_0x285b50[_0x45055c(0x18e)][_0x45055c(0x197)](_0x518922=>_0x518922['id']===this[_0x45055c(0x192)])?.[_0x45055c(0x19e)]||'',this[_0x45055c(0x1b5)](_0x45055c(0x196),''),this[_0x45055c(0x1b4)]=_0x3b3260(this[_0x45055c(0x1b3)]);const _0x1f228f=this[_0x45055c(0x1ac)](_0x285b50[_0x45055c(0x18e)]);_0x1b80fb(this[_0x45055c(0x1b4)],_0x1f228f,{'role':_0x45055c(0x193),'ariaLabel':_0x285b50[_0x45055c(0x19e)]}),this[_0x45055c(0x1b4)][_0x45055c(0x19a)][_0x45055c(0x1b5)]({'label':this[_0x45055c(0x19f)],'withText':!0x0}),this[_0x45055c(0x1b4)][_0x45055c(0x1ab)]({'on':{'click':this[_0x45055c(0x1a8)]['to'](_0x627dde=>{const _0x5ecf46=_0x45055c;_0x627dde[_0x5ecf46(0x19b)]();})}}),this[_0x45055c(0x1ad)](this[_0x45055c(0x1b4)],_0x45055c(0x1a4),_0xe36036=>{const _0x28ea1b=_0x45055c;this[_0x28ea1b(0x196)]=_0xe36036[_0x28ea1b(0x1a6)][_0x28ea1b(0x18d)]['id'],this[_0x28ea1b(0x1b4)][_0x28ea1b(0x19a)][_0x28ea1b(0x19e)]=_0xe36036[_0x28ea1b(0x1a6)][_0x28ea1b(0x18d)][_0x28ea1b(0x19e)];}),this[_0x45055c(0x1ae)]({'tag':_0x45055c(0x1b7),'attributes':{'class':['ck',_0x45055c(0x1b2),_0x45055c(0x1b6),_0x45055c(0x1a7)]},'children':[this[_0x45055c(0x1b4)]]});}[_0x533cc6(0x18c)](){const _0x1aa87c=_0x533cc6;this[_0x1aa87c(0x196)]=this[_0x1aa87c(0x192)],this[_0x1aa87c(0x1b4)][_0x1aa87c(0x19a)][_0x1aa87c(0x19e)]=this[_0x1aa87c(0x19f)];}[_0x533cc6(0x1ac)](_0x1c8215=[]){const _0x7cb654=_0x533cc6,_0x1e7bb8=new _0xf3f48c();this[_0x7cb654(0x18c)]();for(const _0x2a1bdd of _0x1c8215){const _0x3ca726=new _0x4ce979({'label':_0x2a1bdd[_0x7cb654(0x19e)],'withText':!0x0,'role':_0x7cb654(0x1a3),'id':_0x2a1bdd['id'],'model':_0x2a1bdd});_0x3ca726[_0x7cb654(0x1a9)](_0x7cb654(0x194))['to'](this,_0x7cb654(0x196),_0x3600cb=>_0x3600cb===_0x3ca726['id']);const _0x34ee79={'type':_0x7cb654(0x1a0),'model':_0x3ca726};_0x1e7bb8[_0x7cb654(0x1af)](_0x34ee79);}return _0x1e7bb8;}}function _0x4b4c(){const _0x27530e=['_defaultLabel','button','420973dTtFBO','320sdvuBp','menuitemradio','execute','1610chYwOj','source','ck-ai_review__check-list-item-parameterized-form-element_dropdown','bindTemplate','bind','default','extendTemplate','_prepareListOptions','listenTo','setTemplate','add','15897lvaPGO','243518eyNdKd','ck-reset_all','locale','_dropdownView','set','ck-ai_review__check-list-item-parameterized-form-element','div','resetToDefault','model','data','676WPDrin','4962252UfZYny','length','_defaultValue','menu','isOn','6ppYsCM','formValue','find','4672728mLkSIh','8rPogBA','buttonView','stopPropagation','10074ZxJrbM','7530817OLjrAI','label'];_0x4b4c=function(){return _0x27530e;};return _0x4b4c();}