@ckeditor/ckeditor5-ai 47.7.3 → 47.7.5-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 (319) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +16 -16
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.d.ts +21 -14
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/ui/aichatballoonview.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  210. package/src/aichat/utils/eventnames.js +1 -1
  211. package/src/aichat/utils/promisequeue.js +1 -1
  212. package/src/aichathistory/aichathistory.js +1 -1
  213. package/src/aichathistory/aichathistorycontroller.js +1 -1
  214. package/src/aichathistory/aichathistoryui.js +1 -1
  215. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  216. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  217. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  218. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  221. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  223. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  224. package/src/aicore/aiconnector.js +1 -1
  225. package/src/aicore/aiediting.js +1 -1
  226. package/src/aicore/model/aicapabilities.js +1 -1
  227. package/src/aicore/model/aicontext.js +1 -1
  228. package/src/aicore/model/aiinteraction.js +1 -1
  229. package/src/aicore/model/aimodels.js +1 -1
  230. package/src/aicore/model/aireply.js +1 -1
  231. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  232. package/src/aicore/pipeline/airesponseparser.js +2 -2
  233. package/src/aicore/ui/aidisclaimerview.js +1 -1
  234. package/src/aicore/ui/aiskeleton.js +1 -1
  235. package/src/aicore/ui/aispinner.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  247. package/src/aicore/utils/common-translations.js +1 -1
  248. package/src/aicore/utils/createresizebutton.js +1 -1
  249. package/src/aicore/utils/documentposition.js +1 -1
  250. package/src/aicore/utils/documentrange.js +1 -1
  251. package/src/aicore/utils/eventnames.js +1 -1
  252. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  253. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  254. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  255. package/src/aicore/utils/htmlparser.js +1 -1
  256. package/src/aicore/utils/htmlstreamer.js +1 -1
  257. package/src/aicore/utils/scrollmanager.js +1 -1
  258. package/src/aieditorintegration/aieditorintegration.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  260. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  261. package/src/aiquickactions/aiquickactions.js +1 -1
  262. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  263. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  264. package/src/aiquickactions/aiquickactionsui.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  271. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  272. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  273. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  274. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  275. package/src/aireviewcore/aireviewcoreui.js +1 -1
  276. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  277. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  280. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  281. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  292. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  294. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  295. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  296. package/src/aireviewmode/aireviewmode.js +1 -1
  297. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  298. package/src/aireviewmode/aireviewmodeui.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  300. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  301. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  303. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  304. package/src/aitabs/aitabs.js +1 -1
  305. package/src/aitabs/aitabsmainview.js +1 -1
  306. package/src/aitabs/tabs/aitabsview.js +1 -1
  307. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  308. package/src/aitabs/tabs/tabpanelview.js +1 -1
  309. package/src/aitranslate/aitranslate.js +1 -1
  310. package/src/aitranslate/aitranslatecontroller.js +1 -1
  311. package/src/aitranslate/aitranslateui.js +1 -1
  312. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  313. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  314. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  315. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  316. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  317. package/src/errors.js +1 -1
  318. package/src/errorsmap.js +1 -1
  319. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x8e7a(_0x1ba092,_0x20462a){const _0x4bdb48=_0x4bdb();return _0x8e7a=function(_0x8e7a03,_0x2f1c9b){_0x8e7a03=_0x8e7a03-0xe3;let _0x210c22=_0x4bdb48[_0x8e7a03];return _0x210c22;},_0x8e7a(_0x1ba092,_0x20462a);}const _0x431728=_0x8e7a;(function(_0x36d785,_0x16971b){const _0x3d06d6=_0x8e7a,_0x166837=_0x36d785();while(!![]){try{const _0x25be22=parseInt(_0x3d06d6(0xea))/0x1+-parseInt(_0x3d06d6(0xf6))/0x2+-parseInt(_0x3d06d6(0x10f))/0x3*(parseInt(_0x3d06d6(0x111))/0x4)+parseInt(_0x3d06d6(0x11e))/0x5+parseInt(_0x3d06d6(0x11d))/0x6*(-parseInt(_0x3d06d6(0x10a))/0x7)+parseInt(_0x3d06d6(0xe8))/0x8+parseInt(_0x3d06d6(0x114))/0x9;if(_0x25be22===_0x16971b)break;else _0x166837['push'](_0x166837['shift']());}catch(_0x84cba3){_0x166837['push'](_0x166837['shift']());}}}(_0x4bdb,0xf1db7));import _0x3648e7 from'morphdom';import{NodeWithChildren as _0x1a2cdc,Text as _0x4d614e,Element as _0x3667c7,isText as _0xc0e9ff,isDocument as _0x101d4f,isTag as _0xb27930,cloneNode as _0x4e3223,getChildren as _0x211b02,prepend as _0x186ac9,removeElement as _0x18af84,textContent as _0x418766,render as _0x2b9086}from'./htmlparser.js';export class HTMLStreamer{[_0x431728(0x11f)];[_0x431728(0xf1)]=!0x1;[_0x431728(0x116)]=null;[_0x431728(0x113)]=[];[_0x431728(0xec)]=0x0;[_0x431728(0x10e)]=null;[_0x431728(0x112)]=0x0;constructor(_0x449fbf){const _0x23458f=_0x431728;this[_0x23458f(0x11f)]={'delay':_0x449fbf[_0x23458f(0xf4)]??0x14,'textNodeStyle':_0x449fbf[_0x23458f(0x118)],'onStreamUpdate':_0x449fbf[_0x23458f(0xe9)]||(()=>{})};}async[_0x431728(0xf5)]({document:_0x5f1b55,targetElement:_0x28c0a0,abortSignal:_0x3dd938}){const _0x3e6bc5=_0x431728;this[_0x3e6bc5(0xf1)]&&this[_0x3e6bc5(0xfa)](),_0x3dd938?.[_0x3e6bc5(0x108)](_0x3e6bc5(0xe5),this[_0x3e6bc5(0xfa)][_0x3e6bc5(0xf3)](this)),this[_0x3e6bc5(0x116)]=_0x4e3223(_0x5f1b55,!0x0),this[_0x3e6bc5(0x113)]=this[_0x3e6bc5(0xf0)](),this[_0x3e6bc5(0xf1)]=!0x0,this[_0x3e6bc5(0xec)]>this[_0x3e6bc5(0x113)][_0x3e6bc5(0x10c)]&&(this[_0x3e6bc5(0xec)]=this[_0x3e6bc5(0x113)][_0x3e6bc5(0x10c)]);for(let _0x186aa2=0x0;_0x186aa2<this[_0x3e6bc5(0xec)];_0x186aa2++)this[_0x3e6bc5(0x113)][_0x186aa2][_0x3e6bc5(0xe3)]=!0x0;do{const _0x25d075=Date[_0x3e6bc5(0x117)](),_0x39b7d3=this[_0x3e6bc5(0x113)][this[_0x3e6bc5(0xec)]],_0x28b163=_0x25d075-this[_0x3e6bc5(0x112)];if(_0x39b7d3){_0x39b7d3[_0x3e6bc5(0xe3)]=!0x0;let _0x5968e4=_0x39b7d3[_0x3e6bc5(0xed)];for(;_0x5968e4;)_0x5968e4[_0x3e6bc5(0xe3)]=!0x0,_0x5968e4=_0x5968e4[_0x3e6bc5(0xed)];}if(_0x28b163<this[_0x3e6bc5(0x11f)][_0x3e6bc5(0xf4)])try{const {promise:_0x325caa,abortController:_0x7c674b}=Cs(this[_0x3e6bc5(0x11f)][_0x3e6bc5(0xf4)]-_0x28b163);this[_0x3e6bc5(0x10e)]=_0x7c674b,await _0x325caa;}catch(_0x229e07){return;}_0x3648e7(_0x28c0a0,'<'+_0x28c0a0[_0x3e6bc5(0x10b)]+'>'+this[_0x3e6bc5(0xf7)](this[_0x3e6bc5(0x116)])+'</'+_0x28c0a0[_0x3e6bc5(0x10b)]+'>',{'childrenOnly':!0x0}),this[_0x3e6bc5(0x11f)][_0x3e6bc5(0xe9)]&&this[_0x3e6bc5(0x11f)][_0x3e6bc5(0xe9)](),this[_0x3e6bc5(0xec)]++,this[_0x3e6bc5(0x112)]=Date[_0x3e6bc5(0x117)]();}while(this[_0x3e6bc5(0xec)]<this[_0x3e6bc5(0x113)][_0x3e6bc5(0x10c)]);this[_0x3e6bc5(0xec)]=this[_0x3e6bc5(0x113)][_0x3e6bc5(0x10c)],this[_0x3e6bc5(0xf1)]=!0x1;}[_0x431728(0x11a)](){const _0x664ff5=_0x431728;this[_0x664ff5(0xf1)]=!0x1,this[_0x664ff5(0x116)]=null,this[_0x664ff5(0x113)]=[],this[_0x664ff5(0xec)]=0x0,this[_0x664ff5(0x10e)]=null;}[_0x431728(0xee)]({targetElement:_0x180e6c}){const _0x34b3a2=_0x431728;Array[_0x34b3a2(0x101)](_0x180e6c[_0x34b3a2(0xf9)](_0x34b3a2(0xef)))[_0x34b3a2(0x10d)]()[_0x34b3a2(0x115)](_0x29ffa1=>{const _0xe27c80=_0x34b3a2;_0x29ffa1[_0xe27c80(0x11b)](_0x29ffa1[_0xe27c80(0xe7)][0x0]);});}[_0x431728(0xfa)](){const _0x47823b=_0x431728;this[_0x47823b(0xf1)]=!0x1,this[_0x47823b(0x10e)]&&(this[_0x47823b(0x10e)][_0x47823b(0xe5)](),this[_0x47823b(0x10e)]=null);}[_0x431728(0xf7)](_0x1ad039){const _0x2db88a=_0x431728;let _0x4e0ad4='';if(function(_0x549059){return _0x101d4f(_0x549059);}(_0x1ad039)){for(const _0x45e212 of _0x1ad039[_0x2db88a(0x103)])_0x4e0ad4+=this[_0x2db88a(0xf7)](_0x45e212);}else{if(Ts(_0x1ad039)){if(!_0x1ad039[_0x2db88a(0xe3)])return'';const _0x214dab=_0x1ad039,_0x14ee4e=Object[_0x2db88a(0xf2)](_0x214dab[_0x2db88a(0x102)])[_0x2db88a(0x11c)](([_0x109447,_0x29ea31])=>_0x109447+'=\x22'+_0x29ea31+'\x22')[_0x2db88a(0x110)]('\x20');_0x4e0ad4+='<'+_0x214dab[_0x2db88a(0x10b)]+(_0x14ee4e?'\x20'+_0x14ee4e:'')+'>';for(const _0x4bc1cb of _0x211b02(_0x214dab))_0x4e0ad4+=this[_0x2db88a(0xf7)](_0x4bc1cb);_0x4e0ad4+='</'+_0x214dab[_0x2db88a(0x10b)]+'>';}else{if(!Ss(_0x1ad039))return'';if(!_0x1ad039[_0x2db88a(0xe3)])return'';!function(_0x4f332a){const _0x3fd68b=_0x2db88a;if(!_0x4f332a[_0x3fd68b(0xed)]||!Ts(_0x4f332a[_0x3fd68b(0xed)]))return!0x1;if(!ys[_0x3fd68b(0xeb)](_0x4f332a[_0x3fd68b(0xed)][_0x3fd68b(0x10b)]))return!0x1;return!_0x418766(_0x4f332a)[_0x3fd68b(0xfc)](/^\s*[<>]\s*$/);}(_0x1ad039)?_0x4e0ad4+=_0x2b9086(_0x1ad039):_0x4e0ad4+=_0x2b9086(new _0x3667c7(_0x2db88a(0x106),{'data-ck-html-streamer-word-chunk':'','style':this[_0x2db88a(0x11f)][_0x2db88a(0x118)]},[_0x1ad039]));}}return _0x4e0ad4;}[_0x431728(0xf0)](){const _0x4bfddd=_0x431728,_0x5bd11b=[];return function(_0x47a000,_0x473609){const _0x39a327=_0x8e7a,_0x424ed1=_0x303c42=>{const _0x1c3119=_0x8e7a;if(_0x473609(_0x303c42),_0x303c42 instanceof _0x1a2cdc)for(let _0x2aabe9=0x0;_0x2aabe9<_0x303c42[_0x1c3119(0x103)][_0x1c3119(0x10c)];_0x2aabe9++){const _0x1a936b=_0x303c42[_0x1c3119(0x103)][_0x2aabe9];_0x424ed1(_0x1a936b);}};for(let _0x23c8ee=0x0;_0x23c8ee<_0x47a000[_0x39a327(0x103)][_0x39a327(0x10c)];_0x23c8ee++)_0x424ed1(_0x47a000[_0x39a327(0x103)][_0x23c8ee]);}(this[_0x4bfddd(0x116)],_0x5216a0=>{const _0x9f6066=_0x4bfddd;if(Ss(_0x5216a0)){const _0x4668c4=this[_0x9f6066(0x119)](_0x5216a0);_0x4668c4[_0x9f6066(0x10c)]&&_0x5bd11b[_0x9f6066(0xe4)](..._0x4668c4);}_0x5216a0[_0x9f6066(0xfb)]||_0x5216a0[_0x9f6066(0x100)]||_0x5bd11b[_0x9f6066(0xe4)](_0x5216a0);}),_0x5bd11b;}[_0x431728(0x119)](_0x542427){const _0x5c25dc=_0x431728;if(_0x542427[_0x5c25dc(0xfb)]||_0x542427[_0x5c25dc(0x100)])return[];const _0x355949=_0x418766(_0x542427)[_0x5c25dc(0xfc)](/(?:\s*\S+\s*)/g),_0x41f1b9=[];if(_0x355949&&_0x355949[_0x5c25dc(0x10c)]>0x1){for(const _0x2893e of _0x355949){const _0x122b5a=new _0x4d614e(_0x2893e);_0x122b5a[_0x5c25dc(0x100)]=!0x0,_0x186ac9(_0x542427,_0x122b5a),_0x41f1b9[_0x5c25dc(0xe4)](_0x122b5a);}_0x542427[_0x5c25dc(0xfb)]=!0x0,_0x18af84(_0x542427);}return _0x41f1b9;}}const ys=['p','li','td','th',_0x431728(0x106),'h1','h2','h3','h4','h5','h6','b',_0x431728(0x109),'i','em',_0x431728(0xfe),_0x431728(0xe6),_0x431728(0xf8),_0x431728(0x104),_0x431728(0xff),'a',_0x431728(0x105),_0x431728(0xfd)];function Ss(_0x1e299c){return _0xc0e9ff(_0x1e299c);}function Ts(_0x351ac1){return _0xb27930(_0x351ac1);}function Cs(_0x1412c2){const _0x26a073=new AbortController();return{'promise':new Promise((_0x353efc,_0x196111)=>{const _0x3979c0=_0x8e7a,_0x4e9a8d=setTimeout(_0x353efc,_0x1412c2);_0x26a073[_0x3979c0(0x107)][_0x3979c0(0x108)](_0x3979c0(0xe5),()=>{clearTimeout(_0x4e9a8d),_0x196111();});}),'abortController':_0x26a073};}function _0x4bdb(){const _0xbf4cd9=['shouldBeStreamed','push','abort','del','childNodes','2751104ixQQGW','onStreamUpdate','1157790GXNAsa','includes','currentIndex','parent','cleanUpAnimations','span[data-ck-html-streamer-word-chunk]','getParsedDocumentNodeList','isStreaming','entries','bind','delay','stream','1424184EbAPmH','renderNode','ins','querySelectorAll','stop','isWordSplitSource','match','div','mark','sub','isWordSplitResult','from','attribs','children','sup','code','span','signal','addEventListener','strong','28QfCLpi','tagName','length','reverse','timeoutAbortController','39948eJlwRb','join','140NDBApS','lastUpdateTime','nodesList','3838590rHhHUQ','forEach','document','now','textNodeStyle','splitTextNodeIntoWordNodes','reset','replaceWith','map','600354NVuWwq','3204235cbStfA','options'];_0x4bdb=function(){return _0xbf4cd9;};return _0x4bdb();}
23
+ function _0x15b0(){const _0xc5deb1=['isWordSplitSource','signal','forEach','lastUpdateTime','match','querySelectorAll','replaceWith','reverse','length','sub','ins','span','del','children','now','2826929cwzmwq','map','cleanUpAnimations','2322KBbfHR','delay','textNodeStyle','107832QbLzPm','document','128574OLktvn','isWordSplitResult','getParsedDocumentNodeList','div','currentIndex','160010eoDmIn','stream','90782njIQqI','includes','splitTextNodeIntoWordNodes','entries','mark','sup','push','onStreamUpdate','span[data-ck-html-streamer-word-chunk]','code','options','shouldBeStreamed','126aFzbKW','925zRUwwR','reset','tagName','from','bind','renderNode','isStreaming','stop','attribs','timeoutAbortController','parent','2347920IfGbEY','abort','strong','childNodes','4aUxJjL','join','nodesList','addEventListener'];_0x15b0=function(){return _0xc5deb1;};return _0x15b0();}const _0x4e4073=_0x4a49;(function(_0x3d504b,_0xf534d7){const _0x5d3bdc=_0x4a49,_0x56017b=_0x3d504b();while(!![]){try{const _0xe46162=parseInt(_0x5d3bdc(0xb0))/0x1*(-parseInt(_0x5d3bdc(0x8e))/0x2)+-parseInt(_0x5d3bdc(0xa9))/0x3+parseInt(_0x5d3bdc(0xa7))/0x4+parseInt(_0x5d3bdc(0xbd))/0x5*(-parseInt(_0x5d3bdc(0xa4))/0x6)+parseInt(_0x5d3bdc(0xa1))/0x7+parseInt(_0x5d3bdc(0xc8))/0x8+parseInt(_0x5d3bdc(0xbc))/0x9*(-parseInt(_0x5d3bdc(0xae))/0xa);if(_0xe46162===_0xf534d7)break;else _0x56017b['push'](_0x56017b['shift']());}catch(_0x1fc303){_0x56017b['push'](_0x56017b['shift']());}}}(_0x15b0,0x31de8));function _0x4a49(_0x1f3001,_0x571af3){const _0x15b0cb=_0x15b0();return _0x4a49=function(_0x4a49f8,_0x3649e4){_0x4a49f8=_0x4a49f8-0x8b;let _0x5979f6=_0x15b0cb[_0x4a49f8];return _0x5979f6;},_0x4a49(_0x1f3001,_0x571af3);}import _0x254c5f from'morphdom';import{NodeWithChildren as _0x5c3291,Text as _0x1b2ec2,Element as _0x196e8f,isText as _0x3c6e52,isDocument as _0x4a02e6,isTag as _0x1a8f40,cloneNode as _0x31b16a,getChildren as _0x53c634,prepend as _0x29ad16,removeElement as _0x5cde7d,textContent as _0x125cdc,render as _0x2958c3}from'./htmlparser.js';export class HTMLStreamer{[_0x4e4073(0xba)];[_0x4e4073(0xc3)]=!0x1;[_0x4e4073(0xa8)]=null;[_0x4e4073(0x90)]=[];[_0x4e4073(0xad)]=0x0;[_0x4e4073(0xc6)]=null;[_0x4e4073(0x95)]=0x0;constructor(_0x27c99){const _0x336e22=_0x4e4073;this[_0x336e22(0xba)]={'delay':_0x27c99[_0x336e22(0xa5)]??0x14,'textNodeStyle':_0x27c99[_0x336e22(0xa6)],'onStreamUpdate':_0x27c99[_0x336e22(0xb7)]||(()=>{})};}async[_0x4e4073(0xaf)]({document:_0x5886e5,targetElement:_0x42191b,abortSignal:_0x21eb61}){const _0x3ecb98=_0x4e4073;this[_0x3ecb98(0xc3)]&&this[_0x3ecb98(0xc4)](),_0x21eb61?.[_0x3ecb98(0x91)](_0x3ecb98(0x8b),this[_0x3ecb98(0xc4)][_0x3ecb98(0xc1)](this)),this[_0x3ecb98(0xa8)]=_0x31b16a(_0x5886e5,!0x0),this[_0x3ecb98(0x90)]=this[_0x3ecb98(0xab)](),this[_0x3ecb98(0xc3)]=!0x0,this[_0x3ecb98(0xad)]>this[_0x3ecb98(0x90)][_0x3ecb98(0x9a)]&&(this[_0x3ecb98(0xad)]=this[_0x3ecb98(0x90)][_0x3ecb98(0x9a)]);for(let _0x1e81f1=0x0;_0x1e81f1<this[_0x3ecb98(0xad)];_0x1e81f1++)this[_0x3ecb98(0x90)][_0x1e81f1][_0x3ecb98(0xbb)]=!0x0;do{const _0x27f495=Date[_0x3ecb98(0xa0)](),_0x4c4b61=this[_0x3ecb98(0x90)][this[_0x3ecb98(0xad)]],_0x223d94=_0x27f495-this[_0x3ecb98(0x95)];if(_0x4c4b61){_0x4c4b61[_0x3ecb98(0xbb)]=!0x0;let _0x415160=_0x4c4b61[_0x3ecb98(0xc7)];for(;_0x415160;)_0x415160[_0x3ecb98(0xbb)]=!0x0,_0x415160=_0x415160[_0x3ecb98(0xc7)];}if(_0x223d94<this[_0x3ecb98(0xba)][_0x3ecb98(0xa5)])try{const {promise:_0x3a4795,abortController:_0xe45efc}=Ls(this[_0x3ecb98(0xba)][_0x3ecb98(0xa5)]-_0x223d94);this[_0x3ecb98(0xc6)]=_0xe45efc,await _0x3a4795;}catch(_0x1eaa81){return;}_0x254c5f(_0x42191b,'<'+_0x42191b[_0x3ecb98(0xbf)]+'>'+this[_0x3ecb98(0xc2)](this[_0x3ecb98(0xa8)])+'</'+_0x42191b[_0x3ecb98(0xbf)]+'>',{'childrenOnly':!0x0}),this[_0x3ecb98(0xba)][_0x3ecb98(0xb7)]&&this[_0x3ecb98(0xba)][_0x3ecb98(0xb7)](),this[_0x3ecb98(0xad)]++,this[_0x3ecb98(0x95)]=Date[_0x3ecb98(0xa0)]();}while(this[_0x3ecb98(0xad)]<this[_0x3ecb98(0x90)][_0x3ecb98(0x9a)]);this[_0x3ecb98(0xad)]=this[_0x3ecb98(0x90)][_0x3ecb98(0x9a)],this[_0x3ecb98(0xc3)]=!0x1;}[_0x4e4073(0xbe)](){const _0x42c931=_0x4e4073;this[_0x42c931(0xc3)]=!0x1,this[_0x42c931(0xa8)]=null,this[_0x42c931(0x90)]=[],this[_0x42c931(0xad)]=0x0,this[_0x42c931(0xc6)]=null;}[_0x4e4073(0xa3)]({targetElement:_0x58c7dd}){const _0x3dedbf=_0x4e4073;Array[_0x3dedbf(0xc0)](_0x58c7dd[_0x3dedbf(0x97)](_0x3dedbf(0xb8)))[_0x3dedbf(0x99)]()[_0x3dedbf(0x94)](_0x5e1797=>{const _0x3a8256=_0x3dedbf;_0x5e1797[_0x3a8256(0x98)](_0x5e1797[_0x3a8256(0x8d)][0x0]);});}[_0x4e4073(0xc4)](){const _0x2f082c=_0x4e4073;this[_0x2f082c(0xc3)]=!0x1,this[_0x2f082c(0xc6)]&&(this[_0x2f082c(0xc6)][_0x2f082c(0x8b)](),this[_0x2f082c(0xc6)]=null);}[_0x4e4073(0xc2)](_0x4f615b){const _0x1b66bb=_0x4e4073;let _0x2d9b='';if(function(_0x21766b){return _0x4a02e6(_0x21766b);}(_0x4f615b)){for(const _0x4b8112 of _0x4f615b[_0x1b66bb(0x9f)])_0x2d9b+=this[_0x1b66bb(0xc2)](_0x4b8112);}else{if(Ts(_0x4f615b)){if(!_0x4f615b[_0x1b66bb(0xbb)])return'';const _0x56e66a=_0x4f615b,_0x5c34cd=Object[_0x1b66bb(0xb3)](_0x56e66a[_0x1b66bb(0xc5)])[_0x1b66bb(0xa2)](([_0x10cf37,_0x137e15])=>_0x10cf37+'=\x22'+_0x137e15+'\x22')[_0x1b66bb(0x8f)]('\x20');_0x2d9b+='<'+_0x56e66a[_0x1b66bb(0xbf)]+(_0x5c34cd?'\x20'+_0x5c34cd:'')+'>';for(const _0x1017eb of _0x53c634(_0x56e66a))_0x2d9b+=this[_0x1b66bb(0xc2)](_0x1017eb);_0x2d9b+='</'+_0x56e66a[_0x1b66bb(0xbf)]+'>';}else{if(!Ss(_0x4f615b))return'';if(!_0x4f615b[_0x1b66bb(0xbb)])return'';!function(_0x46e9b2){const _0x281e14=_0x1b66bb;if(!_0x46e9b2[_0x281e14(0xc7)]||!Ts(_0x46e9b2[_0x281e14(0xc7)]))return!0x1;if(!ys[_0x281e14(0xb1)](_0x46e9b2[_0x281e14(0xc7)][_0x281e14(0xbf)]))return!0x1;return!_0x125cdc(_0x46e9b2)[_0x281e14(0x96)](/^\s*[<>]\s*$/);}(_0x4f615b)?_0x2d9b+=_0x2958c3(_0x4f615b):_0x2d9b+=_0x2958c3(new _0x196e8f(_0x1b66bb(0x9d),{'data-ck-html-streamer-word-chunk':'','style':this[_0x1b66bb(0xba)][_0x1b66bb(0xa6)]},[_0x4f615b]));}}return _0x2d9b;}[_0x4e4073(0xab)](){const _0x22c68d=_0x4e4073,_0x706993=[];return function(_0x15273c,_0x1bbd8c){const _0x404d20=_0x4a49,_0x19fab7=_0x54b1f2=>{const _0x35eb10=_0x4a49;if(_0x1bbd8c(_0x54b1f2),_0x54b1f2 instanceof _0x5c3291)for(let _0x47b37f=0x0;_0x47b37f<_0x54b1f2[_0x35eb10(0x9f)][_0x35eb10(0x9a)];_0x47b37f++){const _0x41142d=_0x54b1f2[_0x35eb10(0x9f)][_0x47b37f];_0x19fab7(_0x41142d);}};for(let _0x20742a=0x0;_0x20742a<_0x15273c[_0x404d20(0x9f)][_0x404d20(0x9a)];_0x20742a++)_0x19fab7(_0x15273c[_0x404d20(0x9f)][_0x20742a]);}(this[_0x22c68d(0xa8)],_0x2d8625=>{const _0x187282=_0x22c68d;if(Ss(_0x2d8625)){const _0x4d40fb=this[_0x187282(0xb2)](_0x2d8625);_0x4d40fb[_0x187282(0x9a)]&&_0x706993[_0x187282(0xb6)](..._0x4d40fb);}_0x2d8625[_0x187282(0x92)]||_0x2d8625[_0x187282(0xaa)]||_0x706993[_0x187282(0xb6)](_0x2d8625);}),_0x706993;}[_0x4e4073(0xb2)](_0x50f33b){const _0x41dca8=_0x4e4073;if(_0x50f33b[_0x41dca8(0x92)]||_0x50f33b[_0x41dca8(0xaa)])return[];const _0x318d72=_0x125cdc(_0x50f33b)[_0x41dca8(0x96)](/(?:\s*\S+\s*)/g),_0x5a9b00=[];if(_0x318d72&&_0x318d72[_0x41dca8(0x9a)]>0x1){for(const _0x3a0a97 of _0x318d72){const _0x3f5bae=new _0x1b2ec2(_0x3a0a97);_0x3f5bae[_0x41dca8(0xaa)]=!0x0,_0x29ad16(_0x50f33b,_0x3f5bae),_0x5a9b00[_0x41dca8(0xb6)](_0x3f5bae);}_0x50f33b[_0x41dca8(0x92)]=!0x0,_0x5cde7d(_0x50f33b);}return _0x5a9b00;}}const ys=['p','li','td','th',_0x4e4073(0x9d),'h1','h2','h3','h4','h5','h6','b',_0x4e4073(0x8c),'i','em',_0x4e4073(0xb4),_0x4e4073(0x9e),_0x4e4073(0x9c),_0x4e4073(0xb5),_0x4e4073(0x9b),'a',_0x4e4073(0xb9),_0x4e4073(0xac)];function Ss(_0x29247c){return _0x3c6e52(_0x29247c);}function Ts(_0xba52b5){return _0x1a8f40(_0xba52b5);}function Ls(_0x22b774){const _0x4e13c6=new AbortController();return{'promise':new Promise((_0x31f226,_0x5c7fbc)=>{const _0xbecc0c=_0x4a49,_0x4ba0a0=setTimeout(_0x31f226,_0x22b774);_0x4e13c6[_0xbecc0c(0x93)][_0xbecc0c(0x91)](_0xbecc0c(0x8b),()=>{clearTimeout(_0x4ba0a0),_0x5c7fbc();});}),'abortController':_0x4e13c6};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x10ac(){const _0x22ce1f=['addEventListener','animationFrameId','174978gMuCHw','681320zmMrIY','scrollTo','pointerdown','PageDown','signal','Home','PageUp','key','ArrowDown','End','_rafUpdate','bind','destroy','28BSfGzg','_onUserEvent','_isAtBottom','start','2629847CwyXQu','ArrowUp','element','8EunXuc','10sBfNLv','429450cJkOqe','2062lpnLnM','wheel','abortController','751036FVQaAh','isUserPaused','_stop','touchstart','abort','stop','type','deltaY','scrollHeight','1207125ZPzuZI','47losPeD','auto','isRunning','keydown','includes'];_0x10ac=function(){return _0x22ce1f;};return _0x10ac();}function _0x516a(_0x19ebcb,_0x1be933){const _0x10ac81=_0x10ac();return _0x516a=function(_0x516ad6,_0x165806){_0x516ad6=_0x516ad6-0x172;let _0x2e45d0=_0x10ac81[_0x516ad6];return _0x2e45d0;},_0x516a(_0x19ebcb,_0x1be933);}const _0x5ad904=_0x516a;(function(_0x46162b,_0x3d08ac){const _0x2fb6af=_0x516a,_0xcde8d8=_0x46162b();while(!![]){try{const _0x30e85f=parseInt(_0x2fb6af(0x17f))/0x1*(parseInt(_0x2fb6af(0x172))/0x2)+-parseInt(_0x2fb6af(0x19d))/0x3+parseInt(_0x2fb6af(0x175))/0x4+parseInt(_0x2fb6af(0x187))/0x5+-parseInt(_0x2fb6af(0x186))/0x6*(parseInt(_0x2fb6af(0x194))/0x7)+-parseInt(_0x2fb6af(0x19b))/0x8*(parseInt(_0x2fb6af(0x17e))/0x9)+parseInt(_0x2fb6af(0x19c))/0xa*(parseInt(_0x2fb6af(0x198))/0xb);if(_0x30e85f===_0x3d08ac)break;else _0xcde8d8['push'](_0xcde8d8['shift']());}catch(_0x30470f){_0xcde8d8['push'](_0xcde8d8['shift']());}}}(_0x10ac,0x3521e));const Fs=[_0x5ad904(0x173),_0x5ad904(0x178),_0x5ad904(0x189),_0x5ad904(0x182)],Us=[_0x5ad904(0x199),_0x5ad904(0x18f),_0x5ad904(0x18d),_0x5ad904(0x18a),_0x5ad904(0x18c),_0x5ad904(0x190),'\x20'];export class ScrollManager{[_0x5ad904(0x19a)];[_0x5ad904(0x185)];[_0x5ad904(0x181)];[_0x5ad904(0x174)];[_0x5ad904(0x176)];constructor(_0x5a3c58){const _0x8f63ee=_0x5ad904;this[_0x8f63ee(0x19a)]=_0x5a3c58,this[_0x8f63ee(0x185)]=null,this[_0x8f63ee(0x181)]=!0x1,this[_0x8f63ee(0x174)]=new AbortController(),this[_0x8f63ee(0x176)]=!0x1;for(const _0x4de42f of Fs){const _0x148a49=_0x8f63ee(0x182)!==_0x4de42f;this[_0x8f63ee(0x19a)][_0x8f63ee(0x184)](_0x4de42f,this[_0x8f63ee(0x195)][_0x8f63ee(0x192)](this),{'passive':_0x148a49,'signal':this[_0x8f63ee(0x174)][_0x8f63ee(0x18b)]});}}[_0x5ad904(0x197)](){const _0x58a2e6=_0x5ad904;this[_0x58a2e6(0x181)]||(this[_0x58a2e6(0x181)]=!0x0,this[_0x58a2e6(0x176)]=!0x1,this[_0x58a2e6(0x185)]=requestAnimationFrame(this[_0x58a2e6(0x191)][_0x58a2e6(0x192)](this)));}[_0x5ad904(0x17a)](){requestAnimationFrame(()=>{const _0x4f1605=_0x516a;this[_0x4f1605(0x177)]();});}[_0x5ad904(0x193)](){const _0x19f09b=_0x5ad904;this[_0x19f09b(0x177)](),this[_0x19f09b(0x174)][_0x19f09b(0x179)]();}[_0x5ad904(0x177)](){const _0x44a5be=_0x5ad904;null!==this[_0x44a5be(0x185)]&&(cancelAnimationFrame(this[_0x44a5be(0x185)]),this[_0x44a5be(0x185)]=null),this[_0x44a5be(0x181)]&&(this[_0x44a5be(0x181)]=!0x1),this[_0x44a5be(0x176)]=!0x1;}[_0x5ad904(0x195)](_0x541304){const _0x4cff36=_0x5ad904;if(this[_0x4cff36(0x181)]){if(_0x4cff36(0x182)===_0x541304[_0x4cff36(0x17b)]){const _0x59b0cc=_0x541304[_0x4cff36(0x18e)];if(!Us[_0x4cff36(0x183)](_0x59b0cc))return;}_0x541304 instanceof WheelEvent?_0x541304[_0x4cff36(0x17c)]<0x0?this[_0x4cff36(0x176)]=!0x0:this[_0x4cff36(0x176)]=!this[_0x4cff36(0x196)]():this[_0x4cff36(0x176)]=!0x0;}}[_0x5ad904(0x196)](){const _0x4d8691=_0x5ad904,{scrollTop:_0x2298bb,scrollHeight:_0x750c5c,clientHeight:_0x49615b}=this[_0x4d8691(0x19a)];return _0x750c5c-_0x2298bb-_0x49615b<=0x5;}[_0x5ad904(0x191)](){const _0x2ce313=_0x5ad904;this[_0x2ce313(0x181)]&&(this[_0x2ce313(0x176)]||this[_0x2ce313(0x19a)][_0x2ce313(0x188)]({'top':this[_0x2ce313(0x19a)][_0x2ce313(0x17d)],'behavior':_0x2ce313(0x180)}),this[_0x2ce313(0x185)]=requestAnimationFrame(this[_0x2ce313(0x191)][_0x2ce313(0x192)](this)));}}
23
+ const _0x3a13e9=_0x4623;(function(_0x546fc9,_0x53c2a9){const _0x45d83a=_0x4623,_0x21f358=_0x546fc9();while(!![]){try{const _0x1aea5a=parseInt(_0x45d83a(0x8f))/0x1+parseInt(_0x45d83a(0x9b))/0x2*(parseInt(_0x45d83a(0x93))/0x3)+parseInt(_0x45d83a(0x94))/0x4+parseInt(_0x45d83a(0x89))/0x5*(-parseInt(_0x45d83a(0x97))/0x6)+parseInt(_0x45d83a(0x8c))/0x7+-parseInt(_0x45d83a(0x7c))/0x8*(-parseInt(_0x45d83a(0x87))/0x9)+-parseInt(_0x45d83a(0x86))/0xa*(parseInt(_0x45d83a(0x82))/0xb);if(_0x1aea5a===_0x53c2a9)break;else _0x21f358['push'](_0x21f358['shift']());}catch(_0x24e9f2){_0x21f358['push'](_0x21f358['shift']());}}}(_0x5799,0x807e3));function _0x5799(){const _0x24f7b6=['14862133ptgxvQ','PageDown','auto','abort','10JwtJGN','18jgWydj','ArrowDown','5OTMHYa','_rafUpdate','scrollTo','795438JuzyxR','stop','signal','426463hQfYTA','element','isUserPaused','animationFrameId','57xYipik','2221732HjAnKV','PageUp','key','638190CHlpqm','abortController','touchstart','keydown','27554cxbKSz','pointerdown','scrollHeight','_isAtBottom','_stop','includes','destroy','wheel','End','ArrowUp','start','bind','deltaY','2505928VccTor','type','Home','_onUserEvent','isRunning','addEventListener'];_0x5799=function(){return _0x24f7b6;};return _0x5799();}function _0x4623(_0x37cc04,_0x3b6c48){const _0x5799fc=_0x5799();return _0x4623=function(_0x4623ae,_0x4b80ed){_0x4623ae=_0x4623ae-0x76;let _0x5ee4bc=_0x5799fc[_0x4623ae];return _0x5ee4bc;},_0x4623(_0x37cc04,_0x3b6c48);}const Fs=[_0x3a13e9(0x76),_0x3a13e9(0x99),_0x3a13e9(0x9c),_0x3a13e9(0x9a)],Us=[_0x3a13e9(0x78),_0x3a13e9(0x88),_0x3a13e9(0x95),_0x3a13e9(0x83),_0x3a13e9(0x7e),_0x3a13e9(0x77),'\x20'];export class ScrollManager{[_0x3a13e9(0x90)];[_0x3a13e9(0x92)];[_0x3a13e9(0x80)];[_0x3a13e9(0x98)];[_0x3a13e9(0x91)];constructor(_0x28404f){const _0x258a8c=_0x3a13e9;this[_0x258a8c(0x90)]=_0x28404f,this[_0x258a8c(0x92)]=null,this[_0x258a8c(0x80)]=!0x1,this[_0x258a8c(0x98)]=new AbortController(),this[_0x258a8c(0x91)]=!0x1;for(const _0x49abed of Fs){const _0x3cff59=_0x258a8c(0x9a)!==_0x49abed;this[_0x258a8c(0x90)][_0x258a8c(0x81)](_0x49abed,this[_0x258a8c(0x7f)][_0x258a8c(0x7a)](this),{'passive':_0x3cff59,'signal':this[_0x258a8c(0x98)][_0x258a8c(0x8e)]});}}[_0x3a13e9(0x79)](){const _0x3f80e6=_0x3a13e9;this[_0x3f80e6(0x80)]||(this[_0x3f80e6(0x80)]=!0x0,this[_0x3f80e6(0x91)]=!0x1,this[_0x3f80e6(0x92)]=requestAnimationFrame(this[_0x3f80e6(0x8a)][_0x3f80e6(0x7a)](this)));}[_0x3a13e9(0x8d)](){requestAnimationFrame(()=>{const _0x18b0c7=_0x4623;this[_0x18b0c7(0x9f)]();});}[_0x3a13e9(0xa1)](){const _0xd11b35=_0x3a13e9;this[_0xd11b35(0x9f)](),this[_0xd11b35(0x98)][_0xd11b35(0x85)]();}[_0x3a13e9(0x9f)](){const _0x6ad147=_0x3a13e9;null!==this[_0x6ad147(0x92)]&&(cancelAnimationFrame(this[_0x6ad147(0x92)]),this[_0x6ad147(0x92)]=null),this[_0x6ad147(0x80)]&&(this[_0x6ad147(0x80)]=!0x1),this[_0x6ad147(0x91)]=!0x1;}[_0x3a13e9(0x7f)](_0x46e47b){const _0x16c404=_0x3a13e9;if(this[_0x16c404(0x80)]){if(_0x16c404(0x9a)===_0x46e47b[_0x16c404(0x7d)]){const _0x1aafdd=_0x46e47b[_0x16c404(0x96)];if(!Us[_0x16c404(0xa0)](_0x1aafdd))return;}_0x46e47b instanceof WheelEvent?_0x46e47b[_0x16c404(0x7b)]<0x0?this[_0x16c404(0x91)]=!0x0:this[_0x16c404(0x91)]=!this[_0x16c404(0x9e)]():this[_0x16c404(0x91)]=!0x0;}}[_0x3a13e9(0x9e)](){const _0x944806=_0x3a13e9,{scrollTop:_0x320480,scrollHeight:_0x18fa74,clientHeight:_0x272156}=this[_0x944806(0x90)];return _0x18fa74-_0x320480-_0x272156<=0x5;}[_0x3a13e9(0x8a)](){const _0x34eb3c=_0x3a13e9;this[_0x34eb3c(0x80)]&&(this[_0x34eb3c(0x91)]||this[_0x34eb3c(0x90)][_0x34eb3c(0x8b)]({'top':this[_0x34eb3c(0x90)][_0x34eb3c(0x9d)],'behavior':_0x34eb3c(0x84)}),this[_0x34eb3c(0x92)]=requestAnimationFrame(this[_0x34eb3c(0x8a)][_0x34eb3c(0x7a)](this)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x7910(_0x4c347e,_0x29975a){var _0x55dedf=_0x55de();return _0x7910=function(_0x791025,_0x1cec4c){_0x791025=_0x791025-0x69;var _0x4cb9a6=_0x55dedf[_0x791025];return _0x4cb9a6;},_0x7910(_0x4c347e,_0x29975a);}var _0x50b41d=_0x7910;(function(_0x1cf934,_0x141cbb){var _0x562993=_0x7910,_0xb8b49e=_0x1cf934();while(!![]){try{var _0x45b6dd=-parseInt(_0x562993(0x70))/0x1*(-parseInt(_0x562993(0x75))/0x2)+-parseInt(_0x562993(0x78))/0x3+-parseInt(_0x562993(0x6b))/0x4*(parseInt(_0x562993(0x6c))/0x5)+-parseInt(_0x562993(0x74))/0x6+parseInt(_0x562993(0x73))/0x7*(-parseInt(_0x562993(0x6d))/0x8)+-parseInt(_0x562993(0x6e))/0x9+parseInt(_0x562993(0x69))/0xa*(parseInt(_0x562993(0x76))/0xb);if(_0x45b6dd===_0x141cbb)break;else _0xb8b49e['push'](_0xb8b49e['shift']());}catch(_0x52c58e){_0xb8b49e['push'](_0xb8b49e['shift']());}}}(_0x55de,0x24f0b));import{Plugin as _0x2f8e43}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x51c722}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x1b7062}from'../aichat/aichatballoon.js';function _0x55de(){var _0x3cf03d=['2NopStD','5789872xPHYBl','pluginName','719943yTdVPZ','10vVAQrA','requires','52fXaIex','2995tXaXDH','168UASMjN','1317735PDysyk','isOfficialPlugin','298907PlZccd','AIEditorIntegration','isPremiumPlugin','49658teoUSi','784770GkeRUA'];_0x55de=function(){return _0x3cf03d;};return _0x55de();}import{SuggestionsConversion as _0x21a2f1}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x2f8e43{static get[_0x50b41d(0x6a)](){return[_0x51c722,_0x1b7062,_0x21a2f1];}static get[_0x50b41d(0x77)](){var _0x1d7eec=_0x50b41d;return _0x1d7eec(0x71);}static get[_0x50b41d(0x6f)](){return!0x0;}static get[_0x50b41d(0x72)](){return!0x0;}}
23
+ function _0x4170(_0x3828b3,_0x3df0fc){var _0x5442d4=_0x5442();return _0x4170=function(_0x41702d,_0x322d27){_0x41702d=_0x41702d-0x13c;var _0x448e27=_0x5442d4[_0x41702d];return _0x448e27;},_0x4170(_0x3828b3,_0x3df0fc);}var _0x43e275=_0x4170;(function(_0x1bbb64,_0x5ce8be){var _0x53e538=_0x4170,_0x2070e6=_0x1bbb64();while(!![]){try{var _0x56a9a0=-parseInt(_0x53e538(0x13f))/0x1*(-parseInt(_0x53e538(0x144))/0x2)+-parseInt(_0x53e538(0x13d))/0x3+parseInt(_0x53e538(0x142))/0x4+parseInt(_0x53e538(0x149))/0x5+parseInt(_0x53e538(0x140))/0x6+-parseInt(_0x53e538(0x13c))/0x7*(parseInt(_0x53e538(0x13e))/0x8)+-parseInt(_0x53e538(0x147))/0x9;if(_0x56a9a0===_0x5ce8be)break;else _0x2070e6['push'](_0x2070e6['shift']());}catch(_0x457a59){_0x2070e6['push'](_0x2070e6['shift']());}}}(_0x5442,0x347fc));import{Plugin as _0x5a6c4d}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x3b6c87}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x2f01c1}from'../aichat/aichatballoon.js';function _0x5442(){var _0x485bbe=['4852188loTPtO','isOfficialPlugin','1190250mFKUES','37919NcqBJv','383394uYNxRl','40qbiVjq','11xDPLep','1968390QolnGC','AIEditorIntegration','552596JXltgd','requires','37234zGXcvW','isPremiumPlugin','pluginName'];_0x5442=function(){return _0x485bbe;};return _0x5442();}import{SuggestionsConversion as _0x16a5e2}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x5a6c4d{static get[_0x43e275(0x143)](){return[_0x3b6c87,_0x2f01c1,_0x16a5e2];}static get[_0x43e275(0x146)](){var _0xd58547=_0x43e275;return _0xd58547(0x141);}static get[_0x43e275(0x148)](){return!0x0;}static get[_0x43e275(0x145)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34135a=_0x26c2;function _0x1dcf(){const _0x3705b3=['1056336EmOfCZ','isEnabled','734856AGuKRc','200384cUCqZC','36tIqruD','get','AIToggleButtonUI','isPremiumPlugin','toggleAi','requires','add','listenTo','2756169bbuXVn','value','menuBar:toggleAi','ck-ai-toggle-button','isOfficialPlugin','bind','locale','execute','7CzkyKf','AI_TOGGLE_BUTTON_LABEL','_createAIUIButton','isOn','484119gbOagi','3296LXulTN','911505FznOsf','componentFactory','pluginName','menuitemcheckbox','editor','set','init','commands'];_0x1dcf=function(){return _0x3705b3;};return _0x1dcf();}(function(_0x2109c5,_0x46b256){const _0x160c4a=_0x26c2,_0x5992de=_0x2109c5();while(!![]){try{const _0x484981=-parseInt(_0x160c4a(0xd8))/0x1*(parseInt(_0x160c4a(0xc3))/0x2)+-parseInt(_0x160c4a(0xd7))/0x3+-parseInt(_0x160c4a(0xc2))/0x4+parseInt(_0x160c4a(0xb7))/0x5+parseInt(_0x160c4a(0xbf))/0x6*(-parseInt(_0x160c4a(0xd3))/0x7)+parseInt(_0x160c4a(0xc1))/0x8+parseInt(_0x160c4a(0xcb))/0x9;if(_0x484981===_0x46b256)break;else _0x5992de['push'](_0x5992de['shift']());}catch(_0x517b12){_0x5992de['push'](_0x5992de['shift']());}}}(_0x1dcf,0x209aa));import{Plugin as _0x4fa658}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x3251ff}from'./toggleaicommand.js';import{ButtonView as _0x1ec7d1,MenuBarMenuListItemButtonView as _0x36e577}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x561762}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x375a8c}from'../../aicore/utils/common-translations.js';import{AITabs as _0x45276a}from'../../aitabs/aitabs.js';function _0x26c2(_0x2fbe2c,_0x5e1348){const _0x1dcf7c=_0x1dcf();return _0x26c2=function(_0x26c229,_0x32ba2b){_0x26c229=_0x26c229-0xb7;let _0x5e85a8=_0x1dcf7c[_0x26c229];return _0x5e85a8;},_0x26c2(_0x2fbe2c,_0x5e1348);}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x4fa658{static get[_0x34135a(0xc8)](){return[_0x45276a];}static get[_0x34135a(0xb9)](){const _0x51a5a8=_0x34135a;return _0x51a5a8(0xc5);}static get[_0x34135a(0xcf)](){return!0x0;}static get[_0x34135a(0xc6)](){return!0x0;}[_0x34135a(0xbd)](){const _0x29fc37=_0x34135a,_0x196dfc=this[_0x29fc37(0xbb)];_0x196dfc[_0x29fc37(0xbe)][_0x29fc37(0xc9)](_0x29fc37(0xc7),new _0x3251ff(_0x196dfc)),_0x196dfc['ui'][_0x29fc37(0xb8)][_0x29fc37(0xc9)](_0x29fc37(0xc7),()=>{const _0x51bbd4=_0x29fc37,_0x336d68=this[_0x51bbd4(0xd5)](_0x1ec7d1);return _0x336d68[_0x51bbd4(0xbc)]({'tooltip':!0x0,'class':_0x51bbd4(0xce)}),_0x336d68;}),_0x196dfc['ui'][_0x29fc37(0xb8)][_0x29fc37(0xc9)](_0x29fc37(0xcd),()=>{const _0x134e68=_0x29fc37,_0x9f5ea1=this[_0x134e68(0xd5)](_0x36e577);return _0x9f5ea1[_0x134e68(0xbc)]({'role':_0x134e68(0xba)}),_0x9f5ea1;});}[_0x34135a(0xd5)](_0x5bf1df){const _0xca162c=_0x34135a,_0x2d6cd0=this[_0xca162c(0xbb)],_0x2f753f=_0x2d6cd0[_0xca162c(0xbe)][_0xca162c(0xc4)](_0xca162c(0xc7)),_0x478959=new _0x5bf1df(_0x2d6cd0[_0xca162c(0xd1)]);return _0x478959[_0xca162c(0xbc)]({'label':_0x375a8c(_0x2d6cd0[_0xca162c(0xd1)],_0xca162c(0xd4)),'icon':_0x561762,'isToggleable':!0x0}),_0x478959[_0xca162c(0xd0)](_0xca162c(0xc0))['to'](_0x2f753f),_0x478959[_0xca162c(0xd0)](_0xca162c(0xd6))['to'](_0x2f753f,_0xca162c(0xcc),_0x1df95b=>!!_0x1df95b),this[_0xca162c(0xca)](_0x478959,_0xca162c(0xd2),()=>{const _0x249a57=_0xca162c;_0x2f753f[_0x249a57(0xd2)]();}),_0x478959;}}
23
+ const _0xad1a87=_0xd0a2;(function(_0xd1d8dd,_0x24c06a){const _0x3c5372=_0xd0a2,_0x551826=_0xd1d8dd();while(!![]){try{const _0x4b67ab=-parseInt(_0x3c5372(0xc9))/0x1*(parseInt(_0x3c5372(0xe6))/0x2)+parseInt(_0x3c5372(0xdc))/0x3+-parseInt(_0x3c5372(0xcb))/0x4*(-parseInt(_0x3c5372(0xda))/0x5)+-parseInt(_0x3c5372(0xc8))/0x6*(parseInt(_0x3c5372(0xca))/0x7)+parseInt(_0x3c5372(0xe2))/0x8+parseInt(_0x3c5372(0xcc))/0x9*(parseInt(_0x3c5372(0xd0))/0xa)+-parseInt(_0x3c5372(0xe5))/0xb;if(_0x4b67ab===_0x24c06a)break;else _0x551826['push'](_0x551826['shift']());}catch(_0x2b3d2b){_0x551826['push'](_0x551826['shift']());}}}(_0xdb34,0xb6134));import{Plugin as _0x4bab9c}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x2fc3fd}from'./toggleaicommand.js';function _0xd0a2(_0x3caed6,_0x5a6adf){const _0xdb3455=_0xdb34();return _0xd0a2=function(_0xd0a276,_0x2925b7){_0xd0a276=_0xd0a276-0xc4;let _0x13d579=_0xdb3455[_0xd0a276];return _0x13d579;},_0xd0a2(_0x3caed6,_0x5a6adf);}import{ButtonView as _0x4d5a00,MenuBarMenuListItemButtonView as _0x55f172}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x30cd3b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x234de7}from'../../aicore/utils/common-translations.js';import{AITabs as _0x2f91c4}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x4bab9c{static get[_0xad1a87(0xd7)](){return[_0x2f91c4];}static get[_0xad1a87(0xc5)](){const _0x1e8d32=_0xad1a87;return _0x1e8d32(0xc6);}static get[_0xad1a87(0xde)](){return!0x0;}static get[_0xad1a87(0xd9)](){return!0x0;}[_0xad1a87(0xcf)](){const _0x1a21ab=_0xad1a87,_0x1dec91=this[_0x1a21ab(0xd2)];_0x1dec91[_0x1a21ab(0xcd)][_0x1a21ab(0xc4)](_0x1a21ab(0xe7),new _0x2fc3fd(_0x1dec91)),_0x1dec91['ui'][_0x1a21ab(0xd1)][_0x1a21ab(0xc4)](_0x1a21ab(0xe7),()=>{const _0x1e8750=_0x1a21ab,_0xea3b9f=this[_0x1e8750(0xd6)](_0x4d5a00);return _0xea3b9f[_0x1e8750(0xd3)]({'tooltip':!0x0,'class':_0x1e8750(0xdb)}),_0xea3b9f;}),_0x1dec91['ui'][_0x1a21ab(0xd1)][_0x1a21ab(0xc4)](_0x1a21ab(0xe3),()=>{const _0x1eb63e=_0x1a21ab,_0x498f3a=this[_0x1eb63e(0xd6)](_0x55f172);return _0x498f3a[_0x1eb63e(0xd3)]({'role':_0x1eb63e(0xd5)}),_0x498f3a;});}[_0xad1a87(0xd6)](_0x480b29){const _0x5f137a=_0xad1a87,_0xb5d7a5=this[_0x5f137a(0xd2)],_0x340ff6=_0xb5d7a5[_0x5f137a(0xcd)][_0x5f137a(0xe0)](_0x5f137a(0xe7)),_0x1a2a65=new _0x480b29(_0xb5d7a5[_0x5f137a(0xc7)]);return _0x1a2a65[_0x5f137a(0xd3)]({'label':_0x234de7(_0xb5d7a5[_0x5f137a(0xc7)],_0x5f137a(0xe4)),'icon':_0x30cd3b,'isToggleable':!0x0}),_0x1a2a65[_0x5f137a(0xce)](_0x5f137a(0xdd))['to'](_0x340ff6),_0x1a2a65[_0x5f137a(0xce)](_0x5f137a(0xdf))['to'](_0x340ff6,_0x5f137a(0xd8),_0x1f6473=>!!_0x1f6473),this[_0x5f137a(0xe1)](_0x1a2a65,_0x5f137a(0xd4),()=>{const _0x4da926=_0x5f137a;_0x340ff6[_0x4da926(0xd4)]();}),_0x1a2a65;}}function _0xdb34(){const _0xc361ce=['ck-ai-toggle-button','2073459nStaPk','isEnabled','isOfficialPlugin','isOn','get','listenTo','4638384bcEuAO','menuBar:toggleAi','AI_TOGGLE_BUTTON_LABEL','12707013umtwTV','49046uvtzmj','toggleAi','add','pluginName','AIToggleButtonUI','locale','42JLvNcV','4AuBlfk','1032703oklwIv','3175632ciKFia','27981jdTCBR','commands','bind','init','3110qkyDLL','componentFactory','editor','set','execute','menuitemcheckbox','_createAIUIButton','requires','value','isPremiumPlugin','5wkJEcj'];_0xdb34=function(){return _0xc361ce;};return _0xdb34();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42b4d6=_0x55d7;(function(_0x144e7c,_0x5da22f){const _0x3754c6=_0x55d7,_0x42ed91=_0x144e7c();while(!![]){try{const _0x85ea0e=parseInt(_0x3754c6(0x135))/0x1*(parseInt(_0x3754c6(0x134))/0x2)+parseInt(_0x3754c6(0x138))/0x3+-parseInt(_0x3754c6(0x12d))/0x4+parseInt(_0x3754c6(0x136))/0x5*(-parseInt(_0x3754c6(0x13b))/0x6)+parseInt(_0x3754c6(0x12b))/0x7+parseInt(_0x3754c6(0x130))/0x8*(parseInt(_0x3754c6(0x133))/0x9)+parseInt(_0x3754c6(0x12f))/0xa*(-parseInt(_0x3754c6(0x137))/0xb);if(_0x85ea0e===_0x5da22f)break;else _0x42ed91['push'](_0x42ed91['shift']());}catch(_0x59af49){_0x42ed91['push'](_0x42ed91['shift']());}}}(_0x2570,0xb5aca));function _0x2570(){const _0x4d19c7=['13305087JLxXEp','122cqJmbY','19528foxtph','885UHJjvW','3377TfgZXN','2319954GMSdac','plugins','value','16554ySAoet','editor','isVisible','execute','get','5347321duqsxm','view','2592608hPpzTo','bind','75770pSkpJf','8CwCoLt','isEnabled','AITabs'];_0x2570=function(){return _0x4d19c7;};return _0x2570();}import{Command as _0xfbc57f}from'ckeditor5/src/core.js';function _0x55d7(_0xe92c56,_0x24b259){const _0x257006=_0x2570();return _0x55d7=function(_0x55d7d0,_0x2ae7e7){_0x55d7d0=_0x55d7d0-0x12a;let _0x58ae77=_0x257006[_0x55d7d0];return _0x58ae77;},_0x55d7(_0xe92c56,_0x24b259);}export class ToggleAICommand extends _0xfbc57f{constructor(_0x39def3){const _0x2d48c2=_0x55d7;super(_0x39def3);const _0x134264=_0x39def3[_0x2d48c2(0x139)][_0x2d48c2(0x12a)](_0x2d48c2(0x132))[_0x2d48c2(0x12c)];this[_0x2d48c2(0x12e)](_0x2d48c2(0x13a))['to'](_0x134264,_0x2d48c2(0x13d)),this[_0x2d48c2(0x131)]=!0x0;}[_0x42b4d6(0x13e)](){const _0x1f1ae5=_0x42b4d6,_0x1ca24b=this[_0x1f1ae5(0x13c)][_0x1f1ae5(0x139)][_0x1f1ae5(0x12a)](_0x1f1ae5(0x132))[_0x1f1ae5(0x12c)];_0x1ca24b[_0x1f1ae5(0x13d)]=!_0x1ca24b[_0x1f1ae5(0x13d)];}}
23
+ function _0x3bca(_0x1082a6,_0xcc6e4c){const _0x3c37e2=_0x3c37();return _0x3bca=function(_0x3bca0d,_0x1e7c0d){_0x3bca0d=_0x3bca0d-0x1bf;let _0x30e410=_0x3c37e2[_0x3bca0d];return _0x30e410;},_0x3bca(_0x1082a6,_0xcc6e4c);}const _0x4b24de=_0x3bca;function _0x3c37(){const _0xdffa1f=['bind','35oHeoST','execute','value','editor','isEnabled','12160400ZyWBHF','1RpPsYo','AITabs','isVisible','6HatnTP','1286327OdofQU','346914fJIuFl','plugins','2491144FRwtDM','get','858411xeRAaJ','view','576812mXtIFY','1180616xTqOnQ'];_0x3c37=function(){return _0xdffa1f;};return _0x3c37();}(function(_0x247f0b,_0x8d567d){const _0x483ad6=_0x3bca,_0x43812f=_0x247f0b();while(!![]){try{const _0x45e56d=-parseInt(_0x483ad6(0x1ce))/0x1*(-parseInt(_0x483ad6(0x1c6))/0x2)+-parseInt(_0x483ad6(0x1bf))/0x3+parseInt(_0x483ad6(0x1c5))/0x4*(-parseInt(_0x483ad6(0x1c8))/0x5)+parseInt(_0x483ad6(0x1d1))/0x6*(-parseInt(_0x483ad6(0x1d2))/0x7)+parseInt(_0x483ad6(0x1c1))/0x8+-parseInt(_0x483ad6(0x1c3))/0x9+parseInt(_0x483ad6(0x1cd))/0xa;if(_0x45e56d===_0x8d567d)break;else _0x43812f['push'](_0x43812f['shift']());}catch(_0x152709){_0x43812f['push'](_0x43812f['shift']());}}}(_0x3c37,0xae346));import{Command as _0x23eee6}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x23eee6{constructor(_0x3db751){const _0x4f547a=_0x3bca;super(_0x3db751);const _0x1ae9d8=_0x3db751[_0x4f547a(0x1c0)][_0x4f547a(0x1c2)](_0x4f547a(0x1cf))[_0x4f547a(0x1c4)];this[_0x4f547a(0x1c7)](_0x4f547a(0x1ca))['to'](_0x1ae9d8,_0x4f547a(0x1d0)),this[_0x4f547a(0x1cc)]=!0x0;}[_0x4b24de(0x1c9)](){const _0x39b034=_0x4b24de,_0x44f104=this[_0x39b034(0x1cb)][_0x39b034(0x1c0)][_0x39b034(0x1c2)](_0x39b034(0x1cf))[_0x39b034(0x1c4)];_0x44f104[_0x39b034(0x1d0)]=!_0x44f104[_0x39b034(0x1d0)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x22f8(_0x5c5917,_0x4e8844){var _0x479d1c=_0x479d();return _0x22f8=function(_0x22f8ed,_0x162948){_0x22f8ed=_0x22f8ed-0x1b9;var _0x34354a=_0x479d1c[_0x22f8ed];return _0x34354a;},_0x22f8(_0x5c5917,_0x4e8844);}var _0x3bf466=_0x22f8;(function(_0x40ae3c,_0x4a470d){var _0x234311=_0x22f8,_0xe246d8=_0x40ae3c();while(!![]){try{var _0x406696=-parseInt(_0x234311(0x1b9))/0x1+-parseInt(_0x234311(0x1c8))/0x2*(-parseInt(_0x234311(0x1bb))/0x3)+-parseInt(_0x234311(0x1ca))/0x4*(parseInt(_0x234311(0x1c1))/0x5)+-parseInt(_0x234311(0x1c4))/0x6+parseInt(_0x234311(0x1bc))/0x7+-parseInt(_0x234311(0x1be))/0x8+parseInt(_0x234311(0x1ba))/0x9*(parseInt(_0x234311(0x1c6))/0xa);if(_0x406696===_0x4a470d)break;else _0xe246d8['push'](_0xe246d8['shift']());}catch(_0x4c05ec){_0xe246d8['push'](_0xe246d8['shift']());}}}(_0x479d,0x51aca));import{Plugin as _0xd52d65}from'ckeditor5/src/core.js';function _0x479d(){var _0x562faa=['1728430MODYve','isPremiumPlugin','180904kUXXuA','pluginName','45420beJjhU','319711wNYuWI','63rPABMl','12csalcM','705789bUQBSX','isOfficialPlugin','1769816iOAcxj','define','config','265qjhjcj','AIQuickActions','ai.quickActions','1171470UiWknD','requires'];_0x479d=function(){return _0x562faa;};return _0x479d();}import{AIQuickActionsUI as _0x305d61}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x20417f}from'./aiquickactionsediting.js';import{AIActions as _0x33beb8}from'../aiactions/aiactions.js';export class AIQuickActions extends _0xd52d65{static get[_0x3bf466(0x1c5)](){return[_0x305d61,_0x20417f,_0x33beb8];}static get[_0x3bf466(0x1c9)](){var _0x22e9a5=_0x3bf466;return _0x22e9a5(0x1c2);}static get[_0x3bf466(0x1bd)](){return!0x0;}static get[_0x3bf466(0x1c7)](){return!0x0;}constructor(_0x142adb){var _0x2a7d10=_0x3bf466;super(_0x142adb),_0x142adb[_0x2a7d10(0x1c0)][_0x2a7d10(0x1bf)](_0x2a7d10(0x1c3),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
23
+ function _0x94c1(_0x36ee5c,_0x2a9b62){var _0x9a5572=_0x9a55();return _0x94c1=function(_0x94c1f7,_0x574ed2){_0x94c1f7=_0x94c1f7-0x131;var _0x47d79d=_0x9a5572[_0x94c1f7];return _0x47d79d;},_0x94c1(_0x36ee5c,_0x2a9b62);}var _0x1f02e3=_0x94c1;(function(_0x2d4b24,_0x3c4114){var _0x31617a=_0x94c1,_0x52fcf3=_0x2d4b24();while(!![]){try{var _0x51c541=parseInt(_0x31617a(0x13f))/0x1*(-parseInt(_0x31617a(0x144))/0x2)+-parseInt(_0x31617a(0x135))/0x3+parseInt(_0x31617a(0x13d))/0x4*(parseInt(_0x31617a(0x133))/0x5)+parseInt(_0x31617a(0x13b))/0x6*(-parseInt(_0x31617a(0x139))/0x7)+-parseInt(_0x31617a(0x13a))/0x8*(-parseInt(_0x31617a(0x143))/0x9)+parseInt(_0x31617a(0x131))/0xa*(-parseInt(_0x31617a(0x140))/0xb)+parseInt(_0x31617a(0x134))/0xc;if(_0x51c541===_0x3c4114)break;else _0x52fcf3['push'](_0x52fcf3['shift']());}catch(_0x57ace3){_0x52fcf3['push'](_0x52fcf3['shift']());}}}(_0x9a55,0xf0de8));import{Plugin as _0x547385}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x4fa7d1}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0xca1bc5}from'./aiquickactionsediting.js';function _0x9a55(){var _0x13d5e2=['60TfzqEj','AIQuickActions','3369805bPdVQu','1386048Ytadze','1113231JBZYsc','isPremiumPlugin','pluginName','define','14vSyYWF','8QkmjUI','208722Icrhcx','config','4jsZipB','ai.quickActions','18451TATxgw','80641RdmDaK','isOfficialPlugin','requires','10287423oSeEBC','50mousBB'];_0x9a55=function(){return _0x13d5e2;};return _0x9a55();}import{AIActions as _0x4a8a37}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x547385{static get[_0x1f02e3(0x142)](){return[_0x4fa7d1,_0xca1bc5,_0x4a8a37];}static get[_0x1f02e3(0x137)](){var _0x36522b=_0x1f02e3;return _0x36522b(0x132);}static get[_0x1f02e3(0x141)](){return!0x0;}static get[_0x1f02e3(0x136)](){return!0x0;}constructor(_0x18041d){var _0x24531f=_0x1f02e3;super(_0x18041d),_0x18041d[_0x24531f(0x13c)][_0x24531f(0x138)](_0x24531f(0x13e),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1dd42a=_0x40c4;(function(_0x47eb01,_0x981f27){const _0x5d1522=_0x40c4,_0x562d8c=_0x47eb01();while(!![]){try{const _0x1e30b7=parseInt(_0x5d1522(0x118))/0x1*(-parseInt(_0x5d1522(0xf6))/0x2)+-parseInt(_0x5d1522(0xf2))/0x3+-parseInt(_0x5d1522(0x110))/0x4*(-parseInt(_0x5d1522(0xf0))/0x5)+-parseInt(_0x5d1522(0x122))/0x6+-parseInt(_0x5d1522(0x125))/0x7+-parseInt(_0x5d1522(0x119))/0x8*(parseInt(_0x5d1522(0xfb))/0x9)+parseInt(_0x5d1522(0x124))/0xa;if(_0x1e30b7===_0x981f27)break;else _0x562d8c['push'](_0x562d8c['shift']());}catch(_0x44626f){_0x562d8c['push'](_0x562d8c['shift']());}}}(_0x4703,0xc2622));import{Command as _0x418211}from'ckeditor5/src/core.js';import{CKEditorError as _0x3d54d9,first as _0x9145b7}from'ckeditor5/src/utils.js';function _0x40c4(_0x210f1e,_0x5d5e2a){const _0x47039c=_0x4703();return _0x40c4=function(_0x40c403,_0xc76e51){_0x40c403=_0x40c403-0xed;let _0x2d4e13=_0x47039c[_0x40c403];return _0x2d4e13;},_0x40c4(_0x210f1e,_0x5d5e2a);}import{AIQuickActionType as _0x1f3c2b}from'./aiquickactionsui.js';import{getTranslation as _0x1f6801}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x418211{[_0x1dd42a(0x101)](_0x2a7337){const _0x446204=_0x1dd42a;switch(this[_0x446204(0x123)](),_0x2a7337[_0x446204(0x10f)]){case _0x1f3c2b[_0x446204(0x109)]:if(!this[_0x446204(0x103)][_0x446204(0xf7)][_0x446204(0x111)](_0x446204(0x129))){const _0x31148e=_0x1f6801(this[_0x446204(0x103)][_0x446204(0x11d)],_0x446204(0x121),_0x446204(0x129));throw new _0x3d54d9(_0x446204(0xed),this[_0x446204(0x103)],{'errorMessage':_0x31148e});}this[_0x446204(0xfc)](_0x2a7337);break;case _0x1f3c2b[_0x446204(0xfa)]:if(!this[_0x446204(0x103)][_0x446204(0xf7)][_0x446204(0x111)](_0x446204(0x11a))){const _0x3faf20=_0x1f6801(this[_0x446204(0x103)][_0x446204(0x11d)],_0x446204(0x121),_0x446204(0x11a));throw new _0x3d54d9(_0x446204(0xed),this[_0x446204(0x103)],{'errorMessage':_0x3faf20});}this[_0x446204(0x10d)](_0x2a7337);break;case _0x1f3c2b[_0x446204(0x10c)]:if(!this[_0x446204(0x103)][_0x446204(0xf7)][_0x446204(0x111)](_0x446204(0x108))){const _0x723d5e=_0x1f6801(this[_0x446204(0x103)][_0x446204(0x11d)],_0x446204(0x121),_0x446204(0x108));throw new _0x3d54d9(_0x446204(0xed),this[_0x446204(0x103)],{'errorMessage':_0x723d5e});}this[_0x446204(0xf4)](_0x2a7337);}}async[_0x1dd42a(0xfc)](_0x5cf097){const _0x35bbd5=_0x1dd42a,_0x32f239=this[_0x35bbd5(0x103)][_0x35bbd5(0xf7)][_0x35bbd5(0x10e)](_0x35bbd5(0x129)),_0x6c4187=this[_0x35bbd5(0x103)][_0x35bbd5(0xf7)][_0x35bbd5(0x10e)](_0x35bbd5(0xf1)),_0x819bb7=this[_0x35bbd5(0x103)][_0x35bbd5(0xf7)][_0x35bbd5(0x10e)](_0x35bbd5(0xf8))[_0x35bbd5(0x114)];if(_0x819bb7[_0x35bbd5(0x117)]||(_0x819bb7[_0x35bbd5(0x117)]=!0x0),_0x35bbd5(0x11c)!==_0x819bb7[_0x35bbd5(0x12a)]&&_0x819bb7[_0x35bbd5(0x100)](_0x35bbd5(0x11c)),_0x35bbd5(0x113)===_0x5cf097['id'])_0x6c4187[_0x35bbd5(0xef)](),await _0x32f239[_0x35bbd5(0x127)](),_0x32f239[_0x35bbd5(0x115)]();else await _0x32f239[_0x35bbd5(0x10b)](),_0x6c4187[_0x35bbd5(0xef)](),await _0x32f239[_0x35bbd5(0x127)](),_0x32f239[_0x35bbd5(0x115)](),await _0x32f239[_0x35bbd5(0xff)]({'message':_0x5cf097[_0x35bbd5(0x11b)]||_0x5cf097[_0x35bbd5(0x128)],'attributes':{'quickActionData':{'id':_0x5cf097['id']},'displayedPrompt':_0x5cf097[_0x35bbd5(0x128)]}});}[_0x1dd42a(0x123)](){const _0x3fc7df=_0x1dd42a,_0x3ad438=this[_0x3fc7df(0x103)],_0x4790df=_0x3ad438[_0x3fc7df(0x126)][_0x3fc7df(0x11e)][_0x3fc7df(0x120)];if(!_0x4790df[_0x3fc7df(0xee)])return;const _0x175b50=_0x9145b7(_0x4790df[_0x3fc7df(0x10a)]())||_0x3ad438[_0x3fc7df(0x126)][_0x3fc7df(0x107)][_0x3fc7df(0x112)](_0x4790df);_0x3ad438[_0x3fc7df(0x126)][_0x3fc7df(0x105)](_0x4e44c9=>{const _0x1423c2=_0x3fc7df;_0x4e44c9[_0x1423c2(0x12b)](_0x175b50,'in');});}[_0x1dd42a(0xfe)](_0x501623){const _0x372796=_0x1dd42a;return _0x501623[_0x372796(0x102)]?.[_0x372796(0x104)]&&_0x372796(0xf5)!==_0x501623[_0x372796(0x102)]?.['id']?_0x501623[_0x372796(0x102)][_0x372796(0x104)]+':\x20'+_0x501623[_0x372796(0x128)]:_0x501623[_0x372796(0x128)];}async[_0x1dd42a(0x10d)](_0x467aef){const _0x2a899c=_0x1dd42a,_0x371d99=this[_0x2a899c(0x103)][_0x2a899c(0xf7)][_0x2a899c(0x10e)](_0x2a899c(0x11a)),_0x581979=_0x467aef[_0x2a899c(0x11b)]?{'userMessage':_0x467aef[_0x2a899c(0x11b)],'model':_0x467aef[_0x2a899c(0x126)]}:{'actionName':_0x467aef[_0x2a899c(0xf3)]||_0x467aef['id'],'args':_0x467aef[_0x2a899c(0x11f)]},_0x466bf4=this[_0x2a899c(0xfe)](_0x467aef);await _0x371d99[_0x2a899c(0x116)](_0x581979,_0x466bf4,_0x467aef[_0x2a899c(0xfd)]);}async[_0x1dd42a(0xf4)](_0x3cc549){const _0x1f6d63=_0x1dd42a;console[_0x1f6d63(0xf9)](_0x1f6d63(0x106),_0x3cc549);}}function _0x4703(){const _0x398a83=['_handleAIActionsAction','get','type','36cWhdHm','has','getLimitElement','ask-ai','view','focusPromptInput','executeAction','isVisible','17171ZzfkaH','20376GnOZWf','AIActions','prompt','chat','locale','document','args','selection','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','165978dpkamn','_expandSelectionIfCollapsed','36275980PZSrWA','3330117epWPJh','model','addSelectionToChatContext','displayedPrompt','AIChat','activeTab','setSelection','ai-quick-actions-plugin-not-found','isCollapsed','removeSelectionFromChatContext','873530PDimcN','AIChatController','4738365IyavZl','actionName','_handleAIReviewAction','other','184xEQoRr','plugins','AITabs','log','ACTION','2619kNLaiM','_handleAIChatAction','icon','_handleAIActionsActionLabel','sendMessage','activateTab','execute','parent','editor','label','change','handleAIReviewAction','schema','AIReviewMode','CHAT','getSelectedBlocks','startConversation','REVIEW'];_0x4703=function(){return _0x398a83;};return _0x4703();}
23
+ const _0x38de5d=_0xcb75;function _0xcb75(_0x5823b8,_0x2db633){const _0x418e9d=_0x418e();return _0xcb75=function(_0xcb751c,_0x2d9ca0){_0xcb751c=_0xcb751c-0x14c;let _0x6475db=_0x418e9d[_0xcb751c];return _0x6475db;},_0xcb75(_0x5823b8,_0x2db633);}(function(_0x3490fd,_0x566bfb){const _0x59025e=_0xcb75,_0x10cbf5=_0x3490fd();while(!![]){try{const _0x386297=parseInt(_0x59025e(0x181))/0x1*(-parseInt(_0x59025e(0x16c))/0x2)+parseInt(_0x59025e(0x155))/0x3*(-parseInt(_0x59025e(0x163))/0x4)+parseInt(_0x59025e(0x17b))/0x5*(parseInt(_0x59025e(0x167))/0x6)+-parseInt(_0x59025e(0x159))/0x7+parseInt(_0x59025e(0x189))/0x8+parseInt(_0x59025e(0x18a))/0x9+parseInt(_0x59025e(0x168))/0xa*(-parseInt(_0x59025e(0x162))/0xb);if(_0x386297===_0x566bfb)break;else _0x10cbf5['push'](_0x10cbf5['shift']());}catch(_0x9f76ea){_0x10cbf5['push'](_0x10cbf5['shift']());}}}(_0x418e,0x8d845));import{Command as _0x4aaee1}from'ckeditor5/src/core.js';function _0x418e(){const _0x30c1c3=['change','sendMessage','AIChat','4riPlkP','execute','label','ai-quick-actions-plugin-not-found','activeTab','icon','_expandSelectionIfCollapsed','view','executeAction','_handleAIActionsActionLabel','schema','other','_handleAIChatAction','AIActions','plugins','5YueLxh','focusPromptInput','model','getSelectedBlocks','get','type','133272rshkml','CHAT','parent','removeSelectionFromChatContext','selection','isCollapsed','args','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','5924576ltmrIu','4654917Necijk','activateTab','document','_handleAIActionsAction','getLimitElement','AIReviewMode','AIChatController','editor','startConversation','ACTION','chat','19749VDQVkU','actionName','REVIEW','displayedPrompt','884030mCUKwy','handleAIReviewAction','log','addSelectionToChatContext','AITabs','locale','ask-ai','setSelection','has','120131rYnGSz','292uVQCaT','isVisible','prompt','_handleAIReviewAction','6020490BuvHTw','740FceoHx'];_0x418e=function(){return _0x30c1c3;};return _0x418e();}import{CKEditorError as _0x364cba,first as _0x1547d1}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x16ae25}from'./aiquickactionsui.js';import{getTranslation as _0x3d22d3}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x4aaee1{[_0x38de5d(0x16d)](_0x443820){const _0x1b94f3=_0x38de5d;switch(this[_0x1b94f3(0x172)](),_0x443820[_0x1b94f3(0x180)]){case _0x16ae25[_0x1b94f3(0x182)]:if(!this[_0x1b94f3(0x151)][_0x1b94f3(0x17a)][_0x1b94f3(0x161)](_0x1b94f3(0x16b))){const _0x5540f2=_0x3d22d3(this[_0x1b94f3(0x151)][_0x1b94f3(0x15e)],_0x1b94f3(0x188),_0x1b94f3(0x16b));throw new _0x364cba(_0x1b94f3(0x16f),this[_0x1b94f3(0x151)],{'errorMessage':_0x5540f2});}this[_0x1b94f3(0x178)](_0x443820);break;case _0x16ae25[_0x1b94f3(0x153)]:if(!this[_0x1b94f3(0x151)][_0x1b94f3(0x17a)][_0x1b94f3(0x161)](_0x1b94f3(0x179))){const _0x38d516=_0x3d22d3(this[_0x1b94f3(0x151)][_0x1b94f3(0x15e)],_0x1b94f3(0x188),_0x1b94f3(0x179));throw new _0x364cba(_0x1b94f3(0x16f),this[_0x1b94f3(0x151)],{'errorMessage':_0x38d516});}this[_0x1b94f3(0x14d)](_0x443820);break;case _0x16ae25[_0x1b94f3(0x157)]:if(!this[_0x1b94f3(0x151)][_0x1b94f3(0x17a)][_0x1b94f3(0x161)](_0x1b94f3(0x14f))){const _0x3eb8f5=_0x3d22d3(this[_0x1b94f3(0x151)][_0x1b94f3(0x15e)],_0x1b94f3(0x188),_0x1b94f3(0x14f));throw new _0x364cba(_0x1b94f3(0x16f),this[_0x1b94f3(0x151)],{'errorMessage':_0x3eb8f5});}this[_0x1b94f3(0x166)](_0x443820);}}async[_0x38de5d(0x178)](_0x3896f0){const _0x175b5a=_0x38de5d,_0x5ef1ba=this[_0x175b5a(0x151)][_0x175b5a(0x17a)][_0x175b5a(0x17f)](_0x175b5a(0x16b)),_0x37a3e3=this[_0x175b5a(0x151)][_0x175b5a(0x17a)][_0x175b5a(0x17f)](_0x175b5a(0x150)),_0x4892c6=this[_0x175b5a(0x151)][_0x175b5a(0x17a)][_0x175b5a(0x17f)](_0x175b5a(0x15d))[_0x175b5a(0x173)];if(_0x4892c6[_0x175b5a(0x164)]||(_0x4892c6[_0x175b5a(0x164)]=!0x0),_0x175b5a(0x154)!==_0x4892c6[_0x175b5a(0x170)]&&_0x4892c6[_0x175b5a(0x18b)](_0x175b5a(0x154)),_0x175b5a(0x15f)===_0x3896f0['id'])_0x37a3e3[_0x175b5a(0x184)](),await _0x5ef1ba[_0x175b5a(0x15c)](),_0x5ef1ba[_0x175b5a(0x17c)]();else await _0x5ef1ba[_0x175b5a(0x152)](),_0x37a3e3[_0x175b5a(0x184)](),await _0x5ef1ba[_0x175b5a(0x15c)](),_0x5ef1ba[_0x175b5a(0x17c)](),await _0x5ef1ba[_0x175b5a(0x16a)]({'message':_0x3896f0[_0x175b5a(0x165)]||_0x3896f0[_0x175b5a(0x158)],'attributes':{'quickActionData':{'id':_0x3896f0['id']},'displayedPrompt':_0x3896f0[_0x175b5a(0x158)]}});}[_0x38de5d(0x172)](){const _0x2aa39e=_0x38de5d,_0x30dd7e=this[_0x2aa39e(0x151)],_0x5f24dd=_0x30dd7e[_0x2aa39e(0x17d)][_0x2aa39e(0x14c)][_0x2aa39e(0x185)];if(!_0x5f24dd[_0x2aa39e(0x186)])return;const _0x5c6cd7=_0x1547d1(_0x5f24dd[_0x2aa39e(0x17e)]())||_0x30dd7e[_0x2aa39e(0x17d)][_0x2aa39e(0x176)][_0x2aa39e(0x14e)](_0x5f24dd);_0x30dd7e[_0x2aa39e(0x17d)][_0x2aa39e(0x169)](_0x207559=>{const _0x1d8aae=_0x2aa39e;_0x207559[_0x1d8aae(0x160)](_0x5c6cd7,'in');});}[_0x38de5d(0x175)](_0x297089){const _0x4710f1=_0x38de5d;return _0x297089[_0x4710f1(0x183)]?.[_0x4710f1(0x16e)]&&_0x4710f1(0x177)!==_0x297089[_0x4710f1(0x183)]?.['id']?_0x297089[_0x4710f1(0x183)][_0x4710f1(0x16e)]+':\x20'+_0x297089[_0x4710f1(0x158)]:_0x297089[_0x4710f1(0x158)];}async[_0x38de5d(0x14d)](_0x32ab0b){const _0x2de1ae=_0x38de5d,_0x547f9e=this[_0x2de1ae(0x151)][_0x2de1ae(0x17a)][_0x2de1ae(0x17f)](_0x2de1ae(0x179)),_0x191a02=_0x32ab0b[_0x2de1ae(0x165)]?{'userMessage':_0x32ab0b[_0x2de1ae(0x165)],'model':_0x32ab0b[_0x2de1ae(0x17d)]}:{'actionName':_0x32ab0b[_0x2de1ae(0x156)]||_0x32ab0b['id'],'args':_0x32ab0b[_0x2de1ae(0x187)]},_0x35633d=this[_0x2de1ae(0x175)](_0x32ab0b);await _0x547f9e[_0x2de1ae(0x174)](_0x191a02,_0x35633d,_0x32ab0b[_0x2de1ae(0x171)]);}async[_0x38de5d(0x166)](_0x333179){const _0x3b3e1c=_0x38de5d;console[_0x3b3e1c(0x15b)](_0x3b3e1c(0x15a),_0x333179);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56798a=_0x5991;(function(_0x16adfc,_0x277574){const _0x2c4dad=_0x5991,_0x69c743=_0x16adfc();while(!![]){try{const _0x26e9ba=parseInt(_0x2c4dad(0xea))/0x1+-parseInt(_0x2c4dad(0xf3))/0x2*(-parseInt(_0x2c4dad(0xe4))/0x3)+parseInt(_0x2c4dad(0xdc))/0x4*(-parseInt(_0x2c4dad(0xe7))/0x5)+parseInt(_0x2c4dad(0xe6))/0x6+-parseInt(_0x2c4dad(0xde))/0x7+parseInt(_0x2c4dad(0xee))/0x8+-parseInt(_0x2c4dad(0xe2))/0x9;if(_0x26e9ba===_0x277574)break;else _0x69c743['push'](_0x69c743['shift']());}catch(_0x329387){_0x69c743['push'](_0x69c743['shift']());}}}(_0x362b,0xcdf90));import{Plugin as _0x4952c2}from'ckeditor5/src/core.js';function _0x5991(_0x4d0b0e,_0xd0ee5a){const _0x362bdd=_0x362b();return _0x5991=function(_0x59911e,_0x2364af){_0x59911e=_0x59911e-0xda;let _0x49e09a=_0x362bdd[_0x59911e];return _0x49e09a;},_0x5991(_0x4d0b0e,_0xd0ee5a);}function _0x362b(){const _0x618483=['removeSelectionFromChatContext','121245LkrDDY','directChange','10034286yyhsVO','23540ifToOI','editor','has','873399LFOeDk','pluginName','AIQuickActionsEditing','change:range','1713136ypQzSJ','plugins','selection','AIChat','document','14DADjhH','isPremiumPlugin','get','add','init','1072hvfjVA','model','312970XTxcsR','commands','aiQuickAction','isOfficialPlugin','8034381zwLwHa'];_0x362b=function(){return _0x618483;};return _0x362b();}import{AIQuickActionsCommand as _0x194e04}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x4952c2{static get[_0x56798a(0xeb)](){const _0x1e57bf=_0x56798a;return _0x1e57bf(0xec);}static get[_0x56798a(0xe1)](){return!0x0;}static get[_0x56798a(0xf4)](){return!0x0;}[_0x56798a(0xdb)](){const _0x507ace=_0x56798a,_0x37d798=this[_0x507ace(0xe8)],_0x4b1d74=new _0x194e04(this[_0x507ace(0xe8)]);if(_0x37d798[_0x507ace(0xdf)][_0x507ace(0xda)](_0x507ace(0xe0),_0x4b1d74),_0x37d798[_0x507ace(0xef)][_0x507ace(0xe9)](_0x507ace(0xf1))){const _0x1cf946=this[_0x507ace(0xe8)][_0x507ace(0xef)][_0x507ace(0xf5)](_0x507ace(0xf1));_0x37d798[_0x507ace(0xdd)][_0x507ace(0xf2)][_0x507ace(0xf0)]['on'](_0x507ace(0xed),(_0x6e263,_0x46c64e)=>{const _0x437cee=_0x507ace;_0x46c64e[_0x437cee(0xe5)]&&_0x1cf946[_0x437cee(0xe3)]();});}}}
23
+ const _0x3f61c6=_0x3333;function _0x3333(_0xd5342b,_0x31b29c){const _0xc7e99e=_0xc7e9();return _0x3333=function(_0x3333dd,_0x4669d7){_0x3333dd=_0x3333dd-0x161;let _0x2ad7a7=_0xc7e99e[_0x3333dd];return _0x2ad7a7;},_0x3333(_0xd5342b,_0x31b29c);}(function(_0x387152,_0x93f8e0){const _0x6426ae=_0x3333,_0xda91d8=_0x387152();while(!![]){try{const _0x261bf6=parseInt(_0x6426ae(0x164))/0x1+-parseInt(_0x6426ae(0x16e))/0x2*(parseInt(_0x6426ae(0x177))/0x3)+parseInt(_0x6426ae(0x17e))/0x4+-parseInt(_0x6426ae(0x163))/0x5*(-parseInt(_0x6426ae(0x17b))/0x6)+parseInt(_0x6426ae(0x176))/0x7+parseInt(_0x6426ae(0x174))/0x8*(-parseInt(_0x6426ae(0x16c))/0x9)+-parseInt(_0x6426ae(0x167))/0xa*(parseInt(_0x6426ae(0x172))/0xb);if(_0x261bf6===_0x93f8e0)break;else _0xda91d8['push'](_0xda91d8['shift']());}catch(_0x5baa58){_0xda91d8['push'](_0xda91d8['shift']());}}}(_0xc7e9,0x91d86));import{Plugin as _0x2ab4e0}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x4eced7}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x2ab4e0{static get[_0x3f61c6(0x175)](){const _0x176da2=_0x3f61c6;return _0x176da2(0x161);}static get[_0x3f61c6(0x162)](){return!0x0;}static get[_0x3f61c6(0x179)](){return!0x0;}[_0x3f61c6(0x17d)](){const _0x6074f0=_0x3f61c6,_0x385027=this[_0x6074f0(0x17c)],_0x3adc68=new _0x4eced7(this[_0x6074f0(0x17c)]);if(_0x385027[_0x6074f0(0x178)][_0x6074f0(0x165)](_0x6074f0(0x16f),_0x3adc68),_0x385027[_0x6074f0(0x173)][_0x6074f0(0x168)](_0x6074f0(0x17a))){const _0x638315=this[_0x6074f0(0x17c)][_0x6074f0(0x173)][_0x6074f0(0x16b)](_0x6074f0(0x17a));_0x385027[_0x6074f0(0x169)][_0x6074f0(0x16a)][_0x6074f0(0x171)]['on'](_0x6074f0(0x170),(_0xe35680,_0x1f94f7)=>{const _0x5be48b=_0x6074f0;_0x1f94f7[_0x5be48b(0x166)]&&_0x638315[_0x5be48b(0x16d)]();});}}}function _0xc7e9(){const _0x36e491=['has','model','document','get','1265967kNTZXF','removeSelectionFromChatContext','332448hahIVq','aiQuickAction','change:range','selection','11uJwBDu','plugins','48bUmkQg','pluginName','5217492xfzLxt','12rxWFxU','commands','isPremiumPlugin','AIChat','9330FRhqZc','editor','init','291208GHGIFR','AIQuickActionsEditing','isOfficialPlugin','3455BsIDpj','532952sCJKaw','add','directChange','3193590HecAVB'];_0xc7e9=function(){return _0x36e491;};return _0xc7e9();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbcb715=_0x536b;(function(_0x21dff1,_0x1ee5b9){const _0x4b5ee2=_0x536b,_0x169f83=_0x21dff1();while(!![]){try{const _0x17e130=-parseInt(_0x4b5ee2(0x105))/0x1+parseInt(_0x4b5ee2(0xfa))/0x2+-parseInt(_0x4b5ee2(0xe3))/0x3+parseInt(_0x4b5ee2(0xea))/0x4*(-parseInt(_0x4b5ee2(0xd0))/0x5)+-parseInt(_0x4b5ee2(0xfb))/0x6*(-parseInt(_0x4b5ee2(0xfe))/0x7)+-parseInt(_0x4b5ee2(0xa5))/0x8+parseInt(_0x4b5ee2(0xdf))/0x9;if(_0x17e130===_0x1ee5b9)break;else _0x169f83['push'](_0x169f83['shift']());}catch(_0x213cfd){_0x169f83['push'](_0x169f83['shift']());}}}(_0x3243,0x88727));import{IconAIAdjustLength as _0x54ddc1,IconAIChangeTone as _0x4f6977,IconAIChatCommands as _0x2af880,IconAIContinueWriting as _0x4122c8,IconAIGrammarCheck as _0x1641b3,IconAIImproveWriting as _0x5a9f6e,IconAIOther as _0x36119c,IconAIQuickActions as _0xcd496d,IconAITranslate as _0x33d87c}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x5df337}from'ckeditor5/src/core.js';import{CKEditorError as _0x3660,logError as _0x4aad12}from'ckeditor5/src/utils.js';import{getTranslation as _0x31dc0d}from'../aicore/utils/common-translations.js';function _0x3243(){const _0x19da2b=['AI_QUICK_ACTIONS_MORE_CASUAL','AI_QUICK_ACTIONS_MORE_CONFIDENT','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','forEach','translate-to-english','AI_QUICK_ACTIONS_CHANGE_TONE','portuguese','summarize','AIChat','editing','ai.chat.context.document.enabled','make-tone-confident','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','explain','AI_QUICK_ACTIONS_ADJUST_LENGTH','chinese','_getDefaultAndCustomActions','uiLanguage','translate-to-german','focus','english','get','make-shorter','delegate','fix-grammar','60pQhFSI','push','make-tone-friendly','plugins','AI_QUICK_ACTIONS_TRANSLATE','replace','AIActions','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','displayedPrompt','English','russian','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_HEADING','REVIEW','buttonView','19407249LCtMuz','pluginName','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_IMPROVE_WRITING','230313SbVfKO','translate-to-portuguese','improve-writing','other','add','aiQuickActions','children','143540xEmZxQ','make-tone-casual','values','label','isEnabled','locale','AIConnector','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','set','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','menuBarView','_quickActionsDefinition','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','execute','AIReviewMode','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','204462OjsWXg','840168vUoLKq','highlight-key-points','_shouldIncludeAction','7kApEse','filter','getAll','CHAT','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','type','939682sBvhqE','find','includes','editor','aiQuickAction','translate-to-spanish','japanese','icon','_prepareQuickActionsDefinition','getDefaultQuickActions','continue','AI_QUICK_ACTIONS_MAKE_SHORTER','translate-to-russian','view','make-tone-direct','translate-to-italian','translate-to-french','french','german','change-tone','map','ai.quickActions.extraCommands','some','message','close','length','translate','attachToDom','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','config','chat-commands','AIQuickActionsUI','items','requires','isOfficialPlugin','spanish','DisplayNames','model','korean','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','translate-to-chinese','AI_QUICK_ACTIONS_MAKE_LONGER','adjust-length','_initializeQuickActionsDropdown','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','make-tone-professional','menuitem','_executeQuickAction','panelView','italian','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','has','ai.quickActions.isSearchEnabled','_initializeQuickActionsMenuBar','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_SUMMARIZE','actions','init','AI_QUICK_ACTIONS_MORE_FRIENDLY','ask-ai','isPremiumPlugin','3141280vQwwcR','language','AI_QUICK_ACTIONS_ASK_AI','make-longer','ai-quick-actions-unavailable-model','menu','commands','AI_QUICK_ACTIONS_CHAT_COMMANDS','translate-to-japanese','AI_QUICK_ACTIONS_OTHER','ai-quick-actions-models-unable-to-retrieve','componentFactory','menuBar:aiQuickActions','_initializeQuickActionsComponents','ACTION'];_0x3243=function(){return _0x19da2b;};return _0x3243();}import{aiQuickActionsDropdownCreator as _0x5a7ac0}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x5d0eed}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x48a703,BalloonToolbar as _0x2f32bd,MenuBarMenuView as _0x592187,MenuBarMenuListView as _0x382f7d,MenuBarMenuListItemView as _0x357dba,MenuBarMenuListItemButtonView as _0x218a5a}from'ckeditor5/src/ui.js';import{AIModels as _0x2fc1b8}from'../aicore/model/aimodels.js';import{AIConnector as _0x2e1232}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';function _0x536b(_0x5b5c77,_0xbfe099){const _0x3243fd=_0x3243();return _0x536b=function(_0x536b4e,_0x42452e){_0x536b4e=_0x536b4e-0xa0;let _0x455a47=_0x3243fd[_0x536b4e];return _0x455a47;},_0x536b(_0x5b5c77,_0xbfe099);}const ee=_0xbcb715(0x103),ie=_0xbcb715(0xb6),ne=_0xbcb715(0xf6);export var AIQuickActionType;!function(_0x1f9ed0){const _0x1180c2=_0xbcb715;_0x1f9ed0[_0x1180c2(0x101)]=_0x1180c2(0x101),_0x1f9ed0[_0x1180c2(0xb3)]=_0x1180c2(0xb3),_0x1f9ed0[_0x1180c2(0xdd)]=_0x1180c2(0xdd);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0xb54832){const _0x5052d0=_0xbcb715;_0xb54832[_0x5052d0(0x101)]=_0x5052d0(0xbf),_0xb54832[_0x5052d0(0xb3)]=_0x5052d0(0xd6),_0xb54832[_0x5052d0(0xdd)]=_0x5052d0(0xf8);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x5df337{static get[_0xbcb715(0x128)](){return[_0x2f32bd,_0x2e1232];}static get[_0xbcb715(0xe0)](){const _0x1f4840=_0xbcb715;return _0x1f4840(0x126);}static get[_0xbcb715(0x129)](){return!0x0;}static get[_0xbcb715(0xa4)](){return!0x0;}async[_0xbcb715(0xa1)](){const _0x53983d=_0xbcb715,_0x17b9a5=await this[_0x53983d(0xc7)]();this[_0x53983d(0x10d)](_0x17b9a5),this[_0x53983d(0xe1)]();}static[_0xbcb715(0x10e)](_0x6e5294){return function(_0x156b30){const _0x2c3648=_0x536b,_0x4b1d83=new Intl[(_0x2c3648(0x12b))](['en'],{'type':_0x2c3648(0xa6)})['of'](_0x156b30[_0x2c3648(0xc8)]),_0x281460=_0x4b1d83||_0x2c3648(0xd9),_0x38e733=[{'id':_0x2c3648(0xa3),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xa7)),'type':AIQuickActionType[_0x2c3648(0x101)],'icon':_0x2af880},{'id':_0x2c3648(0x125),'label':_0x31dc0d(_0x156b30,_0x2c3648(0xac)),'icon':_0x2af880,'actions':[{'id':_0x2c3648(0xc4),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xdb)),'prompt':ee[_0x2c3648(0xd5)]('%0',_0x281460),'type':AIQuickActionType[_0x2c3648(0x101)]},{'id':_0x2c3648(0xbe),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x13f)),'prompt':ie[_0x2c3648(0xd5)]('%0',_0x281460),'type':AIQuickActionType[_0x2c3648(0x101)]},{'id':_0x2c3648(0xfc),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xf9)),'prompt':ne[_0x2c3648(0xd5)]('%0',_0x281460),'type':AIQuickActionType[_0x2c3648(0x101)]}]},{'id':_0x2c3648(0xe5),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xe2)),'type':AIQuickActionType[_0x2c3648(0xb3)],'icon':_0x5a9f6e},{'id':_0x2c3648(0x10f),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x122)),'type':AIQuickActionType[_0x2c3648(0xb3)],'icon':_0x4122c8},{'id':_0x2c3648(0xcf),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xb9)),'type':AIQuickActionType[_0x2c3648(0xb3)],'icon':_0x1641b3},{'id':_0x2c3648(0x131),'label':_0x31dc0d(_0x156b30,_0x2c3648(0xc5)),'icon':_0x54ddc1,'actions':[{'id':_0x2c3648(0xcd),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x110)),'type':AIQuickActionType[_0x2c3648(0xb3)]},{'id':_0x2c3648(0xa8),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x130)),'type':AIQuickActionType[_0x2c3648(0xb3)]}]},{'id':_0x2c3648(0x118),'label':_0x31dc0d(_0x156b30,_0x2c3648(0xbc)),'icon':_0x4f6977,'actions':[{'id':_0x2c3648(0xeb),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xb4)),'type':AIQuickActionType[_0x2c3648(0xb3)]},{'id':_0x2c3648(0x113),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x121)),'type':AIQuickActionType[_0x2c3648(0xb3)]},{'id':_0x2c3648(0xd2),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xa2)),'type':AIQuickActionType[_0x2c3648(0xb3)]},{'id':_0x2c3648(0xc2),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xb5)),'type':AIQuickActionType[_0x2c3648(0xb3)]},{'id':_0x2c3648(0x135),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x134)),'type':AIQuickActionType[_0x2c3648(0xb3)]}]},{'id':_0x2c3648(0x11f),'label':_0x31dc0d(_0x156b30,_0x2c3648(0xd4)),'icon':_0x33d87c,'actions':[{'id':_0x2c3648(0xbb),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xd7)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0xcb)}},{'id':_0x2c3648(0x12f),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xf3)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0xc6)}},{'id':_0x2c3648(0x10a),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x13a)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x12a)}},{'id':_0x2c3648(0xc9),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xc3)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x117)}},{'id':_0x2c3648(0x115),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xb8)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x116)}},{'id':_0x2c3648(0xad),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x123)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x10b)}},{'id':_0x2c3648(0xe4),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x133)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0xbd)}},{'id':_0x2c3648(0xb7),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x12e)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x12d)}},{'id':_0x2c3648(0x114),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xf1)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x139)}},{'id':_0x2c3648(0x111),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x102)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0xda)}}]},{'id':_0x2c3648(0xe6),'label':_0x31dc0d(_0x156b30,_0x2c3648(0xae)),'icon':_0x36119c,'actions':[]}];return _0x38e733;}(_0x6e5294);}async[_0xbcb715(0xc7)](){const _0x304068=_0xbcb715,_0x57c724=AIQuickActionsUI[_0x304068(0x10e)](this[_0x304068(0x108)][_0x304068(0xef)]),_0xad09ca=this[_0x304068(0x108)][_0x304068(0x124)][_0x304068(0xcc)](_0x304068(0x11a))||[];let _0x202070=[];try{_0x202070=await new _0x2fc1b8({'connector':this[_0x304068(0x108)][_0x304068(0xd3)][_0x304068(0xcc)](_0x304068(0xf0)),'locale':this[_0x304068(0x108)][_0x304068(0xef)]})[_0x304068(0x100)]();}catch(_0x528d8e){const _0x275af6=new _0x3660(_0x304068(0xaf),this,{'error':_0x528d8e});_0x4aad12(_0x275af6[_0x304068(0x11c)]);}finally{const _0x37f672=_0xad09ca[_0x304068(0x119)](_0x2df003=>({..._0x2df003,'icon':void 0x0}));_0x57c724[_0x304068(0x106)](_0x4a6c3e=>_0x304068(0xe6)===_0x4a6c3e['id'])[_0x304068(0xa0)][_0x304068(0xd1)](..._0x37f672),_0x57c724[_0x304068(0xba)](_0x327e53=>{const _0x4f55b0=_0x304068;if(_0x4f55b0(0xa0)in _0x327e53)_0x327e53[_0x4f55b0(0xa0)][_0x4f55b0(0xba)](_0x320bf2=>{const _0x290990=_0x4f55b0;if(_0x320bf2[_0x290990(0xee)]=!!_0x202070[_0x290990(0x106)](_0x3ce550=>_0x3ce550['id']===_0x320bf2[_0x290990(0x12c)])||void 0x0===_0x320bf2[_0x290990(0x12c)],!_0x320bf2[_0x290990(0xee)]){const _0x1db870=new _0x3660(_0x290990(0xa9),this,{'actionId':_0x320bf2['id'],'modelId':_0x320bf2[_0x290990(0x12c)]});_0x4aad12(_0x1db870[_0x290990(0x11c)]);}});else{if(_0x327e53[_0x4f55b0(0xee)]=!!_0x202070[_0x4f55b0(0x106)](_0x30f0b4=>_0x30f0b4['id']===_0x327e53[_0x4f55b0(0x12c)])||void 0x0===_0x327e53[_0x4f55b0(0x12c)],!_0x327e53[_0x4f55b0(0xee)]){const _0x55bd7c=new _0x3660(_0x4f55b0(0xa9),this,{'actionId':_0x327e53['id'],'modelId':_0x327e53[_0x4f55b0(0x12c)]});_0x4aad12(_0x55bd7c[_0x4f55b0(0x11c)]);}}});}return _0x57c724;}[_0xbcb715(0xe1)](){const _0x52df13=_0xbcb715,_0x874860=new _0x48a703(this[_0x52df13(0x108)][_0x52df13(0xef)]);_0x874860[_0x52df13(0x120)](),this[_0x52df13(0x132)](_0x874860),this[_0x52df13(0x13d)](),this[_0x52df13(0xb2)](_0x874860);}[_0xbcb715(0x132)](_0x1f8295){const _0x5f03a0=_0xbcb715,_0xbc9e7d=this[_0x5f03a0(0x108)][_0x5f03a0(0x124)][_0x5f03a0(0xcc)](_0x5f03a0(0x13c))??!0x0;this[_0x5f03a0(0x108)]['ui'][_0x5f03a0(0xb0)][_0x5f03a0(0xe7)](_0x5f03a0(0xe8),_0x5a7ac0({'editor':this[_0x5f03a0(0x108)],'content':this[_0x5f03a0(0xf5)],'buttonDefinition':{'icon':_0xcd496d,'label':_0x31dc0d(this[_0x5f03a0(0x108)][_0x5f03a0(0xef)],_0x5f03a0(0xdc))},'bodyCollection':_0x1f8295,'hasSearch':_0xbc9e7d}));}[_0xbcb715(0x10d)](_0x3e722f){const _0x34df97=_0xbcb715;this[_0x34df97(0xf5)]=_0x3e722f[_0x34df97(0x119)](_0x4e2e72=>{const _0x187328=_0x34df97;if(_0x187328(0xa0)in _0x4e2e72){const _0x30b143=_0x4e2e72;return{..._0x30b143,'actions':_0x30b143[_0x187328(0xa0)][_0x187328(0x119)](_0xe5b56f=>{const {actions:_0x5b8077,..._0x2bf284}=_0x30b143;return{..._0xe5b56f,'parent':_0x2bf284};})[_0x187328(0xff)](_0x64e7fe=>this[_0x187328(0xfd)](_0x64e7fe))};}return _0x4e2e72;})[_0x34df97(0xff)](_0x726219=>_0x34df97(0xa0)in _0x726219?_0x726219[_0x34df97(0xa0)][_0x34df97(0x11e)]>0x0:this[_0x34df97(0xfd)](_0x726219));}[_0xbcb715(0xfd)](_0x57e292){const _0x1db925=_0xbcb715,_0x1cdc9f=this[_0x1db925(0x108)][_0x1db925(0x124)][_0x1db925(0xcc)](_0x1db925(0x13e))||[];return this[_0x1db925(0x108)][_0x1db925(0xd3)][_0x1db925(0x13b)](AIQuickActionTypeToPluginName[_0x57e292[_0x1db925(0x104)]])&&!_0x1cdc9f[_0x1db925(0x107)](_0x57e292['id'])&&!(_0x57e292[_0x1db925(0x104)]===AIQuickActionType[_0x1db925(0x101)]&&!0x1===this[_0x1db925(0x108)][_0x1db925(0x124)][_0x1db925(0xcc)](_0x1db925(0xc1)));}[_0xbcb715(0xb2)](_0x389fb9){const _0x13c96e=_0xbcb715;this[_0x13c96e(0xf5)][_0x13c96e(0xba)](_0x4a68e5=>{const _0x32c94e=_0x13c96e;if(_0x32c94e(0xa0)in _0x4a68e5){const _0x517ab8=_0x5a7ac0({'editor':this[_0x32c94e(0x108)],'content':_0x4a68e5[_0x32c94e(0xa0)],'buttonDefinition':_0x4a68e5,'bodyCollection':_0x389fb9});this[_0x32c94e(0x108)]['ui'][_0x32c94e(0xb0)][_0x32c94e(0xe7)](_0x4a68e5['id'],_0x517ab8),_0x4a68e5[_0x32c94e(0xa0)][_0x32c94e(0xba)](_0x5aa6bf=>{const _0x7f27be=_0x32c94e,_0x6f9c03=_0x5d0eed({'editor':this[_0x7f27be(0x108)],'action':_0x5aa6bf});this[_0x7f27be(0x108)]['ui'][_0x7f27be(0xb0)][_0x7f27be(0xe7)](_0x5aa6bf['id'],_0x6f9c03);});}else{const _0x1f3c12=_0x5d0eed({'editor':this[_0x32c94e(0x108)],'action':_0x4a68e5,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x32c94e(0x108)]['ui'][_0x32c94e(0xb0)][_0x32c94e(0xe7)](_0x4a68e5['id'],_0x1f3c12);}});}[_0xbcb715(0x13d)](){const _0x59d370=_0xbcb715;this[_0x59d370(0x108)]['ui'][_0x59d370(0xb0)][_0x59d370(0xe7)](_0x59d370(0xb1),_0x5d6310=>{const _0x3375f2=_0x59d370,_0x2623fd=new _0x592187(_0x5d6310),_0x59c579=_0x31dc0d(_0x5d6310,_0x3375f2(0xdc));_0x2623fd[_0x3375f2(0xde)][_0x3375f2(0xf2)]({'label':_0x59c579,'icon':_0xcd496d});const _0x3f8344=new _0x382f7d(_0x5d6310);_0x3f8344[_0x3375f2(0xf2)]({'ariaLabel':_0x59c579,'role':_0x3375f2(0xaa)}),this[_0x3375f2(0xf5)][_0x3375f2(0xba)](_0x10420a=>{const _0x575da3=_0x3375f2;if(_0x575da3(0xa0)in _0x10420a){const _0x2944b9=_0x10420a,_0x14ae40=new _0x357dba(_0x5d6310,_0x2623fd),_0x242fea=new _0x592187(_0x5d6310),_0x323eeb=new _0x382f7d(_0x5d6310);_0x242fea[_0x575da3(0xde)][_0x575da3(0xf2)]({'label':_0x2944b9[_0x575da3(0xed)],'icon':_0x2944b9[_0x575da3(0x10c)]}),_0x2944b9[_0x575da3(0xa0)][_0x575da3(0xba)](_0x2f754a=>{const _0x11e071=_0x575da3,_0x504fa3=new _0x357dba(_0x5d6310,_0x242fea),_0x484c46=new _0x218a5a(_0x5d6310);_0x484c46[_0x11e071(0xf2)]({'label':_0x2f754a[_0x11e071(0xd8)],'icon':_0x2f754a[_0x11e071(0x10c)],'role':_0x11e071(0x136),'isEnabled':_0x2f754a[_0x11e071(0xee)]}),_0x484c46['on'](_0x11e071(0xf7),()=>{const _0x2fb78d=_0x11e071;this[_0x2fb78d(0x137)](_0x2f754a);}),_0x484c46[_0x11e071(0xce)](_0x11e071(0xf7))['to'](_0x242fea),_0x504fa3[_0x11e071(0xe9)][_0x11e071(0xe7)](_0x484c46),_0x323eeb[_0x11e071(0x127)][_0x11e071(0xe7)](_0x504fa3);}),_0x242fea[_0x575da3(0x138)][_0x575da3(0xe9)][_0x575da3(0xe7)](_0x323eeb),_0x14ae40[_0x575da3(0xe9)][_0x575da3(0xe7)](_0x242fea),_0x3f8344[_0x575da3(0x127)][_0x575da3(0xe7)](_0x14ae40);}else{const _0x248824=_0x10420a,_0x3fad12=new _0x357dba(_0x5d6310,_0x2623fd),_0x3d03ea=new _0x218a5a(_0x5d6310);_0x3d03ea[_0x575da3(0xf2)]({'label':_0x248824[_0x575da3(0xd8)],'icon':_0x248824[_0x575da3(0x10c)],'role':_0x575da3(0x136),'isEnabled':_0x248824[_0x575da3(0xee)]}),_0x3d03ea['on'](_0x575da3(0xf7),()=>{const _0x5a0a55=_0x575da3;this[_0x5a0a55(0x137)](_0x248824);}),_0x3d03ea[_0x575da3(0xce)](_0x575da3(0xf7))['to'](_0x2623fd),_0x3fad12[_0x575da3(0xe9)][_0x575da3(0xe7)](_0x3d03ea),_0x3f8344[_0x575da3(0x127)][_0x575da3(0xe7)](_0x3fad12);}});const _0x59cb50=Object[_0x3375f2(0xec)](AIQuickActionTypeToPluginName)[_0x3375f2(0x11b)](_0x50fd6b=>this[_0x3375f2(0x108)][_0x3375f2(0xd3)][_0x3375f2(0x13b)](_0x50fd6b));return _0x2623fd[_0x3375f2(0xf2)]({'isEnabled':_0x59cb50}),_0x2623fd[_0x3375f2(0x138)][_0x3375f2(0xe9)][_0x3375f2(0xe7)](_0x3f8344),_0x2623fd;});}[_0xbcb715(0x137)](_0x1d1ee6){const _0x2d58d1=_0xbcb715,_0x1dd3fd=this[_0x2d58d1(0x108)];_0x1dd3fd[_0x2d58d1(0xc0)][_0x2d58d1(0x112)][_0x2d58d1(0xca)](),_0x1dd3fd[_0x2d58d1(0xab)][_0x2d58d1(0xf7)](_0x2d58d1(0x109),_0x1d1ee6);const _0x25fbf5=_0x1dd3fd['ui'][_0x2d58d1(0x112)][_0x2d58d1(0xf4)];_0x25fbf5&&_0x25fbf5[_0x2d58d1(0x11d)]&&_0x25fbf5[_0x2d58d1(0x11d)]();}}
23
+ const _0xf5c796=_0x428e;(function(_0x268bee,_0x57638c){const _0x43e86f=_0x428e,_0x47d4b0=_0x268bee();while(!![]){try{const _0x1e34b8=parseInt(_0x43e86f(0x20f))/0x1*(-parseInt(_0x43e86f(0x1aa))/0x2)+-parseInt(_0x43e86f(0x1fd))/0x3+-parseInt(_0x43e86f(0x1f6))/0x4+-parseInt(_0x43e86f(0x23f))/0x5*(parseInt(_0x43e86f(0x1dc))/0x6)+parseInt(_0x43e86f(0x20e))/0x7+parseInt(_0x43e86f(0x235))/0x8*(parseInt(_0x43e86f(0x210))/0x9)+parseInt(_0x43e86f(0x20a))/0xa;if(_0x1e34b8===_0x57638c)break;else _0x47d4b0['push'](_0x47d4b0['shift']());}catch(_0x53a98d){_0x47d4b0['push'](_0x47d4b0['shift']());}}}(_0x2370,0x5e493));import{IconAIAdjustLength as _0x25e570,IconAIChangeTone as _0x524c89,IconAIChatCommands as _0x24cc98,IconAIContinueWriting as _0xd4535b,IconAIGrammarCheck as _0x12ce52,IconAIImproveWriting as _0x206885,IconAIOther as _0x5a5a7e,IconAIQuickActions as _0x81f496,IconAITranslate as _0x2fb030}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x398bed}from'ckeditor5/src/core.js';import{CKEditorError as _0x4ca179,logError as _0x41fc90}from'ckeditor5/src/utils.js';function _0x428e(_0x9454cb,_0xd4fb06){const _0x2370f5=_0x2370();return _0x428e=function(_0x428e3c,_0x1dcbc5){_0x428e3c=_0x428e3c-0x1a4;let _0x513ff5=_0x2370f5[_0x428e3c];return _0x513ff5;},_0x428e(_0x9454cb,_0xd4fb06);}import{getTranslation as _0x2d8fd4}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x163034}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x4645a7}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x351ee1,BalloonToolbar as _0x53d03c,MenuBarMenuView as _0x2e779f,MenuBarMenuListView as _0x4251ea,MenuBarMenuListItemView as _0x2ae5f0,MenuBarMenuListItemButtonView as _0x5923ca}from'ckeditor5/src/ui.js';import{AIModels as _0x3075b6}from'../aicore/model/aimodels.js';function _0x2370(){const _0x486bb7=['actions','isEnabled','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','focus','language','translate-to-japanese','AIConnector','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','children','replace','add','AI_QUICK_ACTIONS_SUMMARIZE','buttonView','ai.quickActions.removeCommands','map','translate-to-french','ai-quick-actions-unavailable-model','english','items','AI_QUICK_ACTIONS_ASK_AI','_getDefaultAndCustomActions','attachToDom','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','954100uduxcr','make-tone-friendly','ask-ai','AI_QUICK_ACTIONS_CHANGE_TONE','translate-to-chinese','close','ai-quick-actions-models-unable-to-retrieve','179880AxTGwT','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AIChat','uiLanguage','spanish','pluginName','commands','improve-writing','translate','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_MORE_CONFIDENT','_initializeQuickActionsDropdown','translate-to-portuguese','6219540bDfeES','menuitem','AI_QUICK_ACTIONS_IMPROVE_WRITING','adjust-length','1998990SPjYEh','1OpYBIk','954144HmQxEA','CHAT','chat-commands','length','find','menu','japanese','AI_QUICK_ACTIONS_CHAT_COMMANDS','displayedPrompt','isOfficialPlugin','change-tone','AIReviewMode','execute','AI_QUICK_ACTIONS_MAKE_LONGER','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','some','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','korean','values','ai.chat.context.document.enabled','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','russian','make-longer','continue','includes','isPremiumPlugin','ACTION','menuBarView','ai.quickActions.isSearchEnabled','summarize','aiQuickAction','message','german','AI_QUICK_ACTIONS_CONTINUE_WRITING','translate-to-italian','init','16cdxpRe','AI_QUICK_ACTIONS_ADJUST_LENGTH','_initializeQuickActionsComponents','view','_initializeQuickActionsMenuBar','type','delegate','English','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_MORE_CASUAL','136660FaOJVa','AIQuickActionsUI','editing','componentFactory','label','portuguese','french','AI_QUICK_ACTIONS_MAKE_SHORTER','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','_executeQuickAction','268448Syqsjh','_quickActionsDefinition','REVIEW','has','make-shorter','set','highlight-key-points','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','getDefaultQuickActions','explain','menuBar:aiQuickActions','panelView','fix-grammar','push','translate-to-english','make-tone-professional','translate-to-spanish','AI_QUICK_ACTIONS_EXPLAIN','DisplayNames','make-tone-casual','filter','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','translate-to-german','icon','translate-to-russian','_shouldIncludeAction','model','requires','getAll','aiQuickActions','editor','AI_QUICK_ACTIONS_MORE_DIRECT','italian','AI_QUICK_ACTIONS_OTHER','chinese','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','forEach','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','other','AI_QUICK_ACTIONS_HEADING','plugins','config','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','_prepareQuickActionsDefinition','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','get','make-tone-direct','locale','66nRCcZA','AIActions','make-tone-confident'];_0x2370=function(){return _0x486bb7;};return _0x2370();}import{AIConnector as _0x4fda03}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const vt=_0xf5c796(0x1d8),Pt=_0xf5c796(0x1e1),Kt=_0xf5c796(0x1bf);export var AIQuickActionType;!function(_0x8e28e2){const _0x207958=_0xf5c796;_0x8e28e2[_0x207958(0x211)]=_0x207958(0x211),_0x8e28e2[_0x207958(0x22b)]=_0x207958(0x22b),_0x8e28e2[_0x207958(0x1ac)]=_0x207958(0x1ac);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x15558e){const _0xd7f557=_0xf5c796;_0x15558e[_0xd7f557(0x211)]=_0xd7f557(0x1ff),_0x15558e[_0xd7f557(0x22b)]=_0xd7f557(0x1dd),_0x15558e[_0xd7f557(0x1ac)]=_0xd7f557(0x21b);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x398bed{static get[_0xf5c796(0x1c5)](){return[_0x53d03c,_0x4fda03];}static get[_0xf5c796(0x202)](){const _0x445cae=_0xf5c796;return _0x445cae(0x240);}static get[_0xf5c796(0x219)](){return!0x0;}static get[_0xf5c796(0x22a)](){return!0x0;}async[_0xf5c796(0x234)](){const _0x34ace2=_0xf5c796,_0x31b47c=await this[_0x34ace2(0x1f3)]();this[_0x34ace2(0x1d7)](_0x31b47c),this[_0x34ace2(0x1a6)]();}static[_0xf5c796(0x1b2)](_0x2ed5f1){return function(_0x442b38){const _0x4a2d3c=_0x428e,_0x492bdd=new Intl[(_0x4a2d3c(0x1bc))](['en'],{'type':_0x4a2d3c(0x1e3)})['of'](_0x442b38[_0x4a2d3c(0x200)]),_0x5740ac=_0x492bdd||_0x4a2d3c(0x23c),_0x21bd57=[{'id':_0x4a2d3c(0x1f8),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1f2)),'type':AIQuickActionType[_0x4a2d3c(0x211)],'icon':_0x24cc98},{'id':_0x4a2d3c(0x212),'label':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x217)),'icon':_0x24cc98,'actions':[{'id':_0x4a2d3c(0x1b3),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1bb)),'prompt':vt[_0x4a2d3c(0x1e8)]('%0',_0x5740ac),'type':AIQuickActionType[_0x4a2d3c(0x211)]},{'id':_0x4a2d3c(0x22e),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1ea)),'prompt':Pt[_0x4a2d3c(0x1e8)]('%0',_0x5740ac),'type':AIQuickActionType[_0x4a2d3c(0x211)]},{'id':_0x4a2d3c(0x1b0),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1b1)),'prompt':Kt[_0x4a2d3c(0x1e8)]('%0',_0x5740ac),'type':AIQuickActionType[_0x4a2d3c(0x211)]}]},{'id':_0x4a2d3c(0x204),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x20c)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'icon':_0x206885},{'id':_0x4a2d3c(0x228),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x232)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'icon':_0xd4535b},{'id':_0x4a2d3c(0x1b6),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x21e)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'icon':_0x12ce52},{'id':_0x4a2d3c(0x20d),'label':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x236)),'icon':_0x25e570,'actions':[{'id':_0x4a2d3c(0x1ae),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1a5)),'type':AIQuickActionType[_0x4a2d3c(0x22b)]},{'id':_0x4a2d3c(0x227),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x21d)),'type':AIQuickActionType[_0x4a2d3c(0x22b)]}]},{'id':_0x4a2d3c(0x21a),'label':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1f9)),'icon':_0x524c89,'actions':[{'id':_0x4a2d3c(0x1bd),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x23e)),'type':AIQuickActionType[_0x4a2d3c(0x22b)]},{'id':_0x4a2d3c(0x1da),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1c9)),'type':AIQuickActionType[_0x4a2d3c(0x22b)]},{'id':_0x4a2d3c(0x1f7),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x224)),'type':AIQuickActionType[_0x4a2d3c(0x22b)]},{'id':_0x4a2d3c(0x1de),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x207)),'type':AIQuickActionType[_0x4a2d3c(0x22b)]},{'id':_0x4a2d3c(0x1b9),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1cd)),'type':AIQuickActionType[_0x4a2d3c(0x22b)]}]},{'id':_0x4a2d3c(0x205),'label':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1a7)),'icon':_0x2fb030,'actions':[{'id':_0x4a2d3c(0x1b8),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1fe)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'actionName':_0x4a2d3c(0x205),'args':{'language':_0x4a2d3c(0x1f0)}},{'id':_0x4a2d3c(0x1fa),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x220)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'actionName':_0x4a2d3c(0x205),'args':{'language':_0x4a2d3c(0x1cc)}},{'id':_0x4a2d3c(0x1ba),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1d0)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'actionName':_0x4a2d3c(0x205),'args':{'language':_0x4a2d3c(0x201)}},{'id':_0x4a2d3c(0x1c0),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1a8)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'actionName':_0x4a2d3c(0x205),'args':{'language':_0x4a2d3c(0x231)}},{'id':_0x4a2d3c(0x1ee),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x225)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'actionName':_0x4a2d3c(0x205),'args':{'language':_0x4a2d3c(0x1a4)}},{'id':_0x4a2d3c(0x1e4),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1d5)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'actionName':_0x4a2d3c(0x205),'args':{'language':_0x4a2d3c(0x216)}},{'id':_0x4a2d3c(0x209),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1f5)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'actionName':_0x4a2d3c(0x205),'args':{'language':_0x4a2d3c(0x244)}},{'id':_0x4a2d3c(0x1cf),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1e6)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'actionName':_0x4a2d3c(0x205),'args':{'language':_0x4a2d3c(0x221)}},{'id':_0x4a2d3c(0x233),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x206)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'actionName':_0x4a2d3c(0x205),'args':{'language':_0x4a2d3c(0x1ca)}},{'id':_0x4a2d3c(0x1c2),'displayedPrompt':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1d6)),'type':AIQuickActionType[_0x4a2d3c(0x22b)],'actionName':_0x4a2d3c(0x205),'args':{'language':_0x4a2d3c(0x226)}}]},{'id':_0x4a2d3c(0x1d1),'label':_0x2d8fd4(_0x442b38,_0x4a2d3c(0x1cb)),'icon':_0x5a5a7e,'actions':[]}];return _0x21bd57;}(_0x2ed5f1);}async[_0xf5c796(0x1f3)](){const _0x433824=_0xf5c796,_0x3fe87c=AIQuickActionsUI[_0x433824(0x1b2)](this[_0x433824(0x1c8)][_0x433824(0x1db)]),_0x2afdf2=this[_0x433824(0x1c8)][_0x433824(0x1d4)][_0x433824(0x1d9)](_0x433824(0x23d))||[];let _0x3b69a0=[];try{_0x3b69a0=await new _0x3075b6({'connector':this[_0x433824(0x1c8)][_0x433824(0x1d3)][_0x433824(0x1d9)](_0x433824(0x1e5)),'locale':this[_0x433824(0x1c8)][_0x433824(0x1db)]})[_0x433824(0x1c6)]();}catch(_0x161177){const _0x18e1ce=new _0x4ca179(_0x433824(0x1fc),this,{'error':_0x161177});_0x41fc90(_0x18e1ce[_0x433824(0x230)]);}finally{const _0x108d8f=_0x2afdf2[_0x433824(0x1ed)](_0x320595=>({..._0x320595,'icon':void 0x0}));_0x3fe87c[_0x433824(0x214)](_0xb22150=>_0x433824(0x1d1)===_0xb22150['id'])[_0x433824(0x1df)][_0x433824(0x1b7)](..._0x108d8f),_0x3fe87c[_0x433824(0x1ce)](_0x1fa2c4=>{const _0x15d6dd=_0x433824;if(_0x15d6dd(0x1df)in _0x1fa2c4)_0x1fa2c4[_0x15d6dd(0x1df)][_0x15d6dd(0x1ce)](_0x575dce=>{const _0x2bce4c=_0x15d6dd;if(_0x575dce[_0x2bce4c(0x1e0)]=!!_0x3b69a0[_0x2bce4c(0x214)](_0x4e6480=>_0x4e6480['id']===_0x575dce[_0x2bce4c(0x1c4)])||void 0x0===_0x575dce[_0x2bce4c(0x1c4)],!_0x575dce[_0x2bce4c(0x1e0)]){const _0x583736=new _0x4ca179(_0x2bce4c(0x1ef),this,{'actionId':_0x575dce['id'],'modelId':_0x575dce[_0x2bce4c(0x1c4)]});_0x41fc90(_0x583736[_0x2bce4c(0x230)]);}});else{if(_0x1fa2c4[_0x15d6dd(0x1e0)]=!!_0x3b69a0[_0x15d6dd(0x214)](_0x5122a3=>_0x5122a3['id']===_0x1fa2c4[_0x15d6dd(0x1c4)])||void 0x0===_0x1fa2c4[_0x15d6dd(0x1c4)],!_0x1fa2c4[_0x15d6dd(0x1e0)]){const _0x414a2f=new _0x4ca179(_0x15d6dd(0x1ef),this,{'actionId':_0x1fa2c4['id'],'modelId':_0x1fa2c4[_0x15d6dd(0x1c4)]});_0x41fc90(_0x414a2f[_0x15d6dd(0x230)]);}}});}return _0x3fe87c;}[_0xf5c796(0x1a6)](){const _0x18b3dc=_0xf5c796,_0x7961e4=new _0x351ee1(this[_0x18b3dc(0x1c8)][_0x18b3dc(0x1db)]);_0x7961e4[_0x18b3dc(0x1f4)](),this[_0x18b3dc(0x208)](_0x7961e4),this[_0x18b3dc(0x239)](),this[_0x18b3dc(0x237)](_0x7961e4);}[_0xf5c796(0x208)](_0x397907){const _0x5735f7=_0xf5c796,_0xf91d2b=this[_0x5735f7(0x1c8)][_0x5735f7(0x1d4)][_0x5735f7(0x1d9)](_0x5735f7(0x22d))??!0x0;this[_0x5735f7(0x1c8)]['ui'][_0x5735f7(0x242)][_0x5735f7(0x1e9)](_0x5735f7(0x1c7),_0x163034({'editor':this[_0x5735f7(0x1c8)],'content':this[_0x5735f7(0x1ab)],'buttonDefinition':{'icon':_0x81f496,'label':_0x2d8fd4(this[_0x5735f7(0x1c8)][_0x5735f7(0x1db)],_0x5735f7(0x1d2))},'bodyCollection':_0x397907,'hasSearch':_0xf91d2b}));}[_0xf5c796(0x1d7)](_0x371d80){const _0x2c80bb=_0xf5c796;this[_0x2c80bb(0x1ab)]=_0x371d80[_0x2c80bb(0x1ed)](_0x283a65=>{const _0x4a34a7=_0x2c80bb;if(_0x4a34a7(0x1df)in _0x283a65){const _0x3fb27b=_0x283a65;return{..._0x3fb27b,'actions':_0x3fb27b[_0x4a34a7(0x1df)][_0x4a34a7(0x1ed)](_0x2d3819=>{const {actions:_0x421cc9,..._0x260ef4}=_0x3fb27b;return{..._0x2d3819,'parent':_0x260ef4};})[_0x4a34a7(0x1be)](_0x553e28=>this[_0x4a34a7(0x1c3)](_0x553e28))};}return _0x283a65;})[_0x2c80bb(0x1be)](_0x550443=>_0x2c80bb(0x1df)in _0x550443?_0x550443[_0x2c80bb(0x1df)][_0x2c80bb(0x213)]>0x0:this[_0x2c80bb(0x1c3)](_0x550443));}[_0xf5c796(0x1c3)](_0xb6451f){const _0x58a222=_0xf5c796,_0x2f7bdb=this[_0x58a222(0x1c8)][_0x58a222(0x1d4)][_0x58a222(0x1d9)](_0x58a222(0x1ec))||[];return this[_0x58a222(0x1c8)][_0x58a222(0x1d3)][_0x58a222(0x1ad)](AIQuickActionTypeToPluginName[_0xb6451f[_0x58a222(0x23a)]])&&!_0x2f7bdb[_0x58a222(0x229)](_0xb6451f['id'])&&!(_0xb6451f[_0x58a222(0x23a)]===AIQuickActionType[_0x58a222(0x211)]&&!0x1===this[_0x58a222(0x1c8)][_0x58a222(0x1d4)][_0x58a222(0x1d9)](_0x58a222(0x223)));}[_0xf5c796(0x237)](_0x29ffef){const _0x4df234=_0xf5c796;this[_0x4df234(0x1ab)][_0x4df234(0x1ce)](_0x2c364c=>{const _0x16d423=_0x4df234;if(_0x16d423(0x1df)in _0x2c364c){const _0x1b62e6=_0x163034({'editor':this[_0x16d423(0x1c8)],'content':_0x2c364c[_0x16d423(0x1df)],'buttonDefinition':_0x2c364c,'bodyCollection':_0x29ffef});this[_0x16d423(0x1c8)]['ui'][_0x16d423(0x242)][_0x16d423(0x1e9)](_0x2c364c['id'],_0x1b62e6),_0x2c364c[_0x16d423(0x1df)][_0x16d423(0x1ce)](_0x3683a9=>{const _0x39756a=_0x16d423,_0x18559f=_0x4645a7({'editor':this[_0x39756a(0x1c8)],'action':_0x3683a9});this[_0x39756a(0x1c8)]['ui'][_0x39756a(0x242)][_0x39756a(0x1e9)](_0x3683a9['id'],_0x18559f);});}else{const _0x17a6e4=_0x4645a7({'editor':this[_0x16d423(0x1c8)],'action':_0x2c364c,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x16d423(0x1c8)]['ui'][_0x16d423(0x242)][_0x16d423(0x1e9)](_0x2c364c['id'],_0x17a6e4);}});}[_0xf5c796(0x239)](){const _0x1936b0=_0xf5c796;this[_0x1936b0(0x1c8)]['ui'][_0x1936b0(0x242)][_0x1936b0(0x1e9)](_0x1936b0(0x1b4),_0x469480=>{const _0x472e1a=_0x1936b0,_0x2c55c6=new _0x2e779f(_0x469480),_0x119e52=_0x2d8fd4(_0x469480,_0x472e1a(0x1d2));_0x2c55c6[_0x472e1a(0x1eb)][_0x472e1a(0x1af)]({'label':_0x119e52,'icon':_0x81f496});const _0x39e05a=new _0x4251ea(_0x469480);_0x39e05a[_0x472e1a(0x1af)]({'ariaLabel':_0x119e52,'role':_0x472e1a(0x215)}),this[_0x472e1a(0x1ab)][_0x472e1a(0x1ce)](_0x38741c=>{const _0xec184e=_0x472e1a;if(_0xec184e(0x1df)in _0x38741c){const _0x5a805b=_0x38741c,_0x1a2815=new _0x2ae5f0(_0x469480,_0x2c55c6),_0x18e513=new _0x2e779f(_0x469480),_0x140ff0=new _0x4251ea(_0x469480);_0x18e513[_0xec184e(0x1eb)][_0xec184e(0x1af)]({'label':_0x5a805b[_0xec184e(0x243)],'icon':_0x5a805b[_0xec184e(0x1c1)]}),_0x5a805b[_0xec184e(0x1df)][_0xec184e(0x1ce)](_0x4cb826=>{const _0x123866=_0xec184e,_0x3369ef=new _0x2ae5f0(_0x469480,_0x18e513),_0x2ec5bb=new _0x5923ca(_0x469480);_0x2ec5bb[_0x123866(0x1af)]({'label':_0x4cb826[_0x123866(0x218)],'icon':_0x4cb826[_0x123866(0x1c1)],'role':_0x123866(0x20b),'isEnabled':_0x4cb826[_0x123866(0x1e0)]}),_0x2ec5bb['on'](_0x123866(0x21c),()=>{const _0x2efd73=_0x123866;this[_0x2efd73(0x1a9)](_0x4cb826);}),_0x2ec5bb[_0x123866(0x23b)](_0x123866(0x21c))['to'](_0x18e513),_0x3369ef[_0x123866(0x1e7)][_0x123866(0x1e9)](_0x2ec5bb),_0x140ff0[_0x123866(0x1f1)][_0x123866(0x1e9)](_0x3369ef);}),_0x18e513[_0xec184e(0x1b5)][_0xec184e(0x1e7)][_0xec184e(0x1e9)](_0x140ff0),_0x1a2815[_0xec184e(0x1e7)][_0xec184e(0x1e9)](_0x18e513),_0x39e05a[_0xec184e(0x1f1)][_0xec184e(0x1e9)](_0x1a2815);}else{const _0x186285=_0x38741c,_0x163f9a=new _0x2ae5f0(_0x469480,_0x2c55c6),_0x22d95c=new _0x5923ca(_0x469480);_0x22d95c[_0xec184e(0x1af)]({'label':_0x186285[_0xec184e(0x218)],'icon':_0x186285[_0xec184e(0x1c1)],'role':_0xec184e(0x20b),'isEnabled':_0x186285[_0xec184e(0x1e0)]}),_0x22d95c['on'](_0xec184e(0x21c),()=>{const _0x3f6b20=_0xec184e;this[_0x3f6b20(0x1a9)](_0x186285);}),_0x22d95c[_0xec184e(0x23b)](_0xec184e(0x21c))['to'](_0x2c55c6),_0x163f9a[_0xec184e(0x1e7)][_0xec184e(0x1e9)](_0x22d95c),_0x39e05a[_0xec184e(0x1f1)][_0xec184e(0x1e9)](_0x163f9a);}});const _0x56cc93=Object[_0x472e1a(0x222)](AIQuickActionTypeToPluginName)[_0x472e1a(0x21f)](_0x6216ad=>this[_0x472e1a(0x1c8)][_0x472e1a(0x1d3)][_0x472e1a(0x1ad)](_0x6216ad));return _0x2c55c6[_0x472e1a(0x1af)]({'isEnabled':_0x56cc93}),_0x2c55c6[_0x472e1a(0x1b5)][_0x472e1a(0x1e7)][_0x472e1a(0x1e9)](_0x39e05a),_0x2c55c6;});}[_0xf5c796(0x1a9)](_0x3a9dbe){const _0x42f8f9=_0xf5c796,_0x4f0686=this[_0x42f8f9(0x1c8)];_0x4f0686[_0x42f8f9(0x241)][_0x42f8f9(0x238)][_0x42f8f9(0x1e2)](),_0x4f0686[_0x42f8f9(0x203)][_0x42f8f9(0x21c)](_0x42f8f9(0x22f),_0x3a9dbe);const _0x32f5d6=_0x4f0686['ui'][_0x42f8f9(0x238)][_0x42f8f9(0x22c)];_0x32f5d6&&_0x32f5d6[_0x42f8f9(0x1fb)]&&_0x32f5d6[_0x42f8f9(0x1fb)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1a3824,_0x4e54bd){const _0x571824=_0x5216,_0x2493cc=_0x1a3824();while(!![]){try{const _0x1c337e=-parseInt(_0x571824(0x134))/0x1*(-parseInt(_0x571824(0x144))/0x2)+parseInt(_0x571824(0x149))/0x3*(parseInt(_0x571824(0x14d))/0x4)+-parseInt(_0x571824(0x139))/0x5*(parseInt(_0x571824(0x148))/0x6)+parseInt(_0x571824(0x140))/0x7+parseInt(_0x571824(0x147))/0x8+-parseInt(_0x571824(0x13a))/0x9*(-parseInt(_0x571824(0x138))/0xa)+-parseInt(_0x571824(0x14b))/0xb*(parseInt(_0x571824(0x14a))/0xc);if(_0x1c337e===_0x4e54bd)break;else _0x2493cc['push'](_0x2493cc['shift']());}catch(_0xfe0071){_0x2493cc['push'](_0x2493cc['shift']());}}}(_0x4a21,0xae932));function _0x5216(_0x346b99,_0x1df2b4){const _0x4a215d=_0x4a21();return _0x5216=function(_0x521655,_0x77622c){_0x521655=_0x521655-0x134;let _0x473dce=_0x4a215d[_0x521655];return _0x473dce;},_0x5216(_0x346b99,_0x1df2b4);}import{ButtonView as _0x1b60ca}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x47f0c6}from'@ckeditor/ckeditor5-icons';function _0x4a21(){const _0x210c01=['focus','14146YNrzgj','icon','extendTemplate','view','3317130CqghzH','4850RPNagg','36uMFKhz','parent','bindTemplate','commands','ck-ai-quick-actions-button','execute','1379336ADXiNU','aiQuickAction','displayedPrompt','isEnabled','8SXPexG','locale','editing','1865896rlcYAN','354pBtvtp','59013rMfUQZ','15504asQxZI','17743qXXagw','menuitem','212RGQECs','set'];_0x4a21=function(){return _0x210c01;};return _0x4a21();}export function aiQuickActionsButtonCreator(_0xb808c2){const {editor:_0xa41a0,action:_0x253edf,withText:_0x29f843=!0x1,withIcon:_0x4958ec=!0x0,isInDropdown:_0x253a9d=!0x0,shouldPreventFocus:_0x4ef819=!0x1}=_0xb808c2;return()=>{const _0x4ccd97=_0x5216,_0x176ff2=_0xa41a0[_0x4ccd97(0x145)],_0x508464=new _0x1b60ca(_0x176ff2),_0x4b0c24=_0x508464[_0x4ccd97(0x13c)];_0x253a9d&&_0x508464[_0x4ccd97(0x136)]({'on':{'mouseenter':_0x4b0c24['to'](()=>{const _0x6a2a25=_0x4ccd97;_0x4ef819&&_0x4ef819()||_0x508464[_0x6a2a25(0x14f)]();})}});const _0x35f806=_0x253edf[_0x4ccd97(0x135)]??_0x253edf[_0x4ccd97(0x13b)]?.[_0x4ccd97(0x135)];return _0x508464[_0x4ccd97(0x14e)]({'label':_0x253edf[_0x4ccd97(0x142)],'withText':_0x29f843,'role':_0x4ccd97(0x14c),'icon':_0x4958ec?_0x35f806??_0x47f0c6:void 0x0,'tooltip':!_0x29f843,'class':_0x4ccd97(0x13e),'isEnabled':_0x253edf[_0x4ccd97(0x143)]}),_0x508464['on'](_0x4ccd97(0x13f),()=>{const _0x4d14cd=_0x4ccd97;_0xa41a0[_0x4d14cd(0x146)][_0x4d14cd(0x137)][_0x4d14cd(0x14f)](),_0xa41a0[_0x4d14cd(0x13d)][_0x4d14cd(0x13f)](_0x4d14cd(0x141),_0x253edf);}),_0x508464;};}
23
+ (function(_0x27ecaf,_0x4dc627){const _0x22b2d5=_0x212c,_0x24b20d=_0x27ecaf();while(!![]){try{const _0x56c0d4=-parseInt(_0x22b2d5(0x152))/0x1+parseInt(_0x22b2d5(0x141))/0x2*(parseInt(_0x22b2d5(0x153))/0x3)+-parseInt(_0x22b2d5(0x13f))/0x4*(-parseInt(_0x22b2d5(0x148))/0x5)+parseInt(_0x22b2d5(0x151))/0x6+-parseInt(_0x22b2d5(0x155))/0x7*(parseInt(_0x22b2d5(0x14f))/0x8)+-parseInt(_0x22b2d5(0x14a))/0x9+-parseInt(_0x22b2d5(0x144))/0xa*(-parseInt(_0x22b2d5(0x154))/0xb);if(_0x56c0d4===_0x4dc627)break;else _0x24b20d['push'](_0x24b20d['shift']());}catch(_0x47b31b){_0x24b20d['push'](_0x24b20d['shift']());}}}(_0x3bd1,0xb065a));import{ButtonView as _0x235128}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x110364}from'@ckeditor/ckeditor5-icons';function _0x212c(_0x11acc1,_0x427b15){const _0x3bd1e3=_0x3bd1();return _0x212c=function(_0x212ce5,_0x120818){_0x212ce5=_0x212ce5-0x13f;let _0x5f4593=_0x3bd1e3[_0x212ce5];return _0x5f4593;},_0x212c(_0x11acc1,_0x427b15);}export function aiQuickActionsButtonCreator(_0x22f983){const {editor:_0x77f72c,action:_0xb37be1,withText:_0x40b6a0=!0x1,withIcon:_0x5f1ca0=!0x0,isInDropdown:_0x1d3d93=!0x0,shouldPreventFocus:_0x527a1a=!0x1}=_0x22f983;return()=>{const _0x3bc2e0=_0x212c,_0x6c6216=_0x77f72c[_0x3bc2e0(0x149)],_0x30fdb2=new _0x235128(_0x6c6216),_0x195c75=_0x30fdb2[_0x3bc2e0(0x14e)];_0x1d3d93&&_0x30fdb2[_0x3bc2e0(0x143)]({'on':{'mouseenter':_0x195c75['to'](()=>{const _0xc1eea=_0x3bc2e0;_0x527a1a&&_0x527a1a()||_0x30fdb2[_0xc1eea(0x14c)]();})}});const _0x11037f=_0xb37be1[_0x3bc2e0(0x147)]??_0xb37be1[_0x3bc2e0(0x14d)]?.[_0x3bc2e0(0x147)];return _0x30fdb2[_0x3bc2e0(0x156)]({'label':_0xb37be1[_0x3bc2e0(0x146)],'withText':_0x40b6a0,'role':_0x3bc2e0(0x14b),'icon':_0x5f1ca0?_0x11037f??_0x110364:void 0x0,'tooltip':!_0x40b6a0,'class':_0x3bc2e0(0x159),'isEnabled':_0xb37be1[_0x3bc2e0(0x158)]}),_0x30fdb2['on'](_0x3bc2e0(0x145),()=>{const _0x44a525=_0x3bc2e0;_0x77f72c[_0x44a525(0x157)][_0x44a525(0x142)][_0x44a525(0x14c)](),_0x77f72c[_0x44a525(0x140)][_0x44a525(0x145)](_0x44a525(0x150),_0xb37be1);}),_0x30fdb2;};}function _0x3bd1(){const _0x8821ff=['parent','bindTemplate','72YqeGNE','aiQuickAction','5659806XPVEbp','349413FUyOCL','21vNOITH','126379DbJjpS','993657gRlkYw','set','editing','isEnabled','ck-ai-quick-actions-button','2156052gehsmf','commands','20346bYWJLS','view','extendTemplate','1330ARrypo','execute','displayedPrompt','icon','5WZWMUs','locale','6588612FmmpoY','menuitem','focus'];_0x3bd1=function(){return _0x8821ff;};return _0x3bd1();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41295f=_0x5bfc;(function(_0x5a5faf,_0x16d5b5){const _0x2d6cc6=_0x5bfc,_0x528d18=_0x5a5faf();while(!![]){try{const _0xb317d8=parseInt(_0x2d6cc6(0x1b1))/0x1*(-parseInt(_0x2d6cc6(0x194))/0x2)+parseInt(_0x2d6cc6(0x1c0))/0x3+-parseInt(_0x2d6cc6(0x19f))/0x4*(-parseInt(_0x2d6cc6(0x1c7))/0x5)+parseInt(_0x2d6cc6(0x149))/0x6*(-parseInt(_0x2d6cc6(0x1c2))/0x7)+parseInt(_0x2d6cc6(0x1cf))/0x8+parseInt(_0x2d6cc6(0x15b))/0x9+parseInt(_0x2d6cc6(0x19d))/0xa*(-parseInt(_0x2d6cc6(0x16a))/0xb);if(_0xb317d8===_0x16d5b5)break;else _0x528d18['push'](_0x528d18['shift']());}catch(_0x4ae9ae){_0x528d18['push'](_0x528d18['shift']());}}}(_0x6a22,0xdc765));import{View as _0x175687,ListItemView as _0x418749,ListView as _0x4a04ed,BalloonPanelView as _0x11e77d,DropdownMenuPanelPositioningFunctions as _0x24667e,ViewCollection as _0x48c253,FocusCycler as _0x5d5f4d,ButtonView as _0x4a837b,IconView as _0x1f3fe7,HighlightedTextView as _0x2be017,ButtonLabelWithHighlightView as _0x43a709,SearchTextView as _0x221a20}from'ckeditor5/src/ui.js';function _0x6a22(){const _0x49245e=['ck-ai-quick-actions-search-result__group-row','add','menu','ck-reset_all','.ck-ai-quick-actions-group-button','get','_allSearchableItems','_searchTextView','detachFromDom','ownerDocument','first','ck-ai-quick-actions-button__group-icon','_createSearchResultActionButton','ck-ai-quick-actions-button_with-group__close-paren','3941112KxpoEr','some','8244089sEFRDA','_handlePanelKeydown','_focusables','isOn','closest','2967985rHFifH','_createGroupActionsList','ck-button_with-text','destroy','aiQuickAction','contains','hide','reset','4193496nvdfNL','button','element','6SOzsfp','icon','execute','_createSearchResultGroupedActionButton','_createActionButton','pin','.ck-ai-quick-actions-group-panel','optionsListView','mouseleave','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','addMany','push','_hideAllNestedPanels','span','_isMovingToNestedMenu','editing','ck-ai-quick-actions-search','_createSearchResultContentView','15639525pgNqkH','ck-ai-quick-actions-group-panel','keystrokes','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','menuitem','text','_createActionGroupButton','addEventListener','commands','_getButtonKeystroke','ck-ai-quick-actions-button','items','ck-dropdown-menu__nested-menu__panel','chain','delete','11492679yUPSqi','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','queryView','parent','ck-button','_createSearchTextView','isVisible','clear','fire','setTemplate','_showNestedPanel','bind','focusCycler','displayedPrompt','_createSearchResultGroupRow','_setupActionButtonExecution','ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions-group-button','_isSearchFocused','key','ck-ai-quick-actions','fieldView','ck-ai-quick-actions-group-list','extendTemplate','forEach','ArrowRight','isEnabled','_handleSearchResultButtonClick','AI_QUICK_ACTIONS_SEARCH','show','label','activeElement','ck-ai-quick-actions-search-result__content','ck-dropdown-menu-list','children','set','render','uiLanguageDirection','bindTemplate','focus','_getPanelKeystroke','locale','3274562tZPiLf','ArrowLeft','ck-ai-quick-actions-button_with-group','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_setupGroupMenuBehavior','_openNestedPanels','ck-ai-quick-actions-search-result__action-row','eastSouth','_hasSearch','10jIIMDV','ck-ai-quick-actions-button_with-group__open-paren','8WAShdS','_createListItems','content','relatedTarget','ck-ai-quick-actions-search-result-button','view','rtl','_bodyCollection','role','_createSearchResultIndividualActionButton','resetSearch','.ck-ai-quick-actions-group-list','actions','div','ck-rounded-corners','_createSearchResultActionRow','focusTracker','_hideNestedPanel','1hXhSfY'];_0x6a22=function(){return _0x49245e;};return _0x6a22();}import{IconAIQuickActions as _0x4546e8}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x8c0ec4,KeystrokeHandler as _0x4590d8}from'ckeditor5/src/utils.js';function _0x5bfc(_0x326e89,_0x1bc3c0){const _0x6a228d=_0x6a22();return _0x5bfc=function(_0x5bfcf1,_0x31c6ca){_0x5bfcf1=_0x5bfcf1-0x149;let _0x54d762=_0x6a228d[_0x5bfcf1];return _0x54d762;},_0x5bfc(_0x326e89,_0x1bc3c0);}import{aiQuickActionsButtonCreator as _0x174688}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x56be4e}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x43102f}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x34d511}from'./aiquickactionsfilteredlistview.js';const Qs=_0x41295f(0x1b4),Gs=_0x41295f(0x15f);export class AIQuickActionsDropdownContentView extends _0x175687{[_0x41295f(0x1a6)];[_0x41295f(0x150)];[_0x41295f(0x1b9)]=null;[_0x41295f(0x1b8)]=[];[_0x41295f(0x18c)];[_0x41295f(0x1af)];[_0x41295f(0x15d)];[_0x41295f(0x1c4)];[_0x41295f(0x176)];[_0x41295f(0x199)]=new Set();[_0x41295f(0x19c)];constructor(_0x173a88,_0x37a279,_0x12655f,_0x3e0d72,_0x252605=!0x1){const _0x207989=_0x41295f,_0x759dd6=_0x173a88[_0x207989(0x193)];super(_0x759dd6),this[_0x207989(0x1a6)]=_0x3e0d72,this[_0x207989(0x19c)]=_0x252605;const _0x127b3f=this[_0x207989(0x1a0)](_0x173a88,_0x37a279,_0x12655f);this[_0x207989(0x150)]=new _0x34d511(_0x759dd6,_0x127b3f,this[_0x207989(0x1b8)]),this[_0x207989(0x150)][_0x207989(0x1a7)]=Qs,this[_0x207989(0x150)][_0x207989(0x166)][_0x207989(0x153)](_0x127b3f),this[_0x207989(0x1af)]=new _0x8c0ec4(),this[_0x207989(0x15d)]=new _0x4590d8(),_0x252605&&(this[_0x207989(0x1b9)]=this[_0x207989(0x16f)]()),this[_0x207989(0x1c4)]=_0x127b3f,this[_0x207989(0x176)]=new _0x5d5f4d({'focusables':this[_0x207989(0x1c4)],'focusTracker':this[_0x207989(0x1af)],'keystrokeHandler':this[_0x207989(0x15d)]}),_0x252605&&this[_0x207989(0x1b9)]&&this[_0x207989(0x176)][_0x207989(0x168)](this[_0x207989(0x1b9)][_0x207989(0x176)]);const _0x37a00a=_0x252605&&this[_0x207989(0x1b9)]?[this[_0x207989(0x1b9)]]:[this[_0x207989(0x150)]];this[_0x207989(0x18c)]=new _0x48c253(_0x37a00a),this[_0x207989(0x173)]({'tag':_0x207989(0x1ac),'attributes':{'class':['ck',_0x207989(0x1b5),_0x207989(0x17e),_0x207989(0x1ad)],'dir':_0x759dd6[_0x207989(0x18f)]},'children':this[_0x207989(0x18c)]});}[_0x41295f(0x16f)](){const _0x446326=_0x41295f;return new _0x221a20(this[_0x446326(0x193)],{'filteredView':this[_0x446326(0x150)],'queryView':{'label':_0x43102f(this[_0x446326(0x193)],_0x446326(0x186))},'class':_0x446326(0x159),'infoView':{'text':{'notFound':{'primary':_0x43102f(this[_0x446326(0x193)],_0x446326(0x197))}}}});}[_0x41295f(0x17c)](){const _0x22178d=_0x41295f;if(!this[_0x22178d(0x19c)]||!this[_0x22178d(0x1b9)]||!this[_0x22178d(0x1b9)][_0x22178d(0x16c)][_0x22178d(0x17f)][_0x22178d(0x1d1)])return!0x1;const _0x3786db=this[_0x22178d(0x1b9)][_0x22178d(0x16c)][_0x22178d(0x17f)][_0x22178d(0x1d1)][_0x22178d(0x1bb)]?.[_0x22178d(0x189)];return this[_0x22178d(0x1b9)][_0x22178d(0x16c)][_0x22178d(0x17f)][_0x22178d(0x1d1)][_0x22178d(0x1cc)](_0x3786db);}[_0x41295f(0x1a0)](_0x430240,_0x1e3f99,_0x24bbcf){const _0x1bd673=_0x41295f,_0x3b52a6=new _0x48c253();return _0x1e3f99[_0x1bd673(0x182)](_0x3d131e=>{const _0x343582=_0x1bd673;if(_0x343582(0x1ab)in _0x3d131e){const {listItem:_0x4d9521}=this[_0x343582(0x161)](_0x430240,_0x3d131e,_0x24bbcf);_0x3b52a6[_0x343582(0x1b3)](_0x4d9521),_0x3d131e[_0x343582(0x1ab)][_0x343582(0x182)](_0x5b839a=>{const _0x454282=_0x343582;this[_0x454282(0x14d)](_0x430240,_0x5b839a,_0x3d131e[_0x454282(0x188)],_0x3d131e[_0x454282(0x14a)]);const {listItem:_0x462957,highlightViews:_0x5311bb}=this[_0x454282(0x1be)](_0x430240,_0x5b839a,_0x3d131e[_0x454282(0x188)],_0x3d131e[_0x454282(0x14a)]);this[_0x454282(0x1b8)][_0x454282(0x154)]({'item':_0x462957,'label':_0x5b839a[_0x454282(0x177)],'groupLabel':_0x3d131e[_0x454282(0x188)],'highlightViews':_0x5311bb});});}else{const {listItem:_0x2d9c28}=this[_0x343582(0x14d)](_0x430240,_0x3d131e);_0x3b52a6[_0x343582(0x1b3)](_0x2d9c28);const _0x9c065a=_0x2d9c28[_0x343582(0x18c)][_0x343582(0x1bc)];if(_0x9c065a){const {listItem:_0x2b2a9c,highlightViews:_0x3bd4d3}=this[_0x343582(0x1be)](_0x430240,_0x3d131e);this[_0x343582(0x1b8)][_0x343582(0x154)]({'item':_0x2b2a9c,'label':_0x9c065a[_0x343582(0x188)]||'','highlightViews':_0x3bd4d3});}}}),_0x3b52a6;}[_0x41295f(0x14d)](_0x36d711,_0x850dbf,_0x259ee2,_0x28632b){const _0x426431=_0x41295f,_0x5373ee=new _0x418749(this[_0x426431(0x193)]);if(_0x259ee2&&_0x28632b){const _0x561b40=new _0x4a837b(this[_0x426431(0x193)]),_0x42048f=_0x561b40[_0x426431(0x190)],_0x583efc=new _0x2be017();_0x583efc[_0x426431(0x160)]=_0x850dbf[_0x426431(0x177)];const _0x3b86ed=new _0x2be017();_0x3b86ed[_0x426431(0x160)]=_0x259ee2;const _0x270446=new _0x1f3fe7();_0x270446[_0x426431(0x1a1)]=_0x28632b,_0x270446[_0x426431(0x181)]({'attributes':{'class':_0x426431(0x1bd)}});const _0x272e83=new _0x175687(this[_0x426431(0x193)]);_0x272e83[_0x426431(0x173)]({'tag':_0x426431(0x156),'attributes':{'class':_0x426431(0x19e)},'children':[{'text':'\x20('}]});const _0xf55722=new _0x175687(this[_0x426431(0x193)]);return _0xf55722[_0x426431(0x173)]({'tag':_0x426431(0x156),'attributes':{'class':_0x426431(0x1bf)},'children':[{'text':')'}]}),_0x561b40[_0x426431(0x18d)]({'label':_0x850dbf[_0x426431(0x177)]+'\x20('+_0x259ee2+')','withText':!0x0,'role':_0x426431(0x15f),'class':_0x426431(0x15e),'tooltip':!0x1}),_0x561b40[_0x426431(0x173)]({'tag':_0x426431(0x1d0),'attributes':{'class':['ck',_0x426431(0x16e),_0x426431(0x1c9),_0x426431(0x165),_0x426431(0x196)],'type':_0x426431(0x1d0),'role':_0x426431(0x15f),'tabindex':'-1'},'children':[_0x583efc,_0x272e83,_0x270446,_0x3b86ed,_0xf55722],'on':{'mouseenter':_0x42048f['to'](()=>{const _0x260ebe=_0x426431;this[_0x260ebe(0x17c)]()||_0x561b40[_0x260ebe(0x191)]();}),'click':_0x42048f['to'](()=>{const _0x461576=_0x426431;_0x561b40[_0x461576(0x172)](_0x461576(0x14b));})}}),_0x561b40['on'](_0x426431(0x14b),()=>{const _0x27714b=_0x426431;_0x36d711[_0x27714b(0x158)][_0x27714b(0x1a4)][_0x27714b(0x191)](),_0x36d711[_0x27714b(0x163)][_0x27714b(0x14b)](_0x27714b(0x1cb),_0x850dbf);}),_0x5373ee[_0x426431(0x18c)][_0x426431(0x1b3)](_0x561b40),{'listItem':_0x5373ee,'highlightViews':[_0x583efc,_0x3b86ed]};}{const _0x543646=new _0x43a709(),_0x5d3759=new _0x4a837b(this[_0x426431(0x193)],_0x543646),_0x1c1e8c=_0x5d3759[_0x426431(0x190)],_0x274070=_0x850dbf[_0x426431(0x14a)]??_0x850dbf[_0x426431(0x16d)]?.[_0x426431(0x14a)],_0x37bc38=void 0x0!==_0x850dbf[_0x426431(0x14a)];return _0x5d3759[_0x426431(0x18d)]({'label':_0x850dbf[_0x426431(0x177)],'withText':!0x0,'role':_0x426431(0x15f),'icon':_0x37bc38?_0x274070??_0x4546e8:void 0x0,'tooltip':!0x1,'class':_0x426431(0x165)}),_0x5d3759[_0x426431(0x181)]({'on':{'mouseenter':_0x1c1e8c['to'](()=>{const _0x411233=_0x426431;this[_0x411233(0x17c)]()||_0x5d3759[_0x411233(0x191)]();})}}),_0x5d3759['on'](_0x426431(0x14b),()=>{const _0x48f1d8=_0x426431;_0x36d711[_0x48f1d8(0x158)][_0x48f1d8(0x1a4)][_0x48f1d8(0x191)](),_0x36d711[_0x48f1d8(0x163)][_0x48f1d8(0x14b)](_0x48f1d8(0x1cb),_0x850dbf);}),_0x5373ee[_0x426431(0x18c)][_0x426431(0x1b3)](_0x5d3759),{'listItem':_0x5373ee,'highlightViews':[_0x543646]};}}[_0x41295f(0x1be)](_0x203bf2,_0x12032c,_0x5a108d,_0x5e6402){const _0x1060b9=_0x41295f;return _0x5a108d&&_0x5e6402?this[_0x1060b9(0x14c)](_0x203bf2,_0x12032c,_0x5a108d,_0x5e6402):this[_0x1060b9(0x1a8)](_0x203bf2,_0x12032c);}[_0x41295f(0x14c)](_0x44bfe9,_0x5f4c00,_0x2cbfbe,_0x553ec7){const _0x3b7fdc=_0x41295f,_0xcbd185=new _0x418749(this[_0x3b7fdc(0x193)]),_0x5e4954=new _0x4a837b(this[_0x3b7fdc(0x193)]),_0x600096=_0x5e4954[_0x3b7fdc(0x190)],{view:_0x510451,highlightView:_0x161ea6}=this[_0x3b7fdc(0x178)](_0x2cbfbe,_0x553ec7),{view:_0x38ea7f,highlightView:_0xdfd054}=this[_0x3b7fdc(0x1ae)](_0x5f4c00[_0x3b7fdc(0x177)]),_0x563641=this[_0x3b7fdc(0x15a)](_0x510451,_0x38ea7f);return _0x5e4954[_0x3b7fdc(0x18d)]({'label':_0x5f4c00[_0x3b7fdc(0x177)],'withText':!0x0,'role':_0x3b7fdc(0x15f),'class':_0x3b7fdc(0x152),'tooltip':!0x1}),_0x5e4954[_0x3b7fdc(0x173)]({'tag':_0x3b7fdc(0x1d0),'attributes':{'class':['ck',_0x3b7fdc(0x16e),_0x3b7fdc(0x1c9),_0x3b7fdc(0x165),_0x3b7fdc(0x1a3),_0x3b7fdc(0x17a)],'type':_0x3b7fdc(0x1d0),'role':_0x3b7fdc(0x15f),'tabindex':'-1'},'children':[_0x563641],'on':{'mouseenter':_0x600096['to'](()=>{const _0x4c1ce7=_0x3b7fdc;this[_0x4c1ce7(0x17c)]()||_0x5e4954[_0x4c1ce7(0x191)]();}),'click':_0x600096['to'](()=>{const _0xef97a8=_0x3b7fdc;this[_0xef97a8(0x185)](_0x5e4954);})}}),this[_0x3b7fdc(0x179)](_0x5e4954,_0x44bfe9,_0x5f4c00),_0xcbd185[_0x3b7fdc(0x18c)][_0x3b7fdc(0x1b3)](_0x5e4954),{'listItem':_0xcbd185,'highlightViews':[_0x161ea6,_0xdfd054]};}[_0x41295f(0x1a8)](_0x1e543b,_0x403a61){const _0x105bad=_0x41295f,_0x279cdd=new _0x418749(this[_0x105bad(0x193)]),_0x5042a0=new _0x43a709(),_0xcefeca=new _0x4a837b(this[_0x105bad(0x193)],_0x5042a0),_0x103f12=_0xcefeca[_0x105bad(0x190)];return _0xcefeca[_0x105bad(0x18d)]({'label':_0x403a61[_0x105bad(0x177)],'withText':!0x0,'role':_0x105bad(0x15f),'icon':void 0x0,'tooltip':!0x1,'class':_0x105bad(0x16b)}),_0xcefeca[_0x105bad(0x181)]({'on':{'mouseenter':_0x103f12['to'](()=>{const _0x153c1d=_0x105bad;this[_0x153c1d(0x17c)]()||_0xcefeca[_0x153c1d(0x191)]();})}}),this[_0x105bad(0x179)](_0xcefeca,_0x1e543b,_0x403a61),_0x279cdd[_0x105bad(0x18c)][_0x105bad(0x1b3)](_0xcefeca),{'listItem':_0x279cdd,'highlightViews':[_0x5042a0]};}[_0x41295f(0x178)](_0x51eea8,_0x41f027){const _0x5404c3=_0x41295f,_0x3a9e6e=new _0x175687(this[_0x5404c3(0x193)]),_0x230323=new _0x1f3fe7();_0x230323[_0x5404c3(0x1a1)]=_0x41f027,_0x230323[_0x5404c3(0x181)]({'attributes':{'class':_0x5404c3(0x1bd)}});const _0x588a75=new _0x2be017();return _0x588a75[_0x5404c3(0x160)]=_0x51eea8,_0x3a9e6e[_0x5404c3(0x173)]({'tag':_0x5404c3(0x1ac),'attributes':{'class':_0x5404c3(0x1b2)},'children':[_0x230323,_0x588a75]}),{'view':_0x3a9e6e,'highlightView':_0x588a75};}[_0x41295f(0x1ae)](_0x1c7035){const _0x463149=_0x41295f,_0x5ed4ff=new _0x175687(this[_0x463149(0x193)]),_0x5d3be2=new _0x2be017();return _0x5d3be2[_0x463149(0x160)]=_0x1c7035,_0x5ed4ff[_0x463149(0x173)]({'tag':_0x463149(0x1ac),'attributes':{'class':_0x463149(0x19a)},'children':[_0x5d3be2]}),{'view':_0x5ed4ff,'highlightView':_0x5d3be2};}[_0x41295f(0x15a)](_0x21c864,_0x26cbb5){const _0x4d8727=_0x41295f,_0xce959d=new _0x175687(this[_0x4d8727(0x193)]);return _0xce959d[_0x4d8727(0x173)]({'tag':_0x4d8727(0x1ac),'attributes':{'class':_0x4d8727(0x18a)},'children':[_0x21c864,_0x26cbb5]}),_0xce959d;}[_0x41295f(0x179)](_0x36cb3b,_0x12f578,_0x128327){const _0x22ec4a=_0x41295f;_0x36cb3b['on'](_0x22ec4a(0x14b),()=>{const _0x2b63c6=_0x22ec4a;_0x12f578[_0x2b63c6(0x158)][_0x2b63c6(0x1a4)][_0x2b63c6(0x191)](),_0x12f578[_0x2b63c6(0x163)][_0x2b63c6(0x14b)](_0x2b63c6(0x1cb),_0x128327);});}[_0x41295f(0x161)](_0x1b1094,_0x26cdd7,_0x18da1){const _0x1cded3=_0x41295f,_0x4cd5a1=new _0x418749(this[_0x1cded3(0x193)]),_0x15ef16=new _0x43a709(),_0x44f82d=new _0x56be4e(this[_0x1cded3(0x193)],_0x15ef16),_0x52889a=_0x44f82d[_0x1cded3(0x190)],_0x130dcd=this[_0x1cded3(0x192)](_0x18da1),_0xc8fe70=this[_0x1cded3(0x1c8)](_0x1b1094,_0x26cdd7[_0x1cded3(0x1ab)],_0x18da1);_0x44f82d[_0x1cded3(0x18d)]({'label':_0x26cdd7[_0x1cded3(0x188)],'withText':!0x0,'role':Gs,'icon':_0x26cdd7[_0x1cded3(0x14a)]??_0x4546e8,'isEnabled':_0x26cdd7[_0x1cded3(0x1ab)][_0x1cded3(0x1c1)](_0x44bd61=>_0x44bd61[_0x1cded3(0x184)])}),_0x44f82d[_0x1cded3(0x181)]({'on':{'mouseenter':_0x52889a['to'](()=>{const _0x2e9b99=_0x1cded3;this[_0x2e9b99(0x17c)]()||_0x44f82d[_0x2e9b99(0x191)]();})}});const _0x5b9437=new _0x11e77d(this[_0x1cded3(0x193)]);return _0x5b9437[_0x1cded3(0x181)]({'attributes':{'class':['ck',_0x1cded3(0x1b5),_0x1cded3(0x15c),_0x1cded3(0x167)]},'on':{'keydown':_0x52889a['to'](_0x46f3ad=>{const _0x4356cc=_0x1cded3;this[_0x4356cc(0x1c3)](_0x46f3ad,_0x130dcd,_0x44f82d,_0x5b9437);})}}),_0x44f82d[_0x1cded3(0x175)](_0x1cded3(0x1c5))['to'](_0x5b9437,_0x1cded3(0x170)),this[_0x1cded3(0x1a6)][_0x1cded3(0x1b3)](_0x5b9437),_0x5b9437[_0x1cded3(0x1a1)][_0x1cded3(0x1b3)](_0xc8fe70),this[_0x1cded3(0x198)](_0x44f82d,_0x5b9437),_0x4cd5a1[_0x1cded3(0x18c)][_0x1cded3(0x1b3)](_0x44f82d),{'listItem':_0x4cd5a1,'highlightView':_0x15ef16};}[_0x41295f(0x1c8)](_0x4e5635,_0x3348bd,_0x1d9b4e){const _0x44c081=_0x41295f,_0x3171a6=new _0x4a04ed(this[_0x44c081(0x193)]);return _0x3171a6[_0x44c081(0x181)]({'attributes':{'class':['ck',_0x44c081(0x1b5),_0x44c081(0x180),_0x44c081(0x18b)]}}),_0x3348bd[_0x44c081(0x182)](_0x52041a=>{const _0x309692=_0x44c081,_0x575fb7=new _0x418749(this[_0x309692(0x193)]),_0x551b2f=_0x174688({'editor':_0x4e5635,'action':_0x52041a,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x309692(0x17c)]()})();_0x575fb7[_0x309692(0x18c)][_0x309692(0x1b3)](_0x551b2f),_0x1d9b4e[_0x309692(0x1af)][_0x309692(0x1b3)](_0x551b2f),_0x3171a6[_0x309692(0x166)][_0x309692(0x1b3)](_0x575fb7);}),_0x3171a6;}[_0x41295f(0x198)](_0x533cb2,_0x422596){const _0x2c023e=_0x41295f,_0x1fe1bc=_0x533cb2[_0x2c023e(0x190)],_0x316f8d=this[_0x2c023e(0x164)](_0x533cb2);_0x533cb2[_0x2c023e(0x181)]({'attributes':{'class':[_0x2c023e(0x17b)]},'on':{'mouseenter':_0x1fe1bc['to'](()=>{const _0x99aa61=_0x2c023e;this[_0x99aa61(0x174)](_0x422596,_0x533cb2);}),'mouseleave':_0x1fe1bc['to'](_0x2aa332=>{const _0x267325=_0x2c023e,_0x1ab201=_0x2aa332[_0x267325(0x1a2)];this[_0x267325(0x157)](_0x1ab201,_0x422596)||this[_0x267325(0x1b0)](_0x422596);}),'keydown':_0x1fe1bc['to'](_0xc58e34=>{const _0x34d258=_0x2c023e;_0xc58e34[_0x34d258(0x17d)]==_0x316f8d&&(this[_0x34d258(0x174)](_0x422596,_0x533cb2),_0x422596[_0x34d258(0x1a1)][_0x34d258(0x1b7)](0x0)[_0x34d258(0x191)]());})}}),_0x422596['on'](_0x2c023e(0x18e),()=>{const _0x1db35f=_0x2c023e;_0x422596[_0x1db35f(0x1d1)]?.[_0x1db35f(0x162)](_0x1db35f(0x151),_0x3ab853=>{const _0x5e7f34=_0x1db35f,_0x580588=_0x3ab853[_0x5e7f34(0x1a2)];_0x533cb2[_0x5e7f34(0x1d1)]?.[_0x5e7f34(0x1cc)](_0x580588)||this[_0x5e7f34(0x157)](_0x580588,_0x422596)||this[_0x5e7f34(0x1b0)](_0x422596);});});}[_0x41295f(0x174)](_0x55a4ec,_0x34cfbd){const _0x106559=_0x41295f;this[_0x106559(0x199)][_0x106559(0x182)](_0x2fbfe3=>{const _0x1dee8b=_0x106559;_0x2fbfe3!==_0x55a4ec&&_0x2fbfe3[_0x1dee8b(0x170)]&&_0x2fbfe3[_0x1dee8b(0x1cd)]();}),_0x55a4ec[_0x106559(0x187)](),_0x55a4ec[_0x106559(0x14e)]({'positions':[_0x24667e[_0x106559(0x19b)]],'target':_0x34cfbd[_0x106559(0x1d1)],'fitInViewport':!0x0}),this[_0x106559(0x199)][_0x106559(0x1b3)](_0x55a4ec);}[_0x41295f(0x1b0)](_0x49de80){const _0x3746d3=_0x41295f;_0x49de80[_0x3746d3(0x1cd)](),this[_0x3746d3(0x199)][_0x3746d3(0x169)](_0x49de80);}[_0x41295f(0x155)](){const _0x3ec98b=_0x41295f;this[_0x3ec98b(0x199)][_0x3ec98b(0x182)](_0xac02fd=>_0xac02fd[_0x3ec98b(0x1cd)]()),this[_0x3ec98b(0x199)][_0x3ec98b(0x171)]();}[_0x41295f(0x157)](_0x1c52b8,_0x3554a8){const _0xfa7713=_0x41295f;if(!_0x1c52b8)return!0x1;if(_0x3554a8[_0xfa7713(0x1d1)]?.[_0xfa7713(0x1cc)](_0x1c52b8))return!0x0;const _0x28b21b=_0x1c52b8;return _0x28b21b[_0xfa7713(0x1c6)]&&(null!==_0x28b21b[_0xfa7713(0x1c6)](_0xfa7713(0x14f))||null!==_0x28b21b[_0xfa7713(0x1c6)](_0xfa7713(0x1aa))||null!==_0x28b21b[_0xfa7713(0x1c6)](_0xfa7713(0x1b6)));}[_0x41295f(0x1a9)](){const _0x2d8ece=_0x41295f;this[_0x2d8ece(0x1b9)]&&this[_0x2d8ece(0x1b9)][_0x2d8ece(0x1ce)]();}[_0x41295f(0x1ca)](){const _0x5a259a=_0x41295f;this[_0x5a259a(0x155)](),this[_0x5a259a(0x1a6)][_0x5a259a(0x1ba)](),super[_0x5a259a(0x1ca)]();}[_0x41295f(0x191)](){const _0x10f1f9=_0x41295f;this[_0x10f1f9(0x1b9)]?this[_0x10f1f9(0x1b9)][_0x10f1f9(0x191)]():this[_0x10f1f9(0x150)][_0x10f1f9(0x191)]();}[_0x41295f(0x192)](_0x16bb16){const _0x3d73e6=_0x41295f;return _0x3d73e6(0x1a5)===_0x16bb16[_0x3d73e6(0x193)][_0x3d73e6(0x18f)]?_0x3d73e6(0x183):_0x3d73e6(0x195);}[_0x41295f(0x164)](_0x5247ac){const _0x1e9d45=_0x41295f;return _0x1e9d45(0x1a5)===_0x5247ac[_0x1e9d45(0x193)][_0x1e9d45(0x18f)]?_0x1e9d45(0x195):_0x1e9d45(0x183);}[_0x41295f(0x1c3)](_0x39f978,_0x9324f6,_0x1beeb3,_0x29152b){const _0x4549bc=_0x41295f;_0x39f978[_0x4549bc(0x17d)]==_0x9324f6&&(_0x1beeb3[_0x4549bc(0x191)](),this[_0x4549bc(0x1b0)](_0x29152b));}[_0x41295f(0x185)](_0x1e219d){const _0x567ce6=_0x41295f;_0x1e219d[_0x567ce6(0x172)](_0x567ce6(0x14b));}}
23
+ const _0x441253=_0x32af;(function(_0x27ef55,_0x1ca7eb){const _0x5d2a24=_0x32af,_0x52b861=_0x27ef55();while(!![]){try{const _0x5e59f8=parseInt(_0x5d2a24(0x9b))/0x1+parseInt(_0x5d2a24(0xf1))/0x2*(parseInt(_0x5d2a24(0xc5))/0x3)+parseInt(_0x5d2a24(0x9f))/0x4*(parseInt(_0x5d2a24(0xb0))/0x5)+parseInt(_0x5d2a24(0xfe))/0x6*(-parseInt(_0x5d2a24(0xa0))/0x7)+parseInt(_0x5d2a24(0xde))/0x8+parseInt(_0x5d2a24(0xd1))/0x9*(parseInt(_0x5d2a24(0xe0))/0xa)+-parseInt(_0x5d2a24(0xea))/0xb;if(_0x5e59f8===_0x1ca7eb)break;else _0x52b861['push'](_0x52b861['shift']());}catch(_0x3d5dd0){_0x52b861['push'](_0x52b861['shift']());}}}(_0x5a5d,0xb6f08));import{View as _0x45d5fc,ListItemView as _0x404174,ListView as _0x395cee,BalloonPanelView as _0x4c43d7,DropdownMenuPanelPositioningFunctions as _0x446d2b,ViewCollection as _0x3a0b4c,FocusCycler as _0x4470d5,ButtonView as _0x657f81,IconView as _0xfc5224,HighlightedTextView as _0x191b50,ButtonLabelWithHighlightView as _0x40d143,SearchTextView as _0x1e4ff6}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4cd896}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x4f5ec6,KeystrokeHandler as _0x1cdcff}from'ckeditor5/src/utils.js';function _0x32af(_0xd67562,_0x5c1812){const _0x5a5da1=_0x5a5d();return _0x32af=function(_0x32af32,_0x4766ef){_0x32af32=_0x32af32-0x82;let _0x2bc393=_0x5a5da1[_0x32af32];return _0x2bc393;},_0x32af(_0xd67562,_0x5c1812);}import{aiQuickActionsButtonCreator as _0x2b6fb1}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x570437}from'./dropdownmenubuttonwithhighlightview.js';function _0x5a5d(){const _0x300e2d=['ck-reset_all','destroy','relatedTarget','ck-ai-quick-actions-search','_getButtonKeystroke','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_createGroupActionsList','ck-ai-quick-actions-search-result-button','33225786xsYySi','ck-button','render','activeElement','content','queryView','_createSearchResultGroupRow','2IpWaIG','ck-dropdown-menu-list','_handleSearchResultButtonClick','ck-ai-quick-actions-group-panel','ck-ai-quick-actions-search-result__group-row','_createSearchResultGroupedActionButton','div','set','_createSearchTextView','ck-ai-quick-actions-group-button','aiQuickAction','contains','AI_QUICK_ACTIONS_SEARCH','1518ZjuHQG','closest','button','isOn','addMany','ck-ai-quick-actions-button_with-group__open-paren','span','commands','_createSearchResultContentView','ArrowRight','text','label','items','_createSearchResultActionButton','isEnabled','fire','pin','focus','role','_createActionGroupButton','_hideNestedPanel','forEach','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','_openNestedPanels','reset','actions','push','ck-ai-quick-actions-button_with-group__close-paren','ownerDocument','eastSouth','displayedPrompt','bindTemplate','ck-ai-quick-actions-button__group-icon','view','_allSearchableItems','optionsListView','fieldView','extendTemplate','1263096Ttdxvh','show','execute','clear','9848xpxZnI','9933qfGJIs','first','ck-ai-quick-actions','children','focusTracker','menu','addEventListener','setTemplate','mouseleave','detachFromDom','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','element','ck-ai-quick-actions-search-result__action-row','_handlePanelKeydown','.ck-ai-quick-actions-group-button','ck-ai-quick-actions-button_with-group','515asbCeA','_setupActionButtonExecution','focusCycler','.ck-ai-quick-actions-group-list','_createSearchResultIndividualActionButton','ArrowLeft','ck-ai-quick-actions-group-list','ck-ai-quick-actions-search-result__content','_bodyCollection','isVisible','menuitem','parent','_createSearchResultActionRow','_focusables','key','.ck-ai-quick-actions-group-panel','keystrokes','_setupGroupMenuBehavior','_createActionButton','resetSearch','ck-ai-quick-actions-button','2954541xIHrPB','_isMovingToNestedMenu','ck-ai-quick-actions-search-result-button_with-group','_searchTextView','_isSearchFocused','_showNestedPanel','add','_hasSearch','editing','icon','some','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','38997PUcSlb','ck-rounded-corners','_createListItems','locale','delete','uiLanguageDirection','get','hide','_getPanelKeystroke','ck-dropdown-menu__nested-menu__panel','_hideAllNestedPanels','chain','ck-button_with-text','2168760EYsRqx','bind','3130AFncBZ','rtl'];_0x5a5d=function(){return _0x300e2d;};return _0x5a5d();}import{getTranslation as _0xfae790}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x2243de}from'./aiquickactionsfilteredlistview.js';const Gs=_0x441253(0xa5),Ks=_0x441253(0xba);export class AIQuickActionsDropdownContentView extends _0x45d5fc{[_0x441253(0xb8)];[_0x441253(0x98)];[_0x441253(0xc8)]=null;[_0x441253(0x97)]=[];[_0x441253(0xa3)];[_0x441253(0xa4)];[_0x441253(0xc0)];[_0x441253(0xbd)];[_0x441253(0xb2)];[_0x441253(0x8c)]=new Set();[_0x441253(0xcc)];constructor(_0x1291f0,_0x5cc8a8,_0x4505ab,_0x2c3885,_0x739c72=!0x1){const _0x22b849=_0x441253,_0x3aed20=_0x1291f0[_0x22b849(0xd4)];super(_0x3aed20),this[_0x22b849(0xb8)]=_0x2c3885,this[_0x22b849(0xcc)]=_0x739c72;const _0x26d2d2=this[_0x22b849(0xd3)](_0x1291f0,_0x5cc8a8,_0x4505ab);this[_0x22b849(0x98)]=new _0x2243de(_0x3aed20,_0x26d2d2,this[_0x22b849(0x97)]),this[_0x22b849(0x98)][_0x22b849(0x87)]=Gs,this[_0x22b849(0x98)][_0x22b849(0x10a)][_0x22b849(0x102)](_0x26d2d2),this[_0x22b849(0xa4)]=new _0x4f5ec6(),this[_0x22b849(0xc0)]=new _0x1cdcff(),_0x739c72&&(this[_0x22b849(0xc8)]=this[_0x22b849(0xf9)]()),this[_0x22b849(0xbd)]=_0x26d2d2,this[_0x22b849(0xb2)]=new _0x4470d5({'focusables':this[_0x22b849(0xbd)],'focusTracker':this[_0x22b849(0xa4)],'keystrokeHandler':this[_0x22b849(0xc0)]}),_0x739c72&&this[_0x22b849(0xc8)]&&this[_0x22b849(0xb2)][_0x22b849(0xdc)](this[_0x22b849(0xc8)][_0x22b849(0xb2)]);const _0x2ff2ae=_0x739c72&&this[_0x22b849(0xc8)]?[this[_0x22b849(0xc8)]]:[this[_0x22b849(0x98)]];this[_0x22b849(0xa3)]=new _0x3a0b4c(_0x2ff2ae),this[_0x22b849(0xa7)]({'tag':_0x22b849(0xf7),'attributes':{'class':['ck',_0x22b849(0xe2),_0x22b849(0xa2),_0x22b849(0xd2)],'dir':_0x3aed20[_0x22b849(0xd6)]},'children':this[_0x22b849(0xa3)]});}[_0x441253(0xf9)](){const _0x35f5dc=_0x441253;return new _0x1e4ff6(this[_0x35f5dc(0xd4)],{'filteredView':this[_0x35f5dc(0x98)],'queryView':{'label':_0xfae790(this[_0x35f5dc(0xd4)],_0x35f5dc(0xfd))},'class':_0x35f5dc(0xe5),'infoView':{'text':{'notFound':{'primary':_0xfae790(this[_0x35f5dc(0xd4)],_0x35f5dc(0xe7))}}}});}[_0x441253(0xc9)](){const _0x59b884=_0x441253;if(!this[_0x59b884(0xcc)]||!this[_0x59b884(0xc8)]||!this[_0x59b884(0xc8)][_0x59b884(0xef)][_0x59b884(0x99)][_0x59b884(0xab)])return!0x1;const _0x4ac54c=this[_0x59b884(0xc8)][_0x59b884(0xef)][_0x59b884(0x99)][_0x59b884(0xab)][_0x59b884(0x91)]?.[_0x59b884(0xed)];return this[_0x59b884(0xc8)][_0x59b884(0xef)][_0x59b884(0x99)][_0x59b884(0xab)][_0x59b884(0xfc)](_0x4ac54c);}[_0x441253(0xd3)](_0x310ddf,_0x3eacdb,_0x1f17bc){const _0x32ca41=_0x441253,_0x3696ae=new _0x3a0b4c();return _0x3eacdb[_0x32ca41(0x8a)](_0x435120=>{const _0x58b4a9=_0x32ca41;if(_0x58b4a9(0x8e)in _0x435120){const {listItem:_0x574da7}=this[_0x58b4a9(0x88)](_0x310ddf,_0x435120,_0x1f17bc);_0x3696ae[_0x58b4a9(0xcb)](_0x574da7),_0x435120[_0x58b4a9(0x8e)][_0x58b4a9(0x8a)](_0x46cae2=>{const _0x5c2e2f=_0x58b4a9;this[_0x5c2e2f(0xc2)](_0x310ddf,_0x46cae2,_0x435120[_0x5c2e2f(0x109)],_0x435120[_0x5c2e2f(0xce)]);const {listItem:_0x2e88d5,highlightViews:_0x51b851}=this[_0x5c2e2f(0x82)](_0x310ddf,_0x46cae2,_0x435120[_0x5c2e2f(0x109)],_0x435120[_0x5c2e2f(0xce)]);this[_0x5c2e2f(0x97)][_0x5c2e2f(0x8f)]({'item':_0x2e88d5,'label':_0x46cae2[_0x5c2e2f(0x93)],'groupLabel':_0x435120[_0x5c2e2f(0x109)],'highlightViews':_0x51b851});});}else{const {listItem:_0x2dc312}=this[_0x58b4a9(0xc2)](_0x310ddf,_0x435120);_0x3696ae[_0x58b4a9(0xcb)](_0x2dc312);const _0x53fa25=_0x2dc312[_0x58b4a9(0xa3)][_0x58b4a9(0xa1)];if(_0x53fa25){const {listItem:_0x20f6eb,highlightViews:_0x2200b0}=this[_0x58b4a9(0x82)](_0x310ddf,_0x435120);this[_0x58b4a9(0x97)][_0x58b4a9(0x8f)]({'item':_0x20f6eb,'label':_0x53fa25[_0x58b4a9(0x109)]||'','highlightViews':_0x2200b0});}}}),_0x3696ae;}[_0x441253(0xc2)](_0x4e986a,_0x25af11,_0x415ef2,_0x20409a){const _0x352d07=_0x441253,_0x35e13d=new _0x404174(this[_0x352d07(0xd4)]);if(_0x415ef2&&_0x20409a){const _0x4ae279=new _0x657f81(this[_0x352d07(0xd4)]),_0x3da59e=_0x4ae279[_0x352d07(0x94)],_0x5e8e02=new _0x191b50();_0x5e8e02[_0x352d07(0x108)]=_0x25af11[_0x352d07(0x93)];const _0x2e0828=new _0x191b50();_0x2e0828[_0x352d07(0x108)]=_0x415ef2;const _0x2a4a1f=new _0xfc5224();_0x2a4a1f[_0x352d07(0xee)]=_0x20409a,_0x2a4a1f[_0x352d07(0x9a)]({'attributes':{'class':_0x352d07(0x95)}});const _0xc1482a=new _0x45d5fc(this[_0x352d07(0xd4)]);_0xc1482a[_0x352d07(0xa7)]({'tag':_0x352d07(0x104),'attributes':{'class':_0x352d07(0x103)},'children':[{'text':'\x20('}]});const _0x30fd07=new _0x45d5fc(this[_0x352d07(0xd4)]);return _0x30fd07[_0x352d07(0xa7)]({'tag':_0x352d07(0x104),'attributes':{'class':_0x352d07(0x90)},'children':[{'text':')'}]}),_0x4ae279[_0x352d07(0xf8)]({'label':_0x25af11[_0x352d07(0x93)]+'\x20('+_0x415ef2+')','withText':!0x0,'role':_0x352d07(0xba),'class':_0x352d07(0xaa),'tooltip':!0x1}),_0x4ae279[_0x352d07(0xa7)]({'tag':_0x352d07(0x100),'attributes':{'class':['ck',_0x352d07(0xeb),_0x352d07(0xdd),_0x352d07(0xc4),_0x352d07(0xaf)],'type':_0x352d07(0x100),'role':_0x352d07(0xba),'tabindex':'-1'},'children':[_0x5e8e02,_0xc1482a,_0x2a4a1f,_0x2e0828,_0x30fd07],'on':{'mouseenter':_0x3da59e['to'](()=>{const _0x31ce49=_0x352d07;this[_0x31ce49(0xc9)]()||_0x4ae279[_0x31ce49(0x86)]();}),'click':_0x3da59e['to'](()=>{const _0x3aed43=_0x352d07;_0x4ae279[_0x3aed43(0x84)](_0x3aed43(0x9d));})}}),_0x4ae279['on'](_0x352d07(0x9d),()=>{const _0x16fa2a=_0x352d07;_0x4e986a[_0x16fa2a(0xcd)][_0x16fa2a(0x96)][_0x16fa2a(0x86)](),_0x4e986a[_0x16fa2a(0x105)][_0x16fa2a(0x9d)](_0x16fa2a(0xfb),_0x25af11);}),_0x35e13d[_0x352d07(0xa3)][_0x352d07(0xcb)](_0x4ae279),{'listItem':_0x35e13d,'highlightViews':[_0x5e8e02,_0x2e0828]};}{const _0x44573e=new _0x40d143(),_0x581868=new _0x657f81(this[_0x352d07(0xd4)],_0x44573e),_0xb53506=_0x581868[_0x352d07(0x94)],_0x3e6abc=_0x25af11[_0x352d07(0xce)]??_0x25af11[_0x352d07(0xbb)]?.[_0x352d07(0xce)],_0x5e1649=void 0x0!==_0x25af11[_0x352d07(0xce)];return _0x581868[_0x352d07(0xf8)]({'label':_0x25af11[_0x352d07(0x93)],'withText':!0x0,'role':_0x352d07(0xba),'icon':_0x5e1649?_0x3e6abc??_0x4cd896:void 0x0,'tooltip':!0x1,'class':_0x352d07(0xc4)}),_0x581868[_0x352d07(0x9a)]({'on':{'mouseenter':_0xb53506['to'](()=>{const _0x25ac4f=_0x352d07;this[_0x25ac4f(0xc9)]()||_0x581868[_0x25ac4f(0x86)]();})}}),_0x581868['on'](_0x352d07(0x9d),()=>{const _0x12c00c=_0x352d07;_0x4e986a[_0x12c00c(0xcd)][_0x12c00c(0x96)][_0x12c00c(0x86)](),_0x4e986a[_0x12c00c(0x105)][_0x12c00c(0x9d)](_0x12c00c(0xfb),_0x25af11);}),_0x35e13d[_0x352d07(0xa3)][_0x352d07(0xcb)](_0x581868),{'listItem':_0x35e13d,'highlightViews':[_0x44573e]};}}[_0x441253(0x82)](_0x26fc7f,_0x1ba6fd,_0x114288,_0x3d935a){const _0xe3b8d0=_0x441253;return _0x114288&&_0x3d935a?this[_0xe3b8d0(0xf6)](_0x26fc7f,_0x1ba6fd,_0x114288,_0x3d935a):this[_0xe3b8d0(0xb4)](_0x26fc7f,_0x1ba6fd);}[_0x441253(0xf6)](_0x2536dc,_0x551962,_0x55d38e,_0x2e6a5a){const _0x45bb6a=_0x441253,_0x1fe6e2=new _0x404174(this[_0x45bb6a(0xd4)]),_0x274567=new _0x657f81(this[_0x45bb6a(0xd4)]),_0x11d86e=_0x274567[_0x45bb6a(0x94)],{view:_0x486b46,highlightView:_0x54a79d}=this[_0x45bb6a(0xf0)](_0x55d38e,_0x2e6a5a),{view:_0x4aed0a,highlightView:_0x2c7c12}=this[_0x45bb6a(0xbc)](_0x551962[_0x45bb6a(0x93)]),_0x8fd1ab=this[_0x45bb6a(0x106)](_0x486b46,_0x4aed0a);return _0x274567[_0x45bb6a(0xf8)]({'label':_0x551962[_0x45bb6a(0x93)],'withText':!0x0,'role':_0x45bb6a(0xba),'class':_0x45bb6a(0xd0),'tooltip':!0x1}),_0x274567[_0x45bb6a(0xa7)]({'tag':_0x45bb6a(0x100),'attributes':{'class':['ck',_0x45bb6a(0xeb),_0x45bb6a(0xdd),_0x45bb6a(0xc4),_0x45bb6a(0xe9),_0x45bb6a(0xc7)],'type':_0x45bb6a(0x100),'role':_0x45bb6a(0xba),'tabindex':'-1'},'children':[_0x8fd1ab],'on':{'mouseenter':_0x11d86e['to'](()=>{const _0x2446ed=_0x45bb6a;this[_0x2446ed(0xc9)]()||_0x274567[_0x2446ed(0x86)]();}),'click':_0x11d86e['to'](()=>{const _0x456195=_0x45bb6a;this[_0x456195(0xf3)](_0x274567);})}}),this[_0x45bb6a(0xb1)](_0x274567,_0x2536dc,_0x551962),_0x1fe6e2[_0x45bb6a(0xa3)][_0x45bb6a(0xcb)](_0x274567),{'listItem':_0x1fe6e2,'highlightViews':[_0x54a79d,_0x2c7c12]};}[_0x441253(0xb4)](_0xb259b6,_0x2ec89c){const _0x12db65=_0x441253,_0x59a433=new _0x404174(this[_0x12db65(0xd4)]),_0x4d445b=new _0x40d143(),_0x5d92c2=new _0x657f81(this[_0x12db65(0xd4)],_0x4d445b),_0x25db84=_0x5d92c2[_0x12db65(0x94)];return _0x5d92c2[_0x12db65(0xf8)]({'label':_0x2ec89c[_0x12db65(0x93)],'withText':!0x0,'role':_0x12db65(0xba),'icon':void 0x0,'tooltip':!0x1,'class':_0x12db65(0x8b)}),_0x5d92c2[_0x12db65(0x9a)]({'on':{'mouseenter':_0x25db84['to'](()=>{const _0xd12a27=_0x12db65;this[_0xd12a27(0xc9)]()||_0x5d92c2[_0xd12a27(0x86)]();})}}),this[_0x12db65(0xb1)](_0x5d92c2,_0xb259b6,_0x2ec89c),_0x59a433[_0x12db65(0xa3)][_0x12db65(0xcb)](_0x5d92c2),{'listItem':_0x59a433,'highlightViews':[_0x4d445b]};}[_0x441253(0xf0)](_0x700293,_0x18c189){const _0x8bdd4e=_0x441253,_0x478b06=new _0x45d5fc(this[_0x8bdd4e(0xd4)]),_0x500357=new _0xfc5224();_0x500357[_0x8bdd4e(0xee)]=_0x18c189,_0x500357[_0x8bdd4e(0x9a)]({'attributes':{'class':_0x8bdd4e(0x95)}});const _0x502802=new _0x191b50();return _0x502802[_0x8bdd4e(0x108)]=_0x700293,_0x478b06[_0x8bdd4e(0xa7)]({'tag':_0x8bdd4e(0xf7),'attributes':{'class':_0x8bdd4e(0xf5)},'children':[_0x500357,_0x502802]}),{'view':_0x478b06,'highlightView':_0x502802};}[_0x441253(0xbc)](_0x326b1a){const _0x2a7ce9=_0x441253,_0xe4c8c5=new _0x45d5fc(this[_0x2a7ce9(0xd4)]),_0x5f1e1d=new _0x191b50();return _0x5f1e1d[_0x2a7ce9(0x108)]=_0x326b1a,_0xe4c8c5[_0x2a7ce9(0xa7)]({'tag':_0x2a7ce9(0xf7),'attributes':{'class':_0x2a7ce9(0xac)},'children':[_0x5f1e1d]}),{'view':_0xe4c8c5,'highlightView':_0x5f1e1d};}[_0x441253(0x106)](_0x3dff90,_0x57e66a){const _0x585e91=_0x441253,_0x49af1d=new _0x45d5fc(this[_0x585e91(0xd4)]);return _0x49af1d[_0x585e91(0xa7)]({'tag':_0x585e91(0xf7),'attributes':{'class':_0x585e91(0xb7)},'children':[_0x3dff90,_0x57e66a]}),_0x49af1d;}[_0x441253(0xb1)](_0x1a1980,_0x263d3c,_0x5c2a10){const _0x3b3300=_0x441253;_0x1a1980['on'](_0x3b3300(0x9d),()=>{const _0xa1ec64=_0x3b3300;_0x263d3c[_0xa1ec64(0xcd)][_0xa1ec64(0x96)][_0xa1ec64(0x86)](),_0x263d3c[_0xa1ec64(0x105)][_0xa1ec64(0x9d)](_0xa1ec64(0xfb),_0x5c2a10);});}[_0x441253(0x88)](_0x20d762,_0x5a14dd,_0x558209){const _0x404340=_0x441253,_0x2bc106=new _0x404174(this[_0x404340(0xd4)]),_0x2d9868=new _0x40d143(),_0x5f13cf=new _0x570437(this[_0x404340(0xd4)],_0x2d9868),_0x1252b2=_0x5f13cf[_0x404340(0x94)],_0x51f096=this[_0x404340(0xd9)](_0x558209),_0x1643f4=this[_0x404340(0xe8)](_0x20d762,_0x5a14dd[_0x404340(0x8e)],_0x558209);_0x5f13cf[_0x404340(0xf8)]({'label':_0x5a14dd[_0x404340(0x109)],'withText':!0x0,'role':Ks,'icon':_0x5a14dd[_0x404340(0xce)]??_0x4cd896,'isEnabled':_0x5a14dd[_0x404340(0x8e)][_0x404340(0xcf)](_0x1fd570=>_0x1fd570[_0x404340(0x83)])}),_0x5f13cf[_0x404340(0x9a)]({'on':{'mouseenter':_0x1252b2['to'](()=>{const _0x176d60=_0x404340;this[_0x176d60(0xc9)]()||_0x5f13cf[_0x176d60(0x86)]();})}});const _0x31523d=new _0x4c43d7(this[_0x404340(0xd4)]);return _0x31523d[_0x404340(0x9a)]({'attributes':{'class':['ck',_0x404340(0xe2),_0x404340(0xf4),_0x404340(0xda)]},'on':{'keydown':_0x1252b2['to'](_0x362e2b=>{const _0x2462f7=_0x404340;this[_0x2462f7(0xad)](_0x362e2b,_0x51f096,_0x5f13cf,_0x31523d);})}}),_0x5f13cf[_0x404340(0xdf)](_0x404340(0x101))['to'](_0x31523d,_0x404340(0xb9)),this[_0x404340(0xb8)][_0x404340(0xcb)](_0x31523d),_0x31523d[_0x404340(0xee)][_0x404340(0xcb)](_0x1643f4),this[_0x404340(0xc1)](_0x5f13cf,_0x31523d),_0x2bc106[_0x404340(0xa3)][_0x404340(0xcb)](_0x5f13cf),{'listItem':_0x2bc106,'highlightView':_0x2d9868};}[_0x441253(0xe8)](_0x101748,_0x22344e,_0x35cbb4){const _0xc19a48=_0x441253,_0x31e489=new _0x395cee(this[_0xc19a48(0xd4)]);return _0x31e489[_0xc19a48(0x9a)]({'attributes':{'class':['ck',_0xc19a48(0xe2),_0xc19a48(0xb6),_0xc19a48(0xf2)]}}),_0x22344e[_0xc19a48(0x8a)](_0x4cf545=>{const _0x229f53=_0xc19a48,_0x14dcd2=new _0x404174(this[_0x229f53(0xd4)]),_0x2dc842=_0x2b6fb1({'editor':_0x101748,'action':_0x4cf545,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x229f53(0xc9)]()})();_0x14dcd2[_0x229f53(0xa3)][_0x229f53(0xcb)](_0x2dc842),_0x35cbb4[_0x229f53(0xa4)][_0x229f53(0xcb)](_0x2dc842),_0x31e489[_0x229f53(0x10a)][_0x229f53(0xcb)](_0x14dcd2);}),_0x31e489;}[_0x441253(0xc1)](_0x2a2431,_0xabdd78){const _0x2c9c8c=_0x441253,_0x2b22bc=_0x2a2431[_0x2c9c8c(0x94)],_0x41acd4=this[_0x2c9c8c(0xe6)](_0x2a2431);_0x2a2431[_0x2c9c8c(0x9a)]({'attributes':{'class':[_0x2c9c8c(0xfa)]},'on':{'mouseenter':_0x2b22bc['to'](()=>{const _0x4dedcf=_0x2c9c8c;this[_0x4dedcf(0xca)](_0xabdd78,_0x2a2431);}),'mouseleave':_0x2b22bc['to'](_0xa92686=>{const _0x30cd77=_0x2c9c8c,_0x1fcec5=_0xa92686[_0x30cd77(0xe4)];this[_0x30cd77(0xc6)](_0x1fcec5,_0xabdd78)||this[_0x30cd77(0x89)](_0xabdd78);}),'keydown':_0x2b22bc['to'](_0x244cf5=>{const _0x8b2038=_0x2c9c8c;_0x244cf5[_0x8b2038(0xbe)]==_0x41acd4&&(this[_0x8b2038(0xca)](_0xabdd78,_0x2a2431),_0xabdd78[_0x8b2038(0xee)][_0x8b2038(0xd7)](0x0)[_0x8b2038(0x86)]());})}}),_0xabdd78['on'](_0x2c9c8c(0xec),()=>{const _0x3f2876=_0x2c9c8c;_0xabdd78[_0x3f2876(0xab)]?.[_0x3f2876(0xa6)](_0x3f2876(0xa8),_0x3dded8=>{const _0x50cc21=_0x3f2876,_0x2edbe5=_0x3dded8[_0x50cc21(0xe4)];_0x2a2431[_0x50cc21(0xab)]?.[_0x50cc21(0xfc)](_0x2edbe5)||this[_0x50cc21(0xc6)](_0x2edbe5,_0xabdd78)||this[_0x50cc21(0x89)](_0xabdd78);});});}[_0x441253(0xca)](_0x46321c,_0x4d2ca2){const _0x8407e0=_0x441253;this[_0x8407e0(0x8c)][_0x8407e0(0x8a)](_0x5a1dfd=>{const _0x50470a=_0x8407e0;_0x5a1dfd!==_0x46321c&&_0x5a1dfd[_0x50470a(0xb9)]&&_0x5a1dfd[_0x50470a(0xd8)]();}),_0x46321c[_0x8407e0(0x9c)](),_0x46321c[_0x8407e0(0x85)]({'positions':[_0x446d2b[_0x8407e0(0x92)]],'target':_0x4d2ca2[_0x8407e0(0xab)],'fitInViewport':!0x0}),this[_0x8407e0(0x8c)][_0x8407e0(0xcb)](_0x46321c);}[_0x441253(0x89)](_0xf924f6){const _0x3bb383=_0x441253;_0xf924f6[_0x3bb383(0xd8)](),this[_0x3bb383(0x8c)][_0x3bb383(0xd5)](_0xf924f6);}[_0x441253(0xdb)](){const _0x18cc37=_0x441253;this[_0x18cc37(0x8c)][_0x18cc37(0x8a)](_0x5e9225=>_0x5e9225[_0x18cc37(0xd8)]()),this[_0x18cc37(0x8c)][_0x18cc37(0x9e)]();}[_0x441253(0xc6)](_0x4818da,_0x5c04b6){const _0x3e55ee=_0x441253;if(!_0x4818da)return!0x1;if(_0x5c04b6[_0x3e55ee(0xab)]?.[_0x3e55ee(0xfc)](_0x4818da))return!0x0;const _0x4d4a82=_0x4818da;return _0x4d4a82[_0x3e55ee(0xff)]&&(null!==_0x4d4a82[_0x3e55ee(0xff)](_0x3e55ee(0xbf))||null!==_0x4d4a82[_0x3e55ee(0xff)](_0x3e55ee(0xb3))||null!==_0x4d4a82[_0x3e55ee(0xff)](_0x3e55ee(0xae)));}[_0x441253(0xc3)](){const _0x5a2f8a=_0x441253;this[_0x5a2f8a(0xc8)]&&this[_0x5a2f8a(0xc8)][_0x5a2f8a(0x8d)]();}[_0x441253(0xe3)](){const _0x1b62dc=_0x441253;this[_0x1b62dc(0xdb)](),this[_0x1b62dc(0xb8)][_0x1b62dc(0xa9)](),super[_0x1b62dc(0xe3)]();}[_0x441253(0x86)](){const _0x387cec=_0x441253;this[_0x387cec(0xc8)]?this[_0x387cec(0xc8)][_0x387cec(0x86)]():this[_0x387cec(0x98)][_0x387cec(0x86)]();}[_0x441253(0xd9)](_0x233e34){const _0x3d0522=_0x441253;return _0x3d0522(0xe1)===_0x233e34[_0x3d0522(0xd4)][_0x3d0522(0xd6)]?_0x3d0522(0x107):_0x3d0522(0xb5);}[_0x441253(0xe6)](_0x3b78d9){const _0xb85d88=_0x441253;return _0xb85d88(0xe1)===_0x3b78d9[_0xb85d88(0xd4)][_0xb85d88(0xd6)]?_0xb85d88(0xb5):_0xb85d88(0x107);}[_0x441253(0xad)](_0x3b3962,_0x16ccdd,_0x2dd570,_0x1d6f82){const _0x3a9b79=_0x441253;_0x3b3962[_0x3a9b79(0xbe)]==_0x16ccdd&&(_0x2dd570[_0x3a9b79(0x86)](),this[_0x3a9b79(0x89)](_0x1d6f82));}[_0x441253(0xf3)](_0x36235f){const _0x218c3f=_0x441253;_0x36235f[_0x218c3f(0x84)](_0x218c3f(0x9d));}}