@ckeditor/ckeditor5-ai 47.7.3-alpha.0 → 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
|
-
const
|
|
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
|
-
var
|
|
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 _0x5efead=_0xb4c9;(function(_0x9dd163,_0x42a39b){const _0x3bcd58=_0xb4c9,_0x5c87ca=_0x9dd163();while(!![]){try{const _0x3f8dbc=parseInt(_0x3bcd58(0x12f))/0x1*(-parseInt(_0x3bcd58(0x132))/0x2)+-parseInt(_0x3bcd58(0x144))/0x3*(parseInt(_0x3bcd58(0x1ce))/0x4)+parseInt(_0x3bcd58(0x19f))/0x5*(-parseInt(_0x3bcd58(0x16a))/0x6)+-parseInt(_0x3bcd58(0x1af))/0x7*(parseInt(_0x3bcd58(0x16c))/0x8)+parseInt(_0x3bcd58(0x142))/0x9*(parseInt(_0x3bcd58(0x1c2))/0xa)+parseInt(_0x3bcd58(0x167))/0xb*(-parseInt(_0x3bcd58(0x154))/0xc)+-parseInt(_0x3bcd58(0x1b1))/0xd*(-parseInt(_0x3bcd58(0x14a))/0xe);if(_0x3f8dbc===_0x42a39b)break;else _0x5c87ca['push'](_0x5c87ca['shift']());}catch(_0x5d722b){_0x5c87ca['push'](_0x5c87ca['shift']());}}}(_0x1a95,0x1efd4));import{IconAIAdjustLength as _0x3cb353,IconAIChangeTone as _0x31c0c7,IconAIChatCommands as _0x55cb81,IconAIContinueWriting as _0x195524,IconAIGrammarCheck as _0x24c3e8,IconAIImproveWriting as _0x4f366e,IconAIOther as _0x207ddf,IconAIQuickActions as _0x153d81,IconAITranslate as _0x4eef63}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x54a99b}from'ckeditor5/src/core.js';import{CKEditorError as _0x2cfbc9,logError as _0x143c92}from'ckeditor5/src/utils.js';import{getTranslation as _0x37c550}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0xea00de}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x1112f9}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x51b217,BalloonToolbar as _0x34a1f9,MenuBarMenuView as _0x4960ab,MenuBarMenuListView as _0x5ddba5,MenuBarMenuListItemView as _0x1b8529,MenuBarMenuListItemButtonView as _0x202b89}from'ckeditor5/src/ui.js';function _0x1a95(){const _0x531d71=['AIConnector','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_IMPROVE_WRITING','AIReviewMode','_initializeQuickActionsComponentsAndCommands','message','children','french','add','chat-commands','translate-to-russian','replace','type','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','menuitem','panelView','DisplayNames','translate-to-chinese','label','AI_QUICK_ACTIONS_HEADING','ai.quickActions.removeCommands','CHAT','make-tone-confident','_prepareQuickActionsDefinition','model','make-longer','items','AI_QUICK_ACTIONS_CHANGE_TONE','editor','includes','translate-to-english','translate-to-italian','execute','<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>','_shouldIncludeAction','AI_QUICK_ACTIONS_EXPLAIN','displayedPrompt','translate-to-korean','ai.quickActions.isSearchEnabled','some','make-tone-friendly','AI_QUICK_ACTIONS_MORE_DIRECT','focus','config','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_ASK_AI','language','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','35KTHKtf','ask-ai','make-tone-casual','pluginName','AI_QUICK_ACTIONS_TRANSLATE','English','make-shorter','find','icon','get','getAll','summarize','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','adjust-length','menu','ai-quick-actions-models-unable-to-retrieve','7UiaNYb','_initializeQuickActionsDropdown','1313xUteQu','delegate','buttonView','translate-to-japanese','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','other','AI_QUICK_ACTIONS_MAKE_LONGER','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_MORE_CASUAL','close','translate','_executeQuickAction','menuBarView','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','<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>','italian','actions','54490SRHDVd','attachToDom','make-tone-direct','ACTION','ai.quickActions.extraCommands','ai-quick-actions-unavailable-model','translate-to-french','requires','translate-to-german','isOfficialPlugin','AI_QUICK_ACTIONS_OTHER','values','24FIekAH','AIChat','has','highlight-key-points','translate-to-portuguese','plugins','1099dVlYLc','uiLanguage','AI_QUICK_ACTIONS_CONTINUE_WRITING','298ycTNhj','length','spanish','portuguese','korean','set','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','fix-grammar','_initializeQuickActionsMenuBar','AIQuickActionsUI','commands','change-tone','AI_QUICK_ACTIONS_SUMMARIZE','filter','improve-writing','continue','117TupPEd','AI_QUICK_ACTIONS_CHAT_COMMANDS','36159wtnvQq','view','map','menuBar:aiQuickActions','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','81802pssXKe','translate-to-spanish','russian','isEnabled','aiQuickAction','english','REVIEW','init','explain','isPremiumPlugin','12xqxGfq','AI_QUICK_ACTIONS_MORE_CONFIDENT','editing','AI_QUICK_ACTIONS_MORE_FRIENDLY','forEach','japanese','_quickActionsDefinition','german','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','<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>','AIActions','ai.chat.context.document.enabled','componentFactory','chinese','push','aiQuickActions','locale','_getDefaultAndCustomActions','1292148LaSEEc','getDefaultQuickActions','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','149106jlggTv','make-tone-professional','52432dbnVCB','AI_QUICK_ACTIONS_TRANSLATE_CHINESE'];_0x1a95=function(){return _0x531d71;};return _0x1a95();}import{AIModels as _0x1d2288}from'../aicore/model/aimodels.js';import{AIConnector as _0x382cb6}from'../aicore/aiconnector.js';function _0xb4c9(_0x25d36c,_0x14de7b){const _0x1a956a=_0x1a95();return _0xb4c9=function(_0xb4c98d,_0x5a78ec){_0xb4c98d=_0xb4c98d-0x12c;let _0x1c5803=_0x1a956a[_0xb4c98d];return _0x1c5803;},_0xb4c9(_0x25d36c,_0x14de7b);}import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x5efead(0x1bf),ie=_0x5efead(0x15e),ne=_0x5efead(0x190);export var AIQuickActionType;!function(_0xf8142c){const _0x4914ef=_0x5efead;_0xf8142c[_0x4914ef(0x184)]=_0x4914ef(0x184),_0xf8142c[_0x4914ef(0x1c5)]=_0x4914ef(0x1c5),_0xf8142c[_0x4914ef(0x150)]=_0x4914ef(0x150);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x3b28d4){const _0xf12662=_0x5efead;_0x3b28d4[_0xf12662(0x184)]=_0xf12662(0x1cf),_0x3b28d4[_0xf12662(0x1c5)]=_0xf12662(0x15f),_0x3b28d4[_0xf12662(0x150)]=_0xf12662(0x171);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x54a99b{static get[_0x5efead(0x1c9)](){return[_0x34a1f9,_0x382cb6];}static get[_0x5efead(0x1a2)](){const _0x458784=_0x5efead;return _0x458784(0x13b);}static get[_0x5efead(0x1cb)](){return!0x0;}static get[_0x5efead(0x153)](){return!0x0;}async[_0x5efead(0x151)](){const _0x2ff768=_0x5efead,_0x749369=await this[_0x2ff768(0x166)]();this[_0x2ff768(0x186)](_0x749369),this[_0x2ff768(0x172)]();}static[_0x5efead(0x168)](_0xd87e2a){return function(_0x4e896d){const _0x1ef9fc=_0xb4c9,_0x26f8d7=new Intl[(_0x1ef9fc(0x17f))](['en'],{'type':_0x1ef9fc(0x19d)})['of'](_0x4e896d[_0x1ef9fc(0x130)]),_0x331d36=_0x26f8d7||_0x1ef9fc(0x1a4),_0x561381=[{'id':_0x1ef9fc(0x1a0),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x19c)),'type':AIQuickActionType[_0x1ef9fc(0x184)],'icon':_0x55cb81},{'id':_0x1ef9fc(0x177),'label':_0x37c550(_0x4e896d,_0x1ef9fc(0x143)),'icon':_0x55cb81,'actions':[{'id':_0x1ef9fc(0x152),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x192)),'prompt':ee[_0x1ef9fc(0x179)]('%0',_0x331d36),'type':AIQuickActionType[_0x1ef9fc(0x184)]},{'id':_0x1ef9fc(0x1aa),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x13e)),'prompt':ie[_0x1ef9fc(0x179)]('%0',_0x331d36),'type':AIQuickActionType[_0x1ef9fc(0x184)]},{'id':_0x1ef9fc(0x12c),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x17c)),'prompt':ne[_0x1ef9fc(0x179)]('%0',_0x331d36),'type':AIQuickActionType[_0x1ef9fc(0x184)]}]},{'id':_0x1ef9fc(0x140),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x170)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'icon':_0x4f366e},{'id':_0x1ef9fc(0x141),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x131)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'icon':_0x195524},{'id':_0x1ef9fc(0x139),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x1ab)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'icon':_0x24c3e8},{'id':_0x1ef9fc(0x1ac),'label':_0x37c550(_0x4e896d,_0x1ef9fc(0x19b)),'icon':_0x3cb353,'actions':[{'id':_0x1ef9fc(0x1a5),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x148)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]},{'id':_0x1ef9fc(0x188),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x1b7)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]}]},{'id':_0x1ef9fc(0x13d),'label':_0x37c550(_0x4e896d,_0x1ef9fc(0x18a)),'icon':_0x31c0c7,'actions':[{'id':_0x1ef9fc(0x1a1),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x1b9)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]},{'id':_0x1ef9fc(0x1c4),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x198)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]},{'id':_0x1ef9fc(0x197),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x157)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]},{'id':_0x1ef9fc(0x185),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x155)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]},{'id':_0x1ef9fc(0x16b),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x16f)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]}]},{'id':_0x1ef9fc(0x1bb),'label':_0x37c550(_0x4e896d,_0x1ef9fc(0x1a3)),'icon':_0x4eef63,'actions':[{'id':_0x1ef9fc(0x18d),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x1b5)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x14f)}},{'id':_0x1ef9fc(0x180),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x16d)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x162)}},{'id':_0x1ef9fc(0x14b),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x1be)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x134)}},{'id':_0x1ef9fc(0x1ca),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x169)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x15b)}},{'id':_0x1ef9fc(0x1c8),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x17b)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x175)}},{'id':_0x1ef9fc(0x1b4),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x138)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x159)}},{'id':_0x1ef9fc(0x12d),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x149)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x135)}},{'id':_0x1ef9fc(0x194),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x15c)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x136)}},{'id':_0x1ef9fc(0x18e),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x15d)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x1c0)}},{'id':_0x1ef9fc(0x178),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x19e)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x14c)}}]},{'id':_0x1ef9fc(0x1b6),'label':_0x37c550(_0x4e896d,_0x1ef9fc(0x1cc)),'icon':_0x207ddf,'actions':[]}];return _0x561381;}(_0xd87e2a);}async[_0x5efead(0x166)](){const _0x5ceed1=_0x5efead,_0x36a07b=AIQuickActionsUI[_0x5ceed1(0x168)](this[_0x5ceed1(0x18b)][_0x5ceed1(0x165)]),_0x2e5987=this[_0x5ceed1(0x18b)][_0x5ceed1(0x19a)][_0x5ceed1(0x1a8)](_0x5ceed1(0x1c6))||[];let _0xe09cbb=[];try{_0xe09cbb=await new _0x1d2288({'connector':this[_0x5ceed1(0x18b)][_0x5ceed1(0x12e)][_0x5ceed1(0x1a8)](_0x5ceed1(0x16e)),'locale':this[_0x5ceed1(0x18b)][_0x5ceed1(0x165)]})[_0x5ceed1(0x1a9)]();}catch(_0x190c58){const _0x1eeb31=new _0x2cfbc9(_0x5ceed1(0x1ae),this,{'error':_0x190c58});_0x143c92(_0x1eeb31[_0x5ceed1(0x173)]);}finally{const _0x3e64dc=_0x2e5987[_0x5ceed1(0x146)](_0x533d87=>({..._0x533d87,'icon':void 0x0}));_0x36a07b[_0x5ceed1(0x1a6)](_0x4c00dd=>_0x5ceed1(0x1b6)===_0x4c00dd['id'])[_0x5ceed1(0x1c1)][_0x5ceed1(0x163)](..._0x3e64dc),_0x36a07b[_0x5ceed1(0x158)](_0x48f0ad=>{const _0x3a0e2d=_0x5ceed1;if(_0x3a0e2d(0x1c1)in _0x48f0ad)_0x48f0ad[_0x3a0e2d(0x1c1)][_0x3a0e2d(0x158)](_0x10232b=>{const _0x57dd0b=_0x3a0e2d;if(_0x10232b[_0x57dd0b(0x14d)]=!!_0xe09cbb[_0x57dd0b(0x1a6)](_0x233151=>_0x233151['id']===_0x10232b[_0x57dd0b(0x187)])||void 0x0===_0x10232b[_0x57dd0b(0x187)],!_0x10232b[_0x57dd0b(0x14d)]){const _0x25c4d9=new _0x2cfbc9(_0x57dd0b(0x1c7),this,{'actionId':_0x10232b['id'],'modelId':_0x10232b[_0x57dd0b(0x187)]});_0x143c92(_0x25c4d9[_0x57dd0b(0x173)]);}});else{if(_0x48f0ad[_0x3a0e2d(0x14d)]=!!_0xe09cbb[_0x3a0e2d(0x1a6)](_0x56be1=>_0x56be1['id']===_0x48f0ad[_0x3a0e2d(0x187)])||void 0x0===_0x48f0ad[_0x3a0e2d(0x187)],!_0x48f0ad[_0x3a0e2d(0x14d)]){const _0x5d6302=new _0x2cfbc9(_0x3a0e2d(0x1c7),this,{'actionId':_0x48f0ad['id'],'modelId':_0x48f0ad[_0x3a0e2d(0x187)]});_0x143c92(_0x5d6302[_0x3a0e2d(0x173)]);}}});}return _0x36a07b;}[_0x5efead(0x172)](){const _0x28593a=_0x5efead,_0x59abba=new _0x51b217(this[_0x28593a(0x18b)][_0x28593a(0x165)]);_0x59abba[_0x28593a(0x1c3)](),this[_0x28593a(0x1b0)](_0x59abba),this[_0x28593a(0x13a)](),this[_0x28593a(0x1b8)](_0x59abba);}[_0x5efead(0x1b0)](_0x437fd7){const _0x92065b=_0x5efead,_0x47657a=this[_0x92065b(0x18b)][_0x92065b(0x19a)][_0x92065b(0x1a8)](_0x92065b(0x195))??!0x0;this[_0x92065b(0x18b)]['ui'][_0x92065b(0x161)][_0x92065b(0x176)](_0x92065b(0x164),_0xea00de({'editor':this[_0x92065b(0x18b)],'content':this[_0x92065b(0x15a)],'buttonDefinition':{'icon':_0x153d81,'label':_0x37c550(this[_0x92065b(0x18b)][_0x92065b(0x165)],_0x92065b(0x182))},'bodyCollection':_0x437fd7,'hasSearch':_0x47657a}));}[_0x5efead(0x186)](_0x35013a){const _0x2ca203=_0x5efead;this[_0x2ca203(0x15a)]=_0x35013a[_0x2ca203(0x146)](_0x28b8c3=>{const _0x3f6333=_0x2ca203;if(_0x3f6333(0x1c1)in _0x28b8c3){const _0x34d42a=_0x28b8c3;return{..._0x34d42a,'actions':_0x34d42a[_0x3f6333(0x1c1)][_0x3f6333(0x146)](_0x425eea=>{const {actions:_0x320bc5,..._0x1e2d9f}=_0x34d42a;return{..._0x425eea,'parent':_0x1e2d9f};})[_0x3f6333(0x13f)](_0x45821c=>this[_0x3f6333(0x191)](_0x45821c))};}return _0x28b8c3;})[_0x2ca203(0x13f)](_0x5ae6f6=>_0x2ca203(0x1c1)in _0x5ae6f6?_0x5ae6f6[_0x2ca203(0x1c1)][_0x2ca203(0x133)]>0x0:this[_0x2ca203(0x191)](_0x5ae6f6));}[_0x5efead(0x191)](_0x2a5e4b){const _0x12d029=_0x5efead,_0x1e958c=this[_0x12d029(0x18b)][_0x12d029(0x19a)][_0x12d029(0x1a8)](_0x12d029(0x183))||[];return this[_0x12d029(0x18b)][_0x12d029(0x12e)][_0x12d029(0x1d0)](AIQuickActionTypeToPluginName[_0x2a5e4b[_0x12d029(0x17a)]])&&!_0x1e958c[_0x12d029(0x18c)](_0x2a5e4b['id'])&&!(_0x2a5e4b[_0x12d029(0x17a)]===AIQuickActionType[_0x12d029(0x184)]&&!0x1===this[_0x12d029(0x18b)][_0x12d029(0x19a)][_0x12d029(0x1a8)](_0x12d029(0x160)));}[_0x5efead(0x1b8)](_0x6b1406){const _0x19020a=_0x5efead;this[_0x19020a(0x15a)][_0x19020a(0x158)](_0x50edfc=>{const _0x3111d7=_0x19020a;if(_0x3111d7(0x1c1)in _0x50edfc){const _0x18cab4=_0xea00de({'editor':this[_0x3111d7(0x18b)],'content':_0x50edfc[_0x3111d7(0x1c1)],'buttonDefinition':_0x50edfc,'bodyCollection':_0x6b1406});this[_0x3111d7(0x18b)]['ui'][_0x3111d7(0x161)][_0x3111d7(0x176)](_0x50edfc['id'],_0x18cab4),_0x50edfc[_0x3111d7(0x1c1)][_0x3111d7(0x158)](_0x53109f=>{const _0x127d61=_0x3111d7,_0x4a0cf6=_0x1112f9({'editor':this[_0x127d61(0x18b)],'action':_0x53109f});this[_0x127d61(0x18b)]['ui'][_0x127d61(0x161)][_0x127d61(0x176)](_0x53109f['id'],_0x4a0cf6);});}else{const _0xbc2beb=_0x1112f9({'editor':this[_0x3111d7(0x18b)],'action':_0x50edfc,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x3111d7(0x18b)]['ui'][_0x3111d7(0x161)][_0x3111d7(0x176)](_0x50edfc['id'],_0xbc2beb);}});}[_0x5efead(0x13a)](){const _0x66cad8=_0x5efead;this[_0x66cad8(0x18b)]['ui'][_0x66cad8(0x161)][_0x66cad8(0x176)](_0x66cad8(0x147),_0x4c4d57=>{const _0xedb09=_0x66cad8,_0x7520b4=new _0x4960ab(_0x4c4d57),_0x555eb5=_0x37c550(_0x4c4d57,_0xedb09(0x182));_0x7520b4[_0xedb09(0x1b3)][_0xedb09(0x137)]({'label':_0x555eb5,'icon':_0x153d81});const _0x27412c=new _0x5ddba5(_0x4c4d57);_0x27412c[_0xedb09(0x137)]({'ariaLabel':_0x555eb5,'role':_0xedb09(0x1ad)}),this[_0xedb09(0x15a)][_0xedb09(0x158)](_0xbb522d=>{const _0xfc391b=_0xedb09;if(_0xfc391b(0x1c1)in _0xbb522d){const _0x2f5348=_0xbb522d,_0x2b0980=new _0x1b8529(_0x4c4d57,_0x7520b4),_0x40b600=new _0x4960ab(_0x4c4d57),_0x27af5f=new _0x5ddba5(_0x4c4d57);_0x40b600[_0xfc391b(0x1b3)][_0xfc391b(0x137)]({'label':_0x2f5348[_0xfc391b(0x181)],'icon':_0x2f5348[_0xfc391b(0x1a7)]}),_0x2f5348[_0xfc391b(0x1c1)][_0xfc391b(0x158)](_0x1d3bac=>{const _0x12767b=_0xfc391b,_0x41114c=new _0x1b8529(_0x4c4d57,_0x40b600),_0x43d0cc=new _0x202b89(_0x4c4d57);_0x43d0cc[_0x12767b(0x137)]({'label':_0x1d3bac[_0x12767b(0x193)],'icon':_0x1d3bac[_0x12767b(0x1a7)],'role':_0x12767b(0x17d),'isEnabled':_0x1d3bac[_0x12767b(0x14d)]}),_0x43d0cc['on'](_0x12767b(0x18f),()=>{const _0x2c69d6=_0x12767b;this[_0x2c69d6(0x1bc)](_0x1d3bac);}),_0x43d0cc[_0x12767b(0x1b2)](_0x12767b(0x18f))['to'](_0x40b600),_0x41114c[_0x12767b(0x174)][_0x12767b(0x176)](_0x43d0cc),_0x27af5f[_0x12767b(0x189)][_0x12767b(0x176)](_0x41114c);}),_0x40b600[_0xfc391b(0x17e)][_0xfc391b(0x174)][_0xfc391b(0x176)](_0x27af5f),_0x2b0980[_0xfc391b(0x174)][_0xfc391b(0x176)](_0x40b600),_0x27412c[_0xfc391b(0x189)][_0xfc391b(0x176)](_0x2b0980);}else{const _0x3befbd=_0xbb522d,_0x168411=new _0x1b8529(_0x4c4d57,_0x7520b4),_0x3e72e6=new _0x202b89(_0x4c4d57);_0x3e72e6[_0xfc391b(0x137)]({'label':_0x3befbd[_0xfc391b(0x193)],'icon':_0x3befbd[_0xfc391b(0x1a7)],'role':_0xfc391b(0x17d),'isEnabled':_0x3befbd[_0xfc391b(0x14d)]}),_0x3e72e6['on'](_0xfc391b(0x18f),()=>{const _0x6ded89=_0xfc391b;this[_0x6ded89(0x1bc)](_0x3befbd);}),_0x3e72e6[_0xfc391b(0x1b2)](_0xfc391b(0x18f))['to'](_0x7520b4),_0x168411[_0xfc391b(0x174)][_0xfc391b(0x176)](_0x3e72e6),_0x27412c[_0xfc391b(0x189)][_0xfc391b(0x176)](_0x168411);}});const _0x5e8647=Object[_0xedb09(0x1cd)](AIQuickActionTypeToPluginName)[_0xedb09(0x196)](_0x50d045=>this[_0xedb09(0x18b)][_0xedb09(0x12e)][_0xedb09(0x1d0)](_0x50d045));return _0x7520b4[_0xedb09(0x137)]({'isEnabled':_0x5e8647}),_0x7520b4[_0xedb09(0x17e)][_0xedb09(0x174)][_0xedb09(0x176)](_0x27412c),_0x7520b4;});}[_0x5efead(0x1bc)](_0x2177b2){const _0x5395e8=_0x5efead,_0x4898e=this[_0x5395e8(0x18b)];_0x4898e[_0x5395e8(0x156)][_0x5395e8(0x145)][_0x5395e8(0x199)](),_0x4898e[_0x5395e8(0x13c)][_0x5395e8(0x18f)](_0x5395e8(0x14e),_0x2177b2);const _0x3778dc=_0x4898e['ui'][_0x5395e8(0x145)][_0x5395e8(0x1bd)];_0x3778dc&&_0x3778dc[_0x5395e8(0x1ba)]&&_0x3778dc[_0x5395e8(0x1ba)]();}}
|
|
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 _0x455e50=_0x970f;function _0x970f(_0x2c8b8e,_0x16d22e){const _0x4612f1=_0x4612();return _0x970f=function(_0x970fc4,_0x4418e4){_0x970fc4=_0x970fc4-0x167;let _0x187e75=_0x4612f1[_0x970fc4];return _0x187e75;},_0x970f(_0x2c8b8e,_0x16d22e);}(function(_0xad0278,_0x55dd78){const _0x4e5067=_0x970f,_0x547ad7=_0xad0278();while(!![]){try{const _0x46f30c=parseInt(_0x4e5067(0x181))/0x1*(parseInt(_0x4e5067(0x1d3))/0x2)+-parseInt(_0x4e5067(0x167))/0x3*(-parseInt(_0x4e5067(0x1ef))/0x4)+-parseInt(_0x4e5067(0x16d))/0x5*(-parseInt(_0x4e5067(0x17f))/0x6)+-parseInt(_0x4e5067(0x1dc))/0x7*(-parseInt(_0x4e5067(0x170))/0x8)+-parseInt(_0x4e5067(0x1b1))/0x9*(parseInt(_0x4e5067(0x17a))/0xa)+parseInt(_0x4e5067(0x19e))/0xb+-parseInt(_0x4e5067(0x1cc))/0xc;if(_0x46f30c===_0x55dd78)break;else _0x547ad7['push'](_0x547ad7['shift']());}catch(_0x52efcc){_0x547ad7['push'](_0x547ad7['shift']());}}}(_0x4612,0x99ae5));import{View as _0x3bf479,ListItemView as _0x213cdd,ListView as _0x20a349,BalloonPanelView as _0x2ace01,DropdownMenuPanelPositioningFunctions as _0x5273af,ViewCollection as _0x90e47c,FocusCycler as _0x1f3929,ButtonView as _0x26a70e,IconView as _0x2654fb,HighlightedTextView as _0xd0372d,ButtonLabelWithHighlightView as _0x517bc1,SearchTextView as _0x56cf07}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x261559}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x4d8213,KeystrokeHandler as _0x1c6edf}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x46a604}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x344102}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x2e7cc5}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x157fbf}from'./aiquickactionsfilteredlistview.js';const Qs=_0x455e50(0x1ee),Gs=_0x455e50(0x16f);export class AIQuickActionsDropdownContentView extends _0x3bf479{[_0x455e50(0x1a6)];[_0x455e50(0x1e9)];[_0x455e50(0x1d9)]=null;[_0x455e50(0x1de)]=[];[_0x455e50(0x1e7)];[_0x455e50(0x1b3)];[_0x455e50(0x1c9)];[_0x455e50(0x1cd)];[_0x455e50(0x193)];[_0x455e50(0x1ba)]=new Set();[_0x455e50(0x18d)];constructor(_0xb51686,_0x4eecee,_0x35592e,_0x4eca7b,_0x503c7d=!0x1){const _0x3d9a45=_0x455e50,_0x364f81=_0xb51686[_0x3d9a45(0x173)];super(_0x364f81),this[_0x3d9a45(0x1a6)]=_0x4eca7b,this[_0x3d9a45(0x18d)]=_0x503c7d;const _0x1d69b2=this[_0x3d9a45(0x1a8)](_0xb51686,_0x4eecee,_0x35592e);this[_0x3d9a45(0x1e9)]=new _0x157fbf(_0x364f81,_0x1d69b2,this[_0x3d9a45(0x1de)]),this[_0x3d9a45(0x1e9)][_0x3d9a45(0x1e3)]=Qs,this[_0x3d9a45(0x1e9)][_0x3d9a45(0x172)][_0x3d9a45(0x1b4)](_0x1d69b2),this[_0x3d9a45(0x1b3)]=new _0x4d8213(),this[_0x3d9a45(0x1c9)]=new _0x1c6edf(),_0x503c7d&&(this[_0x3d9a45(0x1d9)]=this[_0x3d9a45(0x17d)]()),this[_0x3d9a45(0x1cd)]=_0x1d69b2,this[_0x3d9a45(0x193)]=new _0x1f3929({'focusables':this[_0x3d9a45(0x1cd)],'focusTracker':this[_0x3d9a45(0x1b3)],'keystrokeHandler':this[_0x3d9a45(0x1c9)]}),_0x503c7d&&this[_0x3d9a45(0x1d9)]&&this[_0x3d9a45(0x193)][_0x3d9a45(0x1ed)](this[_0x3d9a45(0x1d9)][_0x3d9a45(0x193)]);const _0x51cef8=_0x503c7d&&this[_0x3d9a45(0x1d9)]?[this[_0x3d9a45(0x1d9)]]:[this[_0x3d9a45(0x1e9)]];this[_0x3d9a45(0x1e7)]=new _0x90e47c(_0x51cef8),this[_0x3d9a45(0x185)]({'tag':_0x3d9a45(0x1aa),'attributes':{'class':['ck',_0x3d9a45(0x18e),_0x3d9a45(0x1e0),_0x3d9a45(0x1df)],'dir':_0x364f81[_0x3d9a45(0x196)]},'children':this[_0x3d9a45(0x1e7)]});}[_0x455e50(0x17d)](){const _0x47425d=_0x455e50;return new _0x56cf07(this[_0x47425d(0x173)],{'filteredView':this[_0x47425d(0x1e9)],'queryView':{'label':_0x2e7cc5(this[_0x47425d(0x173)],_0x47425d(0x171))},'class':_0x47425d(0x1bf),'infoView':{'text':{'notFound':{'primary':_0x2e7cc5(this[_0x47425d(0x173)],_0x47425d(0x187))}}}});}[_0x455e50(0x194)](){const _0x563f98=_0x455e50;if(!this[_0x563f98(0x18d)]||!this[_0x563f98(0x1d9)]||!this[_0x563f98(0x1d9)][_0x563f98(0x1ec)][_0x563f98(0x1f0)][_0x563f98(0x1c8)])return!0x1;const _0x36c0ba=this[_0x563f98(0x1d9)][_0x563f98(0x1ec)][_0x563f98(0x1f0)][_0x563f98(0x1c8)][_0x563f98(0x190)]?.[_0x563f98(0x1d8)];return this[_0x563f98(0x1d9)][_0x563f98(0x1ec)][_0x563f98(0x1f0)][_0x563f98(0x1c8)][_0x563f98(0x1b5)](_0x36c0ba);}[_0x455e50(0x1a8)](_0x53e578,_0x16edd2,_0x4e3c02){const _0x2c6c34=_0x455e50,_0x13a4db=new _0x90e47c();return _0x16edd2[_0x2c6c34(0x1b7)](_0x4ea4b7=>{const _0x556ad4=_0x2c6c34;if(_0x556ad4(0x1bd)in _0x4ea4b7){const {listItem:_0x589190}=this[_0x556ad4(0x1af)](_0x53e578,_0x4ea4b7,_0x4e3c02);_0x13a4db[_0x556ad4(0x1e1)](_0x589190),_0x4ea4b7[_0x556ad4(0x1bd)][_0x556ad4(0x1b7)](_0x1b5146=>{const _0x1baa60=_0x556ad4;this[_0x1baa60(0x1ea)](_0x53e578,_0x1b5146,_0x4ea4b7[_0x1baa60(0x19b)],_0x4ea4b7[_0x1baa60(0x186)]);const {listItem:_0x16849d,highlightViews:_0x2db7e6}=this[_0x1baa60(0x1c5)](_0x53e578,_0x1b5146,_0x4ea4b7[_0x1baa60(0x19b)],_0x4ea4b7[_0x1baa60(0x186)]);this[_0x1baa60(0x1de)][_0x1baa60(0x1ac)]({'item':_0x16849d,'label':_0x1b5146[_0x1baa60(0x1c1)],'groupLabel':_0x4ea4b7[_0x1baa60(0x19b)],'highlightViews':_0x2db7e6});});}else{const {listItem:_0x3e4515}=this[_0x556ad4(0x1ea)](_0x53e578,_0x4ea4b7);_0x13a4db[_0x556ad4(0x1e1)](_0x3e4515);const _0x108986=_0x3e4515[_0x556ad4(0x1e7)][_0x556ad4(0x1e6)];if(_0x108986){const {listItem:_0x595306,highlightViews:_0x216a1a}=this[_0x556ad4(0x1c5)](_0x53e578,_0x4ea4b7);this[_0x556ad4(0x1de)][_0x556ad4(0x1ac)]({'item':_0x595306,'label':_0x108986[_0x556ad4(0x19b)]||'','highlightViews':_0x216a1a});}}}),_0x13a4db;}[_0x455e50(0x1ea)](_0x244f1b,_0x34e9ac,_0x1f5e3c,_0x1063d2){const _0x193600=_0x455e50,_0x2b8c25=new _0x213cdd(this[_0x193600(0x173)]);if(_0x1f5e3c&&_0x1063d2){const _0x10caa3=new _0x26a70e(this[_0x193600(0x173)]),_0x1379a3=_0x10caa3[_0x193600(0x1a7)],_0x2ab144=new _0xd0372d();_0x2ab144[_0x193600(0x1c7)]=_0x34e9ac[_0x193600(0x1c1)];const _0x4d87fe=new _0xd0372d();_0x4d87fe[_0x193600(0x1c7)]=_0x1f5e3c;const _0x210f02=new _0x2654fb();_0x210f02[_0x193600(0x1eb)]=_0x1063d2,_0x210f02[_0x193600(0x1a1)]({'attributes':{'class':_0x193600(0x1d2)}});const _0x333e46=new _0x3bf479(this[_0x193600(0x173)]);_0x333e46[_0x193600(0x185)]({'tag':_0x193600(0x1cf),'attributes':{'class':_0x193600(0x1e4)},'children':[{'text':'\x20('}]});const _0x4af17f=new _0x3bf479(this[_0x193600(0x173)]);return _0x4af17f[_0x193600(0x185)]({'tag':_0x193600(0x1cf),'attributes':{'class':_0x193600(0x1b2)},'children':[{'text':')'}]}),_0x10caa3[_0x193600(0x16a)]({'label':_0x34e9ac[_0x193600(0x1c1)]+'\x20('+_0x1f5e3c+')','withText':!0x0,'role':_0x193600(0x16f),'class':_0x193600(0x1cb),'tooltip':!0x1}),_0x10caa3[_0x193600(0x185)]({'tag':_0x193600(0x1c0),'attributes':{'class':['ck',_0x193600(0x18b),_0x193600(0x168),_0x193600(0x1d5),_0x193600(0x191)],'type':_0x193600(0x1c0),'role':_0x193600(0x16f),'tabindex':'-1'},'children':[_0x2ab144,_0x333e46,_0x210f02,_0x4d87fe,_0x4af17f],'on':{'mouseenter':_0x1379a3['to'](()=>{const _0x101c97=_0x193600;this[_0x101c97(0x194)]()||_0x10caa3[_0x101c97(0x197)]();}),'click':_0x1379a3['to'](()=>{const _0x2b9be8=_0x193600;_0x10caa3[_0x2b9be8(0x16c)](_0x2b9be8(0x1d6));})}}),_0x10caa3['on'](_0x193600(0x1d6),()=>{const _0x560ad9=_0x193600;_0x244f1b[_0x560ad9(0x175)][_0x560ad9(0x1c3)][_0x560ad9(0x197)](),_0x244f1b[_0x560ad9(0x188)][_0x560ad9(0x1d6)](_0x560ad9(0x19a),_0x34e9ac);}),_0x2b8c25[_0x193600(0x1e7)][_0x193600(0x1e1)](_0x10caa3),{'listItem':_0x2b8c25,'highlightViews':[_0x2ab144,_0x4d87fe]};}{const _0x184eb1=new _0x517bc1(),_0x3996eb=new _0x26a70e(this[_0x193600(0x173)],_0x184eb1),_0x22f16e=_0x3996eb[_0x193600(0x1a7)],_0x138207=_0x34e9ac[_0x193600(0x186)]??_0x34e9ac[_0x193600(0x1a4)]?.[_0x193600(0x186)],_0x5bc086=void 0x0!==_0x34e9ac[_0x193600(0x186)];return _0x3996eb[_0x193600(0x16a)]({'label':_0x34e9ac[_0x193600(0x1c1)],'withText':!0x0,'role':_0x193600(0x16f),'icon':_0x5bc086?_0x138207??_0x261559:void 0x0,'tooltip':!0x1,'class':_0x193600(0x1d5)}),_0x3996eb[_0x193600(0x1a1)]({'on':{'mouseenter':_0x22f16e['to'](()=>{const _0x46dea7=_0x193600;this[_0x46dea7(0x194)]()||_0x3996eb[_0x46dea7(0x197)]();})}}),_0x3996eb['on'](_0x193600(0x1d6),()=>{const _0x568792=_0x193600;_0x244f1b[_0x568792(0x175)][_0x568792(0x1c3)][_0x568792(0x197)](),_0x244f1b[_0x568792(0x188)][_0x568792(0x1d6)](_0x568792(0x19a),_0x34e9ac);}),_0x2b8c25[_0x193600(0x1e7)][_0x193600(0x1e1)](_0x3996eb),{'listItem':_0x2b8c25,'highlightViews':[_0x184eb1]};}}[_0x455e50(0x1c5)](_0x4791a5,_0x4772e2,_0x964308,_0x464dbc){const _0x552449=_0x455e50;return _0x964308&&_0x464dbc?this[_0x552449(0x178)](_0x4791a5,_0x4772e2,_0x964308,_0x464dbc):this[_0x552449(0x1d1)](_0x4791a5,_0x4772e2);}[_0x455e50(0x178)](_0x490448,_0x28b38f,_0x508b1c,_0x5b704c){const _0x1e930f=_0x455e50,_0x3d2e52=new _0x213cdd(this[_0x1e930f(0x173)]),_0x580e81=new _0x26a70e(this[_0x1e930f(0x173)]),_0x50f4e6=_0x580e81[_0x1e930f(0x1a7)],{view:_0x57aef7,highlightView:_0x1da581}=this[_0x1e930f(0x1e2)](_0x508b1c,_0x5b704c),{view:_0x20ddf3,highlightView:_0x40eb0f}=this[_0x1e930f(0x1db)](_0x28b38f[_0x1e930f(0x1c1)]),_0x352993=this[_0x1e930f(0x17b)](_0x57aef7,_0x20ddf3);return _0x580e81[_0x1e930f(0x16a)]({'label':_0x28b38f[_0x1e930f(0x1c1)],'withText':!0x0,'role':_0x1e930f(0x16f),'class':_0x1e930f(0x192),'tooltip':!0x1}),_0x580e81[_0x1e930f(0x185)]({'tag':_0x1e930f(0x1c0),'attributes':{'class':['ck',_0x1e930f(0x18b),_0x1e930f(0x168),_0x1e930f(0x1d5),_0x1e930f(0x195),_0x1e930f(0x1be)],'type':_0x1e930f(0x1c0),'role':_0x1e930f(0x16f),'tabindex':'-1'},'children':[_0x352993],'on':{'mouseenter':_0x50f4e6['to'](()=>{const _0x46f77e=_0x1e930f;this[_0x46f77e(0x194)]()||_0x580e81[_0x46f77e(0x197)]();}),'click':_0x50f4e6['to'](()=>{const _0x2d549c=_0x1e930f;this[_0x2d549c(0x177)](_0x580e81);})}}),this[_0x1e930f(0x1b9)](_0x580e81,_0x490448,_0x28b38f),_0x3d2e52[_0x1e930f(0x1e7)][_0x1e930f(0x1e1)](_0x580e81),{'listItem':_0x3d2e52,'highlightViews':[_0x1da581,_0x40eb0f]};}[_0x455e50(0x1d1)](_0x181ea2,_0x19b1a1){const _0xd70ada=_0x455e50,_0x198cd6=new _0x213cdd(this[_0xd70ada(0x173)]),_0xe66069=new _0x517bc1(),_0x259798=new _0x26a70e(this[_0xd70ada(0x173)],_0xe66069),_0x3160e0=_0x259798[_0xd70ada(0x1a7)];return _0x259798[_0xd70ada(0x16a)]({'label':_0x19b1a1[_0xd70ada(0x1c1)],'withText':!0x0,'role':_0xd70ada(0x16f),'icon':void 0x0,'tooltip':!0x1,'class':_0xd70ada(0x18f)}),_0x259798[_0xd70ada(0x1a1)]({'on':{'mouseenter':_0x3160e0['to'](()=>{const _0x2e661b=_0xd70ada;this[_0x2e661b(0x194)]()||_0x259798[_0x2e661b(0x197)]();})}}),this[_0xd70ada(0x1b9)](_0x259798,_0x181ea2,_0x19b1a1),_0x198cd6[_0xd70ada(0x1e7)][_0xd70ada(0x1e1)](_0x259798),{'listItem':_0x198cd6,'highlightViews':[_0xe66069]};}[_0x455e50(0x1e2)](_0x45936b,_0xcd90bb){const _0xbc5e68=_0x455e50,_0x5e8fb1=new _0x3bf479(this[_0xbc5e68(0x173)]),_0x34581e=new _0x2654fb();_0x34581e[_0xbc5e68(0x1eb)]=_0xcd90bb,_0x34581e[_0xbc5e68(0x1a1)]({'attributes':{'class':_0xbc5e68(0x1d2)}});const _0x373570=new _0xd0372d();return _0x373570[_0xbc5e68(0x1c7)]=_0x45936b,_0x5e8fb1[_0xbc5e68(0x185)]({'tag':_0xbc5e68(0x1aa),'attributes':{'class':_0xbc5e68(0x1e8)},'children':[_0x34581e,_0x373570]}),{'view':_0x5e8fb1,'highlightView':_0x373570};}[_0x455e50(0x1db)](_0x5dfc57){const _0x1ca77f=_0x455e50,_0x5e7a8f=new _0x3bf479(this[_0x1ca77f(0x173)]),_0x53147a=new _0xd0372d();return _0x53147a[_0x1ca77f(0x1c7)]=_0x5dfc57,_0x5e7a8f[_0x1ca77f(0x185)]({'tag':_0x1ca77f(0x1aa),'attributes':{'class':_0x1ca77f(0x1a9)},'children':[_0x53147a]}),{'view':_0x5e7a8f,'highlightView':_0x53147a};}[_0x455e50(0x17b)](_0x4822dd,_0x2e62d3){const _0x5dddc8=_0x455e50,_0x18f100=new _0x3bf479(this[_0x5dddc8(0x173)]);return _0x18f100[_0x5dddc8(0x185)]({'tag':_0x5dddc8(0x1aa),'attributes':{'class':_0x5dddc8(0x1ae)},'children':[_0x4822dd,_0x2e62d3]}),_0x18f100;}[_0x455e50(0x1b9)](_0x12eb55,_0x51c35b,_0x199f8e){const _0x12be73=_0x455e50;_0x12eb55['on'](_0x12be73(0x1d6),()=>{const _0x3c3a95=_0x12be73;_0x51c35b[_0x3c3a95(0x175)][_0x3c3a95(0x1c3)][_0x3c3a95(0x197)](),_0x51c35b[_0x3c3a95(0x188)][_0x3c3a95(0x1d6)](_0x3c3a95(0x19a),_0x199f8e);});}[_0x455e50(0x1af)](_0x7f9a88,_0x456535,_0x4d6b48){const _0x5d673b=_0x455e50,_0x2799f7=new _0x213cdd(this[_0x5d673b(0x173)]),_0x33d57b=new _0x517bc1(),_0x488233=new _0x344102(this[_0x5d673b(0x173)],_0x33d57b),_0x3bf6c9=_0x488233[_0x5d673b(0x1a7)],_0x4eed81=this[_0x5d673b(0x1c4)](_0x4d6b48),_0x51b8a4=this[_0x5d673b(0x17e)](_0x7f9a88,_0x456535[_0x5d673b(0x1bd)],_0x4d6b48);_0x488233[_0x5d673b(0x16a)]({'label':_0x456535[_0x5d673b(0x19b)],'withText':!0x0,'role':Gs,'icon':_0x456535[_0x5d673b(0x186)]??_0x261559,'isEnabled':_0x456535[_0x5d673b(0x1bd)][_0x5d673b(0x16e)](_0x354112=>_0x354112[_0x5d673b(0x1d4)])}),_0x488233[_0x5d673b(0x1a1)]({'on':{'mouseenter':_0x3bf6c9['to'](()=>{const _0x26f9d5=_0x5d673b;this[_0x26f9d5(0x194)]()||_0x488233[_0x26f9d5(0x197)]();})}});const _0x329558=new _0x2ace01(this[_0x5d673b(0x173)]);return _0x329558[_0x5d673b(0x1a1)]({'attributes':{'class':['ck',_0x5d673b(0x18e),_0x5d673b(0x1a0),_0x5d673b(0x1da)]},'on':{'keydown':_0x3bf6c9['to'](_0x52ac8c=>{const _0x268119=_0x5d673b;this[_0x268119(0x199)](_0x52ac8c,_0x4eed81,_0x488233,_0x329558);})}}),_0x488233[_0x5d673b(0x183)](_0x5d673b(0x19d))['to'](_0x329558,_0x5d673b(0x1ab)),this[_0x5d673b(0x1a6)][_0x5d673b(0x1e1)](_0x329558),_0x329558[_0x5d673b(0x1eb)][_0x5d673b(0x1e1)](_0x51b8a4),this[_0x5d673b(0x1a3)](_0x488233,_0x329558),_0x2799f7[_0x5d673b(0x1e7)][_0x5d673b(0x1e1)](_0x488233),{'listItem':_0x2799f7,'highlightView':_0x33d57b};}[_0x455e50(0x17e)](_0x3518b2,_0x38122b,_0x40a4b3){const _0x13b0f7=_0x455e50,_0x3b1a2b=new _0x20a349(this[_0x13b0f7(0x173)]);return _0x3b1a2b[_0x13b0f7(0x1a1)]({'attributes':{'class':['ck',_0x13b0f7(0x18e),_0x13b0f7(0x180),_0x13b0f7(0x1ca)]}}),_0x38122b[_0x13b0f7(0x1b7)](_0x5c89c0=>{const _0x39f390=_0x13b0f7,_0x32750a=new _0x213cdd(this[_0x39f390(0x173)]),_0x7e007=_0x46a604({'editor':_0x3518b2,'action':_0x5c89c0,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x39f390(0x194)]()})();_0x32750a[_0x39f390(0x1e7)][_0x39f390(0x1e1)](_0x7e007),_0x40a4b3[_0x39f390(0x1b3)][_0x39f390(0x1e1)](_0x7e007),_0x3b1a2b[_0x39f390(0x172)][_0x39f390(0x1e1)](_0x32750a);}),_0x3b1a2b;}[_0x455e50(0x1a3)](_0xf1296,_0x2b655c){const _0xf196fd=_0x455e50,_0x106236=_0xf1296[_0xf196fd(0x1a7)],_0x5e3727=this[_0xf196fd(0x169)](_0xf1296);_0xf1296[_0xf196fd(0x1a1)]({'attributes':{'class':[_0xf196fd(0x17c)]},'on':{'mouseenter':_0x106236['to'](()=>{const _0x1c2a67=_0xf196fd;this[_0x1c2a67(0x18a)](_0x2b655c,_0xf1296);}),'mouseleave':_0x106236['to'](_0x4434c3=>{const _0x32a09a=_0xf196fd,_0x382072=_0x4434c3[_0x32a09a(0x1dd)];this[_0x32a09a(0x1b8)](_0x382072,_0x2b655c)||this[_0x32a09a(0x18c)](_0x2b655c);}),'keydown':_0x106236['to'](_0x372fbf=>{const _0x3f87ca=_0xf196fd;_0x372fbf[_0x3f87ca(0x1b6)]==_0x5e3727&&(this[_0x3f87ca(0x18a)](_0x2b655c,_0xf1296),_0x2b655c[_0x3f87ca(0x1eb)][_0x3f87ca(0x184)](0x0)[_0x3f87ca(0x197)]());})}}),_0x2b655c['on'](_0xf196fd(0x16b),()=>{const _0x3b6630=_0xf196fd;_0x2b655c[_0x3b6630(0x1c8)]?.[_0x3b6630(0x179)](_0x3b6630(0x176),_0x5115b9=>{const _0x4d20a5=_0x3b6630,_0x186a32=_0x5115b9[_0x4d20a5(0x1dd)];_0xf1296[_0x4d20a5(0x1c8)]?.[_0x4d20a5(0x1b5)](_0x186a32)||this[_0x4d20a5(0x1b8)](_0x186a32,_0x2b655c)||this[_0x4d20a5(0x18c)](_0x2b655c);});});}[_0x455e50(0x18a)](_0x2b91db,_0x2a5eb8){const _0x4f9f06=_0x455e50;this[_0x4f9f06(0x1ba)][_0x4f9f06(0x1b7)](_0x228728=>{const _0x276e68=_0x4f9f06;_0x228728!==_0x2b91db&&_0x228728[_0x276e68(0x1ab)]&&_0x228728[_0x276e68(0x19c)]();}),_0x2b91db[_0x4f9f06(0x1ce)](),_0x2b91db[_0x4f9f06(0x1c6)]({'positions':[_0x5273af[_0x4f9f06(0x1a5)]],'target':_0x2a5eb8[_0x4f9f06(0x1c8)],'fitInViewport':!0x0}),this[_0x4f9f06(0x1ba)][_0x4f9f06(0x1e1)](_0x2b91db);}[_0x455e50(0x18c)](_0x4f7ec3){const _0x333368=_0x455e50;_0x4f7ec3[_0x333368(0x19c)](),this[_0x333368(0x1ba)][_0x333368(0x174)](_0x4f7ec3);}[_0x455e50(0x1d7)](){const _0x54862b=_0x455e50;this[_0x54862b(0x1ba)][_0x54862b(0x1b7)](_0x14f396=>_0x14f396[_0x54862b(0x19c)]()),this[_0x54862b(0x1ba)][_0x54862b(0x19f)]();}[_0x455e50(0x1b8)](_0x10f72b,_0x119679){const _0x59411f=_0x455e50;if(!_0x10f72b)return!0x1;if(_0x119679[_0x59411f(0x1c8)]?.[_0x59411f(0x1b5)](_0x10f72b))return!0x0;const _0x3652e4=_0x10f72b;return _0x3652e4[_0x59411f(0x1c2)]&&(null!==_0x3652e4[_0x59411f(0x1c2)](_0x59411f(0x1ad))||null!==_0x3652e4[_0x59411f(0x1c2)](_0x59411f(0x182))||null!==_0x3652e4[_0x59411f(0x1c2)](_0x59411f(0x1a2)));}[_0x455e50(0x1d0)](){const _0x142e3a=_0x455e50;this[_0x142e3a(0x1d9)]&&this[_0x142e3a(0x1d9)][_0x142e3a(0x198)]();}[_0x455e50(0x1bc)](){const _0xa9836e=_0x455e50;this[_0xa9836e(0x1d7)](),this[_0xa9836e(0x1a6)][_0xa9836e(0x1e5)](),super[_0xa9836e(0x1bc)]();}[_0x455e50(0x197)](){const _0x186a8e=_0x455e50;this[_0x186a8e(0x1d9)]?this[_0x186a8e(0x1d9)][_0x186a8e(0x197)]():this[_0x186a8e(0x1e9)][_0x186a8e(0x197)]();}[_0x455e50(0x1c4)](_0x5eca2b){const _0x495fa9=_0x455e50;return _0x495fa9(0x1b0)===_0x5eca2b[_0x495fa9(0x173)][_0x495fa9(0x196)]?_0x495fa9(0x1bb):_0x495fa9(0x189);}[_0x455e50(0x169)](_0x3d1d82){const _0x20c660=_0x455e50;return _0x20c660(0x1b0)===_0x3d1d82[_0x20c660(0x173)][_0x20c660(0x196)]?_0x20c660(0x189):_0x20c660(0x1bb);}[_0x455e50(0x199)](_0x4fb8ef,_0x5da09e,_0x134129,_0xcfa1b2){const _0x296003=_0x455e50;_0x4fb8ef[_0x296003(0x1b6)]==_0x5da09e&&(_0x134129[_0x296003(0x197)](),this[_0x296003(0x18c)](_0xcfa1b2));}[_0x455e50(0x177)](_0x3ba7ea){const _0x3111cd=_0x455e50;_0x3ba7ea[_0x3111cd(0x16c)](_0x3111cd(0x1d6));}}function _0x4612(){const _0x44d64b=['_createActionGroupButton','rtl','180171zzyNCs','ck-ai-quick-actions-button_with-group__close-paren','focusTracker','addMany','contains','key','forEach','_isMovingToNestedMenu','_setupActionButtonExecution','_openNestedPanels','ArrowRight','destroy','actions','ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions-search','button','displayedPrompt','closest','view','_getPanelKeystroke','_createSearchResultActionButton','pin','text','element','keystrokes','ck-dropdown-menu-list','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','14111040vXvGSz','_focusables','show','span','resetSearch','_createSearchResultIndividualActionButton','ck-ai-quick-actions-button__group-icon','36816INtioe','isEnabled','ck-ai-quick-actions-button','execute','_hideAllNestedPanels','activeElement','_searchTextView','ck-dropdown-menu__nested-menu__panel','_createSearchResultActionRow','98flBVsn','relatedTarget','_allSearchableItems','ck-rounded-corners','ck-ai-quick-actions','add','_createSearchResultGroupRow','role','ck-ai-quick-actions-button_with-group__open-paren','detachFromDom','first','children','ck-ai-quick-actions-search-result__group-row','optionsListView','_createActionButton','content','queryView','chain','menu','1637068ighHuz','fieldView','3IxndfB','ck-button_with-text','_getButtonKeystroke','set','render','fire','5459180cwMxEW','some','menuitem','582824PcXgaU','AI_QUICK_ACTIONS_SEARCH','items','locale','delete','editing','mouseleave','_handleSearchResultButtonClick','_createSearchResultGroupedActionButton','addEventListener','520NNbcaa','_createSearchResultContentView','ck-ai-quick-actions-group-button','_createSearchTextView','_createGroupActionsList','6WHMyrV','ck-ai-quick-actions-group-list','8KPgPQq','.ck-ai-quick-actions-group-list','bind','get','setTemplate','icon','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','commands','ArrowLeft','_showNestedPanel','ck-button','_hideNestedPanel','_hasSearch','ck-reset_all','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','ownerDocument','ck-ai-quick-actions-button_with-group','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','focusCycler','_isSearchFocused','ck-ai-quick-actions-search-result-button','uiLanguageDirection','focus','reset','_handlePanelKeydown','aiQuickAction','label','hide','isOn','1958836kGVIoZ','clear','ck-ai-quick-actions-group-panel','extendTemplate','.ck-ai-quick-actions-group-button','_setupGroupMenuBehavior','parent','eastSouth','_bodyCollection','bindTemplate','_createListItems','ck-ai-quick-actions-search-result__action-row','div','isVisible','push','.ck-ai-quick-actions-group-panel','ck-ai-quick-actions-search-result__content'];_0x4612=function(){return _0x44d64b;};return _0x4612();}
|
|
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));}}
|