@ckeditor/ckeditor5-ai 47.7.1 → 47.7.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/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x596d(){const _0x21f085=['add','aiQuickAction','get','commands','directChange','6vMgVcq','144159uyHWwe','6110478VNptmD','model','AIChat','pluginName','12mDmGwB','1011868ZjZDUs','selection','removeSelectionFromChatContext','document','isPremiumPlugin','AIQuickActionsEditing','32YfMLkD','282JtqKld','editor','init','6102341frRhPy','change:range','4065300dHMErQ','57755CrEEuH','60498gedeOl','8eimEUb','isOfficialPlugin','has','plugins'];_0x596d=function(){return _0x21f085;};return _0x596d();}function _0x4769(_0x47ecdd,_0x397261){const _0x596d89=_0x596d();return _0x4769=function(_0x476931,_0x203dc6){_0x476931=_0x476931-0x18a;let _0x4484dc=_0x596d89[_0x476931];return _0x4484dc;},_0x4769(_0x47ecdd,_0x397261);}const _0xb3313d=_0x4769;(function(_0xb23c56,_0x57d7e9){const _0x2b450b=_0x4769,_0x1db250=_0xb23c56();while(!![]){try{const _0x4144f7=parseInt(_0x2b450b(0x1a7))/0x1*(parseInt(_0x2b450b(0x1a6))/0x2)+-parseInt(_0x2b450b(0x19c))/0x3*(-parseInt(_0x2b450b(0x194))/0x4)+parseInt(_0x2b450b(0x19b))/0x5*(parseInt(_0x2b450b(0x195))/0x6)+-parseInt(_0x2b450b(0x198))/0x7*(parseInt(_0x2b450b(0x19d))/0x8)+parseInt(_0x2b450b(0x1a8))/0x9+-parseInt(_0x2b450b(0x19a))/0xa+-parseInt(_0x2b450b(0x18e))/0xb*(parseInt(_0x2b450b(0x18d))/0xc);if(_0x4144f7===_0x57d7e9)break;else _0x1db250['push'](_0x1db250['shift']());}catch(_0x13dc1d){_0x1db250['push'](_0x1db250['shift']());}}}(_0x596d,0x6cbb3));import{Plugin as _0x58b525}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x17bcbb}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x58b525{static get[_0xb3313d(0x18c)](){const _0x2c32c8=_0xb3313d;return _0x2c32c8(0x193);}static get[_0xb3313d(0x19e)](){return!0x0;}static get[_0xb3313d(0x192)](){return!0x0;}[_0xb3313d(0x197)](){const _0x4d8fdc=_0xb3313d,_0x220b2b=this[_0x4d8fdc(0x196)],_0x33e657=new _0x17bcbb(this[_0x4d8fdc(0x196)]);if(_0x220b2b[_0x4d8fdc(0x1a4)][_0x4d8fdc(0x1a1)](_0x4d8fdc(0x1a2),_0x33e657),_0x220b2b[_0x4d8fdc(0x1a0)][_0x4d8fdc(0x19f)](_0x4d8fdc(0x18b))){const _0x21da63=this[_0x4d8fdc(0x196)][_0x4d8fdc(0x1a0)][_0x4d8fdc(0x1a3)](_0x4d8fdc(0x18b));_0x220b2b[_0x4d8fdc(0x18a)][_0x4d8fdc(0x191)][_0x4d8fdc(0x18f)]['on'](_0x4d8fdc(0x199),(_0x40ec20,_0x399a5)=>{const _0x1d5d5d=_0x4d8fdc;_0x399a5[_0x1d5d5d(0x1a5)]&&_0x21da63[_0x1d5d5d(0x190)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xecefba=_0x3c13;(function(_0x286190,_0x1389c9){const _0x4789e3=_0x3c13,_0x4d977b=_0x286190();while(!![]){try{const _0x18f736=parseInt(_0x4789e3(0xe1))/0x1+parseInt(_0x4789e3(0xba))/0x2+-parseInt(_0x4789e3(0x112))/0x3*(parseInt(_0x4789e3(0x99))/0x4)+-parseInt(_0x4789e3(0xa5))/0x5+-parseInt(_0x4789e3(0xc3))/0x6*(parseInt(_0x4789e3(0x101))/0x7)+-parseInt(_0x4789e3(0x95))/0x8*(parseInt(_0x4789e3(0xd6))/0x9)+-parseInt(_0x4789e3(0x104))/0xa*(-parseInt(_0x4789e3(0xd8))/0xb);if(_0x18f736===_0x1389c9)break;else _0x4d977b['push'](_0x4d977b['shift']());}catch(_0x5eec21){_0x4d977b['push'](_0x4d977b['shift']());}}}(_0x284b,0xe26be));import{IconAIAdjustLength as _0x68ccf,IconAIChangeTone as _0x57876d,IconAIChatCommands as _0x1375e4,IconAIContinueWriting as _0x35a675,IconAIGrammarCheck as _0x5afde5,IconAIImproveWriting as _0x223b32,IconAIOther as _0x5a3c6d,IconAIQuickActions as _0x5bca1b,IconAITranslate as _0x523434}from'@ckeditor/ckeditor5-icons';import{Plugin as _0xc6c7d}from'ckeditor5/src/core.js';import{CKEditorError as _0x5effee,logError as _0x4809a2}from'ckeditor5/src/utils.js';import{getTranslation as _0x497050}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x24b69d}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x2f799d}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x4f3aa5,BalloonToolbar as _0x18bdd7,MenuBarMenuView as _0xb704cf,MenuBarMenuListView as _0x5ae8ab,MenuBarMenuListItemView as _0x30b9f1,MenuBarMenuListItemButtonView as _0x38ee9f}from'ckeditor5/src/ui.js';function _0x3c13(_0x56db22,_0x37b99d){const _0x284bf6=_0x284b();return _0x3c13=function(_0x3c13b0,_0x3b309b){_0x3c13b0=_0x3c13b0-0x86;let _0x49644d=_0x284bf6[_0x3c13b0];return _0x49644d;},_0x3c13(_0x56db22,_0x37b99d);}import{AIModels as _0x1c6f9d}from'../aicore/model/aimodels.js';import{AIConnector as _0xef3921}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0xecefba(0xf2),ie=_0xecefba(0xac),ne=_0xecefba(0xda);export var AIQuickActionType;!function(_0x159e59){const _0x2bacde=_0xecefba;_0x159e59[_0x2bacde(0x96)]=_0x2bacde(0x96),_0x159e59[_0x2bacde(0xef)]=_0x2bacde(0xef),_0x159e59[_0x2bacde(0x114)]=_0x2bacde(0x114);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x474a59){const _0x2e4ec0=_0xecefba;_0x474a59[_0x2e4ec0(0x96)]=_0x2e4ec0(0x10f),_0x474a59[_0x2e4ec0(0xef)]=_0x2e4ec0(0xe7),_0x474a59[_0x2e4ec0(0x114)]=_0x2e4ec0(0xc5);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0xc6c7d{static get[_0xecefba(0x9d)](){return[_0x18bdd7,_0xef3921];}static get[_0xecefba(0xdb)](){const _0x41cacb=_0xecefba;return _0x41cacb(0xc6);}static get[_0xecefba(0xf1)](){return!0x0;}static get[_0xecefba(0xb3)](){return!0x0;}async[_0xecefba(0xe4)](){const _0x140806=_0xecefba,_0x4ab27c=await this[_0x140806(0xe3)]();this[_0x140806(0xfc)](_0x4ab27c),this[_0x140806(0xa7)]();}static[_0xecefba(0x10d)](_0x5ab2a1){return function(_0x1c5f7c){const _0x28679f=_0x3c13,_0x349b06=new Intl[(_0x28679f(0xa8))](['en'],{'type':_0x28679f(0xa1)})['of'](_0x1c5f7c[_0x28679f(0x121)]),_0x2b6f6b=_0x349b06||_0x28679f(0xa2),_0x2fa0a5=[{'id':_0x28679f(0xbc),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xd1)),'type':AIQuickActionType[_0x28679f(0x96)],'icon':_0x1375e4},{'id':_0x28679f(0x125),'label':_0x497050(_0x1c5f7c,_0x28679f(0xd7)),'icon':_0x1375e4,'actions':[{'id':_0x28679f(0xe0),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x124)),'prompt':ee[_0x28679f(0x8f)]('%0',_0x2b6f6b),'type':AIQuickActionType[_0x28679f(0x96)]},{'id':_0x28679f(0x115),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x126)),'prompt':ie[_0x28679f(0x8f)]('%0',_0x2b6f6b),'type':AIQuickActionType[_0x28679f(0x96)]},{'id':_0x28679f(0xcf),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xb0)),'prompt':ne[_0x28679f(0x8f)]('%0',_0x2b6f6b),'type':AIQuickActionType[_0x28679f(0x96)]}]},{'id':_0x28679f(0xbb),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x97)),'type':AIQuickActionType[_0x28679f(0xef)],'icon':_0x223b32},{'id':_0x28679f(0x117),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x9a)),'type':AIQuickActionType[_0x28679f(0xef)],'icon':_0x35a675},{'id':_0x28679f(0xab),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x120)),'type':AIQuickActionType[_0x28679f(0xef)],'icon':_0x5afde5},{'id':_0x28679f(0x11c),'label':_0x497050(_0x1c5f7c,_0x28679f(0xbe)),'icon':_0x68ccf,'actions':[{'id':_0x28679f(0x119),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xb2)),'type':AIQuickActionType[_0x28679f(0xef)]},{'id':_0x28679f(0x105),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xdd)),'type':AIQuickActionType[_0x28679f(0xef)]}]},{'id':_0x28679f(0xae),'label':_0x497050(_0x1c5f7c,_0x28679f(0xd3)),'icon':_0x57876d,'actions':[{'id':_0x28679f(0xd2),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x109)),'type':AIQuickActionType[_0x28679f(0xef)]},{'id':_0x28679f(0x116),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xb7)),'type':AIQuickActionType[_0x28679f(0xef)]},{'id':_0x28679f(0x10e),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xa6)),'type':AIQuickActionType[_0x28679f(0xef)]},{'id':_0x28679f(0xcc),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x11f)),'type':AIQuickActionType[_0x28679f(0xef)]},{'id':_0x28679f(0x11a),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xed)),'type':AIQuickActionType[_0x28679f(0xef)]}]},{'id':_0x28679f(0xb4),'label':_0x497050(_0x1c5f7c,_0x28679f(0xc0)),'icon':_0x523434,'actions':[{'id':_0x28679f(0xde),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x9f)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0x8c)}},{'id':_0x28679f(0xdf),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x102)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0xb5)}},{'id':_0x28679f(0x91),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x90)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0xfb)}},{'id':_0x28679f(0xff),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xc2)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0xf9)}},{'id':_0x28679f(0xe8),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x87)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0xe9)}},{'id':_0x28679f(0x94),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xf7)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0x8e)}},{'id':_0x28679f(0xea),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x106)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0x98)}},{'id':_0x28679f(0x107),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0x11d)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0x10b)}},{'id':_0x28679f(0x122),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xad)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0x103)}},{'id':_0x28679f(0xa0),'displayedPrompt':_0x497050(_0x1c5f7c,_0x28679f(0xe5)),'type':AIQuickActionType[_0x28679f(0xef)],'actionName':_0x28679f(0xb4),'args':{'language':_0x28679f(0xee)}}]},{'id':_0x28679f(0xaa),'label':_0x497050(_0x1c5f7c,_0x28679f(0xf3)),'icon':_0x5a3c6d,'actions':[]}];return _0x2fa0a5;}(_0x5ab2a1);}async[_0xecefba(0xe3)](){const _0x22c7cf=_0xecefba,_0x403636=AIQuickActionsUI[_0x22c7cf(0x10d)](this[_0x22c7cf(0xfe)][_0x22c7cf(0xb9)]),_0x1c1178=this[_0x22c7cf(0xfe)][_0x22c7cf(0xfd)][_0x22c7cf(0x8b)](_0x22c7cf(0x9c))||[];let _0x5bf431=[];try{_0x5bf431=await new _0x1c6f9d({'connector':this[_0x22c7cf(0xfe)][_0x22c7cf(0x8a)][_0x22c7cf(0x8b)](_0x22c7cf(0xcd)),'locale':this[_0x22c7cf(0xfe)][_0x22c7cf(0xb9)]})[_0x22c7cf(0x123)]();}catch(_0x57ecd2){const _0x42c00e=new _0x5effee(_0x22c7cf(0xdc),this,{'error':_0x57ecd2});_0x4809a2(_0x42c00e[_0x22c7cf(0xc7)]);}finally{const _0x20f690=_0x1c1178[_0x22c7cf(0xb6)](_0xe43a86=>({..._0xe43a86,'icon':void 0x0}));_0x403636[_0x22c7cf(0xfa)](_0x501028=>_0x22c7cf(0xaa)===_0x501028['id'])[_0x22c7cf(0xca)][_0x22c7cf(0xce)](..._0x20f690),_0x403636[_0x22c7cf(0x127)](_0x5f0ca9=>{const _0x4e0be0=_0x22c7cf;if(_0x4e0be0(0xca)in _0x5f0ca9)_0x5f0ca9[_0x4e0be0(0xca)][_0x4e0be0(0x127)](_0x59ba74=>{const _0x2ae851=_0x4e0be0;if(_0x59ba74[_0x2ae851(0xa9)]=!!_0x5bf431[_0x2ae851(0xfa)](_0x88ba35=>_0x88ba35['id']===_0x59ba74[_0x2ae851(0xd0)])||void 0x0===_0x59ba74[_0x2ae851(0xd0)],!_0x59ba74[_0x2ae851(0xa9)]){const _0x429422=new _0x5effee(_0x2ae851(0x93),this,{'actionId':_0x59ba74['id'],'modelId':_0x59ba74[_0x2ae851(0xd0)]});_0x4809a2(_0x429422[_0x2ae851(0xc7)]);}});else{if(_0x5f0ca9[_0x4e0be0(0xa9)]=!!_0x5bf431[_0x4e0be0(0xfa)](_0x2fef5a=>_0x2fef5a['id']===_0x5f0ca9[_0x4e0be0(0xd0)])||void 0x0===_0x5f0ca9[_0x4e0be0(0xd0)],!_0x5f0ca9[_0x4e0be0(0xa9)]){const _0x502701=new _0x5effee(_0x4e0be0(0x93),this,{'actionId':_0x5f0ca9['id'],'modelId':_0x5f0ca9[_0x4e0be0(0xd0)]});_0x4809a2(_0x502701[_0x4e0be0(0xc7)]);}}});}return _0x403636;}[_0xecefba(0xa7)](){const _0x39be17=_0xecefba,_0x2984c2=new _0x4f3aa5(this[_0x39be17(0xfe)][_0x39be17(0xb9)]);_0x2984c2[_0x39be17(0x11b)](),this[_0x39be17(0xf5)](_0x2984c2),this[_0x39be17(0xc8)](),this[_0x39be17(0xf0)](_0x2984c2);}[_0xecefba(0xf5)](_0x16018c){const _0x4cca6e=_0xecefba,_0x5953df=this[_0x4cca6e(0xfe)][_0x4cca6e(0xfd)][_0x4cca6e(0x8b)](_0x4cca6e(0x100))??!0x0;this[_0x4cca6e(0xfe)]['ui'][_0x4cca6e(0x92)][_0x4cca6e(0xb1)](_0x4cca6e(0x10c),_0x24b69d({'editor':this[_0x4cca6e(0xfe)],'content':this[_0x4cca6e(0x113)],'buttonDefinition':{'icon':_0x5bca1b,'label':_0x497050(this[_0x4cca6e(0xfe)][_0x4cca6e(0xb9)],_0x4cca6e(0x9b))},'bodyCollection':_0x16018c,'hasSearch':_0x5953df}));}[_0xecefba(0xfc)](_0x188114){const _0x1c240c=_0xecefba;this[_0x1c240c(0x113)]=_0x188114[_0x1c240c(0xb6)](_0x3a2858=>{const _0x158df0=_0x1c240c;if(_0x158df0(0xca)in _0x3a2858){const _0x12362a=_0x3a2858;return{..._0x12362a,'actions':_0x12362a[_0x158df0(0xca)][_0x158df0(0xb6)](_0x20c372=>{const {actions:_0x4d346b,..._0x5c3151}=_0x12362a;return{..._0x20c372,'parent':_0x5c3151};})[_0x158df0(0xbd)](_0x1a332e=>this[_0x158df0(0x11e)](_0x1a332e))};}return _0x3a2858;})[_0x1c240c(0xbd)](_0x3cce85=>_0x1c240c(0xca)in _0x3cce85?_0x3cce85[_0x1c240c(0xca)][_0x1c240c(0xb8)]>0x0:this[_0x1c240c(0x11e)](_0x3cce85));}[_0xecefba(0x11e)](_0x3ef928){const _0x148779=_0xecefba,_0x5c5dae=this[_0x148779(0xfe)][_0x148779(0xfd)][_0x148779(0x8b)](_0x148779(0x118))||[];return this[_0x148779(0xfe)][_0x148779(0x8a)][_0x148779(0xd5)](AIQuickActionTypeToPluginName[_0x3ef928[_0x148779(0xaf)]])&&!_0x5c5dae[_0x148779(0x89)](_0x3ef928['id'])&&!(_0x3ef928[_0x148779(0xaf)]===AIQuickActionType[_0x148779(0x96)]&&!0x1===this[_0x148779(0xfe)][_0x148779(0xfd)][_0x148779(0x8b)](_0x148779(0x9e)));}[_0xecefba(0xf0)](_0x26dde9){const _0xc3780=_0xecefba;this[_0xc3780(0x113)][_0xc3780(0x127)](_0x40127b=>{const _0x28613b=_0xc3780;if(_0x28613b(0xca)in _0x40127b){const _0xef4a04=_0x24b69d({'editor':this[_0x28613b(0xfe)],'content':_0x40127b[_0x28613b(0xca)],'buttonDefinition':_0x40127b,'bodyCollection':_0x26dde9});this[_0x28613b(0xfe)]['ui'][_0x28613b(0x92)][_0x28613b(0xb1)](_0x40127b['id'],_0xef4a04),_0x40127b[_0x28613b(0xca)][_0x28613b(0x127)](_0x5be72a=>{const _0x4f003d=_0x28613b,_0x71b46=_0x2f799d({'editor':this[_0x4f003d(0xfe)],'action':_0x5be72a});this[_0x4f003d(0xfe)]['ui'][_0x4f003d(0x92)][_0x4f003d(0xb1)](_0x5be72a['id'],_0x71b46);});}else{const _0x435bd8=_0x2f799d({'editor':this[_0x28613b(0xfe)],'action':_0x40127b,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x28613b(0xfe)]['ui'][_0x28613b(0x92)][_0x28613b(0xb1)](_0x40127b['id'],_0x435bd8);}});}[_0xecefba(0xc8)](){const _0x104e28=_0xecefba;this[_0x104e28(0xfe)]['ui'][_0x104e28(0x92)][_0x104e28(0xb1)](_0x104e28(0xeb),_0x58483d=>{const _0x7c80fc=_0x104e28,_0x2b9139=new _0xb704cf(_0x58483d),_0x3b01a3=_0x497050(_0x58483d,_0x7c80fc(0x9b));_0x2b9139[_0x7c80fc(0x108)][_0x7c80fc(0x10a)]({'label':_0x3b01a3,'icon':_0x5bca1b});const _0x2c15df=new _0x5ae8ab(_0x58483d);_0x2c15df[_0x7c80fc(0x10a)]({'ariaLabel':_0x3b01a3,'role':_0x7c80fc(0x110)}),this[_0x7c80fc(0x113)][_0x7c80fc(0x127)](_0x5a4a3f=>{const _0x3de1f7=_0x7c80fc;if(_0x3de1f7(0xca)in _0x5a4a3f){const _0x18f5c6=_0x5a4a3f,_0x311d07=new _0x30b9f1(_0x58483d,_0x2b9139),_0x1f506a=new _0xb704cf(_0x58483d),_0x50815c=new _0x5ae8ab(_0x58483d);_0x1f506a[_0x3de1f7(0x108)][_0x3de1f7(0x10a)]({'label':_0x18f5c6[_0x3de1f7(0xe6)],'icon':_0x18f5c6[_0x3de1f7(0x88)]}),_0x18f5c6[_0x3de1f7(0xca)][_0x3de1f7(0x127)](_0x5ed170=>{const _0x2f02d1=_0x3de1f7,_0x41869f=new _0x30b9f1(_0x58483d,_0x1f506a),_0x236651=new _0x38ee9f(_0x58483d);_0x236651[_0x2f02d1(0x10a)]({'label':_0x5ed170[_0x2f02d1(0xf4)],'icon':_0x5ed170[_0x2f02d1(0x88)],'role':_0x2f02d1(0xa4),'isEnabled':_0x5ed170[_0x2f02d1(0xa9)]}),_0x236651['on'](_0x2f02d1(0xd4),()=>{const _0x43fced=_0x2f02d1;this[_0x43fced(0xd9)](_0x5ed170);}),_0x236651[_0x2f02d1(0xec)](_0x2f02d1(0xd4))['to'](_0x1f506a),_0x41869f[_0x2f02d1(0xc1)][_0x2f02d1(0xb1)](_0x236651),_0x50815c[_0x2f02d1(0xc4)][_0x2f02d1(0xb1)](_0x41869f);}),_0x1f506a[_0x3de1f7(0xe2)][_0x3de1f7(0xc1)][_0x3de1f7(0xb1)](_0x50815c),_0x311d07[_0x3de1f7(0xc1)][_0x3de1f7(0xb1)](_0x1f506a),_0x2c15df[_0x3de1f7(0xc4)][_0x3de1f7(0xb1)](_0x311d07);}else{const _0x1778ea=_0x5a4a3f,_0x2657f4=new _0x30b9f1(_0x58483d,_0x2b9139),_0x3717ec=new _0x38ee9f(_0x58483d);_0x3717ec[_0x3de1f7(0x10a)]({'label':_0x1778ea[_0x3de1f7(0xf4)],'icon':_0x1778ea[_0x3de1f7(0x88)],'role':_0x3de1f7(0xa4),'isEnabled':_0x1778ea[_0x3de1f7(0xa9)]}),_0x3717ec['on'](_0x3de1f7(0xd4),()=>{const _0x33b83b=_0x3de1f7;this[_0x33b83b(0xd9)](_0x1778ea);}),_0x3717ec[_0x3de1f7(0xec)](_0x3de1f7(0xd4))['to'](_0x2b9139),_0x2657f4[_0x3de1f7(0xc1)][_0x3de1f7(0xb1)](_0x3717ec),_0x2c15df[_0x3de1f7(0xc4)][_0x3de1f7(0xb1)](_0x2657f4);}});const _0x3a666e=Object[_0x7c80fc(0xc9)](AIQuickActionTypeToPluginName)[_0x7c80fc(0xf6)](_0x4a09d2=>this[_0x7c80fc(0xfe)][_0x7c80fc(0x8a)][_0x7c80fc(0xd5)](_0x4a09d2));return _0x2b9139[_0x7c80fc(0x10a)]({'isEnabled':_0x3a666e}),_0x2b9139[_0x7c80fc(0xe2)][_0x7c80fc(0xc1)][_0x7c80fc(0xb1)](_0x2c15df),_0x2b9139;});}[_0xecefba(0xd9)](_0x31dd8a){const _0x458fba=_0xecefba,_0x2a3953=this[_0x458fba(0xfe)];_0x2a3953[_0x458fba(0xbf)][_0x458fba(0x86)][_0x458fba(0x111)](),_0x2a3953[_0x458fba(0xf8)][_0x458fba(0xd4)](_0x458fba(0xa3),_0x31dd8a);const _0x16d449=_0x2a3953['ui'][_0x458fba(0x86)][_0x458fba(0xcb)];_0x16d449&&_0x16d449[_0x458fba(0x8d)]&&_0x16d449[_0x458fba(0x8d)]();}}function _0x284b(){const _0x5a84ae=['chinese','map','AI_QUICK_ACTIONS_MORE_DIRECT','length','locale','1089874PizWNg','improve-writing','ask-ai','filter','AI_QUICK_ACTIONS_ADJUST_LENGTH','editing','AI_QUICK_ACTIONS_TRANSLATE','children','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','679182kzLKEr','items','AIReviewMode','AIQuickActionsUI','message','_initializeQuickActionsMenuBar','values','actions','menuBarView','make-tone-confident','AIConnector','push','highlight-key-points','model','AI_QUICK_ACTIONS_ASK_AI','make-tone-casual','AI_QUICK_ACTIONS_CHANGE_TONE','execute','has','1575jSfojp','AI_QUICK_ACTIONS_CHAT_COMMANDS','3014bOoyMc','_executeQuickAction','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','pluginName','ai-quick-actions-models-unable-to-retrieve','AI_QUICK_ACTIONS_MAKE_LONGER','translate-to-english','translate-to-chinese','explain','315945AwoOOf','panelView','_getDefaultAndCustomActions','init','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','label','AIActions','translate-to-french','french','translate-to-portuguese','menuBar:aiQuickActions','delegate','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','russian','ACTION','_initializeQuickActionsComponents','isOfficialPlugin','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_OTHER','displayedPrompt','_initializeQuickActionsDropdown','some','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','commands','german','find','spanish','_prepareQuickActionsDefinition','config','editor','translate-to-german','ai.quickActions.isSearchEnabled','49sdIMId','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','italian','88670AhwtSe','make-longer','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','translate-to-korean','buttonView','AI_QUICK_ACTIONS_MORE_CASUAL','set','korean','aiQuickActions','getDefaultQuickActions','make-tone-friendly','AIChat','menu','focus','3ETBSCs','_quickActionsDefinition','REVIEW','summarize','make-tone-direct','continue','ai.quickActions.removeCommands','make-shorter','make-tone-professional','attachToDom','adjust-length','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','_shouldIncludeAction','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','uiLanguage','translate-to-italian','getAll','AI_QUICK_ACTIONS_EXPLAIN','chat-commands','AI_QUICK_ACTIONS_SUMMARIZE','forEach','view','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','icon','includes','plugins','get','english','close','japanese','replace','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','translate-to-spanish','componentFactory','ai-quick-actions-unavailable-model','translate-to-japanese','32024HjcJGy','CHAT','AI_QUICK_ACTIONS_IMPROVE_WRITING','portuguese','1451896gxiign','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_HEADING','ai.quickActions.extraCommands','requires','ai.chat.context.document.enabled','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','translate-to-russian','language','English','aiQuickAction','menuitem','2535700KzuodG','AI_QUICK_ACTIONS_MORE_FRIENDLY','_initializeQuickActionsComponentsAndCommands','DisplayNames','isEnabled','other','fix-grammar','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','change-tone','type','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','add','AI_QUICK_ACTIONS_MAKE_SHORTER','isPremiumPlugin','translate'];_0x284b=function(){return _0x5a84ae;};return _0x284b();}
|
|
23
|
+
const _0x332c23=_0x2ccc;(function(_0x3556a9,_0x19a833){const _0x4ffe2b=_0x2ccc,_0x212c60=_0x3556a9();while(!![]){try{const _0x3ad484=parseInt(_0x4ffe2b(0x1e1))/0x1*(-parseInt(_0x4ffe2b(0x1db))/0x2)+parseInt(_0x4ffe2b(0x1fa))/0x3*(parseInt(_0x4ffe2b(0x1f4))/0x4)+parseInt(_0x4ffe2b(0x1cf))/0x5+parseInt(_0x4ffe2b(0x1e9))/0x6*(parseInt(_0x4ffe2b(0x1d5))/0x7)+parseInt(_0x4ffe2b(0x1e8))/0x8*(parseInt(_0x4ffe2b(0x231))/0x9)+parseInt(_0x4ffe2b(0x221))/0xa+-parseInt(_0x4ffe2b(0x243))/0xb;if(_0x3ad484===_0x19a833)break;else _0x212c60['push'](_0x212c60['shift']());}catch(_0x21c0c6){_0x212c60['push'](_0x212c60['shift']());}}}(_0x4928,0xdbb9e));import{IconAIAdjustLength as _0x557265,IconAIChangeTone as _0x5c8e41,IconAIChatCommands as _0x27788d,IconAIContinueWriting as _0x46a027,IconAIGrammarCheck as _0x27d4db,IconAIImproveWriting as _0x2b6e2d,IconAIOther as _0x492433,IconAIQuickActions as _0x43d553,IconAITranslate as _0x23e066}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x1bea86}from'ckeditor5/src/core.js';import{CKEditorError as _0x5bec33,logError as _0x42458c}from'ckeditor5/src/utils.js';import{getTranslation as _0x23ce49}from'../aicore/utils/common-translations.js';function _0x2ccc(_0x3d1459,_0x560861){const _0x4928b2=_0x4928();return _0x2ccc=function(_0x2cccbc,_0x10f37e){_0x2cccbc=_0x2cccbc-0x1ca;let _0x52db27=_0x4928b2[_0x2cccbc];return _0x52db27;},_0x2ccc(_0x3d1459,_0x560861);}import{aiQuickActionsDropdownCreator as _0x55546c}from'./ui/aiquickactionsdropdowncreator.js';function _0x4928(){const _0x157b05=['AI_QUICK_ACTIONS_TRANSLATE_SPANISH','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','_prepareQuickActionsDefinition','getAll','focus','_initializeQuickActionsMenuBar','config','AI_QUICK_ACTIONS_TRANSLATE','translate-to-chinese','german','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','ai.quickActions.removeCommands','_quickActionsDefinition','ai-quick-actions-unavailable-model','displayedPrompt','panelView','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','_initializeQuickActionsComponents','_initializeQuickActionsComponentsAndCommands','french','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','make-shorter','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','make-longer','pluginName','_initializeQuickActionsDropdown','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_MORE_DIRECT','english','commands','buttonView','translate-to-portuguese','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','get','7958480JGFxMc','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_ASK_AI','find','_executeQuickAction','model','message','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','_getDefaultAndCustomActions','translate-to-japanese','portuguese','set','translate-to-french','AI_QUICK_ACTIONS_MAKE_LONGER','init','126TwDMUc','ai-quick-actions-models-unable-to-retrieve','AIReviewMode','AI_QUICK_ACTIONS_EXPLAIN','add','fix-grammar','uiLanguage','translate-to-italian','chinese','filter','getDefaultQuickActions','translate','has','make-tone-professional','korean','translate-to-spanish','japanese','type','56754137VhZSie','plugins','map','language','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AI_QUICK_ACTIONS_IMPROVE_WRITING','componentFactory','AIActions','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','adjust-length','AI_QUICK_ACTIONS_CONTINUE_WRITING','values','menuBarView','ACTION','improve-writing','aiQuickActions','chat-commands','attachToDom','italian','isEnabled','requires','make-tone-casual','spanish','DisplayNames','label','includes','AI_QUICK_ACTIONS_MORE_CASUAL','translate-to-korean','REVIEW','translate-to-german','English','change-tone','_shouldIncludeAction','translate-to-russian','children','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','menuitem','AI_QUICK_ACTIONS_MAKE_SHORTER','aiQuickAction','length','locale','close','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','CHAT','7499140iNJrBd','make-tone-friendly','AI_QUICK_ACTIONS_SUMMARIZE','translate-to-english','delegate','continue','10060351HMMvsf','russian','summarize','AI_QUICK_ACTIONS_CHAT_COMMANDS','editor','AIQuickActionsUI','771004EOwdvS','isOfficialPlugin','other','ai.chat.context.document.enabled','menuBar:aiQuickActions','highlight-key-points','2IhEPqh','AI_QUICK_ACTIONS_OTHER','forEach','editing','some','view','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','819344FPaKhP','6NgJYMk','push','make-tone-confident','menu','explain','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','AIConnector','ai.quickActions.isSearchEnabled','AIChat','ask-ai','execute','4sGAGhm','icon','replace','isPremiumPlugin','make-tone-direct','items','4991244irbfjH','actions'];_0x4928=function(){return _0x157b05;};return _0x4928();}import{aiQuickActionsButtonCreator as _0x2c1156}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x3be191,BalloonToolbar as _0x387e4f,MenuBarMenuView as _0x4936f8,MenuBarMenuListView as _0x3f2803,MenuBarMenuListItemView as _0x3d2684,MenuBarMenuListItemButtonView as _0x5a135c}from'ckeditor5/src/ui.js';import{AIModels as _0x2163c0}from'../aicore/model/aimodels.js';import{AIConnector as _0x3ec9b0}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x332c23(0x268),ie=_0x332c23(0x1fd),ne=_0x332c23(0x229);export var AIQuickActionType;!function(_0x785045){const _0x53ed15=_0x332c23;_0x785045[_0x53ed15(0x1ce)]=_0x53ed15(0x1ce),_0x785045[_0x53ed15(0x252)]=_0x53ed15(0x252),_0x785045[_0x53ed15(0x261)]=_0x53ed15(0x261);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x2d27bc){const _0x23c549=_0x332c23;_0x2d27bc[_0x23c549(0x1ce)]=_0x23c549(0x1f1),_0x2d27bc[_0x23c549(0x252)]=_0x23c549(0x24b),_0x2d27bc[_0x23c549(0x261)]=_0x23c549(0x233);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x1bea86{static get[_0x332c23(0x259)](){return[_0x387e4f,_0x3ec9b0];}static get[_0x332c23(0x216)](){const _0x51c094=_0x332c23;return _0x51c094(0x1da);}static get[_0x332c23(0x1dc)](){return!0x0;}static get[_0x332c23(0x1f7)](){return!0x0;}async[_0x332c23(0x230)](){const _0x44bbb1=_0x332c23,_0x2c188e=await this[_0x44bbb1(0x22a)]();this[_0x44bbb1(0x1fe)](_0x2c188e),this[_0x44bbb1(0x210)]();}static[_0x332c23(0x23b)](_0x2a683e){return function(_0x5b0829){const _0x43c982=_0x2ccc,_0x1a167d=new Intl[(_0x43c982(0x25c))](['en'],{'type':_0x43c982(0x246)})['of'](_0x5b0829[_0x43c982(0x237)]),_0x4f8c8f=_0x1a167d||_0x43c982(0x263),_0x5509ea=[{'id':_0x43c982(0x1f2),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x224)),'type':AIQuickActionType[_0x43c982(0x1ce)],'icon':_0x27788d},{'id':_0x43c982(0x255),'label':_0x23ce49(_0x5b0829,_0x43c982(0x1d8)),'icon':_0x27788d,'actions':[{'id':_0x43c982(0x1ed),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x234)),'prompt':ee[_0x43c982(0x1f6)]('%0',_0x4f8c8f),'type':AIQuickActionType[_0x43c982(0x1ce)]},{'id':_0x43c982(0x1d7),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x1d1)),'prompt':ie[_0x43c982(0x1f6)]('%0',_0x4f8c8f),'type':AIQuickActionType[_0x43c982(0x1ce)]},{'id':_0x43c982(0x1e0),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x1ee)),'prompt':ne[_0x43c982(0x1f6)]('%0',_0x4f8c8f),'type':AIQuickActionType[_0x43c982(0x1ce)]}]},{'id':_0x43c982(0x253),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x249)),'type':AIQuickActionType[_0x43c982(0x252)],'icon':_0x2b6e2d},{'id':_0x43c982(0x1d4),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x24f)),'type':AIQuickActionType[_0x43c982(0x252)],'icon':_0x46a027},{'id':_0x43c982(0x236),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x248)),'type':AIQuickActionType[_0x43c982(0x252)],'icon':_0x27d4db},{'id':_0x43c982(0x24e),'label':_0x23ce49(_0x5b0829,_0x43c982(0x24c)),'icon':_0x557265,'actions':[{'id':_0x43c982(0x213),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x26a)),'type':AIQuickActionType[_0x43c982(0x252)]},{'id':_0x43c982(0x215),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x22f)),'type':AIQuickActionType[_0x43c982(0x252)]}]},{'id':_0x43c982(0x264),'label':_0x23ce49(_0x5b0829,_0x43c982(0x21e)),'icon':_0x5c8e41,'actions':[{'id':_0x43c982(0x25a),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x25f)),'type':AIQuickActionType[_0x43c982(0x252)]},{'id':_0x43c982(0x1f8),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x219)),'type':AIQuickActionType[_0x43c982(0x252)]},{'id':_0x43c982(0x1d0),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x222)),'type':AIQuickActionType[_0x43c982(0x252)]},{'id':_0x43c982(0x1eb),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x223)),'type':AIQuickActionType[_0x43c982(0x252)]},{'id':_0x43c982(0x23e),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x20e)),'type':AIQuickActionType[_0x43c982(0x252)]}]},{'id':_0x43c982(0x23c),'label':_0x23ce49(_0x5b0829,_0x43c982(0x203)),'icon':_0x23e066,'actions':[{'id':_0x43c982(0x1d2),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x24d)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x21a)}},{'id':_0x43c982(0x204),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x1cd)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x239)}},{'id':_0x43c982(0x240),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x1fc)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x25b)}},{'id':_0x43c982(0x262),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x1e7)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x205)}},{'id':_0x43c982(0x22e),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x247)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x211)}},{'id':_0x43c982(0x22b),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x206)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x241)}},{'id':_0x43c982(0x21d),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x21f)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x22c)}},{'id':_0x43c982(0x260),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x212)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x23f)}},{'id':_0x43c982(0x238),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x20c)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x257)}},{'id':_0x43c982(0x266),'displayedPrompt':_0x23ce49(_0x5b0829,_0x43c982(0x214)),'type':AIQuickActionType[_0x43c982(0x252)],'actionName':_0x43c982(0x23c),'args':{'language':_0x43c982(0x1d6)}}]},{'id':_0x43c982(0x1dd),'label':_0x23ce49(_0x5b0829,_0x43c982(0x1e2)),'icon':_0x492433,'actions':[]}];return _0x5509ea;}(_0x2a683e);}async[_0x332c23(0x22a)](){const _0x476527=_0x332c23,_0x5a6684=AIQuickActionsUI[_0x476527(0x23b)](this[_0x476527(0x1d9)][_0x476527(0x1cb)]),_0x5a88c5=this[_0x476527(0x1d9)][_0x476527(0x202)][_0x476527(0x220)](_0x476527(0x218))||[];let _0x3e8058=[];try{_0x3e8058=await new _0x2163c0({'connector':this[_0x476527(0x1d9)][_0x476527(0x244)][_0x476527(0x220)](_0x476527(0x1ef)),'locale':this[_0x476527(0x1d9)][_0x476527(0x1cb)]})[_0x476527(0x1ff)]();}catch(_0x4e116b){const _0x4d4980=new _0x5bec33(_0x476527(0x232),this,{'error':_0x4e116b});_0x42458c(_0x4d4980[_0x476527(0x228)]);}finally{const _0x2dc92f=_0x5a88c5[_0x476527(0x245)](_0x418d3c=>({..._0x418d3c,'icon':void 0x0}));_0x5a6684[_0x476527(0x225)](_0x1fc899=>_0x476527(0x1dd)===_0x1fc899['id'])[_0x476527(0x1fb)][_0x476527(0x1ea)](..._0x2dc92f),_0x5a6684[_0x476527(0x1e3)](_0x213eec=>{const _0x480900=_0x476527;if(_0x480900(0x1fb)in _0x213eec)_0x213eec[_0x480900(0x1fb)][_0x480900(0x1e3)](_0x1eebcf=>{const _0x44cb25=_0x480900;if(_0x1eebcf[_0x44cb25(0x258)]=!!_0x3e8058[_0x44cb25(0x225)](_0x17fba8=>_0x17fba8['id']===_0x1eebcf[_0x44cb25(0x227)])||void 0x0===_0x1eebcf[_0x44cb25(0x227)],!_0x1eebcf[_0x44cb25(0x258)]){const _0x683c20=new _0x5bec33(_0x44cb25(0x209),this,{'actionId':_0x1eebcf['id'],'modelId':_0x1eebcf[_0x44cb25(0x227)]});_0x42458c(_0x683c20[_0x44cb25(0x228)]);}});else{if(_0x213eec[_0x480900(0x258)]=!!_0x3e8058[_0x480900(0x225)](_0x39ec82=>_0x39ec82['id']===_0x213eec[_0x480900(0x227)])||void 0x0===_0x213eec[_0x480900(0x227)],!_0x213eec[_0x480900(0x258)]){const _0x28e00b=new _0x5bec33(_0x480900(0x209),this,{'actionId':_0x213eec['id'],'modelId':_0x213eec[_0x480900(0x227)]});_0x42458c(_0x28e00b[_0x480900(0x228)]);}}});}return _0x5a6684;}[_0x332c23(0x210)](){const _0xe718e0=_0x332c23,_0x169256=new _0x3be191(this[_0xe718e0(0x1d9)][_0xe718e0(0x1cb)]);_0x169256[_0xe718e0(0x256)](),this[_0xe718e0(0x217)](_0x169256),this[_0xe718e0(0x201)](),this[_0xe718e0(0x20f)](_0x169256);}[_0x332c23(0x217)](_0x9b2408){const _0x690eb9=_0x332c23,_0x2ae991=this[_0x690eb9(0x1d9)][_0x690eb9(0x202)][_0x690eb9(0x220)](_0x690eb9(0x1f0))??!0x0;this[_0x690eb9(0x1d9)]['ui'][_0x690eb9(0x24a)][_0x690eb9(0x235)](_0x690eb9(0x254),_0x55546c({'editor':this[_0x690eb9(0x1d9)],'content':this[_0x690eb9(0x208)],'buttonDefinition':{'icon':_0x43d553,'label':_0x23ce49(this[_0x690eb9(0x1d9)][_0x690eb9(0x1cb)],_0x690eb9(0x20d))},'bodyCollection':_0x9b2408,'hasSearch':_0x2ae991}));}[_0x332c23(0x1fe)](_0xb7ad6f){const _0x58334e=_0x332c23;this[_0x58334e(0x208)]=_0xb7ad6f[_0x58334e(0x245)](_0x4360e0=>{const _0x3b559c=_0x58334e;if(_0x3b559c(0x1fb)in _0x4360e0){const _0x4975de=_0x4360e0;return{..._0x4975de,'actions':_0x4975de[_0x3b559c(0x1fb)][_0x3b559c(0x245)](_0xd509fe=>{const {actions:_0x2c2b9a,..._0x2c47d7}=_0x4975de;return{..._0xd509fe,'parent':_0x2c47d7};})[_0x3b559c(0x23a)](_0x49bcbd=>this[_0x3b559c(0x265)](_0x49bcbd))};}return _0x4360e0;})[_0x58334e(0x23a)](_0x37b7a3=>_0x58334e(0x1fb)in _0x37b7a3?_0x37b7a3[_0x58334e(0x1fb)][_0x58334e(0x1ca)]>0x0:this[_0x58334e(0x265)](_0x37b7a3));}[_0x332c23(0x265)](_0x29f5f0){const _0x5c1f5e=_0x332c23,_0x51eced=this[_0x5c1f5e(0x1d9)][_0x5c1f5e(0x202)][_0x5c1f5e(0x220)](_0x5c1f5e(0x207))||[];return this[_0x5c1f5e(0x1d9)][_0x5c1f5e(0x244)][_0x5c1f5e(0x23d)](AIQuickActionTypeToPluginName[_0x29f5f0[_0x5c1f5e(0x242)]])&&!_0x51eced[_0x5c1f5e(0x25e)](_0x29f5f0['id'])&&!(_0x29f5f0[_0x5c1f5e(0x242)]===AIQuickActionType[_0x5c1f5e(0x1ce)]&&!0x1===this[_0x5c1f5e(0x1d9)][_0x5c1f5e(0x202)][_0x5c1f5e(0x220)](_0x5c1f5e(0x1de)));}[_0x332c23(0x20f)](_0x156666){const _0x235808=_0x332c23;this[_0x235808(0x208)][_0x235808(0x1e3)](_0x19f9c0=>{const _0x3a121f=_0x235808;if(_0x3a121f(0x1fb)in _0x19f9c0){const _0x2d8426=_0x55546c({'editor':this[_0x3a121f(0x1d9)],'content':_0x19f9c0[_0x3a121f(0x1fb)],'buttonDefinition':_0x19f9c0,'bodyCollection':_0x156666});this[_0x3a121f(0x1d9)]['ui'][_0x3a121f(0x24a)][_0x3a121f(0x235)](_0x19f9c0['id'],_0x2d8426),_0x19f9c0[_0x3a121f(0x1fb)][_0x3a121f(0x1e3)](_0x419b3c=>{const _0x13a9d1=_0x3a121f,_0x1bc27a=_0x2c1156({'editor':this[_0x13a9d1(0x1d9)],'action':_0x419b3c});this[_0x13a9d1(0x1d9)]['ui'][_0x13a9d1(0x24a)][_0x13a9d1(0x235)](_0x419b3c['id'],_0x1bc27a);});}else{const _0x3f3476=_0x2c1156({'editor':this[_0x3a121f(0x1d9)],'action':_0x19f9c0,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x3a121f(0x1d9)]['ui'][_0x3a121f(0x24a)][_0x3a121f(0x235)](_0x19f9c0['id'],_0x3f3476);}});}[_0x332c23(0x201)](){const _0x301011=_0x332c23;this[_0x301011(0x1d9)]['ui'][_0x301011(0x24a)][_0x301011(0x235)](_0x301011(0x1df),_0x5d84ca=>{const _0x58ba12=_0x301011,_0x33d92f=new _0x4936f8(_0x5d84ca),_0x2f0717=_0x23ce49(_0x5d84ca,_0x58ba12(0x20d));_0x33d92f[_0x58ba12(0x21c)][_0x58ba12(0x22d)]({'label':_0x2f0717,'icon':_0x43d553});const _0x51d2c3=new _0x3f2803(_0x5d84ca);_0x51d2c3[_0x58ba12(0x22d)]({'ariaLabel':_0x2f0717,'role':_0x58ba12(0x1ec)}),this[_0x58ba12(0x208)][_0x58ba12(0x1e3)](_0x1ddb1=>{const _0x46d207=_0x58ba12;if(_0x46d207(0x1fb)in _0x1ddb1){const _0xd2d0b1=_0x1ddb1,_0xb9e9f3=new _0x3d2684(_0x5d84ca,_0x33d92f),_0x23258e=new _0x4936f8(_0x5d84ca),_0x474dca=new _0x3f2803(_0x5d84ca);_0x23258e[_0x46d207(0x21c)][_0x46d207(0x22d)]({'label':_0xd2d0b1[_0x46d207(0x25d)],'icon':_0xd2d0b1[_0x46d207(0x1f5)]}),_0xd2d0b1[_0x46d207(0x1fb)][_0x46d207(0x1e3)](_0x2631b4=>{const _0x4f27ec=_0x46d207,_0x81f81c=new _0x3d2684(_0x5d84ca,_0x23258e),_0x2beea5=new _0x5a135c(_0x5d84ca);_0x2beea5[_0x4f27ec(0x22d)]({'label':_0x2631b4[_0x4f27ec(0x20a)],'icon':_0x2631b4[_0x4f27ec(0x1f5)],'role':_0x4f27ec(0x269),'isEnabled':_0x2631b4[_0x4f27ec(0x258)]}),_0x2beea5['on'](_0x4f27ec(0x1f3),()=>{const _0xee17ca=_0x4f27ec;this[_0xee17ca(0x226)](_0x2631b4);}),_0x2beea5[_0x4f27ec(0x1d3)](_0x4f27ec(0x1f3))['to'](_0x23258e),_0x81f81c[_0x4f27ec(0x267)][_0x4f27ec(0x235)](_0x2beea5),_0x474dca[_0x4f27ec(0x1f9)][_0x4f27ec(0x235)](_0x81f81c);}),_0x23258e[_0x46d207(0x20b)][_0x46d207(0x267)][_0x46d207(0x235)](_0x474dca),_0xb9e9f3[_0x46d207(0x267)][_0x46d207(0x235)](_0x23258e),_0x51d2c3[_0x46d207(0x1f9)][_0x46d207(0x235)](_0xb9e9f3);}else{const _0xaa07c0=_0x1ddb1,_0x54b0c1=new _0x3d2684(_0x5d84ca,_0x33d92f),_0x207ea7=new _0x5a135c(_0x5d84ca);_0x207ea7[_0x46d207(0x22d)]({'label':_0xaa07c0[_0x46d207(0x20a)],'icon':_0xaa07c0[_0x46d207(0x1f5)],'role':_0x46d207(0x269),'isEnabled':_0xaa07c0[_0x46d207(0x258)]}),_0x207ea7['on'](_0x46d207(0x1f3),()=>{const _0x16b9c0=_0x46d207;this[_0x16b9c0(0x226)](_0xaa07c0);}),_0x207ea7[_0x46d207(0x1d3)](_0x46d207(0x1f3))['to'](_0x33d92f),_0x54b0c1[_0x46d207(0x267)][_0x46d207(0x235)](_0x207ea7),_0x51d2c3[_0x46d207(0x1f9)][_0x46d207(0x235)](_0x54b0c1);}});const _0x2ff44b=Object[_0x58ba12(0x250)](AIQuickActionTypeToPluginName)[_0x58ba12(0x1e5)](_0x5229b1=>this[_0x58ba12(0x1d9)][_0x58ba12(0x244)][_0x58ba12(0x23d)](_0x5229b1));return _0x33d92f[_0x58ba12(0x22d)]({'isEnabled':_0x2ff44b}),_0x33d92f[_0x58ba12(0x20b)][_0x58ba12(0x267)][_0x58ba12(0x235)](_0x51d2c3),_0x33d92f;});}[_0x332c23(0x226)](_0x59e723){const _0x42f4d4=_0x332c23,_0x3a28c9=this[_0x42f4d4(0x1d9)];_0x3a28c9[_0x42f4d4(0x1e4)][_0x42f4d4(0x1e6)][_0x42f4d4(0x200)](),_0x3a28c9[_0x42f4d4(0x21b)][_0x42f4d4(0x1f3)](_0x42f4d4(0x26b),_0x59e723);const _0x4b9b90=_0x3a28c9['ui'][_0x42f4d4(0x1e6)][_0x42f4d4(0x251)];_0x4b9b90&&_0x4b9b90[_0x42f4d4(0x1cc)]&&_0x4b9b90[_0x42f4d4(0x1cc)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xc39a(_0x510e6d,_0x1d1f08){const _0x22b253=_0x22b2();return _0xc39a=function(_0xc39a7f,_0x52611f){_0xc39a7f=_0xc39a7f-0xa9;let _0x459603=_0x22b253[_0xc39a7f];return _0x459603;},_0xc39a(_0x510e6d,_0x1d1f08);}(function(_0x13b67f,_0x40467c){const _0x50151c=_0xc39a,_0x323113=_0x13b67f();while(!![]){try{const _0x1d7c79=-parseInt(_0x50151c(0xaf))/0x1+parseInt(_0x50151c(0xb0))/0x2*(parseInt(_0x50151c(0xb2))/0x3)+parseInt(_0x50151c(0xae))/0x4*(parseInt(_0x50151c(0xb6))/0x5)+-parseInt(_0x50151c(0xba))/0x6+-parseInt(_0x50151c(0xbb))/0x7+-parseInt(_0x50151c(0xab))/0x8*(parseInt(_0x50151c(0xb7))/0x9)+parseInt(_0x50151c(0xbe))/0xa;if(_0x1d7c79===_0x40467c)break;else _0x323113['push'](_0x323113['shift']());}catch(_0x354195){_0x323113['push'](_0x323113['shift']());}}}(_0x22b2,0x1cfba));import{ButtonView as _0x58a64c}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3da985}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x608a50){const {editor:_0x4be391,action:_0x4d0584,withText:_0x3d9c6e=!0x1,withIcon:_0x5b3cc2=!0x0,isInDropdown:_0x118b1a=!0x0,shouldPreventFocus:_0x5efe48=!0x1}=_0x608a50;return()=>{const _0x4afbef=_0xc39a,_0x485833=_0x4be391[_0x4afbef(0xac)],_0x494d17=new _0x58a64c(_0x485833),_0x4b843b=_0x494d17[_0x4afbef(0xaa)];_0x118b1a&&_0x494d17[_0x4afbef(0xc2)]({'on':{'mouseenter':_0x4b843b['to'](()=>{const _0x107599=_0x4afbef;_0x5efe48&&_0x5efe48()||_0x494d17[_0x107599(0xc1)]();})}});const _0x9451fc=_0x4d0584[_0x4afbef(0xb5)]??_0x4d0584[_0x4afbef(0xbf)]?.[_0x4afbef(0xb5)];return _0x494d17[_0x4afbef(0xc0)]({'label':_0x4d0584[_0x4afbef(0xb8)],'withText':_0x3d9c6e,'role':_0x4afbef(0xb9),'icon':_0x5b3cc2?_0x9451fc??_0x3da985:void 0x0,'tooltip':!_0x3d9c6e,'class':_0x4afbef(0xb4),'isEnabled':_0x4d0584[_0x4afbef(0xb1)]}),_0x494d17['on'](_0x4afbef(0xbc),()=>{const _0xda93f0=_0x4afbef;_0x4be391[_0xda93f0(0xad)][_0xda93f0(0xb3)][_0xda93f0(0xc1)](),_0x4be391[_0xda93f0(0xa9)][_0xda93f0(0xbc)](_0xda93f0(0xbd),_0x4d0584);}),_0x494d17;};}function _0x22b2(){const _0x445b2e=['aiQuickAction','3417010mhsOQj','parent','set','focus','extendTemplate','commands','bindTemplate','608NjySHg','locale','editing','4jwVXPg','78134fABTgY','59742RvCYot','isEnabled','9DGENbV','view','ck-ai-quick-actions-button','icon','993175rbzeAb','22482fdQYyz','displayedPrompt','menuitem','599100eIdugB','1003821BKwxdI','execute'];_0x22b2=function(){return _0x445b2e;};return _0x22b2();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4eec1e=_0x5c0d;(function(_0x1eca11,_0x388cfc){const _0x26c761=_0x5c0d,_0x464d85=_0x1eca11();while(!![]){try{const _0x4b71d2=parseInt(_0x26c761(0x178))/0x1*(-parseInt(_0x26c761(0x186))/0x2)+-parseInt(_0x26c761(0x1c8))/0x3*(-parseInt(_0x26c761(0x1ab))/0x4)+-parseInt(_0x26c761(0x17e))/0x5+-parseInt(_0x26c761(0x170))/0x6*(-parseInt(_0x26c761(0x1d3))/0x7)+parseInt(_0x26c761(0x1ae))/0x8+-parseInt(_0x26c761(0x188))/0x9*(-parseInt(_0x26c761(0x1c1))/0xa)+-parseInt(_0x26c761(0x1bd))/0xb;if(_0x4b71d2===_0x388cfc)break;else _0x464d85['push'](_0x464d85['shift']());}catch(_0x1b4f0e){_0x464d85['push'](_0x464d85['shift']());}}}(_0x9047,0x28a76));import{View as _0x45c967,ListItemView as _0x35e844,ListView as _0x4be61f,BalloonPanelView as _0x4d67bd,DropdownMenuPanelPositioningFunctions as _0x5d4a51,ViewCollection as _0xd9893,FocusCycler as _0x3488dd,ButtonView as _0x33a04f,IconView as _0xa2158d,HighlightedTextView as _0x34286d,ButtonLabelWithHighlightView as _0x1fec51,SearchTextView as _0x1c839a}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x526784}from'@ckeditor/ckeditor5-icons';function _0x9047(){const _0x52d4a2=['ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','81907CgZmkB','ArrowRight','text','queryView','relatedTarget','button','ownerDocument','fieldView','ck-ai-quick-actions-search-result__content','ck-ai-quick-actions-search-result-button_with-group','_createGroupActionsList','menuitem','focusCycler','_handleSearchResultButtonClick','ck-ai-quick-actions-group-button','_allSearchableItems','_openNestedPanels','_isSearchFocused','_hideAllNestedPanels','locale','displayedPrompt','ck-ai-quick-actions-button_with-group__open-paren','addEventListener','fire','element','mouseleave','label','_createSearchTextView','items','actions','_createSearchResultGroupRow','execute','_createSearchResultActionRow','_bodyCollection','span','ck-ai-quick-actions-search-result__group-row','ck-dropdown-menu-list','focusTracker','138cqDfKw','pin','keystrokes','_handlePanelKeydown','contains','parent','commands','ck-ai-quick-actions','15205ucUiHW','activeElement','isOn','some','.ck-ai-quick-actions-group-list','ck-ai-quick-actions-button','1251860RriwuR','ck-reset_all','.ck-ai-quick-actions-group-panel','.ck-ai-quick-actions-group-button','_createActionButton','ck-dropdown-menu__nested-menu__panel','setTemplate','show','40wBspPQ','_getButtonKeystroke','39303laiMFk','ck-rounded-corners','_createListItems','ck-ai-quick-actions-search','ArrowLeft','add','children','_getPanelKeystroke','content','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','role','render','_setupGroupMenuBehavior','_hideNestedPanel','forEach','AI_QUICK_ACTIONS_SEARCH','closest','optionsListView','get','push','_createSearchResultGroupedActionButton','rtl','_setupActionButtonExecution','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','first','ck-ai-quick-actions-search-result-button','eastSouth','view','chain','clear','ck-ai-quick-actions-group-list','_showNestedPanel','icon','menu','ck-ai-quick-actions-button__group-icon','4ceBIFE','div','aiQuickAction','2354800EVxLdM','detachFromDom','ck-ai-quick-actions-search-result__action-row','_createActionGroupButton','addMany','delete','bindTemplate','_searchTextView','uiLanguageDirection','focus','isVisible','ck-ai-quick-actions-button_with-group','extendTemplate','ck-button','isEnabled','4046812GnGWzM','ck-ai-quick-actions-group-panel','ck-ai-quick-actions-button_with-group__close-paren','ck-button_with-text','650tGmRsz','set','hide','bind','_createSearchResultIndividualActionButton','_hasSearch','key','724662ZZRber','_createSearchResultContentView','destroy','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_focusables','reset','_createSearchResultActionButton','resetSearch','_isMovingToNestedMenu','editing'];_0x9047=function(){return _0x52d4a2;};return _0x9047();}import{FocusTracker as _0x35c5f3,KeystrokeHandler as _0x2ecb17}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x459ac1}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x1635ae}from'./dropdownmenubuttonwithhighlightview.js';function _0x5c0d(_0x9eb44a,_0x4f704f){const _0x904762=_0x9047();return _0x5c0d=function(_0x5c0d36,_0x34a41e){_0x5c0d36=_0x5c0d36-0x14f;let _0xbbc7c1=_0x904762[_0x5c0d36];return _0xbbc7c1;},_0x5c0d(_0x9eb44a,_0x4f704f);}import{getTranslation as _0x3e6d6e}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x764af4}from'./aiquickactionsfilteredlistview.js';const Qs=_0x4eec1e(0x1a9),Gs=_0x4eec1e(0x155);export class AIQuickActionsDropdownContentView extends _0x45c967{[_0x4eec1e(0x16b)];[_0x4eec1e(0x199)];[_0x4eec1e(0x1b5)]=null;[_0x4eec1e(0x159)]=[];[_0x4eec1e(0x18e)];[_0x4eec1e(0x16f)];[_0x4eec1e(0x172)];[_0x4eec1e(0x1cc)];[_0x4eec1e(0x156)];[_0x4eec1e(0x15a)]=new Set();[_0x4eec1e(0x1c6)];constructor(_0x2ece58,_0x3a2697,_0x57242b,_0x260aae,_0x599494=!0x1){const _0x482cf1=_0x4eec1e,_0x1fb69e=_0x2ece58[_0x482cf1(0x15d)];super(_0x1fb69e),this[_0x482cf1(0x16b)]=_0x260aae,this[_0x482cf1(0x1c6)]=_0x599494;const _0x1f4948=this[_0x482cf1(0x18a)](_0x2ece58,_0x3a2697,_0x57242b);this[_0x482cf1(0x199)]=new _0x764af4(_0x1fb69e,_0x1f4948,this[_0x482cf1(0x159)]),this[_0x482cf1(0x199)][_0x482cf1(0x192)]=Qs,this[_0x482cf1(0x199)][_0x482cf1(0x166)][_0x482cf1(0x1b2)](_0x1f4948),this[_0x482cf1(0x16f)]=new _0x35c5f3(),this[_0x482cf1(0x172)]=new _0x2ecb17(),_0x599494&&(this[_0x482cf1(0x1b5)]=this[_0x482cf1(0x165)]()),this[_0x482cf1(0x1cc)]=_0x1f4948,this[_0x482cf1(0x156)]=new _0x3488dd({'focusables':this[_0x482cf1(0x1cc)],'focusTracker':this[_0x482cf1(0x16f)],'keystrokeHandler':this[_0x482cf1(0x172)]}),_0x599494&&this[_0x482cf1(0x1b5)]&&this[_0x482cf1(0x156)][_0x482cf1(0x1a4)](this[_0x482cf1(0x1b5)][_0x482cf1(0x156)]);const _0x4e4de6=_0x599494&&this[_0x482cf1(0x1b5)]?[this[_0x482cf1(0x1b5)]]:[this[_0x482cf1(0x199)]];this[_0x482cf1(0x18e)]=new _0xd9893(_0x4e4de6),this[_0x482cf1(0x184)]({'tag':_0x482cf1(0x1ac),'attributes':{'class':['ck',_0x482cf1(0x17f),_0x482cf1(0x177),_0x482cf1(0x189)],'dir':_0x1fb69e[_0x482cf1(0x1b6)]},'children':this[_0x482cf1(0x18e)]});}[_0x4eec1e(0x165)](){const _0x57ba75=_0x4eec1e;return new _0x1c839a(this[_0x57ba75(0x15d)],{'filteredView':this[_0x57ba75(0x199)],'queryView':{'label':_0x3e6d6e(this[_0x57ba75(0x15d)],_0x57ba75(0x197))},'class':_0x57ba75(0x18b),'infoView':{'text':{'notFound':{'primary':_0x3e6d6e(this[_0x57ba75(0x15d)],_0x57ba75(0x191))}}}});}[_0x4eec1e(0x15b)](){const _0x42f1b0=_0x4eec1e;if(!this[_0x42f1b0(0x1c6)]||!this[_0x42f1b0(0x1b5)]||!this[_0x42f1b0(0x1b5)][_0x42f1b0(0x1d6)][_0x42f1b0(0x151)][_0x42f1b0(0x162)])return!0x1;const _0x225ce4=this[_0x42f1b0(0x1b5)][_0x42f1b0(0x1d6)][_0x42f1b0(0x151)][_0x42f1b0(0x162)][_0x42f1b0(0x150)]?.[_0x42f1b0(0x179)];return this[_0x42f1b0(0x1b5)][_0x42f1b0(0x1d6)][_0x42f1b0(0x151)][_0x42f1b0(0x162)][_0x42f1b0(0x174)](_0x225ce4);}[_0x4eec1e(0x18a)](_0xeeaf4,_0x1b07b5,_0x2cc0fe){const _0x1866a3=_0x4eec1e,_0x2d3323=new _0xd9893();return _0x1b07b5[_0x1866a3(0x196)](_0x12b028=>{const _0x55c158=_0x1866a3;if(_0x55c158(0x167)in _0x12b028){const {listItem:_0xcf900b}=this[_0x55c158(0x1b1)](_0xeeaf4,_0x12b028,_0x2cc0fe);_0x2d3323[_0x55c158(0x18d)](_0xcf900b),_0x12b028[_0x55c158(0x167)][_0x55c158(0x196)](_0x134c62=>{const _0xc2081d=_0x55c158;this[_0xc2081d(0x182)](_0xeeaf4,_0x134c62,_0x12b028[_0xc2081d(0x164)],_0x12b028[_0xc2081d(0x1a8)]);const {listItem:_0x575ff9,highlightViews:_0x15372d}=this[_0xc2081d(0x1ce)](_0xeeaf4,_0x134c62,_0x12b028[_0xc2081d(0x164)],_0x12b028[_0xc2081d(0x1a8)]);this[_0xc2081d(0x159)][_0xc2081d(0x19b)]({'item':_0x575ff9,'label':_0x134c62[_0xc2081d(0x15e)],'groupLabel':_0x12b028[_0xc2081d(0x164)],'highlightViews':_0x15372d});});}else{const {listItem:_0x3a9170}=this[_0x55c158(0x182)](_0xeeaf4,_0x12b028);_0x2d3323[_0x55c158(0x18d)](_0x3a9170);const _0x570cb8=_0x3a9170[_0x55c158(0x18e)][_0x55c158(0x1a0)];if(_0x570cb8){const {listItem:_0x11b9c1,highlightViews:_0x28f3c1}=this[_0x55c158(0x1ce)](_0xeeaf4,_0x12b028);this[_0x55c158(0x159)][_0x55c158(0x19b)]({'item':_0x11b9c1,'label':_0x570cb8[_0x55c158(0x164)]||'','highlightViews':_0x28f3c1});}}}),_0x2d3323;}[_0x4eec1e(0x182)](_0x37d823,_0xc66cee,_0x28aa4d,_0x2b9331){const _0x9cd1e9=_0x4eec1e,_0x4e3f5c=new _0x35e844(this[_0x9cd1e9(0x15d)]);if(_0x28aa4d&&_0x2b9331){const _0x308fd6=new _0x33a04f(this[_0x9cd1e9(0x15d)]),_0x14de76=_0x308fd6[_0x9cd1e9(0x1b4)],_0x16a2b3=new _0x34286d();_0x16a2b3[_0x9cd1e9(0x1d5)]=_0xc66cee[_0x9cd1e9(0x15e)];const _0x5c1491=new _0x34286d();_0x5c1491[_0x9cd1e9(0x1d5)]=_0x28aa4d;const _0x4130dd=new _0xa2158d();_0x4130dd[_0x9cd1e9(0x190)]=_0x2b9331,_0x4130dd[_0x9cd1e9(0x1ba)]({'attributes':{'class':_0x9cd1e9(0x1aa)}});const _0x19c0a6=new _0x45c967(this[_0x9cd1e9(0x15d)]);_0x19c0a6[_0x9cd1e9(0x184)]({'tag':_0x9cd1e9(0x16c),'attributes':{'class':_0x9cd1e9(0x15f)},'children':[{'text':'\x20('}]});const _0x134b1e=new _0x45c967(this[_0x9cd1e9(0x15d)]);return _0x134b1e[_0x9cd1e9(0x184)]({'tag':_0x9cd1e9(0x16c),'attributes':{'class':_0x9cd1e9(0x1bf)},'children':[{'text':')'}]}),_0x308fd6[_0x9cd1e9(0x1c2)]({'label':_0xc66cee[_0x9cd1e9(0x15e)]+'\x20('+_0x28aa4d+')','withText':!0x0,'role':_0x9cd1e9(0x155),'class':_0x9cd1e9(0x1cb),'tooltip':!0x1}),_0x308fd6[_0x9cd1e9(0x184)]({'tag':_0x9cd1e9(0x14f),'attributes':{'class':['ck',_0x9cd1e9(0x1bb),_0x9cd1e9(0x1c0),_0x9cd1e9(0x17d),_0x9cd1e9(0x1b9)],'type':_0x9cd1e9(0x14f),'role':_0x9cd1e9(0x155),'tabindex':'-1'},'children':[_0x16a2b3,_0x19c0a6,_0x4130dd,_0x5c1491,_0x134b1e],'on':{'mouseenter':_0x14de76['to'](()=>{const _0x54e7dc=_0x9cd1e9;this[_0x54e7dc(0x15b)]()||_0x308fd6[_0x54e7dc(0x1b7)]();}),'click':_0x14de76['to'](()=>{const _0x321b83=_0x9cd1e9;_0x308fd6[_0x321b83(0x161)](_0x321b83(0x169));})}}),_0x308fd6['on'](_0x9cd1e9(0x169),()=>{const _0x3d9602=_0x9cd1e9;_0x37d823[_0x3d9602(0x1d1)][_0x3d9602(0x1a3)][_0x3d9602(0x1b7)](),_0x37d823[_0x3d9602(0x176)][_0x3d9602(0x169)](_0x3d9602(0x1ad),_0xc66cee);}),_0x4e3f5c[_0x9cd1e9(0x18e)][_0x9cd1e9(0x18d)](_0x308fd6),{'listItem':_0x4e3f5c,'highlightViews':[_0x16a2b3,_0x5c1491]};}{const _0x308028=new _0x1fec51(),_0x1ca105=new _0x33a04f(this[_0x9cd1e9(0x15d)],_0x308028),_0x4a419a=_0x1ca105[_0x9cd1e9(0x1b4)],_0x1a2e92=_0xc66cee[_0x9cd1e9(0x1a8)]??_0xc66cee[_0x9cd1e9(0x175)]?.[_0x9cd1e9(0x1a8)],_0x39fc6e=void 0x0!==_0xc66cee[_0x9cd1e9(0x1a8)];return _0x1ca105[_0x9cd1e9(0x1c2)]({'label':_0xc66cee[_0x9cd1e9(0x15e)],'withText':!0x0,'role':_0x9cd1e9(0x155),'icon':_0x39fc6e?_0x1a2e92??_0x526784:void 0x0,'tooltip':!0x1,'class':_0x9cd1e9(0x17d)}),_0x1ca105[_0x9cd1e9(0x1ba)]({'on':{'mouseenter':_0x4a419a['to'](()=>{const _0x70fe8c=_0x9cd1e9;this[_0x70fe8c(0x15b)]()||_0x1ca105[_0x70fe8c(0x1b7)]();})}}),_0x1ca105['on'](_0x9cd1e9(0x169),()=>{const _0x2214c4=_0x9cd1e9;_0x37d823[_0x2214c4(0x1d1)][_0x2214c4(0x1a3)][_0x2214c4(0x1b7)](),_0x37d823[_0x2214c4(0x176)][_0x2214c4(0x169)](_0x2214c4(0x1ad),_0xc66cee);}),_0x4e3f5c[_0x9cd1e9(0x18e)][_0x9cd1e9(0x18d)](_0x1ca105),{'listItem':_0x4e3f5c,'highlightViews':[_0x308028]};}}[_0x4eec1e(0x1ce)](_0x46363f,_0x43777a,_0x52262f,_0x27603f){const _0x167c62=_0x4eec1e;return _0x52262f&&_0x27603f?this[_0x167c62(0x19c)](_0x46363f,_0x43777a,_0x52262f,_0x27603f):this[_0x167c62(0x1c5)](_0x46363f,_0x43777a);}[_0x4eec1e(0x19c)](_0x34605f,_0x1d2ddd,_0x18c466,_0x261918){const _0x185228=_0x4eec1e,_0x22164f=new _0x35e844(this[_0x185228(0x15d)]),_0x2496f8=new _0x33a04f(this[_0x185228(0x15d)]),_0xdca9d1=_0x2496f8[_0x185228(0x1b4)],{view:_0x51765e,highlightView:_0x4fac33}=this[_0x185228(0x168)](_0x18c466,_0x261918),{view:_0x3b567d,highlightView:_0x2b7ab3}=this[_0x185228(0x16a)](_0x1d2ddd[_0x185228(0x15e)]),_0x2e61cf=this[_0x185228(0x1c9)](_0x51765e,_0x3b567d);return _0x2496f8[_0x185228(0x1c2)]({'label':_0x1d2ddd[_0x185228(0x15e)],'withText':!0x0,'role':_0x185228(0x155),'class':_0x185228(0x1d2),'tooltip':!0x1}),_0x2496f8[_0x185228(0x184)]({'tag':_0x185228(0x14f),'attributes':{'class':['ck',_0x185228(0x1bb),_0x185228(0x1c0),_0x185228(0x17d),_0x185228(0x1a1),_0x185228(0x153)],'type':_0x185228(0x14f),'role':_0x185228(0x155),'tabindex':'-1'},'children':[_0x2e61cf],'on':{'mouseenter':_0xdca9d1['to'](()=>{const _0x2c4a2a=_0x185228;this[_0x2c4a2a(0x15b)]()||_0x2496f8[_0x2c4a2a(0x1b7)]();}),'click':_0xdca9d1['to'](()=>{const _0x6e6c3b=_0x185228;this[_0x6e6c3b(0x157)](_0x2496f8);})}}),this[_0x185228(0x19e)](_0x2496f8,_0x34605f,_0x1d2ddd),_0x22164f[_0x185228(0x18e)][_0x185228(0x18d)](_0x2496f8),{'listItem':_0x22164f,'highlightViews':[_0x4fac33,_0x2b7ab3]};}[_0x4eec1e(0x1c5)](_0x206cf2,_0x333d70){const _0x55667b=_0x4eec1e,_0x2e4753=new _0x35e844(this[_0x55667b(0x15d)]),_0x551b58=new _0x1fec51(),_0x3cddcd=new _0x33a04f(this[_0x55667b(0x15d)],_0x551b58),_0x5dc793=_0x3cddcd[_0x55667b(0x1b4)];return _0x3cddcd[_0x55667b(0x1c2)]({'label':_0x333d70[_0x55667b(0x15e)],'withText':!0x0,'role':_0x55667b(0x155),'icon':void 0x0,'tooltip':!0x1,'class':_0x55667b(0x19f)}),_0x3cddcd[_0x55667b(0x1ba)]({'on':{'mouseenter':_0x5dc793['to'](()=>{const _0x8ce460=_0x55667b;this[_0x8ce460(0x15b)]()||_0x3cddcd[_0x8ce460(0x1b7)]();})}}),this[_0x55667b(0x19e)](_0x3cddcd,_0x206cf2,_0x333d70),_0x2e4753[_0x55667b(0x18e)][_0x55667b(0x18d)](_0x3cddcd),{'listItem':_0x2e4753,'highlightViews':[_0x551b58]};}[_0x4eec1e(0x168)](_0x2dab68,_0x28cde7){const _0x42265a=_0x4eec1e,_0x3d6db3=new _0x45c967(this[_0x42265a(0x15d)]),_0x3ba61e=new _0xa2158d();_0x3ba61e[_0x42265a(0x190)]=_0x28cde7,_0x3ba61e[_0x42265a(0x1ba)]({'attributes':{'class':_0x42265a(0x1aa)}});const _0xee6a7a=new _0x34286d();return _0xee6a7a[_0x42265a(0x1d5)]=_0x2dab68,_0x3d6db3[_0x42265a(0x184)]({'tag':_0x42265a(0x1ac),'attributes':{'class':_0x42265a(0x16d)},'children':[_0x3ba61e,_0xee6a7a]}),{'view':_0x3d6db3,'highlightView':_0xee6a7a};}[_0x4eec1e(0x16a)](_0x2930d2){const _0x149e0f=_0x4eec1e,_0x45ccc8=new _0x45c967(this[_0x149e0f(0x15d)]),_0x15a947=new _0x34286d();return _0x15a947[_0x149e0f(0x1d5)]=_0x2930d2,_0x45ccc8[_0x149e0f(0x184)]({'tag':_0x149e0f(0x1ac),'attributes':{'class':_0x149e0f(0x1b0)},'children':[_0x15a947]}),{'view':_0x45ccc8,'highlightView':_0x15a947};}[_0x4eec1e(0x1c9)](_0x590a86,_0xd595e7){const _0x106fcb=_0x4eec1e,_0x55ed84=new _0x45c967(this[_0x106fcb(0x15d)]);return _0x55ed84[_0x106fcb(0x184)]({'tag':_0x106fcb(0x1ac),'attributes':{'class':_0x106fcb(0x152)},'children':[_0x590a86,_0xd595e7]}),_0x55ed84;}[_0x4eec1e(0x19e)](_0x280c19,_0x17d89c,_0x24e23a){const _0x327bdc=_0x4eec1e;_0x280c19['on'](_0x327bdc(0x169),()=>{const _0x5af84b=_0x327bdc;_0x17d89c[_0x5af84b(0x1d1)][_0x5af84b(0x1a3)][_0x5af84b(0x1b7)](),_0x17d89c[_0x5af84b(0x176)][_0x5af84b(0x169)](_0x5af84b(0x1ad),_0x24e23a);});}[_0x4eec1e(0x1b1)](_0x225aff,_0x5b1965,_0x1659d6){const _0x2d8245=_0x4eec1e,_0x3e75ed=new _0x35e844(this[_0x2d8245(0x15d)]),_0x30c124=new _0x1fec51(),_0x51a44b=new _0x1635ae(this[_0x2d8245(0x15d)],_0x30c124),_0x3a076a=_0x51a44b[_0x2d8245(0x1b4)],_0x3b59ff=this[_0x2d8245(0x18f)](_0x1659d6),_0x5f1d9e=this[_0x2d8245(0x154)](_0x225aff,_0x5b1965[_0x2d8245(0x167)],_0x1659d6);_0x51a44b[_0x2d8245(0x1c2)]({'label':_0x5b1965[_0x2d8245(0x164)],'withText':!0x0,'role':Gs,'icon':_0x5b1965[_0x2d8245(0x1a8)]??_0x526784,'isEnabled':_0x5b1965[_0x2d8245(0x167)][_0x2d8245(0x17b)](_0x5c711e=>_0x5c711e[_0x2d8245(0x1bc)])}),_0x51a44b[_0x2d8245(0x1ba)]({'on':{'mouseenter':_0x3a076a['to'](()=>{const _0x1e8213=_0x2d8245;this[_0x1e8213(0x15b)]()||_0x51a44b[_0x1e8213(0x1b7)]();})}});const _0x5f34b5=new _0x4d67bd(this[_0x2d8245(0x15d)]);return _0x5f34b5[_0x2d8245(0x1ba)]({'attributes':{'class':['ck',_0x2d8245(0x17f),_0x2d8245(0x1be),_0x2d8245(0x183)]},'on':{'keydown':_0x3a076a['to'](_0x22c303=>{const _0x537325=_0x2d8245;this[_0x537325(0x173)](_0x22c303,_0x3b59ff,_0x51a44b,_0x5f34b5);})}}),_0x51a44b[_0x2d8245(0x1c4)](_0x2d8245(0x17a))['to'](_0x5f34b5,_0x2d8245(0x1b8)),this[_0x2d8245(0x16b)][_0x2d8245(0x18d)](_0x5f34b5),_0x5f34b5[_0x2d8245(0x190)][_0x2d8245(0x18d)](_0x5f1d9e),this[_0x2d8245(0x194)](_0x51a44b,_0x5f34b5),_0x3e75ed[_0x2d8245(0x18e)][_0x2d8245(0x18d)](_0x51a44b),{'listItem':_0x3e75ed,'highlightView':_0x30c124};}[_0x4eec1e(0x154)](_0x39f7c4,_0x133e0d,_0x394c60){const _0x161e36=_0x4eec1e,_0x38f9e9=new _0x4be61f(this[_0x161e36(0x15d)]);return _0x38f9e9[_0x161e36(0x1ba)]({'attributes':{'class':['ck',_0x161e36(0x17f),_0x161e36(0x1a6),_0x161e36(0x16e)]}}),_0x133e0d[_0x161e36(0x196)](_0x207d2c=>{const _0x12a42a=_0x161e36,_0x2e6a3f=new _0x35e844(this[_0x12a42a(0x15d)]),_0x35a23a=_0x459ac1({'editor':_0x39f7c4,'action':_0x207d2c,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x12a42a(0x15b)]()})();_0x2e6a3f[_0x12a42a(0x18e)][_0x12a42a(0x18d)](_0x35a23a),_0x394c60[_0x12a42a(0x16f)][_0x12a42a(0x18d)](_0x35a23a),_0x38f9e9[_0x12a42a(0x166)][_0x12a42a(0x18d)](_0x2e6a3f);}),_0x38f9e9;}[_0x4eec1e(0x194)](_0x2c7cc2,_0x423aea){const _0x24d456=_0x4eec1e,_0x1a89ab=_0x2c7cc2[_0x24d456(0x1b4)],_0x3bcc10=this[_0x24d456(0x187)](_0x2c7cc2);_0x2c7cc2[_0x24d456(0x1ba)]({'attributes':{'class':[_0x24d456(0x158)]},'on':{'mouseenter':_0x1a89ab['to'](()=>{const _0x52c6af=_0x24d456;this[_0x52c6af(0x1a7)](_0x423aea,_0x2c7cc2);}),'mouseleave':_0x1a89ab['to'](_0x232ddf=>{const _0x3c2cf4=_0x24d456,_0x25ac7e=_0x232ddf[_0x3c2cf4(0x1d7)];this[_0x3c2cf4(0x1d0)](_0x25ac7e,_0x423aea)||this[_0x3c2cf4(0x195)](_0x423aea);}),'keydown':_0x1a89ab['to'](_0x586eb7=>{const _0x93508a=_0x24d456;_0x586eb7[_0x93508a(0x1c7)]==_0x3bcc10&&(this[_0x93508a(0x1a7)](_0x423aea,_0x2c7cc2),_0x423aea[_0x93508a(0x190)][_0x93508a(0x19a)](0x0)[_0x93508a(0x1b7)]());})}}),_0x423aea['on'](_0x24d456(0x193),()=>{const _0x37c073=_0x24d456;_0x423aea[_0x37c073(0x162)]?.[_0x37c073(0x160)](_0x37c073(0x163),_0x5cda87=>{const _0x58564e=_0x37c073,_0x31e7c5=_0x5cda87[_0x58564e(0x1d7)];_0x2c7cc2[_0x58564e(0x162)]?.[_0x58564e(0x174)](_0x31e7c5)||this[_0x58564e(0x1d0)](_0x31e7c5,_0x423aea)||this[_0x58564e(0x195)](_0x423aea);});});}[_0x4eec1e(0x1a7)](_0x564942,_0x2dc7d2){const _0x428a72=_0x4eec1e;this[_0x428a72(0x15a)][_0x428a72(0x196)](_0x37fd83=>{const _0x460517=_0x428a72;_0x37fd83!==_0x564942&&_0x37fd83[_0x460517(0x1b8)]&&_0x37fd83[_0x460517(0x1c3)]();}),_0x564942[_0x428a72(0x185)](),_0x564942[_0x428a72(0x171)]({'positions':[_0x5d4a51[_0x428a72(0x1a2)]],'target':_0x2dc7d2[_0x428a72(0x162)],'fitInViewport':!0x0}),this[_0x428a72(0x15a)][_0x428a72(0x18d)](_0x564942);}[_0x4eec1e(0x195)](_0x1d79a3){const _0x2ccb87=_0x4eec1e;_0x1d79a3[_0x2ccb87(0x1c3)](),this[_0x2ccb87(0x15a)][_0x2ccb87(0x1b3)](_0x1d79a3);}[_0x4eec1e(0x15c)](){const _0x41c630=_0x4eec1e;this[_0x41c630(0x15a)][_0x41c630(0x196)](_0x1551da=>_0x1551da[_0x41c630(0x1c3)]()),this[_0x41c630(0x15a)][_0x41c630(0x1a5)]();}[_0x4eec1e(0x1d0)](_0x4a26e1,_0x29943b){const _0x22b292=_0x4eec1e;if(!_0x4a26e1)return!0x1;if(_0x29943b[_0x22b292(0x162)]?.[_0x22b292(0x174)](_0x4a26e1))return!0x0;const _0x149006=_0x4a26e1;return _0x149006[_0x22b292(0x198)]&&(null!==_0x149006[_0x22b292(0x198)](_0x22b292(0x180))||null!==_0x149006[_0x22b292(0x198)](_0x22b292(0x17c))||null!==_0x149006[_0x22b292(0x198)](_0x22b292(0x181)));}[_0x4eec1e(0x1cf)](){const _0x12d4bf=_0x4eec1e;this[_0x12d4bf(0x1b5)]&&this[_0x12d4bf(0x1b5)][_0x12d4bf(0x1cd)]();}[_0x4eec1e(0x1ca)](){const _0x2d7889=_0x4eec1e;this[_0x2d7889(0x15c)](),this[_0x2d7889(0x16b)][_0x2d7889(0x1af)](),super[_0x2d7889(0x1ca)]();}[_0x4eec1e(0x1b7)](){const _0x551657=_0x4eec1e;this[_0x551657(0x1b5)]?this[_0x551657(0x1b5)][_0x551657(0x1b7)]():this[_0x551657(0x199)][_0x551657(0x1b7)]();}[_0x4eec1e(0x18f)](_0x1dd9fd){const _0x12f6dc=_0x4eec1e;return _0x12f6dc(0x19d)===_0x1dd9fd[_0x12f6dc(0x15d)][_0x12f6dc(0x1b6)]?_0x12f6dc(0x1d4):_0x12f6dc(0x18c);}[_0x4eec1e(0x187)](_0x1310c4){const _0x4dd9ae=_0x4eec1e;return _0x4dd9ae(0x19d)===_0x1310c4[_0x4dd9ae(0x15d)][_0x4dd9ae(0x1b6)]?_0x4dd9ae(0x18c):_0x4dd9ae(0x1d4);}[_0x4eec1e(0x173)](_0x2ab881,_0x137e1f,_0x373e65,_0x4514ac){const _0x44df87=_0x4eec1e;_0x2ab881[_0x44df87(0x1c7)]==_0x137e1f&&(_0x373e65[_0x44df87(0x1b7)](),this[_0x44df87(0x195)](_0x4514ac));}[_0x4eec1e(0x157)](_0x598019){const _0x136d20=_0x4eec1e;_0x598019[_0x136d20(0x161)](_0x136d20(0x169));}}
|
|
23
|
+
const _0x2dcbe9=_0x5651;(function(_0x44b547,_0x33c05a){const _0x37f170=_0x5651,_0x433f87=_0x44b547();while(!![]){try{const _0x184479=-parseInt(_0x37f170(0x17b))/0x1*(-parseInt(_0x37f170(0x141))/0x2)+parseInt(_0x37f170(0x16c))/0x3+-parseInt(_0x37f170(0x177))/0x4+parseInt(_0x37f170(0x179))/0x5+-parseInt(_0x37f170(0x12c))/0x6+-parseInt(_0x37f170(0x126))/0x7+parseInt(_0x37f170(0x14d))/0x8;if(_0x184479===_0x33c05a)break;else _0x433f87['push'](_0x433f87['shift']());}catch(_0x24746c){_0x433f87['push'](_0x433f87['shift']());}}}(_0x5bf1,0xe7ec2));import{View as _0x5f4784,ListItemView as _0x2c7cb0,ListView as _0x563593,BalloonPanelView as _0x3eb81d,DropdownMenuPanelPositioningFunctions as _0x255859,ViewCollection as _0x28adf9,FocusCycler as _0x483b2e,ButtonView as _0x9d50e5,IconView as _0x21c088,HighlightedTextView as _0x41cc49,ButtonLabelWithHighlightView as _0x149ebb,SearchTextView as _0x1c9c78}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x50c411}from'@ckeditor/ckeditor5-icons';function _0x5bf1(){const _0x4f0593=['get','_createActionGroupButton','div','_createListItems','button','14597080kQJhPZ','_createSearchTextView','ck-dropdown-menu-list','.ck-ai-quick-actions-group-button','contains','ck-button','clear','_openNestedPanels','focusCycler','first','mouseleave','ck-ai-quick-actions-search-result-button','extendTemplate','_createSearchResultIndividualActionButton','span','_allSearchableItems','keystrokes','ck-ai-quick-actions-search-result__group-row','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','detachFromDom','isVisible','rtl','reset','ck-ai-quick-actions','displayedPrompt','items','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_handlePanelKeydown','.ck-ai-quick-actions-group-list','_showNestedPanel','ck-ai-quick-actions-search-result-button_with-group','1531284SxutkT','_setupActionButtonExecution','ck-ai-quick-actions-button','editing','focusTracker','_searchTextView','render','ck-ai-quick-actions-button_with-group','_hideAllNestedPanels','bindTemplate','key','7544208kulHgx','label','7963625qPBATI','_hideNestedPanel','143320XcwltZ','ck-ai-quick-actions-group-button','ck-ai-quick-actions-search','AI_QUICK_ACTIONS_SEARCH','ck-ai-quick-actions-button__group-icon','ArrowLeft','ck-ai-quick-actions-button_with-group__open-paren','ck-ai-quick-actions-group-list','ck-dropdown-menu__nested-menu__panel','_isSearchFocused','_createSearchResultContentView','fieldView','closest','.ck-ai-quick-actions-group-panel','focus','pin','forEach','fire','content','_hasSearch','_createSearchResultActionButton','eastSouth','ArrowRight','ownerDocument','hide','aiQuickAction','_setupGroupMenuBehavior','ck-ai-quick-actions-group-panel','_createActionButton','_createSearchResultActionRow','ck-reset_all','add','locale','uiLanguageDirection','_isMovingToNestedMenu','_handleSearchResultButtonClick','isEnabled','execute','ck-button_with-text','_bodyCollection','children','queryView','show','_getPanelKeystroke','push','menuitem','ck-rounded-corners','menu','isOn','4845806qAWnvP','commands','_createGroupActionsList','activeElement','addMany','parent','8416584hNwiUo','setTemplate','set','chain','view','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_createSearchResultGroupRow','resetSearch','_createSearchResultGroupedActionButton','role','element','ck-ai-quick-actions-search-result__action-row','bind','ck-ai-quick-actions-search-result__content','some','ck-ai-quick-actions-button_with-group__close-paren','optionsListView','addEventListener','destroy','icon','_getButtonKeystroke','14QCJIvR','relatedTarget','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','delete','_focusables','actions','text'];_0x5bf1=function(){return _0x4f0593;};return _0x5bf1();}import{FocusTracker as _0x30a7ca,KeystrokeHandler as _0x202db3}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x4a36d1}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x1daa59}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x8e7bef}from'../../aicore/utils/common-translations.js';function _0x5651(_0x3b7dce,_0xe17e0a){const _0x5bf158=_0x5bf1();return _0x5651=function(_0x5651d8,_0x1d227b){_0x5651d8=_0x5651d8-0xf9;let _0x4ec00c=_0x5bf158[_0x5651d8];return _0x4ec00c;},_0x5651(_0x3b7dce,_0xe17e0a);}import{AIQuickActionsFilteredListView as _0x5f4507}from'./aiquickactionsfilteredlistview.js';const Qs=_0x2dcbe9(0x124),Gs=_0x2dcbe9(0x122);export class AIQuickActionsDropdownContentView extends _0x5f4784{[_0x2dcbe9(0x11c)];[_0x2dcbe9(0x13c)];[_0x2dcbe9(0x171)]=null;[_0x2dcbe9(0x15c)]=[];[_0x2dcbe9(0x11d)];[_0x2dcbe9(0x170)];[_0x2dcbe9(0x15d)];[_0x2dcbe9(0x145)];[_0x2dcbe9(0x155)];[_0x2dcbe9(0x154)]=new Set();[_0x2dcbe9(0x108)];constructor(_0x2b66c7,_0x167371,_0x541a74,_0x355ece,_0x43d130=!0x1){const _0x3d19cc=_0x2dcbe9,_0x28b2b5=_0x2b66c7[_0x3d19cc(0x115)];super(_0x28b2b5),this[_0x3d19cc(0x11c)]=_0x355ece,this[_0x3d19cc(0x108)]=_0x43d130;const _0x3a5bda=this[_0x3d19cc(0x14b)](_0x2b66c7,_0x167371,_0x541a74);this[_0x3d19cc(0x13c)]=new _0x5f4507(_0x28b2b5,_0x3a5bda,this[_0x3d19cc(0x15c)]),this[_0x3d19cc(0x13c)][_0x3d19cc(0x135)]=Qs,this[_0x3d19cc(0x13c)][_0x3d19cc(0x166)][_0x3d19cc(0x12a)](_0x3a5bda),this[_0x3d19cc(0x170)]=new _0x30a7ca(),this[_0x3d19cc(0x15d)]=new _0x202db3(),_0x43d130&&(this[_0x3d19cc(0x171)]=this[_0x3d19cc(0x14e)]()),this[_0x3d19cc(0x145)]=_0x3a5bda,this[_0x3d19cc(0x155)]=new _0x483b2e({'focusables':this[_0x3d19cc(0x145)],'focusTracker':this[_0x3d19cc(0x170)],'keystrokeHandler':this[_0x3d19cc(0x15d)]}),_0x43d130&&this[_0x3d19cc(0x171)]&&this[_0x3d19cc(0x155)][_0x3d19cc(0x12f)](this[_0x3d19cc(0x171)][_0x3d19cc(0x155)]);const _0x34a7e4=_0x43d130&&this[_0x3d19cc(0x171)]?[this[_0x3d19cc(0x171)]]:[this[_0x3d19cc(0x13c)]];this[_0x3d19cc(0x11d)]=new _0x28adf9(_0x34a7e4),this[_0x3d19cc(0x12d)]({'tag':_0x3d19cc(0x14a),'attributes':{'class':['ck',_0x3d19cc(0x113),_0x3d19cc(0x164),_0x3d19cc(0x123)],'dir':_0x28b2b5[_0x3d19cc(0x116)]},'children':this[_0x3d19cc(0x11d)]});}[_0x2dcbe9(0x14e)](){const _0x1f6a8d=_0x2dcbe9;return new _0x1c9c78(this[_0x1f6a8d(0x115)],{'filteredView':this[_0x1f6a8d(0x13c)],'queryView':{'label':_0x8e7bef(this[_0x1f6a8d(0x115)],_0x1f6a8d(0x17e))},'class':_0x1f6a8d(0x17d),'infoView':{'text':{'notFound':{'primary':_0x8e7bef(this[_0x1f6a8d(0x115)],_0x1f6a8d(0x167))}}}});}[_0x2dcbe9(0xfe)](){const _0x30195a=_0x2dcbe9;if(!this[_0x30195a(0x108)]||!this[_0x30195a(0x171)]||!this[_0x30195a(0x171)][_0x30195a(0x11e)][_0x30195a(0x100)][_0x30195a(0x136)])return!0x1;const _0x1e0733=this[_0x30195a(0x171)][_0x30195a(0x11e)][_0x30195a(0x100)][_0x30195a(0x136)][_0x30195a(0x10c)]?.[_0x30195a(0x129)];return this[_0x30195a(0x171)][_0x30195a(0x11e)][_0x30195a(0x100)][_0x30195a(0x136)][_0x30195a(0x151)](_0x1e0733);}[_0x2dcbe9(0x14b)](_0x2a8573,_0x2319ef,_0x1ecbe5){const _0x41d7d3=_0x2dcbe9,_0x20948d=new _0x28adf9();return _0x2319ef[_0x41d7d3(0x105)](_0x592005=>{const _0x31c448=_0x41d7d3;if(_0x31c448(0x146)in _0x592005){const {listItem:_0x3a0015}=this[_0x31c448(0x149)](_0x2a8573,_0x592005,_0x1ecbe5);_0x20948d[_0x31c448(0x114)](_0x3a0015),_0x592005[_0x31c448(0x146)][_0x31c448(0x105)](_0x15c6c8=>{const _0x270ed2=_0x31c448;this[_0x270ed2(0x111)](_0x2a8573,_0x15c6c8,_0x592005[_0x270ed2(0x178)],_0x592005[_0x270ed2(0x13f)]);const {listItem:_0x54ea94,highlightViews:_0x5d138e}=this[_0x270ed2(0x109)](_0x2a8573,_0x15c6c8,_0x592005[_0x270ed2(0x178)],_0x592005[_0x270ed2(0x13f)]);this[_0x270ed2(0x15c)][_0x270ed2(0x121)]({'item':_0x54ea94,'label':_0x15c6c8[_0x270ed2(0x165)],'groupLabel':_0x592005[_0x270ed2(0x178)],'highlightViews':_0x5d138e});});}else{const {listItem:_0x1c0809}=this[_0x31c448(0x111)](_0x2a8573,_0x592005);_0x20948d[_0x31c448(0x114)](_0x1c0809);const _0x5b771f=_0x1c0809[_0x31c448(0x11d)][_0x31c448(0x156)];if(_0x5b771f){const {listItem:_0x396192,highlightViews:_0xed9745}=this[_0x31c448(0x109)](_0x2a8573,_0x592005);this[_0x31c448(0x15c)][_0x31c448(0x121)]({'item':_0x396192,'label':_0x5b771f[_0x31c448(0x178)]||'','highlightViews':_0xed9745});}}}),_0x20948d;}[_0x2dcbe9(0x111)](_0xf097de,_0x280cf7,_0x49a63b,_0x1caf58){const _0x3eb26f=_0x2dcbe9,_0x31ac7c=new _0x2c7cb0(this[_0x3eb26f(0x115)]);if(_0x49a63b&&_0x1caf58){const _0x4b8740=new _0x9d50e5(this[_0x3eb26f(0x115)]),_0x3ec571=_0x4b8740[_0x3eb26f(0x175)],_0x1eae75=new _0x41cc49();_0x1eae75[_0x3eb26f(0x147)]=_0x280cf7[_0x3eb26f(0x165)];const _0x24ffed=new _0x41cc49();_0x24ffed[_0x3eb26f(0x147)]=_0x49a63b;const _0x32c833=new _0x21c088();_0x32c833[_0x3eb26f(0x107)]=_0x1caf58,_0x32c833[_0x3eb26f(0x159)]({'attributes':{'class':_0x3eb26f(0xf9)}});const _0x52751e=new _0x5f4784(this[_0x3eb26f(0x115)]);_0x52751e[_0x3eb26f(0x12d)]({'tag':_0x3eb26f(0x15b),'attributes':{'class':_0x3eb26f(0xfb)},'children':[{'text':'\x20('}]});const _0x58c168=new _0x5f4784(this[_0x3eb26f(0x115)]);return _0x58c168[_0x3eb26f(0x12d)]({'tag':_0x3eb26f(0x15b),'attributes':{'class':_0x3eb26f(0x13b)},'children':[{'text':')'}]}),_0x4b8740[_0x3eb26f(0x12e)]({'label':_0x280cf7[_0x3eb26f(0x165)]+'\x20('+_0x49a63b+')','withText':!0x0,'role':_0x3eb26f(0x122),'class':_0x3eb26f(0x131),'tooltip':!0x1}),_0x4b8740[_0x3eb26f(0x12d)]({'tag':_0x3eb26f(0x14c),'attributes':{'class':['ck',_0x3eb26f(0x152),_0x3eb26f(0x11b),_0x3eb26f(0x16e),_0x3eb26f(0x173)],'type':_0x3eb26f(0x14c),'role':_0x3eb26f(0x122),'tabindex':'-1'},'children':[_0x1eae75,_0x52751e,_0x32c833,_0x24ffed,_0x58c168],'on':{'mouseenter':_0x3ec571['to'](()=>{const _0x307d80=_0x3eb26f;this[_0x307d80(0xfe)]()||_0x4b8740[_0x307d80(0x103)]();}),'click':_0x3ec571['to'](()=>{const _0x22fe7e=_0x3eb26f;_0x4b8740[_0x22fe7e(0x106)](_0x22fe7e(0x11a));})}}),_0x4b8740['on'](_0x3eb26f(0x11a),()=>{const _0x306dbb=_0x3eb26f;_0xf097de[_0x306dbb(0x16f)][_0x306dbb(0x130)][_0x306dbb(0x103)](),_0xf097de[_0x306dbb(0x127)][_0x306dbb(0x11a)](_0x306dbb(0x10e),_0x280cf7);}),_0x31ac7c[_0x3eb26f(0x11d)][_0x3eb26f(0x114)](_0x4b8740),{'listItem':_0x31ac7c,'highlightViews':[_0x1eae75,_0x24ffed]};}{const _0x506dd4=new _0x149ebb(),_0x34ab22=new _0x9d50e5(this[_0x3eb26f(0x115)],_0x506dd4),_0x4765ec=_0x34ab22[_0x3eb26f(0x175)],_0x25b9f5=_0x280cf7[_0x3eb26f(0x13f)]??_0x280cf7[_0x3eb26f(0x12b)]?.[_0x3eb26f(0x13f)],_0x3f6d41=void 0x0!==_0x280cf7[_0x3eb26f(0x13f)];return _0x34ab22[_0x3eb26f(0x12e)]({'label':_0x280cf7[_0x3eb26f(0x165)],'withText':!0x0,'role':_0x3eb26f(0x122),'icon':_0x3f6d41?_0x25b9f5??_0x50c411:void 0x0,'tooltip':!0x1,'class':_0x3eb26f(0x16e)}),_0x34ab22[_0x3eb26f(0x159)]({'on':{'mouseenter':_0x4765ec['to'](()=>{const _0x22fe6e=_0x3eb26f;this[_0x22fe6e(0xfe)]()||_0x34ab22[_0x22fe6e(0x103)]();})}}),_0x34ab22['on'](_0x3eb26f(0x11a),()=>{const _0x5e6b43=_0x3eb26f;_0xf097de[_0x5e6b43(0x16f)][_0x5e6b43(0x130)][_0x5e6b43(0x103)](),_0xf097de[_0x5e6b43(0x127)][_0x5e6b43(0x11a)](_0x5e6b43(0x10e),_0x280cf7);}),_0x31ac7c[_0x3eb26f(0x11d)][_0x3eb26f(0x114)](_0x34ab22),{'listItem':_0x31ac7c,'highlightViews':[_0x506dd4]};}}[_0x2dcbe9(0x109)](_0x4b2249,_0x1e2187,_0x37417b,_0x28bde6){const _0x32e4e3=_0x2dcbe9;return _0x37417b&&_0x28bde6?this[_0x32e4e3(0x134)](_0x4b2249,_0x1e2187,_0x37417b,_0x28bde6):this[_0x32e4e3(0x15a)](_0x4b2249,_0x1e2187);}[_0x2dcbe9(0x134)](_0x338d7b,_0x45c4d8,_0x109278,_0x2f061a){const _0x5947de=_0x2dcbe9,_0x522958=new _0x2c7cb0(this[_0x5947de(0x115)]),_0x51a9c4=new _0x9d50e5(this[_0x5947de(0x115)]),_0x595ec4=_0x51a9c4[_0x5947de(0x175)],{view:_0x559ef2,highlightView:_0x3cf61a}=this[_0x5947de(0x132)](_0x109278,_0x2f061a),{view:_0x53a6a8,highlightView:_0x5c9aa3}=this[_0x5947de(0x112)](_0x45c4d8[_0x5947de(0x165)]),_0x197fe5=this[_0x5947de(0xff)](_0x559ef2,_0x53a6a8);return _0x51a9c4[_0x5947de(0x12e)]({'label':_0x45c4d8[_0x5947de(0x165)],'withText':!0x0,'role':_0x5947de(0x122),'class':_0x5947de(0x143),'tooltip':!0x1}),_0x51a9c4[_0x5947de(0x12d)]({'tag':_0x5947de(0x14c),'attributes':{'class':['ck',_0x5947de(0x152),_0x5947de(0x11b),_0x5947de(0x16e),_0x5947de(0x158),_0x5947de(0x16b)],'type':_0x5947de(0x14c),'role':_0x5947de(0x122),'tabindex':'-1'},'children':[_0x197fe5],'on':{'mouseenter':_0x595ec4['to'](()=>{const _0xaee498=_0x5947de;this[_0xaee498(0xfe)]()||_0x51a9c4[_0xaee498(0x103)]();}),'click':_0x595ec4['to'](()=>{const _0x1673c4=_0x5947de;this[_0x1673c4(0x118)](_0x51a9c4);})}}),this[_0x5947de(0x16d)](_0x51a9c4,_0x338d7b,_0x45c4d8),_0x522958[_0x5947de(0x11d)][_0x5947de(0x114)](_0x51a9c4),{'listItem':_0x522958,'highlightViews':[_0x3cf61a,_0x5c9aa3]};}[_0x2dcbe9(0x15a)](_0x16a670,_0x2ff34c){const _0x14eca4=_0x2dcbe9,_0x1db5c1=new _0x2c7cb0(this[_0x14eca4(0x115)]),_0x289f50=new _0x149ebb(),_0x5200a8=new _0x9d50e5(this[_0x14eca4(0x115)],_0x289f50),_0xd11002=_0x5200a8[_0x14eca4(0x175)];return _0x5200a8[_0x14eca4(0x12e)]({'label':_0x2ff34c[_0x14eca4(0x165)],'withText':!0x0,'role':_0x14eca4(0x122),'icon':void 0x0,'tooltip':!0x1,'class':_0x14eca4(0x15f)}),_0x5200a8[_0x14eca4(0x159)]({'on':{'mouseenter':_0xd11002['to'](()=>{const _0x1dc7ef=_0x14eca4;this[_0x1dc7ef(0xfe)]()||_0x5200a8[_0x1dc7ef(0x103)]();})}}),this[_0x14eca4(0x16d)](_0x5200a8,_0x16a670,_0x2ff34c),_0x1db5c1[_0x14eca4(0x11d)][_0x14eca4(0x114)](_0x5200a8),{'listItem':_0x1db5c1,'highlightViews':[_0x289f50]};}[_0x2dcbe9(0x132)](_0x775655,_0x2fa19d){const _0x58694b=_0x2dcbe9,_0x124305=new _0x5f4784(this[_0x58694b(0x115)]),_0x3340c8=new _0x21c088();_0x3340c8[_0x58694b(0x107)]=_0x2fa19d,_0x3340c8[_0x58694b(0x159)]({'attributes':{'class':_0x58694b(0xf9)}});const _0x378667=new _0x41cc49();return _0x378667[_0x58694b(0x147)]=_0x775655,_0x124305[_0x58694b(0x12d)]({'tag':_0x58694b(0x14a),'attributes':{'class':_0x58694b(0x15e)},'children':[_0x3340c8,_0x378667]}),{'view':_0x124305,'highlightView':_0x378667};}[_0x2dcbe9(0x112)](_0x19a17f){const _0x4c2bae=_0x2dcbe9,_0x2419cb=new _0x5f4784(this[_0x4c2bae(0x115)]),_0x2a5ac5=new _0x41cc49();return _0x2a5ac5[_0x4c2bae(0x147)]=_0x19a17f,_0x2419cb[_0x4c2bae(0x12d)]({'tag':_0x4c2bae(0x14a),'attributes':{'class':_0x4c2bae(0x137)},'children':[_0x2a5ac5]}),{'view':_0x2419cb,'highlightView':_0x2a5ac5};}[_0x2dcbe9(0xff)](_0x4c1121,_0x56d014){const _0x4efc9c=_0x2dcbe9,_0x5a1a50=new _0x5f4784(this[_0x4efc9c(0x115)]);return _0x5a1a50[_0x4efc9c(0x12d)]({'tag':_0x4efc9c(0x14a),'attributes':{'class':_0x4efc9c(0x139)},'children':[_0x4c1121,_0x56d014]}),_0x5a1a50;}[_0x2dcbe9(0x16d)](_0x5bed96,_0x3b4d22,_0x5676ba){const _0x756e76=_0x2dcbe9;_0x5bed96['on'](_0x756e76(0x11a),()=>{const _0x16919b=_0x756e76;_0x3b4d22[_0x16919b(0x16f)][_0x16919b(0x130)][_0x16919b(0x103)](),_0x3b4d22[_0x16919b(0x127)][_0x16919b(0x11a)](_0x16919b(0x10e),_0x5676ba);});}[_0x2dcbe9(0x149)](_0xff93e5,_0x1abd0e,_0x35b4fa){const _0x355336=_0x2dcbe9,_0x579d35=new _0x2c7cb0(this[_0x355336(0x115)]),_0x37d0f6=new _0x149ebb(),_0x233e3e=new _0x1daa59(this[_0x355336(0x115)],_0x37d0f6),_0x4ad501=_0x233e3e[_0x355336(0x175)],_0x4a64ec=this[_0x355336(0x120)](_0x35b4fa),_0x5f07be=this[_0x355336(0x128)](_0xff93e5,_0x1abd0e[_0x355336(0x146)],_0x35b4fa);_0x233e3e[_0x355336(0x12e)]({'label':_0x1abd0e[_0x355336(0x178)],'withText':!0x0,'role':Gs,'icon':_0x1abd0e[_0x355336(0x13f)]??_0x50c411,'isEnabled':_0x1abd0e[_0x355336(0x146)][_0x355336(0x13a)](_0x2cc14f=>_0x2cc14f[_0x355336(0x119)])}),_0x233e3e[_0x355336(0x159)]({'on':{'mouseenter':_0x4ad501['to'](()=>{const _0x16b824=_0x355336;this[_0x16b824(0xfe)]()||_0x233e3e[_0x16b824(0x103)]();})}});const _0xd2ba13=new _0x3eb81d(this[_0x355336(0x115)]);return _0xd2ba13[_0x355336(0x159)]({'attributes':{'class':['ck',_0x355336(0x113),_0x355336(0x110),_0x355336(0xfd)]},'on':{'keydown':_0x4ad501['to'](_0x4eae22=>{const _0x5cd4fa=_0x355336;this[_0x5cd4fa(0x168)](_0x4eae22,_0x4a64ec,_0x233e3e,_0xd2ba13);})}}),_0x233e3e[_0x355336(0x138)](_0x355336(0x125))['to'](_0xd2ba13,_0x355336(0x161)),this[_0x355336(0x11c)][_0x355336(0x114)](_0xd2ba13),_0xd2ba13[_0x355336(0x107)][_0x355336(0x114)](_0x5f07be),this[_0x355336(0x10f)](_0x233e3e,_0xd2ba13),_0x579d35[_0x355336(0x11d)][_0x355336(0x114)](_0x233e3e),{'listItem':_0x579d35,'highlightView':_0x37d0f6};}[_0x2dcbe9(0x128)](_0x3b6922,_0x223b98,_0x2b93f4){const _0x1e3d5f=_0x2dcbe9,_0x382cfa=new _0x563593(this[_0x1e3d5f(0x115)]);return _0x382cfa[_0x1e3d5f(0x159)]({'attributes':{'class':['ck',_0x1e3d5f(0x113),_0x1e3d5f(0xfc),_0x1e3d5f(0x14f)]}}),_0x223b98[_0x1e3d5f(0x105)](_0x26217d=>{const _0x26fca9=_0x1e3d5f,_0x33c14f=new _0x2c7cb0(this[_0x26fca9(0x115)]),_0x515af8=_0x4a36d1({'editor':_0x3b6922,'action':_0x26217d,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x26fca9(0xfe)]()})();_0x33c14f[_0x26fca9(0x11d)][_0x26fca9(0x114)](_0x515af8),_0x2b93f4[_0x26fca9(0x170)][_0x26fca9(0x114)](_0x515af8),_0x382cfa[_0x26fca9(0x166)][_0x26fca9(0x114)](_0x33c14f);}),_0x382cfa;}[_0x2dcbe9(0x10f)](_0x1539dd,_0x3f6c06){const _0x3e01db=_0x2dcbe9,_0x299696=_0x1539dd[_0x3e01db(0x175)],_0x204bab=this[_0x3e01db(0x140)](_0x1539dd);_0x1539dd[_0x3e01db(0x159)]({'attributes':{'class':[_0x3e01db(0x17c)]},'on':{'mouseenter':_0x299696['to'](()=>{const _0x2dc2c1=_0x3e01db;this[_0x2dc2c1(0x16a)](_0x3f6c06,_0x1539dd);}),'mouseleave':_0x299696['to'](_0x2e546f=>{const _0x475e71=_0x3e01db,_0x3a2e1a=_0x2e546f[_0x475e71(0x142)];this[_0x475e71(0x117)](_0x3a2e1a,_0x3f6c06)||this[_0x475e71(0x17a)](_0x3f6c06);}),'keydown':_0x299696['to'](_0x21f6f2=>{const _0x1e05f7=_0x3e01db;_0x21f6f2[_0x1e05f7(0x176)]==_0x204bab&&(this[_0x1e05f7(0x16a)](_0x3f6c06,_0x1539dd),_0x3f6c06[_0x1e05f7(0x107)][_0x1e05f7(0x148)](0x0)[_0x1e05f7(0x103)]());})}}),_0x3f6c06['on'](_0x3e01db(0x172),()=>{const _0x1a3d86=_0x3e01db;_0x3f6c06[_0x1a3d86(0x136)]?.[_0x1a3d86(0x13d)](_0x1a3d86(0x157),_0x4d438d=>{const _0x1ebf3c=_0x1a3d86,_0x35b00f=_0x4d438d[_0x1ebf3c(0x142)];_0x1539dd[_0x1ebf3c(0x136)]?.[_0x1ebf3c(0x151)](_0x35b00f)||this[_0x1ebf3c(0x117)](_0x35b00f,_0x3f6c06)||this[_0x1ebf3c(0x17a)](_0x3f6c06);});});}[_0x2dcbe9(0x16a)](_0x1d6070,_0x4661ef){const _0x56037e=_0x2dcbe9;this[_0x56037e(0x154)][_0x56037e(0x105)](_0x3fb701=>{const _0xd94da3=_0x56037e;_0x3fb701!==_0x1d6070&&_0x3fb701[_0xd94da3(0x161)]&&_0x3fb701[_0xd94da3(0x10d)]();}),_0x1d6070[_0x56037e(0x11f)](),_0x1d6070[_0x56037e(0x104)]({'positions':[_0x255859[_0x56037e(0x10a)]],'target':_0x4661ef[_0x56037e(0x136)],'fitInViewport':!0x0}),this[_0x56037e(0x154)][_0x56037e(0x114)](_0x1d6070);}[_0x2dcbe9(0x17a)](_0x2d6610){const _0x3cb36e=_0x2dcbe9;_0x2d6610[_0x3cb36e(0x10d)](),this[_0x3cb36e(0x154)][_0x3cb36e(0x144)](_0x2d6610);}[_0x2dcbe9(0x174)](){const _0x15f1a0=_0x2dcbe9;this[_0x15f1a0(0x154)][_0x15f1a0(0x105)](_0x4c221d=>_0x4c221d[_0x15f1a0(0x10d)]()),this[_0x15f1a0(0x154)][_0x15f1a0(0x153)]();}[_0x2dcbe9(0x117)](_0x37ef34,_0x242efb){const _0x59d60f=_0x2dcbe9;if(!_0x37ef34)return!0x1;if(_0x242efb[_0x59d60f(0x136)]?.[_0x59d60f(0x151)](_0x37ef34))return!0x0;const _0x13b734=_0x37ef34;return _0x13b734[_0x59d60f(0x101)]&&(null!==_0x13b734[_0x59d60f(0x101)](_0x59d60f(0x102))||null!==_0x13b734[_0x59d60f(0x101)](_0x59d60f(0x169))||null!==_0x13b734[_0x59d60f(0x101)](_0x59d60f(0x150)));}[_0x2dcbe9(0x133)](){const _0x505762=_0x2dcbe9;this[_0x505762(0x171)]&&this[_0x505762(0x171)][_0x505762(0x163)]();}[_0x2dcbe9(0x13e)](){const _0x16d59c=_0x2dcbe9;this[_0x16d59c(0x174)](),this[_0x16d59c(0x11c)][_0x16d59c(0x160)](),super[_0x16d59c(0x13e)]();}[_0x2dcbe9(0x103)](){const _0x4d2e11=_0x2dcbe9;this[_0x4d2e11(0x171)]?this[_0x4d2e11(0x171)][_0x4d2e11(0x103)]():this[_0x4d2e11(0x13c)][_0x4d2e11(0x103)]();}[_0x2dcbe9(0x120)](_0x334750){const _0x1171a0=_0x2dcbe9;return _0x1171a0(0x162)===_0x334750[_0x1171a0(0x115)][_0x1171a0(0x116)]?_0x1171a0(0x10b):_0x1171a0(0xfa);}[_0x2dcbe9(0x140)](_0x137cd4){const _0x37a134=_0x2dcbe9;return _0x37a134(0x162)===_0x137cd4[_0x37a134(0x115)][_0x37a134(0x116)]?_0x37a134(0xfa):_0x37a134(0x10b);}[_0x2dcbe9(0x168)](_0x54fa0e,_0x51b11b,_0x218c40,_0x362a8a){const _0x363dfe=_0x2dcbe9;_0x54fa0e[_0x363dfe(0x176)]==_0x51b11b&&(_0x218c40[_0x363dfe(0x103)](),this[_0x363dfe(0x17a)](_0x362a8a));}[_0x2dcbe9(0x118)](_0x5d9d8d){const _0x43545b=_0x2dcbe9;_0x5d9d8d[_0x43545b(0x106)](_0x43545b(0x11a));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x35a2c7,_0x356e34){const _0x1b4ad9=_0x14af,_0x2d0d63=_0x35a2c7();while(!![]){try{const _0xcf5bc7=parseInt(_0x1b4ad9(0xee))/0x1+parseInt(_0x1b4ad9(0x108))/0x2+parseInt(_0x1b4ad9(0xec))/0x3*(parseInt(_0x1b4ad9(0xf0))/0x4)+-parseInt(_0x1b4ad9(0x105))/0x5*(-parseInt(_0x1b4ad9(0xef))/0x6)+-parseInt(_0x1b4ad9(0x102))/0x7+-parseInt(_0x1b4ad9(0xf5))/0x8*(parseInt(_0x1b4ad9(0xed))/0x9)+parseInt(_0x1b4ad9(0xf8))/0xa*(-parseInt(_0x1b4ad9(0x103))/0xb);if(_0xcf5bc7===_0x356e34)break;else _0x2d0d63['push'](_0x2d0d63['shift']());}catch(_0x57e429){_0x2d0d63['push'](_0x2d0d63['shift']());}}}(_0x68e7,0x8f7dc));function _0x68e7(){const _0x4df297=['has','children','8eRZExv','length','plugins','18747030lIKnGc','model','selection','ai-quick-actions-dropdown-selection','document','buttonView','set','from','get','resetSearch','1204609JnlNoO','11ffoNgE','ck-ai-quick-actions-dropdown','4695obCYVx','getRanges','label','1147444THZbco','hideFakeVisualSelection','locale','AIEditing','change:isOpen','panelView','showFakeVisualSelection','27lDawya','7190406HuLToh','771682ODwlJW','6294BnlbDa','490244SFFcyB','add','icon'];_0x68e7=function(){return _0x4df297;};return _0x68e7();}import{createDropdown as _0x18d4f2}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4dfe70}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x3a9ffb}from'./aiquickactionsdropdowncontentview.js';function _0x14af(_0x37aa63,_0x1db0ae){const _0x68e755=_0x68e7();return _0x14af=function(_0x14af62,_0x1097f5){_0x14af62=_0x14af62-0xe6;let _0x2b4b2a=_0x68e755[_0x14af62];return _0x2b4b2a;},_0x14af(_0x37aa63,_0x1db0ae);}import{AIEditing as _0xd08f57}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x4638c5){const {editor:_0xd45691,content:_0x5c7608,buttonDefinition:_0x41b5cf,bodyCollection:_0x5e5f20,hasSearch:_0x1f9f03=!0x1}=_0x4638c5;return()=>{const _0x1f9579=_0x14af,_0x2fb006=_0xd45691[_0x1f9579(0xe7)],_0x52b4d5=_0x18d4f2(_0x2fb006);_0x52b4d5[_0x1f9579(0xfd)][_0x1f9579(0xfe)]({'icon':_0x41b5cf[_0x1f9579(0xf2)]??_0x4dfe70,'label':_0x41b5cf[_0x1f9579(0x107)],'tooltip':!0x0}),_0x52b4d5[_0x1f9579(0xfe)]({'class':_0x1f9579(0x104)});const _0x2a468e=new _0x3a9ffb(_0xd45691,_0x5c7608,_0x52b4d5,_0x5e5f20,_0x1f9f03);if(_0x52b4d5[_0x1f9579(0xea)][_0x1f9579(0xf4)][_0x1f9579(0xf1)](_0x2a468e),_0x1f9f03){const _0x55fe8a=_0x1f9579(0xfb);_0x52b4d5['on'](_0x1f9579(0xe9),(_0x4a2f4a,_0x485ffc,_0x6d3b78)=>{const _0x27eec2=_0x1f9579;if(_0x6d3b78){if(_0xd45691[_0x27eec2(0xf7)][_0x27eec2(0xf3)](_0x27eec2(0xe8))){const _0x12d224=_0xd45691[_0x27eec2(0xf7)][_0x27eec2(0x100)](_0xd08f57),_0x595cc7=_0xd45691[_0x27eec2(0xf9)][_0x27eec2(0xfc)][_0x27eec2(0xfa)],_0x369f54=Array[_0x27eec2(0xff)](_0x595cc7[_0x27eec2(0x106)]());_0x369f54[_0x27eec2(0xf6)]>0x0&&_0x12d224[_0x27eec2(0xeb)](_0x369f54,_0x55fe8a,!0x1,!0x0);}}else _0xd45691[_0x27eec2(0xf7)][_0x27eec2(0xf3)](_0x27eec2(0xe8))&&_0xd45691[_0x27eec2(0xf7)][_0x27eec2(0x100)](_0xd08f57)[_0x27eec2(0xe6)](_0x55fe8a),_0x2a468e[_0x27eec2(0x101)]();});}return _0x52b4d5;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x423b5b=_0x50eb;(function(_0x7cd32a,_0x9c8144){const _0x11e30d=_0x50eb,_0x1fdc7a=_0x7cd32a();while(!![]){try{const _0x3a17f0=-parseInt(_0x11e30d(0xdd))/0x1+parseInt(_0x11e30d(0xea))/0x2*(parseInt(_0x11e30d(0xe6))/0x3)+parseInt(_0x11e30d(0xee))/0x4+parseInt(_0x11e30d(0xde))/0x5*(parseInt(_0x11e30d(0xe1))/0x6)+-parseInt(_0x11e30d(0xeb))/0x7*(parseInt(_0x11e30d(0xfd))/0x8)+-parseInt(_0x11e30d(0xfa))/0x9*(-parseInt(_0x11e30d(0xed))/0xa)+parseInt(_0x11e30d(0xf6))/0xb;if(_0x3a17f0===_0x9c8144)break;else _0x1fdc7a['push'](_0x1fdc7a['shift']());}catch(_0x3c1e88){_0x1fdc7a['push'](_0x1fdc7a['shift']());}}}(_0x16ee,0x78c07));function _0x50eb(_0x1ab600,_0x3266b1){const _0x16ee09=_0x16ee();return _0x50eb=function(_0x50eb0a,_0x191dae){_0x50eb0a=_0x50eb0a-0xdd;let _0x2b405d=_0x16ee09[_0x50eb0a];return _0x2b405d;},_0x50eb(_0x1ab600,_0x3266b1);}import{ListView as _0x95ba96}from'ckeditor5/src/ui.js';function _0x16ee(){const _0x52ab00=['trim','_allSearchableItems','source','sort','3144031yPuUUk','_clearHighlight','groupLabel','highlightViews','5670RAXNbf','length','item','8siHImt','956916wWECXy','155AavhSA','includes','label','86958HHVnid','_allListItems','forEach','_highlightQuery','map','27UeEzlD','toLowerCase','highlightText','clear','9974kyWrqF','1233701fckzVB','filter','10730McRSoI','687124WKruxw','function','items','addMany'];_0x16ee=function(){return _0x52ab00;};return _0x16ee();}import{escapeRegExp as _0x595205}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x95ba96{[_0x423b5b(0xe2)];[_0x423b5b(0xf3)];constructor(_0x4a952b,_0x2fdeca,_0x13f3fc){const _0x1a8d6e=_0x423b5b;super(_0x4a952b),this[_0x1a8d6e(0xe2)]=_0x2fdeca,this[_0x1a8d6e(0xf3)]=_0x13f3fc;}[_0x423b5b(0xec)](_0x34a302){const _0x484010=_0x423b5b;if(!_0x34a302)return this[_0x484010(0xf0)][_0x484010(0xe9)](),this[_0x484010(0xf0)][_0x484010(0xf1)](this[_0x484010(0xe2)]),this[_0x484010(0xf7)](),{'resultsCount':this[_0x484010(0xe2)][_0x484010(0xfb)],'totalItemsCount':this[_0x484010(0xe2)][_0x484010(0xfb)]};const _0x191da7=_0x34a302[_0x484010(0xf4)][_0x484010(0xe7)]()[_0x484010(0xf2)](),_0xd425ab=this[_0x484010(0xf3)][_0x484010(0xec)](_0x310380=>(_0x310380[_0x484010(0xf8)]?_0x310380[_0x484010(0xe0)]+'\x20('+_0x310380[_0x484010(0xf8)]+')':_0x310380[_0x484010(0xe0)])[_0x484010(0xe7)]()[_0x484010(0xdf)](_0x191da7));return this[_0x484010(0xf0)][_0x484010(0xe9)](),this[_0x484010(0xf0)][_0x484010(0xf1)](_0xd425ab[_0x484010(0xf5)]((_0x15a29a,_0x2621e9)=>{const _0x5ce757=_0x484010,_0x4985d8=_0x15a29a[_0x5ce757(0xf8)],_0x364668=_0x2621e9[_0x5ce757(0xf8)];return _0x4985d8||_0x364668?_0x4985d8?0x1:-0x1:0x0;})[_0x484010(0xe5)](_0x279bd0=>_0x279bd0[_0x484010(0xfc)])),this[_0x484010(0xe4)](_0x191da7,_0xd425ab),{'resultsCount':_0xd425ab[_0x484010(0xfb)],'totalItemsCount':this[_0x484010(0xf3)][_0x484010(0xfb)]};}[_0x423b5b(0xe4)](_0x1e1783,_0x1d2b38){const _0x17babc=_0x423b5b;if(!_0x1e1783)return;const _0x30f65f=new RegExp(_0x595205(_0x1e1783),'gi');_0x1d2b38[_0x17babc(0xe3)](_0x3bb128=>{const _0x57cab7=_0x17babc;_0x3bb128[_0x57cab7(0xf9)]&&_0x3bb128[_0x57cab7(0xf9)][_0x57cab7(0xe3)](_0x54590f=>{const _0x1f654a=_0x57cab7;_0x1f654a(0xef)==typeof _0x54590f[_0x1f654a(0xe8)]&&_0x54590f[_0x1f654a(0xe8)](_0x30f65f);});});}[_0x423b5b(0xf7)](){const _0x12c352=_0x423b5b;this[_0x12c352(0xf3)][_0x12c352(0xe3)](_0x497724=>{const _0xd2ba52=_0x12c352;_0x497724[_0xd2ba52(0xf9)]&&_0x497724[_0xd2ba52(0xf9)][_0xd2ba52(0xe3)](_0x2a479c=>{const _0x4a7be4=_0xd2ba52;_0x4a7be4(0xef)==typeof _0x2a479c[_0x4a7be4(0xe8)]&&_0x2a479c[_0x4a7be4(0xe8)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x25935b,_0x3e6a46){var _0x24ba43=_0x23af,_0x87dd99=_0x25935b();while(!![]){try{var _0x300945=parseInt(_0x24ba43(0x163))/0x1*(-parseInt(_0x24ba43(0x165))/0x2)+-parseInt(_0x24ba43(0x16b))/0x3*(-parseInt(_0x24ba43(0x16a))/0x4)+parseInt(_0x24ba43(0x15f))/0x5+parseInt(_0x24ba43(0x162))/0x6*(parseInt(_0x24ba43(0x160))/0x7)+parseInt(_0x24ba43(0x168))/0x8+-parseInt(_0x24ba43(0x161))/0x9+parseInt(_0x24ba43(0x167))/0xa;if(_0x300945===_0x3e6a46)break;else _0x87dd99['push'](_0x87dd99['shift']());}catch(_0x44c039){_0x87dd99['push'](_0x87dd99['shift']());}}}(_0x2595,0x5efd8));function _0x2595(){var _0x294f60=['2013EgSNMs','ck-ai-balloon__disclaimer-content','ck-ai-balloon__disclaimer','52555cpQFwj','1337iyinOe','2180646aqNxJo','11208FVUkAE','5947ZeFMDi','div','158aANajo','AI_DISCLAIMER_TEXT','5623980bpTGXE','335896vuxzmF','setTemplate','772wHcDHN'];_0x2595=function(){return _0x294f60;};return _0x2595();}import{View as _0x5142d3}from'ckeditor5/src/ui.js';import{getTranslation as _0x3e8e14}from'../../../aicore/utils/common-translations.js';function _0x23af(_0x3a0cd3,_0xc6be61){var _0x25953b=_0x2595();return _0x23af=function(_0x23afee,_0x167757){_0x23afee=_0x23afee-0x15d;var _0x303a90=_0x25953b[_0x23afee];return _0x303a90;},_0x23af(_0x3a0cd3,_0xc6be61);}export class AIActionsBalloonDisclaimerView extends _0x5142d3{constructor(_0x117de8){var _0x3339e0=_0x23af;super(_0x117de8),this[_0x3339e0(0x169)]({'tag':_0x3339e0(0x164),'attributes':{'class':['ck',_0x3339e0(0x15e)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x3339e0(0x15d)]},'children':[{'text':_0x3e8e14(_0x117de8,_0x3339e0(0x166))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2364dc=_0x3159;function _0x3159(_0x109a7,_0x458c6a){const _0x30d53c=_0x30d5();return _0x3159=function(_0x31591d,_0x2338b0){_0x31591d=_0x31591d-0x65;let _0x1e8bc8=_0x30d53c[_0x31591d];return _0x1e8bc8;},_0x3159(_0x109a7,_0x458c6a);}(function(_0x44cd44,_0x442145){const _0x1dd7a0=_0x3159,_0x329093=_0x44cd44();while(!![]){try{const _0x734e55=parseInt(_0x1dd7a0(0x81))/0x1*(parseInt(_0x1dd7a0(0x80))/0x2)+parseInt(_0x1dd7a0(0x6e))/0x3*(-parseInt(_0x1dd7a0(0x69))/0x4)+parseInt(_0x1dd7a0(0x6a))/0x5+-parseInt(_0x1dd7a0(0x73))/0x6*(parseInt(_0x1dd7a0(0x65))/0x7)+-parseInt(_0x1dd7a0(0x75))/0x8+-parseInt(_0x1dd7a0(0x79))/0x9*(-parseInt(_0x1dd7a0(0x7f))/0xa)+-parseInt(_0x1dd7a0(0x6c))/0xb*(parseInt(_0x1dd7a0(0x72))/0xc);if(_0x734e55===_0x442145)break;else _0x329093['push'](_0x329093['shift']());}catch(_0x3114ac){_0x329093['push'](_0x329093['shift']());}}}(_0x30d5,0x38614));import{ToolbarView as _0x4596f8,ButtonView as _0x3e172c}from'ckeditor5/src/ui.js';import{getTranslation as _0x9da661}from'../../../aicore/utils/common-translations.js';function _0x30d5(){const _0x1d845e=['_createButton','suggestButton','ck-ai-button-secondary','548208Duqass','1590MtlOrJ','AI_BALLOON_SUGGEST_BUTTON','1469208lNXBXe','isEnabled','AI_BALLOON_APPLY_BUTTON','locale','21825BIiplb','add','extendTemplate','applyButton','items','set','1810fgrahF','429314VcCKJZ','1kJhLBr','1309YJcWrC','isVisible','bind','ck-ai-button-primary','12jsZNFk','2183535fOVwvP','setButtonsVisibility','77lHtrIC','ck-ai-balloon__toolbar','306363EqoPLX'];_0x30d5=function(){return _0x1d845e;};return _0x30d5();}export class AIActionsBalloonToolbarView extends _0x4596f8{constructor(_0x2c11ed,_0x1bdd66=!0x0,_0x5b37a0=!0x0){const _0x421868=_0x3159;super(_0x2c11ed),this[_0x421868(0x7e)](_0x421868(0x76),!0x1),_0x1bdd66&&(this[_0x421868(0x7c)]=this[_0x421868(0x6f)](_0x9da661(_0x2c11ed,_0x421868(0x77)),_0x421868(0x68)),this[_0x421868(0x7c)][_0x421868(0x67)](_0x421868(0x76))['to'](this),this[_0x421868(0x7d)][_0x421868(0x7a)](this[_0x421868(0x7c)])),_0x5b37a0&&(this[_0x421868(0x70)]=this[_0x421868(0x6f)](_0x9da661(_0x2c11ed,_0x421868(0x74)),_0x1bdd66?_0x421868(0x71):_0x421868(0x68)),this[_0x421868(0x70)][_0x421868(0x67)](_0x421868(0x76))['to'](this),this[_0x421868(0x7d)][_0x421868(0x7a)](this[_0x421868(0x70)])),this[_0x421868(0x6b)]({'showApplyButton':_0x1bdd66,'showSuggestButton':_0x5b37a0}),this[_0x421868(0x7b)]({'attributes':{'class':[_0x421868(0x6d)]}});}[_0x2364dc(0x6b)]({showApplyButton:_0x305957,showSuggestButton:_0x506f70}){const _0x38fbea=_0x2364dc;this[_0x38fbea(0x7c)]&&(this[_0x38fbea(0x7c)][_0x38fbea(0x66)]=_0x305957),this[_0x38fbea(0x70)]&&(this[_0x38fbea(0x70)][_0x38fbea(0x66)]=_0x506f70);}[_0x2364dc(0x6f)](_0x91ca56,_0x20b263){const _0xb49dce=_0x2364dc,_0x55ae23=new _0x3e172c(this[_0xb49dce(0x78)]);return _0x55ae23[_0xb49dce(0x7e)]({'label':_0x91ca56,'class':_0x20b263,'isVisible':!0x0,'withText':!0x0}),_0x55ae23;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x224eea=_0x3efb;(function(_0xeeecb1,_0x1ad771){const _0xda0870=_0x3efb,_0x534434=_0xeeecb1();while(!![]){try{const _0xe91b0=parseInt(_0xda0870(0x1b6))/0x1*(-parseInt(_0xda0870(0x1c8))/0x2)+parseInt(_0xda0870(0x1fa))/0x3*(parseInt(_0xda0870(0x1a5))/0x4)+-parseInt(_0xda0870(0x1c2))/0x5+-parseInt(_0xda0870(0x1d3))/0x6*(-parseInt(_0xda0870(0x1eb))/0x7)+parseInt(_0xda0870(0x1e8))/0x8+parseInt(_0xda0870(0x20a))/0x9+-parseInt(_0xda0870(0x1a9))/0xa;if(_0xe91b0===_0x1ad771)break;else _0x534434['push'](_0x534434['shift']());}catch(_0x18f2c6){_0x534434['push'](_0x534434['shift']());}}}(_0x34bc,0x29d3d));import{ViewCollection as _0xb26f8b,FocusCycler as _0x426db6,ButtonView as _0x4fba18,View as _0x171f90}from'ckeditor5/src/ui.js';import{FocusTracker as _0x1b9f11,KeystrokeHandler as _0x454d60}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x5a0661}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x530772}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x44eeaa}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x1ca934}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x363485}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x9d482e}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x268c6f}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x27158a,IconPreviousArrow as _0x6c249c,IconRefresh as _0x2a0d6c}from'@ckeditor/ckeditor5-icons';function _0x3efb(_0x1cdf02,_0x65cc5a){const _0x34bc49=_0x34bc();return _0x3efb=function(_0x3efbd7,_0x191621){_0x3efbd7=_0x3efbd7-0x193;let _0x58d912=_0x34bc49[_0x3efbd7];return _0x58d912;},_0x3efb(_0x1cdf02,_0x65cc5a);}import{getTranslation as _0x2b10cc}from'../../../aicore/utils/common-translations.js';function _0x34bc(){const _0xf2dbd8=['_addToolbar','clear','setTemplate','focus','set','ck-ai-navigation-button\x20ck-ai-previous-button','toggleIsLoading','_keystrokes','1300372kbQxOU','_streamableContentView','_errorView','_addContentWrapper','2661950nJUcjG','focusCycler','element','change:isTrackChangesOn','_navigationTryAgainButton','AI_ACTIONS_TRY_AGAIN','_toolbarView','toggleShowChanges','tab','ck-ai-actions-balloon-content','_miniToolbarView','_getScrollableElement','_createMiniToolbar','16574eiQjOJ','div','_focusables','stopAutoScroll','_config','stop','tryAgain','ck-ai-navigation-button\x20ck-ai-next-button','_hasError','showPrevious','shift\x20+\x20tab','_disclaimerView','994630EmgNcZ','_scrollManager','destroy','ck-ai-custom-action-button','_navigationPreviousButton','1/1','10bjhsGz','removeMiniToolbarItem','resetShowChangesButton','_createStreamableContentView','addMiniToolbarItem','bind','_setupMiniToolbarButtons','ck-ai-actions-balloon-content-wrapper','applySuggestion','focusLast','showNext','6CRaYvS','isBusy','setErrorState','listenTo','toggleSuggestionDisplayMode','_navigationCounter','add','hideError','isEnabled','render','_dialogContent','span','AI_ACTIONS_NEXT_INTERACTION','suggestButton','showLoader','isTrackChangesOn','_navigationNextButton','createCollection','addMany','_focusTracker','setIsLoading','52600FXaxrf','includes','items','1764469NHXQFJ','update','availableActions','execute','disableMiniToolbarButtons','_createLoaderView','setButtonsVisibility','_toggleToolbarButtonsVisibility','setInteractionCount','has','showError','applyButton','showBlockingError','remove','start','3Hcoyyf','toggleShowChangesEnabled','AI_ACTIONS_PREVIOUS_INTERACTION','ck-ai-interaction-counter','focusFirst','_isLoading','isShowChangesOn','_loaderView','fire','insertSuggestion','locale','delegate','ck-ai-actions-balloon-main','miniToolbarConfig','_addDisclaimerView','_contentWrapper','1220229kcfmYd','updateMiniToolbarButtons','updateContent','hideLoader','startAutoScroll','clearErrorState','_initializeScrollManager','bindTemplate','clearContent','isVisible','interactionCount'];_0x34bc=function(){return _0xf2dbd8;};return _0x34bc();}import{AIBalloonView as _0x13836e}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x224eea(0x1d0),_0x224eea(0x203)];export class AIActionsBalloonView extends _0x13836e{[_0x224eea(0x1aa)];[_0x224eea(0x1ba)];[_0x224eea(0x209)];[_0x224eea(0x1a6)];[_0x224eea(0x1af)];[_0x224eea(0x1b3)];[_0x224eea(0x201)];[_0x224eea(0x1c1)];[_0x224eea(0x1e6)];[_0x224eea(0x1a4)];[_0x224eea(0x1dd)];[_0x224eea(0x1b8)];[_0x224eea(0x1c3)];[_0x224eea(0x1c6)];[_0x224eea(0x1e3)];[_0x224eea(0x1ad)];[_0x224eea(0x1d8)];constructor(_0x33506c,_0x118c6e){const _0x71a51d=_0x224eea;super(_0x33506c),this[_0x71a51d(0x1a1)](_0x71a51d(0x1d4),!0x1),this[_0x71a51d(0x1a1)](_0x71a51d(0x1e2),!0x1),this[_0x71a51d(0x1a1)](_0x71a51d(0x1ff),!0x1),this[_0x71a51d(0x1a1)](_0x71a51d(0x1be),!0x1),this[_0x71a51d(0x1ba)]=_0x118c6e,this[_0x71a51d(0x1e6)]=new _0x1b9f11(),this[_0x71a51d(0x1a4)]=new _0x454d60(),this[_0x71a51d(0x1b8)]=this[_0x71a51d(0x1e4)](),this[_0x71a51d(0x1aa)]=new _0x426db6({'focusables':this[_0x71a51d(0x1b8)],'focusTracker':this[_0x71a51d(0x1e6)],'keystrokeHandler':this[_0x71a51d(0x1a4)],'actions':{'focusPrevious':_0x71a51d(0x1c0),'focusNext':_0x71a51d(0x1b1)}}),this[_0x71a51d(0x1dd)]=new _0xb26f8b(),this[_0x71a51d(0x1a8)](_0x118c6e),this[_0x71a51d(0x208)](),this[_0x71a51d(0x19d)](_0x118c6e),this[_0x71a51d(0x1b8)][_0x71a51d(0x19e)](),this[_0x71a51d(0x1b8)][_0x71a51d(0x1e5)]([this[_0x71a51d(0x1af)]]),this[_0x71a51d(0x19f)]({'tag':_0x71a51d(0x1b7),'attributes':{'class':[_0x71a51d(0x206)]},'children':this[_0x71a51d(0x1dd)]}),this['on'](_0x71a51d(0x1ac),()=>{const _0x238838=_0x71a51d;this[_0x238838(0x1f2)](_0x118c6e);});}[_0x224eea(0x1dc)](){const _0x120372=_0x224eea;super[_0x120372(0x1dc)]();for(const _0x5a4f8d of this[_0x120372(0x1b8)])this[_0x120372(0x1e6)][_0x120372(0x1d9)](_0x5a4f8d[_0x120372(0x1ab)]);this[_0x120372(0x1a4)][_0x120372(0x1d6)](this[_0x120372(0x1ab)]),this[_0x120372(0x198)]();}[_0x224eea(0x1c4)](){const _0x4072ea=_0x224eea;super[_0x4072ea(0x1c4)](),this[_0x4072ea(0x1c3)]&&this[_0x4072ea(0x1c3)][_0x4072ea(0x1c4)]();}[_0x224eea(0x1a0)](_0x4b00a6){const _0x5e7133=_0x224eea;-0x1===_0x4b00a6?this[_0x5e7133(0x1aa)][_0x5e7133(0x1d1)]():this[_0x5e7133(0x1aa)][_0x5e7133(0x1fe)]();}[_0x224eea(0x1e7)](_0x17b155){const _0x27b18b=_0x224eea;this[_0x27b18b(0x1ff)]=_0x17b155;}[_0x224eea(0x1d5)](){const _0x361908=_0x224eea;this[_0x361908(0x1be)]=!0x0,this[_0x361908(0x1b3)][_0x361908(0x1fb)](!0x1);}[_0x224eea(0x197)](){const _0x293b6a=_0x224eea;this[_0x293b6a(0x1be)]=!0x1,this[_0x293b6a(0x1b3)][_0x293b6a(0x1fb)](!0x0);}[_0x224eea(0x1f5)](_0x4ea2a7){const _0x396ff7=_0x224eea;super[_0x396ff7(0x1f5)](_0x4ea2a7),this[_0x396ff7(0x1dd)][_0x396ff7(0x1f4)](this[_0x396ff7(0x1a7)])||this[_0x396ff7(0x1dd)][_0x396ff7(0x1d9)](this[_0x396ff7(0x1a7)],0x0);}[_0x224eea(0x1da)](){const _0x518bfe=_0x224eea;super[_0x518bfe(0x1da)](),this[_0x518bfe(0x197)]();}[_0x224eea(0x1f7)](_0x25d3ca){const _0x275362=_0x224eea;super[_0x275362(0x1f7)](_0x25d3ca),this[_0x275362(0x1d5)]();}[_0x224eea(0x1cc)](_0x2f524f){const _0x5690b0=_0x224eea;this[_0x5690b0(0x1b3)][_0x5690b0(0x1ea)][_0x5690b0(0x1f4)](_0x2f524f)||this[_0x5690b0(0x1b3)][_0x5690b0(0x1ea)][_0x5690b0(0x1d9)](_0x2f524f);}[_0x224eea(0x1c9)](_0x4627a6){const _0x1fc79d=_0x224eea;this[_0x1fc79d(0x1b3)][_0x1fc79d(0x1ea)][_0x1fc79d(0x1f4)](_0x4627a6)&&this[_0x1fc79d(0x1b3)][_0x1fc79d(0x1ea)][_0x1fc79d(0x1f8)](_0x4627a6);}[_0x224eea(0x1e1)](){const _0x9c667=_0x224eea;this[_0x9c667(0x201)]&&(this[_0x9c667(0x1ff)]=!0x0);}[_0x224eea(0x195)](){const _0x4ab9a4=_0x224eea;this[_0x4ab9a4(0x201)]&&(this[_0x4ab9a4(0x1ff)]=!0x1);}[_0x224eea(0x1f2)]({showApplyButton:_0x3d5186,showSuggestButton:_0x2d1f97}){const _0x4b99d9=_0x224eea;_0x3d5186=_0x3d5186&&!this[_0x4b99d9(0x1e2)]&&this[_0x4b99d9(0x1ba)][_0x4b99d9(0x1ed)][_0x4b99d9(0x1e9)](_0x4b99d9(0x1d0)),_0x2d1f97=_0x2d1f97&&this[_0x4b99d9(0x1ba)][_0x4b99d9(0x1ed)][_0x4b99d9(0x1e9)](_0x4b99d9(0x203)),this[_0x4b99d9(0x1af)][_0x4b99d9(0x1f1)]({'showApplyButton':_0x3d5186,'showSuggestButton':_0x2d1f97});}async[_0x224eea(0x194)](_0x570789){const _0x43b3d4=_0x224eea;await this[_0x43b3d4(0x1a6)][_0x43b3d4(0x1ec)](_0x570789);}[_0x224eea(0x19a)](){const _0x542081=_0x224eea;this[_0x542081(0x1a6)][_0x542081(0x19e)]();}[_0x224eea(0x1a8)](_0x3527ae){const _0x181406=_0x224eea;this[_0x181406(0x209)]=new _0x171f90(this[_0x181406(0x204)]),this[_0x181406(0x209)][_0x181406(0x19f)]({'tag':_0x181406(0x1b7),'attributes':{'class':[_0x181406(0x1b2)]},'children':[{'tag':_0x181406(0x1b7),'attributes':{'class':[_0x181406(0x1cf)]},'children':[this[_0x181406(0x1f0)](),this[_0x181406(0x1cb)]()]},this[_0x181406(0x1b5)](_0x3527ae[_0x181406(0x207)])]}),this[_0x181406(0x1dd)][_0x181406(0x1d9)](this[_0x181406(0x209)]);}[_0x224eea(0x208)](){const _0x3779c0=_0x224eea;this[_0x3779c0(0x1c1)]=new _0x530772(this[_0x3779c0(0x204)]),this[_0x3779c0(0x1dd)][_0x3779c0(0x1d9)](this[_0x3779c0(0x1c1)]);}[_0x224eea(0x19d)]({showApplyButton:_0x1fb0d6,showSuggestButton:_0xbf7474}){const _0x526616=_0x224eea;this[_0x526616(0x1af)]=new _0x5a0661(this[_0x526616(0x204)],_0x1fb0d6,_0xbf7474),this[_0x526616(0x1af)][_0x526616(0x1f6)]?.['on'](_0x526616(0x1ee),()=>{const _0x284367=_0x526616;this[_0x284367(0x202)](_0x284367(0x1d0));}),this[_0x526616(0x1af)][_0x526616(0x1e0)]?.['on'](_0x526616(0x1ee),()=>{const _0x36aa4c=_0x526616;this[_0x36aa4c(0x202)](_0x36aa4c(0x203));}),this[_0x526616(0x1af)][_0x526616(0x1cd)](_0x526616(0x1db))['to'](this,_0x526616(0x1d4),this,_0x526616(0x1ff),this,_0x526616(0x1be),(_0x50504a,_0x398f6e,_0x324dc2)=>!(_0x50504a||_0x398f6e||_0x324dc2)),this[_0x526616(0x1f2)]({'showApplyButton':_0x1fb0d6,'showSuggestButton':_0xbf7474}),this[_0x526616(0x1dd)][_0x526616(0x1d9)](this[_0x526616(0x1af)]);}[_0x224eea(0x1b5)](_0x26d182){const _0x3f9855=_0x224eea;return this[_0x3f9855(0x1b3)]=new _0x1ca934(this[_0x3f9855(0x204)],_0x26d182),this[_0x3f9855(0x1b3)][_0x3f9855(0x205)](..._0x363485)['to'](this),this[_0x3f9855(0x1b3)]['on'](_0x3f9855(0x1b0),()=>{const _0x257f3d=_0x3f9855;this[_0x257f3d(0x1b3)][_0x257f3d(0x200)]=!this[_0x257f3d(0x1b3)][_0x257f3d(0x200)],this[_0x257f3d(0x202)](_0x257f3d(0x1d7),{'showDiff':this[_0x257f3d(0x1b3)][_0x257f3d(0x200)]});}),this[_0x3f9855(0x1b3)][_0x3f9855(0x1cd)](_0x3f9855(0x1db))['to'](this,_0x3f9855(0x1d4),this,_0x3f9855(0x1ff),(_0x16a1ec,_0x52dfee)=>!(_0x16a1ec||_0x52dfee)),this[_0x3f9855(0x1b3)];}[_0x224eea(0x1f0)](){const _0x2bcb4e=_0x224eea;return this[_0x2bcb4e(0x201)]=new _0x9d482e(this[_0x2bcb4e(0x204)]),this[_0x2bcb4e(0x201)][_0x2bcb4e(0x1cd)](_0x2bcb4e(0x19b))['to'](this,_0x2bcb4e(0x1ff)),this[_0x2bcb4e(0x201)];}[_0x224eea(0x1cb)](){const _0x89956a=_0x224eea;return this[_0x89956a(0x1a6)]=new _0x268c6f(this[_0x89956a(0x204)]),this[_0x89956a(0x1a6)];}[_0x224eea(0x1ce)](){const _0x53472e=_0x224eea,_0xe694e7=new _0x4fba18(this[_0x53472e(0x204)]),_0xfe6a4e=new _0x4fba18(this[_0x53472e(0x204)]),_0x21ba48=new Ln(this[_0x53472e(0x204)]),_0xbbcd5c=new _0x4fba18(this[_0x53472e(0x204)]);_0xe694e7[_0x53472e(0x1a1)]({'icon':_0x2a0d6c,'label':_0x2b10cc(this[_0x53472e(0x204)],_0x53472e(0x1ae)),'tooltip':!0x0,'class':_0x53472e(0x1c5)}),_0xfe6a4e[_0x53472e(0x1a1)]({'icon':_0x6c249c,'tooltip':_0x2b10cc(this[_0x53472e(0x204)],_0x53472e(0x1fc)),'class':_0x53472e(0x1a2)}),_0xbbcd5c[_0x53472e(0x1a1)]({'icon':_0x27158a,'tooltip':_0x2b10cc(this[_0x53472e(0x204)],_0x53472e(0x1df)),'class':_0x53472e(0x1bd)}),_0xe694e7[_0x53472e(0x1cd)](_0x53472e(0x1db))['to'](this,_0x53472e(0x1d4),_0x2ab933=>!_0x2ab933),_0xe694e7['on'](_0x53472e(0x1ee),()=>{const _0x32bf14=_0x53472e;this[_0x32bf14(0x202)](_0x32bf14(0x1bc));}),_0xfe6a4e[_0x53472e(0x1cd)](_0x53472e(0x1db))['to'](this,_0x53472e(0x1d4),_0x5c975d=>!_0x5c975d),_0xfe6a4e['on'](_0x53472e(0x1ee),()=>{const _0xa4d974=_0x53472e;this[_0xa4d974(0x202)](_0xa4d974(0x1bf));}),_0xbbcd5c[_0x53472e(0x1cd)](_0x53472e(0x1db))['to'](this,_0x53472e(0x1d4),_0x3ffd5a=>!_0x3ffd5a),_0xbbcd5c['on'](_0x53472e(0x1ee),()=>{const _0x4b817d=_0x53472e;this[_0x4b817d(0x202)](_0x4b817d(0x1d2));}),this[_0x53472e(0x1c6)]=_0xfe6a4e,this[_0x53472e(0x1d8)]=_0x21ba48,this[_0x53472e(0x1e3)]=_0xbbcd5c,this[_0x53472e(0x1ad)]=_0xe694e7;}[_0x224eea(0x193)](_0x2082af,_0x5c380e){const _0xcb2743=_0x224eea;this[_0xcb2743(0x1c6)]||this[_0xcb2743(0x1ce)]();const _0x22ac3f=_0x2082af>0x1;if(this[_0xcb2743(0x1cc)](this[_0xcb2743(0x1ad)]),_0x22ac3f){this[_0xcb2743(0x1cc)](this[_0xcb2743(0x1c6)]),this[_0xcb2743(0x1cc)](this[_0xcb2743(0x1d8)]),this[_0xcb2743(0x1cc)](this[_0xcb2743(0x1e3)]);const _0x3ec545=_0x2082af-_0x5c380e;this[_0xcb2743(0x1d8)][_0xcb2743(0x1f3)](_0x3ec545+'/'+_0x2082af),this[_0xcb2743(0x1c6)][_0xcb2743(0x1db)]=_0x5c380e<_0x2082af-0x1,this[_0xcb2743(0x1e3)][_0xcb2743(0x1db)]=_0x5c380e>0x0;}else this[_0xcb2743(0x1c9)](this[_0xcb2743(0x1c6)]),this[_0xcb2743(0x1c9)](this[_0xcb2743(0x1d8)]),this[_0xcb2743(0x1c9)](this[_0xcb2743(0x1e3)]);}[_0x224eea(0x1ef)](){const _0x210cff=_0x224eea;this[_0x210cff(0x1ad)][_0x210cff(0x1db)]=!0x1,this[_0x210cff(0x1c6)][_0x210cff(0x1db)]=!0x1,this[_0x210cff(0x1e3)][_0x210cff(0x1db)]=!0x1;}[_0x224eea(0x196)](){const _0xd39736=_0x224eea;this[_0xd39736(0x198)](),this[_0xd39736(0x1c3)]&&this[_0xd39736(0x1c3)][_0xd39736(0x1f9)]();}[_0x224eea(0x1b9)](){const _0x330b5c=_0x224eea;this[_0x330b5c(0x1c3)]&&this[_0x330b5c(0x1c3)][_0x330b5c(0x1bb)]();}[_0x224eea(0x1a3)](_0x281b7b){const _0x4d9ce9=_0x224eea;this[_0x4d9ce9(0x1ff)]=_0x281b7b;}[_0x224eea(0x1ca)](){const _0x11c2a7=_0x224eea;this[_0x11c2a7(0x1b3)][_0x11c2a7(0x200)]=!0x1;}[_0x224eea(0x198)](){const _0x1c35b4=_0x224eea,_0x5c6f1e=this[_0x1c35b4(0x1b4)]();_0x5c6f1e&&!this[_0x1c35b4(0x1c3)]&&(this[_0x1c35b4(0x1c3)]=new _0x44eeaa(_0x5c6f1e));}[_0x224eea(0x1b4)](){const _0x4d4db0=_0x224eea;return this[_0x4d4db0(0x1a6)][_0x4d4db0(0x1ab)];}}class Ln extends _0x171f90{constructor(_0x56e102){const _0x161768=_0x224eea;super(_0x56e102);const _0x44560e=this[_0x161768(0x199)];this[_0x161768(0x1a1)](_0x161768(0x19c),_0x161768(0x1c7)),this[_0x161768(0x19f)]({'tag':_0x161768(0x1de),'attributes':{'class':[_0x161768(0x1fd)]},'children':[{'text':_0x44560e['to'](_0x161768(0x19c))}]});}[_0x224eea(0x1f3)](_0x44bf84){const _0x4c1a10=_0x224eea;this[_0x4c1a10(0x1a1)](_0x4c1a10(0x19c),_0x44bf84);}}
|
|
23
|
+
function _0x1909(){const _0x4248ce=['insertSuggestion','isBusy','_addDisclaimerView','disableMiniToolbarButtons','_createMiniToolbar','_focusTracker','addMiniToolbarItem','showError','change:isTrackChangesOn','ck-ai-actions-balloon-content','801241GbBfTR','_streamableContentView','_navigationCounter','_hasError','stop','77sYhNcM','add','has','ck-ai-navigation-button\x20ck-ai-previous-button','hideError','_dialogContent','ck-ai-actions-balloon-content-wrapper','execute','AI_ACTIONS_PREVIOUS_INTERACTION','focus','1/1','_addToolbar','15305ydsMML','_miniToolbarView','remove','clearErrorState','bind','256130JXXznZ','246uCwCwe','miniToolbarConfig','49596sQRnyR','toggleShowChanges','setErrorState','4578581EjubJL','AI_ACTIONS_NEXT_INTERACTION','hideLoader','start','listenTo','tryAgain','setInteractionCount','_focusables','tab','locale','_toggleToolbarButtonsVisibility','destroy','set','applySuggestion','focusFirst','36AJyfwb','toggleSuggestionDisplayMode','element','isShowChangesOn','_contentWrapper','removeMiniToolbarItem','stopAutoScroll','5982280AiULBX','updateMiniToolbarButtons','updateContent','addMany','_isLoading','ck-ai-interaction-counter','_createStreamableContentView','_toolbarView','includes','3AjXmBv','suggestButton','2gOTsUv','setTemplate','setButtonsVisibility','focusCycler','ck-ai-actions-balloon-main','availableActions','clearContent','render','div','interactionCount','_navigationPreviousButton','_errorView','_config','update','_loaderView','showPrevious','focusLast','_disclaimerView','createCollection','resetShowChangesButton','startAutoScroll','_getScrollableElement','applyButton','251564JRpfNO','isTrackChangesOn','ck-ai-navigation-button\x20ck-ai-next-button','shift\x20+\x20tab','_keystrokes','isEnabled','showNext','_initializeScrollManager','clear','_setupMiniToolbarButtons','fire','toggleIsLoading','isVisible','_scrollManager','ck-ai-custom-action-button','_addContentWrapper','showLoader','showBlockingError','_createLoaderView','setIsLoading','_navigationTryAgainButton','delegate','items','span','toggleShowChangesEnabled','AI_ACTIONS_TRY_AGAIN','_navigationNextButton','bindTemplate'];_0x1909=function(){return _0x4248ce;};return _0x1909();}const _0x3dafb1=_0x1fde;function _0x1fde(_0x4caf16,_0xec4841){const _0x19097e=_0x1909();return _0x1fde=function(_0x1fde3b,_0x532eb7){_0x1fde3b=_0x1fde3b-0x1b7;let _0x294135=_0x19097e[_0x1fde3b];return _0x294135;},_0x1fde(_0x4caf16,_0xec4841);}(function(_0x1d6b69,_0x12ff64){const _0x4e6125=_0x1fde,_0x23bb9f=_0x1d6b69();while(!![]){try{const _0xc24f17=-parseInt(_0x4e6125(0x1ff))/0x1*(parseInt(_0x4e6125(0x1c2))/0x2)+parseInt(_0x4e6125(0x1c0))/0x3*(parseInt(_0x4e6125(0x1d9))/0x4)+parseInt(_0x4e6125(0x210))/0x5*(-parseInt(_0x4e6125(0x216))/0x6)+parseInt(_0x4e6125(0x21b))/0x7+parseInt(_0x4e6125(0x1b7))/0x8+parseInt(_0x4e6125(0x22a))/0x9*(-parseInt(_0x4e6125(0x215))/0xa)+parseInt(_0x4e6125(0x204))/0xb*(-parseInt(_0x4e6125(0x218))/0xc);if(_0xc24f17===_0x12ff64)break;else _0x23bb9f['push'](_0x23bb9f['shift']());}catch(_0x1ca2c0){_0x23bb9f['push'](_0x23bb9f['shift']());}}}(_0x1909,0x6346a));import{ViewCollection as _0x573ad5,FocusCycler as _0x43354a,ButtonView as _0x5326df,View as _0x1af01d}from'ckeditor5/src/ui.js';import{FocusTracker as _0x5eb51f,KeystrokeHandler as _0xe144c3}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x548025}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x161270}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x467e4}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x36c737}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x558ec6}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x5649d1}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x55a717}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x4f4f1e,IconPreviousArrow as _0x5001e4,IconRefresh as _0x403fa7}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x3dfcce}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x5c3c3e}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x3dafb1(0x228),_0x3dafb1(0x1f5)];export class AIActionsBalloonView extends _0x5c3c3e{[_0x3dafb1(0x1c5)];[_0x3dafb1(0x1ce)];[_0x3dafb1(0x22e)];[_0x3dafb1(0x200)];[_0x3dafb1(0x1be)];[_0x3dafb1(0x211)];[_0x3dafb1(0x1d0)];[_0x3dafb1(0x1d3)];[_0x3dafb1(0x1fa)];[_0x3dafb1(0x1dd)];[_0x3dafb1(0x209)];[_0x3dafb1(0x222)];[_0x3dafb1(0x1e6)];[_0x3dafb1(0x1cc)];[_0x3dafb1(0x1f3)];[_0x3dafb1(0x1ed)];[_0x3dafb1(0x201)];constructor(_0x5170a9,_0x466b91){const _0x297785=_0x3dafb1;super(_0x5170a9),this[_0x297785(0x227)](_0x297785(0x1f6),!0x1),this[_0x297785(0x227)](_0x297785(0x1da),!0x1),this[_0x297785(0x227)](_0x297785(0x1bb),!0x1),this[_0x297785(0x227)](_0x297785(0x202),!0x1),this[_0x297785(0x1ce)]=_0x466b91,this[_0x297785(0x1fa)]=new _0x5eb51f(),this[_0x297785(0x1dd)]=new _0xe144c3(),this[_0x297785(0x222)]=this[_0x297785(0x1d4)](),this[_0x297785(0x1c5)]=new _0x43354a({'focusables':this[_0x297785(0x222)],'focusTracker':this[_0x297785(0x1fa)],'keystrokeHandler':this[_0x297785(0x1dd)],'actions':{'focusPrevious':_0x297785(0x1dc),'focusNext':_0x297785(0x223)}}),this[_0x297785(0x209)]=new _0x573ad5(),this[_0x297785(0x1e8)](_0x466b91),this[_0x297785(0x1f7)](),this[_0x297785(0x20f)](_0x466b91),this[_0x297785(0x222)][_0x297785(0x1e1)](),this[_0x297785(0x222)][_0x297785(0x1ba)]([this[_0x297785(0x1be)]]),this[_0x297785(0x1c3)]({'tag':_0x297785(0x1ca),'attributes':{'class':[_0x297785(0x1c6)]},'children':this[_0x297785(0x209)]}),this['on'](_0x297785(0x1fd),()=>{const _0x13f5cb=_0x297785;this[_0x13f5cb(0x225)](_0x466b91);});}[_0x3dafb1(0x1c9)](){const _0x94ce07=_0x3dafb1;super[_0x94ce07(0x1c9)]();for(const _0x1cdd5c of this[_0x94ce07(0x222)])this[_0x94ce07(0x1fa)][_0x94ce07(0x205)](_0x1cdd5c[_0x94ce07(0x22c)]);this[_0x94ce07(0x1dd)][_0x94ce07(0x21f)](this[_0x94ce07(0x22c)]),this[_0x94ce07(0x1e0)]();}[_0x3dafb1(0x226)](){const _0x4ba37f=_0x3dafb1;super[_0x4ba37f(0x226)](),this[_0x4ba37f(0x1e6)]&&this[_0x4ba37f(0x1e6)][_0x4ba37f(0x226)]();}[_0x3dafb1(0x20d)](_0xaec695){const _0x3b58fa=_0x3dafb1;-0x1===_0xaec695?this[_0x3b58fa(0x1c5)][_0x3b58fa(0x1d2)]():this[_0x3b58fa(0x1c5)][_0x3b58fa(0x229)]();}[_0x3dafb1(0x1ec)](_0x4b138d){const _0x3d0929=_0x3dafb1;this[_0x3d0929(0x1bb)]=_0x4b138d;}[_0x3dafb1(0x21a)](){const _0x1460bd=_0x3dafb1;this[_0x1460bd(0x202)]=!0x0,this[_0x1460bd(0x211)][_0x1460bd(0x1f1)](!0x1);}[_0x3dafb1(0x213)](){const _0xd8c504=_0x3dafb1;this[_0xd8c504(0x202)]=!0x1,this[_0xd8c504(0x211)][_0xd8c504(0x1f1)](!0x0);}[_0x3dafb1(0x1fc)](_0x1ed0e7){const _0x341d21=_0x3dafb1;super[_0x341d21(0x1fc)](_0x1ed0e7),this[_0x341d21(0x209)][_0x341d21(0x206)](this[_0x341d21(0x1cd)])||this[_0x341d21(0x209)][_0x341d21(0x205)](this[_0x341d21(0x1cd)],0x0);}[_0x3dafb1(0x208)](){const _0x523a54=_0x3dafb1;super[_0x523a54(0x208)](),this[_0x523a54(0x213)]();}[_0x3dafb1(0x1ea)](_0x23f453){const _0x47035e=_0x3dafb1;super[_0x47035e(0x1ea)](_0x23f453),this[_0x47035e(0x21a)]();}[_0x3dafb1(0x1fb)](_0x4fb3ed){const _0x4ad77d=_0x3dafb1;this[_0x4ad77d(0x211)][_0x4ad77d(0x1ef)][_0x4ad77d(0x206)](_0x4fb3ed)||this[_0x4ad77d(0x211)][_0x4ad77d(0x1ef)][_0x4ad77d(0x205)](_0x4fb3ed);}[_0x3dafb1(0x22f)](_0x5dff33){const _0x147be6=_0x3dafb1;this[_0x147be6(0x211)][_0x147be6(0x1ef)][_0x147be6(0x206)](_0x5dff33)&&this[_0x147be6(0x211)][_0x147be6(0x1ef)][_0x147be6(0x212)](_0x5dff33);}[_0x3dafb1(0x1e9)](){const _0xd3ca3e=_0x3dafb1;this[_0xd3ca3e(0x1d0)]&&(this[_0xd3ca3e(0x1bb)]=!0x0);}[_0x3dafb1(0x21d)](){const _0x24ae3a=_0x3dafb1;this[_0x24ae3a(0x1d0)]&&(this[_0x24ae3a(0x1bb)]=!0x1);}[_0x3dafb1(0x225)]({showApplyButton:_0xa4b112,showSuggestButton:_0xb583e0}){const _0x2eb299=_0x3dafb1;_0xa4b112=_0xa4b112&&!this[_0x2eb299(0x1da)]&&this[_0x2eb299(0x1ce)][_0x2eb299(0x1c7)][_0x2eb299(0x1bf)](_0x2eb299(0x228)),_0xb583e0=_0xb583e0&&this[_0x2eb299(0x1ce)][_0x2eb299(0x1c7)][_0x2eb299(0x1bf)](_0x2eb299(0x1f5)),this[_0x2eb299(0x1be)][_0x2eb299(0x1c4)]({'showApplyButton':_0xa4b112,'showSuggestButton':_0xb583e0});}async[_0x3dafb1(0x1b9)](_0x452eea){const _0xb2facc=_0x3dafb1;await this[_0xb2facc(0x200)][_0xb2facc(0x1cf)](_0x452eea);}[_0x3dafb1(0x1c8)](){const _0x2bb123=_0x3dafb1;this[_0x2bb123(0x200)][_0x2bb123(0x1e1)]();}[_0x3dafb1(0x1e8)](_0x2d15bd){const _0x3939e1=_0x3dafb1;this[_0x3939e1(0x22e)]=new _0x1af01d(this[_0x3939e1(0x224)]),this[_0x3939e1(0x22e)][_0x3939e1(0x1c3)]({'tag':_0x3939e1(0x1ca),'attributes':{'class':[_0x3939e1(0x1fe)]},'children':[{'tag':_0x3939e1(0x1ca),'attributes':{'class':[_0x3939e1(0x20a)]},'children':[this[_0x3939e1(0x1eb)](),this[_0x3939e1(0x1bd)]()]},this[_0x3939e1(0x1f9)](_0x2d15bd[_0x3939e1(0x217)])]}),this[_0x3939e1(0x209)][_0x3939e1(0x205)](this[_0x3939e1(0x22e)]);}[_0x3dafb1(0x1f7)](){const _0x56c1d0=_0x3dafb1;this[_0x56c1d0(0x1d3)]=new _0x161270(this[_0x56c1d0(0x224)]),this[_0x56c1d0(0x209)][_0x56c1d0(0x205)](this[_0x56c1d0(0x1d3)]);}[_0x3dafb1(0x20f)]({showApplyButton:_0x4c03cc,showSuggestButton:_0xc5bb40}){const _0x4940e7=_0x3dafb1;this[_0x4940e7(0x1be)]=new _0x548025(this[_0x4940e7(0x224)],_0x4c03cc,_0xc5bb40),this[_0x4940e7(0x1be)][_0x4940e7(0x1d8)]?.['on'](_0x4940e7(0x20b),()=>{const _0x45e44b=_0x4940e7;this[_0x45e44b(0x1e3)](_0x45e44b(0x228));}),this[_0x4940e7(0x1be)][_0x4940e7(0x1c1)]?.['on'](_0x4940e7(0x20b),()=>{const _0xb8be30=_0x4940e7;this[_0xb8be30(0x1e3)](_0xb8be30(0x1f5));}),this[_0x4940e7(0x1be)][_0x4940e7(0x214)](_0x4940e7(0x1de))['to'](this,_0x4940e7(0x1f6),this,_0x4940e7(0x1bb),this,_0x4940e7(0x202),(_0x5a0bcd,_0x48be0d,_0x28b5d7)=>!(_0x5a0bcd||_0x48be0d||_0x28b5d7)),this[_0x4940e7(0x225)]({'showApplyButton':_0x4c03cc,'showSuggestButton':_0xc5bb40}),this[_0x4940e7(0x209)][_0x4940e7(0x205)](this[_0x4940e7(0x1be)]);}[_0x3dafb1(0x1f9)](_0x1bb418){const _0x372b10=_0x3dafb1;return this[_0x372b10(0x211)]=new _0x36c737(this[_0x372b10(0x224)],_0x1bb418),this[_0x372b10(0x211)][_0x372b10(0x1ee)](..._0x558ec6)['to'](this),this[_0x372b10(0x211)]['on'](_0x372b10(0x219),()=>{const _0x2ac285=_0x372b10;this[_0x2ac285(0x211)][_0x2ac285(0x22d)]=!this[_0x2ac285(0x211)][_0x2ac285(0x22d)],this[_0x2ac285(0x1e3)](_0x2ac285(0x22b),{'showDiff':this[_0x2ac285(0x211)][_0x2ac285(0x22d)]});}),this[_0x372b10(0x211)][_0x372b10(0x214)](_0x372b10(0x1de))['to'](this,_0x372b10(0x1f6),this,_0x372b10(0x1bb),(_0x1643a3,_0x24d4de)=>!(_0x1643a3||_0x24d4de)),this[_0x372b10(0x211)];}[_0x3dafb1(0x1eb)](){const _0x2a4fa0=_0x3dafb1;return this[_0x2a4fa0(0x1d0)]=new _0x5649d1(this[_0x2a4fa0(0x224)]),this[_0x2a4fa0(0x1d0)][_0x2a4fa0(0x214)](_0x2a4fa0(0x1e5))['to'](this,_0x2a4fa0(0x1bb)),this[_0x2a4fa0(0x1d0)];}[_0x3dafb1(0x1bd)](){const _0x508355=_0x3dafb1;return this[_0x508355(0x200)]=new _0x55a717(this[_0x508355(0x224)]),this[_0x508355(0x200)];}[_0x3dafb1(0x1e2)](){const _0x3ebe73=_0x3dafb1,_0x15802b=new _0x5326df(this[_0x3ebe73(0x224)]),_0x39e4fa=new _0x5326df(this[_0x3ebe73(0x224)]),_0x205140=new AIActionsBalloonNavigationCounterView(this[_0x3ebe73(0x224)]),_0x330138=new _0x5326df(this[_0x3ebe73(0x224)]);_0x15802b[_0x3ebe73(0x227)]({'icon':_0x403fa7,'label':_0x3dfcce(this[_0x3ebe73(0x224)],_0x3ebe73(0x1f2)),'tooltip':!0x0,'class':_0x3ebe73(0x1e7)}),_0x39e4fa[_0x3ebe73(0x227)]({'icon':_0x5001e4,'tooltip':_0x3dfcce(this[_0x3ebe73(0x224)],_0x3ebe73(0x20c)),'class':_0x3ebe73(0x207)}),_0x330138[_0x3ebe73(0x227)]({'icon':_0x4f4f1e,'tooltip':_0x3dfcce(this[_0x3ebe73(0x224)],_0x3ebe73(0x21c)),'class':_0x3ebe73(0x1db)}),_0x15802b[_0x3ebe73(0x214)](_0x3ebe73(0x1de))['to'](this,_0x3ebe73(0x1f6),_0x2d44ad=>!_0x2d44ad),_0x15802b['on'](_0x3ebe73(0x20b),()=>{const _0x27219e=_0x3ebe73;this[_0x27219e(0x1e3)](_0x27219e(0x220));}),_0x39e4fa[_0x3ebe73(0x214)](_0x3ebe73(0x1de))['to'](this,_0x3ebe73(0x1f6),_0x2821b6=>!_0x2821b6),_0x39e4fa['on'](_0x3ebe73(0x20b),()=>{const _0xbe7467=_0x3ebe73;this[_0xbe7467(0x1e3)](_0xbe7467(0x1d1));}),_0x330138[_0x3ebe73(0x214)](_0x3ebe73(0x1de))['to'](this,_0x3ebe73(0x1f6),_0x4a5173=>!_0x4a5173),_0x330138['on'](_0x3ebe73(0x20b),()=>{const _0x484c95=_0x3ebe73;this[_0x484c95(0x1e3)](_0x484c95(0x1df));}),this[_0x3ebe73(0x1cc)]=_0x39e4fa,this[_0x3ebe73(0x201)]=_0x205140,this[_0x3ebe73(0x1f3)]=_0x330138,this[_0x3ebe73(0x1ed)]=_0x15802b;}[_0x3dafb1(0x1b8)](_0x2a7282,_0x35b152){const _0x493c1f=_0x3dafb1;this[_0x493c1f(0x1cc)]||this[_0x493c1f(0x1e2)]();const _0x229786=_0x2a7282>0x1;if(this[_0x493c1f(0x1fb)](this[_0x493c1f(0x1ed)]),_0x229786){this[_0x493c1f(0x1fb)](this[_0x493c1f(0x1cc)]),this[_0x493c1f(0x1fb)](this[_0x493c1f(0x201)]),this[_0x493c1f(0x1fb)](this[_0x493c1f(0x1f3)]);const _0x440388=_0x2a7282-_0x35b152;this[_0x493c1f(0x201)][_0x493c1f(0x221)](_0x440388+'/'+_0x2a7282),this[_0x493c1f(0x1cc)][_0x493c1f(0x1de)]=_0x35b152<_0x2a7282-0x1,this[_0x493c1f(0x1f3)][_0x493c1f(0x1de)]=_0x35b152>0x0;}else this[_0x493c1f(0x22f)](this[_0x493c1f(0x1cc)]),this[_0x493c1f(0x22f)](this[_0x493c1f(0x201)]),this[_0x493c1f(0x22f)](this[_0x493c1f(0x1f3)]);}[_0x3dafb1(0x1f8)](){const _0x40c78d=_0x3dafb1;this[_0x40c78d(0x1ed)][_0x40c78d(0x1de)]=!0x1,this[_0x40c78d(0x1cc)][_0x40c78d(0x1de)]=!0x1,this[_0x40c78d(0x1f3)][_0x40c78d(0x1de)]=!0x1;}[_0x3dafb1(0x1d6)](){const _0x3d89b3=_0x3dafb1;this[_0x3d89b3(0x1e0)](),this[_0x3d89b3(0x1e6)]&&this[_0x3d89b3(0x1e6)][_0x3d89b3(0x21e)]();}[_0x3dafb1(0x230)](){const _0x19b553=_0x3dafb1;this[_0x19b553(0x1e6)]&&this[_0x19b553(0x1e6)][_0x19b553(0x203)]();}[_0x3dafb1(0x1e4)](_0x41672f){const _0x574b8f=_0x3dafb1;this[_0x574b8f(0x1bb)]=_0x41672f;}[_0x3dafb1(0x1d5)](){const _0x3ef78c=_0x3dafb1;this[_0x3ef78c(0x211)][_0x3ef78c(0x22d)]=!0x1;}[_0x3dafb1(0x1e0)](){const _0x218b00=_0x3dafb1,_0x3b319=this[_0x218b00(0x1d7)]();_0x3b319&&!this[_0x218b00(0x1e6)]&&(this[_0x218b00(0x1e6)]=new _0x467e4(_0x3b319));}[_0x3dafb1(0x1d7)](){const _0x465efa=_0x3dafb1;return this[_0x465efa(0x200)][_0x465efa(0x22c)];}}class AIActionsBalloonNavigationCounterView extends _0x1af01d{constructor(_0x4d5bb3){const _0x1ac39c=_0x3dafb1;super(_0x4d5bb3);const _0x3f0e62=this[_0x1ac39c(0x1f4)];this[_0x1ac39c(0x227)](_0x1ac39c(0x1cb),_0x1ac39c(0x20e)),this[_0x1ac39c(0x1c3)]({'tag':_0x1ac39c(0x1f0),'attributes':{'class':[_0x1ac39c(0x1bc)]},'children':[{'text':_0x3f0e62['to'](_0x1ac39c(0x1cb))}]});}[_0x3dafb1(0x221)](_0x214d91){const _0x8adbfb=_0x3dafb1;this[_0x8adbfb(0x227)](_0x8adbfb(0x1cb),_0x214d91);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x223b(_0x206a03,_0x262ae6){const _0x475475=_0x4754();return _0x223b=function(_0x223b16,_0x310034){_0x223b16=_0x223b16-0x1de;let _0x2606c5=_0x475475[_0x223b16];return _0x2606c5;},_0x223b(_0x206a03,_0x262ae6);}const _0x12083f=_0x223b;(function(_0x1ceb49,_0x57359c){const _0x329a5c=_0x223b,_0x31af83=_0x1ceb49();while(!![]){try{const _0x5a9f50=-parseInt(_0x329a5c(0x1de))/0x1*(parseInt(_0x329a5c(0x1ef))/0x2)+parseInt(_0x329a5c(0x1ee))/0x3+-parseInt(_0x329a5c(0x1f1))/0x4+parseInt(_0x329a5c(0x1e7))/0x5+parseInt(_0x329a5c(0x1e0))/0x6+parseInt(_0x329a5c(0x1e3))/0x7+parseInt(_0x329a5c(0x1e5))/0x8;if(_0x5a9f50===_0x57359c)break;else _0x31af83['push'](_0x31af83['shift']());}catch(_0x62217c){_0x31af83['push'](_0x31af83['shift']());}}}(_0x4754,0x73053));import{IconView as _0x2ab15c,ListItemButtonView as _0x204802}from'ckeditor5/src/ui.js';function _0x4754(){const _0x4b13de=['bindTemplate','ck-dropdown-menu-list__nested-menu__button__arrow','children','set','368127aSYTCX','2rZCTpK','_createArrowView','1514232qjbpJB','extendTemplate','menuitem','617950iIqPTq','ck-dropdown-menu-list__nested-menu__button','1172064VPTpVX','render','add','3443720LygfFt','arrowView','987776IXkwgn','isOn','2670730YcUIDv','mouseenter','content'];_0x4754=function(){return _0x4b13de;};return _0x4754();}import{IconDropdownArrow as _0x39ec6f}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x204802{[_0x12083f(0x1e4)];constructor(_0x22d261,_0x1af28f){const _0x49ab4f=_0x12083f;super(_0x22d261,_0x1af28f);const _0x2f208f=this[_0x49ab4f(0x1ea)];this[_0x49ab4f(0x1ed)]({'withText':!0x0,'role':_0x49ab4f(0x1f3)}),this[_0x49ab4f(0x1e4)]=this[_0x49ab4f(0x1f0)](),this[_0x49ab4f(0x1f2)]({'attributes':{'class':[_0x49ab4f(0x1df)],'aria-haspopup':!0x0,'aria-expanded':this[_0x49ab4f(0x1ea)]['to'](_0x49ab4f(0x1e6),_0x2366ed=>String(_0x2366ed)),'data-cke-tooltip-disabled':_0x2f208f['to'](_0x49ab4f(0x1e6))},'on':{'mouseenter':_0x2f208f['to'](_0x49ab4f(0x1e8))}});}[_0x12083f(0x1e1)](){const _0x4d2462=_0x12083f;super[_0x4d2462(0x1e1)](),this[_0x4d2462(0x1ec)][_0x4d2462(0x1e2)](this[_0x4d2462(0x1e4)]);}[_0x12083f(0x1f0)](){const _0x2c3a0f=_0x12083f,_0xffc340=new _0x2ab15c();return _0xffc340[_0x2c3a0f(0x1e9)]=_0x39ec6f,_0xffc340[_0x2c3a0f(0x1f2)]({'attributes':{'class':_0x2c3a0f(0x1eb)}}),_0xffc340;}}
|