@ckeditor/ckeditor5-ai 47.7.3 → 47.7.4
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 +16 -16
- 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.d.ts +21 -14
- 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
|
+
const _0xd1a4b3=_0x564f;(function(_0x4db6e7,_0x5699ea){const _0x3fbd63=_0x564f,_0x5052cd=_0x4db6e7();while(!![]){try{const _0x58c846=parseInt(_0x3fbd63(0x6c))/0x1+parseInt(_0x3fbd63(0x79))/0x2+-parseInt(_0x3fbd63(0x93))/0x3*(-parseInt(_0x3fbd63(0x6d))/0x4)+parseInt(_0x3fbd63(0x82))/0x5*(-parseInt(_0x3fbd63(0xa0))/0x6)+-parseInt(_0x3fbd63(0x86))/0x7+-parseInt(_0x3fbd63(0x7e))/0x8*(parseInt(_0x3fbd63(0x9d))/0x9)+parseInt(_0x3fbd63(0xa6))/0xa;if(_0x58c846===_0x5699ea)break;else _0x5052cd['push'](_0x5052cd['shift']());}catch(_0x1e8504){_0x5052cd['push'](_0x5052cd['shift']());}}}(_0x22bf,0x7a6cc));import _0x32abca from'morphdom';function _0x564f(_0x10faff,_0x1dd000){const _0x22bf72=_0x22bf();return _0x564f=function(_0x564f6b,_0x5d3f36){_0x564f6b=_0x564f6b-0x6c;let _0x14ada8=_0x22bf72[_0x564f6b];return _0x14ada8;},_0x564f(_0x10faff,_0x1dd000);}import{NodeWithChildren as _0x552e7a,Text as _0xa7736d,Element as _0x210d6a,isText as _0x2c0ce2,isDocument as _0x36da8e,isTag as _0x114caa,cloneNode as _0x4b03db,getChildren as _0x4451f2,prepend as _0x4cdcc9,removeElement as _0x4f6066,textContent as _0x35955b,render as _0x4eaf76}from'./htmlparser.js';export class HTMLStreamer{[_0xd1a4b3(0x74)];[_0xd1a4b3(0x8b)]=!0x1;[_0xd1a4b3(0xa7)]=null;[_0xd1a4b3(0x70)]=[];[_0xd1a4b3(0x98)]=0x0;[_0xd1a4b3(0x72)]=null;[_0xd1a4b3(0x8c)]=0x0;constructor(_0x36e611){const _0x13c4e9=_0xd1a4b3;this[_0x13c4e9(0x74)]={'delay':_0x36e611[_0x13c4e9(0x7b)]??0x14,'textNodeStyle':_0x36e611[_0x13c4e9(0x84)],'onStreamUpdate':_0x36e611[_0x13c4e9(0x97)]||(()=>{})};}async[_0xd1a4b3(0xa3)]({document:_0x3865a5,targetElement:_0x4e3d76,abortSignal:_0x26e336}){const _0x3a5f76=_0xd1a4b3;this[_0x3a5f76(0x8b)]&&this[_0x3a5f76(0x99)](),_0x26e336?.[_0x3a5f76(0x9f)](_0x3a5f76(0x6f),this[_0x3a5f76(0x99)][_0x3a5f76(0x89)](this)),this[_0x3a5f76(0xa7)]=_0x4b03db(_0x3865a5,!0x0),this[_0x3a5f76(0x70)]=this[_0x3a5f76(0x76)](),this[_0x3a5f76(0x8b)]=!0x0,this[_0x3a5f76(0x98)]>this[_0x3a5f76(0x70)][_0x3a5f76(0x6e)]&&(this[_0x3a5f76(0x98)]=this[_0x3a5f76(0x70)][_0x3a5f76(0x6e)]);for(let _0x13454a=0x0;_0x13454a<this[_0x3a5f76(0x98)];_0x13454a++)this[_0x3a5f76(0x70)][_0x13454a][_0x3a5f76(0x73)]=!0x0;do{const _0x461560=Date[_0x3a5f76(0x9b)](),_0x335ea6=this[_0x3a5f76(0x70)][this[_0x3a5f76(0x98)]],_0x5260b7=_0x461560-this[_0x3a5f76(0x8c)];if(_0x335ea6){_0x335ea6[_0x3a5f76(0x73)]=!0x0;let _0x580a4e=_0x335ea6[_0x3a5f76(0x92)];for(;_0x580a4e;)_0x580a4e[_0x3a5f76(0x73)]=!0x0,_0x580a4e=_0x580a4e[_0x3a5f76(0x92)];}if(_0x5260b7<this[_0x3a5f76(0x74)][_0x3a5f76(0x7b)])try{const {promise:_0x402dc4,abortController:_0x11e183}=Cs(this[_0x3a5f76(0x74)][_0x3a5f76(0x7b)]-_0x5260b7);this[_0x3a5f76(0x72)]=_0x11e183,await _0x402dc4;}catch(_0x3eeb99){return;}_0x32abca(_0x4e3d76,'<'+_0x4e3d76[_0x3a5f76(0x7d)]+'>'+this[_0x3a5f76(0x81)](this[_0x3a5f76(0xa7)])+'</'+_0x4e3d76[_0x3a5f76(0x7d)]+'>',{'childrenOnly':!0x0}),this[_0x3a5f76(0x74)][_0x3a5f76(0x97)]&&this[_0x3a5f76(0x74)][_0x3a5f76(0x97)](),this[_0x3a5f76(0x98)]++,this[_0x3a5f76(0x8c)]=Date[_0x3a5f76(0x9b)]();}while(this[_0x3a5f76(0x98)]<this[_0x3a5f76(0x70)][_0x3a5f76(0x6e)]);this[_0x3a5f76(0x98)]=this[_0x3a5f76(0x70)][_0x3a5f76(0x6e)],this[_0x3a5f76(0x8b)]=!0x1;}[_0xd1a4b3(0xa8)](){const _0x1bf424=_0xd1a4b3;this[_0x1bf424(0x8b)]=!0x1,this[_0x1bf424(0xa7)]=null,this[_0x1bf424(0x70)]=[],this[_0x1bf424(0x98)]=0x0,this[_0x1bf424(0x72)]=null;}[_0xd1a4b3(0x90)]({targetElement:_0x1d5c03}){const _0x21d3d5=_0xd1a4b3;Array[_0x21d3d5(0x91)](_0x1d5c03[_0x21d3d5(0x77)](_0x21d3d5(0x8d)))[_0x21d3d5(0x83)]()[_0x21d3d5(0xa2)](_0x23a92d=>{const _0x49737d=_0x21d3d5;_0x23a92d[_0x49737d(0xa9)](_0x23a92d[_0x49737d(0x9a)][0x0]);});}[_0xd1a4b3(0x99)](){const _0x2abcfb=_0xd1a4b3;this[_0x2abcfb(0x8b)]=!0x1,this[_0x2abcfb(0x72)]&&(this[_0x2abcfb(0x72)][_0x2abcfb(0x6f)](),this[_0x2abcfb(0x72)]=null);}[_0xd1a4b3(0x81)](_0x492030){const _0x267947=_0xd1a4b3;let _0xa16006='';if(function(_0x4b0033){return _0x36da8e(_0x4b0033);}(_0x492030)){for(const _0x2ddc87 of _0x492030[_0x267947(0x71)])_0xa16006+=this[_0x267947(0x81)](_0x2ddc87);}else{if(Ts(_0x492030)){if(!_0x492030[_0x267947(0x73)])return'';const _0x18b2d3=_0x492030,_0x1eeab8=Object[_0x267947(0x7c)](_0x18b2d3[_0x267947(0x87)])[_0x267947(0xa1)](([_0x124632,_0x3aeb97])=>_0x124632+'=\x22'+_0x3aeb97+'\x22')[_0x267947(0x8a)]('\x20');_0xa16006+='<'+_0x18b2d3[_0x267947(0x7d)]+(_0x1eeab8?'\x20'+_0x1eeab8:'')+'>';for(const _0x11eaaa of _0x4451f2(_0x18b2d3))_0xa16006+=this[_0x267947(0x81)](_0x11eaaa);_0xa16006+='</'+_0x18b2d3[_0x267947(0x7d)]+'>';}else{if(!Ss(_0x492030))return'';if(!_0x492030[_0x267947(0x73)])return'';!function(_0x4eedff){const _0x4531ef=_0x267947;if(!_0x4eedff[_0x4531ef(0x92)]||!Ts(_0x4eedff[_0x4531ef(0x92)]))return!0x1;if(!ys[_0x4531ef(0x80)](_0x4eedff[_0x4531ef(0x92)][_0x4531ef(0x7d)]))return!0x1;return!_0x35955b(_0x4eedff)[_0x4531ef(0x75)](/^\s*[<>]\s*$/);}(_0x492030)?_0xa16006+=_0x4eaf76(_0x492030):_0xa16006+=_0x4eaf76(new _0x210d6a(_0x267947(0x7f),{'data-ck-html-streamer-word-chunk':'','style':this[_0x267947(0x74)][_0x267947(0x84)]},[_0x492030]));}}return _0xa16006;}[_0xd1a4b3(0x76)](){const _0x566023=_0xd1a4b3,_0xf73b50=[];return function(_0x2147e1,_0x5a9796){const _0x3e4cc1=_0x564f,_0x11bfa8=_0x4ec122=>{const _0x507ca4=_0x564f;if(_0x5a9796(_0x4ec122),_0x4ec122 instanceof _0x552e7a)for(let _0x37de69=0x0;_0x37de69<_0x4ec122[_0x507ca4(0x71)][_0x507ca4(0x6e)];_0x37de69++){const _0x9d94cf=_0x4ec122[_0x507ca4(0x71)][_0x37de69];_0x11bfa8(_0x9d94cf);}};for(let _0x454332=0x0;_0x454332<_0x2147e1[_0x3e4cc1(0x71)][_0x3e4cc1(0x6e)];_0x454332++)_0x11bfa8(_0x2147e1[_0x3e4cc1(0x71)][_0x454332]);}(this[_0x566023(0xa7)],_0x501311=>{const _0x72fcec=_0x566023;if(Ss(_0x501311)){const _0x3f1015=this[_0x72fcec(0x96)](_0x501311);_0x3f1015[_0x72fcec(0x6e)]&&_0xf73b50[_0x72fcec(0x7a)](..._0x3f1015);}_0x501311[_0x72fcec(0xa5)]||_0x501311[_0x72fcec(0x78)]||_0xf73b50[_0x72fcec(0x7a)](_0x501311);}),_0xf73b50;}[_0xd1a4b3(0x96)](_0x3228cc){const _0x1be0c5=_0xd1a4b3;if(_0x3228cc[_0x1be0c5(0xa5)]||_0x3228cc[_0x1be0c5(0x78)])return[];const _0xa06553=_0x35955b(_0x3228cc)[_0x1be0c5(0x75)](/(?:\s*\S+\s*)/g),_0x286d85=[];if(_0xa06553&&_0xa06553[_0x1be0c5(0x6e)]>0x1){for(const _0x4df347 of _0xa06553){const _0x4b3c28=new _0xa7736d(_0x4df347);_0x4b3c28[_0x1be0c5(0x78)]=!0x0,_0x4cdcc9(_0x3228cc,_0x4b3c28),_0x286d85[_0x1be0c5(0x7a)](_0x4b3c28);}_0x3228cc[_0x1be0c5(0xa5)]=!0x0,_0x4f6066(_0x3228cc);}return _0x286d85;}}const ys=['p','li','td','th',_0xd1a4b3(0x7f),'h1','h2','h3','h4','h5','h6','b',_0xd1a4b3(0xa4),'i','em',_0xd1a4b3(0x88),_0xd1a4b3(0x94),_0xd1a4b3(0x8e),_0xd1a4b3(0x9c),_0xd1a4b3(0x9e),'a',_0xd1a4b3(0x95),_0xd1a4b3(0x85)];function Ss(_0x4e1103){return _0x2c0ce2(_0x4e1103);}function Ts(_0x3f643e){return _0x114caa(_0x3f643e);}function Cs(_0xf34fa2){const _0x5f3b04=new AbortController();return{'promise':new Promise((_0xa3fad2,_0x50a5b4)=>{const _0x43cc48=_0x564f,_0x58c418=setTimeout(_0xa3fad2,_0xf34fa2);_0x5f3b04[_0x43cc48(0x8f)][_0x43cc48(0x9f)](_0x43cc48(0x6f),()=>{clearTimeout(_0x58c418),_0x50a5b4();});}),'abortController':_0x5f3b04};}function _0x22bf(){const _0x4d4149=['3001240oxFymx','document','reset','replaceWith','544867LEMTbQ','2772rMltSA','length','abort','nodesList','children','timeoutAbortController','shouldBeStreamed','options','match','getParsedDocumentNodeList','querySelectorAll','isWordSplitResult','1889346gfxeCt','push','delay','entries','tagName','16GgiBms','span','includes','renderNode','4445ymZCWw','reverse','textNodeStyle','div','1095990QiaSCi','attribs','mark','bind','join','isStreaming','lastUpdateTime','span[data-ck-html-streamer-word-chunk]','ins','signal','cleanUpAnimations','from','parent','339GiFsfF','del','code','splitTextNodeIntoWordNodes','onStreamUpdate','currentIndex','stop','childNodes','now','sup','3520539aIZELM','sub','addEventListener','2886FgckYz','map','forEach','stream','strong','isWordSplitSource'];_0x22bf=function(){return _0x4d4149;};return _0x22bf();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3ac7ee=_0x5f03;(function(_0x226895,_0x5ee3df){const _0x325a51=_0x5f03,_0x3adaa7=_0x226895();while(!![]){try{const _0x4054dd=-parseInt(_0x325a51(0x185))/0x1*(-parseInt(_0x325a51(0x190))/0x2)+-parseInt(_0x325a51(0x188))/0x3*(-parseInt(_0x325a51(0x1ac))/0x4)+parseInt(_0x325a51(0x1a6))/0x5*(parseInt(_0x325a51(0x1a5))/0x6)+-parseInt(_0x325a51(0x184))/0x7*(-parseInt(_0x325a51(0x192))/0x8)+-parseInt(_0x325a51(0x1aa))/0x9*(-parseInt(_0x325a51(0x193))/0xa)+-parseInt(_0x325a51(0x187))/0xb+-parseInt(_0x325a51(0x180))/0xc;if(_0x4054dd===_0x5ee3df)break;else _0x3adaa7['push'](_0x3adaa7['shift']());}catch(_0x3e0683){_0x3adaa7['push'](_0x3adaa7['shift']());}}}(_0xd227,0x71b5e));const Fs=[_0x3ac7ee(0x19b),_0x3ac7ee(0x19d),_0x3ac7ee(0x195),_0x3ac7ee(0x199)],Us=[_0x3ac7ee(0x18e),_0x3ac7ee(0x1a0),_0x3ac7ee(0x196),_0x3ac7ee(0x1a9),_0x3ac7ee(0x198),_0x3ac7ee(0x194),'\x20'];function _0xd227(){const _0x130c0c=['PageDown','6038037Phphqg','scrollHeight','8AIfklb','6374232mUPAdk','deltaY','type','scrollTo','317849prDDLb','1jqLWIB','includes','1146222YeUpZH','220368URnalB','isRunning','element','start','stop','isUserPaused','ArrowUp','addEventListener','170484MfGblw','_rafUpdate','16BaVQIh','10ppMToJ','End','pointerdown','PageUp','_onUserEvent','Home','keydown','key','wheel','animationFrameId','touchstart','_stop','signal','ArrowDown','destroy','bind','_isAtBottom','abortController','643710nbVzAP','5kNbzBQ','abort','auto'];_0xd227=function(){return _0x130c0c;};return _0xd227();}function _0x5f03(_0x168688,_0x1620a5){const _0xd22721=_0xd227();return _0x5f03=function(_0x5f03cc,_0x29cc72){_0x5f03cc=_0x5f03cc-0x180;let _0x8902a4=_0xd22721[_0x5f03cc];return _0x8902a4;},_0x5f03(_0x168688,_0x1620a5);}export class ScrollManager{[_0x3ac7ee(0x18a)];[_0x3ac7ee(0x19c)];[_0x3ac7ee(0x189)];[_0x3ac7ee(0x1a4)];[_0x3ac7ee(0x18d)];constructor(_0x230ce4){const _0x53e25d=_0x3ac7ee;this[_0x53e25d(0x18a)]=_0x230ce4,this[_0x53e25d(0x19c)]=null,this[_0x53e25d(0x189)]=!0x1,this[_0x53e25d(0x1a4)]=new AbortController(),this[_0x53e25d(0x18d)]=!0x1;for(const _0x294510 of Fs){const _0x316109=_0x53e25d(0x199)!==_0x294510;this[_0x53e25d(0x18a)][_0x53e25d(0x18f)](_0x294510,this[_0x53e25d(0x197)][_0x53e25d(0x1a2)](this),{'passive':_0x316109,'signal':this[_0x53e25d(0x1a4)][_0x53e25d(0x19f)]});}}[_0x3ac7ee(0x18b)](){const _0x5df337=_0x3ac7ee;this[_0x5df337(0x189)]||(this[_0x5df337(0x189)]=!0x0,this[_0x5df337(0x18d)]=!0x1,this[_0x5df337(0x19c)]=requestAnimationFrame(this[_0x5df337(0x191)][_0x5df337(0x1a2)](this)));}[_0x3ac7ee(0x18c)](){requestAnimationFrame(()=>{const _0x2dd102=_0x5f03;this[_0x2dd102(0x19e)]();});}[_0x3ac7ee(0x1a1)](){const _0x2be8ea=_0x3ac7ee;this[_0x2be8ea(0x19e)](),this[_0x2be8ea(0x1a4)][_0x2be8ea(0x1a7)]();}[_0x3ac7ee(0x19e)](){const _0x352211=_0x3ac7ee;null!==this[_0x352211(0x19c)]&&(cancelAnimationFrame(this[_0x352211(0x19c)]),this[_0x352211(0x19c)]=null),this[_0x352211(0x189)]&&(this[_0x352211(0x189)]=!0x1),this[_0x352211(0x18d)]=!0x1;}[_0x3ac7ee(0x197)](_0x46f6c8){const _0xfde233=_0x3ac7ee;if(this[_0xfde233(0x189)]){if(_0xfde233(0x199)===_0x46f6c8[_0xfde233(0x182)]){const _0x5af0b=_0x46f6c8[_0xfde233(0x19a)];if(!Us[_0xfde233(0x186)](_0x5af0b))return;}_0x46f6c8 instanceof WheelEvent?_0x46f6c8[_0xfde233(0x181)]<0x0?this[_0xfde233(0x18d)]=!0x0:this[_0xfde233(0x18d)]=!this[_0xfde233(0x1a3)]():this[_0xfde233(0x18d)]=!0x0;}}[_0x3ac7ee(0x1a3)](){const _0x2cce97=_0x3ac7ee,{scrollTop:_0x23b8d0,scrollHeight:_0x302afe,clientHeight:_0x4a028f}=this[_0x2cce97(0x18a)];return _0x302afe-_0x23b8d0-_0x4a028f<=0x5;}[_0x3ac7ee(0x191)](){const _0x23b724=_0x3ac7ee;this[_0x23b724(0x189)]&&(this[_0x23b724(0x18d)]||this[_0x23b724(0x18a)][_0x23b724(0x183)]({'top':this[_0x23b724(0x18a)][_0x23b724(0x1ab)],'behavior':_0x23b724(0x1a8)}),this[_0x23b724(0x19c)]=requestAnimationFrame(this[_0x23b724(0x191)][_0x23b724(0x1a2)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x5961d0=_0x476e;(function(_0x2171af,_0x1667a4){var _0x127e00=_0x476e,_0x2ab027=_0x2171af();while(!![]){try{var _0x18a03a=-parseInt(_0x127e00(0x129))/0x1*(parseInt(_0x127e00(0x12c))/0x2)+-parseInt(_0x127e00(0x12b))/0x3*(-parseInt(_0x127e00(0x120))/0x4)+-parseInt(_0x127e00(0x124))/0x5+-parseInt(_0x127e00(0x121))/0x6*(parseInt(_0x127e00(0x122))/0x7)+-parseInt(_0x127e00(0x123))/0x8*(parseInt(_0x127e00(0x12a))/0x9)+parseInt(_0x127e00(0x128))/0xa+parseInt(_0x127e00(0x12e))/0xb;if(_0x18a03a===_0x1667a4)break;else _0x2ab027['push'](_0x2ab027['shift']());}catch(_0x182fac){_0x2ab027['push'](_0x2ab027['shift']());}}}(_0x393b,0x91718));import{Plugin as _0x59ce6a}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x8182f3}from'./aitogglebutton/aitogglebuttonui.js';function _0x393b(){var _0xfdf97b=['10382598Xkouxi','12dfjZCi','132YYcKBz','requires','21240923paYiqY','isOfficialPlugin','707416aiepdL','264vxuSsH','39214XhmHOX','8alzYCi','2917700CYfjtq','isPremiumPlugin','pluginName','AIEditorIntegration','4097750kOEIeM','7103orEiaS'];_0x393b=function(){return _0xfdf97b;};return _0x393b();}import{AIChatBalloon as _0x687180}from'../aichat/aichatballoon.js';function _0x476e(_0x4084cd,_0xecd45f){var _0x393b68=_0x393b();return _0x476e=function(_0x476ec3,_0x5c8a7c){_0x476ec3=_0x476ec3-0x11f;var _0x1ded34=_0x393b68[_0x476ec3];return _0x1ded34;},_0x476e(_0x4084cd,_0xecd45f);}import{SuggestionsConversion as _0x361dab}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x59ce6a{static get[_0x5961d0(0x12d)](){return[_0x8182f3,_0x687180,_0x361dab];}static get[_0x5961d0(0x126)](){var _0x43ceec=_0x5961d0;return _0x43ceec(0x127);}static get[_0x5961d0(0x11f)](){return!0x0;}static get[_0x5961d0(0x125)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d0b9b=_0x51c6;(function(_0x579f9e,_0x52c9f9){const _0x41b597=_0x51c6,_0x13a92a=_0x579f9e();while(!![]){try{const _0x479516=parseInt(_0x41b597(0x1ef))/0x1*(parseInt(_0x41b597(0x1f1))/0x2)+-parseInt(_0x41b597(0x1d8))/0x3+-parseInt(_0x41b597(0x1f4))/0x4*(-parseInt(_0x41b597(0x1ee))/0x5)+parseInt(_0x41b597(0x1f6))/0x6+parseInt(_0x41b597(0x1ec))/0x7*(parseInt(_0x41b597(0x1f9))/0x8)+parseInt(_0x41b597(0x1f5))/0x9+-parseInt(_0x41b597(0x1df))/0xa;if(_0x479516===_0x52c9f9)break;else _0x13a92a['push'](_0x13a92a['shift']());}catch(_0x3a3bc3){_0x13a92a['push'](_0x13a92a['shift']());}}}(_0x58ae,0x91bab));import{Plugin as _0x1d1c69}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x9efd10}from'./toggleaicommand.js';import{ButtonView as _0x36e728,MenuBarMenuListItemButtonView as _0x3557ad}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x56027b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4ff23b}from'../../aicore/utils/common-translations.js';function _0x58ae(){const _0x3e372d=['set','add','listenTo','toggleAi','24591580nGciZg','bind','menuitemcheckbox','AI_TOGGLE_BUTTON_LABEL','isPremiumPlugin','locale','AIToggleButtonUI','isOfficialPlugin','editor','pluginName','isEnabled','ck-ai-toggle-button','isOn','6530412ySCMXg','init','90SejhcJ','1KCVPXK','commands','1442526wgZzCa','_createAIUIButton','execute','263352FQoRBp','347796AfDcZN','6418014NDGovX','menuBar:toggleAi','componentFactory','8OnObKx','value','2674533qchmXc','get','requires'];_0x58ae=function(){return _0x3e372d;};return _0x58ae();}import{AITabs as _0x4f0339}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';function _0x51c6(_0x522751,_0x40f97e){const _0x58ae7f=_0x58ae();return _0x51c6=function(_0x51c6c0,_0x3ef3f7){_0x51c6c0=_0x51c6c0-0x1d8;let _0x113228=_0x58ae7f[_0x51c6c0];return _0x113228;},_0x51c6(_0x522751,_0x40f97e);}export class AIToggleButtonUI extends _0x1d1c69{static get[_0x3d0b9b(0x1da)](){return[_0x4f0339];}static get[_0x3d0b9b(0x1e8)](){const _0x4262f6=_0x3d0b9b;return _0x4262f6(0x1e5);}static get[_0x3d0b9b(0x1e6)](){return!0x0;}static get[_0x3d0b9b(0x1e3)](){return!0x0;}[_0x3d0b9b(0x1ed)](){const _0x4c2842=_0x3d0b9b,_0x5e1729=this[_0x4c2842(0x1e7)];_0x5e1729[_0x4c2842(0x1f0)][_0x4c2842(0x1dc)](_0x4c2842(0x1de),new _0x9efd10(_0x5e1729)),_0x5e1729['ui'][_0x4c2842(0x1f8)][_0x4c2842(0x1dc)](_0x4c2842(0x1de),()=>{const _0x14348a=_0x4c2842,_0x105d4f=this[_0x14348a(0x1f2)](_0x36e728);return _0x105d4f[_0x14348a(0x1db)]({'tooltip':!0x0,'class':_0x14348a(0x1ea)}),_0x105d4f;}),_0x5e1729['ui'][_0x4c2842(0x1f8)][_0x4c2842(0x1dc)](_0x4c2842(0x1f7),()=>{const _0x1e9158=_0x4c2842,_0x150cf4=this[_0x1e9158(0x1f2)](_0x3557ad);return _0x150cf4[_0x1e9158(0x1db)]({'role':_0x1e9158(0x1e1)}),_0x150cf4;});}[_0x3d0b9b(0x1f2)](_0x19657a){const _0x4204ec=_0x3d0b9b,_0x3fcaeb=this[_0x4204ec(0x1e7)],_0x1f4680=_0x3fcaeb[_0x4204ec(0x1f0)][_0x4204ec(0x1d9)](_0x4204ec(0x1de)),_0x3ec704=new _0x19657a(_0x3fcaeb[_0x4204ec(0x1e4)]);return _0x3ec704[_0x4204ec(0x1db)]({'label':_0x4ff23b(_0x3fcaeb[_0x4204ec(0x1e4)],_0x4204ec(0x1e2)),'icon':_0x56027b,'isToggleable':!0x0}),_0x3ec704[_0x4204ec(0x1e0)](_0x4204ec(0x1e9))['to'](_0x1f4680),_0x3ec704[_0x4204ec(0x1e0)](_0x4204ec(0x1eb))['to'](_0x1f4680,_0x4204ec(0x1fa),_0x46dfb1=>!!_0x46dfb1),this[_0x4204ec(0x1dd)](_0x3ec704,_0x4204ec(0x1f3),()=>{const _0x5cd5d9=_0x4204ec;_0x1f4680[_0x5cd5d9(0x1f3)]();}),_0x3ec704;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ac9e6=_0x3e89;(function(_0x413b12,_0x53df9f){const _0x395685=_0x3e89,_0x5f75bf=_0x413b12();while(!![]){try{const _0x463990=-parseInt(_0x395685(0x82))/0x1*(parseInt(_0x395685(0x81))/0x2)+-parseInt(_0x395685(0x80))/0x3*(parseInt(_0x395685(0x94))/0x4)+parseInt(_0x395685(0x93))/0x5*(parseInt(_0x395685(0x87))/0x6)+-parseInt(_0x395685(0x85))/0x7+-parseInt(_0x395685(0x95))/0x8*(parseInt(_0x395685(0x90))/0x9)+-parseInt(_0x395685(0x8c))/0xa*(parseInt(_0x395685(0x92))/0xb)+parseInt(_0x395685(0x83))/0xc;if(_0x463990===_0x53df9f)break;else _0x5f75bf['push'](_0x5f75bf['shift']());}catch(_0x5256e0){_0x5f75bf['push'](_0x5f75bf['shift']());}}}(_0x4778,0x351b5));function _0x3e89(_0x132264,_0x356dae){const _0x4778e5=_0x4778();return _0x3e89=function(_0x3e89d2,_0x36a92a){_0x3e89d2=_0x3e89d2-0x80;let _0x5286aa=_0x4778e5[_0x3e89d2];return _0x5286aa;},_0x3e89(_0x132264,_0x356dae);}import{Command as _0x374528}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x374528{constructor(_0x1f1d8c){const _0x3c831c=_0x3e89;super(_0x1f1d8c);const _0x3acc68=_0x1f1d8c[_0x3c831c(0x84)][_0x3c831c(0x88)](_0x3c831c(0x86))[_0x3c831c(0x89)];this[_0x3c831c(0x8a)](_0x3c831c(0x91))['to'](_0x3acc68,_0x3c831c(0x8b)),this[_0x3c831c(0x8e)]=!0x0;}[_0x4ac9e6(0x8d)](){const _0x4eb6d2=_0x4ac9e6,_0x55a4a4=this[_0x4eb6d2(0x8f)][_0x4eb6d2(0x84)][_0x4eb6d2(0x88)](_0x4eb6d2(0x86))[_0x4eb6d2(0x89)];_0x55a4a4[_0x4eb6d2(0x8b)]=!_0x55a4a4[_0x4eb6d2(0x8b)];}}function _0x4778(){const _0x4b43b2=['get','view','bind','isVisible','3298010ViObPx','execute','isEnabled','editor','47934XlQLEZ','value','11yRvPWg','75GiEsIZ','404tDtSwR','392AfZVUJ','5448fCSShD','6694EIreyY','2XazJKs','16775028EKXSRh','plugins','3020003bElUFM','AITabs','12768OmXirk'];_0x4778=function(){return _0x4b43b2;};return _0x4778();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x4d21f4=_0x5cee;function _0x39b4(){var _0x3bc822=['575285lNryOs','ai.quickActions','isPremiumPlugin','4yvJEqj','702670dzxSBW','34167vIKmOf','config','AIQuickActions','4086203bsaAFr','243EoLiTT','requires','59877rULwze','2qhNrAD','define','14gdoSvF','52016InVTmT','583386fwBxWI','pluginName','isOfficialPlugin'];_0x39b4=function(){return _0x3bc822;};return _0x39b4();}(function(_0x4b6ca2,_0x3347b7){var _0x1d486f=_0x5cee,_0x287e78=_0x4b6ca2();while(!![]){try{var _0x102e2b=parseInt(_0x1d486f(0x129))/0x1+-parseInt(_0x1d486f(0x12a))/0x2*(-parseInt(_0x1d486f(0x136))/0x3)+parseInt(_0x1d486f(0x134))/0x4*(parseInt(_0x1d486f(0x131))/0x5)+-parseInt(_0x1d486f(0x12e))/0x6*(-parseInt(_0x1d486f(0x12c))/0x7)+parseInt(_0x1d486f(0x12d))/0x8*(parseInt(_0x1d486f(0x127))/0x9)+-parseInt(_0x1d486f(0x135))/0xa+-parseInt(_0x1d486f(0x126))/0xb;if(_0x102e2b===_0x3347b7)break;else _0x287e78['push'](_0x287e78['shift']());}catch(_0x2fb2a5){_0x287e78['push'](_0x287e78['shift']());}}}(_0x39b4,0x1bfa7));function _0x5cee(_0x8ccb2b,_0x41f25a){var _0x39b47a=_0x39b4();return _0x5cee=function(_0x5ceedb,_0x3ec11b){_0x5ceedb=_0x5ceedb-0x125;var _0x96f2b=_0x39b47a[_0x5ceedb];return _0x96f2b;},_0x5cee(_0x8ccb2b,_0x41f25a);}import{Plugin as _0x5653a}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x438f6c}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x3a2681}from'./aiquickactionsediting.js';import{AIActions as _0x4d4758}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x5653a{static get[_0x4d21f4(0x128)](){return[_0x438f6c,_0x3a2681,_0x4d4758];}static get[_0x4d21f4(0x12f)](){var _0x435180=_0x4d21f4;return _0x435180(0x125);}static get[_0x4d21f4(0x130)](){return!0x0;}static get[_0x4d21f4(0x133)](){return!0x0;}constructor(_0xddf71d){var _0x1fdd2c=_0x4d21f4;super(_0xddf71d),_0xddf71d[_0x1fdd2c(0x137)][_0x1fdd2c(0x12b)](_0x1fdd2c(0x132),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5be08e=_0x59a6;(function(_0x1b5bce,_0x58d8eb){const _0x14714a=_0x59a6,_0x1dea54=_0x1b5bce();while(!![]){try{const _0x5aa6c5=-parseInt(_0x14714a(0x20c))/0x1*(-parseInt(_0x14714a(0x207))/0x2)+parseInt(_0x14714a(0x209))/0x3+-parseInt(_0x14714a(0x229))/0x4*(-parseInt(_0x14714a(0x217))/0x5)+parseInt(_0x14714a(0x22c))/0x6+parseInt(_0x14714a(0x21c))/0x7*(parseInt(_0x14714a(0x215))/0x8)+parseInt(_0x14714a(0x220))/0x9+-parseInt(_0x14714a(0x1fb))/0xa;if(_0x5aa6c5===_0x58d8eb)break;else _0x1dea54['push'](_0x1dea54['shift']());}catch(_0x3d40a2){_0x1dea54['push'](_0x1dea54['shift']());}}}(_0x9a8d,0x5d526));function _0x9a8d(){const _0x157378=['activeTab','_handleAIReviewAction','656IyhRHd','displayedPrompt','getLimitElement','icon','sendMessage','chat','other','locale','view','1904zQsYco','addSelectionToChatContext','5NhHirr','ai-quick-actions-plugin-not-found','ACTION','has','activateTab','14189XlHBtz','get','AIChat','isCollapsed','622611XHQUdE','handleAIReviewAction','log','CHAT','_handleAIActionsAction','schema','change','AIReviewMode','REVIEW','2132132fqoCYQ','isVisible','args','1430484fPHRCr','label','focusPromptInput','document','ask-ai','_handleAIChatAction','AITabs','selection','parent','type','_handleAIActionsActionLabel','AIChatController','editor','actionName','15885770Etzcdi','removeSelectionFromChatContext','model','getSelectedBlocks','setSelection','executeAction','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','execute','startConversation','prompt','plugins','_expandSelectionIfCollapsed','1174SohMxm','AIActions','788097uSKeJy'];_0x9a8d=function(){return _0x157378;};return _0x9a8d();}function _0x59a6(_0x319d94,_0x21cd1d){const _0x9a8d41=_0x9a8d();return _0x59a6=function(_0x59a6f0,_0x556a0c){_0x59a6f0=_0x59a6f0-0x1ee;let _0x2ea4e8=_0x9a8d41[_0x59a6f0];return _0x2ea4e8;},_0x59a6(_0x319d94,_0x21cd1d);}import{Command as _0x2998b0}from'ckeditor5/src/core.js';import{CKEditorError as _0x6c4059,first as _0x37af24}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x269e39}from'./aiquickactionsui.js';import{getTranslation as _0x2d97ca}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x2998b0{[_0x5be08e(0x202)](_0x21c50f){const _0x2ec193=_0x5be08e;switch(this[_0x2ec193(0x206)](),_0x21c50f[_0x2ec193(0x1f6)]){case _0x269e39[_0x2ec193(0x223)]:if(!this[_0x2ec193(0x1f9)][_0x2ec193(0x205)][_0x2ec193(0x21a)](_0x2ec193(0x21e))){const _0x42d465=_0x2d97ca(this[_0x2ec193(0x1f9)][_0x2ec193(0x213)],_0x2ec193(0x201),_0x2ec193(0x21e));throw new _0x6c4059(_0x2ec193(0x218),this[_0x2ec193(0x1f9)],{'errorMessage':_0x42d465});}this[_0x2ec193(0x1f2)](_0x21c50f);break;case _0x269e39[_0x2ec193(0x219)]:if(!this[_0x2ec193(0x1f9)][_0x2ec193(0x205)][_0x2ec193(0x21a)](_0x2ec193(0x208))){const _0x3fc519=_0x2d97ca(this[_0x2ec193(0x1f9)][_0x2ec193(0x213)],_0x2ec193(0x201),_0x2ec193(0x208));throw new _0x6c4059(_0x2ec193(0x218),this[_0x2ec193(0x1f9)],{'errorMessage':_0x3fc519});}this[_0x2ec193(0x224)](_0x21c50f);break;case _0x269e39[_0x2ec193(0x228)]:if(!this[_0x2ec193(0x1f9)][_0x2ec193(0x205)][_0x2ec193(0x21a)](_0x2ec193(0x227))){const _0x391291=_0x2d97ca(this[_0x2ec193(0x1f9)][_0x2ec193(0x213)],_0x2ec193(0x201),_0x2ec193(0x227));throw new _0x6c4059(_0x2ec193(0x218),this[_0x2ec193(0x1f9)],{'errorMessage':_0x391291});}this[_0x2ec193(0x20b)](_0x21c50f);}}async[_0x5be08e(0x1f2)](_0xae1cdd){const _0x42088b=_0x5be08e,_0x3e8956=this[_0x42088b(0x1f9)][_0x42088b(0x205)][_0x42088b(0x21d)](_0x42088b(0x21e)),_0x178e8b=this[_0x42088b(0x1f9)][_0x42088b(0x205)][_0x42088b(0x21d)](_0x42088b(0x1f8)),_0x573836=this[_0x42088b(0x1f9)][_0x42088b(0x205)][_0x42088b(0x21d)](_0x42088b(0x1f3))[_0x42088b(0x214)];if(_0x573836[_0x42088b(0x22a)]||(_0x573836[_0x42088b(0x22a)]=!0x0),_0x42088b(0x211)!==_0x573836[_0x42088b(0x20a)]&&_0x573836[_0x42088b(0x21b)](_0x42088b(0x211)),_0x42088b(0x1f1)===_0xae1cdd['id'])_0x178e8b[_0x42088b(0x1fc)](),await _0x3e8956[_0x42088b(0x216)](),_0x3e8956[_0x42088b(0x1ef)]();else await _0x3e8956[_0x42088b(0x203)](),_0x178e8b[_0x42088b(0x1fc)](),await _0x3e8956[_0x42088b(0x216)](),_0x3e8956[_0x42088b(0x1ef)](),await _0x3e8956[_0x42088b(0x210)]({'message':_0xae1cdd[_0x42088b(0x204)]||_0xae1cdd[_0x42088b(0x20d)],'attributes':{'quickActionData':{'id':_0xae1cdd['id']},'displayedPrompt':_0xae1cdd[_0x42088b(0x20d)]}});}[_0x5be08e(0x206)](){const _0x489ca8=_0x5be08e,_0x1f365f=this[_0x489ca8(0x1f9)],_0x54dfa8=_0x1f365f[_0x489ca8(0x1fd)][_0x489ca8(0x1f0)][_0x489ca8(0x1f4)];if(!_0x54dfa8[_0x489ca8(0x21f)])return;const _0x3c0554=_0x37af24(_0x54dfa8[_0x489ca8(0x1fe)]())||_0x1f365f[_0x489ca8(0x1fd)][_0x489ca8(0x225)][_0x489ca8(0x20e)](_0x54dfa8);_0x1f365f[_0x489ca8(0x1fd)][_0x489ca8(0x226)](_0x498a77=>{const _0x487738=_0x489ca8;_0x498a77[_0x487738(0x1ff)](_0x3c0554,'in');});}[_0x5be08e(0x1f7)](_0x541ed1){const _0x22e9c4=_0x5be08e;return _0x541ed1[_0x22e9c4(0x1f5)]?.[_0x22e9c4(0x1ee)]&&_0x22e9c4(0x212)!==_0x541ed1[_0x22e9c4(0x1f5)]?.['id']?_0x541ed1[_0x22e9c4(0x1f5)][_0x22e9c4(0x1ee)]+':\x20'+_0x541ed1[_0x22e9c4(0x20d)]:_0x541ed1[_0x22e9c4(0x20d)];}async[_0x5be08e(0x224)](_0x2a0a13){const _0xff15f5=_0x5be08e,_0x4f5d08=this[_0xff15f5(0x1f9)][_0xff15f5(0x205)][_0xff15f5(0x21d)](_0xff15f5(0x208)),_0x3eb0dc=_0x2a0a13[_0xff15f5(0x204)]?{'userMessage':_0x2a0a13[_0xff15f5(0x204)],'model':_0x2a0a13[_0xff15f5(0x1fd)]}:{'actionName':_0x2a0a13[_0xff15f5(0x1fa)]||_0x2a0a13['id'],'args':_0x2a0a13[_0xff15f5(0x22b)]},_0x4e1693=this[_0xff15f5(0x1f7)](_0x2a0a13);await _0x4f5d08[_0xff15f5(0x200)](_0x3eb0dc,_0x4e1693,_0x2a0a13[_0xff15f5(0x20f)]);}async[_0x5be08e(0x20b)](_0x13b445){const _0x93a26a=_0x5be08e;console[_0x93a26a(0x222)](_0x93a26a(0x221),_0x13b445);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x9070d7=_0x1054;function _0x3bbd(){const _0x505ee3=['1JtRqse','1902360pEQYWC','304690bABDBY','init','AIChat','234578lvzZuQ','971298LtlAcg','plugins','has','2645195kcIuOy','isPremiumPlugin','pluginName','selection','removeSelectionFromChatContext','aiQuickAction','1183272Zsjqtg','model','change:range','AIQuickActionsEditing','editor','commands','isOfficialPlugin','directChange','document','add','1651656vNDgEs','get'];_0x3bbd=function(){return _0x505ee3;};return _0x3bbd();}function _0x1054(_0x636998,_0x3e7ff4){const _0x3bbdd9=_0x3bbd();return _0x1054=function(_0x1054cb,_0x8e7181){_0x1054cb=_0x1054cb-0x1d8;let _0x578aff=_0x3bbdd9[_0x1054cb];return _0x578aff;},_0x1054(_0x636998,_0x3e7ff4);}(function(_0x4248e2,_0x4609c6){const _0x4e3776=_0x1054,_0x2713c0=_0x4248e2();while(!![]){try{const _0x4aa2f7=-parseInt(_0x4e3776(0x1e7))/0x1*(-parseInt(_0x4e3776(0x1ec))/0x2)+parseInt(_0x4e3776(0x1ed))/0x3+-parseInt(_0x4e3776(0x1db))/0x4+-parseInt(_0x4e3776(0x1e9))/0x5+parseInt(_0x4e3776(0x1e8))/0x6+-parseInt(_0x4e3776(0x1f0))/0x7+parseInt(_0x4e3776(0x1e5))/0x8;if(_0x4aa2f7===_0x4609c6)break;else _0x2713c0['push'](_0x2713c0['shift']());}catch(_0x4ef9de){_0x2713c0['push'](_0x2713c0['shift']());}}}(_0x3bbd,0x3822b));import{Plugin as _0x89a32e}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x2d4e90}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x89a32e{static get[_0x9070d7(0x1f2)](){const _0x9e9d3e=_0x9070d7;return _0x9e9d3e(0x1de);}static get[_0x9070d7(0x1e1)](){return!0x0;}static get[_0x9070d7(0x1f1)](){return!0x0;}[_0x9070d7(0x1ea)](){const _0xdc13f9=_0x9070d7,_0x168933=this[_0xdc13f9(0x1df)],_0x3a5790=new _0x2d4e90(this[_0xdc13f9(0x1df)]);if(_0x168933[_0xdc13f9(0x1e0)][_0xdc13f9(0x1e4)](_0xdc13f9(0x1da),_0x3a5790),_0x168933[_0xdc13f9(0x1ee)][_0xdc13f9(0x1ef)](_0xdc13f9(0x1eb))){const _0x748622=this[_0xdc13f9(0x1df)][_0xdc13f9(0x1ee)][_0xdc13f9(0x1e6)](_0xdc13f9(0x1eb));_0x168933[_0xdc13f9(0x1dc)][_0xdc13f9(0x1e3)][_0xdc13f9(0x1d8)]['on'](_0xdc13f9(0x1dd),(_0x3ea292,_0x2da375)=>{const _0x2a9303=_0xdc13f9;_0x2da375[_0x2a9303(0x1e2)]&&_0x748622[_0x2a9303(0x1d9)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xbcb715=_0x536b;(function(_0x21dff1,_0x1ee5b9){const _0x4b5ee2=_0x536b,_0x169f83=_0x21dff1();while(!![]){try{const _0x17e130=-parseInt(_0x4b5ee2(0x105))/0x1+parseInt(_0x4b5ee2(0xfa))/0x2+-parseInt(_0x4b5ee2(0xe3))/0x3+parseInt(_0x4b5ee2(0xea))/0x4*(-parseInt(_0x4b5ee2(0xd0))/0x5)+-parseInt(_0x4b5ee2(0xfb))/0x6*(-parseInt(_0x4b5ee2(0xfe))/0x7)+-parseInt(_0x4b5ee2(0xa5))/0x8+parseInt(_0x4b5ee2(0xdf))/0x9;if(_0x17e130===_0x1ee5b9)break;else _0x169f83['push'](_0x169f83['shift']());}catch(_0x213cfd){_0x169f83['push'](_0x169f83['shift']());}}}(_0x3243,0x88727));import{IconAIAdjustLength as _0x54ddc1,IconAIChangeTone as _0x4f6977,IconAIChatCommands as _0x2af880,IconAIContinueWriting as _0x4122c8,IconAIGrammarCheck as _0x1641b3,IconAIImproveWriting as _0x5a9f6e,IconAIOther as _0x36119c,IconAIQuickActions as _0xcd496d,IconAITranslate as _0x33d87c}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x5df337}from'ckeditor5/src/core.js';import{CKEditorError as _0x3660,logError as _0x4aad12}from'ckeditor5/src/utils.js';import{getTranslation as _0x31dc0d}from'../aicore/utils/common-translations.js';function _0x3243(){const _0x19da2b=['AI_QUICK_ACTIONS_MORE_CASUAL','AI_QUICK_ACTIONS_MORE_CONFIDENT','<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>','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','forEach','translate-to-english','AI_QUICK_ACTIONS_CHANGE_TONE','portuguese','summarize','AIChat','editing','ai.chat.context.document.enabled','make-tone-confident','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','explain','AI_QUICK_ACTIONS_ADJUST_LENGTH','chinese','_getDefaultAndCustomActions','uiLanguage','translate-to-german','focus','english','get','make-shorter','delegate','fix-grammar','60pQhFSI','push','make-tone-friendly','plugins','AI_QUICK_ACTIONS_TRANSLATE','replace','AIActions','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','displayedPrompt','English','russian','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_HEADING','REVIEW','buttonView','19407249LCtMuz','pluginName','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_IMPROVE_WRITING','230313SbVfKO','translate-to-portuguese','improve-writing','other','add','aiQuickActions','children','143540xEmZxQ','make-tone-casual','values','label','isEnabled','locale','AIConnector','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','set','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','menuBarView','_quickActionsDefinition','<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>','execute','AIReviewMode','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','204462OjsWXg','840168vUoLKq','highlight-key-points','_shouldIncludeAction','7kApEse','filter','getAll','CHAT','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','<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>','type','939682sBvhqE','find','includes','editor','aiQuickAction','translate-to-spanish','japanese','icon','_prepareQuickActionsDefinition','getDefaultQuickActions','continue','AI_QUICK_ACTIONS_MAKE_SHORTER','translate-to-russian','view','make-tone-direct','translate-to-italian','translate-to-french','french','german','change-tone','map','ai.quickActions.extraCommands','some','message','close','length','translate','attachToDom','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','config','chat-commands','AIQuickActionsUI','items','requires','isOfficialPlugin','spanish','DisplayNames','model','korean','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','translate-to-chinese','AI_QUICK_ACTIONS_MAKE_LONGER','adjust-length','_initializeQuickActionsDropdown','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','make-tone-professional','menuitem','_executeQuickAction','panelView','italian','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','has','ai.quickActions.isSearchEnabled','_initializeQuickActionsMenuBar','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_SUMMARIZE','actions','init','AI_QUICK_ACTIONS_MORE_FRIENDLY','ask-ai','isPremiumPlugin','3141280vQwwcR','language','AI_QUICK_ACTIONS_ASK_AI','make-longer','ai-quick-actions-unavailable-model','menu','commands','AI_QUICK_ACTIONS_CHAT_COMMANDS','translate-to-japanese','AI_QUICK_ACTIONS_OTHER','ai-quick-actions-models-unable-to-retrieve','componentFactory','menuBar:aiQuickActions','_initializeQuickActionsComponents','ACTION'];_0x3243=function(){return _0x19da2b;};return _0x3243();}import{aiQuickActionsDropdownCreator as _0x5a7ac0}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x5d0eed}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x48a703,BalloonToolbar as _0x2f32bd,MenuBarMenuView as _0x592187,MenuBarMenuListView as _0x382f7d,MenuBarMenuListItemView as _0x357dba,MenuBarMenuListItemButtonView as _0x218a5a}from'ckeditor5/src/ui.js';import{AIModels as _0x2fc1b8}from'../aicore/model/aimodels.js';import{AIConnector as _0x2e1232}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';function _0x536b(_0x5b5c77,_0xbfe099){const _0x3243fd=_0x3243();return _0x536b=function(_0x536b4e,_0x42452e){_0x536b4e=_0x536b4e-0xa0;let _0x455a47=_0x3243fd[_0x536b4e];return _0x455a47;},_0x536b(_0x5b5c77,_0xbfe099);}const ee=_0xbcb715(0x103),ie=_0xbcb715(0xb6),ne=_0xbcb715(0xf6);export var AIQuickActionType;!function(_0x1f9ed0){const _0x1180c2=_0xbcb715;_0x1f9ed0[_0x1180c2(0x101)]=_0x1180c2(0x101),_0x1f9ed0[_0x1180c2(0xb3)]=_0x1180c2(0xb3),_0x1f9ed0[_0x1180c2(0xdd)]=_0x1180c2(0xdd);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0xb54832){const _0x5052d0=_0xbcb715;_0xb54832[_0x5052d0(0x101)]=_0x5052d0(0xbf),_0xb54832[_0x5052d0(0xb3)]=_0x5052d0(0xd6),_0xb54832[_0x5052d0(0xdd)]=_0x5052d0(0xf8);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x5df337{static get[_0xbcb715(0x128)](){return[_0x2f32bd,_0x2e1232];}static get[_0xbcb715(0xe0)](){const _0x1f4840=_0xbcb715;return _0x1f4840(0x126);}static get[_0xbcb715(0x129)](){return!0x0;}static get[_0xbcb715(0xa4)](){return!0x0;}async[_0xbcb715(0xa1)](){const _0x53983d=_0xbcb715,_0x17b9a5=await this[_0x53983d(0xc7)]();this[_0x53983d(0x10d)](_0x17b9a5),this[_0x53983d(0xe1)]();}static[_0xbcb715(0x10e)](_0x6e5294){return function(_0x156b30){const _0x2c3648=_0x536b,_0x4b1d83=new Intl[(_0x2c3648(0x12b))](['en'],{'type':_0x2c3648(0xa6)})['of'](_0x156b30[_0x2c3648(0xc8)]),_0x281460=_0x4b1d83||_0x2c3648(0xd9),_0x38e733=[{'id':_0x2c3648(0xa3),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xa7)),'type':AIQuickActionType[_0x2c3648(0x101)],'icon':_0x2af880},{'id':_0x2c3648(0x125),'label':_0x31dc0d(_0x156b30,_0x2c3648(0xac)),'icon':_0x2af880,'actions':[{'id':_0x2c3648(0xc4),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xdb)),'prompt':ee[_0x2c3648(0xd5)]('%0',_0x281460),'type':AIQuickActionType[_0x2c3648(0x101)]},{'id':_0x2c3648(0xbe),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x13f)),'prompt':ie[_0x2c3648(0xd5)]('%0',_0x281460),'type':AIQuickActionType[_0x2c3648(0x101)]},{'id':_0x2c3648(0xfc),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xf9)),'prompt':ne[_0x2c3648(0xd5)]('%0',_0x281460),'type':AIQuickActionType[_0x2c3648(0x101)]}]},{'id':_0x2c3648(0xe5),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xe2)),'type':AIQuickActionType[_0x2c3648(0xb3)],'icon':_0x5a9f6e},{'id':_0x2c3648(0x10f),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x122)),'type':AIQuickActionType[_0x2c3648(0xb3)],'icon':_0x4122c8},{'id':_0x2c3648(0xcf),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xb9)),'type':AIQuickActionType[_0x2c3648(0xb3)],'icon':_0x1641b3},{'id':_0x2c3648(0x131),'label':_0x31dc0d(_0x156b30,_0x2c3648(0xc5)),'icon':_0x54ddc1,'actions':[{'id':_0x2c3648(0xcd),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x110)),'type':AIQuickActionType[_0x2c3648(0xb3)]},{'id':_0x2c3648(0xa8),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x130)),'type':AIQuickActionType[_0x2c3648(0xb3)]}]},{'id':_0x2c3648(0x118),'label':_0x31dc0d(_0x156b30,_0x2c3648(0xbc)),'icon':_0x4f6977,'actions':[{'id':_0x2c3648(0xeb),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xb4)),'type':AIQuickActionType[_0x2c3648(0xb3)]},{'id':_0x2c3648(0x113),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x121)),'type':AIQuickActionType[_0x2c3648(0xb3)]},{'id':_0x2c3648(0xd2),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xa2)),'type':AIQuickActionType[_0x2c3648(0xb3)]},{'id':_0x2c3648(0xc2),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xb5)),'type':AIQuickActionType[_0x2c3648(0xb3)]},{'id':_0x2c3648(0x135),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x134)),'type':AIQuickActionType[_0x2c3648(0xb3)]}]},{'id':_0x2c3648(0x11f),'label':_0x31dc0d(_0x156b30,_0x2c3648(0xd4)),'icon':_0x33d87c,'actions':[{'id':_0x2c3648(0xbb),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xd7)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0xcb)}},{'id':_0x2c3648(0x12f),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xf3)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0xc6)}},{'id':_0x2c3648(0x10a),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x13a)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x12a)}},{'id':_0x2c3648(0xc9),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xc3)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x117)}},{'id':_0x2c3648(0x115),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xb8)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x116)}},{'id':_0x2c3648(0xad),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x123)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x10b)}},{'id':_0x2c3648(0xe4),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x133)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0xbd)}},{'id':_0x2c3648(0xb7),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x12e)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x12d)}},{'id':_0x2c3648(0x114),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xf1)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x139)}},{'id':_0x2c3648(0x111),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x102)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0xda)}}]},{'id':_0x2c3648(0xe6),'label':_0x31dc0d(_0x156b30,_0x2c3648(0xae)),'icon':_0x36119c,'actions':[]}];return _0x38e733;}(_0x6e5294);}async[_0xbcb715(0xc7)](){const _0x304068=_0xbcb715,_0x57c724=AIQuickActionsUI[_0x304068(0x10e)](this[_0x304068(0x108)][_0x304068(0xef)]),_0xad09ca=this[_0x304068(0x108)][_0x304068(0x124)][_0x304068(0xcc)](_0x304068(0x11a))||[];let _0x202070=[];try{_0x202070=await new _0x2fc1b8({'connector':this[_0x304068(0x108)][_0x304068(0xd3)][_0x304068(0xcc)](_0x304068(0xf0)),'locale':this[_0x304068(0x108)][_0x304068(0xef)]})[_0x304068(0x100)]();}catch(_0x528d8e){const _0x275af6=new _0x3660(_0x304068(0xaf),this,{'error':_0x528d8e});_0x4aad12(_0x275af6[_0x304068(0x11c)]);}finally{const _0x37f672=_0xad09ca[_0x304068(0x119)](_0x2df003=>({..._0x2df003,'icon':void 0x0}));_0x57c724[_0x304068(0x106)](_0x4a6c3e=>_0x304068(0xe6)===_0x4a6c3e['id'])[_0x304068(0xa0)][_0x304068(0xd1)](..._0x37f672),_0x57c724[_0x304068(0xba)](_0x327e53=>{const _0x4f55b0=_0x304068;if(_0x4f55b0(0xa0)in _0x327e53)_0x327e53[_0x4f55b0(0xa0)][_0x4f55b0(0xba)](_0x320bf2=>{const _0x290990=_0x4f55b0;if(_0x320bf2[_0x290990(0xee)]=!!_0x202070[_0x290990(0x106)](_0x3ce550=>_0x3ce550['id']===_0x320bf2[_0x290990(0x12c)])||void 0x0===_0x320bf2[_0x290990(0x12c)],!_0x320bf2[_0x290990(0xee)]){const _0x1db870=new _0x3660(_0x290990(0xa9),this,{'actionId':_0x320bf2['id'],'modelId':_0x320bf2[_0x290990(0x12c)]});_0x4aad12(_0x1db870[_0x290990(0x11c)]);}});else{if(_0x327e53[_0x4f55b0(0xee)]=!!_0x202070[_0x4f55b0(0x106)](_0x30f0b4=>_0x30f0b4['id']===_0x327e53[_0x4f55b0(0x12c)])||void 0x0===_0x327e53[_0x4f55b0(0x12c)],!_0x327e53[_0x4f55b0(0xee)]){const _0x55bd7c=new _0x3660(_0x4f55b0(0xa9),this,{'actionId':_0x327e53['id'],'modelId':_0x327e53[_0x4f55b0(0x12c)]});_0x4aad12(_0x55bd7c[_0x4f55b0(0x11c)]);}}});}return _0x57c724;}[_0xbcb715(0xe1)](){const _0x52df13=_0xbcb715,_0x874860=new _0x48a703(this[_0x52df13(0x108)][_0x52df13(0xef)]);_0x874860[_0x52df13(0x120)](),this[_0x52df13(0x132)](_0x874860),this[_0x52df13(0x13d)](),this[_0x52df13(0xb2)](_0x874860);}[_0xbcb715(0x132)](_0x1f8295){const _0x5f03a0=_0xbcb715,_0xbc9e7d=this[_0x5f03a0(0x108)][_0x5f03a0(0x124)][_0x5f03a0(0xcc)](_0x5f03a0(0x13c))??!0x0;this[_0x5f03a0(0x108)]['ui'][_0x5f03a0(0xb0)][_0x5f03a0(0xe7)](_0x5f03a0(0xe8),_0x5a7ac0({'editor':this[_0x5f03a0(0x108)],'content':this[_0x5f03a0(0xf5)],'buttonDefinition':{'icon':_0xcd496d,'label':_0x31dc0d(this[_0x5f03a0(0x108)][_0x5f03a0(0xef)],_0x5f03a0(0xdc))},'bodyCollection':_0x1f8295,'hasSearch':_0xbc9e7d}));}[_0xbcb715(0x10d)](_0x3e722f){const _0x34df97=_0xbcb715;this[_0x34df97(0xf5)]=_0x3e722f[_0x34df97(0x119)](_0x4e2e72=>{const _0x187328=_0x34df97;if(_0x187328(0xa0)in _0x4e2e72){const _0x30b143=_0x4e2e72;return{..._0x30b143,'actions':_0x30b143[_0x187328(0xa0)][_0x187328(0x119)](_0xe5b56f=>{const {actions:_0x5b8077,..._0x2bf284}=_0x30b143;return{..._0xe5b56f,'parent':_0x2bf284};})[_0x187328(0xff)](_0x64e7fe=>this[_0x187328(0xfd)](_0x64e7fe))};}return _0x4e2e72;})[_0x34df97(0xff)](_0x726219=>_0x34df97(0xa0)in _0x726219?_0x726219[_0x34df97(0xa0)][_0x34df97(0x11e)]>0x0:this[_0x34df97(0xfd)](_0x726219));}[_0xbcb715(0xfd)](_0x57e292){const _0x1db925=_0xbcb715,_0x1cdc9f=this[_0x1db925(0x108)][_0x1db925(0x124)][_0x1db925(0xcc)](_0x1db925(0x13e))||[];return this[_0x1db925(0x108)][_0x1db925(0xd3)][_0x1db925(0x13b)](AIQuickActionTypeToPluginName[_0x57e292[_0x1db925(0x104)]])&&!_0x1cdc9f[_0x1db925(0x107)](_0x57e292['id'])&&!(_0x57e292[_0x1db925(0x104)]===AIQuickActionType[_0x1db925(0x101)]&&!0x1===this[_0x1db925(0x108)][_0x1db925(0x124)][_0x1db925(0xcc)](_0x1db925(0xc1)));}[_0xbcb715(0xb2)](_0x389fb9){const _0x13c96e=_0xbcb715;this[_0x13c96e(0xf5)][_0x13c96e(0xba)](_0x4a68e5=>{const _0x32c94e=_0x13c96e;if(_0x32c94e(0xa0)in _0x4a68e5){const _0x517ab8=_0x5a7ac0({'editor':this[_0x32c94e(0x108)],'content':_0x4a68e5[_0x32c94e(0xa0)],'buttonDefinition':_0x4a68e5,'bodyCollection':_0x389fb9});this[_0x32c94e(0x108)]['ui'][_0x32c94e(0xb0)][_0x32c94e(0xe7)](_0x4a68e5['id'],_0x517ab8),_0x4a68e5[_0x32c94e(0xa0)][_0x32c94e(0xba)](_0x5aa6bf=>{const _0x7f27be=_0x32c94e,_0x6f9c03=_0x5d0eed({'editor':this[_0x7f27be(0x108)],'action':_0x5aa6bf});this[_0x7f27be(0x108)]['ui'][_0x7f27be(0xb0)][_0x7f27be(0xe7)](_0x5aa6bf['id'],_0x6f9c03);});}else{const _0x1f3c12=_0x5d0eed({'editor':this[_0x32c94e(0x108)],'action':_0x4a68e5,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x32c94e(0x108)]['ui'][_0x32c94e(0xb0)][_0x32c94e(0xe7)](_0x4a68e5['id'],_0x1f3c12);}});}[_0xbcb715(0x13d)](){const _0x59d370=_0xbcb715;this[_0x59d370(0x108)]['ui'][_0x59d370(0xb0)][_0x59d370(0xe7)](_0x59d370(0xb1),_0x5d6310=>{const _0x3375f2=_0x59d370,_0x2623fd=new _0x592187(_0x5d6310),_0x59c579=_0x31dc0d(_0x5d6310,_0x3375f2(0xdc));_0x2623fd[_0x3375f2(0xde)][_0x3375f2(0xf2)]({'label':_0x59c579,'icon':_0xcd496d});const _0x3f8344=new _0x382f7d(_0x5d6310);_0x3f8344[_0x3375f2(0xf2)]({'ariaLabel':_0x59c579,'role':_0x3375f2(0xaa)}),this[_0x3375f2(0xf5)][_0x3375f2(0xba)](_0x10420a=>{const _0x575da3=_0x3375f2;if(_0x575da3(0xa0)in _0x10420a){const _0x2944b9=_0x10420a,_0x14ae40=new _0x357dba(_0x5d6310,_0x2623fd),_0x242fea=new _0x592187(_0x5d6310),_0x323eeb=new _0x382f7d(_0x5d6310);_0x242fea[_0x575da3(0xde)][_0x575da3(0xf2)]({'label':_0x2944b9[_0x575da3(0xed)],'icon':_0x2944b9[_0x575da3(0x10c)]}),_0x2944b9[_0x575da3(0xa0)][_0x575da3(0xba)](_0x2f754a=>{const _0x11e071=_0x575da3,_0x504fa3=new _0x357dba(_0x5d6310,_0x242fea),_0x484c46=new _0x218a5a(_0x5d6310);_0x484c46[_0x11e071(0xf2)]({'label':_0x2f754a[_0x11e071(0xd8)],'icon':_0x2f754a[_0x11e071(0x10c)],'role':_0x11e071(0x136),'isEnabled':_0x2f754a[_0x11e071(0xee)]}),_0x484c46['on'](_0x11e071(0xf7),()=>{const _0x2fb78d=_0x11e071;this[_0x2fb78d(0x137)](_0x2f754a);}),_0x484c46[_0x11e071(0xce)](_0x11e071(0xf7))['to'](_0x242fea),_0x504fa3[_0x11e071(0xe9)][_0x11e071(0xe7)](_0x484c46),_0x323eeb[_0x11e071(0x127)][_0x11e071(0xe7)](_0x504fa3);}),_0x242fea[_0x575da3(0x138)][_0x575da3(0xe9)][_0x575da3(0xe7)](_0x323eeb),_0x14ae40[_0x575da3(0xe9)][_0x575da3(0xe7)](_0x242fea),_0x3f8344[_0x575da3(0x127)][_0x575da3(0xe7)](_0x14ae40);}else{const _0x248824=_0x10420a,_0x3fad12=new _0x357dba(_0x5d6310,_0x2623fd),_0x3d03ea=new _0x218a5a(_0x5d6310);_0x3d03ea[_0x575da3(0xf2)]({'label':_0x248824[_0x575da3(0xd8)],'icon':_0x248824[_0x575da3(0x10c)],'role':_0x575da3(0x136),'isEnabled':_0x248824[_0x575da3(0xee)]}),_0x3d03ea['on'](_0x575da3(0xf7),()=>{const _0x5a0a55=_0x575da3;this[_0x5a0a55(0x137)](_0x248824);}),_0x3d03ea[_0x575da3(0xce)](_0x575da3(0xf7))['to'](_0x2623fd),_0x3fad12[_0x575da3(0xe9)][_0x575da3(0xe7)](_0x3d03ea),_0x3f8344[_0x575da3(0x127)][_0x575da3(0xe7)](_0x3fad12);}});const _0x59cb50=Object[_0x3375f2(0xec)](AIQuickActionTypeToPluginName)[_0x3375f2(0x11b)](_0x50fd6b=>this[_0x3375f2(0x108)][_0x3375f2(0xd3)][_0x3375f2(0x13b)](_0x50fd6b));return _0x2623fd[_0x3375f2(0xf2)]({'isEnabled':_0x59cb50}),_0x2623fd[_0x3375f2(0x138)][_0x3375f2(0xe9)][_0x3375f2(0xe7)](_0x3f8344),_0x2623fd;});}[_0xbcb715(0x137)](_0x1d1ee6){const _0x2d58d1=_0xbcb715,_0x1dd3fd=this[_0x2d58d1(0x108)];_0x1dd3fd[_0x2d58d1(0xc0)][_0x2d58d1(0x112)][_0x2d58d1(0xca)](),_0x1dd3fd[_0x2d58d1(0xab)][_0x2d58d1(0xf7)](_0x2d58d1(0x109),_0x1d1ee6);const _0x25fbf5=_0x1dd3fd['ui'][_0x2d58d1(0x112)][_0x2d58d1(0xf4)];_0x25fbf5&&_0x25fbf5[_0x2d58d1(0x11d)]&&_0x25fbf5[_0x2d58d1(0x11d)]();}}
|
|
23
|
+
const _0x221774=_0x4d93;(function(_0x5875ba,_0x46145a){const _0x36a702=_0x4d93,_0x3b839c=_0x5875ba();while(!![]){try{const _0x2a8275=-parseInt(_0x36a702(0x1ba))/0x1*(parseInt(_0x36a702(0x1c9))/0x2)+parseInt(_0x36a702(0x1ee))/0x3*(parseInt(_0x36a702(0x1ad))/0x4)+parseInt(_0x36a702(0x1f6))/0x5*(parseInt(_0x36a702(0x20d))/0x6)+-parseInt(_0x36a702(0x21e))/0x7*(parseInt(_0x36a702(0x227))/0x8)+parseInt(_0x36a702(0x188))/0x9*(-parseInt(_0x36a702(0x1c4))/0xa)+parseInt(_0x36a702(0x1ce))/0xb*(parseInt(_0x36a702(0x1d6))/0xc)+parseInt(_0x36a702(0x202))/0xd*(parseInt(_0x36a702(0x210))/0xe);if(_0x2a8275===_0x46145a)break;else _0x3b839c['push'](_0x3b839c['shift']());}catch(_0x167e9e){_0x3b839c['push'](_0x3b839c['shift']());}}}(_0x35f6,0xb64d5));import{IconAIAdjustLength as _0x3a49d9,IconAIChangeTone as _0x3b80e1,IconAIChatCommands as _0x1c52a3,IconAIContinueWriting as _0x3c268f,IconAIGrammarCheck as _0x2a27fb,IconAIImproveWriting as _0x5af1f6,IconAIOther as _0x162d91,IconAIQuickActions as _0x3e31a6,IconAITranslate as _0x1f1ffd}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x297270}from'ckeditor5/src/core.js';import{CKEditorError as _0x426fe1,logError as _0x53829b}from'ckeditor5/src/utils.js';function _0x4d93(_0x2bb20f,_0x3f3742){const _0x35f643=_0x35f6();return _0x4d93=function(_0x4d93c7,_0x1ea512){_0x4d93c7=_0x4d93c7-0x186;let _0x25818e=_0x35f643[_0x4d93c7];return _0x25818e;},_0x4d93(_0x2bb20f,_0x3f3742);}import{getTranslation as _0x248f34}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x46a08a}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x401ea4}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x17027d,BalloonToolbar as _0x2eadaa,MenuBarMenuView as _0x24463b,MenuBarMenuListView as _0x1dd6da,MenuBarMenuListItemView as _0x37d7e6,MenuBarMenuListItemButtonView as _0x3de840}from'ckeditor5/src/ui.js';import{AIModels as _0x1319f0}from'../aicore/model/aimodels.js';import{AIConnector as _0x47a7b0}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x221774(0x212),ie=_0x221774(0x229),ne=_0x221774(0x1e9);export var AIQuickActionType;!function(_0x312b53){const _0x73b24d=_0x221774;_0x312b53[_0x73b24d(0x1a7)]=_0x73b24d(0x1a7),_0x312b53[_0x73b24d(0x1b9)]=_0x73b24d(0x1b9),_0x312b53[_0x73b24d(0x1e0)]=_0x73b24d(0x1e0);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x352a1e){const _0x236a80=_0x221774;_0x352a1e[_0x236a80(0x1a7)]=_0x236a80(0x1f0),_0x352a1e[_0x236a80(0x1b9)]=_0x236a80(0x1df),_0x352a1e[_0x236a80(0x1e0)]=_0x236a80(0x1a1);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x35f6(){const _0x547be4=['focus','AI_QUICK_ACTIONS_TRANSLATE','2991ikVEQo','isPremiumPlugin','AIChat','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_MORE_CONFIDENT','ai.quickActions.removeCommands','ai-quick-actions-unavailable-model','make-tone-direct','3290xOmSnj','values','displayedPrompt','map','model','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_OTHER','isEnabled','other','_getDefaultAndCustomActions','label','aiQuickActions','13iRRqft','improve-writing','chinese','filter','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','translate-to-german','attachToDom','change-tone','AI_QUICK_ACTIONS_SUMMARIZE','_initializeQuickActionsComponentsAndCommands','has','11802IdJhpV','AI_QUICK_ACTIONS_ADJUST_LENGTH','make-shorter','13291082VnBdRr','_initializeQuickActionsMenuBar','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','menuBar:aiQuickActions','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','uiLanguage','AI_QUICK_ACTIONS_CHAT_COMMANDS','explain','german','AIQuickActionsUI','make-tone-confident','english','6830719YrKYzW','aiQuickAction','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','menuitem','french','replace','AI_QUICK_ACTIONS_CHANGE_TONE','actions','8kxTokL','children','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_HEADING','init','translate-to-japanese','210573vtecvO','view','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','push','add','isOfficialPlugin','getDefaultQuickActions','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','type','make-tone-casual','continue','_prepareQuickActionsDefinition','execute','korean','some','translate-to-portuguese','ai-quick-actions-models-unable-to-retrieve','translate-to-italian','items','editor','ai.quickActions.extraCommands','summarize','delegate','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AIConnector','AIReviewMode','translate-to-chinese','highlight-key-points','fix-grammar','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_MAKE_LONGER','CHAT','ask-ai','_shouldIncludeAction','find','AI_QUICK_ACTIONS_CONTINUE_WRITING','commands','16MqjUrk','ai.quickActions.isSearchEnabled','portuguese','pluginName','translate-to-spanish','DisplayNames','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','menu','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','plugins','forEach','ACTION','194OWsCkE','translate-to-french','adjust-length','spanish','length','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','get','AI_QUICK_ACTIONS_EXPLAIN','japanese','italian','480wvgRGS','AI_QUICK_ACTIONS_ASK_AI','translate','buttonView','make-longer','4844kVMIwO','menuBarView','make-tone-friendly','includes','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','11745943XJZGFz','message','translate-to-english','locale','AI_QUICK_ACTIONS_MORE_CASUAL','getAll','_executeQuickAction','ai.chat.context.document.enabled','12kHrzCo','set','make-tone-professional','_initializeQuickActionsDropdown','_quickActionsDefinition','AI_QUICK_ACTIONS_MORE_FRIENDLY','English','chat-commands','icon','AIActions','REVIEW','language','config','requires','close','translate-to-russian','panelView','editing','russian','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','componentFactory'];_0x35f6=function(){return _0x547be4;};return _0x35f6();}export class AIQuickActionsUI extends _0x297270{static get[_0x221774(0x1e3)](){return[_0x2eadaa,_0x47a7b0];}static get[_0x221774(0x1b0)](){const _0x29d058=_0x221774;return _0x29d058(0x21b);}static get[_0x221774(0x18d)](){return!0x0;}static get[_0x221774(0x1ef)](){return!0x0;}async[_0x221774(0x186)](){const _0x4a002f=_0x221774,_0x252ea4=await this[_0x4a002f(0x1ff)]();this[_0x4a002f(0x193)](_0x252ea4),this[_0x4a002f(0x20b)]();}static[_0x221774(0x18e)](_0x490611){return function(_0xaad198){const _0x51394e=_0x4d93,_0x295fa6=new Intl[(_0x51394e(0x1b2))](['en'],{'type':_0x51394e(0x1e1)})['of'](_0xaad198[_0x51394e(0x217)]),_0x34c8a9=_0x295fa6||_0x51394e(0x1dc),_0x4bb34e=[{'id':_0x51394e(0x1a8),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1c5)),'type':AIQuickActionType[_0x51394e(0x1a7)],'icon':_0x1c52a3},{'id':_0x51394e(0x1dd),'label':_0x248f34(_0xaad198,_0x51394e(0x218)),'icon':_0x1c52a3,'actions':[{'id':_0x51394e(0x219),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1c1)),'prompt':ee[_0x51394e(0x224)]('%0',_0x34c8a9),'type':AIQuickActionType[_0x51394e(0x1a7)]},{'id':_0x51394e(0x19d),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x20a)),'prompt':ie[_0x51394e(0x224)]('%0',_0x34c8a9),'type':AIQuickActionType[_0x51394e(0x1a7)]},{'id':_0x51394e(0x1a3),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x221)),'prompt':ne[_0x51394e(0x224)]('%0',_0x34c8a9),'type':AIQuickActionType[_0x51394e(0x1a7)]}]},{'id':_0x51394e(0x203),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x215)),'type':AIQuickActionType[_0x51394e(0x1b9)],'icon':_0x5af1f6},{'id':_0x51394e(0x192),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1ab)),'type':AIQuickActionType[_0x51394e(0x1b9)],'icon':_0x3c268f},{'id':_0x51394e(0x1a4),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x19f)),'type':AIQuickActionType[_0x51394e(0x1b9)],'icon':_0x2a27fb},{'id':_0x51394e(0x1bc),'label':_0x248f34(_0xaad198,_0x51394e(0x20e)),'icon':_0x3a49d9,'actions':[{'id':_0x51394e(0x20f),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1f1)),'type':AIQuickActionType[_0x51394e(0x1b9)]},{'id':_0x51394e(0x1c8),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1a6)),'type':AIQuickActionType[_0x51394e(0x1b9)]}]},{'id':_0x51394e(0x209),'label':_0x248f34(_0xaad198,_0x51394e(0x225)),'icon':_0x3b80e1,'actions':[{'id':_0x51394e(0x191),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1d2)),'type':AIQuickActionType[_0x51394e(0x1b9)]},{'id':_0x51394e(0x1f5),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1fb)),'type':AIQuickActionType[_0x51394e(0x1b9)]},{'id':_0x51394e(0x1cb),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1db)),'type':AIQuickActionType[_0x51394e(0x1b9)]},{'id':_0x51394e(0x21c),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1f2)),'type':AIQuickActionType[_0x51394e(0x1b9)]},{'id':_0x51394e(0x1d8),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1b3)),'type':AIQuickActionType[_0x51394e(0x1b9)]}]},{'id':_0x51394e(0x1c6),'label':_0x248f34(_0xaad198,_0x51394e(0x1ed)),'icon':_0x1f1ffd,'actions':[{'id':_0x51394e(0x1d0),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x18f)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x21d)}},{'id':_0x51394e(0x1a2),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x214)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x204)}},{'id':_0x51394e(0x1b1),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1cd)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x1bd)}},{'id':_0x51394e(0x207),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1b6)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x21a)}},{'id':_0x51394e(0x1bb),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1bf)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x223)}},{'id':_0x51394e(0x187),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x206)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x1c2)}},{'id':_0x51394e(0x197),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1a5)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x1af)}},{'id':_0x51394e(0x1b5),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x18a)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x195)}},{'id':_0x51394e(0x199),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x216)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x1c3)}},{'id':_0x51394e(0x1e5),'displayedPrompt':_0x248f34(_0xaad198,_0x51394e(0x1ea)),'type':AIQuickActionType[_0x51394e(0x1b9)],'actionName':_0x51394e(0x1c6),'args':{'language':_0x51394e(0x1e8)}}]},{'id':_0x51394e(0x1fe),'label':_0x248f34(_0xaad198,_0x51394e(0x1fc)),'icon':_0x162d91,'actions':[]}];return _0x4bb34e;}(_0x490611);}async[_0x221774(0x1ff)](){const _0x5ba6c6=_0x221774,_0x5f561d=AIQuickActionsUI[_0x5ba6c6(0x18e)](this[_0x5ba6c6(0x19b)][_0x5ba6c6(0x1d1)]),_0x28ef9f=this[_0x5ba6c6(0x19b)][_0x5ba6c6(0x1e2)][_0x5ba6c6(0x1c0)](_0x5ba6c6(0x19c))||[];let _0xa4ea1c=[];try{_0xa4ea1c=await new _0x1319f0({'connector':this[_0x5ba6c6(0x19b)][_0x5ba6c6(0x1b7)][_0x5ba6c6(0x1c0)](_0x5ba6c6(0x1a0)),'locale':this[_0x5ba6c6(0x19b)][_0x5ba6c6(0x1d1)]})[_0x5ba6c6(0x1d3)]();}catch(_0x5285ff){const _0x5c0d83=new _0x426fe1(_0x5ba6c6(0x198),this,{'error':_0x5285ff});_0x53829b(_0x5c0d83[_0x5ba6c6(0x1cf)]);}finally{const _0x27ed8b=_0x28ef9f[_0x5ba6c6(0x1f9)](_0x492610=>({..._0x492610,'icon':void 0x0}));_0x5f561d[_0x5ba6c6(0x1aa)](_0x1bba19=>_0x5ba6c6(0x1fe)===_0x1bba19['id'])[_0x5ba6c6(0x226)][_0x5ba6c6(0x18b)](..._0x27ed8b),_0x5f561d[_0x5ba6c6(0x1b8)](_0x5d94ae=>{const _0x3ef914=_0x5ba6c6;if(_0x3ef914(0x226)in _0x5d94ae)_0x5d94ae[_0x3ef914(0x226)][_0x3ef914(0x1b8)](_0x289fd7=>{const _0xd9d65a=_0x3ef914;if(_0x289fd7[_0xd9d65a(0x1fd)]=!!_0xa4ea1c[_0xd9d65a(0x1aa)](_0x12c7c3=>_0x12c7c3['id']===_0x289fd7[_0xd9d65a(0x1fa)])||void 0x0===_0x289fd7[_0xd9d65a(0x1fa)],!_0x289fd7[_0xd9d65a(0x1fd)]){const _0x45ffeb=new _0x426fe1(_0xd9d65a(0x1f4),this,{'actionId':_0x289fd7['id'],'modelId':_0x289fd7[_0xd9d65a(0x1fa)]});_0x53829b(_0x45ffeb[_0xd9d65a(0x1cf)]);}});else{if(_0x5d94ae[_0x3ef914(0x1fd)]=!!_0xa4ea1c[_0x3ef914(0x1aa)](_0x1b7ed0=>_0x1b7ed0['id']===_0x5d94ae[_0x3ef914(0x1fa)])||void 0x0===_0x5d94ae[_0x3ef914(0x1fa)],!_0x5d94ae[_0x3ef914(0x1fd)]){const _0x1a1d8c=new _0x426fe1(_0x3ef914(0x1f4),this,{'actionId':_0x5d94ae['id'],'modelId':_0x5d94ae[_0x3ef914(0x1fa)]});_0x53829b(_0x1a1d8c[_0x3ef914(0x1cf)]);}}});}return _0x5f561d;}[_0x221774(0x20b)](){const _0x1959dc=_0x221774,_0x380bc3=new _0x17027d(this[_0x1959dc(0x19b)][_0x1959dc(0x1d1)]);_0x380bc3[_0x1959dc(0x208)](),this[_0x1959dc(0x1d9)](_0x380bc3),this[_0x1959dc(0x211)](),this[_0x1959dc(0x220)](_0x380bc3);}[_0x221774(0x1d9)](_0x144b53){const _0x38759d=_0x221774,_0x1aa4c9=this[_0x38759d(0x19b)][_0x38759d(0x1e2)][_0x38759d(0x1c0)](_0x38759d(0x1ae))??!0x0;this[_0x38759d(0x19b)]['ui'][_0x38759d(0x1eb)][_0x38759d(0x18c)](_0x38759d(0x201),_0x46a08a({'editor':this[_0x38759d(0x19b)],'content':this[_0x38759d(0x1da)],'buttonDefinition':{'icon':_0x3e31a6,'label':_0x248f34(this[_0x38759d(0x19b)][_0x38759d(0x1d1)],_0x38759d(0x22a))},'bodyCollection':_0x144b53,'hasSearch':_0x1aa4c9}));}[_0x221774(0x193)](_0x16e258){const _0x2acd02=_0x221774;this[_0x2acd02(0x1da)]=_0x16e258[_0x2acd02(0x1f9)](_0x980334=>{const _0x4c5761=_0x2acd02;if(_0x4c5761(0x226)in _0x980334){const _0x3ac9a0=_0x980334;return{..._0x3ac9a0,'actions':_0x3ac9a0[_0x4c5761(0x226)][_0x4c5761(0x1f9)](_0x5c067c=>{const {actions:_0x2b2c8b,..._0x318e36}=_0x3ac9a0;return{..._0x5c067c,'parent':_0x318e36};})[_0x4c5761(0x205)](_0x1e16c9=>this[_0x4c5761(0x1a9)](_0x1e16c9))};}return _0x980334;})[_0x2acd02(0x205)](_0x1f7736=>_0x2acd02(0x226)in _0x1f7736?_0x1f7736[_0x2acd02(0x226)][_0x2acd02(0x1be)]>0x0:this[_0x2acd02(0x1a9)](_0x1f7736));}[_0x221774(0x1a9)](_0x471cb7){const _0x277015=_0x221774,_0x55a6d7=this[_0x277015(0x19b)][_0x277015(0x1e2)][_0x277015(0x1c0)](_0x277015(0x1f3))||[];return this[_0x277015(0x19b)][_0x277015(0x1b7)][_0x277015(0x20c)](AIQuickActionTypeToPluginName[_0x471cb7[_0x277015(0x190)]])&&!_0x55a6d7[_0x277015(0x1cc)](_0x471cb7['id'])&&!(_0x471cb7[_0x277015(0x190)]===AIQuickActionType[_0x277015(0x1a7)]&&!0x1===this[_0x277015(0x19b)][_0x277015(0x1e2)][_0x277015(0x1c0)](_0x277015(0x1d5)));}[_0x221774(0x220)](_0x2b89e7){const _0x32e959=_0x221774;this[_0x32e959(0x1da)][_0x32e959(0x1b8)](_0x6e89f5=>{const _0x10455b=_0x32e959;if(_0x10455b(0x226)in _0x6e89f5){const _0x2b159b=_0x46a08a({'editor':this[_0x10455b(0x19b)],'content':_0x6e89f5[_0x10455b(0x226)],'buttonDefinition':_0x6e89f5,'bodyCollection':_0x2b89e7});this[_0x10455b(0x19b)]['ui'][_0x10455b(0x1eb)][_0x10455b(0x18c)](_0x6e89f5['id'],_0x2b159b),_0x6e89f5[_0x10455b(0x226)][_0x10455b(0x1b8)](_0x5c6f08=>{const _0x201c66=_0x10455b,_0x42f355=_0x401ea4({'editor':this[_0x201c66(0x19b)],'action':_0x5c6f08});this[_0x201c66(0x19b)]['ui'][_0x201c66(0x1eb)][_0x201c66(0x18c)](_0x5c6f08['id'],_0x42f355);});}else{const _0xd8f967=_0x401ea4({'editor':this[_0x10455b(0x19b)],'action':_0x6e89f5,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x10455b(0x19b)]['ui'][_0x10455b(0x1eb)][_0x10455b(0x18c)](_0x6e89f5['id'],_0xd8f967);}});}[_0x221774(0x211)](){const _0xe0dc9e=_0x221774;this[_0xe0dc9e(0x19b)]['ui'][_0xe0dc9e(0x1eb)][_0xe0dc9e(0x18c)](_0xe0dc9e(0x213),_0x530703=>{const _0xce290d=_0xe0dc9e,_0x4af217=new _0x24463b(_0x530703),_0x2deadc=_0x248f34(_0x530703,_0xce290d(0x22a));_0x4af217[_0xce290d(0x1c7)][_0xce290d(0x1d7)]({'label':_0x2deadc,'icon':_0x3e31a6});const _0x5b184b=new _0x1dd6da(_0x530703);_0x5b184b[_0xce290d(0x1d7)]({'ariaLabel':_0x2deadc,'role':_0xce290d(0x1b4)}),this[_0xce290d(0x1da)][_0xce290d(0x1b8)](_0x47529a=>{const _0x488366=_0xce290d;if(_0x488366(0x226)in _0x47529a){const _0x36c65f=_0x47529a,_0x2ba24b=new _0x37d7e6(_0x530703,_0x4af217),_0x2cd670=new _0x24463b(_0x530703),_0x457ff8=new _0x1dd6da(_0x530703);_0x2cd670[_0x488366(0x1c7)][_0x488366(0x1d7)]({'label':_0x36c65f[_0x488366(0x200)],'icon':_0x36c65f[_0x488366(0x1de)]}),_0x36c65f[_0x488366(0x226)][_0x488366(0x1b8)](_0x563602=>{const _0x121971=_0x488366,_0x20bf54=new _0x37d7e6(_0x530703,_0x2cd670),_0x2ac3d9=new _0x3de840(_0x530703);_0x2ac3d9[_0x121971(0x1d7)]({'label':_0x563602[_0x121971(0x1f8)],'icon':_0x563602[_0x121971(0x1de)],'role':_0x121971(0x222),'isEnabled':_0x563602[_0x121971(0x1fd)]}),_0x2ac3d9['on'](_0x121971(0x194),()=>{const _0x4d8175=_0x121971;this[_0x4d8175(0x1d4)](_0x563602);}),_0x2ac3d9[_0x121971(0x19e)](_0x121971(0x194))['to'](_0x2cd670),_0x20bf54[_0x121971(0x228)][_0x121971(0x18c)](_0x2ac3d9),_0x457ff8[_0x121971(0x19a)][_0x121971(0x18c)](_0x20bf54);}),_0x2cd670[_0x488366(0x1e6)][_0x488366(0x228)][_0x488366(0x18c)](_0x457ff8),_0x2ba24b[_0x488366(0x228)][_0x488366(0x18c)](_0x2cd670),_0x5b184b[_0x488366(0x19a)][_0x488366(0x18c)](_0x2ba24b);}else{const _0x91e21c=_0x47529a,_0x5c9b50=new _0x37d7e6(_0x530703,_0x4af217),_0x1b8401=new _0x3de840(_0x530703);_0x1b8401[_0x488366(0x1d7)]({'label':_0x91e21c[_0x488366(0x1f8)],'icon':_0x91e21c[_0x488366(0x1de)],'role':_0x488366(0x222),'isEnabled':_0x91e21c[_0x488366(0x1fd)]}),_0x1b8401['on'](_0x488366(0x194),()=>{const _0x5aa1e9=_0x488366;this[_0x5aa1e9(0x1d4)](_0x91e21c);}),_0x1b8401[_0x488366(0x19e)](_0x488366(0x194))['to'](_0x4af217),_0x5c9b50[_0x488366(0x228)][_0x488366(0x18c)](_0x1b8401),_0x5b184b[_0x488366(0x19a)][_0x488366(0x18c)](_0x5c9b50);}});const _0x20b561=Object[_0xce290d(0x1f7)](AIQuickActionTypeToPluginName)[_0xce290d(0x196)](_0x2091fc=>this[_0xce290d(0x19b)][_0xce290d(0x1b7)][_0xce290d(0x20c)](_0x2091fc));return _0x4af217[_0xce290d(0x1d7)]({'isEnabled':_0x20b561}),_0x4af217[_0xce290d(0x1e6)][_0xce290d(0x228)][_0xce290d(0x18c)](_0x5b184b),_0x4af217;});}[_0x221774(0x1d4)](_0x2c3d38){const _0xa2d0c0=_0x221774,_0x3298fb=this[_0xa2d0c0(0x19b)];_0x3298fb[_0xa2d0c0(0x1e7)][_0xa2d0c0(0x189)][_0xa2d0c0(0x1ec)](),_0x3298fb[_0xa2d0c0(0x1ac)][_0xa2d0c0(0x194)](_0xa2d0c0(0x21f),_0x2c3d38);const _0x282d8a=_0x3298fb['ui'][_0xa2d0c0(0x189)][_0xa2d0c0(0x1ca)];_0x282d8a&&_0x282d8a[_0xa2d0c0(0x1e4)]&&_0x282d8a[_0xa2d0c0(0x1e4)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4e29de,_0x3567cb){const _0x55acd0=_0x11e8,_0x18c15f=_0x4e29de();while(!![]){try{const _0x2edff5=parseInt(_0x55acd0(0x122))/0x1*(parseInt(_0x55acd0(0x123))/0x2)+-parseInt(_0x55acd0(0x12d))/0x3*(parseInt(_0x55acd0(0x13f))/0x4)+parseInt(_0x55acd0(0x134))/0x5*(-parseInt(_0x55acd0(0x128))/0x6)+-parseInt(_0x55acd0(0x137))/0x7*(parseInt(_0x55acd0(0x13d))/0x8)+parseInt(_0x55acd0(0x13b))/0x9*(parseInt(_0x55acd0(0x130))/0xa)+-parseInt(_0x55acd0(0x12e))/0xb*(parseInt(_0x55acd0(0x136))/0xc)+-parseInt(_0x55acd0(0x126))/0xd*(-parseInt(_0x55acd0(0x13e))/0xe);if(_0x2edff5===_0x3567cb)break;else _0x18c15f['push'](_0x18c15f['shift']());}catch(_0x45aab4){_0x18c15f['push'](_0x18c15f['shift']());}}}(_0x5e30,0x74a42));import{ButtonView as _0x4d19bd}from'ckeditor5/src/ui.js';function _0x5e30(){const _0x4a9152=['4QsVaON','19xwWrRR','7752ayQLaz','menuitem','view','37258273iuzItZ','ck-ai-quick-actions-button','210jFgExu','focus','bindTemplate','isEnabled','parent','1976775ydoaLb','2893iGgvuQ','execute','20PFOwrB','extendTemplate','displayedPrompt','locale','82415BxoCwY','aiQuickAction','23172yFLCQt','13951SGlDNT','editing','icon','set','588591eJENaE','commands','3408LISfsR','14RAPCTW'];_0x5e30=function(){return _0x4a9152;};return _0x5e30();}function _0x11e8(_0x35d63a,_0x467553){const _0x5e30f8=_0x5e30();return _0x11e8=function(_0x11e862,_0x5c7640){_0x11e862=_0x11e862-0x122;let _0xb5c415=_0x5e30f8[_0x11e862];return _0xb5c415;},_0x11e8(_0x35d63a,_0x467553);}import{IconAIQuickActions as _0x397571}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x2ce063){const {editor:_0x4d99bb,action:_0x30db63,withText:_0xd3959=!0x1,withIcon:_0x447da3=!0x0,isInDropdown:_0x269180=!0x0,shouldPreventFocus:_0x414651=!0x1}=_0x2ce063;return()=>{const _0x3b3333=_0x11e8,_0x3499b0=_0x4d99bb[_0x3b3333(0x133)],_0x386285=new _0x4d19bd(_0x3499b0),_0x2b4bf7=_0x386285[_0x3b3333(0x12a)];_0x269180&&_0x386285[_0x3b3333(0x131)]({'on':{'mouseenter':_0x2b4bf7['to'](()=>{const _0x597bad=_0x3b3333;_0x414651&&_0x414651()||_0x386285[_0x597bad(0x129)]();})}});const _0x2ae2e9=_0x30db63[_0x3b3333(0x139)]??_0x30db63[_0x3b3333(0x12c)]?.[_0x3b3333(0x139)];return _0x386285[_0x3b3333(0x13a)]({'label':_0x30db63[_0x3b3333(0x132)],'withText':_0xd3959,'role':_0x3b3333(0x124),'icon':_0x447da3?_0x2ae2e9??_0x397571:void 0x0,'tooltip':!_0xd3959,'class':_0x3b3333(0x127),'isEnabled':_0x30db63[_0x3b3333(0x12b)]}),_0x386285['on'](_0x3b3333(0x12f),()=>{const _0x582018=_0x3b3333;_0x4d99bb[_0x582018(0x138)][_0x582018(0x125)][_0x582018(0x129)](),_0x4d99bb[_0x582018(0x13c)][_0x582018(0x12f)](_0x582018(0x135),_0x30db63);}),_0x386285;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x41295f=_0x5bfc;(function(_0x5a5faf,_0x16d5b5){const _0x2d6cc6=_0x5bfc,_0x528d18=_0x5a5faf();while(!![]){try{const _0xb317d8=parseInt(_0x2d6cc6(0x1b1))/0x1*(-parseInt(_0x2d6cc6(0x194))/0x2)+parseInt(_0x2d6cc6(0x1c0))/0x3+-parseInt(_0x2d6cc6(0x19f))/0x4*(-parseInt(_0x2d6cc6(0x1c7))/0x5)+parseInt(_0x2d6cc6(0x149))/0x6*(-parseInt(_0x2d6cc6(0x1c2))/0x7)+parseInt(_0x2d6cc6(0x1cf))/0x8+parseInt(_0x2d6cc6(0x15b))/0x9+parseInt(_0x2d6cc6(0x19d))/0xa*(-parseInt(_0x2d6cc6(0x16a))/0xb);if(_0xb317d8===_0x16d5b5)break;else _0x528d18['push'](_0x528d18['shift']());}catch(_0x4ae9ae){_0x528d18['push'](_0x528d18['shift']());}}}(_0x6a22,0xdc765));import{View as _0x175687,ListItemView as _0x418749,ListView as _0x4a04ed,BalloonPanelView as _0x11e77d,DropdownMenuPanelPositioningFunctions as _0x24667e,ViewCollection as _0x48c253,FocusCycler as _0x5d5f4d,ButtonView as _0x4a837b,IconView as _0x1f3fe7,HighlightedTextView as _0x2be017,ButtonLabelWithHighlightView as _0x43a709,SearchTextView as _0x221a20}from'ckeditor5/src/ui.js';function _0x6a22(){const _0x49245e=['ck-ai-quick-actions-search-result__group-row','add','menu','ck-reset_all','.ck-ai-quick-actions-group-button','get','_allSearchableItems','_searchTextView','detachFromDom','ownerDocument','first','ck-ai-quick-actions-button__group-icon','_createSearchResultActionButton','ck-ai-quick-actions-button_with-group__close-paren','3941112KxpoEr','some','8244089sEFRDA','_handlePanelKeydown','_focusables','isOn','closest','2967985rHFifH','_createGroupActionsList','ck-button_with-text','destroy','aiQuickAction','contains','hide','reset','4193496nvdfNL','button','element','6SOzsfp','icon','execute','_createSearchResultGroupedActionButton','_createActionButton','pin','.ck-ai-quick-actions-group-panel','optionsListView','mouseleave','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','addMany','push','_hideAllNestedPanels','span','_isMovingToNestedMenu','editing','ck-ai-quick-actions-search','_createSearchResultContentView','15639525pgNqkH','ck-ai-quick-actions-group-panel','keystrokes','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','menuitem','text','_createActionGroupButton','addEventListener','commands','_getButtonKeystroke','ck-ai-quick-actions-button','items','ck-dropdown-menu__nested-menu__panel','chain','delete','11492679yUPSqi','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','queryView','parent','ck-button','_createSearchTextView','isVisible','clear','fire','setTemplate','_showNestedPanel','bind','focusCycler','displayedPrompt','_createSearchResultGroupRow','_setupActionButtonExecution','ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions-group-button','_isSearchFocused','key','ck-ai-quick-actions','fieldView','ck-ai-quick-actions-group-list','extendTemplate','forEach','ArrowRight','isEnabled','_handleSearchResultButtonClick','AI_QUICK_ACTIONS_SEARCH','show','label','activeElement','ck-ai-quick-actions-search-result__content','ck-dropdown-menu-list','children','set','render','uiLanguageDirection','bindTemplate','focus','_getPanelKeystroke','locale','3274562tZPiLf','ArrowLeft','ck-ai-quick-actions-button_with-group','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_setupGroupMenuBehavior','_openNestedPanels','ck-ai-quick-actions-search-result__action-row','eastSouth','_hasSearch','10jIIMDV','ck-ai-quick-actions-button_with-group__open-paren','8WAShdS','_createListItems','content','relatedTarget','ck-ai-quick-actions-search-result-button','view','rtl','_bodyCollection','role','_createSearchResultIndividualActionButton','resetSearch','.ck-ai-quick-actions-group-list','actions','div','ck-rounded-corners','_createSearchResultActionRow','focusTracker','_hideNestedPanel','1hXhSfY'];_0x6a22=function(){return _0x49245e;};return _0x6a22();}import{IconAIQuickActions as _0x4546e8}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x8c0ec4,KeystrokeHandler as _0x4590d8}from'ckeditor5/src/utils.js';function _0x5bfc(_0x326e89,_0x1bc3c0){const _0x6a228d=_0x6a22();return _0x5bfc=function(_0x5bfcf1,_0x31c6ca){_0x5bfcf1=_0x5bfcf1-0x149;let _0x54d762=_0x6a228d[_0x5bfcf1];return _0x54d762;},_0x5bfc(_0x326e89,_0x1bc3c0);}import{aiQuickActionsButtonCreator as _0x174688}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x56be4e}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x43102f}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x34d511}from'./aiquickactionsfilteredlistview.js';const Qs=_0x41295f(0x1b4),Gs=_0x41295f(0x15f);export class AIQuickActionsDropdownContentView extends _0x175687{[_0x41295f(0x1a6)];[_0x41295f(0x150)];[_0x41295f(0x1b9)]=null;[_0x41295f(0x1b8)]=[];[_0x41295f(0x18c)];[_0x41295f(0x1af)];[_0x41295f(0x15d)];[_0x41295f(0x1c4)];[_0x41295f(0x176)];[_0x41295f(0x199)]=new Set();[_0x41295f(0x19c)];constructor(_0x173a88,_0x37a279,_0x12655f,_0x3e0d72,_0x252605=!0x1){const _0x207989=_0x41295f,_0x759dd6=_0x173a88[_0x207989(0x193)];super(_0x759dd6),this[_0x207989(0x1a6)]=_0x3e0d72,this[_0x207989(0x19c)]=_0x252605;const _0x127b3f=this[_0x207989(0x1a0)](_0x173a88,_0x37a279,_0x12655f);this[_0x207989(0x150)]=new _0x34d511(_0x759dd6,_0x127b3f,this[_0x207989(0x1b8)]),this[_0x207989(0x150)][_0x207989(0x1a7)]=Qs,this[_0x207989(0x150)][_0x207989(0x166)][_0x207989(0x153)](_0x127b3f),this[_0x207989(0x1af)]=new _0x8c0ec4(),this[_0x207989(0x15d)]=new _0x4590d8(),_0x252605&&(this[_0x207989(0x1b9)]=this[_0x207989(0x16f)]()),this[_0x207989(0x1c4)]=_0x127b3f,this[_0x207989(0x176)]=new _0x5d5f4d({'focusables':this[_0x207989(0x1c4)],'focusTracker':this[_0x207989(0x1af)],'keystrokeHandler':this[_0x207989(0x15d)]}),_0x252605&&this[_0x207989(0x1b9)]&&this[_0x207989(0x176)][_0x207989(0x168)](this[_0x207989(0x1b9)][_0x207989(0x176)]);const _0x37a00a=_0x252605&&this[_0x207989(0x1b9)]?[this[_0x207989(0x1b9)]]:[this[_0x207989(0x150)]];this[_0x207989(0x18c)]=new _0x48c253(_0x37a00a),this[_0x207989(0x173)]({'tag':_0x207989(0x1ac),'attributes':{'class':['ck',_0x207989(0x1b5),_0x207989(0x17e),_0x207989(0x1ad)],'dir':_0x759dd6[_0x207989(0x18f)]},'children':this[_0x207989(0x18c)]});}[_0x41295f(0x16f)](){const _0x446326=_0x41295f;return new _0x221a20(this[_0x446326(0x193)],{'filteredView':this[_0x446326(0x150)],'queryView':{'label':_0x43102f(this[_0x446326(0x193)],_0x446326(0x186))},'class':_0x446326(0x159),'infoView':{'text':{'notFound':{'primary':_0x43102f(this[_0x446326(0x193)],_0x446326(0x197))}}}});}[_0x41295f(0x17c)](){const _0x22178d=_0x41295f;if(!this[_0x22178d(0x19c)]||!this[_0x22178d(0x1b9)]||!this[_0x22178d(0x1b9)][_0x22178d(0x16c)][_0x22178d(0x17f)][_0x22178d(0x1d1)])return!0x1;const _0x3786db=this[_0x22178d(0x1b9)][_0x22178d(0x16c)][_0x22178d(0x17f)][_0x22178d(0x1d1)][_0x22178d(0x1bb)]?.[_0x22178d(0x189)];return this[_0x22178d(0x1b9)][_0x22178d(0x16c)][_0x22178d(0x17f)][_0x22178d(0x1d1)][_0x22178d(0x1cc)](_0x3786db);}[_0x41295f(0x1a0)](_0x430240,_0x1e3f99,_0x24bbcf){const _0x1bd673=_0x41295f,_0x3b52a6=new _0x48c253();return _0x1e3f99[_0x1bd673(0x182)](_0x3d131e=>{const _0x343582=_0x1bd673;if(_0x343582(0x1ab)in _0x3d131e){const {listItem:_0x4d9521}=this[_0x343582(0x161)](_0x430240,_0x3d131e,_0x24bbcf);_0x3b52a6[_0x343582(0x1b3)](_0x4d9521),_0x3d131e[_0x343582(0x1ab)][_0x343582(0x182)](_0x5b839a=>{const _0x454282=_0x343582;this[_0x454282(0x14d)](_0x430240,_0x5b839a,_0x3d131e[_0x454282(0x188)],_0x3d131e[_0x454282(0x14a)]);const {listItem:_0x462957,highlightViews:_0x5311bb}=this[_0x454282(0x1be)](_0x430240,_0x5b839a,_0x3d131e[_0x454282(0x188)],_0x3d131e[_0x454282(0x14a)]);this[_0x454282(0x1b8)][_0x454282(0x154)]({'item':_0x462957,'label':_0x5b839a[_0x454282(0x177)],'groupLabel':_0x3d131e[_0x454282(0x188)],'highlightViews':_0x5311bb});});}else{const {listItem:_0x2d9c28}=this[_0x343582(0x14d)](_0x430240,_0x3d131e);_0x3b52a6[_0x343582(0x1b3)](_0x2d9c28);const _0x9c065a=_0x2d9c28[_0x343582(0x18c)][_0x343582(0x1bc)];if(_0x9c065a){const {listItem:_0x2b2a9c,highlightViews:_0x3bd4d3}=this[_0x343582(0x1be)](_0x430240,_0x3d131e);this[_0x343582(0x1b8)][_0x343582(0x154)]({'item':_0x2b2a9c,'label':_0x9c065a[_0x343582(0x188)]||'','highlightViews':_0x3bd4d3});}}}),_0x3b52a6;}[_0x41295f(0x14d)](_0x36d711,_0x850dbf,_0x259ee2,_0x28632b){const _0x426431=_0x41295f,_0x5373ee=new _0x418749(this[_0x426431(0x193)]);if(_0x259ee2&&_0x28632b){const _0x561b40=new _0x4a837b(this[_0x426431(0x193)]),_0x42048f=_0x561b40[_0x426431(0x190)],_0x583efc=new _0x2be017();_0x583efc[_0x426431(0x160)]=_0x850dbf[_0x426431(0x177)];const _0x3b86ed=new _0x2be017();_0x3b86ed[_0x426431(0x160)]=_0x259ee2;const _0x270446=new _0x1f3fe7();_0x270446[_0x426431(0x1a1)]=_0x28632b,_0x270446[_0x426431(0x181)]({'attributes':{'class':_0x426431(0x1bd)}});const _0x272e83=new _0x175687(this[_0x426431(0x193)]);_0x272e83[_0x426431(0x173)]({'tag':_0x426431(0x156),'attributes':{'class':_0x426431(0x19e)},'children':[{'text':'\x20('}]});const _0xf55722=new _0x175687(this[_0x426431(0x193)]);return _0xf55722[_0x426431(0x173)]({'tag':_0x426431(0x156),'attributes':{'class':_0x426431(0x1bf)},'children':[{'text':')'}]}),_0x561b40[_0x426431(0x18d)]({'label':_0x850dbf[_0x426431(0x177)]+'\x20('+_0x259ee2+')','withText':!0x0,'role':_0x426431(0x15f),'class':_0x426431(0x15e),'tooltip':!0x1}),_0x561b40[_0x426431(0x173)]({'tag':_0x426431(0x1d0),'attributes':{'class':['ck',_0x426431(0x16e),_0x426431(0x1c9),_0x426431(0x165),_0x426431(0x196)],'type':_0x426431(0x1d0),'role':_0x426431(0x15f),'tabindex':'-1'},'children':[_0x583efc,_0x272e83,_0x270446,_0x3b86ed,_0xf55722],'on':{'mouseenter':_0x42048f['to'](()=>{const _0x260ebe=_0x426431;this[_0x260ebe(0x17c)]()||_0x561b40[_0x260ebe(0x191)]();}),'click':_0x42048f['to'](()=>{const _0x461576=_0x426431;_0x561b40[_0x461576(0x172)](_0x461576(0x14b));})}}),_0x561b40['on'](_0x426431(0x14b),()=>{const _0x27714b=_0x426431;_0x36d711[_0x27714b(0x158)][_0x27714b(0x1a4)][_0x27714b(0x191)](),_0x36d711[_0x27714b(0x163)][_0x27714b(0x14b)](_0x27714b(0x1cb),_0x850dbf);}),_0x5373ee[_0x426431(0x18c)][_0x426431(0x1b3)](_0x561b40),{'listItem':_0x5373ee,'highlightViews':[_0x583efc,_0x3b86ed]};}{const _0x543646=new _0x43a709(),_0x5d3759=new _0x4a837b(this[_0x426431(0x193)],_0x543646),_0x1c1e8c=_0x5d3759[_0x426431(0x190)],_0x274070=_0x850dbf[_0x426431(0x14a)]??_0x850dbf[_0x426431(0x16d)]?.[_0x426431(0x14a)],_0x37bc38=void 0x0!==_0x850dbf[_0x426431(0x14a)];return _0x5d3759[_0x426431(0x18d)]({'label':_0x850dbf[_0x426431(0x177)],'withText':!0x0,'role':_0x426431(0x15f),'icon':_0x37bc38?_0x274070??_0x4546e8:void 0x0,'tooltip':!0x1,'class':_0x426431(0x165)}),_0x5d3759[_0x426431(0x181)]({'on':{'mouseenter':_0x1c1e8c['to'](()=>{const _0x411233=_0x426431;this[_0x411233(0x17c)]()||_0x5d3759[_0x411233(0x191)]();})}}),_0x5d3759['on'](_0x426431(0x14b),()=>{const _0x48f1d8=_0x426431;_0x36d711[_0x48f1d8(0x158)][_0x48f1d8(0x1a4)][_0x48f1d8(0x191)](),_0x36d711[_0x48f1d8(0x163)][_0x48f1d8(0x14b)](_0x48f1d8(0x1cb),_0x850dbf);}),_0x5373ee[_0x426431(0x18c)][_0x426431(0x1b3)](_0x5d3759),{'listItem':_0x5373ee,'highlightViews':[_0x543646]};}}[_0x41295f(0x1be)](_0x203bf2,_0x12032c,_0x5a108d,_0x5e6402){const _0x1060b9=_0x41295f;return _0x5a108d&&_0x5e6402?this[_0x1060b9(0x14c)](_0x203bf2,_0x12032c,_0x5a108d,_0x5e6402):this[_0x1060b9(0x1a8)](_0x203bf2,_0x12032c);}[_0x41295f(0x14c)](_0x44bfe9,_0x5f4c00,_0x2cbfbe,_0x553ec7){const _0x3b7fdc=_0x41295f,_0xcbd185=new _0x418749(this[_0x3b7fdc(0x193)]),_0x5e4954=new _0x4a837b(this[_0x3b7fdc(0x193)]),_0x600096=_0x5e4954[_0x3b7fdc(0x190)],{view:_0x510451,highlightView:_0x161ea6}=this[_0x3b7fdc(0x178)](_0x2cbfbe,_0x553ec7),{view:_0x38ea7f,highlightView:_0xdfd054}=this[_0x3b7fdc(0x1ae)](_0x5f4c00[_0x3b7fdc(0x177)]),_0x563641=this[_0x3b7fdc(0x15a)](_0x510451,_0x38ea7f);return _0x5e4954[_0x3b7fdc(0x18d)]({'label':_0x5f4c00[_0x3b7fdc(0x177)],'withText':!0x0,'role':_0x3b7fdc(0x15f),'class':_0x3b7fdc(0x152),'tooltip':!0x1}),_0x5e4954[_0x3b7fdc(0x173)]({'tag':_0x3b7fdc(0x1d0),'attributes':{'class':['ck',_0x3b7fdc(0x16e),_0x3b7fdc(0x1c9),_0x3b7fdc(0x165),_0x3b7fdc(0x1a3),_0x3b7fdc(0x17a)],'type':_0x3b7fdc(0x1d0),'role':_0x3b7fdc(0x15f),'tabindex':'-1'},'children':[_0x563641],'on':{'mouseenter':_0x600096['to'](()=>{const _0x4c1ce7=_0x3b7fdc;this[_0x4c1ce7(0x17c)]()||_0x5e4954[_0x4c1ce7(0x191)]();}),'click':_0x600096['to'](()=>{const _0xef97a8=_0x3b7fdc;this[_0xef97a8(0x185)](_0x5e4954);})}}),this[_0x3b7fdc(0x179)](_0x5e4954,_0x44bfe9,_0x5f4c00),_0xcbd185[_0x3b7fdc(0x18c)][_0x3b7fdc(0x1b3)](_0x5e4954),{'listItem':_0xcbd185,'highlightViews':[_0x161ea6,_0xdfd054]};}[_0x41295f(0x1a8)](_0x1e543b,_0x403a61){const _0x105bad=_0x41295f,_0x279cdd=new _0x418749(this[_0x105bad(0x193)]),_0x5042a0=new _0x43a709(),_0xcefeca=new _0x4a837b(this[_0x105bad(0x193)],_0x5042a0),_0x103f12=_0xcefeca[_0x105bad(0x190)];return _0xcefeca[_0x105bad(0x18d)]({'label':_0x403a61[_0x105bad(0x177)],'withText':!0x0,'role':_0x105bad(0x15f),'icon':void 0x0,'tooltip':!0x1,'class':_0x105bad(0x16b)}),_0xcefeca[_0x105bad(0x181)]({'on':{'mouseenter':_0x103f12['to'](()=>{const _0x153c1d=_0x105bad;this[_0x153c1d(0x17c)]()||_0xcefeca[_0x153c1d(0x191)]();})}}),this[_0x105bad(0x179)](_0xcefeca,_0x1e543b,_0x403a61),_0x279cdd[_0x105bad(0x18c)][_0x105bad(0x1b3)](_0xcefeca),{'listItem':_0x279cdd,'highlightViews':[_0x5042a0]};}[_0x41295f(0x178)](_0x51eea8,_0x41f027){const _0x5404c3=_0x41295f,_0x3a9e6e=new _0x175687(this[_0x5404c3(0x193)]),_0x230323=new _0x1f3fe7();_0x230323[_0x5404c3(0x1a1)]=_0x41f027,_0x230323[_0x5404c3(0x181)]({'attributes':{'class':_0x5404c3(0x1bd)}});const _0x588a75=new _0x2be017();return _0x588a75[_0x5404c3(0x160)]=_0x51eea8,_0x3a9e6e[_0x5404c3(0x173)]({'tag':_0x5404c3(0x1ac),'attributes':{'class':_0x5404c3(0x1b2)},'children':[_0x230323,_0x588a75]}),{'view':_0x3a9e6e,'highlightView':_0x588a75};}[_0x41295f(0x1ae)](_0x1c7035){const _0x463149=_0x41295f,_0x5ed4ff=new _0x175687(this[_0x463149(0x193)]),_0x5d3be2=new _0x2be017();return _0x5d3be2[_0x463149(0x160)]=_0x1c7035,_0x5ed4ff[_0x463149(0x173)]({'tag':_0x463149(0x1ac),'attributes':{'class':_0x463149(0x19a)},'children':[_0x5d3be2]}),{'view':_0x5ed4ff,'highlightView':_0x5d3be2};}[_0x41295f(0x15a)](_0x21c864,_0x26cbb5){const _0x4d8727=_0x41295f,_0xce959d=new _0x175687(this[_0x4d8727(0x193)]);return _0xce959d[_0x4d8727(0x173)]({'tag':_0x4d8727(0x1ac),'attributes':{'class':_0x4d8727(0x18a)},'children':[_0x21c864,_0x26cbb5]}),_0xce959d;}[_0x41295f(0x179)](_0x36cb3b,_0x12f578,_0x128327){const _0x22ec4a=_0x41295f;_0x36cb3b['on'](_0x22ec4a(0x14b),()=>{const _0x2b63c6=_0x22ec4a;_0x12f578[_0x2b63c6(0x158)][_0x2b63c6(0x1a4)][_0x2b63c6(0x191)](),_0x12f578[_0x2b63c6(0x163)][_0x2b63c6(0x14b)](_0x2b63c6(0x1cb),_0x128327);});}[_0x41295f(0x161)](_0x1b1094,_0x26cdd7,_0x18da1){const _0x1cded3=_0x41295f,_0x4cd5a1=new _0x418749(this[_0x1cded3(0x193)]),_0x15ef16=new _0x43a709(),_0x44f82d=new _0x56be4e(this[_0x1cded3(0x193)],_0x15ef16),_0x52889a=_0x44f82d[_0x1cded3(0x190)],_0x130dcd=this[_0x1cded3(0x192)](_0x18da1),_0xc8fe70=this[_0x1cded3(0x1c8)](_0x1b1094,_0x26cdd7[_0x1cded3(0x1ab)],_0x18da1);_0x44f82d[_0x1cded3(0x18d)]({'label':_0x26cdd7[_0x1cded3(0x188)],'withText':!0x0,'role':Gs,'icon':_0x26cdd7[_0x1cded3(0x14a)]??_0x4546e8,'isEnabled':_0x26cdd7[_0x1cded3(0x1ab)][_0x1cded3(0x1c1)](_0x44bd61=>_0x44bd61[_0x1cded3(0x184)])}),_0x44f82d[_0x1cded3(0x181)]({'on':{'mouseenter':_0x52889a['to'](()=>{const _0x2e9b99=_0x1cded3;this[_0x2e9b99(0x17c)]()||_0x44f82d[_0x2e9b99(0x191)]();})}});const _0x5b9437=new _0x11e77d(this[_0x1cded3(0x193)]);return _0x5b9437[_0x1cded3(0x181)]({'attributes':{'class':['ck',_0x1cded3(0x1b5),_0x1cded3(0x15c),_0x1cded3(0x167)]},'on':{'keydown':_0x52889a['to'](_0x46f3ad=>{const _0x4356cc=_0x1cded3;this[_0x4356cc(0x1c3)](_0x46f3ad,_0x130dcd,_0x44f82d,_0x5b9437);})}}),_0x44f82d[_0x1cded3(0x175)](_0x1cded3(0x1c5))['to'](_0x5b9437,_0x1cded3(0x170)),this[_0x1cded3(0x1a6)][_0x1cded3(0x1b3)](_0x5b9437),_0x5b9437[_0x1cded3(0x1a1)][_0x1cded3(0x1b3)](_0xc8fe70),this[_0x1cded3(0x198)](_0x44f82d,_0x5b9437),_0x4cd5a1[_0x1cded3(0x18c)][_0x1cded3(0x1b3)](_0x44f82d),{'listItem':_0x4cd5a1,'highlightView':_0x15ef16};}[_0x41295f(0x1c8)](_0x4e5635,_0x3348bd,_0x1d9b4e){const _0x44c081=_0x41295f,_0x3171a6=new _0x4a04ed(this[_0x44c081(0x193)]);return _0x3171a6[_0x44c081(0x181)]({'attributes':{'class':['ck',_0x44c081(0x1b5),_0x44c081(0x180),_0x44c081(0x18b)]}}),_0x3348bd[_0x44c081(0x182)](_0x52041a=>{const _0x309692=_0x44c081,_0x575fb7=new _0x418749(this[_0x309692(0x193)]),_0x551b2f=_0x174688({'editor':_0x4e5635,'action':_0x52041a,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x309692(0x17c)]()})();_0x575fb7[_0x309692(0x18c)][_0x309692(0x1b3)](_0x551b2f),_0x1d9b4e[_0x309692(0x1af)][_0x309692(0x1b3)](_0x551b2f),_0x3171a6[_0x309692(0x166)][_0x309692(0x1b3)](_0x575fb7);}),_0x3171a6;}[_0x41295f(0x198)](_0x533cb2,_0x422596){const _0x2c023e=_0x41295f,_0x1fe1bc=_0x533cb2[_0x2c023e(0x190)],_0x316f8d=this[_0x2c023e(0x164)](_0x533cb2);_0x533cb2[_0x2c023e(0x181)]({'attributes':{'class':[_0x2c023e(0x17b)]},'on':{'mouseenter':_0x1fe1bc['to'](()=>{const _0x99aa61=_0x2c023e;this[_0x99aa61(0x174)](_0x422596,_0x533cb2);}),'mouseleave':_0x1fe1bc['to'](_0x2aa332=>{const _0x267325=_0x2c023e,_0x1ab201=_0x2aa332[_0x267325(0x1a2)];this[_0x267325(0x157)](_0x1ab201,_0x422596)||this[_0x267325(0x1b0)](_0x422596);}),'keydown':_0x1fe1bc['to'](_0xc58e34=>{const _0x34d258=_0x2c023e;_0xc58e34[_0x34d258(0x17d)]==_0x316f8d&&(this[_0x34d258(0x174)](_0x422596,_0x533cb2),_0x422596[_0x34d258(0x1a1)][_0x34d258(0x1b7)](0x0)[_0x34d258(0x191)]());})}}),_0x422596['on'](_0x2c023e(0x18e),()=>{const _0x1db35f=_0x2c023e;_0x422596[_0x1db35f(0x1d1)]?.[_0x1db35f(0x162)](_0x1db35f(0x151),_0x3ab853=>{const _0x5e7f34=_0x1db35f,_0x580588=_0x3ab853[_0x5e7f34(0x1a2)];_0x533cb2[_0x5e7f34(0x1d1)]?.[_0x5e7f34(0x1cc)](_0x580588)||this[_0x5e7f34(0x157)](_0x580588,_0x422596)||this[_0x5e7f34(0x1b0)](_0x422596);});});}[_0x41295f(0x174)](_0x55a4ec,_0x34cfbd){const _0x106559=_0x41295f;this[_0x106559(0x199)][_0x106559(0x182)](_0x2fbfe3=>{const _0x1dee8b=_0x106559;_0x2fbfe3!==_0x55a4ec&&_0x2fbfe3[_0x1dee8b(0x170)]&&_0x2fbfe3[_0x1dee8b(0x1cd)]();}),_0x55a4ec[_0x106559(0x187)](),_0x55a4ec[_0x106559(0x14e)]({'positions':[_0x24667e[_0x106559(0x19b)]],'target':_0x34cfbd[_0x106559(0x1d1)],'fitInViewport':!0x0}),this[_0x106559(0x199)][_0x106559(0x1b3)](_0x55a4ec);}[_0x41295f(0x1b0)](_0x49de80){const _0x3746d3=_0x41295f;_0x49de80[_0x3746d3(0x1cd)](),this[_0x3746d3(0x199)][_0x3746d3(0x169)](_0x49de80);}[_0x41295f(0x155)](){const _0x3ec98b=_0x41295f;this[_0x3ec98b(0x199)][_0x3ec98b(0x182)](_0xac02fd=>_0xac02fd[_0x3ec98b(0x1cd)]()),this[_0x3ec98b(0x199)][_0x3ec98b(0x171)]();}[_0x41295f(0x157)](_0x1c52b8,_0x3554a8){const _0xfa7713=_0x41295f;if(!_0x1c52b8)return!0x1;if(_0x3554a8[_0xfa7713(0x1d1)]?.[_0xfa7713(0x1cc)](_0x1c52b8))return!0x0;const _0x28b21b=_0x1c52b8;return _0x28b21b[_0xfa7713(0x1c6)]&&(null!==_0x28b21b[_0xfa7713(0x1c6)](_0xfa7713(0x14f))||null!==_0x28b21b[_0xfa7713(0x1c6)](_0xfa7713(0x1aa))||null!==_0x28b21b[_0xfa7713(0x1c6)](_0xfa7713(0x1b6)));}[_0x41295f(0x1a9)](){const _0x2d8ece=_0x41295f;this[_0x2d8ece(0x1b9)]&&this[_0x2d8ece(0x1b9)][_0x2d8ece(0x1ce)]();}[_0x41295f(0x1ca)](){const _0x5a259a=_0x41295f;this[_0x5a259a(0x155)](),this[_0x5a259a(0x1a6)][_0x5a259a(0x1ba)](),super[_0x5a259a(0x1ca)]();}[_0x41295f(0x191)](){const _0x10f1f9=_0x41295f;this[_0x10f1f9(0x1b9)]?this[_0x10f1f9(0x1b9)][_0x10f1f9(0x191)]():this[_0x10f1f9(0x150)][_0x10f1f9(0x191)]();}[_0x41295f(0x192)](_0x16bb16){const _0x3d73e6=_0x41295f;return _0x3d73e6(0x1a5)===_0x16bb16[_0x3d73e6(0x193)][_0x3d73e6(0x18f)]?_0x3d73e6(0x183):_0x3d73e6(0x195);}[_0x41295f(0x164)](_0x5247ac){const _0x1e9d45=_0x41295f;return _0x1e9d45(0x1a5)===_0x5247ac[_0x1e9d45(0x193)][_0x1e9d45(0x18f)]?_0x1e9d45(0x195):_0x1e9d45(0x183);}[_0x41295f(0x1c3)](_0x39f978,_0x9324f6,_0x1beeb3,_0x29152b){const _0x4549bc=_0x41295f;_0x39f978[_0x4549bc(0x17d)]==_0x9324f6&&(_0x1beeb3[_0x4549bc(0x191)](),this[_0x4549bc(0x1b0)](_0x29152b));}[_0x41295f(0x185)](_0x1e219d){const _0x567ce6=_0x41295f;_0x1e219d[_0x567ce6(0x172)](_0x567ce6(0x14b));}}
|
|
23
|
+
function _0x521c(_0x1ef46f,_0x45ca70){const _0x46b994=_0x46b9();return _0x521c=function(_0x521cf8,_0xea1648){_0x521cf8=_0x521cf8-0xa8;let _0x433a21=_0x46b994[_0x521cf8];return _0x433a21;},_0x521c(_0x1ef46f,_0x45ca70);}const _0x20ea39=_0x521c;(function(_0x2d861f,_0x304f62){const _0xe48084=_0x521c,_0x1b0011=_0x2d861f();while(!![]){try{const _0x3cff34=parseInt(_0xe48084(0x100))/0x1+parseInt(_0xe48084(0xda))/0x2*(parseInt(_0xe48084(0x107))/0x3)+-parseInt(_0xe48084(0x12c))/0x4+-parseInt(_0xe48084(0xb2))/0x5+parseInt(_0xe48084(0x11d))/0x6*(parseInt(_0xe48084(0x115))/0x7)+parseInt(_0xe48084(0xdb))/0x8*(parseInt(_0xe48084(0x12f))/0x9)+-parseInt(_0xe48084(0xeb))/0xa;if(_0x3cff34===_0x304f62)break;else _0x1b0011['push'](_0x1b0011['shift']());}catch(_0x3a5ebd){_0x1b0011['push'](_0x1b0011['shift']());}}}(_0x46b9,0xf149a));import{View as _0x27e8a1,ListItemView as _0x175075,ListView as _0x45b4dd,BalloonPanelView as _0x48b74f,DropdownMenuPanelPositioningFunctions as _0x22cbcc,ViewCollection as _0x47e9d7,FocusCycler as _0x22eaec,ButtonView as _0x545bff,IconView as _0x297612,HighlightedTextView as _0x312450,ButtonLabelWithHighlightView as _0x3fa8aa,SearchTextView as _0x330195}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2e767d}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x2731c6,KeystrokeHandler as _0x15de56}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x5e8664}from'./aiquickactionsbuttoncreator.js';function _0x46b9(){const _0x4a92c2=['eastSouth','get','focusCycler','reset','_createSearchTextView','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','isVisible','ck-ai-quick-actions-group-button','uiLanguageDirection','displayedPrompt','relatedTarget','3258736OUQNqy','_createActionGroupButton','ck-rounded-corners','27ghSHbO','_getPanelKeystroke','ck-button','_createGroupActionsList','menuitem','ArrowRight','span','ck-ai-quick-actions-button_with-group__close-paren','.ck-ai-quick-actions-group-panel','activeElement','execute','5481225GViBtI','AI_QUICK_ACTIONS_SEARCH','ArrowLeft','ck-reset_all','ck-dropdown-menu-list','fire','view','ck-ai-quick-actions-group-list','label','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','forEach','_hideNestedPanel','_isMovingToNestedMenu','_createListItems','aiQuickAction','isOn','focus','ck-ai-quick-actions','optionsListView','bindTemplate','closest','ck-ai-quick-actions-search-result-button_with-group','extendTemplate','ck-ai-quick-actions-button_with-group','queryView','key','ck-ai-quick-actions-group-panel','some','_createSearchResultActionButton','_getButtonKeystroke','_setupActionButtonExecution','_createSearchResultActionRow','_bodyCollection','pin','first','menu','show','_createSearchResultGroupedActionButton','ck-ai-quick-actions-search-result-button','button','6BIUxZx','4361704aADujV','commands','locale','keystrokes','addEventListener','addMany','.ck-ai-quick-actions-group-button','isEnabled','delete','ck-ai-quick-actions-search','element','chain','destroy','text','focusTracker','_showNestedPanel','14471380GcqutT','items','add','_hideAllNestedPanels','push','_setupGroupMenuBehavior','content','_searchTextView','ck-dropdown-menu__nested-menu__panel','ownerDocument','setTemplate','role','_createActionButton','parent','ck-ai-quick-actions-search-result__group-row','editing','resetSearch','_focusables','contains','render','actions','1665157zWBZRk','ck-ai-quick-actions-search-result__action-row','_hasSearch','_createSearchResultContentView','_allSearchableItems','children','ck-ai-quick-actions-search-result__content','6081KfIULU','bind','detachFromDom','_openNestedPanels','set','clear','_createSearchResultGroupRow','_handlePanelKeydown','_createSearchResultIndividualActionButton','mouseleave','rtl','ck-ai-quick-actions-button','ck-ai-quick-actions-button_with-group__open-paren','.ck-ai-quick-actions-group-list','56fWbxxH','div','ck-button_with-text','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_isSearchFocused','_handleSearchResultButtonClick','ck-ai-quick-actions-button__group-icon','icon','779628CZEcqF','hide','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','fieldView'];_0x46b9=function(){return _0x4a92c2;};return _0x46b9();}import{DropdownMenuButtonWithHighlightView as _0x52563d}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x4dce58}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x16193f}from'./aiquickactionsfilteredlistview.js';const Qs=_0x20ea39(0xd5),Gs=_0x20ea39(0xab);export class AIQuickActionsDropdownContentView extends _0x27e8a1{[_0x20ea39(0xd2)];[_0x20ea39(0xc4)];[_0x20ea39(0xf2)]=null;[_0x20ea39(0x104)]=[];[_0x20ea39(0x105)];[_0x20ea39(0xe9)];[_0x20ea39(0xde)];[_0x20ea39(0xfc)];[_0x20ea39(0x123)];[_0x20ea39(0x10a)]=new Set();[_0x20ea39(0x102)];constructor(_0x2511a8,_0x56fabb,_0x5f3b8f,_0x7c806d,_0xa2cd5e=!0x1){const _0x305ea2=_0x20ea39,_0x5703a2=_0x2511a8[_0x305ea2(0xdd)];super(_0x5703a2),this[_0x305ea2(0xd2)]=_0x7c806d,this[_0x305ea2(0x102)]=_0xa2cd5e;const _0x134976=this[_0x305ea2(0xbf)](_0x2511a8,_0x56fabb,_0x5f3b8f);this[_0x305ea2(0xc4)]=new _0x16193f(_0x5703a2,_0x134976,this[_0x305ea2(0x104)]),this[_0x305ea2(0xc4)][_0x305ea2(0xf6)]=Qs,this[_0x305ea2(0xc4)][_0x305ea2(0xec)][_0x305ea2(0xe0)](_0x134976),this[_0x305ea2(0xe9)]=new _0x2731c6(),this[_0x305ea2(0xde)]=new _0x15de56(),_0xa2cd5e&&(this[_0x305ea2(0xf2)]=this[_0x305ea2(0x125)]()),this[_0x305ea2(0xfc)]=_0x134976,this[_0x305ea2(0x123)]=new _0x22eaec({'focusables':this[_0x305ea2(0xfc)],'focusTracker':this[_0x305ea2(0xe9)],'keystrokeHandler':this[_0x305ea2(0xde)]}),_0xa2cd5e&&this[_0x305ea2(0xf2)]&&this[_0x305ea2(0x123)][_0x305ea2(0xe6)](this[_0x305ea2(0xf2)][_0x305ea2(0x123)]);const _0x3cd8f1=_0xa2cd5e&&this[_0x305ea2(0xf2)]?[this[_0x305ea2(0xf2)]]:[this[_0x305ea2(0xc4)]];this[_0x305ea2(0x105)]=new _0x47e9d7(_0x3cd8f1),this[_0x305ea2(0xf5)]({'tag':_0x305ea2(0x116),'attributes':{'class':['ck',_0x305ea2(0xb5),_0x305ea2(0xc3),_0x305ea2(0x12e)],'dir':_0x5703a2[_0x305ea2(0x129)]},'children':this[_0x305ea2(0x105)]});}[_0x20ea39(0x125)](){const _0x31517b=_0x20ea39;return new _0x330195(this[_0x31517b(0xdd)],{'filteredView':this[_0x31517b(0xc4)],'queryView':{'label':_0x4dce58(this[_0x31517b(0xdd)],_0x31517b(0xb3))},'class':_0x31517b(0xe4),'infoView':{'text':{'notFound':{'primary':_0x4dce58(this[_0x31517b(0xdd)],_0x31517b(0x118))}}}});}[_0x20ea39(0x119)](){const _0x11a7f6=_0x20ea39;if(!this[_0x11a7f6(0x102)]||!this[_0x11a7f6(0xf2)]||!this[_0x11a7f6(0xf2)][_0x11a7f6(0xca)][_0x11a7f6(0x120)][_0x11a7f6(0xe5)])return!0x1;const _0x108ff5=this[_0x11a7f6(0xf2)][_0x11a7f6(0xca)][_0x11a7f6(0x120)][_0x11a7f6(0xe5)][_0x11a7f6(0xf4)]?.[_0x11a7f6(0xb0)];return this[_0x11a7f6(0xf2)][_0x11a7f6(0xca)][_0x11a7f6(0x120)][_0x11a7f6(0xe5)][_0x11a7f6(0xfd)](_0x108ff5);}[_0x20ea39(0xbf)](_0x2bfe87,_0x29a41f,_0xe0d5f8){const _0x4e9310=_0x20ea39,_0x4cccc7=new _0x47e9d7();return _0x29a41f[_0x4e9310(0xbc)](_0x4d53ee=>{const _0x1a81f8=_0x4e9310;if(_0x1a81f8(0xff)in _0x4d53ee){const {listItem:_0x49b5c5}=this[_0x1a81f8(0x12d)](_0x2bfe87,_0x4d53ee,_0xe0d5f8);_0x4cccc7[_0x1a81f8(0xed)](_0x49b5c5),_0x4d53ee[_0x1a81f8(0xff)][_0x1a81f8(0xbc)](_0x1a06af=>{const _0x3e4c29=_0x1a81f8;this[_0x3e4c29(0xf7)](_0x2bfe87,_0x1a06af,_0x4d53ee[_0x3e4c29(0xba)],_0x4d53ee[_0x3e4c29(0x11c)]);const {listItem:_0x366e94,highlightViews:_0xf1daa4}=this[_0x3e4c29(0xce)](_0x2bfe87,_0x1a06af,_0x4d53ee[_0x3e4c29(0xba)],_0x4d53ee[_0x3e4c29(0x11c)]);this[_0x3e4c29(0x104)][_0x3e4c29(0xef)]({'item':_0x366e94,'label':_0x1a06af[_0x3e4c29(0x12a)],'groupLabel':_0x4d53ee[_0x3e4c29(0xba)],'highlightViews':_0xf1daa4});});}else{const {listItem:_0x5655c7}=this[_0x1a81f8(0xf7)](_0x2bfe87,_0x4d53ee);_0x4cccc7[_0x1a81f8(0xed)](_0x5655c7);const _0x466c25=_0x5655c7[_0x1a81f8(0x105)][_0x1a81f8(0xd4)];if(_0x466c25){const {listItem:_0x2cc7d8,highlightViews:_0x54b65c}=this[_0x1a81f8(0xce)](_0x2bfe87,_0x4d53ee);this[_0x1a81f8(0x104)][_0x1a81f8(0xef)]({'item':_0x2cc7d8,'label':_0x466c25[_0x1a81f8(0xba)]||'','highlightViews':_0x54b65c});}}}),_0x4cccc7;}[_0x20ea39(0xf7)](_0x5506bd,_0x4cf70f,_0xfcd4bf,_0x3a5275){const _0x5c2219=_0x20ea39,_0x3e3db6=new _0x175075(this[_0x5c2219(0xdd)]);if(_0xfcd4bf&&_0x3a5275){const _0x2cf84c=new _0x545bff(this[_0x5c2219(0xdd)]),_0x11a0af=_0x2cf84c[_0x5c2219(0xc5)],_0x2a5cb1=new _0x312450();_0x2a5cb1[_0x5c2219(0xe8)]=_0x4cf70f[_0x5c2219(0x12a)];const _0xe675bc=new _0x312450();_0xe675bc[_0x5c2219(0xe8)]=_0xfcd4bf;const _0x328380=new _0x297612();_0x328380[_0x5c2219(0xf1)]=_0x3a5275,_0x328380[_0x5c2219(0xc8)]({'attributes':{'class':_0x5c2219(0x11b)}});const _0x4924a1=new _0x27e8a1(this[_0x5c2219(0xdd)]);_0x4924a1[_0x5c2219(0xf5)]({'tag':_0x5c2219(0xad),'attributes':{'class':_0x5c2219(0x113)},'children':[{'text':'\x20('}]});const _0x197899=new _0x27e8a1(this[_0x5c2219(0xdd)]);return _0x197899[_0x5c2219(0xf5)]({'tag':_0x5c2219(0xad),'attributes':{'class':_0x5c2219(0xae)},'children':[{'text':')'}]}),_0x2cf84c[_0x5c2219(0x10b)]({'label':_0x4cf70f[_0x5c2219(0x12a)]+'\x20('+_0xfcd4bf+')','withText':!0x0,'role':_0x5c2219(0xab),'class':_0x5c2219(0x11f),'tooltip':!0x1}),_0x2cf84c[_0x5c2219(0xf5)]({'tag':_0x5c2219(0xd9),'attributes':{'class':['ck',_0x5c2219(0xa9),_0x5c2219(0x117),_0x5c2219(0x112),_0x5c2219(0xc9)],'type':_0x5c2219(0xd9),'role':_0x5c2219(0xab),'tabindex':'-1'},'children':[_0x2a5cb1,_0x4924a1,_0x328380,_0xe675bc,_0x197899],'on':{'mouseenter':_0x11a0af['to'](()=>{const _0x529b18=_0x5c2219;this[_0x529b18(0x119)]()||_0x2cf84c[_0x529b18(0xc2)]();}),'click':_0x11a0af['to'](()=>{const _0x322eeb=_0x5c2219;_0x2cf84c[_0x322eeb(0xb7)](_0x322eeb(0xb1));})}}),_0x2cf84c['on'](_0x5c2219(0xb1),()=>{const _0x473050=_0x5c2219;_0x5506bd[_0x473050(0xfa)][_0x473050(0xb8)][_0x473050(0xc2)](),_0x5506bd[_0x473050(0xdc)][_0x473050(0xb1)](_0x473050(0xc0),_0x4cf70f);}),_0x3e3db6[_0x5c2219(0x105)][_0x5c2219(0xed)](_0x2cf84c),{'listItem':_0x3e3db6,'highlightViews':[_0x2a5cb1,_0xe675bc]};}{const _0x286db4=new _0x3fa8aa(),_0x58673c=new _0x545bff(this[_0x5c2219(0xdd)],_0x286db4),_0x2783d5=_0x58673c[_0x5c2219(0xc5)],_0x425bf8=_0x4cf70f[_0x5c2219(0x11c)]??_0x4cf70f[_0x5c2219(0xf8)]?.[_0x5c2219(0x11c)],_0x113372=void 0x0!==_0x4cf70f[_0x5c2219(0x11c)];return _0x58673c[_0x5c2219(0x10b)]({'label':_0x4cf70f[_0x5c2219(0x12a)],'withText':!0x0,'role':_0x5c2219(0xab),'icon':_0x113372?_0x425bf8??_0x2e767d:void 0x0,'tooltip':!0x1,'class':_0x5c2219(0x112)}),_0x58673c[_0x5c2219(0xc8)]({'on':{'mouseenter':_0x2783d5['to'](()=>{const _0x32796d=_0x5c2219;this[_0x32796d(0x119)]()||_0x58673c[_0x32796d(0xc2)]();})}}),_0x58673c['on'](_0x5c2219(0xb1),()=>{const _0x477fa7=_0x5c2219;_0x5506bd[_0x477fa7(0xfa)][_0x477fa7(0xb8)][_0x477fa7(0xc2)](),_0x5506bd[_0x477fa7(0xdc)][_0x477fa7(0xb1)](_0x477fa7(0xc0),_0x4cf70f);}),_0x3e3db6[_0x5c2219(0x105)][_0x5c2219(0xed)](_0x58673c),{'listItem':_0x3e3db6,'highlightViews':[_0x286db4]};}}[_0x20ea39(0xce)](_0x29fac3,_0x7011e4,_0x94f691,_0x4d9df3){const _0x5afa1d=_0x20ea39;return _0x94f691&&_0x4d9df3?this[_0x5afa1d(0xd7)](_0x29fac3,_0x7011e4,_0x94f691,_0x4d9df3):this[_0x5afa1d(0x10f)](_0x29fac3,_0x7011e4);}[_0x20ea39(0xd7)](_0x5ce10f,_0x4b88be,_0x45acb0,_0x280143){const _0x404825=_0x20ea39,_0x1628ec=new _0x175075(this[_0x404825(0xdd)]),_0x56e8c7=new _0x545bff(this[_0x404825(0xdd)]),_0x2f9b17=_0x56e8c7[_0x404825(0xc5)],{view:_0x465710,highlightView:_0x1f4b65}=this[_0x404825(0x10d)](_0x45acb0,_0x280143),{view:_0x4a694d,highlightView:_0x2a534e}=this[_0x404825(0xd1)](_0x4b88be[_0x404825(0x12a)]),_0x588afc=this[_0x404825(0x103)](_0x465710,_0x4a694d);return _0x56e8c7[_0x404825(0x10b)]({'label':_0x4b88be[_0x404825(0x12a)],'withText':!0x0,'role':_0x404825(0xab),'class':_0x404825(0xbb),'tooltip':!0x1}),_0x56e8c7[_0x404825(0xf5)]({'tag':_0x404825(0xd9),'attributes':{'class':['ck',_0x404825(0xa9),_0x404825(0x117),_0x404825(0x112),_0x404825(0xd8),_0x404825(0xc7)],'type':_0x404825(0xd9),'role':_0x404825(0xab),'tabindex':'-1'},'children':[_0x588afc],'on':{'mouseenter':_0x2f9b17['to'](()=>{const _0x51f5eb=_0x404825;this[_0x51f5eb(0x119)]()||_0x56e8c7[_0x51f5eb(0xc2)]();}),'click':_0x2f9b17['to'](()=>{const _0x4b9efa=_0x404825;this[_0x4b9efa(0x11a)](_0x56e8c7);})}}),this[_0x404825(0xd0)](_0x56e8c7,_0x5ce10f,_0x4b88be),_0x1628ec[_0x404825(0x105)][_0x404825(0xed)](_0x56e8c7),{'listItem':_0x1628ec,'highlightViews':[_0x1f4b65,_0x2a534e]};}[_0x20ea39(0x10f)](_0x223b97,_0x29d9de){const _0x57a309=_0x20ea39,_0x52e2d4=new _0x175075(this[_0x57a309(0xdd)]),_0x39558c=new _0x3fa8aa(),_0x4ab76d=new _0x545bff(this[_0x57a309(0xdd)],_0x39558c),_0x14e9a4=_0x4ab76d[_0x57a309(0xc5)];return _0x4ab76d[_0x57a309(0x10b)]({'label':_0x29d9de[_0x57a309(0x12a)],'withText':!0x0,'role':_0x57a309(0xab),'icon':void 0x0,'tooltip':!0x1,'class':_0x57a309(0x126)}),_0x4ab76d[_0x57a309(0xc8)]({'on':{'mouseenter':_0x14e9a4['to'](()=>{const _0x7e1154=_0x57a309;this[_0x7e1154(0x119)]()||_0x4ab76d[_0x7e1154(0xc2)]();})}}),this[_0x57a309(0xd0)](_0x4ab76d,_0x223b97,_0x29d9de),_0x52e2d4[_0x57a309(0x105)][_0x57a309(0xed)](_0x4ab76d),{'listItem':_0x52e2d4,'highlightViews':[_0x39558c]};}[_0x20ea39(0x10d)](_0x2db08d,_0x4c1f81){const _0x534b03=_0x20ea39,_0x498869=new _0x27e8a1(this[_0x534b03(0xdd)]),_0x3a6d97=new _0x297612();_0x3a6d97[_0x534b03(0xf1)]=_0x4c1f81,_0x3a6d97[_0x534b03(0xc8)]({'attributes':{'class':_0x534b03(0x11b)}});const _0x21cb25=new _0x312450();return _0x21cb25[_0x534b03(0xe8)]=_0x2db08d,_0x498869[_0x534b03(0xf5)]({'tag':_0x534b03(0x116),'attributes':{'class':_0x534b03(0xf9)},'children':[_0x3a6d97,_0x21cb25]}),{'view':_0x498869,'highlightView':_0x21cb25};}[_0x20ea39(0xd1)](_0x36cb73){const _0x51bc11=_0x20ea39,_0x50eeb2=new _0x27e8a1(this[_0x51bc11(0xdd)]),_0xad797f=new _0x312450();return _0xad797f[_0x51bc11(0xe8)]=_0x36cb73,_0x50eeb2[_0x51bc11(0xf5)]({'tag':_0x51bc11(0x116),'attributes':{'class':_0x51bc11(0x101)},'children':[_0xad797f]}),{'view':_0x50eeb2,'highlightView':_0xad797f};}[_0x20ea39(0x103)](_0x4c326e,_0x491ea0){const _0x30e66f=_0x20ea39,_0xa9d141=new _0x27e8a1(this[_0x30e66f(0xdd)]);return _0xa9d141[_0x30e66f(0xf5)]({'tag':_0x30e66f(0x116),'attributes':{'class':_0x30e66f(0x106)},'children':[_0x4c326e,_0x491ea0]}),_0xa9d141;}[_0x20ea39(0xd0)](_0x4f612f,_0x25ebef,_0x9800f3){const _0x58f9d1=_0x20ea39;_0x4f612f['on'](_0x58f9d1(0xb1),()=>{const _0x26ec8e=_0x58f9d1;_0x25ebef[_0x26ec8e(0xfa)][_0x26ec8e(0xb8)][_0x26ec8e(0xc2)](),_0x25ebef[_0x26ec8e(0xdc)][_0x26ec8e(0xb1)](_0x26ec8e(0xc0),_0x9800f3);});}[_0x20ea39(0x12d)](_0x20dff9,_0x39f23f,_0x55ba5e){const _0x530332=_0x20ea39,_0x375146=new _0x175075(this[_0x530332(0xdd)]),_0x44d67a=new _0x3fa8aa(),_0x140b28=new _0x52563d(this[_0x530332(0xdd)],_0x44d67a),_0x223d12=_0x140b28[_0x530332(0xc5)],_0x5d9469=this[_0x530332(0xa8)](_0x55ba5e),_0x5215b0=this[_0x530332(0xaa)](_0x20dff9,_0x39f23f[_0x530332(0xff)],_0x55ba5e);_0x140b28[_0x530332(0x10b)]({'label':_0x39f23f[_0x530332(0xba)],'withText':!0x0,'role':Gs,'icon':_0x39f23f[_0x530332(0x11c)]??_0x2e767d,'isEnabled':_0x39f23f[_0x530332(0xff)][_0x530332(0xcd)](_0x4e19ce=>_0x4e19ce[_0x530332(0xe2)])}),_0x140b28[_0x530332(0xc8)]({'on':{'mouseenter':_0x223d12['to'](()=>{const _0x375658=_0x530332;this[_0x375658(0x119)]()||_0x140b28[_0x375658(0xc2)]();})}});const _0x57c46a=new _0x48b74f(this[_0x530332(0xdd)]);return _0x57c46a[_0x530332(0xc8)]({'attributes':{'class':['ck',_0x530332(0xb5),_0x530332(0xcc),_0x530332(0xf3)]},'on':{'keydown':_0x223d12['to'](_0x3b7eb7=>{const _0x5ba42e=_0x530332;this[_0x5ba42e(0x10e)](_0x3b7eb7,_0x5d9469,_0x140b28,_0x57c46a);})}}),_0x140b28[_0x530332(0x108)](_0x530332(0xc1))['to'](_0x57c46a,_0x530332(0x127)),this[_0x530332(0xd2)][_0x530332(0xed)](_0x57c46a),_0x57c46a[_0x530332(0xf1)][_0x530332(0xed)](_0x5215b0),this[_0x530332(0xf0)](_0x140b28,_0x57c46a),_0x375146[_0x530332(0x105)][_0x530332(0xed)](_0x140b28),{'listItem':_0x375146,'highlightView':_0x44d67a};}[_0x20ea39(0xaa)](_0x3ca2b1,_0x1dd13b,_0x5b0b4a){const _0xa5f76=_0x20ea39,_0x46d2a0=new _0x45b4dd(this[_0xa5f76(0xdd)]);return _0x46d2a0[_0xa5f76(0xc8)]({'attributes':{'class':['ck',_0xa5f76(0xb5),_0xa5f76(0xb9),_0xa5f76(0xb6)]}}),_0x1dd13b[_0xa5f76(0xbc)](_0x5d0c64=>{const _0x5278fd=_0xa5f76,_0x4acf67=new _0x175075(this[_0x5278fd(0xdd)]),_0x7da304=_0x5e8664({'editor':_0x3ca2b1,'action':_0x5d0c64,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x5278fd(0x119)]()})();_0x4acf67[_0x5278fd(0x105)][_0x5278fd(0xed)](_0x7da304),_0x5b0b4a[_0x5278fd(0xe9)][_0x5278fd(0xed)](_0x7da304),_0x46d2a0[_0x5278fd(0xec)][_0x5278fd(0xed)](_0x4acf67);}),_0x46d2a0;}[_0x20ea39(0xf0)](_0x3e25a5,_0x10f626){const _0x478485=_0x20ea39,_0x4c2115=_0x3e25a5[_0x478485(0xc5)],_0x4f4092=this[_0x478485(0xcf)](_0x3e25a5);_0x3e25a5[_0x478485(0xc8)]({'attributes':{'class':[_0x478485(0x128)]},'on':{'mouseenter':_0x4c2115['to'](()=>{const _0x592cfc=_0x478485;this[_0x592cfc(0xea)](_0x10f626,_0x3e25a5);}),'mouseleave':_0x4c2115['to'](_0x1f95c=>{const _0x44d507=_0x478485,_0x52c1ef=_0x1f95c[_0x44d507(0x12b)];this[_0x44d507(0xbe)](_0x52c1ef,_0x10f626)||this[_0x44d507(0xbd)](_0x10f626);}),'keydown':_0x4c2115['to'](_0xa856e7=>{const _0x17fe3e=_0x478485;_0xa856e7[_0x17fe3e(0xcb)]==_0x4f4092&&(this[_0x17fe3e(0xea)](_0x10f626,_0x3e25a5),_0x10f626[_0x17fe3e(0xf1)][_0x17fe3e(0x122)](0x0)[_0x17fe3e(0xc2)]());})}}),_0x10f626['on'](_0x478485(0xfe),()=>{const _0x33f64a=_0x478485;_0x10f626[_0x33f64a(0xe5)]?.[_0x33f64a(0xdf)](_0x33f64a(0x110),_0x2f1bad=>{const _0x1a0d92=_0x33f64a,_0x411e1a=_0x2f1bad[_0x1a0d92(0x12b)];_0x3e25a5[_0x1a0d92(0xe5)]?.[_0x1a0d92(0xfd)](_0x411e1a)||this[_0x1a0d92(0xbe)](_0x411e1a,_0x10f626)||this[_0x1a0d92(0xbd)](_0x10f626);});});}[_0x20ea39(0xea)](_0x50633d,_0x53c338){const _0x678d29=_0x20ea39;this[_0x678d29(0x10a)][_0x678d29(0xbc)](_0xbfeac6=>{const _0x3a2eee=_0x678d29;_0xbfeac6!==_0x50633d&&_0xbfeac6[_0x3a2eee(0x127)]&&_0xbfeac6[_0x3a2eee(0x11e)]();}),_0x50633d[_0x678d29(0xd6)](),_0x50633d[_0x678d29(0xd3)]({'positions':[_0x22cbcc[_0x678d29(0x121)]],'target':_0x53c338[_0x678d29(0xe5)],'fitInViewport':!0x0}),this[_0x678d29(0x10a)][_0x678d29(0xed)](_0x50633d);}[_0x20ea39(0xbd)](_0x598a81){const _0xd1512b=_0x20ea39;_0x598a81[_0xd1512b(0x11e)](),this[_0xd1512b(0x10a)][_0xd1512b(0xe3)](_0x598a81);}[_0x20ea39(0xee)](){const _0x269873=_0x20ea39;this[_0x269873(0x10a)][_0x269873(0xbc)](_0x2b91e2=>_0x2b91e2[_0x269873(0x11e)]()),this[_0x269873(0x10a)][_0x269873(0x10c)]();}[_0x20ea39(0xbe)](_0x3f65e3,_0xdbd928){const _0x1c2208=_0x20ea39;if(!_0x3f65e3)return!0x1;if(_0xdbd928[_0x1c2208(0xe5)]?.[_0x1c2208(0xfd)](_0x3f65e3))return!0x0;const _0x587b5e=_0x3f65e3;return _0x587b5e[_0x1c2208(0xc6)]&&(null!==_0x587b5e[_0x1c2208(0xc6)](_0x1c2208(0xaf))||null!==_0x587b5e[_0x1c2208(0xc6)](_0x1c2208(0x114))||null!==_0x587b5e[_0x1c2208(0xc6)](_0x1c2208(0xe1)));}[_0x20ea39(0xfb)](){const _0x474db9=_0x20ea39;this[_0x474db9(0xf2)]&&this[_0x474db9(0xf2)][_0x474db9(0x124)]();}[_0x20ea39(0xe7)](){const _0x2cbb19=_0x20ea39;this[_0x2cbb19(0xee)](),this[_0x2cbb19(0xd2)][_0x2cbb19(0x109)](),super[_0x2cbb19(0xe7)]();}[_0x20ea39(0xc2)](){const _0x169947=_0x20ea39;this[_0x169947(0xf2)]?this[_0x169947(0xf2)][_0x169947(0xc2)]():this[_0x169947(0xc4)][_0x169947(0xc2)]();}[_0x20ea39(0xa8)](_0x2b0dc5){const _0x653c6f=_0x20ea39;return _0x653c6f(0x111)===_0x2b0dc5[_0x653c6f(0xdd)][_0x653c6f(0x129)]?_0x653c6f(0xac):_0x653c6f(0xb4);}[_0x20ea39(0xcf)](_0x30a834){const _0x50c145=_0x20ea39;return _0x50c145(0x111)===_0x30a834[_0x50c145(0xdd)][_0x50c145(0x129)]?_0x50c145(0xb4):_0x50c145(0xac);}[_0x20ea39(0x10e)](_0x4988a0,_0x25932e,_0x4a567c,_0x4ce5e3){const _0x69ef09=_0x20ea39;_0x4988a0[_0x69ef09(0xcb)]==_0x25932e&&(_0x4a567c[_0x69ef09(0xc2)](),this[_0x69ef09(0xbd)](_0x4ce5e3));}[_0x20ea39(0x11a)](_0x52a95d){const _0x397cbb=_0x20ea39;_0x52a95d[_0x397cbb(0xb7)](_0x397cbb(0xb1));}}
|