@ckeditor/ckeditor5-ai 47.7.5 → 47.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4fbc58=_0x537a;function _0x537a(_0x393410,_0xe9fed5){const _0x497fdd=_0x497f();return _0x537a=function(_0x537a1a,_0x1d700a){_0x537a1a=_0x537a1a-0x1dd;let _0x581f59=_0x497fdd[_0x537a1a];return _0x581f59;},_0x537a(_0x393410,_0xe9fed5);}(function(_0xf59758,_0x2ad880){const _0x5e0795=_0x537a,_0x568ada=_0xf59758();while(!![]){try{const _0x3e4015=parseInt(_0x5e0795(0x210))/0x1*(-parseInt(_0x5e0795(0x220))/0x2)+parseInt(_0x5e0795(0x1fc))/0x3+-parseInt(_0x5e0795(0x229))/0x4*(-parseInt(_0x5e0795(0x215))/0x5)+parseInt(_0x5e0795(0x221))/0x6*(-parseInt(_0x5e0795(0x1fe))/0x7)+parseInt(_0x5e0795(0x1df))/0x8+parseInt(_0x5e0795(0x214))/0x9+-parseInt(_0x5e0795(0x1e0))/0xa;if(_0x3e4015===_0x2ad880)break;else _0x568ada['push'](_0x568ada['shift']());}catch(_0x3e9010){_0x568ada['push'](_0x568ada['shift']());}}}(_0x497f,0x51e38));import{Rect as _0x5b501,getConstrainedViewportRect as _0x5cddc8}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x343cd1,View as _0x3ba332,clickOutsideHandler as _0x5934af}from'ckeditor5/src/ui.js';function _0x497f(){const _0x4741f6=['ck-ai_review-balloon-panel-suggestion','hideBalloon','ck-content','749004ONWhNu','isVisible','443534ZvetiV','changeId','isDiffActive','position','resultItemView','getClientRects','delegate','width','add','bottom','div','_getPointedRectIndexFromEvent','showDiffInBalloon','forEach','push','setTemplate','ck-ai_review-balloon-panel-suggestion_diff-active','_pinnedTargetElement','36881LcCGRV','innerHTML','_getBestRectPositionOnHover','_pinnedTargetChangeId','3698667EOialJ','46060SWpvZy','reverse','fire','_createContentView','right','extendTemplate','length','set','_setupClickOutsideHandler','_getBestRectPositionOnClick','ck-reset','8IjttAb','6eOFAbd','_isPinnedRectVisible','balloon','arrow_se','hide','ck-ai_review__suggestion-text','content','element','272rToUKC','left','bindTemplate','render','dismissChange','384360bNYdTC','7887900jfkgrt','from','getBoundingClientRect','showDiff','resultResponseView','hideDiffInBalloon','clientX','clientY','showBalloon','pin','_pinnedRectIndex','updateContent','hover','show','top','replace','deactivateChange','acceptChange','locale','arrow_','unpin','contentDiffed','documentElement','getIntersection','click'];_0x497f=function(){return _0x4741f6;};return _0x497f();}import{AIReviewCoreReviewCheckListItemResultsView as _0x59c542}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x343cd1{[_0x4fbc58(0x202)];[_0x4fbc58(0x1ea)]=void 0x0;[_0x4fbc58(0x20f)]=void 0x0;[_0x4fbc58(0x213)]=void 0x0;constructor(_0x3a5a5a,_0x5a191b){const _0x23c873=_0x4fbc58;super(_0x3a5a5a),this[_0x23c873(0x21c)]({'isVisible':!0x1,'position':_0x23c873(0x224),'class':null,'top':0x0,'left':0x0}),this[_0x23c873(0x21a)]({'tag':_0x23c873(0x208),'attributes':{'class':[_0x23c873(0x21f)],'tabindex':'-1'}}),this[_0x23c873(0x21c)](_0x23c873(0x200),!0x1),this[_0x23c873(0x227)][_0x23c873(0x206)](this[_0x23c873(0x218)]()),_0x5a191b[_0x23c873(0x206)](this);}[_0x4fbc58(0x1dd)](){const _0x307165=_0x4fbc58;super[_0x307165(0x1dd)](),this[_0x307165(0x21d)]();}[_0x4fbc58(0x1eb)](_0x2cf739){const _0x33c85=_0x4fbc58;this[_0x33c85(0x202)][_0x33c85(0x1ff)]=_0x2cf739['id'],this[_0x33c85(0x202)][_0x33c85(0x1e4)][_0x33c85(0x228)][_0x33c85(0x211)]=_0x2cf739[_0x33c85(0x1f5)];}[_0x4fbc58(0x1e8)](_0x56e72b,_0x2b2f5d,_0x3c54a8,_0x320fa2,_0x1557bf,_0x5dd5f0){const _0x32b05c=_0x4fbc58,_0x1072d7=_0x2b2f5d();if(!_0x1072d7)return;this[_0x32b05c(0x1eb)](_0x56e72b),this[_0x32b05c(0x1ed)]();const _0x1ea057=Array[_0x32b05c(0x1e1)](_0x1072d7[_0x32b05c(0x203)]())[_0x32b05c(0x216)](),_0x879338=this[_0x32b05c(0x209)](_0x3c54a8,_0x1ea057),_0x582d31=_0x1ea057[_0x879338??0x0];_0x32b05c(0x1f8)===_0x320fa2?(this[_0x32b05c(0x200)]=!0x0,this[_0x32b05c(0x1e9)]({'target':()=>this[_0x32b05c(0x21e)](_0x2b2f5d(),_0x879338,_0x56e72b['id'],_0x1557bf,_0x5dd5f0)||_0x582d31})):_0x32b05c(0x1ec)===_0x320fa2&&(this[_0x32b05c(0x200)]=!0x1,this[_0x32b05c(0x1e9)]({'target':()=>this[_0x32b05c(0x212)](_0x2b2f5d(),_0x879338,_0x56e72b['id'])||_0x582d31}));}[_0x4fbc58(0x1fa)](){const _0x37eb89=_0x4fbc58;this[_0x37eb89(0x225)](),this[_0x37eb89(0x1f4)](),this[_0x37eb89(0x1ea)]=void 0x0,this[_0x37eb89(0x20f)]=void 0x0,this[_0x37eb89(0x213)]=void 0x0;}[_0x4fbc58(0x1e5)](){const _0x236940=_0x4fbc58;this[_0x236940(0x202)][_0x236940(0x1e3)]=!0x1;}[_0x4fbc58(0x20a)](){const _0x2f8017=_0x4fbc58;this[_0x2f8017(0x202)][_0x2f8017(0x1e3)]=!0x0;}[_0x4fbc58(0x1f0)](){const _0x39f4d7=_0x4fbc58;this[_0x39f4d7(0x217)](_0x39f4d7(0x1f0),{'origin':_0x39f4d7(0x223)});}[_0x4fbc58(0x21d)](){const _0x5e7665=_0x4fbc58;_0x5934af({'emitter':this,'activator':()=>this[_0x5e7665(0x1fd)],'contextElements':()=>{const _0x282277=_0x5e7665,_0xd96f89=[this[_0x282277(0x228)]];return this[_0x282277(0x20f)]&&_0xd96f89[_0x282277(0x20c)](this[_0x282277(0x20f)]),_0xd96f89;},'callback':()=>{const _0x371261=_0x5e7665;this[_0x371261(0x225)](),this[_0x371261(0x1f4)](),this[_0x371261(0x1f0)](),this[_0x371261(0x20f)]=void 0x0,this[_0x371261(0x1ea)]=void 0x0,this[_0x371261(0x213)]=void 0x0;}});}[_0x4fbc58(0x218)](){const _0x14671b=_0x4fbc58,_0x1cec17=new _0x3ba332();return this[_0x14671b(0x202)]=new _0x59c542(this[_0x14671b(0x1f2)],''),this[_0x14671b(0x202)][_0x14671b(0x1e4)][_0x14671b(0x21a)]({'attributes':{'class':[_0x14671b(0x1fb)]}}),this[_0x14671b(0x202)][_0x14671b(0x204)](_0x14671b(0x1f1),_0x14671b(0x1de))['to'](this),_0x1cec17[_0x14671b(0x20d)]({'tag':_0x14671b(0x208),'attributes':{'class':[_0x14671b(0x21f),_0x14671b(0x1f9),this[_0x14671b(0x22b)]['if'](_0x14671b(0x200),_0x14671b(0x20e))]},'children':[{'tag':'p','attributes':{'class':[_0x14671b(0x226)]},'children':[this[_0x14671b(0x202)]]}]}),_0x1cec17;}[_0x4fbc58(0x21e)](_0x35e1de,_0x153b59,_0x149818,_0x2b1fc1,_0x245894){const _0x44042e=_0x4fbc58;if(!_0x35e1de)return null;const _0x4ea481=this[_0x44042e(0x201)][_0x44042e(0x1ef)](_0x44042e(0x1f3),''),_0x4c1874=Array[_0x44042e(0x1e1)](_0x35e1de[_0x44042e(0x203)]());let _0x2d25da,_0x5b2152=_0x4c1874[_0x44042e(0x216)]();return void 0x0!==_0x153b59&&this[_0x44042e(0x222)](_0x5b2152[_0x153b59],_0x2b1fc1,_0x245894)?(_0x2d25da=_0x5b2152[_0x153b59],this[_0x44042e(0x1ea)]=_0x153b59):this[_0x44042e(0x222)](_0x5b2152[0x0],_0x2b1fc1,_0x245894)&&void 0x0===_0x153b59?_0x2d25da=_0x5b2152[0x0]:(_0x5b2152='s'==_0x4ea481[0x0]?[..._0x4c1874][_0x44042e(0x216)]():_0x4c1874,_0x5b2152[_0x44042e(0x20b)](_0x143537=>{const _0xe06dbd=_0x44042e;this[_0xe06dbd(0x222)](_0x143537,_0x2b1fc1,_0x245894)&&(_0x2d25da=_0x143537);})),this[_0x44042e(0x213)]=_0x149818,this[_0x44042e(0x20f)]=_0x35e1de,_0x2d25da||_0x35e1de[_0x44042e(0x1e2)]();}[_0x4fbc58(0x212)](_0x5ed811,_0x5c7e1c,_0x35c113){const _0x3712f6=_0x4fbc58;if(!_0x5ed811)return null;const _0x15c507=Array[_0x3712f6(0x1e1)](_0x5ed811[_0x3712f6(0x203)]())[_0x3712f6(0x216)]();if(void 0x0===this[_0x3712f6(0x1ea)]&&void 0x0!==_0x5c7e1c&&this[_0x3712f6(0x213)]!==_0x35c113)return this[_0x3712f6(0x1ea)]=_0x5c7e1c,this[_0x3712f6(0x20f)]=_0x5ed811,this[_0x3712f6(0x213)]=_0x35c113,_0x15c507[_0x5c7e1c];if(void 0x0!==this[_0x3712f6(0x1ea)]&&this[_0x3712f6(0x213)]===_0x35c113){if(_0x5ed811!==this[_0x3712f6(0x20f)])return Array[_0x3712f6(0x1e1)](this[_0x3712f6(0x20f)][_0x3712f6(0x203)]())[_0x3712f6(0x216)]()[this[_0x3712f6(0x1ea)]];return _0x15c507[this[_0x3712f6(0x1ea)]];}return void 0x0!==_0x5c7e1c&&this[_0x3712f6(0x213)]!==_0x35c113?(this[_0x3712f6(0x1ea)]=_0x5c7e1c,this[_0x3712f6(0x20f)]=_0x5ed811,this[_0x3712f6(0x213)]=_0x35c113,_0x15c507[_0x5c7e1c]):_0x5ed811[_0x3712f6(0x1e2)]();}[_0x4fbc58(0x209)](_0x2fb3ef,_0x19b0c2){const _0x3ef3bb=_0x4fbc58;if(_0x2fb3ef)for(let _0x26292f=0x0;_0x26292f<_0x19b0c2[_0x3ef3bb(0x21b)];_0x26292f++){const _0x57067e=_0x19b0c2[_0x26292f];if(_0x2fb3ef[_0x3ef3bb(0x1e6)]>=_0x57067e[_0x3ef3bb(0x22a)]-0x3&&_0x2fb3ef[_0x3ef3bb(0x1e6)]<=_0x57067e[_0x3ef3bb(0x219)]+0x3&&_0x2fb3ef[_0x3ef3bb(0x1e7)]>=_0x57067e[_0x3ef3bb(0x1ee)]-0x3&&_0x2fb3ef[_0x3ef3bb(0x1e7)]<=_0x57067e[_0x3ef3bb(0x207)]+0x3)return _0x26292f;}}[_0x4fbc58(0x222)](_0x372a0b,_0x569ec,_0x758eed){const _0x386c0a=_0x4fbc58,_0x3c716c=new _0x5b501(_0x372a0b),_0x373141=_0x569ec||document[_0x386c0a(0x1f6)],_0x2b8ba0=_0x3c716c[_0x386c0a(0x1f7)](_0x5cddc8(_0x758eed)),_0x5e4aad=new _0x5b501(_0x373141)[_0x386c0a(0x1f7)](_0x3c716c);return!!(_0x2b8ba0&&_0x5e4aad&&_0x3c716c[_0x386c0a(0x205)]>0x0);}}
23
+ function _0x3aef(_0x2ea1cd,_0xb39a5f){const _0x12086a=_0x1208();return _0x3aef=function(_0x3aef3c,_0x10e921){_0x3aef3c=_0x3aef3c-0x11e;let _0x4f1fbe=_0x12086a[_0x3aef3c];return _0x4f1fbe;},_0x3aef(_0x2ea1cd,_0xb39a5f);}const _0x3c0ca6=_0x3aef;(function(_0x29b140,_0x2f3808){const _0x33bb18=_0x3aef,_0x58b5f8=_0x29b140();while(!![]){try{const _0x5d3027=parseInt(_0x33bb18(0x162))/0x1*(-parseInt(_0x33bb18(0x160))/0x2)+-parseInt(_0x33bb18(0x146))/0x3*(parseInt(_0x33bb18(0x148))/0x4)+-parseInt(_0x33bb18(0x123))/0x5*(parseInt(_0x33bb18(0x134))/0x6)+parseInt(_0x33bb18(0x15e))/0x7+parseInt(_0x33bb18(0x15c))/0x8*(parseInt(_0x33bb18(0x139))/0x9)+parseInt(_0x33bb18(0x142))/0xa+parseInt(_0x33bb18(0x126))/0xb;if(_0x5d3027===_0x2f3808)break;else _0x58b5f8['push'](_0x58b5f8['shift']());}catch(_0x2c2304){_0x58b5f8['push'](_0x58b5f8['shift']());}}}(_0x1208,0xc9f7c));import{Rect as _0x25be5d,getConstrainedViewportRect as _0x21c88f}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x4e84b9,View as _0x498116,clickOutsideHandler as _0xada68f}from'ckeditor5/src/ui.js';function _0x1208(){const _0x12bcb4=['8239473nyZXmw','showBalloon','push','isVisible','render','delegate','balloon','hover','ck-content','right','width','setTemplate','getIntersection','acceptChange','1980882FXfXOd','fire','extendTemplate','hideBalloon','hide','9KnEFHg','deactivateChange','bindTemplate','clientY','length','dismissChange','_pinnedTargetElement','ck-ai_review-balloon-panel-suggestion','clientX','13440480FcZriA','show','ck-ai_review-balloon-panel-suggestion_diff-active','ck-reset','120tuSMTk','getClientRects','55736YSUXmy','_createContentView','_isPinnedRectVisible','element','_getPointedRectIndexFromEvent','set','arrow_se','top','unpin','forEach','pin','updateContent','hideDiffInBalloon','getBoundingClientRect','_setupClickOutsideHandler','locale','contentDiffed','add','bottom','showDiff','9315448mlCRyC','resultItemView','5323871XVSnlX','_getBestRectPositionOnHover','982720PghgkU','reverse','2Hntuzy','content','_getBestRectPositionOnClick','changeId','from','click','replace','showDiffInBalloon','arrow_','isDiffActive','position','_pinnedTargetChangeId','ck-ai_review__suggestion-text','innerHTML','div','left','resultResponseView','25DZMJCR','documentElement','_pinnedRectIndex'];_0x1208=function(){return _0x12bcb4;};return _0x1208();}import{AIReviewCoreReviewCheckListItemResultsView as _0x17e51a}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x4e84b9{[_0x3c0ca6(0x15d)];[_0x3c0ca6(0x125)]=void 0x0;[_0x3c0ca6(0x13f)]=void 0x0;[_0x3c0ca6(0x16d)]=void 0x0;constructor(_0x4d49cf,_0x4cb4d8){const _0x4f5635=_0x3c0ca6;super(_0x4d49cf),this[_0x4f5635(0x14d)]({'isVisible':!0x1,'position':_0x4f5635(0x14e),'class':null,'top':0x0,'left':0x0}),this[_0x4f5635(0x136)]({'tag':_0x4f5635(0x120),'attributes':{'class':[_0x4f5635(0x145)],'tabindex':'-1'}}),this[_0x4f5635(0x14d)](_0x4f5635(0x16b),!0x1),this[_0x4f5635(0x163)][_0x4f5635(0x159)](this[_0x4f5635(0x149)]()),_0x4cb4d8[_0x4f5635(0x159)](this);}[_0x3c0ca6(0x12a)](){const _0x1bb7ef=_0x3c0ca6;super[_0x1bb7ef(0x12a)](),this[_0x1bb7ef(0x156)]();}[_0x3c0ca6(0x153)](_0x20fa4e){const _0x529406=_0x3c0ca6;this[_0x529406(0x15d)][_0x529406(0x165)]=_0x20fa4e['id'],this[_0x529406(0x15d)][_0x529406(0x122)][_0x529406(0x14b)][_0x529406(0x11f)]=_0x20fa4e[_0x529406(0x158)];}[_0x3c0ca6(0x127)](_0x181640,_0x410ba2,_0x1be368,_0x57582f,_0x54d5bb,_0x2fa2fc){const _0x586452=_0x3c0ca6,_0xaf723c=_0x410ba2();if(!_0xaf723c)return;this[_0x586452(0x153)](_0x181640),this[_0x586452(0x143)]();const _0x13d08f=Array[_0x586452(0x166)](_0xaf723c[_0x586452(0x147)]())[_0x586452(0x161)](),_0x3bd69a=this[_0x586452(0x14c)](_0x1be368,_0x13d08f),_0x4f3845=_0x13d08f[_0x3bd69a??0x0];_0x586452(0x167)===_0x57582f?(this[_0x586452(0x16b)]=!0x0,this[_0x586452(0x152)]({'target':()=>this[_0x586452(0x164)](_0x410ba2(),_0x3bd69a,_0x181640['id'],_0x54d5bb,_0x2fa2fc)||_0x4f3845})):_0x586452(0x12d)===_0x57582f&&(this[_0x586452(0x16b)]=!0x1,this[_0x586452(0x152)]({'target':()=>this[_0x586452(0x15f)](_0x410ba2(),_0x3bd69a,_0x181640['id'])||_0x4f3845}));}[_0x3c0ca6(0x137)](){const _0x134bac=_0x3c0ca6;this[_0x134bac(0x138)](),this[_0x134bac(0x150)](),this[_0x134bac(0x125)]=void 0x0,this[_0x134bac(0x13f)]=void 0x0,this[_0x134bac(0x16d)]=void 0x0;}[_0x3c0ca6(0x154)](){const _0x180aeb=_0x3c0ca6;this[_0x180aeb(0x15d)][_0x180aeb(0x15b)]=!0x1;}[_0x3c0ca6(0x169)](){const _0x2adda3=_0x3c0ca6;this[_0x2adda3(0x15d)][_0x2adda3(0x15b)]=!0x0;}[_0x3c0ca6(0x13a)](){const _0x5109a7=_0x3c0ca6;this[_0x5109a7(0x135)](_0x5109a7(0x13a),{'origin':_0x5109a7(0x12c)});}[_0x3c0ca6(0x156)](){const _0x4d97ef=_0x3c0ca6;_0xada68f({'emitter':this,'activator':()=>this[_0x4d97ef(0x129)],'contextElements':()=>{const _0x28f46c=_0x4d97ef,_0x2cec4f=[this[_0x28f46c(0x14b)]];return this[_0x28f46c(0x13f)]&&_0x2cec4f[_0x28f46c(0x128)](this[_0x28f46c(0x13f)]),_0x2cec4f;},'callback':()=>{const _0x53ae29=_0x4d97ef;this[_0x53ae29(0x138)](),this[_0x53ae29(0x150)](),this[_0x53ae29(0x13a)](),this[_0x53ae29(0x13f)]=void 0x0,this[_0x53ae29(0x125)]=void 0x0,this[_0x53ae29(0x16d)]=void 0x0;}});}[_0x3c0ca6(0x149)](){const _0x389328=_0x3c0ca6,_0x3ead41=new _0x498116();return this[_0x389328(0x15d)]=new _0x17e51a(this[_0x389328(0x157)],''),this[_0x389328(0x15d)][_0x389328(0x122)][_0x389328(0x136)]({'attributes':{'class':[_0x389328(0x12e)]}}),this[_0x389328(0x15d)][_0x389328(0x12b)](_0x389328(0x133),_0x389328(0x13e))['to'](this),_0x3ead41[_0x389328(0x131)]({'tag':_0x389328(0x120),'attributes':{'class':[_0x389328(0x145),_0x389328(0x140),this[_0x389328(0x13b)]['if'](_0x389328(0x16b),_0x389328(0x144))]},'children':[{'tag':'p','attributes':{'class':[_0x389328(0x11e)]},'children':[this[_0x389328(0x15d)]]}]}),_0x3ead41;}[_0x3c0ca6(0x164)](_0x4811fa,_0x2df540,_0x470bc2,_0x2c93a3,_0x2dca48){const _0x4b9d39=_0x3c0ca6;if(!_0x4811fa)return null;const _0x164490=this[_0x4b9d39(0x16c)][_0x4b9d39(0x168)](_0x4b9d39(0x16a),''),_0x3699a6=Array[_0x4b9d39(0x166)](_0x4811fa[_0x4b9d39(0x147)]());let _0x40fbc3,_0x30ceb0=_0x3699a6[_0x4b9d39(0x161)]();return void 0x0!==_0x2df540&&this[_0x4b9d39(0x14a)](_0x30ceb0[_0x2df540],_0x2c93a3,_0x2dca48)?(_0x40fbc3=_0x30ceb0[_0x2df540],this[_0x4b9d39(0x125)]=_0x2df540):this[_0x4b9d39(0x14a)](_0x30ceb0[0x0],_0x2c93a3,_0x2dca48)&&void 0x0===_0x2df540?_0x40fbc3=_0x30ceb0[0x0]:(_0x30ceb0='s'==_0x164490[0x0]?[..._0x3699a6][_0x4b9d39(0x161)]():_0x3699a6,_0x30ceb0[_0x4b9d39(0x151)](_0x47948f=>{const _0x5d816f=_0x4b9d39;this[_0x5d816f(0x14a)](_0x47948f,_0x2c93a3,_0x2dca48)&&(_0x40fbc3=_0x47948f);})),this[_0x4b9d39(0x16d)]=_0x470bc2,this[_0x4b9d39(0x13f)]=_0x4811fa,_0x40fbc3||_0x4811fa[_0x4b9d39(0x155)]();}[_0x3c0ca6(0x15f)](_0x2abb1b,_0x132f32,_0x3441d9){const _0x783354=_0x3c0ca6;if(!_0x2abb1b)return null;const _0x10ad41=Array[_0x783354(0x166)](_0x2abb1b[_0x783354(0x147)]())[_0x783354(0x161)]();if(void 0x0===this[_0x783354(0x125)]&&void 0x0!==_0x132f32&&this[_0x783354(0x16d)]!==_0x3441d9)return this[_0x783354(0x125)]=_0x132f32,this[_0x783354(0x13f)]=_0x2abb1b,this[_0x783354(0x16d)]=_0x3441d9,_0x10ad41[_0x132f32];if(void 0x0!==this[_0x783354(0x125)]&&this[_0x783354(0x16d)]===_0x3441d9){if(_0x2abb1b!==this[_0x783354(0x13f)])return Array[_0x783354(0x166)](this[_0x783354(0x13f)][_0x783354(0x147)]())[_0x783354(0x161)]()[this[_0x783354(0x125)]];return _0x10ad41[this[_0x783354(0x125)]];}return void 0x0!==_0x132f32&&this[_0x783354(0x16d)]!==_0x3441d9?(this[_0x783354(0x125)]=_0x132f32,this[_0x783354(0x13f)]=_0x2abb1b,this[_0x783354(0x16d)]=_0x3441d9,_0x10ad41[_0x132f32]):_0x2abb1b[_0x783354(0x155)]();}[_0x3c0ca6(0x14c)](_0x395b3d,_0x10b485){const _0x494378=_0x3c0ca6;if(_0x395b3d)for(let _0x38589b=0x0;_0x38589b<_0x10b485[_0x494378(0x13d)];_0x38589b++){const _0x16852e=_0x10b485[_0x38589b];if(_0x395b3d[_0x494378(0x141)]>=_0x16852e[_0x494378(0x121)]-0x3&&_0x395b3d[_0x494378(0x141)]<=_0x16852e[_0x494378(0x12f)]+0x3&&_0x395b3d[_0x494378(0x13c)]>=_0x16852e[_0x494378(0x14f)]-0x3&&_0x395b3d[_0x494378(0x13c)]<=_0x16852e[_0x494378(0x15a)]+0x3)return _0x38589b;}}[_0x3c0ca6(0x14a)](_0x341f8c,_0x24d90b,_0x3df6fd){const _0x3445f7=_0x3c0ca6,_0x4ae3ee=new _0x25be5d(_0x341f8c),_0x373e09=_0x24d90b||document[_0x3445f7(0x124)],_0x3753d5=_0x4ae3ee[_0x3445f7(0x132)](_0x21c88f(_0x3df6fd)),_0x589a2a=new _0x25be5d(_0x373e09)[_0x3445f7(0x132)](_0x4ae3ee);return!!(_0x3753d5&&_0x589a2a&&_0x4ae3ee[_0x3445f7(0x130)]>0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53462c=_0x5f5a;(function(_0x236335,_0x298a3b){const _0x3783f7=_0x5f5a,_0x17d672=_0x236335();while(!![]){try{const _0x427cfb=-parseInt(_0x3783f7(0xd7))/0x1*(parseInt(_0x3783f7(0xb8))/0x2)+-parseInt(_0x3783f7(0xad))/0x3*(parseInt(_0x3783f7(0xda))/0x4)+-parseInt(_0x3783f7(0xf6))/0x5*(-parseInt(_0x3783f7(0xbb))/0x6)+-parseInt(_0x3783f7(0xb1))/0x7*(parseInt(_0x3783f7(0xc6))/0x8)+parseInt(_0x3783f7(0xbd))/0x9*(parseInt(_0x3783f7(0xfb))/0xa)+-parseInt(_0x3783f7(0xf8))/0xb+parseInt(_0x3783f7(0xdb))/0xc*(parseInt(_0x3783f7(0xfd))/0xd);if(_0x427cfb===_0x298a3b)break;else _0x17d672['push'](_0x17d672['shift']());}catch(_0x1f8da1){_0x17d672['push'](_0x17d672['shift']());}}}(_0x5ac2,0xb2df3));import{View as _0x40157b,ButtonView as _0x419134}from'ckeditor5/src/ui.js';function _0x5f5a(_0x29e4b5,_0x2659ae){const _0x5ac212=_0x5ac2();return _0x5f5a=function(_0x5f5a66,_0x197023){_0x5f5a66=_0x5f5a66-0xad;let _0x438ef9=_0x5ac212[_0x5f5a66];return _0x438ef9;},_0x5f5a(_0x29e4b5,_0x2659ae);}function _0x5ac2(){const _0x164ae4=['outdated','set','isEnabled','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','change:status','infoButtonView','ck-ai_review__check-run-result-accept-button','isOn','3672464gZzact','_createDismissButtonView','dismissButtonView','panel','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','acceptButtonView','outdatedButtonView','mouseout','tagName','div','label','resultResponseView','ck-ai_review__check-run-result','AI_REVIEW_MODE_DISMISS_CHANGE','ck-ai-button-tertiary','_createInfoButtonView','ck-reset_all-excluded','165049nsKvDn','_createResultResponseView','ck-ai_review__check-run-result_active','860JTTXHF','1644hzGlfq','ck-ai_review__check-run-result-status-button','mouseover','target','isInfoToggleOn','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','pending','setTemplate','acceptChange','setItemAsInactive','ck-ai_review__check-run-result-response','ck-ai_review__check-run-result-action-buttons','setItemAsActive','fire','icon','rejected','stopPropagation','accepted','ck-content','preventDefault','activateChange','changeId','isActive','status','menuitemcheckbox','disabled','AI_REVIEW_MODE_LEARN_MORE','206285cIHHhK','ck-ai_review__check-run-result-footer','5209380caMGvO','_createAcceptButtonView','dismissChange','7590fqdqsS','bindTemplate','153881oOHqCU','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','deactivateChange','5730qqcKLu','ck-ai-button-secondary','locale','showDiff','7hDEQyM','click','execute','hover','AI_REVIEW_MODE_ACCEPT_CHANGE','bind','ck-hidden','14nSVfXY','extendTemplate','ck-ai_review__check-run-result-dismiss-button','96ykTUcw','_createOutdatedButtonView','11259rpchDP'];_0x5ac2=function(){return _0x164ae4;};return _0x5ac2();}import{IconInfo as _0x303981,IconCheck as _0x521e2f,IconCancel as _0x299c12,IconOutdated as _0x401bfe}from'ckeditor5/src/icons.js';import{getTranslation as _0x568947}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x40157b{[_0x53462c(0xd1)];[_0x53462c(0xcb)];[_0x53462c(0xc8)];[_0x53462c(0xc3)];[_0x53462c(0xcc)];constructor(_0x11dd91,_0x2bfc7b){const _0x1b56f4=_0x53462c;super(_0x11dd91),this['id']=_0x2bfc7b,this[_0x1b56f4(0xbf)](_0x1b56f4(0xf2),_0x1b56f4(0xe1)),this[_0x1b56f4(0xbf)](_0x1b56f4(0xf0),_0x2bfc7b),this[_0x1b56f4(0xd1)]=this[_0x1b56f4(0xd8)](),this[_0x1b56f4(0xcb)]=this[_0x1b56f4(0xf9)](),this[_0x1b56f4(0xc8)]=this[_0x1b56f4(0xc7)](),this[_0x1b56f4(0xc3)]=this[_0x1b56f4(0xd5)](),this[_0x1b56f4(0xcc)]=this[_0x1b56f4(0xbc)](),this[_0x1b56f4(0xbf)](_0x1b56f4(0xdf),!0x1),this[_0x1b56f4(0xbf)](_0x1b56f4(0xf1),!0x1),this[_0x1b56f4(0xbf)](_0x1b56f4(0xb0),!0x0),this[_0x1b56f4(0xe2)]({'tag':_0x1b56f4(0xcf),'attributes':{'class':[_0x1b56f4(0xd2),this[_0x1b56f4(0xfc)]['if'](_0x1b56f4(0xf1),_0x1b56f4(0xd9))]},'on':{'click':this[_0x1b56f4(0xfc)]['to'](_0x1b56f4(0xb2)),'mouseover':this[_0x1b56f4(0xfc)]['to'](_0x1b56f4(0xdd)),'mouseout':this[_0x1b56f4(0xfc)]['to'](_0x1b56f4(0xcd))},'children':[this[_0x1b56f4(0xd1)],{'tag':_0x1b56f4(0xcf),'attributes':{'class':[_0x1b56f4(0xf7)]},'children':[{'tag':_0x1b56f4(0xcf),'attributes':{'class':[_0x1b56f4(0xe6)]},'children':[this[_0x1b56f4(0xcb)],this[_0x1b56f4(0xc8)],this[_0x1b56f4(0xcc)]]},this[_0x1b56f4(0xc3)]]}]}),this['on'](_0x1b56f4(0xb2),(_0x5c7cad,_0x1339a8)=>{const _0x2c35e6=_0x1b56f4;_0x1339a8&&_0x1339a8[_0x2c35e6(0xde)]&&'A'===_0x1339a8[_0x2c35e6(0xde)][_0x2c35e6(0xce)]&&_0x1339a8[_0x2c35e6(0xee)](),this[_0x2c35e6(0xe8)](_0x2c35e6(0xef),{'id':_0x2bfc7b,'source':this,'uiInteraction':_0x2c35e6(0xb2)});}),this['on'](_0x1b56f4(0xdd),()=>{const _0x3bb408=_0x1b56f4;this[_0x3bb408(0xe8)](_0x3bb408(0xef),{'id':_0x2bfc7b,'source':this,'uiInteraction':_0x3bb408(0xb4)});}),this['on'](_0x1b56f4(0xcd),()=>{const _0x48901f=_0x1b56f4;this[_0x48901f(0xe8)](_0x48901f(0xff),{'origin':_0x48901f(0xc9),'id':_0x2bfc7b,'source':this});});}[_0x53462c(0xe7)](){const _0x24eae5=_0x53462c;this[_0x24eae5(0xf1)]=!0x0;}[_0x53462c(0xe4)](){const _0x5c1e03=_0x53462c;this[_0x5c1e03(0xf1)]=!0x1;}[_0x53462c(0xd8)](){const _0x31913e=_0x53462c,_0x310982=new _0x40157b(this[_0x31913e(0xaf)]);return _0x310982[_0x31913e(0xe2)]({'tag':_0x31913e(0xcf),'attributes':{'class':['ck',_0x31913e(0xed),_0x31913e(0xd6),_0x31913e(0xe5),this[_0x31913e(0xfc)]['if'](_0x31913e(0xb0),_0x31913e(0xb7),_0x40447d=>!_0x40447d)]}}),_0x310982;}[_0x53462c(0xf9)](){const _0x3ea4f8=_0x53462c,_0x53d76b=new _0x419134(this[_0x3ea4f8(0xaf)]);return _0x53d76b[_0x3ea4f8(0xbf)]({'label':_0x568947(this[_0x3ea4f8(0xaf)],_0x3ea4f8(0xb5)),'withText':!0x0}),_0x53d76b[_0x3ea4f8(0xb9)]({'on':{'click':this[_0x3ea4f8(0xfc)]['to'](_0x19f25e=>{const _0x1652dc=_0x3ea4f8;this[_0x1652dc(0xe8)](_0x1652dc(0xe3),{'id':this[_0x1652dc(0xf0)]}),_0x19f25e[_0x1652dc(0xeb)]();})},'attributes':{'class':[_0x3ea4f8(0xae),_0x3ea4f8(0xc4),this[_0x3ea4f8(0xfc)]['if'](_0x3ea4f8(0xf2),_0x3ea4f8(0xb7),_0x51617d=>_0x3ea4f8(0xe1)!==_0x51617d&&_0x3ea4f8(0xec)!==_0x51617d),this[_0x3ea4f8(0xfc)]['if'](_0x3ea4f8(0xf2),_0x3ea4f8(0xc4),_0x6ad096=>_0x3ea4f8(0xe1)===_0x6ad096),this[_0x3ea4f8(0xfc)]['if'](_0x3ea4f8(0xf2),_0x3ea4f8(0xdc),_0x2b2145=>_0x3ea4f8(0xec)===_0x2b2145)]}}),this['on'](_0x3ea4f8(0xc2),(_0x55054f,_0x57611b,_0x5c799b)=>{const _0xccebbe=_0x3ea4f8;_0x53d76b[_0xccebbe(0xc0)]=_0xccebbe(0xe1)===_0x5c799b,_0xccebbe(0xec)===_0x5c799b&&(_0x53d76b[_0xccebbe(0xd0)]=_0x568947(this[_0xccebbe(0xaf)],_0xccebbe(0xc1)),_0x53d76b[_0xccebbe(0xe9)]=_0x521e2f);}),_0x53d76b;}[_0x53462c(0xc7)](){const _0x45e42d=_0x53462c,_0x6263e9=new _0x419134(this[_0x45e42d(0xaf)]);return _0x6263e9[_0x45e42d(0xbf)]({'label':_0x568947(this[_0x45e42d(0xaf)],_0x45e42d(0xd3)),'withText':!0x0}),_0x6263e9[_0x45e42d(0xb9)]({'on':{'click':this[_0x45e42d(0xfc)]['to'](_0x236b3e=>{const _0x327eb1=_0x45e42d;this[_0x327eb1(0xe8)](_0x327eb1(0xfa),{'id':this[_0x327eb1(0xf0)]}),_0x236b3e[_0x327eb1(0xeb)]();})},'attributes':{'class':[_0x45e42d(0xd4),this[_0x45e42d(0xfc)]['if'](_0x45e42d(0xf2),_0x45e42d(0xb7),_0x3a2c23=>_0x45e42d(0xe1)!==_0x3a2c23&&_0x45e42d(0xea)!==_0x3a2c23),this[_0x45e42d(0xfc)]['if'](_0x45e42d(0xf2),_0x45e42d(0xba),_0xaddbe3=>_0x45e42d(0xe1)===_0xaddbe3),this[_0x45e42d(0xfc)]['if'](_0x45e42d(0xf2),_0x45e42d(0xdc),_0x1f53fe=>_0x45e42d(0xea)===_0x1f53fe)]}}),this['on'](_0x45e42d(0xc2),(_0x17a62a,_0x45692e,_0x3806e3)=>{const _0x2ad907=_0x45e42d;_0x6263e9[_0x2ad907(0xc0)]=_0x2ad907(0xe1)===_0x3806e3,_0x2ad907(0xea)===_0x3806e3&&(_0x6263e9[_0x2ad907(0xd0)]=_0x568947(this[_0x2ad907(0xaf)],_0x2ad907(0xe0)),_0x6263e9[_0x2ad907(0xe9)]=_0x299c12);}),_0x6263e9;}[_0x53462c(0xd5)](){const _0x3451a3=_0x53462c,_0x2750b8=new _0x419134(this[_0x3451a3(0xaf)]);return _0x2750b8[_0x3451a3(0xbf)]({'label':_0x568947(this[_0x3451a3(0xaf)],_0x3451a3(0xf5)),'icon':_0x303981,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x3451a3(0xf3),'class':_0x3451a3(0xca)}),_0x2750b8[_0x3451a3(0xb6)](_0x3451a3(0xc5))['to'](this,_0x3451a3(0xdf),_0x285ee6=>_0x285ee6),_0x2750b8['on'](_0x3451a3(0xb3),()=>{const _0x18fe11=_0x3451a3;this[_0x18fe11(0xdf)]=!this[_0x18fe11(0xdf)];}),_0x2750b8;}[_0x53462c(0xbc)](){const _0x3f5df3=_0x53462c,_0x157f42=new _0x419134(this[_0x3f5df3(0xaf)]);return _0x157f42[_0x3f5df3(0xbf)]({'label':_0x568947(this[_0x3f5df3(0xaf)],_0x3f5df3(0xfe)),'icon':_0x401bfe,'withText':!0x0,'isEnabled':!0x1}),_0x157f42[_0x3f5df3(0xb9)]({'attributes':{'class':[_0x3f5df3(0xae),_0x3f5df3(0xdc),this[_0x3f5df3(0xfc)]['if'](_0x3f5df3(0xf2),_0x3f5df3(0xb7),_0x411dd1=>_0x3f5df3(0xbe)!==_0x411dd1)],'disabled':_0x3f5df3(0xf4)}}),_0x157f42;}}
23
+ const _0x427a29=_0x13bf;(function(_0x58ce58,_0x2b2f3d){const _0x30d800=_0x13bf,_0x394ff9=_0x58ce58();while(!![]){try{const _0x7a02fb=-parseInt(_0x30d800(0x1a9))/0x1*(-parseInt(_0x30d800(0x17c))/0x2)+-parseInt(_0x30d800(0x161))/0x3+-parseInt(_0x30d800(0x164))/0x4*(parseInt(_0x30d800(0x17b))/0x5)+-parseInt(_0x30d800(0x172))/0x6*(-parseInt(_0x30d800(0x173))/0x7)+parseInt(_0x30d800(0x19f))/0x8*(parseInt(_0x30d800(0x192))/0x9)+parseInt(_0x30d800(0x15e))/0xa+parseInt(_0x30d800(0x1a2))/0xb*(-parseInt(_0x30d800(0x176))/0xc);if(_0x7a02fb===_0x2b2f3d)break;else _0x394ff9['push'](_0x394ff9['shift']());}catch(_0x1dc7c4){_0x394ff9['push'](_0x394ff9['shift']());}}}(_0x1045,0xc57ed));function _0x13bf(_0x1d28c7,_0x2dc1d7){const _0x104504=_0x1045();return _0x13bf=function(_0x13bf14,_0xe4334){_0x13bf14=_0x13bf14-0x15b;let _0x4fb989=_0x104504[_0x13bf14];return _0x4fb989;},_0x13bf(_0x1d28c7,_0x2dc1d7);}import{View as _0x39b780,ButtonView as _0x5b5119}from'ckeditor5/src/ui.js';import{IconInfo as _0x4ee8cb,IconCheck as _0x2efb2f,IconCancel as _0x2b2a14,IconOutdated as _0x24c354}from'ckeditor5/src/icons.js';import{getTranslation as _0x109db1}from'../../aicore/utils/common-translations.js';function _0x1045(){const _0x30ee9d=['bindTemplate','tagName','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','status','deactivateChange','ck-ai_review__check-run-result','outdated','1083336sgrMrb','execute','stopPropagation','119779hQYjJX','_createAcceptButtonView','icon','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','_createOutdatedButtonView','AI_REVIEW_MODE_ACCEPT_CHANGE','ck-ai_review__check-run-result-accept-button','3zoWHjq','bind','activateChange','ck-ai-button-secondary','preventDefault','ck-ai_review__check-run-result_active','div','10316270QPiHLE','pending','AI_REVIEW_MODE_DISMISS_CHANGE','3308928gsfnEe','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','ck-ai_review__check-run-result-status-button','20VMRFIL','extendTemplate','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','isEnabled','infoButtonView','set','_createInfoButtonView','ck-reset_all-excluded','isActive','isInfoToggleOn','change:status','setItemAsActive','disabled','ck-ai_review__check-run-result-dismiss-button','85074XpWbvV','721AzAjah','target','isOn','888fkUozB','fire','ck-ai_review__check-run-result-footer','_createDismissButtonView','_createResultResponseView','1092870PYboCf','247060KCveWB','AI_REVIEW_MODE_LEARN_MORE','ck-hidden','resultResponseView','dismissButtonView','mouseover','changeId','click','dismissChange','ck-ai_review__check-run-result-action-buttons','ck-ai_review__check-run-result-response','acceptButtonView','setTemplate','ck-ai-button-tertiary','mouseout','locale','setItemAsInactive','accepted','ck-content','hover','showDiff','outdatedButtonView','63pJkGQl','menuitemcheckbox','panel','rejected','label','acceptChange'];_0x1045=function(){return _0x30ee9d;};return _0x1045();}export class AIReviewCoreReviewCheckListItemResultsView extends _0x39b780{[_0x427a29(0x17f)];[_0x427a29(0x187)];[_0x427a29(0x180)];[_0x427a29(0x168)];[_0x427a29(0x191)];constructor(_0x2cc6d0,_0x29fc58){const _0x5bbe39=_0x427a29;super(_0x2cc6d0),this['id']=_0x29fc58,this[_0x5bbe39(0x169)](_0x5bbe39(0x19b),_0x5bbe39(0x15f)),this[_0x5bbe39(0x169)](_0x5bbe39(0x182),_0x29fc58),this[_0x5bbe39(0x17f)]=this[_0x5bbe39(0x17a)](),this[_0x5bbe39(0x187)]=this[_0x5bbe39(0x1a3)](),this[_0x5bbe39(0x180)]=this[_0x5bbe39(0x179)](),this[_0x5bbe39(0x168)]=this[_0x5bbe39(0x16a)](),this[_0x5bbe39(0x191)]=this[_0x5bbe39(0x1a6)](),this[_0x5bbe39(0x169)](_0x5bbe39(0x16d),!0x1),this[_0x5bbe39(0x169)](_0x5bbe39(0x16c),!0x1),this[_0x5bbe39(0x169)](_0x5bbe39(0x190),!0x0),this[_0x5bbe39(0x188)]({'tag':_0x5bbe39(0x15d),'attributes':{'class':[_0x5bbe39(0x19d),this[_0x5bbe39(0x198)]['if'](_0x5bbe39(0x16c),_0x5bbe39(0x15c))]},'on':{'click':this[_0x5bbe39(0x198)]['to'](_0x5bbe39(0x183)),'mouseover':this[_0x5bbe39(0x198)]['to'](_0x5bbe39(0x181)),'mouseout':this[_0x5bbe39(0x198)]['to'](_0x5bbe39(0x18a))},'children':[this[_0x5bbe39(0x17f)],{'tag':_0x5bbe39(0x15d),'attributes':{'class':[_0x5bbe39(0x178)]},'children':[{'tag':_0x5bbe39(0x15d),'attributes':{'class':[_0x5bbe39(0x185)]},'children':[this[_0x5bbe39(0x187)],this[_0x5bbe39(0x180)],this[_0x5bbe39(0x191)]]},this[_0x5bbe39(0x168)]]}]}),this['on'](_0x5bbe39(0x183),(_0x4bfe64,_0x2dbeb2)=>{const _0x5378b9=_0x5bbe39;_0x2dbeb2&&_0x2dbeb2[_0x5378b9(0x174)]&&'A'===_0x2dbeb2[_0x5378b9(0x174)][_0x5378b9(0x199)]&&_0x2dbeb2[_0x5378b9(0x15b)](),this[_0x5378b9(0x177)](_0x5378b9(0x1ab),{'id':_0x29fc58,'source':this,'uiInteraction':_0x5378b9(0x183)});}),this['on'](_0x5bbe39(0x181),()=>{const _0x48f33c=_0x5bbe39;this[_0x48f33c(0x177)](_0x48f33c(0x1ab),{'id':_0x29fc58,'source':this,'uiInteraction':_0x48f33c(0x18f)});}),this['on'](_0x5bbe39(0x18a),()=>{const _0x515584=_0x5bbe39;this[_0x515584(0x177)](_0x515584(0x19c),{'origin':_0x515584(0x194),'id':_0x29fc58,'source':this});});}[_0x427a29(0x16f)](){const _0x6943c8=_0x427a29;this[_0x6943c8(0x16c)]=!0x0;}[_0x427a29(0x18c)](){const _0x2e3872=_0x427a29;this[_0x2e3872(0x16c)]=!0x1;}[_0x427a29(0x17a)](){const _0x4bbe11=_0x427a29,_0x591f96=new _0x39b780(this[_0x4bbe11(0x18b)]);return _0x591f96[_0x4bbe11(0x188)]({'tag':_0x4bbe11(0x15d),'attributes':{'class':['ck',_0x4bbe11(0x18e),_0x4bbe11(0x16b),_0x4bbe11(0x186),this[_0x4bbe11(0x198)]['if'](_0x4bbe11(0x190),_0x4bbe11(0x17e),_0x136870=>!_0x136870)]}}),_0x591f96;}[_0x427a29(0x1a3)](){const _0x34c6bd=_0x427a29,_0x45cadb=new _0x5b5119(this[_0x34c6bd(0x18b)]);return _0x45cadb[_0x34c6bd(0x169)]({'label':_0x109db1(this[_0x34c6bd(0x18b)],_0x34c6bd(0x1a7)),'withText':!0x0}),_0x45cadb[_0x34c6bd(0x165)]({'on':{'click':this[_0x34c6bd(0x198)]['to'](_0x589d98=>{const _0x55c746=_0x34c6bd;this[_0x55c746(0x177)](_0x55c746(0x197),{'id':this[_0x55c746(0x182)]}),_0x589d98[_0x55c746(0x1a1)]();})},'attributes':{'class':[_0x34c6bd(0x1ac),_0x34c6bd(0x1a8),this[_0x34c6bd(0x198)]['if'](_0x34c6bd(0x19b),_0x34c6bd(0x17e),_0x3f8845=>_0x34c6bd(0x15f)!==_0x3f8845&&_0x34c6bd(0x18d)!==_0x3f8845),this[_0x34c6bd(0x198)]['if'](_0x34c6bd(0x19b),_0x34c6bd(0x1a8),_0x171657=>_0x34c6bd(0x15f)===_0x171657),this[_0x34c6bd(0x198)]['if'](_0x34c6bd(0x19b),_0x34c6bd(0x163),_0x1f89cf=>_0x34c6bd(0x18d)===_0x1f89cf)]}}),this['on'](_0x34c6bd(0x16e),(_0x13c70e,_0x30190f,_0x2e5803)=>{const _0x272555=_0x34c6bd;_0x45cadb[_0x272555(0x167)]=_0x272555(0x15f)===_0x2e5803,_0x272555(0x18d)===_0x2e5803&&(_0x45cadb[_0x272555(0x196)]=_0x109db1(this[_0x272555(0x18b)],_0x272555(0x19a)),_0x45cadb[_0x272555(0x1a4)]=_0x2efb2f);}),_0x45cadb;}[_0x427a29(0x179)](){const _0x351486=_0x427a29,_0x1ea50b=new _0x5b5119(this[_0x351486(0x18b)]);return _0x1ea50b[_0x351486(0x169)]({'label':_0x109db1(this[_0x351486(0x18b)],_0x351486(0x160)),'withText':!0x0}),_0x1ea50b[_0x351486(0x165)]({'on':{'click':this[_0x351486(0x198)]['to'](_0x316f4a=>{const _0x3be104=_0x351486;this[_0x3be104(0x177)](_0x3be104(0x184),{'id':this[_0x3be104(0x182)]}),_0x316f4a[_0x3be104(0x1a1)]();})},'attributes':{'class':[_0x351486(0x189),this[_0x351486(0x198)]['if'](_0x351486(0x19b),_0x351486(0x17e),_0x27ea9d=>_0x351486(0x15f)!==_0x27ea9d&&_0x351486(0x195)!==_0x27ea9d),this[_0x351486(0x198)]['if'](_0x351486(0x19b),_0x351486(0x171),_0x1e1b1f=>_0x351486(0x15f)===_0x1e1b1f),this[_0x351486(0x198)]['if'](_0x351486(0x19b),_0x351486(0x163),_0x386255=>_0x351486(0x195)===_0x386255)]}}),this['on'](_0x351486(0x16e),(_0x1aad0d,_0x16ce5f,_0x394542)=>{const _0x34c518=_0x351486;_0x1ea50b[_0x34c518(0x167)]=_0x34c518(0x15f)===_0x394542,_0x34c518(0x195)===_0x394542&&(_0x1ea50b[_0x34c518(0x196)]=_0x109db1(this[_0x34c518(0x18b)],_0x34c518(0x166)),_0x1ea50b[_0x34c518(0x1a4)]=_0x2b2a14);}),_0x1ea50b;}[_0x427a29(0x16a)](){const _0x9c71a=_0x427a29,_0x1dc1f9=new _0x5b5119(this[_0x9c71a(0x18b)]);return _0x1dc1f9[_0x9c71a(0x169)]({'label':_0x109db1(this[_0x9c71a(0x18b)],_0x9c71a(0x17d)),'icon':_0x4ee8cb,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x9c71a(0x193),'class':_0x9c71a(0x162)}),_0x1dc1f9[_0x9c71a(0x1aa)](_0x9c71a(0x175))['to'](this,_0x9c71a(0x16d),_0x349cd1=>_0x349cd1),_0x1dc1f9['on'](_0x9c71a(0x1a0),()=>{const _0x51b11a=_0x9c71a;this[_0x51b11a(0x16d)]=!this[_0x51b11a(0x16d)];}),_0x1dc1f9;}[_0x427a29(0x1a6)](){const _0x4612e6=_0x427a29,_0x2cc754=new _0x5b5119(this[_0x4612e6(0x18b)]);return _0x2cc754[_0x4612e6(0x169)]({'label':_0x109db1(this[_0x4612e6(0x18b)],_0x4612e6(0x1a5)),'icon':_0x24c354,'withText':!0x0,'isEnabled':!0x1}),_0x2cc754[_0x4612e6(0x165)]({'attributes':{'class':[_0x4612e6(0x1ac),_0x4612e6(0x163),this[_0x4612e6(0x198)]['if'](_0x4612e6(0x19b),_0x4612e6(0x17e),_0x4c4fd7=>_0x4612e6(0x19e)!==_0x4c4fd7)],'disabled':_0x4612e6(0x170)}}),_0x2cc754;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x5f40a1,KeystrokeHandler as _0x31b603,FocusTracker as _0x2df2d4}from'ckeditor5/src/utils.js';import{View as _0xe71736,ViewCollection as _0x54953c,ButtonView as _0x4fa069,FormRowView as _0x14585c,createDropdown as _0x169257,addListToDropdown as _0x35b4ab,UIModel as _0x147170,ButtonLabelView as _0x4b7a10,LabeledFieldView as _0x91d691,FocusCycler as _0xb1f4c8}from'ckeditor5/src/ui.js';import{getTranslation as _0x2762de}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x4bf712}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0xe71736{['focusTracker']=new _0x2df2d4();['keystrokes']=new _0x31b603();['focusCycler'];['_focusables']=new _0x54953c();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x46ad90,_0x365c3d,_0x5c701d=!0x1){super(_0x46ad90),this['_check']=_0x365c3d,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x365c3d['defaultModel']?_0x365c3d['defaultModel']['id']:'',this['_defaultLabel']=_0x365c3d['defaultModel']?_0x365c3d['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x91d691(this['locale'],()=>new _0x4bf712(_0x46ad90)),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 _0x5f40a1(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x5c701d),_0x35b4ab(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x14585c(this['locale'],{'children':[this['promptInputView']]}),new _0x14585c(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x5642e4,_0x108e1e)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x108e1e()):_0x108e1e();}),this['focusCycler']=new _0xb1f4c8({'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'](_0x16689f=>{this['_focusables']['add'](_0x16689f),this['focusTracker']['add'](_0x16689f['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 _0x1fad7e of this['_getFormValidators']()){const _0xe6e9d5=_0x1fad7e();if(_0xe6e9d5)return this['promptInputView']['errorText']=_0xe6e9d5,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x2762de(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x3748b8=new _0x4fa069(this['locale']),t=this['locale']['t'];return _0x3748b8['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3748b8['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x3748b8;}['_createCancelButtonView'](){const _0x3e081b=new _0x4fa069(this['locale']),t=this['locale']['t'];return _0x3e081b['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x3e081b['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3d84ec=>{_0x3d84ec['stopPropagation']();})}}),_0x3e081b['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x3e081b;}['_setModelList'](_0x57f580){this['_modelSelectionDropdownItems']['clear']();const _0x385e5d=this['_check']['models'];if(_0x57f580)this['set']('modelDisplayMode','hidden');else{const _0x2ccb41=0x1===_0x385e5d['length'];this['set']('modelDisplayMode',_0x2ccb41?'name':'selector');}if(this['resetToDefault'](),_0x385e5d?.['length']){0x1===_0x385e5d['length']&&this['set']('activeModelName',_0x385e5d[0x0]['name']||_0x385e5d[0x0]['id']);for(const _0x28c726 of _0x385e5d){const _0x257fca=new _0x147170({'label':_0x28c726['name'],'withText':!0x0,'role':'menuitemradio','id':_0x28c726['id'],'model':_0x28c726});_0x257fca['bind']('isOn')['to'](this,'modelId',_0x4c8e4b=>_0x4c8e4b===_0x28c726['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x257fca,'labelView':new ModelButtonLabelView(this['locale'],_0x28c726)});}}}['_createModelSelectionDropdown'](){const _0x4895e3=_0x169257(this['locale']);return _0x4895e3['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x4895e3['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x4895e3['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x58e30a=>'selector'===_0x58e30a),this['listenTo'](_0x4895e3,'execute',_0x4900aa=>{this['modelId']=_0x4900aa['source']['model']['id'],_0x4895e3['buttonView']['label']=_0x4900aa['source']['label'];}),_0x4895e3;}['_createModelNameView'](){const _0x276fb7=new ModelNameView(this['locale']);return _0x276fb7['bind']('text')['to'](this,'activeModelName',_0x174313=>_0x174313??''),_0x276fb7['bind']('isVisible')['to'](this,'modelDisplayMode',_0x3121d2=>'name'===_0x3121d2),_0x276fb7;}['_createActionsFooterView'](){const _0x3bc52a=new _0xe71736(this['locale']);return _0x3bc52a['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']]}]}),_0x3bc52a;}}class ModelNameView extends _0xe71736{constructor(_0xda2be7){super(_0xda2be7),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x25ccc3=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x25ccc3['if']('isVisible','ck-hidden',_0x65daf9=>!_0x65daf9)]},'children':[{'text':_0x25ccc3['to']('text')}]});}}class ModelButtonLabelView extends _0x4b7a10{constructor(_0x34174e,_0x152918){super();const _0x526de0=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x526de0['to']('style'),'id':_0x526de0['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x526de0['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x152918['description']||'']}]}]});}}
23
+ import{Collection as _0x13205c,KeystrokeHandler as _0x4d61b2,FocusTracker as _0x5ba090}from'ckeditor5/src/utils.js';import{View as _0x7b2a78,ViewCollection as _0x2b3392,ButtonView as _0x21f084,FormRowView as _0x4890d0,createDropdown as _0x27d95d,addListToDropdown as _0x4a4446,UIModel as _0x32e401,ButtonLabelView as _0x2e159c,LabeledFieldView as _0x3f52e4,FocusCycler as _0x1cd7db}from'ckeditor5/src/ui.js';import{getTranslation as _0x27d158}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x34cbbb}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x7b2a78{['focusTracker']=new _0x5ba090();['keystrokes']=new _0x4d61b2();['focusCycler'];['_focusables']=new _0x2b3392();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x5bf87a,_0x2cb4f2,_0x39f10a=!0x1){super(_0x5bf87a),this['_check']=_0x2cb4f2,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x2cb4f2['defaultModel']?_0x2cb4f2['defaultModel']['id']:'',this['_defaultLabel']=_0x2cb4f2['defaultModel']?_0x2cb4f2['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x3f52e4(this['locale'],()=>new _0x34cbbb(_0x5bf87a)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x13205c(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x39f10a),_0x4a4446(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x4890d0(this['locale'],{'children':[this['promptInputView']]}),new _0x4890d0(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x296550,_0x2691e7)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x2691e7()):_0x2691e7();}),this['focusCycler']=new _0x1cd7db({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0xc72950=>{this['_focusables']['add'](_0xc72950),this['focusTracker']['add'](_0xc72950['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x23cdfb of this['_getFormValidators']()){const _0x131c78=_0x23cdfb();if(_0x131c78)return this['promptInputView']['errorText']=_0x131c78,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x27d158(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x2cf418=new _0x21f084(this['locale']),t=this['locale']['t'];return _0x2cf418['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x2cf418['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x2cf418;}['_createCancelButtonView'](){const _0x53399c=new _0x21f084(this['locale']),t=this['locale']['t'];return _0x53399c['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x53399c['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x158c09=>{_0x158c09['stopPropagation']();})}}),_0x53399c['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x53399c;}['_setModelList'](_0x3e8962){this['_modelSelectionDropdownItems']['clear']();const _0x1af6ef=this['_check']['models'];if(_0x3e8962)this['set']('modelDisplayMode','hidden');else{const _0x22f6ff=0x1===_0x1af6ef['length'];this['set']('modelDisplayMode',_0x22f6ff?'name':'selector');}if(this['resetToDefault'](),_0x1af6ef?.['length']){0x1===_0x1af6ef['length']&&this['set']('activeModelName',_0x1af6ef[0x0]['name']||_0x1af6ef[0x0]['id']);for(const _0x25b0c8 of _0x1af6ef){const _0x54d8d7=new _0x32e401({'label':_0x25b0c8['name'],'withText':!0x0,'role':'menuitemradio','id':_0x25b0c8['id'],'model':_0x25b0c8});_0x54d8d7['bind']('isOn')['to'](this,'modelId',_0x506ae1=>_0x506ae1===_0x25b0c8['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x54d8d7,'labelView':new ModelButtonLabelView(this['locale'],_0x25b0c8)});}}}['_createModelSelectionDropdown'](){const _0x4f23c6=_0x27d95d(this['locale']);return _0x4f23c6['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x4f23c6['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x4f23c6['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x188f13=>'selector'===_0x188f13),this['listenTo'](_0x4f23c6,'execute',_0x2d5dc9=>{this['modelId']=_0x2d5dc9['source']['model']['id'],_0x4f23c6['buttonView']['label']=_0x2d5dc9['source']['label'];}),_0x4f23c6;}['_createModelNameView'](){const _0xc4a7cd=new ModelNameView(this['locale']);return _0xc4a7cd['bind']('text')['to'](this,'activeModelName',_0x459fcc=>_0x459fcc??''),_0xc4a7cd['bind']('isVisible')['to'](this,'modelDisplayMode',_0x5f02f2=>'name'===_0x5f02f2),_0xc4a7cd;}['_createActionsFooterView'](){const _0x4f7bb8=new _0x7b2a78(this['locale']);return _0x4f7bb8['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x4f7bb8;}}class ModelNameView extends _0x7b2a78{constructor(_0x42e3fe){super(_0x42e3fe),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x5d2c5d=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x5d2c5d['if']('isVisible','ck-hidden',_0x29f1d2=>!_0x29f1d2)]},'children':[{'text':_0x5d2c5d['to']('text')}]});}}class ModelButtonLabelView extends _0x2e159c{constructor(_0x49e261,_0x596b38){super();const _0x2f8bfb=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x2f8bfb['to']('style'),'id':_0x2f8bfb['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x2f8bfb['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x596b38['description']||'']}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1197(_0xe96f8d,_0x312932){var _0x74774b=_0x7477();return _0x1197=function(_0x1197b0,_0x51442e){_0x1197b0=_0x1197b0-0x7a;var _0x39bb8c=_0x74774b[_0x1197b0];return _0x39bb8c;},_0x1197(_0xe96f8d,_0x312932);}(function(_0x322f70,_0x149d4f){var _0x32a5e9=_0x1197,_0x135cb8=_0x322f70();while(!![]){try{var _0x55f3ae=-parseInt(_0x32a5e9(0x7c))/0x1+parseInt(_0x32a5e9(0x7e))/0x2+-parseInt(_0x32a5e9(0x81))/0x3*(-parseInt(_0x32a5e9(0x84))/0x4)+-parseInt(_0x32a5e9(0x85))/0x5*(parseInt(_0x32a5e9(0x7d))/0x6)+-parseInt(_0x32a5e9(0x82))/0x7+parseInt(_0x32a5e9(0x7a))/0x8+parseInt(_0x32a5e9(0x7b))/0x9;if(_0x55f3ae===_0x149d4f)break;else _0x135cb8['push'](_0x135cb8['shift']());}catch(_0x1d5991){_0x135cb8['push'](_0x135cb8['shift']());}}}(_0x7477,0xc4ab0));function _0x7477(){var _0x5120af=['1662sBIeuv','616182dVRBwD','ck-ai-button-primary','execute','18066wnuUBO','8886017aNWmCg','set','792EiqIUK','18365cYqeaS','finishReview','fire','7813392VouqZG','15616782SHAnbv','1119915FEyIgB'];_0x7477=function(){return _0x5120af;};return _0x7477();}import{ButtonView as _0x77179b}from'ckeditor5/src/ui.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x77179b{constructor(_0x5f1dd3,_0xb55389){var _0x4e2aa1=_0x1197;super(_0xb55389),this[_0x4e2aa1(0x83)]({'label':_0x5f1dd3,'withText':!0x0,'class':_0x4e2aa1(0x7f)}),this['on'](_0x4e2aa1(0x80),()=>{var _0x5f5d82=_0x4e2aa1;this[_0x5f5d82(0x87)](_0x5f5d82(0x86));});}}
23
+ (function(_0x191f1a,_0x2f0dfa){var _0x47cb36=_0x3790,_0x5c3cfe=_0x191f1a();while(!![]){try{var _0x1aefb8=parseInt(_0x47cb36(0x121))/0x1*(-parseInt(_0x47cb36(0x11f))/0x2)+parseInt(_0x47cb36(0x124))/0x3*(-parseInt(_0x47cb36(0x120))/0x4)+-parseInt(_0x47cb36(0x127))/0x5+-parseInt(_0x47cb36(0x123))/0x6*(-parseInt(_0x47cb36(0x125))/0x7)+parseInt(_0x47cb36(0x12a))/0x8*(-parseInt(_0x47cb36(0x128))/0x9)+-parseInt(_0x47cb36(0x129))/0xa+parseInt(_0x47cb36(0x12c))/0xb;if(_0x1aefb8===_0x2f0dfa)break;else _0x5c3cfe['push'](_0x5c3cfe['shift']());}catch(_0x35dbbb){_0x5c3cfe['push'](_0x5c3cfe['shift']());}}}(_0xe76e,0x3575b));function _0xe76e(){var _0x256394=['set','execute','33234nqbMli','195716Vlaclq','9IOSWYK','ck-ai-button-primary','42tcskzZ','15MVJQzu','208187dBrkkb','fire','1623450gTcdFo','333MiMrgv','2331630lDvWNl','56392Ijvfro','finishReview','13460128MqbJyB'];_0xe76e=function(){return _0x256394;};return _0xe76e();}import{ButtonView as _0x2b488c}from'ckeditor5/src/ui.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0x3790(_0x503b93,_0x7455dc){var _0xe76e0a=_0xe76e();return _0x3790=function(_0x379021,_0x31a44b){_0x379021=_0x379021-0x11d;var _0x270614=_0xe76e0a[_0x379021];return _0x270614;},_0x3790(_0x503b93,_0x7455dc);}export class AIReviewCoreFinishReviewButtonView extends _0x2b488c{constructor(_0x1806ca,_0x5e19fb){var _0x37125b=_0x3790;super(_0x5e19fb),this[_0x37125b(0x11d)]({'label':_0x1806ca,'withText':!0x0,'class':_0x37125b(0x122)}),this['on'](_0x37125b(0x11e),()=>{var _0x546cf8=_0x37125b;this[_0x546cf8(0x126)](_0x546cf8(0x12b));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4440(){const _0x275ff3=['701757sGMeEv','10mHMvCv','8RMltiX','div','2582703pJtZdz','71490XZOQzt','ck-hidden','ck\x20ck-ai-notification\x20ck-ai-notification_error','set','bindTemplate','25XHIaBa','719040aMFpHu','ck-ai_review__general-error-container','errorMessage','isVisible','26834fUgUtH','1398420vwNcqB','setTemplate','79541zlPobB'];_0x4440=function(){return _0x275ff3;};return _0x4440();}(function(_0x44a8d6,_0x138347){const _0x2555d9=_0xbea4,_0x4b5366=_0x44a8d6();while(!![]){try{const _0x2891d5=-parseInt(_0x2555d9(0xef))/0x1*(parseInt(_0x2555d9(0xf4))/0x2)+-parseInt(_0x2555d9(0xf8))/0x3+parseInt(_0x2555d9(0xf0))/0x4+parseInt(_0x2555d9(0xf5))/0x5+parseInt(_0x2555d9(0xfd))/0x6+parseInt(_0x2555d9(0xf7))/0x7*(-parseInt(_0x2555d9(0xfa))/0x8)+parseInt(_0x2555d9(0xfc))/0x9*(parseInt(_0x2555d9(0xf9))/0xa);if(_0x2891d5===_0x138347)break;else _0x4b5366['push'](_0x4b5366['shift']());}catch(_0x1d3d3d){_0x4b5366['push'](_0x4b5366['shift']());}}}(_0x4440,0x2b5d3));import{View as _0x24a0d5}from'ckeditor5/src/ui.js';function _0xbea4(_0x1fab7a,_0x4179ca){const _0x444026=_0x4440();return _0xbea4=function(_0xbea44b,_0x44ddd5){_0xbea44b=_0xbea44b-0xee;let _0x5755c6=_0x444026[_0xbea44b];return _0x5755c6;},_0xbea4(_0x1fab7a,_0x4179ca);}export class AIReviewCoreGeneralErrorView extends _0x24a0d5{constructor(_0x2f2bf7){const _0x242ba1=_0xbea4;super(_0x2f2bf7),this[_0x242ba1(0x100)](_0x242ba1(0xf3),!0x1),this[_0x242ba1(0x100)](_0x242ba1(0xf2),'');const _0x2b0885=this[_0x242ba1(0xee)];this[_0x242ba1(0xf6)]({'tag':_0x242ba1(0xfb),'attributes':{'class':['ck',_0x242ba1(0xf1),_0x2b0885['if'](_0x242ba1(0xf3),_0x242ba1(0xfe),_0x524637=>!_0x524637)]},'children':[{'tag':'p','attributes':{'class':_0x242ba1(0xff)},'children':[{'text':_0x2b0885['to'](_0x242ba1(0xf2))}]}]});}}
23
+ function _0x2cbd(_0xd08229,_0x2fddbb){const _0x4847c6=_0x4847();return _0x2cbd=function(_0x2cbd0b,_0xa4faa3){_0x2cbd0b=_0x2cbd0b-0xa0;let _0x3d5410=_0x4847c6[_0x2cbd0b];return _0x3d5410;},_0x2cbd(_0xd08229,_0x2fddbb);}function _0x4847(){const _0x5c1074=['1183220ZSAYqM','ck\x20ck-ai-notification\x20ck-ai-notification_error','36MoiAMg','11680770hlibkH','ck-hidden','isVisible','9741340ASWnLz','set','ck-ai_review__general-error-container','9FAGrmo','errorMessage','935681gSzibZ','3005928PWuKhZ','setTemplate','15pbkWOU','4525132KNaZAY','bindTemplate','div','606052rLsSIY'];_0x4847=function(){return _0x5c1074;};return _0x4847();}(function(_0x548368,_0x1016c0){const _0x3e425b=_0x2cbd,_0x52182e=_0x548368();while(!![]){try{const _0xfe2de2=-parseInt(_0x3e425b(0xa2))/0x1+-parseInt(_0x3e425b(0xa9))/0x2*(-parseInt(_0x3e425b(0xa5))/0x3)+-parseInt(_0x3e425b(0xa6))/0x4+-parseInt(_0x3e425b(0xaa))/0x5*(parseInt(_0x3e425b(0xac))/0x6)+parseInt(_0x3e425b(0xb0))/0x7+-parseInt(_0x3e425b(0xa3))/0x8*(-parseInt(_0x3e425b(0xa0))/0x9)+parseInt(_0x3e425b(0xad))/0xa;if(_0xfe2de2===_0x1016c0)break;else _0x52182e['push'](_0x52182e['shift']());}catch(_0x54864c){_0x52182e['push'](_0x52182e['shift']());}}}(_0x4847,0xeb49c));import{View as _0x20d282}from'ckeditor5/src/ui.js';export class AIReviewCoreGeneralErrorView extends _0x20d282{constructor(_0x31f81b){const _0x966cd5=_0x2cbd;super(_0x31f81b),this[_0x966cd5(0xb1)](_0x966cd5(0xaf),!0x1),this[_0x966cd5(0xb1)](_0x966cd5(0xa1),'');const _0x359d46=this[_0x966cd5(0xa7)];this[_0x966cd5(0xa4)]({'tag':_0x966cd5(0xa8),'attributes':{'class':['ck',_0x966cd5(0xb2),_0x359d46['if'](_0x966cd5(0xaf),_0x966cd5(0xae),_0xb96c81=>!_0xb96c81)]},'children':[{'tag':'p','attributes':{'class':_0x966cd5(0xab)},'children':[{'text':_0x359d46['to'](_0x966cd5(0xa1))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4924(){var _0x181940=['set','maxRows','1297980daKAZJ','ck-review__prompt-input','1383220zIkEEl','3550812vrNBfh','listenTo','isEmpty','MIN_ROWS','trim','minRows','ai-review-prompt-input','update','7fjjLab','extendTemplate','207317iWekWv','keystrokes','3111328tNjREI','1361440mTaxZe','367284RmzABW','MAX_ROWS','value','render','element'];_0x4924=function(){return _0x181940;};return _0x4924();}var _0x279f5a=_0x4d6e;(function(_0x69d8b,_0x2bdf0b){var _0x17654a=_0x4d6e,_0x190c86=_0x69d8b();while(!![]){try{var _0x200769=parseInt(_0x17654a(0x170))/0x1+parseInt(_0x17654a(0x165))/0x2+parseInt(_0x17654a(0x15c))/0x3+-parseInt(_0x17654a(0x166))/0x4+parseInt(_0x17654a(0x173))/0x5+-parseInt(_0x17654a(0x163))/0x6*(parseInt(_0x17654a(0x16e))/0x7)+parseInt(_0x17654a(0x172))/0x8;if(_0x200769===_0x2bdf0b)break;else _0x190c86['push'](_0x190c86['shift']());}catch(_0x2d9c39){_0x190c86['push'](_0x190c86['shift']());}}}(_0x4924,0x8d3de));import{TextareaView as _0x4cffcf}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0xde36ed}from'ckeditor5/src/utils.js';function _0x4d6e(_0x4c4aab,_0x318dbe){var _0x492437=_0x4924();return _0x4d6e=function(_0x4d6e5b,_0x3e83d0){_0x4d6e5b=_0x4d6e5b-0x15c;var _0x5edb33=_0x492437[_0x4d6e5b];return _0x5edb33;},_0x4d6e(_0x4c4aab,_0x318dbe);}export class AIReviewCorePromptInputView extends _0x4cffcf{[_0x279f5a(0x171)];static [_0x279f5a(0x169)]=0x1;static [_0x279f5a(0x15d)]=0xc;constructor(_0x52be99){var _0x4b7246=_0x279f5a;super(_0x52be99),this[_0x4b7246(0x161)](_0x4b7246(0x168),!0x0),this[_0x4b7246(0x171)]=new _0xde36ed(),this[_0x4b7246(0x16b)]=AIReviewCorePromptInputView[_0x4b7246(0x169)],this[_0x4b7246(0x162)]=AIReviewCorePromptInputView[_0x4b7246(0x15d)],this[_0x4b7246(0x16f)]({'attributes':{'id':_0x4b7246(0x16c),'class':['ck',_0x4b7246(0x164)]}});}[_0x279f5a(0x15f)](){var _0x5f10a3=_0x279f5a;super[_0x5f10a3(0x15f)](),this['on'](_0x5f10a3(0x16d),()=>{var _0x4d7a60=_0x5f10a3;this[_0x4d7a60(0x168)]=''===this[_0x4d7a60(0x160)][_0x4d7a60(0x15e)]?.[_0x4d7a60(0x16a)]();}),this[_0x5f10a3(0x171)][_0x5f10a3(0x167)](this[_0x5f10a3(0x160)]);}}
23
+ var _0x5a9bc1=_0x4fce;function _0x4fce(_0x5000b2,_0x48b4a8){var _0x40ff2e=_0x40ff();return _0x4fce=function(_0x4fcecb,_0x1a70a0){_0x4fcecb=_0x4fcecb-0x1b6;var _0x1fcba2=_0x40ff2e[_0x4fcecb];return _0x1fcba2;},_0x4fce(_0x5000b2,_0x48b4a8);}(function(_0x28130f,_0x3ba2bb){var _0x2b958c=_0x4fce,_0x5759af=_0x28130f();while(!![]){try{var _0xbef558=parseInt(_0x2b958c(0x1cb))/0x1*(parseInt(_0x2b958c(0x1c4))/0x2)+-parseInt(_0x2b958c(0x1c1))/0x3+parseInt(_0x2b958c(0x1c5))/0x4+parseInt(_0x2b958c(0x1c9))/0x5*(-parseInt(_0x2b958c(0x1cd))/0x6)+-parseInt(_0x2b958c(0x1b7))/0x7*(parseInt(_0x2b958c(0x1c0))/0x8)+-parseInt(_0x2b958c(0x1ce))/0x9+parseInt(_0x2b958c(0x1bb))/0xa;if(_0xbef558===_0x3ba2bb)break;else _0x5759af['push'](_0x5759af['shift']());}catch(_0x250f7f){_0x5759af['push'](_0x5759af['shift']());}}}(_0x40ff,0xe3eb2));import{TextareaView as _0x5383c6}from'ckeditor5/src/ui.js';function _0x40ff(){var _0xc80d07=['isEmpty','value','element','539816jNnbAO','5002467VOxyTX','trim','minRows','925836TagdHA','2940984GwjWVo','MIN_ROWS','ck-review__prompt-input','render','8371315FnfjvY','keystrokes','3GowPHN','update','6QcjRIM','11420784uxgdwP','MAX_ROWS','extendTemplate','119qxsuJq','maxRows','ai-review-prompt-input','listenTo','45673910NmdUpZ','set'];_0x40ff=function(){return _0xc80d07;};return _0x40ff();}import{KeystrokeHandler as _0x4712a8}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x5383c6{[_0x5a9bc1(0x1ca)];static [_0x5a9bc1(0x1c6)]=0x1;static [_0x5a9bc1(0x1cf)]=0xc;constructor(_0x14d131){var _0x55933d=_0x5a9bc1;super(_0x14d131),this[_0x55933d(0x1bc)](_0x55933d(0x1bd),!0x0),this[_0x55933d(0x1ca)]=new _0x4712a8(),this[_0x55933d(0x1c3)]=AIReviewCorePromptInputView[_0x55933d(0x1c6)],this[_0x55933d(0x1b8)]=AIReviewCorePromptInputView[_0x55933d(0x1cf)],this[_0x55933d(0x1b6)]({'attributes':{'id':_0x55933d(0x1b9),'class':['ck',_0x55933d(0x1c7)]}});}[_0x5a9bc1(0x1c8)](){var _0x22c09e=_0x5a9bc1;super[_0x22c09e(0x1c8)](),this['on'](_0x22c09e(0x1cc),()=>{var _0x250ecb=_0x22c09e;this[_0x250ecb(0x1bd)]=''===this[_0x250ecb(0x1bf)][_0x250ecb(0x1be)]?.[_0x250ecb(0x1c2)]();}),this[_0x22c09e(0x1ca)][_0x22c09e(0x1ba)](this[_0x22c09e(0x1bf)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x486607=_0x1fd8;(function(_0x410fed,_0x32402a){const _0x31dfd1=_0x1fd8,_0x3c8312=_0x410fed();while(!![]){try{const _0x896fa7=parseInt(_0x31dfd1(0x122))/0x1+parseInt(_0x31dfd1(0x117))/0x2*(-parseInt(_0x31dfd1(0x10b))/0x3)+parseInt(_0x31dfd1(0x10f))/0x4+-parseInt(_0x31dfd1(0x108))/0x5+-parseInt(_0x31dfd1(0x11e))/0x6+-parseInt(_0x31dfd1(0x10d))/0x7*(parseInt(_0x31dfd1(0x107))/0x8)+-parseInt(_0x31dfd1(0x110))/0x9*(-parseInt(_0x31dfd1(0x10c))/0xa);if(_0x896fa7===_0x32402a)break;else _0x3c8312['push'](_0x3c8312['shift']());}catch(_0x46ec83){_0x3c8312['push'](_0x3c8312['shift']());}}}(_0x1e1e,0x23d38));import{ListItemView as _0x41fb59,ViewCollection as _0x4ee49a}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x2d0de6}from'./aireviewcorereviewcommandlistitemview.js';function _0x1e1e(){const _0x2f1638=['runReviewCheck','ck-ai_review__check-list','bindTemplate','126816DuyvMK','div','setTemplate','entries','length','resetToDefault','resetAllParameterizedChecks','439848MIeRwc','hasChecks','setChecks','ck-hidden','98606YkrSSs','add','230104OAaPfU','519055pRmBSe','isVisible','clear','9XwJaXg','10DhYpKg','35TJQGUv','delegate','615560qLgYuf','3648654LuFWiH','_checkViews','locale','_setupTemplate'];_0x1e1e=function(){return _0x2f1638;};return _0x1e1e();}import'../../../theme/aireviewcore/aireviewcore-check-list.css';function _0x1fd8(_0x35265f,_0x30b035){const _0x1e1e43=_0x1e1e();return _0x1fd8=function(_0x1fd8ee,_0xd13bb9){_0x1fd8ee=_0x1fd8ee-0x106;let _0x2867dc=_0x1e1e43[_0x1fd8ee];return _0x2867dc;},_0x1fd8(_0x35265f,_0x30b035);}export class AIReviewCoreReviewCheckListView extends _0x41fb59{[_0x486607(0x111)];constructor(_0x2b10f8){const _0x1644b0=_0x486607;super(_0x2b10f8),this[_0x1644b0(0x111)]=new _0x4ee49a(),this[_0x1644b0(0x113)]();}[_0x486607(0x120)](_0x1adb67,_0x28c598=!0x1){const _0x79cdd8=_0x486607;this[_0x79cdd8(0x111)][_0x79cdd8(0x10a)]();for(const [_0x441f5b,_0x1397ab]of _0x1adb67[_0x79cdd8(0x11a)]()){const _0x26f31b=new _0x2d0de6(this[_0x79cdd8(0x112)],_0x1397ab,_0x441f5b,_0x28c598);_0x26f31b[_0x79cdd8(0x10e)](_0x79cdd8(0x114))['to'](this),this[_0x79cdd8(0x111)][_0x79cdd8(0x106)](_0x26f31b);}}[_0x486607(0x11f)](){const _0x135734=_0x486607;return this[_0x135734(0x111)][_0x135734(0x11b)]>0x0;}[_0x486607(0x11d)](){const _0x42c0ab=_0x486607;for(const _0x381cca of this[_0x42c0ab(0x111)])_0x381cca instanceof _0x2d0de6&&_0x381cca[_0x42c0ab(0x11c)]();}[_0x486607(0x113)](){const _0x4d2be3=_0x486607,_0x1e418f=this[_0x4d2be3(0x116)];this[_0x4d2be3(0x119)]({'tag':_0x4d2be3(0x118),'attributes':{'class':[_0x4d2be3(0x115),_0x1e418f['if'](_0x4d2be3(0x109),_0x4d2be3(0x121),_0x1b833a=>!_0x1b833a)]},'children':this[_0x4d2be3(0x111)]});}}
23
+ function _0x5327(){const _0x4b857d=['_setupTemplate','locale','resetAllParameterizedChecks','setTemplate','entries','12EIrTAx','365390cJxyro','delegate','_checkViews','length','resetToDefault','hasChecks','45xjkUir','div','4575gdkXrz','isVisible','80584gxMMdn','72stdVgE','setChecks','ck-hidden','8688npkQHq','ck-ai_review__check-list','runReviewCheck','821916QCnFGF','229919mdaHHI','add','1386dppeQJ','clear','bindTemplate','42zboUqb','9636077PjvkQb'];_0x5327=function(){return _0x4b857d;};return _0x5327();}const _0x379f4f=_0x1126;(function(_0x5f7770,_0x4a6e7){const _0x53c515=_0x1126,_0x4e5e9=_0x5f7770();while(!![]){try{const _0x554499=parseInt(_0x53c515(0x1ca))/0x1+parseInt(_0x53c515(0x1c3))/0x2*(parseInt(_0x53c515(0x1c6))/0x3)+parseInt(_0x53c515(0x1c9))/0x4+parseInt(_0x53c515(0x1c0))/0x5*(parseInt(_0x53c515(0x1cc))/0x6)+-parseInt(_0x53c515(0x1b0))/0x7*(-parseInt(_0x53c515(0x1c2))/0x8)+parseInt(_0x53c515(0x1be))/0x9*(parseInt(_0x53c515(0x1b8))/0xa)+-parseInt(_0x53c515(0x1b1))/0xb*(parseInt(_0x53c515(0x1b7))/0xc);if(_0x554499===_0x4a6e7)break;else _0x4e5e9['push'](_0x4e5e9['shift']());}catch(_0x4ec666){_0x4e5e9['push'](_0x4e5e9['shift']());}}}(_0x5327,0x1cd81));function _0x1126(_0x4943a4,_0x2d16d8){const _0x5327ca=_0x5327();return _0x1126=function(_0x1126e4,_0x3d982f){_0x1126e4=_0x1126e4-0x1af;let _0x24436b=_0x5327ca[_0x1126e4];return _0x24436b;},_0x1126(_0x4943a4,_0x2d16d8);}import{ListItemView as _0x13263f,ViewCollection as _0x39fdaf}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x2cd6eb}from'./aireviewcorereviewcommandlistitemview.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x13263f{[_0x379f4f(0x1ba)];constructor(_0x4e1557){const _0x3bb721=_0x379f4f;super(_0x4e1557),this[_0x3bb721(0x1ba)]=new _0x39fdaf(),this[_0x3bb721(0x1b2)]();}[_0x379f4f(0x1c4)](_0x211c1e,_0xa1ea06=!0x1){const _0x50f6c6=_0x379f4f;this[_0x50f6c6(0x1ba)][_0x50f6c6(0x1cd)]();for(const [_0x2546e7,_0x4b3bb7]of _0x211c1e[_0x50f6c6(0x1b6)]()){const _0x4347a7=new _0x2cd6eb(this[_0x50f6c6(0x1b3)],_0x4b3bb7,_0x2546e7,_0xa1ea06);_0x4347a7[_0x50f6c6(0x1b9)](_0x50f6c6(0x1c8))['to'](this),this[_0x50f6c6(0x1ba)][_0x50f6c6(0x1cb)](_0x4347a7);}}[_0x379f4f(0x1bd)](){const _0x1a4a28=_0x379f4f;return this[_0x1a4a28(0x1ba)][_0x1a4a28(0x1bb)]>0x0;}[_0x379f4f(0x1b4)](){const _0x592404=_0x379f4f;for(const _0x58f427 of this[_0x592404(0x1ba)])_0x58f427 instanceof _0x2cd6eb&&_0x58f427[_0x592404(0x1bc)]();}[_0x379f4f(0x1b2)](){const _0xa2dc07=_0x379f4f,_0x32f20e=this[_0xa2dc07(0x1af)];this[_0xa2dc07(0x1b5)]({'tag':_0xa2dc07(0x1bf),'attributes':{'class':[_0xa2dc07(0x1c7),_0x32f20e['if'](_0xa2dc07(0x1c1),_0xa2dc07(0x1c5),_0x497475=>!_0x497475)]},'children':this[_0xa2dc07(0x1ba)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0xe77087,IconView as _0x1172b3,View as _0x370b4f,ViewCollection as _0x4b6966,ButtonView as _0x3b95e8,clickOutsideHandler as _0x57b5ac}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x41b19f}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as tc}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x5b620a}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0xe77087{['_formItemsCollection']=new _0x4b6966();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x586483,_0x1a4215,_0x41c8a2,_0x241b61=!0x1){super(_0x586483),this['_hideModels']=_0x241b61,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x1a4215['isParameterized']);const _0x53808f=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',_0x1ba9ae=>_0x1ba9ae),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x39bc2c=>_0x39bc2c)],'style':{'--ck-ai-review-check-list-item-index':_0x41c8a2}},'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':_0x1a4215['title']}]},_0x53808f]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x1a4215['description']?[{'text':_0x1a4215['description']}]:[]}]}]},..._0x1a4215['isParameterized']?[this['_createParameterizedView'](_0x1a4215)]:[],...'custom'===_0x1a4215['id']?[this['_createCustomView'](_0x1a4215,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x1a4215['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x1a4215['id'],'args':_0x1a4215['useArgs']?_0x1a4215['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x57b5ac({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x3aa62c=>{_0x3aa62c['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0xd14005=new _0x1172b3();return _0xd14005['content']=_0x41b19f,_0xd14005['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0xd14005;}['_createParameterizedView'](_0x5c257e){const _0x41c95e=new _0x370b4f(),_0x25bcb0=this['_createFormView'](_0x5c257e);return _0x41c95e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x55b404=>!_0x55b404)]},'children':[_0x25bcb0]}),_0x41c95e;}['_createFormView'](_0x4af2e0){const _0x4c1bec=new _0x370b4f(),_0xdfea58=Array['isArray'](_0x4af2e0['options'])?_0x4af2e0['options']:[],_0x22df25=new _0x3b95e8(this['locale']),t=this['locale']['t'];_0x22df25['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x22df25['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x35990a=>{_0x35990a['stopPropagation']();})}}),_0x22df25['on']('execute',()=>{const _0x43122d=[],_0x58ea05={};this['_formItemsCollection']['forEach'](_0x5197bc=>{_0x43122d['push'](_0x5197bc['value']),_0x4af2e0['useArgs']&&_0x4af2e0['options']&&(_0x58ea05[_0x5197bc['argsKey']]=_0x5197bc['value']);}),this['fire']('runReviewCheck',{'id':_0x4af2e0['id'],'params':_0x43122d['length']?_0x43122d:void 0x0,'args':Object['keys'](_0x58ea05)['length']?_0x58ea05:void 0x0});});const _0x440742=_0xdfea58['length'];return _0xdfea58['forEach']((_0x48268e,_0x40d050)=>{const _0x29aec7=_0x40d050===_0x440742-0x1;this['_formItemsCollection']['add'](new tc(this['locale'],_0x48268e,_0x29aec7?_0x22df25:null));}),_0x4c1bec['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x4c1bec;}['_createCustomView'](_0x200984,_0x340728=!0x1){return this['_customCheckView']=new _0x5b620a(this['locale'],_0x200984,_0x340728),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',_0xe7130e=>!_0xe7130e)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x752072,_0x5d7427,_0x1f5ca1)=>{_0x1f5ca1||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
23
+ import{ListItemView as _0x8fa200,IconView as _0x2e06c1,View as _0x262ef9,ViewCollection as _0x196bab,ButtonView as _0x521c45,clickOutsideHandler as _0x52e05b}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x4d7dd2}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as tc}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x16ea41}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x8fa200{['_formItemsCollection']=new _0x196bab();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x2a7a36,_0x21f933,_0x4aacf7,_0x133319=!0x1){super(_0x2a7a36),this['_hideModels']=_0x133319,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x21f933['isParameterized']);const _0x5596bf=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai_review__check-list-item_selected',_0x129253=>_0x129253),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x15f459=>_0x15f459)],'style':{'--ck-ai-review-check-list-item-index':_0x4aacf7}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-list-item-title-text']},'children':[{'text':_0x21f933['title']}]},_0x5596bf]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x21f933['description']?[{'text':_0x21f933['description']}]:[]}]}]},..._0x21f933['isParameterized']?[this['_createParameterizedView'](_0x21f933)]:[],...'custom'===_0x21f933['id']?[this['_createCustomView'](_0x21f933,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x21f933['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x21f933['id'],'args':_0x21f933['useArgs']?_0x21f933['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x52e05b({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x2bba52=>{_0x2bba52['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x147c16=new _0x2e06c1();return _0x147c16['content']=_0x4d7dd2,_0x147c16['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x147c16;}['_createParameterizedView'](_0x51b45a){const _0x446476=new _0x262ef9(),_0x1211ab=this['_createFormView'](_0x51b45a);return _0x446476['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x52a969=>!_0x52a969)]},'children':[_0x1211ab]}),_0x446476;}['_createFormView'](_0x218223){const _0x402d41=new _0x262ef9(),_0x4ff4c6=Array['isArray'](_0x218223['options'])?_0x218223['options']:[],_0x364ce6=new _0x521c45(this['locale']),t=this['locale']['t'];_0x364ce6['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x364ce6['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4c4d73=>{_0x4c4d73['stopPropagation']();})}}),_0x364ce6['on']('execute',()=>{const _0x13faa6=[],_0x6c3a0f={};this['_formItemsCollection']['forEach'](_0xfd8523=>{_0x13faa6['push'](_0xfd8523['value']),_0x218223['useArgs']&&_0x218223['options']&&(_0x6c3a0f[_0xfd8523['argsKey']]=_0xfd8523['value']);}),this['fire']('runReviewCheck',{'id':_0x218223['id'],'params':_0x13faa6['length']?_0x13faa6:void 0x0,'args':Object['keys'](_0x6c3a0f)['length']?_0x6c3a0f:void 0x0});});const _0xcba7cd=_0x4ff4c6['length'];return _0x4ff4c6['forEach']((_0x20439d,_0x5a58f4)=>{const _0x16ca2f=_0x5a58f4===_0xcba7cd-0x1;this['_formItemsCollection']['add'](new tc(this['locale'],_0x20439d,_0x16ca2f?_0x364ce6:null));}),_0x402d41['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x402d41;}['_createCustomView'](_0x12960c,_0x115581=!0x1){return this['_customCheckView']=new _0x16ea41(this['locale'],_0x12960c,_0x115581),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-parameterized','ck-ai_review__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x54fc5e=>!_0x54fc5e)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x5429cd,_0x2af590,_0x3974c1)=>{_0x3974c1||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e1c42=_0x4296;(function(_0x429154,_0x69e82c){const _0xeb3991=_0x4296,_0x74c708=_0x429154();while(!![]){try{const _0x210d30=parseInt(_0xeb3991(0x1a9))/0x1+-parseInt(_0xeb3991(0x19d))/0x2*(-parseInt(_0xeb3991(0x18c))/0x3)+-parseInt(_0xeb3991(0x1a1))/0x4*(-parseInt(_0xeb3991(0x194))/0x5)+-parseInt(_0xeb3991(0x1a3))/0x6+parseInt(_0xeb3991(0x1a5))/0x7+parseInt(_0xeb3991(0x1aa))/0x8*(parseInt(_0xeb3991(0x19f))/0x9)+parseInt(_0xeb3991(0x19c))/0xa*(-parseInt(_0xeb3991(0x1a2))/0xb);if(_0x210d30===_0x69e82c)break;else _0x74c708['push'](_0x74c708['shift']());}catch(_0x5607c7){_0x74c708['push'](_0x74c708['shift']());}}}(_0x26c2,0x221f8));function _0x4296(_0x50a6ac,_0x393230){const _0x26c272=_0x26c2();return _0x4296=function(_0x4296dc,_0x3a83bc){_0x4296dc=_0x4296dc-0x189;let _0x5d0556=_0x26c272[_0x4296dc];return _0x5d0556;},_0x4296(_0x50a6ac,_0x393230);}import{ListItemView as _0x112ee3,View as _0x153dd6}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x4324f6}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x112ee3{[_0x4e1c42(0x19b)];[_0x4e1c42(0x1a0)];constructor(_0x5dc94a,_0x576611){const _0x427781=_0x4e1c42;super(_0x5dc94a),this[_0x427781(0x1a0)]=this[_0x427781(0x196)](_0x576611[_0x427781(0x18b)]),this[_0x427781(0x19b)]=this[_0x427781(0x18d)](_0x576611[_0x427781(0x19a)]);const _0x28b096=this[_0x427781(0x18a)];this[_0x427781(0x195)]({'tag':_0x427781(0x1a7),'attributes':{'class':[_0x427781(0x1a4),_0x28b096['if'](_0x427781(0x197),_0x427781(0x191),_0x2f68b5=>!_0x2f68b5)]},'children':[this[_0x427781(0x19b)],{'tag':_0x427781(0x1a7),'attributes':{'class':[_0x427781(0x19e)]},'children':[{'tag':_0x427781(0x190),'attributes':{'class':[_0x427781(0x192)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x427781(0x193)]},'children':[{'text':_0x576611[_0x427781(0x18f)]}]}]}]});}[_0x4e1c42(0x196)](_0x7f1cf7){const _0x1a6453=_0x4e1c42,_0x9d2f81=new _0x4324f6(_0x7f1cf7,this[_0x1a6453(0x1a6)]);return _0x9d2f81[_0x1a6453(0x1a8)](_0x1a6453(0x189))['to'](this),_0x9d2f81;}[_0x4e1c42(0x18d)](_0x1b4607){const _0x6f1d61=_0x4e1c42,_0xca85c5=new _0x153dd6(this[_0x6f1d61(0x1a6)]);return _0xca85c5[_0x6f1d61(0x195)]({'tag':_0x6f1d61(0x1a7),'attributes':{'class':[_0x6f1d61(0x199)]},'children':[{'tag':_0x6f1d61(0x190),'attributes':{'class':[_0x6f1d61(0x198)]},'children':[{'text':_0x1b4607}]},{'tag':_0x6f1d61(0x1a7),'attributes':{'class':[_0x6f1d61(0x18e)]},'children':[this[_0x6f1d61(0x1a0)]]}]}),_0xca85c5;}}function _0x26c2(){const _0x3a8f28=['setTemplate','_createFinishReviewButtonView','isVisible','ck-ai_review__review-completed-header-title','ck-ai_review__review-completed-header','headerText','_resultsHeader','403290oDxxWo','22sxyLyJ','ck-ai_review__review-completed-content','9gSThoO','_finishReviewButtonView','78268BleMBp','143cmfanq','53160rNUoWU','ck-ai_review__review-completed','893802TxhZOH','locale','div','delegate','79978xCMupJ','1634408ZwXGXr','finishReview','bindTemplate','buttonText','65829Bhepaa','_createResultHeaderView','ck-ai_review__review-completed-header-buttons','emptyResultsText','span','ck-hidden','ck-ai_review__review-completed-content-icon','ck-ai_review__review-completed-content-text','5QcjVQo'];_0x26c2=function(){return _0x3a8f28;};return _0x26c2();}
23
+ const _0x29b098=_0x32c2;(function(_0x3ed4d9,_0x2ad0b0){const _0x387bee=_0x32c2,_0x2c1bd3=_0x3ed4d9();while(!![]){try{const _0x16aef0=-parseInt(_0x387bee(0x1d3))/0x1+-parseInt(_0x387bee(0x1c9))/0x2*(parseInt(_0x387bee(0x1d5))/0x3)+parseInt(_0x387bee(0x1b5))/0x4*(parseInt(_0x387bee(0x1ca))/0x5)+parseInt(_0x387bee(0x1b6))/0x6+parseInt(_0x387bee(0x1c5))/0x7+-parseInt(_0x387bee(0x1c2))/0x8*(parseInt(_0x387bee(0x1c6))/0x9)+parseInt(_0x387bee(0x1be))/0xa*(parseInt(_0x387bee(0x1c0))/0xb);if(_0x16aef0===_0x2ad0b0)break;else _0x2c1bd3['push'](_0x2c1bd3['shift']());}catch(_0x2e3560){_0x2c1bd3['push'](_0x2c1bd3['shift']());}}}(_0x3865,0xaa3fe));import{ListItemView as _0x5b46fc,View as _0x524d30}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x34b876}from'./aireviewcorefinishreviewbuttonview.js';function _0x32c2(_0x1ab874,_0x58cbd7){const _0x3865fd=_0x3865();return _0x32c2=function(_0x32c25a,_0x9f7256){_0x32c25a=_0x32c25a-0x1b5;let _0x449728=_0x3865fd[_0x32c25a];return _0x449728;},_0x32c2(_0x1ab874,_0x58cbd7);}function _0x3865(){const _0x33d8a0=['8ExHlSf','1346520rQdyxf','span','_resultsHeader','emptyResultsText','ck-hidden','ck-ai_review__review-completed-header-title','setTemplate','delegate','20mHFUfh','ck-ai_review__review-completed-content','4882273sYcbHQ','ck-ai_review__review-completed','16NEcNel','_createFinishReviewButtonView','ck-ai_review__review-completed-content-icon','6745963UExLSZ','5890923ImMGlx','_createResultHeaderView','finishReview','2070292OLiEVX','2553905zkElcX','locale','div','isVisible','ck-ai_review__review-completed-header-buttons','ck-ai_review__review-completed-header','_finishReviewButtonView','bindTemplate','ck-ai_review__review-completed-content-text','55795GRllVW','headerText','3qophnx','buttonText'];_0x3865=function(){return _0x33d8a0;};return _0x3865();}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x5b46fc{[_0x29b098(0x1b8)];[_0x29b098(0x1d0)];constructor(_0x44017b,_0xf86bd){const _0x22d6d7=_0x29b098;super(_0x44017b),this[_0x22d6d7(0x1d0)]=this[_0x22d6d7(0x1c3)](_0xf86bd[_0x22d6d7(0x1d6)]),this[_0x22d6d7(0x1b8)]=this[_0x22d6d7(0x1c7)](_0xf86bd[_0x22d6d7(0x1d4)]);const _0x47586c=this[_0x22d6d7(0x1d1)];this[_0x22d6d7(0x1bc)]({'tag':_0x22d6d7(0x1cc),'attributes':{'class':[_0x22d6d7(0x1c1),_0x47586c['if'](_0x22d6d7(0x1cd),_0x22d6d7(0x1ba),_0x5caccd=>!_0x5caccd)]},'children':[this[_0x22d6d7(0x1b8)],{'tag':_0x22d6d7(0x1cc),'attributes':{'class':[_0x22d6d7(0x1bf)]},'children':[{'tag':_0x22d6d7(0x1b7),'attributes':{'class':[_0x22d6d7(0x1c4)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x22d6d7(0x1d2)]},'children':[{'text':_0xf86bd[_0x22d6d7(0x1b9)]}]}]}]});}[_0x29b098(0x1c3)](_0x1a02f0){const _0x4bfbbc=_0x29b098,_0x315b10=new _0x34b876(_0x1a02f0,this[_0x4bfbbc(0x1cb)]);return _0x315b10[_0x4bfbbc(0x1bd)](_0x4bfbbc(0x1c8))['to'](this),_0x315b10;}[_0x29b098(0x1c7)](_0x374d43){const _0x451c25=_0x29b098,_0x248883=new _0x524d30(this[_0x451c25(0x1cb)]);return _0x248883[_0x451c25(0x1bc)]({'tag':_0x451c25(0x1cc),'attributes':{'class':[_0x451c25(0x1cf)]},'children':[{'tag':_0x451c25(0x1b7),'attributes':{'class':[_0x451c25(0x1bb)]},'children':[{'text':_0x374d43}]},{'tag':_0x451c25(0x1cc),'attributes':{'class':[_0x451c25(0x1ce)]},'children':[this[_0x451c25(0x1d0)]]}]}),_0x248883;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x2aafcc,View as _0x947de9,ViewCollection as _0x3e00e2,ButtonView as _0x387562}from'ckeditor5/src/ui.js';import{IconStop as _0x3bd171,IconEye as _0x43cb9,IconEyeCrossedOut as _0x26ecf5}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x1eb22f,SKELETON_DEFINITIONS as _0x55520d}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x222175}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x1cb57e}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x418f78}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x41e0cc}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x51c488}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x2aafcc{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x3274bf,_0x28d965){super(_0x3274bf),this['_contents']=_0x28d965,this['_resultViews']=new _0x3e00e2(),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 _0x222175(_0x3274bf),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 _0x1ae976=this['_createCombinedSkeletonLoader'](),_0xb33d03=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0xb33d03['if']('isLoading','ck-ai_review__check-run_loading',_0x1eb2fa=>_0x1eb2fa),_0xb33d03['if']('isResultReady','ck-ai_review__check-run_ready',_0x50d47e=>_0x50d47e),_0xb33d03['if']('isVisible','ck-hidden',_0x4eb6c1=>!_0x4eb6c1)]},'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',_0x100b54=>_0x100b54)]},'children':this['_resultViews']},_0x1ae976]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x1db878){const _0x140b58=new _0x41e0cc(this['locale'],_0x1db878['id']);_0x140b58['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x140b58),_0x140b58['resultResponseView']['element']['innerHTML']=_0x1db878['contentDiffed'];}['hideResult'](_0x99e8f2,_0x1640e3){if('pending'===_0x1640e3)return;const _0xe5328e=this['_resultViews']['find'](_0x5e20f1=>_0x5e20f1['id']===_0x99e8f2);_0xe5328e&&(_0xe5328e['status']=_0x1640e3,_0xe5328e['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x22226d,_0x32b11b){if('pending'!==_0x32b11b)return;const _0x438cd0=this['_resultViews']['find'](_0x7d0d86=>_0x7d0d86['id']===_0x22226d);_0x438cd0&&(_0x438cd0['status']=_0x32b11b,_0x438cd0['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x49e7a3,_0x1f6798){this['headerTitle']=_0x49e7a3,this['headerSubtitle']=_0x1f6798||'';}['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 _0x1eb22f(this['locale'],_0x55520d['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x3a8562=new _0x947de9(this['locale']),_0x287459=[];for(let _0x1f6d20=0x0;_0x1f6d20<0x10;_0x1f6d20++){const _0x6b04d1=this['_createSkeletonLoader']();_0x6b04d1['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x287459['push'](_0x6b04d1);}return _0x3a8562['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x11e84a=>!_0x11e84a)]},'children':_0x287459}),_0x3a8562;}['_createErrorView'](){const _0x556711=new _0x947de9(this['locale']),_0x36fb3d=new _0x387562(this['locale']),t=this['locale']['t'];return _0x556711['delegate']('retryReview')['to'](this),_0x36fb3d['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x36fb3d['on']('execute',()=>{this['fire']('retryReview');}),_0x556711['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0xd04b52=>!_0xd04b52),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x2444ec=>'chunk'===_0x2444ec)]},'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',_0x564ab9=>'chunk'===_0x564ab9)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x37ae12=>'general'!==_0x37ae12)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x3b9e58=>'chunk'!==_0x3b9e58)]},'children':[{'text':_0x1cb57e(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x36fb3d]}),_0x556711;}['_createCancelButtonView'](){const _0xec6a7d=new _0x387562(this['locale']);return _0xec6a7d['set']({'label':_0x1cb57e(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x3bd171}),_0xec6a7d['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x164622=>_0x164622),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3d1cf9=>_0x3d1cf9)]}}),_0xec6a7d['on']('execute',()=>{this['fire']('abortReviewStream');}),_0xec6a7d;}['_createToggleDiffButtonView'](){const _0x21e72a=new _0x387562(this['locale']);_0x21e72a['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x21e72a['bind']('isEnabled')['to'](this,'isError',_0x270511=>!_0x270511),_0x21e72a['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0xfdc2ca=>!_0xfdc2ca),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x49858e=>_0x49858e)]}});const _0x236bd4=_0x1cb57e(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x44c257=_0x1cb57e(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x21e72a['bind']('isOn')['to'](this,'isToggleDiffOn',_0x3fd979=>_0x3fd979),_0x21e72a['bind']('icon')['to'](this,'isToggleDiffOn',_0x163358=>_0x163358?_0x43cb9:_0x26ecf5),_0x21e72a['bind']('label')['to'](this,'isToggleDiffOn',_0x1bc831=>_0x1bc831?_0x236bd4:_0x44c257),_0x21e72a['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x21e72a;}['_createAcceptAllButtonView'](){const _0x239cf1=new _0x387562(this['locale']);return _0x239cf1['set']({'label':_0x1cb57e(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x239cf1['bind']('isEnabled')['to'](this,'isError',_0x5097b8=>!_0x5097b8),_0x239cf1['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x269146=>!_0x269146),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x17671c=>_0x17671c)]}}),_0x239cf1['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x239cf1;}['_createExitReviewButtonView'](){const _0x278f9d=new _0x387562(this['locale']);return _0x278f9d['set']({'label':_0x1cb57e(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x278f9d['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1a4e3f=>!_0x1a4e3f),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x35b173=>_0x35b173)]}}),_0x278f9d['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x278f9d;}['_createResultHeaderView'](){const _0x235fbe=new _0x947de9(this['locale']),_0x799b36=this['_createTitleView']();return _0x235fbe['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x143ab8=>_0x143ab8)]},'children':[_0x799b36,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x235fbe;}['_createTitleView'](){const _0x122568=new _0x947de9(this['locale']),_0x2f4ae3=new _0x418f78();return _0x2f4ae3['bind']('isVisible')['to'](this,'isResultReady',_0x7683ad=>!_0x7683ad),_0x122568['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x2f4ae3,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5f330c=>_0x5f330c)]},'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',_0x41f051=>!_0x41f051)]},'children':[{'text':_0x1cb57e(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x122568;}['_createFinishReviewButtonView'](){const _0x12cd39=new _0x51c488(_0x1cb57e(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x12cd39['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0xa2e2c1=>!_0xa2e2c1)]}}),_0x12cd39['delegate']('finishReview')['to'](this),_0x12cd39;}}
23
+ import{ListItemView as _0x3dc154,View as _0xfc6e76,ViewCollection as _0x344ea5,ButtonView as _0x2bfd95}from'ckeditor5/src/ui.js';import{IconStop as _0xd6d4e9,IconEye as _0x2886ce,IconEyeCrossedOut as _0x3e6b05}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x211a46,SKELETON_DEFINITIONS as _0x1e6fdb}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x116243}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x4487e2}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x522b63}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x3b7339}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x10038a}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x3dc154{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x3a4d5e,_0x3fa099){super(_0x3a4d5e),this['_contents']=_0x3fa099,this['_resultViews']=new _0x344ea5(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['_resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x116243(_0x3a4d5e),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x1dbf93=this['_createCombinedSkeletonLoader'](),_0x488cdf=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x488cdf['if']('isLoading','ck-ai_review__check-run_loading',_0x5eca99=>_0x5eca99),_0x488cdf['if']('isResultReady','ck-ai_review__check-run_ready',_0x19643f=>_0x19643f),_0x488cdf['if']('isVisible','ck-hidden',_0x5522b0=>!_0x5522b0)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x20eff7=>_0x20eff7)]},'children':this['_resultViews']},_0x1dbf93]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x3e00f1){const _0x3a3164=new _0x3b7339(this['locale'],_0x3e00f1['id']);_0x3a3164['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x3a3164),_0x3a3164['resultResponseView']['element']['innerHTML']=_0x3e00f1['contentDiffed'];}['hideResult'](_0x165472,_0x1dce9e){if('pending'===_0x1dce9e)return;const _0x58c5cb=this['_resultViews']['find'](_0xd3a768=>_0xd3a768['id']===_0x165472);_0x58c5cb&&(_0x58c5cb['status']=_0x1dce9e,_0x58c5cb['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x6ede0b,_0x65bdea){if('pending'!==_0x65bdea)return;const _0x19fefe=this['_resultViews']['find'](_0x1fc95b=>_0x1fc95b['id']===_0x6ede0b);_0x19fefe&&(_0x19fefe['status']=_0x65bdea,_0x19fefe['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x182456,_0xd7587){this['headerTitle']=_0x182456,this['headerSubtitle']=_0xd7587||'';}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x211a46(this['locale'],_0x1e6fdb['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x599779=new _0xfc6e76(this['locale']),_0x800b01=[];for(let _0x262594=0x0;_0x262594<0x10;_0x262594++){const _0x46c2d8=this['_createSkeletonLoader']();_0x46c2d8['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x800b01['push'](_0x46c2d8);}return _0x599779['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2f1e94=>!_0x2f1e94)]},'children':_0x800b01}),_0x599779;}['_createErrorView'](){const _0x4d3647=new _0xfc6e76(this['locale']),_0x5980b6=new _0x2bfd95(this['locale']),t=this['locale']['t'];return _0x4d3647['delegate']('retryReview')['to'](this),_0x5980b6['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x5980b6['on']('execute',()=>{this['fire']('retryReview');}),_0x4d3647['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x5b5adb=>!_0x5b5adb),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x3a9c30=>'chunk'===_0x3a9c30)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x4203cc=>'chunk'===_0x4203cc)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x2b93e6=>'general'!==_0x2b93e6)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x1da770=>'chunk'!==_0x1da770)]},'children':[{'text':_0x4487e2(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x5980b6]}),_0x4d3647;}['_createCancelButtonView'](){const _0x2df1e7=new _0x2bfd95(this['locale']);return _0x2df1e7['set']({'label':_0x4487e2(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0xd6d4e9}),_0x2df1e7['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x29c214=>_0x29c214),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x50be96=>_0x50be96)]}}),_0x2df1e7['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x2df1e7;}['_createToggleDiffButtonView'](){const _0x535107=new _0x2bfd95(this['locale']);_0x535107['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x535107['bind']('isEnabled')['to'](this,'isError',_0x3b32ae=>!_0x3b32ae),_0x535107['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x108534=>!_0x108534),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3a6c78=>_0x3a6c78)]}});const _0xb84ff8=_0x4487e2(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x34312a=_0x4487e2(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x535107['bind']('isOn')['to'](this,'isToggleDiffOn',_0x2e6b48=>_0x2e6b48),_0x535107['bind']('icon')['to'](this,'isToggleDiffOn',_0x50f66b=>_0x50f66b?_0x2886ce:_0x3e6b05),_0x535107['bind']('label')['to'](this,'isToggleDiffOn',_0x283262=>_0x283262?_0xb84ff8:_0x34312a),_0x535107['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x535107;}['_createAcceptAllButtonView'](){const _0x1b9cd5=new _0x2bfd95(this['locale']);return _0x1b9cd5['set']({'label':_0x4487e2(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x1b9cd5['bind']('isEnabled')['to'](this,'isError',_0x525b6a=>!_0x525b6a),_0x1b9cd5['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x509379=>!_0x509379),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4da24d=>_0x4da24d)]}}),_0x1b9cd5['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x1b9cd5;}['_createExitReviewButtonView'](){const _0x345b5e=new _0x2bfd95(this['locale']);return _0x345b5e['set']({'label':_0x4487e2(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x345b5e['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x4b08d8=>!_0x4b08d8),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5d3149=>_0x5d3149)]}}),_0x345b5e['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x345b5e;}['_createResultHeaderView'](){const _0x276264=new _0xfc6e76(this['locale']),_0x559889=this['_createTitleView']();return _0x276264['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x342ae3=>_0x342ae3)]},'children':[_0x559889,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x276264;}['_createTitleView'](){const _0x342431=new _0xfc6e76(this['locale']),_0x4be42c=new _0x522b63();return _0x4be42c['bind']('isVisible')['to'](this,'isResultReady',_0x11a133=>!_0x11a133),_0x342431['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x4be42c,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x44ea38=>_0x44ea38)]},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x142983=>!_0x142983)]},'children':[{'text':_0x4487e2(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x342431;}['_createFinishReviewButtonView'](){const _0x561a3a=new _0x10038a(_0x4487e2(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x561a3a['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x342e74=>!_0x342e74)]}}),_0x561a3a['delegate']('finishReview')['to'](this),_0x561a3a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x555e26=_0x119f;(function(_0x3d5ea5,_0x3f2e16){var _0x1fef17=_0x119f,_0x13e40=_0x3d5ea5();while(!![]){try{var _0x10004d=parseInt(_0x1fef17(0xec))/0x1+parseInt(_0x1fef17(0x10e))/0x2+parseInt(_0x1fef17(0xff))/0x3+-parseInt(_0x1fef17(0x104))/0x4*(-parseInt(_0x1fef17(0xfd))/0x5)+parseInt(_0x1fef17(0xf9))/0x6*(-parseInt(_0x1fef17(0x113))/0x7)+parseInt(_0x1fef17(0xf0))/0x8+parseInt(_0x1fef17(0xfe))/0x9*(-parseInt(_0x1fef17(0x10a))/0xa);if(_0x10004d===_0x3f2e16)break;else _0x13e40['push'](_0x13e40['shift']());}catch(_0x382f11){_0x13e40['push'](_0x13e40['shift']());}}}(_0x4e0a,0xb8efb));import{View as _0x499fd4}from'ckeditor5/src/ui.js';function _0x4e0a(){var _0x54269e=['ck-ai-review','showActionsWhenResultIsReady','showGeneralErrorMessage','ltr','1244qrAYjp','div','isResultReady','addCheckRunResult','addResult','isLoading','2650790tohHxY','list','reviewCheckListView','delegate','1556010WcsfqG','showChunkErrorView','errorMessage','completed','set','82817gxyvdZ','showGeneralReviewCoreErrorView','ck-reset_all','resetAllParameterizedChecks','reviewCoreHeader','resetErrorState','reviewCompletedView','showNoChangesView','showReviewCheckListView','generalErrorView','1309937QcsNUb','header','showReviewCompletedView','finishReview','7073296Fkwvcb','showReviewCheckResultsView','setTemplate','showGeneralResultsErrorView','clearResults','ck-rounded-corners','reviewCheckResultsView','isCompleted','hideActionsWhenResultIsReady','12zlmTUN','isVisible','showChunkErrorMessage','results','1090fnVPMy','99TYuPve','1971384IMWmBU'];_0x4e0a=function(){return _0x54269e;};return _0x4e0a();}import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x256e6d}from'../aireviewcoreui.js';import{AIReviewCoreGeneralErrorView as _0x20fec0}from'./aireviewcoregeneralerrorview.js';function _0x119f(_0x2c59d9,_0x88ada0){var _0x4e0ab7=_0x4e0a();return _0x119f=function(_0x119f24,_0x3957ad){_0x119f24=_0x119f24-0xe9;var _0x21aa0d=_0x4e0ab7[_0x119f24];return _0x21aa0d;},_0x119f(_0x2c59d9,_0x88ada0);}export class AIReviewCoreView extends _0x499fd4{[_0x555e26(0x117)];[_0x555e26(0xeb)];[_0x555e26(0x10c)];[_0x555e26(0xf6)];[_0x555e26(0x119)];constructor(_0x2c4117,_0x4d01eb){var _0x144644=_0x555e26;super(_0x2c4117),this[_0x144644(0x117)]=_0x4d01eb[_0x144644(0xed)],this[_0x144644(0xeb)]=new _0x20fec0(_0x2c4117),this[_0x144644(0x10c)]=_0x4d01eb[_0x144644(0x10b)],this[_0x144644(0x10c)][_0x144644(0x10d)](..._0x256e6d)['to'](this),this[_0x144644(0xf6)]=_0x4d01eb[_0x144644(0xfc)],this[_0x144644(0xf6)][_0x144644(0x10d)](..._0x256e6d)['to'](this),this[_0x144644(0x119)]=_0x4d01eb[_0x144644(0x111)],this[_0x144644(0x119)][_0x144644(0x10d)](_0x144644(0xef))['to'](this),this[_0x144644(0x10c)][_0x144644(0x112)](_0x144644(0xfa),!0x1),this[_0x144644(0xf6)][_0x144644(0x112)](_0x144644(0xfa),!0x1),this[_0x144644(0xf6)][_0x144644(0x112)](_0x144644(0x109),!0x1),this[_0x144644(0xf6)][_0x144644(0x112)](_0x144644(0x106),!0x1),this[_0x144644(0x119)][_0x144644(0x112)](_0x144644(0xfa),!0x1),this[_0x144644(0xf2)]({'tag':_0x144644(0x105),'attributes':{'class':['ck',_0x144644(0x115),_0x144644(0x100),_0x144644(0xf5)],'dir':_0x144644(0x103)},'children':[this[_0x144644(0x117)],this[_0x144644(0xeb)],this[_0x144644(0x10c)],this[_0x144644(0xf6)],this[_0x144644(0x119)]]});}[_0x555e26(0xea)](){var _0x4e5ddc=_0x555e26;this[_0x4e5ddc(0x10c)][_0x4e5ddc(0x116)](),this[_0x4e5ddc(0x10c)][_0x4e5ddc(0x112)](_0x4e5ddc(0xfa),!0x0),this[_0x4e5ddc(0xf6)][_0x4e5ddc(0x112)](_0x4e5ddc(0xfa),!0x1),this[_0x4e5ddc(0x119)][_0x4e5ddc(0x112)](_0x4e5ddc(0xfa),!0x1);}[_0x555e26(0xf1)](){var _0x425178=_0x555e26;this[_0x425178(0xf8)](),this[_0x425178(0xf6)][_0x425178(0x118)](),this[_0x425178(0x10c)][_0x425178(0x112)](_0x425178(0xfa),!0x1),this[_0x425178(0xf6)][_0x425178(0x112)](_0x425178(0xfa),!0x0),this[_0x425178(0xf6)][_0x425178(0xf4)](),this[_0x425178(0xf6)][_0x425178(0x112)](_0x425178(0x109),!0x0),this[_0x425178(0xf6)][_0x425178(0x112)](_0x425178(0xf7),!0x1);}[_0x555e26(0x107)](_0x2af88b){var _0x3524ff=_0x555e26;this[_0x3524ff(0xf6)][_0x3524ff(0x108)](_0x2af88b),this[_0x3524ff(0xf6)][_0x3524ff(0x112)](_0x3524ff(0x109),!0x1);}[_0x555e26(0xee)](){var _0x3a376c=_0x555e26;this[_0x3a376c(0xf6)][_0x3a376c(0x112)](_0x3a376c(0xfa),!0x0),this[_0x3a376c(0x119)][_0x3a376c(0x112)](_0x3a376c(0xfa),!0x1),this[_0x3a376c(0xf6)][_0x3a376c(0x112)](_0x3a376c(0xf7),!0x0),this[_0x3a376c(0x10c)][_0x3a376c(0x112)](_0x3a376c(0xfa),!0x1);}[_0x555e26(0x101)](){var _0x5ae558=_0x555e26;this[_0x5ae558(0xf6)][_0x5ae558(0x106)]?(this[_0x5ae558(0x10c)][_0x5ae558(0x112)](_0x5ae558(0xfa),!0x1),this[_0x5ae558(0xf6)][_0x5ae558(0x112)](_0x5ae558(0xfa),!0x0),this[_0x5ae558(0x119)][_0x5ae558(0x112)](_0x5ae558(0xfa),!0x1)):this[_0x5ae558(0xf6)][_0x5ae558(0x106)]=!0x0;}[_0x555e26(0xe9)](){var _0x273b34=_0x555e26;this[_0x273b34(0x10c)][_0x273b34(0x112)](_0x273b34(0xfa),!0x1),this[_0x273b34(0xf6)][_0x273b34(0x112)](_0x273b34(0xfa),!0x1),this[_0x273b34(0x119)][_0x273b34(0x112)](_0x273b34(0xfa),!0x0);}[_0x555e26(0xf8)](){var _0x138631=_0x555e26;this[_0x138631(0xf6)][_0x138631(0x106)]=!0x1;}[_0x555e26(0x114)](_0x1114d3){var _0xfe03c1=_0x555e26;this[_0xfe03c1(0xeb)][_0xfe03c1(0x112)](_0xfe03c1(0xfa),!0x0),this[_0xfe03c1(0xeb)][_0xfe03c1(0x110)]=_0x1114d3;}[_0x555e26(0xf3)](){var _0x2e91d9=_0x555e26;this[_0x2e91d9(0xf6)][_0x2e91d9(0x112)](_0x2e91d9(0x109),!0x1),this[_0x2e91d9(0x101)](),this[_0x2e91d9(0xf6)][_0x2e91d9(0x102)]();}[_0x555e26(0x10f)](){var _0x4a5188=_0x555e26;this[_0x4a5188(0xf6)][_0x4a5188(0x112)](_0x4a5188(0x109),!0x1),this[_0x4a5188(0x101)](),this[_0x4a5188(0xf6)][_0x4a5188(0xfb)]();}}
23
+ var _0x2e32a1=_0x36ca;(function(_0x27acea,_0x26cfc8){var _0x272042=_0x36ca,_0x3ebe2b=_0x27acea();while(!![]){try{var _0x1d652f=-parseInt(_0x272042(0x131))/0x1+parseInt(_0x272042(0x158))/0x2*(parseInt(_0x272042(0x143))/0x3)+-parseInt(_0x272042(0x133))/0x4+-parseInt(_0x272042(0x150))/0x5+parseInt(_0x272042(0x142))/0x6*(parseInt(_0x272042(0x157))/0x7)+-parseInt(_0x272042(0x136))/0x8*(parseInt(_0x272042(0x155))/0x9)+parseInt(_0x272042(0x139))/0xa*(parseInt(_0x272042(0x153))/0xb);if(_0x1d652f===_0x26cfc8)break;else _0x3ebe2b['push'](_0x3ebe2b['shift']());}catch(_0x87c971){_0x3ebe2b['push'](_0x3ebe2b['shift']());}}}(_0x27d5,0x603ad));import{View as _0x2b931e}from'ckeditor5/src/ui.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0xdf8f5d}from'../aireviewcoreui.js';function _0x36ca(_0x1b9f25,_0x599a9a){var _0x27d5c4=_0x27d5();return _0x36ca=function(_0x36ca01,_0x373715){_0x36ca01=_0x36ca01-0x12f;var _0x485ca8=_0x27d5c4[_0x36ca01];return _0x485ca8;},_0x36ca(_0x1b9f25,_0x599a9a);}function _0x27d5(){var _0x6820de=['delegate','showChunkErrorView','1102453KGishM','resetErrorState','45YHpmwZ','errorMessage','28364wmeTyI','2gNxvbv','ltr','isLoading','completed','reviewCheckListView','clearResults','isResultReady','showReviewCheckResultsView','header','div','showNoChangesView','392292IbSlTp','showGeneralErrorMessage','863832ZvQFLM','isVisible','isCompleted','120272dDDvnN','resetAllParameterizedChecks','ck-rounded-corners','130aFmjXU','setTemplate','ck-ai-review','showReviewCheckListView','reviewCompletedView','list','reviewCoreHeader','showChunkErrorMessage','results','588BGSiOW','42417Yccepj','showGeneralReviewCoreErrorView','ck-reset_all','addResult','reviewCheckResultsView','finishReview','showReviewCompletedView','generalErrorView','set','addCheckRunResult','hideActionsWhenResultIsReady','showGeneralResultsErrorView','showActionsWhenResultIsReady','3182785luVfXY'];_0x27d5=function(){return _0x6820de;};return _0x27d5();}import{AIReviewCoreGeneralErrorView as _0x5b38a7}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x2b931e{[_0x2e32a1(0x13f)];[_0x2e32a1(0x14a)];[_0x2e32a1(0x15c)];[_0x2e32a1(0x147)];[_0x2e32a1(0x13d)];constructor(_0x5b2b76,_0x388fc2){var _0x7d3d1=_0x2e32a1;super(_0x5b2b76),this[_0x7d3d1(0x13f)]=_0x388fc2[_0x7d3d1(0x160)],this[_0x7d3d1(0x14a)]=new _0x5b38a7(_0x5b2b76),this[_0x7d3d1(0x15c)]=_0x388fc2[_0x7d3d1(0x13e)],this[_0x7d3d1(0x15c)][_0x7d3d1(0x151)](..._0xdf8f5d)['to'](this),this[_0x7d3d1(0x147)]=_0x388fc2[_0x7d3d1(0x141)],this[_0x7d3d1(0x147)][_0x7d3d1(0x151)](..._0xdf8f5d)['to'](this),this[_0x7d3d1(0x13d)]=_0x388fc2[_0x7d3d1(0x15b)],this[_0x7d3d1(0x13d)][_0x7d3d1(0x151)](_0x7d3d1(0x148))['to'](this),this[_0x7d3d1(0x15c)][_0x7d3d1(0x14b)](_0x7d3d1(0x134),!0x1),this[_0x7d3d1(0x147)][_0x7d3d1(0x14b)](_0x7d3d1(0x134),!0x1),this[_0x7d3d1(0x147)][_0x7d3d1(0x14b)](_0x7d3d1(0x15a),!0x1),this[_0x7d3d1(0x147)][_0x7d3d1(0x14b)](_0x7d3d1(0x15e),!0x1),this[_0x7d3d1(0x13d)][_0x7d3d1(0x14b)](_0x7d3d1(0x134),!0x1),this[_0x7d3d1(0x13a)]({'tag':_0x7d3d1(0x12f),'attributes':{'class':['ck',_0x7d3d1(0x145),_0x7d3d1(0x13b),_0x7d3d1(0x138)],'dir':_0x7d3d1(0x159)},'children':[this[_0x7d3d1(0x13f)],this[_0x7d3d1(0x14a)],this[_0x7d3d1(0x15c)],this[_0x7d3d1(0x147)],this[_0x7d3d1(0x13d)]]});}[_0x2e32a1(0x13c)](){var _0x39503e=_0x2e32a1;this[_0x39503e(0x15c)][_0x39503e(0x137)](),this[_0x39503e(0x15c)][_0x39503e(0x14b)](_0x39503e(0x134),!0x0),this[_0x39503e(0x147)][_0x39503e(0x14b)](_0x39503e(0x134),!0x1),this[_0x39503e(0x13d)][_0x39503e(0x14b)](_0x39503e(0x134),!0x1);}[_0x2e32a1(0x15f)](){var _0x26116d=_0x2e32a1;this[_0x26116d(0x14d)](),this[_0x26116d(0x147)][_0x26116d(0x154)](),this[_0x26116d(0x15c)][_0x26116d(0x14b)](_0x26116d(0x134),!0x1),this[_0x26116d(0x147)][_0x26116d(0x14b)](_0x26116d(0x134),!0x0),this[_0x26116d(0x147)][_0x26116d(0x15d)](),this[_0x26116d(0x147)][_0x26116d(0x14b)](_0x26116d(0x15a),!0x0),this[_0x26116d(0x147)][_0x26116d(0x14b)](_0x26116d(0x135),!0x1);}[_0x2e32a1(0x14c)](_0xa1fbb1){var _0x35bdbf=_0x2e32a1;this[_0x35bdbf(0x147)][_0x35bdbf(0x146)](_0xa1fbb1),this[_0x35bdbf(0x147)][_0x35bdbf(0x14b)](_0x35bdbf(0x15a),!0x1);}[_0x2e32a1(0x149)](){var _0x5be133=_0x2e32a1;this[_0x5be133(0x147)][_0x5be133(0x14b)](_0x5be133(0x134),!0x0),this[_0x5be133(0x13d)][_0x5be133(0x14b)](_0x5be133(0x134),!0x1),this[_0x5be133(0x147)][_0x5be133(0x14b)](_0x5be133(0x135),!0x0),this[_0x5be133(0x15c)][_0x5be133(0x14b)](_0x5be133(0x134),!0x1);}[_0x2e32a1(0x14f)](){var _0x393f8a=_0x2e32a1;this[_0x393f8a(0x147)][_0x393f8a(0x15e)]?(this[_0x393f8a(0x15c)][_0x393f8a(0x14b)](_0x393f8a(0x134),!0x1),this[_0x393f8a(0x147)][_0x393f8a(0x14b)](_0x393f8a(0x134),!0x0),this[_0x393f8a(0x13d)][_0x393f8a(0x14b)](_0x393f8a(0x134),!0x1)):this[_0x393f8a(0x147)][_0x393f8a(0x15e)]=!0x0;}[_0x2e32a1(0x130)](){var _0x27cbca=_0x2e32a1;this[_0x27cbca(0x15c)][_0x27cbca(0x14b)](_0x27cbca(0x134),!0x1),this[_0x27cbca(0x147)][_0x27cbca(0x14b)](_0x27cbca(0x134),!0x1),this[_0x27cbca(0x13d)][_0x27cbca(0x14b)](_0x27cbca(0x134),!0x0);}[_0x2e32a1(0x14d)](){var _0x12f205=_0x2e32a1;this[_0x12f205(0x147)][_0x12f205(0x15e)]=!0x1;}[_0x2e32a1(0x144)](_0x1d4636){var _0x37c870=_0x2e32a1;this[_0x37c870(0x14a)][_0x37c870(0x14b)](_0x37c870(0x134),!0x0),this[_0x37c870(0x14a)][_0x37c870(0x156)]=_0x1d4636;}[_0x2e32a1(0x14e)](){var _0x5d5847=_0x2e32a1;this[_0x5d5847(0x147)][_0x5d5847(0x14b)](_0x5d5847(0x15a),!0x1),this[_0x5d5847(0x14f)](),this[_0x5d5847(0x147)][_0x5d5847(0x132)]();}[_0x2e32a1(0x152)](){var _0x58ff6a=_0x2e32a1;this[_0x58ff6a(0x147)][_0x58ff6a(0x14b)](_0x58ff6a(0x15a),!0x1),this[_0x58ff6a(0x14f)](),this[_0x58ff6a(0x147)][_0x58ff6a(0x140)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21b526=_0x68e9;(function(_0x289119,_0x346323){const _0x3250db=_0x68e9,_0x98fcc5=_0x289119();while(!![]){try{const _0x472515=parseInt(_0x3250db(0x16d))/0x1*(-parseInt(_0x3250db(0x18f))/0x2)+-parseInt(_0x3250db(0x17e))/0x3+-parseInt(_0x3250db(0x17c))/0x4+parseInt(_0x3250db(0x190))/0x5+-parseInt(_0x3250db(0x174))/0x6*(parseInt(_0x3250db(0x186))/0x7)+parseInt(_0x3250db(0x17a))/0x8+parseInt(_0x3250db(0x183))/0x9;if(_0x472515===_0x346323)break;else _0x98fcc5['push'](_0x98fcc5['shift']());}catch(_0x240151){_0x98fcc5['push'](_0x98fcc5['shift']());}}}(_0x4129,0xee08e));import{Collection as _0x5a915e}from'ckeditor5/src/utils.js';import{View as _0x3d6b27,createDropdown as _0x1f873f,addListToDropdown as _0x5d014a,UIModel as _0x3a55a5}from'ckeditor5/src/ui.js';function _0x68e9(_0xb9832b,_0x2df2e1){const _0x412993=_0x4129();return _0x68e9=function(_0x68e98d,_0x4a588a){_0x68e98d=_0x68e98d-0x16d;let _0x56a620=_0x412993[_0x68e98d];return _0x56a620;},_0x68e9(_0xb9832b,_0x2df2e1);}function _0x4129(){const _0x55061c=['2840444XzwekK','ck-ai_review__check-list-item-parameterized-form-element','1384821lGZUJn','menuitemradio','button','stopPropagation','extendTemplate','22712130weasAX','ck-reset_all','model','852656pylZkj','isOn','_defaultValue','source','setTemplate','locale','resetToDefault','bind','_dropdownView','134PtzKNc','6904210mxjUAg','find','_prepareListOptions','bindTemplate','menu','length','27503ppUyEs','listenTo','add','set','buttonView','div','default','72xJlclA','_defaultLabel','execute','label','ck-ai_review__check-list-item-parameterized-form-element_dropdown','formValue','12373544vmuZZk','data'];_0x4129=function(){return _0x55061c;};return _0x4129();}export class AIReviewCoreFormDropdownView extends _0x3d6b27{[_0x21b526(0x18e)];[_0x21b526(0x188)];[_0x21b526(0x175)];constructor(_0x276956,_0x393177){const _0x1ac55b=_0x21b526;super(_0x276956),this[_0x1ac55b(0x188)]=_0x393177[_0x1ac55b(0x173)]||(_0x393177[_0x1ac55b(0x17b)][_0x1ac55b(0x195)]>0x0?_0x393177[_0x1ac55b(0x17b)][0x0]['id']:''),this[_0x1ac55b(0x175)]=_0x393177[_0x1ac55b(0x17b)][_0x1ac55b(0x191)](_0x3614e2=>_0x3614e2['id']===this[_0x1ac55b(0x188)])?.[_0x1ac55b(0x177)]||'',this[_0x1ac55b(0x170)](_0x1ac55b(0x179),''),this[_0x1ac55b(0x18e)]=_0x1f873f(this[_0x1ac55b(0x18b)]);const _0x2c922a=this[_0x1ac55b(0x192)](_0x393177[_0x1ac55b(0x17b)]);_0x5d014a(this[_0x1ac55b(0x18e)],_0x2c922a,{'role':_0x1ac55b(0x194),'ariaLabel':_0x393177[_0x1ac55b(0x177)]}),this[_0x1ac55b(0x18e)][_0x1ac55b(0x171)][_0x1ac55b(0x170)]({'label':this[_0x1ac55b(0x175)],'withText':!0x0}),this[_0x1ac55b(0x18e)][_0x1ac55b(0x182)]({'on':{'click':this[_0x1ac55b(0x193)]['to'](_0xcd9007=>{const _0x49f90d=_0x1ac55b;_0xcd9007[_0x49f90d(0x181)]();})}}),this[_0x1ac55b(0x16e)](this[_0x1ac55b(0x18e)],_0x1ac55b(0x176),_0x567ad7=>{const _0x1bc4de=_0x1ac55b;this[_0x1bc4de(0x179)]=_0x567ad7[_0x1bc4de(0x189)][_0x1bc4de(0x185)]['id'],this[_0x1bc4de(0x18e)][_0x1bc4de(0x171)][_0x1bc4de(0x177)]=_0x567ad7[_0x1bc4de(0x189)][_0x1bc4de(0x185)][_0x1bc4de(0x177)];}),this[_0x1ac55b(0x18a)]({'tag':_0x1ac55b(0x172),'attributes':{'class':['ck',_0x1ac55b(0x184),_0x1ac55b(0x17d),_0x1ac55b(0x178)]},'children':[this[_0x1ac55b(0x18e)]]});}[_0x21b526(0x18c)](){const _0x15309e=_0x21b526;this[_0x15309e(0x179)]=this[_0x15309e(0x188)],this[_0x15309e(0x18e)][_0x15309e(0x171)][_0x15309e(0x177)]=this[_0x15309e(0x175)];}[_0x21b526(0x192)](_0x7eee0d=[]){const _0x53ba9d=_0x21b526,_0x5e6f12=new _0x5a915e();this[_0x53ba9d(0x18c)]();for(const _0x24a853 of _0x7eee0d){const _0x38d2d5=new _0x3a55a5({'label':_0x24a853[_0x53ba9d(0x177)],'withText':!0x0,'role':_0x53ba9d(0x17f),'id':_0x24a853['id'],'model':_0x24a853});_0x38d2d5[_0x53ba9d(0x18d)](_0x53ba9d(0x187))['to'](this,_0x53ba9d(0x179),_0x5d01c2=>_0x5d01c2===_0x38d2d5['id']);const _0x48c83a={'type':_0x53ba9d(0x180),'model':_0x38d2d5};_0x5e6f12[_0x53ba9d(0x16f)](_0x48c83a);}return _0x5e6f12;}}
23
+ function _0x5865(_0x190741,_0x3bf7f1){const _0xaaae64=_0xaaae();return _0x5865=function(_0x586538,_0x128d75){_0x586538=_0x586538-0x148;let _0x174f3c=_0xaaae64[_0x586538];return _0x174f3c;},_0x5865(_0x190741,_0x3bf7f1);}const _0x230fe1=_0x5865;function _0xaaae(){const _0x5d60ca=['locale','ck-reset_all','456123OKfLQS','setTemplate','formValue','resetToDefault','extendTemplate','default','17315YLHTOY','61572dasFtc','10DMWLEc','3795IMITug','_prepareListOptions','label','source','2358608gkBahC','_defaultLabel','execute','button','4035332cIWYFP','ck-ai_review__check-list-item-parameterized-form-element_dropdown','menuitemradio','set','12gUDfin','bind','6630WVhxhi','buttonView','data','find','ck-ai_review__check-list-item-parameterized-form-element','stopPropagation','length','listenTo','822RjXEnn','div','model','47uuvQCU','bindTemplate','isOn','3091707gAlKav','_defaultValue','add','menu','_dropdownView'];_0xaaae=function(){return _0x5d60ca;};return _0xaaae();}(function(_0x4b0d1a,_0x3be629){const _0x14d035=_0x5865,_0x3c5a67=_0x4b0d1a();while(!![]){try{const _0x435900=parseInt(_0x14d035(0x162))/0x1*(-parseInt(_0x14d035(0x157))/0x2)+-parseInt(_0x14d035(0x16c))/0x3*(-parseInt(_0x14d035(0x155))/0x4)+parseInt(_0x14d035(0x172))/0x5*(-parseInt(_0x14d035(0x15f))/0x6)+-parseInt(_0x14d035(0x151))/0x7+-parseInt(_0x14d035(0x14d))/0x8+-parseInt(_0x14d035(0x165))/0x9*(parseInt(_0x14d035(0x148))/0xa)+parseInt(_0x14d035(0x149))/0xb*(parseInt(_0x14d035(0x173))/0xc);if(_0x435900===_0x3be629)break;else _0x3c5a67['push'](_0x3c5a67['shift']());}catch(_0x2b4c91){_0x3c5a67['push'](_0x3c5a67['shift']());}}}(_0xaaae,0x5d149));import{Collection as _0x2ba405}from'ckeditor5/src/utils.js';import{View as _0x134372,createDropdown as _0x559c0a,addListToDropdown as _0x4152a7,UIModel as _0x2d0337}from'ckeditor5/src/ui.js';export class AIReviewCoreFormDropdownView extends _0x134372{[_0x230fe1(0x169)];[_0x230fe1(0x166)];[_0x230fe1(0x14e)];constructor(_0x4e6f1b,_0x2da39d){const _0xf8d8d9=_0x230fe1;super(_0x4e6f1b),this[_0xf8d8d9(0x166)]=_0x2da39d[_0xf8d8d9(0x171)]||(_0x2da39d[_0xf8d8d9(0x159)][_0xf8d8d9(0x15d)]>0x0?_0x2da39d[_0xf8d8d9(0x159)][0x0]['id']:''),this[_0xf8d8d9(0x14e)]=_0x2da39d[_0xf8d8d9(0x159)][_0xf8d8d9(0x15a)](_0x3a097c=>_0x3a097c['id']===this[_0xf8d8d9(0x166)])?.[_0xf8d8d9(0x14b)]||'',this[_0xf8d8d9(0x154)](_0xf8d8d9(0x16e),''),this[_0xf8d8d9(0x169)]=_0x559c0a(this[_0xf8d8d9(0x16a)]);const _0x1f0124=this[_0xf8d8d9(0x14a)](_0x2da39d[_0xf8d8d9(0x159)]);_0x4152a7(this[_0xf8d8d9(0x169)],_0x1f0124,{'role':_0xf8d8d9(0x168),'ariaLabel':_0x2da39d[_0xf8d8d9(0x14b)]}),this[_0xf8d8d9(0x169)][_0xf8d8d9(0x158)][_0xf8d8d9(0x154)]({'label':this[_0xf8d8d9(0x14e)],'withText':!0x0}),this[_0xf8d8d9(0x169)][_0xf8d8d9(0x170)]({'on':{'click':this[_0xf8d8d9(0x163)]['to'](_0x1a78ef=>{const _0x2e3016=_0xf8d8d9;_0x1a78ef[_0x2e3016(0x15c)]();})}}),this[_0xf8d8d9(0x15e)](this[_0xf8d8d9(0x169)],_0xf8d8d9(0x14f),_0x14350e=>{const _0x15affb=_0xf8d8d9;this[_0x15affb(0x16e)]=_0x14350e[_0x15affb(0x14c)][_0x15affb(0x161)]['id'],this[_0x15affb(0x169)][_0x15affb(0x158)][_0x15affb(0x14b)]=_0x14350e[_0x15affb(0x14c)][_0x15affb(0x161)][_0x15affb(0x14b)];}),this[_0xf8d8d9(0x16d)]({'tag':_0xf8d8d9(0x160),'attributes':{'class':['ck',_0xf8d8d9(0x16b),_0xf8d8d9(0x15b),_0xf8d8d9(0x152)]},'children':[this[_0xf8d8d9(0x169)]]});}[_0x230fe1(0x16f)](){const _0x928151=_0x230fe1;this[_0x928151(0x16e)]=this[_0x928151(0x166)],this[_0x928151(0x169)][_0x928151(0x158)][_0x928151(0x14b)]=this[_0x928151(0x14e)];}[_0x230fe1(0x14a)](_0x58d3e6=[]){const _0xd804f5=_0x230fe1,_0x180196=new _0x2ba405();this[_0xd804f5(0x16f)]();for(const _0x50d23c of _0x58d3e6){const _0x47ff2b=new _0x2d0337({'label':_0x50d23c[_0xd804f5(0x14b)],'withText':!0x0,'role':_0xd804f5(0x153),'id':_0x50d23c['id'],'model':_0x50d23c});_0x47ff2b[_0xd804f5(0x156)](_0xd804f5(0x164))['to'](this,_0xd804f5(0x16e),_0x57b36f=>_0x57b36f===_0x47ff2b['id']);const _0x51b0ad={'type':_0xd804f5(0x150),'model':_0x47ff2b};_0x180196[_0xd804f5(0x167)](_0x51b0ad);}return _0x180196;}}