@ckeditor/ckeditor5-ai 47.7.0-alpha.1 → 47.7.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/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 _0x5d31d3=_0x3bcb;(function(_0x3eb46d,_0x57c0c6){const _0x45ab47=_0x3bcb,_0x57627b=_0x3eb46d();while(!![]){try{const _0x20f8f8=parseInt(_0x45ab47(0x1f3))/0x1+parseInt(_0x45ab47(0x200))/0x2+parseInt(_0x45ab47(0x1ef))/0x3+-parseInt(_0x45ab47(0x1fe))/0x4*(-parseInt(_0x45ab47(0x1f4))/0x5)+-parseInt(_0x45ab47(0x1f9))/0x6*(parseInt(_0x45ab47(0x1ee))/0x7)+parseInt(_0x45ab47(0x1fc))/0x8*(parseInt(_0x45ab47(0x202))/0x9)+parseInt(_0x45ab47(0x1fa))/0xa*(-parseInt(_0x45ab47(0x1ea))/0xb);if(_0x20f8f8===_0x57c0c6)break;else _0x57627b['push'](_0x57627b['shift']());}catch(_0x289236){_0x57627b['push'](_0x57627b['shift']());}}}(_0x29ff,0x8900a));import{Plugin as _0x496fdb}from'ckeditor5/src/core.js';function _0x3bcb(_0x16adfb,_0x47bba1){const _0x29ff5f=_0x29ff();return _0x3bcb=function(_0x3bcba4,_0x2c7ccb){_0x3bcba4=_0x3bcba4-0x1e7;let _0x5ca6bb=_0x29ff5f[_0x3bcba4];return _0x5ca6bb;},_0x3bcb(_0x16adfb,_0x47bba1);}import{AIQuickActionsCommand as _0x42e82f}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x496fdb{static get[_0x5d31d3(0x1f8)](){const _0x1e4d28=_0x5d31d3;return _0x1e4d28(0x1f1);}static get[_0x5d31d3(0x1ed)](){return!0x0;}static get[_0x5d31d3(0x204)](){return!0x0;}[_0x5d31d3(0x1fb)](){const _0x3edab3=_0x5d31d3,_0x506a2d=this[_0x3edab3(0x1f7)],_0x4aa011=new _0x42e82f(this[_0x3edab3(0x1f7)]);if(_0x506a2d[_0x3edab3(0x201)][_0x3edab3(0x1e7)](_0x3edab3(0x1f6),_0x4aa011),_0x506a2d[_0x3edab3(0x1ff)][_0x3edab3(0x1e9)](_0x3edab3(0x1ec))){const _0x45f71e=this[_0x3edab3(0x1f7)][_0x3edab3(0x1ff)][_0x3edab3(0x1e8)](_0x3edab3(0x1ec));_0x506a2d[_0x3edab3(0x203)][_0x3edab3(0x1f0)][_0x3edab3(0x1f2)]['on'](_0x3edab3(0x1fd),(_0x3d7b0a,_0x247bec)=>{const _0x140286=_0x3edab3;_0x247bec[_0x140286(0x1eb)]&&_0x45f71e[_0x140286(0x1f5)]();});}}}function _0x29ff(){const _0x565ab9=['directChange','AIChat','isOfficialPlugin','91WBIiSR','2253069somzdE','document','AIQuickActionsEditing','selection','1073204WRgaNo','1556075EHdrUh','removeSelectionFromChatContext','aiQuickAction','editor','pluginName','16806xhuVXU','10VsfyZj','init','232neykah','change:range','8xAvAwc','plugins','1059910nsocfj','commands','52029VMXPMW','model','isPremiumPlugin','add','get','has','28013546NvOeht'];_0x29ff=function(){return _0x565ab9;};return _0x29ff();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1c48f4=_0x5c9c;(function(_0x18516c,_0x37dbde){const _0x85069c=_0x5c9c,_0x4d1316=_0x18516c();while(!![]){try{const _0x27a13c=-parseInt(_0x85069c(0x116))/0x1+parseInt(_0x85069c(0xf6))/0x2*(parseInt(_0x85069c(0x171))/0x3)+-parseInt(_0x85069c(0x14e))/0x4*(-parseInt(_0x85069c(0x15d))/0x5)+-parseInt(_0x85069c(0x146))/0x6*(parseInt(_0x85069c(0x13c))/0x7)+-parseInt(_0x85069c(0x114))/0x8*(parseInt(_0x85069c(0xfa))/0x9)+-parseInt(_0x85069c(0x15f))/0xa*(parseInt(_0x85069c(0x16e))/0xb)+-parseInt(_0x85069c(0x11e))/0xc*(-parseInt(_0x85069c(0x154))/0xd);if(_0x27a13c===_0x37dbde)break;else _0x4d1316['push'](_0x4d1316['shift']());}catch(_0x316f1f){_0x4d1316['push'](_0x4d1316['shift']());}}}(_0x1bd9,0x996d1));import{IconAIAdjustLength as _0x3458e5,IconAIChangeTone as _0x1bc972,IconAIChatCommands as _0x4db17f,IconAIContinueWriting as _0x1b6513,IconAIGrammarCheck as _0x1305b7,IconAIImproveWriting as _0x41b880,IconAIOther as _0x5e6e15,IconAIQuickActions as _0x1bff73,IconAITranslate as _0x44da77}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x2e1d81}from'ckeditor5/src/core.js';import{CKEditorError as _0x14757a,logError as _0x5e5c23}from'ckeditor5/src/utils.js';function _0x5c9c(_0xfff466,_0x41a11e){const _0x1bd936=_0x1bd9();return _0x5c9c=function(_0x5c9cd1,_0x4cfb3f){_0x5c9cd1=_0x5c9cd1-0xee;let _0x1aa812=_0x1bd936[_0x5c9cd1];return _0x1aa812;},_0x5c9c(_0xfff466,_0x41a11e);}import{getTranslation as _0x32f977}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x25f2e3}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x5a2591}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x314612,BalloonToolbar as _0x2313f2,MenuBarMenuView as _0x3cf859,MenuBarMenuListView as _0x462c9b,MenuBarMenuListItemView as _0x89f7d3,MenuBarMenuListItemButtonView as _0x4f458f}from'ckeditor5/src/ui.js';import{AIModels as _0x447f87}from'../aicore/model/aimodels.js';import{AIConnector as _0x174cab}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x1c48f4(0x13a),ie=_0x1c48f4(0x11a),ne=_0x1c48f4(0x170);export var AIQuickActionType;function _0x1bd9(){const _0x2f1a01=['english','japanese','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','get','spanish','translate-to-japanese','make-tone-friendly','translate-to-korean','6rZDEje','make-tone-direct','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','REVIEW','menuitem','translate-to-chinese','380hjuzXp','_getDefaultAndCustomActions','aiQuickAction','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','language','delegate','260DctlOy','AIQuickActionsUI','execute','AI_QUICK_ACTIONS_EXPLAIN','view','AI_QUICK_ACTIONS_CONTINUE_WRITING','requires','make-tone-confident','ai-quick-actions-unavailable-model','11760GjDXup','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','130YioHkb','translate-to-portuguese','french','AI_QUICK_ACTIONS_ADJUST_LENGTH','_quickActionsDefinition','panelView','AI_QUICK_ACTIONS_TRANSLATE','translate-to-italian','make-longer','chat-commands','English','german','items','forEach','message','299079EzfpNY','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','<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>','402666WcCLiZ','icon','getAll','adjust-length','italian','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_MORE_FRIENDLY','menuBarView','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','buttonView','_executeQuickAction','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','translate-to-spanish','locale','portuguese','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','find','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_MORE_CASUAL','make-tone-casual','translate-to-german','some','config','ACTION','DisplayNames','summarize','map','highlight-key-points','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_MAKE_SHORTER','AIReviewMode','model','editing','_shouldIncludeAction','componentFactory','explain','add','displayedPrompt','push','AI_QUICK_ACTIONS_MAKE_LONGER','8fEprGg','actions','ai.chat.context.document.enabled','translate','495UYmTys','commands','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','type','AI_QUICK_ACTIONS_CHAT_COMMANDS','ai.quickActions.extraCommands','AIActions','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','length','plugins','AI_QUICK_ACTIONS_IMPROVE_WRITING','isEnabled','russian','includes','replace','ask-ai','ai-quick-actions-models-unable-to-retrieve','AI_QUICK_ACTIONS_CHANGE_TONE','has','AIConnector','getDefaultQuickActions','change-tone','translate-to-english','AI_QUICK_ACTIONS_OTHER','aiQuickActions','_initializeQuickActionsComponentsAndCommands','1976TUOPZe','editor','583682vDOVGq','init','make-tone-professional','continue','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','_prepareQuickActionsDefinition','AIChat','AI_QUICK_ACTIONS_SUMMARIZE','1063644Ysoblk','_initializeQuickActionsComponents','menu','close','make-shorter','set','children','translate-to-french','label','filter','focus','uiLanguage','attachToDom','pluginName','fix-grammar','ai.quickActions.isSearchEnabled','korean','other','isOfficialPlugin','AI_QUICK_ACTIONS_ASK_AI','translate-to-russian','isPremiumPlugin','values','improve-writing','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','chinese','_initializeQuickActionsDropdown','menuBar:aiQuickActions','<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','6677377DOOXYP'];_0x1bd9=function(){return _0x2f1a01;};return _0x1bd9();}!function(_0x135f8f){const _0x53ef06=_0x1c48f4;_0x135f8f[_0x53ef06(0x13b)]=_0x53ef06(0x13b),_0x135f8f[_0x53ef06(0x189)]=_0x53ef06(0x189),_0x135f8f[_0x53ef06(0x14b)]=_0x53ef06(0x14b);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0xf6d429){const _0x3e1063=_0x1c48f4;_0xf6d429[_0x3e1063(0x13b)]=_0x3e1063(0x11c),_0xf6d429[_0x3e1063(0x189)]=_0x3e1063(0x100),_0xf6d429[_0x3e1063(0x14b)]=_0x3e1063(0x190);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x2e1d81{static get[_0x1c48f4(0x15a)](){return[_0x2313f2,_0x174cab];}static get[_0x1c48f4(0x12b)](){const _0x56979d=_0x1c48f4;return _0x56979d(0x155);}static get[_0x1c48f4(0x130)](){return!0x0;}static get[_0x1c48f4(0x133)](){return!0x0;}async[_0x1c48f4(0x117)](){const _0x40ea1b=_0x1c48f4,_0x24e991=await this[_0x40ea1b(0x14f)]();this[_0x40ea1b(0x11b)](_0x24e991),this[_0x40ea1b(0x113)]();}static[_0x1c48f4(0x10e)](_0x374a42){return function(_0x1fcc79){const _0x1e186b=_0x5c9c,_0x222e53=new Intl[(_0x1e186b(0x18a))](['en'],{'type':_0x1e186b(0x152)})['of'](_0x1fcc79[_0x1e186b(0x129)]),_0x563df1=_0x222e53||_0x1e186b(0x169),_0x49dee5=[{'id':_0x1e186b(0x109),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x131)),'type':AIQuickActionType[_0x1e186b(0x13b)],'icon':_0x4db17f},{'id':_0x1e186b(0x168),'label':_0x32f977(_0x1fcc79,_0x1e186b(0xfe)),'icon':_0x4db17f,'actions':[{'id':_0x1e186b(0xf1),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x157)),'prompt':ee[_0x1e186b(0x108)]('%0',_0x563df1),'type':AIQuickActionType[_0x1e186b(0x13b)]},{'id':_0x1e186b(0x18b),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x11d)),'prompt':ie[_0x1e186b(0x108)]('%0',_0x563df1),'type':AIQuickActionType[_0x1e186b(0x13b)]},{'id':_0x1e186b(0x18d),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x148)),'prompt':ne[_0x1e186b(0x108)]('%0',_0x563df1),'type':AIQuickActionType[_0x1e186b(0x13b)]}]},{'id':_0x1e186b(0x135),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x104)),'type':AIQuickActionType[_0x1e186b(0x189)],'icon':_0x41b880},{'id':_0x1e186b(0x119),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x159)),'type':AIQuickActionType[_0x1e186b(0x189)],'icon':_0x1b6513},{'id':_0x1e186b(0x12c),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x15e)),'type':AIQuickActionType[_0x1e186b(0x189)],'icon':_0x1305b7},{'id':_0x1e186b(0x174),'label':_0x32f977(_0x1fcc79,_0x1e186b(0x162)),'icon':_0x3458e5,'actions':[{'id':_0x1e186b(0x122),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x18f)),'type':AIQuickActionType[_0x1e186b(0x189)]},{'id':_0x1e186b(0x167),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0xf5)),'type':AIQuickActionType[_0x1e186b(0x189)]}]},{'id':_0x1e186b(0x10f),'label':_0x32f977(_0x1fcc79,_0x1e186b(0x10b)),'icon':_0x1bc972,'actions':[{'id':_0x1e186b(0x185),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x184)),'type':AIQuickActionType[_0x1e186b(0x189)]},{'id':_0x1e186b(0x147),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x176)),'type':AIQuickActionType[_0x1e186b(0x189)]},{'id':_0x1e186b(0x144),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x177)),'type':AIQuickActionType[_0x1e186b(0x189)]},{'id':_0x1e186b(0x15b),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x180)),'type':AIQuickActionType[_0x1e186b(0x189)]},{'id':_0x1e186b(0x118),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x101)),'type':AIQuickActionType[_0x1e186b(0x189)]}]},{'id':_0x1e186b(0xf9),'label':_0x32f977(_0x1fcc79,_0x1e186b(0x165)),'icon':_0x44da77,'actions':[{'id':_0x1e186b(0x110),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x17c)),'type':AIQuickActionType[_0x1e186b(0x189)],'actionName':_0x1e186b(0xf9),'args':{'language':_0x1e186b(0x13d)}},{'id':_0x1e186b(0x14d),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x13f)),'type':AIQuickActionType[_0x1e186b(0x189)],'actionName':_0x1e186b(0xf9),'args':{'language':_0x1e186b(0x137)}},{'id':_0x1e186b(0x17d),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x14a)),'type':AIQuickActionType[_0x1e186b(0x189)],'actionName':_0x1e186b(0xf9),'args':{'language':_0x1e186b(0x142)}},{'id':_0x1e186b(0x186),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0xfc)),'type':AIQuickActionType[_0x1e186b(0x189)],'actionName':_0x1e186b(0xf9),'args':{'language':_0x1e186b(0x16a)}},{'id':_0x1e186b(0x125),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x140)),'type':AIQuickActionType[_0x1e186b(0x189)],'actionName':_0x1e186b(0xf9),'args':{'language':_0x1e186b(0x161)}},{'id':_0x1e186b(0x143),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x136)),'type':AIQuickActionType[_0x1e186b(0x189)],'actionName':_0x1e186b(0xf9),'args':{'language':_0x1e186b(0x13e)}},{'id':_0x1e186b(0x160),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x181)),'type':AIQuickActionType[_0x1e186b(0x189)],'actionName':_0x1e186b(0xf9),'args':{'language':_0x1e186b(0x17f)}},{'id':_0x1e186b(0x145),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x16f)),'type':AIQuickActionType[_0x1e186b(0x189)],'actionName':_0x1e186b(0xf9),'args':{'language':_0x1e186b(0x12e)}},{'id':_0x1e186b(0x166),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x151)),'type':AIQuickActionType[_0x1e186b(0x189)],'actionName':_0x1e186b(0xf9),'args':{'language':_0x1e186b(0x175)}},{'id':_0x1e186b(0x132),'displayedPrompt':_0x32f977(_0x1fcc79,_0x1e186b(0x179)),'type':AIQuickActionType[_0x1e186b(0x189)],'actionName':_0x1e186b(0xf9),'args':{'language':_0x1e186b(0x106)}}]},{'id':_0x1e186b(0x12f),'label':_0x32f977(_0x1fcc79,_0x1e186b(0x111)),'icon':_0x5e6e15,'actions':[]}];return _0x49dee5;}(_0x374a42);}async[_0x1c48f4(0x14f)](){const _0x60572e=_0x1c48f4,_0x49bb36=AIQuickActionsUI[_0x60572e(0x10e)](this[_0x60572e(0x115)][_0x60572e(0x17e)]),_0x47bd87=this[_0x60572e(0x115)][_0x60572e(0x188)][_0x60572e(0x141)](_0x60572e(0xff))||[];let _0x409a22=[];try{_0x409a22=await new _0x447f87({'connector':this[_0x60572e(0x115)][_0x60572e(0x103)][_0x60572e(0x141)](_0x60572e(0x10d)),'locale':this[_0x60572e(0x115)][_0x60572e(0x17e)]})[_0x60572e(0x173)]();}catch(_0x50b9f2){const _0x2235b7=new _0x14757a(_0x60572e(0x10a),this,{'error':_0x50b9f2});_0x5e5c23(_0x2235b7[_0x60572e(0x16d)]);}finally{const _0x55f783=_0x47bd87[_0x60572e(0x18c)](_0x3533ce=>({..._0x3533ce,'icon':void 0x0}));_0x49bb36[_0x60572e(0x182)](_0x22a88f=>_0x60572e(0x12f)===_0x22a88f['id'])[_0x60572e(0xf7)][_0x60572e(0xf4)](..._0x55f783),_0x49bb36[_0x60572e(0x16c)](_0x19766f=>{const _0x5e37ad=_0x60572e;if(_0x5e37ad(0xf7)in _0x19766f)_0x19766f[_0x5e37ad(0xf7)][_0x5e37ad(0x16c)](_0xe351e1=>{const _0x522f43=_0x5e37ad;if(_0xe351e1[_0x522f43(0x105)]=!!_0x409a22[_0x522f43(0x182)](_0x46b2f3=>_0x46b2f3['id']===_0xe351e1[_0x522f43(0x191)])||void 0x0===_0xe351e1[_0x522f43(0x191)],!_0xe351e1[_0x522f43(0x105)]){const _0x1e588a=new _0x14757a(_0x522f43(0x15c),this,{'actionId':_0xe351e1['id'],'modelId':_0xe351e1[_0x522f43(0x191)]});_0x5e5c23(_0x1e588a[_0x522f43(0x16d)]);}});else{if(_0x19766f[_0x5e37ad(0x105)]=!!_0x409a22[_0x5e37ad(0x182)](_0x3eac60=>_0x3eac60['id']===_0x19766f[_0x5e37ad(0x191)])||void 0x0===_0x19766f[_0x5e37ad(0x191)],!_0x19766f[_0x5e37ad(0x105)]){const _0x44c761=new _0x14757a(_0x5e37ad(0x15c),this,{'actionId':_0x19766f['id'],'modelId':_0x19766f[_0x5e37ad(0x191)]});_0x5e5c23(_0x44c761[_0x5e37ad(0x16d)]);}}});}return _0x49bb36;}[_0x1c48f4(0x113)](){const _0x28f44f=_0x1c48f4,_0x44c810=new _0x314612(this[_0x28f44f(0x115)][_0x28f44f(0x17e)]);_0x44c810[_0x28f44f(0x12a)](),this[_0x28f44f(0x138)](_0x44c810),this[_0x28f44f(0x18e)](),this[_0x28f44f(0x11f)](_0x44c810);}[_0x1c48f4(0x138)](_0xa9b10e){const _0x4c5597=_0x1c48f4,_0xb6ddf9=this[_0x4c5597(0x115)][_0x4c5597(0x188)][_0x4c5597(0x141)](_0x4c5597(0x12d))??!0x0;this[_0x4c5597(0x115)]['ui'][_0x4c5597(0xf0)][_0x4c5597(0xf2)](_0x4c5597(0x112),_0x25f2e3({'editor':this[_0x4c5597(0x115)],'content':this[_0x4c5597(0x163)],'buttonDefinition':{'icon':_0x1bff73,'label':_0x32f977(this[_0x4c5597(0x115)][_0x4c5597(0x17e)],_0x4c5597(0x183))},'bodyCollection':_0xa9b10e,'hasSearch':_0xb6ddf9}));}[_0x1c48f4(0x11b)](_0x1f026){const _0x556983=_0x1c48f4;this[_0x556983(0x163)]=_0x1f026[_0x556983(0x18c)](_0x4f1a78=>{const _0x5b4c6f=_0x556983;if(_0x5b4c6f(0xf7)in _0x4f1a78){const _0x9c10de=_0x4f1a78;return{..._0x9c10de,'actions':_0x9c10de[_0x5b4c6f(0xf7)][_0x5b4c6f(0x18c)](_0x2d48d2=>{const {actions:_0x214f23,..._0xe1431}=_0x9c10de;return{..._0x2d48d2,'parent':_0xe1431};})[_0x5b4c6f(0x127)](_0x3cfe93=>this[_0x5b4c6f(0xef)](_0x3cfe93))};}return _0x4f1a78;})[_0x556983(0x127)](_0x74b0bd=>_0x556983(0xf7)in _0x74b0bd?_0x74b0bd[_0x556983(0xf7)][_0x556983(0x102)]>0x0:this[_0x556983(0xef)](_0x74b0bd));}[_0x1c48f4(0xef)](_0x3438d9){const _0x49a27a=_0x1c48f4,_0x282c7f=this[_0x49a27a(0x115)][_0x49a27a(0x188)][_0x49a27a(0x141)](_0x49a27a(0x149))||[];return this[_0x49a27a(0x115)][_0x49a27a(0x103)][_0x49a27a(0x10c)](AIQuickActionTypeToPluginName[_0x3438d9[_0x49a27a(0xfd)]])&&!_0x282c7f[_0x49a27a(0x107)](_0x3438d9['id'])&&!(_0x3438d9[_0x49a27a(0xfd)]===AIQuickActionType[_0x49a27a(0x13b)]&&!0x1===this[_0x49a27a(0x115)][_0x49a27a(0x188)][_0x49a27a(0x141)](_0x49a27a(0xf8)));}[_0x1c48f4(0x11f)](_0x46780a){const _0x3d2c14=_0x1c48f4;this[_0x3d2c14(0x163)][_0x3d2c14(0x16c)](_0x59b7a5=>{const _0xbff568=_0x3d2c14;if(_0xbff568(0xf7)in _0x59b7a5){const _0x42929b=_0x25f2e3({'editor':this[_0xbff568(0x115)],'content':_0x59b7a5[_0xbff568(0xf7)],'buttonDefinition':_0x59b7a5,'bodyCollection':_0x46780a});this[_0xbff568(0x115)]['ui'][_0xbff568(0xf0)][_0xbff568(0xf2)](_0x59b7a5['id'],_0x42929b),_0x59b7a5[_0xbff568(0xf7)][_0xbff568(0x16c)](_0x1147a5=>{const _0x4d30a4=_0xbff568,_0xa49c2e=_0x5a2591({'editor':this[_0x4d30a4(0x115)],'action':_0x1147a5});this[_0x4d30a4(0x115)]['ui'][_0x4d30a4(0xf0)][_0x4d30a4(0xf2)](_0x1147a5['id'],_0xa49c2e);});}else{const _0x393ca2=_0x5a2591({'editor':this[_0xbff568(0x115)],'action':_0x59b7a5,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0xbff568(0x115)]['ui'][_0xbff568(0xf0)][_0xbff568(0xf2)](_0x59b7a5['id'],_0x393ca2);}});}[_0x1c48f4(0x18e)](){const _0xf33992=_0x1c48f4;this[_0xf33992(0x115)]['ui'][_0xf33992(0xf0)][_0xf33992(0xf2)](_0xf33992(0x139),_0x5d5de2=>{const _0x2f8f83=_0xf33992,_0x46e261=new _0x3cf859(_0x5d5de2),_0x2f4c3c=_0x32f977(_0x5d5de2,_0x2f8f83(0x183));_0x46e261[_0x2f8f83(0x17a)][_0x2f8f83(0x123)]({'label':_0x2f4c3c,'icon':_0x1bff73});const _0x2b0d31=new _0x462c9b(_0x5d5de2);_0x2b0d31[_0x2f8f83(0x123)]({'ariaLabel':_0x2f4c3c,'role':_0x2f8f83(0x120)}),this[_0x2f8f83(0x163)][_0x2f8f83(0x16c)](_0x2a5907=>{const _0x55b667=_0x2f8f83;if(_0x55b667(0xf7)in _0x2a5907){const _0x38d726=_0x2a5907,_0x323761=new _0x89f7d3(_0x5d5de2,_0x46e261),_0x16514d=new _0x3cf859(_0x5d5de2),_0x4734d1=new _0x462c9b(_0x5d5de2);_0x16514d[_0x55b667(0x17a)][_0x55b667(0x123)]({'label':_0x38d726[_0x55b667(0x126)],'icon':_0x38d726[_0x55b667(0x172)]}),_0x38d726[_0x55b667(0xf7)][_0x55b667(0x16c)](_0x13112d=>{const _0x129575=_0x55b667,_0x5441bf=new _0x89f7d3(_0x5d5de2,_0x16514d),_0x2e2779=new _0x4f458f(_0x5d5de2);_0x2e2779[_0x129575(0x123)]({'label':_0x13112d[_0x129575(0xf3)],'icon':_0x13112d[_0x129575(0x172)],'role':_0x129575(0x14c),'isEnabled':_0x13112d[_0x129575(0x105)]}),_0x2e2779['on'](_0x129575(0x156),()=>{const _0x1408c2=_0x129575;this[_0x1408c2(0x17b)](_0x13112d);}),_0x2e2779[_0x129575(0x153)](_0x129575(0x156))['to'](_0x16514d),_0x5441bf[_0x129575(0x124)][_0x129575(0xf2)](_0x2e2779),_0x4734d1[_0x129575(0x16b)][_0x129575(0xf2)](_0x5441bf);}),_0x16514d[_0x55b667(0x164)][_0x55b667(0x124)][_0x55b667(0xf2)](_0x4734d1),_0x323761[_0x55b667(0x124)][_0x55b667(0xf2)](_0x16514d),_0x2b0d31[_0x55b667(0x16b)][_0x55b667(0xf2)](_0x323761);}else{const _0x164795=_0x2a5907,_0xb73b65=new _0x89f7d3(_0x5d5de2,_0x46e261),_0xe4296d=new _0x4f458f(_0x5d5de2);_0xe4296d[_0x55b667(0x123)]({'label':_0x164795[_0x55b667(0xf3)],'icon':_0x164795[_0x55b667(0x172)],'role':_0x55b667(0x14c),'isEnabled':_0x164795[_0x55b667(0x105)]}),_0xe4296d['on'](_0x55b667(0x156),()=>{const _0x4d624a=_0x55b667;this[_0x4d624a(0x17b)](_0x164795);}),_0xe4296d[_0x55b667(0x153)](_0x55b667(0x156))['to'](_0x46e261),_0xb73b65[_0x55b667(0x124)][_0x55b667(0xf2)](_0xe4296d),_0x2b0d31[_0x55b667(0x16b)][_0x55b667(0xf2)](_0xb73b65);}});const _0x2c435e=Object[_0x2f8f83(0x134)](AIQuickActionTypeToPluginName)[_0x2f8f83(0x187)](_0x584d5f=>this[_0x2f8f83(0x115)][_0x2f8f83(0x103)][_0x2f8f83(0x10c)](_0x584d5f));return _0x46e261[_0x2f8f83(0x123)]({'isEnabled':_0x2c435e}),_0x46e261[_0x2f8f83(0x164)][_0x2f8f83(0x124)][_0x2f8f83(0xf2)](_0x2b0d31),_0x46e261;});}[_0x1c48f4(0x17b)](_0x48b82b){const _0x2dc236=_0x1c48f4,_0x5005ad=this[_0x2dc236(0x115)];_0x5005ad[_0x2dc236(0xee)][_0x2dc236(0x158)][_0x2dc236(0x128)](),_0x5005ad[_0x2dc236(0xfb)][_0x2dc236(0x156)](_0x2dc236(0x150),_0x48b82b);const _0xeb501b=_0x5005ad['ui'][_0x2dc236(0x158)][_0x2dc236(0x178)];_0xeb501b&&_0xeb501b[_0x2dc236(0x121)]&&_0xeb501b[_0x2dc236(0x121)]();}}
|
|
23
|
+
const _0x346396=_0x3417;(function(_0x250c18,_0xe81985){const _0x398fba=_0x3417,_0x32c3cb=_0x250c18();while(!![]){try{const _0x2e9809=-parseInt(_0x398fba(0x1ab))/0x1*(-parseInt(_0x398fba(0x1d9))/0x2)+-parseInt(_0x398fba(0x220))/0x3+parseInt(_0x398fba(0x214))/0x4+parseInt(_0x398fba(0x1d6))/0x5+-parseInt(_0x398fba(0x1f2))/0x6*(-parseInt(_0x398fba(0x237))/0x7)+-parseInt(_0x398fba(0x1ad))/0x8*(-parseInt(_0x398fba(0x22d))/0x9)+-parseInt(_0x398fba(0x245))/0xa*(parseInt(_0x398fba(0x1b9))/0xb);if(_0x2e9809===_0xe81985)break;else _0x32c3cb['push'](_0x32c3cb['shift']());}catch(_0x44f278){_0x32c3cb['push'](_0x32c3cb['shift']());}}}(_0x10a3,0x1f4ac));import{IconAIAdjustLength as _0x3fa3c8,IconAIChangeTone as _0x6acd9b,IconAIChatCommands as _0x49ed04,IconAIContinueWriting as _0x224613,IconAIGrammarCheck as _0x18bc14,IconAIImproveWriting as _0x2b1d16,IconAIOther as _0x4e5a8d,IconAIQuickActions as _0x1cd192,IconAITranslate as _0x39b092}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x56f04c}from'ckeditor5/src/core.js';function _0x10a3(){const _0x49ac24=['_initializeQuickActionsDropdown','menu','german','french','uiLanguage','children','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','ai-quick-actions-unavailable-model','russian','type','AI_QUICK_ACTIONS_ASK_AI','558429YKIDTH','menuitem','componentFactory','make-tone-direct','ai.quickActions.removeCommands','translate-to-german','AIChat','translate-to-portuguese','_initializeQuickActionsComponents','panelView','isOfficialPlugin','push','make-shorter','45LyELuH','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','translate-to-english','menuBarView','menuBar:aiQuickActions','AIQuickActionsUI','AI_QUICK_ACTIONS_MORE_FRIENDLY','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_IMPROVE_WRITING','buttonView','637189NQQhLm','portuguese','<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>','korean','ACTION','AI_QUICK_ACTIONS_OTHER','ai-quick-actions-models-unable-to-retrieve','isEnabled','language','get','AI_QUICK_ACTIONS_SUMMARIZE','ask-ai','label','translate-to-italian','121190ySVZyP','add','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','change-tone','english','values','map','AI_QUICK_ACTIONS_CHAT_COMMANDS','533AoncES','execute','190184PpTHbf','CHAT','pluginName','actions','requires','AI_QUICK_ACTIONS_HEADING','<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>','length','isPremiumPlugin','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','view','has','253tNVfBy','ai.quickActions.extraCommands','make-tone-friendly','config','translate-to-french','chat-commands','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','set','_quickActionsDefinition','translate-to-japanese','message','AIReviewMode','plugins','AI_QUICK_ACTIONS_CONTINUE_WRITING','editing','italian','AI_QUICK_ACTIONS_MORE_CASUAL','aiQuickActions','DisplayNames','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_ADJUST_LENGTH','English','some','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','attachToDom','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','close','improve-writing','translate','1074020iVtiMY','REVIEW','translate-to-chinese','64QkvZzz','model','_getDefaultAndCustomActions','locale','filter','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','spanish','make-longer','translate-to-spanish','aiQuickAction','_initializeQuickActionsMenuBar','items','_prepareQuickActionsDefinition','make-tone-casual','ai.chat.context.document.enabled','delegate','find','displayedPrompt','AIConnector','commands','explain','translate-to-korean','forEach','chinese','6xdHyiI','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','adjust-length','AIActions','includes','init','_executeQuickAction','fix-grammar','AI_QUICK_ACTIONS_MAKE_LONGER','continue','focus','getDefaultQuickActions','other','make-tone-professional','ai.quickActions.isSearchEnabled','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_MORE_DIRECT','icon','highlight-key-points','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','getAll','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','replace','summarize','editor','AI_QUICK_ACTIONS_TRANSLATE','_initializeQuickActionsComponentsAndCommands','make-tone-confident','translate-to-russian','AI_QUICK_ACTIONS_MAKE_SHORTER','japanese','_shouldIncludeAction','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_CHANGE_TONE','605200GsERed'];_0x10a3=function(){return _0x49ac24;};return _0x10a3();}import{CKEditorError as _0x45916c,logError as _0x42b4c6}from'ckeditor5/src/utils.js';import{getTranslation as _0x321ea8}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x48dfa9}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x27e049}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x360f60,BalloonToolbar as _0x549fe1,MenuBarMenuView as _0x5589b1,MenuBarMenuListView as _0x542dbc,MenuBarMenuListItemView as _0x1ed08c,MenuBarMenuListItemButtonView as _0x32268d}from'ckeditor5/src/ui.js';import{AIModels as _0x1ac599}from'../aicore/model/aimodels.js';import{AIConnector as _0x553c42}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x346396(0x234),ie=_0x346396(0x1b3),ne=_0x346396(0x239);export var AIQuickActionType;function _0x3417(_0x21db7d,_0x3fa860){const _0x10a33b=_0x10a3();return _0x3417=function(_0x34171d,_0x5b0928){_0x34171d=_0x34171d-0x1a6;let _0xbb5e43=_0x10a33b[_0x34171d];return _0xbb5e43;},_0x3417(_0x21db7d,_0x3fa860);}!function(_0x586483){const _0x47d12a=_0x346396;_0x586483[_0x47d12a(0x1ae)]=_0x47d12a(0x1ae),_0x586483[_0x47d12a(0x23b)]=_0x47d12a(0x23b),_0x586483[_0x47d12a(0x1d7)]=_0x47d12a(0x1d7);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x1f8478){const _0x44979d=_0x346396;_0x1f8478[_0x44979d(0x1ae)]=_0x44979d(0x226),_0x1f8478[_0x44979d(0x23b)]=_0x44979d(0x1f5),_0x1f8478[_0x44979d(0x1d7)]=_0x44979d(0x1c4);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x56f04c{static get[_0x346396(0x1b1)](){return[_0x549fe1,_0x553c42];}static get[_0x346396(0x1af)](){const _0x117745=_0x346396;return _0x117745(0x232);}static get[_0x346396(0x22a)](){return!0x0;}static get[_0x346396(0x1b5)](){return!0x0;}async[_0x346396(0x1f7)](){const _0x3e2572=_0x346396,_0xc1a82b=await this[_0x3e2572(0x1db)]();this[_0x3e2572(0x1e6)](_0xc1a82b),this[_0x3e2572(0x20c)]();}static[_0x346396(0x1fd)](_0x3452b4){return function(_0x5925ee){const _0x255591=_0x3417,_0x279a88=new Intl[(_0x255591(0x1cb))](['en'],{'type':_0x255591(0x23f)})['of'](_0x5925ee[_0x255591(0x219)]),_0x198e09=_0x279a88||_0x255591(0x1ce),_0x40efc9=[{'id':_0x255591(0x242),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x21f)),'type':AIQuickActionType[_0x255591(0x1ae)],'icon':_0x49ed04},{'id':_0x255591(0x1be),'label':_0x321ea8(_0x5925ee,_0x255591(0x1aa)),'icon':_0x49ed04,'actions':[{'id':_0x255591(0x1ee),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x1cc)),'prompt':ee[_0x255591(0x208)]('%0',_0x198e09),'type':AIQuickActionType[_0x255591(0x1ae)]},{'id':_0x255591(0x209),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x241)),'prompt':ie[_0x255591(0x208)]('%0',_0x198e09),'type':AIQuickActionType[_0x255591(0x1ae)]},{'id':_0x255591(0x204),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x22e)),'prompt':ne[_0x255591(0x208)]('%0',_0x198e09),'type':AIQuickActionType[_0x255591(0x1ae)]}]},{'id':_0x255591(0x1d4),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x235)),'type':AIQuickActionType[_0x255591(0x23b)],'icon':_0x2b1d16},{'id':_0x255591(0x1fb),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x1c6)),'type':AIQuickActionType[_0x255591(0x23b)],'icon':_0x224613},{'id':_0x255591(0x1f9),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x1d0)),'type':AIQuickActionType[_0x255591(0x23b)],'icon':_0x18bc14},{'id':_0x255591(0x1f4),'label':_0x321ea8(_0x5925ee,_0x255591(0x1cd)),'icon':_0x3fa3c8,'actions':[{'id':_0x255591(0x22c),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x20f)),'type':AIQuickActionType[_0x255591(0x23b)]},{'id':_0x255591(0x1e1),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x1fa)),'type':AIQuickActionType[_0x255591(0x23b)]}]},{'id':_0x255591(0x1a6),'label':_0x321ea8(_0x5925ee,_0x255591(0x213)),'icon':_0x6acd9b,'actions':[{'id':_0x255591(0x1e7),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x1c9)),'type':AIQuickActionType[_0x255591(0x23b)]},{'id':_0x255591(0x223),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x202)),'type':AIQuickActionType[_0x255591(0x23b)]},{'id':_0x255591(0x1bb),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x233)),'type':AIQuickActionType[_0x255591(0x23b)]},{'id':_0x255591(0x20d),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x1de)),'type':AIQuickActionType[_0x255591(0x23b)]},{'id':_0x255591(0x1ff),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x1b6)),'type':AIQuickActionType[_0x255591(0x23b)]}]},{'id':_0x255591(0x1d5),'label':_0x321ea8(_0x5925ee,_0x255591(0x20b)),'icon':_0x39b092,'actions':[{'id':_0x255591(0x22f),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x247)),'type':AIQuickActionType[_0x255591(0x23b)],'actionName':_0x255591(0x1d5),'args':{'language':_0x255591(0x1a7)}},{'id':_0x255591(0x1d8),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x1f3)),'type':AIQuickActionType[_0x255591(0x23b)],'actionName':_0x255591(0x1d5),'args':{'language':_0x255591(0x1f1)}},{'id':_0x255591(0x1e2),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x1d2)),'type':AIQuickActionType[_0x255591(0x23b)],'actionName':_0x255591(0x1d5),'args':{'language':_0x255591(0x1e0)}},{'id':_0x255591(0x225),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x21b)),'type':AIQuickActionType[_0x255591(0x23b)],'actionName':_0x255591(0x1d5),'args':{'language':_0x255591(0x217)}},{'id':_0x255591(0x1bd),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x201)),'type':AIQuickActionType[_0x255591(0x23b)],'actionName':_0x255591(0x1d5),'args':{'language':_0x255591(0x218)}},{'id':_0x255591(0x1c2),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x1bf)),'type':AIQuickActionType[_0x255591(0x23b)],'actionName':_0x255591(0x1d5),'args':{'language':_0x255591(0x210)}},{'id':_0x255591(0x227),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x205)),'type':AIQuickActionType[_0x255591(0x23b)],'actionName':_0x255591(0x1d5),'args':{'language':_0x255591(0x238)}},{'id':_0x255591(0x1ef),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x1df)),'type':AIQuickActionType[_0x255591(0x23b)],'actionName':_0x255591(0x1d5),'args':{'language':_0x255591(0x23a)}},{'id':_0x255591(0x244),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x212)),'type':AIQuickActionType[_0x255591(0x23b)],'actionName':_0x255591(0x1d5),'args':{'language':_0x255591(0x1c8)}},{'id':_0x255591(0x20e),'displayedPrompt':_0x321ea8(_0x5925ee,_0x255591(0x207)),'type':AIQuickActionType[_0x255591(0x23b)],'actionName':_0x255591(0x1d5),'args':{'language':_0x255591(0x21d)}}]},{'id':_0x255591(0x1fe),'label':_0x321ea8(_0x5925ee,_0x255591(0x23c)),'icon':_0x4e5a8d,'actions':[]}];return _0x40efc9;}(_0x3452b4);}async[_0x346396(0x1db)](){const _0x5d26f5=_0x346396,_0x106cce=AIQuickActionsUI[_0x5d26f5(0x1fd)](this[_0x5d26f5(0x20a)][_0x5d26f5(0x1dc)]),_0x448c0a=this[_0x5d26f5(0x20a)][_0x5d26f5(0x1bc)][_0x5d26f5(0x240)](_0x5d26f5(0x1ba))||[];let _0x5d321b=[];try{_0x5d321b=await new _0x1ac599({'connector':this[_0x5d26f5(0x20a)][_0x5d26f5(0x1c5)][_0x5d26f5(0x240)](_0x5d26f5(0x1ec)),'locale':this[_0x5d26f5(0x20a)][_0x5d26f5(0x1dc)]})[_0x5d26f5(0x206)]();}catch(_0x23637c){const _0x5c9365=new _0x45916c(_0x5d26f5(0x23d),this,{'error':_0x23637c});_0x42b4c6(_0x5c9365[_0x5d26f5(0x1c3)]);}finally{const _0xc9eb6=_0x448c0a[_0x5d26f5(0x1a9)](_0x5182d6=>({..._0x5182d6,'icon':void 0x0}));_0x106cce[_0x5d26f5(0x1ea)](_0x29ce5c=>_0x5d26f5(0x1fe)===_0x29ce5c['id'])[_0x5d26f5(0x1b0)][_0x5d26f5(0x22b)](..._0xc9eb6),_0x106cce[_0x5d26f5(0x1f0)](_0x1ea176=>{const _0x36e555=_0x5d26f5;if(_0x36e555(0x1b0)in _0x1ea176)_0x1ea176[_0x36e555(0x1b0)][_0x36e555(0x1f0)](_0x409292=>{const _0x14f9b5=_0x36e555;if(_0x409292[_0x14f9b5(0x23e)]=!!_0x5d321b[_0x14f9b5(0x1ea)](_0x1675e5=>_0x1675e5['id']===_0x409292[_0x14f9b5(0x1da)])||void 0x0===_0x409292[_0x14f9b5(0x1da)],!_0x409292[_0x14f9b5(0x23e)]){const _0x538d31=new _0x45916c(_0x14f9b5(0x21c),this,{'actionId':_0x409292['id'],'modelId':_0x409292[_0x14f9b5(0x1da)]});_0x42b4c6(_0x538d31[_0x14f9b5(0x1c3)]);}});else{if(_0x1ea176[_0x36e555(0x23e)]=!!_0x5d321b[_0x36e555(0x1ea)](_0x52a3c6=>_0x52a3c6['id']===_0x1ea176[_0x36e555(0x1da)])||void 0x0===_0x1ea176[_0x36e555(0x1da)],!_0x1ea176[_0x36e555(0x23e)]){const _0xd7c3e1=new _0x45916c(_0x36e555(0x21c),this,{'actionId':_0x1ea176['id'],'modelId':_0x1ea176[_0x36e555(0x1da)]});_0x42b4c6(_0xd7c3e1[_0x36e555(0x1c3)]);}}});}return _0x106cce;}[_0x346396(0x20c)](){const _0xbc38a1=_0x346396,_0x34bc37=new _0x360f60(this[_0xbc38a1(0x20a)][_0xbc38a1(0x1dc)]);_0x34bc37[_0xbc38a1(0x1d1)](),this[_0xbc38a1(0x215)](_0x34bc37),this[_0xbc38a1(0x1e4)](),this[_0xbc38a1(0x228)](_0x34bc37);}[_0x346396(0x215)](_0x5a0794){const _0x2009a3=_0x346396,_0x26376b=this[_0x2009a3(0x20a)][_0x2009a3(0x1bc)][_0x2009a3(0x240)](_0x2009a3(0x200))??!0x0;this[_0x2009a3(0x20a)]['ui'][_0x2009a3(0x222)][_0x2009a3(0x246)](_0x2009a3(0x1ca),_0x48dfa9({'editor':this[_0x2009a3(0x20a)],'content':this[_0x2009a3(0x1c1)],'buttonDefinition':{'icon':_0x1cd192,'label':_0x321ea8(this[_0x2009a3(0x20a)][_0x2009a3(0x1dc)],_0x2009a3(0x1b2))},'bodyCollection':_0x5a0794,'hasSearch':_0x26376b}));}[_0x346396(0x1e6)](_0x40897e){const _0x5d0778=_0x346396;this[_0x5d0778(0x1c1)]=_0x40897e[_0x5d0778(0x1a9)](_0x5f1646=>{const _0x301066=_0x5d0778;if(_0x301066(0x1b0)in _0x5f1646){const _0x4071bc=_0x5f1646;return{..._0x4071bc,'actions':_0x4071bc[_0x301066(0x1b0)][_0x301066(0x1a9)](_0x3b70b5=>{const {actions:_0x27f32c,..._0x179e18}=_0x4071bc;return{..._0x3b70b5,'parent':_0x179e18};})[_0x301066(0x1dd)](_0x556887=>this[_0x301066(0x211)](_0x556887))};}return _0x5f1646;})[_0x5d0778(0x1dd)](_0x1c410e=>_0x5d0778(0x1b0)in _0x1c410e?_0x1c410e[_0x5d0778(0x1b0)][_0x5d0778(0x1b4)]>0x0:this[_0x5d0778(0x211)](_0x1c410e));}[_0x346396(0x211)](_0x447882){const _0x1f113f=_0x346396,_0x594f00=this[_0x1f113f(0x20a)][_0x1f113f(0x1bc)][_0x1f113f(0x240)](_0x1f113f(0x224))||[];return this[_0x1f113f(0x20a)][_0x1f113f(0x1c5)][_0x1f113f(0x1b8)](AIQuickActionTypeToPluginName[_0x447882[_0x1f113f(0x21e)]])&&!_0x594f00[_0x1f113f(0x1f6)](_0x447882['id'])&&!(_0x447882[_0x1f113f(0x21e)]===AIQuickActionType[_0x1f113f(0x1ae)]&&!0x1===this[_0x1f113f(0x20a)][_0x1f113f(0x1bc)][_0x1f113f(0x240)](_0x1f113f(0x1e8)));}[_0x346396(0x228)](_0x54bae8){const _0x5453dd=_0x346396;this[_0x5453dd(0x1c1)][_0x5453dd(0x1f0)](_0x29d31f=>{const _0x3647f7=_0x5453dd;if(_0x3647f7(0x1b0)in _0x29d31f){const _0x2013b5=_0x48dfa9({'editor':this[_0x3647f7(0x20a)],'content':_0x29d31f[_0x3647f7(0x1b0)],'buttonDefinition':_0x29d31f,'bodyCollection':_0x54bae8});this[_0x3647f7(0x20a)]['ui'][_0x3647f7(0x222)][_0x3647f7(0x246)](_0x29d31f['id'],_0x2013b5),_0x29d31f[_0x3647f7(0x1b0)][_0x3647f7(0x1f0)](_0x7ca55e=>{const _0x489311=_0x3647f7,_0x46361e=_0x27e049({'editor':this[_0x489311(0x20a)],'action':_0x7ca55e});this[_0x489311(0x20a)]['ui'][_0x489311(0x222)][_0x489311(0x246)](_0x7ca55e['id'],_0x46361e);});}else{const _0x238412=_0x27e049({'editor':this[_0x3647f7(0x20a)],'action':_0x29d31f,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x3647f7(0x20a)]['ui'][_0x3647f7(0x222)][_0x3647f7(0x246)](_0x29d31f['id'],_0x238412);}});}[_0x346396(0x1e4)](){const _0x5a6d20=_0x346396;this[_0x5a6d20(0x20a)]['ui'][_0x5a6d20(0x222)][_0x5a6d20(0x246)](_0x5a6d20(0x231),_0x29e4e8=>{const _0x4f42d4=_0x5a6d20,_0xe6d110=new _0x5589b1(_0x29e4e8),_0x4644f4=_0x321ea8(_0x29e4e8,_0x4f42d4(0x1b2));_0xe6d110[_0x4f42d4(0x236)][_0x4f42d4(0x1c0)]({'label':_0x4644f4,'icon':_0x1cd192});const _0x34f3a5=new _0x542dbc(_0x29e4e8);_0x34f3a5[_0x4f42d4(0x1c0)]({'ariaLabel':_0x4644f4,'role':_0x4f42d4(0x216)}),this[_0x4f42d4(0x1c1)][_0x4f42d4(0x1f0)](_0x31f0d0=>{const _0xf41719=_0x4f42d4;if(_0xf41719(0x1b0)in _0x31f0d0){const _0x4560f8=_0x31f0d0,_0x58a042=new _0x1ed08c(_0x29e4e8,_0xe6d110),_0x430094=new _0x5589b1(_0x29e4e8),_0x49ccdf=new _0x542dbc(_0x29e4e8);_0x430094[_0xf41719(0x236)][_0xf41719(0x1c0)]({'label':_0x4560f8[_0xf41719(0x243)],'icon':_0x4560f8[_0xf41719(0x203)]}),_0x4560f8[_0xf41719(0x1b0)][_0xf41719(0x1f0)](_0x569ae7=>{const _0x574600=_0xf41719,_0x305b2e=new _0x1ed08c(_0x29e4e8,_0x430094),_0x54dd52=new _0x32268d(_0x29e4e8);_0x54dd52[_0x574600(0x1c0)]({'label':_0x569ae7[_0x574600(0x1eb)],'icon':_0x569ae7[_0x574600(0x203)],'role':_0x574600(0x221),'isEnabled':_0x569ae7[_0x574600(0x23e)]}),_0x54dd52['on'](_0x574600(0x1ac),()=>{const _0x186d63=_0x574600;this[_0x186d63(0x1f8)](_0x569ae7);}),_0x54dd52[_0x574600(0x1e9)](_0x574600(0x1ac))['to'](_0x430094),_0x305b2e[_0x574600(0x21a)][_0x574600(0x246)](_0x54dd52),_0x49ccdf[_0x574600(0x1e5)][_0x574600(0x246)](_0x305b2e);}),_0x430094[_0xf41719(0x229)][_0xf41719(0x21a)][_0xf41719(0x246)](_0x49ccdf),_0x58a042[_0xf41719(0x21a)][_0xf41719(0x246)](_0x430094),_0x34f3a5[_0xf41719(0x1e5)][_0xf41719(0x246)](_0x58a042);}else{const _0x107152=_0x31f0d0,_0x592c95=new _0x1ed08c(_0x29e4e8,_0xe6d110),_0x303e85=new _0x32268d(_0x29e4e8);_0x303e85[_0xf41719(0x1c0)]({'label':_0x107152[_0xf41719(0x1eb)],'icon':_0x107152[_0xf41719(0x203)],'role':_0xf41719(0x221),'isEnabled':_0x107152[_0xf41719(0x23e)]}),_0x303e85['on'](_0xf41719(0x1ac),()=>{const _0x291f26=_0xf41719;this[_0x291f26(0x1f8)](_0x107152);}),_0x303e85[_0xf41719(0x1e9)](_0xf41719(0x1ac))['to'](_0xe6d110),_0x592c95[_0xf41719(0x21a)][_0xf41719(0x246)](_0x303e85),_0x34f3a5[_0xf41719(0x1e5)][_0xf41719(0x246)](_0x592c95);}});const _0xee7a6e=Object[_0x4f42d4(0x1a8)](AIQuickActionTypeToPluginName)[_0x4f42d4(0x1cf)](_0x8eba95=>this[_0x4f42d4(0x20a)][_0x4f42d4(0x1c5)][_0x4f42d4(0x1b8)](_0x8eba95));return _0xe6d110[_0x4f42d4(0x1c0)]({'isEnabled':_0xee7a6e}),_0xe6d110[_0x4f42d4(0x229)][_0x4f42d4(0x21a)][_0x4f42d4(0x246)](_0x34f3a5),_0xe6d110;});}[_0x346396(0x1f8)](_0x1f932e){const _0x2cd899=_0x346396,_0x17d2f5=this[_0x2cd899(0x20a)];_0x17d2f5[_0x2cd899(0x1c7)][_0x2cd899(0x1b7)][_0x2cd899(0x1fc)](),_0x17d2f5[_0x2cd899(0x1ed)][_0x2cd899(0x1ac)](_0x2cd899(0x1e3),_0x1f932e);const _0x2ed0d6=_0x17d2f5['ui'][_0x2cd899(0x1b7)][_0x2cd899(0x230)];_0x2ed0d6&&_0x2ed0d6[_0x2cd899(0x1d3)]&&_0x2ed0d6[_0x2cd899(0x1d3)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x52f1(_0x4deb41,_0x107ebc){const _0x3e997e=_0x3e99();return _0x52f1=function(_0x52f152,_0x1061be){_0x52f152=_0x52f152-0xd7;let _0x34682e=_0x3e997e[_0x52f152];return _0x34682e;},_0x52f1(_0x4deb41,_0x107ebc);}(function(_0x532a36,_0x594fc8){const _0x5da071=_0x52f1,_0x4d7681=_0x532a36();while(!![]){try{const _0x510f60=-parseInt(_0x5da071(0xe6))/0x1+parseInt(_0x5da071(0xf0))/0x2*(-parseInt(_0x5da071(0xdf))/0x3)+parseInt(_0x5da071(0xeb))/0x4*(parseInt(_0x5da071(0xe3))/0x5)+-parseInt(_0x5da071(0xdd))/0x6+-parseInt(_0x5da071(0xd9))/0x7+parseInt(_0x5da071(0xdb))/0x8*(-parseInt(_0x5da071(0xe7))/0x9)+-parseInt(_0x5da071(0xee))/0xa*(-parseInt(_0x5da071(0xed))/0xb);if(_0x510f60===_0x594fc8)break;else _0x4d7681['push'](_0x4d7681['shift']());}catch(_0x553da0){_0x4d7681['push'](_0x4d7681['shift']());}}}(_0x3e99,0xbb524));import{ButtonView as _0x21b537}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3a1c1a}from'@ckeditor/ckeditor5-icons';function _0x3e99(){const _0x414e45=['aiQuickAction','598qAkbtZ','icon','isEnabled','bindTemplate','6901111FeEWWr','locale','8YgWped','view','842112xiINFX','editing','7524Yuyshq','displayedPrompt','extendTemplate','menuitem','25wHBRBq','commands','execute','1517914eciPjt','13279473VssgFA','parent','focus','ck-ai-quick-actions-button','824028NKfQIf','set','11yWQzOs','46067610vkYIjx'];_0x3e99=function(){return _0x414e45;};return _0x3e99();}export function aiQuickActionsButtonCreator(_0x478fcd){const {editor:_0x4297b2,action:_0x49fb56,withText:_0x21941c=!0x1,withIcon:_0x1a1902=!0x0,isInDropdown:_0x3a989e=!0x0,shouldPreventFocus:_0x165a6d=!0x1}=_0x478fcd;return()=>{const _0x164a47=_0x52f1,_0x172c66=_0x4297b2[_0x164a47(0xda)],_0x2f6ab7=new _0x21b537(_0x172c66),_0x55e5e2=_0x2f6ab7[_0x164a47(0xd8)];_0x3a989e&&_0x2f6ab7[_0x164a47(0xe1)]({'on':{'mouseenter':_0x55e5e2['to'](()=>{const _0x1cd07d=_0x164a47;_0x165a6d&&_0x165a6d()||_0x2f6ab7[_0x1cd07d(0xe9)]();})}});const _0x5d7a89=_0x49fb56[_0x164a47(0xf1)]??_0x49fb56[_0x164a47(0xe8)]?.[_0x164a47(0xf1)];return _0x2f6ab7[_0x164a47(0xec)]({'label':_0x49fb56[_0x164a47(0xe0)],'withText':_0x21941c,'role':_0x164a47(0xe2),'icon':_0x1a1902?_0x5d7a89??_0x3a1c1a:void 0x0,'tooltip':!_0x21941c,'class':_0x164a47(0xea),'isEnabled':_0x49fb56[_0x164a47(0xd7)]}),_0x2f6ab7['on'](_0x164a47(0xe5),()=>{const _0x3bcd2e=_0x164a47;_0x4297b2[_0x3bcd2e(0xde)][_0x3bcd2e(0xdc)][_0x3bcd2e(0xe9)](),_0x4297b2[_0x3bcd2e(0xe4)][_0x3bcd2e(0xe5)](_0x3bcd2e(0xef),_0x49fb56);}),_0x2f6ab7;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x515e9e=_0x1aec;(function(_0x326b23,_0x3db75e){const _0x51d140=_0x1aec,_0x5c15c7=_0x326b23();while(!![]){try{const _0x447331=parseInt(_0x51d140(0xb3))/0x1+-parseInt(_0x51d140(0xc0))/0x2*(parseInt(_0x51d140(0x115))/0x3)+-parseInt(_0x51d140(0xdf))/0x4*(-parseInt(_0x51d140(0xff))/0x5)+parseInt(_0x51d140(0xb6))/0x6+parseInt(_0x51d140(0xc3))/0x7+-parseInt(_0x51d140(0xfc))/0x8*(parseInt(_0x51d140(0x114))/0x9)+parseInt(_0x51d140(0xe3))/0xa*(-parseInt(_0x51d140(0xb8))/0xb);if(_0x447331===_0x3db75e)break;else _0x5c15c7['push'](_0x5c15c7['shift']());}catch(_0x22ed76){_0x5c15c7['push'](_0x5c15c7['shift']());}}}(_0x26fa,0x5ba30));import{View as _0x24dad6,ListItemView as _0x27d115,ListView as _0x4f0778,BalloonPanelView as _0x415521,DropdownMenuPanelPositioningFunctions as _0x10ee05,ViewCollection as _0x53279c,FocusCycler as _0x22d2f3,ButtonView as _0x465415,IconView as _0x3c0a13,HighlightedTextView as _0x1faf9e,ButtonLabelWithHighlightView as _0x177e8b,SearchTextView as _0x409402}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x557e4c}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x55646d,KeystrokeHandler as _0x5c96ed}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x794d58}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x4a913a}from'./dropdownmenubuttonwithhighlightview.js';function _0x26fa(){const _0x1cae0f=['_bodyCollection','ArrowRight','isOn','bindTemplate','addEventListener','104GurpIq','view','show','ownerDocument','80GWATOb','ck-ai-quick-actions-search-result__action-row','mouseleave','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','displayedPrompt','get','_createActionButton','ck-ai-quick-actions-button_with-group__open-paren','role','focusTracker','ck-ai-quick-actions-search-result-button_with-group','items','_allSearchableItems','_createSearchResultActionButton','icon','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions-search-result-button','commands','_createListItems','_isSearchFocused','locale','_createSearchTextView','_getButtonKeystroke','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','ck-ai-quick-actions-button__group-icon','10448umuXZb','element','ck-button','129710xfVDul','_createSearchResultGroupRow','optionsListView','div','_createSearchResultGroupedActionButton','aiQuickAction','_setupActionButtonExecution','key','children','ck-ai-quick-actions-button','chain','addMany','some','button','setTemplate','_hasSearch','eastSouth','delete','_isMovingToNestedMenu','keystrokes','clear','2979FVgEhp','3kEstxu','bind','_setupGroupMenuBehavior','resetSearch','ck-ai-quick-actions-group-panel','ck-ai-quick-actions-search-result__content','ck-rounded-corners','pin','_createSearchResultIndividualActionButton','fieldView','ck-reset_all','uiLanguageDirection','_showNestedPanel','ck-dropdown-menu-list','menuitem','rtl','forEach','add','.ck-ai-quick-actions-group-panel','_createGroupActionsList','ck-ai-quick-actions-group-list','ArrowLeft','hide','detachFromDom','closest','ck-ai-quick-actions-group-button','text','_hideNestedPanel','AI_QUICK_ACTIONS_SEARCH','_searchTextView','.ck-ai-quick-actions-group-list','queryView','extendTemplate','_handleSearchResultButtonClick','relatedTarget','contains','ck-ai-quick-actions-button_with-group__close-paren','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','ck-button_with-text','305704FOXuug','set','span','3491502PSrHfV','_handlePanelKeydown','792286yatLYH','label','editing','reset','activeElement','_createSearchResultActionRow','_focusables','ck-ai-quick-actions','1146640sjZUMs','ck-ai-quick-actions-search','ck-ai-quick-actions-button_with-group','2765315FWbmkn','ck-ai-quick-actions-search-result__group-row','parent','_createActionGroupButton','push','_openNestedPanels','execute','ck-dropdown-menu__nested-menu__panel','_getPanelKeystroke','destroy','focusCycler','menu','first','render','.ck-ai-quick-actions-group-button','actions','_hideAllNestedPanels','focus','_createSearchResultContentView','isVisible','content','fire','isEnabled'];_0x26fa=function(){return _0x1cae0f;};return _0x26fa();}import{getTranslation as _0x1de53a}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x18c106}from'./aiquickactionsfilteredlistview.js';const Gs=_0x515e9e(0xce),Ks=_0x515e9e(0x123);function _0x1aec(_0xe1b1fc,_0xb7227e){const _0x26fa17=_0x26fa();return _0x1aec=function(_0x1aecfd,_0x227133){_0x1aecfd=_0x1aecfd-0x9f;let _0x33fd2a=_0x26fa17[_0x1aecfd];return _0x33fd2a;},_0x1aec(_0xe1b1fc,_0xb7227e);}export class AIQuickActionsDropdownContentView extends _0x24dad6{[_0x515e9e(0xda)];[_0x515e9e(0x101)];[_0x515e9e(0xa9)]=null;[_0x515e9e(0xef)]=[];[_0x515e9e(0x107)];[_0x515e9e(0xec)];[_0x515e9e(0x112)];[_0x515e9e(0xbe)];[_0x515e9e(0xcd)];[_0x515e9e(0xc8)]=new Set();[_0x515e9e(0x10e)];constructor(_0x5615bb,_0x2799a0,_0x5d91b9,_0x79c483,_0x4e4617=!0x1){const _0x561172=_0x515e9e,_0x37db40=_0x5615bb[_0x561172(0xf7)];super(_0x37db40),this[_0x561172(0xda)]=_0x79c483,this[_0x561172(0x10e)]=_0x4e4617;const _0x498098=this[_0x561172(0xf5)](_0x5615bb,_0x2799a0,_0x5d91b9);this[_0x561172(0x101)]=new _0x18c106(_0x37db40,_0x498098,this[_0x561172(0xef)]),this[_0x561172(0x101)][_0x561172(0xeb)]=Gs,this[_0x561172(0x101)][_0x561172(0xee)][_0x561172(0x10a)](_0x498098),this[_0x561172(0xec)]=new _0x55646d(),this[_0x561172(0x112)]=new _0x5c96ed(),_0x4e4617&&(this[_0x561172(0xa9)]=this[_0x561172(0xf8)]()),this[_0x561172(0xbe)]=_0x498098,this[_0x561172(0xcd)]=new _0x22d2f3({'focusables':this[_0x561172(0xbe)],'focusTracker':this[_0x561172(0xec)],'keystrokeHandler':this[_0x561172(0x112)]}),_0x4e4617&&this[_0x561172(0xa9)]&&this[_0x561172(0xcd)][_0x561172(0x109)](this[_0x561172(0xa9)][_0x561172(0xcd)]);const _0x24a270=_0x4e4617&&this[_0x561172(0xa9)]?[this[_0x561172(0xa9)]]:[this[_0x561172(0x101)]];this[_0x561172(0x107)]=new _0x53279c(_0x24a270),this[_0x561172(0x10d)]({'tag':_0x561172(0x102),'attributes':{'class':['ck',_0x561172(0x11f),_0x561172(0xbf),_0x561172(0x11b)],'dir':_0x37db40[_0x561172(0x120)]},'children':this[_0x561172(0x107)]});}[_0x515e9e(0xf8)](){const _0x5c5657=_0x515e9e;return new _0x409402(this[_0x5c5657(0xf7)],{'filteredView':this[_0x5c5657(0x101)],'queryView':{'label':_0x1de53a(this[_0x5c5657(0xf7)],_0x5c5657(0xa8))},'class':_0x5c5657(0xc1),'infoView':{'text':{'notFound':{'primary':_0x1de53a(this[_0x5c5657(0xf7)],_0x5c5657(0xfa))}}}});}[_0x515e9e(0xf6)](){const _0x22d6b5=_0x515e9e;if(!this[_0x22d6b5(0x10e)]||!this[_0x22d6b5(0xa9)]||!this[_0x22d6b5(0xa9)][_0x22d6b5(0xab)][_0x22d6b5(0x11e)][_0x22d6b5(0xfd)])return!0x1;const _0x226485=this[_0x22d6b5(0xa9)][_0x22d6b5(0xab)][_0x22d6b5(0x11e)][_0x22d6b5(0xfd)][_0x22d6b5(0xe2)]?.[_0x22d6b5(0xbc)];return this[_0x22d6b5(0xa9)][_0x22d6b5(0xab)][_0x22d6b5(0x11e)][_0x22d6b5(0xfd)][_0x22d6b5(0xaf)](_0x226485);}[_0x515e9e(0xf5)](_0x2f4c4a,_0x102fc2,_0x258a02){const _0x54f3b7=_0x515e9e,_0x5cb59c=new _0x53279c();return _0x102fc2[_0x54f3b7(0x125)](_0x163b6d=>{const _0x3a5ebb=_0x54f3b7;if(_0x3a5ebb(0xd2)in _0x163b6d){const {listItem:_0x3f0f21}=this[_0x3a5ebb(0xc6)](_0x2f4c4a,_0x163b6d,_0x258a02);_0x5cb59c[_0x3a5ebb(0x126)](_0x3f0f21),_0x163b6d[_0x3a5ebb(0xd2)][_0x3a5ebb(0x125)](_0x228e25=>{const _0x2dfa61=_0x3a5ebb;this[_0x2dfa61(0xe9)](_0x2f4c4a,_0x228e25,_0x163b6d[_0x2dfa61(0xb9)],_0x163b6d[_0x2dfa61(0xf1)]);const {listItem:_0x1eda21,highlightViews:_0x183d23}=this[_0x2dfa61(0xf0)](_0x2f4c4a,_0x228e25,_0x163b6d[_0x2dfa61(0xb9)],_0x163b6d[_0x2dfa61(0xf1)]);this[_0x2dfa61(0xef)][_0x2dfa61(0xc7)]({'item':_0x1eda21,'label':_0x228e25[_0x2dfa61(0xe7)],'groupLabel':_0x163b6d[_0x2dfa61(0xb9)],'highlightViews':_0x183d23});});}else{const {listItem:_0x31fb1c}=this[_0x3a5ebb(0xe9)](_0x2f4c4a,_0x163b6d);_0x5cb59c[_0x3a5ebb(0x126)](_0x31fb1c);const _0x159b6a=_0x31fb1c[_0x3a5ebb(0x107)][_0x3a5ebb(0xcf)];if(_0x159b6a){const {listItem:_0x2adcee,highlightViews:_0x62d6cc}=this[_0x3a5ebb(0xf0)](_0x2f4c4a,_0x163b6d);this[_0x3a5ebb(0xef)][_0x3a5ebb(0xc7)]({'item':_0x2adcee,'label':_0x159b6a[_0x3a5ebb(0xb9)]||'','highlightViews':_0x62d6cc});}}}),_0x5cb59c;}[_0x515e9e(0xe9)](_0x137323,_0xad82b,_0xa841e9,_0x339fe8){const _0x513109=_0x515e9e,_0x652251=new _0x27d115(this[_0x513109(0xf7)]);if(_0xa841e9&&_0x339fe8){const _0x3a3bff=new _0x465415(this[_0x513109(0xf7)]),_0x3de298=_0x3a3bff[_0x513109(0xdd)],_0x50cbc4=new _0x1faf9e();_0x50cbc4[_0x513109(0xa6)]=_0xad82b[_0x513109(0xe7)];const _0x22a651=new _0x1faf9e();_0x22a651[_0x513109(0xa6)]=_0xa841e9;const _0x38a7ef=new _0x3c0a13();_0x38a7ef[_0x513109(0xd7)]=_0x339fe8,_0x38a7ef[_0x513109(0xac)]({'attributes':{'class':_0x513109(0xfb)}});const _0x161c82=new _0x24dad6(this[_0x513109(0xf7)]);_0x161c82[_0x513109(0x10d)]({'tag':_0x513109(0xb5),'attributes':{'class':_0x513109(0xea)},'children':[{'text':'\x20('}]});const _0x25fbb6=new _0x24dad6(this[_0x513109(0xf7)]);return _0x25fbb6[_0x513109(0x10d)]({'tag':_0x513109(0xb5),'attributes':{'class':_0x513109(0xb0)},'children':[{'text':')'}]}),_0x3a3bff[_0x513109(0xb4)]({'label':_0xad82b[_0x513109(0xe7)]+'\x20('+_0xa841e9+')','withText':!0x0,'role':_0x513109(0x123),'class':_0x513109(0xe6),'tooltip':!0x1}),_0x3a3bff[_0x513109(0x10d)]({'tag':_0x513109(0x10c),'attributes':{'class':['ck',_0x513109(0xfe),_0x513109(0xb2),_0x513109(0x108),_0x513109(0xc2)],'type':_0x513109(0x10c),'role':_0x513109(0x123),'tabindex':'-1'},'children':[_0x50cbc4,_0x161c82,_0x38a7ef,_0x22a651,_0x25fbb6],'on':{'mouseenter':_0x3de298['to'](()=>{const _0x190571=_0x513109;this[_0x190571(0xf6)]()||_0x3a3bff[_0x190571(0xd4)]();}),'click':_0x3de298['to'](()=>{const _0x2277c1=_0x513109;_0x3a3bff[_0x2277c1(0xd8)](_0x2277c1(0xc9));})}}),_0x3a3bff['on'](_0x513109(0xc9),()=>{const _0x109309=_0x513109;_0x137323[_0x109309(0xba)][_0x109309(0xe0)][_0x109309(0xd4)](),_0x137323[_0x109309(0xf4)][_0x109309(0xc9)](_0x109309(0x104),_0xad82b);}),_0x652251[_0x513109(0x107)][_0x513109(0x126)](_0x3a3bff),{'listItem':_0x652251,'highlightViews':[_0x50cbc4,_0x22a651]};}{const _0x769ea2=new _0x177e8b(),_0x34d317=new _0x465415(this[_0x513109(0xf7)],_0x769ea2),_0x3a06ea=_0x34d317[_0x513109(0xdd)],_0x167678=_0xad82b[_0x513109(0xf1)]??_0xad82b[_0x513109(0xc5)]?.[_0x513109(0xf1)],_0x175457=void 0x0!==_0xad82b[_0x513109(0xf1)];return _0x34d317[_0x513109(0xb4)]({'label':_0xad82b[_0x513109(0xe7)],'withText':!0x0,'role':_0x513109(0x123),'icon':_0x175457?_0x167678??_0x557e4c:void 0x0,'tooltip':!0x1,'class':_0x513109(0x108)}),_0x34d317[_0x513109(0xac)]({'on':{'mouseenter':_0x3a06ea['to'](()=>{const _0x5b4f84=_0x513109;this[_0x5b4f84(0xf6)]()||_0x34d317[_0x5b4f84(0xd4)]();})}}),_0x34d317['on'](_0x513109(0xc9),()=>{const _0x4b64cf=_0x513109;_0x137323[_0x4b64cf(0xba)][_0x4b64cf(0xe0)][_0x4b64cf(0xd4)](),_0x137323[_0x4b64cf(0xf4)][_0x4b64cf(0xc9)](_0x4b64cf(0x104),_0xad82b);}),_0x652251[_0x513109(0x107)][_0x513109(0x126)](_0x34d317),{'listItem':_0x652251,'highlightViews':[_0x769ea2]};}}[_0x515e9e(0xf0)](_0x3f6a9d,_0xb07e7e,_0xb1b0e8,_0x3fee04){const _0x4cc8d3=_0x515e9e;return _0xb1b0e8&&_0x3fee04?this[_0x4cc8d3(0x103)](_0x3f6a9d,_0xb07e7e,_0xb1b0e8,_0x3fee04):this[_0x4cc8d3(0x11d)](_0x3f6a9d,_0xb07e7e);}[_0x515e9e(0x103)](_0x5c62f0,_0x5f07e6,_0x1e6138,_0x159b82){const _0xc0b560=_0x515e9e,_0x1e7f82=new _0x27d115(this[_0xc0b560(0xf7)]),_0x402563=new _0x465415(this[_0xc0b560(0xf7)]),_0xcd8270=_0x402563[_0xc0b560(0xdd)],{view:_0x15a724,highlightView:_0x954170}=this[_0xc0b560(0x100)](_0x1e6138,_0x159b82),{view:_0x1f7bec,highlightView:_0x5eaaf8}=this[_0xc0b560(0xbd)](_0x5f07e6[_0xc0b560(0xe7)]),_0xad1891=this[_0xc0b560(0xd5)](_0x15a724,_0x1f7bec);return _0x402563[_0xc0b560(0xb4)]({'label':_0x5f07e6[_0xc0b560(0xe7)],'withText':!0x0,'role':_0xc0b560(0x123),'class':_0xc0b560(0xf2),'tooltip':!0x1}),_0x402563[_0xc0b560(0x10d)]({'tag':_0xc0b560(0x10c),'attributes':{'class':['ck',_0xc0b560(0xfe),_0xc0b560(0xb2),_0xc0b560(0x108),_0xc0b560(0xf3),_0xc0b560(0xed)],'type':_0xc0b560(0x10c),'role':_0xc0b560(0x123),'tabindex':'-1'},'children':[_0xad1891],'on':{'mouseenter':_0xcd8270['to'](()=>{const _0x370bc1=_0xc0b560;this[_0x370bc1(0xf6)]()||_0x402563[_0x370bc1(0xd4)]();}),'click':_0xcd8270['to'](()=>{const _0x1f20a1=_0xc0b560;this[_0x1f20a1(0xad)](_0x402563);})}}),this[_0xc0b560(0x105)](_0x402563,_0x5c62f0,_0x5f07e6),_0x1e7f82[_0xc0b560(0x107)][_0xc0b560(0x126)](_0x402563),{'listItem':_0x1e7f82,'highlightViews':[_0x954170,_0x5eaaf8]};}[_0x515e9e(0x11d)](_0x470f35,_0x50c54e){const _0x3b65fd=_0x515e9e,_0x96070=new _0x27d115(this[_0x3b65fd(0xf7)]),_0x5cc2b8=new _0x177e8b(),_0x15096f=new _0x465415(this[_0x3b65fd(0xf7)],_0x5cc2b8),_0x298e9e=_0x15096f[_0x3b65fd(0xdd)];return _0x15096f[_0x3b65fd(0xb4)]({'label':_0x50c54e[_0x3b65fd(0xe7)],'withText':!0x0,'role':_0x3b65fd(0x123),'icon':void 0x0,'tooltip':!0x1,'class':_0x3b65fd(0xb1)}),_0x15096f[_0x3b65fd(0xac)]({'on':{'mouseenter':_0x298e9e['to'](()=>{const _0x53a5e9=_0x3b65fd;this[_0x53a5e9(0xf6)]()||_0x15096f[_0x53a5e9(0xd4)]();})}}),this[_0x3b65fd(0x105)](_0x15096f,_0x470f35,_0x50c54e),_0x96070[_0x3b65fd(0x107)][_0x3b65fd(0x126)](_0x15096f),{'listItem':_0x96070,'highlightViews':[_0x5cc2b8]};}[_0x515e9e(0x100)](_0x51cfbf,_0x46af34){const _0x494ce2=_0x515e9e,_0x2f5dd6=new _0x24dad6(this[_0x494ce2(0xf7)]),_0x12f681=new _0x3c0a13();_0x12f681[_0x494ce2(0xd7)]=_0x46af34,_0x12f681[_0x494ce2(0xac)]({'attributes':{'class':_0x494ce2(0xfb)}});const _0x53ae8b=new _0x1faf9e();return _0x53ae8b[_0x494ce2(0xa6)]=_0x51cfbf,_0x2f5dd6[_0x494ce2(0x10d)]({'tag':_0x494ce2(0x102),'attributes':{'class':_0x494ce2(0xc4)},'children':[_0x12f681,_0x53ae8b]}),{'view':_0x2f5dd6,'highlightView':_0x53ae8b};}[_0x515e9e(0xbd)](_0x4e0b65){const _0x45a18c=_0x515e9e,_0x356a74=new _0x24dad6(this[_0x45a18c(0xf7)]),_0x7fe40a=new _0x1faf9e();return _0x7fe40a[_0x45a18c(0xa6)]=_0x4e0b65,_0x356a74[_0x45a18c(0x10d)]({'tag':_0x45a18c(0x102),'attributes':{'class':_0x45a18c(0xe4)},'children':[_0x7fe40a]}),{'view':_0x356a74,'highlightView':_0x7fe40a};}[_0x515e9e(0xd5)](_0x331c28,_0x2407c2){const _0x3a1118=_0x515e9e,_0x141a33=new _0x24dad6(this[_0x3a1118(0xf7)]);return _0x141a33[_0x3a1118(0x10d)]({'tag':_0x3a1118(0x102),'attributes':{'class':_0x3a1118(0x11a)},'children':[_0x331c28,_0x2407c2]}),_0x141a33;}[_0x515e9e(0x105)](_0x44ea99,_0x35e875,_0x28e4d3){const _0x265518=_0x515e9e;_0x44ea99['on'](_0x265518(0xc9),()=>{const _0x42327c=_0x265518;_0x35e875[_0x42327c(0xba)][_0x42327c(0xe0)][_0x42327c(0xd4)](),_0x35e875[_0x42327c(0xf4)][_0x42327c(0xc9)](_0x42327c(0x104),_0x28e4d3);});}[_0x515e9e(0xc6)](_0x17db62,_0x7bf547,_0xfac794){const _0x451474=_0x515e9e,_0x32c5d=new _0x27d115(this[_0x451474(0xf7)]),_0x554206=new _0x177e8b(),_0x52618f=new _0x4a913a(this[_0x451474(0xf7)],_0x554206),_0x15c4b0=_0x52618f[_0x451474(0xdd)],_0xa8f745=this[_0x451474(0xcb)](_0xfac794),_0x561b47=this[_0x451474(0x9f)](_0x17db62,_0x7bf547[_0x451474(0xd2)],_0xfac794);_0x52618f[_0x451474(0xb4)]({'label':_0x7bf547[_0x451474(0xb9)],'withText':!0x0,'role':Ks,'icon':_0x7bf547[_0x451474(0xf1)]??_0x557e4c,'isEnabled':_0x7bf547[_0x451474(0xd2)][_0x451474(0x10b)](_0x242565=>_0x242565[_0x451474(0xd9)])}),_0x52618f[_0x451474(0xac)]({'on':{'mouseenter':_0x15c4b0['to'](()=>{const _0x407bd4=_0x451474;this[_0x407bd4(0xf6)]()||_0x52618f[_0x407bd4(0xd4)]();})}});const _0x458e49=new _0x415521(this[_0x451474(0xf7)]);return _0x458e49[_0x451474(0xac)]({'attributes':{'class':['ck',_0x451474(0x11f),_0x451474(0x119),_0x451474(0xca)]},'on':{'keydown':_0x15c4b0['to'](_0x491f15=>{const _0x50154b=_0x451474;this[_0x50154b(0xb7)](_0x491f15,_0xa8f745,_0x52618f,_0x458e49);})}}),_0x52618f[_0x451474(0x116)](_0x451474(0xdc))['to'](_0x458e49,_0x451474(0xd6)),this[_0x451474(0xda)][_0x451474(0x126)](_0x458e49),_0x458e49[_0x451474(0xd7)][_0x451474(0x126)](_0x561b47),this[_0x451474(0x117)](_0x52618f,_0x458e49),_0x32c5d[_0x451474(0x107)][_0x451474(0x126)](_0x52618f),{'listItem':_0x32c5d,'highlightView':_0x554206};}[_0x515e9e(0x9f)](_0x315edd,_0x35b52a,_0x3d9739){const _0x3da6a2=_0x515e9e,_0x4bd7ff=new _0x4f0778(this[_0x3da6a2(0xf7)]);return _0x4bd7ff[_0x3da6a2(0xac)]({'attributes':{'class':['ck',_0x3da6a2(0x11f),_0x3da6a2(0xa0),_0x3da6a2(0x122)]}}),_0x35b52a[_0x3da6a2(0x125)](_0x348bb3=>{const _0x1aeb9a=_0x3da6a2,_0x115fdd=new _0x27d115(this[_0x1aeb9a(0xf7)]),_0xdc0953=_0x794d58({'editor':_0x315edd,'action':_0x348bb3,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x1aeb9a(0xf6)]()})();_0x115fdd[_0x1aeb9a(0x107)][_0x1aeb9a(0x126)](_0xdc0953),_0x3d9739[_0x1aeb9a(0xec)][_0x1aeb9a(0x126)](_0xdc0953),_0x4bd7ff[_0x1aeb9a(0xee)][_0x1aeb9a(0x126)](_0x115fdd);}),_0x4bd7ff;}[_0x515e9e(0x117)](_0x1cfd4d,_0x8590d9){const _0x26cd04=_0x515e9e,_0x3e6ea2=_0x1cfd4d[_0x26cd04(0xdd)],_0x332a19=this[_0x26cd04(0xf9)](_0x1cfd4d);_0x1cfd4d[_0x26cd04(0xac)]({'attributes':{'class':[_0x26cd04(0xa5)]},'on':{'mouseenter':_0x3e6ea2['to'](()=>{const _0x2ae95f=_0x26cd04;this[_0x2ae95f(0x121)](_0x8590d9,_0x1cfd4d);}),'mouseleave':_0x3e6ea2['to'](_0x9b658b=>{const _0x3e3a9b=_0x26cd04,_0x72d3d1=_0x9b658b[_0x3e3a9b(0xae)];this[_0x3e3a9b(0x111)](_0x72d3d1,_0x8590d9)||this[_0x3e3a9b(0xa7)](_0x8590d9);}),'keydown':_0x3e6ea2['to'](_0x4eb995=>{const _0x26541b=_0x26cd04;_0x4eb995[_0x26541b(0x106)]==_0x332a19&&(this[_0x26541b(0x121)](_0x8590d9,_0x1cfd4d),_0x8590d9[_0x26541b(0xd7)][_0x26541b(0xe8)](0x0)[_0x26541b(0xd4)]());})}}),_0x8590d9['on'](_0x26cd04(0xd0),()=>{const _0x1014d1=_0x26cd04;_0x8590d9[_0x1014d1(0xfd)]?.[_0x1014d1(0xde)](_0x1014d1(0xe5),_0x2c1452=>{const _0x511801=_0x1014d1,_0x27229e=_0x2c1452[_0x511801(0xae)];_0x1cfd4d[_0x511801(0xfd)]?.[_0x511801(0xaf)](_0x27229e)||this[_0x511801(0x111)](_0x27229e,_0x8590d9)||this[_0x511801(0xa7)](_0x8590d9);});});}[_0x515e9e(0x121)](_0x3b538c,_0x559b6c){const _0x3ac74a=_0x515e9e;this[_0x3ac74a(0xc8)][_0x3ac74a(0x125)](_0x48b5e8=>{const _0x78e1e3=_0x3ac74a;_0x48b5e8!==_0x3b538c&&_0x48b5e8[_0x78e1e3(0xd6)]&&_0x48b5e8[_0x78e1e3(0xa2)]();}),_0x3b538c[_0x3ac74a(0xe1)](),_0x3b538c[_0x3ac74a(0x11c)]({'positions':[_0x10ee05[_0x3ac74a(0x10f)]],'target':_0x559b6c[_0x3ac74a(0xfd)],'fitInViewport':!0x0}),this[_0x3ac74a(0xc8)][_0x3ac74a(0x126)](_0x3b538c);}[_0x515e9e(0xa7)](_0x3b8f2a){const _0x2efb84=_0x515e9e;_0x3b8f2a[_0x2efb84(0xa2)](),this[_0x2efb84(0xc8)][_0x2efb84(0x110)](_0x3b8f2a);}[_0x515e9e(0xd3)](){const _0x101a0b=_0x515e9e;this[_0x101a0b(0xc8)][_0x101a0b(0x125)](_0x2143e5=>_0x2143e5[_0x101a0b(0xa2)]()),this[_0x101a0b(0xc8)][_0x101a0b(0x113)]();}[_0x515e9e(0x111)](_0x35fba5,_0x13d832){const _0x3deea4=_0x515e9e;if(!_0x35fba5)return!0x1;if(_0x13d832[_0x3deea4(0xfd)]?.[_0x3deea4(0xaf)](_0x35fba5))return!0x0;const _0x5811c9=_0x35fba5;return _0x5811c9[_0x3deea4(0xa4)]&&(null!==_0x5811c9[_0x3deea4(0xa4)](_0x3deea4(0x127))||null!==_0x5811c9[_0x3deea4(0xa4)](_0x3deea4(0xaa))||null!==_0x5811c9[_0x3deea4(0xa4)](_0x3deea4(0xd1)));}[_0x515e9e(0x118)](){const _0x52960b=_0x515e9e;this[_0x52960b(0xa9)]&&this[_0x52960b(0xa9)][_0x52960b(0xbb)]();}[_0x515e9e(0xcc)](){const _0x372c03=_0x515e9e;this[_0x372c03(0xd3)](),this[_0x372c03(0xda)][_0x372c03(0xa3)](),super[_0x372c03(0xcc)]();}[_0x515e9e(0xd4)](){const _0x2f0d89=_0x515e9e;this[_0x2f0d89(0xa9)]?this[_0x2f0d89(0xa9)][_0x2f0d89(0xd4)]():this[_0x2f0d89(0x101)][_0x2f0d89(0xd4)]();}[_0x515e9e(0xcb)](_0x47de92){const _0x296b58=_0x515e9e;return _0x296b58(0x124)===_0x47de92[_0x296b58(0xf7)][_0x296b58(0x120)]?_0x296b58(0xdb):_0x296b58(0xa1);}[_0x515e9e(0xf9)](_0x24c5f3){const _0x51261c=_0x515e9e;return _0x51261c(0x124)===_0x24c5f3[_0x51261c(0xf7)][_0x51261c(0x120)]?_0x51261c(0xa1):_0x51261c(0xdb);}[_0x515e9e(0xb7)](_0x6950e4,_0x45eaaf,_0x836459,_0x3661db){const _0x374370=_0x515e9e;_0x6950e4[_0x374370(0x106)]==_0x45eaaf&&(_0x836459[_0x374370(0xd4)](),this[_0x374370(0xa7)](_0x3661db));}[_0x515e9e(0xad)](_0x154d8b){const _0x359d8d=_0x515e9e;_0x154d8b[_0x359d8d(0xd8)](_0x359d8d(0xc9));}}
|
|
23
|
+
const _0x190899=_0x2597;(function(_0x11f2aa,_0x29d2c3){const _0x2e57e3=_0x2597,_0x32ed37=_0x11f2aa();while(!![]){try{const _0x9d3ba2=parseInt(_0x2e57e3(0x132))/0x1*(-parseInt(_0x2e57e3(0x1ac))/0x2)+-parseInt(_0x2e57e3(0x154))/0x3+-parseInt(_0x2e57e3(0x1b8))/0x4+-parseInt(_0x2e57e3(0x17e))/0x5*(parseInt(_0x2e57e3(0x1b9))/0x6)+-parseInt(_0x2e57e3(0x17c))/0x7*(-parseInt(_0x2e57e3(0x170))/0x8)+-parseInt(_0x2e57e3(0x1aa))/0x9*(parseInt(_0x2e57e3(0x150))/0xa)+parseInt(_0x2e57e3(0x178))/0xb*(parseInt(_0x2e57e3(0x151))/0xc);if(_0x9d3ba2===_0x29d2c3)break;else _0x32ed37['push'](_0x32ed37['shift']());}catch(_0x358454){_0x32ed37['push'](_0x32ed37['shift']());}}}(_0x5bfb,0x1ec4c));import{View as _0x436d3b,ListItemView as _0xe2b21b,ListView as _0x56a24d,BalloonPanelView as _0x4cc816,DropdownMenuPanelPositioningFunctions as _0x54cc85,ViewCollection as _0x34cb06,FocusCycler as _0xa5e0ac,ButtonView as _0x11bf3b,IconView as _0x47242e,HighlightedTextView as _0x385229,ButtonLabelWithHighlightView as _0x3ed0d3,SearchTextView as _0x13f4d0}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xaa05c9}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x3e4ffe,KeystrokeHandler as _0x4a591f}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x4d81a4}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x57819a}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x34135a}from'../../aicore/utils/common-translations.js';function _0x2597(_0x4a7bf2,_0x2045d9){const _0x5bfbff=_0x5bfb();return _0x2597=function(_0x259734,_0x4a3ee9){_0x259734=_0x259734-0x130;let _0xec64e7=_0x5bfbff[_0x259734];return _0xec64e7;},_0x2597(_0x4a7bf2,_0x2045d9);}import{AIQuickActionsFilteredListView as _0x13b670}from'./aiquickactionsfilteredlistview.js';const Qs=_0x190899(0x196),Gs=_0x190899(0x16d);export class AIQuickActionsDropdownContentView extends _0x436d3b{[_0x190899(0x19d)];[_0x190899(0x15d)];[_0x190899(0x13f)]=null;[_0x190899(0x17a)]=[];[_0x190899(0x1a0)];[_0x190899(0x148)];[_0x190899(0x13c)];[_0x190899(0x143)];[_0x190899(0x185)];[_0x190899(0x166)]=new Set();[_0x190899(0x17f)];constructor(_0x50f542,_0x3c9c9d,_0x3595bb,_0x2c2bfe,_0x38b449=!0x1){const _0x24961a=_0x190899,_0x522772=_0x50f542[_0x24961a(0x164)];super(_0x522772),this[_0x24961a(0x19d)]=_0x2c2bfe,this[_0x24961a(0x17f)]=_0x38b449;const _0x16530b=this[_0x24961a(0x158)](_0x50f542,_0x3c9c9d,_0x3595bb);this[_0x24961a(0x15d)]=new _0x13b670(_0x522772,_0x16530b,this[_0x24961a(0x17a)]),this[_0x24961a(0x15d)][_0x24961a(0x171)]=Qs,this[_0x24961a(0x15d)][_0x24961a(0x1ad)][_0x24961a(0x175)](_0x16530b),this[_0x24961a(0x148)]=new _0x3e4ffe(),this[_0x24961a(0x13c)]=new _0x4a591f(),_0x38b449&&(this[_0x24961a(0x13f)]=this[_0x24961a(0x168)]()),this[_0x24961a(0x143)]=_0x16530b,this[_0x24961a(0x185)]=new _0xa5e0ac({'focusables':this[_0x24961a(0x143)],'focusTracker':this[_0x24961a(0x148)],'keystrokeHandler':this[_0x24961a(0x13c)]}),_0x38b449&&this[_0x24961a(0x13f)]&&this[_0x24961a(0x185)][_0x24961a(0x15c)](this[_0x24961a(0x13f)][_0x24961a(0x185)]);const _0x323bfb=_0x38b449&&this[_0x24961a(0x13f)]?[this[_0x24961a(0x13f)]]:[this[_0x24961a(0x15d)]];this[_0x24961a(0x1a0)]=new _0x34cb06(_0x323bfb),this[_0x24961a(0x133)]({'tag':_0x24961a(0x156),'attributes':{'class':['ck',_0x24961a(0x16e),_0x24961a(0x16b),_0x24961a(0x186)],'dir':_0x522772[_0x24961a(0x145)]},'children':this[_0x24961a(0x1a0)]});}[_0x190899(0x168)](){const _0x5b5d88=_0x190899;return new _0x13f4d0(this[_0x5b5d88(0x164)],{'filteredView':this[_0x5b5d88(0x15d)],'queryView':{'label':_0x34135a(this[_0x5b5d88(0x164)],_0x5b5d88(0x134))},'class':_0x5b5d88(0x137),'infoView':{'text':{'notFound':{'primary':_0x34135a(this[_0x5b5d88(0x164)],_0x5b5d88(0x194))}}}});}[_0x190899(0x162)](){const _0xb267d9=_0x190899;if(!this[_0xb267d9(0x17f)]||!this[_0xb267d9(0x13f)]||!this[_0xb267d9(0x13f)][_0xb267d9(0x183)][_0xb267d9(0x18a)][_0xb267d9(0x190)])return!0x1;const _0x49bc17=this[_0xb267d9(0x13f)][_0xb267d9(0x183)][_0xb267d9(0x18a)][_0xb267d9(0x190)][_0xb267d9(0x13a)]?.[_0xb267d9(0x160)];return this[_0xb267d9(0x13f)][_0xb267d9(0x183)][_0xb267d9(0x18a)][_0xb267d9(0x190)][_0xb267d9(0x1a6)](_0x49bc17);}[_0x190899(0x158)](_0x7f367d,_0x238a07,_0x2ae231){const _0x18c97e=_0x190899,_0x47c678=new _0x34cb06();return _0x238a07[_0x18c97e(0x191)](_0x1a47e5=>{const _0x11b884=_0x18c97e;if(_0x11b884(0x163)in _0x1a47e5){const {listItem:_0x3d84f5}=this[_0x11b884(0x18b)](_0x7f367d,_0x1a47e5,_0x2ae231);_0x47c678[_0x11b884(0x19c)](_0x3d84f5),_0x1a47e5[_0x11b884(0x163)][_0x11b884(0x191)](_0x2e567b=>{const _0x16ee6d=_0x11b884;this[_0x16ee6d(0x139)](_0x7f367d,_0x2e567b,_0x1a47e5[_0x16ee6d(0x184)],_0x1a47e5[_0x16ee6d(0x176)]);const {listItem:_0x525dd8,highlightViews:_0xacfa46}=this[_0x16ee6d(0x172)](_0x7f367d,_0x2e567b,_0x1a47e5[_0x16ee6d(0x184)],_0x1a47e5[_0x16ee6d(0x176)]);this[_0x16ee6d(0x17a)][_0x16ee6d(0x130)]({'item':_0x525dd8,'label':_0x2e567b[_0x16ee6d(0x1a3)],'groupLabel':_0x1a47e5[_0x16ee6d(0x184)],'highlightViews':_0xacfa46});});}else{const {listItem:_0x49bd70}=this[_0x11b884(0x139)](_0x7f367d,_0x1a47e5);_0x47c678[_0x11b884(0x19c)](_0x49bd70);const _0x50006b=_0x49bd70[_0x11b884(0x1a0)][_0x11b884(0x1a5)];if(_0x50006b){const {listItem:_0x39fb9b,highlightViews:_0x38e93d}=this[_0x11b884(0x172)](_0x7f367d,_0x1a47e5);this[_0x11b884(0x17a)][_0x11b884(0x130)]({'item':_0x39fb9b,'label':_0x50006b[_0x11b884(0x184)]||'','highlightViews':_0x38e93d});}}}),_0x47c678;}[_0x190899(0x139)](_0x3e75af,_0x5c9024,_0x3aedaa,_0x602ea5){const _0x5c7caa=_0x190899,_0x259ca2=new _0xe2b21b(this[_0x5c7caa(0x164)]);if(_0x3aedaa&&_0x602ea5){const _0x577274=new _0x11bf3b(this[_0x5c7caa(0x164)]),_0x22a7fc=_0x577274[_0x5c7caa(0x198)],_0x5c37ee=new _0x385229();_0x5c37ee[_0x5c7caa(0x14c)]=_0x5c9024[_0x5c7caa(0x1a3)];const _0x39fcda=new _0x385229();_0x39fcda[_0x5c7caa(0x14c)]=_0x3aedaa;const _0x32790d=new _0x47242e();_0x32790d[_0x5c7caa(0x174)]=_0x602ea5,_0x32790d[_0x5c7caa(0x195)]({'attributes':{'class':_0x5c7caa(0x13e)}});const _0x3ec115=new _0x436d3b(this[_0x5c7caa(0x164)]);_0x3ec115[_0x5c7caa(0x133)]({'tag':_0x5c7caa(0x16c),'attributes':{'class':_0x5c7caa(0x149)},'children':[{'text':'\x20('}]});const _0x4a852c=new _0x436d3b(this[_0x5c7caa(0x164)]);return _0x4a852c[_0x5c7caa(0x133)]({'tag':_0x5c7caa(0x16c),'attributes':{'class':_0x5c7caa(0x147)},'children':[{'text':')'}]}),_0x577274[_0x5c7caa(0x135)]({'label':_0x5c9024[_0x5c7caa(0x1a3)]+'\x20('+_0x3aedaa+')','withText':!0x0,'role':_0x5c7caa(0x16d),'class':_0x5c7caa(0x136),'tooltip':!0x1}),_0x577274[_0x5c7caa(0x133)]({'tag':_0x5c7caa(0x193),'attributes':{'class':['ck',_0x5c7caa(0x1b7),_0x5c7caa(0x182),_0x5c7caa(0x15a),_0x5c7caa(0x1ae)],'type':_0x5c7caa(0x193),'role':_0x5c7caa(0x16d),'tabindex':'-1'},'children':[_0x5c37ee,_0x3ec115,_0x32790d,_0x39fcda,_0x4a852c],'on':{'mouseenter':_0x22a7fc['to'](()=>{const _0x27a9a9=_0x5c7caa;this[_0x27a9a9(0x162)]()||_0x577274[_0x27a9a9(0x14b)]();}),'click':_0x22a7fc['to'](()=>{const _0x6a7869=_0x5c7caa;_0x577274[_0x6a7869(0x13b)](_0x6a7869(0x1a7));})}}),_0x577274['on'](_0x5c7caa(0x1a7),()=>{const _0x3604c1=_0x5c7caa;_0x3e75af[_0x3604c1(0x173)][_0x3604c1(0x144)][_0x3604c1(0x14b)](),_0x3e75af[_0x3604c1(0x14e)][_0x3604c1(0x1a7)](_0x3604c1(0x131),_0x5c9024);}),_0x259ca2[_0x5c7caa(0x1a0)][_0x5c7caa(0x19c)](_0x577274),{'listItem':_0x259ca2,'highlightViews':[_0x5c37ee,_0x39fcda]};}{const _0xb418c1=new _0x3ed0d3(),_0x162c4f=new _0x11bf3b(this[_0x5c7caa(0x164)],_0xb418c1),_0x373172=_0x162c4f[_0x5c7caa(0x198)],_0x4ddbeb=_0x5c9024[_0x5c7caa(0x176)]??_0x5c9024[_0x5c7caa(0x197)]?.[_0x5c7caa(0x176)],_0x46d69a=void 0x0!==_0x5c9024[_0x5c7caa(0x176)];return _0x162c4f[_0x5c7caa(0x135)]({'label':_0x5c9024[_0x5c7caa(0x1a3)],'withText':!0x0,'role':_0x5c7caa(0x16d),'icon':_0x46d69a?_0x4ddbeb??_0xaa05c9:void 0x0,'tooltip':!0x1,'class':_0x5c7caa(0x15a)}),_0x162c4f[_0x5c7caa(0x195)]({'on':{'mouseenter':_0x373172['to'](()=>{const _0x2b7464=_0x5c7caa;this[_0x2b7464(0x162)]()||_0x162c4f[_0x2b7464(0x14b)]();})}}),_0x162c4f['on'](_0x5c7caa(0x1a7),()=>{const _0x1cde7c=_0x5c7caa;_0x3e75af[_0x1cde7c(0x173)][_0x1cde7c(0x144)][_0x1cde7c(0x14b)](),_0x3e75af[_0x1cde7c(0x14e)][_0x1cde7c(0x1a7)](_0x1cde7c(0x131),_0x5c9024);}),_0x259ca2[_0x5c7caa(0x1a0)][_0x5c7caa(0x19c)](_0x162c4f),{'listItem':_0x259ca2,'highlightViews':[_0xb418c1]};}}[_0x190899(0x172)](_0x5013c8,_0x3e75b7,_0x218f33,_0x2d15eb){const _0x596c82=_0x190899;return _0x218f33&&_0x2d15eb?this[_0x596c82(0x19b)](_0x5013c8,_0x3e75b7,_0x218f33,_0x2d15eb):this[_0x596c82(0x167)](_0x5013c8,_0x3e75b7);}[_0x190899(0x19b)](_0x26f322,_0x556ce3,_0x324d63,_0x39c1e0){const _0x47d272=_0x190899,_0x15efad=new _0xe2b21b(this[_0x47d272(0x164)]),_0x3bd32e=new _0x11bf3b(this[_0x47d272(0x164)]),_0x573d5f=_0x3bd32e[_0x47d272(0x198)],{view:_0x3753de,highlightView:_0x124f60}=this[_0x47d272(0x161)](_0x324d63,_0x39c1e0),{view:_0x6bc71,highlightView:_0x59a648}=this[_0x47d272(0x15b)](_0x556ce3[_0x47d272(0x1a3)]),_0x2c1156=this[_0x47d272(0x1a2)](_0x3753de,_0x6bc71);return _0x3bd32e[_0x47d272(0x135)]({'label':_0x556ce3[_0x47d272(0x1a3)],'withText':!0x0,'role':_0x47d272(0x16d),'class':_0x47d272(0x14d),'tooltip':!0x1}),_0x3bd32e[_0x47d272(0x133)]({'tag':_0x47d272(0x193),'attributes':{'class':['ck',_0x47d272(0x1b7),_0x47d272(0x182),_0x47d272(0x15a),_0x47d272(0x1b6),_0x47d272(0x18c)],'type':_0x47d272(0x193),'role':_0x47d272(0x16d),'tabindex':'-1'},'children':[_0x2c1156],'on':{'mouseenter':_0x573d5f['to'](()=>{const _0x29b586=_0x47d272;this[_0x29b586(0x162)]()||_0x3bd32e[_0x29b586(0x14b)]();}),'click':_0x573d5f['to'](()=>{const _0x554fe4=_0x47d272;this[_0x554fe4(0x13d)](_0x3bd32e);})}}),this[_0x47d272(0x165)](_0x3bd32e,_0x26f322,_0x556ce3),_0x15efad[_0x47d272(0x1a0)][_0x47d272(0x19c)](_0x3bd32e),{'listItem':_0x15efad,'highlightViews':[_0x124f60,_0x59a648]};}[_0x190899(0x167)](_0x5316f4,_0x40cbd2){const _0xe8faa=_0x190899,_0x4fd20d=new _0xe2b21b(this[_0xe8faa(0x164)]),_0x33e000=new _0x3ed0d3(),_0x2d94e6=new _0x11bf3b(this[_0xe8faa(0x164)],_0x33e000),_0x5597df=_0x2d94e6[_0xe8faa(0x198)];return _0x2d94e6[_0xe8faa(0x135)]({'label':_0x40cbd2[_0xe8faa(0x1a3)],'withText':!0x0,'role':_0xe8faa(0x16d),'icon':void 0x0,'tooltip':!0x1,'class':_0xe8faa(0x141)}),_0x2d94e6[_0xe8faa(0x195)]({'on':{'mouseenter':_0x5597df['to'](()=>{const _0x16028b=_0xe8faa;this[_0x16028b(0x162)]()||_0x2d94e6[_0x16028b(0x14b)]();})}}),this[_0xe8faa(0x165)](_0x2d94e6,_0x5316f4,_0x40cbd2),_0x4fd20d[_0xe8faa(0x1a0)][_0xe8faa(0x19c)](_0x2d94e6),{'listItem':_0x4fd20d,'highlightViews':[_0x33e000]};}[_0x190899(0x161)](_0x4afbd0,_0x21d652){const _0x165cec=_0x190899,_0x50c023=new _0x436d3b(this[_0x165cec(0x164)]),_0x3f8aaa=new _0x47242e();_0x3f8aaa[_0x165cec(0x174)]=_0x21d652,_0x3f8aaa[_0x165cec(0x195)]({'attributes':{'class':_0x165cec(0x13e)}});const _0x2d9efd=new _0x385229();return _0x2d9efd[_0x165cec(0x14c)]=_0x4afbd0,_0x50c023[_0x165cec(0x133)]({'tag':_0x165cec(0x156),'attributes':{'class':_0x165cec(0x140)},'children':[_0x3f8aaa,_0x2d9efd]}),{'view':_0x50c023,'highlightView':_0x2d9efd};}[_0x190899(0x15b)](_0x52861a){const _0x4fbb2d=_0x190899,_0x54f656=new _0x436d3b(this[_0x4fbb2d(0x164)]),_0x4d9377=new _0x385229();return _0x4d9377[_0x4fbb2d(0x14c)]=_0x52861a,_0x54f656[_0x4fbb2d(0x133)]({'tag':_0x4fbb2d(0x156),'attributes':{'class':_0x4fbb2d(0x1ab)},'children':[_0x4d9377]}),{'view':_0x54f656,'highlightView':_0x4d9377};}[_0x190899(0x1a2)](_0x3478d2,_0x137ce4){const _0x1fc0eb=_0x190899,_0x2c20d6=new _0x436d3b(this[_0x1fc0eb(0x164)]);return _0x2c20d6[_0x1fc0eb(0x133)]({'tag':_0x1fc0eb(0x156),'attributes':{'class':_0x1fc0eb(0x152)},'children':[_0x3478d2,_0x137ce4]}),_0x2c20d6;}[_0x190899(0x165)](_0x1a3e4a,_0x165b00,_0x5f0a3b){const _0x240a29=_0x190899;_0x1a3e4a['on'](_0x240a29(0x1a7),()=>{const _0x278e43=_0x240a29;_0x165b00[_0x278e43(0x173)][_0x278e43(0x144)][_0x278e43(0x14b)](),_0x165b00[_0x278e43(0x14e)][_0x278e43(0x1a7)](_0x278e43(0x131),_0x5f0a3b);});}[_0x190899(0x18b)](_0x4b320e,_0x37c5e2,_0x17c108){const _0x436748=_0x190899,_0x521816=new _0xe2b21b(this[_0x436748(0x164)]),_0x131d3e=new _0x3ed0d3(),_0x9b3f0=new _0x57819a(this[_0x436748(0x164)],_0x131d3e),_0x324e17=_0x9b3f0[_0x436748(0x198)],_0x5b1d58=this[_0x436748(0x1b4)](_0x17c108),_0x251f3d=this[_0x436748(0x16f)](_0x4b320e,_0x37c5e2[_0x436748(0x163)],_0x17c108);_0x9b3f0[_0x436748(0x135)]({'label':_0x37c5e2[_0x436748(0x184)],'withText':!0x0,'role':Gs,'icon':_0x37c5e2[_0x436748(0x176)]??_0xaa05c9,'isEnabled':_0x37c5e2[_0x436748(0x163)][_0x436748(0x14a)](_0x5c79cb=>_0x5c79cb[_0x436748(0x138)])}),_0x9b3f0[_0x436748(0x195)]({'on':{'mouseenter':_0x324e17['to'](()=>{const _0x443efd=_0x436748;this[_0x443efd(0x162)]()||_0x9b3f0[_0x443efd(0x14b)]();})}});const _0x4bef97=new _0x4cc816(this[_0x436748(0x164)]);return _0x4bef97[_0x436748(0x195)]({'attributes':{'class':['ck',_0x436748(0x16e),_0x436748(0x159),_0x436748(0x157)]},'on':{'keydown':_0x324e17['to'](_0x54afe3=>{const _0x569e21=_0x436748;this[_0x569e21(0x19e)](_0x54afe3,_0x5b1d58,_0x9b3f0,_0x4bef97);})}}),_0x9b3f0[_0x436748(0x17b)](_0x436748(0x15f))['to'](_0x4bef97,_0x436748(0x1b5)),this[_0x436748(0x19d)][_0x436748(0x19c)](_0x4bef97),_0x4bef97[_0x436748(0x174)][_0x436748(0x19c)](_0x251f3d),this[_0x436748(0x14f)](_0x9b3f0,_0x4bef97),_0x521816[_0x436748(0x1a0)][_0x436748(0x19c)](_0x9b3f0),{'listItem':_0x521816,'highlightView':_0x131d3e};}[_0x190899(0x16f)](_0x306c3b,_0x47c363,_0x2c5910){const _0x1c69da=_0x190899,_0x5cc345=new _0x56a24d(this[_0x1c69da(0x164)]);return _0x5cc345[_0x1c69da(0x195)]({'attributes':{'class':['ck',_0x1c69da(0x16e),_0x1c69da(0x181),_0x1c69da(0x1b3)]}}),_0x47c363[_0x1c69da(0x191)](_0x3e6d6a=>{const _0x3eb3a6=_0x1c69da,_0xca23ca=new _0xe2b21b(this[_0x3eb3a6(0x164)]),_0x294445=_0x4d81a4({'editor':_0x306c3b,'action':_0x3e6d6a,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x3eb3a6(0x162)]()})();_0xca23ca[_0x3eb3a6(0x1a0)][_0x3eb3a6(0x19c)](_0x294445),_0x2c5910[_0x3eb3a6(0x148)][_0x3eb3a6(0x19c)](_0x294445),_0x5cc345[_0x3eb3a6(0x1ad)][_0x3eb3a6(0x19c)](_0xca23ca);}),_0x5cc345;}[_0x190899(0x14f)](_0x10e8d1,_0x496809){const _0x40a245=_0x190899,_0x181938=_0x10e8d1[_0x40a245(0x198)],_0x5e52a3=this[_0x40a245(0x19f)](_0x10e8d1);_0x10e8d1[_0x40a245(0x195)]({'attributes':{'class':[_0x40a245(0x1a8)]},'on':{'mouseenter':_0x181938['to'](()=>{const _0x5cf944=_0x40a245;this[_0x5cf944(0x155)](_0x496809,_0x10e8d1);}),'mouseleave':_0x181938['to'](_0x3b0b7c=>{const _0x5bb4e7=_0x40a245,_0x51953c=_0x3b0b7c[_0x5bb4e7(0x1b1)];this[_0x5bb4e7(0x19a)](_0x51953c,_0x496809)||this[_0x5bb4e7(0x18f)](_0x496809);}),'keydown':_0x181938['to'](_0x4b30ae=>{const _0x153f14=_0x40a245;_0x4b30ae[_0x153f14(0x1b2)]==_0x5e52a3&&(this[_0x153f14(0x155)](_0x496809,_0x10e8d1),_0x496809[_0x153f14(0x174)][_0x153f14(0x180)](0x0)[_0x153f14(0x14b)]());})}}),_0x496809['on'](_0x40a245(0x189),()=>{const _0x5dc12c=_0x40a245;_0x496809[_0x5dc12c(0x190)]?.[_0x5dc12c(0x1a4)](_0x5dc12c(0x146),_0xa38803=>{const _0x533dd4=_0x5dc12c,_0x21cff8=_0xa38803[_0x533dd4(0x1b1)];_0x10e8d1[_0x533dd4(0x190)]?.[_0x533dd4(0x1a6)](_0x21cff8)||this[_0x533dd4(0x19a)](_0x21cff8,_0x496809)||this[_0x533dd4(0x18f)](_0x496809);});});}[_0x190899(0x155)](_0x4d4378,_0x46eeb9){const _0x68a0c1=_0x190899;this[_0x68a0c1(0x166)][_0x68a0c1(0x191)](_0x58e70c=>{const _0xf0a71c=_0x68a0c1;_0x58e70c!==_0x4d4378&&_0x58e70c[_0xf0a71c(0x1b5)]&&_0x58e70c[_0xf0a71c(0x1b0)]();}),_0x4d4378[_0x68a0c1(0x1af)](),_0x4d4378[_0x68a0c1(0x16a)]({'positions':[_0x54cc85[_0x68a0c1(0x18e)]],'target':_0x46eeb9[_0x68a0c1(0x190)],'fitInViewport':!0x0}),this[_0x68a0c1(0x166)][_0x68a0c1(0x19c)](_0x4d4378);}[_0x190899(0x18f)](_0x495f40){const _0x59c837=_0x190899;_0x495f40[_0x59c837(0x1b0)](),this[_0x59c837(0x166)][_0x59c837(0x1a9)](_0x495f40);}[_0x190899(0x169)](){const _0x3e7179=_0x190899;this[_0x3e7179(0x166)][_0x3e7179(0x191)](_0x333a2e=>_0x333a2e[_0x3e7179(0x1b0)]()),this[_0x3e7179(0x166)][_0x3e7179(0x199)]();}[_0x190899(0x19a)](_0x25f8ad,_0x488ea6){const _0x3d6d0c=_0x190899;if(!_0x25f8ad)return!0x1;if(_0x488ea6[_0x3d6d0c(0x190)]?.[_0x3d6d0c(0x1a6)](_0x25f8ad))return!0x0;const _0x996bbc=_0x25f8ad;return _0x996bbc[_0x3d6d0c(0x192)]&&(null!==_0x996bbc[_0x3d6d0c(0x192)](_0x3d6d0c(0x15e))||null!==_0x996bbc[_0x3d6d0c(0x192)](_0x3d6d0c(0x142))||null!==_0x996bbc[_0x3d6d0c(0x192)](_0x3d6d0c(0x187)));}[_0x190899(0x179)](){const _0xe39c96=_0x190899;this[_0xe39c96(0x13f)]&&this[_0xe39c96(0x13f)][_0xe39c96(0x153)]();}[_0x190899(0x1a1)](){const _0x4cf4e2=_0x190899;this[_0x4cf4e2(0x169)](),this[_0x4cf4e2(0x19d)][_0x4cf4e2(0x188)](),super[_0x4cf4e2(0x1a1)]();}[_0x190899(0x14b)](){const _0x3f5047=_0x190899;this[_0x3f5047(0x13f)]?this[_0x3f5047(0x13f)][_0x3f5047(0x14b)]():this[_0x3f5047(0x15d)][_0x3f5047(0x14b)]();}[_0x190899(0x1b4)](_0x51a5b6){const _0x170c38=_0x190899;return _0x170c38(0x177)===_0x51a5b6[_0x170c38(0x164)][_0x170c38(0x145)]?_0x170c38(0x18d):_0x170c38(0x17d);}[_0x190899(0x19f)](_0x5a4105){const _0x3f383c=_0x190899;return _0x3f383c(0x177)===_0x5a4105[_0x3f383c(0x164)][_0x3f383c(0x145)]?_0x3f383c(0x17d):_0x3f383c(0x18d);}[_0x190899(0x19e)](_0x516700,_0x5213ed,_0x52a76a,_0x4d496d){const _0x49d5b4=_0x190899;_0x516700[_0x49d5b4(0x1b2)]==_0x5213ed&&(_0x52a76a[_0x49d5b4(0x14b)](),this[_0x49d5b4(0x18f)](_0x4d496d));}[_0x190899(0x13d)](_0x51ffc1){const _0x279788=_0x190899;_0x51ffc1[_0x279788(0x13b)](_0x279788(0x1a7));}}function _0x5bfb(){const _0x55f3be=['label','focusCycler','ck-rounded-corners','.ck-ai-quick-actions-group-button','detachFromDom','render','fieldView','_createActionGroupButton','ck-ai-quick-actions-search-result-button_with-group','ArrowRight','eastSouth','_hideNestedPanel','element','forEach','closest','button','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','extendTemplate','menu','parent','bindTemplate','clear','_isMovingToNestedMenu','_createSearchResultGroupedActionButton','add','_bodyCollection','_handlePanelKeydown','_getButtonKeystroke','children','destroy','_createSearchResultContentView','displayedPrompt','addEventListener','first','contains','execute','ck-ai-quick-actions-group-button','delete','553221TVepwF','ck-ai-quick-actions-search-result__action-row','241814SKbkES','items','ck-ai-quick-actions-button_with-group','show','hide','relatedTarget','key','ck-dropdown-menu-list','_getPanelKeystroke','isVisible','ck-ai-quick-actions-search-result-button','ck-button','497920xZOknI','4674QvwUae','push','aiQuickAction','1Pdakov','setTemplate','AI_QUICK_ACTIONS_SEARCH','set','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','ck-ai-quick-actions-search','isEnabled','_createActionButton','ownerDocument','fire','keystrokes','_handleSearchResultButtonClick','ck-ai-quick-actions-button__group-icon','_searchTextView','ck-ai-quick-actions-search-result__group-row','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','.ck-ai-quick-actions-group-list','_focusables','view','uiLanguageDirection','mouseleave','ck-ai-quick-actions-button_with-group__close-paren','focusTracker','ck-ai-quick-actions-button_with-group__open-paren','some','focus','text','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','commands','_setupGroupMenuBehavior','10rqktgm','3816wudOYq','ck-ai-quick-actions-search-result__content','reset','120783kDRkre','_showNestedPanel','div','ck-dropdown-menu__nested-menu__panel','_createListItems','ck-ai-quick-actions-group-panel','ck-ai-quick-actions-button','_createSearchResultActionRow','chain','optionsListView','.ck-ai-quick-actions-group-panel','isOn','activeElement','_createSearchResultGroupRow','_isSearchFocused','actions','locale','_setupActionButtonExecution','_openNestedPanels','_createSearchResultIndividualActionButton','_createSearchTextView','_hideAllNestedPanels','pin','ck-ai-quick-actions','span','menuitem','ck-reset_all','_createGroupActionsList','56QWFdmu','role','_createSearchResultActionButton','editing','content','addMany','icon','rtl','13563UwYJRR','resetSearch','_allSearchableItems','bind','103642MOTRBQ','ArrowLeft','145tkCbaN','_hasSearch','get','ck-ai-quick-actions-group-list','ck-button_with-text','queryView'];_0x5bfb=function(){return _0x55f3be;};return _0x5bfb();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xdb3faf,_0x38476c){const _0x4d1ab4=_0x1319,_0x23453d=_0xdb3faf();while(!![]){try{const _0x3397f7=-parseInt(_0x4d1ab4(0x129))/0x1*(parseInt(_0x4d1ab4(0x131))/0x2)+-parseInt(_0x4d1ab4(0x12c))/0x3+parseInt(_0x4d1ab4(0x13c))/0x4*(-parseInt(_0x4d1ab4(0x127))/0x5)+-parseInt(_0x4d1ab4(0x138))/0x6*(parseInt(_0x4d1ab4(0x148))/0x7)+parseInt(_0x4d1ab4(0x136))/0x8*(parseInt(_0x4d1ab4(0x13a))/0x9)+-parseInt(_0x4d1ab4(0x128))/0xa+-parseInt(_0x4d1ab4(0x12b))/0xb*(-parseInt(_0x4d1ab4(0x12e))/0xc);if(_0x3397f7===_0x38476c)break;else _0x23453d['push'](_0x23453d['shift']());}catch(_0x5dad73){_0x23453d['push'](_0x23453d['shift']());}}}(_0x3e3c,0x515a2));import{createDropdown as _0x364b53}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x111b2a}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x4cd12d}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x202564}from'../../aicore/aiediting.js';function _0x3e3c(){const _0x2bde62=['1110VPiaIN','add','9uUiPZf','label','8rELdnb','showFakeVisualSelection','get','selection','ai-quick-actions-dropdown-selection','from','plugins','set','has','AIEditing','children','buttonView','20321BUBRCQ','length','panelView','1192210JwBlrS','4886670TytRRw','123LcaAcW','document','5181IRqYnx','772401iDyZyA','change:isOpen','58956JMXryR','getRanges','hideFakeVisualSelection','6238mRBEja','icon','resetSearch','locale','model','1303240bdYXYI','ck-ai-quick-actions-dropdown'];_0x3e3c=function(){return _0x2bde62;};return _0x3e3c();}function _0x1319(_0x12af56,_0x139ab6){const _0x3e3cd7=_0x3e3c();return _0x1319=function(_0x13194c,_0x38dd89){_0x13194c=_0x13194c-0x126;let _0x23405c=_0x3e3cd7[_0x13194c];return _0x23405c;},_0x1319(_0x12af56,_0x139ab6);}export function aiQuickActionsDropdownCreator(_0x443c65){const {editor:_0x14e6f4,content:_0x4f3e7a,buttonDefinition:_0x41c385,bodyCollection:_0x6d4338,hasSearch:_0x49e223=!0x1}=_0x443c65;return()=>{const _0x57360b=_0x1319,_0x26d6f6=_0x14e6f4[_0x57360b(0x134)],_0xe3004e=_0x364b53(_0x26d6f6);_0xe3004e[_0x57360b(0x147)][_0x57360b(0x143)]({'icon':_0x41c385[_0x57360b(0x132)]??_0x111b2a,'label':_0x41c385[_0x57360b(0x13b)],'tooltip':!0x0}),_0xe3004e[_0x57360b(0x143)]({'class':_0x57360b(0x137)});const _0x18cfb8=new _0x4cd12d(_0x14e6f4,_0x4f3e7a,_0xe3004e,_0x6d4338,_0x49e223);if(_0xe3004e[_0x57360b(0x126)][_0x57360b(0x146)][_0x57360b(0x139)](_0x18cfb8),_0x49e223){const _0x56774d=_0x57360b(0x140);_0xe3004e['on'](_0x57360b(0x12d),(_0x5e89dc,_0x3ee889,_0x3aee98)=>{const _0xa6798d=_0x57360b;if(_0x3aee98){if(_0x14e6f4[_0xa6798d(0x142)][_0xa6798d(0x144)](_0xa6798d(0x145))){const _0x2d35bf=_0x14e6f4[_0xa6798d(0x142)][_0xa6798d(0x13e)](_0x202564),_0x4f7e59=_0x14e6f4[_0xa6798d(0x135)][_0xa6798d(0x12a)][_0xa6798d(0x13f)],_0x56e57a=Array[_0xa6798d(0x141)](_0x4f7e59[_0xa6798d(0x12f)]());_0x56e57a[_0xa6798d(0x149)]>0x0&&_0x2d35bf[_0xa6798d(0x13d)](_0x56e57a,_0x56774d,!0x1,!0x0);}}else _0x14e6f4[_0xa6798d(0x142)][_0xa6798d(0x144)](_0xa6798d(0x145))&&_0x14e6f4[_0xa6798d(0x142)][_0xa6798d(0x13e)](_0x202564)[_0xa6798d(0x130)](_0x56774d),_0x18cfb8[_0xa6798d(0x133)]();});}return _0xe3004e;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x500fe7=_0x518b;(function(_0x1e7ebf,_0x18d6c5){const _0x290c60=_0x518b,_0x25d960=_0x1e7ebf();while(!![]){try{const _0x304635=-parseInt(_0x290c60(0x1ae))/0x1*(parseInt(_0x290c60(0x1a5))/0x2)+-parseInt(_0x290c60(0x1bc))/0x3+-parseInt(_0x290c60(0x1b9))/0x4+-parseInt(_0x290c60(0x1ab))/0x5*(-parseInt(_0x290c60(0x1a3))/0x6)+-parseInt(_0x290c60(0x19e))/0x7*(-parseInt(_0x290c60(0x1ac))/0x8)+parseInt(_0x290c60(0x1b6))/0x9+-parseInt(_0x290c60(0x1ad))/0xa;if(_0x304635===_0x18d6c5)break;else _0x25d960['push'](_0x25d960['shift']());}catch(_0x3571c6){_0x25d960['push'](_0x25d960['shift']());}}}(_0x535e,0x74ee6));function _0x535e(){const _0x128f0d=['length','highlightViews','toLowerCase','5PRuQkk','3064fRzbHT','4122760DKdtMH','543137BCopWi','forEach','highlightText','groupLabel','_allSearchableItems','clear','_clearHighlight','trim','3959541xgcnSy','label','_allListItems','1414828yLsxOV','includes','item','790179FuyckO','_highlightQuery','16639SYfpYX','source','function','filter','map','4206738gFzkau','items','2CPLyLz','sort','addMany'];_0x535e=function(){return _0x128f0d;};return _0x535e();}import{ListView as _0x441f44}from'ckeditor5/src/ui.js';function _0x518b(_0x394339,_0x3071dc){const _0x535e3e=_0x535e();return _0x518b=function(_0x518b66,_0x2dec39){_0x518b66=_0x518b66-0x19e;let _0x344ee2=_0x535e3e[_0x518b66];return _0x344ee2;},_0x518b(_0x394339,_0x3071dc);}import{escapeRegExp as _0x2d594b}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x441f44{[_0x500fe7(0x1b8)];[_0x500fe7(0x1b2)];constructor(_0x223f03,_0x4d5ba5,_0x4a30f1){const _0x433d5c=_0x500fe7;super(_0x223f03),this[_0x433d5c(0x1b8)]=_0x4d5ba5,this[_0x433d5c(0x1b2)]=_0x4a30f1;}[_0x500fe7(0x1a1)](_0x5ed5fd){const _0x2ac85a=_0x500fe7;if(!_0x5ed5fd)return this[_0x2ac85a(0x1a4)][_0x2ac85a(0x1b3)](),this[_0x2ac85a(0x1a4)][_0x2ac85a(0x1a7)](this[_0x2ac85a(0x1b8)]),this[_0x2ac85a(0x1b4)](),{'resultsCount':this[_0x2ac85a(0x1b8)][_0x2ac85a(0x1a8)],'totalItemsCount':this[_0x2ac85a(0x1b8)][_0x2ac85a(0x1a8)]};const _0x338320=_0x5ed5fd[_0x2ac85a(0x19f)][_0x2ac85a(0x1aa)]()[_0x2ac85a(0x1b5)](),_0x1c19e1=this[_0x2ac85a(0x1b2)][_0x2ac85a(0x1a1)](_0x38051c=>(_0x38051c[_0x2ac85a(0x1b1)]?_0x38051c[_0x2ac85a(0x1b7)]+'\x20('+_0x38051c[_0x2ac85a(0x1b1)]+')':_0x38051c[_0x2ac85a(0x1b7)])[_0x2ac85a(0x1aa)]()[_0x2ac85a(0x1ba)](_0x338320));return this[_0x2ac85a(0x1a4)][_0x2ac85a(0x1b3)](),this[_0x2ac85a(0x1a4)][_0x2ac85a(0x1a7)](_0x1c19e1[_0x2ac85a(0x1a6)]((_0x15aeba,_0x537390)=>{const _0x383615=_0x2ac85a,_0x3d1659=_0x15aeba[_0x383615(0x1b1)],_0x2cb65d=_0x537390[_0x383615(0x1b1)];return _0x3d1659||_0x2cb65d?_0x3d1659?0x1:-0x1:0x0;})[_0x2ac85a(0x1a2)](_0x16cc9b=>_0x16cc9b[_0x2ac85a(0x1bb)])),this[_0x2ac85a(0x1bd)](_0x338320,_0x1c19e1),{'resultsCount':_0x1c19e1[_0x2ac85a(0x1a8)],'totalItemsCount':this[_0x2ac85a(0x1b2)][_0x2ac85a(0x1a8)]};}[_0x500fe7(0x1bd)](_0x14d7ad,_0x4b7b68){const _0x273d81=_0x500fe7;if(!_0x14d7ad)return;const _0x5e00bc=new RegExp(_0x2d594b(_0x14d7ad),'gi');_0x4b7b68[_0x273d81(0x1af)](_0x4e22b1=>{const _0x3bdcce=_0x273d81;_0x4e22b1[_0x3bdcce(0x1a9)]&&_0x4e22b1[_0x3bdcce(0x1a9)][_0x3bdcce(0x1af)](_0x494021=>{const _0xa3b5a8=_0x3bdcce;_0xa3b5a8(0x1a0)==typeof _0x494021[_0xa3b5a8(0x1b0)]&&_0x494021[_0xa3b5a8(0x1b0)](_0x5e00bc);});});}[_0x500fe7(0x1b4)](){const _0x45b0d2=_0x500fe7;this[_0x45b0d2(0x1b2)][_0x45b0d2(0x1af)](_0x32cac2=>{const _0x2ee71c=_0x45b0d2;_0x32cac2[_0x2ee71c(0x1a9)]&&_0x32cac2[_0x2ee71c(0x1a9)][_0x2ee71c(0x1af)](_0x5a0838=>{const _0x1d177a=_0x2ee71c;_0x1d177a(0x1a0)==typeof _0x5a0838[_0x1d177a(0x1b0)]&&_0x5a0838[_0x1d177a(0x1b0)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1bb1c9,_0x377304){var _0x38c80a=_0x3bf2,_0x3f74fe=_0x1bb1c9();while(!![]){try{var _0xafcf2b=-parseInt(_0x38c80a(0x117))/0x1*(parseInt(_0x38c80a(0x114))/0x2)+parseInt(_0x38c80a(0x115))/0x3+parseInt(_0x38c80a(0x119))/0x4+parseInt(_0x38c80a(0x111))/0x5+parseInt(_0x38c80a(0x113))/0x6*(-parseInt(_0x38c80a(0x10d))/0x7)+-parseInt(_0x38c80a(0x112))/0x8+-parseInt(_0x38c80a(0x10f))/0x9*(parseInt(_0x38c80a(0x10c))/0xa);if(_0xafcf2b===_0x377304)break;else _0x3f74fe['push'](_0x3f74fe['shift']());}catch(_0x5ddcde){_0x3f74fe['push'](_0x3f74fe['shift']());}}}(_0xa7ff,0x8b0dd));function _0x3bf2(_0x3c6c7c,_0x257f99){var _0xa7ff9e=_0xa7ff();return _0x3bf2=function(_0x3bf251,_0x181841){_0x3bf251=_0x3bf251-0x10c;var _0x475ebb=_0xa7ff9e[_0x3bf251];return _0x475ebb;},_0x3bf2(_0x3c6c7c,_0x257f99);}import{View as _0x31dd72}from'ckeditor5/src/ui.js';import{getTranslation as _0x34ffb1}from'../../../aicore/utils/common-translations.js';function _0xa7ff(){var _0x2fe14b=['10FPSgoW','1577097rhtpZJ','div','53995AwSllx','ck-ai-balloon__disclaimer','4512776OglkMY','setTemplate','90eLYHaw','211988zCdcqn','ck-ai-balloon__disclaimer-content','1092924LQcSyp','AI_DISCLAIMER_TEXT','3909415JoRTvM','3541952EvIurT','12tZSTAY'];_0xa7ff=function(){return _0x2fe14b;};return _0xa7ff();}export class AIActionsBalloonDisclaimerView extends _0x31dd72{constructor(_0x37e704){var _0x1c6f31=_0x3bf2;super(_0x37e704),this[_0x1c6f31(0x11a)]({'tag':_0x1c6f31(0x116),'attributes':{'class':['ck',_0x1c6f31(0x118)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x1c6f31(0x10e)]},'children':[{'text':_0x34ffb1(_0x37e704,_0x1c6f31(0x110))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c3321=_0x47ba;(function(_0x2d2807,_0xd0efda){const _0x2ad33f=_0x47ba,_0x2b4dc6=_0x2d2807();while(!![]){try{const _0x4e0203=-parseInt(_0x2ad33f(0x1e8))/0x1+parseInt(_0x2ad33f(0x1fa))/0x2*(parseInt(_0x2ad33f(0x1fb))/0x3)+-parseInt(_0x2ad33f(0x1e1))/0x4+parseInt(_0x2ad33f(0x1f1))/0x5*(parseInt(_0x2ad33f(0x1f0))/0x6)+parseInt(_0x2ad33f(0x1f7))/0x7+-parseInt(_0x2ad33f(0x1ee))/0x8*(-parseInt(_0x2ad33f(0x1e2))/0x9)+-parseInt(_0x2ad33f(0x1f8))/0xa*(parseInt(_0x2ad33f(0x1f6))/0xb);if(_0x4e0203===_0xd0efda)break;else _0x2b4dc6['push'](_0x2b4dc6['shift']());}catch(_0x14a965){_0x2b4dc6['push'](_0x2b4dc6['shift']());}}}(_0x459f,0xee281));import{ToolbarView as _0x28a915,ButtonView as _0x3001e3}from'ckeditor5/src/ui.js';function _0x459f(){const _0x5498a7=['locale','24WPTFPu','_createButton','6MssHBo','6388045SkAsfK','isEnabled','setButtonsVisibility','ck-ai-button-primary','applyButton','271095ZEmAFZ','6563018nYDqDc','470TpDLeg','add','36566QNMiOr','3uuSbxj','set','3613964SzQlDs','5239035rGdwOs','AI_BALLOON_SUGGEST_BUTTON','ck-ai-button-secondary','extendTemplate','isVisible','bind','942516EQQliU','AI_BALLOON_APPLY_BUTTON','suggestButton','ck-ai-balloon__toolbar','items'];_0x459f=function(){return _0x5498a7;};return _0x459f();}function _0x47ba(_0x4ffffe,_0x13f858){const _0x459ff0=_0x459f();return _0x47ba=function(_0x47ba97,_0xe58f8b){_0x47ba97=_0x47ba97-0x1e1;let _0x5a0f93=_0x459ff0[_0x47ba97];return _0x5a0f93;},_0x47ba(_0x4ffffe,_0x13f858);}import{getTranslation as _0x406a15}from'../../../aicore/utils/common-translations.js';export class AIActionsBalloonToolbarView extends _0x28a915{constructor(_0x4a4baf,_0x2803c7=!0x0,_0x289ece=!0x0){const _0x33790c=_0x47ba;super(_0x4a4baf),this[_0x33790c(0x1fc)](_0x33790c(0x1f2),!0x1),_0x2803c7&&(this[_0x33790c(0x1f5)]=this[_0x33790c(0x1ef)](_0x406a15(_0x4a4baf,_0x33790c(0x1e9)),_0x33790c(0x1f4)),this[_0x33790c(0x1f5)][_0x33790c(0x1e7)](_0x33790c(0x1f2))['to'](this),this[_0x33790c(0x1ec)][_0x33790c(0x1f9)](this[_0x33790c(0x1f5)])),_0x289ece&&(this[_0x33790c(0x1ea)]=this[_0x33790c(0x1ef)](_0x406a15(_0x4a4baf,_0x33790c(0x1e3)),_0x2803c7?_0x33790c(0x1e4):_0x33790c(0x1f4)),this[_0x33790c(0x1ea)][_0x33790c(0x1e7)](_0x33790c(0x1f2))['to'](this),this[_0x33790c(0x1ec)][_0x33790c(0x1f9)](this[_0x33790c(0x1ea)])),this[_0x33790c(0x1f3)]({'showApplyButton':_0x2803c7,'showSuggestButton':_0x289ece}),this[_0x33790c(0x1e5)]({'attributes':{'class':[_0x33790c(0x1eb)]}});}[_0x2c3321(0x1f3)]({showApplyButton:_0x5aad89,showSuggestButton:_0x5868c2}){const _0x205ca8=_0x2c3321;this[_0x205ca8(0x1f5)]&&(this[_0x205ca8(0x1f5)][_0x205ca8(0x1e6)]=_0x5aad89),this[_0x205ca8(0x1ea)]&&(this[_0x205ca8(0x1ea)][_0x205ca8(0x1e6)]=_0x5868c2);}[_0x2c3321(0x1ef)](_0x1c1aad,_0x518626){const _0x39b1af=_0x2c3321,_0x5a791b=new _0x3001e3(this[_0x39b1af(0x1ed)]);return _0x5a791b[_0x39b1af(0x1fc)]({'label':_0x1c1aad,'class':_0x518626,'isVisible':!0x0,'withText':!0x0}),_0x5a791b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x432b2b=_0x4173;(function(_0xb1dda7,_0x13172a){const _0x2e4f8b=_0x4173,_0x4a6991=_0xb1dda7();while(!![]){try{const _0x16a859=-parseInt(_0x2e4f8b(0x206))/0x1+parseInt(_0x2e4f8b(0x1f4))/0x2*(parseInt(_0x2e4f8b(0x1d4))/0x3)+-parseInt(_0x2e4f8b(0x22b))/0x4*(parseInt(_0x2e4f8b(0x224))/0x5)+parseInt(_0x2e4f8b(0x219))/0x6+parseInt(_0x2e4f8b(0x1db))/0x7*(parseInt(_0x2e4f8b(0x1cb))/0x8)+-parseInt(_0x2e4f8b(0x1e2))/0x9*(-parseInt(_0x2e4f8b(0x200))/0xa)+parseInt(_0x2e4f8b(0x1ed))/0xb*(-parseInt(_0x2e4f8b(0x1c3))/0xc);if(_0x16a859===_0x13172a)break;else _0x4a6991['push'](_0x4a6991['shift']());}catch(_0x4a4761){_0x4a6991['push'](_0x4a6991['shift']());}}}(_0x3c8d,0x92b6e));import{ViewCollection as _0x184884,FocusCycler as _0x30a0f5,ButtonView as _0x3217ff,View as _0xaef4e}from'ckeditor5/src/ui.js';import{FocusTracker as _0x54276a,KeystrokeHandler as _0x45ad2e}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x22220b}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x442afb}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x493974}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x4caeb8}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x51ef34}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x504772}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';function _0x3c8d(){const _0x505a90=['createCollection','interactionCount','render','updateContent','_getScrollableElement','8183710uoVcva','isEnabled','_streamableContentView','_dialogContent','availableActions','setErrorState','334949gHlKrp','showNext','clearContent','toggleShowChanges','showLoader','_addDisclaimerView','ck-ai-actions-balloon-main','_miniToolbarView','shift\x20+\x20tab','_initializeScrollManager','toggleShowChangesEnabled','isTrackChangesOn','destroy','span','clearErrorState','insertSuggestion','fire','add','focusLast','2096862uRNjad','focusFirst','_hasError','_config','isVisible','bindTemplate','_errorView','_contentWrapper','bind','_addToolbar','applySuggestion','970BvDgbP','execute','_focusTracker','_keystrokes','hideLoader','miniToolbarConfig','clear','14492RKalKo','addMany','remove','tab','_disclaimerView','_addContentWrapper','ck-ai-actions-balloon-content','locale','listenTo','tryAgain','ck-ai-navigation-button\x20ck-ai-previous-button','_scrollManager','showPrevious','_createLoaderView','suggestButton','element','_loaderView','1/1','5710464zleLIJ','showBlockingError','focusCycler','setButtonsVisibility','_isLoading','items','addMiniToolbarItem','disableMiniToolbarButtons','16CtvNEF','stopAutoScroll','startAutoScroll','set','_navigationTryAgainButton','ck-ai-actions-balloon-content-wrapper','setInteractionCount','hideError','ck-ai-navigation-button\x20ck-ai-next-button','3LjBJyJ','ck-ai-custom-action-button','_toolbarView','_navigationPreviousButton','_createMiniToolbar','isBusy','setTemplate','4127620cNZjCJ','_focusables','toggleIsLoading','_createStreamableContentView','isShowChangesOn','setIsLoading','updateMiniToolbarButtons','9kQIreK','_toggleToolbarButtonsVisibility','_setupMiniToolbarButtons','start','stop','has','toggleSuggestionDisplayMode','showError','change:isTrackChangesOn','ck-ai-interaction-counter','_navigationCounter','33SpmBwV','delegate','update','AI_ACTIONS_NEXT_INTERACTION','AI_ACTIONS_TRY_AGAIN','_navigationNextButton','AI_ACTIONS_PREVIOUS_INTERACTION','1438402OtKvlt','removeMiniToolbarItem','resetShowChangesButton','applyButton','includes','div','focus'];_0x3c8d=function(){return _0x505a90;};return _0x3c8d();}import{AISuggestionStreamableContentView as _0x13c7d8}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x5155ac,IconPreviousArrow as _0x1e410e,IconRefresh as _0x46faec}from'@ckeditor/ckeditor5-icons';function _0x4173(_0x2a8abd,_0x12f316){const _0x3c8d87=_0x3c8d();return _0x4173=function(_0x4173fd,_0x195991){_0x4173fd=_0x4173fd-0x1bb;let _0x5228da=_0x3c8d87[_0x4173fd];return _0x5228da;},_0x4173(_0x2a8abd,_0x12f316);}import{getTranslation as _0x1db848}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x5a7856}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x432b2b(0x223),_0x432b2b(0x215)];export class AIActionsBalloonView extends _0x5a7856{[_0x432b2b(0x1c5)];[_0x432b2b(0x21c)];[_0x432b2b(0x220)];[_0x432b2b(0x202)];[_0x432b2b(0x1d6)];[_0x432b2b(0x20d)];[_0x432b2b(0x1c1)];[_0x432b2b(0x22f)];[_0x432b2b(0x226)];[_0x432b2b(0x227)];[_0x432b2b(0x203)];[_0x432b2b(0x1dc)];[_0x432b2b(0x1bc)];[_0x432b2b(0x1d7)];[_0x432b2b(0x1f2)];[_0x432b2b(0x1cf)];[_0x432b2b(0x1ec)];constructor(_0xce4e91,_0x5de41e){const _0x9c0ebe=_0x432b2b;super(_0xce4e91),this[_0x9c0ebe(0x1ce)](_0x9c0ebe(0x1d9),!0x1),this[_0x9c0ebe(0x1ce)](_0x9c0ebe(0x211),!0x1),this[_0x9c0ebe(0x1ce)](_0x9c0ebe(0x1c7),!0x1),this[_0x9c0ebe(0x1ce)](_0x9c0ebe(0x21b),!0x1),this[_0x9c0ebe(0x21c)]=_0x5de41e,this[_0x9c0ebe(0x226)]=new _0x54276a(),this[_0x9c0ebe(0x227)]=new _0x45ad2e(),this[_0x9c0ebe(0x1dc)]=this[_0x9c0ebe(0x1fb)](),this[_0x9c0ebe(0x1c5)]=new _0x30a0f5({'focusables':this[_0x9c0ebe(0x1dc)],'focusTracker':this[_0x9c0ebe(0x226)],'keystrokeHandler':this[_0x9c0ebe(0x227)],'actions':{'focusPrevious':_0x9c0ebe(0x20e),'focusNext':_0x9c0ebe(0x22e)}}),this[_0x9c0ebe(0x203)]=new _0x184884(),this[_0x9c0ebe(0x230)](_0x5de41e),this[_0x9c0ebe(0x20b)](),this[_0x9c0ebe(0x222)](_0x5de41e),this[_0x9c0ebe(0x1dc)][_0x9c0ebe(0x22a)](),this[_0x9c0ebe(0x1dc)][_0x9c0ebe(0x22c)]([this[_0x9c0ebe(0x1d6)]]),this[_0x9c0ebe(0x1da)]({'tag':_0x9c0ebe(0x1f9),'attributes':{'class':[_0x9c0ebe(0x20c)]},'children':this[_0x9c0ebe(0x203)]}),this['on'](_0x9c0ebe(0x1ea),()=>{const _0x46a013=_0x9c0ebe;this[_0x46a013(0x1e3)](_0x5de41e);});}[_0x432b2b(0x1fd)](){const _0x1a4e4c=_0x432b2b;super[_0x1a4e4c(0x1fd)]();for(const _0x22a6b9 of this[_0x1a4e4c(0x1dc)])this[_0x1a4e4c(0x226)][_0x1a4e4c(0x217)](_0x22a6b9[_0x1a4e4c(0x1c0)]);this[_0x1a4e4c(0x227)][_0x1a4e4c(0x233)](this[_0x1a4e4c(0x1c0)]),this[_0x1a4e4c(0x20f)]();}[_0x432b2b(0x212)](){const _0xb829a4=_0x432b2b;super[_0xb829a4(0x212)](),this[_0xb829a4(0x1bc)]&&this[_0xb829a4(0x1bc)][_0xb829a4(0x212)]();}[_0x432b2b(0x1fa)](_0x546314){const _0x1f127b=_0x432b2b;-0x1===_0x546314?this[_0x1f127b(0x1c5)][_0x1f127b(0x218)]():this[_0x1f127b(0x1c5)][_0x1f127b(0x21a)]();}[_0x432b2b(0x1e0)](_0x2e43b1){const _0x453625=_0x432b2b;this[_0x453625(0x1c7)]=_0x2e43b1;}[_0x432b2b(0x205)](){const _0x57e037=_0x432b2b;this[_0x57e037(0x21b)]=!0x0,this[_0x57e037(0x20d)][_0x57e037(0x210)](!0x1);}[_0x432b2b(0x214)](){const _0x5ba7e5=_0x432b2b;this[_0x5ba7e5(0x21b)]=!0x1,this[_0x5ba7e5(0x20d)][_0x5ba7e5(0x210)](!0x0);}[_0x432b2b(0x1e9)](_0x27c6e8){const _0x7b3b06=_0x432b2b;super[_0x7b3b06(0x1e9)](_0x27c6e8),this[_0x7b3b06(0x203)][_0x7b3b06(0x1e7)](this[_0x7b3b06(0x21f)])||this[_0x7b3b06(0x203)][_0x7b3b06(0x217)](this[_0x7b3b06(0x21f)],0x0);}[_0x432b2b(0x1d2)](){const _0x1195af=_0x432b2b;super[_0x1195af(0x1d2)](),this[_0x1195af(0x214)]();}[_0x432b2b(0x1c4)](_0x47ff18){const _0x41d0cd=_0x432b2b;super[_0x41d0cd(0x1c4)](_0x47ff18),this[_0x41d0cd(0x205)]();}[_0x432b2b(0x1c9)](_0x434321){const _0xab7e7b=_0x432b2b;this[_0xab7e7b(0x20d)][_0xab7e7b(0x1c8)][_0xab7e7b(0x1e7)](_0x434321)||this[_0xab7e7b(0x20d)][_0xab7e7b(0x1c8)][_0xab7e7b(0x217)](_0x434321);}[_0x432b2b(0x1f5)](_0xdc4f8c){const _0x40b3f9=_0x432b2b;this[_0x40b3f9(0x20d)][_0x40b3f9(0x1c8)][_0x40b3f9(0x1e7)](_0xdc4f8c)&&this[_0x40b3f9(0x20d)][_0x40b3f9(0x1c8)][_0x40b3f9(0x22d)](_0xdc4f8c);}[_0x432b2b(0x20a)](){const _0x351b8c=_0x432b2b;this[_0x351b8c(0x1c1)]&&(this[_0x351b8c(0x1c7)]=!0x0);}[_0x432b2b(0x228)](){const _0x520d5b=_0x432b2b;this[_0x520d5b(0x1c1)]&&(this[_0x520d5b(0x1c7)]=!0x1);}[_0x432b2b(0x1e3)]({showApplyButton:_0x539b63,showSuggestButton:_0x37cf41}){const _0x2f224c=_0x432b2b;_0x539b63=_0x539b63&&!this[_0x2f224c(0x211)]&&this[_0x2f224c(0x21c)][_0x2f224c(0x204)][_0x2f224c(0x1f8)](_0x2f224c(0x223)),_0x37cf41=_0x37cf41&&this[_0x2f224c(0x21c)][_0x2f224c(0x204)][_0x2f224c(0x1f8)](_0x2f224c(0x215)),this[_0x2f224c(0x1d6)][_0x2f224c(0x1c6)]({'showApplyButton':_0x539b63,'showSuggestButton':_0x37cf41});}async[_0x432b2b(0x1fe)](_0x5d1625){const _0x12d524=_0x432b2b;await this[_0x12d524(0x202)][_0x12d524(0x1ef)](_0x5d1625);}[_0x432b2b(0x208)](){const _0x7ef5d0=_0x432b2b;this[_0x7ef5d0(0x202)][_0x7ef5d0(0x22a)]();}[_0x432b2b(0x230)](_0x302cea){const _0x72116c=_0x432b2b;this[_0x72116c(0x220)]=new _0xaef4e(this[_0x72116c(0x232)]),this[_0x72116c(0x220)][_0x72116c(0x1da)]({'tag':_0x72116c(0x1f9),'attributes':{'class':[_0x72116c(0x231)]},'children':[{'tag':_0x72116c(0x1f9),'attributes':{'class':[_0x72116c(0x1d0)]},'children':[this[_0x72116c(0x1be)](),this[_0x72116c(0x1de)]()]},this[_0x72116c(0x1d8)](_0x302cea[_0x72116c(0x229)])]}),this[_0x72116c(0x203)][_0x72116c(0x217)](this[_0x72116c(0x220)]);}[_0x432b2b(0x20b)](){const _0x28c65c=_0x432b2b;this[_0x28c65c(0x22f)]=new _0x442afb(this[_0x28c65c(0x232)]),this[_0x28c65c(0x203)][_0x28c65c(0x217)](this[_0x28c65c(0x22f)]);}[_0x432b2b(0x222)]({showApplyButton:_0x18c1e4,showSuggestButton:_0x5b3ce0}){const _0x492227=_0x432b2b;this[_0x492227(0x1d6)]=new _0x22220b(this[_0x492227(0x232)],_0x18c1e4,_0x5b3ce0),this[_0x492227(0x1d6)][_0x492227(0x1f7)]?.['on'](_0x492227(0x225),()=>{const _0x121bf0=_0x492227;this[_0x121bf0(0x216)](_0x121bf0(0x223));}),this[_0x492227(0x1d6)][_0x492227(0x1bf)]?.['on'](_0x492227(0x225),()=>{const _0x365861=_0x492227;this[_0x365861(0x216)](_0x365861(0x215));}),this[_0x492227(0x1d6)][_0x492227(0x221)](_0x492227(0x201))['to'](this,_0x492227(0x1d9),this,_0x492227(0x1c7),this,_0x492227(0x21b),(_0xb4dd2e,_0x1b1419,_0x4c479a)=>!(_0xb4dd2e||_0x1b1419||_0x4c479a)),this[_0x492227(0x1e3)]({'showApplyButton':_0x18c1e4,'showSuggestButton':_0x5b3ce0}),this[_0x492227(0x203)][_0x492227(0x217)](this[_0x492227(0x1d6)]);}[_0x432b2b(0x1d8)](_0x55cd60){const _0x145cfc=_0x432b2b;return this[_0x145cfc(0x20d)]=new _0x4caeb8(this[_0x145cfc(0x232)],_0x55cd60),this[_0x145cfc(0x20d)][_0x145cfc(0x1ee)](..._0x51ef34)['to'](this),this[_0x145cfc(0x20d)]['on'](_0x145cfc(0x209),()=>{const _0x3f4f73=_0x145cfc;this[_0x3f4f73(0x20d)][_0x3f4f73(0x1df)]=!this[_0x3f4f73(0x20d)][_0x3f4f73(0x1df)],this[_0x3f4f73(0x216)](_0x3f4f73(0x1e8),{'showDiff':this[_0x3f4f73(0x20d)][_0x3f4f73(0x1df)]});}),this[_0x145cfc(0x20d)][_0x145cfc(0x221)](_0x145cfc(0x201))['to'](this,_0x145cfc(0x1d9),this,_0x145cfc(0x1c7),(_0x544b8f,_0x4f3f9d)=>!(_0x544b8f||_0x4f3f9d)),this[_0x145cfc(0x20d)];}[_0x432b2b(0x1be)](){const _0x51d286=_0x432b2b;return this[_0x51d286(0x1c1)]=new _0x504772(this[_0x51d286(0x232)]),this[_0x51d286(0x1c1)][_0x51d286(0x221)](_0x51d286(0x21d))['to'](this,_0x51d286(0x1c7)),this[_0x51d286(0x1c1)];}[_0x432b2b(0x1de)](){const _0x171b17=_0x432b2b;return this[_0x171b17(0x202)]=new _0x13c7d8(this[_0x171b17(0x232)]),this[_0x171b17(0x202)];}[_0x432b2b(0x1e4)](){const _0x473ff3=_0x432b2b,_0x129481=new _0x3217ff(this[_0x473ff3(0x232)]),_0x1f607f=new _0x3217ff(this[_0x473ff3(0x232)]),_0x47fe3e=new Ln(this[_0x473ff3(0x232)]),_0x4f8601=new _0x3217ff(this[_0x473ff3(0x232)]);_0x129481[_0x473ff3(0x1ce)]({'icon':_0x46faec,'label':_0x1db848(this[_0x473ff3(0x232)],_0x473ff3(0x1f1)),'tooltip':!0x0,'class':_0x473ff3(0x1d5)}),_0x1f607f[_0x473ff3(0x1ce)]({'icon':_0x1e410e,'tooltip':_0x1db848(this[_0x473ff3(0x232)],_0x473ff3(0x1f3)),'class':_0x473ff3(0x1bb)}),_0x4f8601[_0x473ff3(0x1ce)]({'icon':_0x5155ac,'tooltip':_0x1db848(this[_0x473ff3(0x232)],_0x473ff3(0x1f0)),'class':_0x473ff3(0x1d3)}),_0x129481[_0x473ff3(0x221)](_0x473ff3(0x201))['to'](this,_0x473ff3(0x1d9),_0x11ce69=>!_0x11ce69),_0x129481['on'](_0x473ff3(0x225),()=>{const _0x4b0eec=_0x473ff3;this[_0x4b0eec(0x216)](_0x4b0eec(0x234));}),_0x1f607f[_0x473ff3(0x221)](_0x473ff3(0x201))['to'](this,_0x473ff3(0x1d9),_0x1fa00d=>!_0x1fa00d),_0x1f607f['on'](_0x473ff3(0x225),()=>{const _0x1f2cc1=_0x473ff3;this[_0x1f2cc1(0x216)](_0x1f2cc1(0x1bd));}),_0x4f8601[_0x473ff3(0x221)](_0x473ff3(0x201))['to'](this,_0x473ff3(0x1d9),_0x44f784=>!_0x44f784),_0x4f8601['on'](_0x473ff3(0x225),()=>{const _0xbb52f0=_0x473ff3;this[_0xbb52f0(0x216)](_0xbb52f0(0x207));}),this[_0x473ff3(0x1d7)]=_0x1f607f,this[_0x473ff3(0x1ec)]=_0x47fe3e,this[_0x473ff3(0x1f2)]=_0x4f8601,this[_0x473ff3(0x1cf)]=_0x129481;}[_0x432b2b(0x1e1)](_0x4437ec,_0x26b879){const _0x341d7c=_0x432b2b;this[_0x341d7c(0x1d7)]||this[_0x341d7c(0x1e4)]();const _0x4a1407=_0x4437ec>0x1;if(this[_0x341d7c(0x1c9)](this[_0x341d7c(0x1cf)]),_0x4a1407){this[_0x341d7c(0x1c9)](this[_0x341d7c(0x1d7)]),this[_0x341d7c(0x1c9)](this[_0x341d7c(0x1ec)]),this[_0x341d7c(0x1c9)](this[_0x341d7c(0x1f2)]);const _0x235b60=_0x4437ec-_0x26b879;this[_0x341d7c(0x1ec)][_0x341d7c(0x1d1)](_0x235b60+'/'+_0x4437ec),this[_0x341d7c(0x1d7)][_0x341d7c(0x201)]=_0x26b879<_0x4437ec-0x1,this[_0x341d7c(0x1f2)][_0x341d7c(0x201)]=_0x26b879>0x0;}else this[_0x341d7c(0x1f5)](this[_0x341d7c(0x1d7)]),this[_0x341d7c(0x1f5)](this[_0x341d7c(0x1ec)]),this[_0x341d7c(0x1f5)](this[_0x341d7c(0x1f2)]);}[_0x432b2b(0x1ca)](){const _0xf1e57a=_0x432b2b;this[_0xf1e57a(0x1cf)][_0xf1e57a(0x201)]=!0x1,this[_0xf1e57a(0x1d7)][_0xf1e57a(0x201)]=!0x1,this[_0xf1e57a(0x1f2)][_0xf1e57a(0x201)]=!0x1;}[_0x432b2b(0x1cd)](){const _0x2395b4=_0x432b2b;this[_0x2395b4(0x20f)](),this[_0x2395b4(0x1bc)]&&this[_0x2395b4(0x1bc)][_0x2395b4(0x1e5)]();}[_0x432b2b(0x1cc)](){const _0x3e4765=_0x432b2b;this[_0x3e4765(0x1bc)]&&this[_0x3e4765(0x1bc)][_0x3e4765(0x1e6)]();}[_0x432b2b(0x1dd)](_0x45f098){const _0x1888fa=_0x432b2b;this[_0x1888fa(0x1c7)]=_0x45f098;}[_0x432b2b(0x1f6)](){const _0x5a1d8c=_0x432b2b;this[_0x5a1d8c(0x20d)][_0x5a1d8c(0x1df)]=!0x1;}[_0x432b2b(0x20f)](){const _0x4b03c3=_0x432b2b,_0x3f2c68=this[_0x4b03c3(0x1ff)]();_0x3f2c68&&!this[_0x4b03c3(0x1bc)]&&(this[_0x4b03c3(0x1bc)]=new _0x493974(_0x3f2c68));}[_0x432b2b(0x1ff)](){const _0x1eb7bf=_0x432b2b;return this[_0x1eb7bf(0x202)][_0x1eb7bf(0x1c0)];}}class Ln extends _0xaef4e{constructor(_0x25fa62){const _0xdc25b3=_0x432b2b;super(_0x25fa62);const _0x42d2df=this[_0xdc25b3(0x21e)];this[_0xdc25b3(0x1ce)](_0xdc25b3(0x1fc),_0xdc25b3(0x1c2)),this[_0xdc25b3(0x1da)]({'tag':_0xdc25b3(0x213),'attributes':{'class':[_0xdc25b3(0x1eb)]},'children':[{'text':_0x42d2df['to'](_0xdc25b3(0x1fc))}]});}[_0x432b2b(0x1d1)](_0x221231){const _0xbfe555=_0x432b2b;this[_0xbfe555(0x1ce)](_0xbfe555(0x1fc),_0x221231);}}
|
|
23
|
+
const _0x4e6827=_0x2fae;function _0x2fae(_0x49ac88,_0x23db36){const _0xa9ab7d=_0xa9ab();return _0x2fae=function(_0x2faedd,_0x4f13a2){_0x2faedd=_0x2faedd-0x9b;let _0x3cfcd3=_0xa9ab7d[_0x2faedd];return _0x3cfcd3;},_0x2fae(_0x49ac88,_0x23db36);}(function(_0x33c871,_0x3b46bb){const _0xeef6e6=_0x2fae,_0x4d6bde=_0x33c871();while(!![]){try{const _0x482236=-parseInt(_0xeef6e6(0xae))/0x1+-parseInt(_0xeef6e6(0xb5))/0x2*(parseInt(_0xeef6e6(0xbc))/0x3)+-parseInt(_0xeef6e6(0x10c))/0x4*(parseInt(_0xeef6e6(0xa3))/0x5)+parseInt(_0xeef6e6(0x9f))/0x6+parseInt(_0xeef6e6(0xc0))/0x7*(parseInt(_0xeef6e6(0xcd))/0x8)+-parseInt(_0xeef6e6(0xde))/0x9*(-parseInt(_0xeef6e6(0xab))/0xa)+parseInt(_0xeef6e6(0xdf))/0xb;if(_0x482236===_0x3b46bb)break;else _0x4d6bde['push'](_0x4d6bde['shift']());}catch(_0x18e8b5){_0x4d6bde['push'](_0x4d6bde['shift']());}}}(_0xa9ab,0xf191c));import{ViewCollection as _0x28e914,FocusCycler as _0x593743,ButtonView as _0x314231,View as _0x30e49b}from'ckeditor5/src/ui.js';import{FocusTracker as _0x4a1209,KeystrokeHandler as _0x16abde}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x4d3dbf}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x7816c0}from'./aiactionsballoondisclaimerview.js';function _0xa9ab(){const _0x217ec0=['setErrorState','change:isTrackChangesOn','start','_addToolbar','resetShowChangesButton','removeMiniToolbarItem','tryAgain','toggleIsLoading','6960544GydOzL','div','_toolbarView','ck-ai-actions-balloon-content','locale','_navigationNextButton','AI_ACTIONS_PREVIOUS_INTERACTION','focusCycler','bindTemplate','span','_errorView','ck-ai-actions-balloon-main','delegate','isVisible','showNext','availableActions','_setupMiniToolbarButtons','1705077zGzlnU','2089285ylDYDC','stopAutoScroll','updateMiniToolbarButtons','clearErrorState','clear','createCollection','stop','remove','update','_toggleToolbarButtonsVisibility','ck-ai-interaction-counter','bind','toggleShowChanges','_focusTracker','_scrollManager','applyButton','_createMiniToolbar','_disclaimerView','setIsLoading','toggleShowChangesEnabled','isEnabled','interactionCount','_isLoading','shift\x20+\x20tab','miniToolbarConfig','render','ck-ai-navigation-button\x20ck-ai-previous-button','hideError','addMiniToolbarItem','_miniToolbarView','focusFirst','_navigationCounter','showError','startAutoScroll','isShowChangesOn','fire','_initializeScrollManager','set','addMany','_createStreamableContentView','AI_ACTIONS_NEXT_INTERACTION','_focusables','updateContent','suggestButton','hideLoader','1302476pPAAOi','tab','AI_ACTIONS_TRY_AGAIN','setInteractionCount','_keystrokes','_createLoaderView','applySuggestion','add','execute','isBusy','includes','_dialogContent','8899662PhFszm','_navigationTryAgainButton','setTemplate','showLoader','15emRFWq','_hasError','setButtonsVisibility','toggleSuggestionDisplayMode','ck-ai-actions-balloon-content-wrapper','disableMiniToolbarButtons','element','_addContentWrapper','30jkFpof','_addDisclaimerView','destroy','753028fKgQRv','listenTo','_config','_loaderView','1/1','showBlockingError','_streamableContentView','392286dRrtLU','items','_contentWrapper','showPrevious','_getScrollableElement','ck-ai-navigation-button\x20ck-ai-next-button','clearContent','6gNiyuN','_navigationPreviousButton','focusLast','ck-ai-custom-action-button','7AGtJtp','has','focus','insertSuggestion','isTrackChangesOn'];_0xa9ab=function(){return _0x217ec0;};return _0xa9ab();}import{ScrollManager as _0x3d890f}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x367071}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0xfb6375}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x35b48c}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0xb1b85c}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x3c5184,IconPreviousArrow as _0x284fde,IconRefresh as _0x456403}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x537a17}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x49e6c1}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x4e6827(0x112),_0x4e6827(0xc3)];export class AIActionsBalloonView extends _0x49e6c1{[_0x4e6827(0xd4)];[_0x4e6827(0xb0)];[_0x4e6827(0xb7)];[_0x4e6827(0xb4)];[_0x4e6827(0xcf)];[_0x4e6827(0xfc)];[_0x4e6827(0xb1)];[_0x4e6827(0xf0)];[_0x4e6827(0xec)];[_0x4e6827(0x110)];[_0x4e6827(0x9e)];[_0x4e6827(0x108)];[_0x4e6827(0xed)];[_0x4e6827(0xbd)];[_0x4e6827(0xd2)];[_0x4e6827(0xa0)];[_0x4e6827(0xfe)];constructor(_0x116d60,_0x3e0fc8){const _0x3dd309=_0x4e6827;super(_0x116d60),this[_0x3dd309(0x104)](_0x3dd309(0x9c),!0x1),this[_0x3dd309(0x104)](_0x3dd309(0xc4),!0x1),this[_0x3dd309(0x104)](_0x3dd309(0xf5),!0x1),this[_0x3dd309(0x104)](_0x3dd309(0xa4),!0x1),this[_0x3dd309(0xb0)]=_0x3e0fc8,this[_0x3dd309(0xec)]=new _0x4a1209(),this[_0x3dd309(0x110)]=new _0x16abde(),this[_0x3dd309(0x108)]=this[_0x3dd309(0xe4)](),this[_0x3dd309(0xd4)]=new _0x593743({'focusables':this[_0x3dd309(0x108)],'focusTracker':this[_0x3dd309(0xec)],'keystrokeHandler':this[_0x3dd309(0x110)],'actions':{'focusPrevious':_0x3dd309(0xf6),'focusNext':_0x3dd309(0x10d)}}),this[_0x3dd309(0x9e)]=new _0x28e914(),this[_0x3dd309(0xaa)](_0x3e0fc8),this[_0x3dd309(0xac)](),this[_0x3dd309(0xc8)](_0x3e0fc8),this[_0x3dd309(0x108)][_0x3dd309(0xe3)](),this[_0x3dd309(0x108)][_0x3dd309(0x105)]([this[_0x3dd309(0xcf)]]),this[_0x3dd309(0xa1)]({'tag':_0x3dd309(0xce),'attributes':{'class':[_0x3dd309(0xd8)]},'children':this[_0x3dd309(0x9e)]}),this['on'](_0x3dd309(0xc6),()=>{const _0x531300=_0x3dd309;this[_0x531300(0xe8)](_0x3e0fc8);});}[_0x4e6827(0xf8)](){const _0x27b7e4=_0x4e6827;super[_0x27b7e4(0xf8)]();for(const _0x2ddac4 of this[_0x27b7e4(0x108)])this[_0x27b7e4(0xec)][_0x27b7e4(0x113)](_0x2ddac4[_0x27b7e4(0xa9)]);this[_0x27b7e4(0x110)][_0x27b7e4(0xaf)](this[_0x27b7e4(0xa9)]),this[_0x27b7e4(0x103)]();}[_0x4e6827(0xad)](){const _0x141b0c=_0x4e6827;super[_0x141b0c(0xad)](),this[_0x141b0c(0xed)]&&this[_0x141b0c(0xed)][_0x141b0c(0xad)]();}[_0x4e6827(0xc2)](_0x5ed3d5){const _0x498618=_0x4e6827;-0x1===_0x5ed3d5?this[_0x498618(0xd4)][_0x498618(0xbe)]():this[_0x498618(0xd4)][_0x498618(0xfd)]();}[_0x4e6827(0xf1)](_0x42653e){const _0x314bf8=_0x4e6827;this[_0x314bf8(0xf5)]=_0x42653e;}[_0x4e6827(0xc5)](){const _0xbf8e8f=_0x4e6827;this[_0xbf8e8f(0xa4)]=!0x0,this[_0xbf8e8f(0xfc)][_0xbf8e8f(0xf2)](!0x1);}[_0x4e6827(0xe2)](){const _0x47b8ec=_0x4e6827;this[_0x47b8ec(0xa4)]=!0x1,this[_0x47b8ec(0xfc)][_0x47b8ec(0xf2)](!0x0);}[_0x4e6827(0xff)](_0x540b10){const _0x47ba50=_0x4e6827;super[_0x47ba50(0xff)](_0x540b10),this[_0x47ba50(0x9e)][_0x47ba50(0xc1)](this[_0x47ba50(0xd7)])||this[_0x47ba50(0x9e)][_0x47ba50(0x113)](this[_0x47ba50(0xd7)],0x0);}[_0x4e6827(0xfa)](){const _0x1d1562=_0x4e6827;super[_0x1d1562(0xfa)](),this[_0x1d1562(0xe2)]();}[_0x4e6827(0xb3)](_0x14b771){const _0x15d668=_0x4e6827;super[_0x15d668(0xb3)](_0x14b771),this[_0x15d668(0xc5)]();}[_0x4e6827(0xfb)](_0x59a1fc){const _0x468621=_0x4e6827;this[_0x468621(0xfc)][_0x468621(0xb6)][_0x468621(0xc1)](_0x59a1fc)||this[_0x468621(0xfc)][_0x468621(0xb6)][_0x468621(0x113)](_0x59a1fc);}[_0x4e6827(0xca)](_0x4049ca){const _0x3c7bea=_0x4e6827;this[_0x3c7bea(0xfc)][_0x3c7bea(0xb6)][_0x3c7bea(0xc1)](_0x4049ca)&&this[_0x3c7bea(0xfc)][_0x3c7bea(0xb6)][_0x3c7bea(0xe6)](_0x4049ca);}[_0x4e6827(0xa2)](){const _0x15d9e8=_0x4e6827;this[_0x15d9e8(0xb1)]&&(this[_0x15d9e8(0xf5)]=!0x0);}[_0x4e6827(0x10b)](){const _0x52c4f5=_0x4e6827;this[_0x52c4f5(0xb1)]&&(this[_0x52c4f5(0xf5)]=!0x1);}[_0x4e6827(0xe8)]({showApplyButton:_0x46342b,showSuggestButton:_0x45b2d6}){const _0x43def5=_0x4e6827;_0x46342b=_0x46342b&&!this[_0x43def5(0xc4)]&&this[_0x43def5(0xb0)][_0x43def5(0xdc)][_0x43def5(0x9d)](_0x43def5(0x112)),_0x45b2d6=_0x45b2d6&&this[_0x43def5(0xb0)][_0x43def5(0xdc)][_0x43def5(0x9d)](_0x43def5(0xc3)),this[_0x43def5(0xcf)][_0x43def5(0xa5)]({'showApplyButton':_0x46342b,'showSuggestButton':_0x45b2d6});}async[_0x4e6827(0x109)](_0x1351c9){const _0x3ab568=_0x4e6827;await this[_0x3ab568(0xb4)][_0x3ab568(0xe7)](_0x1351c9);}[_0x4e6827(0xbb)](){const _0x41bcfb=_0x4e6827;this[_0x41bcfb(0xb4)][_0x41bcfb(0xe3)]();}[_0x4e6827(0xaa)](_0x1dd99a){const _0x387212=_0x4e6827;this[_0x387212(0xb7)]=new _0x30e49b(this[_0x387212(0xd1)]),this[_0x387212(0xb7)][_0x387212(0xa1)]({'tag':_0x387212(0xce),'attributes':{'class':[_0x387212(0xd0)]},'children':[{'tag':_0x387212(0xce),'attributes':{'class':[_0x387212(0xa7)]},'children':[this[_0x387212(0x111)](),this[_0x387212(0x106)]()]},this[_0x387212(0xef)](_0x1dd99a[_0x387212(0xf7)])]}),this[_0x387212(0x9e)][_0x387212(0x113)](this[_0x387212(0xb7)]);}[_0x4e6827(0xac)](){const _0x1addb0=_0x4e6827;this[_0x1addb0(0xf0)]=new _0x7816c0(this[_0x1addb0(0xd1)]),this[_0x1addb0(0x9e)][_0x1addb0(0x113)](this[_0x1addb0(0xf0)]);}[_0x4e6827(0xc8)]({showApplyButton:_0x309fe9,showSuggestButton:_0x17f53b}){const _0x2ac44a=_0x4e6827;this[_0x2ac44a(0xcf)]=new _0x4d3dbf(this[_0x2ac44a(0xd1)],_0x309fe9,_0x17f53b),this[_0x2ac44a(0xcf)][_0x2ac44a(0xee)]?.['on'](_0x2ac44a(0x9b),()=>{const _0x4dd14d=_0x2ac44a;this[_0x4dd14d(0x102)](_0x4dd14d(0x112));}),this[_0x2ac44a(0xcf)][_0x2ac44a(0x10a)]?.['on'](_0x2ac44a(0x9b),()=>{const _0x444d6a=_0x2ac44a;this[_0x444d6a(0x102)](_0x444d6a(0xc3));}),this[_0x2ac44a(0xcf)][_0x2ac44a(0xea)](_0x2ac44a(0xf3))['to'](this,_0x2ac44a(0x9c),this,_0x2ac44a(0xf5),this,_0x2ac44a(0xa4),(_0x126d41,_0x5151ce,_0x19356e)=>!(_0x126d41||_0x5151ce||_0x19356e)),this[_0x2ac44a(0xe8)]({'showApplyButton':_0x309fe9,'showSuggestButton':_0x17f53b}),this[_0x2ac44a(0x9e)][_0x2ac44a(0x113)](this[_0x2ac44a(0xcf)]);}[_0x4e6827(0xef)](_0x2ce3f2){const _0x54df39=_0x4e6827;return this[_0x54df39(0xfc)]=new _0x367071(this[_0x54df39(0xd1)],_0x2ce3f2),this[_0x54df39(0xfc)][_0x54df39(0xd9)](..._0xfb6375)['to'](this),this[_0x54df39(0xfc)]['on'](_0x54df39(0xeb),()=>{const _0x4dc3c2=_0x54df39;this[_0x4dc3c2(0xfc)][_0x4dc3c2(0x101)]=!this[_0x4dc3c2(0xfc)][_0x4dc3c2(0x101)],this[_0x4dc3c2(0x102)](_0x4dc3c2(0xa6),{'showDiff':this[_0x4dc3c2(0xfc)][_0x4dc3c2(0x101)]});}),this[_0x54df39(0xfc)][_0x54df39(0xea)](_0x54df39(0xf3))['to'](this,_0x54df39(0x9c),this,_0x54df39(0xf5),(_0x30aef7,_0x29a50d)=>!(_0x30aef7||_0x29a50d)),this[_0x54df39(0xfc)];}[_0x4e6827(0x111)](){const _0x117f22=_0x4e6827;return this[_0x117f22(0xb1)]=new _0x35b48c(this[_0x117f22(0xd1)]),this[_0x117f22(0xb1)][_0x117f22(0xea)](_0x117f22(0xda))['to'](this,_0x117f22(0xf5)),this[_0x117f22(0xb1)];}[_0x4e6827(0x106)](){const _0x162960=_0x4e6827;return this[_0x162960(0xb4)]=new _0xb1b85c(this[_0x162960(0xd1)]),this[_0x162960(0xb4)];}[_0x4e6827(0xdd)](){const _0x46a661=_0x4e6827,_0x417cba=new _0x314231(this[_0x46a661(0xd1)]),_0x3bb6a9=new _0x314231(this[_0x46a661(0xd1)]),_0x2f7b00=new Ln(this[_0x46a661(0xd1)]),_0x37abf8=new _0x314231(this[_0x46a661(0xd1)]);_0x417cba[_0x46a661(0x104)]({'icon':_0x456403,'label':_0x537a17(this[_0x46a661(0xd1)],_0x46a661(0x10e)),'tooltip':!0x0,'class':_0x46a661(0xbf)}),_0x3bb6a9[_0x46a661(0x104)]({'icon':_0x284fde,'tooltip':_0x537a17(this[_0x46a661(0xd1)],_0x46a661(0xd3)),'class':_0x46a661(0xf9)}),_0x37abf8[_0x46a661(0x104)]({'icon':_0x3c5184,'tooltip':_0x537a17(this[_0x46a661(0xd1)],_0x46a661(0x107)),'class':_0x46a661(0xba)}),_0x417cba[_0x46a661(0xea)](_0x46a661(0xf3))['to'](this,_0x46a661(0x9c),_0x110b2a=>!_0x110b2a),_0x417cba['on'](_0x46a661(0x9b),()=>{const _0x445767=_0x46a661;this[_0x445767(0x102)](_0x445767(0xcb));}),_0x3bb6a9[_0x46a661(0xea)](_0x46a661(0xf3))['to'](this,_0x46a661(0x9c),_0x102287=>!_0x102287),_0x3bb6a9['on'](_0x46a661(0x9b),()=>{const _0x33843a=_0x46a661;this[_0x33843a(0x102)](_0x33843a(0xb8));}),_0x37abf8[_0x46a661(0xea)](_0x46a661(0xf3))['to'](this,_0x46a661(0x9c),_0x2fa3ed=>!_0x2fa3ed),_0x37abf8['on'](_0x46a661(0x9b),()=>{const _0x458721=_0x46a661;this[_0x458721(0x102)](_0x458721(0xdb));}),this[_0x46a661(0xbd)]=_0x3bb6a9,this[_0x46a661(0xfe)]=_0x2f7b00,this[_0x46a661(0xd2)]=_0x37abf8,this[_0x46a661(0xa0)]=_0x417cba;}[_0x4e6827(0xe1)](_0xd4cb13,_0xb54626){const _0x5b87d7=_0x4e6827;this[_0x5b87d7(0xbd)]||this[_0x5b87d7(0xdd)]();const _0x964977=_0xd4cb13>0x1;if(this[_0x5b87d7(0xfb)](this[_0x5b87d7(0xa0)]),_0x964977){this[_0x5b87d7(0xfb)](this[_0x5b87d7(0xbd)]),this[_0x5b87d7(0xfb)](this[_0x5b87d7(0xfe)]),this[_0x5b87d7(0xfb)](this[_0x5b87d7(0xd2)]);const _0xde063=_0xd4cb13-_0xb54626;this[_0x5b87d7(0xfe)][_0x5b87d7(0x10f)](_0xde063+'/'+_0xd4cb13),this[_0x5b87d7(0xbd)][_0x5b87d7(0xf3)]=_0xb54626<_0xd4cb13-0x1,this[_0x5b87d7(0xd2)][_0x5b87d7(0xf3)]=_0xb54626>0x0;}else this[_0x5b87d7(0xca)](this[_0x5b87d7(0xbd)]),this[_0x5b87d7(0xca)](this[_0x5b87d7(0xfe)]),this[_0x5b87d7(0xca)](this[_0x5b87d7(0xd2)]);}[_0x4e6827(0xa8)](){const _0xa6dcaa=_0x4e6827;this[_0xa6dcaa(0xa0)][_0xa6dcaa(0xf3)]=!0x1,this[_0xa6dcaa(0xbd)][_0xa6dcaa(0xf3)]=!0x1,this[_0xa6dcaa(0xd2)][_0xa6dcaa(0xf3)]=!0x1;}[_0x4e6827(0x100)](){const _0x4cb9dc=_0x4e6827;this[_0x4cb9dc(0x103)](),this[_0x4cb9dc(0xed)]&&this[_0x4cb9dc(0xed)][_0x4cb9dc(0xc7)]();}[_0x4e6827(0xe0)](){const _0x13b653=_0x4e6827;this[_0x13b653(0xed)]&&this[_0x13b653(0xed)][_0x13b653(0xe5)]();}[_0x4e6827(0xcc)](_0x11ef38){const _0x116a77=_0x4e6827;this[_0x116a77(0xf5)]=_0x11ef38;}[_0x4e6827(0xc9)](){const _0x1851b2=_0x4e6827;this[_0x1851b2(0xfc)][_0x1851b2(0x101)]=!0x1;}[_0x4e6827(0x103)](){const _0x789dff=_0x4e6827,_0x309edc=this[_0x789dff(0xb9)]();_0x309edc&&!this[_0x789dff(0xed)]&&(this[_0x789dff(0xed)]=new _0x3d890f(_0x309edc));}[_0x4e6827(0xb9)](){const _0x5447a7=_0x4e6827;return this[_0x5447a7(0xb4)][_0x5447a7(0xa9)];}}class Ln extends _0x30e49b{constructor(_0x5ca8b7){const _0x57701e=_0x4e6827;super(_0x5ca8b7);const _0x56bb2b=this[_0x57701e(0xd5)];this[_0x57701e(0x104)](_0x57701e(0xf4),_0x57701e(0xb2)),this[_0x57701e(0xa1)]({'tag':_0x57701e(0xd6),'attributes':{'class':[_0x57701e(0xe9)]},'children':[{'text':_0x56bb2b['to'](_0x57701e(0xf4))}]});}[_0x4e6827(0x10f)](_0x54f9b8){const _0x1ab50b=_0x4e6827;this[_0x1ab50b(0x104)](_0x1ab50b(0xf4),_0x54f9b8);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3a2d(_0x41692d,_0x6b9bcd){const _0x4b8cbe=_0x4b8c();return _0x3a2d=function(_0x3a2dbc,_0x47c813){_0x3a2dbc=_0x3a2dbc-0x1cd;let _0x607030=_0x4b8cbe[_0x3a2dbc];return _0x607030;},_0x3a2d(_0x41692d,_0x6b9bcd);}const _0x530a9c=_0x3a2d;(function(_0x3659fe,_0x298078){const _0x1da9c4=_0x3a2d,_0x4a68fb=_0x3659fe();while(!![]){try{const _0x26a040=-parseInt(_0x1da9c4(0x1de))/0x1+parseInt(_0x1da9c4(0x1dd))/0x2+parseInt(_0x1da9c4(0x1e0))/0x3+-parseInt(_0x1da9c4(0x1d5))/0x4*(parseInt(_0x1da9c4(0x1d7))/0x5)+-parseInt(_0x1da9c4(0x1cf))/0x6*(-parseInt(_0x1da9c4(0x1db))/0x7)+parseInt(_0x1da9c4(0x1d3))/0x8+-parseInt(_0x1da9c4(0x1ce))/0x9*(parseInt(_0x1da9c4(0x1d6))/0xa);if(_0x26a040===_0x298078)break;else _0x4a68fb['push'](_0x4a68fb['shift']());}catch(_0xd5e4c1){_0x4a68fb['push'](_0x4a68fb['shift']());}}}(_0x4b8c,0x9b68d));import{IconView as _0x1a7300,ListItemButtonView as _0x4d6d6d}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x3441c8}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x4d6d6d{[_0x530a9c(0x1d1)];constructor(_0x45085e,_0x50f3b8){const _0x2c0e19=_0x530a9c;super(_0x45085e,_0x50f3b8);const _0x4a24e4=this[_0x2c0e19(0x1df)];this[_0x2c0e19(0x1e3)]({'withText':!0x0,'role':_0x2c0e19(0x1e2)}),this[_0x2c0e19(0x1d1)]=this[_0x2c0e19(0x1dc)](),this[_0x2c0e19(0x1d0)]({'attributes':{'class':[_0x2c0e19(0x1d4)],'aria-haspopup':!0x0,'aria-expanded':this[_0x2c0e19(0x1df)]['to'](_0x2c0e19(0x1e4),_0xd99def=>String(_0xd99def)),'data-cke-tooltip-disabled':_0x4a24e4['to'](_0x2c0e19(0x1e4))},'on':{'mouseenter':_0x4a24e4['to'](_0x2c0e19(0x1e1))}});}[_0x530a9c(0x1cd)](){const _0x2b1769=_0x530a9c;super[_0x2b1769(0x1cd)](),this[_0x2b1769(0x1d8)][_0x2b1769(0x1da)](this[_0x2b1769(0x1d1)]);}[_0x530a9c(0x1dc)](){const _0x326518=_0x530a9c,_0x1ccc21=new _0x1a7300();return _0x1ccc21[_0x326518(0x1d2)]=_0x3441c8,_0x1ccc21[_0x326518(0x1d0)]({'attributes':{'class':_0x326518(0x1d9)}}),_0x1ccc21;}}function _0x4b8c(){const _0x460d95=['3855772SWuZPy','1290uXcviD','5eMpqJv','children','ck-dropdown-menu-list__nested-menu__button__arrow','add','7CRPmWU','_createArrowView','1167810tpYCRu','559276yGRarH','bindTemplate','3451608SeikLu','mouseenter','menuitem','set','isOn','render','129798uRMpWc','6832482ShHodH','extendTemplate','arrowView','content','9176208gSjkCK','ck-dropdown-menu-list__nested-menu__button'];_0x4b8c=function(){return _0x460d95;};return _0x4b8c();}
|