@ckeditor/ckeditor5-ai 47.7.2 → 47.7.3-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
-
|
|
23
|
+
const _0x56798a=_0x5991;(function(_0x16adfc,_0x277574){const _0x2c4dad=_0x5991,_0x69c743=_0x16adfc();while(!![]){try{const _0x26e9ba=parseInt(_0x2c4dad(0xea))/0x1+-parseInt(_0x2c4dad(0xf3))/0x2*(-parseInt(_0x2c4dad(0xe4))/0x3)+parseInt(_0x2c4dad(0xdc))/0x4*(-parseInt(_0x2c4dad(0xe7))/0x5)+parseInt(_0x2c4dad(0xe6))/0x6+-parseInt(_0x2c4dad(0xde))/0x7+parseInt(_0x2c4dad(0xee))/0x8+-parseInt(_0x2c4dad(0xe2))/0x9;if(_0x26e9ba===_0x277574)break;else _0x69c743['push'](_0x69c743['shift']());}catch(_0x329387){_0x69c743['push'](_0x69c743['shift']());}}}(_0x362b,0xcdf90));import{Plugin as _0x4952c2}from'ckeditor5/src/core.js';function _0x5991(_0x4d0b0e,_0xd0ee5a){const _0x362bdd=_0x362b();return _0x5991=function(_0x59911e,_0x2364af){_0x59911e=_0x59911e-0xda;let _0x49e09a=_0x362bdd[_0x59911e];return _0x49e09a;},_0x5991(_0x4d0b0e,_0xd0ee5a);}function _0x362b(){const _0x618483=['removeSelectionFromChatContext','121245LkrDDY','directChange','10034286yyhsVO','23540ifToOI','editor','has','873399LFOeDk','pluginName','AIQuickActionsEditing','change:range','1713136ypQzSJ','plugins','selection','AIChat','document','14DADjhH','isPremiumPlugin','get','add','init','1072hvfjVA','model','312970XTxcsR','commands','aiQuickAction','isOfficialPlugin','8034381zwLwHa'];_0x362b=function(){return _0x618483;};return _0x362b();}import{AIQuickActionsCommand as _0x194e04}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x4952c2{static get[_0x56798a(0xeb)](){const _0x1e57bf=_0x56798a;return _0x1e57bf(0xec);}static get[_0x56798a(0xe1)](){return!0x0;}static get[_0x56798a(0xf4)](){return!0x0;}[_0x56798a(0xdb)](){const _0x507ace=_0x56798a,_0x37d798=this[_0x507ace(0xe8)],_0x4b1d74=new _0x194e04(this[_0x507ace(0xe8)]);if(_0x37d798[_0x507ace(0xdf)][_0x507ace(0xda)](_0x507ace(0xe0),_0x4b1d74),_0x37d798[_0x507ace(0xef)][_0x507ace(0xe9)](_0x507ace(0xf1))){const _0x1cf946=this[_0x507ace(0xe8)][_0x507ace(0xef)][_0x507ace(0xf5)](_0x507ace(0xf1));_0x37d798[_0x507ace(0xdd)][_0x507ace(0xf2)][_0x507ace(0xf0)]['on'](_0x507ace(0xed),(_0x6e263,_0x46c64e)=>{const _0x437cee=_0x507ace;_0x46c64e[_0x437cee(0xe5)]&&_0x1cf946[_0x437cee(0xe3)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x332c23=_0x2ccc;(function(_0x3556a9,_0x19a833){const _0x4ffe2b=_0x2ccc,_0x212c60=_0x3556a9();while(!![]){try{const _0x3ad484=parseInt(_0x4ffe2b(0x1e1))/0x1*(-parseInt(_0x4ffe2b(0x1db))/0x2)+parseInt(_0x4ffe2b(0x1fa))/0x3*(parseInt(_0x4ffe2b(0x1f4))/0x4)+parseInt(_0x4ffe2b(0x1cf))/0x5+parseInt(_0x4ffe2b(0x1e9))/0x6*(parseInt(_0x4ffe2b(0x1d5))/0x7)+parseInt(_0x4ffe2b(0x1e8))/0x8*(parseInt(_0x4ffe2b(0x231))/0x9)+parseInt(_0x4ffe2b(0x221))/0xa+-parseInt(_0x4ffe2b(0x243))/0xb;if(_0x3ad484===_0x19a833)break;else _0x212c60['push'](_0x212c60['shift']());}catch(_0x21c0c6){_0x212c60['push'](_0x212c60['shift']());}}}(_0x4928,0xdbb9e));import{IconAIAdjustLength as _0x557265,IconAIChangeTone as _0x5c8e41,IconAIChatCommands as _0x27788d,IconAIContinueWriting as _0x46a027,IconAIGrammarCheck as _0x27d4db,IconAIImproveWriting as _0x2b6e2d,IconAIOther as _0x492433,IconAIQuickActions as _0x43d553,IconAITranslate as _0x23e066}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x1bea86}from'ckeditor5/src/core.js';import{CKEditorError as _0x5bec33,logError as _0x42458c}from'ckeditor5/src/utils.js';import{getTranslation as _0x23ce49}from'../aicore/utils/common-translations.js';function _0x2ccc(_0x3d1459,_0x560861){const _0x4928b2=_0x4928();return _0x2ccc=function(_0x2cccbc,_0x10f37e){_0x2cccbc=_0x2cccbc-0x1ca;let _0x52db27=_0x4928b2[_0x2cccbc];return _0x52db27;},_0x2ccc(_0x3d1459,_0x560861);}import{aiQuickActionsDropdownCreator as _0x55546c}from'./ui/aiquickactionsdropdowncreator.js';function _0x4928(){const _0x157b05=['AI_QUICK_ACTIONS_TRANSLATE_SPANISH','<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>','_prepareQuickActionsDefinition','getAll','focus','_initializeQuickActionsMenuBar','config','AI_QUICK_ACTIONS_TRANSLATE','translate-to-chinese','german','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','ai.quickActions.removeCommands','_quickActionsDefinition','ai-quick-actions-unavailable-model','displayedPrompt','panelView','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','_initializeQuickActionsComponents','_initializeQuickActionsComponentsAndCommands','french','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','make-shorter','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','make-longer','pluginName','_initializeQuickActionsDropdown','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_MORE_DIRECT','english','commands','buttonView','translate-to-portuguese','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','get','7958480JGFxMc','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_ASK_AI','find','_executeQuickAction','model','message','<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>','_getDefaultAndCustomActions','translate-to-japanese','portuguese','set','translate-to-french','AI_QUICK_ACTIONS_MAKE_LONGER','init','126TwDMUc','ai-quick-actions-models-unable-to-retrieve','AIReviewMode','AI_QUICK_ACTIONS_EXPLAIN','add','fix-grammar','uiLanguage','translate-to-italian','chinese','filter','getDefaultQuickActions','translate','has','make-tone-professional','korean','translate-to-spanish','japanese','type','56754137VhZSie','plugins','map','language','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AI_QUICK_ACTIONS_IMPROVE_WRITING','componentFactory','AIActions','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','adjust-length','AI_QUICK_ACTIONS_CONTINUE_WRITING','values','menuBarView','ACTION','improve-writing','aiQuickActions','chat-commands','attachToDom','italian','isEnabled','requires','make-tone-casual','spanish','DisplayNames','label','includes','AI_QUICK_ACTIONS_MORE_CASUAL','translate-to-korean','REVIEW','translate-to-german','English','change-tone','_shouldIncludeAction','translate-to-russian','children','<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>','menuitem','AI_QUICK_ACTIONS_MAKE_SHORTER','aiQuickAction','length','locale','close','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','CHAT','7499140iNJrBd','make-tone-friendly','AI_QUICK_ACTIONS_SUMMARIZE','translate-to-english','delegate','continue','10060351HMMvsf','russian','summarize','AI_QUICK_ACTIONS_CHAT_COMMANDS','editor','AIQuickActionsUI','771004EOwdvS','isOfficialPlugin','other','ai.chat.context.document.enabled','menuBar:aiQuickActions','highlight-key-points','2IhEPqh','AI_QUICK_ACTIONS_OTHER','forEach','editing','some','view','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','819344FPaKhP','6NgJYMk','push','make-tone-confident','menu','explain','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','AIConnector','ai.quickActions.isSearchEnabled','AIChat','ask-ai','execute','4sGAGhm','icon','replace','isPremiumPlugin','make-tone-direct','items','4991244irbfjH','actions'];_0x4928=function(){return _0x157b05;};return _0x4928();}import{aiQuickActionsButtonCreator as _0x2c1156}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x3be191,BalloonToolbar as _0x387e4f,MenuBarMenuView as _0x4936f8,MenuBarMenuListView as _0x3f2803,MenuBarMenuListItemView as _0x3d2684,MenuBarMenuListItemButtonView as _0x5a135c}from'ckeditor5/src/ui.js';import{AIModels as _0x2163c0}from'../aicore/model/aimodels.js';import{AIConnector as _0x3ec9b0}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x332c23(0x268),ie=_0x332c23(0x1fd),ne=_0x332c23(0x229);export var AIQuickActionType;!function(_0x785045){const _0x53ed15=_0x332c23;_0x785045[_0x53ed15(0x1ce)]=_0x53ed15(0x1ce),_0x785045[_0x53ed15(0x252)]=_0x53ed15(0x252),_0x785045[_0x53ed15(0x261)]=_0x53ed15(0x261);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x2d27bc){const _0x23c549=_0x332c23;_0x2d27bc[_0x23c549(0x1ce)]=_0x23c549(0x1f1),_0x2d27bc[_0x23c549(0x252)]=_0x23c549(0x24b),_0x2d27bc[_0x23c549(0x261)]=_0x23c549(0x233);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x1bea86{static get[_0x332c23(0x259)](){return[_0x387e4f,_0x3ec9b0];}static get[_0x332c23(0x216)](){const _0x51c094=_0x332c23;return _0x51c094(0x1da);}static get[_0x332c23(0x1dc)](){return!0x0;}static get[_0x332c23(0x1f7)](){return!0x0;}async[_0x332c23(0x230)](){const _0x44bbb1=_0x332c23,_0x2c188e=await this[_0x44bbb1(0x22a)]();this[_0x44bbb1(0x1fe)](_0x2c188e),this[_0x44bbb1(0x210)]();}static[_0x332c23(0x23b)](_0x2a683e){return function(_0x5b0829){const _0x43c982=_0x2ccc,_0x1a167d=new Intl[(_0x43c982(0x25c))](['en'],{'type':_0x43c982(0x246)})['of'](_0x5b0829[_0x43c982(0x237)]),_0x4f8c8f=_0x1a167d||_0x43c982(0x263),_0x5509ea=[{'id':_0x43c982(0x1f2),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x224)),'type':AIQuickActionType[_0x43c982(0x1ce)],'icon':_0x27788d},{'id':_0x43c982(0x255),'label':_0x23ce49(_0x5b0829,_0x43c982(0x1d8)),'icon':_0x27788d,'actions':[{'id':_0x43c982(0x1ed),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x234)),'prompt':ee[_0x43c982(0x1f6)]('%0',_0x4f8c8f),'type':AIQuickActionType[_0x43c982(0x1ce)]},{'id':_0x43c982(0x1d7),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x1d1)),'prompt':ie[_0x43c982(0x1f6)]('%0',_0x4f8c8f),'type':AIQuickActionType[_0x43c982(0x1ce)]},{'id':_0x43c982(0x1e0),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x1ee)),'prompt':ne[_0x43c982(0x1f6)]('%0',_0x4f8c8f),'type':AIQuickActionType[_0x43c982(0x1ce)]}]},{'id':_0x43c982(0x253),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x249)),'type':AIQuickActionType[_0x43c982(0x252)],'icon':_0x2b6e2d},{'id':_0x43c982(0x1d4),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x24f)),'type':AIQuickActionType[_0x43c982(0x252)],'icon':_0x46a027},{'id':_0x43c982(0x236),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x248)),'type':AIQuickActionType[_0x43c982(0x252)],'icon':_0x27d4db},{'id':_0x43c982(0x24e),'label':_0x23ce49(_0x5b0829,_0x43c982(0x24c)),'icon':_0x557265,'actions':[{'id':_0x43c982(0x213),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x26a)),'type':AIQuickActionType[_0x43c982(0x252)]},{'id':_0x43c982(0x215),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x22f)),'type':AIQuickActionType[_0x43c982(0x252)]}]},{'id':_0x43c982(0x264),'label':_0x23ce49(_0x5b0829,_0x43c982(0x21e)),'icon':_0x5c8e41,'actions':[{'id':_0x43c982(0x25a),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x25f)),'type':AIQuickActionType[_0x43c982(0x252)]},{'id':_0x43c982(0x1f8),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x219)),'type':AIQuickActionType[_0x43c982(0x252)]},{'id':_0x43c982(0x1d0),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x222)),'type':AIQuickActionType[_0x43c982(0x252)]},{'id':_0x43c982(0x1eb),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x223)),'type':AIQuickActionType[_0x43c982(0x252)]},{'id':_0x43c982(0x23e),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x20e)),'type':AIQuickActionType[_0x43c982(0x252)]}]},{'id':_0x43c982(0x23c),'label':_0x23ce49(_0x5b0829,_0x43c982(0x203)),'icon':_0x23e066,'actions':[{'id':_0x43c982(0x1d2),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x24d)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x21a)}},{'id':_0x43c982(0x204),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x1cd)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x239)}},{'id':_0x43c982(0x240),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x1fc)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x25b)}},{'id':_0x43c982(0x262),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x1e7)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x205)}},{'id':_0x43c982(0x22e),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x247)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x211)}},{'id':_0x43c982(0x22b),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x206)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x241)}},{'id':_0x43c982(0x21d),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x21f)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x22c)}},{'id':_0x43c982(0x260),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x212)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x23f)}},{'id':_0x43c982(0x238),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x20c)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x257)}},{'id':_0x43c982(0x266),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x214)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x1d6)}}]},{'id':_0x43c982(0x1dd),'label':_0x23ce49(_0x5b0829,_0x43c982(0x1e2)),'icon':_0x492433,'actions':[]}];return _0x5509ea;}(_0x2a683e);}async[_0x332c23(0x22a)](){const _0x476527=_0x332c23,_0x5a6684=AIQuickActionsUI[_0x476527(0x23b)](this[_0x476527(0x1d9)][_0x476527(0x1cb)]),_0x5a88c5=this[_0x476527(0x1d9)][_0x476527(0x202)][_0x476527(0x220)](_0x476527(0x218))||[];let _0x3e8058=[];try{_0x3e8058=await new _0x2163c0({'connector':this[_0x476527(0x1d9)][_0x476527(0x244)][_0x476527(0x220)](_0x476527(0x1ef)),'locale':this[_0x476527(0x1d9)][_0x476527(0x1cb)]})[_0x476527(0x1ff)]();}catch(_0x4e116b){const _0x4d4980=new _0x5bec33(_0x476527(0x232),this,{'error':_0x4e116b});_0x42458c(_0x4d4980[_0x476527(0x228)]);}finally{const _0x2dc92f=_0x5a88c5[_0x476527(0x245)](_0x418d3c=>({..._0x418d3c,'icon':void 0x0}));_0x5a6684[_0x476527(0x225)](_0x1fc899=>_0x476527(0x1dd)===_0x1fc899['id'])[_0x476527(0x1fb)][_0x476527(0x1ea)](..._0x2dc92f),_0x5a6684[_0x476527(0x1e3)](_0x213eec=>{const _0x480900=_0x476527;if(_0x480900(0x1fb)in _0x213eec)_0x213eec[_0x480900(0x1fb)][_0x480900(0x1e3)](_0x1eebcf=>{const _0x44cb25=_0x480900;if(_0x1eebcf[_0x44cb25(0x258)]=!!_0x3e8058[_0x44cb25(0x225)](_0x17fba8=>_0x17fba8['id']===_0x1eebcf[_0x44cb25(0x227)])||void 0x0===_0x1eebcf[_0x44cb25(0x227)],!_0x1eebcf[_0x44cb25(0x258)]){const _0x683c20=new _0x5bec33(_0x44cb25(0x209),this,{'actionId':_0x1eebcf['id'],'modelId':_0x1eebcf[_0x44cb25(0x227)]});_0x42458c(_0x683c20[_0x44cb25(0x228)]);}});else{if(_0x213eec[_0x480900(0x258)]=!!_0x3e8058[_0x480900(0x225)](_0x39ec82=>_0x39ec82['id']===_0x213eec[_0x480900(0x227)])||void 0x0===_0x213eec[_0x480900(0x227)],!_0x213eec[_0x480900(0x258)]){const _0x28e00b=new _0x5bec33(_0x480900(0x209),this,{'actionId':_0x213eec['id'],'modelId':_0x213eec[_0x480900(0x227)]});_0x42458c(_0x28e00b[_0x480900(0x228)]);}}});}return _0x5a6684;}[_0x332c23(0x210)](){const _0xe718e0=_0x332c23,_0x169256=new _0x3be191(this[_0xe718e0(0x1d9)][_0xe718e0(0x1cb)]);_0x169256[_0xe718e0(0x256)](),this[_0xe718e0(0x217)](_0x169256),this[_0xe718e0(0x201)](),this[_0xe718e0(0x20f)](_0x169256);}[_0x332c23(0x217)](_0x9b2408){const _0x690eb9=_0x332c23,_0x2ae991=this[_0x690eb9(0x1d9)][_0x690eb9(0x202)][_0x690eb9(0x220)](_0x690eb9(0x1f0))??!0x0;this[_0x690eb9(0x1d9)]['ui'][_0x690eb9(0x24a)][_0x690eb9(0x235)](_0x690eb9(0x254),_0x55546c({'editor':this[_0x690eb9(0x1d9)],'content':this[_0x690eb9(0x208)],'buttonDefinition':{'icon':_0x43d553,'label':_0x23ce49(this[_0x690eb9(0x1d9)][_0x690eb9(0x1cb)],_0x690eb9(0x20d))},'bodyCollection':_0x9b2408,'hasSearch':_0x2ae991}));}[_0x332c23(0x1fe)](_0xb7ad6f){const _0x58334e=_0x332c23;this[_0x58334e(0x208)]=_0xb7ad6f[_0x58334e(0x245)](_0x4360e0=>{const _0x3b559c=_0x58334e;if(_0x3b559c(0x1fb)in _0x4360e0){const _0x4975de=_0x4360e0;return{..._0x4975de,'actions':_0x4975de[_0x3b559c(0x1fb)][_0x3b559c(0x245)](_0xd509fe=>{const {actions:_0x2c2b9a,..._0x2c47d7}=_0x4975de;return{..._0xd509fe,'parent':_0x2c47d7};})[_0x3b559c(0x23a)](_0x49bcbd=>this[_0x3b559c(0x265)](_0x49bcbd))};}return _0x4360e0;})[_0x58334e(0x23a)](_0x37b7a3=>_0x58334e(0x1fb)in _0x37b7a3?_0x37b7a3[_0x58334e(0x1fb)][_0x58334e(0x1ca)]>0x0:this[_0x58334e(0x265)](_0x37b7a3));}[_0x332c23(0x265)](_0x29f5f0){const _0x5c1f5e=_0x332c23,_0x51eced=this[_0x5c1f5e(0x1d9)][_0x5c1f5e(0x202)][_0x5c1f5e(0x220)](_0x5c1f5e(0x207))||[];return this[_0x5c1f5e(0x1d9)][_0x5c1f5e(0x244)][_0x5c1f5e(0x23d)](AIQuickActionTypeToPluginName[_0x29f5f0[_0x5c1f5e(0x242)]])&&!_0x51eced[_0x5c1f5e(0x25e)](_0x29f5f0['id'])&&!(_0x29f5f0[_0x5c1f5e(0x242)]===AIQuickActionType[_0x5c1f5e(0x1ce)]&&!0x1===this[_0x5c1f5e(0x1d9)][_0x5c1f5e(0x202)][_0x5c1f5e(0x220)](_0x5c1f5e(0x1de)));}[_0x332c23(0x20f)](_0x156666){const _0x235808=_0x332c23;this[_0x235808(0x208)][_0x235808(0x1e3)](_0x19f9c0=>{const _0x3a121f=_0x235808;if(_0x3a121f(0x1fb)in _0x19f9c0){const _0x2d8426=_0x55546c({'editor':this[_0x3a121f(0x1d9)],'content':_0x19f9c0[_0x3a121f(0x1fb)],'buttonDefinition':_0x19f9c0,'bodyCollection':_0x156666});this[_0x3a121f(0x1d9)]['ui'][_0x3a121f(0x24a)][_0x3a121f(0x235)](_0x19f9c0['id'],_0x2d8426),_0x19f9c0[_0x3a121f(0x1fb)][_0x3a121f(0x1e3)](_0x419b3c=>{const _0x13a9d1=_0x3a121f,_0x1bc27a=_0x2c1156({'editor':this[_0x13a9d1(0x1d9)],'action':_0x419b3c});this[_0x13a9d1(0x1d9)]['ui'][_0x13a9d1(0x24a)][_0x13a9d1(0x235)](_0x419b3c['id'],_0x1bc27a);});}else{const _0x3f3476=_0x2c1156({'editor':this[_0x3a121f(0x1d9)],'action':_0x19f9c0,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x3a121f(0x1d9)]['ui'][_0x3a121f(0x24a)][_0x3a121f(0x235)](_0x19f9c0['id'],_0x3f3476);}});}[_0x332c23(0x201)](){const _0x301011=_0x332c23;this[_0x301011(0x1d9)]['ui'][_0x301011(0x24a)][_0x301011(0x235)](_0x301011(0x1df),_0x5d84ca=>{const _0x58ba12=_0x301011,_0x33d92f=new _0x4936f8(_0x5d84ca),_0x2f0717=_0x23ce49(_0x5d84ca,_0x58ba12(0x20d));_0x33d92f[_0x58ba12(0x21c)][_0x58ba12(0x22d)]({'label':_0x2f0717,'icon':_0x43d553});const _0x51d2c3=new _0x3f2803(_0x5d84ca);_0x51d2c3[_0x58ba12(0x22d)]({'ariaLabel':_0x2f0717,'role':_0x58ba12(0x1ec)}),this[_0x58ba12(0x208)][_0x58ba12(0x1e3)](_0x1ddb1=>{const _0x46d207=_0x58ba12;if(_0x46d207(0x1fb)in _0x1ddb1){const _0xd2d0b1=_0x1ddb1,_0xb9e9f3=new _0x3d2684(_0x5d84ca,_0x33d92f),_0x23258e=new _0x4936f8(_0x5d84ca),_0x474dca=new _0x3f2803(_0x5d84ca);_0x23258e[_0x46d207(0x21c)][_0x46d207(0x22d)]({'label':_0xd2d0b1[_0x46d207(0x25d)],'icon':_0xd2d0b1[_0x46d207(0x1f5)]}),_0xd2d0b1[_0x46d207(0x1fb)][_0x46d207(0x1e3)](_0x2631b4=>{const _0x4f27ec=_0x46d207,_0x81f81c=new _0x3d2684(_0x5d84ca,_0x23258e),_0x2beea5=new _0x5a135c(_0x5d84ca);_0x2beea5[_0x4f27ec(0x22d)]({'label':_0x2631b4[_0x4f27ec(0x20a)],'icon':_0x2631b4[_0x4f27ec(0x1f5)],'role':_0x4f27ec(0x269),'isEnabled':_0x2631b4[_0x4f27ec(0x258)]}),_0x2beea5['on'](_0x4f27ec(0x1f3),()=>{const _0xee17ca=_0x4f27ec;this[_0xee17ca(0x226)](_0x2631b4);}),_0x2beea5[_0x4f27ec(0x1d3)](_0x4f27ec(0x1f3))['to'](_0x23258e),_0x81f81c[_0x4f27ec(0x267)][_0x4f27ec(0x235)](_0x2beea5),_0x474dca[_0x4f27ec(0x1f9)][_0x4f27ec(0x235)](_0x81f81c);}),_0x23258e[_0x46d207(0x20b)][_0x46d207(0x267)][_0x46d207(0x235)](_0x474dca),_0xb9e9f3[_0x46d207(0x267)][_0x46d207(0x235)](_0x23258e),_0x51d2c3[_0x46d207(0x1f9)][_0x46d207(0x235)](_0xb9e9f3);}else{const _0xaa07c0=_0x1ddb1,_0x54b0c1=new _0x3d2684(_0x5d84ca,_0x33d92f),_0x207ea7=new _0x5a135c(_0x5d84ca);_0x207ea7[_0x46d207(0x22d)]({'label':_0xaa07c0[_0x46d207(0x20a)],'icon':_0xaa07c0[_0x46d207(0x1f5)],'role':_0x46d207(0x269),'isEnabled':_0xaa07c0[_0x46d207(0x258)]}),_0x207ea7['on'](_0x46d207(0x1f3),()=>{const _0x16b9c0=_0x46d207;this[_0x16b9c0(0x226)](_0xaa07c0);}),_0x207ea7[_0x46d207(0x1d3)](_0x46d207(0x1f3))['to'](_0x33d92f),_0x54b0c1[_0x46d207(0x267)][_0x46d207(0x235)](_0x207ea7),_0x51d2c3[_0x46d207(0x1f9)][_0x46d207(0x235)](_0x54b0c1);}});const _0x2ff44b=Object[_0x58ba12(0x250)](AIQuickActionTypeToPluginName)[_0x58ba12(0x1e5)](_0x5229b1=>this[_0x58ba12(0x1d9)][_0x58ba12(0x244)][_0x58ba12(0x23d)](_0x5229b1));return _0x33d92f[_0x58ba12(0x22d)]({'isEnabled':_0x2ff44b}),_0x33d92f[_0x58ba12(0x20b)][_0x58ba12(0x267)][_0x58ba12(0x235)](_0x51d2c3),_0x33d92f;});}[_0x332c23(0x226)](_0x59e723){const _0x42f4d4=_0x332c23,_0x3a28c9=this[_0x42f4d4(0x1d9)];_0x3a28c9[_0x42f4d4(0x1e4)][_0x42f4d4(0x1e6)][_0x42f4d4(0x200)](),_0x3a28c9[_0x42f4d4(0x21b)][_0x42f4d4(0x1f3)](_0x42f4d4(0x26b),_0x59e723);const _0x4b9b90=_0x3a28c9['ui'][_0x42f4d4(0x1e6)][_0x42f4d4(0x251)];_0x4b9b90&&_0x4b9b90[_0x42f4d4(0x1cc)]&&_0x4b9b90[_0x42f4d4(0x1cc)]();}}
|
|
23
|
+
const _0x5efead=_0xb4c9;(function(_0x9dd163,_0x42a39b){const _0x3bcd58=_0xb4c9,_0x5c87ca=_0x9dd163();while(!![]){try{const _0x3f8dbc=parseInt(_0x3bcd58(0x12f))/0x1*(-parseInt(_0x3bcd58(0x132))/0x2)+-parseInt(_0x3bcd58(0x144))/0x3*(parseInt(_0x3bcd58(0x1ce))/0x4)+parseInt(_0x3bcd58(0x19f))/0x5*(-parseInt(_0x3bcd58(0x16a))/0x6)+-parseInt(_0x3bcd58(0x1af))/0x7*(parseInt(_0x3bcd58(0x16c))/0x8)+parseInt(_0x3bcd58(0x142))/0x9*(parseInt(_0x3bcd58(0x1c2))/0xa)+parseInt(_0x3bcd58(0x167))/0xb*(-parseInt(_0x3bcd58(0x154))/0xc)+-parseInt(_0x3bcd58(0x1b1))/0xd*(-parseInt(_0x3bcd58(0x14a))/0xe);if(_0x3f8dbc===_0x42a39b)break;else _0x5c87ca['push'](_0x5c87ca['shift']());}catch(_0x5d722b){_0x5c87ca['push'](_0x5c87ca['shift']());}}}(_0x1a95,0x1efd4));import{IconAIAdjustLength as _0x3cb353,IconAIChangeTone as _0x31c0c7,IconAIChatCommands as _0x55cb81,IconAIContinueWriting as _0x195524,IconAIGrammarCheck as _0x24c3e8,IconAIImproveWriting as _0x4f366e,IconAIOther as _0x207ddf,IconAIQuickActions as _0x153d81,IconAITranslate as _0x4eef63}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x54a99b}from'ckeditor5/src/core.js';import{CKEditorError as _0x2cfbc9,logError as _0x143c92}from'ckeditor5/src/utils.js';import{getTranslation as _0x37c550}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0xea00de}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x1112f9}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x51b217,BalloonToolbar as _0x34a1f9,MenuBarMenuView as _0x4960ab,MenuBarMenuListView as _0x5ddba5,MenuBarMenuListItemView as _0x1b8529,MenuBarMenuListItemButtonView as _0x202b89}from'ckeditor5/src/ui.js';function _0x1a95(){const _0x531d71=['AIConnector','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_IMPROVE_WRITING','AIReviewMode','_initializeQuickActionsComponentsAndCommands','message','children','french','add','chat-commands','translate-to-russian','replace','type','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','menuitem','panelView','DisplayNames','translate-to-chinese','label','AI_QUICK_ACTIONS_HEADING','ai.quickActions.removeCommands','CHAT','make-tone-confident','_prepareQuickActionsDefinition','model','make-longer','items','AI_QUICK_ACTIONS_CHANGE_TONE','editor','includes','translate-to-english','translate-to-italian','execute','<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>','_shouldIncludeAction','AI_QUICK_ACTIONS_EXPLAIN','displayedPrompt','translate-to-korean','ai.quickActions.isSearchEnabled','some','make-tone-friendly','AI_QUICK_ACTIONS_MORE_DIRECT','focus','config','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_ASK_AI','language','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','35KTHKtf','ask-ai','make-tone-casual','pluginName','AI_QUICK_ACTIONS_TRANSLATE','English','make-shorter','find','icon','get','getAll','summarize','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','adjust-length','menu','ai-quick-actions-models-unable-to-retrieve','7UiaNYb','_initializeQuickActionsDropdown','1313xUteQu','delegate','buttonView','translate-to-japanese','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','other','AI_QUICK_ACTIONS_MAKE_LONGER','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_MORE_CASUAL','close','translate','_executeQuickAction','menuBarView','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','<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>','italian','actions','54490SRHDVd','attachToDom','make-tone-direct','ACTION','ai.quickActions.extraCommands','ai-quick-actions-unavailable-model','translate-to-french','requires','translate-to-german','isOfficialPlugin','AI_QUICK_ACTIONS_OTHER','values','24FIekAH','AIChat','has','highlight-key-points','translate-to-portuguese','plugins','1099dVlYLc','uiLanguage','AI_QUICK_ACTIONS_CONTINUE_WRITING','298ycTNhj','length','spanish','portuguese','korean','set','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','fix-grammar','_initializeQuickActionsMenuBar','AIQuickActionsUI','commands','change-tone','AI_QUICK_ACTIONS_SUMMARIZE','filter','improve-writing','continue','117TupPEd','AI_QUICK_ACTIONS_CHAT_COMMANDS','36159wtnvQq','view','map','menuBar:aiQuickActions','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','81802pssXKe','translate-to-spanish','russian','isEnabled','aiQuickAction','english','REVIEW','init','explain','isPremiumPlugin','12xqxGfq','AI_QUICK_ACTIONS_MORE_CONFIDENT','editing','AI_QUICK_ACTIONS_MORE_FRIENDLY','forEach','japanese','_quickActionsDefinition','german','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','<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>','AIActions','ai.chat.context.document.enabled','componentFactory','chinese','push','aiQuickActions','locale','_getDefaultAndCustomActions','1292148LaSEEc','getDefaultQuickActions','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','149106jlggTv','make-tone-professional','52432dbnVCB','AI_QUICK_ACTIONS_TRANSLATE_CHINESE'];_0x1a95=function(){return _0x531d71;};return _0x1a95();}import{AIModels as _0x1d2288}from'../aicore/model/aimodels.js';import{AIConnector as _0x382cb6}from'../aicore/aiconnector.js';function _0xb4c9(_0x25d36c,_0x14de7b){const _0x1a956a=_0x1a95();return _0xb4c9=function(_0xb4c98d,_0x5a78ec){_0xb4c98d=_0xb4c98d-0x12c;let _0x1c5803=_0x1a956a[_0xb4c98d];return _0x1c5803;},_0xb4c9(_0x25d36c,_0x14de7b);}import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x5efead(0x1bf),ie=_0x5efead(0x15e),ne=_0x5efead(0x190);export var AIQuickActionType;!function(_0xf8142c){const _0x4914ef=_0x5efead;_0xf8142c[_0x4914ef(0x184)]=_0x4914ef(0x184),_0xf8142c[_0x4914ef(0x1c5)]=_0x4914ef(0x1c5),_0xf8142c[_0x4914ef(0x150)]=_0x4914ef(0x150);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x3b28d4){const _0xf12662=_0x5efead;_0x3b28d4[_0xf12662(0x184)]=_0xf12662(0x1cf),_0x3b28d4[_0xf12662(0x1c5)]=_0xf12662(0x15f),_0x3b28d4[_0xf12662(0x150)]=_0xf12662(0x171);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x54a99b{static get[_0x5efead(0x1c9)](){return[_0x34a1f9,_0x382cb6];}static get[_0x5efead(0x1a2)](){const _0x458784=_0x5efead;return _0x458784(0x13b);}static get[_0x5efead(0x1cb)](){return!0x0;}static get[_0x5efead(0x153)](){return!0x0;}async[_0x5efead(0x151)](){const _0x2ff768=_0x5efead,_0x749369=await this[_0x2ff768(0x166)]();this[_0x2ff768(0x186)](_0x749369),this[_0x2ff768(0x172)]();}static[_0x5efead(0x168)](_0xd87e2a){return function(_0x4e896d){const _0x1ef9fc=_0xb4c9,_0x26f8d7=new Intl[(_0x1ef9fc(0x17f))](['en'],{'type':_0x1ef9fc(0x19d)})['of'](_0x4e896d[_0x1ef9fc(0x130)]),_0x331d36=_0x26f8d7||_0x1ef9fc(0x1a4),_0x561381=[{'id':_0x1ef9fc(0x1a0),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x19c)),'type':AIQuickActionType[_0x1ef9fc(0x184)],'icon':_0x55cb81},{'id':_0x1ef9fc(0x177),'label':_0x37c550(_0x4e896d,_0x1ef9fc(0x143)),'icon':_0x55cb81,'actions':[{'id':_0x1ef9fc(0x152),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x192)),'prompt':ee[_0x1ef9fc(0x179)]('%0',_0x331d36),'type':AIQuickActionType[_0x1ef9fc(0x184)]},{'id':_0x1ef9fc(0x1aa),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x13e)),'prompt':ie[_0x1ef9fc(0x179)]('%0',_0x331d36),'type':AIQuickActionType[_0x1ef9fc(0x184)]},{'id':_0x1ef9fc(0x12c),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x17c)),'prompt':ne[_0x1ef9fc(0x179)]('%0',_0x331d36),'type':AIQuickActionType[_0x1ef9fc(0x184)]}]},{'id':_0x1ef9fc(0x140),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x170)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'icon':_0x4f366e},{'id':_0x1ef9fc(0x141),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x131)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'icon':_0x195524},{'id':_0x1ef9fc(0x139),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x1ab)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'icon':_0x24c3e8},{'id':_0x1ef9fc(0x1ac),'label':_0x37c550(_0x4e896d,_0x1ef9fc(0x19b)),'icon':_0x3cb353,'actions':[{'id':_0x1ef9fc(0x1a5),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x148)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]},{'id':_0x1ef9fc(0x188),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x1b7)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]}]},{'id':_0x1ef9fc(0x13d),'label':_0x37c550(_0x4e896d,_0x1ef9fc(0x18a)),'icon':_0x31c0c7,'actions':[{'id':_0x1ef9fc(0x1a1),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x1b9)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]},{'id':_0x1ef9fc(0x1c4),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x198)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]},{'id':_0x1ef9fc(0x197),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x157)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]},{'id':_0x1ef9fc(0x185),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x155)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]},{'id':_0x1ef9fc(0x16b),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x16f)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]}]},{'id':_0x1ef9fc(0x1bb),'label':_0x37c550(_0x4e896d,_0x1ef9fc(0x1a3)),'icon':_0x4eef63,'actions':[{'id':_0x1ef9fc(0x18d),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x1b5)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x14f)}},{'id':_0x1ef9fc(0x180),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x16d)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x162)}},{'id':_0x1ef9fc(0x14b),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x1be)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x134)}},{'id':_0x1ef9fc(0x1ca),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x169)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x15b)}},{'id':_0x1ef9fc(0x1c8),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x17b)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x175)}},{'id':_0x1ef9fc(0x1b4),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x138)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x159)}},{'id':_0x1ef9fc(0x12d),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x149)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x135)}},{'id':_0x1ef9fc(0x194),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x15c)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x136)}},{'id':_0x1ef9fc(0x18e),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x15d)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x1c0)}},{'id':_0x1ef9fc(0x178),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x19e)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x14c)}}]},{'id':_0x1ef9fc(0x1b6),'label':_0x37c550(_0x4e896d,_0x1ef9fc(0x1cc)),'icon':_0x207ddf,'actions':[]}];return _0x561381;}(_0xd87e2a);}async[_0x5efead(0x166)](){const _0x5ceed1=_0x5efead,_0x36a07b=AIQuickActionsUI[_0x5ceed1(0x168)](this[_0x5ceed1(0x18b)][_0x5ceed1(0x165)]),_0x2e5987=this[_0x5ceed1(0x18b)][_0x5ceed1(0x19a)][_0x5ceed1(0x1a8)](_0x5ceed1(0x1c6))||[];let _0xe09cbb=[];try{_0xe09cbb=await new _0x1d2288({'connector':this[_0x5ceed1(0x18b)][_0x5ceed1(0x12e)][_0x5ceed1(0x1a8)](_0x5ceed1(0x16e)),'locale':this[_0x5ceed1(0x18b)][_0x5ceed1(0x165)]})[_0x5ceed1(0x1a9)]();}catch(_0x190c58){const _0x1eeb31=new _0x2cfbc9(_0x5ceed1(0x1ae),this,{'error':_0x190c58});_0x143c92(_0x1eeb31[_0x5ceed1(0x173)]);}finally{const _0x3e64dc=_0x2e5987[_0x5ceed1(0x146)](_0x533d87=>({..._0x533d87,'icon':void 0x0}));_0x36a07b[_0x5ceed1(0x1a6)](_0x4c00dd=>_0x5ceed1(0x1b6)===_0x4c00dd['id'])[_0x5ceed1(0x1c1)][_0x5ceed1(0x163)](..._0x3e64dc),_0x36a07b[_0x5ceed1(0x158)](_0x48f0ad=>{const _0x3a0e2d=_0x5ceed1;if(_0x3a0e2d(0x1c1)in _0x48f0ad)_0x48f0ad[_0x3a0e2d(0x1c1)][_0x3a0e2d(0x158)](_0x10232b=>{const _0x57dd0b=_0x3a0e2d;if(_0x10232b[_0x57dd0b(0x14d)]=!!_0xe09cbb[_0x57dd0b(0x1a6)](_0x233151=>_0x233151['id']===_0x10232b[_0x57dd0b(0x187)])||void 0x0===_0x10232b[_0x57dd0b(0x187)],!_0x10232b[_0x57dd0b(0x14d)]){const _0x25c4d9=new _0x2cfbc9(_0x57dd0b(0x1c7),this,{'actionId':_0x10232b['id'],'modelId':_0x10232b[_0x57dd0b(0x187)]});_0x143c92(_0x25c4d9[_0x57dd0b(0x173)]);}});else{if(_0x48f0ad[_0x3a0e2d(0x14d)]=!!_0xe09cbb[_0x3a0e2d(0x1a6)](_0x56be1=>_0x56be1['id']===_0x48f0ad[_0x3a0e2d(0x187)])||void 0x0===_0x48f0ad[_0x3a0e2d(0x187)],!_0x48f0ad[_0x3a0e2d(0x14d)]){const _0x5d6302=new _0x2cfbc9(_0x3a0e2d(0x1c7),this,{'actionId':_0x48f0ad['id'],'modelId':_0x48f0ad[_0x3a0e2d(0x187)]});_0x143c92(_0x5d6302[_0x3a0e2d(0x173)]);}}});}return _0x36a07b;}[_0x5efead(0x172)](){const _0x28593a=_0x5efead,_0x59abba=new _0x51b217(this[_0x28593a(0x18b)][_0x28593a(0x165)]);_0x59abba[_0x28593a(0x1c3)](),this[_0x28593a(0x1b0)](_0x59abba),this[_0x28593a(0x13a)](),this[_0x28593a(0x1b8)](_0x59abba);}[_0x5efead(0x1b0)](_0x437fd7){const _0x92065b=_0x5efead,_0x47657a=this[_0x92065b(0x18b)][_0x92065b(0x19a)][_0x92065b(0x1a8)](_0x92065b(0x195))??!0x0;this[_0x92065b(0x18b)]['ui'][_0x92065b(0x161)][_0x92065b(0x176)](_0x92065b(0x164),_0xea00de({'editor':this[_0x92065b(0x18b)],'content':this[_0x92065b(0x15a)],'buttonDefinition':{'icon':_0x153d81,'label':_0x37c550(this[_0x92065b(0x18b)][_0x92065b(0x165)],_0x92065b(0x182))},'bodyCollection':_0x437fd7,'hasSearch':_0x47657a}));}[_0x5efead(0x186)](_0x35013a){const _0x2ca203=_0x5efead;this[_0x2ca203(0x15a)]=_0x35013a[_0x2ca203(0x146)](_0x28b8c3=>{const _0x3f6333=_0x2ca203;if(_0x3f6333(0x1c1)in _0x28b8c3){const _0x34d42a=_0x28b8c3;return{..._0x34d42a,'actions':_0x34d42a[_0x3f6333(0x1c1)][_0x3f6333(0x146)](_0x425eea=>{const {actions:_0x320bc5,..._0x1e2d9f}=_0x34d42a;return{..._0x425eea,'parent':_0x1e2d9f};})[_0x3f6333(0x13f)](_0x45821c=>this[_0x3f6333(0x191)](_0x45821c))};}return _0x28b8c3;})[_0x2ca203(0x13f)](_0x5ae6f6=>_0x2ca203(0x1c1)in _0x5ae6f6?_0x5ae6f6[_0x2ca203(0x1c1)][_0x2ca203(0x133)]>0x0:this[_0x2ca203(0x191)](_0x5ae6f6));}[_0x5efead(0x191)](_0x2a5e4b){const _0x12d029=_0x5efead,_0x1e958c=this[_0x12d029(0x18b)][_0x12d029(0x19a)][_0x12d029(0x1a8)](_0x12d029(0x183))||[];return this[_0x12d029(0x18b)][_0x12d029(0x12e)][_0x12d029(0x1d0)](AIQuickActionTypeToPluginName[_0x2a5e4b[_0x12d029(0x17a)]])&&!_0x1e958c[_0x12d029(0x18c)](_0x2a5e4b['id'])&&!(_0x2a5e4b[_0x12d029(0x17a)]===AIQuickActionType[_0x12d029(0x184)]&&!0x1===this[_0x12d029(0x18b)][_0x12d029(0x19a)][_0x12d029(0x1a8)](_0x12d029(0x160)));}[_0x5efead(0x1b8)](_0x6b1406){const _0x19020a=_0x5efead;this[_0x19020a(0x15a)][_0x19020a(0x158)](_0x50edfc=>{const _0x3111d7=_0x19020a;if(_0x3111d7(0x1c1)in _0x50edfc){const _0x18cab4=_0xea00de({'editor':this[_0x3111d7(0x18b)],'content':_0x50edfc[_0x3111d7(0x1c1)],'buttonDefinition':_0x50edfc,'bodyCollection':_0x6b1406});this[_0x3111d7(0x18b)]['ui'][_0x3111d7(0x161)][_0x3111d7(0x176)](_0x50edfc['id'],_0x18cab4),_0x50edfc[_0x3111d7(0x1c1)][_0x3111d7(0x158)](_0x53109f=>{const _0x127d61=_0x3111d7,_0x4a0cf6=_0x1112f9({'editor':this[_0x127d61(0x18b)],'action':_0x53109f});this[_0x127d61(0x18b)]['ui'][_0x127d61(0x161)][_0x127d61(0x176)](_0x53109f['id'],_0x4a0cf6);});}else{const _0xbc2beb=_0x1112f9({'editor':this[_0x3111d7(0x18b)],'action':_0x50edfc,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x3111d7(0x18b)]['ui'][_0x3111d7(0x161)][_0x3111d7(0x176)](_0x50edfc['id'],_0xbc2beb);}});}[_0x5efead(0x13a)](){const _0x66cad8=_0x5efead;this[_0x66cad8(0x18b)]['ui'][_0x66cad8(0x161)][_0x66cad8(0x176)](_0x66cad8(0x147),_0x4c4d57=>{const _0xedb09=_0x66cad8,_0x7520b4=new _0x4960ab(_0x4c4d57),_0x555eb5=_0x37c550(_0x4c4d57,_0xedb09(0x182));_0x7520b4[_0xedb09(0x1b3)][_0xedb09(0x137)]({'label':_0x555eb5,'icon':_0x153d81});const _0x27412c=new _0x5ddba5(_0x4c4d57);_0x27412c[_0xedb09(0x137)]({'ariaLabel':_0x555eb5,'role':_0xedb09(0x1ad)}),this[_0xedb09(0x15a)][_0xedb09(0x158)](_0xbb522d=>{const _0xfc391b=_0xedb09;if(_0xfc391b(0x1c1)in _0xbb522d){const _0x2f5348=_0xbb522d,_0x2b0980=new _0x1b8529(_0x4c4d57,_0x7520b4),_0x40b600=new _0x4960ab(_0x4c4d57),_0x27af5f=new _0x5ddba5(_0x4c4d57);_0x40b600[_0xfc391b(0x1b3)][_0xfc391b(0x137)]({'label':_0x2f5348[_0xfc391b(0x181)],'icon':_0x2f5348[_0xfc391b(0x1a7)]}),_0x2f5348[_0xfc391b(0x1c1)][_0xfc391b(0x158)](_0x1d3bac=>{const _0x12767b=_0xfc391b,_0x41114c=new _0x1b8529(_0x4c4d57,_0x40b600),_0x43d0cc=new _0x202b89(_0x4c4d57);_0x43d0cc[_0x12767b(0x137)]({'label':_0x1d3bac[_0x12767b(0x193)],'icon':_0x1d3bac[_0x12767b(0x1a7)],'role':_0x12767b(0x17d),'isEnabled':_0x1d3bac[_0x12767b(0x14d)]}),_0x43d0cc['on'](_0x12767b(0x18f),()=>{const _0x2c69d6=_0x12767b;this[_0x2c69d6(0x1bc)](_0x1d3bac);}),_0x43d0cc[_0x12767b(0x1b2)](_0x12767b(0x18f))['to'](_0x40b600),_0x41114c[_0x12767b(0x174)][_0x12767b(0x176)](_0x43d0cc),_0x27af5f[_0x12767b(0x189)][_0x12767b(0x176)](_0x41114c);}),_0x40b600[_0xfc391b(0x17e)][_0xfc391b(0x174)][_0xfc391b(0x176)](_0x27af5f),_0x2b0980[_0xfc391b(0x174)][_0xfc391b(0x176)](_0x40b600),_0x27412c[_0xfc391b(0x189)][_0xfc391b(0x176)](_0x2b0980);}else{const _0x3befbd=_0xbb522d,_0x168411=new _0x1b8529(_0x4c4d57,_0x7520b4),_0x3e72e6=new _0x202b89(_0x4c4d57);_0x3e72e6[_0xfc391b(0x137)]({'label':_0x3befbd[_0xfc391b(0x193)],'icon':_0x3befbd[_0xfc391b(0x1a7)],'role':_0xfc391b(0x17d),'isEnabled':_0x3befbd[_0xfc391b(0x14d)]}),_0x3e72e6['on'](_0xfc391b(0x18f),()=>{const _0x6ded89=_0xfc391b;this[_0x6ded89(0x1bc)](_0x3befbd);}),_0x3e72e6[_0xfc391b(0x1b2)](_0xfc391b(0x18f))['to'](_0x7520b4),_0x168411[_0xfc391b(0x174)][_0xfc391b(0x176)](_0x3e72e6),_0x27412c[_0xfc391b(0x189)][_0xfc391b(0x176)](_0x168411);}});const _0x5e8647=Object[_0xedb09(0x1cd)](AIQuickActionTypeToPluginName)[_0xedb09(0x196)](_0x50d045=>this[_0xedb09(0x18b)][_0xedb09(0x12e)][_0xedb09(0x1d0)](_0x50d045));return _0x7520b4[_0xedb09(0x137)]({'isEnabled':_0x5e8647}),_0x7520b4[_0xedb09(0x17e)][_0xedb09(0x174)][_0xedb09(0x176)](_0x27412c),_0x7520b4;});}[_0x5efead(0x1bc)](_0x2177b2){const _0x5395e8=_0x5efead,_0x4898e=this[_0x5395e8(0x18b)];_0x4898e[_0x5395e8(0x156)][_0x5395e8(0x145)][_0x5395e8(0x199)](),_0x4898e[_0x5395e8(0x13c)][_0x5395e8(0x18f)](_0x5395e8(0x14e),_0x2177b2);const _0x3778dc=_0x4898e['ui'][_0x5395e8(0x145)][_0x5395e8(0x1bd)];_0x3778dc&&_0x3778dc[_0x5395e8(0x1ba)]&&_0x3778dc[_0x5395e8(0x1ba)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x146084,_0x111874){const _0x585b70=_0xe507,_0x3d1348=_0x146084();while(!![]){try{const _0x1bcb46=parseInt(_0x585b70(0x1a0))/0x1+-parseInt(_0x585b70(0x1a2))/0x2*(parseInt(_0x585b70(0x19e))/0x3)+parseInt(_0x585b70(0x19b))/0x4*(parseInt(_0x585b70(0x19a))/0x5)+-parseInt(_0x585b70(0x19f))/0x6*(-parseInt(_0x585b70(0x1ad))/0x7)+-parseInt(_0x585b70(0x199))/0x8+-parseInt(_0x585b70(0x1b1))/0x9*(parseInt(_0x585b70(0x1a7))/0xa)+parseInt(_0x585b70(0x1b0))/0xb;if(_0x1bcb46===_0x111874)break;else _0x3d1348['push'](_0x3d1348['shift']());}catch(_0x35a8f3){_0x3d1348['push'](_0x3d1348['shift']());}}}(_0x56f6,0xdc860));import{ButtonView as _0x27249a}from'ckeditor5/src/ui.js';function _0xe507(_0x5a4a62,_0x58ed1d){const _0x56f648=_0x56f6();return _0xe507=function(_0xe5075d,_0x5b419e){_0xe5075d=_0xe5075d-0x198;let _0x3815f4=_0x56f648[_0xe5075d];return _0x3815f4;},_0xe507(_0x5a4a62,_0x58ed1d);}function _0x56f6(){const _0x418eea=['ck-ai-quick-actions-button','aiQuickAction','1062btRBqv','160158POXPfy','34067gnsiRS','commands','250IjBWXc','locale','extendTemplate','view','focus','2750hdtqYm','icon','parent','bindTemplate','displayedPrompt','isEnabled','21sGLkOB','set','editing','7952659BmyvEb','9585uzoclo','menuitem','execute','5669568oWQkMG','89675FKOKaO','248BCsaCN'];_0x56f6=function(){return _0x418eea;};return _0x56f6();}import{IconAIQuickActions as _0x58af0c}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x62c9c8){const {editor:_0x12f4ec,action:_0x444743,withText:_0x1617e9=!0x1,withIcon:_0x15cdb0=!0x0,isInDropdown:_0x41d9ed=!0x0,shouldPreventFocus:_0x1f92c9=!0x1}=_0x62c9c8;return()=>{const _0x15fb6a=_0xe507,_0x1aa5c2=_0x12f4ec[_0x15fb6a(0x1a3)],_0x289445=new _0x27249a(_0x1aa5c2),_0x324fb2=_0x289445[_0x15fb6a(0x1aa)];_0x41d9ed&&_0x289445[_0x15fb6a(0x1a4)]({'on':{'mouseenter':_0x324fb2['to'](()=>{const _0x33a233=_0x15fb6a;_0x1f92c9&&_0x1f92c9()||_0x289445[_0x33a233(0x1a6)]();})}});const _0x14bf36=_0x444743[_0x15fb6a(0x1a8)]??_0x444743[_0x15fb6a(0x1a9)]?.[_0x15fb6a(0x1a8)];return _0x289445[_0x15fb6a(0x1ae)]({'label':_0x444743[_0x15fb6a(0x1ab)],'withText':_0x1617e9,'role':_0x15fb6a(0x1b2),'icon':_0x15cdb0?_0x14bf36??_0x58af0c:void 0x0,'tooltip':!_0x1617e9,'class':_0x15fb6a(0x19c),'isEnabled':_0x444743[_0x15fb6a(0x1ac)]}),_0x289445['on'](_0x15fb6a(0x198),()=>{const _0x14b7a6=_0x15fb6a;_0x12f4ec[_0x14b7a6(0x1af)][_0x14b7a6(0x1a5)][_0x14b7a6(0x1a6)](),_0x12f4ec[_0x14b7a6(0x1a1)][_0x14b7a6(0x198)](_0x14b7a6(0x19d),_0x444743);}),_0x289445;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2dcbe9=_0x5651;(function(_0x44b547,_0x33c05a){const _0x37f170=_0x5651,_0x433f87=_0x44b547();while(!![]){try{const _0x184479=-parseInt(_0x37f170(0x17b))/0x1*(-parseInt(_0x37f170(0x141))/0x2)+parseInt(_0x37f170(0x16c))/0x3+-parseInt(_0x37f170(0x177))/0x4+parseInt(_0x37f170(0x179))/0x5+-parseInt(_0x37f170(0x12c))/0x6+-parseInt(_0x37f170(0x126))/0x7+parseInt(_0x37f170(0x14d))/0x8;if(_0x184479===_0x33c05a)break;else _0x433f87['push'](_0x433f87['shift']());}catch(_0x24746c){_0x433f87['push'](_0x433f87['shift']());}}}(_0x5bf1,0xe7ec2));import{View as _0x5f4784,ListItemView as _0x2c7cb0,ListView as _0x563593,BalloonPanelView as _0x3eb81d,DropdownMenuPanelPositioningFunctions as _0x255859,ViewCollection as _0x28adf9,FocusCycler as _0x483b2e,ButtonView as _0x9d50e5,IconView as _0x21c088,HighlightedTextView as _0x41cc49,ButtonLabelWithHighlightView as _0x149ebb,SearchTextView as _0x1c9c78}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x50c411}from'@ckeditor/ckeditor5-icons';function _0x5bf1(){const _0x4f0593=['get','_createActionGroupButton','div','_createListItems','button','14597080kQJhPZ','_createSearchTextView','ck-dropdown-menu-list','.ck-ai-quick-actions-group-button','contains','ck-button','clear','_openNestedPanels','focusCycler','first','mouseleave','ck-ai-quick-actions-search-result-button','extendTemplate','_createSearchResultIndividualActionButton','span','_allSearchableItems','keystrokes','ck-ai-quick-actions-search-result__group-row','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','detachFromDom','isVisible','rtl','reset','ck-ai-quick-actions','displayedPrompt','items','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_handlePanelKeydown','.ck-ai-quick-actions-group-list','_showNestedPanel','ck-ai-quick-actions-search-result-button_with-group','1531284SxutkT','_setupActionButtonExecution','ck-ai-quick-actions-button','editing','focusTracker','_searchTextView','render','ck-ai-quick-actions-button_with-group','_hideAllNestedPanels','bindTemplate','key','7544208kulHgx','label','7963625qPBATI','_hideNestedPanel','143320XcwltZ','ck-ai-quick-actions-group-button','ck-ai-quick-actions-search','AI_QUICK_ACTIONS_SEARCH','ck-ai-quick-actions-button__group-icon','ArrowLeft','ck-ai-quick-actions-button_with-group__open-paren','ck-ai-quick-actions-group-list','ck-dropdown-menu__nested-menu__panel','_isSearchFocused','_createSearchResultContentView','fieldView','closest','.ck-ai-quick-actions-group-panel','focus','pin','forEach','fire','content','_hasSearch','_createSearchResultActionButton','eastSouth','ArrowRight','ownerDocument','hide','aiQuickAction','_setupGroupMenuBehavior','ck-ai-quick-actions-group-panel','_createActionButton','_createSearchResultActionRow','ck-reset_all','add','locale','uiLanguageDirection','_isMovingToNestedMenu','_handleSearchResultButtonClick','isEnabled','execute','ck-button_with-text','_bodyCollection','children','queryView','show','_getPanelKeystroke','push','menuitem','ck-rounded-corners','menu','isOn','4845806qAWnvP','commands','_createGroupActionsList','activeElement','addMany','parent','8416584hNwiUo','setTemplate','set','chain','view','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_createSearchResultGroupRow','resetSearch','_createSearchResultGroupedActionButton','role','element','ck-ai-quick-actions-search-result__action-row','bind','ck-ai-quick-actions-search-result__content','some','ck-ai-quick-actions-button_with-group__close-paren','optionsListView','addEventListener','destroy','icon','_getButtonKeystroke','14QCJIvR','relatedTarget','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','delete','_focusables','actions','text'];_0x5bf1=function(){return _0x4f0593;};return _0x5bf1();}import{FocusTracker as _0x30a7ca,KeystrokeHandler as _0x202db3}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x4a36d1}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x1daa59}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x8e7bef}from'../../aicore/utils/common-translations.js';function _0x5651(_0x3b7dce,_0xe17e0a){const _0x5bf158=_0x5bf1();return _0x5651=function(_0x5651d8,_0x1d227b){_0x5651d8=_0x5651d8-0xf9;let _0x4ec00c=_0x5bf158[_0x5651d8];return _0x4ec00c;},_0x5651(_0x3b7dce,_0xe17e0a);}import{AIQuickActionsFilteredListView as _0x5f4507}from'./aiquickactionsfilteredlistview.js';const Qs=_0x2dcbe9(0x124),Gs=_0x2dcbe9(0x122);export class AIQuickActionsDropdownContentView extends _0x5f4784{[_0x2dcbe9(0x11c)];[_0x2dcbe9(0x13c)];[_0x2dcbe9(0x171)]=null;[_0x2dcbe9(0x15c)]=[];[_0x2dcbe9(0x11d)];[_0x2dcbe9(0x170)];[_0x2dcbe9(0x15d)];[_0x2dcbe9(0x145)];[_0x2dcbe9(0x155)];[_0x2dcbe9(0x154)]=new Set();[_0x2dcbe9(0x108)];constructor(_0x2b66c7,_0x167371,_0x541a74,_0x355ece,_0x43d130=!0x1){const _0x3d19cc=_0x2dcbe9,_0x28b2b5=_0x2b66c7[_0x3d19cc(0x115)];super(_0x28b2b5),this[_0x3d19cc(0x11c)]=_0x355ece,this[_0x3d19cc(0x108)]=_0x43d130;const _0x3a5bda=this[_0x3d19cc(0x14b)](_0x2b66c7,_0x167371,_0x541a74);this[_0x3d19cc(0x13c)]=new _0x5f4507(_0x28b2b5,_0x3a5bda,this[_0x3d19cc(0x15c)]),this[_0x3d19cc(0x13c)][_0x3d19cc(0x135)]=Qs,this[_0x3d19cc(0x13c)][_0x3d19cc(0x166)][_0x3d19cc(0x12a)](_0x3a5bda),this[_0x3d19cc(0x170)]=new _0x30a7ca(),this[_0x3d19cc(0x15d)]=new _0x202db3(),_0x43d130&&(this[_0x3d19cc(0x171)]=this[_0x3d19cc(0x14e)]()),this[_0x3d19cc(0x145)]=_0x3a5bda,this[_0x3d19cc(0x155)]=new _0x483b2e({'focusables':this[_0x3d19cc(0x145)],'focusTracker':this[_0x3d19cc(0x170)],'keystrokeHandler':this[_0x3d19cc(0x15d)]}),_0x43d130&&this[_0x3d19cc(0x171)]&&this[_0x3d19cc(0x155)][_0x3d19cc(0x12f)](this[_0x3d19cc(0x171)][_0x3d19cc(0x155)]);const _0x34a7e4=_0x43d130&&this[_0x3d19cc(0x171)]?[this[_0x3d19cc(0x171)]]:[this[_0x3d19cc(0x13c)]];this[_0x3d19cc(0x11d)]=new _0x28adf9(_0x34a7e4),this[_0x3d19cc(0x12d)]({'tag':_0x3d19cc(0x14a),'attributes':{'class':['ck',_0x3d19cc(0x113),_0x3d19cc(0x164),_0x3d19cc(0x123)],'dir':_0x28b2b5[_0x3d19cc(0x116)]},'children':this[_0x3d19cc(0x11d)]});}[_0x2dcbe9(0x14e)](){const _0x1f6a8d=_0x2dcbe9;return new _0x1c9c78(this[_0x1f6a8d(0x115)],{'filteredView':this[_0x1f6a8d(0x13c)],'queryView':{'label':_0x8e7bef(this[_0x1f6a8d(0x115)],_0x1f6a8d(0x17e))},'class':_0x1f6a8d(0x17d),'infoView':{'text':{'notFound':{'primary':_0x8e7bef(this[_0x1f6a8d(0x115)],_0x1f6a8d(0x167))}}}});}[_0x2dcbe9(0xfe)](){const _0x30195a=_0x2dcbe9;if(!this[_0x30195a(0x108)]||!this[_0x30195a(0x171)]||!this[_0x30195a(0x171)][_0x30195a(0x11e)][_0x30195a(0x100)][_0x30195a(0x136)])return!0x1;const _0x1e0733=this[_0x30195a(0x171)][_0x30195a(0x11e)][_0x30195a(0x100)][_0x30195a(0x136)][_0x30195a(0x10c)]?.[_0x30195a(0x129)];return this[_0x30195a(0x171)][_0x30195a(0x11e)][_0x30195a(0x100)][_0x30195a(0x136)][_0x30195a(0x151)](_0x1e0733);}[_0x2dcbe9(0x14b)](_0x2a8573,_0x2319ef,_0x1ecbe5){const _0x41d7d3=_0x2dcbe9,_0x20948d=new _0x28adf9();return _0x2319ef[_0x41d7d3(0x105)](_0x592005=>{const _0x31c448=_0x41d7d3;if(_0x31c448(0x146)in _0x592005){const {listItem:_0x3a0015}=this[_0x31c448(0x149)](_0x2a8573,_0x592005,_0x1ecbe5);_0x20948d[_0x31c448(0x114)](_0x3a0015),_0x592005[_0x31c448(0x146)][_0x31c448(0x105)](_0x15c6c8=>{const _0x270ed2=_0x31c448;this[_0x270ed2(0x111)](_0x2a8573,_0x15c6c8,_0x592005[_0x270ed2(0x178)],_0x592005[_0x270ed2(0x13f)]);const {listItem:_0x54ea94,highlightViews:_0x5d138e}=this[_0x270ed2(0x109)](_0x2a8573,_0x15c6c8,_0x592005[_0x270ed2(0x178)],_0x592005[_0x270ed2(0x13f)]);this[_0x270ed2(0x15c)][_0x270ed2(0x121)]({'item':_0x54ea94,'label':_0x15c6c8[_0x270ed2(0x165)],'groupLabel':_0x592005[_0x270ed2(0x178)],'highlightViews':_0x5d138e});});}else{const {listItem:_0x1c0809}=this[_0x31c448(0x111)](_0x2a8573,_0x592005);_0x20948d[_0x31c448(0x114)](_0x1c0809);const _0x5b771f=_0x1c0809[_0x31c448(0x11d)][_0x31c448(0x156)];if(_0x5b771f){const {listItem:_0x396192,highlightViews:_0xed9745}=this[_0x31c448(0x109)](_0x2a8573,_0x592005);this[_0x31c448(0x15c)][_0x31c448(0x121)]({'item':_0x396192,'label':_0x5b771f[_0x31c448(0x178)]||'','highlightViews':_0xed9745});}}}),_0x20948d;}[_0x2dcbe9(0x111)](_0xf097de,_0x280cf7,_0x49a63b,_0x1caf58){const _0x3eb26f=_0x2dcbe9,_0x31ac7c=new _0x2c7cb0(this[_0x3eb26f(0x115)]);if(_0x49a63b&&_0x1caf58){const _0x4b8740=new _0x9d50e5(this[_0x3eb26f(0x115)]),_0x3ec571=_0x4b8740[_0x3eb26f(0x175)],_0x1eae75=new _0x41cc49();_0x1eae75[_0x3eb26f(0x147)]=_0x280cf7[_0x3eb26f(0x165)];const _0x24ffed=new _0x41cc49();_0x24ffed[_0x3eb26f(0x147)]=_0x49a63b;const _0x32c833=new _0x21c088();_0x32c833[_0x3eb26f(0x107)]=_0x1caf58,_0x32c833[_0x3eb26f(0x159)]({'attributes':{'class':_0x3eb26f(0xf9)}});const _0x52751e=new _0x5f4784(this[_0x3eb26f(0x115)]);_0x52751e[_0x3eb26f(0x12d)]({'tag':_0x3eb26f(0x15b),'attributes':{'class':_0x3eb26f(0xfb)},'children':[{'text':'\x20('}]});const _0x58c168=new _0x5f4784(this[_0x3eb26f(0x115)]);return _0x58c168[_0x3eb26f(0x12d)]({'tag':_0x3eb26f(0x15b),'attributes':{'class':_0x3eb26f(0x13b)},'children':[{'text':')'}]}),_0x4b8740[_0x3eb26f(0x12e)]({'label':_0x280cf7[_0x3eb26f(0x165)]+'\x20('+_0x49a63b+')','withText':!0x0,'role':_0x3eb26f(0x122),'class':_0x3eb26f(0x131),'tooltip':!0x1}),_0x4b8740[_0x3eb26f(0x12d)]({'tag':_0x3eb26f(0x14c),'attributes':{'class':['ck',_0x3eb26f(0x152),_0x3eb26f(0x11b),_0x3eb26f(0x16e),_0x3eb26f(0x173)],'type':_0x3eb26f(0x14c),'role':_0x3eb26f(0x122),'tabindex':'-1'},'children':[_0x1eae75,_0x52751e,_0x32c833,_0x24ffed,_0x58c168],'on':{'mouseenter':_0x3ec571['to'](()=>{const _0x307d80=_0x3eb26f;this[_0x307d80(0xfe)]()||_0x4b8740[_0x307d80(0x103)]();}),'click':_0x3ec571['to'](()=>{const _0x22fe7e=_0x3eb26f;_0x4b8740[_0x22fe7e(0x106)](_0x22fe7e(0x11a));})}}),_0x4b8740['on'](_0x3eb26f(0x11a),()=>{const _0x306dbb=_0x3eb26f;_0xf097de[_0x306dbb(0x16f)][_0x306dbb(0x130)][_0x306dbb(0x103)](),_0xf097de[_0x306dbb(0x127)][_0x306dbb(0x11a)](_0x306dbb(0x10e),_0x280cf7);}),_0x31ac7c[_0x3eb26f(0x11d)][_0x3eb26f(0x114)](_0x4b8740),{'listItem':_0x31ac7c,'highlightViews':[_0x1eae75,_0x24ffed]};}{const _0x506dd4=new _0x149ebb(),_0x34ab22=new _0x9d50e5(this[_0x3eb26f(0x115)],_0x506dd4),_0x4765ec=_0x34ab22[_0x3eb26f(0x175)],_0x25b9f5=_0x280cf7[_0x3eb26f(0x13f)]??_0x280cf7[_0x3eb26f(0x12b)]?.[_0x3eb26f(0x13f)],_0x3f6d41=void 0x0!==_0x280cf7[_0x3eb26f(0x13f)];return _0x34ab22[_0x3eb26f(0x12e)]({'label':_0x280cf7[_0x3eb26f(0x165)],'withText':!0x0,'role':_0x3eb26f(0x122),'icon':_0x3f6d41?_0x25b9f5??_0x50c411:void 0x0,'tooltip':!0x1,'class':_0x3eb26f(0x16e)}),_0x34ab22[_0x3eb26f(0x159)]({'on':{'mouseenter':_0x4765ec['to'](()=>{const _0x22fe6e=_0x3eb26f;this[_0x22fe6e(0xfe)]()||_0x34ab22[_0x22fe6e(0x103)]();})}}),_0x34ab22['on'](_0x3eb26f(0x11a),()=>{const _0x5e6b43=_0x3eb26f;_0xf097de[_0x5e6b43(0x16f)][_0x5e6b43(0x130)][_0x5e6b43(0x103)](),_0xf097de[_0x5e6b43(0x127)][_0x5e6b43(0x11a)](_0x5e6b43(0x10e),_0x280cf7);}),_0x31ac7c[_0x3eb26f(0x11d)][_0x3eb26f(0x114)](_0x34ab22),{'listItem':_0x31ac7c,'highlightViews':[_0x506dd4]};}}[_0x2dcbe9(0x109)](_0x4b2249,_0x1e2187,_0x37417b,_0x28bde6){const _0x32e4e3=_0x2dcbe9;return _0x37417b&&_0x28bde6?this[_0x32e4e3(0x134)](_0x4b2249,_0x1e2187,_0x37417b,_0x28bde6):this[_0x32e4e3(0x15a)](_0x4b2249,_0x1e2187);}[_0x2dcbe9(0x134)](_0x338d7b,_0x45c4d8,_0x109278,_0x2f061a){const _0x5947de=_0x2dcbe9,_0x522958=new _0x2c7cb0(this[_0x5947de(0x115)]),_0x51a9c4=new _0x9d50e5(this[_0x5947de(0x115)]),_0x595ec4=_0x51a9c4[_0x5947de(0x175)],{view:_0x559ef2,highlightView:_0x3cf61a}=this[_0x5947de(0x132)](_0x109278,_0x2f061a),{view:_0x53a6a8,highlightView:_0x5c9aa3}=this[_0x5947de(0x112)](_0x45c4d8[_0x5947de(0x165)]),_0x197fe5=this[_0x5947de(0xff)](_0x559ef2,_0x53a6a8);return _0x51a9c4[_0x5947de(0x12e)]({'label':_0x45c4d8[_0x5947de(0x165)],'withText':!0x0,'role':_0x5947de(0x122),'class':_0x5947de(0x143),'tooltip':!0x1}),_0x51a9c4[_0x5947de(0x12d)]({'tag':_0x5947de(0x14c),'attributes':{'class':['ck',_0x5947de(0x152),_0x5947de(0x11b),_0x5947de(0x16e),_0x5947de(0x158),_0x5947de(0x16b)],'type':_0x5947de(0x14c),'role':_0x5947de(0x122),'tabindex':'-1'},'children':[_0x197fe5],'on':{'mouseenter':_0x595ec4['to'](()=>{const _0xaee498=_0x5947de;this[_0xaee498(0xfe)]()||_0x51a9c4[_0xaee498(0x103)]();}),'click':_0x595ec4['to'](()=>{const _0x1673c4=_0x5947de;this[_0x1673c4(0x118)](_0x51a9c4);})}}),this[_0x5947de(0x16d)](_0x51a9c4,_0x338d7b,_0x45c4d8),_0x522958[_0x5947de(0x11d)][_0x5947de(0x114)](_0x51a9c4),{'listItem':_0x522958,'highlightViews':[_0x3cf61a,_0x5c9aa3]};}[_0x2dcbe9(0x15a)](_0x16a670,_0x2ff34c){const _0x14eca4=_0x2dcbe9,_0x1db5c1=new _0x2c7cb0(this[_0x14eca4(0x115)]),_0x289f50=new _0x149ebb(),_0x5200a8=new _0x9d50e5(this[_0x14eca4(0x115)],_0x289f50),_0xd11002=_0x5200a8[_0x14eca4(0x175)];return _0x5200a8[_0x14eca4(0x12e)]({'label':_0x2ff34c[_0x14eca4(0x165)],'withText':!0x0,'role':_0x14eca4(0x122),'icon':void 0x0,'tooltip':!0x1,'class':_0x14eca4(0x15f)}),_0x5200a8[_0x14eca4(0x159)]({'on':{'mouseenter':_0xd11002['to'](()=>{const _0x1dc7ef=_0x14eca4;this[_0x1dc7ef(0xfe)]()||_0x5200a8[_0x1dc7ef(0x103)]();})}}),this[_0x14eca4(0x16d)](_0x5200a8,_0x16a670,_0x2ff34c),_0x1db5c1[_0x14eca4(0x11d)][_0x14eca4(0x114)](_0x5200a8),{'listItem':_0x1db5c1,'highlightViews':[_0x289f50]};}[_0x2dcbe9(0x132)](_0x775655,_0x2fa19d){const _0x58694b=_0x2dcbe9,_0x124305=new _0x5f4784(this[_0x58694b(0x115)]),_0x3340c8=new _0x21c088();_0x3340c8[_0x58694b(0x107)]=_0x2fa19d,_0x3340c8[_0x58694b(0x159)]({'attributes':{'class':_0x58694b(0xf9)}});const _0x378667=new _0x41cc49();return _0x378667[_0x58694b(0x147)]=_0x775655,_0x124305[_0x58694b(0x12d)]({'tag':_0x58694b(0x14a),'attributes':{'class':_0x58694b(0x15e)},'children':[_0x3340c8,_0x378667]}),{'view':_0x124305,'highlightView':_0x378667};}[_0x2dcbe9(0x112)](_0x19a17f){const _0x4c2bae=_0x2dcbe9,_0x2419cb=new _0x5f4784(this[_0x4c2bae(0x115)]),_0x2a5ac5=new _0x41cc49();return _0x2a5ac5[_0x4c2bae(0x147)]=_0x19a17f,_0x2419cb[_0x4c2bae(0x12d)]({'tag':_0x4c2bae(0x14a),'attributes':{'class':_0x4c2bae(0x137)},'children':[_0x2a5ac5]}),{'view':_0x2419cb,'highlightView':_0x2a5ac5};}[_0x2dcbe9(0xff)](_0x4c1121,_0x56d014){const _0x4efc9c=_0x2dcbe9,_0x5a1a50=new _0x5f4784(this[_0x4efc9c(0x115)]);return _0x5a1a50[_0x4efc9c(0x12d)]({'tag':_0x4efc9c(0x14a),'attributes':{'class':_0x4efc9c(0x139)},'children':[_0x4c1121,_0x56d014]}),_0x5a1a50;}[_0x2dcbe9(0x16d)](_0x5bed96,_0x3b4d22,_0x5676ba){const _0x756e76=_0x2dcbe9;_0x5bed96['on'](_0x756e76(0x11a),()=>{const _0x16919b=_0x756e76;_0x3b4d22[_0x16919b(0x16f)][_0x16919b(0x130)][_0x16919b(0x103)](),_0x3b4d22[_0x16919b(0x127)][_0x16919b(0x11a)](_0x16919b(0x10e),_0x5676ba);});}[_0x2dcbe9(0x149)](_0xff93e5,_0x1abd0e,_0x35b4fa){const _0x355336=_0x2dcbe9,_0x579d35=new _0x2c7cb0(this[_0x355336(0x115)]),_0x37d0f6=new _0x149ebb(),_0x233e3e=new _0x1daa59(this[_0x355336(0x115)],_0x37d0f6),_0x4ad501=_0x233e3e[_0x355336(0x175)],_0x4a64ec=this[_0x355336(0x120)](_0x35b4fa),_0x5f07be=this[_0x355336(0x128)](_0xff93e5,_0x1abd0e[_0x355336(0x146)],_0x35b4fa);_0x233e3e[_0x355336(0x12e)]({'label':_0x1abd0e[_0x355336(0x178)],'withText':!0x0,'role':Gs,'icon':_0x1abd0e[_0x355336(0x13f)]??_0x50c411,'isEnabled':_0x1abd0e[_0x355336(0x146)][_0x355336(0x13a)](_0x2cc14f=>_0x2cc14f[_0x355336(0x119)])}),_0x233e3e[_0x355336(0x159)]({'on':{'mouseenter':_0x4ad501['to'](()=>{const _0x16b824=_0x355336;this[_0x16b824(0xfe)]()||_0x233e3e[_0x16b824(0x103)]();})}});const _0xd2ba13=new _0x3eb81d(this[_0x355336(0x115)]);return _0xd2ba13[_0x355336(0x159)]({'attributes':{'class':['ck',_0x355336(0x113),_0x355336(0x110),_0x355336(0xfd)]},'on':{'keydown':_0x4ad501['to'](_0x4eae22=>{const _0x5cd4fa=_0x355336;this[_0x5cd4fa(0x168)](_0x4eae22,_0x4a64ec,_0x233e3e,_0xd2ba13);})}}),_0x233e3e[_0x355336(0x138)](_0x355336(0x125))['to'](_0xd2ba13,_0x355336(0x161)),this[_0x355336(0x11c)][_0x355336(0x114)](_0xd2ba13),_0xd2ba13[_0x355336(0x107)][_0x355336(0x114)](_0x5f07be),this[_0x355336(0x10f)](_0x233e3e,_0xd2ba13),_0x579d35[_0x355336(0x11d)][_0x355336(0x114)](_0x233e3e),{'listItem':_0x579d35,'highlightView':_0x37d0f6};}[_0x2dcbe9(0x128)](_0x3b6922,_0x223b98,_0x2b93f4){const _0x1e3d5f=_0x2dcbe9,_0x382cfa=new _0x563593(this[_0x1e3d5f(0x115)]);return _0x382cfa[_0x1e3d5f(0x159)]({'attributes':{'class':['ck',_0x1e3d5f(0x113),_0x1e3d5f(0xfc),_0x1e3d5f(0x14f)]}}),_0x223b98[_0x1e3d5f(0x105)](_0x26217d=>{const _0x26fca9=_0x1e3d5f,_0x33c14f=new _0x2c7cb0(this[_0x26fca9(0x115)]),_0x515af8=_0x4a36d1({'editor':_0x3b6922,'action':_0x26217d,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x26fca9(0xfe)]()})();_0x33c14f[_0x26fca9(0x11d)][_0x26fca9(0x114)](_0x515af8),_0x2b93f4[_0x26fca9(0x170)][_0x26fca9(0x114)](_0x515af8),_0x382cfa[_0x26fca9(0x166)][_0x26fca9(0x114)](_0x33c14f);}),_0x382cfa;}[_0x2dcbe9(0x10f)](_0x1539dd,_0x3f6c06){const _0x3e01db=_0x2dcbe9,_0x299696=_0x1539dd[_0x3e01db(0x175)],_0x204bab=this[_0x3e01db(0x140)](_0x1539dd);_0x1539dd[_0x3e01db(0x159)]({'attributes':{'class':[_0x3e01db(0x17c)]},'on':{'mouseenter':_0x299696['to'](()=>{const _0x2dc2c1=_0x3e01db;this[_0x2dc2c1(0x16a)](_0x3f6c06,_0x1539dd);}),'mouseleave':_0x299696['to'](_0x2e546f=>{const _0x475e71=_0x3e01db,_0x3a2e1a=_0x2e546f[_0x475e71(0x142)];this[_0x475e71(0x117)](_0x3a2e1a,_0x3f6c06)||this[_0x475e71(0x17a)](_0x3f6c06);}),'keydown':_0x299696['to'](_0x21f6f2=>{const _0x1e05f7=_0x3e01db;_0x21f6f2[_0x1e05f7(0x176)]==_0x204bab&&(this[_0x1e05f7(0x16a)](_0x3f6c06,_0x1539dd),_0x3f6c06[_0x1e05f7(0x107)][_0x1e05f7(0x148)](0x0)[_0x1e05f7(0x103)]());})}}),_0x3f6c06['on'](_0x3e01db(0x172),()=>{const _0x1a3d86=_0x3e01db;_0x3f6c06[_0x1a3d86(0x136)]?.[_0x1a3d86(0x13d)](_0x1a3d86(0x157),_0x4d438d=>{const _0x1ebf3c=_0x1a3d86,_0x35b00f=_0x4d438d[_0x1ebf3c(0x142)];_0x1539dd[_0x1ebf3c(0x136)]?.[_0x1ebf3c(0x151)](_0x35b00f)||this[_0x1ebf3c(0x117)](_0x35b00f,_0x3f6c06)||this[_0x1ebf3c(0x17a)](_0x3f6c06);});});}[_0x2dcbe9(0x16a)](_0x1d6070,_0x4661ef){const _0x56037e=_0x2dcbe9;this[_0x56037e(0x154)][_0x56037e(0x105)](_0x3fb701=>{const _0xd94da3=_0x56037e;_0x3fb701!==_0x1d6070&&_0x3fb701[_0xd94da3(0x161)]&&_0x3fb701[_0xd94da3(0x10d)]();}),_0x1d6070[_0x56037e(0x11f)](),_0x1d6070[_0x56037e(0x104)]({'positions':[_0x255859[_0x56037e(0x10a)]],'target':_0x4661ef[_0x56037e(0x136)],'fitInViewport':!0x0}),this[_0x56037e(0x154)][_0x56037e(0x114)](_0x1d6070);}[_0x2dcbe9(0x17a)](_0x2d6610){const _0x3cb36e=_0x2dcbe9;_0x2d6610[_0x3cb36e(0x10d)](),this[_0x3cb36e(0x154)][_0x3cb36e(0x144)](_0x2d6610);}[_0x2dcbe9(0x174)](){const _0x15f1a0=_0x2dcbe9;this[_0x15f1a0(0x154)][_0x15f1a0(0x105)](_0x4c221d=>_0x4c221d[_0x15f1a0(0x10d)]()),this[_0x15f1a0(0x154)][_0x15f1a0(0x153)]();}[_0x2dcbe9(0x117)](_0x37ef34,_0x242efb){const _0x59d60f=_0x2dcbe9;if(!_0x37ef34)return!0x1;if(_0x242efb[_0x59d60f(0x136)]?.[_0x59d60f(0x151)](_0x37ef34))return!0x0;const _0x13b734=_0x37ef34;return _0x13b734[_0x59d60f(0x101)]&&(null!==_0x13b734[_0x59d60f(0x101)](_0x59d60f(0x102))||null!==_0x13b734[_0x59d60f(0x101)](_0x59d60f(0x169))||null!==_0x13b734[_0x59d60f(0x101)](_0x59d60f(0x150)));}[_0x2dcbe9(0x133)](){const _0x505762=_0x2dcbe9;this[_0x505762(0x171)]&&this[_0x505762(0x171)][_0x505762(0x163)]();}[_0x2dcbe9(0x13e)](){const _0x16d59c=_0x2dcbe9;this[_0x16d59c(0x174)](),this[_0x16d59c(0x11c)][_0x16d59c(0x160)](),super[_0x16d59c(0x13e)]();}[_0x2dcbe9(0x103)](){const _0x4d2e11=_0x2dcbe9;this[_0x4d2e11(0x171)]?this[_0x4d2e11(0x171)][_0x4d2e11(0x103)]():this[_0x4d2e11(0x13c)][_0x4d2e11(0x103)]();}[_0x2dcbe9(0x120)](_0x334750){const _0x1171a0=_0x2dcbe9;return _0x1171a0(0x162)===_0x334750[_0x1171a0(0x115)][_0x1171a0(0x116)]?_0x1171a0(0x10b):_0x1171a0(0xfa);}[_0x2dcbe9(0x140)](_0x137cd4){const _0x37a134=_0x2dcbe9;return _0x37a134(0x162)===_0x137cd4[_0x37a134(0x115)][_0x37a134(0x116)]?_0x37a134(0xfa):_0x37a134(0x10b);}[_0x2dcbe9(0x168)](_0x54fa0e,_0x51b11b,_0x218c40,_0x362a8a){const _0x363dfe=_0x2dcbe9;_0x54fa0e[_0x363dfe(0x176)]==_0x51b11b&&(_0x218c40[_0x363dfe(0x103)](),this[_0x363dfe(0x17a)](_0x362a8a));}[_0x2dcbe9(0x118)](_0x5d9d8d){const _0x43545b=_0x2dcbe9;_0x5d9d8d[_0x43545b(0x106)](_0x43545b(0x11a));}}
|
|
23
|
+
const _0x455e50=_0x970f;function _0x970f(_0x2c8b8e,_0x16d22e){const _0x4612f1=_0x4612();return _0x970f=function(_0x970fc4,_0x4418e4){_0x970fc4=_0x970fc4-0x167;let _0x187e75=_0x4612f1[_0x970fc4];return _0x187e75;},_0x970f(_0x2c8b8e,_0x16d22e);}(function(_0xad0278,_0x55dd78){const _0x4e5067=_0x970f,_0x547ad7=_0xad0278();while(!![]){try{const _0x46f30c=parseInt(_0x4e5067(0x181))/0x1*(parseInt(_0x4e5067(0x1d3))/0x2)+-parseInt(_0x4e5067(0x167))/0x3*(-parseInt(_0x4e5067(0x1ef))/0x4)+-parseInt(_0x4e5067(0x16d))/0x5*(-parseInt(_0x4e5067(0x17f))/0x6)+-parseInt(_0x4e5067(0x1dc))/0x7*(-parseInt(_0x4e5067(0x170))/0x8)+-parseInt(_0x4e5067(0x1b1))/0x9*(parseInt(_0x4e5067(0x17a))/0xa)+parseInt(_0x4e5067(0x19e))/0xb+-parseInt(_0x4e5067(0x1cc))/0xc;if(_0x46f30c===_0x55dd78)break;else _0x547ad7['push'](_0x547ad7['shift']());}catch(_0x52efcc){_0x547ad7['push'](_0x547ad7['shift']());}}}(_0x4612,0x99ae5));import{View as _0x3bf479,ListItemView as _0x213cdd,ListView as _0x20a349,BalloonPanelView as _0x2ace01,DropdownMenuPanelPositioningFunctions as _0x5273af,ViewCollection as _0x90e47c,FocusCycler as _0x1f3929,ButtonView as _0x26a70e,IconView as _0x2654fb,HighlightedTextView as _0xd0372d,ButtonLabelWithHighlightView as _0x517bc1,SearchTextView as _0x56cf07}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x261559}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x4d8213,KeystrokeHandler as _0x1c6edf}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x46a604}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x344102}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x2e7cc5}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x157fbf}from'./aiquickactionsfilteredlistview.js';const Qs=_0x455e50(0x1ee),Gs=_0x455e50(0x16f);export class AIQuickActionsDropdownContentView extends _0x3bf479{[_0x455e50(0x1a6)];[_0x455e50(0x1e9)];[_0x455e50(0x1d9)]=null;[_0x455e50(0x1de)]=[];[_0x455e50(0x1e7)];[_0x455e50(0x1b3)];[_0x455e50(0x1c9)];[_0x455e50(0x1cd)];[_0x455e50(0x193)];[_0x455e50(0x1ba)]=new Set();[_0x455e50(0x18d)];constructor(_0xb51686,_0x4eecee,_0x35592e,_0x4eca7b,_0x503c7d=!0x1){const _0x3d9a45=_0x455e50,_0x364f81=_0xb51686[_0x3d9a45(0x173)];super(_0x364f81),this[_0x3d9a45(0x1a6)]=_0x4eca7b,this[_0x3d9a45(0x18d)]=_0x503c7d;const _0x1d69b2=this[_0x3d9a45(0x1a8)](_0xb51686,_0x4eecee,_0x35592e);this[_0x3d9a45(0x1e9)]=new _0x157fbf(_0x364f81,_0x1d69b2,this[_0x3d9a45(0x1de)]),this[_0x3d9a45(0x1e9)][_0x3d9a45(0x1e3)]=Qs,this[_0x3d9a45(0x1e9)][_0x3d9a45(0x172)][_0x3d9a45(0x1b4)](_0x1d69b2),this[_0x3d9a45(0x1b3)]=new _0x4d8213(),this[_0x3d9a45(0x1c9)]=new _0x1c6edf(),_0x503c7d&&(this[_0x3d9a45(0x1d9)]=this[_0x3d9a45(0x17d)]()),this[_0x3d9a45(0x1cd)]=_0x1d69b2,this[_0x3d9a45(0x193)]=new _0x1f3929({'focusables':this[_0x3d9a45(0x1cd)],'focusTracker':this[_0x3d9a45(0x1b3)],'keystrokeHandler':this[_0x3d9a45(0x1c9)]}),_0x503c7d&&this[_0x3d9a45(0x1d9)]&&this[_0x3d9a45(0x193)][_0x3d9a45(0x1ed)](this[_0x3d9a45(0x1d9)][_0x3d9a45(0x193)]);const _0x51cef8=_0x503c7d&&this[_0x3d9a45(0x1d9)]?[this[_0x3d9a45(0x1d9)]]:[this[_0x3d9a45(0x1e9)]];this[_0x3d9a45(0x1e7)]=new _0x90e47c(_0x51cef8),this[_0x3d9a45(0x185)]({'tag':_0x3d9a45(0x1aa),'attributes':{'class':['ck',_0x3d9a45(0x18e),_0x3d9a45(0x1e0),_0x3d9a45(0x1df)],'dir':_0x364f81[_0x3d9a45(0x196)]},'children':this[_0x3d9a45(0x1e7)]});}[_0x455e50(0x17d)](){const _0x47425d=_0x455e50;return new _0x56cf07(this[_0x47425d(0x173)],{'filteredView':this[_0x47425d(0x1e9)],'queryView':{'label':_0x2e7cc5(this[_0x47425d(0x173)],_0x47425d(0x171))},'class':_0x47425d(0x1bf),'infoView':{'text':{'notFound':{'primary':_0x2e7cc5(this[_0x47425d(0x173)],_0x47425d(0x187))}}}});}[_0x455e50(0x194)](){const _0x563f98=_0x455e50;if(!this[_0x563f98(0x18d)]||!this[_0x563f98(0x1d9)]||!this[_0x563f98(0x1d9)][_0x563f98(0x1ec)][_0x563f98(0x1f0)][_0x563f98(0x1c8)])return!0x1;const _0x36c0ba=this[_0x563f98(0x1d9)][_0x563f98(0x1ec)][_0x563f98(0x1f0)][_0x563f98(0x1c8)][_0x563f98(0x190)]?.[_0x563f98(0x1d8)];return this[_0x563f98(0x1d9)][_0x563f98(0x1ec)][_0x563f98(0x1f0)][_0x563f98(0x1c8)][_0x563f98(0x1b5)](_0x36c0ba);}[_0x455e50(0x1a8)](_0x53e578,_0x16edd2,_0x4e3c02){const _0x2c6c34=_0x455e50,_0x13a4db=new _0x90e47c();return _0x16edd2[_0x2c6c34(0x1b7)](_0x4ea4b7=>{const _0x556ad4=_0x2c6c34;if(_0x556ad4(0x1bd)in _0x4ea4b7){const {listItem:_0x589190}=this[_0x556ad4(0x1af)](_0x53e578,_0x4ea4b7,_0x4e3c02);_0x13a4db[_0x556ad4(0x1e1)](_0x589190),_0x4ea4b7[_0x556ad4(0x1bd)][_0x556ad4(0x1b7)](_0x1b5146=>{const _0x1baa60=_0x556ad4;this[_0x1baa60(0x1ea)](_0x53e578,_0x1b5146,_0x4ea4b7[_0x1baa60(0x19b)],_0x4ea4b7[_0x1baa60(0x186)]);const {listItem:_0x16849d,highlightViews:_0x2db7e6}=this[_0x1baa60(0x1c5)](_0x53e578,_0x1b5146,_0x4ea4b7[_0x1baa60(0x19b)],_0x4ea4b7[_0x1baa60(0x186)]);this[_0x1baa60(0x1de)][_0x1baa60(0x1ac)]({'item':_0x16849d,'label':_0x1b5146[_0x1baa60(0x1c1)],'groupLabel':_0x4ea4b7[_0x1baa60(0x19b)],'highlightViews':_0x2db7e6});});}else{const {listItem:_0x3e4515}=this[_0x556ad4(0x1ea)](_0x53e578,_0x4ea4b7);_0x13a4db[_0x556ad4(0x1e1)](_0x3e4515);const _0x108986=_0x3e4515[_0x556ad4(0x1e7)][_0x556ad4(0x1e6)];if(_0x108986){const {listItem:_0x595306,highlightViews:_0x216a1a}=this[_0x556ad4(0x1c5)](_0x53e578,_0x4ea4b7);this[_0x556ad4(0x1de)][_0x556ad4(0x1ac)]({'item':_0x595306,'label':_0x108986[_0x556ad4(0x19b)]||'','highlightViews':_0x216a1a});}}}),_0x13a4db;}[_0x455e50(0x1ea)](_0x244f1b,_0x34e9ac,_0x1f5e3c,_0x1063d2){const _0x193600=_0x455e50,_0x2b8c25=new _0x213cdd(this[_0x193600(0x173)]);if(_0x1f5e3c&&_0x1063d2){const _0x10caa3=new _0x26a70e(this[_0x193600(0x173)]),_0x1379a3=_0x10caa3[_0x193600(0x1a7)],_0x2ab144=new _0xd0372d();_0x2ab144[_0x193600(0x1c7)]=_0x34e9ac[_0x193600(0x1c1)];const _0x4d87fe=new _0xd0372d();_0x4d87fe[_0x193600(0x1c7)]=_0x1f5e3c;const _0x210f02=new _0x2654fb();_0x210f02[_0x193600(0x1eb)]=_0x1063d2,_0x210f02[_0x193600(0x1a1)]({'attributes':{'class':_0x193600(0x1d2)}});const _0x333e46=new _0x3bf479(this[_0x193600(0x173)]);_0x333e46[_0x193600(0x185)]({'tag':_0x193600(0x1cf),'attributes':{'class':_0x193600(0x1e4)},'children':[{'text':'\x20('}]});const _0x4af17f=new _0x3bf479(this[_0x193600(0x173)]);return _0x4af17f[_0x193600(0x185)]({'tag':_0x193600(0x1cf),'attributes':{'class':_0x193600(0x1b2)},'children':[{'text':')'}]}),_0x10caa3[_0x193600(0x16a)]({'label':_0x34e9ac[_0x193600(0x1c1)]+'\x20('+_0x1f5e3c+')','withText':!0x0,'role':_0x193600(0x16f),'class':_0x193600(0x1cb),'tooltip':!0x1}),_0x10caa3[_0x193600(0x185)]({'tag':_0x193600(0x1c0),'attributes':{'class':['ck',_0x193600(0x18b),_0x193600(0x168),_0x193600(0x1d5),_0x193600(0x191)],'type':_0x193600(0x1c0),'role':_0x193600(0x16f),'tabindex':'-1'},'children':[_0x2ab144,_0x333e46,_0x210f02,_0x4d87fe,_0x4af17f],'on':{'mouseenter':_0x1379a3['to'](()=>{const _0x101c97=_0x193600;this[_0x101c97(0x194)]()||_0x10caa3[_0x101c97(0x197)]();}),'click':_0x1379a3['to'](()=>{const _0x2b9be8=_0x193600;_0x10caa3[_0x2b9be8(0x16c)](_0x2b9be8(0x1d6));})}}),_0x10caa3['on'](_0x193600(0x1d6),()=>{const _0x560ad9=_0x193600;_0x244f1b[_0x560ad9(0x175)][_0x560ad9(0x1c3)][_0x560ad9(0x197)](),_0x244f1b[_0x560ad9(0x188)][_0x560ad9(0x1d6)](_0x560ad9(0x19a),_0x34e9ac);}),_0x2b8c25[_0x193600(0x1e7)][_0x193600(0x1e1)](_0x10caa3),{'listItem':_0x2b8c25,'highlightViews':[_0x2ab144,_0x4d87fe]};}{const _0x184eb1=new _0x517bc1(),_0x3996eb=new _0x26a70e(this[_0x193600(0x173)],_0x184eb1),_0x22f16e=_0x3996eb[_0x193600(0x1a7)],_0x138207=_0x34e9ac[_0x193600(0x186)]??_0x34e9ac[_0x193600(0x1a4)]?.[_0x193600(0x186)],_0x5bc086=void 0x0!==_0x34e9ac[_0x193600(0x186)];return _0x3996eb[_0x193600(0x16a)]({'label':_0x34e9ac[_0x193600(0x1c1)],'withText':!0x0,'role':_0x193600(0x16f),'icon':_0x5bc086?_0x138207??_0x261559:void 0x0,'tooltip':!0x1,'class':_0x193600(0x1d5)}),_0x3996eb[_0x193600(0x1a1)]({'on':{'mouseenter':_0x22f16e['to'](()=>{const _0x46dea7=_0x193600;this[_0x46dea7(0x194)]()||_0x3996eb[_0x46dea7(0x197)]();})}}),_0x3996eb['on'](_0x193600(0x1d6),()=>{const _0x568792=_0x193600;_0x244f1b[_0x568792(0x175)][_0x568792(0x1c3)][_0x568792(0x197)](),_0x244f1b[_0x568792(0x188)][_0x568792(0x1d6)](_0x568792(0x19a),_0x34e9ac);}),_0x2b8c25[_0x193600(0x1e7)][_0x193600(0x1e1)](_0x3996eb),{'listItem':_0x2b8c25,'highlightViews':[_0x184eb1]};}}[_0x455e50(0x1c5)](_0x4791a5,_0x4772e2,_0x964308,_0x464dbc){const _0x552449=_0x455e50;return _0x964308&&_0x464dbc?this[_0x552449(0x178)](_0x4791a5,_0x4772e2,_0x964308,_0x464dbc):this[_0x552449(0x1d1)](_0x4791a5,_0x4772e2);}[_0x455e50(0x178)](_0x490448,_0x28b38f,_0x508b1c,_0x5b704c){const _0x1e930f=_0x455e50,_0x3d2e52=new _0x213cdd(this[_0x1e930f(0x173)]),_0x580e81=new _0x26a70e(this[_0x1e930f(0x173)]),_0x50f4e6=_0x580e81[_0x1e930f(0x1a7)],{view:_0x57aef7,highlightView:_0x1da581}=this[_0x1e930f(0x1e2)](_0x508b1c,_0x5b704c),{view:_0x20ddf3,highlightView:_0x40eb0f}=this[_0x1e930f(0x1db)](_0x28b38f[_0x1e930f(0x1c1)]),_0x352993=this[_0x1e930f(0x17b)](_0x57aef7,_0x20ddf3);return _0x580e81[_0x1e930f(0x16a)]({'label':_0x28b38f[_0x1e930f(0x1c1)],'withText':!0x0,'role':_0x1e930f(0x16f),'class':_0x1e930f(0x192),'tooltip':!0x1}),_0x580e81[_0x1e930f(0x185)]({'tag':_0x1e930f(0x1c0),'attributes':{'class':['ck',_0x1e930f(0x18b),_0x1e930f(0x168),_0x1e930f(0x1d5),_0x1e930f(0x195),_0x1e930f(0x1be)],'type':_0x1e930f(0x1c0),'role':_0x1e930f(0x16f),'tabindex':'-1'},'children':[_0x352993],'on':{'mouseenter':_0x50f4e6['to'](()=>{const _0x46f77e=_0x1e930f;this[_0x46f77e(0x194)]()||_0x580e81[_0x46f77e(0x197)]();}),'click':_0x50f4e6['to'](()=>{const _0x2d549c=_0x1e930f;this[_0x2d549c(0x177)](_0x580e81);})}}),this[_0x1e930f(0x1b9)](_0x580e81,_0x490448,_0x28b38f),_0x3d2e52[_0x1e930f(0x1e7)][_0x1e930f(0x1e1)](_0x580e81),{'listItem':_0x3d2e52,'highlightViews':[_0x1da581,_0x40eb0f]};}[_0x455e50(0x1d1)](_0x181ea2,_0x19b1a1){const _0xd70ada=_0x455e50,_0x198cd6=new _0x213cdd(this[_0xd70ada(0x173)]),_0xe66069=new _0x517bc1(),_0x259798=new _0x26a70e(this[_0xd70ada(0x173)],_0xe66069),_0x3160e0=_0x259798[_0xd70ada(0x1a7)];return _0x259798[_0xd70ada(0x16a)]({'label':_0x19b1a1[_0xd70ada(0x1c1)],'withText':!0x0,'role':_0xd70ada(0x16f),'icon':void 0x0,'tooltip':!0x1,'class':_0xd70ada(0x18f)}),_0x259798[_0xd70ada(0x1a1)]({'on':{'mouseenter':_0x3160e0['to'](()=>{const _0x2e661b=_0xd70ada;this[_0x2e661b(0x194)]()||_0x259798[_0x2e661b(0x197)]();})}}),this[_0xd70ada(0x1b9)](_0x259798,_0x181ea2,_0x19b1a1),_0x198cd6[_0xd70ada(0x1e7)][_0xd70ada(0x1e1)](_0x259798),{'listItem':_0x198cd6,'highlightViews':[_0xe66069]};}[_0x455e50(0x1e2)](_0x45936b,_0xcd90bb){const _0xbc5e68=_0x455e50,_0x5e8fb1=new _0x3bf479(this[_0xbc5e68(0x173)]),_0x34581e=new _0x2654fb();_0x34581e[_0xbc5e68(0x1eb)]=_0xcd90bb,_0x34581e[_0xbc5e68(0x1a1)]({'attributes':{'class':_0xbc5e68(0x1d2)}});const _0x373570=new _0xd0372d();return _0x373570[_0xbc5e68(0x1c7)]=_0x45936b,_0x5e8fb1[_0xbc5e68(0x185)]({'tag':_0xbc5e68(0x1aa),'attributes':{'class':_0xbc5e68(0x1e8)},'children':[_0x34581e,_0x373570]}),{'view':_0x5e8fb1,'highlightView':_0x373570};}[_0x455e50(0x1db)](_0x5dfc57){const _0x1ca77f=_0x455e50,_0x5e7a8f=new _0x3bf479(this[_0x1ca77f(0x173)]),_0x53147a=new _0xd0372d();return _0x53147a[_0x1ca77f(0x1c7)]=_0x5dfc57,_0x5e7a8f[_0x1ca77f(0x185)]({'tag':_0x1ca77f(0x1aa),'attributes':{'class':_0x1ca77f(0x1a9)},'children':[_0x53147a]}),{'view':_0x5e7a8f,'highlightView':_0x53147a};}[_0x455e50(0x17b)](_0x4822dd,_0x2e62d3){const _0x5dddc8=_0x455e50,_0x18f100=new _0x3bf479(this[_0x5dddc8(0x173)]);return _0x18f100[_0x5dddc8(0x185)]({'tag':_0x5dddc8(0x1aa),'attributes':{'class':_0x5dddc8(0x1ae)},'children':[_0x4822dd,_0x2e62d3]}),_0x18f100;}[_0x455e50(0x1b9)](_0x12eb55,_0x51c35b,_0x199f8e){const _0x12be73=_0x455e50;_0x12eb55['on'](_0x12be73(0x1d6),()=>{const _0x3c3a95=_0x12be73;_0x51c35b[_0x3c3a95(0x175)][_0x3c3a95(0x1c3)][_0x3c3a95(0x197)](),_0x51c35b[_0x3c3a95(0x188)][_0x3c3a95(0x1d6)](_0x3c3a95(0x19a),_0x199f8e);});}[_0x455e50(0x1af)](_0x7f9a88,_0x456535,_0x4d6b48){const _0x5d673b=_0x455e50,_0x2799f7=new _0x213cdd(this[_0x5d673b(0x173)]),_0x33d57b=new _0x517bc1(),_0x488233=new _0x344102(this[_0x5d673b(0x173)],_0x33d57b),_0x3bf6c9=_0x488233[_0x5d673b(0x1a7)],_0x4eed81=this[_0x5d673b(0x1c4)](_0x4d6b48),_0x51b8a4=this[_0x5d673b(0x17e)](_0x7f9a88,_0x456535[_0x5d673b(0x1bd)],_0x4d6b48);_0x488233[_0x5d673b(0x16a)]({'label':_0x456535[_0x5d673b(0x19b)],'withText':!0x0,'role':Gs,'icon':_0x456535[_0x5d673b(0x186)]??_0x261559,'isEnabled':_0x456535[_0x5d673b(0x1bd)][_0x5d673b(0x16e)](_0x354112=>_0x354112[_0x5d673b(0x1d4)])}),_0x488233[_0x5d673b(0x1a1)]({'on':{'mouseenter':_0x3bf6c9['to'](()=>{const _0x26f9d5=_0x5d673b;this[_0x26f9d5(0x194)]()||_0x488233[_0x26f9d5(0x197)]();})}});const _0x329558=new _0x2ace01(this[_0x5d673b(0x173)]);return _0x329558[_0x5d673b(0x1a1)]({'attributes':{'class':['ck',_0x5d673b(0x18e),_0x5d673b(0x1a0),_0x5d673b(0x1da)]},'on':{'keydown':_0x3bf6c9['to'](_0x52ac8c=>{const _0x268119=_0x5d673b;this[_0x268119(0x199)](_0x52ac8c,_0x4eed81,_0x488233,_0x329558);})}}),_0x488233[_0x5d673b(0x183)](_0x5d673b(0x19d))['to'](_0x329558,_0x5d673b(0x1ab)),this[_0x5d673b(0x1a6)][_0x5d673b(0x1e1)](_0x329558),_0x329558[_0x5d673b(0x1eb)][_0x5d673b(0x1e1)](_0x51b8a4),this[_0x5d673b(0x1a3)](_0x488233,_0x329558),_0x2799f7[_0x5d673b(0x1e7)][_0x5d673b(0x1e1)](_0x488233),{'listItem':_0x2799f7,'highlightView':_0x33d57b};}[_0x455e50(0x17e)](_0x3518b2,_0x38122b,_0x40a4b3){const _0x13b0f7=_0x455e50,_0x3b1a2b=new _0x20a349(this[_0x13b0f7(0x173)]);return _0x3b1a2b[_0x13b0f7(0x1a1)]({'attributes':{'class':['ck',_0x13b0f7(0x18e),_0x13b0f7(0x180),_0x13b0f7(0x1ca)]}}),_0x38122b[_0x13b0f7(0x1b7)](_0x5c89c0=>{const _0x39f390=_0x13b0f7,_0x32750a=new _0x213cdd(this[_0x39f390(0x173)]),_0x7e007=_0x46a604({'editor':_0x3518b2,'action':_0x5c89c0,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x39f390(0x194)]()})();_0x32750a[_0x39f390(0x1e7)][_0x39f390(0x1e1)](_0x7e007),_0x40a4b3[_0x39f390(0x1b3)][_0x39f390(0x1e1)](_0x7e007),_0x3b1a2b[_0x39f390(0x172)][_0x39f390(0x1e1)](_0x32750a);}),_0x3b1a2b;}[_0x455e50(0x1a3)](_0xf1296,_0x2b655c){const _0xf196fd=_0x455e50,_0x106236=_0xf1296[_0xf196fd(0x1a7)],_0x5e3727=this[_0xf196fd(0x169)](_0xf1296);_0xf1296[_0xf196fd(0x1a1)]({'attributes':{'class':[_0xf196fd(0x17c)]},'on':{'mouseenter':_0x106236['to'](()=>{const _0x1c2a67=_0xf196fd;this[_0x1c2a67(0x18a)](_0x2b655c,_0xf1296);}),'mouseleave':_0x106236['to'](_0x4434c3=>{const _0x32a09a=_0xf196fd,_0x382072=_0x4434c3[_0x32a09a(0x1dd)];this[_0x32a09a(0x1b8)](_0x382072,_0x2b655c)||this[_0x32a09a(0x18c)](_0x2b655c);}),'keydown':_0x106236['to'](_0x372fbf=>{const _0x3f87ca=_0xf196fd;_0x372fbf[_0x3f87ca(0x1b6)]==_0x5e3727&&(this[_0x3f87ca(0x18a)](_0x2b655c,_0xf1296),_0x2b655c[_0x3f87ca(0x1eb)][_0x3f87ca(0x184)](0x0)[_0x3f87ca(0x197)]());})}}),_0x2b655c['on'](_0xf196fd(0x16b),()=>{const _0x3b6630=_0xf196fd;_0x2b655c[_0x3b6630(0x1c8)]?.[_0x3b6630(0x179)](_0x3b6630(0x176),_0x5115b9=>{const _0x4d20a5=_0x3b6630,_0x186a32=_0x5115b9[_0x4d20a5(0x1dd)];_0xf1296[_0x4d20a5(0x1c8)]?.[_0x4d20a5(0x1b5)](_0x186a32)||this[_0x4d20a5(0x1b8)](_0x186a32,_0x2b655c)||this[_0x4d20a5(0x18c)](_0x2b655c);});});}[_0x455e50(0x18a)](_0x2b91db,_0x2a5eb8){const _0x4f9f06=_0x455e50;this[_0x4f9f06(0x1ba)][_0x4f9f06(0x1b7)](_0x228728=>{const _0x276e68=_0x4f9f06;_0x228728!==_0x2b91db&&_0x228728[_0x276e68(0x1ab)]&&_0x228728[_0x276e68(0x19c)]();}),_0x2b91db[_0x4f9f06(0x1ce)](),_0x2b91db[_0x4f9f06(0x1c6)]({'positions':[_0x5273af[_0x4f9f06(0x1a5)]],'target':_0x2a5eb8[_0x4f9f06(0x1c8)],'fitInViewport':!0x0}),this[_0x4f9f06(0x1ba)][_0x4f9f06(0x1e1)](_0x2b91db);}[_0x455e50(0x18c)](_0x4f7ec3){const _0x333368=_0x455e50;_0x4f7ec3[_0x333368(0x19c)](),this[_0x333368(0x1ba)][_0x333368(0x174)](_0x4f7ec3);}[_0x455e50(0x1d7)](){const _0x54862b=_0x455e50;this[_0x54862b(0x1ba)][_0x54862b(0x1b7)](_0x14f396=>_0x14f396[_0x54862b(0x19c)]()),this[_0x54862b(0x1ba)][_0x54862b(0x19f)]();}[_0x455e50(0x1b8)](_0x10f72b,_0x119679){const _0x59411f=_0x455e50;if(!_0x10f72b)return!0x1;if(_0x119679[_0x59411f(0x1c8)]?.[_0x59411f(0x1b5)](_0x10f72b))return!0x0;const _0x3652e4=_0x10f72b;return _0x3652e4[_0x59411f(0x1c2)]&&(null!==_0x3652e4[_0x59411f(0x1c2)](_0x59411f(0x1ad))||null!==_0x3652e4[_0x59411f(0x1c2)](_0x59411f(0x182))||null!==_0x3652e4[_0x59411f(0x1c2)](_0x59411f(0x1a2)));}[_0x455e50(0x1d0)](){const _0x142e3a=_0x455e50;this[_0x142e3a(0x1d9)]&&this[_0x142e3a(0x1d9)][_0x142e3a(0x198)]();}[_0x455e50(0x1bc)](){const _0xa9836e=_0x455e50;this[_0xa9836e(0x1d7)](),this[_0xa9836e(0x1a6)][_0xa9836e(0x1e5)](),super[_0xa9836e(0x1bc)]();}[_0x455e50(0x197)](){const _0x186a8e=_0x455e50;this[_0x186a8e(0x1d9)]?this[_0x186a8e(0x1d9)][_0x186a8e(0x197)]():this[_0x186a8e(0x1e9)][_0x186a8e(0x197)]();}[_0x455e50(0x1c4)](_0x5eca2b){const _0x495fa9=_0x455e50;return _0x495fa9(0x1b0)===_0x5eca2b[_0x495fa9(0x173)][_0x495fa9(0x196)]?_0x495fa9(0x1bb):_0x495fa9(0x189);}[_0x455e50(0x169)](_0x3d1d82){const _0x20c660=_0x455e50;return _0x20c660(0x1b0)===_0x3d1d82[_0x20c660(0x173)][_0x20c660(0x196)]?_0x20c660(0x189):_0x20c660(0x1bb);}[_0x455e50(0x199)](_0x4fb8ef,_0x5da09e,_0x134129,_0xcfa1b2){const _0x296003=_0x455e50;_0x4fb8ef[_0x296003(0x1b6)]==_0x5da09e&&(_0x134129[_0x296003(0x197)](),this[_0x296003(0x18c)](_0xcfa1b2));}[_0x455e50(0x177)](_0x3ba7ea){const _0x3111cd=_0x455e50;_0x3ba7ea[_0x3111cd(0x16c)](_0x3111cd(0x1d6));}}function _0x4612(){const _0x44d64b=['_createActionGroupButton','rtl','180171zzyNCs','ck-ai-quick-actions-button_with-group__close-paren','focusTracker','addMany','contains','key','forEach','_isMovingToNestedMenu','_setupActionButtonExecution','_openNestedPanels','ArrowRight','destroy','actions','ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions-search','button','displayedPrompt','closest','view','_getPanelKeystroke','_createSearchResultActionButton','pin','text','element','keystrokes','ck-dropdown-menu-list','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','14111040vXvGSz','_focusables','show','span','resetSearch','_createSearchResultIndividualActionButton','ck-ai-quick-actions-button__group-icon','36816INtioe','isEnabled','ck-ai-quick-actions-button','execute','_hideAllNestedPanels','activeElement','_searchTextView','ck-dropdown-menu__nested-menu__panel','_createSearchResultActionRow','98flBVsn','relatedTarget','_allSearchableItems','ck-rounded-corners','ck-ai-quick-actions','add','_createSearchResultGroupRow','role','ck-ai-quick-actions-button_with-group__open-paren','detachFromDom','first','children','ck-ai-quick-actions-search-result__group-row','optionsListView','_createActionButton','content','queryView','chain','menu','1637068ighHuz','fieldView','3IxndfB','ck-button_with-text','_getButtonKeystroke','set','render','fire','5459180cwMxEW','some','menuitem','582824PcXgaU','AI_QUICK_ACTIONS_SEARCH','items','locale','delete','editing','mouseleave','_handleSearchResultButtonClick','_createSearchResultGroupedActionButton','addEventListener','520NNbcaa','_createSearchResultContentView','ck-ai-quick-actions-group-button','_createSearchTextView','_createGroupActionsList','6WHMyrV','ck-ai-quick-actions-group-list','8KPgPQq','.ck-ai-quick-actions-group-list','bind','get','setTemplate','icon','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','commands','ArrowLeft','_showNestedPanel','ck-button','_hideNestedPanel','_hasSearch','ck-reset_all','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','ownerDocument','ck-ai-quick-actions-button_with-group','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','focusCycler','_isSearchFocused','ck-ai-quick-actions-search-result-button','uiLanguageDirection','focus','reset','_handlePanelKeydown','aiQuickAction','label','hide','isOn','1958836kGVIoZ','clear','ck-ai-quick-actions-group-panel','extendTemplate','.ck-ai-quick-actions-group-button','_setupGroupMenuBehavior','parent','eastSouth','_bodyCollection','bindTemplate','_createListItems','ck-ai-quick-actions-search-result__action-row','div','isVisible','push','.ck-ai-quick-actions-group-panel','ck-ai-quick-actions-search-result__content'];_0x4612=function(){return _0x44d64b;};return _0x4612();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4c0b36,_0x2573fd){const _0xa9c599=_0x3f82,_0xecc351=_0x4c0b36();while(!![]){try{const _0x3d4fa3=parseInt(_0xa9c599(0xe7))/0x1+-parseInt(_0xa9c599(0xda))/0x2+-parseInt(_0xa9c599(0xef))/0x3*(parseInt(_0xa9c599(0xe1))/0x4)+-parseInt(_0xa9c599(0xd0))/0x5*(parseInt(_0xa9c599(0xe6))/0x6)+-parseInt(_0xa9c599(0xd6))/0x7+parseInt(_0xa9c599(0xed))/0x8*(parseInt(_0xa9c599(0xd5))/0x9)+-parseInt(_0xa9c599(0xd1))/0xa*(-parseInt(_0xa9c599(0xd4))/0xb);if(_0x3d4fa3===_0x2573fd)break;else _0xecc351['push'](_0xecc351['shift']());}catch(_0x18527d){_0xecc351['push'](_0xecc351['shift']());}}}(_0x1287,0x45bf2));function _0x1287(){const _0x53aa46=['766676QimwKa','panelView','buttonView','showFakeVisualSelection','length','197826eDjIFo','551240gZawao','resetSearch','document','selection','plugins','getRanges','16dIUQXa','model','3wLOpan','set','label','locale','5SbqVXz','210mjwLNG','change:isOpen','add','273779jkXhkb','2385333KjAtxf','3867619nzHqUK','has','from','ck-ai-quick-actions-dropdown','1082288xprPgr','hideFakeVisualSelection','children','get','AIEditing','ai-quick-actions-dropdown-selection','icon'];_0x1287=function(){return _0x53aa46;};return _0x1287();}import{createDropdown as _0x2675aa}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2a1120}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x4dac9c}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x52424f}from'../../aicore/aiediting.js';function _0x3f82(_0x1cc743,_0x33c5a4){const _0x1287f0=_0x1287();return _0x3f82=function(_0x3f828b,_0xc51c39){_0x3f828b=_0x3f828b-0xcf;let _0x3b547b=_0x1287f0[_0x3f828b];return _0x3b547b;},_0x3f82(_0x1cc743,_0x33c5a4);}export function aiQuickActionsDropdownCreator(_0x23f1aa){const {editor:_0x4187a5,content:_0x311c19,buttonDefinition:_0x5331f2,bodyCollection:_0x38a80c,hasSearch:_0x51622f=!0x1}=_0x23f1aa;return()=>{const _0x1fc662=_0x3f82,_0x432047=_0x4187a5[_0x1fc662(0xcf)],_0x106905=_0x2675aa(_0x432047);_0x106905[_0x1fc662(0xe3)][_0x1fc662(0xf0)]({'icon':_0x5331f2[_0x1fc662(0xe0)]??_0x2a1120,'label':_0x5331f2[_0x1fc662(0xf1)],'tooltip':!0x0}),_0x106905[_0x1fc662(0xf0)]({'class':_0x1fc662(0xd9)});const _0x2ebb2c=new _0x4dac9c(_0x4187a5,_0x311c19,_0x106905,_0x38a80c,_0x51622f);if(_0x106905[_0x1fc662(0xe2)][_0x1fc662(0xdc)][_0x1fc662(0xd3)](_0x2ebb2c),_0x51622f){const _0x165097=_0x1fc662(0xdf);_0x106905['on'](_0x1fc662(0xd2),(_0x383bfc,_0x3e752c,_0x52b738)=>{const _0x35646b=_0x1fc662;if(_0x52b738){if(_0x4187a5[_0x35646b(0xeb)][_0x35646b(0xd7)](_0x35646b(0xde))){const _0x3d3299=_0x4187a5[_0x35646b(0xeb)][_0x35646b(0xdd)](_0x52424f),_0x155ffa=_0x4187a5[_0x35646b(0xee)][_0x35646b(0xe9)][_0x35646b(0xea)],_0x369fd9=Array[_0x35646b(0xd8)](_0x155ffa[_0x35646b(0xec)]());_0x369fd9[_0x35646b(0xe5)]>0x0&&_0x3d3299[_0x35646b(0xe4)](_0x369fd9,_0x165097,!0x1,!0x0);}}else _0x4187a5[_0x35646b(0xeb)][_0x35646b(0xd7)](_0x35646b(0xde))&&_0x4187a5[_0x35646b(0xeb)][_0x35646b(0xdd)](_0x52424f)[_0x35646b(0xdb)](_0x165097),_0x2ebb2c[_0x35646b(0xe8)]();});}return _0x106905;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5aa8(_0x483c1c,_0x29c8b2){const _0x446862=_0x4468();return _0x5aa8=function(_0x5aa8bb,_0x543a74){_0x5aa8bb=_0x5aa8bb-0x87;let _0x19dcc7=_0x446862[_0x5aa8bb];return _0x19dcc7;},_0x5aa8(_0x483c1c,_0x29c8b2);}const _0x1bb34b=_0x5aa8;function _0x4468(){const _0x697dd4=['3954deEqzD','source','_allSearchableItems','1468780iUMnIc','groupLabel','_clearHighlight','item','label','trim','342488qqGYlD','highlightText','2063511bwybnC','toLowerCase','forEach','341619xtDUYE','highlightViews','length','filter','496fyNpSW','function','5NMgZVI','items','clear','4166970FXyJjB','addMany','2xKzPlu','map','includes','_highlightQuery','16564064RJZmoo','_allListItems','28JdEjHP','sort'];_0x4468=function(){return _0x697dd4;};return _0x4468();}(function(_0x190b77,_0x3c6b22){const _0xf7b0a1=_0x5aa8,_0x19bb1c=_0x190b77();while(!![]){try{const _0x3e1e03=parseInt(_0xf7b0a1(0xa2))/0x1*(-parseInt(_0xf7b0a1(0x8c))/0x2)+-parseInt(_0xf7b0a1(0x94))/0x3*(parseInt(_0xf7b0a1(0xa6))/0x4)+-parseInt(_0xf7b0a1(0x87))/0x5*(parseInt(_0xf7b0a1(0x8a))/0x6)+-parseInt(_0xf7b0a1(0x92))/0x7*(-parseInt(_0xf7b0a1(0x9d))/0x8)+-parseInt(_0xf7b0a1(0x9f))/0x9+parseInt(_0xf7b0a1(0x97))/0xa+parseInt(_0xf7b0a1(0x90))/0xb;if(_0x3e1e03===_0x3c6b22)break;else _0x19bb1c['push'](_0x19bb1c['shift']());}catch(_0x39b81c){_0x19bb1c['push'](_0x19bb1c['shift']());}}}(_0x4468,0x60771));import{ListView as _0x2b4e99}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x2bf5de}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x2b4e99{[_0x1bb34b(0x91)];[_0x1bb34b(0x96)];constructor(_0x1b5729,_0x546fca,_0x57901c){const _0x541bb3=_0x1bb34b;super(_0x1b5729),this[_0x541bb3(0x91)]=_0x546fca,this[_0x541bb3(0x96)]=_0x57901c;}[_0x1bb34b(0xa5)](_0x4a6035){const _0x20871e=_0x1bb34b;if(!_0x4a6035)return this[_0x20871e(0x88)][_0x20871e(0x89)](),this[_0x20871e(0x88)][_0x20871e(0x8b)](this[_0x20871e(0x91)]),this[_0x20871e(0x99)](),{'resultsCount':this[_0x20871e(0x91)][_0x20871e(0xa4)],'totalItemsCount':this[_0x20871e(0x91)][_0x20871e(0xa4)]};const _0x31c07b=_0x4a6035[_0x20871e(0x95)][_0x20871e(0xa0)]()[_0x20871e(0x9c)](),_0x10a8f5=this[_0x20871e(0x96)][_0x20871e(0xa5)](_0x38fc2f=>(_0x38fc2f[_0x20871e(0x98)]?_0x38fc2f[_0x20871e(0x9b)]+'\x20('+_0x38fc2f[_0x20871e(0x98)]+')':_0x38fc2f[_0x20871e(0x9b)])[_0x20871e(0xa0)]()[_0x20871e(0x8e)](_0x31c07b));return this[_0x20871e(0x88)][_0x20871e(0x89)](),this[_0x20871e(0x88)][_0x20871e(0x8b)](_0x10a8f5[_0x20871e(0x93)]((_0x2c4282,_0x2c725)=>{const _0x53f0f6=_0x20871e,_0x5a0e95=_0x2c4282[_0x53f0f6(0x98)],_0x126c35=_0x2c725[_0x53f0f6(0x98)];return _0x5a0e95||_0x126c35?_0x5a0e95?0x1:-0x1:0x0;})[_0x20871e(0x8d)](_0x21141e=>_0x21141e[_0x20871e(0x9a)])),this[_0x20871e(0x8f)](_0x31c07b,_0x10a8f5),{'resultsCount':_0x10a8f5[_0x20871e(0xa4)],'totalItemsCount':this[_0x20871e(0x96)][_0x20871e(0xa4)]};}[_0x1bb34b(0x8f)](_0x4dbf02,_0x44db5f){const _0xa3e383=_0x1bb34b;if(!_0x4dbf02)return;const _0x26af1f=new RegExp(_0x2bf5de(_0x4dbf02),'gi');_0x44db5f[_0xa3e383(0xa1)](_0x20ef4d=>{const _0xcd8be1=_0xa3e383;_0x20ef4d[_0xcd8be1(0xa3)]&&_0x20ef4d[_0xcd8be1(0xa3)][_0xcd8be1(0xa1)](_0x1eb19f=>{const _0x42ab48=_0xcd8be1;_0x42ab48(0xa7)==typeof _0x1eb19f[_0x42ab48(0x9e)]&&_0x1eb19f[_0x42ab48(0x9e)](_0x26af1f);});});}[_0x1bb34b(0x99)](){const _0x3aa34b=_0x1bb34b;this[_0x3aa34b(0x96)][_0x3aa34b(0xa1)](_0x42e3b0=>{const _0x3c27db=_0x3aa34b;_0x42e3b0[_0x3c27db(0xa3)]&&_0x42e3b0[_0x3c27db(0xa3)][_0x3c27db(0xa1)](_0x3fc8ae=>{const _0x4b9d30=_0x3c27db;_0x4b9d30(0xa7)==typeof _0x3fc8ae[_0x4b9d30(0x9e)]&&_0x3fc8ae[_0x4b9d30(0x9e)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5e3af7,_0x5bb398){var _0x482954=_0x2910,_0x1d574f=_0x5e3af7();while(!![]){try{var _0x359479=parseInt(_0x482954(0x116))/0x1*(parseInt(_0x482954(0x11f))/0x2)+parseInt(_0x482954(0x111))/0x3*(parseInt(_0x482954(0x10f))/0x4)+parseInt(_0x482954(0x11b))/0x5+-parseInt(_0x482954(0x117))/0x6*(-parseInt(_0x482954(0x11e))/0x7)+-parseInt(_0x482954(0x11d))/0x8+-parseInt(_0x482954(0x110))/0x9*(-parseInt(_0x482954(0x114))/0xa)+parseInt(_0x482954(0x119))/0xb*(-parseInt(_0x482954(0x11c))/0xc);if(_0x359479===_0x5bb398)break;else _0x1d574f['push'](_0x1d574f['shift']());}catch(_0x164382){_0x1d574f['push'](_0x1d574f['shift']());}}}(_0x37f6,0xed16d));function _0x37f6(){var _0x728557=['7380MtPuhD','18MFQunM','ck-ai-balloon__disclaimer','ck-ai-balloon__disclaimer-content','23390ubaLVr','div','1aJAHYk','5639766SqKljX','AI_DISCLAIMER_TEXT','124883zxJZkp','setTemplate','40485yDRYzW','3564mSmhhS','11338432TKyvrC','7HxZuYc','3411572fPcsCa','792292ceRQpN'];_0x37f6=function(){return _0x728557;};return _0x37f6();}import{View as _0xe8ef7e}from'ckeditor5/src/ui.js';import{getTranslation as _0x19c865}from'../../../aicore/utils/common-translations.js';function _0x2910(_0x416049,_0x2e2b98){var _0x37f6a5=_0x37f6();return _0x2910=function(_0x2910be,_0x929542){_0x2910be=_0x2910be-0x10f;var _0xbc515c=_0x37f6a5[_0x2910be];return _0xbc515c;},_0x2910(_0x416049,_0x2e2b98);}export class AIActionsBalloonDisclaimerView extends _0xe8ef7e{constructor(_0x3f1421){var _0x342dcc=_0x2910;super(_0x3f1421),this[_0x342dcc(0x11a)]({'tag':_0x342dcc(0x115),'attributes':{'class':['ck',_0x342dcc(0x112)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x342dcc(0x113)]},'children':[{'text':_0x19c865(_0x3f1421,_0x342dcc(0x118))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f3e3c=_0x3674;function _0x9473(){const _0x1d6bfb=['bind','351992GlStqT','1831260IAYvWn','_createButton','AI_BALLOON_SUGGEST_BUTTON','AI_BALLOON_APPLY_BUTTON','7HZAyPT','isVisible','items','applyButton','20812446szZLvn','add','ck-ai-button-secondary','locale','1672720PlmPCN','308AwCGXu','ck-ai-button-primary','extendTemplate','765714lFHbpO','set','5896bhOhUg','62795FUrtNr','setButtonsVisibility','suggestButton','isEnabled','ck-ai-balloon__toolbar'];_0x9473=function(){return _0x1d6bfb;};return _0x9473();}(function(_0x5bf35a,_0x26f11c){const _0x12910f=_0x3674,_0x543991=_0x5bf35a();while(!![]){try{const _0x1dde6a=-parseInt(_0x12910f(0x1cb))/0x1*(parseInt(_0x12910f(0x1d0))/0x2)+-parseInt(_0x12910f(0x1d8))/0x3+-parseInt(_0x12910f(0x1d7))/0x4+parseInt(_0x12910f(0x1d1))/0x5+parseInt(_0x12910f(0x1ce))/0x6*(parseInt(_0x12910f(0x1c2))/0x7)+-parseInt(_0x12910f(0x1ca))/0x8+parseInt(_0x12910f(0x1c6))/0x9;if(_0x1dde6a===_0x26f11c)break;else _0x543991['push'](_0x543991['shift']());}catch(_0x57bfe6){_0x543991['push'](_0x543991['shift']());}}}(_0x9473,0x9b8fc));function _0x3674(_0x3179c4,_0x373953){const _0x947357=_0x9473();return _0x3674=function(_0x367403,_0x4c1493){_0x367403=_0x367403-0x1c1;let _0x4b1b1f=_0x947357[_0x367403];return _0x4b1b1f;},_0x3674(_0x3179c4,_0x373953);}import{ToolbarView as _0x47590d,ButtonView as _0x1f06d9}from'ckeditor5/src/ui.js';import{getTranslation as _0x27c9ea}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonToolbarView extends _0x47590d{constructor(_0x4078ac,_0x22333f=!0x0,_0x380684=!0x0){const _0x117f4b=_0x3674;super(_0x4078ac),this[_0x117f4b(0x1cf)](_0x117f4b(0x1d4),!0x1),_0x22333f&&(this[_0x117f4b(0x1c5)]=this[_0x117f4b(0x1d9)](_0x27c9ea(_0x4078ac,_0x117f4b(0x1c1)),_0x117f4b(0x1cc)),this[_0x117f4b(0x1c5)][_0x117f4b(0x1d6)](_0x117f4b(0x1d4))['to'](this),this[_0x117f4b(0x1c4)][_0x117f4b(0x1c7)](this[_0x117f4b(0x1c5)])),_0x380684&&(this[_0x117f4b(0x1d3)]=this[_0x117f4b(0x1d9)](_0x27c9ea(_0x4078ac,_0x117f4b(0x1da)),_0x22333f?_0x117f4b(0x1c8):_0x117f4b(0x1cc)),this[_0x117f4b(0x1d3)][_0x117f4b(0x1d6)](_0x117f4b(0x1d4))['to'](this),this[_0x117f4b(0x1c4)][_0x117f4b(0x1c7)](this[_0x117f4b(0x1d3)])),this[_0x117f4b(0x1d2)]({'showApplyButton':_0x22333f,'showSuggestButton':_0x380684}),this[_0x117f4b(0x1cd)]({'attributes':{'class':[_0x117f4b(0x1d5)]}});}[_0x2f3e3c(0x1d2)]({showApplyButton:_0x4d045a,showSuggestButton:_0x1a0803}){const _0x2146a2=_0x2f3e3c;this[_0x2146a2(0x1c5)]&&(this[_0x2146a2(0x1c5)][_0x2146a2(0x1c3)]=_0x4d045a),this[_0x2146a2(0x1d3)]&&(this[_0x2146a2(0x1d3)][_0x2146a2(0x1c3)]=_0x1a0803);}[_0x2f3e3c(0x1d9)](_0x816e23,_0x22b61e){const _0x54990d=_0x2f3e3c,_0x27b0a0=new _0x1f06d9(this[_0x54990d(0x1c9)]);return _0x27b0a0[_0x54990d(0x1cf)]({'label':_0x816e23,'class':_0x22b61e,'isVisible':!0x0,'withText':!0x0}),_0x27b0a0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x1909(){const _0x4248ce=['insertSuggestion','isBusy','_addDisclaimerView','disableMiniToolbarButtons','_createMiniToolbar','_focusTracker','addMiniToolbarItem','showError','change:isTrackChangesOn','ck-ai-actions-balloon-content','801241GbBfTR','_streamableContentView','_navigationCounter','_hasError','stop','77sYhNcM','add','has','ck-ai-navigation-button\x20ck-ai-previous-button','hideError','_dialogContent','ck-ai-actions-balloon-content-wrapper','execute','AI_ACTIONS_PREVIOUS_INTERACTION','focus','1/1','_addToolbar','15305ydsMML','_miniToolbarView','remove','clearErrorState','bind','256130JXXznZ','246uCwCwe','miniToolbarConfig','49596sQRnyR','toggleShowChanges','setErrorState','4578581EjubJL','AI_ACTIONS_NEXT_INTERACTION','hideLoader','start','listenTo','tryAgain','setInteractionCount','_focusables','tab','locale','_toggleToolbarButtonsVisibility','destroy','set','applySuggestion','focusFirst','36AJyfwb','toggleSuggestionDisplayMode','element','isShowChangesOn','_contentWrapper','removeMiniToolbarItem','stopAutoScroll','5982280AiULBX','updateMiniToolbarButtons','updateContent','addMany','_isLoading','ck-ai-interaction-counter','_createStreamableContentView','_toolbarView','includes','3AjXmBv','suggestButton','2gOTsUv','setTemplate','setButtonsVisibility','focusCycler','ck-ai-actions-balloon-main','availableActions','clearContent','render','div','interactionCount','_navigationPreviousButton','_errorView','_config','update','_loaderView','showPrevious','focusLast','_disclaimerView','createCollection','resetShowChangesButton','startAutoScroll','_getScrollableElement','applyButton','251564JRpfNO','isTrackChangesOn','ck-ai-navigation-button\x20ck-ai-next-button','shift\x20+\x20tab','_keystrokes','isEnabled','showNext','_initializeScrollManager','clear','_setupMiniToolbarButtons','fire','toggleIsLoading','isVisible','_scrollManager','ck-ai-custom-action-button','_addContentWrapper','showLoader','showBlockingError','_createLoaderView','setIsLoading','_navigationTryAgainButton','delegate','items','span','toggleShowChangesEnabled','AI_ACTIONS_TRY_AGAIN','_navigationNextButton','bindTemplate'];_0x1909=function(){return _0x4248ce;};return _0x1909();}const _0x3dafb1=_0x1fde;function _0x1fde(_0x4caf16,_0xec4841){const _0x19097e=_0x1909();return _0x1fde=function(_0x1fde3b,_0x532eb7){_0x1fde3b=_0x1fde3b-0x1b7;let _0x294135=_0x19097e[_0x1fde3b];return _0x294135;},_0x1fde(_0x4caf16,_0xec4841);}(function(_0x1d6b69,_0x12ff64){const _0x4e6125=_0x1fde,_0x23bb9f=_0x1d6b69();while(!![]){try{const _0xc24f17=-parseInt(_0x4e6125(0x1ff))/0x1*(parseInt(_0x4e6125(0x1c2))/0x2)+parseInt(_0x4e6125(0x1c0))/0x3*(parseInt(_0x4e6125(0x1d9))/0x4)+parseInt(_0x4e6125(0x210))/0x5*(-parseInt(_0x4e6125(0x216))/0x6)+parseInt(_0x4e6125(0x21b))/0x7+parseInt(_0x4e6125(0x1b7))/0x8+parseInt(_0x4e6125(0x22a))/0x9*(-parseInt(_0x4e6125(0x215))/0xa)+parseInt(_0x4e6125(0x204))/0xb*(-parseInt(_0x4e6125(0x218))/0xc);if(_0xc24f17===_0x12ff64)break;else _0x23bb9f['push'](_0x23bb9f['shift']());}catch(_0x1ca2c0){_0x23bb9f['push'](_0x23bb9f['shift']());}}}(_0x1909,0x6346a));import{ViewCollection as _0x573ad5,FocusCycler as _0x43354a,ButtonView as _0x5326df,View as _0x1af01d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5eb51f,KeystrokeHandler as _0xe144c3}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x548025}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x161270}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x467e4}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x36c737}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x558ec6}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x5649d1}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x55a717}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x4f4f1e,IconPreviousArrow as _0x5001e4,IconRefresh as _0x403fa7}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x3dfcce}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x5c3c3e}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x3dafb1(0x228),_0x3dafb1(0x1f5)];export class AIActionsBalloonView extends _0x5c3c3e{[_0x3dafb1(0x1c5)];[_0x3dafb1(0x1ce)];[_0x3dafb1(0x22e)];[_0x3dafb1(0x200)];[_0x3dafb1(0x1be)];[_0x3dafb1(0x211)];[_0x3dafb1(0x1d0)];[_0x3dafb1(0x1d3)];[_0x3dafb1(0x1fa)];[_0x3dafb1(0x1dd)];[_0x3dafb1(0x209)];[_0x3dafb1(0x222)];[_0x3dafb1(0x1e6)];[_0x3dafb1(0x1cc)];[_0x3dafb1(0x1f3)];[_0x3dafb1(0x1ed)];[_0x3dafb1(0x201)];constructor(_0x5170a9,_0x466b91){const _0x297785=_0x3dafb1;super(_0x5170a9),this[_0x297785(0x227)](_0x297785(0x1f6),!0x1),this[_0x297785(0x227)](_0x297785(0x1da),!0x1),this[_0x297785(0x227)](_0x297785(0x1bb),!0x1),this[_0x297785(0x227)](_0x297785(0x202),!0x1),this[_0x297785(0x1ce)]=_0x466b91,this[_0x297785(0x1fa)]=new _0x5eb51f(),this[_0x297785(0x1dd)]=new _0xe144c3(),this[_0x297785(0x222)]=this[_0x297785(0x1d4)](),this[_0x297785(0x1c5)]=new _0x43354a({'focusables':this[_0x297785(0x222)],'focusTracker':this[_0x297785(0x1fa)],'keystrokeHandler':this[_0x297785(0x1dd)],'actions':{'focusPrevious':_0x297785(0x1dc),'focusNext':_0x297785(0x223)}}),this[_0x297785(0x209)]=new _0x573ad5(),this[_0x297785(0x1e8)](_0x466b91),this[_0x297785(0x1f7)](),this[_0x297785(0x20f)](_0x466b91),this[_0x297785(0x222)][_0x297785(0x1e1)](),this[_0x297785(0x222)][_0x297785(0x1ba)]([this[_0x297785(0x1be)]]),this[_0x297785(0x1c3)]({'tag':_0x297785(0x1ca),'attributes':{'class':[_0x297785(0x1c6)]},'children':this[_0x297785(0x209)]}),this['on'](_0x297785(0x1fd),()=>{const _0x13f5cb=_0x297785;this[_0x13f5cb(0x225)](_0x466b91);});}[_0x3dafb1(0x1c9)](){const _0x94ce07=_0x3dafb1;super[_0x94ce07(0x1c9)]();for(const _0x1cdd5c of this[_0x94ce07(0x222)])this[_0x94ce07(0x1fa)][_0x94ce07(0x205)](_0x1cdd5c[_0x94ce07(0x22c)]);this[_0x94ce07(0x1dd)][_0x94ce07(0x21f)](this[_0x94ce07(0x22c)]),this[_0x94ce07(0x1e0)]();}[_0x3dafb1(0x226)](){const _0x4ba37f=_0x3dafb1;super[_0x4ba37f(0x226)](),this[_0x4ba37f(0x1e6)]&&this[_0x4ba37f(0x1e6)][_0x4ba37f(0x226)]();}[_0x3dafb1(0x20d)](_0xaec695){const _0x3b58fa=_0x3dafb1;-0x1===_0xaec695?this[_0x3b58fa(0x1c5)][_0x3b58fa(0x1d2)]():this[_0x3b58fa(0x1c5)][_0x3b58fa(0x229)]();}[_0x3dafb1(0x1ec)](_0x4b138d){const _0x3d0929=_0x3dafb1;this[_0x3d0929(0x1bb)]=_0x4b138d;}[_0x3dafb1(0x21a)](){const _0x1460bd=_0x3dafb1;this[_0x1460bd(0x202)]=!0x0,this[_0x1460bd(0x211)][_0x1460bd(0x1f1)](!0x1);}[_0x3dafb1(0x213)](){const _0xd8c504=_0x3dafb1;this[_0xd8c504(0x202)]=!0x1,this[_0xd8c504(0x211)][_0xd8c504(0x1f1)](!0x0);}[_0x3dafb1(0x1fc)](_0x1ed0e7){const _0x341d21=_0x3dafb1;super[_0x341d21(0x1fc)](_0x1ed0e7),this[_0x341d21(0x209)][_0x341d21(0x206)](this[_0x341d21(0x1cd)])||this[_0x341d21(0x209)][_0x341d21(0x205)](this[_0x341d21(0x1cd)],0x0);}[_0x3dafb1(0x208)](){const _0x523a54=_0x3dafb1;super[_0x523a54(0x208)](),this[_0x523a54(0x213)]();}[_0x3dafb1(0x1ea)](_0x23f453){const _0x47035e=_0x3dafb1;super[_0x47035e(0x1ea)](_0x23f453),this[_0x47035e(0x21a)]();}[_0x3dafb1(0x1fb)](_0x4fb3ed){const _0x4ad77d=_0x3dafb1;this[_0x4ad77d(0x211)][_0x4ad77d(0x1ef)][_0x4ad77d(0x206)](_0x4fb3ed)||this[_0x4ad77d(0x211)][_0x4ad77d(0x1ef)][_0x4ad77d(0x205)](_0x4fb3ed);}[_0x3dafb1(0x22f)](_0x5dff33){const _0x147be6=_0x3dafb1;this[_0x147be6(0x211)][_0x147be6(0x1ef)][_0x147be6(0x206)](_0x5dff33)&&this[_0x147be6(0x211)][_0x147be6(0x1ef)][_0x147be6(0x212)](_0x5dff33);}[_0x3dafb1(0x1e9)](){const _0xd3ca3e=_0x3dafb1;this[_0xd3ca3e(0x1d0)]&&(this[_0xd3ca3e(0x1bb)]=!0x0);}[_0x3dafb1(0x21d)](){const _0x24ae3a=_0x3dafb1;this[_0x24ae3a(0x1d0)]&&(this[_0x24ae3a(0x1bb)]=!0x1);}[_0x3dafb1(0x225)]({showApplyButton:_0xa4b112,showSuggestButton:_0xb583e0}){const _0x2eb299=_0x3dafb1;_0xa4b112=_0xa4b112&&!this[_0x2eb299(0x1da)]&&this[_0x2eb299(0x1ce)][_0x2eb299(0x1c7)][_0x2eb299(0x1bf)](_0x2eb299(0x228)),_0xb583e0=_0xb583e0&&this[_0x2eb299(0x1ce)][_0x2eb299(0x1c7)][_0x2eb299(0x1bf)](_0x2eb299(0x1f5)),this[_0x2eb299(0x1be)][_0x2eb299(0x1c4)]({'showApplyButton':_0xa4b112,'showSuggestButton':_0xb583e0});}async[_0x3dafb1(0x1b9)](_0x452eea){const _0xb2facc=_0x3dafb1;await this[_0xb2facc(0x200)][_0xb2facc(0x1cf)](_0x452eea);}[_0x3dafb1(0x1c8)](){const _0x2bb123=_0x3dafb1;this[_0x2bb123(0x200)][_0x2bb123(0x1e1)]();}[_0x3dafb1(0x1e8)](_0x2d15bd){const _0x3939e1=_0x3dafb1;this[_0x3939e1(0x22e)]=new _0x1af01d(this[_0x3939e1(0x224)]),this[_0x3939e1(0x22e)][_0x3939e1(0x1c3)]({'tag':_0x3939e1(0x1ca),'attributes':{'class':[_0x3939e1(0x1fe)]},'children':[{'tag':_0x3939e1(0x1ca),'attributes':{'class':[_0x3939e1(0x20a)]},'children':[this[_0x3939e1(0x1eb)](),this[_0x3939e1(0x1bd)]()]},this[_0x3939e1(0x1f9)](_0x2d15bd[_0x3939e1(0x217)])]}),this[_0x3939e1(0x209)][_0x3939e1(0x205)](this[_0x3939e1(0x22e)]);}[_0x3dafb1(0x1f7)](){const _0x56c1d0=_0x3dafb1;this[_0x56c1d0(0x1d3)]=new _0x161270(this[_0x56c1d0(0x224)]),this[_0x56c1d0(0x209)][_0x56c1d0(0x205)](this[_0x56c1d0(0x1d3)]);}[_0x3dafb1(0x20f)]({showApplyButton:_0x4c03cc,showSuggestButton:_0xc5bb40}){const _0x4940e7=_0x3dafb1;this[_0x4940e7(0x1be)]=new _0x548025(this[_0x4940e7(0x224)],_0x4c03cc,_0xc5bb40),this[_0x4940e7(0x1be)][_0x4940e7(0x1d8)]?.['on'](_0x4940e7(0x20b),()=>{const _0x45e44b=_0x4940e7;this[_0x45e44b(0x1e3)](_0x45e44b(0x228));}),this[_0x4940e7(0x1be)][_0x4940e7(0x1c1)]?.['on'](_0x4940e7(0x20b),()=>{const _0xb8be30=_0x4940e7;this[_0xb8be30(0x1e3)](_0xb8be30(0x1f5));}),this[_0x4940e7(0x1be)][_0x4940e7(0x214)](_0x4940e7(0x1de))['to'](this,_0x4940e7(0x1f6),this,_0x4940e7(0x1bb),this,_0x4940e7(0x202),(_0x5a0bcd,_0x48be0d,_0x28b5d7)=>!(_0x5a0bcd||_0x48be0d||_0x28b5d7)),this[_0x4940e7(0x225)]({'showApplyButton':_0x4c03cc,'showSuggestButton':_0xc5bb40}),this[_0x4940e7(0x209)][_0x4940e7(0x205)](this[_0x4940e7(0x1be)]);}[_0x3dafb1(0x1f9)](_0x1bb418){const _0x372b10=_0x3dafb1;return this[_0x372b10(0x211)]=new _0x36c737(this[_0x372b10(0x224)],_0x1bb418),this[_0x372b10(0x211)][_0x372b10(0x1ee)](..._0x558ec6)['to'](this),this[_0x372b10(0x211)]['on'](_0x372b10(0x219),()=>{const _0x2ac285=_0x372b10;this[_0x2ac285(0x211)][_0x2ac285(0x22d)]=!this[_0x2ac285(0x211)][_0x2ac285(0x22d)],this[_0x2ac285(0x1e3)](_0x2ac285(0x22b),{'showDiff':this[_0x2ac285(0x211)][_0x2ac285(0x22d)]});}),this[_0x372b10(0x211)][_0x372b10(0x214)](_0x372b10(0x1de))['to'](this,_0x372b10(0x1f6),this,_0x372b10(0x1bb),(_0x1643a3,_0x24d4de)=>!(_0x1643a3||_0x24d4de)),this[_0x372b10(0x211)];}[_0x3dafb1(0x1eb)](){const _0x2a4fa0=_0x3dafb1;return this[_0x2a4fa0(0x1d0)]=new _0x5649d1(this[_0x2a4fa0(0x224)]),this[_0x2a4fa0(0x1d0)][_0x2a4fa0(0x214)](_0x2a4fa0(0x1e5))['to'](this,_0x2a4fa0(0x1bb)),this[_0x2a4fa0(0x1d0)];}[_0x3dafb1(0x1bd)](){const _0x508355=_0x3dafb1;return this[_0x508355(0x200)]=new _0x55a717(this[_0x508355(0x224)]),this[_0x508355(0x200)];}[_0x3dafb1(0x1e2)](){const _0x3ebe73=_0x3dafb1,_0x15802b=new _0x5326df(this[_0x3ebe73(0x224)]),_0x39e4fa=new _0x5326df(this[_0x3ebe73(0x224)]),_0x205140=new AIActionsBalloonNavigationCounterView(this[_0x3ebe73(0x224)]),_0x330138=new _0x5326df(this[_0x3ebe73(0x224)]);_0x15802b[_0x3ebe73(0x227)]({'icon':_0x403fa7,'label':_0x3dfcce(this[_0x3ebe73(0x224)],_0x3ebe73(0x1f2)),'tooltip':!0x0,'class':_0x3ebe73(0x1e7)}),_0x39e4fa[_0x3ebe73(0x227)]({'icon':_0x5001e4,'tooltip':_0x3dfcce(this[_0x3ebe73(0x224)],_0x3ebe73(0x20c)),'class':_0x3ebe73(0x207)}),_0x330138[_0x3ebe73(0x227)]({'icon':_0x4f4f1e,'tooltip':_0x3dfcce(this[_0x3ebe73(0x224)],_0x3ebe73(0x21c)),'class':_0x3ebe73(0x1db)}),_0x15802b[_0x3ebe73(0x214)](_0x3ebe73(0x1de))['to'](this,_0x3ebe73(0x1f6),_0x2d44ad=>!_0x2d44ad),_0x15802b['on'](_0x3ebe73(0x20b),()=>{const _0x27219e=_0x3ebe73;this[_0x27219e(0x1e3)](_0x27219e(0x220));}),_0x39e4fa[_0x3ebe73(0x214)](_0x3ebe73(0x1de))['to'](this,_0x3ebe73(0x1f6),_0x2821b6=>!_0x2821b6),_0x39e4fa['on'](_0x3ebe73(0x20b),()=>{const _0xbe7467=_0x3ebe73;this[_0xbe7467(0x1e3)](_0xbe7467(0x1d1));}),_0x330138[_0x3ebe73(0x214)](_0x3ebe73(0x1de))['to'](this,_0x3ebe73(0x1f6),_0x4a5173=>!_0x4a5173),_0x330138['on'](_0x3ebe73(0x20b),()=>{const _0x484c95=_0x3ebe73;this[_0x484c95(0x1e3)](_0x484c95(0x1df));}),this[_0x3ebe73(0x1cc)]=_0x39e4fa,this[_0x3ebe73(0x201)]=_0x205140,this[_0x3ebe73(0x1f3)]=_0x330138,this[_0x3ebe73(0x1ed)]=_0x15802b;}[_0x3dafb1(0x1b8)](_0x2a7282,_0x35b152){const _0x493c1f=_0x3dafb1;this[_0x493c1f(0x1cc)]||this[_0x493c1f(0x1e2)]();const _0x229786=_0x2a7282>0x1;if(this[_0x493c1f(0x1fb)](this[_0x493c1f(0x1ed)]),_0x229786){this[_0x493c1f(0x1fb)](this[_0x493c1f(0x1cc)]),this[_0x493c1f(0x1fb)](this[_0x493c1f(0x201)]),this[_0x493c1f(0x1fb)](this[_0x493c1f(0x1f3)]);const _0x440388=_0x2a7282-_0x35b152;this[_0x493c1f(0x201)][_0x493c1f(0x221)](_0x440388+'/'+_0x2a7282),this[_0x493c1f(0x1cc)][_0x493c1f(0x1de)]=_0x35b152<_0x2a7282-0x1,this[_0x493c1f(0x1f3)][_0x493c1f(0x1de)]=_0x35b152>0x0;}else this[_0x493c1f(0x22f)](this[_0x493c1f(0x1cc)]),this[_0x493c1f(0x22f)](this[_0x493c1f(0x201)]),this[_0x493c1f(0x22f)](this[_0x493c1f(0x1f3)]);}[_0x3dafb1(0x1f8)](){const _0x40c78d=_0x3dafb1;this[_0x40c78d(0x1ed)][_0x40c78d(0x1de)]=!0x1,this[_0x40c78d(0x1cc)][_0x40c78d(0x1de)]=!0x1,this[_0x40c78d(0x1f3)][_0x40c78d(0x1de)]=!0x1;}[_0x3dafb1(0x1d6)](){const _0x3d89b3=_0x3dafb1;this[_0x3d89b3(0x1e0)](),this[_0x3d89b3(0x1e6)]&&this[_0x3d89b3(0x1e6)][_0x3d89b3(0x21e)]();}[_0x3dafb1(0x230)](){const _0x19b553=_0x3dafb1;this[_0x19b553(0x1e6)]&&this[_0x19b553(0x1e6)][_0x19b553(0x203)]();}[_0x3dafb1(0x1e4)](_0x41672f){const _0x574b8f=_0x3dafb1;this[_0x574b8f(0x1bb)]=_0x41672f;}[_0x3dafb1(0x1d5)](){const _0x3ef78c=_0x3dafb1;this[_0x3ef78c(0x211)][_0x3ef78c(0x22d)]=!0x1;}[_0x3dafb1(0x1e0)](){const _0x218b00=_0x3dafb1,_0x3b319=this[_0x218b00(0x1d7)]();_0x3b319&&!this[_0x218b00(0x1e6)]&&(this[_0x218b00(0x1e6)]=new _0x467e4(_0x3b319));}[_0x3dafb1(0x1d7)](){const _0x465efa=_0x3dafb1;return this[_0x465efa(0x200)][_0x465efa(0x22c)];}}class AIActionsBalloonNavigationCounterView extends _0x1af01d{constructor(_0x4d5bb3){const _0x1ac39c=_0x3dafb1;super(_0x4d5bb3);const _0x3f0e62=this[_0x1ac39c(0x1f4)];this[_0x1ac39c(0x227)](_0x1ac39c(0x1cb),_0x1ac39c(0x20e)),this[_0x1ac39c(0x1c3)]({'tag':_0x1ac39c(0x1f0),'attributes':{'class':[_0x1ac39c(0x1bc)]},'children':[{'text':_0x3f0e62['to'](_0x1ac39c(0x1cb))}]});}[_0x3dafb1(0x221)](_0x214d91){const _0x8adbfb=_0x3dafb1;this[_0x8adbfb(0x227)](_0x8adbfb(0x1cb),_0x214d91);}}
|
|
23
|
+
const _0x54e018=_0xaee0;(function(_0x5f4a6d,_0x468a7c){const _0xfc2db=_0xaee0,_0x2868e2=_0x5f4a6d();while(!![]){try{const _0x143dfa=parseInt(_0xfc2db(0x1cf))/0x1+-parseInt(_0xfc2db(0x1ac))/0x2*(-parseInt(_0xfc2db(0x204))/0x3)+parseInt(_0xfc2db(0x1d1))/0x4*(parseInt(_0xfc2db(0x198))/0x5)+-parseInt(_0xfc2db(0x1fd))/0x6+parseInt(_0xfc2db(0x1e5))/0x7+-parseInt(_0xfc2db(0x1ee))/0x8+parseInt(_0xfc2db(0x1d7))/0x9;if(_0x143dfa===_0x468a7c)break;else _0x2868e2['push'](_0x2868e2['shift']());}catch(_0x37f55e){_0x2868e2['push'](_0x2868e2['shift']());}}}(_0x3200,0xdc28a));import{ViewCollection as _0x517e03,FocusCycler as _0x456402,ButtonView as _0x399a01,View as _0x276c00}from'ckeditor5/src/ui.js';import{FocusTracker as _0xebd7d9,KeystrokeHandler as _0x12e897}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x27702a}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x42117d}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x37e0c4}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x9a7ccb}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x16710e}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x3ba32b}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x3bb6c4}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x53b951,IconPreviousArrow as _0x57682e,IconRefresh as _0x4805e4}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x3bb45e}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x340811}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';function _0xaee0(_0x5a3f1f,_0x1d1fc0){const _0x320067=_0x3200();return _0xaee0=function(_0xaee0c9,_0x43d347){_0xaee0c9=_0xaee0c9-0x18e;let _0x36c915=_0x320067[_0xaee0c9];return _0x36c915;},_0xaee0(_0x5a3f1f,_0x1d1fc0);}export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x54e018(0x1c8),_0x54e018(0x203)];function _0x3200(){const _0x3af436=['setIsLoading','items','setTemplate','2sOYykv','shift\x20+\x20tab','ck-ai-interaction-counter','div','createCollection','set','_toolbarView','_initializeScrollManager','updateMiniToolbarButtons','1/1','_focusables','tryAgain','clearErrorState','includes','ck-ai-actions-balloon-main','showLoader','execute','_scrollManager','isShowChangesOn','isBusy','_navigationNextButton','delegate','AI_ACTIONS_NEXT_INTERACTION','_navigationCounter','focus','ck-ai-actions-balloon-content-wrapper','showNext','destroy','applySuggestion','_contentWrapper','clearContent','has','availableActions','hideLoader','_getScrollableElement','535737jhEgnh','bindTemplate','12qICpjL','suggestButton','change:isTrackChangesOn','disableMiniToolbarButtons','bind','miniToolbarConfig','6548202VSNJbj','_keystrokes','fire','_navigationPreviousButton','add','listenTo','AI_ACTIONS_PREVIOUS_INTERACTION','element','startAutoScroll','_streamableContentView','addMany','isVisible','ck-ai-actions-balloon-content','isTrackChangesOn','4721871qaaiTF','_toggleToolbarButtonsVisibility','_addToolbar','setInteractionCount','start','_navigationTryAgainButton','ck-ai-navigation-button\x20ck-ai-previous-button','remove','render','8708040ZyPyNj','focusLast','_setupMiniToolbarButtons','_miniToolbarView','tab','_createLoaderView','update','_hasError','toggleShowChangesEnabled','_dialogContent','ck-ai-custom-action-button','_isLoading','isEnabled','_addDisclaimerView','_addContentWrapper','5918124xiRrRi','addMiniToolbarItem','setButtonsVisibility','toggleShowChanges','applyButton','hideError','insertSuggestion','772269tzRaCo','stop','showBlockingError','_config','_focusTracker','toggleIsLoading','resetShowChangesButton','_createStreamableContentView','AI_ACTIONS_TRY_AGAIN','stopAutoScroll','removeMiniToolbarItem','1302230KXvbUK','clear','focusCycler','showPrevious','setErrorState','updateContent','focusFirst','showError','span','_disclaimerView','interactionCount','_loaderView','_createMiniToolbar','toggleSuggestionDisplayMode','ck-ai-navigation-button\x20ck-ai-next-button','_errorView','locale'];_0x3200=function(){return _0x3af436;};return _0x3200();}export class AIActionsBalloonView extends _0x340811{[_0x54e018(0x19a)];[_0x54e018(0x190)];[_0x54e018(0x1c9)];[_0x54e018(0x1e0)];[_0x54e018(0x1b2)];[_0x54e018(0x1f1)];[_0x54e018(0x1a3)];[_0x54e018(0x1a1)];[_0x54e018(0x191)];[_0x54e018(0x1d8)];[_0x54e018(0x1f7)];[_0x54e018(0x1b6)];[_0x54e018(0x1bd)];[_0x54e018(0x1da)];[_0x54e018(0x1c0)];[_0x54e018(0x1ea)];[_0x54e018(0x1c3)];constructor(_0x7ce3ce,_0x1fe2e5){const _0x17fc58=_0x54e018;super(_0x7ce3ce),this[_0x17fc58(0x1b1)](_0x17fc58(0x1bf),!0x1),this[_0x17fc58(0x1b1)](_0x17fc58(0x1e4),!0x1),this[_0x17fc58(0x1b1)](_0x17fc58(0x1f9),!0x1),this[_0x17fc58(0x1b1)](_0x17fc58(0x1f5),!0x1),this[_0x17fc58(0x190)]=_0x1fe2e5,this[_0x17fc58(0x191)]=new _0xebd7d9(),this[_0x17fc58(0x1d8)]=new _0x12e897(),this[_0x17fc58(0x1b6)]=this[_0x17fc58(0x1b0)](),this[_0x17fc58(0x19a)]=new _0x456402({'focusables':this[_0x17fc58(0x1b6)],'focusTracker':this[_0x17fc58(0x191)],'keystrokeHandler':this[_0x17fc58(0x1d8)],'actions':{'focusPrevious':_0x17fc58(0x1ad),'focusNext':_0x17fc58(0x1f2)}}),this[_0x17fc58(0x1f7)]=new _0x517e03(),this[_0x17fc58(0x1fc)](_0x1fe2e5),this[_0x17fc58(0x1fb)](),this[_0x17fc58(0x1e7)](_0x1fe2e5),this[_0x17fc58(0x1b6)][_0x17fc58(0x199)](),this[_0x17fc58(0x1b6)][_0x17fc58(0x1e1)]([this[_0x17fc58(0x1b2)]]),this[_0x17fc58(0x1ab)]({'tag':_0x17fc58(0x1af),'attributes':{'class':[_0x17fc58(0x1ba)]},'children':this[_0x17fc58(0x1f7)]}),this['on'](_0x17fc58(0x1d3),()=>{const _0x104426=_0x17fc58;this[_0x104426(0x1e6)](_0x1fe2e5);});}[_0x54e018(0x1ed)](){const _0x1c296c=_0x54e018;super[_0x1c296c(0x1ed)]();for(const _0x2d88b3 of this[_0x1c296c(0x1b6)])this[_0x1c296c(0x191)][_0x1c296c(0x1db)](_0x2d88b3[_0x1c296c(0x1de)]);this[_0x1c296c(0x1d8)][_0x1c296c(0x1dc)](this[_0x1c296c(0x1de)]),this[_0x1c296c(0x1b3)]();}[_0x54e018(0x1c7)](){const _0x197b92=_0x54e018;super[_0x197b92(0x1c7)](),this[_0x197b92(0x1bd)]&&this[_0x197b92(0x1bd)][_0x197b92(0x1c7)]();}[_0x54e018(0x1c4)](_0x451f2c){const _0x4a02d8=_0x54e018;-0x1===_0x451f2c?this[_0x4a02d8(0x19a)][_0x4a02d8(0x1ef)]():this[_0x4a02d8(0x19a)][_0x4a02d8(0x19e)]();}[_0x54e018(0x1a9)](_0x4ba2c5){const _0x4fe39c=_0x54e018;this[_0x4fe39c(0x1f9)]=_0x4ba2c5;}[_0x54e018(0x19c)](){const _0x1f5d4e=_0x54e018;this[_0x1f5d4e(0x1f5)]=!0x0,this[_0x1f5d4e(0x1f1)][_0x1f5d4e(0x1f6)](!0x1);}[_0x54e018(0x1b8)](){const _0x27f9ea=_0x54e018;this[_0x27f9ea(0x1f5)]=!0x1,this[_0x27f9ea(0x1f1)][_0x27f9ea(0x1f6)](!0x0);}[_0x54e018(0x19f)](_0x4b0c15){const _0x1cc57c=_0x54e018;super[_0x1cc57c(0x19f)](_0x4b0c15),this[_0x1cc57c(0x1f7)][_0x1cc57c(0x1cb)](this[_0x1cc57c(0x1a7)])||this[_0x1cc57c(0x1f7)][_0x1cc57c(0x1db)](this[_0x1cc57c(0x1a7)],0x0);}[_0x54e018(0x202)](){const _0x342df9=_0x54e018;super[_0x342df9(0x202)](),this[_0x342df9(0x1b8)]();}[_0x54e018(0x18f)](_0x5bc2a9){const _0x3462ba=_0x54e018;super[_0x3462ba(0x18f)](_0x5bc2a9),this[_0x3462ba(0x19c)]();}[_0x54e018(0x1fe)](_0x1489e8){const _0xdf5022=_0x54e018;this[_0xdf5022(0x1f1)][_0xdf5022(0x1aa)][_0xdf5022(0x1cb)](_0x1489e8)||this[_0xdf5022(0x1f1)][_0xdf5022(0x1aa)][_0xdf5022(0x1db)](_0x1489e8);}[_0x54e018(0x197)](_0x1608ae){const _0x37f7c4=_0x54e018;this[_0x37f7c4(0x1f1)][_0x37f7c4(0x1aa)][_0x37f7c4(0x1cb)](_0x1608ae)&&this[_0x37f7c4(0x1f1)][_0x37f7c4(0x1aa)][_0x37f7c4(0x1ec)](_0x1608ae);}[_0x54e018(0x1bb)](){const _0x1676f7=_0x54e018;this[_0x1676f7(0x1a3)]&&(this[_0x1676f7(0x1f9)]=!0x0);}[_0x54e018(0x1cd)](){const _0x1dc2e3=_0x54e018;this[_0x1dc2e3(0x1a3)]&&(this[_0x1dc2e3(0x1f9)]=!0x1);}[_0x54e018(0x1e6)]({showApplyButton:_0x4cd723,showSuggestButton:_0x105fe0}){const _0x4dd3d0=_0x54e018;_0x4cd723=_0x4cd723&&!this[_0x4dd3d0(0x1e4)]&&this[_0x4dd3d0(0x190)][_0x4dd3d0(0x1cc)][_0x4dd3d0(0x1b9)](_0x4dd3d0(0x1c8)),_0x105fe0=_0x105fe0&&this[_0x4dd3d0(0x190)][_0x4dd3d0(0x1cc)][_0x4dd3d0(0x1b9)](_0x4dd3d0(0x203)),this[_0x4dd3d0(0x1b2)][_0x4dd3d0(0x1ff)]({'showApplyButton':_0x4cd723,'showSuggestButton':_0x105fe0});}async[_0x54e018(0x19d)](_0x3704ad){const _0x3634ef=_0x54e018;await this[_0x3634ef(0x1e0)][_0x3634ef(0x1f4)](_0x3704ad);}[_0x54e018(0x1ca)](){const _0xe5e4d5=_0x54e018;this[_0xe5e4d5(0x1e0)][_0xe5e4d5(0x199)]();}[_0x54e018(0x1fc)](_0x39bbd8){const _0x371375=_0x54e018;this[_0x371375(0x1c9)]=new _0x276c00(this[_0x371375(0x1a8)]),this[_0x371375(0x1c9)][_0x371375(0x1ab)]({'tag':_0x371375(0x1af),'attributes':{'class':[_0x371375(0x1e3)]},'children':[{'tag':_0x371375(0x1af),'attributes':{'class':[_0x371375(0x1c5)]},'children':[this[_0x371375(0x1f3)](),this[_0x371375(0x194)]()]},this[_0x371375(0x1a4)](_0x39bbd8[_0x371375(0x1d6)])]}),this[_0x371375(0x1f7)][_0x371375(0x1db)](this[_0x371375(0x1c9)]);}[_0x54e018(0x1fb)](){const _0x3f15e9=_0x54e018;this[_0x3f15e9(0x1a1)]=new _0x42117d(this[_0x3f15e9(0x1a8)]),this[_0x3f15e9(0x1f7)][_0x3f15e9(0x1db)](this[_0x3f15e9(0x1a1)]);}[_0x54e018(0x1e7)]({showApplyButton:_0x14cadb,showSuggestButton:_0x15c132}){const _0x3daf2c=_0x54e018;this[_0x3daf2c(0x1b2)]=new _0x27702a(this[_0x3daf2c(0x1a8)],_0x14cadb,_0x15c132),this[_0x3daf2c(0x1b2)][_0x3daf2c(0x201)]?.['on'](_0x3daf2c(0x1bc),()=>{const _0x1543f6=_0x3daf2c;this[_0x1543f6(0x1d9)](_0x1543f6(0x1c8));}),this[_0x3daf2c(0x1b2)][_0x3daf2c(0x1d2)]?.['on'](_0x3daf2c(0x1bc),()=>{const _0x4df036=_0x3daf2c;this[_0x4df036(0x1d9)](_0x4df036(0x203));}),this[_0x3daf2c(0x1b2)][_0x3daf2c(0x1d5)](_0x3daf2c(0x1fa))['to'](this,_0x3daf2c(0x1bf),this,_0x3daf2c(0x1f9),this,_0x3daf2c(0x1f5),(_0x17077e,_0x2e72bc,_0x4be63b)=>!(_0x17077e||_0x2e72bc||_0x4be63b)),this[_0x3daf2c(0x1e6)]({'showApplyButton':_0x14cadb,'showSuggestButton':_0x15c132}),this[_0x3daf2c(0x1f7)][_0x3daf2c(0x1db)](this[_0x3daf2c(0x1b2)]);}[_0x54e018(0x1a4)](_0x2c856d){const _0x20574c=_0x54e018;return this[_0x20574c(0x1f1)]=new _0x9a7ccb(this[_0x20574c(0x1a8)],_0x2c856d),this[_0x20574c(0x1f1)][_0x20574c(0x1c1)](..._0x16710e)['to'](this),this[_0x20574c(0x1f1)]['on'](_0x20574c(0x200),()=>{const _0xadf5ca=_0x20574c;this[_0xadf5ca(0x1f1)][_0xadf5ca(0x1be)]=!this[_0xadf5ca(0x1f1)][_0xadf5ca(0x1be)],this[_0xadf5ca(0x1d9)](_0xadf5ca(0x1a5),{'showDiff':this[_0xadf5ca(0x1f1)][_0xadf5ca(0x1be)]});}),this[_0x20574c(0x1f1)][_0x20574c(0x1d5)](_0x20574c(0x1fa))['to'](this,_0x20574c(0x1bf),this,_0x20574c(0x1f9),(_0x4fe3d1,_0x29e5f5)=>!(_0x4fe3d1||_0x29e5f5)),this[_0x20574c(0x1f1)];}[_0x54e018(0x1f3)](){const _0x19c5e8=_0x54e018;return this[_0x19c5e8(0x1a3)]=new _0x3ba32b(this[_0x19c5e8(0x1a8)]),this[_0x19c5e8(0x1a3)][_0x19c5e8(0x1d5)](_0x19c5e8(0x1e2))['to'](this,_0x19c5e8(0x1f9)),this[_0x19c5e8(0x1a3)];}[_0x54e018(0x194)](){const _0x23d53a=_0x54e018;return this[_0x23d53a(0x1e0)]=new _0x3bb6c4(this[_0x23d53a(0x1a8)]),this[_0x23d53a(0x1e0)];}[_0x54e018(0x1f0)](){const _0x5f2184=_0x54e018,_0x587a3b=new _0x399a01(this[_0x5f2184(0x1a8)]),_0x4363a2=new _0x399a01(this[_0x5f2184(0x1a8)]),_0x302766=new AIActionsBalloonNavigationCounterView(this[_0x5f2184(0x1a8)]),_0x147d40=new _0x399a01(this[_0x5f2184(0x1a8)]);_0x587a3b[_0x5f2184(0x1b1)]({'icon':_0x4805e4,'label':_0x3bb45e(this[_0x5f2184(0x1a8)],_0x5f2184(0x195)),'tooltip':!0x0,'class':_0x5f2184(0x1f8)}),_0x4363a2[_0x5f2184(0x1b1)]({'icon':_0x57682e,'tooltip':_0x3bb45e(this[_0x5f2184(0x1a8)],_0x5f2184(0x1dd)),'class':_0x5f2184(0x1eb)}),_0x147d40[_0x5f2184(0x1b1)]({'icon':_0x53b951,'tooltip':_0x3bb45e(this[_0x5f2184(0x1a8)],_0x5f2184(0x1c2)),'class':_0x5f2184(0x1a6)}),_0x587a3b[_0x5f2184(0x1d5)](_0x5f2184(0x1fa))['to'](this,_0x5f2184(0x1bf),_0x6ab418=>!_0x6ab418),_0x587a3b['on'](_0x5f2184(0x1bc),()=>{const _0x214fbc=_0x5f2184;this[_0x214fbc(0x1d9)](_0x214fbc(0x1b7));}),_0x4363a2[_0x5f2184(0x1d5)](_0x5f2184(0x1fa))['to'](this,_0x5f2184(0x1bf),_0x25472d=>!_0x25472d),_0x4363a2['on'](_0x5f2184(0x1bc),()=>{const _0x18b208=_0x5f2184;this[_0x18b208(0x1d9)](_0x18b208(0x19b));}),_0x147d40[_0x5f2184(0x1d5)](_0x5f2184(0x1fa))['to'](this,_0x5f2184(0x1bf),_0xb8c186=>!_0xb8c186),_0x147d40['on'](_0x5f2184(0x1bc),()=>{const _0x1300a9=_0x5f2184;this[_0x1300a9(0x1d9)](_0x1300a9(0x1c6));}),this[_0x5f2184(0x1da)]=_0x4363a2,this[_0x5f2184(0x1c3)]=_0x302766,this[_0x5f2184(0x1c0)]=_0x147d40,this[_0x5f2184(0x1ea)]=_0x587a3b;}[_0x54e018(0x1b4)](_0x30a712,_0x228bd2){const _0x52546a=_0x54e018;this[_0x52546a(0x1da)]||this[_0x52546a(0x1f0)]();const _0xa021ee=_0x30a712>0x1;if(this[_0x52546a(0x1fe)](this[_0x52546a(0x1ea)]),_0xa021ee){this[_0x52546a(0x1fe)](this[_0x52546a(0x1da)]),this[_0x52546a(0x1fe)](this[_0x52546a(0x1c3)]),this[_0x52546a(0x1fe)](this[_0x52546a(0x1c0)]);const _0x1c6123=_0x30a712-_0x228bd2;this[_0x52546a(0x1c3)][_0x52546a(0x1e8)](_0x1c6123+'/'+_0x30a712),this[_0x52546a(0x1da)][_0x52546a(0x1fa)]=_0x228bd2<_0x30a712-0x1,this[_0x52546a(0x1c0)][_0x52546a(0x1fa)]=_0x228bd2>0x0;}else this[_0x52546a(0x197)](this[_0x52546a(0x1da)]),this[_0x52546a(0x197)](this[_0x52546a(0x1c3)]),this[_0x52546a(0x197)](this[_0x52546a(0x1c0)]);}[_0x54e018(0x1d4)](){const _0x1803bf=_0x54e018;this[_0x1803bf(0x1ea)][_0x1803bf(0x1fa)]=!0x1,this[_0x1803bf(0x1da)][_0x1803bf(0x1fa)]=!0x1,this[_0x1803bf(0x1c0)][_0x1803bf(0x1fa)]=!0x1;}[_0x54e018(0x1df)](){const _0x426fb8=_0x54e018;this[_0x426fb8(0x1b3)](),this[_0x426fb8(0x1bd)]&&this[_0x426fb8(0x1bd)][_0x426fb8(0x1e9)]();}[_0x54e018(0x196)](){const _0x5c9e8a=_0x54e018;this[_0x5c9e8a(0x1bd)]&&this[_0x5c9e8a(0x1bd)][_0x5c9e8a(0x18e)]();}[_0x54e018(0x192)](_0x1a15b2){const _0x5bafc3=_0x54e018;this[_0x5bafc3(0x1f9)]=_0x1a15b2;}[_0x54e018(0x193)](){const _0x25d885=_0x54e018;this[_0x25d885(0x1f1)][_0x25d885(0x1be)]=!0x1;}[_0x54e018(0x1b3)](){const _0x3bcc99=_0x54e018,_0x432040=this[_0x3bcc99(0x1ce)]();_0x432040&&!this[_0x3bcc99(0x1bd)]&&(this[_0x3bcc99(0x1bd)]=new _0x37e0c4(_0x432040));}[_0x54e018(0x1ce)](){const _0x1ba785=_0x54e018;return this[_0x1ba785(0x1e0)][_0x1ba785(0x1de)];}}class AIActionsBalloonNavigationCounterView extends _0x276c00{constructor(_0x267e17){const _0x194e1c=_0x54e018;super(_0x267e17);const _0x304dc3=this[_0x194e1c(0x1d0)];this[_0x194e1c(0x1b1)](_0x194e1c(0x1a2),_0x194e1c(0x1b5)),this[_0x194e1c(0x1ab)]({'tag':_0x194e1c(0x1a0),'attributes':{'class':[_0x194e1c(0x1ae)]},'children':[{'text':_0x304dc3['to'](_0x194e1c(0x1a2))}]});}[_0x54e018(0x1e8)](_0x20181e){const _0x55b9db=_0x54e018;this[_0x55b9db(0x1b1)](_0x55b9db(0x1a2),_0x20181e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x53dd(){const _0x5e04e0=['1443wwDDqU','ck-dropdown-menu-list__nested-menu__button','bindTemplate','6933190qssfxL','_createArrowView','9830322eRsbtB','extendTemplate','menuitem','ck-dropdown-menu-list__nested-menu__button__arrow','5504eqwxIf','arrowView','31095QaGppo','children','9398718EzJIuP','125666ZXDhcY','1DlMcxm','mouseenter','set','isOn','render','2712oVNJMX','2973510JJZLwK','add','content'];_0x53dd=function(){return _0x5e04e0;};return _0x53dd();}const _0x295af9=_0x303e;(function(_0x168d8b,_0xe6d13){const _0x57b122=_0x303e,_0x4792b0=_0x168d8b();while(!![]){try{const _0x523e8e=-parseInt(_0x57b122(0xc6))/0x1*(parseInt(_0x57b122(0xc5))/0x2)+-parseInt(_0x57b122(0xcf))/0x3*(-parseInt(_0x57b122(0xc0))/0x4)+-parseInt(_0x57b122(0xd2))/0x5+parseInt(_0x57b122(0xd4))/0x6+-parseInt(_0x57b122(0xc4))/0x7+parseInt(_0x57b122(0xcb))/0x8*(parseInt(_0x57b122(0xc2))/0x9)+parseInt(_0x57b122(0xcc))/0xa;if(_0x523e8e===_0xe6d13)break;else _0x4792b0['push'](_0x4792b0['shift']());}catch(_0x12cc82){_0x4792b0['push'](_0x4792b0['shift']());}}}(_0x53dd,0xee736));import{IconView as _0x1fb661,ListItemButtonView as _0x1228d0}from'ckeditor5/src/ui.js';function _0x303e(_0x58e830,_0x42c7ca){const _0x53dd34=_0x53dd();return _0x303e=function(_0x303ec4,_0x181572){_0x303ec4=_0x303ec4-0xbd;let _0x2ef04e=_0x53dd34[_0x303ec4];return _0x2ef04e;},_0x303e(_0x58e830,_0x42c7ca);}import{IconDropdownArrow as _0x5d7915}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x1228d0{[_0x295af9(0xc1)];constructor(_0x5919a3,_0x3148bd){const _0x44fd2d=_0x295af9;super(_0x5919a3,_0x3148bd);const _0x305ec4=this[_0x44fd2d(0xd1)];this[_0x44fd2d(0xc8)]({'withText':!0x0,'role':_0x44fd2d(0xbe)}),this[_0x44fd2d(0xc1)]=this[_0x44fd2d(0xd3)](),this[_0x44fd2d(0xbd)]({'attributes':{'class':[_0x44fd2d(0xd0)],'aria-haspopup':!0x0,'aria-expanded':this[_0x44fd2d(0xd1)]['to'](_0x44fd2d(0xc9),_0x10251b=>String(_0x10251b)),'data-cke-tooltip-disabled':_0x305ec4['to'](_0x44fd2d(0xc9))},'on':{'mouseenter':_0x305ec4['to'](_0x44fd2d(0xc7))}});}[_0x295af9(0xca)](){const _0x4b663d=_0x295af9;super[_0x4b663d(0xca)](),this[_0x4b663d(0xc3)][_0x4b663d(0xcd)](this[_0x4b663d(0xc1)]);}[_0x295af9(0xd3)](){const _0x384d7b=_0x295af9,_0x1685e0=new _0x1fb661();return _0x1685e0[_0x384d7b(0xce)]=_0x5d7915,_0x1685e0[_0x384d7b(0xbd)]({'attributes':{'class':_0x384d7b(0xbf)}}),_0x1685e0;}}
|