@ckeditor/ckeditor5-ai 47.7.1-alpha.0 → 47.7.2-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
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 _0x52911d=_0x553b;(function(_0x504879,_0x43b7b3){const _0x276d6e=_0x553b,_0x531902=_0x504879();while(!![]){try{const _0x29b183=parseInt(_0x276d6e(0x180))/0x1+parseInt(_0x276d6e(0x187))/0x2*(-parseInt(_0x276d6e(0x1de))/0x3)+parseInt(_0x276d6e(0x1df))/0x4+-parseInt(_0x276d6e(0x1b6))/0x5+parseInt(_0x276d6e(0x19a))/0x6*(-parseInt(_0x276d6e(0x174))/0x7)+-parseInt(_0x276d6e(0x1ac))/0x8*(-parseInt(_0x276d6e(0x177))/0x9)+-parseInt(_0x276d6e(0x1cb))/0xa;if(_0x29b183===_0x43b7b3)break;else _0x531902['push'](_0x531902['shift']());}catch(_0x7a72b4){_0x531902['push'](_0x531902['shift']());}}}(_0x5308,0xc4390));import{IconAIAdjustLength as _0x2a38ce,IconAIChangeTone as _0x5ce6dc,IconAIChatCommands as _0x268576,IconAIContinueWriting as _0x3b9a51,IconAIGrammarCheck as _0x189dc4,IconAIImproveWriting as _0x3a231c,IconAIOther as _0xb3e4df,IconAIQuickActions as _0x4e9204,IconAITranslate as _0x2aec04}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x50a124}from'ckeditor5/src/core.js';import{CKEditorError as _0x59b5b9,logError as _0x4c9ab2}from'ckeditor5/src/utils.js';import{getTranslation as _0x5d817b}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x6ecb3d}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x2e3fd6}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x73dc31,BalloonToolbar as _0xcc0d70,MenuBarMenuView as _0x511fe7,MenuBarMenuListView as _0x53f69b,MenuBarMenuListItemView as _0x22b4ea,MenuBarMenuListItemButtonView as _0x444f19}from'ckeditor5/src/ui.js';import{AIModels as _0x435968}from'../aicore/model/aimodels.js';function _0x5308(){const _0xeed7ba=['highlight-key-points','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','12DIZVpo','isOfficialPlugin','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','make-tone-direct','focus','buttonView','continue','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','locale','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','chinese','translate-to-english','_initializeQuickActionsComponentsAndCommands','chat-commands','AIReviewMode','ai.quickActions.isSearchEnabled','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','42728MGSBub','forEach','ACTION','componentFactory','aiQuickAction','ai.chat.context.document.enabled','other','get','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','italian','4400605pIiYNI','AI_QUICK_ACTIONS_SUMMARIZE','menuBar:aiQuickActions','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','aiQuickActions','isPremiumPlugin','translate-to-korean','panelView','translate-to-japanese','AI_QUICK_ACTIONS_MORE_CONFIDENT','fix-grammar','AI_QUICK_ACTIONS_CHANGE_TONE','ai.quickActions.removeCommands','execute','add','AI_QUICK_ACTIONS_MAKE_LONGER','ask-ai','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','children','editor','9679240XJtYiI','make-tone-friendly','_quickActionsDefinition','english','AIQuickActionsUI','displayedPrompt','korean','view','push','some','ai-quick-actions-unavailable-model','pluginName','map','AI_QUICK_ACTIONS_OTHER','explain','AIActions','adjust-length','includes','AI_QUICK_ACTIONS_IMPROVE_WRITING','1041FtTLrd','5794756pXDSlQ','ai-quick-actions-models-unable-to-retrieve','summarize','REVIEW','ai.quickActions.extraCommands','_prepareQuickActionsDefinition','change-tone','make-tone-confident','AIConnector','translate-to-spanish','DisplayNames','spanish','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','make-tone-professional','AI_QUICK_ACTIONS_ASK_AI','model','values','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','_initializeQuickActionsComponents','menuBarView','filter','AI_QUICK_ACTIONS_ADJUST_LENGTH','_shouldIncludeAction','English','message','icon','russian','translate-to-chinese','AIChat','type','menu','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','attachToDom','requires','delegate','improve-writing','uiLanguage','getDefaultQuickActions','translate-to-italian','AI_QUICK_ACTIONS_TRANSLATE','<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>','isEnabled','<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>','_executeQuickAction','label','translate-to-portuguese','editing','japanese','portuguese','find','config','french','AI_QUICK_ACTIONS_MORE_CASUAL','german','2488738YaeQSs','AI_QUICK_ACTIONS_CHAT_COMMANDS','_initializeQuickActionsDropdown','1467uerSLC','items','AI_QUICK_ACTIONS_MORE_DIRECT','make-longer','length','make-shorter','translate-to-german','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_EXPLAIN','1106723iKqIQV','actions','commands','init','language','translate-to-russian','AI_QUICK_ACTIONS_CONTINUE_WRITING','364RmDwfw','CHAT','<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>','set','menuitem','replace','make-tone-casual','_getDefaultAndCustomActions','has','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate','plugins','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','close','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_MAKE_SHORTER','getAll'];_0x5308=function(){return _0xeed7ba;};return _0x5308();}import{AIConnector as _0x1e21f4}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';function _0x553b(_0x14c1a2,_0x1f82ca){const _0x530883=_0x5308();return _0x553b=function(_0x553bc7,_0x2452d8){_0x553bc7=_0x553bc7-0x169;let _0x4a1252=_0x530883[_0x553bc7];return _0x4a1252;},_0x553b(_0x14c1a2,_0x1f82ca);}const ee=_0x52911d(0x189),ie=_0x52911d(0x207),ne=_0x52911d(0x209);export var AIQuickActionType;!function(_0x3090ee){const _0xca4d4f=_0x52911d;_0x3090ee[_0xca4d4f(0x188)]=_0xca4d4f(0x188),_0x3090ee[_0xca4d4f(0x1ae)]=_0xca4d4f(0x1ae),_0x3090ee[_0xca4d4f(0x1e2)]=_0xca4d4f(0x1e2);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x1bb327){const _0x25fab7=_0x52911d;_0x1bb327[_0x25fab7(0x188)]=_0x25fab7(0x1fb),_0x1bb327[_0x25fab7(0x1ae)]=_0x25fab7(0x1da),_0x1bb327[_0x25fab7(0x1e2)]=_0x25fab7(0x1a9);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x50a124{static get[_0x52911d(0x200)](){return[_0xcc0d70,_0x1e21f4];}static get[_0x52911d(0x1d6)](){const _0x558571=_0x52911d;return _0x558571(0x1cf);}static get[_0x52911d(0x19b)](){return!0x0;}static get[_0x52911d(0x1bc)](){return!0x0;}async[_0x52911d(0x183)](){const _0x16375b=_0x52911d,_0x4752f4=await this[_0x16375b(0x18e)]();this[_0x16375b(0x1e4)](_0x4752f4),this[_0x16375b(0x1a7)]();}static[_0x52911d(0x204)](_0x2bc696){return function(_0x164878){const _0x442d30=_0x553b,_0x2f86c5=new Intl[(_0x442d30(0x1e9))](['en'],{'type':_0x442d30(0x184)})['of'](_0x164878[_0x442d30(0x203)]),_0x55ada6=_0x2f86c5||_0x442d30(0x1f6),_0x5a6ca0=[{'id':_0x442d30(0x1c7),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1ed)),'type':AIQuickActionType[_0x442d30(0x188)],'icon':_0x268576},{'id':_0x442d30(0x1a8),'label':_0x5d817b(_0x164878,_0x442d30(0x175)),'icon':_0x268576,'actions':[{'id':_0x442d30(0x1d9),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x17f)),'prompt':ee[_0x442d30(0x18c)]('%0',_0x55ada6),'type':AIQuickActionType[_0x442d30(0x188)]},{'id':_0x442d30(0x1e1),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1b7)),'prompt':ie[_0x442d30(0x18c)]('%0',_0x55ada6),'type':AIQuickActionType[_0x442d30(0x188)]},{'id':_0x442d30(0x198),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1eb)),'prompt':ne[_0x442d30(0x18c)]('%0',_0x55ada6),'type':AIQuickActionType[_0x442d30(0x188)]}]},{'id':_0x442d30(0x202),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1dd)),'type':AIQuickActionType[_0x442d30(0x1ae)],'icon':_0x3a231c},{'id':_0x442d30(0x1a0),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x186)),'type':AIQuickActionType[_0x442d30(0x1ae)],'icon':_0x3b9a51},{'id':_0x442d30(0x1c1),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1a4)),'type':AIQuickActionType[_0x442d30(0x1ae)],'icon':_0x189dc4},{'id':_0x442d30(0x1db),'label':_0x5d817b(_0x164878,_0x442d30(0x1f4)),'icon':_0x2a38ce,'actions':[{'id':_0x442d30(0x17c),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x196)),'type':AIQuickActionType[_0x442d30(0x1ae)]},{'id':_0x442d30(0x17a),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1c6)),'type':AIQuickActionType[_0x442d30(0x1ae)]}]},{'id':_0x442d30(0x1e5),'label':_0x5d817b(_0x164878,_0x442d30(0x1c2)),'icon':_0x5ce6dc,'actions':[{'id':_0x442d30(0x18d),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x172)),'type':AIQuickActionType[_0x442d30(0x1ae)]},{'id':_0x442d30(0x19d),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x179)),'type':AIQuickActionType[_0x442d30(0x1ae)]},{'id':_0x442d30(0x1cc),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1a3)),'type':AIQuickActionType[_0x442d30(0x1ae)]},{'id':_0x442d30(0x1e6),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1c0)),'type':AIQuickActionType[_0x442d30(0x1ae)]},{'id':_0x442d30(0x1ec),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x19c)),'type':AIQuickActionType[_0x442d30(0x1ae)]}]},{'id':_0x442d30(0x191),'label':_0x5d817b(_0x164878,_0x442d30(0x206)),'icon':_0x2aec04,'actions':[{'id':_0x442d30(0x1a6),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1c8)),'type':AIQuickActionType[_0x442d30(0x1ae)],'actionName':_0x442d30(0x191),'args':{'language':_0x442d30(0x1ce)}},{'id':_0x442d30(0x1fa),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x199)),'type':AIQuickActionType[_0x442d30(0x1ae)],'actionName':_0x442d30(0x191),'args':{'language':_0x442d30(0x1a5)}},{'id':_0x442d30(0x1e8),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1b4)),'type':AIQuickActionType[_0x442d30(0x1ae)],'actionName':_0x442d30(0x191),'args':{'language':_0x442d30(0x1ea)}},{'id':_0x442d30(0x17d),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x193)),'type':AIQuickActionType[_0x442d30(0x1ae)],'actionName':_0x442d30(0x191),'args':{'language':_0x442d30(0x173)}},{'id':_0x442d30(0x1b9),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1fe)),'type':AIQuickActionType[_0x442d30(0x1ae)],'actionName':_0x442d30(0x191),'args':{'language':_0x442d30(0x171)}},{'id':_0x442d30(0x1bf),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x190)),'type':AIQuickActionType[_0x442d30(0x1ae)],'actionName':_0x442d30(0x191),'args':{'language':_0x442d30(0x16d)}},{'id':_0x442d30(0x16b),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1a1)),'type':AIQuickActionType[_0x442d30(0x1ae)],'actionName':_0x442d30(0x191),'args':{'language':_0x442d30(0x16e)}},{'id':_0x442d30(0x1bd),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1f0)),'type':AIQuickActionType[_0x442d30(0x1ae)],'actionName':_0x442d30(0x191),'args':{'language':_0x442d30(0x1d1)}},{'id':_0x442d30(0x205),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1ab)),'type':AIQuickActionType[_0x442d30(0x1ae)],'actionName':_0x442d30(0x191),'args':{'language':_0x442d30(0x1b5)}},{'id':_0x442d30(0x185),'displayedPrompt':_0x5d817b(_0x164878,_0x442d30(0x1ba)),'type':AIQuickActionType[_0x442d30(0x1ae)],'actionName':_0x442d30(0x191),'args':{'language':_0x442d30(0x1f9)}}]},{'id':_0x442d30(0x1b2),'label':_0x5d817b(_0x164878,_0x442d30(0x1d8)),'icon':_0xb3e4df,'actions':[]}];return _0x5a6ca0;}(_0x2bc696);}async[_0x52911d(0x18e)](){const _0x2a67f7=_0x52911d,_0x3e30e5=AIQuickActionsUI[_0x2a67f7(0x204)](this[_0x2a67f7(0x1ca)][_0x2a67f7(0x1a2)]),_0x1472d6=this[_0x2a67f7(0x1ca)][_0x2a67f7(0x170)][_0x2a67f7(0x1b3)](_0x2a67f7(0x1e3))||[];let _0x970f34=[];try{_0x970f34=await new _0x435968({'connector':this[_0x2a67f7(0x1ca)][_0x2a67f7(0x192)][_0x2a67f7(0x1b3)](_0x2a67f7(0x1e7)),'locale':this[_0x2a67f7(0x1ca)][_0x2a67f7(0x1a2)]})[_0x2a67f7(0x197)]();}catch(_0xcc668f){const _0x229005=new _0x59b5b9(_0x2a67f7(0x1e0),this,{'error':_0xcc668f});_0x4c9ab2(_0x229005[_0x2a67f7(0x1f7)]);}finally{const _0x34618a=_0x1472d6[_0x2a67f7(0x1d7)](_0x27f66f=>({..._0x27f66f,'icon':void 0x0}));_0x3e30e5[_0x2a67f7(0x16f)](_0x41bf43=>_0x2a67f7(0x1b2)===_0x41bf43['id'])[_0x2a67f7(0x181)][_0x2a67f7(0x1d3)](..._0x34618a),_0x3e30e5[_0x2a67f7(0x1ad)](_0x455d89=>{const _0x2e6390=_0x2a67f7;if(_0x2e6390(0x181)in _0x455d89)_0x455d89[_0x2e6390(0x181)][_0x2e6390(0x1ad)](_0x169d78=>{const _0x2ce5da=_0x2e6390;if(_0x169d78[_0x2ce5da(0x208)]=!!_0x970f34[_0x2ce5da(0x16f)](_0x19ee03=>_0x19ee03['id']===_0x169d78[_0x2ce5da(0x1ee)])||void 0x0===_0x169d78[_0x2ce5da(0x1ee)],!_0x169d78[_0x2ce5da(0x208)]){const _0x808f69=new _0x59b5b9(_0x2ce5da(0x1d5),this,{'actionId':_0x169d78['id'],'modelId':_0x169d78[_0x2ce5da(0x1ee)]});_0x4c9ab2(_0x808f69[_0x2ce5da(0x1f7)]);}});else{if(_0x455d89[_0x2e6390(0x208)]=!!_0x970f34[_0x2e6390(0x16f)](_0x23e9b2=>_0x23e9b2['id']===_0x455d89[_0x2e6390(0x1ee)])||void 0x0===_0x455d89[_0x2e6390(0x1ee)],!_0x455d89[_0x2e6390(0x208)]){const _0x138e43=new _0x59b5b9(_0x2e6390(0x1d5),this,{'actionId':_0x455d89['id'],'modelId':_0x455d89[_0x2e6390(0x1ee)]});_0x4c9ab2(_0x138e43[_0x2e6390(0x1f7)]);}}});}return _0x3e30e5;}[_0x52911d(0x1a7)](){const _0x19a88c=_0x52911d,_0x17514c=new _0x73dc31(this[_0x19a88c(0x1ca)][_0x19a88c(0x1a2)]);_0x17514c[_0x19a88c(0x1ff)](),this[_0x19a88c(0x176)](_0x17514c),this[_0x19a88c(0x195)](),this[_0x19a88c(0x1f1)](_0x17514c);}[_0x52911d(0x176)](_0x23ad10){const _0x5992e3=_0x52911d,_0x1fd427=this[_0x5992e3(0x1ca)][_0x5992e3(0x170)][_0x5992e3(0x1b3)](_0x5992e3(0x1aa))??!0x0;this[_0x5992e3(0x1ca)]['ui'][_0x5992e3(0x1af)][_0x5992e3(0x1c5)](_0x5992e3(0x1bb),_0x6ecb3d({'editor':this[_0x5992e3(0x1ca)],'content':this[_0x5992e3(0x1cd)],'buttonDefinition':{'icon':_0x4e9204,'label':_0x5d817b(this[_0x5992e3(0x1ca)][_0x5992e3(0x1a2)],_0x5992e3(0x17e))},'bodyCollection':_0x23ad10,'hasSearch':_0x1fd427}));}[_0x52911d(0x1e4)](_0x3ea9ee){const _0x2a0206=_0x52911d;this[_0x2a0206(0x1cd)]=_0x3ea9ee[_0x2a0206(0x1d7)](_0x5beacc=>{const _0x28fec0=_0x2a0206;if(_0x28fec0(0x181)in _0x5beacc){const _0x44758d=_0x5beacc;return{..._0x44758d,'actions':_0x44758d[_0x28fec0(0x181)][_0x28fec0(0x1d7)](_0x6aaca5=>{const {actions:_0xb491a7,..._0x5bce7}=_0x44758d;return{..._0x6aaca5,'parent':_0x5bce7};})[_0x28fec0(0x1f3)](_0x54604f=>this[_0x28fec0(0x1f5)](_0x54604f))};}return _0x5beacc;})[_0x2a0206(0x1f3)](_0x1a3ad2=>_0x2a0206(0x181)in _0x1a3ad2?_0x1a3ad2[_0x2a0206(0x181)][_0x2a0206(0x17b)]>0x0:this[_0x2a0206(0x1f5)](_0x1a3ad2));}[_0x52911d(0x1f5)](_0xf56989){const _0x1ac916=_0x52911d,_0x3258df=this[_0x1ac916(0x1ca)][_0x1ac916(0x170)][_0x1ac916(0x1b3)](_0x1ac916(0x1c3))||[];return this[_0x1ac916(0x1ca)][_0x1ac916(0x192)][_0x1ac916(0x18f)](AIQuickActionTypeToPluginName[_0xf56989[_0x1ac916(0x1fc)]])&&!_0x3258df[_0x1ac916(0x1dc)](_0xf56989['id'])&&!(_0xf56989[_0x1ac916(0x1fc)]===AIQuickActionType[_0x1ac916(0x188)]&&!0x1===this[_0x1ac916(0x1ca)][_0x1ac916(0x170)][_0x1ac916(0x1b3)](_0x1ac916(0x1b1)));}[_0x52911d(0x1f1)](_0x36f374){const _0x4be47e=_0x52911d;this[_0x4be47e(0x1cd)][_0x4be47e(0x1ad)](_0x42e650=>{const _0x2842dc=_0x4be47e;if(_0x2842dc(0x181)in _0x42e650){const _0x503fa7=_0x6ecb3d({'editor':this[_0x2842dc(0x1ca)],'content':_0x42e650[_0x2842dc(0x181)],'buttonDefinition':_0x42e650,'bodyCollection':_0x36f374});this[_0x2842dc(0x1ca)]['ui'][_0x2842dc(0x1af)][_0x2842dc(0x1c5)](_0x42e650['id'],_0x503fa7),_0x42e650[_0x2842dc(0x181)][_0x2842dc(0x1ad)](_0x55bb18=>{const _0x55f49d=_0x2842dc,_0x40f5d7=_0x2e3fd6({'editor':this[_0x55f49d(0x1ca)],'action':_0x55bb18});this[_0x55f49d(0x1ca)]['ui'][_0x55f49d(0x1af)][_0x55f49d(0x1c5)](_0x55bb18['id'],_0x40f5d7);});}else{const _0x2eafe=_0x2e3fd6({'editor':this[_0x2842dc(0x1ca)],'action':_0x42e650,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x2842dc(0x1ca)]['ui'][_0x2842dc(0x1af)][_0x2842dc(0x1c5)](_0x42e650['id'],_0x2eafe);}});}[_0x52911d(0x195)](){const _0x532dc3=_0x52911d;this[_0x532dc3(0x1ca)]['ui'][_0x532dc3(0x1af)][_0x532dc3(0x1c5)](_0x532dc3(0x1b8),_0x567b62=>{const _0x4216fa=_0x532dc3,_0x139f20=new _0x511fe7(_0x567b62),_0x34d26f=_0x5d817b(_0x567b62,_0x4216fa(0x17e));_0x139f20[_0x4216fa(0x19f)][_0x4216fa(0x18a)]({'label':_0x34d26f,'icon':_0x4e9204});const _0x2f3eb8=new _0x53f69b(_0x567b62);_0x2f3eb8[_0x4216fa(0x18a)]({'ariaLabel':_0x34d26f,'role':_0x4216fa(0x1fd)}),this[_0x4216fa(0x1cd)][_0x4216fa(0x1ad)](_0x1f5cf6=>{const _0x4b696c=_0x4216fa;if(_0x4b696c(0x181)in _0x1f5cf6){const _0x28c37b=_0x1f5cf6,_0x4055d1=new _0x22b4ea(_0x567b62,_0x139f20),_0x2dacea=new _0x511fe7(_0x567b62),_0x599f46=new _0x53f69b(_0x567b62);_0x2dacea[_0x4b696c(0x19f)][_0x4b696c(0x18a)]({'label':_0x28c37b[_0x4b696c(0x16a)],'icon':_0x28c37b[_0x4b696c(0x1f8)]}),_0x28c37b[_0x4b696c(0x181)][_0x4b696c(0x1ad)](_0x31449c=>{const _0x512e30=_0x4b696c,_0x36bbea=new _0x22b4ea(_0x567b62,_0x2dacea),_0x317526=new _0x444f19(_0x567b62);_0x317526[_0x512e30(0x18a)]({'label':_0x31449c[_0x512e30(0x1d0)],'icon':_0x31449c[_0x512e30(0x1f8)],'role':_0x512e30(0x18b),'isEnabled':_0x31449c[_0x512e30(0x208)]}),_0x317526['on'](_0x512e30(0x1c4),()=>{const _0x23bf6a=_0x512e30;this[_0x23bf6a(0x169)](_0x31449c);}),_0x317526[_0x512e30(0x201)](_0x512e30(0x1c4))['to'](_0x2dacea),_0x36bbea[_0x512e30(0x1c9)][_0x512e30(0x1c5)](_0x317526),_0x599f46[_0x512e30(0x178)][_0x512e30(0x1c5)](_0x36bbea);}),_0x2dacea[_0x4b696c(0x1be)][_0x4b696c(0x1c9)][_0x4b696c(0x1c5)](_0x599f46),_0x4055d1[_0x4b696c(0x1c9)][_0x4b696c(0x1c5)](_0x2dacea),_0x2f3eb8[_0x4b696c(0x178)][_0x4b696c(0x1c5)](_0x4055d1);}else{const _0x58fb83=_0x1f5cf6,_0x57c9d4=new _0x22b4ea(_0x567b62,_0x139f20),_0x1dfe84=new _0x444f19(_0x567b62);_0x1dfe84[_0x4b696c(0x18a)]({'label':_0x58fb83[_0x4b696c(0x1d0)],'icon':_0x58fb83[_0x4b696c(0x1f8)],'role':_0x4b696c(0x18b),'isEnabled':_0x58fb83[_0x4b696c(0x208)]}),_0x1dfe84['on'](_0x4b696c(0x1c4),()=>{const _0x1fd2f9=_0x4b696c;this[_0x1fd2f9(0x169)](_0x58fb83);}),_0x1dfe84[_0x4b696c(0x201)](_0x4b696c(0x1c4))['to'](_0x139f20),_0x57c9d4[_0x4b696c(0x1c9)][_0x4b696c(0x1c5)](_0x1dfe84),_0x2f3eb8[_0x4b696c(0x178)][_0x4b696c(0x1c5)](_0x57c9d4);}});const _0x39e7d3=Object[_0x4216fa(0x1ef)](AIQuickActionTypeToPluginName)[_0x4216fa(0x1d4)](_0x3628eb=>this[_0x4216fa(0x1ca)][_0x4216fa(0x192)][_0x4216fa(0x18f)](_0x3628eb));return _0x139f20[_0x4216fa(0x18a)]({'isEnabled':_0x39e7d3}),_0x139f20[_0x4216fa(0x1be)][_0x4216fa(0x1c9)][_0x4216fa(0x1c5)](_0x2f3eb8),_0x139f20;});}[_0x52911d(0x169)](_0x258660){const _0x1708be=_0x52911d,_0x48a3a6=this[_0x1708be(0x1ca)];_0x48a3a6[_0x1708be(0x16c)][_0x1708be(0x1d2)][_0x1708be(0x19e)](),_0x48a3a6[_0x1708be(0x182)][_0x1708be(0x1c4)](_0x1708be(0x1b0),_0x258660);const _0xd25146=_0x48a3a6['ui'][_0x1708be(0x1d2)][_0x1708be(0x1f2)];_0xd25146&&_0xd25146[_0x1708be(0x194)]&&_0xd25146[_0x1708be(0x194)]();}}
|
|
23
|
+
const _0x4428c6=_0x22af;(function(_0x322061,_0x239586){const _0x198a41=_0x22af,_0x2b0988=_0x322061();while(!![]){try{const _0x2086f0=-parseInt(_0x198a41(0x235))/0x1+parseInt(_0x198a41(0x22f))/0x2*(parseInt(_0x198a41(0x1b4))/0x3)+-parseInt(_0x198a41(0x1c7))/0x4+-parseInt(_0x198a41(0x1ba))/0x5+parseInt(_0x198a41(0x1fc))/0x6*(-parseInt(_0x198a41(0x1b0))/0x7)+-parseInt(_0x198a41(0x223))/0x8+parseInt(_0x198a41(0x1e5))/0x9;if(_0x2086f0===_0x239586)break;else _0x2b0988['push'](_0x2b0988['shift']());}catch(_0x55a3b6){_0x2b0988['push'](_0x2b0988['shift']());}}}(_0x136f,0x9c879));import{IconAIAdjustLength as _0x4d5d22,IconAIChangeTone as _0x20bb24,IconAIChatCommands as _0x1df0de,IconAIContinueWriting as _0x286609,IconAIGrammarCheck as _0x13d782,IconAIImproveWriting as _0x284f05,IconAIOther as _0x526eb9,IconAIQuickActions as _0x339892,IconAITranslate as _0x441d8f}from'@ckeditor/ckeditor5-icons';function _0x22af(_0x6d34b2,_0x5af386){const _0x136fc1=_0x136f();return _0x22af=function(_0x22afe1,_0x4cfec5){_0x22afe1=_0x22afe1-0x19e;let _0x331d55=_0x136fc1[_0x22afe1];return _0x331d55;},_0x22af(_0x6d34b2,_0x5af386);}import{Plugin as _0x38b5c6}from'ckeditor5/src/core.js';import{CKEditorError as _0x32cd60,logError as _0x52bcf5}from'ckeditor5/src/utils.js';import{getTranslation as _0x19f43c}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x1cae4b}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x49519d}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x4f0fd3,BalloonToolbar as _0x470195,MenuBarMenuView as _0xe58947,MenuBarMenuListView as _0x4496e7,MenuBarMenuListItemView as _0x59942f,MenuBarMenuListItemButtonView as _0x3ff79f}from'ckeditor5/src/ui.js';import{AIModels as _0x424c9f}from'../aicore/model/aimodels.js';import{AIConnector as _0x3278df}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x4428c6(0x215),ie=_0x4428c6(0x1a4),ne=_0x4428c6(0x1b8);export var AIQuickActionType;!function(_0x54359f){const _0x224c04=_0x4428c6;_0x54359f[_0x224c04(0x1ee)]=_0x224c04(0x1ee),_0x54359f[_0x224c04(0x230)]=_0x224c04(0x230),_0x54359f[_0x224c04(0x23c)]=_0x224c04(0x23c);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x593a7d){const _0x502184=_0x4428c6;_0x593a7d[_0x502184(0x1ee)]=_0x502184(0x1ed),_0x593a7d[_0x502184(0x230)]=_0x502184(0x21f),_0x593a7d[_0x502184(0x23c)]=_0x502184(0x1a5);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x136f(){const _0x3ca2b1=['ai.quickActions.isSearchEnabled','menuBar:aiQuickActions','AI_QUICK_ACTIONS_HEADING','<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.quickActions.extraCommands','translate','make-shorter','forEach','editing','displayedPrompt','menu','panelView','highlight-key-points','AIActions','items','make-tone-friendly','replace','6383728rqGZcR','translate-to-portuguese','model','init','buttonView','find','_quickActionsDefinition','uiLanguage','AI_QUICK_ACTIONS_MAKE_LONGER','adjust-length','translate-to-japanese','AI_QUICK_ACTIONS_OTHER','910534URSIpq','ACTION','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','italian','translate-to-chinese','add','1226319QBgIFV','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','russian','children','translate-to-italian','REVIEW','AI_QUICK_ACTIONS_MORE_CASUAL','push','has','pluginName','DisplayNames','execute','AI_QUICK_ACTIONS_MAKE_SHORTER','<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>','AIReviewMode','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','view','some','AI_QUICK_ACTIONS_SUMMARIZE','focus','includes','delegate','4061631HwAbYa','_getDefaultAndCustomActions','editor','translate-to-english','3cjksgS','plugins','componentFactory','AI_QUICK_ACTIONS_ASK_AI','<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>','aiQuickAction','5008690zxHyJT','ai-quick-actions-unavailable-model','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','_initializeQuickActionsComponents','requires','chat-commands','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_MORE_DIRECT','make-tone-professional','other','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','3238464HkeMBv','getDefaultQuickActions','message','explain','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','type','english','improve-writing','isEnabled','_initializeQuickActionsDropdown','continue','commands','close','AI_QUICK_ACTIONS_MORE_FRIENDLY','ask-ai','isOfficialPlugin','_shouldIncludeAction','aiQuickActions','get','chinese','AI_QUICK_ACTIONS_EXPLAIN','getAll','ai.chat.context.document.enabled','make-tone-casual','_initializeQuickActionsMenuBar','summarize','locale','_executeQuickAction','AIQuickActionsUI','config','41415750QhHEWy','label','attachToDom','make-longer','set','portuguese','ai-quick-actions-models-unable-to-retrieve','menuitem','AIChat','CHAT','translate-to-korean','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','translate-to-russian','filter','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','English','korean','change-tone','icon','isPremiumPlugin','make-tone-direct','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','6UdiZuQ','menuBarView','AIConnector','language','french','german','translate-to-german','AI_QUICK_ACTIONS_IMPROVE_WRITING','translate-to-french','length','AI_QUICK_ACTIONS_CHANGE_TONE','fix-grammar','AI_QUICK_ACTIONS_ADJUST_LENGTH','japanese','translate-to-spanish','spanish','values','make-tone-confident','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','map','AI_QUICK_ACTIONS_TRANSLATE','actions'];_0x136f=function(){return _0x3ca2b1;};return _0x136f();}export class AIQuickActionsUI extends _0x38b5c6{static get[_0x4428c6(0x1bf)](){return[_0x470195,_0x3278df];}static get[_0x4428c6(0x1a0)](){const _0x5879d7=_0x4428c6;return _0x5879d7(0x1e3);}static get[_0x4428c6(0x1d6)](){return!0x0;}static get[_0x4428c6(0x1f9)](){return!0x0;}async[_0x4428c6(0x226)](){const _0x4c3ec3=_0x4428c6,_0x316d98=await this[_0x4c3ec3(0x1b1)]();this[_0x4c3ec3(0x237)](_0x316d98),this[_0x4c3ec3(0x1f0)]();}static[_0x4428c6(0x1c8)](_0x14bc65){return function(_0x4aa737){const _0x577750=_0x22af,_0x3e9ab5=new Intl[(_0x577750(0x1a1))](['en'],{'type':_0x577750(0x1ff)})['of'](_0x4aa737[_0x577750(0x22a)]),_0x39e943=_0x3e9ab5||_0x577750(0x1f5),_0x40db0e=[{'id':_0x577750(0x1d5),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1b7)),'type':AIQuickActionType[_0x577750(0x1ee)],'icon':_0x1df0de},{'id':_0x577750(0x1c0),'label':_0x19f43c(_0x4aa737,_0x577750(0x1a7)),'icon':_0x1df0de,'actions':[{'id':_0x577750(0x1ca),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1db)),'prompt':ee[_0x577750(0x222)]('%0',_0x39e943),'type':AIQuickActionType[_0x577750(0x1ee)]},{'id':_0x577750(0x1e0),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1ac)),'prompt':ie[_0x577750(0x222)]('%0',_0x39e943),'type':AIQuickActionType[_0x577750(0x1ee)]},{'id':_0x577750(0x21e),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1a9)),'prompt':ne[_0x577750(0x222)]('%0',_0x39e943),'type':AIQuickActionType[_0x577750(0x1ee)]}]},{'id':_0x577750(0x1ce),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x203)),'type':AIQuickActionType[_0x577750(0x230)],'icon':_0x284f05},{'id':_0x577750(0x1d1),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1a6)),'type':AIQuickActionType[_0x577750(0x230)],'icon':_0x286609},{'id':_0x577750(0x207),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1cb)),'type':AIQuickActionType[_0x577750(0x230)],'icon':_0x13d782},{'id':_0x577750(0x22c),'label':_0x19f43c(_0x4aa737,_0x577750(0x208)),'icon':_0x4d5d22,'actions':[{'id':_0x577750(0x218),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1a3)),'type':AIQuickActionType[_0x577750(0x230)]},{'id':_0x577750(0x1e8),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x22b)),'type':AIQuickActionType[_0x577750(0x230)]}]},{'id':_0x577750(0x1f7),'label':_0x19f43c(_0x4aa737,_0x577750(0x206)),'icon':_0x20bb24,'actions':[{'id':_0x577750(0x1de),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x23d)),'type':AIQuickActionType[_0x577750(0x230)]},{'id':_0x577750(0x1fa),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1c3)),'type':AIQuickActionType[_0x577750(0x230)]},{'id':_0x577750(0x221),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1d4)),'type':AIQuickActionType[_0x577750(0x230)]},{'id':_0x577750(0x20d),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1c2)),'type':AIQuickActionType[_0x577750(0x230)]},{'id':_0x577750(0x1c4),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1c6)),'type':AIQuickActionType[_0x577750(0x230)]}]},{'id':_0x577750(0x217),'label':_0x19f43c(_0x4aa737,_0x577750(0x210)),'icon':_0x441d8f,'actions':[{'id':_0x577750(0x1b3),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x238)),'type':AIQuickActionType[_0x577750(0x230)],'actionName':_0x577750(0x217),'args':{'language':_0x577750(0x1cd)}},{'id':_0x577750(0x233),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1fb)),'type':AIQuickActionType[_0x577750(0x230)],'actionName':_0x577750(0x217),'args':{'language':_0x577750(0x1da)}},{'id':_0x577750(0x20a),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1f1)),'type':AIQuickActionType[_0x577750(0x230)],'actionName':_0x577750(0x217),'args':{'language':_0x577750(0x20b)}},{'id':_0x577750(0x202),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1f4)),'type':AIQuickActionType[_0x577750(0x230)],'actionName':_0x577750(0x217),'args':{'language':_0x577750(0x201)}},{'id':_0x577750(0x204),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x231)),'type':AIQuickActionType[_0x577750(0x230)],'actionName':_0x577750(0x217),'args':{'language':_0x577750(0x200)}},{'id':_0x577750(0x22d),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1bd)),'type':AIQuickActionType[_0x577750(0x230)],'actionName':_0x577750(0x217),'args':{'language':_0x577750(0x209)}},{'id':_0x577750(0x224),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1c1)),'type':AIQuickActionType[_0x577750(0x230)],'actionName':_0x577750(0x217),'args':{'language':_0x577750(0x1ea)}},{'id':_0x577750(0x1ef),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x236)),'type':AIQuickActionType[_0x577750(0x230)],'actionName':_0x577750(0x217),'args':{'language':_0x577750(0x1f6)}},{'id':_0x577750(0x23b),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x1a8)),'type':AIQuickActionType[_0x577750(0x230)],'actionName':_0x577750(0x217),'args':{'language':_0x577750(0x232)}},{'id':_0x577750(0x1f2),'displayedPrompt':_0x19f43c(_0x4aa737,_0x577750(0x20e)),'type':AIQuickActionType[_0x577750(0x230)],'actionName':_0x577750(0x217),'args':{'language':_0x577750(0x239)}}]},{'id':_0x577750(0x1c5),'label':_0x19f43c(_0x4aa737,_0x577750(0x22e)),'icon':_0x526eb9,'actions':[]}];return _0x40db0e;}(_0x14bc65);}async[_0x4428c6(0x1b1)](){const _0xc8f49f=_0x4428c6,_0x524d6=AIQuickActionsUI[_0xc8f49f(0x1c8)](this[_0xc8f49f(0x1b2)][_0xc8f49f(0x1e1)]),_0x1346e1=this[_0xc8f49f(0x1b2)][_0xc8f49f(0x1e4)][_0xc8f49f(0x1d9)](_0xc8f49f(0x216))||[];let _0x9f37c6=[];try{_0x9f37c6=await new _0x424c9f({'connector':this[_0xc8f49f(0x1b2)][_0xc8f49f(0x1b5)][_0xc8f49f(0x1d9)](_0xc8f49f(0x1fe)),'locale':this[_0xc8f49f(0x1b2)][_0xc8f49f(0x1e1)]})[_0xc8f49f(0x1dc)]();}catch(_0xb0e89e){const _0x5c4e4=new _0x32cd60(_0xc8f49f(0x1eb),this,{'error':_0xb0e89e});_0x52bcf5(_0x5c4e4[_0xc8f49f(0x1c9)]);}finally{const _0x4c1dc1=_0x1346e1[_0xc8f49f(0x20f)](_0x18b511=>({..._0x18b511,'icon':void 0x0}));_0x524d6[_0xc8f49f(0x228)](_0x1d105a=>_0xc8f49f(0x1c5)===_0x1d105a['id'])[_0xc8f49f(0x211)][_0xc8f49f(0x19e)](..._0x4c1dc1),_0x524d6[_0xc8f49f(0x219)](_0x537255=>{const _0x5904b0=_0xc8f49f;if(_0x5904b0(0x211)in _0x537255)_0x537255[_0x5904b0(0x211)][_0x5904b0(0x219)](_0x5c3dac=>{const _0x2aafe=_0x5904b0;if(_0x5c3dac[_0x2aafe(0x1cf)]=!!_0x9f37c6[_0x2aafe(0x228)](_0x1beaa7=>_0x1beaa7['id']===_0x5c3dac[_0x2aafe(0x225)])||void 0x0===_0x5c3dac[_0x2aafe(0x225)],!_0x5c3dac[_0x2aafe(0x1cf)]){const _0x465ef0=new _0x32cd60(_0x2aafe(0x1bb),this,{'actionId':_0x5c3dac['id'],'modelId':_0x5c3dac[_0x2aafe(0x225)]});_0x52bcf5(_0x465ef0[_0x2aafe(0x1c9)]);}});else{if(_0x537255[_0x5904b0(0x1cf)]=!!_0x9f37c6[_0x5904b0(0x228)](_0xd0f1fd=>_0xd0f1fd['id']===_0x537255[_0x5904b0(0x225)])||void 0x0===_0x537255[_0x5904b0(0x225)],!_0x537255[_0x5904b0(0x1cf)]){const _0x20f226=new _0x32cd60(_0x5904b0(0x1bb),this,{'actionId':_0x537255['id'],'modelId':_0x537255[_0x5904b0(0x225)]});_0x52bcf5(_0x20f226[_0x5904b0(0x1c9)]);}}});}return _0x524d6;}[_0x4428c6(0x1f0)](){const _0x35e53f=_0x4428c6,_0x3a6558=new _0x4f0fd3(this[_0x35e53f(0x1b2)][_0x35e53f(0x1e1)]);_0x3a6558[_0x35e53f(0x1e7)](),this[_0x35e53f(0x1d0)](_0x3a6558),this[_0x35e53f(0x1df)](),this[_0x35e53f(0x1be)](_0x3a6558);}[_0x4428c6(0x1d0)](_0x1ede6d){const _0x1c3f4f=_0x4428c6,_0x763c8=this[_0x1c3f4f(0x1b2)][_0x1c3f4f(0x1e4)][_0x1c3f4f(0x1d9)](_0x1c3f4f(0x212))??!0x0;this[_0x1c3f4f(0x1b2)]['ui'][_0x1c3f4f(0x1b6)][_0x1c3f4f(0x234)](_0x1c3f4f(0x1d8),_0x1cae4b({'editor':this[_0x1c3f4f(0x1b2)],'content':this[_0x1c3f4f(0x229)],'buttonDefinition':{'icon':_0x339892,'label':_0x19f43c(this[_0x1c3f4f(0x1b2)][_0x1c3f4f(0x1e1)],_0x1c3f4f(0x214))},'bodyCollection':_0x1ede6d,'hasSearch':_0x763c8}));}[_0x4428c6(0x237)](_0x1c5246){const _0x26b8a3=_0x4428c6;this[_0x26b8a3(0x229)]=_0x1c5246[_0x26b8a3(0x20f)](_0x45a25e=>{const _0x3e1310=_0x26b8a3;if(_0x3e1310(0x211)in _0x45a25e){const _0x4818e0=_0x45a25e;return{..._0x4818e0,'actions':_0x4818e0[_0x3e1310(0x211)][_0x3e1310(0x20f)](_0x129eca=>{const {actions:_0x4b2d98,..._0x1a4b1b}=_0x4818e0;return{..._0x129eca,'parent':_0x1a4b1b};})[_0x3e1310(0x1f3)](_0x2b2b43=>this[_0x3e1310(0x1d7)](_0x2b2b43))};}return _0x45a25e;})[_0x26b8a3(0x1f3)](_0x1e5c8b=>_0x26b8a3(0x211)in _0x1e5c8b?_0x1e5c8b[_0x26b8a3(0x211)][_0x26b8a3(0x205)]>0x0:this[_0x26b8a3(0x1d7)](_0x1e5c8b));}[_0x4428c6(0x1d7)](_0x318fa8){const _0xd61286=_0x4428c6,_0x3754a7=this[_0xd61286(0x1b2)][_0xd61286(0x1e4)][_0xd61286(0x1d9)](_0xd61286(0x1bc))||[];return this[_0xd61286(0x1b2)][_0xd61286(0x1b5)][_0xd61286(0x19f)](AIQuickActionTypeToPluginName[_0x318fa8[_0xd61286(0x1cc)]])&&!_0x3754a7[_0xd61286(0x1ae)](_0x318fa8['id'])&&!(_0x318fa8[_0xd61286(0x1cc)]===AIQuickActionType[_0xd61286(0x1ee)]&&!0x1===this[_0xd61286(0x1b2)][_0xd61286(0x1e4)][_0xd61286(0x1d9)](_0xd61286(0x1dd)));}[_0x4428c6(0x1be)](_0x1be53f){const _0xde7153=_0x4428c6;this[_0xde7153(0x229)][_0xde7153(0x219)](_0x5520af=>{const _0x3a384f=_0xde7153;if(_0x3a384f(0x211)in _0x5520af){const _0x28aa5d=_0x1cae4b({'editor':this[_0x3a384f(0x1b2)],'content':_0x5520af[_0x3a384f(0x211)],'buttonDefinition':_0x5520af,'bodyCollection':_0x1be53f});this[_0x3a384f(0x1b2)]['ui'][_0x3a384f(0x1b6)][_0x3a384f(0x234)](_0x5520af['id'],_0x28aa5d),_0x5520af[_0x3a384f(0x211)][_0x3a384f(0x219)](_0x1b2318=>{const _0x5edc77=_0x3a384f,_0x29cb2c=_0x49519d({'editor':this[_0x5edc77(0x1b2)],'action':_0x1b2318});this[_0x5edc77(0x1b2)]['ui'][_0x5edc77(0x1b6)][_0x5edc77(0x234)](_0x1b2318['id'],_0x29cb2c);});}else{const _0x417bb3=_0x49519d({'editor':this[_0x3a384f(0x1b2)],'action':_0x5520af,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x3a384f(0x1b2)]['ui'][_0x3a384f(0x1b6)][_0x3a384f(0x234)](_0x5520af['id'],_0x417bb3);}});}[_0x4428c6(0x1df)](){const _0x14c4d6=_0x4428c6;this[_0x14c4d6(0x1b2)]['ui'][_0x14c4d6(0x1b6)][_0x14c4d6(0x234)](_0x14c4d6(0x213),_0x394547=>{const _0x55e91b=_0x14c4d6,_0x355a9c=new _0xe58947(_0x394547),_0x2e56f1=_0x19f43c(_0x394547,_0x55e91b(0x214));_0x355a9c[_0x55e91b(0x227)][_0x55e91b(0x1e9)]({'label':_0x2e56f1,'icon':_0x339892});const _0x5949bd=new _0x4496e7(_0x394547);_0x5949bd[_0x55e91b(0x1e9)]({'ariaLabel':_0x2e56f1,'role':_0x55e91b(0x21c)}),this[_0x55e91b(0x229)][_0x55e91b(0x219)](_0x19a6ee=>{const _0x32cbeb=_0x55e91b;if(_0x32cbeb(0x211)in _0x19a6ee){const _0x4e8b44=_0x19a6ee,_0x3a7586=new _0x59942f(_0x394547,_0x355a9c),_0x32edaa=new _0xe58947(_0x394547),_0x31397e=new _0x4496e7(_0x394547);_0x32edaa[_0x32cbeb(0x227)][_0x32cbeb(0x1e9)]({'label':_0x4e8b44[_0x32cbeb(0x1e6)],'icon':_0x4e8b44[_0x32cbeb(0x1f8)]}),_0x4e8b44[_0x32cbeb(0x211)][_0x32cbeb(0x219)](_0x18f266=>{const _0x161ddf=_0x32cbeb,_0x4e9db6=new _0x59942f(_0x394547,_0x32edaa),_0x4e6153=new _0x3ff79f(_0x394547);_0x4e6153[_0x161ddf(0x1e9)]({'label':_0x18f266[_0x161ddf(0x21b)],'icon':_0x18f266[_0x161ddf(0x1f8)],'role':_0x161ddf(0x1ec),'isEnabled':_0x18f266[_0x161ddf(0x1cf)]}),_0x4e6153['on'](_0x161ddf(0x1a2),()=>{const _0x141476=_0x161ddf;this[_0x141476(0x1e2)](_0x18f266);}),_0x4e6153[_0x161ddf(0x1af)](_0x161ddf(0x1a2))['to'](_0x32edaa),_0x4e9db6[_0x161ddf(0x23a)][_0x161ddf(0x234)](_0x4e6153),_0x31397e[_0x161ddf(0x220)][_0x161ddf(0x234)](_0x4e9db6);}),_0x32edaa[_0x32cbeb(0x21d)][_0x32cbeb(0x23a)][_0x32cbeb(0x234)](_0x31397e),_0x3a7586[_0x32cbeb(0x23a)][_0x32cbeb(0x234)](_0x32edaa),_0x5949bd[_0x32cbeb(0x220)][_0x32cbeb(0x234)](_0x3a7586);}else{const _0x12212=_0x19a6ee,_0x4634dd=new _0x59942f(_0x394547,_0x355a9c),_0x5bc464=new _0x3ff79f(_0x394547);_0x5bc464[_0x32cbeb(0x1e9)]({'label':_0x12212[_0x32cbeb(0x21b)],'icon':_0x12212[_0x32cbeb(0x1f8)],'role':_0x32cbeb(0x1ec),'isEnabled':_0x12212[_0x32cbeb(0x1cf)]}),_0x5bc464['on'](_0x32cbeb(0x1a2),()=>{const _0x592075=_0x32cbeb;this[_0x592075(0x1e2)](_0x12212);}),_0x5bc464[_0x32cbeb(0x1af)](_0x32cbeb(0x1a2))['to'](_0x355a9c),_0x4634dd[_0x32cbeb(0x23a)][_0x32cbeb(0x234)](_0x5bc464),_0x5949bd[_0x32cbeb(0x220)][_0x32cbeb(0x234)](_0x4634dd);}});const _0x3b9a07=Object[_0x55e91b(0x20c)](AIQuickActionTypeToPluginName)[_0x55e91b(0x1ab)](_0x53d051=>this[_0x55e91b(0x1b2)][_0x55e91b(0x1b5)][_0x55e91b(0x19f)](_0x53d051));return _0x355a9c[_0x55e91b(0x1e9)]({'isEnabled':_0x3b9a07}),_0x355a9c[_0x55e91b(0x21d)][_0x55e91b(0x23a)][_0x55e91b(0x234)](_0x5949bd),_0x355a9c;});}[_0x4428c6(0x1e2)](_0x3cfbe6){const _0xe75042=_0x4428c6,_0x500f08=this[_0xe75042(0x1b2)];_0x500f08[_0xe75042(0x21a)][_0xe75042(0x1aa)][_0xe75042(0x1ad)](),_0x500f08[_0xe75042(0x1d2)][_0xe75042(0x1a2)](_0xe75042(0x1b9),_0x3cfbe6);const _0x3809b3=_0x500f08['ui'][_0xe75042(0x1aa)][_0xe75042(0x1fd)];_0x3809b3&&_0x3809b3[_0xe75042(0x1d3)]&&_0x3809b3[_0xe75042(0x1d3)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4e5b59,_0xf6aaf6){const _0xf6894=_0x57d2,_0x355143=_0x4e5b59();while(!![]){try{const _0x320040=-parseInt(_0xf6894(0x113))/0x1+-parseInt(_0xf6894(0x117))/0x2*(-parseInt(_0xf6894(0x121))/0x3)+parseInt(_0xf6894(0x11f))/0x4+-parseInt(_0xf6894(0x114))/0x5+parseInt(_0xf6894(0x11c))/0x6+-parseInt(_0xf6894(0x124))/0x7+parseInt(_0xf6894(0x110))/0x8;if(_0x320040===_0xf6aaf6)break;else _0x355143['push'](_0x355143['shift']());}catch(_0x2d6cc9){_0x355143['push'](_0x355143['shift']());}}}(_0x3cc3,0xd9877));function _0x3cc3(){const _0x1ff7a3=['aiQuickAction','6DuUyRq','view','isEnabled','5982816yzXVYS','ck-ai-quick-actions-button','locale','extendTemplate','7359552hNPKQE','execute','parent','511176ZrRgjr','4004000rDjvTl','bindTemplate','set','364606wRMEdr','focus','displayedPrompt','commands','editing','7384182iyDtAH','menuitem','icon','2169664tRakwL'];_0x3cc3=function(){return _0x1ff7a3;};return _0x3cc3();}import{ButtonView as _0x5c6c7e}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3d38fa}from'@ckeditor/ckeditor5-icons';function _0x57d2(_0x1fc51b,_0x3731ac){const _0x3cc3f2=_0x3cc3();return _0x57d2=function(_0x57d2a1,_0x9d9b44){_0x57d2a1=_0x57d2a1-0x10d;let _0x3489c2=_0x3cc3f2[_0x57d2a1];return _0x3489c2;},_0x57d2(_0x1fc51b,_0x3731ac);}export function aiQuickActionsButtonCreator(_0x2867f9){const {editor:_0x5101b4,action:_0x200d68,withText:_0x209e3c=!0x1,withIcon:_0x4f2803=!0x0,isInDropdown:_0x520427=!0x0,shouldPreventFocus:_0x4fcbb3=!0x1}=_0x2867f9;return()=>{const _0x2b742a=_0x57d2,_0x280978=_0x5101b4[_0x2b742a(0x10e)],_0x4c5164=new _0x5c6c7e(_0x280978),_0x4953d4=_0x4c5164[_0x2b742a(0x115)];_0x520427&&_0x4c5164[_0x2b742a(0x10f)]({'on':{'mouseenter':_0x4953d4['to'](()=>{const _0x3f78bd=_0x2b742a;_0x4fcbb3&&_0x4fcbb3()||_0x4c5164[_0x3f78bd(0x118)]();})}});const _0x22f610=_0x200d68[_0x2b742a(0x11e)]??_0x200d68[_0x2b742a(0x112)]?.[_0x2b742a(0x11e)];return _0x4c5164[_0x2b742a(0x116)]({'label':_0x200d68[_0x2b742a(0x119)],'withText':_0x209e3c,'role':_0x2b742a(0x11d),'icon':_0x4f2803?_0x22f610??_0x3d38fa:void 0x0,'tooltip':!_0x209e3c,'class':_0x2b742a(0x10d),'isEnabled':_0x200d68[_0x2b742a(0x123)]}),_0x4c5164['on'](_0x2b742a(0x111),()=>{const _0x3f8944=_0x2b742a;_0x5101b4[_0x3f8944(0x11b)][_0x3f8944(0x122)][_0x3f8944(0x118)](),_0x5101b4[_0x3f8944(0x11a)][_0x3f8944(0x111)](_0x3f8944(0x120),_0x200d68);}),_0x4c5164;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x121528=_0x2a17;(function(_0x3e1d1d,_0x24d88a){const _0x174323=_0x2a17,_0x4ba079=_0x3e1d1d();while(!![]){try{const _0x46b5a2=-parseInt(_0x174323(0x148))/0x1+-parseInt(_0x174323(0x11b))/0x2+-parseInt(_0x174323(0xfd))/0x3*(parseInt(_0x174323(0x10e))/0x4)+parseInt(_0x174323(0x134))/0x5+-parseInt(_0x174323(0xf9))/0x6+-parseInt(_0x174323(0x14a))/0x7+parseInt(_0x174323(0x11a))/0x8;if(_0x46b5a2===_0x24d88a)break;else _0x4ba079['push'](_0x4ba079['shift']());}catch(_0x12cbe7){_0x4ba079['push'](_0x4ba079['shift']());}}}(_0x5f20,0x8bd31));import{View as _0x42f563,ListItemView as _0x483e42,ListView as _0x1cfcfb,BalloonPanelView as _0x8598b0,DropdownMenuPanelPositioningFunctions as _0x49e080,ViewCollection as _0x2782be,FocusCycler as _0x51b749,ButtonView as _0x4630d3,IconView as _0x461e05,HighlightedTextView as _0x4d4344,ButtonLabelWithHighlightView as _0x4d4c15,SearchTextView as _0x1f4856}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x4306c3}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x11539e,KeystrokeHandler as _0x41dc0a}from'ckeditor5/src/utils.js';function _0x2a17(_0x43f436,_0x1b05b9){const _0x5f206b=_0x5f20();return _0x2a17=function(_0x2a17ba,_0x83b2d6){_0x2a17ba=_0x2a17ba-0xc5;let _0x178d83=_0x5f206b[_0x2a17ba];return _0x178d83;},_0x2a17(_0x43f436,_0x1b05b9);}import{aiQuickActionsButtonCreator as _0x1e0bed}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x566485}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x3dfc11}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x16f112}from'./aiquickactionsfilteredlistview.js';function _0x5f20(){const _0x237bd5=['AI_QUICK_ACTIONS_SEARCH','relatedTarget','isEnabled','ck-dropdown-menu-list','addMany','children','_hasSearch','forEach','ck-ai-quick-actions-group-panel','element','_createSearchTextView','ck-rounded-corners','closest','_createSearchResultActionButton','fire','parent','render','focusCycler','addEventListener','execute','_isSearchFocused','extendTemplate','1072360nDjSTQ','bindTemplate','ck-ai-quick-actions-button_with-group__open-paren','reset','_createActionGroupButton','ck-ai-quick-actions-group-list','_createSearchResultContentView','_createSearchResultIndividualActionButton','_searchTextView','ArrowRight','_hideAllNestedPanels','items','ArrowLeft','optionsListView','pin','focusTracker','.ck-ai-quick-actions-group-button','locale','content','aiQuickAction','782479ubNtui','ck-ai-quick-actions','3412423BhRBdJ','ck-ai-quick-actions-group-button','ck-ai-quick-actions-search-result__content','clear','_createActionButton','setTemplate','label','first','ck-ai-quick-actions-button','chain','ck-ai-quick-actions-search-result-button_with-group','span','ck-ai-quick-actions-search-result-button','_focusables','_setupGroupMenuBehavior','displayedPrompt','isOn','_handleSearchResultButtonClick','mouseleave','ck-ai-quick-actions-search-result__group-row','_setupActionButtonExecution','_isMovingToNestedMenu','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','role','some','_showNestedPanel','commands','div','menu','actions','icon','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','rtl','ck-ai-quick-actions-button_with-group','_allSearchableItems','delete','ck-dropdown-menu__nested-menu__panel','_hideNestedPanel','detachFromDom','queryView','button','_createListItems','ck-ai-quick-actions-search','activeElement','.ck-ai-quick-actions-group-list','get','.ck-ai-quick-actions-group-panel','_createSearchResultActionRow','fieldView','focus','_handlePanelKeydown','view','set','3713904OQWjOq','ck-ai-quick-actions-button__group-icon','contains','add','181878zujkEJ','ck-reset_all','ck-button','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','_createGroupActionsList','push','editing','ck-button_with-text','ownerDocument','bind','text','_getButtonKeystroke','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','show','key','ck-ai-quick-actions-search-result__action-row','destroy','56MtAKjG','ck-ai-quick-actions-button_with-group__close-paren','_createSearchResultGroupRow','_openNestedPanels','isVisible','menuitem','uiLanguageDirection','_getPanelKeystroke','eastSouth','hide','resetSearch','keystrokes','33451016oakRAJ','2170824tUsYCe','_bodyCollection','_createSearchResultGroupedActionButton'];_0x5f20=function(){return _0x237bd5;};return _0x5f20();}const Os=_0x121528(0xe0),Hs=_0x121528(0x113);export class AIQuickActionsDropdownContentView extends _0x42f563{[_0x121528(0x11c)];[_0x121528(0x141)];[_0x121528(0x13c)]=null;[_0x121528(0xe6)]=[];[_0x121528(0x123)];[_0x121528(0x143)];[_0x121528(0x119)];[_0x121528(0xd1)];[_0x121528(0x12f)];[_0x121528(0x111)]=new Set();[_0x121528(0x124)];constructor(_0x5a064e,_0x2304c8,_0x5205d0,_0x24c631,_0x4f01f6=!0x1){const _0x50533f=_0x121528,_0x1d5ed0=_0x5a064e[_0x50533f(0x145)];super(_0x1d5ed0),this[_0x50533f(0x11c)]=_0x24c631,this[_0x50533f(0x124)]=_0x4f01f6;const _0x59b299=this[_0x50533f(0xed)](_0x5a064e,_0x2304c8,_0x5205d0);this[_0x50533f(0x141)]=new _0x16f112(_0x1d5ed0,_0x59b299,this[_0x50533f(0xe6)]),this[_0x50533f(0x141)][_0x50533f(0xdb)]=Os,this[_0x50533f(0x141)][_0x50533f(0x13f)][_0x50533f(0x122)](_0x59b299),this[_0x50533f(0x143)]=new _0x11539e(),this[_0x50533f(0x119)]=new _0x41dc0a(),_0x4f01f6&&(this[_0x50533f(0x13c)]=this[_0x50533f(0x128)]()),this[_0x50533f(0xd1)]=_0x59b299,this[_0x50533f(0x12f)]=new _0x51b749({'focusables':this[_0x50533f(0xd1)],'focusTracker':this[_0x50533f(0x143)],'keystrokeHandler':this[_0x50533f(0x119)]}),_0x4f01f6&&this[_0x50533f(0x13c)]&&this[_0x50533f(0x12f)][_0x50533f(0xcd)](this[_0x50533f(0x13c)][_0x50533f(0x12f)]);const _0x5d0e2a=_0x4f01f6&&this[_0x50533f(0x13c)]?[this[_0x50533f(0x13c)]]:[this[_0x50533f(0x141)]];this[_0x50533f(0x123)]=new _0x2782be(_0x5d0e2a),this[_0x50533f(0xc9)]({'tag':_0x50533f(0xdf),'attributes':{'class':['ck',_0x50533f(0xfe),_0x50533f(0x149),_0x50533f(0x129)],'dir':_0x1d5ed0[_0x50533f(0x114)]},'children':this[_0x50533f(0x123)]});}[_0x121528(0x128)](){const _0x47b453=_0x121528;return new _0x1f4856(this[_0x47b453(0x145)],{'filteredView':this[_0x47b453(0x141)],'queryView':{'label':_0x3dfc11(this[_0x47b453(0x145)],_0x47b453(0x11e))},'class':_0x47b453(0xee),'infoView':{'text':{'notFound':{'primary':_0x3dfc11(this[_0x47b453(0x145)],_0x47b453(0xe3))}}}});}[_0x121528(0x132)](){const _0x198a2f=_0x121528;if(!this[_0x198a2f(0x124)]||!this[_0x198a2f(0x13c)]||!this[_0x198a2f(0x13c)][_0x198a2f(0xeb)][_0x198a2f(0xf4)][_0x198a2f(0x127)])return!0x1;const _0x36eb2b=this[_0x198a2f(0x13c)][_0x198a2f(0xeb)][_0x198a2f(0xf4)][_0x198a2f(0x127)][_0x198a2f(0x105)]?.[_0x198a2f(0xef)];return this[_0x198a2f(0x13c)][_0x198a2f(0xeb)][_0x198a2f(0xf4)][_0x198a2f(0x127)][_0x198a2f(0xfb)](_0x36eb2b);}[_0x121528(0xed)](_0x918847,_0x142b09,_0x54c12f){const _0x347978=_0x121528,_0x4f1ed7=new _0x2782be();return _0x142b09[_0x347978(0x125)](_0x335225=>{const _0xb104ed=_0x347978;if(_0xb104ed(0xe1)in _0x335225){const {listItem:_0x566a4b}=this[_0xb104ed(0x138)](_0x918847,_0x335225,_0x54c12f);_0x4f1ed7[_0xb104ed(0xfc)](_0x566a4b),_0x335225[_0xb104ed(0xe1)][_0xb104ed(0x125)](_0x58ba45=>{const _0x5ed5d6=_0xb104ed;this[_0x5ed5d6(0xc8)](_0x918847,_0x58ba45,_0x335225[_0x5ed5d6(0xca)],_0x335225[_0x5ed5d6(0xe2)]);const {listItem:_0x215e7f,highlightViews:_0xa7b9e2}=this[_0x5ed5d6(0x12b)](_0x918847,_0x58ba45,_0x335225[_0x5ed5d6(0xca)],_0x335225[_0x5ed5d6(0xe2)]);this[_0x5ed5d6(0xe6)][_0x5ed5d6(0x102)]({'item':_0x215e7f,'label':_0x58ba45[_0x5ed5d6(0xd3)],'groupLabel':_0x335225[_0x5ed5d6(0xca)],'highlightViews':_0xa7b9e2});});}else{const {listItem:_0x2039a1}=this[_0xb104ed(0xc8)](_0x918847,_0x335225);_0x4f1ed7[_0xb104ed(0xfc)](_0x2039a1);const _0x611b62=_0x2039a1[_0xb104ed(0x123)][_0xb104ed(0xcb)];if(_0x611b62){const {listItem:_0x34ce3c,highlightViews:_0x52164c}=this[_0xb104ed(0x12b)](_0x918847,_0x335225);this[_0xb104ed(0xe6)][_0xb104ed(0x102)]({'item':_0x34ce3c,'label':_0x611b62[_0xb104ed(0xca)]||'','highlightViews':_0x52164c});}}}),_0x4f1ed7;}[_0x121528(0xc8)](_0x17aa6f,_0x457075,_0x378f1a,_0x6d8fe2){const _0x532d86=_0x121528,_0x2e0510=new _0x483e42(this[_0x532d86(0x145)]);if(_0x378f1a&&_0x6d8fe2){const _0x5716dd=new _0x4630d3(this[_0x532d86(0x145)]),_0x9e97ff=_0x5716dd[_0x532d86(0x135)],_0xc49c91=new _0x4d4344();_0xc49c91[_0x532d86(0x107)]=_0x457075[_0x532d86(0xd3)];const _0x3d331e=new _0x4d4344();_0x3d331e[_0x532d86(0x107)]=_0x378f1a;const _0x494d79=new _0x461e05();_0x494d79[_0x532d86(0x146)]=_0x6d8fe2,_0x494d79[_0x532d86(0x133)]({'attributes':{'class':_0x532d86(0xfa)}});const _0x40177b=new _0x42f563(this[_0x532d86(0x145)]);_0x40177b[_0x532d86(0xc9)]({'tag':_0x532d86(0xcf),'attributes':{'class':_0x532d86(0x136)},'children':[{'text':'\x20('}]});const _0x4f308d=new _0x42f563(this[_0x532d86(0x145)]);return _0x4f308d[_0x532d86(0xc9)]({'tag':_0x532d86(0xcf),'attributes':{'class':_0x532d86(0x10f)},'children':[{'text':')'}]}),_0x5716dd[_0x532d86(0xf8)]({'label':_0x457075[_0x532d86(0xd3)]+'\x20('+_0x378f1a+')','withText':!0x0,'role':_0x532d86(0x113),'class':_0x532d86(0xda),'tooltip':!0x1}),_0x5716dd[_0x532d86(0xc9)]({'tag':_0x532d86(0xec),'attributes':{'class':['ck',_0x532d86(0xff),_0x532d86(0x104),_0x532d86(0xcc),_0x532d86(0xe5)],'type':_0x532d86(0xec),'role':_0x532d86(0x113),'tabindex':'-1'},'children':[_0xc49c91,_0x40177b,_0x494d79,_0x3d331e,_0x4f308d],'on':{'mouseenter':_0x9e97ff['to'](()=>{const _0x22fe70=_0x532d86;this[_0x22fe70(0x132)]()||_0x5716dd[_0x22fe70(0xf5)]();}),'click':_0x9e97ff['to'](()=>{const _0x1ce029=_0x532d86;_0x5716dd[_0x1ce029(0x12c)](_0x1ce029(0x131));})}}),_0x5716dd['on'](_0x532d86(0x131),()=>{const _0xa99359=_0x532d86;_0x17aa6f[_0xa99359(0x103)][_0xa99359(0xf7)][_0xa99359(0xf5)](),_0x17aa6f[_0xa99359(0xde)][_0xa99359(0x131)](_0xa99359(0x147),_0x457075);}),_0x2e0510[_0x532d86(0x123)][_0x532d86(0xfc)](_0x5716dd),{'listItem':_0x2e0510,'highlightViews':[_0xc49c91,_0x3d331e]};}{const _0x1e0d9c=new _0x4d4c15(),_0x30eed8=new _0x4630d3(this[_0x532d86(0x145)],_0x1e0d9c),_0x4845a9=_0x30eed8[_0x532d86(0x135)],_0x224886=_0x457075[_0x532d86(0xe2)]??_0x457075[_0x532d86(0x12d)]?.[_0x532d86(0xe2)],_0x3a86a1=void 0x0!==_0x457075[_0x532d86(0xe2)];return _0x30eed8[_0x532d86(0xf8)]({'label':_0x457075[_0x532d86(0xd3)],'withText':!0x0,'role':_0x532d86(0x113),'icon':_0x3a86a1?_0x224886??_0x4306c3:void 0x0,'tooltip':!0x1,'class':_0x532d86(0xcc)}),_0x30eed8[_0x532d86(0x133)]({'on':{'mouseenter':_0x4845a9['to'](()=>{const _0x1f0a05=_0x532d86;this[_0x1f0a05(0x132)]()||_0x30eed8[_0x1f0a05(0xf5)]();})}}),_0x30eed8['on'](_0x532d86(0x131),()=>{const _0xc01608=_0x532d86;_0x17aa6f[_0xc01608(0x103)][_0xc01608(0xf7)][_0xc01608(0xf5)](),_0x17aa6f[_0xc01608(0xde)][_0xc01608(0x131)](_0xc01608(0x147),_0x457075);}),_0x2e0510[_0x532d86(0x123)][_0x532d86(0xfc)](_0x30eed8),{'listItem':_0x2e0510,'highlightViews':[_0x1e0d9c]};}}[_0x121528(0x12b)](_0x1e7330,_0x4927ea,_0x2a5734,_0xd85644){const _0x4fc874=_0x121528;return _0x2a5734&&_0xd85644?this[_0x4fc874(0x11d)](_0x1e7330,_0x4927ea,_0x2a5734,_0xd85644):this[_0x4fc874(0x13b)](_0x1e7330,_0x4927ea);}[_0x121528(0x11d)](_0x9e701,_0x54c3e0,_0x2aefa8,_0x4897d6){const _0xfeff0f=_0x121528,_0x4d4b7e=new _0x483e42(this[_0xfeff0f(0x145)]),_0x58f9b9=new _0x4630d3(this[_0xfeff0f(0x145)]),_0x452afd=_0x58f9b9[_0xfeff0f(0x135)],{view:_0x321132,highlightView:_0x26e158}=this[_0xfeff0f(0x110)](_0x2aefa8,_0x4897d6),{view:_0xd27515,highlightView:_0x25a54a}=this[_0xfeff0f(0xf3)](_0x54c3e0[_0xfeff0f(0xd3)]),_0xb3f75e=this[_0xfeff0f(0x13a)](_0x321132,_0xd27515);return _0x58f9b9[_0xfeff0f(0xf8)]({'label':_0x54c3e0[_0xfeff0f(0xd3)],'withText':!0x0,'role':_0xfeff0f(0x113),'class':_0xfeff0f(0x100),'tooltip':!0x1}),_0x58f9b9[_0xfeff0f(0xc9)]({'tag':_0xfeff0f(0xec),'attributes':{'class':['ck',_0xfeff0f(0xff),_0xfeff0f(0x104),_0xfeff0f(0xcc),_0xfeff0f(0xd0),_0xfeff0f(0xce)],'type':_0xfeff0f(0xec),'role':_0xfeff0f(0x113),'tabindex':'-1'},'children':[_0xb3f75e],'on':{'mouseenter':_0x452afd['to'](()=>{const _0x25f599=_0xfeff0f;this[_0x25f599(0x132)]()||_0x58f9b9[_0x25f599(0xf5)]();}),'click':_0x452afd['to'](()=>{const _0x2d0362=_0xfeff0f;this[_0x2d0362(0xd5)](_0x58f9b9);})}}),this[_0xfeff0f(0xd8)](_0x58f9b9,_0x9e701,_0x54c3e0),_0x4d4b7e[_0xfeff0f(0x123)][_0xfeff0f(0xfc)](_0x58f9b9),{'listItem':_0x4d4b7e,'highlightViews':[_0x26e158,_0x25a54a]};}[_0x121528(0x13b)](_0x446be6,_0x55b0a3){const _0x94832e=_0x121528,_0x17b09b=new _0x483e42(this[_0x94832e(0x145)]),_0x3457c8=new _0x4d4c15(),_0x4f8be5=new _0x4630d3(this[_0x94832e(0x145)],_0x3457c8),_0x49be34=_0x4f8be5[_0x94832e(0x135)];return _0x4f8be5[_0x94832e(0xf8)]({'label':_0x55b0a3[_0x94832e(0xd3)],'withText':!0x0,'role':_0x94832e(0x113),'icon':void 0x0,'tooltip':!0x1,'class':_0x94832e(0x109)}),_0x4f8be5[_0x94832e(0x133)]({'on':{'mouseenter':_0x49be34['to'](()=>{const _0x41cbeb=_0x94832e;this[_0x41cbeb(0x132)]()||_0x4f8be5[_0x41cbeb(0xf5)]();})}}),this[_0x94832e(0xd8)](_0x4f8be5,_0x446be6,_0x55b0a3),_0x17b09b[_0x94832e(0x123)][_0x94832e(0xfc)](_0x4f8be5),{'listItem':_0x17b09b,'highlightViews':[_0x3457c8]};}[_0x121528(0x110)](_0x1dca4f,_0x1027d1){const _0x10ad77=_0x121528,_0x12bcab=new _0x42f563(this[_0x10ad77(0x145)]),_0x46a97a=new _0x461e05();_0x46a97a[_0x10ad77(0x146)]=_0x1027d1,_0x46a97a[_0x10ad77(0x133)]({'attributes':{'class':_0x10ad77(0xfa)}});const _0x44587a=new _0x4d4344();return _0x44587a[_0x10ad77(0x107)]=_0x1dca4f,_0x12bcab[_0x10ad77(0xc9)]({'tag':_0x10ad77(0xdf),'attributes':{'class':_0x10ad77(0xd7)},'children':[_0x46a97a,_0x44587a]}),{'view':_0x12bcab,'highlightView':_0x44587a};}[_0x121528(0xf3)](_0x3c4682){const _0x152eba=_0x121528,_0x595d3d=new _0x42f563(this[_0x152eba(0x145)]),_0x284aca=new _0x4d4344();return _0x284aca[_0x152eba(0x107)]=_0x3c4682,_0x595d3d[_0x152eba(0xc9)]({'tag':_0x152eba(0xdf),'attributes':{'class':_0x152eba(0x10c)},'children':[_0x284aca]}),{'view':_0x595d3d,'highlightView':_0x284aca};}[_0x121528(0x13a)](_0x1410e4,_0x1732bc){const _0x320ba7=_0x121528,_0x1e0473=new _0x42f563(this[_0x320ba7(0x145)]);return _0x1e0473[_0x320ba7(0xc9)]({'tag':_0x320ba7(0xdf),'attributes':{'class':_0x320ba7(0xc6)},'children':[_0x1410e4,_0x1732bc]}),_0x1e0473;}[_0x121528(0xd8)](_0x340086,_0x636b9f,_0x5d27ad){const _0x380b20=_0x121528;_0x340086['on'](_0x380b20(0x131),()=>{const _0x19d41b=_0x380b20;_0x636b9f[_0x19d41b(0x103)][_0x19d41b(0xf7)][_0x19d41b(0xf5)](),_0x636b9f[_0x19d41b(0xde)][_0x19d41b(0x131)](_0x19d41b(0x147),_0x5d27ad);});}[_0x121528(0x138)](_0x5ea67b,_0x46b982,_0x2f396e){const _0x55fd6b=_0x121528,_0x19a60f=new _0x483e42(this[_0x55fd6b(0x145)]),_0x61cde4=new _0x4d4c15(),_0x30192b=new _0x566485(this[_0x55fd6b(0x145)],_0x61cde4),_0x12bb52=_0x30192b[_0x55fd6b(0x135)],_0x47c4d0=this[_0x55fd6b(0x115)](_0x2f396e),_0x1081e2=this[_0x55fd6b(0x101)](_0x5ea67b,_0x46b982[_0x55fd6b(0xe1)],_0x2f396e);_0x30192b[_0x55fd6b(0xf8)]({'label':_0x46b982[_0x55fd6b(0xca)],'withText':!0x0,'role':Hs,'icon':_0x46b982[_0x55fd6b(0xe2)]??_0x4306c3,'isEnabled':_0x46b982[_0x55fd6b(0xe1)][_0x55fd6b(0xdc)](_0x16948d=>_0x16948d[_0x55fd6b(0x120)])}),_0x30192b[_0x55fd6b(0x133)]({'on':{'mouseenter':_0x12bb52['to'](()=>{const _0x3ce9d2=_0x55fd6b;this[_0x3ce9d2(0x132)]()||_0x30192b[_0x3ce9d2(0xf5)]();})}});const _0x29c9f8=new _0x8598b0(this[_0x55fd6b(0x145)]);return _0x29c9f8[_0x55fd6b(0x133)]({'attributes':{'class':['ck',_0x55fd6b(0xfe),_0x55fd6b(0x126),_0x55fd6b(0xe8)]},'on':{'keydown':_0x12bb52['to'](_0x1ed471=>{const _0x138655=_0x55fd6b;this[_0x138655(0xf6)](_0x1ed471,_0x47c4d0,_0x30192b,_0x29c9f8);})}}),_0x30192b[_0x55fd6b(0x106)](_0x55fd6b(0xd4))['to'](_0x29c9f8,_0x55fd6b(0x112)),this[_0x55fd6b(0x11c)][_0x55fd6b(0xfc)](_0x29c9f8),_0x29c9f8[_0x55fd6b(0x146)][_0x55fd6b(0xfc)](_0x1081e2),this[_0x55fd6b(0xd2)](_0x30192b,_0x29c9f8),_0x19a60f[_0x55fd6b(0x123)][_0x55fd6b(0xfc)](_0x30192b),{'listItem':_0x19a60f,'highlightView':_0x61cde4};}[_0x121528(0x101)](_0x15f9ab,_0x5c872e,_0x431f42){const _0x5f0b8=_0x121528,_0x503608=new _0x1cfcfb(this[_0x5f0b8(0x145)]);return _0x503608[_0x5f0b8(0x133)]({'attributes':{'class':['ck',_0x5f0b8(0xfe),_0x5f0b8(0x139),_0x5f0b8(0x121)]}}),_0x5c872e[_0x5f0b8(0x125)](_0x5cbccf=>{const _0x48fdc8=_0x5f0b8,_0x255e2a=new _0x483e42(this[_0x48fdc8(0x145)]),_0x2c3f9b=_0x1e0bed({'editor':_0x15f9ab,'action':_0x5cbccf,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x48fdc8(0x132)]()})();_0x255e2a[_0x48fdc8(0x123)][_0x48fdc8(0xfc)](_0x2c3f9b),_0x431f42[_0x48fdc8(0x143)][_0x48fdc8(0xfc)](_0x2c3f9b),_0x503608[_0x48fdc8(0x13f)][_0x48fdc8(0xfc)](_0x255e2a);}),_0x503608;}[_0x121528(0xd2)](_0x137e24,_0x39b149){const _0x50a12b=_0x121528,_0x27f793=_0x137e24[_0x50a12b(0x135)],_0x51061b=this[_0x50a12b(0x108)](_0x137e24);_0x137e24[_0x50a12b(0x133)]({'attributes':{'class':[_0x50a12b(0xc5)]},'on':{'mouseenter':_0x27f793['to'](()=>{const _0x351d25=_0x50a12b;this[_0x351d25(0xdd)](_0x39b149,_0x137e24);}),'mouseleave':_0x27f793['to'](_0x1a157a=>{const _0x50fe2e=_0x50a12b,_0x2b807c=_0x1a157a[_0x50fe2e(0x11f)];this[_0x50fe2e(0xd9)](_0x2b807c,_0x39b149)||this[_0x50fe2e(0xe9)](_0x39b149);}),'keydown':_0x27f793['to'](_0x52a9e7=>{const _0x770529=_0x50a12b;_0x52a9e7[_0x770529(0x10b)]==_0x51061b&&(this[_0x770529(0xdd)](_0x39b149,_0x137e24),_0x39b149[_0x770529(0x146)][_0x770529(0xf1)](0x0)[_0x770529(0xf5)]());})}}),_0x39b149['on'](_0x50a12b(0x12e),()=>{const _0x22d3c5=_0x50a12b;_0x39b149[_0x22d3c5(0x127)]?.[_0x22d3c5(0x130)](_0x22d3c5(0xd6),_0x3a235a=>{const _0x3791fe=_0x22d3c5,_0x5d9ec8=_0x3a235a[_0x3791fe(0x11f)];_0x137e24[_0x3791fe(0x127)]?.[_0x3791fe(0xfb)](_0x5d9ec8)||this[_0x3791fe(0xd9)](_0x5d9ec8,_0x39b149)||this[_0x3791fe(0xe9)](_0x39b149);});});}[_0x121528(0xdd)](_0x486c14,_0x107e76){const _0xb49f6d=_0x121528;this[_0xb49f6d(0x111)][_0xb49f6d(0x125)](_0xa9ed16=>{const _0x28f6f3=_0xb49f6d;_0xa9ed16!==_0x486c14&&_0xa9ed16[_0x28f6f3(0x112)]&&_0xa9ed16[_0x28f6f3(0x117)]();}),_0x486c14[_0xb49f6d(0x10a)](),_0x486c14[_0xb49f6d(0x142)]({'positions':[_0x49e080[_0xb49f6d(0x116)]],'target':_0x107e76[_0xb49f6d(0x127)],'fitInViewport':!0x0}),this[_0xb49f6d(0x111)][_0xb49f6d(0xfc)](_0x486c14);}[_0x121528(0xe9)](_0x54de4d){const _0x58a885=_0x121528;_0x54de4d[_0x58a885(0x117)](),this[_0x58a885(0x111)][_0x58a885(0xe7)](_0x54de4d);}[_0x121528(0x13e)](){const _0x176fc7=_0x121528;this[_0x176fc7(0x111)][_0x176fc7(0x125)](_0x5adf7d=>_0x5adf7d[_0x176fc7(0x117)]()),this[_0x176fc7(0x111)][_0x176fc7(0xc7)]();}[_0x121528(0xd9)](_0x1a41af,_0x338cd1){const _0x186f53=_0x121528;if(!_0x1a41af)return!0x1;if(_0x338cd1[_0x186f53(0x127)]?.[_0x186f53(0xfb)](_0x1a41af))return!0x0;const _0x29f3d5=_0x1a41af;return _0x29f3d5[_0x186f53(0x12a)]&&(null!==_0x29f3d5[_0x186f53(0x12a)](_0x186f53(0xf2))||null!==_0x29f3d5[_0x186f53(0x12a)](_0x186f53(0xf0))||null!==_0x29f3d5[_0x186f53(0x12a)](_0x186f53(0x144)));}[_0x121528(0x118)](){const _0x3d775e=_0x121528;this[_0x3d775e(0x13c)]&&this[_0x3d775e(0x13c)][_0x3d775e(0x137)]();}[_0x121528(0x10d)](){const _0x4cfb1b=_0x121528;this[_0x4cfb1b(0x13e)](),this[_0x4cfb1b(0x11c)][_0x4cfb1b(0xea)](),super[_0x4cfb1b(0x10d)]();}[_0x121528(0xf5)](){const _0x5f2ac9=_0x121528;this[_0x5f2ac9(0x13c)]?this[_0x5f2ac9(0x13c)][_0x5f2ac9(0xf5)]():this[_0x5f2ac9(0x141)][_0x5f2ac9(0xf5)]();}[_0x121528(0x115)](_0x303a94){const _0x5ded81=_0x121528;return _0x5ded81(0xe4)===_0x303a94[_0x5ded81(0x145)][_0x5ded81(0x114)]?_0x5ded81(0x13d):_0x5ded81(0x140);}[_0x121528(0x108)](_0x56ee70){const _0x58b431=_0x121528;return _0x58b431(0xe4)===_0x56ee70[_0x58b431(0x145)][_0x58b431(0x114)]?_0x58b431(0x140):_0x58b431(0x13d);}[_0x121528(0xf6)](_0x3aa4f7,_0x66749f,_0x16b019,_0xfbf25f){const _0x3b8419=_0x121528;_0x3aa4f7[_0x3b8419(0x10b)]==_0x66749f&&(_0x16b019[_0x3b8419(0xf5)](),this[_0x3b8419(0xe9)](_0xfbf25f));}[_0x121528(0xd5)](_0x1514b9){const _0x3b390a=_0x121528;_0x1514b9[_0x3b390a(0x12c)](_0x3b390a(0x131));}}
|
|
23
|
+
const _0x453d1c=_0x402e;(function(_0x2262aa,_0x4a9f03){const _0x568a31=_0x402e,_0x4d36b0=_0x2262aa();while(!![]){try{const _0x2deb6b=parseInt(_0x568a31(0x1c0))/0x1+parseInt(_0x568a31(0x1d8))/0x2*(parseInt(_0x568a31(0x190))/0x3)+-parseInt(_0x568a31(0x1cf))/0x4*(parseInt(_0x568a31(0x162))/0x5)+-parseInt(_0x568a31(0x1e4))/0x6*(parseInt(_0x568a31(0x1da))/0x7)+-parseInt(_0x568a31(0x1e5))/0x8*(-parseInt(_0x568a31(0x1cc))/0x9)+parseInt(_0x568a31(0x1d3))/0xa+-parseInt(_0x568a31(0x194))/0xb*(parseInt(_0x568a31(0x196))/0xc);if(_0x2deb6b===_0x4a9f03)break;else _0x4d36b0['push'](_0x4d36b0['shift']());}catch(_0x3b33b4){_0x4d36b0['push'](_0x4d36b0['shift']());}}}(_0x2d5c,0x28852));import{View as _0x26e0ec,ListItemView as _0x3fb246,ListView as _0x4e6a78,BalloonPanelView as _0x26a4e9,DropdownMenuPanelPositioningFunctions as _0x1ac682,ViewCollection as _0x4622ed,FocusCycler as _0x36dfba,ButtonView as _0x45d368,IconView as _0x282034,HighlightedTextView as _0x525326,ButtonLabelWithHighlightView as _0x123b6a,SearchTextView as _0x38bea7}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3b3cb4}from'@ckeditor/ckeditor5-icons';function _0x2d5c(){const _0x43c774=['_setupActionButtonExecution','icon','span','contains','_handlePanelKeydown','isEnabled','_createActionGroupButton','_isSearchFocused','first','clear','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','optionsListView','_handleSearchResultButtonClick','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','ck-button_with-text','ck-ai-quick-actions-search-result__group-row','destroy','addMany','.ck-ai-quick-actions-group-list','queryView','_setupGroupMenuBehavior','ck-reset_all','aiQuickAction','bind','273445anDnkS','ck-ai-quick-actions','hide','show','ownerDocument','activeElement','_hideAllNestedPanels','bindTemplate','ck-ai-quick-actions-search-result__action-row','_focusables','.ck-ai-quick-actions-group-panel','isVisible','29412wMyeZg','ck-ai-quick-actions-button_with-group__close-paren','element','68BhoFuo','_allSearchableItems','children','menu','3190020nWEEep','get','key','_createSearchTextView','mouseleave','730tBGuyX','ck-ai-quick-actions-group-button','35rxHcEw','eastSouth','detachFromDom','content','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','actions','ck-ai-quick-actions-button_with-group__open-paren','delete','_hasSearch','button','362106JRlsTQ','440PEWHEN','_getPanelKeystroke','ck-rounded-corners','_createSearchResultGroupedActionButton','ck-button','resetSearch','keystrokes','30295IcWyXe','_createGroupActionsList','push','text','ck-ai-quick-actions-button__group-icon','ck-ai-quick-actions-search','set','_createSearchResultGroupRow','ck-ai-quick-actions-search-result-button_with-group','_createActionButton','_createSearchResultContentView','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','render','ck-ai-quick-actions-search-result-button','view','displayedPrompt','_createSearchResultActionButton','_isMovingToNestedMenu','focusCycler','some','reset','ck-ai-quick-actions-search-result__content','ck-ai-quick-actions-button','extendTemplate','forEach','addEventListener','uiLanguageDirection','_hideNestedPanel','fieldView','AI_QUICK_ACTIONS_SEARCH','.ck-ai-quick-actions-group-button','ck-ai-quick-actions-group-panel','ck-dropdown-menu-list','rtl','ck-ai-quick-actions-button_with-group','_bodyCollection','_openNestedPanels','ck-ai-quick-actions-group-list','div','_getButtonKeystroke','parent','ArrowRight','chain','add','_createListItems','setTemplate','1203hiEKHW','ArrowLeft','editing','fire','11TYftMm','focusTracker','4173888rwtyUB','role','ck-dropdown-menu__nested-menu__panel','relatedTarget','label','_createSearchResultActionRow','focus','execute','_createSearchResultIndividualActionButton','menuitem','_showNestedPanel','isOn','_searchTextView','locale','closest','pin','items','commands'];_0x2d5c=function(){return _0x43c774;};return _0x2d5c();}import{FocusTracker as _0x1602c9,KeystrokeHandler as _0x31a2ba}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x523208}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x5b7f62}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x4021be}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x108440}from'./aiquickactionsfilteredlistview.js';function _0x402e(_0x7bf537,_0x449ee2){const _0x2d5c83=_0x2d5c();return _0x402e=function(_0x402eb4,_0x540a7b){_0x402eb4=_0x402eb4-0x15e;let _0x788287=_0x2d5c83[_0x402eb4];return _0x788287;},_0x402e(_0x7bf537,_0x449ee2);}const Qs=_0x453d1c(0x1d2),Gs=_0x453d1c(0x19f);export class AIQuickActionsDropdownContentView extends _0x26e0ec{[_0x453d1c(0x185)];[_0x453d1c(0x1b3)];[_0x453d1c(0x1a2)]=null;[_0x453d1c(0x1d0)]=[];[_0x453d1c(0x1d1)];[_0x453d1c(0x195)];[_0x453d1c(0x161)];[_0x453d1c(0x1c9)];[_0x453d1c(0x174)];[_0x453d1c(0x186)]=new Set();[_0x453d1c(0x1e2)];constructor(_0x47664a,_0x597a56,_0x5ceb2e,_0xa1046b,_0xbf1974=!0x1){const _0x2bef45=_0x453d1c,_0x22c9e2=_0x47664a[_0x2bef45(0x1a3)];super(_0x22c9e2),this[_0x2bef45(0x185)]=_0xa1046b,this[_0x2bef45(0x1e2)]=_0xbf1974;const _0x293113=this[_0x2bef45(0x18e)](_0x47664a,_0x597a56,_0x5ceb2e);this[_0x2bef45(0x1b3)]=new _0x108440(_0x22c9e2,_0x293113,this[_0x2bef45(0x1d0)]),this[_0x2bef45(0x1b3)][_0x2bef45(0x197)]=Qs,this[_0x2bef45(0x1b3)][_0x2bef45(0x1a6)][_0x2bef45(0x1b9)](_0x293113),this[_0x2bef45(0x195)]=new _0x1602c9(),this[_0x2bef45(0x161)]=new _0x31a2ba(),_0xbf1974&&(this[_0x2bef45(0x1a2)]=this[_0x2bef45(0x1d6)]()),this[_0x2bef45(0x1c9)]=_0x293113,this[_0x2bef45(0x174)]=new _0x36dfba({'focusables':this[_0x2bef45(0x1c9)],'focusTracker':this[_0x2bef45(0x195)],'keystrokeHandler':this[_0x2bef45(0x161)]}),_0xbf1974&&this[_0x2bef45(0x1a2)]&&this[_0x2bef45(0x174)][_0x2bef45(0x18c)](this[_0x2bef45(0x1a2)][_0x2bef45(0x174)]);const _0x53f801=_0xbf1974&&this[_0x2bef45(0x1a2)]?[this[_0x2bef45(0x1a2)]]:[this[_0x2bef45(0x1b3)]];this[_0x2bef45(0x1d1)]=new _0x4622ed(_0x53f801),this[_0x2bef45(0x18f)]({'tag':_0x2bef45(0x188),'attributes':{'class':['ck',_0x2bef45(0x1bd),_0x2bef45(0x1c1),_0x2bef45(0x1e7)],'dir':_0x22c9e2[_0x2bef45(0x17c)]},'children':this[_0x2bef45(0x1d1)]});}[_0x453d1c(0x1d6)](){const _0x37374=_0x453d1c;return new _0x38bea7(this[_0x37374(0x1a3)],{'filteredView':this[_0x37374(0x1b3)],'queryView':{'label':_0x4021be(this[_0x37374(0x1a3)],_0x37374(0x17f))},'class':_0x37374(0x167),'infoView':{'text':{'notFound':{'primary':_0x4021be(this[_0x37374(0x1a3)],_0x37374(0x1b5))}}}});}[_0x453d1c(0x1af)](){const _0x3caf76=_0x453d1c;if(!this[_0x3caf76(0x1e2)]||!this[_0x3caf76(0x1a2)]||!this[_0x3caf76(0x1a2)][_0x3caf76(0x1bb)][_0x3caf76(0x17e)][_0x3caf76(0x1ce)])return!0x1;const _0x1d6e2c=this[_0x3caf76(0x1a2)][_0x3caf76(0x1bb)][_0x3caf76(0x17e)][_0x3caf76(0x1ce)][_0x3caf76(0x1c4)]?.[_0x3caf76(0x1c5)];return this[_0x3caf76(0x1a2)][_0x3caf76(0x1bb)][_0x3caf76(0x17e)][_0x3caf76(0x1ce)][_0x3caf76(0x1ab)](_0x1d6e2c);}[_0x453d1c(0x18e)](_0xcb0aa7,_0x253d3a,_0x16bc15){const _0x2bdb44=_0x453d1c,_0x50e10b=new _0x4622ed();return _0x253d3a[_0x2bdb44(0x17a)](_0x2cf42f=>{const _0x55442f=_0x2bdb44;if(_0x55442f(0x1df)in _0x2cf42f){const {listItem:_0x3eda88}=this[_0x55442f(0x1ae)](_0xcb0aa7,_0x2cf42f,_0x16bc15);_0x50e10b[_0x55442f(0x18d)](_0x3eda88),_0x2cf42f[_0x55442f(0x1df)][_0x55442f(0x17a)](_0x360fc2=>{const _0x1cc37a=_0x55442f;this[_0x1cc37a(0x16b)](_0xcb0aa7,_0x360fc2,_0x2cf42f[_0x1cc37a(0x19a)],_0x2cf42f[_0x1cc37a(0x1a9)]);const {listItem:_0x5d8d81,highlightViews:_0x162ca9}=this[_0x1cc37a(0x172)](_0xcb0aa7,_0x360fc2,_0x2cf42f[_0x1cc37a(0x19a)],_0x2cf42f[_0x1cc37a(0x1a9)]);this[_0x1cc37a(0x1d0)][_0x1cc37a(0x164)]({'item':_0x5d8d81,'label':_0x360fc2[_0x1cc37a(0x171)],'groupLabel':_0x2cf42f[_0x1cc37a(0x19a)],'highlightViews':_0x162ca9});});}else{const {listItem:_0x3c6279}=this[_0x55442f(0x16b)](_0xcb0aa7,_0x2cf42f);_0x50e10b[_0x55442f(0x18d)](_0x3c6279);const _0x81e365=_0x3c6279[_0x55442f(0x1d1)][_0x55442f(0x1b0)];if(_0x81e365){const {listItem:_0x572050,highlightViews:_0xf3f29b}=this[_0x55442f(0x172)](_0xcb0aa7,_0x2cf42f);this[_0x55442f(0x1d0)][_0x55442f(0x164)]({'item':_0x572050,'label':_0x81e365[_0x55442f(0x19a)]||'','highlightViews':_0xf3f29b});}}}),_0x50e10b;}[_0x453d1c(0x16b)](_0x2ceee7,_0x32e9a1,_0x454e3b,_0x385e10){const _0x3e59d4=_0x453d1c,_0x281fd4=new _0x3fb246(this[_0x3e59d4(0x1a3)]);if(_0x454e3b&&_0x385e10){const _0x329f4a=new _0x45d368(this[_0x3e59d4(0x1a3)]),_0x2d463c=_0x329f4a[_0x3e59d4(0x1c7)],_0x4582bf=new _0x525326();_0x4582bf[_0x3e59d4(0x165)]=_0x32e9a1[_0x3e59d4(0x171)];const _0xb6b1ab=new _0x525326();_0xb6b1ab[_0x3e59d4(0x165)]=_0x454e3b;const _0x152096=new _0x282034();_0x152096[_0x3e59d4(0x1dd)]=_0x385e10,_0x152096[_0x3e59d4(0x179)]({'attributes':{'class':_0x3e59d4(0x166)}});const _0x5c4cbd=new _0x26e0ec(this[_0x3e59d4(0x1a3)]);_0x5c4cbd[_0x3e59d4(0x18f)]({'tag':_0x3e59d4(0x1aa),'attributes':{'class':_0x3e59d4(0x1e0)},'children':[{'text':'\x20('}]});const _0x2d3aba=new _0x26e0ec(this[_0x3e59d4(0x1a3)]);return _0x2d3aba[_0x3e59d4(0x18f)]({'tag':_0x3e59d4(0x1aa),'attributes':{'class':_0x3e59d4(0x1cd)},'children':[{'text':')'}]}),_0x329f4a[_0x3e59d4(0x168)]({'label':_0x32e9a1[_0x3e59d4(0x171)]+'\x20('+_0x454e3b+')','withText':!0x0,'role':_0x3e59d4(0x19f),'class':_0x3e59d4(0x1de),'tooltip':!0x1}),_0x329f4a[_0x3e59d4(0x18f)]({'tag':_0x3e59d4(0x1e3),'attributes':{'class':['ck',_0x3e59d4(0x15f),_0x3e59d4(0x1b6),_0x3e59d4(0x178),_0x3e59d4(0x184)],'type':_0x3e59d4(0x1e3),'role':_0x3e59d4(0x19f),'tabindex':'-1'},'children':[_0x4582bf,_0x5c4cbd,_0x152096,_0xb6b1ab,_0x2d3aba],'on':{'mouseenter':_0x2d463c['to'](()=>{const _0x6a850c=_0x3e59d4;this[_0x6a850c(0x1af)]()||_0x329f4a[_0x6a850c(0x19c)]();}),'click':_0x2d463c['to'](()=>{const _0x28b95b=_0x3e59d4;_0x329f4a[_0x28b95b(0x193)](_0x28b95b(0x19d));})}}),_0x329f4a['on'](_0x3e59d4(0x19d),()=>{const _0x535b0e=_0x3e59d4;_0x2ceee7[_0x535b0e(0x192)][_0x535b0e(0x170)][_0x535b0e(0x19c)](),_0x2ceee7[_0x535b0e(0x1a7)][_0x535b0e(0x19d)](_0x535b0e(0x1be),_0x32e9a1);}),_0x281fd4[_0x3e59d4(0x1d1)][_0x3e59d4(0x18d)](_0x329f4a),{'listItem':_0x281fd4,'highlightViews':[_0x4582bf,_0xb6b1ab]};}{const _0x41f2ae=new _0x123b6a(),_0xa6ed4f=new _0x45d368(this[_0x3e59d4(0x1a3)],_0x41f2ae),_0x37dc7b=_0xa6ed4f[_0x3e59d4(0x1c7)],_0x200192=_0x32e9a1[_0x3e59d4(0x1a9)]??_0x32e9a1[_0x3e59d4(0x18a)]?.[_0x3e59d4(0x1a9)],_0x41c93f=void 0x0!==_0x32e9a1[_0x3e59d4(0x1a9)];return _0xa6ed4f[_0x3e59d4(0x168)]({'label':_0x32e9a1[_0x3e59d4(0x171)],'withText':!0x0,'role':_0x3e59d4(0x19f),'icon':_0x41c93f?_0x200192??_0x3b3cb4:void 0x0,'tooltip':!0x1,'class':_0x3e59d4(0x178)}),_0xa6ed4f[_0x3e59d4(0x179)]({'on':{'mouseenter':_0x37dc7b['to'](()=>{const _0x118e66=_0x3e59d4;this[_0x118e66(0x1af)]()||_0xa6ed4f[_0x118e66(0x19c)]();})}}),_0xa6ed4f['on'](_0x3e59d4(0x19d),()=>{const _0x351a80=_0x3e59d4;_0x2ceee7[_0x351a80(0x192)][_0x351a80(0x170)][_0x351a80(0x19c)](),_0x2ceee7[_0x351a80(0x1a7)][_0x351a80(0x19d)](_0x351a80(0x1be),_0x32e9a1);}),_0x281fd4[_0x3e59d4(0x1d1)][_0x3e59d4(0x18d)](_0xa6ed4f),{'listItem':_0x281fd4,'highlightViews':[_0x41f2ae]};}}[_0x453d1c(0x172)](_0x256f9c,_0x56ade1,_0x106d90,_0x2b267f){const _0x87a0ef=_0x453d1c;return _0x106d90&&_0x2b267f?this[_0x87a0ef(0x15e)](_0x256f9c,_0x56ade1,_0x106d90,_0x2b267f):this[_0x87a0ef(0x19e)](_0x256f9c,_0x56ade1);}[_0x453d1c(0x15e)](_0x4ab5d3,_0x5d837c,_0x230e85,_0x2366d8){const _0x30ebd3=_0x453d1c,_0x27fdad=new _0x3fb246(this[_0x30ebd3(0x1a3)]),_0x2836e8=new _0x45d368(this[_0x30ebd3(0x1a3)]),_0x460e66=_0x2836e8[_0x30ebd3(0x1c7)],{view:_0x47ba1f,highlightView:_0x2c3bd5}=this[_0x30ebd3(0x169)](_0x230e85,_0x2366d8),{view:_0x3b9eea,highlightView:_0x3ba9d9}=this[_0x30ebd3(0x19b)](_0x5d837c[_0x30ebd3(0x171)]),_0x3555b5=this[_0x30ebd3(0x16c)](_0x47ba1f,_0x3b9eea);return _0x2836e8[_0x30ebd3(0x168)]({'label':_0x5d837c[_0x30ebd3(0x171)],'withText':!0x0,'role':_0x30ebd3(0x19f),'class':_0x30ebd3(0x1b2),'tooltip':!0x1}),_0x2836e8[_0x30ebd3(0x18f)]({'tag':_0x30ebd3(0x1e3),'attributes':{'class':['ck',_0x30ebd3(0x15f),_0x30ebd3(0x1b6),_0x30ebd3(0x178),_0x30ebd3(0x16f),_0x30ebd3(0x16a)],'type':_0x30ebd3(0x1e3),'role':_0x30ebd3(0x19f),'tabindex':'-1'},'children':[_0x3555b5],'on':{'mouseenter':_0x460e66['to'](()=>{const _0x1e51cc=_0x30ebd3;this[_0x1e51cc(0x1af)]()||_0x2836e8[_0x1e51cc(0x19c)]();}),'click':_0x460e66['to'](()=>{const _0x3d85eb=_0x30ebd3;this[_0x3d85eb(0x1b4)](_0x2836e8);})}}),this[_0x30ebd3(0x1a8)](_0x2836e8,_0x4ab5d3,_0x5d837c),_0x27fdad[_0x30ebd3(0x1d1)][_0x30ebd3(0x18d)](_0x2836e8),{'listItem':_0x27fdad,'highlightViews':[_0x2c3bd5,_0x3ba9d9]};}[_0x453d1c(0x19e)](_0x2bb09c,_0x5eed60){const _0x57f94a=_0x453d1c,_0x40d41b=new _0x3fb246(this[_0x57f94a(0x1a3)]),_0x22c396=new _0x123b6a(),_0x6ae468=new _0x45d368(this[_0x57f94a(0x1a3)],_0x22c396),_0xebe232=_0x6ae468[_0x57f94a(0x1c7)];return _0x6ae468[_0x57f94a(0x168)]({'label':_0x5eed60[_0x57f94a(0x171)],'withText':!0x0,'role':_0x57f94a(0x19f),'icon':void 0x0,'tooltip':!0x1,'class':_0x57f94a(0x16d)}),_0x6ae468[_0x57f94a(0x179)]({'on':{'mouseenter':_0xebe232['to'](()=>{const _0x921dd6=_0x57f94a;this[_0x921dd6(0x1af)]()||_0x6ae468[_0x921dd6(0x19c)]();})}}),this[_0x57f94a(0x1a8)](_0x6ae468,_0x2bb09c,_0x5eed60),_0x40d41b[_0x57f94a(0x1d1)][_0x57f94a(0x18d)](_0x6ae468),{'listItem':_0x40d41b,'highlightViews':[_0x22c396]};}[_0x453d1c(0x169)](_0x31cf2b,_0x3f9c04){const _0x4c4d11=_0x453d1c,_0xe701ba=new _0x26e0ec(this[_0x4c4d11(0x1a3)]),_0x18169e=new _0x282034();_0x18169e[_0x4c4d11(0x1dd)]=_0x3f9c04,_0x18169e[_0x4c4d11(0x179)]({'attributes':{'class':_0x4c4d11(0x166)}});const _0x57f8c2=new _0x525326();return _0x57f8c2[_0x4c4d11(0x165)]=_0x31cf2b,_0xe701ba[_0x4c4d11(0x18f)]({'tag':_0x4c4d11(0x188),'attributes':{'class':_0x4c4d11(0x1b7)},'children':[_0x18169e,_0x57f8c2]}),{'view':_0xe701ba,'highlightView':_0x57f8c2};}[_0x453d1c(0x19b)](_0x34cce8){const _0x5437eb=_0x453d1c,_0x1283fe=new _0x26e0ec(this[_0x5437eb(0x1a3)]),_0x3c695c=new _0x525326();return _0x3c695c[_0x5437eb(0x165)]=_0x34cce8,_0x1283fe[_0x5437eb(0x18f)]({'tag':_0x5437eb(0x188),'attributes':{'class':_0x5437eb(0x1c8)},'children':[_0x3c695c]}),{'view':_0x1283fe,'highlightView':_0x3c695c};}[_0x453d1c(0x16c)](_0x39eac4,_0x3ce376){const _0x2e50c6=_0x453d1c,_0x2cdf5a=new _0x26e0ec(this[_0x2e50c6(0x1a3)]);return _0x2cdf5a[_0x2e50c6(0x18f)]({'tag':_0x2e50c6(0x188),'attributes':{'class':_0x2e50c6(0x177)},'children':[_0x39eac4,_0x3ce376]}),_0x2cdf5a;}[_0x453d1c(0x1a8)](_0x2ca687,_0x4bb214,_0x223ce8){const _0x2d39b2=_0x453d1c;_0x2ca687['on'](_0x2d39b2(0x19d),()=>{const _0xd93ef2=_0x2d39b2;_0x4bb214[_0xd93ef2(0x192)][_0xd93ef2(0x170)][_0xd93ef2(0x19c)](),_0x4bb214[_0xd93ef2(0x1a7)][_0xd93ef2(0x19d)](_0xd93ef2(0x1be),_0x223ce8);});}[_0x453d1c(0x1ae)](_0x40f5a4,_0x1460d6,_0x3f6649){const _0x53c897=_0x453d1c,_0x18a3f8=new _0x3fb246(this[_0x53c897(0x1a3)]),_0x3c6e36=new _0x123b6a(),_0x3a33a2=new _0x5b7f62(this[_0x53c897(0x1a3)],_0x3c6e36),_0x8951f7=_0x3a33a2[_0x53c897(0x1c7)],_0x14e43c=this[_0x53c897(0x1e6)](_0x3f6649),_0x4fcbd0=this[_0x53c897(0x163)](_0x40f5a4,_0x1460d6[_0x53c897(0x1df)],_0x3f6649);_0x3a33a2[_0x53c897(0x168)]({'label':_0x1460d6[_0x53c897(0x19a)],'withText':!0x0,'role':Gs,'icon':_0x1460d6[_0x53c897(0x1a9)]??_0x3b3cb4,'isEnabled':_0x1460d6[_0x53c897(0x1df)][_0x53c897(0x175)](_0x36fcd1=>_0x36fcd1[_0x53c897(0x1ad)])}),_0x3a33a2[_0x53c897(0x179)]({'on':{'mouseenter':_0x8951f7['to'](()=>{const _0x16c4f0=_0x53c897;this[_0x16c4f0(0x1af)]()||_0x3a33a2[_0x16c4f0(0x19c)]();})}});const _0x3e1e69=new _0x26a4e9(this[_0x53c897(0x1a3)]);return _0x3e1e69[_0x53c897(0x179)]({'attributes':{'class':['ck',_0x53c897(0x1bd),_0x53c897(0x181),_0x53c897(0x198)]},'on':{'keydown':_0x8951f7['to'](_0x2d6800=>{const _0x6a3d8e=_0x53c897;this[_0x6a3d8e(0x1ac)](_0x2d6800,_0x14e43c,_0x3a33a2,_0x3e1e69);})}}),_0x3a33a2[_0x53c897(0x1bf)](_0x53c897(0x1a1))['to'](_0x3e1e69,_0x53c897(0x1cb)),this[_0x53c897(0x185)][_0x53c897(0x18d)](_0x3e1e69),_0x3e1e69[_0x53c897(0x1dd)][_0x53c897(0x18d)](_0x4fcbd0),this[_0x53c897(0x1bc)](_0x3a33a2,_0x3e1e69),_0x18a3f8[_0x53c897(0x1d1)][_0x53c897(0x18d)](_0x3a33a2),{'listItem':_0x18a3f8,'highlightView':_0x3c6e36};}[_0x453d1c(0x163)](_0xf6fb44,_0x47deb8,_0x52d05a){const _0x31b529=_0x453d1c,_0x334b3d=new _0x4e6a78(this[_0x31b529(0x1a3)]);return _0x334b3d[_0x31b529(0x179)]({'attributes':{'class':['ck',_0x31b529(0x1bd),_0x31b529(0x187),_0x31b529(0x182)]}}),_0x47deb8[_0x31b529(0x17a)](_0x2cb029=>{const _0xdc3806=_0x31b529,_0x2db5c1=new _0x3fb246(this[_0xdc3806(0x1a3)]),_0x25e766=_0x523208({'editor':_0xf6fb44,'action':_0x2cb029,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0xdc3806(0x1af)]()})();_0x2db5c1[_0xdc3806(0x1d1)][_0xdc3806(0x18d)](_0x25e766),_0x52d05a[_0xdc3806(0x195)][_0xdc3806(0x18d)](_0x25e766),_0x334b3d[_0xdc3806(0x1a6)][_0xdc3806(0x18d)](_0x2db5c1);}),_0x334b3d;}[_0x453d1c(0x1bc)](_0x498702,_0x297134){const _0x4d322c=_0x453d1c,_0x530656=_0x498702[_0x4d322c(0x1c7)],_0x24f2e2=this[_0x4d322c(0x189)](_0x498702);_0x498702[_0x4d322c(0x179)]({'attributes':{'class':[_0x4d322c(0x1d9)]},'on':{'mouseenter':_0x530656['to'](()=>{const _0x14b89f=_0x4d322c;this[_0x14b89f(0x1a0)](_0x297134,_0x498702);}),'mouseleave':_0x530656['to'](_0x57cca4=>{const _0x3e9d3c=_0x4d322c,_0x4e50e7=_0x57cca4[_0x3e9d3c(0x199)];this[_0x3e9d3c(0x173)](_0x4e50e7,_0x297134)||this[_0x3e9d3c(0x17d)](_0x297134);}),'keydown':_0x530656['to'](_0x5289c2=>{const _0x155ae2=_0x4d322c;_0x5289c2[_0x155ae2(0x1d5)]==_0x24f2e2&&(this[_0x155ae2(0x1a0)](_0x297134,_0x498702),_0x297134[_0x155ae2(0x1dd)][_0x155ae2(0x1d4)](0x0)[_0x155ae2(0x19c)]());})}}),_0x297134['on'](_0x4d322c(0x16e),()=>{const _0x22c82a=_0x4d322c;_0x297134[_0x22c82a(0x1ce)]?.[_0x22c82a(0x17b)](_0x22c82a(0x1d7),_0x5906c5=>{const _0x594e32=_0x22c82a,_0x5ddc9e=_0x5906c5[_0x594e32(0x199)];_0x498702[_0x594e32(0x1ce)]?.[_0x594e32(0x1ab)](_0x5ddc9e)||this[_0x594e32(0x173)](_0x5ddc9e,_0x297134)||this[_0x594e32(0x17d)](_0x297134);});});}[_0x453d1c(0x1a0)](_0x609784,_0x47ff5d){const _0x432a6d=_0x453d1c;this[_0x432a6d(0x186)][_0x432a6d(0x17a)](_0x2c8632=>{const _0x550e08=_0x432a6d;_0x2c8632!==_0x609784&&_0x2c8632[_0x550e08(0x1cb)]&&_0x2c8632[_0x550e08(0x1c2)]();}),_0x609784[_0x432a6d(0x1c3)](),_0x609784[_0x432a6d(0x1a5)]({'positions':[_0x1ac682[_0x432a6d(0x1db)]],'target':_0x47ff5d[_0x432a6d(0x1ce)],'fitInViewport':!0x0}),this[_0x432a6d(0x186)][_0x432a6d(0x18d)](_0x609784);}[_0x453d1c(0x17d)](_0x4b8969){const _0x585cd6=_0x453d1c;_0x4b8969[_0x585cd6(0x1c2)](),this[_0x585cd6(0x186)][_0x585cd6(0x1e1)](_0x4b8969);}[_0x453d1c(0x1c6)](){const _0x18992f=_0x453d1c;this[_0x18992f(0x186)][_0x18992f(0x17a)](_0x4ac141=>_0x4ac141[_0x18992f(0x1c2)]()),this[_0x18992f(0x186)][_0x18992f(0x1b1)]();}[_0x453d1c(0x173)](_0x459c10,_0x49bc71){const _0x501d5a=_0x453d1c;if(!_0x459c10)return!0x1;if(_0x49bc71[_0x501d5a(0x1ce)]?.[_0x501d5a(0x1ab)](_0x459c10))return!0x0;const _0x697063=_0x459c10;return _0x697063[_0x501d5a(0x1a4)]&&(null!==_0x697063[_0x501d5a(0x1a4)](_0x501d5a(0x1ca))||null!==_0x697063[_0x501d5a(0x1a4)](_0x501d5a(0x1ba))||null!==_0x697063[_0x501d5a(0x1a4)](_0x501d5a(0x180)));}[_0x453d1c(0x160)](){const _0x4c0b60=_0x453d1c;this[_0x4c0b60(0x1a2)]&&this[_0x4c0b60(0x1a2)][_0x4c0b60(0x176)]();}[_0x453d1c(0x1b8)](){const _0x2adea9=_0x453d1c;this[_0x2adea9(0x1c6)](),this[_0x2adea9(0x185)][_0x2adea9(0x1dc)](),super[_0x2adea9(0x1b8)]();}[_0x453d1c(0x19c)](){const _0x255b4a=_0x453d1c;this[_0x255b4a(0x1a2)]?this[_0x255b4a(0x1a2)][_0x255b4a(0x19c)]():this[_0x255b4a(0x1b3)][_0x255b4a(0x19c)]();}[_0x453d1c(0x1e6)](_0xd92e9e){const _0xb0d4ef=_0x453d1c;return _0xb0d4ef(0x183)===_0xd92e9e[_0xb0d4ef(0x1a3)][_0xb0d4ef(0x17c)]?_0xb0d4ef(0x18b):_0xb0d4ef(0x191);}[_0x453d1c(0x189)](_0x456b7b){const _0x172396=_0x453d1c;return _0x172396(0x183)===_0x456b7b[_0x172396(0x1a3)][_0x172396(0x17c)]?_0x172396(0x191):_0x172396(0x18b);}[_0x453d1c(0x1ac)](_0x703dca,_0x426b21,_0x4f74c9,_0x89d99d){const _0x1aefe3=_0x453d1c;_0x703dca[_0x1aefe3(0x1d5)]==_0x426b21&&(_0x4f74c9[_0x1aefe3(0x19c)](),this[_0x1aefe3(0x17d)](_0x89d99d));}[_0x453d1c(0x1b4)](_0x3e7fa2){const _0x234059=_0x453d1c;_0x3e7fa2[_0x234059(0x193)](_0x234059(0x19d));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xf261(_0x3816c4,_0x3a1841){const _0x53ac4b=_0x53ac();return _0xf261=function(_0xf261c1,_0x2b12ad){_0xf261c1=_0xf261c1-0x153;let _0x13c5d0=_0x53ac4b[_0xf261c1];return _0x13c5d0;},_0xf261(_0x3816c4,_0x3a1841);}(function(_0x1d114b,_0x4675d9){const _0x2261c9=_0xf261,_0x627fcc=_0x1d114b();while(!![]){try{const _0x1b5970=-parseInt(_0x2261c9(0x169))/0x1+parseInt(_0x2261c9(0x15a))/0x2+parseInt(_0x2261c9(0x15f))/0x3*(parseInt(_0x2261c9(0x153))/0x4)+-parseInt(_0x2261c9(0x15d))/0x5*(parseInt(_0x2261c9(0x164))/0x6)+parseInt(_0x2261c9(0x16f))/0x7+parseInt(_0x2261c9(0x16d))/0x8*(parseInt(_0x2261c9(0x163))/0x9)+-parseInt(_0x2261c9(0x160))/0xa;if(_0x1b5970===_0x4675d9)break;else _0x627fcc['push'](_0x627fcc['shift']());}catch(_0x662a33){_0x627fcc['push'](_0x627fcc['shift']());}}}(_0x53ac,0x8c0f6));function _0x53ac(){const _0x2eae8b=['add','getRanges','259334YKVyZg','icon','has','259345zZnCgH','children','2636331lHPnXn','3109500lOkCBd','plugins','hideFakeVisualSelection','400077CJhBaC','102WzYZBJ','resetSearch','selection','label','showFakeVisualSelection','557712rctpjz','change:isOpen','get','from','72xHAeFZ','panelView','6409200fOWbvx','set','length','ck-ai-quick-actions-dropdown','model','AIEditing','4exnKDU','ai-quick-actions-dropdown-selection','buttonView','document','locale'];_0x53ac=function(){return _0x2eae8b;};return _0x53ac();}import{createDropdown as _0x1f7eff}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2f197e}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x5dc09a}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x4e2d11}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x30e724){const {editor:_0x5ea642,content:_0x1621ae,buttonDefinition:_0x4b46d1,bodyCollection:_0x211574,hasSearch:_0x1d8c4a=!0x1}=_0x30e724;return()=>{const _0x162443=_0xf261,_0x262bab=_0x5ea642[_0x162443(0x157)],_0x316333=_0x1f7eff(_0x262bab);_0x316333[_0x162443(0x155)][_0x162443(0x170)]({'icon':_0x4b46d1[_0x162443(0x15b)]??_0x2f197e,'label':_0x4b46d1[_0x162443(0x167)],'tooltip':!0x0}),_0x316333[_0x162443(0x170)]({'class':_0x162443(0x172)});const _0x31b951=new _0x5dc09a(_0x5ea642,_0x1621ae,_0x316333,_0x211574,_0x1d8c4a);if(_0x316333[_0x162443(0x16e)][_0x162443(0x15e)][_0x162443(0x158)](_0x31b951),_0x1d8c4a){const _0x52d41e=_0x162443(0x154);_0x316333['on'](_0x162443(0x16a),(_0x5e5cb1,_0x128ee1,_0x4a57dd)=>{const _0x46bca8=_0x162443;if(_0x4a57dd){if(_0x5ea642[_0x46bca8(0x161)][_0x46bca8(0x15c)](_0x46bca8(0x174))){const _0x9da5c9=_0x5ea642[_0x46bca8(0x161)][_0x46bca8(0x16b)](_0x4e2d11),_0x1122a9=_0x5ea642[_0x46bca8(0x173)][_0x46bca8(0x156)][_0x46bca8(0x166)],_0x1b1543=Array[_0x46bca8(0x16c)](_0x1122a9[_0x46bca8(0x159)]());_0x1b1543[_0x46bca8(0x171)]>0x0&&_0x9da5c9[_0x46bca8(0x168)](_0x1b1543,_0x52d41e,!0x1,!0x0);}}else _0x5ea642[_0x46bca8(0x161)][_0x46bca8(0x15c)](_0x46bca8(0x174))&&_0x5ea642[_0x46bca8(0x161)][_0x46bca8(0x16b)](_0x4e2d11)[_0x46bca8(0x162)](_0x52d41e),_0x31b951[_0x46bca8(0x165)]();});}return _0x316333;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ada90=_0xa0f1;(function(_0x243547,_0x460519){const _0x4c6118=_0xa0f1,_0x1564ca=_0x243547();while(!![]){try{const _0x5c10c0=-parseInt(_0x4c6118(0xe6))/0x1*(-parseInt(_0x4c6118(0xef))/0x2)+-parseInt(_0x4c6118(0xfe))/0x3*(parseInt(_0x4c6118(0xfb))/0x4)+parseInt(_0x4c6118(0xf6))/0x5*(-parseInt(_0x4c6118(0xf5))/0x6)+parseInt(_0x4c6118(0xe8))/0x7*(parseInt(_0x4c6118(0xe5))/0x8)+-parseInt(_0x4c6118(0xec))/0x9+-parseInt(_0x4c6118(0x102))/0xa+parseInt(_0x4c6118(0xf9))/0xb*(parseInt(_0x4c6118(0x101))/0xc);if(_0x5c10c0===_0x460519)break;else _0x1564ca['push'](_0x1564ca['shift']());}catch(_0x4ef23b){_0x1564ca['push'](_0x1564ca['shift']());}}}(_0x564d,0x78c61));function _0xa0f1(_0x376668,_0x5b90d0){const _0x564d31=_0x564d();return _0xa0f1=function(_0xa0f11,_0x1179fc){_0xa0f11=_0xa0f11-0xe3;let _0x307dba=_0x564d31[_0xa0f11];return _0x307dba;},_0xa0f1(_0x376668,_0x5b90d0);}import{ListView as _0x52ca53}from'ckeditor5/src/ui.js';function _0x564d(){const _0x555868=['_allSearchableItems','length','items','1889766FSJXTz','function','source','4418ijrTVp','_allListItems','sort','forEach','map','label','994614QAhjxM','5WeKPBO','_clearHighlight','includes','1692152aAULWE','groupLabel','3916ClbrDI','highlightText','trim','2985pbiptX','toLowerCase','clear','96CHtwFw','5514610TWSwoD','highlightViews','filter','item','_highlightQuery','7064pCHsrm','149ZxnkFW','addMany','6629Atvecm'];_0x564d=function(){return _0x555868;};return _0x564d();}import{escapeRegExp as _0x9e2f82}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x52ca53{[_0x5ada90(0xf0)];[_0x5ada90(0xe9)];constructor(_0x172c50,_0x1236c7,_0x2eab67){const _0x425d49=_0x5ada90;super(_0x172c50),this[_0x425d49(0xf0)]=_0x1236c7,this[_0x425d49(0xe9)]=_0x2eab67;}[_0x5ada90(0x104)](_0x5d90a8){const _0x328306=_0x5ada90;if(!_0x5d90a8)return this[_0x328306(0xeb)][_0x328306(0x100)](),this[_0x328306(0xeb)][_0x328306(0xe7)](this[_0x328306(0xf0)]),this[_0x328306(0xf7)](),{'resultsCount':this[_0x328306(0xf0)][_0x328306(0xea)],'totalItemsCount':this[_0x328306(0xf0)][_0x328306(0xea)]};const _0x23147d=_0x5d90a8[_0x328306(0xee)][_0x328306(0xff)]()[_0x328306(0xfd)](),_0xe23369=this[_0x328306(0xe9)][_0x328306(0x104)](_0x143753=>(_0x143753[_0x328306(0xfa)]?_0x143753[_0x328306(0xf4)]+'\x20('+_0x143753[_0x328306(0xfa)]+')':_0x143753[_0x328306(0xf4)])[_0x328306(0xff)]()[_0x328306(0xf8)](_0x23147d));return this[_0x328306(0xeb)][_0x328306(0x100)](),this[_0x328306(0xeb)][_0x328306(0xe7)](_0xe23369[_0x328306(0xf1)]((_0x296935,_0x5296e0)=>{const _0x27c61d=_0x328306,_0x58e4c0=_0x296935[_0x27c61d(0xfa)],_0x5d0ab6=_0x5296e0[_0x27c61d(0xfa)];return _0x58e4c0||_0x5d0ab6?_0x58e4c0?0x1:-0x1:0x0;})[_0x328306(0xf3)](_0x2d09d8=>_0x2d09d8[_0x328306(0xe3)])),this[_0x328306(0xe4)](_0x23147d,_0xe23369),{'resultsCount':_0xe23369[_0x328306(0xea)],'totalItemsCount':this[_0x328306(0xe9)][_0x328306(0xea)]};}[_0x5ada90(0xe4)](_0x4f43e4,_0x1c593f){const _0x544dc3=_0x5ada90;if(!_0x4f43e4)return;const _0x393110=new RegExp(_0x9e2f82(_0x4f43e4),'gi');_0x1c593f[_0x544dc3(0xf2)](_0x25744c=>{const _0x2f15b8=_0x544dc3;_0x25744c[_0x2f15b8(0x103)]&&_0x25744c[_0x2f15b8(0x103)][_0x2f15b8(0xf2)](_0x489fff=>{const _0x290051=_0x2f15b8;_0x290051(0xed)==typeof _0x489fff[_0x290051(0xfc)]&&_0x489fff[_0x290051(0xfc)](_0x393110);});});}[_0x5ada90(0xf7)](){const _0x494609=_0x5ada90;this[_0x494609(0xe9)][_0x494609(0xf2)](_0x57c3e9=>{const _0x23a05c=_0x494609;_0x57c3e9[_0x23a05c(0x103)]&&_0x57c3e9[_0x23a05c(0x103)][_0x23a05c(0xf2)](_0x4bd1a9=>{const _0x35fa1b=_0x23a05c;_0x35fa1b(0xed)==typeof _0x4bd1a9[_0x35fa1b(0xfc)]&&_0x4bd1a9[_0x35fa1b(0xfc)](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 _0x5db812=_0xef77;(function(_0x6f08a7,_0x4da110){const _0x56ca17=_0xef77,_0x1bb5c3=_0x6f08a7();while(!![]){try{const _0x2439f3=parseInt(_0x56ca17(0x191))/0x1*(-parseInt(_0x56ca17(0x14d))/0x2)+-parseInt(_0x56ca17(0x1b4))/0x3*(parseInt(_0x56ca17(0x16a))/0x4)+-parseInt(_0x56ca17(0x180))/0x5*(-parseInt(_0x56ca17(0x17c))/0x6)+parseInt(_0x56ca17(0x190))/0x7+parseInt(_0x56ca17(0x160))/0x8*(-parseInt(_0x56ca17(0x1a5))/0x9)+-parseInt(_0x56ca17(0x151))/0xa*(-parseInt(_0x56ca17(0x157))/0xb)+parseInt(_0x56ca17(0x17d))/0xc;if(_0x2439f3===_0x4da110)break;else _0x1bb5c3['push'](_0x1bb5c3['shift']());}catch(_0x198116){_0x1bb5c3['push'](_0x1bb5c3['shift']());}}}(_0x3957,0x5c91a));import{ViewCollection as _0x2bf16e,FocusCycler as _0x49ee2b,ButtonView as _0x6415a8,View as _0x402fdc}from'ckeditor5/src/ui.js';import{FocusTracker as _0x280880,KeystrokeHandler as _0x84868b}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x5e7041}from'./aiactionsballoontoolbarview.js';function _0xef77(_0x25e16d,_0x13a47d){const _0x395778=_0x3957();return _0xef77=function(_0xef779f,_0xf33844){_0xef779f=_0xef779f-0x145;let _0x3f733c=_0x395778[_0xef779f];return _0x3f733c;},_0xef77(_0x25e16d,_0x13a47d);}import{AIActionsBalloonDisclaimerView as _0x8956df}from'./aiactionsballoondisclaimerview.js';function _0x3957(){const _0x23deb0=['stop','showError','setInteractionCount','destroy','stopAutoScroll','update','includes','_addContentWrapper','ck-ai-actions-balloon-content','toggleIsLoading','2tzKTfn','AI_ACTIONS_PREVIOUS_INTERACTION','ck-ai-interaction-counter','_createMiniToolbar','368530EgyZDK','_navigationPreviousButton','_focusTracker','_streamableContentView','hideError','_navigationNextButton','11GkdeFc','_focusables','element','clearErrorState','ck-ai-actions-balloon-main','_toggleToolbarButtonsVisibility','hideLoader','_miniToolbarView','toggleShowChangesEnabled','872gDxYsx','_scrollManager','isEnabled','_contentWrapper','applySuggestion','_createStreamableContentView','div','startAutoScroll','_config','focusFirst','2892688wIFYUd','createCollection','insertSuggestion','isShowChangesOn','items','suggestButton','bindTemplate','render','tryAgain','ck-ai-navigation-button\x20ck-ai-next-button','isTrackChangesOn','_navigationCounter','listenTo','bind','setButtonsVisibility','_disclaimerView','_isLoading','disableMiniToolbarButtons','84DBHuXF','9782832VgnSuC','_createLoaderView','_addToolbar','214930aNoCdM','add','toggleShowChanges','_toolbarView','set','focusLast','clearContent','clear','availableActions','_dialogContent','ck-ai-navigation-button\x20ck-ai-previous-button','showPrevious','shift\x20+\x20tab','_getScrollableElement','_errorView','_initializeScrollManager','3302775xqyiQi','115865oecRor','AI_ACTIONS_NEXT_INTERACTION','has','remove','ck-ai-actions-balloon-content-wrapper','isVisible','_addDisclaimerView','removeMiniToolbarItem','tab','showNext','interactionCount','isBusy','toggleSuggestionDisplayMode','updateMiniToolbarButtons','start','setIsLoading','1/1','locale','miniToolbarConfig','delegate','58419FXHYWM','_navigationTryAgainButton','setTemplate','_hasError','resetShowChangesButton','span','fire','execute','ck-ai-custom-action-button','updateContent','focusCycler','setErrorState','_keystrokes','addMany','change:isTrackChangesOn','3oudQcb','_loaderView','_setupMiniToolbarButtons','AI_ACTIONS_TRY_AGAIN','focus','applyButton','addMiniToolbarItem','showBlockingError','showLoader'];_0x3957=function(){return _0x23deb0;};return _0x3957();}import{ScrollManager as _0xc02f83}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x24691f}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2c1a9b}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x32944b}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x5d545f}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x498b2d,IconPreviousArrow as _0xba389f,IconRefresh as _0x26a712}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x19355d}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x57bf2a}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x5db812(0x164),_0x5db812(0x16c)];export class AIActionsBalloonView extends _0x57bf2a{[_0x5db812(0x1af)];[_0x5db812(0x168)];[_0x5db812(0x163)];[_0x5db812(0x154)];[_0x5db812(0x183)];[_0x5db812(0x15e)];[_0x5db812(0x1b5)];[_0x5db812(0x179)];[_0x5db812(0x153)];[_0x5db812(0x1b1)];[_0x5db812(0x189)];[_0x5db812(0x158)];[_0x5db812(0x161)];[_0x5db812(0x152)];[_0x5db812(0x156)];[_0x5db812(0x1a6)];[_0x5db812(0x175)];constructor(_0x227dce,_0x278da6){const _0x2d50a4=_0x5db812;super(_0x227dce),this[_0x2d50a4(0x184)](_0x2d50a4(0x19c),!0x1),this[_0x2d50a4(0x184)](_0x2d50a4(0x174),!0x1),this[_0x2d50a4(0x184)](_0x2d50a4(0x17a),!0x1),this[_0x2d50a4(0x184)](_0x2d50a4(0x1a8),!0x1),this[_0x2d50a4(0x168)]=_0x278da6,this[_0x2d50a4(0x153)]=new _0x280880(),this[_0x2d50a4(0x1b1)]=new _0x84868b(),this[_0x2d50a4(0x158)]=this[_0x2d50a4(0x16b)](),this[_0x2d50a4(0x1af)]=new _0x49ee2b({'focusables':this[_0x2d50a4(0x158)],'focusTracker':this[_0x2d50a4(0x153)],'keystrokeHandler':this[_0x2d50a4(0x1b1)],'actions':{'focusPrevious':_0x2d50a4(0x18c),'focusNext':_0x2d50a4(0x199)}}),this[_0x2d50a4(0x189)]=new _0x2bf16e(),this[_0x2d50a4(0x14a)](_0x278da6),this[_0x2d50a4(0x197)](),this[_0x2d50a4(0x17f)](_0x278da6),this[_0x2d50a4(0x158)][_0x2d50a4(0x187)](),this[_0x2d50a4(0x158)][_0x2d50a4(0x1b2)]([this[_0x2d50a4(0x183)]]),this[_0x2d50a4(0x1a7)]({'tag':_0x2d50a4(0x166),'attributes':{'class':[_0x2d50a4(0x15b)]},'children':this[_0x2d50a4(0x189)]}),this['on'](_0x2d50a4(0x1b3),()=>{const _0x115e9e=_0x2d50a4;this[_0x115e9e(0x15c)](_0x278da6);});}[_0x5db812(0x171)](){const _0x23a395=_0x5db812;super[_0x23a395(0x171)]();for(const _0x1b8e62 of this[_0x23a395(0x158)])this[_0x23a395(0x153)][_0x23a395(0x181)](_0x1b8e62[_0x23a395(0x159)]);this[_0x23a395(0x1b1)][_0x23a395(0x176)](this[_0x23a395(0x159)]),this[_0x23a395(0x18f)]();}[_0x5db812(0x146)](){const _0x5d04d7=_0x5db812;super[_0x5d04d7(0x146)](),this[_0x5d04d7(0x161)]&&this[_0x5d04d7(0x161)][_0x5d04d7(0x146)]();}[_0x5db812(0x1b8)](_0x4412f4){const _0x1c31b3=_0x5db812;-0x1===_0x4412f4?this[_0x1c31b3(0x1af)][_0x1c31b3(0x185)]():this[_0x1c31b3(0x1af)][_0x1c31b3(0x169)]();}[_0x5db812(0x1a0)](_0xd2e5d2){const _0x26505a=_0x5db812;this[_0x26505a(0x17a)]=_0xd2e5d2;}[_0x5db812(0x1b0)](){const _0x2f3b1c=_0x5db812;this[_0x2f3b1c(0x1a8)]=!0x0,this[_0x2f3b1c(0x15e)][_0x2f3b1c(0x15f)](!0x1);}[_0x5db812(0x15a)](){const _0x4982d0=_0x5db812;this[_0x4982d0(0x1a8)]=!0x1,this[_0x4982d0(0x15e)][_0x4982d0(0x15f)](!0x0);}[_0x5db812(0x1be)](_0x6dfb5e){const _0x1e11e0=_0x5db812;super[_0x1e11e0(0x1be)](_0x6dfb5e),this[_0x1e11e0(0x189)][_0x1e11e0(0x193)](this[_0x1e11e0(0x18e)])||this[_0x1e11e0(0x189)][_0x1e11e0(0x181)](this[_0x1e11e0(0x18e)],0x0);}[_0x5db812(0x155)](){const _0x3c0dc0=_0x5db812;super[_0x3c0dc0(0x155)](),this[_0x3c0dc0(0x15a)]();}[_0x5db812(0x1bb)](_0x37e442){const _0x39223e=_0x5db812;super[_0x39223e(0x1bb)](_0x37e442),this[_0x39223e(0x1b0)]();}[_0x5db812(0x1ba)](_0x6e2119){const _0x151908=_0x5db812;this[_0x151908(0x15e)][_0x151908(0x16e)][_0x151908(0x193)](_0x6e2119)||this[_0x151908(0x15e)][_0x151908(0x16e)][_0x151908(0x181)](_0x6e2119);}[_0x5db812(0x198)](_0x4d274f){const _0x17e396=_0x5db812;this[_0x17e396(0x15e)][_0x17e396(0x16e)][_0x17e396(0x193)](_0x4d274f)&&this[_0x17e396(0x15e)][_0x17e396(0x16e)][_0x17e396(0x194)](_0x4d274f);}[_0x5db812(0x1bc)](){const _0x54e6a8=_0x5db812;this[_0x54e6a8(0x1b5)]&&(this[_0x54e6a8(0x17a)]=!0x0);}[_0x5db812(0x15d)](){const _0x21559a=_0x5db812;this[_0x21559a(0x1b5)]&&(this[_0x21559a(0x17a)]=!0x1);}[_0x5db812(0x15c)]({showApplyButton:_0x49da4d,showSuggestButton:_0x29fec8}){const _0x3ac520=_0x5db812;_0x49da4d=_0x49da4d&&!this[_0x3ac520(0x174)]&&this[_0x3ac520(0x168)][_0x3ac520(0x188)][_0x3ac520(0x149)](_0x3ac520(0x164)),_0x29fec8=_0x29fec8&&this[_0x3ac520(0x168)][_0x3ac520(0x188)][_0x3ac520(0x149)](_0x3ac520(0x16c)),this[_0x3ac520(0x183)][_0x3ac520(0x178)]({'showApplyButton':_0x49da4d,'showSuggestButton':_0x29fec8});}async[_0x5db812(0x1ae)](_0x48c993){const _0x2dc1ee=_0x5db812;await this[_0x2dc1ee(0x154)][_0x2dc1ee(0x148)](_0x48c993);}[_0x5db812(0x186)](){const _0x479246=_0x5db812;this[_0x479246(0x154)][_0x479246(0x187)]();}[_0x5db812(0x14a)](_0x31cf0e){const _0x2c50cb=_0x5db812;this[_0x2c50cb(0x163)]=new _0x402fdc(this[_0x2c50cb(0x1a2)]),this[_0x2c50cb(0x163)][_0x2c50cb(0x1a7)]({'tag':_0x2c50cb(0x166),'attributes':{'class':[_0x2c50cb(0x14b)]},'children':[{'tag':_0x2c50cb(0x166),'attributes':{'class':[_0x2c50cb(0x195)]},'children':[this[_0x2c50cb(0x17e)](),this[_0x2c50cb(0x165)]()]},this[_0x2c50cb(0x150)](_0x31cf0e[_0x2c50cb(0x1a3)])]}),this[_0x2c50cb(0x189)][_0x2c50cb(0x181)](this[_0x2c50cb(0x163)]);}[_0x5db812(0x197)](){const _0x504bbf=_0x5db812;this[_0x504bbf(0x179)]=new _0x8956df(this[_0x504bbf(0x1a2)]),this[_0x504bbf(0x189)][_0x504bbf(0x181)](this[_0x504bbf(0x179)]);}[_0x5db812(0x17f)]({showApplyButton:_0x380fc1,showSuggestButton:_0x14474b}){const _0x548a89=_0x5db812;this[_0x548a89(0x183)]=new _0x5e7041(this[_0x548a89(0x1a2)],_0x380fc1,_0x14474b),this[_0x548a89(0x183)][_0x548a89(0x1b9)]?.['on'](_0x548a89(0x1ac),()=>{const _0x522a17=_0x548a89;this[_0x522a17(0x1ab)](_0x522a17(0x164));}),this[_0x548a89(0x183)][_0x548a89(0x16f)]?.['on'](_0x548a89(0x1ac),()=>{const _0x47513e=_0x548a89;this[_0x47513e(0x1ab)](_0x47513e(0x16c));}),this[_0x548a89(0x183)][_0x548a89(0x177)](_0x548a89(0x162))['to'](this,_0x548a89(0x19c),this,_0x548a89(0x17a),this,_0x548a89(0x1a8),(_0x1b63b0,_0x3d4ac3,_0x1a86d5)=>!(_0x1b63b0||_0x3d4ac3||_0x1a86d5)),this[_0x548a89(0x15c)]({'showApplyButton':_0x380fc1,'showSuggestButton':_0x14474b}),this[_0x548a89(0x189)][_0x548a89(0x181)](this[_0x548a89(0x183)]);}[_0x5db812(0x150)](_0x35662a){const _0x13e448=_0x5db812;return this[_0x13e448(0x15e)]=new _0x24691f(this[_0x13e448(0x1a2)],_0x35662a),this[_0x13e448(0x15e)][_0x13e448(0x1a4)](..._0x2c1a9b)['to'](this),this[_0x13e448(0x15e)]['on'](_0x13e448(0x182),()=>{const _0x24a0d1=_0x13e448;this[_0x24a0d1(0x15e)][_0x24a0d1(0x16d)]=!this[_0x24a0d1(0x15e)][_0x24a0d1(0x16d)],this[_0x24a0d1(0x1ab)](_0x24a0d1(0x19d),{'showDiff':this[_0x24a0d1(0x15e)][_0x24a0d1(0x16d)]});}),this[_0x13e448(0x15e)][_0x13e448(0x177)](_0x13e448(0x162))['to'](this,_0x13e448(0x19c),this,_0x13e448(0x17a),(_0x5144c0,_0x23b86f)=>!(_0x5144c0||_0x23b86f)),this[_0x13e448(0x15e)];}[_0x5db812(0x17e)](){const _0x2a712c=_0x5db812;return this[_0x2a712c(0x1b5)]=new _0x32944b(this[_0x2a712c(0x1a2)]),this[_0x2a712c(0x1b5)][_0x2a712c(0x177)](_0x2a712c(0x196))['to'](this,_0x2a712c(0x17a)),this[_0x2a712c(0x1b5)];}[_0x5db812(0x165)](){const _0x41d7df=_0x5db812;return this[_0x41d7df(0x154)]=new _0x5d545f(this[_0x41d7df(0x1a2)]),this[_0x41d7df(0x154)];}[_0x5db812(0x1b6)](){const _0x4f8055=_0x5db812,_0xd022f8=new _0x6415a8(this[_0x4f8055(0x1a2)]),_0x54aae3=new _0x6415a8(this[_0x4f8055(0x1a2)]),_0x47074a=new Ln(this[_0x4f8055(0x1a2)]),_0x15d20a=new _0x6415a8(this[_0x4f8055(0x1a2)]);_0xd022f8[_0x4f8055(0x184)]({'icon':_0x26a712,'label':_0x19355d(this[_0x4f8055(0x1a2)],_0x4f8055(0x1b7)),'tooltip':!0x0,'class':_0x4f8055(0x1ad)}),_0x54aae3[_0x4f8055(0x184)]({'icon':_0xba389f,'tooltip':_0x19355d(this[_0x4f8055(0x1a2)],_0x4f8055(0x14e)),'class':_0x4f8055(0x18a)}),_0x15d20a[_0x4f8055(0x184)]({'icon':_0x498b2d,'tooltip':_0x19355d(this[_0x4f8055(0x1a2)],_0x4f8055(0x192)),'class':_0x4f8055(0x173)}),_0xd022f8[_0x4f8055(0x177)](_0x4f8055(0x162))['to'](this,_0x4f8055(0x19c),_0x50654c=>!_0x50654c),_0xd022f8['on'](_0x4f8055(0x1ac),()=>{const _0x118679=_0x4f8055;this[_0x118679(0x1ab)](_0x118679(0x172));}),_0x54aae3[_0x4f8055(0x177)](_0x4f8055(0x162))['to'](this,_0x4f8055(0x19c),_0x37d20f=>!_0x37d20f),_0x54aae3['on'](_0x4f8055(0x1ac),()=>{const _0xb367c1=_0x4f8055;this[_0xb367c1(0x1ab)](_0xb367c1(0x18b));}),_0x15d20a[_0x4f8055(0x177)](_0x4f8055(0x162))['to'](this,_0x4f8055(0x19c),_0x4a9e71=>!_0x4a9e71),_0x15d20a['on'](_0x4f8055(0x1ac),()=>{const _0x276d54=_0x4f8055;this[_0x276d54(0x1ab)](_0x276d54(0x19a));}),this[_0x4f8055(0x152)]=_0x54aae3,this[_0x4f8055(0x175)]=_0x47074a,this[_0x4f8055(0x156)]=_0x15d20a,this[_0x4f8055(0x1a6)]=_0xd022f8;}[_0x5db812(0x19e)](_0xbd087e,_0x5b03bf){const _0x3746de=_0x5db812;this[_0x3746de(0x152)]||this[_0x3746de(0x1b6)]();const _0x3a8308=_0xbd087e>0x1;if(this[_0x3746de(0x1ba)](this[_0x3746de(0x1a6)]),_0x3a8308){this[_0x3746de(0x1ba)](this[_0x3746de(0x152)]),this[_0x3746de(0x1ba)](this[_0x3746de(0x175)]),this[_0x3746de(0x1ba)](this[_0x3746de(0x156)]);const _0x5ea84d=_0xbd087e-_0x5b03bf;this[_0x3746de(0x175)][_0x3746de(0x145)](_0x5ea84d+'/'+_0xbd087e),this[_0x3746de(0x152)][_0x3746de(0x162)]=_0x5b03bf<_0xbd087e-0x1,this[_0x3746de(0x156)][_0x3746de(0x162)]=_0x5b03bf>0x0;}else this[_0x3746de(0x198)](this[_0x3746de(0x152)]),this[_0x3746de(0x198)](this[_0x3746de(0x175)]),this[_0x3746de(0x198)](this[_0x3746de(0x156)]);}[_0x5db812(0x17b)](){const _0x281de1=_0x5db812;this[_0x281de1(0x1a6)][_0x281de1(0x162)]=!0x1,this[_0x281de1(0x152)][_0x281de1(0x162)]=!0x1,this[_0x281de1(0x156)][_0x281de1(0x162)]=!0x1;}[_0x5db812(0x167)](){const _0x4566dd=_0x5db812;this[_0x4566dd(0x18f)](),this[_0x4566dd(0x161)]&&this[_0x4566dd(0x161)][_0x4566dd(0x19f)]();}[_0x5db812(0x147)](){const _0x2c6383=_0x5db812;this[_0x2c6383(0x161)]&&this[_0x2c6383(0x161)][_0x2c6383(0x1bd)]();}[_0x5db812(0x14c)](_0x32e78a){const _0x2079f0=_0x5db812;this[_0x2079f0(0x17a)]=_0x32e78a;}[_0x5db812(0x1a9)](){const _0x4d508c=_0x5db812;this[_0x4d508c(0x15e)][_0x4d508c(0x16d)]=!0x1;}[_0x5db812(0x18f)](){const _0x3fedcc=_0x5db812,_0x55e5ad=this[_0x3fedcc(0x18d)]();_0x55e5ad&&!this[_0x3fedcc(0x161)]&&(this[_0x3fedcc(0x161)]=new _0xc02f83(_0x55e5ad));}[_0x5db812(0x18d)](){const _0x382c7d=_0x5db812;return this[_0x382c7d(0x154)][_0x382c7d(0x159)];}}class Ln extends _0x402fdc{constructor(_0x3e21e5){const _0x5b0e7e=_0x5db812;super(_0x3e21e5);const _0x26766d=this[_0x5b0e7e(0x170)];this[_0x5b0e7e(0x184)](_0x5b0e7e(0x19b),_0x5b0e7e(0x1a1)),this[_0x5b0e7e(0x1a7)]({'tag':_0x5b0e7e(0x1aa),'attributes':{'class':[_0x5b0e7e(0x14f)]},'children':[{'text':_0x26766d['to'](_0x5b0e7e(0x19b))}]});}[_0x5db812(0x145)](_0x4cdf11){const _0x27d212=_0x5db812;this[_0x27d212(0x184)](_0x27d212(0x19b),_0x4cdf11);}}
|
|
23
|
+
const _0x5ee445=_0x4de9;(function(_0x1ac377,_0x33cc77){const _0x1b4396=_0x4de9,_0x13bbb1=_0x1ac377();while(!![]){try{const _0x19c3fa=parseInt(_0x1b4396(0x6b))/0x1+-parseInt(_0x1b4396(0xb1))/0x2+-parseInt(_0x1b4396(0xd8))/0x3*(-parseInt(_0x1b4396(0x6c))/0x4)+parseInt(_0x1b4396(0xbc))/0x5+parseInt(_0x1b4396(0xaf))/0x6*(-parseInt(_0x1b4396(0x7b))/0x7)+-parseInt(_0x1b4396(0xb6))/0x8+parseInt(_0x1b4396(0xc2))/0x9;if(_0x19c3fa===_0x33cc77)break;else _0x13bbb1['push'](_0x13bbb1['shift']());}catch(_0x341b20){_0x13bbb1['push'](_0x13bbb1['shift']());}}}(_0x3b0b,0xdbf15));import{ViewCollection as _0x1764e5,FocusCycler as _0x7bb7e4,ButtonView as _0x1c9e4c,View as _0x3a5e41}from'ckeditor5/src/ui.js';import{FocusTracker as _0x631450,KeystrokeHandler as _0x3c8e9d}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x37a825}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x10a431}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x5a5d2d}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x1aa1a1}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5a6a18}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x4970b5}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';function _0x4de9(_0x422798,_0x24c8fa){const _0x3b0bbc=_0x3b0b();return _0x4de9=function(_0x4de927,_0x2f3e34){_0x4de927=_0x4de927-0x65;let _0x33e6a1=_0x3b0bbc[_0x4de927];return _0x33e6a1;},_0x4de9(_0x422798,_0x24c8fa);}import{AISuggestionStreamableContentView as _0x1f28a9}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x3b2817,IconPreviousArrow as _0x35e375,IconRefresh as _0x51f6d5}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4ae0a0}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x4f0782}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x5ee445(0x82),_0x5ee445(0x70)];export class AIActionsBalloonView extends _0x4f0782{[_0x5ee445(0x6a)];[_0x5ee445(0xab)];[_0x5ee445(0xb0)];[_0x5ee445(0xca)];[_0x5ee445(0x65)];[_0x5ee445(0x91)];[_0x5ee445(0x76)];[_0x5ee445(0xb8)];[_0x5ee445(0x77)];[_0x5ee445(0x93)];[_0x5ee445(0xa2)];[_0x5ee445(0xbf)];[_0x5ee445(0xa3)];[_0x5ee445(0xac)];[_0x5ee445(0x96)];[_0x5ee445(0x67)];[_0x5ee445(0xb4)];constructor(_0x3105ac,_0x37a59f){const _0x514c67=_0x5ee445;super(_0x3105ac),this[_0x514c67(0xa5)](_0x514c67(0xb3),!0x1),this[_0x514c67(0xa5)](_0x514c67(0xa1),!0x1),this[_0x514c67(0xa5)](_0x514c67(0x9b),!0x1),this[_0x514c67(0xa5)](_0x514c67(0xc0),!0x1),this[_0x514c67(0xab)]=_0x37a59f,this[_0x514c67(0x77)]=new _0x631450(),this[_0x514c67(0x93)]=new _0x3c8e9d(),this[_0x514c67(0xbf)]=this[_0x514c67(0xc1)](),this[_0x514c67(0x6a)]=new _0x7bb7e4({'focusables':this[_0x514c67(0xbf)],'focusTracker':this[_0x514c67(0x77)],'keystrokeHandler':this[_0x514c67(0x93)],'actions':{'focusPrevious':_0x514c67(0xa7),'focusNext':_0x514c67(0x8f)}}),this[_0x514c67(0xa2)]=new _0x1764e5(),this[_0x514c67(0xd9)](_0x37a59f),this[_0x514c67(0x90)](),this[_0x514c67(0x78)](_0x37a59f),this[_0x514c67(0xbf)][_0x514c67(0xc3)](),this[_0x514c67(0xbf)][_0x514c67(0xbd)]([this[_0x514c67(0x65)]]),this[_0x514c67(0xda)]({'tag':_0x514c67(0x8a),'attributes':{'class':[_0x514c67(0xc9)]},'children':this[_0x514c67(0xa2)]}),this['on'](_0x514c67(0x99),()=>{const _0x3ac55c=_0x514c67;this[_0x3ac55c(0xd4)](_0x37a59f);});}[_0x5ee445(0x86)](){const _0xd6943f=_0x5ee445;super[_0xd6943f(0x86)]();for(const _0x13656c of this[_0xd6943f(0xbf)])this[_0xd6943f(0x77)][_0xd6943f(0xc6)](_0x13656c[_0xd6943f(0xaa)]);this[_0xd6943f(0x93)][_0xd6943f(0x7d)](this[_0xd6943f(0xaa)]),this[_0xd6943f(0xb5)]();}[_0x5ee445(0xa8)](){const _0x2d63c5=_0x5ee445;super[_0x2d63c5(0xa8)](),this[_0x2d63c5(0xa3)]&&this[_0x2d63c5(0xa3)][_0x2d63c5(0xa8)]();}[_0x5ee445(0xcf)](_0xc15e41){const _0x4b3c25=_0x5ee445;-0x1===_0xc15e41?this[_0x4b3c25(0x6a)][_0x4b3c25(0x7f)]():this[_0x4b3c25(0x6a)][_0x4b3c25(0xad)]();}[_0x5ee445(0x73)](_0x4c63a4){const _0x34f1cf=_0x5ee445;this[_0x34f1cf(0x9b)]=_0x4c63a4;}[_0x5ee445(0x9f)](){const _0x1a2922=_0x5ee445;this[_0x1a2922(0xc0)]=!0x0,this[_0x1a2922(0x91)][_0x1a2922(0x81)](!0x1);}[_0x5ee445(0xa4)](){const _0x472407=_0x5ee445;this[_0x472407(0xc0)]=!0x1,this[_0x472407(0x91)][_0x472407(0x81)](!0x0);}[_0x5ee445(0x75)](_0x26a256){const _0x394333=_0x5ee445;super[_0x394333(0x75)](_0x26a256),this[_0x394333(0xa2)][_0x394333(0xa6)](this[_0x394333(0x79)])||this[_0x394333(0xa2)][_0x394333(0xc6)](this[_0x394333(0x79)],0x0);}[_0x5ee445(0x8c)](){const _0xe980b5=_0x5ee445;super[_0xe980b5(0x8c)](),this[_0xe980b5(0xa4)]();}[_0x5ee445(0xd6)](_0x20f371){const _0x8d91cf=_0x5ee445;super[_0x8d91cf(0xd6)](_0x20f371),this[_0x8d91cf(0x9f)]();}[_0x5ee445(0x9c)](_0x2fc726){const _0xbd8804=_0x5ee445;this[_0xbd8804(0x91)][_0xbd8804(0xc5)][_0xbd8804(0xa6)](_0x2fc726)||this[_0xbd8804(0x91)][_0xbd8804(0xc5)][_0xbd8804(0xc6)](_0x2fc726);}[_0x5ee445(0x87)](_0x457e49){const _0x69bf88=_0x5ee445;this[_0x69bf88(0x91)][_0x69bf88(0xc5)][_0x69bf88(0xa6)](_0x457e49)&&this[_0x69bf88(0x91)][_0x69bf88(0xc5)][_0x69bf88(0xa9)](_0x457e49);}[_0x5ee445(0x68)](){const _0x592768=_0x5ee445;this[_0x592768(0x76)]&&(this[_0x592768(0x9b)]=!0x0);}[_0x5ee445(0x6d)](){const _0x32a9d6=_0x5ee445;this[_0x32a9d6(0x76)]&&(this[_0x32a9d6(0x9b)]=!0x1);}[_0x5ee445(0xd4)]({showApplyButton:_0x5392f0,showSuggestButton:_0x526283}){const _0x4827f3=_0x5ee445;_0x5392f0=_0x5392f0&&!this[_0x4827f3(0xa1)]&&this[_0x4827f3(0xab)][_0x4827f3(0x97)][_0x4827f3(0xb9)](_0x4827f3(0x82)),_0x526283=_0x526283&&this[_0x4827f3(0xab)][_0x4827f3(0x97)][_0x4827f3(0xb9)](_0x4827f3(0x70)),this[_0x4827f3(0x65)][_0x4827f3(0x95)]({'showApplyButton':_0x5392f0,'showSuggestButton':_0x526283});}async[_0x5ee445(0x85)](_0x3dae6c){const _0x10b309=_0x5ee445;await this[_0x10b309(0xca)][_0x10b309(0xb2)](_0x3dae6c);}[_0x5ee445(0xae)](){const _0x10ad3f=_0x5ee445;this[_0x10ad3f(0xca)][_0x10ad3f(0xc3)]();}[_0x5ee445(0xd9)](_0xd24049){const _0x31d87c=_0x5ee445;this[_0x31d87c(0xb0)]=new _0x3a5e41(this[_0x31d87c(0x71)]),this[_0x31d87c(0xb0)][_0x31d87c(0xda)]({'tag':_0x31d87c(0x8a),'attributes':{'class':[_0x31d87c(0xba)]},'children':[{'tag':_0x31d87c(0x8a),'attributes':{'class':[_0x31d87c(0xd7)]},'children':[this[_0x31d87c(0xbb)](),this[_0x31d87c(0xc4)]()]},this[_0x31d87c(0x69)](_0xd24049[_0x31d87c(0xcb)])]}),this[_0x31d87c(0xa2)][_0x31d87c(0xc6)](this[_0x31d87c(0xb0)]);}[_0x5ee445(0x90)](){const _0x5dc70b=_0x5ee445;this[_0x5dc70b(0xb8)]=new _0x10a431(this[_0x5dc70b(0x71)]),this[_0x5dc70b(0xa2)][_0x5dc70b(0xc6)](this[_0x5dc70b(0xb8)]);}[_0x5ee445(0x78)]({showApplyButton:_0x3dd2db,showSuggestButton:_0x4a7bd7}){const _0x58486b=_0x5ee445;this[_0x58486b(0x65)]=new _0x37a825(this[_0x58486b(0x71)],_0x3dd2db,_0x4a7bd7),this[_0x58486b(0x65)][_0x58486b(0xd5)]?.['on'](_0x58486b(0x8b),()=>{const _0x389c2d=_0x58486b;this[_0x389c2d(0x8e)](_0x389c2d(0x82));}),this[_0x58486b(0x65)][_0x58486b(0xbe)]?.['on'](_0x58486b(0x8b),()=>{const _0x530dcc=_0x58486b;this[_0x530dcc(0x8e)](_0x530dcc(0x70));}),this[_0x58486b(0x65)][_0x58486b(0xc8)](_0x58486b(0x89))['to'](this,_0x58486b(0xb3),this,_0x58486b(0x9b),this,_0x58486b(0xc0),(_0xe0452d,_0x4e1e24,_0x35994e)=>!(_0xe0452d||_0x4e1e24||_0x35994e)),this[_0x58486b(0xd4)]({'showApplyButton':_0x3dd2db,'showSuggestButton':_0x4a7bd7}),this[_0x58486b(0xa2)][_0x58486b(0xc6)](this[_0x58486b(0x65)]);}[_0x5ee445(0x69)](_0x48b600){const _0x49c1fd=_0x5ee445;return this[_0x49c1fd(0x91)]=new _0x1aa1a1(this[_0x49c1fd(0x71)],_0x48b600),this[_0x49c1fd(0x91)][_0x49c1fd(0xc7)](..._0x5a6a18)['to'](this),this[_0x49c1fd(0x91)]['on'](_0x49c1fd(0x9e),()=>{const _0x1d6212=_0x49c1fd;this[_0x1d6212(0x91)][_0x1d6212(0xcd)]=!this[_0x1d6212(0x91)][_0x1d6212(0xcd)],this[_0x1d6212(0x8e)](_0x1d6212(0xd1),{'showDiff':this[_0x1d6212(0x91)][_0x1d6212(0xcd)]});}),this[_0x49c1fd(0x91)][_0x49c1fd(0xc8)](_0x49c1fd(0x89))['to'](this,_0x49c1fd(0xb3),this,_0x49c1fd(0x9b),(_0x2aeadf,_0x25edf7)=>!(_0x2aeadf||_0x25edf7)),this[_0x49c1fd(0x91)];}[_0x5ee445(0xbb)](){const _0x3339ed=_0x5ee445;return this[_0x3339ed(0x76)]=new _0x4970b5(this[_0x3339ed(0x71)]),this[_0x3339ed(0x76)][_0x3339ed(0xc8)](_0x3339ed(0xdb))['to'](this,_0x3339ed(0x9b)),this[_0x3339ed(0x76)];}[_0x5ee445(0xc4)](){const _0x1efa7d=_0x5ee445;return this[_0x1efa7d(0xca)]=new _0x1f28a9(this[_0x1efa7d(0x71)]),this[_0x1efa7d(0xca)];}[_0x5ee445(0x74)](){const _0x16186a=_0x5ee445,_0x2b3db3=new _0x1c9e4c(this[_0x16186a(0x71)]),_0xabc2a6=new _0x1c9e4c(this[_0x16186a(0x71)]),_0x22e9a4=new AIActionsBalloonNavigationCounterView(this[_0x16186a(0x71)]),_0x194566=new _0x1c9e4c(this[_0x16186a(0x71)]);_0x2b3db3[_0x16186a(0xa5)]({'icon':_0x51f6d5,'label':_0x4ae0a0(this[_0x16186a(0x71)],_0x16186a(0x80)),'tooltip':!0x0,'class':_0x16186a(0x98)}),_0xabc2a6[_0x16186a(0xa5)]({'icon':_0x35e375,'tooltip':_0x4ae0a0(this[_0x16186a(0x71)],_0x16186a(0xd3)),'class':_0x16186a(0x88)}),_0x194566[_0x16186a(0xa5)]({'icon':_0x3b2817,'tooltip':_0x4ae0a0(this[_0x16186a(0x71)],_0x16186a(0x66)),'class':_0x16186a(0xd0)}),_0x2b3db3[_0x16186a(0xc8)](_0x16186a(0x89))['to'](this,_0x16186a(0xb3),_0x2109d3=>!_0x2109d3),_0x2b3db3['on'](_0x16186a(0x8b),()=>{const _0x476dc4=_0x16186a;this[_0x476dc4(0x8e)](_0x476dc4(0x9d));}),_0xabc2a6[_0x16186a(0xc8)](_0x16186a(0x89))['to'](this,_0x16186a(0xb3),_0x464066=>!_0x464066),_0xabc2a6['on'](_0x16186a(0x8b),()=>{const _0x42d8a3=_0x16186a;this[_0x42d8a3(0x8e)](_0x42d8a3(0x84));}),_0x194566[_0x16186a(0xc8)](_0x16186a(0x89))['to'](this,_0x16186a(0xb3),_0x4b02da=>!_0x4b02da),_0x194566['on'](_0x16186a(0x8b),()=>{const _0x13f7ac=_0x16186a;this[_0x13f7ac(0x8e)](_0x13f7ac(0x83));}),this[_0x16186a(0xac)]=_0xabc2a6,this[_0x16186a(0xb4)]=_0x22e9a4,this[_0x16186a(0x96)]=_0x194566,this[_0x16186a(0x67)]=_0x2b3db3;}[_0x5ee445(0xcc)](_0x36f48c,_0x2bf093){const _0x18c5ab=_0x5ee445;this[_0x18c5ab(0xac)]||this[_0x18c5ab(0x74)]();const _0x5d6539=_0x36f48c>0x1;if(this[_0x18c5ab(0x9c)](this[_0x18c5ab(0x67)]),_0x5d6539){this[_0x18c5ab(0x9c)](this[_0x18c5ab(0xac)]),this[_0x18c5ab(0x9c)](this[_0x18c5ab(0xb4)]),this[_0x18c5ab(0x9c)](this[_0x18c5ab(0x96)]);const _0xc4aad6=_0x36f48c-_0x2bf093;this[_0x18c5ab(0xb4)][_0x18c5ab(0xa0)](_0xc4aad6+'/'+_0x36f48c),this[_0x18c5ab(0xac)][_0x18c5ab(0x89)]=_0x2bf093<_0x36f48c-0x1,this[_0x18c5ab(0x96)][_0x18c5ab(0x89)]=_0x2bf093>0x0;}else this[_0x18c5ab(0x87)](this[_0x18c5ab(0xac)]),this[_0x18c5ab(0x87)](this[_0x18c5ab(0xb4)]),this[_0x18c5ab(0x87)](this[_0x18c5ab(0x96)]);}[_0x5ee445(0x7e)](){const _0x3c9dd8=_0x5ee445;this[_0x3c9dd8(0x67)][_0x3c9dd8(0x89)]=!0x1,this[_0x3c9dd8(0xac)][_0x3c9dd8(0x89)]=!0x1,this[_0x3c9dd8(0x96)][_0x3c9dd8(0x89)]=!0x1;}[_0x5ee445(0x6f)](){const _0x5b560=_0x5ee445;this[_0x5b560(0xb5)](),this[_0x5b560(0xa3)]&&this[_0x5b560(0xa3)][_0x5b560(0x9a)]();}[_0x5ee445(0xd2)](){const _0x2ce00d=_0x5ee445;this[_0x2ce00d(0xa3)]&&this[_0x2ce00d(0xa3)][_0x2ce00d(0xb7)]();}[_0x5ee445(0x92)](_0xd6709a){const _0x48c4b5=_0x5ee445;this[_0x48c4b5(0x9b)]=_0xd6709a;}[_0x5ee445(0x7c)](){const _0x39ec48=_0x5ee445;this[_0x39ec48(0x91)][_0x39ec48(0xcd)]=!0x1;}[_0x5ee445(0xb5)](){const _0x5569a6=_0x5ee445,_0x465549=this[_0x5569a6(0x72)]();_0x465549&&!this[_0x5569a6(0xa3)]&&(this[_0x5569a6(0xa3)]=new _0x5a5d2d(_0x465549));}[_0x5ee445(0x72)](){const _0x1f02c1=_0x5ee445;return this[_0x1f02c1(0xca)][_0x1f02c1(0xaa)];}}class AIActionsBalloonNavigationCounterView extends _0x3a5e41{constructor(_0x58bb1b){const _0x402a30=_0x5ee445;super(_0x58bb1b);const _0x145b38=this[_0x402a30(0x7a)];this[_0x402a30(0xa5)](_0x402a30(0xce),_0x402a30(0x94)),this[_0x402a30(0xda)]({'tag':_0x402a30(0x8d),'attributes':{'class':[_0x402a30(0x6e)]},'children':[{'text':_0x145b38['to'](_0x402a30(0xce))}]});}[_0x5ee445(0xa0)](_0x360547){const _0x2aa446=_0x5ee445;this[_0x2aa446(0xa5)](_0x2aa446(0xce),_0x360547);}}function _0x3b0b(){const _0x170dd0=['isShowChangesOn','interactionCount','focus','ck-ai-navigation-button\x20ck-ai-next-button','toggleSuggestionDisplayMode','stopAutoScroll','AI_ACTIONS_PREVIOUS_INTERACTION','_toggleToolbarButtonsVisibility','applyButton','showBlockingError','ck-ai-actions-balloon-content-wrapper','16131HWHOkt','_addContentWrapper','setTemplate','isVisible','_toolbarView','AI_ACTIONS_NEXT_INTERACTION','_navigationTryAgainButton','showLoader','_createMiniToolbar','focusCycler','455153aplySz','640dsuqgm','hideLoader','ck-ai-interaction-counter','startAutoScroll','insertSuggestion','locale','_getScrollableElement','setIsLoading','_setupMiniToolbarButtons','showError','_loaderView','_focusTracker','_addToolbar','_errorView','bindTemplate','2490292HgcYKw','resetShowChangesButton','listenTo','disableMiniToolbarButtons','focusLast','AI_ACTIONS_TRY_AGAIN','toggleShowChangesEnabled','applySuggestion','showNext','showPrevious','updateContent','render','removeMiniToolbarItem','ck-ai-navigation-button\x20ck-ai-previous-button','isEnabled','div','execute','hideError','span','fire','tab','_addDisclaimerView','_miniToolbarView','toggleIsLoading','_keystrokes','1/1','setButtonsVisibility','_navigationNextButton','availableActions','ck-ai-custom-action-button','change:isTrackChangesOn','start','_isLoading','addMiniToolbarItem','tryAgain','toggleShowChanges','setErrorState','setInteractionCount','isTrackChangesOn','_dialogContent','_scrollManager','clearErrorState','set','has','shift\x20+\x20tab','destroy','remove','element','_config','_navigationPreviousButton','focusFirst','clearContent','18EgtbrU','_contentWrapper','2852848NyFtkn','update','isBusy','_navigationCounter','_initializeScrollManager','11664480IByagO','stop','_disclaimerView','includes','ck-ai-actions-balloon-content','_createLoaderView','2490790oJBJxO','addMany','suggestButton','_focusables','_hasError','createCollection','27351054xGYaJV','clear','_createStreamableContentView','items','add','delegate','bind','ck-ai-actions-balloon-main','_streamableContentView','miniToolbarConfig','updateMiniToolbarButtons'];_0x3b0b=function(){return _0x170dd0;};return _0x3b0b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x531594=_0xbd7a;function _0x1c9c(){const _0x2a5020=['235115xYMcUu','7176127gwFxJx','extendTemplate','2150433OhlTDp','18XQHnEb','add','30pZnZYX','_createArrowView','ck-dropdown-menu-list__nested-menu__button','3ywHWgq','set','render','isOn','5798397HDdbVt','1455844cYIqPr','8JfgTOL','mouseenter','arrowView','content','ck-dropdown-menu-list__nested-menu__button__arrow','222958bBiiSn','15471408muCwSD','menuitem','children','3swKtoe','bindTemplate'];_0x1c9c=function(){return _0x2a5020;};return _0x1c9c();}(function(_0x41f4c1,_0x8156e1){const _0xfe9b09=_0xbd7a,_0x1d3ca8=_0x41f4c1();while(!![]){try{const _0x353ad5=-parseInt(_0xfe9b09(0x93))/0x1*(-parseInt(_0xfe9b09(0x8f))/0x2)+-parseInt(_0xfe9b09(0x9e))/0x3*(parseInt(_0xfe9b09(0xa3))/0x4)+parseInt(_0xfe9b09(0x95))/0x5*(parseInt(_0xfe9b09(0x99))/0x6)+parseInt(_0xfe9b09(0x96))/0x7*(-parseInt(_0xfe9b09(0xa4))/0x8)+parseInt(_0xfe9b09(0x98))/0x9*(parseInt(_0xfe9b09(0x9b))/0xa)+-parseInt(_0xfe9b09(0xa2))/0xb+parseInt(_0xfe9b09(0x90))/0xc;if(_0x353ad5===_0x8156e1)break;else _0x1d3ca8['push'](_0x1d3ca8['shift']());}catch(_0x26f568){_0x1d3ca8['push'](_0x1d3ca8['shift']());}}}(_0x1c9c,0x8a068));import{IconView as _0x1ac0dd,ListItemButtonView as _0x40db6f}from'ckeditor5/src/ui.js';function _0xbd7a(_0x99c5f9,_0x29db6f){const _0x1c9c81=_0x1c9c();return _0xbd7a=function(_0xbd7a92,_0x5080e6){_0xbd7a92=_0xbd7a92-0x8d;let _0x3c0e74=_0x1c9c81[_0xbd7a92];return _0x3c0e74;},_0xbd7a(_0x99c5f9,_0x29db6f);}import{IconDropdownArrow as _0xb1a2e}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x40db6f{[_0x531594(0xa6)];constructor(_0x421439,_0x744528){const _0x48b95d=_0x531594;super(_0x421439,_0x744528);const _0x5390ab=this[_0x48b95d(0x94)];this[_0x48b95d(0x9f)]({'withText':!0x0,'role':_0x48b95d(0x91)}),this[_0x48b95d(0xa6)]=this[_0x48b95d(0x9c)](),this[_0x48b95d(0x97)]({'attributes':{'class':[_0x48b95d(0x9d)],'aria-haspopup':!0x0,'aria-expanded':this[_0x48b95d(0x94)]['to'](_0x48b95d(0xa1),_0x573a2a=>String(_0x573a2a)),'data-cke-tooltip-disabled':_0x5390ab['to'](_0x48b95d(0xa1))},'on':{'mouseenter':_0x5390ab['to'](_0x48b95d(0xa5))}});}[_0x531594(0xa0)](){const _0x3e0945=_0x531594;super[_0x3e0945(0xa0)](),this[_0x3e0945(0x92)][_0x3e0945(0x9a)](this[_0x3e0945(0xa6)]);}[_0x531594(0x9c)](){const _0x2ed9d7=_0x531594,_0x33c36a=new _0x1ac0dd();return _0x33c36a[_0x2ed9d7(0x8d)]=_0xb1a2e,_0x33c36a[_0x2ed9d7(0x97)]({'attributes':{'class':_0x2ed9d7(0x8e)}}),_0x33c36a;}}
|