@ckeditor/ckeditor5-ai 47.7.4 → 47.7.5

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 _0x54c4e9=_0x136c;function _0x55d0(){const _0x1c0aca=['contentDiffed','arrow_','isDiffActive','width','hideDiffInBalloon','locale','set','position','reverse','add','content','511MihPrM','dismissChange','38738clDHjt','length','_pinnedTargetElement','documentElement','_pinnedRectIndex','_getBestRectPositionOnClick','resultResponseView','ck-ai_review__suggestion-text','_pinnedTargetChangeId','push','forEach','1817645SixwKo','left','_getBestRectPositionOnHover','showDiffInBalloon','div','render','from','extendTemplate','arrow_se','_createContentView','ck-reset','showBalloon','resultItemView','_getPointedRectIndexFromEvent','top','hide','bottom','ck-ai_review-balloon-panel-suggestion','40006DxMFkw','bindTemplate','clientY','delegate','element','pin','fire','7603398asBqyx','innerHTML','replace','_isPinnedRectVisible','showDiff','hover','3381104DDweKJ','right','acceptChange','deactivateChange','click','getClientRects','ck-content','81714UQjowj','_setupClickOutsideHandler','isVisible','21uanpsq','setTemplate','changeId','unpin','balloon','show','6587496FTVNpc','hideBalloon','updateContent','clientX','getBoundingClientRect','ck-ai_review-balloon-panel-suggestion_diff-active','getIntersection'];_0x55d0=function(){return _0x1c0aca;};return _0x55d0();}(function(_0x29b4a8,_0x2d201d){const _0x3bb349=_0x136c,_0x322525=_0x29b4a8();while(!![]){try{const _0x432336=-parseInt(_0x3bb349(0x160))/0x1+parseInt(_0x3bb349(0x17d))/0x2*(parseInt(_0x3bb349(0x146))/0x3)+-parseInt(_0x3bb349(0x13c))/0x4+parseInt(_0x3bb349(0x16b))/0x5+-parseInt(_0x3bb349(0x143))/0x6*(-parseInt(_0x3bb349(0x15e))/0x7)+parseInt(_0x3bb349(0x14c))/0x8+-parseInt(_0x3bb349(0x184))/0x9;if(_0x432336===_0x2d201d)break;else _0x322525['push'](_0x322525['shift']());}catch(_0xfecba2){_0x322525['push'](_0x322525['shift']());}}}(_0x55d0,0x909d2));import{Rect as _0x3cfebb,getConstrainedViewportRect as _0x3eb04c}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x4a5f3a,View as _0x359fdd,clickOutsideHandler as _0x4739ac}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x1afc86}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';function _0x136c(_0x4151b0,_0x32d8b8){const _0x55d054=_0x55d0();return _0x136c=function(_0x136c54,_0x5a265f){_0x136c54=_0x136c54-0x13a;let _0x32aec7=_0x55d054[_0x136c54];return _0x32aec7;},_0x136c(_0x4151b0,_0x32d8b8);}export class AIReviewCoreBalloonSuggestionItemView extends _0x4a5f3a{[_0x54c4e9(0x177)];[_0x54c4e9(0x164)]=void 0x0;[_0x54c4e9(0x162)]=void 0x0;[_0x54c4e9(0x168)]=void 0x0;constructor(_0x176170,_0x728b11){const _0x129a84=_0x54c4e9;super(_0x176170),this[_0x129a84(0x159)]({'isVisible':!0x1,'position':_0x129a84(0x173),'class':null,'top':0x0,'left':0x0}),this[_0x129a84(0x172)]({'tag':_0x129a84(0x16f),'attributes':{'class':[_0x129a84(0x175)],'tabindex':'-1'}}),this[_0x129a84(0x159)](_0x129a84(0x155),!0x1),this[_0x129a84(0x15d)][_0x129a84(0x15c)](this[_0x129a84(0x174)]()),_0x728b11[_0x129a84(0x15c)](this);}[_0x54c4e9(0x170)](){const _0x1f0b8d=_0x54c4e9;super[_0x1f0b8d(0x170)](),this[_0x1f0b8d(0x144)]();}[_0x54c4e9(0x14e)](_0x442890){const _0x4abb92=_0x54c4e9;this[_0x4abb92(0x177)][_0x4abb92(0x148)]=_0x442890['id'],this[_0x4abb92(0x177)][_0x4abb92(0x166)][_0x4abb92(0x181)][_0x4abb92(0x185)]=_0x442890[_0x4abb92(0x153)];}[_0x54c4e9(0x176)](_0x4af631,_0x544565,_0x53c652,_0x185a85,_0x484089,_0x445675){const _0x46816c=_0x54c4e9,_0x52be6c=_0x544565();if(!_0x52be6c)return;this[_0x46816c(0x14e)](_0x4af631),this[_0x46816c(0x14b)]();const _0xf13a77=Array[_0x46816c(0x171)](_0x52be6c[_0x46816c(0x141)]())[_0x46816c(0x15b)](),_0xecbcda=this[_0x46816c(0x178)](_0x53c652,_0xf13a77),_0x98cb4b=_0xf13a77[_0xecbcda??0x0];_0x46816c(0x140)===_0x185a85?(this[_0x46816c(0x155)]=!0x0,this[_0x46816c(0x182)]({'target':()=>this[_0x46816c(0x165)](_0x544565(),_0xecbcda,_0x4af631['id'],_0x484089,_0x445675)||_0x98cb4b})):_0x46816c(0x13b)===_0x185a85&&(this[_0x46816c(0x155)]=!0x1,this[_0x46816c(0x182)]({'target':()=>this[_0x46816c(0x16d)](_0x544565(),_0xecbcda,_0x4af631['id'])||_0x98cb4b}));}[_0x54c4e9(0x14d)](){const _0x4af44b=_0x54c4e9;this[_0x4af44b(0x17a)](),this[_0x4af44b(0x149)](),this[_0x4af44b(0x164)]=void 0x0,this[_0x4af44b(0x162)]=void 0x0,this[_0x4af44b(0x168)]=void 0x0;}[_0x54c4e9(0x157)](){const _0x1a537f=_0x54c4e9;this[_0x1a537f(0x177)][_0x1a537f(0x13a)]=!0x1;}[_0x54c4e9(0x16e)](){const _0x1259b8=_0x54c4e9;this[_0x1259b8(0x177)][_0x1259b8(0x13a)]=!0x0;}[_0x54c4e9(0x13f)](){const _0x947f24=_0x54c4e9;this[_0x947f24(0x183)](_0x947f24(0x13f),{'origin':_0x947f24(0x14a)});}[_0x54c4e9(0x144)](){const _0x12bc59=_0x54c4e9;_0x4739ac({'emitter':this,'activator':()=>this[_0x12bc59(0x145)],'contextElements':()=>{const _0x3ca93c=_0x12bc59,_0x23a01c=[this[_0x3ca93c(0x181)]];return this[_0x3ca93c(0x162)]&&_0x23a01c[_0x3ca93c(0x169)](this[_0x3ca93c(0x162)]),_0x23a01c;},'callback':()=>{const _0xa1fdbf=_0x12bc59;this[_0xa1fdbf(0x17a)](),this[_0xa1fdbf(0x149)](),this[_0xa1fdbf(0x13f)](),this[_0xa1fdbf(0x162)]=void 0x0,this[_0xa1fdbf(0x164)]=void 0x0,this[_0xa1fdbf(0x168)]=void 0x0;}});}[_0x54c4e9(0x174)](){const _0x5b50ff=_0x54c4e9,_0x98a593=new _0x359fdd();return this[_0x5b50ff(0x177)]=new _0x1afc86(this[_0x5b50ff(0x158)],''),this[_0x5b50ff(0x177)][_0x5b50ff(0x166)][_0x5b50ff(0x172)]({'attributes':{'class':[_0x5b50ff(0x142)]}}),this[_0x5b50ff(0x177)][_0x5b50ff(0x180)](_0x5b50ff(0x13e),_0x5b50ff(0x15f))['to'](this),_0x98a593[_0x5b50ff(0x147)]({'tag':_0x5b50ff(0x16f),'attributes':{'class':[_0x5b50ff(0x175),_0x5b50ff(0x17c),this[_0x5b50ff(0x17e)]['if'](_0x5b50ff(0x155),_0x5b50ff(0x151))]},'children':[{'tag':'p','attributes':{'class':[_0x5b50ff(0x167)]},'children':[this[_0x5b50ff(0x177)]]}]}),_0x98a593;}[_0x54c4e9(0x165)](_0x2c7f84,_0x1eafed,_0x3952d1,_0x5eb962,_0x6ba1da){const _0x14e6f0=_0x54c4e9;if(!_0x2c7f84)return null;const _0x202f31=this[_0x14e6f0(0x15a)][_0x14e6f0(0x186)](_0x14e6f0(0x154),''),_0xe791c1=Array[_0x14e6f0(0x171)](_0x2c7f84[_0x14e6f0(0x141)]());let _0x11e203,_0x126ef6=_0xe791c1[_0x14e6f0(0x15b)]();return void 0x0!==_0x1eafed&&this[_0x14e6f0(0x187)](_0x126ef6[_0x1eafed],_0x5eb962,_0x6ba1da)?(_0x11e203=_0x126ef6[_0x1eafed],this[_0x14e6f0(0x164)]=_0x1eafed):this[_0x14e6f0(0x187)](_0x126ef6[0x0],_0x5eb962,_0x6ba1da)&&void 0x0===_0x1eafed?_0x11e203=_0x126ef6[0x0]:(_0x126ef6='s'==_0x202f31[0x0]?[..._0xe791c1][_0x14e6f0(0x15b)]():_0xe791c1,_0x126ef6[_0x14e6f0(0x16a)](_0x52ffa4=>{const _0x3749eb=_0x14e6f0;this[_0x3749eb(0x187)](_0x52ffa4,_0x5eb962,_0x6ba1da)&&(_0x11e203=_0x52ffa4);})),this[_0x14e6f0(0x168)]=_0x3952d1,this[_0x14e6f0(0x162)]=_0x2c7f84,_0x11e203||_0x2c7f84[_0x14e6f0(0x150)]();}[_0x54c4e9(0x16d)](_0x111508,_0x392f9b,_0x15760a){const _0x41d984=_0x54c4e9;if(!_0x111508)return null;const _0x44ceeb=Array[_0x41d984(0x171)](_0x111508[_0x41d984(0x141)]())[_0x41d984(0x15b)]();if(void 0x0===this[_0x41d984(0x164)]&&void 0x0!==_0x392f9b&&this[_0x41d984(0x168)]!==_0x15760a)return this[_0x41d984(0x164)]=_0x392f9b,this[_0x41d984(0x162)]=_0x111508,this[_0x41d984(0x168)]=_0x15760a,_0x44ceeb[_0x392f9b];if(void 0x0!==this[_0x41d984(0x164)]&&this[_0x41d984(0x168)]===_0x15760a){if(_0x111508!==this[_0x41d984(0x162)])return Array[_0x41d984(0x171)](this[_0x41d984(0x162)][_0x41d984(0x141)]())[_0x41d984(0x15b)]()[this[_0x41d984(0x164)]];return _0x44ceeb[this[_0x41d984(0x164)]];}return void 0x0!==_0x392f9b&&this[_0x41d984(0x168)]!==_0x15760a?(this[_0x41d984(0x164)]=_0x392f9b,this[_0x41d984(0x162)]=_0x111508,this[_0x41d984(0x168)]=_0x15760a,_0x44ceeb[_0x392f9b]):_0x111508[_0x41d984(0x150)]();}[_0x54c4e9(0x178)](_0x2d588a,_0x4a216a){const _0x33603c=_0x54c4e9;if(_0x2d588a)for(let _0xfbf59a=0x0;_0xfbf59a<_0x4a216a[_0x33603c(0x161)];_0xfbf59a++){const _0x47a522=_0x4a216a[_0xfbf59a];if(_0x2d588a[_0x33603c(0x14f)]>=_0x47a522[_0x33603c(0x16c)]-0x3&&_0x2d588a[_0x33603c(0x14f)]<=_0x47a522[_0x33603c(0x13d)]+0x3&&_0x2d588a[_0x33603c(0x17f)]>=_0x47a522[_0x33603c(0x179)]-0x3&&_0x2d588a[_0x33603c(0x17f)]<=_0x47a522[_0x33603c(0x17b)]+0x3)return _0xfbf59a;}}[_0x54c4e9(0x187)](_0x1411c6,_0x5bb98c,_0x3c3b51){const _0x527b37=_0x54c4e9,_0x5e4cf1=new _0x3cfebb(_0x1411c6),_0x3d89e7=_0x5bb98c||document[_0x527b37(0x163)],_0x2ea9eb=_0x5e4cf1[_0x527b37(0x152)](_0x3eb04c(_0x3c3b51)),_0x4302f7=new _0x3cfebb(_0x3d89e7)[_0x527b37(0x152)](_0x5e4cf1);return!!(_0x2ea9eb&&_0x4302f7&&_0x5e4cf1[_0x527b37(0x156)]>0x0);}}
23
+ const _0x4fbc58=_0x537a;function _0x537a(_0x393410,_0xe9fed5){const _0x497fdd=_0x497f();return _0x537a=function(_0x537a1a,_0x1d700a){_0x537a1a=_0x537a1a-0x1dd;let _0x581f59=_0x497fdd[_0x537a1a];return _0x581f59;},_0x537a(_0x393410,_0xe9fed5);}(function(_0xf59758,_0x2ad880){const _0x5e0795=_0x537a,_0x568ada=_0xf59758();while(!![]){try{const _0x3e4015=parseInt(_0x5e0795(0x210))/0x1*(-parseInt(_0x5e0795(0x220))/0x2)+parseInt(_0x5e0795(0x1fc))/0x3+-parseInt(_0x5e0795(0x229))/0x4*(-parseInt(_0x5e0795(0x215))/0x5)+parseInt(_0x5e0795(0x221))/0x6*(-parseInt(_0x5e0795(0x1fe))/0x7)+parseInt(_0x5e0795(0x1df))/0x8+parseInt(_0x5e0795(0x214))/0x9+-parseInt(_0x5e0795(0x1e0))/0xa;if(_0x3e4015===_0x2ad880)break;else _0x568ada['push'](_0x568ada['shift']());}catch(_0x3e9010){_0x568ada['push'](_0x568ada['shift']());}}}(_0x497f,0x51e38));import{Rect as _0x5b501,getConstrainedViewportRect as _0x5cddc8}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x343cd1,View as _0x3ba332,clickOutsideHandler as _0x5934af}from'ckeditor5/src/ui.js';function _0x497f(){const _0x4741f6=['ck-ai_review-balloon-panel-suggestion','hideBalloon','ck-content','749004ONWhNu','isVisible','443534ZvetiV','changeId','isDiffActive','position','resultItemView','getClientRects','delegate','width','add','bottom','div','_getPointedRectIndexFromEvent','showDiffInBalloon','forEach','push','setTemplate','ck-ai_review-balloon-panel-suggestion_diff-active','_pinnedTargetElement','36881LcCGRV','innerHTML','_getBestRectPositionOnHover','_pinnedTargetChangeId','3698667EOialJ','46060SWpvZy','reverse','fire','_createContentView','right','extendTemplate','length','set','_setupClickOutsideHandler','_getBestRectPositionOnClick','ck-reset','8IjttAb','6eOFAbd','_isPinnedRectVisible','balloon','arrow_se','hide','ck-ai_review__suggestion-text','content','element','272rToUKC','left','bindTemplate','render','dismissChange','384360bNYdTC','7887900jfkgrt','from','getBoundingClientRect','showDiff','resultResponseView','hideDiffInBalloon','clientX','clientY','showBalloon','pin','_pinnedRectIndex','updateContent','hover','show','top','replace','deactivateChange','acceptChange','locale','arrow_','unpin','contentDiffed','documentElement','getIntersection','click'];_0x497f=function(){return _0x4741f6;};return _0x497f();}import{AIReviewCoreReviewCheckListItemResultsView as _0x59c542}from'./aireviewcorechecklistitemresultview.js';import'../../../theme/aireviewcore/aireviewcore-balloon-panel-suggestion.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreBalloonSuggestionItemView extends _0x343cd1{[_0x4fbc58(0x202)];[_0x4fbc58(0x1ea)]=void 0x0;[_0x4fbc58(0x20f)]=void 0x0;[_0x4fbc58(0x213)]=void 0x0;constructor(_0x3a5a5a,_0x5a191b){const _0x23c873=_0x4fbc58;super(_0x3a5a5a),this[_0x23c873(0x21c)]({'isVisible':!0x1,'position':_0x23c873(0x224),'class':null,'top':0x0,'left':0x0}),this[_0x23c873(0x21a)]({'tag':_0x23c873(0x208),'attributes':{'class':[_0x23c873(0x21f)],'tabindex':'-1'}}),this[_0x23c873(0x21c)](_0x23c873(0x200),!0x1),this[_0x23c873(0x227)][_0x23c873(0x206)](this[_0x23c873(0x218)]()),_0x5a191b[_0x23c873(0x206)](this);}[_0x4fbc58(0x1dd)](){const _0x307165=_0x4fbc58;super[_0x307165(0x1dd)](),this[_0x307165(0x21d)]();}[_0x4fbc58(0x1eb)](_0x2cf739){const _0x33c85=_0x4fbc58;this[_0x33c85(0x202)][_0x33c85(0x1ff)]=_0x2cf739['id'],this[_0x33c85(0x202)][_0x33c85(0x1e4)][_0x33c85(0x228)][_0x33c85(0x211)]=_0x2cf739[_0x33c85(0x1f5)];}[_0x4fbc58(0x1e8)](_0x56e72b,_0x2b2f5d,_0x3c54a8,_0x320fa2,_0x1557bf,_0x5dd5f0){const _0x32b05c=_0x4fbc58,_0x1072d7=_0x2b2f5d();if(!_0x1072d7)return;this[_0x32b05c(0x1eb)](_0x56e72b),this[_0x32b05c(0x1ed)]();const _0x1ea057=Array[_0x32b05c(0x1e1)](_0x1072d7[_0x32b05c(0x203)]())[_0x32b05c(0x216)](),_0x879338=this[_0x32b05c(0x209)](_0x3c54a8,_0x1ea057),_0x582d31=_0x1ea057[_0x879338??0x0];_0x32b05c(0x1f8)===_0x320fa2?(this[_0x32b05c(0x200)]=!0x0,this[_0x32b05c(0x1e9)]({'target':()=>this[_0x32b05c(0x21e)](_0x2b2f5d(),_0x879338,_0x56e72b['id'],_0x1557bf,_0x5dd5f0)||_0x582d31})):_0x32b05c(0x1ec)===_0x320fa2&&(this[_0x32b05c(0x200)]=!0x1,this[_0x32b05c(0x1e9)]({'target':()=>this[_0x32b05c(0x212)](_0x2b2f5d(),_0x879338,_0x56e72b['id'])||_0x582d31}));}[_0x4fbc58(0x1fa)](){const _0x37eb89=_0x4fbc58;this[_0x37eb89(0x225)](),this[_0x37eb89(0x1f4)](),this[_0x37eb89(0x1ea)]=void 0x0,this[_0x37eb89(0x20f)]=void 0x0,this[_0x37eb89(0x213)]=void 0x0;}[_0x4fbc58(0x1e5)](){const _0x236940=_0x4fbc58;this[_0x236940(0x202)][_0x236940(0x1e3)]=!0x1;}[_0x4fbc58(0x20a)](){const _0x2f8017=_0x4fbc58;this[_0x2f8017(0x202)][_0x2f8017(0x1e3)]=!0x0;}[_0x4fbc58(0x1f0)](){const _0x39f4d7=_0x4fbc58;this[_0x39f4d7(0x217)](_0x39f4d7(0x1f0),{'origin':_0x39f4d7(0x223)});}[_0x4fbc58(0x21d)](){const _0x5e7665=_0x4fbc58;_0x5934af({'emitter':this,'activator':()=>this[_0x5e7665(0x1fd)],'contextElements':()=>{const _0x282277=_0x5e7665,_0xd96f89=[this[_0x282277(0x228)]];return this[_0x282277(0x20f)]&&_0xd96f89[_0x282277(0x20c)](this[_0x282277(0x20f)]),_0xd96f89;},'callback':()=>{const _0x371261=_0x5e7665;this[_0x371261(0x225)](),this[_0x371261(0x1f4)](),this[_0x371261(0x1f0)](),this[_0x371261(0x20f)]=void 0x0,this[_0x371261(0x1ea)]=void 0x0,this[_0x371261(0x213)]=void 0x0;}});}[_0x4fbc58(0x218)](){const _0x14671b=_0x4fbc58,_0x1cec17=new _0x3ba332();return this[_0x14671b(0x202)]=new _0x59c542(this[_0x14671b(0x1f2)],''),this[_0x14671b(0x202)][_0x14671b(0x1e4)][_0x14671b(0x21a)]({'attributes':{'class':[_0x14671b(0x1fb)]}}),this[_0x14671b(0x202)][_0x14671b(0x204)](_0x14671b(0x1f1),_0x14671b(0x1de))['to'](this),_0x1cec17[_0x14671b(0x20d)]({'tag':_0x14671b(0x208),'attributes':{'class':[_0x14671b(0x21f),_0x14671b(0x1f9),this[_0x14671b(0x22b)]['if'](_0x14671b(0x200),_0x14671b(0x20e))]},'children':[{'tag':'p','attributes':{'class':[_0x14671b(0x226)]},'children':[this[_0x14671b(0x202)]]}]}),_0x1cec17;}[_0x4fbc58(0x21e)](_0x35e1de,_0x153b59,_0x149818,_0x2b1fc1,_0x245894){const _0x44042e=_0x4fbc58;if(!_0x35e1de)return null;const _0x4ea481=this[_0x44042e(0x201)][_0x44042e(0x1ef)](_0x44042e(0x1f3),''),_0x4c1874=Array[_0x44042e(0x1e1)](_0x35e1de[_0x44042e(0x203)]());let _0x2d25da,_0x5b2152=_0x4c1874[_0x44042e(0x216)]();return void 0x0!==_0x153b59&&this[_0x44042e(0x222)](_0x5b2152[_0x153b59],_0x2b1fc1,_0x245894)?(_0x2d25da=_0x5b2152[_0x153b59],this[_0x44042e(0x1ea)]=_0x153b59):this[_0x44042e(0x222)](_0x5b2152[0x0],_0x2b1fc1,_0x245894)&&void 0x0===_0x153b59?_0x2d25da=_0x5b2152[0x0]:(_0x5b2152='s'==_0x4ea481[0x0]?[..._0x4c1874][_0x44042e(0x216)]():_0x4c1874,_0x5b2152[_0x44042e(0x20b)](_0x143537=>{const _0xe06dbd=_0x44042e;this[_0xe06dbd(0x222)](_0x143537,_0x2b1fc1,_0x245894)&&(_0x2d25da=_0x143537);})),this[_0x44042e(0x213)]=_0x149818,this[_0x44042e(0x20f)]=_0x35e1de,_0x2d25da||_0x35e1de[_0x44042e(0x1e2)]();}[_0x4fbc58(0x212)](_0x5ed811,_0x5c7e1c,_0x35c113){const _0x3712f6=_0x4fbc58;if(!_0x5ed811)return null;const _0x15c507=Array[_0x3712f6(0x1e1)](_0x5ed811[_0x3712f6(0x203)]())[_0x3712f6(0x216)]();if(void 0x0===this[_0x3712f6(0x1ea)]&&void 0x0!==_0x5c7e1c&&this[_0x3712f6(0x213)]!==_0x35c113)return this[_0x3712f6(0x1ea)]=_0x5c7e1c,this[_0x3712f6(0x20f)]=_0x5ed811,this[_0x3712f6(0x213)]=_0x35c113,_0x15c507[_0x5c7e1c];if(void 0x0!==this[_0x3712f6(0x1ea)]&&this[_0x3712f6(0x213)]===_0x35c113){if(_0x5ed811!==this[_0x3712f6(0x20f)])return Array[_0x3712f6(0x1e1)](this[_0x3712f6(0x20f)][_0x3712f6(0x203)]())[_0x3712f6(0x216)]()[this[_0x3712f6(0x1ea)]];return _0x15c507[this[_0x3712f6(0x1ea)]];}return void 0x0!==_0x5c7e1c&&this[_0x3712f6(0x213)]!==_0x35c113?(this[_0x3712f6(0x1ea)]=_0x5c7e1c,this[_0x3712f6(0x20f)]=_0x5ed811,this[_0x3712f6(0x213)]=_0x35c113,_0x15c507[_0x5c7e1c]):_0x5ed811[_0x3712f6(0x1e2)]();}[_0x4fbc58(0x209)](_0x2fb3ef,_0x19b0c2){const _0x3ef3bb=_0x4fbc58;if(_0x2fb3ef)for(let _0x26292f=0x0;_0x26292f<_0x19b0c2[_0x3ef3bb(0x21b)];_0x26292f++){const _0x57067e=_0x19b0c2[_0x26292f];if(_0x2fb3ef[_0x3ef3bb(0x1e6)]>=_0x57067e[_0x3ef3bb(0x22a)]-0x3&&_0x2fb3ef[_0x3ef3bb(0x1e6)]<=_0x57067e[_0x3ef3bb(0x219)]+0x3&&_0x2fb3ef[_0x3ef3bb(0x1e7)]>=_0x57067e[_0x3ef3bb(0x1ee)]-0x3&&_0x2fb3ef[_0x3ef3bb(0x1e7)]<=_0x57067e[_0x3ef3bb(0x207)]+0x3)return _0x26292f;}}[_0x4fbc58(0x222)](_0x372a0b,_0x569ec,_0x758eed){const _0x386c0a=_0x4fbc58,_0x3c716c=new _0x5b501(_0x372a0b),_0x373141=_0x569ec||document[_0x386c0a(0x1f6)],_0x2b8ba0=_0x3c716c[_0x386c0a(0x1f7)](_0x5cddc8(_0x758eed)),_0x5e4aad=new _0x5b501(_0x373141)[_0x386c0a(0x1f7)](_0x3c716c);return!!(_0x2b8ba0&&_0x5e4aad&&_0x3c716c[_0x386c0a(0x205)]>0x0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a4a34=_0x5546;function _0x5546(_0x2fd9a9,_0x564e31){const _0x3c3859=_0x3c38();return _0x5546=function(_0x55465e,_0x221ea2){_0x55465e=_0x55465e-0xd2;let _0xbf6f31=_0x3c3859[_0x55465e];return _0xbf6f31;},_0x5546(_0x2fd9a9,_0x564e31);}(function(_0x7c82dd,_0x4ff9e1){const _0x2122a1=_0x5546,_0x5f016f=_0x7c82dd();while(!![]){try{const _0x21e786=parseInt(_0x2122a1(0x119))/0x1+parseInt(_0x2122a1(0xe2))/0x2+-parseInt(_0x2122a1(0xf4))/0x3+parseInt(_0x2122a1(0xdc))/0x4*(parseInt(_0x2122a1(0x10d))/0x5)+parseInt(_0x2122a1(0xd9))/0x6*(parseInt(_0x2122a1(0xd8))/0x7)+parseInt(_0x2122a1(0xdb))/0x8*(-parseInt(_0x2122a1(0x101))/0x9)+-parseInt(_0x2122a1(0xe4))/0xa*(parseInt(_0x2122a1(0x117))/0xb);if(_0x21e786===_0x4ff9e1)break;else _0x5f016f['push'](_0x5f016f['shift']());}catch(_0x609cf9){_0x5f016f['push'](_0x5f016f['shift']());}}}(_0x3c38,0xe82ec));import{View as _0x3d83f4,ButtonView as _0x31e371}from'ckeditor5/src/ui.js';function _0x3c38(){const _0x168940=['ck-ai_review__check-run-result','mouseover','AI_REVIEW_MODE_ACCEPT_CHANGE','preventDefault','tagName','target','label','bind','541639KkvjBj','138xDYcsi','outdatedButtonView','3946056lPfCdg','32mNrjwH','deactivateChange','panel','div','ck-ai_review__check-run-result-action-buttons','hover','745906fMHzuz','_createDismissButtonView','120inraLe','status','fire','mouseout','AI_REVIEW_MODE_LEARN_MORE','acceptChange','setItemAsInactive','_createInfoButtonView','menuitemcheckbox','ck-ai_review__check-run-result-response','ck-ai_review__check-run-result-status-button','pending','outdated','dismissChange','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','3497964FJhRAA','bindTemplate','infoButtonView','ck-ai_review__check-run-result-dismiss-button','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','setItemAsActive','ck-ai_review__check-run-result-accept-button','_createOutdatedButtonView','ck-reset_all-excluded','accepted','locale','ck-ai-button-secondary','27fEUGbg','acceptButtonView','rejected','stopPropagation','activateChange','isInfoToggleOn','resultResponseView','disabled','AI_REVIEW_MODE_DISMISS_CHANGE','icon','click','isOn','1026550VrYxlz','isEnabled','setTemplate','ck-hidden','changeId','extendTemplate','set','_createAcceptButtonView','ck-ai-button-tertiary','_createResultResponseView','1771781sEaxmy','execute','1734527JsTRWk','ck-ai_review__check-run-result_active','ck-ai_review__check-run-result-footer','dismissButtonView','showDiff','isActive','change:status','ck-content'];_0x3c38=function(){return _0x168940;};return _0x3c38();}import{IconInfo as _0xfc60a0,IconCheck as _0x2c17e6,IconCancel as _0x29fdef,IconOutdated as _0x1f0dc9}from'ckeditor5/src/icons.js';import{getTranslation as _0x52ea5e}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x3d83f4{[_0x3a4a34(0x107)];[_0x3a4a34(0x102)];[_0x3a4a34(0x11c)];[_0x3a4a34(0xf6)];[_0x3a4a34(0xda)];constructor(_0xeb7634,_0x93cf43){const _0x68ffb0=_0x3a4a34;super(_0xeb7634),this['id']=_0x93cf43,this[_0x68ffb0(0x113)](_0x68ffb0(0xe5),_0x68ffb0(0xef)),this[_0x68ffb0(0x113)](_0x68ffb0(0x111),_0x93cf43),this[_0x68ffb0(0x107)]=this[_0x68ffb0(0x116)](),this[_0x68ffb0(0x102)]=this[_0x68ffb0(0x114)](),this[_0x68ffb0(0x11c)]=this[_0x68ffb0(0xe3)](),this[_0x68ffb0(0xf6)]=this[_0x68ffb0(0xeb)](),this[_0x68ffb0(0xda)]=this[_0x68ffb0(0xfc)](),this[_0x68ffb0(0x113)](_0x68ffb0(0x106),!0x1),this[_0x68ffb0(0x113)](_0x68ffb0(0x11e),!0x1),this[_0x68ffb0(0x113)](_0x68ffb0(0x11d),!0x0),this[_0x68ffb0(0x10f)]({'tag':_0x68ffb0(0xdf),'attributes':{'class':[_0x68ffb0(0x121),this[_0x68ffb0(0xf5)]['if'](_0x68ffb0(0x11e),_0x68ffb0(0x11a))]},'on':{'click':this[_0x68ffb0(0xf5)]['to'](_0x68ffb0(0x10b)),'mouseover':this[_0x68ffb0(0xf5)]['to'](_0x68ffb0(0x122)),'mouseout':this[_0x68ffb0(0xf5)]['to'](_0x68ffb0(0xe7))},'children':[this[_0x68ffb0(0x107)],{'tag':_0x68ffb0(0xdf),'attributes':{'class':[_0x68ffb0(0x11b)]},'children':[{'tag':_0x68ffb0(0xdf),'attributes':{'class':[_0x68ffb0(0xe0)]},'children':[this[_0x68ffb0(0x102)],this[_0x68ffb0(0x11c)],this[_0x68ffb0(0xda)]]},this[_0x68ffb0(0xf6)]]}]}),this['on'](_0x68ffb0(0x10b),(_0x496c51,_0x9cb0ca)=>{const _0x3f8433=_0x68ffb0;_0x9cb0ca&&_0x9cb0ca[_0x3f8433(0xd5)]&&'A'===_0x9cb0ca[_0x3f8433(0xd5)][_0x3f8433(0xd4)]&&_0x9cb0ca[_0x3f8433(0xd3)](),this[_0x3f8433(0xe6)](_0x3f8433(0x105),{'id':_0x93cf43,'source':this,'uiInteraction':_0x3f8433(0x10b)});}),this['on'](_0x68ffb0(0x122),()=>{const _0x1d7237=_0x68ffb0;this[_0x1d7237(0xe6)](_0x1d7237(0x105),{'id':_0x93cf43,'source':this,'uiInteraction':_0x1d7237(0xe1)});}),this['on'](_0x68ffb0(0xe7),()=>{const _0x53f711=_0x68ffb0;this[_0x53f711(0xe6)](_0x53f711(0xdd),{'origin':_0x53f711(0xde),'id':_0x93cf43,'source':this});});}[_0x3a4a34(0xfa)](){const _0x3a6a45=_0x3a4a34;this[_0x3a6a45(0x11e)]=!0x0;}[_0x3a4a34(0xea)](){const _0x58fbed=_0x3a4a34;this[_0x58fbed(0x11e)]=!0x1;}[_0x3a4a34(0x116)](){const _0x591c34=_0x3a4a34,_0x72a97a=new _0x3d83f4(this[_0x591c34(0xff)]);return _0x72a97a[_0x591c34(0x10f)]({'tag':_0x591c34(0xdf),'attributes':{'class':['ck',_0x591c34(0x120),_0x591c34(0xfd),_0x591c34(0xed),this[_0x591c34(0xf5)]['if'](_0x591c34(0x11d),_0x591c34(0x110),_0x4f383e=>!_0x4f383e)]}}),_0x72a97a;}[_0x3a4a34(0x114)](){const _0x56dcaf=_0x3a4a34,_0x1d10d0=new _0x31e371(this[_0x56dcaf(0xff)]);return _0x1d10d0[_0x56dcaf(0x113)]({'label':_0x52ea5e(this[_0x56dcaf(0xff)],_0x56dcaf(0xd2)),'withText':!0x0}),_0x1d10d0[_0x56dcaf(0x112)]({'on':{'click':this[_0x56dcaf(0xf5)]['to'](_0x1a9edd=>{const _0x4f8674=_0x56dcaf;this[_0x4f8674(0xe6)](_0x4f8674(0xe9),{'id':this[_0x4f8674(0x111)]}),_0x1a9edd[_0x4f8674(0x104)]();})},'attributes':{'class':[_0x56dcaf(0x100),_0x56dcaf(0xfb),this[_0x56dcaf(0xf5)]['if'](_0x56dcaf(0xe5),_0x56dcaf(0x110),_0xcf69f6=>_0x56dcaf(0xef)!==_0xcf69f6&&_0x56dcaf(0xfe)!==_0xcf69f6),this[_0x56dcaf(0xf5)]['if'](_0x56dcaf(0xe5),_0x56dcaf(0xfb),_0x23ca26=>_0x56dcaf(0xef)===_0x23ca26),this[_0x56dcaf(0xf5)]['if'](_0x56dcaf(0xe5),_0x56dcaf(0xee),_0x2d6884=>_0x56dcaf(0xfe)===_0x2d6884)]}}),this['on'](_0x56dcaf(0x11f),(_0x5a1c72,_0x5f4f52,_0x3811ff)=>{const _0x42cdee=_0x56dcaf;_0x1d10d0[_0x42cdee(0x10e)]=_0x42cdee(0xef)===_0x3811ff,_0x42cdee(0xfe)===_0x3811ff&&(_0x1d10d0[_0x42cdee(0xd6)]=_0x52ea5e(this[_0x42cdee(0xff)],_0x42cdee(0xf8)),_0x1d10d0[_0x42cdee(0x10a)]=_0x2c17e6);}),_0x1d10d0;}[_0x3a4a34(0xe3)](){const _0x90093b=_0x3a4a34,_0x2f73ce=new _0x31e371(this[_0x90093b(0xff)]);return _0x2f73ce[_0x90093b(0x113)]({'label':_0x52ea5e(this[_0x90093b(0xff)],_0x90093b(0x109)),'withText':!0x0}),_0x2f73ce[_0x90093b(0x112)]({'on':{'click':this[_0x90093b(0xf5)]['to'](_0x2b056d=>{const _0x2f7f21=_0x90093b;this[_0x2f7f21(0xe6)](_0x2f7f21(0xf1),{'id':this[_0x2f7f21(0x111)]}),_0x2b056d[_0x2f7f21(0x104)]();})},'attributes':{'class':[_0x90093b(0x115),this[_0x90093b(0xf5)]['if'](_0x90093b(0xe5),_0x90093b(0x110),_0x27ad33=>_0x90093b(0xef)!==_0x27ad33&&_0x90093b(0x103)!==_0x27ad33),this[_0x90093b(0xf5)]['if'](_0x90093b(0xe5),_0x90093b(0xf7),_0x57b9b5=>_0x90093b(0xef)===_0x57b9b5),this[_0x90093b(0xf5)]['if'](_0x90093b(0xe5),_0x90093b(0xee),_0x508021=>_0x90093b(0x103)===_0x508021)]}}),this['on'](_0x90093b(0x11f),(_0x194bcd,_0x126b5e,_0x29382d)=>{const _0x34e3fa=_0x90093b;_0x2f73ce[_0x34e3fa(0x10e)]=_0x34e3fa(0xef)===_0x29382d,_0x34e3fa(0x103)===_0x29382d&&(_0x2f73ce[_0x34e3fa(0xd6)]=_0x52ea5e(this[_0x34e3fa(0xff)],_0x34e3fa(0xf9)),_0x2f73ce[_0x34e3fa(0x10a)]=_0x29fdef);}),_0x2f73ce;}[_0x3a4a34(0xeb)](){const _0x2389c5=_0x3a4a34,_0x44c456=new _0x31e371(this[_0x2389c5(0xff)]);return _0x44c456[_0x2389c5(0x113)]({'label':_0x52ea5e(this[_0x2389c5(0xff)],_0x2389c5(0xe8)),'icon':_0xfc60a0,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x2389c5(0xec),'class':_0x2389c5(0xf3)}),_0x44c456[_0x2389c5(0xd7)](_0x2389c5(0x10c))['to'](this,_0x2389c5(0x106),_0x1c6a8b=>_0x1c6a8b),_0x44c456['on'](_0x2389c5(0x118),()=>{const _0x3241ed=_0x2389c5;this[_0x3241ed(0x106)]=!this[_0x3241ed(0x106)];}),_0x44c456;}[_0x3a4a34(0xfc)](){const _0x583697=_0x3a4a34,_0x18a524=new _0x31e371(this[_0x583697(0xff)]);return _0x18a524[_0x583697(0x113)]({'label':_0x52ea5e(this[_0x583697(0xff)],_0x583697(0xf2)),'icon':_0x1f0dc9,'withText':!0x0,'isEnabled':!0x1}),_0x18a524[_0x583697(0x112)]({'attributes':{'class':[_0x583697(0x100),_0x583697(0xee),this[_0x583697(0xf5)]['if'](_0x583697(0xe5),_0x583697(0x110),_0xa0dad1=>_0x583697(0xf0)!==_0xa0dad1)],'disabled':_0x583697(0x108)}}),_0x18a524;}}
23
+ const _0x53462c=_0x5f5a;(function(_0x236335,_0x298a3b){const _0x3783f7=_0x5f5a,_0x17d672=_0x236335();while(!![]){try{const _0x427cfb=-parseInt(_0x3783f7(0xd7))/0x1*(parseInt(_0x3783f7(0xb8))/0x2)+-parseInt(_0x3783f7(0xad))/0x3*(parseInt(_0x3783f7(0xda))/0x4)+-parseInt(_0x3783f7(0xf6))/0x5*(-parseInt(_0x3783f7(0xbb))/0x6)+-parseInt(_0x3783f7(0xb1))/0x7*(parseInt(_0x3783f7(0xc6))/0x8)+parseInt(_0x3783f7(0xbd))/0x9*(parseInt(_0x3783f7(0xfb))/0xa)+-parseInt(_0x3783f7(0xf8))/0xb+parseInt(_0x3783f7(0xdb))/0xc*(parseInt(_0x3783f7(0xfd))/0xd);if(_0x427cfb===_0x298a3b)break;else _0x17d672['push'](_0x17d672['shift']());}catch(_0x1f8da1){_0x17d672['push'](_0x17d672['shift']());}}}(_0x5ac2,0xb2df3));import{View as _0x40157b,ButtonView as _0x419134}from'ckeditor5/src/ui.js';function _0x5f5a(_0x29e4b5,_0x2659ae){const _0x5ac212=_0x5ac2();return _0x5f5a=function(_0x5f5a66,_0x197023){_0x5f5a66=_0x5f5a66-0xad;let _0x438ef9=_0x5ac212[_0x5f5a66];return _0x438ef9;},_0x5f5a(_0x29e4b5,_0x2659ae);}function _0x5ac2(){const _0x164ae4=['outdated','set','isEnabled','AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','change:status','infoButtonView','ck-ai_review__check-run-result-accept-button','isOn','3672464gZzact','_createDismissButtonView','dismissButtonView','panel','ck-ai-button-tertiary\x20ck-ai_review__check-run-result-info-button\x20ck-hidden','acceptButtonView','outdatedButtonView','mouseout','tagName','div','label','resultResponseView','ck-ai_review__check-run-result','AI_REVIEW_MODE_DISMISS_CHANGE','ck-ai-button-tertiary','_createInfoButtonView','ck-reset_all-excluded','165049nsKvDn','_createResultResponseView','ck-ai_review__check-run-result_active','860JTTXHF','1644hzGlfq','ck-ai_review__check-run-result-status-button','mouseover','target','isInfoToggleOn','AI_REVIEW_MODE_CHECK_STATUS_REJECTED','pending','setTemplate','acceptChange','setItemAsInactive','ck-ai_review__check-run-result-response','ck-ai_review__check-run-result-action-buttons','setItemAsActive','fire','icon','rejected','stopPropagation','accepted','ck-content','preventDefault','activateChange','changeId','isActive','status','menuitemcheckbox','disabled','AI_REVIEW_MODE_LEARN_MORE','206285cIHHhK','ck-ai_review__check-run-result-footer','5209380caMGvO','_createAcceptButtonView','dismissChange','7590fqdqsS','bindTemplate','153881oOHqCU','AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','deactivateChange','5730qqcKLu','ck-ai-button-secondary','locale','showDiff','7hDEQyM','click','execute','hover','AI_REVIEW_MODE_ACCEPT_CHANGE','bind','ck-hidden','14nSVfXY','extendTemplate','ck-ai_review__check-run-result-dismiss-button','96ykTUcw','_createOutdatedButtonView','11259rpchDP'];_0x5ac2=function(){return _0x164ae4;};return _0x5ac2();}import{IconInfo as _0x303981,IconCheck as _0x521e2f,IconCancel as _0x299c12,IconOutdated as _0x401bfe}from'ckeditor5/src/icons.js';import{getTranslation as _0x568947}from'../../aicore/utils/common-translations.js';export class AIReviewCoreReviewCheckListItemResultsView extends _0x40157b{[_0x53462c(0xd1)];[_0x53462c(0xcb)];[_0x53462c(0xc8)];[_0x53462c(0xc3)];[_0x53462c(0xcc)];constructor(_0x11dd91,_0x2bfc7b){const _0x1b56f4=_0x53462c;super(_0x11dd91),this['id']=_0x2bfc7b,this[_0x1b56f4(0xbf)](_0x1b56f4(0xf2),_0x1b56f4(0xe1)),this[_0x1b56f4(0xbf)](_0x1b56f4(0xf0),_0x2bfc7b),this[_0x1b56f4(0xd1)]=this[_0x1b56f4(0xd8)](),this[_0x1b56f4(0xcb)]=this[_0x1b56f4(0xf9)](),this[_0x1b56f4(0xc8)]=this[_0x1b56f4(0xc7)](),this[_0x1b56f4(0xc3)]=this[_0x1b56f4(0xd5)](),this[_0x1b56f4(0xcc)]=this[_0x1b56f4(0xbc)](),this[_0x1b56f4(0xbf)](_0x1b56f4(0xdf),!0x1),this[_0x1b56f4(0xbf)](_0x1b56f4(0xf1),!0x1),this[_0x1b56f4(0xbf)](_0x1b56f4(0xb0),!0x0),this[_0x1b56f4(0xe2)]({'tag':_0x1b56f4(0xcf),'attributes':{'class':[_0x1b56f4(0xd2),this[_0x1b56f4(0xfc)]['if'](_0x1b56f4(0xf1),_0x1b56f4(0xd9))]},'on':{'click':this[_0x1b56f4(0xfc)]['to'](_0x1b56f4(0xb2)),'mouseover':this[_0x1b56f4(0xfc)]['to'](_0x1b56f4(0xdd)),'mouseout':this[_0x1b56f4(0xfc)]['to'](_0x1b56f4(0xcd))},'children':[this[_0x1b56f4(0xd1)],{'tag':_0x1b56f4(0xcf),'attributes':{'class':[_0x1b56f4(0xf7)]},'children':[{'tag':_0x1b56f4(0xcf),'attributes':{'class':[_0x1b56f4(0xe6)]},'children':[this[_0x1b56f4(0xcb)],this[_0x1b56f4(0xc8)],this[_0x1b56f4(0xcc)]]},this[_0x1b56f4(0xc3)]]}]}),this['on'](_0x1b56f4(0xb2),(_0x5c7cad,_0x1339a8)=>{const _0x2c35e6=_0x1b56f4;_0x1339a8&&_0x1339a8[_0x2c35e6(0xde)]&&'A'===_0x1339a8[_0x2c35e6(0xde)][_0x2c35e6(0xce)]&&_0x1339a8[_0x2c35e6(0xee)](),this[_0x2c35e6(0xe8)](_0x2c35e6(0xef),{'id':_0x2bfc7b,'source':this,'uiInteraction':_0x2c35e6(0xb2)});}),this['on'](_0x1b56f4(0xdd),()=>{const _0x3bb408=_0x1b56f4;this[_0x3bb408(0xe8)](_0x3bb408(0xef),{'id':_0x2bfc7b,'source':this,'uiInteraction':_0x3bb408(0xb4)});}),this['on'](_0x1b56f4(0xcd),()=>{const _0x48901f=_0x1b56f4;this[_0x48901f(0xe8)](_0x48901f(0xff),{'origin':_0x48901f(0xc9),'id':_0x2bfc7b,'source':this});});}[_0x53462c(0xe7)](){const _0x24eae5=_0x53462c;this[_0x24eae5(0xf1)]=!0x0;}[_0x53462c(0xe4)](){const _0x5c1e03=_0x53462c;this[_0x5c1e03(0xf1)]=!0x1;}[_0x53462c(0xd8)](){const _0x31913e=_0x53462c,_0x310982=new _0x40157b(this[_0x31913e(0xaf)]);return _0x310982[_0x31913e(0xe2)]({'tag':_0x31913e(0xcf),'attributes':{'class':['ck',_0x31913e(0xed),_0x31913e(0xd6),_0x31913e(0xe5),this[_0x31913e(0xfc)]['if'](_0x31913e(0xb0),_0x31913e(0xb7),_0x40447d=>!_0x40447d)]}}),_0x310982;}[_0x53462c(0xf9)](){const _0x3ea4f8=_0x53462c,_0x53d76b=new _0x419134(this[_0x3ea4f8(0xaf)]);return _0x53d76b[_0x3ea4f8(0xbf)]({'label':_0x568947(this[_0x3ea4f8(0xaf)],_0x3ea4f8(0xb5)),'withText':!0x0}),_0x53d76b[_0x3ea4f8(0xb9)]({'on':{'click':this[_0x3ea4f8(0xfc)]['to'](_0x19f25e=>{const _0x1652dc=_0x3ea4f8;this[_0x1652dc(0xe8)](_0x1652dc(0xe3),{'id':this[_0x1652dc(0xf0)]}),_0x19f25e[_0x1652dc(0xeb)]();})},'attributes':{'class':[_0x3ea4f8(0xae),_0x3ea4f8(0xc4),this[_0x3ea4f8(0xfc)]['if'](_0x3ea4f8(0xf2),_0x3ea4f8(0xb7),_0x51617d=>_0x3ea4f8(0xe1)!==_0x51617d&&_0x3ea4f8(0xec)!==_0x51617d),this[_0x3ea4f8(0xfc)]['if'](_0x3ea4f8(0xf2),_0x3ea4f8(0xc4),_0x6ad096=>_0x3ea4f8(0xe1)===_0x6ad096),this[_0x3ea4f8(0xfc)]['if'](_0x3ea4f8(0xf2),_0x3ea4f8(0xdc),_0x2b2145=>_0x3ea4f8(0xec)===_0x2b2145)]}}),this['on'](_0x3ea4f8(0xc2),(_0x55054f,_0x57611b,_0x5c799b)=>{const _0xccebbe=_0x3ea4f8;_0x53d76b[_0xccebbe(0xc0)]=_0xccebbe(0xe1)===_0x5c799b,_0xccebbe(0xec)===_0x5c799b&&(_0x53d76b[_0xccebbe(0xd0)]=_0x568947(this[_0xccebbe(0xaf)],_0xccebbe(0xc1)),_0x53d76b[_0xccebbe(0xe9)]=_0x521e2f);}),_0x53d76b;}[_0x53462c(0xc7)](){const _0x45e42d=_0x53462c,_0x6263e9=new _0x419134(this[_0x45e42d(0xaf)]);return _0x6263e9[_0x45e42d(0xbf)]({'label':_0x568947(this[_0x45e42d(0xaf)],_0x45e42d(0xd3)),'withText':!0x0}),_0x6263e9[_0x45e42d(0xb9)]({'on':{'click':this[_0x45e42d(0xfc)]['to'](_0x236b3e=>{const _0x327eb1=_0x45e42d;this[_0x327eb1(0xe8)](_0x327eb1(0xfa),{'id':this[_0x327eb1(0xf0)]}),_0x236b3e[_0x327eb1(0xeb)]();})},'attributes':{'class':[_0x45e42d(0xd4),this[_0x45e42d(0xfc)]['if'](_0x45e42d(0xf2),_0x45e42d(0xb7),_0x3a2c23=>_0x45e42d(0xe1)!==_0x3a2c23&&_0x45e42d(0xea)!==_0x3a2c23),this[_0x45e42d(0xfc)]['if'](_0x45e42d(0xf2),_0x45e42d(0xba),_0xaddbe3=>_0x45e42d(0xe1)===_0xaddbe3),this[_0x45e42d(0xfc)]['if'](_0x45e42d(0xf2),_0x45e42d(0xdc),_0x1f53fe=>_0x45e42d(0xea)===_0x1f53fe)]}}),this['on'](_0x45e42d(0xc2),(_0x17a62a,_0x45692e,_0x3806e3)=>{const _0x2ad907=_0x45e42d;_0x6263e9[_0x2ad907(0xc0)]=_0x2ad907(0xe1)===_0x3806e3,_0x2ad907(0xea)===_0x3806e3&&(_0x6263e9[_0x2ad907(0xd0)]=_0x568947(this[_0x2ad907(0xaf)],_0x2ad907(0xe0)),_0x6263e9[_0x2ad907(0xe9)]=_0x299c12);}),_0x6263e9;}[_0x53462c(0xd5)](){const _0x3451a3=_0x53462c,_0x2750b8=new _0x419134(this[_0x3451a3(0xaf)]);return _0x2750b8[_0x3451a3(0xbf)]({'label':_0x568947(this[_0x3451a3(0xaf)],_0x3451a3(0xf5)),'icon':_0x303981,'tooltip':!0x0,'isToggleable':!0x0,'role':_0x3451a3(0xf3),'class':_0x3451a3(0xca)}),_0x2750b8[_0x3451a3(0xb6)](_0x3451a3(0xc5))['to'](this,_0x3451a3(0xdf),_0x285ee6=>_0x285ee6),_0x2750b8['on'](_0x3451a3(0xb3),()=>{const _0x18fe11=_0x3451a3;this[_0x18fe11(0xdf)]=!this[_0x18fe11(0xdf)];}),_0x2750b8;}[_0x53462c(0xbc)](){const _0x3f5df3=_0x53462c,_0x157f42=new _0x419134(this[_0x3f5df3(0xaf)]);return _0x157f42[_0x3f5df3(0xbf)]({'label':_0x568947(this[_0x3f5df3(0xaf)],_0x3f5df3(0xfe)),'icon':_0x401bfe,'withText':!0x0,'isEnabled':!0x1}),_0x157f42[_0x3f5df3(0xb9)]({'attributes':{'class':[_0x3f5df3(0xae),_0x3f5df3(0xdc),this[_0x3f5df3(0xfc)]['if'](_0x3f5df3(0xf2),_0x3f5df3(0xb7),_0x411dd1=>_0x3f5df3(0xbe)!==_0x411dd1)],'disabled':_0x3f5df3(0xf4)}}),_0x157f42;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Collection as _0x263d87,KeystrokeHandler as _0x11c805,FocusTracker as _0x26566c}from'ckeditor5/src/utils.js';import{View as _0x470484,ViewCollection as _0x28ef87,ButtonView as _0x44d0b5,FormRowView as _0x465305,createDropdown as _0x348417,addListToDropdown as _0x25d438,UIModel as _0x1f69b9,ButtonLabelView as _0x134a2b,LabeledFieldView as _0x1b6ff5,FocusCycler as _0x1ed998}from'ckeditor5/src/ui.js';import{getTranslation as _0x172c78}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x1f661d}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0x470484{['focusTracker']=new _0x26566c();['keystrokes']=new _0x11c805();['focusCycler'];['_focusables']=new _0x28ef87();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x543e4a,_0x12f254,_0x1502f9=!0x1){super(_0x543e4a),this['_check']=_0x12f254,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x12f254['defaultModel']?_0x12f254['defaultModel']['id']:'',this['_defaultLabel']=_0x12f254['defaultModel']?_0x12f254['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x1b6ff5(this['locale'],()=>new _0x1f661d(_0x543e4a)),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 _0x263d87(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x1502f9),_0x25d438(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x465305(this['locale'],{'children':[this['promptInputView']]}),new _0x465305(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x182d04,_0xac6c29)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0xac6c29()):_0xac6c29();}),this['focusCycler']=new _0x1ed998({'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'](_0x2cc5b5=>{this['_focusables']['add'](_0x2cc5b5),this['focusTracker']['add'](_0x2cc5b5['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 _0x3cfc17 of this['_getFormValidators']()){const _0x573f6d=_0x3cfc17();if(_0x573f6d)return this['promptInputView']['errorText']=_0x573f6d,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x172c78(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x30782c=new _0x44d0b5(this['locale']),t=this['locale']['t'];return _0x30782c['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x30782c['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x30782c;}['_createCancelButtonView'](){const _0x1d09e8=new _0x44d0b5(this['locale']),t=this['locale']['t'];return _0x1d09e8['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x1d09e8['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3f825e=>{_0x3f825e['stopPropagation']();})}}),_0x1d09e8['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x1d09e8;}['_setModelList'](_0xf35915){this['_modelSelectionDropdownItems']['clear']();const _0x4ae3c1=this['_check']['models'];if(_0xf35915)this['set']('modelDisplayMode','hidden');else{const _0x111558=0x1===_0x4ae3c1['length'];this['set']('modelDisplayMode',_0x111558?'name':'selector');}if(this['resetToDefault'](),_0x4ae3c1?.['length']){0x1===_0x4ae3c1['length']&&this['set']('activeModelName',_0x4ae3c1[0x0]['name']||_0x4ae3c1[0x0]['id']);for(const _0x53134c of _0x4ae3c1){const _0x3e2e91=new _0x1f69b9({'label':_0x53134c['name'],'withText':!0x0,'role':'menuitemradio','id':_0x53134c['id'],'model':_0x53134c});_0x3e2e91['bind']('isOn')['to'](this,'modelId',_0x2dcadf=>_0x2dcadf===_0x53134c['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x3e2e91,'labelView':new ModelButtonLabelView(this['locale'],_0x53134c)});}}}['_createModelSelectionDropdown'](){const _0x4c02ef=_0x348417(this['locale']);return _0x4c02ef['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x4c02ef['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x4c02ef['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0xb504ec=>'selector'===_0xb504ec),this['listenTo'](_0x4c02ef,'execute',_0x31c3d4=>{this['modelId']=_0x31c3d4['source']['model']['id'],_0x4c02ef['buttonView']['label']=_0x31c3d4['source']['label'];}),_0x4c02ef;}['_createModelNameView'](){const _0x196196=new ModelNameView(this['locale']);return _0x196196['bind']('text')['to'](this,'activeModelName',_0x131d48=>_0x131d48??''),_0x196196['bind']('isVisible')['to'](this,'modelDisplayMode',_0x24101f=>'name'===_0x24101f),_0x196196;}['_createActionsFooterView'](){const _0x179a3d=new _0x470484(this['locale']);return _0x179a3d['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']]}]}),_0x179a3d;}}class ModelNameView extends _0x470484{constructor(_0x1a2bf2){super(_0x1a2bf2),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x1d7241=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x1d7241['if']('isVisible','ck-hidden',_0xf7c14c=>!_0xf7c14c)]},'children':[{'text':_0x1d7241['to']('text')}]});}}class ModelButtonLabelView extends _0x134a2b{constructor(_0x2b2ff9,_0x5cdae4){super();const _0x4d1432=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x4d1432['to']('style'),'id':_0x4d1432['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x4d1432['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x5cdae4['description']||'']}]}]});}}
23
+ import{Collection as _0x5f40a1,KeystrokeHandler as _0x31b603,FocusTracker as _0x2df2d4}from'ckeditor5/src/utils.js';import{View as _0xe71736,ViewCollection as _0x54953c,ButtonView as _0x4fa069,FormRowView as _0x14585c,createDropdown as _0x169257,addListToDropdown as _0x35b4ab,UIModel as _0x147170,ButtonLabelView as _0x4b7a10,LabeledFieldView as _0x91d691,FocusCycler as _0xb1f4c8}from'ckeditor5/src/ui.js';import{getTranslation as _0x2762de}from'../../aicore/utils/common-translations.js';import{AIReviewCorePromptInputView as _0x4bf712}from'./aireviewcorepromptinputview.js';export class AIReviewCoreCustomCheckView extends _0xe71736{['focusTracker']=new _0x2df2d4();['keystrokes']=new _0x31b603();['focusCycler'];['_focusables']=new _0x54953c();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x46ad90,_0x365c3d,_0x5c701d=!0x1){super(_0x46ad90),this['_check']=_0x365c3d,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x365c3d['defaultModel']?_0x365c3d['defaultModel']['id']:'',this['_defaultLabel']=_0x365c3d['defaultModel']?_0x365c3d['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x91d691(this['locale'],()=>new _0x4bf712(_0x46ad90)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x5f40a1(),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x5c701d),_0x35b4ab(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x14585c(this['locale'],{'children':[this['promptInputView']]}),new _0x14585c(this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x5642e4,_0x108e1e)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x108e1e()):_0x108e1e();}),this['focusCycler']=new _0xb1f4c8({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),([this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x16689f=>{this['_focusables']['add'](_0x16689f),this['focusTracker']['add'](_0x16689f['element']);}),this['keystrokes']['listenTo'](this['element']));}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x1fad7e of this['_getFormValidators']()){const _0xe6e9d5=_0x1fad7e();if(_0xe6e9d5)return this['promptInputView']['errorText']=_0xe6e9d5,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x2762de(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x3748b8=new _0x4fa069(this['locale']),t=this['locale']['t'];return _0x3748b8['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x3748b8['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x3748b8;}['_createCancelButtonView'](){const _0x3e081b=new _0x4fa069(this['locale']),t=this['locale']['t'];return _0x3e081b['set']({'label':t('Cancel'),'withText':!0x0,'class':'ck-ai-button-tertiary'}),_0x3e081b['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x3d84ec=>{_0x3d84ec['stopPropagation']();})}}),_0x3e081b['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x3e081b;}['_setModelList'](_0x57f580){this['_modelSelectionDropdownItems']['clear']();const _0x385e5d=this['_check']['models'];if(_0x57f580)this['set']('modelDisplayMode','hidden');else{const _0x2ccb41=0x1===_0x385e5d['length'];this['set']('modelDisplayMode',_0x2ccb41?'name':'selector');}if(this['resetToDefault'](),_0x385e5d?.['length']){0x1===_0x385e5d['length']&&this['set']('activeModelName',_0x385e5d[0x0]['name']||_0x385e5d[0x0]['id']);for(const _0x28c726 of _0x385e5d){const _0x257fca=new _0x147170({'label':_0x28c726['name'],'withText':!0x0,'role':'menuitemradio','id':_0x28c726['id'],'model':_0x28c726});_0x257fca['bind']('isOn')['to'](this,'modelId',_0x4c8e4b=>_0x4c8e4b===_0x28c726['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x257fca,'labelView':new ModelButtonLabelView(this['locale'],_0x28c726)});}}}['_createModelSelectionDropdown'](){const _0x4895e3=_0x169257(this['locale']);return _0x4895e3['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x4895e3['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0}),_0x4895e3['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x58e30a=>'selector'===_0x58e30a),this['listenTo'](_0x4895e3,'execute',_0x4900aa=>{this['modelId']=_0x4900aa['source']['model']['id'],_0x4895e3['buttonView']['label']=_0x4900aa['source']['label'];}),_0x4895e3;}['_createModelNameView'](){const _0x276fb7=new ModelNameView(this['locale']);return _0x276fb7['bind']('text')['to'](this,'activeModelName',_0x174313=>_0x174313??''),_0x276fb7['bind']('isVisible')['to'](this,'modelDisplayMode',_0x3121d2=>'name'===_0x3121d2),_0x276fb7;}['_createActionsFooterView'](){const _0x3bc52a=new _0xe71736(this['locale']);return _0x3bc52a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x3bc52a;}}class ModelNameView extends _0xe71736{constructor(_0xda2be7){super(_0xda2be7),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x25ccc3=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x25ccc3['if']('isVisible','ck-hidden',_0x65daf9=>!_0x65daf9)]},'children':[{'text':_0x25ccc3['to']('text')}]});}}class ModelButtonLabelView extends _0x4b7a10{constructor(_0x34174e,_0x152918){super();const _0x526de0=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x526de0['to']('style'),'id':_0x526de0['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x526de0['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x152918['description']||'']}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x114737,_0x48b408){var _0x4d1a24=_0x2865,_0x306a48=_0x114737();while(!![]){try{var _0x6711dd=-parseInt(_0x4d1a24(0x1c2))/0x1+-parseInt(_0x4d1a24(0x1b8))/0x2*(parseInt(_0x4d1a24(0x1ba))/0x3)+parseInt(_0x4d1a24(0x1be))/0x4+-parseInt(_0x4d1a24(0x1b9))/0x5*(-parseInt(_0x4d1a24(0x1c3))/0x6)+-parseInt(_0x4d1a24(0x1b6))/0x7+parseInt(_0x4d1a24(0x1c1))/0x8+-parseInt(_0x4d1a24(0x1c4))/0x9*(-parseInt(_0x4d1a24(0x1bb))/0xa);if(_0x6711dd===_0x48b408)break;else _0x306a48['push'](_0x306a48['shift']());}catch(_0x3eb079){_0x306a48['push'](_0x306a48['shift']());}}}(_0x3c0a,0x91d02));import{ButtonView as _0x5b4265}from'ckeditor5/src/ui.js';function _0x2865(_0x56247e,_0x3a9479){var _0x3c0a07=_0x3c0a();return _0x2865=function(_0x2865fd,_0x165df1){_0x2865fd=_0x2865fd-0x1b6;var _0x3c4f60=_0x3c0a07[_0x2865fd];return _0x3c4f60;},_0x2865(_0x56247e,_0x3a9479);}import'../../../theme/aireviewcore/aireviewcore-review-completed.css';function _0x3c0a(){var _0x1a70f6=['fire','set','6426912zqIkms','184766qAqrQi','132894AVDVtB','170127EonTxv','5662237gWDpyv','execute','218iNHDfJ','230fkskfa','8121gqCKXb','30LDEPjX','ck-ai-button-primary','finishReview','28172QVzbff'];_0x3c0a=function(){return _0x1a70f6;};return _0x3c0a();}export class AIReviewCoreFinishReviewButtonView extends _0x5b4265{constructor(_0x20aa60,_0x537d38){var _0x3e07ac=_0x2865;super(_0x537d38),this[_0x3e07ac(0x1c0)]({'label':_0x20aa60,'withText':!0x0,'class':_0x3e07ac(0x1bc)}),this['on'](_0x3e07ac(0x1b7),()=>{var _0x3de71c=_0x3e07ac;this[_0x3de71c(0x1bf)](_0x3de71c(0x1bd));});}}
23
+ function _0x1197(_0xe96f8d,_0x312932){var _0x74774b=_0x7477();return _0x1197=function(_0x1197b0,_0x51442e){_0x1197b0=_0x1197b0-0x7a;var _0x39bb8c=_0x74774b[_0x1197b0];return _0x39bb8c;},_0x1197(_0xe96f8d,_0x312932);}(function(_0x322f70,_0x149d4f){var _0x32a5e9=_0x1197,_0x135cb8=_0x322f70();while(!![]){try{var _0x55f3ae=-parseInt(_0x32a5e9(0x7c))/0x1+parseInt(_0x32a5e9(0x7e))/0x2+-parseInt(_0x32a5e9(0x81))/0x3*(-parseInt(_0x32a5e9(0x84))/0x4)+-parseInt(_0x32a5e9(0x85))/0x5*(parseInt(_0x32a5e9(0x7d))/0x6)+-parseInt(_0x32a5e9(0x82))/0x7+parseInt(_0x32a5e9(0x7a))/0x8+parseInt(_0x32a5e9(0x7b))/0x9;if(_0x55f3ae===_0x149d4f)break;else _0x135cb8['push'](_0x135cb8['shift']());}catch(_0x1d5991){_0x135cb8['push'](_0x135cb8['shift']());}}}(_0x7477,0xc4ab0));function _0x7477(){var _0x5120af=['1662sBIeuv','616182dVRBwD','ck-ai-button-primary','execute','18066wnuUBO','8886017aNWmCg','set','792EiqIUK','18365cYqeaS','finishReview','fire','7813392VouqZG','15616782SHAnbv','1119915FEyIgB'];_0x7477=function(){return _0x5120af;};return _0x7477();}import{ButtonView as _0x77179b}from'ckeditor5/src/ui.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreFinishReviewButtonView extends _0x77179b{constructor(_0x5f1dd3,_0xb55389){var _0x4e2aa1=_0x1197;super(_0xb55389),this[_0x4e2aa1(0x83)]({'label':_0x5f1dd3,'withText':!0x0,'class':_0x4e2aa1(0x7f)}),this['on'](_0x4e2aa1(0x80),()=>{var _0x5f5d82=_0x4e2aa1;this[_0x5f5d82(0x87)](_0x5f5d82(0x86));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4b0774,_0x2606da){const _0x4ac5f2=_0x5e25,_0x1c838e=_0x4b0774();while(!![]){try{const _0x16df56=parseInt(_0x4ac5f2(0x16b))/0x1*(parseInt(_0x4ac5f2(0x172))/0x2)+-parseInt(_0x4ac5f2(0x16e))/0x3+-parseInt(_0x4ac5f2(0x168))/0x4*(parseInt(_0x4ac5f2(0x169))/0x5)+-parseInt(_0x4ac5f2(0x170))/0x6*(parseInt(_0x4ac5f2(0x173))/0x7)+parseInt(_0x4ac5f2(0x16c))/0x8+-parseInt(_0x4ac5f2(0x16a))/0x9*(-parseInt(_0x4ac5f2(0x166))/0xa)+parseInt(_0x4ac5f2(0x163))/0xb;if(_0x16df56===_0x2606da)break;else _0x1c838e['push'](_0x1c838e['shift']());}catch(_0x384780){_0x1c838e['push'](_0x1c838e['shift']());}}}(_0x2860,0x30891));import{View as _0x310862}from'ckeditor5/src/ui.js';function _0x2860(){const _0x3defe2=['setTemplate','9479470TnCwHi','isVisible','set','1071470QCJyYc','bindTemplate','232452ANniUJ','15ASjwSg','9lBfPvM','1578SiSqJV','522616ujYOBD','ck\x20ck-ai-notification\x20ck-ai-notification_error','918027EHxjRO','div','666KNkHnt','ck-ai_review__general-error-container','18wKFCKJ','23289uuMqnK','errorMessage','ck-hidden'];_0x2860=function(){return _0x3defe2;};return _0x2860();}function _0x5e25(_0x5e0841,_0x4e430c){const _0x2860a0=_0x2860();return _0x5e25=function(_0x5e2542,_0x3671d2){_0x5e2542=_0x5e2542-0x163;let _0x1805cf=_0x2860a0[_0x5e2542];return _0x1805cf;},_0x5e25(_0x5e0841,_0x4e430c);}export class AIReviewCoreGeneralErrorView extends _0x310862{constructor(_0x191dbb){const _0x89d0f=_0x5e25;super(_0x191dbb),this[_0x89d0f(0x165)](_0x89d0f(0x164),!0x1),this[_0x89d0f(0x165)](_0x89d0f(0x174),'');const _0x14d486=this[_0x89d0f(0x167)];this[_0x89d0f(0x176)]({'tag':_0x89d0f(0x16f),'attributes':{'class':['ck',_0x89d0f(0x171),_0x14d486['if'](_0x89d0f(0x164),_0x89d0f(0x175),_0x3b0afc=>!_0x3b0afc)]},'children':[{'tag':'p','attributes':{'class':_0x89d0f(0x16d)},'children':[{'text':_0x14d486['to'](_0x89d0f(0x174))}]}]});}}
23
+ function _0x4440(){const _0x275ff3=['701757sGMeEv','10mHMvCv','8RMltiX','div','2582703pJtZdz','71490XZOQzt','ck-hidden','ck\x20ck-ai-notification\x20ck-ai-notification_error','set','bindTemplate','25XHIaBa','719040aMFpHu','ck-ai_review__general-error-container','errorMessage','isVisible','26834fUgUtH','1398420vwNcqB','setTemplate','79541zlPobB'];_0x4440=function(){return _0x275ff3;};return _0x4440();}(function(_0x44a8d6,_0x138347){const _0x2555d9=_0xbea4,_0x4b5366=_0x44a8d6();while(!![]){try{const _0x2891d5=-parseInt(_0x2555d9(0xef))/0x1*(parseInt(_0x2555d9(0xf4))/0x2)+-parseInt(_0x2555d9(0xf8))/0x3+parseInt(_0x2555d9(0xf0))/0x4+parseInt(_0x2555d9(0xf5))/0x5+parseInt(_0x2555d9(0xfd))/0x6+parseInt(_0x2555d9(0xf7))/0x7*(-parseInt(_0x2555d9(0xfa))/0x8)+parseInt(_0x2555d9(0xfc))/0x9*(parseInt(_0x2555d9(0xf9))/0xa);if(_0x2891d5===_0x138347)break;else _0x4b5366['push'](_0x4b5366['shift']());}catch(_0x1d3d3d){_0x4b5366['push'](_0x4b5366['shift']());}}}(_0x4440,0x2b5d3));import{View as _0x24a0d5}from'ckeditor5/src/ui.js';function _0xbea4(_0x1fab7a,_0x4179ca){const _0x444026=_0x4440();return _0xbea4=function(_0xbea44b,_0x44ddd5){_0xbea44b=_0xbea44b-0xee;let _0x5755c6=_0x444026[_0xbea44b];return _0x5755c6;},_0xbea4(_0x1fab7a,_0x4179ca);}export class AIReviewCoreGeneralErrorView extends _0x24a0d5{constructor(_0x2f2bf7){const _0x242ba1=_0xbea4;super(_0x2f2bf7),this[_0x242ba1(0x100)](_0x242ba1(0xf3),!0x1),this[_0x242ba1(0x100)](_0x242ba1(0xf2),'');const _0x2b0885=this[_0x242ba1(0xee)];this[_0x242ba1(0xf6)]({'tag':_0x242ba1(0xfb),'attributes':{'class':['ck',_0x242ba1(0xf1),_0x2b0885['if'](_0x242ba1(0xf3),_0x242ba1(0xfe),_0x524637=>!_0x524637)]},'children':[{'tag':'p','attributes':{'class':_0x242ba1(0xff)},'children':[{'text':_0x2b0885['to'](_0x242ba1(0xf2))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x47e500=_0x3b78;(function(_0x34062b,_0x3d0d35){var _0xcd378b=_0x3b78,_0x5d5297=_0x34062b();while(!![]){try{var _0x147eb3=parseInt(_0xcd378b(0xbb))/0x1*(-parseInt(_0xcd378b(0xc6))/0x2)+parseInt(_0xcd378b(0xb0))/0x3+-parseInt(_0xcd378b(0xbc))/0x4*(-parseInt(_0xcd378b(0xb1))/0x5)+parseInt(_0xcd378b(0xb7))/0x6+-parseInt(_0xcd378b(0xc2))/0x7*(parseInt(_0xcd378b(0xc7))/0x8)+-parseInt(_0xcd378b(0xc1))/0x9+parseInt(_0xcd378b(0xb5))/0xa;if(_0x147eb3===_0x3d0d35)break;else _0x5d5297['push'](_0x5d5297['shift']());}catch(_0x344ed2){_0x5d5297['push'](_0x5d5297['shift']());}}}(_0x270e,0xd85f7));import{TextareaView as _0x59cfca}from'ckeditor5/src/ui.js';function _0x3b78(_0x21dedf,_0x38aa6e){var _0x270e7b=_0x270e();return _0x3b78=function(_0x3b78df,_0x8aaf9){_0x3b78df=_0x3b78df-0xaf;var _0x5cf497=_0x270e7b[_0x3b78df];return _0x5cf497;},_0x3b78(_0x21dedf,_0x38aa6e);}import{KeystrokeHandler as _0x5d4ddc}from'ckeditor5/src/utils.js';function _0x270e(){var _0x1ebfa0=['342538vSARIL','value','MIN_ROWS','update','1535208AewBdL','112JEgMjA','listenTo','extendTemplate','4066569oiVqvf','773170gKHfAY','ck-review__prompt-input','trim','MAX_ROWS','9238680kJqenL','ai-review-prompt-input','725844ZXnwZu','keystrokes','minRows','set','1OTyITk','44BizFAh','element','isEmpty','render','maxRows','15861564EoikWr'];_0x270e=function(){return _0x1ebfa0;};return _0x270e();}export class AIReviewCorePromptInputView extends _0x59cfca{[_0x47e500(0xb8)];static [_0x47e500(0xc4)]=0x1;static [_0x47e500(0xb4)]=0xc;constructor(_0x33607e){var _0x435e2c=_0x47e500;super(_0x33607e),this[_0x435e2c(0xba)](_0x435e2c(0xbe),!0x0),this[_0x435e2c(0xb8)]=new _0x5d4ddc(),this[_0x435e2c(0xb9)]=AIReviewCorePromptInputView[_0x435e2c(0xc4)],this[_0x435e2c(0xc0)]=AIReviewCorePromptInputView[_0x435e2c(0xb4)],this[_0x435e2c(0xaf)]({'attributes':{'id':_0x435e2c(0xb6),'class':['ck',_0x435e2c(0xb2)]}});}[_0x47e500(0xbf)](){var _0x10bf3c=_0x47e500;super[_0x10bf3c(0xbf)](),this['on'](_0x10bf3c(0xc5),()=>{var _0x1409f4=_0x10bf3c;this[_0x1409f4(0xbe)]=''===this[_0x1409f4(0xbd)][_0x1409f4(0xc3)]?.[_0x1409f4(0xb3)]();}),this[_0x10bf3c(0xb8)][_0x10bf3c(0xc8)](this[_0x10bf3c(0xbd)]);}}
23
+ function _0x4924(){var _0x181940=['set','maxRows','1297980daKAZJ','ck-review__prompt-input','1383220zIkEEl','3550812vrNBfh','listenTo','isEmpty','MIN_ROWS','trim','minRows','ai-review-prompt-input','update','7fjjLab','extendTemplate','207317iWekWv','keystrokes','3111328tNjREI','1361440mTaxZe','367284RmzABW','MAX_ROWS','value','render','element'];_0x4924=function(){return _0x181940;};return _0x4924();}var _0x279f5a=_0x4d6e;(function(_0x69d8b,_0x2bdf0b){var _0x17654a=_0x4d6e,_0x190c86=_0x69d8b();while(!![]){try{var _0x200769=parseInt(_0x17654a(0x170))/0x1+parseInt(_0x17654a(0x165))/0x2+parseInt(_0x17654a(0x15c))/0x3+-parseInt(_0x17654a(0x166))/0x4+parseInt(_0x17654a(0x173))/0x5+-parseInt(_0x17654a(0x163))/0x6*(parseInt(_0x17654a(0x16e))/0x7)+parseInt(_0x17654a(0x172))/0x8;if(_0x200769===_0x2bdf0b)break;else _0x190c86['push'](_0x190c86['shift']());}catch(_0x2d9c39){_0x190c86['push'](_0x190c86['shift']());}}}(_0x4924,0x8d3de));import{TextareaView as _0x4cffcf}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0xde36ed}from'ckeditor5/src/utils.js';function _0x4d6e(_0x4c4aab,_0x318dbe){var _0x492437=_0x4924();return _0x4d6e=function(_0x4d6e5b,_0x3e83d0){_0x4d6e5b=_0x4d6e5b-0x15c;var _0x5edb33=_0x492437[_0x4d6e5b];return _0x5edb33;},_0x4d6e(_0x4c4aab,_0x318dbe);}export class AIReviewCorePromptInputView extends _0x4cffcf{[_0x279f5a(0x171)];static [_0x279f5a(0x169)]=0x1;static [_0x279f5a(0x15d)]=0xc;constructor(_0x52be99){var _0x4b7246=_0x279f5a;super(_0x52be99),this[_0x4b7246(0x161)](_0x4b7246(0x168),!0x0),this[_0x4b7246(0x171)]=new _0xde36ed(),this[_0x4b7246(0x16b)]=AIReviewCorePromptInputView[_0x4b7246(0x169)],this[_0x4b7246(0x162)]=AIReviewCorePromptInputView[_0x4b7246(0x15d)],this[_0x4b7246(0x16f)]({'attributes':{'id':_0x4b7246(0x16c),'class':['ck',_0x4b7246(0x164)]}});}[_0x279f5a(0x15f)](){var _0x5f10a3=_0x279f5a;super[_0x5f10a3(0x15f)](),this['on'](_0x5f10a3(0x16d),()=>{var _0x4d7a60=_0x5f10a3;this[_0x4d7a60(0x168)]=''===this[_0x4d7a60(0x160)][_0x4d7a60(0x15e)]?.[_0x4d7a60(0x16a)]();}),this[_0x5f10a3(0x171)][_0x5f10a3(0x167)](this[_0x5f10a3(0x160)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11d26f=_0x4fb8;(function(_0x2fde56,_0x3b56c1){const _0x5107b9=_0x4fb8,_0xe905ae=_0x2fde56();while(!![]){try{const _0x39cdcc=-parseInt(_0x5107b9(0x17c))/0x1*(-parseInt(_0x5107b9(0x17f))/0x2)+parseInt(_0x5107b9(0x17a))/0x3+-parseInt(_0x5107b9(0x176))/0x4*(parseInt(_0x5107b9(0x181))/0x5)+parseInt(_0x5107b9(0x171))/0x6*(parseInt(_0x5107b9(0x170))/0x7)+parseInt(_0x5107b9(0x184))/0x8*(-parseInt(_0x5107b9(0x180))/0x9)+-parseInt(_0x5107b9(0x187))/0xa+parseInt(_0x5107b9(0x173))/0xb;if(_0x39cdcc===_0x3b56c1)break;else _0xe905ae['push'](_0xe905ae['shift']());}catch(_0x3b85a4){_0xe905ae['push'](_0xe905ae['shift']());}}}(_0x747f,0xe6345));function _0x4fb8(_0x17a45f,_0x246de0){const _0x747f62=_0x747f();return _0x4fb8=function(_0x4fb8e8,_0x5bec41){_0x4fb8e8=_0x4fb8e8-0x16c;let _0x44d719=_0x747f62[_0x4fb8e8];return _0x44d719;},_0x4fb8(_0x17a45f,_0x246de0);}function _0x747f(){const _0x1ce32c=['389124nTonzZ','entries','div','setChecks','3763887hoJbxa','resetAllParameterizedChecks','5323cAxgPr','clear','_setupTemplate','92djaoju','126klkzPd','5LzciVx','length','ck-hidden','1071856YZOHcA','resetToDefault','setTemplate','13399460UaUMuA','bindTemplate','_checkViews','locale','runReviewCheck','ck-ai_review__check-list','add','14rUEsbd','536718OCaKft','hasChecks','28352489pCDgKh','isVisible','delegate'];_0x747f=function(){return _0x1ce32c;};return _0x747f();}import{ListItemView as _0xee025b,ViewCollection as _0x47d296}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x2a07f1}from'./aireviewcorereviewcommandlistitemview.js';import'../../../theme/aireviewcore/aireviewcore-check-list.css';export class AIReviewCoreReviewCheckListView extends _0xee025b{[_0x11d26f(0x189)];constructor(_0x20f407){const _0x484817=_0x11d26f;super(_0x20f407),this[_0x484817(0x189)]=new _0x47d296(),this[_0x484817(0x17e)]();}[_0x11d26f(0x179)](_0x3b5aa4,_0x1a691e=!0x1){const _0x52aa6f=_0x11d26f;this[_0x52aa6f(0x189)][_0x52aa6f(0x17d)]();for(const [_0x45de51,_0x14f5cf]of _0x3b5aa4[_0x52aa6f(0x177)]()){const _0x363a5b=new _0x2a07f1(this[_0x52aa6f(0x16c)],_0x14f5cf,_0x45de51,_0x1a691e);_0x363a5b[_0x52aa6f(0x175)](_0x52aa6f(0x16d))['to'](this),this[_0x52aa6f(0x189)][_0x52aa6f(0x16f)](_0x363a5b);}}[_0x11d26f(0x172)](){const _0x260b49=_0x11d26f;return this[_0x260b49(0x189)][_0x260b49(0x182)]>0x0;}[_0x11d26f(0x17b)](){const _0x45af50=_0x11d26f;for(const _0x5df60a of this[_0x45af50(0x189)])_0x5df60a instanceof _0x2a07f1&&_0x5df60a[_0x45af50(0x185)]();}[_0x11d26f(0x17e)](){const _0x3cc690=_0x11d26f,_0x38f58b=this[_0x3cc690(0x188)];this[_0x3cc690(0x186)]({'tag':_0x3cc690(0x178),'attributes':{'class':[_0x3cc690(0x16e),_0x38f58b['if'](_0x3cc690(0x174),_0x3cc690(0x183),_0x1e8f8b=>!_0x1e8f8b)]},'children':this[_0x3cc690(0x189)]});}}
23
+ const _0x486607=_0x1fd8;(function(_0x410fed,_0x32402a){const _0x31dfd1=_0x1fd8,_0x3c8312=_0x410fed();while(!![]){try{const _0x896fa7=parseInt(_0x31dfd1(0x122))/0x1+parseInt(_0x31dfd1(0x117))/0x2*(-parseInt(_0x31dfd1(0x10b))/0x3)+parseInt(_0x31dfd1(0x10f))/0x4+-parseInt(_0x31dfd1(0x108))/0x5+-parseInt(_0x31dfd1(0x11e))/0x6+-parseInt(_0x31dfd1(0x10d))/0x7*(parseInt(_0x31dfd1(0x107))/0x8)+-parseInt(_0x31dfd1(0x110))/0x9*(-parseInt(_0x31dfd1(0x10c))/0xa);if(_0x896fa7===_0x32402a)break;else _0x3c8312['push'](_0x3c8312['shift']());}catch(_0x46ec83){_0x3c8312['push'](_0x3c8312['shift']());}}}(_0x1e1e,0x23d38));import{ListItemView as _0x41fb59,ViewCollection as _0x4ee49a}from'ckeditor5/src/ui.js';import{AIReviewCoreReviewCommandListItemView as _0x2d0de6}from'./aireviewcorereviewcommandlistitemview.js';function _0x1e1e(){const _0x2f1638=['runReviewCheck','ck-ai_review__check-list','bindTemplate','126816DuyvMK','div','setTemplate','entries','length','resetToDefault','resetAllParameterizedChecks','439848MIeRwc','hasChecks','setChecks','ck-hidden','98606YkrSSs','add','230104OAaPfU','519055pRmBSe','isVisible','clear','9XwJaXg','10DhYpKg','35TJQGUv','delegate','615560qLgYuf','3648654LuFWiH','_checkViews','locale','_setupTemplate'];_0x1e1e=function(){return _0x2f1638;};return _0x1e1e();}import'../../../theme/aireviewcore/aireviewcore-check-list.css';function _0x1fd8(_0x35265f,_0x30b035){const _0x1e1e43=_0x1e1e();return _0x1fd8=function(_0x1fd8ee,_0xd13bb9){_0x1fd8ee=_0x1fd8ee-0x106;let _0x2867dc=_0x1e1e43[_0x1fd8ee];return _0x2867dc;},_0x1fd8(_0x35265f,_0x30b035);}export class AIReviewCoreReviewCheckListView extends _0x41fb59{[_0x486607(0x111)];constructor(_0x2b10f8){const _0x1644b0=_0x486607;super(_0x2b10f8),this[_0x1644b0(0x111)]=new _0x4ee49a(),this[_0x1644b0(0x113)]();}[_0x486607(0x120)](_0x1adb67,_0x28c598=!0x1){const _0x79cdd8=_0x486607;this[_0x79cdd8(0x111)][_0x79cdd8(0x10a)]();for(const [_0x441f5b,_0x1397ab]of _0x1adb67[_0x79cdd8(0x11a)]()){const _0x26f31b=new _0x2d0de6(this[_0x79cdd8(0x112)],_0x1397ab,_0x441f5b,_0x28c598);_0x26f31b[_0x79cdd8(0x10e)](_0x79cdd8(0x114))['to'](this),this[_0x79cdd8(0x111)][_0x79cdd8(0x106)](_0x26f31b);}}[_0x486607(0x11f)](){const _0x135734=_0x486607;return this[_0x135734(0x111)][_0x135734(0x11b)]>0x0;}[_0x486607(0x11d)](){const _0x42c0ab=_0x486607;for(const _0x381cca of this[_0x42c0ab(0x111)])_0x381cca instanceof _0x2d0de6&&_0x381cca[_0x42c0ab(0x11c)]();}[_0x486607(0x113)](){const _0x4d2be3=_0x486607,_0x1e418f=this[_0x4d2be3(0x116)];this[_0x4d2be3(0x119)]({'tag':_0x4d2be3(0x118),'attributes':{'class':[_0x4d2be3(0x115),_0x1e418f['if'](_0x4d2be3(0x109),_0x4d2be3(0x121),_0x1b833a=>!_0x1b833a)]},'children':this[_0x4d2be3(0x111)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0xf7ddf2,IconView as _0x34e454,View as _0x21a80e,ViewCollection as _0x20a16d,ButtonView as _0x5bc309,clickOutsideHandler as _0x2f8587}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x5991d4}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as tc}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x2cf318}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0xf7ddf2{['_formItemsCollection']=new _0x20a16d();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x9d9781,_0x2e10d8,_0x379ac1,_0x40ee36=!0x1){super(_0x9d9781),this['_hideModels']=_0x40ee36,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x2e10d8['isParameterized']);const _0x3628ac=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',_0x5f5bb3=>_0x5f5bb3),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x66b992=>_0x66b992)],'style':{'--ck-ai-review-check-list-item-index':_0x379ac1}},'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':_0x2e10d8['title']}]},_0x3628ac]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x2e10d8['description']?[{'text':_0x2e10d8['description']}]:[]}]}]},..._0x2e10d8['isParameterized']?[this['_createParameterizedView'](_0x2e10d8)]:[],...'custom'===_0x2e10d8['id']?[this['_createCustomView'](_0x2e10d8,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x2e10d8['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x2e10d8['id'],'args':_0x2e10d8['useArgs']?_0x2e10d8['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x2f8587({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x39dd3d=>{_0x39dd3d['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x33cb97=new _0x34e454();return _0x33cb97['content']=_0x5991d4,_0x33cb97['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x33cb97;}['_createParameterizedView'](_0x9c7bc5){const _0x2ebdd=new _0x21a80e(),_0xc84aee=this['_createFormView'](_0x9c7bc5);return _0x2ebdd['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x1ab426=>!_0x1ab426)]},'children':[_0xc84aee]}),_0x2ebdd;}['_createFormView'](_0x538d5e){const _0x56fab3=new _0x21a80e(),_0x828c4=Array['isArray'](_0x538d5e['options'])?_0x538d5e['options']:[],_0x437a23=new _0x5bc309(this['locale']),t=this['locale']['t'];_0x437a23['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x437a23['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x533ae5=>{_0x533ae5['stopPropagation']();})}}),_0x437a23['on']('execute',()=>{const _0x5cd94a=[],_0x93e237={};this['_formItemsCollection']['forEach'](_0x559ab7=>{_0x5cd94a['push'](_0x559ab7['value']),_0x538d5e['useArgs']&&_0x538d5e['options']&&(_0x93e237[_0x559ab7['argsKey']]=_0x559ab7['value']);}),this['fire']('runReviewCheck',{'id':_0x538d5e['id'],'params':_0x5cd94a['length']?_0x5cd94a:void 0x0,'args':Object['keys'](_0x93e237)['length']?_0x93e237:void 0x0});});const _0x3aabb8=_0x828c4['length'];return _0x828c4['forEach']((_0x19edc8,_0x3bd49e)=>{const _0x5c5ff0=_0x3bd49e===_0x3aabb8-0x1;this['_formItemsCollection']['add'](new tc(this['locale'],_0x19edc8,_0x5c5ff0?_0x437a23:null));}),_0x56fab3['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x56fab3;}['_createCustomView'](_0x31490d,_0x51f2e0=!0x1){return this['_customCheckView']=new _0x2cf318(this['locale'],_0x31490d,_0x51f2e0),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',_0x342d1d=>!_0x342d1d)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x22b478,_0x5af1db,_0x13c9d5)=>{_0x13c9d5||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
23
+ import{ListItemView as _0xe77087,IconView as _0x1172b3,View as _0x370b4f,ViewCollection as _0x4b6966,ButtonView as _0x3b95e8,clickOutsideHandler as _0x57b5ac}from'ckeditor5/src/ui.js';import{IconChevronRight as _0x41b19f}from'ckeditor5/src/icons.js';import{AIReviewCoreFormManagerView as tc}from'./form/aireviewcoreformmanager.js';import{AIReviewCoreCustomCheckView as _0x5b620a}from'./aireviewcorecustomcheckview.js';export class AIReviewCoreReviewCommandListItemView extends _0xe77087{['_formItemsCollection']=new _0x4b6966();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x586483,_0x1a4215,_0x41c8a2,_0x241b61=!0x1){super(_0x586483),this['_hideModels']=_0x241b61,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x1a4215['isParameterized']);const _0x53808f=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai_review__check-list-item_selected',_0x1ba9ae=>_0x1ba9ae),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x39bc2c=>_0x39bc2c)],'style':{'--ck-ai-review-check-list-item-index':_0x41c8a2}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-list-item-title-text']},'children':[{'text':_0x1a4215['title']}]},_0x53808f]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x1a4215['description']?[{'text':_0x1a4215['description']}]:[]}]}]},..._0x1a4215['isParameterized']?[this['_createParameterizedView'](_0x1a4215)]:[],...'custom'===_0x1a4215['id']?[this['_createCustomView'](_0x1a4215,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x1a4215['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x1a4215['id'],'args':_0x1a4215['useArgs']?_0x1a4215['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&_0x57b5ac({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x3aa62c=>{_0x3aa62c['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0xd14005=new _0x1172b3();return _0xd14005['content']=_0x41b19f,_0xd14005['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0xd14005;}['_createParameterizedView'](_0x5c257e){const _0x41c95e=new _0x370b4f(),_0x25bcb0=this['_createFormView'](_0x5c257e);return _0x41c95e['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x55b404=>!_0x55b404)]},'children':[_0x25bcb0]}),_0x41c95e;}['_createFormView'](_0x4af2e0){const _0x4c1bec=new _0x370b4f(),_0xdfea58=Array['isArray'](_0x4af2e0['options'])?_0x4af2e0['options']:[],_0x22df25=new _0x3b95e8(this['locale']),t=this['locale']['t'];_0x22df25['set']({'label':t('Submit'),'withText':!0x0,'class':'ck-ai-button-primary'}),_0x22df25['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x35990a=>{_0x35990a['stopPropagation']();})}}),_0x22df25['on']('execute',()=>{const _0x43122d=[],_0x58ea05={};this['_formItemsCollection']['forEach'](_0x5197bc=>{_0x43122d['push'](_0x5197bc['value']),_0x4af2e0['useArgs']&&_0x4af2e0['options']&&(_0x58ea05[_0x5197bc['argsKey']]=_0x5197bc['value']);}),this['fire']('runReviewCheck',{'id':_0x4af2e0['id'],'params':_0x43122d['length']?_0x43122d:void 0x0,'args':Object['keys'](_0x58ea05)['length']?_0x58ea05:void 0x0});});const _0x440742=_0xdfea58['length'];return _0xdfea58['forEach']((_0x48268e,_0x40d050)=>{const _0x29aec7=_0x40d050===_0x440742-0x1;this['_formItemsCollection']['add'](new tc(this['locale'],_0x48268e,_0x29aec7?_0x22df25:null));}),_0x4c1bec['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x4c1bec;}['_createCustomView'](_0x200984,_0x340728=!0x1){return this['_customCheckView']=new _0x5b620a(this['locale'],_0x200984,_0x340728),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-parameterized','ck-ai_review__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0xe7130e=>!_0xe7130e)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x752072,_0x5d7427,_0x1f5ca1)=>{_0x1f5ca1||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27cad5=_0x1400;function _0x1400(_0x1a47c8,_0x3a2a7e){const _0x2eb5a0=_0x2eb5();return _0x1400=function(_0x140054,_0x4d1755){_0x140054=_0x140054-0xb4;let _0x456375=_0x2eb5a0[_0x140054];return _0x456375;},_0x1400(_0x1a47c8,_0x3a2a7e);}(function(_0x663f65,_0x469386){const _0x2b7622=_0x1400,_0x30d2aa=_0x663f65();while(!![]){try{const _0x2ab764=-parseInt(_0x2b7622(0xba))/0x1+-parseInt(_0x2b7622(0xcc))/0x2*(-parseInt(_0x2b7622(0xc7))/0x3)+parseInt(_0x2b7622(0xbe))/0x4+parseInt(_0x2b7622(0xb5))/0x5+-parseInt(_0x2b7622(0xb7))/0x6*(-parseInt(_0x2b7622(0xce))/0x7)+-parseInt(_0x2b7622(0xc4))/0x8+-parseInt(_0x2b7622(0xc0))/0x9;if(_0x2ab764===_0x469386)break;else _0x30d2aa['push'](_0x30d2aa['shift']());}catch(_0x48adf7){_0x30d2aa['push'](_0x30d2aa['shift']());}}}(_0x2eb5,0x95d96));function _0x2eb5(){const _0x574cce=['ck-ai_review__review-completed-header-title','emptyResultsText','2607050BUUQUe','bindTemplate','39594PkqFWj','isVisible','ck-ai_review__review-completed-content','329187ZRyvCn','_resultsHeader','_finishReviewButtonView','ck-ai_review__review-completed-content-text','448904fPFrod','ck-ai_review__review-completed-header-buttons','4699080uIQvdA','buttonText','ck-ai_review__review-completed','ck-ai_review__review-completed-header','8737224eMTcyY','setTemplate','ck-hidden','2345937wtBohC','finishReview','ck-ai_review__review-completed-content-icon','_createResultHeaderView','locale','2dIKPOI','_createFinishReviewButtonView','1211DGSDGc','div','headerText','delegate','span'];_0x2eb5=function(){return _0x574cce;};return _0x2eb5();}import{ListItemView as _0x59fe3d,View as _0x190c17}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x33ce66}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x59fe3d{[_0x27cad5(0xbb)];[_0x27cad5(0xbc)];constructor(_0x19d813,_0x2ae152){const _0x4e6b51=_0x27cad5;super(_0x19d813),this[_0x4e6b51(0xbc)]=this[_0x4e6b51(0xcd)](_0x2ae152[_0x4e6b51(0xc1)]),this[_0x4e6b51(0xbb)]=this[_0x4e6b51(0xca)](_0x2ae152[_0x4e6b51(0xd0)]);const _0x59fb7e=this[_0x4e6b51(0xb6)];this[_0x4e6b51(0xc5)]({'tag':_0x4e6b51(0xcf),'attributes':{'class':[_0x4e6b51(0xc2),_0x59fb7e['if'](_0x4e6b51(0xb8),_0x4e6b51(0xc6),_0x921d96=>!_0x921d96)]},'children':[this[_0x4e6b51(0xbb)],{'tag':_0x4e6b51(0xcf),'attributes':{'class':[_0x4e6b51(0xb9)]},'children':[{'tag':_0x4e6b51(0xd2),'attributes':{'class':[_0x4e6b51(0xc9)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x4e6b51(0xbd)]},'children':[{'text':_0x2ae152[_0x4e6b51(0xb4)]}]}]}]});}[_0x27cad5(0xcd)](_0xd136d6){const _0x3f3179=_0x27cad5,_0x134159=new _0x33ce66(_0xd136d6,this[_0x3f3179(0xcb)]);return _0x134159[_0x3f3179(0xd1)](_0x3f3179(0xc8))['to'](this),_0x134159;}[_0x27cad5(0xca)](_0x11286f){const _0x2c330a=_0x27cad5,_0x41e9e8=new _0x190c17(this[_0x2c330a(0xcb)]);return _0x41e9e8[_0x2c330a(0xc5)]({'tag':_0x2c330a(0xcf),'attributes':{'class':[_0x2c330a(0xc3)]},'children':[{'tag':_0x2c330a(0xd2),'attributes':{'class':[_0x2c330a(0xd3)]},'children':[{'text':_0x11286f}]},{'tag':_0x2c330a(0xcf),'attributes':{'class':[_0x2c330a(0xbf)]},'children':[this[_0x2c330a(0xbc)]]}]}),_0x41e9e8;}}
23
+ const _0x4e1c42=_0x4296;(function(_0x429154,_0x69e82c){const _0xeb3991=_0x4296,_0x74c708=_0x429154();while(!![]){try{const _0x210d30=parseInt(_0xeb3991(0x1a9))/0x1+-parseInt(_0xeb3991(0x19d))/0x2*(-parseInt(_0xeb3991(0x18c))/0x3)+-parseInt(_0xeb3991(0x1a1))/0x4*(-parseInt(_0xeb3991(0x194))/0x5)+-parseInt(_0xeb3991(0x1a3))/0x6+parseInt(_0xeb3991(0x1a5))/0x7+parseInt(_0xeb3991(0x1aa))/0x8*(parseInt(_0xeb3991(0x19f))/0x9)+parseInt(_0xeb3991(0x19c))/0xa*(-parseInt(_0xeb3991(0x1a2))/0xb);if(_0x210d30===_0x69e82c)break;else _0x74c708['push'](_0x74c708['shift']());}catch(_0x5607c7){_0x74c708['push'](_0x74c708['shift']());}}}(_0x26c2,0x221f8));function _0x4296(_0x50a6ac,_0x393230){const _0x26c272=_0x26c2();return _0x4296=function(_0x4296dc,_0x3a83bc){_0x4296dc=_0x4296dc-0x189;let _0x5d0556=_0x26c272[_0x4296dc];return _0x5d0556;},_0x4296(_0x50a6ac,_0x393230);}import{ListItemView as _0x112ee3,View as _0x153dd6}from'ckeditor5/src/ui.js';import{AIReviewCoreFinishReviewButtonView as _0x4324f6}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-review-completed.css';export class AIReviewCoreReviewCompletedView extends _0x112ee3{[_0x4e1c42(0x19b)];[_0x4e1c42(0x1a0)];constructor(_0x5dc94a,_0x576611){const _0x427781=_0x4e1c42;super(_0x5dc94a),this[_0x427781(0x1a0)]=this[_0x427781(0x196)](_0x576611[_0x427781(0x18b)]),this[_0x427781(0x19b)]=this[_0x427781(0x18d)](_0x576611[_0x427781(0x19a)]);const _0x28b096=this[_0x427781(0x18a)];this[_0x427781(0x195)]({'tag':_0x427781(0x1a7),'attributes':{'class':[_0x427781(0x1a4),_0x28b096['if'](_0x427781(0x197),_0x427781(0x191),_0x2f68b5=>!_0x2f68b5)]},'children':[this[_0x427781(0x19b)],{'tag':_0x427781(0x1a7),'attributes':{'class':[_0x427781(0x19e)]},'children':[{'tag':_0x427781(0x190),'attributes':{'class':[_0x427781(0x192)]},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':[_0x427781(0x193)]},'children':[{'text':_0x576611[_0x427781(0x18f)]}]}]}]});}[_0x4e1c42(0x196)](_0x7f1cf7){const _0x1a6453=_0x4e1c42,_0x9d2f81=new _0x4324f6(_0x7f1cf7,this[_0x1a6453(0x1a6)]);return _0x9d2f81[_0x1a6453(0x1a8)](_0x1a6453(0x189))['to'](this),_0x9d2f81;}[_0x4e1c42(0x18d)](_0x1b4607){const _0x6f1d61=_0x4e1c42,_0xca85c5=new _0x153dd6(this[_0x6f1d61(0x1a6)]);return _0xca85c5[_0x6f1d61(0x195)]({'tag':_0x6f1d61(0x1a7),'attributes':{'class':[_0x6f1d61(0x199)]},'children':[{'tag':_0x6f1d61(0x190),'attributes':{'class':[_0x6f1d61(0x198)]},'children':[{'text':_0x1b4607}]},{'tag':_0x6f1d61(0x1a7),'attributes':{'class':[_0x6f1d61(0x18e)]},'children':[this[_0x6f1d61(0x1a0)]]}]}),_0xca85c5;}}function _0x26c2(){const _0x3a8f28=['setTemplate','_createFinishReviewButtonView','isVisible','ck-ai_review__review-completed-header-title','ck-ai_review__review-completed-header','headerText','_resultsHeader','403290oDxxWo','22sxyLyJ','ck-ai_review__review-completed-content','9gSThoO','_finishReviewButtonView','78268BleMBp','143cmfanq','53160rNUoWU','ck-ai_review__review-completed','893802TxhZOH','locale','div','delegate','79978xCMupJ','1634408ZwXGXr','finishReview','bindTemplate','buttonText','65829Bhepaa','_createResultHeaderView','ck-ai_review__review-completed-header-buttons','emptyResultsText','span','ck-hidden','ck-ai_review__review-completed-content-icon','ck-ai_review__review-completed-content-text','5QcjVQo'];_0x26c2=function(){return _0x3a8f28;};return _0x26c2();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ListItemView as _0x57bd2d,View as _0x15b61b,ViewCollection as _0x18bf58,ButtonView as _0x33dbef}from'ckeditor5/src/ui.js';import{IconStop as _0x7b71ac,IconEye as _0x367f79,IconEyeCrossedOut as _0x2a1dd0}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x1f7ae4,SKELETON_DEFINITIONS as _0x579d49}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x3f354f}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x46168}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x1febfe}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x3ca13c}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x5edb00}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x57bd2d{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x4b6f43,_0x481980){super(_0x4b6f43),this['_contents']=_0x481980,this['_resultViews']=new _0x18bf58(),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 _0x3f354f(_0x4b6f43),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 _0x4cf824=this['_createCombinedSkeletonLoader'](),_0x2fd739=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x2fd739['if']('isLoading','ck-ai_review__check-run_loading',_0x45e4e9=>_0x45e4e9),_0x2fd739['if']('isResultReady','ck-ai_review__check-run_ready',_0x2aecf1=>_0x2aecf1),_0x2fd739['if']('isVisible','ck-hidden',_0x4aee1f=>!_0x4aee1f)]},'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',_0x27f690=>_0x27f690)]},'children':this['_resultViews']},_0x4cf824]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x4840ae){const _0x5543e8=new _0x3ca13c(this['locale'],_0x4840ae['id']);_0x5543e8['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x5543e8),_0x5543e8['resultResponseView']['element']['innerHTML']=_0x4840ae['contentDiffed'];}['hideResult'](_0xd9adf0,_0x25328c){if('pending'===_0x25328c)return;const _0x555e37=this['_resultViews']['find'](_0x307b1d=>_0x307b1d['id']===_0xd9adf0);_0x555e37&&(_0x555e37['status']=_0x25328c,_0x555e37['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x471576,_0x51d800){if('pending'!==_0x51d800)return;const _0x1b5979=this['_resultViews']['find'](_0x14fa64=>_0x14fa64['id']===_0x471576);_0x1b5979&&(_0x1b5979['status']=_0x51d800,_0x1b5979['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x144224,_0x28df43){this['headerTitle']=_0x144224,this['headerSubtitle']=_0x28df43||'';}['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 _0x1f7ae4(this['locale'],_0x579d49['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x117b9a=new _0x15b61b(this['locale']),_0x21cbc8=[];for(let _0x553dae=0x0;_0x553dae<0x10;_0x553dae++){const _0x569ff5=this['_createSkeletonLoader']();_0x569ff5['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x21cbc8['push'](_0x569ff5);}return _0x117b9a['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x2bee4a=>!_0x2bee4a)]},'children':_0x21cbc8}),_0x117b9a;}['_createErrorView'](){const _0x5d8bc9=new _0x15b61b(this['locale']),_0x3a3b8e=new _0x33dbef(this['locale']),t=this['locale']['t'];return _0x5d8bc9['delegate']('retryReview')['to'](this),_0x3a3b8e['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x3a3b8e['on']('execute',()=>{this['fire']('retryReview');}),_0x5d8bc9['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x43eb89=>!_0x43eb89),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x44b047=>'chunk'===_0x44b047)]},'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',_0x8605a=>'chunk'===_0x8605a)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0xd3495f=>'general'!==_0xd3495f)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x236e25=>'chunk'!==_0x236e25)]},'children':[{'text':_0x46168(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x3a3b8e]}),_0x5d8bc9;}['_createCancelButtonView'](){const _0x570d0e=new _0x33dbef(this['locale']);return _0x570d0e['set']({'label':_0x46168(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x7b71ac}),_0x570d0e['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1eed45=>_0x1eed45),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x1caf76=>_0x1caf76)]}}),_0x570d0e['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x570d0e;}['_createToggleDiffButtonView'](){const _0x536218=new _0x33dbef(this['locale']);_0x536218['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x536218['bind']('isEnabled')['to'](this,'isError',_0x45dc60=>!_0x45dc60),_0x536218['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x6ce539=>!_0x6ce539),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x570155=>_0x570155)]}});const _0x430e62=_0x46168(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x1f39f5=_0x46168(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x536218['bind']('isOn')['to'](this,'isToggleDiffOn',_0x3fcbfc=>_0x3fcbfc),_0x536218['bind']('icon')['to'](this,'isToggleDiffOn',_0x28ab41=>_0x28ab41?_0x367f79:_0x2a1dd0),_0x536218['bind']('label')['to'](this,'isToggleDiffOn',_0x3e962f=>_0x3e962f?_0x430e62:_0x1f39f5),_0x536218['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x536218;}['_createAcceptAllButtonView'](){const _0xf005b1=new _0x33dbef(this['locale']);return _0xf005b1['set']({'label':_0x46168(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0xf005b1['bind']('isEnabled')['to'](this,'isError',_0x41e286=>!_0x41e286),_0xf005b1['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0xae1c57=>!_0xae1c57),this['bindTemplate']['if']('isCompleted','ck-hidden',_0xa25630=>_0xa25630)]}}),_0xf005b1['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0xf005b1;}['_createExitReviewButtonView'](){const _0x38682d=new _0x33dbef(this['locale']);return _0x38682d['set']({'label':_0x46168(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x38682d['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1d0aba=>!_0x1d0aba),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x31fe61=>_0x31fe61)]}}),_0x38682d['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x38682d;}['_createResultHeaderView'](){const _0x46bf59=new _0x15b61b(this['locale']),_0x3ed44d=this['_createTitleView']();return _0x46bf59['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0xc15121=>_0xc15121)]},'children':[_0x3ed44d,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x46bf59;}['_createTitleView'](){const _0x487722=new _0x15b61b(this['locale']),_0x56bedf=new _0x1febfe();return _0x56bedf['bind']('isVisible')['to'](this,'isResultReady',_0x76574e=>!_0x76574e),_0x487722['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x56bedf,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5e8827=>_0x5e8827)]},'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',_0x4a897a=>!_0x4a897a)]},'children':[{'text':_0x46168(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x487722;}['_createFinishReviewButtonView'](){const _0x3ca69d=new _0x5edb00(_0x46168(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x3ca69d['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3ff5c1=>!_0x3ff5c1)]}}),_0x3ca69d['delegate']('finishReview')['to'](this),_0x3ca69d;}}
23
+ import{ListItemView as _0x2aafcc,View as _0x947de9,ViewCollection as _0x3e00e2,ButtonView as _0x387562}from'ckeditor5/src/ui.js';import{IconStop as _0x3bd171,IconEye as _0x43cb9,IconEyeCrossedOut as _0x26ecf5}from'ckeditor5/src/icons.js';import{AISkeletonView as _0x1eb22f,SKELETON_DEFINITIONS as _0x55520d}from'../../aicore/ui/aiskeleton.js';import{AIDisclaimerView as _0x222175}from'../../aicore/ui/aidisclaimerview.js';import{getTranslation as _0x1cb57e}from'../../aicore/utils/common-translations.js';import{AISpinnerView as _0x418f78}from'../../aicore/ui/aispinner.js';import{AIReviewCoreReviewCheckListItemResultsView as _0x41e0cc}from'./aireviewcorechecklistitemresultview.js';import{AIReviewCoreFinishReviewButtonView as _0x51c488}from'./aireviewcorefinishreviewbuttonview.js';import'../../../theme/aireviewcore/aireviewcore-check-run.css';import'../../../theme/aireviewcore/aireviewcore-check-run-result.css';export class AIReviewCoreUICheckResultsView extends _0x2aafcc{['_resultViews'];['_resultsHeader'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x3274bf,_0x28d965){super(_0x3274bf),this['_contents']=_0x28d965,this['_resultViews']=new _0x3e00e2(),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['_resultsHeader']=this['_createResultHeaderView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x222175(_0x3274bf),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x1ae976=this['_createCombinedSkeletonLoader'](),_0xb33d03=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0xb33d03['if']('isLoading','ck-ai_review__check-run_loading',_0x1eb2fa=>_0x1eb2fa),_0xb33d03['if']('isResultReady','ck-ai_review__check-run_ready',_0x50d47e=>_0x50d47e),_0xb33d03['if']('isVisible','ck-hidden',_0x4eb6c1=>!_0x4eb6c1)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-wrapper']},'children':[this['_errorMessageView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x100b54=>_0x100b54)]},'children':this['_resultViews']},_0x1ae976]},this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear']();}['getResults'](){return this['_resultViews'];}['addResult'](_0x1db878){const _0x140b58=new _0x41e0cc(this['locale'],_0x1db878['id']);_0x140b58['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x140b58),_0x140b58['resultResponseView']['element']['innerHTML']=_0x1db878['contentDiffed'];}['hideResult'](_0x99e8f2,_0x1640e3){if('pending'===_0x1640e3)return;const _0xe5328e=this['_resultViews']['find'](_0x5e20f1=>_0x5e20f1['id']===_0x99e8f2);_0xe5328e&&(_0xe5328e['status']=_0x1640e3,_0xe5328e['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x22226d,_0x32b11b){if('pending'!==_0x32b11b)return;const _0x438cd0=this['_resultViews']['find'](_0x7d0d86=>_0x7d0d86['id']===_0x22226d);_0x438cd0&&(_0x438cd0['status']=_0x32b11b,_0x438cd0['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x49e7a3,_0x1f6798){this['headerTitle']=_0x49e7a3,this['headerSubtitle']=_0x1f6798||'';}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x1eb22f(this['locale'],_0x55520d['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x3a8562=new _0x947de9(this['locale']),_0x287459=[];for(let _0x1f6d20=0x0;_0x1f6d20<0x10;_0x1f6d20++){const _0x6b04d1=this['_createSkeletonLoader']();_0x6b04d1['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x287459['push'](_0x6b04d1);}return _0x3a8562['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x11e84a=>!_0x11e84a)]},'children':_0x287459}),_0x3a8562;}['_createErrorView'](){const _0x556711=new _0x947de9(this['locale']),_0x36fb3d=new _0x387562(this['locale']),t=this['locale']['t'];return _0x556711['delegate']('retryReview')['to'](this),_0x36fb3d['set']({'label':t('Try\x20again'),'withText':!0x0,'class':'ck-ai-button-secondary\x20ck-ai_review__check-run-error-retry-button'}),_0x36fb3d['on']('execute',()=>{this['fire']('retryReview');}),_0x556711['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0xd04b52=>!_0xd04b52),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x2444ec=>'chunk'===_0x2444ec)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x564ab9=>'chunk'===_0x564ab9)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x37ae12=>'general'!==_0x37ae12)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x3b9e58=>'chunk'!==_0x3b9e58)]},'children':[{'text':_0x1cb57e(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x36fb3d]}),_0x556711;}['_createCancelButtonView'](){const _0xec6a7d=new _0x387562(this['locale']);return _0xec6a7d['set']({'label':_0x1cb57e(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':['ck-ai-button-secondary\x20ck-ai-button-stop-generating'],'icon':_0x3bd171}),_0xec6a7d['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0x164622=>_0x164622),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3d1cf9=>_0x3d1cf9)]}}),_0xec6a7d['on']('execute',()=>{this['fire']('abortReviewStream');}),_0xec6a7d;}['_createToggleDiffButtonView'](){const _0x21e72a=new _0x387562(this['locale']);_0x21e72a['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x21e72a['bind']('isEnabled')['to'](this,'isError',_0x270511=>!_0x270511),_0x21e72a['extendTemplate']({'attributes':{'class':['ck-ai-button-secondary','ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0xfdc2ca=>!_0xfdc2ca),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x49858e=>_0x49858e)]}});const _0x236bd4=_0x1cb57e(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x44c257=_0x1cb57e(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x21e72a['bind']('isOn')['to'](this,'isToggleDiffOn',_0x3fd979=>_0x3fd979),_0x21e72a['bind']('icon')['to'](this,'isToggleDiffOn',_0x163358=>_0x163358?_0x43cb9:_0x26ecf5),_0x21e72a['bind']('label')['to'](this,'isToggleDiffOn',_0x1bc831=>_0x1bc831?_0x236bd4:_0x44c257),_0x21e72a['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x21e72a;}['_createAcceptAllButtonView'](){const _0x239cf1=new _0x387562(this['locale']);return _0x239cf1['set']({'label':_0x1cb57e(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x239cf1['bind']('isEnabled')['to'](this,'isError',_0x5097b8=>!_0x5097b8),_0x239cf1['extendTemplate']({'attributes':{'class':['ck-ai-button-primary','ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x269146=>!_0x269146),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x17671c=>_0x17671c)]}}),_0x239cf1['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x239cf1;}['_createExitReviewButtonView'](){const _0x278f9d=new _0x387562(this['locale']);return _0x278f9d['set']({'label':_0x1cb57e(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x278f9d['extendTemplate']({'attributes':{'class':['ck-ai-button-tertiary','ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1a4e3f=>!_0x1a4e3f),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x35b173=>_0x35b173)]}}),_0x278f9d['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x278f9d;}['_createResultHeaderView'](){const _0x235fbe=new _0x947de9(this['locale']),_0x799b36=this['_createTitleView']();return _0x235fbe['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x143ab8=>_0x143ab8)]},'children':[_0x799b36,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0x235fbe;}['_createTitleView'](){const _0x122568=new _0x947de9(this['locale']),_0x2f4ae3=new _0x418f78();return _0x2f4ae3['bind']('isVisible')['to'](this,'isResultReady',_0x7683ad=>!_0x7683ad),_0x122568['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper']},'children':[_0x2f4ae3,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x5f330c=>_0x5f330c)]},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]},{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x41f051=>!_0x41f051)]},'children':[{'text':_0x1cb57e(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]}]}),_0x122568;}['_createFinishReviewButtonView'](){const _0x12cd39=new _0x51c488(_0x1cb57e(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x12cd39['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0xa2e2c1=>!_0xa2e2c1)]}}),_0x12cd39['delegate']('finishReview')['to'](this),_0x12cd39;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2c17c7=_0x578f;(function(_0x43a60f,_0x11d233){var _0x37028f=_0x578f,_0x4c34e3=_0x43a60f();while(!![]){try{var _0x26b85b=parseInt(_0x37028f(0xb5))/0x1*(-parseInt(_0x37028f(0x97))/0x2)+-parseInt(_0x37028f(0x94))/0x3+parseInt(_0x37028f(0xa7))/0x4*(parseInt(_0x37028f(0x8e))/0x5)+-parseInt(_0x37028f(0xa1))/0x6+parseInt(_0x37028f(0x9e))/0x7+-parseInt(_0x37028f(0x9a))/0x8*(parseInt(_0x37028f(0xa9))/0x9)+parseInt(_0x37028f(0xa5))/0xa;if(_0x26b85b===_0x11d233)break;else _0x4c34e3['push'](_0x4c34e3['shift']());}catch(_0x3f4038){_0x4c34e3['push'](_0x4c34e3['shift']());}}}(_0x24b6,0x789ea));import{View as _0x1ff089}from'ckeditor5/src/ui.js';import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x41c2f9}from'../aireviewcoreui.js';function _0x578f(_0x3bf73a,_0x4ca992){var _0x24b69d=_0x24b6();return _0x578f=function(_0x578f17,_0x5cbf4e){_0x578f17=_0x578f17-0x88;var _0x1533c8=_0x24b69d[_0x578f17];return _0x1533c8;},_0x578f(_0x3bf73a,_0x4ca992);}import{AIReviewCoreGeneralErrorView as _0x3ea964}from'./aireviewcoregeneralerrorview.js';export class AIReviewCoreView extends _0x1ff089{[_0x2c17c7(0xa0)];[_0x2c17c7(0xaa)];[_0x2c17c7(0x9b)];[_0x2c17c7(0xb8)];[_0x2c17c7(0x9c)];constructor(_0x9f5e30,_0x26bf1d){var _0x4e1a36=_0x2c17c7;super(_0x9f5e30),this[_0x4e1a36(0xa0)]=_0x26bf1d[_0x4e1a36(0xb2)],this[_0x4e1a36(0xaa)]=new _0x3ea964(_0x9f5e30),this[_0x4e1a36(0x9b)]=_0x26bf1d[_0x4e1a36(0x99)],this[_0x4e1a36(0x9b)][_0x4e1a36(0xb0)](..._0x41c2f9)['to'](this),this[_0x4e1a36(0xb8)]=_0x26bf1d[_0x4e1a36(0x90)],this[_0x4e1a36(0xb8)][_0x4e1a36(0xb0)](..._0x41c2f9)['to'](this),this[_0x4e1a36(0x9c)]=_0x26bf1d[_0x4e1a36(0x8b)],this[_0x4e1a36(0x9c)][_0x4e1a36(0xb0)](_0x4e1a36(0xa3))['to'](this),this[_0x4e1a36(0x9b)][_0x4e1a36(0xb6)](_0x4e1a36(0x9f),!0x1),this[_0x4e1a36(0xb8)][_0x4e1a36(0xb6)](_0x4e1a36(0x9f),!0x1),this[_0x4e1a36(0xb8)][_0x4e1a36(0xb6)](_0x4e1a36(0x93),!0x1),this[_0x4e1a36(0xb8)][_0x4e1a36(0xb6)](_0x4e1a36(0x98),!0x1),this[_0x4e1a36(0x9c)][_0x4e1a36(0xb6)](_0x4e1a36(0x9f),!0x1),this[_0x4e1a36(0xae)]({'tag':_0x4e1a36(0x88),'attributes':{'class':['ck',_0x4e1a36(0xab),_0x4e1a36(0x92),_0x4e1a36(0xaf)],'dir':_0x4e1a36(0xa2)},'children':[this[_0x4e1a36(0xa0)],this[_0x4e1a36(0xaa)],this[_0x4e1a36(0x9b)],this[_0x4e1a36(0xb8)],this[_0x4e1a36(0x9c)]]});}[_0x2c17c7(0xb7)](){var _0x41aaa9=_0x2c17c7;this[_0x41aaa9(0x9b)][_0x41aaa9(0xa8)](),this[_0x41aaa9(0x9b)][_0x41aaa9(0xb6)](_0x41aaa9(0x9f),!0x0),this[_0x41aaa9(0xb8)][_0x41aaa9(0xb6)](_0x41aaa9(0x9f),!0x1),this[_0x41aaa9(0x9c)][_0x41aaa9(0xb6)](_0x41aaa9(0x9f),!0x1);}[_0x2c17c7(0xad)](){var _0x466ff3=_0x2c17c7;this[_0x466ff3(0xac)](),this[_0x466ff3(0xb8)][_0x466ff3(0xb4)](),this[_0x466ff3(0x9b)][_0x466ff3(0xb6)](_0x466ff3(0x9f),!0x1),this[_0x466ff3(0xb8)][_0x466ff3(0xb6)](_0x466ff3(0x9f),!0x0),this[_0x466ff3(0xb8)][_0x466ff3(0x89)](),this[_0x466ff3(0xb8)][_0x466ff3(0xb6)](_0x466ff3(0x93),!0x0),this[_0x466ff3(0xb8)][_0x466ff3(0xb6)](_0x466ff3(0x91),!0x1);}[_0x2c17c7(0x95)](_0x7ad3d6){var _0x248a7b=_0x2c17c7;this[_0x248a7b(0xb8)][_0x248a7b(0xb1)](_0x7ad3d6),this[_0x248a7b(0xb8)][_0x248a7b(0xb6)](_0x248a7b(0x93),!0x1);}[_0x2c17c7(0x9d)](){var _0x21fa26=_0x2c17c7;this[_0x21fa26(0xb8)][_0x21fa26(0xb6)](_0x21fa26(0x9f),!0x0),this[_0x21fa26(0x9c)][_0x21fa26(0xb6)](_0x21fa26(0x9f),!0x1),this[_0x21fa26(0xb8)][_0x21fa26(0xb6)](_0x21fa26(0x91),!0x0),this[_0x21fa26(0x9b)][_0x21fa26(0xb6)](_0x21fa26(0x9f),!0x1);}[_0x2c17c7(0x8a)](){var _0x3d1ca3=_0x2c17c7;this[_0x3d1ca3(0xb8)][_0x3d1ca3(0x98)]?(this[_0x3d1ca3(0x9b)][_0x3d1ca3(0xb6)](_0x3d1ca3(0x9f),!0x1),this[_0x3d1ca3(0xb8)][_0x3d1ca3(0xb6)](_0x3d1ca3(0x9f),!0x0),this[_0x3d1ca3(0x9c)][_0x3d1ca3(0xb6)](_0x3d1ca3(0x9f),!0x1)):this[_0x3d1ca3(0xb8)][_0x3d1ca3(0x98)]=!0x0;}[_0x2c17c7(0xb3)](){var _0x2354b7=_0x2c17c7;this[_0x2354b7(0x9b)][_0x2354b7(0xb6)](_0x2354b7(0x9f),!0x1),this[_0x2354b7(0xb8)][_0x2354b7(0xb6)](_0x2354b7(0x9f),!0x1),this[_0x2354b7(0x9c)][_0x2354b7(0xb6)](_0x2354b7(0x9f),!0x0);}[_0x2c17c7(0xac)](){var _0x4109d9=_0x2c17c7;this[_0x4109d9(0xb8)][_0x4109d9(0x98)]=!0x1;}[_0x2c17c7(0x8d)](_0x3f7986){var _0x5b307c=_0x2c17c7;this[_0x5b307c(0xaa)][_0x5b307c(0xb6)](_0x5b307c(0x9f),!0x0),this[_0x5b307c(0xaa)][_0x5b307c(0xa6)]=_0x3f7986;}[_0x2c17c7(0xa4)](){var _0x2fb982=_0x2c17c7;this[_0x2fb982(0xb8)][_0x2fb982(0xb6)](_0x2fb982(0x93),!0x1),this[_0x2fb982(0x8a)](),this[_0x2fb982(0xb8)][_0x2fb982(0x96)]();}[_0x2c17c7(0x8c)](){var _0x1096c2=_0x2c17c7;this[_0x1096c2(0xb8)][_0x1096c2(0xb6)](_0x1096c2(0x93),!0x1),this[_0x1096c2(0x8a)](),this[_0x1096c2(0xb8)][_0x1096c2(0x8f)]();}}function _0x24b6(){var _0x1731d6=['isVisible','reviewCoreHeader','4368078noJeeN','ltr','finishReview','showGeneralResultsErrorView','30231830FuriaA','errorMessage','164OMaHLz','resetAllParameterizedChecks','9RKHVJh','generalErrorView','ck-reset_all','hideActionsWhenResultIsReady','showReviewCheckResultsView','setTemplate','ck-rounded-corners','delegate','addResult','header','showNoChangesView','resetErrorState','1712VyolJM','set','showReviewCheckListView','reviewCheckResultsView','div','clearResults','showActionsWhenResultIsReady','completed','showChunkErrorView','showGeneralReviewCoreErrorView','31605DooTHt','showChunkErrorMessage','results','isCompleted','ck-ai-review','isLoading','2065044RIpfNF','addCheckRunResult','showGeneralErrorMessage','1062YbFoIu','isResultReady','list','4427992ssADLp','reviewCheckListView','reviewCompletedView','showReviewCompletedView','634522JoIepa'];_0x24b6=function(){return _0x1731d6;};return _0x24b6();}
23
+ var _0x555e26=_0x119f;(function(_0x3d5ea5,_0x3f2e16){var _0x1fef17=_0x119f,_0x13e40=_0x3d5ea5();while(!![]){try{var _0x10004d=parseInt(_0x1fef17(0xec))/0x1+parseInt(_0x1fef17(0x10e))/0x2+parseInt(_0x1fef17(0xff))/0x3+-parseInt(_0x1fef17(0x104))/0x4*(-parseInt(_0x1fef17(0xfd))/0x5)+parseInt(_0x1fef17(0xf9))/0x6*(-parseInt(_0x1fef17(0x113))/0x7)+parseInt(_0x1fef17(0xf0))/0x8+parseInt(_0x1fef17(0xfe))/0x9*(-parseInt(_0x1fef17(0x10a))/0xa);if(_0x10004d===_0x3f2e16)break;else _0x13e40['push'](_0x13e40['shift']());}catch(_0x382f11){_0x13e40['push'](_0x13e40['shift']());}}}(_0x4e0a,0xb8efb));import{View as _0x499fd4}from'ckeditor5/src/ui.js';function _0x4e0a(){var _0x54269e=['ck-ai-review','showActionsWhenResultIsReady','showGeneralErrorMessage','ltr','1244qrAYjp','div','isResultReady','addCheckRunResult','addResult','isLoading','2650790tohHxY','list','reviewCheckListView','delegate','1556010WcsfqG','showChunkErrorView','errorMessage','completed','set','82817gxyvdZ','showGeneralReviewCoreErrorView','ck-reset_all','resetAllParameterizedChecks','reviewCoreHeader','resetErrorState','reviewCompletedView','showNoChangesView','showReviewCheckListView','generalErrorView','1309937QcsNUb','header','showReviewCompletedView','finishReview','7073296Fkwvcb','showReviewCheckResultsView','setTemplate','showGeneralResultsErrorView','clearResults','ck-rounded-corners','reviewCheckResultsView','isCompleted','hideActionsWhenResultIsReady','12zlmTUN','isVisible','showChunkErrorMessage','results','1090fnVPMy','99TYuPve','1971384IMWmBU'];_0x4e0a=function(){return _0x54269e;};return _0x4e0a();}import{AI_REVIEW_MODE_UI_EVENT_NAMES as _0x256e6d}from'../aireviewcoreui.js';import{AIReviewCoreGeneralErrorView as _0x20fec0}from'./aireviewcoregeneralerrorview.js';function _0x119f(_0x2c59d9,_0x88ada0){var _0x4e0ab7=_0x4e0a();return _0x119f=function(_0x119f24,_0x3957ad){_0x119f24=_0x119f24-0xe9;var _0x21aa0d=_0x4e0ab7[_0x119f24];return _0x21aa0d;},_0x119f(_0x2c59d9,_0x88ada0);}export class AIReviewCoreView extends _0x499fd4{[_0x555e26(0x117)];[_0x555e26(0xeb)];[_0x555e26(0x10c)];[_0x555e26(0xf6)];[_0x555e26(0x119)];constructor(_0x2c4117,_0x4d01eb){var _0x144644=_0x555e26;super(_0x2c4117),this[_0x144644(0x117)]=_0x4d01eb[_0x144644(0xed)],this[_0x144644(0xeb)]=new _0x20fec0(_0x2c4117),this[_0x144644(0x10c)]=_0x4d01eb[_0x144644(0x10b)],this[_0x144644(0x10c)][_0x144644(0x10d)](..._0x256e6d)['to'](this),this[_0x144644(0xf6)]=_0x4d01eb[_0x144644(0xfc)],this[_0x144644(0xf6)][_0x144644(0x10d)](..._0x256e6d)['to'](this),this[_0x144644(0x119)]=_0x4d01eb[_0x144644(0x111)],this[_0x144644(0x119)][_0x144644(0x10d)](_0x144644(0xef))['to'](this),this[_0x144644(0x10c)][_0x144644(0x112)](_0x144644(0xfa),!0x1),this[_0x144644(0xf6)][_0x144644(0x112)](_0x144644(0xfa),!0x1),this[_0x144644(0xf6)][_0x144644(0x112)](_0x144644(0x109),!0x1),this[_0x144644(0xf6)][_0x144644(0x112)](_0x144644(0x106),!0x1),this[_0x144644(0x119)][_0x144644(0x112)](_0x144644(0xfa),!0x1),this[_0x144644(0xf2)]({'tag':_0x144644(0x105),'attributes':{'class':['ck',_0x144644(0x115),_0x144644(0x100),_0x144644(0xf5)],'dir':_0x144644(0x103)},'children':[this[_0x144644(0x117)],this[_0x144644(0xeb)],this[_0x144644(0x10c)],this[_0x144644(0xf6)],this[_0x144644(0x119)]]});}[_0x555e26(0xea)](){var _0x4e5ddc=_0x555e26;this[_0x4e5ddc(0x10c)][_0x4e5ddc(0x116)](),this[_0x4e5ddc(0x10c)][_0x4e5ddc(0x112)](_0x4e5ddc(0xfa),!0x0),this[_0x4e5ddc(0xf6)][_0x4e5ddc(0x112)](_0x4e5ddc(0xfa),!0x1),this[_0x4e5ddc(0x119)][_0x4e5ddc(0x112)](_0x4e5ddc(0xfa),!0x1);}[_0x555e26(0xf1)](){var _0x425178=_0x555e26;this[_0x425178(0xf8)](),this[_0x425178(0xf6)][_0x425178(0x118)](),this[_0x425178(0x10c)][_0x425178(0x112)](_0x425178(0xfa),!0x1),this[_0x425178(0xf6)][_0x425178(0x112)](_0x425178(0xfa),!0x0),this[_0x425178(0xf6)][_0x425178(0xf4)](),this[_0x425178(0xf6)][_0x425178(0x112)](_0x425178(0x109),!0x0),this[_0x425178(0xf6)][_0x425178(0x112)](_0x425178(0xf7),!0x1);}[_0x555e26(0x107)](_0x2af88b){var _0x3524ff=_0x555e26;this[_0x3524ff(0xf6)][_0x3524ff(0x108)](_0x2af88b),this[_0x3524ff(0xf6)][_0x3524ff(0x112)](_0x3524ff(0x109),!0x1);}[_0x555e26(0xee)](){var _0x3a376c=_0x555e26;this[_0x3a376c(0xf6)][_0x3a376c(0x112)](_0x3a376c(0xfa),!0x0),this[_0x3a376c(0x119)][_0x3a376c(0x112)](_0x3a376c(0xfa),!0x1),this[_0x3a376c(0xf6)][_0x3a376c(0x112)](_0x3a376c(0xf7),!0x0),this[_0x3a376c(0x10c)][_0x3a376c(0x112)](_0x3a376c(0xfa),!0x1);}[_0x555e26(0x101)](){var _0x5ae558=_0x555e26;this[_0x5ae558(0xf6)][_0x5ae558(0x106)]?(this[_0x5ae558(0x10c)][_0x5ae558(0x112)](_0x5ae558(0xfa),!0x1),this[_0x5ae558(0xf6)][_0x5ae558(0x112)](_0x5ae558(0xfa),!0x0),this[_0x5ae558(0x119)][_0x5ae558(0x112)](_0x5ae558(0xfa),!0x1)):this[_0x5ae558(0xf6)][_0x5ae558(0x106)]=!0x0;}[_0x555e26(0xe9)](){var _0x273b34=_0x555e26;this[_0x273b34(0x10c)][_0x273b34(0x112)](_0x273b34(0xfa),!0x1),this[_0x273b34(0xf6)][_0x273b34(0x112)](_0x273b34(0xfa),!0x1),this[_0x273b34(0x119)][_0x273b34(0x112)](_0x273b34(0xfa),!0x0);}[_0x555e26(0xf8)](){var _0x138631=_0x555e26;this[_0x138631(0xf6)][_0x138631(0x106)]=!0x1;}[_0x555e26(0x114)](_0x1114d3){var _0xfe03c1=_0x555e26;this[_0xfe03c1(0xeb)][_0xfe03c1(0x112)](_0xfe03c1(0xfa),!0x0),this[_0xfe03c1(0xeb)][_0xfe03c1(0x110)]=_0x1114d3;}[_0x555e26(0xf3)](){var _0x2e91d9=_0x555e26;this[_0x2e91d9(0xf6)][_0x2e91d9(0x112)](_0x2e91d9(0x109),!0x1),this[_0x2e91d9(0x101)](),this[_0x2e91d9(0xf6)][_0x2e91d9(0x102)]();}[_0x555e26(0x10f)](){var _0x4a5188=_0x555e26;this[_0x4a5188(0xf6)][_0x4a5188(0x112)](_0x4a5188(0x109),!0x1),this[_0x4a5188(0x101)](),this[_0x4a5188(0xf6)][_0x4a5188(0xfb)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1aaf66=_0x14c5;function _0x48a1(){const _0x426d4e=['menuitemradio','label','3SKPrDE','ck-reset_all','4133066DwkwzO','1111174vhjRjc','4943526APHcFB','menu','set','bindTemplate','1339789sleRse','buttonView','16neciWA','find','div','button','_defaultValue','bind','locale','length','default','source','resetToDefault','stopPropagation','execute','data','extendTemplate','5wSXJur','listenTo','add','1090slnyaR','ck-ai_review__check-list-item-parameterized-form-element_dropdown','_prepareListOptions','321308OubEBm','isOn','model','ck-ai_review__check-list-item-parameterized-form-element','formValue','_defaultLabel','89811ORGpyi','setTemplate','8434382pfMTAt','_dropdownView'];_0x48a1=function(){return _0x426d4e;};return _0x48a1();}(function(_0x155db3,_0x3a6baf){const _0x51791b=_0x14c5,_0x4be414=_0x155db3();while(!![]){try{const _0x2177f0=parseInt(_0x51791b(0xd4))/0x1+parseInt(_0x51791b(0xcf))/0x2*(-parseInt(_0x51791b(0xcc))/0x3)+-parseInt(_0x51791b(0xc0))/0x4+parseInt(_0x51791b(0xba))/0x5*(-parseInt(_0x51791b(0xd0))/0x6)+parseInt(_0x51791b(0xce))/0x7*(parseInt(_0x51791b(0xd6))/0x8)+-parseInt(_0x51791b(0xc6))/0x9*(parseInt(_0x51791b(0xbd))/0xa)+parseInt(_0x51791b(0xc8))/0xb;if(_0x2177f0===_0x3a6baf)break;else _0x4be414['push'](_0x4be414['shift']());}catch(_0x1d3337){_0x4be414['push'](_0x4be414['shift']());}}}(_0x48a1,0xb4a29));import{Collection as _0x1083d0}from'ckeditor5/src/utils.js';import{View as _0x2cf463,createDropdown as _0x3bd405,addListToDropdown as _0x189857,UIModel as _0x15a97e}from'ckeditor5/src/ui.js';function _0x14c5(_0x47b723,_0x4e7bf5){const _0x48a1bb=_0x48a1();return _0x14c5=function(_0x14c563,_0x13ada2){_0x14c563=_0x14c563-0xb3;let _0x3611a7=_0x48a1bb[_0x14c563];return _0x3611a7;},_0x14c5(_0x47b723,_0x4e7bf5);}export class AIReviewCoreFormDropdownView extends _0x2cf463{[_0x1aaf66(0xc9)];[_0x1aaf66(0xda)];[_0x1aaf66(0xc5)];constructor(_0x261b0c,_0x267b76){const _0x4555ca=_0x1aaf66;super(_0x261b0c),this[_0x4555ca(0xda)]=_0x267b76[_0x4555ca(0xb3)]||(_0x267b76[_0x4555ca(0xb8)][_0x4555ca(0xdd)]>0x0?_0x267b76[_0x4555ca(0xb8)][0x0]['id']:''),this[_0x4555ca(0xc5)]=_0x267b76[_0x4555ca(0xb8)][_0x4555ca(0xd7)](_0x5b846a=>_0x5b846a['id']===this[_0x4555ca(0xda)])?.[_0x4555ca(0xcb)]||'',this[_0x4555ca(0xd2)](_0x4555ca(0xc4),''),this[_0x4555ca(0xc9)]=_0x3bd405(this[_0x4555ca(0xdc)]);const _0x3ba5d3=this[_0x4555ca(0xbf)](_0x267b76[_0x4555ca(0xb8)]);_0x189857(this[_0x4555ca(0xc9)],_0x3ba5d3,{'role':_0x4555ca(0xd1),'ariaLabel':_0x267b76[_0x4555ca(0xcb)]}),this[_0x4555ca(0xc9)][_0x4555ca(0xd5)][_0x4555ca(0xd2)]({'label':this[_0x4555ca(0xc5)],'withText':!0x0}),this[_0x4555ca(0xc9)][_0x4555ca(0xb9)]({'on':{'click':this[_0x4555ca(0xd3)]['to'](_0x555c37=>{const _0x1f1242=_0x4555ca;_0x555c37[_0x1f1242(0xb6)]();})}}),this[_0x4555ca(0xbb)](this[_0x4555ca(0xc9)],_0x4555ca(0xb7),_0x24eea4=>{const _0x3b7e86=_0x4555ca;this[_0x3b7e86(0xc4)]=_0x24eea4[_0x3b7e86(0xb4)][_0x3b7e86(0xc2)]['id'],this[_0x3b7e86(0xc9)][_0x3b7e86(0xd5)][_0x3b7e86(0xcb)]=_0x24eea4[_0x3b7e86(0xb4)][_0x3b7e86(0xc2)][_0x3b7e86(0xcb)];}),this[_0x4555ca(0xc7)]({'tag':_0x4555ca(0xd8),'attributes':{'class':['ck',_0x4555ca(0xcd),_0x4555ca(0xc3),_0x4555ca(0xbe)]},'children':[this[_0x4555ca(0xc9)]]});}[_0x1aaf66(0xb5)](){const _0x1ec47f=_0x1aaf66;this[_0x1ec47f(0xc4)]=this[_0x1ec47f(0xda)],this[_0x1ec47f(0xc9)][_0x1ec47f(0xd5)][_0x1ec47f(0xcb)]=this[_0x1ec47f(0xc5)];}[_0x1aaf66(0xbf)](_0x4e5c89=[]){const _0x26e8f9=_0x1aaf66,_0x49abd4=new _0x1083d0();this[_0x26e8f9(0xb5)]();for(const _0x551e01 of _0x4e5c89){const _0x971f40=new _0x15a97e({'label':_0x551e01[_0x26e8f9(0xcb)],'withText':!0x0,'role':_0x26e8f9(0xca),'id':_0x551e01['id'],'model':_0x551e01});_0x971f40[_0x26e8f9(0xdb)](_0x26e8f9(0xc1))['to'](this,_0x26e8f9(0xc4),_0x20790e=>_0x20790e===_0x971f40['id']);const _0x29f8d2={'type':_0x26e8f9(0xd9),'model':_0x971f40};_0x49abd4[_0x26e8f9(0xbc)](_0x29f8d2);}return _0x49abd4;}}
23
+ const _0x21b526=_0x68e9;(function(_0x289119,_0x346323){const _0x3250db=_0x68e9,_0x98fcc5=_0x289119();while(!![]){try{const _0x472515=parseInt(_0x3250db(0x16d))/0x1*(-parseInt(_0x3250db(0x18f))/0x2)+-parseInt(_0x3250db(0x17e))/0x3+-parseInt(_0x3250db(0x17c))/0x4+parseInt(_0x3250db(0x190))/0x5+-parseInt(_0x3250db(0x174))/0x6*(parseInt(_0x3250db(0x186))/0x7)+parseInt(_0x3250db(0x17a))/0x8+parseInt(_0x3250db(0x183))/0x9;if(_0x472515===_0x346323)break;else _0x98fcc5['push'](_0x98fcc5['shift']());}catch(_0x240151){_0x98fcc5['push'](_0x98fcc5['shift']());}}}(_0x4129,0xee08e));import{Collection as _0x5a915e}from'ckeditor5/src/utils.js';import{View as _0x3d6b27,createDropdown as _0x1f873f,addListToDropdown as _0x5d014a,UIModel as _0x3a55a5}from'ckeditor5/src/ui.js';function _0x68e9(_0xb9832b,_0x2df2e1){const _0x412993=_0x4129();return _0x68e9=function(_0x68e98d,_0x4a588a){_0x68e98d=_0x68e98d-0x16d;let _0x56a620=_0x412993[_0x68e98d];return _0x56a620;},_0x68e9(_0xb9832b,_0x2df2e1);}function _0x4129(){const _0x55061c=['2840444XzwekK','ck-ai_review__check-list-item-parameterized-form-element','1384821lGZUJn','menuitemradio','button','stopPropagation','extendTemplate','22712130weasAX','ck-reset_all','model','852656pylZkj','isOn','_defaultValue','source','setTemplate','locale','resetToDefault','bind','_dropdownView','134PtzKNc','6904210mxjUAg','find','_prepareListOptions','bindTemplate','menu','length','27503ppUyEs','listenTo','add','set','buttonView','div','default','72xJlclA','_defaultLabel','execute','label','ck-ai_review__check-list-item-parameterized-form-element_dropdown','formValue','12373544vmuZZk','data'];_0x4129=function(){return _0x55061c;};return _0x4129();}export class AIReviewCoreFormDropdownView extends _0x3d6b27{[_0x21b526(0x18e)];[_0x21b526(0x188)];[_0x21b526(0x175)];constructor(_0x276956,_0x393177){const _0x1ac55b=_0x21b526;super(_0x276956),this[_0x1ac55b(0x188)]=_0x393177[_0x1ac55b(0x173)]||(_0x393177[_0x1ac55b(0x17b)][_0x1ac55b(0x195)]>0x0?_0x393177[_0x1ac55b(0x17b)][0x0]['id']:''),this[_0x1ac55b(0x175)]=_0x393177[_0x1ac55b(0x17b)][_0x1ac55b(0x191)](_0x3614e2=>_0x3614e2['id']===this[_0x1ac55b(0x188)])?.[_0x1ac55b(0x177)]||'',this[_0x1ac55b(0x170)](_0x1ac55b(0x179),''),this[_0x1ac55b(0x18e)]=_0x1f873f(this[_0x1ac55b(0x18b)]);const _0x2c922a=this[_0x1ac55b(0x192)](_0x393177[_0x1ac55b(0x17b)]);_0x5d014a(this[_0x1ac55b(0x18e)],_0x2c922a,{'role':_0x1ac55b(0x194),'ariaLabel':_0x393177[_0x1ac55b(0x177)]}),this[_0x1ac55b(0x18e)][_0x1ac55b(0x171)][_0x1ac55b(0x170)]({'label':this[_0x1ac55b(0x175)],'withText':!0x0}),this[_0x1ac55b(0x18e)][_0x1ac55b(0x182)]({'on':{'click':this[_0x1ac55b(0x193)]['to'](_0xcd9007=>{const _0x49f90d=_0x1ac55b;_0xcd9007[_0x49f90d(0x181)]();})}}),this[_0x1ac55b(0x16e)](this[_0x1ac55b(0x18e)],_0x1ac55b(0x176),_0x567ad7=>{const _0x1bc4de=_0x1ac55b;this[_0x1bc4de(0x179)]=_0x567ad7[_0x1bc4de(0x189)][_0x1bc4de(0x185)]['id'],this[_0x1bc4de(0x18e)][_0x1bc4de(0x171)][_0x1bc4de(0x177)]=_0x567ad7[_0x1bc4de(0x189)][_0x1bc4de(0x185)][_0x1bc4de(0x177)];}),this[_0x1ac55b(0x18a)]({'tag':_0x1ac55b(0x172),'attributes':{'class':['ck',_0x1ac55b(0x184),_0x1ac55b(0x17d),_0x1ac55b(0x178)]},'children':[this[_0x1ac55b(0x18e)]]});}[_0x21b526(0x18c)](){const _0x15309e=_0x21b526;this[_0x15309e(0x179)]=this[_0x15309e(0x188)],this[_0x15309e(0x18e)][_0x15309e(0x171)][_0x15309e(0x177)]=this[_0x15309e(0x175)];}[_0x21b526(0x192)](_0x7eee0d=[]){const _0x53ba9d=_0x21b526,_0x5e6f12=new _0x5a915e();this[_0x53ba9d(0x18c)]();for(const _0x24a853 of _0x7eee0d){const _0x38d2d5=new _0x3a55a5({'label':_0x24a853[_0x53ba9d(0x177)],'withText':!0x0,'role':_0x53ba9d(0x17f),'id':_0x24a853['id'],'model':_0x24a853});_0x38d2d5[_0x53ba9d(0x18d)](_0x53ba9d(0x187))['to'](this,_0x53ba9d(0x179),_0x5d01c2=>_0x5d01c2===_0x38d2d5['id']);const _0x48c83a={'type':_0x53ba9d(0x180),'model':_0x38d2d5};_0x5e6f12[_0x53ba9d(0x16f)](_0x48c83a);}return _0x5e6f12;}}