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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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
- function _0x3a7b(_0x80548c,_0x111dcd){const _0x189e18=_0x189e();return _0x3a7b=function(_0x3a7b36,_0x18690b){_0x3a7b36=_0x3a7b36-0x9b;let _0x3d0657=_0x189e18[_0x3a7b36];return _0x3d0657;},_0x3a7b(_0x80548c,_0x111dcd);}const _0x371a3d=_0x3a7b;(function(_0x47c7fb,_0xde1e0e){const _0x286bdd=_0x3a7b,_0x24e147=_0x47c7fb();while(!![]){try{const _0x4da860=parseInt(_0x286bdd(0xb4))/0x1+-parseInt(_0x286bdd(0xbb))/0x2*(-parseInt(_0x286bdd(0xcc))/0x3)+parseInt(_0x286bdd(0xa0))/0x4*(-parseInt(_0x286bdd(0xe6))/0x5)+parseInt(_0x286bdd(0xbd))/0x6+parseInt(_0x286bdd(0xb3))/0x7*(parseInt(_0x286bdd(0xd9))/0x8)+parseInt(_0x286bdd(0xa7))/0x9*(parseInt(_0x286bdd(0xc2))/0xa)+parseInt(_0x286bdd(0xae))/0xb*(parseInt(_0x286bdd(0xd8))/0xc);if(_0x4da860===_0xde1e0e)break;else _0x24e147['push'](_0x24e147['shift']());}catch(_0x525ea2){_0x24e147['push'](_0x24e147['shift']());}}}(_0x189e,0xbc46e));import{Rect as _0x28440b,getConstrainedViewportRect as _0x635f6e}from'ckeditor5/src/utils.js';function _0x189e(){const _0x21ff28=['add','20906ZFaoKG','extendTemplate','2273856dxASOr','isDiffActive','documentElement','ck-ai_review__suggestion-text','getClientRects','3287590KtXyNr','setTemplate','push','reverse','deactivateChange','getIntersection','right','resultItemView','ck-ai_review-balloon-panel-suggestion','showBalloon','3PhDkkg','bottom','left','set','changeId','_isPinnedRectVisible','replace','clientX','div','arrow_','dismissChange','arrow_se','11509656cbDNDw','256VpfpOo','contentDiffed','from','acceptChange','top','locale','_getBestRectPositionOnHover','position','hide','ck-ai_review-balloon-panel-suggestion_diff-active','ck-reset','hideDiffInBalloon','forEach','25UgPDUT','delegate','getBoundingClientRect','show','click','hideBalloon','_pinnedTargetChangeId','content','_getPointedRectIndexFromEvent','balloon','hover','1179996cRmMnn','render','ck-content','innerHTML','updateContent','isVisible','_pinnedRectIndex','18KZVjKD','_setupClickOutsideHandler','_getBestRectPositionOnClick','element','showDiffInBalloon','_pinnedTargetElement','_createContentView','11kLbNEs','fire','clientY','pin','resultResponseView','19684TNPBxG','150108lExCkc','showDiff','width','bindTemplate','unpin','length'];_0x189e=function(){return _0x21ff28;};return _0x189e();}import{BalloonPanelView as _0x78589e,View as _0x3df3e3,clickOutsideHandler as _0x47106b}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x209b03}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x78589e{[_0x371a3d(0xc9)];[_0x371a3d(0xa6)]=void 0x0;[_0x371a3d(0xac)]=void 0x0;[_0x371a3d(0x9b)]=void 0x0;constructor(_0x155743,_0xb1e6d4){const _0x250317=_0x371a3d;super(_0x155743),this[_0x250317(0xcf)]({'isVisible':!0x1,'position':_0x250317(0xd7),'class':null,'top':0x0,'left':0x0}),this[_0x250317(0xbc)]({'tag':_0x250317(0xd4),'attributes':{'class':[_0x250317(0xe3)],'tabindex':'-1'}}),this[_0x250317(0xcf)](_0x250317(0xbe),!0x1),this[_0x250317(0x9c)][_0x250317(0xba)](this[_0x250317(0xad)]()),_0xb1e6d4[_0x250317(0xba)](this);}[_0x371a3d(0xa1)](){const _0xfb3ff9=_0x371a3d;super[_0xfb3ff9(0xa1)](),this[_0xfb3ff9(0xa8)]();}[_0x371a3d(0xa4)](_0xc44d6d){const _0x2baa09=_0x371a3d;this[_0x2baa09(0xc9)][_0x2baa09(0xd0)]=_0xc44d6d['id'],this[_0x2baa09(0xc9)][_0x2baa09(0xb2)][_0x2baa09(0xaa)][_0x2baa09(0xa3)]=_0xc44d6d[_0x2baa09(0xda)];}[_0x371a3d(0xcb)](_0x174900,_0x4de6f2,_0x12b0c9,_0x5ac5f5,_0x1d3f05,_0xb0e2c9){const _0x2e369e=_0x371a3d,_0x9b6049=_0x4de6f2();if(!_0x9b6049)return;this[_0x2e369e(0xa4)](_0x174900),this[_0x2e369e(0xe9)]();const _0x573228=Array[_0x2e369e(0xdb)](_0x9b6049[_0x2e369e(0xc1)]())[_0x2e369e(0xc5)](),_0x220d28=this[_0x2e369e(0x9d)](_0x12b0c9,_0x573228),_0x1ad648=_0x573228[_0x220d28??0x0];_0x2e369e(0xea)===_0x5ac5f5?(this[_0x2e369e(0xbe)]=!0x0,this[_0x2e369e(0xb1)]({'target':()=>this[_0x2e369e(0xa9)](_0x4de6f2(),_0x220d28,_0x174900['id'],_0x1d3f05,_0xb0e2c9)||_0x1ad648})):_0x2e369e(0x9f)===_0x5ac5f5&&(this[_0x2e369e(0xbe)]=!0x1,this[_0x2e369e(0xb1)]({'target':()=>this[_0x2e369e(0xdf)](_0x4de6f2(),_0x220d28,_0x174900['id'])||_0x1ad648}));}[_0x371a3d(0xeb)](){const _0x2eacfb=_0x371a3d;this[_0x2eacfb(0xe1)](),this[_0x2eacfb(0xb8)](),this[_0x2eacfb(0xa6)]=void 0x0,this[_0x2eacfb(0xac)]=void 0x0,this[_0x2eacfb(0x9b)]=void 0x0;}[_0x371a3d(0xe4)](){const _0xe37620=_0x371a3d;this[_0xe37620(0xc9)][_0xe37620(0xb5)]=!0x1;}[_0x371a3d(0xab)](){const _0x380ede=_0x371a3d;this[_0x380ede(0xc9)][_0x380ede(0xb5)]=!0x0;}[_0x371a3d(0xc6)](){const _0x14b68e=_0x371a3d;this[_0x14b68e(0xaf)](_0x14b68e(0xc6),{'origin':_0x14b68e(0x9e)});}[_0x371a3d(0xa8)](){const _0x5d34c3=_0x371a3d;_0x47106b({'emitter':this,'activator':()=>this[_0x5d34c3(0xa5)],'contextElements':()=>{const _0x35feda=_0x5d34c3,_0x31107a=[this[_0x35feda(0xaa)]];return this[_0x35feda(0xac)]&&_0x31107a[_0x35feda(0xc4)](this[_0x35feda(0xac)]),_0x31107a;},'callback':()=>{const _0x256b33=_0x5d34c3;this[_0x256b33(0xe1)](),this[_0x256b33(0xb8)](),this[_0x256b33(0xc6)](),this[_0x256b33(0xac)]=void 0x0,this[_0x256b33(0xa6)]=void 0x0,this[_0x256b33(0x9b)]=void 0x0;}});}[_0x371a3d(0xad)](){const _0x5451bf=_0x371a3d,_0x3efb21=new _0x3df3e3();return this[_0x5451bf(0xc9)]=new _0x209b03(this[_0x5451bf(0xde)],''),this[_0x5451bf(0xc9)][_0x5451bf(0xb2)][_0x5451bf(0xbc)]({'attributes':{'class':[_0x5451bf(0xa2)]}}),this[_0x5451bf(0xc9)][_0x5451bf(0xe7)](_0x5451bf(0xdc),_0x5451bf(0xd6))['to'](this),_0x3efb21[_0x5451bf(0xc3)]({'tag':_0x5451bf(0xd4),'attributes':{'class':[_0x5451bf(0xe3),_0x5451bf(0xca),this[_0x5451bf(0xb7)]['if'](_0x5451bf(0xbe),_0x5451bf(0xe2))]},'children':[{'tag':'p','attributes':{'class':[_0x5451bf(0xc0)]},'children':[this[_0x5451bf(0xc9)]]}]}),_0x3efb21;}[_0x371a3d(0xa9)](_0x4e57e9,_0x298e46,_0x2855a2,_0x413f0d,_0x36dc5f){const _0xf026b=_0x371a3d;if(!_0x4e57e9)return null;const _0x244227=this[_0xf026b(0xe0)][_0xf026b(0xd2)](_0xf026b(0xd5),''),_0x539889=Array[_0xf026b(0xdb)](_0x4e57e9[_0xf026b(0xc1)]());let _0x5e7638,_0x1f944b=_0x539889[_0xf026b(0xc5)]();return void 0x0!==_0x298e46&&this[_0xf026b(0xd1)](_0x1f944b[_0x298e46],_0x413f0d,_0x36dc5f)?(_0x5e7638=_0x1f944b[_0x298e46],this[_0xf026b(0xa6)]=_0x298e46):this[_0xf026b(0xd1)](_0x1f944b[0x0],_0x413f0d,_0x36dc5f)&&void 0x0===_0x298e46?_0x5e7638=_0x1f944b[0x0]:(_0x1f944b='s'==_0x244227[0x0]?[..._0x539889][_0xf026b(0xc5)]():_0x539889,_0x1f944b[_0xf026b(0xe5)](_0x57cbd6=>{const _0x555e18=_0xf026b;this[_0x555e18(0xd1)](_0x57cbd6,_0x413f0d,_0x36dc5f)&&(_0x5e7638=_0x57cbd6);})),this[_0xf026b(0x9b)]=_0x2855a2,this[_0xf026b(0xac)]=_0x4e57e9,_0x5e7638||_0x4e57e9[_0xf026b(0xe8)]();}[_0x371a3d(0xdf)](_0x1a9b66,_0x260005,_0x2ce302){const _0x23cc8f=_0x371a3d;if(!_0x1a9b66)return null;const _0x57f61c=Array[_0x23cc8f(0xdb)](_0x1a9b66[_0x23cc8f(0xc1)]())[_0x23cc8f(0xc5)]();if(void 0x0===this[_0x23cc8f(0xa6)]&&void 0x0!==_0x260005&&this[_0x23cc8f(0x9b)]!==_0x2ce302)return this[_0x23cc8f(0xa6)]=_0x260005,this[_0x23cc8f(0xac)]=_0x1a9b66,this[_0x23cc8f(0x9b)]=_0x2ce302,_0x57f61c[_0x260005];if(void 0x0!==this[_0x23cc8f(0xa6)]&&this[_0x23cc8f(0x9b)]===_0x2ce302){if(_0x1a9b66!==this[_0x23cc8f(0xac)])return Array[_0x23cc8f(0xdb)](this[_0x23cc8f(0xac)][_0x23cc8f(0xc1)]())[_0x23cc8f(0xc5)]()[this[_0x23cc8f(0xa6)]];return _0x57f61c[this[_0x23cc8f(0xa6)]];}return void 0x0!==_0x260005&&this[_0x23cc8f(0x9b)]!==_0x2ce302?(this[_0x23cc8f(0xa6)]=_0x260005,this[_0x23cc8f(0xac)]=_0x1a9b66,this[_0x23cc8f(0x9b)]=_0x2ce302,_0x57f61c[_0x260005]):_0x1a9b66[_0x23cc8f(0xe8)]();}[_0x371a3d(0x9d)](_0x219ed8,_0xf80bd4){const _0x1f30f9=_0x371a3d;if(_0x219ed8)for(let _0x2f0cdb=0x0;_0x2f0cdb<_0xf80bd4[_0x1f30f9(0xb9)];_0x2f0cdb++){const _0x3ccf83=_0xf80bd4[_0x2f0cdb];if(_0x219ed8[_0x1f30f9(0xd3)]>=_0x3ccf83[_0x1f30f9(0xce)]-0x3&&_0x219ed8[_0x1f30f9(0xd3)]<=_0x3ccf83[_0x1f30f9(0xc8)]+0x3&&_0x219ed8[_0x1f30f9(0xb0)]>=_0x3ccf83[_0x1f30f9(0xdd)]-0x3&&_0x219ed8[_0x1f30f9(0xb0)]<=_0x3ccf83[_0x1f30f9(0xcd)]+0x3)return _0x2f0cdb;}}[_0x371a3d(0xd1)](_0x452c1a,_0x25c4ed,_0x23c8c9){const _0x2202c6=_0x371a3d,_0x512b70=new _0x28440b(_0x452c1a),_0x3d3803=_0x25c4ed||document[_0x2202c6(0xbf)],_0x4574fa=_0x512b70[_0x2202c6(0xc7)](_0x635f6e(_0x23c8c9)),_0x1f96ad=new _0x28440b(_0x3d3803)[_0x2202c6(0xc7)](_0x512b70);return!!(_0x4574fa&&_0x1f96ad&&_0x512b70[_0x2202c6(0xb6)]>0x0);}}
23
+ const _0x3d098e=_0x4a73;(function(_0x32b805,_0x568708){const _0xf4331f=_0x4a73,_0x401032=_0x32b805();while(!![]){try{const _0x4a625e=-parseInt(_0xf4331f(0x111))/0x1*(-parseInt(_0xf4331f(0x11c))/0x2)+parseInt(_0xf4331f(0xf8))/0x3+parseInt(_0xf4331f(0xdb))/0x4*(parseInt(_0xf4331f(0xe5))/0x5)+-parseInt(_0xf4331f(0xea))/0x6*(-parseInt(_0xf4331f(0x101))/0x7)+parseInt(_0xf4331f(0xf0))/0x8+-parseInt(_0xf4331f(0xee))/0x9+-parseInt(_0xf4331f(0xfc))/0xa;if(_0x4a625e===_0x568708)break;else _0x401032['push'](_0x401032['shift']());}catch(_0x48890b){_0x401032['push'](_0x401032['shift']());}}}(_0x1199,0xaadc9));import{Rect as _0x3adf9c,getConstrainedViewportRect as _0x477307}from'ckeditor5/src/utils.js';function _0x4a73(_0x459fd4,_0x432281){const _0x1199d7=_0x1199();return _0x4a73=function(_0x4a73a9,_0x1eb138){_0x4a73a9=_0x4a73a9-0xd1;let _0x463a92=_0x1199d7[_0x4a73a9];return _0x463a92;},_0x4a73(_0x459fd4,_0x432281);}import{BalloonPanelView as _0x1c665c,View as _0x10295d,clickOutsideHandler as _0x4d1617}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x4877b1}from'./aireviewcorechecklistitemresultview.js';function _0x1199(){const _0x2ab62f=['_getPointedRectIndexFromEvent','3839328UPdaHK','resultItemView','showDiff','hideBalloon','arrow_se','length','_pinnedTargetElement','bindTemplate','2168058hoCzrU','documentElement','_pinnedTargetChangeId','click','3641070xMjEeL','arrow_','replace','bottom','showDiffInBalloon','21DGgucw','_getBestRectPositionOnClick','_pinnedRectIndex','fire','setTemplate','top','delegate','render','add','changeId','_setupClickOutsideHandler','deactivateChange','ck-ai_review-balloon-panel-suggestion_diff-active','ck-ai_review__suggestion-text','getClientRects','isVisible','1jbrsdC','content','div','pin','extendTemplate','right','reverse','_createContentView','set','locale','push','381818avphWq','balloon','showBalloon','getBoundingClientRect','innerHTML','show','resultResponseView','_getBestRectPositionOnHover','left','ck-reset','position','element','from','hover','4ZDvRDw','ck-ai_review-balloon-panel-suggestion','dismissChange','isDiffActive','updateContent','forEach','clientX','clientY','hide','acceptChange','1867565sMuGJO','getIntersection','hideDiffInBalloon','ck-content','unpin','188322qVzQAE','_isPinnedRectVisible','contentDiffed','width','7175061tqCgKA'];_0x1199=function(){return _0x2ab62f;};return _0x1199();}import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x1c665c{[_0x3d098e(0xf1)];[_0x3d098e(0x103)]=void 0x0;[_0x3d098e(0xf6)]=void 0x0;[_0x3d098e(0xfa)]=void 0x0;constructor(_0x2c11f6,_0x336630){const _0x898ba4=_0x3d098e;super(_0x2c11f6),this[_0x898ba4(0x119)]({'isVisible':!0x1,'position':_0x898ba4(0xf4),'class':null,'top':0x0,'left':0x0}),this[_0x898ba4(0x115)]({'tag':_0x898ba4(0x113),'attributes':{'class':[_0x898ba4(0xd6)],'tabindex':'-1'}}),this[_0x898ba4(0x119)](_0x898ba4(0xde),!0x1),this[_0x898ba4(0x112)][_0x898ba4(0x109)](this[_0x898ba4(0x118)]()),_0x336630[_0x898ba4(0x109)](this);}[_0x3d098e(0x108)](){const _0x441e9d=_0x3d098e;super[_0x441e9d(0x108)](),this[_0x441e9d(0x10b)]();}[_0x3d098e(0xdf)](_0x4f8232){const _0x4790d6=_0x3d098e;this[_0x4790d6(0xf1)][_0x4790d6(0x10a)]=_0x4f8232['id'],this[_0x4790d6(0xf1)][_0x4790d6(0xd3)][_0x4790d6(0xd8)][_0x4790d6(0xd1)]=_0x4f8232[_0x4790d6(0xec)];}[_0x3d098e(0x11e)](_0x5483a8,_0x43f95d,_0x2a5f68,_0x2cbb25,_0x28616,_0x219557){const _0x17ee16=_0x3d098e,_0x21d592=_0x43f95d();if(!_0x21d592)return;this[_0x17ee16(0xdf)](_0x5483a8),this[_0x17ee16(0xd2)]();const _0x46149d=Array[_0x17ee16(0xd9)](_0x21d592[_0x17ee16(0x10f)]())[_0x17ee16(0x117)](),_0x1ece1c=this[_0x17ee16(0xef)](_0x2a5f68,_0x46149d),_0x1185cc=_0x46149d[_0x1ece1c??0x0];_0x17ee16(0xfb)===_0x2cbb25?(this[_0x17ee16(0xde)]=!0x0,this[_0x17ee16(0x114)]({'target':()=>this[_0x17ee16(0x102)](_0x43f95d(),_0x1ece1c,_0x5483a8['id'],_0x28616,_0x219557)||_0x1185cc})):_0x17ee16(0xda)===_0x2cbb25&&(this[_0x17ee16(0xde)]=!0x1,this[_0x17ee16(0x114)]({'target':()=>this[_0x17ee16(0xd4)](_0x43f95d(),_0x1ece1c,_0x5483a8['id'])||_0x1185cc}));}[_0x3d098e(0xf3)](){const _0x80ea4b=_0x3d098e;this[_0x80ea4b(0xe3)](),this[_0x80ea4b(0xe9)](),this[_0x80ea4b(0x103)]=void 0x0,this[_0x80ea4b(0xf6)]=void 0x0,this[_0x80ea4b(0xfa)]=void 0x0;}[_0x3d098e(0xe7)](){const _0x39a343=_0x3d098e;this[_0x39a343(0xf1)][_0x39a343(0xf2)]=!0x1;}[_0x3d098e(0x100)](){const _0x3dfac3=_0x3d098e;this[_0x3dfac3(0xf1)][_0x3dfac3(0xf2)]=!0x0;}[_0x3d098e(0x10c)](){const _0x76cf5a=_0x3d098e;this[_0x76cf5a(0x104)](_0x76cf5a(0x10c),{'origin':_0x76cf5a(0x11d)});}[_0x3d098e(0x10b)](){const _0x648d3e=_0x3d098e;_0x4d1617({'emitter':this,'activator':()=>this[_0x648d3e(0x110)],'contextElements':()=>{const _0x3771d1=_0x648d3e,_0x1f8e71=[this[_0x3771d1(0xd8)]];return this[_0x3771d1(0xf6)]&&_0x1f8e71[_0x3771d1(0x11b)](this[_0x3771d1(0xf6)]),_0x1f8e71;},'callback':()=>{const _0x5f9651=_0x648d3e;this[_0x5f9651(0xe3)](),this[_0x5f9651(0xe9)](),this[_0x5f9651(0x10c)](),this[_0x5f9651(0xf6)]=void 0x0,this[_0x5f9651(0x103)]=void 0x0,this[_0x5f9651(0xfa)]=void 0x0;}});}[_0x3d098e(0x118)](){const _0x5b6643=_0x3d098e,_0x5a47a2=new _0x10295d();return this[_0x5b6643(0xf1)]=new _0x4877b1(this[_0x5b6643(0x11a)],''),this[_0x5b6643(0xf1)][_0x5b6643(0xd3)][_0x5b6643(0x115)]({'attributes':{'class':[_0x5b6643(0xe8)]}}),this[_0x5b6643(0xf1)][_0x5b6643(0x107)](_0x5b6643(0xe4),_0x5b6643(0xdd))['to'](this),_0x5a47a2[_0x5b6643(0x105)]({'tag':_0x5b6643(0x113),'attributes':{'class':[_0x5b6643(0xd6),_0x5b6643(0xdc),this[_0x5b6643(0xf7)]['if'](_0x5b6643(0xde),_0x5b6643(0x10d))]},'children':[{'tag':'p','attributes':{'class':[_0x5b6643(0x10e)]},'children':[this[_0x5b6643(0xf1)]]}]}),_0x5a47a2;}[_0x3d098e(0x102)](_0x1c91c6,_0x1f5138,_0x2c2418,_0x4dc0b7,_0x24bd7f){const _0xc05aa2=_0x3d098e;if(!_0x1c91c6)return null;const _0x2afe8d=this[_0xc05aa2(0xd7)][_0xc05aa2(0xfe)](_0xc05aa2(0xfd),''),_0x5cbbdb=Array[_0xc05aa2(0xd9)](_0x1c91c6[_0xc05aa2(0x10f)]());let _0x3d3b25,_0x41b57a=_0x5cbbdb[_0xc05aa2(0x117)]();return void 0x0!==_0x1f5138&&this[_0xc05aa2(0xeb)](_0x41b57a[_0x1f5138],_0x4dc0b7,_0x24bd7f)?(_0x3d3b25=_0x41b57a[_0x1f5138],this[_0xc05aa2(0x103)]=_0x1f5138):this[_0xc05aa2(0xeb)](_0x41b57a[0x0],_0x4dc0b7,_0x24bd7f)&&void 0x0===_0x1f5138?_0x3d3b25=_0x41b57a[0x0]:(_0x41b57a='s'==_0x2afe8d[0x0]?[..._0x5cbbdb][_0xc05aa2(0x117)]():_0x5cbbdb,_0x41b57a[_0xc05aa2(0xe0)](_0x2d7a15=>{const _0x171fb6=_0xc05aa2;this[_0x171fb6(0xeb)](_0x2d7a15,_0x4dc0b7,_0x24bd7f)&&(_0x3d3b25=_0x2d7a15);})),this[_0xc05aa2(0xfa)]=_0x2c2418,this[_0xc05aa2(0xf6)]=_0x1c91c6,_0x3d3b25||_0x1c91c6[_0xc05aa2(0x11f)]();}[_0x3d098e(0xd4)](_0x24b97d,_0x1de9ee,_0x34f402){const _0x432163=_0x3d098e;if(!_0x24b97d)return null;const _0x381bda=Array[_0x432163(0xd9)](_0x24b97d[_0x432163(0x10f)]())[_0x432163(0x117)]();if(void 0x0===this[_0x432163(0x103)]&&void 0x0!==_0x1de9ee&&this[_0x432163(0xfa)]!==_0x34f402)return this[_0x432163(0x103)]=_0x1de9ee,this[_0x432163(0xf6)]=_0x24b97d,this[_0x432163(0xfa)]=_0x34f402,_0x381bda[_0x1de9ee];if(void 0x0!==this[_0x432163(0x103)]&&this[_0x432163(0xfa)]===_0x34f402){if(_0x24b97d!==this[_0x432163(0xf6)])return Array[_0x432163(0xd9)](this[_0x432163(0xf6)][_0x432163(0x10f)]())[_0x432163(0x117)]()[this[_0x432163(0x103)]];return _0x381bda[this[_0x432163(0x103)]];}return void 0x0!==_0x1de9ee&&this[_0x432163(0xfa)]!==_0x34f402?(this[_0x432163(0x103)]=_0x1de9ee,this[_0x432163(0xf6)]=_0x24b97d,this[_0x432163(0xfa)]=_0x34f402,_0x381bda[_0x1de9ee]):_0x24b97d[_0x432163(0x11f)]();}[_0x3d098e(0xef)](_0xffab2d,_0x127b8b){const _0x4a21ba=_0x3d098e;if(_0xffab2d)for(let _0x409edc=0x0;_0x409edc<_0x127b8b[_0x4a21ba(0xf5)];_0x409edc++){const _0x7496f3=_0x127b8b[_0x409edc];if(_0xffab2d[_0x4a21ba(0xe1)]>=_0x7496f3[_0x4a21ba(0xd5)]-0x3&&_0xffab2d[_0x4a21ba(0xe1)]<=_0x7496f3[_0x4a21ba(0x116)]+0x3&&_0xffab2d[_0x4a21ba(0xe2)]>=_0x7496f3[_0x4a21ba(0x106)]-0x3&&_0xffab2d[_0x4a21ba(0xe2)]<=_0x7496f3[_0x4a21ba(0xff)]+0x3)return _0x409edc;}}[_0x3d098e(0xeb)](_0x1853f7,_0x30c47a,_0x38a11d){const _0x19c063=_0x3d098e,_0x5aa0b7=new _0x3adf9c(_0x1853f7),_0x4d3abc=_0x30c47a||document[_0x19c063(0xf9)],_0x22ff3f=_0x5aa0b7[_0x19c063(0xe6)](_0x477307(_0x38a11d)),_0x597f43=new _0x3adf9c(_0x4d3abc)[_0x19c063(0xe6)](_0x5aa0b7);return!!(_0x22ff3f&&_0x597f43&&_0x5aa0b7[_0x19c063(0xed)]>0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x37a8(){const _0x491103=['isEnabled','24fFoHcg','accepted','div','fire','menuitemcheckbox','tagName','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','pending','click','infoButtonView','setItemAsActive','17304uVoRbc','isOn','disabled','ck-ai_review__check-run-result-action-buttons','isInfoToggleOn','1197870llqRRY','dismissChange','outdated','_createInfoButtonView','ck-reset_all-excluded','ck-ai_review__check-run-result_active','581bMkauH','deactivateChange','rejected','set','status','acceptChange','outdatedButtonView','13393061akakhH','ck-ai_review__check-run-result-dismiss-button','mouseout','dismissButtonView','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','execute','setItemAsInactive','1747076sDeFbR','4650460MAEDmf','ck-ai_review__check-run-result-response','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','isActive','ck-ai-button-secondary','hover','showDiff','change:status','locale','changeId','setTemplate','panel','ck-ai_review__check-run-result-accept-button','ck-ai_review__check-run-result-status-button','_createOutdatedButtonView','bind','36akEgwR','resultResponseView','preventDefault','ck-ai_review__check-run-result-footer','ck-ai-button-tertiary','AI_REVIEW_MODE_DISMISS_CHANGE','icon','ck-content','stopPropagation','10gTDpcz','ck-ai_review__check-run-result','3noTkYm','extendTemplate','_createDismissButtonView','AI_REVIEW_MODE_ACCEPT_CHANGE','2408229WokvuR','activateChange','AI_REVIEW_MODE_LEARN_MORE','acceptButtonView','348745uYHGKm','bindTemplate','label','mouseover','target','_createResultResponseView','_createAcceptButtonView','ck-hidden'];_0x37a8=function(){return _0x491103;};return _0x37a8();}const _0x1e6ca7=_0x4e87;(function(_0x5cb279,_0x597c4e){const _0x1f00c9=_0x4e87,_0x5cfece=_0x5cb279();while(!![]){try{const _0x350c93=-parseInt(_0x1f00c9(0x115))/0x1+parseInt(_0x1f00c9(0x129))/0x2*(-parseInt(_0x1f00c9(0x145))/0x3)+-parseInt(_0x1f00c9(0x12a))/0x4+parseInt(_0x1f00c9(0x14d))/0x5*(parseInt(_0x1f00c9(0x156))/0x6)+-parseInt(_0x1f00c9(0x11b))/0x7*(-parseInt(_0x1f00c9(0x110))/0x8)+-parseInt(_0x1f00c9(0x149))/0x9*(parseInt(_0x1f00c9(0x143))/0xa)+-parseInt(_0x1f00c9(0x122))/0xb*(-parseInt(_0x1f00c9(0x13a))/0xc);if(_0x350c93===_0x597c4e)break;else _0x5cfece['push'](_0x5cfece['shift']());}catch(_0x164c40){_0x5cfece['push'](_0x5cfece['shift']());}}}(_0x37a8,0x94d26));import{View as _0x400eb5,ButtonView as _0x56f3f6}from'ckeditor5/src/ui.js';function _0x4e87(_0x16631b,_0x444ace){const _0x37a897=_0x37a8();return _0x4e87=function(_0x4e8755,_0x1f68dd){_0x4e8755=_0x4e8755-0x10d;let _0x3fdfcd=_0x37a897[_0x4e8755];return _0x3fdfcd;},_0x4e87(_0x16631b,_0x444ace);}import{IconInfo as _0x427a93,IconCheck as _0x4a0959,IconCancel as _0x5c5b83,IconOutdated as _0x4d8cd4}from'ckeditor5/src/icons.js';import{getTranslation as _0x462756}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x400eb5{[_0x1e6ca7(0x13b)];[_0x1e6ca7(0x14c)];[_0x1e6ca7(0x125)];[_0x1e6ca7(0x10e)];[_0x1e6ca7(0x121)];constructor(_0x5a94b,_0x211054){const _0x19acd9=_0x1e6ca7;super(_0x5a94b),this['id']=_0x211054,this[_0x19acd9(0x11e)](_0x19acd9(0x11f),_0x19acd9(0x15e)),this[_0x19acd9(0x11e)](_0x19acd9(0x133),_0x211054),this[_0x19acd9(0x13b)]=this[_0x19acd9(0x152)](),this[_0x19acd9(0x14c)]=this[_0x19acd9(0x153)](),this[_0x19acd9(0x125)]=this[_0x19acd9(0x147)](),this[_0x19acd9(0x10e)]=this[_0x19acd9(0x118)](),this[_0x19acd9(0x121)]=this[_0x19acd9(0x138)](),this[_0x19acd9(0x11e)](_0x19acd9(0x114),!0x1),this[_0x19acd9(0x11e)](_0x19acd9(0x12d),!0x1),this[_0x19acd9(0x11e)](_0x19acd9(0x130),!0x0),this[_0x19acd9(0x134)]({'tag':_0x19acd9(0x158),'attributes':{'class':[_0x19acd9(0x144),this[_0x19acd9(0x14e)]['if'](_0x19acd9(0x12d),_0x19acd9(0x11a))]},'on':{'click':this[_0x19acd9(0x14e)]['to'](_0x19acd9(0x10d)),'mouseover':this[_0x19acd9(0x14e)]['to'](_0x19acd9(0x150)),'mouseout':this[_0x19acd9(0x14e)]['to'](_0x19acd9(0x124))},'children':[this[_0x19acd9(0x13b)],{'tag':_0x19acd9(0x158),'attributes':{'class':[_0x19acd9(0x13d)]},'children':[{'tag':_0x19acd9(0x158),'attributes':{'class':[_0x19acd9(0x113)]},'children':[this[_0x19acd9(0x14c)],this[_0x19acd9(0x125)],this[_0x19acd9(0x121)]]},this[_0x19acd9(0x10e)]]}]}),this['on'](_0x19acd9(0x10d),(_0x302309,_0x2455f1)=>{const _0x46ca68=_0x19acd9;_0x2455f1&&_0x2455f1[_0x46ca68(0x151)]&&'A'===_0x2455f1[_0x46ca68(0x151)][_0x46ca68(0x15b)]&&_0x2455f1[_0x46ca68(0x13c)](),this[_0x46ca68(0x159)](_0x46ca68(0x14a),{'id':_0x211054,'source':this,'uiInteraction':_0x46ca68(0x10d)});}),this['on'](_0x19acd9(0x150),()=>{const _0x162f23=_0x19acd9;this[_0x162f23(0x159)](_0x162f23(0x14a),{'id':_0x211054,'source':this,'uiInteraction':_0x162f23(0x12f)});}),this['on'](_0x19acd9(0x124),()=>{const _0x27fe5f=_0x19acd9;this[_0x27fe5f(0x159)](_0x27fe5f(0x11c),{'origin':_0x27fe5f(0x135),'id':_0x211054,'source':this});});}[_0x1e6ca7(0x10f)](){const _0x5aea34=_0x1e6ca7;this[_0x5aea34(0x12d)]=!0x0;}[_0x1e6ca7(0x128)](){const _0x3643e4=_0x1e6ca7;this[_0x3643e4(0x12d)]=!0x1;}[_0x1e6ca7(0x152)](){const _0x75d5ad=_0x1e6ca7,_0x142a0c=new _0x400eb5(this[_0x75d5ad(0x132)]);return _0x142a0c[_0x75d5ad(0x134)]({'tag':_0x75d5ad(0x158),'attributes':{'class':['ck',_0x75d5ad(0x141),_0x75d5ad(0x119),_0x75d5ad(0x12b),this[_0x75d5ad(0x14e)]['if'](_0x75d5ad(0x130),_0x75d5ad(0x154),_0x20c4e1=>!_0x20c4e1)]}}),_0x142a0c;}[_0x1e6ca7(0x153)](){const _0x430ce4=_0x1e6ca7,_0x174385=new _0x56f3f6(this[_0x430ce4(0x132)]);return _0x174385[_0x430ce4(0x11e)]({'label':_0x462756(this[_0x430ce4(0x132)],_0x430ce4(0x148)),'withText':!0x0}),_0x174385[_0x430ce4(0x146)]({'on':{'click':this[_0x430ce4(0x14e)]['to'](_0x3cc3c9=>{const _0xb2dbba=_0x430ce4;this[_0xb2dbba(0x159)](_0xb2dbba(0x120),{'id':this[_0xb2dbba(0x133)]}),_0x3cc3c9[_0xb2dbba(0x142)]();})},'attributes':{'class':[_0x430ce4(0x12e),_0x430ce4(0x136),this[_0x430ce4(0x14e)]['if'](_0x430ce4(0x11f),_0x430ce4(0x154),_0x3ced0f=>_0x430ce4(0x15e)!==_0x3ced0f&&_0x430ce4(0x157)!==_0x3ced0f),this[_0x430ce4(0x14e)]['if'](_0x430ce4(0x11f),_0x430ce4(0x136),_0x1f1588=>_0x430ce4(0x15e)===_0x1f1588),this[_0x430ce4(0x14e)]['if'](_0x430ce4(0x11f),_0x430ce4(0x137),_0x434546=>_0x430ce4(0x157)===_0x434546)]}}),this['on'](_0x430ce4(0x131),(_0x175220,_0x53b94c,_0x58b004)=>{const _0x7e7c75=_0x430ce4;_0x174385[_0x7e7c75(0x155)]=_0x7e7c75(0x15e)===_0x58b004,_0x7e7c75(0x157)===_0x58b004&&(_0x174385[_0x7e7c75(0x14f)]=_0x462756(this[_0x7e7c75(0x132)],_0x7e7c75(0x12c)),_0x174385[_0x7e7c75(0x140)]=_0x4a0959);}),_0x174385;}[_0x1e6ca7(0x147)](){const _0x4cd445=_0x1e6ca7,_0x569b96=new _0x56f3f6(this[_0x4cd445(0x132)]);return _0x569b96[_0x4cd445(0x11e)]({'label':_0x462756(this[_0x4cd445(0x132)],_0x4cd445(0x13f)),'withText':!0x0}),_0x569b96[_0x4cd445(0x146)]({'on':{'click':this[_0x4cd445(0x14e)]['to'](_0x307850=>{const _0x3363d8=_0x4cd445;this[_0x3363d8(0x159)](_0x3363d8(0x116),{'id':this[_0x3363d8(0x133)]}),_0x307850[_0x3363d8(0x142)]();})},'attributes':{'class':[_0x4cd445(0x13e),this[_0x4cd445(0x14e)]['if'](_0x4cd445(0x11f),_0x4cd445(0x154),_0x416779=>_0x4cd445(0x15e)!==_0x416779&&_0x4cd445(0x11d)!==_0x416779),this[_0x4cd445(0x14e)]['if'](_0x4cd445(0x11f),_0x4cd445(0x123),_0x2a61d4=>_0x4cd445(0x15e)===_0x2a61d4),this[_0x4cd445(0x14e)]['if'](_0x4cd445(0x11f),_0x4cd445(0x137),_0x2abba2=>_0x4cd445(0x11d)===_0x2abba2)]}}),this['on'](_0x4cd445(0x131),(_0x31228b,_0x143446,_0x136f01)=>{const _0x2b83ce=_0x4cd445;_0x569b96[_0x2b83ce(0x155)]=_0x2b83ce(0x15e)===_0x136f01,_0x2b83ce(0x11d)===_0x136f01&&(_0x569b96[_0x2b83ce(0x14f)]=_0x462756(this[_0x2b83ce(0x132)],_0x2b83ce(0x15c)),_0x569b96[_0x2b83ce(0x140)]=_0x5c5b83);}),_0x569b96;}[_0x1e6ca7(0x118)](){const _0x17601f=_0x1e6ca7,_0x49313c=new _0x56f3f6(this[_0x17601f(0x132)]);return _0x49313c[_0x17601f(0x11e)]({'label':_0x462756(this[_0x17601f(0x132)],_0x17601f(0x14b)),'icon':_0x427a93,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x17601f(0x15a),'class':_0x17601f(0x126)}),_0x49313c[_0x17601f(0x139)](_0x17601f(0x111))['to'](this,_0x17601f(0x114),_0x1e3c7f=>_0x1e3c7f),_0x49313c['on'](_0x17601f(0x127),()=>{const _0x3d64d4=_0x17601f;this[_0x3d64d4(0x114)]=!this[_0x3d64d4(0x114)];}),_0x49313c;}[_0x1e6ca7(0x138)](){const _0x1cab34=_0x1e6ca7,_0xe706cd=new _0x56f3f6(this[_0x1cab34(0x132)]);return _0xe706cd[_0x1cab34(0x11e)]({'label':_0x462756(this[_0x1cab34(0x132)],_0x1cab34(0x15d)),'icon':_0x4d8cd4,'withText':!0x0,'isEnabled':!0x1}),_0xe706cd[_0x1cab34(0x146)]({'attributes':{'class':[_0x1cab34(0x12e),_0x1cab34(0x137),this[_0x1cab34(0x14e)]['if'](_0x1cab34(0x11f),_0x1cab34(0x154),_0x54a458=>_0x1cab34(0x117)!==_0x54a458)],'disabled':_0x1cab34(0x112)}}),_0xe706cd;}}
23
+ const _0x318659=_0x1a6c;(function(_0x3a5a03,_0xa12c83){const _0x194a9e=_0x1a6c,_0x44102f=_0x3a5a03();while(!![]){try{const _0x5d942a=parseInt(_0x194a9e(0x147))/0x1+parseInt(_0x194a9e(0x14a))/0x2+parseInt(_0x194a9e(0x172))/0x3*(parseInt(_0x194a9e(0x164))/0x4)+-parseInt(_0x194a9e(0x18e))/0x5+parseInt(_0x194a9e(0x14c))/0x6*(parseInt(_0x194a9e(0x189))/0x7)+parseInt(_0x194a9e(0x181))/0x8*(-parseInt(_0x194a9e(0x16e))/0x9)+-parseInt(_0x194a9e(0x151))/0xa;if(_0x5d942a===_0xa12c83)break;else _0x44102f['push'](_0x44102f['shift']());}catch(_0x40535e){_0x44102f['push'](_0x44102f['shift']());}}}(_0x303c,0x9b78f));function _0x1a6c(_0x463ce9,_0x2c3ab3){const _0x303c19=_0x303c();return _0x1a6c=function(_0x1a6c9b,_0x15426e){_0x1a6c9b=_0x1a6c9b-0x13f;let _0x2c8534=_0x303c19[_0x1a6c9b];return _0x2c8534;},_0x1a6c(_0x463ce9,_0x2c3ab3);}function _0x303c(){const _0x42de35=['changeId','outdated','deactivateChange','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','menuitemcheckbox','AI_REVIEW_MODE_ACCEPT_CHANGE','isEnabled','pending','infoButtonView','ck-ai_review__check-run-result-accept-button','target','_createOutdatedButtonView','2800020FUShcg','ck-ai_review__check-run-result-action-buttons','disabled','ck-ai_review__check-run-result-status-button','bind','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','ck-ai-button-tertiary','stopPropagation','mouseover','change:status','3569418CIjOlf','ck-ai-button-secondary','_createDismissButtonView','AI_REVIEW_MODE_DISMISS_CHANGE','3dgLKAs','showDiff','execute','resultResponseView','setItemAsActive','ck-reset_all-excluded','setTemplate','ck-content','fire','bindTemplate','ck-ai_review__check-run-result-footer','panel','dismissChange','activateChange','extendTemplate','8OXRyJY','rejected','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','icon','ck-ai_review__check-run-result-dismiss-button','accepted','AI_REVIEW_MODE_LEARN_MORE','7uMFTCp','setItemAsInactive','acceptChange','isActive','ck-ai_review__check-run-result_active','2228745VadyRI','status','_createInfoButtonView','acceptButtonView','set','ck-ai_review__check-run-result-response','isInfoToggleOn','hover','ck-hidden','516892RmhzWQ','isOn','ck-ai_review__check-run-result','1098670AyQTXv','outdatedButtonView','5979984JUYqos','_createAcceptButtonView','tagName','label','locale','12837300YvWqSk','_createResultResponseView','div','dismissButtonView','preventDefault','click','mouseout'];_0x303c=function(){return _0x42de35;};return _0x303c();}import{View as _0x537421,ButtonView as _0x313dc0}from'ckeditor5/src/ui.js';import{IconInfo as _0x20b20b,IconCheck as _0x2d6530,IconCancel as _0x53f029,IconOutdated as _0x3d5c60}from'ckeditor5/src/icons.js';import{getTranslation as _0x1fd10a}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x537421{[_0x318659(0x175)];[_0x318659(0x141)];[_0x318659(0x154)];[_0x318659(0x160)];[_0x318659(0x14b)];constructor(_0x387435,_0x7b479d){const _0x4ab17e=_0x318659;super(_0x387435),this['id']=_0x7b479d,this[_0x4ab17e(0x142)](_0x4ab17e(0x13f),_0x4ab17e(0x15f)),this[_0x4ab17e(0x142)](_0x4ab17e(0x158),_0x7b479d),this[_0x4ab17e(0x175)]=this[_0x4ab17e(0x152)](),this[_0x4ab17e(0x141)]=this[_0x4ab17e(0x14d)](),this[_0x4ab17e(0x154)]=this[_0x4ab17e(0x170)](),this[_0x4ab17e(0x160)]=this[_0x4ab17e(0x140)](),this[_0x4ab17e(0x14b)]=this[_0x4ab17e(0x163)](),this[_0x4ab17e(0x142)](_0x4ab17e(0x144),!0x1),this[_0x4ab17e(0x142)](_0x4ab17e(0x18c),!0x1),this[_0x4ab17e(0x142)](_0x4ab17e(0x173),!0x0),this[_0x4ab17e(0x178)]({'tag':_0x4ab17e(0x153),'attributes':{'class':[_0x4ab17e(0x149),this[_0x4ab17e(0x17b)]['if'](_0x4ab17e(0x18c),_0x4ab17e(0x18d))]},'on':{'click':this[_0x4ab17e(0x17b)]['to'](_0x4ab17e(0x156)),'mouseover':this[_0x4ab17e(0x17b)]['to'](_0x4ab17e(0x16c)),'mouseout':this[_0x4ab17e(0x17b)]['to'](_0x4ab17e(0x157))},'children':[this[_0x4ab17e(0x175)],{'tag':_0x4ab17e(0x153),'attributes':{'class':[_0x4ab17e(0x17c)]},'children':[{'tag':_0x4ab17e(0x153),'attributes':{'class':[_0x4ab17e(0x165)]},'children':[this[_0x4ab17e(0x141)],this[_0x4ab17e(0x154)],this[_0x4ab17e(0x14b)]]},this[_0x4ab17e(0x160)]]}]}),this['on'](_0x4ab17e(0x156),(_0xde8ad9,_0x32660b)=>{const _0x27b21a=_0x4ab17e;_0x32660b&&_0x32660b[_0x27b21a(0x162)]&&'A'===_0x32660b[_0x27b21a(0x162)][_0x27b21a(0x14e)]&&_0x32660b[_0x27b21a(0x155)](),this[_0x27b21a(0x17a)](_0x27b21a(0x17f),{'id':_0x7b479d,'source':this,'uiInteraction':_0x27b21a(0x156)});}),this['on'](_0x4ab17e(0x16c),()=>{const _0x38a3dd=_0x4ab17e;this[_0x38a3dd(0x17a)](_0x38a3dd(0x17f),{'id':_0x7b479d,'source':this,'uiInteraction':_0x38a3dd(0x145)});}),this['on'](_0x4ab17e(0x157),()=>{const _0x325e81=_0x4ab17e;this[_0x325e81(0x17a)](_0x325e81(0x15a),{'origin':_0x325e81(0x17d),'id':_0x7b479d,'source':this});});}[_0x318659(0x176)](){const _0xe6244d=_0x318659;this[_0xe6244d(0x18c)]=!0x0;}[_0x318659(0x18a)](){const _0x350e20=_0x318659;this[_0x350e20(0x18c)]=!0x1;}[_0x318659(0x152)](){const _0x3514f2=_0x318659,_0x45dd1a=new _0x537421(this[_0x3514f2(0x150)]);return _0x45dd1a[_0x3514f2(0x178)]({'tag':_0x3514f2(0x153),'attributes':{'class':['ck',_0x3514f2(0x179),_0x3514f2(0x177),_0x3514f2(0x143),this[_0x3514f2(0x17b)]['if'](_0x3514f2(0x173),_0x3514f2(0x146),_0x4f34d8=>!_0x4f34d8)]}}),_0x45dd1a;}[_0x318659(0x14d)](){const _0x52584d=_0x318659,_0x3b2890=new _0x313dc0(this[_0x52584d(0x150)]);return _0x3b2890[_0x52584d(0x142)]({'label':_0x1fd10a(this[_0x52584d(0x150)],_0x52584d(0x15d)),'withText':!0x0}),_0x3b2890[_0x52584d(0x180)]({'on':{'click':this[_0x52584d(0x17b)]['to'](_0x4c5b7b=>{const _0x45dd01=_0x52584d;this[_0x45dd01(0x17a)](_0x45dd01(0x18b),{'id':this[_0x45dd01(0x158)]}),_0x4c5b7b[_0x45dd01(0x16b)]();})},'attributes':{'class':[_0x52584d(0x16f),_0x52584d(0x161),this[_0x52584d(0x17b)]['if'](_0x52584d(0x13f),_0x52584d(0x146),_0x372b1d=>_0x52584d(0x15f)!==_0x372b1d&&_0x52584d(0x187)!==_0x372b1d),this[_0x52584d(0x17b)]['if'](_0x52584d(0x13f),_0x52584d(0x161),_0x3b0ae5=>_0x52584d(0x15f)===_0x3b0ae5),this[_0x52584d(0x17b)]['if'](_0x52584d(0x13f),_0x52584d(0x167),_0x4479e2=>_0x52584d(0x187)===_0x4479e2)]}}),this['on'](_0x52584d(0x16d),(_0x30e2bf,_0x27b622,_0x490eba)=>{const _0x3bc106=_0x52584d;_0x3b2890[_0x3bc106(0x15e)]=_0x3bc106(0x15f)===_0x490eba,_0x3bc106(0x187)===_0x490eba&&(_0x3b2890[_0x3bc106(0x14f)]=_0x1fd10a(this[_0x3bc106(0x150)],_0x3bc106(0x169)),_0x3b2890[_0x3bc106(0x185)]=_0x2d6530);}),_0x3b2890;}[_0x318659(0x170)](){const _0x3efb50=_0x318659,_0xe1ab0e=new _0x313dc0(this[_0x3efb50(0x150)]);return _0xe1ab0e[_0x3efb50(0x142)]({'label':_0x1fd10a(this[_0x3efb50(0x150)],_0x3efb50(0x171)),'withText':!0x0}),_0xe1ab0e[_0x3efb50(0x180)]({'on':{'click':this[_0x3efb50(0x17b)]['to'](_0x540b73=>{const _0x1b650d=_0x3efb50;this[_0x1b650d(0x17a)](_0x1b650d(0x17e),{'id':this[_0x1b650d(0x158)]}),_0x540b73[_0x1b650d(0x16b)]();})},'attributes':{'class':[_0x3efb50(0x16a),this[_0x3efb50(0x17b)]['if'](_0x3efb50(0x13f),_0x3efb50(0x146),_0x5b8676=>_0x3efb50(0x15f)!==_0x5b8676&&_0x3efb50(0x182)!==_0x5b8676),this[_0x3efb50(0x17b)]['if'](_0x3efb50(0x13f),_0x3efb50(0x186),_0x24c0c6=>_0x3efb50(0x15f)===_0x24c0c6),this[_0x3efb50(0x17b)]['if'](_0x3efb50(0x13f),_0x3efb50(0x167),_0x2741d1=>_0x3efb50(0x182)===_0x2741d1)]}}),this['on'](_0x3efb50(0x16d),(_0x52415b,_0x5e63c2,_0xd8d933)=>{const _0x54d2a6=_0x3efb50;_0xe1ab0e[_0x54d2a6(0x15e)]=_0x54d2a6(0x15f)===_0xd8d933,_0x54d2a6(0x182)===_0xd8d933&&(_0xe1ab0e[_0x54d2a6(0x14f)]=_0x1fd10a(this[_0x54d2a6(0x150)],_0x54d2a6(0x184)),_0xe1ab0e[_0x54d2a6(0x185)]=_0x53f029);}),_0xe1ab0e;}[_0x318659(0x140)](){const _0x480559=_0x318659,_0x1bbdee=new _0x313dc0(this[_0x480559(0x150)]);return _0x1bbdee[_0x480559(0x142)]({'label':_0x1fd10a(this[_0x480559(0x150)],_0x480559(0x188)),'icon':_0x20b20b,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x480559(0x15c),'class':_0x480559(0x183)}),_0x1bbdee[_0x480559(0x168)](_0x480559(0x148))['to'](this,_0x480559(0x144),_0x4cd6b0=>_0x4cd6b0),_0x1bbdee['on'](_0x480559(0x174),()=>{const _0x357c6a=_0x480559;this[_0x357c6a(0x144)]=!this[_0x357c6a(0x144)];}),_0x1bbdee;}[_0x318659(0x163)](){const _0x425f3c=_0x318659,_0x18d921=new _0x313dc0(this[_0x425f3c(0x150)]);return _0x18d921[_0x425f3c(0x142)]({'label':_0x1fd10a(this[_0x425f3c(0x150)],_0x425f3c(0x15b)),'icon':_0x3d5c60,'withText':!0x0,'isEnabled':!0x1}),_0x18d921[_0x425f3c(0x180)]({'attributes':{'class':[_0x425f3c(0x16f),_0x425f3c(0x167),this[_0x425f3c(0x17b)]['if'](_0x425f3c(0x13f),_0x425f3c(0x146),_0x1180e5=>_0x425f3c(0x159)!==_0x1180e5)],'disabled':_0x425f3c(0x166)}}),_0x18d921;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x543fbb,KeystrokeHandler as _0x4dd248,FocusTracker as _0x40fe0f}from'ckeditor5/src/utils.js';import{View as _0x209539,ViewCollection as _0x41bb38,ButtonView as _0x25f23c,FormRowView as _0x19726f,createDropdown as _0x120b81,addListToDropdown as _0x347087,UIModel as _0x3e21e7,ButtonLabelView as _0x1e25af,LabeledFieldView as _0x530ac4,FocusCycler as _0x4290ff}from'ckeditor5/src/ui.js';import{getTranslation as _0x2befd0}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x3e1ab4}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x209539{['focusTracker']=new _0x40fe0f();['keystrokes']=new _0x4dd248();['focusCycler'];['_focusables']=new _0x41bb38();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x1de0ce,_0x30de81,_0xf73e46=!0x1){super(_0x1de0ce),this['_check']=_0x30de81,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x30de81['defaultModel']?_0x30de81['defaultModel']['id']:'',this['_defaultLabel']=_0x30de81['defaultModel']?_0x30de81['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x530ac4(this['locale'],()=>new _0x3e1ab4(_0x1de0ce)),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 _0x543fbb(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0xf73e46),_0x347087(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x19726f(this['locale'],{'children':[this['promptInputView']]}),new _0x19726f(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x254269,_0x43a2de)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x43a2de()):_0x43a2de();}),this['focusCycler']=new _0x4290ff({'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'](_0x33581c=>{this['_focusables']['add'](_0x33581c),this['focusTracker']['add'](_0x33581c['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 _0x148469 of this['_getFormValidators']()){const _0x52402d=_0x148469();if(_0x52402d)return this['promptInputView']['errorText']=_0x52402d,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x2befd0(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0xc47052=new _0x25f23c(this['locale']),t=this['locale']['t'];return _0xc47052['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0xc47052['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0xc47052;}['_createCancelButtonView'](){const _0x26f405=new _0x25f23c(this['locale']),t=this['locale']['t'];return _0x26f405['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x26f405['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x204593=>{_0x204593['stopPropagation']();})}}),_0x26f405['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x26f405;}['_setModelList'](_0x243daf){this['_modelSelectionDropdownItems']['clear']();const _0x62b38e=this['_check']['models'];if(_0x243daf)this['set']('modelDisplayMode','hidden');else{const _0x4806ad=0x1===_0x62b38e['length'];this['set']('modelDisplayMode',_0x4806ad?'name':'selector');}if(this['resetToDefault'](),_0x62b38e?.['length']){0x1===_0x62b38e['length']&&this['set']('activeModelName',_0x62b38e[0x0]['name']||_0x62b38e[0x0]['id']);for(const _0x40e189 of _0x62b38e){const _0x5be1f1=new _0x3e21e7({'label':_0x40e189['name'],'withText':!0x0,'role':'menuitemradio','id':_0x40e189['id'],'model':_0x40e189});_0x5be1f1['bind']('isOn')['to'](this,'modelId',_0x1a5234=>_0x1a5234===_0x40e189['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x5be1f1,'labelView':new po(this['locale'],_0x40e189)});}}}['_createModelSelectionDropdown'](){const _0x47ab7b=_0x120b81(this['locale']);return _0x47ab7b['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x47ab7b['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x47ab7b['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x45cea=>'selector'===_0x45cea),this['listenTo'](_0x47ab7b,'execute',_0xef5399=>{this['modelId']=_0xef5399['source']['model']['id'],_0x47ab7b['buttonView']['label']=_0xef5399['source']['label'];}),_0x47ab7b;}['_createModelNameView'](){const _0x3592d2=new wo(this['locale']);return _0x3592d2['bind']('text')['to'](this,'activeModelName',_0xcaba8e=>_0xcaba8e??''),_0x3592d2['bind']('isVisible')['to'](this,'modelDisplayMode',_0x13a88f=>'name'===_0x13a88f),_0x3592d2;}['_createActionsFooterView'](){const _0x1f9fcc=new _0x209539(this['locale']);return _0x1f9fcc['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']]}]}),_0x1f9fcc;}}class wo extends _0x209539{constructor(_0xd7e6c3){super(_0xd7e6c3),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x5258f8=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x5258f8['if']('isVisible','ck-hidden',_0x127d39=>!_0x127d39)]},'children':[{'text':_0x5258f8['to']('text')}]});}}class po extends _0x1e25af{constructor(_0x5b9f87,_0x3f30f7){super();const _0x258bb7=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x258bb7['to']('style'),'id':_0x258bb7['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x258bb7['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x3f30f7['description']||'']}]}]});}}
23
+ import{Collection as _0x34c2b5,KeystrokeHandler as _0x409f49,FocusTracker as _0x4dbff8}from'ckeditor5/src/utils.js';import{View as _0x6b0250,ViewCollection as _0x440e79,ButtonView as _0x5bdfa6,FormRowView as _0x39ba9c,createDropdown as _0x26fa7a,addListToDropdown as _0x1e0957,UIModel as _0x55269f,ButtonLabelView as _0x2c3a60,LabeledFieldView as _0x3bf3db,FocusCycler as _0x50df46}from'ckeditor5/src/ui.js';import{getTranslation as _0x429a6a}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x29af56}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x6b0250{['focusTracker']=new _0x4dbff8();['keystrokes']=new _0x409f49();['focusCycler'];['_focusables']=new _0x440e79();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x322b4a,_0x2f5780,_0x3dd9b4=!0x1){super(_0x322b4a),this['_check']=_0x2f5780,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x2f5780['defaultModel']?_0x2f5780['defaultModel']['id']:'',this['_defaultLabel']=_0x2f5780['defaultModel']?_0x2f5780['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x3bf3db(this['locale'],()=>new _0x29af56(_0x322b4a)),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 _0x34c2b5(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x3dd9b4),_0x1e0957(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x39ba9c(this['locale'],{'children':[this['promptInputView']]}),new _0x39ba9c(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x56f4d2,_0x1b3b1c)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x1b3b1c()):_0x1b3b1c();}),this['focusCycler']=new _0x50df46({'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'](_0x1f2236=>{this['_focusables']['add'](_0x1f2236),this['focusTracker']['add'](_0x1f2236['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 _0x32db53 of this['_getFormValidators']()){const _0x16e7f8=_0x32db53();if(_0x16e7f8)return this['promptInputView']['errorText']=_0x16e7f8,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x429a6a(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x1aca38=new _0x5bdfa6(this['locale']),t=this['locale']['t'];return _0x1aca38['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x1aca38['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x1aca38;}['_createCancelButtonView'](){const _0x5662e8=new _0x5bdfa6(this['locale']),t=this['locale']['t'];return _0x5662e8['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x5662e8['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x54e709=>{_0x54e709['stopPropagation']();})}}),_0x5662e8['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x5662e8;}['_setModelList'](_0xe445fb){this['_modelSelectionDropdownItems']['clear']();const _0x26d0e0=this['_check']['models'];if(_0xe445fb)this['set']('modelDisplayMode','hidden');else{const _0x327885=0x1===_0x26d0e0['length'];this['set']('modelDisplayMode',_0x327885?'name':'selector');}if(this['resetToDefault'](),_0x26d0e0?.['length']){0x1===_0x26d0e0['length']&&this['set']('activeModelName',_0x26d0e0[0x0]['name']||_0x26d0e0[0x0]['id']);for(const _0x47dafc of _0x26d0e0){const _0xc5d808=new _0x55269f({'label':_0x47dafc['name'],'withText':!0x0,'role':'menuitemradio','id':_0x47dafc['id'],'model':_0x47dafc});_0xc5d808['bind']('isOn')['to'](this,'modelId',_0x4456e8=>_0x4456e8===_0x47dafc['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0xc5d808,'labelView':new ko(this['locale'],_0x47dafc)});}}}['_createModelSelectionDropdown'](){const _0x370982=_0x26fa7a(this['locale']);return _0x370982['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x370982['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x370982['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x596470=>'selector'===_0x596470),this['listenTo'](_0x370982,'execute',_0x4172b6=>{this['modelId']=_0x4172b6['source']['model']['id'],_0x370982['buttonView']['label']=_0x4172b6['source']['label'];}),_0x370982;}['_createModelNameView'](){const _0x85d4ae=new _o(this['locale']);return _0x85d4ae['bind']('text')['to'](this,'activeModelName',_0x1e771c=>_0x1e771c??''),_0x85d4ae['bind']('isVisible')['to'](this,'modelDisplayMode',_0x1a912d=>'name'===_0x1a912d),_0x85d4ae;}['_createActionsFooterView'](){const _0x541821=new _0x6b0250(this['locale']);return _0x541821['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']]}]}),_0x541821;}}class _o extends _0x6b0250{constructor(_0x90d584){super(_0x90d584),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x9d8280=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x9d8280['if']('isVisible','ck-hidden',_0x2f868d=>!_0x2f868d)]},'children':[{'text':_0x9d8280['to']('text')}]});}}class ko extends _0x2c3a60{constructor(_0x4c8ec8,_0x3e12e0){super();const _0x1aeee9=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x1aeee9['to']('style'),'id':_0x1aeee9['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x1aeee9['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x3e12e0['description']||'']}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x84dba,_0x48fc23){var _0x4099ca=_0x18f3,_0x4a95a5=_0x84dba();while(!![]){try{var _0x1d1cba=parseInt(_0x4099ca(0x159))/0x1*(-parseInt(_0x4099ca(0x14e))/0x2)+parseInt(_0x4099ca(0x14f))/0x3*(-parseInt(_0x4099ca(0x154))/0x4)+parseInt(_0x4099ca(0x151))/0x5*(parseInt(_0x4099ca(0x153))/0x6)+-parseInt(_0x4099ca(0x156))/0x7*(parseInt(_0x4099ca(0x157))/0x8)+parseInt(_0x4099ca(0x158))/0x9+parseInt(_0x4099ca(0x14d))/0xa+parseInt(_0x4099ca(0x152))/0xb;if(_0x1d1cba===_0x48fc23)break;else _0x4a95a5['push'](_0x4a95a5['shift']());}catch(_0x24e0ed){_0x4a95a5['push'](_0x4a95a5['shift']());}}}(_0x5636,0x86969));function _0x18f3(_0x18804b,_0x59c562){var _0x563691=_0x5636();return _0x18f3=function(_0x18f358,_0xa04f98){_0x18f358=_0x18f358-0x14b;var _0x7f14f7=_0x563691[_0x18f358];return _0x7f14f7;},_0x18f3(_0x18804b,_0x59c562);}function _0x5636(){var _0x1bfc02=['finishReview','7176790bTOtsP','34TfyZEX','408705CuCnas','ck-ai-button-primary','2410FqdCGP','3442648xAPdfk','888KOLjpy','4eRIPrK','fire','2723399NOhxtG','8pfazVa','376659DROfBS','3957QUKtEr','execute','set'];_0x5636=function(){return _0x1bfc02;};return _0x5636();}import{ButtonView as _0x57e89e}from'ckeditor5/src/ui.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x57e89e{constructor(_0xcddb19,_0x2315bc){var _0x10b8bd=_0x18f3;super(_0x2315bc),this[_0x10b8bd(0x14b)]({'label':_0xcddb19,'withText':!0x0,'class':_0x10b8bd(0x150)}),this['on'](_0x10b8bd(0x15a),()=>{var _0x2a1502=_0x10b8bd;this[_0x2a1502(0x155)](_0x2a1502(0x14c));});}}
23
+ function _0x2d72(_0x2125ee,_0x33953f){var _0x3750a=_0x3750();return _0x2d72=function(_0x2d7223,_0x404308){_0x2d7223=_0x2d7223-0x1b6;var _0x244cf6=_0x3750a[_0x2d7223];return _0x244cf6;},_0x2d72(_0x2125ee,_0x33953f);}(function(_0x5eee65,_0x6df0c9){var _0x4acb4b=_0x2d72,_0x58d39f=_0x5eee65();while(!![]){try{var _0x2cde72=parseInt(_0x4acb4b(0x1bf))/0x1*(parseInt(_0x4acb4b(0x1bd))/0x2)+-parseInt(_0x4acb4b(0x1be))/0x3*(-parseInt(_0x4acb4b(0x1c4))/0x4)+parseInt(_0x4acb4b(0x1ba))/0x5+parseInt(_0x4acb4b(0x1b9))/0x6+-parseInt(_0x4acb4b(0x1b7))/0x7*(-parseInt(_0x4acb4b(0x1b8))/0x8)+parseInt(_0x4acb4b(0x1bc))/0x9*(parseInt(_0x4acb4b(0x1c0))/0xa)+-parseInt(_0x4acb4b(0x1b6))/0xb;if(_0x2cde72===_0x6df0c9)break;else _0x58d39f['push'](_0x58d39f['shift']());}catch(_0x1f259a){_0x58d39f['push'](_0x58d39f['shift']());}}}(_0x3750,0x8c3e6));import{ButtonView as _0x39a568}from'ckeditor5/src/ui.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x39a568{constructor(_0x4c3e10,_0x1301d4){var _0x56fab3=_0x2d72;super(_0x1301d4),this[_0x56fab3(0x1c3)]({'label':_0x4c3e10,'withText':!0x0,'class':_0x56fab3(0x1bb)}),this['on'](_0x56fab3(0x1c2),()=>{var _0x57910a=_0x56fab3;this[_0x57910a(0x1c1)](_0x57910a(0x1c5));});}}function _0x3750(){var _0x53d4a6=['839FeqaTX','10dMeulE','fire','execute','set','4030024ktRKpj','finishReview','30466513KlafiI','192885sQaItH','8hJpFIC','4864680loJDlG','2494420pqMGel','ck-ai-button-primary','1164177KwNteM','2074WjuFpj','3lWRvCv'];_0x3750=function(){return _0x53d4a6;};return _0x3750();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5e1b(_0x2122af,_0x3f1546){const _0x146574=_0x1465();return _0x5e1b=function(_0x5e1b63,_0x11711f){_0x5e1b63=_0x5e1b63-0x147;let _0x231218=_0x146574[_0x5e1b63];return _0x231218;},_0x5e1b(_0x2122af,_0x3f1546);}(function(_0x496d6e,_0x1f6979){const _0x3c56e7=_0x5e1b,_0x517928=_0x496d6e();while(!![]){try{const _0x349e9d=parseInt(_0x3c56e7(0x14c))/0x1+parseInt(_0x3c56e7(0x152))/0x2*(-parseInt(_0x3c56e7(0x158))/0x3)+parseInt(_0x3c56e7(0x151))/0x4*(parseInt(_0x3c56e7(0x157))/0x5)+parseInt(_0x3c56e7(0x150))/0x6+-parseInt(_0x3c56e7(0x14e))/0x7*(parseInt(_0x3c56e7(0x155))/0x8)+parseInt(_0x3c56e7(0x153))/0x9+-parseInt(_0x3c56e7(0x14b))/0xa;if(_0x349e9d===_0x1f6979)break;else _0x517928['push'](_0x517928['shift']());}catch(_0x6b0006){_0x517928['push'](_0x517928['shift']());}}}(_0x1465,0x67580));import{View as _0x1d995b}from'ckeditor5/src/ui.js';function _0x1465(){const _0x1c8d08=['48XogXnp','ck-ai_review__general-error-container','set','errorMessage','ck-hidden','bindTemplate','2221120fTMYSb','635725FENrXG','div','5470129MtfnDR','ck\x20ck-ai-notification\x20ck-ai-notification_error','538458hkXIXE','632WRDonC','7054kDoYgb','6420789EaLGyN','setTemplate','8LKVbWZ','isVisible','1405QFAyAs'];_0x1465=function(){return _0x1c8d08;};return _0x1465();}export class AIReviewCoreGeneralErrorView extends _0x1d995b{constructor(_0x533923){const _0x4ecf0c=_0x5e1b;super(_0x533923),this[_0x4ecf0c(0x147)](_0x4ecf0c(0x156),!0x1),this[_0x4ecf0c(0x147)](_0x4ecf0c(0x148),'');const _0x57700c=this[_0x4ecf0c(0x14a)];this[_0x4ecf0c(0x154)]({'tag':_0x4ecf0c(0x14d),'attributes':{'class':['ck',_0x4ecf0c(0x159),_0x57700c['if'](_0x4ecf0c(0x156),_0x4ecf0c(0x149),_0x543b74=>!_0x543b74)]},'children':[{'tag':'p','attributes':{'class':_0x4ecf0c(0x14f)},'children':[{'text':_0x57700c['to'](_0x4ecf0c(0x148))}]}]});}}
23
+ (function(_0x3b037e,_0x5bfe23){const _0x4e4f37=_0x308c,_0x22bd8d=_0x3b037e();while(!![]){try{const _0x19fd9f=-parseInt(_0x4e4f37(0x162))/0x1+-parseInt(_0x4e4f37(0x166))/0x2*(parseInt(_0x4e4f37(0x171))/0x3)+-parseInt(_0x4e4f37(0x168))/0x4+parseInt(_0x4e4f37(0x167))/0x5+-parseInt(_0x4e4f37(0x169))/0x6+-parseInt(_0x4e4f37(0x163))/0x7*(-parseInt(_0x4e4f37(0x16b))/0x8)+parseInt(_0x4e4f37(0x170))/0x9;if(_0x19fd9f===_0x5bfe23)break;else _0x22bd8d['push'](_0x22bd8d['shift']());}catch(_0x443d8e){_0x22bd8d['push'](_0x22bd8d['shift']());}}}(_0x141d,0x6c9f7));import{View as _0x44b544}from'ckeditor5/src/ui.js';function _0x308c(_0x58be47,_0xa95b46){const _0x141dc3=_0x141d();return _0x308c=function(_0x308c9,_0x4d7acc){_0x308c9=_0x308c9-0x160;let _0x534b0f=_0x141dc3[_0x308c9];return _0x534b0f;},_0x308c(_0x58be47,_0xa95b46);}export class AIReviewCoreGeneralErrorView extends _0x44b544{constructor(_0xce226e){const _0x4bb571=_0x308c;super(_0xce226e),this[_0x4bb571(0x16d)](_0x4bb571(0x164),!0x1),this[_0x4bb571(0x16d)](_0x4bb571(0x165),'');const _0x5f9a4e=this[_0x4bb571(0x161)];this[_0x4bb571(0x160)]({'tag':_0x4bb571(0x16f),'attributes':{'class':['ck',_0x4bb571(0x16e),_0x5f9a4e['if'](_0x4bb571(0x164),_0x4bb571(0x16c),_0x36d122=>!_0x36d122)]},'children':[{'tag':'p','attributes':{'class':_0x4bb571(0x16a)},'children':[{'text':_0x5f9a4e['to'](_0x4bb571(0x165))}]}]});}}function _0x141d(){const _0x17296e=['div','18401868pBfUrP','7947uBzZli','setTemplate','bindTemplate','409811KqRzEw','896889Couscp','isVisible','errorMessage','390GdGPgN','270440PQLWRI','2678520zaLmcW','2653236pUZLwz','ck\x20ck-ai-notification\x20ck-ai-notification_error','24KctmUy','ck-hidden','set','ck-ai_review__general-error-container'];_0x141d=function(){return _0x17296e;};return _0x141d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2b85f4=_0x23e8;(function(_0x1254e0,_0x34a88a){var _0x464a38=_0x23e8,_0x9db191=_0x1254e0();while(!![]){try{var _0x25a4d4=parseInt(_0x464a38(0x93))/0x1*(parseInt(_0x464a38(0x8b))/0x2)+-parseInt(_0x464a38(0x8f))/0x3*(-parseInt(_0x464a38(0x94))/0x4)+parseInt(_0x464a38(0x8e))/0x5+parseInt(_0x464a38(0x9a))/0x6+-parseInt(_0x464a38(0x98))/0x7*(parseInt(_0x464a38(0x99))/0x8)+parseInt(_0x464a38(0x86))/0x9*(-parseInt(_0x464a38(0x9d))/0xa)+-parseInt(_0x464a38(0x87))/0xb*(-parseInt(_0x464a38(0x8d))/0xc);if(_0x25a4d4===_0x34a88a)break;else _0x9db191['push'](_0x9db191['shift']());}catch(_0x14da40){_0x9db191['push'](_0x9db191['shift']());}}}(_0x350c,0xd53a3));import{TextareaView as _0x1dd154}from'ckeditor5/src/ui.js';function _0x23e8(_0x6b83c5,_0x5e01bd){var _0x350c79=_0x350c();return _0x23e8=function(_0x23e884,_0x53a74d){_0x23e884=_0x23e884-0x83;var _0x442417=_0x350c79[_0x23e884];return _0x442417;},_0x23e8(_0x6b83c5,_0x5e01bd);}function _0x350c(){var _0x4bc8e8=['ck-review__prompt-input','10BNpEyH','MIN_ROWS','value','listenTo','maxRows','13844655eKsIUL','1206271RPmkoK','keystrokes','set','trim','1196986YjRUeA','render','192ZrxErf','671710yKcsmb','13377UEiAhb','isEmpty','update','ai-review-prompt-input','1ugpvqT','1228XRzLmz','element','minRows','MAX_ROWS','42MMIBVA','2151592LVrmML','1014264vJudEn','extendTemplate'];_0x350c=function(){return _0x4bc8e8;};return _0x350c();}import{KeystrokeHandler as _0x3f88dc}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x1dd154{[_0x2b85f4(0x88)];static [_0x2b85f4(0x9e)]=0x1;static [_0x2b85f4(0x97)]=0xc;constructor(_0x364a62){var _0x3ad95e=_0x2b85f4;super(_0x364a62),this[_0x3ad95e(0x89)](_0x3ad95e(0x90),!0x0),this[_0x3ad95e(0x88)]=new _0x3f88dc(),this[_0x3ad95e(0x96)]=AIReviewCorePromptInputView[_0x3ad95e(0x9e)],this[_0x3ad95e(0x85)]=AIReviewCorePromptInputView[_0x3ad95e(0x97)],this[_0x3ad95e(0x9b)]({'attributes':{'id':_0x3ad95e(0x92),'class':['ck',_0x3ad95e(0x9c)]}});}[_0x2b85f4(0x8c)](){var _0x51f17b=_0x2b85f4;super[_0x51f17b(0x8c)](),this['on'](_0x51f17b(0x91),()=>{var _0x33c69a=_0x51f17b;this[_0x33c69a(0x90)]=''===this[_0x33c69a(0x95)][_0x33c69a(0x83)]?.[_0x33c69a(0x8a)]();}),this[_0x51f17b(0x88)][_0x51f17b(0x84)](this[_0x51f17b(0x95)]);}}
23
+ function _0x1efb(_0x7f8241,_0x121fb7){var _0x16cd10=_0x16cd();return _0x1efb=function(_0x1efbb0,_0xa0a5ac){_0x1efbb0=_0x1efbb0-0xf3;var _0x56dea6=_0x16cd10[_0x1efbb0];return _0x56dea6;},_0x1efb(_0x7f8241,_0x121fb7);}var _0x522634=_0x1efb;(function(_0x585eb2,_0x578bd1){var _0x2ac46a=_0x1efb,_0x60526f=_0x585eb2();while(!![]){try{var _0x54c6ab=parseInt(_0x2ac46a(0xf9))/0x1+-parseInt(_0x2ac46a(0xfe))/0x2+parseInt(_0x2ac46a(0xfb))/0x3+-parseInt(_0x2ac46a(0x104))/0x4+parseInt(_0x2ac46a(0x105))/0x5*(parseInt(_0x2ac46a(0xf5))/0x6)+-parseInt(_0x2ac46a(0x108))/0x7*(-parseInt(_0x2ac46a(0x103))/0x8)+parseInt(_0x2ac46a(0x109))/0x9;if(_0x54c6ab===_0x578bd1)break;else _0x60526f['push'](_0x60526f['shift']());}catch(_0x1a0365){_0x60526f['push'](_0x60526f['shift']());}}}(_0x16cd,0x69911));import{TextareaView as _0x38cfb8}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0xa59a57}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x38cfb8{[_0x522634(0xff)];static [_0x522634(0xfa)]=0x1;static [_0x522634(0xfc)]=0xc;constructor(_0x236f65){var _0x2acf93=_0x522634;super(_0x236f65),this[_0x2acf93(0x106)](_0x2acf93(0x10a),!0x0),this[_0x2acf93(0xff)]=new _0xa59a57(),this[_0x2acf93(0xf4)]=AIReviewCorePromptInputView[_0x2acf93(0xfa)],this[_0x2acf93(0x10b)]=AIReviewCorePromptInputView[_0x2acf93(0xfc)],this[_0x2acf93(0xfd)]({'attributes':{'id':_0x2acf93(0xf7),'class':['ck',_0x2acf93(0xf8)]}});}[_0x522634(0x102)](){var _0x55b9e3=_0x522634;super[_0x55b9e3(0x102)](),this['on'](_0x55b9e3(0xf3),()=>{var _0x5350bb=_0x55b9e3;this[_0x5350bb(0x10a)]=''===this[_0x5350bb(0x101)][_0x5350bb(0xf6)]?.[_0x5350bb(0x107)]();}),this[_0x55b9e3(0xff)][_0x55b9e3(0x100)](this[_0x55b9e3(0x101)]);}}function _0x16cd(){var _0x4a5e7d=['5uvsbRI','set','trim','607271NejUzE','262620OvNzKC','isEmpty','maxRows','update','minRows','744792kcXjSX','value','ai-review-prompt-input','ck-review__prompt-input','772277xlJkwE','MIN_ROWS','576819gJSMwG','MAX_ROWS','extendTemplate','371614asTkOi','keystrokes','listenTo','element','render','24MHOGRI','3039652ZcNxVG'];_0x16cd=function(){return _0x4a5e7d;};return _0x16cd();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x16ab(){const _0x12288f=['entries','add','hasChecks','runReviewCheck','clear','452520CthHBf','2gkCGhr','length','isVisible','delegate','310HjjwkM','_checkViews','ck-ai_review__check-list','13470yjyfua','120CqwZue','resetToDefault','setTemplate','298413fNjMMP','ck-hidden','div','bindTemplate','672548uBeWeS','1752972oAKINq','setChecks','resetAllParameterizedChecks','4071221bxERqA','510837oQcdTz','locale','_setupTemplate'];_0x16ab=function(){return _0x12288f;};return _0x16ab();}const _0x2462fb=_0x3ae8;(function(_0x1387d8,_0x406dde){const _0x4eb83b=_0x3ae8,_0x470385=_0x1387d8();while(!![]){try{const _0x180a43=parseInt(_0x4eb83b(0xa5))/0x1+parseInt(_0x4eb83b(0xb3))/0x2*(-parseInt(_0x4eb83b(0xaa))/0x3)+-parseInt(_0x4eb83b(0x9e))/0x4*(-parseInt(_0x4eb83b(0x9d))/0x5)+parseInt(_0x4eb83b(0xa6))/0x6+parseInt(_0x4eb83b(0xa9))/0x7+-parseInt(_0x4eb83b(0xb2))/0x8+parseInt(_0x4eb83b(0xa1))/0x9*(-parseInt(_0x4eb83b(0x9a))/0xa);if(_0x180a43===_0x406dde)break;else _0x470385['push'](_0x470385['shift']());}catch(_0xf1fccf){_0x470385['push'](_0x470385['shift']());}}}(_0x16ab,0x5aec6));import{ListItemView as _0x5ecc1,ViewCollection as _0x17bfa4}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x498e19}from'./aireviewcorereviewcommandlistitemview.js';function _0x3ae8(_0xe6f75c,_0x332884){const _0x16ab4b=_0x16ab();return _0x3ae8=function(_0x3ae8fc,_0x313678){_0x3ae8fc=_0x3ae8fc-0x98;let _0x26c14b=_0x16ab4b[_0x3ae8fc];return _0x26c14b;},_0x3ae8(_0xe6f75c,_0x332884);}import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x5ecc1{[_0x2462fb(0x9b)];constructor(_0x369c3c){const _0x34ad5d=_0x2462fb;super(_0x369c3c),this[_0x34ad5d(0x9b)]=new _0x17bfa4(),this[_0x34ad5d(0xac)]();}[_0x2462fb(0xa7)](_0x5d0e64,_0x4ab09b=!0x1){const _0x5bc2f1=_0x2462fb;this[_0x5bc2f1(0x9b)][_0x5bc2f1(0xb1)]();for(const [_0x214708,_0xa519c0]of _0x5d0e64[_0x5bc2f1(0xad)]()){const _0x5e79a5=new _0x498e19(this[_0x5bc2f1(0xab)],_0xa519c0,_0x214708,_0x4ab09b);_0x5e79a5[_0x5bc2f1(0x99)](_0x5bc2f1(0xb0))['to'](this),this[_0x5bc2f1(0x9b)][_0x5bc2f1(0xae)](_0x5e79a5);}}[_0x2462fb(0xaf)](){const _0x571152=_0x2462fb;return this[_0x571152(0x9b)][_0x571152(0xb4)]>0x0;}[_0x2462fb(0xa8)](){const _0x49ccf3=_0x2462fb;for(const _0x28be87 of this[_0x49ccf3(0x9b)])_0x28be87 instanceof _0x498e19&&_0x28be87[_0x49ccf3(0x9f)]();}[_0x2462fb(0xac)](){const _0x373650=_0x2462fb,_0x35102c=this[_0x373650(0xa4)];this[_0x373650(0xa0)]({'tag':_0x373650(0xa3),'attributes':{'class':[_0x373650(0x9c),_0x35102c['if'](_0x373650(0x98),_0x373650(0xa2),_0x1ce44c=>!_0x1ce44c)]},'children':this[_0x373650(0x9b)]});}}
23
+ function _0x335a(){const _0x378188=['add','setChecks','ck-hidden','680CpMKTW','50wyptoe','hasChecks','175AdIhPr','resetToDefault','isVisible','length','div','169052BhQFZN','268247jLeVHq','22408KTGhJU','runReviewCheck','locale','14649qOfQkP','1403347SOurVx','setTemplate','58382616ejozDM','_setupTemplate','clear','282AyazSe','ck-ai_review__check-list','bindTemplate','entries','245059oXIJpC','_checkViews','delegate','2151OTrDUm','resetAllParameterizedChecks'];_0x335a=function(){return _0x378188;};return _0x335a();}const _0xa0fac9=_0x3e1c;(function(_0x175db7,_0x523bc0){const _0x5bbaf0=_0x3e1c,_0x214d8d=_0x175db7();while(!![]){try{const _0x10f04e=-parseInt(_0x5bbaf0(0xc7))/0x1+parseInt(_0x5bbaf0(0xcf))/0x2*(-parseInt(_0x5bbaf0(0xbd))/0x3)+-parseInt(_0x5bbaf0(0xd7))/0x4*(parseInt(_0x5bbaf0(0xd2))/0x5)+-parseInt(_0x5bbaf0(0xc3))/0x6*(parseInt(_0x5bbaf0(0xd8))/0x7)+parseInt(_0x5bbaf0(0xd9))/0x8*(parseInt(_0x5bbaf0(0xca))/0x9)+parseInt(_0x5bbaf0(0xd0))/0xa*(parseInt(_0x5bbaf0(0xbe))/0xb)+parseInt(_0x5bbaf0(0xc0))/0xc;if(_0x10f04e===_0x523bc0)break;else _0x214d8d['push'](_0x214d8d['shift']());}catch(_0x2e75b3){_0x214d8d['push'](_0x214d8d['shift']());}}}(_0x335a,0xf0f5b));import{ListItemView as _0x358b2b,ViewCollection as _0x312271}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x3413de}from'./aireviewcorereviewcommandlistitemview.js';function _0x3e1c(_0x41c3a1,_0x5bd712){const _0x335ac2=_0x335a();return _0x3e1c=function(_0x3e1c16,_0x35f5eb){_0x3e1c16=_0x3e1c16-0xbd;let _0x5eaf39=_0x335ac2[_0x3e1c16];return _0x5eaf39;},_0x3e1c(_0x41c3a1,_0x5bd712);}import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x358b2b{[_0xa0fac9(0xc8)];constructor(_0x1bd313){const _0x3b26fc=_0xa0fac9;super(_0x1bd313),this[_0x3b26fc(0xc8)]=new _0x312271(),this[_0x3b26fc(0xc1)]();}[_0xa0fac9(0xcd)](_0x534efb,_0x4449fb=!0x1){const _0x529f93=_0xa0fac9;this[_0x529f93(0xc8)][_0x529f93(0xc2)]();for(const [_0x24a7a3,_0x935fd]of _0x534efb[_0x529f93(0xc6)]()){const _0x2a4a0f=new _0x3413de(this[_0x529f93(0xdb)],_0x935fd,_0x24a7a3,_0x4449fb);_0x2a4a0f[_0x529f93(0xc9)](_0x529f93(0xda))['to'](this),this[_0x529f93(0xc8)][_0x529f93(0xcc)](_0x2a4a0f);}}[_0xa0fac9(0xd1)](){const _0xf4391d=_0xa0fac9;return this[_0xf4391d(0xc8)][_0xf4391d(0xd5)]>0x0;}[_0xa0fac9(0xcb)](){const _0x4ea1c1=_0xa0fac9;for(const _0x2d773e of this[_0x4ea1c1(0xc8)])_0x2d773e instanceof _0x3413de&&_0x2d773e[_0x4ea1c1(0xd3)]();}[_0xa0fac9(0xc1)](){const _0x1cb016=_0xa0fac9,_0x48cb02=this[_0x1cb016(0xc5)];this[_0x1cb016(0xbf)]({'tag':_0x1cb016(0xd6),'attributes':{'class':[_0x1cb016(0xc4),_0x48cb02['if'](_0x1cb016(0xd4),_0x1cb016(0xce),_0x432c46=>!_0x432c46)]},'children':this[_0x1cb016(0xc8)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x14d318,IconView as _0xde2601,View as _0x27fd7f,ViewCollection as _0x12f70d,ButtonView as _0x3f24e8,clickOutsideHandler as _0xc5bd36}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x345686}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as _0x14443f}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x3e1b6c}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x14d318{['_formItemsCollection']=new _0x12f70d();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x46cfb0,_0x1b8ebc,_0x1569ab,_0x32612a=!0x1){super(_0x46cfb0),this['_hideModels']=_0x32612a,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x1b8ebc['isParameterized']);const _0x1655eb=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',_0x1515e3=>_0x1515e3),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x30af92=>_0x30af92)],'style':{'--ck-ai-review-check-list-item-index':_0x1569ab}},'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':_0x1b8ebc['title']}]},_0x1655eb]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x1b8ebc['description']?[{'text':_0x1b8ebc['description']}]:[]}]}]},..._0x1b8ebc['isParameterized']?[this['_createParameterizedView'](_0x1b8ebc)]:[],...'custom'===_0x1b8ebc['id']?[this['_createCustomView'](_0x1b8ebc,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x1b8ebc['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x1b8ebc['id'],'args':_0x1b8ebc['useArgs']?_0x1b8ebc['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0xc5bd36({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x1543a4=>{_0x1543a4['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x113ada=new _0xde2601();return _0x113ada['content']=_0x345686,_0x113ada['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x113ada;}['_createParameterizedView'](_0x57f645){const _0x5af255=new _0x27fd7f(),_0xfcaa53=this['_createFormView'](_0x57f645);return _0x5af255['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x4609f2=>!_0x4609f2)]},'children':[_0xfcaa53]}),_0x5af255;}['_createFormView'](_0x547505){const _0x421eaf=new _0x27fd7f(),_0x5143df=Array['isArray'](_0x547505['options'])?_0x547505['options']:[],_0xd97e40=new _0x3f24e8(this['locale']),t=this['locale']['t'];_0xd97e40['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0xd97e40['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x9918ff=>{_0x9918ff['stopPropagation']();})}}),_0xd97e40['on']('execute',()=>{const _0x13a2d2=[],_0x2233c3={};this['_formItemsCollection']['forEach'](_0x508ee7=>{_0x13a2d2['push'](_0x508ee7['value']),_0x547505['useArgs']&&_0x547505['options']&&(_0x2233c3[_0x508ee7['argsKey']]=_0x508ee7['value']);}),this['fire']('runReviewCheck',{'id':_0x547505['id'],'params':_0x13a2d2['length']?_0x13a2d2:void 0x0,'args':Object['keys'](_0x2233c3)['length']?_0x2233c3:void 0x0});});const _0x21867f=_0x5143df['length'];return _0x5143df['forEach']((_0x2a5a4c,_0x3c0a54)=>{const _0x5bbff7=_0x3c0a54===_0x21867f-0x1;this['_formItemsCollection']['add'](new _0x14443f(this['locale'],_0x2a5a4c,_0x5bbff7?_0xd97e40:null));}),_0x421eaf['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x421eaf;}['_createCustomView'](_0x59e95e,_0x5a0c22=!0x1){return this['_customCheckView']=new _0x3e1b6c(this['locale'],_0x59e95e,_0x5a0c22),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',_0x56387f=>!_0x56387f)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x301fdf,_0x213816,_0x85df7)=>{_0x85df7||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
23
+ import{ListItemView as _0x53ad62,IconView as _0x148121,View as _0x39c222,ViewCollection as _0x5daa06,ButtonView as _0x36c6ba,clickOutsideHandler as _0x2a5d96}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x2e74f2}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as _0x5e7971}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x3a32eb}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x53ad62{['_formItemsCollection']=new _0x5daa06();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x366268,_0x30fd35,_0x206a5a,_0x29703a=!0x1){super(_0x366268),this['_hideModels']=_0x29703a,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x30fd35['isParameterized']);const _0xd64f0e=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',_0x5e0abe=>_0x5e0abe),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x51dc14=>_0x51dc14)],'style':{'--ck-ai-review-check-list-item-index':_0x206a5a}},'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':_0x30fd35['title']}]},_0xd64f0e]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x30fd35['description']?[{'text':_0x30fd35['description']}]:[]}]}]},..._0x30fd35['isParameterized']?[this['_createParameterizedView'](_0x30fd35)]:[],...'custom'===_0x30fd35['id']?[this['_createCustomView'](_0x30fd35,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x30fd35['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x30fd35['id'],'args':_0x30fd35['useArgs']?_0x30fd35['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x2a5d96({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x5f5aac=>{_0x5f5aac['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x204c0f=new _0x148121();return _0x204c0f['content']=_0x2e74f2,_0x204c0f['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x204c0f;}['_createParameterizedView'](_0x20ffd5){const _0x391e45=new _0x39c222(),_0x2403db=this['_createFormView'](_0x20ffd5);return _0x391e45['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x55a244=>!_0x55a244)]},'children':[_0x2403db]}),_0x391e45;}['_createFormView'](_0x3d7f64){const _0x1ec55e=new _0x39c222(),_0x7ccd80=Array['isArray'](_0x3d7f64['options'])?_0x3d7f64['options']:[],_0x3c575a=new _0x36c6ba(this['locale']),t=this['locale']['t'];_0x3c575a['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3c575a['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x1b52c5=>{_0x1b52c5['stopPropagation']();})}}),_0x3c575a['on']('execute',()=>{const _0x499ce2=[],_0x2ddd6c={};this['_formItemsCollection']['forEach'](_0x5af515=>{_0x499ce2['push'](_0x5af515['value']),_0x3d7f64['useArgs']&&_0x3d7f64['options']&&(_0x2ddd6c[_0x5af515['argsKey']]=_0x5af515['value']);}),this['fire']('runReviewCheck',{'id':_0x3d7f64['id'],'params':_0x499ce2['length']?_0x499ce2:void 0x0,'args':Object['keys'](_0x2ddd6c)['length']?_0x2ddd6c:void 0x0});});const _0x1e14c0=_0x7ccd80['length'];return _0x7ccd80['forEach']((_0x32ecac,_0x2cabcb)=>{const _0x3ccf0e=_0x2cabcb===_0x1e14c0-0x1;this['_formItemsCollection']['add'](new _0x5e7971(this['locale'],_0x32ecac,_0x3ccf0e?_0x3c575a:null));}),_0x1ec55e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x1ec55e;}['_createCustomView'](_0x26057d,_0x11b8c2=!0x1){return this['_customCheckView']=new _0x3a32eb(this['locale'],_0x26057d,_0x11b8c2),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',_0x12ee1f=>!_0x12ee1f)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x535057,_0x2f69b8,_0x3c3c8d)=>{_0x3c3c8d||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x354d2d=_0x5819;(function(_0x3fdca1,_0x5d60e6){const _0x513816=_0x5819,_0x3b55f3=_0x3fdca1();while(!![]){try{const _0x2f0816=-parseInt(_0x513816(0x16a))/0x1+-parseInt(_0x513816(0x16e))/0x2+-parseInt(_0x513816(0x153))/0x3+parseInt(_0x513816(0x16f))/0x4+-parseInt(_0x513816(0x152))/0x5*(-parseInt(_0x513816(0x16d))/0x6)+parseInt(_0x513816(0x169))/0x7+-parseInt(_0x513816(0x170))/0x8*(-parseInt(_0x513816(0x15a))/0x9);if(_0x2f0816===_0x5d60e6)break;else _0x3b55f3['push'](_0x3b55f3['shift']());}catch(_0x2fa3b7){_0x3b55f3['push'](_0x3b55f3['shift']());}}}(_0x380e,0xa7a94));import{ListItemView as _0x537fc7,View as _0x5b5b98}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x2dc0b3}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0x5819(_0x1f1fcf,_0x2670b8){const _0x380eaf=_0x380e();return _0x5819=function(_0x58190f,_0x1f9ce7){_0x58190f=_0x58190f-0x151;let _0x49fe61=_0x380eaf[_0x58190f];return _0x49fe61;},_0x5819(_0x1f1fcf,_0x2670b8);}export class AIReviewCoreReviewCompletedView extends _0x537fc7{[_0x354d2d(0x168)];[_0x354d2d(0x160)];constructor(_0x5ac9c8,_0x5a1c54){const _0x30520b=_0x354d2d;super(_0x5ac9c8),this[_0x30520b(0x160)]=this[_0x30520b(0x166)](_0x5a1c54[_0x30520b(0x15c)]),this[_0x30520b(0x168)]=this[_0x30520b(0x16b)](_0x5a1c54[_0x30520b(0x167)]);const _0x4788f7=this[_0x30520b(0x163)];this[_0x30520b(0x154)]({'tag':_0x30520b(0x156),'attributes':{'class':[_0x30520b(0x15f),_0x4788f7['if'](_0x30520b(0x164),_0x30520b(0x151),_0x27e0bb=>!_0x27e0bb)]},'children':[this[_0x30520b(0x168)],{'tag':_0x30520b(0x156),'attributes':{'class':[_0x30520b(0x15e)]},'children':[{'tag':_0x30520b(0x15b),'attributes':{'class':[_0x30520b(0x155)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x30520b(0x162)]},'children':[{'text':_0x5a1c54[_0x30520b(0x15d)]}]}]}]});}[_0x354d2d(0x166)](_0x13cf38){const _0x39f0ac=_0x354d2d,_0x1beb7b=new _0x2dc0b3(_0x13cf38,this[_0x39f0ac(0x161)]);return _0x1beb7b[_0x39f0ac(0x165)](_0x39f0ac(0x159))['to'](this),_0x1beb7b;}[_0x354d2d(0x16b)](_0x4489a5){const _0x4632df=_0x354d2d,_0x374c1e=new _0x5b5b98(this[_0x4632df(0x161)]);return _0x374c1e[_0x4632df(0x154)]({'tag':_0x4632df(0x156),'attributes':{'class':[_0x4632df(0x16c)]},'children':[{'tag':_0x4632df(0x15b),'attributes':{'class':[_0x4632df(0x158)]},'children':[{'text':_0x4489a5}]},{'tag':_0x4632df(0x156),'attributes':{'class':[_0x4632df(0x157)]},'children':[this[_0x4632df(0x160)]]}]}),_0x374c1e;}}function _0x380e(){const _0x425e02=['_resultsHeader','2864582theEnp','1138513acMhjx','_createResultHeaderView','ck-ai_review__review-completed-header','2297634vnfbPP','1868730ATjFMM','1860860HaOcMF','16088tfIPGc','ck-hidden','5KJchYg','2256279wdsuFp','setTemplate','ck-ai_review__review-completed-content-icon','div','ck-ai_review__review-completed-header-buttons','ck-ai_review__review-completed-header-title','finishReview','10089hYsDXd','span','buttonText','emptyResultsText','ck-ai_review__review-completed-content','ck-ai_review__review-completed','_finishReviewButtonView','locale','ck-ai_review__review-completed-content-text','bindTemplate','isVisible','delegate','_createFinishReviewButtonView','headerText'];_0x380e=function(){return _0x425e02;};return _0x380e();}
23
+ const _0x39cd86=_0x9c31;(function(_0x4817b2,_0x50dc9f){const _0x16fa26=_0x9c31,_0x590fa3=_0x4817b2();while(!![]){try{const _0x11af07=parseInt(_0x16fa26(0xc9))/0x1*(parseInt(_0x16fa26(0xc3))/0x2)+parseInt(_0x16fa26(0xd6))/0x3*(parseInt(_0x16fa26(0xb4))/0x4)+-parseInt(_0x16fa26(0xc5))/0x5*(-parseInt(_0x16fa26(0xcb))/0x6)+-parseInt(_0x16fa26(0xb6))/0x7*(-parseInt(_0x16fa26(0xbc))/0x8)+parseInt(_0x16fa26(0xca))/0x9+-parseInt(_0x16fa26(0xbb))/0xa+-parseInt(_0x16fa26(0xc4))/0xb*(parseInt(_0x16fa26(0xcd))/0xc);if(_0x11af07===_0x50dc9f)break;else _0x590fa3['push'](_0x590fa3['shift']());}catch(_0x2af083){_0x590fa3['push'](_0x590fa3['shift']());}}}(_0x4e44,0xe63fe));import{ListItemView as _0x4de054,View as _0x221534}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x2cf32f}from'./aireviewcorefinishreviewbuttonview.js';function _0x9c31(_0x1131a2,_0x3621d9){const _0x4e449c=_0x4e44();return _0x9c31=function(_0x9c315f,_0x13d8ec){_0x9c315f=_0x9c315f-0xb4;let _0x11abed=_0x4e449c[_0x9c315f];return _0x11abed;},_0x9c31(_0x1131a2,_0x3621d9);}function _0x4e44(){const _0x1ec8cb=['ck-hidden','2367996MRvXKH','ck-ai_review__review-completed-content-icon','_finishReviewButtonView','setTemplate','headerText','ck-ai_review__review-completed-header-title','emptyResultsText','_resultsHeader','span','12CuoJRp','632580JvavrD','ck-ai_review__review-completed-content','7BhMRhq','_createResultHeaderView','bindTemplate','ck-ai_review__review-completed','ck-ai_review__review-completed-content-text','11666540tmyyyf','11274392TdsobJ','delegate','_createFinishReviewButtonView','buttonText','ck-ai_review__review-completed-header-buttons','ck-ai_review__review-completed-header','div','19478iyztHj','154AJEgNU','11965rNeQGB','isVisible','locale','finishReview','71GBKJJS','3658842msNXbh','4344raWflM'];_0x4e44=function(){return _0x1ec8cb;};return _0x4e44();}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x4de054{[_0x39cd86(0xd4)];[_0x39cd86(0xcf)];constructor(_0x261e1c,_0x58b2a3){const _0x1f6fbd=_0x39cd86;super(_0x261e1c),this[_0x1f6fbd(0xcf)]=this[_0x1f6fbd(0xbe)](_0x58b2a3[_0x1f6fbd(0xbf)]),this[_0x1f6fbd(0xd4)]=this[_0x1f6fbd(0xb7)](_0x58b2a3[_0x1f6fbd(0xd1)]);const _0x48e15f=this[_0x1f6fbd(0xb8)];this[_0x1f6fbd(0xd0)]({'tag':_0x1f6fbd(0xc2),'attributes':{'class':[_0x1f6fbd(0xb9),_0x48e15f['if'](_0x1f6fbd(0xc6),_0x1f6fbd(0xcc),_0x1b1b05=>!_0x1b1b05)]},'children':[this[_0x1f6fbd(0xd4)],{'tag':_0x1f6fbd(0xc2),'attributes':{'class':[_0x1f6fbd(0xb5)]},'children':[{'tag':_0x1f6fbd(0xd5),'attributes':{'class':[_0x1f6fbd(0xce)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x1f6fbd(0xba)]},'children':[{'text':_0x58b2a3[_0x1f6fbd(0xd3)]}]}]}]});}[_0x39cd86(0xbe)](_0x1b2c1c){const _0x30ef09=_0x39cd86,_0x3a431d=new _0x2cf32f(_0x1b2c1c,this[_0x30ef09(0xc7)]);return _0x3a431d[_0x30ef09(0xbd)](_0x30ef09(0xc8))['to'](this),_0x3a431d;}[_0x39cd86(0xb7)](_0x3a7a61){const _0x439570=_0x39cd86,_0x430d7d=new _0x221534(this[_0x439570(0xc7)]);return _0x430d7d[_0x439570(0xd0)]({'tag':_0x439570(0xc2),'attributes':{'class':[_0x439570(0xc1)]},'children':[{'tag':_0x439570(0xd5),'attributes':{'class':[_0x439570(0xd2)]},'children':[{'text':_0x3a7a61}]},{'tag':_0x439570(0xc2),'attributes':{'class':[_0x439570(0xc0)]},'children':[this[_0x439570(0xcf)]]}]}),_0x430d7d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x2abba7,View as _0x456d64,ViewCollection as _0x5dcfa5,ButtonView as _0x415f85}from'ckeditor5/src/ui.js';import{IconStop as _0x5593f4,IconEye as _0x97f79e,IconEyeCrossedOut as _0x58fc8c}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x33a257,SKELETON_DEFINITIONS as _0x26ec3e}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0xfb05dd}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x1724de}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0xbd1d34}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x1aeaa0}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0xf92dab}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x2abba7{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x84647,_0x15bb53){super(_0x84647),this['_contents']=_0x15bb53,this['_resultViews']=new _0x5dcfa5(),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 _0xfb05dd(_0x84647),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 _0x5b0ad4=this['_createCombinedSkeletonLoader'](),_0x1e7b73=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x1e7b73['if']('isLoading','ck-ai_review__check-run_loading',_0x51d43=>_0x51d43),_0x1e7b73['if']('isResultReady','ck-ai_review__check-run_ready',_0x79d8e=>_0x79d8e),_0x1e7b73['if']('isVisible','ck-hidden',_0x428de9=>!_0x428de9)]},'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',_0x5d1af8=>_0x5d1af8)]},'children':this['_resultViews']},_0x5b0ad4]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x64ff1d){const _0x42a91b=new _0x1aeaa0(this['locale'],_0x64ff1d['id']);_0x42a91b['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x42a91b),_0x42a91b['resultResponseView']['element']['innerHTML']=_0x64ff1d['contentDiffed'];}['hideResult'](_0x363a65,_0x1f8383){if('pending'===_0x1f8383)return;const _0xf6bc59=this['_resultViews']['find'](_0x4f11c5=>_0x4f11c5['id']===_0x363a65);_0xf6bc59&&(_0xf6bc59['status']=_0x1f8383,_0xf6bc59['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x222eea,_0x1e0b0b){if('pending'!==_0x1e0b0b)return;const _0x1e7828=this['_resultViews']['find'](_0x5195fb=>_0x5195fb['id']===_0x222eea);_0x1e7828&&(_0x1e7828['status']=_0x1e0b0b,_0x1e7828['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x2202d9,_0x194ca9){this['headerTitle']=_0x2202d9,this['headerSubtitle']=_0x194ca9||'';}['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 _0x33a257(this['locale'],_0x26ec3e['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x63fce9=new _0x456d64(this['locale']),_0x32e25c=[];for(let _0x4b56f4=0x0;_0x4b56f4<0x10;_0x4b56f4++){const _0x347c95=this['_createSkeletonLoader']();_0x347c95['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x32e25c['push'](_0x347c95);}return _0x63fce9['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x122422=>!_0x122422)]},'children':_0x32e25c}),_0x63fce9;}['_createErrorView'](){const _0x3d8bee=new _0x456d64(this['locale']),_0x57ed38=new _0x415f85(this['locale']),t=this['locale']['t'];return _0x3d8bee['delegate']('retryReview')['to'](this),_0x57ed38['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x57ed38['on']('execute',()=>{this['fire']('retryReview');}),_0x3d8bee['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x49d971=>!_0x49d971),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0xb2d020=>'chunk'===_0xb2d020)]},'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',_0x4139b6=>'chunk'===_0x4139b6)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x3d713f=>'general'!==_0x3d713f)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0xa2a807=>'chunk'!==_0xa2a807)]},'children':[{'text':_0x1724de(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x57ed38]}),_0x3d8bee;}['_createCancelButtonView'](){const _0x2158d3=new _0x415f85(this['locale']);return _0x2158d3['set']({'label':_0x1724de(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x5593f4}),_0x2158d3['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1c7838=>_0x1c7838),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x134707=>_0x134707)]}}),_0x2158d3['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x2158d3;}['_createToggleDiffButtonView'](){const _0x46c532=new _0x415f85(this['locale']);_0x46c532['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x46c532['bind']('isEnabled')['to'](this,'isError',_0x5857ac=>!_0x5857ac),_0x46c532['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x44ee4b=>!_0x44ee4b),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2bd765=>_0x2bd765)]}});const _0x2e36a5=_0x1724de(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x4b2859=_0x1724de(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x46c532['bind']('isOn')['to'](this,'isToggleDiffOn',_0x2386e4=>_0x2386e4),_0x46c532['bind']('icon')['to'](this,'isToggleDiffOn',_0x17f867=>_0x17f867?_0x97f79e:_0x58fc8c),_0x46c532['bind']('label')['to'](this,'isToggleDiffOn',_0x5aa064=>_0x5aa064?_0x2e36a5:_0x4b2859),_0x46c532['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x46c532;}['_createAcceptAllButtonView'](){const _0xb90722=new _0x415f85(this['locale']);return _0xb90722['set']({'label':_0x1724de(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0xb90722['bind']('isEnabled')['to'](this,'isError',_0x2080e6=>!_0x2080e6),_0xb90722['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1d3741=>!_0x1d3741),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x278c67=>_0x278c67)]}}),_0xb90722['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0xb90722;}['_createExitReviewButtonView'](){const _0x10d4f3=new _0x415f85(this['locale']);return _0x10d4f3['set']({'label':_0x1724de(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x10d4f3['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3b38e3=>!_0x3b38e3),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4f0299=>_0x4f0299)]}}),_0x10d4f3['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x10d4f3;}['_createResultHeaderView'](){const _0x3612e1=new _0x456d64(this['locale']),_0x3835c4=this['_createTitleView']();return _0x3612e1['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x1fac15=>_0x1fac15)]},'children':[_0x3835c4,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x3612e1;}['_createTitleView'](){const _0x2a2dfd=new _0x456d64(this['locale']),_0x3c6d58=new _0xbd1d34();return _0x3c6d58['bind']('isVisible')['to'](this,'isResultReady',_0x631a08=>!_0x631a08),_0x2a2dfd['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x3c6d58,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x316e10=>_0x316e10)]},'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',_0x2ac984=>!_0x2ac984)]},'children':[{'text':_0x1724de(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x2a2dfd;}['_createFinishReviewButtonView'](){const _0x4f2c8f=new _0xf92dab(_0x1724de(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x4f2c8f['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x18689c=>!_0x18689c)]}}),_0x4f2c8f['delegate']('finishReview')['to'](this),_0x4f2c8f;}}
23
+ import{ListItemView as _0x3b9958,View as _0x1255e2,ViewCollection as _0x34eb90,ButtonView as _0x3797bb}from'ckeditor5/src/ui.js';import{IconStop as _0x18f049,IconEye as _0x46bf2f,IconEyeCrossedOut as _0xe87cd4}from'ckeditor5/src/icons.js';import{AISkeletonView as _0xf727ea,SKELETON_DEFINITIONS as _0x1f538c}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x3bd436}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x44e703}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x5cbfff}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x17440d}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x507d5b}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x3b9958{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x552277,_0x319d4d){super(_0x552277),this['_contents']=_0x319d4d,this['_resultViews']=new _0x34eb90(),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 _0x3bd436(_0x552277),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 _0x4ae7f3=this['_createCombinedSkeletonLoader'](),_0x4f4c6f=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x4f4c6f['if']('isLoading','ck-ai_review__check-run_loading',_0x3142cc=>_0x3142cc),_0x4f4c6f['if']('isResultReady','ck-ai_review__check-run_ready',_0x1874ef=>_0x1874ef),_0x4f4c6f['if']('isVisible','ck-hidden',_0x4a5954=>!_0x4a5954)]},'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',_0x287d61=>_0x287d61)]},'children':this['_resultViews']},_0x4ae7f3]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x4a0f4e){const _0x50c1ac=new _0x17440d(this['locale'],_0x4a0f4e['id']);_0x50c1ac['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x50c1ac),_0x50c1ac['resultResponseView']['element']['innerHTML']=_0x4a0f4e['contentDiffed'];}['hideResult'](_0x586838,_0x29f0ad){if('pending'===_0x29f0ad)return;const _0x449112=this['_resultViews']['find'](_0x4a0670=>_0x4a0670['id']===_0x586838);_0x449112&&(_0x449112['status']=_0x29f0ad,_0x449112['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0xf6b4c3,_0x4c1186){if('pending'!==_0x4c1186)return;const _0x3b5538=this['_resultViews']['find'](_0x56c418=>_0x56c418['id']===_0xf6b4c3);_0x3b5538&&(_0x3b5538['status']=_0x4c1186,_0x3b5538['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x457fde,_0x340589){this['headerTitle']=_0x457fde,this['headerSubtitle']=_0x340589||'';}['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 _0xf727ea(this['locale'],_0x1f538c['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x2d2d86=new _0x1255e2(this['locale']),_0x349b2d=[];for(let _0x225a04=0x0;_0x225a04<0x10;_0x225a04++){const _0x271454=this['_createSkeletonLoader']();_0x271454['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x349b2d['push'](_0x271454);}return _0x2d2d86['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2dbb7e=>!_0x2dbb7e)]},'children':_0x349b2d}),_0x2d2d86;}['_createErrorView'](){const _0x26b526=new _0x1255e2(this['locale']),_0x43fe80=new _0x3797bb(this['locale']),t=this['locale']['t'];return _0x26b526['delegate']('retryReview')['to'](this),_0x43fe80['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x43fe80['on']('execute',()=>{this['fire']('retryReview');}),_0x26b526['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x263258=>!_0x263258),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x26925c=>'chunk'===_0x26925c)]},'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',_0x6c8d4c=>'chunk'===_0x6c8d4c)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x1c4efe=>'general'!==_0x1c4efe)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x15c207=>'chunk'!==_0x15c207)]},'children':[{'text':_0x44e703(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x43fe80]}),_0x26b526;}['_createCancelButtonView'](){const _0x48ee70=new _0x3797bb(this['locale']);return _0x48ee70['set']({'label':_0x44e703(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x18f049}),_0x48ee70['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5f2421=>_0x5f2421),this['bindTemplate']['if']('isCompleted','ck-hidden',_0xa26013=>_0xa26013)]}}),_0x48ee70['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x48ee70;}['_createToggleDiffButtonView'](){const _0x4534a1=new _0x3797bb(this['locale']);_0x4534a1['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x4534a1['bind']('isEnabled')['to'](this,'isError',_0x1e0c5b=>!_0x1e0c5b),_0x4534a1['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2d047d=>!_0x2d047d),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x10e9d9=>_0x10e9d9)]}});const _0x1a3ca6=_0x44e703(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x43c994=_0x44e703(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x4534a1['bind']('isOn')['to'](this,'isToggleDiffOn',_0x343513=>_0x343513),_0x4534a1['bind']('icon')['to'](this,'isToggleDiffOn',_0x4950bd=>_0x4950bd?_0x46bf2f:_0xe87cd4),_0x4534a1['bind']('label')['to'](this,'isToggleDiffOn',_0xf9031d=>_0xf9031d?_0x1a3ca6:_0x43c994),_0x4534a1['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x4534a1;}['_createAcceptAllButtonView'](){const _0x28532d=new _0x3797bb(this['locale']);return _0x28532d['set']({'label':_0x44e703(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x28532d['bind']('isEnabled')['to'](this,'isError',_0x415d10=>!_0x415d10),_0x28532d['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3cc08a=>!_0x3cc08a),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x48d97d=>_0x48d97d)]}}),_0x28532d['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x28532d;}['_createExitReviewButtonView'](){const _0x1fd37e=new _0x3797bb(this['locale']);return _0x1fd37e['set']({'label':_0x44e703(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x1fd37e['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4e6d22=>!_0x4e6d22),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x197f74=>_0x197f74)]}}),_0x1fd37e['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x1fd37e;}['_createResultHeaderView'](){const _0x27dfed=new _0x1255e2(this['locale']),_0x4e6d63=this['_createTitleView']();return _0x27dfed['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x5215ea=>_0x5215ea)]},'children':[_0x4e6d63,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x27dfed;}['_createTitleView'](){const _0x14533e=new _0x1255e2(this['locale']),_0x108660=new _0x5cbfff();return _0x108660['bind']('isVisible')['to'](this,'isResultReady',_0x47dde1=>!_0x47dde1),_0x14533e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x108660,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x43cd43=>_0x43cd43)]},'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',_0x2bfc5f=>!_0x2bfc5f)]},'children':[{'text':_0x44e703(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x14533e;}['_createFinishReviewButtonView'](){const _0x59ca3e=new _0x507d5b(_0x44e703(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x59ca3e['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3b9ce8=>!_0x3b9ce8)]}}),_0x59ca3e['delegate']('finishReview')['to'](this),_0x59ca3e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2260(){var _0x3aa54c=['showGeneralErrorMessage','div','isResultReady','ltr','949288ZdslBP','reviewCoreHeader','showGeneralResultsErrorView','showReviewCheckListView','errorMessage','showGeneralReviewCoreErrorView','ck-ai-review','showChunkErrorMessage','reviewCheckListView','isCompleted','7854784jvRpGg','216wEcjYL','set','list','reviewCompletedView','2841195KvxKTf','6594150kfXGYC','generalErrorView','hideActionsWhenResultIsReady','completed','showReviewCheckResultsView','header','2DKTNXc','addCheckRunResult','257228rDWvBj','clearResults','reviewCheckResultsView','setTemplate','showNoChangesView','resetAllParameterizedChecks','resetErrorState','addResult','isVisible','18URCweo','5328822RNAJWV','delegate','77rPtqcw','showReviewCompletedView','showActionsWhenResultIsReady','finishReview','showChunkErrorView','ck-reset_all','ck-rounded-corners','results','152946Cprrcc','isLoading'];_0x2260=function(){return _0x3aa54c;};return _0x2260();}var _0x15d993=_0x50e0;(function(_0x5866f5,_0x395634){var _0xbc8264=_0x50e0,_0xeb3b97=_0x5866f5();while(!![]){try{var _0xca0ad7=parseInt(_0xbc8264(0x96))/0x1+parseInt(_0xbc8264(0x94))/0x2*(-parseInt(_0xbc8264(0xa0))/0x3)+parseInt(_0xbc8264(0xb0))/0x4+-parseInt(_0xbc8264(0xbf))/0x5*(parseInt(_0xbc8264(0x9f))/0x6)+-parseInt(_0xbc8264(0xba))/0x7+-parseInt(_0xbc8264(0xbb))/0x8*(-parseInt(_0xbc8264(0xaa))/0x9)+-parseInt(_0xbc8264(0xc0))/0xa*(-parseInt(_0xbc8264(0xa2))/0xb);if(_0xca0ad7===_0x395634)break;else _0xeb3b97['push'](_0xeb3b97['shift']());}catch(_0x396d03){_0xeb3b97['push'](_0xeb3b97['shift']());}}}(_0x2260,0xebe2e));function _0x50e0(_0x19cb10,_0x2a9b55){var _0x22602=_0x2260();return _0x50e0=function(_0x50e075,_0x1a08b1){_0x50e075=_0x50e075-0x94;var _0x1d7736=_0x22602[_0x50e075];return _0x1d7736;},_0x50e0(_0x19cb10,_0x2a9b55);}import{View as _0xe18e3f}from'ckeditor5/src/ui.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x2be6cc}from'../aireviewcoreui.js';import{AIReviewCoreGeneralErrorView as _0x2f56ef}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0xe18e3f{[_0x15d993(0xb1)];[_0x15d993(0xc1)];[_0x15d993(0xb8)];[_0x15d993(0x98)];[_0x15d993(0xbe)];constructor(_0x321e45,_0x95abe6){var _0x5ad188=_0x15d993;super(_0x321e45),this[_0x5ad188(0xb1)]=_0x95abe6[_0x5ad188(0xc5)],this[_0x5ad188(0xc1)]=new _0x2f56ef(_0x321e45),this[_0x5ad188(0xb8)]=_0x95abe6[_0x5ad188(0xbd)],this[_0x5ad188(0xb8)][_0x5ad188(0xa1)](..._0x2be6cc)['to'](this),this[_0x5ad188(0x98)]=_0x95abe6[_0x5ad188(0xa9)],this[_0x5ad188(0x98)][_0x5ad188(0xa1)](..._0x2be6cc)['to'](this),this[_0x5ad188(0xbe)]=_0x95abe6[_0x5ad188(0xc3)],this[_0x5ad188(0xbe)][_0x5ad188(0xa1)](_0x5ad188(0xa5))['to'](this),this[_0x5ad188(0xb8)][_0x5ad188(0xbc)](_0x5ad188(0x9e),!0x1),this[_0x5ad188(0x98)][_0x5ad188(0xbc)](_0x5ad188(0x9e),!0x1),this[_0x5ad188(0x98)][_0x5ad188(0xbc)](_0x5ad188(0xab),!0x1),this[_0x5ad188(0x98)][_0x5ad188(0xbc)](_0x5ad188(0xae),!0x1),this[_0x5ad188(0xbe)][_0x5ad188(0xbc)](_0x5ad188(0x9e),!0x1),this[_0x5ad188(0x99)]({'tag':_0x5ad188(0xad),'attributes':{'class':['ck',_0x5ad188(0xa7),_0x5ad188(0xb6),_0x5ad188(0xa8)],'dir':_0x5ad188(0xaf)},'children':[this[_0x5ad188(0xb1)],this[_0x5ad188(0xc1)],this[_0x5ad188(0xb8)],this[_0x5ad188(0x98)],this[_0x5ad188(0xbe)]]});}[_0x15d993(0xb3)](){var _0x98c095=_0x15d993;this[_0x98c095(0xb8)][_0x98c095(0x9b)](),this[_0x98c095(0xb8)][_0x98c095(0xbc)](_0x98c095(0x9e),!0x0),this[_0x98c095(0x98)][_0x98c095(0xbc)](_0x98c095(0x9e),!0x1),this[_0x98c095(0xbe)][_0x98c095(0xbc)](_0x98c095(0x9e),!0x1);}[_0x15d993(0xc4)](){var _0x44cbfb=_0x15d993;this[_0x44cbfb(0xc2)](),this[_0x44cbfb(0x98)][_0x44cbfb(0x9c)](),this[_0x44cbfb(0xb8)][_0x44cbfb(0xbc)](_0x44cbfb(0x9e),!0x1),this[_0x44cbfb(0x98)][_0x44cbfb(0xbc)](_0x44cbfb(0x9e),!0x0),this[_0x44cbfb(0x98)][_0x44cbfb(0x97)](),this[_0x44cbfb(0x98)][_0x44cbfb(0xbc)](_0x44cbfb(0xab),!0x0),this[_0x44cbfb(0x98)][_0x44cbfb(0xbc)](_0x44cbfb(0xb9),!0x1);}[_0x15d993(0x95)](_0x27a8a4){var _0x31b4e5=_0x15d993;this[_0x31b4e5(0x98)][_0x31b4e5(0x9d)](_0x27a8a4),this[_0x31b4e5(0x98)][_0x31b4e5(0xbc)](_0x31b4e5(0xab),!0x1);}[_0x15d993(0xa3)](){var _0x4f82a8=_0x15d993;this[_0x4f82a8(0x98)][_0x4f82a8(0xbc)](_0x4f82a8(0x9e),!0x0),this[_0x4f82a8(0xbe)][_0x4f82a8(0xbc)](_0x4f82a8(0x9e),!0x1),this[_0x4f82a8(0x98)][_0x4f82a8(0xbc)](_0x4f82a8(0xb9),!0x0),this[_0x4f82a8(0xb8)][_0x4f82a8(0xbc)](_0x4f82a8(0x9e),!0x1);}[_0x15d993(0xa4)](){var _0x1e6938=_0x15d993;this[_0x1e6938(0x98)][_0x1e6938(0xae)]?(this[_0x1e6938(0xb8)][_0x1e6938(0xbc)](_0x1e6938(0x9e),!0x1),this[_0x1e6938(0x98)][_0x1e6938(0xbc)](_0x1e6938(0x9e),!0x0),this[_0x1e6938(0xbe)][_0x1e6938(0xbc)](_0x1e6938(0x9e),!0x1)):this[_0x1e6938(0x98)][_0x1e6938(0xae)]=!0x0;}[_0x15d993(0x9a)](){var _0x117e82=_0x15d993;this[_0x117e82(0xb8)][_0x117e82(0xbc)](_0x117e82(0x9e),!0x1),this[_0x117e82(0x98)][_0x117e82(0xbc)](_0x117e82(0x9e),!0x1),this[_0x117e82(0xbe)][_0x117e82(0xbc)](_0x117e82(0x9e),!0x0);}[_0x15d993(0xc2)](){var _0x89c4dc=_0x15d993;this[_0x89c4dc(0x98)][_0x89c4dc(0xae)]=!0x1;}[_0x15d993(0xb5)](_0x371488){var _0x536c9b=_0x15d993;this[_0x536c9b(0xc1)][_0x536c9b(0xbc)](_0x536c9b(0x9e),!0x0),this[_0x536c9b(0xc1)][_0x536c9b(0xb4)]=_0x371488;}[_0x15d993(0xb2)](){var _0x3c7dba=_0x15d993;this[_0x3c7dba(0x98)][_0x3c7dba(0xbc)](_0x3c7dba(0xab),!0x1),this[_0x3c7dba(0xa4)](),this[_0x3c7dba(0x98)][_0x3c7dba(0xac)]();}[_0x15d993(0xa6)](){var _0x262a32=_0x15d993;this[_0x262a32(0x98)][_0x262a32(0xbc)](_0x262a32(0xab),!0x1),this[_0x262a32(0xa4)](),this[_0x262a32(0x98)][_0x262a32(0xb7)]();}}
23
+ var _0x2732e7=_0x3687;(function(_0x4d3a09,_0x298805){var _0x511006=_0x3687,_0x13866e=_0x4d3a09();while(!![]){try{var _0x3e44cf=-parseInt(_0x511006(0x7f))/0x1*(parseInt(_0x511006(0x86))/0x2)+parseInt(_0x511006(0x79))/0x3+parseInt(_0x511006(0x71))/0x4*(parseInt(_0x511006(0x7a))/0x5)+-parseInt(_0x511006(0x8b))/0x6+parseInt(_0x511006(0x98))/0x7+-parseInt(_0x511006(0x94))/0x8+parseInt(_0x511006(0x7e))/0x9;if(_0x3e44cf===_0x298805)break;else _0x13866e['push'](_0x13866e['shift']());}catch(_0x3e657d){_0x13866e['push'](_0x13866e['shift']());}}}(_0x50a2,0x4e701));import{View as _0x393dbd}from'ckeditor5/src/ui.js';function _0x3687(_0x307748,_0x5cf361){var _0x50a274=_0x50a2();return _0x3687=function(_0x368717,_0x2a0626){_0x368717=_0x368717-0x71;var _0x26a504=_0x50a274[_0x368717];return _0x26a504;},_0x3687(_0x307748,_0x5cf361);}import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x45a525}from'../aireviewcoreui.js';import{AIReviewCoreGeneralErrorView as _0x2350fc}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x393dbd{[_0x2732e7(0x81)];[_0x2732e7(0x7d)];[_0x2732e7(0x92)];[_0x2732e7(0x7b)];[_0x2732e7(0x88)];constructor(_0x2e13ac,_0x57ec81){var _0x316230=_0x2732e7;super(_0x2e13ac),this[_0x316230(0x81)]=_0x57ec81[_0x316230(0x9f)],this[_0x316230(0x7d)]=new _0x2350fc(_0x2e13ac),this[_0x316230(0x92)]=_0x57ec81[_0x316230(0xa0)],this[_0x316230(0x92)][_0x316230(0x97)](..._0x45a525)['to'](this),this[_0x316230(0x7b)]=_0x57ec81[_0x316230(0x91)],this[_0x316230(0x7b)][_0x316230(0x97)](..._0x45a525)['to'](this),this[_0x316230(0x88)]=_0x57ec81[_0x316230(0x90)],this[_0x316230(0x88)][_0x316230(0x97)](_0x316230(0x85))['to'](this),this[_0x316230(0x92)][_0x316230(0x95)](_0x316230(0x8a),!0x1),this[_0x316230(0x7b)][_0x316230(0x95)](_0x316230(0x8a),!0x1),this[_0x316230(0x7b)][_0x316230(0x95)](_0x316230(0x7c),!0x1),this[_0x316230(0x7b)][_0x316230(0x95)](_0x316230(0x8c),!0x1),this[_0x316230(0x88)][_0x316230(0x95)](_0x316230(0x8a),!0x1),this[_0x316230(0x82)]({'tag':_0x316230(0x87),'attributes':{'class':['ck',_0x316230(0x99),_0x316230(0x72),_0x316230(0x93)],'dir':_0x316230(0x77)},'children':[this[_0x316230(0x81)],this[_0x316230(0x7d)],this[_0x316230(0x92)],this[_0x316230(0x7b)],this[_0x316230(0x88)]]});}[_0x2732e7(0x9b)](){var _0x23e014=_0x2732e7;this[_0x23e014(0x92)][_0x23e014(0x76)](),this[_0x23e014(0x92)][_0x23e014(0x95)](_0x23e014(0x8a),!0x0),this[_0x23e014(0x7b)][_0x23e014(0x95)](_0x23e014(0x8a),!0x1),this[_0x23e014(0x88)][_0x23e014(0x95)](_0x23e014(0x8a),!0x1);}[_0x2732e7(0x83)](){var _0x54e747=_0x2732e7;this[_0x54e747(0x75)](),this[_0x54e747(0x7b)][_0x54e747(0x89)](),this[_0x54e747(0x92)][_0x54e747(0x95)](_0x54e747(0x8a),!0x1),this[_0x54e747(0x7b)][_0x54e747(0x95)](_0x54e747(0x8a),!0x0),this[_0x54e747(0x7b)][_0x54e747(0x8e)](),this[_0x54e747(0x7b)][_0x54e747(0x95)](_0x54e747(0x7c),!0x0),this[_0x54e747(0x7b)][_0x54e747(0x95)](_0x54e747(0x78),!0x1);}[_0x2732e7(0x9c)](_0x4062a8){var _0x595787=_0x2732e7;this[_0x595787(0x7b)][_0x595787(0x80)](_0x4062a8),this[_0x595787(0x7b)][_0x595787(0x95)](_0x595787(0x7c),!0x1);}[_0x2732e7(0x9d)](){var _0x423004=_0x2732e7;this[_0x423004(0x7b)][_0x423004(0x95)](_0x423004(0x8a),!0x0),this[_0x423004(0x88)][_0x423004(0x95)](_0x423004(0x8a),!0x1),this[_0x423004(0x7b)][_0x423004(0x95)](_0x423004(0x78),!0x0),this[_0x423004(0x92)][_0x423004(0x95)](_0x423004(0x8a),!0x1);}[_0x2732e7(0x74)](){var _0x5c6228=_0x2732e7;this[_0x5c6228(0x7b)][_0x5c6228(0x8c)]?(this[_0x5c6228(0x92)][_0x5c6228(0x95)](_0x5c6228(0x8a),!0x1),this[_0x5c6228(0x7b)][_0x5c6228(0x95)](_0x5c6228(0x8a),!0x0),this[_0x5c6228(0x88)][_0x5c6228(0x95)](_0x5c6228(0x8a),!0x1)):this[_0x5c6228(0x7b)][_0x5c6228(0x8c)]=!0x0;}[_0x2732e7(0x8f)](){var _0x4d5874=_0x2732e7;this[_0x4d5874(0x92)][_0x4d5874(0x95)](_0x4d5874(0x8a),!0x1),this[_0x4d5874(0x7b)][_0x4d5874(0x95)](_0x4d5874(0x8a),!0x1),this[_0x4d5874(0x88)][_0x4d5874(0x95)](_0x4d5874(0x8a),!0x0);}[_0x2732e7(0x75)](){var _0x4b340b=_0x2732e7;this[_0x4b340b(0x7b)][_0x4b340b(0x8c)]=!0x1;}[_0x2732e7(0x84)](_0x5285fa){var _0x220b21=_0x2732e7;this[_0x220b21(0x7d)][_0x220b21(0x95)](_0x220b21(0x8a),!0x0),this[_0x220b21(0x7d)][_0x220b21(0x8d)]=_0x5285fa;}[_0x2732e7(0x73)](){var _0x54579d=_0x2732e7;this[_0x54579d(0x7b)][_0x54579d(0x95)](_0x54579d(0x7c),!0x1),this[_0x54579d(0x74)](),this[_0x54579d(0x7b)][_0x54579d(0x96)]();}[_0x2732e7(0x9e)](){var _0x5391a0=_0x2732e7;this[_0x5391a0(0x7b)][_0x5391a0(0x95)](_0x5391a0(0x7c),!0x1),this[_0x5391a0(0x74)](),this[_0x5391a0(0x7b)][_0x5391a0(0x9a)]();}}function _0x50a2(){var _0x125298=['3653451OzRSUk','220697GlyWiU','addResult','reviewCoreHeader','setTemplate','showReviewCheckResultsView','showGeneralReviewCoreErrorView','finishReview','2wNnvIN','div','reviewCompletedView','resetErrorState','isVisible','1734354XkjQRN','isResultReady','errorMessage','clearResults','showNoChangesView','completed','results','reviewCheckListView','ck-rounded-corners','1055528nzfGtm','set','showGeneralErrorMessage','delegate','1181110jCNgNC','ck-reset_all','showChunkErrorMessage','showReviewCheckListView','addCheckRunResult','showReviewCompletedView','showChunkErrorView','header','list','226664eaVZro','ck-ai-review','showGeneralResultsErrorView','showActionsWhenResultIsReady','hideActionsWhenResultIsReady','resetAllParameterizedChecks','ltr','isCompleted','994929jmQMyY','5GZhvGq','reviewCheckResultsView','isLoading','generalErrorView'];_0x50a2=function(){return _0x125298;};return _0x50a2();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2436(){const _0x37c11e=['isOn','menuitemradio','1117698GWjoDW','bind','formValue','resetToDefault','_defaultLabel','ck-ai_review__check-list-item-parameterized-form-element','802776lJIKEH','setTemplate','model','div','_dropdownView','find','buttonView','button','14EzOGRu','execute','label','length','add','bindTemplate','_defaultValue','1737738CnQWEd','ck-ai_review__check-list-item-parameterized-form-element_dropdown','430185qMRnsF','1575870MWaxZZ','7858OeOEXa','menu','8628LwphdE','listenTo','ck-reset_all','stopPropagation','730mmyPMZ','source','set','2eeCEtb','locale','default','extendTemplate','_prepareListOptions','data'];_0x2436=function(){return _0x37c11e;};return _0x2436();}const _0x318013=_0x31a6;(function(_0xefd2d7,_0xdbb32b){const _0x38f399=_0x31a6,_0x30ad39=_0xefd2d7();while(!![]){try{const _0x426cac=-parseInt(_0x38f399(0x19c))/0x1+parseInt(_0x38f399(0x1a5))/0x2*(parseInt(_0x38f399(0x19a))/0x3)+-parseInt(_0x38f399(0x19e))/0x4*(parseInt(_0x38f399(0x1a2))/0x5)+-parseInt(_0x38f399(0x1ad))/0x6*(-parseInt(_0x38f399(0x191))/0x7)+parseInt(_0x38f399(0x189))/0x8+parseInt(_0x38f399(0x198))/0x9+-parseInt(_0x38f399(0x19b))/0xa;if(_0x426cac===_0xdbb32b)break;else _0x30ad39['push'](_0x30ad39['shift']());}catch(_0x2a1fed){_0x30ad39['push'](_0x30ad39['shift']());}}}(_0x2436,0x5053f));import{Collection as _0x4e94b0}from'ckeditor5/src/utils.js';import{View as _0x1b7706,createDropdown as _0x302e51,addListToDropdown as _0x22df60,UIModel as _0xf215be}from'ckeditor5/src/ui.js';function _0x31a6(_0x59ce97,_0xdc099c){const _0x2436b9=_0x2436();return _0x31a6=function(_0x31a626,_0x3556ad){_0x31a626=_0x31a626-0x189;let _0x7d9d46=_0x2436b9[_0x31a626];return _0x7d9d46;},_0x31a6(_0x59ce97,_0xdc099c);}export class AIReviewCoreFormDropdownView extends _0x1b7706{[_0x318013(0x18d)];[_0x318013(0x197)];[_0x318013(0x1b1)];constructor(_0x47f73c,_0x53dcf5){const _0x57a3f2=_0x318013;super(_0x47f73c),this[_0x57a3f2(0x197)]=_0x53dcf5[_0x57a3f2(0x1a7)]||(_0x53dcf5[_0x57a3f2(0x1aa)][_0x57a3f2(0x194)]>0x0?_0x53dcf5[_0x57a3f2(0x1aa)][0x0]['id']:''),this[_0x57a3f2(0x1b1)]=_0x53dcf5[_0x57a3f2(0x1aa)][_0x57a3f2(0x18e)](_0x37eb44=>_0x37eb44['id']===this[_0x57a3f2(0x197)])?.[_0x57a3f2(0x193)]||'',this[_0x57a3f2(0x1a4)](_0x57a3f2(0x1af),''),this[_0x57a3f2(0x18d)]=_0x302e51(this[_0x57a3f2(0x1a6)]);const _0x3360ff=this[_0x57a3f2(0x1a9)](_0x53dcf5[_0x57a3f2(0x1aa)]);_0x22df60(this[_0x57a3f2(0x18d)],_0x3360ff,{'role':_0x57a3f2(0x19d),'ariaLabel':_0x53dcf5[_0x57a3f2(0x193)]}),this[_0x57a3f2(0x18d)][_0x57a3f2(0x18f)][_0x57a3f2(0x1a4)]({'label':this[_0x57a3f2(0x1b1)],'withText':!0x0}),this[_0x57a3f2(0x18d)][_0x57a3f2(0x1a8)]({'on':{'click':this[_0x57a3f2(0x196)]['to'](_0xb9a605=>{const _0x53a7ff=_0x57a3f2;_0xb9a605[_0x53a7ff(0x1a1)]();})}}),this[_0x57a3f2(0x19f)](this[_0x57a3f2(0x18d)],_0x57a3f2(0x192),_0x2d6b31=>{const _0x2ca143=_0x57a3f2;this[_0x2ca143(0x1af)]=_0x2d6b31[_0x2ca143(0x1a3)][_0x2ca143(0x18b)]['id'],this[_0x2ca143(0x18d)][_0x2ca143(0x18f)][_0x2ca143(0x193)]=_0x2d6b31[_0x2ca143(0x1a3)][_0x2ca143(0x18b)][_0x2ca143(0x193)];}),this[_0x57a3f2(0x18a)]({'tag':_0x57a3f2(0x18c),'attributes':{'class':['ck',_0x57a3f2(0x1a0),_0x57a3f2(0x1b2),_0x57a3f2(0x199)]},'children':[this[_0x57a3f2(0x18d)]]});}[_0x318013(0x1b0)](){const _0x54d41b=_0x318013;this[_0x54d41b(0x1af)]=this[_0x54d41b(0x197)],this[_0x54d41b(0x18d)][_0x54d41b(0x18f)][_0x54d41b(0x193)]=this[_0x54d41b(0x1b1)];}[_0x318013(0x1a9)](_0x7201f7=[]){const _0x5b2534=_0x318013,_0x5ccc66=new _0x4e94b0();this[_0x5b2534(0x1b0)]();for(const _0x7bbbd of _0x7201f7){const _0x5e799f=new _0xf215be({'label':_0x7bbbd[_0x5b2534(0x193)],'withText':!0x0,'role':_0x5b2534(0x1ac),'id':_0x7bbbd['id'],'model':_0x7bbbd});_0x5e799f[_0x5b2534(0x1ae)](_0x5b2534(0x1ab))['to'](this,_0x5b2534(0x1af),_0x3f80dc=>_0x3f80dc===_0x5e799f['id']);const _0x220b71={'type':_0x5b2534(0x190),'model':_0x5e799f};_0x5ccc66[_0x5b2534(0x195)](_0x220b71);}return _0x5ccc66;}}
23
+ const _0x5a45f0=_0x5250;(function(_0x2a5542,_0x4519bb){const _0x462e87=_0x5250,_0x3700c5=_0x2a5542();while(!![]){try{const _0x5acadd=parseInt(_0x462e87(0x107))/0x1+parseInt(_0x462e87(0xec))/0x2+-parseInt(_0x462e87(0xeb))/0x3+parseInt(_0x462e87(0x102))/0x4*(parseInt(_0x462e87(0xf1))/0x5)+parseInt(_0x462e87(0xf9))/0x6+parseInt(_0x462e87(0xff))/0x7*(parseInt(_0x462e87(0xe7))/0x8)+-parseInt(_0x462e87(0x108))/0x9;if(_0x5acadd===_0x4519bb)break;else _0x3700c5['push'](_0x3700c5['shift']());}catch(_0x3b2a85){_0x3700c5['push'](_0x3700c5['shift']());}}}(_0x3004,0x47c94));import{Collection as _0x54b400}from'ckeditor5/src/utils.js';function _0x5250(_0x5d19f3,_0x346ef6){const _0x3004f5=_0x3004();return _0x5250=function(_0x525091,_0x3588e2){_0x525091=_0x525091-0xe2;let _0x1d6bce=_0x3004f5[_0x525091];return _0x1d6bce;},_0x5250(_0x5d19f3,_0x346ef6);}import{View as _0x355e5e,createDropdown as _0x5b9f7b,addListToDropdown as _0x2c527e,UIModel as _0x2a56fb}from'ckeditor5/src/ui.js';function _0x3004(){const _0x4f1ec3=['source','271536wWnBtV','651318qWpHmK','isOn','listenTo','add','_prepareListOptions','394115JEMsNZ','menuitemradio','stopPropagation','_dropdownView','formValue','ck-ai_review__check-list-item-parameterized-form-element_dropdown','_defaultLabel','div','318036gOEsrf','data','setTemplate','menu','model','set','285726fkyDBX','find','locale','28EwNZmO','extendTemplate','ck-ai_review__check-list-item-parameterized-form-element','ck-reset_all','execute','555491YQVEqn','10279683JHfYHo','bind','button','bindTemplate','label','buttonView','default','_defaultValue','8ePkBbg','length','resetToDefault'];_0x3004=function(){return _0x4f1ec3;};return _0x3004();}export class AIReviewCoreFormDropdownView extends _0x355e5e{[_0x5a45f0(0xf4)];[_0x5a45f0(0xe6)];[_0x5a45f0(0xf7)];constructor(_0x42ac84,_0x57a4a6){const _0x587462=_0x5a45f0;super(_0x42ac84),this[_0x587462(0xe6)]=_0x57a4a6[_0x587462(0xe5)]||(_0x57a4a6[_0x587462(0xfa)][_0x587462(0xe8)]>0x0?_0x57a4a6[_0x587462(0xfa)][0x0]['id']:''),this[_0x587462(0xf7)]=_0x57a4a6[_0x587462(0xfa)][_0x587462(0x100)](_0x3c690d=>_0x3c690d['id']===this[_0x587462(0xe6)])?.[_0x587462(0xe3)]||'',this[_0x587462(0xfe)](_0x587462(0xf5),''),this[_0x587462(0xf4)]=_0x5b9f7b(this[_0x587462(0x101)]);const _0x23cbd0=this[_0x587462(0xf0)](_0x57a4a6[_0x587462(0xfa)]);_0x2c527e(this[_0x587462(0xf4)],_0x23cbd0,{'role':_0x587462(0xfc),'ariaLabel':_0x57a4a6[_0x587462(0xe3)]}),this[_0x587462(0xf4)][_0x587462(0xe4)][_0x587462(0xfe)]({'label':this[_0x587462(0xf7)],'withText':!0x0}),this[_0x587462(0xf4)][_0x587462(0x103)]({'on':{'click':this[_0x587462(0xe2)]['to'](_0x12aa83=>{const _0x2efd13=_0x587462;_0x12aa83[_0x2efd13(0xf3)]();})}}),this[_0x587462(0xee)](this[_0x587462(0xf4)],_0x587462(0x106),_0x459197=>{const _0x1fa2c1=_0x587462;this[_0x1fa2c1(0xf5)]=_0x459197[_0x1fa2c1(0xea)][_0x1fa2c1(0xfd)]['id'],this[_0x1fa2c1(0xf4)][_0x1fa2c1(0xe4)][_0x1fa2c1(0xe3)]=_0x459197[_0x1fa2c1(0xea)][_0x1fa2c1(0xfd)][_0x1fa2c1(0xe3)];}),this[_0x587462(0xfb)]({'tag':_0x587462(0xf8),'attributes':{'class':['ck',_0x587462(0x105),_0x587462(0x104),_0x587462(0xf6)]},'children':[this[_0x587462(0xf4)]]});}[_0x5a45f0(0xe9)](){const _0x151338=_0x5a45f0;this[_0x151338(0xf5)]=this[_0x151338(0xe6)],this[_0x151338(0xf4)][_0x151338(0xe4)][_0x151338(0xe3)]=this[_0x151338(0xf7)];}[_0x5a45f0(0xf0)](_0x31bd3c=[]){const _0x1c2bf2=_0x5a45f0,_0x5b5bd8=new _0x54b400();this[_0x1c2bf2(0xe9)]();for(const _0xcb0f5f of _0x31bd3c){const _0x5c75f3=new _0x2a56fb({'label':_0xcb0f5f[_0x1c2bf2(0xe3)],'withText':!0x0,'role':_0x1c2bf2(0xf2),'id':_0xcb0f5f['id'],'model':_0xcb0f5f});_0x5c75f3[_0x1c2bf2(0x109)](_0x1c2bf2(0xed))['to'](this,_0x1c2bf2(0xf5),_0xe28b43=>_0xe28b43===_0x5c75f3['id']);const _0x493dde={'type':_0x1c2bf2(0x10a),'model':_0x5c75f3};_0x5b5bd8[_0x1c2bf2(0xef)](_0x493dde);}return _0x5b5bd8;}}