@ckeditor/ckeditor5-ai 47.7.0-alpha.3 → 47.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5780e9=_0x1bf4;(function(_0x2cb5c7,_0x454c1d){const _0x29d348=_0x1bf4,_0x48534f=_0x2cb5c7();while(!![]){try{const _0x440787=-parseInt(_0x29d348(0x156))/0x1*(-parseInt(_0x29d348(0x184))/0x2)+parseInt(_0x29d348(0x151))/0x3+parseInt(_0x29d348(0x17a))/0x4+-parseInt(_0x29d348(0x187))/0x5*(parseInt(_0x29d348(0x14f))/0x6)+-parseInt(_0x29d348(0x17e))/0x7*(-parseInt(_0x29d348(0x148))/0x8)+parseInt(_0x29d348(0x181))/0x9+-parseInt(_0x29d348(0x18c))/0xa*(parseInt(_0x29d348(0x16e))/0xb);if(_0x440787===_0x454c1d)break;else _0x48534f['push'](_0x48534f['shift']());}catch(_0xee99d7){_0x48534f['push'](_0x48534f['shift']());}}}(_0x3ba2,0x5a8f3));import{Rect as _0x430155,getConstrainedViewportRect as _0x5603d3}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x379018,View as _0x43c318,clickOutsideHandler as _0x1a9047}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x1990d6}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';function _0x1bf4(_0x393de5,_0x1d3f7b){const _0x3ba221=_0x3ba2();return _0x1bf4=function(_0x1bf4c9,_0x2744b7){_0x1bf4c9=_0x1bf4c9-0x143;let _0x4664d6=_0x3ba221[_0x1bf4c9];return _0x4664d6;},_0x1bf4(_0x393de5,_0x1d3f7b);}export class AIReviewCoreBalloonSuggestionItemView extends _0x379018{[_0x5780e9(0x18a)];[_0x5780e9(0x161)]=void 0x0;[_0x5780e9(0x144)]=void 0x0;[_0x5780e9(0x176)]=void 0x0;constructor(_0xa56621,_0x2dc0fc){const _0x4b772c=_0x5780e9;super(_0xa56621),this[_0x4b772c(0x192)]({'isVisible':!0x1,'position':_0x4b772c(0x150),'class':null,'top':0x0,'left':0x0}),this[_0x4b772c(0x186)]({'tag':_0x4b772c(0x171),'attributes':{'class':[_0x4b772c(0x154)],'tabindex':'-1'}}),this[_0x4b772c(0x192)](_0x4b772c(0x14c),!0x1),this[_0x4b772c(0x17f)][_0x4b772c(0x14b)](this[_0x4b772c(0x190)]()),_0x2dc0fc[_0x4b772c(0x14b)](this);}[_0x5780e9(0x15e)](){const _0x51c1a3=_0x5780e9;super[_0x51c1a3(0x15e)](),this[_0x51c1a3(0x164)]();}[_0x5780e9(0x191)](_0x283d99){const _0x54b87c=_0x5780e9;this[_0x54b87c(0x18a)][_0x54b87c(0x163)]=_0x283d99['id'],this[_0x54b87c(0x18a)][_0x54b87c(0x153)][_0x54b87c(0x188)][_0x54b87c(0x15c)]=_0x283d99[_0x54b87c(0x18e)];}[_0x5780e9(0x159)](_0x59e96f,_0x178450,_0x4de3df,_0x378167,_0x26c5d6,_0x4165df){const _0x41bfbe=_0x5780e9,_0x3df8b4=_0x178450();if(!_0x3df8b4)return;this[_0x41bfbe(0x191)](_0x59e96f),this[_0x41bfbe(0x172)]();const _0x2d9061=Array[_0x41bfbe(0x182)](_0x3df8b4[_0x41bfbe(0x179)]())[_0x41bfbe(0x16f)](),_0x5d5c5e=this[_0x41bfbe(0x15f)](_0x4de3df,_0x2d9061),_0x51b373=_0x2d9061[_0x5d5c5e??0x0];_0x41bfbe(0x166)===_0x378167?(this[_0x41bfbe(0x14c)]=!0x0,this[_0x41bfbe(0x167)]({'target':()=>this[_0x41bfbe(0x170)](_0x178450(),_0x5d5c5e,_0x59e96f['id'],_0x26c5d6,_0x4165df)||_0x51b373})):_0x41bfbe(0x177)===_0x378167&&(this[_0x41bfbe(0x14c)]=!0x1,this[_0x41bfbe(0x167)]({'target':()=>this[_0x41bfbe(0x174)](_0x178450(),_0x5d5c5e,_0x59e96f['id'])||_0x51b373}));}[_0x5780e9(0x145)](){const _0x165753=_0x5780e9;this[_0x165753(0x168)](),this[_0x165753(0x157)](),this[_0x165753(0x161)]=void 0x0,this[_0x165753(0x144)]=void 0x0,this[_0x165753(0x176)]=void 0x0;}[_0x5780e9(0x169)](){const _0x5469be=_0x5780e9;this[_0x5469be(0x18a)][_0x5469be(0x18b)]=!0x1;}[_0x5780e9(0x178)](){const _0x5b818a=_0x5780e9;this[_0x5b818a(0x18a)][_0x5b818a(0x18b)]=!0x0;}[_0x5780e9(0x15d)](){const _0x11f139=_0x5780e9;this[_0x11f139(0x183)](_0x11f139(0x15d),{'origin':_0x11f139(0x16c)});}[_0x5780e9(0x164)](){const _0x44ecaa=_0x5780e9;_0x1a9047({'emitter':this,'activator':()=>this[_0x44ecaa(0x143)],'contextElements':()=>{const _0x2d6c7e=_0x44ecaa,_0x565849=[this[_0x2d6c7e(0x188)]];return this[_0x2d6c7e(0x144)]&&_0x565849[_0x2d6c7e(0x14e)](this[_0x2d6c7e(0x144)]),_0x565849;},'callback':()=>{const _0xe20f04=_0x44ecaa;this[_0xe20f04(0x168)](),this[_0xe20f04(0x157)](),this[_0xe20f04(0x15d)](),this[_0xe20f04(0x144)]=void 0x0,this[_0xe20f04(0x161)]=void 0x0,this[_0xe20f04(0x176)]=void 0x0;}});}[_0x5780e9(0x190)](){const _0x2d30cd=_0x5780e9,_0x487cb3=new _0x43c318();return this[_0x2d30cd(0x18a)]=new _0x1990d6(this[_0x2d30cd(0x155)],''),this[_0x2d30cd(0x18a)][_0x2d30cd(0x153)][_0x2d30cd(0x186)]({'attributes':{'class':[_0x2d30cd(0x17c)]}}),this[_0x2d30cd(0x18a)][_0x2d30cd(0x18f)](_0x2d30cd(0x16a),_0x2d30cd(0x160))['to'](this),_0x487cb3[_0x2d30cd(0x16b)]({'tag':_0x2d30cd(0x171),'attributes':{'class':[_0x2d30cd(0x154),_0x2d30cd(0x18d),this[_0x2d30cd(0x14a)]['if'](_0x2d30cd(0x14c),_0x2d30cd(0x147))]},'children':[{'tag':'p','attributes':{'class':[_0x2d30cd(0x165)]},'children':[this[_0x2d30cd(0x18a)]]}]}),_0x487cb3;}[_0x5780e9(0x170)](_0x34cb24,_0x249159,_0x1c1058,_0x88088a,_0x20cb91){const _0x2ee03a=_0x5780e9;if(!_0x34cb24)return null;const _0x173f01=this[_0x2ee03a(0x15b)][_0x2ee03a(0x149)](_0x2ee03a(0x15a),''),_0x3f2b5d=Array[_0x2ee03a(0x182)](_0x34cb24[_0x2ee03a(0x179)]());let _0x282838,_0x4139bd=_0x3f2b5d[_0x2ee03a(0x16f)]();return void 0x0!==_0x249159&&this[_0x2ee03a(0x17d)](_0x4139bd[_0x249159],_0x88088a,_0x20cb91)?(_0x282838=_0x4139bd[_0x249159],this[_0x2ee03a(0x161)]=_0x249159):this[_0x2ee03a(0x17d)](_0x4139bd[0x0],_0x88088a,_0x20cb91)&&void 0x0===_0x249159?_0x282838=_0x4139bd[0x0]:(_0x4139bd='s'==_0x173f01[0x0]?[..._0x3f2b5d][_0x2ee03a(0x16f)]():_0x3f2b5d,_0x4139bd[_0x2ee03a(0x162)](_0x51b0e0=>{const _0x1073ef=_0x2ee03a;this[_0x1073ef(0x17d)](_0x51b0e0,_0x88088a,_0x20cb91)&&(_0x282838=_0x51b0e0);})),this[_0x2ee03a(0x176)]=_0x1c1058,this[_0x2ee03a(0x144)]=_0x34cb24,_0x282838||_0x34cb24[_0x2ee03a(0x152)]();}[_0x5780e9(0x174)](_0x561f9d,_0x5b2a59,_0x1352ee){const _0xd7509d=_0x5780e9;if(!_0x561f9d)return null;const _0x3a8c6b=Array[_0xd7509d(0x182)](_0x561f9d[_0xd7509d(0x179)]())[_0xd7509d(0x16f)]();if(void 0x0===this[_0xd7509d(0x161)]&&void 0x0!==_0x5b2a59&&this[_0xd7509d(0x176)]!==_0x1352ee)return this[_0xd7509d(0x161)]=_0x5b2a59,this[_0xd7509d(0x144)]=_0x561f9d,this[_0xd7509d(0x176)]=_0x1352ee,_0x3a8c6b[_0x5b2a59];if(void 0x0!==this[_0xd7509d(0x161)]&&this[_0xd7509d(0x176)]===_0x1352ee){if(_0x561f9d!==this[_0xd7509d(0x144)])return Array[_0xd7509d(0x182)](this[_0xd7509d(0x144)][_0xd7509d(0x179)]())[_0xd7509d(0x16f)]()[this[_0xd7509d(0x161)]];return _0x3a8c6b[this[_0xd7509d(0x161)]];}return void 0x0!==_0x5b2a59&&this[_0xd7509d(0x176)]!==_0x1352ee?(this[_0xd7509d(0x161)]=_0x5b2a59,this[_0xd7509d(0x144)]=_0x561f9d,this[_0xd7509d(0x176)]=_0x1352ee,_0x3a8c6b[_0x5b2a59]):_0x561f9d[_0xd7509d(0x152)]();}[_0x5780e9(0x15f)](_0x425e7a,_0x54f8bc){const _0x5146aa=_0x5780e9;if(_0x425e7a)for(let _0x2ff2c4=0x0;_0x2ff2c4<_0x54f8bc[_0x5146aa(0x14d)];_0x2ff2c4++){const _0x21ca94=_0x54f8bc[_0x2ff2c4];if(_0x425e7a[_0x5146aa(0x146)]>=_0x21ca94[_0x5146aa(0x180)]-0x3&&_0x425e7a[_0x5146aa(0x146)]<=_0x21ca94[_0x5146aa(0x189)]+0x3&&_0x425e7a[_0x5146aa(0x173)]>=_0x21ca94[_0x5146aa(0x16d)]-0x3&&_0x425e7a[_0x5146aa(0x173)]<=_0x21ca94[_0x5146aa(0x17b)]+0x3)return _0x2ff2c4;}}[_0x5780e9(0x17d)](_0x43f8ab,_0x1c1a3e,_0xbb208b){const _0x12d0ff=_0x5780e9,_0x3444eb=new _0x430155(_0x43f8ab),_0x25f111=_0x1c1a3e||document[_0x12d0ff(0x185)],_0x4a2d94=_0x3444eb[_0x12d0ff(0x158)](_0x5603d3(_0xbb208b)),_0x3790ad=new _0x430155(_0x25f111)[_0x12d0ff(0x158)](_0x3444eb);return!!(_0x4a2d94&&_0x3790ad&&_0x3444eb[_0x12d0ff(0x175)]>0x0);}}function _0x3ba2(){const _0x292bc5=['reverse','_getBestRectPositionOnClick','div','show','clientY','_getBestRectPositionOnHover','width','_pinnedTargetChangeId','hover','showDiffInBalloon','getClientRects','2206368PBORit','bottom','ck-content','_isPinnedRectVisible','7WRgIxq','content','left','2901942guKdnz','from','fire','2skDlPn','documentElement','extendTemplate','5Mvjyel','element','right','resultItemView','showDiff','4070hNBBJr','ck-ai_review-balloon-panel-suggestion','contentDiffed','delegate','_createContentView','updateContent','set','isVisible','_pinnedTargetElement','hideBalloon','clientX','ck-ai_review-balloon-panel-suggestion_diff-active','4995800cJjKfK','replace','bindTemplate','add','isDiffActive','length','push','63594bMZBVs','arrow_se','2104131IOODCx','getBoundingClientRect','resultResponseView','ck-reset','locale','10299uGGtEP','unpin','getIntersection','showBalloon','arrow_','position','innerHTML','deactivateChange','render','_getPointedRectIndexFromEvent','dismissChange','_pinnedRectIndex','forEach','changeId','_setupClickOutsideHandler','ck-ai_review__suggestion-text','click','pin','hide','hideDiffInBalloon','acceptChange','setTemplate','balloon','top','49423YqNyZw'];_0x3ba2=function(){return _0x292bc5;};return _0x3ba2();}
23
+ function _0x18b7(_0x591de8,_0x34a7c2){const _0x699c1e=_0x699c();return _0x18b7=function(_0x18b7fa,_0x1c587d){_0x18b7fa=_0x18b7fa-0x144;let _0x1e9b55=_0x699c1e[_0x18b7fa];return _0x1e9b55;},_0x18b7(_0x591de8,_0x34a7c2);}const _0x7cf347=_0x18b7;(function(_0x18c174,_0x4d62d6){const _0x579758=_0x18b7,_0x1a1a8a=_0x18c174();while(!![]){try{const _0x22df47=parseInt(_0x579758(0x147))/0x1*(parseInt(_0x579758(0x16f))/0x2)+parseInt(_0x579758(0x18a))/0x3+parseInt(_0x579758(0x17f))/0x4+-parseInt(_0x579758(0x18b))/0x5+-parseInt(_0x579758(0x18f))/0x6+-parseInt(_0x579758(0x177))/0x7*(parseInt(_0x579758(0x18d))/0x8)+parseInt(_0x579758(0x144))/0x9;if(_0x22df47===_0x4d62d6)break;else _0x1a1a8a['push'](_0x1a1a8a['shift']());}catch(_0x244240){_0x1a1a8a['push'](_0x1a1a8a['shift']());}}}(_0x699c,0xa9d35));import{Rect as _0x5f271b,getConstrainedViewportRect as _0x41fd84}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x32150d,View as _0x3e0f7e,clickOutsideHandler as _0x34a71f}from'ckeditor5/src/ui.js';function _0x699c(){const _0x55089d=['changeId','innerHTML','pin','resultItemView','isDiffActive','2603168kcFpcE','element','getIntersection','render','bottom','div','left','locale','hideBalloon','delegate','showDiff','3751560DmuifT','1708185Tjholf','_setupClickOutsideHandler','7566408iogcRr','right','3339228mDCHQD','_pinnedRectIndex','hover','1841139bZTZjm','hide','fire','216849OnPHHl','balloon','updateContent','dismissChange','click','acceptChange','showBalloon','ck-ai_review__suggestion-text','ck-reset','resultResponseView','_pinnedTargetElement','width','bindTemplate','_getBestRectPositionOnHover','clientX','ck-ai_review-balloon-panel-suggestion','reverse','set','replace','position','top','_getBestRectPositionOnClick','_isPinnedRectVisible','isVisible','clientY','documentElement','forEach','showDiffInBalloon','getClientRects','add','push','arrow_','contentDiffed','deactivateChange','_getPointedRectIndexFromEvent','unpin','ck-content','arrow_se','getBoundingClientRect','_createContentView','4PmYjWb','from','setTemplate','show','_pinnedTargetChangeId','hideDiffInBalloon','length','extendTemplate','7mzghHZ','ck-ai_review-balloon-panel-suggestion_diff-active','content'];_0x699c=function(){return _0x55089d;};return _0x699c();}import{AIReviewCoreReviewCheckListItemResultsView as _0x2f896f}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x32150d{[_0x7cf347(0x17d)];[_0x7cf347(0x190)]=void 0x0;[_0x7cf347(0x151)]=void 0x0;[_0x7cf347(0x173)]=void 0x0;constructor(_0x5c6076,_0x4d1935){const _0x1c46b0=_0x7cf347;super(_0x5c6076),this[_0x1c46b0(0x158)]({'isVisible':!0x1,'position':_0x1c46b0(0x16c),'class':null,'top':0x0,'left':0x0}),this[_0x1c46b0(0x176)]({'tag':_0x1c46b0(0x184),'attributes':{'class':[_0x1c46b0(0x14f)],'tabindex':'-1'}}),this[_0x1c46b0(0x158)](_0x1c46b0(0x17e),!0x1),this[_0x1c46b0(0x179)][_0x1c46b0(0x164)](this[_0x1c46b0(0x16e)]()),_0x4d1935[_0x1c46b0(0x164)](this);}[_0x7cf347(0x182)](){const _0x2758ea=_0x7cf347;super[_0x2758ea(0x182)](),this[_0x2758ea(0x18c)]();}[_0x7cf347(0x149)](_0x5e7816){const _0x11e365=_0x7cf347;this[_0x11e365(0x17d)][_0x11e365(0x17a)]=_0x5e7816['id'],this[_0x11e365(0x17d)][_0x11e365(0x150)][_0x11e365(0x180)][_0x11e365(0x17b)]=_0x5e7816[_0x11e365(0x167)];}[_0x7cf347(0x14d)](_0x2230a9,_0x4a37cc,_0xb647fe,_0x5118a4,_0x3cb197,_0x5cc8a9){const _0x2d5f48=_0x7cf347,_0x2c01c5=_0x4a37cc();if(!_0x2c01c5)return;this[_0x2d5f48(0x149)](_0x2230a9),this[_0x2d5f48(0x172)]();const _0x3b7645=Array[_0x2d5f48(0x170)](_0x2c01c5[_0x2d5f48(0x163)]())[_0x2d5f48(0x157)](),_0x453d48=this[_0x2d5f48(0x169)](_0xb647fe,_0x3b7645),_0x37e9dc=_0x3b7645[_0x453d48??0x0];_0x2d5f48(0x14b)===_0x5118a4?(this[_0x2d5f48(0x17e)]=!0x0,this[_0x2d5f48(0x17c)]({'target':()=>this[_0x2d5f48(0x15c)](_0x4a37cc(),_0x453d48,_0x2230a9['id'],_0x3cb197,_0x5cc8a9)||_0x37e9dc})):_0x2d5f48(0x191)===_0x5118a4&&(this[_0x2d5f48(0x17e)]=!0x1,this[_0x2d5f48(0x17c)]({'target':()=>this[_0x2d5f48(0x154)](_0x4a37cc(),_0x453d48,_0x2230a9['id'])||_0x37e9dc}));}[_0x7cf347(0x187)](){const _0x2f4546=_0x7cf347;this[_0x2f4546(0x145)](),this[_0x2f4546(0x16a)](),this[_0x2f4546(0x190)]=void 0x0,this[_0x2f4546(0x151)]=void 0x0,this[_0x2f4546(0x173)]=void 0x0;}[_0x7cf347(0x174)](){const _0x2a9093=_0x7cf347;this[_0x2a9093(0x17d)][_0x2a9093(0x189)]=!0x1;}[_0x7cf347(0x162)](){const _0x3775e7=_0x7cf347;this[_0x3775e7(0x17d)][_0x3775e7(0x189)]=!0x0;}[_0x7cf347(0x168)](){const _0x4c983d=_0x7cf347;this[_0x4c983d(0x146)](_0x4c983d(0x168),{'origin':_0x4c983d(0x148)});}[_0x7cf347(0x18c)](){const _0x206595=_0x7cf347;_0x34a71f({'emitter':this,'activator':()=>this[_0x206595(0x15e)],'contextElements':()=>{const _0x30240e=_0x206595,_0x117868=[this[_0x30240e(0x180)]];return this[_0x30240e(0x151)]&&_0x117868[_0x30240e(0x165)](this[_0x30240e(0x151)]),_0x117868;},'callback':()=>{const _0x5c87f3=_0x206595;this[_0x5c87f3(0x145)](),this[_0x5c87f3(0x16a)](),this[_0x5c87f3(0x168)](),this[_0x5c87f3(0x151)]=void 0x0,this[_0x5c87f3(0x190)]=void 0x0,this[_0x5c87f3(0x173)]=void 0x0;}});}[_0x7cf347(0x16e)](){const _0x23d51b=_0x7cf347,_0x35af57=new _0x3e0f7e();return this[_0x23d51b(0x17d)]=new _0x2f896f(this[_0x23d51b(0x186)],''),this[_0x23d51b(0x17d)][_0x23d51b(0x150)][_0x23d51b(0x176)]({'attributes':{'class':[_0x23d51b(0x16b)]}}),this[_0x23d51b(0x17d)][_0x23d51b(0x188)](_0x23d51b(0x14c),_0x23d51b(0x14a))['to'](this),_0x35af57[_0x23d51b(0x171)]({'tag':_0x23d51b(0x184),'attributes':{'class':[_0x23d51b(0x14f),_0x23d51b(0x156),this[_0x23d51b(0x153)]['if'](_0x23d51b(0x17e),_0x23d51b(0x178))]},'children':[{'tag':'p','attributes':{'class':[_0x23d51b(0x14e)]},'children':[this[_0x23d51b(0x17d)]]}]}),_0x35af57;}[_0x7cf347(0x15c)](_0x369db,_0x23b896,_0x273653,_0x302793,_0x8c8219){const _0x427edf=_0x7cf347;if(!_0x369db)return null;const _0x2cb2b3=this[_0x427edf(0x15a)][_0x427edf(0x159)](_0x427edf(0x166),''),_0x3be750=Array[_0x427edf(0x170)](_0x369db[_0x427edf(0x163)]());let _0x166233,_0x50eeaa=_0x3be750[_0x427edf(0x157)]();return void 0x0!==_0x23b896&&this[_0x427edf(0x15d)](_0x50eeaa[_0x23b896],_0x302793,_0x8c8219)?(_0x166233=_0x50eeaa[_0x23b896],this[_0x427edf(0x190)]=_0x23b896):this[_0x427edf(0x15d)](_0x50eeaa[0x0],_0x302793,_0x8c8219)&&void 0x0===_0x23b896?_0x166233=_0x50eeaa[0x0]:(_0x50eeaa='s'==_0x2cb2b3[0x0]?[..._0x3be750][_0x427edf(0x157)]():_0x3be750,_0x50eeaa[_0x427edf(0x161)](_0x5d0fcc=>{const _0x5e592a=_0x427edf;this[_0x5e592a(0x15d)](_0x5d0fcc,_0x302793,_0x8c8219)&&(_0x166233=_0x5d0fcc);})),this[_0x427edf(0x173)]=_0x273653,this[_0x427edf(0x151)]=_0x369db,_0x166233||_0x369db[_0x427edf(0x16d)]();}[_0x7cf347(0x154)](_0x269e3a,_0x3b20a0,_0x3afba9){const _0x4e20a0=_0x7cf347;if(!_0x269e3a)return null;const _0x9e548b=Array[_0x4e20a0(0x170)](_0x269e3a[_0x4e20a0(0x163)]())[_0x4e20a0(0x157)]();if(void 0x0===this[_0x4e20a0(0x190)]&&void 0x0!==_0x3b20a0&&this[_0x4e20a0(0x173)]!==_0x3afba9)return this[_0x4e20a0(0x190)]=_0x3b20a0,this[_0x4e20a0(0x151)]=_0x269e3a,this[_0x4e20a0(0x173)]=_0x3afba9,_0x9e548b[_0x3b20a0];if(void 0x0!==this[_0x4e20a0(0x190)]&&this[_0x4e20a0(0x173)]===_0x3afba9){if(_0x269e3a!==this[_0x4e20a0(0x151)])return Array[_0x4e20a0(0x170)](this[_0x4e20a0(0x151)][_0x4e20a0(0x163)]())[_0x4e20a0(0x157)]()[this[_0x4e20a0(0x190)]];return _0x9e548b[this[_0x4e20a0(0x190)]];}return void 0x0!==_0x3b20a0&&this[_0x4e20a0(0x173)]!==_0x3afba9?(this[_0x4e20a0(0x190)]=_0x3b20a0,this[_0x4e20a0(0x151)]=_0x269e3a,this[_0x4e20a0(0x173)]=_0x3afba9,_0x9e548b[_0x3b20a0]):_0x269e3a[_0x4e20a0(0x16d)]();}[_0x7cf347(0x169)](_0x3485a1,_0x4f3962){const _0x2dbbf2=_0x7cf347;if(_0x3485a1)for(let _0x1e9b98=0x0;_0x1e9b98<_0x4f3962[_0x2dbbf2(0x175)];_0x1e9b98++){const _0x1a3d5c=_0x4f3962[_0x1e9b98];if(_0x3485a1[_0x2dbbf2(0x155)]>=_0x1a3d5c[_0x2dbbf2(0x185)]-0x3&&_0x3485a1[_0x2dbbf2(0x155)]<=_0x1a3d5c[_0x2dbbf2(0x18e)]+0x3&&_0x3485a1[_0x2dbbf2(0x15f)]>=_0x1a3d5c[_0x2dbbf2(0x15b)]-0x3&&_0x3485a1[_0x2dbbf2(0x15f)]<=_0x1a3d5c[_0x2dbbf2(0x183)]+0x3)return _0x1e9b98;}}[_0x7cf347(0x15d)](_0xc8f77f,_0x4b429e,_0xcfda4d){const _0x3d1f20=_0x7cf347,_0x5376c2=new _0x5f271b(_0xc8f77f),_0x53954c=_0x4b429e||document[_0x3d1f20(0x160)],_0x37f7cf=_0x5376c2[_0x3d1f20(0x181)](_0x41fd84(_0xcfda4d)),_0x1bec29=new _0x5f271b(_0x53954c)[_0x3d1f20(0x181)](_0x5376c2);return!!(_0x37f7cf&&_0x1bec29&&_0x5376c2[_0x3d1f20(0x152)]>0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x286e5b=_0x2128;(function(_0x32f895,_0x5e6a05){const _0x349803=_0x2128,_0x39e792=_0x32f895();while(!![]){try{const _0x22ebcd=parseInt(_0x349803(0xa3))/0x1+parseInt(_0x349803(0x98))/0x2+-parseInt(_0x349803(0x84))/0x3+parseInt(_0x349803(0xcb))/0x4*(parseInt(_0x349803(0x88))/0x5)+-parseInt(_0x349803(0xbe))/0x6*(parseInt(_0x349803(0x9c))/0x7)+parseInt(_0x349803(0xa5))/0x8*(parseInt(_0x349803(0xa8))/0x9)+-parseInt(_0x349803(0xc2))/0xa;if(_0x22ebcd===_0x5e6a05)break;else _0x39e792['push'](_0x39e792['shift']());}catch(_0x2c9e85){_0x39e792['push'](_0x39e792['shift']());}}}(_0x1a2c,0xc8e57));import{View as _0x2ade8a,ButtonView as _0x3da62c}from'ckeditor5/src/ui.js';import{IconInfo as _0x4d50db,IconCheck as _0x3d0523,IconCancel as _0x526a3d,IconOutdated as _0x3cbe48}from'ckeditor5/src/icons.js';function _0x1a2c(){const _0x393da0=['6AjqYnw','dismissChange','ck-ai_review__check-run-result-footer','AI_REVIEW_MODE_LEARN_MORE','1098060uBxShJ','ck-ai-button-tertiary','mouseover','setItemAsActive','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','bindTemplate','extendTemplate','_createInfoButtonView','pending','4XmSzET','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','outdated','ck-hidden','execute','acceptChange','ck-ai_review__check-run-result-action-buttons','isEnabled','locale','1114584mQrzuu','tagName','isOn','accepted','1171015pXSpDx','dismissButtonView','ck-ai_review__check-run-result-response','deactivateChange','bind','ck-ai_review__check-run-result_active','rejected','ck-ai_review__check-run-result-accept-button','target','ck-reset_all-excluded','setItemAsInactive','ck-ai-button-secondary','resultResponseView','hover','AI_REVIEW_MODE_ACCEPT_CHANGE','div','692896rieFaW','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','mouseout','ck-content','4323424Gybaec','acceptButtonView','showDiff','change:status','ck-ai_review__check-run-result-dismiss-button','panel','label','764219hzywid','set','4615736ySBqRA','AI_REVIEW_MODE_DISMISS_CHANGE','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','9oSgyFP','status','stopPropagation','ck-ai_review__check-run-result','outdatedButtonView','icon','isInfoToggleOn','changeId','disabled','preventDefault','activateChange','fire','infoButtonView','isActive','_createAcceptButtonView','setTemplate','_createOutdatedButtonView','click','menuitemcheckbox','ck-ai_review__check-run-result-status-button','_createDismissButtonView','_createResultResponseView'];_0x1a2c=function(){return _0x393da0;};return _0x1a2c();}import{getTranslation as _0x25766c}from'../../aicore/utils/common-translations.js';function _0x2128(_0x2d8573,_0x55c40b){const _0x1a2c10=_0x1a2c();return _0x2128=function(_0x21287e,_0x261301){_0x21287e=_0x21287e-0x81;let _0x5c248b=_0x1a2c10[_0x21287e];return _0x5c248b;},_0x2128(_0x2d8573,_0x55c40b);}export class AIReviewCoreReviewCheckListItemResultsView extends _0x2ade8a{[_0x286e5b(0x94)];[_0x286e5b(0x9d)];[_0x286e5b(0x89)];[_0x286e5b(0xb4)];[_0x286e5b(0xac)];constructor(_0x51196b,_0x4cc022){const _0x5b0c14=_0x286e5b;super(_0x51196b),this['id']=_0x4cc022,this[_0x5b0c14(0xa4)](_0x5b0c14(0xa9),_0x5b0c14(0xca)),this[_0x5b0c14(0xa4)](_0x5b0c14(0xaf),_0x4cc022),this[_0x5b0c14(0x94)]=this[_0x5b0c14(0xbd)](),this[_0x5b0c14(0x9d)]=this[_0x5b0c14(0xb6)](),this[_0x5b0c14(0x89)]=this[_0x5b0c14(0xbc)](),this[_0x5b0c14(0xb4)]=this[_0x5b0c14(0xc9)](),this[_0x5b0c14(0xac)]=this[_0x5b0c14(0xb8)](),this[_0x5b0c14(0xa4)](_0x5b0c14(0xae),!0x1),this[_0x5b0c14(0xa4)](_0x5b0c14(0xb5),!0x1),this[_0x5b0c14(0xa4)](_0x5b0c14(0x9e),!0x0),this[_0x5b0c14(0xb7)]({'tag':_0x5b0c14(0x97),'attributes':{'class':[_0x5b0c14(0xab),this[_0x5b0c14(0xc7)]['if'](_0x5b0c14(0xb5),_0x5b0c14(0x8d))]},'on':{'click':this[_0x5b0c14(0xc7)]['to'](_0x5b0c14(0xb9)),'mouseover':this[_0x5b0c14(0xc7)]['to'](_0x5b0c14(0xc4)),'mouseout':this[_0x5b0c14(0xc7)]['to'](_0x5b0c14(0x9a))},'children':[this[_0x5b0c14(0x94)],{'tag':_0x5b0c14(0x97),'attributes':{'class':[_0x5b0c14(0xc0)]},'children':[{'tag':_0x5b0c14(0x97),'attributes':{'class':[_0x5b0c14(0x81)]},'children':[this[_0x5b0c14(0x9d)],this[_0x5b0c14(0x89)],this[_0x5b0c14(0xac)]]},this[_0x5b0c14(0xb4)]]}]}),this['on'](_0x5b0c14(0xb9),(_0x162844,_0x2457ed)=>{const _0x183c4e=_0x5b0c14;_0x2457ed&&_0x2457ed[_0x183c4e(0x90)]&&'A'===_0x2457ed[_0x183c4e(0x90)][_0x183c4e(0x85)]&&_0x2457ed[_0x183c4e(0xb1)](),this[_0x183c4e(0xb3)](_0x183c4e(0xb2),{'id':_0x4cc022,'source':this,'uiInteraction':_0x183c4e(0xb9)});}),this['on'](_0x5b0c14(0xc4),()=>{const _0x54da4c=_0x5b0c14;this[_0x54da4c(0xb3)](_0x54da4c(0xb2),{'id':_0x4cc022,'source':this,'uiInteraction':_0x54da4c(0x95)});}),this['on'](_0x5b0c14(0x9a),()=>{const _0x5dd50b=_0x5b0c14;this[_0x5dd50b(0xb3)](_0x5dd50b(0x8b),{'origin':_0x5dd50b(0xa1),'id':_0x4cc022,'source':this});});}[_0x286e5b(0xc5)](){const _0x1b6404=_0x286e5b;this[_0x1b6404(0xb5)]=!0x0;}[_0x286e5b(0x92)](){const _0x48f922=_0x286e5b;this[_0x48f922(0xb5)]=!0x1;}[_0x286e5b(0xbd)](){const _0x394aad=_0x286e5b,_0x1b1c54=new _0x2ade8a(this[_0x394aad(0x83)]);return _0x1b1c54[_0x394aad(0xb7)]({'tag':_0x394aad(0x97),'attributes':{'class':['ck',_0x394aad(0x9b),_0x394aad(0x91),_0x394aad(0x8a),this[_0x394aad(0xc7)]['if'](_0x394aad(0x9e),_0x394aad(0xce),_0x20ef7f=>!_0x20ef7f)]}}),_0x1b1c54;}[_0x286e5b(0xb6)](){const _0x3e93ad=_0x286e5b,_0x30e303=new _0x3da62c(this[_0x3e93ad(0x83)]);return _0x30e303[_0x3e93ad(0xa4)]({'label':_0x25766c(this[_0x3e93ad(0x83)],_0x3e93ad(0x96)),'withText':!0x0}),_0x30e303[_0x3e93ad(0xc8)]({'on':{'click':this[_0x3e93ad(0xc7)]['to'](_0x28fdc8=>{const _0x2b08eb=_0x3e93ad;this[_0x2b08eb(0xb3)](_0x2b08eb(0xd0),{'id':this[_0x2b08eb(0xaf)]}),_0x28fdc8[_0x2b08eb(0xaa)]();})},'attributes':{'class':[_0x3e93ad(0x93),_0x3e93ad(0x8f),this[_0x3e93ad(0xc7)]['if'](_0x3e93ad(0xa9),_0x3e93ad(0xce),_0x152cc2=>_0x3e93ad(0xca)!==_0x152cc2&&_0x3e93ad(0x87)!==_0x152cc2),this[_0x3e93ad(0xc7)]['if'](_0x3e93ad(0xa9),_0x3e93ad(0x8f),_0x338b58=>_0x3e93ad(0xca)===_0x338b58),this[_0x3e93ad(0xc7)]['if'](_0x3e93ad(0xa9),_0x3e93ad(0xbb),_0x14b882=>_0x3e93ad(0x87)===_0x14b882)]}}),this['on'](_0x3e93ad(0x9f),(_0x288239,_0x5763ad,_0x407f96)=>{const _0x240fa4=_0x3e93ad;_0x30e303[_0x240fa4(0x82)]=_0x240fa4(0xca)===_0x407f96,_0x240fa4(0x87)===_0x407f96&&(_0x30e303[_0x240fa4(0xa2)]=_0x25766c(this[_0x240fa4(0x83)],_0x240fa4(0xc6)),_0x30e303[_0x240fa4(0xad)]=_0x3d0523);}),_0x30e303;}[_0x286e5b(0xbc)](){const _0x18c524=_0x286e5b,_0x1ed1a6=new _0x3da62c(this[_0x18c524(0x83)]);return _0x1ed1a6[_0x18c524(0xa4)]({'label':_0x25766c(this[_0x18c524(0x83)],_0x18c524(0xa6)),'withText':!0x0}),_0x1ed1a6[_0x18c524(0xc8)]({'on':{'click':this[_0x18c524(0xc7)]['to'](_0x3fc9e4=>{const _0x3bdf54=_0x18c524;this[_0x3bdf54(0xb3)](_0x3bdf54(0xbf),{'id':this[_0x3bdf54(0xaf)]}),_0x3fc9e4[_0x3bdf54(0xaa)]();})},'attributes':{'class':[_0x18c524(0xc3),this[_0x18c524(0xc7)]['if'](_0x18c524(0xa9),_0x18c524(0xce),_0x213918=>_0x18c524(0xca)!==_0x213918&&_0x18c524(0x8e)!==_0x213918),this[_0x18c524(0xc7)]['if'](_0x18c524(0xa9),_0x18c524(0xa0),_0x470796=>_0x18c524(0xca)===_0x470796),this[_0x18c524(0xc7)]['if'](_0x18c524(0xa9),_0x18c524(0xbb),_0x44a0b8=>_0x18c524(0x8e)===_0x44a0b8)]}}),this['on'](_0x18c524(0x9f),(_0x3aa209,_0x47d6cd,_0x4d55e7)=>{const _0x18db7f=_0x18c524;_0x1ed1a6[_0x18db7f(0x82)]=_0x18db7f(0xca)===_0x4d55e7,_0x18db7f(0x8e)===_0x4d55e7&&(_0x1ed1a6[_0x18db7f(0xa2)]=_0x25766c(this[_0x18db7f(0x83)],_0x18db7f(0x99)),_0x1ed1a6[_0x18db7f(0xad)]=_0x526a3d);}),_0x1ed1a6;}[_0x286e5b(0xc9)](){const _0x1185c5=_0x286e5b,_0x222870=new _0x3da62c(this[_0x1185c5(0x83)]);return _0x222870[_0x1185c5(0xa4)]({'label':_0x25766c(this[_0x1185c5(0x83)],_0x1185c5(0xc1)),'icon':_0x4d50db,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x1185c5(0xba),'class':_0x1185c5(0xa7)}),_0x222870[_0x1185c5(0x8c)](_0x1185c5(0x86))['to'](this,_0x1185c5(0xae),_0x4553b0=>_0x4553b0),_0x222870['on'](_0x1185c5(0xcf),()=>{const _0x241066=_0x1185c5;this[_0x241066(0xae)]=!this[_0x241066(0xae)];}),_0x222870;}[_0x286e5b(0xb8)](){const _0x3a303b=_0x286e5b,_0x1805f3=new _0x3da62c(this[_0x3a303b(0x83)]);return _0x1805f3[_0x3a303b(0xa4)]({'label':_0x25766c(this[_0x3a303b(0x83)],_0x3a303b(0xcc)),'icon':_0x3cbe48,'withText':!0x0,'isEnabled':!0x1}),_0x1805f3[_0x3a303b(0xc8)]({'attributes':{'class':[_0x3a303b(0x93),_0x3a303b(0xbb),this[_0x3a303b(0xc7)]['if'](_0x3a303b(0xa9),_0x3a303b(0xce),_0x370510=>_0x3a303b(0xcd)!==_0x370510)],'disabled':_0x3a303b(0xb0)}}),_0x1805f3;}}
23
+ const _0x54bc2d=_0x3cbd;function _0x3cbd(_0xde0bac,_0x2d284b){const _0x38b6cd=_0x38b6();return _0x3cbd=function(_0x3cbdda,_0x556f03){_0x3cbdda=_0x3cbdda-0xf5;let _0x3d9855=_0x38b6cd[_0x3cbdda];return _0x3d9855;},_0x3cbd(_0xde0bac,_0x2d284b);}(function(_0x48b839,_0x4474d1){const _0x31a936=_0x3cbd,_0x2fbee6=_0x48b839();while(!![]){try{const _0x434501=parseInt(_0x31a936(0x132))/0x1+-parseInt(_0x31a936(0x128))/0x2+parseInt(_0x31a936(0x131))/0x3+-parseInt(_0x31a936(0x134))/0x4+parseInt(_0x31a936(0x101))/0x5*(parseInt(_0x31a936(0x133))/0x6)+-parseInt(_0x31a936(0xf9))/0x7*(-parseInt(_0x31a936(0x112))/0x8)+-parseInt(_0x31a936(0x108))/0x9;if(_0x434501===_0x4474d1)break;else _0x2fbee6['push'](_0x2fbee6['shift']());}catch(_0x305cc8){_0x2fbee6['push'](_0x2fbee6['shift']());}}}(_0x38b6,0x49300));import{View as _0x1c30a7,ButtonView as _0x36d778}from'ckeditor5/src/ui.js';import{IconInfo as _0x900c83,IconCheck as _0x1fd555,IconCancel as _0x444aa1,IconOutdated as _0x1c5c70}from'ckeditor5/src/icons.js';function _0x38b6(){const _0x1005d2=['click','icon','showDiff','mouseout','2008DZYOWY','outdatedButtonView','accepted','change:status','deactivateChange','ck-reset_all-excluded','AI_REVIEW_MODE_DISMISS_CHANGE','ck-ai-button-secondary','bindTemplate','outdated','setItemAsActive','isActive','_createInfoButtonView','activateChange','extendTemplate','ck-ai_review__check-run-result','setItemAsInactive','isEnabled','acceptChange','_createDismissButtonView','dismissChange','execute','1009736WyEpse','_createAcceptButtonView','infoButtonView','ck-ai_review__check-run-result-status-button','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','AI_REVIEW_MODE_ACCEPT_CHANGE','hover','isOn','locale','1126260VhvZiX','139374sODkok','3360540OSDoKv','166500MoeQJs','stopPropagation','ck-content','ck-ai_review__check-run-result-footer','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','ck-ai_review__check-run-result-action-buttons','ck-ai_review__check-run-result_active','ck-ai_review__check-run-result-response','changeId','isInfoToggleOn','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','set','div','AI_REVIEW_MODE_LEARN_MORE','dismissButtonView','ck-ai_review__check-run-result-accept-button','resultResponseView','acceptButtonView','bind','ck-hidden','9044cBfTLN','status','ck-ai_review__check-run-result-dismiss-button','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','disabled','rejected','_createResultResponseView','mouseover','5wkaOPM','ck-ai-button-tertiary','label','target','_createOutdatedButtonView','pending','setTemplate','4976163PMJrZq','panel','tagName','menuitemcheckbox','preventDefault','fire'];_0x38b6=function(){return _0x1005d2;};return _0x38b6();}import{getTranslation as _0x2f9f74}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x1c30a7{[_0x54bc2d(0xf5)];[_0x54bc2d(0xf6)];[_0x54bc2d(0x142)];[_0x54bc2d(0x12a)];[_0x54bc2d(0x113)];constructor(_0x4a57b1,_0x2ff1ba){const _0x431bb3=_0x54bc2d;super(_0x4a57b1),this['id']=_0x2ff1ba,this[_0x431bb3(0x13f)](_0x431bb3(0xfa),_0x431bb3(0x106)),this[_0x431bb3(0x13f)](_0x431bb3(0x13c),_0x2ff1ba),this[_0x431bb3(0xf5)]=this[_0x431bb3(0xff)](),this[_0x431bb3(0xf6)]=this[_0x431bb3(0x129)](),this[_0x431bb3(0x142)]=this[_0x431bb3(0x125)](),this[_0x431bb3(0x12a)]=this[_0x431bb3(0x11e)](),this[_0x431bb3(0x113)]=this[_0x431bb3(0x105)](),this[_0x431bb3(0x13f)](_0x431bb3(0x13d),!0x1),this[_0x431bb3(0x13f)](_0x431bb3(0x11d),!0x1),this[_0x431bb3(0x13f)](_0x431bb3(0x110),!0x0),this[_0x431bb3(0x107)]({'tag':_0x431bb3(0x140),'attributes':{'class':[_0x431bb3(0x121),this[_0x431bb3(0x11a)]['if'](_0x431bb3(0x11d),_0x431bb3(0x13a))]},'on':{'click':this[_0x431bb3(0x11a)]['to'](_0x431bb3(0x10e)),'mouseover':this[_0x431bb3(0x11a)]['to'](_0x431bb3(0x100)),'mouseout':this[_0x431bb3(0x11a)]['to'](_0x431bb3(0x111))},'children':[this[_0x431bb3(0xf5)],{'tag':_0x431bb3(0x140),'attributes':{'class':[_0x431bb3(0x137)]},'children':[{'tag':_0x431bb3(0x140),'attributes':{'class':[_0x431bb3(0x139)]},'children':[this[_0x431bb3(0xf6)],this[_0x431bb3(0x142)],this[_0x431bb3(0x113)]]},this[_0x431bb3(0x12a)]]}]}),this['on'](_0x431bb3(0x10e),(_0x596f3e,_0x223cdc)=>{const _0x39da50=_0x431bb3;_0x223cdc&&_0x223cdc[_0x39da50(0x104)]&&'A'===_0x223cdc[_0x39da50(0x104)][_0x39da50(0x10a)]&&_0x223cdc[_0x39da50(0x10c)](),this[_0x39da50(0x10d)](_0x39da50(0x11f),{'id':_0x2ff1ba,'source':this,'uiInteraction':_0x39da50(0x10e)});}),this['on'](_0x431bb3(0x100),()=>{const _0x2a956a=_0x431bb3;this[_0x2a956a(0x10d)](_0x2a956a(0x11f),{'id':_0x2ff1ba,'source':this,'uiInteraction':_0x2a956a(0x12e)});}),this['on'](_0x431bb3(0x111),()=>{const _0x24813c=_0x431bb3;this[_0x24813c(0x10d)](_0x24813c(0x116),{'origin':_0x24813c(0x109),'id':_0x2ff1ba,'source':this});});}[_0x54bc2d(0x11c)](){const _0x32cc5d=_0x54bc2d;this[_0x32cc5d(0x11d)]=!0x0;}[_0x54bc2d(0x122)](){const _0x4ba0eb=_0x54bc2d;this[_0x4ba0eb(0x11d)]=!0x1;}[_0x54bc2d(0xff)](){const _0x256819=_0x54bc2d,_0x6d09c0=new _0x1c30a7(this[_0x256819(0x130)]);return _0x6d09c0[_0x256819(0x107)]({'tag':_0x256819(0x140),'attributes':{'class':['ck',_0x256819(0x136),_0x256819(0x117),_0x256819(0x13b),this[_0x256819(0x11a)]['if'](_0x256819(0x110),_0x256819(0xf8),_0x365f0b=>!_0x365f0b)]}}),_0x6d09c0;}[_0x54bc2d(0x129)](){const _0x165fc1=_0x54bc2d,_0x3c9a32=new _0x36d778(this[_0x165fc1(0x130)]);return _0x3c9a32[_0x165fc1(0x13f)]({'label':_0x2f9f74(this[_0x165fc1(0x130)],_0x165fc1(0x12d)),'withText':!0x0}),_0x3c9a32[_0x165fc1(0x120)]({'on':{'click':this[_0x165fc1(0x11a)]['to'](_0x1ae8ab=>{const _0x1acd48=_0x165fc1;this[_0x1acd48(0x10d)](_0x1acd48(0x124),{'id':this[_0x1acd48(0x13c)]}),_0x1ae8ab[_0x1acd48(0x135)]();})},'attributes':{'class':[_0x165fc1(0x119),_0x165fc1(0x143),this[_0x165fc1(0x11a)]['if'](_0x165fc1(0xfa),_0x165fc1(0xf8),_0x5c44b4=>_0x165fc1(0x106)!==_0x5c44b4&&_0x165fc1(0x114)!==_0x5c44b4),this[_0x165fc1(0x11a)]['if'](_0x165fc1(0xfa),_0x165fc1(0x143),_0x50e003=>_0x165fc1(0x106)===_0x50e003),this[_0x165fc1(0x11a)]['if'](_0x165fc1(0xfa),_0x165fc1(0x12b),_0x2bf1e2=>_0x165fc1(0x114)===_0x2bf1e2)]}}),this['on'](_0x165fc1(0x115),(_0xacff83,_0x252beb,_0x142a43)=>{const _0x1f4751=_0x165fc1;_0x3c9a32[_0x1f4751(0x123)]=_0x1f4751(0x106)===_0x142a43,_0x1f4751(0x114)===_0x142a43&&(_0x3c9a32[_0x1f4751(0x103)]=_0x2f9f74(this[_0x1f4751(0x130)],_0x1f4751(0x12c)),_0x3c9a32[_0x1f4751(0x10f)]=_0x1fd555);}),_0x3c9a32;}[_0x54bc2d(0x125)](){const _0x1fd073=_0x54bc2d,_0x602b97=new _0x36d778(this[_0x1fd073(0x130)]);return _0x602b97[_0x1fd073(0x13f)]({'label':_0x2f9f74(this[_0x1fd073(0x130)],_0x1fd073(0x118)),'withText':!0x0}),_0x602b97[_0x1fd073(0x120)]({'on':{'click':this[_0x1fd073(0x11a)]['to'](_0x4c49df=>{const _0x30f82b=_0x1fd073;this[_0x30f82b(0x10d)](_0x30f82b(0x126),{'id':this[_0x30f82b(0x13c)]}),_0x4c49df[_0x30f82b(0x135)]();})},'attributes':{'class':[_0x1fd073(0x102),this[_0x1fd073(0x11a)]['if'](_0x1fd073(0xfa),_0x1fd073(0xf8),_0x24f790=>_0x1fd073(0x106)!==_0x24f790&&_0x1fd073(0xfe)!==_0x24f790),this[_0x1fd073(0x11a)]['if'](_0x1fd073(0xfa),_0x1fd073(0xfb),_0x58385d=>_0x1fd073(0x106)===_0x58385d),this[_0x1fd073(0x11a)]['if'](_0x1fd073(0xfa),_0x1fd073(0x12b),_0x1e2a49=>_0x1fd073(0xfe)===_0x1e2a49)]}}),this['on'](_0x1fd073(0x115),(_0x49254a,_0x25d29e,_0x2948d8)=>{const _0x3b2c4b=_0x1fd073;_0x602b97[_0x3b2c4b(0x123)]=_0x3b2c4b(0x106)===_0x2948d8,_0x3b2c4b(0xfe)===_0x2948d8&&(_0x602b97[_0x3b2c4b(0x103)]=_0x2f9f74(this[_0x3b2c4b(0x130)],_0x3b2c4b(0x13e)),_0x602b97[_0x3b2c4b(0x10f)]=_0x444aa1);}),_0x602b97;}[_0x54bc2d(0x11e)](){const _0x2f4b18=_0x54bc2d,_0x50633c=new _0x36d778(this[_0x2f4b18(0x130)]);return _0x50633c[_0x2f4b18(0x13f)]({'label':_0x2f9f74(this[_0x2f4b18(0x130)],_0x2f4b18(0x141)),'icon':_0x900c83,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x2f4b18(0x10b),'class':_0x2f4b18(0x138)}),_0x50633c[_0x2f4b18(0xf7)](_0x2f4b18(0x12f))['to'](this,_0x2f4b18(0x13d),_0x159ce7=>_0x159ce7),_0x50633c['on'](_0x2f4b18(0x127),()=>{const _0x5a184e=_0x2f4b18;this[_0x5a184e(0x13d)]=!this[_0x5a184e(0x13d)];}),_0x50633c;}[_0x54bc2d(0x105)](){const _0x522e69=_0x54bc2d,_0x3353a0=new _0x36d778(this[_0x522e69(0x130)]);return _0x3353a0[_0x522e69(0x13f)]({'label':_0x2f9f74(this[_0x522e69(0x130)],_0x522e69(0xfc)),'icon':_0x1c5c70,'withText':!0x0,'isEnabled':!0x1}),_0x3353a0[_0x522e69(0x120)]({'attributes':{'class':[_0x522e69(0x119),_0x522e69(0x12b),this[_0x522e69(0x11a)]['if'](_0x522e69(0xfa),_0x522e69(0xf8),_0x34dddc=>_0x522e69(0x11b)!==_0x34dddc)],'disabled':_0x522e69(0xfd)}}),_0x3353a0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x48e604,KeystrokeHandler as _0xecd7ef,FocusTracker as _0x4056f1}from'ckeditor5/src/utils.js';import{View as _0x19862c,ViewCollection as _0x39b58c,ButtonView as _0x4eff33,FormRowView as _0x433579,createDropdown as _0x5731e0,addListToDropdown as _0xa6f5f7,UIModel as _0x4ac607,ButtonLabelView as _0x1e4a05,LabeledFieldView as _0x418839,FocusCycler as _0x12d33e}from'ckeditor5/src/ui.js';import{getTranslation as _0x5639c3}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x58af80}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x19862c{['focusTracker']=new _0x4056f1();['keystrokes']=new _0xecd7ef();['focusCycler'];['_focusables']=new _0x39b58c();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x47f649,_0x5b5136,_0x37c01a=!0x1){super(_0x47f649),this['_check']=_0x5b5136,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x5b5136['defaultModel']?_0x5b5136['defaultModel']['id']:'',this['_defaultLabel']=_0x5b5136['defaultModel']?_0x5b5136['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x418839(this['locale'],()=>new _0x58af80(_0x47f649)),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 _0x48e604(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x37c01a),_0xa6f5f7(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x433579(this['locale'],{'children':[this['promptInputView']]}),new _0x433579(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x5a74be,_0x18a8fc)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x18a8fc()):_0x18a8fc();}),this['focusCycler']=new _0x12d33e({'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'](_0x3511ab=>{this['_focusables']['add'](_0x3511ab),this['focusTracker']['add'](_0x3511ab['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 _0x7511e9 of this['_getFormValidators']()){const _0x299c71=_0x7511e9();if(_0x299c71)return this['promptInputView']['errorText']=_0x299c71,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x5639c3(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x318f3e=new _0x4eff33(this['locale']),t=this['locale']['t'];return _0x318f3e['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x318f3e['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x318f3e;}['_createCancelButtonView'](){const _0x4be161=new _0x4eff33(this['locale']),t=this['locale']['t'];return _0x4be161['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x4be161['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x299bb4=>{_0x299bb4['stopPropagation']();})}}),_0x4be161['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x4be161;}['_setModelList'](_0x3be702){this['_modelSelectionDropdownItems']['clear']();const _0x40c2b0=this['_check']['models'];if(_0x3be702)this['set']('modelDisplayMode','hidden');else{const _0x4794c5=0x1===_0x40c2b0['length'];this['set']('modelDisplayMode',_0x4794c5?'name':'selector');}if(this['resetToDefault'](),_0x40c2b0?.['length']){0x1===_0x40c2b0['length']&&this['set']('activeModelName',_0x40c2b0[0x0]['name']||_0x40c2b0[0x0]['id']);for(const _0x55caa0 of _0x40c2b0){const _0x4fcd1e=new _0x4ac607({'label':_0x55caa0['name'],'withText':!0x0,'role':'menuitemradio','id':_0x55caa0['id'],'model':_0x55caa0});_0x4fcd1e['bind']('isOn')['to'](this,'modelId',_0x25a0b5=>_0x25a0b5===_0x55caa0['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x4fcd1e,'labelView':new ko(this['locale'],_0x55caa0)});}}}['_createModelSelectionDropdown'](){const _0x35487b=_0x5731e0(this['locale']);return _0x35487b['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x35487b['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x35487b['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x4ffedc=>'selector'===_0x4ffedc),this['listenTo'](_0x35487b,'execute',_0x2cb1af=>{this['modelId']=_0x2cb1af['source']['model']['id'],_0x35487b['buttonView']['label']=_0x2cb1af['source']['label'];}),_0x35487b;}['_createModelNameView'](){const _0x386e71=new _o(this['locale']);return _0x386e71['bind']('text')['to'](this,'activeModelName',_0x1f1251=>_0x1f1251??''),_0x386e71['bind']('isVisible')['to'](this,'modelDisplayMode',_0x2beb5b=>'name'===_0x2beb5b),_0x386e71;}['_createActionsFooterView'](){const _0xaa9440=new _0x19862c(this['locale']);return _0xaa9440['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']]}]}),_0xaa9440;}}class _o extends _0x19862c{constructor(_0x469592){super(_0x469592),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x458d5=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x458d5['if']('isVisible','ck-hidden',_0x175b96=>!_0x175b96)]},'children':[{'text':_0x458d5['to']('text')}]});}}class ko extends _0x1e4a05{constructor(_0x4fd2ce,_0x50274d){super();const _0x441b51=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x441b51['to']('style'),'id':_0x441b51['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x441b51['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x50274d['description']||'']}]}]});}}
23
+ import{Collection as _0x375d61,KeystrokeHandler as _0xaf5a08,FocusTracker as _0x34d899}from'ckeditor5/src/utils.js';import{View as _0x5b2147,ViewCollection as _0x3b1287,ButtonView as _0x5eff78,FormRowView as _0x51b4f8,createDropdown as _0x16d9c5,addListToDropdown as _0x331769,UIModel as _0x32d0ce,ButtonLabelView as _0x4404a3,LabeledFieldView as _0x3f8df9,FocusCycler as _0x5ace33}from'ckeditor5/src/ui.js';import{getTranslation as _0x1ab118}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x1b8886}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x5b2147{['focusTracker']=new _0x34d899();['keystrokes']=new _0xaf5a08();['focusCycler'];['_focusables']=new _0x3b1287();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x38fa0f,_0x3b80e4,_0x3e2689=!0x1){super(_0x38fa0f),this['_check']=_0x3b80e4,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x3b80e4['defaultModel']?_0x3b80e4['defaultModel']['id']:'',this['_defaultLabel']=_0x3b80e4['defaultModel']?_0x3b80e4['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x3f8df9(this['locale'],()=>new _0x1b8886(_0x38fa0f)),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 _0x375d61(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x3e2689),_0x331769(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x51b4f8(this['locale'],{'children':[this['promptInputView']]}),new _0x51b4f8(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x4016ba,_0x42f375)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x42f375()):_0x42f375();}),this['focusCycler']=new _0x5ace33({'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'](_0x5c3766=>{this['_focusables']['add'](_0x5c3766),this['focusTracker']['add'](_0x5c3766['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 _0x5caf4f of this['_getFormValidators']()){const _0x46dbc5=_0x5caf4f();if(_0x46dbc5)return this['promptInputView']['errorText']=_0x46dbc5,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x1ab118(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x55e7e3=new _0x5eff78(this['locale']),t=this['locale']['t'];return _0x55e7e3['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x55e7e3['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x55e7e3;}['_createCancelButtonView'](){const _0x47d833=new _0x5eff78(this['locale']),t=this['locale']['t'];return _0x47d833['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x47d833['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x5d092c=>{_0x5d092c['stopPropagation']();})}}),_0x47d833['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x47d833;}['_setModelList'](_0x1476db){this['_modelSelectionDropdownItems']['clear']();const _0x24eca1=this['_check']['models'];if(_0x1476db)this['set']('modelDisplayMode','hidden');else{const _0x3009f5=0x1===_0x24eca1['length'];this['set']('modelDisplayMode',_0x3009f5?'name':'selector');}if(this['resetToDefault'](),_0x24eca1?.['length']){0x1===_0x24eca1['length']&&this['set']('activeModelName',_0x24eca1[0x0]['name']||_0x24eca1[0x0]['id']);for(const _0x551c95 of _0x24eca1){const _0x302f0c=new _0x32d0ce({'label':_0x551c95['name'],'withText':!0x0,'role':'menuitemradio','id':_0x551c95['id'],'model':_0x551c95});_0x302f0c['bind']('isOn')['to'](this,'modelId',_0x4420c8=>_0x4420c8===_0x551c95['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x302f0c,'labelView':new ko(this['locale'],_0x551c95)});}}}['_createModelSelectionDropdown'](){const _0x11ed99=_0x16d9c5(this['locale']);return _0x11ed99['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x11ed99['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x11ed99['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x12698f=>'selector'===_0x12698f),this['listenTo'](_0x11ed99,'execute',_0x395d35=>{this['modelId']=_0x395d35['source']['model']['id'],_0x11ed99['buttonView']['label']=_0x395d35['source']['label'];}),_0x11ed99;}['_createModelNameView'](){const _0x4bfd7c=new _o(this['locale']);return _0x4bfd7c['bind']('text')['to'](this,'activeModelName',_0x5c31f1=>_0x5c31f1??''),_0x4bfd7c['bind']('isVisible')['to'](this,'modelDisplayMode',_0x4623d0=>'name'===_0x4623d0),_0x4bfd7c;}['_createActionsFooterView'](){const _0x3499f1=new _0x5b2147(this['locale']);return _0x3499f1['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']]}]}),_0x3499f1;}}class _o extends _0x5b2147{constructor(_0x223142){super(_0x223142),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x1c94d0=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x1c94d0['if']('isVisible','ck-hidden',_0x49ea46=>!_0x49ea46)]},'children':[{'text':_0x1c94d0['to']('text')}]});}}class ko extends _0x4404a3{constructor(_0xc4bfa1,_0x13eb2d){super();const _0x198d5c=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x198d5c['to']('style'),'id':_0x198d5c['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x198d5c['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x13eb2d['description']||'']}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x33fe(_0xc28ead,_0x915263){var _0x20758a=_0x2075();return _0x33fe=function(_0x33fe6a,_0x45f37d){_0x33fe6a=_0x33fe6a-0x196;var _0x482070=_0x20758a[_0x33fe6a];return _0x482070;},_0x33fe(_0xc28ead,_0x915263);}function _0x2075(){var _0x257c4a=['4dmwsBU','910071RTPoaA','534feDYxa','ck-ai-button-primary','set','5352965TCfXAi','execute','235772xqqzFz','10rRFIiZ','fire','1349336jEPUZR','9205KyXUUu','1824090enRVFq','2617456lsNZHw','finishReview'];_0x2075=function(){return _0x257c4a;};return _0x2075();}(function(_0x27bdba,_0x38ecfb){var _0x22ba2c=_0x33fe,_0x155cd6=_0x27bdba();while(!![]){try{var _0x16d490=-parseInt(_0x22ba2c(0x1a0))/0x1+parseInt(_0x22ba2c(0x197))/0x2+parseInt(_0x22ba2c(0x196))/0x3*(parseInt(_0x22ba2c(0x199))/0x4)+-parseInt(_0x22ba2c(0x19e))/0x5+-parseInt(_0x22ba2c(0x19b))/0x6*(-parseInt(_0x22ba2c(0x1a4))/0x7)+-parseInt(_0x22ba2c(0x1a3))/0x8+-parseInt(_0x22ba2c(0x19a))/0x9*(-parseInt(_0x22ba2c(0x1a1))/0xa);if(_0x16d490===_0x38ecfb)break;else _0x155cd6['push'](_0x155cd6['shift']());}catch(_0x3441b3){_0x155cd6['push'](_0x155cd6['shift']());}}}(_0x2075,0xa11a8));import{ButtonView as _0x4ac3f6}from'ckeditor5/src/ui.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x4ac3f6{constructor(_0x22aa53,_0x573fdc){var _0x1226eb=_0x33fe;super(_0x573fdc),this[_0x1226eb(0x19d)]({'label':_0x22aa53,'withText':!0x0,'class':_0x1226eb(0x19c)}),this['on'](_0x1226eb(0x19f),()=>{var _0x1c4fd9=_0x1226eb;this[_0x1c4fd9(0x1a2)](_0x1c4fd9(0x198));});}}
23
+ (function(_0x342f0d,_0x5758f3){var _0x5d8139=_0x1994,_0x399fcc=_0x342f0d();while(!![]){try{var _0x37797a=-parseInt(_0x5d8139(0xda))/0x1+-parseInt(_0x5d8139(0xd4))/0x2+-parseInt(_0x5d8139(0xd3))/0x3+-parseInt(_0x5d8139(0xd6))/0x4+parseInt(_0x5d8139(0xd8))/0x5*(-parseInt(_0x5d8139(0xdd))/0x6)+-parseInt(_0x5d8139(0xd2))/0x7*(parseInt(_0x5d8139(0xd0))/0x8)+parseInt(_0x5d8139(0xd5))/0x9;if(_0x37797a===_0x5758f3)break;else _0x399fcc['push'](_0x399fcc['shift']());}catch(_0xc9d9ac){_0x399fcc['push'](_0x399fcc['shift']());}}}(_0x2fc0,0x5fc28));function _0x1994(_0x54a291,_0x27ae5b){var _0x2fc0b7=_0x2fc0();return _0x1994=function(_0x19949a,_0x3d3d8e){_0x19949a=_0x19949a-0xd0;var _0x38270a=_0x2fc0b7[_0x19949a];return _0x38270a;},_0x1994(_0x54a291,_0x27ae5b);}import{ButtonView as _0x29b425}from'ckeditor5/src/ui.js';function _0x2fc0(){var _0xdc5c3c=['329RPXkjX','90993mHPQZP','156994FEUsIC','14731326yRPXZC','585248OciJiF','finishReview','2430KSvJmD','set','108384DAsXOZ','execute','fire','1620PRISpK','127632ukTxGZ','ck-ai-button-primary'];_0x2fc0=function(){return _0xdc5c3c;};return _0x2fc0();}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x29b425{constructor(_0x92a191,_0x468e28){var _0x242ac1=_0x1994;super(_0x468e28),this[_0x242ac1(0xd9)]({'label':_0x92a191,'withText':!0x0,'class':_0x242ac1(0xd1)}),this['on'](_0x242ac1(0xdb),()=>{var _0x11dee9=_0x242ac1;this[_0x11dee9(0xdc)](_0x11dee9(0xd7));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1fd8(){const _0x86cf4d=['div','ck-ai_review__general-error-container','ck-hidden','set','243865xQoEEj','24aqPYQJ','isVisible','75392PplDqj','errorMessage','setTemplate','186MuPkuv','3897796aGaTUN','ck\x20ck-ai-notification\x20ck-ai-notification_error','1615840NdTHKD','4AlOtls','bindTemplate','1141030ohHZhe','429282MMnjST','8079900DYIrIW'];_0x1fd8=function(){return _0x86cf4d;};return _0x1fd8();}function _0x44ab(_0x511be6,_0x3dd873){const _0x1fd8bf=_0x1fd8();return _0x44ab=function(_0x44abc7,_0x42b9ed){_0x44abc7=_0x44abc7-0xf5;let _0x46d375=_0x1fd8bf[_0x44abc7];return _0x46d375;},_0x44ab(_0x511be6,_0x3dd873);}(function(_0x6c2c69,_0x223957){const _0x1b81f7=_0x44ab,_0x33b72e=_0x6c2c69();while(!![]){try{const _0x18932b=-parseInt(_0x1b81f7(0xfc))/0x1*(-parseInt(_0x1b81f7(0x106))/0x2)+-parseInt(_0x1b81f7(0x102))/0x3*(parseInt(_0x1b81f7(0xff))/0x4)+parseInt(_0x1b81f7(0x105))/0x5+parseInt(_0x1b81f7(0xf7))/0x6+-parseInt(_0x1b81f7(0x103))/0x7+-parseInt(_0x1b81f7(0xfd))/0x8*(-parseInt(_0x1b81f7(0xf6))/0x9)+parseInt(_0x1b81f7(0xf5))/0xa;if(_0x18932b===_0x223957)break;else _0x33b72e['push'](_0x33b72e['shift']());}catch(_0x541ffb){_0x33b72e['push'](_0x33b72e['shift']());}}}(_0x1fd8,0xa84bd));import{View as _0x40858c}from'ckeditor5/src/ui.js';export class AIReviewCoreGeneralErrorView extends _0x40858c{constructor(_0x2274ff){const _0x593353=_0x44ab;super(_0x2274ff),this[_0x593353(0xfb)](_0x593353(0xfe),!0x1),this[_0x593353(0xfb)](_0x593353(0x100),'');const _0x45026c=this[_0x593353(0x107)];this[_0x593353(0x101)]({'tag':_0x593353(0xf8),'attributes':{'class':['ck',_0x593353(0xf9),_0x45026c['if'](_0x593353(0xfe),_0x593353(0xfa),_0x2227d3=>!_0x2227d3)]},'children':[{'tag':'p','attributes':{'class':_0x593353(0x104)},'children':[{'text':_0x45026c['to'](_0x593353(0x100))}]}]});}}
23
+ (function(_0x49f176,_0x59074c){const _0x248e06=_0x47d8,_0x230cc1=_0x49f176();while(!![]){try{const _0x9fc8f1=parseInt(_0x248e06(0x74))/0x1*(parseInt(_0x248e06(0x79))/0x2)+-parseInt(_0x248e06(0x78))/0x3+parseInt(_0x248e06(0x7e))/0x4*(-parseInt(_0x248e06(0x7b))/0x5)+-parseInt(_0x248e06(0x84))/0x6+-parseInt(_0x248e06(0x85))/0x7+-parseInt(_0x248e06(0x76))/0x8+parseInt(_0x248e06(0x77))/0x9;if(_0x9fc8f1===_0x59074c)break;else _0x230cc1['push'](_0x230cc1['shift']());}catch(_0x34325a){_0x230cc1['push'](_0x230cc1['shift']());}}}(_0x2af7,0xb2f7e));function _0x47d8(_0x4e579f,_0xcfbb83){const _0x2af780=_0x2af7();return _0x47d8=function(_0x47d8d4,_0x5adc08){_0x47d8d4=_0x47d8d4-0x74;let _0x18e819=_0x2af780[_0x47d8d4];return _0x18e819;},_0x47d8(_0x4e579f,_0xcfbb83);}function _0x2af7(){const _0x23a32b=['1553640FnCFjy','3287165tfyfEq','1GxaHlI','isVisible','594664RUKbmz','13467933AUwScS','623859CPCUhs','998174arNrAx','ck-ai_review__general-error-container','1258245LBiStP','set','bindTemplate','4VAnHal','div','setTemplate','errorMessage','ck-hidden','ck\x20ck-ai-notification\x20ck-ai-notification_error'];_0x2af7=function(){return _0x23a32b;};return _0x2af7();}import{View as _0x28ba9f}from'ckeditor5/src/ui.js';export class AIReviewCoreGeneralErrorView extends _0x28ba9f{constructor(_0x168188){const _0x47380d=_0x47d8;super(_0x168188),this[_0x47380d(0x7c)](_0x47380d(0x75),!0x1),this[_0x47380d(0x7c)](_0x47380d(0x81),'');const _0x199c5a=this[_0x47380d(0x7d)];this[_0x47380d(0x80)]({'tag':_0x47380d(0x7f),'attributes':{'class':['ck',_0x47380d(0x7a),_0x199c5a['if'](_0x47380d(0x75),_0x47380d(0x82),_0x210b6d=>!_0x210b6d)]},'children':[{'tag':'p','attributes':{'class':_0x47380d(0x83)},'children':[{'text':_0x199c5a['to'](_0x47380d(0x81))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xe083(_0x1b5485,_0xdddbfb){var _0x4e070a=_0x4e07();return _0xe083=function(_0xe0839,_0x281370){_0xe0839=_0xe0839-0xdd;var _0x360649=_0x4e070a[_0xe0839];return _0x360649;},_0xe083(_0x1b5485,_0xdddbfb);}var _0x430166=_0xe083;function _0x4e07(){var _0x4c70cc=['33956120LaVjhx','set','8958439DOCOuQ','extendTemplate','keystrokes','ai-review-prompt-input','352575VbXANQ','maxRows','MAX_ROWS','2353555sqdPKt','isEmpty','update','964428mNSxQq','MIN_ROWS','listenTo','12mEBfLY','1240714rVkLis','element','trim','render','ck-review__prompt-input','value','4958900KMkCZx','minRows'];_0x4e07=function(){return _0x4c70cc;};return _0x4e07();}(function(_0x1ab594,_0x561851){var _0x32620a=_0xe083,_0x65418d=_0x1ab594();while(!![]){try{var _0x4f8e22=parseInt(_0x32620a(0xf3))/0x1+parseInt(_0x32620a(0xdf))/0x2+-parseInt(_0x32620a(0xed))/0x3+parseInt(_0x32620a(0xe5))/0x4+parseInt(_0x32620a(0xf0))/0x5*(parseInt(_0x32620a(0xde))/0x6)+parseInt(_0x32620a(0xe9))/0x7+-parseInt(_0x32620a(0xe7))/0x8;if(_0x4f8e22===_0x561851)break;else _0x65418d['push'](_0x65418d['shift']());}catch(_0x573417){_0x65418d['push'](_0x65418d['shift']());}}}(_0x4e07,0xa6e95));import{TextareaView as _0x505e32}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x409937}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x505e32{[_0x430166(0xeb)];static [_0x430166(0xf4)]=0x1;static [_0x430166(0xef)]=0xc;constructor(_0x152e1c){var _0x1d38dd=_0x430166;super(_0x152e1c),this[_0x1d38dd(0xe8)](_0x1d38dd(0xf1),!0x0),this[_0x1d38dd(0xeb)]=new _0x409937(),this[_0x1d38dd(0xe6)]=AIReviewCorePromptInputView[_0x1d38dd(0xf4)],this[_0x1d38dd(0xee)]=AIReviewCorePromptInputView[_0x1d38dd(0xef)],this[_0x1d38dd(0xea)]({'attributes':{'id':_0x1d38dd(0xec),'class':['ck',_0x1d38dd(0xe3)]}});}[_0x430166(0xe2)](){var _0x38cf4f=_0x430166;super[_0x38cf4f(0xe2)](),this['on'](_0x38cf4f(0xf2),()=>{var _0x3133fa=_0x38cf4f;this[_0x3133fa(0xf1)]=''===this[_0x3133fa(0xe0)][_0x3133fa(0xe4)]?.[_0x3133fa(0xe1)]();}),this[_0x38cf4f(0xeb)][_0x38cf4f(0xdd)](this[_0x38cf4f(0xe0)]);}}
23
+ var _0x397a36=_0x5df2;(function(_0x2eb0d1,_0x3734e9){var _0xc6aad7=_0x5df2,_0x6b47f=_0x2eb0d1();while(!![]){try{var _0x55a866=-parseInt(_0xc6aad7(0x169))/0x1*(-parseInt(_0xc6aad7(0x16f))/0x2)+-parseInt(_0xc6aad7(0x168))/0x3*(-parseInt(_0xc6aad7(0x163))/0x4)+parseInt(_0xc6aad7(0x172))/0x5*(parseInt(_0xc6aad7(0x170))/0x6)+-parseInt(_0xc6aad7(0x176))/0x7+-parseInt(_0xc6aad7(0x15c))/0x8*(parseInt(_0xc6aad7(0x162))/0x9)+parseInt(_0xc6aad7(0x16a))/0xa+parseInt(_0xc6aad7(0x16c))/0xb*(-parseInt(_0xc6aad7(0x15d))/0xc);if(_0x55a866===_0x3734e9)break;else _0x6b47f['push'](_0x6b47f['shift']());}catch(_0x11b494){_0x6b47f['push'](_0x6b47f['shift']());}}}(_0x5507,0x18783));function _0x5507(){var _0x1c579d=['36LMkxAS','listenTo','keystrokes','update','element','9WKscWm','12jUrqsb','ck-review__prompt-input','isEmpty','MAX_ROWS','ai-review-prompt-input','138810Uzgija','1cEPdjd','6160NcrMjX','extendTemplate','97724QJlvWS','trim','maxRows','162566ZePsbm','6QYGLWg','render','502090WLGGFF','value','minRows','MIN_ROWS','1148840tukleT','set','241024BXOyOB'];_0x5507=function(){return _0x1c579d;};return _0x5507();}import{TextareaView as _0x362544}from'ckeditor5/src/ui.js';function _0x5df2(_0x1cc6f2,_0x307f42){var _0x55077f=_0x5507();return _0x5df2=function(_0x5df228,_0x56146e){_0x5df228=_0x5df228-0x15c;var _0x436640=_0x55077f[_0x5df228];return _0x436640;},_0x5df2(_0x1cc6f2,_0x307f42);}import{KeystrokeHandler as _0x362ff5}from'ckeditor5/src/utils.js';export class AIReviewCorePromptInputView extends _0x362544{[_0x397a36(0x15f)];static [_0x397a36(0x175)]=0x1;static [_0x397a36(0x166)]=0xc;constructor(_0x305c08){var _0x5d84af=_0x397a36;super(_0x305c08),this[_0x5d84af(0x177)](_0x5d84af(0x165),!0x0),this[_0x5d84af(0x15f)]=new _0x362ff5(),this[_0x5d84af(0x174)]=AIReviewCorePromptInputView[_0x5d84af(0x175)],this[_0x5d84af(0x16e)]=AIReviewCorePromptInputView[_0x5d84af(0x166)],this[_0x5d84af(0x16b)]({'attributes':{'id':_0x5d84af(0x167),'class':['ck',_0x5d84af(0x164)]}});}[_0x397a36(0x171)](){var _0x124a06=_0x397a36;super[_0x124a06(0x171)](),this['on'](_0x124a06(0x160),()=>{var _0x2b149d=_0x124a06;this[_0x2b149d(0x165)]=''===this[_0x2b149d(0x161)][_0x2b149d(0x173)]?.[_0x2b149d(0x16d)]();}),this[_0x124a06(0x15f)][_0x124a06(0x15e)](this[_0x124a06(0x161)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3dfa(){const _0x356170=['runReviewCheck','348616uZqZqd','delegate','length','427730HWYPXW','_checkViews','isVisible','6392592SXXJHR','entries','setChecks','hasChecks','add','bindTemplate','setTemplate','clear','341MntTsx','5BiLslc','_setupTemplate','resetToDefault','resetAllParameterizedChecks','10984295nknphy','24sRiQbc','div','3QjRlPi','777796zrpvVE','1658332VjdJvj','5483421eMSzpT','ck-hidden','ck-ai_review__check-list','locale'];_0x3dfa=function(){return _0x356170;};return _0x3dfa();}const _0x34e20c=_0x5ed8;(function(_0x504073,_0x3ca3a2){const _0x19fa6f=_0x5ed8,_0x6b3391=_0x504073();while(!![]){try{const _0x398e96=parseInt(_0x19fa6f(0x18d))/0x1+parseInt(_0x19fa6f(0x187))/0x2+-parseInt(_0x19fa6f(0x1a3))/0x3*(parseInt(_0x19fa6f(0x186))/0x4)+-parseInt(_0x19fa6f(0x19c))/0x5*(-parseInt(_0x19fa6f(0x193))/0x6)+-parseInt(_0x19fa6f(0x1a0))/0x7+-parseInt(_0x19fa6f(0x1a1))/0x8*(-parseInt(_0x19fa6f(0x188))/0x9)+parseInt(_0x19fa6f(0x190))/0xa*(-parseInt(_0x19fa6f(0x19b))/0xb);if(_0x398e96===_0x3ca3a2)break;else _0x6b3391['push'](_0x6b3391['shift']());}catch(_0xbd3bb2){_0x6b3391['push'](_0x6b3391['shift']());}}}(_0x3dfa,0xef9b0));function _0x5ed8(_0x213afb,_0x45007b){const _0x3dfa53=_0x3dfa();return _0x5ed8=function(_0x5ed8e5,_0x168a5c){_0x5ed8e5=_0x5ed8e5-0x186;let _0x15ace9=_0x3dfa53[_0x5ed8e5];return _0x15ace9;},_0x5ed8(_0x213afb,_0x45007b);}import{ListItemView as _0x25ae14,ViewCollection as _0xb79289}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x343132}from'./aireviewcorereviewcommandlistitemview.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0x25ae14{[_0x34e20c(0x191)];constructor(_0x448a60){const _0x50cc6e=_0x34e20c;super(_0x448a60),this[_0x50cc6e(0x191)]=new _0xb79289(),this[_0x50cc6e(0x19d)]();}[_0x34e20c(0x195)](_0x28263f,_0x5927c4=!0x1){const _0x3d9585=_0x34e20c;this[_0x3d9585(0x191)][_0x3d9585(0x19a)]();for(const [_0x777db8,_0x472d0f]of _0x28263f[_0x3d9585(0x194)]()){const _0x3108ea=new _0x343132(this[_0x3d9585(0x18b)],_0x472d0f,_0x777db8,_0x5927c4);_0x3108ea[_0x3d9585(0x18e)](_0x3d9585(0x18c))['to'](this),this[_0x3d9585(0x191)][_0x3d9585(0x197)](_0x3108ea);}}[_0x34e20c(0x196)](){const _0x461af8=_0x34e20c;return this[_0x461af8(0x191)][_0x461af8(0x18f)]>0x0;}[_0x34e20c(0x19f)](){const _0x4a17ce=_0x34e20c;for(const _0x305733 of this[_0x4a17ce(0x191)])_0x305733 instanceof _0x343132&&_0x305733[_0x4a17ce(0x19e)]();}[_0x34e20c(0x19d)](){const _0x563b8c=_0x34e20c,_0x4a1567=this[_0x563b8c(0x198)];this[_0x563b8c(0x199)]({'tag':_0x563b8c(0x1a2),'attributes':{'class':[_0x563b8c(0x18a),_0x4a1567['if'](_0x563b8c(0x192),_0x563b8c(0x189),_0x393413=>!_0x393413)]},'children':this[_0x563b8c(0x191)]});}}
23
+ const _0x5c7e2b=_0x5e9e;(function(_0x51f00d,_0x306ad9){const _0x298236=_0x5e9e,_0x354d48=_0x51f00d();while(!![]){try{const _0x285c8d=-parseInt(_0x298236(0x94))/0x1*(-parseInt(_0x298236(0x81))/0x2)+parseInt(_0x298236(0x8a))/0x3+parseInt(_0x298236(0x87))/0x4*(-parseInt(_0x298236(0x7a))/0x5)+-parseInt(_0x298236(0x92))/0x6*(-parseInt(_0x298236(0x79))/0x7)+-parseInt(_0x298236(0x7e))/0x8*(-parseInt(_0x298236(0x95))/0x9)+parseInt(_0x298236(0x8c))/0xa*(parseInt(_0x298236(0x88))/0xb)+-parseInt(_0x298236(0x78))/0xc;if(_0x285c8d===_0x306ad9)break;else _0x354d48['push'](_0x354d48['shift']());}catch(_0x15917c){_0x354d48['push'](_0x354d48['shift']());}}}(_0xc9fa,0x48390));function _0xc9fa(){const _0x424601=['setChecks','ck-hidden','bindTemplate','12iQkAnK','57299CDXzQt','locale','1001508ROEzQS','setTemplate','20yrsTQE','resetAllParameterizedChecks','clear','_checkViews','length','ck-ai_review__check-list','439884EPUSUQ','delegate','1eFVWIw','9qexavI','runReviewCheck','4072596gncLCI','14ITjroO','981820ejtSNI','isVisible','_setupTemplate','resetToDefault','2656440tQGjGV','hasChecks','entries','802724DGBvmV','add','div'];_0xc9fa=function(){return _0x424601;};return _0xc9fa();}import{ListItemView as _0xcba27c,ViewCollection as _0x248ce0}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x482a9e}from'./aireviewcorereviewcommandlistitemview.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';function _0x5e9e(_0x10d7bf,_0x2858ea){const _0xc9fade=_0xc9fa();return _0x5e9e=function(_0x5e9e64,_0x82dfa3){_0x5e9e64=_0x5e9e64-0x77;let _0x1213d4=_0xc9fade[_0x5e9e64];return _0x1213d4;},_0x5e9e(_0x10d7bf,_0x2858ea);}export class AIReviewCoreReviewCheckListView extends _0xcba27c{[_0x5c7e2b(0x8f)];constructor(_0x26ec7d){const _0x1552f6=_0x5c7e2b;super(_0x26ec7d),this[_0x1552f6(0x8f)]=new _0x248ce0(),this[_0x1552f6(0x7c)]();}[_0x5c7e2b(0x84)](_0x30cadf,_0x23834f=!0x1){const _0x2907a8=_0x5c7e2b;this[_0x2907a8(0x8f)][_0x2907a8(0x8e)]();for(const [_0x133cbf,_0x5579e5]of _0x30cadf[_0x2907a8(0x80)]()){const _0x251070=new _0x482a9e(this[_0x2907a8(0x89)],_0x5579e5,_0x133cbf,_0x23834f);_0x251070[_0x2907a8(0x93)](_0x2907a8(0x77))['to'](this),this[_0x2907a8(0x8f)][_0x2907a8(0x82)](_0x251070);}}[_0x5c7e2b(0x7f)](){const _0x5d88f8=_0x5c7e2b;return this[_0x5d88f8(0x8f)][_0x5d88f8(0x90)]>0x0;}[_0x5c7e2b(0x8d)](){const _0xe61711=_0x5c7e2b;for(const _0x45cdf8 of this[_0xe61711(0x8f)])_0x45cdf8 instanceof _0x482a9e&&_0x45cdf8[_0xe61711(0x7d)]();}[_0x5c7e2b(0x7c)](){const _0x10be06=_0x5c7e2b,_0x589d4a=this[_0x10be06(0x86)];this[_0x10be06(0x8b)]({'tag':_0x10be06(0x83),'attributes':{'class':[_0x10be06(0x91),_0x589d4a['if'](_0x10be06(0x7b),_0x10be06(0x85),_0x2ed630=>!_0x2ed630)]},'children':this[_0x10be06(0x8f)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x499d6c,IconView as _0x2bbb4,View as _0x3182df,ViewCollection as _0x36d671,ButtonView as _0xd5f48f,clickOutsideHandler as _0x31849f}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x526443}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as _0x5ee012}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x46d961}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x499d6c{['_formItemsCollection']=new _0x36d671();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x4b1f69,_0xd7a33b,_0x32e35c,_0x375a9f=!0x1){super(_0x4b1f69),this['_hideModels']=_0x375a9f,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0xd7a33b['isParameterized']);const _0xa2c296=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',_0x2839e7=>_0x2839e7),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x34b126=>_0x34b126)],'style':{'--ck-ai-review-check-list-item-index':_0x32e35c}},'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':_0xd7a33b['title']}]},_0xa2c296]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0xd7a33b['description']?[{'text':_0xd7a33b['description']}]:[]}]}]},..._0xd7a33b['isParameterized']?[this['_createParameterizedView'](_0xd7a33b)]:[],...'custom'===_0xd7a33b['id']?[this['_createCustomView'](_0xd7a33b,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0xd7a33b['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0xd7a33b['id'],'args':_0xd7a33b['useArgs']?_0xd7a33b['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x31849f({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x56b3df=>{_0x56b3df['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x2b0e2c=new _0x2bbb4();return _0x2b0e2c['content']=_0x526443,_0x2b0e2c['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x2b0e2c;}['_createParameterizedView'](_0x12272c){const _0x22eec2=new _0x3182df(),_0x4591ab=this['_createFormView'](_0x12272c);return _0x22eec2['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x144f4e=>!_0x144f4e)]},'children':[_0x4591ab]}),_0x22eec2;}['_createFormView'](_0x271938){const _0x914cce=new _0x3182df(),_0x559a63=Array['isArray'](_0x271938['options'])?_0x271938['options']:[],_0xc3ed76=new _0xd5f48f(this['locale']),t=this['locale']['t'];_0xc3ed76['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0xc3ed76['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x10bd6c=>{_0x10bd6c['stopPropagation']();})}}),_0xc3ed76['on']('execute',()=>{const _0xa42e71=[],_0x2fc753={};this['_formItemsCollection']['forEach'](_0x2bca99=>{_0xa42e71['push'](_0x2bca99['value']),_0x271938['useArgs']&&_0x271938['options']&&(_0x2fc753[_0x2bca99['argsKey']]=_0x2bca99['value']);}),this['fire']('runReviewCheck',{'id':_0x271938['id'],'params':_0xa42e71['length']?_0xa42e71:void 0x0,'args':Object['keys'](_0x2fc753)['length']?_0x2fc753:void 0x0});});const _0x55a399=_0x559a63['length'];return _0x559a63['forEach']((_0x3771f9,_0x4d4851)=>{const _0x54538a=_0x4d4851===_0x55a399-0x1;this['_formItemsCollection']['add'](new _0x5ee012(this['locale'],_0x3771f9,_0x54538a?_0xc3ed76:null));}),_0x914cce['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x914cce;}['_createCustomView'](_0x6d2f23,_0x583378=!0x1){return this['_customCheckView']=new _0x46d961(this['locale'],_0x6d2f23,_0x583378),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',_0x85bc7b=>!_0x85bc7b)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x2806c8,_0x7915dc,_0x57b64c)=>{_0x57b64c||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
23
+ import{ListItemView as _0x1d65e0,IconView as _0x439955,View as _0x34ba87,ViewCollection as _0x546357,ButtonView as _0x1a88e0,clickOutsideHandler as _0x1c9931}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x3d8eee}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as tc}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x1ed38a}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0x1d65e0{['_formItemsCollection']=new _0x546357();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x4f929e,_0x378117,_0x225cf6,_0x4bc7e7=!0x1){super(_0x4f929e),this['_hideModels']=_0x4bc7e7,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x378117['isParameterized']);const _0xd58e90=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',_0x52602b=>_0x52602b),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x3892d9=>_0x3892d9)],'style':{'--ck-ai-review-check-list-item-index':_0x225cf6}},'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':_0x378117['title']}]},_0xd58e90]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x378117['description']?[{'text':_0x378117['description']}]:[]}]}]},..._0x378117['isParameterized']?[this['_createParameterizedView'](_0x378117)]:[],...'custom'===_0x378117['id']?[this['_createCustomView'](_0x378117,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x378117['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x378117['id'],'args':_0x378117['useArgs']?_0x378117['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x1c9931({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x38f7ea=>{_0x38f7ea['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x17da89=new _0x439955();return _0x17da89['content']=_0x3d8eee,_0x17da89['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x17da89;}['_createParameterizedView'](_0x422e21){const _0x2f2221=new _0x34ba87(),_0x1b4cce=this['_createFormView'](_0x422e21);return _0x2f2221['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x310a18=>!_0x310a18)]},'children':[_0x1b4cce]}),_0x2f2221;}['_createFormView'](_0x2b51ac){const _0x4add88=new _0x34ba87(),_0x5c47fb=Array['isArray'](_0x2b51ac['options'])?_0x2b51ac['options']:[],_0x154876=new _0x1a88e0(this['locale']),t=this['locale']['t'];_0x154876['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x154876['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x130b49=>{_0x130b49['stopPropagation']();})}}),_0x154876['on']('execute',()=>{const _0x153c8d=[],_0x200286={};this['_formItemsCollection']['forEach'](_0x5c7a24=>{_0x153c8d['push'](_0x5c7a24['value']),_0x2b51ac['useArgs']&&_0x2b51ac['options']&&(_0x200286[_0x5c7a24['argsKey']]=_0x5c7a24['value']);}),this['fire']('runReviewCheck',{'id':_0x2b51ac['id'],'params':_0x153c8d['length']?_0x153c8d:void 0x0,'args':Object['keys'](_0x200286)['length']?_0x200286:void 0x0});});const _0xc08c03=_0x5c47fb['length'];return _0x5c47fb['forEach']((_0x33766d,_0x484c63)=>{const _0x9fcba6=_0x484c63===_0xc08c03-0x1;this['_formItemsCollection']['add'](new tc(this['locale'],_0x33766d,_0x9fcba6?_0x154876:null));}),_0x4add88['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x4add88;}['_createCustomView'](_0xe53a50,_0x5200f4=!0x1){return this['_customCheckView']=new _0x1ed38a(this['locale'],_0xe53a50,_0x5200f4),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',_0xdba6ac=>!_0xdba6ac)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x596d79,_0x17bdaf,_0x374798)=>{_0x374798||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e1b76=_0x44e9;(function(_0x3cfb65,_0x4bb01d){const _0x19fc8b=_0x44e9,_0x3b3047=_0x3cfb65();while(!![]){try{const _0x3ee6b1=-parseInt(_0x19fc8b(0x140))/0x1*(parseInt(_0x19fc8b(0x13f))/0x2)+-parseInt(_0x19fc8b(0x12d))/0x3*(parseInt(_0x19fc8b(0x141))/0x4)+-parseInt(_0x19fc8b(0x12c))/0x5*(-parseInt(_0x19fc8b(0x13d))/0x6)+parseInt(_0x19fc8b(0x146))/0x7*(parseInt(_0x19fc8b(0x134))/0x8)+-parseInt(_0x19fc8b(0x13a))/0x9+parseInt(_0x19fc8b(0x136))/0xa+-parseInt(_0x19fc8b(0x14c))/0xb*(-parseInt(_0x19fc8b(0x14a))/0xc);if(_0x3ee6b1===_0x4bb01d)break;else _0x3b3047['push'](_0x3b3047['shift']());}catch(_0x2b898b){_0x3b3047['push'](_0x3b3047['shift']());}}}(_0x1e01,0xa8c22));import{ListItemView as _0x5f241c,View as _0x414672}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x135155}from'./aireviewcorefinishreviewbuttonview.js';function _0x44e9(_0x52a68d,_0x26495d){const _0x1e01da=_0x1e01();return _0x44e9=function(_0x44e9cc,_0x13ec34){_0x44e9cc=_0x44e9cc-0x12a;let _0x22ad5a=_0x1e01da[_0x44e9cc];return _0x22ad5a;},_0x44e9(_0x52a68d,_0x26495d);}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x5f241c{[_0x3e1b76(0x145)];[_0x3e1b76(0x131)];constructor(_0x48dfc0,_0x232a75){const _0x1e8e9d=_0x3e1b76;super(_0x48dfc0),this[_0x1e8e9d(0x131)]=this[_0x1e8e9d(0x144)](_0x232a75[_0x1e8e9d(0x13c)]),this[_0x1e8e9d(0x145)]=this[_0x1e8e9d(0x149)](_0x232a75[_0x1e8e9d(0x130)]);const _0x34e893=this[_0x1e8e9d(0x143)];this[_0x1e8e9d(0x139)]({'tag':_0x1e8e9d(0x13b),'attributes':{'class':[_0x1e8e9d(0x132),_0x34e893['if'](_0x1e8e9d(0x12f),_0x1e8e9d(0x148),_0x339d1a=>!_0x339d1a)]},'children':[this[_0x1e8e9d(0x145)],{'tag':_0x1e8e9d(0x13b),'attributes':{'class':[_0x1e8e9d(0x133)]},'children':[{'tag':_0x1e8e9d(0x147),'attributes':{'class':[_0x1e8e9d(0x137)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x1e8e9d(0x12b)]},'children':[{'text':_0x232a75[_0x1e8e9d(0x142)]}]}]}]});}[_0x3e1b76(0x144)](_0xaa18d7){const _0x1a127e=_0x3e1b76,_0x18c0de=new _0x135155(_0xaa18d7,this[_0x1a127e(0x13e)]);return _0x18c0de[_0x1a127e(0x135)](_0x1a127e(0x14b))['to'](this),_0x18c0de;}[_0x3e1b76(0x149)](_0x34dc64){const _0x3135ea=_0x3e1b76,_0x15189b=new _0x414672(this[_0x3135ea(0x13e)]);return _0x15189b[_0x3135ea(0x139)]({'tag':_0x3135ea(0x13b),'attributes':{'class':[_0x3135ea(0x12e)]},'children':[{'tag':_0x3135ea(0x147),'attributes':{'class':[_0x3135ea(0x12a)]},'children':[{'text':_0x34dc64}]},{'tag':_0x3135ea(0x13b),'attributes':{'class':[_0x3135ea(0x138)]},'children':[this[_0x3135ea(0x131)]]}]}),_0x15189b;}}function _0x1e01(){const _0x491481=['_finishReviewButtonView','ck-ai_review__review-completed','ck-ai_review__review-completed-content','7104SMdrPk','delegate','7854300CtoqHn','ck-ai_review__review-completed-content-icon','ck-ai_review__review-completed-header-buttons','setTemplate','2778795LBljfk','div','buttonText','174hzlmUf','locale','13334EmzkOl','131RRfMna','4958024GkCYAN','emptyResultsText','bindTemplate','_createFinishReviewButtonView','_resultsHeader','10724jhZpbO','span','ck-hidden','_createResultHeaderView','3693576XIwkct','finishReview','11OTTaxe','ck-ai_review__review-completed-header-title','ck-ai_review__review-completed-content-text','113660tAsuMo','3yEgyaQ','ck-ai_review__review-completed-header','isVisible','headerText'];_0x1e01=function(){return _0x491481;};return _0x1e01();}
23
+ const _0x1c8d8f=_0xbb1c;(function(_0x25b088,_0x118183){const _0xdaa0dc=_0xbb1c,_0x1c6f11=_0x25b088();while(!![]){try{const _0x2a179f=parseInt(_0xdaa0dc(0x1f1))/0x1+parseInt(_0xdaa0dc(0x1f9))/0x2+-parseInt(_0xdaa0dc(0x1ea))/0x3*(-parseInt(_0xdaa0dc(0x1e3))/0x4)+-parseInt(_0xdaa0dc(0x1e5))/0x5+parseInt(_0xdaa0dc(0x1f2))/0x6*(-parseInt(_0xdaa0dc(0x1fd))/0x7)+parseInt(_0xdaa0dc(0x1f5))/0x8*(-parseInt(_0xdaa0dc(0x1ee))/0x9)+parseInt(_0xdaa0dc(0x1e0))/0xa;if(_0x2a179f===_0x118183)break;else _0x1c6f11['push'](_0x1c6f11['shift']());}catch(_0x2ef0a2){_0x1c6f11['push'](_0x1c6f11['shift']());}}}(_0x1ca2,0x2f044));import{ListItemView as _0x4a8e6e,View as _0x49b116}from'ckeditor5/src/ui.js';function _0xbb1c(_0x2c8827,_0x2dbdc1){const _0x1ca29e=_0x1ca2();return _0xbb1c=function(_0xbb1c8a,_0x452907){_0xbb1c8a=_0xbb1c8a-0x1e0;let _0x2eb981=_0x1ca29e[_0xbb1c8a];return _0x2eb981;},_0xbb1c(_0x2c8827,_0x2dbdc1);}import{AIReviewCoreFinishReviewButtonView as _0x5f5adc}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0x1ca2(){const _0x5437c1=['126tlkdAW','ck-hidden','_createResultHeaderView','86767kizblN','6fdKgVF','div','buttonText','104024nRKTKl','headerText','locale','_finishReviewButtonView','14970zxUxWI','emptyResultsText','ck-ai_review__review-completed-content-icon','ck-ai_review__review-completed','1182195vNaigo','setTemplate','_resultsHeader','ck-ai_review__review-completed-content-text','3348600VgMOOT','ck-ai_review__review-completed-header-buttons','ck-ai_review__review-completed-content','56tiDLYV','_createFinishReviewButtonView','1142185ocYvND','finishReview','span','bindTemplate','ck-ai_review__review-completed-header','73464osJPGu','delegate','isVisible','ck-ai_review__review-completed-header-title'];_0x1ca2=function(){return _0x5437c1;};return _0x1ca2();}export class AIReviewCoreReviewCompletedView extends _0x4a8e6e{[_0x1c8d8f(0x1ff)];[_0x1c8d8f(0x1f8)];constructor(_0x18be7e,_0x5a8a65){const _0x56f3a5=_0x1c8d8f;super(_0x18be7e),this[_0x56f3a5(0x1f8)]=this[_0x56f3a5(0x1e4)](_0x5a8a65[_0x56f3a5(0x1f4)]),this[_0x56f3a5(0x1ff)]=this[_0x56f3a5(0x1f0)](_0x5a8a65[_0x56f3a5(0x1f6)]);const _0x526249=this[_0x56f3a5(0x1e8)];this[_0x56f3a5(0x1fe)]({'tag':_0x56f3a5(0x1f3),'attributes':{'class':[_0x56f3a5(0x1fc),_0x526249['if'](_0x56f3a5(0x1ec),_0x56f3a5(0x1ef),_0x4a23c8=>!_0x4a23c8)]},'children':[this[_0x56f3a5(0x1ff)],{'tag':_0x56f3a5(0x1f3),'attributes':{'class':[_0x56f3a5(0x1e2)]},'children':[{'tag':_0x56f3a5(0x1e7),'attributes':{'class':[_0x56f3a5(0x1fb)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x56f3a5(0x200)]},'children':[{'text':_0x5a8a65[_0x56f3a5(0x1fa)]}]}]}]});}[_0x1c8d8f(0x1e4)](_0x1da40f){const _0x39506d=_0x1c8d8f,_0x558b84=new _0x5f5adc(_0x1da40f,this[_0x39506d(0x1f7)]);return _0x558b84[_0x39506d(0x1eb)](_0x39506d(0x1e6))['to'](this),_0x558b84;}[_0x1c8d8f(0x1f0)](_0x39969e){const _0x46fc94=_0x1c8d8f,_0x927b6c=new _0x49b116(this[_0x46fc94(0x1f7)]);return _0x927b6c[_0x46fc94(0x1fe)]({'tag':_0x46fc94(0x1f3),'attributes':{'class':[_0x46fc94(0x1e9)]},'children':[{'tag':_0x46fc94(0x1e7),'attributes':{'class':[_0x46fc94(0x1ed)]},'children':[{'text':_0x39969e}]},{'tag':_0x46fc94(0x1f3),'attributes':{'class':[_0x46fc94(0x1e1)]},'children':[this[_0x46fc94(0x1f8)]]}]}),_0x927b6c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x49b4f3,View as _0x52feda,ViewCollection as _0x29c19b,ButtonView as _0x2bd093}from'ckeditor5/src/ui.js';import{IconStop as _0x513239,IconEye as _0x3f2c2b,IconEyeCrossedOut as _0x4561c}from'ckeditor5/src/icons.js';import{AISkeletonView as _0xeef1ab,SKELETON_DEFINITIONS as _0x514e81}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x38fd2c}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x10aa5d}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x3d6e45}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x4f5a1b}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x659e8e}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x49b4f3{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x3a9f36,_0x31fe0c){super(_0x3a9f36),this['_contents']=_0x31fe0c,this['_resultViews']=new _0x29c19b(),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 _0x38fd2c(_0x3a9f36),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 _0xadcf7b=this['_createCombinedSkeletonLoader'](),_0xc9e30d=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0xc9e30d['if']('isLoading','ck-ai_review__check-run_loading',_0x394d52=>_0x394d52),_0xc9e30d['if']('isResultReady','ck-ai_review__check-run_ready',_0x4be6a2=>_0x4be6a2),_0xc9e30d['if']('isVisible','ck-hidden',_0x12694a=>!_0x12694a)]},'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',_0x5e4bd4=>_0x5e4bd4)]},'children':this['_resultViews']},_0xadcf7b]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x3b1d5d){const _0x3f6217=new _0x4f5a1b(this['locale'],_0x3b1d5d['id']);_0x3f6217['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x3f6217),_0x3f6217['resultResponseView']['element']['innerHTML']=_0x3b1d5d['contentDiffed'];}['hideResult'](_0x1c9e1b,_0x3662d6){if('pending'===_0x3662d6)return;const _0x482dc4=this['_resultViews']['find'](_0x45c76c=>_0x45c76c['id']===_0x1c9e1b);_0x482dc4&&(_0x482dc4['status']=_0x3662d6,_0x482dc4['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x2058d8,_0x28e1ed){if('pending'!==_0x28e1ed)return;const _0x5b05c0=this['_resultViews']['find'](_0xab979f=>_0xab979f['id']===_0x2058d8);_0x5b05c0&&(_0x5b05c0['status']=_0x28e1ed,_0x5b05c0['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x1441bb,_0x2d7435){this['headerTitle']=_0x1441bb,this['headerSubtitle']=_0x2d7435||'';}['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 _0xeef1ab(this['locale'],_0x514e81['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x86de19=new _0x52feda(this['locale']),_0x39215f=[];for(let _0xd86b9f=0x0;_0xd86b9f<0x10;_0xd86b9f++){const _0x38b7f8=this['_createSkeletonLoader']();_0x38b7f8['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x39215f['push'](_0x38b7f8);}return _0x86de19['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x286086=>!_0x286086)]},'children':_0x39215f}),_0x86de19;}['_createErrorView'](){const _0x21f1d1=new _0x52feda(this['locale']),_0x5d89f0=new _0x2bd093(this['locale']),t=this['locale']['t'];return _0x21f1d1['delegate']('retryReview')['to'](this),_0x5d89f0['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x5d89f0['on']('execute',()=>{this['fire']('retryReview');}),_0x21f1d1['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x29e629=>!_0x29e629),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x3955aa=>'chunk'===_0x3955aa)]},'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',_0x579f99=>'chunk'===_0x579f99)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x127421=>'general'!==_0x127421)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x17163c=>'chunk'!==_0x17163c)]},'children':[{'text':_0x10aa5d(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x5d89f0]}),_0x21f1d1;}['_createCancelButtonView'](){const _0x2c2f2f=new _0x2bd093(this['locale']);return _0x2c2f2f['set']({'label':_0x10aa5d(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x513239}),_0x2c2f2f['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x39d2eb=>_0x39d2eb),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x9b55fa=>_0x9b55fa)]}}),_0x2c2f2f['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x2c2f2f;}['_createToggleDiffButtonView'](){const _0x13403c=new _0x2bd093(this['locale']);_0x13403c['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x13403c['bind']('isEnabled')['to'](this,'isError',_0x468029=>!_0x468029),_0x13403c['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x525a9d=>!_0x525a9d),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x34f668=>_0x34f668)]}});const _0x266d8f=_0x10aa5d(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x184414=_0x10aa5d(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x13403c['bind']('isOn')['to'](this,'isToggleDiffOn',_0x214d00=>_0x214d00),_0x13403c['bind']('icon')['to'](this,'isToggleDiffOn',_0x41ba99=>_0x41ba99?_0x3f2c2b:_0x4561c),_0x13403c['bind']('label')['to'](this,'isToggleDiffOn',_0x18399f=>_0x18399f?_0x266d8f:_0x184414),_0x13403c['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x13403c;}['_createAcceptAllButtonView'](){const _0x47e151=new _0x2bd093(this['locale']);return _0x47e151['set']({'label':_0x10aa5d(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x47e151['bind']('isEnabled')['to'](this,'isError',_0x455aa1=>!_0x455aa1),_0x47e151['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x593473=>!_0x593473),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x16032f=>_0x16032f)]}}),_0x47e151['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x47e151;}['_createExitReviewButtonView'](){const _0x5a8dd3=new _0x2bd093(this['locale']);return _0x5a8dd3['set']({'label':_0x10aa5d(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x5a8dd3['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x119fce=>!_0x119fce),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x948fd9=>_0x948fd9)]}}),_0x5a8dd3['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x5a8dd3;}['_createResultHeaderView'](){const _0x111b56=new _0x52feda(this['locale']),_0x3b9b76=this['_createTitleView']();return _0x111b56['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x59fd1d=>_0x59fd1d)]},'children':[_0x3b9b76,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x111b56;}['_createTitleView'](){const _0x3a0085=new _0x52feda(this['locale']),_0x19f21a=new _0x3d6e45();return _0x19f21a['bind']('isVisible')['to'](this,'isResultReady',_0x460923=>!_0x460923),_0x3a0085['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x19f21a,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x176a83=>_0x176a83)]},'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',_0xc9c309=>!_0xc9c309)]},'children':[{'text':_0x10aa5d(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x3a0085;}['_createFinishReviewButtonView'](){const _0x1ac081=new _0x659e8e(_0x10aa5d(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x1ac081['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5330c4=>!_0x5330c4)]}}),_0x1ac081['delegate']('finishReview')['to'](this),_0x1ac081;}}
23
+ import{ListItemView as _0x13f48e,View as _0x5d4144,ViewCollection as _0xf4676a,ButtonView as _0xc5fb07}from'ckeditor5/src/ui.js';import{IconStop as _0x17be42,IconEye as _0x4910de,IconEyeCrossedOut as _0x33b1e1}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x428398,SKELETON_DEFINITIONS as _0x32652d}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x105d40}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x10d8e6}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0xc6cd2f}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0xa760d3}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x10dc89}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x13f48e{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x11873c,_0x2b35f4){super(_0x11873c),this['_contents']=_0x2b35f4,this['_resultViews']=new _0xf4676a(),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 _0x105d40(_0x11873c),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 _0x43c549=this['_createCombinedSkeletonLoader'](),_0x37c0ce=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x37c0ce['if']('isLoading','ck-ai_review__check-run_loading',_0x4cc56e=>_0x4cc56e),_0x37c0ce['if']('isResultReady','ck-ai_review__check-run_ready',_0x329f3e=>_0x329f3e),_0x37c0ce['if']('isVisible','ck-hidden',_0x24f716=>!_0x24f716)]},'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',_0x2302d2=>_0x2302d2)]},'children':this['_resultViews']},_0x43c549]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x473fbd){const _0x3a55ec=new _0xa760d3(this['locale'],_0x473fbd['id']);_0x3a55ec['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x3a55ec),_0x3a55ec['resultResponseView']['element']['innerHTML']=_0x473fbd['contentDiffed'];}['hideResult'](_0x32e3a4,_0x3fcdc5){if('pending'===_0x3fcdc5)return;const _0x30815a=this['_resultViews']['find'](_0x480939=>_0x480939['id']===_0x32e3a4);_0x30815a&&(_0x30815a['status']=_0x3fcdc5,_0x30815a['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x1cd437,_0x4fcf5c){if('pending'!==_0x4fcf5c)return;const _0x2fc894=this['_resultViews']['find'](_0x4b57fe=>_0x4b57fe['id']===_0x1cd437);_0x2fc894&&(_0x2fc894['status']=_0x4fcf5c,_0x2fc894['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x49bf35,_0x4e69da){this['headerTitle']=_0x49bf35,this['headerSubtitle']=_0x4e69da||'';}['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 _0x428398(this['locale'],_0x32652d['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0xc04931=new _0x5d4144(this['locale']),_0xf5447a=[];for(let _0x8db300=0x0;_0x8db300<0x10;_0x8db300++){const _0x3a7d0a=this['_createSkeletonLoader']();_0x3a7d0a['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0xf5447a['push'](_0x3a7d0a);}return _0xc04931['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x5e1c3b=>!_0x5e1c3b)]},'children':_0xf5447a}),_0xc04931;}['_createErrorView'](){const _0x136d12=new _0x5d4144(this['locale']),_0x77da83=new _0xc5fb07(this['locale']),t=this['locale']['t'];return _0x136d12['delegate']('retryReview')['to'](this),_0x77da83['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x77da83['on']('execute',()=>{this['fire']('retryReview');}),_0x136d12['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x118f34=>!_0x118f34),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x4e5e6f=>'chunk'===_0x4e5e6f)]},'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',_0x2dff95=>'chunk'===_0x2dff95)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x448ffd=>'general'!==_0x448ffd)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x48c61f=>'chunk'!==_0x48c61f)]},'children':[{'text':_0x10d8e6(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x77da83]}),_0x136d12;}['_createCancelButtonView'](){const _0x1de4b5=new _0xc5fb07(this['locale']);return _0x1de4b5['set']({'label':_0x10d8e6(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x17be42}),_0x1de4b5['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x9451f0=>_0x9451f0),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x508796=>_0x508796)]}}),_0x1de4b5['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x1de4b5;}['_createToggleDiffButtonView'](){const _0x186f72=new _0xc5fb07(this['locale']);_0x186f72['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x186f72['bind']('isEnabled')['to'](this,'isError',_0x38da80=>!_0x38da80),_0x186f72['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x749f45=>!_0x749f45),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x54cedf=>_0x54cedf)]}});const _0x9ba7f0=_0x10d8e6(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x3927b6=_0x10d8e6(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x186f72['bind']('isOn')['to'](this,'isToggleDiffOn',_0x150942=>_0x150942),_0x186f72['bind']('icon')['to'](this,'isToggleDiffOn',_0x2f05c2=>_0x2f05c2?_0x4910de:_0x33b1e1),_0x186f72['bind']('label')['to'](this,'isToggleDiffOn',_0x376e75=>_0x376e75?_0x9ba7f0:_0x3927b6),_0x186f72['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x186f72;}['_createAcceptAllButtonView'](){const _0x5f0b7d=new _0xc5fb07(this['locale']);return _0x5f0b7d['set']({'label':_0x10d8e6(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x5f0b7d['bind']('isEnabled')['to'](this,'isError',_0x33bc75=>!_0x33bc75),_0x5f0b7d['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x17abee=>!_0x17abee),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x2f3c15=>_0x2f3c15)]}}),_0x5f0b7d['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x5f0b7d;}['_createExitReviewButtonView'](){const _0x367e2e=new _0xc5fb07(this['locale']);return _0x367e2e['set']({'label':_0x10d8e6(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x367e2e['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x38e811=>!_0x38e811),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x234987=>_0x234987)]}}),_0x367e2e['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x367e2e;}['_createResultHeaderView'](){const _0x4907c6=new _0x5d4144(this['locale']),_0xa62846=this['_createTitleView']();return _0x4907c6['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x561ad2=>_0x561ad2)]},'children':[_0xa62846,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x4907c6;}['_createTitleView'](){const _0x34458e=new _0x5d4144(this['locale']),_0x281c76=new _0xc6cd2f();return _0x281c76['bind']('isVisible')['to'](this,'isResultReady',_0x5494b0=>!_0x5494b0),_0x34458e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x281c76,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x277711=>_0x277711)]},'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',_0x1537a3=>!_0x1537a3)]},'children':[{'text':_0x10d8e6(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x34458e;}['_createFinishReviewButtonView'](){const _0x506b63=new _0x10dc89(_0x10d8e6(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x506b63['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x52c9b8=>!_0x52c9b8)]}}),_0x506b63['delegate']('finishReview')['to'](this),_0x506b63;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x68804c=_0x2413;(function(_0x47360c,_0x4b1532){var _0x4c0578=_0x2413,_0x28eb9c=_0x47360c();while(!![]){try{var _0x5a4b6d=-parseInt(_0x4c0578(0x162))/0x1+parseInt(_0x4c0578(0x160))/0x2+-parseInt(_0x4c0578(0x14e))/0x3+-parseInt(_0x4c0578(0x149))/0x4*(parseInt(_0x4c0578(0x163))/0x5)+-parseInt(_0x4c0578(0x147))/0x6*(-parseInt(_0x4c0578(0x157))/0x7)+-parseInt(_0x4c0578(0x168))/0x8+parseInt(_0x4c0578(0x16d))/0x9*(parseInt(_0x4c0578(0x14f))/0xa);if(_0x5a4b6d===_0x4b1532)break;else _0x28eb9c['push'](_0x28eb9c['shift']());}catch(_0x1b39dd){_0x28eb9c['push'](_0x28eb9c['shift']());}}}(_0x1a03,0xed433));import{View as _0x6ba73c}from'ckeditor5/src/ui.js';function _0x1a03(){var _0x45c27e=['isLoading','isResultReady','completed','div','delegate','900574cXoUvf','addResult','1432760RWEhcm','2060Feiqjk','showReviewCheckResultsView','errorMessage','showGeneralErrorMessage','reviewCompletedView','7967376yYNXuD','showChunkErrorMessage','setTemplate','list','generalErrorView','627543fuPVQG','showGeneralReviewCoreErrorView','clearResults','showChunkErrorView','showReviewCompletedView','addCheckRunResult','ck-reset_all','isCompleted','resetErrorState','showGeneralResultsErrorView','reviewCoreHeader','1344wohzGF','hideActionsWhenResultIsReady','13060EFXaPY','showReviewCheckListView','ck-rounded-corners','ck-ai-review','reviewCheckResultsView','1593273KqXQcf','670Dyfibu','ltr','finishReview','isVisible','results','showNoChangesView','set','resetAllParameterizedChecks','4837DKfIBa','showActionsWhenResultIsReady','header','reviewCheckListView'];_0x1a03=function(){return _0x45c27e;};return _0x1a03();}import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x1d56e0}from'../aireviewcoreui.js';function _0x2413(_0x781e2e,_0x309cb3){var _0x1a03d9=_0x1a03();return _0x2413=function(_0x241342,_0x1f3b29){_0x241342=_0x241342-0x13e;var _0x479312=_0x1a03d9[_0x241342];return _0x479312;},_0x2413(_0x781e2e,_0x309cb3);}import{AIReviewCoreGeneralErrorView as _0x427fe2}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x6ba73c{[_0x68804c(0x146)];[_0x68804c(0x16c)];[_0x68804c(0x15a)];[_0x68804c(0x14d)];[_0x68804c(0x167)];constructor(_0x587092,_0x478025){var _0x1a31dd=_0x68804c;super(_0x587092),this[_0x1a31dd(0x146)]=_0x478025[_0x1a31dd(0x159)],this[_0x1a31dd(0x16c)]=new _0x427fe2(_0x587092),this[_0x1a31dd(0x15a)]=_0x478025[_0x1a31dd(0x16b)],this[_0x1a31dd(0x15a)][_0x1a31dd(0x15f)](..._0x1d56e0)['to'](this),this[_0x1a31dd(0x14d)]=_0x478025[_0x1a31dd(0x153)],this[_0x1a31dd(0x14d)][_0x1a31dd(0x15f)](..._0x1d56e0)['to'](this),this[_0x1a31dd(0x167)]=_0x478025[_0x1a31dd(0x15d)],this[_0x1a31dd(0x167)][_0x1a31dd(0x15f)](_0x1a31dd(0x151))['to'](this),this[_0x1a31dd(0x15a)][_0x1a31dd(0x155)](_0x1a31dd(0x152),!0x1),this[_0x1a31dd(0x14d)][_0x1a31dd(0x155)](_0x1a31dd(0x152),!0x1),this[_0x1a31dd(0x14d)][_0x1a31dd(0x155)](_0x1a31dd(0x15b),!0x1),this[_0x1a31dd(0x14d)][_0x1a31dd(0x155)](_0x1a31dd(0x15c),!0x1),this[_0x1a31dd(0x167)][_0x1a31dd(0x155)](_0x1a31dd(0x152),!0x1),this[_0x1a31dd(0x16a)]({'tag':_0x1a31dd(0x15e),'attributes':{'class':['ck',_0x1a31dd(0x142),_0x1a31dd(0x14c),_0x1a31dd(0x14b)],'dir':_0x1a31dd(0x150)},'children':[this[_0x1a31dd(0x146)],this[_0x1a31dd(0x16c)],this[_0x1a31dd(0x15a)],this[_0x1a31dd(0x14d)],this[_0x1a31dd(0x167)]]});}[_0x68804c(0x14a)](){var _0x5c9f54=_0x68804c;this[_0x5c9f54(0x15a)][_0x5c9f54(0x156)](),this[_0x5c9f54(0x15a)][_0x5c9f54(0x155)](_0x5c9f54(0x152),!0x0),this[_0x5c9f54(0x14d)][_0x5c9f54(0x155)](_0x5c9f54(0x152),!0x1),this[_0x5c9f54(0x167)][_0x5c9f54(0x155)](_0x5c9f54(0x152),!0x1);}[_0x68804c(0x164)](){var _0x56977b=_0x68804c;this[_0x56977b(0x148)](),this[_0x56977b(0x14d)][_0x56977b(0x144)](),this[_0x56977b(0x15a)][_0x56977b(0x155)](_0x56977b(0x152),!0x1),this[_0x56977b(0x14d)][_0x56977b(0x155)](_0x56977b(0x152),!0x0),this[_0x56977b(0x14d)][_0x56977b(0x13e)](),this[_0x56977b(0x14d)][_0x56977b(0x155)](_0x56977b(0x15b),!0x0),this[_0x56977b(0x14d)][_0x56977b(0x155)](_0x56977b(0x143),!0x1);}[_0x68804c(0x141)](_0x2d3554){var _0x529922=_0x68804c;this[_0x529922(0x14d)][_0x529922(0x161)](_0x2d3554),this[_0x529922(0x14d)][_0x529922(0x155)](_0x529922(0x15b),!0x1);}[_0x68804c(0x140)](){var _0x49f1be=_0x68804c;this[_0x49f1be(0x14d)][_0x49f1be(0x155)](_0x49f1be(0x152),!0x0),this[_0x49f1be(0x167)][_0x49f1be(0x155)](_0x49f1be(0x152),!0x1),this[_0x49f1be(0x14d)][_0x49f1be(0x155)](_0x49f1be(0x143),!0x0),this[_0x49f1be(0x15a)][_0x49f1be(0x155)](_0x49f1be(0x152),!0x1);}[_0x68804c(0x158)](){var _0x2b7e6e=_0x68804c;this[_0x2b7e6e(0x14d)][_0x2b7e6e(0x15c)]?(this[_0x2b7e6e(0x15a)][_0x2b7e6e(0x155)](_0x2b7e6e(0x152),!0x1),this[_0x2b7e6e(0x14d)][_0x2b7e6e(0x155)](_0x2b7e6e(0x152),!0x0),this[_0x2b7e6e(0x167)][_0x2b7e6e(0x155)](_0x2b7e6e(0x152),!0x1)):this[_0x2b7e6e(0x14d)][_0x2b7e6e(0x15c)]=!0x0;}[_0x68804c(0x154)](){var _0x54cfea=_0x68804c;this[_0x54cfea(0x15a)][_0x54cfea(0x155)](_0x54cfea(0x152),!0x1),this[_0x54cfea(0x14d)][_0x54cfea(0x155)](_0x54cfea(0x152),!0x1),this[_0x54cfea(0x167)][_0x54cfea(0x155)](_0x54cfea(0x152),!0x0);}[_0x68804c(0x148)](){var _0x20a24c=_0x68804c;this[_0x20a24c(0x14d)][_0x20a24c(0x15c)]=!0x1;}[_0x68804c(0x16e)](_0x3e517f){var _0xab2fed=_0x68804c;this[_0xab2fed(0x16c)][_0xab2fed(0x155)](_0xab2fed(0x152),!0x0),this[_0xab2fed(0x16c)][_0xab2fed(0x165)]=_0x3e517f;}[_0x68804c(0x145)](){var _0x38aafc=_0x68804c;this[_0x38aafc(0x14d)][_0x38aafc(0x155)](_0x38aafc(0x15b),!0x1),this[_0x38aafc(0x158)](),this[_0x38aafc(0x14d)][_0x38aafc(0x166)]();}[_0x68804c(0x13f)](){var _0x5cdf39=_0x68804c;this[_0x5cdf39(0x14d)][_0x5cdf39(0x155)](_0x5cdf39(0x15b),!0x1),this[_0x5cdf39(0x158)](),this[_0x5cdf39(0x14d)][_0x5cdf39(0x169)]();}}
23
+ function _0x22ad(_0xfe4f93,_0x15b9f5){var _0x2f23e3=_0x2f23();return _0x22ad=function(_0x22ad5c,_0x403eba){_0x22ad5c=_0x22ad5c-0xd8;var _0x20796c=_0x2f23e3[_0x22ad5c];return _0x20796c;},_0x22ad(_0xfe4f93,_0x15b9f5);}var _0x22e7ba=_0x22ad;(function(_0x4ad0f1,_0x39b03c){var _0x1efd16=_0x22ad,_0x5cdd88=_0x4ad0f1();while(!![]){try{var _0x19fa08=-parseInt(_0x1efd16(0xf1))/0x1+-parseInt(_0x1efd16(0xe1))/0x2+-parseInt(_0x1efd16(0x100))/0x3*(parseInt(_0x1efd16(0xd8))/0x4)+parseInt(_0x1efd16(0xd9))/0x5+-parseInt(_0x1efd16(0xfd))/0x6+parseInt(_0x1efd16(0xe3))/0x7+-parseInt(_0x1efd16(0xed))/0x8*(-parseInt(_0x1efd16(0xff))/0x9);if(_0x19fa08===_0x39b03c)break;else _0x5cdd88['push'](_0x5cdd88['shift']());}catch(_0x59376a){_0x5cdd88['push'](_0x5cdd88['shift']());}}}(_0x2f23,0xd787d));import{View as _0x5b8dae}from'ckeditor5/src/ui.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x560afd}from'../aireviewcoreui.js';function _0x2f23(){var _0x3c08bf=['isResultReady','isVisible','errorMessage','8hTsLbx','reviewCompletedView','hideActionsWhenResultIsReady','delegate','1470853vEXOBV','ck-reset_all','showReviewCheckListView','generalErrorView','reviewCheckListView','isCompleted','header','showGeneralReviewCoreErrorView','resetAllParameterizedChecks','div','completed','showActionsWhenResultIsReady','7211778tuurwa','showGeneralErrorMessage','35852589UXSLnI','714KXZmIS','reviewCoreHeader','addResult','showChunkErrorView','reviewCheckResultsView','addCheckRunResult','isLoading','set','18472BlhopT','4711115dzeaSm','showChunkErrorMessage','ltr','clearResults','results','ck-rounded-corners','showReviewCheckResultsView','finishReview','875936AZQBtq','showReviewCompletedView','1167859GYagYD','ck-ai-review','list','resetErrorState','showGeneralResultsErrorView','showNoChangesView','setTemplate'];_0x2f23=function(){return _0x3c08bf;};return _0x2f23();}import{AIReviewCoreGeneralErrorView as _0x182759}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x5b8dae{[_0x22e7ba(0x101)];[_0x22e7ba(0xf4)];[_0x22e7ba(0xf5)];[_0x22e7ba(0x104)];[_0x22e7ba(0xee)];constructor(_0x1dd857,_0x5b823c){var _0x539cf1=_0x22e7ba;super(_0x1dd857),this[_0x539cf1(0x101)]=_0x5b823c[_0x539cf1(0xf7)],this[_0x539cf1(0xf4)]=new _0x182759(_0x1dd857),this[_0x539cf1(0xf5)]=_0x5b823c[_0x539cf1(0xe5)],this[_0x539cf1(0xf5)][_0x539cf1(0xf0)](..._0x560afd)['to'](this),this[_0x539cf1(0x104)]=_0x5b823c[_0x539cf1(0xdd)],this[_0x539cf1(0x104)][_0x539cf1(0xf0)](..._0x560afd)['to'](this),this[_0x539cf1(0xee)]=_0x5b823c[_0x539cf1(0xfb)],this[_0x539cf1(0xee)][_0x539cf1(0xf0)](_0x539cf1(0xe0))['to'](this),this[_0x539cf1(0xf5)][_0x539cf1(0x107)](_0x539cf1(0xeb),!0x1),this[_0x539cf1(0x104)][_0x539cf1(0x107)](_0x539cf1(0xeb),!0x1),this[_0x539cf1(0x104)][_0x539cf1(0x107)](_0x539cf1(0x106),!0x1),this[_0x539cf1(0x104)][_0x539cf1(0x107)](_0x539cf1(0xea),!0x1),this[_0x539cf1(0xee)][_0x539cf1(0x107)](_0x539cf1(0xeb),!0x1),this[_0x539cf1(0xe9)]({'tag':_0x539cf1(0xfa),'attributes':{'class':['ck',_0x539cf1(0xf2),_0x539cf1(0xe4),_0x539cf1(0xde)],'dir':_0x539cf1(0xdb)},'children':[this[_0x539cf1(0x101)],this[_0x539cf1(0xf4)],this[_0x539cf1(0xf5)],this[_0x539cf1(0x104)],this[_0x539cf1(0xee)]]});}[_0x22e7ba(0xf3)](){var _0x36e0c1=_0x22e7ba;this[_0x36e0c1(0xf5)][_0x36e0c1(0xf9)](),this[_0x36e0c1(0xf5)][_0x36e0c1(0x107)](_0x36e0c1(0xeb),!0x0),this[_0x36e0c1(0x104)][_0x36e0c1(0x107)](_0x36e0c1(0xeb),!0x1),this[_0x36e0c1(0xee)][_0x36e0c1(0x107)](_0x36e0c1(0xeb),!0x1);}[_0x22e7ba(0xdf)](){var _0x48cb36=_0x22e7ba;this[_0x48cb36(0xef)](),this[_0x48cb36(0x104)][_0x48cb36(0xe6)](),this[_0x48cb36(0xf5)][_0x48cb36(0x107)](_0x48cb36(0xeb),!0x1),this[_0x48cb36(0x104)][_0x48cb36(0x107)](_0x48cb36(0xeb),!0x0),this[_0x48cb36(0x104)][_0x48cb36(0xdc)](),this[_0x48cb36(0x104)][_0x48cb36(0x107)](_0x48cb36(0x106),!0x0),this[_0x48cb36(0x104)][_0x48cb36(0x107)](_0x48cb36(0xf6),!0x1);}[_0x22e7ba(0x105)](_0x456af4){var _0x22eda0=_0x22e7ba;this[_0x22eda0(0x104)][_0x22eda0(0x102)](_0x456af4),this[_0x22eda0(0x104)][_0x22eda0(0x107)](_0x22eda0(0x106),!0x1);}[_0x22e7ba(0xe2)](){var _0x1cbb1e=_0x22e7ba;this[_0x1cbb1e(0x104)][_0x1cbb1e(0x107)](_0x1cbb1e(0xeb),!0x0),this[_0x1cbb1e(0xee)][_0x1cbb1e(0x107)](_0x1cbb1e(0xeb),!0x1),this[_0x1cbb1e(0x104)][_0x1cbb1e(0x107)](_0x1cbb1e(0xf6),!0x0),this[_0x1cbb1e(0xf5)][_0x1cbb1e(0x107)](_0x1cbb1e(0xeb),!0x1);}[_0x22e7ba(0xfc)](){var _0x1f6de1=_0x22e7ba;this[_0x1f6de1(0x104)][_0x1f6de1(0xea)]?(this[_0x1f6de1(0xf5)][_0x1f6de1(0x107)](_0x1f6de1(0xeb),!0x1),this[_0x1f6de1(0x104)][_0x1f6de1(0x107)](_0x1f6de1(0xeb),!0x0),this[_0x1f6de1(0xee)][_0x1f6de1(0x107)](_0x1f6de1(0xeb),!0x1)):this[_0x1f6de1(0x104)][_0x1f6de1(0xea)]=!0x0;}[_0x22e7ba(0xe8)](){var _0x481af1=_0x22e7ba;this[_0x481af1(0xf5)][_0x481af1(0x107)](_0x481af1(0xeb),!0x1),this[_0x481af1(0x104)][_0x481af1(0x107)](_0x481af1(0xeb),!0x1),this[_0x481af1(0xee)][_0x481af1(0x107)](_0x481af1(0xeb),!0x0);}[_0x22e7ba(0xef)](){var _0x341d06=_0x22e7ba;this[_0x341d06(0x104)][_0x341d06(0xea)]=!0x1;}[_0x22e7ba(0xf8)](_0x15ce8c){var _0x2a768b=_0x22e7ba;this[_0x2a768b(0xf4)][_0x2a768b(0x107)](_0x2a768b(0xeb),!0x0),this[_0x2a768b(0xf4)][_0x2a768b(0xec)]=_0x15ce8c;}[_0x22e7ba(0xe7)](){var _0x3ed018=_0x22e7ba;this[_0x3ed018(0x104)][_0x3ed018(0x107)](_0x3ed018(0x106),!0x1),this[_0x3ed018(0xfc)](),this[_0x3ed018(0x104)][_0x3ed018(0xfe)]();}[_0x22e7ba(0x103)](){var _0x560c1b=_0x22e7ba;this[_0x560c1b(0x104)][_0x560c1b(0x107)](_0x560c1b(0x106),!0x1),this[_0x560c1b(0xfc)](),this[_0x560c1b(0x104)][_0x560c1b(0xda)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x59b2(_0x3a32d0,_0x409a0b){const _0x10ff88=_0x10ff();return _0x59b2=function(_0x59b284,_0x219037){_0x59b284=_0x59b284-0x16e;let _0x1752ec=_0x10ff88[_0x59b284];return _0x1752ec;},_0x59b2(_0x3a32d0,_0x409a0b);}const _0x4e3d54=_0x59b2;(function(_0x4e790f,_0x3093e8){const _0x2022f8=_0x59b2,_0x4d14c5=_0x4e790f();while(!![]){try{const _0x85efa8=-parseInt(_0x2022f8(0x181))/0x1+parseInt(_0x2022f8(0x18e))/0x2*(parseInt(_0x2022f8(0x184))/0x3)+parseInt(_0x2022f8(0x180))/0x4*(-parseInt(_0x2022f8(0x16f))/0x5)+parseInt(_0x2022f8(0x189))/0x6+-parseInt(_0x2022f8(0x186))/0x7+-parseInt(_0x2022f8(0x188))/0x8+parseInt(_0x2022f8(0x195))/0x9;if(_0x85efa8===_0x3093e8)break;else _0x4d14c5['push'](_0x4d14c5['shift']());}catch(_0x329588){_0x4d14c5['push'](_0x4d14c5['shift']());}}}(_0x10ff,0x981da));import{Collection as _0x16aa5d}from'ckeditor5/src/utils.js';import{View as _0x2483ae,createDropdown as _0x4b2377,addListToDropdown as _0x119808,UIModel as _0x6a02dc}from'ckeditor5/src/ui.js';export class AIReviewCoreFormDropdownView extends _0x2483ae{[_0x4e3d54(0x18c)];[_0x4e3d54(0x182)];[_0x4e3d54(0x176)];constructor(_0xbdc2f,_0x4148a2){const _0x39dfd1=_0x4e3d54;super(_0xbdc2f),this[_0x39dfd1(0x182)]=_0x4148a2[_0x39dfd1(0x175)]||(_0x4148a2[_0x39dfd1(0x183)][_0x39dfd1(0x18f)]>0x0?_0x4148a2[_0x39dfd1(0x183)][0x0]['id']:''),this[_0x39dfd1(0x176)]=_0x4148a2[_0x39dfd1(0x183)][_0x39dfd1(0x170)](_0x5391d8=>_0x5391d8['id']===this[_0x39dfd1(0x182)])?.[_0x39dfd1(0x179)]||'',this[_0x39dfd1(0x17a)](_0x39dfd1(0x172),''),this[_0x39dfd1(0x18c)]=_0x4b2377(this[_0x39dfd1(0x194)]);const _0x1c46cc=this[_0x39dfd1(0x17e)](_0x4148a2[_0x39dfd1(0x183)]);_0x119808(this[_0x39dfd1(0x18c)],_0x1c46cc,{'role':_0x39dfd1(0x191),'ariaLabel':_0x4148a2[_0x39dfd1(0x179)]}),this[_0x39dfd1(0x18c)][_0x39dfd1(0x178)][_0x39dfd1(0x17a)]({'label':this[_0x39dfd1(0x176)],'withText':!0x0}),this[_0x39dfd1(0x18c)][_0x39dfd1(0x173)]({'on':{'click':this[_0x39dfd1(0x192)]['to'](_0x5d261c=>{const _0x340eb2=_0x39dfd1;_0x5d261c[_0x340eb2(0x190)]();})}}),this[_0x39dfd1(0x177)](this[_0x39dfd1(0x18c)],_0x39dfd1(0x18a),_0x42dc99=>{const _0x5ecbf7=_0x39dfd1;this[_0x5ecbf7(0x172)]=_0x42dc99[_0x5ecbf7(0x171)][_0x5ecbf7(0x18b)]['id'],this[_0x5ecbf7(0x18c)][_0x5ecbf7(0x178)][_0x5ecbf7(0x179)]=_0x42dc99[_0x5ecbf7(0x171)][_0x5ecbf7(0x18b)][_0x5ecbf7(0x179)];}),this[_0x39dfd1(0x17c)]({'tag':_0x39dfd1(0x18d),'attributes':{'class':['ck',_0x39dfd1(0x187),_0x39dfd1(0x185),_0x39dfd1(0x17f)]},'children':[this[_0x39dfd1(0x18c)]]});}[_0x4e3d54(0x16e)](){const _0x1a8359=_0x4e3d54;this[_0x1a8359(0x172)]=this[_0x1a8359(0x182)],this[_0x1a8359(0x18c)][_0x1a8359(0x178)][_0x1a8359(0x179)]=this[_0x1a8359(0x176)];}[_0x4e3d54(0x17e)](_0x1264e8=[]){const _0x2d46=_0x4e3d54,_0x1fc260=new _0x16aa5d();this[_0x2d46(0x16e)]();for(const _0xf1d56c of _0x1264e8){const _0x234470=new _0x6a02dc({'label':_0xf1d56c[_0x2d46(0x179)],'withText':!0x0,'role':_0x2d46(0x174),'id':_0xf1d56c['id'],'model':_0xf1d56c});_0x234470[_0x2d46(0x17d)](_0x2d46(0x196))['to'](this,_0x2d46(0x172),_0x1fc080=>_0x1fc080===_0x234470['id']);const _0x4d37af={'type':_0x2d46(0x17b),'model':_0x234470};_0x1fc260[_0x2d46(0x193)](_0x4d37af);}return _0x1fc260;}}function _0x10ff(){const _0x4df46b=['buttonView','label','set','button','setTemplate','bind','_prepareListOptions','ck-ai_review__check-list-item-parameterized-form-element_dropdown','4482668LMarFk','316107GFROAi','_defaultValue','data','39381BhPWQl','ck-ai_review__check-list-item-parameterized-form-element','5770786BRdobb','ck-reset_all','3862064fcVsVV','1875654FJXARj','execute','model','_dropdownView','div','100oEkBBN','length','stopPropagation','menu','bindTemplate','add','locale','21582333rdezLD','isOn','resetToDefault','5vdfhIy','find','source','formValue','extendTemplate','menuitemradio','default','_defaultLabel','listenTo'];_0x10ff=function(){return _0x4df46b;};return _0x10ff();}
23
+ const _0x77a249=_0x41c8;(function(_0x46b42e,_0x2c3963){const _0x5db175=_0x41c8,_0x182198=_0x46b42e();while(!![]){try{const _0xd7b951=parseInt(_0x5db175(0x170))/0x1+parseInt(_0x5db175(0x15e))/0x2+parseInt(_0x5db175(0x14b))/0x3+-parseInt(_0x5db175(0x15f))/0x4*(parseInt(_0x5db175(0x165))/0x5)+-parseInt(_0x5db175(0x166))/0x6*(parseInt(_0x5db175(0x149))/0x7)+-parseInt(_0x5db175(0x15d))/0x8+parseInt(_0x5db175(0x16f))/0x9;if(_0xd7b951===_0x2c3963)break;else _0x182198['push'](_0x182198['shift']());}catch(_0x48b314){_0x182198['push'](_0x182198['shift']());}}}(_0x5016,0x82b25));function _0x5016(){const _0x4a7c12=['label','setTemplate','_dropdownView','ck-ai_review__check-list-item-parameterized-form-element','_defaultLabel','949832kMcBNB','1152606wJUxLy','166300pmgbFv','stopPropagation','source','isOn','set','bindTemplate','45ksUokH','54iWiWdH','_defaultValue','execute','ck-reset_all','listenTo','menu','find','add','div','1161486GQTTKJ','620157tvbozj','locale','486633QrfsPC','default','985182tFLajp','ck-ai_review__check-list-item-parameterized-form-element_dropdown','button','resetToDefault','menuitemradio','bind','extendTemplate','length','data','model','_prepareListOptions','buttonView','formValue'];_0x5016=function(){return _0x4a7c12;};return _0x5016();}import{Collection as _0xcbebb8}from'ckeditor5/src/utils.js';import{View as _0x171ff5,createDropdown as _0xd0413f,addListToDropdown as _0x155ee4,UIModel as _0x3c7547}from'ckeditor5/src/ui.js';function _0x41c8(_0x21f2c0,_0x2f33d8){const _0x5016ea=_0x5016();return _0x41c8=function(_0x41c835,_0x1c8135){_0x41c835=_0x41c835-0x148;let _0x2e0731=_0x5016ea[_0x41c835];return _0x2e0731;},_0x41c8(_0x21f2c0,_0x2f33d8);}export class AIReviewCoreFormDropdownView extends _0x171ff5{[_0x77a249(0x15a)];[_0x77a249(0x167)];[_0x77a249(0x15c)];constructor(_0x10ad07,_0x59cb64){const _0x11d73d=_0x77a249;super(_0x10ad07),this[_0x11d73d(0x167)]=_0x59cb64[_0x11d73d(0x14a)]||(_0x59cb64[_0x11d73d(0x153)][_0x11d73d(0x152)]>0x0?_0x59cb64[_0x11d73d(0x153)][0x0]['id']:''),this[_0x11d73d(0x15c)]=_0x59cb64[_0x11d73d(0x153)][_0x11d73d(0x16c)](_0x56a73c=>_0x56a73c['id']===this[_0x11d73d(0x167)])?.[_0x11d73d(0x158)]||'',this[_0x11d73d(0x163)](_0x11d73d(0x157),''),this[_0x11d73d(0x15a)]=_0xd0413f(this[_0x11d73d(0x148)]);const _0xc2b372=this[_0x11d73d(0x155)](_0x59cb64[_0x11d73d(0x153)]);_0x155ee4(this[_0x11d73d(0x15a)],_0xc2b372,{'role':_0x11d73d(0x16b),'ariaLabel':_0x59cb64[_0x11d73d(0x158)]}),this[_0x11d73d(0x15a)][_0x11d73d(0x156)][_0x11d73d(0x163)]({'label':this[_0x11d73d(0x15c)],'withText':!0x0}),this[_0x11d73d(0x15a)][_0x11d73d(0x151)]({'on':{'click':this[_0x11d73d(0x164)]['to'](_0x61c414=>{const _0x1e6db4=_0x11d73d;_0x61c414[_0x1e6db4(0x160)]();})}}),this[_0x11d73d(0x16a)](this[_0x11d73d(0x15a)],_0x11d73d(0x168),_0x13bf1e=>{const _0x3eff15=_0x11d73d;this[_0x3eff15(0x157)]=_0x13bf1e[_0x3eff15(0x161)][_0x3eff15(0x154)]['id'],this[_0x3eff15(0x15a)][_0x3eff15(0x156)][_0x3eff15(0x158)]=_0x13bf1e[_0x3eff15(0x161)][_0x3eff15(0x154)][_0x3eff15(0x158)];}),this[_0x11d73d(0x159)]({'tag':_0x11d73d(0x16e),'attributes':{'class':['ck',_0x11d73d(0x169),_0x11d73d(0x15b),_0x11d73d(0x14c)]},'children':[this[_0x11d73d(0x15a)]]});}[_0x77a249(0x14e)](){const _0x36bc12=_0x77a249;this[_0x36bc12(0x157)]=this[_0x36bc12(0x167)],this[_0x36bc12(0x15a)][_0x36bc12(0x156)][_0x36bc12(0x158)]=this[_0x36bc12(0x15c)];}[_0x77a249(0x155)](_0x69d1cc=[]){const _0x4ba334=_0x77a249,_0xa62e57=new _0xcbebb8();this[_0x4ba334(0x14e)]();for(const _0x1cdd81 of _0x69d1cc){const _0x1ccb4f=new _0x3c7547({'label':_0x1cdd81[_0x4ba334(0x158)],'withText':!0x0,'role':_0x4ba334(0x14f),'id':_0x1cdd81['id'],'model':_0x1cdd81});_0x1ccb4f[_0x4ba334(0x150)](_0x4ba334(0x162))['to'](this,_0x4ba334(0x157),_0x49195e=>_0x49195e===_0x1ccb4f['id']);const _0x209518={'type':_0x4ba334(0x14d),'model':_0x1ccb4f};_0xa62e57[_0x4ba334(0x16d)](_0x209518);}return _0xa62e57;}}