@ckeditor/ckeditor5-ai 47.7.4 → 47.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiassistant/utils/common-translations.js +1 -1
- package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aicontext.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/common-translations.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentposition.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/eventnames.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aicore/utils/scrollmanager.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewcheck.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
- package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/aitabsmainview.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatechecklist.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
- package/src/errors.js +1 -1
- package/src/errorsmap.js +1 -1
- package/src/index.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22ed62=_0x1922;function _0x1922(_0x35341c,_0x4bb9bb){const _0x572227=_0x5722();return _0x1922=function(_0x19225c,_0x33a09c){_0x19225c=_0x19225c-0x1b5;let _0xf4bc2=_0x572227[_0x19225c];return _0xf4bc2;},_0x1922(_0x35341c,_0x4bb9bb);}function _0x5722(){const _0x41e24f=['directChange','isPremiumPlugin','removeSelectionFromChatContext','selection','2392733PmFrbi','1042611bMrADT','aiQuickAction','1336638oQFKyC','plugins','editor','4470006xuULfF','11272856wuMZgi','init','isOfficialPlugin','has','797375DxjMrE','pluginName','4sSRpkW','get','add','change:range','AIQuickActionsEditing','14875810rQdzlg','commands','model','document','9oJjaeZ','2XYKtLg','AIChat'];_0x5722=function(){return _0x41e24f;};return _0x5722();}(function(_0x4c4447,_0x1397a5){const _0x2da9cf=_0x1922,_0x15bfb0=_0x4c4447();while(!![]){try{const _0x1e2721=parseInt(_0x2da9cf(0x1c5))/0x1*(parseInt(_0x2da9cf(0x1be))/0x2)+-parseInt(_0x2da9cf(0x1c7))/0x3*(parseInt(_0x2da9cf(0x1d1))/0x4)+-parseInt(_0x2da9cf(0x1cf))/0x5+parseInt(_0x2da9cf(0x1ca))/0x6+-parseInt(_0x2da9cf(0x1c4))/0x7+-parseInt(_0x2da9cf(0x1cb))/0x8+-parseInt(_0x2da9cf(0x1bd))/0x9*(-parseInt(_0x2da9cf(0x1b9))/0xa);if(_0x1e2721===_0x1397a5)break;else _0x15bfb0['push'](_0x15bfb0['shift']());}catch(_0x2155e2){_0x15bfb0['push'](_0x15bfb0['shift']());}}}(_0x5722,0xe06ce));import{Plugin as _0x125fb9}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x57f0fa}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x125fb9{static get[_0x22ed62(0x1d0)](){const _0x56928b=_0x22ed62;return _0x56928b(0x1b8);}static get[_0x22ed62(0x1cd)](){return!0x0;}static get[_0x22ed62(0x1c1)](){return!0x0;}[_0x22ed62(0x1cc)](){const _0x3cc5b3=_0x22ed62,_0x4c55a3=this[_0x3cc5b3(0x1c9)],_0x34e843=new _0x57f0fa(this[_0x3cc5b3(0x1c9)]);if(_0x4c55a3[_0x3cc5b3(0x1ba)][_0x3cc5b3(0x1b6)](_0x3cc5b3(0x1c6),_0x34e843),_0x4c55a3[_0x3cc5b3(0x1c8)][_0x3cc5b3(0x1ce)](_0x3cc5b3(0x1bf))){const _0x52719e=this[_0x3cc5b3(0x1c9)][_0x3cc5b3(0x1c8)][_0x3cc5b3(0x1b5)](_0x3cc5b3(0x1bf));_0x4c55a3[_0x3cc5b3(0x1bb)][_0x3cc5b3(0x1bc)][_0x3cc5b3(0x1c3)]['on'](_0x3cc5b3(0x1b7),(_0x2cea70,_0x1e0f2d)=>{const _0x4b5e32=_0x3cc5b3;_0x1e0f2d[_0x4b5e32(0x1c0)]&&_0x52719e[_0x4b5e32(0x1c2)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x221774=_0x4d93;(function(_0x5875ba,_0x46145a){const _0x36a702=_0x4d93,_0x3b839c=_0x5875ba();while(!![]){try{const _0x2a8275=-parseInt(_0x36a702(0x1ba))/0x1*(parseInt(_0x36a702(0x1c9))/0x2)+parseInt(_0x36a702(0x1ee))/0x3*(parseInt(_0x36a702(0x1ad))/0x4)+parseInt(_0x36a702(0x1f6))/0x5*(parseInt(_0x36a702(0x20d))/0x6)+-parseInt(_0x36a702(0x21e))/0x7*(parseInt(_0x36a702(0x227))/0x8)+parseInt(_0x36a702(0x188))/0x9*(-parseInt(_0x36a702(0x1c4))/0xa)+parseInt(_0x36a702(0x1ce))/0xb*(parseInt(_0x36a702(0x1d6))/0xc)+parseInt(_0x36a702(0x202))/0xd*(parseInt(_0x36a702(0x210))/0xe);if(_0x2a8275===_0x46145a)break;else _0x3b839c['push'](_0x3b839c['shift']());}catch(_0x167e9e){_0x3b839c['push'](_0x3b839c['shift']());}}}(_0x35f6,0xb64d5));import{IconAIAdjustLength as _0x3a49d9,IconAIChangeTone as _0x3b80e1,IconAIChatCommands as _0x1c52a3,IconAIContinueWriting as _0x3c268f,IconAIGrammarCheck as _0x2a27fb,IconAIImproveWriting as _0x5af1f6,IconAIOther as _0x162d91,IconAIQuickActions as _0x3e31a6,IconAITranslate as _0x1f1ffd}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x297270}from'ckeditor5/src/core.js';import{CKEditorError as _0x426fe1,logError as _0x53829b}from'ckeditor5/src/utils.js';function _0x4d93(_0x2bb20f,_0x3f3742){const _0x35f643=_0x35f6();return _0x4d93=function(_0x4d93c7,_0x1ea512){_0x4d93c7=_0x4d93c7-0x186;let _0x25818e=_0x35f643[_0x4d93c7];return _0x25818e;},_0x4d93(_0x2bb20f,_0x3f3742);}import{getTranslation as _0x248f34}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x46a08a}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x401ea4}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x17027d,BalloonToolbar as _0x2eadaa,MenuBarMenuView as _0x24463b,MenuBarMenuListView as _0x1dd6da,MenuBarMenuListItemView as _0x37d7e6,MenuBarMenuListItemButtonView as _0x3de840}from'ckeditor5/src/ui.js';import{AIModels as _0x1319f0}from'../aicore/model/aimodels.js';import{AIConnector as _0x47a7b0}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x221774(0x212),ie=_0x221774(0x229),ne=_0x221774(0x1e9);export var AIQuickActionType;!function(_0x312b53){const _0x73b24d=_0x221774;_0x312b53[_0x73b24d(0x1a7)]=_0x73b24d(0x1a7),_0x312b53[_0x73b24d(0x1b9)]=_0x73b24d(0x1b9),_0x312b53[_0x73b24d(0x1e0)]=_0x73b24d(0x1e0);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x352a1e){const _0x236a80=_0x221774;_0x352a1e[_0x236a80(0x1a7)]=_0x236a80(0x1f0),_0x352a1e[_0x236a80(0x1b9)]=_0x236a80(0x1df),_0x352a1e[_0x236a80(0x1e0)]=_0x236a80(0x1a1);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x35f6(){const _0x547be4=['focus','AI_QUICK_ACTIONS_TRANSLATE','2991ikVEQo','isPremiumPlugin','AIChat','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_MORE_CONFIDENT','ai.quickActions.removeCommands','ai-quick-actions-unavailable-model','make-tone-direct','3290xOmSnj','values','displayedPrompt','map','model','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_OTHER','isEnabled','other','_getDefaultAndCustomActions','label','aiQuickActions','13iRRqft','improve-writing','chinese','filter','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-german','attachToDom','change-tone','AI_QUICK_ACTIONS_SUMMARIZE','_initializeQuickActionsComponentsAndCommands','has','11802IdJhpV','AI_QUICK_ACTIONS_ADJUST_LENGTH','make-shorter','13291082VnBdRr','_initializeQuickActionsMenuBar','<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>','menuBar:aiQuickActions','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','uiLanguage','AI_QUICK_ACTIONS_CHAT_COMMANDS','explain','german','AIQuickActionsUI','make-tone-confident','english','6830719YrKYzW','aiQuickAction','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','menuitem','french','replace','AI_QUICK_ACTIONS_CHANGE_TONE','actions','8kxTokL','children','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_HEADING','init','translate-to-japanese','210573vtecvO','view','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','push','add','isOfficialPlugin','getDefaultQuickActions','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','type','make-tone-casual','continue','_prepareQuickActionsDefinition','execute','korean','some','translate-to-portuguese','ai-quick-actions-models-unable-to-retrieve','translate-to-italian','items','editor','ai.quickActions.extraCommands','summarize','delegate','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AIConnector','AIReviewMode','translate-to-chinese','highlight-key-points','fix-grammar','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_MAKE_LONGER','CHAT','ask-ai','_shouldIncludeAction','find','AI_QUICK_ACTIONS_CONTINUE_WRITING','commands','16MqjUrk','ai.quickActions.isSearchEnabled','portuguese','pluginName','translate-to-spanish','DisplayNames','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','menu','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','plugins','forEach','ACTION','194OWsCkE','translate-to-french','adjust-length','spanish','length','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','get','AI_QUICK_ACTIONS_EXPLAIN','japanese','italian','480wvgRGS','AI_QUICK_ACTIONS_ASK_AI','translate','buttonView','make-longer','4844kVMIwO','menuBarView','make-tone-friendly','includes','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','11745943XJZGFz','message','translate-to-english','locale','AI_QUICK_ACTIONS_MORE_CASUAL','getAll','_executeQuickAction','ai.chat.context.document.enabled','12kHrzCo','set','make-tone-professional','_initializeQuickActionsDropdown','_quickActionsDefinition','AI_QUICK_ACTIONS_MORE_FRIENDLY','English','chat-commands','icon','AIActions','REVIEW','language','config','requires','close','translate-to-russian','panelView','editing','russian','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','componentFactory'];_0x35f6=function(){return _0x547be4;};return _0x35f6();}export class AIQuickActionsUI extends _0x297270{static get[_0x221774(0x1e3)](){return[_0x2eadaa,_0x47a7b0];}static get[_0x221774(0x1b0)](){const _0x29d058=_0x221774;return _0x29d058(0x21b);}static get[_0x221774(0x18d)](){return!0x0;}static get[_0x221774(0x1ef)](){return!0x0;}async[_0x221774(0x186)](){const _0x4a002f=_0x221774,_0x252ea4=await this[_0x4a002f(0x1ff)]();this[_0x4a002f(0x193)](_0x252ea4),this[_0x4a002f(0x20b)]();}static[_0x221774(0x18e)](_0x490611){return function(_0xaad198){const _0x51394e=_0x4d93,_0x295fa6=new Intl[(_0x51394e(0x1b2))](['en'],{'type':_0x51394e(0x1e1)})['of'](_0xaad198[_0x51394e(0x217)]),_0x34c8a9=_0x295fa6||_0x51394e(0x1dc),_0x4bb34e=[{'id':_0x51394e(0x1a8),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1c5)),'type':AIQuickActionType[_0x51394e(0x1a7)],'icon':_0x1c52a3},{'id':_0x51394e(0x1dd),'label':_0x248f34(_0xaad198,_0x51394e(0x218)),'icon':_0x1c52a3,'actions':[{'id':_0x51394e(0x219),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1c1)),'prompt':ee[_0x51394e(0x224)]('%0',_0x34c8a9),'type':AIQuickActionType[_0x51394e(0x1a7)]},{'id':_0x51394e(0x19d),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x20a)),'prompt':ie[_0x51394e(0x224)]('%0',_0x34c8a9),'type':AIQuickActionType[_0x51394e(0x1a7)]},{'id':_0x51394e(0x1a3),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x221)),'prompt':ne[_0x51394e(0x224)]('%0',_0x34c8a9),'type':AIQuickActionType[_0x51394e(0x1a7)]}]},{'id':_0x51394e(0x203),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x215)),'type':AIQuickActionType[_0x51394e(0x1b9)],'icon':_0x5af1f6},{'id':_0x51394e(0x192),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1ab)),'type':AIQuickActionType[_0x51394e(0x1b9)],'icon':_0x3c268f},{'id':_0x51394e(0x1a4),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x19f)),'type':AIQuickActionType[_0x51394e(0x1b9)],'icon':_0x2a27fb},{'id':_0x51394e(0x1bc),'label':_0x248f34(_0xaad198,_0x51394e(0x20e)),'icon':_0x3a49d9,'actions':[{'id':_0x51394e(0x20f),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1f1)),'type':AIQuickActionType[_0x51394e(0x1b9)]},{'id':_0x51394e(0x1c8),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1a6)),'type':AIQuickActionType[_0x51394e(0x1b9)]}]},{'id':_0x51394e(0x209),'label':_0x248f34(_0xaad198,_0x51394e(0x225)),'icon':_0x3b80e1,'actions':[{'id':_0x51394e(0x191),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1d2)),'type':AIQuickActionType[_0x51394e(0x1b9)]},{'id':_0x51394e(0x1f5),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1fb)),'type':AIQuickActionType[_0x51394e(0x1b9)]},{'id':_0x51394e(0x1cb),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1db)),'type':AIQuickActionType[_0x51394e(0x1b9)]},{'id':_0x51394e(0x21c),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1f2)),'type':AIQuickActionType[_0x51394e(0x1b9)]},{'id':_0x51394e(0x1d8),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1b3)),'type':AIQuickActionType[_0x51394e(0x1b9)]}]},{'id':_0x51394e(0x1c6),'label':_0x248f34(_0xaad198,_0x51394e(0x1ed)),'icon':_0x1f1ffd,'actions':[{'id':_0x51394e(0x1d0),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x18f)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x21d)}},{'id':_0x51394e(0x1a2),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x214)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x204)}},{'id':_0x51394e(0x1b1),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1cd)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x1bd)}},{'id':_0x51394e(0x207),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1b6)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x21a)}},{'id':_0x51394e(0x1bb),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1bf)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x223)}},{'id':_0x51394e(0x187),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x206)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x1c2)}},{'id':_0x51394e(0x197),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1a5)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x1af)}},{'id':_0x51394e(0x1b5),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x18a)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x195)}},{'id':_0x51394e(0x199),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x216)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x1c3)}},{'id':_0x51394e(0x1e5),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1ea)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x1e8)}}]},{'id':_0x51394e(0x1fe),'label':_0x248f34(_0xaad198,_0x51394e(0x1fc)),'icon':_0x162d91,'actions':[]}];return _0x4bb34e;}(_0x490611);}async[_0x221774(0x1ff)](){const _0x5ba6c6=_0x221774,_0x5f561d=AIQuickActionsUI[_0x5ba6c6(0x18e)](this[_0x5ba6c6(0x19b)][_0x5ba6c6(0x1d1)]),_0x28ef9f=this[_0x5ba6c6(0x19b)][_0x5ba6c6(0x1e2)][_0x5ba6c6(0x1c0)](_0x5ba6c6(0x19c))||[];let _0xa4ea1c=[];try{_0xa4ea1c=await new _0x1319f0({'connector':this[_0x5ba6c6(0x19b)][_0x5ba6c6(0x1b7)][_0x5ba6c6(0x1c0)](_0x5ba6c6(0x1a0)),'locale':this[_0x5ba6c6(0x19b)][_0x5ba6c6(0x1d1)]})[_0x5ba6c6(0x1d3)]();}catch(_0x5285ff){const _0x5c0d83=new _0x426fe1(_0x5ba6c6(0x198),this,{'error':_0x5285ff});_0x53829b(_0x5c0d83[_0x5ba6c6(0x1cf)]);}finally{const _0x27ed8b=_0x28ef9f[_0x5ba6c6(0x1f9)](_0x492610=>({..._0x492610,'icon':void 0x0}));_0x5f561d[_0x5ba6c6(0x1aa)](_0x1bba19=>_0x5ba6c6(0x1fe)===_0x1bba19['id'])[_0x5ba6c6(0x226)][_0x5ba6c6(0x18b)](..._0x27ed8b),_0x5f561d[_0x5ba6c6(0x1b8)](_0x5d94ae=>{const _0x3ef914=_0x5ba6c6;if(_0x3ef914(0x226)in _0x5d94ae)_0x5d94ae[_0x3ef914(0x226)][_0x3ef914(0x1b8)](_0x289fd7=>{const _0xd9d65a=_0x3ef914;if(_0x289fd7[_0xd9d65a(0x1fd)]=!!_0xa4ea1c[_0xd9d65a(0x1aa)](_0x12c7c3=>_0x12c7c3['id']===_0x289fd7[_0xd9d65a(0x1fa)])||void 0x0===_0x289fd7[_0xd9d65a(0x1fa)],!_0x289fd7[_0xd9d65a(0x1fd)]){const _0x45ffeb=new _0x426fe1(_0xd9d65a(0x1f4),this,{'actionId':_0x289fd7['id'],'modelId':_0x289fd7[_0xd9d65a(0x1fa)]});_0x53829b(_0x45ffeb[_0xd9d65a(0x1cf)]);}});else{if(_0x5d94ae[_0x3ef914(0x1fd)]=!!_0xa4ea1c[_0x3ef914(0x1aa)](_0x1b7ed0=>_0x1b7ed0['id']===_0x5d94ae[_0x3ef914(0x1fa)])||void 0x0===_0x5d94ae[_0x3ef914(0x1fa)],!_0x5d94ae[_0x3ef914(0x1fd)]){const _0x1a1d8c=new _0x426fe1(_0x3ef914(0x1f4),this,{'actionId':_0x5d94ae['id'],'modelId':_0x5d94ae[_0x3ef914(0x1fa)]});_0x53829b(_0x1a1d8c[_0x3ef914(0x1cf)]);}}});}return _0x5f561d;}[_0x221774(0x20b)](){const _0x1959dc=_0x221774,_0x380bc3=new _0x17027d(this[_0x1959dc(0x19b)][_0x1959dc(0x1d1)]);_0x380bc3[_0x1959dc(0x208)](),this[_0x1959dc(0x1d9)](_0x380bc3),this[_0x1959dc(0x211)](),this[_0x1959dc(0x220)](_0x380bc3);}[_0x221774(0x1d9)](_0x144b53){const _0x38759d=_0x221774,_0x1aa4c9=this[_0x38759d(0x19b)][_0x38759d(0x1e2)][_0x38759d(0x1c0)](_0x38759d(0x1ae))??!0x0;this[_0x38759d(0x19b)]['ui'][_0x38759d(0x1eb)][_0x38759d(0x18c)](_0x38759d(0x201),_0x46a08a({'editor':this[_0x38759d(0x19b)],'content':this[_0x38759d(0x1da)],'buttonDefinition':{'icon':_0x3e31a6,'label':_0x248f34(this[_0x38759d(0x19b)][_0x38759d(0x1d1)],_0x38759d(0x22a))},'bodyCollection':_0x144b53,'hasSearch':_0x1aa4c9}));}[_0x221774(0x193)](_0x16e258){const _0x2acd02=_0x221774;this[_0x2acd02(0x1da)]=_0x16e258[_0x2acd02(0x1f9)](_0x980334=>{const _0x4c5761=_0x2acd02;if(_0x4c5761(0x226)in _0x980334){const _0x3ac9a0=_0x980334;return{..._0x3ac9a0,'actions':_0x3ac9a0[_0x4c5761(0x226)][_0x4c5761(0x1f9)](_0x5c067c=>{const {actions:_0x2b2c8b,..._0x318e36}=_0x3ac9a0;return{..._0x5c067c,'parent':_0x318e36};})[_0x4c5761(0x205)](_0x1e16c9=>this[_0x4c5761(0x1a9)](_0x1e16c9))};}return _0x980334;})[_0x2acd02(0x205)](_0x1f7736=>_0x2acd02(0x226)in _0x1f7736?_0x1f7736[_0x2acd02(0x226)][_0x2acd02(0x1be)]>0x0:this[_0x2acd02(0x1a9)](_0x1f7736));}[_0x221774(0x1a9)](_0x471cb7){const _0x277015=_0x221774,_0x55a6d7=this[_0x277015(0x19b)][_0x277015(0x1e2)][_0x277015(0x1c0)](_0x277015(0x1f3))||[];return this[_0x277015(0x19b)][_0x277015(0x1b7)][_0x277015(0x20c)](AIQuickActionTypeToPluginName[_0x471cb7[_0x277015(0x190)]])&&!_0x55a6d7[_0x277015(0x1cc)](_0x471cb7['id'])&&!(_0x471cb7[_0x277015(0x190)]===AIQuickActionType[_0x277015(0x1a7)]&&!0x1===this[_0x277015(0x19b)][_0x277015(0x1e2)][_0x277015(0x1c0)](_0x277015(0x1d5)));}[_0x221774(0x220)](_0x2b89e7){const _0x32e959=_0x221774;this[_0x32e959(0x1da)][_0x32e959(0x1b8)](_0x6e89f5=>{const _0x10455b=_0x32e959;if(_0x10455b(0x226)in _0x6e89f5){const _0x2b159b=_0x46a08a({'editor':this[_0x10455b(0x19b)],'content':_0x6e89f5[_0x10455b(0x226)],'buttonDefinition':_0x6e89f5,'bodyCollection':_0x2b89e7});this[_0x10455b(0x19b)]['ui'][_0x10455b(0x1eb)][_0x10455b(0x18c)](_0x6e89f5['id'],_0x2b159b),_0x6e89f5[_0x10455b(0x226)][_0x10455b(0x1b8)](_0x5c6f08=>{const _0x201c66=_0x10455b,_0x42f355=_0x401ea4({'editor':this[_0x201c66(0x19b)],'action':_0x5c6f08});this[_0x201c66(0x19b)]['ui'][_0x201c66(0x1eb)][_0x201c66(0x18c)](_0x5c6f08['id'],_0x42f355);});}else{const _0xd8f967=_0x401ea4({'editor':this[_0x10455b(0x19b)],'action':_0x6e89f5,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x10455b(0x19b)]['ui'][_0x10455b(0x1eb)][_0x10455b(0x18c)](_0x6e89f5['id'],_0xd8f967);}});}[_0x221774(0x211)](){const _0xe0dc9e=_0x221774;this[_0xe0dc9e(0x19b)]['ui'][_0xe0dc9e(0x1eb)][_0xe0dc9e(0x18c)](_0xe0dc9e(0x213),_0x530703=>{const _0xce290d=_0xe0dc9e,_0x4af217=new _0x24463b(_0x530703),_0x2deadc=_0x248f34(_0x530703,_0xce290d(0x22a));_0x4af217[_0xce290d(0x1c7)][_0xce290d(0x1d7)]({'label':_0x2deadc,'icon':_0x3e31a6});const _0x5b184b=new _0x1dd6da(_0x530703);_0x5b184b[_0xce290d(0x1d7)]({'ariaLabel':_0x2deadc,'role':_0xce290d(0x1b4)}),this[_0xce290d(0x1da)][_0xce290d(0x1b8)](_0x47529a=>{const _0x488366=_0xce290d;if(_0x488366(0x226)in _0x47529a){const _0x36c65f=_0x47529a,_0x2ba24b=new _0x37d7e6(_0x530703,_0x4af217),_0x2cd670=new _0x24463b(_0x530703),_0x457ff8=new _0x1dd6da(_0x530703);_0x2cd670[_0x488366(0x1c7)][_0x488366(0x1d7)]({'label':_0x36c65f[_0x488366(0x200)],'icon':_0x36c65f[_0x488366(0x1de)]}),_0x36c65f[_0x488366(0x226)][_0x488366(0x1b8)](_0x563602=>{const _0x121971=_0x488366,_0x20bf54=new _0x37d7e6(_0x530703,_0x2cd670),_0x2ac3d9=new _0x3de840(_0x530703);_0x2ac3d9[_0x121971(0x1d7)]({'label':_0x563602[_0x121971(0x1f8)],'icon':_0x563602[_0x121971(0x1de)],'role':_0x121971(0x222),'isEnabled':_0x563602[_0x121971(0x1fd)]}),_0x2ac3d9['on'](_0x121971(0x194),()=>{const _0x4d8175=_0x121971;this[_0x4d8175(0x1d4)](_0x563602);}),_0x2ac3d9[_0x121971(0x19e)](_0x121971(0x194))['to'](_0x2cd670),_0x20bf54[_0x121971(0x228)][_0x121971(0x18c)](_0x2ac3d9),_0x457ff8[_0x121971(0x19a)][_0x121971(0x18c)](_0x20bf54);}),_0x2cd670[_0x488366(0x1e6)][_0x488366(0x228)][_0x488366(0x18c)](_0x457ff8),_0x2ba24b[_0x488366(0x228)][_0x488366(0x18c)](_0x2cd670),_0x5b184b[_0x488366(0x19a)][_0x488366(0x18c)](_0x2ba24b);}else{const _0x91e21c=_0x47529a,_0x5c9b50=new _0x37d7e6(_0x530703,_0x4af217),_0x1b8401=new _0x3de840(_0x530703);_0x1b8401[_0x488366(0x1d7)]({'label':_0x91e21c[_0x488366(0x1f8)],'icon':_0x91e21c[_0x488366(0x1de)],'role':_0x488366(0x222),'isEnabled':_0x91e21c[_0x488366(0x1fd)]}),_0x1b8401['on'](_0x488366(0x194),()=>{const _0x5aa1e9=_0x488366;this[_0x5aa1e9(0x1d4)](_0x91e21c);}),_0x1b8401[_0x488366(0x19e)](_0x488366(0x194))['to'](_0x4af217),_0x5c9b50[_0x488366(0x228)][_0x488366(0x18c)](_0x1b8401),_0x5b184b[_0x488366(0x19a)][_0x488366(0x18c)](_0x5c9b50);}});const _0x20b561=Object[_0xce290d(0x1f7)](AIQuickActionTypeToPluginName)[_0xce290d(0x196)](_0x2091fc=>this[_0xce290d(0x19b)][_0xce290d(0x1b7)][_0xce290d(0x20c)](_0x2091fc));return _0x4af217[_0xce290d(0x1d7)]({'isEnabled':_0x20b561}),_0x4af217[_0xce290d(0x1e6)][_0xce290d(0x228)][_0xce290d(0x18c)](_0x5b184b),_0x4af217;});}[_0x221774(0x1d4)](_0x2c3d38){const _0xa2d0c0=_0x221774,_0x3298fb=this[_0xa2d0c0(0x19b)];_0x3298fb[_0xa2d0c0(0x1e7)][_0xa2d0c0(0x189)][_0xa2d0c0(0x1ec)](),_0x3298fb[_0xa2d0c0(0x1ac)][_0xa2d0c0(0x194)](_0xa2d0c0(0x21f),_0x2c3d38);const _0x282d8a=_0x3298fb['ui'][_0xa2d0c0(0x189)][_0xa2d0c0(0x1ca)];_0x282d8a&&_0x282d8a[_0xa2d0c0(0x1e4)]&&_0x282d8a[_0xa2d0c0(0x1e4)]();}}
|
|
23
|
+
const _0x216230=_0x187f;(function(_0x4dcea0,_0x3d4046){const _0x292954=_0x187f,_0xa82db8=_0x4dcea0();while(!![]){try{const _0x17b32a=-parseInt(_0x292954(0x198))/0x1*(parseInt(_0x292954(0x190))/0x2)+-parseInt(_0x292954(0x1ea))/0x3+-parseInt(_0x292954(0x199))/0x4+-parseInt(_0x292954(0x15b))/0x5+-parseInt(_0x292954(0x1a5))/0x6*(-parseInt(_0x292954(0x156))/0x7)+-parseInt(_0x292954(0x150))/0x8*(-parseInt(_0x292954(0x189))/0x9)+-parseInt(_0x292954(0x1e4))/0xa*(-parseInt(_0x292954(0x166))/0xb);if(_0x17b32a===_0x3d4046)break;else _0xa82db8['push'](_0xa82db8['shift']());}catch(_0x140bb8){_0xa82db8['push'](_0xa82db8['shift']());}}}(_0x3930,0x63d8a));import{IconAIAdjustLength as _0x5b8e8a,IconAIChangeTone as _0x5c46cd,IconAIChatCommands as _0x23723b,IconAIContinueWriting as _0x165a31,IconAIGrammarCheck as _0x51ed65,IconAIImproveWriting as _0x2d2440,IconAIOther as _0x2fcda6,IconAIQuickActions as _0x12f288,IconAITranslate as _0x19bc1}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x5ab6d8}from'ckeditor5/src/core.js';import{CKEditorError as _0x505ca8,logError as _0x175649}from'ckeditor5/src/utils.js';import{getTranslation as _0x4721f4}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x5c892e}from'./ui/aiquickactionsdropdowncreator.js';function _0x3930(){const _0x4190d9=['AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','isEnabled','isOfficialPlugin','AI_QUICK_ACTIONS_CHANGE_TONE','ask-ai','german','2466MEtumR','translate','view','AI_QUICK_ACTIONS_ADJUST_LENGTH','_initializeQuickActionsDropdown','displayedPrompt','<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>','3592atVOvp','italian','_shouldIncludeAction','AI_QUICK_ACTIONS_EXPLAIN','chinese','isPremiumPlugin','improve-writing','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','269fGSGHW','1325908GDvvIC','translate-to-german','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','make-longer','getDefaultQuickActions','translate-to-japanese','includes','model','requires','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','init','762yVeOVk','panelView','items','AI_QUICK_ACTIONS_MORE_DIRECT','push','AI_QUICK_ACTIONS_MORE_CASUAL','buttonView','message','ai.quickActions.extraCommands','some','translate-to-french','japanese','uiLanguage','AI_QUICK_ACTIONS_MORE_FRIENDLY','translate-to-chinese','english','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','ai.quickActions.isSearchEnabled','make-tone-professional','explain','actions','English','has','AIQuickActionsUI','filter','length','label','translate-to-portuguese','type','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','pluginName','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','delegate','aiQuickAction','adjust-length','locale','<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>','CHAT','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','_initializeQuickActionsMenuBar','attachToDom','find','AIActions','AI_QUICK_ACTIONS_IMPROVE_WRITING','config','componentFactory','make-tone-friendly','russian','make-tone-casual','ai.quickActions.removeCommands','close','AI_QUICK_ACTIONS_MAKE_LONGER','translate-to-english','ai-quick-actions-models-unable-to-retrieve','_executeQuickAction','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','fix-grammar','translate-to-korean','other','get','AI_QUICK_ACTIONS_SUMMARIZE','1230esxtMv','focus','menuBar:aiQuickActions','summarize','ai-quick-actions-unavailable-model','highlight-key-points','1524267lToWCh','portuguese','_initializeQuickActionsComponents','ACTION','make-shorter','AIChat','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','add','6224JZPcMr','set','menu','AI_QUICK_ACTIONS_HEADING','make-tone-confident','menuBarView','8694HfvtLL','AIConnector','spanish','continue','editing','3448895fwOpTH','_quickActionsDefinition','make-tone-direct','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','_initializeQuickActionsComponentsAndCommands','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','ai.chat.context.document.enabled','korean','editor','forEach','french','183381aOdmIi','aiQuickActions','chat-commands','AI_QUICK_ACTIONS_CONTINUE_WRITING','values','menuitem','plugins','AI_QUICK_ACTIONS_OTHER','translate-to-russian','translate-to-spanish','AI_QUICK_ACTIONS_MAKE_SHORTER','language','map','REVIEW','icon','change-tone','translate-to-italian','DisplayNames','commands','getAll','AI_QUICK_ACTIONS_ASK_AI','execute','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','children','AI_QUICK_ACTIONS_CHAT_COMMANDS','replace','AI_QUICK_ACTIONS_MORE_CONFIDENT','_prepareQuickActionsDefinition','AIReviewMode'];_0x3930=function(){return _0x4190d9;};return _0x3930();}import{aiQuickActionsButtonCreator as _0x5c4f5d}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x5c0ae6,BalloonToolbar as _0x1b65be,MenuBarMenuView as _0x40926b,MenuBarMenuListView as _0x4ab319,MenuBarMenuListItemView as _0x15dcee,MenuBarMenuListItemButtonView as _0x3c867d}from'ckeditor5/src/ui.js';import{AIModels as _0xd2e401}from'../aicore/model/aimodels.js';import{AIConnector as _0x114a43}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x216230(0x1c9),ie=_0x216230(0x18f),ne=_0x216230(0x160);export var AIQuickActionType;!function(_0x246f2d){const _0x6e6d2e=_0x216230;_0x246f2d[_0x6e6d2e(0x1ca)]=_0x6e6d2e(0x1ca),_0x246f2d[_0x6e6d2e(0x1ed)]=_0x6e6d2e(0x1ed),_0x246f2d[_0x6e6d2e(0x173)]=_0x6e6d2e(0x173);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x23ecf1){const _0x3db15b=_0x216230;_0x23ecf1[_0x3db15b(0x1ca)]=_0x3db15b(0x14d),_0x23ecf1[_0x3db15b(0x1ed)]=_0x3db15b(0x1cf),_0x23ecf1[_0x3db15b(0x173)]=_0x3db15b(0x182);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x187f(_0x1075c4,_0x30c3f0){const _0x39301d=_0x3930();return _0x187f=function(_0x187ffe,_0x21c757){_0x187ffe=_0x187ffe-0x14d;let _0x44b563=_0x39301d[_0x187ffe];return _0x44b563;},_0x187f(_0x1075c4,_0x30c3f0);}export class AIQuickActionsUI extends _0x5ab6d8{static get[_0x216230(0x1a2)](){return[_0x1b65be,_0x114a43];}static get[_0x216230(0x1c3)](){const _0x423092=_0x216230;return _0x423092(0x1bc);}static get[_0x216230(0x185)](){return!0x0;}static get[_0x216230(0x195)](){return!0x0;}async[_0x216230(0x1a4)](){const _0x753e48=_0x216230,_0x301ae=await this[_0x753e48(0x1dd)]();this[_0x753e48(0x181)](_0x301ae),this[_0x753e48(0x15f)]();}static[_0x216230(0x19e)](_0x3b6faa){return function(_0x4a5aa2){const _0x3e4ec6=_0x187f,_0x57e656=new Intl[(_0x3e4ec6(0x177))](['en'],{'type':_0x3e4ec6(0x171)})['of'](_0x4a5aa2[_0x3e4ec6(0x1b1)]),_0x3e30e2=_0x57e656||_0x3e4ec6(0x1ba),_0x165eb4=[{'id':_0x3e4ec6(0x187),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x17a)),'type':AIQuickActionType[_0x3e4ec6(0x1ca)],'icon':_0x23723b},{'id':_0x3e4ec6(0x168),'label':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x17e)),'icon':_0x23723b,'actions':[{'id':_0x3e4ec6(0x1b8),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x193)),'prompt':ee[_0x3e4ec6(0x17f)]('%0',_0x3e30e2),'type':AIQuickActionType[_0x3e4ec6(0x1ca)]},{'id':_0x3e4ec6(0x1e7),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1e3)),'prompt':ie[_0x3e4ec6(0x17f)]('%0',_0x3e30e2),'type':AIQuickActionType[_0x3e4ec6(0x1ca)]},{'id':_0x3e4ec6(0x1e9),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1de)),'prompt':ne[_0x3e4ec6(0x17f)]('%0',_0x3e30e2),'type':AIQuickActionType[_0x3e4ec6(0x1ca)]}]},{'id':_0x3e4ec6(0x196),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1d0)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'icon':_0x2d2440},{'id':_0x3e4ec6(0x159),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x169)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'icon':_0x165a31},{'id':_0x3e4ec6(0x1df),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x183)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'icon':_0x51ed65},{'id':_0x3e4ec6(0x1c7),'label':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x18c)),'icon':_0x5b8e8a,'actions':[{'id':_0x3e4ec6(0x1ee),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x170)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)]},{'id':_0x3e4ec6(0x19d),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1d8)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)]}]},{'id':_0x3e4ec6(0x175),'label':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x186)),'icon':_0x5c46cd,'actions':[{'id':_0x3e4ec6(0x1d5),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1aa)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)]},{'id':_0x3e4ec6(0x15d),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1a8)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)]},{'id':_0x3e4ec6(0x1d3),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1b2)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)]},{'id':_0x3e4ec6(0x154),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x180)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)]},{'id':_0x3e4ec6(0x1b7),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1dc)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)]}]},{'id':_0x3e4ec6(0x18a),'label':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x19b)),'icon':_0x19bc1,'actions':[{'id':_0x3e4ec6(0x1d9),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1c2)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'actionName':_0x3e4ec6(0x18a),'args':{'language':_0x3e4ec6(0x1b4)}},{'id':_0x3e4ec6(0x1b3),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x14e)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'actionName':_0x3e4ec6(0x18a),'args':{'language':_0x3e4ec6(0x194)}},{'id':_0x3e4ec6(0x16f),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x197)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'actionName':_0x3e4ec6(0x18a),'args':{'language':_0x3e4ec6(0x158)}},{'id':_0x3e4ec6(0x19a),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1b5)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'actionName':_0x3e4ec6(0x18a),'args':{'language':_0x3e4ec6(0x188)}},{'id':_0x3e4ec6(0x1af),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x19c)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'actionName':_0x3e4ec6(0x18a),'args':{'language':_0x3e4ec6(0x165)}},{'id':_0x3e4ec6(0x19f),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1c4)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'actionName':_0x3e4ec6(0x18a),'args':{'language':_0x3e4ec6(0x1b0)}},{'id':_0x3e4ec6(0x1c0),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x17c)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'actionName':_0x3e4ec6(0x18a),'args':{'language':_0x3e4ec6(0x1eb)}},{'id':_0x3e4ec6(0x1e0),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1cb)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'actionName':_0x3e4ec6(0x18a),'args':{'language':_0x3e4ec6(0x162)}},{'id':_0x3e4ec6(0x176),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1a3)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'actionName':_0x3e4ec6(0x18a),'args':{'language':_0x3e4ec6(0x191)}},{'id':_0x3e4ec6(0x16e),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x15e)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'actionName':_0x3e4ec6(0x18a),'args':{'language':_0x3e4ec6(0x1d4)}}]},{'id':_0x3e4ec6(0x1e1),'label':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x16d)),'icon':_0x2fcda6,'actions':[]}];return _0x165eb4;}(_0x3b6faa);}async[_0x216230(0x1dd)](){const _0x501fb8=_0x216230,_0x39e4e2=AIQuickActionsUI[_0x501fb8(0x19e)](this[_0x501fb8(0x163)][_0x501fb8(0x1c8)]),_0x349369=this[_0x501fb8(0x163)][_0x501fb8(0x1d1)][_0x501fb8(0x1e2)](_0x501fb8(0x1ad))||[];let _0x108104=[];try{_0x108104=await new _0xd2e401({'connector':this[_0x501fb8(0x163)][_0x501fb8(0x16c)][_0x501fb8(0x1e2)](_0x501fb8(0x157)),'locale':this[_0x501fb8(0x163)][_0x501fb8(0x1c8)]})[_0x501fb8(0x179)]();}catch(_0x4c0ba9){const _0x267226=new _0x505ca8(_0x501fb8(0x1da),this,{'error':_0x4c0ba9});_0x175649(_0x267226[_0x501fb8(0x1ac)]);}finally{const _0x5026be=_0x349369[_0x501fb8(0x172)](_0x5beac6=>({..._0x5beac6,'icon':void 0x0}));_0x39e4e2[_0x501fb8(0x1ce)](_0x3a2570=>_0x501fb8(0x1e1)===_0x3a2570['id'])[_0x501fb8(0x1b9)][_0x501fb8(0x1a9)](..._0x5026be),_0x39e4e2[_0x501fb8(0x164)](_0x5e2d63=>{const _0x5dbf24=_0x501fb8;if(_0x5dbf24(0x1b9)in _0x5e2d63)_0x5e2d63[_0x5dbf24(0x1b9)][_0x5dbf24(0x164)](_0xb5c179=>{const _0x4df473=_0x5dbf24;if(_0xb5c179[_0x4df473(0x184)]=!!_0x108104[_0x4df473(0x1ce)](_0x1d2e45=>_0x1d2e45['id']===_0xb5c179[_0x4df473(0x1a1)])||void 0x0===_0xb5c179[_0x4df473(0x1a1)],!_0xb5c179[_0x4df473(0x184)]){const _0x22b223=new _0x505ca8(_0x4df473(0x1e8),this,{'actionId':_0xb5c179['id'],'modelId':_0xb5c179[_0x4df473(0x1a1)]});_0x175649(_0x22b223[_0x4df473(0x1ac)]);}});else{if(_0x5e2d63[_0x5dbf24(0x184)]=!!_0x108104[_0x5dbf24(0x1ce)](_0x11a3c3=>_0x11a3c3['id']===_0x5e2d63[_0x5dbf24(0x1a1)])||void 0x0===_0x5e2d63[_0x5dbf24(0x1a1)],!_0x5e2d63[_0x5dbf24(0x184)]){const _0xb794af=new _0x505ca8(_0x5dbf24(0x1e8),this,{'actionId':_0x5e2d63['id'],'modelId':_0x5e2d63[_0x5dbf24(0x1a1)]});_0x175649(_0xb794af[_0x5dbf24(0x1ac)]);}}});}return _0x39e4e2;}[_0x216230(0x15f)](){const _0x5cbf5f=_0x216230,_0x1e7c0e=new _0x5c0ae6(this[_0x5cbf5f(0x163)][_0x5cbf5f(0x1c8)]);_0x1e7c0e[_0x5cbf5f(0x1cd)](),this[_0x5cbf5f(0x18d)](_0x1e7c0e),this[_0x5cbf5f(0x1cc)](),this[_0x5cbf5f(0x1ec)](_0x1e7c0e);}[_0x216230(0x18d)](_0x5bf3cc){const _0x25ad9a=_0x216230,_0x395a71=this[_0x25ad9a(0x163)][_0x25ad9a(0x1d1)][_0x25ad9a(0x1e2)](_0x25ad9a(0x1b6))??!0x0;this[_0x25ad9a(0x163)]['ui'][_0x25ad9a(0x1d2)][_0x25ad9a(0x14f)](_0x25ad9a(0x167),_0x5c892e({'editor':this[_0x25ad9a(0x163)],'content':this[_0x25ad9a(0x15c)],'buttonDefinition':{'icon':_0x12f288,'label':_0x4721f4(this[_0x25ad9a(0x163)][_0x25ad9a(0x1c8)],_0x25ad9a(0x153))},'bodyCollection':_0x5bf3cc,'hasSearch':_0x395a71}));}[_0x216230(0x181)](_0x46d947){const _0x58b335=_0x216230;this[_0x58b335(0x15c)]=_0x46d947[_0x58b335(0x172)](_0x4db070=>{const _0xbd6cf1=_0x58b335;if(_0xbd6cf1(0x1b9)in _0x4db070){const _0x1235d3=_0x4db070;return{..._0x1235d3,'actions':_0x1235d3[_0xbd6cf1(0x1b9)][_0xbd6cf1(0x172)](_0x18fed4=>{const {actions:_0x2a7e75,..._0x5c1c68}=_0x1235d3;return{..._0x18fed4,'parent':_0x5c1c68};})[_0xbd6cf1(0x1bd)](_0x47a7fd=>this[_0xbd6cf1(0x192)](_0x47a7fd))};}return _0x4db070;})[_0x58b335(0x1bd)](_0x497dfb=>_0x58b335(0x1b9)in _0x497dfb?_0x497dfb[_0x58b335(0x1b9)][_0x58b335(0x1be)]>0x0:this[_0x58b335(0x192)](_0x497dfb));}[_0x216230(0x192)](_0x10ce02){const _0x3f3dc4=_0x216230,_0x570466=this[_0x3f3dc4(0x163)][_0x3f3dc4(0x1d1)][_0x3f3dc4(0x1e2)](_0x3f3dc4(0x1d6))||[];return this[_0x3f3dc4(0x163)][_0x3f3dc4(0x16c)][_0x3f3dc4(0x1bb)](AIQuickActionTypeToPluginName[_0x10ce02[_0x3f3dc4(0x1c1)]])&&!_0x570466[_0x3f3dc4(0x1a0)](_0x10ce02['id'])&&!(_0x10ce02[_0x3f3dc4(0x1c1)]===AIQuickActionType[_0x3f3dc4(0x1ca)]&&!0x1===this[_0x3f3dc4(0x163)][_0x3f3dc4(0x1d1)][_0x3f3dc4(0x1e2)](_0x3f3dc4(0x161)));}[_0x216230(0x1ec)](_0x59b578){const _0x51251b=_0x216230;this[_0x51251b(0x15c)][_0x51251b(0x164)](_0x41b12b=>{const _0x4d4b7e=_0x51251b;if(_0x4d4b7e(0x1b9)in _0x41b12b){const _0x2e4bf4=_0x5c892e({'editor':this[_0x4d4b7e(0x163)],'content':_0x41b12b[_0x4d4b7e(0x1b9)],'buttonDefinition':_0x41b12b,'bodyCollection':_0x59b578});this[_0x4d4b7e(0x163)]['ui'][_0x4d4b7e(0x1d2)][_0x4d4b7e(0x14f)](_0x41b12b['id'],_0x2e4bf4),_0x41b12b[_0x4d4b7e(0x1b9)][_0x4d4b7e(0x164)](_0x17e031=>{const _0x48085f=_0x4d4b7e,_0x56ea19=_0x5c4f5d({'editor':this[_0x48085f(0x163)],'action':_0x17e031});this[_0x48085f(0x163)]['ui'][_0x48085f(0x1d2)][_0x48085f(0x14f)](_0x17e031['id'],_0x56ea19);});}else{const _0x4de57e=_0x5c4f5d({'editor':this[_0x4d4b7e(0x163)],'action':_0x41b12b,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x4d4b7e(0x163)]['ui'][_0x4d4b7e(0x1d2)][_0x4d4b7e(0x14f)](_0x41b12b['id'],_0x4de57e);}});}[_0x216230(0x1cc)](){const _0x4aa906=_0x216230;this[_0x4aa906(0x163)]['ui'][_0x4aa906(0x1d2)][_0x4aa906(0x14f)](_0x4aa906(0x1e6),_0x50aa02=>{const _0x3f1e62=_0x4aa906,_0x261649=new _0x40926b(_0x50aa02),_0x52ad97=_0x4721f4(_0x50aa02,_0x3f1e62(0x153));_0x261649[_0x3f1e62(0x1ab)][_0x3f1e62(0x151)]({'label':_0x52ad97,'icon':_0x12f288});const _0x34b5cd=new _0x4ab319(_0x50aa02);_0x34b5cd[_0x3f1e62(0x151)]({'ariaLabel':_0x52ad97,'role':_0x3f1e62(0x152)}),this[_0x3f1e62(0x15c)][_0x3f1e62(0x164)](_0x18c629=>{const _0x3044fc=_0x3f1e62;if(_0x3044fc(0x1b9)in _0x18c629){const _0x10d302=_0x18c629,_0x4a60a4=new _0x15dcee(_0x50aa02,_0x261649),_0x50c507=new _0x40926b(_0x50aa02),_0x462bc8=new _0x4ab319(_0x50aa02);_0x50c507[_0x3044fc(0x1ab)][_0x3044fc(0x151)]({'label':_0x10d302[_0x3044fc(0x1bf)],'icon':_0x10d302[_0x3044fc(0x174)]}),_0x10d302[_0x3044fc(0x1b9)][_0x3044fc(0x164)](_0x4f5f2b=>{const _0x31bd7e=_0x3044fc,_0x38aedc=new _0x15dcee(_0x50aa02,_0x50c507),_0x2afad1=new _0x3c867d(_0x50aa02);_0x2afad1[_0x31bd7e(0x151)]({'label':_0x4f5f2b[_0x31bd7e(0x18e)],'icon':_0x4f5f2b[_0x31bd7e(0x174)],'role':_0x31bd7e(0x16b),'isEnabled':_0x4f5f2b[_0x31bd7e(0x184)]}),_0x2afad1['on'](_0x31bd7e(0x17b),()=>{const _0x2067e5=_0x31bd7e;this[_0x2067e5(0x1db)](_0x4f5f2b);}),_0x2afad1[_0x31bd7e(0x1c5)](_0x31bd7e(0x17b))['to'](_0x50c507),_0x38aedc[_0x31bd7e(0x17d)][_0x31bd7e(0x14f)](_0x2afad1),_0x462bc8[_0x31bd7e(0x1a7)][_0x31bd7e(0x14f)](_0x38aedc);}),_0x50c507[_0x3044fc(0x1a6)][_0x3044fc(0x17d)][_0x3044fc(0x14f)](_0x462bc8),_0x4a60a4[_0x3044fc(0x17d)][_0x3044fc(0x14f)](_0x50c507),_0x34b5cd[_0x3044fc(0x1a7)][_0x3044fc(0x14f)](_0x4a60a4);}else{const _0x77bd72=_0x18c629,_0x4cfb78=new _0x15dcee(_0x50aa02,_0x261649),_0x3b3cda=new _0x3c867d(_0x50aa02);_0x3b3cda[_0x3044fc(0x151)]({'label':_0x77bd72[_0x3044fc(0x18e)],'icon':_0x77bd72[_0x3044fc(0x174)],'role':_0x3044fc(0x16b),'isEnabled':_0x77bd72[_0x3044fc(0x184)]}),_0x3b3cda['on'](_0x3044fc(0x17b),()=>{const _0x18a8f9=_0x3044fc;this[_0x18a8f9(0x1db)](_0x77bd72);}),_0x3b3cda[_0x3044fc(0x1c5)](_0x3044fc(0x17b))['to'](_0x261649),_0x4cfb78[_0x3044fc(0x17d)][_0x3044fc(0x14f)](_0x3b3cda),_0x34b5cd[_0x3044fc(0x1a7)][_0x3044fc(0x14f)](_0x4cfb78);}});const _0x1f61e2=Object[_0x3f1e62(0x16a)](AIQuickActionTypeToPluginName)[_0x3f1e62(0x1ae)](_0x5c6cbb=>this[_0x3f1e62(0x163)][_0x3f1e62(0x16c)][_0x3f1e62(0x1bb)](_0x5c6cbb));return _0x261649[_0x3f1e62(0x151)]({'isEnabled':_0x1f61e2}),_0x261649[_0x3f1e62(0x1a6)][_0x3f1e62(0x17d)][_0x3f1e62(0x14f)](_0x34b5cd),_0x261649;});}[_0x216230(0x1db)](_0x2f9a9f){const _0x388b19=_0x216230,_0x368cb6=this[_0x388b19(0x163)];_0x368cb6[_0x388b19(0x15a)][_0x388b19(0x18b)][_0x388b19(0x1e5)](),_0x368cb6[_0x388b19(0x178)][_0x388b19(0x17b)](_0x388b19(0x1c6),_0x2f9a9f);const _0x2cfc5f=_0x368cb6['ui'][_0x388b19(0x18b)][_0x388b19(0x155)];_0x2cfc5f&&_0x2cfc5f[_0x388b19(0x1d7)]&&_0x2cfc5f[_0x388b19(0x1d7)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4c0c(){const _0x350b84=['parent','1110815JaCxsm','extendTemplate','24650IzsRIT','displayedPrompt','set','96JWmaSd','385VUqxXC','2555510xKMCEx','745593eEVJsP','commands','41463SRhFtR','11ChizPk','editing','isEnabled','3AkQWLr','execute','bindTemplate','7278GTCGDy','locale','menuitem','focus','aiQuickAction','ck-ai-quick-actions-button','icon','447040eYjPfA','view'];_0x4c0c=function(){return _0x350b84;};return _0x4c0c();}(function(_0x4198ec,_0x19c856){const _0x40f304=_0x21cc,_0x35145d=_0x4198ec();while(!![]){try{const _0x4990be=parseInt(_0x40f304(0x16f))/0x1*(parseInt(_0x40f304(0x163))/0x2)+-parseInt(_0x40f304(0x169))/0x3+-parseInt(_0x40f304(0x179))/0x4+parseInt(_0x40f304(0x17c))/0x5+-parseInt(_0x40f304(0x172))/0x6*(parseInt(_0x40f304(0x167))/0x7)+parseInt(_0x40f304(0x166))/0x8*(parseInt(_0x40f304(0x16b))/0x9)+parseInt(_0x40f304(0x168))/0xa*(parseInt(_0x40f304(0x16c))/0xb);if(_0x4990be===_0x19c856)break;else _0x35145d['push'](_0x35145d['shift']());}catch(_0x4c22a5){_0x35145d['push'](_0x35145d['shift']());}}}(_0x4c0c,0x22e77));function _0x21cc(_0x223f8d,_0x361af3){const _0x4c0c27=_0x4c0c();return _0x21cc=function(_0x21cc21,_0x50bae6){_0x21cc21=_0x21cc21-0x163;let _0x216435=_0x4c0c27[_0x21cc21];return _0x216435;},_0x21cc(_0x223f8d,_0x361af3);}import{ButtonView as _0x3666c0}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x5d19dd}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x53eb6f){const {editor:_0x4b6e2c,action:_0x2c578b,withText:_0x33e29b=!0x1,withIcon:_0x203b86=!0x0,isInDropdown:_0x583948=!0x0,shouldPreventFocus:_0x187479=!0x1}=_0x53eb6f;return()=>{const _0x2e2f6e=_0x21cc,_0x4e875d=_0x4b6e2c[_0x2e2f6e(0x173)],_0x348170=new _0x3666c0(_0x4e875d),_0x4a2182=_0x348170[_0x2e2f6e(0x171)];_0x583948&&_0x348170[_0x2e2f6e(0x17d)]({'on':{'mouseenter':_0x4a2182['to'](()=>{const _0x493d46=_0x2e2f6e;_0x187479&&_0x187479()||_0x348170[_0x493d46(0x175)]();})}});const _0x5aa896=_0x2c578b[_0x2e2f6e(0x178)]??_0x2c578b[_0x2e2f6e(0x17b)]?.[_0x2e2f6e(0x178)];return _0x348170[_0x2e2f6e(0x165)]({'label':_0x2c578b[_0x2e2f6e(0x164)],'withText':_0x33e29b,'role':_0x2e2f6e(0x174),'icon':_0x203b86?_0x5aa896??_0x5d19dd:void 0x0,'tooltip':!_0x33e29b,'class':_0x2e2f6e(0x177),'isEnabled':_0x2c578b[_0x2e2f6e(0x16e)]}),_0x348170['on'](_0x2e2f6e(0x170),()=>{const _0x4d214c=_0x2e2f6e;_0x4b6e2c[_0x4d214c(0x16d)][_0x4d214c(0x17a)][_0x4d214c(0x175)](),_0x4b6e2c[_0x4d214c(0x16a)][_0x4d214c(0x170)](_0x4d214c(0x176),_0x2c578b);}),_0x348170;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x521c(_0x1ef46f,_0x45ca70){const _0x46b994=_0x46b9();return _0x521c=function(_0x521cf8,_0xea1648){_0x521cf8=_0x521cf8-0xa8;let _0x433a21=_0x46b994[_0x521cf8];return _0x433a21;},_0x521c(_0x1ef46f,_0x45ca70);}const _0x20ea39=_0x521c;(function(_0x2d861f,_0x304f62){const _0xe48084=_0x521c,_0x1b0011=_0x2d861f();while(!![]){try{const _0x3cff34=parseInt(_0xe48084(0x100))/0x1+parseInt(_0xe48084(0xda))/0x2*(parseInt(_0xe48084(0x107))/0x3)+-parseInt(_0xe48084(0x12c))/0x4+-parseInt(_0xe48084(0xb2))/0x5+parseInt(_0xe48084(0x11d))/0x6*(parseInt(_0xe48084(0x115))/0x7)+parseInt(_0xe48084(0xdb))/0x8*(parseInt(_0xe48084(0x12f))/0x9)+-parseInt(_0xe48084(0xeb))/0xa;if(_0x3cff34===_0x304f62)break;else _0x1b0011['push'](_0x1b0011['shift']());}catch(_0x3a5ebd){_0x1b0011['push'](_0x1b0011['shift']());}}}(_0x46b9,0xf149a));import{View as _0x27e8a1,ListItemView as _0x175075,ListView as _0x45b4dd,BalloonPanelView as _0x48b74f,DropdownMenuPanelPositioningFunctions as _0x22cbcc,ViewCollection as _0x47e9d7,FocusCycler as _0x22eaec,ButtonView as _0x545bff,IconView as _0x297612,HighlightedTextView as _0x312450,ButtonLabelWithHighlightView as _0x3fa8aa,SearchTextView as _0x330195}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2e767d}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x2731c6,KeystrokeHandler as _0x15de56}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x5e8664}from'./aiquickactionsbuttoncreator.js';function _0x46b9(){const _0x4a92c2=['eastSouth','get','focusCycler','reset','_createSearchTextView','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','isVisible','ck-ai-quick-actions-group-button','uiLanguageDirection','displayedPrompt','relatedTarget','3258736OUQNqy','_createActionGroupButton','ck-rounded-corners','27ghSHbO','_getPanelKeystroke','ck-button','_createGroupActionsList','menuitem','ArrowRight','span','ck-ai-quick-actions-button_with-group__close-paren','.ck-ai-quick-actions-group-panel','activeElement','execute','5481225GViBtI','AI_QUICK_ACTIONS_SEARCH','ArrowLeft','ck-reset_all','ck-dropdown-menu-list','fire','view','ck-ai-quick-actions-group-list','label','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','forEach','_hideNestedPanel','_isMovingToNestedMenu','_createListItems','aiQuickAction','isOn','focus','ck-ai-quick-actions','optionsListView','bindTemplate','closest','ck-ai-quick-actions-search-result-button_with-group','extendTemplate','ck-ai-quick-actions-button_with-group','queryView','key','ck-ai-quick-actions-group-panel','some','_createSearchResultActionButton','_getButtonKeystroke','_setupActionButtonExecution','_createSearchResultActionRow','_bodyCollection','pin','first','menu','show','_createSearchResultGroupedActionButton','ck-ai-quick-actions-search-result-button','button','6BIUxZx','4361704aADujV','commands','locale','keystrokes','addEventListener','addMany','.ck-ai-quick-actions-group-button','isEnabled','delete','ck-ai-quick-actions-search','element','chain','destroy','text','focusTracker','_showNestedPanel','14471380GcqutT','items','add','_hideAllNestedPanels','push','_setupGroupMenuBehavior','content','_searchTextView','ck-dropdown-menu__nested-menu__panel','ownerDocument','setTemplate','role','_createActionButton','parent','ck-ai-quick-actions-search-result__group-row','editing','resetSearch','_focusables','contains','render','actions','1665157zWBZRk','ck-ai-quick-actions-search-result__action-row','_hasSearch','_createSearchResultContentView','_allSearchableItems','children','ck-ai-quick-actions-search-result__content','6081KfIULU','bind','detachFromDom','_openNestedPanels','set','clear','_createSearchResultGroupRow','_handlePanelKeydown','_createSearchResultIndividualActionButton','mouseleave','rtl','ck-ai-quick-actions-button','ck-ai-quick-actions-button_with-group__open-paren','.ck-ai-quick-actions-group-list','56fWbxxH','div','ck-button_with-text','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_isSearchFocused','_handleSearchResultButtonClick','ck-ai-quick-actions-button__group-icon','icon','779628CZEcqF','hide','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','fieldView'];_0x46b9=function(){return _0x4a92c2;};return _0x46b9();}import{DropdownMenuButtonWithHighlightView as _0x52563d}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x4dce58}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x16193f}from'./aiquickactionsfilteredlistview.js';const Qs=_0x20ea39(0xd5),Gs=_0x20ea39(0xab);export class AIQuickActionsDropdownContentView extends _0x27e8a1{[_0x20ea39(0xd2)];[_0x20ea39(0xc4)];[_0x20ea39(0xf2)]=null;[_0x20ea39(0x104)]=[];[_0x20ea39(0x105)];[_0x20ea39(0xe9)];[_0x20ea39(0xde)];[_0x20ea39(0xfc)];[_0x20ea39(0x123)];[_0x20ea39(0x10a)]=new Set();[_0x20ea39(0x102)];constructor(_0x2511a8,_0x56fabb,_0x5f3b8f,_0x7c806d,_0xa2cd5e=!0x1){const _0x305ea2=_0x20ea39,_0x5703a2=_0x2511a8[_0x305ea2(0xdd)];super(_0x5703a2),this[_0x305ea2(0xd2)]=_0x7c806d,this[_0x305ea2(0x102)]=_0xa2cd5e;const _0x134976=this[_0x305ea2(0xbf)](_0x2511a8,_0x56fabb,_0x5f3b8f);this[_0x305ea2(0xc4)]=new _0x16193f(_0x5703a2,_0x134976,this[_0x305ea2(0x104)]),this[_0x305ea2(0xc4)][_0x305ea2(0xf6)]=Qs,this[_0x305ea2(0xc4)][_0x305ea2(0xec)][_0x305ea2(0xe0)](_0x134976),this[_0x305ea2(0xe9)]=new _0x2731c6(),this[_0x305ea2(0xde)]=new _0x15de56(),_0xa2cd5e&&(this[_0x305ea2(0xf2)]=this[_0x305ea2(0x125)]()),this[_0x305ea2(0xfc)]=_0x134976,this[_0x305ea2(0x123)]=new _0x22eaec({'focusables':this[_0x305ea2(0xfc)],'focusTracker':this[_0x305ea2(0xe9)],'keystrokeHandler':this[_0x305ea2(0xde)]}),_0xa2cd5e&&this[_0x305ea2(0xf2)]&&this[_0x305ea2(0x123)][_0x305ea2(0xe6)](this[_0x305ea2(0xf2)][_0x305ea2(0x123)]);const _0x3cd8f1=_0xa2cd5e&&this[_0x305ea2(0xf2)]?[this[_0x305ea2(0xf2)]]:[this[_0x305ea2(0xc4)]];this[_0x305ea2(0x105)]=new _0x47e9d7(_0x3cd8f1),this[_0x305ea2(0xf5)]({'tag':_0x305ea2(0x116),'attributes':{'class':['ck',_0x305ea2(0xb5),_0x305ea2(0xc3),_0x305ea2(0x12e)],'dir':_0x5703a2[_0x305ea2(0x129)]},'children':this[_0x305ea2(0x105)]});}[_0x20ea39(0x125)](){const _0x31517b=_0x20ea39;return new _0x330195(this[_0x31517b(0xdd)],{'filteredView':this[_0x31517b(0xc4)],'queryView':{'label':_0x4dce58(this[_0x31517b(0xdd)],_0x31517b(0xb3))},'class':_0x31517b(0xe4),'infoView':{'text':{'notFound':{'primary':_0x4dce58(this[_0x31517b(0xdd)],_0x31517b(0x118))}}}});}[_0x20ea39(0x119)](){const _0x11a7f6=_0x20ea39;if(!this[_0x11a7f6(0x102)]||!this[_0x11a7f6(0xf2)]||!this[_0x11a7f6(0xf2)][_0x11a7f6(0xca)][_0x11a7f6(0x120)][_0x11a7f6(0xe5)])return!0x1;const _0x108ff5=this[_0x11a7f6(0xf2)][_0x11a7f6(0xca)][_0x11a7f6(0x120)][_0x11a7f6(0xe5)][_0x11a7f6(0xf4)]?.[_0x11a7f6(0xb0)];return this[_0x11a7f6(0xf2)][_0x11a7f6(0xca)][_0x11a7f6(0x120)][_0x11a7f6(0xe5)][_0x11a7f6(0xfd)](_0x108ff5);}[_0x20ea39(0xbf)](_0x2bfe87,_0x29a41f,_0xe0d5f8){const _0x4e9310=_0x20ea39,_0x4cccc7=new _0x47e9d7();return _0x29a41f[_0x4e9310(0xbc)](_0x4d53ee=>{const _0x1a81f8=_0x4e9310;if(_0x1a81f8(0xff)in _0x4d53ee){const {listItem:_0x49b5c5}=this[_0x1a81f8(0x12d)](_0x2bfe87,_0x4d53ee,_0xe0d5f8);_0x4cccc7[_0x1a81f8(0xed)](_0x49b5c5),_0x4d53ee[_0x1a81f8(0xff)][_0x1a81f8(0xbc)](_0x1a06af=>{const _0x3e4c29=_0x1a81f8;this[_0x3e4c29(0xf7)](_0x2bfe87,_0x1a06af,_0x4d53ee[_0x3e4c29(0xba)],_0x4d53ee[_0x3e4c29(0x11c)]);const {listItem:_0x366e94,highlightViews:_0xf1daa4}=this[_0x3e4c29(0xce)](_0x2bfe87,_0x1a06af,_0x4d53ee[_0x3e4c29(0xba)],_0x4d53ee[_0x3e4c29(0x11c)]);this[_0x3e4c29(0x104)][_0x3e4c29(0xef)]({'item':_0x366e94,'label':_0x1a06af[_0x3e4c29(0x12a)],'groupLabel':_0x4d53ee[_0x3e4c29(0xba)],'highlightViews':_0xf1daa4});});}else{const {listItem:_0x5655c7}=this[_0x1a81f8(0xf7)](_0x2bfe87,_0x4d53ee);_0x4cccc7[_0x1a81f8(0xed)](_0x5655c7);const _0x466c25=_0x5655c7[_0x1a81f8(0x105)][_0x1a81f8(0xd4)];if(_0x466c25){const {listItem:_0x2cc7d8,highlightViews:_0x54b65c}=this[_0x1a81f8(0xce)](_0x2bfe87,_0x4d53ee);this[_0x1a81f8(0x104)][_0x1a81f8(0xef)]({'item':_0x2cc7d8,'label':_0x466c25[_0x1a81f8(0xba)]||'','highlightViews':_0x54b65c});}}}),_0x4cccc7;}[_0x20ea39(0xf7)](_0x5506bd,_0x4cf70f,_0xfcd4bf,_0x3a5275){const _0x5c2219=_0x20ea39,_0x3e3db6=new _0x175075(this[_0x5c2219(0xdd)]);if(_0xfcd4bf&&_0x3a5275){const _0x2cf84c=new _0x545bff(this[_0x5c2219(0xdd)]),_0x11a0af=_0x2cf84c[_0x5c2219(0xc5)],_0x2a5cb1=new _0x312450();_0x2a5cb1[_0x5c2219(0xe8)]=_0x4cf70f[_0x5c2219(0x12a)];const _0xe675bc=new _0x312450();_0xe675bc[_0x5c2219(0xe8)]=_0xfcd4bf;const _0x328380=new _0x297612();_0x328380[_0x5c2219(0xf1)]=_0x3a5275,_0x328380[_0x5c2219(0xc8)]({'attributes':{'class':_0x5c2219(0x11b)}});const _0x4924a1=new _0x27e8a1(this[_0x5c2219(0xdd)]);_0x4924a1[_0x5c2219(0xf5)]({'tag':_0x5c2219(0xad),'attributes':{'class':_0x5c2219(0x113)},'children':[{'text':'\x20('}]});const _0x197899=new _0x27e8a1(this[_0x5c2219(0xdd)]);return _0x197899[_0x5c2219(0xf5)]({'tag':_0x5c2219(0xad),'attributes':{'class':_0x5c2219(0xae)},'children':[{'text':')'}]}),_0x2cf84c[_0x5c2219(0x10b)]({'label':_0x4cf70f[_0x5c2219(0x12a)]+'\x20('+_0xfcd4bf+')','withText':!0x0,'role':_0x5c2219(0xab),'class':_0x5c2219(0x11f),'tooltip':!0x1}),_0x2cf84c[_0x5c2219(0xf5)]({'tag':_0x5c2219(0xd9),'attributes':{'class':['ck',_0x5c2219(0xa9),_0x5c2219(0x117),_0x5c2219(0x112),_0x5c2219(0xc9)],'type':_0x5c2219(0xd9),'role':_0x5c2219(0xab),'tabindex':'-1'},'children':[_0x2a5cb1,_0x4924a1,_0x328380,_0xe675bc,_0x197899],'on':{'mouseenter':_0x11a0af['to'](()=>{const _0x529b18=_0x5c2219;this[_0x529b18(0x119)]()||_0x2cf84c[_0x529b18(0xc2)]();}),'click':_0x11a0af['to'](()=>{const _0x322eeb=_0x5c2219;_0x2cf84c[_0x322eeb(0xb7)](_0x322eeb(0xb1));})}}),_0x2cf84c['on'](_0x5c2219(0xb1),()=>{const _0x473050=_0x5c2219;_0x5506bd[_0x473050(0xfa)][_0x473050(0xb8)][_0x473050(0xc2)](),_0x5506bd[_0x473050(0xdc)][_0x473050(0xb1)](_0x473050(0xc0),_0x4cf70f);}),_0x3e3db6[_0x5c2219(0x105)][_0x5c2219(0xed)](_0x2cf84c),{'listItem':_0x3e3db6,'highlightViews':[_0x2a5cb1,_0xe675bc]};}{const _0x286db4=new _0x3fa8aa(),_0x58673c=new _0x545bff(this[_0x5c2219(0xdd)],_0x286db4),_0x2783d5=_0x58673c[_0x5c2219(0xc5)],_0x425bf8=_0x4cf70f[_0x5c2219(0x11c)]??_0x4cf70f[_0x5c2219(0xf8)]?.[_0x5c2219(0x11c)],_0x113372=void 0x0!==_0x4cf70f[_0x5c2219(0x11c)];return _0x58673c[_0x5c2219(0x10b)]({'label':_0x4cf70f[_0x5c2219(0x12a)],'withText':!0x0,'role':_0x5c2219(0xab),'icon':_0x113372?_0x425bf8??_0x2e767d:void 0x0,'tooltip':!0x1,'class':_0x5c2219(0x112)}),_0x58673c[_0x5c2219(0xc8)]({'on':{'mouseenter':_0x2783d5['to'](()=>{const _0x32796d=_0x5c2219;this[_0x32796d(0x119)]()||_0x58673c[_0x32796d(0xc2)]();})}}),_0x58673c['on'](_0x5c2219(0xb1),()=>{const _0x477fa7=_0x5c2219;_0x5506bd[_0x477fa7(0xfa)][_0x477fa7(0xb8)][_0x477fa7(0xc2)](),_0x5506bd[_0x477fa7(0xdc)][_0x477fa7(0xb1)](_0x477fa7(0xc0),_0x4cf70f);}),_0x3e3db6[_0x5c2219(0x105)][_0x5c2219(0xed)](_0x58673c),{'listItem':_0x3e3db6,'highlightViews':[_0x286db4]};}}[_0x20ea39(0xce)](_0x29fac3,_0x7011e4,_0x94f691,_0x4d9df3){const _0x5afa1d=_0x20ea39;return _0x94f691&&_0x4d9df3?this[_0x5afa1d(0xd7)](_0x29fac3,_0x7011e4,_0x94f691,_0x4d9df3):this[_0x5afa1d(0x10f)](_0x29fac3,_0x7011e4);}[_0x20ea39(0xd7)](_0x5ce10f,_0x4b88be,_0x45acb0,_0x280143){const _0x404825=_0x20ea39,_0x1628ec=new _0x175075(this[_0x404825(0xdd)]),_0x56e8c7=new _0x545bff(this[_0x404825(0xdd)]),_0x2f9b17=_0x56e8c7[_0x404825(0xc5)],{view:_0x465710,highlightView:_0x1f4b65}=this[_0x404825(0x10d)](_0x45acb0,_0x280143),{view:_0x4a694d,highlightView:_0x2a534e}=this[_0x404825(0xd1)](_0x4b88be[_0x404825(0x12a)]),_0x588afc=this[_0x404825(0x103)](_0x465710,_0x4a694d);return _0x56e8c7[_0x404825(0x10b)]({'label':_0x4b88be[_0x404825(0x12a)],'withText':!0x0,'role':_0x404825(0xab),'class':_0x404825(0xbb),'tooltip':!0x1}),_0x56e8c7[_0x404825(0xf5)]({'tag':_0x404825(0xd9),'attributes':{'class':['ck',_0x404825(0xa9),_0x404825(0x117),_0x404825(0x112),_0x404825(0xd8),_0x404825(0xc7)],'type':_0x404825(0xd9),'role':_0x404825(0xab),'tabindex':'-1'},'children':[_0x588afc],'on':{'mouseenter':_0x2f9b17['to'](()=>{const _0x51f5eb=_0x404825;this[_0x51f5eb(0x119)]()||_0x56e8c7[_0x51f5eb(0xc2)]();}),'click':_0x2f9b17['to'](()=>{const _0x4b9efa=_0x404825;this[_0x4b9efa(0x11a)](_0x56e8c7);})}}),this[_0x404825(0xd0)](_0x56e8c7,_0x5ce10f,_0x4b88be),_0x1628ec[_0x404825(0x105)][_0x404825(0xed)](_0x56e8c7),{'listItem':_0x1628ec,'highlightViews':[_0x1f4b65,_0x2a534e]};}[_0x20ea39(0x10f)](_0x223b97,_0x29d9de){const _0x57a309=_0x20ea39,_0x52e2d4=new _0x175075(this[_0x57a309(0xdd)]),_0x39558c=new _0x3fa8aa(),_0x4ab76d=new _0x545bff(this[_0x57a309(0xdd)],_0x39558c),_0x14e9a4=_0x4ab76d[_0x57a309(0xc5)];return _0x4ab76d[_0x57a309(0x10b)]({'label':_0x29d9de[_0x57a309(0x12a)],'withText':!0x0,'role':_0x57a309(0xab),'icon':void 0x0,'tooltip':!0x1,'class':_0x57a309(0x126)}),_0x4ab76d[_0x57a309(0xc8)]({'on':{'mouseenter':_0x14e9a4['to'](()=>{const _0x7e1154=_0x57a309;this[_0x7e1154(0x119)]()||_0x4ab76d[_0x7e1154(0xc2)]();})}}),this[_0x57a309(0xd0)](_0x4ab76d,_0x223b97,_0x29d9de),_0x52e2d4[_0x57a309(0x105)][_0x57a309(0xed)](_0x4ab76d),{'listItem':_0x52e2d4,'highlightViews':[_0x39558c]};}[_0x20ea39(0x10d)](_0x2db08d,_0x4c1f81){const _0x534b03=_0x20ea39,_0x498869=new _0x27e8a1(this[_0x534b03(0xdd)]),_0x3a6d97=new _0x297612();_0x3a6d97[_0x534b03(0xf1)]=_0x4c1f81,_0x3a6d97[_0x534b03(0xc8)]({'attributes':{'class':_0x534b03(0x11b)}});const _0x21cb25=new _0x312450();return _0x21cb25[_0x534b03(0xe8)]=_0x2db08d,_0x498869[_0x534b03(0xf5)]({'tag':_0x534b03(0x116),'attributes':{'class':_0x534b03(0xf9)},'children':[_0x3a6d97,_0x21cb25]}),{'view':_0x498869,'highlightView':_0x21cb25};}[_0x20ea39(0xd1)](_0x36cb73){const _0x51bc11=_0x20ea39,_0x50eeb2=new _0x27e8a1(this[_0x51bc11(0xdd)]),_0xad797f=new _0x312450();return _0xad797f[_0x51bc11(0xe8)]=_0x36cb73,_0x50eeb2[_0x51bc11(0xf5)]({'tag':_0x51bc11(0x116),'attributes':{'class':_0x51bc11(0x101)},'children':[_0xad797f]}),{'view':_0x50eeb2,'highlightView':_0xad797f};}[_0x20ea39(0x103)](_0x4c326e,_0x491ea0){const _0x30e66f=_0x20ea39,_0xa9d141=new _0x27e8a1(this[_0x30e66f(0xdd)]);return _0xa9d141[_0x30e66f(0xf5)]({'tag':_0x30e66f(0x116),'attributes':{'class':_0x30e66f(0x106)},'children':[_0x4c326e,_0x491ea0]}),_0xa9d141;}[_0x20ea39(0xd0)](_0x4f612f,_0x25ebef,_0x9800f3){const _0x58f9d1=_0x20ea39;_0x4f612f['on'](_0x58f9d1(0xb1),()=>{const _0x26ec8e=_0x58f9d1;_0x25ebef[_0x26ec8e(0xfa)][_0x26ec8e(0xb8)][_0x26ec8e(0xc2)](),_0x25ebef[_0x26ec8e(0xdc)][_0x26ec8e(0xb1)](_0x26ec8e(0xc0),_0x9800f3);});}[_0x20ea39(0x12d)](_0x20dff9,_0x39f23f,_0x55ba5e){const _0x530332=_0x20ea39,_0x375146=new _0x175075(this[_0x530332(0xdd)]),_0x44d67a=new _0x3fa8aa(),_0x140b28=new _0x52563d(this[_0x530332(0xdd)],_0x44d67a),_0x223d12=_0x140b28[_0x530332(0xc5)],_0x5d9469=this[_0x530332(0xa8)](_0x55ba5e),_0x5215b0=this[_0x530332(0xaa)](_0x20dff9,_0x39f23f[_0x530332(0xff)],_0x55ba5e);_0x140b28[_0x530332(0x10b)]({'label':_0x39f23f[_0x530332(0xba)],'withText':!0x0,'role':Gs,'icon':_0x39f23f[_0x530332(0x11c)]??_0x2e767d,'isEnabled':_0x39f23f[_0x530332(0xff)][_0x530332(0xcd)](_0x4e19ce=>_0x4e19ce[_0x530332(0xe2)])}),_0x140b28[_0x530332(0xc8)]({'on':{'mouseenter':_0x223d12['to'](()=>{const _0x375658=_0x530332;this[_0x375658(0x119)]()||_0x140b28[_0x375658(0xc2)]();})}});const _0x57c46a=new _0x48b74f(this[_0x530332(0xdd)]);return _0x57c46a[_0x530332(0xc8)]({'attributes':{'class':['ck',_0x530332(0xb5),_0x530332(0xcc),_0x530332(0xf3)]},'on':{'keydown':_0x223d12['to'](_0x3b7eb7=>{const _0x5ba42e=_0x530332;this[_0x5ba42e(0x10e)](_0x3b7eb7,_0x5d9469,_0x140b28,_0x57c46a);})}}),_0x140b28[_0x530332(0x108)](_0x530332(0xc1))['to'](_0x57c46a,_0x530332(0x127)),this[_0x530332(0xd2)][_0x530332(0xed)](_0x57c46a),_0x57c46a[_0x530332(0xf1)][_0x530332(0xed)](_0x5215b0),this[_0x530332(0xf0)](_0x140b28,_0x57c46a),_0x375146[_0x530332(0x105)][_0x530332(0xed)](_0x140b28),{'listItem':_0x375146,'highlightView':_0x44d67a};}[_0x20ea39(0xaa)](_0x3ca2b1,_0x1dd13b,_0x5b0b4a){const _0xa5f76=_0x20ea39,_0x46d2a0=new _0x45b4dd(this[_0xa5f76(0xdd)]);return _0x46d2a0[_0xa5f76(0xc8)]({'attributes':{'class':['ck',_0xa5f76(0xb5),_0xa5f76(0xb9),_0xa5f76(0xb6)]}}),_0x1dd13b[_0xa5f76(0xbc)](_0x5d0c64=>{const _0x5278fd=_0xa5f76,_0x4acf67=new _0x175075(this[_0x5278fd(0xdd)]),_0x7da304=_0x5e8664({'editor':_0x3ca2b1,'action':_0x5d0c64,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x5278fd(0x119)]()})();_0x4acf67[_0x5278fd(0x105)][_0x5278fd(0xed)](_0x7da304),_0x5b0b4a[_0x5278fd(0xe9)][_0x5278fd(0xed)](_0x7da304),_0x46d2a0[_0x5278fd(0xec)][_0x5278fd(0xed)](_0x4acf67);}),_0x46d2a0;}[_0x20ea39(0xf0)](_0x3e25a5,_0x10f626){const _0x478485=_0x20ea39,_0x4c2115=_0x3e25a5[_0x478485(0xc5)],_0x4f4092=this[_0x478485(0xcf)](_0x3e25a5);_0x3e25a5[_0x478485(0xc8)]({'attributes':{'class':[_0x478485(0x128)]},'on':{'mouseenter':_0x4c2115['to'](()=>{const _0x592cfc=_0x478485;this[_0x592cfc(0xea)](_0x10f626,_0x3e25a5);}),'mouseleave':_0x4c2115['to'](_0x1f95c=>{const _0x44d507=_0x478485,_0x52c1ef=_0x1f95c[_0x44d507(0x12b)];this[_0x44d507(0xbe)](_0x52c1ef,_0x10f626)||this[_0x44d507(0xbd)](_0x10f626);}),'keydown':_0x4c2115['to'](_0xa856e7=>{const _0x17fe3e=_0x478485;_0xa856e7[_0x17fe3e(0xcb)]==_0x4f4092&&(this[_0x17fe3e(0xea)](_0x10f626,_0x3e25a5),_0x10f626[_0x17fe3e(0xf1)][_0x17fe3e(0x122)](0x0)[_0x17fe3e(0xc2)]());})}}),_0x10f626['on'](_0x478485(0xfe),()=>{const _0x33f64a=_0x478485;_0x10f626[_0x33f64a(0xe5)]?.[_0x33f64a(0xdf)](_0x33f64a(0x110),_0x2f1bad=>{const _0x1a0d92=_0x33f64a,_0x411e1a=_0x2f1bad[_0x1a0d92(0x12b)];_0x3e25a5[_0x1a0d92(0xe5)]?.[_0x1a0d92(0xfd)](_0x411e1a)||this[_0x1a0d92(0xbe)](_0x411e1a,_0x10f626)||this[_0x1a0d92(0xbd)](_0x10f626);});});}[_0x20ea39(0xea)](_0x50633d,_0x53c338){const _0x678d29=_0x20ea39;this[_0x678d29(0x10a)][_0x678d29(0xbc)](_0xbfeac6=>{const _0x3a2eee=_0x678d29;_0xbfeac6!==_0x50633d&&_0xbfeac6[_0x3a2eee(0x127)]&&_0xbfeac6[_0x3a2eee(0x11e)]();}),_0x50633d[_0x678d29(0xd6)](),_0x50633d[_0x678d29(0xd3)]({'positions':[_0x22cbcc[_0x678d29(0x121)]],'target':_0x53c338[_0x678d29(0xe5)],'fitInViewport':!0x0}),this[_0x678d29(0x10a)][_0x678d29(0xed)](_0x50633d);}[_0x20ea39(0xbd)](_0x598a81){const _0xd1512b=_0x20ea39;_0x598a81[_0xd1512b(0x11e)](),this[_0xd1512b(0x10a)][_0xd1512b(0xe3)](_0x598a81);}[_0x20ea39(0xee)](){const _0x269873=_0x20ea39;this[_0x269873(0x10a)][_0x269873(0xbc)](_0x2b91e2=>_0x2b91e2[_0x269873(0x11e)]()),this[_0x269873(0x10a)][_0x269873(0x10c)]();}[_0x20ea39(0xbe)](_0x3f65e3,_0xdbd928){const _0x1c2208=_0x20ea39;if(!_0x3f65e3)return!0x1;if(_0xdbd928[_0x1c2208(0xe5)]?.[_0x1c2208(0xfd)](_0x3f65e3))return!0x0;const _0x587b5e=_0x3f65e3;return _0x587b5e[_0x1c2208(0xc6)]&&(null!==_0x587b5e[_0x1c2208(0xc6)](_0x1c2208(0xaf))||null!==_0x587b5e[_0x1c2208(0xc6)](_0x1c2208(0x114))||null!==_0x587b5e[_0x1c2208(0xc6)](_0x1c2208(0xe1)));}[_0x20ea39(0xfb)](){const _0x474db9=_0x20ea39;this[_0x474db9(0xf2)]&&this[_0x474db9(0xf2)][_0x474db9(0x124)]();}[_0x20ea39(0xe7)](){const _0x2cbb19=_0x20ea39;this[_0x2cbb19(0xee)](),this[_0x2cbb19(0xd2)][_0x2cbb19(0x109)](),super[_0x2cbb19(0xe7)]();}[_0x20ea39(0xc2)](){const _0x169947=_0x20ea39;this[_0x169947(0xf2)]?this[_0x169947(0xf2)][_0x169947(0xc2)]():this[_0x169947(0xc4)][_0x169947(0xc2)]();}[_0x20ea39(0xa8)](_0x2b0dc5){const _0x653c6f=_0x20ea39;return _0x653c6f(0x111)===_0x2b0dc5[_0x653c6f(0xdd)][_0x653c6f(0x129)]?_0x653c6f(0xac):_0x653c6f(0xb4);}[_0x20ea39(0xcf)](_0x30a834){const _0x50c145=_0x20ea39;return _0x50c145(0x111)===_0x30a834[_0x50c145(0xdd)][_0x50c145(0x129)]?_0x50c145(0xb4):_0x50c145(0xac);}[_0x20ea39(0x10e)](_0x4988a0,_0x25932e,_0x4a567c,_0x4ce5e3){const _0x69ef09=_0x20ea39;_0x4988a0[_0x69ef09(0xcb)]==_0x25932e&&(_0x4a567c[_0x69ef09(0xc2)](),this[_0x69ef09(0xbd)](_0x4ce5e3));}[_0x20ea39(0x11a)](_0x52a95d){const _0x397cbb=_0x20ea39;_0x52a95d[_0x397cbb(0xb7)](_0x397cbb(0xb1));}}
|
|
23
|
+
function _0x537d(_0x37084e,_0x43d6e8){const _0x1cac3c=_0x1cac();return _0x537d=function(_0x537d71,_0x40a84f){_0x537d71=_0x537d71-0x1c0;let _0x571a40=_0x1cac3c[_0x537d71];return _0x571a40;},_0x537d(_0x37084e,_0x43d6e8);}const _0x1aa76c=_0x537d;(function(_0x498ada,_0xec757f){const _0x36a312=_0x537d,_0x558367=_0x498ada();while(!![]){try{const _0x27d07b=-parseInt(_0x36a312(0x1ed))/0x1+-parseInt(_0x36a312(0x1e1))/0x2+-parseInt(_0x36a312(0x216))/0x3+parseInt(_0x36a312(0x208))/0x4+-parseInt(_0x36a312(0x241))/0x5+-parseInt(_0x36a312(0x1c1))/0x6*(parseInt(_0x36a312(0x218))/0x7)+-parseInt(_0x36a312(0x211))/0x8*(-parseInt(_0x36a312(0x201))/0x9);if(_0x27d07b===_0xec757f)break;else _0x558367['push'](_0x558367['shift']());}catch(_0x13ea65){_0x558367['push'](_0x558367['shift']());}}}(_0x1cac,0x2be60));function _0x1cac(){const _0x4ca4f9=['1437428xIbbrV','text','isEnabled','_createActionGroupButton','_createSearchTextView','_createGroupActionsList','ck-ai-quick-actions-search-result__action-row','isOn','ArrowRight','2504MmpdmX','_getButtonKeystroke','delete','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','detachFromDom','142515XrkYXY','forEach','315NbqQtL','show','ck-ai-quick-actions','rtl','extendTemplate','_setupActionButtonExecution','AI_QUICK_ACTIONS_SEARCH','ownerDocument','get','element','commands','contains','content','mouseleave','focusCycler','label','set','_focusables','_handlePanelKeydown','reset','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','ck-reset_all','isVisible','resetSearch','_createSearchResultActionButton','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','div','.ck-ai-quick-actions-group-list','items','key','_createSearchResultGroupedActionButton','locale','_createActionButton','ck-ai-quick-actions-group-list','_isSearchFocused','push','ck-ai-quick-actions-search-result__content','activeElement','clear','ck-ai-quick-actions-button','menu','629330ONpcwg','_showNestedPanel','destroy','uiLanguageDirection','hide','ck-dropdown-menu__nested-menu__panel','focusTracker','8202wickcA','_createSearchResultIndividualActionButton','eastSouth','children','_createSearchResultActionRow','ck-button_with-text','_hasSearch','ck-ai-quick-actions-button__group-icon','pin','some','chain','actions','ck-button','ck-ai-quick-actions-button_with-group__close-paren','optionsListView','displayedPrompt','add','icon','_createListItems','editing','.ck-ai-quick-actions-group-panel','parent','queryView','relatedTarget','fire','_setupGroupMenuBehavior','ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','_createSearchResultGroupRow','ck-ai-quick-actions-button_with-group__open-paren','_getPanelKeystroke','_openNestedPanels','399942vULWUM','_hideAllNestedPanels','_bodyCollection','first','menuitem','_allSearchableItems','_handleSearchResultButtonClick','fieldView','ck-ai-quick-actions-search-result-button','ck-ai-quick-actions-group-panel','_isMovingToNestedMenu','ck-rounded-corners','262394lCahCI','ck-ai-quick-actions-search-result__group-row','ArrowLeft','ck-ai-quick-actions-group-button','ck-ai-quick-actions-button_with-group','_searchTextView','bind','_hideNestedPanel','.ck-ai-quick-actions-group-button','focus','view','bindTemplate','aiQuickAction','closest','_createSearchResultContentView','addMany','setTemplate','render','ck-dropdown-menu-list','ck-ai-quick-actions-search','14886UwUSMO','keystrokes','role','span','button','execute','addEventListener'];_0x1cac=function(){return _0x4ca4f9;};return _0x1cac();}import{View as _0x8428ba,ListItemView as _0x57b5bc,ListView as _0x3a1048,BalloonPanelView as _0x36a11d,DropdownMenuPanelPositioningFunctions as _0x24a958,ViewCollection as _0x542ad4,FocusCycler as _0x3dec3e,ButtonView as _0x5e2bb6,IconView as _0x506e5e,HighlightedTextView as _0x54f1dd,ButtonLabelWithHighlightView as _0x3754c4,SearchTextView as _0x41d7c1}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x21cd85}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x45fc1c,KeystrokeHandler as _0x23465e}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x33a302}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x43d63b}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x4ecd50}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x116c84}from'./aiquickactionsfilteredlistview.js';const Ls=_0x1aa76c(0x240),Qs=_0x1aa76c(0x1e5);export class AIQuickActionsDropdownContentView extends _0x8428ba{[_0x1aa76c(0x1e3)];[_0x1aa76c(0x1cf)];[_0x1aa76c(0x1f2)]=null;[_0x1aa76c(0x1e6)]=[];[_0x1aa76c(0x1c4)];[_0x1aa76c(0x1c0)];[_0x1aa76c(0x202)];[_0x1aa76c(0x229)];[_0x1aa76c(0x226)];[_0x1aa76c(0x1e0)]=new Set();[_0x1aa76c(0x1c7)];constructor(_0x3e38cb,_0x409aed,_0x15ae32,_0x31f56a,_0x10acf8=!0x1){const _0x2f4fba=_0x1aa76c,_0x4f1bcb=_0x3e38cb[_0x2f4fba(0x237)];super(_0x4f1bcb),this[_0x2f4fba(0x1e3)]=_0x31f56a,this[_0x2f4fba(0x1c7)]=_0x10acf8;const _0x5377e6=this[_0x2f4fba(0x1d3)](_0x3e38cb,_0x409aed,_0x15ae32);this[_0x2f4fba(0x1cf)]=new _0x116c84(_0x4f1bcb,_0x5377e6,this[_0x2f4fba(0x1e6)]),this[_0x2f4fba(0x1cf)][_0x2f4fba(0x203)]=Ls,this[_0x2f4fba(0x1cf)][_0x2f4fba(0x234)][_0x2f4fba(0x1fc)](_0x5377e6),this[_0x2f4fba(0x1c0)]=new _0x45fc1c(),this[_0x2f4fba(0x202)]=new _0x23465e(),_0x10acf8&&(this[_0x2f4fba(0x1f2)]=this[_0x2f4fba(0x20c)]()),this[_0x2f4fba(0x229)]=_0x5377e6,this[_0x2f4fba(0x226)]=new _0x3dec3e({'focusables':this[_0x2f4fba(0x229)],'focusTracker':this[_0x2f4fba(0x1c0)],'keystrokeHandler':this[_0x2f4fba(0x202)]}),_0x10acf8&&this[_0x2f4fba(0x1f2)]&&this[_0x2f4fba(0x226)][_0x2f4fba(0x1cb)](this[_0x2f4fba(0x1f2)][_0x2f4fba(0x226)]);const _0x849cfe=_0x10acf8&&this[_0x2f4fba(0x1f2)]?[this[_0x2f4fba(0x1f2)]]:[this[_0x2f4fba(0x1cf)]];this[_0x2f4fba(0x1c4)]=new _0x542ad4(_0x849cfe),this[_0x2f4fba(0x1fd)]({'tag':_0x2f4fba(0x232),'attributes':{'class':['ck',_0x2f4fba(0x22d),_0x2f4fba(0x21a),_0x2f4fba(0x1ec)],'dir':_0x4f1bcb[_0x2f4fba(0x244)]},'children':this[_0x2f4fba(0x1c4)]});}[_0x1aa76c(0x20c)](){const _0x35cff1=_0x1aa76c;return new _0x41d7c1(this[_0x35cff1(0x237)],{'filteredView':this[_0x35cff1(0x1cf)],'queryView':{'label':_0x4ecd50(this[_0x35cff1(0x237)],_0x35cff1(0x21e))},'class':_0x35cff1(0x200),'infoView':{'text':{'notFound':{'primary':_0x4ecd50(this[_0x35cff1(0x237)],_0x35cff1(0x231))}}}});}[_0x1aa76c(0x23a)](){const _0x1d48f2=_0x1aa76c;if(!this[_0x1d48f2(0x1c7)]||!this[_0x1d48f2(0x1f2)]||!this[_0x1d48f2(0x1f2)][_0x1d48f2(0x1d7)][_0x1d48f2(0x1e8)][_0x1d48f2(0x221)])return!0x1;const _0x3c7ec9=this[_0x1d48f2(0x1f2)][_0x1d48f2(0x1d7)][_0x1d48f2(0x1e8)][_0x1d48f2(0x221)][_0x1d48f2(0x21f)]?.[_0x1d48f2(0x23d)];return this[_0x1d48f2(0x1f2)][_0x1d48f2(0x1d7)][_0x1d48f2(0x1e8)][_0x1d48f2(0x221)][_0x1d48f2(0x223)](_0x3c7ec9);}[_0x1aa76c(0x1d3)](_0x13f975,_0x21e8a5,_0x38695d){const _0x4a69de=_0x1aa76c,_0x4e5c34=new _0x542ad4();return _0x21e8a5[_0x4a69de(0x217)](_0x630011=>{const _0x54062d=_0x4a69de;if(_0x54062d(0x1cc)in _0x630011){const {listItem:_0x4ba034}=this[_0x54062d(0x20b)](_0x13f975,_0x630011,_0x38695d);_0x4e5c34[_0x54062d(0x1d1)](_0x4ba034),_0x630011[_0x54062d(0x1cc)][_0x54062d(0x217)](_0x45be57=>{const _0x5bc1df=_0x54062d;this[_0x5bc1df(0x238)](_0x13f975,_0x45be57,_0x630011[_0x5bc1df(0x227)],_0x630011[_0x5bc1df(0x1d2)]);const {listItem:_0x18f8b3,highlightViews:_0x3523cc}=this[_0x5bc1df(0x230)](_0x13f975,_0x45be57,_0x630011[_0x5bc1df(0x227)],_0x630011[_0x5bc1df(0x1d2)]);this[_0x5bc1df(0x1e6)][_0x5bc1df(0x23b)]({'item':_0x18f8b3,'label':_0x45be57[_0x5bc1df(0x1d0)],'groupLabel':_0x630011[_0x5bc1df(0x227)],'highlightViews':_0x3523cc});});}else{const {listItem:_0x5c6f1c}=this[_0x54062d(0x238)](_0x13f975,_0x630011);_0x4e5c34[_0x54062d(0x1d1)](_0x5c6f1c);const _0x130ef=_0x5c6f1c[_0x54062d(0x1c4)][_0x54062d(0x1e4)];if(_0x130ef){const {listItem:_0x44ad5b,highlightViews:_0x4eae8a}=this[_0x54062d(0x230)](_0x13f975,_0x630011);this[_0x54062d(0x1e6)][_0x54062d(0x23b)]({'item':_0x44ad5b,'label':_0x130ef[_0x54062d(0x227)]||'','highlightViews':_0x4eae8a});}}}),_0x4e5c34;}[_0x1aa76c(0x238)](_0x5c67c6,_0x9839e8,_0x1e3846,_0x2142a3){const _0x15fa60=_0x1aa76c,_0x3bc259=new _0x57b5bc(this[_0x15fa60(0x237)]);if(_0x1e3846&&_0x2142a3){const _0x3832d2=new _0x5e2bb6(this[_0x15fa60(0x237)]),_0x426c62=_0x3832d2[_0x15fa60(0x1f8)],_0x170532=new _0x54f1dd();_0x170532[_0x15fa60(0x209)]=_0x9839e8[_0x15fa60(0x1d0)];const _0x2ed934=new _0x54f1dd();_0x2ed934[_0x15fa60(0x209)]=_0x1e3846;const _0xd3b81b=new _0x506e5e();_0xd3b81b[_0x15fa60(0x224)]=_0x2142a3,_0xd3b81b[_0x15fa60(0x21c)]({'attributes':{'class':_0x15fa60(0x1c8)}});const _0x384cba=new _0x8428ba(this[_0x15fa60(0x237)]);_0x384cba[_0x15fa60(0x1fd)]({'tag':_0x15fa60(0x204),'attributes':{'class':_0x15fa60(0x1de)},'children':[{'text':'\x20('}]});const _0x5f1e10=new _0x8428ba(this[_0x15fa60(0x237)]);return _0x5f1e10[_0x15fa60(0x1fd)]({'tag':_0x15fa60(0x204),'attributes':{'class':_0x15fa60(0x1ce)},'children':[{'text':')'}]}),_0x3832d2[_0x15fa60(0x228)]({'label':_0x9839e8[_0x15fa60(0x1d0)]+'\x20('+_0x1e3846+')','withText':!0x0,'role':_0x15fa60(0x1e5),'class':_0x15fa60(0x214),'tooltip':!0x1}),_0x3832d2[_0x15fa60(0x1fd)]({'tag':_0x15fa60(0x205),'attributes':{'class':['ck',_0x15fa60(0x1cd),_0x15fa60(0x1c6),_0x15fa60(0x23f),_0x15fa60(0x1f1)],'type':_0x15fa60(0x205),'role':_0x15fa60(0x1e5),'tabindex':'-1'},'children':[_0x170532,_0x384cba,_0xd3b81b,_0x2ed934,_0x5f1e10],'on':{'mouseenter':_0x426c62['to'](()=>{const _0x2617a4=_0x15fa60;this[_0x2617a4(0x23a)]()||_0x3832d2[_0x2617a4(0x1f6)]();}),'click':_0x426c62['to'](()=>{const _0x175672=_0x15fa60;_0x3832d2[_0x175672(0x1d9)](_0x175672(0x206));})}}),_0x3832d2['on'](_0x15fa60(0x206),()=>{const _0x434ef2=_0x15fa60;_0x5c67c6[_0x434ef2(0x1d4)][_0x434ef2(0x1f7)][_0x434ef2(0x1f6)](),_0x5c67c6[_0x434ef2(0x222)][_0x434ef2(0x206)](_0x434ef2(0x1f9),_0x9839e8);}),_0x3bc259[_0x15fa60(0x1c4)][_0x15fa60(0x1d1)](_0x3832d2),{'listItem':_0x3bc259,'highlightViews':[_0x170532,_0x2ed934]};}{const _0x2a3c7c=new _0x3754c4(),_0x5e4dc0=new _0x5e2bb6(this[_0x15fa60(0x237)],_0x2a3c7c),_0x4c8a62=_0x5e4dc0[_0x15fa60(0x1f8)],_0x28992f=_0x9839e8[_0x15fa60(0x1d2)]??_0x9839e8[_0x15fa60(0x1d6)]?.[_0x15fa60(0x1d2)],_0x448d03=void 0x0!==_0x9839e8[_0x15fa60(0x1d2)];return _0x5e4dc0[_0x15fa60(0x228)]({'label':_0x9839e8[_0x15fa60(0x1d0)],'withText':!0x0,'role':_0x15fa60(0x1e5),'icon':_0x448d03?_0x28992f??_0x21cd85:void 0x0,'tooltip':!0x1,'class':_0x15fa60(0x23f)}),_0x5e4dc0[_0x15fa60(0x21c)]({'on':{'mouseenter':_0x4c8a62['to'](()=>{const _0x3411b0=_0x15fa60;this[_0x3411b0(0x23a)]()||_0x5e4dc0[_0x3411b0(0x1f6)]();})}}),_0x5e4dc0['on'](_0x15fa60(0x206),()=>{const _0x4f9485=_0x15fa60;_0x5c67c6[_0x4f9485(0x1d4)][_0x4f9485(0x1f7)][_0x4f9485(0x1f6)](),_0x5c67c6[_0x4f9485(0x222)][_0x4f9485(0x206)](_0x4f9485(0x1f9),_0x9839e8);}),_0x3bc259[_0x15fa60(0x1c4)][_0x15fa60(0x1d1)](_0x5e4dc0),{'listItem':_0x3bc259,'highlightViews':[_0x2a3c7c]};}}[_0x1aa76c(0x230)](_0x968730,_0x2bb76a,_0x3cf831,_0x40f241){const _0xe29f8e=_0x1aa76c;return _0x3cf831&&_0x40f241?this[_0xe29f8e(0x236)](_0x968730,_0x2bb76a,_0x3cf831,_0x40f241):this[_0xe29f8e(0x1c2)](_0x968730,_0x2bb76a);}[_0x1aa76c(0x236)](_0x541b88,_0x33307c,_0x4decb9,_0x258e1e){const _0x222222=_0x1aa76c,_0x2bd4fa=new _0x57b5bc(this[_0x222222(0x237)]),_0x1ca797=new _0x5e2bb6(this[_0x222222(0x237)]),_0x591ebc=_0x1ca797[_0x222222(0x1f8)],{view:_0x295c13,highlightView:_0x2e8f71}=this[_0x222222(0x1dd)](_0x4decb9,_0x258e1e),{view:_0x33baa2,highlightView:_0x3ec51c}=this[_0x222222(0x1c5)](_0x33307c[_0x222222(0x1d0)]),_0x4377a2=this[_0x222222(0x1fb)](_0x295c13,_0x33baa2);return _0x1ca797[_0x222222(0x228)]({'label':_0x33307c[_0x222222(0x1d0)],'withText':!0x0,'role':_0x222222(0x1e5),'class':_0x222222(0x22c),'tooltip':!0x1}),_0x1ca797[_0x222222(0x1fd)]({'tag':_0x222222(0x205),'attributes':{'class':['ck',_0x222222(0x1cd),_0x222222(0x1c6),_0x222222(0x23f),_0x222222(0x1e9),_0x222222(0x1db)],'type':_0x222222(0x205),'role':_0x222222(0x1e5),'tabindex':'-1'},'children':[_0x4377a2],'on':{'mouseenter':_0x591ebc['to'](()=>{const _0x18cc41=_0x222222;this[_0x18cc41(0x23a)]()||_0x1ca797[_0x18cc41(0x1f6)]();}),'click':_0x591ebc['to'](()=>{const _0x49c3b4=_0x222222;this[_0x49c3b4(0x1e7)](_0x1ca797);})}}),this[_0x222222(0x21d)](_0x1ca797,_0x541b88,_0x33307c),_0x2bd4fa[_0x222222(0x1c4)][_0x222222(0x1d1)](_0x1ca797),{'listItem':_0x2bd4fa,'highlightViews':[_0x2e8f71,_0x3ec51c]};}[_0x1aa76c(0x1c2)](_0xf6570d,_0x592ed3){const _0x274ecb=_0x1aa76c,_0x3fa58e=new _0x57b5bc(this[_0x274ecb(0x237)]),_0x5818f6=new _0x3754c4(),_0x1b1ae5=new _0x5e2bb6(this[_0x274ecb(0x237)],_0x5818f6),_0x29b651=_0x1b1ae5[_0x274ecb(0x1f8)];return _0x1b1ae5[_0x274ecb(0x228)]({'label':_0x592ed3[_0x274ecb(0x1d0)],'withText':!0x0,'role':_0x274ecb(0x1e5),'icon':void 0x0,'tooltip':!0x1,'class':_0x274ecb(0x1dc)}),_0x1b1ae5[_0x274ecb(0x21c)]({'on':{'mouseenter':_0x29b651['to'](()=>{const _0x2bce47=_0x274ecb;this[_0x2bce47(0x23a)]()||_0x1b1ae5[_0x2bce47(0x1f6)]();})}}),this[_0x274ecb(0x21d)](_0x1b1ae5,_0xf6570d,_0x592ed3),_0x3fa58e[_0x274ecb(0x1c4)][_0x274ecb(0x1d1)](_0x1b1ae5),{'listItem':_0x3fa58e,'highlightViews':[_0x5818f6]};}[_0x1aa76c(0x1dd)](_0x4daa60,_0x2df0ba){const _0x4eeaf2=_0x1aa76c,_0x9eadae=new _0x8428ba(this[_0x4eeaf2(0x237)]),_0x318b12=new _0x506e5e();_0x318b12[_0x4eeaf2(0x224)]=_0x2df0ba,_0x318b12[_0x4eeaf2(0x21c)]({'attributes':{'class':_0x4eeaf2(0x1c8)}});const _0x1b15e2=new _0x54f1dd();return _0x1b15e2[_0x4eeaf2(0x209)]=_0x4daa60,_0x9eadae[_0x4eeaf2(0x1fd)]({'tag':_0x4eeaf2(0x232),'attributes':{'class':_0x4eeaf2(0x1ee)},'children':[_0x318b12,_0x1b15e2]}),{'view':_0x9eadae,'highlightView':_0x1b15e2};}[_0x1aa76c(0x1c5)](_0x1e1634){const _0x571fbf=_0x1aa76c,_0x2ab69f=new _0x8428ba(this[_0x571fbf(0x237)]),_0x37b084=new _0x54f1dd();return _0x37b084[_0x571fbf(0x209)]=_0x1e1634,_0x2ab69f[_0x571fbf(0x1fd)]({'tag':_0x571fbf(0x232),'attributes':{'class':_0x571fbf(0x20e)},'children':[_0x37b084]}),{'view':_0x2ab69f,'highlightView':_0x37b084};}[_0x1aa76c(0x1fb)](_0x53dd62,_0x29711d){const _0x82bea7=_0x1aa76c,_0x122e1b=new _0x8428ba(this[_0x82bea7(0x237)]);return _0x122e1b[_0x82bea7(0x1fd)]({'tag':_0x82bea7(0x232),'attributes':{'class':_0x82bea7(0x23c)},'children':[_0x53dd62,_0x29711d]}),_0x122e1b;}[_0x1aa76c(0x21d)](_0x3068d7,_0x3eb132,_0x3cb725){const _0x57e2e2=_0x1aa76c;_0x3068d7['on'](_0x57e2e2(0x206),()=>{const _0x55375e=_0x57e2e2;_0x3eb132[_0x55375e(0x1d4)][_0x55375e(0x1f7)][_0x55375e(0x1f6)](),_0x3eb132[_0x55375e(0x222)][_0x55375e(0x206)](_0x55375e(0x1f9),_0x3cb725);});}[_0x1aa76c(0x20b)](_0x9af7b0,_0x14fe01,_0x16c61c){const _0x1ceddf=_0x1aa76c,_0x8073e2=new _0x57b5bc(this[_0x1ceddf(0x237)]),_0x48a024=new _0x3754c4(),_0x4e1feb=new _0x43d63b(this[_0x1ceddf(0x237)],_0x48a024),_0x3f84ae=_0x4e1feb[_0x1ceddf(0x1f8)],_0x308f0a=this[_0x1ceddf(0x1df)](_0x16c61c),_0x3ab7eb=this[_0x1ceddf(0x20d)](_0x9af7b0,_0x14fe01[_0x1ceddf(0x1cc)],_0x16c61c);_0x4e1feb[_0x1ceddf(0x228)]({'label':_0x14fe01[_0x1ceddf(0x227)],'withText':!0x0,'role':Qs,'icon':_0x14fe01[_0x1ceddf(0x1d2)]??_0x21cd85,'isEnabled':_0x14fe01[_0x1ceddf(0x1cc)][_0x1ceddf(0x1ca)](_0x5d74be=>_0x5d74be[_0x1ceddf(0x20a)])}),_0x4e1feb[_0x1ceddf(0x21c)]({'on':{'mouseenter':_0x3f84ae['to'](()=>{const _0x1ea53d=_0x1ceddf;this[_0x1ea53d(0x23a)]()||_0x4e1feb[_0x1ea53d(0x1f6)]();})}});const _0x2cadaf=new _0x36a11d(this[_0x1ceddf(0x237)]);return _0x2cadaf[_0x1ceddf(0x21c)]({'attributes':{'class':['ck',_0x1ceddf(0x22d),_0x1ceddf(0x1ea),_0x1ceddf(0x246)]},'on':{'keydown':_0x3f84ae['to'](_0x22542b=>{const _0x4a1b24=_0x1ceddf;this[_0x4a1b24(0x22a)](_0x22542b,_0x308f0a,_0x4e1feb,_0x2cadaf);})}}),_0x4e1feb[_0x1ceddf(0x1f3)](_0x1ceddf(0x20f))['to'](_0x2cadaf,_0x1ceddf(0x22e)),this[_0x1ceddf(0x1e3)][_0x1ceddf(0x1d1)](_0x2cadaf),_0x2cadaf[_0x1ceddf(0x224)][_0x1ceddf(0x1d1)](_0x3ab7eb),this[_0x1ceddf(0x1da)](_0x4e1feb,_0x2cadaf),_0x8073e2[_0x1ceddf(0x1c4)][_0x1ceddf(0x1d1)](_0x4e1feb),{'listItem':_0x8073e2,'highlightView':_0x48a024};}[_0x1aa76c(0x20d)](_0x6acdb3,_0x5244b4,_0x452b48){const _0x5abe53=_0x1aa76c,_0x186e1c=new _0x3a1048(this[_0x5abe53(0x237)]);return _0x186e1c[_0x5abe53(0x21c)]({'attributes':{'class':['ck',_0x5abe53(0x22d),_0x5abe53(0x239),_0x5abe53(0x1ff)]}}),_0x5244b4[_0x5abe53(0x217)](_0x113153=>{const _0x614126=_0x5abe53,_0x312a97=new _0x57b5bc(this[_0x614126(0x237)]),_0x348fee=_0x33a302({'editor':_0x6acdb3,'action':_0x113153,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x614126(0x23a)]()})();_0x312a97[_0x614126(0x1c4)][_0x614126(0x1d1)](_0x348fee),_0x452b48[_0x614126(0x1c0)][_0x614126(0x1d1)](_0x348fee),_0x186e1c[_0x614126(0x234)][_0x614126(0x1d1)](_0x312a97);}),_0x186e1c;}[_0x1aa76c(0x1da)](_0x35007d,_0x28f24c){const _0x5ea5a2=_0x1aa76c,_0x4c384c=_0x35007d[_0x5ea5a2(0x1f8)],_0x262009=this[_0x5ea5a2(0x212)](_0x35007d);_0x35007d[_0x5ea5a2(0x21c)]({'attributes':{'class':[_0x5ea5a2(0x1f0)]},'on':{'mouseenter':_0x4c384c['to'](()=>{const _0x4aa5b6=_0x5ea5a2;this[_0x4aa5b6(0x242)](_0x28f24c,_0x35007d);}),'mouseleave':_0x4c384c['to'](_0xaf9e6a=>{const _0x54ad47=_0x5ea5a2,_0x3b44cd=_0xaf9e6a[_0x54ad47(0x1d8)];this[_0x54ad47(0x1eb)](_0x3b44cd,_0x28f24c)||this[_0x54ad47(0x1f4)](_0x28f24c);}),'keydown':_0x4c384c['to'](_0x47e5c5=>{const _0x44917c=_0x5ea5a2;_0x47e5c5[_0x44917c(0x235)]==_0x262009&&(this[_0x44917c(0x242)](_0x28f24c,_0x35007d),_0x28f24c[_0x44917c(0x224)][_0x44917c(0x220)](0x0)[_0x44917c(0x1f6)]());})}}),_0x28f24c['on'](_0x5ea5a2(0x1fe),()=>{const _0x34e878=_0x5ea5a2;_0x28f24c[_0x34e878(0x221)]?.[_0x34e878(0x207)](_0x34e878(0x225),_0x56417c=>{const _0x3828be=_0x34e878,_0x2e24e3=_0x56417c[_0x3828be(0x1d8)];_0x35007d[_0x3828be(0x221)]?.[_0x3828be(0x223)](_0x2e24e3)||this[_0x3828be(0x1eb)](_0x2e24e3,_0x28f24c)||this[_0x3828be(0x1f4)](_0x28f24c);});});}[_0x1aa76c(0x242)](_0x3e2041,_0x2326b6){const _0x22401b=_0x1aa76c;this[_0x22401b(0x1e0)][_0x22401b(0x217)](_0x1d0ace=>{const _0x52ce92=_0x22401b;_0x1d0ace!==_0x3e2041&&_0x1d0ace[_0x52ce92(0x22e)]&&_0x1d0ace[_0x52ce92(0x245)]();}),_0x3e2041[_0x22401b(0x219)](),_0x3e2041[_0x22401b(0x1c9)]({'positions':[_0x24a958[_0x22401b(0x1c3)]],'target':_0x2326b6[_0x22401b(0x221)],'fitInViewport':!0x0}),this[_0x22401b(0x1e0)][_0x22401b(0x1d1)](_0x3e2041);}[_0x1aa76c(0x1f4)](_0x226c72){const _0x5d0e92=_0x1aa76c;_0x226c72[_0x5d0e92(0x245)](),this[_0x5d0e92(0x1e0)][_0x5d0e92(0x213)](_0x226c72);}[_0x1aa76c(0x1e2)](){const _0x150690=_0x1aa76c;this[_0x150690(0x1e0)][_0x150690(0x217)](_0x47d857=>_0x47d857[_0x150690(0x245)]()),this[_0x150690(0x1e0)][_0x150690(0x23e)]();}[_0x1aa76c(0x1eb)](_0x179dba,_0x425ea6){const _0x287c40=_0x1aa76c;if(!_0x179dba)return!0x1;if(_0x425ea6[_0x287c40(0x221)]?.[_0x287c40(0x223)](_0x179dba))return!0x0;const _0x3629ac=_0x179dba;return _0x3629ac[_0x287c40(0x1fa)]&&(null!==_0x3629ac[_0x287c40(0x1fa)](_0x287c40(0x1d5))||null!==_0x3629ac[_0x287c40(0x1fa)](_0x287c40(0x233))||null!==_0x3629ac[_0x287c40(0x1fa)](_0x287c40(0x1f5)));}[_0x1aa76c(0x22f)](){const _0x8a3137=_0x1aa76c;this[_0x8a3137(0x1f2)]&&this[_0x8a3137(0x1f2)][_0x8a3137(0x22b)]();}[_0x1aa76c(0x243)](){const _0x460936=_0x1aa76c;this[_0x460936(0x1e2)](),this[_0x460936(0x1e3)][_0x460936(0x215)](),super[_0x460936(0x243)]();}[_0x1aa76c(0x1f6)](){const _0x3a74bf=_0x1aa76c;this[_0x3a74bf(0x1f2)]?this[_0x3a74bf(0x1f2)][_0x3a74bf(0x1f6)]():this[_0x3a74bf(0x1cf)][_0x3a74bf(0x1f6)]();}[_0x1aa76c(0x1df)](_0x122766){const _0x367819=_0x1aa76c;return _0x367819(0x21b)===_0x122766[_0x367819(0x237)][_0x367819(0x244)]?_0x367819(0x210):_0x367819(0x1ef);}[_0x1aa76c(0x212)](_0x43dab6){const _0x4a9dcb=_0x1aa76c;return _0x4a9dcb(0x21b)===_0x43dab6[_0x4a9dcb(0x237)][_0x4a9dcb(0x244)]?_0x4a9dcb(0x1ef):_0x4a9dcb(0x210);}[_0x1aa76c(0x22a)](_0x2a2bba,_0x330bd6,_0x25feaa,_0x2d6f58){const _0x50e3f8=_0x1aa76c;_0x2a2bba[_0x50e3f8(0x235)]==_0x330bd6&&(_0x25feaa[_0x50e3f8(0x1f6)](),this[_0x50e3f8(0x1f4)](_0x2d6f58));}[_0x1aa76c(0x1e7)](_0x746812){const _0x3ac021=_0x1aa76c;_0x746812[_0x3ac021(0x1d9)](_0x3ac021(0x206));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x38d4(){const _0x1bfcea=['children','243120AiqJnQ','add','model','get','AIEditing','846628CfSwtR','locale','resetSearch','hideFakeVisualSelection','getRanges','4396744dIxnPK','label','8998grILou','set','877038ledyNP','ck-ai-quick-actions-dropdown','243ObMouM','7EmwGrK','9yCRpNg','length','selection','from','icon','change:isOpen','2313399KlrRmP','24GOMIvN','ai-quick-actions-dropdown-selection','document','519950AFElcJ','plugins','showFakeVisualSelection','buttonView','5bUoDfv','panelView','has'];_0x38d4=function(){return _0x1bfcea;};return _0x38d4();}(function(_0x31dca3,_0x2d19ce){const _0x7039c4=_0x18d2,_0x4bae4f=_0x31dca3();while(!![]){try{const _0x4580f7=parseInt(_0x7039c4(0xf0))/0x1+-parseInt(_0x7039c4(0xfc))/0x2*(parseInt(_0x7039c4(0x100))/0x3)+parseInt(_0x7039c4(0xf5))/0x4*(parseInt(_0x7039c4(0xec))/0x5)+-parseInt(_0x7039c4(0xfe))/0x6*(-parseInt(_0x7039c4(0x101))/0x7)+-parseInt(_0x7039c4(0xfa))/0x8*(-parseInt(_0x7039c4(0x102))/0x9)+-parseInt(_0x7039c4(0xe8))/0xa+-parseInt(_0x7039c4(0xe4))/0xb*(parseInt(_0x7039c4(0xe5))/0xc);if(_0x4580f7===_0x2d19ce)break;else _0x4bae4f['push'](_0x4bae4f['shift']());}catch(_0x981613){_0x4bae4f['push'](_0x4bae4f['shift']());}}}(_0x38d4,0x4c8a7));function _0x18d2(_0x1edab3,_0xb7f7){const _0x38d43d=_0x38d4();return _0x18d2=function(_0x18d25d,_0x44feed){_0x18d25d=_0x18d25d-0xe3;let _0x4f627d=_0x38d43d[_0x18d25d];return _0x4f627d;},_0x18d2(_0x1edab3,_0xb7f7);}import{createDropdown as _0x2864a6}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x39e904}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x4dd131}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x3f0ecd}from'../../aicore/aiediting.js';export function aiQuickActionsDropdownCreator(_0x3d92db){const {editor:_0x996c92,content:_0x368702,buttonDefinition:_0x19f0d5,bodyCollection:_0x216e93,hasSearch:_0x2113f6=!0x1}=_0x3d92db;return()=>{const _0x3026ad=_0x18d2,_0x1c98cb=_0x996c92[_0x3026ad(0xf6)],_0x5548eb=_0x2864a6(_0x1c98cb);_0x5548eb[_0x3026ad(0xeb)][_0x3026ad(0xfd)]({'icon':_0x19f0d5[_0x3026ad(0x106)]??_0x39e904,'label':_0x19f0d5[_0x3026ad(0xfb)],'tooltip':!0x0}),_0x5548eb[_0x3026ad(0xfd)]({'class':_0x3026ad(0xff)});const _0xc50e20=new _0x4dd131(_0x996c92,_0x368702,_0x5548eb,_0x216e93,_0x2113f6);if(_0x5548eb[_0x3026ad(0xed)][_0x3026ad(0xef)][_0x3026ad(0xf1)](_0xc50e20),_0x2113f6){const _0x36e1e8=_0x3026ad(0xe6);_0x5548eb['on'](_0x3026ad(0xe3),(_0x1493db,_0x42e58a,_0xfc8094)=>{const _0x276e97=_0x3026ad;if(_0xfc8094){if(_0x996c92[_0x276e97(0xe9)][_0x276e97(0xee)](_0x276e97(0xf4))){const _0x3fc388=_0x996c92[_0x276e97(0xe9)][_0x276e97(0xf3)](_0x3f0ecd),_0xd6adf1=_0x996c92[_0x276e97(0xf2)][_0x276e97(0xe7)][_0x276e97(0x104)],_0x25abd5=Array[_0x276e97(0x105)](_0xd6adf1[_0x276e97(0xf9)]());_0x25abd5[_0x276e97(0x103)]>0x0&&_0x3fc388[_0x276e97(0xea)](_0x25abd5,_0x36e1e8,!0x1,!0x0);}}else _0x996c92[_0x276e97(0xe9)][_0x276e97(0xee)](_0x276e97(0xf4))&&_0x996c92[_0x276e97(0xe9)][_0x276e97(0xf3)](_0x3f0ecd)[_0x276e97(0xf8)](_0x36e1e8),_0xc50e20[_0x276e97(0xf7)]();});}return _0x5548eb;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1252(_0x52bc38,_0x1201bb){const _0xf4ca3c=_0xf4ca();return _0x1252=function(_0x125274,_0x419258){_0x125274=_0x125274-0xb2;let _0x355510=_0xf4ca3c[_0x125274];return _0x355510;},_0x1252(_0x52bc38,_0x1201bb);}const _0x2aeab0=_0x1252;(function(_0x4a102a,_0x45092e){const _0x5b5699=_0x1252,_0x2dc257=_0x4a102a();while(!![]){try{const _0x5ac2a8=-parseInt(_0x5b5699(0xc4))/0x1+parseInt(_0x5b5699(0xc2))/0x2*(-parseInt(_0x5b5699(0xb4))/0x3)+-parseInt(_0x5b5699(0xc3))/0x4*(-parseInt(_0x5b5699(0xc8))/0x5)+-parseInt(_0x5b5699(0xb3))/0x6*(-parseInt(_0x5b5699(0xca))/0x7)+parseInt(_0x5b5699(0xbc))/0x8+parseInt(_0x5b5699(0xcf))/0x9*(-parseInt(_0x5b5699(0xbd))/0xa)+-parseInt(_0x5b5699(0xcd))/0xb*(parseInt(_0x5b5699(0xb7))/0xc);if(_0x5ac2a8===_0x45092e)break;else _0x2dc257['push'](_0x2dc257['shift']());}catch(_0x415c6e){_0x2dc257['push'](_0x2dc257['shift']());}}}(_0xf4ca,0x6be9d));import{ListView as _0x4f7930}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x3b7691}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x4f7930{[_0x2aeab0(0xcb)];[_0x2aeab0(0xb9)];constructor(_0x2cfa52,_0x221e67,_0x1148a3){const _0x4b56f1=_0x2aeab0;super(_0x2cfa52),this[_0x4b56f1(0xcb)]=_0x221e67,this[_0x4b56f1(0xb9)]=_0x1148a3;}[_0x2aeab0(0xcc)](_0x28e7bd){const _0x24b696=_0x2aeab0;if(!_0x28e7bd)return this[_0x24b696(0xd0)][_0x24b696(0xc0)](),this[_0x24b696(0xd0)][_0x24b696(0xd2)](this[_0x24b696(0xcb)]),this[_0x24b696(0xc9)](),{'resultsCount':this[_0x24b696(0xcb)][_0x24b696(0xd1)],'totalItemsCount':this[_0x24b696(0xcb)][_0x24b696(0xd1)]};const _0x4fa81e=_0x28e7bd[_0x24b696(0xc6)][_0x24b696(0xbf)]()[_0x24b696(0xbe)](),_0x587e58=this[_0x24b696(0xb9)][_0x24b696(0xcc)](_0xb9e44=>(_0xb9e44[_0x24b696(0xb5)]?_0xb9e44[_0x24b696(0xb6)]+'\x20('+_0xb9e44[_0x24b696(0xb5)]+')':_0xb9e44[_0x24b696(0xb6)])[_0x24b696(0xbf)]()[_0x24b696(0xb2)](_0x4fa81e));return this[_0x24b696(0xd0)][_0x24b696(0xc0)](),this[_0x24b696(0xd0)][_0x24b696(0xd2)](_0x587e58[_0x24b696(0xc7)]((_0x1ba2ad,_0x580d06)=>{const _0x137740=_0x24b696,_0x25ffe3=_0x1ba2ad[_0x137740(0xb5)],_0x4b389f=_0x580d06[_0x137740(0xb5)];return _0x25ffe3||_0x4b389f?_0x25ffe3?0x1:-0x1:0x0;})[_0x24b696(0xbb)](_0x15b001=>_0x15b001[_0x24b696(0xc1)])),this[_0x24b696(0xd3)](_0x4fa81e,_0x587e58),{'resultsCount':_0x587e58[_0x24b696(0xd1)],'totalItemsCount':this[_0x24b696(0xb9)][_0x24b696(0xd1)]};}[_0x2aeab0(0xd3)](_0x17c54e,_0x4e02cb){const _0x43bf85=_0x2aeab0;if(!_0x17c54e)return;const _0x4d4f2b=new RegExp(_0x3b7691(_0x17c54e),'gi');_0x4e02cb[_0x43bf85(0xba)](_0x565bad=>{const _0x59998b=_0x43bf85;_0x565bad[_0x59998b(0xc5)]&&_0x565bad[_0x59998b(0xc5)][_0x59998b(0xba)](_0x1a9dcf=>{const _0xbc9cf9=_0x59998b;_0xbc9cf9(0xb8)==typeof _0x1a9dcf[_0xbc9cf9(0xce)]&&_0x1a9dcf[_0xbc9cf9(0xce)](_0x4d4f2b);});});}[_0x2aeab0(0xc9)](){const _0x1e8afa=_0x2aeab0;this[_0x1e8afa(0xb9)][_0x1e8afa(0xba)](_0x5ce536=>{const _0x35f475=_0x1e8afa;_0x5ce536[_0x35f475(0xc5)]&&_0x5ce536[_0x35f475(0xc5)][_0x35f475(0xba)](_0x44e1e6=>{const _0x50947c=_0x35f475;_0x50947c(0xb8)==typeof _0x44e1e6[_0x50947c(0xce)]&&_0x44e1e6[_0x50947c(0xce)](null);});});}}function _0xf4ca(){const _0x33ed64=['109682RHVRfb','4vhWYsH','695032CVmDiv','highlightViews','source','sort','4145165UHptZc','_clearHighlight','7zMiCAv','_allListItems','filter','187hcUxUA','highlightText','21267xJJQFP','items','length','addMany','_highlightQuery','includes','4462914fWZZNd','6cPoETC','groupLabel','label','637644bwGohw','function','_allSearchableItems','forEach','map','5732968DKYeuE','590XdfmWm','trim','toLowerCase','clear','item'];_0xf4ca=function(){return _0x33ed64;};return _0xf4ca();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x177a54,_0x444079){var _0xa9f481=_0x1273,_0x31cec5=_0x177a54();while(!![]){try{var _0x1c7b5e=-parseInt(_0xa9f481(0x129))/0x1*(parseInt(_0xa9f481(0x132))/0x2)+-parseInt(_0xa9f481(0x12c))/0x3+-parseInt(_0xa9f481(0x12b))/0x4*(-parseInt(_0xa9f481(0x12f))/0x5)+parseInt(_0xa9f481(0x131))/0x6+-parseInt(_0xa9f481(0x12e))/0x7*(parseInt(_0xa9f481(0x124))/0x8)+parseInt(_0xa9f481(0x133))/0x9*(-parseInt(_0xa9f481(0x125))/0xa)+parseInt(_0xa9f481(0x126))/0xb*(parseInt(_0xa9f481(0x127))/0xc);if(_0x1c7b5e===_0x444079)break;else _0x31cec5['push'](_0x31cec5['shift']());}catch(_0xe558b7){_0x31cec5['push'](_0x31cec5['shift']());}}}(_0x754f,0x5167d));function _0x754f(){var _0x2ff777=['171572SHERBF','713301NjjbfJ','ck-ai-balloon__disclaimer-content','41419zLXIhH','35gIwfVo','div','3038388PlUVtA','22940zxRUDb','7083Ggeqey','ck-ai-balloon__disclaimer','408YgEHnL','5320OZzQuJ','2189JYtPCq','50688aBLpUA','setTemplate','31AYqUcU','AI_DISCLAIMER_TEXT'];_0x754f=function(){return _0x2ff777;};return _0x754f();}import{View as _0x4edc5e}from'ckeditor5/src/ui.js';function _0x1273(_0x1da0a9,_0x427388){var _0x754fb=_0x754f();return _0x1273=function(_0x12739d,_0x29bd49){_0x12739d=_0x12739d-0x124;var _0x11226a=_0x754fb[_0x12739d];return _0x11226a;},_0x1273(_0x1da0a9,_0x427388);}import{getTranslation as _0x5a290c}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonDisclaimerView extends _0x4edc5e{constructor(_0xe26651){var _0x4add65=_0x1273;super(_0xe26651),this[_0x4add65(0x128)]({'tag':_0x4add65(0x130),'attributes':{'class':['ck',_0x4add65(0x134)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x4add65(0x12d)]},'children':[{'text':_0x5a290c(_0xe26651,_0x4add65(0x12a))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3899d8=_0xe26d;(function(_0x3f96a1,_0x5a6a96){const _0x55cf8a=_0xe26d,_0xa57150=_0x3f96a1();while(!![]){try{const _0x2605d4=-parseInt(_0x55cf8a(0x1d6))/0x1+parseInt(_0x55cf8a(0x1d3))/0x2*(-parseInt(_0x55cf8a(0x1bc))/0x3)+-parseInt(_0x55cf8a(0x1cc))/0x4+parseInt(_0x55cf8a(0x1c7))/0x5+-parseInt(_0x55cf8a(0x1d0))/0x6*(-parseInt(_0x55cf8a(0x1c0))/0x7)+parseInt(_0x55cf8a(0x1d1))/0x8+parseInt(_0x55cf8a(0x1c1))/0x9*(-parseInt(_0x55cf8a(0x1d2))/0xa);if(_0x2605d4===_0x5a6a96)break;else _0xa57150['push'](_0xa57150['shift']());}catch(_0x3c1029){_0xa57150['push'](_0xa57150['shift']());}}}(_0x3498,0x94e27));import{ToolbarView as _0x2b9302,ButtonView as _0x5262b4}from'ckeditor5/src/ui.js';import{getTranslation as _0x5b6e05}from'../../../aicore/utils/common-translations.js';function _0xe26d(_0x11cbab,_0x3c3801){const _0x3498b6=_0x3498();return _0xe26d=function(_0xe26d32,_0x396618){_0xe26d32=_0xe26d32-0x1bc;let _0x45e63b=_0x3498b6[_0xe26d32];return _0x45e63b;},_0xe26d(_0x11cbab,_0x3c3801);}function _0x3498(){const _0xe5c906=['2596720ZrmnMe','locale','isVisible','isEnabled','set','269784Jpllej','AI_BALLOON_SUGGEST_BUTTON','setButtonsVisibility','ck-ai-button-primary','6bWxtzY','3224816CbYETq','280PvEbyy','12fYgwMx','bind','add','918641EEFuKa','17826rlijcn','_createButton','items','ck-ai-balloon__toolbar','5510512qaTyrL','25101oYRYIP','extendTemplate','suggestButton','AI_BALLOON_APPLY_BUTTON','ck-ai-button-secondary','applyButton'];_0x3498=function(){return _0xe5c906;};return _0x3498();}export class AIActionsBalloonToolbarView extends _0x2b9302{constructor(_0x3fb003,_0x3bc549=!0x0,_0x1a547b=!0x0){const _0x4bcfbb=_0xe26d;super(_0x3fb003),this[_0x4bcfbb(0x1cb)](_0x4bcfbb(0x1ca),!0x1),_0x3bc549&&(this[_0x4bcfbb(0x1c6)]=this[_0x4bcfbb(0x1bd)](_0x5b6e05(_0x3fb003,_0x4bcfbb(0x1c4)),_0x4bcfbb(0x1cf)),this[_0x4bcfbb(0x1c6)][_0x4bcfbb(0x1d4)](_0x4bcfbb(0x1ca))['to'](this),this[_0x4bcfbb(0x1be)][_0x4bcfbb(0x1d5)](this[_0x4bcfbb(0x1c6)])),_0x1a547b&&(this[_0x4bcfbb(0x1c3)]=this[_0x4bcfbb(0x1bd)](_0x5b6e05(_0x3fb003,_0x4bcfbb(0x1cd)),_0x3bc549?_0x4bcfbb(0x1c5):_0x4bcfbb(0x1cf)),this[_0x4bcfbb(0x1c3)][_0x4bcfbb(0x1d4)](_0x4bcfbb(0x1ca))['to'](this),this[_0x4bcfbb(0x1be)][_0x4bcfbb(0x1d5)](this[_0x4bcfbb(0x1c3)])),this[_0x4bcfbb(0x1ce)]({'showApplyButton':_0x3bc549,'showSuggestButton':_0x1a547b}),this[_0x4bcfbb(0x1c2)]({'attributes':{'class':[_0x4bcfbb(0x1bf)]}});}[_0x3899d8(0x1ce)]({showApplyButton:_0x4edfdd,showSuggestButton:_0x1d0efc}){const _0x434fea=_0x3899d8;this[_0x434fea(0x1c6)]&&(this[_0x434fea(0x1c6)][_0x434fea(0x1c9)]=_0x4edfdd),this[_0x434fea(0x1c3)]&&(this[_0x434fea(0x1c3)][_0x434fea(0x1c9)]=_0x1d0efc);}[_0x3899d8(0x1bd)](_0x47c06b,_0xf1bfd5){const _0x482e88=_0x3899d8,_0x36341a=new _0x5262b4(this[_0x482e88(0x1c8)]);return _0x36341a[_0x482e88(0x1cb)]({'label':_0x47c06b,'class':_0xf1bfd5,'isVisible':!0x0,'withText':!0x0}),_0x36341a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3bca23=_0x7e87;(function(_0x533986,_0x30b23a){const _0x30b739=_0x7e87,_0x128a1e=_0x533986();while(!![]){try{const _0x2e729e=-parseInt(_0x30b739(0x208))/0x1+-parseInt(_0x30b739(0x1fc))/0x2+-parseInt(_0x30b739(0x1f8))/0x3+-parseInt(_0x30b739(0x20f))/0x4+parseInt(_0x30b739(0x220))/0x5*(parseInt(_0x30b739(0x247))/0x6)+-parseInt(_0x30b739(0x21a))/0x7+parseInt(_0x30b739(0x244))/0x8;if(_0x2e729e===_0x30b23a)break;else _0x128a1e['push'](_0x128a1e['shift']());}catch(_0x3362f0){_0x128a1e['push'](_0x128a1e['shift']());}}}(_0x3ac4,0x5302c));import{ViewCollection as _0x1591d6,FocusCycler as _0x3844c3,ButtonView as _0x51d84e,View as _0x5b54d0}from'ckeditor5/src/ui.js';import{FocusTracker as _0x230ae0,KeystrokeHandler as _0x1ea5a3}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x262c73}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x5c6d0c}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x50fe05}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x35c6e0}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5deb40}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x349479}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x4eebc2}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x16a11b,IconPreviousArrow as _0xda2287,IconRefresh as _0x549f85}from'@ckeditor/ckeditor5-icons';function _0x7e87(_0x14b704,_0x2e9e02){const _0x3ac496=_0x3ac4();return _0x7e87=function(_0x7e8722,_0x48735d){_0x7e8722=_0x7e8722-0x1eb;let _0x1fe255=_0x3ac496[_0x7e8722];return _0x1fe255;},_0x7e87(_0x14b704,_0x2e9e02);}import{getTranslation as _0x28283d}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x187db6}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x3bca23(0x20d),_0x3bca23(0x251)];function _0x3ac4(){const _0x44ef48=['resetShowChangesButton','_navigationNextButton','destroy','isEnabled','_config','ck-ai-actions-balloon-main','ck-ai-navigation-button\x20ck-ai-previous-button','_navigationCounter','removeMiniToolbarItem','isVisible','AI_ACTIONS_PREVIOUS_INTERACTION','1989624YOkOXS','updateContent','addMiniToolbarItem','isTrackChangesOn','1138928dArRDE','element','isBusy','focusFirst','bindTemplate','_navigationPreviousButton','_initializeScrollManager','_createStreamableContentView','_createMiniToolbar','clear','add','focusLast','10213elYFLE','1/1','showError','stopAutoScroll','_focusables','applySuggestion','setInteractionCount','2284724JITMqx','_isLoading','_keystrokes','_setupMiniToolbarButtons','_dialogContent','change:isTrackChangesOn','disableMiniToolbarButtons','focusCycler','AI_ACTIONS_NEXT_INTERACTION','_disclaimerView','set','4587618NWasxr','span','div','locale','AI_ACTIONS_TRY_AGAIN','_streamableContentView','25lwciUQ','ck-ai-navigation-button\x20ck-ai-next-button','ck-ai-custom-action-button','tryAgain','createCollection','_addDisclaimerView','clearContent','has','tab','focus','_toolbarView','showPrevious','stop','addMany','bind','_loaderView','_scrollManager','_toggleToolbarButtonsVisibility','_addContentWrapper','_hasError','_contentWrapper','execute','showNext','applyButton','start','toggleIsLoading','_navigationTryAgainButton','showLoader','ck-ai-actions-balloon-content-wrapper','_focusTracker','toggleShowChangesEnabled','listenTo','setTemplate','_errorView','_addToolbar','remove','17171576KwVAYE','availableActions','hideError','795606HNfJxu','showBlockingError','interactionCount','ck-ai-interaction-counter','_getScrollableElement','setButtonsVisibility','setIsLoading','render','suggestButton','clearErrorState','insertSuggestion','miniToolbarConfig','shift\x20+\x20tab','includes','fire','toggleShowChanges','hideLoader','isShowChangesOn','updateMiniToolbarButtons','startAutoScroll','ck-ai-actions-balloon-content','_miniToolbarView','update','items','setErrorState','_createLoaderView','delegate','toggleSuggestionDisplayMode'];_0x3ac4=function(){return _0x44ef48;};return _0x3ac4();}export class AIActionsBalloonView extends _0x187db6{[_0x3bca23(0x216)];[_0x3bca23(0x1f1)];[_0x3bca23(0x234)];[_0x3bca23(0x21f)];[_0x3bca23(0x22a)];[_0x3bca23(0x25c)];[_0x3bca23(0x22f)];[_0x3bca23(0x218)];[_0x3bca23(0x23d)];[_0x3bca23(0x211)];[_0x3bca23(0x213)];[_0x3bca23(0x20c)];[_0x3bca23(0x230)];[_0x3bca23(0x201)];[_0x3bca23(0x1ee)];[_0x3bca23(0x23a)];[_0x3bca23(0x1f4)];constructor(_0x4238f4,_0x333141){const _0x517d86=_0x3bca23;super(_0x4238f4),this[_0x517d86(0x219)](_0x517d86(0x1fe),!0x1),this[_0x517d86(0x219)](_0x517d86(0x1fb),!0x1),this[_0x517d86(0x219)](_0x517d86(0x210),!0x1),this[_0x517d86(0x219)](_0x517d86(0x233),!0x1),this[_0x517d86(0x1f1)]=_0x333141,this[_0x517d86(0x23d)]=new _0x230ae0(),this[_0x517d86(0x211)]=new _0x1ea5a3(),this[_0x517d86(0x20c)]=this[_0x517d86(0x224)](),this[_0x517d86(0x216)]=new _0x3844c3({'focusables':this[_0x517d86(0x20c)],'focusTracker':this[_0x517d86(0x23d)],'keystrokeHandler':this[_0x517d86(0x211)],'actions':{'focusPrevious':_0x517d86(0x253),'focusNext':_0x517d86(0x228)}}),this[_0x517d86(0x213)]=new _0x1591d6(),this[_0x517d86(0x232)](_0x333141),this[_0x517d86(0x225)](),this[_0x517d86(0x242)](_0x333141),this[_0x517d86(0x20c)][_0x517d86(0x205)](),this[_0x517d86(0x20c)][_0x517d86(0x22d)]([this[_0x517d86(0x22a)]]),this[_0x517d86(0x240)]({'tag':_0x517d86(0x21c),'attributes':{'class':[_0x517d86(0x1f2)]},'children':this[_0x517d86(0x213)]}),this['on'](_0x517d86(0x214),()=>{const _0x4bf68e=_0x517d86;this[_0x4bf68e(0x231)](_0x333141);});}[_0x3bca23(0x24e)](){const _0x1bc740=_0x3bca23;super[_0x1bc740(0x24e)]();for(const _0x602383 of this[_0x1bc740(0x20c)])this[_0x1bc740(0x23d)][_0x1bc740(0x206)](_0x602383[_0x1bc740(0x1fd)]);this[_0x1bc740(0x211)][_0x1bc740(0x23f)](this[_0x1bc740(0x1fd)]),this[_0x1bc740(0x202)]();}[_0x3bca23(0x1ef)](){const _0x202e4a=_0x3bca23;super[_0x202e4a(0x1ef)](),this[_0x202e4a(0x230)]&&this[_0x202e4a(0x230)][_0x202e4a(0x1ef)]();}[_0x3bca23(0x229)](_0x7119e6){const _0x5ceb87=_0x3bca23;-0x1===_0x7119e6?this[_0x5ceb87(0x216)][_0x5ceb87(0x207)]():this[_0x5ceb87(0x216)][_0x5ceb87(0x1ff)]();}[_0x3bca23(0x24d)](_0x2c919e){const _0x351be3=_0x3bca23;this[_0x351be3(0x210)]=_0x2c919e;}[_0x3bca23(0x25f)](){const _0x418821=_0x3bca23;this[_0x418821(0x233)]=!0x0,this[_0x418821(0x25c)][_0x418821(0x23e)](!0x1);}[_0x3bca23(0x250)](){const _0x281b85=_0x3bca23;this[_0x281b85(0x233)]=!0x1,this[_0x281b85(0x25c)][_0x281b85(0x23e)](!0x0);}[_0x3bca23(0x20a)](_0x49c816){const _0x540a8e=_0x3bca23;super[_0x540a8e(0x20a)](_0x49c816),this[_0x540a8e(0x213)][_0x540a8e(0x227)](this[_0x540a8e(0x241)])||this[_0x540a8e(0x213)][_0x540a8e(0x206)](this[_0x540a8e(0x241)],0x0);}[_0x3bca23(0x246)](){const _0x51d870=_0x3bca23;super[_0x51d870(0x246)](),this[_0x51d870(0x250)]();}[_0x3bca23(0x248)](_0x2b8eba){const _0x12c364=_0x3bca23;super[_0x12c364(0x248)](_0x2b8eba),this[_0x12c364(0x25f)]();}[_0x3bca23(0x1fa)](_0x5739ce){const _0x98784c=_0x3bca23;this[_0x98784c(0x25c)][_0x98784c(0x25e)][_0x98784c(0x227)](_0x5739ce)||this[_0x98784c(0x25c)][_0x98784c(0x25e)][_0x98784c(0x206)](_0x5739ce);}[_0x3bca23(0x1f5)](_0x5129c1){const _0x34b61d=_0x3bca23;this[_0x34b61d(0x25c)][_0x34b61d(0x25e)][_0x34b61d(0x227)](_0x5129c1)&&this[_0x34b61d(0x25c)][_0x34b61d(0x25e)][_0x34b61d(0x243)](_0x5129c1);}[_0x3bca23(0x23b)](){const _0x1fbd30=_0x3bca23;this[_0x1fbd30(0x22f)]&&(this[_0x1fbd30(0x210)]=!0x0);}[_0x3bca23(0x257)](){const _0x264598=_0x3bca23;this[_0x264598(0x22f)]&&(this[_0x264598(0x210)]=!0x1);}[_0x3bca23(0x231)]({showApplyButton:_0x2bf1ee,showSuggestButton:_0x1a4a53}){const _0x2b0ae9=_0x3bca23;_0x2bf1ee=_0x2bf1ee&&!this[_0x2b0ae9(0x1fb)]&&this[_0x2b0ae9(0x1f1)][_0x2b0ae9(0x245)][_0x2b0ae9(0x254)](_0x2b0ae9(0x20d)),_0x1a4a53=_0x1a4a53&&this[_0x2b0ae9(0x1f1)][_0x2b0ae9(0x245)][_0x2b0ae9(0x254)](_0x2b0ae9(0x251)),this[_0x2b0ae9(0x22a)][_0x2b0ae9(0x24c)]({'showApplyButton':_0x2bf1ee,'showSuggestButton':_0x1a4a53});}async[_0x3bca23(0x1f9)](_0x1b1b1e){const _0x5133db=_0x3bca23;await this[_0x5133db(0x21f)][_0x5133db(0x25d)](_0x1b1b1e);}[_0x3bca23(0x226)](){const _0x2b77d7=_0x3bca23;this[_0x2b77d7(0x21f)][_0x2b77d7(0x205)]();}[_0x3bca23(0x232)](_0x2d03ad){const _0x2eb950=_0x3bca23;this[_0x2eb950(0x234)]=new _0x5b54d0(this[_0x2eb950(0x21d)]),this[_0x2eb950(0x234)][_0x2eb950(0x240)]({'tag':_0x2eb950(0x21c),'attributes':{'class':[_0x2eb950(0x25b)]},'children':[{'tag':_0x2eb950(0x21c),'attributes':{'class':[_0x2eb950(0x23c)]},'children':[this[_0x2eb950(0x260)](),this[_0x2eb950(0x203)]()]},this[_0x2eb950(0x204)](_0x2d03ad[_0x2eb950(0x252)])]}),this[_0x2eb950(0x213)][_0x2eb950(0x206)](this[_0x2eb950(0x234)]);}[_0x3bca23(0x225)](){const _0x5c85e0=_0x3bca23;this[_0x5c85e0(0x218)]=new _0x5c6d0c(this[_0x5c85e0(0x21d)]),this[_0x5c85e0(0x213)][_0x5c85e0(0x206)](this[_0x5c85e0(0x218)]);}[_0x3bca23(0x242)]({showApplyButton:_0x3df0f2,showSuggestButton:_0x2bf9fe}){const _0x6fbcbd=_0x3bca23;this[_0x6fbcbd(0x22a)]=new _0x262c73(this[_0x6fbcbd(0x21d)],_0x3df0f2,_0x2bf9fe),this[_0x6fbcbd(0x22a)][_0x6fbcbd(0x237)]?.['on'](_0x6fbcbd(0x235),()=>{const _0x4955b5=_0x6fbcbd;this[_0x4955b5(0x255)](_0x4955b5(0x20d));}),this[_0x6fbcbd(0x22a)][_0x6fbcbd(0x24f)]?.['on'](_0x6fbcbd(0x235),()=>{const _0x56bedc=_0x6fbcbd;this[_0x56bedc(0x255)](_0x56bedc(0x251));}),this[_0x6fbcbd(0x22a)][_0x6fbcbd(0x22e)](_0x6fbcbd(0x1f0))['to'](this,_0x6fbcbd(0x1fe),this,_0x6fbcbd(0x210),this,_0x6fbcbd(0x233),(_0x198e3b,_0x205beb,_0x39dc8b)=>!(_0x198e3b||_0x205beb||_0x39dc8b)),this[_0x6fbcbd(0x231)]({'showApplyButton':_0x3df0f2,'showSuggestButton':_0x2bf9fe}),this[_0x6fbcbd(0x213)][_0x6fbcbd(0x206)](this[_0x6fbcbd(0x22a)]);}[_0x3bca23(0x204)](_0x2dea3c){const _0x55f3b0=_0x3bca23;return this[_0x55f3b0(0x25c)]=new _0x35c6e0(this[_0x55f3b0(0x21d)],_0x2dea3c),this[_0x55f3b0(0x25c)][_0x55f3b0(0x1eb)](..._0x5deb40)['to'](this),this[_0x55f3b0(0x25c)]['on'](_0x55f3b0(0x256),()=>{const _0x954bca=_0x55f3b0;this[_0x954bca(0x25c)][_0x954bca(0x258)]=!this[_0x954bca(0x25c)][_0x954bca(0x258)],this[_0x954bca(0x255)](_0x954bca(0x1ec),{'showDiff':this[_0x954bca(0x25c)][_0x954bca(0x258)]});}),this[_0x55f3b0(0x25c)][_0x55f3b0(0x22e)](_0x55f3b0(0x1f0))['to'](this,_0x55f3b0(0x1fe),this,_0x55f3b0(0x210),(_0x362a8c,_0xa52320)=>!(_0x362a8c||_0xa52320)),this[_0x55f3b0(0x25c)];}[_0x3bca23(0x260)](){const _0x4c3794=_0x3bca23;return this[_0x4c3794(0x22f)]=new _0x349479(this[_0x4c3794(0x21d)]),this[_0x4c3794(0x22f)][_0x4c3794(0x22e)](_0x4c3794(0x1f6))['to'](this,_0x4c3794(0x210)),this[_0x4c3794(0x22f)];}[_0x3bca23(0x203)](){const _0x543555=_0x3bca23;return this[_0x543555(0x21f)]=new _0x4eebc2(this[_0x543555(0x21d)]),this[_0x543555(0x21f)];}[_0x3bca23(0x212)](){const _0x42bf44=_0x3bca23,_0x30c188=new _0x51d84e(this[_0x42bf44(0x21d)]),_0x2cd3f7=new _0x51d84e(this[_0x42bf44(0x21d)]),_0x1d0c47=new AIActionsBalloonNavigationCounterView(this[_0x42bf44(0x21d)]),_0x5eee17=new _0x51d84e(this[_0x42bf44(0x21d)]);_0x30c188[_0x42bf44(0x219)]({'icon':_0x549f85,'label':_0x28283d(this[_0x42bf44(0x21d)],_0x42bf44(0x21e)),'tooltip':!0x0,'class':_0x42bf44(0x222)}),_0x2cd3f7[_0x42bf44(0x219)]({'icon':_0xda2287,'tooltip':_0x28283d(this[_0x42bf44(0x21d)],_0x42bf44(0x1f7)),'class':_0x42bf44(0x1f3)}),_0x5eee17[_0x42bf44(0x219)]({'icon':_0x16a11b,'tooltip':_0x28283d(this[_0x42bf44(0x21d)],_0x42bf44(0x217)),'class':_0x42bf44(0x221)}),_0x30c188[_0x42bf44(0x22e)](_0x42bf44(0x1f0))['to'](this,_0x42bf44(0x1fe),_0x3ba8ec=>!_0x3ba8ec),_0x30c188['on'](_0x42bf44(0x235),()=>{const _0x5f4bb9=_0x42bf44;this[_0x5f4bb9(0x255)](_0x5f4bb9(0x223));}),_0x2cd3f7[_0x42bf44(0x22e)](_0x42bf44(0x1f0))['to'](this,_0x42bf44(0x1fe),_0x11c1b5=>!_0x11c1b5),_0x2cd3f7['on'](_0x42bf44(0x235),()=>{const _0x3b91cf=_0x42bf44;this[_0x3b91cf(0x255)](_0x3b91cf(0x22b));}),_0x5eee17[_0x42bf44(0x22e)](_0x42bf44(0x1f0))['to'](this,_0x42bf44(0x1fe),_0x3ef8f6=>!_0x3ef8f6),_0x5eee17['on'](_0x42bf44(0x235),()=>{const _0x12d03a=_0x42bf44;this[_0x12d03a(0x255)](_0x12d03a(0x236));}),this[_0x42bf44(0x201)]=_0x2cd3f7,this[_0x42bf44(0x1f4)]=_0x1d0c47,this[_0x42bf44(0x1ee)]=_0x5eee17,this[_0x42bf44(0x23a)]=_0x30c188;}[_0x3bca23(0x259)](_0x856019,_0x51362a){const _0x20b3ae=_0x3bca23;this[_0x20b3ae(0x201)]||this[_0x20b3ae(0x212)]();const _0x511ec6=_0x856019>0x1;if(this[_0x20b3ae(0x1fa)](this[_0x20b3ae(0x23a)]),_0x511ec6){this[_0x20b3ae(0x1fa)](this[_0x20b3ae(0x201)]),this[_0x20b3ae(0x1fa)](this[_0x20b3ae(0x1f4)]),this[_0x20b3ae(0x1fa)](this[_0x20b3ae(0x1ee)]);const _0x4c21a6=_0x856019-_0x51362a;this[_0x20b3ae(0x1f4)][_0x20b3ae(0x20e)](_0x4c21a6+'/'+_0x856019),this[_0x20b3ae(0x201)][_0x20b3ae(0x1f0)]=_0x51362a<_0x856019-0x1,this[_0x20b3ae(0x1ee)][_0x20b3ae(0x1f0)]=_0x51362a>0x0;}else this[_0x20b3ae(0x1f5)](this[_0x20b3ae(0x201)]),this[_0x20b3ae(0x1f5)](this[_0x20b3ae(0x1f4)]),this[_0x20b3ae(0x1f5)](this[_0x20b3ae(0x1ee)]);}[_0x3bca23(0x215)](){const _0x4018bf=_0x3bca23;this[_0x4018bf(0x23a)][_0x4018bf(0x1f0)]=!0x1,this[_0x4018bf(0x201)][_0x4018bf(0x1f0)]=!0x1,this[_0x4018bf(0x1ee)][_0x4018bf(0x1f0)]=!0x1;}[_0x3bca23(0x25a)](){const _0x3bc22c=_0x3bca23;this[_0x3bc22c(0x202)](),this[_0x3bc22c(0x230)]&&this[_0x3bc22c(0x230)][_0x3bc22c(0x238)]();}[_0x3bca23(0x20b)](){const _0x303b44=_0x3bca23;this[_0x303b44(0x230)]&&this[_0x303b44(0x230)][_0x303b44(0x22c)]();}[_0x3bca23(0x239)](_0x16d97a){const _0x30c072=_0x3bca23;this[_0x30c072(0x210)]=_0x16d97a;}[_0x3bca23(0x1ed)](){const _0x409e23=_0x3bca23;this[_0x409e23(0x25c)][_0x409e23(0x258)]=!0x1;}[_0x3bca23(0x202)](){const _0x13c6a0=_0x3bca23,_0xe7229=this[_0x13c6a0(0x24b)]();_0xe7229&&!this[_0x13c6a0(0x230)]&&(this[_0x13c6a0(0x230)]=new _0x50fe05(_0xe7229));}[_0x3bca23(0x24b)](){const _0x43e96f=_0x3bca23;return this[_0x43e96f(0x21f)][_0x43e96f(0x1fd)];}}class AIActionsBalloonNavigationCounterView extends _0x5b54d0{constructor(_0x42fa80){const _0x5d53e4=_0x3bca23;super(_0x42fa80);const _0x1e8a02=this[_0x5d53e4(0x200)];this[_0x5d53e4(0x219)](_0x5d53e4(0x249),_0x5d53e4(0x209)),this[_0x5d53e4(0x240)]({'tag':_0x5d53e4(0x21b),'attributes':{'class':[_0x5d53e4(0x24a)]},'children':[{'text':_0x1e8a02['to'](_0x5d53e4(0x249))}]});}[_0x3bca23(0x20e)](_0x1edc2d){const _0x34f204=_0x3bca23;this[_0x34f204(0x219)](_0x34f204(0x249),_0x1edc2d);}}
|
|
23
|
+
const _0x46c224=_0x3412;function _0x3412(_0x31e70a,_0xd5aa90){const _0x5f9fbc=_0x5f9f();return _0x3412=function(_0x341239,_0x1770dd){_0x341239=_0x341239-0xc3;let _0x3beaca=_0x5f9fbc[_0x341239];return _0x3beaca;},_0x3412(_0x31e70a,_0xd5aa90);}(function(_0x48ca81,_0x473d51){const _0x2019e1=_0x3412,_0x346df7=_0x48ca81();while(!![]){try{const _0x34bab9=parseInt(_0x2019e1(0x132))/0x1+-parseInt(_0x2019e1(0xfb))/0x2+parseInt(_0x2019e1(0xfe))/0x3*(parseInt(_0x2019e1(0x133))/0x4)+parseInt(_0x2019e1(0xd1))/0x5*(parseInt(_0x2019e1(0x101))/0x6)+parseInt(_0x2019e1(0xff))/0x7*(parseInt(_0x2019e1(0x110))/0x8)+-parseInt(_0x2019e1(0xf2))/0x9*(-parseInt(_0x2019e1(0xe4))/0xa)+parseInt(_0x2019e1(0x118))/0xb*(-parseInt(_0x2019e1(0x130))/0xc);if(_0x34bab9===_0x473d51)break;else _0x346df7['push'](_0x346df7['shift']());}catch(_0x309ddc){_0x346df7['push'](_0x346df7['shift']());}}}(_0x5f9f,0xb47ea));import{ViewCollection as _0x114de1,FocusCycler as _0x489bd1,ButtonView as _0x16dfbf,View as _0x16e119}from'ckeditor5/src/ui.js';function _0x5f9f(){const _0x481b30=['hideError','remove','_toolbarView','insertSuggestion','_streamableContentView','updateContent','_addDisclaimerView','toggleSuggestionDisplayMode','tryAgain','availableActions','stopAutoScroll','stop','_createMiniToolbar','addMany','update','_createStreamableContentView','has','showError','ck-ai-actions-balloon-main','5SBFmql','listenTo','span','ck-ai-navigation-button\x20ck-ai-previous-button','clear','_toggleToolbarButtonsVisibility','_scrollManager','setTemplate','includes','_focusTracker','delegate','startAutoScroll','disableMiniToolbarButtons','_addToolbar','isBusy','_navigationCounter','_keystrokes','setButtonsVisibility','_navigationNextButton','290UUnAAr','toggleIsLoading','start','suggestButton','focusCycler','ck-ai-interaction-counter','_setupMiniToolbarButtons','locale','bind','_addContentWrapper','miniToolbarConfig','_miniToolbarView','showBlockingError','ck-ai-navigation-button\x20ck-ai-next-button','84087JyoynU','destroy','showPrevious','shift\x20+\x20tab','_navigationTryAgainButton','ck-ai-actions-balloon-content-wrapper','_navigationPreviousButton','AI_ACTIONS_TRY_AGAIN','_loaderView','11404MYAfEr','showLoader','add','3224496RDbZqA','21dOpENy','ck-ai-actions-balloon-content','1612602DkbAKO','_hasError','_getScrollableElement','updateMiniToolbarButtons','AI_ACTIONS_NEXT_INTERACTION','set','focus','isTrackChangesOn','items','isEnabled','_errorView','tab','removeMiniToolbarItem','ck-ai-custom-action-button','applyButton','3743728NIsbPq','element','toggleShowChanges','hideLoader','_createLoaderView','applySuggestion','isShowChangesOn','render','19117549hTLRFd','_contentWrapper','1/1','div','clearContent','toggleShowChangesEnabled','_isLoading','AI_ACTIONS_PREVIOUS_INTERACTION','setErrorState','clearErrorState','_dialogContent','showNext','_focusables','resetShowChangesButton','fire','focusLast','isVisible','bindTemplate','setInteractionCount','_initializeScrollManager','change:isTrackChangesOn','addMiniToolbarItem','setIsLoading','_disclaimerView','24DZMSZN','execute','1202482rrzUZu','4ypbgyg','createCollection','interactionCount','focusFirst','_config'];_0x5f9f=function(){return _0x481b30;};return _0x5f9f();}import{FocusTracker as _0x5dcc0c,KeystrokeHandler as _0x51d285}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x42a94f}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x4911e1}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x299fa7}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x352dc9}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x99d383}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x33ada5}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x133256}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x2ad432,IconPreviousArrow as _0x5e0f89,IconRefresh as _0xeaaa63}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2ab0af}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x233642}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x46c224(0x115),_0x46c224(0x13b)];export class AIActionsBalloonView extends _0x233642{[_0x46c224(0xe8)];[_0x46c224(0x137)];[_0x46c224(0x119)];[_0x46c224(0x13c)];[_0x46c224(0x13a)];[_0x46c224(0xef)];[_0x46c224(0xfa)];[_0x46c224(0x12f)];[_0x46c224(0xda)];[_0x46c224(0xe1)];[_0x46c224(0x122)];[_0x46c224(0x124)];[_0x46c224(0xd7)];[_0x46c224(0xf8)];[_0x46c224(0xe3)];[_0x46c224(0xf6)];[_0x46c224(0xe0)];constructor(_0x44fa6d,_0x3cad8c){const _0x1bdf23=_0x46c224;super(_0x44fa6d),this[_0x1bdf23(0x106)](_0x1bdf23(0xdf),!0x1),this[_0x1bdf23(0x106)](_0x1bdf23(0x108),!0x1),this[_0x1bdf23(0x106)](_0x1bdf23(0x11e),!0x1),this[_0x1bdf23(0x106)](_0x1bdf23(0x102),!0x1),this[_0x1bdf23(0x137)]=_0x3cad8c,this[_0x1bdf23(0xda)]=new _0x5dcc0c(),this[_0x1bdf23(0xe1)]=new _0x51d285(),this[_0x1bdf23(0x124)]=this[_0x1bdf23(0x134)](),this[_0x1bdf23(0xe8)]=new _0x489bd1({'focusables':this[_0x1bdf23(0x124)],'focusTracker':this[_0x1bdf23(0xda)],'keystrokeHandler':this[_0x1bdf23(0xe1)],'actions':{'focusPrevious':_0x1bdf23(0xf5),'focusNext':_0x1bdf23(0x10c)}}),this[_0x1bdf23(0x122)]=new _0x114de1(),this[_0x1bdf23(0xed)](_0x3cad8c),this[_0x1bdf23(0xc4)](),this[_0x1bdf23(0xde)](_0x3cad8c),this[_0x1bdf23(0x124)][_0x1bdf23(0xd5)](),this[_0x1bdf23(0x124)][_0x1bdf23(0xcb)]([this[_0x1bdf23(0x13a)]]),this[_0x1bdf23(0xd8)]({'tag':_0x1bdf23(0x11b),'attributes':{'class':[_0x1bdf23(0xd0)]},'children':this[_0x1bdf23(0x122)]}),this['on'](_0x1bdf23(0x12c),()=>{const _0x373178=_0x1bdf23;this[_0x373178(0xd6)](_0x3cad8c);});}[_0x46c224(0x117)](){const _0x73501e=_0x46c224;super[_0x73501e(0x117)]();for(const _0x3f54c6 of this[_0x73501e(0x124)])this[_0x73501e(0xda)][_0x73501e(0xfd)](_0x3f54c6[_0x73501e(0x111)]);this[_0x73501e(0xe1)][_0x73501e(0xd2)](this[_0x73501e(0x111)]),this[_0x73501e(0x12b)]();}[_0x46c224(0xf3)](){const _0x31e37b=_0x46c224;super[_0x31e37b(0xf3)](),this[_0x31e37b(0xd7)]&&this[_0x31e37b(0xd7)][_0x31e37b(0xf3)]();}[_0x46c224(0x107)](_0x2b1823){const _0x35bc5=_0x46c224;-0x1===_0x2b1823?this[_0x35bc5(0xe8)][_0x35bc5(0x127)]():this[_0x35bc5(0xe8)][_0x35bc5(0x136)]();}[_0x46c224(0x12e)](_0x4d067e){const _0x884f67=_0x46c224;this[_0x884f67(0x11e)]=_0x4d067e;}[_0x46c224(0x120)](){const _0x1dd14a=_0x46c224;this[_0x1dd14a(0x102)]=!0x0,this[_0x1dd14a(0xef)][_0x1dd14a(0x11d)](!0x1);}[_0x46c224(0x121)](){const _0x8bfa8b=_0x46c224;this[_0x8bfa8b(0x102)]=!0x1,this[_0x8bfa8b(0xef)][_0x8bfa8b(0x11d)](!0x0);}[_0x46c224(0xcf)](_0x160a54){const _0x4686c3=_0x46c224;super[_0x4686c3(0xcf)](_0x160a54),this[_0x4686c3(0x122)][_0x4686c3(0xce)](this[_0x4686c3(0x10b)])||this[_0x4686c3(0x122)][_0x4686c3(0xfd)](this[_0x4686c3(0x10b)],0x0);}[_0x46c224(0x138)](){const _0x261bcb=_0x46c224;super[_0x261bcb(0x138)](),this[_0x261bcb(0x121)]();}[_0x46c224(0xf0)](_0x552970){const _0x3bd806=_0x46c224;super[_0x3bd806(0xf0)](_0x552970),this[_0x3bd806(0x120)]();}[_0x46c224(0x12d)](_0x386ace){const _0x44a442=_0x46c224;this[_0x44a442(0xef)][_0x44a442(0x109)][_0x44a442(0xce)](_0x386ace)||this[_0x44a442(0xef)][_0x44a442(0x109)][_0x44a442(0xfd)](_0x386ace);}[_0x46c224(0x10d)](_0x5a502f){const _0x2589cd=_0x46c224;this[_0x2589cd(0xef)][_0x2589cd(0x109)][_0x2589cd(0xce)](_0x5a502f)&&this[_0x2589cd(0xef)][_0x2589cd(0x109)][_0x2589cd(0x139)](_0x5a502f);}[_0x46c224(0xfc)](){const _0x89abd5=_0x46c224;this[_0x89abd5(0xfa)]&&(this[_0x89abd5(0x11e)]=!0x0);}[_0x46c224(0x113)](){const _0x38709e=_0x46c224;this[_0x38709e(0xfa)]&&(this[_0x38709e(0x11e)]=!0x1);}[_0x46c224(0xd6)]({showApplyButton:_0x56d6ab,showSuggestButton:_0xc1913}){const _0x19d5e4=_0x46c224;_0x56d6ab=_0x56d6ab&&!this[_0x19d5e4(0x108)]&&this[_0x19d5e4(0x137)][_0x19d5e4(0xc7)][_0x19d5e4(0xd9)](_0x19d5e4(0x115)),_0xc1913=_0xc1913&&this[_0x19d5e4(0x137)][_0x19d5e4(0xc7)][_0x19d5e4(0xd9)](_0x19d5e4(0x13b)),this[_0x19d5e4(0x13a)][_0x19d5e4(0xe2)]({'showApplyButton':_0x56d6ab,'showSuggestButton':_0xc1913});}async[_0x46c224(0xc3)](_0x2c5952){const _0x29f8e7=_0x46c224;await this[_0x29f8e7(0x13c)][_0x29f8e7(0xcc)](_0x2c5952);}[_0x46c224(0x11c)](){const _0x44c7a4=_0x46c224;this[_0x44c7a4(0x13c)][_0x44c7a4(0xd5)]();}[_0x46c224(0xed)](_0xcb45){const _0x2bb5bd=_0x46c224;this[_0x2bb5bd(0x119)]=new _0x16e119(this[_0x2bb5bd(0xeb)]),this[_0x2bb5bd(0x119)][_0x2bb5bd(0xd8)]({'tag':_0x2bb5bd(0x11b),'attributes':{'class':[_0x2bb5bd(0x100)]},'children':[{'tag':_0x2bb5bd(0x11b),'attributes':{'class':[_0x2bb5bd(0xf7)]},'children':[this[_0x2bb5bd(0x114)](),this[_0x2bb5bd(0xcd)]()]},this[_0x2bb5bd(0xca)](_0xcb45[_0x2bb5bd(0xee)])]}),this[_0x2bb5bd(0x122)][_0x2bb5bd(0xfd)](this[_0x2bb5bd(0x119)]);}[_0x46c224(0xc4)](){const _0x288ca0=_0x46c224;this[_0x288ca0(0x12f)]=new _0x4911e1(this[_0x288ca0(0xeb)]),this[_0x288ca0(0x122)][_0x288ca0(0xfd)](this[_0x288ca0(0x12f)]);}[_0x46c224(0xde)]({showApplyButton:_0x373701,showSuggestButton:_0x2b80b4}){const _0x103642=_0x46c224;this[_0x103642(0x13a)]=new _0x42a94f(this[_0x103642(0xeb)],_0x373701,_0x2b80b4),this[_0x103642(0x13a)][_0x103642(0x10f)]?.['on'](_0x103642(0x131),()=>{const _0x610a58=_0x103642;this[_0x610a58(0x126)](_0x610a58(0x115));}),this[_0x103642(0x13a)][_0x103642(0xe7)]?.['on'](_0x103642(0x131),()=>{const _0x373fbf=_0x103642;this[_0x373fbf(0x126)](_0x373fbf(0x13b));}),this[_0x103642(0x13a)][_0x103642(0xec)](_0x103642(0x10a))['to'](this,_0x103642(0xdf),this,_0x103642(0x11e),this,_0x103642(0x102),(_0x29fb86,_0x2d181e,_0x55e4a1)=>!(_0x29fb86||_0x2d181e||_0x55e4a1)),this[_0x103642(0xd6)]({'showApplyButton':_0x373701,'showSuggestButton':_0x2b80b4}),this[_0x103642(0x122)][_0x103642(0xfd)](this[_0x103642(0x13a)]);}[_0x46c224(0xca)](_0x19d8b1){const _0x4ee7e8=_0x46c224;return this[_0x4ee7e8(0xef)]=new _0x352dc9(this[_0x4ee7e8(0xeb)],_0x19d8b1),this[_0x4ee7e8(0xef)][_0x4ee7e8(0xdb)](..._0x99d383)['to'](this),this[_0x4ee7e8(0xef)]['on'](_0x4ee7e8(0x112),()=>{const _0x490425=_0x4ee7e8;this[_0x490425(0xef)][_0x490425(0x116)]=!this[_0x490425(0xef)][_0x490425(0x116)],this[_0x490425(0x126)](_0x490425(0xc5),{'showDiff':this[_0x490425(0xef)][_0x490425(0x116)]});}),this[_0x4ee7e8(0xef)][_0x4ee7e8(0xec)](_0x4ee7e8(0x10a))['to'](this,_0x4ee7e8(0xdf),this,_0x4ee7e8(0x11e),(_0x18b051,_0x51fb36)=>!(_0x18b051||_0x51fb36)),this[_0x4ee7e8(0xef)];}[_0x46c224(0x114)](){const _0x330b77=_0x46c224;return this[_0x330b77(0xfa)]=new _0x33ada5(this[_0x330b77(0xeb)]),this[_0x330b77(0xfa)][_0x330b77(0xec)](_0x330b77(0x128))['to'](this,_0x330b77(0x11e)),this[_0x330b77(0xfa)];}[_0x46c224(0xcd)](){const _0x5ae34d=_0x46c224;return this[_0x5ae34d(0x13c)]=new _0x133256(this[_0x5ae34d(0xeb)]),this[_0x5ae34d(0x13c)];}[_0x46c224(0xea)](){const _0x112a3c=_0x46c224,_0x26eb60=new _0x16dfbf(this[_0x112a3c(0xeb)]),_0x123891=new _0x16dfbf(this[_0x112a3c(0xeb)]),_0x588725=new AIActionsBalloonNavigationCounterView(this[_0x112a3c(0xeb)]),_0x2ea8b9=new _0x16dfbf(this[_0x112a3c(0xeb)]);_0x26eb60[_0x112a3c(0x106)]({'icon':_0xeaaa63,'label':_0x2ab0af(this[_0x112a3c(0xeb)],_0x112a3c(0xf9)),'tooltip':!0x0,'class':_0x112a3c(0x10e)}),_0x123891[_0x112a3c(0x106)]({'icon':_0x5e0f89,'tooltip':_0x2ab0af(this[_0x112a3c(0xeb)],_0x112a3c(0x11f)),'class':_0x112a3c(0xd4)}),_0x2ea8b9[_0x112a3c(0x106)]({'icon':_0x2ad432,'tooltip':_0x2ab0af(this[_0x112a3c(0xeb)],_0x112a3c(0x105)),'class':_0x112a3c(0xf1)}),_0x26eb60[_0x112a3c(0xec)](_0x112a3c(0x10a))['to'](this,_0x112a3c(0xdf),_0x19c5b9=>!_0x19c5b9),_0x26eb60['on'](_0x112a3c(0x131),()=>{const _0x3e34c1=_0x112a3c;this[_0x3e34c1(0x126)](_0x3e34c1(0xc6));}),_0x123891[_0x112a3c(0xec)](_0x112a3c(0x10a))['to'](this,_0x112a3c(0xdf),_0xf4873=>!_0xf4873),_0x123891['on'](_0x112a3c(0x131),()=>{const _0x26b99d=_0x112a3c;this[_0x26b99d(0x126)](_0x26b99d(0xf4));}),_0x2ea8b9[_0x112a3c(0xec)](_0x112a3c(0x10a))['to'](this,_0x112a3c(0xdf),_0x13afa1=>!_0x13afa1),_0x2ea8b9['on'](_0x112a3c(0x131),()=>{const _0x420ebd=_0x112a3c;this[_0x420ebd(0x126)](_0x420ebd(0x123));}),this[_0x112a3c(0xf8)]=_0x123891,this[_0x112a3c(0xe0)]=_0x588725,this[_0x112a3c(0xe3)]=_0x2ea8b9,this[_0x112a3c(0xf6)]=_0x26eb60;}[_0x46c224(0x104)](_0x4a6abd,_0x14e6ff){const _0x310180=_0x46c224;this[_0x310180(0xf8)]||this[_0x310180(0xea)]();const _0x148c1f=_0x4a6abd>0x1;if(this[_0x310180(0x12d)](this[_0x310180(0xf6)]),_0x148c1f){this[_0x310180(0x12d)](this[_0x310180(0xf8)]),this[_0x310180(0x12d)](this[_0x310180(0xe0)]),this[_0x310180(0x12d)](this[_0x310180(0xe3)]);const _0x361a7b=_0x4a6abd-_0x14e6ff;this[_0x310180(0xe0)][_0x310180(0x12a)](_0x361a7b+'/'+_0x4a6abd),this[_0x310180(0xf8)][_0x310180(0x10a)]=_0x14e6ff<_0x4a6abd-0x1,this[_0x310180(0xe3)][_0x310180(0x10a)]=_0x14e6ff>0x0;}else this[_0x310180(0x10d)](this[_0x310180(0xf8)]),this[_0x310180(0x10d)](this[_0x310180(0xe0)]),this[_0x310180(0x10d)](this[_0x310180(0xe3)]);}[_0x46c224(0xdd)](){const _0x2aaeca=_0x46c224;this[_0x2aaeca(0xf6)][_0x2aaeca(0x10a)]=!0x1,this[_0x2aaeca(0xf8)][_0x2aaeca(0x10a)]=!0x1,this[_0x2aaeca(0xe3)][_0x2aaeca(0x10a)]=!0x1;}[_0x46c224(0xdc)](){const _0x1213e1=_0x46c224;this[_0x1213e1(0x12b)](),this[_0x1213e1(0xd7)]&&this[_0x1213e1(0xd7)][_0x1213e1(0xe6)]();}[_0x46c224(0xc8)](){const _0x5316a7=_0x46c224;this[_0x5316a7(0xd7)]&&this[_0x5316a7(0xd7)][_0x5316a7(0xc9)]();}[_0x46c224(0xe5)](_0x3803e2){const _0x5ee329=_0x46c224;this[_0x5ee329(0x11e)]=_0x3803e2;}[_0x46c224(0x125)](){const _0xce961e=_0x46c224;this[_0xce961e(0xef)][_0xce961e(0x116)]=!0x1;}[_0x46c224(0x12b)](){const _0x5d275c=_0x46c224,_0x6beeab=this[_0x5d275c(0x103)]();_0x6beeab&&!this[_0x5d275c(0xd7)]&&(this[_0x5d275c(0xd7)]=new _0x299fa7(_0x6beeab));}[_0x46c224(0x103)](){const _0x2e3ee7=_0x46c224;return this[_0x2e3ee7(0x13c)][_0x2e3ee7(0x111)];}}class AIActionsBalloonNavigationCounterView extends _0x16e119{constructor(_0x4e2fc8){const _0x65c033=_0x46c224;super(_0x4e2fc8);const _0x871c05=this[_0x65c033(0x129)];this[_0x65c033(0x106)](_0x65c033(0x135),_0x65c033(0x11a)),this[_0x65c033(0xd8)]({'tag':_0x65c033(0xd3),'attributes':{'class':[_0x65c033(0xe9)]},'children':[{'text':_0x871c05['to'](_0x65c033(0x135))}]});}[_0x46c224(0x12a)](_0x5e68be){const _0x539301=_0x46c224;this[_0x539301(0x106)](_0x539301(0x135),_0x5e68be);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c8dcb=_0x88a8;function _0x200b(){const _0x26a13b=['extendTemplate','25203684GNvKRw','56310egdcQn','1602WhyJzM','2940126JSMuan','634160sakrbP','8368tgDqaZ','106sTXoju','40PPUyvH','set','children','mouseenter','ck-dropdown-menu-list__nested-menu__button__arrow','isOn','content','14669jQEVYn','1889832gAEYTU','arrowView','add','render','_createArrowView','menuitem','2046CseBNu','ck-dropdown-menu-list__nested-menu__button','bindTemplate','7QDOOUR'];_0x200b=function(){return _0x26a13b;};return _0x200b();}(function(_0x267ea2,_0x441d65){const _0x29c5f3=_0x88a8,_0x3f0eea=_0x267ea2();while(!![]){try{const _0x4fdaae=parseInt(_0x29c5f3(0xbe))/0x1*(-parseInt(_0x29c5f3(0xb6))/0x2)+-parseInt(_0x29c5f3(0xcd))/0x3+parseInt(_0x29c5f3(0xce))/0x4*(parseInt(_0x29c5f3(0xb7))/0x5)+-parseInt(_0x29c5f3(0xbf))/0x6*(-parseInt(_0x29c5f3(0xc8))/0x7)+parseInt(_0x29c5f3(0xb5))/0x8*(-parseInt(_0x29c5f3(0xcc))/0x9)+parseInt(_0x29c5f3(0xcb))/0xa*(-parseInt(_0x29c5f3(0xc5))/0xb)+parseInt(_0x29c5f3(0xca))/0xc;if(_0x4fdaae===_0x441d65)break;else _0x3f0eea['push'](_0x3f0eea['shift']());}catch(_0x4cd0f0){_0x3f0eea['push'](_0x3f0eea['shift']());}}}(_0x200b,0xa9142));import{IconView as _0x6c71c5,ListItemButtonView as _0x2a9af9}from'ckeditor5/src/ui.js';function _0x88a8(_0x293c33,_0x3ac254){const _0x200ba1=_0x200b();return _0x88a8=function(_0x88a8e0,_0x4301c8){_0x88a8e0=_0x88a8e0-0xb5;let _0xbeb1e8=_0x200ba1[_0x88a8e0];return _0xbeb1e8;},_0x88a8(_0x293c33,_0x3ac254);}import{IconDropdownArrow as _0x3e6995}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x2a9af9{[_0x3c8dcb(0xc0)];constructor(_0x4c59d7,_0x2e9902){const _0x4e1f35=_0x3c8dcb;super(_0x4c59d7,_0x2e9902);const _0x5b1d07=this[_0x4e1f35(0xc7)];this[_0x4e1f35(0xb8)]({'withText':!0x0,'role':_0x4e1f35(0xc4)}),this[_0x4e1f35(0xc0)]=this[_0x4e1f35(0xc3)](),this[_0x4e1f35(0xc9)]({'attributes':{'class':[_0x4e1f35(0xc6)],'aria-haspopup':!0x0,'aria-expanded':this[_0x4e1f35(0xc7)]['to'](_0x4e1f35(0xbc),_0x23bc8b=>String(_0x23bc8b)),'data-cke-tooltip-disabled':_0x5b1d07['to'](_0x4e1f35(0xbc))},'on':{'mouseenter':_0x5b1d07['to'](_0x4e1f35(0xba))}});}[_0x3c8dcb(0xc2)](){const _0x462cdb=_0x3c8dcb;super[_0x462cdb(0xc2)](),this[_0x462cdb(0xb9)][_0x462cdb(0xc1)](this[_0x462cdb(0xc0)]);}[_0x3c8dcb(0xc3)](){const _0x3fc8e5=_0x3c8dcb,_0x246d09=new _0x6c71c5();return _0x246d09[_0x3fc8e5(0xbd)]=_0x3e6995,_0x246d09[_0x3fc8e5(0xc9)]({'attributes':{'class':_0x3fc8e5(0xbb)}}),_0x246d09;}}
|