@ckeditor/ckeditor5-ai 47.7.0-alpha.4 → 47.7.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15381a=_0x591a;(function(_0x5a1e60,_0x2567f8){const _0x5627dc=_0x591a,_0x5edbc3=_0x5a1e60();while(!![]){try{const _0x6e35c1=-parseInt(_0x5627dc(0x221))/0x1+parseInt(_0x5627dc(0x211))/0x2*(-parseInt(_0x5627dc(0x219))/0x3)+parseInt(_0x5627dc(0x1e7))/0x4*(parseInt(_0x5627dc(0x203))/0x5)+-parseInt(_0x5627dc(0x209))/0x6+parseInt(_0x5627dc(0x222))/0x7+parseInt(_0x5627dc(0x206))/0x8*(parseInt(_0x5627dc(0x1f6))/0x9)+-parseInt(_0x5627dc(0x205))/0xa;if(_0x6e35c1===_0x2567f8)break;else _0x5edbc3['push'](_0x5edbc3['shift']());}catch(_0x250f61){_0x5edbc3['push'](_0x5edbc3['shift']());}}}(_0x48b2,0xaabbd));import{Rect as _0x40eb74,getConstrainedViewportRect as _0x2c535a}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x376481,View as _0xabb1fe,clickOutsideHandler as _0x51ecd1}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x57792a}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';function _0x591a(_0x5024b5,_0x3f850b){const _0x48b28a=_0x48b2();return _0x591a=function(_0x591a05,_0x51138d){_0x591a05=_0x591a05-0x1d9;let _0x3bd385=_0x48b28a[_0x591a05];return _0x3bd385;},_0x591a(_0x5024b5,_0x3f850b);}function _0x48b2(){const _0x4a759a=['isDiffActive','bindTemplate','clientY','ck-reset','arrow_','content','locale','from','deactivateChange','isVisible','2124xcyIdi','documentElement','resultItemView','length','hideDiffInBalloon','getBoundingClientRect','_getBestRectPositionOnClick','getClientRects','contentDiffed','set','arrow_se','element','width','_pinnedTargetElement','_pinnedTargetChangeId','1349748IIXhXq','getIntersection','push','balloon','resultResponseView','clientX','reverse','right','extendTemplate','_getBestRectPositionOnHover','innerHTML','bottom','_getPointedRectIndexFromEvent','6505qPXuBQ','acceptChange','6732020uwgBEQ','40VhUsez','add','hover','3571170zAOtiG','ck-ai_review-balloon-panel-suggestion_diff-active','render','ck-ai_review-balloon-panel-suggestion','showDiff','left','changeId','replace','72LDATNi','_isPinnedRectVisible','showBalloon','_pinnedRectIndex','setTemplate','unpin','click','_createContentView','11862baXNBc','ck-content','pin','top','delegate','updateContent','ck-ai_review__suggestion-text','dismissChange','665584hOUnrF','9344713TeLSNG','hide','fire','show','hideBalloon','forEach','showDiffInBalloon','position','div','_setupClickOutsideHandler'];_0x48b2=function(){return _0x4a759a;};return _0x48b2();}export class AIReviewCoreBalloonSuggestionItemView extends _0x376481{[_0x15381a(0x1e9)];[_0x15381a(0x214)]=void 0x0;[_0x15381a(0x1f4)]=void 0x0;[_0x15381a(0x1f5)]=void 0x0;constructor(_0x37d9be,_0x48dcad){const _0x10c67f=_0x15381a;super(_0x37d9be),this[_0x10c67f(0x1f0)]({'isVisible':!0x1,'position':_0x10c67f(0x1f1),'class':null,'top':0x0,'left':0x0}),this[_0x10c67f(0x1fe)]({'tag':_0x10c67f(0x1db),'attributes':{'class':[_0x10c67f(0x1e0)],'tabindex':'-1'}}),this[_0x10c67f(0x1f0)](_0x10c67f(0x1dd),!0x1),this[_0x10c67f(0x1e2)][_0x10c67f(0x207)](this[_0x10c67f(0x218)]()),_0x48dcad[_0x10c67f(0x207)](this);}[_0x15381a(0x20b)](){const _0x19b80=_0x15381a;super[_0x19b80(0x20b)](),this[_0x19b80(0x1dc)]();}[_0x15381a(0x21e)](_0x32b040){const _0x20e8b6=_0x15381a;this[_0x20e8b6(0x1e9)][_0x20e8b6(0x20f)]=_0x32b040['id'],this[_0x20e8b6(0x1e9)][_0x20e8b6(0x1fa)][_0x20e8b6(0x1f2)][_0x20e8b6(0x200)]=_0x32b040[_0x20e8b6(0x1ef)];}[_0x15381a(0x213)](_0x5568b9,_0x4add88,_0x91a400,_0x333f0b,_0x30f6ac,_0x1ea321){const _0x29b056=_0x15381a,_0x5ae988=_0x4add88();if(!_0x5ae988)return;this[_0x29b056(0x21e)](_0x5568b9),this[_0x29b056(0x225)]();const _0x9e7b8b=Array[_0x29b056(0x1e4)](_0x5ae988[_0x29b056(0x1ee)]())[_0x29b056(0x1fc)](),_0x161a74=this[_0x29b056(0x202)](_0x91a400,_0x9e7b8b),_0x5bf64f=_0x9e7b8b[_0x161a74??0x0];_0x29b056(0x217)===_0x333f0b?(this[_0x29b056(0x1dd)]=!0x0,this[_0x29b056(0x21b)]({'target':()=>this[_0x29b056(0x1ed)](_0x4add88(),_0x161a74,_0x5568b9['id'],_0x30f6ac,_0x1ea321)||_0x5bf64f})):_0x29b056(0x208)===_0x333f0b&&(this[_0x29b056(0x1dd)]=!0x1,this[_0x29b056(0x21b)]({'target':()=>this[_0x29b056(0x1ff)](_0x4add88(),_0x161a74,_0x5568b9['id'])||_0x5bf64f}));}[_0x15381a(0x226)](){const _0x7f74b=_0x15381a;this[_0x7f74b(0x223)](),this[_0x7f74b(0x216)](),this[_0x7f74b(0x214)]=void 0x0,this[_0x7f74b(0x1f4)]=void 0x0,this[_0x7f74b(0x1f5)]=void 0x0;}[_0x15381a(0x1eb)](){const _0x2c5ccb=_0x15381a;this[_0x2c5ccb(0x1e9)][_0x2c5ccb(0x20d)]=!0x1;}[_0x15381a(0x1d9)](){const _0x5cd1de=_0x15381a;this[_0x5cd1de(0x1e9)][_0x5cd1de(0x20d)]=!0x0;}[_0x15381a(0x1e5)](){const _0x2a76d1=_0x15381a;this[_0x2a76d1(0x224)](_0x2a76d1(0x1e5),{'origin':_0x2a76d1(0x1f9)});}[_0x15381a(0x1dc)](){const _0x355f9f=_0x15381a;_0x51ecd1({'emitter':this,'activator':()=>this[_0x355f9f(0x1e6)],'contextElements':()=>{const _0x1dc627=_0x355f9f,_0x54ae97=[this[_0x1dc627(0x1f2)]];return this[_0x1dc627(0x1f4)]&&_0x54ae97[_0x1dc627(0x1f8)](this[_0x1dc627(0x1f4)]),_0x54ae97;},'callback':()=>{const _0x406122=_0x355f9f;this[_0x406122(0x223)](),this[_0x406122(0x216)](),this[_0x406122(0x1e5)](),this[_0x406122(0x1f4)]=void 0x0,this[_0x406122(0x214)]=void 0x0,this[_0x406122(0x1f5)]=void 0x0;}});}[_0x15381a(0x218)](){const _0x36b5ea=_0x15381a,_0x25b836=new _0xabb1fe();return this[_0x36b5ea(0x1e9)]=new _0x57792a(this[_0x36b5ea(0x1e3)],''),this[_0x36b5ea(0x1e9)][_0x36b5ea(0x1fa)][_0x36b5ea(0x1fe)]({'attributes':{'class':[_0x36b5ea(0x21a)]}}),this[_0x36b5ea(0x1e9)][_0x36b5ea(0x21d)](_0x36b5ea(0x204),_0x36b5ea(0x220))['to'](this),_0x25b836[_0x36b5ea(0x215)]({'tag':_0x36b5ea(0x1db),'attributes':{'class':[_0x36b5ea(0x1e0),_0x36b5ea(0x20c),this[_0x36b5ea(0x1de)]['if'](_0x36b5ea(0x1dd),_0x36b5ea(0x20a))]},'children':[{'tag':'p','attributes':{'class':[_0x36b5ea(0x21f)]},'children':[this[_0x36b5ea(0x1e9)]]}]}),_0x25b836;}[_0x15381a(0x1ed)](_0x128c0d,_0x14f39c,_0x59fe62,_0x4a5024,_0x318f4d){const _0x3824a3=_0x15381a;if(!_0x128c0d)return null;const _0x54620f=this[_0x3824a3(0x1da)][_0x3824a3(0x210)](_0x3824a3(0x1e1),''),_0x579c07=Array[_0x3824a3(0x1e4)](_0x128c0d[_0x3824a3(0x1ee)]());let _0x2eaf6b,_0x206d91=_0x579c07[_0x3824a3(0x1fc)]();return void 0x0!==_0x14f39c&&this[_0x3824a3(0x212)](_0x206d91[_0x14f39c],_0x4a5024,_0x318f4d)?(_0x2eaf6b=_0x206d91[_0x14f39c],this[_0x3824a3(0x214)]=_0x14f39c):this[_0x3824a3(0x212)](_0x206d91[0x0],_0x4a5024,_0x318f4d)&&void 0x0===_0x14f39c?_0x2eaf6b=_0x206d91[0x0]:(_0x206d91='s'==_0x54620f[0x0]?[..._0x579c07][_0x3824a3(0x1fc)]():_0x579c07,_0x206d91[_0x3824a3(0x227)](_0x16faea=>{const _0x45a922=_0x3824a3;this[_0x45a922(0x212)](_0x16faea,_0x4a5024,_0x318f4d)&&(_0x2eaf6b=_0x16faea);})),this[_0x3824a3(0x1f5)]=_0x59fe62,this[_0x3824a3(0x1f4)]=_0x128c0d,_0x2eaf6b||_0x128c0d[_0x3824a3(0x1ec)]();}[_0x15381a(0x1ff)](_0x54b9cd,_0x1b0072,_0x4de18d){const _0x985ec5=_0x15381a;if(!_0x54b9cd)return null;const _0xf3dc5=Array[_0x985ec5(0x1e4)](_0x54b9cd[_0x985ec5(0x1ee)]())[_0x985ec5(0x1fc)]();if(void 0x0===this[_0x985ec5(0x214)]&&void 0x0!==_0x1b0072&&this[_0x985ec5(0x1f5)]!==_0x4de18d)return this[_0x985ec5(0x214)]=_0x1b0072,this[_0x985ec5(0x1f4)]=_0x54b9cd,this[_0x985ec5(0x1f5)]=_0x4de18d,_0xf3dc5[_0x1b0072];if(void 0x0!==this[_0x985ec5(0x214)]&&this[_0x985ec5(0x1f5)]===_0x4de18d){if(_0x54b9cd!==this[_0x985ec5(0x1f4)])return Array[_0x985ec5(0x1e4)](this[_0x985ec5(0x1f4)][_0x985ec5(0x1ee)]())[_0x985ec5(0x1fc)]()[this[_0x985ec5(0x214)]];return _0xf3dc5[this[_0x985ec5(0x214)]];}return void 0x0!==_0x1b0072&&this[_0x985ec5(0x1f5)]!==_0x4de18d?(this[_0x985ec5(0x214)]=_0x1b0072,this[_0x985ec5(0x1f4)]=_0x54b9cd,this[_0x985ec5(0x1f5)]=_0x4de18d,_0xf3dc5[_0x1b0072]):_0x54b9cd[_0x985ec5(0x1ec)]();}[_0x15381a(0x202)](_0x3490c9,_0x32aba3){const _0x4fc512=_0x15381a;if(_0x3490c9)for(let _0x521f73=0x0;_0x521f73<_0x32aba3[_0x4fc512(0x1ea)];_0x521f73++){const _0x4e58ce=_0x32aba3[_0x521f73];if(_0x3490c9[_0x4fc512(0x1fb)]>=_0x4e58ce[_0x4fc512(0x20e)]-0x3&&_0x3490c9[_0x4fc512(0x1fb)]<=_0x4e58ce[_0x4fc512(0x1fd)]+0x3&&_0x3490c9[_0x4fc512(0x1df)]>=_0x4e58ce[_0x4fc512(0x21c)]-0x3&&_0x3490c9[_0x4fc512(0x1df)]<=_0x4e58ce[_0x4fc512(0x201)]+0x3)return _0x521f73;}}[_0x15381a(0x212)](_0x445d33,_0x5e417b,_0x3e66fa){const _0x39a57f=_0x15381a,_0x52cedc=new _0x40eb74(_0x445d33),_0x463e2e=_0x5e417b||document[_0x39a57f(0x1e8)],_0x5d7ac2=_0x52cedc[_0x39a57f(0x1f7)](_0x2c535a(_0x3e66fa)),_0x95aed2=new _0x40eb74(_0x463e2e)[_0x39a57f(0x1f7)](_0x52cedc);return!!(_0x5d7ac2&&_0x95aed2&&_0x52cedc[_0x39a57f(0x1f3)]>0x0);}}
23
+ const _0x3f1139=_0x47bd;(function(_0x4ee70d,_0x446d67){const _0x53d902=_0x47bd,_0x1768fc=_0x4ee70d();while(!![]){try{const _0x1b0ded=parseInt(_0x53d902(0xab))/0x1*(parseInt(_0x53d902(0x98))/0x2)+parseInt(_0x53d902(0xb3))/0x3+parseInt(_0x53d902(0xc8))/0x4+parseInt(_0x53d902(0xcb))/0x5+parseInt(_0x53d902(0xa1))/0x6*(parseInt(_0x53d902(0xae))/0x7)+-parseInt(_0x53d902(0xba))/0x8*(parseInt(_0x53d902(0xa8))/0x9)+parseInt(_0x53d902(0xc9))/0xa*(-parseInt(_0x53d902(0xc4))/0xb);if(_0x1b0ded===_0x446d67)break;else _0x1768fc['push'](_0x1768fc['shift']());}catch(_0x482a11){_0x1768fc['push'](_0x1768fc['shift']());}}}(_0x473c,0x9be60));import{Rect as _0x32348a,getConstrainedViewportRect as _0x538a92}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x30b93e,View as _0x1c744d,clickOutsideHandler as _0x3f9186}from'ckeditor5/src/ui.js';function _0x473c(){const _0x2fb9c2=['dismissChange','450238TAgCiF','isDiffActive','arrow_se','pin','innerHTML','click','render','show','hover','494238PjOdVu','hideBalloon','resultItemView','bindTemplate','clientY','getBoundingClientRect','left','93159irESsf','reverse','showBalloon','1fOdDEu','documentElement','isVisible','56NdYAvd','width','push','_createContentView','contentDiffed','2819442xBurzl','from','div','set','content','ck-ai_review-balloon-panel-suggestion_diff-active','right','248DoWvcX','getClientRects','_setupClickOutsideHandler','_getBestRectPositionOnHover','unpin','arrow_','_pinnedTargetElement','add','ck-ai_review__suggestion-text','getIntersection','80663jFaZtJ','forEach','_getPointedRectIndexFromEvent','_getBestRectPositionOnClick','2538388ngTxNN','2310JivpUp','resultResponseView','974250ElOYUK','_pinnedRectIndex','deactivateChange','hide','balloon','setTemplate','element','locale','top','bottom','replace','delegate','length','showDiff','_pinnedTargetChangeId','ck-content','updateContent','ck-reset','hideDiffInBalloon','ck-ai_review-balloon-panel-suggestion','extendTemplate','acceptChange','position','_isPinnedRectVisible','clientX','changeId','showDiffInBalloon','fire'];_0x473c=function(){return _0x2fb9c2;};return _0x473c();}function _0x47bd(_0x393967,_0x1182b6){const _0x473c59=_0x473c();return _0x47bd=function(_0x47bd81,_0x174705){_0x47bd81=_0x47bd81-0x80;let _0x1f7840=_0x473c59[_0x47bd81];return _0x1f7840;},_0x47bd(_0x393967,_0x1182b6);}import{AIReviewCoreReviewCheckListItemResultsView as _0x11f648}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x30b93e{[_0x3f1139(0xa3)];[_0x3f1139(0xcc)]=void 0x0;[_0x3f1139(0xc0)]=void 0x0;[_0x3f1139(0x89)]=void 0x0;constructor(_0x5a7431,_0x3bb3f9){const _0x4654fe=_0x3f1139;super(_0x5a7431),this[_0x4654fe(0xb6)]({'isVisible':!0x1,'position':_0x4654fe(0x9a),'class':null,'top':0x0,'left':0x0}),this[_0x4654fe(0x8f)]({'tag':_0x4654fe(0xb5),'attributes':{'class':[_0x4654fe(0x8c)],'tabindex':'-1'}}),this[_0x4654fe(0xb6)](_0x4654fe(0x99),!0x1),this[_0x4654fe(0xb7)][_0x4654fe(0xc1)](this[_0x4654fe(0xb1)]()),_0x3bb3f9[_0x4654fe(0xc1)](this);}[_0x3f1139(0x9e)](){const _0xd60b05=_0x3f1139;super[_0xd60b05(0x9e)](),this[_0xd60b05(0xbc)]();}[_0x3f1139(0x8b)](_0x4fe0d3){const _0x584e9c=_0x3f1139;this[_0x584e9c(0xa3)][_0x584e9c(0x94)]=_0x4fe0d3['id'],this[_0x584e9c(0xa3)][_0x584e9c(0xca)][_0x584e9c(0x81)][_0x584e9c(0x9c)]=_0x4fe0d3[_0x584e9c(0xb2)];}[_0x3f1139(0xaa)](_0x20f67b,_0x11cd59,_0xaae458,_0x2ecf33,_0x2e6a44,_0x5c85a6){const _0x36b812=_0x3f1139,_0x4a35d8=_0x11cd59();if(!_0x4a35d8)return;this[_0x36b812(0x8b)](_0x20f67b),this[_0x36b812(0x9f)]();const _0x13c42c=Array[_0x36b812(0xb4)](_0x4a35d8[_0x36b812(0xbb)]())[_0x36b812(0xa9)](),_0x4cd172=this[_0x36b812(0xc6)](_0xaae458,_0x13c42c),_0x50f904=_0x13c42c[_0x4cd172??0x0];_0x36b812(0x9d)===_0x2ecf33?(this[_0x36b812(0x99)]=!0x0,this[_0x36b812(0x9b)]({'target':()=>this[_0x36b812(0xc7)](_0x11cd59(),_0x4cd172,_0x20f67b['id'],_0x2e6a44,_0x5c85a6)||_0x50f904})):_0x36b812(0xa0)===_0x2ecf33&&(this[_0x36b812(0x99)]=!0x1,this[_0x36b812(0x9b)]({'target':()=>this[_0x36b812(0xbd)](_0x11cd59(),_0x4cd172,_0x20f67b['id'])||_0x50f904}));}[_0x3f1139(0xa2)](){const _0x190467=_0x3f1139;this[_0x190467(0xce)](),this[_0x190467(0xbe)](),this[_0x190467(0xcc)]=void 0x0,this[_0x190467(0xc0)]=void 0x0,this[_0x190467(0x89)]=void 0x0;}[_0x3f1139(0x8d)](){const _0x526db2=_0x3f1139;this[_0x526db2(0xa3)][_0x526db2(0x88)]=!0x1;}[_0x3f1139(0x95)](){const _0x3ca514=_0x3f1139;this[_0x3ca514(0xa3)][_0x3ca514(0x88)]=!0x0;}[_0x3f1139(0xcd)](){const _0x709aba=_0x3f1139;this[_0x709aba(0x96)](_0x709aba(0xcd),{'origin':_0x709aba(0xcf)});}[_0x3f1139(0xbc)](){const _0x5268c2=_0x3f1139;_0x3f9186({'emitter':this,'activator':()=>this[_0x5268c2(0xad)],'contextElements':()=>{const _0x44c7d8=_0x5268c2,_0x291cc7=[this[_0x44c7d8(0x81)]];return this[_0x44c7d8(0xc0)]&&_0x291cc7[_0x44c7d8(0xb0)](this[_0x44c7d8(0xc0)]),_0x291cc7;},'callback':()=>{const _0x1f4803=_0x5268c2;this[_0x1f4803(0xce)](),this[_0x1f4803(0xbe)](),this[_0x1f4803(0xcd)](),this[_0x1f4803(0xc0)]=void 0x0,this[_0x1f4803(0xcc)]=void 0x0,this[_0x1f4803(0x89)]=void 0x0;}});}[_0x3f1139(0xb1)](){const _0x216366=_0x3f1139,_0x2d80bc=new _0x1c744d();return this[_0x216366(0xa3)]=new _0x11f648(this[_0x216366(0x82)],''),this[_0x216366(0xa3)][_0x216366(0xca)][_0x216366(0x8f)]({'attributes':{'class':[_0x216366(0x8a)]}}),this[_0x216366(0xa3)][_0x216366(0x86)](_0x216366(0x90),_0x216366(0x97))['to'](this),_0x2d80bc[_0x216366(0x80)]({'tag':_0x216366(0xb5),'attributes':{'class':[_0x216366(0x8c),_0x216366(0x8e),this[_0x216366(0xa4)]['if'](_0x216366(0x99),_0x216366(0xb8))]},'children':[{'tag':'p','attributes':{'class':[_0x216366(0xc2)]},'children':[this[_0x216366(0xa3)]]}]}),_0x2d80bc;}[_0x3f1139(0xc7)](_0x1d1abc,_0x5c6f52,_0x3da118,_0x2c19e8,_0x4a706e){const _0x27ec58=_0x3f1139;if(!_0x1d1abc)return null;const _0xd87aa5=this[_0x27ec58(0x91)][_0x27ec58(0x85)](_0x27ec58(0xbf),''),_0x1ed04c=Array[_0x27ec58(0xb4)](_0x1d1abc[_0x27ec58(0xbb)]());let _0x580d77,_0x66a3a3=_0x1ed04c[_0x27ec58(0xa9)]();return void 0x0!==_0x5c6f52&&this[_0x27ec58(0x92)](_0x66a3a3[_0x5c6f52],_0x2c19e8,_0x4a706e)?(_0x580d77=_0x66a3a3[_0x5c6f52],this[_0x27ec58(0xcc)]=_0x5c6f52):this[_0x27ec58(0x92)](_0x66a3a3[0x0],_0x2c19e8,_0x4a706e)&&void 0x0===_0x5c6f52?_0x580d77=_0x66a3a3[0x0]:(_0x66a3a3='s'==_0xd87aa5[0x0]?[..._0x1ed04c][_0x27ec58(0xa9)]():_0x1ed04c,_0x66a3a3[_0x27ec58(0xc5)](_0x21868b=>{const _0x2ea060=_0x27ec58;this[_0x2ea060(0x92)](_0x21868b,_0x2c19e8,_0x4a706e)&&(_0x580d77=_0x21868b);})),this[_0x27ec58(0x89)]=_0x3da118,this[_0x27ec58(0xc0)]=_0x1d1abc,_0x580d77||_0x1d1abc[_0x27ec58(0xa6)]();}[_0x3f1139(0xbd)](_0x39efc7,_0x235de2,_0x505ad1){const _0x27712e=_0x3f1139;if(!_0x39efc7)return null;const _0x4acdc7=Array[_0x27712e(0xb4)](_0x39efc7[_0x27712e(0xbb)]())[_0x27712e(0xa9)]();if(void 0x0===this[_0x27712e(0xcc)]&&void 0x0!==_0x235de2&&this[_0x27712e(0x89)]!==_0x505ad1)return this[_0x27712e(0xcc)]=_0x235de2,this[_0x27712e(0xc0)]=_0x39efc7,this[_0x27712e(0x89)]=_0x505ad1,_0x4acdc7[_0x235de2];if(void 0x0!==this[_0x27712e(0xcc)]&&this[_0x27712e(0x89)]===_0x505ad1){if(_0x39efc7!==this[_0x27712e(0xc0)])return Array[_0x27712e(0xb4)](this[_0x27712e(0xc0)][_0x27712e(0xbb)]())[_0x27712e(0xa9)]()[this[_0x27712e(0xcc)]];return _0x4acdc7[this[_0x27712e(0xcc)]];}return void 0x0!==_0x235de2&&this[_0x27712e(0x89)]!==_0x505ad1?(this[_0x27712e(0xcc)]=_0x235de2,this[_0x27712e(0xc0)]=_0x39efc7,this[_0x27712e(0x89)]=_0x505ad1,_0x4acdc7[_0x235de2]):_0x39efc7[_0x27712e(0xa6)]();}[_0x3f1139(0xc6)](_0x3c8855,_0x319019){const _0x404e3e=_0x3f1139;if(_0x3c8855)for(let _0x315319=0x0;_0x315319<_0x319019[_0x404e3e(0x87)];_0x315319++){const _0x34d406=_0x319019[_0x315319];if(_0x3c8855[_0x404e3e(0x93)]>=_0x34d406[_0x404e3e(0xa7)]-0x3&&_0x3c8855[_0x404e3e(0x93)]<=_0x34d406[_0x404e3e(0xb9)]+0x3&&_0x3c8855[_0x404e3e(0xa5)]>=_0x34d406[_0x404e3e(0x83)]-0x3&&_0x3c8855[_0x404e3e(0xa5)]<=_0x34d406[_0x404e3e(0x84)]+0x3)return _0x315319;}}[_0x3f1139(0x92)](_0x1bc9da,_0x364104,_0xf14a46){const _0x58a60a=_0x3f1139,_0x1b6d58=new _0x32348a(_0x1bc9da),_0x2bb764=_0x364104||document[_0x58a60a(0xac)],_0x47a0d9=_0x1b6d58[_0x58a60a(0xc3)](_0x538a92(_0xf14a46)),_0x48f750=new _0x32348a(_0x2bb764)[_0x58a60a(0xc3)](_0x1b6d58);return!!(_0x47a0d9&&_0x48f750&&_0x1b6d58[_0x58a60a(0xaf)]>0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23cc7d=_0x4341;(function(_0x862ad3,_0x575b5e){const _0x2d54c4=_0x4341,_0x49c975=_0x862ad3();while(!![]){try{const _0x140271=parseInt(_0x2d54c4(0x179))/0x1*(parseInt(_0x2d54c4(0x187))/0x2)+parseInt(_0x2d54c4(0x16a))/0x3*(parseInt(_0x2d54c4(0x185))/0x4)+-parseInt(_0x2d54c4(0x194))/0x5*(parseInt(_0x2d54c4(0x168))/0x6)+parseInt(_0x2d54c4(0x18f))/0x7*(-parseInt(_0x2d54c4(0x17f))/0x8)+-parseInt(_0x2d54c4(0x163))/0x9*(-parseInt(_0x2d54c4(0x18d))/0xa)+-parseInt(_0x2d54c4(0x14a))/0xb+parseInt(_0x2d54c4(0x177))/0xc*(parseInt(_0x2d54c4(0x145))/0xd);if(_0x140271===_0x575b5e)break;else _0x49c975['push'](_0x49c975['shift']());}catch(_0x2f3ff4){_0x49c975['push'](_0x49c975['shift']());}}}(_0x5db9,0x40260));import{View as _0x559cec,ButtonView as _0x34b69b}from'ckeditor5/src/ui.js';import{IconInfo as _0x42f308,IconCheck as _0xe6c499,IconCancel as _0xe0edc3,IconOutdated as _0x1d9e3b}from'ckeditor5/src/icons.js';function _0x4341(_0x1bb7cd,_0x2afe58){const _0x5db9b0=_0x5db9();return _0x4341=function(_0x434178,_0x5e4028){_0x434178=_0x434178-0x142;let _0x1a0cb6=_0x5db9b0[_0x434178];return _0x1a0cb6;},_0x4341(_0x1bb7cd,_0x2afe58);}import{getTranslation as _0x3a8b44}from'../../aicore/utils/common-translations.js';function _0x5db9(){const _0x50fe2f=['locale','outdated','outdatedButtonView','isInfoToggleOn','_createDismissButtonView','ck-ai_review__check-run-result-footer','ck-ai_review__check-run-result-accept-button','extendTemplate','menuitemcheckbox','showDiff','ck-content','resultResponseView','changeId','fire','acceptChange','ck-reset_all-excluded','_createInfoButtonView','162EZjbDO','isEnabled','AI_REVIEW_MODE_LEARN_MORE','panel','bindTemplate','1788heBkRD','isActive','1361481xdoclU','ck-ai_review__check-run-result-dismiss-button','tagName','_createAcceptButtonView','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','disabled','pending','rejected','ck-ai_review__check-run-result-action-buttons','deactivateChange','_createOutdatedButtonView','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','AI_REVIEW_MODE_DISMISS_CHANGE','24WectWv','icon','1609IoXAvr','hover','activateChange','ck-ai_review__check-run-result-status-button','dismissButtonView','ck-ai_review__check-run-result','8wYliul','setItemAsInactive','ck-ai-button-secondary','dismissChange','AI_REVIEW_MODE_ACCEPT_CHANGE','setItemAsActive','4tYkWUB','ck-ai-button-tertiary','112TqafTm','stopPropagation','acceptButtonView','mouseover','ck-ai_review__check-run-result-response','status','173020jESXtr','target','3261811aOUWLT','div','ck-hidden','ck-ai_review__check-run-result_active','isOn','8210PNigUE','change:status','accepted','_createResultResponseView','5365672HQdoZl','execute','preventDefault','infoButtonView','label','5090954LbeIeB','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','set','setTemplate','click','mouseout','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','bind'];_0x5db9=function(){return _0x50fe2f;};return _0x5db9();}export class AIReviewCoreReviewCheckListItemResultsView extends _0x559cec{[_0x23cc7d(0x15d)];[_0x23cc7d(0x189)];[_0x23cc7d(0x17d)];[_0x23cc7d(0x148)];[_0x23cc7d(0x154)];constructor(_0xca2f82,_0x2574dd){const _0x278d65=_0x23cc7d;super(_0xca2f82),this['id']=_0x2574dd,this[_0x278d65(0x14c)](_0x278d65(0x18c),_0x278d65(0x170)),this[_0x278d65(0x14c)](_0x278d65(0x15e),_0x2574dd),this[_0x278d65(0x15d)]=this[_0x278d65(0x144)](),this[_0x278d65(0x189)]=this[_0x278d65(0x16d)](),this[_0x278d65(0x17d)]=this[_0x278d65(0x156)](),this[_0x278d65(0x148)]=this[_0x278d65(0x162)](),this[_0x278d65(0x154)]=this[_0x278d65(0x174)](),this[_0x278d65(0x14c)](_0x278d65(0x155),!0x1),this[_0x278d65(0x14c)](_0x278d65(0x169),!0x1),this[_0x278d65(0x14c)](_0x278d65(0x15b),!0x0),this[_0x278d65(0x14d)]({'tag':_0x278d65(0x190),'attributes':{'class':[_0x278d65(0x17e),this[_0x278d65(0x167)]['if'](_0x278d65(0x169),_0x278d65(0x192))]},'on':{'click':this[_0x278d65(0x167)]['to'](_0x278d65(0x14e)),'mouseover':this[_0x278d65(0x167)]['to'](_0x278d65(0x18a)),'mouseout':this[_0x278d65(0x167)]['to'](_0x278d65(0x14f))},'children':[this[_0x278d65(0x15d)],{'tag':_0x278d65(0x190),'attributes':{'class':[_0x278d65(0x157)]},'children':[{'tag':_0x278d65(0x190),'attributes':{'class':[_0x278d65(0x172)]},'children':[this[_0x278d65(0x189)],this[_0x278d65(0x17d)],this[_0x278d65(0x154)]]},this[_0x278d65(0x148)]]}]}),this['on'](_0x278d65(0x14e),(_0x39b7da,_0xa01961)=>{const _0x592a66=_0x278d65;_0xa01961&&_0xa01961[_0x592a66(0x18e)]&&'A'===_0xa01961[_0x592a66(0x18e)][_0x592a66(0x16c)]&&_0xa01961[_0x592a66(0x147)](),this[_0x592a66(0x15f)](_0x592a66(0x17b),{'id':_0x2574dd,'source':this,'uiInteraction':_0x592a66(0x14e)});}),this['on'](_0x278d65(0x18a),()=>{const _0x58c603=_0x278d65;this[_0x58c603(0x15f)](_0x58c603(0x17b),{'id':_0x2574dd,'source':this,'uiInteraction':_0x58c603(0x17a)});}),this['on'](_0x278d65(0x14f),()=>{const _0x5e18f3=_0x278d65;this[_0x5e18f3(0x15f)](_0x5e18f3(0x173),{'origin':_0x5e18f3(0x166),'id':_0x2574dd,'source':this});});}[_0x23cc7d(0x184)](){const _0x379a9c=_0x23cc7d;this[_0x379a9c(0x169)]=!0x0;}[_0x23cc7d(0x180)](){const _0x3d20d2=_0x23cc7d;this[_0x3d20d2(0x169)]=!0x1;}[_0x23cc7d(0x144)](){const _0x29beae=_0x23cc7d,_0x2be82a=new _0x559cec(this[_0x29beae(0x152)]);return _0x2be82a[_0x29beae(0x14d)]({'tag':_0x29beae(0x190),'attributes':{'class':['ck',_0x29beae(0x15c),_0x29beae(0x161),_0x29beae(0x18b),this[_0x29beae(0x167)]['if'](_0x29beae(0x15b),_0x29beae(0x191),_0x49e55d=>!_0x49e55d)]}}),_0x2be82a;}[_0x23cc7d(0x16d)](){const _0x6a4030=_0x23cc7d,_0x23006e=new _0x34b69b(this[_0x6a4030(0x152)]);return _0x23006e[_0x6a4030(0x14c)]({'label':_0x3a8b44(this[_0x6a4030(0x152)],_0x6a4030(0x183)),'withText':!0x0}),_0x23006e[_0x6a4030(0x159)]({'on':{'click':this[_0x6a4030(0x167)]['to'](_0x2264f8=>{const _0x579558=_0x6a4030;this[_0x579558(0x15f)](_0x579558(0x160),{'id':this[_0x579558(0x15e)]}),_0x2264f8[_0x579558(0x188)]();})},'attributes':{'class':[_0x6a4030(0x181),_0x6a4030(0x158),this[_0x6a4030(0x167)]['if'](_0x6a4030(0x18c),_0x6a4030(0x191),_0x281d80=>_0x6a4030(0x170)!==_0x281d80&&_0x6a4030(0x143)!==_0x281d80),this[_0x6a4030(0x167)]['if'](_0x6a4030(0x18c),_0x6a4030(0x158),_0x244bb1=>_0x6a4030(0x170)===_0x244bb1),this[_0x6a4030(0x167)]['if'](_0x6a4030(0x18c),_0x6a4030(0x17c),_0x1853e8=>_0x6a4030(0x143)===_0x1853e8)]}}),this['on'](_0x6a4030(0x142),(_0x1f0e9a,_0x4e4247,_0x5a893c)=>{const _0x24080a=_0x6a4030;_0x23006e[_0x24080a(0x164)]=_0x24080a(0x170)===_0x5a893c,_0x24080a(0x143)===_0x5a893c&&(_0x23006e[_0x24080a(0x149)]=_0x3a8b44(this[_0x24080a(0x152)],_0x24080a(0x16e)),_0x23006e[_0x24080a(0x178)]=_0xe6c499);}),_0x23006e;}[_0x23cc7d(0x156)](){const _0x10c35c=_0x23cc7d,_0x1a47d8=new _0x34b69b(this[_0x10c35c(0x152)]);return _0x1a47d8[_0x10c35c(0x14c)]({'label':_0x3a8b44(this[_0x10c35c(0x152)],_0x10c35c(0x176)),'withText':!0x0}),_0x1a47d8[_0x10c35c(0x159)]({'on':{'click':this[_0x10c35c(0x167)]['to'](_0x1339ad=>{const _0x142cb5=_0x10c35c;this[_0x142cb5(0x15f)](_0x142cb5(0x182),{'id':this[_0x142cb5(0x15e)]}),_0x1339ad[_0x142cb5(0x188)]();})},'attributes':{'class':[_0x10c35c(0x186),this[_0x10c35c(0x167)]['if'](_0x10c35c(0x18c),_0x10c35c(0x191),_0x4180cc=>_0x10c35c(0x170)!==_0x4180cc&&_0x10c35c(0x171)!==_0x4180cc),this[_0x10c35c(0x167)]['if'](_0x10c35c(0x18c),_0x10c35c(0x16b),_0x4a0c16=>_0x10c35c(0x170)===_0x4a0c16),this[_0x10c35c(0x167)]['if'](_0x10c35c(0x18c),_0x10c35c(0x17c),_0x1e326c=>_0x10c35c(0x171)===_0x1e326c)]}}),this['on'](_0x10c35c(0x142),(_0x1886ae,_0x4a2193,_0x57187b)=>{const _0x202ce2=_0x10c35c;_0x1a47d8[_0x202ce2(0x164)]=_0x202ce2(0x170)===_0x57187b,_0x202ce2(0x171)===_0x57187b&&(_0x1a47d8[_0x202ce2(0x149)]=_0x3a8b44(this[_0x202ce2(0x152)],_0x202ce2(0x175)),_0x1a47d8[_0x202ce2(0x178)]=_0xe0edc3);}),_0x1a47d8;}[_0x23cc7d(0x162)](){const _0x1888b4=_0x23cc7d,_0x53c6f7=new _0x34b69b(this[_0x1888b4(0x152)]);return _0x53c6f7[_0x1888b4(0x14c)]({'label':_0x3a8b44(this[_0x1888b4(0x152)],_0x1888b4(0x165)),'icon':_0x42f308,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x1888b4(0x15a),'class':_0x1888b4(0x14b)}),_0x53c6f7[_0x1888b4(0x151)](_0x1888b4(0x193))['to'](this,_0x1888b4(0x155),_0x1aa05c=>_0x1aa05c),_0x53c6f7['on'](_0x1888b4(0x146),()=>{const _0x294d5a=_0x1888b4;this[_0x294d5a(0x155)]=!this[_0x294d5a(0x155)];}),_0x53c6f7;}[_0x23cc7d(0x174)](){const _0x10da70=_0x23cc7d,_0x20e2de=new _0x34b69b(this[_0x10da70(0x152)]);return _0x20e2de[_0x10da70(0x14c)]({'label':_0x3a8b44(this[_0x10da70(0x152)],_0x10da70(0x150)),'icon':_0x1d9e3b,'withText':!0x0,'isEnabled':!0x1}),_0x20e2de[_0x10da70(0x159)]({'attributes':{'class':[_0x10da70(0x181),_0x10da70(0x17c),this[_0x10da70(0x167)]['if'](_0x10da70(0x18c),_0x10da70(0x191),_0x4bde4b=>_0x10da70(0x153)!==_0x4bde4b)],'disabled':_0x10da70(0x16f)}}),_0x20e2de;}}
23
+ function _0x5dc2(){const _0x2a1cd6=['infoButtonView','102339aZDKmt','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','showDiff','ck-ai_review__check-run-result-footer','status','hover','ck-ai_review__check-run-result_active','4vnIpoC','mouseover','locale','14xXHTID','ck-ai_review__check-run-result-dismiss-button','click','changeId','resultResponseView','div','rejected','bind','acceptButtonView','ck-ai-button-secondary','menuitemcheckbox','ck-content','fire','setItemAsActive','AI_REVIEW_MODE_ACCEPT_CHANGE','setItemAsInactive','ck-ai_review__check-run-result-response','1599635LvXAOs','stopPropagation','acceptChange','isOn','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','target','10891310uKjDac','mouseout','setTemplate','ck-reset_all-excluded','4993155JJeUBZ','_createResultResponseView','outdatedButtonView','icon','ck-ai_review__check-run-result-action-buttons','tagName','extendTemplate','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','activateChange','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','ck-ai-button-tertiary','pending','disabled','5320ygDwrM','_createAcceptButtonView','21985eCsXFD','isInfoToggleOn','outdated','ck-ai_review__check-run-result-status-button','preventDefault','_createOutdatedButtonView','_createDismissButtonView','set','AI_REVIEW_MODE_DISMISS_CHANGE','2433990nIzwze','execute','isEnabled','ck-ai_review__check-run-result-accept-button','accepted','deactivateChange','dismissButtonView','change:status','panel','AI_REVIEW_MODE_LEARN_MORE','bindTemplate','ck-hidden','ck-ai_review__check-run-result','isActive','label','dismissChange','3311PjBEaX','_createInfoButtonView'];_0x5dc2=function(){return _0x2a1cd6;};return _0x5dc2();}const _0x495790=_0xd11e;(function(_0x1719b6,_0x2a7f61){const _0x2f28e0=_0xd11e,_0x47d6f1=_0x1719b6();while(!![]){try{const _0x552824=parseInt(_0x2f28e0(0xbf))/0x1+-parseInt(_0x2f28e0(0x95))/0x2*(parseInt(_0x2f28e0(0x8b))/0x3)+parseInt(_0x2f28e0(0x92))/0x4*(parseInt(_0x2f28e0(0xa6))/0x5)+parseInt(_0x2f28e0(0xc8))/0x6+parseInt(_0x2f28e0(0x88))/0x7*(parseInt(_0x2f28e0(0xbd))/0x8)+parseInt(_0x2f28e0(0xb0))/0x9+-parseInt(_0x2f28e0(0xac))/0xa;if(_0x552824===_0x2a7f61)break;else _0x47d6f1['push'](_0x47d6f1['shift']());}catch(_0x328a0f){_0x47d6f1['push'](_0x47d6f1['shift']());}}}(_0x5dc2,0x468e3));import{View as _0x2272d7,ButtonView as _0x32a549}from'ckeditor5/src/ui.js';import{IconInfo as _0x3e8356,IconCheck as _0x234e38,IconCancel as _0x43e52f,IconOutdated as _0x5401d7}from'ckeditor5/src/icons.js';function _0xd11e(_0x31c57b,_0x3ef46d){const _0x5dc2c9=_0x5dc2();return _0xd11e=function(_0xd11e56,_0x456c3c){_0xd11e56=_0xd11e56-0x83;let _0x3e1613=_0x5dc2c9[_0xd11e56];return _0x3e1613;},_0xd11e(_0x31c57b,_0x3ef46d);}import{getTranslation as _0x447c2f}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x2272d7{[_0x495790(0x99)];[_0x495790(0x9d)];[_0x495790(0xce)];[_0x495790(0x8a)];[_0x495790(0xb2)];constructor(_0x291823,_0x2a6216){const _0x21790a=_0x495790;super(_0x291823),this['id']=_0x2a6216,this[_0x21790a(0xc6)](_0x21790a(0x8f),_0x21790a(0xbb)),this[_0x21790a(0xc6)](_0x21790a(0x98),_0x2a6216),this[_0x21790a(0x99)]=this[_0x21790a(0xb1)](),this[_0x21790a(0x9d)]=this[_0x21790a(0xbe)](),this[_0x21790a(0xce)]=this[_0x21790a(0xc5)](),this[_0x21790a(0x8a)]=this[_0x21790a(0x89)](),this[_0x21790a(0xb2)]=this[_0x21790a(0xc4)](),this[_0x21790a(0xc6)](_0x21790a(0xc0),!0x1),this[_0x21790a(0xc6)](_0x21790a(0x85),!0x1),this[_0x21790a(0xc6)](_0x21790a(0x8d),!0x0),this[_0x21790a(0xae)]({'tag':_0x21790a(0x9a),'attributes':{'class':[_0x21790a(0x84),this[_0x21790a(0xd2)]['if'](_0x21790a(0x85),_0x21790a(0x91))]},'on':{'click':this[_0x21790a(0xd2)]['to'](_0x21790a(0x97)),'mouseover':this[_0x21790a(0xd2)]['to'](_0x21790a(0x93)),'mouseout':this[_0x21790a(0xd2)]['to'](_0x21790a(0xad))},'children':[this[_0x21790a(0x99)],{'tag':_0x21790a(0x9a),'attributes':{'class':[_0x21790a(0x8e)]},'children':[{'tag':_0x21790a(0x9a),'attributes':{'class':[_0x21790a(0xb4)]},'children':[this[_0x21790a(0x9d)],this[_0x21790a(0xce)],this[_0x21790a(0xb2)]]},this[_0x21790a(0x8a)]]}]}),this['on'](_0x21790a(0x97),(_0x753b59,_0x1dca23)=>{const _0x2c39b6=_0x21790a;_0x1dca23&&_0x1dca23[_0x2c39b6(0xab)]&&'A'===_0x1dca23[_0x2c39b6(0xab)][_0x2c39b6(0xb5)]&&_0x1dca23[_0x2c39b6(0xc3)](),this[_0x2c39b6(0xa1)](_0x2c39b6(0xb8),{'id':_0x2a6216,'source':this,'uiInteraction':_0x2c39b6(0x97)});}),this['on'](_0x21790a(0x93),()=>{const _0x3fa597=_0x21790a;this[_0x3fa597(0xa1)](_0x3fa597(0xb8),{'id':_0x2a6216,'source':this,'uiInteraction':_0x3fa597(0x90)});}),this['on'](_0x21790a(0xad),()=>{const _0x418fc0=_0x21790a;this[_0x418fc0(0xa1)](_0x418fc0(0xcd),{'origin':_0x418fc0(0xd0),'id':_0x2a6216,'source':this});});}[_0x495790(0xa2)](){const _0x1b19b=_0x495790;this[_0x1b19b(0x85)]=!0x0;}[_0x495790(0xa4)](){const _0x205496=_0x495790;this[_0x205496(0x85)]=!0x1;}[_0x495790(0xb1)](){const _0x33be8f=_0x495790,_0x5bae8e=new _0x2272d7(this[_0x33be8f(0x94)]);return _0x5bae8e[_0x33be8f(0xae)]({'tag':_0x33be8f(0x9a),'attributes':{'class':['ck',_0x33be8f(0xa0),_0x33be8f(0xaf),_0x33be8f(0xa5),this[_0x33be8f(0xd2)]['if'](_0x33be8f(0x8d),_0x33be8f(0x83),_0x50077a=>!_0x50077a)]}}),_0x5bae8e;}[_0x495790(0xbe)](){const _0x3fd341=_0x495790,_0x2e8612=new _0x32a549(this[_0x3fd341(0x94)]);return _0x2e8612[_0x3fd341(0xc6)]({'label':_0x447c2f(this[_0x3fd341(0x94)],_0x3fd341(0xa3)),'withText':!0x0}),_0x2e8612[_0x3fd341(0xb6)]({'on':{'click':this[_0x3fd341(0xd2)]['to'](_0x17641a=>{const _0x2d360c=_0x3fd341;this[_0x2d360c(0xa1)](_0x2d360c(0xa8),{'id':this[_0x2d360c(0x98)]}),_0x17641a[_0x2d360c(0xa7)]();})},'attributes':{'class':[_0x3fd341(0x9e),_0x3fd341(0xcb),this[_0x3fd341(0xd2)]['if'](_0x3fd341(0x8f),_0x3fd341(0x83),_0x10d492=>_0x3fd341(0xbb)!==_0x10d492&&_0x3fd341(0xcc)!==_0x10d492),this[_0x3fd341(0xd2)]['if'](_0x3fd341(0x8f),_0x3fd341(0xcb),_0x40f4fe=>_0x3fd341(0xbb)===_0x40f4fe),this[_0x3fd341(0xd2)]['if'](_0x3fd341(0x8f),_0x3fd341(0xc2),_0x2f7e1e=>_0x3fd341(0xcc)===_0x2f7e1e)]}}),this['on'](_0x3fd341(0xcf),(_0x3a315a,_0x3afce0,_0x5c988a)=>{const _0x312288=_0x3fd341;_0x2e8612[_0x312288(0xca)]=_0x312288(0xbb)===_0x5c988a,_0x312288(0xcc)===_0x5c988a&&(_0x2e8612[_0x312288(0x86)]=_0x447c2f(this[_0x312288(0x94)],_0x312288(0xb7)),_0x2e8612[_0x312288(0xb3)]=_0x234e38);}),_0x2e8612;}[_0x495790(0xc5)](){const _0x927c=_0x495790,_0x4ef588=new _0x32a549(this[_0x927c(0x94)]);return _0x4ef588[_0x927c(0xc6)]({'label':_0x447c2f(this[_0x927c(0x94)],_0x927c(0xc7)),'withText':!0x0}),_0x4ef588[_0x927c(0xb6)]({'on':{'click':this[_0x927c(0xd2)]['to'](_0x32643d=>{const _0x31254f=_0x927c;this[_0x31254f(0xa1)](_0x31254f(0x87),{'id':this[_0x31254f(0x98)]}),_0x32643d[_0x31254f(0xa7)]();})},'attributes':{'class':[_0x927c(0xba),this[_0x927c(0xd2)]['if'](_0x927c(0x8f),_0x927c(0x83),_0x202544=>_0x927c(0xbb)!==_0x202544&&_0x927c(0x9b)!==_0x202544),this[_0x927c(0xd2)]['if'](_0x927c(0x8f),_0x927c(0x96),_0x3acf99=>_0x927c(0xbb)===_0x3acf99),this[_0x927c(0xd2)]['if'](_0x927c(0x8f),_0x927c(0xc2),_0x5cbb08=>_0x927c(0x9b)===_0x5cbb08)]}}),this['on'](_0x927c(0xcf),(_0x57c61d,_0x19c6ad,_0x56e5ed)=>{const _0x44738e=_0x927c;_0x4ef588[_0x44738e(0xca)]=_0x44738e(0xbb)===_0x56e5ed,_0x44738e(0x9b)===_0x56e5ed&&(_0x4ef588[_0x44738e(0x86)]=_0x447c2f(this[_0x44738e(0x94)],_0x44738e(0xb9)),_0x4ef588[_0x44738e(0xb3)]=_0x43e52f);}),_0x4ef588;}[_0x495790(0x89)](){const _0x2e4b30=_0x495790,_0x1f9f81=new _0x32a549(this[_0x2e4b30(0x94)]);return _0x1f9f81[_0x2e4b30(0xc6)]({'label':_0x447c2f(this[_0x2e4b30(0x94)],_0x2e4b30(0xd1)),'icon':_0x3e8356,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x2e4b30(0x9f),'class':_0x2e4b30(0xaa)}),_0x1f9f81[_0x2e4b30(0x9c)](_0x2e4b30(0xa9))['to'](this,_0x2e4b30(0xc0),_0x48a063=>_0x48a063),_0x1f9f81['on'](_0x2e4b30(0xc9),()=>{const _0x47cc36=_0x2e4b30;this[_0x47cc36(0xc0)]=!this[_0x47cc36(0xc0)];}),_0x1f9f81;}[_0x495790(0xc4)](){const _0x5a9eb9=_0x495790,_0x53da41=new _0x32a549(this[_0x5a9eb9(0x94)]);return _0x53da41[_0x5a9eb9(0xc6)]({'label':_0x447c2f(this[_0x5a9eb9(0x94)],_0x5a9eb9(0x8c)),'icon':_0x5401d7,'withText':!0x0,'isEnabled':!0x1}),_0x53da41[_0x5a9eb9(0xb6)]({'attributes':{'class':[_0x5a9eb9(0x9e),_0x5a9eb9(0xc2),this[_0x5a9eb9(0xd2)]['if'](_0x5a9eb9(0x8f),_0x5a9eb9(0x83),_0x5049b4=>_0x5a9eb9(0xc1)!==_0x5049b4)],'disabled':_0x5a9eb9(0xbc)}}),_0x53da41;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x417e07,KeystrokeHandler as _0x93a2e0,FocusTracker as _0x423884}from'ckeditor5/src/utils.js';import{View as _0x205bee,ViewCollection as _0x5dce0c,ButtonView as _0x4629b6,FormRowView as _0x17e4e6,createDropdown as _0xceda61,addListToDropdown as _0x1b9583,UIModel as _0x2d22ea,ButtonLabelView as _0x7a081a,LabeledFieldView as _0x2343c8,FocusCycler as _0x4e2f89}from'ckeditor5/src/ui.js';import{getTranslation as _0x2865f0}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x32689b}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x205bee{['focusTracker']=new _0x423884();['keystrokes']=new _0x93a2e0();['focusCycler'];['_focusables']=new _0x5dce0c();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x4b0167,_0x2e485f,_0x3490c5=!0x1){super(_0x4b0167),this['_check']=_0x2e485f,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x2e485f['defaultModel']?_0x2e485f['defaultModel']['id']:'',this['_defaultLabel']=_0x2e485f['defaultModel']?_0x2e485f['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x2343c8(this['locale'],()=>new _0x32689b(_0x4b0167)),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 _0x417e07(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x3490c5),_0x1b9583(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x17e4e6(this['locale'],{'children':[this['promptInputView']]}),new _0x17e4e6(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0xe22f75,_0x13e777)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x13e777()):_0x13e777();}),this['focusCycler']=new _0x4e2f89({'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'](_0x155cf5=>{this['_focusables']['add'](_0x155cf5),this['focusTracker']['add'](_0x155cf5['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 _0x96a54d of this['_getFormValidators']()){const _0xefdf78=_0x96a54d();if(_0xefdf78)return this['promptInputView']['errorText']=_0xefdf78,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x2865f0(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0xe067d5=new _0x4629b6(this['locale']),t=this['locale']['t'];return _0xe067d5['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0xe067d5['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0xe067d5;}['_createCancelButtonView'](){const _0x3d929d=new _0x4629b6(this['locale']),t=this['locale']['t'];return _0x3d929d['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x3d929d['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x5f47d5=>{_0x5f47d5['stopPropagation']();})}}),_0x3d929d['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x3d929d;}['_setModelList'](_0x312e7e){this['_modelSelectionDropdownItems']['clear']();const _0x5a47b0=this['_check']['models'];if(_0x312e7e)this['set']('modelDisplayMode','hidden');else{const _0x2fb62c=0x1===_0x5a47b0['length'];this['set']('modelDisplayMode',_0x2fb62c?'name':'selector');}if(this['resetToDefault'](),_0x5a47b0?.['length']){0x1===_0x5a47b0['length']&&this['set']('activeModelName',_0x5a47b0[0x0]['name']||_0x5a47b0[0x0]['id']);for(const _0x1494dd of _0x5a47b0){const _0x3e90cc=new _0x2d22ea({'label':_0x1494dd['name'],'withText':!0x0,'role':'menuitemradio','id':_0x1494dd['id'],'model':_0x1494dd});_0x3e90cc['bind']('isOn')['to'](this,'modelId',_0x36ba35=>_0x36ba35===_0x1494dd['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x3e90cc,'labelView':new ko(this['locale'],_0x1494dd)});}}}['_createModelSelectionDropdown'](){const _0x23f6e7=_0xceda61(this['locale']);return _0x23f6e7['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x23f6e7['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x23f6e7['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x4fe8f8=>'selector'===_0x4fe8f8),this['listenTo'](_0x23f6e7,'execute',_0x58f3fe=>{this['modelId']=_0x58f3fe['source']['model']['id'],_0x23f6e7['buttonView']['label']=_0x58f3fe['source']['label'];}),_0x23f6e7;}['_createModelNameView'](){const _0x2eec06=new _o(this['locale']);return _0x2eec06['bind']('text')['to'](this,'activeModelName',_0x3271f9=>_0x3271f9??''),_0x2eec06['bind']('isVisible')['to'](this,'modelDisplayMode',_0x1686d9=>'name'===_0x1686d9),_0x2eec06;}['_createActionsFooterView'](){const _0x2a7d66=new _0x205bee(this['locale']);return _0x2a7d66['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']]}]}),_0x2a7d66;}}class _o extends _0x205bee{constructor(_0x2f166f){super(_0x2f166f),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x4b1aae=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x4b1aae['if']('isVisible','ck-hidden',_0x1c6557=>!_0x1c6557)]},'children':[{'text':_0x4b1aae['to']('text')}]});}}class ko extends _0x7a081a{constructor(_0x24870b,_0x490c5b){super();const _0x17b951=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x17b951['to']('style'),'id':_0x17b951['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x17b951['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x490c5b['description']||'']}]}]});}}
23
+ import{Collection as _0xd6a48c,KeystrokeHandler as _0x2e6bac,FocusTracker as _0x174930}from'ckeditor5/src/utils.js';import{View as _0x3c7819,ViewCollection as _0x36044a,ButtonView as _0x3a4371,FormRowView as _0x2e0f9c,createDropdown as _0x9a119c,addListToDropdown as _0x1aeff6,UIModel as _0x5db3e0,ButtonLabelView as _0x22c073,LabeledFieldView as _0x2357b1,FocusCycler as _0x5eb3bf}from'ckeditor5/src/ui.js';import{getTranslation as _0x14da4e}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x58dcea}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x3c7819{['focusTracker']=new _0x174930();['keystrokes']=new _0x2e6bac();['focusCycler'];['_focusables']=new _0x36044a();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x37034c,_0x457a14,_0x1bc36c=!0x1){super(_0x37034c),this['_check']=_0x457a14,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x457a14['defaultModel']?_0x457a14['defaultModel']['id']:'',this['_defaultLabel']=_0x457a14['defaultModel']?_0x457a14['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x2357b1(this['locale'],()=>new _0x58dcea(_0x37034c)),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 _0xd6a48c(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x1bc36c),_0x1aeff6(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x2e0f9c(this['locale'],{'children':[this['promptInputView']]}),new _0x2e0f9c(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x5d1a63,_0x52d205)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x52d205()):_0x52d205();}),this['focusCycler']=new _0x5eb3bf({'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'](_0x9fc739=>{this['_focusables']['add'](_0x9fc739),this['focusTracker']['add'](_0x9fc739['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 _0x38a8fd of this['_getFormValidators']()){const _0x1a1db3=_0x38a8fd();if(_0x1a1db3)return this['promptInputView']['errorText']=_0x1a1db3,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x14da4e(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x3f535a=new _0x3a4371(this['locale']),t=this['locale']['t'];return _0x3f535a['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3f535a['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x3f535a;}['_createCancelButtonView'](){const _0x3f0a67=new _0x3a4371(this['locale']),t=this['locale']['t'];return _0x3f0a67['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x3f0a67['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x225195=>{_0x225195['stopPropagation']();})}}),_0x3f0a67['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x3f0a67;}['_setModelList'](_0x3cfa56){this['_modelSelectionDropdownItems']['clear']();const _0x12d333=this['_check']['models'];if(_0x3cfa56)this['set']('modelDisplayMode','hidden');else{const _0x120ba2=0x1===_0x12d333['length'];this['set']('modelDisplayMode',_0x120ba2?'name':'selector');}if(this['resetToDefault'](),_0x12d333?.['length']){0x1===_0x12d333['length']&&this['set']('activeModelName',_0x12d333[0x0]['name']||_0x12d333[0x0]['id']);for(const _0x308dd5 of _0x12d333){const _0x110da0=new _0x5db3e0({'label':_0x308dd5['name'],'withText':!0x0,'role':'menuitemradio','id':_0x308dd5['id'],'model':_0x308dd5});_0x110da0['bind']('isOn')['to'](this,'modelId',_0x1a6f09=>_0x1a6f09===_0x308dd5['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x110da0,'labelView':new po(this['locale'],_0x308dd5)});}}}['_createModelSelectionDropdown'](){const _0x3b32ae=_0x9a119c(this['locale']);return _0x3b32ae['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x3b32ae['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x3b32ae['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x29b496=>'selector'===_0x29b496),this['listenTo'](_0x3b32ae,'execute',_0x17b60c=>{this['modelId']=_0x17b60c['source']['model']['id'],_0x3b32ae['buttonView']['label']=_0x17b60c['source']['label'];}),_0x3b32ae;}['_createModelNameView'](){const _0x37d51=new wo(this['locale']);return _0x37d51['bind']('text')['to'](this,'activeModelName',_0xbe291d=>_0xbe291d??''),_0x37d51['bind']('isVisible')['to'](this,'modelDisplayMode',_0x143a79=>'name'===_0x143a79),_0x37d51;}['_createActionsFooterView'](){const _0x1d9a3f=new _0x3c7819(this['locale']);return _0x1d9a3f['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']]}]}),_0x1d9a3f;}}class wo extends _0x3c7819{constructor(_0x5eeddf){super(_0x5eeddf),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x516c89=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x516c89['if']('isVisible','ck-hidden',_0x411c03=>!_0x411c03)]},'children':[{'text':_0x516c89['to']('text')}]});}}class po extends _0x22c073{constructor(_0x1f87c4,_0x205afe){super();const _0x44b7c0=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x44b7c0['to']('style'),'id':_0x44b7c0['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x44b7c0['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x205afe['description']||'']}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2c29bd,_0x459f32){var _0x11ddf4=_0xa00e,_0x2c82b4=_0x2c29bd();while(!![]){try{var _0x29800d=parseInt(_0x11ddf4(0x118))/0x1*(parseInt(_0x11ddf4(0x11b))/0x2)+-parseInt(_0x11ddf4(0x119))/0x3+parseInt(_0x11ddf4(0x116))/0x4+parseInt(_0x11ddf4(0x111))/0x5*(parseInt(_0x11ddf4(0x117))/0x6)+-parseInt(_0x11ddf4(0x110))/0x7+-parseInt(_0x11ddf4(0x10e))/0x8*(parseInt(_0x11ddf4(0x114))/0x9)+-parseInt(_0x11ddf4(0x11a))/0xa;if(_0x29800d===_0x459f32)break;else _0x2c82b4['push'](_0x2c82b4['shift']());}catch(_0x55d8bf){_0x2c82b4['push'](_0x2c82b4['shift']());}}}(_0x2792,0x6593e));import{ButtonView as _0x49c57c}from'ckeditor5/src/ui.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0xa00e(_0x4d31e6,_0x21bc00){var _0x2792c3=_0x2792();return _0xa00e=function(_0xa00e24,_0x278398){_0xa00e24=_0xa00e24-0x10e;var _0x1c8e50=_0x2792c3[_0xa00e24];return _0x1c8e50;},_0xa00e(_0x4d31e6,_0x21bc00);}function _0x2792(){var _0x1243ae=['1275320BjVKSv','4669626qofFFE','261Lmonsb','1105257fMqIxJ','1866770ETHcEs','1998kSqSif','execute','48iScsGl','ck-ai-button-primary','131544RbkNow','5oMXWTD','finishReview','fire','551835pSYsRa','set'];_0x2792=function(){return _0x1243ae;};return _0x2792();}export class AIReviewCoreFinishReviewButtonView extends _0x49c57c{constructor(_0x207837,_0x3b011c){var _0x50e063=_0xa00e;super(_0x3b011c),this[_0x50e063(0x115)]({'label':_0x207837,'withText':!0x0,'class':_0x50e063(0x10f)}),this['on'](_0x50e063(0x11c),()=>{var _0x5e4352=_0x50e063;this[_0x5e4352(0x113)](_0x5e4352(0x112));});}}
23
+ (function(_0x3c3672,_0x266e4c){var _0x3e575c=_0x5872,_0x57407c=_0x3c3672();while(!![]){try{var _0x136936=-parseInt(_0x3e575c(0x94))/0x1*(-parseInt(_0x3e575c(0x8f))/0x2)+parseInt(_0x3e575c(0x8a))/0x3*(-parseInt(_0x3e575c(0x87))/0x4)+parseInt(_0x3e575c(0x91))/0x5*(parseInt(_0x3e575c(0x8e))/0x6)+-parseInt(_0x3e575c(0x8b))/0x7*(parseInt(_0x3e575c(0x88))/0x8)+-parseInt(_0x3e575c(0x96))/0x9+-parseInt(_0x3e575c(0x95))/0xa+parseInt(_0x3e575c(0x92))/0xb;if(_0x136936===_0x266e4c)break;else _0x57407c['push'](_0x57407c['shift']());}catch(_0x4e8009){_0x57407c['push'](_0x57407c['shift']());}}}(_0xebf6,0xb7e36));function _0x5872(_0xbbb777,_0x17d8dc){var _0xebf69c=_0xebf6();return _0x5872=function(_0x587255,_0x96e784){_0x587255=_0x587255-0x87;var _0x2ba6f5=_0xebf69c[_0x587255];return _0x2ba6f5;},_0x5872(_0xbbb777,_0x17d8dc);}import{ButtonView as _0x439582}from'ckeditor5/src/ui.js';function _0xebf6(){var _0x587ca8=['set','39969oVzSKK','3080749vBbncr','fire','ck-ai-button-primary','96rjXHeI','332XNLfkm','finishReview','27210ahPFTg','28832221BxqThJ','execute','3367SeCHwc','9690410cEptrj','8623782iEanfD','44NlLMfx','8AlTuoh'];_0xebf6=function(){return _0x587ca8;};return _0xebf6();}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x439582{constructor(_0x2ab347,_0x226023){var _0x5b7615=_0x5872;super(_0x226023),this[_0x5b7615(0x89)]({'label':_0x2ab347,'withText':!0x0,'class':_0x5b7615(0x8d)}),this['on'](_0x5b7615(0x93),()=>{var _0xf329e=_0x5b7615;this[_0xf329e(0x8c)](_0xf329e(0x90));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x49f176,_0x59074c){const _0x248e06=_0x47d8,_0x230cc1=_0x49f176();while(!![]){try{const _0x9fc8f1=parseInt(_0x248e06(0x74))/0x1*(parseInt(_0x248e06(0x79))/0x2)+-parseInt(_0x248e06(0x78))/0x3+parseInt(_0x248e06(0x7e))/0x4*(-parseInt(_0x248e06(0x7b))/0x5)+-parseInt(_0x248e06(0x84))/0x6+-parseInt(_0x248e06(0x85))/0x7+-parseInt(_0x248e06(0x76))/0x8+parseInt(_0x248e06(0x77))/0x9;if(_0x9fc8f1===_0x59074c)break;else _0x230cc1['push'](_0x230cc1['shift']());}catch(_0x34325a){_0x230cc1['push'](_0x230cc1['shift']());}}}(_0x2af7,0xb2f7e));function _0x47d8(_0x4e579f,_0xcfbb83){const _0x2af780=_0x2af7();return _0x47d8=function(_0x47d8d4,_0x5adc08){_0x47d8d4=_0x47d8d4-0x74;let _0x18e819=_0x2af780[_0x47d8d4];return _0x18e819;},_0x47d8(_0x4e579f,_0xcfbb83);}function _0x2af7(){const _0x23a32b=['1553640FnCFjy','3287165tfyfEq','1GxaHlI','isVisible','594664RUKbmz','13467933AUwScS','623859CPCUhs','998174arNrAx','ck-ai_review__general-error-container','1258245LBiStP','set','bindTemplate','4VAnHal','div','setTemplate','errorMessage','ck-hidden','ck\x20ck-ai-notification\x20ck-ai-notification_error'];_0x2af7=function(){return _0x23a32b;};return _0x2af7();}import{View as _0x28ba9f}from'ckeditor5/src/ui.js';export class AIReviewCoreGeneralErrorView extends _0x28ba9f{constructor(_0x168188){const _0x47380d=_0x47d8;super(_0x168188),this[_0x47380d(0x7c)](_0x47380d(0x75),!0x1),this[_0x47380d(0x7c)](_0x47380d(0x81),'');const _0x199c5a=this[_0x47380d(0x7d)];this[_0x47380d(0x80)]({'tag':_0x47380d(0x7f),'attributes':{'class':['ck',_0x47380d(0x7a),_0x199c5a['if'](_0x47380d(0x75),_0x47380d(0x82),_0x210b6d=>!_0x210b6d)]},'children':[{'tag':'p','attributes':{'class':_0x47380d(0x83)},'children':[{'text':_0x199c5a['to'](_0x47380d(0x81))}]}]});}}
23
+ (function(_0x4fb8fd,_0x3de12f){const _0xcb4d56=_0x24d3,_0x1d3653=_0x4fb8fd();while(!![]){try{const _0x18357b=-parseInt(_0xcb4d56(0x88))/0x1*(parseInt(_0xcb4d56(0x7f))/0x2)+-parseInt(_0xcb4d56(0x8f))/0x3*(parseInt(_0xcb4d56(0x82))/0x4)+-parseInt(_0xcb4d56(0x83))/0x5+parseInt(_0xcb4d56(0x85))/0x6*(parseInt(_0xcb4d56(0x8d))/0x7)+-parseInt(_0xcb4d56(0x80))/0x8+parseInt(_0xcb4d56(0x81))/0x9*(-parseInt(_0xcb4d56(0x8b))/0xa)+parseInt(_0xcb4d56(0x84))/0xb;if(_0x18357b===_0x3de12f)break;else _0x1d3653['push'](_0x1d3653['shift']());}catch(_0x851a32){_0x1d3653['push'](_0x1d3653['shift']());}}}(_0x526b,0xa2cae));import{View as _0x32405b}from'ckeditor5/src/ui.js';export class AIReviewCoreGeneralErrorView extends _0x32405b{constructor(_0x139fa3){const _0x3f4d90=_0x24d3;super(_0x139fa3),this[_0x3f4d90(0x7c)](_0x3f4d90(0x86),!0x1),this[_0x3f4d90(0x7c)](_0x3f4d90(0x7e),'');const _0x11c21e=this[_0x3f4d90(0x7d)];this[_0x3f4d90(0x89)]({'tag':_0x3f4d90(0x8c),'attributes':{'class':['ck',_0x3f4d90(0x87),_0x11c21e['if'](_0x3f4d90(0x86),_0x3f4d90(0x8a),_0x1be2ee=>!_0x1be2ee)]},'children':[{'tag':'p','attributes':{'class':_0x3f4d90(0x8e)},'children':[{'text':_0x11c21e['to'](_0x3f4d90(0x7e))}]}]});}}function _0x24d3(_0x659e47,_0x151b8d){const _0x526b51=_0x526b();return _0x24d3=function(_0x24d301,_0xd40fac){_0x24d301=_0x24d301-0x7c;let _0xb5e5c3=_0x526b51[_0x24d301];return _0xb5e5c3;},_0x24d3(_0x659e47,_0x151b8d);}function _0x526b(){const _0x21f759=['36tdHIhR','10348592aZRpBV','180rfAgwh','412804dzbhsH','3317915SRjPuC','32749937gmkeNh','534Mdswzk','isVisible','ck-ai_review__general-error-container','2285RMfTvU','setTemplate','ck-hidden','387060ItJUuf','div','60683kMryFL','ck\x20ck-ai-notification\x20ck-ai-notification_error','9STDerA','set','bindTemplate','errorMessage'];_0x526b=function(){return _0x21f759;};return _0x526b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x397a36=_0x5df2;(function(_0x2eb0d1,_0x3734e9){var _0xc6aad7=_0x5df2,_0x6b47f=_0x2eb0d1();while(!![]){try{var _0x55a866=-parseInt(_0xc6aad7(0x169))/0x1*(-parseInt(_0xc6aad7(0x16f))/0x2)+-parseInt(_0xc6aad7(0x168))/0x3*(-parseInt(_0xc6aad7(0x163))/0x4)+parseInt(_0xc6aad7(0x172))/0x5*(parseInt(_0xc6aad7(0x170))/0x6)+-parseInt(_0xc6aad7(0x176))/0x7+-parseInt(_0xc6aad7(0x15c))/0x8*(parseInt(_0xc6aad7(0x162))/0x9)+parseInt(_0xc6aad7(0x16a))/0xa+parseInt(_0xc6aad7(0x16c))/0xb*(-parseInt(_0xc6aad7(0x15d))/0xc);if(_0x55a866===_0x3734e9)break;else _0x6b47f['push'](_0x6b47f['shift']());}catch(_0x11b494){_0x6b47f['push'](_0x6b47f['shift']());}}}(_0x5507,0x18783));function _0x5507(){var _0x1c579d=['36LMkxAS','listenTo','keystrokes','update','element','9WKscWm','12jUrqsb','ck-review__prompt-input','isEmpty','MAX_ROWS','ai-review-prompt-input','138810Uzgija','1cEPdjd','6160NcrMjX','extendTemplate','97724QJlvWS','trim','maxRows','162566ZePsbm','6QYGLWg','render','502090WLGGFF','value','minRows','MIN_ROWS','1148840tukleT','set','241024BXOyOB'];_0x5507=function(){return _0x1c579d;};return _0x5507();}import{TextareaView as _0x362544}from'ckeditor5/src/ui.js';function _0x5df2(_0x1cc6f2,_0x307f42){var _0x55077f=_0x5507();return _0x5df2=function(_0x5df228,_0x56146e){_0x5df228=_0x5df228-0x15c;var _0x436640=_0x55077f[_0x5df228];return _0x436640;},_0x5df2(_0x1cc6f2,_0x307f42);}import{KeystrokeHandler as _0x362ff5}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x362544{[_0x397a36(0x15f)];static [_0x397a36(0x175)]=0x1;static [_0x397a36(0x166)]=0xc;constructor(_0x305c08){var _0x5d84af=_0x397a36;super(_0x305c08),this[_0x5d84af(0x177)](_0x5d84af(0x165),!0x0),this[_0x5d84af(0x15f)]=new _0x362ff5(),this[_0x5d84af(0x174)]=AIReviewCorePromptInputView[_0x5d84af(0x175)],this[_0x5d84af(0x16e)]=AIReviewCorePromptInputView[_0x5d84af(0x166)],this[_0x5d84af(0x16b)]({'attributes':{'id':_0x5d84af(0x167),'class':['ck',_0x5d84af(0x164)]}});}[_0x397a36(0x171)](){var _0x124a06=_0x397a36;super[_0x124a06(0x171)](),this['on'](_0x124a06(0x160),()=>{var _0x2b149d=_0x124a06;this[_0x2b149d(0x165)]=''===this[_0x2b149d(0x161)][_0x2b149d(0x173)]?.[_0x2b149d(0x16d)]();}),this[_0x124a06(0x15f)][_0x124a06(0x15e)](this[_0x124a06(0x161)]);}}
23
+ var _0xbf8114=_0x594a;(function(_0xc8cce1,_0x112bc6){var _0x242cb5=_0x594a,_0x40889a=_0xc8cce1();while(!![]){try{var _0x4ba367=-parseInt(_0x242cb5(0x195))/0x1+-parseInt(_0x242cb5(0x196))/0x2+parseInt(_0x242cb5(0x18b))/0x3+parseInt(_0x242cb5(0x198))/0x4*(-parseInt(_0x242cb5(0x18f))/0x5)+-parseInt(_0x242cb5(0x186))/0x6+-parseInt(_0x242cb5(0x192))/0x7*(-parseInt(_0x242cb5(0x18d))/0x8)+parseInt(_0x242cb5(0x197))/0x9;if(_0x4ba367===_0x112bc6)break;else _0x40889a['push'](_0x40889a['shift']());}catch(_0x3bc74c){_0x40889a['push'](_0x40889a['shift']());}}}(_0x2151,0x47e21));import{TextareaView as _0x443615}from'ckeditor5/src/ui.js';function _0x2151(){var _0x5efbbd=['MAX_ROWS','render','minRows','value','166392OJYxLP','update','16ROXmPS','isEmpty','175XvqLKi','ai-review-prompt-input','keystrokes','496979fbQxtO','MIN_ROWS','extendTemplate','191895sUoqMD','532230nZbHxS','9654804hXPoCC','19984nbenhW','listenTo','ck-review__prompt-input','maxRows','set','trim','element','2057466DCIZKL'];_0x2151=function(){return _0x5efbbd;};return _0x2151();}import{KeystrokeHandler as _0x47f9c8}from'ckeditor5/src/utils.js';function _0x594a(_0x25b911,_0x2d7ec7){var _0x21511b=_0x2151();return _0x594a=function(_0x594a40,_0x28c506){_0x594a40=_0x594a40-0x183;var _0x198b73=_0x21511b[_0x594a40];return _0x198b73;},_0x594a(_0x25b911,_0x2d7ec7);}export class AIReviewCorePromptInputView extends _0x443615{[_0xbf8114(0x191)];static [_0xbf8114(0x193)]=0x1;static [_0xbf8114(0x187)]=0xc;constructor(_0x47e5b8){var _0x434d89=_0xbf8114;super(_0x47e5b8),this[_0x434d89(0x183)](_0x434d89(0x18e),!0x0),this[_0x434d89(0x191)]=new _0x47f9c8(),this[_0x434d89(0x189)]=AIReviewCorePromptInputView[_0x434d89(0x193)],this[_0x434d89(0x19b)]=AIReviewCorePromptInputView[_0x434d89(0x187)],this[_0x434d89(0x194)]({'attributes':{'id':_0x434d89(0x190),'class':['ck',_0x434d89(0x19a)]}});}[_0xbf8114(0x188)](){var _0x3b174a=_0xbf8114;super[_0x3b174a(0x188)](),this['on'](_0x3b174a(0x18c),()=>{var _0x7add48=_0x3b174a;this[_0x7add48(0x18e)]=''===this[_0x7add48(0x185)][_0x7add48(0x18a)]?.[_0x7add48(0x184)]();}),this[_0x3b174a(0x191)][_0x3b174a(0x199)](this[_0x3b174a(0x185)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c7e2b=_0x5e9e;(function(_0x51f00d,_0x306ad9){const _0x298236=_0x5e9e,_0x354d48=_0x51f00d();while(!![]){try{const _0x285c8d=-parseInt(_0x298236(0x94))/0x1*(-parseInt(_0x298236(0x81))/0x2)+parseInt(_0x298236(0x8a))/0x3+parseInt(_0x298236(0x87))/0x4*(-parseInt(_0x298236(0x7a))/0x5)+-parseInt(_0x298236(0x92))/0x6*(-parseInt(_0x298236(0x79))/0x7)+-parseInt(_0x298236(0x7e))/0x8*(-parseInt(_0x298236(0x95))/0x9)+parseInt(_0x298236(0x8c))/0xa*(parseInt(_0x298236(0x88))/0xb)+-parseInt(_0x298236(0x78))/0xc;if(_0x285c8d===_0x306ad9)break;else _0x354d48['push'](_0x354d48['shift']());}catch(_0x15917c){_0x354d48['push'](_0x354d48['shift']());}}}(_0xc9fa,0x48390));function _0xc9fa(){const _0x424601=['setChecks','ck-hidden','bindTemplate','12iQkAnK','57299CDXzQt','locale','1001508ROEzQS','setTemplate','20yrsTQE','resetAllParameterizedChecks','clear','_checkViews','length','ck-ai_review__check-list','439884EPUSUQ','delegate','1eFVWIw','9qexavI','runReviewCheck','4072596gncLCI','14ITjroO','981820ejtSNI','isVisible','_setupTemplate','resetToDefault','2656440tQGjGV','hasChecks','entries','802724DGBvmV','add','div'];_0xc9fa=function(){return _0x424601;};return _0xc9fa();}import{ListItemView as _0xcba27c,ViewCollection as _0x248ce0}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x482a9e}from'./aireviewcorereviewcommandlistitemview.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';function _0x5e9e(_0x10d7bf,_0x2858ea){const _0xc9fade=_0xc9fa();return _0x5e9e=function(_0x5e9e64,_0x82dfa3){_0x5e9e64=_0x5e9e64-0x77;let _0x1213d4=_0xc9fade[_0x5e9e64];return _0x1213d4;},_0x5e9e(_0x10d7bf,_0x2858ea);}export class AIReviewCoreReviewCheckListView extends _0xcba27c{[_0x5c7e2b(0x8f)];constructor(_0x26ec7d){const _0x1552f6=_0x5c7e2b;super(_0x26ec7d),this[_0x1552f6(0x8f)]=new _0x248ce0(),this[_0x1552f6(0x7c)]();}[_0x5c7e2b(0x84)](_0x30cadf,_0x23834f=!0x1){const _0x2907a8=_0x5c7e2b;this[_0x2907a8(0x8f)][_0x2907a8(0x8e)]();for(const [_0x133cbf,_0x5579e5]of _0x30cadf[_0x2907a8(0x80)]()){const _0x251070=new _0x482a9e(this[_0x2907a8(0x89)],_0x5579e5,_0x133cbf,_0x23834f);_0x251070[_0x2907a8(0x93)](_0x2907a8(0x77))['to'](this),this[_0x2907a8(0x8f)][_0x2907a8(0x82)](_0x251070);}}[_0x5c7e2b(0x7f)](){const _0x5d88f8=_0x5c7e2b;return this[_0x5d88f8(0x8f)][_0x5d88f8(0x90)]>0x0;}[_0x5c7e2b(0x8d)](){const _0xe61711=_0x5c7e2b;for(const _0x45cdf8 of this[_0xe61711(0x8f)])_0x45cdf8 instanceof _0x482a9e&&_0x45cdf8[_0xe61711(0x7d)]();}[_0x5c7e2b(0x7c)](){const _0x10be06=_0x5c7e2b,_0x589d4a=this[_0x10be06(0x86)];this[_0x10be06(0x8b)]({'tag':_0x10be06(0x83),'attributes':{'class':[_0x10be06(0x91),_0x589d4a['if'](_0x10be06(0x7b),_0x10be06(0x85),_0x2ed630=>!_0x2ed630)]},'children':this[_0x10be06(0x8f)]});}}
23
+ const _0x555e5f=_0xca6a;function _0xc940(){const _0x79471f=['setChecks','length','1641135zaZXfB','408928UukZbf','delegate','clear','12NVuiQn','_checkViews','3454073NLpkbW','ck-ai_review__check-list','ck-hidden','6Zbseps','runReviewCheck','resetToDefault','add','6138385KxAhND','9NrQkEJ','div','_setupTemplate','1KgFQsT','hasChecks','775905zUbQPj','isVisible','4830080NeDZgO','1127766ecUHWw','entries','bindTemplate','setTemplate','locale','resetAllParameterizedChecks'];_0xc940=function(){return _0x79471f;};return _0xc940();}(function(_0xe9dd44,_0x57fdc2){const _0x32f9f8=_0xca6a,_0xe4616a=_0xe9dd44();while(!![]){try{const _0x53f470=-parseInt(_0x32f9f8(0x11a))/0x1*(-parseInt(_0x32f9f8(0x11f))/0x2)+-parseInt(_0x32f9f8(0x11c))/0x3*(-parseInt(_0x32f9f8(0x12b))/0x4)+-parseInt(_0x32f9f8(0x127))/0x5*(parseInt(_0x32f9f8(0x112))/0x6)+parseInt(_0x32f9f8(0x10f))/0x7+-parseInt(_0x32f9f8(0x128))/0x8*(-parseInt(_0x32f9f8(0x117))/0x9)+-parseInt(_0x32f9f8(0x11e))/0xa+-parseInt(_0x32f9f8(0x116))/0xb;if(_0x53f470===_0x57fdc2)break;else _0xe4616a['push'](_0xe4616a['shift']());}catch(_0x45d17c){_0xe4616a['push'](_0xe4616a['shift']());}}}(_0xc940,0x7dc01));import{ListItemView as _0x3aca38,ViewCollection as _0x37d41d}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x125aeb}from'./aireviewcorereviewcommandlistitemview.js';function _0xca6a(_0x5e5610,_0x358472){const _0xc94026=_0xc940();return _0xca6a=function(_0xca6a90,_0x4d3204){_0xca6a90=_0xca6a90-0x10f;let _0x4bfcee=_0xc94026[_0xca6a90];return _0x4bfcee;},_0xca6a(_0x5e5610,_0x358472);}import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x3aca38{[_0x555e5f(0x12c)];constructor(_0x145ef6){const _0x5da2be=_0x555e5f;super(_0x145ef6),this[_0x5da2be(0x12c)]=new _0x37d41d(),this[_0x5da2be(0x119)]();}[_0x555e5f(0x125)](_0xebb7a3,_0x420451=!0x1){const _0x1e18a9=_0x555e5f;this[_0x1e18a9(0x12c)][_0x1e18a9(0x12a)]();for(const [_0x5e058b,_0x2dd8f8]of _0xebb7a3[_0x1e18a9(0x120)]()){const _0x2c2bf0=new _0x125aeb(this[_0x1e18a9(0x123)],_0x2dd8f8,_0x5e058b,_0x420451);_0x2c2bf0[_0x1e18a9(0x129)](_0x1e18a9(0x113))['to'](this),this[_0x1e18a9(0x12c)][_0x1e18a9(0x115)](_0x2c2bf0);}}[_0x555e5f(0x11b)](){const _0x379966=_0x555e5f;return this[_0x379966(0x12c)][_0x379966(0x126)]>0x0;}[_0x555e5f(0x124)](){const _0x4392e3=_0x555e5f;for(const _0x5664f7 of this[_0x4392e3(0x12c)])_0x5664f7 instanceof _0x125aeb&&_0x5664f7[_0x4392e3(0x114)]();}[_0x555e5f(0x119)](){const _0x134f78=_0x555e5f,_0x323ca2=this[_0x134f78(0x121)];this[_0x134f78(0x122)]({'tag':_0x134f78(0x118),'attributes':{'class':[_0x134f78(0x110),_0x323ca2['if'](_0x134f78(0x11d),_0x134f78(0x111),_0x452947=>!_0x452947)]},'children':this[_0x134f78(0x12c)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x46733c,IconView as _0x19317b,View as _0x1ec8f1,ViewCollection as _0x202853,ButtonView as _0x5756d4,clickOutsideHandler as _0x100ee4}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x35a9e8}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as _0x3ee49e}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0xfe9d82}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x46733c{['_formItemsCollection']=new _0x202853();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x3e4aea,_0x3ce153,_0x3bace3,_0x3c2401=!0x1){super(_0x3e4aea),this['_hideModels']=_0x3c2401,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x3ce153['isParameterized']);const _0x385362=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',_0x109eed=>_0x109eed),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x4b270b=>_0x4b270b)],'style':{'--ck-ai-review-check-list-item-index':_0x3bace3}},'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':_0x3ce153['title']}]},_0x385362]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x3ce153['description']?[{'text':_0x3ce153['description']}]:[]}]}]},..._0x3ce153['isParameterized']?[this['_createParameterizedView'](_0x3ce153)]:[],...'custom'===_0x3ce153['id']?[this['_createCustomView'](_0x3ce153,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x3ce153['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x3ce153['id'],'args':_0x3ce153['useArgs']?_0x3ce153['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x100ee4({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x30f12e=>{_0x30f12e['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x1d3f81=new _0x19317b();return _0x1d3f81['content']=_0x35a9e8,_0x1d3f81['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x1d3f81;}['_createParameterizedView'](_0x4b0c29){const _0x4de45a=new _0x1ec8f1(),_0x6fc873=this['_createFormView'](_0x4b0c29);return _0x4de45a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x19c641=>!_0x19c641)]},'children':[_0x6fc873]}),_0x4de45a;}['_createFormView'](_0x1538a4){const _0x3d66d7=new _0x1ec8f1(),_0x2af522=Array['isArray'](_0x1538a4['options'])?_0x1538a4['options']:[],_0x3ba635=new _0x5756d4(this['locale']),t=this['locale']['t'];_0x3ba635['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3ba635['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3c6e34=>{_0x3c6e34['stopPropagation']();})}}),_0x3ba635['on']('execute',()=>{const _0x2126ea=[],_0x23f3c6={};this['_formItemsCollection']['forEach'](_0x408577=>{_0x2126ea['push'](_0x408577['value']),_0x1538a4['useArgs']&&_0x1538a4['options']&&(_0x23f3c6[_0x408577['argsKey']]=_0x408577['value']);}),this['fire']('runReviewCheck',{'id':_0x1538a4['id'],'params':_0x2126ea['length']?_0x2126ea:void 0x0,'args':Object['keys'](_0x23f3c6)['length']?_0x23f3c6:void 0x0});});const _0x535bb0=_0x2af522['length'];return _0x2af522['forEach']((_0x4e80a1,_0xfc37cc)=>{const _0x4a8d28=_0xfc37cc===_0x535bb0-0x1;this['_formItemsCollection']['add'](new _0x3ee49e(this['locale'],_0x4e80a1,_0x4a8d28?_0x3ba635:null));}),_0x3d66d7['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x3d66d7;}['_createCustomView'](_0x445244,_0x378102=!0x1){return this['_customCheckView']=new _0xfe9d82(this['locale'],_0x445244,_0x378102),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',_0x5ddc78=>!_0x5ddc78)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x3eaa90,_0x5c05b1,_0x58a583)=>{_0x58a583||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
23
+ import{ListItemView as _0x34c4c1,IconView as _0x469af8,View as _0xbf79a8,ViewCollection as _0x266730,ButtonView as _0x7b973a,clickOutsideHandler as _0xf044a3}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x693a14}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as _0x213287}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x1572b8}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x34c4c1{['_formItemsCollection']=new _0x266730();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x6350e7,_0x10e008,_0x283fb4,_0x25bb30=!0x1){super(_0x6350e7),this['_hideModels']=_0x25bb30,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x10e008['isParameterized']);const _0x1dc242=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',_0x176113=>_0x176113),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x2a83aa=>_0x2a83aa)],'style':{'--ck-ai-review-check-list-item-index':_0x283fb4}},'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':_0x10e008['title']}]},_0x1dc242]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x10e008['description']?[{'text':_0x10e008['description']}]:[]}]}]},..._0x10e008['isParameterized']?[this['_createParameterizedView'](_0x10e008)]:[],...'custom'===_0x10e008['id']?[this['_createCustomView'](_0x10e008,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x10e008['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x10e008['id'],'args':_0x10e008['useArgs']?_0x10e008['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0xf044a3({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x197a36=>{_0x197a36['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x979d82=new _0x469af8();return _0x979d82['content']=_0x693a14,_0x979d82['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x979d82;}['_createParameterizedView'](_0x743e7b){const _0x194718=new _0xbf79a8(),_0x19a017=this['_createFormView'](_0x743e7b);return _0x194718['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x35cfc7=>!_0x35cfc7)]},'children':[_0x19a017]}),_0x194718;}['_createFormView'](_0x82e427){const _0x39e7f4=new _0xbf79a8(),_0x3628e2=Array['isArray'](_0x82e427['options'])?_0x82e427['options']:[],_0x4ef2eb=new _0x7b973a(this['locale']),t=this['locale']['t'];_0x4ef2eb['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x4ef2eb['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4ba7d5=>{_0x4ba7d5['stopPropagation']();})}}),_0x4ef2eb['on']('execute',()=>{const _0xcebdcf=[],_0x1eaa0c={};this['_formItemsCollection']['forEach'](_0x2430a4=>{_0xcebdcf['push'](_0x2430a4['value']),_0x82e427['useArgs']&&_0x82e427['options']&&(_0x1eaa0c[_0x2430a4['argsKey']]=_0x2430a4['value']);}),this['fire']('runReviewCheck',{'id':_0x82e427['id'],'params':_0xcebdcf['length']?_0xcebdcf:void 0x0,'args':Object['keys'](_0x1eaa0c)['length']?_0x1eaa0c:void 0x0});});const _0xe409f=_0x3628e2['length'];return _0x3628e2['forEach']((_0x1adea7,_0x43d4d8)=>{const _0x12567f=_0x43d4d8===_0xe409f-0x1;this['_formItemsCollection']['add'](new _0x213287(this['locale'],_0x1adea7,_0x12567f?_0x4ef2eb:null));}),_0x39e7f4['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x39e7f4;}['_createCustomView'](_0x5174c9,_0x21265b=!0x1){return this['_customCheckView']=new _0x1572b8(this['locale'],_0x5174c9,_0x21265b),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',_0x2fb6ce=>!_0x2fb6ce)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x3bdcd7,_0x4d691d,_0x38facc)=>{_0x38facc||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c8d8f=_0xbb1c;(function(_0x25b088,_0x118183){const _0xdaa0dc=_0xbb1c,_0x1c6f11=_0x25b088();while(!![]){try{const _0x2a179f=parseInt(_0xdaa0dc(0x1f1))/0x1+parseInt(_0xdaa0dc(0x1f9))/0x2+-parseInt(_0xdaa0dc(0x1ea))/0x3*(-parseInt(_0xdaa0dc(0x1e3))/0x4)+-parseInt(_0xdaa0dc(0x1e5))/0x5+parseInt(_0xdaa0dc(0x1f2))/0x6*(-parseInt(_0xdaa0dc(0x1fd))/0x7)+parseInt(_0xdaa0dc(0x1f5))/0x8*(-parseInt(_0xdaa0dc(0x1ee))/0x9)+parseInt(_0xdaa0dc(0x1e0))/0xa;if(_0x2a179f===_0x118183)break;else _0x1c6f11['push'](_0x1c6f11['shift']());}catch(_0x2ef0a2){_0x1c6f11['push'](_0x1c6f11['shift']());}}}(_0x1ca2,0x2f044));import{ListItemView as _0x4a8e6e,View as _0x49b116}from'ckeditor5/src/ui.js';function _0xbb1c(_0x2c8827,_0x2dbdc1){const _0x1ca29e=_0x1ca2();return _0xbb1c=function(_0xbb1c8a,_0x452907){_0xbb1c8a=_0xbb1c8a-0x1e0;let _0x2eb981=_0x1ca29e[_0xbb1c8a];return _0x2eb981;},_0xbb1c(_0x2c8827,_0x2dbdc1);}import{AIReviewCoreFinishReviewButtonView as _0x5f5adc}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0x1ca2(){const _0x5437c1=['126tlkdAW','ck-hidden','_createResultHeaderView','86767kizblN','6fdKgVF','div','buttonText','104024nRKTKl','headerText','locale','_finishReviewButtonView','14970zxUxWI','emptyResultsText','ck-ai_review__review-completed-content-icon','ck-ai_review__review-completed','1182195vNaigo','setTemplate','_resultsHeader','ck-ai_review__review-completed-content-text','3348600VgMOOT','ck-ai_review__review-completed-header-buttons','ck-ai_review__review-completed-content','56tiDLYV','_createFinishReviewButtonView','1142185ocYvND','finishReview','span','bindTemplate','ck-ai_review__review-completed-header','73464osJPGu','delegate','isVisible','ck-ai_review__review-completed-header-title'];_0x1ca2=function(){return _0x5437c1;};return _0x1ca2();}export class AIReviewCoreReviewCompletedView extends _0x4a8e6e{[_0x1c8d8f(0x1ff)];[_0x1c8d8f(0x1f8)];constructor(_0x18be7e,_0x5a8a65){const _0x56f3a5=_0x1c8d8f;super(_0x18be7e),this[_0x56f3a5(0x1f8)]=this[_0x56f3a5(0x1e4)](_0x5a8a65[_0x56f3a5(0x1f4)]),this[_0x56f3a5(0x1ff)]=this[_0x56f3a5(0x1f0)](_0x5a8a65[_0x56f3a5(0x1f6)]);const _0x526249=this[_0x56f3a5(0x1e8)];this[_0x56f3a5(0x1fe)]({'tag':_0x56f3a5(0x1f3),'attributes':{'class':[_0x56f3a5(0x1fc),_0x526249['if'](_0x56f3a5(0x1ec),_0x56f3a5(0x1ef),_0x4a23c8=>!_0x4a23c8)]},'children':[this[_0x56f3a5(0x1ff)],{'tag':_0x56f3a5(0x1f3),'attributes':{'class':[_0x56f3a5(0x1e2)]},'children':[{'tag':_0x56f3a5(0x1e7),'attributes':{'class':[_0x56f3a5(0x1fb)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x56f3a5(0x200)]},'children':[{'text':_0x5a8a65[_0x56f3a5(0x1fa)]}]}]}]});}[_0x1c8d8f(0x1e4)](_0x1da40f){const _0x39506d=_0x1c8d8f,_0x558b84=new _0x5f5adc(_0x1da40f,this[_0x39506d(0x1f7)]);return _0x558b84[_0x39506d(0x1eb)](_0x39506d(0x1e6))['to'](this),_0x558b84;}[_0x1c8d8f(0x1f0)](_0x39969e){const _0x46fc94=_0x1c8d8f,_0x927b6c=new _0x49b116(this[_0x46fc94(0x1f7)]);return _0x927b6c[_0x46fc94(0x1fe)]({'tag':_0x46fc94(0x1f3),'attributes':{'class':[_0x46fc94(0x1e9)]},'children':[{'tag':_0x46fc94(0x1e7),'attributes':{'class':[_0x46fc94(0x1ed)]},'children':[{'text':_0x39969e}]},{'tag':_0x46fc94(0x1f3),'attributes':{'class':[_0x46fc94(0x1e1)]},'children':[this[_0x46fc94(0x1f8)]]}]}),_0x927b6c;}}
23
+ const _0x388c59=_0x5b82;(function(_0x46f58b,_0x2dbd63){const _0x1c6ea4=_0x5b82,_0x548693=_0x46f58b();while(!![]){try{const _0x29cfa8=parseInt(_0x1c6ea4(0x101))/0x1*(-parseInt(_0x1c6ea4(0xfe))/0x2)+parseInt(_0x1c6ea4(0xf0))/0x3+-parseInt(_0x1c6ea4(0x111))/0x4*(parseInt(_0x1c6ea4(0xf4))/0x5)+-parseInt(_0x1c6ea4(0xfd))/0x6+-parseInt(_0x1c6ea4(0x102))/0x7*(parseInt(_0x1c6ea4(0x103))/0x8)+-parseInt(_0x1c6ea4(0x108))/0x9*(parseInt(_0x1c6ea4(0x110))/0xa)+parseInt(_0x1c6ea4(0xf3))/0xb;if(_0x29cfa8===_0x2dbd63)break;else _0x548693['push'](_0x548693['shift']());}catch(_0x5ed482){_0x548693['push'](_0x548693['shift']());}}}(_0x74af,0xc21b6));import{ListItemView as _0x6a46ca,View as _0x43408b}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x4d5683}from'./aireviewcorefinishreviewbuttonview.js';function _0x74af(){const _0x138df5=['925554ZeelVz','ck-ai_review__review-completed-header-title','_resultsHeader','40128561EfUnJh','1472355jOaEtT','setTemplate','ck-ai_review__review-completed-content','delegate','div','finishReview','emptyResultsText','ck-ai_review__review-completed-content-icon','bindTemplate','4711380jMGvai','7420PobGEK','ck-ai_review__review-completed','ck-ai_review__review-completed-header','37WBHRQV','35NbvtDQ','1125152oekOjJ','span','ck-hidden','_finishReviewButtonView','headerText','13284dvqFoW','isVisible','_createResultHeaderView','_createFinishReviewButtonView','ck-ai_review__review-completed-header-buttons','locale','buttonText','ck-ai_review__review-completed-content-text','8410bhzfjR','4QPtmQm'];_0x74af=function(){return _0x138df5;};return _0x74af();}function _0x5b82(_0x2cfa5c,_0x39624b){const _0x74afcc=_0x74af();return _0x5b82=function(_0x5b82a1,_0x466dee){_0x5b82a1=_0x5b82a1-0xf0;let _0x5c3642=_0x74afcc[_0x5b82a1];return _0x5c3642;},_0x5b82(_0x2cfa5c,_0x39624b);}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x6a46ca{[_0x388c59(0xf2)];[_0x388c59(0x106)];constructor(_0x22533f,_0x1adb07){const _0x34a9c8=_0x388c59;super(_0x22533f),this[_0x34a9c8(0x106)]=this[_0x34a9c8(0x10b)](_0x1adb07[_0x34a9c8(0x10e)]),this[_0x34a9c8(0xf2)]=this[_0x34a9c8(0x10a)](_0x1adb07[_0x34a9c8(0x107)]);const _0x1c284c=this[_0x34a9c8(0xfc)];this[_0x34a9c8(0xf5)]({'tag':_0x34a9c8(0xf8),'attributes':{'class':[_0x34a9c8(0xff),_0x1c284c['if'](_0x34a9c8(0x109),_0x34a9c8(0x105),_0x10deef=>!_0x10deef)]},'children':[this[_0x34a9c8(0xf2)],{'tag':_0x34a9c8(0xf8),'attributes':{'class':[_0x34a9c8(0xf6)]},'children':[{'tag':_0x34a9c8(0x104),'attributes':{'class':[_0x34a9c8(0xfb)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x34a9c8(0x10f)]},'children':[{'text':_0x1adb07[_0x34a9c8(0xfa)]}]}]}]});}[_0x388c59(0x10b)](_0x598f51){const _0x4f86f1=_0x388c59,_0x246a30=new _0x4d5683(_0x598f51,this[_0x4f86f1(0x10d)]);return _0x246a30[_0x4f86f1(0xf7)](_0x4f86f1(0xf9))['to'](this),_0x246a30;}[_0x388c59(0x10a)](_0x2c583b){const _0x2888c9=_0x388c59,_0x4fe845=new _0x43408b(this[_0x2888c9(0x10d)]);return _0x4fe845[_0x2888c9(0xf5)]({'tag':_0x2888c9(0xf8),'attributes':{'class':[_0x2888c9(0x100)]},'children':[{'tag':_0x2888c9(0x104),'attributes':{'class':[_0x2888c9(0xf1)]},'children':[{'text':_0x2c583b}]},{'tag':_0x2888c9(0xf8),'attributes':{'class':[_0x2888c9(0x10c)]},'children':[this[_0x2888c9(0x106)]]}]}),_0x4fe845;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x23fac7,View as _0x2239cf,ViewCollection as _0xba833c,ButtonView as _0x436fcc}from'ckeditor5/src/ui.js';import{IconStop as _0x3cffbf,IconEye as _0x20d182,IconEyeCrossedOut as _0x27af38}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x1c0563,SKELETON_DEFINITIONS as _0x2285b9}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x14ec64}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x422a97}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x5d86b2}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x209b7e}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x1b7a38}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x23fac7{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x36f767,_0x3fb637){super(_0x36f767),this['_contents']=_0x3fb637,this['_resultViews']=new _0xba833c(),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 _0x14ec64(_0x36f767),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 _0x5b4c83=this['_createCombinedSkeletonLoader'](),_0x36bd6e=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x36bd6e['if']('isLoading','ck-ai_review__check-run_loading',_0x9200cc=>_0x9200cc),_0x36bd6e['if']('isResultReady','ck-ai_review__check-run_ready',_0x369493=>_0x369493),_0x36bd6e['if']('isVisible','ck-hidden',_0x5d345f=>!_0x5d345f)]},'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',_0xdb25b1=>_0xdb25b1)]},'children':this['_resultViews']},_0x5b4c83]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x10deae){const _0x4f5d52=new _0x209b7e(this['locale'],_0x10deae['id']);_0x4f5d52['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x4f5d52),_0x4f5d52['resultResponseView']['element']['innerHTML']=_0x10deae['contentDiffed'];}['hideResult'](_0x1f1ef6,_0x5ac021){if('pending'===_0x5ac021)return;const _0x48c33d=this['_resultViews']['find'](_0x2c49e2=>_0x2c49e2['id']===_0x1f1ef6);_0x48c33d&&(_0x48c33d['status']=_0x5ac021,_0x48c33d['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x284811,_0xca1ae1){if('pending'!==_0xca1ae1)return;const _0x3247bb=this['_resultViews']['find'](_0x2bdaf2=>_0x2bdaf2['id']===_0x284811);_0x3247bb&&(_0x3247bb['status']=_0xca1ae1,_0x3247bb['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x25fe69,_0x350bdb){this['headerTitle']=_0x25fe69,this['headerSubtitle']=_0x350bdb||'';}['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 _0x1c0563(this['locale'],_0x2285b9['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x1d1d39=new _0x2239cf(this['locale']),_0x52e15c=[];for(let _0x4609dd=0x0;_0x4609dd<0x10;_0x4609dd++){const _0x627e3d=this['_createSkeletonLoader']();_0x627e3d['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x52e15c['push'](_0x627e3d);}return _0x1d1d39['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2bcc48=>!_0x2bcc48)]},'children':_0x52e15c}),_0x1d1d39;}['_createErrorView'](){const _0xad6d45=new _0x2239cf(this['locale']),_0x974f27=new _0x436fcc(this['locale']),t=this['locale']['t'];return _0xad6d45['delegate']('retryReview')['to'](this),_0x974f27['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x974f27['on']('execute',()=>{this['fire']('retryReview');}),_0xad6d45['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x574af3=>!_0x574af3),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x143d83=>'chunk'===_0x143d83)]},'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',_0x565865=>'chunk'===_0x565865)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x28bcc1=>'general'!==_0x28bcc1)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x20b895=>'chunk'!==_0x20b895)]},'children':[{'text':_0x422a97(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x974f27]}),_0xad6d45;}['_createCancelButtonView'](){const _0x3066be=new _0x436fcc(this['locale']);return _0x3066be['set']({'label':_0x422a97(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x3cffbf}),_0x3066be['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3ceb8f=>_0x3ceb8f),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3f0d28=>_0x3f0d28)]}}),_0x3066be['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x3066be;}['_createToggleDiffButtonView'](){const _0x32654e=new _0x436fcc(this['locale']);_0x32654e['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x32654e['bind']('isEnabled')['to'](this,'isError',_0x560457=>!_0x560457),_0x32654e['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1005eb=>!_0x1005eb),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2e23bb=>_0x2e23bb)]}});const _0x4497c7=_0x422a97(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x50c010=_0x422a97(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x32654e['bind']('isOn')['to'](this,'isToggleDiffOn',_0x4b4cd6=>_0x4b4cd6),_0x32654e['bind']('icon')['to'](this,'isToggleDiffOn',_0x793c88=>_0x793c88?_0x20d182:_0x27af38),_0x32654e['bind']('label')['to'](this,'isToggleDiffOn',_0x136071=>_0x136071?_0x4497c7:_0x50c010),_0x32654e['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x32654e;}['_createAcceptAllButtonView'](){const _0x5c059e=new _0x436fcc(this['locale']);return _0x5c059e['set']({'label':_0x422a97(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x5c059e['bind']('isEnabled')['to'](this,'isError',_0x28fb9c=>!_0x28fb9c),_0x5c059e['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x462f24=>!_0x462f24),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x47c229=>_0x47c229)]}}),_0x5c059e['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x5c059e;}['_createExitReviewButtonView'](){const _0x286c10=new _0x436fcc(this['locale']);return _0x286c10['set']({'label':_0x422a97(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x286c10['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x3a4001=>!_0x3a4001),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x383cb7=>_0x383cb7)]}}),_0x286c10['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x286c10;}['_createResultHeaderView'](){const _0x5e4eed=new _0x2239cf(this['locale']),_0x41a564=this['_createTitleView']();return _0x5e4eed['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x2c814f=>_0x2c814f)]},'children':[_0x41a564,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x5e4eed;}['_createTitleView'](){const _0x2b8c29=new _0x2239cf(this['locale']),_0x2b4000=new _0x5d86b2();return _0x2b4000['bind']('isVisible')['to'](this,'isResultReady',_0x536a3a=>!_0x536a3a),_0x2b8c29['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x2b4000,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1a8106=>_0x1a8106)]},'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',_0x3446b4=>!_0x3446b4)]},'children':[{'text':_0x422a97(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x2b8c29;}['_createFinishReviewButtonView'](){const _0x23e1b6=new _0x1b7a38(_0x422a97(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x23e1b6['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4de6e0=>!_0x4de6e0)]}}),_0x23e1b6['delegate']('finishReview')['to'](this),_0x23e1b6;}}
23
+ import{ListItemView as _0x5f5679,View as _0x1706b4,ViewCollection as _0x5a9958,ButtonView as _0x1bd9d6}from'ckeditor5/src/ui.js';import{IconStop as _0x74068,IconEye as _0x59a2ef,IconEyeCrossedOut as _0x96c1c2}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x52faad,SKELETON_DEFINITIONS as _0x3ee7bd}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x3daf73}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x54d166}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0xe2dde4}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x180405}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x300045}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x5f5679{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x28ae8d,_0x54000e){super(_0x28ae8d),this['_contents']=_0x54000e,this['_resultViews']=new _0x5a9958(),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 _0x3daf73(_0x28ae8d),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 _0x330102=this['_createCombinedSkeletonLoader'](),_0xfba1e9=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0xfba1e9['if']('isLoading','ck-ai_review__check-run_loading',_0xbf549e=>_0xbf549e),_0xfba1e9['if']('isResultReady','ck-ai_review__check-run_ready',_0x581808=>_0x581808),_0xfba1e9['if']('isVisible','ck-hidden',_0x4ac858=>!_0x4ac858)]},'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',_0x5c806c=>_0x5c806c)]},'children':this['_resultViews']},_0x330102]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x5391bd){const _0x563be9=new _0x180405(this['locale'],_0x5391bd['id']);_0x563be9['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x563be9),_0x563be9['resultResponseView']['element']['innerHTML']=_0x5391bd['contentDiffed'];}['hideResult'](_0x15c833,_0x2733ad){if('pending'===_0x2733ad)return;const _0xadfed3=this['_resultViews']['find'](_0x415b84=>_0x415b84['id']===_0x15c833);_0xadfed3&&(_0xadfed3['status']=_0x2733ad,_0xadfed3['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x1428ea,_0x4b688){if('pending'!==_0x4b688)return;const _0x2f4702=this['_resultViews']['find'](_0x549655=>_0x549655['id']===_0x1428ea);_0x2f4702&&(_0x2f4702['status']=_0x4b688,_0x2f4702['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x787949,_0x450f7c){this['headerTitle']=_0x787949,this['headerSubtitle']=_0x450f7c||'';}['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 _0x52faad(this['locale'],_0x3ee7bd['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x593aba=new _0x1706b4(this['locale']),_0x4f8681=[];for(let _0x9886f4=0x0;_0x9886f4<0x10;_0x9886f4++){const _0x42071a=this['_createSkeletonLoader']();_0x42071a['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x4f8681['push'](_0x42071a);}return _0x593aba['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x3a05f3=>!_0x3a05f3)]},'children':_0x4f8681}),_0x593aba;}['_createErrorView'](){const _0x3d0b6e=new _0x1706b4(this['locale']),_0x172f97=new _0x1bd9d6(this['locale']),t=this['locale']['t'];return _0x3d0b6e['delegate']('retryReview')['to'](this),_0x172f97['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x172f97['on']('execute',()=>{this['fire']('retryReview');}),_0x3d0b6e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x235818=>!_0x235818),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x4dc83d=>'chunk'===_0x4dc83d)]},'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',_0x3c8b22=>'chunk'===_0x3c8b22)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x4085c9=>'general'!==_0x4085c9)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x32f4a8=>'chunk'!==_0x32f4a8)]},'children':[{'text':_0x54d166(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x172f97]}),_0x3d0b6e;}['_createCancelButtonView'](){const _0x11e56b=new _0x1bd9d6(this['locale']);return _0x11e56b['set']({'label':_0x54d166(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x74068}),_0x11e56b['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1dff6d=>_0x1dff6d),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x31b5d2=>_0x31b5d2)]}}),_0x11e56b['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x11e56b;}['_createToggleDiffButtonView'](){const _0x92616=new _0x1bd9d6(this['locale']);_0x92616['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x92616['bind']('isEnabled')['to'](this,'isError',_0x2afe69=>!_0x2afe69),_0x92616['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x43588e=>!_0x43588e),this['bindTemplate']['if']('isCompleted','ck-hidden',_0xf73499=>_0xf73499)]}});const _0x584491=_0x54d166(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x57299d=_0x54d166(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x92616['bind']('isOn')['to'](this,'isToggleDiffOn',_0x54a445=>_0x54a445),_0x92616['bind']('icon')['to'](this,'isToggleDiffOn',_0x19b2d9=>_0x19b2d9?_0x59a2ef:_0x96c1c2),_0x92616['bind']('label')['to'](this,'isToggleDiffOn',_0x2d13ae=>_0x2d13ae?_0x584491:_0x57299d),_0x92616['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x92616;}['_createAcceptAllButtonView'](){const _0x44abaa=new _0x1bd9d6(this['locale']);return _0x44abaa['set']({'label':_0x54d166(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x44abaa['bind']('isEnabled')['to'](this,'isError',_0x396306=>!_0x396306),_0x44abaa['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x2188fa=>!_0x2188fa),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x650d69=>_0x650d69)]}}),_0x44abaa['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x44abaa;}['_createExitReviewButtonView'](){const _0x1a1d5b=new _0x1bd9d6(this['locale']);return _0x1a1d5b['set']({'label':_0x54d166(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x1a1d5b['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x178ed3=>!_0x178ed3),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5130e7=>_0x5130e7)]}}),_0x1a1d5b['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x1a1d5b;}['_createResultHeaderView'](){const _0xd5e317=new _0x1706b4(this['locale']),_0x340c5=this['_createTitleView']();return _0xd5e317['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0xa4851=>_0xa4851)]},'children':[_0x340c5,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0xd5e317;}['_createTitleView'](){const _0x187d6f=new _0x1706b4(this['locale']),_0x26c195=new _0xe2dde4();return _0x26c195['bind']('isVisible')['to'](this,'isResultReady',_0x9a72aa=>!_0x9a72aa),_0x187d6f['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x26c195,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4d7836=>_0x4d7836)]},'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',_0x43b21b=>!_0x43b21b)]},'children':[{'text':_0x54d166(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x187d6f;}['_createFinishReviewButtonView'](){const _0x27da57=new _0x300045(_0x54d166(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x27da57['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x52642a=>!_0x52642a)]}}),_0x27da57['delegate']('finishReview')['to'](this),_0x27da57;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x22ad(_0xfe4f93,_0x15b9f5){var _0x2f23e3=_0x2f23();return _0x22ad=function(_0x22ad5c,_0x403eba){_0x22ad5c=_0x22ad5c-0xd8;var _0x20796c=_0x2f23e3[_0x22ad5c];return _0x20796c;},_0x22ad(_0xfe4f93,_0x15b9f5);}var _0x22e7ba=_0x22ad;(function(_0x4ad0f1,_0x39b03c){var _0x1efd16=_0x22ad,_0x5cdd88=_0x4ad0f1();while(!![]){try{var _0x19fa08=-parseInt(_0x1efd16(0xf1))/0x1+-parseInt(_0x1efd16(0xe1))/0x2+-parseInt(_0x1efd16(0x100))/0x3*(parseInt(_0x1efd16(0xd8))/0x4)+parseInt(_0x1efd16(0xd9))/0x5+-parseInt(_0x1efd16(0xfd))/0x6+parseInt(_0x1efd16(0xe3))/0x7+-parseInt(_0x1efd16(0xed))/0x8*(-parseInt(_0x1efd16(0xff))/0x9);if(_0x19fa08===_0x39b03c)break;else _0x5cdd88['push'](_0x5cdd88['shift']());}catch(_0x59376a){_0x5cdd88['push'](_0x5cdd88['shift']());}}}(_0x2f23,0xd787d));import{View as _0x5b8dae}from'ckeditor5/src/ui.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x560afd}from'../aireviewcoreui.js';function _0x2f23(){var _0x3c08bf=['isResultReady','isVisible','errorMessage','8hTsLbx','reviewCompletedView','hideActionsWhenResultIsReady','delegate','1470853vEXOBV','ck-reset_all','showReviewCheckListView','generalErrorView','reviewCheckListView','isCompleted','header','showGeneralReviewCoreErrorView','resetAllParameterizedChecks','div','completed','showActionsWhenResultIsReady','7211778tuurwa','showGeneralErrorMessage','35852589UXSLnI','714KXZmIS','reviewCoreHeader','addResult','showChunkErrorView','reviewCheckResultsView','addCheckRunResult','isLoading','set','18472BlhopT','4711115dzeaSm','showChunkErrorMessage','ltr','clearResults','results','ck-rounded-corners','showReviewCheckResultsView','finishReview','875936AZQBtq','showReviewCompletedView','1167859GYagYD','ck-ai-review','list','resetErrorState','showGeneralResultsErrorView','showNoChangesView','setTemplate'];_0x2f23=function(){return _0x3c08bf;};return _0x2f23();}import{AIReviewCoreGeneralErrorView as _0x182759}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x5b8dae{[_0x22e7ba(0x101)];[_0x22e7ba(0xf4)];[_0x22e7ba(0xf5)];[_0x22e7ba(0x104)];[_0x22e7ba(0xee)];constructor(_0x1dd857,_0x5b823c){var _0x539cf1=_0x22e7ba;super(_0x1dd857),this[_0x539cf1(0x101)]=_0x5b823c[_0x539cf1(0xf7)],this[_0x539cf1(0xf4)]=new _0x182759(_0x1dd857),this[_0x539cf1(0xf5)]=_0x5b823c[_0x539cf1(0xe5)],this[_0x539cf1(0xf5)][_0x539cf1(0xf0)](..._0x560afd)['to'](this),this[_0x539cf1(0x104)]=_0x5b823c[_0x539cf1(0xdd)],this[_0x539cf1(0x104)][_0x539cf1(0xf0)](..._0x560afd)['to'](this),this[_0x539cf1(0xee)]=_0x5b823c[_0x539cf1(0xfb)],this[_0x539cf1(0xee)][_0x539cf1(0xf0)](_0x539cf1(0xe0))['to'](this),this[_0x539cf1(0xf5)][_0x539cf1(0x107)](_0x539cf1(0xeb),!0x1),this[_0x539cf1(0x104)][_0x539cf1(0x107)](_0x539cf1(0xeb),!0x1),this[_0x539cf1(0x104)][_0x539cf1(0x107)](_0x539cf1(0x106),!0x1),this[_0x539cf1(0x104)][_0x539cf1(0x107)](_0x539cf1(0xea),!0x1),this[_0x539cf1(0xee)][_0x539cf1(0x107)](_0x539cf1(0xeb),!0x1),this[_0x539cf1(0xe9)]({'tag':_0x539cf1(0xfa),'attributes':{'class':['ck',_0x539cf1(0xf2),_0x539cf1(0xe4),_0x539cf1(0xde)],'dir':_0x539cf1(0xdb)},'children':[this[_0x539cf1(0x101)],this[_0x539cf1(0xf4)],this[_0x539cf1(0xf5)],this[_0x539cf1(0x104)],this[_0x539cf1(0xee)]]});}[_0x22e7ba(0xf3)](){var _0x36e0c1=_0x22e7ba;this[_0x36e0c1(0xf5)][_0x36e0c1(0xf9)](),this[_0x36e0c1(0xf5)][_0x36e0c1(0x107)](_0x36e0c1(0xeb),!0x0),this[_0x36e0c1(0x104)][_0x36e0c1(0x107)](_0x36e0c1(0xeb),!0x1),this[_0x36e0c1(0xee)][_0x36e0c1(0x107)](_0x36e0c1(0xeb),!0x1);}[_0x22e7ba(0xdf)](){var _0x48cb36=_0x22e7ba;this[_0x48cb36(0xef)](),this[_0x48cb36(0x104)][_0x48cb36(0xe6)](),this[_0x48cb36(0xf5)][_0x48cb36(0x107)](_0x48cb36(0xeb),!0x1),this[_0x48cb36(0x104)][_0x48cb36(0x107)](_0x48cb36(0xeb),!0x0),this[_0x48cb36(0x104)][_0x48cb36(0xdc)](),this[_0x48cb36(0x104)][_0x48cb36(0x107)](_0x48cb36(0x106),!0x0),this[_0x48cb36(0x104)][_0x48cb36(0x107)](_0x48cb36(0xf6),!0x1);}[_0x22e7ba(0x105)](_0x456af4){var _0x22eda0=_0x22e7ba;this[_0x22eda0(0x104)][_0x22eda0(0x102)](_0x456af4),this[_0x22eda0(0x104)][_0x22eda0(0x107)](_0x22eda0(0x106),!0x1);}[_0x22e7ba(0xe2)](){var _0x1cbb1e=_0x22e7ba;this[_0x1cbb1e(0x104)][_0x1cbb1e(0x107)](_0x1cbb1e(0xeb),!0x0),this[_0x1cbb1e(0xee)][_0x1cbb1e(0x107)](_0x1cbb1e(0xeb),!0x1),this[_0x1cbb1e(0x104)][_0x1cbb1e(0x107)](_0x1cbb1e(0xf6),!0x0),this[_0x1cbb1e(0xf5)][_0x1cbb1e(0x107)](_0x1cbb1e(0xeb),!0x1);}[_0x22e7ba(0xfc)](){var _0x1f6de1=_0x22e7ba;this[_0x1f6de1(0x104)][_0x1f6de1(0xea)]?(this[_0x1f6de1(0xf5)][_0x1f6de1(0x107)](_0x1f6de1(0xeb),!0x1),this[_0x1f6de1(0x104)][_0x1f6de1(0x107)](_0x1f6de1(0xeb),!0x0),this[_0x1f6de1(0xee)][_0x1f6de1(0x107)](_0x1f6de1(0xeb),!0x1)):this[_0x1f6de1(0x104)][_0x1f6de1(0xea)]=!0x0;}[_0x22e7ba(0xe8)](){var _0x481af1=_0x22e7ba;this[_0x481af1(0xf5)][_0x481af1(0x107)](_0x481af1(0xeb),!0x1),this[_0x481af1(0x104)][_0x481af1(0x107)](_0x481af1(0xeb),!0x1),this[_0x481af1(0xee)][_0x481af1(0x107)](_0x481af1(0xeb),!0x0);}[_0x22e7ba(0xef)](){var _0x341d06=_0x22e7ba;this[_0x341d06(0x104)][_0x341d06(0xea)]=!0x1;}[_0x22e7ba(0xf8)](_0x15ce8c){var _0x2a768b=_0x22e7ba;this[_0x2a768b(0xf4)][_0x2a768b(0x107)](_0x2a768b(0xeb),!0x0),this[_0x2a768b(0xf4)][_0x2a768b(0xec)]=_0x15ce8c;}[_0x22e7ba(0xe7)](){var _0x3ed018=_0x22e7ba;this[_0x3ed018(0x104)][_0x3ed018(0x107)](_0x3ed018(0x106),!0x1),this[_0x3ed018(0xfc)](),this[_0x3ed018(0x104)][_0x3ed018(0xfe)]();}[_0x22e7ba(0x103)](){var _0x560c1b=_0x22e7ba;this[_0x560c1b(0x104)][_0x560c1b(0x107)](_0x560c1b(0x106),!0x1),this[_0x560c1b(0xfc)](),this[_0x560c1b(0x104)][_0x560c1b(0xda)]();}}
23
+ var _0x567dd3=_0x3fe0;(function(_0x12bc92,_0x4a88a9){var _0x233b7=_0x3fe0,_0x4bc3d0=_0x12bc92();while(!![]){try{var _0x2d1e03=parseInt(_0x233b7(0xed))/0x1*(-parseInt(_0x233b7(0xe7))/0x2)+-parseInt(_0x233b7(0xda))/0x3*(parseInt(_0x233b7(0xd2))/0x4)+parseInt(_0x233b7(0xe2))/0x5*(-parseInt(_0x233b7(0xf9))/0x6)+-parseInt(_0x233b7(0xd5))/0x7*(-parseInt(_0x233b7(0xce))/0x8)+parseInt(_0x233b7(0xe6))/0x9+parseInt(_0x233b7(0xd9))/0xa+parseInt(_0x233b7(0xd3))/0xb*(-parseInt(_0x233b7(0xd0))/0xc);if(_0x2d1e03===_0x4a88a9)break;else _0x4bc3d0['push'](_0x4bc3d0['shift']());}catch(_0x49e83c){_0x4bc3d0['push'](_0x4bc3d0['shift']());}}}(_0x5e5f,0xefc9b));import{View as _0x5ac069}from'ckeditor5/src/ui.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x47c52e}from'../aireviewcoreui.js';function _0x3fe0(_0x5c6513,_0x340286){var _0x5e5f00=_0x5e5f();return _0x3fe0=function(_0x3fe0a3,_0x3d6859){_0x3fe0a3=_0x3fe0a3-0xc7;var _0x30744b=_0x5e5f00[_0x3fe0a3];return _0x30744b;},_0x3fe0(_0x5c6513,_0x340286);}import{AIReviewCoreGeneralErrorView as _0x4af469}from'./aireviewcoregeneralerrorview.js';function _0x5e5f(){var _0x402540=['list','reviewCompletedView','showGeneralErrorMessage','25040aaaHBF','showGeneralResultsErrorView','showGeneralReviewCoreErrorView','ck-rounded-corners','8290908Waxcrz','76918iNOMzR','showReviewCompletedView','showNoChangesView','delegate','isVisible','showReviewCheckListView','4TvKiDD','showReviewCheckResultsView','clearResults','resetErrorState','div','setTemplate','generalErrorView','addCheckRunResult','ck-ai-review','addResult','errorMessage','reviewCoreHeader','576MPMHbB','ck-reset_all','reviewCheckResultsView','showActionsWhenResultIsReady','finishReview','set','resetAllParameterizedChecks','showChunkErrorView','9383624bLRcBo','reviewCheckListView','84RelnTJ','completed','1523868xZJHbR','822085jVYowJ','isResultReady','7iopodK','hideActionsWhenResultIsReady','isCompleted','header','11886560KgAFEz','9zciehI','isLoading','ltr','results','showChunkErrorMessage'];_0x5e5f=function(){return _0x402540;};return _0x5e5f();}export class AIReviewCoreView extends _0x5ac069{[_0x567dd3(0xf8)];[_0x567dd3(0xf3)];[_0x567dd3(0xcf)];[_0x567dd3(0xc8)];[_0x567dd3(0xe0)];constructor(_0x53212b,_0x3dfd61){var _0x445037=_0x567dd3;super(_0x53212b),this[_0x445037(0xf8)]=_0x3dfd61[_0x445037(0xd8)],this[_0x445037(0xf3)]=new _0x4af469(_0x53212b),this[_0x445037(0xcf)]=_0x3dfd61[_0x445037(0xdf)],this[_0x445037(0xcf)][_0x445037(0xea)](..._0x47c52e)['to'](this),this[_0x445037(0xc8)]=_0x3dfd61[_0x445037(0xdd)],this[_0x445037(0xc8)][_0x445037(0xea)](..._0x47c52e)['to'](this),this[_0x445037(0xe0)]=_0x3dfd61[_0x445037(0xd1)],this[_0x445037(0xe0)][_0x445037(0xea)](_0x445037(0xca))['to'](this),this[_0x445037(0xcf)][_0x445037(0xcb)](_0x445037(0xeb),!0x1),this[_0x445037(0xc8)][_0x445037(0xcb)](_0x445037(0xeb),!0x1),this[_0x445037(0xc8)][_0x445037(0xcb)](_0x445037(0xdb),!0x1),this[_0x445037(0xc8)][_0x445037(0xcb)](_0x445037(0xd4),!0x1),this[_0x445037(0xe0)][_0x445037(0xcb)](_0x445037(0xeb),!0x1),this[_0x445037(0xf2)]({'tag':_0x445037(0xf1),'attributes':{'class':['ck',_0x445037(0xc7),_0x445037(0xf5),_0x445037(0xe5)],'dir':_0x445037(0xdc)},'children':[this[_0x445037(0xf8)],this[_0x445037(0xf3)],this[_0x445037(0xcf)],this[_0x445037(0xc8)],this[_0x445037(0xe0)]]});}[_0x567dd3(0xec)](){var _0x49b45b=_0x567dd3;this[_0x49b45b(0xcf)][_0x49b45b(0xcc)](),this[_0x49b45b(0xcf)][_0x49b45b(0xcb)](_0x49b45b(0xeb),!0x0),this[_0x49b45b(0xc8)][_0x49b45b(0xcb)](_0x49b45b(0xeb),!0x1),this[_0x49b45b(0xe0)][_0x49b45b(0xcb)](_0x49b45b(0xeb),!0x1);}[_0x567dd3(0xee)](){var _0x3b9943=_0x567dd3;this[_0x3b9943(0xd6)](),this[_0x3b9943(0xc8)][_0x3b9943(0xf0)](),this[_0x3b9943(0xcf)][_0x3b9943(0xcb)](_0x3b9943(0xeb),!0x1),this[_0x3b9943(0xc8)][_0x3b9943(0xcb)](_0x3b9943(0xeb),!0x0),this[_0x3b9943(0xc8)][_0x3b9943(0xef)](),this[_0x3b9943(0xc8)][_0x3b9943(0xcb)](_0x3b9943(0xdb),!0x0),this[_0x3b9943(0xc8)][_0x3b9943(0xcb)](_0x3b9943(0xd7),!0x1);}[_0x567dd3(0xf4)](_0x116fe9){var _0x39f761=_0x567dd3;this[_0x39f761(0xc8)][_0x39f761(0xf6)](_0x116fe9),this[_0x39f761(0xc8)][_0x39f761(0xcb)](_0x39f761(0xdb),!0x1);}[_0x567dd3(0xe8)](){var _0x29b17f=_0x567dd3;this[_0x29b17f(0xc8)][_0x29b17f(0xcb)](_0x29b17f(0xeb),!0x0),this[_0x29b17f(0xe0)][_0x29b17f(0xcb)](_0x29b17f(0xeb),!0x1),this[_0x29b17f(0xc8)][_0x29b17f(0xcb)](_0x29b17f(0xd7),!0x0),this[_0x29b17f(0xcf)][_0x29b17f(0xcb)](_0x29b17f(0xeb),!0x1);}[_0x567dd3(0xc9)](){var _0x5b840d=_0x567dd3;this[_0x5b840d(0xc8)][_0x5b840d(0xd4)]?(this[_0x5b840d(0xcf)][_0x5b840d(0xcb)](_0x5b840d(0xeb),!0x1),this[_0x5b840d(0xc8)][_0x5b840d(0xcb)](_0x5b840d(0xeb),!0x0),this[_0x5b840d(0xe0)][_0x5b840d(0xcb)](_0x5b840d(0xeb),!0x1)):this[_0x5b840d(0xc8)][_0x5b840d(0xd4)]=!0x0;}[_0x567dd3(0xe9)](){var _0x42564f=_0x567dd3;this[_0x42564f(0xcf)][_0x42564f(0xcb)](_0x42564f(0xeb),!0x1),this[_0x42564f(0xc8)][_0x42564f(0xcb)](_0x42564f(0xeb),!0x1),this[_0x42564f(0xe0)][_0x42564f(0xcb)](_0x42564f(0xeb),!0x0);}[_0x567dd3(0xd6)](){var _0x87eb84=_0x567dd3;this[_0x87eb84(0xc8)][_0x87eb84(0xd4)]=!0x1;}[_0x567dd3(0xe4)](_0x3f82d0){var _0x2d008d=_0x567dd3;this[_0x2d008d(0xf3)][_0x2d008d(0xcb)](_0x2d008d(0xeb),!0x0),this[_0x2d008d(0xf3)][_0x2d008d(0xf7)]=_0x3f82d0;}[_0x567dd3(0xe3)](){var _0x19bde0=_0x567dd3;this[_0x19bde0(0xc8)][_0x19bde0(0xcb)](_0x19bde0(0xdb),!0x1),this[_0x19bde0(0xc9)](),this[_0x19bde0(0xc8)][_0x19bde0(0xe1)]();}[_0x567dd3(0xcd)](){var _0x519add=_0x567dd3;this[_0x519add(0xc8)][_0x519add(0xcb)](_0x519add(0xdb),!0x1),this[_0x519add(0xc9)](),this[_0x519add(0xc8)][_0x519add(0xde)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xf6d4(_0x1b6d38,_0x385cea){const _0x2e2945=_0x2e29();return _0xf6d4=function(_0xf6d474,_0x486da7){_0xf6d474=_0xf6d474-0x67;let _0x2b4d11=_0x2e2945[_0xf6d474];return _0x2b4d11;},_0xf6d4(_0x1b6d38,_0x385cea);}const _0x512e4a=_0xf6d4;(function(_0x4e6716,_0x2cad93){const _0x4074a5=_0xf6d4,_0x52aca9=_0x4e6716();while(!![]){try{const _0x11d898=-parseInt(_0x4074a5(0x71))/0x1+-parseInt(_0x4074a5(0x6d))/0x2+parseInt(_0x4074a5(0x70))/0x3*(-parseInt(_0x4074a5(0x79))/0x4)+parseInt(_0x4074a5(0x84))/0x5+-parseInt(_0x4074a5(0x7d))/0x6*(parseInt(_0x4074a5(0x7a))/0x7)+parseInt(_0x4074a5(0x78))/0x8+parseInt(_0x4074a5(0x6f))/0x9;if(_0x11d898===_0x2cad93)break;else _0x52aca9['push'](_0x52aca9['shift']());}catch(_0x32ecfd){_0x52aca9['push'](_0x52aca9['shift']());}}}(_0x2e29,0xdd471));import{Collection as _0x3eab18}from'ckeditor5/src/utils.js';import{View as _0x40d895,createDropdown as _0x56c8db,addListToDropdown as _0x4b1693,UIModel as _0x3dc55c}from'ckeditor5/src/ui.js';export class AIReviewCoreFormDropdownView extends _0x40d895{[_0x512e4a(0x86)];[_0x512e4a(0x8d)];[_0x512e4a(0x8c)];constructor(_0x490e18,_0x466a00){const _0x9b123a=_0x512e4a;super(_0x490e18),this[_0x9b123a(0x8d)]=_0x466a00[_0x9b123a(0x80)]||(_0x466a00[_0x9b123a(0x85)][_0x9b123a(0x7c)]>0x0?_0x466a00[_0x9b123a(0x85)][0x0]['id']:''),this[_0x9b123a(0x8c)]=_0x466a00[_0x9b123a(0x85)][_0x9b123a(0x6c)](_0x3bb087=>_0x3bb087['id']===this[_0x9b123a(0x8d)])?.[_0x9b123a(0x83)]||'',this[_0x9b123a(0x8e)](_0x9b123a(0x7f),''),this[_0x9b123a(0x86)]=_0x56c8db(this[_0x9b123a(0x6b)]);const _0xd82fe2=this[_0x9b123a(0x75)](_0x466a00[_0x9b123a(0x85)]);_0x4b1693(this[_0x9b123a(0x86)],_0xd82fe2,{'role':_0x9b123a(0x81),'ariaLabel':_0x466a00[_0x9b123a(0x83)]}),this[_0x9b123a(0x86)][_0x9b123a(0x87)][_0x9b123a(0x8e)]({'label':this[_0x9b123a(0x8c)],'withText':!0x0}),this[_0x9b123a(0x86)][_0x9b123a(0x77)]({'on':{'click':this[_0x9b123a(0x67)]['to'](_0x2cfeeb=>{const _0xb985ee=_0x9b123a;_0x2cfeeb[_0xb985ee(0x88)]();})}}),this[_0x9b123a(0x6a)](this[_0x9b123a(0x86)],_0x9b123a(0x68),_0x2f6f0d=>{const _0x1f255e=_0x9b123a;this[_0x1f255e(0x7f)]=_0x2f6f0d[_0x1f255e(0x7b)][_0x1f255e(0x8f)]['id'],this[_0x1f255e(0x86)][_0x1f255e(0x87)][_0x1f255e(0x83)]=_0x2f6f0d[_0x1f255e(0x7b)][_0x1f255e(0x8f)][_0x1f255e(0x83)];}),this[_0x9b123a(0x7e)]({'tag':_0x9b123a(0x74),'attributes':{'class':['ck',_0x9b123a(0x69),_0x9b123a(0x82),_0x9b123a(0x72)]},'children':[this[_0x9b123a(0x86)]]});}[_0x512e4a(0x73)](){const _0x70c3d6=_0x512e4a;this[_0x70c3d6(0x7f)]=this[_0x70c3d6(0x8d)],this[_0x70c3d6(0x86)][_0x70c3d6(0x87)][_0x70c3d6(0x83)]=this[_0x70c3d6(0x8c)];}[_0x512e4a(0x75)](_0x3735bc=[]){const _0x11e79d=_0x512e4a,_0x102771=new _0x3eab18();this[_0x11e79d(0x73)]();for(const _0x294e32 of _0x3735bc){const _0x6c1349=new _0x3dc55c({'label':_0x294e32[_0x11e79d(0x83)],'withText':!0x0,'role':_0x11e79d(0x8b),'id':_0x294e32['id'],'model':_0x294e32});_0x6c1349[_0x11e79d(0x8a)](_0x11e79d(0x89))['to'](this,_0x11e79d(0x7f),_0x56a25b=>_0x56a25b===_0x6c1349['id']);const _0x332dbc={'type':_0x11e79d(0x6e),'model':_0x6c1349};_0x102771[_0x11e79d(0x76)](_0x332dbc);}return _0x102771;}}function _0x2e29(){const _0x20bb2f=['_defaultLabel','_defaultValue','set','model','bindTemplate','execute','ck-reset_all','listenTo','locale','find','1505874EDMUmW','button','20516400yzuKka','234DCBoao','388108vuszDz','ck-ai_review__check-list-item-parameterized-form-element_dropdown','resetToDefault','div','_prepareListOptions','add','extendTemplate','573872EInXVb','18976uKMPjD','275905QyuKzg','source','length','192aDvxep','setTemplate','formValue','default','menu','ck-ai_review__check-list-item-parameterized-form-element','label','6636880uzSJyS','data','_dropdownView','buttonView','stopPropagation','isOn','bind','menuitemradio'];_0x2e29=function(){return _0x20bb2f;};return _0x2e29();}
23
+ const _0x11a991=_0xf325;(function(_0x1a71e1,_0x4f0031){const _0x5b7151=_0xf325,_0x4dbf36=_0x1a71e1();while(!![]){try{const _0x57735f=parseInt(_0x5b7151(0xcc))/0x1+parseInt(_0x5b7151(0xc4))/0x2*(-parseInt(_0x5b7151(0xd0))/0x3)+parseInt(_0x5b7151(0xc7))/0x4+parseInt(_0x5b7151(0xe0))/0x5*(-parseInt(_0x5b7151(0xdc))/0x6)+parseInt(_0x5b7151(0xc9))/0x7+parseInt(_0x5b7151(0xe8))/0x8+-parseInt(_0x5b7151(0xcb))/0x9;if(_0x57735f===_0x4f0031)break;else _0x4dbf36['push'](_0x4dbf36['shift']());}catch(_0xa3e34a){_0x4dbf36['push'](_0x4dbf36['shift']());}}}(_0x4f2e,0x8616b));import{Collection as _0x4950f0}from'ckeditor5/src/utils.js';function _0xf325(_0x3b5062,_0x3682fd){const _0x4f2eb8=_0x4f2e();return _0xf325=function(_0xf3254a,_0x48f4c6){_0xf3254a=_0xf3254a-0xc1;let _0x2c1a81=_0x4f2eb8[_0xf3254a];return _0x2c1a81;},_0xf325(_0x3b5062,_0x3682fd);}function _0x4f2e(){const _0x3eee02=['add','2616460OVDIbC','_dropdownView','setTemplate','source','resetToDefault','_prepareListOptions','bind','ck-ai_review__check-list-item-parameterized-form-element','7129960kcLmaj','extendTemplate','set','locale','isOn','2558UmBwZP','menu','buttonView','3673220SfZEwt','formValue','4370891llMqhn','stopPropagation','9152541JUqXpi','726028SOlHvU','menuitemradio','execute','div','2511djXffp','ck-reset_all','bindTemplate','label','_defaultLabel','data','find','model','button','ck-ai_review__check-list-item-parameterized-form-element_dropdown','default','_defaultValue','6wCOwDm','length','listenTo'];_0x4f2e=function(){return _0x3eee02;};return _0x4f2e();}import{View as _0x228eec,createDropdown as _0x468803,addListToDropdown as _0x2938bd,UIModel as _0x1874d6}from'ckeditor5/src/ui.js';export class AIReviewCoreFormDropdownView extends _0x228eec{[_0x11a991(0xe1)];[_0x11a991(0xdb)];[_0x11a991(0xd4)];constructor(_0x2feb14,_0x4bc9b8){const _0x4fe901=_0x11a991;super(_0x2feb14),this[_0x4fe901(0xdb)]=_0x4bc9b8[_0x4fe901(0xda)]||(_0x4bc9b8[_0x4fe901(0xd5)][_0x4fe901(0xdd)]>0x0?_0x4bc9b8[_0x4fe901(0xd5)][0x0]['id']:''),this[_0x4fe901(0xd4)]=_0x4bc9b8[_0x4fe901(0xd5)][_0x4fe901(0xd6)](_0x55de22=>_0x55de22['id']===this[_0x4fe901(0xdb)])?.[_0x4fe901(0xd3)]||'',this[_0x4fe901(0xc1)](_0x4fe901(0xc8),''),this[_0x4fe901(0xe1)]=_0x468803(this[_0x4fe901(0xc2)]);const _0x2de321=this[_0x4fe901(0xe5)](_0x4bc9b8[_0x4fe901(0xd5)]);_0x2938bd(this[_0x4fe901(0xe1)],_0x2de321,{'role':_0x4fe901(0xc5),'ariaLabel':_0x4bc9b8[_0x4fe901(0xd3)]}),this[_0x4fe901(0xe1)][_0x4fe901(0xc6)][_0x4fe901(0xc1)]({'label':this[_0x4fe901(0xd4)],'withText':!0x0}),this[_0x4fe901(0xe1)][_0x4fe901(0xe9)]({'on':{'click':this[_0x4fe901(0xd2)]['to'](_0x549956=>{const _0x1e7ea9=_0x4fe901;_0x549956[_0x1e7ea9(0xca)]();})}}),this[_0x4fe901(0xde)](this[_0x4fe901(0xe1)],_0x4fe901(0xce),_0x3e5f11=>{const _0x94d1cb=_0x4fe901;this[_0x94d1cb(0xc8)]=_0x3e5f11[_0x94d1cb(0xe3)][_0x94d1cb(0xd7)]['id'],this[_0x94d1cb(0xe1)][_0x94d1cb(0xc6)][_0x94d1cb(0xd3)]=_0x3e5f11[_0x94d1cb(0xe3)][_0x94d1cb(0xd7)][_0x94d1cb(0xd3)];}),this[_0x4fe901(0xe2)]({'tag':_0x4fe901(0xcf),'attributes':{'class':['ck',_0x4fe901(0xd1),_0x4fe901(0xe7),_0x4fe901(0xd9)]},'children':[this[_0x4fe901(0xe1)]]});}[_0x11a991(0xe4)](){const _0x323b39=_0x11a991;this[_0x323b39(0xc8)]=this[_0x323b39(0xdb)],this[_0x323b39(0xe1)][_0x323b39(0xc6)][_0x323b39(0xd3)]=this[_0x323b39(0xd4)];}[_0x11a991(0xe5)](_0x4f790b=[]){const _0x762fba=_0x11a991,_0x4f98e3=new _0x4950f0();this[_0x762fba(0xe4)]();for(const _0x4a443f of _0x4f790b){const _0x40f018=new _0x1874d6({'label':_0x4a443f[_0x762fba(0xd3)],'withText':!0x0,'role':_0x762fba(0xcd),'id':_0x4a443f['id'],'model':_0x4a443f});_0x40f018[_0x762fba(0xe6)](_0x762fba(0xc3))['to'](this,_0x762fba(0xc8),_0x8dcf6a=>_0x8dcf6a===_0x40f018['id']);const _0x43ea77={'type':_0x762fba(0xd8),'model':_0x40f018};_0x4f98e3[_0x762fba(0xdf)](_0x43ea77);}return _0x4f98e3;}}