@ckeditor/ckeditor5-ai 47.0.0-alpha.9 → 47.0.0
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 +4 -4
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/legacyerrors.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/model/aichatmodels.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/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.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/aichat/utils/scrollmanager.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 +1 -1
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.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/aiinteraction.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/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.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/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/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/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aitabs/aitabs.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
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x80c624=_0x1b75;(function(_0xa21376,_0x194277){const _0x40f4cc=_0x1b75,_0x15ab72=_0xa21376();while(!![]){try{const _0x4ff36b=parseInt(_0x40f4cc(0xe5))/0x1+-parseInt(_0x40f4cc(0xf5))/0x2*(parseInt(_0x40f4cc(0xc0))/0x3)+-parseInt(_0x40f4cc(0xe4))/0x4*(-parseInt(_0x40f4cc(0xe6))/0x5)+parseInt(_0x40f4cc(0xbf))/0x6+-parseInt(_0x40f4cc(0xde))/0x7+parseInt(_0x40f4cc(0xbc))/0x8*(parseInt(_0x40f4cc(0xc6))/0x9)+-parseInt(_0x40f4cc(0xbe))/0xa*(-parseInt(_0x40f4cc(0xc7))/0xb);if(_0x4ff36b===_0x194277)break;else _0x15ab72['push'](_0x15ab72['shift']());}catch(_0x55986d){_0x15ab72['push'](_0x15ab72['shift']());}}}(_0x2aba,0xaf692));import _0x12e701 from'morphdom';function _0x1b75(_0x3cf300,_0x1f5168){const _0x2abaeb=_0x2aba();return _0x1b75=function(_0x1b7563,_0x4eaff4){_0x1b7563=_0x1b7563-0xb9;let _0xa599f7=_0x2abaeb[_0x1b7563];return _0xa599f7;},_0x1b75(_0x3cf300,_0x1f5168);}import{NodeWithChildren as _0x21585b,Text as _0x17815a,Element as _0x4fa9bd,isText as _0x4d96c0,isDocument as _0x58d3b6,isTag as _0x48fc88,cloneNode as _0x325663,getChildren as _0x495753,prepend as _0x211a38,removeElement as _0x2121bf,textContent as _0x2ff8d2,render as _0x135121}from'./htmlparser.js';import{logWarning as _0x142cbe}from'ckeditor5/src/utils.js';function _0x2aba(){const _0x204316=['delay','document','nodesList','currentIndex','4tnyIwp','268675hBSjgY','1718755lLLvYk','attribs','now','join','tagName','timeoutAbortController','isWordSplitResult','addEventListener','replaceWith','strong','bind','textNodeStyle','stop','html-streamer-current-index-out-of-bounds','getParsedDocumentNodeList','10KEBmVs','code','del','length','sup','16nAKgcT','signal','110eVFUUg','7684164EHQleh','760644QGdUMl','from','shouldBeStreamed','childNodes','entries','onStreamUpdate','4575897qCrUPU','211717lotyrs','isStreaming','querySelectorAll','splitTextNodeIntoWordNodes','options','match','sub','includes','abort','span','ins','isWordSplitSource','parent','children','stream','map','push','renderNode','forEach','reverse','cleanUpAnimations','mark','div','7948367sxyKQu','span[data-ck-html-streamer-word-chunk]'];_0x2aba=function(){return _0x204316;};return _0x2aba();}export class HTMLStreamer{[_0x80c624(0xcb)];[_0x80c624(0xc8)]=!0x1;[_0x80c624(0xe1)]=null;[_0x80c624(0xe2)]=[];[_0x80c624(0xe3)]=0x0;[_0x80c624(0xeb)]=null;constructor(_0x1eaae4){const _0x5c7191=_0x80c624;this[_0x5c7191(0xcb)]={'delay':_0x1eaae4[_0x5c7191(0xe0)]??0x14,'textNodeStyle':_0x1eaae4[_0x5c7191(0xf1)],'onStreamUpdate':_0x1eaae4[_0x5c7191(0xc5)]||(()=>{})};}async[_0x80c624(0xd5)]({document:_0x202088,targetElement:_0xfc9f27,abortSignal:_0x6bbd0}){const _0x11f982=_0x80c624;this[_0x11f982(0xc8)]&&this[_0x11f982(0xf2)](),_0x6bbd0?.[_0x11f982(0xed)](_0x11f982(0xcf),this[_0x11f982(0xf2)][_0x11f982(0xf0)](this)),this[_0x11f982(0xe1)]=_0x325663(_0x202088,!0x0),this[_0x11f982(0xe2)]=this[_0x11f982(0xf4)](),this[_0x11f982(0xc8)]=!0x0,this[_0x11f982(0xe3)]>this[_0x11f982(0xe2)][_0x11f982(0xba)]&&(_0x142cbe(_0x11f982(0xf3),{'currentIndex':this[_0x11f982(0xe3)],'nodeList':this[_0x11f982(0xe2)]}),this[_0x11f982(0xe3)]=this[_0x11f982(0xe2)][_0x11f982(0xba)]);for(let _0x4ed59f=0x0;_0x4ed59f<this[_0x11f982(0xe3)];_0x4ed59f++)this[_0x11f982(0xe2)][_0x4ed59f][_0x11f982(0xc2)]=!0x0;let _0x4774bb=0x0;for(let _0x478605=this[_0x11f982(0xe3)];_0x478605<this[_0x11f982(0xe2)][_0x11f982(0xba)];_0x478605++){const _0x5f20fc=Date[_0x11f982(0xe8)](),_0x100f89=this[_0x11f982(0xe2)][_0x478605],_0x574561=_0x5f20fc-_0x4774bb;_0x100f89[_0x11f982(0xc2)]=!0x0;let _0x23f1d8=_0x100f89[_0x11f982(0xd3)];for(;_0x23f1d8;)_0x23f1d8[_0x11f982(0xc2)]=!0x0,_0x23f1d8=_0x23f1d8[_0x11f982(0xd3)];if(_0x574561<this[_0x11f982(0xcb)][_0x11f982(0xe0)])try{const {promise:_0x38522f,abortController:_0x2ed3b9}=mr(this[_0x11f982(0xcb)][_0x11f982(0xe0)]-_0x574561);this[_0x11f982(0xeb)]=_0x2ed3b9,await _0x38522f;}catch(_0x51040f){return;}_0x12e701(_0xfc9f27,'<'+_0xfc9f27[_0x11f982(0xea)]+'>'+this[_0x11f982(0xd8)](this[_0x11f982(0xe1)])+'</'+_0xfc9f27[_0x11f982(0xea)]+'>',{'childrenOnly':!0x0}),this[_0x11f982(0xcb)][_0x11f982(0xc5)]&&this[_0x11f982(0xcb)][_0x11f982(0xc5)](),this[_0x11f982(0xe3)]=_0x478605,_0x4774bb=Date[_0x11f982(0xe8)]();}this[_0x11f982(0xc8)]=!0x1;}[_0x80c624(0xdb)]({targetElement:_0x443737}){const _0x158334=_0x80c624;Array[_0x158334(0xc1)](_0x443737[_0x158334(0xc9)](_0x158334(0xdf)))[_0x158334(0xda)]()[_0x158334(0xd9)](_0x592209=>{const _0x4efd8c=_0x158334;_0x592209[_0x4efd8c(0xee)](_0x592209[_0x4efd8c(0xc3)][0x0]);});}[_0x80c624(0xf2)](){const _0x20e86a=_0x80c624;this[_0x20e86a(0xc8)]=!0x1,this[_0x20e86a(0xeb)]&&(this[_0x20e86a(0xeb)][_0x20e86a(0xcf)](),this[_0x20e86a(0xeb)]=null);}[_0x80c624(0xd8)](_0x53ec18){const _0x232bcf=_0x80c624;let _0x1f99c4='';if(function(_0x3c95d9){return _0x58d3b6(_0x3c95d9);}(_0x53ec18)){for(const _0x243b78 of _0x53ec18[_0x232bcf(0xd4)])_0x1f99c4+=this[_0x232bcf(0xd8)](_0x243b78);}else{if(ar(_0x53ec18)){if(!_0x53ec18[_0x232bcf(0xc2)])return'';const _0x3f26bd=_0x53ec18,_0x32b272=Object[_0x232bcf(0xc4)](_0x3f26bd[_0x232bcf(0xe7)])[_0x232bcf(0xd6)](([_0x5a5631,_0x12e6af])=>_0x5a5631+'=\x22'+_0x12e6af+'\x22')[_0x232bcf(0xe9)]('\x20');_0x1f99c4+='<'+_0x3f26bd[_0x232bcf(0xea)]+(_0x32b272?'\x20'+_0x32b272:'')+'>';for(const _0x5873d6 of _0x495753(_0x3f26bd))_0x1f99c4+=this[_0x232bcf(0xd8)](_0x5873d6);_0x1f99c4+='</'+_0x3f26bd[_0x232bcf(0xea)]+'>';}else{if(!cr(_0x53ec18))return'';if(!_0x53ec18[_0x232bcf(0xc2)])return'';!function(_0x38ac08){const _0x994496=_0x232bcf;if(!_0x38ac08[_0x994496(0xd3)]||!ar(_0x38ac08[_0x994496(0xd3)]))return!0x1;if(!hr[_0x994496(0xce)](_0x38ac08[_0x994496(0xd3)][_0x994496(0xea)]))return!0x1;return!_0x2ff8d2(_0x38ac08)[_0x994496(0xcc)](/^\s*[<>]\s*$/);}(_0x53ec18)?_0x1f99c4+=_0x135121(_0x53ec18):_0x1f99c4+=_0x135121(new _0x4fa9bd(_0x232bcf(0xd0),{'data-ck-html-streamer-word-chunk':'','style':this[_0x232bcf(0xcb)][_0x232bcf(0xf1)]},[_0x53ec18]));}}return _0x1f99c4;}[_0x80c624(0xf4)](){const _0x3936b6=_0x80c624,_0x58c69a=[];return function(_0x22b2b4,_0x3a010){const _0x1d6521=_0x1b75,_0x1a1234=_0x568ac3=>{const _0x24d653=_0x1b75;if(_0x3a010(_0x568ac3),_0x568ac3 instanceof _0x21585b)for(let _0x1a677a=0x0;_0x1a677a<_0x568ac3[_0x24d653(0xd4)][_0x24d653(0xba)];_0x1a677a++){const _0x365081=_0x568ac3[_0x24d653(0xd4)][_0x1a677a];_0x1a1234(_0x365081);}};for(let _0x115781=0x0;_0x115781<_0x22b2b4[_0x1d6521(0xd4)][_0x1d6521(0xba)];_0x115781++)_0x1a1234(_0x22b2b4[_0x1d6521(0xd4)][_0x115781]);}(this[_0x3936b6(0xe1)],_0x2a714d=>{const _0x458c02=_0x3936b6;if(cr(_0x2a714d)){const _0x32fc18=this[_0x458c02(0xca)](_0x2a714d);_0x32fc18[_0x458c02(0xba)]&&_0x58c69a[_0x458c02(0xd7)](..._0x32fc18);}_0x2a714d[_0x458c02(0xd2)]||_0x2a714d[_0x458c02(0xec)]||_0x58c69a[_0x458c02(0xd7)](_0x2a714d);}),_0x58c69a;}[_0x80c624(0xca)](_0x1f0fec){const _0x27b032=_0x80c624;if(_0x1f0fec[_0x27b032(0xd2)]||_0x1f0fec[_0x27b032(0xec)])return[];const _0x1a798a=_0x2ff8d2(_0x1f0fec)[_0x27b032(0xcc)](/(?:\s*\S+\s*)/g),_0x26b0b1=[];if(_0x1a798a&&_0x1a798a[_0x27b032(0xba)]>0x1){for(const _0x74b085 of _0x1a798a){const _0x1f8cb0=new _0x17815a(_0x74b085);_0x1f8cb0[_0x27b032(0xec)]=!0x0,_0x211a38(_0x1f0fec,_0x1f8cb0),_0x26b0b1[_0x27b032(0xd7)](_0x1f8cb0);}_0x1f0fec[_0x27b032(0xd2)]=!0x0,_0x2121bf(_0x1f0fec);}return _0x26b0b1;}}const hr=['p','li','td','th',_0x80c624(0xd0),'h1','h2','h3','h4','h5','h6','b',_0x80c624(0xef),'i','em',_0x80c624(0xdc),_0x80c624(0xb9),_0x80c624(0xd1),_0x80c624(0xbb),_0x80c624(0xcd),'a',_0x80c624(0xf6),_0x80c624(0xdd)];function cr(_0x415ff6){return _0x4d96c0(_0x415ff6);}function ar(_0x121461){return _0x48fc88(_0x121461);}function mr(_0x5623db){const _0x5eb230=new AbortController();return{'promise':new Promise((_0x4b28bf,_0x235924)=>{const _0x38adc9=_0x1b75,_0x49204f=setTimeout(_0x4b28bf,_0x5623db);_0x5eb230[_0x38adc9(0xbd)][_0x38adc9(0xed)](_0x38adc9(0xcf),()=>{clearTimeout(_0x49204f),_0x235924();});}),'abortController':_0x5eb230};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x51a3df=_0x39bf;(function(_0x5f5d50,_0x1adc45){var _0x44facc=_0x39bf,_0x4d692e=_0x5f5d50();while(!![]){try{var _0x130854=parseInt(_0x44facc(0x9e))/0x1*(parseInt(_0x44facc(0x9c))/0x2)+parseInt(_0x44facc(0x98))/0x3+-parseInt(_0x44facc(0x9b))/0x4+parseInt(_0x44facc(0x9d))/0x5*(parseInt(_0x44facc(0xa3))/0x6)+parseInt(_0x44facc(0xa2))/0x7*(-parseInt(_0x44facc(0x9a))/0x8)+-parseInt(_0x44facc(0x97))/0x9+parseInt(_0x44facc(0xa0))/0xa*(parseInt(_0x44facc(0xa4))/0xb);if(_0x130854===_0x1adc45)break;else _0x4d692e['push'](_0x4d692e['shift']());}catch(_0x42d22b){_0x4d692e['push'](_0x4d692e['shift']());}}}(_0x87ed,0xac91d));function _0x39bf(_0x4a6e7a,_0x5a676b){var _0x87edf9=_0x87ed();return _0x39bf=function(_0x39bfdd,_0x3a7808){_0x39bfdd=_0x39bfdd-0x95;var _0x5ea6e0=_0x87edf9[_0x39bfdd];return _0x5ea6e0;},_0x39bf(_0x4a6e7a,_0x5a676b);}import{Plugin as _0x5a74d9}from'ckeditor5/src/core.js';function _0x87ed(){var _0x30154e=['isOfficialPlugin','4129938TnLVll','2372790zGWCVu','isPremiumPlugin','43128VSpJMW','1782852NPiDpA','6oLefgO','1745paCYRA','361398TQNCkN','AIEditorIntegration','17590CjSelz','requires','1239CYHrEE','7668hivGJF','1529mDjRGA','pluginName'];_0x87ed=function(){return _0x30154e;};return _0x87ed();}import{AIToggleButtonUI as _0xbd9b4d}from'./aitogglebutton/aitogglebuttonui.js';export class AIEditorIntegration extends _0x5a74d9{static get[_0x51a3df(0xa1)](){return[_0xbd9b4d];}static get[_0x51a3df(0x95)](){var _0x395cb7=_0x51a3df;return _0x395cb7(0x9f);}static get[_0x51a3df(0x96)](){return!0x0;}static get[_0x51a3df(0x99)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22b18d=_0x8ccb;(function(_0x4d9dd1,_0x58188e){const _0x2fbfd1=_0x8ccb,_0x5e801f=_0x4d9dd1();while(!![]){try{const _0x4bd72c=-parseInt(_0x2fbfd1(0x10a))/0x1+-parseInt(_0x2fbfd1(0x112))/0x2+-parseInt(_0x2fbfd1(0x11b))/0x3+parseInt(_0x2fbfd1(0x103))/0x4*(-parseInt(_0x2fbfd1(0x118))/0x5)+parseInt(_0x2fbfd1(0x104))/0x6*(-parseInt(_0x2fbfd1(0x119))/0x7)+parseInt(_0x2fbfd1(0x100))/0x8*(-parseInt(_0x2fbfd1(0x116))/0x9)+-parseInt(_0x2fbfd1(0xfa))/0xa*(-parseInt(_0x2fbfd1(0x109))/0xb);if(_0x4bd72c===_0x58188e)break;else _0x5e801f['push'](_0x5e801f['shift']());}catch(_0x379203){_0x5e801f['push'](_0x5e801f['shift']());}}}(_0x4e06,0xcac37));import{Plugin as _0x26aa0c}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x28966d}from'./toggleaicommand.js';import{ButtonView as _0x15dd45,MenuBarMenuListItemButtonView as _0x12e816}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x5ed52f}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2f32ec}from'../../aicore/utils/common-translations.js';function _0x8ccb(_0x3ea9bf,_0xf4ccd2){const _0x4e06c5=_0x4e06();return _0x8ccb=function(_0x8ccb3c,_0x516a0a){_0x8ccb3c=_0x8ccb3c-0xf9;let _0x33b544=_0x4e06c5[_0x8ccb3c];return _0x33b544;},_0x8ccb(_0x3ea9bf,_0xf4ccd2);}import{AITabs as _0x41c5b2}from'../../aitabs/aitabs.js';function _0x4e06(){const _0x3e0109=['get','306WBNkss','menuitemcheckbox','35285yBrZmt','156149SHdAuC','isOfficialPlugin','1772643ImoJIx','ck-ai-toggle-button','commands','10730120qervJZ','editor','value','bind','pluginName','componentFactory','17304xEAkwm','AI_TOGGLE_BUTTON_LABEL','_createAIUIButton','500jdEcpR','222JXgqCK','execute','isEnabled','toggleAi','isOn','44ZJiIBz','529659jAaxUD','requires','locale','menuBar:toggleAi','isPremiumPlugin','init','AIToggleButtonUI','set','1119926MlrmIA','add','listenTo'];_0x4e06=function(){return _0x3e0109;};return _0x4e06();}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x26aa0c{static get[_0x22b18d(0x10b)](){return[_0x41c5b2];}static get[_0x22b18d(0xfe)](){const _0x2f4c78=_0x22b18d;return _0x2f4c78(0x110);}static get[_0x22b18d(0x11a)](){return!0x0;}static get[_0x22b18d(0x10e)](){return!0x0;}[_0x22b18d(0x10f)](){const _0xf92134=_0x22b18d,_0x450a0f=this[_0xf92134(0xfb)];_0x450a0f[_0xf92134(0xf9)][_0xf92134(0x113)](_0xf92134(0x107),new _0x28966d(_0x450a0f)),_0x450a0f['ui'][_0xf92134(0xff)][_0xf92134(0x113)](_0xf92134(0x107),()=>{const _0x397914=_0xf92134,_0x5a90a4=this[_0x397914(0x102)](_0x15dd45);return _0x5a90a4[_0x397914(0x111)]({'tooltip':!0x0,'class':_0x397914(0x11c)}),_0x5a90a4;}),_0x450a0f['ui'][_0xf92134(0xff)][_0xf92134(0x113)](_0xf92134(0x10d),()=>{const _0x239fd2=_0xf92134,_0x491f67=this[_0x239fd2(0x102)](_0x12e816);return _0x491f67[_0x239fd2(0x111)]({'role':_0x239fd2(0x117)}),_0x491f67;});}[_0x22b18d(0x102)](_0x413b72){const _0x48e28c=_0x22b18d,_0x3b8db4=this[_0x48e28c(0xfb)],_0x40578f=_0x3b8db4[_0x48e28c(0xf9)][_0x48e28c(0x115)](_0x48e28c(0x107)),_0x2da547=new _0x413b72(_0x3b8db4[_0x48e28c(0x10c)]);return _0x2da547[_0x48e28c(0x111)]({'label':_0x2f32ec(_0x3b8db4[_0x48e28c(0x10c)],_0x48e28c(0x101)),'icon':_0x5ed52f,'isToggleable':!0x0}),_0x2da547[_0x48e28c(0xfd)](_0x48e28c(0x106))['to'](_0x40578f),_0x2da547[_0x48e28c(0xfd)](_0x48e28c(0x108))['to'](_0x40578f,_0x48e28c(0xfc),_0x51e6eb=>!!_0x51e6eb),this[_0x48e28c(0x114)](_0x2da547,_0x48e28c(0x105),()=>{const _0x1a7af5=_0x48e28c;_0x40578f[_0x1a7af5(0x105)]();}),_0x2da547;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3e80(){const _0x3d62ff=['483210ZFcgXx','126500pKvleK','2IaHanj','editor','2105604cyLgsu','isVisible','129147CJVdDT','240maEWDR','isEnabled','view','execute','plugins','value','9MugiVT','8806xmmwCy','20cCuoIW','120CqRGbN','get','31495ULTLOS','165244FmhKkl','AITabs','bind'];_0x3e80=function(){return _0x3d62ff;};return _0x3e80();}const _0x589f0c=_0x6fd7;function _0x6fd7(_0x16789d,_0x1675d3){const _0x3e80c8=_0x3e80();return _0x6fd7=function(_0x6fd723,_0x14b883){_0x6fd723=_0x6fd723-0x1ab;let _0x131ae2=_0x3e80c8[_0x6fd723];return _0x131ae2;},_0x6fd7(_0x16789d,_0x1675d3);}(function(_0x5bb9b5,_0x5baac4){const _0x21b105=_0x6fd7,_0x48a4ba=_0x5bb9b5();while(!![]){try{const _0x24919c=-parseInt(_0x21b105(0x1ac))/0x1*(-parseInt(_0x21b105(0x1be))/0x2)+-parseInt(_0x21b105(0x1b3))/0x3*(-parseInt(_0x21b105(0x1b9))/0x4)+-parseInt(_0x21b105(0x1b8))/0x5*(-parseInt(_0x21b105(0x1b6))/0x6)+parseInt(_0x21b105(0x1b4))/0x7*(parseInt(_0x21b105(0x1ad))/0x8)+-parseInt(_0x21b105(0x1bc))/0x9+-parseInt(_0x21b105(0x1b5))/0xa*(parseInt(_0x21b105(0x1bd))/0xb)+-parseInt(_0x21b105(0x1c0))/0xc;if(_0x24919c===_0x5baac4)break;else _0x48a4ba['push'](_0x48a4ba['shift']());}catch(_0x3e9de0){_0x48a4ba['push'](_0x48a4ba['shift']());}}}(_0x3e80,0x28323));import{Command as _0x26cb5f}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x26cb5f{constructor(_0x1bdfdc){const _0x17cbb1=_0x6fd7;super(_0x1bdfdc);const _0x148f10=_0x1bdfdc[_0x17cbb1(0x1b1)][_0x17cbb1(0x1b7)](_0x17cbb1(0x1ba))[_0x17cbb1(0x1af)];this[_0x17cbb1(0x1bb)](_0x17cbb1(0x1b2))['to'](_0x148f10,_0x17cbb1(0x1ab)),this[_0x17cbb1(0x1ae)]=!0x0;}[_0x589f0c(0x1b0)](){const _0x368944=_0x589f0c,_0x434949=this[_0x368944(0x1bf)][_0x368944(0x1b1)][_0x368944(0x1b7)](_0x368944(0x1ba))[_0x368944(0x1af)];_0x434949[_0x368944(0x1ab)]=!_0x434949[_0x368944(0x1ab)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1f94(_0x12a4a8,_0x451feb){var _0x413fdc=_0x413f();return _0x1f94=function(_0x1f9443,_0x703383){_0x1f9443=_0x1f9443-0x128;var _0xcf09ba=_0x413fdc[_0x1f9443];return _0xcf09ba;},_0x1f94(_0x12a4a8,_0x451feb);}var _0x27f3e1=_0x1f94;(function(_0x47af38,_0x4cd84e){var _0xdbf197=_0x1f94,_0x45b3dc=_0x47af38();while(!![]){try{var _0x178b6b=-parseInt(_0xdbf197(0x12d))/0x1*(parseInt(_0xdbf197(0x132))/0x2)+-parseInt(_0xdbf197(0x139))/0x3+parseInt(_0xdbf197(0x133))/0x4+parseInt(_0xdbf197(0x137))/0x5*(parseInt(_0xdbf197(0x12c))/0x6)+parseInt(_0xdbf197(0x12f))/0x7*(parseInt(_0xdbf197(0x136))/0x8)+parseInt(_0xdbf197(0x135))/0x9+-parseInt(_0xdbf197(0x130))/0xa;if(_0x178b6b===_0x4cd84e)break;else _0x45b3dc['push'](_0x45b3dc['shift']());}catch(_0xf1237c){_0x45b3dc['push'](_0x45b3dc['shift']());}}}(_0x413f,0x62581));import{Plugin as _0x11fa58}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x1bb66c}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x34c4ee}from'./aiquickactionsediting.js';export class AIQuickActions extends _0x11fa58{static get[_0x27f3e1(0x134)](){return[_0x1bb66c,_0x34c4ee];}static get[_0x27f3e1(0x129)](){var _0x42bdcd=_0x27f3e1;return _0x42bdcd(0x138);}static get[_0x27f3e1(0x128)](){return!0x0;}static get[_0x27f3e1(0x12b)](){return!0x0;}constructor(_0x60d61e){var _0x5ae911=_0x27f3e1;super(_0x60d61e),_0x60d61e[_0x5ae911(0x12e)][_0x5ae911(0x12a)](_0x5ae911(0x131),{'extraCommands':[],'removeCommands':[]});}}function _0x413f(){var _0x92419=['define','isPremiumPlugin','42JwbRvW','1VrODvP','config','925519rVQkad','13477810sbWJRh','ai.quickActions','424774WQEdQN','2571200sLXoXw','requires','5375565vdJwfE','40IZHBgv','158645faxDoP','AIQuickActions','480864VUFxMJ','isOfficialPlugin','pluginName'];_0x413f=function(){return _0x92419;};return _0x413f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x568fe5=_0x1e2f;(function(_0x516fcc,_0x516afa){const _0x1c45c4=_0x1e2f,_0x45dc07=_0x516fcc();while(!![]){try{const _0xfe3df9=-parseInt(_0x1c45c4(0x148))/0x1+-parseInt(_0x1c45c4(0x118))/0x2*(parseInt(_0x1c45c4(0x13f))/0x3)+-parseInt(_0x1c45c4(0x132))/0x4*(parseInt(_0x1c45c4(0x137))/0x5)+-parseInt(_0x1c45c4(0x116))/0x6*(parseInt(_0x1c45c4(0x134))/0x7)+parseInt(_0x1c45c4(0x11e))/0x8*(parseInt(_0x1c45c4(0x12d))/0x9)+-parseInt(_0x1c45c4(0x120))/0xa+parseInt(_0x1c45c4(0x121))/0xb;if(_0xfe3df9===_0x516afa)break;else _0x45dc07['push'](_0x45dc07['shift']());}catch(_0x240091){_0x45dc07['push'](_0x45dc07['shift']());}}}(_0x8402,0x22602));import{Command as _0xbda9ef}from'ckeditor5/src/core.js';import{CKEditorError as _0x534e13,first as _0x3f5fa2}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x4a5a5d}from'./aiquickactionsui.js';function _0x1e2f(_0x550c77,_0xad2946){const _0x8402a2=_0x8402();return _0x1e2f=function(_0x1e2f2c,_0x4d81ba){_0x1e2f2c=_0x1e2f2c-0x116;let _0x32f5a4=_0x8402a2[_0x1e2f2c];return _0x32f5a4;},_0x1e2f(_0x550c77,_0xad2946);}import{getTranslation as _0x5b9472}from'../aicore/utils/common-translations.js';function _0x8402(){const _0x52c4f2=['focusPromptInput','56NgQVsm','activateTab','AIActions','35ofqxGz','getLimitElement','_expandSelectionIfCollapsed','AIChatController','execute','AITabs','parent','removeSelectionFromChatContext','3VynnTm','isCollapsed','ACTION','startConversation','label','_handleAIActionsActionLabel','CHAT','handleAIReviewAction','getSelectedBlocks','222815GWhkfV','change','_handleAIChatAction','ask-ai','model','log','executeAction','prompt','AIReviewMode','document','AIChat','addSelectionToChatContext','72714vEFCDu','get','380664afPLPZ','schema','view','locale','REVIEW','_handleAIActionsAction','67520LhJiGq','selection','204900YRLswF','9109892YcZxGM','_handleAIReviewAction','sendMessage','type','ai-quick-actions-plugin-not-found','actionName','editor','chat','setSelection','plugins','other','has','72sZpAXY','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','args','displayedPrompt','icon','128172JhINob'];_0x8402=function(){return _0x52c4f2;};return _0x8402();}export class AIQuickActionsCommand extends _0xbda9ef{[_0x568fe5(0x13b)](_0x422c06){const _0x9b9477=_0x568fe5;switch(_0x422c06[_0x9b9477(0x124)]){case _0x4a5a5d[_0x9b9477(0x145)]:if(!this[_0x9b9477(0x127)][_0x9b9477(0x12a)][_0x9b9477(0x12c)](_0x9b9477(0x152))){const _0x13a3a0=_0x5b9472(this[_0x9b9477(0x127)][_0x9b9477(0x11b)],_0x9b9477(0x12e),_0x9b9477(0x152));throw new _0x534e13(_0x9b9477(0x125),this[_0x9b9477(0x127)],{'errorMessage':_0x13a3a0});}this[_0x9b9477(0x14a)](_0x422c06);break;case _0x4a5a5d[_0x9b9477(0x141)]:if(!this[_0x9b9477(0x127)][_0x9b9477(0x12a)][_0x9b9477(0x12c)](_0x9b9477(0x136))){const _0x4ed41b=_0x5b9472(this[_0x9b9477(0x127)][_0x9b9477(0x11b)],_0x9b9477(0x12e),_0x9b9477(0x136));throw new _0x534e13(_0x9b9477(0x125),this[_0x9b9477(0x127)],{'errorMessage':_0x4ed41b});}this[_0x9b9477(0x11d)](_0x422c06);break;case _0x4a5a5d[_0x9b9477(0x11c)]:if(!this[_0x9b9477(0x127)][_0x9b9477(0x12a)][_0x9b9477(0x12c)](_0x9b9477(0x150))){const _0x559f14=_0x5b9472(this[_0x9b9477(0x127)][_0x9b9477(0x11b)],_0x9b9477(0x12e),_0x9b9477(0x150));throw new _0x534e13(_0x9b9477(0x125),this[_0x9b9477(0x127)],{'errorMessage':_0x559f14});}this[_0x9b9477(0x122)](_0x422c06);}}async[_0x568fe5(0x14a)](_0x40f8d5){const _0x470527=_0x568fe5,_0x3dfaf5=this[_0x470527(0x127)][_0x470527(0x12a)][_0x470527(0x117)](_0x470527(0x152)),_0x1ef823=this[_0x470527(0x127)][_0x470527(0x12a)][_0x470527(0x117)](_0x470527(0x13a));if(this[_0x470527(0x127)][_0x470527(0x12a)][_0x470527(0x117)](_0x470527(0x13c))[_0x470527(0x11a)][_0x470527(0x135)](_0x470527(0x128)),_0x470527(0x14b)===_0x40f8d5['id'])_0x1ef823[_0x470527(0x13e)](),this[_0x470527(0x139)](),await _0x3dfaf5[_0x470527(0x153)](),_0x3dfaf5[_0x470527(0x133)]();else await _0x3dfaf5[_0x470527(0x142)](),await _0x3dfaf5[_0x470527(0x153)](),await _0x3dfaf5[_0x470527(0x123)]({'message':_0x40f8d5[_0x470527(0x14f)]||_0x40f8d5[_0x470527(0x130)],'quickActionData':{'id':_0x40f8d5['id'],'displayedPrompt':_0x40f8d5[_0x470527(0x130)]}});}[_0x568fe5(0x139)](){const _0x333eba=_0x568fe5,_0x4cc7f0=this[_0x333eba(0x127)],_0x4f5c14=_0x4cc7f0[_0x333eba(0x14c)][_0x333eba(0x151)][_0x333eba(0x11f)];if(!_0x4f5c14[_0x333eba(0x140)])return;const _0x4cd8f7=_0x3f5fa2(_0x4f5c14[_0x333eba(0x147)]())||_0x4cc7f0[_0x333eba(0x14c)][_0x333eba(0x119)][_0x333eba(0x138)](_0x4f5c14);_0x4cc7f0[_0x333eba(0x14c)][_0x333eba(0x149)](_0x41c0ee=>{const _0x181814=_0x333eba;_0x41c0ee[_0x181814(0x129)](_0x4cd8f7,'in');});}[_0x568fe5(0x144)](_0x7e2ab){const _0x24b841=_0x568fe5;return _0x7e2ab[_0x24b841(0x13d)]?.[_0x24b841(0x143)]&&_0x24b841(0x12b)!==_0x7e2ab[_0x24b841(0x13d)]?.['id']?_0x7e2ab[_0x24b841(0x13d)][_0x24b841(0x143)]+':\x20'+_0x7e2ab[_0x24b841(0x130)]:_0x7e2ab[_0x24b841(0x130)];}async[_0x568fe5(0x11d)](_0x6fdb95){const _0x5ae3a4=_0x568fe5,_0x212bb4=this[_0x5ae3a4(0x127)][_0x5ae3a4(0x12a)][_0x5ae3a4(0x117)](_0x5ae3a4(0x136)),_0x481018=_0x6fdb95[_0x5ae3a4(0x14f)]?{'userMessage':_0x6fdb95[_0x5ae3a4(0x14f)],'model':_0x6fdb95[_0x5ae3a4(0x14c)]}:{'actionName':_0x6fdb95[_0x5ae3a4(0x126)]||_0x6fdb95['id'],'args':_0x6fdb95[_0x5ae3a4(0x12f)]},_0x1a8da6=this[_0x5ae3a4(0x144)](_0x6fdb95);await _0x212bb4[_0x5ae3a4(0x14e)](_0x481018,_0x1a8da6,_0x6fdb95[_0x5ae3a4(0x131)]);}async[_0x568fe5(0x122)](_0xa4a122){const _0x35bdd2=_0x568fe5;console[_0x35bdd2(0x14d)](_0x35bdd2(0x146),_0xa4a122);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x17b8(){const _0x12582d=['change:range','commands','add','isOfficialPlugin','219694TBbfiJ','isPremiumPlugin','AIQuickActionsEditing','init','model','93xaFzVA','106566JCSzpm','12FfCoyV','3856908FsjjUJ','aiQuickAction','pluginName','document','384lnNrYL','17662610FfBTCy','get','574870HdEFCz','directChange','editor','has','156863yETgkr','56jrkLmh','44sSPoiQ','AIChat','removeSelectionFromChatContext','557343phSuaJ','selection','plugins'];_0x17b8=function(){return _0x12582d;};return _0x17b8();}const _0x259a14=_0x40b4;(function(_0x47896e,_0x3b23ac){const _0x3aa363=_0x40b4,_0x501e7a=_0x47896e();while(!![]){try{const _0x25b1b6=parseInt(_0x3aa363(0x7c))/0x1+parseInt(_0x3aa363(0x82))/0x2*(-parseInt(_0x3aa363(0x81))/0x3)+-parseInt(_0x3aa363(0x83))/0x4*(-parseInt(_0x3aa363(0x6c))/0x5)+parseInt(_0x3aa363(0x69))/0x6*(-parseInt(_0x3aa363(0x70))/0x7)+-parseInt(_0x3aa363(0x71))/0x8*(-parseInt(_0x3aa363(0x75))/0x9)+parseInt(_0x3aa363(0x6a))/0xa+-parseInt(_0x3aa363(0x72))/0xb*(-parseInt(_0x3aa363(0x84))/0xc);if(_0x25b1b6===_0x3b23ac)break;else _0x501e7a['push'](_0x501e7a['shift']());}catch(_0x1e8c43){_0x501e7a['push'](_0x501e7a['shift']());}}}(_0x17b8,0xeb5d5));import{Plugin as _0x244b7c}from'ckeditor5/src/core.js';function _0x40b4(_0x369f45,_0x135149){const _0x17b885=_0x17b8();return _0x40b4=function(_0x40b4b2,_0x1c8711){_0x40b4b2=_0x40b4b2-0x67;let _0x3efb7b=_0x17b885[_0x40b4b2];return _0x3efb7b;},_0x40b4(_0x369f45,_0x135149);}import{AIQuickActionsCommand as _0x3f46e9}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x244b7c{static get[_0x259a14(0x67)](){const _0x1f5eeb=_0x259a14;return _0x1f5eeb(0x7e);}static get[_0x259a14(0x7b)](){return!0x0;}static get[_0x259a14(0x7d)](){return!0x0;}[_0x259a14(0x7f)](){const _0x399f56=_0x259a14,_0x31518e=this[_0x399f56(0x6e)],_0x1fd7ef=new _0x3f46e9(this[_0x399f56(0x6e)]);if(_0x31518e[_0x399f56(0x79)][_0x399f56(0x7a)](_0x399f56(0x85),_0x1fd7ef),_0x31518e[_0x399f56(0x77)][_0x399f56(0x6f)](_0x399f56(0x73))){const _0x520d69=this[_0x399f56(0x6e)][_0x399f56(0x77)][_0x399f56(0x6b)](_0x399f56(0x73));_0x31518e[_0x399f56(0x80)][_0x399f56(0x68)][_0x399f56(0x76)]['on'](_0x399f56(0x78),(_0x5c4d97,_0x3f3edd)=>{const _0x3c32ca=_0x399f56;_0x3f3edd[_0x3c32ca(0x6d)]&&_0x520d69[_0x3c32ca(0x74)]();});}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3ba7df=_0xbf99;(function(_0x4135b1,_0x301049){const _0x59a940=_0xbf99,_0x854ee5=_0x4135b1();while(!![]){try{const _0x17e974=-parseInt(_0x59a940(0x248))/0x1*(parseInt(_0x59a940(0x1f8))/0x2)+-parseInt(_0x59a940(0x20a))/0x3+parseInt(_0x59a940(0x274))/0x4*(-parseInt(_0x59a940(0x224))/0x5)+parseInt(_0x59a940(0x222))/0x6+parseInt(_0x59a940(0x234))/0x7*(parseInt(_0x59a940(0x230))/0x8)+parseInt(_0x59a940(0x23b))/0x9*(parseInt(_0x59a940(0x1e8))/0xa)+-parseInt(_0x59a940(0x1e6))/0xb;if(_0x17e974===_0x301049)break;else _0x854ee5['push'](_0x854ee5['shift']());}catch(_0x344324){_0x854ee5['push'](_0x854ee5['shift']());}}}(_0x251a,0x9c0c6));import{IconAIAdjustLength as _0x4f225c,IconAIAskAI as _0x40504b,IconAIChangeTone as _0x58f71,IconAIChatCommands as _0x5b73ad,IconAIContinueWriting as _0x3b951d,IconAIGrammarCheck as _0x24ce0a,IconAIImproveWriting as _0x2eb0e9,IconAIOther as _0x15a65d,IconAIQuickActions as _0x57e9b5,IconAITranslate as _0x138916}from'@ckeditor/ckeditor5-icons';function _0xbf99(_0x161a6e,_0x31e493){const _0x251af7=_0x251a();return _0xbf99=function(_0xbf99ed,_0x4c2aff){_0xbf99ed=_0xbf99ed-0x1e1;let _0x106400=_0x251af7[_0xbf99ed];return _0x106400;},_0xbf99(_0x161a6e,_0x31e493);}import{Plugin as _0x1c144f}from'ckeditor5/src/core.js';import{getTranslation as _0x33c8fe}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x9594e6}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x462d8b}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x4158a9,BalloonToolbar as _0x3a0c38,MenuBarMenuView as _0x1b21f9,MenuBarMenuListView as _0x3d27c8,MenuBarMenuListItemView as _0x92c8d,MenuBarMenuListItemButtonView as _0x84e9aa}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Bt=_0x3ba7df(0x252),Jt=_0x3ba7df(0x1e5),Vt=_0x3ba7df(0x225);export var AIQuickActionType;!function(_0x1263e1){const _0x140879=_0x3ba7df;_0x1263e1[_0x140879(0x207)]=_0x140879(0x207),_0x1263e1[_0x140879(0x24f)]=_0x140879(0x24f),_0x1263e1[_0x140879(0x22d)]=_0x140879(0x22d);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0xb333c9){const _0x52a752=_0x3ba7df;_0xb333c9[_0x52a752(0x207)]=_0x52a752(0x218),_0xb333c9[_0x52a752(0x24f)]=_0x52a752(0x23e),_0xb333c9[_0x52a752(0x22d)]=_0x52a752(0x227);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x251a(){const _0x3aeb1b=['make-tone-friendly','portuguese','french','translate-to-portuguese','other','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','includes','make-shorter','execute','_initializeQuickActionsDropdown','english','CHAT','some','chat-commands','62730DHAaCz','make-tone-direct','AI_QUICK_ACTIONS_CHAT_COMMANDS','items','translate-to-chinese','make-tone-casual','label','find','has','filter','ask-ai','aiQuickAction','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_MORE_CASUAL','AIChat','_quickActionsDefinition','isPremiumPlugin','_executeQuickAction','AI_QUICK_ACTIONS_ASK_AI','commands','attachToDom','italian','make-longer','highlight-key-points','7230474Zoqnsb','AI_QUICK_ACTIONS_MORE_DIRECT','106180ZDJRks','<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>','translate-to-german','AIReviewMode','map','translate-to-italian','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','length','ai.quickActions.removeCommands','REVIEW','aiQuickActions','_getDefaultAndCustomActions','8XEaksF','componentFactory','replace','displayedPrompt','2567754nKjNOZ','improve-writing','continue','locale','view','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','195696RtWQFY','values','init','AIActions','make-tone-confident','panelView','explain','delegate','_initializeQuickActionsComponents','russian','language','actions','AI_QUICK_ACTIONS_SUMMARIZE','206237PcNKef','DisplayNames','type','translate-to-french','icon','buttonView','set','ACTION','translate','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','<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>','editor','config','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','summarize','get','children','make-tone-professional','editing','fix-grammar','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','forEach','AI_QUICK_ACTIONS_CHANGE_TONE','translate-to-spanish','translate-to-english','_shouldIncludeAction','AI_QUICK_ACTIONS_IMPROVE_WRITING','chinese','AI_QUICK_ACTIONS_EXPLAIN','menuitem','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','getDefaultQuickActions','japanese','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_MAKE_SHORTER','menuBarView','AI_QUICK_ACTIONS_TRANSLATE','English','isOfficialPlugin','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','AI_QUICK_ACTIONS_OTHER','AI_QUICK_ACTIONS_HEADING','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','116vCrWdV','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','pluginName','menu','focus','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','_initializeQuickActionsComponentsAndCommands','translate-to-japanese','german','uiLanguage','<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>','9597720eVWFoe','korean','360FnxEbx','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','menuBar:aiQuickActions','AI_QUICK_ACTIONS_ADJUST_LENGTH','spanish','AIQuickActionsUI','AI_QUICK_ACTIONS_MAKE_LONGER','translate-to-korean','plugins','AI_QUICK_ACTIONS_CONTINUE_WRITING','close','requires','adjust-length','AI_QUICK_ACTIONS_MORE_FRIENDLY','add','change-tone','2TCtWoj','translate-to-russian','AI_QUICK_ACTIONS_MORE_CONFIDENT','push'];_0x251a=function(){return _0x3aeb1b;};return _0x251a();}export class AIQuickActionsUI extends _0x1c144f{static get[_0x3ba7df(0x1f3)](){return[_0x3a0c38];}static get[_0x3ba7df(0x276)](){const _0x3b3537=_0x3ba7df;return _0x3b3537(0x1ed);}static get[_0x3ba7df(0x26e)](){return!0x0;}static get[_0x3ba7df(0x21a)](){return!0x0;}[_0x3ba7df(0x23d)](){const _0x1cfcfe=_0x3ba7df;this[_0x1cfcfe(0x269)](this[_0x1cfcfe(0x22f)]()),this[_0x1cfcfe(0x1e1)]();}static[_0x3ba7df(0x267)](_0x14267e){return function(_0x162723){const _0x4299a9=_0xbf99,_0x16ec57=new Intl[(_0x4299a9(0x249))](['en'],{'type':_0x4299a9(0x245)})['of'](_0x162723[_0x4299a9(0x1e4)]),_0x31f4d7=_0x16ec57||_0x4299a9(0x26d),_0x51780b=[{'id':_0x4299a9(0x214),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x21c)),'type':AIQuickActionType[_0x4299a9(0x207)],'icon':_0x40504b},{'id':_0x4299a9(0x209),'label':_0x33c8fe(_0x162723,_0x4299a9(0x20c)),'icon':_0x5b73ad,'actions':[{'id':_0x4299a9(0x241),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x264)),'prompt':Bt[_0x4299a9(0x232)]('%0',_0x31f4d7),'type':AIQuickActionType[_0x4299a9(0x207)]},{'id':_0x4299a9(0x256),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x247)),'prompt':Jt[_0x4299a9(0x232)]('%0',_0x31f4d7),'type':AIQuickActionType[_0x4299a9(0x207)]},{'id':_0x4299a9(0x221),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x26f)),'prompt':Vt[_0x4299a9(0x232)]('%0',_0x31f4d7),'type':AIQuickActionType[_0x4299a9(0x207)]}]},{'id':_0x4299a9(0x235),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x262)),'type':AIQuickActionType[_0x4299a9(0x24f)],'icon':_0x2eb0e9},{'id':_0x4299a9(0x236),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x1f1)),'type':AIQuickActionType[_0x4299a9(0x24f)],'icon':_0x3b951d},{'id':_0x4299a9(0x25b),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x22a)),'type':AIQuickActionType[_0x4299a9(0x24f)],'icon':_0x24ce0a},{'id':_0x4299a9(0x1f4),'label':_0x33c8fe(_0x162723,_0x4299a9(0x1eb)),'icon':_0x4f225c,'actions':[{'id':_0x4299a9(0x203),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x26a)),'type':AIQuickActionType[_0x4299a9(0x24f)]},{'id':_0x4299a9(0x220),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x1ee)),'type':AIQuickActionType[_0x4299a9(0x24f)]}]},{'id':_0x4299a9(0x1f7),'label':_0x33c8fe(_0x162723,_0x4299a9(0x25e)),'icon':_0x58f71,'actions':[{'id':_0x4299a9(0x20f),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x217)),'type':AIQuickActionType[_0x4299a9(0x24f)]},{'id':_0x4299a9(0x20b),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x223)),'type':AIQuickActionType[_0x4299a9(0x24f)]},{'id':_0x4299a9(0x1fc),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x1f5)),'type':AIQuickActionType[_0x4299a9(0x24f)]},{'id':_0x4299a9(0x23f),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x1fa)),'type':AIQuickActionType[_0x4299a9(0x24f)]},{'id':_0x4299a9(0x259),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x266)),'type':AIQuickActionType[_0x4299a9(0x24f)]}]},{'id':_0x4299a9(0x250),'label':_0x33c8fe(_0x162723,_0x4299a9(0x26c)),'icon':_0x138916,'actions':[{'id':_0x4299a9(0x260),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x255)),'type':AIQuickActionType[_0x4299a9(0x24f)],'actionName':_0x4299a9(0x250),'args':{'language':_0x4299a9(0x206)}},{'id':_0x4299a9(0x20e),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x279)),'type':AIQuickActionType[_0x4299a9(0x24f)],'actionName':_0x4299a9(0x250),'args':{'language':_0x4299a9(0x263)}},{'id':_0x4299a9(0x25f),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x201)),'type':AIQuickActionType[_0x4299a9(0x24f)],'actionName':_0x4299a9(0x250),'args':{'language':_0x4299a9(0x1ec)}},{'id':_0x4299a9(0x226),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x1e9)),'type':AIQuickActionType[_0x4299a9(0x24f)],'actionName':_0x4299a9(0x250),'args':{'language':_0x4299a9(0x1e3)}},{'id':_0x4299a9(0x24b),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x216)),'type':AIQuickActionType[_0x4299a9(0x24f)],'actionName':_0x4299a9(0x250),'args':{'language':_0x4299a9(0x1fe)}},{'id':_0x4299a9(0x1e2),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x275)),'type':AIQuickActionType[_0x4299a9(0x24f)],'actionName':_0x4299a9(0x250),'args':{'language':_0x4299a9(0x268)}},{'id':_0x4299a9(0x1ff),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x23a)),'type':AIQuickActionType[_0x4299a9(0x24f)],'actionName':_0x4299a9(0x250),'args':{'language':_0x4299a9(0x1fd)}},{'id':_0x4299a9(0x1ef),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x273)),'type':AIQuickActionType[_0x4299a9(0x24f)],'actionName':_0x4299a9(0x250),'args':{'language':_0x4299a9(0x1e7)}},{'id':_0x4299a9(0x229),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x251)),'type':AIQuickActionType[_0x4299a9(0x24f)],'actionName':_0x4299a9(0x250),'args':{'language':_0x4299a9(0x21f)}},{'id':_0x4299a9(0x1f9),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x25c)),'type':AIQuickActionType[_0x4299a9(0x24f)],'actionName':_0x4299a9(0x250),'args':{'language':_0x4299a9(0x244)}}]},{'id':_0x4299a9(0x200),'label':_0x33c8fe(_0x162723,_0x4299a9(0x270)),'icon':_0x15a65d,'actions':[]}];return _0x51780b;}(_0x14267e);}[_0x3ba7df(0x22f)](){const _0x1dbe7c=_0x3ba7df,_0x3bd791=AIQuickActionsUI[_0x1dbe7c(0x267)](this[_0x1dbe7c(0x253)][_0x1dbe7c(0x237)]),_0xd57e5=(this[_0x1dbe7c(0x253)][_0x1dbe7c(0x254)][_0x1dbe7c(0x257)](_0x1dbe7c(0x272))||[])[_0x1dbe7c(0x228)](_0x2e1f34=>({..._0x2e1f34,'icon':void 0x0}));return _0x3bd791[_0x1dbe7c(0x211)](_0x5a3682=>_0x1dbe7c(0x200)===_0x5a3682['id'])[_0x1dbe7c(0x246)][_0x1dbe7c(0x1fb)](..._0xd57e5),_0x3bd791;}[_0x3ba7df(0x1e1)](){const _0x1d5dc1=_0x3ba7df,_0x15f9c7=new _0x4158a9(this[_0x1d5dc1(0x253)][_0x1d5dc1(0x237)]);_0x15f9c7[_0x1d5dc1(0x21e)](),this[_0x1d5dc1(0x205)](_0x15f9c7),this[_0x1d5dc1(0x239)](),this[_0x1d5dc1(0x243)](_0x15f9c7);}[_0x3ba7df(0x205)](_0x2524a5){const _0x4b88a3=_0x3ba7df;this[_0x4b88a3(0x253)]['ui'][_0x4b88a3(0x231)][_0x4b88a3(0x1f6)](_0x4b88a3(0x22e),_0x9594e6(this[_0x4b88a3(0x253)],this[_0x4b88a3(0x219)],{'icon':_0x57e9b5,'label':_0x33c8fe(this[_0x4b88a3(0x253)][_0x4b88a3(0x237)],_0x4b88a3(0x271))},_0x2524a5));}[_0x3ba7df(0x269)](_0x210808){const _0x5d916c=_0x3ba7df;this[_0x5d916c(0x219)]=_0x210808[_0x5d916c(0x228)](_0x5b12aa=>{const _0x1cc51e=_0x5d916c;if(_0x1cc51e(0x246)in _0x5b12aa){const _0x9c5dd9=_0x5b12aa;return{..._0x9c5dd9,'actions':_0x9c5dd9[_0x1cc51e(0x246)][_0x1cc51e(0x228)](_0x13098d=>{const {actions:_0x4f0710,..._0xcd7696}=_0x9c5dd9;return{..._0x13098d,'parent':_0xcd7696};})[_0x1cc51e(0x213)](_0x1a8308=>this[_0x1cc51e(0x261)](_0x1a8308))};}return _0x5b12aa;})[_0x5d916c(0x213)](_0x2a6dea=>_0x5d916c(0x246)in _0x2a6dea?_0x2a6dea[_0x5d916c(0x246)][_0x5d916c(0x22b)]>0x0:this[_0x5d916c(0x261)](_0x2a6dea));}[_0x3ba7df(0x261)](_0x36671f){const _0x19b3e3=_0x3ba7df,_0x51f74d=this[_0x19b3e3(0x253)][_0x19b3e3(0x254)][_0x19b3e3(0x257)](_0x19b3e3(0x22c))||[];return this[_0x19b3e3(0x253)][_0x19b3e3(0x1f0)][_0x19b3e3(0x212)](AIQuickActionTypeToPluginName[_0x36671f[_0x19b3e3(0x24a)]])&&!_0x51f74d[_0x19b3e3(0x202)](_0x36671f['id']);}[_0x3ba7df(0x243)](_0x48230d){const _0x52e384=_0x3ba7df;this[_0x52e384(0x219)][_0x52e384(0x25d)](_0x12b619=>{const _0x148696=_0x52e384;if(_0x148696(0x246)in _0x12b619){const _0x5b91e9=_0x9594e6(this[_0x148696(0x253)],_0x12b619[_0x148696(0x246)],_0x12b619,_0x48230d);this[_0x148696(0x253)]['ui'][_0x148696(0x231)][_0x148696(0x1f6)](_0x12b619['id'],_0x5b91e9),_0x12b619[_0x148696(0x246)][_0x148696(0x25d)](_0xdd407d=>{const _0x320081=_0x148696,_0x361cbf=_0x462d8b(this[_0x320081(0x253)],_0xdd407d);this[_0x320081(0x253)]['ui'][_0x320081(0x231)][_0x320081(0x1f6)](_0xdd407d['id'],_0x361cbf);});}else{const _0x39af74=_0x462d8b(this[_0x148696(0x253)],_0x12b619);this[_0x148696(0x253)]['ui'][_0x148696(0x231)][_0x148696(0x1f6)](_0x12b619['id'],_0x39af74);}});}[_0x3ba7df(0x239)](){const _0x55eaa7=_0x3ba7df;this[_0x55eaa7(0x253)]['ui'][_0x55eaa7(0x231)][_0x55eaa7(0x1f6)](_0x55eaa7(0x1ea),_0xffe4d0=>{const _0x1d4ba4=_0x55eaa7,_0x1adb4b=new _0x1b21f9(_0xffe4d0),_0x5550d6=_0x33c8fe(_0xffe4d0,_0x1d4ba4(0x271));_0x1adb4b[_0x1d4ba4(0x24d)][_0x1d4ba4(0x24e)]({'label':_0x5550d6,'icon':_0x57e9b5});const _0x47ae67=new _0x3d27c8(_0xffe4d0);_0x47ae67[_0x1d4ba4(0x24e)]({'ariaLabel':_0x5550d6,'role':_0x1d4ba4(0x277)}),this[_0x1d4ba4(0x219)][_0x1d4ba4(0x25d)](_0x192694=>{const _0x3bf0f9=_0x1d4ba4;if(_0x3bf0f9(0x246)in _0x192694){const _0x29bbfe=_0x192694,_0xe35876=new _0x92c8d(_0xffe4d0,_0x1adb4b),_0x5e7482=new _0x1b21f9(_0xffe4d0),_0x14b7f5=new _0x3d27c8(_0xffe4d0);_0x5e7482[_0x3bf0f9(0x24d)][_0x3bf0f9(0x24e)]({'label':_0x29bbfe[_0x3bf0f9(0x210)],'icon':_0x29bbfe[_0x3bf0f9(0x24c)]}),_0x29bbfe[_0x3bf0f9(0x246)][_0x3bf0f9(0x25d)](_0x389ca=>{const _0x58d781=_0x3bf0f9,_0x265c3d=new _0x92c8d(_0xffe4d0,_0x5e7482),_0x2f48e5=new _0x84e9aa(_0xffe4d0);_0x2f48e5[_0x58d781(0x24e)]({'label':_0x389ca[_0x58d781(0x233)],'icon':_0x389ca[_0x58d781(0x24c)],'role':_0x58d781(0x265)}),_0x2f48e5['on'](_0x58d781(0x204),()=>{const _0x45aeda=_0x58d781;this[_0x45aeda(0x21b)](_0x389ca);}),_0x2f48e5[_0x58d781(0x242)](_0x58d781(0x204))['to'](_0x5e7482),_0x265c3d[_0x58d781(0x258)][_0x58d781(0x1f6)](_0x2f48e5),_0x14b7f5[_0x58d781(0x20d)][_0x58d781(0x1f6)](_0x265c3d);}),_0x5e7482[_0x3bf0f9(0x240)][_0x3bf0f9(0x258)][_0x3bf0f9(0x1f6)](_0x14b7f5),_0xe35876[_0x3bf0f9(0x258)][_0x3bf0f9(0x1f6)](_0x5e7482),_0x47ae67[_0x3bf0f9(0x20d)][_0x3bf0f9(0x1f6)](_0xe35876);}else{const _0x49e500=_0x192694,_0x40388c=new _0x92c8d(_0xffe4d0,_0x1adb4b),_0x1a3fa9=new _0x84e9aa(_0xffe4d0);_0x1a3fa9[_0x3bf0f9(0x24e)]({'label':_0x49e500[_0x3bf0f9(0x233)],'icon':_0x49e500[_0x3bf0f9(0x24c)],'role':_0x3bf0f9(0x265)}),_0x1a3fa9['on'](_0x3bf0f9(0x204),()=>{const _0x37c08f=_0x3bf0f9;this[_0x37c08f(0x21b)](_0x49e500);}),_0x1a3fa9[_0x3bf0f9(0x242)](_0x3bf0f9(0x204))['to'](_0x1adb4b),_0x40388c[_0x3bf0f9(0x258)][_0x3bf0f9(0x1f6)](_0x1a3fa9),_0x47ae67[_0x3bf0f9(0x20d)][_0x3bf0f9(0x1f6)](_0x40388c);}});const _0x12192e=Object[_0x1d4ba4(0x23c)](AIQuickActionTypeToPluginName)[_0x1d4ba4(0x208)](_0x4769ac=>this[_0x1d4ba4(0x253)][_0x1d4ba4(0x1f0)][_0x1d4ba4(0x212)](_0x4769ac));return _0x1adb4b[_0x1d4ba4(0x24e)]({'isEnabled':_0x12192e}),_0x1adb4b[_0x1d4ba4(0x240)][_0x1d4ba4(0x258)][_0x1d4ba4(0x1f6)](_0x47ae67),_0x1adb4b;});}[_0x3ba7df(0x21b)](_0x1aca03){const _0x13b0f7=_0x3ba7df,_0x13e4e7=this[_0x13b0f7(0x253)];_0x13e4e7[_0x13b0f7(0x25a)][_0x13b0f7(0x238)][_0x13b0f7(0x278)](),_0x13e4e7[_0x13b0f7(0x21d)][_0x13b0f7(0x204)](_0x13b0f7(0x215),_0x1aca03);const _0x5816a2=_0x13e4e7['ui'][_0x13b0f7(0x238)][_0x13b0f7(0x26b)];_0x5816a2&&_0x5816a2[_0x13b0f7(0x1f2)]&&_0x5816a2[_0x13b0f7(0x1f2)]();}}
|
|
23
|
+
const _0x51e8e0=_0x151a;(function(_0x43d8ba,_0x25bc23){const _0x4e94b9=_0x151a,_0x43a298=_0x43d8ba();while(!![]){try{const _0x3730ec=parseInt(_0x4e94b9(0x233))/0x1+-parseInt(_0x4e94b9(0x1b8))/0x2+-parseInt(_0x4e94b9(0x1b5))/0x3+parseInt(_0x4e94b9(0x1f9))/0x4+-parseInt(_0x4e94b9(0x1ce))/0x5+parseInt(_0x4e94b9(0x208))/0x6+-parseInt(_0x4e94b9(0x1d0))/0x7;if(_0x3730ec===_0x25bc23)break;else _0x43a298['push'](_0x43a298['shift']());}catch(_0x313a3){_0x43a298['push'](_0x43a298['shift']());}}}(_0x35f5,0x1c283));import{IconAIAdjustLength as _0x9de14b,IconAIAskAI as _0x59d408,IconAIChangeTone as _0x1bcfcb,IconAIChatCommands as _0x87065c,IconAIContinueWriting as _0x3368af,IconAIGrammarCheck as _0x51d786,IconAIImproveWriting as _0x27ab6a,IconAIOther as _0x2533ad,IconAIQuickActions as _0x1a8cd1,IconAITranslate as _0x484913}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x4c664e}from'ckeditor5/src/core.js';import{getTranslation as _0x5ef184}from'../aicore/utils/common-translations.js';function _0x35f5(){const _0x5e7f07=['make-tone-confident','summarize','length','highlight-key-points','chat-commands','make-longer','actions','494451tOfiXF','make-tone-casual','items','254392LsAMDh','italian','make-tone-direct','menuitem','componentFactory','map','_quickActionsDefinition','add','push','AI_QUICK_ACTIONS_MORE_CONFIDENT','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_MORE_DIRECT','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','japanese','portuguese','other','locale','plugins','make-tone-professional','make-shorter','isOfficialPlugin','364190fmZvgY','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','393295BOJFNS','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_ASK_AI','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','spanish','REVIEW','AI_QUICK_ACTIONS_SUMMARIZE','_prepareQuickActionsDefinition','translate-to-french','ACTION','filter','<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>','init','translate-to-german','AIActions','editing','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','view','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','german','delegate','AI_QUICK_ACTIONS_OTHER','ai.quickActions.extraCommands','English','set','config','chinese','has','get','DisplayNames','menuBarView','translate-to-portuguese','find','french','russian','ask-ai','commands','_initializeQuickActionsMenuBar','_initializeQuickActionsDropdown','<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>','forEach','422868uNLUmF','korean','panelView','aiQuickAction','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_EXPLAIN','replace','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','attachToDom','uiLanguage','ai.quickActions.removeCommands','english','CHAT','values','1352418YybyUq','translate-to-korean','language','translate-to-spanish','AIReviewMode','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','focus','AI_QUICK_ACTIONS_MORE_FRIENDLY','explain','execute','label','translate','aiQuickActions','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','includes','isPremiumPlugin','some','translate-to-english','requires','menu','change-tone','editor','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','_initializeQuickActionsComponents','pluginName','AIChat','make-tone-friendly','icon','translate-to-chinese','getDefaultQuickActions','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','menuBar:aiQuickActions','AI_QUICK_ACTIONS_MAKE_LONGER','displayedPrompt','AIQuickActionsUI','AI_QUICK_ACTIONS_CONTINUE_WRITING','translate-to-italian','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_IMPROVE_WRITING','_shouldIncludeAction','AI_QUICK_ACTIONS_MORE_CASUAL','continue','type','205247TpbCtT','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>','adjust-length','_executeQuickAction','translate-to-russian','improve-writing','buttonView','close','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_MAKE_SHORTER','fix-grammar','translate-to-japanese'];_0x35f5=function(){return _0x5e7f07;};return _0x35f5();}import{aiQuickActionsDropdownCreator as _0x10a857}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x5372bd}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x2ae2a2,BalloonToolbar as _0x82d9db,MenuBarMenuView as _0x1fa1df,MenuBarMenuListView as _0x41384a,MenuBarMenuListItemView as _0x2d844c,MenuBarMenuListItemButtonView as _0x350329}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const te=_0x51e8e0(0x1db),ee=_0x51e8e0(0x235),ie=_0x51e8e0(0x1f7);export var AIQuickActionType;!function(_0x14c9a8){const _0x4ca079=_0x51e8e0;_0x14c9a8[_0x4ca079(0x206)]=_0x4ca079(0x206),_0x14c9a8[_0x4ca079(0x1d9)]=_0x4ca079(0x1d9),_0x14c9a8[_0x4ca079(0x1d5)]=_0x4ca079(0x1d5);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;function _0x151a(_0x134e04,_0x4742ff){const _0x35f531=_0x35f5();return _0x151a=function(_0x151af0,_0x37bcd4){_0x151af0=_0x151af0-0x1b4;let _0x535601=_0x35f531[_0x151af0];return _0x535601;},_0x151a(_0x134e04,_0x4742ff);}!function(_0x1b3a63){const _0x3d8732=_0x51e8e0;_0x1b3a63[_0x3d8732(0x206)]=_0x3d8732(0x221),_0x1b3a63[_0x3d8732(0x1d9)]=_0x3d8732(0x1de),_0x1b3a63[_0x3d8732(0x1d5)]=_0x3d8732(0x20c);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x4c664e{static get[_0x51e8e0(0x21a)](){return[_0x82d9db];}static get[_0x51e8e0(0x220)](){const _0x1551ea=_0x51e8e0;return _0x1551ea(0x22a);}static get[_0x51e8e0(0x1cd)](){return!0x0;}static get[_0x51e8e0(0x217)](){return!0x0;}[_0x51e8e0(0x1dc)](){const _0x252d9b=_0x51e8e0;this[_0x252d9b(0x1d7)](this[_0x252d9b(0x1c2)]()),this[_0x252d9b(0x1c4)]();}static[_0x51e8e0(0x225)](_0x40406d){return function(_0x195d41){const _0x39efcd=_0x151a,_0x46bbde=new Intl[(_0x39efcd(0x1ed))](['en'],{'type':_0x39efcd(0x20a)})['of'](_0x195d41[_0x39efcd(0x203)]),_0x2859cd=_0x46bbde||_0x39efcd(0x1e7),_0x3429ad=[{'id':_0x39efcd(0x1f3),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1d2)),'type':AIQuickActionType[_0x39efcd(0x206)],'icon':_0x59d408},{'id':_0x39efcd(0x247),'label':_0x5ef184(_0x195d41,_0x39efcd(0x23c)),'icon':_0x87065c,'actions':[{'id':_0x39efcd(0x210),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1fe)),'prompt':te[_0x39efcd(0x1ff)]('%0',_0x2859cd),'type':AIQuickActionType[_0x39efcd(0x206)]},{'id':_0x39efcd(0x244),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1d6)),'prompt':ee[_0x39efcd(0x1ff)]('%0',_0x2859cd),'type':AIQuickActionType[_0x39efcd(0x206)]},{'id':_0x39efcd(0x246),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x215)),'prompt':ie[_0x39efcd(0x1ff)]('%0',_0x2859cd),'type':AIQuickActionType[_0x39efcd(0x206)]}]},{'id':_0x39efcd(0x239),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x22e)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'icon':_0x27ab6a},{'id':_0x39efcd(0x231),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x22b)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'icon':_0x3368af},{'id':_0x39efcd(0x241),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x201)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'icon':_0x51d786},{'id':_0x39efcd(0x236),'label':_0x5ef184(_0x195d41,_0x39efcd(0x1d1)),'icon':_0x9de14b,'actions':[{'id':_0x39efcd(0x1cc),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x240)),'type':AIQuickActionType[_0x39efcd(0x1d9)]},{'id':_0x39efcd(0x248),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x228)),'type':AIQuickActionType[_0x39efcd(0x1d9)]}]},{'id':_0x39efcd(0x21c),'label':_0x5ef184(_0x195d41,_0x39efcd(0x1fd)),'icon':_0x1bcfcb,'actions':[{'id':_0x39efcd(0x1b6),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x230)),'type':AIQuickActionType[_0x39efcd(0x1d9)]},{'id':_0x39efcd(0x1ba),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1c3)),'type':AIQuickActionType[_0x39efcd(0x1d9)]},{'id':_0x39efcd(0x222),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x20f)),'type':AIQuickActionType[_0x39efcd(0x1d9)]},{'id':_0x39efcd(0x243),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1c1)),'type':AIQuickActionType[_0x39efcd(0x1d9)]},{'id':_0x39efcd(0x1cb),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x200)),'type':AIQuickActionType[_0x39efcd(0x1d9)]}]},{'id':_0x39efcd(0x213),'label':_0x5ef184(_0x195d41,_0x39efcd(0x23f)),'icon':_0x484913,'actions':[{'id':_0x39efcd(0x219),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x21e)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x205)}},{'id':_0x39efcd(0x224),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x22d)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1ea)}},{'id':_0x39efcd(0x20b),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x20d)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1d4)}},{'id':_0x39efcd(0x1dd),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x226)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1e3)}},{'id':_0x39efcd(0x1d8),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1e0)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1f1)}},{'id':_0x39efcd(0x242),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x23e)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1c6)}},{'id':_0x39efcd(0x1ef),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1cf)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1c7)}},{'id':_0x39efcd(0x209),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1e2)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1fa)}},{'id':_0x39efcd(0x22c),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1c5)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1b9)}},{'id':_0x39efcd(0x238),'displayedPrompt':_0x5ef184(_0x195d41,_0x39efcd(0x1d3)),'type':AIQuickActionType[_0x39efcd(0x1d9)],'actionName':_0x39efcd(0x213),'args':{'language':_0x39efcd(0x1f2)}}]},{'id':_0x39efcd(0x1c8),'label':_0x5ef184(_0x195d41,_0x39efcd(0x1e5)),'icon':_0x2533ad,'actions':[]}];return _0x3429ad;}(_0x40406d);}[_0x51e8e0(0x1c2)](){const _0x3d4275=_0x51e8e0,_0x3879aa=AIQuickActionsUI[_0x3d4275(0x225)](this[_0x3d4275(0x21d)][_0x3d4275(0x1c9)]),_0x24721c=(this[_0x3d4275(0x21d)][_0x3d4275(0x1e9)][_0x3d4275(0x1ec)](_0x3d4275(0x1e6))||[])[_0x3d4275(0x1bd)](_0x2d9912=>({..._0x2d9912,'icon':void 0x0}));return _0x3879aa[_0x3d4275(0x1f0)](_0x1c24e5=>_0x3d4275(0x1c8)===_0x1c24e5['id'])[_0x3d4275(0x1b4)][_0x3d4275(0x1c0)](..._0x24721c),_0x3879aa;}[_0x51e8e0(0x1c4)](){const _0x506b17=_0x51e8e0,_0x5c4832=new _0x2ae2a2(this[_0x506b17(0x21d)][_0x506b17(0x1c9)]);_0x5c4832[_0x506b17(0x202)](),this[_0x506b17(0x1f6)](_0x5c4832),this[_0x506b17(0x1f5)](),this[_0x506b17(0x21f)](_0x5c4832);}[_0x51e8e0(0x1f6)](_0x2d1eb2){const _0x24d6bd=_0x51e8e0;this[_0x24d6bd(0x21d)]['ui'][_0x24d6bd(0x1bc)][_0x24d6bd(0x1bf)](_0x24d6bd(0x214),_0x10a857(this[_0x24d6bd(0x21d)],this[_0x24d6bd(0x1be)],{'icon':_0x1a8cd1,'label':_0x5ef184(this[_0x24d6bd(0x21d)][_0x24d6bd(0x1c9)],_0x24d6bd(0x23d))},_0x2d1eb2));}[_0x51e8e0(0x1d7)](_0x5afab1){const _0x233474=_0x51e8e0;this[_0x233474(0x1be)]=_0x5afab1[_0x233474(0x1bd)](_0x2bffe0=>{const _0x3562b6=_0x233474;if(_0x3562b6(0x1b4)in _0x2bffe0){const _0x2ae1d0=_0x2bffe0;return{..._0x2ae1d0,'actions':_0x2ae1d0[_0x3562b6(0x1b4)][_0x3562b6(0x1bd)](_0x327889=>{const {actions:_0x1cb242,..._0x392f6e}=_0x2ae1d0;return{..._0x327889,'parent':_0x392f6e};})[_0x3562b6(0x1da)](_0x490406=>this[_0x3562b6(0x22f)](_0x490406))};}return _0x2bffe0;})[_0x233474(0x1da)](_0x7259ed=>_0x233474(0x1b4)in _0x7259ed?_0x7259ed[_0x233474(0x1b4)][_0x233474(0x245)]>0x0:this[_0x233474(0x22f)](_0x7259ed));}[_0x51e8e0(0x22f)](_0x4c4c6c){const _0x458b89=_0x51e8e0,_0x5c740f=this[_0x458b89(0x21d)][_0x458b89(0x1e9)][_0x458b89(0x1ec)](_0x458b89(0x204))||[];return this[_0x458b89(0x21d)][_0x458b89(0x1ca)][_0x458b89(0x1eb)](AIQuickActionTypeToPluginName[_0x4c4c6c[_0x458b89(0x232)]])&&!_0x5c740f[_0x458b89(0x216)](_0x4c4c6c['id']);}[_0x51e8e0(0x21f)](_0x3509f8){const _0x2b7347=_0x51e8e0;this[_0x2b7347(0x1be)][_0x2b7347(0x1f8)](_0x23fac1=>{const _0x48970c=_0x2b7347;if(_0x48970c(0x1b4)in _0x23fac1){const _0x4c73ca=_0x10a857(this[_0x48970c(0x21d)],_0x23fac1[_0x48970c(0x1b4)],_0x23fac1,_0x3509f8);this[_0x48970c(0x21d)]['ui'][_0x48970c(0x1bc)][_0x48970c(0x1bf)](_0x23fac1['id'],_0x4c73ca),_0x23fac1[_0x48970c(0x1b4)][_0x48970c(0x1f8)](_0x31d132=>{const _0x4b94f3=_0x48970c,_0x10aa55=_0x5372bd(this[_0x4b94f3(0x21d)],_0x31d132);this[_0x4b94f3(0x21d)]['ui'][_0x4b94f3(0x1bc)][_0x4b94f3(0x1bf)](_0x31d132['id'],_0x10aa55);});}else{const _0x44102b=_0x5372bd(this[_0x48970c(0x21d)],_0x23fac1);this[_0x48970c(0x21d)]['ui'][_0x48970c(0x1bc)][_0x48970c(0x1bf)](_0x23fac1['id'],_0x44102b);}});}[_0x51e8e0(0x1f5)](){const _0x349f48=_0x51e8e0;this[_0x349f48(0x21d)]['ui'][_0x349f48(0x1bc)][_0x349f48(0x1bf)](_0x349f48(0x227),_0x30eaa4=>{const _0x38164a=_0x349f48,_0x4ad320=new _0x1fa1df(_0x30eaa4),_0x584388=_0x5ef184(_0x30eaa4,_0x38164a(0x23d));_0x4ad320[_0x38164a(0x23a)][_0x38164a(0x1e8)]({'label':_0x584388,'icon':_0x1a8cd1});const _0x5deee8=new _0x41384a(_0x30eaa4);_0x5deee8[_0x38164a(0x1e8)]({'ariaLabel':_0x584388,'role':_0x38164a(0x21b)}),this[_0x38164a(0x1be)][_0x38164a(0x1f8)](_0x2f2464=>{const _0x27963e=_0x38164a;if(_0x27963e(0x1b4)in _0x2f2464){const _0x5603c3=_0x2f2464,_0x567870=new _0x2d844c(_0x30eaa4,_0x4ad320),_0x11d451=new _0x1fa1df(_0x30eaa4),_0x5b260d=new _0x41384a(_0x30eaa4);_0x11d451[_0x27963e(0x23a)][_0x27963e(0x1e8)]({'label':_0x5603c3[_0x27963e(0x212)],'icon':_0x5603c3[_0x27963e(0x223)]}),_0x5603c3[_0x27963e(0x1b4)][_0x27963e(0x1f8)](_0x2559c1=>{const _0x105bcc=_0x27963e,_0xebe906=new _0x2d844c(_0x30eaa4,_0x11d451),_0x35eabd=new _0x350329(_0x30eaa4);_0x35eabd[_0x105bcc(0x1e8)]({'label':_0x2559c1[_0x105bcc(0x229)],'icon':_0x2559c1[_0x105bcc(0x223)],'role':_0x105bcc(0x1bb)}),_0x35eabd['on'](_0x105bcc(0x211),()=>{const _0x35d545=_0x105bcc;this[_0x35d545(0x237)](_0x2559c1);}),_0x35eabd[_0x105bcc(0x1e4)](_0x105bcc(0x211))['to'](_0x11d451),_0xebe906[_0x105bcc(0x234)][_0x105bcc(0x1bf)](_0x35eabd),_0x5b260d[_0x105bcc(0x1b7)][_0x105bcc(0x1bf)](_0xebe906);}),_0x11d451[_0x27963e(0x1fb)][_0x27963e(0x234)][_0x27963e(0x1bf)](_0x5b260d),_0x567870[_0x27963e(0x234)][_0x27963e(0x1bf)](_0x11d451),_0x5deee8[_0x27963e(0x1b7)][_0x27963e(0x1bf)](_0x567870);}else{const _0x392656=_0x2f2464,_0x3278af=new _0x2d844c(_0x30eaa4,_0x4ad320),_0x5b3abf=new _0x350329(_0x30eaa4);_0x5b3abf[_0x27963e(0x1e8)]({'label':_0x392656[_0x27963e(0x229)],'icon':_0x392656[_0x27963e(0x223)],'role':_0x27963e(0x1bb)}),_0x5b3abf['on'](_0x27963e(0x211),()=>{const _0x57a3b1=_0x27963e;this[_0x57a3b1(0x237)](_0x392656);}),_0x5b3abf[_0x27963e(0x1e4)](_0x27963e(0x211))['to'](_0x4ad320),_0x3278af[_0x27963e(0x234)][_0x27963e(0x1bf)](_0x5b3abf),_0x5deee8[_0x27963e(0x1b7)][_0x27963e(0x1bf)](_0x3278af);}});const _0x8f0c81=Object[_0x38164a(0x207)](AIQuickActionTypeToPluginName)[_0x38164a(0x218)](_0x3c39e0=>this[_0x38164a(0x21d)][_0x38164a(0x1ca)][_0x38164a(0x1eb)](_0x3c39e0));return _0x4ad320[_0x38164a(0x1e8)]({'isEnabled':_0x8f0c81}),_0x4ad320[_0x38164a(0x1fb)][_0x38164a(0x234)][_0x38164a(0x1bf)](_0x5deee8),_0x4ad320;});}[_0x51e8e0(0x237)](_0x14fb75){const _0x1c8f6d=_0x51e8e0,_0x35c729=this[_0x1c8f6d(0x21d)];_0x35c729[_0x1c8f6d(0x1df)][_0x1c8f6d(0x1e1)][_0x1c8f6d(0x20e)](),_0x35c729[_0x1c8f6d(0x1f4)][_0x1c8f6d(0x211)](_0x1c8f6d(0x1fc),_0x14fb75);const _0x4c394b=_0x35c729['ui'][_0x1c8f6d(0x1e1)][_0x1c8f6d(0x1ee)];_0x4c394b&&_0x4c394b[_0x1c8f6d(0x23b)]&&_0x4c394b[_0x1c8f6d(0x23b)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x16f9f6,_0x258bee){const _0xd3ba63=_0x5d7d,_0x25e6ad=_0x16f9f6();while(!![]){try{const _0x5dc0d8=-parseInt(_0xd3ba63(0xcf))/0x1*(parseInt(_0xd3ba63(0xd2))/0x2)+-parseInt(_0xd3ba63(0xd6))/0x3*(parseInt(_0xd3ba63(0xe5))/0x4)+-parseInt(_0xd3ba63(0xd8))/0x5*(-parseInt(_0xd3ba63(0xdb))/0x6)+-parseInt(_0xd3ba63(0xda))/0x7*(parseInt(_0xd3ba63(0xcc))/0x8)+-parseInt(_0xd3ba63(0xe1))/0x9*(parseInt(_0xd3ba63(0xe2))/0xa)+-parseInt(_0xd3ba63(0xd9))/0xb+parseInt(_0xd3ba63(0xde))/0xc;if(_0x5dc0d8===_0x258bee)break;else _0x25e6ad['push'](_0x25e6ad['shift']());}catch(_0x1d94ae){_0x25e6ad['push'](_0x25e6ad['shift']());}}}(_0x5f24,0xe7810));function _0x5f24(){const _0x4f9b5f=['14ySRIkn','parent','bindTemplate','editing','7836DSQugE','set','625ASnzls','8223017qqMoiu','21JIZcmb','29658uzHdFP','view','displayedPrompt','53045460rJlWqr','focus','commands','4862205jWdFTp','10eDNgMS','icon','extendTemplate','2784ZUXsTe','locale','1275752NTKOQx','menuitem','execute','72277gyAIxv','ck-ai-quick-actions-button','aiQuickAction'];_0x5f24=function(){return _0x4f9b5f;};return _0x5f24();}import{ButtonView as _0x588966}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x1d9d53}from'@ckeditor/ckeditor5-icons';function _0x5d7d(_0x3bba75,_0x338aba){const _0x5f2410=_0x5f24();return _0x5d7d=function(_0x5d7d98,_0x283c34){_0x5d7d98=_0x5d7d98-0xcb;let _0x4097a3=_0x5f2410[_0x5d7d98];return _0x4097a3;},_0x5d7d(_0x3bba75,_0x338aba);}export function aiQuickActionsButtonCreator(_0x374d16,_0x2be609,_0x1fe0aa=!0x1,_0x5f11ec=!0x0){return()=>{const _0x3a3b03=_0x5d7d,_0x569485=_0x374d16[_0x3a3b03(0xcb)],_0x480329=new _0x588966(_0x569485),_0x290bd9=_0x480329[_0x3a3b03(0xd4)];_0x480329[_0x3a3b03(0xe4)]({'on':{'mouseenter':_0x290bd9['to'](()=>{const _0x54b397=_0x3a3b03;_0x480329[_0x54b397(0xdf)]();})}});const _0x18b6c3=_0x2be609[_0x3a3b03(0xe3)]??_0x2be609[_0x3a3b03(0xd3)]?.[_0x3a3b03(0xe3)];return _0x480329[_0x3a3b03(0xd7)]({'label':_0x2be609[_0x3a3b03(0xdd)],'withText':_0x1fe0aa,'role':_0x3a3b03(0xcd),'icon':_0x5f11ec?_0x18b6c3??_0x1d9d53:void 0x0,'tooltip':!_0x1fe0aa,'class':_0x3a3b03(0xd0)}),_0x480329['on'](_0x3a3b03(0xce),()=>{const _0x1e4a5c=_0x3a3b03;_0x374d16[_0x1e4a5c(0xd5)][_0x1e4a5c(0xdc)][_0x1e4a5c(0xdf)](),_0x374d16[_0x1e4a5c(0xe0)][_0x1e4a5c(0xce)](_0x1e4a5c(0xd1),_0x2be609);}),_0x480329;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x255e(){const _0x5b6c68=['bindTemplate','destroy','label','_setupGroupMenuBehavior','forEach','set','menuitem','ck-dropdown-menu__nested-menu__panel','ck-ai-quick-actions-group-list','setTemplate','menu','.ck-ai-quick-actions-group-panel','_createGroupActionsList','17740nmtrAH','items','_hideAllNestedPanels','ck-dropdown-menu-list','81347QkNnUo','icon','div','isVisible','_hideNestedPanel','extendTemplate','2515zCMuNJ','312hDkgcQ','optionsListView','bind','ck-rounded-corners','focusTracker','show','ArrowLeft','clear','add','delete','addEventListener','actions','eastSouth','_focusables','2122524eBbkNI','ck-ai-quick-actions-group-button','content','focus','relatedTarget','get','closest','children','role','ck-ai-quick-actions-group-panel','pin','hide','detachFromDom','ck-ai-quick-actions','.ck-ai-quick-actions-group-list','render','1287968WjYbwF','_bodyCollection','uiLanguageDirection','_createActionGroupButton','_showNestedPanel','contains','_isMovingToNestedMenu','4433070FuRlKP','element','5970664xFpZUZ','keystrokes','304sPObmv','ArrowRight','1908LxQCeW','_openNestedPanels','locale','.ck-ai-quick-actions-group-button','_createListItems','focusCycler','mouseleave','rtl','key','addMany','ck-reset_all','_createActionButton','isOn'];_0x255e=function(){return _0x5b6c68;};return _0x255e();}const _0x521a9a=_0x46a5;(function(_0x21aa93,_0x3b37f4){const _0x347d9a=_0x46a5,_0x4b3335=_0x21aa93();while(!![]){try{const _0x14ce82=parseInt(_0x347d9a(0x1ca))/0x1*(parseInt(_0x347d9a(0x1a4))/0x2)+-parseInt(_0x347d9a(0x189))/0x3+-parseInt(_0x347d9a(0x199))/0x4+parseInt(_0x347d9a(0x1a0))/0x5+-parseInt(_0x347d9a(0x17b))/0x6*(-parseInt(_0x347d9a(0x1c4))/0x7)+-parseInt(_0x347d9a(0x1a2))/0x8+-parseInt(_0x347d9a(0x1a6))/0x9*(-parseInt(_0x347d9a(0x1c0))/0xa);if(_0x14ce82===_0x3b37f4)break;else _0x4b3335['push'](_0x4b3335['shift']());}catch(_0x119ff2){_0x4b3335['push'](_0x4b3335['shift']());}}}(_0x255e,0x73961));function _0x46a5(_0x559f9f,_0x3c60a6){const _0x255e6c=_0x255e();return _0x46a5=function(_0x46a56f,_0x24ad1c){_0x46a56f=_0x46a56f-0x17b;let _0x4d0cc7=_0x255e6c[_0x46a56f];return _0x4d0cc7;},_0x46a5(_0x559f9f,_0x3c60a6);}import{View as _0x31451e,ListItemView as _0x9a41bd,ListView as _0x59a69f,BalloonPanelView as _0x3525be,DropdownMenuPanelPositioningFunctions as _0x3f8264,DropdownMenuButtonView as _0x37964d,ViewCollection as _0x3094ad,FocusCycler as _0x68e346}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x8b83b9}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x8c9739,KeystrokeHandler as _0x32d5ad}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x5d52a8}from'./aiquickactionsbuttoncreator.js';const gs=_0x521a9a(0x1bd),As=_0x521a9a(0x1b9);export class AIQuickActionsDropdownContentView extends _0x31451e{[_0x521a9a(0x19a)];[_0x521a9a(0x17c)];[_0x521a9a(0x17f)];[_0x521a9a(0x1a3)];[_0x521a9a(0x188)];[_0x521a9a(0x1ab)];[_0x521a9a(0x1a7)]=new Set();constructor(_0x1adb28,_0x1ec207,_0x4c6db1,_0xa59ec6){const _0x2a1073=_0x521a9a,_0x576f0a=_0x1adb28[_0x2a1073(0x1a8)];super(_0x576f0a),this[_0x2a1073(0x19a)]=_0xa59ec6;const _0x4b96dc=this[_0x2a1073(0x1aa)](_0x1adb28,_0x1ec207,_0x4c6db1);this[_0x2a1073(0x17c)]=new _0x59a69f(_0x576f0a),this[_0x2a1073(0x17c)][_0x2a1073(0x191)]=gs,this[_0x2a1073(0x17c)][_0x2a1073(0x1c1)][_0x2a1073(0x1af)](_0x4b96dc),this[_0x2a1073(0x17f)]=new _0x8c9739(),this[_0x2a1073(0x1a3)]=new _0x32d5ad(),this[_0x2a1073(0x188)]=_0x4b96dc,this[_0x2a1073(0x1ab)]=new _0x68e346({'focusables':this[_0x2a1073(0x188)],'focusTracker':this[_0x2a1073(0x17f)],'keystrokeHandler':this[_0x2a1073(0x1a3)]}),this[_0x2a1073(0x1bc)]({'tag':_0x2a1073(0x1c6),'attributes':{'class':['ck',_0x2a1073(0x1b0),_0x2a1073(0x196),_0x2a1073(0x17e)],'dir':_0x576f0a[_0x2a1073(0x19b)]},'children':[this[_0x2a1073(0x17c)]]});}[_0x521a9a(0x1aa)](_0x18dc79,_0x4105c1,_0xaeb8b4){const _0x667bf6=_0x521a9a,_0x44600b=new _0x3094ad();return _0x4105c1[_0x667bf6(0x1b7)](_0x14e574=>{const _0x25d2d9=_0x667bf6;_0x25d2d9(0x186)in _0x14e574?_0x44600b[_0x25d2d9(0x183)](this[_0x25d2d9(0x19c)](_0x18dc79,_0x14e574,_0xaeb8b4)):_0x44600b[_0x25d2d9(0x183)](this[_0x25d2d9(0x1b1)](_0x18dc79,_0x14e574));}),_0x44600b;}[_0x521a9a(0x1b1)](_0x2d0de2,_0x3d3c3e){const _0x28f69e=_0x521a9a,_0x203402=new _0x9a41bd(this[_0x28f69e(0x1a8)]),_0x23e29e=_0x5d52a8(_0x2d0de2,_0x3d3c3e,!0x0,void 0x0!==_0x3d3c3e[_0x28f69e(0x1c5)])();return _0x203402[_0x28f69e(0x190)][_0x28f69e(0x183)](_0x23e29e),_0x203402;}[_0x521a9a(0x19c)](_0x4e116e,_0x1df430,_0x2bc85e){const _0x14cd95=_0x521a9a,_0x55d8d7=new _0x9a41bd(this[_0x14cd95(0x1a8)]),_0x410774=new _0x37964d(this[_0x14cd95(0x1a8)]),_0x437be6=_0x410774[_0x14cd95(0x1b3)],_0x500007=_0x14cd95(0x1ad)===_0x2bc85e[_0x14cd95(0x1a8)][_0x14cd95(0x19b)]?_0x14cd95(0x1a5):_0x14cd95(0x181),_0x57de8a=this[_0x14cd95(0x1bf)](_0x4e116e,_0x1df430[_0x14cd95(0x186)],_0x2bc85e);_0x410774[_0x14cd95(0x1b8)]({'label':_0x1df430[_0x14cd95(0x1b5)],'withText':!0x0,'role':As,'icon':_0x1df430[_0x14cd95(0x1c5)]??_0x8b83b9}),_0x410774[_0x14cd95(0x1c9)]({'on':{'mouseenter':_0x437be6['to'](()=>{const _0x1a9e4e=_0x14cd95;_0x410774[_0x1a9e4e(0x18c)]();})}});const _0x2b8a25=new _0x3525be(this[_0x14cd95(0x1a8)]);return _0x2b8a25[_0x14cd95(0x1c9)]({'attributes':{'class':['ck',_0x14cd95(0x1b0),_0x14cd95(0x192),_0x14cd95(0x1ba)]},'on':{'keydown':_0x437be6['to'](_0x92f92d=>{const _0x3b318a=_0x14cd95;_0x92f92d[_0x3b318a(0x1ae)]==_0x500007&&(_0x410774[_0x3b318a(0x18c)](),this[_0x3b318a(0x1c8)](_0x2b8a25));})}}),_0x410774[_0x14cd95(0x17d)](_0x14cd95(0x1b2))['to'](_0x2b8a25,_0x14cd95(0x1c7)),this[_0x14cd95(0x19a)][_0x14cd95(0x183)](_0x2b8a25),_0x2b8a25[_0x14cd95(0x18b)][_0x14cd95(0x183)](_0x57de8a),this[_0x14cd95(0x1b6)](_0x410774,_0x2b8a25),_0x55d8d7[_0x14cd95(0x190)][_0x14cd95(0x183)](_0x410774),_0x55d8d7;}[_0x521a9a(0x1bf)](_0x45df03,_0x2d1ba9,_0x16402e){const _0x2f6a42=_0x521a9a,_0x152562=new _0x59a69f(this[_0x2f6a42(0x1a8)]);return _0x152562[_0x2f6a42(0x1c9)]({'attributes':{'class':['ck',_0x2f6a42(0x1b0),_0x2f6a42(0x1bb),_0x2f6a42(0x1c3)]}}),_0x2d1ba9[_0x2f6a42(0x1b7)](_0x3be602=>{const _0x16d502=_0x2f6a42,_0x3025b0=new _0x9a41bd(this[_0x16d502(0x1a8)]),_0x18bb58=_0x5d52a8(_0x45df03,_0x3be602,!0x0,!0x1)();_0x3025b0[_0x16d502(0x190)][_0x16d502(0x183)](_0x18bb58),_0x16402e[_0x16d502(0x17f)][_0x16d502(0x183)](_0x18bb58),_0x152562[_0x16d502(0x1c1)][_0x16d502(0x183)](_0x3025b0);}),_0x152562;}[_0x521a9a(0x1b6)](_0x3b4658,_0x530cf7){const _0x4fb999=_0x521a9a,_0xab2ba1=_0x3b4658[_0x4fb999(0x1b3)],_0x2518fa=_0x4fb999(0x1ad)===_0x3b4658[_0x4fb999(0x1a8)][_0x4fb999(0x19b)]?_0x4fb999(0x181):_0x4fb999(0x1a5);_0x3b4658[_0x4fb999(0x1c9)]({'attributes':{'class':[_0x4fb999(0x18a)]},'on':{'mouseenter':_0xab2ba1['to'](()=>{const _0x3bb029=_0x4fb999;this[_0x3bb029(0x19d)](_0x530cf7,_0x3b4658);}),'mouseleave':_0xab2ba1['to'](_0x1709a0=>{const _0x5da41f=_0x4fb999,_0x1e17d6=_0x1709a0[_0x5da41f(0x18d)];this[_0x5da41f(0x19f)](_0x1e17d6,_0x530cf7)||this[_0x5da41f(0x1c8)](_0x530cf7);}),'keydown':_0xab2ba1['to'](_0x234461=>{const _0x3a60c4=_0x4fb999;_0x234461[_0x3a60c4(0x1ae)]==_0x2518fa&&(this[_0x3a60c4(0x19d)](_0x530cf7,_0x3b4658),_0x530cf7[_0x3a60c4(0x18b)][_0x3a60c4(0x18e)](0x0)[_0x3a60c4(0x18c)]());})}}),_0x530cf7['on'](_0x4fb999(0x198),()=>{const _0x300c12=_0x4fb999;_0x530cf7[_0x300c12(0x1a1)]?.[_0x300c12(0x185)](_0x300c12(0x1ac),_0x353137=>{const _0x5f27eb=_0x300c12,_0x3213c6=_0x353137[_0x5f27eb(0x18d)];_0x3b4658[_0x5f27eb(0x1a1)]?.[_0x5f27eb(0x19e)](_0x3213c6)||this[_0x5f27eb(0x19f)](_0x3213c6,_0x530cf7)||this[_0x5f27eb(0x1c8)](_0x530cf7);});});}[_0x521a9a(0x19d)](_0x963376,_0x32128d){const _0x4e3c2=_0x521a9a;this[_0x4e3c2(0x1a7)][_0x4e3c2(0x1b7)](_0x52bf06=>{const _0x30d7ad=_0x4e3c2;_0x52bf06!==_0x963376&&_0x52bf06[_0x30d7ad(0x1c7)]&&_0x52bf06[_0x30d7ad(0x194)]();}),_0x963376[_0x4e3c2(0x180)](),_0x963376[_0x4e3c2(0x193)]({'positions':[_0x3f8264[_0x4e3c2(0x187)]],'target':_0x32128d[_0x4e3c2(0x1a1)],'fitInViewport':!0x0}),this[_0x4e3c2(0x1a7)][_0x4e3c2(0x183)](_0x963376);}[_0x521a9a(0x1c8)](_0xfe3555){const _0x5c3736=_0x521a9a;_0xfe3555[_0x5c3736(0x194)](),this[_0x5c3736(0x1a7)][_0x5c3736(0x184)](_0xfe3555);}[_0x521a9a(0x1c2)](){const _0x1ad0ae=_0x521a9a;this[_0x1ad0ae(0x1a7)][_0x1ad0ae(0x1b7)](_0x2c2634=>_0x2c2634[_0x1ad0ae(0x194)]()),this[_0x1ad0ae(0x1a7)][_0x1ad0ae(0x182)]();}[_0x521a9a(0x19f)](_0x22fa76,_0x4959ed){const _0x26e1ad=_0x521a9a;if(!_0x22fa76)return!0x1;if(_0x4959ed[_0x26e1ad(0x1a1)]?.[_0x26e1ad(0x19e)](_0x22fa76))return!0x0;const _0x11645e=_0x22fa76;return _0x11645e[_0x26e1ad(0x18f)]&&(null!==_0x11645e[_0x26e1ad(0x18f)](_0x26e1ad(0x1be))||null!==_0x11645e[_0x26e1ad(0x18f)](_0x26e1ad(0x197))||null!==_0x11645e[_0x26e1ad(0x18f)](_0x26e1ad(0x1a9)));}[_0x521a9a(0x1b4)](){const _0x2893bc=_0x521a9a;this[_0x2893bc(0x1c2)](),this[_0x2893bc(0x19a)][_0x2893bc(0x195)](),super[_0x2893bc(0x1b4)]();}[_0x521a9a(0x18c)](){const _0x5efc1c=_0x521a9a;this[_0x5efc1c(0x17c)][_0x5efc1c(0x18c)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x125f0f,_0x35c330){const _0x5a429b=_0x48c9,_0x1d8596=_0x125f0f();while(!![]){try{const _0x27a042=-parseInt(_0x5a429b(0xe9))/0x1+-parseInt(_0x5a429b(0xe8))/0x2+parseInt(_0x5a429b(0xe0))/0x3+-parseInt(_0x5a429b(0xea))/0x4+-parseInt(_0x5a429b(0xe6))/0x5*(parseInt(_0x5a429b(0xdf))/0x6)+parseInt(_0x5a429b(0xe5))/0x7+-parseInt(_0x5a429b(0xe1))/0x8*(-parseInt(_0x5a429b(0xef))/0x9);if(_0x27a042===_0x35c330)break;else _0x1d8596['push'](_0x1d8596['shift']());}catch(_0x3cfd17){_0x1d8596['push'](_0x1d8596['shift']());}}}(_0x983a,0x497fa));import{createDropdown as _0x274369}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x5594a9}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x4ce09a}from'./aiquickactionsdropdowncontentview.js';function _0x48c9(_0x47592c,_0x3f02aa){const _0x983aa3=_0x983a();return _0x48c9=function(_0x48c93a,_0x2f9126){_0x48c93a=_0x48c93a-0xdf;let _0x137872=_0x983aa3[_0x48c93a];return _0x137872;},_0x48c9(_0x47592c,_0x3f02aa);}function _0x983a(){const _0xb88a6e=['locale','icon','117vbEzmq','children','12qvuQIa','325086suHXVC','726264zKAJFn','panelView','add','set','2959936TpmQNO','1079165qNjEaS','ck-ai-quick-actions-dropdown','484098UAvEgg','500132kVfYsD','945968BPoLty','label','buttonView'];_0x983a=function(){return _0xb88a6e;};return _0x983a();}export function aiQuickActionsDropdownCreator(_0x5ba22c,_0x58ce50,_0x4aaf47,_0x13cf4d){return()=>{const _0x40be80=_0x48c9,_0x134ba3=_0x5ba22c[_0x40be80(0xed)],_0x22a464=_0x274369(_0x134ba3);_0x22a464[_0x40be80(0xec)][_0x40be80(0xe4)]({'icon':_0x4aaf47[_0x40be80(0xee)]??_0x5594a9,'label':_0x4aaf47[_0x40be80(0xeb)],'tooltip':!0x0}),_0x22a464[_0x40be80(0xe4)]({'class':_0x40be80(0xe7)});const _0x18f990=new _0x4ce09a(_0x5ba22c,_0x58ce50,_0x22a464,_0x13cf4d);return _0x22a464[_0x40be80(0xe2)][_0x40be80(0xf0)][_0x40be80(0xe3)](_0x18f990),_0x22a464;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5af44f=_0x3c4b;(function(_0x131739,_0x59c031){var _0x35dce8=_0x3c4b,_0x268187=_0x131739();while(!![]){try{var _0x1cf23a=-parseInt(_0x35dce8(0xf1))/0x1+-parseInt(_0x35dce8(0xee))/0x2+-parseInt(_0x35dce8(0xe7))/0x3+parseInt(_0x35dce8(0xe4))/0x4+-parseInt(_0x35dce8(0xec))/0x5*(parseInt(_0x35dce8(0xef))/0x6)+-parseInt(_0x35dce8(0xeb))/0x7+-parseInt(_0x35dce8(0xf0))/0x8*(-parseInt(_0x35dce8(0xe6))/0x9);if(_0x1cf23a===_0x59c031)break;else _0x268187['push'](_0x268187['shift']());}catch(_0x1d14c4){_0x268187['push'](_0x268187['shift']());}}}(_0x472b,0x631cd));import{ContextPlugin as _0x5ad246}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x4a2d0e}from'./aireviewmodecontroller.js';function _0x472b(){var _0x5af0f3=['1653974NNRxAj','365dmBdIM','pluginName','1486330EZChnX','7836VZABmK','8DmTgno','738454tNSoLq','1479828imJvcp','AIReviewMode','22046958NVZdzU','1801245loaxyd','requires','isOfficialPlugin','isPremiumPlugin'];_0x472b=function(){return _0x5af0f3;};return _0x472b();}import{AIReviewModeUI as _0x2944db}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0xc22dbc}from'./aireviewmodeediting.js';function _0x3c4b(_0x5b9848,_0x141a8f){var _0x472b44=_0x472b();return _0x3c4b=function(_0x3c4b2e,_0x330b40){_0x3c4b2e=_0x3c4b2e-0xe4;var _0x355a19=_0x472b44[_0x3c4b2e];return _0x355a19;},_0x3c4b(_0x5b9848,_0x141a8f);}export class AIReviewMode extends _0x5ad246{static get[_0x5af44f(0xe8)](){return[_0x4a2d0e,_0x2944db,_0xc22dbc];}static get[_0x5af44f(0xed)](){var _0x4e75ba=_0x5af44f;return _0x4e75ba(0xe5);}static get[_0x5af44f(0xe9)](){return!0x0;}static get[_0x5af44f(0xea)](){return!0x0;}}
|