@ckeditor/ckeditor5-ai 47.7.4 → 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 (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9070d7=_0x1054;function _0x3bbd(){const _0x505ee3=['1JtRqse','1902360pEQYWC','304690bABDBY','init','AIChat','234578lvzZuQ','971298LtlAcg','plugins','has','2645195kcIuOy','isPremiumPlugin','pluginName','selection','removeSelectionFromChatContext','aiQuickAction','1183272Zsjqtg','model','change:range','AIQuickActionsEditing','editor','commands','isOfficialPlugin','directChange','document','add','1651656vNDgEs','get'];_0x3bbd=function(){return _0x505ee3;};return _0x3bbd();}function _0x1054(_0x636998,_0x3e7ff4){const _0x3bbdd9=_0x3bbd();return _0x1054=function(_0x1054cb,_0x8e7181){_0x1054cb=_0x1054cb-0x1d8;let _0x578aff=_0x3bbdd9[_0x1054cb];return _0x578aff;},_0x1054(_0x636998,_0x3e7ff4);}(function(_0x4248e2,_0x4609c6){const _0x4e3776=_0x1054,_0x2713c0=_0x4248e2();while(!![]){try{const _0x4aa2f7=-parseInt(_0x4e3776(0x1e7))/0x1*(-parseInt(_0x4e3776(0x1ec))/0x2)+parseInt(_0x4e3776(0x1ed))/0x3+-parseInt(_0x4e3776(0x1db))/0x4+-parseInt(_0x4e3776(0x1e9))/0x5+parseInt(_0x4e3776(0x1e8))/0x6+-parseInt(_0x4e3776(0x1f0))/0x7+parseInt(_0x4e3776(0x1e5))/0x8;if(_0x4aa2f7===_0x4609c6)break;else _0x2713c0['push'](_0x2713c0['shift']());}catch(_0x4ef9de){_0x2713c0['push'](_0x2713c0['shift']());}}}(_0x3bbd,0x3822b));import{Plugin as _0x89a32e}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x2d4e90}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x89a32e{static get[_0x9070d7(0x1f2)](){const _0x9e9d3e=_0x9070d7;return _0x9e9d3e(0x1de);}static get[_0x9070d7(0x1e1)](){return!0x0;}static get[_0x9070d7(0x1f1)](){return!0x0;}[_0x9070d7(0x1ea)](){const _0xdc13f9=_0x9070d7,_0x168933=this[_0xdc13f9(0x1df)],_0x3a5790=new _0x2d4e90(this[_0xdc13f9(0x1df)]);if(_0x168933[_0xdc13f9(0x1e0)][_0xdc13f9(0x1e4)](_0xdc13f9(0x1da),_0x3a5790),_0x168933[_0xdc13f9(0x1ee)][_0xdc13f9(0x1ef)](_0xdc13f9(0x1eb))){const _0x748622=this[_0xdc13f9(0x1df)][_0xdc13f9(0x1ee)][_0xdc13f9(0x1e6)](_0xdc13f9(0x1eb));_0x168933[_0xdc13f9(0x1dc)][_0xdc13f9(0x1e3)][_0xdc13f9(0x1d8)]['on'](_0xdc13f9(0x1dd),(_0x3ea292,_0x2da375)=>{const _0x2a9303=_0xdc13f9;_0x2da375[_0x2a9303(0x1e2)]&&_0x748622[_0x2a9303(0x1d9)]();});}}}
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 _0x221774=_0x4d93;(function(_0x5875ba,_0x46145a){const _0x36a702=_0x4d93,_0x3b839c=_0x5875ba();while(!![]){try{const _0x2a8275=-parseInt(_0x36a702(0x1ba))/0x1*(parseInt(_0x36a702(0x1c9))/0x2)+parseInt(_0x36a702(0x1ee))/0x3*(parseInt(_0x36a702(0x1ad))/0x4)+parseInt(_0x36a702(0x1f6))/0x5*(parseInt(_0x36a702(0x20d))/0x6)+-parseInt(_0x36a702(0x21e))/0x7*(parseInt(_0x36a702(0x227))/0x8)+parseInt(_0x36a702(0x188))/0x9*(-parseInt(_0x36a702(0x1c4))/0xa)+parseInt(_0x36a702(0x1ce))/0xb*(parseInt(_0x36a702(0x1d6))/0xc)+parseInt(_0x36a702(0x202))/0xd*(parseInt(_0x36a702(0x210))/0xe);if(_0x2a8275===_0x46145a)break;else _0x3b839c['push'](_0x3b839c['shift']());}catch(_0x167e9e){_0x3b839c['push'](_0x3b839c['shift']());}}}(_0x35f6,0xb64d5));import{IconAIAdjustLength as _0x3a49d9,IconAIChangeTone as _0x3b80e1,IconAIChatCommands as _0x1c52a3,IconAIContinueWriting as _0x3c268f,IconAIGrammarCheck as _0x2a27fb,IconAIImproveWriting as _0x5af1f6,IconAIOther as _0x162d91,IconAIQuickActions as _0x3e31a6,IconAITranslate as _0x1f1ffd}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x297270}from'ckeditor5/src/core.js';import{CKEditorError as _0x426fe1,logError as _0x53829b}from'ckeditor5/src/utils.js';function _0x4d93(_0x2bb20f,_0x3f3742){const _0x35f643=_0x35f6();return _0x4d93=function(_0x4d93c7,_0x1ea512){_0x4d93c7=_0x4d93c7-0x186;let _0x25818e=_0x35f643[_0x4d93c7];return _0x25818e;},_0x4d93(_0x2bb20f,_0x3f3742);}import{getTranslation as _0x248f34}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x46a08a}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x401ea4}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x17027d,BalloonToolbar as _0x2eadaa,MenuBarMenuView as _0x24463b,MenuBarMenuListView as _0x1dd6da,MenuBarMenuListItemView as _0x37d7e6,MenuBarMenuListItemButtonView as _0x3de840}from'ckeditor5/src/ui.js';import{AIModels as _0x1319f0}from'../aicore/model/aimodels.js';import{AIConnector as _0x47a7b0}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x221774(0x212),ie=_0x221774(0x229),ne=_0x221774(0x1e9);export var AIQuickActionType;!function(_0x312b53){const _0x73b24d=_0x221774;_0x312b53[_0x73b24d(0x1a7)]=_0x73b24d(0x1a7),_0x312b53[_0x73b24d(0x1b9)]=_0x73b24d(0x1b9),_0x312b53[_0x73b24d(0x1e0)]=_0x73b24d(0x1e0);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x352a1e){const _0x236a80=_0x221774;_0x352a1e[_0x236a80(0x1a7)]=_0x236a80(0x1f0),_0x352a1e[_0x236a80(0x1b9)]=_0x236a80(0x1df),_0x352a1e[_0x236a80(0x1e0)]=_0x236a80(0x1a1);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x35f6(){const _0x547be4=['focus','AI_QUICK_ACTIONS_TRANSLATE','2991ikVEQo','isPremiumPlugin','AIChat','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_MORE_CONFIDENT','ai.quickActions.removeCommands','ai-quick-actions-unavailable-model','make-tone-direct','3290xOmSnj','values','displayedPrompt','map','model','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_OTHER','isEnabled','other','_getDefaultAndCustomActions','label','aiQuickActions','13iRRqft','improve-writing','chinese','filter','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-german','attachToDom','change-tone','AI_QUICK_ACTIONS_SUMMARIZE','_initializeQuickActionsComponentsAndCommands','has','11802IdJhpV','AI_QUICK_ACTIONS_ADJUST_LENGTH','make-shorter','13291082VnBdRr','_initializeQuickActionsMenuBar','<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>','menuBar:aiQuickActions','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','uiLanguage','AI_QUICK_ACTIONS_CHAT_COMMANDS','explain','german','AIQuickActionsUI','make-tone-confident','english','6830719YrKYzW','aiQuickAction','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','menuitem','french','replace','AI_QUICK_ACTIONS_CHANGE_TONE','actions','8kxTokL','children','<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>','AI_QUICK_ACTIONS_HEADING','init','translate-to-japanese','210573vtecvO','view','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','push','add','isOfficialPlugin','getDefaultQuickActions','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','type','make-tone-casual','continue','_prepareQuickActionsDefinition','execute','korean','some','translate-to-portuguese','ai-quick-actions-models-unable-to-retrieve','translate-to-italian','items','editor','ai.quickActions.extraCommands','summarize','delegate','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AIConnector','AIReviewMode','translate-to-chinese','highlight-key-points','fix-grammar','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_MAKE_LONGER','CHAT','ask-ai','_shouldIncludeAction','find','AI_QUICK_ACTIONS_CONTINUE_WRITING','commands','16MqjUrk','ai.quickActions.isSearchEnabled','portuguese','pluginName','translate-to-spanish','DisplayNames','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','menu','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','plugins','forEach','ACTION','194OWsCkE','translate-to-french','adjust-length','spanish','length','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','get','AI_QUICK_ACTIONS_EXPLAIN','japanese','italian','480wvgRGS','AI_QUICK_ACTIONS_ASK_AI','translate','buttonView','make-longer','4844kVMIwO','menuBarView','make-tone-friendly','includes','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','11745943XJZGFz','message','translate-to-english','locale','AI_QUICK_ACTIONS_MORE_CASUAL','getAll','_executeQuickAction','ai.chat.context.document.enabled','12kHrzCo','set','make-tone-professional','_initializeQuickActionsDropdown','_quickActionsDefinition','AI_QUICK_ACTIONS_MORE_FRIENDLY','English','chat-commands','icon','AIActions','REVIEW','language','config','requires','close','translate-to-russian','panelView','editing','russian','<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>','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','componentFactory'];_0x35f6=function(){return _0x547be4;};return _0x35f6();}export class AIQuickActionsUI extends _0x297270{static get[_0x221774(0x1e3)](){return[_0x2eadaa,_0x47a7b0];}static get[_0x221774(0x1b0)](){const _0x29d058=_0x221774;return _0x29d058(0x21b);}static get[_0x221774(0x18d)](){return!0x0;}static get[_0x221774(0x1ef)](){return!0x0;}async[_0x221774(0x186)](){const _0x4a002f=_0x221774,_0x252ea4=await this[_0x4a002f(0x1ff)]();this[_0x4a002f(0x193)](_0x252ea4),this[_0x4a002f(0x20b)]();}static[_0x221774(0x18e)](_0x490611){return function(_0xaad198){const _0x51394e=_0x4d93,_0x295fa6=new Intl[(_0x51394e(0x1b2))](['en'],{'type':_0x51394e(0x1e1)})['of'](_0xaad198[_0x51394e(0x217)]),_0x34c8a9=_0x295fa6||_0x51394e(0x1dc),_0x4bb34e=[{'id':_0x51394e(0x1a8),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1c5)),'type':AIQuickActionType[_0x51394e(0x1a7)],'icon':_0x1c52a3},{'id':_0x51394e(0x1dd),'label':_0x248f34(_0xaad198,_0x51394e(0x218)),'icon':_0x1c52a3,'actions':[{'id':_0x51394e(0x219),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1c1)),'prompt':ee[_0x51394e(0x224)]('%0',_0x34c8a9),'type':AIQuickActionType[_0x51394e(0x1a7)]},{'id':_0x51394e(0x19d),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x20a)),'prompt':ie[_0x51394e(0x224)]('%0',_0x34c8a9),'type':AIQuickActionType[_0x51394e(0x1a7)]},{'id':_0x51394e(0x1a3),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x221)),'prompt':ne[_0x51394e(0x224)]('%0',_0x34c8a9),'type':AIQuickActionType[_0x51394e(0x1a7)]}]},{'id':_0x51394e(0x203),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x215)),'type':AIQuickActionType[_0x51394e(0x1b9)],'icon':_0x5af1f6},{'id':_0x51394e(0x192),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1ab)),'type':AIQuickActionType[_0x51394e(0x1b9)],'icon':_0x3c268f},{'id':_0x51394e(0x1a4),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x19f)),'type':AIQuickActionType[_0x51394e(0x1b9)],'icon':_0x2a27fb},{'id':_0x51394e(0x1bc),'label':_0x248f34(_0xaad198,_0x51394e(0x20e)),'icon':_0x3a49d9,'actions':[{'id':_0x51394e(0x20f),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1f1)),'type':AIQuickActionType[_0x51394e(0x1b9)]},{'id':_0x51394e(0x1c8),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1a6)),'type':AIQuickActionType[_0x51394e(0x1b9)]}]},{'id':_0x51394e(0x209),'label':_0x248f34(_0xaad198,_0x51394e(0x225)),'icon':_0x3b80e1,'actions':[{'id':_0x51394e(0x191),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1d2)),'type':AIQuickActionType[_0x51394e(0x1b9)]},{'id':_0x51394e(0x1f5),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1fb)),'type':AIQuickActionType[_0x51394e(0x1b9)]},{'id':_0x51394e(0x1cb),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1db)),'type':AIQuickActionType[_0x51394e(0x1b9)]},{'id':_0x51394e(0x21c),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1f2)),'type':AIQuickActionType[_0x51394e(0x1b9)]},{'id':_0x51394e(0x1d8),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1b3)),'type':AIQuickActionType[_0x51394e(0x1b9)]}]},{'id':_0x51394e(0x1c6),'label':_0x248f34(_0xaad198,_0x51394e(0x1ed)),'icon':_0x1f1ffd,'actions':[{'id':_0x51394e(0x1d0),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x18f)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x21d)}},{'id':_0x51394e(0x1a2),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x214)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x204)}},{'id':_0x51394e(0x1b1),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1cd)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x1bd)}},{'id':_0x51394e(0x207),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1b6)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x21a)}},{'id':_0x51394e(0x1bb),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1bf)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x223)}},{'id':_0x51394e(0x187),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x206)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x1c2)}},{'id':_0x51394e(0x197),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1a5)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x1af)}},{'id':_0x51394e(0x1b5),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x18a)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x195)}},{'id':_0x51394e(0x199),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x216)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x1c3)}},{'id':_0x51394e(0x1e5),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1ea)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x1e8)}}]},{'id':_0x51394e(0x1fe),'label':_0x248f34(_0xaad198,_0x51394e(0x1fc)),'icon':_0x162d91,'actions':[]}];return _0x4bb34e;}(_0x490611);}async[_0x221774(0x1ff)](){const _0x5ba6c6=_0x221774,_0x5f561d=AIQuickActionsUI[_0x5ba6c6(0x18e)](this[_0x5ba6c6(0x19b)][_0x5ba6c6(0x1d1)]),_0x28ef9f=this[_0x5ba6c6(0x19b)][_0x5ba6c6(0x1e2)][_0x5ba6c6(0x1c0)](_0x5ba6c6(0x19c))||[];let _0xa4ea1c=[];try{_0xa4ea1c=await new _0x1319f0({'connector':this[_0x5ba6c6(0x19b)][_0x5ba6c6(0x1b7)][_0x5ba6c6(0x1c0)](_0x5ba6c6(0x1a0)),'locale':this[_0x5ba6c6(0x19b)][_0x5ba6c6(0x1d1)]})[_0x5ba6c6(0x1d3)]();}catch(_0x5285ff){const _0x5c0d83=new _0x426fe1(_0x5ba6c6(0x198),this,{'error':_0x5285ff});_0x53829b(_0x5c0d83[_0x5ba6c6(0x1cf)]);}finally{const _0x27ed8b=_0x28ef9f[_0x5ba6c6(0x1f9)](_0x492610=>({..._0x492610,'icon':void 0x0}));_0x5f561d[_0x5ba6c6(0x1aa)](_0x1bba19=>_0x5ba6c6(0x1fe)===_0x1bba19['id'])[_0x5ba6c6(0x226)][_0x5ba6c6(0x18b)](..._0x27ed8b),_0x5f561d[_0x5ba6c6(0x1b8)](_0x5d94ae=>{const _0x3ef914=_0x5ba6c6;if(_0x3ef914(0x226)in _0x5d94ae)_0x5d94ae[_0x3ef914(0x226)][_0x3ef914(0x1b8)](_0x289fd7=>{const _0xd9d65a=_0x3ef914;if(_0x289fd7[_0xd9d65a(0x1fd)]=!!_0xa4ea1c[_0xd9d65a(0x1aa)](_0x12c7c3=>_0x12c7c3['id']===_0x289fd7[_0xd9d65a(0x1fa)])||void 0x0===_0x289fd7[_0xd9d65a(0x1fa)],!_0x289fd7[_0xd9d65a(0x1fd)]){const _0x45ffeb=new _0x426fe1(_0xd9d65a(0x1f4),this,{'actionId':_0x289fd7['id'],'modelId':_0x289fd7[_0xd9d65a(0x1fa)]});_0x53829b(_0x45ffeb[_0xd9d65a(0x1cf)]);}});else{if(_0x5d94ae[_0x3ef914(0x1fd)]=!!_0xa4ea1c[_0x3ef914(0x1aa)](_0x1b7ed0=>_0x1b7ed0['id']===_0x5d94ae[_0x3ef914(0x1fa)])||void 0x0===_0x5d94ae[_0x3ef914(0x1fa)],!_0x5d94ae[_0x3ef914(0x1fd)]){const _0x1a1d8c=new _0x426fe1(_0x3ef914(0x1f4),this,{'actionId':_0x5d94ae['id'],'modelId':_0x5d94ae[_0x3ef914(0x1fa)]});_0x53829b(_0x1a1d8c[_0x3ef914(0x1cf)]);}}});}return _0x5f561d;}[_0x221774(0x20b)](){const _0x1959dc=_0x221774,_0x380bc3=new _0x17027d(this[_0x1959dc(0x19b)][_0x1959dc(0x1d1)]);_0x380bc3[_0x1959dc(0x208)](),this[_0x1959dc(0x1d9)](_0x380bc3),this[_0x1959dc(0x211)](),this[_0x1959dc(0x220)](_0x380bc3);}[_0x221774(0x1d9)](_0x144b53){const _0x38759d=_0x221774,_0x1aa4c9=this[_0x38759d(0x19b)][_0x38759d(0x1e2)][_0x38759d(0x1c0)](_0x38759d(0x1ae))??!0x0;this[_0x38759d(0x19b)]['ui'][_0x38759d(0x1eb)][_0x38759d(0x18c)](_0x38759d(0x201),_0x46a08a({'editor':this[_0x38759d(0x19b)],'content':this[_0x38759d(0x1da)],'buttonDefinition':{'icon':_0x3e31a6,'label':_0x248f34(this[_0x38759d(0x19b)][_0x38759d(0x1d1)],_0x38759d(0x22a))},'bodyCollection':_0x144b53,'hasSearch':_0x1aa4c9}));}[_0x221774(0x193)](_0x16e258){const _0x2acd02=_0x221774;this[_0x2acd02(0x1da)]=_0x16e258[_0x2acd02(0x1f9)](_0x980334=>{const _0x4c5761=_0x2acd02;if(_0x4c5761(0x226)in _0x980334){const _0x3ac9a0=_0x980334;return{..._0x3ac9a0,'actions':_0x3ac9a0[_0x4c5761(0x226)][_0x4c5761(0x1f9)](_0x5c067c=>{const {actions:_0x2b2c8b,..._0x318e36}=_0x3ac9a0;return{..._0x5c067c,'parent':_0x318e36};})[_0x4c5761(0x205)](_0x1e16c9=>this[_0x4c5761(0x1a9)](_0x1e16c9))};}return _0x980334;})[_0x2acd02(0x205)](_0x1f7736=>_0x2acd02(0x226)in _0x1f7736?_0x1f7736[_0x2acd02(0x226)][_0x2acd02(0x1be)]>0x0:this[_0x2acd02(0x1a9)](_0x1f7736));}[_0x221774(0x1a9)](_0x471cb7){const _0x277015=_0x221774,_0x55a6d7=this[_0x277015(0x19b)][_0x277015(0x1e2)][_0x277015(0x1c0)](_0x277015(0x1f3))||[];return this[_0x277015(0x19b)][_0x277015(0x1b7)][_0x277015(0x20c)](AIQuickActionTypeToPluginName[_0x471cb7[_0x277015(0x190)]])&&!_0x55a6d7[_0x277015(0x1cc)](_0x471cb7['id'])&&!(_0x471cb7[_0x277015(0x190)]===AIQuickActionType[_0x277015(0x1a7)]&&!0x1===this[_0x277015(0x19b)][_0x277015(0x1e2)][_0x277015(0x1c0)](_0x277015(0x1d5)));}[_0x221774(0x220)](_0x2b89e7){const _0x32e959=_0x221774;this[_0x32e959(0x1da)][_0x32e959(0x1b8)](_0x6e89f5=>{const _0x10455b=_0x32e959;if(_0x10455b(0x226)in _0x6e89f5){const _0x2b159b=_0x46a08a({'editor':this[_0x10455b(0x19b)],'content':_0x6e89f5[_0x10455b(0x226)],'buttonDefinition':_0x6e89f5,'bodyCollection':_0x2b89e7});this[_0x10455b(0x19b)]['ui'][_0x10455b(0x1eb)][_0x10455b(0x18c)](_0x6e89f5['id'],_0x2b159b),_0x6e89f5[_0x10455b(0x226)][_0x10455b(0x1b8)](_0x5c6f08=>{const _0x201c66=_0x10455b,_0x42f355=_0x401ea4({'editor':this[_0x201c66(0x19b)],'action':_0x5c6f08});this[_0x201c66(0x19b)]['ui'][_0x201c66(0x1eb)][_0x201c66(0x18c)](_0x5c6f08['id'],_0x42f355);});}else{const _0xd8f967=_0x401ea4({'editor':this[_0x10455b(0x19b)],'action':_0x6e89f5,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x10455b(0x19b)]['ui'][_0x10455b(0x1eb)][_0x10455b(0x18c)](_0x6e89f5['id'],_0xd8f967);}});}[_0x221774(0x211)](){const _0xe0dc9e=_0x221774;this[_0xe0dc9e(0x19b)]['ui'][_0xe0dc9e(0x1eb)][_0xe0dc9e(0x18c)](_0xe0dc9e(0x213),_0x530703=>{const _0xce290d=_0xe0dc9e,_0x4af217=new _0x24463b(_0x530703),_0x2deadc=_0x248f34(_0x530703,_0xce290d(0x22a));_0x4af217[_0xce290d(0x1c7)][_0xce290d(0x1d7)]({'label':_0x2deadc,'icon':_0x3e31a6});const _0x5b184b=new _0x1dd6da(_0x530703);_0x5b184b[_0xce290d(0x1d7)]({'ariaLabel':_0x2deadc,'role':_0xce290d(0x1b4)}),this[_0xce290d(0x1da)][_0xce290d(0x1b8)](_0x47529a=>{const _0x488366=_0xce290d;if(_0x488366(0x226)in _0x47529a){const _0x36c65f=_0x47529a,_0x2ba24b=new _0x37d7e6(_0x530703,_0x4af217),_0x2cd670=new _0x24463b(_0x530703),_0x457ff8=new _0x1dd6da(_0x530703);_0x2cd670[_0x488366(0x1c7)][_0x488366(0x1d7)]({'label':_0x36c65f[_0x488366(0x200)],'icon':_0x36c65f[_0x488366(0x1de)]}),_0x36c65f[_0x488366(0x226)][_0x488366(0x1b8)](_0x563602=>{const _0x121971=_0x488366,_0x20bf54=new _0x37d7e6(_0x530703,_0x2cd670),_0x2ac3d9=new _0x3de840(_0x530703);_0x2ac3d9[_0x121971(0x1d7)]({'label':_0x563602[_0x121971(0x1f8)],'icon':_0x563602[_0x121971(0x1de)],'role':_0x121971(0x222),'isEnabled':_0x563602[_0x121971(0x1fd)]}),_0x2ac3d9['on'](_0x121971(0x194),()=>{const _0x4d8175=_0x121971;this[_0x4d8175(0x1d4)](_0x563602);}),_0x2ac3d9[_0x121971(0x19e)](_0x121971(0x194))['to'](_0x2cd670),_0x20bf54[_0x121971(0x228)][_0x121971(0x18c)](_0x2ac3d9),_0x457ff8[_0x121971(0x19a)][_0x121971(0x18c)](_0x20bf54);}),_0x2cd670[_0x488366(0x1e6)][_0x488366(0x228)][_0x488366(0x18c)](_0x457ff8),_0x2ba24b[_0x488366(0x228)][_0x488366(0x18c)](_0x2cd670),_0x5b184b[_0x488366(0x19a)][_0x488366(0x18c)](_0x2ba24b);}else{const _0x91e21c=_0x47529a,_0x5c9b50=new _0x37d7e6(_0x530703,_0x4af217),_0x1b8401=new _0x3de840(_0x530703);_0x1b8401[_0x488366(0x1d7)]({'label':_0x91e21c[_0x488366(0x1f8)],'icon':_0x91e21c[_0x488366(0x1de)],'role':_0x488366(0x222),'isEnabled':_0x91e21c[_0x488366(0x1fd)]}),_0x1b8401['on'](_0x488366(0x194),()=>{const _0x5aa1e9=_0x488366;this[_0x5aa1e9(0x1d4)](_0x91e21c);}),_0x1b8401[_0x488366(0x19e)](_0x488366(0x194))['to'](_0x4af217),_0x5c9b50[_0x488366(0x228)][_0x488366(0x18c)](_0x1b8401),_0x5b184b[_0x488366(0x19a)][_0x488366(0x18c)](_0x5c9b50);}});const _0x20b561=Object[_0xce290d(0x1f7)](AIQuickActionTypeToPluginName)[_0xce290d(0x196)](_0x2091fc=>this[_0xce290d(0x19b)][_0xce290d(0x1b7)][_0xce290d(0x20c)](_0x2091fc));return _0x4af217[_0xce290d(0x1d7)]({'isEnabled':_0x20b561}),_0x4af217[_0xce290d(0x1e6)][_0xce290d(0x228)][_0xce290d(0x18c)](_0x5b184b),_0x4af217;});}[_0x221774(0x1d4)](_0x2c3d38){const _0xa2d0c0=_0x221774,_0x3298fb=this[_0xa2d0c0(0x19b)];_0x3298fb[_0xa2d0c0(0x1e7)][_0xa2d0c0(0x189)][_0xa2d0c0(0x1ec)](),_0x3298fb[_0xa2d0c0(0x1ac)][_0xa2d0c0(0x194)](_0xa2d0c0(0x21f),_0x2c3d38);const _0x282d8a=_0x3298fb['ui'][_0xa2d0c0(0x189)][_0xa2d0c0(0x1ca)];_0x282d8a&&_0x282d8a[_0xa2d0c0(0x1e4)]&&_0x282d8a[_0xa2d0c0(0x1e4)]();}}
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(_0x4e29de,_0x3567cb){const _0x55acd0=_0x11e8,_0x18c15f=_0x4e29de();while(!![]){try{const _0x2edff5=parseInt(_0x55acd0(0x122))/0x1*(parseInt(_0x55acd0(0x123))/0x2)+-parseInt(_0x55acd0(0x12d))/0x3*(parseInt(_0x55acd0(0x13f))/0x4)+parseInt(_0x55acd0(0x134))/0x5*(-parseInt(_0x55acd0(0x128))/0x6)+-parseInt(_0x55acd0(0x137))/0x7*(parseInt(_0x55acd0(0x13d))/0x8)+parseInt(_0x55acd0(0x13b))/0x9*(parseInt(_0x55acd0(0x130))/0xa)+-parseInt(_0x55acd0(0x12e))/0xb*(parseInt(_0x55acd0(0x136))/0xc)+-parseInt(_0x55acd0(0x126))/0xd*(-parseInt(_0x55acd0(0x13e))/0xe);if(_0x2edff5===_0x3567cb)break;else _0x18c15f['push'](_0x18c15f['shift']());}catch(_0x45aab4){_0x18c15f['push'](_0x18c15f['shift']());}}}(_0x5e30,0x74a42));import{ButtonView as _0x4d19bd}from'ckeditor5/src/ui.js';function _0x5e30(){const _0x4a9152=['4QsVaON','19xwWrRR','7752ayQLaz','menuitem','view','37258273iuzItZ','ck-ai-quick-actions-button','210jFgExu','focus','bindTemplate','isEnabled','parent','1976775ydoaLb','2893iGgvuQ','execute','20PFOwrB','extendTemplate','displayedPrompt','locale','82415BxoCwY','aiQuickAction','23172yFLCQt','13951SGlDNT','editing','icon','set','588591eJENaE','commands','3408LISfsR','14RAPCTW'];_0x5e30=function(){return _0x4a9152;};return _0x5e30();}function _0x11e8(_0x35d63a,_0x467553){const _0x5e30f8=_0x5e30();return _0x11e8=function(_0x11e862,_0x5c7640){_0x11e862=_0x11e862-0x122;let _0xb5c415=_0x5e30f8[_0x11e862];return _0xb5c415;},_0x11e8(_0x35d63a,_0x467553);}import{IconAIQuickActions as _0x397571}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x2ce063){const {editor:_0x4d99bb,action:_0x30db63,withText:_0xd3959=!0x1,withIcon:_0x447da3=!0x0,isInDropdown:_0x269180=!0x0,shouldPreventFocus:_0x414651=!0x1}=_0x2ce063;return()=>{const _0x3b3333=_0x11e8,_0x3499b0=_0x4d99bb[_0x3b3333(0x133)],_0x386285=new _0x4d19bd(_0x3499b0),_0x2b4bf7=_0x386285[_0x3b3333(0x12a)];_0x269180&&_0x386285[_0x3b3333(0x131)]({'on':{'mouseenter':_0x2b4bf7['to'](()=>{const _0x597bad=_0x3b3333;_0x414651&&_0x414651()||_0x386285[_0x597bad(0x129)]();})}});const _0x2ae2e9=_0x30db63[_0x3b3333(0x139)]??_0x30db63[_0x3b3333(0x12c)]?.[_0x3b3333(0x139)];return _0x386285[_0x3b3333(0x13a)]({'label':_0x30db63[_0x3b3333(0x132)],'withText':_0xd3959,'role':_0x3b3333(0x124),'icon':_0x447da3?_0x2ae2e9??_0x397571:void 0x0,'tooltip':!_0xd3959,'class':_0x3b3333(0x127),'isEnabled':_0x30db63[_0x3b3333(0x12b)]}),_0x386285['on'](_0x3b3333(0x12f),()=>{const _0x582018=_0x3b3333;_0x4d99bb[_0x582018(0x138)][_0x582018(0x125)][_0x582018(0x129)](),_0x4d99bb[_0x582018(0x13c)][_0x582018(0x12f)](_0x582018(0x135),_0x30db63);}),_0x386285;};}
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
- function _0x521c(_0x1ef46f,_0x45ca70){const _0x46b994=_0x46b9();return _0x521c=function(_0x521cf8,_0xea1648){_0x521cf8=_0x521cf8-0xa8;let _0x433a21=_0x46b994[_0x521cf8];return _0x433a21;},_0x521c(_0x1ef46f,_0x45ca70);}const _0x20ea39=_0x521c;(function(_0x2d861f,_0x304f62){const _0xe48084=_0x521c,_0x1b0011=_0x2d861f();while(!![]){try{const _0x3cff34=parseInt(_0xe48084(0x100))/0x1+parseInt(_0xe48084(0xda))/0x2*(parseInt(_0xe48084(0x107))/0x3)+-parseInt(_0xe48084(0x12c))/0x4+-parseInt(_0xe48084(0xb2))/0x5+parseInt(_0xe48084(0x11d))/0x6*(parseInt(_0xe48084(0x115))/0x7)+parseInt(_0xe48084(0xdb))/0x8*(parseInt(_0xe48084(0x12f))/0x9)+-parseInt(_0xe48084(0xeb))/0xa;if(_0x3cff34===_0x304f62)break;else _0x1b0011['push'](_0x1b0011['shift']());}catch(_0x3a5ebd){_0x1b0011['push'](_0x1b0011['shift']());}}}(_0x46b9,0xf149a));import{View as _0x27e8a1,ListItemView as _0x175075,ListView as _0x45b4dd,BalloonPanelView as _0x48b74f,DropdownMenuPanelPositioningFunctions as _0x22cbcc,ViewCollection as _0x47e9d7,FocusCycler as _0x22eaec,ButtonView as _0x545bff,IconView as _0x297612,HighlightedTextView as _0x312450,ButtonLabelWithHighlightView as _0x3fa8aa,SearchTextView as _0x330195}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2e767d}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x2731c6,KeystrokeHandler as _0x15de56}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x5e8664}from'./aiquickactionsbuttoncreator.js';function _0x46b9(){const _0x4a92c2=['eastSouth','get','focusCycler','reset','_createSearchTextView','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','isVisible','ck-ai-quick-actions-group-button','uiLanguageDirection','displayedPrompt','relatedTarget','3258736OUQNqy','_createActionGroupButton','ck-rounded-corners','27ghSHbO','_getPanelKeystroke','ck-button','_createGroupActionsList','menuitem','ArrowRight','span','ck-ai-quick-actions-button_with-group__close-paren','.ck-ai-quick-actions-group-panel','activeElement','execute','5481225GViBtI','AI_QUICK_ACTIONS_SEARCH','ArrowLeft','ck-reset_all','ck-dropdown-menu-list','fire','view','ck-ai-quick-actions-group-list','label','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','forEach','_hideNestedPanel','_isMovingToNestedMenu','_createListItems','aiQuickAction','isOn','focus','ck-ai-quick-actions','optionsListView','bindTemplate','closest','ck-ai-quick-actions-search-result-button_with-group','extendTemplate','ck-ai-quick-actions-button_with-group','queryView','key','ck-ai-quick-actions-group-panel','some','_createSearchResultActionButton','_getButtonKeystroke','_setupActionButtonExecution','_createSearchResultActionRow','_bodyCollection','pin','first','menu','show','_createSearchResultGroupedActionButton','ck-ai-quick-actions-search-result-button','button','6BIUxZx','4361704aADujV','commands','locale','keystrokes','addEventListener','addMany','.ck-ai-quick-actions-group-button','isEnabled','delete','ck-ai-quick-actions-search','element','chain','destroy','text','focusTracker','_showNestedPanel','14471380GcqutT','items','add','_hideAllNestedPanels','push','_setupGroupMenuBehavior','content','_searchTextView','ck-dropdown-menu__nested-menu__panel','ownerDocument','setTemplate','role','_createActionButton','parent','ck-ai-quick-actions-search-result__group-row','editing','resetSearch','_focusables','contains','render','actions','1665157zWBZRk','ck-ai-quick-actions-search-result__action-row','_hasSearch','_createSearchResultContentView','_allSearchableItems','children','ck-ai-quick-actions-search-result__content','6081KfIULU','bind','detachFromDom','_openNestedPanels','set','clear','_createSearchResultGroupRow','_handlePanelKeydown','_createSearchResultIndividualActionButton','mouseleave','rtl','ck-ai-quick-actions-button','ck-ai-quick-actions-button_with-group__open-paren','.ck-ai-quick-actions-group-list','56fWbxxH','div','ck-button_with-text','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_isSearchFocused','_handleSearchResultButtonClick','ck-ai-quick-actions-button__group-icon','icon','779628CZEcqF','hide','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','fieldView'];_0x46b9=function(){return _0x4a92c2;};return _0x46b9();}import{DropdownMenuButtonWithHighlightView as _0x52563d}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x4dce58}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x16193f}from'./aiquickactionsfilteredlistview.js';const Qs=_0x20ea39(0xd5),Gs=_0x20ea39(0xab);export class AIQuickActionsDropdownContentView extends _0x27e8a1{[_0x20ea39(0xd2)];[_0x20ea39(0xc4)];[_0x20ea39(0xf2)]=null;[_0x20ea39(0x104)]=[];[_0x20ea39(0x105)];[_0x20ea39(0xe9)];[_0x20ea39(0xde)];[_0x20ea39(0xfc)];[_0x20ea39(0x123)];[_0x20ea39(0x10a)]=new Set();[_0x20ea39(0x102)];constructor(_0x2511a8,_0x56fabb,_0x5f3b8f,_0x7c806d,_0xa2cd5e=!0x1){const _0x305ea2=_0x20ea39,_0x5703a2=_0x2511a8[_0x305ea2(0xdd)];super(_0x5703a2),this[_0x305ea2(0xd2)]=_0x7c806d,this[_0x305ea2(0x102)]=_0xa2cd5e;const _0x134976=this[_0x305ea2(0xbf)](_0x2511a8,_0x56fabb,_0x5f3b8f);this[_0x305ea2(0xc4)]=new _0x16193f(_0x5703a2,_0x134976,this[_0x305ea2(0x104)]),this[_0x305ea2(0xc4)][_0x305ea2(0xf6)]=Qs,this[_0x305ea2(0xc4)][_0x305ea2(0xec)][_0x305ea2(0xe0)](_0x134976),this[_0x305ea2(0xe9)]=new _0x2731c6(),this[_0x305ea2(0xde)]=new _0x15de56(),_0xa2cd5e&&(this[_0x305ea2(0xf2)]=this[_0x305ea2(0x125)]()),this[_0x305ea2(0xfc)]=_0x134976,this[_0x305ea2(0x123)]=new _0x22eaec({'focusables':this[_0x305ea2(0xfc)],'focusTracker':this[_0x305ea2(0xe9)],'keystrokeHandler':this[_0x305ea2(0xde)]}),_0xa2cd5e&&this[_0x305ea2(0xf2)]&&this[_0x305ea2(0x123)][_0x305ea2(0xe6)](this[_0x305ea2(0xf2)][_0x305ea2(0x123)]);const _0x3cd8f1=_0xa2cd5e&&this[_0x305ea2(0xf2)]?[this[_0x305ea2(0xf2)]]:[this[_0x305ea2(0xc4)]];this[_0x305ea2(0x105)]=new _0x47e9d7(_0x3cd8f1),this[_0x305ea2(0xf5)]({'tag':_0x305ea2(0x116),'attributes':{'class':['ck',_0x305ea2(0xb5),_0x305ea2(0xc3),_0x305ea2(0x12e)],'dir':_0x5703a2[_0x305ea2(0x129)]},'children':this[_0x305ea2(0x105)]});}[_0x20ea39(0x125)](){const _0x31517b=_0x20ea39;return new _0x330195(this[_0x31517b(0xdd)],{'filteredView':this[_0x31517b(0xc4)],'queryView':{'label':_0x4dce58(this[_0x31517b(0xdd)],_0x31517b(0xb3))},'class':_0x31517b(0xe4),'infoView':{'text':{'notFound':{'primary':_0x4dce58(this[_0x31517b(0xdd)],_0x31517b(0x118))}}}});}[_0x20ea39(0x119)](){const _0x11a7f6=_0x20ea39;if(!this[_0x11a7f6(0x102)]||!this[_0x11a7f6(0xf2)]||!this[_0x11a7f6(0xf2)][_0x11a7f6(0xca)][_0x11a7f6(0x120)][_0x11a7f6(0xe5)])return!0x1;const _0x108ff5=this[_0x11a7f6(0xf2)][_0x11a7f6(0xca)][_0x11a7f6(0x120)][_0x11a7f6(0xe5)][_0x11a7f6(0xf4)]?.[_0x11a7f6(0xb0)];return this[_0x11a7f6(0xf2)][_0x11a7f6(0xca)][_0x11a7f6(0x120)][_0x11a7f6(0xe5)][_0x11a7f6(0xfd)](_0x108ff5);}[_0x20ea39(0xbf)](_0x2bfe87,_0x29a41f,_0xe0d5f8){const _0x4e9310=_0x20ea39,_0x4cccc7=new _0x47e9d7();return _0x29a41f[_0x4e9310(0xbc)](_0x4d53ee=>{const _0x1a81f8=_0x4e9310;if(_0x1a81f8(0xff)in _0x4d53ee){const {listItem:_0x49b5c5}=this[_0x1a81f8(0x12d)](_0x2bfe87,_0x4d53ee,_0xe0d5f8);_0x4cccc7[_0x1a81f8(0xed)](_0x49b5c5),_0x4d53ee[_0x1a81f8(0xff)][_0x1a81f8(0xbc)](_0x1a06af=>{const _0x3e4c29=_0x1a81f8;this[_0x3e4c29(0xf7)](_0x2bfe87,_0x1a06af,_0x4d53ee[_0x3e4c29(0xba)],_0x4d53ee[_0x3e4c29(0x11c)]);const {listItem:_0x366e94,highlightViews:_0xf1daa4}=this[_0x3e4c29(0xce)](_0x2bfe87,_0x1a06af,_0x4d53ee[_0x3e4c29(0xba)],_0x4d53ee[_0x3e4c29(0x11c)]);this[_0x3e4c29(0x104)][_0x3e4c29(0xef)]({'item':_0x366e94,'label':_0x1a06af[_0x3e4c29(0x12a)],'groupLabel':_0x4d53ee[_0x3e4c29(0xba)],'highlightViews':_0xf1daa4});});}else{const {listItem:_0x5655c7}=this[_0x1a81f8(0xf7)](_0x2bfe87,_0x4d53ee);_0x4cccc7[_0x1a81f8(0xed)](_0x5655c7);const _0x466c25=_0x5655c7[_0x1a81f8(0x105)][_0x1a81f8(0xd4)];if(_0x466c25){const {listItem:_0x2cc7d8,highlightViews:_0x54b65c}=this[_0x1a81f8(0xce)](_0x2bfe87,_0x4d53ee);this[_0x1a81f8(0x104)][_0x1a81f8(0xef)]({'item':_0x2cc7d8,'label':_0x466c25[_0x1a81f8(0xba)]||'','highlightViews':_0x54b65c});}}}),_0x4cccc7;}[_0x20ea39(0xf7)](_0x5506bd,_0x4cf70f,_0xfcd4bf,_0x3a5275){const _0x5c2219=_0x20ea39,_0x3e3db6=new _0x175075(this[_0x5c2219(0xdd)]);if(_0xfcd4bf&&_0x3a5275){const _0x2cf84c=new _0x545bff(this[_0x5c2219(0xdd)]),_0x11a0af=_0x2cf84c[_0x5c2219(0xc5)],_0x2a5cb1=new _0x312450();_0x2a5cb1[_0x5c2219(0xe8)]=_0x4cf70f[_0x5c2219(0x12a)];const _0xe675bc=new _0x312450();_0xe675bc[_0x5c2219(0xe8)]=_0xfcd4bf;const _0x328380=new _0x297612();_0x328380[_0x5c2219(0xf1)]=_0x3a5275,_0x328380[_0x5c2219(0xc8)]({'attributes':{'class':_0x5c2219(0x11b)}});const _0x4924a1=new _0x27e8a1(this[_0x5c2219(0xdd)]);_0x4924a1[_0x5c2219(0xf5)]({'tag':_0x5c2219(0xad),'attributes':{'class':_0x5c2219(0x113)},'children':[{'text':'\x20('}]});const _0x197899=new _0x27e8a1(this[_0x5c2219(0xdd)]);return _0x197899[_0x5c2219(0xf5)]({'tag':_0x5c2219(0xad),'attributes':{'class':_0x5c2219(0xae)},'children':[{'text':')'}]}),_0x2cf84c[_0x5c2219(0x10b)]({'label':_0x4cf70f[_0x5c2219(0x12a)]+'\x20('+_0xfcd4bf+')','withText':!0x0,'role':_0x5c2219(0xab),'class':_0x5c2219(0x11f),'tooltip':!0x1}),_0x2cf84c[_0x5c2219(0xf5)]({'tag':_0x5c2219(0xd9),'attributes':{'class':['ck',_0x5c2219(0xa9),_0x5c2219(0x117),_0x5c2219(0x112),_0x5c2219(0xc9)],'type':_0x5c2219(0xd9),'role':_0x5c2219(0xab),'tabindex':'-1'},'children':[_0x2a5cb1,_0x4924a1,_0x328380,_0xe675bc,_0x197899],'on':{'mouseenter':_0x11a0af['to'](()=>{const _0x529b18=_0x5c2219;this[_0x529b18(0x119)]()||_0x2cf84c[_0x529b18(0xc2)]();}),'click':_0x11a0af['to'](()=>{const _0x322eeb=_0x5c2219;_0x2cf84c[_0x322eeb(0xb7)](_0x322eeb(0xb1));})}}),_0x2cf84c['on'](_0x5c2219(0xb1),()=>{const _0x473050=_0x5c2219;_0x5506bd[_0x473050(0xfa)][_0x473050(0xb8)][_0x473050(0xc2)](),_0x5506bd[_0x473050(0xdc)][_0x473050(0xb1)](_0x473050(0xc0),_0x4cf70f);}),_0x3e3db6[_0x5c2219(0x105)][_0x5c2219(0xed)](_0x2cf84c),{'listItem':_0x3e3db6,'highlightViews':[_0x2a5cb1,_0xe675bc]};}{const _0x286db4=new _0x3fa8aa(),_0x58673c=new _0x545bff(this[_0x5c2219(0xdd)],_0x286db4),_0x2783d5=_0x58673c[_0x5c2219(0xc5)],_0x425bf8=_0x4cf70f[_0x5c2219(0x11c)]??_0x4cf70f[_0x5c2219(0xf8)]?.[_0x5c2219(0x11c)],_0x113372=void 0x0!==_0x4cf70f[_0x5c2219(0x11c)];return _0x58673c[_0x5c2219(0x10b)]({'label':_0x4cf70f[_0x5c2219(0x12a)],'withText':!0x0,'role':_0x5c2219(0xab),'icon':_0x113372?_0x425bf8??_0x2e767d:void 0x0,'tooltip':!0x1,'class':_0x5c2219(0x112)}),_0x58673c[_0x5c2219(0xc8)]({'on':{'mouseenter':_0x2783d5['to'](()=>{const _0x32796d=_0x5c2219;this[_0x32796d(0x119)]()||_0x58673c[_0x32796d(0xc2)]();})}}),_0x58673c['on'](_0x5c2219(0xb1),()=>{const _0x477fa7=_0x5c2219;_0x5506bd[_0x477fa7(0xfa)][_0x477fa7(0xb8)][_0x477fa7(0xc2)](),_0x5506bd[_0x477fa7(0xdc)][_0x477fa7(0xb1)](_0x477fa7(0xc0),_0x4cf70f);}),_0x3e3db6[_0x5c2219(0x105)][_0x5c2219(0xed)](_0x58673c),{'listItem':_0x3e3db6,'highlightViews':[_0x286db4]};}}[_0x20ea39(0xce)](_0x29fac3,_0x7011e4,_0x94f691,_0x4d9df3){const _0x5afa1d=_0x20ea39;return _0x94f691&&_0x4d9df3?this[_0x5afa1d(0xd7)](_0x29fac3,_0x7011e4,_0x94f691,_0x4d9df3):this[_0x5afa1d(0x10f)](_0x29fac3,_0x7011e4);}[_0x20ea39(0xd7)](_0x5ce10f,_0x4b88be,_0x45acb0,_0x280143){const _0x404825=_0x20ea39,_0x1628ec=new _0x175075(this[_0x404825(0xdd)]),_0x56e8c7=new _0x545bff(this[_0x404825(0xdd)]),_0x2f9b17=_0x56e8c7[_0x404825(0xc5)],{view:_0x465710,highlightView:_0x1f4b65}=this[_0x404825(0x10d)](_0x45acb0,_0x280143),{view:_0x4a694d,highlightView:_0x2a534e}=this[_0x404825(0xd1)](_0x4b88be[_0x404825(0x12a)]),_0x588afc=this[_0x404825(0x103)](_0x465710,_0x4a694d);return _0x56e8c7[_0x404825(0x10b)]({'label':_0x4b88be[_0x404825(0x12a)],'withText':!0x0,'role':_0x404825(0xab),'class':_0x404825(0xbb),'tooltip':!0x1}),_0x56e8c7[_0x404825(0xf5)]({'tag':_0x404825(0xd9),'attributes':{'class':['ck',_0x404825(0xa9),_0x404825(0x117),_0x404825(0x112),_0x404825(0xd8),_0x404825(0xc7)],'type':_0x404825(0xd9),'role':_0x404825(0xab),'tabindex':'-1'},'children':[_0x588afc],'on':{'mouseenter':_0x2f9b17['to'](()=>{const _0x51f5eb=_0x404825;this[_0x51f5eb(0x119)]()||_0x56e8c7[_0x51f5eb(0xc2)]();}),'click':_0x2f9b17['to'](()=>{const _0x4b9efa=_0x404825;this[_0x4b9efa(0x11a)](_0x56e8c7);})}}),this[_0x404825(0xd0)](_0x56e8c7,_0x5ce10f,_0x4b88be),_0x1628ec[_0x404825(0x105)][_0x404825(0xed)](_0x56e8c7),{'listItem':_0x1628ec,'highlightViews':[_0x1f4b65,_0x2a534e]};}[_0x20ea39(0x10f)](_0x223b97,_0x29d9de){const _0x57a309=_0x20ea39,_0x52e2d4=new _0x175075(this[_0x57a309(0xdd)]),_0x39558c=new _0x3fa8aa(),_0x4ab76d=new _0x545bff(this[_0x57a309(0xdd)],_0x39558c),_0x14e9a4=_0x4ab76d[_0x57a309(0xc5)];return _0x4ab76d[_0x57a309(0x10b)]({'label':_0x29d9de[_0x57a309(0x12a)],'withText':!0x0,'role':_0x57a309(0xab),'icon':void 0x0,'tooltip':!0x1,'class':_0x57a309(0x126)}),_0x4ab76d[_0x57a309(0xc8)]({'on':{'mouseenter':_0x14e9a4['to'](()=>{const _0x7e1154=_0x57a309;this[_0x7e1154(0x119)]()||_0x4ab76d[_0x7e1154(0xc2)]();})}}),this[_0x57a309(0xd0)](_0x4ab76d,_0x223b97,_0x29d9de),_0x52e2d4[_0x57a309(0x105)][_0x57a309(0xed)](_0x4ab76d),{'listItem':_0x52e2d4,'highlightViews':[_0x39558c]};}[_0x20ea39(0x10d)](_0x2db08d,_0x4c1f81){const _0x534b03=_0x20ea39,_0x498869=new _0x27e8a1(this[_0x534b03(0xdd)]),_0x3a6d97=new _0x297612();_0x3a6d97[_0x534b03(0xf1)]=_0x4c1f81,_0x3a6d97[_0x534b03(0xc8)]({'attributes':{'class':_0x534b03(0x11b)}});const _0x21cb25=new _0x312450();return _0x21cb25[_0x534b03(0xe8)]=_0x2db08d,_0x498869[_0x534b03(0xf5)]({'tag':_0x534b03(0x116),'attributes':{'class':_0x534b03(0xf9)},'children':[_0x3a6d97,_0x21cb25]}),{'view':_0x498869,'highlightView':_0x21cb25};}[_0x20ea39(0xd1)](_0x36cb73){const _0x51bc11=_0x20ea39,_0x50eeb2=new _0x27e8a1(this[_0x51bc11(0xdd)]),_0xad797f=new _0x312450();return _0xad797f[_0x51bc11(0xe8)]=_0x36cb73,_0x50eeb2[_0x51bc11(0xf5)]({'tag':_0x51bc11(0x116),'attributes':{'class':_0x51bc11(0x101)},'children':[_0xad797f]}),{'view':_0x50eeb2,'highlightView':_0xad797f};}[_0x20ea39(0x103)](_0x4c326e,_0x491ea0){const _0x30e66f=_0x20ea39,_0xa9d141=new _0x27e8a1(this[_0x30e66f(0xdd)]);return _0xa9d141[_0x30e66f(0xf5)]({'tag':_0x30e66f(0x116),'attributes':{'class':_0x30e66f(0x106)},'children':[_0x4c326e,_0x491ea0]}),_0xa9d141;}[_0x20ea39(0xd0)](_0x4f612f,_0x25ebef,_0x9800f3){const _0x58f9d1=_0x20ea39;_0x4f612f['on'](_0x58f9d1(0xb1),()=>{const _0x26ec8e=_0x58f9d1;_0x25ebef[_0x26ec8e(0xfa)][_0x26ec8e(0xb8)][_0x26ec8e(0xc2)](),_0x25ebef[_0x26ec8e(0xdc)][_0x26ec8e(0xb1)](_0x26ec8e(0xc0),_0x9800f3);});}[_0x20ea39(0x12d)](_0x20dff9,_0x39f23f,_0x55ba5e){const _0x530332=_0x20ea39,_0x375146=new _0x175075(this[_0x530332(0xdd)]),_0x44d67a=new _0x3fa8aa(),_0x140b28=new _0x52563d(this[_0x530332(0xdd)],_0x44d67a),_0x223d12=_0x140b28[_0x530332(0xc5)],_0x5d9469=this[_0x530332(0xa8)](_0x55ba5e),_0x5215b0=this[_0x530332(0xaa)](_0x20dff9,_0x39f23f[_0x530332(0xff)],_0x55ba5e);_0x140b28[_0x530332(0x10b)]({'label':_0x39f23f[_0x530332(0xba)],'withText':!0x0,'role':Gs,'icon':_0x39f23f[_0x530332(0x11c)]??_0x2e767d,'isEnabled':_0x39f23f[_0x530332(0xff)][_0x530332(0xcd)](_0x4e19ce=>_0x4e19ce[_0x530332(0xe2)])}),_0x140b28[_0x530332(0xc8)]({'on':{'mouseenter':_0x223d12['to'](()=>{const _0x375658=_0x530332;this[_0x375658(0x119)]()||_0x140b28[_0x375658(0xc2)]();})}});const _0x57c46a=new _0x48b74f(this[_0x530332(0xdd)]);return _0x57c46a[_0x530332(0xc8)]({'attributes':{'class':['ck',_0x530332(0xb5),_0x530332(0xcc),_0x530332(0xf3)]},'on':{'keydown':_0x223d12['to'](_0x3b7eb7=>{const _0x5ba42e=_0x530332;this[_0x5ba42e(0x10e)](_0x3b7eb7,_0x5d9469,_0x140b28,_0x57c46a);})}}),_0x140b28[_0x530332(0x108)](_0x530332(0xc1))['to'](_0x57c46a,_0x530332(0x127)),this[_0x530332(0xd2)][_0x530332(0xed)](_0x57c46a),_0x57c46a[_0x530332(0xf1)][_0x530332(0xed)](_0x5215b0),this[_0x530332(0xf0)](_0x140b28,_0x57c46a),_0x375146[_0x530332(0x105)][_0x530332(0xed)](_0x140b28),{'listItem':_0x375146,'highlightView':_0x44d67a};}[_0x20ea39(0xaa)](_0x3ca2b1,_0x1dd13b,_0x5b0b4a){const _0xa5f76=_0x20ea39,_0x46d2a0=new _0x45b4dd(this[_0xa5f76(0xdd)]);return _0x46d2a0[_0xa5f76(0xc8)]({'attributes':{'class':['ck',_0xa5f76(0xb5),_0xa5f76(0xb9),_0xa5f76(0xb6)]}}),_0x1dd13b[_0xa5f76(0xbc)](_0x5d0c64=>{const _0x5278fd=_0xa5f76,_0x4acf67=new _0x175075(this[_0x5278fd(0xdd)]),_0x7da304=_0x5e8664({'editor':_0x3ca2b1,'action':_0x5d0c64,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x5278fd(0x119)]()})();_0x4acf67[_0x5278fd(0x105)][_0x5278fd(0xed)](_0x7da304),_0x5b0b4a[_0x5278fd(0xe9)][_0x5278fd(0xed)](_0x7da304),_0x46d2a0[_0x5278fd(0xec)][_0x5278fd(0xed)](_0x4acf67);}),_0x46d2a0;}[_0x20ea39(0xf0)](_0x3e25a5,_0x10f626){const _0x478485=_0x20ea39,_0x4c2115=_0x3e25a5[_0x478485(0xc5)],_0x4f4092=this[_0x478485(0xcf)](_0x3e25a5);_0x3e25a5[_0x478485(0xc8)]({'attributes':{'class':[_0x478485(0x128)]},'on':{'mouseenter':_0x4c2115['to'](()=>{const _0x592cfc=_0x478485;this[_0x592cfc(0xea)](_0x10f626,_0x3e25a5);}),'mouseleave':_0x4c2115['to'](_0x1f95c=>{const _0x44d507=_0x478485,_0x52c1ef=_0x1f95c[_0x44d507(0x12b)];this[_0x44d507(0xbe)](_0x52c1ef,_0x10f626)||this[_0x44d507(0xbd)](_0x10f626);}),'keydown':_0x4c2115['to'](_0xa856e7=>{const _0x17fe3e=_0x478485;_0xa856e7[_0x17fe3e(0xcb)]==_0x4f4092&&(this[_0x17fe3e(0xea)](_0x10f626,_0x3e25a5),_0x10f626[_0x17fe3e(0xf1)][_0x17fe3e(0x122)](0x0)[_0x17fe3e(0xc2)]());})}}),_0x10f626['on'](_0x478485(0xfe),()=>{const _0x33f64a=_0x478485;_0x10f626[_0x33f64a(0xe5)]?.[_0x33f64a(0xdf)](_0x33f64a(0x110),_0x2f1bad=>{const _0x1a0d92=_0x33f64a,_0x411e1a=_0x2f1bad[_0x1a0d92(0x12b)];_0x3e25a5[_0x1a0d92(0xe5)]?.[_0x1a0d92(0xfd)](_0x411e1a)||this[_0x1a0d92(0xbe)](_0x411e1a,_0x10f626)||this[_0x1a0d92(0xbd)](_0x10f626);});});}[_0x20ea39(0xea)](_0x50633d,_0x53c338){const _0x678d29=_0x20ea39;this[_0x678d29(0x10a)][_0x678d29(0xbc)](_0xbfeac6=>{const _0x3a2eee=_0x678d29;_0xbfeac6!==_0x50633d&&_0xbfeac6[_0x3a2eee(0x127)]&&_0xbfeac6[_0x3a2eee(0x11e)]();}),_0x50633d[_0x678d29(0xd6)](),_0x50633d[_0x678d29(0xd3)]({'positions':[_0x22cbcc[_0x678d29(0x121)]],'target':_0x53c338[_0x678d29(0xe5)],'fitInViewport':!0x0}),this[_0x678d29(0x10a)][_0x678d29(0xed)](_0x50633d);}[_0x20ea39(0xbd)](_0x598a81){const _0xd1512b=_0x20ea39;_0x598a81[_0xd1512b(0x11e)](),this[_0xd1512b(0x10a)][_0xd1512b(0xe3)](_0x598a81);}[_0x20ea39(0xee)](){const _0x269873=_0x20ea39;this[_0x269873(0x10a)][_0x269873(0xbc)](_0x2b91e2=>_0x2b91e2[_0x269873(0x11e)]()),this[_0x269873(0x10a)][_0x269873(0x10c)]();}[_0x20ea39(0xbe)](_0x3f65e3,_0xdbd928){const _0x1c2208=_0x20ea39;if(!_0x3f65e3)return!0x1;if(_0xdbd928[_0x1c2208(0xe5)]?.[_0x1c2208(0xfd)](_0x3f65e3))return!0x0;const _0x587b5e=_0x3f65e3;return _0x587b5e[_0x1c2208(0xc6)]&&(null!==_0x587b5e[_0x1c2208(0xc6)](_0x1c2208(0xaf))||null!==_0x587b5e[_0x1c2208(0xc6)](_0x1c2208(0x114))||null!==_0x587b5e[_0x1c2208(0xc6)](_0x1c2208(0xe1)));}[_0x20ea39(0xfb)](){const _0x474db9=_0x20ea39;this[_0x474db9(0xf2)]&&this[_0x474db9(0xf2)][_0x474db9(0x124)]();}[_0x20ea39(0xe7)](){const _0x2cbb19=_0x20ea39;this[_0x2cbb19(0xee)](),this[_0x2cbb19(0xd2)][_0x2cbb19(0x109)](),super[_0x2cbb19(0xe7)]();}[_0x20ea39(0xc2)](){const _0x169947=_0x20ea39;this[_0x169947(0xf2)]?this[_0x169947(0xf2)][_0x169947(0xc2)]():this[_0x169947(0xc4)][_0x169947(0xc2)]();}[_0x20ea39(0xa8)](_0x2b0dc5){const _0x653c6f=_0x20ea39;return _0x653c6f(0x111)===_0x2b0dc5[_0x653c6f(0xdd)][_0x653c6f(0x129)]?_0x653c6f(0xac):_0x653c6f(0xb4);}[_0x20ea39(0xcf)](_0x30a834){const _0x50c145=_0x20ea39;return _0x50c145(0x111)===_0x30a834[_0x50c145(0xdd)][_0x50c145(0x129)]?_0x50c145(0xb4):_0x50c145(0xac);}[_0x20ea39(0x10e)](_0x4988a0,_0x25932e,_0x4a567c,_0x4ce5e3){const _0x69ef09=_0x20ea39;_0x4988a0[_0x69ef09(0xcb)]==_0x25932e&&(_0x4a567c[_0x69ef09(0xc2)](),this[_0x69ef09(0xbd)](_0x4ce5e3));}[_0x20ea39(0x11a)](_0x52a95d){const _0x397cbb=_0x20ea39;_0x52a95d[_0x397cbb(0xb7)](_0x397cbb(0xb1));}}
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));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2b3e(){const _0x5e9b4a=['9srNPAL','document','get','plugins','set','3607037DwvBjs','getRanges','add','icon','365352iCOKoo','291aAXOLk','resetSearch','buttonView','3930tEJlQi','showFakeVisualSelection','AIEditing','children','12351850unhKAL','1475156PwDFRk','locale','hideFakeVisualSelection','panelView','869492KbSVPS','length','change:isOpen','ck-ai-quick-actions-dropdown','29708FyrFfq','ai-quick-actions-dropdown-selection','has','5682XExCEz','model','selection','from','label'];_0x2b3e=function(){return _0x5e9b4a;};return _0x2b3e();}(function(_0x808618,_0x2de7cf){const _0x2c78aa=_0x43d5,_0x51d358=_0x808618();while(!![]){try{const _0x439f03=-parseInt(_0x2c78aa(0xe6))/0x1+parseInt(_0x2c78aa(0xe2))/0x2+-parseInt(_0x2c78aa(0xfc))/0x3*(-parseInt(_0x2c78aa(0xea))/0x4)+parseInt(_0x2c78aa(0xdd))/0x5*(-parseInt(_0x2c78aa(0xed))/0x6)+-parseInt(_0x2c78aa(0xf7))/0x7+parseInt(_0x2c78aa(0xfb))/0x8*(-parseInt(_0x2c78aa(0xf2))/0x9)+parseInt(_0x2c78aa(0xe1))/0xa;if(_0x439f03===_0x2de7cf)break;else _0x51d358['push'](_0x51d358['shift']());}catch(_0x349ab1){_0x51d358['push'](_0x51d358['shift']());}}}(_0x2b3e,0x7e8f4));import{createDropdown as _0x125087}from'ckeditor5/src/ui.js';function _0x43d5(_0x55e218,_0xcb268b){const _0x2b3e5c=_0x2b3e();return _0x43d5=function(_0x43d58b,_0x2e98e0){_0x43d58b=_0x43d58b-0xdc;let _0x37a0ae=_0x2b3e5c[_0x43d58b];return _0x37a0ae;},_0x43d5(_0x55e218,_0xcb268b);}import{IconAIQuickActions as _0x51a6c0}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x282f93}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x3fecd6}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x5e329d){const {editor:_0x54627b,content:_0x4db0d1,buttonDefinition:_0x4b2130,bodyCollection:_0x30abf0,hasSearch:_0xb59693=!0x1}=_0x5e329d;return()=>{const _0x97ec5c=_0x43d5,_0x56c07f=_0x54627b[_0x97ec5c(0xe3)],_0x28dedb=_0x125087(_0x56c07f);_0x28dedb[_0x97ec5c(0xdc)][_0x97ec5c(0xf6)]({'icon':_0x4b2130[_0x97ec5c(0xfa)]??_0x51a6c0,'label':_0x4b2130[_0x97ec5c(0xf1)],'tooltip':!0x0}),_0x28dedb[_0x97ec5c(0xf6)]({'class':_0x97ec5c(0xe9)});const _0x5c58dc=new _0x282f93(_0x54627b,_0x4db0d1,_0x28dedb,_0x30abf0,_0xb59693);if(_0x28dedb[_0x97ec5c(0xe5)][_0x97ec5c(0xe0)][_0x97ec5c(0xf9)](_0x5c58dc),_0xb59693){const _0xe0a320=_0x97ec5c(0xeb);_0x28dedb['on'](_0x97ec5c(0xe8),(_0x3a3ebe,_0x4a161e,_0x546a4e)=>{const _0x3923e2=_0x97ec5c;if(_0x546a4e){if(_0x54627b[_0x3923e2(0xf5)][_0x3923e2(0xec)](_0x3923e2(0xdf))){const _0xb96be8=_0x54627b[_0x3923e2(0xf5)][_0x3923e2(0xf4)](_0x3fecd6),_0x353020=_0x54627b[_0x3923e2(0xee)][_0x3923e2(0xf3)][_0x3923e2(0xef)],_0x53074f=Array[_0x3923e2(0xf0)](_0x353020[_0x3923e2(0xf8)]());_0x53074f[_0x3923e2(0xe7)]>0x0&&_0xb96be8[_0x3923e2(0xde)](_0x53074f,_0xe0a320,!0x1,!0x0);}}else _0x54627b[_0x3923e2(0xf5)][_0x3923e2(0xec)](_0x3923e2(0xdf))&&_0x54627b[_0x3923e2(0xf5)][_0x3923e2(0xf4)](_0x3fecd6)[_0x3923e2(0xe4)](_0xe0a320),_0x5c58dc[_0x3923e2(0xfd)]();});}return _0x28dedb;};}
23
+ function _0x5a62(_0x35a9a3,_0x27aeea){const _0xecaf27=_0xecaf();return _0x5a62=function(_0x5a6248,_0x3546b7){_0x5a6248=_0x5a6248-0x1c5;let _0x2673e7=_0xecaf27[_0x5a6248];return _0x2673e7;},_0x5a62(_0x35a9a3,_0x27aeea);}function _0xecaf(){const _0x5cb111=['ai-quick-actions-dropdown-selection','add','locale','label','selection','length','set','14711496kBCDFa','12063163lRaQTS','10509561dwuRsV','plugins','change:isOpen','16HRAbzf','20MBxknD','document','get','from','buttonView','resetSearch','children','4229991OnPigC','icon','AIEditing','panelView','showFakeVisualSelection','ck-ai-quick-actions-dropdown','1280905UtFXQm','has','hideFakeVisualSelection','model','getRanges','97538exuLGl','3365562LOJzNC'];_0xecaf=function(){return _0x5cb111;};return _0xecaf();}(function(_0xf90d45,_0x2487e7){const _0x9cf81a=_0x5a62,_0x3386bf=_0xf90d45();while(!![]){try{const _0xf7a0f0=-parseInt(_0x9cf81a(0x1de))/0x1*(parseInt(_0x9cf81a(0x1d0))/0x2)+parseInt(_0x9cf81a(0x1c5))/0x3+-parseInt(_0x9cf81a(0x1df))/0x4*(parseInt(_0x9cf81a(0x1cb))/0x5)+parseInt(_0x9cf81a(0x1d1))/0x6+parseInt(_0x9cf81a(0x1da))/0x7+-parseInt(_0x9cf81a(0x1d9))/0x8+parseInt(_0x9cf81a(0x1db))/0x9;if(_0xf7a0f0===_0x2487e7)break;else _0x3386bf['push'](_0x3386bf['shift']());}catch(_0x12ee67){_0x3386bf['push'](_0x3386bf['shift']());}}}(_0xecaf,0xead18));import{createDropdown as _0x340c2b}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x588f84}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x2acb3d}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x4a6af3}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x595c1b){const {editor:_0x59d855,content:_0x54e396,buttonDefinition:_0x5c604f,bodyCollection:_0x79d116,hasSearch:_0x225bd1=!0x1}=_0x595c1b;return()=>{const _0x49a02a=_0x5a62,_0x102567=_0x59d855[_0x49a02a(0x1d4)],_0x3d1e13=_0x340c2b(_0x102567);_0x3d1e13[_0x49a02a(0x1e3)][_0x49a02a(0x1d8)]({'icon':_0x5c604f[_0x49a02a(0x1c6)]??_0x588f84,'label':_0x5c604f[_0x49a02a(0x1d5)],'tooltip':!0x0}),_0x3d1e13[_0x49a02a(0x1d8)]({'class':_0x49a02a(0x1ca)});const _0x44912a=new _0x2acb3d(_0x59d855,_0x54e396,_0x3d1e13,_0x79d116,_0x225bd1);if(_0x3d1e13[_0x49a02a(0x1c8)][_0x49a02a(0x1e5)][_0x49a02a(0x1d3)](_0x44912a),_0x225bd1){const _0x340152=_0x49a02a(0x1d2);_0x3d1e13['on'](_0x49a02a(0x1dd),(_0x4440e0,_0x2e87b0,_0x518e31)=>{const _0x57b970=_0x49a02a;if(_0x518e31){if(_0x59d855[_0x57b970(0x1dc)][_0x57b970(0x1cc)](_0x57b970(0x1c7))){const _0x54c661=_0x59d855[_0x57b970(0x1dc)][_0x57b970(0x1e1)](_0x4a6af3),_0x1dc8cb=_0x59d855[_0x57b970(0x1ce)][_0x57b970(0x1e0)][_0x57b970(0x1d6)],_0x1afe6a=Array[_0x57b970(0x1e2)](_0x1dc8cb[_0x57b970(0x1cf)]());_0x1afe6a[_0x57b970(0x1d7)]>0x0&&_0x54c661[_0x57b970(0x1c9)](_0x1afe6a,_0x340152,!0x1,!0x0);}}else _0x59d855[_0x57b970(0x1dc)][_0x57b970(0x1cc)](_0x57b970(0x1c7))&&_0x59d855[_0x57b970(0x1dc)][_0x57b970(0x1e1)](_0x4a6af3)[_0x57b970(0x1cd)](_0x340152),_0x44912a[_0x57b970(0x1e4)]();});}return _0x3d1e13;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb18506=_0xba07;(function(_0x445d0e,_0x2fc989){const _0x49848c=_0xba07,_0xe9e134=_0x445d0e();while(!![]){try{const _0x2552fd=parseInt(_0x49848c(0xc1))/0x1*(parseInt(_0x49848c(0xb5))/0x2)+parseInt(_0x49848c(0xbb))/0x3*(parseInt(_0x49848c(0xc2))/0x4)+parseInt(_0x49848c(0xc5))/0x5*(-parseInt(_0x49848c(0xb4))/0x6)+parseInt(_0x49848c(0xaf))/0x7+-parseInt(_0x49848c(0xad))/0x8+-parseInt(_0x49848c(0xbd))/0x9*(-parseInt(_0x49848c(0xb0))/0xa)+-parseInt(_0x49848c(0xc7))/0xb;if(_0x2552fd===_0x2fc989)break;else _0xe9e134['push'](_0xe9e134['shift']());}catch(_0x15c5df){_0xe9e134['push'](_0xe9e134['shift']());}}}(_0x2c63,0xc003f));import{ListView as _0x571f4c}from'ckeditor5/src/ui.js';function _0x2c63(){const _0x4d9836=['function','source','sort','3842082TELanJ','201234YERINs','_highlightQuery','_clearHighlight','forEach','toLowerCase','length','24ZkOVDz','label','14090805UZUvNa','groupLabel','_allListItems','item','1RqbGwY','700232YrfMUn','clear','highlightText','5sflrRK','items','27357715YVccIR','includes','trim','_allSearchableItems','addMany','highlightViews','map','1729288zAmrFq','filter','7443394nlIqWQ','10NMSFIE'];_0x2c63=function(){return _0x4d9836;};return _0x2c63();}import{escapeRegExp as _0x541948}from'es-toolkit/compat';function _0xba07(_0x1d7166,_0x89c558){const _0x2c6300=_0x2c63();return _0xba07=function(_0xba07a6,_0x4b7974){_0xba07a6=_0xba07a6-0xa9;let _0x25ac3c=_0x2c6300[_0xba07a6];return _0x25ac3c;},_0xba07(_0x1d7166,_0x89c558);}export class AIQuickActionsFilteredListView extends _0x571f4c{[_0xb18506(0xbf)];[_0xb18506(0xa9)];constructor(_0x95501b,_0x17454e,_0x24b88d){const _0x39c621=_0xb18506;super(_0x95501b),this[_0x39c621(0xbf)]=_0x17454e,this[_0x39c621(0xa9)]=_0x24b88d;}[_0xb18506(0xae)](_0x2f1d77){const _0x5ed901=_0xb18506;if(!_0x2f1d77)return this[_0x5ed901(0xc6)][_0x5ed901(0xc3)](),this[_0x5ed901(0xc6)][_0x5ed901(0xaa)](this[_0x5ed901(0xbf)]),this[_0x5ed901(0xb7)](),{'resultsCount':this[_0x5ed901(0xbf)][_0x5ed901(0xba)],'totalItemsCount':this[_0x5ed901(0xbf)][_0x5ed901(0xba)]};const _0x1c5440=_0x2f1d77[_0x5ed901(0xb2)][_0x5ed901(0xb9)]()[_0x5ed901(0xc9)](),_0x3ae2d0=this[_0x5ed901(0xa9)][_0x5ed901(0xae)](_0x5b1d38=>(_0x5b1d38[_0x5ed901(0xbe)]?_0x5b1d38[_0x5ed901(0xbc)]+'\x20('+_0x5b1d38[_0x5ed901(0xbe)]+')':_0x5b1d38[_0x5ed901(0xbc)])[_0x5ed901(0xb9)]()[_0x5ed901(0xc8)](_0x1c5440));return this[_0x5ed901(0xc6)][_0x5ed901(0xc3)](),this[_0x5ed901(0xc6)][_0x5ed901(0xaa)](_0x3ae2d0[_0x5ed901(0xb3)]((_0xd97b45,_0x473dce)=>{const _0x4b236a=_0x5ed901,_0x4de98=_0xd97b45[_0x4b236a(0xbe)],_0x273722=_0x473dce[_0x4b236a(0xbe)];return _0x4de98||_0x273722?_0x4de98?0x1:-0x1:0x0;})[_0x5ed901(0xac)](_0x1be1a7=>_0x1be1a7[_0x5ed901(0xc0)])),this[_0x5ed901(0xb6)](_0x1c5440,_0x3ae2d0),{'resultsCount':_0x3ae2d0[_0x5ed901(0xba)],'totalItemsCount':this[_0x5ed901(0xa9)][_0x5ed901(0xba)]};}[_0xb18506(0xb6)](_0x1e61d7,_0x20f4f1){const _0xde4b32=_0xb18506;if(!_0x1e61d7)return;const _0x55714f=new RegExp(_0x541948(_0x1e61d7),'gi');_0x20f4f1[_0xde4b32(0xb8)](_0x597885=>{const _0x377ef4=_0xde4b32;_0x597885[_0x377ef4(0xab)]&&_0x597885[_0x377ef4(0xab)][_0x377ef4(0xb8)](_0x101fda=>{const _0x2d4cf7=_0x377ef4;_0x2d4cf7(0xb1)==typeof _0x101fda[_0x2d4cf7(0xc4)]&&_0x101fda[_0x2d4cf7(0xc4)](_0x55714f);});});}[_0xb18506(0xb7)](){const _0xd99c34=_0xb18506;this[_0xd99c34(0xa9)][_0xd99c34(0xb8)](_0x1213cb=>{const _0xdb6f38=_0xd99c34;_0x1213cb[_0xdb6f38(0xab)]&&_0x1213cb[_0xdb6f38(0xab)][_0xdb6f38(0xb8)](_0x55e690=>{const _0xdcace9=_0xdb6f38;_0xdcace9(0xb1)==typeof _0x55e690[_0xdcace9(0xc4)]&&_0x55e690[_0xdcace9(0xc4)](null);});});}}
23
+ function _0x19d5(_0x437262,_0x15967d){const _0x4fc155=_0x4fc1();return _0x19d5=function(_0x19d516,_0x2ccb58){_0x19d516=_0x19d516-0x83;let _0x5d5aca=_0x4fc155[_0x19d516];return _0x5d5aca;},_0x19d5(_0x437262,_0x15967d);}function _0x4fc1(){const _0x5c60d6=['source','trim','170MwHHbp','highlightText','includes','map','3597gFduhi','addMany','length','toLowerCase','_clearHighlight','sort','forEach','function','4124zXzTSv','_allListItems','filter','clear','item','1859ABUjEv','1904736LERzka','6dtRzhg','190520palNRN','highlightViews','_allSearchableItems','12517875IoZQlN','groupLabel','14378pJkjGr','label','7437535hOMVMK','items','3100705sknLfG','_highlightQuery'];_0x4fc1=function(){return _0x5c60d6;};return _0x4fc1();}const _0x54aa53=_0x19d5;(function(_0x1d1dc5,_0x2a957e){const _0x51aab9=_0x19d5,_0x802bdf=_0x1d1dc5();while(!![]){try{const _0x1719a2=parseInt(_0x51aab9(0x8f))/0x1*(-parseInt(_0x51aab9(0x97))/0x2)+parseInt(_0x51aab9(0x9b))/0x3*(-parseInt(_0x51aab9(0xa3))/0x4)+-parseInt(_0x51aab9(0x93))/0x5+parseInt(_0x51aab9(0x89))/0x6*(-parseInt(_0x51aab9(0x91))/0x7)+parseInt(_0x51aab9(0x88))/0x8+parseInt(_0x51aab9(0x8d))/0x9+parseInt(_0x51aab9(0x8a))/0xa*(parseInt(_0x51aab9(0x87))/0xb);if(_0x1719a2===_0x2a957e)break;else _0x802bdf['push'](_0x802bdf['shift']());}catch(_0x924f63){_0x802bdf['push'](_0x802bdf['shift']());}}}(_0x4fc1,0xacce2));import{ListView as _0x52d4c1}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x57a974}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x52d4c1{[_0x54aa53(0x83)];[_0x54aa53(0x8c)];constructor(_0x76a9d2,_0x46e446,_0x1fc831){const _0x2a5b3b=_0x54aa53;super(_0x76a9d2),this[_0x2a5b3b(0x83)]=_0x46e446,this[_0x2a5b3b(0x8c)]=_0x1fc831;}[_0x54aa53(0x84)](_0x3b01b8){const _0x1418e5=_0x54aa53;if(!_0x3b01b8)return this[_0x1418e5(0x92)][_0x1418e5(0x85)](),this[_0x1418e5(0x92)][_0x1418e5(0x9c)](this[_0x1418e5(0x83)]),this[_0x1418e5(0x9f)](),{'resultsCount':this[_0x1418e5(0x83)][_0x1418e5(0x9d)],'totalItemsCount':this[_0x1418e5(0x83)][_0x1418e5(0x9d)]};const _0x40ec3c=_0x3b01b8[_0x1418e5(0x95)][_0x1418e5(0x9e)]()[_0x1418e5(0x96)](),_0x1401a4=this[_0x1418e5(0x8c)][_0x1418e5(0x84)](_0x583724=>(_0x583724[_0x1418e5(0x8e)]?_0x583724[_0x1418e5(0x90)]+'\x20('+_0x583724[_0x1418e5(0x8e)]+')':_0x583724[_0x1418e5(0x90)])[_0x1418e5(0x9e)]()[_0x1418e5(0x99)](_0x40ec3c));return this[_0x1418e5(0x92)][_0x1418e5(0x85)](),this[_0x1418e5(0x92)][_0x1418e5(0x9c)](_0x1401a4[_0x1418e5(0xa0)]((_0x29f31d,_0x433df1)=>{const _0xee983=_0x1418e5,_0x7aadc4=_0x29f31d[_0xee983(0x8e)],_0x20ef6a=_0x433df1[_0xee983(0x8e)];return _0x7aadc4||_0x20ef6a?_0x7aadc4?0x1:-0x1:0x0;})[_0x1418e5(0x9a)](_0x145398=>_0x145398[_0x1418e5(0x86)])),this[_0x1418e5(0x94)](_0x40ec3c,_0x1401a4),{'resultsCount':_0x1401a4[_0x1418e5(0x9d)],'totalItemsCount':this[_0x1418e5(0x8c)][_0x1418e5(0x9d)]};}[_0x54aa53(0x94)](_0x22dee3,_0x3a1ee5){const _0x1238e5=_0x54aa53;if(!_0x22dee3)return;const _0x20e0ef=new RegExp(_0x57a974(_0x22dee3),'gi');_0x3a1ee5[_0x1238e5(0xa1)](_0x218709=>{const _0x23f769=_0x1238e5;_0x218709[_0x23f769(0x8b)]&&_0x218709[_0x23f769(0x8b)][_0x23f769(0xa1)](_0x9277b8=>{const _0x49a046=_0x23f769;_0x49a046(0xa2)==typeof _0x9277b8[_0x49a046(0x98)]&&_0x9277b8[_0x49a046(0x98)](_0x20e0ef);});});}[_0x54aa53(0x9f)](){const _0x4587b2=_0x54aa53;this[_0x4587b2(0x8c)][_0x4587b2(0xa1)](_0x36f283=>{const _0x840648=_0x4587b2;_0x36f283[_0x840648(0x8b)]&&_0x36f283[_0x840648(0x8b)][_0x840648(0xa1)](_0x3469ef=>{const _0x5bfbc8=_0x840648;_0x5bfbc8(0xa2)==typeof _0x3469ef[_0x5bfbc8(0x98)]&&_0x3469ef[_0x5bfbc8(0x98)](null);});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2177f5,_0x53d8e7){var _0x1184af=_0xf9ba,_0x497e4b=_0x2177f5();while(!![]){try{var _0x172f38=parseInt(_0x1184af(0x1ea))/0x1*(-parseInt(_0x1184af(0x1e6))/0x2)+-parseInt(_0x1184af(0x1df))/0x3*(parseInt(_0x1184af(0x1e8))/0x4)+-parseInt(_0x1184af(0x1ec))/0x5+parseInt(_0x1184af(0x1ed))/0x6*(-parseInt(_0x1184af(0x1e4))/0x7)+-parseInt(_0x1184af(0x1e3))/0x8*(parseInt(_0x1184af(0x1e1))/0x9)+parseInt(_0x1184af(0x1e7))/0xa+parseInt(_0x1184af(0x1de))/0xb;if(_0x172f38===_0x53d8e7)break;else _0x497e4b['push'](_0x497e4b['shift']());}catch(_0x3f7942){_0x497e4b['push'](_0x497e4b['shift']());}}}(_0x52a8,0xce4da));function _0xf9ba(_0x35efc5,_0x585a2a){var _0x52a872=_0x52a8();return _0xf9ba=function(_0xf9ba78,_0x14f459){_0xf9ba78=_0xf9ba78-0x1de;var _0x2da6f5=_0x52a872[_0xf9ba78];return _0x2da6f5;},_0xf9ba(_0x35efc5,_0x585a2a);}import{View as _0x32940b}from'ckeditor5/src/ui.js';import{getTranslation as _0x4048d5}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonDisclaimerView extends _0x32940b{constructor(_0x113a63){var _0x5dff4e=_0xf9ba;super(_0x113a63),this[_0x5dff4e(0x1e9)]({'tag':_0x5dff4e(0x1e5),'attributes':{'class':['ck',_0x5dff4e(0x1eb)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x5dff4e(0x1e2)]},'children':[{'text':_0x4048d5(_0x113a63,_0x5dff4e(0x1e0))}]}]});}}function _0x52a8(){var _0x593a9a=['182919YxSeYB','AI_DISCLAIMER_TEXT','18BvdUTL','ck-ai-balloon__disclaimer-content','6566408XfFQiH','175819YlbsWq','div','10334vBzAEt','9556620OmpcTb','88osVshx','setTemplate','309CECdkI','ck-ai-balloon__disclaimer','1858900QvtUXZ','18XBQjiM','54077078tHrxBj'];_0x52a8=function(){return _0x593a9a;};return _0x52a8();}
23
+ function _0x2705(){var _0x1f2b78=['2210845RNxvnZ','ck-ai-balloon__disclaimer-content','91tsBErA','ck-ai-balloon__disclaimer','31137kvzSgR','AI_DISCLAIMER_TEXT','div','721048MLdcCv','764280ugasIE','75612pQentg','setTemplate','497450JKZNJN','36501tEmUBk'];_0x2705=function(){return _0x1f2b78;};return _0x2705();}(function(_0x3dc5d2,_0x4843aa){var _0x2e40fd=_0xbdc8,_0x44f26c=_0x3dc5d2();while(!![]){try{var _0x45c93f=parseInt(_0x2e40fd(0xcc))/0x1+parseInt(_0x2e40fd(0xd3))/0x2+parseInt(_0x2e40fd(0xd4))/0x3+-parseInt(_0x2e40fd(0xd0))/0x4+parseInt(_0x2e40fd(0xd5))/0x5+-parseInt(_0x2e40fd(0xd1))/0x6*(parseInt(_0x2e40fd(0xca))/0x7)+-parseInt(_0x2e40fd(0xcf))/0x8;if(_0x45c93f===_0x4843aa)break;else _0x44f26c['push'](_0x44f26c['shift']());}catch(_0x9a6b52){_0x44f26c['push'](_0x44f26c['shift']());}}}(_0x2705,0x46993));import{View as _0x2cc2ba}from'ckeditor5/src/ui.js';import{getTranslation as _0xdb6997}from'../../../aicore/utils/common-translations.js';function _0xbdc8(_0x150693,_0x28ebc4){var _0x270519=_0x2705();return _0xbdc8=function(_0xbdc8ed,_0x5ac178){_0xbdc8ed=_0xbdc8ed-0xc9;var _0x516676=_0x270519[_0xbdc8ed];return _0x516676;},_0xbdc8(_0x150693,_0x28ebc4);}export class AIActionsBalloonDisclaimerView extends _0x2cc2ba{constructor(_0x393361){var _0x4e6ab4=_0xbdc8;super(_0x393361),this[_0x4e6ab4(0xd2)]({'tag':_0x4e6ab4(0xce),'attributes':{'class':['ck',_0x4e6ab4(0xcb)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x4e6ab4(0xc9)]},'children':[{'text':_0xdb6997(_0x393361,_0x4e6ab4(0xcd))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4336da=_0x2e3d;function _0x2e3d(_0x5ec4f4,_0x3902d6){const _0x1439cb=_0x1439();return _0x2e3d=function(_0x2e3d23,_0x5654fb){_0x2e3d23=_0x2e3d23-0xd8;let _0xd1f9b2=_0x1439cb[_0x2e3d23];return _0xd1f9b2;},_0x2e3d(_0x5ec4f4,_0x3902d6);}(function(_0xe72d12,_0x459c78){const _0x1817cb=_0x2e3d,_0x13b1a6=_0xe72d12();while(!![]){try{const _0x146624=-parseInt(_0x1817cb(0xe8))/0x1*(parseInt(_0x1817cb(0xe1))/0x2)+parseInt(_0x1817cb(0xea))/0x3*(-parseInt(_0x1817cb(0xdb))/0x4)+parseInt(_0x1817cb(0xd9))/0x5+parseInt(_0x1817cb(0xe2))/0x6+parseInt(_0x1817cb(0xee))/0x7+parseInt(_0x1817cb(0xd8))/0x8+parseInt(_0x1817cb(0xf2))/0x9*(-parseInt(_0x1817cb(0xe5))/0xa);if(_0x146624===_0x459c78)break;else _0x13b1a6['push'](_0x13b1a6['shift']());}catch(_0x5edfda){_0x13b1a6['push'](_0x13b1a6['shift']());}}}(_0x1439,0x1da65));import{ToolbarView as _0x3261ff,ButtonView as _0x5b7c51}from'ckeditor5/src/ui.js';function _0x1439(){const _0x2e5f54=['isEnabled','8GWGmjW','setButtonsVisibility','ck-ai-button-secondary','locale','AI_BALLOON_APPLY_BUTTON','bind','15212rXlcdo','1242198IIfslk','ck-ai-balloon__toolbar','AI_BALLOON_SUGGEST_BUTTON','20OAgXAe','set','_createButton','23JQWpDi','extendTemplate','297051DyaDid','ck-ai-button-primary','suggestButton','items','1690073sJkFhZ','applyButton','add','isVisible','791433wQdJHx','975952hKPIgr','499125Yttupw'];_0x1439=function(){return _0x2e5f54;};return _0x1439();}import{getTranslation as _0x1d70c1}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonToolbarView extends _0x3261ff{constructor(_0x3a0920,_0xba4d11=!0x0,_0x3d617e=!0x0){const _0x34b2c8=_0x2e3d;super(_0x3a0920),this[_0x34b2c8(0xe6)](_0x34b2c8(0xda),!0x1),_0xba4d11&&(this[_0x34b2c8(0xef)]=this[_0x34b2c8(0xe7)](_0x1d70c1(_0x3a0920,_0x34b2c8(0xdf)),_0x34b2c8(0xeb)),this[_0x34b2c8(0xef)][_0x34b2c8(0xe0)](_0x34b2c8(0xda))['to'](this),this[_0x34b2c8(0xed)][_0x34b2c8(0xf0)](this[_0x34b2c8(0xef)])),_0x3d617e&&(this[_0x34b2c8(0xec)]=this[_0x34b2c8(0xe7)](_0x1d70c1(_0x3a0920,_0x34b2c8(0xe4)),_0xba4d11?_0x34b2c8(0xdd):_0x34b2c8(0xeb)),this[_0x34b2c8(0xec)][_0x34b2c8(0xe0)](_0x34b2c8(0xda))['to'](this),this[_0x34b2c8(0xed)][_0x34b2c8(0xf0)](this[_0x34b2c8(0xec)])),this[_0x34b2c8(0xdc)]({'showApplyButton':_0xba4d11,'showSuggestButton':_0x3d617e}),this[_0x34b2c8(0xe9)]({'attributes':{'class':[_0x34b2c8(0xe3)]}});}[_0x4336da(0xdc)]({showApplyButton:_0x19117d,showSuggestButton:_0xcb7efe}){const _0x267cce=_0x4336da;this[_0x267cce(0xef)]&&(this[_0x267cce(0xef)][_0x267cce(0xf1)]=_0x19117d),this[_0x267cce(0xec)]&&(this[_0x267cce(0xec)][_0x267cce(0xf1)]=_0xcb7efe);}[_0x4336da(0xe7)](_0x574b11,_0x2cff87){const _0x979dc2=_0x4336da,_0x45a3fd=new _0x5b7c51(this[_0x979dc2(0xde)]);return _0x45a3fd[_0x979dc2(0xe6)]({'label':_0x574b11,'class':_0x2cff87,'isVisible':!0x0,'withText':!0x0}),_0x45a3fd;}}
23
+ function _0x2515(){const _0x1fff34=['suggestButton','isEnabled','set','locale','ck-ai-button-secondary','AI_BALLOON_APPLY_BUTTON','1jWWgyV','10xOUEhs','188264qCLIyl','4643634HQDZUu','extendTemplate','AI_BALLOON_SUGGEST_BUTTON','28179430LzrnOr','36kgzMyJ','1804620wZVjbA','1553811mRlJRx','_createButton','ck-ai-balloon__toolbar','applyButton','setButtonsVisibility','bind','ck-ai-button-primary','isVisible','add','2554940WslLuc','items','171546otlwjy'];_0x2515=function(){return _0x1fff34;};return _0x2515();}function _0x3c95(_0x341277,_0x13d169){const _0x2515be=_0x2515();return _0x3c95=function(_0x3c9519,_0x17ba4a){_0x3c9519=_0x3c9519-0x157;let _0x53cb04=_0x2515be[_0x3c9519];return _0x53cb04;},_0x3c95(_0x341277,_0x13d169);}const _0x56ca5a=_0x3c95;(function(_0x4b90a4,_0x189bf8){const _0x57ac5d=_0x3c95,_0x5bcb19=_0x4b90a4();while(!![]){try{const _0x92cdee=parseInt(_0x57ac5d(0x164))/0x1*(parseInt(_0x57ac5d(0x15b))/0x2)+parseInt(_0x57ac5d(0x167))/0x3+parseInt(_0x57ac5d(0x16c))/0x4+-parseInt(_0x57ac5d(0x165))/0x5*(-parseInt(_0x57ac5d(0x15d))/0x6)+parseInt(_0x57ac5d(0x16d))/0x7+parseInt(_0x57ac5d(0x166))/0x8*(parseInt(_0x57ac5d(0x16b))/0x9)+-parseInt(_0x57ac5d(0x16a))/0xa;if(_0x92cdee===_0x189bf8)break;else _0x5bcb19['push'](_0x5bcb19['shift']());}catch(_0x1467a4){_0x5bcb19['push'](_0x5bcb19['shift']());}}}(_0x2515,0xcb167));import{ToolbarView as _0x5d21d1,ButtonView as _0x4c3333}from'ckeditor5/src/ui.js';import{getTranslation as _0x3b75f0}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonToolbarView extends _0x5d21d1{constructor(_0x35f7a4,_0x326004=!0x0,_0x1e2bd6=!0x0){const _0x4e8a77=_0x3c95;super(_0x35f7a4),this[_0x4e8a77(0x160)](_0x4e8a77(0x15f),!0x1),_0x326004&&(this[_0x4e8a77(0x170)]=this[_0x4e8a77(0x16e)](_0x3b75f0(_0x35f7a4,_0x4e8a77(0x163)),_0x4e8a77(0x158)),this[_0x4e8a77(0x170)][_0x4e8a77(0x157)](_0x4e8a77(0x15f))['to'](this),this[_0x4e8a77(0x15c)][_0x4e8a77(0x15a)](this[_0x4e8a77(0x170)])),_0x1e2bd6&&(this[_0x4e8a77(0x15e)]=this[_0x4e8a77(0x16e)](_0x3b75f0(_0x35f7a4,_0x4e8a77(0x169)),_0x326004?_0x4e8a77(0x162):_0x4e8a77(0x158)),this[_0x4e8a77(0x15e)][_0x4e8a77(0x157)](_0x4e8a77(0x15f))['to'](this),this[_0x4e8a77(0x15c)][_0x4e8a77(0x15a)](this[_0x4e8a77(0x15e)])),this[_0x4e8a77(0x171)]({'showApplyButton':_0x326004,'showSuggestButton':_0x1e2bd6}),this[_0x4e8a77(0x168)]({'attributes':{'class':[_0x4e8a77(0x16f)]}});}[_0x56ca5a(0x171)]({showApplyButton:_0x3560ca,showSuggestButton:_0x34b570}){const _0x10d366=_0x56ca5a;this[_0x10d366(0x170)]&&(this[_0x10d366(0x170)][_0x10d366(0x159)]=_0x3560ca),this[_0x10d366(0x15e)]&&(this[_0x10d366(0x15e)][_0x10d366(0x159)]=_0x34b570);}[_0x56ca5a(0x16e)](_0x13840e,_0x535926){const _0xc699cb=_0x56ca5a,_0x3a11e0=new _0x4c3333(this[_0xc699cb(0x161)]);return _0x3a11e0[_0xc699cb(0x160)]({'label':_0x13840e,'class':_0x535926,'isVisible':!0x0,'withText':!0x0}),_0x3a11e0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3bca23=_0x7e87;(function(_0x533986,_0x30b23a){const _0x30b739=_0x7e87,_0x128a1e=_0x533986();while(!![]){try{const _0x2e729e=-parseInt(_0x30b739(0x208))/0x1+-parseInt(_0x30b739(0x1fc))/0x2+-parseInt(_0x30b739(0x1f8))/0x3+-parseInt(_0x30b739(0x20f))/0x4+parseInt(_0x30b739(0x220))/0x5*(parseInt(_0x30b739(0x247))/0x6)+-parseInt(_0x30b739(0x21a))/0x7+parseInt(_0x30b739(0x244))/0x8;if(_0x2e729e===_0x30b23a)break;else _0x128a1e['push'](_0x128a1e['shift']());}catch(_0x3362f0){_0x128a1e['push'](_0x128a1e['shift']());}}}(_0x3ac4,0x5302c));import{ViewCollection as _0x1591d6,FocusCycler as _0x3844c3,ButtonView as _0x51d84e,View as _0x5b54d0}from'ckeditor5/src/ui.js';import{FocusTracker as _0x230ae0,KeystrokeHandler as _0x1ea5a3}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x262c73}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x5c6d0c}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x50fe05}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x35c6e0}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5deb40}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x349479}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x4eebc2}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x16a11b,IconPreviousArrow as _0xda2287,IconRefresh as _0x549f85}from'@ckeditor/ckeditor5-icons';function _0x7e87(_0x14b704,_0x2e9e02){const _0x3ac496=_0x3ac4();return _0x7e87=function(_0x7e8722,_0x48735d){_0x7e8722=_0x7e8722-0x1eb;let _0x1fe255=_0x3ac496[_0x7e8722];return _0x1fe255;},_0x7e87(_0x14b704,_0x2e9e02);}import{getTranslation as _0x28283d}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x187db6}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x3bca23(0x20d),_0x3bca23(0x251)];function _0x3ac4(){const _0x44ef48=['resetShowChangesButton','_navigationNextButton','destroy','isEnabled','_config','ck-ai-actions-balloon-main','ck-ai-navigation-button\x20ck-ai-previous-button','_navigationCounter','removeMiniToolbarItem','isVisible','AI_ACTIONS_PREVIOUS_INTERACTION','1989624YOkOXS','updateContent','addMiniToolbarItem','isTrackChangesOn','1138928dArRDE','element','isBusy','focusFirst','bindTemplate','_navigationPreviousButton','_initializeScrollManager','_createStreamableContentView','_createMiniToolbar','clear','add','focusLast','10213elYFLE','1/1','showError','stopAutoScroll','_focusables','applySuggestion','setInteractionCount','2284724JITMqx','_isLoading','_keystrokes','_setupMiniToolbarButtons','_dialogContent','change:isTrackChangesOn','disableMiniToolbarButtons','focusCycler','AI_ACTIONS_NEXT_INTERACTION','_disclaimerView','set','4587618NWasxr','span','div','locale','AI_ACTIONS_TRY_AGAIN','_streamableContentView','25lwciUQ','ck-ai-navigation-button\x20ck-ai-next-button','ck-ai-custom-action-button','tryAgain','createCollection','_addDisclaimerView','clearContent','has','tab','focus','_toolbarView','showPrevious','stop','addMany','bind','_loaderView','_scrollManager','_toggleToolbarButtonsVisibility','_addContentWrapper','_hasError','_contentWrapper','execute','showNext','applyButton','start','toggleIsLoading','_navigationTryAgainButton','showLoader','ck-ai-actions-balloon-content-wrapper','_focusTracker','toggleShowChangesEnabled','listenTo','setTemplate','_errorView','_addToolbar','remove','17171576KwVAYE','availableActions','hideError','795606HNfJxu','showBlockingError','interactionCount','ck-ai-interaction-counter','_getScrollableElement','setButtonsVisibility','setIsLoading','render','suggestButton','clearErrorState','insertSuggestion','miniToolbarConfig','shift\x20+\x20tab','includes','fire','toggleShowChanges','hideLoader','isShowChangesOn','updateMiniToolbarButtons','startAutoScroll','ck-ai-actions-balloon-content','_miniToolbarView','update','items','setErrorState','_createLoaderView','delegate','toggleSuggestionDisplayMode'];_0x3ac4=function(){return _0x44ef48;};return _0x3ac4();}export class AIActionsBalloonView extends _0x187db6{[_0x3bca23(0x216)];[_0x3bca23(0x1f1)];[_0x3bca23(0x234)];[_0x3bca23(0x21f)];[_0x3bca23(0x22a)];[_0x3bca23(0x25c)];[_0x3bca23(0x22f)];[_0x3bca23(0x218)];[_0x3bca23(0x23d)];[_0x3bca23(0x211)];[_0x3bca23(0x213)];[_0x3bca23(0x20c)];[_0x3bca23(0x230)];[_0x3bca23(0x201)];[_0x3bca23(0x1ee)];[_0x3bca23(0x23a)];[_0x3bca23(0x1f4)];constructor(_0x4238f4,_0x333141){const _0x517d86=_0x3bca23;super(_0x4238f4),this[_0x517d86(0x219)](_0x517d86(0x1fe),!0x1),this[_0x517d86(0x219)](_0x517d86(0x1fb),!0x1),this[_0x517d86(0x219)](_0x517d86(0x210),!0x1),this[_0x517d86(0x219)](_0x517d86(0x233),!0x1),this[_0x517d86(0x1f1)]=_0x333141,this[_0x517d86(0x23d)]=new _0x230ae0(),this[_0x517d86(0x211)]=new _0x1ea5a3(),this[_0x517d86(0x20c)]=this[_0x517d86(0x224)](),this[_0x517d86(0x216)]=new _0x3844c3({'focusables':this[_0x517d86(0x20c)],'focusTracker':this[_0x517d86(0x23d)],'keystrokeHandler':this[_0x517d86(0x211)],'actions':{'focusPrevious':_0x517d86(0x253),'focusNext':_0x517d86(0x228)}}),this[_0x517d86(0x213)]=new _0x1591d6(),this[_0x517d86(0x232)](_0x333141),this[_0x517d86(0x225)](),this[_0x517d86(0x242)](_0x333141),this[_0x517d86(0x20c)][_0x517d86(0x205)](),this[_0x517d86(0x20c)][_0x517d86(0x22d)]([this[_0x517d86(0x22a)]]),this[_0x517d86(0x240)]({'tag':_0x517d86(0x21c),'attributes':{'class':[_0x517d86(0x1f2)]},'children':this[_0x517d86(0x213)]}),this['on'](_0x517d86(0x214),()=>{const _0x4bf68e=_0x517d86;this[_0x4bf68e(0x231)](_0x333141);});}[_0x3bca23(0x24e)](){const _0x1bc740=_0x3bca23;super[_0x1bc740(0x24e)]();for(const _0x602383 of this[_0x1bc740(0x20c)])this[_0x1bc740(0x23d)][_0x1bc740(0x206)](_0x602383[_0x1bc740(0x1fd)]);this[_0x1bc740(0x211)][_0x1bc740(0x23f)](this[_0x1bc740(0x1fd)]),this[_0x1bc740(0x202)]();}[_0x3bca23(0x1ef)](){const _0x202e4a=_0x3bca23;super[_0x202e4a(0x1ef)](),this[_0x202e4a(0x230)]&&this[_0x202e4a(0x230)][_0x202e4a(0x1ef)]();}[_0x3bca23(0x229)](_0x7119e6){const _0x5ceb87=_0x3bca23;-0x1===_0x7119e6?this[_0x5ceb87(0x216)][_0x5ceb87(0x207)]():this[_0x5ceb87(0x216)][_0x5ceb87(0x1ff)]();}[_0x3bca23(0x24d)](_0x2c919e){const _0x351be3=_0x3bca23;this[_0x351be3(0x210)]=_0x2c919e;}[_0x3bca23(0x25f)](){const _0x418821=_0x3bca23;this[_0x418821(0x233)]=!0x0,this[_0x418821(0x25c)][_0x418821(0x23e)](!0x1);}[_0x3bca23(0x250)](){const _0x281b85=_0x3bca23;this[_0x281b85(0x233)]=!0x1,this[_0x281b85(0x25c)][_0x281b85(0x23e)](!0x0);}[_0x3bca23(0x20a)](_0x49c816){const _0x540a8e=_0x3bca23;super[_0x540a8e(0x20a)](_0x49c816),this[_0x540a8e(0x213)][_0x540a8e(0x227)](this[_0x540a8e(0x241)])||this[_0x540a8e(0x213)][_0x540a8e(0x206)](this[_0x540a8e(0x241)],0x0);}[_0x3bca23(0x246)](){const _0x51d870=_0x3bca23;super[_0x51d870(0x246)](),this[_0x51d870(0x250)]();}[_0x3bca23(0x248)](_0x2b8eba){const _0x12c364=_0x3bca23;super[_0x12c364(0x248)](_0x2b8eba),this[_0x12c364(0x25f)]();}[_0x3bca23(0x1fa)](_0x5739ce){const _0x98784c=_0x3bca23;this[_0x98784c(0x25c)][_0x98784c(0x25e)][_0x98784c(0x227)](_0x5739ce)||this[_0x98784c(0x25c)][_0x98784c(0x25e)][_0x98784c(0x206)](_0x5739ce);}[_0x3bca23(0x1f5)](_0x5129c1){const _0x34b61d=_0x3bca23;this[_0x34b61d(0x25c)][_0x34b61d(0x25e)][_0x34b61d(0x227)](_0x5129c1)&&this[_0x34b61d(0x25c)][_0x34b61d(0x25e)][_0x34b61d(0x243)](_0x5129c1);}[_0x3bca23(0x23b)](){const _0x1fbd30=_0x3bca23;this[_0x1fbd30(0x22f)]&&(this[_0x1fbd30(0x210)]=!0x0);}[_0x3bca23(0x257)](){const _0x264598=_0x3bca23;this[_0x264598(0x22f)]&&(this[_0x264598(0x210)]=!0x1);}[_0x3bca23(0x231)]({showApplyButton:_0x2bf1ee,showSuggestButton:_0x1a4a53}){const _0x2b0ae9=_0x3bca23;_0x2bf1ee=_0x2bf1ee&&!this[_0x2b0ae9(0x1fb)]&&this[_0x2b0ae9(0x1f1)][_0x2b0ae9(0x245)][_0x2b0ae9(0x254)](_0x2b0ae9(0x20d)),_0x1a4a53=_0x1a4a53&&this[_0x2b0ae9(0x1f1)][_0x2b0ae9(0x245)][_0x2b0ae9(0x254)](_0x2b0ae9(0x251)),this[_0x2b0ae9(0x22a)][_0x2b0ae9(0x24c)]({'showApplyButton':_0x2bf1ee,'showSuggestButton':_0x1a4a53});}async[_0x3bca23(0x1f9)](_0x1b1b1e){const _0x5133db=_0x3bca23;await this[_0x5133db(0x21f)][_0x5133db(0x25d)](_0x1b1b1e);}[_0x3bca23(0x226)](){const _0x2b77d7=_0x3bca23;this[_0x2b77d7(0x21f)][_0x2b77d7(0x205)]();}[_0x3bca23(0x232)](_0x2d03ad){const _0x2eb950=_0x3bca23;this[_0x2eb950(0x234)]=new _0x5b54d0(this[_0x2eb950(0x21d)]),this[_0x2eb950(0x234)][_0x2eb950(0x240)]({'tag':_0x2eb950(0x21c),'attributes':{'class':[_0x2eb950(0x25b)]},'children':[{'tag':_0x2eb950(0x21c),'attributes':{'class':[_0x2eb950(0x23c)]},'children':[this[_0x2eb950(0x260)](),this[_0x2eb950(0x203)]()]},this[_0x2eb950(0x204)](_0x2d03ad[_0x2eb950(0x252)])]}),this[_0x2eb950(0x213)][_0x2eb950(0x206)](this[_0x2eb950(0x234)]);}[_0x3bca23(0x225)](){const _0x5c85e0=_0x3bca23;this[_0x5c85e0(0x218)]=new _0x5c6d0c(this[_0x5c85e0(0x21d)]),this[_0x5c85e0(0x213)][_0x5c85e0(0x206)](this[_0x5c85e0(0x218)]);}[_0x3bca23(0x242)]({showApplyButton:_0x3df0f2,showSuggestButton:_0x2bf9fe}){const _0x6fbcbd=_0x3bca23;this[_0x6fbcbd(0x22a)]=new _0x262c73(this[_0x6fbcbd(0x21d)],_0x3df0f2,_0x2bf9fe),this[_0x6fbcbd(0x22a)][_0x6fbcbd(0x237)]?.['on'](_0x6fbcbd(0x235),()=>{const _0x4955b5=_0x6fbcbd;this[_0x4955b5(0x255)](_0x4955b5(0x20d));}),this[_0x6fbcbd(0x22a)][_0x6fbcbd(0x24f)]?.['on'](_0x6fbcbd(0x235),()=>{const _0x56bedc=_0x6fbcbd;this[_0x56bedc(0x255)](_0x56bedc(0x251));}),this[_0x6fbcbd(0x22a)][_0x6fbcbd(0x22e)](_0x6fbcbd(0x1f0))['to'](this,_0x6fbcbd(0x1fe),this,_0x6fbcbd(0x210),this,_0x6fbcbd(0x233),(_0x198e3b,_0x205beb,_0x39dc8b)=>!(_0x198e3b||_0x205beb||_0x39dc8b)),this[_0x6fbcbd(0x231)]({'showApplyButton':_0x3df0f2,'showSuggestButton':_0x2bf9fe}),this[_0x6fbcbd(0x213)][_0x6fbcbd(0x206)](this[_0x6fbcbd(0x22a)]);}[_0x3bca23(0x204)](_0x2dea3c){const _0x55f3b0=_0x3bca23;return this[_0x55f3b0(0x25c)]=new _0x35c6e0(this[_0x55f3b0(0x21d)],_0x2dea3c),this[_0x55f3b0(0x25c)][_0x55f3b0(0x1eb)](..._0x5deb40)['to'](this),this[_0x55f3b0(0x25c)]['on'](_0x55f3b0(0x256),()=>{const _0x954bca=_0x55f3b0;this[_0x954bca(0x25c)][_0x954bca(0x258)]=!this[_0x954bca(0x25c)][_0x954bca(0x258)],this[_0x954bca(0x255)](_0x954bca(0x1ec),{'showDiff':this[_0x954bca(0x25c)][_0x954bca(0x258)]});}),this[_0x55f3b0(0x25c)][_0x55f3b0(0x22e)](_0x55f3b0(0x1f0))['to'](this,_0x55f3b0(0x1fe),this,_0x55f3b0(0x210),(_0x362a8c,_0xa52320)=>!(_0x362a8c||_0xa52320)),this[_0x55f3b0(0x25c)];}[_0x3bca23(0x260)](){const _0x4c3794=_0x3bca23;return this[_0x4c3794(0x22f)]=new _0x349479(this[_0x4c3794(0x21d)]),this[_0x4c3794(0x22f)][_0x4c3794(0x22e)](_0x4c3794(0x1f6))['to'](this,_0x4c3794(0x210)),this[_0x4c3794(0x22f)];}[_0x3bca23(0x203)](){const _0x543555=_0x3bca23;return this[_0x543555(0x21f)]=new _0x4eebc2(this[_0x543555(0x21d)]),this[_0x543555(0x21f)];}[_0x3bca23(0x212)](){const _0x42bf44=_0x3bca23,_0x30c188=new _0x51d84e(this[_0x42bf44(0x21d)]),_0x2cd3f7=new _0x51d84e(this[_0x42bf44(0x21d)]),_0x1d0c47=new AIActionsBalloonNavigationCounterView(this[_0x42bf44(0x21d)]),_0x5eee17=new _0x51d84e(this[_0x42bf44(0x21d)]);_0x30c188[_0x42bf44(0x219)]({'icon':_0x549f85,'label':_0x28283d(this[_0x42bf44(0x21d)],_0x42bf44(0x21e)),'tooltip':!0x0,'class':_0x42bf44(0x222)}),_0x2cd3f7[_0x42bf44(0x219)]({'icon':_0xda2287,'tooltip':_0x28283d(this[_0x42bf44(0x21d)],_0x42bf44(0x1f7)),'class':_0x42bf44(0x1f3)}),_0x5eee17[_0x42bf44(0x219)]({'icon':_0x16a11b,'tooltip':_0x28283d(this[_0x42bf44(0x21d)],_0x42bf44(0x217)),'class':_0x42bf44(0x221)}),_0x30c188[_0x42bf44(0x22e)](_0x42bf44(0x1f0))['to'](this,_0x42bf44(0x1fe),_0x3ba8ec=>!_0x3ba8ec),_0x30c188['on'](_0x42bf44(0x235),()=>{const _0x5f4bb9=_0x42bf44;this[_0x5f4bb9(0x255)](_0x5f4bb9(0x223));}),_0x2cd3f7[_0x42bf44(0x22e)](_0x42bf44(0x1f0))['to'](this,_0x42bf44(0x1fe),_0x11c1b5=>!_0x11c1b5),_0x2cd3f7['on'](_0x42bf44(0x235),()=>{const _0x3b91cf=_0x42bf44;this[_0x3b91cf(0x255)](_0x3b91cf(0x22b));}),_0x5eee17[_0x42bf44(0x22e)](_0x42bf44(0x1f0))['to'](this,_0x42bf44(0x1fe),_0x3ef8f6=>!_0x3ef8f6),_0x5eee17['on'](_0x42bf44(0x235),()=>{const _0x12d03a=_0x42bf44;this[_0x12d03a(0x255)](_0x12d03a(0x236));}),this[_0x42bf44(0x201)]=_0x2cd3f7,this[_0x42bf44(0x1f4)]=_0x1d0c47,this[_0x42bf44(0x1ee)]=_0x5eee17,this[_0x42bf44(0x23a)]=_0x30c188;}[_0x3bca23(0x259)](_0x856019,_0x51362a){const _0x20b3ae=_0x3bca23;this[_0x20b3ae(0x201)]||this[_0x20b3ae(0x212)]();const _0x511ec6=_0x856019>0x1;if(this[_0x20b3ae(0x1fa)](this[_0x20b3ae(0x23a)]),_0x511ec6){this[_0x20b3ae(0x1fa)](this[_0x20b3ae(0x201)]),this[_0x20b3ae(0x1fa)](this[_0x20b3ae(0x1f4)]),this[_0x20b3ae(0x1fa)](this[_0x20b3ae(0x1ee)]);const _0x4c21a6=_0x856019-_0x51362a;this[_0x20b3ae(0x1f4)][_0x20b3ae(0x20e)](_0x4c21a6+'/'+_0x856019),this[_0x20b3ae(0x201)][_0x20b3ae(0x1f0)]=_0x51362a<_0x856019-0x1,this[_0x20b3ae(0x1ee)][_0x20b3ae(0x1f0)]=_0x51362a>0x0;}else this[_0x20b3ae(0x1f5)](this[_0x20b3ae(0x201)]),this[_0x20b3ae(0x1f5)](this[_0x20b3ae(0x1f4)]),this[_0x20b3ae(0x1f5)](this[_0x20b3ae(0x1ee)]);}[_0x3bca23(0x215)](){const _0x4018bf=_0x3bca23;this[_0x4018bf(0x23a)][_0x4018bf(0x1f0)]=!0x1,this[_0x4018bf(0x201)][_0x4018bf(0x1f0)]=!0x1,this[_0x4018bf(0x1ee)][_0x4018bf(0x1f0)]=!0x1;}[_0x3bca23(0x25a)](){const _0x3bc22c=_0x3bca23;this[_0x3bc22c(0x202)](),this[_0x3bc22c(0x230)]&&this[_0x3bc22c(0x230)][_0x3bc22c(0x238)]();}[_0x3bca23(0x20b)](){const _0x303b44=_0x3bca23;this[_0x303b44(0x230)]&&this[_0x303b44(0x230)][_0x303b44(0x22c)]();}[_0x3bca23(0x239)](_0x16d97a){const _0x30c072=_0x3bca23;this[_0x30c072(0x210)]=_0x16d97a;}[_0x3bca23(0x1ed)](){const _0x409e23=_0x3bca23;this[_0x409e23(0x25c)][_0x409e23(0x258)]=!0x1;}[_0x3bca23(0x202)](){const _0x13c6a0=_0x3bca23,_0xe7229=this[_0x13c6a0(0x24b)]();_0xe7229&&!this[_0x13c6a0(0x230)]&&(this[_0x13c6a0(0x230)]=new _0x50fe05(_0xe7229));}[_0x3bca23(0x24b)](){const _0x43e96f=_0x3bca23;return this[_0x43e96f(0x21f)][_0x43e96f(0x1fd)];}}class AIActionsBalloonNavigationCounterView extends _0x5b54d0{constructor(_0x42fa80){const _0x5d53e4=_0x3bca23;super(_0x42fa80);const _0x1e8a02=this[_0x5d53e4(0x200)];this[_0x5d53e4(0x219)](_0x5d53e4(0x249),_0x5d53e4(0x209)),this[_0x5d53e4(0x240)]({'tag':_0x5d53e4(0x21b),'attributes':{'class':[_0x5d53e4(0x24a)]},'children':[{'text':_0x1e8a02['to'](_0x5d53e4(0x249))}]});}[_0x3bca23(0x20e)](_0x1edc2d){const _0x34f204=_0x3bca23;this[_0x34f204(0x219)](_0x34f204(0x249),_0x1edc2d);}}
23
+ const _0x50a566=_0x55ec;(function(_0x406096,_0x4d03e5){const _0x11afe1=_0x55ec,_0x253b4f=_0x406096();while(!![]){try{const _0x4d2333=-parseInt(_0x11afe1(0x151))/0x1*(parseInt(_0x11afe1(0x12c))/0x2)+-parseInt(_0x11afe1(0x16d))/0x3+-parseInt(_0x11afe1(0x127))/0x4+-parseInt(_0x11afe1(0x10b))/0x5*(-parseInt(_0x11afe1(0xf8))/0x6)+-parseInt(_0x11afe1(0x13d))/0x7*(parseInt(_0x11afe1(0x12a))/0x8)+-parseInt(_0x11afe1(0xf7))/0x9+parseInt(_0x11afe1(0x12f))/0xa;if(_0x4d2333===_0x4d03e5)break;else _0x253b4f['push'](_0x253b4f['shift']());}catch(_0x52fe75){_0x253b4f['push'](_0x253b4f['shift']());}}}(_0x1b12,0x6fd21));import{ViewCollection as _0x23b5e7,FocusCycler as _0x1bb34e,ButtonView as _0xd3d49f,View as _0xfb2c27}from'ckeditor5/src/ui.js';import{FocusTracker as _0x2d10a0,KeystrokeHandler as _0x3faeef}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x4dc29d}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x1be731}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x5b364a}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x1ce7a1}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x8dbc24}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x384d8b}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x2b498c}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x154d71,IconPreviousArrow as _0x5770cf,IconRefresh as _0x4a3055}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1c9b7f}from'../../../aicore/utils/common-translations.js';function _0x1b12(){const _0x2f7788=['addMiniToolbarItem','_createLoaderView','isVisible','_scrollManager','_disclaimerView','shift\x20+\x20tab','hideLoader','3565416INzNvg','showBlockingError','showPrevious','8zvdhbj','_hasError','1688OXNtmz','isBusy','_navigationCounter','31521430ZxVVvl','AI_ACTIONS_PREVIOUS_INTERACTION','render','resetShowChangesButton','clearContent','disableMiniToolbarButtons','_createStreamableContentView','span','_initializeScrollManager','isShowChangesOn','_getScrollableElement','interactionCount','setButtonsVisibility','add','4266941FoYhmW','isTrackChangesOn','listenTo','execute','setErrorState','applySuggestion','toggleShowChangesEnabled','showNext','hideError','bindTemplate','clearErrorState','AI_ACTIONS_TRY_AGAIN','_streamableContentView','showError','delegate','toggleSuggestionDisplayMode','toggleShowChanges','removeMiniToolbarItem','applyButton','_toggleToolbarButtonsVisibility','326gNtNDz','fire','_focusables','_keystrokes','update','miniToolbarConfig','ck-ai-actions-balloon-content','_config','showLoader','_focusTracker','clear','ck-ai-custom-action-button','setTemplate','stop','focusLast','updateContent','_addDisclaimerView','focus','tab','ck-ai-actions-balloon-main','createCollection','setIsLoading','_isLoading','remove','_navigationNextButton','_navigationPreviousButton','items','stopAutoScroll','1927419GRSyGf','locale','3613572RwxCQJ','36qanlns','_contentWrapper','_createMiniToolbar','tryAgain','addMany','bind','element','1/1','_addContentWrapper','availableActions','_errorView','change:isTrackChangesOn','_dialogContent','ck-ai-navigation-button\x20ck-ai-next-button','_setupMiniToolbarButtons','insertSuggestion','AI_ACTIONS_NEXT_INTERACTION','toggleIsLoading','focusCycler','104930aifMwK','_miniToolbarView','ck-ai-actions-balloon-content-wrapper','focusFirst','startAutoScroll','ck-ai-navigation-button\x20ck-ai-previous-button','_navigationTryAgainButton','set','isEnabled','_toolbarView','start','_loaderView','has','destroy','suggestButton','setInteractionCount','div','includes','ck-ai-interaction-counter','updateMiniToolbarButtons','_addToolbar'];_0x1b12=function(){return _0x2f7788;};return _0x1b12();}function _0x55ec(_0x26b4f9,_0x443712){const _0x1b128c=_0x1b12();return _0x55ec=function(_0x55eca1,_0x1538c7){_0x55eca1=_0x55eca1-0xf6;let _0x4b79e0=_0x1b128c[_0x55eca1];return _0x4b79e0;},_0x55ec(_0x26b4f9,_0x443712);}import{AIBalloonView as _0x72efb5}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x50a566(0x142),_0x50a566(0x107)];export class AIActionsBalloonView extends _0x72efb5{[_0x50a566(0x10a)];[_0x50a566(0x158)];[_0x50a566(0xf9)];[_0x50a566(0x149)];[_0x50a566(0x114)];[_0x50a566(0x10c)];[_0x50a566(0x116)];[_0x50a566(0x124)];[_0x50a566(0x15a)];[_0x50a566(0x154)];[_0x50a566(0x104)];[_0x50a566(0x153)];[_0x50a566(0x123)];[_0x50a566(0x16a)];[_0x50a566(0x169)];[_0x50a566(0x111)];[_0x50a566(0x12e)];constructor(_0x5f5d3b,_0x22a18d){const _0x350b73=_0x50a566;super(_0x5f5d3b),this[_0x350b73(0x112)](_0x350b73(0x12d),!0x1),this[_0x350b73(0x112)](_0x350b73(0x13e),!0x1),this[_0x350b73(0x112)](_0x350b73(0x167),!0x1),this[_0x350b73(0x112)](_0x350b73(0x12b),!0x1),this[_0x350b73(0x158)]=_0x22a18d,this[_0x350b73(0x15a)]=new _0x2d10a0(),this[_0x350b73(0x154)]=new _0x3faeef(),this[_0x350b73(0x153)]=this[_0x350b73(0x165)](),this[_0x350b73(0x10a)]=new _0x1bb34e({'focusables':this[_0x350b73(0x153)],'focusTracker':this[_0x350b73(0x15a)],'keystrokeHandler':this[_0x350b73(0x154)],'actions':{'focusPrevious':_0x350b73(0x125),'focusNext':_0x350b73(0x163)}}),this[_0x350b73(0x104)]=new _0x23b5e7(),this[_0x350b73(0x100)](_0x22a18d),this[_0x350b73(0x161)](),this[_0x350b73(0x11f)](_0x22a18d),this[_0x350b73(0x153)][_0x350b73(0x15b)](),this[_0x350b73(0x153)][_0x350b73(0xfc)]([this[_0x350b73(0x114)]]),this[_0x350b73(0x15d)]({'tag':_0x350b73(0x11b),'attributes':{'class':[_0x350b73(0x164)]},'children':this[_0x350b73(0x104)]}),this['on'](_0x350b73(0x103),()=>{const _0x4c5143=_0x350b73;this[_0x4c5143(0x150)](_0x22a18d);});}[_0x50a566(0x131)](){const _0x2a183e=_0x50a566;super[_0x2a183e(0x131)]();for(const _0x46b860 of this[_0x2a183e(0x153)])this[_0x2a183e(0x15a)][_0x2a183e(0x13c)](_0x46b860[_0x2a183e(0xfe)]);this[_0x2a183e(0x154)][_0x2a183e(0x13f)](this[_0x2a183e(0xfe)]),this[_0x2a183e(0x137)]();}[_0x50a566(0x118)](){const _0xaab9b8=_0x50a566;super[_0xaab9b8(0x118)](),this[_0xaab9b8(0x123)]&&this[_0xaab9b8(0x123)][_0xaab9b8(0x118)]();}[_0x50a566(0x162)](_0x33f16a){const _0x44f19f=_0x50a566;-0x1===_0x33f16a?this[_0x44f19f(0x10a)][_0x44f19f(0x15f)]():this[_0x44f19f(0x10a)][_0x44f19f(0x10e)]();}[_0x50a566(0x166)](_0x1d6243){const _0x4ebcfb=_0x50a566;this[_0x4ebcfb(0x167)]=_0x1d6243;}[_0x50a566(0x141)](){const _0xf2daba=_0x50a566;this[_0xf2daba(0x12b)]=!0x0,this[_0xf2daba(0x10c)][_0xf2daba(0x143)](!0x1);}[_0x50a566(0x147)](){const _0x5bb5dc=_0x50a566;this[_0x5bb5dc(0x12b)]=!0x1,this[_0x5bb5dc(0x10c)][_0x5bb5dc(0x143)](!0x0);}[_0x50a566(0x14a)](_0x19fd60){const _0x4fc619=_0x50a566;super[_0x4fc619(0x14a)](_0x19fd60),this[_0x4fc619(0x104)][_0x4fc619(0x117)](this[_0x4fc619(0x102)])||this[_0x4fc619(0x104)][_0x4fc619(0x13c)](this[_0x4fc619(0x102)],0x0);}[_0x50a566(0x145)](){const _0x595b86=_0x50a566;super[_0x595b86(0x145)](),this[_0x595b86(0x147)]();}[_0x50a566(0x128)](_0x3f1cb4){const _0x4483e9=_0x50a566;super[_0x4483e9(0x128)](_0x3f1cb4),this[_0x4483e9(0x141)]();}[_0x50a566(0x120)](_0x2fa9b4){const _0xd75d02=_0x50a566;this[_0xd75d02(0x10c)][_0xd75d02(0x16b)][_0xd75d02(0x117)](_0x2fa9b4)||this[_0xd75d02(0x10c)][_0xd75d02(0x16b)][_0xd75d02(0x13c)](_0x2fa9b4);}[_0x50a566(0x14e)](_0x3cbcab){const _0x3852f1=_0x50a566;this[_0x3852f1(0x10c)][_0x3852f1(0x16b)][_0x3852f1(0x117)](_0x3cbcab)&&this[_0x3852f1(0x10c)][_0x3852f1(0x16b)][_0x3852f1(0x168)](_0x3cbcab);}[_0x50a566(0x159)](){const _0x214402=_0x50a566;this[_0x214402(0x116)]&&(this[_0x214402(0x167)]=!0x0);}[_0x50a566(0x126)](){const _0x1f1a0c=_0x50a566;this[_0x1f1a0c(0x116)]&&(this[_0x1f1a0c(0x167)]=!0x1);}[_0x50a566(0x150)]({showApplyButton:_0x5662bd,showSuggestButton:_0x5be3d8}){const _0x38a83a=_0x50a566;_0x5662bd=_0x5662bd&&!this[_0x38a83a(0x13e)]&&this[_0x38a83a(0x158)][_0x38a83a(0x101)][_0x38a83a(0x11c)](_0x38a83a(0x142)),_0x5be3d8=_0x5be3d8&&this[_0x38a83a(0x158)][_0x38a83a(0x101)][_0x38a83a(0x11c)](_0x38a83a(0x107)),this[_0x38a83a(0x114)][_0x38a83a(0x13b)]({'showApplyButton':_0x5662bd,'showSuggestButton':_0x5be3d8});}async[_0x50a566(0x160)](_0x23bd5a){const _0x230772=_0x50a566;await this[_0x230772(0x149)][_0x230772(0x155)](_0x23bd5a);}[_0x50a566(0x133)](){const _0x59e3aa=_0x50a566;this[_0x59e3aa(0x149)][_0x59e3aa(0x15b)]();}[_0x50a566(0x100)](_0x2e24be){const _0x2153e9=_0x50a566;this[_0x2153e9(0xf9)]=new _0xfb2c27(this[_0x2153e9(0xf6)]),this[_0x2153e9(0xf9)][_0x2153e9(0x15d)]({'tag':_0x2153e9(0x11b),'attributes':{'class':[_0x2153e9(0x157)]},'children':[{'tag':_0x2153e9(0x11b),'attributes':{'class':[_0x2153e9(0x10d)]},'children':[this[_0x2153e9(0x121)](),this[_0x2153e9(0x135)]()]},this[_0x2153e9(0xfa)](_0x2e24be[_0x2153e9(0x156)])]}),this[_0x2153e9(0x104)][_0x2153e9(0x13c)](this[_0x2153e9(0xf9)]);}[_0x50a566(0x161)](){const _0x109fc6=_0x50a566;this[_0x109fc6(0x124)]=new _0x1be731(this[_0x109fc6(0xf6)]),this[_0x109fc6(0x104)][_0x109fc6(0x13c)](this[_0x109fc6(0x124)]);}[_0x50a566(0x11f)]({showApplyButton:_0x1944cf,showSuggestButton:_0x1e260e}){const _0x4bc3fb=_0x50a566;this[_0x4bc3fb(0x114)]=new _0x4dc29d(this[_0x4bc3fb(0xf6)],_0x1944cf,_0x1e260e),this[_0x4bc3fb(0x114)][_0x4bc3fb(0x14f)]?.['on'](_0x4bc3fb(0x140),()=>{const _0x1e1e4b=_0x4bc3fb;this[_0x1e1e4b(0x152)](_0x1e1e4b(0x142));}),this[_0x4bc3fb(0x114)][_0x4bc3fb(0x119)]?.['on'](_0x4bc3fb(0x140),()=>{const _0x1e5acd=_0x4bc3fb;this[_0x1e5acd(0x152)](_0x1e5acd(0x107));}),this[_0x4bc3fb(0x114)][_0x4bc3fb(0xfd)](_0x4bc3fb(0x113))['to'](this,_0x4bc3fb(0x12d),this,_0x4bc3fb(0x167),this,_0x4bc3fb(0x12b),(_0x521295,_0x42f8dd,_0x34a689)=>!(_0x521295||_0x42f8dd||_0x34a689)),this[_0x4bc3fb(0x150)]({'showApplyButton':_0x1944cf,'showSuggestButton':_0x1e260e}),this[_0x4bc3fb(0x104)][_0x4bc3fb(0x13c)](this[_0x4bc3fb(0x114)]);}[_0x50a566(0xfa)](_0xc2bf4a){const _0x496537=_0x50a566;return this[_0x496537(0x10c)]=new _0x1ce7a1(this[_0x496537(0xf6)],_0xc2bf4a),this[_0x496537(0x10c)][_0x496537(0x14b)](..._0x8dbc24)['to'](this),this[_0x496537(0x10c)]['on'](_0x496537(0x14d),()=>{const _0x2cdb1a=_0x496537;this[_0x2cdb1a(0x10c)][_0x2cdb1a(0x138)]=!this[_0x2cdb1a(0x10c)][_0x2cdb1a(0x138)],this[_0x2cdb1a(0x152)](_0x2cdb1a(0x14c),{'showDiff':this[_0x2cdb1a(0x10c)][_0x2cdb1a(0x138)]});}),this[_0x496537(0x10c)][_0x496537(0xfd)](_0x496537(0x113))['to'](this,_0x496537(0x12d),this,_0x496537(0x167),(_0x1fab4d,_0x3ac677)=>!(_0x1fab4d||_0x3ac677)),this[_0x496537(0x10c)];}[_0x50a566(0x121)](){const _0x211be7=_0x50a566;return this[_0x211be7(0x116)]=new _0x384d8b(this[_0x211be7(0xf6)]),this[_0x211be7(0x116)][_0x211be7(0xfd)](_0x211be7(0x122))['to'](this,_0x211be7(0x167)),this[_0x211be7(0x116)];}[_0x50a566(0x135)](){const _0x50662a=_0x50a566;return this[_0x50662a(0x149)]=new _0x2b498c(this[_0x50662a(0xf6)]),this[_0x50662a(0x149)];}[_0x50a566(0x106)](){const _0x216777=_0x50a566,_0xba7d59=new _0xd3d49f(this[_0x216777(0xf6)]),_0x50d9aa=new _0xd3d49f(this[_0x216777(0xf6)]),_0x4283ed=new AIActionsBalloonNavigationCounterView(this[_0x216777(0xf6)]),_0x391617=new _0xd3d49f(this[_0x216777(0xf6)]);_0xba7d59[_0x216777(0x112)]({'icon':_0x4a3055,'label':_0x1c9b7f(this[_0x216777(0xf6)],_0x216777(0x148)),'tooltip':!0x0,'class':_0x216777(0x15c)}),_0x50d9aa[_0x216777(0x112)]({'icon':_0x5770cf,'tooltip':_0x1c9b7f(this[_0x216777(0xf6)],_0x216777(0x130)),'class':_0x216777(0x110)}),_0x391617[_0x216777(0x112)]({'icon':_0x154d71,'tooltip':_0x1c9b7f(this[_0x216777(0xf6)],_0x216777(0x108)),'class':_0x216777(0x105)}),_0xba7d59[_0x216777(0xfd)](_0x216777(0x113))['to'](this,_0x216777(0x12d),_0x28052f=>!_0x28052f),_0xba7d59['on'](_0x216777(0x140),()=>{const _0x28e93f=_0x216777;this[_0x28e93f(0x152)](_0x28e93f(0xfb));}),_0x50d9aa[_0x216777(0xfd)](_0x216777(0x113))['to'](this,_0x216777(0x12d),_0x5142fd=>!_0x5142fd),_0x50d9aa['on'](_0x216777(0x140),()=>{const _0x14f4c7=_0x216777;this[_0x14f4c7(0x152)](_0x14f4c7(0x129));}),_0x391617[_0x216777(0xfd)](_0x216777(0x113))['to'](this,_0x216777(0x12d),_0x256845=>!_0x256845),_0x391617['on'](_0x216777(0x140),()=>{const _0x3f90b9=_0x216777;this[_0x3f90b9(0x152)](_0x3f90b9(0x144));}),this[_0x216777(0x16a)]=_0x50d9aa,this[_0x216777(0x12e)]=_0x4283ed,this[_0x216777(0x169)]=_0x391617,this[_0x216777(0x111)]=_0xba7d59;}[_0x50a566(0x11e)](_0x47b829,_0xbe9b75){const _0x1e0607=_0x50a566;this[_0x1e0607(0x16a)]||this[_0x1e0607(0x106)]();const _0x3a5b3a=_0x47b829>0x1;if(this[_0x1e0607(0x120)](this[_0x1e0607(0x111)]),_0x3a5b3a){this[_0x1e0607(0x120)](this[_0x1e0607(0x16a)]),this[_0x1e0607(0x120)](this[_0x1e0607(0x12e)]),this[_0x1e0607(0x120)](this[_0x1e0607(0x169)]);const _0x1de482=_0x47b829-_0xbe9b75;this[_0x1e0607(0x12e)][_0x1e0607(0x11a)](_0x1de482+'/'+_0x47b829),this[_0x1e0607(0x16a)][_0x1e0607(0x113)]=_0xbe9b75<_0x47b829-0x1,this[_0x1e0607(0x169)][_0x1e0607(0x113)]=_0xbe9b75>0x0;}else this[_0x1e0607(0x14e)](this[_0x1e0607(0x16a)]),this[_0x1e0607(0x14e)](this[_0x1e0607(0x12e)]),this[_0x1e0607(0x14e)](this[_0x1e0607(0x169)]);}[_0x50a566(0x134)](){const _0x4dda38=_0x50a566;this[_0x4dda38(0x111)][_0x4dda38(0x113)]=!0x1,this[_0x4dda38(0x16a)][_0x4dda38(0x113)]=!0x1,this[_0x4dda38(0x169)][_0x4dda38(0x113)]=!0x1;}[_0x50a566(0x10f)](){const _0x1b3c46=_0x50a566;this[_0x1b3c46(0x137)](),this[_0x1b3c46(0x123)]&&this[_0x1b3c46(0x123)][_0x1b3c46(0x115)]();}[_0x50a566(0x16c)](){const _0x2902ae=_0x50a566;this[_0x2902ae(0x123)]&&this[_0x2902ae(0x123)][_0x2902ae(0x15e)]();}[_0x50a566(0x109)](_0x4b0fde){const _0x299b3f=_0x50a566;this[_0x299b3f(0x167)]=_0x4b0fde;}[_0x50a566(0x132)](){const _0xf409b2=_0x50a566;this[_0xf409b2(0x10c)][_0xf409b2(0x138)]=!0x1;}[_0x50a566(0x137)](){const _0x29d96e=_0x50a566,_0x42c8bb=this[_0x29d96e(0x139)]();_0x42c8bb&&!this[_0x29d96e(0x123)]&&(this[_0x29d96e(0x123)]=new _0x5b364a(_0x42c8bb));}[_0x50a566(0x139)](){const _0x99876=_0x50a566;return this[_0x99876(0x149)][_0x99876(0xfe)];}}class AIActionsBalloonNavigationCounterView extends _0xfb2c27{constructor(_0xc36232){const _0x1bcd58=_0x50a566;super(_0xc36232);const _0x12f712=this[_0x1bcd58(0x146)];this[_0x1bcd58(0x112)](_0x1bcd58(0x13a),_0x1bcd58(0xff)),this[_0x1bcd58(0x15d)]({'tag':_0x1bcd58(0x136),'attributes':{'class':[_0x1bcd58(0x11d)]},'children':[{'text':_0x12f712['to'](_0x1bcd58(0x13a))}]});}[_0x50a566(0x11a)](_0x4c2cd6){const _0xa3ef99=_0x50a566;this[_0xa3ef99(0x112)](_0xa3ef99(0x13a),_0x4c2cd6);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x467ed6=_0x304c;(function(_0x1c75d2,_0x3797c4){const _0x5d0383=_0x304c,_0x262fd3=_0x1c75d2();while(!![]){try{const _0x34279f=parseInt(_0x5d0383(0x101))/0x1*(-parseInt(_0x5d0383(0xfe))/0x2)+parseInt(_0x5d0383(0x110))/0x3+-parseInt(_0x5d0383(0x10f))/0x4*(parseInt(_0x5d0383(0x10b))/0x5)+-parseInt(_0x5d0383(0xf8))/0x6+parseInt(_0x5d0383(0xfd))/0x7*(-parseInt(_0x5d0383(0xfa))/0x8)+parseInt(_0x5d0383(0x10c))/0x9*(-parseInt(_0x5d0383(0x103))/0xa)+parseInt(_0x5d0383(0x10a))/0xb*(parseInt(_0x5d0383(0x102))/0xc);if(_0x34279f===_0x3797c4)break;else _0x262fd3['push'](_0x262fd3['shift']());}catch(_0x25c272){_0x262fd3['push'](_0x262fd3['shift']());}}}(_0x5089,0x1dddc));import{IconView as _0x15427c,ListItemButtonView as _0x518ee4}from'ckeditor5/src/ui.js';function _0x5089(){const _0x5e2628=['598803SSStUN','_createArrowView','990618cstjna','add','56FYZelH','arrowView','ck-dropdown-menu-list__nested-menu__button','151291dLxUtR','26BhRIve','mouseenter','children','16351TXLcRW','239508TLfbbF','60essLPp','content','isOn','bindTemplate','ck-dropdown-menu-list__nested-menu__button__arrow','extendTemplate','render','253sLZvIB','15065mEHoHW','6534ggnmZr','menuitem','set','4OgeIDR'];_0x5089=function(){return _0x5e2628;};return _0x5089();}import{IconDropdownArrow as _0x5403a9}from'@ckeditor/ckeditor5-icons';function _0x304c(_0x469210,_0x1432ad){const _0x50897a=_0x5089();return _0x304c=function(_0x304cae,_0x46e82f){_0x304cae=_0x304cae-0xf7;let _0xa47922=_0x50897a[_0x304cae];return _0xa47922;},_0x304c(_0x469210,_0x1432ad);}export class DropdownMenuButtonWithHighlightView extends _0x518ee4{[_0x467ed6(0xfb)];constructor(_0x132591,_0x453bea){const _0x4a2708=_0x467ed6;super(_0x132591,_0x453bea);const _0x88c46d=this[_0x4a2708(0x106)];this[_0x4a2708(0x10e)]({'withText':!0x0,'role':_0x4a2708(0x10d)}),this[_0x4a2708(0xfb)]=this[_0x4a2708(0xf7)](),this[_0x4a2708(0x108)]({'attributes':{'class':[_0x4a2708(0xfc)],'aria-haspopup':!0x0,'aria-expanded':this[_0x4a2708(0x106)]['to'](_0x4a2708(0x105),_0x493595=>String(_0x493595)),'data-cke-tooltip-disabled':_0x88c46d['to'](_0x4a2708(0x105))},'on':{'mouseenter':_0x88c46d['to'](_0x4a2708(0xff))}});}[_0x467ed6(0x109)](){const _0x7062ae=_0x467ed6;super[_0x7062ae(0x109)](),this[_0x7062ae(0x100)][_0x7062ae(0xf9)](this[_0x7062ae(0xfb)]);}[_0x467ed6(0xf7)](){const _0x567485=_0x467ed6,_0x286460=new _0x15427c();return _0x286460[_0x567485(0x104)]=_0x5403a9,_0x286460[_0x567485(0x108)]({'attributes':{'class':_0x567485(0x107)}}),_0x286460;}}
23
+ const _0x242be8=_0x221b;(function(_0x2a91d2,_0x5cd77f){const _0x147bfd=_0x221b,_0x4a2cb0=_0x2a91d2();while(!![]){try{const _0x55bb5d=-parseInt(_0x147bfd(0x91))/0x1+-parseInt(_0x147bfd(0x92))/0x2*(parseInt(_0x147bfd(0x8f))/0x3)+parseInt(_0x147bfd(0x93))/0x4*(-parseInt(_0x147bfd(0x99))/0x5)+parseInt(_0x147bfd(0x9a))/0x6*(parseInt(_0x147bfd(0x95))/0x7)+parseInt(_0x147bfd(0x9d))/0x8+parseInt(_0x147bfd(0x9b))/0x9+parseInt(_0x147bfd(0x96))/0xa;if(_0x55bb5d===_0x5cd77f)break;else _0x4a2cb0['push'](_0x4a2cb0['shift']());}catch(_0x14cae7){_0x4a2cb0['push'](_0x4a2cb0['shift']());}}}(_0x1e79,0x80fc9));import{IconView as _0x290e91,ListItemButtonView as _0x592fa4}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x4004ea}from'@ckeditor/ckeditor5-icons';function _0x1e79(){const _0x494599=['840aqJlsd','7017084dDDiUA','set','2346224QJZCzB','arrowView','content','_createArrowView','children','ck-dropdown-menu-list__nested-menu__button__arrow','mouseenter','bindTemplate','add','ck-dropdown-menu-list__nested-menu__button','210543hpoHgv','render','671044KBUmGz','26RPIrcW','4smXDyV','isOn','21217idtIub','15891010BROkoo','menuitem','extendTemplate','4873345bINqdb'];_0x1e79=function(){return _0x494599;};return _0x1e79();}function _0x221b(_0x270667,_0x310b1a){const _0x1e7973=_0x1e79();return _0x221b=function(_0x221bd5,_0x4d515a){_0x221bd5=_0x221bd5-0x8f;let _0x3a7a22=_0x1e7973[_0x221bd5];return _0x3a7a22;},_0x221b(_0x270667,_0x310b1a);}export class DropdownMenuButtonWithHighlightView extends _0x592fa4{[_0x242be8(0x9e)];constructor(_0x3c1a90,_0x1f909a){const _0x1130a6=_0x242be8;super(_0x3c1a90,_0x1f909a);const _0x230914=this[_0x1130a6(0xa4)];this[_0x1130a6(0x9c)]({'withText':!0x0,'role':_0x1130a6(0x97)}),this[_0x1130a6(0x9e)]=this[_0x1130a6(0xa0)](),this[_0x1130a6(0x98)]({'attributes':{'class':[_0x1130a6(0xa6)],'aria-haspopup':!0x0,'aria-expanded':this[_0x1130a6(0xa4)]['to'](_0x1130a6(0x94),_0x408ada=>String(_0x408ada)),'data-cke-tooltip-disabled':_0x230914['to'](_0x1130a6(0x94))},'on':{'mouseenter':_0x230914['to'](_0x1130a6(0xa3))}});}[_0x242be8(0x90)](){const _0x5bbe64=_0x242be8;super[_0x5bbe64(0x90)](),this[_0x5bbe64(0xa1)][_0x5bbe64(0xa5)](this[_0x5bbe64(0x9e)]);}[_0x242be8(0xa0)](){const _0x2a2018=_0x242be8,_0x3f07a7=new _0x290e91();return _0x3f07a7[_0x2a2018(0x9f)]=_0x4004ea,_0x3f07a7[_0x2a2018(0x98)]({'attributes':{'class':_0x2a2018(0xa2)}}),_0x3f07a7;}}