@ckeditor/ckeditor5-ai 47.2.0-alpha.7 → 47.3.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (472) hide show
  1. package/LICENSE.md +16 -20
  2. package/build/ai.js +2 -2
  3. package/build/translations/af.js +1 -1
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/ast.js +1 -1
  6. package/build/translations/az.js +1 -1
  7. package/build/translations/be.js +1 -1
  8. package/build/translations/bg.js +1 -1
  9. package/build/translations/bn.js +1 -1
  10. package/build/translations/bs.js +1 -1
  11. package/build/translations/ca.js +1 -1
  12. package/build/translations/cs.js +1 -1
  13. package/build/translations/da.js +1 -1
  14. package/build/translations/de-ch.js +1 -1
  15. package/build/translations/de.js +1 -1
  16. package/build/translations/el.js +1 -1
  17. package/build/translations/en-au.js +1 -1
  18. package/build/translations/en-gb.js +1 -1
  19. package/build/translations/eo.js +1 -1
  20. package/build/translations/es-co.js +1 -1
  21. package/build/translations/es.js +1 -1
  22. package/build/translations/et.js +1 -1
  23. package/build/translations/eu.js +1 -1
  24. package/build/translations/fa.js +1 -1
  25. package/build/translations/fi.js +1 -1
  26. package/build/translations/fr.js +1 -1
  27. package/build/translations/gl.js +1 -1
  28. package/build/translations/gu.js +1 -1
  29. package/build/translations/he.js +1 -1
  30. package/build/translations/hi.js +1 -1
  31. package/build/translations/hr.js +1 -1
  32. package/build/translations/hu.js +1 -1
  33. package/build/translations/hy.js +1 -1
  34. package/build/translations/id.js +1 -1
  35. package/build/translations/it.js +1 -1
  36. package/build/translations/ja.js +1 -1
  37. package/build/translations/jv.js +1 -1
  38. package/build/translations/kk.js +1 -1
  39. package/build/translations/km.js +1 -1
  40. package/build/translations/kn.js +1 -1
  41. package/build/translations/ko.js +1 -1
  42. package/build/translations/ku.js +1 -1
  43. package/build/translations/lt.js +1 -1
  44. package/build/translations/lv.js +1 -1
  45. package/build/translations/ms.js +1 -1
  46. package/build/translations/nb.js +1 -1
  47. package/build/translations/ne.js +1 -1
  48. package/build/translations/nl.js +1 -1
  49. package/build/translations/no.js +1 -1
  50. package/build/translations/oc.js +1 -1
  51. package/build/translations/pl.js +1 -1
  52. package/build/translations/pt-br.js +1 -1
  53. package/build/translations/pt.js +1 -1
  54. package/build/translations/ro.js +1 -1
  55. package/build/translations/ru.js +1 -1
  56. package/build/translations/si.js +1 -1
  57. package/build/translations/sk.js +1 -1
  58. package/build/translations/sl.js +1 -1
  59. package/build/translations/sq.js +1 -1
  60. package/build/translations/sr-latn.js +1 -1
  61. package/build/translations/sr.js +1 -1
  62. package/build/translations/sv.js +1 -1
  63. package/build/translations/th.js +1 -1
  64. package/build/translations/ti.js +1 -1
  65. package/build/translations/tk.js +1 -1
  66. package/build/translations/tr.js +1 -1
  67. package/build/translations/tt.js +1 -1
  68. package/build/translations/ug.js +1 -1
  69. package/build/translations/uk.js +1 -1
  70. package/build/translations/ur.js +1 -1
  71. package/build/translations/uz.js +1 -1
  72. package/build/translations/vi.js +1 -1
  73. package/build/translations/zh-cn.js +1 -1
  74. package/build/translations/zh.js +1 -1
  75. package/dist/index-editor.css +285 -65
  76. package/dist/index.css +286 -68
  77. package/dist/index.js +5 -5
  78. package/dist/translations/af.js +1 -1
  79. package/dist/translations/af.umd.js +1 -1
  80. package/dist/translations/ar.js +1 -1
  81. package/dist/translations/ar.umd.js +1 -1
  82. package/dist/translations/ast.js +1 -1
  83. package/dist/translations/ast.umd.js +1 -1
  84. package/dist/translations/az.js +1 -1
  85. package/dist/translations/az.umd.js +1 -1
  86. package/dist/translations/be.js +1 -1
  87. package/dist/translations/be.umd.js +1 -1
  88. package/dist/translations/bg.js +1 -1
  89. package/dist/translations/bg.umd.js +1 -1
  90. package/dist/translations/bn.js +1 -1
  91. package/dist/translations/bn.umd.js +1 -1
  92. package/dist/translations/bs.js +1 -1
  93. package/dist/translations/bs.umd.js +1 -1
  94. package/dist/translations/ca.js +1 -1
  95. package/dist/translations/ca.umd.js +1 -1
  96. package/dist/translations/cs.js +1 -1
  97. package/dist/translations/cs.umd.js +1 -1
  98. package/dist/translations/da.js +1 -1
  99. package/dist/translations/da.umd.js +1 -1
  100. package/dist/translations/de-ch.js +1 -1
  101. package/dist/translations/de-ch.umd.js +1 -1
  102. package/dist/translations/de.js +1 -1
  103. package/dist/translations/de.umd.js +1 -1
  104. package/dist/translations/el.js +1 -1
  105. package/dist/translations/el.umd.js +1 -1
  106. package/dist/translations/en-au.js +1 -1
  107. package/dist/translations/en-au.umd.js +1 -1
  108. package/dist/translations/en-gb.js +1 -1
  109. package/dist/translations/en-gb.umd.js +1 -1
  110. package/dist/translations/en.js +1 -1
  111. package/dist/translations/en.umd.js +1 -1
  112. package/dist/translations/eo.js +1 -1
  113. package/dist/translations/eo.umd.js +1 -1
  114. package/dist/translations/es-co.js +1 -1
  115. package/dist/translations/es-co.umd.js +1 -1
  116. package/dist/translations/es.js +1 -1
  117. package/dist/translations/es.umd.js +1 -1
  118. package/dist/translations/et.js +1 -1
  119. package/dist/translations/et.umd.js +1 -1
  120. package/dist/translations/eu.js +1 -1
  121. package/dist/translations/eu.umd.js +1 -1
  122. package/dist/translations/fa.js +1 -1
  123. package/dist/translations/fa.umd.js +1 -1
  124. package/dist/translations/fi.js +1 -1
  125. package/dist/translations/fi.umd.js +1 -1
  126. package/dist/translations/fr.js +1 -1
  127. package/dist/translations/fr.umd.js +1 -1
  128. package/dist/translations/gl.js +1 -1
  129. package/dist/translations/gl.umd.js +1 -1
  130. package/dist/translations/gu.js +1 -1
  131. package/dist/translations/gu.umd.js +1 -1
  132. package/dist/translations/he.js +1 -1
  133. package/dist/translations/he.umd.js +1 -1
  134. package/dist/translations/hi.js +1 -1
  135. package/dist/translations/hi.umd.js +1 -1
  136. package/dist/translations/hr.js +1 -1
  137. package/dist/translations/hr.umd.js +1 -1
  138. package/dist/translations/hu.js +1 -1
  139. package/dist/translations/hu.umd.js +1 -1
  140. package/dist/translations/hy.js +1 -1
  141. package/dist/translations/hy.umd.js +1 -1
  142. package/dist/translations/id.js +1 -1
  143. package/dist/translations/id.umd.js +1 -1
  144. package/dist/translations/it.js +1 -1
  145. package/dist/translations/it.umd.js +1 -1
  146. package/dist/translations/ja.js +1 -1
  147. package/dist/translations/ja.umd.js +1 -1
  148. package/dist/translations/jv.js +1 -1
  149. package/dist/translations/jv.umd.js +1 -1
  150. package/dist/translations/kk.js +1 -1
  151. package/dist/translations/kk.umd.js +1 -1
  152. package/dist/translations/km.js +1 -1
  153. package/dist/translations/km.umd.js +1 -1
  154. package/dist/translations/kn.js +1 -1
  155. package/dist/translations/kn.umd.js +1 -1
  156. package/dist/translations/ko.js +1 -1
  157. package/dist/translations/ko.umd.js +1 -1
  158. package/dist/translations/ku.js +1 -1
  159. package/dist/translations/ku.umd.js +1 -1
  160. package/dist/translations/lt.js +1 -1
  161. package/dist/translations/lt.umd.js +1 -1
  162. package/dist/translations/lv.js +1 -1
  163. package/dist/translations/lv.umd.js +1 -1
  164. package/dist/translations/ms.js +1 -1
  165. package/dist/translations/ms.umd.js +1 -1
  166. package/dist/translations/nb.js +1 -1
  167. package/dist/translations/nb.umd.js +1 -1
  168. package/dist/translations/ne.js +1 -1
  169. package/dist/translations/ne.umd.js +1 -1
  170. package/dist/translations/nl.js +1 -1
  171. package/dist/translations/nl.umd.js +1 -1
  172. package/dist/translations/no.js +1 -1
  173. package/dist/translations/no.umd.js +1 -1
  174. package/dist/translations/oc.js +1 -1
  175. package/dist/translations/oc.umd.js +1 -1
  176. package/dist/translations/pl.js +1 -1
  177. package/dist/translations/pl.umd.js +1 -1
  178. package/dist/translations/pt-br.js +1 -1
  179. package/dist/translations/pt-br.umd.js +1 -1
  180. package/dist/translations/pt.js +1 -1
  181. package/dist/translations/pt.umd.js +1 -1
  182. package/dist/translations/ro.js +1 -1
  183. package/dist/translations/ro.umd.js +1 -1
  184. package/dist/translations/ru.js +1 -1
  185. package/dist/translations/ru.umd.js +1 -1
  186. package/dist/translations/si.js +1 -1
  187. package/dist/translations/si.umd.js +1 -1
  188. package/dist/translations/sk.js +1 -1
  189. package/dist/translations/sk.umd.js +1 -1
  190. package/dist/translations/sl.js +1 -1
  191. package/dist/translations/sl.umd.js +1 -1
  192. package/dist/translations/sq.js +1 -1
  193. package/dist/translations/sq.umd.js +1 -1
  194. package/dist/translations/sr-latn.js +1 -1
  195. package/dist/translations/sr-latn.umd.js +1 -1
  196. package/dist/translations/sr.js +1 -1
  197. package/dist/translations/sr.umd.js +1 -1
  198. package/dist/translations/sv.js +1 -1
  199. package/dist/translations/sv.umd.js +1 -1
  200. package/dist/translations/th.js +1 -1
  201. package/dist/translations/th.umd.js +1 -1
  202. package/dist/translations/ti.js +1 -1
  203. package/dist/translations/ti.umd.js +1 -1
  204. package/dist/translations/tk.js +1 -1
  205. package/dist/translations/tk.umd.js +1 -1
  206. package/dist/translations/tr.js +1 -1
  207. package/dist/translations/tr.umd.js +1 -1
  208. package/dist/translations/tt.js +1 -1
  209. package/dist/translations/tt.umd.js +1 -1
  210. package/dist/translations/ug.js +1 -1
  211. package/dist/translations/ug.umd.js +1 -1
  212. package/dist/translations/uk.js +1 -1
  213. package/dist/translations/uk.umd.js +1 -1
  214. package/dist/translations/ur.js +1 -1
  215. package/dist/translations/ur.umd.js +1 -1
  216. package/dist/translations/uz.js +1 -1
  217. package/dist/translations/uz.umd.js +1 -1
  218. package/dist/translations/vi.js +1 -1
  219. package/dist/translations/vi.umd.js +1 -1
  220. package/dist/translations/zh-cn.js +1 -1
  221. package/dist/translations/zh-cn.umd.js +1 -1
  222. package/dist/translations/zh.js +1 -1
  223. package/dist/translations/zh.umd.js +1 -1
  224. package/lang/contexts.json +10 -1
  225. package/lang/translations/af.po +36 -0
  226. package/lang/translations/ar.po +36 -0
  227. package/lang/translations/ast.po +36 -0
  228. package/lang/translations/az.po +36 -0
  229. package/lang/translations/be.po +36 -0
  230. package/lang/translations/bg.po +36 -0
  231. package/lang/translations/bn.po +36 -0
  232. package/lang/translations/bs.po +36 -0
  233. package/lang/translations/ca.po +36 -0
  234. package/lang/translations/cs.po +36 -0
  235. package/lang/translations/da.po +36 -0
  236. package/lang/translations/de-ch.po +36 -0
  237. package/lang/translations/de.po +36 -0
  238. package/lang/translations/el.po +36 -0
  239. package/lang/translations/en-au.po +36 -0
  240. package/lang/translations/en-gb.po +36 -0
  241. package/lang/translations/en.po +36 -0
  242. package/lang/translations/eo.po +36 -0
  243. package/lang/translations/es-co.po +36 -0
  244. package/lang/translations/es.po +36 -0
  245. package/lang/translations/et.po +36 -0
  246. package/lang/translations/eu.po +36 -0
  247. package/lang/translations/fa.po +36 -0
  248. package/lang/translations/fi.po +36 -0
  249. package/lang/translations/fr.po +36 -0
  250. package/lang/translations/gl.po +36 -0
  251. package/lang/translations/gu.po +36 -0
  252. package/lang/translations/he.po +36 -0
  253. package/lang/translations/hi.po +36 -0
  254. package/lang/translations/hr.po +36 -0
  255. package/lang/translations/hu.po +36 -0
  256. package/lang/translations/hy.po +36 -0
  257. package/lang/translations/id.po +36 -0
  258. package/lang/translations/it.po +36 -0
  259. package/lang/translations/ja.po +36 -0
  260. package/lang/translations/jv.po +36 -0
  261. package/lang/translations/kk.po +36 -0
  262. package/lang/translations/km.po +36 -0
  263. package/lang/translations/kn.po +36 -0
  264. package/lang/translations/ko.po +36 -0
  265. package/lang/translations/ku.po +36 -0
  266. package/lang/translations/lt.po +36 -0
  267. package/lang/translations/lv.po +36 -0
  268. package/lang/translations/ms.po +36 -0
  269. package/lang/translations/nb.po +36 -0
  270. package/lang/translations/ne.po +36 -0
  271. package/lang/translations/nl.po +36 -0
  272. package/lang/translations/no.po +36 -0
  273. package/lang/translations/oc.po +36 -0
  274. package/lang/translations/pl.po +36 -0
  275. package/lang/translations/pt-br.po +36 -0
  276. package/lang/translations/pt.po +36 -0
  277. package/lang/translations/ro.po +36 -0
  278. package/lang/translations/ru.po +36 -0
  279. package/lang/translations/si.po +36 -0
  280. package/lang/translations/sk.po +36 -0
  281. package/lang/translations/sl.po +36 -0
  282. package/lang/translations/sq.po +36 -0
  283. package/lang/translations/sr-latn.po +36 -0
  284. package/lang/translations/sr.po +36 -0
  285. package/lang/translations/sv.po +36 -0
  286. package/lang/translations/th.po +36 -0
  287. package/lang/translations/ti.po +36 -0
  288. package/lang/translations/tk.po +36 -0
  289. package/lang/translations/tr.po +36 -0
  290. package/lang/translations/tt.po +36 -0
  291. package/lang/translations/ug.po +36 -0
  292. package/lang/translations/uk.po +36 -0
  293. package/lang/translations/ur.po +36 -0
  294. package/lang/translations/uz.po +36 -0
  295. package/lang/translations/vi.po +36 -0
  296. package/lang/translations/zh-cn.po +36 -0
  297. package/lang/translations/zh.po +36 -0
  298. package/package.json +15 -15
  299. package/src/aiactions/aiactions.js +1 -1
  300. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  301. package/src/aiactions/model/aiactionsreply.js +1 -1
  302. package/src/aiassistant/adapters/aiadapter.js +1 -1
  303. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  304. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  305. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  306. package/src/aiassistant/aiassistant.js +1 -1
  307. package/src/aiassistant/aiassistantediting.js +1 -1
  308. package/src/aiassistant/aiassistantui.js +1 -1
  309. package/src/aiassistant/legacyerrors.js +1 -1
  310. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  311. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  312. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  313. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  314. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  315. package/src/aiassistant/ui/form/aiformview.js +1 -1
  316. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  317. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  318. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  319. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  320. package/src/aiassistant/utils/common-translations.js +1 -1
  321. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  322. package/src/aiballoon/aiballoon.d.ts +8 -0
  323. package/src/aiballoon/aiballoon.js +1 -1
  324. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  325. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  326. package/src/aiballoon/ui/aiballoonview.d.ts +12 -0
  327. package/src/aiballoon/ui/aiballoonview.js +1 -1
  328. package/src/aichat/aichat.js +1 -1
  329. package/src/aichat/aichatcontroller.js +1 -1
  330. package/src/aichat/aichatui.js +1 -1
  331. package/src/aichat/model/aichatcontext.d.ts +1 -1
  332. package/src/aichat/model/aichatcontext.js +1 -1
  333. package/src/aichat/model/aichatconversation.js +1 -1
  334. package/src/aichat/model/aichatinteraction.js +1 -1
  335. package/src/aichat/model/aichatmodels.js +1 -1
  336. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  337. package/src/aichat/ui/aichatfeedview.js +1 -1
  338. package/src/aichat/ui/aichatheaderview.js +1 -1
  339. package/src/aichat/ui/aichatview.js +1 -1
  340. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  341. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  342. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  343. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  344. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  345. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  346. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  347. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  348. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  349. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  350. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  351. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  352. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  353. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  354. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  355. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  356. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  357. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  358. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  359. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  360. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  361. package/src/aichat/utils/eventnames.js +1 -1
  362. package/src/aichat/utils/promisequeue.js +1 -1
  363. package/src/aichathistory/aichathistory.js +1 -1
  364. package/src/aichathistory/aichathistorycontroller.js +1 -1
  365. package/src/aichathistory/aichathistoryui.js +1 -1
  366. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  367. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  368. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  369. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  370. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  371. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  372. package/src/aicore/aiconnector.js +1 -1
  373. package/src/aicore/aiediting.js +1 -1
  374. package/src/aicore/model/aicapabilities.js +1 -1
  375. package/src/aicore/model/aicontext.js +1 -1
  376. package/src/aicore/model/aiinteraction.js +1 -1
  377. package/src/aicore/model/aimodels.js +1 -1
  378. package/src/aicore/model/aireply.js +1 -1
  379. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  380. package/src/aicore/pipeline/airesponseparser.js +2 -2
  381. package/src/aicore/ui/aidisclaimerview.js +1 -1
  382. package/src/aicore/ui/aiskeleton.js +1 -1
  383. package/src/aicore/ui/aispinner.js +1 -1
  384. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  385. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  386. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  387. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  388. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  389. package/src/aicore/utils/common-translations.js +1 -1
  390. package/src/aicore/utils/createresizebutton.js +1 -1
  391. package/src/aicore/utils/documentposition.js +1 -1
  392. package/src/aicore/utils/documentrange.js +1 -1
  393. package/src/aicore/utils/eventnames.js +1 -1
  394. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  395. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  396. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  397. package/src/aicore/utils/htmlparser.js +1 -1
  398. package/src/aicore/utils/htmlstreamer.js +1 -1
  399. package/src/aicore/utils/scrollmanager.js +23 -0
  400. package/src/aieditorintegration/aieditorintegration.js +1 -1
  401. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  402. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  403. package/src/aiquickactions/aiquickactions.d.ts +24 -1
  404. package/src/aiquickactions/aiquickactions.js +1 -1
  405. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  406. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  407. package/src/aiquickactions/aiquickactionsui.d.ts +5 -1
  408. package/src/aiquickactions/aiquickactionsui.js +1 -1
  409. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +39 -6
  410. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  411. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +6 -1
  412. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  413. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +30 -5
  414. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  415. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +5 -0
  416. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +23 -0
  417. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +29 -0
  418. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +23 -0
  419. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  420. package/src/aireviewmode/aireviewmode.js +1 -1
  421. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  422. package/src/aireviewmode/aireviewmodeediting.d.ts +16 -0
  423. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  424. package/src/aireviewmode/aireviewmodeui.d.ts +8 -2
  425. package/src/aireviewmode/aireviewmodeui.js +1 -1
  426. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  427. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  428. package/src/aireviewmode/model/aireviewchecklist.d.ts +4 -0
  429. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  430. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  431. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  432. package/src/aireviewmode/model/aireviewcheckrun.d.ts +6 -0
  433. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  434. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  435. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  436. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  437. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +11 -2
  438. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  439. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  440. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  441. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  442. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.d.ts +24 -0
  443. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +23 -0
  444. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  445. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  446. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  447. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  448. package/src/aireviewmode/ui/aireviewmodeview.d.ts +7 -1
  449. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  450. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  451. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  452. package/src/aitabs/aitabs.js +1 -1
  453. package/src/aitabs/aitabsmainview.js +1 -1
  454. package/src/aitabs/tabs/aitabsview.js +1 -1
  455. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  456. package/src/aitabs/tabs/tabpanelview.js +1 -1
  457. package/src/errors.js +1 -1
  458. package/src/errorsmap.d.ts +8 -0
  459. package/src/errorsmap.js +23 -0
  460. package/src/index.js +1 -1
  461. package/theme/aiballoon/aiballoon.css +26 -0
  462. package/theme/aichat/aichat.css +1 -3
  463. package/theme/aichat/aichathistory.css +1 -1
  464. package/theme/aichat/aisuggestioncontainer.css +1 -1
  465. package/theme/aiquickactions/aiquickactions.css +139 -25
  466. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +24 -0
  467. package/theme/aireviewmode/aireviewmode-check-run.css +13 -0
  468. package/theme/aireviewmode/aireviewmode.css +33 -10
  469. package/theme/common/{aichaterror.css → ainotification.css} +17 -14
  470. package/theme/common/aitrackchanges.css +9 -0
  471. package/src/aichat/utils/scrollmanager.js +0 -23
  472. /package/src/{aichat → aicore}/utils/scrollmanager.d.ts +0 -0
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ac8eb=_0x5af6;function _0x5af6(_0x5b1501,_0x5e19c6){const _0x5d6359=_0x5d63();return _0x5af6=function(_0x5af6f6,_0x2a633c){_0x5af6f6=_0x5af6f6-0xa2;let _0x1791a4=_0x5d6359[_0x5af6f6];return _0x1791a4;},_0x5af6(_0x5b1501,_0x5e19c6);}(function(_0x5a56d7,_0x3bf84d){const _0x5c4c62=_0x5af6,_0x391106=_0x5a56d7();while(!![]){try{const _0x47486d=-parseInt(_0x5c4c62(0xcf))/0x1+-parseInt(_0x5c4c62(0xe4))/0x2*(-parseInt(_0x5c4c62(0xe8))/0x3)+parseInt(_0x5c4c62(0xcb))/0x4+parseInt(_0x5c4c62(0xe3))/0x5*(-parseInt(_0x5c4c62(0xc8))/0x6)+-parseInt(_0x5c4c62(0xee))/0x7+parseInt(_0x5c4c62(0xdd))/0x8*(-parseInt(_0x5c4c62(0xa3))/0x9)+parseInt(_0x5c4c62(0xd1))/0xa;if(_0x47486d===_0x3bf84d)break;else _0x391106['push'](_0x391106['shift']());}catch(_0x2a2cbc){_0x391106['push'](_0x391106['shift']());}}}(_0x5d63,0xab9a3));import{View as _0x51fdb5,ListItemView as _0x97605e,ListView as _0x4a3df5,BalloonPanelView as _0x4da132,DropdownMenuPanelPositioningFunctions as _0x55b87e,DropdownMenuButtonView as _0xb4aa7,ViewCollection as _0x388d31,FocusCycler as _0x478675}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2b11b8}from'@ckeditor/ckeditor5-icons';function _0x5d63(){const _0x520561=['_showNestedPanel','_openNestedPanels','ck-ai-quick-actions-group-button','_hideAllNestedPanels','ck-ai-quick-actions','content','178554cewqsz','addMany','ck-ai-quick-actions-group-list','358532zgNJOK','menuitem','closest','locale','813782abazIZ','.ck-ai-quick-actions-group-panel','33045350lnbZIS','key','items','extendTemplate','optionsListView','_createActionButton','focus','set','ck-ai-quick-actions-group-panel','keystrokes','.ck-ai-quick-actions-group-button','_focusables','6118808SsZSwz','eastSouth','focusTracker','_createActionGroupButton','pin','menu','95Cqgqmj','4TfDEub','destroy','icon','uiLanguageDirection','317907CmWwmR','.ck-ai-quick-actions-group-list','detachFromDom','bindTemplate','isVisible','rtl','5314183yLNnPb','isOn','_createGroupActionsList','delete','contains','9CXiTXc','children','role','ArrowRight','focusCycler','show','render','relatedTarget','ck-dropdown-menu-list','label','mouseleave','addEventListener','_createListItems','forEach','ArrowLeft','actions','add','setTemplate','_isMovingToNestedMenu','clear','get','_bodyCollection','_hideNestedPanel','element','ck-rounded-corners','ck-reset_all','bind','_setupGroupMenuBehavior','ck-dropdown-menu__nested-menu__panel','div','hide'];_0x5d63=function(){return _0x520561;};return _0x5d63();}import{FocusTracker as _0x3ba970,KeystrokeHandler as _0x4622dc}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0xcc5fcc}from'./aiquickactionsbuttoncreator.js';const Ls=_0x1ac8eb(0xe2),Ns=_0x1ac8eb(0xcc);export class AIQuickActionsDropdownContentView extends _0x51fdb5{[_0x1ac8eb(0xb8)];[_0x1ac8eb(0xd5)];[_0x1ac8eb(0xdf)];[_0x1ac8eb(0xda)];[_0x1ac8eb(0xdc)];[_0x1ac8eb(0xa7)];[_0x1ac8eb(0xc3)]=new Set();constructor(_0x197e58,_0x15ba2c,_0x2a0726,_0x1e78b8){const _0x331472=_0x1ac8eb,_0x5b9b57=_0x197e58[_0x331472(0xce)];super(_0x5b9b57),this[_0x331472(0xb8)]=_0x1e78b8;const _0x49d428=this[_0x331472(0xaf)](_0x197e58,_0x15ba2c,_0x2a0726);this[_0x331472(0xd5)]=new _0x4a3df5(_0x5b9b57),this[_0x331472(0xd5)][_0x331472(0xa5)]=Ls,this[_0x331472(0xd5)][_0x331472(0xd3)][_0x331472(0xc9)](_0x49d428),this[_0x331472(0xdf)]=new _0x3ba970(),this[_0x331472(0xda)]=new _0x4622dc(),this[_0x331472(0xdc)]=_0x49d428,this[_0x331472(0xa7)]=new _0x478675({'focusables':this[_0x331472(0xdc)],'focusTracker':this[_0x331472(0xdf)],'keystrokeHandler':this[_0x331472(0xda)]}),this[_0x331472(0xb4)]({'tag':_0x331472(0xc0),'attributes':{'class':['ck',_0x331472(0xbc),_0x331472(0xc6),_0x331472(0xbb)],'dir':_0x5b9b57[_0x331472(0xe7)]},'children':[this[_0x331472(0xd5)]]});}[_0x1ac8eb(0xaf)](_0x3fc4d9,_0x16e338,_0x3f714){const _0x168248=_0x1ac8eb,_0x3819d5=new _0x388d31();return _0x16e338[_0x168248(0xb0)](_0x473a32=>{const _0x37cf86=_0x168248;_0x37cf86(0xb2)in _0x473a32?_0x3819d5[_0x37cf86(0xb3)](this[_0x37cf86(0xe0)](_0x3fc4d9,_0x473a32,_0x3f714)):_0x3819d5[_0x37cf86(0xb3)](this[_0x37cf86(0xd6)](_0x3fc4d9,_0x473a32));}),_0x3819d5;}[_0x1ac8eb(0xd6)](_0x286ba8,_0x26d3ba){const _0x42bbfe=_0x1ac8eb,_0x273606=new _0x97605e(this[_0x42bbfe(0xce)]),_0x5bd840=_0xcc5fcc(_0x286ba8,_0x26d3ba,!0x0,void 0x0!==_0x26d3ba[_0x42bbfe(0xe6)])();return _0x273606[_0x42bbfe(0xa4)][_0x42bbfe(0xb3)](_0x5bd840),_0x273606;}[_0x1ac8eb(0xe0)](_0x4cd8ed,_0x4b6ec2,_0x4fb812){const _0x87c725=_0x1ac8eb,_0x1772dd=new _0x97605e(this[_0x87c725(0xce)]),_0x403b9b=new _0xb4aa7(this[_0x87c725(0xce)]),_0xb6499a=_0x403b9b[_0x87c725(0xeb)],_0x59f1ac=_0x87c725(0xed)===_0x4fb812[_0x87c725(0xce)][_0x87c725(0xe7)]?_0x87c725(0xa6):_0x87c725(0xb1),_0x25f33e=this[_0x87c725(0xf0)](_0x4cd8ed,_0x4b6ec2[_0x87c725(0xb2)],_0x4fb812);_0x403b9b[_0x87c725(0xd8)]({'label':_0x4b6ec2[_0x87c725(0xac)],'withText':!0x0,'role':Ns,'icon':_0x4b6ec2[_0x87c725(0xe6)]??_0x2b11b8}),_0x403b9b[_0x87c725(0xd4)]({'on':{'mouseenter':_0xb6499a['to'](()=>{const _0x21285c=_0x87c725;_0x403b9b[_0x21285c(0xd7)]();})}});const _0x5035a0=new _0x4da132(this[_0x87c725(0xce)]);return _0x5035a0[_0x87c725(0xd4)]({'attributes':{'class':['ck',_0x87c725(0xbc),_0x87c725(0xd9),_0x87c725(0xbf)]},'on':{'keydown':_0xb6499a['to'](_0x1807ef=>{const _0x3031a9=_0x87c725;_0x1807ef[_0x3031a9(0xd2)]==_0x59f1ac&&(_0x403b9b[_0x3031a9(0xd7)](),this[_0x3031a9(0xb9)](_0x5035a0));})}}),_0x403b9b[_0x87c725(0xbd)](_0x87c725(0xef))['to'](_0x5035a0,_0x87c725(0xec)),this[_0x87c725(0xb8)][_0x87c725(0xb3)](_0x5035a0),_0x5035a0[_0x87c725(0xc7)][_0x87c725(0xb3)](_0x25f33e),this[_0x87c725(0xbe)](_0x403b9b,_0x5035a0),_0x1772dd[_0x87c725(0xa4)][_0x87c725(0xb3)](_0x403b9b),_0x1772dd;}[_0x1ac8eb(0xf0)](_0x49f610,_0x230ca5,_0x3e0284){const _0x3624b9=_0x1ac8eb,_0x5d47d7=new _0x4a3df5(this[_0x3624b9(0xce)]);return _0x5d47d7[_0x3624b9(0xd4)]({'attributes':{'class':['ck',_0x3624b9(0xbc),_0x3624b9(0xca),_0x3624b9(0xab)]}}),_0x230ca5[_0x3624b9(0xb0)](_0x544a6=>{const _0x3cbbde=_0x3624b9,_0x1e61c8=new _0x97605e(this[_0x3cbbde(0xce)]),_0x5cc9ee=_0xcc5fcc(_0x49f610,_0x544a6,!0x0,!0x1)();_0x1e61c8[_0x3cbbde(0xa4)][_0x3cbbde(0xb3)](_0x5cc9ee),_0x3e0284[_0x3cbbde(0xdf)][_0x3cbbde(0xb3)](_0x5cc9ee),_0x5d47d7[_0x3cbbde(0xd3)][_0x3cbbde(0xb3)](_0x1e61c8);}),_0x5d47d7;}[_0x1ac8eb(0xbe)](_0x5319bd,_0x453625){const _0x19dc2c=_0x1ac8eb,_0x380a63=_0x5319bd[_0x19dc2c(0xeb)],_0x3edef5=_0x19dc2c(0xed)===_0x5319bd[_0x19dc2c(0xce)][_0x19dc2c(0xe7)]?_0x19dc2c(0xb1):_0x19dc2c(0xa6);_0x5319bd[_0x19dc2c(0xd4)]({'attributes':{'class':[_0x19dc2c(0xc4)]},'on':{'mouseenter':_0x380a63['to'](()=>{const _0x22a127=_0x19dc2c;this[_0x22a127(0xc2)](_0x453625,_0x5319bd);}),'mouseleave':_0x380a63['to'](_0x11a80e=>{const _0x1e795a=_0x19dc2c,_0x259b26=_0x11a80e[_0x1e795a(0xaa)];this[_0x1e795a(0xb5)](_0x259b26,_0x453625)||this[_0x1e795a(0xb9)](_0x453625);}),'keydown':_0x380a63['to'](_0x2966ab=>{const _0x213de5=_0x19dc2c;_0x2966ab[_0x213de5(0xd2)]==_0x3edef5&&(this[_0x213de5(0xc2)](_0x453625,_0x5319bd),_0x453625[_0x213de5(0xc7)][_0x213de5(0xb7)](0x0)[_0x213de5(0xd7)]());})}}),_0x453625['on'](_0x19dc2c(0xa9),()=>{const _0x9815e4=_0x19dc2c;_0x453625[_0x9815e4(0xba)]?.[_0x9815e4(0xae)](_0x9815e4(0xad),_0x24e72d=>{const _0x35285d=_0x9815e4,_0x476f2a=_0x24e72d[_0x35285d(0xaa)];_0x5319bd[_0x35285d(0xba)]?.[_0x35285d(0xa2)](_0x476f2a)||this[_0x35285d(0xb5)](_0x476f2a,_0x453625)||this[_0x35285d(0xb9)](_0x453625);});});}[_0x1ac8eb(0xc2)](_0x4e64fc,_0x511596){const _0x183bd5=_0x1ac8eb;this[_0x183bd5(0xc3)][_0x183bd5(0xb0)](_0x4eebce=>{const _0x54afd5=_0x183bd5;_0x4eebce!==_0x4e64fc&&_0x4eebce[_0x54afd5(0xec)]&&_0x4eebce[_0x54afd5(0xc1)]();}),_0x4e64fc[_0x183bd5(0xa8)](),_0x4e64fc[_0x183bd5(0xe1)]({'positions':[_0x55b87e[_0x183bd5(0xde)]],'target':_0x511596[_0x183bd5(0xba)],'fitInViewport':!0x0}),this[_0x183bd5(0xc3)][_0x183bd5(0xb3)](_0x4e64fc);}[_0x1ac8eb(0xb9)](_0x348f41){const _0x2e1ffd=_0x1ac8eb;_0x348f41[_0x2e1ffd(0xc1)](),this[_0x2e1ffd(0xc3)][_0x2e1ffd(0xf1)](_0x348f41);}[_0x1ac8eb(0xc5)](){const _0x1774f8=_0x1ac8eb;this[_0x1774f8(0xc3)][_0x1774f8(0xb0)](_0x47917f=>_0x47917f[_0x1774f8(0xc1)]()),this[_0x1774f8(0xc3)][_0x1774f8(0xb6)]();}[_0x1ac8eb(0xb5)](_0x1391e,_0x34d173){const _0x475623=_0x1ac8eb;if(!_0x1391e)return!0x1;if(_0x34d173[_0x475623(0xba)]?.[_0x475623(0xa2)](_0x1391e))return!0x0;const _0x50d3a9=_0x1391e;return _0x50d3a9[_0x475623(0xcd)]&&(null!==_0x50d3a9[_0x475623(0xcd)](_0x475623(0xd0))||null!==_0x50d3a9[_0x475623(0xcd)](_0x475623(0xe9))||null!==_0x50d3a9[_0x475623(0xcd)](_0x475623(0xdb)));}[_0x1ac8eb(0xe5)](){const _0x4e60ac=_0x1ac8eb;this[_0x4e60ac(0xc5)](),this[_0x4e60ac(0xb8)][_0x4e60ac(0xea)](),super[_0x4e60ac(0xe5)]();}[_0x1ac8eb(0xd7)](){const _0x1db4c2=_0x1ac8eb;this[_0x1db4c2(0xd5)][_0x1db4c2(0xd7)]();}}
23
+ function _0x5c08(){const _0x25cc53=['AI_QUICK_ACTIONS_SEARCH','reset','render','parent','text','element','destroy','_createSearchResultActionButton','ck-ai-quick-actions-group-list','ck-dropdown-menu__nested-menu__panel','set','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','ck-ai-quick-actions-button_with-group__close-paren','closest','focus','ck-ai-quick-actions-button__group-icon','ck-dropdown-menu-list','some','relatedTarget','ck-ai-quick-actions-search-result-button_with-group','_hideAllNestedPanels','.ck-ai-quick-actions-group-button','div','ck-ai-quick-actions-search-result__group-row','fire','_hideNestedPanel','children','279579IrbPsf','ck-reset_all','_createListItems','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','pin','_createGroupActionsList','_getPanelKeystroke','ck-rounded-corners','_focusables','clear','optionsListView','_createSearchResultGroupRow','add','5627709ZTLIDD','_hasSearch','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_setupActionButtonExecution','ck-button','addEventListener','actions','label','key','346DumRQg','contains','ck-ai-quick-actions-button_with-group__open-paren','_searchTextView','content','ck-ai-quick-actions-search-result__content','displayedPrompt','ck-ai-quick-actions-search-result-button','keystrokes','hide','first','_openNestedPanels','ck-ai-quick-actions-button_with-group','195LYivKB','_getButtonKeystroke','_createSearchResultIndividualActionButton','ck-ai-quick-actions-search','_createSearchTextView','queryView','resetSearch','show','activeElement','forEach','.ck-ai-quick-actions-group-panel','commands','chain','extendTemplate','fieldView','_isMovingToNestedMenu','ck-ai-quick-actions-group-button','_isSearchFocused','icon','addMany','span','eastSouth','get','_allSearchableItems','2676wroafe','ck-ai-quick-actions-search-result__action-row','233646WQMkXK','_showNestedPanel','972377bCxzmy','.ck-ai-quick-actions-group-list','_createSearchResultContentView','setTemplate','ck-ai-quick-actions-group-panel','push','detachFromDom','bindTemplate','_createActionButton','ck-button_with-text','items','isEnabled','_setupGroupMenuBehavior','menu','isOn','role','ck-ai-quick-actions','_handlePanelKeydown','uiLanguageDirection','menuitem','_createActionGroupButton','ck-ai-quick-actions-button','ArrowLeft','7800gjwVQU','rtl','editing','_handleSearchResultButtonClick','_createSearchResultActionRow','ArrowRight','view','focusTracker','execute','aiQuickAction','bind','delete','_createSearchResultGroupedActionButton','button','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','mouseleave','ownerDocument','isVisible','_bodyCollection','2797560Avdlmu','focusCycler','locale'];_0x5c08=function(){return _0x25cc53;};return _0x5c08();}const _0x308f34=_0x14e7;(function(_0x58a33c,_0x231a9e){const _0x37069b=_0x14e7,_0x55f467=_0x58a33c();while(!![]){try{const _0x484901=parseInt(_0x37069b(0x11b))/0x1+-parseInt(_0x37069b(0x131))/0x2+-parseInt(_0x37069b(0x171))/0x3*(parseInt(_0x37069b(0x156))/0x4)+parseInt(_0x37069b(0x13e))/0x5*(parseInt(_0x37069b(0x158))/0x6)+-parseInt(_0x37069b(0x15a))/0x7+parseInt(_0x37069b(0xfd))/0x8+parseInt(_0x37069b(0x128))/0x9;if(_0x484901===_0x231a9e)break;else _0x55f467['push'](_0x55f467['shift']());}catch(_0x5d1b2d){_0x55f467['push'](_0x55f467['shift']());}}}(_0x5c08,0xda746));import{View as _0x5c0cae,ListItemView as _0x30f8ea,ListView as _0x3a042c,BalloonPanelView as _0x19b586,DropdownMenuPanelPositioningFunctions as _0x2172c6,ViewCollection as _0x542a1d,FocusCycler as _0x41bc2f,ButtonView as _0x22e564,IconView as _0x38ae29,HighlightedTextView as _0x55a949,ButtonLabelWithHighlightView as _0x14b754,SearchTextView as _0x224b77}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x27517f}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x1108e4,KeystrokeHandler as _0x442154}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x152ba8}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x2b2a62}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x46138f}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x3f4ef1}from'./aiquickactionsfilteredlistview.js';const Ts=_0x308f34(0x167),Rs=_0x308f34(0x16d);function _0x14e7(_0xcc94b2,_0x5993c1){const _0x5c08ac=_0x5c08();return _0x14e7=function(_0x14e706,_0x42fdba){_0x14e706=_0x14e706-0xf4;let _0x3dca74=_0x5c08ac[_0x14e706];return _0x3dca74;},_0x14e7(_0xcc94b2,_0x5993c1);}export class AIQuickActionsDropdownContentView extends _0x5c0cae{[_0x308f34(0xfc)];[_0x308f34(0x125)];[_0x308f34(0x134)]=null;[_0x308f34(0x155)]=[];[_0x308f34(0x11a)];[_0x308f34(0x178)];[_0x308f34(0x139)];[_0x308f34(0x123)];[_0x308f34(0xfe)];[_0x308f34(0x13c)]=new Set();[_0x308f34(0x129)];constructor(_0x197e5d,_0x36c127,_0x13d0c2,_0x58c7b5,_0x49c02a=!0x1){const _0x54689f=_0x308f34,_0x1d88d9=_0x197e5d[_0x54689f(0xff)];super(_0x1d88d9),this[_0x54689f(0xfc)]=_0x58c7b5,this[_0x54689f(0x129)]=_0x49c02a;const _0x8234e3=this[_0x54689f(0x11d)](_0x197e5d,_0x36c127,_0x13d0c2);this[_0x54689f(0x125)]=new _0x3f4ef1(_0x1d88d9,_0x8234e3,this[_0x54689f(0x155)]),this[_0x54689f(0x125)][_0x54689f(0x169)]=Ts,this[_0x54689f(0x125)][_0x54689f(0x164)][_0x54689f(0x151)](_0x8234e3),this[_0x54689f(0x178)]=new _0x1108e4(),this[_0x54689f(0x139)]=new _0x442154(),_0x49c02a&&(this[_0x54689f(0x134)]=this[_0x54689f(0x142)]()),this[_0x54689f(0x123)]=_0x8234e3,this[_0x54689f(0xfe)]=new _0x41bc2f({'focusables':this[_0x54689f(0x123)],'focusTracker':this[_0x54689f(0x178)],'keystrokeHandler':this[_0x54689f(0x139)]}),_0x49c02a&&this[_0x54689f(0x134)]&&this[_0x54689f(0xfe)][_0x54689f(0x14a)](this[_0x54689f(0x134)][_0x54689f(0xfe)]);const _0x47c772=_0x49c02a&&this[_0x54689f(0x134)]?[this[_0x54689f(0x134)]]:[this[_0x54689f(0x125)]];this[_0x54689f(0x11a)]=new _0x542a1d(_0x47c772),this[_0x54689f(0x15d)]({'tag':_0x54689f(0x116),'attributes':{'class':['ck',_0x54689f(0x11c),_0x54689f(0x16a),_0x54689f(0x122)],'dir':_0x1d88d9[_0x54689f(0x16c)]},'children':this[_0x54689f(0x11a)]});}[_0x308f34(0x142)](){const _0x362b81=_0x308f34;return new _0x224b77(this[_0x362b81(0xff)],{'filteredView':this[_0x362b81(0x125)],'queryView':{'label':_0x46138f(this[_0x362b81(0xff)],_0x362b81(0x100))},'class':_0x362b81(0x141),'infoView':{'text':{'notFound':{'primary':_0x46138f(this[_0x362b81(0xff)],_0x362b81(0x12a))}}}});}[_0x308f34(0x14f)](){const _0x51768d=_0x308f34;if(!this[_0x51768d(0x129)]||!this[_0x51768d(0x134)]||!this[_0x51768d(0x134)][_0x51768d(0x143)][_0x51768d(0x14c)][_0x51768d(0x105)])return!0x1;const _0x2dcbef=this[_0x51768d(0x134)][_0x51768d(0x143)][_0x51768d(0x14c)][_0x51768d(0x105)][_0x51768d(0xfa)]?.[_0x51768d(0x146)];return this[_0x51768d(0x134)][_0x51768d(0x143)][_0x51768d(0x14c)][_0x51768d(0x105)][_0x51768d(0x132)](_0x2dcbef);}[_0x308f34(0x11d)](_0x1fd172,_0x439bb8,_0x4ce728){const _0x405f29=_0x308f34,_0x37363c=new _0x542a1d();return _0x439bb8[_0x405f29(0x147)](_0x3c3e27=>{const _0xad84d0=_0x405f29;if(_0xad84d0(0x12e)in _0x3c3e27){const {listItem:_0x3268ce}=this[_0xad84d0(0x16e)](_0x1fd172,_0x3c3e27,_0x4ce728);_0x37363c[_0xad84d0(0x127)](_0x3268ce),_0x3c3e27[_0xad84d0(0x12e)][_0xad84d0(0x147)](_0x4c31d6=>{const _0x13a31f=_0xad84d0;this[_0x13a31f(0x162)](_0x1fd172,_0x4c31d6,_0x3c3e27[_0x13a31f(0x12f)],_0x3c3e27[_0x13a31f(0x150)]);const {listItem:_0x38a474,highlightViews:_0x38c9c2}=this[_0x13a31f(0x107)](_0x1fd172,_0x4c31d6,_0x3c3e27[_0x13a31f(0x12f)],_0x3c3e27[_0x13a31f(0x150)]);this[_0x13a31f(0x155)][_0x13a31f(0x15f)]({'item':_0x38a474,'label':_0x4c31d6[_0x13a31f(0x137)],'groupLabel':_0x3c3e27[_0x13a31f(0x12f)],'highlightViews':_0x38c9c2});});}else{const {listItem:_0x3264d4}=this[_0xad84d0(0x162)](_0x1fd172,_0x3c3e27);_0x37363c[_0xad84d0(0x127)](_0x3264d4);const _0x59c86f=_0x3264d4[_0xad84d0(0x11a)][_0xad84d0(0x13b)];if(_0x59c86f){const {listItem:_0x898cda,highlightViews:_0x1888fe}=this[_0xad84d0(0x107)](_0x1fd172,_0x3c3e27);this[_0xad84d0(0x155)][_0xad84d0(0x15f)]({'item':_0x898cda,'label':_0x59c86f[_0xad84d0(0x12f)]||'','highlightViews':_0x1888fe});}}}),_0x37363c;}[_0x308f34(0x162)](_0x56e8c8,_0x4de3b0,_0x3bc00c,_0x5c89ce){const _0x311990=_0x308f34,_0x2e1c55=new _0x30f8ea(this[_0x311990(0xff)]);if(_0x3bc00c&&_0x5c89ce){const _0x335c62=new _0x22e564(this[_0x311990(0xff)]),_0x484423=_0x335c62[_0x311990(0x161)],_0x185832=new _0x55a949();_0x185832[_0x311990(0x104)]=_0x4de3b0[_0x311990(0x137)];const _0x2afd4d=new _0x55a949();_0x2afd4d[_0x311990(0x104)]=_0x3bc00c;const _0x3bc492=new _0x38ae29();_0x3bc492[_0x311990(0x135)]=_0x5c89ce,_0x3bc492[_0x311990(0x14b)]({'attributes':{'class':_0x311990(0x10f)}});const _0x2eb059=new _0x5c0cae(this[_0x311990(0xff)]);_0x2eb059[_0x311990(0x15d)]({'tag':_0x311990(0x152),'attributes':{'class':_0x311990(0x133)},'children':[{'text':'\x20('}]});const _0x71d17=new _0x5c0cae(this[_0x311990(0xff)]);return _0x71d17[_0x311990(0x15d)]({'tag':_0x311990(0x152),'attributes':{'class':_0x311990(0x10c)},'children':[{'text':')'}]}),_0x335c62[_0x311990(0x10a)]({'label':_0x4de3b0[_0x311990(0x137)]+'\x20('+_0x3bc00c+')','withText':!0x0,'role':_0x311990(0x16d),'class':_0x311990(0xf8),'tooltip':!0x1}),_0x335c62[_0x311990(0x15d)]({'tag':_0x311990(0xf7),'attributes':{'class':['ck',_0x311990(0x12c),_0x311990(0x163),_0x311990(0x16f),_0x311990(0x13d)],'type':_0x311990(0xf7),'role':_0x311990(0x16d),'tabindex':'-1'},'children':[_0x185832,_0x2eb059,_0x3bc492,_0x2afd4d,_0x71d17],'on':{'mouseenter':_0x484423['to'](()=>{const _0x1fd4ba=_0x311990;this[_0x1fd4ba(0x14f)]()||_0x335c62[_0x1fd4ba(0x10e)]();}),'click':_0x484423['to'](()=>{const _0x4651c9=_0x311990;_0x335c62[_0x4651c9(0x118)](_0x4651c9(0x179));})}}),_0x335c62['on'](_0x311990(0x179),()=>{const _0x15e4a0=_0x311990;_0x56e8c8[_0x15e4a0(0x173)][_0x15e4a0(0x177)][_0x15e4a0(0x10e)](),_0x56e8c8[_0x15e4a0(0x149)][_0x15e4a0(0x179)](_0x15e4a0(0x17a),_0x4de3b0);}),_0x2e1c55[_0x311990(0x11a)][_0x311990(0x127)](_0x335c62),{'listItem':_0x2e1c55,'highlightViews':[_0x185832,_0x2afd4d]};}{const _0x38528e=new _0x14b754(),_0x109df2=new _0x22e564(this[_0x311990(0xff)],_0x38528e),_0x31c852=_0x109df2[_0x311990(0x161)],_0x1cc768=_0x4de3b0[_0x311990(0x150)]??_0x4de3b0[_0x311990(0x103)]?.[_0x311990(0x150)],_0x871963=void 0x0!==_0x4de3b0[_0x311990(0x150)];return _0x109df2[_0x311990(0x10a)]({'label':_0x4de3b0[_0x311990(0x137)],'withText':!0x0,'role':_0x311990(0x16d),'icon':_0x871963?_0x1cc768??_0x27517f:void 0x0,'tooltip':!0x1,'class':_0x311990(0x16f)}),_0x109df2[_0x311990(0x14b)]({'on':{'mouseenter':_0x31c852['to'](()=>{const _0x40fee1=_0x311990;this[_0x40fee1(0x14f)]()||_0x109df2[_0x40fee1(0x10e)]();})}}),_0x109df2['on'](_0x311990(0x179),()=>{const _0x222525=_0x311990;_0x56e8c8[_0x222525(0x173)][_0x222525(0x177)][_0x222525(0x10e)](),_0x56e8c8[_0x222525(0x149)][_0x222525(0x179)](_0x222525(0x17a),_0x4de3b0);}),_0x2e1c55[_0x311990(0x11a)][_0x311990(0x127)](_0x109df2),{'listItem':_0x2e1c55,'highlightViews':[_0x38528e]};}}[_0x308f34(0x107)](_0x3b2227,_0x12dfa6,_0x3a7327,_0x596b42){const _0x116aad=_0x308f34;return _0x3a7327&&_0x596b42?this[_0x116aad(0xf6)](_0x3b2227,_0x12dfa6,_0x3a7327,_0x596b42):this[_0x116aad(0x140)](_0x3b2227,_0x12dfa6);}[_0x308f34(0xf6)](_0x3964a9,_0x3580a8,_0x29222e,_0x5e53d4){const _0x496740=_0x308f34,_0x1b00ed=new _0x30f8ea(this[_0x496740(0xff)]),_0x5a91c7=new _0x22e564(this[_0x496740(0xff)]),_0x3fc66a=_0x5a91c7[_0x496740(0x161)],{view:_0x41e3be,highlightView:_0x4d78d1}=this[_0x496740(0x126)](_0x29222e,_0x5e53d4),{view:_0x15fddc,highlightView:_0x2a2ddf}=this[_0x496740(0x175)](_0x3580a8[_0x496740(0x137)]),_0x54c5cc=this[_0x496740(0x15c)](_0x41e3be,_0x15fddc);return _0x5a91c7[_0x496740(0x10a)]({'label':_0x3580a8[_0x496740(0x137)],'withText':!0x0,'role':_0x496740(0x16d),'class':_0x496740(0x11e),'tooltip':!0x1}),_0x5a91c7[_0x496740(0x15d)]({'tag':_0x496740(0xf7),'attributes':{'class':['ck',_0x496740(0x12c),_0x496740(0x163),_0x496740(0x16f),_0x496740(0x138),_0x496740(0x113)],'type':_0x496740(0xf7),'role':_0x496740(0x16d),'tabindex':'-1'},'children':[_0x54c5cc],'on':{'mouseenter':_0x3fc66a['to'](()=>{const _0x15f6e1=_0x496740;this[_0x15f6e1(0x14f)]()||_0x5a91c7[_0x15f6e1(0x10e)]();}),'click':_0x3fc66a['to'](()=>{const _0x17224c=_0x496740;this[_0x17224c(0x174)](_0x5a91c7);})}}),this[_0x496740(0x12b)](_0x5a91c7,_0x3964a9,_0x3580a8),_0x1b00ed[_0x496740(0x11a)][_0x496740(0x127)](_0x5a91c7),{'listItem':_0x1b00ed,'highlightViews':[_0x4d78d1,_0x2a2ddf]};}[_0x308f34(0x140)](_0x57b070,_0x584547){const _0xa7e9f4=_0x308f34,_0x7c62e=new _0x30f8ea(this[_0xa7e9f4(0xff)]),_0x555d2f=new _0x14b754(),_0x4fedc2=new _0x22e564(this[_0xa7e9f4(0xff)],_0x555d2f),_0x29cf8b=_0x4fedc2[_0xa7e9f4(0x161)];return _0x4fedc2[_0xa7e9f4(0x10a)]({'label':_0x584547[_0xa7e9f4(0x137)],'withText':!0x0,'role':_0xa7e9f4(0x16d),'icon':void 0x0,'tooltip':!0x1,'class':_0xa7e9f4(0x10b)}),_0x4fedc2[_0xa7e9f4(0x14b)]({'on':{'mouseenter':_0x29cf8b['to'](()=>{const _0x2cdf5e=_0xa7e9f4;this[_0x2cdf5e(0x14f)]()||_0x4fedc2[_0x2cdf5e(0x10e)]();})}}),this[_0xa7e9f4(0x12b)](_0x4fedc2,_0x57b070,_0x584547),_0x7c62e[_0xa7e9f4(0x11a)][_0xa7e9f4(0x127)](_0x4fedc2),{'listItem':_0x7c62e,'highlightViews':[_0x555d2f]};}[_0x308f34(0x126)](_0x55f913,_0x4e3ebb){const _0x2ade1d=_0x308f34,_0x5de549=new _0x5c0cae(this[_0x2ade1d(0xff)]),_0x4c226a=new _0x38ae29();_0x4c226a[_0x2ade1d(0x135)]=_0x4e3ebb,_0x4c226a[_0x2ade1d(0x14b)]({'attributes':{'class':_0x2ade1d(0x10f)}});const _0xf945ca=new _0x55a949();return _0xf945ca[_0x2ade1d(0x104)]=_0x55f913,_0x5de549[_0x2ade1d(0x15d)]({'tag':_0x2ade1d(0x116),'attributes':{'class':_0x2ade1d(0x117)},'children':[_0x4c226a,_0xf945ca]}),{'view':_0x5de549,'highlightView':_0xf945ca};}[_0x308f34(0x175)](_0x4d7414){const _0x166594=_0x308f34,_0x28ac6b=new _0x5c0cae(this[_0x166594(0xff)]),_0xc711c6=new _0x55a949();return _0xc711c6[_0x166594(0x104)]=_0x4d7414,_0x28ac6b[_0x166594(0x15d)]({'tag':_0x166594(0x116),'attributes':{'class':_0x166594(0x157)},'children':[_0xc711c6]}),{'view':_0x28ac6b,'highlightView':_0xc711c6};}[_0x308f34(0x15c)](_0x91a4da,_0x3b1755){const _0x43bc60=_0x308f34,_0x304df6=new _0x5c0cae(this[_0x43bc60(0xff)]);return _0x304df6[_0x43bc60(0x15d)]({'tag':_0x43bc60(0x116),'attributes':{'class':_0x43bc60(0x136)},'children':[_0x91a4da,_0x3b1755]}),_0x304df6;}[_0x308f34(0x12b)](_0x13a1a0,_0x8f11c9,_0x41d531){const _0x2b42a0=_0x308f34;_0x13a1a0['on'](_0x2b42a0(0x179),()=>{const _0xac5fa0=_0x2b42a0;_0x8f11c9[_0xac5fa0(0x173)][_0xac5fa0(0x177)][_0xac5fa0(0x10e)](),_0x8f11c9[_0xac5fa0(0x149)][_0xac5fa0(0x179)](_0xac5fa0(0x17a),_0x41d531);});}[_0x308f34(0x16e)](_0x2198bd,_0x5453ee,_0x17260b){const _0x45159d=_0x308f34,_0x3bcc34=new _0x30f8ea(this[_0x45159d(0xff)]),_0x54b6cc=new _0x14b754(),_0x394921=new _0x2b2a62(this[_0x45159d(0xff)],_0x54b6cc),_0x3f62a0=_0x394921[_0x45159d(0x161)],_0x1f285a=this[_0x45159d(0x121)](_0x17260b),_0x26a153=this[_0x45159d(0x120)](_0x2198bd,_0x5453ee[_0x45159d(0x12e)],_0x17260b);_0x394921[_0x45159d(0x10a)]({'label':_0x5453ee[_0x45159d(0x12f)],'withText':!0x0,'role':Rs,'icon':_0x5453ee[_0x45159d(0x150)]??_0x27517f,'isEnabled':_0x5453ee[_0x45159d(0x12e)][_0x45159d(0x111)](_0x461481=>_0x461481[_0x45159d(0x165)])}),_0x394921[_0x45159d(0x14b)]({'on':{'mouseenter':_0x3f62a0['to'](()=>{const _0x3e125d=_0x45159d;this[_0x3e125d(0x14f)]()||_0x394921[_0x3e125d(0x10e)]();})}});const _0x4b4ed2=new _0x19b586(this[_0x45159d(0xff)]);return _0x4b4ed2[_0x45159d(0x14b)]({'attributes':{'class':['ck',_0x45159d(0x11c),_0x45159d(0x15e),_0x45159d(0x109)]},'on':{'keydown':_0x3f62a0['to'](_0x5d0346=>{const _0x48dc64=_0x45159d;this[_0x48dc64(0x16b)](_0x5d0346,_0x1f285a,_0x394921,_0x4b4ed2);})}}),_0x394921[_0x45159d(0xf4)](_0x45159d(0x168))['to'](_0x4b4ed2,_0x45159d(0xfb)),this[_0x45159d(0xfc)][_0x45159d(0x127)](_0x4b4ed2),_0x4b4ed2[_0x45159d(0x135)][_0x45159d(0x127)](_0x26a153),this[_0x45159d(0x166)](_0x394921,_0x4b4ed2),_0x3bcc34[_0x45159d(0x11a)][_0x45159d(0x127)](_0x394921),{'listItem':_0x3bcc34,'highlightView':_0x54b6cc};}[_0x308f34(0x120)](_0x516c7d,_0x41c808,_0x38a370){const _0x4a56a9=_0x308f34,_0x42af0a=new _0x3a042c(this[_0x4a56a9(0xff)]);return _0x42af0a[_0x4a56a9(0x14b)]({'attributes':{'class':['ck',_0x4a56a9(0x11c),_0x4a56a9(0x108),_0x4a56a9(0x110)]}}),_0x41c808[_0x4a56a9(0x147)](_0x545251=>{const _0x589a1e=_0x4a56a9,_0x552996=new _0x30f8ea(this[_0x589a1e(0xff)]),_0x2ba27b=_0x152ba8({'editor':_0x516c7d,'action':_0x545251,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x589a1e(0x14f)]()})();_0x552996[_0x589a1e(0x11a)][_0x589a1e(0x127)](_0x2ba27b),_0x38a370[_0x589a1e(0x178)][_0x589a1e(0x127)](_0x2ba27b),_0x42af0a[_0x589a1e(0x164)][_0x589a1e(0x127)](_0x552996);}),_0x42af0a;}[_0x308f34(0x166)](_0x5ad71f,_0x43615b){const _0x31a8df=_0x308f34,_0x16c60f=_0x5ad71f[_0x31a8df(0x161)],_0x364ebc=this[_0x31a8df(0x13f)](_0x5ad71f);_0x5ad71f[_0x31a8df(0x14b)]({'attributes':{'class':[_0x31a8df(0x14e)]},'on':{'mouseenter':_0x16c60f['to'](()=>{const _0x2df4f7=_0x31a8df;this[_0x2df4f7(0x159)](_0x43615b,_0x5ad71f);}),'mouseleave':_0x16c60f['to'](_0x29ebf2=>{const _0x31e52d=_0x31a8df,_0x5680a4=_0x29ebf2[_0x31e52d(0x112)];this[_0x31e52d(0x14d)](_0x5680a4,_0x43615b)||this[_0x31e52d(0x119)](_0x43615b);}),'keydown':_0x16c60f['to'](_0xf1bd0=>{const _0x1f3fd0=_0x31a8df;_0xf1bd0[_0x1f3fd0(0x130)]==_0x364ebc&&(this[_0x1f3fd0(0x159)](_0x43615b,_0x5ad71f),_0x43615b[_0x1f3fd0(0x135)][_0x1f3fd0(0x154)](0x0)[_0x1f3fd0(0x10e)]());})}}),_0x43615b['on'](_0x31a8df(0x102),()=>{const _0x3cb918=_0x31a8df;_0x43615b[_0x3cb918(0x105)]?.[_0x3cb918(0x12d)](_0x3cb918(0xf9),_0x564060=>{const _0x537b47=_0x3cb918,_0x58704d=_0x564060[_0x537b47(0x112)];_0x5ad71f[_0x537b47(0x105)]?.[_0x537b47(0x132)](_0x58704d)||this[_0x537b47(0x14d)](_0x58704d,_0x43615b)||this[_0x537b47(0x119)](_0x43615b);});});}[_0x308f34(0x159)](_0x54e7b5,_0x5235f7){const _0x2d480e=_0x308f34;this[_0x2d480e(0x13c)][_0x2d480e(0x147)](_0x33a63a=>{const _0x563f98=_0x2d480e;_0x33a63a!==_0x54e7b5&&_0x33a63a[_0x563f98(0xfb)]&&_0x33a63a[_0x563f98(0x13a)]();}),_0x54e7b5[_0x2d480e(0x145)](),_0x54e7b5[_0x2d480e(0x11f)]({'positions':[_0x2172c6[_0x2d480e(0x153)]],'target':_0x5235f7[_0x2d480e(0x105)],'fitInViewport':!0x0}),this[_0x2d480e(0x13c)][_0x2d480e(0x127)](_0x54e7b5);}[_0x308f34(0x119)](_0x1fec32){const _0x4e8e57=_0x308f34;_0x1fec32[_0x4e8e57(0x13a)](),this[_0x4e8e57(0x13c)][_0x4e8e57(0xf5)](_0x1fec32);}[_0x308f34(0x114)](){const _0x3beb0e=_0x308f34;this[_0x3beb0e(0x13c)][_0x3beb0e(0x147)](_0x252ad7=>_0x252ad7[_0x3beb0e(0x13a)]()),this[_0x3beb0e(0x13c)][_0x3beb0e(0x124)]();}[_0x308f34(0x14d)](_0x4b6d9e,_0x52efd0){const _0x4e07f9=_0x308f34;if(!_0x4b6d9e)return!0x1;if(_0x52efd0[_0x4e07f9(0x105)]?.[_0x4e07f9(0x132)](_0x4b6d9e))return!0x0;const _0x2b2704=_0x4b6d9e;return _0x2b2704[_0x4e07f9(0x10d)]&&(null!==_0x2b2704[_0x4e07f9(0x10d)](_0x4e07f9(0x148))||null!==_0x2b2704[_0x4e07f9(0x10d)](_0x4e07f9(0x15b))||null!==_0x2b2704[_0x4e07f9(0x10d)](_0x4e07f9(0x115)));}[_0x308f34(0x144)](){const _0x513615=_0x308f34;this[_0x513615(0x134)]&&this[_0x513615(0x134)][_0x513615(0x101)]();}[_0x308f34(0x106)](){const _0x35e161=_0x308f34;this[_0x35e161(0x114)](),this[_0x35e161(0xfc)][_0x35e161(0x160)](),super[_0x35e161(0x106)]();}[_0x308f34(0x10e)](){const _0x3f49e8=_0x308f34;this[_0x3f49e8(0x134)]?this[_0x3f49e8(0x134)][_0x3f49e8(0x10e)]():this[_0x3f49e8(0x125)][_0x3f49e8(0x10e)]();}[_0x308f34(0x121)](_0x378ecb){const _0x286762=_0x308f34;return _0x286762(0x172)===_0x378ecb[_0x286762(0xff)][_0x286762(0x16c)]?_0x286762(0x176):_0x286762(0x170);}[_0x308f34(0x13f)](_0x229043){const _0x207674=_0x308f34;return _0x207674(0x172)===_0x229043[_0x207674(0xff)][_0x207674(0x16c)]?_0x207674(0x170):_0x207674(0x176);}[_0x308f34(0x16b)](_0x329295,_0x53430c,_0x5f1bf9,_0x40a5bf){const _0x3b5a54=_0x308f34;_0x329295[_0x3b5a54(0x130)]==_0x53430c&&(_0x5f1bf9[_0x3b5a54(0x10e)](),this[_0x3b5a54(0x119)](_0x40a5bf));}[_0x308f34(0x174)](_0x5718f8){const _0x4dbe3f=_0x308f34;_0x5718f8[_0x4dbe3f(0x118)](_0x4dbe3f(0x179));}}
@@ -21,6 +21,33 @@ type DropdownButtonDefinition = {
21
21
  */
22
22
  label: string;
23
23
  };
24
+ /**
25
+ * Configuration options for aiQuickActionsDropdownCreator.
26
+ */
27
+ export interface AIQuickActionsDropdownCreatorOptions {
28
+ /**
29
+ * The CKEditor instance that will contain the dropdown.
30
+ */
31
+ editor: Editor;
32
+ /**
33
+ * Array of AI action definitions or groups to display in the dropdown.
34
+ */
35
+ content: Array<AIQuickActionsGroupDefinition | AIQuickActionDefinition>;
36
+ /**
37
+ * Configuration for the dropdown button (icon, label).
38
+ */
39
+ buttonDefinition: AIQuickActionsGroupDefinition | DropdownButtonDefinition;
40
+ /**
41
+ * Body collection for managing UI elements.
42
+ */
43
+ bodyCollection: BodyCollection;
44
+ /**
45
+ * Whether to show the search input.
46
+ *
47
+ * @default false
48
+ */
49
+ hasSearch?: boolean;
50
+ }
24
51
  /**
25
52
  * Creates a dropdown factory function for AI Quick Actions.
26
53
  *
@@ -34,12 +61,10 @@ type DropdownButtonDefinition = {
34
61
  * - Read-only state binding to editor
35
62
  * - Automatic closing and focus management
36
63
  * - Balloon toolbar hiding on action selection
64
+ * - Optional search functionality
37
65
  *
38
- * @param editor The CKEditor instance that will contain the dropdown
39
- * @param content Array of AI action definitions or groups to display in the dropdown
40
- * @param buttonDefinition Configuration for the dropdown button (icon, label)
41
- * @param bodyCollection Body collection for managing UI elements
66
+ * @param options Configuration options for the dropdown creator
42
67
  * @returns Factory function that creates a DropdownView instance
43
68
  */
44
- export declare function aiQuickActionsDropdownCreator(editor: Editor, content: Array<AIQuickActionsGroupDefinition | AIQuickActionDefinition>, buttonDefinition: AIQuickActionsGroupDefinition | DropdownButtonDefinition, bodyCollection: BodyCollection): () => DropdownView;
69
+ export declare function aiQuickActionsDropdownCreator(options: AIQuickActionsDropdownCreatorOptions): () => DropdownView;
45
70
  export {};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x440aeb,_0x79d4ee){const _0x3f7e07=_0x2afe,_0xff7349=_0x440aeb();while(!![]){try{const _0x270475=parseInt(_0x3f7e07(0x6d))/0x1+-parseInt(_0x3f7e07(0x79))/0x2*(parseInt(_0x3f7e07(0x7e))/0x3)+-parseInt(_0x3f7e07(0x76))/0x4+parseInt(_0x3f7e07(0x77))/0x5+parseInt(_0x3f7e07(0x6f))/0x6*(parseInt(_0x3f7e07(0x7f))/0x7)+parseInt(_0x3f7e07(0x71))/0x8+parseInt(_0x3f7e07(0x78))/0x9*(-parseInt(_0x3f7e07(0x75))/0xa);if(_0x270475===_0x79d4ee)break;else _0xff7349['push'](_0xff7349['shift']());}catch(_0x475b01){_0xff7349['push'](_0xff7349['shift']());}}}(_0x2953,0x47a65));import{createDropdown as _0x3a2457}from'ckeditor5/src/ui.js';function _0x2953(){const _0x186c4a=['347339vEdyJS','label','2005446xJCHyH','children','15192DouxtD','panelView','set','add','20ZtfhbB','1799208sXiDYm','2860615iFOhQR','705141DZGdbm','2fyTtJf','ck-ai-quick-actions-dropdown','locale','icon','buttonView','1066875vGKCPX','7DQHEfF'];_0x2953=function(){return _0x186c4a;};return _0x2953();}import{IconAIQuickActions as _0x309658}from'@ckeditor/ckeditor5-icons';function _0x2afe(_0x3ca673,_0x5c1a33){const _0x2953fd=_0x2953();return _0x2afe=function(_0x2afee0,_0x13ce3b){_0x2afee0=_0x2afee0-0x6d;let _0xdc9cc6=_0x2953fd[_0x2afee0];return _0xdc9cc6;},_0x2afe(_0x3ca673,_0x5c1a33);}import{AIQuickActionsDropdownContentView as _0x1b6cc6}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x132f47,_0x4ebb78,_0x51372c,_0x52c954){return()=>{const _0x280fe3=_0x2afe,_0x49e23c=_0x132f47[_0x280fe3(0x7b)],_0x18f575=_0x3a2457(_0x49e23c);_0x18f575[_0x280fe3(0x7d)][_0x280fe3(0x73)]({'icon':_0x51372c[_0x280fe3(0x7c)]??_0x309658,'label':_0x51372c[_0x280fe3(0x6e)],'tooltip':!0x0}),_0x18f575[_0x280fe3(0x73)]({'class':_0x280fe3(0x7a)});const _0x4d011c=new _0x1b6cc6(_0x132f47,_0x4ebb78,_0x18f575,_0x52c954);return _0x18f575[_0x280fe3(0x72)][_0x280fe3(0x70)][_0x280fe3(0x74)](_0x4d011c),_0x18f575;};}
23
+ (function(_0x21a6f3,_0x84edbf){const _0x25193a=_0x5d90,_0x16baf9=_0x21a6f3();while(!![]){try{const _0x55d7e1=-parseInt(_0x25193a(0x175))/0x1+parseInt(_0x25193a(0x17d))/0x2+-parseInt(_0x25193a(0x181))/0x3*(-parseInt(_0x25193a(0x16c))/0x4)+parseInt(_0x25193a(0x16b))/0x5*(-parseInt(_0x25193a(0x182))/0x6)+parseInt(_0x25193a(0x180))/0x7*(-parseInt(_0x25193a(0x173))/0x8)+-parseInt(_0x25193a(0x183))/0x9*(-parseInt(_0x25193a(0x172))/0xa)+-parseInt(_0x25193a(0x186))/0xb;if(_0x55d7e1===_0x84edbf)break;else _0x16baf9['push'](_0x16baf9['shift']());}catch(_0x45853d){_0x16baf9['push'](_0x16baf9['shift']());}}}(_0x3e51,0x49ec9));import{createDropdown as _0x40ea53}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x452eab}from'@ckeditor/ckeditor5-icons';function _0x5d90(_0x3a6987,_0x257bdc){const _0x3e51b2=_0x3e51();return _0x5d90=function(_0x5d9012,_0x28b482){_0x5d9012=_0x5d9012-0x169;let _0x416f7b=_0x3e51b2[_0x5d9012];return _0x416f7b;},_0x5d90(_0x3a6987,_0x257bdc);}import{AIQuickActionsDropdownContentView as _0x1f7d76}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x5e1c5b}from'../../aicore/aiediting.js';function _0x3e51(){const _0x4fb98c=['length','children','AIEditing','has','change:isOpen','selection','showFakeVisualSelection','967410tWHimX','ck-ai-quick-actions-dropdown','hideFakeVisualSelection','91EKptnr','47172SDGmQp','5010ogOApD','1779957mJOmdt','set','icon','769274nUuzqf','locale','resetSearch','model','label','getRanges','ai-quick-actions-dropdown-selection','plugins','3185EaAmGC','96KExPpe','get','buttonView','panelView','document','from','10EZDMAq','79448WTYeof','add','25129OzFNHq'];_0x3e51=function(){return _0x4fb98c;};return _0x3e51();}export function aiQuickActionsDropdownCreator(_0xbaeeb8){const {editor:_0x1b59f7,content:_0x1d75a1,buttonDefinition:_0x76bf82,bodyCollection:_0x212c41,hasSearch:_0x10aea8=!0x1}=_0xbaeeb8;return()=>{const _0x2871bc=_0x5d90,_0x3ee8eb=_0x1b59f7[_0x2871bc(0x187)],_0x4704a4=_0x40ea53(_0x3ee8eb);_0x4704a4[_0x2871bc(0x16e)][_0x2871bc(0x184)]({'icon':_0x76bf82[_0x2871bc(0x185)]??_0x452eab,'label':_0x76bf82[_0x2871bc(0x18a)],'tooltip':!0x0}),_0x4704a4[_0x2871bc(0x184)]({'class':_0x2871bc(0x17e)});const _0x475cb1=new _0x1f7d76(_0x1b59f7,_0x1d75a1,_0x4704a4,_0x212c41,_0x10aea8);if(_0x4704a4[_0x2871bc(0x16f)][_0x2871bc(0x177)][_0x2871bc(0x174)](_0x475cb1),_0x10aea8){const _0x49094e=_0x2871bc(0x169);_0x4704a4['on'](_0x2871bc(0x17a),(_0x4d70a5,_0x2f2adc,_0x3f4bf8)=>{const _0x21ae79=_0x2871bc;if(_0x3f4bf8){if(_0x1b59f7[_0x21ae79(0x16a)][_0x21ae79(0x179)](_0x21ae79(0x178))){const _0x3f5eee=_0x1b59f7[_0x21ae79(0x16a)][_0x21ae79(0x16d)](_0x5e1c5b),_0x1404ed=_0x1b59f7[_0x21ae79(0x189)][_0x21ae79(0x170)][_0x21ae79(0x17b)],_0x52b585=Array[_0x21ae79(0x171)](_0x1404ed[_0x21ae79(0x18b)]());_0x52b585[_0x21ae79(0x176)]>0x0&&_0x3f5eee[_0x21ae79(0x17c)](_0x52b585,_0x49094e,!0x1,!0x0);}}else _0x1b59f7[_0x21ae79(0x16a)][_0x21ae79(0x179)](_0x21ae79(0x178))&&_0x1b59f7[_0x21ae79(0x16a)][_0x21ae79(0x16d)](_0x5e1c5b)[_0x21ae79(0x17f)](_0x49094e),_0x475cb1[_0x21ae79(0x188)]();});}return _0x4704a4;};}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ export {};
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x4c54(_0x3ef9b4,_0x1fad1){const _0x511751=_0x5117();return _0x4c54=function(_0x4c54a0,_0xf9f0bc){_0x4c54a0=_0x4c54a0-0x146;let _0x576ade=_0x511751[_0x4c54a0];return _0x576ade;},_0x4c54(_0x3ef9b4,_0x1fad1);}const _0x2565be=_0x4c54;(function(_0xebaf,_0x5f2747){const _0x2502ae=_0x4c54,_0x4f9dbe=_0xebaf();while(!![]){try{const _0x1c65c2=parseInt(_0x2502ae(0x161))/0x1+parseInt(_0x2502ae(0x15b))/0x2+-parseInt(_0x2502ae(0x14a))/0x3*(-parseInt(_0x2502ae(0x14f))/0x4)+-parseInt(_0x2502ae(0x147))/0x5+-parseInt(_0x2502ae(0x160))/0x6+-parseInt(_0x2502ae(0x15e))/0x7*(-parseInt(_0x2502ae(0x156))/0x8)+-parseInt(_0x2502ae(0x153))/0x9*(parseInt(_0x2502ae(0x149))/0xa);if(_0x1c65c2===_0x5f2747)break;else _0x4f9dbe['push'](_0x4f9dbe['shift']());}catch(_0x1a15fd){_0x4f9dbe['push'](_0x4f9dbe['shift']());}}}(_0x5117,0xbe0c3));import{ListView as _0x100573}from'ckeditor5/src/ui.js';function _0x5117(){const _0x25b33a=['_allListItems','1184202TixYfC','forEach','highlightText','4682824DVPFgh','groupLabel','label','trim','toLowerCase','1358470soXaeQ','_clearHighlight','highlightViews','14nUFTWP','addMany','7158750zuaveP','171228TzdASv','function','item','map','items','23305prtYZh','_highlightQuery','70XonBnm','2628294FvuTbz','length','clear','source','filter','4acZdTZ','_allSearchableItems','includes'];_0x5117=function(){return _0x25b33a;};return _0x5117();}import{escapeRegExp as _0x2d0a85}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x100573{[_0x2565be(0x152)];[_0x2565be(0x150)];constructor(_0x479d50,_0x5ca37e,_0x5b77e9){const _0xeefbbd=_0x2565be;super(_0x479d50),this[_0xeefbbd(0x152)]=_0x5ca37e,this[_0xeefbbd(0x150)]=_0x5b77e9;}[_0x2565be(0x14e)](_0x5843d8){const _0x52def4=_0x2565be;if(!_0x5843d8)return this[_0x52def4(0x146)][_0x52def4(0x14c)](),this[_0x52def4(0x146)][_0x52def4(0x15f)](this[_0x52def4(0x152)]),this[_0x52def4(0x15c)](),{'resultsCount':this[_0x52def4(0x152)][_0x52def4(0x14b)],'totalItemsCount':this[_0x52def4(0x152)][_0x52def4(0x14b)]};const _0x1437ca=_0x5843d8[_0x52def4(0x14d)][_0x52def4(0x15a)]()[_0x52def4(0x159)](),_0x8f5265=this[_0x52def4(0x150)][_0x52def4(0x14e)](_0x5b50e2=>(_0x5b50e2[_0x52def4(0x157)]?_0x5b50e2[_0x52def4(0x158)]+'\x20('+_0x5b50e2[_0x52def4(0x157)]+')':_0x5b50e2[_0x52def4(0x158)])[_0x52def4(0x15a)]()[_0x52def4(0x151)](_0x1437ca));return this[_0x52def4(0x146)][_0x52def4(0x14c)](),this[_0x52def4(0x146)][_0x52def4(0x15f)](_0x8f5265[_0x52def4(0x164)](_0x424a8e=>_0x424a8e[_0x52def4(0x163)])),this[_0x52def4(0x148)](_0x1437ca,_0x8f5265),{'resultsCount':_0x8f5265[_0x52def4(0x14b)],'totalItemsCount':this[_0x52def4(0x150)][_0x52def4(0x14b)]};}[_0x2565be(0x148)](_0x2d4cc7,_0xf3b22){const _0x4b52fc=_0x2565be;if(!_0x2d4cc7)return;const _0x4b499d=new RegExp(_0x2d0a85(_0x2d4cc7),'gi');_0xf3b22[_0x4b52fc(0x154)](_0x3c4608=>{const _0x25fb6f=_0x4b52fc;_0x3c4608[_0x25fb6f(0x15d)]&&_0x3c4608[_0x25fb6f(0x15d)][_0x25fb6f(0x154)](_0x161f69=>{const _0x1c2dc9=_0x25fb6f;_0x1c2dc9(0x162)==typeof _0x161f69[_0x1c2dc9(0x155)]&&_0x161f69[_0x1c2dc9(0x155)](_0x4b499d);});});}[_0x2565be(0x15c)](){const _0x4fdd5a=_0x2565be;this[_0x4fdd5a(0x150)][_0x4fdd5a(0x154)](_0x1d9a52=>{const _0x11164e=_0x4fdd5a;_0x1d9a52[_0x11164e(0x15d)]&&_0x1d9a52[_0x11164e(0x15d)][_0x11164e(0x154)](_0x7afefa=>{const _0x199516=_0x11164e;_0x199516(0x162)==typeof _0x7afefa[_0x199516(0x155)]&&_0x7afefa[_0x199516(0x155)](null);});});}}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module ai/aiquickactions/ui/dropdownmenubuttonwithhighlightview
7
+ */
8
+ import { IconView, type ButtonLabelWithHighlightView, ListItemButtonView } from 'ckeditor5/src/ui.js';
9
+ /**
10
+ * A custom dropdown menu button view that supports text highlighting.
11
+ * We need to bypass DropdownMenuButtonView's constructor and manually set up the button.
12
+ */
13
+ export declare class DropdownMenuButtonWithHighlightView extends ListItemButtonView {
14
+ /**
15
+ * An icon that displays an arrow to indicate a direction of the menu.
16
+ */
17
+ readonly arrowView: IconView;
18
+ /**
19
+ * Creates an instance with highlighting support.
20
+ *
21
+ * @param locale The localization services instance.
22
+ * @param labelView The label view with highlighting support.
23
+ */
24
+ constructor(locale: any, labelView: ButtonLabelWithHighlightView);
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ render(): void;
29
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x5e6823=_0x237a;(function(_0x3eed13,_0xea6b9d){const _0x13e896=_0x237a,_0x5889fc=_0x3eed13();while(!![]){try{const _0x4090ca=parseInt(_0x13e896(0x127))/0x1*(parseInt(_0x13e896(0x12f))/0x2)+parseInt(_0x13e896(0x121))/0x3*(-parseInt(_0x13e896(0x11e))/0x4)+-parseInt(_0x13e896(0x125))/0x5*(parseInt(_0x13e896(0x128))/0x6)+parseInt(_0x13e896(0x12c))/0x7+-parseInt(_0x13e896(0x11c))/0x8+parseInt(_0x13e896(0x12a))/0x9*(-parseInt(_0x13e896(0x11a))/0xa)+-parseInt(_0x13e896(0x130))/0xb*(-parseInt(_0x13e896(0x122))/0xc);if(_0x4090ca===_0xea6b9d)break;else _0x5889fc['push'](_0x5889fc['shift']());}catch(_0x3c8bb4){_0x5889fc['push'](_0x5889fc['shift']());}}}(_0x62ed,0x9484d));import{IconView as _0x3ce647,ListItemButtonView as _0x42a4e5}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x3ad21b}from'@ckeditor/ckeditor5-icons';function _0x237a(_0x5f078f,_0x30a94d){const _0x62ed32=_0x62ed();return _0x237a=function(_0x237a89,_0x2d85ae){_0x237a89=_0x237a89-0x118;let _0x1e386c=_0x62ed32[_0x237a89];return _0x1e386c;},_0x237a(_0x5f078f,_0x30a94d);}function _0x62ed(){const _0x2d8f44=['6161904fSAjhl','render','796jVfXfd','ck-dropdown-menu-list__nested-menu__button','bindTemplate','3591BtmKPw','12LyTRwB','arrowView','ck-dropdown-menu-list__nested-menu__button__arrow','15VMGWVY','add','509pSjHnZ','1930788pTNWsr','menuitem','54YcCbTv','mouseenter','6061398wVKuWc','content','set','2066NhykqE','16535739DhTnzo','isOn','extendTemplate','children','521320uPIgpB','_createArrowView'];_0x62ed=function(){return _0x2d8f44;};return _0x62ed();}export class DropdownMenuButtonWithHighlightView extends _0x42a4e5{[_0x5e6823(0x123)];constructor(_0x48bffd,_0x1d1307){const _0x144409=_0x5e6823;super(_0x48bffd,_0x1d1307);const _0x4a95f1=this[_0x144409(0x120)];this[_0x144409(0x12e)]({'withText':!0x0,'role':_0x144409(0x129)}),this[_0x144409(0x123)]=this[_0x144409(0x11b)](),this[_0x144409(0x118)]({'attributes':{'class':[_0x144409(0x11f)],'aria-haspopup':!0x0,'aria-expanded':this[_0x144409(0x120)]['to'](_0x144409(0x131),_0x166890=>String(_0x166890)),'data-cke-tooltip-disabled':_0x4a95f1['to'](_0x144409(0x131))},'on':{'mouseenter':_0x4a95f1['to'](_0x144409(0x12b))}});}[_0x5e6823(0x11d)](){const _0x10840f=_0x5e6823;super[_0x10840f(0x11d)](),this[_0x10840f(0x119)][_0x10840f(0x126)](this[_0x10840f(0x123)]);}[_0x5e6823(0x11b)](){const _0x440e3e=_0x5e6823,_0x3289a8=new _0x3ce647();return _0x3289a8[_0x440e3e(0x12d)]=_0x3ad21b,_0x3289a8[_0x440e3e(0x118)]({'attributes':{'class':_0x440e3e(0x124)}}),_0x3289a8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x20b4(){const _0x10ac90=['Translate','Friendly','2721970qMLNbi','russian','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','korean','Translate\x20the\x20text\x20into\x20another\x20language.','longer','Correctness','Italian','make','2069582PVCkeb','chinese','81390aogazo','casual','shorter','Adjust\x20tone\x20and\x20style','dropdown','Professional','French','direct','Readability','language','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','italian','Longer','Shorter','Direct','Adjust\x20length','Japanese','5476513uubhyC','translate','custom','1759505AqPOMY','professional','Chinese\x20(Simplified)','readability','Casual','english','portuguese','spanish','french','japanese','5648466hlJzjz','German','confident','English','german','12MUvwKw','make-tone','Russian','friendly','Select\x20language','Portuguese','clarity','Korean','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','Clarity','correctness','892020WDmpGW','531wXdFXy','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','Custom\x20command','Spanish','8qEcnRU','Confident'];_0x20b4=function(){return _0x10ac90;};return _0x20b4();}const _0x35a58a=_0x49bb;(function(_0x35b3d6,_0x1980a1){const _0x1210ef=_0x49bb,_0x1ef1b9=_0x35b3d6();while(!![]){try{const _0x54f847=parseInt(_0x1210ef(0xf8))/0x1+-parseInt(_0x1210ef(0xe2))/0x2+parseInt(_0x1210ef(0x102))/0x3+-parseInt(_0x1210ef(0x113))/0x4+-parseInt(_0x1210ef(0x11c))/0x5*(parseInt(_0x1210ef(0x107))/0x6)+parseInt(_0x1210ef(0xf5))/0x7*(-parseInt(_0x1210ef(0x118))/0x8)+-parseInt(_0x1210ef(0x114))/0x9*(-parseInt(_0x1210ef(0xe4))/0xa);if(_0x54f847===_0x1980a1)break;else _0x1ef1b9['push'](_0x1ef1b9['shift']());}catch(_0x3c99cd){_0x1ef1b9['push'](_0x1ef1b9['shift']());}}}(_0x20b4,0xf2931));function _0x49bb(_0xdd29c5,_0x2c9e64){const _0x20b4cb=_0x20b4();return _0x49bb=function(_0x49bba2,_0x3fb0f8){_0x49bba2=_0x49bba2-0xdb;let _0x441249=_0x20b4cb[_0x49bba2];return _0x441249;},_0x49bb(_0xdd29c5,_0x2c9e64);}export const AI_REVIEW_CHECKS=[{'id':_0x35a58a(0xf7),'title':_0x35a58a(0x116),'description':_0x35a58a(0xdb),'isParameterized':!0x0},{'id':_0x35a58a(0x112),'title':_0x35a58a(0xdf),'description':_0x35a58a(0x115),'isParameterized':!0x1},{'id':_0x35a58a(0x10d),'title':_0x35a58a(0x111),'description':_0x35a58a(0x11e),'isParameterized':!0x1},{'id':_0x35a58a(0xfb),'title':_0x35a58a(0xec),'description':_0x35a58a(0x10f),'isParameterized':!0x1},{'id':_0x35a58a(0xe1),'title':_0x35a58a(0xf3),'description':_0x35a58a(0xee),'isParameterized':!0x0,'options':[{'formType':_0x35a58a(0xe8),'label':_0x35a58a(0xf3),'default':_0x35a58a(0xde),'data':[{'label':_0x35a58a(0xf0),'id':_0x35a58a(0xde)},{'label':_0x35a58a(0xf1),'id':_0x35a58a(0xe6)}]}]},{'id':_0x35a58a(0x108),'title':_0x35a58a(0xe7),'description':_0x35a58a(0x110),'isParameterized':!0x0,'options':[{'formType':_0x35a58a(0xe8),'label':_0x35a58a(0xe7),'default':_0x35a58a(0xe5),'data':[{'label':_0x35a58a(0xfc),'id':_0x35a58a(0xe5)},{'label':_0x35a58a(0xf2),'id':_0x35a58a(0xeb)},{'label':_0x35a58a(0x11b),'id':_0x35a58a(0x10a)},{'label':_0x35a58a(0x119),'id':_0x35a58a(0x104)},{'label':_0x35a58a(0xe9),'id':_0x35a58a(0xf9)}]}]},{'id':_0x35a58a(0xf6),'title':_0x35a58a(0x11a),'description':_0x35a58a(0xdd),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x35a58a(0xe8),'label':_0x35a58a(0x10b),'argsKey':_0x35a58a(0xed),'data':[{'label':_0x35a58a(0x105),'id':_0x35a58a(0xfd)},{'label':_0x35a58a(0x117),'id':_0x35a58a(0xff)},{'label':_0x35a58a(0xea),'id':_0x35a58a(0x100)},{'label':_0x35a58a(0x103),'id':_0x35a58a(0x106)},{'label':_0x35a58a(0xfa),'id':_0x35a58a(0xe3)},{'label':_0x35a58a(0xf4),'id':_0x35a58a(0x101)},{'label':_0x35a58a(0x109),'id':_0x35a58a(0x11d)},{'label':_0x35a58a(0x10c),'id':_0x35a58a(0xfe)},{'label':_0x35a58a(0x10e),'id':_0x35a58a(0xdc)},{'label':_0x35a58a(0xe0),'id':_0x35a58a(0xef)}]}]}];
23
+ function _0x428d(){const _0x1f3fa2=['direct','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','shorter','korean','Longer','Readability','russian','German','Korean','9jpoqhl','make','english','Spanish','Select\x20language','Translate\x20the\x20text\x20into\x20another\x20language.','chinese','german','Russian','casual','language','professional','1026980xnohOo','translate','Casual','make-tone','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','readability','Translate','japanese','Chinese\x20(Simplified)','dropdown','318aSUjHg','Friendly','Adjust\x20tone\x20and\x20style','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','spanish','31756bpTgkB','longer','English','78197aSyGkP','custom','french','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','Custom\x20command','French','friendly','Portuguese','Adjust\x20length','confident','portuguese','1192220EJIAIa','Professional','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','Japanese','448984HUdgyY','Clarity','clarity','Confident','correctness','Italian','2496755ghHCPr','36HsByTc','536804QTWYQa','Shorter','italian','Correctness','Direct','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.'];_0x428d=function(){return _0x1f3fa2;};return _0x428d();}const _0x11b432=_0x24fd;function _0x24fd(_0x3e76c0,_0x37f60b){const _0x428d9b=_0x428d();return _0x24fd=function(_0x24fd2d,_0x257662){_0x24fd2d=_0x24fd2d-0xc5;let _0x13a862=_0x428d9b[_0x24fd2d];return _0x13a862;},_0x24fd(_0x3e76c0,_0x37f60b);}(function(_0x38f1f9,_0x29d0ed){const _0x246c57=_0x24fd,_0x1fef7d=_0x38f1f9();while(!![]){try{const _0x2a95af=parseInt(_0x246c57(0x102))/0x1+-parseInt(_0x246c57(0xe8))/0x2*(-parseInt(_0x246c57(0xcd))/0x3)+parseInt(_0x246c57(0xd9))/0x4+parseInt(_0x246c57(0x100))/0x5+-parseInt(_0x246c57(0xe3))/0x6*(parseInt(_0x246c57(0xeb))/0x7)+parseInt(_0x246c57(0xfa))/0x8+parseInt(_0x246c57(0x101))/0x9*(-parseInt(_0x246c57(0xf6))/0xa);if(_0x2a95af===_0x29d0ed)break;else _0x1fef7d['push'](_0x1fef7d['shift']());}catch(_0x761f62){_0x1fef7d['push'](_0x1fef7d['shift']());}}}(_0x428d,0x5001a));export const AI_REVIEW_CHECKS=[{'id':_0x11b432(0xec),'title':_0x11b432(0xef),'description':_0x11b432(0xf8),'isParameterized':!0x0},{'id':_0x11b432(0xfe),'title':_0x11b432(0x105),'description':_0x11b432(0xdd),'isParameterized':!0x1},{'id':_0x11b432(0xfc),'title':_0x11b432(0xfb),'description':_0x11b432(0x107),'isParameterized':!0x1},{'id':_0x11b432(0xde),'title':_0x11b432(0xc9),'description':_0x11b432(0xc5),'isParameterized':!0x1},{'id':_0x11b432(0xce),'title':_0x11b432(0xf3),'description':_0x11b432(0xe6),'isParameterized':!0x0,'options':[{'formType':_0x11b432(0xe2),'label':_0x11b432(0xf3),'default':_0x11b432(0xe9),'data':[{'label':_0x11b432(0xc8),'id':_0x11b432(0xe9)},{'label':_0x11b432(0x103),'id':_0x11b432(0xc6)}]}]},{'id':_0x11b432(0xdc),'title':_0x11b432(0xe5),'description':_0x11b432(0xee),'isParameterized':!0x0,'options':[{'formType':_0x11b432(0xe2),'label':_0x11b432(0xe5),'default':_0x11b432(0xd6),'data':[{'label':_0x11b432(0xdb),'id':_0x11b432(0xd6)},{'label':_0x11b432(0x106),'id':_0x11b432(0x108)},{'label':_0x11b432(0xe4),'id':_0x11b432(0xf1)},{'label':_0x11b432(0xfd),'id':_0x11b432(0xf4)},{'label':_0x11b432(0xf7),'id':_0x11b432(0xd8)}]}]},{'id':_0x11b432(0xda),'title':_0x11b432(0xdf),'description':_0x11b432(0xd2),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x11b432(0xe2),'label':_0x11b432(0xd1),'argsKey':_0x11b432(0xd7),'data':[{'label':_0x11b432(0xea),'id':_0x11b432(0xcf)},{'label':_0x11b432(0xd0),'id':_0x11b432(0xe7)},{'label':_0x11b432(0xf0),'id':_0x11b432(0xed)},{'label':_0x11b432(0xcb),'id':_0x11b432(0xd4)},{'label':_0x11b432(0xe1),'id':_0x11b432(0xd3)},{'label':_0x11b432(0xf9),'id':_0x11b432(0xe0)},{'label':_0x11b432(0xd5),'id':_0x11b432(0xca)},{'label':_0x11b432(0xf2),'id':_0x11b432(0xf5)},{'label':_0x11b432(0xcc),'id':_0x11b432(0xc7)},{'label':_0x11b432(0xff),'id':_0x11b432(0x104)}]}]}];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x290514=_0x59b8;function _0x1d83(){var _0xb1c445=['5165060dwtDBZ','isOfficialPlugin','11950ufpiZZ','3260168XeMGKx','17pptpem','requires','AIReviewMode','7216143svXOcO','1085PUgEzR','pluginName','130922XUaqwA','isPremiumPlugin','625440NuMWOS','44904JhIeeM','20aRxtdK','7011NrVhbg'];_0x1d83=function(){return _0xb1c445;};return _0x1d83();}(function(_0x5378a3,_0x21d3fb){var _0x5d1f78=_0x59b8,_0x4d1132=_0x5378a3();while(!![]){try{var _0x5078f4=-parseInt(_0x5d1f78(0x79))/0x1*(-parseInt(_0x5d1f78(0x6f))/0x2)+-parseInt(_0x5d1f78(0x71))/0x3*(-parseInt(_0x5d1f78(0x73))/0x4)+-parseInt(_0x5d1f78(0x75))/0x5+parseInt(_0x5d1f78(0x72))/0x6*(-parseInt(_0x5d1f78(0x6d))/0x7)+parseInt(_0x5d1f78(0x78))/0x8+-parseInt(_0x5d1f78(0x74))/0x9*(-parseInt(_0x5d1f78(0x77))/0xa)+-parseInt(_0x5d1f78(0x6c))/0xb;if(_0x5078f4===_0x21d3fb)break;else _0x4d1132['push'](_0x4d1132['shift']());}catch(_0x534449){_0x4d1132['push'](_0x4d1132['shift']());}}}(_0x1d83,0x9d60a));import{ContextPlugin as _0x1bf58f}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x16abce}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x2041fb}from'./aireviewmodeui.js';function _0x59b8(_0x217224,_0x111cb0){var _0x1d83d7=_0x1d83();return _0x59b8=function(_0x59b8b0,_0x30626f){_0x59b8b0=_0x59b8b0-0x6b;var _0x46c0c7=_0x1d83d7[_0x59b8b0];return _0x46c0c7;},_0x59b8(_0x217224,_0x111cb0);}import{AIReviewModeEditing as _0x273c78}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x1bf58f{static get[_0x290514(0x7a)](){return[_0x16abce,_0x2041fb,_0x273c78];}static get[_0x290514(0x6e)](){var _0x5567a3=_0x290514;return _0x5567a3(0x6b);}static get[_0x290514(0x76)](){return!0x0;}static get[_0x290514(0x70)](){return!0x0;}}
23
+ var _0x297b82=_0x4011;function _0x4011(_0x1423fc,_0x58e137){var _0x3aec99=_0x3aec();return _0x4011=function(_0x40112b,_0x3cf9d3){_0x40112b=_0x40112b-0x12c;var _0x2d717a=_0x3aec99[_0x40112b];return _0x2d717a;},_0x4011(_0x1423fc,_0x58e137);}function _0x3aec(){var _0x383b6c=['isPremiumPlugin','pluginName','1694638byuMJA','5947716yFcCYD','911120eRCbof','isOfficialPlugin','944RCoCVw','3jNxOuR','20UkkGZz','16924Gnysgx','requires','748993oCQiUF','12EpsGUU','7065YeXlPo','117566QSXIZm','57SrvokC','AIReviewMode'];_0x3aec=function(){return _0x383b6c;};return _0x3aec();}(function(_0x1a5768,_0x4a2895){var _0x1b1eeb=_0x4011,_0x26eff5=_0x1a5768();while(!![]){try{var _0x21bc14=parseInt(_0x1b1eeb(0x13a))/0x1*(-parseInt(_0x1b1eeb(0x130))/0x2)+parseInt(_0x1b1eeb(0x131))/0x3*(-parseInt(_0x1b1eeb(0x13c))/0x4)+parseInt(_0x1b1eeb(0x137))/0x5*(-parseInt(_0x1b1eeb(0x12e))/0x6)+parseInt(_0x1b1eeb(0x12d))/0x7+-parseInt(_0x1b1eeb(0x139))/0x8*(parseInt(_0x1b1eeb(0x12f))/0x9)+parseInt(_0x1b1eeb(0x13b))/0xa*(parseInt(_0x1b1eeb(0x135))/0xb)+parseInt(_0x1b1eeb(0x136))/0xc;if(_0x21bc14===_0x4a2895)break;else _0x26eff5['push'](_0x26eff5['shift']());}catch(_0xc4ceb5){_0x26eff5['push'](_0x26eff5['shift']());}}}(_0x3aec,0x3014e));import{ContextPlugin as _0x21ab47}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x4d8e67}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x5ce842}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x3f373a}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x21ab47{static get[_0x297b82(0x12c)](){return[_0x4d8e67,_0x5ce842,_0x3f373a];}static get[_0x297b82(0x134)](){var _0x1e0160=_0x297b82;return _0x1e0160(0x132);}static get[_0x297b82(0x138)](){return!0x0;}static get[_0x297b82(0x133)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1aa025=_0x4b83;(function(_0x567f0e,_0x4c7e7b){const _0x56c5dd=_0x4b83,_0x225d5d=_0x567f0e();while(!![]){try{const _0x4741a3=-parseInt(_0x56c5dd(0x174))/0x1*(parseInt(_0x56c5dd(0x208))/0x2)+-parseInt(_0x56c5dd(0x1e9))/0x3+parseInt(_0x56c5dd(0x187))/0x4*(parseInt(_0x56c5dd(0x193))/0x5)+parseInt(_0x56c5dd(0x18f))/0x6+-parseInt(_0x56c5dd(0x16d))/0x7+parseInt(_0x56c5dd(0x173))/0x8*(-parseInt(_0x56c5dd(0x1f4))/0x9)+parseInt(_0x56c5dd(0x1ff))/0xa;if(_0x4741a3===_0x4c7e7b)break;else _0x225d5d['push'](_0x225d5d['shift']());}catch(_0x13cf3a){_0x225d5d['push'](_0x225d5d['shift']());}}}(_0x281f,0x3e690));import{ContextPlugin as _0x494ec3}from'ckeditor5/src/core.js';import{CKEditorError as _0x41f3db,logError as _0x23d9db,scrollAncestorsToShowTarget as _0xe6cbf3,scrollViewportToShowTarget as _0x37398f}from'ckeditor5/src/utils.js';import{AIConnector as _0x295a15}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x31b34f}from'./model/aireviewchecklist.js';function _0x4b83(_0x54f720,_0x372184){const _0x281f92=_0x281f();return _0x4b83=function(_0x4b83f7,_0x34b6c1){_0x4b83f7=_0x4b83f7-0x165;let _0x5bacb5=_0x281f92[_0x4b83f7];return _0x5bacb5;},_0x4b83(_0x54f720,_0x372184);}import{AIReviewSystemCheckRun as _0x2a0637}from'./model/aireviewsystemcheckrun.js';function _0x281f(){const _0x13d860=['abortReviewStream','_aiReviewModeUi','activateChange','result','finished','getCheckById','length','ai-review-mode-check-run-chunk-error','removeClass','acceptAllChanges','_currentReviewCheckRun','applyChange','AIReviewModeController','change','editing','ai-request-aborted','_DESCRIPTION','prompt','locale','title','238896iRCIiv','label','AIReviewModeEditing','addClass','requires','ck-ai-review-mode-diff','.ck-ai-review-mode__check-run-result','ai-review-mode-no-current-check-run','description','deactivateChange','reviewCheckResultAdded','932013GsnPYS','changeMarkerClick','addResultChanges','getEditor','getAll','context','ai-review-mode-check-run-failed','setAvailableChecks','error-chunk','toUpperCase','domElement','4725400wLSQBz','reviewCheckResultDeactivated','source','_onDiffChange','pluginName','contentNew','reviewCheckResultActivated','AIConnector','model','3056EVEFrH','_aiReviewModeEditing','emitter','showReviewCompletedView','message','aborted','setCheckResultTitle','markChangeAsRejected','closest','options','documentData','_OPTIONS_DATA_','showChunkErrorView','custom','showGeneralErrorView','_aiReviewCheckList','1751358IOqSPV','markChangePositionInEditorContent','data','acceptChange','diffContent','_isDiffOn','16fPWzMY','237WnrMmn','_logError','contentInitial','runReviewCheck','stopListening','dismissChange','getRoot','changes','showNoChangesView','reviewCheckRunUpdated','getReviewCheckList','showCheckRunResults','listenTo','isCustom','getChangeElement','reviewCheckResultChangeStatusUpdated','models','markChangeAsAccepted','abort','4zaZJmG','changeMarkerRestored','_aiConnector','switchToReadOnly','includes','ready','config','_changeActivationSource','3055926wIplEH','leaveReviewMode','replaceAll','_onReviewModeRunLeave','864235yjzpAJ','processedResultsCount','AI_REVIEW_CHECK_','panel','getDocumentData','currentError','ai-review-mode-check-run-general-error','getActiveChanges','ck-ai-review-mode-highlights','AIReviewModeUI','forceReadyState','changeMarkerRemoved','setActiveStateInResults','map','loading','find','ai-review-mode-source-check-not-found','status','reviewCheckResultReady','isPremiumPlugin','showReviewCheckList','init','subTitle','unmodified','isChangeActive','hideDiffInBalloon','retryReview','switchToEdit','restart','_TITLE','content','document','rejectChange','markChangeAsOutdated','hasModifications','_getTranslationWithDefault','resetActiveStateInResults','showDiffInBalloon','hideChangeBalloon','sendRating','start','updateChangeState','showActionsWhenResultIsReady','get','translate','markChangeAsPending','params','error-general','toggleDiff','showCheckRunResult','markAllChangesAsAccepted','clearAllMarkers','checks','getMarkerElementForChange','changeId','showChangeBalloon','finishReview','view','args','AI_MODEL_DESCRIPTION_','plugins','leaveReviewModeResultList','ai.reviewMode.translations','_OPTIONS_LABEL','_translateReviewChecks','isOfficialPlugin'];_0x281f=function(){return _0x13d860;};return _0x281f();}import{AIReviewCustomCheckRun as _0x28a381}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x572835}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x5144b0}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x460d6a}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x494ec3{[_0x1aa025(0x189)];[_0x1aa025(0x1d6)];[_0x1aa025(0x209)];[_0x1aa025(0x16c)];[_0x1aa025(0x1df)];[_0x1aa025(0x172)]=!0x1;[_0x1aa025(0x18e)]=null;static get[_0x1aa025(0x1ed)](){return[_0x295a15];}static get[_0x1aa025(0x203)](){const _0x21cee4=_0x1aa025;return _0x21cee4(0x1e1);}static get[_0x1aa025(0x1d4)](){return!0x0;}static get[_0x1aa025(0x1a6)](){return!0x0;}async[_0x1aa025(0x1a8)](){const _0x59e6c8=_0x1aa025;this[_0x59e6c8(0x189)]=this[_0x59e6c8(0x1f9)][_0x59e6c8(0x1cf)][_0x59e6c8(0x1be)](_0x59e6c8(0x206)),this[_0x59e6c8(0x1d6)]=this[_0x59e6c8(0x1f9)][_0x59e6c8(0x1cf)][_0x59e6c8(0x1be)](_0x59e6c8(0x19c)),this[_0x59e6c8(0x209)]=this[_0x59e6c8(0x1f9)][_0x59e6c8(0x1cf)][_0x59e6c8(0x1be)](_0x59e6c8(0x1eb));const _0x136cfd=this[_0x59e6c8(0x1f9)][_0x59e6c8(0x18d)][_0x59e6c8(0x1be)](_0x59e6c8(0x1d1));if(_0x136cfd){for(const _0x3a863d of _0x5144b0)_0x59e6c8(0x1bf)===_0x3a863d['id']&&(_0x3a863d[_0x59e6c8(0x166)][0x0][_0x59e6c8(0x16f)]=_0x136cfd);}const _0x3a906b=this[_0x59e6c8(0x1d3)](_0x5144b0);this[_0x59e6c8(0x16c)]=new _0x31b34f(_0x3a906b);const _0x22dd16=this[_0x59e6c8(0x16c)][_0x59e6c8(0x1c7)][_0x59e6c8(0x1a2)](_0x1ed798=>_0x59e6c8(0x16a)===_0x1ed798['id']);if(_0x22dd16){const _0x400d09=await new _0x572835({'connector':this[_0x59e6c8(0x189)]})[_0x59e6c8(0x1f8)]();_0x22dd16[_0x59e6c8(0x184)]=_0x400d09[_0x59e6c8(0x1a0)](_0x4e98d9=>({..._0x4e98d9,'description':this[_0x59e6c8(0x1b6)](_0x59e6c8(0x1ce)+_0x4e98d9['id'][_0x59e6c8(0x1fd)](),_0x4e98d9[_0x59e6c8(0x1f1)])}));}this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x17e),()=>{const _0xc89e26=_0x59e6c8;this[_0xc89e26(0x1d6)][_0xc89e26(0x1fb)](this[_0xc89e26(0x16c)][_0xc89e26(0x1c7)]);}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x177),async(_0xb0479e,_0x559411)=>{const _0x56c73f=_0x59e6c8,_0x4ba7cb=this[_0x56c73f(0x16c)][_0x56c73f(0x1da)](_0x559411['id']);if(_0x4ba7cb){this[_0x56c73f(0x202)](this[_0x56c73f(0x172)]),_0x559411[_0x56c73f(0x181)]?this[_0x56c73f(0x1df)]=new _0x28a381(_0x559411[_0x56c73f(0x1cd)][_0x56c73f(0x1e6)],_0x559411[_0x56c73f(0x1cd)][_0x56c73f(0x207)],this[_0x56c73f(0x209)][_0x56c73f(0x197)](),_0x4ba7cb,this[_0x56c73f(0x189)]):this[_0x56c73f(0x1df)]=new _0x2a0637(this[_0x56c73f(0x209)][_0x56c73f(0x197)](),_0x4ba7cb,this[_0x56c73f(0x189)],_0x559411[_0x56c73f(0x1c1)],_0x559411[_0x56c73f(0x1cd)]),this[_0x56c73f(0x1d6)][_0x56c73f(0x20e)](this[_0x56c73f(0x1df)][_0x56c73f(0x1e8)],this[_0x56c73f(0x1df)][_0x56c73f(0x1a9)]),this[_0x56c73f(0x1df)]['on'](_0x56c73f(0x17d),(_0x1fb39b,_0x39abce)=>{const _0x2e4039=_0x56c73f;_0x2e4039(0x16f)===_0x39abce[_0x2e4039(0x1a4)]||_0x2e4039(0x1a1)===_0x39abce[_0x2e4039(0x1a4)]?(this[_0x2e4039(0x209)][_0x2e4039(0x18a)](),this[_0x2e4039(0x1d6)][_0x2e4039(0x17f)](_0x39abce)):_0x2e4039(0x1d9)===_0x39abce[_0x2e4039(0x1a4)]?this[_0x2e4039(0x1d6)][_0x2e4039(0x20b)]():_0x2e4039(0x18c)===_0x39abce[_0x2e4039(0x1a4)]?this[_0x2e4039(0x1d6)][_0x2e4039(0x1bd)]():_0x2e4039(0x1aa)===_0x39abce[_0x2e4039(0x1a4)]?this[_0x2e4039(0x1d6)][_0x2e4039(0x17c)]():_0x2e4039(0x1c2)===_0x39abce[_0x2e4039(0x1a4)]?(this[_0x2e4039(0x1d6)][_0x2e4039(0x16b)](),this[_0x2e4039(0x175)](new _0x41f3db(_0x2e4039(0x199),this,this[_0x2e4039(0x1df)]?.[_0x2e4039(0x198)]))):_0x2e4039(0x1fc)===_0x39abce[_0x2e4039(0x1a4)]?(this[_0x2e4039(0x1d6)][_0x2e4039(0x169)](),this[_0x2e4039(0x175)](new _0x41f3db(_0x2e4039(0x1dc),this,this[_0x2e4039(0x1df)]?.[_0x2e4039(0x198)]))):_0x2e4039(0x20d)===_0x39abce[_0x2e4039(0x1a4)]&&(this[_0x2e4039(0x1df)]&&this[_0x2e4039(0x1df)][_0x2e4039(0x194)]>0x0?setTimeout(()=>{const _0x419145=_0x2e4039;this[_0x419145(0x1df)]?.[_0x419145(0x19d)]();},0x0):this[_0x2e4039(0x192)](!0x0)),_0x2e4039(0x18c)!==_0x39abce[_0x2e4039(0x1a4)]&&_0x2e4039(0x1fc)!==_0x39abce[_0x2e4039(0x1a4)]&&_0x2e4039(0x1c2)!==_0x39abce[_0x2e4039(0x1a4)]||this[_0x2e4039(0x1df)]?.[_0x2e4039(0x1ba)]();}),this[_0x56c73f(0x1df)]['on'](_0x56c73f(0x1f3),(_0x2381e5,_0x5b2583)=>{const _0x1de109=_0x56c73f;if(!this[_0x1de109(0x1df)])throw new _0x41f3db(_0x1de109(0x1f0),this);const _0x48eeda=this[_0x1de109(0x209)][_0x1de109(0x171)](_0x5b2583[_0x1de109(0x1d8)][_0x1de109(0x176)],_0x5b2583[_0x1de109(0x1d8)][_0x1de109(0x204)]);_0x5b2583[_0x1de109(0x201)][_0x1de109(0x1f6)](_0x5b2583[_0x1de109(0x1d8)]['id'],_0x48eeda);}),this[_0x56c73f(0x1df)]['on'](_0x56c73f(0x1a5),(_0x351f1b,_0x778abb)=>{const _0x89fc8d=_0x56c73f;for(const _0x4a12d8 of _0x778abb[_0x89fc8d(0x17b)])this[_0x89fc8d(0x1d6)][_0x89fc8d(0x1c4)](_0x4a12d8);this[_0x89fc8d(0x209)][_0x89fc8d(0x16e)](_0x778abb[_0x89fc8d(0x17b)],_0x778abb[_0x89fc8d(0x201)][_0x89fc8d(0x167)]);}),this[_0x56c73f(0x1df)]['on'](_0x56c73f(0x183),(_0x14accd,_0xf5d1c)=>{const _0x29bc5d=_0x56c73f;this[_0x29bc5d(0x1d6)][_0x29bc5d(0x1bc)](_0xf5d1c[_0x29bc5d(0x1e2)]['id'],_0xf5d1c[_0x29bc5d(0x1a4)]);}),this[_0x56c73f(0x1df)]['on'](_0x56c73f(0x205),(_0x309b31,_0x213e0a)=>{const _0x10f55f=_0x56c73f;this[_0x10f55f(0x1d6)][_0x10f55f(0x19f)](_0x213e0a[_0x10f55f(0x1e2)]['id']);const _0x37f236=this[_0x10f55f(0x209)][_0x10f55f(0x1c8)](_0x213e0a[_0x10f55f(0x1e2)]['id']);if(_0x37f236){if(_0x10f55f(0x1b1)===this[_0x10f55f(0x18e)]){const _0x4accee=this[_0x10f55f(0x1d6)][_0x10f55f(0x182)](_0x213e0a[_0x10f55f(0x1e2)]['id']);_0x4accee&&_0xe6cbf3(_0x4accee[_0x10f55f(0x165)](_0x10f55f(0x1ef))||_0x4accee);}else{if(_0x10f55f(0x196)===this[_0x10f55f(0x18e)]){const _0x468e01={'target':_0x37f236[_0x10f55f(0x1fe)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x37398f(_0x468e01);}}this[_0x10f55f(0x1d6)][_0x10f55f(0x1ca)](_0x213e0a[_0x10f55f(0x1e2)],_0x37f236[_0x10f55f(0x1fe)]);}}),this[_0x56c73f(0x1df)]['on'](_0x56c73f(0x200),()=>{const _0xdbd698=_0x56c73f;this[_0xdbd698(0x1d6)][_0xdbd698(0x1b7)](),this[_0xdbd698(0x1d6)][_0xdbd698(0x1b9)]();});try{await this[_0x56c73f(0x1df)][_0x56c73f(0x1bb)]();}catch(_0x5d3909){_0x5d3909 instanceof Error&&_0x5d3909[_0x56c73f(0x20c)][_0x56c73f(0x18b)](_0x56c73f(0x1e4))||(_0x5d3909 instanceof _0x41f3db?this[_0x56c73f(0x175)](_0x5d3909):this[_0x56c73f(0x175)](new _0x41f3db(_0x56c73f(0x1fa),this,{'error':_0x5d3909})));}}else this[_0x56c73f(0x175)](new _0x41f3db(_0x56c73f(0x1a3),this,{'checkId':_0x559411['id']}));}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x190),()=>{const _0x14111b=_0x59e6c8;this[_0x14111b(0x192)]();}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1d0),()=>{const _0x1d493d=_0x59e6c8;this[_0x1d493d(0x192)](!0x0);}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1d5),()=>{const _0x8feb08=_0x59e6c8;this[_0x8feb08(0x1df)]&&this[_0x8feb08(0x1df)][_0x8feb08(0x186)]();}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1cb),()=>{const _0x3a5d8c=_0x59e6c8;this[_0x3a5d8c(0x192)](!0x0);}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1de),()=>{const _0x1afb98=_0x59e6c8;if(!this[_0x1afb98(0x1df)])return;const _0x27d6f7=this[_0x1afb98(0x1df)][_0x1afb98(0x19a)]();_0x27d6f7[_0x1afb98(0x1db)]&&(this[_0x1afb98(0x209)][_0x1afb98(0x1e0)](_0x27d6f7[_0x1afb98(0x1a0)](_0x5bf972=>_0x5bf972['id'])),this[_0x1afb98(0x1df)][_0x1afb98(0x1c5)](),this[_0x1afb98(0x1df)][_0x1afb98(0x1ba)]());}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x170),(_0x55c8f5,_0x517f83)=>{const _0x4ab0c9=_0x59e6c8;this[_0x4ab0c9(0x1df)]&&this[_0x4ab0c9(0x1df)][_0x4ab0c9(0x1ab)](_0x517f83['id'])&&(this[_0x4ab0c9(0x209)][_0x4ab0c9(0x1e0)]([_0x517f83['id']]),this[_0x4ab0c9(0x1df)][_0x4ab0c9(0x185)](_0x517f83['id']),this[_0x4ab0c9(0x1d6)][_0x4ab0c9(0x1b9)](),this[_0x4ab0c9(0x1df)][_0x4ab0c9(0x1ba)](_0x517f83['id']));}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x179),(_0x3b70e3,_0xa1616d)=>{const _0x3eac5f=_0x59e6c8;this[_0x3eac5f(0x1df)]&&this[_0x3eac5f(0x1df)][_0x3eac5f(0x1ab)](_0xa1616d['id'])&&(this[_0x3eac5f(0x209)][_0x3eac5f(0x1b3)](_0xa1616d['id']),this[_0x3eac5f(0x1df)][_0x3eac5f(0x20f)](_0xa1616d['id']),this[_0x3eac5f(0x1d6)][_0x3eac5f(0x1b9)](),this[_0x3eac5f(0x1df)][_0x3eac5f(0x1ba)](_0xa1616d['id']));}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1c3),(_0x23ebc8,_0x1bdab3)=>{const _0x28216e=_0x59e6c8;this[_0x28216e(0x172)]=_0x1bdab3['on'],this[_0x28216e(0x202)](this[_0x28216e(0x172)]);}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1ad),async()=>{const _0x4ca516=_0x59e6c8;this[_0x4ca516(0x1df)]&&await this[_0x4ca516(0x1df)][_0x4ca516(0x1af)]();}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1d7),(_0x2872c7,_0x20e5a5)=>{const _0x37fe5b=_0x59e6c8;this[_0x37fe5b(0x1df)]&&(this[_0x37fe5b(0x18e)]=_0x37fe5b(0x196),this[_0x37fe5b(0x1df)][_0x37fe5b(0x1d7)](_0x20e5a5['id']));}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x1d6)],_0x59e6c8(0x1f2),()=>{const _0x534eee=_0x59e6c8;this[_0x534eee(0x1df)]&&this[_0x534eee(0x1df)][_0x534eee(0x1f2)]();}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x209)][_0x59e6c8(0x20a)],_0x59e6c8(0x1f5),(_0x4e74f9,_0x22edbc)=>{const _0xbad6ef=_0x59e6c8;this[_0xbad6ef(0x1df)]&&(this[_0xbad6ef(0x18e)]=_0xbad6ef(0x1b1),this[_0xbad6ef(0x1df)][_0xbad6ef(0x1d7)](_0x22edbc[_0xbad6ef(0x1c9)]));}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x209)][_0x59e6c8(0x20a)],_0x59e6c8(0x19e),(_0x43a96a,_0x1fd9cb)=>{const _0x5a1730=_0x59e6c8;this[_0x5a1730(0x1df)]&&this[_0x5a1730(0x1df)][_0x5a1730(0x1b4)](_0x1fd9cb[_0x5a1730(0x1c9)]);}),this[_0x59e6c8(0x180)](this[_0x59e6c8(0x209)][_0x59e6c8(0x20a)],_0x59e6c8(0x188),(_0x586054,_0x4514bb)=>{const _0x46e9b7=_0x59e6c8;this[_0x46e9b7(0x1df)]&&this[_0x46e9b7(0x1df)][_0x46e9b7(0x1c0)](_0x4514bb[_0x46e9b7(0x1c9)]);});}[_0x1aa025(0x192)](_0x1290b9=!0x1){const _0xc1aa35=_0x1aa025;this[_0xc1aa35(0x1df)]&&(this[_0xc1aa35(0x1df)][_0xc1aa35(0x1b5)]||this[_0xc1aa35(0x1df)][_0xc1aa35(0x1ba)](),this[_0xc1aa35(0x1df)][_0xc1aa35(0x178)](),this[_0xc1aa35(0x1df)][_0xc1aa35(0x186)](),this[_0xc1aa35(0x1df)]=void 0x0),_0x1290b9&&this[_0xc1aa35(0x1d6)][_0xc1aa35(0x1a7)](),this[_0xc1aa35(0x209)][_0xc1aa35(0x1c6)](),this[_0xc1aa35(0x209)][_0xc1aa35(0x1ae)](),this[_0xc1aa35(0x18e)]=null;const _0x8c8c18=this[_0xc1aa35(0x209)][_0xc1aa35(0x1f7)]();_0x8c8c18&&_0x8c8c18[_0xc1aa35(0x1e3)][_0xc1aa35(0x1cc)][_0xc1aa35(0x1e2)](_0x2c6d0b=>{const _0x4f4394=_0xc1aa35,_0x34ac7f=_0x8c8c18[_0x4f4394(0x1e3)][_0x4f4394(0x1cc)][_0x4f4394(0x1b2)][_0x4f4394(0x17a)]();_0x2c6d0b[_0x4f4394(0x1dd)](_0x4f4394(0x1ee),_0x34ac7f),_0x2c6d0b[_0x4f4394(0x1dd)](_0x4f4394(0x19b),_0x34ac7f);});}[_0x1aa025(0x202)](_0x4798e8){const _0x5031a5=_0x1aa025,_0x2c4ba5=this[_0x5031a5(0x209)][_0x5031a5(0x1f7)]();_0x4798e8?this[_0x5031a5(0x1d6)][_0x5031a5(0x1ac)]():this[_0x5031a5(0x1d6)][_0x5031a5(0x1b8)](),_0x2c4ba5&&_0x2c4ba5[_0x5031a5(0x1e3)][_0x5031a5(0x1cc)][_0x5031a5(0x1e2)](_0x1ffa37=>{const _0x31127d=_0x5031a5,_0x47af30=_0x2c4ba5[_0x31127d(0x1e3)][_0x31127d(0x1cc)][_0x31127d(0x1b2)][_0x31127d(0x17a)]();_0x1ffa37[_0x31127d(0x1dd)](_0x31127d(0x1ee),_0x47af30),_0x1ffa37[_0x31127d(0x1dd)](_0x31127d(0x19b),_0x47af30),_0x1ffa37[_0x31127d(0x1ec)](_0x4798e8?_0x31127d(0x1ee):_0x31127d(0x19b),_0x47af30);});}[_0x1aa025(0x1d3)](_0x47ae49){const _0x4a6571=_0x1aa025;return _0x47ae49[_0x4a6571(0x1a0)](_0x5bafd8=>{const _0x3b36f3=_0x4a6571,_0x59845c=_0x3b36f3(0x195)+_0x5bafd8['id'][_0x3b36f3(0x1fd)]()[_0x3b36f3(0x191)]('-','_'),_0x421691={..._0x5bafd8,'title':this[_0x3b36f3(0x1b6)](_0x59845c+_0x3b36f3(0x1b0),_0x5bafd8[_0x3b36f3(0x1e8)]),'description':this[_0x3b36f3(0x1b6)](_0x59845c+_0x3b36f3(0x1e5),_0x5bafd8[_0x3b36f3(0x1f1)])};return _0x5bafd8[_0x3b36f3(0x166)]&&(_0x421691[_0x3b36f3(0x166)]=_0x5bafd8[_0x3b36f3(0x166)][_0x3b36f3(0x1a0)](_0x161b69=>({..._0x161b69,'label':this[_0x3b36f3(0x1b6)](_0x59845c+_0x3b36f3(0x1d2),_0x161b69[_0x3b36f3(0x1ea)]||''),'data':_0x161b69[_0x3b36f3(0x16f)]?_0x161b69[_0x3b36f3(0x16f)][_0x3b36f3(0x1a0)](_0x4e1a1f=>({..._0x4e1a1f,'label':this[_0x3b36f3(0x1b6)](_0x59845c+_0x3b36f3(0x168)+_0x4e1a1f['id'][_0x3b36f3(0x1fd)](),_0x4e1a1f[_0x3b36f3(0x1ea)])})):void 0x0}))),_0x421691;});}[_0x1aa025(0x1b6)](_0x2dd2db,_0x49df4d){const _0x3ea11a=_0x1aa025,_0xba1332=this[_0x3ea11a(0x1f9)][_0x3ea11a(0x1e7)],_0x34c842=_0x460d6a(_0xba1332,_0x2dd2db);return _0x34c842===_0x2dd2db?_0x49df4d:_0x34c842;}[_0x1aa025(0x175)](_0x2898b8){const _0x19dcda=_0x1aa025;_0x23d9db(_0x2898b8[_0x19dcda(0x20c)]),this[_0x19dcda(0x1d6)][_0x19dcda(0x16b)]();}}
23
+ const _0xbd60ae=_0x35da;function _0x35da(_0x8a2ffc,_0x499468){const _0xb485c3=_0xb485();return _0x35da=function(_0x35dae4,_0x4205ca){_0x35dae4=_0x35dae4-0x107;let _0x26231e=_0xb485c3[_0x35dae4];return _0x26231e;},_0x35da(_0x8a2ffc,_0x499468);}(function(_0x3be43b,_0x524e8d){const _0x158ecd=_0x35da,_0x48a911=_0x3be43b();while(!![]){try{const _0x220ae8=-parseInt(_0x158ecd(0x1a7))/0x1+-parseInt(_0x158ecd(0x166))/0x2+parseInt(_0x158ecd(0x1ab))/0x3+-parseInt(_0x158ecd(0x198))/0x4*(parseInt(_0x158ecd(0x168))/0x5)+parseInt(_0x158ecd(0x110))/0x6*(-parseInt(_0x158ecd(0x181))/0x7)+-parseInt(_0x158ecd(0x162))/0x8*(-parseInt(_0x158ecd(0x199))/0x9)+parseInt(_0x158ecd(0x145))/0xa*(parseInt(_0x158ecd(0x130))/0xb);if(_0x220ae8===_0x524e8d)break;else _0x48a911['push'](_0x48a911['shift']());}catch(_0x3ddd0f){_0x48a911['push'](_0x48a911['shift']());}}}(_0xb485,0xa5c6f));import{ContextPlugin as _0x9f7424}from'ckeditor5/src/core.js';import{CKEditorError as _0x25cd1c,logError as _0x15ff2d,scrollAncestorsToShowTarget as _0x2b014b,scrollViewportToShowTarget as _0x935a22}from'ckeditor5/src/utils.js';function _0xb485(){const _0x2dcbb4=['hideDiffInBalloon','closest','changeMarkerClick','forceReadyState','getReviewCheckList','getDocumentData','markChangeAsPending','activateChange','getRoot','reviewCheckResultReady','model','_onReviewModeRunLeave','switchToEdit','get','error-chunk','applyChange','showReviewCheckList','markChangeAsRejected','reviewCheckResultChangeStatusUpdated','.ck-ai-review-mode__check-run-result','_currentReviewCheckRun','56rPsKoH','showNoChangesView','_aiConnector','markChangeAsAccepted','1592240VwowQV','addResultChanges','490135WQzhQG','showChangeBalloon','setAvailableChecks','source','showDiffInBalloon','abort','markerElement','hideChangeBalloon','ai-review-mode-check-run-chunk-error','showCheckRunResults','toggleDiff','locale','context','showReviewCompletedView','_getTranslationWithDefault','prompt','isAnyChangeActivated','documentData','requires','change','leaveReviewMode','_isDiffOn','_aiReviewModeUi','finished','_logError','7KSsAUq','startsWith','_OPTIONS_DATA_','domElement','dismissChange','ai.reviewMode.translations','showCheckRunResult','AIConnector','translate','AIReviewModeController','ai-review-mode-models-unable-to-retrieve','checks','isChangeActive','reviewCheckRunUpdated','_DESCRIPTION','clearAllMarkers','_aiReviewCheckList','markAllChangesAsAccepted','getAll','currentError','_onDiffChange','sendRating','isOfficialPlugin','52naOiUv','1587807xBcuUw','data','retryReview','contentInitial','processedResultsCount','ai-review-mode-source-check-not-found','changeId','showGeneralResultsErrorView','restart','showActionsWhenResultIsReady','changes','find','reviewCheckResultActivated','setActiveStateInResults','186212AXRQaB','hasModifications','init','markChangeAsOutdated','3937650iSyuzZ','finishReview','abortReviewStream','leaveReviewModeResultList','subTitle','includes','_changeActivationSource','unmodified','updateDocumentData','contentNew','custom','AIReviewModeEditing','_OPTIONS_LABEL','click','diffContent','view','length','description','changeMarkerRemoved','getCheckById','setCheckResultTitle','removeCheckById','updateChangeState','document','content','start','domEvent','toUpperCase','map','viewportOffset','_aiReviewModeEditing','result','5560290BxJUPY','panel','addClass','args','isPremiumPlugin','models','error-general','reviewCheckResultAdded','switchToReadOnly','message','ai-review-mode-check-run-failed','showGeneralReviewModeErrorView','changeMarkerHovered','AI_MODEL_DESCRIPTION_','rejectChange','deactivateChange','title','loading','config','stopListening','getActiveChanges','ck-ai-review-mode-highlights','pluginName','ai-review-mode-no-current-check-run','ai-review-mode-check-run-general-error','getEditor','hover','runReviewCheck','label','params','replaceAll','showChunkErrorView','2892802UpTiTz','aborted','plugins','ai-request-aborted','changeMarkerBlurred','AIReviewModeUI','getChangeElement','editing','_translateReviewChecks','ready','AI_REVIEW_CHECK_','getChangeById','emitter','acceptAllChanges','getDomRoot','acceptChange','markChangePositionInEditorContent','isCustom','reviewCheckResultDeactivated','ck-ai-review-mode-diff','getMarkerElementForChange','50WgEuKP','changeMarkerRestored','status','resetActiveStateInResults','listenTo','removeClass','options','_TITLE'];_0xb485=function(){return _0x2dcbb4;};return _0xb485();}import{AIConnector as _0x361ccd}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x3fe93b}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x34324c}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x1e490e}from'./model/aireviewcustomcheckrun.js';import{AIModels as _0x51b461}from'../aicore/model/aimodels.js';import{AI_REVIEW_CHECKS as _0x709d11}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x3a3218}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x9f7424{[_0xbd60ae(0x164)];[_0xbd60ae(0x17e)];[_0xbd60ae(0x10e)];[_0xbd60ae(0x191)];[_0xbd60ae(0x161)];[_0xbd60ae(0x17d)]=!0x1;[_0xbd60ae(0x1b1)]=null;static get[_0xbd60ae(0x17a)](){return[_0x361ccd];}static get[_0xbd60ae(0x126)](){const _0x20e8f7=_0xbd60ae;return _0x20e8f7(0x18a);}static get[_0xbd60ae(0x197)](){return!0x0;}static get[_0xbd60ae(0x114)](){return!0x0;}async[_0xbd60ae(0x1a9)](){const _0x5d1455=_0xbd60ae;this[_0x5d1455(0x164)]=this[_0x5d1455(0x174)][_0x5d1455(0x132)][_0x5d1455(0x15a)](_0x5d1455(0x188)),this[_0x5d1455(0x17e)]=this[_0x5d1455(0x174)][_0x5d1455(0x132)][_0x5d1455(0x15a)](_0x5d1455(0x135)),this[_0x5d1455(0x10e)]=this[_0x5d1455(0x174)][_0x5d1455(0x132)][_0x5d1455(0x15a)](_0x5d1455(0x1b6));const _0x1aac4a=this[_0x5d1455(0x174)][_0x5d1455(0x122)][_0x5d1455(0x15a)](_0x5d1455(0x186));if(_0x1aac4a){for(const _0x155e6d of _0x709d11)_0x5d1455(0x189)===_0x155e6d['id']&&(_0x155e6d[_0x5d1455(0x14b)][0x0][_0x5d1455(0x19a)]=_0x1aac4a);}const _0x25baf1=this[_0x5d1455(0x138)](_0x709d11);this[_0x5d1455(0x191)]=new _0x3fe93b(_0x25baf1);const _0x489a48=this[_0x5d1455(0x191)][_0x5d1455(0x18c)][_0x5d1455(0x1a4)](_0x26226e=>_0x5d1455(0x1b5)===_0x26226e['id']);if(_0x489a48)try{const _0x584438=await new _0x51b461({'connector':this[_0x5d1455(0x164)]})[_0x5d1455(0x193)]();_0x489a48[_0x5d1455(0x115)]=_0x584438[_0x5d1455(0x10c)](_0x865a68=>({..._0x865a68,'description':this[_0x5d1455(0x176)](_0x5d1455(0x11d)+_0x865a68['id'][_0x5d1455(0x10b)](),_0x865a68[_0x5d1455(0x1bc)])}));}catch(_0x10eb6f){this[_0x5d1455(0x191)][_0x5d1455(0x1c0)](_0x5d1455(0x1b5)),this[_0x5d1455(0x180)](new _0x25cd1c(_0x5d1455(0x18b),this,{'error':_0x10eb6f}));}this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x151),()=>{const _0x402763=_0x5d1455;this[_0x402763(0x17e)][_0x402763(0x16a)](this[_0x402763(0x191)][_0x402763(0x18c)]);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x12b),async(_0x3db480,_0xba6f97)=>{const _0x3ef4c4=_0x5d1455,_0x260a2b=this[_0x3ef4c4(0x191)][_0x3ef4c4(0x1be)](_0xba6f97['id']);if(_0x260a2b){this[_0x3ef4c4(0x195)](this[_0x3ef4c4(0x17d)]),_0xba6f97[_0x3ef4c4(0x141)]?this[_0x3ef4c4(0x161)]=new _0x1e490e(_0xba6f97[_0x3ef4c4(0x113)][_0x3ef4c4(0x177)],_0xba6f97[_0x3ef4c4(0x113)][_0x3ef4c4(0x157)],this[_0x3ef4c4(0x10e)][_0x3ef4c4(0x152)](),_0x260a2b,this[_0x3ef4c4(0x164)]):this[_0x3ef4c4(0x161)]=new _0x34324c(this[_0x3ef4c4(0x10e)][_0x3ef4c4(0x152)](),_0x260a2b,this[_0x3ef4c4(0x164)],_0xba6f97[_0x3ef4c4(0x12d)],_0xba6f97[_0x3ef4c4(0x113)]),this[_0x3ef4c4(0x17e)][_0x3ef4c4(0x1bf)](this[_0x3ef4c4(0x161)][_0x3ef4c4(0x120)],this[_0x3ef4c4(0x161)][_0x3ef4c4(0x1af)]),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x18e),(_0x5caeb4,_0x49c10e)=>{const _0x1324db=_0x3ef4c4;_0x1324db(0x19a)===_0x49c10e[_0x1324db(0x147)]||_0x1324db(0x121)===_0x49c10e[_0x1324db(0x147)]?(this[_0x1324db(0x10e)][_0x1324db(0x118)](),this[_0x1324db(0x17e)][_0x1324db(0x171)](_0x49c10e)):_0x1324db(0x17f)===_0x49c10e[_0x1324db(0x147)]?this[_0x1324db(0x17e)][_0x1324db(0x175)]():_0x1324db(0x139)===_0x49c10e[_0x1324db(0x147)]?this[_0x1324db(0x17e)][_0x1324db(0x1a2)]():_0x1324db(0x1b2)===_0x49c10e[_0x1324db(0x147)]?this[_0x1324db(0x17e)][_0x1324db(0x163)]():_0x1324db(0x116)===_0x49c10e[_0x1324db(0x147)]?(this[_0x1324db(0x17e)][_0x1324db(0x1a0)](),this[_0x1324db(0x180)](new _0x25cd1c(_0x1324db(0x128),this,this[_0x1324db(0x161)]?.[_0x1324db(0x194)]))):_0x1324db(0x15b)===_0x49c10e[_0x1324db(0x147)]?(this[_0x1324db(0x17e)][_0x1324db(0x12f)](),this[_0x1324db(0x180)](new _0x25cd1c(_0x1324db(0x170),this,this[_0x1324db(0x161)]?.[_0x1324db(0x194)]))):_0x1324db(0x131)===_0x49c10e[_0x1324db(0x147)]&&(this[_0x1324db(0x161)]&&this[_0x1324db(0x161)][_0x1324db(0x19d)]>0x0?setTimeout(()=>{const _0xb1adce=_0x1324db;this[_0xb1adce(0x161)]?.[_0xb1adce(0x150)]();},0x0):this[_0x1324db(0x158)](!0x0)),_0x1324db(0x139)!==_0x49c10e[_0x1324db(0x147)]&&_0x1324db(0x15b)!==_0x49c10e[_0x1324db(0x147)]&&_0x1324db(0x116)!==_0x49c10e[_0x1324db(0x147)]||this[_0x1324db(0x161)]?.[_0x1324db(0x196)]();}),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x117),(_0x5ddf2b,_0x2c005f)=>{const _0xa6f683=_0x3ef4c4;if(!this[_0xa6f683(0x161)])throw new _0x25cd1c(_0xa6f683(0x127),this);const _0x451873=this[_0xa6f683(0x10e)][_0xa6f683(0x1b9)](_0x2c005f[_0xa6f683(0x10f)][_0xa6f683(0x19c)],_0x2c005f[_0xa6f683(0x10f)][_0xa6f683(0x1b4)]);_0x2c005f[_0xa6f683(0x16b)][_0xa6f683(0x167)](_0x2c005f[_0xa6f683(0x10f)]['id'],_0x451873);}),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x156),(_0x45fa72,_0x23dc21)=>{const _0x483ad8=_0x3ef4c4;for(const _0x760f32 of _0x23dc21[_0x483ad8(0x1a3)])this[_0x483ad8(0x17e)][_0x483ad8(0x187)](_0x760f32);this[_0x483ad8(0x10e)][_0x483ad8(0x140)](_0x23dc21[_0x483ad8(0x1a3)],_0x23dc21[_0x483ad8(0x16b)][_0x483ad8(0x179)]);}),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x15f),(_0x2600a2,_0x1254fa)=>{const _0x4ecdbf=_0x3ef4c4;this[_0x4ecdbf(0x17e)][_0x4ecdbf(0x1c1)](_0x1254fa[_0x4ecdbf(0x17b)]['id'],_0x1254fa[_0x4ecdbf(0x147)]);}),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x1a5),(_0xb5febb,_0x154ecc)=>{const _0x541dfd=_0x3ef4c4;this[_0x541dfd(0x17e)][_0x541dfd(0x1a6)](_0x154ecc[_0x541dfd(0x17b)]['id']);const _0x165c8b=this[_0x541dfd(0x10e)][_0x541dfd(0x144)](_0x154ecc[_0x541dfd(0x17b)]['id']);if(!_0x165c8b)return;if(_0x541dfd(0x108)===this[_0x541dfd(0x1b1)]){const _0x59db4f=this[_0x541dfd(0x17e)][_0x541dfd(0x136)](_0x154ecc[_0x541dfd(0x17b)]['id']);_0x59db4f&&_0x2b014b(_0x59db4f[_0x541dfd(0x14e)](_0x541dfd(0x160))||_0x59db4f);}else{if(_0x541dfd(0x111)===this[_0x541dfd(0x1b1)]){const _0x2a636f={'target':_0x165c8b[_0x541dfd(0x184)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x935a22(_0x2a636f);}}const _0x13fa29=this[_0x541dfd(0x10e)][_0x541dfd(0x129)]();this[_0x541dfd(0x17e)][_0x541dfd(0x169)](_0x154ecc[_0x541dfd(0x17b)],_0x165c8b[_0x541dfd(0x184)],void 0x0,_0x541dfd(0x1b8),_0x13fa29?.[_0x541dfd(0x137)]?.[_0x541dfd(0x1ba)]?.[_0x541dfd(0x13e)](),_0x13fa29?.['ui']?.[_0x541dfd(0x10d)]);}),this[_0x3ef4c4(0x161)]['on'](_0x3ef4c4(0x142),()=>{const _0x23b933=_0x3ef4c4;this[_0x23b933(0x17e)][_0x23b933(0x148)](),this[_0x23b933(0x17e)][_0x23b933(0x16f)]();});try{await this[_0x3ef4c4(0x161)][_0x3ef4c4(0x109)]();}catch(_0x49e320){_0x49e320 instanceof Error&&_0x49e320[_0x3ef4c4(0x119)][_0x3ef4c4(0x1b0)](_0x3ef4c4(0x133))||(_0x49e320 instanceof _0x25cd1c?this[_0x3ef4c4(0x180)](_0x49e320):this[_0x3ef4c4(0x180)](new _0x25cd1c(_0x3ef4c4(0x11a),this,{'error':_0x49e320})));}}else this[_0x3ef4c4(0x180)](new _0x25cd1c(_0x3ef4c4(0x19e),this,{'checkId':_0xba6f97['id']}));}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x17c),()=>{const _0x472a61=_0x5d1455;this[_0x472a61(0x158)]();}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x1ae),()=>{const _0x323fbe=_0x5d1455;this[_0x323fbe(0x158)](!0x0);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x1ad),()=>{const _0x24c30a=_0x5d1455;this[_0x24c30a(0x161)]&&this[_0x24c30a(0x161)][_0x24c30a(0x16d)]();}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x1ac),()=>{const _0x18d4ef=_0x5d1455;this[_0x18d4ef(0x158)](!0x0);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x13d),()=>{const _0x5e9ccd=_0x5d1455;if(!this[_0x5e9ccd(0x161)])return;const _0x426e20=this[_0x5e9ccd(0x161)][_0x5e9ccd(0x124)]();_0x426e20[_0x5e9ccd(0x1bb)]&&(this[_0x5e9ccd(0x10e)][_0x5e9ccd(0x15c)](_0x426e20[_0x5e9ccd(0x10c)](_0x3056ff=>_0x3056ff['id'])),this[_0x5e9ccd(0x161)][_0x5e9ccd(0x192)](),this[_0x5e9ccd(0x161)][_0x5e9ccd(0x196)]());}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x13f),(_0x3f7f1f,_0x5189af)=>{const _0x34043c=_0x5d1455;this[_0x34043c(0x161)]&&this[_0x34043c(0x161)][_0x34043c(0x18d)](_0x5189af['id'])&&(this[_0x34043c(0x10e)][_0x34043c(0x15c)]([_0x5189af['id']]),this[_0x34043c(0x161)][_0x34043c(0x165)](_0x5189af['id']),this[_0x34043c(0x17e)][_0x34043c(0x16f)](),this[_0x34043c(0x161)][_0x34043c(0x196)](_0x5189af['id']));}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x185),(_0x2204b8,_0x2468d9)=>{const _0x53206e=_0x5d1455;this[_0x53206e(0x161)]&&this[_0x53206e(0x161)][_0x53206e(0x18d)](_0x2468d9['id'])&&(this[_0x53206e(0x10e)][_0x53206e(0x11e)](_0x2468d9['id']),this[_0x53206e(0x161)][_0x53206e(0x15e)](_0x2468d9['id']),this[_0x53206e(0x17e)][_0x53206e(0x16f)](),this[_0x53206e(0x161)][_0x53206e(0x196)](_0x2468d9['id']));}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x172),(_0x4d517b,_0x29361d)=>{const _0x4fd45a=_0x5d1455;this[_0x4fd45a(0x17d)]=_0x29361d['on'],this[_0x4fd45a(0x195)](this[_0x4fd45a(0x17d)]);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x19b),async()=>{const _0x3ec9a5=_0x5d1455;this[_0x3ec9a5(0x161)]&&(this[_0x3ec9a5(0x10e)][_0x3ec9a5(0x190)](),this[_0x3ec9a5(0x161)][_0x3ec9a5(0x1b3)](this[_0x3ec9a5(0x10e)][_0x3ec9a5(0x152)]()),await this[_0x3ec9a5(0x161)][_0x3ec9a5(0x1a1)]());}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x154),(_0x1c09eb,_0x243d30)=>{const _0x4145a5=_0x5d1455;this[_0x4145a5(0x161)]&&(this[_0x4145a5(0x1b1)]=_0x4145a5(0x111),this[_0x4145a5(0x161)][_0x4145a5(0x154)](_0x243d30['id']));}),this[_0x5d1455(0x149)](this[_0x5d1455(0x17e)],_0x5d1455(0x11f),()=>{const _0x4b4f49=_0x5d1455;this[_0x4b4f49(0x161)]&&this[_0x4b4f49(0x161)][_0x4b4f49(0x11f)]();}),this[_0x5d1455(0x149)](this[_0x5d1455(0x10e)][_0x5d1455(0x13c)],_0x5d1455(0x14f),(_0x4979bd,_0xf67292)=>{const _0x19fe23=_0x5d1455;if(!this[_0x19fe23(0x161)])return;this[_0x19fe23(0x1b1)]=_0x19fe23(0x108),this[_0x19fe23(0x161)][_0x19fe23(0x154)](_0xf67292[_0x19fe23(0x19f)]);const _0x1aba68=this[_0x19fe23(0x161)][_0x19fe23(0x13b)](_0xf67292[_0x19fe23(0x19f)]);if(!_0x1aba68)return;const _0x4770e4=this[_0x19fe23(0x10e)][_0x19fe23(0x129)]();this[_0x19fe23(0x17e)][_0x19fe23(0x169)](_0x1aba68,_0xf67292[_0x19fe23(0x16e)],_0xf67292[_0x19fe23(0x10a)],_0x19fe23(0x1b8),_0x4770e4?.[_0x19fe23(0x137)]?.[_0x19fe23(0x1ba)]?.[_0x19fe23(0x13e)](),_0x4770e4?.['ui']?.[_0x19fe23(0x10d)]);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x10e)][_0x5d1455(0x13c)],_0x5d1455(0x11c),(_0x33b4a0,_0x45a535)=>{const _0x502113=_0x5d1455;if(!this[_0x502113(0x161)])return;if(this[_0x502113(0x161)][_0x502113(0x178)]())return;const _0x4c7428=this[_0x502113(0x161)][_0x502113(0x13b)](_0x45a535[_0x502113(0x19f)]);if(!_0x4c7428)return;const _0x5ef0e0=this[_0x502113(0x10e)][_0x502113(0x129)]();this[_0x502113(0x17e)][_0x502113(0x169)](_0x4c7428,_0x45a535[_0x502113(0x16e)],_0x45a535[_0x502113(0x10a)],_0x502113(0x12a),_0x5ef0e0?.[_0x502113(0x137)]?.[_0x502113(0x1ba)]?.[_0x502113(0x13e)](),_0x5ef0e0?.['ui']?.[_0x502113(0x10d)]);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x10e)][_0x5d1455(0x13c)],_0x5d1455(0x134),()=>{const _0x38928a=_0x5d1455;if(!this[_0x38928a(0x161)])return;this[_0x38928a(0x161)][_0x38928a(0x178)]()||this[_0x38928a(0x17e)][_0x38928a(0x16f)]();}),this[_0x5d1455(0x149)](this[_0x5d1455(0x10e)][_0x5d1455(0x13c)],_0x5d1455(0x1bd),(_0x2932a0,_0x1438be)=>{const _0x4f876a=_0x5d1455;this[_0x4f876a(0x161)]&&this[_0x4f876a(0x161)][_0x4f876a(0x1aa)](_0x1438be[_0x4f876a(0x19f)]);}),this[_0x5d1455(0x149)](this[_0x5d1455(0x10e)][_0x5d1455(0x13c)],_0x5d1455(0x146),(_0x2ffc86,_0x299767)=>{const _0x512059=_0x5d1455;this[_0x512059(0x161)]&&this[_0x512059(0x161)][_0x512059(0x153)](_0x299767[_0x512059(0x19f)]);});}[_0xbd60ae(0x158)](_0x199a8e=!0x1){const _0x3ca427=_0xbd60ae;this[_0x3ca427(0x161)]&&(this[_0x3ca427(0x161)][_0x3ca427(0x1a8)]||this[_0x3ca427(0x161)][_0x3ca427(0x196)](),this[_0x3ca427(0x161)][_0x3ca427(0x123)](),this[_0x3ca427(0x161)][_0x3ca427(0x16d)](),this[_0x3ca427(0x161)]=void 0x0),_0x199a8e&&this[_0x3ca427(0x17e)][_0x3ca427(0x15d)](),this[_0x3ca427(0x10e)][_0x3ca427(0x190)](),this[_0x3ca427(0x10e)][_0x3ca427(0x159)](),this[_0x3ca427(0x1b1)]=null;const _0x435c8f=this[_0x3ca427(0x10e)][_0x3ca427(0x129)]();_0x435c8f&&_0x435c8f[_0x3ca427(0x137)][_0x3ca427(0x1ba)][_0x3ca427(0x17b)](_0x25d642=>{const _0x55b4ed=_0x3ca427,_0x44b798=_0x435c8f[_0x55b4ed(0x137)][_0x55b4ed(0x1ba)][_0x55b4ed(0x107)][_0x55b4ed(0x155)]();_0x25d642[_0x55b4ed(0x14a)](_0x55b4ed(0x143),_0x44b798),_0x25d642[_0x55b4ed(0x14a)](_0x55b4ed(0x125),_0x44b798);});}[_0xbd60ae(0x195)](_0x336b43){const _0x1ac484=_0xbd60ae,_0x3cf79c=this[_0x1ac484(0x10e)][_0x1ac484(0x129)]();_0x336b43?this[_0x1ac484(0x17e)][_0x1ac484(0x14d)]():this[_0x1ac484(0x17e)][_0x1ac484(0x16c)](),_0x3cf79c&&_0x3cf79c[_0x1ac484(0x137)][_0x1ac484(0x1ba)][_0x1ac484(0x17b)](_0x402697=>{const _0x13f781=_0x1ac484,_0x41e3fe=_0x3cf79c[_0x13f781(0x137)][_0x13f781(0x1ba)][_0x13f781(0x107)][_0x13f781(0x155)]();_0x402697[_0x13f781(0x14a)](_0x13f781(0x143),_0x41e3fe),_0x402697[_0x13f781(0x14a)](_0x13f781(0x125),_0x41e3fe),_0x402697[_0x13f781(0x112)](_0x336b43?_0x13f781(0x143):_0x13f781(0x125),_0x41e3fe);});}[_0xbd60ae(0x138)](_0x132a9a){const _0x3e2822=_0xbd60ae;return _0x132a9a[_0x3e2822(0x10c)](_0x5d07f5=>{const _0x514077=_0x3e2822,_0x4bafcf=_0x514077(0x13a)+_0x5d07f5['id'][_0x514077(0x10b)]()[_0x514077(0x12e)]('-','_'),_0x1a3bfb={..._0x5d07f5,'title':this[_0x514077(0x176)](_0x4bafcf+_0x514077(0x14c),_0x5d07f5[_0x514077(0x120)]),'description':this[_0x514077(0x176)](_0x4bafcf+_0x514077(0x18f),_0x5d07f5[_0x514077(0x1bc)])};return _0x5d07f5[_0x514077(0x14b)]&&(_0x1a3bfb[_0x514077(0x14b)]=_0x5d07f5[_0x514077(0x14b)][_0x514077(0x10c)](_0xe772a3=>({..._0xe772a3,'label':this[_0x514077(0x176)](_0x4bafcf+_0x514077(0x1b7),_0xe772a3[_0x514077(0x12c)]||''),'data':_0xe772a3[_0x514077(0x19a)]?_0xe772a3[_0x514077(0x19a)][_0x514077(0x10c)](_0xd13aad=>({..._0xd13aad,'label':this[_0x514077(0x176)](_0x4bafcf+_0x514077(0x183)+_0xd13aad['id'][_0x514077(0x10b)](),_0xd13aad[_0x514077(0x12c)])})):void 0x0}))),_0x1a3bfb;});}[_0xbd60ae(0x176)](_0x58df9c,_0x1d5ab9){const _0x325be7=_0xbd60ae,_0x584a56=this[_0x325be7(0x174)][_0x325be7(0x173)],_0x2cd6a1=_0x3a3218(_0x584a56,_0x58df9c);return _0x2cd6a1===_0x58df9c?_0x1d5ab9:_0x2cd6a1;}[_0xbd60ae(0x180)](_0xc1c3d5){const _0x4b35b2=_0xbd60ae;_0x15ff2d(_0xc1c3d5[_0x4b35b2(0x119)]),_0xc1c3d5[_0x4b35b2(0x119)][_0x4b35b2(0x182)](_0x4b35b2(0x18b))?this[_0x4b35b2(0x17e)][_0x4b35b2(0x11b)]():this[_0x4b35b2(0x17e)][_0x4b35b2(0x1a0)]();}}
@@ -139,6 +139,8 @@ export type AIReviewModeChangeMarkerClickedEvent = {
139
139
  {
140
140
  markerId: string;
141
141
  changeId: string;
142
+ markerElement: HTMLElement;
143
+ domEvent: MouseEvent;
142
144
  }
143
145
  ];
144
146
  };
@@ -160,3 +162,17 @@ export type AIReviewModeChangeMarkerRestoredEvent = {
160
162
  }
161
163
  ];
162
164
  };
165
+ export type AIReviewModeChangeMarkerBlurredEvent = {
166
+ name: 'changeMarkerBlurred';
167
+ args: [];
168
+ };
169
+ export type AIReviewModeChangeMarkerHoveredEvent = {
170
+ name: 'changeMarkerHovered';
171
+ args: [
172
+ {
173
+ changeId: string;
174
+ markerElement: HTMLElement;
175
+ domEvent: MouseEvent;
176
+ }
177
+ ];
178
+ };