@ckeditor/ckeditor5-ai 47.3.0-alpha.0 → 47.3.0-alpha.2
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/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/index-editor.css +0 -4
- package/dist/index.css +0 -4
- 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/lang/translations/ar.po +9 -9
- package/lang/translations/bg.po +9 -9
- package/lang/translations/bn.po +9 -9
- package/lang/translations/ca.po +9 -9
- package/lang/translations/cs.po +9 -9
- package/lang/translations/da.po +9 -9
- package/lang/translations/de.po +9 -9
- package/lang/translations/el.po +9 -9
- package/lang/translations/es.po +9 -9
- package/lang/translations/et.po +9 -9
- package/lang/translations/fi.po +9 -9
- package/lang/translations/fr.po +9 -9
- package/lang/translations/he.po +9 -9
- package/lang/translations/hi.po +9 -9
- package/lang/translations/hu.po +9 -9
- package/lang/translations/id.po +9 -9
- package/lang/translations/it.po +9 -9
- package/lang/translations/ja.po +9 -9
- package/lang/translations/ko.po +9 -9
- package/lang/translations/lt.po +9 -9
- package/lang/translations/lv.po +9 -9
- package/lang/translations/ms.po +9 -9
- package/lang/translations/nl.po +9 -9
- package/lang/translations/no.po +9 -9
- package/lang/translations/pl.po +9 -9
- package/lang/translations/pt-br.po +9 -9
- package/lang/translations/pt.po +9 -9
- package/lang/translations/ro.po +9 -9
- package/lang/translations/ru.po +9 -9
- package/lang/translations/sk.po +9 -9
- package/lang/translations/sr.po +9 -9
- package/lang/translations/sv.po +9 -9
- package/lang/translations/th.po +9 -9
- package/lang/translations/tr.po +9 -9
- package/lang/translations/uk.po +9 -9
- package/lang/translations/vi.po +9 -9
- package/lang/translations/zh-cn.po +9 -9
- package/lang/translations/zh.po +9 -9
- 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/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.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/model/aichatmodels.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/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/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/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.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/dropdownmenubuttonwithhighlightview.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/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheck.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.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/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
- package/theme/aiquickactions/aiquickactions.css +0 -4
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2644ac=_0x1da3;function _0xd6c1(){const _0x5d804f=['has','isCollapsed','label','AIReviewMode','13142992iGozOG','log','document','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','sendMessage','AIActions','_handleAIReviewAction','_handleAIActionsAction','AITabs','change','_handleAIActionsActionLabel','view','selection','26848HSnpxN','removeSelectionFromChatContext','model','locale','schema','18cJdXZh','AIChatController','type','actionName','getSelectedBlocks','1935130jagdkF','prompt','editor','get','REVIEW','getLimitElement','plugins','executeAction','handleAIReviewAction','other','chat','execute','657LqRwqn','ask-ai','displayedPrompt','_handleAIChatAction','5327382jgFFXI','11097520gWXhYe','484710oIHALb','parent','CHAT','ai-quick-actions-plugin-not-found','focusPromptInput','addSelectionToChatContext','ACTION','args','15710aYMzNr','AIChat','startConversation','setSelection','26XGsczL','_expandSelectionIfCollapsed','icon','activateTab'];_0xd6c1=function(){return _0x5d804f;};return _0xd6c1();}(function(_0x448611,_0x2be398){const _0x4a0a26=_0x1da3,_0x415453=_0x448611();while(!![]){try{const _0x11657f=-parseInt(_0x4a0a26(0x12b))/0x1*(parseInt(_0x4a0a26(0x12f))/0x2)+parseInt(_0x4a0a26(0x11d))/0x3*(parseInt(_0x4a0a26(0x144))/0x4)+parseInt(_0x4a0a26(0x14e))/0x5+-parseInt(_0x4a0a26(0x121))/0x6+-parseInt(_0x4a0a26(0x122))/0x7+parseInt(_0x4a0a26(0x137))/0x8+-parseInt(_0x4a0a26(0x149))/0x9*(-parseInt(_0x4a0a26(0x123))/0xa);if(_0x11657f===_0x2be398)break;else _0x415453['push'](_0x415453['shift']());}catch(_0x17fd06){_0x415453['push'](_0x415453['shift']());}}}(_0xd6c1,0xe06f3));import{Command as _0x49a5cf}from'ckeditor5/src/core.js';import{CKEditorError as _0x48cfe,first as _0x2ec35e}from'ckeditor5/src/utils.js';function _0x1da3(_0x1f8236,_0x11289b){const _0xd6c160=_0xd6c1();return _0x1da3=function(_0x1da3e3,_0x42f546){_0x1da3e3=_0x1da3e3-0x11a;let _0x3ef03d=_0xd6c160[_0x1da3e3];return _0x3ef03d;},_0x1da3(_0x1f8236,_0x11289b);}import{AIQuickActionType as _0x2b1da3}from'./aiquickactionsui.js';import{getTranslation as _0x5bb14d}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x49a5cf{[_0x2644ac(0x11c)](_0x19830a){const _0x384fb2=_0x2644ac;switch(this[_0x384fb2(0x130)](),_0x19830a[_0x384fb2(0x14b)]){case _0x2b1da3[_0x384fb2(0x125)]:if(!this[_0x384fb2(0x150)][_0x384fb2(0x154)][_0x384fb2(0x133)](_0x384fb2(0x12c))){const _0x41606c=_0x5bb14d(this[_0x384fb2(0x150)][_0x384fb2(0x147)],_0x384fb2(0x13a),_0x384fb2(0x12c));throw new _0x48cfe(_0x384fb2(0x126),this[_0x384fb2(0x150)],{'errorMessage':_0x41606c});}this[_0x384fb2(0x120)](_0x19830a);break;case _0x2b1da3[_0x384fb2(0x129)]:if(!this[_0x384fb2(0x150)][_0x384fb2(0x154)][_0x384fb2(0x133)](_0x384fb2(0x13c))){const _0x4d8dc7=_0x5bb14d(this[_0x384fb2(0x150)][_0x384fb2(0x147)],_0x384fb2(0x13a),_0x384fb2(0x13c));throw new _0x48cfe(_0x384fb2(0x126),this[_0x384fb2(0x150)],{'errorMessage':_0x4d8dc7});}this[_0x384fb2(0x13e)](_0x19830a);break;case _0x2b1da3[_0x384fb2(0x152)]:if(!this[_0x384fb2(0x150)][_0x384fb2(0x154)][_0x384fb2(0x133)](_0x384fb2(0x136))){const _0x85eda7=_0x5bb14d(this[_0x384fb2(0x150)][_0x384fb2(0x147)],_0x384fb2(0x13a),_0x384fb2(0x136));throw new _0x48cfe(_0x384fb2(0x126),this[_0x384fb2(0x150)],{'errorMessage':_0x85eda7});}this[_0x384fb2(0x13d)](_0x19830a);}}async[_0x2644ac(0x120)](_0x3bbea7){const _0xaea8f1=_0x2644ac,_0x4ce64e=this[_0xaea8f1(0x150)][_0xaea8f1(0x154)][_0xaea8f1(0x151)](_0xaea8f1(0x12c)),_0x3397ab=this[_0xaea8f1(0x150)][_0xaea8f1(0x154)][_0xaea8f1(0x151)](_0xaea8f1(0x14a));if(this[_0xaea8f1(0x150)][_0xaea8f1(0x154)][_0xaea8f1(0x151)](_0xaea8f1(0x13f))[_0xaea8f1(0x142)][_0xaea8f1(0x132)](_0xaea8f1(0x11b)),_0xaea8f1(0x11e)===_0x3bbea7['id'])_0x3397ab[_0xaea8f1(0x145)](),await _0x4ce64e[_0xaea8f1(0x128)](),_0x4ce64e[_0xaea8f1(0x127)]();else await _0x4ce64e[_0xaea8f1(0x12d)](),_0x3397ab[_0xaea8f1(0x145)](),await _0x4ce64e[_0xaea8f1(0x128)](),_0x4ce64e[_0xaea8f1(0x127)](),await _0x4ce64e[_0xaea8f1(0x13b)]({'message':_0x3bbea7[_0xaea8f1(0x14f)]||_0x3bbea7[_0xaea8f1(0x11f)],'quickActionData':{'id':_0x3bbea7['id'],'displayedPrompt':_0x3bbea7[_0xaea8f1(0x11f)]}});}[_0x2644ac(0x130)](){const _0x5ec502=_0x2644ac,_0x1687f7=this[_0x5ec502(0x150)],_0x201ddd=_0x1687f7[_0x5ec502(0x146)][_0x5ec502(0x139)][_0x5ec502(0x143)];if(!_0x201ddd[_0x5ec502(0x134)])return;const _0xd69f5b=_0x2ec35e(_0x201ddd[_0x5ec502(0x14d)]())||_0x1687f7[_0x5ec502(0x146)][_0x5ec502(0x148)][_0x5ec502(0x153)](_0x201ddd);_0x1687f7[_0x5ec502(0x146)][_0x5ec502(0x140)](_0x3cdf92=>{const _0x476820=_0x5ec502;_0x3cdf92[_0x476820(0x12e)](_0xd69f5b,'in');});}[_0x2644ac(0x141)](_0x55f2bc){const _0x29be31=_0x2644ac;return _0x55f2bc[_0x29be31(0x124)]?.[_0x29be31(0x135)]&&_0x29be31(0x11a)!==_0x55f2bc[_0x29be31(0x124)]?.['id']?_0x55f2bc[_0x29be31(0x124)][_0x29be31(0x135)]+':\x20'+_0x55f2bc[_0x29be31(0x11f)]:_0x55f2bc[_0x29be31(0x11f)];}async[_0x2644ac(0x13e)](_0x248242){const _0x58a8d0=_0x2644ac,_0x4281ed=this[_0x58a8d0(0x150)][_0x58a8d0(0x154)][_0x58a8d0(0x151)](_0x58a8d0(0x13c)),_0x45f628=_0x248242[_0x58a8d0(0x14f)]?{'userMessage':_0x248242[_0x58a8d0(0x14f)],'model':_0x248242[_0x58a8d0(0x146)]}:{'actionName':_0x248242[_0x58a8d0(0x14c)]||_0x248242['id'],'args':_0x248242[_0x58a8d0(0x12a)]},_0x578985=this[_0x58a8d0(0x141)](_0x248242);await _0x4281ed[_0x58a8d0(0x155)](_0x45f628,_0x578985,_0x248242[_0x58a8d0(0x131)]);}async[_0x2644ac(0x13d)](_0x344b10){const _0x7b7669=_0x2644ac;console[_0x7b7669(0x138)](_0x7b7669(0x156),_0x344b10);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xb1c639=_0x177e;(function(_0x59f293,_0x5d49e5){const _0x2ee7a3=_0x177e,_0x3071d1=_0x59f293();while(!![]){try{const _0x2256c7=-parseInt(_0x2ee7a3(0x185))/0x1*(parseInt(_0x2ee7a3(0x180))/0x2)+parseInt(_0x2ee7a3(0x16a))/0x3+-parseInt(_0x2ee7a3(0x176))/0x4*(parseInt(_0x2ee7a3(0x183))/0x5)+parseInt(_0x2ee7a3(0x178))/0x6*(-parseInt(_0x2ee7a3(0x182))/0x7)+-parseInt(_0x2ee7a3(0x173))/0x8*(parseInt(_0x2ee7a3(0x17b))/0x9)+-parseInt(_0x2ee7a3(0x167))/0xa+-parseInt(_0x2ee7a3(0x17f))/0xb*(-parseInt(_0x2ee7a3(0x174))/0xc);if(_0x2256c7===_0x5d49e5)break;else _0x3071d1['push'](_0x3071d1['shift']());}catch(_0x1524cc){_0x3071d1['push'](_0x3071d1['shift']());}}}(_0x4ea8,0x5251e));import{Plugin as _0x3fdfa8}from'ckeditor5/src/core.js';function _0x4ea8(){const _0x445463=['removeSelectionFromChatContext','7tXjhEz','8435evqWxw','add','4132vnCTVK','4409590BEghpu','directChange','editor','1393290JRiXdj','AIChat','commands','has','document','change:range','init','model','AIQuickActionsEditing','344MugUAf','12DRYGQu','isPremiumPlugin','1508MeeqHN','isOfficialPlugin','492306dzooYz','selection','pluginName','134838WiiaGO','aiQuickAction','plugins','get','21753853EapIhP','146seJiLz'];_0x4ea8=function(){return _0x445463;};return _0x4ea8();}function _0x177e(_0x1d2799,_0x527d68){const _0x4ea8cb=_0x4ea8();return _0x177e=function(_0x177efc,_0x3c6556){_0x177efc=_0x177efc-0x167;let _0x2eae26=_0x4ea8cb[_0x177efc];return _0x2eae26;},_0x177e(_0x1d2799,_0x527d68);}import{AIQuickActionsCommand as _0x5562b6}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x3fdfa8{static get[_0xb1c639(0x17a)](){const _0x105894=_0xb1c639;return _0x105894(0x172);}static get[_0xb1c639(0x177)](){return!0x0;}static get[_0xb1c639(0x175)](){return!0x0;}[_0xb1c639(0x170)](){const _0x3ec1d2=_0xb1c639,_0xf7ac74=this[_0x3ec1d2(0x169)],_0xa68a52=new _0x5562b6(this[_0x3ec1d2(0x169)]);if(_0xf7ac74[_0x3ec1d2(0x16c)][_0x3ec1d2(0x184)](_0x3ec1d2(0x17c),_0xa68a52),_0xf7ac74[_0x3ec1d2(0x17d)][_0x3ec1d2(0x16d)](_0x3ec1d2(0x16b))){const _0x137fce=this[_0x3ec1d2(0x169)][_0x3ec1d2(0x17d)][_0x3ec1d2(0x17e)](_0x3ec1d2(0x16b));_0xf7ac74[_0x3ec1d2(0x171)][_0x3ec1d2(0x16e)][_0x3ec1d2(0x179)]['on'](_0x3ec1d2(0x16f),(_0x6cfca7,_0x2ca430)=>{const _0x168bf1=_0x3ec1d2;_0x2ca430[_0x168bf1(0x168)]&&_0x137fce[_0x168bf1(0x181)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x20b93b=_0xb883;function _0xb883(_0x52d07e,_0x1ff1e7){const _0x360400=_0x3604();return _0xb883=function(_0xb883d4,_0x28960c){_0xb883d4=_0xb883d4-0x9d;let _0x4fa129=_0x360400[_0xb883d4];return _0x4fa129;},_0xb883(_0x52d07e,_0x1ff1e7);}(function(_0x4573b3,_0x1eb250){const _0x18cb75=_0xb883,_0x33d19b=_0x4573b3();while(!![]){try{const _0x4a352b=parseInt(_0x18cb75(0xea))/0x1*(-parseInt(_0x18cb75(0x9e))/0x2)+parseInt(_0x18cb75(0x13a))/0x3*(parseInt(_0x18cb75(0xb2))/0x4)+parseInt(_0x18cb75(0x110))/0x5+-parseInt(_0x18cb75(0xc1))/0x6*(parseInt(_0x18cb75(0xc8))/0x7)+parseInt(_0x18cb75(0xfe))/0x8+parseInt(_0x18cb75(0xbb))/0x9*(-parseInt(_0x18cb75(0xd6))/0xa)+parseInt(_0x18cb75(0x134))/0xb;if(_0x4a352b===_0x1eb250)break;else _0x33d19b['push'](_0x33d19b['shift']());}catch(_0x5b0810){_0x33d19b['push'](_0x33d19b['shift']());}}}(_0x3604,0x7cbe7));import{IconAIAdjustLength as _0x43fcbf,IconAIChangeTone as _0x3b58cc,IconAIChatCommands as _0x45a643,IconAIContinueWriting as _0x468ba8,IconAIGrammarCheck as _0x27d8b5,IconAIImproveWriting as _0x39af0c,IconAIOther as _0x5be418,IconAIQuickActions as _0x31678c,IconAITranslate as _0x40c8f7}from'@ckeditor/ckeditor5-icons';function _0x3604(){const _0x4bced4=['menuBarView','DisplayNames','ACTION','uiLanguage','editor','AIConnector','french','explain','children','delegate','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_ASK_AI','config','English','make-tone-friendly','translate-to-russian','CHAT','init','chat-commands','ask-ai','AI_QUICK_ACTIONS_MORE_FRIENDLY','19367282MSRjRw','map','AI_QUICK_ACTIONS_CHANGE_TONE','ai-quick-actions-models-unable-to-retrieve','ai.chat.models.displayedModels','korean','437895lnvkKJ','make-tone-confident','forEach','AIReviewMode','getDefaultQuickActions','label','54330BCklQe','russian','AI_QUICK_ACTIONS_OTHER','close','includes','filter','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','translate-to-french','values','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','view','aiQuickAction','translate-to-spanish','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','model','_getDefaultAndCustomActions','actions','make-tone-direct','ai-quick-actions-unavailable-model','buttonView','4bAvzfq','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','language','improve-writing','_executeQuickAction','attachToDom','82278mSmBKg','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','pluginName','_initializeQuickActionsDropdown','AI_QUICK_ACTIONS_MORE_DIRECT','summarize','3054354DIGAKt','japanese','other','isEnabled','continue','requires','make-shorter','14bdKZGn','AI_QUICK_ACTIONS_TRANSLATE','aiQuickActions','adjust-length','<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>','make-tone-casual','ai.quickActions.isSearchEnabled','REVIEW','translate-to-italian','translate-to-german','fix-grammar','AI_QUICK_ACTIONS_CONTINUE_WRITING','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','translate-to-portuguese','740rsjHPr','set','translate-to-chinese','plugins','menuitem','translate','AIChat','push','commands','german','menu','editing','italian','displayedPrompt','spanish','AI_QUICK_ACTIONS_MORE_CASUAL','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_MAKE_SHORTER','add','4YVPcIq','getAvailableModels','make-tone-professional','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_MAKE_LONGER','items','AI_QUICK_ACTIONS_EXPLAIN','replace','ai.quickActions.extraCommands','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','find','translate-to-english','AIActions','componentFactory','AI_QUICK_ACTIONS_CHAT_COMMANDS','_shouldIncludeAction','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','english','462064bSwKWN','menuBar:aiQuickActions','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','make-longer','locale','AI_QUICK_ACTIONS_ADJUST_LENGTH','execute','_quickActionsDefinition','panelView','portuguese','AI_QUICK_ACTIONS_SUMMARIZE','length','icon','AIQuickActionsUI','highlight-key-points','some','type','translate-to-japanese','1749260uYpOgK','isPremiumPlugin','isOfficialPlugin','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','get','_initializeQuickActionsComponentsAndCommands','change-tone','chinese','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','message','focus','ai.quickActions.removeCommands','has','_initializeQuickActionsComponents'];_0x3604=function(){return _0x4bced4;};return _0x3604();}import{Plugin as _0x232ab4}from'ckeditor5/src/core.js';import{CKEditorError as _0x45cb85,logError as _0x4ae99c}from'ckeditor5/src/utils.js';import{getTranslation as _0x503b87}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x30e3bc}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x2fd7b8}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x7ec26,BalloonToolbar as _0x300bfa,MenuBarMenuView as _0x36daa0,MenuBarMenuListView as _0x372bf9,MenuBarMenuListItemView as _0x2d48bb,MenuBarMenuListItemButtonView as _0x331272}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0xa64237}from'../aicore/model/aimodels.js';const Lt=_0x20b93b(0xcc),Dt=_0x20b93b(0xd4),Ht=_0x20b93b(0xf4);export var AIQuickActionType;!function(_0x3a77dc){const _0x15511f=_0x20b93b;_0x3a77dc[_0x15511f(0x12f)]=_0x15511f(0x12f),_0x3a77dc[_0x15511f(0x121)]=_0x15511f(0x121),_0x3a77dc[_0x15511f(0xcf)]=_0x15511f(0xcf);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x497514){const _0x1c8790=_0x20b93b;_0x497514[_0x1c8790(0x12f)]=_0x1c8790(0xdc),_0x497514[_0x1c8790(0x121)]=_0x1c8790(0xf8),_0x497514[_0x1c8790(0xcf)]=_0x1c8790(0x13d);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x232ab4{static get[_0x20b93b(0xc6)](){return[_0x300bfa];}static get[_0x20b93b(0xbd)](){const _0x38dc2f=_0x20b93b;return _0x38dc2f(0x10b);}static get[_0x20b93b(0x112)](){return!0x0;}static get[_0x20b93b(0x111)](){return!0x0;}async[_0x20b93b(0x130)](){const _0x306538=_0x20b93b,_0x174925=await this[_0x306538(0xad)]();this[_0x306538(0xe6)](_0x174925),this[_0x306538(0x115)]();}static[_0x20b93b(0x13e)](_0x295eb4){return function(_0x5815a3){const _0x2a475e=_0xb883,_0x39ca64=new Intl[(_0x2a475e(0x120))](['en'],{'type':_0x2a475e(0xb7)})['of'](_0x5815a3[_0x2a475e(0x122)]),_0x15ba9c=_0x39ca64||_0x2a475e(0x12c),_0x12230a=[{'id':_0x2a475e(0x132),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0x12a)),'type':AIQuickActionType[_0x2a475e(0x12f)],'icon':_0x45a643},{'id':_0x2a475e(0x131),'label':_0x503b87(_0x5815a3,_0x2a475e(0xfa)),'icon':_0x45a643,'actions':[{'id':_0x2a475e(0x126),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xf1)),'prompt':Lt[_0x2a475e(0xf2)]('%0',_0x15ba9c),'type':AIQuickActionType[_0x2a475e(0x12f)]},{'id':_0x2a475e(0xc0),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0x108)),'prompt':Dt[_0x2a475e(0xf2)]('%0',_0x15ba9c),'type':AIQuickActionType[_0x2a475e(0x12f)]},{'id':_0x2a475e(0x10c),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xfc)),'prompt':Ht[_0x2a475e(0xf2)]('%0',_0x15ba9c),'type':AIQuickActionType[_0x2a475e(0x12f)]}]},{'id':_0x2a475e(0xb8),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xed)),'type':AIQuickActionType[_0x2a475e(0x121)],'icon':_0x39af0c},{'id':_0x2a475e(0xc5),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xd3)),'type':AIQuickActionType[_0x2a475e(0x121)],'icon':_0x468ba8},{'id':_0x2a475e(0xd2),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xab)),'type':AIQuickActionType[_0x2a475e(0x121)],'icon':_0x27d8b5},{'id':_0x2a475e(0xcb),'label':_0x503b87(_0x5815a3,_0x2a475e(0x103)),'icon':_0x43fcbf,'actions':[{'id':_0x2a475e(0xc7),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xe8)),'type':AIQuickActionType[_0x2a475e(0x121)]},{'id':_0x2a475e(0x101),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xef)),'type':AIQuickActionType[_0x2a475e(0x121)]}]},{'id':_0x2a475e(0x116),'label':_0x503b87(_0x5815a3,_0x2a475e(0x136)),'icon':_0x3b58cc,'actions':[{'id':_0x2a475e(0xcd),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xe5)),'type':AIQuickActionType[_0x2a475e(0x121)]},{'id':_0x2a475e(0xaf),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xbf)),'type':AIQuickActionType[_0x2a475e(0x121)]},{'id':_0x2a475e(0x12d),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0x133)),'type':AIQuickActionType[_0x2a475e(0x121)]},{'id':_0x2a475e(0x13b),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xee)),'type':AIQuickActionType[_0x2a475e(0x121)]},{'id':_0x2a475e(0xec),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0x118)),'type':AIQuickActionType[_0x2a475e(0x121)]}]},{'id':_0x2a475e(0xdb),'label':_0x503b87(_0x5815a3,_0x2a475e(0xc9)),'icon':_0x40c8f7,'actions':[{'id':_0x2a475e(0xf7),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xf5)),'type':AIQuickActionType[_0x2a475e(0x121)],'actionName':_0x2a475e(0xdb),'args':{'language':_0x2a475e(0xfd)}},{'id':_0x2a475e(0xd8),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xb6)),'type':AIQuickActionType[_0x2a475e(0x121)],'actionName':_0x2a475e(0xdb),'args':{'language':_0x2a475e(0x117)}},{'id':_0x2a475e(0xaa),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0x100)),'type':AIQuickActionType[_0x2a475e(0x121)],'actionName':_0x2a475e(0xdb),'args':{'language':_0x2a475e(0xe4)}},{'id':_0x2a475e(0xd1),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xb3)),'type':AIQuickActionType[_0x2a475e(0x121)],'actionName':_0x2a475e(0xdb),'args':{'language':_0x2a475e(0xdf)}},{'id':_0x2a475e(0xa5),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xb4)),'type':AIQuickActionType[_0x2a475e(0x121)],'actionName':_0x2a475e(0xdb),'args':{'language':_0x2a475e(0x125)}},{'id':_0x2a475e(0x10f),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0x113)),'type':AIQuickActionType[_0x2a475e(0x121)],'actionName':_0x2a475e(0xdb),'args':{'language':_0x2a475e(0xc2)}},{'id':_0x2a475e(0xd5),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0x119)),'type':AIQuickActionType[_0x2a475e(0x121)],'actionName':_0x2a475e(0xdb),'args':{'language':_0x2a475e(0x107)}},{'id':_0x2a475e(0xb5),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xbc)),'type':AIQuickActionType[_0x2a475e(0x121)],'actionName':_0x2a475e(0xdb),'args':{'language':_0x2a475e(0x139)}},{'id':_0x2a475e(0xd0),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xa7)),'type':AIQuickActionType[_0x2a475e(0x121)],'actionName':_0x2a475e(0xdb),'args':{'language':_0x2a475e(0xe2)}},{'id':_0x2a475e(0x12e),'displayedPrompt':_0x503b87(_0x5815a3,_0x2a475e(0xa4)),'type':AIQuickActionType[_0x2a475e(0x121)],'actionName':_0x2a475e(0xdb),'args':{'language':_0x2a475e(0x9f)}}]},{'id':_0x2a475e(0xc3),'label':_0x503b87(_0x5815a3,_0x2a475e(0xa0)),'icon':_0x5be418,'actions':[]}];return _0x12230a;}(_0x295eb4);}async[_0x20b93b(0xad)](){const _0x21e90b=_0x20b93b,_0x49f7a9=AIQuickActionsUI[_0x21e90b(0x13e)](this[_0x21e90b(0x123)][_0x21e90b(0x102)]),_0xe40394=this[_0x21e90b(0x123)][_0x21e90b(0x12b)][_0x21e90b(0x114)](_0x21e90b(0xf3))||[];let _0x535171=[];try{_0x535171=await new _0xa64237({'connector':this[_0x21e90b(0x123)][_0x21e90b(0xd9)][_0x21e90b(0x114)](_0x21e90b(0x124)),'availableModels':this[_0x21e90b(0x123)][_0x21e90b(0x12b)][_0x21e90b(0x114)](_0x21e90b(0x138))})[_0x21e90b(0xeb)]();}catch(_0xaf1dd9){const _0x1f5e1e=new _0x45cb85(_0x21e90b(0x137),this,{'error':_0xaf1dd9});_0x4ae99c(_0x1f5e1e[_0x21e90b(0x11a)]);}finally{const _0x42c966=_0xe40394[_0x21e90b(0x135)](_0x4cf33c=>({..._0x4cf33c,'icon':void 0x0}));_0x49f7a9[_0x21e90b(0xf6)](_0x560a18=>_0x21e90b(0xc3)===_0x560a18['id'])[_0x21e90b(0xae)][_0x21e90b(0xdd)](..._0x42c966),_0x49f7a9[_0x21e90b(0x13c)](_0x56e5d2=>{const _0x4a4136=_0x21e90b;if(_0x4a4136(0xae)in _0x56e5d2)_0x56e5d2[_0x4a4136(0xae)][_0x4a4136(0x13c)](_0x46777e=>{const _0x2382b0=_0x4a4136;if(_0x46777e[_0x2382b0(0xc4)]=!!_0x535171[_0x2382b0(0xf6)](_0x31ec73=>_0x31ec73['id']===_0x46777e[_0x2382b0(0xac)])||void 0x0===_0x46777e[_0x2382b0(0xac)],!_0x46777e[_0x2382b0(0xc4)]){const _0x36a1e4=new _0x45cb85(_0x2382b0(0xb0),this,{'actionId':_0x46777e['id'],'modelId':_0x46777e[_0x2382b0(0xac)]});_0x4ae99c(_0x36a1e4[_0x2382b0(0x11a)]);}});else{if(_0x56e5d2[_0x4a4136(0xc4)]=!!_0x535171[_0x4a4136(0xf6)](_0xdca018=>_0xdca018['id']===_0x56e5d2[_0x4a4136(0xac)])||void 0x0===_0x56e5d2[_0x4a4136(0xac)],!_0x56e5d2[_0x4a4136(0xc4)]){const _0x29ef7f=new _0x45cb85(_0x4a4136(0xb0),this,{'actionId':_0x56e5d2['id'],'modelId':_0x56e5d2[_0x4a4136(0xac)]});_0x4ae99c(_0x29ef7f[_0x4a4136(0x11a)]);}}});}return _0x49f7a9;}[_0x20b93b(0x115)](){const _0x12c3b5=_0x20b93b,_0x2c2978=new _0x7ec26(this[_0x12c3b5(0x123)][_0x12c3b5(0x102)]);_0x2c2978[_0x12c3b5(0xba)](),this[_0x12c3b5(0xbe)](_0x2c2978),this[_0x12c3b5(0x129)](),this[_0x12c3b5(0x11e)](_0x2c2978);}[_0x20b93b(0xbe)](_0x372285){const _0x385031=_0x20b93b,_0x43bdd2=this[_0x385031(0x123)][_0x385031(0x12b)][_0x385031(0x114)](_0x385031(0xce))??!0x0;this[_0x385031(0x123)]['ui'][_0x385031(0xf9)][_0x385031(0xe9)](_0x385031(0xca),_0x30e3bc({'editor':this[_0x385031(0x123)],'content':this[_0x385031(0x105)],'buttonDefinition':{'icon':_0x31678c,'label':_0x503b87(this[_0x385031(0x123)][_0x385031(0x102)],_0x385031(0xe7))},'bodyCollection':_0x372285,'hasSearch':_0x43bdd2}));}[_0x20b93b(0xe6)](_0x14bf79){const _0x482fe1=_0x20b93b;this[_0x482fe1(0x105)]=_0x14bf79[_0x482fe1(0x135)](_0x49dd03=>{const _0x1476ea=_0x482fe1;if(_0x1476ea(0xae)in _0x49dd03){const _0xc31ed8=_0x49dd03;return{..._0xc31ed8,'actions':_0xc31ed8[_0x1476ea(0xae)][_0x1476ea(0x135)](_0x331d06=>{const {actions:_0x274ac9,..._0x5a8904}=_0xc31ed8;return{..._0x331d06,'parent':_0x5a8904};})[_0x1476ea(0xa3)](_0x9e731e=>this[_0x1476ea(0xfb)](_0x9e731e))};}return _0x49dd03;})[_0x482fe1(0xa3)](_0x574c61=>_0x482fe1(0xae)in _0x574c61?_0x574c61[_0x482fe1(0xae)][_0x482fe1(0x109)]>0x0:this[_0x482fe1(0xfb)](_0x574c61));}[_0x20b93b(0xfb)](_0x437c92){const _0x54b645=_0x20b93b,_0x34cbcf=this[_0x54b645(0x123)][_0x54b645(0x12b)][_0x54b645(0x114)](_0x54b645(0x11c))||[];return this[_0x54b645(0x123)][_0x54b645(0xd9)][_0x54b645(0x11d)](AIQuickActionTypeToPluginName[_0x437c92[_0x54b645(0x10e)]])&&!_0x34cbcf[_0x54b645(0xa2)](_0x437c92['id']);}[_0x20b93b(0x11e)](_0x2b045f){const _0x22d73e=_0x20b93b;this[_0x22d73e(0x105)][_0x22d73e(0x13c)](_0x1a051b=>{const _0x4896a8=_0x22d73e;if(_0x4896a8(0xae)in _0x1a051b){const _0x2d470e=_0x30e3bc({'editor':this[_0x4896a8(0x123)],'content':_0x1a051b[_0x4896a8(0xae)],'buttonDefinition':_0x1a051b,'bodyCollection':_0x2b045f});this[_0x4896a8(0x123)]['ui'][_0x4896a8(0xf9)][_0x4896a8(0xe9)](_0x1a051b['id'],_0x2d470e),_0x1a051b[_0x4896a8(0xae)][_0x4896a8(0x13c)](_0x5d7d57=>{const _0xe273cc=_0x4896a8,_0x2223fc=_0x2fd7b8({'editor':this[_0xe273cc(0x123)],'action':_0x5d7d57});this[_0xe273cc(0x123)]['ui'][_0xe273cc(0xf9)][_0xe273cc(0xe9)](_0x5d7d57['id'],_0x2223fc);});}else{const _0x63bc75=_0x2fd7b8({'editor':this[_0x4896a8(0x123)],'action':_0x1a051b,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x4896a8(0x123)]['ui'][_0x4896a8(0xf9)][_0x4896a8(0xe9)](_0x1a051b['id'],_0x63bc75);}});}[_0x20b93b(0x129)](){const _0x579913=_0x20b93b;this[_0x579913(0x123)]['ui'][_0x579913(0xf9)][_0x579913(0xe9)](_0x579913(0xff),_0x4bd1a3=>{const _0x168677=_0x579913,_0x21da06=new _0x36daa0(_0x4bd1a3),_0x499ae8=_0x503b87(_0x4bd1a3,_0x168677(0xe7));_0x21da06[_0x168677(0xb1)][_0x168677(0xd7)]({'label':_0x499ae8,'icon':_0x31678c});const _0x5ef619=new _0x372bf9(_0x4bd1a3);_0x5ef619[_0x168677(0xd7)]({'ariaLabel':_0x499ae8,'role':_0x168677(0xe0)}),this[_0x168677(0x105)][_0x168677(0x13c)](_0x5760f2=>{const _0x42250b=_0x168677;if(_0x42250b(0xae)in _0x5760f2){const _0xdecf96=_0x5760f2,_0x255245=new _0x2d48bb(_0x4bd1a3,_0x21da06),_0x724c89=new _0x36daa0(_0x4bd1a3),_0x3a3c7a=new _0x372bf9(_0x4bd1a3);_0x724c89[_0x42250b(0xb1)][_0x42250b(0xd7)]({'label':_0xdecf96[_0x42250b(0x9d)],'icon':_0xdecf96[_0x42250b(0x10a)]}),_0xdecf96[_0x42250b(0xae)][_0x42250b(0x13c)](_0x4124ef=>{const _0x277184=_0x42250b,_0x4135cb=new _0x2d48bb(_0x4bd1a3,_0x724c89),_0x3ddd21=new _0x331272(_0x4bd1a3);_0x3ddd21[_0x277184(0xd7)]({'label':_0x4124ef[_0x277184(0xe3)],'icon':_0x4124ef[_0x277184(0x10a)],'role':_0x277184(0xda),'isEnabled':_0x4124ef[_0x277184(0xc4)]}),_0x3ddd21['on'](_0x277184(0x104),()=>{const _0x18251a=_0x277184;this[_0x18251a(0xb9)](_0x4124ef);}),_0x3ddd21[_0x277184(0x128)](_0x277184(0x104))['to'](_0x724c89),_0x4135cb[_0x277184(0x127)][_0x277184(0xe9)](_0x3ddd21),_0x3a3c7a[_0x277184(0xf0)][_0x277184(0xe9)](_0x4135cb);}),_0x724c89[_0x42250b(0x106)][_0x42250b(0x127)][_0x42250b(0xe9)](_0x3a3c7a),_0x255245[_0x42250b(0x127)][_0x42250b(0xe9)](_0x724c89),_0x5ef619[_0x42250b(0xf0)][_0x42250b(0xe9)](_0x255245);}else{const _0x1246f4=_0x5760f2,_0x89bfba=new _0x2d48bb(_0x4bd1a3,_0x21da06),_0x46a5d2=new _0x331272(_0x4bd1a3);_0x46a5d2[_0x42250b(0xd7)]({'label':_0x1246f4[_0x42250b(0xe3)],'icon':_0x1246f4[_0x42250b(0x10a)],'role':_0x42250b(0xda),'isEnabled':_0x1246f4[_0x42250b(0xc4)]}),_0x46a5d2['on'](_0x42250b(0x104),()=>{const _0x467f5a=_0x42250b;this[_0x467f5a(0xb9)](_0x1246f4);}),_0x46a5d2[_0x42250b(0x128)](_0x42250b(0x104))['to'](_0x21da06),_0x89bfba[_0x42250b(0x127)][_0x42250b(0xe9)](_0x46a5d2),_0x5ef619[_0x42250b(0xf0)][_0x42250b(0xe9)](_0x89bfba);}});const _0x13efa8=Object[_0x168677(0xa6)](AIQuickActionTypeToPluginName)[_0x168677(0x10d)](_0x35e422=>this[_0x168677(0x123)][_0x168677(0xd9)][_0x168677(0x11d)](_0x35e422));return _0x21da06[_0x168677(0xd7)]({'isEnabled':_0x13efa8}),_0x21da06[_0x168677(0x106)][_0x168677(0x127)][_0x168677(0xe9)](_0x5ef619),_0x21da06;});}[_0x20b93b(0xb9)](_0x231f8a){const _0x1647fa=_0x20b93b,_0x5bd3a9=this[_0x1647fa(0x123)];_0x5bd3a9[_0x1647fa(0xe1)][_0x1647fa(0xa8)][_0x1647fa(0x11b)](),_0x5bd3a9[_0x1647fa(0xde)][_0x1647fa(0x104)](_0x1647fa(0xa9),_0x231f8a);const _0x475944=_0x5bd3a9['ui'][_0x1647fa(0xa8)][_0x1647fa(0x11f)];_0x475944&&_0x475944[_0x1647fa(0xa1)]&&_0x475944[_0x1647fa(0xa1)]();}}
|
|
23
|
+
const _0x2752b9=_0x2ed9;(function(_0x245d09,_0x25b32f){const _0x27eb4d=_0x2ed9,_0x4f6418=_0x245d09();while(!![]){try{const _0x56e4a1=parseInt(_0x27eb4d(0x211))/0x1*(parseInt(_0x27eb4d(0x1c2))/0x2)+parseInt(_0x27eb4d(0x1a2))/0x3+parseInt(_0x27eb4d(0x1b1))/0x4*(-parseInt(_0x27eb4d(0x1ec))/0x5)+-parseInt(_0x27eb4d(0x22c))/0x6*(parseInt(_0x27eb4d(0x198))/0x7)+-parseInt(_0x27eb4d(0x1eb))/0x8+parseInt(_0x27eb4d(0x1ff))/0x9+parseInt(_0x27eb4d(0x233))/0xa;if(_0x56e4a1===_0x25b32f)break;else _0x4f6418['push'](_0x4f6418['shift']());}catch(_0x56043d){_0x4f6418['push'](_0x4f6418['shift']());}}}(_0x1663,0x7af9f));import{IconAIAdjustLength as _0x22693d,IconAIChangeTone as _0x45cc1d,IconAIChatCommands as _0x407623,IconAIContinueWriting as _0x177426,IconAIGrammarCheck as _0x2610b4,IconAIImproveWriting as _0x193cc2,IconAIOther as _0x41845f,IconAIQuickActions as _0x5e907f,IconAITranslate as _0x25dd68}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x1bd717}from'ckeditor5/src/core.js';import{CKEditorError as _0x2bb04d,logError as _0x309e48}from'ckeditor5/src/utils.js';function _0x2ed9(_0xe9901f,_0x38c6ea){const _0x166352=_0x1663();return _0x2ed9=function(_0x2ed954,_0xd8d723){_0x2ed954=_0x2ed954-0x198;let _0x7b1c06=_0x166352[_0x2ed954];return _0x7b1c06;},_0x2ed9(_0xe9901f,_0x38c6ea);}import{getTranslation as _0x5a8b2b}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x5c2f1d}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x49e81c}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0xf0bf15,BalloonToolbar as _0x312631,MenuBarMenuView as _0x3f819c,MenuBarMenuListView as _0x555077,MenuBarMenuListItemView as _0x2d8ea,MenuBarMenuListItemButtonView as _0x3d5ec3}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';function _0x1663(){const _0x2ba52b=['AI_QUICK_ACTIONS_IMPROVE_WRITING','icon','set','1624506tUMQXn','translate-to-russian','continue','message','children','getAvailableModels','russian','isPremiumPlugin','make-tone-friendly','isOfficialPlugin','map','chat-commands','korean','AIChat','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','20CNSBRV','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','translate-to-italian','values','AI_QUICK_ACTIONS_HEADING','italian','menu','items','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','make-tone-professional','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','uiLanguage','portuguese','translate-to-english','change-tone','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','58612vyyEAm','ACTION','CHAT','aiQuickAction','explain','AI_QUICK_ACTIONS_CHAT_COMMANDS','_getDefaultAndCustomActions','make-shorter','config','forEach','length','AIConnector','translate-to-chinese','_executeQuickAction','english','AIReviewMode','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AIQuickActionsUI','has','view','german','delegate','AI_QUICK_ACTIONS_MORE_CASUAL','ai.chat.models.displayedModels','REVIEW','improve-writing','menuBar:aiQuickActions','model','get','AI_QUICK_ACTIONS_SUMMARIZE','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','focus','adjust-length','AI_QUICK_ACTIONS_MAKE_SHORTER','plugins','actions','displayedPrompt','japanese','ask-ai','find','push','2588448AdNsRC','837170Nqufkp','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_EXPLAIN','panelView','menuBarView','replace','componentFactory','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_ASK_AI','_initializeQuickActionsComponents','DisplayNames','commands','ai.quickActions.extraCommands','getDefaultQuickActions','spanish','ai.quickActions.isSearchEnabled','filter','other','make-tone-casual','7918938iKYNeR','french','make-tone-confident','label','language','some','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','includes','close','AI_QUICK_ACTIONS_OTHER','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_MORE_DIRECT','highlight-key-points','make-longer','ai.quickActions.removeCommands','translate-to-german','_quickActionsDefinition','execute','7ctkmsG','attachToDom','editing','AI_QUICK_ACTIONS_ADJUST_LENGTH','isEnabled','buttonView','translate-to-portuguese','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_MORE_FRIENDLY','ai-quick-actions-models-unable-to-retrieve','AI_QUICK_ACTIONS_MORE_CONFIDENT','translate-to-japanese','init','translate-to-korean','ai-quick-actions-unavailable-model','AI_QUICK_ACTIONS_MAKE_LONGER','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','_initializeQuickActionsDropdown','translate-to-spanish','editor','type','AI_QUICK_ACTIONS_TRANSLATE','chinese','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','requires','AI_QUICK_ACTIONS_CONTINUE_WRITING','544014bUasFg','English','fix-grammar','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','menuitem','AIActions','_initializeQuickActionsComponentsAndCommands','2192490FXLuuZ','aiQuickActions','pluginName','locale','_shouldIncludeAction','_initializeQuickActionsMenuBar','14uxTkwF','translate','add','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_CHANGE_TONE','summarize','make-tone-direct'];_0x1663=function(){return _0x2ba52b;};return _0x1663();}import{AIModels as _0x298ca6}from'../aicore/model/aimodels.js';const Lt=_0x2752b9(0x19b),Dt=_0x2752b9(0x218),Ht=_0x2752b9(0x1b2);export var AIQuickActionType;!function(_0x261d72){const _0x8e3145=_0x2752b9;_0x261d72[_0x8e3145(0x1c4)]=_0x8e3145(0x1c4),_0x261d72[_0x8e3145(0x1c3)]=_0x8e3145(0x1c3),_0x261d72[_0x8e3145(0x1da)]=_0x8e3145(0x1da);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x25e38d){const _0x1a32cb=_0x2752b9;_0x25e38d[_0x1a32cb(0x1c4)]=_0x1a32cb(0x1af),_0x25e38d[_0x1a32cb(0x1c3)]=_0x1a32cb(0x231),_0x25e38d[_0x1a32cb(0x1da)]=_0x1a32cb(0x1d1);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x1bd717{static get[_0x2752b9(0x22a)](){return[_0x312631];}static get[_0x2752b9(0x235)](){const _0x2941f8=_0x2752b9;return _0x2941f8(0x1d3);}static get[_0x2752b9(0x1ab)](){return!0x0;}static get[_0x2752b9(0x1a9)](){return!0x0;}async[_0x2752b9(0x21d)](){const _0x45565b=_0x2752b9,_0x9082c1=await this[_0x45565b(0x1c8)]();this[_0x45565b(0x1ed)](_0x9082c1),this[_0x45565b(0x232)]();}static[_0x2752b9(0x1f9)](_0x1b05d7){return function(_0x163ef8){const _0x159017=_0x2ed9,_0x2cde82=new Intl[(_0x159017(0x1f6))](['en'],{'type':_0x159017(0x203)})['of'](_0x163ef8[_0x159017(0x1bc)]),_0x5bc48d=_0x2cde82||_0x159017(0x22d),_0x647fa5=[{'id':_0x159017(0x1e8),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1f4)),'type':AIQuickActionType[_0x159017(0x1c4)],'icon':_0x407623},{'id':_0x159017(0x1ad),'label':_0x5a8b2b(_0x163ef8,_0x159017(0x1c7)),'icon':_0x407623,'actions':[{'id':_0x159017(0x1c6),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1ee)),'prompt':Lt[_0x159017(0x1f1)]('%0',_0x5bc48d),'type':AIQuickActionType[_0x159017(0x1c4)]},{'id':_0x159017(0x19d),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1df)),'prompt':Dt[_0x159017(0x1f1)]('%0',_0x5bc48d),'type':AIQuickActionType[_0x159017(0x1c4)]},{'id':_0x159017(0x20b),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1b0)),'prompt':Ht[_0x159017(0x1f1)]('%0',_0x5bc48d),'type':AIQuickActionType[_0x159017(0x1c4)]}]},{'id':_0x159017(0x1db),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x19f)),'type':AIQuickActionType[_0x159017(0x1c3)],'icon':_0x193cc2},{'id':_0x159017(0x1a4),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x22b)),'type':AIQuickActionType[_0x159017(0x1c3)],'icon':_0x177426},{'id':_0x159017(0x22e),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1e0)),'type':AIQuickActionType[_0x159017(0x1c3)],'icon':_0x2610b4},{'id':_0x159017(0x1e2),'label':_0x5a8b2b(_0x163ef8,_0x159017(0x214)),'icon':_0x22693d,'actions':[{'id':_0x159017(0x1c9),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1e3)),'type':AIQuickActionType[_0x159017(0x1c3)]},{'id':_0x159017(0x20c),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x220)),'type':AIQuickActionType[_0x159017(0x1c3)]}]},{'id':_0x159017(0x1bf),'label':_0x5a8b2b(_0x163ef8,_0x159017(0x19c)),'icon':_0x45cc1d,'actions':[{'id':_0x159017(0x1fe),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1d8)),'type':AIQuickActionType[_0x159017(0x1c3)]},{'id':_0x159017(0x19e),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x20a)),'type':AIQuickActionType[_0x159017(0x1c3)]},{'id':_0x159017(0x1aa),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x219)),'type':AIQuickActionType[_0x159017(0x1c3)]},{'id':_0x159017(0x201),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x21b)),'type':AIQuickActionType[_0x159017(0x1c3)]},{'id':_0x159017(0x1ba),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1d2)),'type':AIQuickActionType[_0x159017(0x1c3)]}]},{'id':_0x159017(0x199),'label':_0x5a8b2b(_0x163ef8,_0x159017(0x227)),'icon':_0x25dd68,'actions':[{'id':_0x159017(0x1be),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1c1)),'type':AIQuickActionType[_0x159017(0x1c3)],'actionName':_0x159017(0x199),'args':{'language':_0x159017(0x1d0)}},{'id':_0x159017(0x1ce),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1c0)),'type':AIQuickActionType[_0x159017(0x1c3)],'actionName':_0x159017(0x199),'args':{'language':_0x159017(0x228)}},{'id':_0x159017(0x224),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x22f)),'type':AIQuickActionType[_0x159017(0x1c3)],'actionName':_0x159017(0x199),'args':{'language':_0x159017(0x1fa)}},{'id':_0x159017(0x20e),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x205)),'type':AIQuickActionType[_0x159017(0x1c3)],'actionName':_0x159017(0x199),'args':{'language':_0x159017(0x1d6)}},{'id':_0x159017(0x221),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x222)),'type':AIQuickActionType[_0x159017(0x1c3)],'actionName':_0x159017(0x199),'args':{'language':_0x159017(0x200)}},{'id':_0x159017(0x21c),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1f3)),'type':AIQuickActionType[_0x159017(0x1c3)],'actionName':_0x159017(0x199),'args':{'language':_0x159017(0x1e7)}},{'id':_0x159017(0x217),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1bb)),'type':AIQuickActionType[_0x159017(0x1c3)],'actionName':_0x159017(0x199),'args':{'language':_0x159017(0x1bd)}},{'id':_0x159017(0x21e),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x209)),'type':AIQuickActionType[_0x159017(0x1c3)],'actionName':_0x159017(0x199),'args':{'language':_0x159017(0x1ae)}},{'id':_0x159017(0x1b3),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x229)),'type':AIQuickActionType[_0x159017(0x1c3)],'actionName':_0x159017(0x199),'args':{'language':_0x159017(0x1b6)}},{'id':_0x159017(0x1a3),'displayedPrompt':_0x5a8b2b(_0x163ef8,_0x159017(0x1b9)),'type':AIQuickActionType[_0x159017(0x1c3)],'actionName':_0x159017(0x199),'args':{'language':_0x159017(0x1a8)}}]},{'id':_0x159017(0x1fd),'label':_0x5a8b2b(_0x163ef8,_0x159017(0x208)),'icon':_0x41845f,'actions':[]}];return _0x647fa5;}(_0x1b05d7);}async[_0x2752b9(0x1c8)](){const _0x3c4b7d=_0x2752b9,_0x2e9cdd=AIQuickActionsUI[_0x3c4b7d(0x1f9)](this[_0x3c4b7d(0x225)][_0x3c4b7d(0x236)]),_0x5e015b=this[_0x3c4b7d(0x225)][_0x3c4b7d(0x1ca)][_0x3c4b7d(0x1de)](_0x3c4b7d(0x1f8))||[];let _0x938d1e=[];try{_0x938d1e=await new _0x298ca6({'connector':this[_0x3c4b7d(0x225)][_0x3c4b7d(0x1e4)][_0x3c4b7d(0x1de)](_0x3c4b7d(0x1cd)),'availableModels':this[_0x3c4b7d(0x225)][_0x3c4b7d(0x1ca)][_0x3c4b7d(0x1de)](_0x3c4b7d(0x1d9))})[_0x3c4b7d(0x1a7)]();}catch(_0x3b294b){const _0x546891=new _0x2bb04d(_0x3c4b7d(0x21a),this,{'error':_0x3b294b});_0x309e48(_0x546891[_0x3c4b7d(0x1a5)]);}finally{const _0x3afeeb=_0x5e015b[_0x3c4b7d(0x1ac)](_0x3fc779=>({..._0x3fc779,'icon':void 0x0}));_0x2e9cdd[_0x3c4b7d(0x1e9)](_0x20dc0d=>_0x3c4b7d(0x1fd)===_0x20dc0d['id'])[_0x3c4b7d(0x1e5)][_0x3c4b7d(0x1ea)](..._0x3afeeb),_0x2e9cdd[_0x3c4b7d(0x1cb)](_0x23226a=>{const _0xd9182d=_0x3c4b7d;if(_0xd9182d(0x1e5)in _0x23226a)_0x23226a[_0xd9182d(0x1e5)][_0xd9182d(0x1cb)](_0x34c1ac=>{const _0x5639d0=_0xd9182d;if(_0x34c1ac[_0x5639d0(0x215)]=!!_0x938d1e[_0x5639d0(0x1e9)](_0xb72ea=>_0xb72ea['id']===_0x34c1ac[_0x5639d0(0x1dd)])||void 0x0===_0x34c1ac[_0x5639d0(0x1dd)],!_0x34c1ac[_0x5639d0(0x215)]){const _0x3b1734=new _0x2bb04d(_0x5639d0(0x21f),this,{'actionId':_0x34c1ac['id'],'modelId':_0x34c1ac[_0x5639d0(0x1dd)]});_0x309e48(_0x3b1734[_0x5639d0(0x1a5)]);}});else{if(_0x23226a[_0xd9182d(0x215)]=!!_0x938d1e[_0xd9182d(0x1e9)](_0x221162=>_0x221162['id']===_0x23226a[_0xd9182d(0x1dd)])||void 0x0===_0x23226a[_0xd9182d(0x1dd)],!_0x23226a[_0xd9182d(0x215)]){const _0x438da6=new _0x2bb04d(_0xd9182d(0x21f),this,{'actionId':_0x23226a['id'],'modelId':_0x23226a[_0xd9182d(0x1dd)]});_0x309e48(_0x438da6[_0xd9182d(0x1a5)]);}}});}return _0x2e9cdd;}[_0x2752b9(0x232)](){const _0x50e050=_0x2752b9,_0x4aa09f=new _0xf0bf15(this[_0x50e050(0x225)][_0x50e050(0x236)]);_0x4aa09f[_0x50e050(0x212)](),this[_0x50e050(0x223)](_0x4aa09f),this[_0x50e050(0x238)](),this[_0x50e050(0x1f5)](_0x4aa09f);}[_0x2752b9(0x223)](_0x584c39){const _0x372d98=_0x2752b9,_0x4f6bf9=this[_0x372d98(0x225)][_0x372d98(0x1ca)][_0x372d98(0x1de)](_0x372d98(0x1fb))??!0x0;this[_0x372d98(0x225)]['ui'][_0x372d98(0x1f2)][_0x372d98(0x19a)](_0x372d98(0x234),_0x5c2f1d({'editor':this[_0x372d98(0x225)],'content':this[_0x372d98(0x20f)],'buttonDefinition':{'icon':_0x5e907f,'label':_0x5a8b2b(this[_0x372d98(0x225)][_0x372d98(0x236)],_0x372d98(0x1b5))},'bodyCollection':_0x584c39,'hasSearch':_0x4f6bf9}));}[_0x2752b9(0x1ed)](_0x208c7e){const _0x3102bc=_0x2752b9;this[_0x3102bc(0x20f)]=_0x208c7e[_0x3102bc(0x1ac)](_0x24deda=>{const _0x4df753=_0x3102bc;if(_0x4df753(0x1e5)in _0x24deda){const _0x29ccb8=_0x24deda;return{..._0x29ccb8,'actions':_0x29ccb8[_0x4df753(0x1e5)][_0x4df753(0x1ac)](_0x5d18d6=>{const {actions:_0x126d12,..._0x1b43b3}=_0x29ccb8;return{..._0x5d18d6,'parent':_0x1b43b3};})[_0x4df753(0x1fc)](_0x23b150=>this[_0x4df753(0x237)](_0x23b150))};}return _0x24deda;})[_0x3102bc(0x1fc)](_0x1f0bc4=>_0x3102bc(0x1e5)in _0x1f0bc4?_0x1f0bc4[_0x3102bc(0x1e5)][_0x3102bc(0x1cc)]>0x0:this[_0x3102bc(0x237)](_0x1f0bc4));}[_0x2752b9(0x237)](_0x47cb2d){const _0x4eb4f9=_0x2752b9,_0x4156b5=this[_0x4eb4f9(0x225)][_0x4eb4f9(0x1ca)][_0x4eb4f9(0x1de)](_0x4eb4f9(0x20d))||[];return this[_0x4eb4f9(0x225)][_0x4eb4f9(0x1e4)][_0x4eb4f9(0x1d4)](AIQuickActionTypeToPluginName[_0x47cb2d[_0x4eb4f9(0x226)]])&&!_0x4156b5[_0x4eb4f9(0x206)](_0x47cb2d['id']);}[_0x2752b9(0x1f5)](_0x471280){const _0x4418f9=_0x2752b9;this[_0x4418f9(0x20f)][_0x4418f9(0x1cb)](_0x2ff925=>{const _0x4aa177=_0x4418f9;if(_0x4aa177(0x1e5)in _0x2ff925){const _0xd872da=_0x5c2f1d({'editor':this[_0x4aa177(0x225)],'content':_0x2ff925[_0x4aa177(0x1e5)],'buttonDefinition':_0x2ff925,'bodyCollection':_0x471280});this[_0x4aa177(0x225)]['ui'][_0x4aa177(0x1f2)][_0x4aa177(0x19a)](_0x2ff925['id'],_0xd872da),_0x2ff925[_0x4aa177(0x1e5)][_0x4aa177(0x1cb)](_0x32480d=>{const _0xed6531=_0x4aa177,_0x25c2ab=_0x49e81c({'editor':this[_0xed6531(0x225)],'action':_0x32480d});this[_0xed6531(0x225)]['ui'][_0xed6531(0x1f2)][_0xed6531(0x19a)](_0x32480d['id'],_0x25c2ab);});}else{const _0x1edcd1=_0x49e81c({'editor':this[_0x4aa177(0x225)],'action':_0x2ff925,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x4aa177(0x225)]['ui'][_0x4aa177(0x1f2)][_0x4aa177(0x19a)](_0x2ff925['id'],_0x1edcd1);}});}[_0x2752b9(0x238)](){const _0xb1bdb2=_0x2752b9;this[_0xb1bdb2(0x225)]['ui'][_0xb1bdb2(0x1f2)][_0xb1bdb2(0x19a)](_0xb1bdb2(0x1dc),_0x2a9632=>{const _0xda1979=_0xb1bdb2,_0x441b18=new _0x3f819c(_0x2a9632),_0x4723f7=_0x5a8b2b(_0x2a9632,_0xda1979(0x1b5));_0x441b18[_0xda1979(0x216)][_0xda1979(0x1a1)]({'label':_0x4723f7,'icon':_0x5e907f});const _0x1701b9=new _0x555077(_0x2a9632);_0x1701b9[_0xda1979(0x1a1)]({'ariaLabel':_0x4723f7,'role':_0xda1979(0x1b7)}),this[_0xda1979(0x20f)][_0xda1979(0x1cb)](_0xef126e=>{const _0x30b8ed=_0xda1979;if(_0x30b8ed(0x1e5)in _0xef126e){const _0x3712cb=_0xef126e,_0x24aea5=new _0x2d8ea(_0x2a9632,_0x441b18),_0x178a84=new _0x3f819c(_0x2a9632),_0x601ced=new _0x555077(_0x2a9632);_0x178a84[_0x30b8ed(0x216)][_0x30b8ed(0x1a1)]({'label':_0x3712cb[_0x30b8ed(0x202)],'icon':_0x3712cb[_0x30b8ed(0x1a0)]}),_0x3712cb[_0x30b8ed(0x1e5)][_0x30b8ed(0x1cb)](_0x3fc91a=>{const _0x222a02=_0x30b8ed,_0x58b416=new _0x2d8ea(_0x2a9632,_0x178a84),_0x2a46a3=new _0x3d5ec3(_0x2a9632);_0x2a46a3[_0x222a02(0x1a1)]({'label':_0x3fc91a[_0x222a02(0x1e6)],'icon':_0x3fc91a[_0x222a02(0x1a0)],'role':_0x222a02(0x230),'isEnabled':_0x3fc91a[_0x222a02(0x215)]}),_0x2a46a3['on'](_0x222a02(0x210),()=>{const _0x5c4226=_0x222a02;this[_0x5c4226(0x1cf)](_0x3fc91a);}),_0x2a46a3[_0x222a02(0x1d7)](_0x222a02(0x210))['to'](_0x178a84),_0x58b416[_0x222a02(0x1a6)][_0x222a02(0x19a)](_0x2a46a3),_0x601ced[_0x222a02(0x1b8)][_0x222a02(0x19a)](_0x58b416);}),_0x178a84[_0x30b8ed(0x1ef)][_0x30b8ed(0x1a6)][_0x30b8ed(0x19a)](_0x601ced),_0x24aea5[_0x30b8ed(0x1a6)][_0x30b8ed(0x19a)](_0x178a84),_0x1701b9[_0x30b8ed(0x1b8)][_0x30b8ed(0x19a)](_0x24aea5);}else{const _0x28bc91=_0xef126e,_0x3e3a67=new _0x2d8ea(_0x2a9632,_0x441b18),_0x3c526c=new _0x3d5ec3(_0x2a9632);_0x3c526c[_0x30b8ed(0x1a1)]({'label':_0x28bc91[_0x30b8ed(0x1e6)],'icon':_0x28bc91[_0x30b8ed(0x1a0)],'role':_0x30b8ed(0x230),'isEnabled':_0x28bc91[_0x30b8ed(0x215)]}),_0x3c526c['on'](_0x30b8ed(0x210),()=>{const _0x5daf3a=_0x30b8ed;this[_0x5daf3a(0x1cf)](_0x28bc91);}),_0x3c526c[_0x30b8ed(0x1d7)](_0x30b8ed(0x210))['to'](_0x441b18),_0x3e3a67[_0x30b8ed(0x1a6)][_0x30b8ed(0x19a)](_0x3c526c),_0x1701b9[_0x30b8ed(0x1b8)][_0x30b8ed(0x19a)](_0x3e3a67);}});const _0x33be47=Object[_0xda1979(0x1b4)](AIQuickActionTypeToPluginName)[_0xda1979(0x204)](_0x3fc0b2=>this[_0xda1979(0x225)][_0xda1979(0x1e4)][_0xda1979(0x1d4)](_0x3fc0b2));return _0x441b18[_0xda1979(0x1a1)]({'isEnabled':_0x33be47}),_0x441b18[_0xda1979(0x1ef)][_0xda1979(0x1a6)][_0xda1979(0x19a)](_0x1701b9),_0x441b18;});}[_0x2752b9(0x1cf)](_0x34b114){const _0x1d00e2=_0x2752b9,_0x150e71=this[_0x1d00e2(0x225)];_0x150e71[_0x1d00e2(0x213)][_0x1d00e2(0x1d5)][_0x1d00e2(0x1e1)](),_0x150e71[_0x1d00e2(0x1f7)][_0x1d00e2(0x210)](_0x1d00e2(0x1c5),_0x34b114);const _0x54b868=_0x150e71['ui'][_0x1d00e2(0x1d5)][_0x1d00e2(0x1f0)];_0x54b868&&_0x54b868[_0x1d00e2(0x207)]&&_0x54b868[_0x1d00e2(0x207)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x39ec(_0x120c7d,_0x36a0c4){const _0x68be18=_0x68be();return _0x39ec=function(_0x39ecd2,_0x1aa8bc){_0x39ecd2=_0x39ecd2-0x1e4;let _0x2214c4=_0x68be18[_0x39ecd2];return _0x2214c4;},_0x39ec(_0x120c7d,_0x36a0c4);}(function(_0x13adc9,_0x4c1bce){const _0x25a8fc=_0x39ec,_0x5549e4=_0x13adc9();while(!![]){try{const _0x44f5cb=-parseInt(_0x25a8fc(0x1f5))/0x1*(parseInt(_0x25a8fc(0x1ee))/0x2)+parseInt(_0x25a8fc(0x1fc))/0x3*(-parseInt(_0x25a8fc(0x1fb))/0x4)+-parseInt(_0x25a8fc(0x1e5))/0x5*(parseInt(_0x25a8fc(0x1fa))/0x6)+parseInt(_0x25a8fc(0x1f8))/0x7+parseInt(_0x25a8fc(0x1f4))/0x8*(-parseInt(_0x25a8fc(0x1ec))/0x9)+-parseInt(_0x25a8fc(0x200))/0xa*(parseInt(_0x25a8fc(0x1f9))/0xb)+-parseInt(_0x25a8fc(0x1f3))/0xc*(-parseInt(_0x25a8fc(0x1e4))/0xd);if(_0x44f5cb===_0x4c1bce)break;else _0x5549e4['push'](_0x5549e4['shift']());}catch(_0x43c9a3){_0x5549e4['push'](_0x5549e4['shift']());}}}(_0x68be,0x6d839));import{ButtonView as _0x2ad095}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4b7c5d}from'@ckeditor/ckeditor5-icons';function _0x68be(){const _0x242002=['24tjeWMr','889079nlBZtv','icon','commands','290836jtwwSW','572FhljYs','3937842MrbJIq','546584blSNwI','3ygnxsI','extendTemplate','aiQuickAction','view','35040rooeCb','78nrXeNW','5mhEeIy','focus','displayedPrompt','bindTemplate','isEnabled','set','parent','2439783oayzyj','locale','2XEOHSr','editing','ck-ai-quick-actions-button','execute','menuitem','6169044JUDzvu'];_0x68be=function(){return _0x242002;};return _0x68be();}export function aiQuickActionsButtonCreator(_0x207f5b){const {editor:_0x2742d2,action:_0x48e8ad,withText:_0x1abe23=!0x1,withIcon:_0x176d01=!0x0,isInDropdown:_0x106c3e=!0x0,shouldPreventFocus:_0x3b7d16=!0x1}=_0x207f5b;return()=>{const _0x236114=_0x39ec,_0x46f39f=_0x2742d2[_0x236114(0x1ed)],_0x36d789=new _0x2ad095(_0x46f39f),_0x4bb5da=_0x36d789[_0x236114(0x1e8)];_0x106c3e&&_0x36d789[_0x236114(0x1fd)]({'on':{'mouseenter':_0x4bb5da['to'](()=>{const _0x22d2af=_0x236114;_0x3b7d16&&_0x3b7d16()||_0x36d789[_0x22d2af(0x1e6)]();})}});const _0x1be313=_0x48e8ad[_0x236114(0x1f6)]??_0x48e8ad[_0x236114(0x1eb)]?.[_0x236114(0x1f6)];return _0x36d789[_0x236114(0x1ea)]({'label':_0x48e8ad[_0x236114(0x1e7)],'withText':_0x1abe23,'role':_0x236114(0x1f2),'icon':_0x176d01?_0x1be313??_0x4b7c5d:void 0x0,'tooltip':!_0x1abe23,'class':_0x236114(0x1f0),'isEnabled':_0x48e8ad[_0x236114(0x1e9)]}),_0x36d789['on'](_0x236114(0x1f1),()=>{const _0x32132a=_0x236114;_0x2742d2[_0x32132a(0x1ef)][_0x32132a(0x1ff)][_0x32132a(0x1e6)](),_0x2742d2[_0x32132a(0x1f7)][_0x32132a(0x1f1)](_0x32132a(0x1fe),_0x48e8ad);}),_0x36d789;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5c08(){const _0x25cc53=['AI_QUICK_ACTIONS_SEARCH','reset','render','parent','text','element','destroy','_createSearchResultActionButton','ck-ai-quick-actions-group-list','ck-dropdown-menu__nested-menu__panel','set','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','ck-ai-quick-actions-button_with-group__close-paren','closest','focus','ck-ai-quick-actions-button__group-icon','ck-dropdown-menu-list','some','relatedTarget','ck-ai-quick-actions-search-result-button_with-group','_hideAllNestedPanels','.ck-ai-quick-actions-group-button','div','ck-ai-quick-actions-search-result__group-row','fire','_hideNestedPanel','children','279579IrbPsf','ck-reset_all','_createListItems','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','pin','_createGroupActionsList','_getPanelKeystroke','ck-rounded-corners','_focusables','clear','optionsListView','_createSearchResultGroupRow','add','5627709ZTLIDD','_hasSearch','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_setupActionButtonExecution','ck-button','addEventListener','actions','label','key','346DumRQg','contains','ck-ai-quick-actions-button_with-group__open-paren','_searchTextView','content','ck-ai-quick-actions-search-result__content','displayedPrompt','ck-ai-quick-actions-search-result-button','keystrokes','hide','first','_openNestedPanels','ck-ai-quick-actions-button_with-group','195LYivKB','_getButtonKeystroke','_createSearchResultIndividualActionButton','ck-ai-quick-actions-search','_createSearchTextView','queryView','resetSearch','show','activeElement','forEach','.ck-ai-quick-actions-group-panel','commands','chain','extendTemplate','fieldView','_isMovingToNestedMenu','ck-ai-quick-actions-group-button','_isSearchFocused','icon','addMany','span','eastSouth','get','_allSearchableItems','2676wroafe','ck-ai-quick-actions-search-result__action-row','233646WQMkXK','_showNestedPanel','972377bCxzmy','.ck-ai-quick-actions-group-list','_createSearchResultContentView','setTemplate','ck-ai-quick-actions-group-panel','push','detachFromDom','bindTemplate','_createActionButton','ck-button_with-text','items','isEnabled','_setupGroupMenuBehavior','menu','isOn','role','ck-ai-quick-actions','_handlePanelKeydown','uiLanguageDirection','menuitem','_createActionGroupButton','ck-ai-quick-actions-button','ArrowLeft','7800gjwVQU','rtl','editing','_handleSearchResultButtonClick','_createSearchResultActionRow','ArrowRight','view','focusTracker','execute','aiQuickAction','bind','delete','_createSearchResultGroupedActionButton','button','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','mouseleave','ownerDocument','isVisible','_bodyCollection','2797560Avdlmu','focusCycler','locale'];_0x5c08=function(){return _0x25cc53;};return _0x5c08();}const _0x308f34=_0x14e7;(function(_0x58a33c,_0x231a9e){const _0x37069b=_0x14e7,_0x55f467=_0x58a33c();while(!![]){try{const _0x484901=parseInt(_0x37069b(0x11b))/0x1+-parseInt(_0x37069b(0x131))/0x2+-parseInt(_0x37069b(0x171))/0x3*(parseInt(_0x37069b(0x156))/0x4)+parseInt(_0x37069b(0x13e))/0x5*(parseInt(_0x37069b(0x158))/0x6)+-parseInt(_0x37069b(0x15a))/0x7+parseInt(_0x37069b(0xfd))/0x8+parseInt(_0x37069b(0x128))/0x9;if(_0x484901===_0x231a9e)break;else _0x55f467['push'](_0x55f467['shift']());}catch(_0x5d1b2d){_0x55f467['push'](_0x55f467['shift']());}}}(_0x5c08,0xda746));import{View as _0x5c0cae,ListItemView as _0x30f8ea,ListView as _0x3a042c,BalloonPanelView as _0x19b586,DropdownMenuPanelPositioningFunctions as _0x2172c6,ViewCollection as _0x542a1d,FocusCycler as _0x41bc2f,ButtonView as _0x22e564,IconView as _0x38ae29,HighlightedTextView as _0x55a949,ButtonLabelWithHighlightView as _0x14b754,SearchTextView as _0x224b77}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x27517f}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x1108e4,KeystrokeHandler as _0x442154}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x152ba8}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x2b2a62}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x46138f}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x3f4ef1}from'./aiquickactionsfilteredlistview.js';const Ts=_0x308f34(0x167),Rs=_0x308f34(0x16d);function _0x14e7(_0xcc94b2,_0x5993c1){const _0x5c08ac=_0x5c08();return _0x14e7=function(_0x14e706,_0x42fdba){_0x14e706=_0x14e706-0xf4;let _0x3dca74=_0x5c08ac[_0x14e706];return _0x3dca74;},_0x14e7(_0xcc94b2,_0x5993c1);}export class AIQuickActionsDropdownContentView extends _0x5c0cae{[_0x308f34(0xfc)];[_0x308f34(0x125)];[_0x308f34(0x134)]=null;[_0x308f34(0x155)]=[];[_0x308f34(0x11a)];[_0x308f34(0x178)];[_0x308f34(0x139)];[_0x308f34(0x123)];[_0x308f34(0xfe)];[_0x308f34(0x13c)]=new Set();[_0x308f34(0x129)];constructor(_0x197e5d,_0x36c127,_0x13d0c2,_0x58c7b5,_0x49c02a=!0x1){const _0x54689f=_0x308f34,_0x1d88d9=_0x197e5d[_0x54689f(0xff)];super(_0x1d88d9),this[_0x54689f(0xfc)]=_0x58c7b5,this[_0x54689f(0x129)]=_0x49c02a;const _0x8234e3=this[_0x54689f(0x11d)](_0x197e5d,_0x36c127,_0x13d0c2);this[_0x54689f(0x125)]=new _0x3f4ef1(_0x1d88d9,_0x8234e3,this[_0x54689f(0x155)]),this[_0x54689f(0x125)][_0x54689f(0x169)]=Ts,this[_0x54689f(0x125)][_0x54689f(0x164)][_0x54689f(0x151)](_0x8234e3),this[_0x54689f(0x178)]=new _0x1108e4(),this[_0x54689f(0x139)]=new _0x442154(),_0x49c02a&&(this[_0x54689f(0x134)]=this[_0x54689f(0x142)]()),this[_0x54689f(0x123)]=_0x8234e3,this[_0x54689f(0xfe)]=new _0x41bc2f({'focusables':this[_0x54689f(0x123)],'focusTracker':this[_0x54689f(0x178)],'keystrokeHandler':this[_0x54689f(0x139)]}),_0x49c02a&&this[_0x54689f(0x134)]&&this[_0x54689f(0xfe)][_0x54689f(0x14a)](this[_0x54689f(0x134)][_0x54689f(0xfe)]);const _0x47c772=_0x49c02a&&this[_0x54689f(0x134)]?[this[_0x54689f(0x134)]]:[this[_0x54689f(0x125)]];this[_0x54689f(0x11a)]=new _0x542a1d(_0x47c772),this[_0x54689f(0x15d)]({'tag':_0x54689f(0x116),'attributes':{'class':['ck',_0x54689f(0x11c),_0x54689f(0x16a),_0x54689f(0x122)],'dir':_0x1d88d9[_0x54689f(0x16c)]},'children':this[_0x54689f(0x11a)]});}[_0x308f34(0x142)](){const _0x362b81=_0x308f34;return new _0x224b77(this[_0x362b81(0xff)],{'filteredView':this[_0x362b81(0x125)],'queryView':{'label':_0x46138f(this[_0x362b81(0xff)],_0x362b81(0x100))},'class':_0x362b81(0x141),'infoView':{'text':{'notFound':{'primary':_0x46138f(this[_0x362b81(0xff)],_0x362b81(0x12a))}}}});}[_0x308f34(0x14f)](){const _0x51768d=_0x308f34;if(!this[_0x51768d(0x129)]||!this[_0x51768d(0x134)]||!this[_0x51768d(0x134)][_0x51768d(0x143)][_0x51768d(0x14c)][_0x51768d(0x105)])return!0x1;const _0x2dcbef=this[_0x51768d(0x134)][_0x51768d(0x143)][_0x51768d(0x14c)][_0x51768d(0x105)][_0x51768d(0xfa)]?.[_0x51768d(0x146)];return this[_0x51768d(0x134)][_0x51768d(0x143)][_0x51768d(0x14c)][_0x51768d(0x105)][_0x51768d(0x132)](_0x2dcbef);}[_0x308f34(0x11d)](_0x1fd172,_0x439bb8,_0x4ce728){const _0x405f29=_0x308f34,_0x37363c=new _0x542a1d();return _0x439bb8[_0x405f29(0x147)](_0x3c3e27=>{const _0xad84d0=_0x405f29;if(_0xad84d0(0x12e)in _0x3c3e27){const {listItem:_0x3268ce}=this[_0xad84d0(0x16e)](_0x1fd172,_0x3c3e27,_0x4ce728);_0x37363c[_0xad84d0(0x127)](_0x3268ce),_0x3c3e27[_0xad84d0(0x12e)][_0xad84d0(0x147)](_0x4c31d6=>{const _0x13a31f=_0xad84d0;this[_0x13a31f(0x162)](_0x1fd172,_0x4c31d6,_0x3c3e27[_0x13a31f(0x12f)],_0x3c3e27[_0x13a31f(0x150)]);const {listItem:_0x38a474,highlightViews:_0x38c9c2}=this[_0x13a31f(0x107)](_0x1fd172,_0x4c31d6,_0x3c3e27[_0x13a31f(0x12f)],_0x3c3e27[_0x13a31f(0x150)]);this[_0x13a31f(0x155)][_0x13a31f(0x15f)]({'item':_0x38a474,'label':_0x4c31d6[_0x13a31f(0x137)],'groupLabel':_0x3c3e27[_0x13a31f(0x12f)],'highlightViews':_0x38c9c2});});}else{const {listItem:_0x3264d4}=this[_0xad84d0(0x162)](_0x1fd172,_0x3c3e27);_0x37363c[_0xad84d0(0x127)](_0x3264d4);const _0x59c86f=_0x3264d4[_0xad84d0(0x11a)][_0xad84d0(0x13b)];if(_0x59c86f){const {listItem:_0x898cda,highlightViews:_0x1888fe}=this[_0xad84d0(0x107)](_0x1fd172,_0x3c3e27);this[_0xad84d0(0x155)][_0xad84d0(0x15f)]({'item':_0x898cda,'label':_0x59c86f[_0xad84d0(0x12f)]||'','highlightViews':_0x1888fe});}}}),_0x37363c;}[_0x308f34(0x162)](_0x56e8c8,_0x4de3b0,_0x3bc00c,_0x5c89ce){const _0x311990=_0x308f34,_0x2e1c55=new _0x30f8ea(this[_0x311990(0xff)]);if(_0x3bc00c&&_0x5c89ce){const _0x335c62=new _0x22e564(this[_0x311990(0xff)]),_0x484423=_0x335c62[_0x311990(0x161)],_0x185832=new _0x55a949();_0x185832[_0x311990(0x104)]=_0x4de3b0[_0x311990(0x137)];const _0x2afd4d=new _0x55a949();_0x2afd4d[_0x311990(0x104)]=_0x3bc00c;const _0x3bc492=new _0x38ae29();_0x3bc492[_0x311990(0x135)]=_0x5c89ce,_0x3bc492[_0x311990(0x14b)]({'attributes':{'class':_0x311990(0x10f)}});const _0x2eb059=new _0x5c0cae(this[_0x311990(0xff)]);_0x2eb059[_0x311990(0x15d)]({'tag':_0x311990(0x152),'attributes':{'class':_0x311990(0x133)},'children':[{'text':'\x20('}]});const _0x71d17=new _0x5c0cae(this[_0x311990(0xff)]);return _0x71d17[_0x311990(0x15d)]({'tag':_0x311990(0x152),'attributes':{'class':_0x311990(0x10c)},'children':[{'text':')'}]}),_0x335c62[_0x311990(0x10a)]({'label':_0x4de3b0[_0x311990(0x137)]+'\x20('+_0x3bc00c+')','withText':!0x0,'role':_0x311990(0x16d),'class':_0x311990(0xf8),'tooltip':!0x1}),_0x335c62[_0x311990(0x15d)]({'tag':_0x311990(0xf7),'attributes':{'class':['ck',_0x311990(0x12c),_0x311990(0x163),_0x311990(0x16f),_0x311990(0x13d)],'type':_0x311990(0xf7),'role':_0x311990(0x16d),'tabindex':'-1'},'children':[_0x185832,_0x2eb059,_0x3bc492,_0x2afd4d,_0x71d17],'on':{'mouseenter':_0x484423['to'](()=>{const _0x1fd4ba=_0x311990;this[_0x1fd4ba(0x14f)]()||_0x335c62[_0x1fd4ba(0x10e)]();}),'click':_0x484423['to'](()=>{const _0x4651c9=_0x311990;_0x335c62[_0x4651c9(0x118)](_0x4651c9(0x179));})}}),_0x335c62['on'](_0x311990(0x179),()=>{const _0x15e4a0=_0x311990;_0x56e8c8[_0x15e4a0(0x173)][_0x15e4a0(0x177)][_0x15e4a0(0x10e)](),_0x56e8c8[_0x15e4a0(0x149)][_0x15e4a0(0x179)](_0x15e4a0(0x17a),_0x4de3b0);}),_0x2e1c55[_0x311990(0x11a)][_0x311990(0x127)](_0x335c62),{'listItem':_0x2e1c55,'highlightViews':[_0x185832,_0x2afd4d]};}{const _0x38528e=new _0x14b754(),_0x109df2=new _0x22e564(this[_0x311990(0xff)],_0x38528e),_0x31c852=_0x109df2[_0x311990(0x161)],_0x1cc768=_0x4de3b0[_0x311990(0x150)]??_0x4de3b0[_0x311990(0x103)]?.[_0x311990(0x150)],_0x871963=void 0x0!==_0x4de3b0[_0x311990(0x150)];return _0x109df2[_0x311990(0x10a)]({'label':_0x4de3b0[_0x311990(0x137)],'withText':!0x0,'role':_0x311990(0x16d),'icon':_0x871963?_0x1cc768??_0x27517f:void 0x0,'tooltip':!0x1,'class':_0x311990(0x16f)}),_0x109df2[_0x311990(0x14b)]({'on':{'mouseenter':_0x31c852['to'](()=>{const _0x40fee1=_0x311990;this[_0x40fee1(0x14f)]()||_0x109df2[_0x40fee1(0x10e)]();})}}),_0x109df2['on'](_0x311990(0x179),()=>{const _0x222525=_0x311990;_0x56e8c8[_0x222525(0x173)][_0x222525(0x177)][_0x222525(0x10e)](),_0x56e8c8[_0x222525(0x149)][_0x222525(0x179)](_0x222525(0x17a),_0x4de3b0);}),_0x2e1c55[_0x311990(0x11a)][_0x311990(0x127)](_0x109df2),{'listItem':_0x2e1c55,'highlightViews':[_0x38528e]};}}[_0x308f34(0x107)](_0x3b2227,_0x12dfa6,_0x3a7327,_0x596b42){const _0x116aad=_0x308f34;return _0x3a7327&&_0x596b42?this[_0x116aad(0xf6)](_0x3b2227,_0x12dfa6,_0x3a7327,_0x596b42):this[_0x116aad(0x140)](_0x3b2227,_0x12dfa6);}[_0x308f34(0xf6)](_0x3964a9,_0x3580a8,_0x29222e,_0x5e53d4){const _0x496740=_0x308f34,_0x1b00ed=new _0x30f8ea(this[_0x496740(0xff)]),_0x5a91c7=new _0x22e564(this[_0x496740(0xff)]),_0x3fc66a=_0x5a91c7[_0x496740(0x161)],{view:_0x41e3be,highlightView:_0x4d78d1}=this[_0x496740(0x126)](_0x29222e,_0x5e53d4),{view:_0x15fddc,highlightView:_0x2a2ddf}=this[_0x496740(0x175)](_0x3580a8[_0x496740(0x137)]),_0x54c5cc=this[_0x496740(0x15c)](_0x41e3be,_0x15fddc);return _0x5a91c7[_0x496740(0x10a)]({'label':_0x3580a8[_0x496740(0x137)],'withText':!0x0,'role':_0x496740(0x16d),'class':_0x496740(0x11e),'tooltip':!0x1}),_0x5a91c7[_0x496740(0x15d)]({'tag':_0x496740(0xf7),'attributes':{'class':['ck',_0x496740(0x12c),_0x496740(0x163),_0x496740(0x16f),_0x496740(0x138),_0x496740(0x113)],'type':_0x496740(0xf7),'role':_0x496740(0x16d),'tabindex':'-1'},'children':[_0x54c5cc],'on':{'mouseenter':_0x3fc66a['to'](()=>{const _0x15f6e1=_0x496740;this[_0x15f6e1(0x14f)]()||_0x5a91c7[_0x15f6e1(0x10e)]();}),'click':_0x3fc66a['to'](()=>{const _0x17224c=_0x496740;this[_0x17224c(0x174)](_0x5a91c7);})}}),this[_0x496740(0x12b)](_0x5a91c7,_0x3964a9,_0x3580a8),_0x1b00ed[_0x496740(0x11a)][_0x496740(0x127)](_0x5a91c7),{'listItem':_0x1b00ed,'highlightViews':[_0x4d78d1,_0x2a2ddf]};}[_0x308f34(0x140)](_0x57b070,_0x584547){const _0xa7e9f4=_0x308f34,_0x7c62e=new _0x30f8ea(this[_0xa7e9f4(0xff)]),_0x555d2f=new _0x14b754(),_0x4fedc2=new _0x22e564(this[_0xa7e9f4(0xff)],_0x555d2f),_0x29cf8b=_0x4fedc2[_0xa7e9f4(0x161)];return _0x4fedc2[_0xa7e9f4(0x10a)]({'label':_0x584547[_0xa7e9f4(0x137)],'withText':!0x0,'role':_0xa7e9f4(0x16d),'icon':void 0x0,'tooltip':!0x1,'class':_0xa7e9f4(0x10b)}),_0x4fedc2[_0xa7e9f4(0x14b)]({'on':{'mouseenter':_0x29cf8b['to'](()=>{const _0x2cdf5e=_0xa7e9f4;this[_0x2cdf5e(0x14f)]()||_0x4fedc2[_0x2cdf5e(0x10e)]();})}}),this[_0xa7e9f4(0x12b)](_0x4fedc2,_0x57b070,_0x584547),_0x7c62e[_0xa7e9f4(0x11a)][_0xa7e9f4(0x127)](_0x4fedc2),{'listItem':_0x7c62e,'highlightViews':[_0x555d2f]};}[_0x308f34(0x126)](_0x55f913,_0x4e3ebb){const _0x2ade1d=_0x308f34,_0x5de549=new _0x5c0cae(this[_0x2ade1d(0xff)]),_0x4c226a=new _0x38ae29();_0x4c226a[_0x2ade1d(0x135)]=_0x4e3ebb,_0x4c226a[_0x2ade1d(0x14b)]({'attributes':{'class':_0x2ade1d(0x10f)}});const _0xf945ca=new _0x55a949();return _0xf945ca[_0x2ade1d(0x104)]=_0x55f913,_0x5de549[_0x2ade1d(0x15d)]({'tag':_0x2ade1d(0x116),'attributes':{'class':_0x2ade1d(0x117)},'children':[_0x4c226a,_0xf945ca]}),{'view':_0x5de549,'highlightView':_0xf945ca};}[_0x308f34(0x175)](_0x4d7414){const _0x166594=_0x308f34,_0x28ac6b=new _0x5c0cae(this[_0x166594(0xff)]),_0xc711c6=new _0x55a949();return _0xc711c6[_0x166594(0x104)]=_0x4d7414,_0x28ac6b[_0x166594(0x15d)]({'tag':_0x166594(0x116),'attributes':{'class':_0x166594(0x157)},'children':[_0xc711c6]}),{'view':_0x28ac6b,'highlightView':_0xc711c6};}[_0x308f34(0x15c)](_0x91a4da,_0x3b1755){const _0x43bc60=_0x308f34,_0x304df6=new _0x5c0cae(this[_0x43bc60(0xff)]);return _0x304df6[_0x43bc60(0x15d)]({'tag':_0x43bc60(0x116),'attributes':{'class':_0x43bc60(0x136)},'children':[_0x91a4da,_0x3b1755]}),_0x304df6;}[_0x308f34(0x12b)](_0x13a1a0,_0x8f11c9,_0x41d531){const _0x2b42a0=_0x308f34;_0x13a1a0['on'](_0x2b42a0(0x179),()=>{const _0xac5fa0=_0x2b42a0;_0x8f11c9[_0xac5fa0(0x173)][_0xac5fa0(0x177)][_0xac5fa0(0x10e)](),_0x8f11c9[_0xac5fa0(0x149)][_0xac5fa0(0x179)](_0xac5fa0(0x17a),_0x41d531);});}[_0x308f34(0x16e)](_0x2198bd,_0x5453ee,_0x17260b){const _0x45159d=_0x308f34,_0x3bcc34=new _0x30f8ea(this[_0x45159d(0xff)]),_0x54b6cc=new _0x14b754(),_0x394921=new _0x2b2a62(this[_0x45159d(0xff)],_0x54b6cc),_0x3f62a0=_0x394921[_0x45159d(0x161)],_0x1f285a=this[_0x45159d(0x121)](_0x17260b),_0x26a153=this[_0x45159d(0x120)](_0x2198bd,_0x5453ee[_0x45159d(0x12e)],_0x17260b);_0x394921[_0x45159d(0x10a)]({'label':_0x5453ee[_0x45159d(0x12f)],'withText':!0x0,'role':Rs,'icon':_0x5453ee[_0x45159d(0x150)]??_0x27517f,'isEnabled':_0x5453ee[_0x45159d(0x12e)][_0x45159d(0x111)](_0x461481=>_0x461481[_0x45159d(0x165)])}),_0x394921[_0x45159d(0x14b)]({'on':{'mouseenter':_0x3f62a0['to'](()=>{const _0x3e125d=_0x45159d;this[_0x3e125d(0x14f)]()||_0x394921[_0x3e125d(0x10e)]();})}});const _0x4b4ed2=new _0x19b586(this[_0x45159d(0xff)]);return _0x4b4ed2[_0x45159d(0x14b)]({'attributes':{'class':['ck',_0x45159d(0x11c),_0x45159d(0x15e),_0x45159d(0x109)]},'on':{'keydown':_0x3f62a0['to'](_0x5d0346=>{const _0x48dc64=_0x45159d;this[_0x48dc64(0x16b)](_0x5d0346,_0x1f285a,_0x394921,_0x4b4ed2);})}}),_0x394921[_0x45159d(0xf4)](_0x45159d(0x168))['to'](_0x4b4ed2,_0x45159d(0xfb)),this[_0x45159d(0xfc)][_0x45159d(0x127)](_0x4b4ed2),_0x4b4ed2[_0x45159d(0x135)][_0x45159d(0x127)](_0x26a153),this[_0x45159d(0x166)](_0x394921,_0x4b4ed2),_0x3bcc34[_0x45159d(0x11a)][_0x45159d(0x127)](_0x394921),{'listItem':_0x3bcc34,'highlightView':_0x54b6cc};}[_0x308f34(0x120)](_0x516c7d,_0x41c808,_0x38a370){const _0x4a56a9=_0x308f34,_0x42af0a=new _0x3a042c(this[_0x4a56a9(0xff)]);return _0x42af0a[_0x4a56a9(0x14b)]({'attributes':{'class':['ck',_0x4a56a9(0x11c),_0x4a56a9(0x108),_0x4a56a9(0x110)]}}),_0x41c808[_0x4a56a9(0x147)](_0x545251=>{const _0x589a1e=_0x4a56a9,_0x552996=new _0x30f8ea(this[_0x589a1e(0xff)]),_0x2ba27b=_0x152ba8({'editor':_0x516c7d,'action':_0x545251,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x589a1e(0x14f)]()})();_0x552996[_0x589a1e(0x11a)][_0x589a1e(0x127)](_0x2ba27b),_0x38a370[_0x589a1e(0x178)][_0x589a1e(0x127)](_0x2ba27b),_0x42af0a[_0x589a1e(0x164)][_0x589a1e(0x127)](_0x552996);}),_0x42af0a;}[_0x308f34(0x166)](_0x5ad71f,_0x43615b){const _0x31a8df=_0x308f34,_0x16c60f=_0x5ad71f[_0x31a8df(0x161)],_0x364ebc=this[_0x31a8df(0x13f)](_0x5ad71f);_0x5ad71f[_0x31a8df(0x14b)]({'attributes':{'class':[_0x31a8df(0x14e)]},'on':{'mouseenter':_0x16c60f['to'](()=>{const _0x2df4f7=_0x31a8df;this[_0x2df4f7(0x159)](_0x43615b,_0x5ad71f);}),'mouseleave':_0x16c60f['to'](_0x29ebf2=>{const _0x31e52d=_0x31a8df,_0x5680a4=_0x29ebf2[_0x31e52d(0x112)];this[_0x31e52d(0x14d)](_0x5680a4,_0x43615b)||this[_0x31e52d(0x119)](_0x43615b);}),'keydown':_0x16c60f['to'](_0xf1bd0=>{const _0x1f3fd0=_0x31a8df;_0xf1bd0[_0x1f3fd0(0x130)]==_0x364ebc&&(this[_0x1f3fd0(0x159)](_0x43615b,_0x5ad71f),_0x43615b[_0x1f3fd0(0x135)][_0x1f3fd0(0x154)](0x0)[_0x1f3fd0(0x10e)]());})}}),_0x43615b['on'](_0x31a8df(0x102),()=>{const _0x3cb918=_0x31a8df;_0x43615b[_0x3cb918(0x105)]?.[_0x3cb918(0x12d)](_0x3cb918(0xf9),_0x564060=>{const _0x537b47=_0x3cb918,_0x58704d=_0x564060[_0x537b47(0x112)];_0x5ad71f[_0x537b47(0x105)]?.[_0x537b47(0x132)](_0x58704d)||this[_0x537b47(0x14d)](_0x58704d,_0x43615b)||this[_0x537b47(0x119)](_0x43615b);});});}[_0x308f34(0x159)](_0x54e7b5,_0x5235f7){const _0x2d480e=_0x308f34;this[_0x2d480e(0x13c)][_0x2d480e(0x147)](_0x33a63a=>{const _0x563f98=_0x2d480e;_0x33a63a!==_0x54e7b5&&_0x33a63a[_0x563f98(0xfb)]&&_0x33a63a[_0x563f98(0x13a)]();}),_0x54e7b5[_0x2d480e(0x145)](),_0x54e7b5[_0x2d480e(0x11f)]({'positions':[_0x2172c6[_0x2d480e(0x153)]],'target':_0x5235f7[_0x2d480e(0x105)],'fitInViewport':!0x0}),this[_0x2d480e(0x13c)][_0x2d480e(0x127)](_0x54e7b5);}[_0x308f34(0x119)](_0x1fec32){const _0x4e8e57=_0x308f34;_0x1fec32[_0x4e8e57(0x13a)](),this[_0x4e8e57(0x13c)][_0x4e8e57(0xf5)](_0x1fec32);}[_0x308f34(0x114)](){const _0x3beb0e=_0x308f34;this[_0x3beb0e(0x13c)][_0x3beb0e(0x147)](_0x252ad7=>_0x252ad7[_0x3beb0e(0x13a)]()),this[_0x3beb0e(0x13c)][_0x3beb0e(0x124)]();}[_0x308f34(0x14d)](_0x4b6d9e,_0x52efd0){const _0x4e07f9=_0x308f34;if(!_0x4b6d9e)return!0x1;if(_0x52efd0[_0x4e07f9(0x105)]?.[_0x4e07f9(0x132)](_0x4b6d9e))return!0x0;const _0x2b2704=_0x4b6d9e;return _0x2b2704[_0x4e07f9(0x10d)]&&(null!==_0x2b2704[_0x4e07f9(0x10d)](_0x4e07f9(0x148))||null!==_0x2b2704[_0x4e07f9(0x10d)](_0x4e07f9(0x15b))||null!==_0x2b2704[_0x4e07f9(0x10d)](_0x4e07f9(0x115)));}[_0x308f34(0x144)](){const _0x513615=_0x308f34;this[_0x513615(0x134)]&&this[_0x513615(0x134)][_0x513615(0x101)]();}[_0x308f34(0x106)](){const _0x35e161=_0x308f34;this[_0x35e161(0x114)](),this[_0x35e161(0xfc)][_0x35e161(0x160)](),super[_0x35e161(0x106)]();}[_0x308f34(0x10e)](){const _0x3f49e8=_0x308f34;this[_0x3f49e8(0x134)]?this[_0x3f49e8(0x134)][_0x3f49e8(0x10e)]():this[_0x3f49e8(0x125)][_0x3f49e8(0x10e)]();}[_0x308f34(0x121)](_0x378ecb){const _0x286762=_0x308f34;return _0x286762(0x172)===_0x378ecb[_0x286762(0xff)][_0x286762(0x16c)]?_0x286762(0x176):_0x286762(0x170);}[_0x308f34(0x13f)](_0x229043){const _0x207674=_0x308f34;return _0x207674(0x172)===_0x229043[_0x207674(0xff)][_0x207674(0x16c)]?_0x207674(0x170):_0x207674(0x176);}[_0x308f34(0x16b)](_0x329295,_0x53430c,_0x5f1bf9,_0x40a5bf){const _0x3b5a54=_0x308f34;_0x329295[_0x3b5a54(0x130)]==_0x53430c&&(_0x5f1bf9[_0x3b5a54(0x10e)](),this[_0x3b5a54(0x119)](_0x40a5bf));}[_0x308f34(0x174)](_0x5718f8){const _0x4dbe3f=_0x308f34;_0x5718f8[_0x4dbe3f(0x118)](_0x4dbe3f(0x179));}}
|
|
23
|
+
const _0x4815f0=_0x12e1;(function(_0xf37e44,_0x37735d){const _0x518b5f=_0x12e1,_0x37290c=_0xf37e44();while(!![]){try{const _0x23b174=parseInt(_0x518b5f(0xde))/0x1*(-parseInt(_0x518b5f(0xa4))/0x2)+parseInt(_0x518b5f(0xfa))/0x3*(-parseInt(_0x518b5f(0xd7))/0x4)+parseInt(_0x518b5f(0xb4))/0x5+parseInt(_0x518b5f(0x81))/0x6+parseInt(_0x518b5f(0xaa))/0x7*(parseInt(_0x518b5f(0x87))/0x8)+parseInt(_0x518b5f(0xa0))/0x9+parseInt(_0x518b5f(0xae))/0xa;if(_0x23b174===_0x37735d)break;else _0x37290c['push'](_0x37290c['shift']());}catch(_0x4bff9f){_0x37290c['push'](_0x37290c['shift']());}}}(_0x14f7,0x7f12c));import{View as _0x42054e,ListItemView as _0x34c45b,ListView as _0x1ce4b6,BalloonPanelView as _0x223975,DropdownMenuPanelPositioningFunctions as _0x431bbe,ViewCollection as _0x4306bd,FocusCycler as _0x4dc946,ButtonView as _0x5a69bf,IconView as _0x1756ba,HighlightedTextView as _0x2e9191,ButtonLabelWithHighlightView as _0x109af0,SearchTextView as _0x86056c}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x7ebb5}from'@ckeditor/ckeditor5-icons';function _0x12e1(_0x1dc1b7,_0x5ef778){const _0x14f7ca=_0x14f7();return _0x12e1=function(_0x12e182,_0x2c45ab){_0x12e182=_0x12e182-0x81;let _0xb407a7=_0x14f7ca[_0x12e182];return _0xb407a7;},_0x12e1(_0x1dc1b7,_0x5ef778);}import{FocusTracker as _0x2ecc61,KeystrokeHandler as _0x1eb3ce}from'ckeditor5/src/utils.js';function _0x14f7(){const _0x39e4eb=['3882845pyaZPw','detachFromDom','addMany','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','.ck-ai-quick-actions-group-panel','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','.ck-ai-quick-actions-group-list','ck-ai-quick-actions-search-result__action-row','displayedPrompt','commands','add','.ck-ai-quick-actions-group-button','ck-ai-quick-actions-search-result__content','_bodyCollection','ck-ai-quick-actions-search-result-button','element','ck-button_with-text','extendTemplate','hide','locale','focusCycler','fieldView','items','optionsListView','_openNestedPanels','ck-ai-quick-actions-button_with-group','ck-ai-quick-actions-button_with-group__open-paren','push','editing','_isMovingToNestedMenu','render','_setupActionButtonExecution','ck-button','ck-dropdown-menu-list','ck-ai-quick-actions-group-button','356BqvVSN','_hasSearch','div','_setupGroupMenuBehavior','_createSearchResultGroupedActionButton','reset','_createSearchResultContentView','306YbezpR','bindTemplate','relatedTarget','button','parent','chain','ck-dropdown-menu__nested-menu__panel','uiLanguageDirection','eastSouth','_hideNestedPanel','aiQuickAction','show','ck-ai-quick-actions-group-panel','_createActionButton','contains','icon','ck-ai-quick-actions-button','_isSearchFocused','setTemplate','_createListItems','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions','_searchTextView','delete','ownerDocument','ck-rounded-corners','pin','18687tRNcTt','isEnabled','set','_createSearchResultIndividualActionButton','addEventListener','rtl','ck-ai-quick-actions-search','text','ck-ai-quick-actions-button__group-icon','bind','span','ArrowLeft','_getPanelKeystroke','children','_handlePanelKeydown','1027662aeYWhI','ck-reset_all','_getButtonKeystroke','_createSearchTextView','resetSearch','closest','32sRFZlH','execute','_handleSearchResultButtonClick','_createSearchResultGroupRow','actions','focus','ck-ai-quick-actions-button_with-group__close-paren','content','AI_QUICK_ACTIONS_SEARCH','isOn','ck-ai-quick-actions-search-result__group-row','fire','get','clear','ArrowRight','role','queryView','mouseleave','menu','ck-ai-quick-actions-search-result-button_with-group','_allSearchableItems','activeElement','forEach','some','_hideAllNestedPanels','2366172wVHKjT','destroy','menuitem','_focusables','6524BJWyuZ','isVisible','keystrokes','_createActionGroupButton','_createSearchResultActionRow','focusTracker','579467kHAIMx','_createSearchResultActionButton','_createGroupActionsList','label','5311670cHBPIY','key','ck-ai-quick-actions-group-list','view','_showNestedPanel','first'];_0x14f7=function(){return _0x39e4eb;};return _0x14f7();}import{aiQuickActionsButtonCreator as _0x2b5ae3}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x491b76}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x5a5bf5}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0xc9b9b1}from'./aiquickactionsfilteredlistview.js';const Ts=_0x4815f0(0x99),Rs=_0x4815f0(0xa2);export class AIQuickActionsDropdownContentView extends _0x42054e{[_0x4815f0(0xc1)];[_0x4815f0(0xcb)];[_0x4815f0(0xf5)]=null;[_0x4815f0(0x9b)]=[];[_0x4815f0(0x107)];[_0x4815f0(0xa9)];[_0x4815f0(0xa6)];[_0x4815f0(0xa3)];[_0x4815f0(0xc8)];[_0x4815f0(0xcc)]=new Set();[_0x4815f0(0xd8)];constructor(_0x53d689,_0xae893f,_0x4a8aa3,_0x3c15cb,_0x4b5f31=!0x1){const _0x49b0af=_0x4815f0,_0x5a0633=_0x53d689[_0x49b0af(0xc7)];super(_0x5a0633),this[_0x49b0af(0xc1)]=_0x3c15cb,this[_0x49b0af(0xd8)]=_0x4b5f31;const _0x208dad=this[_0x49b0af(0xf1)](_0x53d689,_0xae893f,_0x4a8aa3);this[_0x49b0af(0xcb)]=new _0xc9b9b1(_0x5a0633,_0x208dad,this[_0x49b0af(0x9b)]),this[_0x49b0af(0xcb)][_0x49b0af(0x96)]=Ts,this[_0x49b0af(0xcb)][_0x49b0af(0xca)][_0x49b0af(0xb6)](_0x208dad),this[_0x49b0af(0xa9)]=new _0x2ecc61(),this[_0x49b0af(0xa6)]=new _0x1eb3ce(),_0x4b5f31&&(this[_0x49b0af(0xf5)]=this[_0x49b0af(0x84)]()),this[_0x49b0af(0xa3)]=_0x208dad,this[_0x49b0af(0xc8)]=new _0x4dc946({'focusables':this[_0x49b0af(0xa3)],'focusTracker':this[_0x49b0af(0xa9)],'keystrokeHandler':this[_0x49b0af(0xa6)]}),_0x4b5f31&&this[_0x49b0af(0xf5)]&&this[_0x49b0af(0xc8)][_0x49b0af(0xe3)](this[_0x49b0af(0xf5)][_0x49b0af(0xc8)]);const _0x31dea1=_0x4b5f31&&this[_0x49b0af(0xf5)]?[this[_0x49b0af(0xf5)]]:[this[_0x49b0af(0xcb)]];this[_0x49b0af(0x107)]=new _0x4306bd(_0x31dea1),this[_0x49b0af(0xf0)]({'tag':_0x49b0af(0xd9),'attributes':{'class':['ck',_0x49b0af(0x82),_0x49b0af(0xf4),_0x49b0af(0xf8)],'dir':_0x5a0633[_0x49b0af(0xe5)]},'children':this[_0x49b0af(0x107)]});}[_0x4815f0(0x84)](){const _0x2482d8=_0x4815f0;return new _0x86056c(this[_0x2482d8(0xc7)],{'filteredView':this[_0x2482d8(0xcb)],'queryView':{'label':_0x5a5bf5(this[_0x2482d8(0xc7)],_0x2482d8(0x8f))},'class':_0x2482d8(0x100),'infoView':{'text':{'notFound':{'primary':_0x5a5bf5(this[_0x2482d8(0xc7)],_0x2482d8(0xf2))}}}});}[_0x4815f0(0xef)](){const _0x54f3fe=_0x4815f0;if(!this[_0x54f3fe(0xd8)]||!this[_0x54f3fe(0xf5)]||!this[_0x54f3fe(0xf5)][_0x54f3fe(0x97)][_0x54f3fe(0xc9)][_0x54f3fe(0xc3)])return!0x1;const _0x3217f4=this[_0x54f3fe(0xf5)][_0x54f3fe(0x97)][_0x54f3fe(0xc9)][_0x54f3fe(0xc3)][_0x54f3fe(0xf7)]?.[_0x54f3fe(0x9c)];return this[_0x54f3fe(0xf5)][_0x54f3fe(0x97)][_0x54f3fe(0xc9)][_0x54f3fe(0xc3)][_0x54f3fe(0xec)](_0x3217f4);}[_0x4815f0(0xf1)](_0x4e651c,_0x3a4efb,_0x3d7dcd){const _0x54f5af=_0x4815f0,_0x17145a=new _0x4306bd();return _0x3a4efb[_0x54f5af(0x9d)](_0x300167=>{const _0x5b357b=_0x54f5af;if(_0x5b357b(0x8b)in _0x300167){const {listItem:_0x899573}=this[_0x5b357b(0xa7)](_0x4e651c,_0x300167,_0x3d7dcd);_0x17145a[_0x5b357b(0xbe)](_0x899573),_0x300167[_0x5b357b(0x8b)][_0x5b357b(0x9d)](_0x43a864=>{const _0x5a0930=_0x5b357b;this[_0x5a0930(0xeb)](_0x4e651c,_0x43a864,_0x300167[_0x5a0930(0xad)],_0x300167[_0x5a0930(0xed)]);const {listItem:_0x19d584,highlightViews:_0x5e16d5}=this[_0x5a0930(0xab)](_0x4e651c,_0x43a864,_0x300167[_0x5a0930(0xad)],_0x300167[_0x5a0930(0xed)]);this[_0x5a0930(0x9b)][_0x5a0930(0xcf)]({'item':_0x19d584,'label':_0x43a864[_0x5a0930(0xbc)],'groupLabel':_0x300167[_0x5a0930(0xad)],'highlightViews':_0x5e16d5});});}else{const {listItem:_0x31126b}=this[_0x5b357b(0xeb)](_0x4e651c,_0x300167);_0x17145a[_0x5b357b(0xbe)](_0x31126b);const _0x2f35d9=_0x31126b[_0x5b357b(0x107)][_0x5b357b(0xb3)];if(_0x2f35d9){const {listItem:_0x35e0cd,highlightViews:_0x56106b}=this[_0x5b357b(0xab)](_0x4e651c,_0x300167);this[_0x5b357b(0x9b)][_0x5b357b(0xcf)]({'item':_0x35e0cd,'label':_0x2f35d9[_0x5b357b(0xad)]||'','highlightViews':_0x56106b});}}}),_0x17145a;}[_0x4815f0(0xeb)](_0x25c1bf,_0x1888e6,_0x40f6ec,_0x29d9fd){const _0x2525cd=_0x4815f0,_0x241d8e=new _0x34c45b(this[_0x2525cd(0xc7)]);if(_0x40f6ec&&_0x29d9fd){const _0x20a0d=new _0x5a69bf(this[_0x2525cd(0xc7)]),_0x589598=_0x20a0d[_0x2525cd(0xdf)],_0x24b62c=new _0x2e9191();_0x24b62c[_0x2525cd(0x101)]=_0x1888e6[_0x2525cd(0xbc)];const _0x5521cb=new _0x2e9191();_0x5521cb[_0x2525cd(0x101)]=_0x40f6ec;const _0x573571=new _0x1756ba();_0x573571[_0x2525cd(0x8e)]=_0x29d9fd,_0x573571[_0x2525cd(0xc5)]({'attributes':{'class':_0x2525cd(0x102)}});const _0x42911d=new _0x42054e(this[_0x2525cd(0xc7)]);_0x42911d[_0x2525cd(0xf0)]({'tag':_0x2525cd(0x104),'attributes':{'class':_0x2525cd(0xce)},'children':[{'text':'\x20('}]});const _0x10e819=new _0x42054e(this[_0x2525cd(0xc7)]);return _0x10e819[_0x2525cd(0xf0)]({'tag':_0x2525cd(0x104),'attributes':{'class':_0x2525cd(0x8d)},'children':[{'text':')'}]}),_0x20a0d[_0x2525cd(0xfc)]({'label':_0x1888e6[_0x2525cd(0xbc)]+'\x20('+_0x40f6ec+')','withText':!0x0,'role':_0x2525cd(0xa2),'class':_0x2525cd(0xb9),'tooltip':!0x1}),_0x20a0d[_0x2525cd(0xf0)]({'tag':_0x2525cd(0xe1),'attributes':{'class':['ck',_0x2525cd(0xd4),_0x2525cd(0xc4),_0x2525cd(0xee),_0x2525cd(0xcd)],'type':_0x2525cd(0xe1),'role':_0x2525cd(0xa2),'tabindex':'-1'},'children':[_0x24b62c,_0x42911d,_0x573571,_0x5521cb,_0x10e819],'on':{'mouseenter':_0x589598['to'](()=>{const _0x1302db=_0x2525cd;this[_0x1302db(0xef)]()||_0x20a0d[_0x1302db(0x8c)]();}),'click':_0x589598['to'](()=>{const _0x3ad11f=_0x2525cd;_0x20a0d[_0x3ad11f(0x92)](_0x3ad11f(0x88));})}}),_0x20a0d['on'](_0x2525cd(0x88),()=>{const _0x1a581a=_0x2525cd;_0x25c1bf[_0x1a581a(0xd0)][_0x1a581a(0xb1)][_0x1a581a(0x8c)](),_0x25c1bf[_0x1a581a(0xbd)][_0x1a581a(0x88)](_0x1a581a(0xe8),_0x1888e6);}),_0x241d8e[_0x2525cd(0x107)][_0x2525cd(0xbe)](_0x20a0d),{'listItem':_0x241d8e,'highlightViews':[_0x24b62c,_0x5521cb]};}{const _0x55b3c1=new _0x109af0(),_0x4c95ca=new _0x5a69bf(this[_0x2525cd(0xc7)],_0x55b3c1),_0xfb909e=_0x4c95ca[_0x2525cd(0xdf)],_0x1b80f2=_0x1888e6[_0x2525cd(0xed)]??_0x1888e6[_0x2525cd(0xe2)]?.[_0x2525cd(0xed)],_0x174281=void 0x0!==_0x1888e6[_0x2525cd(0xed)];return _0x4c95ca[_0x2525cd(0xfc)]({'label':_0x1888e6[_0x2525cd(0xbc)],'withText':!0x0,'role':_0x2525cd(0xa2),'icon':_0x174281?_0x1b80f2??_0x7ebb5:void 0x0,'tooltip':!0x1,'class':_0x2525cd(0xee)}),_0x4c95ca[_0x2525cd(0xc5)]({'on':{'mouseenter':_0xfb909e['to'](()=>{const _0x9adc0f=_0x2525cd;this[_0x9adc0f(0xef)]()||_0x4c95ca[_0x9adc0f(0x8c)]();})}}),_0x4c95ca['on'](_0x2525cd(0x88),()=>{const _0x3a84cf=_0x2525cd;_0x25c1bf[_0x3a84cf(0xd0)][_0x3a84cf(0xb1)][_0x3a84cf(0x8c)](),_0x25c1bf[_0x3a84cf(0xbd)][_0x3a84cf(0x88)](_0x3a84cf(0xe8),_0x1888e6);}),_0x241d8e[_0x2525cd(0x107)][_0x2525cd(0xbe)](_0x4c95ca),{'listItem':_0x241d8e,'highlightViews':[_0x55b3c1]};}}[_0x4815f0(0xab)](_0x16f6e8,_0x111d67,_0x3b2210,_0x22f201){const _0x44c29f=_0x4815f0;return _0x3b2210&&_0x22f201?this[_0x44c29f(0xdb)](_0x16f6e8,_0x111d67,_0x3b2210,_0x22f201):this[_0x44c29f(0xfd)](_0x16f6e8,_0x111d67);}[_0x4815f0(0xdb)](_0x58ab60,_0x1ae885,_0x5b45d4,_0xed5af3){const _0x392158=_0x4815f0,_0x157211=new _0x34c45b(this[_0x392158(0xc7)]),_0xfb128d=new _0x5a69bf(this[_0x392158(0xc7)]),_0x1e6ab9=_0xfb128d[_0x392158(0xdf)],{view:_0x54ea6e,highlightView:_0x621e4}=this[_0x392158(0x8a)](_0x5b45d4,_0xed5af3),{view:_0x4717d4,highlightView:_0x5dcd63}=this[_0x392158(0xa8)](_0x1ae885[_0x392158(0xbc)]),_0x2c02fc=this[_0x392158(0xdd)](_0x54ea6e,_0x4717d4);return _0xfb128d[_0x392158(0xfc)]({'label':_0x1ae885[_0x392158(0xbc)],'withText':!0x0,'role':_0x392158(0xa2),'class':_0x392158(0xf3),'tooltip':!0x1}),_0xfb128d[_0x392158(0xf0)]({'tag':_0x392158(0xe1),'attributes':{'class':['ck',_0x392158(0xd4),_0x392158(0xc4),_0x392158(0xee),_0x392158(0xc2),_0x392158(0x9a)],'type':_0x392158(0xe1),'role':_0x392158(0xa2),'tabindex':'-1'},'children':[_0x2c02fc],'on':{'mouseenter':_0x1e6ab9['to'](()=>{const _0x29b562=_0x392158;this[_0x29b562(0xef)]()||_0xfb128d[_0x29b562(0x8c)]();}),'click':_0x1e6ab9['to'](()=>{const _0xa38373=_0x392158;this[_0xa38373(0x89)](_0xfb128d);})}}),this[_0x392158(0xd3)](_0xfb128d,_0x58ab60,_0x1ae885),_0x157211[_0x392158(0x107)][_0x392158(0xbe)](_0xfb128d),{'listItem':_0x157211,'highlightViews':[_0x621e4,_0x5dcd63]};}[_0x4815f0(0xfd)](_0x388c34,_0x26ceeb){const _0x2776be=_0x4815f0,_0x4c079f=new _0x34c45b(this[_0x2776be(0xc7)]),_0x4cada3=new _0x109af0(),_0x498ecf=new _0x5a69bf(this[_0x2776be(0xc7)],_0x4cada3),_0x21fe7c=_0x498ecf[_0x2776be(0xdf)];return _0x498ecf[_0x2776be(0xfc)]({'label':_0x26ceeb[_0x2776be(0xbc)],'withText':!0x0,'role':_0x2776be(0xa2),'icon':void 0x0,'tooltip':!0x1,'class':_0x2776be(0xb7)}),_0x498ecf[_0x2776be(0xc5)]({'on':{'mouseenter':_0x21fe7c['to'](()=>{const _0x30ea4f=_0x2776be;this[_0x30ea4f(0xef)]()||_0x498ecf[_0x30ea4f(0x8c)]();})}}),this[_0x2776be(0xd3)](_0x498ecf,_0x388c34,_0x26ceeb),_0x4c079f[_0x2776be(0x107)][_0x2776be(0xbe)](_0x498ecf),{'listItem':_0x4c079f,'highlightViews':[_0x4cada3]};}[_0x4815f0(0x8a)](_0x25530d,_0x26ae31){const _0x596068=_0x4815f0,_0x444799=new _0x42054e(this[_0x596068(0xc7)]),_0x2d5aed=new _0x1756ba();_0x2d5aed[_0x596068(0x8e)]=_0x26ae31,_0x2d5aed[_0x596068(0xc5)]({'attributes':{'class':_0x596068(0x102)}});const _0x4c6b44=new _0x2e9191();return _0x4c6b44[_0x596068(0x101)]=_0x25530d,_0x444799[_0x596068(0xf0)]({'tag':_0x596068(0xd9),'attributes':{'class':_0x596068(0x91)},'children':[_0x2d5aed,_0x4c6b44]}),{'view':_0x444799,'highlightView':_0x4c6b44};}[_0x4815f0(0xa8)](_0x4aac75){const _0x5ea429=_0x4815f0,_0xd3dca5=new _0x42054e(this[_0x5ea429(0xc7)]),_0xe22157=new _0x2e9191();return _0xe22157[_0x5ea429(0x101)]=_0x4aac75,_0xd3dca5[_0x5ea429(0xf0)]({'tag':_0x5ea429(0xd9),'attributes':{'class':_0x5ea429(0xbb)},'children':[_0xe22157]}),{'view':_0xd3dca5,'highlightView':_0xe22157};}[_0x4815f0(0xdd)](_0x63c88,_0x2e2664){const _0x2474a8=_0x4815f0,_0xe0e87e=new _0x42054e(this[_0x2474a8(0xc7)]);return _0xe0e87e[_0x2474a8(0xf0)]({'tag':_0x2474a8(0xd9),'attributes':{'class':_0x2474a8(0xc0)},'children':[_0x63c88,_0x2e2664]}),_0xe0e87e;}[_0x4815f0(0xd3)](_0x3f3047,_0xd875c3,_0x14a913){const _0x35cbff=_0x4815f0;_0x3f3047['on'](_0x35cbff(0x88),()=>{const _0x513c03=_0x35cbff;_0xd875c3[_0x513c03(0xd0)][_0x513c03(0xb1)][_0x513c03(0x8c)](),_0xd875c3[_0x513c03(0xbd)][_0x513c03(0x88)](_0x513c03(0xe8),_0x14a913);});}[_0x4815f0(0xa7)](_0x3fd731,_0x5edf8e,_0x436aae){const _0x4b0c77=_0x4815f0,_0x21edda=new _0x34c45b(this[_0x4b0c77(0xc7)]),_0x8ec097=new _0x109af0(),_0x1e9144=new _0x491b76(this[_0x4b0c77(0xc7)],_0x8ec097),_0x2cdd97=_0x1e9144[_0x4b0c77(0xdf)],_0x50c524=this[_0x4b0c77(0x106)](_0x436aae),_0x15ba75=this[_0x4b0c77(0xac)](_0x3fd731,_0x5edf8e[_0x4b0c77(0x8b)],_0x436aae);_0x1e9144[_0x4b0c77(0xfc)]({'label':_0x5edf8e[_0x4b0c77(0xad)],'withText':!0x0,'role':Rs,'icon':_0x5edf8e[_0x4b0c77(0xed)]??_0x7ebb5,'isEnabled':_0x5edf8e[_0x4b0c77(0x8b)][_0x4b0c77(0x9e)](_0x4695c7=>_0x4695c7[_0x4b0c77(0xfb)])}),_0x1e9144[_0x4b0c77(0xc5)]({'on':{'mouseenter':_0x2cdd97['to'](()=>{const _0x1081f7=_0x4b0c77;this[_0x1081f7(0xef)]()||_0x1e9144[_0x1081f7(0x8c)]();})}});const _0x3fcb5d=new _0x223975(this[_0x4b0c77(0xc7)]);return _0x3fcb5d[_0x4b0c77(0xc5)]({'attributes':{'class':['ck',_0x4b0c77(0x82),_0x4b0c77(0xea),_0x4b0c77(0xe4)]},'on':{'keydown':_0x2cdd97['to'](_0x3607ba=>{const _0x3de0f8=_0x4b0c77;this[_0x3de0f8(0x108)](_0x3607ba,_0x50c524,_0x1e9144,_0x3fcb5d);})}}),_0x1e9144[_0x4b0c77(0x103)](_0x4b0c77(0x90))['to'](_0x3fcb5d,_0x4b0c77(0xa5)),this[_0x4b0c77(0xc1)][_0x4b0c77(0xbe)](_0x3fcb5d),_0x3fcb5d[_0x4b0c77(0x8e)][_0x4b0c77(0xbe)](_0x15ba75),this[_0x4b0c77(0xda)](_0x1e9144,_0x3fcb5d),_0x21edda[_0x4b0c77(0x107)][_0x4b0c77(0xbe)](_0x1e9144),{'listItem':_0x21edda,'highlightView':_0x8ec097};}[_0x4815f0(0xac)](_0x1c3795,_0x169992,_0x2eedb4){const _0x8610=_0x4815f0,_0x35771e=new _0x1ce4b6(this[_0x8610(0xc7)]);return _0x35771e[_0x8610(0xc5)]({'attributes':{'class':['ck',_0x8610(0x82),_0x8610(0xb0),_0x8610(0xd5)]}}),_0x169992[_0x8610(0x9d)](_0x3fccd9=>{const _0x418f73=_0x8610,_0x5c585e=new _0x34c45b(this[_0x418f73(0xc7)]),_0x2a7123=_0x2b5ae3({'editor':_0x1c3795,'action':_0x3fccd9,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x418f73(0xef)]()})();_0x5c585e[_0x418f73(0x107)][_0x418f73(0xbe)](_0x2a7123),_0x2eedb4[_0x418f73(0xa9)][_0x418f73(0xbe)](_0x2a7123),_0x35771e[_0x418f73(0xca)][_0x418f73(0xbe)](_0x5c585e);}),_0x35771e;}[_0x4815f0(0xda)](_0x428cea,_0x7bb1a2){const _0x4e798a=_0x4815f0,_0x3cfa29=_0x428cea[_0x4e798a(0xdf)],_0x11c23d=this[_0x4e798a(0x83)](_0x428cea);_0x428cea[_0x4e798a(0xc5)]({'attributes':{'class':[_0x4e798a(0xd6)]},'on':{'mouseenter':_0x3cfa29['to'](()=>{const _0x19007a=_0x4e798a;this[_0x19007a(0xb2)](_0x7bb1a2,_0x428cea);}),'mouseleave':_0x3cfa29['to'](_0xe02514=>{const _0x54290e=_0x4e798a,_0x10ef6e=_0xe02514[_0x54290e(0xe0)];this[_0x54290e(0xd1)](_0x10ef6e,_0x7bb1a2)||this[_0x54290e(0xe7)](_0x7bb1a2);}),'keydown':_0x3cfa29['to'](_0x59c1fe=>{const _0x4f9712=_0x4e798a;_0x59c1fe[_0x4f9712(0xaf)]==_0x11c23d&&(this[_0x4f9712(0xb2)](_0x7bb1a2,_0x428cea),_0x7bb1a2[_0x4f9712(0x8e)][_0x4f9712(0x93)](0x0)[_0x4f9712(0x8c)]());})}}),_0x7bb1a2['on'](_0x4e798a(0xd2),()=>{const _0x58231b=_0x4e798a;_0x7bb1a2[_0x58231b(0xc3)]?.[_0x58231b(0xfe)](_0x58231b(0x98),_0x169d33=>{const _0x25dabf=_0x58231b,_0x4b21c3=_0x169d33[_0x25dabf(0xe0)];_0x428cea[_0x25dabf(0xc3)]?.[_0x25dabf(0xec)](_0x4b21c3)||this[_0x25dabf(0xd1)](_0x4b21c3,_0x7bb1a2)||this[_0x25dabf(0xe7)](_0x7bb1a2);});});}[_0x4815f0(0xb2)](_0x24ef9c,_0x3a7182){const _0x1f2144=_0x4815f0;this[_0x1f2144(0xcc)][_0x1f2144(0x9d)](_0x18dd7c=>{const _0x4ace72=_0x1f2144;_0x18dd7c!==_0x24ef9c&&_0x18dd7c[_0x4ace72(0xa5)]&&_0x18dd7c[_0x4ace72(0xc6)]();}),_0x24ef9c[_0x1f2144(0xe9)](),_0x24ef9c[_0x1f2144(0xf9)]({'positions':[_0x431bbe[_0x1f2144(0xe6)]],'target':_0x3a7182[_0x1f2144(0xc3)],'fitInViewport':!0x0}),this[_0x1f2144(0xcc)][_0x1f2144(0xbe)](_0x24ef9c);}[_0x4815f0(0xe7)](_0x38dbff){const _0x8767c3=_0x4815f0;_0x38dbff[_0x8767c3(0xc6)](),this[_0x8767c3(0xcc)][_0x8767c3(0xf6)](_0x38dbff);}[_0x4815f0(0x9f)](){const _0x80bc42=_0x4815f0;this[_0x80bc42(0xcc)][_0x80bc42(0x9d)](_0x582ed2=>_0x582ed2[_0x80bc42(0xc6)]()),this[_0x80bc42(0xcc)][_0x80bc42(0x94)]();}[_0x4815f0(0xd1)](_0x1a0063,_0x46812e){const _0x145097=_0x4815f0;if(!_0x1a0063)return!0x1;if(_0x46812e[_0x145097(0xc3)]?.[_0x145097(0xec)](_0x1a0063))return!0x0;const _0x1f759a=_0x1a0063;return _0x1f759a[_0x145097(0x86)]&&(null!==_0x1f759a[_0x145097(0x86)](_0x145097(0xb8))||null!==_0x1f759a[_0x145097(0x86)](_0x145097(0xba))||null!==_0x1f759a[_0x145097(0x86)](_0x145097(0xbf)));}[_0x4815f0(0x85)](){const _0xf4b9d2=_0x4815f0;this[_0xf4b9d2(0xf5)]&&this[_0xf4b9d2(0xf5)][_0xf4b9d2(0xdc)]();}[_0x4815f0(0xa1)](){const _0x12d1a8=_0x4815f0;this[_0x12d1a8(0x9f)](),this[_0x12d1a8(0xc1)][_0x12d1a8(0xb5)](),super[_0x12d1a8(0xa1)]();}[_0x4815f0(0x8c)](){const _0xbbdd26=_0x4815f0;this[_0xbbdd26(0xf5)]?this[_0xbbdd26(0xf5)][_0xbbdd26(0x8c)]():this[_0xbbdd26(0xcb)][_0xbbdd26(0x8c)]();}[_0x4815f0(0x106)](_0x16ef74){const _0x3ec48b=_0x4815f0;return _0x3ec48b(0xff)===_0x16ef74[_0x3ec48b(0xc7)][_0x3ec48b(0xe5)]?_0x3ec48b(0x95):_0x3ec48b(0x105);}[_0x4815f0(0x83)](_0x54e018){const _0x69fe=_0x4815f0;return _0x69fe(0xff)===_0x54e018[_0x69fe(0xc7)][_0x69fe(0xe5)]?_0x69fe(0x105):_0x69fe(0x95);}[_0x4815f0(0x108)](_0x53acd1,_0x139644,_0x35ca6a,_0x3fe9e4){const _0x336d63=_0x4815f0;_0x53acd1[_0x336d63(0xaf)]==_0x139644&&(_0x35ca6a[_0x336d63(0x8c)](),this[_0x336d63(0xe7)](_0x3fe9e4));}[_0x4815f0(0x89)](_0x403b3f){const _0x3cdf79=_0x4815f0;_0x403b3f[_0x3cdf79(0x92)](_0x3cdf79(0x88));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5bd5ac,_0x283cd9){const _0x2d311a=_0x3554,_0xaab1dc=_0x5bd5ac();while(!![]){try{const _0x50f851=parseInt(_0x2d311a(0x19e))/0x1*(-parseInt(_0x2d311a(0x189))/0x2)+parseInt(_0x2d311a(0x182))/0x3+parseInt(_0x2d311a(0x184))/0x4*(-parseInt(_0x2d311a(0x190))/0x5)+parseInt(_0x2d311a(0x18b))/0x6+parseInt(_0x2d311a(0x186))/0x7+-parseInt(_0x2d311a(0x197))/0x8*(-parseInt(_0x2d311a(0x196))/0x9)+-parseInt(_0x2d311a(0x195))/0xa;if(_0x50f851===_0x283cd9)break;else _0xaab1dc['push'](_0xaab1dc['shift']());}catch(_0x151bed){_0xaab1dc['push'](_0xaab1dc['shift']());}}}(_0x5659,0xc67f5));function _0x5659(){const _0x111803=['showFakeVisualSelection','56YALbEk','children','add','change:isOpen','selection','has','2556480JdvDEE','label','222996UAYaMa','AIEditing','10071341sKXDQZ','locale','document','5608BGeSRh','length','5818584hZqDIH','panelView','resetSearch','get','set','115qxsRGt','ck-ai-quick-actions-dropdown','icon','plugins','ai-quick-actions-dropdown-selection','25263230zerWOa','3415347ITKsES','32DfXtwj','hideFakeVisualSelection','getRanges','from','buttonView','model'];_0x5659=function(){return _0x111803;};return _0x5659();}function _0x3554(_0x1df0cb,_0x2946f1){const _0x5659e3=_0x5659();return _0x3554=function(_0x355410,_0x47905d){_0x355410=_0x355410-0x17d;let _0x3bb736=_0x5659e3[_0x355410];return _0x3bb736;},_0x3554(_0x1df0cb,_0x2946f1);}import{createDropdown as _0x1736d3}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x53195d}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x1340bd}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x184a0c}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x303b94){const {editor:_0x209c28,content:_0x29d3a0,buttonDefinition:_0x51106e,bodyCollection:_0x13b471,hasSearch:_0x2cc36f=!0x1}=_0x303b94;return()=>{const _0x2da46b=_0x3554,_0x1df937=_0x209c28[_0x2da46b(0x187)],_0x52e3c1=_0x1736d3(_0x1df937);_0x52e3c1[_0x2da46b(0x19b)][_0x2da46b(0x18f)]({'icon':_0x51106e[_0x2da46b(0x192)]??_0x53195d,'label':_0x51106e[_0x2da46b(0x183)],'tooltip':!0x0}),_0x52e3c1[_0x2da46b(0x18f)]({'class':_0x2da46b(0x191)});const _0x1d8a62=new _0x1340bd(_0x209c28,_0x29d3a0,_0x52e3c1,_0x13b471,_0x2cc36f);if(_0x52e3c1[_0x2da46b(0x18c)][_0x2da46b(0x17d)][_0x2da46b(0x17e)](_0x1d8a62),_0x2cc36f){const _0x165cb4=_0x2da46b(0x194);_0x52e3c1['on'](_0x2da46b(0x17f),(_0xff140b,_0x4adb6f,_0x42cd04)=>{const _0x56c0ec=_0x2da46b;if(_0x42cd04){if(_0x209c28[_0x56c0ec(0x193)][_0x56c0ec(0x181)](_0x56c0ec(0x185))){const _0x641c84=_0x209c28[_0x56c0ec(0x193)][_0x56c0ec(0x18e)](_0x184a0c),_0x32db54=_0x209c28[_0x56c0ec(0x19c)][_0x56c0ec(0x188)][_0x56c0ec(0x180)],_0x594253=Array[_0x56c0ec(0x19a)](_0x32db54[_0x56c0ec(0x199)]());_0x594253[_0x56c0ec(0x18a)]>0x0&&_0x641c84[_0x56c0ec(0x19d)](_0x594253,_0x165cb4,!0x1,!0x0);}}else _0x209c28[_0x56c0ec(0x193)][_0x56c0ec(0x181)](_0x56c0ec(0x185))&&_0x209c28[_0x56c0ec(0x193)][_0x56c0ec(0x18e)](_0x184a0c)[_0x56c0ec(0x198)](_0x165cb4),_0x1d8a62[_0x56c0ec(0x18d)]();});}return _0x52e3c1;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0xfce800=_0xe392;function _0xe392(_0x2c827b,_0x31041a){const _0x3503b4=_0x3503();return _0xe392=function(_0xe39218,_0xb70619){_0xe39218=_0xe39218-0xe7;let _0x578bad=_0x3503b4[_0xe39218];return _0x578bad;},_0xe392(_0x2c827b,_0x31041a);}(function(_0x191088,_0x69fdd){const _0x5662a5=_0xe392,_0x5252e4=_0x191088();while(!![]){try{const _0x1dae45=parseInt(_0x5662a5(0xe8))/0x1+parseInt(_0x5662a5(0x103))/0x2+-parseInt(_0x5662a5(0xf9))/0x3+parseInt(_0x5662a5(0xee))/0x4+-parseInt(_0x5662a5(0xf2))/0x5+parseInt(_0x5662a5(0xed))/0x6*(parseInt(_0x5662a5(0xf5))/0x7)+parseInt(_0x5662a5(0xf7))/0x8*(-parseInt(_0x5662a5(0x104))/0x9);if(_0x1dae45===_0x69fdd)break;else _0x5252e4['push'](_0x5252e4['shift']());}catch(_0x3e6dac){_0x5252e4['push'](_0x5252e4['shift']());}}}(_0x3503,0xb51b6));import{ListView as _0x3172a6}from'ckeditor5/src/ui.js';function _0x3503(){const _0x17ef1f=['function','3466755PYrbVQ','highlightText','trim','532OOOKou','length','17009336TZYfdh','clear','207339zjZhAM','toLowerCase','_clearHighlight','_highlightQuery','map','highlightViews','label','forEach','_allSearchableItems','groupLabel','2770562KssQQw','9hmceTS','includes','280249kqRqaN','item','addMany','filter','source','70074rZKiRh','4309244ECpvcc','items','_allListItems'];_0x3503=function(){return _0x17ef1f;};return _0x3503();}import{escapeRegExp as _0x1f4cf9}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x3172a6{[_0xfce800(0xf0)];[_0xfce800(0x101)];constructor(_0x25a76a,_0x79fe06,_0x33b82e){const _0x311366=_0xfce800;super(_0x25a76a),this[_0x311366(0xf0)]=_0x79fe06,this[_0x311366(0x101)]=_0x33b82e;}[_0xfce800(0xeb)](_0x35654d){const _0x72cf63=_0xfce800;if(!_0x35654d)return this[_0x72cf63(0xef)][_0x72cf63(0xf8)](),this[_0x72cf63(0xef)][_0x72cf63(0xea)](this[_0x72cf63(0xf0)]),this[_0x72cf63(0xfb)](),{'resultsCount':this[_0x72cf63(0xf0)][_0x72cf63(0xf6)],'totalItemsCount':this[_0x72cf63(0xf0)][_0x72cf63(0xf6)]};const _0x1bb96e=_0x35654d[_0x72cf63(0xec)][_0x72cf63(0xfa)]()[_0x72cf63(0xf4)](),_0x5b29a5=this[_0x72cf63(0x101)][_0x72cf63(0xeb)](_0x50ea84=>(_0x50ea84[_0x72cf63(0x102)]?_0x50ea84[_0x72cf63(0xff)]+'\x20('+_0x50ea84[_0x72cf63(0x102)]+')':_0x50ea84[_0x72cf63(0xff)])[_0x72cf63(0xfa)]()[_0x72cf63(0xe7)](_0x1bb96e));return this[_0x72cf63(0xef)][_0x72cf63(0xf8)](),this[_0x72cf63(0xef)][_0x72cf63(0xea)](_0x5b29a5[_0x72cf63(0xfd)](_0x2f0316=>_0x2f0316[_0x72cf63(0xe9)])),this[_0x72cf63(0xfc)](_0x1bb96e,_0x5b29a5),{'resultsCount':_0x5b29a5[_0x72cf63(0xf6)],'totalItemsCount':this[_0x72cf63(0x101)][_0x72cf63(0xf6)]};}[_0xfce800(0xfc)](_0x37d61a,_0x5752ad){const _0x13ddcc=_0xfce800;if(!_0x37d61a)return;const _0xc96bf8=new RegExp(_0x1f4cf9(_0x37d61a),'gi');_0x5752ad[_0x13ddcc(0x100)](_0x2d39f=>{const _0x1230af=_0x13ddcc;_0x2d39f[_0x1230af(0xfe)]&&_0x2d39f[_0x1230af(0xfe)][_0x1230af(0x100)](_0xcfc11d=>{const _0x40b2b7=_0x1230af;_0x40b2b7(0xf1)==typeof _0xcfc11d[_0x40b2b7(0xf3)]&&_0xcfc11d[_0x40b2b7(0xf3)](_0xc96bf8);});});}[_0xfce800(0xfb)](){const _0x3117f9=_0xfce800;this[_0x3117f9(0x101)][_0x3117f9(0x100)](_0x7b1408=>{const _0x4bc978=_0x3117f9;_0x7b1408[_0x4bc978(0xfe)]&&_0x7b1408[_0x4bc978(0xfe)][_0x4bc978(0x100)](_0x37134f=>{const _0x56a146=_0x4bc978;_0x56a146(0xf1)==typeof _0x37134f[_0x56a146(0xf3)]&&_0x37134f[_0x56a146(0xf3)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x18b189=_0x3c10;function _0x3c10(_0x2e038f,_0x53178d){const _0x521d04=_0x521d();return _0x3c10=function(_0x3c108c,_0x421c6e){_0x3c108c=_0x3c108c-0x98;let _0x2e2c11=_0x521d04[_0x3c108c];return _0x2e2c11;},_0x3c10(_0x2e038f,_0x53178d);}(function(_0x510a6d,_0x2548c9){const _0x733dea=_0x3c10,_0xe1abc6=_0x510a6d();while(!![]){try{const _0x53cabe=parseInt(_0x733dea(0xad))/0x1+-parseInt(_0x733dea(0xab))/0x2+-parseInt(_0x733dea(0xa1))/0x3*(parseInt(_0x733dea(0xa6))/0x4)+parseInt(_0x733dea(0xaf))/0x5+parseInt(_0x733dea(0xa4))/0x6*(-parseInt(_0x733dea(0x98))/0x7)+parseInt(_0x733dea(0xa0))/0x8+-parseInt(_0x733dea(0x9e))/0x9*(-parseInt(_0x733dea(0xae))/0xa);if(_0x53cabe===_0x2548c9)break;else _0xe1abc6['push'](_0xe1abc6['shift']());}catch(_0x48403e){_0xe1abc6['push'](_0xe1abc6['shift']());}}}(_0x521d,0xcc267));import{IconView as _0x41e455,ListItemButtonView as _0x2cc0b7}from'ckeditor5/src/ui.js';function _0x521d(){const _0x4ae501=['menuitem','content','644082xgNSmw','extendTemplate','639916Thvlbh','ck-dropdown-menu-list__nested-menu__button__arrow','arrowView','ck-dropdown-menu-list__nested-menu__button','children','1108782HDojcf','add','684569Vwchhx','5690AYRmMI','7675300AupTKp','91bVAHGe','mouseenter','_createArrowView','bindTemplate','set','isOn','1953DXOERB','render','4823824iSMGbi','3hCsXix'];_0x521d=function(){return _0x4ae501;};return _0x521d();}import{IconDropdownArrow as _0x33d9e0}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x2cc0b7{[_0x18b189(0xa8)];constructor(_0x1e4e74,_0x484be3){const _0x37736e=_0x18b189;super(_0x1e4e74,_0x484be3);const _0x4d210c=this[_0x37736e(0x9b)];this[_0x37736e(0x9c)]({'withText':!0x0,'role':_0x37736e(0xa2)}),this[_0x37736e(0xa8)]=this[_0x37736e(0x9a)](),this[_0x37736e(0xa5)]({'attributes':{'class':[_0x37736e(0xa9)],'aria-haspopup':!0x0,'aria-expanded':this[_0x37736e(0x9b)]['to'](_0x37736e(0x9d),_0x3821be=>String(_0x3821be)),'data-cke-tooltip-disabled':_0x4d210c['to'](_0x37736e(0x9d))},'on':{'mouseenter':_0x4d210c['to'](_0x37736e(0x99))}});}[_0x18b189(0x9f)](){const _0x352026=_0x18b189;super[_0x352026(0x9f)](),this[_0x352026(0xaa)][_0x352026(0xac)](this[_0x352026(0xa8)]);}[_0x18b189(0x9a)](){const _0x3abd90=_0x18b189,_0x1dea96=new _0x41e455();return _0x1dea96[_0x3abd90(0xa3)]=_0x33d9e0,_0x1dea96[_0x3abd90(0xa5)]({'attributes':{'class':_0x3abd90(0xa7)}}),_0x1dea96;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5560(_0x5a0214,_0x480b6d){const _0x568c8c=_0x568c();return _0x5560=function(_0x556024,_0x548f16){_0x556024=_0x556024-0xc4;let _0x224ed8=_0x568c8c[_0x556024];return _0x224ed8;},_0x5560(_0x5a0214,_0x480b6d);}const _0x4b0f41=_0x5560;function _0x568c(){const _0xdd776a=['Adjust\x20tone\x20and\x20style','Confident','korean','792336xZEoNP','make-tone','16553112mmlRFO','Portuguese','shorter','French','1762XYRiAy','casual','2651084vmvIXf','readability','professional','Readability','6377iolNbO','Clarity','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','20TYJAzc','dropdown','japanese','2010TwNSHo','Translate\x20the\x20text\x20into\x20another\x20language.','longer','Japanese','russian','Shorter','Friendly','custom','Chinese\x20(Simplified)','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','Russian','Correctness','correctness','German','Adjust\x20length','Spanish','Custom\x20command','chinese','french','italian','portuguese','English','3638916RejjKb','make','Direct','friendly','german','spanish','Casual','Select\x20language','Italian','Professional','9758736iursGZ','translate','confident','11YEivCJ','5ekjBON','language','clarity','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','Korean','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','direct','Translate','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','english','Longer','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','696IgUXwd'];_0x568c=function(){return _0xdd776a;};return _0x568c();}(function(_0xc5fe2,_0x15afa8){const _0x55c958=_0x5560,_0x3c2938=_0xc5fe2();while(!![]){try{const _0x3f0a38=parseInt(_0x55c958(0xe3))/0x1+-parseInt(_0x55c958(0xe9))/0x2*(-parseInt(_0x55c958(0xdf))/0x3)+-parseInt(_0x55c958(0xeb))/0x4*(parseInt(_0x55c958(0xd3))/0x5)+-parseInt(_0x55c958(0xf5))/0x6*(parseInt(_0x55c958(0xef))/0x7)+parseInt(_0x55c958(0xcf))/0x8+-parseInt(_0x55c958(0xc5))/0x9*(-parseInt(_0x55c958(0xf2))/0xa)+parseInt(_0x55c958(0xd2))/0xb*(-parseInt(_0x55c958(0xe5))/0xc);if(_0x3f0a38===_0x15afa8)break;else _0x3c2938['push'](_0x3c2938['shift']());}catch(_0x525f64){_0x3c2938['push'](_0x3c2938['shift']());}}}(_0x568c,0xa57cc));export const AI_REVIEW_CHECKS=[{'id':_0x4b0f41(0xfc),'title':_0x4b0f41(0x105),'description':_0x4b0f41(0xd6),'isParameterized':!0x0},{'id':_0x4b0f41(0x101),'title':_0x4b0f41(0x100),'description':_0x4b0f41(0xfe),'isParameterized':!0x1},{'id':_0x4b0f41(0xd5),'title':_0x4b0f41(0xf0),'description':_0x4b0f41(0xde),'isParameterized':!0x1},{'id':_0x4b0f41(0xec),'title':_0x4b0f41(0xee),'description':_0x4b0f41(0xd8),'isParameterized':!0x1},{'id':_0x4b0f41(0xc6),'title':_0x4b0f41(0x103),'description':_0x4b0f41(0xdb),'isParameterized':!0x0,'options':[{'formType':_0x4b0f41(0xf3),'label':_0x4b0f41(0x103),'default':_0x4b0f41(0xf7),'data':[{'label':_0x4b0f41(0xdd),'id':_0x4b0f41(0xf7)},{'label':_0x4b0f41(0xfa),'id':_0x4b0f41(0xe7)}]}]},{'id':_0x4b0f41(0xe4),'title':_0x4b0f41(0xe0),'description':_0x4b0f41(0xf1),'isParameterized':!0x0,'options':[{'formType':_0x4b0f41(0xf3),'label':_0x4b0f41(0xe0),'default':_0x4b0f41(0xea),'data':[{'label':_0x4b0f41(0xcb),'id':_0x4b0f41(0xea)},{'label':_0x4b0f41(0xc7),'id':_0x4b0f41(0xd9)},{'label':_0x4b0f41(0xfb),'id':_0x4b0f41(0xc8)},{'label':_0x4b0f41(0xe1),'id':_0x4b0f41(0xd1)},{'label':_0x4b0f41(0xce),'id':_0x4b0f41(0xed)}]}]},{'id':_0x4b0f41(0xd0),'title':_0x4b0f41(0xda),'description':_0x4b0f41(0xf6),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x4b0f41(0xf3),'label':_0x4b0f41(0xcc),'argsKey':_0x4b0f41(0xd4),'data':[{'label':_0x4b0f41(0xc4),'id':_0x4b0f41(0xdc)},{'label':_0x4b0f41(0x104),'id':_0x4b0f41(0xca)},{'label':_0x4b0f41(0xe8),'id':_0x4b0f41(0x107)},{'label':_0x4b0f41(0x102),'id':_0x4b0f41(0xc9)},{'label':_0x4b0f41(0xfd),'id':_0x4b0f41(0x106)},{'label':_0x4b0f41(0xf8),'id':_0x4b0f41(0xf4)},{'label':_0x4b0f41(0xff),'id':_0x4b0f41(0xf9)},{'label':_0x4b0f41(0xe6),'id':_0x4b0f41(0x109)},{'label':_0x4b0f41(0xd7),'id':_0x4b0f41(0xe2)},{'label':_0x4b0f41(0xcd),'id':_0x4b0f41(0x108)}]}]}];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x1890(_0x5724be,_0x590c54){var _0x30bd2b=_0x30bd();return _0x1890=function(_0x189087,_0x2003eb){_0x189087=_0x189087-0x191;var _0x2e75c3=_0x30bd2b[_0x189087];return _0x2e75c3;},_0x1890(_0x5724be,_0x590c54);}var _0x220b74=_0x1890;(function(_0x4aef60,_0x30fd05){var _0x5b1742=_0x1890,_0x1bb2a4=_0x4aef60();while(!![]){try{var _0x6bc9f7=parseInt(_0x5b1742(0x19a))/0x1*(parseInt(_0x5b1742(0x194))/0x2)+parseInt(_0x5b1742(0x19e))/0x3+-parseInt(_0x5b1742(0x19b))/0x4*(parseInt(_0x5b1742(0x197))/0x5)+parseInt(_0x5b1742(0x1a1))/0x6*(parseInt(_0x5b1742(0x193))/0x7)+parseInt(_0x5b1742(0x195))/0x8*(-parseInt(_0x5b1742(0x19d))/0x9)+-parseInt(_0x5b1742(0x191))/0xa*(-parseInt(_0x5b1742(0x192))/0xb)+-parseInt(_0x5b1742(0x19f))/0xc;if(_0x6bc9f7===_0x30fd05)break;else _0x1bb2a4['push'](_0x1bb2a4['shift']());}catch(_0x8c5688){_0x1bb2a4['push'](_0x1bb2a4['shift']());}}}(_0x30bd,0x7d202));function _0x30bd(){var _0x546ef6=['14677608cJPOOq','AIReviewMode','492780fupCJS','1188330fErvIS','88dgQlKq','35Izjcxh','1815224gjvdEE','32ODDbUh','isPremiumPlugin','5gsNBcO','requires','isOfficialPlugin','1jvPHjo','3615764uJvjBh','pluginName','250299geqYHt','1445721Yyleqa'];_0x30bd=function(){return _0x546ef6;};return _0x30bd();}import{ContextPlugin as _0x42cadd}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x4dc060}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x3bfe33}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x53974b}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x42cadd{static get[_0x220b74(0x198)](){return[_0x4dc060,_0x3bfe33,_0x53974b];}static get[_0x220b74(0x19c)](){var _0x50b31c=_0x220b74;return _0x50b31c(0x1a0);}static get[_0x220b74(0x199)](){return!0x0;}static get[_0x220b74(0x196)](){return!0x0;}}
|