@ckeditor/ckeditor5-ai 47.7.5 → 47.7.6
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
|
-
|
|
23
|
+
function _0x47e3(_0x2fbe42,_0x2a2b92){const _0x9ba52d=_0x9ba5();return _0x47e3=function(_0x47e3d7,_0x20bbe8){_0x47e3d7=_0x47e3d7-0x133;let _0x2f85eb=_0x9ba52d[_0x47e3d7];return _0x2f85eb;},_0x47e3(_0x2fbe42,_0x2a2b92);}function _0x9ba5(){const _0x33f4bc=['removeSelectionFromChatContext','isPremiumPlugin','plugins','32EuJLXk','5966RvfvHW','directChange','document','has','editor','pluginName','837515lnAtCR','init','31906pJVZHP','AIQuickActionsEditing','12725080upZjjs','aiQuickAction','model','add','278ZQCglr','selection','isOfficialPlugin','commands','2663364TaZpZp','get','AIChat','change:range','708849WIytlr','1153593sFweOi','8xYLJcB'];_0x9ba5=function(){return _0x33f4bc;};return _0x9ba5();}const _0xb12868=_0x47e3;(function(_0x4261e4,_0x185243){const _0x6f56ea=_0x47e3,_0x41b5ed=_0x4261e4();while(!![]){try{const _0x50fcb7=parseInt(_0x6f56ea(0x14d))/0x1*(-parseInt(_0x6f56ea(0x13e))/0x2)+-parseInt(_0x6f56ea(0x146))/0x3+-parseInt(_0x6f56ea(0x148))/0x4*(-parseInt(_0x6f56ea(0x136))/0x5)+-parseInt(_0x6f56ea(0x142))/0x6+-parseInt(_0x6f56ea(0x138))/0x7+-parseInt(_0x6f56ea(0x14c))/0x8*(-parseInt(_0x6f56ea(0x147))/0x9)+parseInt(_0x6f56ea(0x13a))/0xa;if(_0x50fcb7===_0x185243)break;else _0x41b5ed['push'](_0x41b5ed['shift']());}catch(_0x4dc81){_0x41b5ed['push'](_0x41b5ed['shift']());}}}(_0x9ba5,0x94005));import{Plugin as _0x3622e8}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x192047}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x3622e8{static get[_0xb12868(0x135)](){const _0x2f22c2=_0xb12868;return _0x2f22c2(0x139);}static get[_0xb12868(0x140)](){return!0x0;}static get[_0xb12868(0x14a)](){return!0x0;}[_0xb12868(0x137)](){const _0x508eb7=_0xb12868,_0x17b15d=this[_0x508eb7(0x134)],_0x5b1807=new _0x192047(this[_0x508eb7(0x134)]);if(_0x17b15d[_0x508eb7(0x141)][_0x508eb7(0x13d)](_0x508eb7(0x13b),_0x5b1807),_0x17b15d[_0x508eb7(0x14b)][_0x508eb7(0x133)](_0x508eb7(0x144))){const _0x35a03e=this[_0x508eb7(0x134)][_0x508eb7(0x14b)][_0x508eb7(0x143)](_0x508eb7(0x144));_0x17b15d[_0x508eb7(0x13c)][_0x508eb7(0x14f)][_0x508eb7(0x13f)]['on'](_0x508eb7(0x145),(_0x4942c1,_0x2682a5)=>{const _0x26ea05=_0x508eb7;_0x2682a5[_0x26ea05(0x14e)]&&_0x35a03e[_0x26ea05(0x149)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x216230=_0x187f;(function(_0x4dcea0,_0x3d4046){const _0x292954=_0x187f,_0xa82db8=_0x4dcea0();while(!![]){try{const _0x17b32a=-parseInt(_0x292954(0x198))/0x1*(parseInt(_0x292954(0x190))/0x2)+-parseInt(_0x292954(0x1ea))/0x3+-parseInt(_0x292954(0x199))/0x4+-parseInt(_0x292954(0x15b))/0x5+-parseInt(_0x292954(0x1a5))/0x6*(-parseInt(_0x292954(0x156))/0x7)+-parseInt(_0x292954(0x150))/0x8*(-parseInt(_0x292954(0x189))/0x9)+-parseInt(_0x292954(0x1e4))/0xa*(-parseInt(_0x292954(0x166))/0xb);if(_0x17b32a===_0x3d4046)break;else _0xa82db8['push'](_0xa82db8['shift']());}catch(_0x140bb8){_0xa82db8['push'](_0xa82db8['shift']());}}}(_0x3930,0x63d8a));import{IconAIAdjustLength as _0x5b8e8a,IconAIChangeTone as _0x5c46cd,IconAIChatCommands as _0x23723b,IconAIContinueWriting as _0x165a31,IconAIGrammarCheck as _0x51ed65,IconAIImproveWriting as _0x2d2440,IconAIOther as _0x2fcda6,IconAIQuickActions as _0x12f288,IconAITranslate as _0x19bc1}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x5ab6d8}from'ckeditor5/src/core.js';import{CKEditorError as _0x505ca8,logError as _0x175649}from'ckeditor5/src/utils.js';import{getTranslation as _0x4721f4}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x5c892e}from'./ui/aiquickactionsdropdowncreator.js';function _0x3930(){const _0x4190d9=['AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','isEnabled','isOfficialPlugin','AI_QUICK_ACTIONS_CHANGE_TONE','ask-ai','german','2466MEtumR','translate','view','AI_QUICK_ACTIONS_ADJUST_LENGTH','_initializeQuickActionsDropdown','displayedPrompt','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','3592atVOvp','italian','_shouldIncludeAction','AI_QUICK_ACTIONS_EXPLAIN','chinese','isPremiumPlugin','improve-writing','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','269fGSGHW','1325908GDvvIC','translate-to-german','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','make-longer','getDefaultQuickActions','translate-to-japanese','includes','model','requires','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','init','762yVeOVk','panelView','items','AI_QUICK_ACTIONS_MORE_DIRECT','push','AI_QUICK_ACTIONS_MORE_CASUAL','buttonView','message','ai.quickActions.extraCommands','some','translate-to-french','japanese','uiLanguage','AI_QUICK_ACTIONS_MORE_FRIENDLY','translate-to-chinese','english','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','ai.quickActions.isSearchEnabled','make-tone-professional','explain','actions','English','has','AIQuickActionsUI','filter','length','label','translate-to-portuguese','type','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','pluginName','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','delegate','aiQuickAction','adjust-length','locale','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','CHAT','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','_initializeQuickActionsMenuBar','attachToDom','find','AIActions','AI_QUICK_ACTIONS_IMPROVE_WRITING','config','componentFactory','make-tone-friendly','russian','make-tone-casual','ai.quickActions.removeCommands','close','AI_QUICK_ACTIONS_MAKE_LONGER','translate-to-english','ai-quick-actions-models-unable-to-retrieve','_executeQuickAction','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','fix-grammar','translate-to-korean','other','get','AI_QUICK_ACTIONS_SUMMARIZE','1230esxtMv','focus','menuBar:aiQuickActions','summarize','ai-quick-actions-unavailable-model','highlight-key-points','1524267lToWCh','portuguese','_initializeQuickActionsComponents','ACTION','make-shorter','AIChat','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','add','6224JZPcMr','set','menu','AI_QUICK_ACTIONS_HEADING','make-tone-confident','menuBarView','8694HfvtLL','AIConnector','spanish','continue','editing','3448895fwOpTH','_quickActionsDefinition','make-tone-direct','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','_initializeQuickActionsComponentsAndCommands','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','ai.chat.context.document.enabled','korean','editor','forEach','french','183381aOdmIi','aiQuickActions','chat-commands','AI_QUICK_ACTIONS_CONTINUE_WRITING','values','menuitem','plugins','AI_QUICK_ACTIONS_OTHER','translate-to-russian','translate-to-spanish','AI_QUICK_ACTIONS_MAKE_SHORTER','language','map','REVIEW','icon','change-tone','translate-to-italian','DisplayNames','commands','getAll','AI_QUICK_ACTIONS_ASK_AI','execute','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','children','AI_QUICK_ACTIONS_CHAT_COMMANDS','replace','AI_QUICK_ACTIONS_MORE_CONFIDENT','_prepareQuickActionsDefinition','AIReviewMode'];_0x3930=function(){return _0x4190d9;};return _0x3930();}import{aiQuickActionsButtonCreator as _0x5c4f5d}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x5c0ae6,BalloonToolbar as _0x1b65be,MenuBarMenuView as _0x40926b,MenuBarMenuListView as _0x4ab319,MenuBarMenuListItemView as _0x15dcee,MenuBarMenuListItemButtonView as _0x3c867d}from'ckeditor5/src/ui.js';import{AIModels as _0xd2e401}from'../aicore/model/aimodels.js';import{AIConnector as _0x114a43}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x216230(0x1c9),ie=_0x216230(0x18f),ne=_0x216230(0x160);export var AIQuickActionType;!function(_0x246f2d){const _0x6e6d2e=_0x216230;_0x246f2d[_0x6e6d2e(0x1ca)]=_0x6e6d2e(0x1ca),_0x246f2d[_0x6e6d2e(0x1ed)]=_0x6e6d2e(0x1ed),_0x246f2d[_0x6e6d2e(0x173)]=_0x6e6d2e(0x173);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x23ecf1){const _0x3db15b=_0x216230;_0x23ecf1[_0x3db15b(0x1ca)]=_0x3db15b(0x14d),_0x23ecf1[_0x3db15b(0x1ed)]=_0x3db15b(0x1cf),_0x23ecf1[_0x3db15b(0x173)]=_0x3db15b(0x182);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x187f(_0x1075c4,_0x30c3f0){const _0x39301d=_0x3930();return _0x187f=function(_0x187ffe,_0x21c757){_0x187ffe=_0x187ffe-0x14d;let _0x44b563=_0x39301d[_0x187ffe];return _0x44b563;},_0x187f(_0x1075c4,_0x30c3f0);}export class AIQuickActionsUI extends _0x5ab6d8{static get[_0x216230(0x1a2)](){return[_0x1b65be,_0x114a43];}static get[_0x216230(0x1c3)](){const _0x423092=_0x216230;return _0x423092(0x1bc);}static get[_0x216230(0x185)](){return!0x0;}static get[_0x216230(0x195)](){return!0x0;}async[_0x216230(0x1a4)](){const _0x753e48=_0x216230,_0x301ae=await this[_0x753e48(0x1dd)]();this[_0x753e48(0x181)](_0x301ae),this[_0x753e48(0x15f)]();}static[_0x216230(0x19e)](_0x3b6faa){return function(_0x4a5aa2){const _0x3e4ec6=_0x187f,_0x57e656=new Intl[(_0x3e4ec6(0x177))](['en'],{'type':_0x3e4ec6(0x171)})['of'](_0x4a5aa2[_0x3e4ec6(0x1b1)]),_0x3e30e2=_0x57e656||_0x3e4ec6(0x1ba),_0x165eb4=[{'id':_0x3e4ec6(0x187),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x17a)),'type':AIQuickActionType[_0x3e4ec6(0x1ca)],'icon':_0x23723b},{'id':_0x3e4ec6(0x168),'label':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x17e)),'icon':_0x23723b,'actions':[{'id':_0x3e4ec6(0x1b8),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x193)),'prompt':ee[_0x3e4ec6(0x17f)]('%0',_0x3e30e2),'type':AIQuickActionType[_0x3e4ec6(0x1ca)]},{'id':_0x3e4ec6(0x1e7),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1e3)),'prompt':ie[_0x3e4ec6(0x17f)]('%0',_0x3e30e2),'type':AIQuickActionType[_0x3e4ec6(0x1ca)]},{'id':_0x3e4ec6(0x1e9),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1de)),'prompt':ne[_0x3e4ec6(0x17f)]('%0',_0x3e30e2),'type':AIQuickActionType[_0x3e4ec6(0x1ca)]}]},{'id':_0x3e4ec6(0x196),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1d0)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'icon':_0x2d2440},{'id':_0x3e4ec6(0x159),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x169)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'icon':_0x165a31},{'id':_0x3e4ec6(0x1df),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x183)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'icon':_0x51ed65},{'id':_0x3e4ec6(0x1c7),'label':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x18c)),'icon':_0x5b8e8a,'actions':[{'id':_0x3e4ec6(0x1ee),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x170)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)]},{'id':_0x3e4ec6(0x19d),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1d8)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)]}]},{'id':_0x3e4ec6(0x175),'label':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x186)),'icon':_0x5c46cd,'actions':[{'id':_0x3e4ec6(0x1d5),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1aa)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)]},{'id':_0x3e4ec6(0x15d),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1a8)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)]},{'id':_0x3e4ec6(0x1d3),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1b2)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)]},{'id':_0x3e4ec6(0x154),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x180)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)]},{'id':_0x3e4ec6(0x1b7),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1dc)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)]}]},{'id':_0x3e4ec6(0x18a),'label':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x19b)),'icon':_0x19bc1,'actions':[{'id':_0x3e4ec6(0x1d9),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1c2)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'actionName':_0x3e4ec6(0x18a),'args':{'language':_0x3e4ec6(0x1b4)}},{'id':_0x3e4ec6(0x1b3),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x14e)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'actionName':_0x3e4ec6(0x18a),'args':{'language':_0x3e4ec6(0x194)}},{'id':_0x3e4ec6(0x16f),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x197)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'actionName':_0x3e4ec6(0x18a),'args':{'language':_0x3e4ec6(0x158)}},{'id':_0x3e4ec6(0x19a),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1b5)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'actionName':_0x3e4ec6(0x18a),'args':{'language':_0x3e4ec6(0x188)}},{'id':_0x3e4ec6(0x1af),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x19c)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'actionName':_0x3e4ec6(0x18a),'args':{'language':_0x3e4ec6(0x165)}},{'id':_0x3e4ec6(0x19f),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1c4)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'actionName':_0x3e4ec6(0x18a),'args':{'language':_0x3e4ec6(0x1b0)}},{'id':_0x3e4ec6(0x1c0),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x17c)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'actionName':_0x3e4ec6(0x18a),'args':{'language':_0x3e4ec6(0x1eb)}},{'id':_0x3e4ec6(0x1e0),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1cb)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'actionName':_0x3e4ec6(0x18a),'args':{'language':_0x3e4ec6(0x162)}},{'id':_0x3e4ec6(0x176),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x1a3)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'actionName':_0x3e4ec6(0x18a),'args':{'language':_0x3e4ec6(0x191)}},{'id':_0x3e4ec6(0x16e),'displayedPrompt':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x15e)),'type':AIQuickActionType[_0x3e4ec6(0x1ed)],'actionName':_0x3e4ec6(0x18a),'args':{'language':_0x3e4ec6(0x1d4)}}]},{'id':_0x3e4ec6(0x1e1),'label':_0x4721f4(_0x4a5aa2,_0x3e4ec6(0x16d)),'icon':_0x2fcda6,'actions':[]}];return _0x165eb4;}(_0x3b6faa);}async[_0x216230(0x1dd)](){const _0x501fb8=_0x216230,_0x39e4e2=AIQuickActionsUI[_0x501fb8(0x19e)](this[_0x501fb8(0x163)][_0x501fb8(0x1c8)]),_0x349369=this[_0x501fb8(0x163)][_0x501fb8(0x1d1)][_0x501fb8(0x1e2)](_0x501fb8(0x1ad))||[];let _0x108104=[];try{_0x108104=await new _0xd2e401({'connector':this[_0x501fb8(0x163)][_0x501fb8(0x16c)][_0x501fb8(0x1e2)](_0x501fb8(0x157)),'locale':this[_0x501fb8(0x163)][_0x501fb8(0x1c8)]})[_0x501fb8(0x179)]();}catch(_0x4c0ba9){const _0x267226=new _0x505ca8(_0x501fb8(0x1da),this,{'error':_0x4c0ba9});_0x175649(_0x267226[_0x501fb8(0x1ac)]);}finally{const _0x5026be=_0x349369[_0x501fb8(0x172)](_0x5beac6=>({..._0x5beac6,'icon':void 0x0}));_0x39e4e2[_0x501fb8(0x1ce)](_0x3a2570=>_0x501fb8(0x1e1)===_0x3a2570['id'])[_0x501fb8(0x1b9)][_0x501fb8(0x1a9)](..._0x5026be),_0x39e4e2[_0x501fb8(0x164)](_0x5e2d63=>{const _0x5dbf24=_0x501fb8;if(_0x5dbf24(0x1b9)in _0x5e2d63)_0x5e2d63[_0x5dbf24(0x1b9)][_0x5dbf24(0x164)](_0xb5c179=>{const _0x4df473=_0x5dbf24;if(_0xb5c179[_0x4df473(0x184)]=!!_0x108104[_0x4df473(0x1ce)](_0x1d2e45=>_0x1d2e45['id']===_0xb5c179[_0x4df473(0x1a1)])||void 0x0===_0xb5c179[_0x4df473(0x1a1)],!_0xb5c179[_0x4df473(0x184)]){const _0x22b223=new _0x505ca8(_0x4df473(0x1e8),this,{'actionId':_0xb5c179['id'],'modelId':_0xb5c179[_0x4df473(0x1a1)]});_0x175649(_0x22b223[_0x4df473(0x1ac)]);}});else{if(_0x5e2d63[_0x5dbf24(0x184)]=!!_0x108104[_0x5dbf24(0x1ce)](_0x11a3c3=>_0x11a3c3['id']===_0x5e2d63[_0x5dbf24(0x1a1)])||void 0x0===_0x5e2d63[_0x5dbf24(0x1a1)],!_0x5e2d63[_0x5dbf24(0x184)]){const _0xb794af=new _0x505ca8(_0x5dbf24(0x1e8),this,{'actionId':_0x5e2d63['id'],'modelId':_0x5e2d63[_0x5dbf24(0x1a1)]});_0x175649(_0xb794af[_0x5dbf24(0x1ac)]);}}});}return _0x39e4e2;}[_0x216230(0x15f)](){const _0x5cbf5f=_0x216230,_0x1e7c0e=new _0x5c0ae6(this[_0x5cbf5f(0x163)][_0x5cbf5f(0x1c8)]);_0x1e7c0e[_0x5cbf5f(0x1cd)](),this[_0x5cbf5f(0x18d)](_0x1e7c0e),this[_0x5cbf5f(0x1cc)](),this[_0x5cbf5f(0x1ec)](_0x1e7c0e);}[_0x216230(0x18d)](_0x5bf3cc){const _0x25ad9a=_0x216230,_0x395a71=this[_0x25ad9a(0x163)][_0x25ad9a(0x1d1)][_0x25ad9a(0x1e2)](_0x25ad9a(0x1b6))??!0x0;this[_0x25ad9a(0x163)]['ui'][_0x25ad9a(0x1d2)][_0x25ad9a(0x14f)](_0x25ad9a(0x167),_0x5c892e({'editor':this[_0x25ad9a(0x163)],'content':this[_0x25ad9a(0x15c)],'buttonDefinition':{'icon':_0x12f288,'label':_0x4721f4(this[_0x25ad9a(0x163)][_0x25ad9a(0x1c8)],_0x25ad9a(0x153))},'bodyCollection':_0x5bf3cc,'hasSearch':_0x395a71}));}[_0x216230(0x181)](_0x46d947){const _0x58b335=_0x216230;this[_0x58b335(0x15c)]=_0x46d947[_0x58b335(0x172)](_0x4db070=>{const _0xbd6cf1=_0x58b335;if(_0xbd6cf1(0x1b9)in _0x4db070){const _0x1235d3=_0x4db070;return{..._0x1235d3,'actions':_0x1235d3[_0xbd6cf1(0x1b9)][_0xbd6cf1(0x172)](_0x18fed4=>{const {actions:_0x2a7e75,..._0x5c1c68}=_0x1235d3;return{..._0x18fed4,'parent':_0x5c1c68};})[_0xbd6cf1(0x1bd)](_0x47a7fd=>this[_0xbd6cf1(0x192)](_0x47a7fd))};}return _0x4db070;})[_0x58b335(0x1bd)](_0x497dfb=>_0x58b335(0x1b9)in _0x497dfb?_0x497dfb[_0x58b335(0x1b9)][_0x58b335(0x1be)]>0x0:this[_0x58b335(0x192)](_0x497dfb));}[_0x216230(0x192)](_0x10ce02){const _0x3f3dc4=_0x216230,_0x570466=this[_0x3f3dc4(0x163)][_0x3f3dc4(0x1d1)][_0x3f3dc4(0x1e2)](_0x3f3dc4(0x1d6))||[];return this[_0x3f3dc4(0x163)][_0x3f3dc4(0x16c)][_0x3f3dc4(0x1bb)](AIQuickActionTypeToPluginName[_0x10ce02[_0x3f3dc4(0x1c1)]])&&!_0x570466[_0x3f3dc4(0x1a0)](_0x10ce02['id'])&&!(_0x10ce02[_0x3f3dc4(0x1c1)]===AIQuickActionType[_0x3f3dc4(0x1ca)]&&!0x1===this[_0x3f3dc4(0x163)][_0x3f3dc4(0x1d1)][_0x3f3dc4(0x1e2)](_0x3f3dc4(0x161)));}[_0x216230(0x1ec)](_0x59b578){const _0x51251b=_0x216230;this[_0x51251b(0x15c)][_0x51251b(0x164)](_0x41b12b=>{const _0x4d4b7e=_0x51251b;if(_0x4d4b7e(0x1b9)in _0x41b12b){const _0x2e4bf4=_0x5c892e({'editor':this[_0x4d4b7e(0x163)],'content':_0x41b12b[_0x4d4b7e(0x1b9)],'buttonDefinition':_0x41b12b,'bodyCollection':_0x59b578});this[_0x4d4b7e(0x163)]['ui'][_0x4d4b7e(0x1d2)][_0x4d4b7e(0x14f)](_0x41b12b['id'],_0x2e4bf4),_0x41b12b[_0x4d4b7e(0x1b9)][_0x4d4b7e(0x164)](_0x17e031=>{const _0x48085f=_0x4d4b7e,_0x56ea19=_0x5c4f5d({'editor':this[_0x48085f(0x163)],'action':_0x17e031});this[_0x48085f(0x163)]['ui'][_0x48085f(0x1d2)][_0x48085f(0x14f)](_0x17e031['id'],_0x56ea19);});}else{const _0x4de57e=_0x5c4f5d({'editor':this[_0x4d4b7e(0x163)],'action':_0x41b12b,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x4d4b7e(0x163)]['ui'][_0x4d4b7e(0x1d2)][_0x4d4b7e(0x14f)](_0x41b12b['id'],_0x4de57e);}});}[_0x216230(0x1cc)](){const _0x4aa906=_0x216230;this[_0x4aa906(0x163)]['ui'][_0x4aa906(0x1d2)][_0x4aa906(0x14f)](_0x4aa906(0x1e6),_0x50aa02=>{const _0x3f1e62=_0x4aa906,_0x261649=new _0x40926b(_0x50aa02),_0x52ad97=_0x4721f4(_0x50aa02,_0x3f1e62(0x153));_0x261649[_0x3f1e62(0x1ab)][_0x3f1e62(0x151)]({'label':_0x52ad97,'icon':_0x12f288});const _0x34b5cd=new _0x4ab319(_0x50aa02);_0x34b5cd[_0x3f1e62(0x151)]({'ariaLabel':_0x52ad97,'role':_0x3f1e62(0x152)}),this[_0x3f1e62(0x15c)][_0x3f1e62(0x164)](_0x18c629=>{const _0x3044fc=_0x3f1e62;if(_0x3044fc(0x1b9)in _0x18c629){const _0x10d302=_0x18c629,_0x4a60a4=new _0x15dcee(_0x50aa02,_0x261649),_0x50c507=new _0x40926b(_0x50aa02),_0x462bc8=new _0x4ab319(_0x50aa02);_0x50c507[_0x3044fc(0x1ab)][_0x3044fc(0x151)]({'label':_0x10d302[_0x3044fc(0x1bf)],'icon':_0x10d302[_0x3044fc(0x174)]}),_0x10d302[_0x3044fc(0x1b9)][_0x3044fc(0x164)](_0x4f5f2b=>{const _0x31bd7e=_0x3044fc,_0x38aedc=new _0x15dcee(_0x50aa02,_0x50c507),_0x2afad1=new _0x3c867d(_0x50aa02);_0x2afad1[_0x31bd7e(0x151)]({'label':_0x4f5f2b[_0x31bd7e(0x18e)],'icon':_0x4f5f2b[_0x31bd7e(0x174)],'role':_0x31bd7e(0x16b),'isEnabled':_0x4f5f2b[_0x31bd7e(0x184)]}),_0x2afad1['on'](_0x31bd7e(0x17b),()=>{const _0x2067e5=_0x31bd7e;this[_0x2067e5(0x1db)](_0x4f5f2b);}),_0x2afad1[_0x31bd7e(0x1c5)](_0x31bd7e(0x17b))['to'](_0x50c507),_0x38aedc[_0x31bd7e(0x17d)][_0x31bd7e(0x14f)](_0x2afad1),_0x462bc8[_0x31bd7e(0x1a7)][_0x31bd7e(0x14f)](_0x38aedc);}),_0x50c507[_0x3044fc(0x1a6)][_0x3044fc(0x17d)][_0x3044fc(0x14f)](_0x462bc8),_0x4a60a4[_0x3044fc(0x17d)][_0x3044fc(0x14f)](_0x50c507),_0x34b5cd[_0x3044fc(0x1a7)][_0x3044fc(0x14f)](_0x4a60a4);}else{const _0x77bd72=_0x18c629,_0x4cfb78=new _0x15dcee(_0x50aa02,_0x261649),_0x3b3cda=new _0x3c867d(_0x50aa02);_0x3b3cda[_0x3044fc(0x151)]({'label':_0x77bd72[_0x3044fc(0x18e)],'icon':_0x77bd72[_0x3044fc(0x174)],'role':_0x3044fc(0x16b),'isEnabled':_0x77bd72[_0x3044fc(0x184)]}),_0x3b3cda['on'](_0x3044fc(0x17b),()=>{const _0x18a8f9=_0x3044fc;this[_0x18a8f9(0x1db)](_0x77bd72);}),_0x3b3cda[_0x3044fc(0x1c5)](_0x3044fc(0x17b))['to'](_0x261649),_0x4cfb78[_0x3044fc(0x17d)][_0x3044fc(0x14f)](_0x3b3cda),_0x34b5cd[_0x3044fc(0x1a7)][_0x3044fc(0x14f)](_0x4cfb78);}});const _0x1f61e2=Object[_0x3f1e62(0x16a)](AIQuickActionTypeToPluginName)[_0x3f1e62(0x1ae)](_0x5c6cbb=>this[_0x3f1e62(0x163)][_0x3f1e62(0x16c)][_0x3f1e62(0x1bb)](_0x5c6cbb));return _0x261649[_0x3f1e62(0x151)]({'isEnabled':_0x1f61e2}),_0x261649[_0x3f1e62(0x1a6)][_0x3f1e62(0x17d)][_0x3f1e62(0x14f)](_0x34b5cd),_0x261649;});}[_0x216230(0x1db)](_0x2f9a9f){const _0x388b19=_0x216230,_0x368cb6=this[_0x388b19(0x163)];_0x368cb6[_0x388b19(0x15a)][_0x388b19(0x18b)][_0x388b19(0x1e5)](),_0x368cb6[_0x388b19(0x178)][_0x388b19(0x17b)](_0x388b19(0x1c6),_0x2f9a9f);const _0x2cfc5f=_0x368cb6['ui'][_0x388b19(0x18b)][_0x388b19(0x155)];_0x2cfc5f&&_0x2cfc5f[_0x388b19(0x1d7)]&&_0x2cfc5f[_0x388b19(0x1d7)]();}}
|
|
23
|
+
const _0x3417dd=_0x3076;(function(_0x1d1ddc,_0x2fad87){const _0x7a7b6e=_0x3076,_0x54cc5e=_0x1d1ddc();while(!![]){try{const _0x426f7c=-parseInt(_0x7a7b6e(0x118))/0x1+-parseInt(_0x7a7b6e(0x7f))/0x2*(parseInt(_0x7a7b6e(0x9e))/0x3)+parseInt(_0x7a7b6e(0x11d))/0x4*(-parseInt(_0x7a7b6e(0xc6))/0x5)+parseInt(_0x7a7b6e(0x11a))/0x6+parseInt(_0x7a7b6e(0x9b))/0x7+parseInt(_0x7a7b6e(0xfe))/0x8+-parseInt(_0x7a7b6e(0xec))/0x9;if(_0x426f7c===_0x2fad87)break;else _0x54cc5e['push'](_0x54cc5e['shift']());}catch(_0x4e4849){_0x54cc5e['push'](_0x54cc5e['shift']());}}}(_0x5b29,0xe31d3));import{IconAIAdjustLength as _0x9e404d,IconAIChangeTone as _0xca82c,IconAIChatCommands as _0x3b7cfc,IconAIContinueWriting as _0x53099f,IconAIGrammarCheck as _0x786902,IconAIImproveWriting as _0x123251,IconAIOther as _0x15920a,IconAIQuickActions as _0x9859ba,IconAITranslate as _0x4d00df}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x5c48d2}from'ckeditor5/src/core.js';import{CKEditorError as _0x454834,logError as _0x3468dd}from'ckeditor5/src/utils.js';import{getTranslation as _0x351381}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x5a8ece}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x156fdb}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x1b43ef,BalloonToolbar as _0x567921,MenuBarMenuView as _0x2c5128,MenuBarMenuListView as _0x1730f0,MenuBarMenuListItemView as _0x322a42,MenuBarMenuListItemButtonView as _0x5e787a}from'ckeditor5/src/ui.js';function _0x3076(_0x3c1d53,_0x384fad){const _0x5b297a=_0x5b29();return _0x3076=function(_0x307650,_0x8b785c){_0x307650=_0x307650-0x7f;let _0x5dca92=_0x5b297a[_0x307650];return _0x5dca92;},_0x3076(_0x3c1d53,_0x384fad);}import{AIModels as _0x36189c}from'../aicore/model/aimodels.js';import{AIConnector as _0xad5f3a}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ie=_0x3417dd(0x90),ne=_0x3417dd(0x106),oe=_0x3417dd(0xcd);export var AIQuickActionType;!function(_0x4430f0){const _0x19f388=_0x3417dd;_0x4430f0[_0x19f388(0x9c)]=_0x19f388(0x9c),_0x4430f0[_0x19f388(0x9f)]=_0x19f388(0x9f),_0x4430f0[_0x19f388(0xbb)]=_0x19f388(0xbb);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x5bf1d6){const _0x5560c2=_0x3417dd;_0x5bf1d6[_0x5560c2(0x9c)]=_0x5560c2(0x10f),_0x5bf1d6[_0x5560c2(0x9f)]=_0x5560c2(0xb7),_0x5bf1d6[_0x5560c2(0xbb)]=_0x5560c2(0xa9);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x5b29(){const _0x12ebbb=['AI_QUICK_ACTIONS_TRANSLATE_SPANISH','displayedPrompt','DisplayNames','execute','AI_QUICK_ACTIONS_MAKE_SHORTER','items','12629939xVFsey','CHAT','AI_QUICK_ACTIONS_HEADING','3274548RhxjsE','ACTION','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-spanish','chinese','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','locale','AI_QUICK_ACTIONS_ASK_AI','_getDefaultAndCustomActions','pluginName','filter','AIReviewMode','config','_initializeQuickActionsMenuBar','continue','model','aiQuickActions','translate-to-italian','has','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','init','make-shorter','replace','AIQuickActionsUI','make-longer','AIActions','make-tone-confident','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_MORE_CASUAL','REVIEW','translate-to-korean','_initializeQuickActionsDropdown','language','add','make-tone-casual','_shouldIncludeAction','AI_QUICK_ACTIONS_ADJUST_LENGTH','fix-grammar','menuBarView','translate-to-chinese','5736140OSSyrk','make-tone-professional','attachToDom','translate','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','forEach','label','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','view','ai.quickActions.removeCommands','delegate','translate-to-french','summarize','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_MORE_FRIENDLY','translate-to-portuguese','type','message','get','find','close','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','make-tone-friendly','adjust-length','german','isOfficialPlugin','ai.quickActions.isSearchEnabled','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AI_QUICK_ACTIONS_CHANGE_TONE','chat-commands','ask-ai','AI_QUICK_ACTIONS_MAKE_LONGER','menuitem','russian','componentFactory','7167960fjWYzl','plugins','french','AI_QUICK_ACTIONS_MORE_DIRECT','editor','AI_QUICK_ACTIONS_MORE_CONFIDENT','AI_QUICK_ACTIONS_SUMMARIZE','highlight-key-points','panelView','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AIConnector','requires','AI_QUICK_ACTIONS_IMPROVE_WRITING','uiLanguage','ai-quick-actions-models-unable-to-retrieve','focus','editing','ai.chat.context.document.enabled','12991104bWAKAC','spanish','map','set','values','_prepareQuickActionsDefinition','make-tone-direct','AI_QUICK_ACTIONS_CONTINUE_WRITING','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','isEnabled','push','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','ai-quick-actions-unavailable-model','improve-writing','_quickActionsDefinition','change-tone','includes','AIChat','explain','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','buttonView','english','getAll','_initializeQuickActionsComponents','_executeQuickAction','icon','64510BvElcL','length','3610728sMFahc','translate-to-japanese','japanese','4BMAEhN','translate-to-russian','2jAeEXY','korean','portuguese','menu','actions','some','translate-to-english','getDefaultQuickActions','ai.quickActions.extraCommands','aiQuickAction','isPremiumPlugin','children','other','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_OTHER','English','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>','translate-to-german','commands','italian','AI_QUICK_ACTIONS_TRANSLATE'];_0x5b29=function(){return _0x12ebbb;};return _0x5b29();}export class AIQuickActionsUI extends _0x5c48d2{static get[_0x3417dd(0xf7)](){return[_0x567921,_0xad5f3a];}static get[_0x3417dd(0xa7)](){const _0x5193f9=_0x3417dd;return _0x5193f9(0xb5);}static get[_0x3417dd(0xe2)](){return!0x0;}static get[_0x3417dd(0x89)](){return!0x0;}async[_0x3417dd(0xb2)](){const _0x5cc209=_0x3417dd,_0x10f819=await this[_0x5cc209(0xa6)]();this[_0x5cc209(0x103)](_0x10f819),this[_0x5cc209(0x8c)]();}static[_0x3417dd(0x86)](_0x327661){return function(_0x2b5d8e){const _0x3c7bac=_0x3076,_0x2c2d20=new Intl[(_0x3c7bac(0x97))](['en'],{'type':_0x3c7bac(0xbe)})['of'](_0x2b5d8e[_0x3c7bac(0xf9)]),_0xe897fd=_0x2c2d20||_0x3c7bac(0x8e),_0x433c4b=[{'id':_0x3c7bac(0xe7),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xa5)),'type':AIQuickActionType[_0x3c7bac(0x9c)],'icon':_0x3b7cfc},{'id':_0x3c7bac(0xe6),'label':_0x351381(_0x2b5d8e,_0x3c7bac(0xb9)),'icon':_0x3b7cfc,'actions':[{'id':_0x3c7bac(0x110),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xcf)),'prompt':ie[_0x3c7bac(0xb4)]('%0',_0xe897fd),'type':AIQuickActionType[_0x3c7bac(0x9c)]},{'id':_0x3c7bac(0xd5),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xf2)),'prompt':ne[_0x3c7bac(0xb4)]('%0',_0xe897fd),'type':AIQuickActionType[_0x3c7bac(0x9c)]},{'id':_0x3c7bac(0xf3),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0x111)),'prompt':oe[_0x3c7bac(0xb4)]('%0',_0xe897fd),'type':AIQuickActionType[_0x3c7bac(0x9c)]}]},{'id':_0x3c7bac(0x10b),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xf8)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'icon':_0x123251},{'id':_0x3c7bac(0xac),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0x105)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'icon':_0x53099f},{'id':_0x3c7bac(0xc3),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0x109)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'icon':_0x786902},{'id':_0x3c7bac(0xe0),'label':_0x351381(_0x2b5d8e,_0x3c7bac(0xc2)),'icon':_0x9e404d,'actions':[{'id':_0x3c7bac(0xb3),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0x99)),'type':AIQuickActionType[_0x3c7bac(0x9f)]},{'id':_0x3c7bac(0xb6),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xe8)),'type':AIQuickActionType[_0x3c7bac(0x9f)]}]},{'id':_0x3c7bac(0x10d),'label':_0x351381(_0x2b5d8e,_0x3c7bac(0xe5)),'icon':_0xca82c,'actions':[{'id':_0x3c7bac(0xc0),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xba)),'type':AIQuickActionType[_0x3c7bac(0x9f)]},{'id':_0x3c7bac(0x104),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xef)),'type':AIQuickActionType[_0x3c7bac(0x9f)]},{'id':_0x3c7bac(0xdf),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xd7)),'type':AIQuickActionType[_0x3c7bac(0x9f)]},{'id':_0x3c7bac(0xb8),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xf1)),'type':AIQuickActionType[_0x3c7bac(0x9f)]},{'id':_0x3c7bac(0xc7),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xca)),'type':AIQuickActionType[_0x3c7bac(0x9f)]}]},{'id':_0x3c7bac(0xc9),'label':_0x351381(_0x2b5d8e,_0x3c7bac(0x94)),'icon':_0x4d00df,'actions':[{'id':_0x3c7bac(0x85),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xe4)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'actionName':_0x3c7bac(0xc9),'args':{'language':_0x3c7bac(0x113)}},{'id':_0x3c7bac(0xc5),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xf5)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'actionName':_0x3c7bac(0xc9),'args':{'language':_0x3c7bac(0xa2)}},{'id':_0x3c7bac(0xa1),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0x95)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'actionName':_0x3c7bac(0xc9),'args':{'language':_0x3c7bac(0xff)}},{'id':_0x3c7bac(0x91),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xd0)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'actionName':_0x3c7bac(0xc9),'args':{'language':_0x3c7bac(0xe1)}},{'id':_0x3c7bac(0xd4),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xb1)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'actionName':_0x3c7bac(0xc9),'args':{'language':_0x3c7bac(0xee)}},{'id':_0x3c7bac(0x11b),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xa0)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'actionName':_0x3c7bac(0xc9),'args':{'language':_0x3c7bac(0x11c)}},{'id':_0x3c7bac(0xd8),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xa3)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'actionName':_0x3c7bac(0xc9),'args':{'language':_0x3c7bac(0x81)}},{'id':_0x3c7bac(0xbc),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xd6)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'actionName':_0x3c7bac(0xc9),'args':{'language':_0x3c7bac(0x80)}},{'id':_0x3c7bac(0xaf),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xce)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'actionName':_0x3c7bac(0xc9),'args':{'language':_0x3c7bac(0x93)}},{'id':_0x3c7bac(0x11e),'displayedPrompt':_0x351381(_0x2b5d8e,_0x3c7bac(0xde)),'type':AIQuickActionType[_0x3c7bac(0x9f)],'actionName':_0x3c7bac(0xc9),'args':{'language':_0x3c7bac(0xea)}}]},{'id':_0x3c7bac(0x8b),'label':_0x351381(_0x2b5d8e,_0x3c7bac(0x8d)),'icon':_0x15920a,'actions':[]}];return _0x433c4b;}(_0x327661);}async[_0x3417dd(0xa6)](){const _0xeb1f33=_0x3417dd,_0x1df939=AIQuickActionsUI[_0xeb1f33(0x86)](this[_0xeb1f33(0xf0)][_0xeb1f33(0xa4)]),_0xb345d=this[_0xeb1f33(0xf0)][_0xeb1f33(0xaa)][_0xeb1f33(0xdb)](_0xeb1f33(0x87))||[];let _0x5cef65=[];try{_0x5cef65=await new _0x36189c({'connector':this[_0xeb1f33(0xf0)][_0xeb1f33(0xed)][_0xeb1f33(0xdb)](_0xeb1f33(0xf6)),'locale':this[_0xeb1f33(0xf0)][_0xeb1f33(0xa4)]})[_0xeb1f33(0x114)]();}catch(_0x8ff963){const _0x23af88=new _0x454834(_0xeb1f33(0xfa),this,{'error':_0x8ff963});_0x3468dd(_0x23af88[_0xeb1f33(0xda)]);}finally{const _0x1953dd=_0xb345d[_0xeb1f33(0x100)](_0x38d195=>({..._0x38d195,'icon':void 0x0}));_0x1df939[_0xeb1f33(0xdc)](_0x19f3e8=>_0xeb1f33(0x8b)===_0x19f3e8['id'])[_0xeb1f33(0x83)][_0xeb1f33(0x108)](..._0x1953dd),_0x1df939[_0xeb1f33(0xcb)](_0x2cbbd7=>{const _0x2152a6=_0xeb1f33;if(_0x2152a6(0x83)in _0x2cbbd7)_0x2cbbd7[_0x2152a6(0x83)][_0x2152a6(0xcb)](_0x1f91c1=>{const _0x4972a6=_0x2152a6;if(_0x1f91c1[_0x4972a6(0x107)]=!!_0x5cef65[_0x4972a6(0xdc)](_0x42efe4=>_0x42efe4['id']===_0x1f91c1[_0x4972a6(0xad)])||void 0x0===_0x1f91c1[_0x4972a6(0xad)],!_0x1f91c1[_0x4972a6(0x107)]){const _0x3c8d48=new _0x454834(_0x4972a6(0x10a),this,{'actionId':_0x1f91c1['id'],'modelId':_0x1f91c1[_0x4972a6(0xad)]});_0x3468dd(_0x3c8d48[_0x4972a6(0xda)]);}});else{if(_0x2cbbd7[_0x2152a6(0x107)]=!!_0x5cef65[_0x2152a6(0xdc)](_0x33d664=>_0x33d664['id']===_0x2cbbd7[_0x2152a6(0xad)])||void 0x0===_0x2cbbd7[_0x2152a6(0xad)],!_0x2cbbd7[_0x2152a6(0x107)]){const _0x4d3904=new _0x454834(_0x2152a6(0x10a),this,{'actionId':_0x2cbbd7['id'],'modelId':_0x2cbbd7[_0x2152a6(0xad)]});_0x3468dd(_0x4d3904[_0x2152a6(0xda)]);}}});}return _0x1df939;}[_0x3417dd(0x8c)](){const _0x31c87d=_0x3417dd,_0x297913=new _0x1b43ef(this[_0x31c87d(0xf0)][_0x31c87d(0xa4)]);_0x297913[_0x31c87d(0xc8)](),this[_0x31c87d(0xbd)](_0x297913),this[_0x31c87d(0xab)](),this[_0x31c87d(0x115)](_0x297913);}[_0x3417dd(0xbd)](_0x6a14d0){const _0xbd6663=_0x3417dd,_0x1cfe89=this[_0xbd6663(0xf0)][_0xbd6663(0xaa)][_0xbd6663(0xdb)](_0xbd6663(0xe3))??!0x0;this[_0xbd6663(0xf0)]['ui'][_0xbd6663(0xeb)][_0xbd6663(0xbf)](_0xbd6663(0xae),_0x5a8ece({'editor':this[_0xbd6663(0xf0)],'content':this[_0xbd6663(0x10c)],'buttonDefinition':{'icon':_0x9859ba,'label':_0x351381(this[_0xbd6663(0xf0)][_0xbd6663(0xa4)],_0xbd6663(0x9d))},'bodyCollection':_0x6a14d0,'hasSearch':_0x1cfe89}));}[_0x3417dd(0x103)](_0x32fbfa){const _0x905da6=_0x3417dd;this[_0x905da6(0x10c)]=_0x32fbfa[_0x905da6(0x100)](_0x31987d=>{const _0x95f97e=_0x905da6;if(_0x95f97e(0x83)in _0x31987d){const _0x174c72=_0x31987d;return{..._0x174c72,'actions':_0x174c72[_0x95f97e(0x83)][_0x95f97e(0x100)](_0x314790=>{const {actions:_0x219040,..._0x42f567}=_0x174c72;return{..._0x314790,'parent':_0x42f567};})[_0x95f97e(0xa8)](_0x44c295=>this[_0x95f97e(0xc1)](_0x44c295))};}return _0x31987d;})[_0x905da6(0xa8)](_0xe47e35=>_0x905da6(0x83)in _0xe47e35?_0xe47e35[_0x905da6(0x83)][_0x905da6(0x119)]>0x0:this[_0x905da6(0xc1)](_0xe47e35));}[_0x3417dd(0xc1)](_0x356fd5){const _0x4d92c6=_0x3417dd,_0x23c108=this[_0x4d92c6(0xf0)][_0x4d92c6(0xaa)][_0x4d92c6(0xdb)](_0x4d92c6(0xd2))||[];return this[_0x4d92c6(0xf0)][_0x4d92c6(0xed)][_0x4d92c6(0xb0)](AIQuickActionTypeToPluginName[_0x356fd5[_0x4d92c6(0xd9)]])&&!_0x23c108[_0x4d92c6(0x10e)](_0x356fd5['id'])&&!(_0x356fd5[_0x4d92c6(0xd9)]===AIQuickActionType[_0x4d92c6(0x9c)]&&!0x1===this[_0x4d92c6(0xf0)][_0x4d92c6(0xaa)][_0x4d92c6(0xdb)](_0x4d92c6(0xfd)));}[_0x3417dd(0x115)](_0x6a0c0c){const _0xac7795=_0x3417dd;this[_0xac7795(0x10c)][_0xac7795(0xcb)](_0x321e40=>{const _0x55872e=_0xac7795;if(_0x55872e(0x83)in _0x321e40){const _0x2eda77=_0x5a8ece({'editor':this[_0x55872e(0xf0)],'content':_0x321e40[_0x55872e(0x83)],'buttonDefinition':_0x321e40,'bodyCollection':_0x6a0c0c});this[_0x55872e(0xf0)]['ui'][_0x55872e(0xeb)][_0x55872e(0xbf)](_0x321e40['id'],_0x2eda77),_0x321e40[_0x55872e(0x83)][_0x55872e(0xcb)](_0x1d25f1=>{const _0x1461f0=_0x55872e,_0x543ce8=_0x156fdb({'editor':this[_0x1461f0(0xf0)],'action':_0x1d25f1});this[_0x1461f0(0xf0)]['ui'][_0x1461f0(0xeb)][_0x1461f0(0xbf)](_0x1d25f1['id'],_0x543ce8);});}else{const _0x2f2d6c=_0x156fdb({'editor':this[_0x55872e(0xf0)],'action':_0x321e40,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x55872e(0xf0)]['ui'][_0x55872e(0xeb)][_0x55872e(0xbf)](_0x321e40['id'],_0x2f2d6c);}});}[_0x3417dd(0xab)](){const _0x554244=_0x3417dd;this[_0x554244(0xf0)]['ui'][_0x554244(0xeb)][_0x554244(0xbf)](_0x554244(0x8f),_0x19ce1a=>{const _0x564201=_0x554244,_0x16d01b=new _0x2c5128(_0x19ce1a),_0x17cde0=_0x351381(_0x19ce1a,_0x564201(0x9d));_0x16d01b[_0x564201(0x112)][_0x564201(0x101)]({'label':_0x17cde0,'icon':_0x9859ba});const _0x2c440a=new _0x1730f0(_0x19ce1a);_0x2c440a[_0x564201(0x101)]({'ariaLabel':_0x17cde0,'role':_0x564201(0x82)}),this[_0x564201(0x10c)][_0x564201(0xcb)](_0x2770bb=>{const _0x350119=_0x564201;if(_0x350119(0x83)in _0x2770bb){const _0x59fe6c=_0x2770bb,_0x3424da=new _0x322a42(_0x19ce1a,_0x16d01b),_0x60b5fa=new _0x2c5128(_0x19ce1a),_0x31d4df=new _0x1730f0(_0x19ce1a);_0x60b5fa[_0x350119(0x112)][_0x350119(0x101)]({'label':_0x59fe6c[_0x350119(0xcc)],'icon':_0x59fe6c[_0x350119(0x117)]}),_0x59fe6c[_0x350119(0x83)][_0x350119(0xcb)](_0x21da6c=>{const _0x214db3=_0x350119,_0xf8e071=new _0x322a42(_0x19ce1a,_0x60b5fa),_0x14e8b4=new _0x5e787a(_0x19ce1a);_0x14e8b4[_0x214db3(0x101)]({'label':_0x21da6c[_0x214db3(0x96)],'icon':_0x21da6c[_0x214db3(0x117)],'role':_0x214db3(0xe9),'isEnabled':_0x21da6c[_0x214db3(0x107)]}),_0x14e8b4['on'](_0x214db3(0x98),()=>{const _0xfb62aa=_0x214db3;this[_0xfb62aa(0x116)](_0x21da6c);}),_0x14e8b4[_0x214db3(0xd3)](_0x214db3(0x98))['to'](_0x60b5fa),_0xf8e071[_0x214db3(0x8a)][_0x214db3(0xbf)](_0x14e8b4),_0x31d4df[_0x214db3(0x9a)][_0x214db3(0xbf)](_0xf8e071);}),_0x60b5fa[_0x350119(0xf4)][_0x350119(0x8a)][_0x350119(0xbf)](_0x31d4df),_0x3424da[_0x350119(0x8a)][_0x350119(0xbf)](_0x60b5fa),_0x2c440a[_0x350119(0x9a)][_0x350119(0xbf)](_0x3424da);}else{const _0x89cc66=_0x2770bb,_0x22ba64=new _0x322a42(_0x19ce1a,_0x16d01b),_0x513207=new _0x5e787a(_0x19ce1a);_0x513207[_0x350119(0x101)]({'label':_0x89cc66[_0x350119(0x96)],'icon':_0x89cc66[_0x350119(0x117)],'role':_0x350119(0xe9),'isEnabled':_0x89cc66[_0x350119(0x107)]}),_0x513207['on'](_0x350119(0x98),()=>{const _0x545383=_0x350119;this[_0x545383(0x116)](_0x89cc66);}),_0x513207[_0x350119(0xd3)](_0x350119(0x98))['to'](_0x16d01b),_0x22ba64[_0x350119(0x8a)][_0x350119(0xbf)](_0x513207),_0x2c440a[_0x350119(0x9a)][_0x350119(0xbf)](_0x22ba64);}});const _0x21c278=Object[_0x564201(0x102)](AIQuickActionTypeToPluginName)[_0x564201(0x84)](_0x401191=>this[_0x564201(0xf0)][_0x564201(0xed)][_0x564201(0xb0)](_0x401191));return _0x16d01b[_0x564201(0x101)]({'isEnabled':_0x21c278}),_0x16d01b[_0x564201(0xf4)][_0x564201(0x8a)][_0x564201(0xbf)](_0x2c440a),_0x16d01b;});}[_0x3417dd(0x116)](_0x161b72){const _0x4070b0=_0x3417dd,_0x23a871=this[_0x4070b0(0xf0)];_0x23a871[_0x4070b0(0xfc)][_0x4070b0(0xd1)][_0x4070b0(0xfb)](),_0x23a871[_0x4070b0(0x92)][_0x4070b0(0x98)](_0x4070b0(0x88),_0x161b72);const _0x33da68=_0x23a871['ui'][_0x4070b0(0xd1)][_0x4070b0(0xc4)];_0x33da68&&_0x33da68[_0x4070b0(0xdd)]&&_0x33da68[_0x4070b0(0xdd)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x40c61f,_0x441738){const _0x4f7e8e=_0x1065,_0x70c8c7=_0x40c61f();while(!![]){try{const _0x8f7f70=-parseInt(_0x4f7e8e(0xbd))/0x1+-parseInt(_0x4f7e8e(0xc6))/0x2+parseInt(_0x4f7e8e(0xc4))/0x3+parseInt(_0x4f7e8e(0xcf))/0x4+parseInt(_0x4f7e8e(0xc2))/0x5+parseInt(_0x4f7e8e(0xd3))/0x6*(parseInt(_0x4f7e8e(0xc7))/0x7)+-parseInt(_0x4f7e8e(0xd2))/0x8;if(_0x8f7f70===_0x441738)break;else _0x70c8c7['push'](_0x70c8c7['shift']());}catch(_0x441f1e){_0x70c8c7['push'](_0x70c8c7['shift']());}}}(_0x3ad0,0x4633e));import{ButtonView as _0x56f12f}from'ckeditor5/src/ui.js';function _0x1065(_0xc0085,_0x57ab64){const _0x3ad0e8=_0x3ad0();return _0x1065=function(_0x1065ef,_0x97e7fc){_0x1065ef=_0x1065ef-0xbd;let _0x303e12=_0x3ad0e8[_0x1065ef];return _0x303e12;},_0x1065(_0xc0085,_0x57ab64);}import{IconAIQuickActions as _0x267be2}from'@ckeditor/ckeditor5-icons';function _0x3ad0(){const _0x265b23=['execute','702396IHZMSp','icon','648656evzEMA','290136iLMKzI','view','focus','extendTemplate','menuitem','bindTemplate','set','locale','1107956fKnYpn','commands','displayedPrompt','5488656MGYCTR','42apBCsk','isEnabled','74157POctqD','ck-ai-quick-actions-button','aiQuickAction','parent','editing','2854300XDLsJN'];_0x3ad0=function(){return _0x265b23;};return _0x3ad0();}export function aiQuickActionsButtonCreator(_0x2ccbc8){const {editor:_0x4290cf,action:_0x2016cc,withText:_0x266dd9=!0x1,withIcon:_0x4f9784=!0x0,isInDropdown:_0xda50a0=!0x0,shouldPreventFocus:_0x20aebc=!0x1}=_0x2ccbc8;return()=>{const _0x2f696b=_0x1065,_0x7a6d54=_0x4290cf[_0x2f696b(0xce)],_0x2115f6=new _0x56f12f(_0x7a6d54),_0x4d5c43=_0x2115f6[_0x2f696b(0xcc)];_0xda50a0&&_0x2115f6[_0x2f696b(0xca)]({'on':{'mouseenter':_0x4d5c43['to'](()=>{const _0xd21766=_0x2f696b;_0x20aebc&&_0x20aebc()||_0x2115f6[_0xd21766(0xc9)]();})}});const _0x205423=_0x2016cc[_0x2f696b(0xc5)]??_0x2016cc[_0x2f696b(0xc0)]?.[_0x2f696b(0xc5)];return _0x2115f6[_0x2f696b(0xcd)]({'label':_0x2016cc[_0x2f696b(0xd1)],'withText':_0x266dd9,'role':_0x2f696b(0xcb),'icon':_0x4f9784?_0x205423??_0x267be2:void 0x0,'tooltip':!_0x266dd9,'class':_0x2f696b(0xbe),'isEnabled':_0x2016cc[_0x2f696b(0xd4)]}),_0x2115f6['on'](_0x2f696b(0xc3),()=>{const _0x4576e3=_0x2f696b;_0x4290cf[_0x4576e3(0xc1)][_0x4576e3(0xc8)][_0x4576e3(0xc9)](),_0x4290cf[_0x4576e3(0xd0)][_0x4576e3(0xc3)](_0x4576e3(0xbf),_0x2016cc);}),_0x2115f6;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x537d(_0x37084e,_0x43d6e8){const _0x1cac3c=_0x1cac();return _0x537d=function(_0x537d71,_0x40a84f){_0x537d71=_0x537d71-0x1c0;let _0x571a40=_0x1cac3c[_0x537d71];return _0x571a40;},_0x537d(_0x37084e,_0x43d6e8);}const _0x1aa76c=_0x537d;(function(_0x498ada,_0xec757f){const _0x36a312=_0x537d,_0x558367=_0x498ada();while(!![]){try{const _0x27d07b=-parseInt(_0x36a312(0x1ed))/0x1+-parseInt(_0x36a312(0x1e1))/0x2+-parseInt(_0x36a312(0x216))/0x3+parseInt(_0x36a312(0x208))/0x4+-parseInt(_0x36a312(0x241))/0x5+-parseInt(_0x36a312(0x1c1))/0x6*(parseInt(_0x36a312(0x218))/0x7)+-parseInt(_0x36a312(0x211))/0x8*(-parseInt(_0x36a312(0x201))/0x9);if(_0x27d07b===_0xec757f)break;else _0x558367['push'](_0x558367['shift']());}catch(_0x13ea65){_0x558367['push'](_0x558367['shift']());}}}(_0x1cac,0x2be60));function _0x1cac(){const _0x4ca4f9=['1437428xIbbrV','text','isEnabled','_createActionGroupButton','_createSearchTextView','_createGroupActionsList','ck-ai-quick-actions-search-result__action-row','isOn','ArrowRight','2504MmpdmX','_getButtonKeystroke','delete','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','detachFromDom','142515XrkYXY','forEach','315NbqQtL','show','ck-ai-quick-actions','rtl','extendTemplate','_setupActionButtonExecution','AI_QUICK_ACTIONS_SEARCH','ownerDocument','get','element','commands','contains','content','mouseleave','focusCycler','label','set','_focusables','_handlePanelKeydown','reset','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','ck-reset_all','isVisible','resetSearch','_createSearchResultActionButton','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','div','.ck-ai-quick-actions-group-list','items','key','_createSearchResultGroupedActionButton','locale','_createActionButton','ck-ai-quick-actions-group-list','_isSearchFocused','push','ck-ai-quick-actions-search-result__content','activeElement','clear','ck-ai-quick-actions-button','menu','629330ONpcwg','_showNestedPanel','destroy','uiLanguageDirection','hide','ck-dropdown-menu__nested-menu__panel','focusTracker','8202wickcA','_createSearchResultIndividualActionButton','eastSouth','children','_createSearchResultActionRow','ck-button_with-text','_hasSearch','ck-ai-quick-actions-button__group-icon','pin','some','chain','actions','ck-button','ck-ai-quick-actions-button_with-group__close-paren','optionsListView','displayedPrompt','add','icon','_createListItems','editing','.ck-ai-quick-actions-group-panel','parent','queryView','relatedTarget','fire','_setupGroupMenuBehavior','ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','_createSearchResultGroupRow','ck-ai-quick-actions-button_with-group__open-paren','_getPanelKeystroke','_openNestedPanels','399942vULWUM','_hideAllNestedPanels','_bodyCollection','first','menuitem','_allSearchableItems','_handleSearchResultButtonClick','fieldView','ck-ai-quick-actions-search-result-button','ck-ai-quick-actions-group-panel','_isMovingToNestedMenu','ck-rounded-corners','262394lCahCI','ck-ai-quick-actions-search-result__group-row','ArrowLeft','ck-ai-quick-actions-group-button','ck-ai-quick-actions-button_with-group','_searchTextView','bind','_hideNestedPanel','.ck-ai-quick-actions-group-button','focus','view','bindTemplate','aiQuickAction','closest','_createSearchResultContentView','addMany','setTemplate','render','ck-dropdown-menu-list','ck-ai-quick-actions-search','14886UwUSMO','keystrokes','role','span','button','execute','addEventListener'];_0x1cac=function(){return _0x4ca4f9;};return _0x1cac();}import{View as _0x8428ba,ListItemView as _0x57b5bc,ListView as _0x3a1048,BalloonPanelView as _0x36a11d,DropdownMenuPanelPositioningFunctions as _0x24a958,ViewCollection as _0x542ad4,FocusCycler as _0x3dec3e,ButtonView as _0x5e2bb6,IconView as _0x506e5e,HighlightedTextView as _0x54f1dd,ButtonLabelWithHighlightView as _0x3754c4,SearchTextView as _0x41d7c1}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x21cd85}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x45fc1c,KeystrokeHandler as _0x23465e}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x33a302}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x43d63b}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x4ecd50}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x116c84}from'./aiquickactionsfilteredlistview.js';const Ls=_0x1aa76c(0x240),Qs=_0x1aa76c(0x1e5);export class AIQuickActionsDropdownContentView extends _0x8428ba{[_0x1aa76c(0x1e3)];[_0x1aa76c(0x1cf)];[_0x1aa76c(0x1f2)]=null;[_0x1aa76c(0x1e6)]=[];[_0x1aa76c(0x1c4)];[_0x1aa76c(0x1c0)];[_0x1aa76c(0x202)];[_0x1aa76c(0x229)];[_0x1aa76c(0x226)];[_0x1aa76c(0x1e0)]=new Set();[_0x1aa76c(0x1c7)];constructor(_0x3e38cb,_0x409aed,_0x15ae32,_0x31f56a,_0x10acf8=!0x1){const _0x2f4fba=_0x1aa76c,_0x4f1bcb=_0x3e38cb[_0x2f4fba(0x237)];super(_0x4f1bcb),this[_0x2f4fba(0x1e3)]=_0x31f56a,this[_0x2f4fba(0x1c7)]=_0x10acf8;const _0x5377e6=this[_0x2f4fba(0x1d3)](_0x3e38cb,_0x409aed,_0x15ae32);this[_0x2f4fba(0x1cf)]=new _0x116c84(_0x4f1bcb,_0x5377e6,this[_0x2f4fba(0x1e6)]),this[_0x2f4fba(0x1cf)][_0x2f4fba(0x203)]=Ls,this[_0x2f4fba(0x1cf)][_0x2f4fba(0x234)][_0x2f4fba(0x1fc)](_0x5377e6),this[_0x2f4fba(0x1c0)]=new _0x45fc1c(),this[_0x2f4fba(0x202)]=new _0x23465e(),_0x10acf8&&(this[_0x2f4fba(0x1f2)]=this[_0x2f4fba(0x20c)]()),this[_0x2f4fba(0x229)]=_0x5377e6,this[_0x2f4fba(0x226)]=new _0x3dec3e({'focusables':this[_0x2f4fba(0x229)],'focusTracker':this[_0x2f4fba(0x1c0)],'keystrokeHandler':this[_0x2f4fba(0x202)]}),_0x10acf8&&this[_0x2f4fba(0x1f2)]&&this[_0x2f4fba(0x226)][_0x2f4fba(0x1cb)](this[_0x2f4fba(0x1f2)][_0x2f4fba(0x226)]);const _0x849cfe=_0x10acf8&&this[_0x2f4fba(0x1f2)]?[this[_0x2f4fba(0x1f2)]]:[this[_0x2f4fba(0x1cf)]];this[_0x2f4fba(0x1c4)]=new _0x542ad4(_0x849cfe),this[_0x2f4fba(0x1fd)]({'tag':_0x2f4fba(0x232),'attributes':{'class':['ck',_0x2f4fba(0x22d),_0x2f4fba(0x21a),_0x2f4fba(0x1ec)],'dir':_0x4f1bcb[_0x2f4fba(0x244)]},'children':this[_0x2f4fba(0x1c4)]});}[_0x1aa76c(0x20c)](){const _0x35cff1=_0x1aa76c;return new _0x41d7c1(this[_0x35cff1(0x237)],{'filteredView':this[_0x35cff1(0x1cf)],'queryView':{'label':_0x4ecd50(this[_0x35cff1(0x237)],_0x35cff1(0x21e))},'class':_0x35cff1(0x200),'infoView':{'text':{'notFound':{'primary':_0x4ecd50(this[_0x35cff1(0x237)],_0x35cff1(0x231))}}}});}[_0x1aa76c(0x23a)](){const _0x1d48f2=_0x1aa76c;if(!this[_0x1d48f2(0x1c7)]||!this[_0x1d48f2(0x1f2)]||!this[_0x1d48f2(0x1f2)][_0x1d48f2(0x1d7)][_0x1d48f2(0x1e8)][_0x1d48f2(0x221)])return!0x1;const _0x3c7ec9=this[_0x1d48f2(0x1f2)][_0x1d48f2(0x1d7)][_0x1d48f2(0x1e8)][_0x1d48f2(0x221)][_0x1d48f2(0x21f)]?.[_0x1d48f2(0x23d)];return this[_0x1d48f2(0x1f2)][_0x1d48f2(0x1d7)][_0x1d48f2(0x1e8)][_0x1d48f2(0x221)][_0x1d48f2(0x223)](_0x3c7ec9);}[_0x1aa76c(0x1d3)](_0x13f975,_0x21e8a5,_0x38695d){const _0x4a69de=_0x1aa76c,_0x4e5c34=new _0x542ad4();return _0x21e8a5[_0x4a69de(0x217)](_0x630011=>{const _0x54062d=_0x4a69de;if(_0x54062d(0x1cc)in _0x630011){const {listItem:_0x4ba034}=this[_0x54062d(0x20b)](_0x13f975,_0x630011,_0x38695d);_0x4e5c34[_0x54062d(0x1d1)](_0x4ba034),_0x630011[_0x54062d(0x1cc)][_0x54062d(0x217)](_0x45be57=>{const _0x5bc1df=_0x54062d;this[_0x5bc1df(0x238)](_0x13f975,_0x45be57,_0x630011[_0x5bc1df(0x227)],_0x630011[_0x5bc1df(0x1d2)]);const {listItem:_0x18f8b3,highlightViews:_0x3523cc}=this[_0x5bc1df(0x230)](_0x13f975,_0x45be57,_0x630011[_0x5bc1df(0x227)],_0x630011[_0x5bc1df(0x1d2)]);this[_0x5bc1df(0x1e6)][_0x5bc1df(0x23b)]({'item':_0x18f8b3,'label':_0x45be57[_0x5bc1df(0x1d0)],'groupLabel':_0x630011[_0x5bc1df(0x227)],'highlightViews':_0x3523cc});});}else{const {listItem:_0x5c6f1c}=this[_0x54062d(0x238)](_0x13f975,_0x630011);_0x4e5c34[_0x54062d(0x1d1)](_0x5c6f1c);const _0x130ef=_0x5c6f1c[_0x54062d(0x1c4)][_0x54062d(0x1e4)];if(_0x130ef){const {listItem:_0x44ad5b,highlightViews:_0x4eae8a}=this[_0x54062d(0x230)](_0x13f975,_0x630011);this[_0x54062d(0x1e6)][_0x54062d(0x23b)]({'item':_0x44ad5b,'label':_0x130ef[_0x54062d(0x227)]||'','highlightViews':_0x4eae8a});}}}),_0x4e5c34;}[_0x1aa76c(0x238)](_0x5c67c6,_0x9839e8,_0x1e3846,_0x2142a3){const _0x15fa60=_0x1aa76c,_0x3bc259=new _0x57b5bc(this[_0x15fa60(0x237)]);if(_0x1e3846&&_0x2142a3){const _0x3832d2=new _0x5e2bb6(this[_0x15fa60(0x237)]),_0x426c62=_0x3832d2[_0x15fa60(0x1f8)],_0x170532=new _0x54f1dd();_0x170532[_0x15fa60(0x209)]=_0x9839e8[_0x15fa60(0x1d0)];const _0x2ed934=new _0x54f1dd();_0x2ed934[_0x15fa60(0x209)]=_0x1e3846;const _0xd3b81b=new _0x506e5e();_0xd3b81b[_0x15fa60(0x224)]=_0x2142a3,_0xd3b81b[_0x15fa60(0x21c)]({'attributes':{'class':_0x15fa60(0x1c8)}});const _0x384cba=new _0x8428ba(this[_0x15fa60(0x237)]);_0x384cba[_0x15fa60(0x1fd)]({'tag':_0x15fa60(0x204),'attributes':{'class':_0x15fa60(0x1de)},'children':[{'text':'\x20('}]});const _0x5f1e10=new _0x8428ba(this[_0x15fa60(0x237)]);return _0x5f1e10[_0x15fa60(0x1fd)]({'tag':_0x15fa60(0x204),'attributes':{'class':_0x15fa60(0x1ce)},'children':[{'text':')'}]}),_0x3832d2[_0x15fa60(0x228)]({'label':_0x9839e8[_0x15fa60(0x1d0)]+'\x20('+_0x1e3846+')','withText':!0x0,'role':_0x15fa60(0x1e5),'class':_0x15fa60(0x214),'tooltip':!0x1}),_0x3832d2[_0x15fa60(0x1fd)]({'tag':_0x15fa60(0x205),'attributes':{'class':['ck',_0x15fa60(0x1cd),_0x15fa60(0x1c6),_0x15fa60(0x23f),_0x15fa60(0x1f1)],'type':_0x15fa60(0x205),'role':_0x15fa60(0x1e5),'tabindex':'-1'},'children':[_0x170532,_0x384cba,_0xd3b81b,_0x2ed934,_0x5f1e10],'on':{'mouseenter':_0x426c62['to'](()=>{const _0x2617a4=_0x15fa60;this[_0x2617a4(0x23a)]()||_0x3832d2[_0x2617a4(0x1f6)]();}),'click':_0x426c62['to'](()=>{const _0x175672=_0x15fa60;_0x3832d2[_0x175672(0x1d9)](_0x175672(0x206));})}}),_0x3832d2['on'](_0x15fa60(0x206),()=>{const _0x434ef2=_0x15fa60;_0x5c67c6[_0x434ef2(0x1d4)][_0x434ef2(0x1f7)][_0x434ef2(0x1f6)](),_0x5c67c6[_0x434ef2(0x222)][_0x434ef2(0x206)](_0x434ef2(0x1f9),_0x9839e8);}),_0x3bc259[_0x15fa60(0x1c4)][_0x15fa60(0x1d1)](_0x3832d2),{'listItem':_0x3bc259,'highlightViews':[_0x170532,_0x2ed934]};}{const _0x2a3c7c=new _0x3754c4(),_0x5e4dc0=new _0x5e2bb6(this[_0x15fa60(0x237)],_0x2a3c7c),_0x4c8a62=_0x5e4dc0[_0x15fa60(0x1f8)],_0x28992f=_0x9839e8[_0x15fa60(0x1d2)]??_0x9839e8[_0x15fa60(0x1d6)]?.[_0x15fa60(0x1d2)],_0x448d03=void 0x0!==_0x9839e8[_0x15fa60(0x1d2)];return _0x5e4dc0[_0x15fa60(0x228)]({'label':_0x9839e8[_0x15fa60(0x1d0)],'withText':!0x0,'role':_0x15fa60(0x1e5),'icon':_0x448d03?_0x28992f??_0x21cd85:void 0x0,'tooltip':!0x1,'class':_0x15fa60(0x23f)}),_0x5e4dc0[_0x15fa60(0x21c)]({'on':{'mouseenter':_0x4c8a62['to'](()=>{const _0x3411b0=_0x15fa60;this[_0x3411b0(0x23a)]()||_0x5e4dc0[_0x3411b0(0x1f6)]();})}}),_0x5e4dc0['on'](_0x15fa60(0x206),()=>{const _0x4f9485=_0x15fa60;_0x5c67c6[_0x4f9485(0x1d4)][_0x4f9485(0x1f7)][_0x4f9485(0x1f6)](),_0x5c67c6[_0x4f9485(0x222)][_0x4f9485(0x206)](_0x4f9485(0x1f9),_0x9839e8);}),_0x3bc259[_0x15fa60(0x1c4)][_0x15fa60(0x1d1)](_0x5e4dc0),{'listItem':_0x3bc259,'highlightViews':[_0x2a3c7c]};}}[_0x1aa76c(0x230)](_0x968730,_0x2bb76a,_0x3cf831,_0x40f241){const _0xe29f8e=_0x1aa76c;return _0x3cf831&&_0x40f241?this[_0xe29f8e(0x236)](_0x968730,_0x2bb76a,_0x3cf831,_0x40f241):this[_0xe29f8e(0x1c2)](_0x968730,_0x2bb76a);}[_0x1aa76c(0x236)](_0x541b88,_0x33307c,_0x4decb9,_0x258e1e){const _0x222222=_0x1aa76c,_0x2bd4fa=new _0x57b5bc(this[_0x222222(0x237)]),_0x1ca797=new _0x5e2bb6(this[_0x222222(0x237)]),_0x591ebc=_0x1ca797[_0x222222(0x1f8)],{view:_0x295c13,highlightView:_0x2e8f71}=this[_0x222222(0x1dd)](_0x4decb9,_0x258e1e),{view:_0x33baa2,highlightView:_0x3ec51c}=this[_0x222222(0x1c5)](_0x33307c[_0x222222(0x1d0)]),_0x4377a2=this[_0x222222(0x1fb)](_0x295c13,_0x33baa2);return _0x1ca797[_0x222222(0x228)]({'label':_0x33307c[_0x222222(0x1d0)],'withText':!0x0,'role':_0x222222(0x1e5),'class':_0x222222(0x22c),'tooltip':!0x1}),_0x1ca797[_0x222222(0x1fd)]({'tag':_0x222222(0x205),'attributes':{'class':['ck',_0x222222(0x1cd),_0x222222(0x1c6),_0x222222(0x23f),_0x222222(0x1e9),_0x222222(0x1db)],'type':_0x222222(0x205),'role':_0x222222(0x1e5),'tabindex':'-1'},'children':[_0x4377a2],'on':{'mouseenter':_0x591ebc['to'](()=>{const _0x18cc41=_0x222222;this[_0x18cc41(0x23a)]()||_0x1ca797[_0x18cc41(0x1f6)]();}),'click':_0x591ebc['to'](()=>{const _0x49c3b4=_0x222222;this[_0x49c3b4(0x1e7)](_0x1ca797);})}}),this[_0x222222(0x21d)](_0x1ca797,_0x541b88,_0x33307c),_0x2bd4fa[_0x222222(0x1c4)][_0x222222(0x1d1)](_0x1ca797),{'listItem':_0x2bd4fa,'highlightViews':[_0x2e8f71,_0x3ec51c]};}[_0x1aa76c(0x1c2)](_0xf6570d,_0x592ed3){const _0x274ecb=_0x1aa76c,_0x3fa58e=new _0x57b5bc(this[_0x274ecb(0x237)]),_0x5818f6=new _0x3754c4(),_0x1b1ae5=new _0x5e2bb6(this[_0x274ecb(0x237)],_0x5818f6),_0x29b651=_0x1b1ae5[_0x274ecb(0x1f8)];return _0x1b1ae5[_0x274ecb(0x228)]({'label':_0x592ed3[_0x274ecb(0x1d0)],'withText':!0x0,'role':_0x274ecb(0x1e5),'icon':void 0x0,'tooltip':!0x1,'class':_0x274ecb(0x1dc)}),_0x1b1ae5[_0x274ecb(0x21c)]({'on':{'mouseenter':_0x29b651['to'](()=>{const _0x2bce47=_0x274ecb;this[_0x2bce47(0x23a)]()||_0x1b1ae5[_0x2bce47(0x1f6)]();})}}),this[_0x274ecb(0x21d)](_0x1b1ae5,_0xf6570d,_0x592ed3),_0x3fa58e[_0x274ecb(0x1c4)][_0x274ecb(0x1d1)](_0x1b1ae5),{'listItem':_0x3fa58e,'highlightViews':[_0x5818f6]};}[_0x1aa76c(0x1dd)](_0x4daa60,_0x2df0ba){const _0x4eeaf2=_0x1aa76c,_0x9eadae=new _0x8428ba(this[_0x4eeaf2(0x237)]),_0x318b12=new _0x506e5e();_0x318b12[_0x4eeaf2(0x224)]=_0x2df0ba,_0x318b12[_0x4eeaf2(0x21c)]({'attributes':{'class':_0x4eeaf2(0x1c8)}});const _0x1b15e2=new _0x54f1dd();return _0x1b15e2[_0x4eeaf2(0x209)]=_0x4daa60,_0x9eadae[_0x4eeaf2(0x1fd)]({'tag':_0x4eeaf2(0x232),'attributes':{'class':_0x4eeaf2(0x1ee)},'children':[_0x318b12,_0x1b15e2]}),{'view':_0x9eadae,'highlightView':_0x1b15e2};}[_0x1aa76c(0x1c5)](_0x1e1634){const _0x571fbf=_0x1aa76c,_0x2ab69f=new _0x8428ba(this[_0x571fbf(0x237)]),_0x37b084=new _0x54f1dd();return _0x37b084[_0x571fbf(0x209)]=_0x1e1634,_0x2ab69f[_0x571fbf(0x1fd)]({'tag':_0x571fbf(0x232),'attributes':{'class':_0x571fbf(0x20e)},'children':[_0x37b084]}),{'view':_0x2ab69f,'highlightView':_0x37b084};}[_0x1aa76c(0x1fb)](_0x53dd62,_0x29711d){const _0x82bea7=_0x1aa76c,_0x122e1b=new _0x8428ba(this[_0x82bea7(0x237)]);return _0x122e1b[_0x82bea7(0x1fd)]({'tag':_0x82bea7(0x232),'attributes':{'class':_0x82bea7(0x23c)},'children':[_0x53dd62,_0x29711d]}),_0x122e1b;}[_0x1aa76c(0x21d)](_0x3068d7,_0x3eb132,_0x3cb725){const _0x57e2e2=_0x1aa76c;_0x3068d7['on'](_0x57e2e2(0x206),()=>{const _0x55375e=_0x57e2e2;_0x3eb132[_0x55375e(0x1d4)][_0x55375e(0x1f7)][_0x55375e(0x1f6)](),_0x3eb132[_0x55375e(0x222)][_0x55375e(0x206)](_0x55375e(0x1f9),_0x3cb725);});}[_0x1aa76c(0x20b)](_0x9af7b0,_0x14fe01,_0x16c61c){const _0x1ceddf=_0x1aa76c,_0x8073e2=new _0x57b5bc(this[_0x1ceddf(0x237)]),_0x48a024=new _0x3754c4(),_0x4e1feb=new _0x43d63b(this[_0x1ceddf(0x237)],_0x48a024),_0x3f84ae=_0x4e1feb[_0x1ceddf(0x1f8)],_0x308f0a=this[_0x1ceddf(0x1df)](_0x16c61c),_0x3ab7eb=this[_0x1ceddf(0x20d)](_0x9af7b0,_0x14fe01[_0x1ceddf(0x1cc)],_0x16c61c);_0x4e1feb[_0x1ceddf(0x228)]({'label':_0x14fe01[_0x1ceddf(0x227)],'withText':!0x0,'role':Qs,'icon':_0x14fe01[_0x1ceddf(0x1d2)]??_0x21cd85,'isEnabled':_0x14fe01[_0x1ceddf(0x1cc)][_0x1ceddf(0x1ca)](_0x5d74be=>_0x5d74be[_0x1ceddf(0x20a)])}),_0x4e1feb[_0x1ceddf(0x21c)]({'on':{'mouseenter':_0x3f84ae['to'](()=>{const _0x1ea53d=_0x1ceddf;this[_0x1ea53d(0x23a)]()||_0x4e1feb[_0x1ea53d(0x1f6)]();})}});const _0x2cadaf=new _0x36a11d(this[_0x1ceddf(0x237)]);return _0x2cadaf[_0x1ceddf(0x21c)]({'attributes':{'class':['ck',_0x1ceddf(0x22d),_0x1ceddf(0x1ea),_0x1ceddf(0x246)]},'on':{'keydown':_0x3f84ae['to'](_0x22542b=>{const _0x4a1b24=_0x1ceddf;this[_0x4a1b24(0x22a)](_0x22542b,_0x308f0a,_0x4e1feb,_0x2cadaf);})}}),_0x4e1feb[_0x1ceddf(0x1f3)](_0x1ceddf(0x20f))['to'](_0x2cadaf,_0x1ceddf(0x22e)),this[_0x1ceddf(0x1e3)][_0x1ceddf(0x1d1)](_0x2cadaf),_0x2cadaf[_0x1ceddf(0x224)][_0x1ceddf(0x1d1)](_0x3ab7eb),this[_0x1ceddf(0x1da)](_0x4e1feb,_0x2cadaf),_0x8073e2[_0x1ceddf(0x1c4)][_0x1ceddf(0x1d1)](_0x4e1feb),{'listItem':_0x8073e2,'highlightView':_0x48a024};}[_0x1aa76c(0x20d)](_0x6acdb3,_0x5244b4,_0x452b48){const _0x5abe53=_0x1aa76c,_0x186e1c=new _0x3a1048(this[_0x5abe53(0x237)]);return _0x186e1c[_0x5abe53(0x21c)]({'attributes':{'class':['ck',_0x5abe53(0x22d),_0x5abe53(0x239),_0x5abe53(0x1ff)]}}),_0x5244b4[_0x5abe53(0x217)](_0x113153=>{const _0x614126=_0x5abe53,_0x312a97=new _0x57b5bc(this[_0x614126(0x237)]),_0x348fee=_0x33a302({'editor':_0x6acdb3,'action':_0x113153,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x614126(0x23a)]()})();_0x312a97[_0x614126(0x1c4)][_0x614126(0x1d1)](_0x348fee),_0x452b48[_0x614126(0x1c0)][_0x614126(0x1d1)](_0x348fee),_0x186e1c[_0x614126(0x234)][_0x614126(0x1d1)](_0x312a97);}),_0x186e1c;}[_0x1aa76c(0x1da)](_0x35007d,_0x28f24c){const _0x5ea5a2=_0x1aa76c,_0x4c384c=_0x35007d[_0x5ea5a2(0x1f8)],_0x262009=this[_0x5ea5a2(0x212)](_0x35007d);_0x35007d[_0x5ea5a2(0x21c)]({'attributes':{'class':[_0x5ea5a2(0x1f0)]},'on':{'mouseenter':_0x4c384c['to'](()=>{const _0x4aa5b6=_0x5ea5a2;this[_0x4aa5b6(0x242)](_0x28f24c,_0x35007d);}),'mouseleave':_0x4c384c['to'](_0xaf9e6a=>{const _0x54ad47=_0x5ea5a2,_0x3b44cd=_0xaf9e6a[_0x54ad47(0x1d8)];this[_0x54ad47(0x1eb)](_0x3b44cd,_0x28f24c)||this[_0x54ad47(0x1f4)](_0x28f24c);}),'keydown':_0x4c384c['to'](_0x47e5c5=>{const _0x44917c=_0x5ea5a2;_0x47e5c5[_0x44917c(0x235)]==_0x262009&&(this[_0x44917c(0x242)](_0x28f24c,_0x35007d),_0x28f24c[_0x44917c(0x224)][_0x44917c(0x220)](0x0)[_0x44917c(0x1f6)]());})}}),_0x28f24c['on'](_0x5ea5a2(0x1fe),()=>{const _0x34e878=_0x5ea5a2;_0x28f24c[_0x34e878(0x221)]?.[_0x34e878(0x207)](_0x34e878(0x225),_0x56417c=>{const _0x3828be=_0x34e878,_0x2e24e3=_0x56417c[_0x3828be(0x1d8)];_0x35007d[_0x3828be(0x221)]?.[_0x3828be(0x223)](_0x2e24e3)||this[_0x3828be(0x1eb)](_0x2e24e3,_0x28f24c)||this[_0x3828be(0x1f4)](_0x28f24c);});});}[_0x1aa76c(0x242)](_0x3e2041,_0x2326b6){const _0x22401b=_0x1aa76c;this[_0x22401b(0x1e0)][_0x22401b(0x217)](_0x1d0ace=>{const _0x52ce92=_0x22401b;_0x1d0ace!==_0x3e2041&&_0x1d0ace[_0x52ce92(0x22e)]&&_0x1d0ace[_0x52ce92(0x245)]();}),_0x3e2041[_0x22401b(0x219)](),_0x3e2041[_0x22401b(0x1c9)]({'positions':[_0x24a958[_0x22401b(0x1c3)]],'target':_0x2326b6[_0x22401b(0x221)],'fitInViewport':!0x0}),this[_0x22401b(0x1e0)][_0x22401b(0x1d1)](_0x3e2041);}[_0x1aa76c(0x1f4)](_0x226c72){const _0x5d0e92=_0x1aa76c;_0x226c72[_0x5d0e92(0x245)](),this[_0x5d0e92(0x1e0)][_0x5d0e92(0x213)](_0x226c72);}[_0x1aa76c(0x1e2)](){const _0x150690=_0x1aa76c;this[_0x150690(0x1e0)][_0x150690(0x217)](_0x47d857=>_0x47d857[_0x150690(0x245)]()),this[_0x150690(0x1e0)][_0x150690(0x23e)]();}[_0x1aa76c(0x1eb)](_0x179dba,_0x425ea6){const _0x287c40=_0x1aa76c;if(!_0x179dba)return!0x1;if(_0x425ea6[_0x287c40(0x221)]?.[_0x287c40(0x223)](_0x179dba))return!0x0;const _0x3629ac=_0x179dba;return _0x3629ac[_0x287c40(0x1fa)]&&(null!==_0x3629ac[_0x287c40(0x1fa)](_0x287c40(0x1d5))||null!==_0x3629ac[_0x287c40(0x1fa)](_0x287c40(0x233))||null!==_0x3629ac[_0x287c40(0x1fa)](_0x287c40(0x1f5)));}[_0x1aa76c(0x22f)](){const _0x8a3137=_0x1aa76c;this[_0x8a3137(0x1f2)]&&this[_0x8a3137(0x1f2)][_0x8a3137(0x22b)]();}[_0x1aa76c(0x243)](){const _0x460936=_0x1aa76c;this[_0x460936(0x1e2)](),this[_0x460936(0x1e3)][_0x460936(0x215)](),super[_0x460936(0x243)]();}[_0x1aa76c(0x1f6)](){const _0x3a74bf=_0x1aa76c;this[_0x3a74bf(0x1f2)]?this[_0x3a74bf(0x1f2)][_0x3a74bf(0x1f6)]():this[_0x3a74bf(0x1cf)][_0x3a74bf(0x1f6)]();}[_0x1aa76c(0x1df)](_0x122766){const _0x367819=_0x1aa76c;return _0x367819(0x21b)===_0x122766[_0x367819(0x237)][_0x367819(0x244)]?_0x367819(0x210):_0x367819(0x1ef);}[_0x1aa76c(0x212)](_0x43dab6){const _0x4a9dcb=_0x1aa76c;return _0x4a9dcb(0x21b)===_0x43dab6[_0x4a9dcb(0x237)][_0x4a9dcb(0x244)]?_0x4a9dcb(0x1ef):_0x4a9dcb(0x210);}[_0x1aa76c(0x22a)](_0x2a2bba,_0x330bd6,_0x25feaa,_0x2d6f58){const _0x50e3f8=_0x1aa76c;_0x2a2bba[_0x50e3f8(0x235)]==_0x330bd6&&(_0x25feaa[_0x50e3f8(0x1f6)](),this[_0x50e3f8(0x1f4)](_0x2d6f58));}[_0x1aa76c(0x1e7)](_0x746812){const _0x3ac021=_0x1aa76c;_0x746812[_0x3ac021(0x1d9)](_0x3ac021(0x206));}}
|
|
23
|
+
const _0x299e06=_0x439a;(function(_0x337c53,_0x120092){const _0x383d00=_0x439a,_0x3750e1=_0x337c53();while(!![]){try{const _0x15b46d=-parseInt(_0x383d00(0x157))/0x1*(-parseInt(_0x383d00(0x101))/0x2)+-parseInt(_0x383d00(0x10a))/0x3*(parseInt(_0x383d00(0x16c))/0x4)+parseInt(_0x383d00(0x126))/0x5*(-parseInt(_0x383d00(0xfc))/0x6)+parseInt(_0x383d00(0x128))/0x7*(-parseInt(_0x383d00(0x127))/0x8)+parseInt(_0x383d00(0x154))/0x9*(-parseInt(_0x383d00(0x15e))/0xa)+parseInt(_0x383d00(0x163))/0xb*(-parseInt(_0x383d00(0x171))/0xc)+-parseInt(_0x383d00(0x138))/0xd*(-parseInt(_0x383d00(0x129))/0xe);if(_0x15b46d===_0x120092)break;else _0x3750e1['push'](_0x3750e1['shift']());}catch(_0x22fa72){_0x3750e1['push'](_0x3750e1['shift']());}}}(_0x2e97,0xde392));import{View as _0x20145e,ListItemView as _0x1a3510,ListView as _0x535d67,BalloonPanelView as _0x234345,DropdownMenuPanelPositioningFunctions as _0x3ea1df,ViewCollection as _0x456b15,FocusCycler as _0x2d7dd1,ButtonView as _0x2fae3e,IconView as _0x118de9,HighlightedTextView as _0x5a9875,ButtonLabelWithHighlightView as _0x672726,SearchTextView as _0x1d0c37}from'ckeditor5/src/ui.js';function _0x2e97(){const _0x538c0e=['ck-button','.ck-ai-quick-actions-group-button','rtl','10vaDvQW','_createSearchResultActionRow','icon','button','children','10869518LygucO','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','_openNestedPanels','commands','_createSearchTextView','ck-ai-quick-actions-search-result__action-row','aiQuickAction','_hasSearch','_setupActionButtonExecution','4zpERaR','ck-ai-quick-actions-button_with-group__close-paren','_getPanelKeystroke','displayedPrompt','_focusables','12sTCrgj','eastSouth','isVisible','setTemplate','ck-ai-quick-actions-button__group-icon','ck-ai-quick-actions-button','_isMovingToNestedMenu','relatedTarget','locale','first','content','ck-ai-quick-actions-group-button','ck-ai-quick-actions-group-list','ck-ai-quick-actions-search-result-button','ArrowRight','isOn','uiLanguageDirection','show','set','ck-ai-quick-actions','fieldView','ck-dropdown-menu-list','queryView','18EXRuds','_createSearchResultGroupRow','_handleSearchResultButtonClick','ck-button_with-text','get','26AhcXuQ','_createSearchResultContentView','detachFromDom','addEventListener','clear','isEnabled','ck-reset_all','chain','focusCycler','1776561bVwXVK','text','execute','span','add','div','element','ck-dropdown-menu__nested-menu__panel','some','render','ck-ai-quick-actions-button_with-group__open-paren','parent','forEach','editing','ck-ai-quick-actions-button_with-group','_createSearchResultActionButton','menu','focusTracker','keystrokes','label','_searchTextView','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','_createSearchResultIndividualActionButton','push','closest','reset','optionsListView','_handlePanelKeydown','1406695pgSBQE','96248rxPGYZ','511OGOOyZ','70BCyFwD','resetSearch','_createSearchResultGroupedActionButton','focus','ck-ai-quick-actions-search-result__content','addMany','activeElement','_createActionGroupButton','role','hide','_setupGroupMenuBehavior','mouseleave','_createListItems','AI_QUICK_ACTIONS_SEARCH','ownerDocument','12201436ZOaUQb','ck-rounded-corners','_bodyCollection','ArrowLeft','items','_createGroupActionsList','bind','bindTemplate','.ck-ai-quick-actions-group-panel','extendTemplate','_hideAllNestedPanels','_hideNestedPanel','ck-ai-quick-actions-search-result-button_with-group','fire','.ck-ai-quick-actions-group-list','_isSearchFocused','_allSearchableItems','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','destroy','_createActionButton','menuitem','pin','ck-ai-quick-actions-group-panel','ck-ai-quick-actions-search','key','_getButtonKeystroke','view','actions','12456324OGVMKQ','_showNestedPanel','contains','69539GDadCD','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','delete','ck-ai-quick-actions-search-result__group-row'];_0x2e97=function(){return _0x538c0e;};return _0x2e97();}import{IconAIQuickActions as _0xb6a722}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x5793c9,KeystrokeHandler as _0x22d95b}from'ckeditor5/src/utils.js';function _0x439a(_0x4b3d39,_0x5e8c19){const _0x2e97c8=_0x2e97();return _0x439a=function(_0x439a7a,_0x5d56ef){_0x439a7a=_0x439a7a-0xf0;let _0xc34573=_0x2e97c8[_0x439a7a];return _0xc34573;},_0x439a(_0x4b3d39,_0x5e8c19);}import{aiQuickActionsButtonCreator as _0x166192}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x5fbcb8}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x1740b0}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x2af806}from'./aiquickactionsfilteredlistview.js';const Qs=_0x299e06(0x11a),Gs=_0x299e06(0x14c);export class AIQuickActionsDropdownContentView extends _0x20145e{[_0x299e06(0x13a)];[_0x299e06(0x124)];[_0x299e06(0x11e)]=null;[_0x299e06(0x148)]=[];[_0x299e06(0x162)];[_0x299e06(0x11b)];[_0x299e06(0x11c)];[_0x299e06(0x170)];[_0x299e06(0x109)];[_0x299e06(0x165)]=new Set();[_0x299e06(0x16a)];constructor(_0x321837,_0x25f91c,_0xae593a,_0x2a9a69,_0x32b8ef=!0x1){const _0x120c7f=_0x299e06,_0x1cbb97=_0x321837[_0x120c7f(0x179)];super(_0x1cbb97),this[_0x120c7f(0x13a)]=_0x2a9a69,this[_0x120c7f(0x16a)]=_0x32b8ef;const _0x9ba252=this[_0x120c7f(0x135)](_0x321837,_0x25f91c,_0xae593a);this[_0x120c7f(0x124)]=new _0x2af806(_0x1cbb97,_0x9ba252,this[_0x120c7f(0x148)]),this[_0x120c7f(0x124)][_0x120c7f(0x131)]=Qs,this[_0x120c7f(0x124)][_0x120c7f(0x13c)][_0x120c7f(0x12e)](_0x9ba252),this[_0x120c7f(0x11b)]=new _0x5793c9(),this[_0x120c7f(0x11c)]=new _0x22d95b(),_0x32b8ef&&(this[_0x120c7f(0x11e)]=this[_0x120c7f(0x167)]()),this[_0x120c7f(0x170)]=_0x9ba252,this[_0x120c7f(0x109)]=new _0x2d7dd1({'focusables':this[_0x120c7f(0x170)],'focusTracker':this[_0x120c7f(0x11b)],'keystrokeHandler':this[_0x120c7f(0x11c)]}),_0x32b8ef&&this[_0x120c7f(0x11e)]&&this[_0x120c7f(0x109)][_0x120c7f(0x108)](this[_0x120c7f(0x11e)][_0x120c7f(0x109)]);const _0x59120b=_0x32b8ef&&this[_0x120c7f(0x11e)]?[this[_0x120c7f(0x11e)]]:[this[_0x120c7f(0x124)]];this[_0x120c7f(0x162)]=new _0x456b15(_0x59120b),this[_0x120c7f(0x174)]({'tag':_0x120c7f(0x10f),'attributes':{'class':['ck',_0x120c7f(0x107),_0x120c7f(0xf8),_0x120c7f(0x139)],'dir':_0x1cbb97[_0x120c7f(0xf5)]},'children':this[_0x120c7f(0x162)]});}[_0x299e06(0x167)](){const _0x4f0748=_0x299e06;return new _0x1d0c37(this[_0x4f0748(0x179)],{'filteredView':this[_0x4f0748(0x124)],'queryView':{'label':_0x1740b0(this[_0x4f0748(0x179)],_0x4f0748(0x136))},'class':_0x4f0748(0x14f),'infoView':{'text':{'notFound':{'primary':_0x1740b0(this[_0x4f0748(0x179)],_0x4f0748(0x158))}}}});}[_0x299e06(0x147)](){const _0x18c42e=_0x299e06;if(!this[_0x18c42e(0x16a)]||!this[_0x18c42e(0x11e)]||!this[_0x18c42e(0x11e)][_0x18c42e(0xfb)][_0x18c42e(0xf9)][_0x18c42e(0x110)])return!0x1;const _0x3c5b2c=this[_0x18c42e(0x11e)][_0x18c42e(0xfb)][_0x18c42e(0xf9)][_0x18c42e(0x110)][_0x18c42e(0x137)]?.[_0x18c42e(0x12f)];return this[_0x18c42e(0x11e)][_0x18c42e(0xfb)][_0x18c42e(0xf9)][_0x18c42e(0x110)][_0x18c42e(0x156)](_0x3c5b2c);}[_0x299e06(0x135)](_0x1eae3c,_0x5342df,_0x3bd6de){const _0x5e82f6=_0x299e06,_0x347a96=new _0x456b15();return _0x5342df[_0x5e82f6(0x116)](_0x10823d=>{const _0x37d034=_0x5e82f6;if(_0x37d034(0x153)in _0x10823d){const {listItem:_0xdf70e5}=this[_0x37d034(0x130)](_0x1eae3c,_0x10823d,_0x3bd6de);_0x347a96[_0x37d034(0x10e)](_0xdf70e5),_0x10823d[_0x37d034(0x153)][_0x37d034(0x116)](_0x29e86c=>{const _0x5e52cd=_0x37d034;this[_0x5e52cd(0x14b)](_0x1eae3c,_0x29e86c,_0x10823d[_0x5e52cd(0x11d)],_0x10823d[_0x5e52cd(0x160)]);const {listItem:_0xbe4818,highlightViews:_0x5d27b3}=this[_0x5e52cd(0x119)](_0x1eae3c,_0x29e86c,_0x10823d[_0x5e52cd(0x11d)],_0x10823d[_0x5e52cd(0x160)]);this[_0x5e52cd(0x148)][_0x5e52cd(0x121)]({'item':_0xbe4818,'label':_0x29e86c[_0x5e52cd(0x16f)],'groupLabel':_0x10823d[_0x5e52cd(0x11d)],'highlightViews':_0x5d27b3});});}else{const {listItem:_0x5bd847}=this[_0x37d034(0x14b)](_0x1eae3c,_0x10823d);_0x347a96[_0x37d034(0x10e)](_0x5bd847);const _0x4d3abe=_0x5bd847[_0x37d034(0x162)][_0x37d034(0x17a)];if(_0x4d3abe){const {listItem:_0x164357,highlightViews:_0x2521a1}=this[_0x37d034(0x119)](_0x1eae3c,_0x10823d);this[_0x37d034(0x148)][_0x37d034(0x121)]({'item':_0x164357,'label':_0x4d3abe[_0x37d034(0x11d)]||'','highlightViews':_0x2521a1});}}}),_0x347a96;}[_0x299e06(0x14b)](_0x39ffb0,_0x40170a,_0x3ec1c4,_0x4a2b91){const _0x4abd0e=_0x299e06,_0x5e8afe=new _0x1a3510(this[_0x4abd0e(0x179)]);if(_0x3ec1c4&&_0x4a2b91){const _0x5b0c38=new _0x2fae3e(this[_0x4abd0e(0x179)]),_0x2d3b75=_0x5b0c38[_0x4abd0e(0x13f)],_0x5ad8e7=new _0x5a9875();_0x5ad8e7[_0x4abd0e(0x10b)]=_0x40170a[_0x4abd0e(0x16f)];const _0x1fe64a=new _0x5a9875();_0x1fe64a[_0x4abd0e(0x10b)]=_0x3ec1c4;const _0x230ff3=new _0x118de9();_0x230ff3[_0x4abd0e(0x17b)]=_0x4a2b91,_0x230ff3[_0x4abd0e(0x141)]({'attributes':{'class':_0x4abd0e(0x175)}});const _0x5f4df3=new _0x20145e(this[_0x4abd0e(0x179)]);_0x5f4df3[_0x4abd0e(0x174)]({'tag':_0x4abd0e(0x10d),'attributes':{'class':_0x4abd0e(0x114)},'children':[{'text':'\x20('}]});const _0x200674=new _0x20145e(this[_0x4abd0e(0x179)]);return _0x200674[_0x4abd0e(0x174)]({'tag':_0x4abd0e(0x10d),'attributes':{'class':_0x4abd0e(0x16d)},'children':[{'text':')'}]}),_0x5b0c38[_0x4abd0e(0xf7)]({'label':_0x40170a[_0x4abd0e(0x16f)]+'\x20('+_0x3ec1c4+')','withText':!0x0,'role':_0x4abd0e(0x14c),'class':_0x4abd0e(0x11f),'tooltip':!0x1}),_0x5b0c38[_0x4abd0e(0x174)]({'tag':_0x4abd0e(0x161),'attributes':{'class':['ck',_0x4abd0e(0x15b),_0x4abd0e(0xff),_0x4abd0e(0x176),_0x4abd0e(0x118)],'type':_0x4abd0e(0x161),'role':_0x4abd0e(0x14c),'tabindex':'-1'},'children':[_0x5ad8e7,_0x5f4df3,_0x230ff3,_0x1fe64a,_0x200674],'on':{'mouseenter':_0x2d3b75['to'](()=>{const _0xaf9196=_0x4abd0e;this[_0xaf9196(0x147)]()||_0x5b0c38[_0xaf9196(0x12c)]();}),'click':_0x2d3b75['to'](()=>{const _0x27666f=_0x4abd0e;_0x5b0c38[_0x27666f(0x145)](_0x27666f(0x10c));})}}),_0x5b0c38['on'](_0x4abd0e(0x10c),()=>{const _0x569044=_0x4abd0e;_0x39ffb0[_0x569044(0x117)][_0x569044(0x152)][_0x569044(0x12c)](),_0x39ffb0[_0x569044(0x166)][_0x569044(0x10c)](_0x569044(0x169),_0x40170a);}),_0x5e8afe[_0x4abd0e(0x162)][_0x4abd0e(0x10e)](_0x5b0c38),{'listItem':_0x5e8afe,'highlightViews':[_0x5ad8e7,_0x1fe64a]};}{const _0x556cd1=new _0x672726(),_0x279316=new _0x2fae3e(this[_0x4abd0e(0x179)],_0x556cd1),_0x1ac7d0=_0x279316[_0x4abd0e(0x13f)],_0x556edc=_0x40170a[_0x4abd0e(0x160)]??_0x40170a[_0x4abd0e(0x115)]?.[_0x4abd0e(0x160)],_0x4e45d9=void 0x0!==_0x40170a[_0x4abd0e(0x160)];return _0x279316[_0x4abd0e(0xf7)]({'label':_0x40170a[_0x4abd0e(0x16f)],'withText':!0x0,'role':_0x4abd0e(0x14c),'icon':_0x4e45d9?_0x556edc??_0xb6a722:void 0x0,'tooltip':!0x1,'class':_0x4abd0e(0x176)}),_0x279316[_0x4abd0e(0x141)]({'on':{'mouseenter':_0x1ac7d0['to'](()=>{const _0x751704=_0x4abd0e;this[_0x751704(0x147)]()||_0x279316[_0x751704(0x12c)]();})}}),_0x279316['on'](_0x4abd0e(0x10c),()=>{const _0x1c3f97=_0x4abd0e;_0x39ffb0[_0x1c3f97(0x117)][_0x1c3f97(0x152)][_0x1c3f97(0x12c)](),_0x39ffb0[_0x1c3f97(0x166)][_0x1c3f97(0x10c)](_0x1c3f97(0x169),_0x40170a);}),_0x5e8afe[_0x4abd0e(0x162)][_0x4abd0e(0x10e)](_0x279316),{'listItem':_0x5e8afe,'highlightViews':[_0x556cd1]};}}[_0x299e06(0x119)](_0x1d7554,_0x34b0ac,_0x3787fc,_0x4441af){const _0x3232d8=_0x299e06;return _0x3787fc&&_0x4441af?this[_0x3232d8(0x12b)](_0x1d7554,_0x34b0ac,_0x3787fc,_0x4441af):this[_0x3232d8(0x120)](_0x1d7554,_0x34b0ac);}[_0x299e06(0x12b)](_0x407659,_0x5648db,_0x385001,_0x12a738){const _0x323f0e=_0x299e06,_0x270a03=new _0x1a3510(this[_0x323f0e(0x179)]),_0x35499a=new _0x2fae3e(this[_0x323f0e(0x179)]),_0x3cefe4=_0x35499a[_0x323f0e(0x13f)],{view:_0x457eae,highlightView:_0xba71a3}=this[_0x323f0e(0xfd)](_0x385001,_0x12a738),{view:_0x30f215,highlightView:_0x3f3e12}=this[_0x323f0e(0x15f)](_0x5648db[_0x323f0e(0x16f)]),_0x5b2ab2=this[_0x323f0e(0x102)](_0x457eae,_0x30f215);return _0x35499a[_0x323f0e(0xf7)]({'label':_0x5648db[_0x323f0e(0x16f)],'withText':!0x0,'role':_0x323f0e(0x14c),'class':_0x323f0e(0x164),'tooltip':!0x1}),_0x35499a[_0x323f0e(0x174)]({'tag':_0x323f0e(0x161),'attributes':{'class':['ck',_0x323f0e(0x15b),_0x323f0e(0xff),_0x323f0e(0x176),_0x323f0e(0xf2),_0x323f0e(0x144)],'type':_0x323f0e(0x161),'role':_0x323f0e(0x14c),'tabindex':'-1'},'children':[_0x5b2ab2],'on':{'mouseenter':_0x3cefe4['to'](()=>{const _0x1716df=_0x323f0e;this[_0x1716df(0x147)]()||_0x35499a[_0x1716df(0x12c)]();}),'click':_0x3cefe4['to'](()=>{const _0x2b150d=_0x323f0e;this[_0x2b150d(0xfe)](_0x35499a);})}}),this[_0x323f0e(0x16b)](_0x35499a,_0x407659,_0x5648db),_0x270a03[_0x323f0e(0x162)][_0x323f0e(0x10e)](_0x35499a),{'listItem':_0x270a03,'highlightViews':[_0xba71a3,_0x3f3e12]};}[_0x299e06(0x120)](_0x4bce5e,_0x291e74){const _0x5e6fec=_0x299e06,_0x17faae=new _0x1a3510(this[_0x5e6fec(0x179)]),_0x2d1649=new _0x672726(),_0x2f20f3=new _0x2fae3e(this[_0x5e6fec(0x179)],_0x2d1649),_0x41595b=_0x2f20f3[_0x5e6fec(0x13f)];return _0x2f20f3[_0x5e6fec(0xf7)]({'label':_0x291e74[_0x5e6fec(0x16f)],'withText':!0x0,'role':_0x5e6fec(0x14c),'icon':void 0x0,'tooltip':!0x1,'class':_0x5e6fec(0x149)}),_0x2f20f3[_0x5e6fec(0x141)]({'on':{'mouseenter':_0x41595b['to'](()=>{const _0x38a1b9=_0x5e6fec;this[_0x38a1b9(0x147)]()||_0x2f20f3[_0x38a1b9(0x12c)]();})}}),this[_0x5e6fec(0x16b)](_0x2f20f3,_0x4bce5e,_0x291e74),_0x17faae[_0x5e6fec(0x162)][_0x5e6fec(0x10e)](_0x2f20f3),{'listItem':_0x17faae,'highlightViews':[_0x2d1649]};}[_0x299e06(0xfd)](_0x53d5f3,_0x29a2e1){const _0x13640f=_0x299e06,_0x5b8de7=new _0x20145e(this[_0x13640f(0x179)]),_0xb8889c=new _0x118de9();_0xb8889c[_0x13640f(0x17b)]=_0x29a2e1,_0xb8889c[_0x13640f(0x141)]({'attributes':{'class':_0x13640f(0x175)}});const _0x486352=new _0x5a9875();return _0x486352[_0x13640f(0x10b)]=_0x53d5f3,_0x5b8de7[_0x13640f(0x174)]({'tag':_0x13640f(0x10f),'attributes':{'class':_0x13640f(0x15a)},'children':[_0xb8889c,_0x486352]}),{'view':_0x5b8de7,'highlightView':_0x486352};}[_0x299e06(0x15f)](_0x2c29d5){const _0x197332=_0x299e06,_0x32ad8c=new _0x20145e(this[_0x197332(0x179)]),_0x5607c5=new _0x5a9875();return _0x5607c5[_0x197332(0x10b)]=_0x2c29d5,_0x32ad8c[_0x197332(0x174)]({'tag':_0x197332(0x10f),'attributes':{'class':_0x197332(0x168)},'children':[_0x5607c5]}),{'view':_0x32ad8c,'highlightView':_0x5607c5};}[_0x299e06(0x102)](_0x4baf86,_0x3e1f88){const _0x1a8994=_0x299e06,_0x10c012=new _0x20145e(this[_0x1a8994(0x179)]);return _0x10c012[_0x1a8994(0x174)]({'tag':_0x1a8994(0x10f),'attributes':{'class':_0x1a8994(0x12d)},'children':[_0x4baf86,_0x3e1f88]}),_0x10c012;}[_0x299e06(0x16b)](_0x5285d8,_0x169922,_0x42dff6){const _0x573502=_0x299e06;_0x5285d8['on'](_0x573502(0x10c),()=>{const _0x2c75e5=_0x573502;_0x169922[_0x2c75e5(0x117)][_0x2c75e5(0x152)][_0x2c75e5(0x12c)](),_0x169922[_0x2c75e5(0x166)][_0x2c75e5(0x10c)](_0x2c75e5(0x169),_0x42dff6);});}[_0x299e06(0x130)](_0x3bd0b7,_0x20cf66,_0x5e8638){const _0x25c7fc=_0x299e06,_0x3a50fb=new _0x1a3510(this[_0x25c7fc(0x179)]),_0x4a0e3c=new _0x672726(),_0x304721=new _0x5fbcb8(this[_0x25c7fc(0x179)],_0x4a0e3c),_0x1a4f72=_0x304721[_0x25c7fc(0x13f)],_0x95bafe=this[_0x25c7fc(0x16e)](_0x5e8638),_0x2186df=this[_0x25c7fc(0x13d)](_0x3bd0b7,_0x20cf66[_0x25c7fc(0x153)],_0x5e8638);_0x304721[_0x25c7fc(0xf7)]({'label':_0x20cf66[_0x25c7fc(0x11d)],'withText':!0x0,'role':Gs,'icon':_0x20cf66[_0x25c7fc(0x160)]??_0xb6a722,'isEnabled':_0x20cf66[_0x25c7fc(0x153)][_0x25c7fc(0x112)](_0x86b8bf=>_0x86b8bf[_0x25c7fc(0x106)])}),_0x304721[_0x25c7fc(0x141)]({'on':{'mouseenter':_0x1a4f72['to'](()=>{const _0x1e67bd=_0x25c7fc;this[_0x1e67bd(0x147)]()||_0x304721[_0x1e67bd(0x12c)]();})}});const _0x572f72=new _0x234345(this[_0x25c7fc(0x179)]);return _0x572f72[_0x25c7fc(0x141)]({'attributes':{'class':['ck',_0x25c7fc(0x107),_0x25c7fc(0x14e),_0x25c7fc(0x111)]},'on':{'keydown':_0x1a4f72['to'](_0x5f5945=>{const _0x272af6=_0x25c7fc;this[_0x272af6(0x125)](_0x5f5945,_0x95bafe,_0x304721,_0x572f72);})}}),_0x304721[_0x25c7fc(0x13e)](_0x25c7fc(0xf4))['to'](_0x572f72,_0x25c7fc(0x173)),this[_0x25c7fc(0x13a)][_0x25c7fc(0x10e)](_0x572f72),_0x572f72[_0x25c7fc(0x17b)][_0x25c7fc(0x10e)](_0x2186df),this[_0x25c7fc(0x133)](_0x304721,_0x572f72),_0x3a50fb[_0x25c7fc(0x162)][_0x25c7fc(0x10e)](_0x304721),{'listItem':_0x3a50fb,'highlightView':_0x4a0e3c};}[_0x299e06(0x13d)](_0x2f0dd3,_0x4c0aaf,_0x22cf8f){const _0x2732a6=_0x299e06,_0x2c313f=new _0x535d67(this[_0x2732a6(0x179)]);return _0x2c313f[_0x2732a6(0x141)]({'attributes':{'class':['ck',_0x2732a6(0x107),_0x2732a6(0xf1),_0x2732a6(0xfa)]}}),_0x4c0aaf[_0x2732a6(0x116)](_0x519aa0=>{const _0x1523e1=_0x2732a6,_0x17908b=new _0x1a3510(this[_0x1523e1(0x179)]),_0x5ac946=_0x166192({'editor':_0x2f0dd3,'action':_0x519aa0,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x1523e1(0x147)]()})();_0x17908b[_0x1523e1(0x162)][_0x1523e1(0x10e)](_0x5ac946),_0x22cf8f[_0x1523e1(0x11b)][_0x1523e1(0x10e)](_0x5ac946),_0x2c313f[_0x1523e1(0x13c)][_0x1523e1(0x10e)](_0x17908b);}),_0x2c313f;}[_0x299e06(0x133)](_0x332473,_0x1c9830){const _0x5430e4=_0x299e06,_0x29e189=_0x332473[_0x5430e4(0x13f)],_0x47524b=this[_0x5430e4(0x151)](_0x332473);_0x332473[_0x5430e4(0x141)]({'attributes':{'class':[_0x5430e4(0xf0)]},'on':{'mouseenter':_0x29e189['to'](()=>{const _0x3de751=_0x5430e4;this[_0x3de751(0x155)](_0x1c9830,_0x332473);}),'mouseleave':_0x29e189['to'](_0xab7ab4=>{const _0x3eb51b=_0x5430e4,_0x229797=_0xab7ab4[_0x3eb51b(0x178)];this[_0x3eb51b(0x177)](_0x229797,_0x1c9830)||this[_0x3eb51b(0x143)](_0x1c9830);}),'keydown':_0x29e189['to'](_0x5d2290=>{const _0x38275f=_0x5430e4;_0x5d2290[_0x38275f(0x150)]==_0x47524b&&(this[_0x38275f(0x155)](_0x1c9830,_0x332473),_0x1c9830[_0x38275f(0x17b)][_0x38275f(0x100)](0x0)[_0x38275f(0x12c)]());})}}),_0x1c9830['on'](_0x5430e4(0x113),()=>{const _0x3d98d2=_0x5430e4;_0x1c9830[_0x3d98d2(0x110)]?.[_0x3d98d2(0x104)](_0x3d98d2(0x134),_0x4011cb=>{const _0x420ba6=_0x3d98d2,_0x47f649=_0x4011cb[_0x420ba6(0x178)];_0x332473[_0x420ba6(0x110)]?.[_0x420ba6(0x156)](_0x47f649)||this[_0x420ba6(0x177)](_0x47f649,_0x1c9830)||this[_0x420ba6(0x143)](_0x1c9830);});});}[_0x299e06(0x155)](_0x827a10,_0x5ce053){const _0x2fd723=_0x299e06;this[_0x2fd723(0x165)][_0x2fd723(0x116)](_0x1d3f12=>{const _0x1ac9c6=_0x2fd723;_0x1d3f12!==_0x827a10&&_0x1d3f12[_0x1ac9c6(0x173)]&&_0x1d3f12[_0x1ac9c6(0x132)]();}),_0x827a10[_0x2fd723(0xf6)](),_0x827a10[_0x2fd723(0x14d)]({'positions':[_0x3ea1df[_0x2fd723(0x172)]],'target':_0x5ce053[_0x2fd723(0x110)],'fitInViewport':!0x0}),this[_0x2fd723(0x165)][_0x2fd723(0x10e)](_0x827a10);}[_0x299e06(0x143)](_0x41db22){const _0x17f034=_0x299e06;_0x41db22[_0x17f034(0x132)](),this[_0x17f034(0x165)][_0x17f034(0x159)](_0x41db22);}[_0x299e06(0x142)](){const _0x68304c=_0x299e06;this[_0x68304c(0x165)][_0x68304c(0x116)](_0x5e9db8=>_0x5e9db8[_0x68304c(0x132)]()),this[_0x68304c(0x165)][_0x68304c(0x105)]();}[_0x299e06(0x177)](_0xb39bdb,_0x364175){const _0x300f06=_0x299e06;if(!_0xb39bdb)return!0x1;if(_0x364175[_0x300f06(0x110)]?.[_0x300f06(0x156)](_0xb39bdb))return!0x0;const _0x5762bc=_0xb39bdb;return _0x5762bc[_0x300f06(0x122)]&&(null!==_0x5762bc[_0x300f06(0x122)](_0x300f06(0x140))||null!==_0x5762bc[_0x300f06(0x122)](_0x300f06(0x146))||null!==_0x5762bc[_0x300f06(0x122)](_0x300f06(0x15c)));}[_0x299e06(0x12a)](){const _0x31d359=_0x299e06;this[_0x31d359(0x11e)]&&this[_0x31d359(0x11e)][_0x31d359(0x123)]();}[_0x299e06(0x14a)](){const _0x438784=_0x299e06;this[_0x438784(0x142)](),this[_0x438784(0x13a)][_0x438784(0x103)](),super[_0x438784(0x14a)]();}[_0x299e06(0x12c)](){const _0x245830=_0x299e06;this[_0x245830(0x11e)]?this[_0x245830(0x11e)][_0x245830(0x12c)]():this[_0x245830(0x124)][_0x245830(0x12c)]();}[_0x299e06(0x16e)](_0x19730e){const _0x3bb2bb=_0x299e06;return _0x3bb2bb(0x15d)===_0x19730e[_0x3bb2bb(0x179)][_0x3bb2bb(0xf5)]?_0x3bb2bb(0xf3):_0x3bb2bb(0x13b);}[_0x299e06(0x151)](_0x209617){const _0x24a767=_0x299e06;return _0x24a767(0x15d)===_0x209617[_0x24a767(0x179)][_0x24a767(0xf5)]?_0x24a767(0x13b):_0x24a767(0xf3);}[_0x299e06(0x125)](_0x21d4de,_0x2ee028,_0x589d9e,_0x5708d2){const _0x2bc088=_0x299e06;_0x21d4de[_0x2bc088(0x150)]==_0x2ee028&&(_0x589d9e[_0x2bc088(0x12c)](),this[_0x2bc088(0x143)](_0x5708d2));}[_0x299e06(0xfe)](_0x543a42){const _0x3edacf=_0x299e06;_0x543a42[_0x3edacf(0x145)](_0x3edacf(0x10c));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x37057d,_0x3cbab4){const _0x5447fb=_0x54a2,_0x206451=_0x37057d();while(!![]){try{const _0x1d3157=-parseInt(_0x5447fb(0xba))/0x1*(-parseInt(_0x5447fb(0xcd))/0x2)+-parseInt(_0x5447fb(0xc6))/0x3*(-parseInt(_0x5447fb(0xbd))/0x4)+-parseInt(_0x5447fb(0xc4))/0x5*(-parseInt(_0x5447fb(0xce))/0x6)+parseInt(_0x5447fb(0xcc))/0x7*(-parseInt(_0x5447fb(0xb0))/0x8)+-parseInt(_0x5447fb(0xb1))/0x9+parseInt(_0x5447fb(0xb6))/0xa+-parseInt(_0x5447fb(0xb2))/0xb*(-parseInt(_0x5447fb(0xb7))/0xc);if(_0x1d3157===_0x3cbab4)break;else _0x206451['push'](_0x206451['shift']());}catch(_0x3a8f58){_0x206451['push'](_0x206451['shift']());}}}(_0x57bc,0x24ec8));import{createDropdown as _0x597f3a}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x189b40}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x2456ee}from'./aiquickactionsdropdowncontentview.js';import{AIEditing as _0x44fba5}from'../../aicore/aiediting.js';function _0x54a2(_0x3552d2,_0x40cb40){const _0x57bcb8=_0x57bc();return _0x54a2=function(_0x54a244,_0x23117d){_0x54a244=_0x54a244-0xad;let _0x32c075=_0x57bcb8[_0x54a244];return _0x32c075;},_0x54a2(_0x3552d2,_0x40cb40);}export function aiQuickActionsDropdownCreator(_0x367a35){const {editor:_0xd8e4d4,content:_0x3c71f1,buttonDefinition:_0x3fb013,bodyCollection:_0x4d39d8,hasSearch:_0x1319fe=!0x1}=_0x367a35;return()=>{const _0x468d76=_0x54a2,_0x2b013b=_0xd8e4d4[_0x468d76(0xbb)],_0xdda7d=_0x597f3a(_0x2b013b);_0xdda7d[_0x468d76(0xae)][_0x468d76(0xbe)]({'icon':_0x3fb013[_0x468d76(0xd0)]??_0x189b40,'label':_0x3fb013[_0x468d76(0xb3)],'tooltip':!0x0}),_0xdda7d[_0x468d76(0xbe)]({'class':_0x468d76(0xb8)});const _0xa2d7e6=new _0x2456ee(_0xd8e4d4,_0x3c71f1,_0xdda7d,_0x4d39d8,_0x1319fe);if(_0xdda7d[_0x468d76(0xc5)][_0x468d76(0xc7)][_0x468d76(0xca)](_0xa2d7e6),_0x1319fe){const _0x20a220=_0x468d76(0xbf);_0xdda7d['on'](_0x468d76(0xaf),(_0x212fbf,_0x1e9c3d,_0x2fa7e9)=>{const _0x3fe6ea=_0x468d76;if(_0x2fa7e9){if(_0xd8e4d4[_0x3fe6ea(0xb4)][_0x3fe6ea(0xad)](_0x3fe6ea(0xcf))){const _0x221766=_0xd8e4d4[_0x3fe6ea(0xb4)][_0x3fe6ea(0xc0)](_0x44fba5),_0x55b09e=_0xd8e4d4[_0x3fe6ea(0xb5)][_0x3fe6ea(0xbc)][_0x3fe6ea(0xc3)],_0x4ced82=Array[_0x3fe6ea(0xc8)](_0x55b09e[_0x3fe6ea(0xb9)]());_0x4ced82[_0x3fe6ea(0xc1)]>0x0&&_0x221766[_0x3fe6ea(0xc9)](_0x4ced82,_0x20a220,!0x1,!0x0);}}else _0xd8e4d4[_0x3fe6ea(0xb4)][_0x3fe6ea(0xad)](_0x3fe6ea(0xcf))&&_0xd8e4d4[_0x3fe6ea(0xb4)][_0x3fe6ea(0xc0)](_0x44fba5)[_0x3fe6ea(0xc2)](_0x20a220),_0xa2d7e6[_0x3fe6ea(0xcb)]();});}return _0xdda7d;};}function _0x57bc(){const _0x4d8ed8=['from','showFakeVisualSelection','add','resetSearch','574KKtqEZ','186742GOuknD','6tKHBrc','AIEditing','icon','has','buttonView','change:isOpen','23768FdLIGI','577332QApzwh','671NyZnDm','label','plugins','model','427840XTxucc','6948BrpSqw','ck-ai-quick-actions-dropdown','getRanges','3WwkPJw','locale','document','68bJcUOY','set','ai-quick-actions-dropdown-selection','get','length','hideFakeVisualSelection','selection','117815scxwPS','panelView','13629ToJpNO','children'];_0x57bc=function(){return _0x4d8ed8;};return _0x57bc();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x84cf(){const _0x3c6d38=['items','forEach','groupLabel','clear','highlightViews','366136NlTFcH','145254hZlZSy','includes','filter','7006203LWDshn','trim','label','toLowerCase','item','461301xYTCil','1266eCbakJ','addMany','function','_clearHighlight','8PwEzkL','length','_allSearchableItems','8476167WuhHsg','10iBKfwp','_highlightQuery','highlightText','20275boGyVe','source','sort','_allListItems','27393102uaeaPE','map','3aCnlKj'];_0x84cf=function(){return _0x3c6d38;};return _0x84cf();}const _0x41e01b=_0x1718;function _0x1718(_0xe5be23,_0x566ee5){const _0x84cfdb=_0x84cf();return _0x1718=function(_0x171814,_0x7f87b0){_0x171814=_0x171814-0x104;let _0x2b089c=_0x84cfdb[_0x171814];return _0x2b089c;},_0x1718(_0xe5be23,_0x566ee5);}(function(_0x361048,_0x2fcf17){const _0x1432b3=_0x1718,_0xf27a11=_0x361048();while(!![]){try{const _0x3c3697=-parseInt(_0x1432b3(0x110))/0x1+-parseInt(_0x1432b3(0x108))/0x2*(-parseInt(_0x1432b3(0x122))/0x3)+-parseInt(_0x1432b3(0x107))/0x4+parseInt(_0x1432b3(0x11c))/0x5*(-parseInt(_0x1432b3(0x111))/0x6)+-parseInt(_0x1432b3(0x118))/0x7*(parseInt(_0x1432b3(0x115))/0x8)+-parseInt(_0x1432b3(0x10b))/0x9*(-parseInt(_0x1432b3(0x119))/0xa)+parseInt(_0x1432b3(0x120))/0xb;if(_0x3c3697===_0x2fcf17)break;else _0xf27a11['push'](_0xf27a11['shift']());}catch(_0x1d9e52){_0xf27a11['push'](_0xf27a11['shift']());}}}(_0x84cf,0xb0487));import{ListView as _0x323616}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x3e12d6}from'es-toolkit/compat';export class AIQuickActionsFilteredListView extends _0x323616{[_0x41e01b(0x11f)];[_0x41e01b(0x117)];constructor(_0x2d0c3f,_0x3dd66d,_0x1d7f00){const _0x4310be=_0x41e01b;super(_0x2d0c3f),this[_0x4310be(0x11f)]=_0x3dd66d,this[_0x4310be(0x117)]=_0x1d7f00;}[_0x41e01b(0x10a)](_0x5a83e2){const _0x5e3502=_0x41e01b;if(!_0x5a83e2)return this[_0x5e3502(0x123)][_0x5e3502(0x105)](),this[_0x5e3502(0x123)][_0x5e3502(0x112)](this[_0x5e3502(0x11f)]),this[_0x5e3502(0x114)](),{'resultsCount':this[_0x5e3502(0x11f)][_0x5e3502(0x116)],'totalItemsCount':this[_0x5e3502(0x11f)][_0x5e3502(0x116)]};const _0x99897c=_0x5a83e2[_0x5e3502(0x11d)][_0x5e3502(0x10e)]()[_0x5e3502(0x10c)](),_0x506d90=this[_0x5e3502(0x117)][_0x5e3502(0x10a)](_0x423bd4=>(_0x423bd4[_0x5e3502(0x104)]?_0x423bd4[_0x5e3502(0x10d)]+'\x20('+_0x423bd4[_0x5e3502(0x104)]+')':_0x423bd4[_0x5e3502(0x10d)])[_0x5e3502(0x10e)]()[_0x5e3502(0x109)](_0x99897c));return this[_0x5e3502(0x123)][_0x5e3502(0x105)](),this[_0x5e3502(0x123)][_0x5e3502(0x112)](_0x506d90[_0x5e3502(0x11e)]((_0x5b296c,_0xfec3e4)=>{const _0x4727c9=_0x5e3502,_0x181baf=_0x5b296c[_0x4727c9(0x104)],_0x8b9c58=_0xfec3e4[_0x4727c9(0x104)];return _0x181baf||_0x8b9c58?_0x181baf?0x1:-0x1:0x0;})[_0x5e3502(0x121)](_0x52f1d5=>_0x52f1d5[_0x5e3502(0x10f)])),this[_0x5e3502(0x11a)](_0x99897c,_0x506d90),{'resultsCount':_0x506d90[_0x5e3502(0x116)],'totalItemsCount':this[_0x5e3502(0x117)][_0x5e3502(0x116)]};}[_0x41e01b(0x11a)](_0x5b0a0d,_0x7c7067){const _0x3c1d83=_0x41e01b;if(!_0x5b0a0d)return;const _0x3844e9=new RegExp(_0x3e12d6(_0x5b0a0d),'gi');_0x7c7067[_0x3c1d83(0x124)](_0x55f3b9=>{const _0x1168c9=_0x3c1d83;_0x55f3b9[_0x1168c9(0x106)]&&_0x55f3b9[_0x1168c9(0x106)][_0x1168c9(0x124)](_0x4eb2d8=>{const _0x220017=_0x1168c9;_0x220017(0x113)==typeof _0x4eb2d8[_0x220017(0x11b)]&&_0x4eb2d8[_0x220017(0x11b)](_0x3844e9);});});}[_0x41e01b(0x114)](){const _0x346af6=_0x41e01b;this[_0x346af6(0x117)][_0x346af6(0x124)](_0x24891f=>{const _0x1a02fa=_0x346af6;_0x24891f[_0x1a02fa(0x106)]&&_0x24891f[_0x1a02fa(0x106)][_0x1a02fa(0x124)](_0x5618ff=>{const _0x5cbb8c=_0x1a02fa;_0x5cbb8c(0x113)==typeof _0x5618ff[_0x5cbb8c(0x11b)]&&_0x5618ff[_0x5cbb8c(0x11b)](null);});});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x32b2(){var _0x411cf9=['115306JGbACw','811090ofeCCH','18dhSsOs','1812720UTccnM','98324pTfqMZ','setTemplate','ck-ai-balloon__disclaimer-content','223722cMJuQi','div','5289776WwRkir','AI_DISCLAIMER_TEXT','ck-ai-balloon__disclaimer','1557850nwTvCn'];_0x32b2=function(){return _0x411cf9;};return _0x32b2();}(function(_0x43d507,_0x41de4a){var _0x3d7d98=_0x25e9,_0x18acb4=_0x43d507();while(!![]){try{var _0x5d5817=-parseInt(_0x3d7d98(0x124))/0x1+parseInt(_0x3d7d98(0x11d))/0x2*(-parseInt(_0x3d7d98(0x11f))/0x3)+-parseInt(_0x3d7d98(0x121))/0x4+-parseInt(_0x3d7d98(0x11c))/0x5+parseInt(_0x3d7d98(0x120))/0x6+parseInt(_0x3d7d98(0x11e))/0x7+parseInt(_0x3d7d98(0x119))/0x8;if(_0x5d5817===_0x41de4a)break;else _0x18acb4['push'](_0x18acb4['shift']());}catch(_0x2f6f84){_0x18acb4['push'](_0x18acb4['shift']());}}}(_0x32b2,0x2a56d));import{View as _0x2384b8}from'ckeditor5/src/ui.js';import{getTranslation as _0x410454}from'../../../aicore/utils/common-translations.js';function _0x25e9(_0x490b92,_0x419962){var _0x32b251=_0x32b2();return _0x25e9=function(_0x25e91b,_0x18b43b){_0x25e91b=_0x25e91b-0x119;var _0x5c516e=_0x32b251[_0x25e91b];return _0x5c516e;},_0x25e9(_0x490b92,_0x419962);}export class AIActionsBalloonDisclaimerView extends _0x2384b8{constructor(_0x205a8a){var _0x7e369a=_0x25e9;super(_0x205a8a),this[_0x7e369a(0x122)]({'tag':_0x7e369a(0x125),'attributes':{'class':['ck',_0x7e369a(0x11b)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x7e369a(0x123)]},'children':[{'text':_0x410454(_0x205a8a,_0x7e369a(0x11a))}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe7fe4=_0x3e5f;(function(_0x4e696c,_0x1f20f3){const _0xef89cb=_0x3e5f,_0x5c38f3=_0x4e696c();while(!![]){try{const _0x4bd6d2=parseInt(_0xef89cb(0x1d6))/0x1+-parseInt(_0xef89cb(0x1c3))/0x2*(parseInt(_0xef89cb(0x1c0))/0x3)+parseInt(_0xef89cb(0x1d3))/0x4+-parseInt(_0xef89cb(0x1d2))/0x5+parseInt(_0xef89cb(0x1c9))/0x6+parseInt(_0xef89cb(0x1d8))/0x7*(-parseInt(_0xef89cb(0x1d7))/0x8)+parseInt(_0xef89cb(0x1d5))/0x9*(parseInt(_0xef89cb(0x1cb))/0xa);if(_0x4bd6d2===_0x1f20f3)break;else _0x5c38f3['push'](_0x5c38f3['shift']());}catch(_0x313c9d){_0x5c38f3['push'](_0x5c38f3['shift']());}}}(_0x183b,0xb8332));import{ToolbarView as _0x5b0f29,ButtonView as _0x1bbc61}from'ckeditor5/src/ui.js';import{getTranslation as _0x37205b}from'../../../aicore/utils/common-translations.js';function _0x3e5f(_0x19c93a,_0x2c93bd){const _0x183b17=_0x183b();return _0x3e5f=function(_0x3e5f6f,_0x22882e){_0x3e5f6f=_0x3e5f6f-0x1be;let _0x36851d=_0x183b17[_0x3e5f6f];return _0x36851d;},_0x3e5f(_0x19c93a,_0x2c93bd);}export class AIActionsBalloonToolbarView extends _0x5b0f29{constructor(_0x1ba5ba,_0x123092=!0x0,_0x1aafce=!0x0){const _0x432c73=_0x3e5f;super(_0x1ba5ba),this[_0x432c73(0x1cc)](_0x432c73(0x1c2),!0x1),_0x123092&&(this[_0x432c73(0x1cd)]=this[_0x432c73(0x1cf)](_0x37205b(_0x1ba5ba,_0x432c73(0x1bf)),_0x432c73(0x1d1)),this[_0x432c73(0x1cd)][_0x432c73(0x1c5)](_0x432c73(0x1c2))['to'](this),this[_0x432c73(0x1ca)][_0x432c73(0x1d0)](this[_0x432c73(0x1cd)])),_0x1aafce&&(this[_0x432c73(0x1be)]=this[_0x432c73(0x1cf)](_0x37205b(_0x1ba5ba,_0x432c73(0x1c7)),_0x123092?_0x432c73(0x1c8):_0x432c73(0x1d1)),this[_0x432c73(0x1be)][_0x432c73(0x1c5)](_0x432c73(0x1c2))['to'](this),this[_0x432c73(0x1ca)][_0x432c73(0x1d0)](this[_0x432c73(0x1be)])),this[_0x432c73(0x1c6)]({'showApplyButton':_0x123092,'showSuggestButton':_0x1aafce}),this[_0x432c73(0x1ce)]({'attributes':{'class':[_0x432c73(0x1c1)]}});}[_0xe7fe4(0x1c6)]({showApplyButton:_0x4fe293,showSuggestButton:_0x5278f9}){const _0x23233f=_0xe7fe4;this[_0x23233f(0x1cd)]&&(this[_0x23233f(0x1cd)][_0x23233f(0x1c4)]=_0x4fe293),this[_0x23233f(0x1be)]&&(this[_0x23233f(0x1be)][_0x23233f(0x1c4)]=_0x5278f9);}[_0xe7fe4(0x1cf)](_0xe95b0b,_0x5ff161){const _0x192d88=_0xe7fe4,_0x1be114=new _0x1bbc61(this[_0x192d88(0x1d4)]);return _0x1be114[_0x192d88(0x1cc)]({'label':_0xe95b0b,'class':_0x5ff161,'isVisible':!0x0,'withText':!0x0}),_0x1be114;}}function _0x183b(){const _0x1159e7=['2730750pflsCh','1060032ApnqVc','locale','117009GymNWZ','1406451fNMpcy','96mPITWa','439607UegZzK','suggestButton','AI_BALLOON_APPLY_BUTTON','29613QLQBes','ck-ai-balloon__toolbar','isEnabled','110bxRHVr','isVisible','bind','setButtonsVisibility','AI_BALLOON_SUGGEST_BUTTON','ck-ai-button-secondary','2511906LficOJ','items','390LMwihJ','set','applyButton','extendTemplate','_createButton','add','ck-ai-button-primary'];_0x183b=function(){return _0x1159e7;};return _0x183b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x46c224=_0x3412;function _0x3412(_0x31e70a,_0xd5aa90){const _0x5f9fbc=_0x5f9f();return _0x3412=function(_0x341239,_0x1770dd){_0x341239=_0x341239-0xc3;let _0x3beaca=_0x5f9fbc[_0x341239];return _0x3beaca;},_0x3412(_0x31e70a,_0xd5aa90);}(function(_0x48ca81,_0x473d51){const _0x2019e1=_0x3412,_0x346df7=_0x48ca81();while(!![]){try{const _0x34bab9=parseInt(_0x2019e1(0x132))/0x1+-parseInt(_0x2019e1(0xfb))/0x2+parseInt(_0x2019e1(0xfe))/0x3*(parseInt(_0x2019e1(0x133))/0x4)+parseInt(_0x2019e1(0xd1))/0x5*(parseInt(_0x2019e1(0x101))/0x6)+parseInt(_0x2019e1(0xff))/0x7*(parseInt(_0x2019e1(0x110))/0x8)+-parseInt(_0x2019e1(0xf2))/0x9*(-parseInt(_0x2019e1(0xe4))/0xa)+parseInt(_0x2019e1(0x118))/0xb*(-parseInt(_0x2019e1(0x130))/0xc);if(_0x34bab9===_0x473d51)break;else _0x346df7['push'](_0x346df7['shift']());}catch(_0x309ddc){_0x346df7['push'](_0x346df7['shift']());}}}(_0x5f9f,0xb47ea));import{ViewCollection as _0x114de1,FocusCycler as _0x489bd1,ButtonView as _0x16dfbf,View as _0x16e119}from'ckeditor5/src/ui.js';function _0x5f9f(){const _0x481b30=['hideError','remove','_toolbarView','insertSuggestion','_streamableContentView','updateContent','_addDisclaimerView','toggleSuggestionDisplayMode','tryAgain','availableActions','stopAutoScroll','stop','_createMiniToolbar','addMany','update','_createStreamableContentView','has','showError','ck-ai-actions-balloon-main','5SBFmql','listenTo','span','ck-ai-navigation-button\x20ck-ai-previous-button','clear','_toggleToolbarButtonsVisibility','_scrollManager','setTemplate','includes','_focusTracker','delegate','startAutoScroll','disableMiniToolbarButtons','_addToolbar','isBusy','_navigationCounter','_keystrokes','setButtonsVisibility','_navigationNextButton','290UUnAAr','toggleIsLoading','start','suggestButton','focusCycler','ck-ai-interaction-counter','_setupMiniToolbarButtons','locale','bind','_addContentWrapper','miniToolbarConfig','_miniToolbarView','showBlockingError','ck-ai-navigation-button\x20ck-ai-next-button','84087JyoynU','destroy','showPrevious','shift\x20+\x20tab','_navigationTryAgainButton','ck-ai-actions-balloon-content-wrapper','_navigationPreviousButton','AI_ACTIONS_TRY_AGAIN','_loaderView','11404MYAfEr','showLoader','add','3224496RDbZqA','21dOpENy','ck-ai-actions-balloon-content','1612602DkbAKO','_hasError','_getScrollableElement','updateMiniToolbarButtons','AI_ACTIONS_NEXT_INTERACTION','set','focus','isTrackChangesOn','items','isEnabled','_errorView','tab','removeMiniToolbarItem','ck-ai-custom-action-button','applyButton','3743728NIsbPq','element','toggleShowChanges','hideLoader','_createLoaderView','applySuggestion','isShowChangesOn','render','19117549hTLRFd','_contentWrapper','1/1','div','clearContent','toggleShowChangesEnabled','_isLoading','AI_ACTIONS_PREVIOUS_INTERACTION','setErrorState','clearErrorState','_dialogContent','showNext','_focusables','resetShowChangesButton','fire','focusLast','isVisible','bindTemplate','setInteractionCount','_initializeScrollManager','change:isTrackChangesOn','addMiniToolbarItem','setIsLoading','_disclaimerView','24DZMSZN','execute','1202482rrzUZu','4ypbgyg','createCollection','interactionCount','focusFirst','_config'];_0x5f9f=function(){return _0x481b30;};return _0x5f9f();}import{FocusTracker as _0x5dcc0c,KeystrokeHandler as _0x51d285}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x42a94f}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x4911e1}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x299fa7}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x352dc9}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x99d383}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x33ada5}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x133256}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x2ad432,IconPreviousArrow as _0x5e0f89,IconRefresh as _0xeaaa63}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2ab0af}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x233642}from'../../../aiballoon/ui/aiballoonview.js';import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x46c224(0x115),_0x46c224(0x13b)];export class AIActionsBalloonView extends _0x233642{[_0x46c224(0xe8)];[_0x46c224(0x137)];[_0x46c224(0x119)];[_0x46c224(0x13c)];[_0x46c224(0x13a)];[_0x46c224(0xef)];[_0x46c224(0xfa)];[_0x46c224(0x12f)];[_0x46c224(0xda)];[_0x46c224(0xe1)];[_0x46c224(0x122)];[_0x46c224(0x124)];[_0x46c224(0xd7)];[_0x46c224(0xf8)];[_0x46c224(0xe3)];[_0x46c224(0xf6)];[_0x46c224(0xe0)];constructor(_0x44fa6d,_0x3cad8c){const _0x1bdf23=_0x46c224;super(_0x44fa6d),this[_0x1bdf23(0x106)](_0x1bdf23(0xdf),!0x1),this[_0x1bdf23(0x106)](_0x1bdf23(0x108),!0x1),this[_0x1bdf23(0x106)](_0x1bdf23(0x11e),!0x1),this[_0x1bdf23(0x106)](_0x1bdf23(0x102),!0x1),this[_0x1bdf23(0x137)]=_0x3cad8c,this[_0x1bdf23(0xda)]=new _0x5dcc0c(),this[_0x1bdf23(0xe1)]=new _0x51d285(),this[_0x1bdf23(0x124)]=this[_0x1bdf23(0x134)](),this[_0x1bdf23(0xe8)]=new _0x489bd1({'focusables':this[_0x1bdf23(0x124)],'focusTracker':this[_0x1bdf23(0xda)],'keystrokeHandler':this[_0x1bdf23(0xe1)],'actions':{'focusPrevious':_0x1bdf23(0xf5),'focusNext':_0x1bdf23(0x10c)}}),this[_0x1bdf23(0x122)]=new _0x114de1(),this[_0x1bdf23(0xed)](_0x3cad8c),this[_0x1bdf23(0xc4)](),this[_0x1bdf23(0xde)](_0x3cad8c),this[_0x1bdf23(0x124)][_0x1bdf23(0xd5)](),this[_0x1bdf23(0x124)][_0x1bdf23(0xcb)]([this[_0x1bdf23(0x13a)]]),this[_0x1bdf23(0xd8)]({'tag':_0x1bdf23(0x11b),'attributes':{'class':[_0x1bdf23(0xd0)]},'children':this[_0x1bdf23(0x122)]}),this['on'](_0x1bdf23(0x12c),()=>{const _0x373178=_0x1bdf23;this[_0x373178(0xd6)](_0x3cad8c);});}[_0x46c224(0x117)](){const _0x73501e=_0x46c224;super[_0x73501e(0x117)]();for(const _0x3f54c6 of this[_0x73501e(0x124)])this[_0x73501e(0xda)][_0x73501e(0xfd)](_0x3f54c6[_0x73501e(0x111)]);this[_0x73501e(0xe1)][_0x73501e(0xd2)](this[_0x73501e(0x111)]),this[_0x73501e(0x12b)]();}[_0x46c224(0xf3)](){const _0x31e37b=_0x46c224;super[_0x31e37b(0xf3)](),this[_0x31e37b(0xd7)]&&this[_0x31e37b(0xd7)][_0x31e37b(0xf3)]();}[_0x46c224(0x107)](_0x2b1823){const _0x35bc5=_0x46c224;-0x1===_0x2b1823?this[_0x35bc5(0xe8)][_0x35bc5(0x127)]():this[_0x35bc5(0xe8)][_0x35bc5(0x136)]();}[_0x46c224(0x12e)](_0x4d067e){const _0x884f67=_0x46c224;this[_0x884f67(0x11e)]=_0x4d067e;}[_0x46c224(0x120)](){const _0x1dd14a=_0x46c224;this[_0x1dd14a(0x102)]=!0x0,this[_0x1dd14a(0xef)][_0x1dd14a(0x11d)](!0x1);}[_0x46c224(0x121)](){const _0x8bfa8b=_0x46c224;this[_0x8bfa8b(0x102)]=!0x1,this[_0x8bfa8b(0xef)][_0x8bfa8b(0x11d)](!0x0);}[_0x46c224(0xcf)](_0x160a54){const _0x4686c3=_0x46c224;super[_0x4686c3(0xcf)](_0x160a54),this[_0x4686c3(0x122)][_0x4686c3(0xce)](this[_0x4686c3(0x10b)])||this[_0x4686c3(0x122)][_0x4686c3(0xfd)](this[_0x4686c3(0x10b)],0x0);}[_0x46c224(0x138)](){const _0x261bcb=_0x46c224;super[_0x261bcb(0x138)](),this[_0x261bcb(0x121)]();}[_0x46c224(0xf0)](_0x552970){const _0x3bd806=_0x46c224;super[_0x3bd806(0xf0)](_0x552970),this[_0x3bd806(0x120)]();}[_0x46c224(0x12d)](_0x386ace){const _0x44a442=_0x46c224;this[_0x44a442(0xef)][_0x44a442(0x109)][_0x44a442(0xce)](_0x386ace)||this[_0x44a442(0xef)][_0x44a442(0x109)][_0x44a442(0xfd)](_0x386ace);}[_0x46c224(0x10d)](_0x5a502f){const _0x2589cd=_0x46c224;this[_0x2589cd(0xef)][_0x2589cd(0x109)][_0x2589cd(0xce)](_0x5a502f)&&this[_0x2589cd(0xef)][_0x2589cd(0x109)][_0x2589cd(0x139)](_0x5a502f);}[_0x46c224(0xfc)](){const _0x89abd5=_0x46c224;this[_0x89abd5(0xfa)]&&(this[_0x89abd5(0x11e)]=!0x0);}[_0x46c224(0x113)](){const _0x38709e=_0x46c224;this[_0x38709e(0xfa)]&&(this[_0x38709e(0x11e)]=!0x1);}[_0x46c224(0xd6)]({showApplyButton:_0x56d6ab,showSuggestButton:_0xc1913}){const _0x19d5e4=_0x46c224;_0x56d6ab=_0x56d6ab&&!this[_0x19d5e4(0x108)]&&this[_0x19d5e4(0x137)][_0x19d5e4(0xc7)][_0x19d5e4(0xd9)](_0x19d5e4(0x115)),_0xc1913=_0xc1913&&this[_0x19d5e4(0x137)][_0x19d5e4(0xc7)][_0x19d5e4(0xd9)](_0x19d5e4(0x13b)),this[_0x19d5e4(0x13a)][_0x19d5e4(0xe2)]({'showApplyButton':_0x56d6ab,'showSuggestButton':_0xc1913});}async[_0x46c224(0xc3)](_0x2c5952){const _0x29f8e7=_0x46c224;await this[_0x29f8e7(0x13c)][_0x29f8e7(0xcc)](_0x2c5952);}[_0x46c224(0x11c)](){const _0x44c7a4=_0x46c224;this[_0x44c7a4(0x13c)][_0x44c7a4(0xd5)]();}[_0x46c224(0xed)](_0xcb45){const _0x2bb5bd=_0x46c224;this[_0x2bb5bd(0x119)]=new _0x16e119(this[_0x2bb5bd(0xeb)]),this[_0x2bb5bd(0x119)][_0x2bb5bd(0xd8)]({'tag':_0x2bb5bd(0x11b),'attributes':{'class':[_0x2bb5bd(0x100)]},'children':[{'tag':_0x2bb5bd(0x11b),'attributes':{'class':[_0x2bb5bd(0xf7)]},'children':[this[_0x2bb5bd(0x114)](),this[_0x2bb5bd(0xcd)]()]},this[_0x2bb5bd(0xca)](_0xcb45[_0x2bb5bd(0xee)])]}),this[_0x2bb5bd(0x122)][_0x2bb5bd(0xfd)](this[_0x2bb5bd(0x119)]);}[_0x46c224(0xc4)](){const _0x288ca0=_0x46c224;this[_0x288ca0(0x12f)]=new _0x4911e1(this[_0x288ca0(0xeb)]),this[_0x288ca0(0x122)][_0x288ca0(0xfd)](this[_0x288ca0(0x12f)]);}[_0x46c224(0xde)]({showApplyButton:_0x373701,showSuggestButton:_0x2b80b4}){const _0x103642=_0x46c224;this[_0x103642(0x13a)]=new _0x42a94f(this[_0x103642(0xeb)],_0x373701,_0x2b80b4),this[_0x103642(0x13a)][_0x103642(0x10f)]?.['on'](_0x103642(0x131),()=>{const _0x610a58=_0x103642;this[_0x610a58(0x126)](_0x610a58(0x115));}),this[_0x103642(0x13a)][_0x103642(0xe7)]?.['on'](_0x103642(0x131),()=>{const _0x373fbf=_0x103642;this[_0x373fbf(0x126)](_0x373fbf(0x13b));}),this[_0x103642(0x13a)][_0x103642(0xec)](_0x103642(0x10a))['to'](this,_0x103642(0xdf),this,_0x103642(0x11e),this,_0x103642(0x102),(_0x29fb86,_0x2d181e,_0x55e4a1)=>!(_0x29fb86||_0x2d181e||_0x55e4a1)),this[_0x103642(0xd6)]({'showApplyButton':_0x373701,'showSuggestButton':_0x2b80b4}),this[_0x103642(0x122)][_0x103642(0xfd)](this[_0x103642(0x13a)]);}[_0x46c224(0xca)](_0x19d8b1){const _0x4ee7e8=_0x46c224;return this[_0x4ee7e8(0xef)]=new _0x352dc9(this[_0x4ee7e8(0xeb)],_0x19d8b1),this[_0x4ee7e8(0xef)][_0x4ee7e8(0xdb)](..._0x99d383)['to'](this),this[_0x4ee7e8(0xef)]['on'](_0x4ee7e8(0x112),()=>{const _0x490425=_0x4ee7e8;this[_0x490425(0xef)][_0x490425(0x116)]=!this[_0x490425(0xef)][_0x490425(0x116)],this[_0x490425(0x126)](_0x490425(0xc5),{'showDiff':this[_0x490425(0xef)][_0x490425(0x116)]});}),this[_0x4ee7e8(0xef)][_0x4ee7e8(0xec)](_0x4ee7e8(0x10a))['to'](this,_0x4ee7e8(0xdf),this,_0x4ee7e8(0x11e),(_0x18b051,_0x51fb36)=>!(_0x18b051||_0x51fb36)),this[_0x4ee7e8(0xef)];}[_0x46c224(0x114)](){const _0x330b77=_0x46c224;return this[_0x330b77(0xfa)]=new _0x33ada5(this[_0x330b77(0xeb)]),this[_0x330b77(0xfa)][_0x330b77(0xec)](_0x330b77(0x128))['to'](this,_0x330b77(0x11e)),this[_0x330b77(0xfa)];}[_0x46c224(0xcd)](){const _0x5ae34d=_0x46c224;return this[_0x5ae34d(0x13c)]=new _0x133256(this[_0x5ae34d(0xeb)]),this[_0x5ae34d(0x13c)];}[_0x46c224(0xea)](){const _0x112a3c=_0x46c224,_0x26eb60=new _0x16dfbf(this[_0x112a3c(0xeb)]),_0x123891=new _0x16dfbf(this[_0x112a3c(0xeb)]),_0x588725=new AIActionsBalloonNavigationCounterView(this[_0x112a3c(0xeb)]),_0x2ea8b9=new _0x16dfbf(this[_0x112a3c(0xeb)]);_0x26eb60[_0x112a3c(0x106)]({'icon':_0xeaaa63,'label':_0x2ab0af(this[_0x112a3c(0xeb)],_0x112a3c(0xf9)),'tooltip':!0x0,'class':_0x112a3c(0x10e)}),_0x123891[_0x112a3c(0x106)]({'icon':_0x5e0f89,'tooltip':_0x2ab0af(this[_0x112a3c(0xeb)],_0x112a3c(0x11f)),'class':_0x112a3c(0xd4)}),_0x2ea8b9[_0x112a3c(0x106)]({'icon':_0x2ad432,'tooltip':_0x2ab0af(this[_0x112a3c(0xeb)],_0x112a3c(0x105)),'class':_0x112a3c(0xf1)}),_0x26eb60[_0x112a3c(0xec)](_0x112a3c(0x10a))['to'](this,_0x112a3c(0xdf),_0x19c5b9=>!_0x19c5b9),_0x26eb60['on'](_0x112a3c(0x131),()=>{const _0x3e34c1=_0x112a3c;this[_0x3e34c1(0x126)](_0x3e34c1(0xc6));}),_0x123891[_0x112a3c(0xec)](_0x112a3c(0x10a))['to'](this,_0x112a3c(0xdf),_0xf4873=>!_0xf4873),_0x123891['on'](_0x112a3c(0x131),()=>{const _0x26b99d=_0x112a3c;this[_0x26b99d(0x126)](_0x26b99d(0xf4));}),_0x2ea8b9[_0x112a3c(0xec)](_0x112a3c(0x10a))['to'](this,_0x112a3c(0xdf),_0x13afa1=>!_0x13afa1),_0x2ea8b9['on'](_0x112a3c(0x131),()=>{const _0x420ebd=_0x112a3c;this[_0x420ebd(0x126)](_0x420ebd(0x123));}),this[_0x112a3c(0xf8)]=_0x123891,this[_0x112a3c(0xe0)]=_0x588725,this[_0x112a3c(0xe3)]=_0x2ea8b9,this[_0x112a3c(0xf6)]=_0x26eb60;}[_0x46c224(0x104)](_0x4a6abd,_0x14e6ff){const _0x310180=_0x46c224;this[_0x310180(0xf8)]||this[_0x310180(0xea)]();const _0x148c1f=_0x4a6abd>0x1;if(this[_0x310180(0x12d)](this[_0x310180(0xf6)]),_0x148c1f){this[_0x310180(0x12d)](this[_0x310180(0xf8)]),this[_0x310180(0x12d)](this[_0x310180(0xe0)]),this[_0x310180(0x12d)](this[_0x310180(0xe3)]);const _0x361a7b=_0x4a6abd-_0x14e6ff;this[_0x310180(0xe0)][_0x310180(0x12a)](_0x361a7b+'/'+_0x4a6abd),this[_0x310180(0xf8)][_0x310180(0x10a)]=_0x14e6ff<_0x4a6abd-0x1,this[_0x310180(0xe3)][_0x310180(0x10a)]=_0x14e6ff>0x0;}else this[_0x310180(0x10d)](this[_0x310180(0xf8)]),this[_0x310180(0x10d)](this[_0x310180(0xe0)]),this[_0x310180(0x10d)](this[_0x310180(0xe3)]);}[_0x46c224(0xdd)](){const _0x2aaeca=_0x46c224;this[_0x2aaeca(0xf6)][_0x2aaeca(0x10a)]=!0x1,this[_0x2aaeca(0xf8)][_0x2aaeca(0x10a)]=!0x1,this[_0x2aaeca(0xe3)][_0x2aaeca(0x10a)]=!0x1;}[_0x46c224(0xdc)](){const _0x1213e1=_0x46c224;this[_0x1213e1(0x12b)](),this[_0x1213e1(0xd7)]&&this[_0x1213e1(0xd7)][_0x1213e1(0xe6)]();}[_0x46c224(0xc8)](){const _0x5316a7=_0x46c224;this[_0x5316a7(0xd7)]&&this[_0x5316a7(0xd7)][_0x5316a7(0xc9)]();}[_0x46c224(0xe5)](_0x3803e2){const _0x5ee329=_0x46c224;this[_0x5ee329(0x11e)]=_0x3803e2;}[_0x46c224(0x125)](){const _0xce961e=_0x46c224;this[_0xce961e(0xef)][_0xce961e(0x116)]=!0x1;}[_0x46c224(0x12b)](){const _0x5d275c=_0x46c224,_0x6beeab=this[_0x5d275c(0x103)]();_0x6beeab&&!this[_0x5d275c(0xd7)]&&(this[_0x5d275c(0xd7)]=new _0x299fa7(_0x6beeab));}[_0x46c224(0x103)](){const _0x2e3ee7=_0x46c224;return this[_0x2e3ee7(0x13c)][_0x2e3ee7(0x111)];}}class AIActionsBalloonNavigationCounterView extends _0x16e119{constructor(_0x4e2fc8){const _0x65c033=_0x46c224;super(_0x4e2fc8);const _0x871c05=this[_0x65c033(0x129)];this[_0x65c033(0x106)](_0x65c033(0x135),_0x65c033(0x11a)),this[_0x65c033(0xd8)]({'tag':_0x65c033(0xd3),'attributes':{'class':[_0x65c033(0xe9)]},'children':[{'text':_0x871c05['to'](_0x65c033(0x135))}]});}[_0x46c224(0x12a)](_0x5e68be){const _0x539301=_0x46c224;this[_0x539301(0x106)](_0x539301(0x135),_0x5e68be);}}
|
|
23
|
+
const _0x31f01d=_0x7b7d;function _0x7b7d(_0x53d750,_0x4b3196){const _0x5eb698=_0x5eb6();return _0x7b7d=function(_0x7b7dce,_0x3bf937){_0x7b7dce=_0x7b7dce-0x184;let _0x24cc5c=_0x5eb698[_0x7b7dce];return _0x24cc5c;},_0x7b7d(_0x53d750,_0x4b3196);}(function(_0x55f27c,_0x30cd0d){const _0x2fc415=_0x7b7d,_0x3cfea0=_0x55f27c();while(!![]){try{const _0x10e2f5=parseInt(_0x2fc415(0x18d))/0x1+-parseInt(_0x2fc415(0x1ac))/0x2+-parseInt(_0x2fc415(0x1f6))/0x3+-parseInt(_0x2fc415(0x1a7))/0x4*(parseInt(_0x2fc415(0x1db))/0x5)+parseInt(_0x2fc415(0x1d1))/0x6+parseInt(_0x2fc415(0x1e9))/0x7+parseInt(_0x2fc415(0x1b1))/0x8;if(_0x10e2f5===_0x30cd0d)break;else _0x3cfea0['push'](_0x3cfea0['shift']());}catch(_0x1b0d4f){_0x3cfea0['push'](_0x3cfea0['shift']());}}}(_0x5eb6,0x9773f));import{ViewCollection as _0x421dea,FocusCycler as _0x2ad982,ButtonView as _0x47f436,View as _0x58ae5a}from'ckeditor5/src/ui.js';import{FocusTracker as _0x54c2bf,KeystrokeHandler as _0x5ed474}from'ckeditor5/src/utils.js';import{AIActionsBalloonToolbarView as _0x38d15a}from'./aiactionsballoontoolbarview.js';import{AIActionsBalloonDisclaimerView as _0x55c82a}from'./aiactionsballoondisclaimerview.js';import{ScrollManager as _0x384307}from'../../../aicore/utils/scrollmanager.js';import{AIMiniToolbarView as _0x3dafb0}from'../../../aicore/ui/suggestioncontainer/aiminitoolbarview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2a86cf}from'../../../aicore/utils/eventnames.js';import{AISuggestionLoaderView as _0x14bb72}from'../../../aicore/ui/suggestioncontainer/aisuggestionloaderview.js';import{AISuggestionStreamableContentView as _0x5b6c50}from'../../../aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js';import{IconNextArrow as _0x29c553,IconPreviousArrow as _0x335a92,IconRefresh as _0x1a855a}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x28f864}from'../../../aicore/utils/common-translations.js';import{AIBalloonView as _0x33e501}from'../../../aiballoon/ui/aiballoonview.js';function _0x5eb6(){const _0x48719d=['_config','ck-ai-actions-balloon-content-wrapper','bind','stopAutoScroll','element','clearContent','insertSuggestion','_addContentWrapper','_initializeScrollManager','tryAgain','1/1','AI_ACTIONS_NEXT_INTERACTION','ck-ai-navigation-button\x20ck-ai-previous-button','isTrackChangesOn','5415936PEtdGG','showPrevious','_scrollManager','shift\x20+\x20tab','start','items','isEnabled','update','toggleShowChangesEnabled','delegate','25PuobSP','span','applySuggestion','_getScrollableElement','setErrorState','updateContent','_miniToolbarView','miniToolbarConfig','_addToolbar','clear','div','addMiniToolbarItem','setInteractionCount','ck-ai-actions-balloon-content','1285732JZDjXz','ck-ai-interaction-counter','hideLoader','startAutoScroll','includes','_navigationTryAgainButton','has','bindTemplate','_addDisclaimerView','_createStreamableContentView','setButtonsVisibility','_navigationPreviousButton','_createMiniToolbar','3193644FFpKRX','_setupMiniToolbarButtons','hideError','_navigationCounter','_loaderView','_toolbarView','setIsLoading','_streamableContentView','_keystrokes','isShowChangesOn','execute','removeMiniToolbarItem','applyButton','113125xbMcZU','focusLast','stop','ck-ai-navigation-button\x20ck-ai-next-button','showLoader','destroy','_focusTracker','addMany','tab','clearErrorState','ck-ai-actions-balloon-main','_hasError','_dialogContent','_isLoading','availableActions','toggleSuggestionDisplayMode','set','toggleIsLoading','_errorView','_disclaimerView','isVisible','createCollection','_createLoaderView','AI_ACTIONS_TRY_AGAIN','toggleShowChanges','disableMiniToolbarButtons','243884yrABfQ','_contentWrapper','listenTo','showBlockingError','_navigationNextButton','1929096yiAywc','showError','isBusy','AI_ACTIONS_PREVIOUS_INTERACTION','locale','14038760pLAtrh','render','setTemplate','fire','updateMiniToolbarButtons','add','focusFirst','ck-ai-custom-action-button','suggestButton','_focusables','showNext','focusCycler','_toggleToolbarButtonsVisibility','interactionCount','remove','resetShowChangesButton','focus','change:isTrackChangesOn'];_0x5eb6=function(){return _0x48719d;};return _0x5eb6();}import'../../../../theme/aiquickactions/aiquickactionsballoon.css';export const AI_ACTIONS_BALLOON_VIEW_EVENT_NAMES=[_0x31f01d(0x1dd),_0x31f01d(0x1c9)];export class AIActionsBalloonView extends _0x33e501{[_0x31f01d(0x1bc)];[_0x31f01d(0x1c3)];[_0x31f01d(0x1a8)];[_0x31f01d(0x187)];[_0x31f01d(0x185)];[_0x31f01d(0x1e1)];[_0x31f01d(0x184)];[_0x31f01d(0x1a0)];[_0x31f01d(0x193)];[_0x31f01d(0x188)];[_0x31f01d(0x199)];[_0x31f01d(0x1ba)];[_0x31f01d(0x1d3)];[_0x31f01d(0x1f4)];[_0x31f01d(0x1ab)];[_0x31f01d(0x1ee)];[_0x31f01d(0x1f9)];constructor(_0x6f008b,_0xff3626){const _0x2846d4=_0x31f01d;super(_0x6f008b),this[_0x2846d4(0x19d)](_0x2846d4(0x1ae),!0x1),this[_0x2846d4(0x19d)](_0x2846d4(0x1d0),!0x1),this[_0x2846d4(0x19d)](_0x2846d4(0x19a),!0x1),this[_0x2846d4(0x19d)](_0x2846d4(0x198),!0x1),this[_0x2846d4(0x1c3)]=_0xff3626,this[_0x2846d4(0x193)]=new _0x54c2bf(),this[_0x2846d4(0x188)]=new _0x5ed474(),this[_0x2846d4(0x1ba)]=this[_0x2846d4(0x1a2)](),this[_0x2846d4(0x1bc)]=new _0x2ad982({'focusables':this[_0x2846d4(0x1ba)],'focusTracker':this[_0x2846d4(0x193)],'keystrokeHandler':this[_0x2846d4(0x188)],'actions':{'focusPrevious':_0x2846d4(0x1d4),'focusNext':_0x2846d4(0x195)}}),this[_0x2846d4(0x199)]=new _0x421dea(),this[_0x2846d4(0x1ca)](_0xff3626),this[_0x2846d4(0x1f1)](),this[_0x2846d4(0x1e3)](_0xff3626),this[_0x2846d4(0x1ba)][_0x2846d4(0x1e4)](),this[_0x2846d4(0x1ba)][_0x2846d4(0x194)]([this[_0x2846d4(0x185)]]),this[_0x2846d4(0x1b3)]({'tag':_0x2846d4(0x1e5),'attributes':{'class':[_0x2846d4(0x197)]},'children':this[_0x2846d4(0x199)]}),this['on'](_0x2846d4(0x1c2),()=>{const _0x31f02b=_0x2846d4;this[_0x31f02b(0x1bd)](_0xff3626);});}[_0x31f01d(0x1b2)](){const _0x2414ca=_0x31f01d;super[_0x2414ca(0x1b2)]();for(const _0x5488f0 of this[_0x2414ca(0x1ba)])this[_0x2414ca(0x193)][_0x2414ca(0x1b6)](_0x5488f0[_0x2414ca(0x1c7)]);this[_0x2414ca(0x188)][_0x2414ca(0x1a9)](this[_0x2414ca(0x1c7)]),this[_0x2414ca(0x1cb)]();}[_0x31f01d(0x192)](){const _0x256a25=_0x31f01d;super[_0x256a25(0x192)](),this[_0x256a25(0x1d3)]&&this[_0x256a25(0x1d3)][_0x256a25(0x192)]();}[_0x31f01d(0x1c1)](_0x59e3cd){const _0x5c00fb=_0x31f01d;-0x1===_0x59e3cd?this[_0x5c00fb(0x1bc)][_0x5c00fb(0x18e)]():this[_0x5c00fb(0x1bc)][_0x5c00fb(0x1b7)]();}[_0x31f01d(0x186)](_0x99e8fe){const _0xdbe55b=_0x31f01d;this[_0xdbe55b(0x19a)]=_0x99e8fe;}[_0x31f01d(0x1df)](){const _0x259474=_0x31f01d;this[_0x259474(0x198)]=!0x0,this[_0x259474(0x1e1)][_0x259474(0x1d9)](!0x1);}[_0x31f01d(0x196)](){const _0x257b46=_0x31f01d;this[_0x257b46(0x198)]=!0x1,this[_0x257b46(0x1e1)][_0x257b46(0x1d9)](!0x0);}[_0x31f01d(0x1ad)](_0x2e1d99){const _0x553617=_0x31f01d;super[_0x553617(0x1ad)](_0x2e1d99),this[_0x553617(0x199)][_0x553617(0x1ef)](this[_0x553617(0x19f)])||this[_0x553617(0x199)][_0x553617(0x1b6)](this[_0x553617(0x19f)],0x0);}[_0x31f01d(0x1f8)](){const _0xb94aae=_0x31f01d;super[_0xb94aae(0x1f8)](),this[_0xb94aae(0x196)]();}[_0x31f01d(0x1aa)](_0x3c7adc){const _0x1dc4b1=_0x31f01d;super[_0x1dc4b1(0x1aa)](_0x3c7adc),this[_0x1dc4b1(0x1df)]();}[_0x31f01d(0x1e6)](_0x592d56){const _0x3145b4=_0x31f01d;this[_0x3145b4(0x1e1)][_0x3145b4(0x1d6)][_0x3145b4(0x1ef)](_0x592d56)||this[_0x3145b4(0x1e1)][_0x3145b4(0x1d6)][_0x3145b4(0x1b6)](_0x592d56);}[_0x31f01d(0x18b)](_0x576e17){const _0xff574a=_0x31f01d;this[_0xff574a(0x1e1)][_0xff574a(0x1d6)][_0xff574a(0x1ef)](_0x576e17)&&this[_0xff574a(0x1e1)][_0xff574a(0x1d6)][_0xff574a(0x1bf)](_0x576e17);}[_0x31f01d(0x191)](){const _0x221ec9=_0x31f01d;this[_0x221ec9(0x184)]&&(this[_0x221ec9(0x19a)]=!0x0);}[_0x31f01d(0x1eb)](){const _0x3fec67=_0x31f01d;this[_0x3fec67(0x184)]&&(this[_0x3fec67(0x19a)]=!0x1);}[_0x31f01d(0x1bd)]({showApplyButton:_0x35362a,showSuggestButton:_0x5a6eed}){const _0x5b390a=_0x31f01d;_0x35362a=_0x35362a&&!this[_0x5b390a(0x1d0)]&&this[_0x5b390a(0x1c3)][_0x5b390a(0x19b)][_0x5b390a(0x1ed)](_0x5b390a(0x1dd)),_0x5a6eed=_0x5a6eed&&this[_0x5b390a(0x1c3)][_0x5b390a(0x19b)][_0x5b390a(0x1ed)](_0x5b390a(0x1c9)),this[_0x5b390a(0x185)][_0x5b390a(0x1f3)]({'showApplyButton':_0x35362a,'showSuggestButton':_0x5a6eed});}async[_0x31f01d(0x1e0)](_0x4d9377){const _0x310630=_0x31f01d;await this[_0x310630(0x187)][_0x310630(0x1d8)](_0x4d9377);}[_0x31f01d(0x1c8)](){const _0x2d51ac=_0x31f01d;this[_0x2d51ac(0x187)][_0x2d51ac(0x1e4)]();}[_0x31f01d(0x1ca)](_0x45f631){const _0x3c344e=_0x31f01d;this[_0x3c344e(0x1a8)]=new _0x58ae5a(this[_0x3c344e(0x1b0)]),this[_0x3c344e(0x1a8)][_0x3c344e(0x1b3)]({'tag':_0x3c344e(0x1e5),'attributes':{'class':[_0x3c344e(0x1e8)]},'children':[{'tag':_0x3c344e(0x1e5),'attributes':{'class':[_0x3c344e(0x1c4)]},'children':[this[_0x3c344e(0x1a3)](),this[_0x3c344e(0x1f2)]()]},this[_0x3c344e(0x1f5)](_0x45f631[_0x3c344e(0x1e2)])]}),this[_0x3c344e(0x199)][_0x3c344e(0x1b6)](this[_0x3c344e(0x1a8)]);}[_0x31f01d(0x1f1)](){const _0x5664c1=_0x31f01d;this[_0x5664c1(0x1a0)]=new _0x55c82a(this[_0x5664c1(0x1b0)]),this[_0x5664c1(0x199)][_0x5664c1(0x1b6)](this[_0x5664c1(0x1a0)]);}[_0x31f01d(0x1e3)]({showApplyButton:_0x52e93a,showSuggestButton:_0x2bf680}){const _0x3e7c28=_0x31f01d;this[_0x3e7c28(0x185)]=new _0x38d15a(this[_0x3e7c28(0x1b0)],_0x52e93a,_0x2bf680),this[_0x3e7c28(0x185)][_0x3e7c28(0x18c)]?.['on'](_0x3e7c28(0x18a),()=>{const _0x2cdd80=_0x3e7c28;this[_0x2cdd80(0x1b4)](_0x2cdd80(0x1dd));}),this[_0x3e7c28(0x185)][_0x3e7c28(0x1b9)]?.['on'](_0x3e7c28(0x18a),()=>{const _0x4f22f5=_0x3e7c28;this[_0x4f22f5(0x1b4)](_0x4f22f5(0x1c9));}),this[_0x3e7c28(0x185)][_0x3e7c28(0x1c5)](_0x3e7c28(0x1d7))['to'](this,_0x3e7c28(0x1ae),this,_0x3e7c28(0x19a),this,_0x3e7c28(0x198),(_0x5bf9a0,_0xc9b8bb,_0x1b9116)=>!(_0x5bf9a0||_0xc9b8bb||_0x1b9116)),this[_0x3e7c28(0x1bd)]({'showApplyButton':_0x52e93a,'showSuggestButton':_0x2bf680}),this[_0x3e7c28(0x199)][_0x3e7c28(0x1b6)](this[_0x3e7c28(0x185)]);}[_0x31f01d(0x1f5)](_0x385bb7){const _0x17fc58=_0x31f01d;return this[_0x17fc58(0x1e1)]=new _0x3dafb0(this[_0x17fc58(0x1b0)],_0x385bb7),this[_0x17fc58(0x1e1)][_0x17fc58(0x1da)](..._0x2a86cf)['to'](this),this[_0x17fc58(0x1e1)]['on'](_0x17fc58(0x1a5),()=>{const _0x2955c7=_0x17fc58;this[_0x2955c7(0x1e1)][_0x2955c7(0x189)]=!this[_0x2955c7(0x1e1)][_0x2955c7(0x189)],this[_0x2955c7(0x1b4)](_0x2955c7(0x19c),{'showDiff':this[_0x2955c7(0x1e1)][_0x2955c7(0x189)]});}),this[_0x17fc58(0x1e1)][_0x17fc58(0x1c5)](_0x17fc58(0x1d7))['to'](this,_0x17fc58(0x1ae),this,_0x17fc58(0x19a),(_0x1ffb87,_0x1c7fd4)=>!(_0x1ffb87||_0x1c7fd4)),this[_0x17fc58(0x1e1)];}[_0x31f01d(0x1a3)](){const _0x956d57=_0x31f01d;return this[_0x956d57(0x184)]=new _0x14bb72(this[_0x956d57(0x1b0)]),this[_0x956d57(0x184)][_0x956d57(0x1c5)](_0x956d57(0x1a1))['to'](this,_0x956d57(0x19a)),this[_0x956d57(0x184)];}[_0x31f01d(0x1f2)](){const _0x452b94=_0x31f01d;return this[_0x452b94(0x187)]=new _0x5b6c50(this[_0x452b94(0x1b0)]),this[_0x452b94(0x187)];}[_0x31f01d(0x1f7)](){const _0x1084fa=_0x31f01d,_0x14c9b5=new _0x47f436(this[_0x1084fa(0x1b0)]),_0x1ff580=new _0x47f436(this[_0x1084fa(0x1b0)]),_0x56c659=new AIActionsBalloonNavigationCounterView(this[_0x1084fa(0x1b0)]),_0x2f5426=new _0x47f436(this[_0x1084fa(0x1b0)]);_0x14c9b5[_0x1084fa(0x19d)]({'icon':_0x1a855a,'label':_0x28f864(this[_0x1084fa(0x1b0)],_0x1084fa(0x1a4)),'tooltip':!0x0,'class':_0x1084fa(0x1b8)}),_0x1ff580[_0x1084fa(0x19d)]({'icon':_0x335a92,'tooltip':_0x28f864(this[_0x1084fa(0x1b0)],_0x1084fa(0x1af)),'class':_0x1084fa(0x1cf)}),_0x2f5426[_0x1084fa(0x19d)]({'icon':_0x29c553,'tooltip':_0x28f864(this[_0x1084fa(0x1b0)],_0x1084fa(0x1ce)),'class':_0x1084fa(0x190)}),_0x14c9b5[_0x1084fa(0x1c5)](_0x1084fa(0x1d7))['to'](this,_0x1084fa(0x1ae),_0x1b1b8f=>!_0x1b1b8f),_0x14c9b5['on'](_0x1084fa(0x18a),()=>{const _0x3a0cf7=_0x1084fa;this[_0x3a0cf7(0x1b4)](_0x3a0cf7(0x1cc));}),_0x1ff580[_0x1084fa(0x1c5)](_0x1084fa(0x1d7))['to'](this,_0x1084fa(0x1ae),_0x4b2aea=>!_0x4b2aea),_0x1ff580['on'](_0x1084fa(0x18a),()=>{const _0xf20ab5=_0x1084fa;this[_0xf20ab5(0x1b4)](_0xf20ab5(0x1d2));}),_0x2f5426[_0x1084fa(0x1c5)](_0x1084fa(0x1d7))['to'](this,_0x1084fa(0x1ae),_0x28a1b4=>!_0x28a1b4),_0x2f5426['on'](_0x1084fa(0x18a),()=>{const _0x24326f=_0x1084fa;this[_0x24326f(0x1b4)](_0x24326f(0x1bb));}),this[_0x1084fa(0x1f4)]=_0x1ff580,this[_0x1084fa(0x1f9)]=_0x56c659,this[_0x1084fa(0x1ab)]=_0x2f5426,this[_0x1084fa(0x1ee)]=_0x14c9b5;}[_0x31f01d(0x1b5)](_0x231185,_0xb0a0a1){const _0x131b99=_0x31f01d;this[_0x131b99(0x1f4)]||this[_0x131b99(0x1f7)]();const _0x385e89=_0x231185>0x1;if(this[_0x131b99(0x1e6)](this[_0x131b99(0x1ee)]),_0x385e89){this[_0x131b99(0x1e6)](this[_0x131b99(0x1f4)]),this[_0x131b99(0x1e6)](this[_0x131b99(0x1f9)]),this[_0x131b99(0x1e6)](this[_0x131b99(0x1ab)]);const _0x54d386=_0x231185-_0xb0a0a1;this[_0x131b99(0x1f9)][_0x131b99(0x1e7)](_0x54d386+'/'+_0x231185),this[_0x131b99(0x1f4)][_0x131b99(0x1d7)]=_0xb0a0a1<_0x231185-0x1,this[_0x131b99(0x1ab)][_0x131b99(0x1d7)]=_0xb0a0a1>0x0;}else this[_0x131b99(0x18b)](this[_0x131b99(0x1f4)]),this[_0x131b99(0x18b)](this[_0x131b99(0x1f9)]),this[_0x131b99(0x18b)](this[_0x131b99(0x1ab)]);}[_0x31f01d(0x1a6)](){const _0x1ed245=_0x31f01d;this[_0x1ed245(0x1ee)][_0x1ed245(0x1d7)]=!0x1,this[_0x1ed245(0x1f4)][_0x1ed245(0x1d7)]=!0x1,this[_0x1ed245(0x1ab)][_0x1ed245(0x1d7)]=!0x1;}[_0x31f01d(0x1ec)](){const _0x98303d=_0x31f01d;this[_0x98303d(0x1cb)](),this[_0x98303d(0x1d3)]&&this[_0x98303d(0x1d3)][_0x98303d(0x1d5)]();}[_0x31f01d(0x1c6)](){const _0x54051f=_0x31f01d;this[_0x54051f(0x1d3)]&&this[_0x54051f(0x1d3)][_0x54051f(0x18f)]();}[_0x31f01d(0x19e)](_0x288d61){const _0x55619b=_0x31f01d;this[_0x55619b(0x19a)]=_0x288d61;}[_0x31f01d(0x1c0)](){const _0x247e60=_0x31f01d;this[_0x247e60(0x1e1)][_0x247e60(0x189)]=!0x1;}[_0x31f01d(0x1cb)](){const _0x44748f=_0x31f01d,_0x1c00a5=this[_0x44748f(0x1de)]();_0x1c00a5&&!this[_0x44748f(0x1d3)]&&(this[_0x44748f(0x1d3)]=new _0x384307(_0x1c00a5));}[_0x31f01d(0x1de)](){const _0x303d03=_0x31f01d;return this[_0x303d03(0x187)][_0x303d03(0x1c7)];}}class AIActionsBalloonNavigationCounterView extends _0x58ae5a{constructor(_0x524a14){const _0x4f1ed3=_0x31f01d;super(_0x524a14);const _0x35bf0b=this[_0x4f1ed3(0x1f0)];this[_0x4f1ed3(0x19d)](_0x4f1ed3(0x1be),_0x4f1ed3(0x1cd)),this[_0x4f1ed3(0x1b3)]({'tag':_0x4f1ed3(0x1dc),'attributes':{'class':[_0x4f1ed3(0x1ea)]},'children':[{'text':_0x35bf0b['to'](_0x4f1ed3(0x1be))}]});}[_0x31f01d(0x1e7)](_0x541801){const _0xd35271=_0x31f01d;this[_0xd35271(0x19d)](_0xd35271(0x1be),_0x541801);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x43bf(_0x1fda36,_0x248c5f){const _0xdae02a=_0xdae0();return _0x43bf=function(_0x43bf52,_0x14875e){_0x43bf52=_0x43bf52-0x174;let _0x434090=_0xdae02a[_0x43bf52];return _0x434090;},_0x43bf(_0x1fda36,_0x248c5f);}const _0x41aa6d=_0x43bf;function _0xdae0(){const _0x348685=['3454608HwAIay','set','add','70EhZMqi','arrowView','91cGVLBE','extendTemplate','menuitem','ck-dropdown-menu-list__nested-menu__button','22756LVgTZc','485148CfbXJt','bindTemplate','ck-dropdown-menu-list__nested-menu__button__arrow','964935dBdXTQ','13149030HPDWpP','_createArrowView','mouseenter','30AxUcIH','children','content','537076cEhvhb','render','isOn','93150xYEgwY'];_0xdae0=function(){return _0x348685;};return _0xdae0();}(function(_0x40c40f,_0x5a9d1c){const _0x105882=_0x43bf,_0x1b5d15=_0x40c40f();while(!![]){try{const _0x360edd=-parseInt(_0x105882(0x180))/0x1*(parseInt(_0x105882(0x184))/0x2)+-parseInt(_0x105882(0x17a))/0x3+-parseInt(_0x105882(0x177))/0x4*(parseInt(_0x105882(0x174))/0x5)+-parseInt(_0x105882(0x185))/0x6*(-parseInt(_0x105882(0x17e))/0x7)+parseInt(_0x105882(0x17b))/0x8+-parseInt(_0x105882(0x188))/0x9+parseInt(_0x105882(0x189))/0xa;if(_0x360edd===_0x5a9d1c)break;else _0x1b5d15['push'](_0x1b5d15['shift']());}catch(_0x2274e5){_0x1b5d15['push'](_0x1b5d15['shift']());}}}(_0xdae0,0x8ca20));import{IconView as _0x2c3097,ListItemButtonView as _0x500ddc}from'ckeditor5/src/ui.js';import{IconDropdownArrow as _0x8b9e31}from'@ckeditor/ckeditor5-icons';export class DropdownMenuButtonWithHighlightView extends _0x500ddc{[_0x41aa6d(0x17f)];constructor(_0x1c1085,_0xb00652){const _0x95fe0c=_0x41aa6d;super(_0x1c1085,_0xb00652);const _0x1670a9=this[_0x95fe0c(0x186)];this[_0x95fe0c(0x17c)]({'withText':!0x0,'role':_0x95fe0c(0x182)}),this[_0x95fe0c(0x17f)]=this[_0x95fe0c(0x18a)](),this[_0x95fe0c(0x181)]({'attributes':{'class':[_0x95fe0c(0x183)],'aria-haspopup':!0x0,'aria-expanded':this[_0x95fe0c(0x186)]['to'](_0x95fe0c(0x179),_0x43de4a=>String(_0x43de4a)),'data-cke-tooltip-disabled':_0x1670a9['to'](_0x95fe0c(0x179))},'on':{'mouseenter':_0x1670a9['to'](_0x95fe0c(0x18b))}});}[_0x41aa6d(0x178)](){const _0x43dcf0=_0x41aa6d;super[_0x43dcf0(0x178)](),this[_0x43dcf0(0x175)][_0x43dcf0(0x17d)](this[_0x43dcf0(0x17f)]);}[_0x41aa6d(0x18a)](){const _0x478f30=_0x41aa6d,_0x2aee06=new _0x2c3097();return _0x2aee06[_0x478f30(0x176)]=_0x8b9e31,_0x2aee06[_0x478f30(0x181)]({'attributes':{'class':_0x478f30(0x187)}}),_0x2aee06;}}
|