@ckeditor/ckeditor5-ai 47.7.0 → 47.7.1
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.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x36035b=_0x5918;(function(_0x129a35,_0x2cc12a){const _0x2d2d59=_0x5918,_0x45b566=_0x129a35();while(!![]){try{const _0x214312=-parseInt(_0x2d2d59(0x83))/0x1*(-parseInt(_0x2d2d59(0x8c))/0x2)+-parseInt(_0x2d2d59(0x95))/0x3+parseInt(_0x2d2d59(0x87))/0x4+-parseInt(_0x2d2d59(0x8b))/0x5*(-parseInt(_0x2d2d59(0x94))/0x6)+-parseInt(_0x2d2d59(0x8a))/0x7*(parseInt(_0x2d2d59(0x8d))/0x8)+-parseInt(_0x2d2d59(0x96))/0x9+-parseInt(_0x2d2d59(0x84))/0xa;if(_0x214312===_0x2cc12a)break;else _0x45b566['push'](_0x45b566['shift']());}catch(_0x3151f3){_0x45b566['push'](_0x45b566['shift']());}}}(_0x331e,0x2215b));function _0x5918(_0x1fc7b2,_0x2566ba){const _0x331e6a=_0x331e();return _0x5918=function(_0x591869,_0x59db41){_0x591869=_0x591869-0x80;let _0x49d0a4=_0x331e6a[_0x591869];return _0x49d0a4;},_0x5918(_0x1fc7b2,_0x2566ba);}import{Plugin as _0x2174c6}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x8af47}from'./aiquickactionscommand.js';function _0x331e(){const _0x56d480=['aiQuickAction','directChange','plugins','1066CVtdjr','1356280MQiSOu','document','selection','126028VKEvVA','isOfficialPlugin','commands','77aGwZkR','1120635WaVJgN','510GdAuxd','59096rGxLyf','AIChat','pluginName','editor','has','add','isPremiumPlugin','6VJyIIb','500364aCBlFv','37620hzlDZL','init','removeSelectionFromChatContext','change:range','get','model','AIQuickActionsEditing'];_0x331e=function(){return _0x56d480;};return _0x331e();}export class AIQuickActionsEditing extends _0x2174c6{static get[_0x36035b(0x8f)](){const _0x4c10cd=_0x36035b;return _0x4c10cd(0x9c);}static get[_0x36035b(0x88)](){return!0x0;}static get[_0x36035b(0x93)](){return!0x0;}[_0x36035b(0x97)](){const _0x1e7cb5=_0x36035b,_0x352083=this[_0x1e7cb5(0x90)],_0xf34d43=new _0x8af47(this[_0x1e7cb5(0x90)]);if(_0x352083[_0x1e7cb5(0x89)][_0x1e7cb5(0x92)](_0x1e7cb5(0x80),_0xf34d43),_0x352083[_0x1e7cb5(0x82)][_0x1e7cb5(0x91)](_0x1e7cb5(0x8e))){const _0x51a270=this[_0x1e7cb5(0x90)][_0x1e7cb5(0x82)][_0x1e7cb5(0x9a)](_0x1e7cb5(0x8e));_0x352083[_0x1e7cb5(0x9b)][_0x1e7cb5(0x85)][_0x1e7cb5(0x86)]['on'](_0x1e7cb5(0x99),(_0x4b102c,_0x16f075)=>{const _0x1eb08e=_0x1e7cb5;_0x16f075[_0x1eb08e(0x81)]&&_0x51a270[_0x1eb08e(0x98)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2f8244=_0x2753;(function(_0x34ac6a,_0x531ea7){const _0x18fbde=_0x2753,_0x3cb553=_0x34ac6a();while(!![]){try{const _0x597409=parseInt(_0x18fbde(0xe5))/0x1*(parseInt(_0x18fbde(0xcd))/0x2)+parseInt(_0x18fbde(0xce))/0x3+parseInt(_0x18fbde(0xf5))/0x4+parseInt(_0x18fbde(0x7d))/0x5*(-parseInt(_0x18fbde(0x85))/0x6)+-parseInt(_0x18fbde(0xe1))/0x7+-parseInt(_0x18fbde(0xfd))/0x8*(-parseInt(_0x18fbde(0xb8))/0x9)+-parseInt(_0x18fbde(0xe3))/0xa;if(_0x597409===_0x531ea7)break;else _0x3cb553['push'](_0x3cb553['shift']());}catch(_0x8bea65){_0x3cb553['push'](_0x3cb553['shift']());}}}(_0x4939,0x54c43));import{IconAIAdjustLength as _0x4227d0,IconAIChangeTone as _0x5bd63d,IconAIChatCommands as _0x3d21a2,IconAIContinueWriting as _0x579459,IconAIGrammarCheck as _0xa729f7,IconAIImproveWriting as _0x3a4fe9,IconAIOther as _0xdb87f9,IconAIQuickActions as _0x145620,IconAITranslate as _0x11c5f9}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x3b5afa}from'ckeditor5/src/core.js';import{CKEditorError as _0x5cdb9c,logError as _0xb0009e}from'ckeditor5/src/utils.js';import{getTranslation as _0x23ef32}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x325740}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x1e8d85}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x16256e,BalloonToolbar as _0x5fca16,MenuBarMenuView as _0x169ce1,MenuBarMenuListView as _0x1e7b08,MenuBarMenuListItemView as _0x533a0b,MenuBarMenuListItemButtonView as _0x86d796}from'ckeditor5/src/ui.js';import{AIModels as _0x3cd3b2}from'../aicore/model/aimodels.js';import{AIConnector as _0x39140f}from'../aicore/aiconnector.js';function _0x4939(){const _0x536ece=['improve-writing','<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>','delegate','ai.quickActions.removeCommands','english','_getDefaultAndCustomActions','type','config','make-tone-friendly','forEach','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','view','get','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','summarize','menuitem','_quickActionsDefinition','spanish','includes','menuBar:aiQuickActions','translate-to-french','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_MORE_DIRECT','ai-quick-actions-unavailable-model','REVIEW','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','ACTION','uiLanguage','AI_QUICK_ACTIONS_HEADING','translate-to-chinese','portuguese','_initializeQuickActionsComponentsAndCommands','aiQuickAction','AI_QUICK_ACTIONS_SUMMARIZE','some','requires','locale','AI_QUICK_ACTIONS_CONTINUE_WRITING','plugins','chinese','make-tone-confident','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AIActions','<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>','japanese','getDefaultQuickActions','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AIChat','5856759rdUMTJ','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','editing','push','korean','AIReviewMode','map','find','menuBarView','children','translate-to-russian','AI_QUICK_ACTIONS_IMPROVE_WRITING','buttonView','ask-ai','init','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AI_QUICK_ACTIONS_MORE_CASUAL','message','german','translate','translate-to-korean','2uGLjZo','1371057fwzLiO','close','explain','label','aiQuickActions','make-tone-casual','make-tone-direct','focus','commands','AI_QUICK_ACTIONS_EXPLAIN','make-shorter','change-tone','isEnabled','chat-commands','replace','AI_QUICK_ACTIONS_OTHER','DisplayNames','translate-to-spanish','menu','3598007ffzagE','actions','3976800SzkrgW','ai-quick-actions-models-unable-to-retrieve','67171TtEtxR','_shouldIncludeAction','fix-grammar','translate-to-english','editor','adjust-length','AI_QUICK_ACTIONS_ADJUST_LENGTH','russian','attachToDom','add','AI_QUICK_ACTIONS_TRANSLATE','set','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','displayedPrompt','filter','1669660OYkSzU','AIQuickActionsUI','ai.quickActions.extraCommands','values','_initializeQuickActionsMenuBar','CHAT','AI_QUICK_ACTIONS_MAKE_LONGER','pluginName','8yuiSuO','isPremiumPlugin','french','ai.chat.context.document.enabled','ai.quickActions.isSearchEnabled','getAll','_prepareQuickActionsDefinition','italian','AIConnector','panelView','AI_QUICK_ACTIONS_ASK_AI','icon','isOfficialPlugin','AI_QUICK_ACTIONS_MAKE_SHORTER','translate-to-italian','componentFactory','length','_initializeQuickActionsComponents','translate-to-german','other','_initializeQuickActionsDropdown','has','make-tone-professional','AI_QUICK_ACTIONS_MORE_CONFIDENT','continue','translate-to-japanese','highlight-key-points','AI_QUICK_ACTIONS_CHAT_COMMANDS','make-longer','AI_QUICK_ACTIONS_MORE_FRIENDLY','_executeQuickAction','items','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','12260KNUYxL','translate-to-portuguese','English','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AI_QUICK_ACTIONS_CHANGE_TONE','language','execute','model','816FIYDcn','<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>'];_0x4939=function(){return _0x536ece;};return _0x4939();}import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x2f8244(0x88),ie=_0x2f8244(0xb3),ne=_0x2f8244(0x86);function _0x2753(_0x1de8c9,_0x3afdf7){const _0x49398b=_0x4939();return _0x2753=function(_0x27535d,_0x380cbf){_0x27535d=_0x27535d-0x69;let _0xd1a751=_0x49398b[_0x27535d];return _0xd1a751;},_0x2753(_0x1de8c9,_0x3afdf7);}export var AIQuickActionType;!function(_0x1ddc5b){const _0x4b910e=_0x2f8244;_0x1ddc5b[_0x4b910e(0xfa)]=_0x4b910e(0xfa),_0x1ddc5b[_0x4b910e(0xa2)]=_0x4b910e(0xa2),_0x1ddc5b[_0x4b910e(0xa0)]=_0x4b910e(0xa0);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x41d9d2){const _0x15d61a=_0x2f8244;_0x41d9d2[_0x15d61a(0xfa)]=_0x15d61a(0xb7),_0x41d9d2[_0x15d61a(0xa2)]=_0x15d61a(0xb2),_0x41d9d2[_0x15d61a(0xa0)]=_0x15d61a(0xbd);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x3b5afa{static get[_0x2f8244(0xab)](){return[_0x5fca16,_0x39140f];}static get[_0x2f8244(0xfc)](){const _0x369aba=_0x2f8244;return _0x369aba(0xf6);}static get[_0x2f8244(0x109)](){return!0x0;}static get[_0x2f8244(0xfe)](){return!0x0;}async[_0x2f8244(0xc6)](){const _0x17dbf7=_0x2f8244,_0x1602e6=await this[_0x17dbf7(0x8c)]();this[_0x17dbf7(0x103)](_0x1602e6),this[_0x17dbf7(0xa7)]();}static[_0x2f8244(0xb5)](_0x3e2138){return function(_0x1af309){const _0x2f2151=_0x2753,_0x2ce379=new Intl[(_0x2f2151(0xde))](['en'],{'type':_0x2f2151(0x82)})['of'](_0x1af309[_0x2f2151(0xa3)]),_0x3fba7f=_0x2ce379||_0x2f2151(0x7f),_0x3e4da0=[{'id':_0x2f2151(0xc5),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x107)),'type':AIQuickActionType[_0x2f2151(0xfa)],'icon':_0x3d21a2},{'id':_0x2f2151(0xdb),'label':_0x23ef32(_0x1af309,_0x2f2151(0x77)),'icon':_0x3d21a2,'actions':[{'id':_0x2f2151(0xd0),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xd7)),'prompt':ee[_0x2f2151(0xdc)]('%0',_0x3fba7f),'type':AIQuickActionType[_0x2f2151(0xfa)]},{'id':_0x2f2151(0x96),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xa9)),'prompt':ie[_0x2f2151(0xdc)]('%0',_0x3fba7f),'type':AIQuickActionType[_0x2f2151(0xfa)]},{'id':_0x2f2151(0x76),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xb9)),'prompt':ne[_0x2f2151(0xdc)]('%0',_0x3fba7f),'type':AIQuickActionType[_0x2f2151(0xfa)]}]},{'id':_0x2f2151(0x87),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xc3)),'type':AIQuickActionType[_0x2f2151(0xa2)],'icon':_0x3a4fe9},{'id':_0x2f2151(0x74),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xad)),'type':AIQuickActionType[_0x2f2151(0xa2)],'icon':_0x579459},{'id':_0x2f2151(0xe7),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x80)),'type':AIQuickActionType[_0x2f2151(0xa2)],'icon':_0xa729f7},{'id':_0x2f2151(0xea),'label':_0x23ef32(_0x1af309,_0x2f2151(0xeb)),'icon':_0x4227d0,'actions':[{'id':_0x2f2151(0xd8),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x69)),'type':AIQuickActionType[_0x2f2151(0xa2)]},{'id':_0x2f2151(0x78),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xfb)),'type':AIQuickActionType[_0x2f2151(0xa2)]}]},{'id':_0x2f2151(0xd9),'label':_0x23ef32(_0x1af309,_0x2f2151(0x81)),'icon':_0x5bd63d,'actions':[{'id':_0x2f2151(0xd3),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xc8)),'type':AIQuickActionType[_0x2f2151(0xa2)]},{'id':_0x2f2151(0xd4),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x9e)),'type':AIQuickActionType[_0x2f2151(0xa2)]},{'id':_0x2f2151(0x8f),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x79)),'type':AIQuickActionType[_0x2f2151(0xa2)]},{'id':_0x2f2151(0xb0),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x73)),'type':AIQuickActionType[_0x2f2151(0xa2)]},{'id':_0x2f2151(0x72),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x9d)),'type':AIQuickActionType[_0x2f2151(0xa2)]}]},{'id':_0x2f2151(0xcb),'label':_0x23ef32(_0x1af309,_0x2f2151(0xef)),'icon':_0x11c5f9,'actions':[{'id':_0x2f2151(0xe8),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x91)),'type':AIQuickActionType[_0x2f2151(0xa2)],'actionName':_0x2f2151(0xcb),'args':{'language':_0x2f2151(0x8b)}},{'id':_0x2f2151(0xa5),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xa1)),'type':AIQuickActionType[_0x2f2151(0xa2)],'actionName':_0x2f2151(0xcb),'args':{'language':_0x2f2151(0xaf)}},{'id':_0x2f2151(0xdf),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x95)),'type':AIQuickActionType[_0x2f2151(0xa2)],'actionName':_0x2f2151(0xcb),'args':{'language':_0x2f2151(0x99)}},{'id':_0x2f2151(0x6e),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xc7)),'type':AIQuickActionType[_0x2f2151(0xa2)],'actionName':_0x2f2151(0xcb),'args':{'language':_0x2f2151(0xca)}},{'id':_0x2f2151(0x9c),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xf2)),'type':AIQuickActionType[_0x2f2151(0xa2)],'actionName':_0x2f2151(0xcb),'args':{'language':_0x2f2151(0xff)}},{'id':_0x2f2151(0x75),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xf1)),'type':AIQuickActionType[_0x2f2151(0xa2)],'actionName':_0x2f2151(0xcb),'args':{'language':_0x2f2151(0xb4)}},{'id':_0x2f2151(0x7e),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x92)),'type':AIQuickActionType[_0x2f2151(0xa2)],'actionName':_0x2f2151(0xcb),'args':{'language':_0x2f2151(0xa6)}},{'id':_0x2f2151(0xcc),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0x7c)),'type':AIQuickActionType[_0x2f2151(0xa2)],'actionName':_0x2f2151(0xcb),'args':{'language':_0x2f2151(0xbc)}},{'id':_0x2f2151(0x6a),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xb6)),'type':AIQuickActionType[_0x2f2151(0xa2)],'actionName':_0x2f2151(0xcb),'args':{'language':_0x2f2151(0x104)}},{'id':_0x2f2151(0xc2),'displayedPrompt':_0x23ef32(_0x1af309,_0x2f2151(0xb1)),'type':AIQuickActionType[_0x2f2151(0xa2)],'actionName':_0x2f2151(0xcb),'args':{'language':_0x2f2151(0xec)}}]},{'id':_0x2f2151(0x6f),'label':_0x23ef32(_0x1af309,_0x2f2151(0xdd)),'icon':_0xdb87f9,'actions':[]}];return _0x3e4da0;}(_0x3e2138);}async[_0x2f8244(0x8c)](){const _0x512487=_0x2f8244,_0x32d57b=AIQuickActionsUI[_0x512487(0xb5)](this[_0x512487(0xe9)][_0x512487(0xac)]),_0x29d534=this[_0x512487(0xe9)][_0x512487(0x8e)][_0x512487(0x94)](_0x512487(0xf7))||[];let _0x278205=[];try{_0x278205=await new _0x3cd3b2({'connector':this[_0x512487(0xe9)][_0x512487(0xae)][_0x512487(0x94)](_0x512487(0x105)),'locale':this[_0x512487(0xe9)][_0x512487(0xac)]})[_0x512487(0x102)]();}catch(_0x1e61c6){const _0x2ca988=new _0x5cdb9c(_0x512487(0xe4),this,{'error':_0x1e61c6});_0xb0009e(_0x2ca988[_0x512487(0xc9)]);}finally{const _0x2064e0=_0x29d534[_0x512487(0xbe)](_0x139850=>({..._0x139850,'icon':void 0x0}));_0x32d57b[_0x512487(0xbf)](_0x15b5f6=>_0x512487(0x6f)===_0x15b5f6['id'])[_0x512487(0xe2)][_0x512487(0xbb)](..._0x2064e0),_0x32d57b[_0x512487(0x90)](_0x1d88d1=>{const _0x913364=_0x512487;if(_0x913364(0xe2)in _0x1d88d1)_0x1d88d1[_0x913364(0xe2)][_0x913364(0x90)](_0x169f0e=>{const _0xbd2f=_0x913364;if(_0x169f0e[_0xbd2f(0xda)]=!!_0x278205[_0xbd2f(0xbf)](_0x29160a=>_0x29160a['id']===_0x169f0e[_0xbd2f(0x84)])||void 0x0===_0x169f0e[_0xbd2f(0x84)],!_0x169f0e[_0xbd2f(0xda)]){const _0x440cb8=new _0x5cdb9c(_0xbd2f(0x9f),this,{'actionId':_0x169f0e['id'],'modelId':_0x169f0e[_0xbd2f(0x84)]});_0xb0009e(_0x440cb8[_0xbd2f(0xc9)]);}});else{if(_0x1d88d1[_0x913364(0xda)]=!!_0x278205[_0x913364(0xbf)](_0x40fd1=>_0x40fd1['id']===_0x1d88d1[_0x913364(0x84)])||void 0x0===_0x1d88d1[_0x913364(0x84)],!_0x1d88d1[_0x913364(0xda)]){const _0x448983=new _0x5cdb9c(_0x913364(0x9f),this,{'actionId':_0x1d88d1['id'],'modelId':_0x1d88d1[_0x913364(0x84)]});_0xb0009e(_0x448983[_0x913364(0xc9)]);}}});}return _0x32d57b;}[_0x2f8244(0xa7)](){const _0x25d9ef=_0x2f8244,_0x1cfeb9=new _0x16256e(this[_0x25d9ef(0xe9)][_0x25d9ef(0xac)]);_0x1cfeb9[_0x25d9ef(0xed)](),this[_0x25d9ef(0x70)](_0x1cfeb9),this[_0x25d9ef(0xf9)](),this[_0x25d9ef(0x6d)](_0x1cfeb9);}[_0x2f8244(0x70)](_0xc9705c){const _0x2cef3b=_0x2f8244,_0x2a1aaf=this[_0x2cef3b(0xe9)][_0x2cef3b(0x8e)][_0x2cef3b(0x94)](_0x2cef3b(0x101))??!0x0;this[_0x2cef3b(0xe9)]['ui'][_0x2cef3b(0x6b)][_0x2cef3b(0xee)](_0x2cef3b(0xd2),_0x325740({'editor':this[_0x2cef3b(0xe9)],'content':this[_0x2cef3b(0x98)],'buttonDefinition':{'icon':_0x145620,'label':_0x23ef32(this[_0x2cef3b(0xe9)][_0x2cef3b(0xac)],_0x2cef3b(0xa4))},'bodyCollection':_0xc9705c,'hasSearch':_0x2a1aaf}));}[_0x2f8244(0x103)](_0x134bc6){const _0x4ddf43=_0x2f8244;this[_0x4ddf43(0x98)]=_0x134bc6[_0x4ddf43(0xbe)](_0x4540d9=>{const _0x288666=_0x4ddf43;if(_0x288666(0xe2)in _0x4540d9){const _0x6fc2bb=_0x4540d9;return{..._0x6fc2bb,'actions':_0x6fc2bb[_0x288666(0xe2)][_0x288666(0xbe)](_0x4e8f70=>{const {actions:_0x12d93f,..._0x266482}=_0x6fc2bb;return{..._0x4e8f70,'parent':_0x266482};})[_0x288666(0xf4)](_0x4914fe=>this[_0x288666(0xe6)](_0x4914fe))};}return _0x4540d9;})[_0x4ddf43(0xf4)](_0x1b1d5c=>_0x4ddf43(0xe2)in _0x1b1d5c?_0x1b1d5c[_0x4ddf43(0xe2)][_0x4ddf43(0x6c)]>0x0:this[_0x4ddf43(0xe6)](_0x1b1d5c));}[_0x2f8244(0xe6)](_0x2eca15){const _0x15a722=_0x2f8244,_0x59dbee=this[_0x15a722(0xe9)][_0x15a722(0x8e)][_0x15a722(0x94)](_0x15a722(0x8a))||[];return this[_0x15a722(0xe9)][_0x15a722(0xae)][_0x15a722(0x71)](AIQuickActionTypeToPluginName[_0x2eca15[_0x15a722(0x8d)]])&&!_0x59dbee[_0x15a722(0x9a)](_0x2eca15['id'])&&!(_0x2eca15[_0x15a722(0x8d)]===AIQuickActionType[_0x15a722(0xfa)]&&!0x1===this[_0x15a722(0xe9)][_0x15a722(0x8e)][_0x15a722(0x94)](_0x15a722(0x100)));}[_0x2f8244(0x6d)](_0xa637ca){const _0x276df7=_0x2f8244;this[_0x276df7(0x98)][_0x276df7(0x90)](_0x3f2f0a=>{const _0x133446=_0x276df7;if(_0x133446(0xe2)in _0x3f2f0a){const _0x1330e3=_0x325740({'editor':this[_0x133446(0xe9)],'content':_0x3f2f0a[_0x133446(0xe2)],'buttonDefinition':_0x3f2f0a,'bodyCollection':_0xa637ca});this[_0x133446(0xe9)]['ui'][_0x133446(0x6b)][_0x133446(0xee)](_0x3f2f0a['id'],_0x1330e3),_0x3f2f0a[_0x133446(0xe2)][_0x133446(0x90)](_0x1213b5=>{const _0x152faa=_0x133446,_0x31a124=_0x1e8d85({'editor':this[_0x152faa(0xe9)],'action':_0x1213b5});this[_0x152faa(0xe9)]['ui'][_0x152faa(0x6b)][_0x152faa(0xee)](_0x1213b5['id'],_0x31a124);});}else{const _0x4cc274=_0x1e8d85({'editor':this[_0x133446(0xe9)],'action':_0x3f2f0a,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x133446(0xe9)]['ui'][_0x133446(0x6b)][_0x133446(0xee)](_0x3f2f0a['id'],_0x4cc274);}});}[_0x2f8244(0xf9)](){const _0x58bcee=_0x2f8244;this[_0x58bcee(0xe9)]['ui'][_0x58bcee(0x6b)][_0x58bcee(0xee)](_0x58bcee(0x9b),_0xbaa5c=>{const _0x4da826=_0x58bcee,_0x4319ee=new _0x169ce1(_0xbaa5c),_0xb17ea=_0x23ef32(_0xbaa5c,_0x4da826(0xa4));_0x4319ee[_0x4da826(0xc4)][_0x4da826(0xf0)]({'label':_0xb17ea,'icon':_0x145620});const _0x1b7d71=new _0x1e7b08(_0xbaa5c);_0x1b7d71[_0x4da826(0xf0)]({'ariaLabel':_0xb17ea,'role':_0x4da826(0xe0)}),this[_0x4da826(0x98)][_0x4da826(0x90)](_0x102518=>{const _0x14f508=_0x4da826;if(_0x14f508(0xe2)in _0x102518){const _0x9b460c=_0x102518,_0x342624=new _0x533a0b(_0xbaa5c,_0x4319ee),_0x1ff791=new _0x169ce1(_0xbaa5c),_0x46419e=new _0x1e7b08(_0xbaa5c);_0x1ff791[_0x14f508(0xc4)][_0x14f508(0xf0)]({'label':_0x9b460c[_0x14f508(0xd1)],'icon':_0x9b460c[_0x14f508(0x108)]}),_0x9b460c[_0x14f508(0xe2)][_0x14f508(0x90)](_0x4e9918=>{const _0xe238ee=_0x14f508,_0xda9677=new _0x533a0b(_0xbaa5c,_0x1ff791),_0x3d2249=new _0x86d796(_0xbaa5c);_0x3d2249[_0xe238ee(0xf0)]({'label':_0x4e9918[_0xe238ee(0xf3)],'icon':_0x4e9918[_0xe238ee(0x108)],'role':_0xe238ee(0x97),'isEnabled':_0x4e9918[_0xe238ee(0xda)]}),_0x3d2249['on'](_0xe238ee(0x83),()=>{const _0x46569b=_0xe238ee;this[_0x46569b(0x7a)](_0x4e9918);}),_0x3d2249[_0xe238ee(0x89)](_0xe238ee(0x83))['to'](_0x1ff791),_0xda9677[_0xe238ee(0xc1)][_0xe238ee(0xee)](_0x3d2249),_0x46419e[_0xe238ee(0x7b)][_0xe238ee(0xee)](_0xda9677);}),_0x1ff791[_0x14f508(0x106)][_0x14f508(0xc1)][_0x14f508(0xee)](_0x46419e),_0x342624[_0x14f508(0xc1)][_0x14f508(0xee)](_0x1ff791),_0x1b7d71[_0x14f508(0x7b)][_0x14f508(0xee)](_0x342624);}else{const _0x883287=_0x102518,_0x46023b=new _0x533a0b(_0xbaa5c,_0x4319ee),_0x422e39=new _0x86d796(_0xbaa5c);_0x422e39[_0x14f508(0xf0)]({'label':_0x883287[_0x14f508(0xf3)],'icon':_0x883287[_0x14f508(0x108)],'role':_0x14f508(0x97),'isEnabled':_0x883287[_0x14f508(0xda)]}),_0x422e39['on'](_0x14f508(0x83),()=>{const _0xcb0298=_0x14f508;this[_0xcb0298(0x7a)](_0x883287);}),_0x422e39[_0x14f508(0x89)](_0x14f508(0x83))['to'](_0x4319ee),_0x46023b[_0x14f508(0xc1)][_0x14f508(0xee)](_0x422e39),_0x1b7d71[_0x14f508(0x7b)][_0x14f508(0xee)](_0x46023b);}});const _0x6bf822=Object[_0x4da826(0xf8)](AIQuickActionTypeToPluginName)[_0x4da826(0xaa)](_0x255b06=>this[_0x4da826(0xe9)][_0x4da826(0xae)][_0x4da826(0x71)](_0x255b06));return _0x4319ee[_0x4da826(0xf0)]({'isEnabled':_0x6bf822}),_0x4319ee[_0x4da826(0x106)][_0x4da826(0xc1)][_0x4da826(0xee)](_0x1b7d71),_0x4319ee;});}[_0x2f8244(0x7a)](_0x23c33e){const _0x27cf5a=_0x2f8244,_0x1671dd=this[_0x27cf5a(0xe9)];_0x1671dd[_0x27cf5a(0xba)][_0x27cf5a(0x93)][_0x27cf5a(0xd5)](),_0x1671dd[_0x27cf5a(0xd6)][_0x27cf5a(0x83)](_0x27cf5a(0xa8),_0x23c33e);const _0x37697f=_0x1671dd['ui'][_0x27cf5a(0x93)][_0x27cf5a(0xc0)];_0x37697f&&_0x37697f[_0x27cf5a(0xcf)]&&_0x37697f[_0x27cf5a(0xcf)]();}}
|
|
23
|
+
const _0xecefba=_0x3c13;(function(_0x286190,_0x1389c9){const _0x4789e3=_0x3c13,_0x4d977b=_0x286190();while(!![]){try{const _0x18f736=parseInt(_0x4789e3(0xe1))/0x1+parseInt(_0x4789e3(0xba))/0x2+-parseInt(_0x4789e3(0x112))/0x3*(parseInt(_0x4789e3(0x99))/0x4)+-parseInt(_0x4789e3(0xa5))/0x5+-parseInt(_0x4789e3(0xc3))/0x6*(parseInt(_0x4789e3(0x101))/0x7)+-parseInt(_0x4789e3(0x95))/0x8*(parseInt(_0x4789e3(0xd6))/0x9)+-parseInt(_0x4789e3(0x104))/0xa*(-parseInt(_0x4789e3(0xd8))/0xb);if(_0x18f736===_0x1389c9)break;else _0x4d977b['push'](_0x4d977b['shift']());}catch(_0x5eec21){_0x4d977b['push'](_0x4d977b['shift']());}}}(_0x284b,0xe26be));import{IconAIAdjustLength as _0x68ccf,IconAIChangeTone as _0x57876d,IconAIChatCommands as _0x1375e4,IconAIContinueWriting as _0x35a675,IconAIGrammarCheck as _0x5afde5,IconAIImproveWriting as _0x223b32,IconAIOther as _0x5a3c6d,IconAIQuickActions as _0x5bca1b,IconAITranslate as _0x523434}from'@ckeditor/ckeditor5-icons';import{Plugin as _0xc6c7d}from'ckeditor5/src/core.js';import{CKEditorError as _0x5effee,logError as _0x4809a2}from'ckeditor5/src/utils.js';import{getTranslation as _0x497050}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x24b69d}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x2f799d}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x4f3aa5,BalloonToolbar as _0x18bdd7,MenuBarMenuView as _0xb704cf,MenuBarMenuListView as _0x5ae8ab,MenuBarMenuListItemView as _0x30b9f1,MenuBarMenuListItemButtonView as _0x38ee9f}from'ckeditor5/src/ui.js';function _0x3c13(_0x56db22,_0x37b99d){const _0x284bf6=_0x284b();return _0x3c13=function(_0x3c13b0,_0x3b309b){_0x3c13b0=_0x3c13b0-0x86;let _0x49644d=_0x284bf6[_0x3c13b0];return _0x49644d;},_0x3c13(_0x56db22,_0x37b99d);}import{AIModels as _0x1c6f9d}from'../aicore/model/aimodels.js';import{AIConnector as _0xef3921}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0xecefba(0xf2),ie=_0xecefba(0xac),ne=_0xecefba(0xda);export var AIQuickActionType;!function(_0x159e59){const _0x2bacde=_0xecefba;_0x159e59[_0x2bacde(0x96)]=_0x2bacde(0x96),_0x159e59[_0x2bacde(0xef)]=_0x2bacde(0xef),_0x159e59[_0x2bacde(0x114)]=_0x2bacde(0x114);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x474a59){const _0x2e4ec0=_0xecefba;_0x474a59[_0x2e4ec0(0x96)]=_0x2e4ec0(0x10f),_0x474a59[_0x2e4ec0(0xef)]=_0x2e4ec0(0xe7),_0x474a59[_0x2e4ec0(0x114)]=_0x2e4ec0(0xc5);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0xc6c7d{static get[_0xecefba(0x9d)](){return[_0x18bdd7,_0xef3921];}static get[_0xecefba(0xdb)](){const _0x41cacb=_0xecefba;return _0x41cacb(0xc6);}static get[_0xecefba(0xf1)](){return!0x0;}static get[_0xecefba(0xb3)](){return!0x0;}async[_0xecefba(0xe4)](){const _0x140806=_0xecefba,_0x4ab27c=await this[_0x140806(0xe3)]();this[_0x140806(0xfc)](_0x4ab27c),this[_0x140806(0xa7)]();}static[_0xecefba(0x10d)](_0x5ab2a1){return function(_0x1c5f7c){const _0x28679f=_0x3c13,_0x349b06=new Intl[(_0x28679f(0xa8))](['en'],{'type':_0x28679f(0xa1)})['of'](_0x1c5f7c[_0x28679f(0x121)]),_0x2b6f6b=_0x349b06||_0x28679f(0xa2),_0x2fa0a5=[{'id':_0x28679f(0xbc),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xd1)),'type':AIQuickActionType[_0x28679f(0x96)],'icon':_0x1375e4},{'id':_0x28679f(0x125),'label':_0x497050(_0x1c5f7c,_0x28679f(0xd7)),'icon':_0x1375e4,'actions':[{'id':_0x28679f(0xe0),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x124)),'prompt':ee[_0x28679f(0x8f)]('%0',_0x2b6f6b),'type':AIQuickActionType[_0x28679f(0x96)]},{'id':_0x28679f(0x115),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x126)),'prompt':ie[_0x28679f(0x8f)]('%0',_0x2b6f6b),'type':AIQuickActionType[_0x28679f(0x96)]},{'id':_0x28679f(0xcf),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xb0)),'prompt':ne[_0x28679f(0x8f)]('%0',_0x2b6f6b),'type':AIQuickActionType[_0x28679f(0x96)]}]},{'id':_0x28679f(0xbb),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x97)),'type':AIQuickActionType[_0x28679f(0xef)],'icon':_0x223b32},{'id':_0x28679f(0x117),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x9a)),'type':AIQuickActionType[_0x28679f(0xef)],'icon':_0x35a675},{'id':_0x28679f(0xab),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x120)),'type':AIQuickActionType[_0x28679f(0xef)],'icon':_0x5afde5},{'id':_0x28679f(0x11c),'label':_0x497050(_0x1c5f7c,_0x28679f(0xbe)),'icon':_0x68ccf,'actions':[{'id':_0x28679f(0x119),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xb2)),'type':AIQuickActionType[_0x28679f(0xef)]},{'id':_0x28679f(0x105),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xdd)),'type':AIQuickActionType[_0x28679f(0xef)]}]},{'id':_0x28679f(0xae),'label':_0x497050(_0x1c5f7c,_0x28679f(0xd3)),'icon':_0x57876d,'actions':[{'id':_0x28679f(0xd2),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x109)),'type':AIQuickActionType[_0x28679f(0xef)]},{'id':_0x28679f(0x116),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xb7)),'type':AIQuickActionType[_0x28679f(0xef)]},{'id':_0x28679f(0x10e),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xa6)),'type':AIQuickActionType[_0x28679f(0xef)]},{'id':_0x28679f(0xcc),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x11f)),'type':AIQuickActionType[_0x28679f(0xef)]},{'id':_0x28679f(0x11a),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xed)),'type':AIQuickActionType[_0x28679f(0xef)]}]},{'id':_0x28679f(0xb4),'label':_0x497050(_0x1c5f7c,_0x28679f(0xc0)),'icon':_0x523434,'actions':[{'id':_0x28679f(0xde),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x9f)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0x8c)}},{'id':_0x28679f(0xdf),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x102)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0xb5)}},{'id':_0x28679f(0x91),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x90)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0xfb)}},{'id':_0x28679f(0xff),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xc2)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0xf9)}},{'id':_0x28679f(0xe8),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x87)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0xe9)}},{'id':_0x28679f(0x94),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xf7)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0x8e)}},{'id':_0x28679f(0xea),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x106)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0x98)}},{'id':_0x28679f(0x107),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x11d)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0x10b)}},{'id':_0x28679f(0x122),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xad)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0x103)}},{'id':_0x28679f(0xa0),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xe5)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0xee)}}]},{'id':_0x28679f(0xaa),'label':_0x497050(_0x1c5f7c,_0x28679f(0xf3)),'icon':_0x5a3c6d,'actions':[]}];return _0x2fa0a5;}(_0x5ab2a1);}async[_0xecefba(0xe3)](){const _0x22c7cf=_0xecefba,_0x403636=AIQuickActionsUI[_0x22c7cf(0x10d)](this[_0x22c7cf(0xfe)][_0x22c7cf(0xb9)]),_0x1c1178=this[_0x22c7cf(0xfe)][_0x22c7cf(0xfd)][_0x22c7cf(0x8b)](_0x22c7cf(0x9c))||[];let _0x5bf431=[];try{_0x5bf431=await new _0x1c6f9d({'connector':this[_0x22c7cf(0xfe)][_0x22c7cf(0x8a)][_0x22c7cf(0x8b)](_0x22c7cf(0xcd)),'locale':this[_0x22c7cf(0xfe)][_0x22c7cf(0xb9)]})[_0x22c7cf(0x123)]();}catch(_0x57ecd2){const _0x42c00e=new _0x5effee(_0x22c7cf(0xdc),this,{'error':_0x57ecd2});_0x4809a2(_0x42c00e[_0x22c7cf(0xc7)]);}finally{const _0x20f690=_0x1c1178[_0x22c7cf(0xb6)](_0xe43a86=>({..._0xe43a86,'icon':void 0x0}));_0x403636[_0x22c7cf(0xfa)](_0x501028=>_0x22c7cf(0xaa)===_0x501028['id'])[_0x22c7cf(0xca)][_0x22c7cf(0xce)](..._0x20f690),_0x403636[_0x22c7cf(0x127)](_0x5f0ca9=>{const _0x4e0be0=_0x22c7cf;if(_0x4e0be0(0xca)in _0x5f0ca9)_0x5f0ca9[_0x4e0be0(0xca)][_0x4e0be0(0x127)](_0x59ba74=>{const _0x2ae851=_0x4e0be0;if(_0x59ba74[_0x2ae851(0xa9)]=!!_0x5bf431[_0x2ae851(0xfa)](_0x88ba35=>_0x88ba35['id']===_0x59ba74[_0x2ae851(0xd0)])||void 0x0===_0x59ba74[_0x2ae851(0xd0)],!_0x59ba74[_0x2ae851(0xa9)]){const _0x429422=new _0x5effee(_0x2ae851(0x93),this,{'actionId':_0x59ba74['id'],'modelId':_0x59ba74[_0x2ae851(0xd0)]});_0x4809a2(_0x429422[_0x2ae851(0xc7)]);}});else{if(_0x5f0ca9[_0x4e0be0(0xa9)]=!!_0x5bf431[_0x4e0be0(0xfa)](_0x2fef5a=>_0x2fef5a['id']===_0x5f0ca9[_0x4e0be0(0xd0)])||void 0x0===_0x5f0ca9[_0x4e0be0(0xd0)],!_0x5f0ca9[_0x4e0be0(0xa9)]){const _0x502701=new _0x5effee(_0x4e0be0(0x93),this,{'actionId':_0x5f0ca9['id'],'modelId':_0x5f0ca9[_0x4e0be0(0xd0)]});_0x4809a2(_0x502701[_0x4e0be0(0xc7)]);}}});}return _0x403636;}[_0xecefba(0xa7)](){const _0x39be17=_0xecefba,_0x2984c2=new _0x4f3aa5(this[_0x39be17(0xfe)][_0x39be17(0xb9)]);_0x2984c2[_0x39be17(0x11b)](),this[_0x39be17(0xf5)](_0x2984c2),this[_0x39be17(0xc8)](),this[_0x39be17(0xf0)](_0x2984c2);}[_0xecefba(0xf5)](_0x16018c){const _0x4cca6e=_0xecefba,_0x5953df=this[_0x4cca6e(0xfe)][_0x4cca6e(0xfd)][_0x4cca6e(0x8b)](_0x4cca6e(0x100))??!0x0;this[_0x4cca6e(0xfe)]['ui'][_0x4cca6e(0x92)][_0x4cca6e(0xb1)](_0x4cca6e(0x10c),_0x24b69d({'editor':this[_0x4cca6e(0xfe)],'content':this[_0x4cca6e(0x113)],'buttonDefinition':{'icon':_0x5bca1b,'label':_0x497050(this[_0x4cca6e(0xfe)][_0x4cca6e(0xb9)],_0x4cca6e(0x9b))},'bodyCollection':_0x16018c,'hasSearch':_0x5953df}));}[_0xecefba(0xfc)](_0x188114){const _0x1c240c=_0xecefba;this[_0x1c240c(0x113)]=_0x188114[_0x1c240c(0xb6)](_0x3a2858=>{const _0x158df0=_0x1c240c;if(_0x158df0(0xca)in _0x3a2858){const _0x12362a=_0x3a2858;return{..._0x12362a,'actions':_0x12362a[_0x158df0(0xca)][_0x158df0(0xb6)](_0x20c372=>{const {actions:_0x4d346b,..._0x5c3151}=_0x12362a;return{..._0x20c372,'parent':_0x5c3151};})[_0x158df0(0xbd)](_0x1a332e=>this[_0x158df0(0x11e)](_0x1a332e))};}return _0x3a2858;})[_0x1c240c(0xbd)](_0x3cce85=>_0x1c240c(0xca)in _0x3cce85?_0x3cce85[_0x1c240c(0xca)][_0x1c240c(0xb8)]>0x0:this[_0x1c240c(0x11e)](_0x3cce85));}[_0xecefba(0x11e)](_0x3ef928){const _0x148779=_0xecefba,_0x5c5dae=this[_0x148779(0xfe)][_0x148779(0xfd)][_0x148779(0x8b)](_0x148779(0x118))||[];return this[_0x148779(0xfe)][_0x148779(0x8a)][_0x148779(0xd5)](AIQuickActionTypeToPluginName[_0x3ef928[_0x148779(0xaf)]])&&!_0x5c5dae[_0x148779(0x89)](_0x3ef928['id'])&&!(_0x3ef928[_0x148779(0xaf)]===AIQuickActionType[_0x148779(0x96)]&&!0x1===this[_0x148779(0xfe)][_0x148779(0xfd)][_0x148779(0x8b)](_0x148779(0x9e)));}[_0xecefba(0xf0)](_0x26dde9){const _0xc3780=_0xecefba;this[_0xc3780(0x113)][_0xc3780(0x127)](_0x40127b=>{const _0x28613b=_0xc3780;if(_0x28613b(0xca)in _0x40127b){const _0xef4a04=_0x24b69d({'editor':this[_0x28613b(0xfe)],'content':_0x40127b[_0x28613b(0xca)],'buttonDefinition':_0x40127b,'bodyCollection':_0x26dde9});this[_0x28613b(0xfe)]['ui'][_0x28613b(0x92)][_0x28613b(0xb1)](_0x40127b['id'],_0xef4a04),_0x40127b[_0x28613b(0xca)][_0x28613b(0x127)](_0x5be72a=>{const _0x4f003d=_0x28613b,_0x71b46=_0x2f799d({'editor':this[_0x4f003d(0xfe)],'action':_0x5be72a});this[_0x4f003d(0xfe)]['ui'][_0x4f003d(0x92)][_0x4f003d(0xb1)](_0x5be72a['id'],_0x71b46);});}else{const _0x435bd8=_0x2f799d({'editor':this[_0x28613b(0xfe)],'action':_0x40127b,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x28613b(0xfe)]['ui'][_0x28613b(0x92)][_0x28613b(0xb1)](_0x40127b['id'],_0x435bd8);}});}[_0xecefba(0xc8)](){const _0x104e28=_0xecefba;this[_0x104e28(0xfe)]['ui'][_0x104e28(0x92)][_0x104e28(0xb1)](_0x104e28(0xeb),_0x58483d=>{const _0x7c80fc=_0x104e28,_0x2b9139=new _0xb704cf(_0x58483d),_0x3b01a3=_0x497050(_0x58483d,_0x7c80fc(0x9b));_0x2b9139[_0x7c80fc(0x108)][_0x7c80fc(0x10a)]({'label':_0x3b01a3,'icon':_0x5bca1b});const _0x2c15df=new _0x5ae8ab(_0x58483d);_0x2c15df[_0x7c80fc(0x10a)]({'ariaLabel':_0x3b01a3,'role':_0x7c80fc(0x110)}),this[_0x7c80fc(0x113)][_0x7c80fc(0x127)](_0x5a4a3f=>{const _0x3de1f7=_0x7c80fc;if(_0x3de1f7(0xca)in _0x5a4a3f){const _0x18f5c6=_0x5a4a3f,_0x311d07=new _0x30b9f1(_0x58483d,_0x2b9139),_0x1f506a=new _0xb704cf(_0x58483d),_0x50815c=new _0x5ae8ab(_0x58483d);_0x1f506a[_0x3de1f7(0x108)][_0x3de1f7(0x10a)]({'label':_0x18f5c6[_0x3de1f7(0xe6)],'icon':_0x18f5c6[_0x3de1f7(0x88)]}),_0x18f5c6[_0x3de1f7(0xca)][_0x3de1f7(0x127)](_0x5ed170=>{const _0x2f02d1=_0x3de1f7,_0x41869f=new _0x30b9f1(_0x58483d,_0x1f506a),_0x236651=new _0x38ee9f(_0x58483d);_0x236651[_0x2f02d1(0x10a)]({'label':_0x5ed170[_0x2f02d1(0xf4)],'icon':_0x5ed170[_0x2f02d1(0x88)],'role':_0x2f02d1(0xa4),'isEnabled':_0x5ed170[_0x2f02d1(0xa9)]}),_0x236651['on'](_0x2f02d1(0xd4),()=>{const _0x43fced=_0x2f02d1;this[_0x43fced(0xd9)](_0x5ed170);}),_0x236651[_0x2f02d1(0xec)](_0x2f02d1(0xd4))['to'](_0x1f506a),_0x41869f[_0x2f02d1(0xc1)][_0x2f02d1(0xb1)](_0x236651),_0x50815c[_0x2f02d1(0xc4)][_0x2f02d1(0xb1)](_0x41869f);}),_0x1f506a[_0x3de1f7(0xe2)][_0x3de1f7(0xc1)][_0x3de1f7(0xb1)](_0x50815c),_0x311d07[_0x3de1f7(0xc1)][_0x3de1f7(0xb1)](_0x1f506a),_0x2c15df[_0x3de1f7(0xc4)][_0x3de1f7(0xb1)](_0x311d07);}else{const _0x1778ea=_0x5a4a3f,_0x2657f4=new _0x30b9f1(_0x58483d,_0x2b9139),_0x3717ec=new _0x38ee9f(_0x58483d);_0x3717ec[_0x3de1f7(0x10a)]({'label':_0x1778ea[_0x3de1f7(0xf4)],'icon':_0x1778ea[_0x3de1f7(0x88)],'role':_0x3de1f7(0xa4),'isEnabled':_0x1778ea[_0x3de1f7(0xa9)]}),_0x3717ec['on'](_0x3de1f7(0xd4),()=>{const _0x33b83b=_0x3de1f7;this[_0x33b83b(0xd9)](_0x1778ea);}),_0x3717ec[_0x3de1f7(0xec)](_0x3de1f7(0xd4))['to'](_0x2b9139),_0x2657f4[_0x3de1f7(0xc1)][_0x3de1f7(0xb1)](_0x3717ec),_0x2c15df[_0x3de1f7(0xc4)][_0x3de1f7(0xb1)](_0x2657f4);}});const _0x3a666e=Object[_0x7c80fc(0xc9)](AIQuickActionTypeToPluginName)[_0x7c80fc(0xf6)](_0x4a09d2=>this[_0x7c80fc(0xfe)][_0x7c80fc(0x8a)][_0x7c80fc(0xd5)](_0x4a09d2));return _0x2b9139[_0x7c80fc(0x10a)]({'isEnabled':_0x3a666e}),_0x2b9139[_0x7c80fc(0xe2)][_0x7c80fc(0xc1)][_0x7c80fc(0xb1)](_0x2c15df),_0x2b9139;});}[_0xecefba(0xd9)](_0x31dd8a){const _0x458fba=_0xecefba,_0x2a3953=this[_0x458fba(0xfe)];_0x2a3953[_0x458fba(0xbf)][_0x458fba(0x86)][_0x458fba(0x111)](),_0x2a3953[_0x458fba(0xf8)][_0x458fba(0xd4)](_0x458fba(0xa3),_0x31dd8a);const _0x16d449=_0x2a3953['ui'][_0x458fba(0x86)][_0x458fba(0xcb)];_0x16d449&&_0x16d449[_0x458fba(0x8d)]&&_0x16d449[_0x458fba(0x8d)]();}}function _0x284b(){const _0x5a84ae=['chinese','map','AI_QUICK_ACTIONS_MORE_DIRECT','length','locale','1089874PizWNg','improve-writing','ask-ai','filter','AI_QUICK_ACTIONS_ADJUST_LENGTH','editing','AI_QUICK_ACTIONS_TRANSLATE','children','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','679182kzLKEr','items','AIReviewMode','AIQuickActionsUI','message','_initializeQuickActionsMenuBar','values','actions','menuBarView','make-tone-confident','AIConnector','push','highlight-key-points','model','AI_QUICK_ACTIONS_ASK_AI','make-tone-casual','AI_QUICK_ACTIONS_CHANGE_TONE','execute','has','1575jSfojp','AI_QUICK_ACTIONS_CHAT_COMMANDS','3014bOoyMc','_executeQuickAction','<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>','pluginName','ai-quick-actions-models-unable-to-retrieve','AI_QUICK_ACTIONS_MAKE_LONGER','translate-to-english','translate-to-chinese','explain','315945AwoOOf','panelView','_getDefaultAndCustomActions','init','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','label','AIActions','translate-to-french','french','translate-to-portuguese','menuBar:aiQuickActions','delegate','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','russian','ACTION','_initializeQuickActionsComponents','isOfficialPlugin','<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>','AI_QUICK_ACTIONS_OTHER','displayedPrompt','_initializeQuickActionsDropdown','some','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','commands','german','find','spanish','_prepareQuickActionsDefinition','config','editor','translate-to-german','ai.quickActions.isSearchEnabled','49sdIMId','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','italian','88670AhwtSe','make-longer','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','translate-to-korean','buttonView','AI_QUICK_ACTIONS_MORE_CASUAL','set','korean','aiQuickActions','getDefaultQuickActions','make-tone-friendly','AIChat','menu','focus','3ETBSCs','_quickActionsDefinition','REVIEW','summarize','make-tone-direct','continue','ai.quickActions.removeCommands','make-shorter','make-tone-professional','attachToDom','adjust-length','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','_shouldIncludeAction','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','uiLanguage','translate-to-italian','getAll','AI_QUICK_ACTIONS_EXPLAIN','chat-commands','AI_QUICK_ACTIONS_SUMMARIZE','forEach','view','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','icon','includes','plugins','get','english','close','japanese','replace','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','translate-to-spanish','componentFactory','ai-quick-actions-unavailable-model','translate-to-japanese','32024HjcJGy','CHAT','AI_QUICK_ACTIONS_IMPROVE_WRITING','portuguese','1451896gxiign','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_HEADING','ai.quickActions.extraCommands','requires','ai.chat.context.document.enabled','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','translate-to-russian','language','English','aiQuickAction','menuitem','2535700KzuodG','AI_QUICK_ACTIONS_MORE_FRIENDLY','_initializeQuickActionsComponentsAndCommands','DisplayNames','isEnabled','other','fix-grammar','<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_TRANSLATE_ITALIAN','change-tone','type','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','add','AI_QUICK_ACTIONS_MAKE_SHORTER','isPremiumPlugin','translate'];_0x284b=function(){return _0x5a84ae;};return _0x284b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x544baa,_0x2d1ada){const _0x403663=_0xb89f,_0x28ef2d=_0x544baa();while(!![]){try{const _0x502aaf=-parseInt(_0x403663(0x1bd))/0x1+parseInt(_0x403663(0x1c5))/0x2*(parseInt(_0x403663(0x1bc))/0x3)+parseInt(_0x403663(0x1c3))/0x4*(-parseInt(_0x403663(0x1be))/0x5)+-parseInt(_0x403663(0x1c9))/0x6*(-parseInt(_0x403663(0x1c8))/0x7)+parseInt(_0x403663(0x1c0))/0x8+parseInt(_0x403663(0x1d3))/0x9+parseInt(_0x403663(0x1d2))/0xa;if(_0x502aaf===_0x2d1ada)break;else _0x28ef2d['push'](_0x28ef2d['shift']());}catch(_0x46e554){_0x28ef2d['push'](_0x28ef2d['shift']());}}}(_0x2431,0x8ff2e));function _0x2431(){const _0x20f661=['commands','focus','bindTemplate','menuitem','5994120BLHRLk','1482705MyOSjW','view','icon','28959mleQoz','1049153XaIFFg','7765QYTEZC','isEnabled','6231976qAwtXM','editing','ck-ai-quick-actions-button','1460WeqoQW','aiQuickAction','2lhMkZf','locale','set','35ROkWnf','783366RoRIOg','displayedPrompt','extendTemplate','execute','parent'];_0x2431=function(){return _0x20f661;};return _0x2431();}import{ButtonView as _0x3765c6}from'ckeditor5/src/ui.js';function _0xb89f(_0x3f5c85,_0x3df3c5){const _0x2431de=_0x2431();return _0xb89f=function(_0xb89f43,_0x1ecef0){_0xb89f43=_0xb89f43-0x1ba;let _0x3064ca=_0x2431de[_0xb89f43];return _0x3064ca;},_0xb89f(_0x3f5c85,_0x3df3c5);}import{IconAIQuickActions as _0x32ad2b}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x587d18){const {editor:_0xf3f86b,action:_0x2f55ed,withText:_0xfc8b6f=!0x1,withIcon:_0x2fc1a8=!0x0,isInDropdown:_0xc8bf60=!0x0,shouldPreventFocus:_0x11b743=!0x1}=_0x587d18;return()=>{const _0x53ba78=_0xb89f,_0x5c99f1=_0xf3f86b[_0x53ba78(0x1c6)],_0x299031=new _0x3765c6(_0x5c99f1),_0x40a117=_0x299031[_0x53ba78(0x1d0)];_0xc8bf60&&_0x299031[_0x53ba78(0x1cb)]({'on':{'mouseenter':_0x40a117['to'](()=>{const _0x38e000=_0x53ba78;_0x11b743&&_0x11b743()||_0x299031[_0x38e000(0x1cf)]();})}});const _0x365a03=_0x2f55ed[_0x53ba78(0x1bb)]??_0x2f55ed[_0x53ba78(0x1cd)]?.[_0x53ba78(0x1bb)];return _0x299031[_0x53ba78(0x1c7)]({'label':_0x2f55ed[_0x53ba78(0x1ca)],'withText':_0xfc8b6f,'role':_0x53ba78(0x1d1),'icon':_0x2fc1a8?_0x365a03??_0x32ad2b:void 0x0,'tooltip':!_0xfc8b6f,'class':_0x53ba78(0x1c2),'isEnabled':_0x2f55ed[_0x53ba78(0x1bf)]}),_0x299031['on'](_0x53ba78(0x1cc),()=>{const _0x1b37e9=_0x53ba78;_0xf3f86b[_0x1b37e9(0x1c1)][_0x1b37e9(0x1ba)][_0x1b37e9(0x1cf)](),_0xf3f86b[_0x1b37e9(0x1ce)][_0x1b37e9(0x1cc)](_0x1b37e9(0x1c4),_0x2f55ed);}),_0x299031;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3e1b1e=_0x554e;function _0x1064(){const _0x4e2510=['ck-reset_all','key','relatedTarget','content','_createListItems','icon','parent','5224410juagZr','_isSearchFocused','ck-ai-quick-actions-search','ck-ai-quick-actions-search-result__content','_getPanelKeystroke','_createActionButton','ck-dropdown-menu-list','keystrokes','render','ck-ai-quick-actions-group-button','ck-ai-quick-actions-group-list','isOn','ownerDocument','AI_QUICK_ACTIONS_SEARCH','88mjMxYi','140196bgxJAJ','role','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','ck-ai-quick-actions-search-result-button','bind','ck-ai-quick-actions-button_with-group__close-paren','forEach','_allSearchableItems','.ck-ai-quick-actions-group-button','_createSearchResultGroupRow','fire','242738FBVeNS','_handlePanelKeydown','optionsListView','hide','focusCycler','ck-ai-quick-actions-group-panel','commands','_createSearchResultActionRow','fieldView','closest','_isMovingToNestedMenu','35obfssz','ck-button','_focusables','85768nRcdOn','ArrowRight','_handleSearchResultButtonClick','delete','_setupGroupMenuBehavior','addEventListener','editing','bindTemplate','uiLanguageDirection','add','chain','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','_showNestedPanel','addMany','ck-ai-quick-actions','_hideAllNestedPanels','children','extendTemplate','isEnabled','_setupActionButtonExecution','focusTracker','_createActionGroupButton','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_createSearchResultActionButton','menu','div','span','push','_createGroupActionsList','setTemplate','set','_createSearchTextView','activeElement','ck-ai-quick-actions-search-result__group-row','queryView','ck-rounded-corners','pin','_createSearchResultIndividualActionButton','displayedPrompt','.ck-ai-quick-actions-group-panel','label','_createSearchResultGroupedActionButton','.ck-ai-quick-actions-group-list','1IiEbev','554013IzIUwI','_hasSearch','ck-ai-quick-actions-search-result__action-row','590742fNOxbh','view','actions','550704iDABTJ','_bodyCollection','_searchTextView','contains','element','_hideNestedPanel','_openNestedPanels','some','mouseleave','items','aiQuickAction','ck-ai-quick-actions-button_with-group__open-paren','get','menuitem','button','isVisible','rtl','first','destroy','ck-ai-quick-actions-button','detachFromDom','_createSearchResultContentView','resetSearch','ck-button_with-text','ck-dropdown-menu__nested-menu__panel','execute','ck-ai-quick-actions-search-result-button_with-group','eastSouth','text','ck-ai-quick-actions-button_with-group','ArrowLeft','_getButtonKeystroke','ck-ai-quick-actions-button__group-icon','show','focus','clear','reset','locale'];_0x1064=function(){return _0x4e2510;};return _0x1064();}(function(_0x13c8ec,_0x3be02e){const _0x125998=_0x554e,_0x365276=_0x13c8ec();while(!![]){try{const _0x2c3df3=-parseInt(_0x125998(0x259))/0x1*(-parseInt(_0x125998(0x21f))/0x2)+parseInt(_0x125998(0x260))/0x3+parseInt(_0x125998(0x22d))/0x4*(parseInt(_0x125998(0x22a))/0x5)+-parseInt(_0x125998(0x25d))/0x6+parseInt(_0x125998(0x214))/0x7*(parseInt(_0x125998(0x213))/0x8)+parseInt(_0x125998(0x25a))/0x9+-parseInt(_0x125998(0x205))/0xa;if(_0x2c3df3===_0x3be02e)break;else _0x365276['push'](_0x365276['shift']());}catch(_0x57e0b3){_0x365276['push'](_0x365276['shift']());}}}(_0x1064,0x1c51e));import{View as _0x2765df,ListItemView as _0x693c85,ListView as _0x388573,BalloonPanelView as _0x9353fd,DropdownMenuPanelPositioningFunctions as _0x4b2f5d,ViewCollection as _0x8230d0,FocusCycler as _0x26052d,ButtonView as _0x344abd,IconView as _0x474741,HighlightedTextView as _0x2b29ed,ButtonLabelWithHighlightView as _0x5d0161,SearchTextView as _0x35d5fa}from'ckeditor5/src/ui.js';function _0x554e(_0x5426d8,_0x49dc8c){const _0x106487=_0x1064();return _0x554e=function(_0x554eef,_0x28085e){_0x554eef=_0x554eef-0x1f1;let _0x10e277=_0x106487[_0x554eef];return _0x10e277;},_0x554e(_0x5426d8,_0x49dc8c);}import{IconAIQuickActions as _0x4a2182}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x1fe578,KeystrokeHandler as _0x151f16}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x42db6c}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x1bebe4}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0xfafa76}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x1ee90a}from'./aiquickactionsfilteredlistview.js';const Qs=_0x3e1b1e(0x246),Gs=_0x3e1b1e(0x26d);export class AIQuickActionsDropdownContentView extends _0x2765df{[_0x3e1b1e(0x261)];[_0x3e1b1e(0x221)];[_0x3e1b1e(0x262)]=null;[_0x3e1b1e(0x21b)]=[];[_0x3e1b1e(0x23e)];[_0x3e1b1e(0x242)];[_0x3e1b1e(0x20c)];[_0x3e1b1e(0x22c)];[_0x3e1b1e(0x223)];[_0x3e1b1e(0x266)]=new Set();[_0x3e1b1e(0x25b)];constructor(_0x78d3f0,_0x274246,_0x5d5ea4,_0x752258,_0x3d0ee6=!0x1){const _0x48fc57=_0x3e1b1e,_0x20aa8d=_0x78d3f0[_0x48fc57(0x1fd)];super(_0x20aa8d),this[_0x48fc57(0x261)]=_0x752258,this[_0x48fc57(0x25b)]=_0x3d0ee6;const _0x4f1ea7=this[_0x48fc57(0x202)](_0x78d3f0,_0x274246,_0x5d5ea4);this[_0x48fc57(0x221)]=new _0x1ee90a(_0x20aa8d,_0x4f1ea7,this[_0x48fc57(0x21b)]),this[_0x48fc57(0x221)][_0x48fc57(0x215)]=Qs,this[_0x48fc57(0x221)][_0x48fc57(0x269)][_0x48fc57(0x23b)](_0x4f1ea7),this[_0x48fc57(0x242)]=new _0x1fe578(),this[_0x48fc57(0x20c)]=new _0x151f16(),_0x3d0ee6&&(this[_0x48fc57(0x262)]=this[_0x48fc57(0x24d)]()),this[_0x48fc57(0x22c)]=_0x4f1ea7,this[_0x48fc57(0x223)]=new _0x26052d({'focusables':this[_0x48fc57(0x22c)],'focusTracker':this[_0x48fc57(0x242)],'keystrokeHandler':this[_0x48fc57(0x20c)]}),_0x3d0ee6&&this[_0x48fc57(0x262)]&&this[_0x48fc57(0x223)][_0x48fc57(0x237)](this[_0x48fc57(0x262)][_0x48fc57(0x223)]);const _0x2e3f21=_0x3d0ee6&&this[_0x48fc57(0x262)]?[this[_0x48fc57(0x262)]]:[this[_0x48fc57(0x221)]];this[_0x48fc57(0x23e)]=new _0x8230d0(_0x2e3f21),this[_0x48fc57(0x24b)]({'tag':_0x48fc57(0x247),'attributes':{'class':['ck',_0x48fc57(0x1fe),_0x48fc57(0x23c),_0x48fc57(0x251)],'dir':_0x20aa8d[_0x48fc57(0x235)]},'children':this[_0x48fc57(0x23e)]});}[_0x3e1b1e(0x24d)](){const _0x105e0d=_0x3e1b1e;return new _0x35d5fa(this[_0x105e0d(0x1fd)],{'filteredView':this[_0x105e0d(0x221)],'queryView':{'label':_0xfafa76(this[_0x105e0d(0x1fd)],_0x105e0d(0x212))},'class':_0x105e0d(0x207),'infoView':{'text':{'notFound':{'primary':_0xfafa76(this[_0x105e0d(0x1fd)],_0x105e0d(0x216))}}}});}[_0x3e1b1e(0x206)](){const _0x19b2f3=_0x3e1b1e;if(!this[_0x19b2f3(0x25b)]||!this[_0x19b2f3(0x262)]||!this[_0x19b2f3(0x262)][_0x19b2f3(0x250)][_0x19b2f3(0x227)][_0x19b2f3(0x264)])return!0x1;const _0x10ea3c=this[_0x19b2f3(0x262)][_0x19b2f3(0x250)][_0x19b2f3(0x227)][_0x19b2f3(0x264)][_0x19b2f3(0x211)]?.[_0x19b2f3(0x24e)];return this[_0x19b2f3(0x262)][_0x19b2f3(0x250)][_0x19b2f3(0x227)][_0x19b2f3(0x264)][_0x19b2f3(0x263)](_0x10ea3c);}[_0x3e1b1e(0x202)](_0x4bab03,_0xc7d17c,_0x15ffb4){const _0x42c423=_0x3e1b1e,_0x2161b2=new _0x8230d0();return _0xc7d17c[_0x42c423(0x21a)](_0x5a7295=>{const _0x2ce79a=_0x42c423;if(_0x2ce79a(0x25f)in _0x5a7295){const {listItem:_0x32abfb}=this[_0x2ce79a(0x243)](_0x4bab03,_0x5a7295,_0x15ffb4);_0x2161b2[_0x2ce79a(0x236)](_0x32abfb),_0x5a7295[_0x2ce79a(0x25f)][_0x2ce79a(0x21a)](_0x1e1d9f=>{const _0xce535f=_0x2ce79a;this[_0xce535f(0x20a)](_0x4bab03,_0x1e1d9f,_0x5a7295[_0xce535f(0x256)],_0x5a7295[_0xce535f(0x203)]);const {listItem:_0x419778,highlightViews:_0x37777e}=this[_0xce535f(0x245)](_0x4bab03,_0x1e1d9f,_0x5a7295[_0xce535f(0x256)],_0x5a7295[_0xce535f(0x203)]);this[_0xce535f(0x21b)][_0xce535f(0x249)]({'item':_0x419778,'label':_0x1e1d9f[_0xce535f(0x254)],'groupLabel':_0x5a7295[_0xce535f(0x256)],'highlightViews':_0x37777e});});}else{const {listItem:_0x591b12}=this[_0x2ce79a(0x20a)](_0x4bab03,_0x5a7295);_0x2161b2[_0x2ce79a(0x236)](_0x591b12);const _0x2f00d5=_0x591b12[_0x2ce79a(0x23e)][_0x2ce79a(0x271)];if(_0x2f00d5){const {listItem:_0x55e4e3,highlightViews:_0x2cd353}=this[_0x2ce79a(0x245)](_0x4bab03,_0x5a7295);this[_0x2ce79a(0x21b)][_0x2ce79a(0x249)]({'item':_0x55e4e3,'label':_0x2f00d5[_0x2ce79a(0x256)]||'','highlightViews':_0x2cd353});}}}),_0x2161b2;}[_0x3e1b1e(0x20a)](_0x4e67bf,_0x2c10c0,_0x3eca39,_0x5ddb83){const _0x513963=_0x3e1b1e,_0x3d5e5b=new _0x693c85(this[_0x513963(0x1fd)]);if(_0x3eca39&&_0x5ddb83){const _0x5d497d=new _0x344abd(this[_0x513963(0x1fd)]),_0x38e06e=_0x5d497d[_0x513963(0x234)],_0x180b5c=new _0x2b29ed();_0x180b5c[_0x513963(0x1f4)]=_0x2c10c0[_0x513963(0x254)];const _0x1a7a65=new _0x2b29ed();_0x1a7a65[_0x513963(0x1f4)]=_0x3eca39;const _0x4eb2c7=new _0x474741();_0x4eb2c7[_0x513963(0x201)]=_0x5ddb83,_0x4eb2c7[_0x513963(0x23f)]({'attributes':{'class':_0x513963(0x1f8)}});const _0x2bf247=new _0x2765df(this[_0x513963(0x1fd)]);_0x2bf247[_0x513963(0x24b)]({'tag':_0x513963(0x248),'attributes':{'class':_0x513963(0x26b)},'children':[{'text':'\x20('}]});const _0x32fcf3=new _0x2765df(this[_0x513963(0x1fd)]);return _0x32fcf3[_0x513963(0x24b)]({'tag':_0x513963(0x248),'attributes':{'class':_0x513963(0x219)},'children':[{'text':')'}]}),_0x5d497d[_0x513963(0x24c)]({'label':_0x2c10c0[_0x513963(0x254)]+'\x20('+_0x3eca39+')','withText':!0x0,'role':_0x513963(0x26d),'class':_0x513963(0x244),'tooltip':!0x1}),_0x5d497d[_0x513963(0x24b)]({'tag':_0x513963(0x26e),'attributes':{'class':['ck',_0x513963(0x22b),_0x513963(0x277),_0x513963(0x273),_0x513963(0x1f5)],'type':_0x513963(0x26e),'role':_0x513963(0x26d),'tabindex':'-1'},'children':[_0x180b5c,_0x2bf247,_0x4eb2c7,_0x1a7a65,_0x32fcf3],'on':{'mouseenter':_0x38e06e['to'](()=>{const _0x1de126=_0x513963;this[_0x1de126(0x206)]()||_0x5d497d[_0x1de126(0x1fa)]();}),'click':_0x38e06e['to'](()=>{const _0x396528=_0x513963;_0x5d497d[_0x396528(0x21e)](_0x396528(0x1f1));})}}),_0x5d497d['on'](_0x513963(0x1f1),()=>{const _0x5c68ed=_0x513963;_0x4e67bf[_0x5c68ed(0x233)][_0x5c68ed(0x25e)][_0x5c68ed(0x1fa)](),_0x4e67bf[_0x5c68ed(0x225)][_0x5c68ed(0x1f1)](_0x5c68ed(0x26a),_0x2c10c0);}),_0x3d5e5b[_0x513963(0x23e)][_0x513963(0x236)](_0x5d497d),{'listItem':_0x3d5e5b,'highlightViews':[_0x180b5c,_0x1a7a65]};}{const _0x2256f3=new _0x5d0161(),_0x39d322=new _0x344abd(this[_0x513963(0x1fd)],_0x2256f3),_0x390752=_0x39d322[_0x513963(0x234)],_0x87745d=_0x2c10c0[_0x513963(0x203)]??_0x2c10c0[_0x513963(0x204)]?.[_0x513963(0x203)],_0x494dcc=void 0x0!==_0x2c10c0[_0x513963(0x203)];return _0x39d322[_0x513963(0x24c)]({'label':_0x2c10c0[_0x513963(0x254)],'withText':!0x0,'role':_0x513963(0x26d),'icon':_0x494dcc?_0x87745d??_0x4a2182:void 0x0,'tooltip':!0x1,'class':_0x513963(0x273)}),_0x39d322[_0x513963(0x23f)]({'on':{'mouseenter':_0x390752['to'](()=>{const _0x5d336d=_0x513963;this[_0x5d336d(0x206)]()||_0x39d322[_0x5d336d(0x1fa)]();})}}),_0x39d322['on'](_0x513963(0x1f1),()=>{const _0x57850f=_0x513963;_0x4e67bf[_0x57850f(0x233)][_0x57850f(0x25e)][_0x57850f(0x1fa)](),_0x4e67bf[_0x57850f(0x225)][_0x57850f(0x1f1)](_0x57850f(0x26a),_0x2c10c0);}),_0x3d5e5b[_0x513963(0x23e)][_0x513963(0x236)](_0x39d322),{'listItem':_0x3d5e5b,'highlightViews':[_0x2256f3]};}}[_0x3e1b1e(0x245)](_0x197591,_0x1e6bd5,_0x5d8592,_0x188557){const _0x667fe2=_0x3e1b1e;return _0x5d8592&&_0x188557?this[_0x667fe2(0x257)](_0x197591,_0x1e6bd5,_0x5d8592,_0x188557):this[_0x667fe2(0x253)](_0x197591,_0x1e6bd5);}[_0x3e1b1e(0x257)](_0x173ecb,_0x964e8b,_0x2ba785,_0x34341b){const _0x135a63=_0x3e1b1e,_0x4025b4=new _0x693c85(this[_0x135a63(0x1fd)]),_0x5766b5=new _0x344abd(this[_0x135a63(0x1fd)]),_0x5a3500=_0x5766b5[_0x135a63(0x234)],{view:_0x5bf697,highlightView:_0x2efbb5}=this[_0x135a63(0x21d)](_0x2ba785,_0x34341b),{view:_0x5f11a3,highlightView:_0x51a804}=this[_0x135a63(0x226)](_0x964e8b[_0x135a63(0x254)]),_0x38fbdd=this[_0x135a63(0x275)](_0x5bf697,_0x5f11a3);return _0x5766b5[_0x135a63(0x24c)]({'label':_0x964e8b[_0x135a63(0x254)],'withText':!0x0,'role':_0x135a63(0x26d),'class':_0x135a63(0x238),'tooltip':!0x1}),_0x5766b5[_0x135a63(0x24b)]({'tag':_0x135a63(0x26e),'attributes':{'class':['ck',_0x135a63(0x22b),_0x135a63(0x277),_0x135a63(0x273),_0x135a63(0x217),_0x135a63(0x1f2)],'type':_0x135a63(0x26e),'role':_0x135a63(0x26d),'tabindex':'-1'},'children':[_0x38fbdd],'on':{'mouseenter':_0x5a3500['to'](()=>{const _0x8606dc=_0x135a63;this[_0x8606dc(0x206)]()||_0x5766b5[_0x8606dc(0x1fa)]();}),'click':_0x5a3500['to'](()=>{const _0xf87881=_0x135a63;this[_0xf87881(0x22f)](_0x5766b5);})}}),this[_0x135a63(0x241)](_0x5766b5,_0x173ecb,_0x964e8b),_0x4025b4[_0x135a63(0x23e)][_0x135a63(0x236)](_0x5766b5),{'listItem':_0x4025b4,'highlightViews':[_0x2efbb5,_0x51a804]};}[_0x3e1b1e(0x253)](_0x2da53d,_0x4c463e){const _0x53e876=_0x3e1b1e,_0x1acc31=new _0x693c85(this[_0x53e876(0x1fd)]),_0x2dbbdc=new _0x5d0161(),_0x327349=new _0x344abd(this[_0x53e876(0x1fd)],_0x2dbbdc),_0x5a3f3b=_0x327349[_0x53e876(0x234)];return _0x327349[_0x53e876(0x24c)]({'label':_0x4c463e[_0x53e876(0x254)],'withText':!0x0,'role':_0x53e876(0x26d),'icon':void 0x0,'tooltip':!0x1,'class':_0x53e876(0x239)}),_0x327349[_0x53e876(0x23f)]({'on':{'mouseenter':_0x5a3f3b['to'](()=>{const _0x2df014=_0x53e876;this[_0x2df014(0x206)]()||_0x327349[_0x2df014(0x1fa)]();})}}),this[_0x53e876(0x241)](_0x327349,_0x2da53d,_0x4c463e),_0x1acc31[_0x53e876(0x23e)][_0x53e876(0x236)](_0x327349),{'listItem':_0x1acc31,'highlightViews':[_0x2dbbdc]};}[_0x3e1b1e(0x21d)](_0x548133,_0x1adffc){const _0x53155b=_0x3e1b1e,_0xf19cec=new _0x2765df(this[_0x53155b(0x1fd)]),_0x547294=new _0x474741();_0x547294[_0x53155b(0x201)]=_0x1adffc,_0x547294[_0x53155b(0x23f)]({'attributes':{'class':_0x53155b(0x1f8)}});const _0x19bc83=new _0x2b29ed();return _0x19bc83[_0x53155b(0x1f4)]=_0x548133,_0xf19cec[_0x53155b(0x24b)]({'tag':_0x53155b(0x247),'attributes':{'class':_0x53155b(0x24f)},'children':[_0x547294,_0x19bc83]}),{'view':_0xf19cec,'highlightView':_0x19bc83};}[_0x3e1b1e(0x226)](_0x2c7be9){const _0x4725ff=_0x3e1b1e,_0x420fce=new _0x2765df(this[_0x4725ff(0x1fd)]),_0x1d5e9c=new _0x2b29ed();return _0x1d5e9c[_0x4725ff(0x1f4)]=_0x2c7be9,_0x420fce[_0x4725ff(0x24b)]({'tag':_0x4725ff(0x247),'attributes':{'class':_0x4725ff(0x25c)},'children':[_0x1d5e9c]}),{'view':_0x420fce,'highlightView':_0x1d5e9c};}[_0x3e1b1e(0x275)](_0x537097,_0x22b5ae){const _0xdad2a0=_0x3e1b1e,_0x32332f=new _0x2765df(this[_0xdad2a0(0x1fd)]);return _0x32332f[_0xdad2a0(0x24b)]({'tag':_0xdad2a0(0x247),'attributes':{'class':_0xdad2a0(0x208)},'children':[_0x537097,_0x22b5ae]}),_0x32332f;}[_0x3e1b1e(0x241)](_0x11ccbe,_0x4b96a0,_0x2793dd){const _0x4dc1eb=_0x3e1b1e;_0x11ccbe['on'](_0x4dc1eb(0x1f1),()=>{const _0x6a33d8=_0x4dc1eb;_0x4b96a0[_0x6a33d8(0x233)][_0x6a33d8(0x25e)][_0x6a33d8(0x1fa)](),_0x4b96a0[_0x6a33d8(0x225)][_0x6a33d8(0x1f1)](_0x6a33d8(0x26a),_0x2793dd);});}[_0x3e1b1e(0x243)](_0x12c3a4,_0x3c6fc1,_0xdd33a6){const _0x2f960e=_0x3e1b1e,_0x2e4b5c=new _0x693c85(this[_0x2f960e(0x1fd)]),_0x4dfb41=new _0x5d0161(),_0xb0305c=new _0x1bebe4(this[_0x2f960e(0x1fd)],_0x4dfb41),_0x13a2fa=_0xb0305c[_0x2f960e(0x234)],_0x91606d=this[_0x2f960e(0x209)](_0xdd33a6),_0x4f0693=this[_0x2f960e(0x24a)](_0x12c3a4,_0x3c6fc1[_0x2f960e(0x25f)],_0xdd33a6);_0xb0305c[_0x2f960e(0x24c)]({'label':_0x3c6fc1[_0x2f960e(0x256)],'withText':!0x0,'role':Gs,'icon':_0x3c6fc1[_0x2f960e(0x203)]??_0x4a2182,'isEnabled':_0x3c6fc1[_0x2f960e(0x25f)][_0x2f960e(0x267)](_0x2b20e2=>_0x2b20e2[_0x2f960e(0x240)])}),_0xb0305c[_0x2f960e(0x23f)]({'on':{'mouseenter':_0x13a2fa['to'](()=>{const _0x3930f2=_0x2f960e;this[_0x3930f2(0x206)]()||_0xb0305c[_0x3930f2(0x1fa)]();})}});const _0x1e3926=new _0x9353fd(this[_0x2f960e(0x1fd)]);return _0x1e3926[_0x2f960e(0x23f)]({'attributes':{'class':['ck',_0x2f960e(0x1fe),_0x2f960e(0x224),_0x2f960e(0x278)]},'on':{'keydown':_0x13a2fa['to'](_0x34f4a2=>{const _0x3765f5=_0x2f960e;this[_0x3765f5(0x220)](_0x34f4a2,_0x91606d,_0xb0305c,_0x1e3926);})}}),_0xb0305c[_0x2f960e(0x218)](_0x2f960e(0x210))['to'](_0x1e3926,_0x2f960e(0x26f)),this[_0x2f960e(0x261)][_0x2f960e(0x236)](_0x1e3926),_0x1e3926[_0x2f960e(0x201)][_0x2f960e(0x236)](_0x4f0693),this[_0x2f960e(0x231)](_0xb0305c,_0x1e3926),_0x2e4b5c[_0x2f960e(0x23e)][_0x2f960e(0x236)](_0xb0305c),{'listItem':_0x2e4b5c,'highlightView':_0x4dfb41};}[_0x3e1b1e(0x24a)](_0x501ea4,_0x3da9a1,_0x2cfefc){const _0x4185ab=_0x3e1b1e,_0x1378e0=new _0x388573(this[_0x4185ab(0x1fd)]);return _0x1378e0[_0x4185ab(0x23f)]({'attributes':{'class':['ck',_0x4185ab(0x1fe),_0x4185ab(0x20f),_0x4185ab(0x20b)]}}),_0x3da9a1[_0x4185ab(0x21a)](_0xc38d94=>{const _0x595208=_0x4185ab,_0x210dfc=new _0x693c85(this[_0x595208(0x1fd)]),_0x40ab8e=_0x42db6c({'editor':_0x501ea4,'action':_0xc38d94,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x595208(0x206)]()})();_0x210dfc[_0x595208(0x23e)][_0x595208(0x236)](_0x40ab8e),_0x2cfefc[_0x595208(0x242)][_0x595208(0x236)](_0x40ab8e),_0x1378e0[_0x595208(0x269)][_0x595208(0x236)](_0x210dfc);}),_0x1378e0;}[_0x3e1b1e(0x231)](_0x39d2ca,_0x5121b4){const _0xfc7046=_0x3e1b1e,_0x8fe38e=_0x39d2ca[_0xfc7046(0x234)],_0x505f64=this[_0xfc7046(0x1f7)](_0x39d2ca);_0x39d2ca[_0xfc7046(0x23f)]({'attributes':{'class':[_0xfc7046(0x20e)]},'on':{'mouseenter':_0x8fe38e['to'](()=>{const _0x50720c=_0xfc7046;this[_0x50720c(0x23a)](_0x5121b4,_0x39d2ca);}),'mouseleave':_0x8fe38e['to'](_0x208a18=>{const _0x15e6a2=_0xfc7046,_0x2c1004=_0x208a18[_0x15e6a2(0x200)];this[_0x15e6a2(0x229)](_0x2c1004,_0x5121b4)||this[_0x15e6a2(0x265)](_0x5121b4);}),'keydown':_0x8fe38e['to'](_0x13c5d1=>{const _0x5d1d31=_0xfc7046;_0x13c5d1[_0x5d1d31(0x1ff)]==_0x505f64&&(this[_0x5d1d31(0x23a)](_0x5121b4,_0x39d2ca),_0x5121b4[_0x5d1d31(0x201)][_0x5d1d31(0x26c)](0x0)[_0x5d1d31(0x1fa)]());})}}),_0x5121b4['on'](_0xfc7046(0x20d),()=>{const _0x2c9b62=_0xfc7046;_0x5121b4[_0x2c9b62(0x264)]?.[_0x2c9b62(0x232)](_0x2c9b62(0x268),_0x766d41=>{const _0x20b88d=_0x2c9b62,_0x4ddba8=_0x766d41[_0x20b88d(0x200)];_0x39d2ca[_0x20b88d(0x264)]?.[_0x20b88d(0x263)](_0x4ddba8)||this[_0x20b88d(0x229)](_0x4ddba8,_0x5121b4)||this[_0x20b88d(0x265)](_0x5121b4);});});}[_0x3e1b1e(0x23a)](_0x2e4015,_0x491171){const _0x132ae4=_0x3e1b1e;this[_0x132ae4(0x266)][_0x132ae4(0x21a)](_0x277224=>{const _0x3a4267=_0x132ae4;_0x277224!==_0x2e4015&&_0x277224[_0x3a4267(0x26f)]&&_0x277224[_0x3a4267(0x222)]();}),_0x2e4015[_0x132ae4(0x1f9)](),_0x2e4015[_0x132ae4(0x252)]({'positions':[_0x4b2f5d[_0x132ae4(0x1f3)]],'target':_0x491171[_0x132ae4(0x264)],'fitInViewport':!0x0}),this[_0x132ae4(0x266)][_0x132ae4(0x236)](_0x2e4015);}[_0x3e1b1e(0x265)](_0x340962){const _0x265fa6=_0x3e1b1e;_0x340962[_0x265fa6(0x222)](),this[_0x265fa6(0x266)][_0x265fa6(0x230)](_0x340962);}[_0x3e1b1e(0x23d)](){const _0x599fae=_0x3e1b1e;this[_0x599fae(0x266)][_0x599fae(0x21a)](_0x5dbd7b=>_0x5dbd7b[_0x599fae(0x222)]()),this[_0x599fae(0x266)][_0x599fae(0x1fb)]();}[_0x3e1b1e(0x229)](_0x551931,_0x4c5e6b){const _0x2dd014=_0x3e1b1e;if(!_0x551931)return!0x1;if(_0x4c5e6b[_0x2dd014(0x264)]?.[_0x2dd014(0x263)](_0x551931))return!0x0;const _0xfd31c4=_0x551931;return _0xfd31c4[_0x2dd014(0x228)]&&(null!==_0xfd31c4[_0x2dd014(0x228)](_0x2dd014(0x255))||null!==_0xfd31c4[_0x2dd014(0x228)](_0x2dd014(0x258))||null!==_0xfd31c4[_0x2dd014(0x228)](_0x2dd014(0x21c)));}[_0x3e1b1e(0x276)](){const _0x4a04c2=_0x3e1b1e;this[_0x4a04c2(0x262)]&&this[_0x4a04c2(0x262)][_0x4a04c2(0x1fc)]();}[_0x3e1b1e(0x272)](){const _0x13b80b=_0x3e1b1e;this[_0x13b80b(0x23d)](),this[_0x13b80b(0x261)][_0x13b80b(0x274)](),super[_0x13b80b(0x272)]();}[_0x3e1b1e(0x1fa)](){const _0x43c898=_0x3e1b1e;this[_0x43c898(0x262)]?this[_0x43c898(0x262)][_0x43c898(0x1fa)]():this[_0x43c898(0x221)][_0x43c898(0x1fa)]();}[_0x3e1b1e(0x209)](_0x2c600a){const _0x525d9a=_0x3e1b1e;return _0x525d9a(0x270)===_0x2c600a[_0x525d9a(0x1fd)][_0x525d9a(0x235)]?_0x525d9a(0x22e):_0x525d9a(0x1f6);}[_0x3e1b1e(0x1f7)](_0x1c2215){const _0x1e81a2=_0x3e1b1e;return _0x1e81a2(0x270)===_0x1c2215[_0x1e81a2(0x1fd)][_0x1e81a2(0x235)]?_0x1e81a2(0x1f6):_0x1e81a2(0x22e);}[_0x3e1b1e(0x220)](_0x47b60d,_0x36b014,_0x4dec78,_0x22adc6){const _0x4ac2a4=_0x3e1b1e;_0x47b60d[_0x4ac2a4(0x1ff)]==_0x36b014&&(_0x4dec78[_0x4ac2a4(0x1fa)](),this[_0x4ac2a4(0x265)](_0x22adc6));}[_0x3e1b1e(0x22f)](_0x58bb30){const _0x1f0f61=_0x3e1b1e;_0x58bb30[_0x1f0f61(0x21e)](_0x1f0f61(0x1f1));}}
|
|
23
|
+
const _0x4eec1e=_0x5c0d;(function(_0x1eca11,_0x388cfc){const _0x26c761=_0x5c0d,_0x464d85=_0x1eca11();while(!![]){try{const _0x4b71d2=parseInt(_0x26c761(0x178))/0x1*(-parseInt(_0x26c761(0x186))/0x2)+-parseInt(_0x26c761(0x1c8))/0x3*(-parseInt(_0x26c761(0x1ab))/0x4)+-parseInt(_0x26c761(0x17e))/0x5+-parseInt(_0x26c761(0x170))/0x6*(-parseInt(_0x26c761(0x1d3))/0x7)+parseInt(_0x26c761(0x1ae))/0x8+-parseInt(_0x26c761(0x188))/0x9*(-parseInt(_0x26c761(0x1c1))/0xa)+-parseInt(_0x26c761(0x1bd))/0xb;if(_0x4b71d2===_0x388cfc)break;else _0x464d85['push'](_0x464d85['shift']());}catch(_0x1b4f0e){_0x464d85['push'](_0x464d85['shift']());}}}(_0x9047,0x28a76));import{View as _0x45c967,ListItemView as _0x35e844,ListView as _0x4be61f,BalloonPanelView as _0x4d67bd,DropdownMenuPanelPositioningFunctions as _0x5d4a51,ViewCollection as _0xd9893,FocusCycler as _0x3488dd,ButtonView as _0x33a04f,IconView as _0xa2158d,HighlightedTextView as _0x34286d,ButtonLabelWithHighlightView as _0x1fec51,SearchTextView as _0x1c839a}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x526784}from'@ckeditor/ckeditor5-icons';function _0x9047(){const _0x52d4a2=['ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','81907CgZmkB','ArrowRight','text','queryView','relatedTarget','button','ownerDocument','fieldView','ck-ai-quick-actions-search-result__content','ck-ai-quick-actions-search-result-button_with-group','_createGroupActionsList','menuitem','focusCycler','_handleSearchResultButtonClick','ck-ai-quick-actions-group-button','_allSearchableItems','_openNestedPanels','_isSearchFocused','_hideAllNestedPanels','locale','displayedPrompt','ck-ai-quick-actions-button_with-group__open-paren','addEventListener','fire','element','mouseleave','label','_createSearchTextView','items','actions','_createSearchResultGroupRow','execute','_createSearchResultActionRow','_bodyCollection','span','ck-ai-quick-actions-search-result__group-row','ck-dropdown-menu-list','focusTracker','138cqDfKw','pin','keystrokes','_handlePanelKeydown','contains','parent','commands','ck-ai-quick-actions','15205ucUiHW','activeElement','isOn','some','.ck-ai-quick-actions-group-list','ck-ai-quick-actions-button','1251860RriwuR','ck-reset_all','.ck-ai-quick-actions-group-panel','.ck-ai-quick-actions-group-button','_createActionButton','ck-dropdown-menu__nested-menu__panel','setTemplate','show','40wBspPQ','_getButtonKeystroke','39303laiMFk','ck-rounded-corners','_createListItems','ck-ai-quick-actions-search','ArrowLeft','add','children','_getPanelKeystroke','content','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','role','render','_setupGroupMenuBehavior','_hideNestedPanel','forEach','AI_QUICK_ACTIONS_SEARCH','closest','optionsListView','get','push','_createSearchResultGroupedActionButton','rtl','_setupActionButtonExecution','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','first','ck-ai-quick-actions-search-result-button','eastSouth','view','chain','clear','ck-ai-quick-actions-group-list','_showNestedPanel','icon','menu','ck-ai-quick-actions-button__group-icon','4ceBIFE','div','aiQuickAction','2354800EVxLdM','detachFromDom','ck-ai-quick-actions-search-result__action-row','_createActionGroupButton','addMany','delete','bindTemplate','_searchTextView','uiLanguageDirection','focus','isVisible','ck-ai-quick-actions-button_with-group','extendTemplate','ck-button','isEnabled','4046812GnGWzM','ck-ai-quick-actions-group-panel','ck-ai-quick-actions-button_with-group__close-paren','ck-button_with-text','650tGmRsz','set','hide','bind','_createSearchResultIndividualActionButton','_hasSearch','key','724662ZZRber','_createSearchResultContentView','destroy','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_focusables','reset','_createSearchResultActionButton','resetSearch','_isMovingToNestedMenu','editing'];_0x9047=function(){return _0x52d4a2;};return _0x9047();}import{FocusTracker as _0x35c5f3,KeystrokeHandler as _0x2ecb17}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x459ac1}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x1635ae}from'./dropdownmenubuttonwithhighlightview.js';function _0x5c0d(_0x9eb44a,_0x4f704f){const _0x904762=_0x9047();return _0x5c0d=function(_0x5c0d36,_0x34a41e){_0x5c0d36=_0x5c0d36-0x14f;let _0xbbc7c1=_0x904762[_0x5c0d36];return _0xbbc7c1;},_0x5c0d(_0x9eb44a,_0x4f704f);}import{getTranslation as _0x3e6d6e}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x764af4}from'./aiquickactionsfilteredlistview.js';const Qs=_0x4eec1e(0x1a9),Gs=_0x4eec1e(0x155);export class AIQuickActionsDropdownContentView extends _0x45c967{[_0x4eec1e(0x16b)];[_0x4eec1e(0x199)];[_0x4eec1e(0x1b5)]=null;[_0x4eec1e(0x159)]=[];[_0x4eec1e(0x18e)];[_0x4eec1e(0x16f)];[_0x4eec1e(0x172)];[_0x4eec1e(0x1cc)];[_0x4eec1e(0x156)];[_0x4eec1e(0x15a)]=new Set();[_0x4eec1e(0x1c6)];constructor(_0x2ece58,_0x3a2697,_0x57242b,_0x260aae,_0x599494=!0x1){const _0x482cf1=_0x4eec1e,_0x1fb69e=_0x2ece58[_0x482cf1(0x15d)];super(_0x1fb69e),this[_0x482cf1(0x16b)]=_0x260aae,this[_0x482cf1(0x1c6)]=_0x599494;const _0x1f4948=this[_0x482cf1(0x18a)](_0x2ece58,_0x3a2697,_0x57242b);this[_0x482cf1(0x199)]=new _0x764af4(_0x1fb69e,_0x1f4948,this[_0x482cf1(0x159)]),this[_0x482cf1(0x199)][_0x482cf1(0x192)]=Qs,this[_0x482cf1(0x199)][_0x482cf1(0x166)][_0x482cf1(0x1b2)](_0x1f4948),this[_0x482cf1(0x16f)]=new _0x35c5f3(),this[_0x482cf1(0x172)]=new _0x2ecb17(),_0x599494&&(this[_0x482cf1(0x1b5)]=this[_0x482cf1(0x165)]()),this[_0x482cf1(0x1cc)]=_0x1f4948,this[_0x482cf1(0x156)]=new _0x3488dd({'focusables':this[_0x482cf1(0x1cc)],'focusTracker':this[_0x482cf1(0x16f)],'keystrokeHandler':this[_0x482cf1(0x172)]}),_0x599494&&this[_0x482cf1(0x1b5)]&&this[_0x482cf1(0x156)][_0x482cf1(0x1a4)](this[_0x482cf1(0x1b5)][_0x482cf1(0x156)]);const _0x4e4de6=_0x599494&&this[_0x482cf1(0x1b5)]?[this[_0x482cf1(0x1b5)]]:[this[_0x482cf1(0x199)]];this[_0x482cf1(0x18e)]=new _0xd9893(_0x4e4de6),this[_0x482cf1(0x184)]({'tag':_0x482cf1(0x1ac),'attributes':{'class':['ck',_0x482cf1(0x17f),_0x482cf1(0x177),_0x482cf1(0x189)],'dir':_0x1fb69e[_0x482cf1(0x1b6)]},'children':this[_0x482cf1(0x18e)]});}[_0x4eec1e(0x165)](){const _0x57ba75=_0x4eec1e;return new _0x1c839a(this[_0x57ba75(0x15d)],{'filteredView':this[_0x57ba75(0x199)],'queryView':{'label':_0x3e6d6e(this[_0x57ba75(0x15d)],_0x57ba75(0x197))},'class':_0x57ba75(0x18b),'infoView':{'text':{'notFound':{'primary':_0x3e6d6e(this[_0x57ba75(0x15d)],_0x57ba75(0x191))}}}});}[_0x4eec1e(0x15b)](){const _0x42f1b0=_0x4eec1e;if(!this[_0x42f1b0(0x1c6)]||!this[_0x42f1b0(0x1b5)]||!this[_0x42f1b0(0x1b5)][_0x42f1b0(0x1d6)][_0x42f1b0(0x151)][_0x42f1b0(0x162)])return!0x1;const _0x225ce4=this[_0x42f1b0(0x1b5)][_0x42f1b0(0x1d6)][_0x42f1b0(0x151)][_0x42f1b0(0x162)][_0x42f1b0(0x150)]?.[_0x42f1b0(0x179)];return this[_0x42f1b0(0x1b5)][_0x42f1b0(0x1d6)][_0x42f1b0(0x151)][_0x42f1b0(0x162)][_0x42f1b0(0x174)](_0x225ce4);}[_0x4eec1e(0x18a)](_0xeeaf4,_0x1b07b5,_0x2cc0fe){const _0x1866a3=_0x4eec1e,_0x2d3323=new _0xd9893();return _0x1b07b5[_0x1866a3(0x196)](_0x12b028=>{const _0x55c158=_0x1866a3;if(_0x55c158(0x167)in _0x12b028){const {listItem:_0xcf900b}=this[_0x55c158(0x1b1)](_0xeeaf4,_0x12b028,_0x2cc0fe);_0x2d3323[_0x55c158(0x18d)](_0xcf900b),_0x12b028[_0x55c158(0x167)][_0x55c158(0x196)](_0x134c62=>{const _0xc2081d=_0x55c158;this[_0xc2081d(0x182)](_0xeeaf4,_0x134c62,_0x12b028[_0xc2081d(0x164)],_0x12b028[_0xc2081d(0x1a8)]);const {listItem:_0x575ff9,highlightViews:_0x15372d}=this[_0xc2081d(0x1ce)](_0xeeaf4,_0x134c62,_0x12b028[_0xc2081d(0x164)],_0x12b028[_0xc2081d(0x1a8)]);this[_0xc2081d(0x159)][_0xc2081d(0x19b)]({'item':_0x575ff9,'label':_0x134c62[_0xc2081d(0x15e)],'groupLabel':_0x12b028[_0xc2081d(0x164)],'highlightViews':_0x15372d});});}else{const {listItem:_0x3a9170}=this[_0x55c158(0x182)](_0xeeaf4,_0x12b028);_0x2d3323[_0x55c158(0x18d)](_0x3a9170);const _0x570cb8=_0x3a9170[_0x55c158(0x18e)][_0x55c158(0x1a0)];if(_0x570cb8){const {listItem:_0x11b9c1,highlightViews:_0x28f3c1}=this[_0x55c158(0x1ce)](_0xeeaf4,_0x12b028);this[_0x55c158(0x159)][_0x55c158(0x19b)]({'item':_0x11b9c1,'label':_0x570cb8[_0x55c158(0x164)]||'','highlightViews':_0x28f3c1});}}}),_0x2d3323;}[_0x4eec1e(0x182)](_0x37d823,_0xc66cee,_0x28aa4d,_0x2b9331){const _0x9cd1e9=_0x4eec1e,_0x4e3f5c=new _0x35e844(this[_0x9cd1e9(0x15d)]);if(_0x28aa4d&&_0x2b9331){const _0x308fd6=new _0x33a04f(this[_0x9cd1e9(0x15d)]),_0x14de76=_0x308fd6[_0x9cd1e9(0x1b4)],_0x16a2b3=new _0x34286d();_0x16a2b3[_0x9cd1e9(0x1d5)]=_0xc66cee[_0x9cd1e9(0x15e)];const _0x5c1491=new _0x34286d();_0x5c1491[_0x9cd1e9(0x1d5)]=_0x28aa4d;const _0x4130dd=new _0xa2158d();_0x4130dd[_0x9cd1e9(0x190)]=_0x2b9331,_0x4130dd[_0x9cd1e9(0x1ba)]({'attributes':{'class':_0x9cd1e9(0x1aa)}});const _0x19c0a6=new _0x45c967(this[_0x9cd1e9(0x15d)]);_0x19c0a6[_0x9cd1e9(0x184)]({'tag':_0x9cd1e9(0x16c),'attributes':{'class':_0x9cd1e9(0x15f)},'children':[{'text':'\x20('}]});const _0x134b1e=new _0x45c967(this[_0x9cd1e9(0x15d)]);return _0x134b1e[_0x9cd1e9(0x184)]({'tag':_0x9cd1e9(0x16c),'attributes':{'class':_0x9cd1e9(0x1bf)},'children':[{'text':')'}]}),_0x308fd6[_0x9cd1e9(0x1c2)]({'label':_0xc66cee[_0x9cd1e9(0x15e)]+'\x20('+_0x28aa4d+')','withText':!0x0,'role':_0x9cd1e9(0x155),'class':_0x9cd1e9(0x1cb),'tooltip':!0x1}),_0x308fd6[_0x9cd1e9(0x184)]({'tag':_0x9cd1e9(0x14f),'attributes':{'class':['ck',_0x9cd1e9(0x1bb),_0x9cd1e9(0x1c0),_0x9cd1e9(0x17d),_0x9cd1e9(0x1b9)],'type':_0x9cd1e9(0x14f),'role':_0x9cd1e9(0x155),'tabindex':'-1'},'children':[_0x16a2b3,_0x19c0a6,_0x4130dd,_0x5c1491,_0x134b1e],'on':{'mouseenter':_0x14de76['to'](()=>{const _0x54e7dc=_0x9cd1e9;this[_0x54e7dc(0x15b)]()||_0x308fd6[_0x54e7dc(0x1b7)]();}),'click':_0x14de76['to'](()=>{const _0x321b83=_0x9cd1e9;_0x308fd6[_0x321b83(0x161)](_0x321b83(0x169));})}}),_0x308fd6['on'](_0x9cd1e9(0x169),()=>{const _0x3d9602=_0x9cd1e9;_0x37d823[_0x3d9602(0x1d1)][_0x3d9602(0x1a3)][_0x3d9602(0x1b7)](),_0x37d823[_0x3d9602(0x176)][_0x3d9602(0x169)](_0x3d9602(0x1ad),_0xc66cee);}),_0x4e3f5c[_0x9cd1e9(0x18e)][_0x9cd1e9(0x18d)](_0x308fd6),{'listItem':_0x4e3f5c,'highlightViews':[_0x16a2b3,_0x5c1491]};}{const _0x308028=new _0x1fec51(),_0x1ca105=new _0x33a04f(this[_0x9cd1e9(0x15d)],_0x308028),_0x4a419a=_0x1ca105[_0x9cd1e9(0x1b4)],_0x1a2e92=_0xc66cee[_0x9cd1e9(0x1a8)]??_0xc66cee[_0x9cd1e9(0x175)]?.[_0x9cd1e9(0x1a8)],_0x39fc6e=void 0x0!==_0xc66cee[_0x9cd1e9(0x1a8)];return _0x1ca105[_0x9cd1e9(0x1c2)]({'label':_0xc66cee[_0x9cd1e9(0x15e)],'withText':!0x0,'role':_0x9cd1e9(0x155),'icon':_0x39fc6e?_0x1a2e92??_0x526784:void 0x0,'tooltip':!0x1,'class':_0x9cd1e9(0x17d)}),_0x1ca105[_0x9cd1e9(0x1ba)]({'on':{'mouseenter':_0x4a419a['to'](()=>{const _0x70fe8c=_0x9cd1e9;this[_0x70fe8c(0x15b)]()||_0x1ca105[_0x70fe8c(0x1b7)]();})}}),_0x1ca105['on'](_0x9cd1e9(0x169),()=>{const _0x2214c4=_0x9cd1e9;_0x37d823[_0x2214c4(0x1d1)][_0x2214c4(0x1a3)][_0x2214c4(0x1b7)](),_0x37d823[_0x2214c4(0x176)][_0x2214c4(0x169)](_0x2214c4(0x1ad),_0xc66cee);}),_0x4e3f5c[_0x9cd1e9(0x18e)][_0x9cd1e9(0x18d)](_0x1ca105),{'listItem':_0x4e3f5c,'highlightViews':[_0x308028]};}}[_0x4eec1e(0x1ce)](_0x46363f,_0x43777a,_0x52262f,_0x27603f){const _0x167c62=_0x4eec1e;return _0x52262f&&_0x27603f?this[_0x167c62(0x19c)](_0x46363f,_0x43777a,_0x52262f,_0x27603f):this[_0x167c62(0x1c5)](_0x46363f,_0x43777a);}[_0x4eec1e(0x19c)](_0x34605f,_0x1d2ddd,_0x18c466,_0x261918){const _0x185228=_0x4eec1e,_0x22164f=new _0x35e844(this[_0x185228(0x15d)]),_0x2496f8=new _0x33a04f(this[_0x185228(0x15d)]),_0xdca9d1=_0x2496f8[_0x185228(0x1b4)],{view:_0x51765e,highlightView:_0x4fac33}=this[_0x185228(0x168)](_0x18c466,_0x261918),{view:_0x3b567d,highlightView:_0x2b7ab3}=this[_0x185228(0x16a)](_0x1d2ddd[_0x185228(0x15e)]),_0x2e61cf=this[_0x185228(0x1c9)](_0x51765e,_0x3b567d);return _0x2496f8[_0x185228(0x1c2)]({'label':_0x1d2ddd[_0x185228(0x15e)],'withText':!0x0,'role':_0x185228(0x155),'class':_0x185228(0x1d2),'tooltip':!0x1}),_0x2496f8[_0x185228(0x184)]({'tag':_0x185228(0x14f),'attributes':{'class':['ck',_0x185228(0x1bb),_0x185228(0x1c0),_0x185228(0x17d),_0x185228(0x1a1),_0x185228(0x153)],'type':_0x185228(0x14f),'role':_0x185228(0x155),'tabindex':'-1'},'children':[_0x2e61cf],'on':{'mouseenter':_0xdca9d1['to'](()=>{const _0x2c4a2a=_0x185228;this[_0x2c4a2a(0x15b)]()||_0x2496f8[_0x2c4a2a(0x1b7)]();}),'click':_0xdca9d1['to'](()=>{const _0x6e6c3b=_0x185228;this[_0x6e6c3b(0x157)](_0x2496f8);})}}),this[_0x185228(0x19e)](_0x2496f8,_0x34605f,_0x1d2ddd),_0x22164f[_0x185228(0x18e)][_0x185228(0x18d)](_0x2496f8),{'listItem':_0x22164f,'highlightViews':[_0x4fac33,_0x2b7ab3]};}[_0x4eec1e(0x1c5)](_0x206cf2,_0x333d70){const _0x55667b=_0x4eec1e,_0x2e4753=new _0x35e844(this[_0x55667b(0x15d)]),_0x551b58=new _0x1fec51(),_0x3cddcd=new _0x33a04f(this[_0x55667b(0x15d)],_0x551b58),_0x5dc793=_0x3cddcd[_0x55667b(0x1b4)];return _0x3cddcd[_0x55667b(0x1c2)]({'label':_0x333d70[_0x55667b(0x15e)],'withText':!0x0,'role':_0x55667b(0x155),'icon':void 0x0,'tooltip':!0x1,'class':_0x55667b(0x19f)}),_0x3cddcd[_0x55667b(0x1ba)]({'on':{'mouseenter':_0x5dc793['to'](()=>{const _0x8ce460=_0x55667b;this[_0x8ce460(0x15b)]()||_0x3cddcd[_0x8ce460(0x1b7)]();})}}),this[_0x55667b(0x19e)](_0x3cddcd,_0x206cf2,_0x333d70),_0x2e4753[_0x55667b(0x18e)][_0x55667b(0x18d)](_0x3cddcd),{'listItem':_0x2e4753,'highlightViews':[_0x551b58]};}[_0x4eec1e(0x168)](_0x2dab68,_0x28cde7){const _0x42265a=_0x4eec1e,_0x3d6db3=new _0x45c967(this[_0x42265a(0x15d)]),_0x3ba61e=new _0xa2158d();_0x3ba61e[_0x42265a(0x190)]=_0x28cde7,_0x3ba61e[_0x42265a(0x1ba)]({'attributes':{'class':_0x42265a(0x1aa)}});const _0xee6a7a=new _0x34286d();return _0xee6a7a[_0x42265a(0x1d5)]=_0x2dab68,_0x3d6db3[_0x42265a(0x184)]({'tag':_0x42265a(0x1ac),'attributes':{'class':_0x42265a(0x16d)},'children':[_0x3ba61e,_0xee6a7a]}),{'view':_0x3d6db3,'highlightView':_0xee6a7a};}[_0x4eec1e(0x16a)](_0x2930d2){const _0x149e0f=_0x4eec1e,_0x45ccc8=new _0x45c967(this[_0x149e0f(0x15d)]),_0x15a947=new _0x34286d();return _0x15a947[_0x149e0f(0x1d5)]=_0x2930d2,_0x45ccc8[_0x149e0f(0x184)]({'tag':_0x149e0f(0x1ac),'attributes':{'class':_0x149e0f(0x1b0)},'children':[_0x15a947]}),{'view':_0x45ccc8,'highlightView':_0x15a947};}[_0x4eec1e(0x1c9)](_0x590a86,_0xd595e7){const _0x106fcb=_0x4eec1e,_0x55ed84=new _0x45c967(this[_0x106fcb(0x15d)]);return _0x55ed84[_0x106fcb(0x184)]({'tag':_0x106fcb(0x1ac),'attributes':{'class':_0x106fcb(0x152)},'children':[_0x590a86,_0xd595e7]}),_0x55ed84;}[_0x4eec1e(0x19e)](_0x280c19,_0x17d89c,_0x24e23a){const _0x327bdc=_0x4eec1e;_0x280c19['on'](_0x327bdc(0x169),()=>{const _0x5af84b=_0x327bdc;_0x17d89c[_0x5af84b(0x1d1)][_0x5af84b(0x1a3)][_0x5af84b(0x1b7)](),_0x17d89c[_0x5af84b(0x176)][_0x5af84b(0x169)](_0x5af84b(0x1ad),_0x24e23a);});}[_0x4eec1e(0x1b1)](_0x225aff,_0x5b1965,_0x1659d6){const _0x2d8245=_0x4eec1e,_0x3e75ed=new _0x35e844(this[_0x2d8245(0x15d)]),_0x30c124=new _0x1fec51(),_0x51a44b=new _0x1635ae(this[_0x2d8245(0x15d)],_0x30c124),_0x3a076a=_0x51a44b[_0x2d8245(0x1b4)],_0x3b59ff=this[_0x2d8245(0x18f)](_0x1659d6),_0x5f1d9e=this[_0x2d8245(0x154)](_0x225aff,_0x5b1965[_0x2d8245(0x167)],_0x1659d6);_0x51a44b[_0x2d8245(0x1c2)]({'label':_0x5b1965[_0x2d8245(0x164)],'withText':!0x0,'role':Gs,'icon':_0x5b1965[_0x2d8245(0x1a8)]??_0x526784,'isEnabled':_0x5b1965[_0x2d8245(0x167)][_0x2d8245(0x17b)](_0x5c711e=>_0x5c711e[_0x2d8245(0x1bc)])}),_0x51a44b[_0x2d8245(0x1ba)]({'on':{'mouseenter':_0x3a076a['to'](()=>{const _0x1e8213=_0x2d8245;this[_0x1e8213(0x15b)]()||_0x51a44b[_0x1e8213(0x1b7)]();})}});const _0x5f34b5=new _0x4d67bd(this[_0x2d8245(0x15d)]);return _0x5f34b5[_0x2d8245(0x1ba)]({'attributes':{'class':['ck',_0x2d8245(0x17f),_0x2d8245(0x1be),_0x2d8245(0x183)]},'on':{'keydown':_0x3a076a['to'](_0x22c303=>{const _0x537325=_0x2d8245;this[_0x537325(0x173)](_0x22c303,_0x3b59ff,_0x51a44b,_0x5f34b5);})}}),_0x51a44b[_0x2d8245(0x1c4)](_0x2d8245(0x17a))['to'](_0x5f34b5,_0x2d8245(0x1b8)),this[_0x2d8245(0x16b)][_0x2d8245(0x18d)](_0x5f34b5),_0x5f34b5[_0x2d8245(0x190)][_0x2d8245(0x18d)](_0x5f1d9e),this[_0x2d8245(0x194)](_0x51a44b,_0x5f34b5),_0x3e75ed[_0x2d8245(0x18e)][_0x2d8245(0x18d)](_0x51a44b),{'listItem':_0x3e75ed,'highlightView':_0x30c124};}[_0x4eec1e(0x154)](_0x39f7c4,_0x133e0d,_0x394c60){const _0x161e36=_0x4eec1e,_0x38f9e9=new _0x4be61f(this[_0x161e36(0x15d)]);return _0x38f9e9[_0x161e36(0x1ba)]({'attributes':{'class':['ck',_0x161e36(0x17f),_0x161e36(0x1a6),_0x161e36(0x16e)]}}),_0x133e0d[_0x161e36(0x196)](_0x207d2c=>{const _0x12a42a=_0x161e36,_0x2e6a3f=new _0x35e844(this[_0x12a42a(0x15d)]),_0x35a23a=_0x459ac1({'editor':_0x39f7c4,'action':_0x207d2c,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x12a42a(0x15b)]()})();_0x2e6a3f[_0x12a42a(0x18e)][_0x12a42a(0x18d)](_0x35a23a),_0x394c60[_0x12a42a(0x16f)][_0x12a42a(0x18d)](_0x35a23a),_0x38f9e9[_0x12a42a(0x166)][_0x12a42a(0x18d)](_0x2e6a3f);}),_0x38f9e9;}[_0x4eec1e(0x194)](_0x2c7cc2,_0x423aea){const _0x24d456=_0x4eec1e,_0x1a89ab=_0x2c7cc2[_0x24d456(0x1b4)],_0x3bcc10=this[_0x24d456(0x187)](_0x2c7cc2);_0x2c7cc2[_0x24d456(0x1ba)]({'attributes':{'class':[_0x24d456(0x158)]},'on':{'mouseenter':_0x1a89ab['to'](()=>{const _0x52c6af=_0x24d456;this[_0x52c6af(0x1a7)](_0x423aea,_0x2c7cc2);}),'mouseleave':_0x1a89ab['to'](_0x232ddf=>{const _0x3c2cf4=_0x24d456,_0x25ac7e=_0x232ddf[_0x3c2cf4(0x1d7)];this[_0x3c2cf4(0x1d0)](_0x25ac7e,_0x423aea)||this[_0x3c2cf4(0x195)](_0x423aea);}),'keydown':_0x1a89ab['to'](_0x586eb7=>{const _0x93508a=_0x24d456;_0x586eb7[_0x93508a(0x1c7)]==_0x3bcc10&&(this[_0x93508a(0x1a7)](_0x423aea,_0x2c7cc2),_0x423aea[_0x93508a(0x190)][_0x93508a(0x19a)](0x0)[_0x93508a(0x1b7)]());})}}),_0x423aea['on'](_0x24d456(0x193),()=>{const _0x37c073=_0x24d456;_0x423aea[_0x37c073(0x162)]?.[_0x37c073(0x160)](_0x37c073(0x163),_0x5cda87=>{const _0x58564e=_0x37c073,_0x31e7c5=_0x5cda87[_0x58564e(0x1d7)];_0x2c7cc2[_0x58564e(0x162)]?.[_0x58564e(0x174)](_0x31e7c5)||this[_0x58564e(0x1d0)](_0x31e7c5,_0x423aea)||this[_0x58564e(0x195)](_0x423aea);});});}[_0x4eec1e(0x1a7)](_0x564942,_0x2dc7d2){const _0x428a72=_0x4eec1e;this[_0x428a72(0x15a)][_0x428a72(0x196)](_0x37fd83=>{const _0x460517=_0x428a72;_0x37fd83!==_0x564942&&_0x37fd83[_0x460517(0x1b8)]&&_0x37fd83[_0x460517(0x1c3)]();}),_0x564942[_0x428a72(0x185)](),_0x564942[_0x428a72(0x171)]({'positions':[_0x5d4a51[_0x428a72(0x1a2)]],'target':_0x2dc7d2[_0x428a72(0x162)],'fitInViewport':!0x0}),this[_0x428a72(0x15a)][_0x428a72(0x18d)](_0x564942);}[_0x4eec1e(0x195)](_0x1d79a3){const _0x2ccb87=_0x4eec1e;_0x1d79a3[_0x2ccb87(0x1c3)](),this[_0x2ccb87(0x15a)][_0x2ccb87(0x1b3)](_0x1d79a3);}[_0x4eec1e(0x15c)](){const _0x41c630=_0x4eec1e;this[_0x41c630(0x15a)][_0x41c630(0x196)](_0x1551da=>_0x1551da[_0x41c630(0x1c3)]()),this[_0x41c630(0x15a)][_0x41c630(0x1a5)]();}[_0x4eec1e(0x1d0)](_0x4a26e1,_0x29943b){const _0x22b292=_0x4eec1e;if(!_0x4a26e1)return!0x1;if(_0x29943b[_0x22b292(0x162)]?.[_0x22b292(0x174)](_0x4a26e1))return!0x0;const _0x149006=_0x4a26e1;return _0x149006[_0x22b292(0x198)]&&(null!==_0x149006[_0x22b292(0x198)](_0x22b292(0x180))||null!==_0x149006[_0x22b292(0x198)](_0x22b292(0x17c))||null!==_0x149006[_0x22b292(0x198)](_0x22b292(0x181)));}[_0x4eec1e(0x1cf)](){const _0x12d4bf=_0x4eec1e;this[_0x12d4bf(0x1b5)]&&this[_0x12d4bf(0x1b5)][_0x12d4bf(0x1cd)]();}[_0x4eec1e(0x1ca)](){const _0x2d7889=_0x4eec1e;this[_0x2d7889(0x15c)](),this[_0x2d7889(0x16b)][_0x2d7889(0x1af)](),super[_0x2d7889(0x1ca)]();}[_0x4eec1e(0x1b7)](){const _0x551657=_0x4eec1e;this[_0x551657(0x1b5)]?this[_0x551657(0x1b5)][_0x551657(0x1b7)]():this[_0x551657(0x199)][_0x551657(0x1b7)]();}[_0x4eec1e(0x18f)](_0x1dd9fd){const _0x12f6dc=_0x4eec1e;return _0x12f6dc(0x19d)===_0x1dd9fd[_0x12f6dc(0x15d)][_0x12f6dc(0x1b6)]?_0x12f6dc(0x1d4):_0x12f6dc(0x18c);}[_0x4eec1e(0x187)](_0x1310c4){const _0x4dd9ae=_0x4eec1e;return _0x4dd9ae(0x19d)===_0x1310c4[_0x4dd9ae(0x15d)][_0x4dd9ae(0x1b6)]?_0x4dd9ae(0x18c):_0x4dd9ae(0x1d4);}[_0x4eec1e(0x173)](_0x2ab881,_0x137e1f,_0x373e65,_0x4514ac){const _0x44df87=_0x4eec1e;_0x2ab881[_0x44df87(0x1c7)]==_0x137e1f&&(_0x373e65[_0x44df87(0x1b7)](),this[_0x44df87(0x195)](_0x4514ac));}[_0x4eec1e(0x157)](_0x598019){const _0x136d20=_0x4eec1e;_0x598019[_0x136d20(0x161)](_0x136d20(0x169));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2311a0,_0x2ee6cf){const _0x52f63e=_0x1b4d,_0xbc8532=_0x2311a0();while(!![]){try{const _0x2006b1=-parseInt(_0x52f63e(0x166))/0x1*(parseInt(_0x52f63e(0x16a))/0x2)+parseInt(_0x52f63e(0x14e))/0x3+parseInt(_0x52f63e(0x154))/0x4+parseInt(_0x52f63e(0x15c))/0x5*(parseInt(_0x52f63e(0x151))/0x6)+-parseInt(_0x52f63e(0x155))/0x7*(parseInt(_0x52f63e(0x14b))/0x8)+parseInt(_0x52f63e(0x15a))/0x9*(-parseInt(_0x52f63e(0x164))/0xa)+parseInt(_0x52f63e(0x152))/0xb*(parseInt(_0x52f63e(0x14a))/0xc);if(_0x2006b1===_0x2ee6cf)break;else _0xbc8532['push'](_0xbc8532['shift']());}catch(_0x32f4db){_0xbc8532['push'](_0xbc8532['shift']());}}}(_0x31ce,0x64276));import{createDropdown as _0x2a16d1}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3830c9}from'@ckeditor/ckeditor5-icons';function _0x1b4d(_0x2529f5,_0x373795){const _0x31cecc=_0x31ce();return _0x1b4d=function(_0x1b4da1,_0x504d57){_0x1b4da1=_0x1b4da1-0x147;let _0x5512d7=_0x31cecc[_0x1b4da1];return _0x5512d7;},_0x1b4d(_0x2529f5,_0x373795);}import{AIQuickActionsDropdownContentView as _0x4a0d31}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x10a52a}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x16797b){const {editor:_0x23709c,content:_0x2d7458,buttonDefinition:_0x40dabd,bodyCollection:_0x480e8b,hasSearch:_0x524157=!0x1}=_0x16797b;return()=>{const _0xe1daab=_0x1b4d,_0x3bb9bf=_0x23709c[_0xe1daab(0x147)],_0x212fb6=_0x2a16d1(_0x3bb9bf);_0x212fb6[_0xe1daab(0x15e)][_0xe1daab(0x163)]({'icon':_0x40dabd[_0xe1daab(0x169)]??_0x3830c9,'label':_0x40dabd[_0xe1daab(0x159)],'tooltip':!0x0}),_0x212fb6[_0xe1daab(0x163)]({'class':_0xe1daab(0x150)});const _0x574cc6=new _0x4a0d31(_0x23709c,_0x2d7458,_0x212fb6,_0x480e8b,_0x524157);if(_0x212fb6[_0xe1daab(0x156)][_0xe1daab(0x15f)][_0xe1daab(0x161)](_0x574cc6),_0x524157){const _0x355881=_0xe1daab(0x15b);_0x212fb6['on'](_0xe1daab(0x158),(_0x11576b,_0x91a3df,_0x490da0)=>{const _0x27fc50=_0xe1daab;if(_0x490da0){if(_0x23709c[_0x27fc50(0x14c)][_0x27fc50(0x157)](_0x27fc50(0x165))){const _0x141fdc=_0x23709c[_0x27fc50(0x14c)][_0x27fc50(0x168)](_0x10a52a),_0x1790b1=_0x23709c[_0x27fc50(0x162)][_0x27fc50(0x149)][_0x27fc50(0x167)],_0x5e8c15=Array[_0x27fc50(0x14d)](_0x1790b1[_0x27fc50(0x15d)]());_0x5e8c15[_0x27fc50(0x153)]>0x0&&_0x141fdc[_0x27fc50(0x160)](_0x5e8c15,_0x355881,!0x1,!0x0);}}else _0x23709c[_0x27fc50(0x14c)][_0x27fc50(0x157)](_0x27fc50(0x165))&&_0x23709c[_0x27fc50(0x14c)][_0x27fc50(0x168)](_0x10a52a)[_0x27fc50(0x148)](_0x355881),_0x574cc6[_0x27fc50(0x14f)]();});}return _0x212fb6;};}function _0x31ce(){const _0x45e4c9=['length','1303964liOjJk','224413nZOExc','panelView','has','change:isOpen','label','4186503hCaNTH','ai-quick-actions-dropdown-selection','694205wTocgR','getRanges','buttonView','children','showFakeVisualSelection','add','model','set','10NRfJml','AIEditing','751663oxaMFo','selection','get','icon','2tmvsrY','locale','hideFakeVisualSelection','document','48kAkKcv','128NWAqBC','plugins','from','860562VxWAhs','resetSearch','ck-ai-quick-actions-dropdown','18CiFeTE','3054249uigkIh'];_0x31ce=function(){return _0x45e4c9;};return _0x31ce();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x2e63(){const _0xcf6bef=['groupLabel','2372384GGxIEg','clear','addMany','source','label','2oyBtZz','toLowerCase','_allSearchableItems','135367CWaUAK','item','map','90FARIrl','_highlightQuery','1553709hlIpnz','forEach','2550717aQTKDR','1108811dFNxcX','_allListItems','5382RehhYx','4XxhIlM','highlightText','_clearHighlight','sort','highlightViews','filter','includes','195GufAGb','length','trim','function','items','962648IFwMvI'];_0x2e63=function(){return _0xcf6bef;};return _0x2e63();}const _0x30f5db=_0x1809;function _0x1809(_0x3debec,_0x4cd913){const _0x2e6394=_0x2e63();return _0x1809=function(_0x1809c8,_0x31611c){_0x1809c8=_0x1809c8-0xbb;let _0x51c83c=_0x2e6394[_0x1809c8];return _0x51c83c;},_0x1809(_0x3debec,_0x4cd913);}(function(_0xd3afaa,_0x153eb2){const _0x252186=_0x1809,_0x55de03=_0xd3afaa();while(!![]){try{const _0x13b19a=-parseInt(_0x252186(0xbd))/0x1*(parseInt(_0x252186(0xdb))/0x2)+-parseInt(_0x252186(0xc2))/0x3*(parseInt(_0x252186(0xc8))/0x4)+-parseInt(_0x252186(0xcf))/0x5*(parseInt(_0x252186(0xc7))/0x6)+-parseInt(_0x252186(0xd6))/0x7+parseInt(_0x252186(0xd4))/0x8+parseInt(_0x252186(0xc4))/0x9+parseInt(_0x252186(0xc0))/0xa*(parseInt(_0x252186(0xc5))/0xb);if(_0x13b19a===_0x153eb2)break;else _0x55de03['push'](_0x55de03['shift']());}catch(_0xaaa572){_0x55de03['push'](_0x55de03['shift']());}}}(_0x2e63,0x4548c));import{ListView as _0x322ef7}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x19918b}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x322ef7{[_0x30f5db(0xc6)];[_0x30f5db(0xbc)];constructor(_0x1931f7,_0x9c161,_0x145fd9){const _0x464d39=_0x30f5db;super(_0x1931f7),this[_0x464d39(0xc6)]=_0x9c161,this[_0x464d39(0xbc)]=_0x145fd9;}[_0x30f5db(0xcd)](_0x2823f1){const _0x58c14a=_0x30f5db;if(!_0x2823f1)return this[_0x58c14a(0xd3)][_0x58c14a(0xd7)](),this[_0x58c14a(0xd3)][_0x58c14a(0xd8)](this[_0x58c14a(0xc6)]),this[_0x58c14a(0xca)](),{'resultsCount':this[_0x58c14a(0xc6)][_0x58c14a(0xd0)],'totalItemsCount':this[_0x58c14a(0xc6)][_0x58c14a(0xd0)]};const _0x2c8f02=_0x2823f1[_0x58c14a(0xd9)][_0x58c14a(0xbb)]()[_0x58c14a(0xd1)](),_0x4f9734=this[_0x58c14a(0xbc)][_0x58c14a(0xcd)](_0x1eaa27=>(_0x1eaa27[_0x58c14a(0xd5)]?_0x1eaa27[_0x58c14a(0xda)]+'\x20('+_0x1eaa27[_0x58c14a(0xd5)]+')':_0x1eaa27[_0x58c14a(0xda)])[_0x58c14a(0xbb)]()[_0x58c14a(0xce)](_0x2c8f02));return this[_0x58c14a(0xd3)][_0x58c14a(0xd7)](),this[_0x58c14a(0xd3)][_0x58c14a(0xd8)](_0x4f9734[_0x58c14a(0xcb)]((_0x1f85e1,_0x509fb1)=>{const _0x437507=_0x58c14a,_0x3255ce=_0x1f85e1[_0x437507(0xd5)],_0x1cc6c0=_0x509fb1[_0x437507(0xd5)];return _0x3255ce||_0x1cc6c0?_0x3255ce?0x1:-0x1:0x0;})[_0x58c14a(0xbf)](_0x184d07=>_0x184d07[_0x58c14a(0xbe)])),this[_0x58c14a(0xc1)](_0x2c8f02,_0x4f9734),{'resultsCount':_0x4f9734[_0x58c14a(0xd0)],'totalItemsCount':this[_0x58c14a(0xbc)][_0x58c14a(0xd0)]};}[_0x30f5db(0xc1)](_0x1662e7,_0x59ac73){const _0x36cf0f=_0x30f5db;if(!_0x1662e7)return;const _0x1d98b5=new RegExp(_0x19918b(_0x1662e7),'gi');_0x59ac73[_0x36cf0f(0xc3)](_0x49e931=>{const _0x1ae81b=_0x36cf0f;_0x49e931[_0x1ae81b(0xcc)]&&_0x49e931[_0x1ae81b(0xcc)][_0x1ae81b(0xc3)](_0x2bd26e=>{const _0x42a67a=_0x1ae81b;_0x42a67a(0xd2)==typeof _0x2bd26e[_0x42a67a(0xc9)]&&_0x2bd26e[_0x42a67a(0xc9)](_0x1d98b5);});});}[_0x30f5db(0xca)](){const _0x3ec2a5=_0x30f5db;this[_0x3ec2a5(0xbc)][_0x3ec2a5(0xc3)](_0x30274a=>{const _0x504813=_0x3ec2a5;_0x30274a[_0x504813(0xcc)]&&_0x30274a[_0x504813(0xcc)][_0x504813(0xc3)](_0x1d7501=>{const _0x39d953=_0x504813;_0x39d953(0xd2)==typeof _0x1d7501[_0x39d953(0xc9)]&&_0x1d7501[_0x39d953(0xc9)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x1f6c(_0xf401db,_0x4241c4){var _0x3d5977=_0x3d59();return _0x1f6c=function(_0x1f6cad,_0x10c24d){_0x1f6cad=_0x1f6cad-0x6f;var _0x45ac40=_0x3d5977[_0x1f6cad];return _0x45ac40;},_0x1f6c(_0xf401db,_0x4241c4);}(function(_0x5cc1cd,_0x39cdfe){var _0x54492c=_0x1f6c,_0xf1ad60=_0x5cc1cd();while(!![]){try{var _0x52374f=parseInt(_0x54492c(0x7b))/0x1+-parseInt(_0x54492c(0x77))/0x2*(-parseInt(_0x54492c(0x74))/0x3)+parseInt(_0x54492c(0x70))/0x4+-parseInt(_0x54492c(0x78))/0x5*(-parseInt(_0x54492c(0x71))/0x6)+-parseInt(_0x54492c(0x73))/0x7+-parseInt(_0x54492c(0x79))/0x8*(-parseInt(_0x54492c(0x76))/0x9)+parseInt(_0x54492c(0x7e))/0xa*(-parseInt(_0x54492c(0x7c))/0xb);if(_0x52374f===_0x39cdfe)break;else _0xf1ad60['push'](_0xf1ad60['shift']());}catch(_0x3bc425){_0xf1ad60['push'](_0xf1ad60['shift']());}}}(_0x3d59,0x6f980));function _0x3d59(){var _0x3b1101=['109138rrUsKE','11dCXCQG','AI_DISCLAIMER_TEXT','12906890fokDIQ','ck-ai-balloon__disclaimer','2836844NyYoZu','20670zxDtMr','div','1742279sGRPSq','348717PKCick','setTemplate','18OVeqky','10JFmaoo','420jcRJvn','1231000mNoqmI','ck-ai-balloon__disclaimer-content'];_0x3d59=function(){return _0x3b1101;};return _0x3d59();}import{View as _0x43ae66}from'ckeditor5/src/ui.js';import{getTranslation as _0x2bf47f}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonDisclaimerView extends _0x43ae66{constructor(_0x43d3ef){var _0x57854e=_0x1f6c;super(_0x43d3ef),this[_0x57854e(0x75)]({'tag':_0x57854e(0x72),'attributes':{'class':['ck',_0x57854e(0x6f)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x57854e(0x7a)]},'children':[{'text':_0x2bf47f(_0x43d3ef,_0x57854e(0x7d))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53799d=_0x1c09;(function(_0x65504f,_0x1700cc){const _0x341a79=_0x1c09,_0x4244c0=_0x65504f();while(!![]){try{const _0x59dde3=parseInt(_0x341a79(0x1ec))/0x1+-parseInt(_0x341a79(0x1f7))/0x2+-parseInt(_0x341a79(0x1dd))/0x3*(-parseInt(_0x341a79(0x1f1))/0x4)+-parseInt(_0x341a79(0x1e7))/0x5+parseInt(_0x341a79(0x1f0))/0x6*(parseInt(_0x341a79(0x1ee))/0x7)+parseInt(_0x341a79(0x1e9))/0x8*(-parseInt(_0x341a79(0x1f3))/0x9)+parseInt(_0x341a79(0x1f6))/0xa;if(_0x59dde3===_0x1700cc)break;else _0x4244c0['push'](_0x4244c0['shift']());}catch(_0x3d5242){_0x4244c0['push'](_0x4244c0['shift']());}}}(_0xa518,0xe05f7));import{ToolbarView as _0x57118b,ButtonView as _0x3d034d}from'ckeditor5/src/ui.js';function _0x1c09(_0xc8d0eb,_0x5c9271){const _0xa51835=_0xa518();return _0x1c09=function(_0x1c0926,_0x12c588){_0x1c0926=_0x1c0926-0x1dd;let _0x2e1093=_0xa51835[_0x1c0926];return _0x2e1093;},_0x1c09(_0xc8d0eb,_0x5c9271);}function _0xa518(){const _0x44420b=['setButtonsVisibility','8487190fOKDvw','3487018jEvwJb','1611UnxXvy','locale','set','ck-ai-button-primary','ck-ai-balloon__toolbar','add','applyButton','extendTemplate','bind','isEnabled','2088395ERlHKi','AI_BALLOON_APPLY_BUTTON','88896KPhdAk','isVisible','ck-ai-button-secondary','1485610ewXTSB','_createButton','9674suTuds','suggestButton','4266qJYGnH','5024YyAtfz','items','738skadwn','AI_BALLOON_SUGGEST_BUTTON'];_0xa518=function(){return _0x44420b;};return _0xa518();}import{getTranslation as _0x36c794}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonToolbarView extends _0x57118b{constructor(_0x193fc6,_0x238dc1=!0x0,_0x338223=!0x0){const _0x347f51=_0x1c09;super(_0x193fc6),this[_0x347f51(0x1df)](_0x347f51(0x1e6),!0x1),_0x238dc1&&(this[_0x347f51(0x1e3)]=this[_0x347f51(0x1ed)](_0x36c794(_0x193fc6,_0x347f51(0x1e8)),_0x347f51(0x1e0)),this[_0x347f51(0x1e3)][_0x347f51(0x1e5)](_0x347f51(0x1e6))['to'](this),this[_0x347f51(0x1f2)][_0x347f51(0x1e2)](this[_0x347f51(0x1e3)])),_0x338223&&(this[_0x347f51(0x1ef)]=this[_0x347f51(0x1ed)](_0x36c794(_0x193fc6,_0x347f51(0x1f4)),_0x238dc1?_0x347f51(0x1eb):_0x347f51(0x1e0)),this[_0x347f51(0x1ef)][_0x347f51(0x1e5)](_0x347f51(0x1e6))['to'](this),this[_0x347f51(0x1f2)][_0x347f51(0x1e2)](this[_0x347f51(0x1ef)])),this[_0x347f51(0x1f5)]({'showApplyButton':_0x238dc1,'showSuggestButton':_0x338223}),this[_0x347f51(0x1e4)]({'attributes':{'class':[_0x347f51(0x1e1)]}});}[_0x53799d(0x1f5)]({showApplyButton:_0x224ed2,showSuggestButton:_0x365ccc}){const _0x103537=_0x53799d;this[_0x103537(0x1e3)]&&(this[_0x103537(0x1e3)][_0x103537(0x1ea)]=_0x224ed2),this[_0x103537(0x1ef)]&&(this[_0x103537(0x1ef)][_0x103537(0x1ea)]=_0x365ccc);}[_0x53799d(0x1ed)](_0x4d587c,_0x3b2024){const _0x247f79=_0x53799d,_0x3507a9=new _0x3d034d(this[_0x247f79(0x1de)]);return _0x3507a9[_0x247f79(0x1df)]({'label':_0x4d587c,'class':_0x3b2024,'isVisible':!0x0,'withText':!0x0}),_0x3507a9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x449ff4=_0x5ed3;(function(_0xa1893a,_0x7f26c3){const _0x9d6a1c=_0x5ed3,_0x58294c=_0xa1893a();while(!![]){try{const _0x39c0c4=-parseInt(_0x9d6a1c(0x23d))/0x1+-parseInt(_0x9d6a1c(0x1f5))/0x2+parseInt(_0x9d6a1c(0x22f))/0x3*(-parseInt(_0x9d6a1c(0x1fc))/0x4)+-parseInt(_0x9d6a1c(0x1ff))/0x5+parseInt(_0x9d6a1c(0x1d2))/0x6*(-parseInt(_0x9d6a1c(0x23e))/0x7)+parseInt(_0x9d6a1c(0x204))/0x8*(-parseInt(_0x9d6a1c(0x1f8))/0x9)+parseInt(_0x9d6a1c(0x214))/0xa;if(_0x39c0c4===_0x7f26c3)break;else _0x58294c['push'](_0x58294c['shift']());}catch(_0x4d020a){_0x58294c['push'](_0x58294c['shift']());}}}(_0x1c62,0x86a99));import{ViewCollection as _0x46436e,FocusCycler as _0x4ebc88,ButtonView as _0x35997e,View as _0x6c4d05}from'ckeditor5/src/ui.js';import{FocusTracker as _0x33ccdd,KeystrokeHandler as _0x53771d}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x3a7cdb}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x1233c2}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x376890}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x3d0717}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x206f27}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x181689}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';function _0x5ed3(_0x399638,_0xa01a88){const _0x1c62ed=_0x1c62();return _0x5ed3=function(_0x5ed3de,_0xd0958b){_0x5ed3de=_0x5ed3de-0x1c9;let _0x3add84=_0x1c62ed[_0x5ed3de];return _0x3add84;},_0x5ed3(_0x399638,_0xa01a88);}import{AISuggestionStreamableContentView as _0x435255}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x19119b,IconPreviousArrow as _0x376cd5,IconRefresh as _0x2122fe}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x17f886}from'../../../aicore/utils/common-translations.js';function _0x1c62(){const _0x5b8515=['AI_ACTIONS_TRY_AGAIN','insertSuggestion','add','remove','applyButton','resetShowChangesButton','isVisible','addMiniToolbarItem','_focusTracker','toggleShowChanges','stopAutoScroll','toggleIsLoading','bindTemplate','_disclaimerView','locale','suggestButton','render','showNext','_dialogContent','AI_ACTIONS_NEXT_INTERACTION','_contentWrapper','_streamableContentView','setInteractionCount','focusFirst','startAutoScroll','_scrollManager','items','isShowChangesOn','fire','showPrevious','_setupMiniToolbarButtons','202056PYxUXX','setTemplate','ck-ai-navigation-button\x20ck-ai-next-button','9dUoccz','change:isTrackChangesOn','ck-ai-navigation-button\x20ck-ai-previous-button','stop','4lEXqoI','_navigationPreviousButton','ck-ai-actions-balloon-main','4758100MutWIc','_initializeScrollManager','_loaderView','listenTo','_isLoading','7008128QqWrAD','_navigationTryAgainButton','miniToolbarConfig','addMany','disableMiniToolbarButtons','updateMiniToolbarButtons','removeMiniToolbarItem','delegate','isBusy','_focusables','ck-ai-actions-balloon-content','applySuggestion','update','interactionCount','set','1/1','41220070qzODmW','_keystrokes','_hasError','isTrackChangesOn','clearContent','AI_ACTIONS_PREVIOUS_INTERACTION','_addDisclaimerView','bind','has','destroy','focus','showLoader','execute','_miniToolbarView','_toolbarView','_navigationCounter','tab','setButtonsVisibility','_createLoaderView','span','focusCycler','_addToolbar','_createStreamableContentView','_getScrollableElement','showBlockingError','_config','updateContent','1632675LCKtfl','ck-ai-interaction-counter','hideLoader','toggleShowChangesEnabled','tryAgain','includes','ck-ai-custom-action-button','_addContentWrapper','_navigationNextButton','availableActions','ck-ai-actions-balloon-content-wrapper','element','focusLast','div','1087233RjMdqh','12026mPXzYc','shift\x20+\x20tab','hideError','clearErrorState','createCollection','showError','start','_createMiniToolbar','_toggleToolbarButtonsVisibility','clear','setIsLoading','isEnabled','36ZqMXhh','toggleSuggestionDisplayMode','setErrorState','_errorView'];_0x1c62=function(){return _0x5b8515;};return _0x1c62();}import{AIBalloonView as _0x318d48}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x449ff4(0x20f),_0x449ff4(0x1d7)];export class AIActionsBalloonView extends _0x318d48{[_0x449ff4(0x228)];[_0x449ff4(0x22d)];[_0x449ff4(0x1ea)];[_0x449ff4(0x1eb)];[_0x449ff4(0x222)];[_0x449ff4(0x221)];[_0x449ff4(0x201)];[_0x449ff4(0x1e3)];[_0x449ff4(0x1de)];[_0x449ff4(0x215)];[_0x449ff4(0x1e8)];[_0x449ff4(0x20d)];[_0x449ff4(0x1ef)];[_0x449ff4(0x1fd)];[_0x449ff4(0x237)];[_0x449ff4(0x205)];[_0x449ff4(0x223)];constructor(_0x48d253,_0x177dd8){const _0x47f779=_0x449ff4;super(_0x48d253),this[_0x47f779(0x212)](_0x47f779(0x20c),!0x1),this[_0x47f779(0x212)](_0x47f779(0x217),!0x1),this[_0x47f779(0x212)](_0x47f779(0x203),!0x1),this[_0x47f779(0x212)](_0x47f779(0x216),!0x1),this[_0x47f779(0x22d)]=_0x177dd8,this[_0x47f779(0x1de)]=new _0x33ccdd(),this[_0x47f779(0x215)]=new _0x53771d(),this[_0x47f779(0x20d)]=this[_0x47f779(0x1ca)](),this[_0x47f779(0x228)]=new _0x4ebc88({'focusables':this[_0x47f779(0x20d)],'focusTracker':this[_0x47f779(0x1de)],'keystrokeHandler':this[_0x47f779(0x215)],'actions':{'focusPrevious':_0x47f779(0x23f),'focusNext':_0x47f779(0x224)}}),this[_0x47f779(0x1e8)]=new _0x46436e(),this[_0x47f779(0x236)](_0x177dd8),this[_0x47f779(0x21a)](),this[_0x47f779(0x229)](_0x177dd8),this[_0x47f779(0x20d)][_0x47f779(0x1cf)](),this[_0x47f779(0x20d)][_0x47f779(0x207)]([this[_0x47f779(0x222)]]),this[_0x47f779(0x1f6)]({'tag':_0x47f779(0x23c),'attributes':{'class':[_0x47f779(0x1fe)]},'children':this[_0x47f779(0x1e8)]}),this['on'](_0x47f779(0x1f9),()=>{const _0x5d14aa=_0x47f779;this[_0x5d14aa(0x1ce)](_0x177dd8);});}[_0x449ff4(0x1e6)](){const _0x4e20d6=_0x449ff4;super[_0x4e20d6(0x1e6)]();for(const _0x3c17cb of this[_0x4e20d6(0x20d)])this[_0x4e20d6(0x1de)][_0x4e20d6(0x1d8)](_0x3c17cb[_0x4e20d6(0x23a)]);this[_0x4e20d6(0x215)][_0x4e20d6(0x202)](this[_0x4e20d6(0x23a)]),this[_0x4e20d6(0x200)]();}[_0x449ff4(0x21d)](){const _0x2423bb=_0x449ff4;super[_0x2423bb(0x21d)](),this[_0x2423bb(0x1ef)]&&this[_0x2423bb(0x1ef)][_0x2423bb(0x21d)]();}[_0x449ff4(0x21e)](_0xb0cfaa){const _0x1eb122=_0x449ff4;-0x1===_0xb0cfaa?this[_0x1eb122(0x228)][_0x1eb122(0x23b)]():this[_0x1eb122(0x228)][_0x1eb122(0x1ed)]();}[_0x449ff4(0x1d0)](_0x112494){const _0x45e047=_0x449ff4;this[_0x45e047(0x203)]=_0x112494;}[_0x449ff4(0x1d4)](){const _0x243416=_0x449ff4;this[_0x243416(0x216)]=!0x0,this[_0x243416(0x221)][_0x243416(0x232)](!0x1);}[_0x449ff4(0x1c9)](){const _0x32d6ec=_0x449ff4;this[_0x32d6ec(0x216)]=!0x1,this[_0x32d6ec(0x221)][_0x32d6ec(0x232)](!0x0);}[_0x449ff4(0x1cb)](_0x528b86){const _0x378df1=_0x449ff4;super[_0x378df1(0x1cb)](_0x528b86),this[_0x378df1(0x1e8)][_0x378df1(0x21c)](this[_0x378df1(0x1d5)])||this[_0x378df1(0x1e8)][_0x378df1(0x1d8)](this[_0x378df1(0x1d5)],0x0);}[_0x449ff4(0x240)](){const _0x2ee9dc=_0x449ff4;super[_0x2ee9dc(0x240)](),this[_0x2ee9dc(0x1c9)]();}[_0x449ff4(0x22c)](_0x222a77){const _0x86ea10=_0x449ff4;super[_0x86ea10(0x22c)](_0x222a77),this[_0x86ea10(0x1d4)]();}[_0x449ff4(0x1dd)](_0xc1954d){const _0x307b9a=_0x449ff4;this[_0x307b9a(0x221)][_0x307b9a(0x1f0)][_0x307b9a(0x21c)](_0xc1954d)||this[_0x307b9a(0x221)][_0x307b9a(0x1f0)][_0x307b9a(0x1d8)](_0xc1954d);}[_0x449ff4(0x20a)](_0x4203bc){const _0x4c5b92=_0x449ff4;this[_0x4c5b92(0x221)][_0x4c5b92(0x1f0)][_0x4c5b92(0x21c)](_0x4203bc)&&this[_0x4c5b92(0x221)][_0x4c5b92(0x1f0)][_0x4c5b92(0x1d9)](_0x4203bc);}[_0x449ff4(0x21f)](){const _0x30f180=_0x449ff4;this[_0x30f180(0x201)]&&(this[_0x30f180(0x203)]=!0x0);}[_0x449ff4(0x231)](){const _0x25143a=_0x449ff4;this[_0x25143a(0x201)]&&(this[_0x25143a(0x203)]=!0x1);}[_0x449ff4(0x1ce)]({showApplyButton:_0x30e1a3,showSuggestButton:_0x2909d9}){const _0x3108a6=_0x449ff4;_0x30e1a3=_0x30e1a3&&!this[_0x3108a6(0x217)]&&this[_0x3108a6(0x22d)][_0x3108a6(0x238)][_0x3108a6(0x234)](_0x3108a6(0x20f)),_0x2909d9=_0x2909d9&&this[_0x3108a6(0x22d)][_0x3108a6(0x238)][_0x3108a6(0x234)](_0x3108a6(0x1d7)),this[_0x3108a6(0x222)][_0x3108a6(0x225)]({'showApplyButton':_0x30e1a3,'showSuggestButton':_0x2909d9});}async[_0x449ff4(0x22e)](_0x372065){const _0x29f592=_0x449ff4;await this[_0x29f592(0x1eb)][_0x29f592(0x210)](_0x372065);}[_0x449ff4(0x218)](){const _0x2228af=_0x449ff4;this[_0x2228af(0x1eb)][_0x2228af(0x1cf)]();}[_0x449ff4(0x236)](_0x3d104a){const _0x1b5d1f=_0x449ff4;this[_0x1b5d1f(0x1ea)]=new _0x6c4d05(this[_0x1b5d1f(0x1e4)]),this[_0x1b5d1f(0x1ea)][_0x1b5d1f(0x1f6)]({'tag':_0x1b5d1f(0x23c),'attributes':{'class':[_0x1b5d1f(0x20e)]},'children':[{'tag':_0x1b5d1f(0x23c),'attributes':{'class':[_0x1b5d1f(0x239)]},'children':[this[_0x1b5d1f(0x226)](),this[_0x1b5d1f(0x22a)]()]},this[_0x1b5d1f(0x1cd)](_0x3d104a[_0x1b5d1f(0x206)])]}),this[_0x1b5d1f(0x1e8)][_0x1b5d1f(0x1d8)](this[_0x1b5d1f(0x1ea)]);}[_0x449ff4(0x21a)](){const _0x5cf6b8=_0x449ff4;this[_0x5cf6b8(0x1e3)]=new _0x1233c2(this[_0x5cf6b8(0x1e4)]),this[_0x5cf6b8(0x1e8)][_0x5cf6b8(0x1d8)](this[_0x5cf6b8(0x1e3)]);}[_0x449ff4(0x229)]({showApplyButton:_0x4861d8,showSuggestButton:_0x3b0f0f}){const _0x13ee73=_0x449ff4;this[_0x13ee73(0x222)]=new _0x3a7cdb(this[_0x13ee73(0x1e4)],_0x4861d8,_0x3b0f0f),this[_0x13ee73(0x222)][_0x13ee73(0x1da)]?.['on'](_0x13ee73(0x220),()=>{const _0x517307=_0x13ee73;this[_0x517307(0x1f2)](_0x517307(0x20f));}),this[_0x13ee73(0x222)][_0x13ee73(0x1e5)]?.['on'](_0x13ee73(0x220),()=>{const _0x169085=_0x13ee73;this[_0x169085(0x1f2)](_0x169085(0x1d7));}),this[_0x13ee73(0x222)][_0x13ee73(0x21b)](_0x13ee73(0x1d1))['to'](this,_0x13ee73(0x20c),this,_0x13ee73(0x203),this,_0x13ee73(0x216),(_0x5ae1e4,_0x579419,_0x41deda)=>!(_0x5ae1e4||_0x579419||_0x41deda)),this[_0x13ee73(0x1ce)]({'showApplyButton':_0x4861d8,'showSuggestButton':_0x3b0f0f}),this[_0x13ee73(0x1e8)][_0x13ee73(0x1d8)](this[_0x13ee73(0x222)]);}[_0x449ff4(0x1cd)](_0x274038){const _0x51585c=_0x449ff4;return this[_0x51585c(0x221)]=new _0x3d0717(this[_0x51585c(0x1e4)],_0x274038),this[_0x51585c(0x221)][_0x51585c(0x20b)](..._0x206f27)['to'](this),this[_0x51585c(0x221)]['on'](_0x51585c(0x1df),()=>{const _0x1f4db1=_0x51585c;this[_0x1f4db1(0x221)][_0x1f4db1(0x1f1)]=!this[_0x1f4db1(0x221)][_0x1f4db1(0x1f1)],this[_0x1f4db1(0x1f2)](_0x1f4db1(0x1d3),{'showDiff':this[_0x1f4db1(0x221)][_0x1f4db1(0x1f1)]});}),this[_0x51585c(0x221)][_0x51585c(0x21b)](_0x51585c(0x1d1))['to'](this,_0x51585c(0x20c),this,_0x51585c(0x203),(_0x1b1a35,_0x35da88)=>!(_0x1b1a35||_0x35da88)),this[_0x51585c(0x221)];}[_0x449ff4(0x226)](){const _0x3a6058=_0x449ff4;return this[_0x3a6058(0x201)]=new _0x181689(this[_0x3a6058(0x1e4)]),this[_0x3a6058(0x201)][_0x3a6058(0x21b)](_0x3a6058(0x1dc))['to'](this,_0x3a6058(0x203)),this[_0x3a6058(0x201)];}[_0x449ff4(0x22a)](){const _0x5874fe=_0x449ff4;return this[_0x5874fe(0x1eb)]=new _0x435255(this[_0x5874fe(0x1e4)]),this[_0x5874fe(0x1eb)];}[_0x449ff4(0x1f4)](){const _0x312e88=_0x449ff4,_0x2b356e=new _0x35997e(this[_0x312e88(0x1e4)]),_0x4e45d1=new _0x35997e(this[_0x312e88(0x1e4)]),_0x4c0970=new Ln(this[_0x312e88(0x1e4)]),_0x565075=new _0x35997e(this[_0x312e88(0x1e4)]);_0x2b356e[_0x312e88(0x212)]({'icon':_0x2122fe,'label':_0x17f886(this[_0x312e88(0x1e4)],_0x312e88(0x1d6)),'tooltip':!0x0,'class':_0x312e88(0x235)}),_0x4e45d1[_0x312e88(0x212)]({'icon':_0x376cd5,'tooltip':_0x17f886(this[_0x312e88(0x1e4)],_0x312e88(0x219)),'class':_0x312e88(0x1fa)}),_0x565075[_0x312e88(0x212)]({'icon':_0x19119b,'tooltip':_0x17f886(this[_0x312e88(0x1e4)],_0x312e88(0x1e9)),'class':_0x312e88(0x1f7)}),_0x2b356e[_0x312e88(0x21b)](_0x312e88(0x1d1))['to'](this,_0x312e88(0x20c),_0x25ee5f=>!_0x25ee5f),_0x2b356e['on'](_0x312e88(0x220),()=>{const _0x38579c=_0x312e88;this[_0x38579c(0x1f2)](_0x38579c(0x233));}),_0x4e45d1[_0x312e88(0x21b)](_0x312e88(0x1d1))['to'](this,_0x312e88(0x20c),_0x5392d8=>!_0x5392d8),_0x4e45d1['on'](_0x312e88(0x220),()=>{const _0x8e3091=_0x312e88;this[_0x8e3091(0x1f2)](_0x8e3091(0x1f3));}),_0x565075[_0x312e88(0x21b)](_0x312e88(0x1d1))['to'](this,_0x312e88(0x20c),_0x2889c8=>!_0x2889c8),_0x565075['on'](_0x312e88(0x220),()=>{const _0x4f6c9e=_0x312e88;this[_0x4f6c9e(0x1f2)](_0x4f6c9e(0x1e7));}),this[_0x312e88(0x1fd)]=_0x4e45d1,this[_0x312e88(0x223)]=_0x4c0970,this[_0x312e88(0x237)]=_0x565075,this[_0x312e88(0x205)]=_0x2b356e;}[_0x449ff4(0x209)](_0x4ae11e,_0x1ef7eb){const _0x435c47=_0x449ff4;this[_0x435c47(0x1fd)]||this[_0x435c47(0x1f4)]();const _0x11b56d=_0x4ae11e>0x1;if(this[_0x435c47(0x1dd)](this[_0x435c47(0x205)]),_0x11b56d){this[_0x435c47(0x1dd)](this[_0x435c47(0x1fd)]),this[_0x435c47(0x1dd)](this[_0x435c47(0x223)]),this[_0x435c47(0x1dd)](this[_0x435c47(0x237)]);const _0x36dfb6=_0x4ae11e-_0x1ef7eb;this[_0x435c47(0x223)][_0x435c47(0x1ec)](_0x36dfb6+'/'+_0x4ae11e),this[_0x435c47(0x1fd)][_0x435c47(0x1d1)]=_0x1ef7eb<_0x4ae11e-0x1,this[_0x435c47(0x237)][_0x435c47(0x1d1)]=_0x1ef7eb>0x0;}else this[_0x435c47(0x20a)](this[_0x435c47(0x1fd)]),this[_0x435c47(0x20a)](this[_0x435c47(0x223)]),this[_0x435c47(0x20a)](this[_0x435c47(0x237)]);}[_0x449ff4(0x208)](){const _0x13de12=_0x449ff4;this[_0x13de12(0x205)][_0x13de12(0x1d1)]=!0x1,this[_0x13de12(0x1fd)][_0x13de12(0x1d1)]=!0x1,this[_0x13de12(0x237)][_0x13de12(0x1d1)]=!0x1;}[_0x449ff4(0x1ee)](){const _0x54c47f=_0x449ff4;this[_0x54c47f(0x200)](),this[_0x54c47f(0x1ef)]&&this[_0x54c47f(0x1ef)][_0x54c47f(0x1cc)]();}[_0x449ff4(0x1e0)](){const _0x150161=_0x449ff4;this[_0x150161(0x1ef)]&&this[_0x150161(0x1ef)][_0x150161(0x1fb)]();}[_0x449ff4(0x1e1)](_0x53e8a2){const _0x22548a=_0x449ff4;this[_0x22548a(0x203)]=_0x53e8a2;}[_0x449ff4(0x1db)](){const _0x586648=_0x449ff4;this[_0x586648(0x221)][_0x586648(0x1f1)]=!0x1;}[_0x449ff4(0x200)](){const _0x99d66c=_0x449ff4,_0x239718=this[_0x99d66c(0x22b)]();_0x239718&&!this[_0x99d66c(0x1ef)]&&(this[_0x99d66c(0x1ef)]=new _0x376890(_0x239718));}[_0x449ff4(0x22b)](){const _0x4a3943=_0x449ff4;return this[_0x4a3943(0x1eb)][_0x4a3943(0x23a)];}}class Ln extends _0x6c4d05{constructor(_0x18e658){const _0x5a9a2a=_0x449ff4;super(_0x18e658);const _0x57ae38=this[_0x5a9a2a(0x1e2)];this[_0x5a9a2a(0x212)](_0x5a9a2a(0x211),_0x5a9a2a(0x213)),this[_0x5a9a2a(0x1f6)]({'tag':_0x5a9a2a(0x227),'attributes':{'class':[_0x5a9a2a(0x230)]},'children':[{'text':_0x57ae38['to'](_0x5a9a2a(0x211))}]});}[_0x449ff4(0x1ec)](_0xd4fff2){const _0x3faf24=_0x449ff4;this[_0x3faf24(0x212)](_0x3faf24(0x211),_0xd4fff2);}}
|
|
23
|
+
const _0x224eea=_0x3efb;(function(_0xeeecb1,_0x1ad771){const _0xda0870=_0x3efb,_0x534434=_0xeeecb1();while(!![]){try{const _0xe91b0=parseInt(_0xda0870(0x1b6))/0x1*(-parseInt(_0xda0870(0x1c8))/0x2)+parseInt(_0xda0870(0x1fa))/0x3*(parseInt(_0xda0870(0x1a5))/0x4)+-parseInt(_0xda0870(0x1c2))/0x5+-parseInt(_0xda0870(0x1d3))/0x6*(-parseInt(_0xda0870(0x1eb))/0x7)+parseInt(_0xda0870(0x1e8))/0x8+parseInt(_0xda0870(0x20a))/0x9+-parseInt(_0xda0870(0x1a9))/0xa;if(_0xe91b0===_0x1ad771)break;else _0x534434['push'](_0x534434['shift']());}catch(_0x18f2c6){_0x534434['push'](_0x534434['shift']());}}}(_0x34bc,0x29d3d));import{ViewCollection as _0xb26f8b,FocusCycler as _0x426db6,ButtonView as _0x4fba18,View as _0x171f90}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1b9f11,KeystrokeHandler as _0x454d60}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x5a0661}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x530772}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x44eeaa}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x1ca934}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x363485}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x9d482e}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x268c6f}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x27158a,IconPreviousArrow as _0x6c249c,IconRefresh as _0x2a0d6c}from'@ckeditor/ckeditor5-icons';function _0x3efb(_0x1cdf02,_0x65cc5a){const _0x34bc49=_0x34bc();return _0x3efb=function(_0x3efbd7,_0x191621){_0x3efbd7=_0x3efbd7-0x193;let _0x58d912=_0x34bc49[_0x3efbd7];return _0x58d912;},_0x3efb(_0x1cdf02,_0x65cc5a);}import{getTranslation as _0x2b10cc}from'../../../aicore/utils/common-translations.js';function _0x34bc(){const _0xf2dbd8=['_addToolbar','clear','setTemplate','focus','set','ck-ai-navigation-button\x20ck-ai-previous-button','toggleIsLoading','_keystrokes','1300372kbQxOU','_streamableContentView','_errorView','_addContentWrapper','2661950nJUcjG','focusCycler','element','change:isTrackChangesOn','_navigationTryAgainButton','AI_ACTIONS_TRY_AGAIN','_toolbarView','toggleShowChanges','tab','ck-ai-actions-balloon-content','_miniToolbarView','_getScrollableElement','_createMiniToolbar','16574eiQjOJ','div','_focusables','stopAutoScroll','_config','stop','tryAgain','ck-ai-navigation-button\x20ck-ai-next-button','_hasError','showPrevious','shift\x20+\x20tab','_disclaimerView','994630EmgNcZ','_scrollManager','destroy','ck-ai-custom-action-button','_navigationPreviousButton','1/1','10bjhsGz','removeMiniToolbarItem','resetShowChangesButton','_createStreamableContentView','addMiniToolbarItem','bind','_setupMiniToolbarButtons','ck-ai-actions-balloon-content-wrapper','applySuggestion','focusLast','showNext','6CRaYvS','isBusy','setErrorState','listenTo','toggleSuggestionDisplayMode','_navigationCounter','add','hideError','isEnabled','render','_dialogContent','span','AI_ACTIONS_NEXT_INTERACTION','suggestButton','showLoader','isTrackChangesOn','_navigationNextButton','createCollection','addMany','_focusTracker','setIsLoading','52600FXaxrf','includes','items','1764469NHXQFJ','update','availableActions','execute','disableMiniToolbarButtons','_createLoaderView','setButtonsVisibility','_toggleToolbarButtonsVisibility','setInteractionCount','has','showError','applyButton','showBlockingError','remove','start','3Hcoyyf','toggleShowChangesEnabled','AI_ACTIONS_PREVIOUS_INTERACTION','ck-ai-interaction-counter','focusFirst','_isLoading','isShowChangesOn','_loaderView','fire','insertSuggestion','locale','delegate','ck-ai-actions-balloon-main','miniToolbarConfig','_addDisclaimerView','_contentWrapper','1220229kcfmYd','updateMiniToolbarButtons','updateContent','hideLoader','startAutoScroll','clearErrorState','_initializeScrollManager','bindTemplate','clearContent','isVisible','interactionCount'];_0x34bc=function(){return _0xf2dbd8;};return _0x34bc();}import{AIBalloonView as _0x13836e}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x224eea(0x1d0),_0x224eea(0x203)];export class AIActionsBalloonView extends _0x13836e{[_0x224eea(0x1aa)];[_0x224eea(0x1ba)];[_0x224eea(0x209)];[_0x224eea(0x1a6)];[_0x224eea(0x1af)];[_0x224eea(0x1b3)];[_0x224eea(0x201)];[_0x224eea(0x1c1)];[_0x224eea(0x1e6)];[_0x224eea(0x1a4)];[_0x224eea(0x1dd)];[_0x224eea(0x1b8)];[_0x224eea(0x1c3)];[_0x224eea(0x1c6)];[_0x224eea(0x1e3)];[_0x224eea(0x1ad)];[_0x224eea(0x1d8)];constructor(_0x33506c,_0x118c6e){const _0x71a51d=_0x224eea;super(_0x33506c),this[_0x71a51d(0x1a1)](_0x71a51d(0x1d4),!0x1),this[_0x71a51d(0x1a1)](_0x71a51d(0x1e2),!0x1),this[_0x71a51d(0x1a1)](_0x71a51d(0x1ff),!0x1),this[_0x71a51d(0x1a1)](_0x71a51d(0x1be),!0x1),this[_0x71a51d(0x1ba)]=_0x118c6e,this[_0x71a51d(0x1e6)]=new _0x1b9f11(),this[_0x71a51d(0x1a4)]=new _0x454d60(),this[_0x71a51d(0x1b8)]=this[_0x71a51d(0x1e4)](),this[_0x71a51d(0x1aa)]=new _0x426db6({'focusables':this[_0x71a51d(0x1b8)],'focusTracker':this[_0x71a51d(0x1e6)],'keystrokeHandler':this[_0x71a51d(0x1a4)],'actions':{'focusPrevious':_0x71a51d(0x1c0),'focusNext':_0x71a51d(0x1b1)}}),this[_0x71a51d(0x1dd)]=new _0xb26f8b(),this[_0x71a51d(0x1a8)](_0x118c6e),this[_0x71a51d(0x208)](),this[_0x71a51d(0x19d)](_0x118c6e),this[_0x71a51d(0x1b8)][_0x71a51d(0x19e)](),this[_0x71a51d(0x1b8)][_0x71a51d(0x1e5)]([this[_0x71a51d(0x1af)]]),this[_0x71a51d(0x19f)]({'tag':_0x71a51d(0x1b7),'attributes':{'class':[_0x71a51d(0x206)]},'children':this[_0x71a51d(0x1dd)]}),this['on'](_0x71a51d(0x1ac),()=>{const _0x238838=_0x71a51d;this[_0x238838(0x1f2)](_0x118c6e);});}[_0x224eea(0x1dc)](){const _0x120372=_0x224eea;super[_0x120372(0x1dc)]();for(const _0x5a4f8d of this[_0x120372(0x1b8)])this[_0x120372(0x1e6)][_0x120372(0x1d9)](_0x5a4f8d[_0x120372(0x1ab)]);this[_0x120372(0x1a4)][_0x120372(0x1d6)](this[_0x120372(0x1ab)]),this[_0x120372(0x198)]();}[_0x224eea(0x1c4)](){const _0x4072ea=_0x224eea;super[_0x4072ea(0x1c4)](),this[_0x4072ea(0x1c3)]&&this[_0x4072ea(0x1c3)][_0x4072ea(0x1c4)]();}[_0x224eea(0x1a0)](_0x4b00a6){const _0x5e7133=_0x224eea;-0x1===_0x4b00a6?this[_0x5e7133(0x1aa)][_0x5e7133(0x1d1)]():this[_0x5e7133(0x1aa)][_0x5e7133(0x1fe)]();}[_0x224eea(0x1e7)](_0x17b155){const _0x27b18b=_0x224eea;this[_0x27b18b(0x1ff)]=_0x17b155;}[_0x224eea(0x1d5)](){const _0x361908=_0x224eea;this[_0x361908(0x1be)]=!0x0,this[_0x361908(0x1b3)][_0x361908(0x1fb)](!0x1);}[_0x224eea(0x197)](){const _0x293b6a=_0x224eea;this[_0x293b6a(0x1be)]=!0x1,this[_0x293b6a(0x1b3)][_0x293b6a(0x1fb)](!0x0);}[_0x224eea(0x1f5)](_0x4ea2a7){const _0x396ff7=_0x224eea;super[_0x396ff7(0x1f5)](_0x4ea2a7),this[_0x396ff7(0x1dd)][_0x396ff7(0x1f4)](this[_0x396ff7(0x1a7)])||this[_0x396ff7(0x1dd)][_0x396ff7(0x1d9)](this[_0x396ff7(0x1a7)],0x0);}[_0x224eea(0x1da)](){const _0x518bfe=_0x224eea;super[_0x518bfe(0x1da)](),this[_0x518bfe(0x197)]();}[_0x224eea(0x1f7)](_0x25d3ca){const _0x275362=_0x224eea;super[_0x275362(0x1f7)](_0x25d3ca),this[_0x275362(0x1d5)]();}[_0x224eea(0x1cc)](_0x2f524f){const _0x5690b0=_0x224eea;this[_0x5690b0(0x1b3)][_0x5690b0(0x1ea)][_0x5690b0(0x1f4)](_0x2f524f)||this[_0x5690b0(0x1b3)][_0x5690b0(0x1ea)][_0x5690b0(0x1d9)](_0x2f524f);}[_0x224eea(0x1c9)](_0x4627a6){const _0x1fc79d=_0x224eea;this[_0x1fc79d(0x1b3)][_0x1fc79d(0x1ea)][_0x1fc79d(0x1f4)](_0x4627a6)&&this[_0x1fc79d(0x1b3)][_0x1fc79d(0x1ea)][_0x1fc79d(0x1f8)](_0x4627a6);}[_0x224eea(0x1e1)](){const _0x9c667=_0x224eea;this[_0x9c667(0x201)]&&(this[_0x9c667(0x1ff)]=!0x0);}[_0x224eea(0x195)](){const _0x4ab9a4=_0x224eea;this[_0x4ab9a4(0x201)]&&(this[_0x4ab9a4(0x1ff)]=!0x1);}[_0x224eea(0x1f2)]({showApplyButton:_0x3d5186,showSuggestButton:_0x2d1f97}){const _0x4b99d9=_0x224eea;_0x3d5186=_0x3d5186&&!this[_0x4b99d9(0x1e2)]&&this[_0x4b99d9(0x1ba)][_0x4b99d9(0x1ed)][_0x4b99d9(0x1e9)](_0x4b99d9(0x1d0)),_0x2d1f97=_0x2d1f97&&this[_0x4b99d9(0x1ba)][_0x4b99d9(0x1ed)][_0x4b99d9(0x1e9)](_0x4b99d9(0x203)),this[_0x4b99d9(0x1af)][_0x4b99d9(0x1f1)]({'showApplyButton':_0x3d5186,'showSuggestButton':_0x2d1f97});}async[_0x224eea(0x194)](_0x570789){const _0x43b3d4=_0x224eea;await this[_0x43b3d4(0x1a6)][_0x43b3d4(0x1ec)](_0x570789);}[_0x224eea(0x19a)](){const _0x542081=_0x224eea;this[_0x542081(0x1a6)][_0x542081(0x19e)]();}[_0x224eea(0x1a8)](_0x3527ae){const _0x181406=_0x224eea;this[_0x181406(0x209)]=new _0x171f90(this[_0x181406(0x204)]),this[_0x181406(0x209)][_0x181406(0x19f)]({'tag':_0x181406(0x1b7),'attributes':{'class':[_0x181406(0x1b2)]},'children':[{'tag':_0x181406(0x1b7),'attributes':{'class':[_0x181406(0x1cf)]},'children':[this[_0x181406(0x1f0)](),this[_0x181406(0x1cb)]()]},this[_0x181406(0x1b5)](_0x3527ae[_0x181406(0x207)])]}),this[_0x181406(0x1dd)][_0x181406(0x1d9)](this[_0x181406(0x209)]);}[_0x224eea(0x208)](){const _0x3779c0=_0x224eea;this[_0x3779c0(0x1c1)]=new _0x530772(this[_0x3779c0(0x204)]),this[_0x3779c0(0x1dd)][_0x3779c0(0x1d9)](this[_0x3779c0(0x1c1)]);}[_0x224eea(0x19d)]({showApplyButton:_0x1fb0d6,showSuggestButton:_0xbf7474}){const _0x526616=_0x224eea;this[_0x526616(0x1af)]=new _0x5a0661(this[_0x526616(0x204)],_0x1fb0d6,_0xbf7474),this[_0x526616(0x1af)][_0x526616(0x1f6)]?.['on'](_0x526616(0x1ee),()=>{const _0x284367=_0x526616;this[_0x284367(0x202)](_0x284367(0x1d0));}),this[_0x526616(0x1af)][_0x526616(0x1e0)]?.['on'](_0x526616(0x1ee),()=>{const _0x36aa4c=_0x526616;this[_0x36aa4c(0x202)](_0x36aa4c(0x203));}),this[_0x526616(0x1af)][_0x526616(0x1cd)](_0x526616(0x1db))['to'](this,_0x526616(0x1d4),this,_0x526616(0x1ff),this,_0x526616(0x1be),(_0x50504a,_0x398f6e,_0x324dc2)=>!(_0x50504a||_0x398f6e||_0x324dc2)),this[_0x526616(0x1f2)]({'showApplyButton':_0x1fb0d6,'showSuggestButton':_0xbf7474}),this[_0x526616(0x1dd)][_0x526616(0x1d9)](this[_0x526616(0x1af)]);}[_0x224eea(0x1b5)](_0x26d182){const _0x3f9855=_0x224eea;return this[_0x3f9855(0x1b3)]=new _0x1ca934(this[_0x3f9855(0x204)],_0x26d182),this[_0x3f9855(0x1b3)][_0x3f9855(0x205)](..._0x363485)['to'](this),this[_0x3f9855(0x1b3)]['on'](_0x3f9855(0x1b0),()=>{const _0x257f3d=_0x3f9855;this[_0x257f3d(0x1b3)][_0x257f3d(0x200)]=!this[_0x257f3d(0x1b3)][_0x257f3d(0x200)],this[_0x257f3d(0x202)](_0x257f3d(0x1d7),{'showDiff':this[_0x257f3d(0x1b3)][_0x257f3d(0x200)]});}),this[_0x3f9855(0x1b3)][_0x3f9855(0x1cd)](_0x3f9855(0x1db))['to'](this,_0x3f9855(0x1d4),this,_0x3f9855(0x1ff),(_0x16a1ec,_0x52dfee)=>!(_0x16a1ec||_0x52dfee)),this[_0x3f9855(0x1b3)];}[_0x224eea(0x1f0)](){const _0x2bcb4e=_0x224eea;return this[_0x2bcb4e(0x201)]=new _0x9d482e(this[_0x2bcb4e(0x204)]),this[_0x2bcb4e(0x201)][_0x2bcb4e(0x1cd)](_0x2bcb4e(0x19b))['to'](this,_0x2bcb4e(0x1ff)),this[_0x2bcb4e(0x201)];}[_0x224eea(0x1cb)](){const _0x89956a=_0x224eea;return this[_0x89956a(0x1a6)]=new _0x268c6f(this[_0x89956a(0x204)]),this[_0x89956a(0x1a6)];}[_0x224eea(0x1ce)](){const _0x53472e=_0x224eea,_0xe694e7=new _0x4fba18(this[_0x53472e(0x204)]),_0xfe6a4e=new _0x4fba18(this[_0x53472e(0x204)]),_0x21ba48=new Ln(this[_0x53472e(0x204)]),_0xbbcd5c=new _0x4fba18(this[_0x53472e(0x204)]);_0xe694e7[_0x53472e(0x1a1)]({'icon':_0x2a0d6c,'label':_0x2b10cc(this[_0x53472e(0x204)],_0x53472e(0x1ae)),'tooltip':!0x0,'class':_0x53472e(0x1c5)}),_0xfe6a4e[_0x53472e(0x1a1)]({'icon':_0x6c249c,'tooltip':_0x2b10cc(this[_0x53472e(0x204)],_0x53472e(0x1fc)),'class':_0x53472e(0x1a2)}),_0xbbcd5c[_0x53472e(0x1a1)]({'icon':_0x27158a,'tooltip':_0x2b10cc(this[_0x53472e(0x204)],_0x53472e(0x1df)),'class':_0x53472e(0x1bd)}),_0xe694e7[_0x53472e(0x1cd)](_0x53472e(0x1db))['to'](this,_0x53472e(0x1d4),_0x2ab933=>!_0x2ab933),_0xe694e7['on'](_0x53472e(0x1ee),()=>{const _0x32bf14=_0x53472e;this[_0x32bf14(0x202)](_0x32bf14(0x1bc));}),_0xfe6a4e[_0x53472e(0x1cd)](_0x53472e(0x1db))['to'](this,_0x53472e(0x1d4),_0x5c975d=>!_0x5c975d),_0xfe6a4e['on'](_0x53472e(0x1ee),()=>{const _0xa4d974=_0x53472e;this[_0xa4d974(0x202)](_0xa4d974(0x1bf));}),_0xbbcd5c[_0x53472e(0x1cd)](_0x53472e(0x1db))['to'](this,_0x53472e(0x1d4),_0x3ffd5a=>!_0x3ffd5a),_0xbbcd5c['on'](_0x53472e(0x1ee),()=>{const _0x4b817d=_0x53472e;this[_0x4b817d(0x202)](_0x4b817d(0x1d2));}),this[_0x53472e(0x1c6)]=_0xfe6a4e,this[_0x53472e(0x1d8)]=_0x21ba48,this[_0x53472e(0x1e3)]=_0xbbcd5c,this[_0x53472e(0x1ad)]=_0xe694e7;}[_0x224eea(0x193)](_0x2082af,_0x5c380e){const _0xcb2743=_0x224eea;this[_0xcb2743(0x1c6)]||this[_0xcb2743(0x1ce)]();const _0x22ac3f=_0x2082af>0x1;if(this[_0xcb2743(0x1cc)](this[_0xcb2743(0x1ad)]),_0x22ac3f){this[_0xcb2743(0x1cc)](this[_0xcb2743(0x1c6)]),this[_0xcb2743(0x1cc)](this[_0xcb2743(0x1d8)]),this[_0xcb2743(0x1cc)](this[_0xcb2743(0x1e3)]);const _0x3ec545=_0x2082af-_0x5c380e;this[_0xcb2743(0x1d8)][_0xcb2743(0x1f3)](_0x3ec545+'/'+_0x2082af),this[_0xcb2743(0x1c6)][_0xcb2743(0x1db)]=_0x5c380e<_0x2082af-0x1,this[_0xcb2743(0x1e3)][_0xcb2743(0x1db)]=_0x5c380e>0x0;}else this[_0xcb2743(0x1c9)](this[_0xcb2743(0x1c6)]),this[_0xcb2743(0x1c9)](this[_0xcb2743(0x1d8)]),this[_0xcb2743(0x1c9)](this[_0xcb2743(0x1e3)]);}[_0x224eea(0x1ef)](){const _0x210cff=_0x224eea;this[_0x210cff(0x1ad)][_0x210cff(0x1db)]=!0x1,this[_0x210cff(0x1c6)][_0x210cff(0x1db)]=!0x1,this[_0x210cff(0x1e3)][_0x210cff(0x1db)]=!0x1;}[_0x224eea(0x196)](){const _0xd39736=_0x224eea;this[_0xd39736(0x198)](),this[_0xd39736(0x1c3)]&&this[_0xd39736(0x1c3)][_0xd39736(0x1f9)]();}[_0x224eea(0x1b9)](){const _0x330b5c=_0x224eea;this[_0x330b5c(0x1c3)]&&this[_0x330b5c(0x1c3)][_0x330b5c(0x1bb)]();}[_0x224eea(0x1a3)](_0x281b7b){const _0x4d9ce9=_0x224eea;this[_0x4d9ce9(0x1ff)]=_0x281b7b;}[_0x224eea(0x1ca)](){const _0x11c2a7=_0x224eea;this[_0x11c2a7(0x1b3)][_0x11c2a7(0x200)]=!0x1;}[_0x224eea(0x198)](){const _0x1c35b4=_0x224eea,_0x5c6f1e=this[_0x1c35b4(0x1b4)]();_0x5c6f1e&&!this[_0x1c35b4(0x1c3)]&&(this[_0x1c35b4(0x1c3)]=new _0x44eeaa(_0x5c6f1e));}[_0x224eea(0x1b4)](){const _0x4d4db0=_0x224eea;return this[_0x4d4db0(0x1a6)][_0x4d4db0(0x1ab)];}}class Ln extends _0x171f90{constructor(_0x56e102){const _0x161768=_0x224eea;super(_0x56e102);const _0x44560e=this[_0x161768(0x199)];this[_0x161768(0x1a1)](_0x161768(0x19c),_0x161768(0x1c7)),this[_0x161768(0x19f)]({'tag':_0x161768(0x1de),'attributes':{'class':[_0x161768(0x1fd)]},'children':[{'text':_0x44560e['to'](_0x161768(0x19c))}]});}[_0x224eea(0x1f3)](_0x44bf84){const _0x4c1a10=_0x224eea;this[_0x4c1a10(0x1a1)](_0x4c1a10(0x19c),_0x44bf84);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1dd0b7=_0x288b;function _0x288b(_0x10db6f,_0x2e95fc){const _0x4de8b9=_0x4de8();return _0x288b=function(_0x288b8c,_0x38ec30){_0x288b8c=_0x288b8c-0x13a;let _0x4c7897=_0x4de8b9[_0x288b8c];return _0x4c7897;},_0x288b(_0x10db6f,_0x2e95fc);}(function(_0x5e5497,_0x182375){const _0xd2df41=_0x288b,_0x2dc8dd=_0x5e5497();while(!![]){try{const _0x17540e=-parseInt(_0xd2df41(0x13b))/0x1+-parseInt(_0xd2df41(0x13d))/0x2*(-parseInt(_0xd2df41(0x14e))/0x3)+-parseInt(_0xd2df41(0x144))/0x4*(parseInt(_0xd2df41(0x150))/0x5)+parseInt(_0xd2df41(0x147))/0x6*(-parseInt(_0xd2df41(0x153))/0x7)+-parseInt(_0xd2df41(0x149))/0x8+-parseInt(_0xd2df41(0x141))/0x9*(parseInt(_0xd2df41(0x13a))/0xa)+-parseInt(_0xd2df41(0x13c))/0xb*(-parseInt(_0xd2df41(0x14f))/0xc);if(_0x17540e===_0x182375)break;else _0x2dc8dd['push'](_0x2dc8dd['shift']());}catch(_0x4cf096){_0x2dc8dd['push'](_0x2dc8dd['shift']());}}}(_0x4de8,0x55b91));import{IconView as _0x3e4e1d,ListItemButtonView as _0x165179}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x36150e}from'@ckeditor/ckeditor5-icons';function _0x4de8(){const _0x21fe8f=['ck-dropdown-menu-list__nested-menu__button','render','535616mdMxas','_createArrowView','children','6WFpbhp','isOn','1920416lWZcKH','content','arrowView','extendTemplate','add','1161051zBwhdp','60seeEhL','5EHkXtK','bindTemplate','menuitem','2831297cSerqj','200arCNtE','547134PlyrWF','3909675aMdhlI','2mIXbAf','mouseenter','ck-dropdown-menu-list__nested-menu__button__arrow','set','219357fBtLwe'];_0x4de8=function(){return _0x21fe8f;};return _0x4de8();}export class DropdownMenuButtonWithHighlightView extends _0x165179{[_0x1dd0b7(0x14b)];constructor(_0x194b9c,_0x6dd87d){const _0x3a02ee=_0x1dd0b7;super(_0x194b9c,_0x6dd87d);const _0x10dbfa=this[_0x3a02ee(0x151)];this[_0x3a02ee(0x140)]({'withText':!0x0,'role':_0x3a02ee(0x152)}),this[_0x3a02ee(0x14b)]=this[_0x3a02ee(0x145)](),this[_0x3a02ee(0x14c)]({'attributes':{'class':[_0x3a02ee(0x142)],'aria-haspopup':!0x0,'aria-expanded':this[_0x3a02ee(0x151)]['to'](_0x3a02ee(0x148),_0x183932=>String(_0x183932)),'data-cke-tooltip-disabled':_0x10dbfa['to'](_0x3a02ee(0x148))},'on':{'mouseenter':_0x10dbfa['to'](_0x3a02ee(0x13e))}});}[_0x1dd0b7(0x143)](){const _0x5a24b0=_0x1dd0b7;super[_0x5a24b0(0x143)](),this[_0x5a24b0(0x146)][_0x5a24b0(0x14d)](this[_0x5a24b0(0x14b)]);}[_0x1dd0b7(0x145)](){const _0x2e28e7=_0x1dd0b7,_0x3a1af8=new _0x3e4e1d();return _0x3a1af8[_0x2e28e7(0x14a)]=_0x36150e,_0x3a1af8[_0x2e28e7(0x14c)]({'attributes':{'class':_0x2e28e7(0x13f)}}),_0x3a1af8;}}
|