@ckeditor/ckeditor5-ai 47.7.3-alpha.0 → 47.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/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/awstextadapter.js +1 -1
- 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/aiformview.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/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/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/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/utils/eventnames.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/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/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/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/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/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x45a01e,_0x50a99a){const _0x2373cd=_0x35a5,_0x341c2c=_0x45a01e();while(!![]){try{const _0x599126=parseInt(_0x2373cd(0x74))/0x1*(parseInt(_0x2373cd(0x89))/0x2)+-parseInt(_0x2373cd(0x7b))/0x3*(-parseInt(_0x2373cd(0x85))/0x4)+parseInt(_0x2373cd(0x98))/0x5*(parseInt(_0x2373cd(0x96))/0x6)+-parseInt(_0x2373cd(0x7c))/0x7*(parseInt(_0x2373cd(0x87))/0x8)+-parseInt(_0x2373cd(0x99))/0x9+-parseInt(_0x2373cd(0x78))/0xa+-parseInt(_0x2373cd(0x82))/0xb;if(_0x599126===_0x50a99a)break;else _0x341c2c['push'](_0x341c2c['shift']());}catch(_0x65aca6){_0x341c2c['push'](_0x341c2c['shift']());}}}(_0x672d,0xa02e2));function _0x672d(){const _0x27d568=['new','3356748ivZYNx','21jaaxba','getDocumentContext','oldRange','markers','get','getOperations','972147nATWIe','history','name','4AkqQsi','document','1922144mbVfuK','map','94pfptaR','content','previousSibling','operationsA','documentContextContent','type','filter','anchorId','data-id','shift','node','getDiff','cloneNode','198SxTBzw','marker','6890fkFnoi','1838106BttaEQ','length','23678QmcKpF','removed','model','getRange','6077430SgcmQa','version'];_0x672d=function(){return _0x27d568;};return _0x672d();}import{transformOperationSets as _0x37c79a}from'ckeditor5/src/engine.js';import{append as _0x7c5b2f,findByAttribute as _0x38bdfb,prependChild as _0x409670,removeElement as _0x5d0f8f,serialize as _0x260ae3}from'./htmlparser.js';function _0x35a5(_0x542492,_0x29942b){const _0x672ddb=_0x672d();return _0x35a5=function(_0x35a55a,_0x4f95b8){_0x35a55a=_0x35a55a-0x74;let _0x5ab4fb=_0x672ddb[_0x35a55a];return _0x5ab4fb;},_0x35a5(_0x542492,_0x29942b);}export function getOperationsFromReply({editor:_0x4fd54d,interaction:_0x1c5dd6,reply:_0x31b782,groups:_0x4060b9,transform:_0x57c7a1,documentCompare:_0x29d8ae,documentCompareOptions:_0x72784b}){const _0x192129=_0x35a5,_0x547328=_0x1c5dd6[_0x192129(0x7d)]();if(!_0x547328)return[];const _0x2eecbf=_0x547328[_0x192129(0x8a)],_0x278134=_0x547328[_0x192129(0x79)],_0x158559=_0x31b782[_0x192129(0x8d)][_0x192129(0x95)](!0x0);for(const {changes:_0xf51e28}of _0x4060b9){const _0x32990b=_0xf51e28[_0x192129(0x8f)](_0xe0a940=>_0x192129(0x7a)!=_0xe0a940[_0x192129(0x8e)])[_0x192129(0x88)](_0x513011=>_0x38bdfb(_0x192129(0x91),_0x513011['id'],_0x158559)),_0x2694d4=_0xf51e28[_0x192129(0x8f)](_0x190be6=>_0x192129(0x75)!=_0x190be6[_0x192129(0x8e)])[_0x192129(0x88)](_0x595670=>_0x595670[_0x192129(0x93)][_0x192129(0x95)](!0x0));let _0x337e26=null;if(_0x32990b[_0x192129(0x9a)]){_0x337e26=_0x32990b[0x0][_0x192129(0x8b)];for(let _0x28eace=0x0;_0x28eace<_0x32990b[_0x192129(0x9a)];_0x28eace++)_0x5d0f8f(_0x32990b[_0x28eace]);}if(_0x2694d4[_0x192129(0x9a)]){_0x337e26||(_0xf51e28[0x0][_0x192129(0x90)]?_0x337e26=_0x38bdfb(_0x192129(0x91),_0xf51e28[0x0][_0x192129(0x90)],_0x158559):(_0x337e26=_0x2694d4[_0x192129(0x92)](),_0x409670(_0x158559,_0x337e26)));for(let _0x1f3f49=0x0;_0x1f3f49<_0x2694d4[_0x192129(0x9a)];_0x1f3f49++)_0x7c5b2f(_0x337e26,_0x2694d4[_0x1f3f49]),_0x337e26=_0x2694d4[_0x1f3f49];}}const _0x23b52f=_0x260ae3(_0x158559),_0x4473af=_0x29d8ae[_0x192129(0x94)](_0x2eecbf,_0x23b52f,_0x72784b)[_0x192129(0x81)]();if(_0x57c7a1){const _0x258f13=_0x4fd54d[_0x192129(0x76)][_0x192129(0x86)][_0x192129(0x83)][_0x192129(0x81)](_0x278134),_0x2aead7={'document':_0x4fd54d[_0x192129(0x76)][_0x192129(0x86)],'useRelations':!0x1,'padWithNoOps':!0x1};return _0x37c79a(_0x4473af,_0x258f13,_0x2aead7)[_0x192129(0x8c)];}return _0x4473af;}export function fixMarkerOperationOldRange(_0x537078,_0x280486){const _0x321c67=_0x35a5;if(_0x321c67(0x97)!=_0x280486[_0x321c67(0x8e)])return;const _0x353b5c=_0x537078[_0x321c67(0x76)][_0x321c67(0x7f)][_0x321c67(0x80)](_0x280486[_0x321c67(0x84)]);_0x353b5c&&(_0x280486[_0x321c67(0x7e)]=_0x353b5c[_0x321c67(0x77)]());}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(_0x38cde7,_0x8b35fe){const _0x387975=_0x1953,_0x44ddc3=_0x38cde7();while(!![]){try{const _0x33cf50=parseInt(_0x387975(0x1ab))/0x1*(parseInt(_0x387975(0x193))/0x2)+parseInt(_0x387975(0x17f))/0x3+-parseInt(_0x387975(0x1b1))/0x4+-parseInt(_0x387975(0x184))/0x5*(-parseInt(_0x387975(0x17c))/0x6)+parseInt(_0x387975(0x17e))/0x7+parseInt(_0x387975(0x15e))/0x8+-parseInt(_0x387975(0x187))/0x9;if(_0x33cf50===_0x8b35fe)break;else _0x44ddc3['push'](_0x44ddc3['shift']());}catch(_0x449433){_0x44ddc3['push'](_0x44ddc3['shift']());}}}(_0x5abc,0x39dff));import{findOne as _0x5249c3,getAttribute as _0x289bfd,Document as _0x175af6,serialize as _0x507e7c,parse as _0x370432}from'./htmlparser.js';import{fixElementSuggestionRange as _0x4d4c39}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x32e883,_DetachOperation as _0x46a5b1,_removeFromModelNodeList as _0x2bae80,_insertIntoModelNodeList as _0x9b42db}from'ckeditor5/src/engine.js';import{uid as _0x510665}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x45cdfb,changeGroups:_0x38cabc,documentContextContent:_0x3cb3d1,showDiff:_0x137e04,trimUnchanged:_0x22a08f=!0x0}){const _0xe286d2=_0x1953;return _0x38cabc[_0xe286d2(0x171)](_0x205621=>{const _0x2e8dc1=_0xe286d2,_0x5b2833=new _0x175af6([]),_0x7827a8=new _0x175af6([]);for(const _0x5796ec of _0x205621[_0x2e8dc1(0x174)])if(_0x137e04&&_0x2e8dc1(0x1b4)==_0x5796ec[_0x2e8dc1(0x1a8)]||_0x7827a8[_0x2e8dc1(0x172)][_0x2e8dc1(0x177)](_0x5796ec[_0x2e8dc1(0x190)][_0x2e8dc1(0x183)](!0x0)),_0x2e8dc1(0x188)!=_0x5796ec[_0x2e8dc1(0x1a8)]&&(_0x137e04||_0x2e8dc1(0x1b4)!=_0x5796ec[_0x2e8dc1(0x1a8)])){const _0x3930a5=_0x5249c3(_0x35e2aa=>_0x289bfd(_0x35e2aa,_0x2e8dc1(0x18c))==_0x5796ec['id'],_0x3cb3d1,!0x0);_0x3930a5&&_0x5b2833[_0x2e8dc1(0x172)][_0x2e8dc1(0x177)](_0x3930a5[_0x2e8dc1(0x183)](!0x0));}const {content:_0x396837,hasChanges:_0x509ff7}=function(_0x9b2448,_0x3b4dd2,_0x149d75,_0x1030bc,_0x1a0c40=!0x0){const _0x3a614a=_0x2e8dc1,_0x12e3d6=_0x9b2448[_0x3a614a(0x192)][_0x3a614a(0x1b9)](_0x3a614a(0x19d)),_0x2844e2=_0x507e7c(_0x3b4dd2),_0x4088da=_0x507e7c(_0x149d75),_0x29766c=_0x9b2448[_0x3a614a(0x179)][_0x3a614a(0x1b6)](_0x2844e2,_0x3a614a(0x18d)),_0x2edd05=_0x9b2448[_0x3a614a(0x198)][_0x3a614a(0x195)](_0x29766c,0x0),_0x8afe65=_0x12e3d6[_0x3a614a(0x1a5)](_0x2844e2,_0x4088da,{'anchor':_0x2edd05,'markDeletions':_0x1030bc}),_0x351399=_0x8afe65[_0x3a614a(0x175)]();if(0x0==_0x351399[_0x3a614a(0x1b3)])return{'content':_0x3b4dd2[_0x3a614a(0x183)](!0x0),'hasChanges':!0x1};_0x1030bc?function(_0x412f38,_0x1bb950,_0x52b8b0){const _0x1dd984=_0x3a614a;if(0x0==_0x412f38[_0x1dd984(0x1b3)])return;const _0x2ccb6c=_0x52b8b0[_0x1dd984(0x192)][_0x1dd984(0x1b9)](_0x1dd984(0x19d)),_0x4ce7cd=_0x52b8b0[_0x1dd984(0x192)][_0x1dd984(0x1b9)](_0x1dd984(0x17a));_0x52b8b0[_0x1dd984(0x198)][_0x1dd984(0x14d)](_0x7b99b7=>{const _0x91ddfd=_0x1dd984,_0x11b3d6=new Set();for(let _0x4f38ee=0x0;_0x4f38ee<_0x412f38[_0x91ddfd(0x1b3)];_0x4f38ee++){const _0x540bc3=_0x412f38[_0x4f38ee];if(_0x540bc3[_0x91ddfd(0x155)]=null,_0x540bc3[_0x91ddfd(0x1aa)]=!0x1,_0x2ccb6c[_0x91ddfd(0x163)](_0x540bc3)){const _0x2de10b=_0x4d4c39(_0x540bc3[_0x91ddfd(0x164)],_0x52b8b0[_0x91ddfd(0x198)]),_0x4d2d19=_0x91ddfd(0x197)+_0x510665()+_0x91ddfd(0x19e);_0x1bb950[_0x91ddfd(0x150)][_0x91ddfd(0x189)](_0x4d2d19,_0x2de10b);}else switch(_0x540bc3[_0x91ddfd(0x1a8)]){case _0x91ddfd(0x168):{if(_0x540bc3[_0x91ddfd(0x1b7)]==_0x540bc3[_0x91ddfd(0x1b5)])break;_0x7b99b7[_0x91ddfd(0x15b)][_0x91ddfd(0x1a3)](_0x540bc3),_0x52b8b0[_0x91ddfd(0x198)][_0x91ddfd(0x1b0)](_0x540bc3);const _0x3effd8=_0x91ddfd(0x14f),_0x1a651d=_0x540bc3[_0x91ddfd(0x156)],_0x1faaba=_0x52b8b0[_0x91ddfd(0x198)][_0x91ddfd(0x1be)](_0x1a651d,_0x52b8b0[_0x91ddfd(0x198)][_0x91ddfd(0x195)](_0x1a651d[_0x91ddfd(0x1a7)],_0x91ddfd(0x181))),_0x9ba46f=_0x91ddfd(0x1a4)+_0x3effd8+':'+_0x510665()+_0x91ddfd(0x19e);_0x1bb950[_0x91ddfd(0x150)][_0x91ddfd(0x189)](_0x9ba46f,_0x1faaba);break;}case _0x91ddfd(0x178):case _0x91ddfd(0x1ba):case _0x91ddfd(0x158):{if(_0x540bc3[_0x91ddfd(0x161)]==_0x540bc3[_0x91ddfd(0x1b8)])break;_0x7b99b7[_0x91ddfd(0x15b)][_0x91ddfd(0x1a3)](_0x540bc3),_0x52b8b0[_0x91ddfd(0x198)][_0x91ddfd(0x1b0)](_0x540bc3);const _0x3c9a33=_0x540bc3[_0x91ddfd(0x167)];if(!_0x4ce7cd[_0x91ddfd(0x185)](_0x3c9a33))break;const _0x4becf3=_0x4d4c39(_0x540bc3[_0x91ddfd(0x152)],_0x52b8b0[_0x91ddfd(0x198)]),_0x2c4f8a=_0x91ddfd(0x1a4)+_0x3c9a33+':'+_0x510665()+_0x91ddfd(0x19e);_0x1bb950[_0x91ddfd(0x150)][_0x91ddfd(0x189)](_0x2c4f8a,_0x4becf3);break;}case _0x91ddfd(0x16c):{_0x7b99b7[_0x91ddfd(0x15b)][_0x91ddfd(0x1a3)](_0x540bc3),_0x52b8b0[_0x91ddfd(0x198)][_0x91ddfd(0x1b0)](_0x540bc3);if(_0x412f38[_0x4f38ee+0x1]&&_0x91ddfd(0x18b)==_0x412f38[_0x4f38ee+0x1][_0x91ddfd(0x1a8)]){no(_0x1bb950,_0x540bc3);break;}const _0x5eb778=_0x540bc3[_0x91ddfd(0x156)],_0x10c243=_0x540bc3[_0x91ddfd(0x162)],_0x45e473=_0x4d4c39(_0x52b8b0[_0x91ddfd(0x198)][_0x91ddfd(0x1be)](_0x5eb778,_0x5eb778[_0x91ddfd(0x15d)](_0x10c243)),_0x52b8b0[_0x91ddfd(0x198)]),_0x43aa6a=_0x91ddfd(0x17d)+_0x510665()+_0x91ddfd(0x19e);_0x1bb950[_0x91ddfd(0x150)][_0x91ddfd(0x189)](_0x43aa6a,_0x45e473);break;}case _0x91ddfd(0x186):{_0x7b99b7[_0x91ddfd(0x15b)][_0x91ddfd(0x1a3)](_0x540bc3),_0x52b8b0[_0x91ddfd(0x198)][_0x91ddfd(0x1b0)](_0x540bc3);const _0x523c06=_0x540bc3[_0x91ddfd(0x180)],_0x4cb5b7=_0x540bc3[_0x91ddfd(0x153)],_0x3d4d8f=_0x52b8b0[_0x91ddfd(0x198)][_0x91ddfd(0x1be)](_0x523c06,_0x4cb5b7),_0x1ed75c=_0x91ddfd(0x17d)+_0x510665()+_0x91ddfd(0x19e);_0x1bb950[_0x91ddfd(0x150)][_0x91ddfd(0x189)](_0x1ed75c,_0x3d4d8f);break;}case _0x91ddfd(0x18b):{_0x7b99b7[_0x91ddfd(0x15b)][_0x91ddfd(0x1a3)](_0x540bc3),_0x52b8b0[_0x91ddfd(0x198)][_0x91ddfd(0x1b0)](_0x540bc3),_0x412f38[_0x4f38ee-0x1]&&_0x91ddfd(0x16c)==_0x412f38[_0x4f38ee-0x1][_0x91ddfd(0x1a8)]&&no(_0x1bb950,_0x540bc3);const _0x53fb48=_0x540bc3[_0x91ddfd(0x15c)](),_0x36c500=_0x540bc3[_0x91ddfd(0x162)];for(let _0x38f509=0x0;_0x38f509<_0x36c500;_0x38f509++){const _0x1d1779=_0x53fb48[_0x91ddfd(0x15d)](_0x38f509)[_0x91ddfd(0x1a7)];_0x11b3d6[_0x91ddfd(0x1ad)](_0x1d1779);}break;}case _0x91ddfd(0x196):{const _0x487a3a=_0x540bc3[_0x91ddfd(0x1a9)],_0x13d8a5=_0x540bc3[_0x91ddfd(0x162)],_0xaa9e1c=new _0x46a5b1(_0x487a3a,_0x13d8a5);_0x7b99b7[_0x91ddfd(0x15b)][_0x91ddfd(0x1a3)](_0xaa9e1c),_0x52b8b0[_0x91ddfd(0x198)][_0x91ddfd(0x1b0)](_0xaa9e1c);break;}}}for(const _0x5c7bdf of _0x11b3d6){const _0x4fc075=_0x52b8b0[_0x91ddfd(0x198)][_0x91ddfd(0x173)](_0x5c7bdf),_0x24d730=_0x91ddfd(0x17b)+_0x510665()+_0x91ddfd(0x19e);_0x1bb950[_0x91ddfd(0x150)][_0x91ddfd(0x189)](_0x24d730,_0x4d4c39(_0x4fc075,_0x52b8b0[_0x91ddfd(0x198)]));}});}(_0x351399,_0x29766c,_0x9b2448):_0x9b2448[_0x3a614a(0x198)][_0x3a614a(0x14d)](_0x157734=>{const _0x125ec5=_0x3a614a;for(const _0x38b130 of _0x351399)if(_0x125ec5(0x196)==_0x38b130[_0x125ec5(0x1a8)]){const _0x7d90b6=_0x38b130[_0x125ec5(0x1a9)],_0x587a24=_0x38b130[_0x125ec5(0x162)],_0x3993f0=new _0x46a5b1(_0x7d90b6,_0x587a24);_0x157734[_0x125ec5(0x15b)][_0x125ec5(0x1a3)](_0x3993f0),_0x9b2448[_0x125ec5(0x198)][_0x125ec5(0x1b0)](_0x3993f0);}else{if(_0x125ec5(0x15a)==_0x38b130[_0x125ec5(0x1a8)]){const _0x457c6e=_0x38b130[_0x125ec5(0x14b)],_0x426f3e=_0x38b130[_0x125ec5(0x164)];null!==_0x426f3e?_0x29766c[_0x125ec5(0x150)][_0x125ec5(0x189)](_0x457c6e,_0x426f3e):_0x29766c[_0x125ec5(0x150)][_0x125ec5(0x1bc)](_0x457c6e);}else _0x38b130[_0x125ec5(0x155)]=null,_0x38b130[_0x125ec5(0x1aa)]=!0x1,_0x157734[_0x125ec5(0x15b)][_0x125ec5(0x1a3)](_0x38b130),_0x9b2448[_0x125ec5(0x198)][_0x125ec5(0x1b0)](_0x38b130);}});if(_0x1a0c40){const _0x2895e9=getMinimalSelection(_0x9b2448,_0x351399,_0x29766c);expandSelectionWithContext(_0x9b2448[_0x3a614a(0x198)],_0x2895e9),function(_0x48e96c,_0x2327f1){const _0x1f4e70=_0x3a614a,_0xca8f47=_0x2327f1[_0x1f4e70(0x154)]()[_0x1f4e70(0x176)];let _0x3b90cf=_0x2327f1[_0x1f4e70(0x154)]()[_0x1f4e70(0x181)];const _0x3ad553=_0xca8f47[_0x1f4e70(0x1a6)];(_0x3b90cf[_0x1f4e70(0x169)]||_0x3b90cf[_0x1f4e70(0x1a7)]&&_0x3b90cf[_0x1f4e70(0x1a7)]['is'](_0x1f4e70(0x18f)))&&(_0x9b42db(_0x3b90cf,_0x1f4e70(0x16b)),_0x3b90cf=_0x3b90cf[_0x1f4e70(0x15d)](0x3)),(_0xca8f47[_0x1f4e70(0x169)]||_0xca8f47[_0x1f4e70(0x1b2)]&&_0xca8f47[_0x1f4e70(0x1b2)]['is'](_0x1f4e70(0x18f)))&&(_0x9b42db(_0xca8f47,_0x1f4e70(0x16b)),function(_0xce6ba6,_0x38f443,_0x2874d8){const _0x19abd1=_0x1f4e70;for(let [_0x2390d8,_0x5a0a48]of _0xce6ba6[_0x19abd1(0x150)]){const _0x136e7c=_0x5a0a48[_0x19abd1(0x1ac)](_0x38f443,_0x2874d8,!0x1);_0x5a0a48=_0x136e7c[0x0],_0xce6ba6[_0x19abd1(0x150)][_0x19abd1(0x189)](_0x2390d8,_0x5a0a48);}}(_0x3ad553,_0xca8f47,0x3),_0xca8f47[_0x1f4e70(0x15f)]==_0x3b90cf[_0x1f4e70(0x15f)]&&(_0x3b90cf=_0x3b90cf[_0x1f4e70(0x15d)](0x3)));const _0x515391=_0x48e96c[_0x1f4e70(0x1be)](_0x48e96c[_0x1f4e70(0x195)](_0x3ad553,0x0),_0xca8f47),_0x57348f=_0x48e96c[_0x1f4e70(0x1be)](_0x3b90cf,_0x48e96c[_0x1f4e70(0x195)](_0x3ad553,_0x1f4e70(0x181))),_0x59a034=[..._0x515391[_0x1f4e70(0x182)](),..._0x57348f[_0x1f4e70(0x182)]()];_0x59a034[_0x1f4e70(0x14c)]();for(const _0x20767d of _0x59a034)_0x2bae80(_0x20767d),_transformMarkersByDeletion(_0x3ad553,_0x20767d);}(_0x9b2448[_0x3a614a(0x198)],_0x2895e9);}const _0x3ed06b=_0x9b2448[_0x3a614a(0x179)][_0x3a614a(0x199)](_0x29766c,{'showSuggestionHighlights':!0x0});return{'content':_0x370432(_0x3ed06b),'hasChanges':!0x0};}(_0x45cdfb,_0x5b2833,_0x7827a8,_0x137e04,_0x22a08f);return{'type':_0x205621[_0x2e8dc1(0x174)][0x0][_0x2e8dc1(0x1a8)],'index':_0x205621[_0x2e8dc1(0x1a2)],'content':_0x396837,'hasChanges':_0x509ff7};});}function no(_0x929c06,_0xfaaec8){const _0x3a49b3=_0x1953;for(const [_0x17d9fd,_0xc379b9]of _0x929c06[_0x3a49b3(0x150)]){const _0x25b83e=_0x32e883[_0x3a49b3(0x16e)](_0xc379b9[_0x3a49b3(0x16f)](_0xfaaec8));_0x929c06[_0x3a49b3(0x150)][_0x3a49b3(0x189)](_0x17d9fd,_0x25b83e);}}export function getMinimalSelection(_0x8a136f,_0x3c0949,_0x1930ce){const _0x49bc7b=_0x1953,_0x4a9bab=_0x8a136f[_0x49bc7b(0x192)][_0x49bc7b(0x1b9)](_0x49bc7b(0x19d));let _0x536d18=_0x8a136f[_0x49bc7b(0x198)][_0x49bc7b(0x195)](_0x1930ce,Number[_0x49bc7b(0x18a)]),_0x7fa730=_0x8a136f[_0x49bc7b(0x198)][_0x49bc7b(0x195)](_0x1930ce,0x0);for(const _0x5ed991 of _0x3c0949){let _0x41def5,_0x43b699;if(_0x4a9bab[_0x49bc7b(0x163)](_0x5ed991))_0x41def5=_0x5ed991[_0x49bc7b(0x164)][_0x49bc7b(0x176)],_0x43b699=_0x5ed991[_0x49bc7b(0x164)][_0x49bc7b(0x181)];else switch(_0x536d18=_0x536d18[_0x49bc7b(0x16f)](_0x5ed991),_0x7fa730=_0x7fa730[_0x49bc7b(0x16f)](_0x5ed991),_0x5ed991[_0x49bc7b(0x1a8)]){case _0x49bc7b(0x168):_0x41def5=_0x5ed991[_0x49bc7b(0x156)],_0x43b699=_0x41def5[_0x49bc7b(0x15d)](0x1);break;case _0x49bc7b(0x178):case _0x49bc7b(0x1ba):case _0x49bc7b(0x158):_0x41def5=_0x5ed991[_0x49bc7b(0x152)][_0x49bc7b(0x176)],_0x43b699=_0x5ed991[_0x49bc7b(0x152)][_0x49bc7b(0x181)];break;case _0x49bc7b(0x16c):_0x41def5=_0x5ed991[_0x49bc7b(0x156)],_0x43b699=_0x41def5[_0x49bc7b(0x15d)](_0x5ed991[_0x49bc7b(0x162)]);break;case _0x49bc7b(0x186):_0x41def5=_0x5ed991[_0x49bc7b(0x180)],_0x43b699=_0x5ed991[_0x49bc7b(0x153)];break;case _0x49bc7b(0x160):{const _0x5a5e86=_0x5ed991[_0x49bc7b(0x166)][_0x49bc7b(0x1bd)][_0x49bc7b(0x19f)](0x0,-0x1);_0x41def5=_0x8a136f[_0x49bc7b(0x198)][_0x49bc7b(0x16a)](_0x1930ce,_0x5a5e86),_0x43b699=_0x41def5[_0x49bc7b(0x15d)](0x1);break;}case _0x49bc7b(0x196):{const _0x333a19=_0x5ed991[_0x49bc7b(0x162)],_0x3abfce=_0x5ed991[_0x49bc7b(0x1a9)][_0x49bc7b(0x1ac)](_0x5ed991[_0x49bc7b(0x166)],_0x333a19),_0x434462=_0x5ed991[_0x49bc7b(0x15c)]();_0x49bc7b(0x196)==_0x5ed991[_0x49bc7b(0x1a8)]?(_0x41def5=_0x3abfce,_0x43b699=_0x3abfce):(_0x41def5=_0x434462,_0x43b699=_0x434462[_0x49bc7b(0x15d)](_0x333a19));break;}}_0x41def5&&_0x41def5[_0x49bc7b(0x159)](_0x536d18)&&(_0x536d18=_0x41def5[_0x49bc7b(0x170)](),_0x536d18[_0x49bc7b(0x16d)]=_0x49bc7b(0x19a)),_0x43b699&&_0x43b699[_0x49bc7b(0x191)](_0x7fa730)&&(_0x7fa730=_0x43b699[_0x49bc7b(0x170)](),_0x7fa730[_0x49bc7b(0x16d)]=_0x49bc7b(0x19a));}return _0x8a136f[_0x49bc7b(0x198)][_0x49bc7b(0x194)](_0x8a136f[_0x49bc7b(0x198)][_0x49bc7b(0x1be)](_0x536d18,_0x7fa730));}export function expandSelectionWithContext(_0x59b9ac,_0x2be9fa){const _0x30f403=_0x1953;ro(_0x59b9ac,_0x2be9fa,_0x30f403(0x18e));const _0x1151f1=_0x2be9fa[_0x30f403(0x154)]();_0x2be9fa[_0x30f403(0x1ae)]([]),_0x2be9fa[_0x30f403(0x1ae)](_0x1151f1,{'backward':!0x0}),ro(_0x59b9ac,_0x2be9fa,_0x30f403(0x1a0));}function ro(_0x3f710c,_0x1340aa,_0x8603a3){const _0x25af07=_0x1953;let _0x42e987=0x14;for(;_0x42e987;){_0x3f710c[_0x25af07(0x157)](_0x1340aa,{'unit':_0x25af07(0x151),'direction':_0x8603a3}),_0x42e987--;const _0x2e1759=_0x1340aa[_0x25af07(0x165)][_0x25af07(0x18e)==_0x8603a3?_0x25af07(0x1b2):_0x25af07(0x1a7)];if(_0x2e1759&&_0x2e1759['is'](_0x25af07(0x1a1))&&_0x3f710c[_0x25af07(0x19c)][_0x25af07(0x19b)](_0x2e1759)&&_0x3f710c[_0x25af07(0x19c)][_0x25af07(0x14e)](_0x2e1759))break;}}export function _transformMarkersByDeletion(_0x121fe8,_0x142fd7){const _0x5039cc=_0x1953;for(const [_0x2043fb,_0x38cba4]of _0x121fe8[_0x5039cc(0x150)]){const _0x4990f0=_0x38cba4[_0x5039cc(0x1bb)](_0x142fd7[_0x5039cc(0x176)],_0x142fd7[_0x5039cc(0x181)][_0x5039cc(0x1af)]-_0x142fd7[_0x5039cc(0x176)][_0x5039cc(0x1af)]);null!=_0x4990f0?_0x121fe8[_0x5039cc(0x150)][_0x5039cc(0x189)](_0x2043fb,_0x4990f0):_0x121fe8[_0x5039cc(0x150)][_0x5039cc(0x1bc)](_0x2043fb);}}function _0x1953(_0x49fada,_0x464c97){const _0x5abc22=_0x5abc();return _0x1953=function(_0x1953dd,_0x5776d9){_0x1953dd=_0x1953dd-0x14b;let _0x2e601f=_0x5abc22[_0x1953dd];return _0x2e601f;},_0x1953(_0x49fada,_0x464c97);}function _0x5abc(){const _0x4123a0=['merge','oldValue','howMany','isMarkedRemoveOperation','newRange','focus','targetPosition','key','rename','textNode','createPositionFromPath','...','insert','stickiness','_createFromRanges','getTransformedByOperation','clone','map','children','createRangeOn','changes','getOperations','start','push','addAttribute','data','SuggestionsConversion','suggestion:formatBlock:$fakeWrap:','1650psTHhR','suggestion:insertion:','2083298sMfsjF','757953pEzkNo','splitPosition','end','getMinimalFlatRanges','cloneNode','7305lFKPcT','isRegisteredAttribute','split','6616350IDsaQe','new','set','POSITIVE_INFINITY','move','data-id','$root','forward','$text','node','isAfter','plugins','2MAjoGm','createSelection','createPositionAt','remove','suggestion:deletion:','model','stringify','toNone','isBlock','schema','DocumentCompare',':$aiSuggestion','slice','backward','element','index','addOperation','suggestion:attribute:','getDiff','root','nodeAfter','type','sourcePosition','isDocumentOperation','177379VkWNjV','_getTransformedByInsertion','add','setTo','offset','applyOperation','1507428jSoBtn','nodeBefore','length','removed','newName','parse','oldName','newValue','get','removeAttribute','_getTransformedByDeletion','delete','path','createRange','name','reverse','change','isObject','$elementName','markers','word','range','moveTargetPosition','getFirstRange','baseVersion','position','modifySelection','changeAttribute','isBefore','marker','batch','getMovedRangeStart','getShiftedBy','1757144RzkbuX','parent'];_0x5abc=function(){return _0x4123a0;};return _0x5abc();}
|
|
23
|
+
(function(_0x49cf59,_0x56258e){const _0x3e8565=_0x13b9,_0x524fee=_0x49cf59();while(!![]){try{const _0x1a5496=parseInt(_0x3e8565(0x13c))/0x1+parseInt(_0x3e8565(0xf6))/0x2*(-parseInt(_0x3e8565(0xd7))/0x3)+parseInt(_0x3e8565(0x12e))/0x4+parseInt(_0x3e8565(0xe2))/0x5+-parseInt(_0x3e8565(0xe4))/0x6*(parseInt(_0x3e8565(0xdd))/0x7)+-parseInt(_0x3e8565(0x10e))/0x8*(-parseInt(_0x3e8565(0xd5))/0x9)+-parseInt(_0x3e8565(0xd3))/0xa;if(_0x1a5496===_0x56258e)break;else _0x524fee['push'](_0x524fee['shift']());}catch(_0x2de074){_0x524fee['push'](_0x524fee['shift']());}}}(_0x3d25,0x2eac7));import{findOne as _0x2f4c05,getAttribute as _0x224f49,Document as _0x425307,serialize as _0x44299e,parse as _0x2d9bd5}from'./htmlparser.js';function _0x13b9(_0x1e41ed,_0x154046){const _0x3d25c1=_0x3d25();return _0x13b9=function(_0x13b99a,_0x4caf0d){_0x13b99a=_0x13b99a-0xca;let _0x5471bf=_0x3d25c1[_0x13b99a];return _0x5471bf;},_0x13b9(_0x1e41ed,_0x154046);}import{fixElementSuggestionRange as _0x347928}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x136a62,_DetachOperation as _0x54305d,_removeFromModelNodeList as _0x4aa868,_insertIntoModelNodeList as _0x15d886}from'ckeditor5/src/engine.js';import{uid as _0x2f5197}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x5394b0,changeGroups:_0x4a3fbb,documentContextContent:_0x490938,showDiff:_0x2a273e,trimUnchanged:_0x31fa5a=!0x0}){const _0x5a7711=_0x13b9;return _0x4a3fbb[_0x5a7711(0xd9)](_0x282263=>{const _0x4f1ca9=_0x5a7711,_0x5d1902=new _0x425307([]),_0x2b1a44=new _0x425307([]);for(const _0x4b40a6 of _0x282263[_0x4f1ca9(0xcb)])if(_0x2a273e&&_0x4f1ca9(0x12d)==_0x4b40a6[_0x4f1ca9(0xef)]||_0x2b1a44[_0x4f1ca9(0x12b)][_0x4f1ca9(0x10f)](_0x4b40a6[_0x4f1ca9(0xe7)][_0x4f1ca9(0xe0)](!0x0)),_0x4f1ca9(0x126)!=_0x4b40a6[_0x4f1ca9(0xef)]&&(_0x2a273e||_0x4f1ca9(0x12d)!=_0x4b40a6[_0x4f1ca9(0xef)])){const _0x5e5b25=_0x2f4c05(_0x3b0e23=>_0x224f49(_0x3b0e23,_0x4f1ca9(0xde))==_0x4b40a6['id'],_0x490938,!0x0);_0x5e5b25&&_0x5d1902[_0x4f1ca9(0x12b)][_0x4f1ca9(0x10f)](_0x5e5b25[_0x4f1ca9(0xe0)](!0x0));}const {content:_0x293943,hasChanges:_0x5baa90}=function(_0xea46a8,_0x16fe24,_0x3518e9,_0x3034db,_0x41702d=!0x0){const _0x25ff6f=_0x4f1ca9,_0x5769e2=_0xea46a8[_0x25ff6f(0x12f)][_0x25ff6f(0x11a)](_0x25ff6f(0xeb)),_0x4d65e5=_0x44299e(_0x16fe24),_0x59cafc=_0x44299e(_0x3518e9),_0x564b96=_0xea46a8[_0x25ff6f(0xcc)][_0x25ff6f(0x13b)](_0x4d65e5,_0x25ff6f(0xfe)),_0x33f9a7=_0xea46a8[_0x25ff6f(0x108)][_0x25ff6f(0x11d)](_0x564b96,0x0),_0x688855=_0x5769e2[_0x25ff6f(0xf4)](_0x4d65e5,_0x59cafc,{'anchor':_0x33f9a7,'markDeletions':_0x3034db}),_0x3cf451=_0x688855[_0x25ff6f(0x105)]();if(0x0==_0x3cf451[_0x25ff6f(0x11b)])return{'content':_0x16fe24[_0x25ff6f(0xe0)](!0x0),'hasChanges':!0x1};_0x3034db?function(_0x23cfbb,_0x4ff0aa,_0x2aae55){const _0x474c2b=_0x25ff6f;if(0x0==_0x23cfbb[_0x474c2b(0x11b)])return;const _0x198143=_0x2aae55[_0x474c2b(0x12f)][_0x474c2b(0x11a)](_0x474c2b(0xeb)),_0x3847dc=_0x2aae55[_0x474c2b(0x12f)][_0x474c2b(0x11a)](_0x474c2b(0x110));_0x2aae55[_0x474c2b(0x108)][_0x474c2b(0xca)](_0x494d4a=>{const _0x178812=_0x474c2b,_0x4bd7de=new Set();for(let _0x5bb32b=0x0;_0x5bb32b<_0x23cfbb[_0x178812(0x11b)];_0x5bb32b++){const _0x7e8d8=_0x23cfbb[_0x5bb32b];if(_0x7e8d8[_0x178812(0xed)]=null,_0x7e8d8[_0x178812(0x118)]=!0x1,_0x198143[_0x178812(0x137)](_0x7e8d8)){const _0x89db82=_0x347928(_0x7e8d8[_0x178812(0xe1)],_0x2aae55[_0x178812(0x108)]),_0x50568c=_0x178812(0xf9)+_0x2f5197()+_0x178812(0x135);_0x4ff0aa[_0x178812(0x112)][_0x178812(0x128)](_0x50568c,_0x89db82);}else switch(_0x7e8d8[_0x178812(0xef)]){case _0x178812(0x11f):{if(_0x7e8d8[_0x178812(0xe8)]==_0x7e8d8[_0x178812(0x10d)])break;_0x494d4a[_0x178812(0xfc)][_0x178812(0x136)](_0x7e8d8),_0x2aae55[_0x178812(0x108)][_0x178812(0xd6)](_0x7e8d8);const _0x276735=_0x178812(0xf3),_0x6c6fb1=_0x7e8d8[_0x178812(0xfb)],_0x3ec37d=_0x2aae55[_0x178812(0x108)][_0x178812(0x13d)](_0x6c6fb1,_0x2aae55[_0x178812(0x108)][_0x178812(0x11d)](_0x6c6fb1[_0x178812(0x122)],_0x178812(0xe5))),_0x27ba31=_0x178812(0xe6)+_0x276735+':'+_0x2f5197()+_0x178812(0x135);_0x4ff0aa[_0x178812(0x112)][_0x178812(0x128)](_0x27ba31,_0x3ec37d);break;}case _0x178812(0x103):case _0x178812(0xe3):case _0x178812(0x11e):{if(_0x7e8d8[_0x178812(0x130)]==_0x7e8d8[_0x178812(0x101)])break;_0x494d4a[_0x178812(0xfc)][_0x178812(0x136)](_0x7e8d8),_0x2aae55[_0x178812(0x108)][_0x178812(0xd6)](_0x7e8d8);const _0x398bdd=_0x7e8d8[_0x178812(0x125)];if(!_0x3847dc[_0x178812(0xff)](_0x398bdd))break;const _0x556d72=_0x347928(_0x7e8d8[_0x178812(0x120)],_0x2aae55[_0x178812(0x108)]),_0x3bc2b0=_0x178812(0xe6)+_0x398bdd+':'+_0x2f5197()+_0x178812(0x135);_0x4ff0aa[_0x178812(0x112)][_0x178812(0x128)](_0x3bc2b0,_0x556d72);break;}case _0x178812(0x115):{_0x494d4a[_0x178812(0xfc)][_0x178812(0x136)](_0x7e8d8),_0x2aae55[_0x178812(0x108)][_0x178812(0xd6)](_0x7e8d8);if(_0x23cfbb[_0x5bb32b+0x1]&&_0x178812(0xd2)==_0x23cfbb[_0x5bb32b+0x1][_0x178812(0xef)]){no(_0x4ff0aa,_0x7e8d8);break;}const _0x4eaddb=_0x7e8d8[_0x178812(0xfb)],_0x26696b=_0x7e8d8[_0x178812(0x11c)],_0x3e7d63=_0x347928(_0x2aae55[_0x178812(0x108)][_0x178812(0x13d)](_0x4eaddb,_0x4eaddb[_0x178812(0xf8)](_0x26696b)),_0x2aae55[_0x178812(0x108)]),_0x1d8339=_0x178812(0x13e)+_0x2f5197()+_0x178812(0x135);_0x4ff0aa[_0x178812(0x112)][_0x178812(0x128)](_0x1d8339,_0x3e7d63);break;}case _0x178812(0x127):{_0x494d4a[_0x178812(0xfc)][_0x178812(0x136)](_0x7e8d8),_0x2aae55[_0x178812(0x108)][_0x178812(0xd6)](_0x7e8d8);const _0x436251=_0x7e8d8[_0x178812(0xf5)],_0x526911=_0x7e8d8[_0x178812(0x102)],_0x1d4c88=_0x2aae55[_0x178812(0x108)][_0x178812(0x13d)](_0x436251,_0x526911),_0x1528b6=_0x178812(0x13e)+_0x2f5197()+_0x178812(0x135);_0x4ff0aa[_0x178812(0x112)][_0x178812(0x128)](_0x1528b6,_0x1d4c88);break;}case _0x178812(0xd2):{_0x494d4a[_0x178812(0xfc)][_0x178812(0x136)](_0x7e8d8),_0x2aae55[_0x178812(0x108)][_0x178812(0xd6)](_0x7e8d8),_0x23cfbb[_0x5bb32b-0x1]&&_0x178812(0x115)==_0x23cfbb[_0x5bb32b-0x1][_0x178812(0xef)]&&no(_0x4ff0aa,_0x7e8d8);const _0x39466b=_0x7e8d8[_0x178812(0x104)](),_0x3146f1=_0x7e8d8[_0x178812(0x11c)];for(let _0x55d312=0x0;_0x55d312<_0x3146f1;_0x55d312++){const _0x24de34=_0x39466b[_0x178812(0xf8)](_0x55d312)[_0x178812(0x122)];_0x4bd7de[_0x178812(0x113)](_0x24de34);}break;}case _0x178812(0x10b):{const _0x505f6c=_0x7e8d8[_0x178812(0x100)],_0x3b9f45=_0x7e8d8[_0x178812(0x11c)],_0x3c9592=new _0x54305d(_0x505f6c,_0x3b9f45);_0x494d4a[_0x178812(0xfc)][_0x178812(0x136)](_0x3c9592),_0x2aae55[_0x178812(0x108)][_0x178812(0xd6)](_0x3c9592);break;}}}for(const _0x44f897 of _0x4bd7de){const _0x67f9d8=_0x2aae55[_0x178812(0x108)][_0x178812(0xdb)](_0x44f897),_0x1e1e8a=_0x178812(0x10a)+_0x2f5197()+_0x178812(0x135);_0x4ff0aa[_0x178812(0x112)][_0x178812(0x128)](_0x1e1e8a,_0x347928(_0x67f9d8,_0x2aae55[_0x178812(0x108)]));}});}(_0x3cf451,_0x564b96,_0xea46a8):_0xea46a8[_0x25ff6f(0x108)][_0x25ff6f(0xca)](_0x472e4b=>{const _0x29e1dd=_0x25ff6f;for(const _0x5120b9 of _0x3cf451)if(_0x29e1dd(0x10b)==_0x5120b9[_0x29e1dd(0xef)]){const _0x403f82=_0x5120b9[_0x29e1dd(0x100)],_0x4e87ef=_0x5120b9[_0x29e1dd(0x11c)],_0x35efbe=new _0x54305d(_0x403f82,_0x4e87ef);_0x472e4b[_0x29e1dd(0xfc)][_0x29e1dd(0x136)](_0x35efbe),_0xea46a8[_0x29e1dd(0x108)][_0x29e1dd(0xd6)](_0x35efbe);}else{if(_0x29e1dd(0xec)==_0x5120b9[_0x29e1dd(0xef)]){const _0x2b9385=_0x5120b9[_0x29e1dd(0x133)],_0x388343=_0x5120b9[_0x29e1dd(0xe1)];null!==_0x388343?_0x564b96[_0x29e1dd(0x112)][_0x29e1dd(0x128)](_0x2b9385,_0x388343):_0x564b96[_0x29e1dd(0x112)][_0x29e1dd(0xf7)](_0x2b9385);}else _0x5120b9[_0x29e1dd(0xed)]=null,_0x5120b9[_0x29e1dd(0x118)]=!0x1,_0x472e4b[_0x29e1dd(0xfc)][_0x29e1dd(0x136)](_0x5120b9),_0xea46a8[_0x29e1dd(0x108)][_0x29e1dd(0xd6)](_0x5120b9);}});if(_0x41702d){const _0x44507d=getMinimalSelection(_0xea46a8,_0x3cf451,_0x564b96);expandSelectionWithContext(_0xea46a8[_0x25ff6f(0x108)],_0x44507d),function(_0x28d5df,_0x26cbd5){const _0x5002d7=_0x25ff6f,_0x4d7d90=_0x26cbd5[_0x5002d7(0xd4)]()[_0x5002d7(0x117)];let _0x1b7d5b=_0x26cbd5[_0x5002d7(0xd4)]()[_0x5002d7(0xe5)];const _0x5a70e2=_0x4d7d90[_0x5002d7(0x131)];(_0x1b7d5b[_0x5002d7(0xe9)]||_0x1b7d5b[_0x5002d7(0x122)]&&_0x1b7d5b[_0x5002d7(0x122)]['is'](_0x5002d7(0x13a)))&&(_0x15d886(_0x1b7d5b,_0x5002d7(0x106)),_0x1b7d5b=_0x1b7d5b[_0x5002d7(0xf8)](0x3)),(_0x4d7d90[_0x5002d7(0xe9)]||_0x4d7d90[_0x5002d7(0x107)]&&_0x4d7d90[_0x5002d7(0x107)]['is'](_0x5002d7(0x13a)))&&(_0x15d886(_0x4d7d90,_0x5002d7(0x106)),function(_0xd7f549,_0x188baa,_0x238aae){const _0x11acc6=_0x5002d7;for(let [_0x5c5df2,_0xf4f15a]of _0xd7f549[_0x11acc6(0x112)]){const _0x196aa3=_0xf4f15a[_0x11acc6(0x10c)](_0x188baa,_0x238aae,!0x1);_0xf4f15a=_0x196aa3[0x0],_0xd7f549[_0x11acc6(0x112)][_0x11acc6(0x128)](_0x5c5df2,_0xf4f15a);}}(_0x5a70e2,_0x4d7d90,0x3),_0x4d7d90[_0x5002d7(0xd8)]==_0x1b7d5b[_0x5002d7(0xd8)]&&(_0x1b7d5b=_0x1b7d5b[_0x5002d7(0xf8)](0x3)));const _0x6fe929=_0x28d5df[_0x5002d7(0x13d)](_0x28d5df[_0x5002d7(0x11d)](_0x5a70e2,0x0),_0x4d7d90),_0xf7b8db=_0x28d5df[_0x5002d7(0x13d)](_0x1b7d5b,_0x28d5df[_0x5002d7(0x11d)](_0x5a70e2,_0x5002d7(0xe5))),_0x39a61b=[..._0x6fe929[_0x5002d7(0x119)](),..._0xf7b8db[_0x5002d7(0x119)]()];_0x39a61b[_0x5002d7(0xdc)]();for(const _0xc5a928 of _0x39a61b)_0x4aa868(_0xc5a928),_transformMarkersByDeletion(_0x5a70e2,_0xc5a928);}(_0xea46a8[_0x25ff6f(0x108)],_0x44507d);}const _0x5ebb87=_0xea46a8[_0x25ff6f(0xcc)][_0x25ff6f(0xcf)](_0x564b96,{'showSuggestionHighlights':!0x0});return{'content':_0x2d9bd5(_0x5ebb87),'hasChanges':!0x0};}(_0x5394b0,_0x5d1902,_0x2b1a44,_0x2a273e,_0x31fa5a);return{'type':_0x282263[_0x4f1ca9(0xcb)][0x0][_0x4f1ca9(0xef)],'index':_0x282263[_0x4f1ca9(0xda)],'content':_0x293943,'hasChanges':_0x5baa90};});}function no(_0x3bdc25,_0x267d21){const _0x48ad1e=_0x13b9;for(const [_0x1c3439,_0x1b9929]of _0x3bdc25[_0x48ad1e(0x112)]){const _0x1ba97c=_0x136a62[_0x48ad1e(0x129)](_0x1b9929[_0x48ad1e(0x123)](_0x267d21));_0x3bdc25[_0x48ad1e(0x112)][_0x48ad1e(0x128)](_0x1c3439,_0x1ba97c);}}export function getMinimalSelection(_0x290c14,_0x28f052,_0x1d6d9a){const _0x259b13=_0x13b9,_0x470793=_0x290c14[_0x259b13(0x12f)][_0x259b13(0x11a)](_0x259b13(0xeb));let _0x343fdd=_0x290c14[_0x259b13(0x108)][_0x259b13(0x11d)](_0x1d6d9a,Number[_0x259b13(0xf2)]),_0x560b08=_0x290c14[_0x259b13(0x108)][_0x259b13(0x11d)](_0x1d6d9a,0x0);for(const _0x6a5b8a of _0x28f052){let _0x46af1b,_0x24f3fe;if(_0x470793[_0x259b13(0x137)](_0x6a5b8a))_0x46af1b=_0x6a5b8a[_0x259b13(0xe1)][_0x259b13(0x117)],_0x24f3fe=_0x6a5b8a[_0x259b13(0xe1)][_0x259b13(0xe5)];else switch(_0x343fdd=_0x343fdd[_0x259b13(0x123)](_0x6a5b8a),_0x560b08=_0x560b08[_0x259b13(0x123)](_0x6a5b8a),_0x6a5b8a[_0x259b13(0xef)]){case _0x259b13(0x11f):_0x46af1b=_0x6a5b8a[_0x259b13(0xfb)],_0x24f3fe=_0x46af1b[_0x259b13(0xf8)](0x1);break;case _0x259b13(0x103):case _0x259b13(0xe3):case _0x259b13(0x11e):_0x46af1b=_0x6a5b8a[_0x259b13(0x120)][_0x259b13(0x117)],_0x24f3fe=_0x6a5b8a[_0x259b13(0x120)][_0x259b13(0xe5)];break;case _0x259b13(0x115):_0x46af1b=_0x6a5b8a[_0x259b13(0xfb)],_0x24f3fe=_0x46af1b[_0x259b13(0xf8)](_0x6a5b8a[_0x259b13(0x11c)]);break;case _0x259b13(0x127):_0x46af1b=_0x6a5b8a[_0x259b13(0xf5)],_0x24f3fe=_0x6a5b8a[_0x259b13(0x102)];break;case _0x259b13(0xee):{const _0x29ad37=_0x6a5b8a[_0x259b13(0x124)][_0x259b13(0x12c)][_0x259b13(0x132)](0x0,-0x1);_0x46af1b=_0x290c14[_0x259b13(0x108)][_0x259b13(0x139)](_0x1d6d9a,_0x29ad37),_0x24f3fe=_0x46af1b[_0x259b13(0xf8)](0x1);break;}case _0x259b13(0x10b):{const _0x5b296d=_0x6a5b8a[_0x259b13(0x11c)],_0x2361aa=_0x6a5b8a[_0x259b13(0x100)][_0x259b13(0x10c)](_0x6a5b8a[_0x259b13(0x124)],_0x5b296d),_0x282e46=_0x6a5b8a[_0x259b13(0x104)]();_0x259b13(0x10b)==_0x6a5b8a[_0x259b13(0xef)]?(_0x46af1b=_0x2361aa,_0x24f3fe=_0x2361aa):(_0x46af1b=_0x282e46,_0x24f3fe=_0x282e46[_0x259b13(0xf8)](_0x5b296d));break;}}_0x46af1b&&_0x46af1b[_0x259b13(0x111)](_0x343fdd)&&(_0x343fdd=_0x46af1b[_0x259b13(0xfd)](),_0x343fdd[_0x259b13(0x114)]=_0x259b13(0x121)),_0x24f3fe&&_0x24f3fe[_0x259b13(0xce)](_0x560b08)&&(_0x560b08=_0x24f3fe[_0x259b13(0xfd)](),_0x560b08[_0x259b13(0x114)]=_0x259b13(0x121));}return _0x290c14[_0x259b13(0x108)][_0x259b13(0x12a)](_0x290c14[_0x259b13(0x108)][_0x259b13(0x13d)](_0x343fdd,_0x560b08));}export function expandSelectionWithContext(_0x1a81aa,_0xf5ecd9){const _0x20eac9=_0x13b9;ro(_0x1a81aa,_0xf5ecd9,_0x20eac9(0xea));const _0x30884c=_0xf5ecd9[_0x20eac9(0xd4)]();_0xf5ecd9[_0x20eac9(0xd0)]([]),_0xf5ecd9[_0x20eac9(0xd0)](_0x30884c,{'backward':!0x0}),ro(_0x1a81aa,_0xf5ecd9,_0x20eac9(0x109));}function ro(_0xe54b7f,_0x13a332,_0xec200c){const _0x505f02=_0x13b9;let _0x2580f1=0x14;for(;_0x2580f1;){_0xe54b7f[_0x505f02(0xdf)](_0x13a332,{'unit':_0x505f02(0x138),'direction':_0xec200c}),_0x2580f1--;const _0x539df7=_0x13a332[_0x505f02(0xfa)][_0x505f02(0xea)==_0xec200c?_0x505f02(0x107):_0x505f02(0x122)];if(_0x539df7&&_0x539df7['is'](_0x505f02(0xf0))&&_0xe54b7f[_0x505f02(0xf1)][_0x505f02(0xcd)](_0x539df7)&&_0xe54b7f[_0x505f02(0xf1)][_0x505f02(0xd1)](_0x539df7))break;}}export function _transformMarkersByDeletion(_0x3b6354,_0x5802d9){const _0x1f3c40=_0x13b9;for(const [_0xde3af6,_0x54165a]of _0x3b6354[_0x1f3c40(0x112)]){const _0x351965=_0x54165a[_0x1f3c40(0x116)](_0x5802d9[_0x1f3c40(0x117)],_0x5802d9[_0x1f3c40(0xe5)][_0x1f3c40(0x134)]-_0x5802d9[_0x1f3c40(0x117)][_0x1f3c40(0x134)]);null!=_0x351965?_0x3b6354[_0x1f3c40(0x112)][_0x1f3c40(0x128)](_0xde3af6,_0x351965):_0x3b6354[_0x1f3c40(0x112)][_0x1f3c40(0xf7)](_0xde3af6);}}function _0x3d25(){const _0x1e5dce=['$elementName','getDiff','splitPosition','51816curRFI','delete','getShiftedBy','suggestion:deletion:','focus','position','batch','clone','$root','isRegisteredAttribute','sourcePosition','newValue','moveTargetPosition','addAttribute','getMovedRangeStart','getOperations','...','nodeBefore','model','backward','suggestion:formatBlock:$fakeWrap:','remove','_getTransformedByInsertion','newName','30544fDMQzo','push','SuggestionsConversion','isBefore','markers','add','stickiness','insert','_getTransformedByDeletion','start','isDocumentOperation','getMinimalFlatRanges','get','length','howMany','createPositionAt','changeAttribute','rename','range','toNone','nodeAfter','getTransformedByOperation','targetPosition','key','new','split','set','_createFromRanges','createSelection','children','path','removed','968200kzGfaV','plugins','oldValue','root','slice','name','offset',':$aiSuggestion','addOperation','isMarkedRemoveOperation','word','createPositionFromPath','$text','parse','276525LBTBOP','createRange','suggestion:insertion:','change','changes','data','isBlock','isAfter','stringify','setTo','isObject','move','193010MwYhtZ','getFirstRange','99jdZlbz','applyOperation','3NJuyDD','parent','map','index','createRangeOn','reverse','1231622mUsvRW','data-id','modifySelection','cloneNode','newRange','138515FQASgT','removeAttribute','12OXQpCO','end','suggestion:attribute:','node','oldName','textNode','forward','DocumentCompare','marker','baseVersion','merge','type','element','schema','POSITIVE_INFINITY'];_0x3d25=function(){return _0x1e5dce;};return _0x3d25();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x12aa39,_0x2eed68){const _0x236d24=_0x2d79,_0x1b30bc=_0x12aa39();while(!![]){try{const _0x4c2c64=-parseInt(_0x236d24(0x131))/0x1+parseInt(_0x236d24(0x141))/0x2*(parseInt(_0x236d24(0x138))/0x3)+-parseInt(_0x236d24(0x136))/0x4*(-parseInt(_0x236d24(0x12d))/0x5)+-parseInt(_0x236d24(0x12e))/0x6*(-parseInt(_0x236d24(0x13d))/0x7)+parseInt(_0x236d24(0x139))/0x8+parseInt(_0x236d24(0x130))/0x9+-parseInt(_0x236d24(0x144))/0xa;if(_0x4c2c64===_0x2eed68)break;else _0x1b30bc['push'](_0x1b30bc['shift']());}catch(_0x5a5b1d){_0x1b30bc['push'](_0x1b30bc['shift']());}}}(_0x2bd8,0x1ac4a));import{parseDocument as _0x494490}from'htmlparser2';import{append as _0x220308,appendChild as _0x2c801e,find as _0x40ffef,findAll as _0x1874fb,findOne as _0x5620b5,getChildren as _0x17594c,isComment as _0x1b663c,isTag as _0x37082e,prepend as _0x2c2df2,prependChild as _0x57def4,removeElement as _0x2210ae,replaceElement as _0xfed378,textContent as _0x165461,getParent as _0x5398ad,hasChildren as _0x272f22}from'domutils';function _0x2d79(_0x127242,_0x4f3d5f){const _0x2bd8ac=_0x2bd8();return _0x2d79=function(_0x2d79e1,_0x18b45f){_0x2d79e1=_0x2d79e1-0x12c;let _0x165a4e=_0x2bd8ac[_0x2d79e1];return _0x165a4e;},_0x2d79(_0x127242,_0x4f3d5f);}import _0x209ef2 from'dom-serializer';import{cloneNode as _0x482006,isDocument as _0x4ddef4,isText as _0x2e013d,Element as _0x2e786c,Text as _0x508d6d,Document as _0x2ade24,NodeWithChildren as _0x1944d5}from'domhandler';export{_0x482006 as cloneNode,_0x40ffef as find,_0x5620b5 as findOne,_0x1874fb as findAll,_0x17594c as getChildren,_0x5398ad as getParent,_0x1b663c as isComment,_0x4ddef4 as isDocument,_0x37082e as isTag,_0x2e013d as isText,_0x220308 as append,_0x2c801e as appendChild,_0x2c2df2 as prepend,_0x57def4 as prependChild,_0x209ef2 as render,_0x2210ae as removeElement,_0xfed378 as replaceElement,_0x165461 as textContent,_0x272f22 as hasChildren,_0x2e786c as Element,_0x2ade24 as Document,_0x1944d5 as NodeWithChildren,_0x508d6d as Text};function _0x2bd8(){const _0x3051eb=['parentNode','3265210zmGyZm','attribs','5RywxVR','8754tAVeZb','push','1077732OqylKL','185091Waqhmi','beforeend','afterbegin','afterend','indexOf','354916aTnCLR','beforebegin','15888XybTkS','1339120VlcXFm','reverse','nextSibling','map','847sYqFcR','replace','forEach','slice','26flORan','cloneNode'];_0x2bd8=function(){return _0x3051eb;};return _0x2bd8();}export function parse(_0x56cc75){return _0x494490(_0x56cc75);}export function serialize(_0x1ca8c1){return _0x209ef2(_0x1ca8c1);}export function findByAttribute(_0x3152d2,_0x52ead7,_0x3cf23f){const _0x456566=_0x2d79,_0x108160=null!==_0x52ead7?_0x3886a9=>_0x3886a9[_0x456566(0x12c)][_0x3152d2]===_0x52ead7:_0x543d07=>Boolean(_0x543d07[_0x456566(0x12c)][_0x3152d2]);return _0x5620b5(_0x252a89=>_0x37082e(_0x252a89)&&_0x108160(_0x252a89),_0x3cf23f);}export function findAllByAttribute(_0x5d032f,_0x34f331,_0x41a319){const _0x10a838=_0x2d79,_0x25b1db=null!==_0x34f331?_0xe7d10a=>_0xe7d10a[_0x10a838(0x12c)][_0x5d032f]===_0x34f331:_0x248f7e=>Boolean(_0x248f7e[_0x10a838(0x12c)][_0x5d032f]);return _0x1874fb(_0x50f078=>_0x37082e(_0x50f078)&&_0x25b1db(_0x50f078),_0x41a319);}export function findAllComments(_0xefcf05){return _0x40ffef(_0x4ec608=>_0x1b663c(_0x4ec608),_0xefcf05,!0x0,0x1/0x0);}export function getAttribute(_0x13c9ce,_0x40fe0b){const _0x5132d0=_0x2d79;return _0x13c9ce&&_0x37082e(_0x13c9ce)?_0x13c9ce[_0x5132d0(0x12c)][_0x40fe0b]:null;}export function setAttribute(_0x58f8c4,_0x31a333,_0x3bbc59){const _0x380d59=_0x2d79;_0x37082e(_0x58f8c4)&&(null===_0x3bbc59?delete _0x58f8c4[_0x380d59(0x12c)][_0x31a333]:_0x58f8c4[_0x380d59(0x12c)][_0x31a333]=_0x3bbc59);}export function insertElement(_0x140c73,_0x3e1e99,_0x2824bc){const _0x5a04a3=_0x2d79,_0x26f869=_0x3e1e99[_0x5a04a3(0x142)](!0x0);_0x5a04a3(0x137)===_0x2824bc?_0x2c2df2(_0x140c73,_0x26f869):_0x5a04a3(0x133)===_0x2824bc?_0x57def4(_0x140c73,_0x26f869):_0x5a04a3(0x132)===_0x2824bc?_0x2c801e(_0x140c73,_0x26f869):_0x5a04a3(0x134)===_0x2824bc&&_0x220308(_0x140c73,_0x26f869);}export function moveElement(_0x3fb05c,_0x1ed225){_0x2210ae(_0x3fb05c),_0xfed378(_0x1ed225,_0x3fb05c);}export function clone(_0x39a96f){const _0x273cc7=_0x2d79;return _0x39a96f[_0x273cc7(0x142)](!0x0);}export function getParents(_0x507d92){const _0x12d945=_0x2d79,_0x4328ab=[];let _0x12b020=_0x507d92;for(;_0x12b020;)_0x12b020=_0x5398ad(_0x12b020),_0x12b020&&_0x4328ab[_0x12d945(0x12f)](_0x12b020);return _0x4328ab;}export function normalizeHTML(_0x3fea9c){const _0x8e98d5=_0x2d79;return _0x3fea9c[_0x8e98d5(0x13e)](/^\s+/gm,'')[_0x8e98d5(0x13e)](/\s+$/gm,'')[_0x8e98d5(0x13e)](/\n*/g,'')[_0x8e98d5(0x13e)](/\s+/g,'\x20')[_0x8e98d5(0x13e)](/>\s*</g,'><');}export function areNodesSame(_0x4782a5,_0x300eb1){return normalizeHTML(serialize(_0x4782a5))===normalizeHTML(serialize(_0x300eb1));}export function getNodeNestingLevel(_0x11b1a8){const _0x2cf69a=_0x2d79;let _0x4d97c8=0x0;for(;_0x11b1a8[_0x2cf69a(0x143)];)_0x11b1a8=_0x11b1a8[_0x2cf69a(0x143)],_0x4d97c8++;return _0x4d97c8;}export function removeElementsAfter(_0x281fe6){const _0x584d40=_0x2d79,_0xcae489=[];let _0x31fb88=_0x281fe6[_0x584d40(0x13b)];for(;_0x31fb88;)_0xcae489[_0x584d40(0x12f)](_0x31fb88),_0x31fb88=_0x31fb88[_0x584d40(0x13b)];_0xcae489[_0x584d40(0x13f)](_0x5ad70b=>{_0x2210ae(_0x5ad70b);});}export function getNodePath(_0x5bc6a5){const _0x1c785d=_0x2d79;return[_0x5bc6a5,...getParents(_0x5bc6a5)][_0x1c785d(0x140)](0x0,-0x1)[_0x1c785d(0x13c)](_0x20bfb8=>{const _0x5c17e4=_0x1c785d,_0x1559db=_0x5398ad(_0x20bfb8);return _0x17594c(_0x1559db)[_0x5c17e4(0x135)](_0x20bfb8);})[_0x1c785d(0x13a)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x8e7a(_0x1ba092,_0x20462a){const _0x4bdb48=_0x4bdb();return _0x8e7a=function(_0x8e7a03,_0x2f1c9b){_0x8e7a03=_0x8e7a03-0xe3;let _0x210c22=_0x4bdb48[_0x8e7a03];return _0x210c22;},_0x8e7a(_0x1ba092,_0x20462a);}const _0x431728=_0x8e7a;(function(_0x36d785,_0x16971b){const _0x3d06d6=_0x8e7a,_0x166837=_0x36d785();while(!![]){try{const _0x25be22=parseInt(_0x3d06d6(0xea))/0x1+-parseInt(_0x3d06d6(0xf6))/0x2+-parseInt(_0x3d06d6(0x10f))/0x3*(parseInt(_0x3d06d6(0x111))/0x4)+parseInt(_0x3d06d6(0x11e))/0x5+parseInt(_0x3d06d6(0x11d))/0x6*(-parseInt(_0x3d06d6(0x10a))/0x7)+parseInt(_0x3d06d6(0xe8))/0x8+parseInt(_0x3d06d6(0x114))/0x9;if(_0x25be22===_0x16971b)break;else _0x166837['push'](_0x166837['shift']());}catch(_0x84cba3){_0x166837['push'](_0x166837['shift']());}}}(_0x4bdb,0xf1db7));import _0x3648e7 from'morphdom';import{NodeWithChildren as _0x1a2cdc,Text as _0x4d614e,Element as _0x3667c7,isText as _0xc0e9ff,isDocument as _0x101d4f,isTag as _0xb27930,cloneNode as _0x4e3223,getChildren as _0x211b02,prepend as _0x186ac9,removeElement as _0x18af84,textContent as _0x418766,render as _0x2b9086}from'./htmlparser.js';export class HTMLStreamer{[_0x431728(0x11f)];[_0x431728(0xf1)]=!0x1;[_0x431728(0x116)]=null;[_0x431728(0x113)]=[];[_0x431728(0xec)]=0x0;[_0x431728(0x10e)]=null;[_0x431728(0x112)]=0x0;constructor(_0x449fbf){const _0x23458f=_0x431728;this[_0x23458f(0x11f)]={'delay':_0x449fbf[_0x23458f(0xf4)]??0x14,'textNodeStyle':_0x449fbf[_0x23458f(0x118)],'onStreamUpdate':_0x449fbf[_0x23458f(0xe9)]||(()=>{})};}async[_0x431728(0xf5)]({document:_0x5f1b55,targetElement:_0x28c0a0,abortSignal:_0x3dd938}){const _0x3e6bc5=_0x431728;this[_0x3e6bc5(0xf1)]&&this[_0x3e6bc5(0xfa)](),_0x3dd938?.[_0x3e6bc5(0x108)](_0x3e6bc5(0xe5),this[_0x3e6bc5(0xfa)][_0x3e6bc5(0xf3)](this)),this[_0x3e6bc5(0x116)]=_0x4e3223(_0x5f1b55,!0x0),this[_0x3e6bc5(0x113)]=this[_0x3e6bc5(0xf0)](),this[_0x3e6bc5(0xf1)]=!0x0,this[_0x3e6bc5(0xec)]>this[_0x3e6bc5(0x113)][_0x3e6bc5(0x10c)]&&(this[_0x3e6bc5(0xec)]=this[_0x3e6bc5(0x113)][_0x3e6bc5(0x10c)]);for(let _0x186aa2=0x0;_0x186aa2<this[_0x3e6bc5(0xec)];_0x186aa2++)this[_0x3e6bc5(0x113)][_0x186aa2][_0x3e6bc5(0xe3)]=!0x0;do{const _0x25d075=Date[_0x3e6bc5(0x117)](),_0x39b7d3=this[_0x3e6bc5(0x113)][this[_0x3e6bc5(0xec)]],_0x28b163=_0x25d075-this[_0x3e6bc5(0x112)];if(_0x39b7d3){_0x39b7d3[_0x3e6bc5(0xe3)]=!0x0;let _0x5968e4=_0x39b7d3[_0x3e6bc5(0xed)];for(;_0x5968e4;)_0x5968e4[_0x3e6bc5(0xe3)]=!0x0,_0x5968e4=_0x5968e4[_0x3e6bc5(0xed)];}if(_0x28b163<this[_0x3e6bc5(0x11f)][_0x3e6bc5(0xf4)])try{const {promise:_0x325caa,abortController:_0x7c674b}=Cs(this[_0x3e6bc5(0x11f)][_0x3e6bc5(0xf4)]-_0x28b163);this[_0x3e6bc5(0x10e)]=_0x7c674b,await _0x325caa;}catch(_0x229e07){return;}_0x3648e7(_0x28c0a0,'<'+_0x28c0a0[_0x3e6bc5(0x10b)]+'>'+this[_0x3e6bc5(0xf7)](this[_0x3e6bc5(0x116)])+'</'+_0x28c0a0[_0x3e6bc5(0x10b)]+'>',{'childrenOnly':!0x0}),this[_0x3e6bc5(0x11f)][_0x3e6bc5(0xe9)]&&this[_0x3e6bc5(0x11f)][_0x3e6bc5(0xe9)](),this[_0x3e6bc5(0xec)]++,this[_0x3e6bc5(0x112)]=Date[_0x3e6bc5(0x117)]();}while(this[_0x3e6bc5(0xec)]<this[_0x3e6bc5(0x113)][_0x3e6bc5(0x10c)]);this[_0x3e6bc5(0xec)]=this[_0x3e6bc5(0x113)][_0x3e6bc5(0x10c)],this[_0x3e6bc5(0xf1)]=!0x1;}[_0x431728(0x11a)](){const _0x664ff5=_0x431728;this[_0x664ff5(0xf1)]=!0x1,this[_0x664ff5(0x116)]=null,this[_0x664ff5(0x113)]=[],this[_0x664ff5(0xec)]=0x0,this[_0x664ff5(0x10e)]=null;}[_0x431728(0xee)]({targetElement:_0x180e6c}){const _0x34b3a2=_0x431728;Array[_0x34b3a2(0x101)](_0x180e6c[_0x34b3a2(0xf9)](_0x34b3a2(0xef)))[_0x34b3a2(0x10d)]()[_0x34b3a2(0x115)](_0x29ffa1=>{const _0xe27c80=_0x34b3a2;_0x29ffa1[_0xe27c80(0x11b)](_0x29ffa1[_0xe27c80(0xe7)][0x0]);});}[_0x431728(0xfa)](){const _0x47823b=_0x431728;this[_0x47823b(0xf1)]=!0x1,this[_0x47823b(0x10e)]&&(this[_0x47823b(0x10e)][_0x47823b(0xe5)](),this[_0x47823b(0x10e)]=null);}[_0x431728(0xf7)](_0x1ad039){const _0x2db88a=_0x431728;let _0x4e0ad4='';if(function(_0x549059){return _0x101d4f(_0x549059);}(_0x1ad039)){for(const _0x45e212 of _0x1ad039[_0x2db88a(0x103)])_0x4e0ad4+=this[_0x2db88a(0xf7)](_0x45e212);}else{if(Ts(_0x1ad039)){if(!_0x1ad039[_0x2db88a(0xe3)])return'';const _0x214dab=_0x1ad039,_0x14ee4e=Object[_0x2db88a(0xf2)](_0x214dab[_0x2db88a(0x102)])[_0x2db88a(0x11c)](([_0x109447,_0x29ea31])=>_0x109447+'=\x22'+_0x29ea31+'\x22')[_0x2db88a(0x110)]('\x20');_0x4e0ad4+='<'+_0x214dab[_0x2db88a(0x10b)]+(_0x14ee4e?'\x20'+_0x14ee4e:'')+'>';for(const _0x4bc1cb of _0x211b02(_0x214dab))_0x4e0ad4+=this[_0x2db88a(0xf7)](_0x4bc1cb);_0x4e0ad4+='</'+_0x214dab[_0x2db88a(0x10b)]+'>';}else{if(!Ss(_0x1ad039))return'';if(!_0x1ad039[_0x2db88a(0xe3)])return'';!function(_0x4f332a){const _0x3fd68b=_0x2db88a;if(!_0x4f332a[_0x3fd68b(0xed)]||!Ts(_0x4f332a[_0x3fd68b(0xed)]))return!0x1;if(!ys[_0x3fd68b(0xeb)](_0x4f332a[_0x3fd68b(0xed)][_0x3fd68b(0x10b)]))return!0x1;return!_0x418766(_0x4f332a)[_0x3fd68b(0xfc)](/^\s*[<>]\s*$/);}(_0x1ad039)?_0x4e0ad4+=_0x2b9086(_0x1ad039):_0x4e0ad4+=_0x2b9086(new _0x3667c7(_0x2db88a(0x106),{'data-ck-html-streamer-word-chunk':'','style':this[_0x2db88a(0x11f)][_0x2db88a(0x118)]},[_0x1ad039]));}}return _0x4e0ad4;}[_0x431728(0xf0)](){const _0x4bfddd=_0x431728,_0x5bd11b=[];return function(_0x47a000,_0x473609){const _0x39a327=_0x8e7a,_0x424ed1=_0x303c42=>{const _0x1c3119=_0x8e7a;if(_0x473609(_0x303c42),_0x303c42 instanceof _0x1a2cdc)for(let _0x2aabe9=0x0;_0x2aabe9<_0x303c42[_0x1c3119(0x103)][_0x1c3119(0x10c)];_0x2aabe9++){const _0x1a936b=_0x303c42[_0x1c3119(0x103)][_0x2aabe9];_0x424ed1(_0x1a936b);}};for(let _0x23c8ee=0x0;_0x23c8ee<_0x47a000[_0x39a327(0x103)][_0x39a327(0x10c)];_0x23c8ee++)_0x424ed1(_0x47a000[_0x39a327(0x103)][_0x23c8ee]);}(this[_0x4bfddd(0x116)],_0x5216a0=>{const _0x9f6066=_0x4bfddd;if(Ss(_0x5216a0)){const _0x4668c4=this[_0x9f6066(0x119)](_0x5216a0);_0x4668c4[_0x9f6066(0x10c)]&&_0x5bd11b[_0x9f6066(0xe4)](..._0x4668c4);}_0x5216a0[_0x9f6066(0xfb)]||_0x5216a0[_0x9f6066(0x100)]||_0x5bd11b[_0x9f6066(0xe4)](_0x5216a0);}),_0x5bd11b;}[_0x431728(0x119)](_0x542427){const _0x5c25dc=_0x431728;if(_0x542427[_0x5c25dc(0xfb)]||_0x542427[_0x5c25dc(0x100)])return[];const _0x355949=_0x418766(_0x542427)[_0x5c25dc(0xfc)](/(?:\s*\S+\s*)/g),_0x41f1b9=[];if(_0x355949&&_0x355949[_0x5c25dc(0x10c)]>0x1){for(const _0x2893e of _0x355949){const _0x122b5a=new _0x4d614e(_0x2893e);_0x122b5a[_0x5c25dc(0x100)]=!0x0,_0x186ac9(_0x542427,_0x122b5a),_0x41f1b9[_0x5c25dc(0xe4)](_0x122b5a);}_0x542427[_0x5c25dc(0xfb)]=!0x0,_0x18af84(_0x542427);}return _0x41f1b9;}}const ys=['p','li','td','th',_0x431728(0x106),'h1','h2','h3','h4','h5','h6','b',_0x431728(0x109),'i','em',_0x431728(0xfe),_0x431728(0xe6),_0x431728(0xf8),_0x431728(0x104),_0x431728(0xff),'a',_0x431728(0x105),_0x431728(0xfd)];function Ss(_0x1e299c){return _0xc0e9ff(_0x1e299c);}function Ts(_0x351ac1){return _0xb27930(_0x351ac1);}function Cs(_0x1412c2){const _0x26a073=new AbortController();return{'promise':new Promise((_0x353efc,_0x196111)=>{const _0x3979c0=_0x8e7a,_0x4e9a8d=setTimeout(_0x353efc,_0x1412c2);_0x26a073[_0x3979c0(0x107)][_0x3979c0(0x108)](_0x3979c0(0xe5),()=>{clearTimeout(_0x4e9a8d),_0x196111();});}),'abortController':_0x26a073};}function _0x4bdb(){const _0xbf4cd9=['shouldBeStreamed','push','abort','del','childNodes','2751104ixQQGW','onStreamUpdate','1157790GXNAsa','includes','currentIndex','parent','cleanUpAnimations','span[data-ck-html-streamer-word-chunk]','getParsedDocumentNodeList','isStreaming','entries','bind','delay','stream','1424184EbAPmH','renderNode','ins','querySelectorAll','stop','isWordSplitSource','match','div','mark','sub','isWordSplitResult','from','attribs','children','sup','code','span','signal','addEventListener','strong','28QfCLpi','tagName','length','reverse','timeoutAbortController','39948eJlwRb','join','140NDBApS','lastUpdateTime','nodesList','3838590rHhHUQ','forEach','document','now','textNodeStyle','splitTextNodeIntoWordNodes','reset','replaceWith','map','600354NVuWwq','3204235cbStfA','options'];_0x4bdb=function(){return _0xbf4cd9;};return _0x4bdb();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x7910(_0x4c347e,_0x29975a){var _0x55dedf=_0x55de();return _0x7910=function(_0x791025,_0x1cec4c){_0x791025=_0x791025-0x69;var _0x4cb9a6=_0x55dedf[_0x791025];return _0x4cb9a6;},_0x7910(_0x4c347e,_0x29975a);}var _0x50b41d=_0x7910;(function(_0x1cf934,_0x141cbb){var _0x562993=_0x7910,_0xb8b49e=_0x1cf934();while(!![]){try{var _0x45b6dd=-parseInt(_0x562993(0x70))/0x1*(-parseInt(_0x562993(0x75))/0x2)+-parseInt(_0x562993(0x78))/0x3+-parseInt(_0x562993(0x6b))/0x4*(parseInt(_0x562993(0x6c))/0x5)+-parseInt(_0x562993(0x74))/0x6+parseInt(_0x562993(0x73))/0x7*(-parseInt(_0x562993(0x6d))/0x8)+-parseInt(_0x562993(0x6e))/0x9+parseInt(_0x562993(0x69))/0xa*(parseInt(_0x562993(0x76))/0xb);if(_0x45b6dd===_0x141cbb)break;else _0xb8b49e['push'](_0xb8b49e['shift']());}catch(_0x52c58e){_0xb8b49e['push'](_0xb8b49e['shift']());}}}(_0x55de,0x24f0b));import{Plugin as _0x2f8e43}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x51c722}from'./aitogglebutton/aitogglebuttonui.js';import{AIChatBalloon as _0x1b7062}from'../aichat/aichatballoon.js';function _0x55de(){var _0x3cf03d=['2NopStD','5789872xPHYBl','pluginName','719943yTdVPZ','10vVAQrA','requires','52fXaIex','2995tXaXDH','168UASMjN','1317735PDysyk','isOfficialPlugin','298907PlZccd','AIEditorIntegration','isPremiumPlugin','49658teoUSi','784770GkeRUA'];_0x55de=function(){return _0x3cf03d;};return _0x55de();}import{SuggestionsConversion as _0x21a2f1}from'ckeditor5-collaboration/src/collaboration-core.js';export class AIEditorIntegration extends _0x2f8e43{static get[_0x50b41d(0x6a)](){return[_0x51c722,_0x1b7062,_0x21a2f1];}static get[_0x50b41d(0x77)](){var _0x1d7eec=_0x50b41d;return _0x1d7eec(0x71);}static get[_0x50b41d(0x6f)](){return!0x0;}static get[_0x50b41d(0x72)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x34135a=_0x26c2;function _0x1dcf(){const _0x3705b3=['1056336EmOfCZ','isEnabled','734856AGuKRc','200384cUCqZC','36tIqruD','get','AIToggleButtonUI','isPremiumPlugin','toggleAi','requires','add','listenTo','2756169bbuXVn','value','menuBar:toggleAi','ck-ai-toggle-button','isOfficialPlugin','bind','locale','execute','7CzkyKf','AI_TOGGLE_BUTTON_LABEL','_createAIUIButton','isOn','484119gbOagi','3296LXulTN','911505FznOsf','componentFactory','pluginName','menuitemcheckbox','editor','set','init','commands'];_0x1dcf=function(){return _0x3705b3;};return _0x1dcf();}(function(_0x2109c5,_0x46b256){const _0x160c4a=_0x26c2,_0x5992de=_0x2109c5();while(!![]){try{const _0x484981=-parseInt(_0x160c4a(0xd8))/0x1*(parseInt(_0x160c4a(0xc3))/0x2)+-parseInt(_0x160c4a(0xd7))/0x3+-parseInt(_0x160c4a(0xc2))/0x4+parseInt(_0x160c4a(0xb7))/0x5+parseInt(_0x160c4a(0xbf))/0x6*(-parseInt(_0x160c4a(0xd3))/0x7)+parseInt(_0x160c4a(0xc1))/0x8+parseInt(_0x160c4a(0xcb))/0x9;if(_0x484981===_0x46b256)break;else _0x5992de['push'](_0x5992de['shift']());}catch(_0x517b12){_0x5992de['push'](_0x5992de['shift']());}}}(_0x1dcf,0x209aa));import{Plugin as _0x4fa658}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x3251ff}from'./toggleaicommand.js';import{ButtonView as _0x1ec7d1,MenuBarMenuListItemButtonView as _0x36e577}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x561762}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x375a8c}from'../../aicore/utils/common-translations.js';import{AITabs as _0x45276a}from'../../aitabs/aitabs.js';function _0x26c2(_0x2fbe2c,_0x5e1348){const _0x1dcf7c=_0x1dcf();return _0x26c2=function(_0x26c229,_0x32ba2b){_0x26c229=_0x26c229-0xb7;let _0x5e85a8=_0x1dcf7c[_0x26c229];return _0x5e85a8;},_0x26c2(_0x2fbe2c,_0x5e1348);}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x4fa658{static get[_0x34135a(0xc8)](){return[_0x45276a];}static get[_0x34135a(0xb9)](){const _0x51a5a8=_0x34135a;return _0x51a5a8(0xc5);}static get[_0x34135a(0xcf)](){return!0x0;}static get[_0x34135a(0xc6)](){return!0x0;}[_0x34135a(0xbd)](){const _0x29fc37=_0x34135a,_0x196dfc=this[_0x29fc37(0xbb)];_0x196dfc[_0x29fc37(0xbe)][_0x29fc37(0xc9)](_0x29fc37(0xc7),new _0x3251ff(_0x196dfc)),_0x196dfc['ui'][_0x29fc37(0xb8)][_0x29fc37(0xc9)](_0x29fc37(0xc7),()=>{const _0x51bbd4=_0x29fc37,_0x336d68=this[_0x51bbd4(0xd5)](_0x1ec7d1);return _0x336d68[_0x51bbd4(0xbc)]({'tooltip':!0x0,'class':_0x51bbd4(0xce)}),_0x336d68;}),_0x196dfc['ui'][_0x29fc37(0xb8)][_0x29fc37(0xc9)](_0x29fc37(0xcd),()=>{const _0x134e68=_0x29fc37,_0x9f5ea1=this[_0x134e68(0xd5)](_0x36e577);return _0x9f5ea1[_0x134e68(0xbc)]({'role':_0x134e68(0xba)}),_0x9f5ea1;});}[_0x34135a(0xd5)](_0x5bf1df){const _0xca162c=_0x34135a,_0x2d6cd0=this[_0xca162c(0xbb)],_0x2f753f=_0x2d6cd0[_0xca162c(0xbe)][_0xca162c(0xc4)](_0xca162c(0xc7)),_0x478959=new _0x5bf1df(_0x2d6cd0[_0xca162c(0xd1)]);return _0x478959[_0xca162c(0xbc)]({'label':_0x375a8c(_0x2d6cd0[_0xca162c(0xd1)],_0xca162c(0xd4)),'icon':_0x561762,'isToggleable':!0x0}),_0x478959[_0xca162c(0xd0)](_0xca162c(0xc0))['to'](_0x2f753f),_0x478959[_0xca162c(0xd0)](_0xca162c(0xd6))['to'](_0x2f753f,_0xca162c(0xcc),_0x1df95b=>!!_0x1df95b),this[_0xca162c(0xca)](_0x478959,_0xca162c(0xd2),()=>{const _0x249a57=_0xca162c;_0x2f753f[_0x249a57(0xd2)]();}),_0x478959;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5efead=_0xb4c9;(function(_0x9dd163,_0x42a39b){const _0x3bcd58=_0xb4c9,_0x5c87ca=_0x9dd163();while(!![]){try{const _0x3f8dbc=parseInt(_0x3bcd58(0x12f))/0x1*(-parseInt(_0x3bcd58(0x132))/0x2)+-parseInt(_0x3bcd58(0x144))/0x3*(parseInt(_0x3bcd58(0x1ce))/0x4)+parseInt(_0x3bcd58(0x19f))/0x5*(-parseInt(_0x3bcd58(0x16a))/0x6)+-parseInt(_0x3bcd58(0x1af))/0x7*(parseInt(_0x3bcd58(0x16c))/0x8)+parseInt(_0x3bcd58(0x142))/0x9*(parseInt(_0x3bcd58(0x1c2))/0xa)+parseInt(_0x3bcd58(0x167))/0xb*(-parseInt(_0x3bcd58(0x154))/0xc)+-parseInt(_0x3bcd58(0x1b1))/0xd*(-parseInt(_0x3bcd58(0x14a))/0xe);if(_0x3f8dbc===_0x42a39b)break;else _0x5c87ca['push'](_0x5c87ca['shift']());}catch(_0x5d722b){_0x5c87ca['push'](_0x5c87ca['shift']());}}}(_0x1a95,0x1efd4));import{IconAIAdjustLength as _0x3cb353,IconAIChangeTone as _0x31c0c7,IconAIChatCommands as _0x55cb81,IconAIContinueWriting as _0x195524,IconAIGrammarCheck as _0x24c3e8,IconAIImproveWriting as _0x4f366e,IconAIOther as _0x207ddf,IconAIQuickActions as _0x153d81,IconAITranslate as _0x4eef63}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x54a99b}from'ckeditor5/src/core.js';import{CKEditorError as _0x2cfbc9,logError as _0x143c92}from'ckeditor5/src/utils.js';import{getTranslation as _0x37c550}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0xea00de}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x1112f9}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x51b217,BalloonToolbar as _0x34a1f9,MenuBarMenuView as _0x4960ab,MenuBarMenuListView as _0x5ddba5,MenuBarMenuListItemView as _0x1b8529,MenuBarMenuListItemButtonView as _0x202b89}from'ckeditor5/src/ui.js';function _0x1a95(){const _0x531d71=['AIConnector','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_IMPROVE_WRITING','AIReviewMode','_initializeQuickActionsComponentsAndCommands','message','children','french','add','chat-commands','translate-to-russian','replace','type','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','menuitem','panelView','DisplayNames','translate-to-chinese','label','AI_QUICK_ACTIONS_HEADING','ai.quickActions.removeCommands','CHAT','make-tone-confident','_prepareQuickActionsDefinition','model','make-longer','items','AI_QUICK_ACTIONS_CHANGE_TONE','editor','includes','translate-to-english','translate-to-italian','execute','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','_shouldIncludeAction','AI_QUICK_ACTIONS_EXPLAIN','displayedPrompt','translate-to-korean','ai.quickActions.isSearchEnabled','some','make-tone-friendly','AI_QUICK_ACTIONS_MORE_DIRECT','focus','config','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_ASK_AI','language','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','35KTHKtf','ask-ai','make-tone-casual','pluginName','AI_QUICK_ACTIONS_TRANSLATE','English','make-shorter','find','icon','get','getAll','summarize','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','adjust-length','menu','ai-quick-actions-models-unable-to-retrieve','7UiaNYb','_initializeQuickActionsDropdown','1313xUteQu','delegate','buttonView','translate-to-japanese','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','other','AI_QUICK_ACTIONS_MAKE_LONGER','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_MORE_CASUAL','close','translate','_executeQuickAction','menuBarView','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','italian','actions','54490SRHDVd','attachToDom','make-tone-direct','ACTION','ai.quickActions.extraCommands','ai-quick-actions-unavailable-model','translate-to-french','requires','translate-to-german','isOfficialPlugin','AI_QUICK_ACTIONS_OTHER','values','24FIekAH','AIChat','has','highlight-key-points','translate-to-portuguese','plugins','1099dVlYLc','uiLanguage','AI_QUICK_ACTIONS_CONTINUE_WRITING','298ycTNhj','length','spanish','portuguese','korean','set','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','fix-grammar','_initializeQuickActionsMenuBar','AIQuickActionsUI','commands','change-tone','AI_QUICK_ACTIONS_SUMMARIZE','filter','improve-writing','continue','117TupPEd','AI_QUICK_ACTIONS_CHAT_COMMANDS','36159wtnvQq','view','map','menuBar:aiQuickActions','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','81802pssXKe','translate-to-spanish','russian','isEnabled','aiQuickAction','english','REVIEW','init','explain','isPremiumPlugin','12xqxGfq','AI_QUICK_ACTIONS_MORE_CONFIDENT','editing','AI_QUICK_ACTIONS_MORE_FRIENDLY','forEach','japanese','_quickActionsDefinition','german','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AIActions','ai.chat.context.document.enabled','componentFactory','chinese','push','aiQuickActions','locale','_getDefaultAndCustomActions','1292148LaSEEc','getDefaultQuickActions','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','149106jlggTv','make-tone-professional','52432dbnVCB','AI_QUICK_ACTIONS_TRANSLATE_CHINESE'];_0x1a95=function(){return _0x531d71;};return _0x1a95();}import{AIModels as _0x1d2288}from'../aicore/model/aimodels.js';import{AIConnector as _0x382cb6}from'../aicore/aiconnector.js';function _0xb4c9(_0x25d36c,_0x14de7b){const _0x1a956a=_0x1a95();return _0xb4c9=function(_0xb4c98d,_0x5a78ec){_0xb4c98d=_0xb4c98d-0x12c;let _0x1c5803=_0x1a956a[_0xb4c98d];return _0x1c5803;},_0xb4c9(_0x25d36c,_0x14de7b);}import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';const ee=_0x5efead(0x1bf),ie=_0x5efead(0x15e),ne=_0x5efead(0x190);export var AIQuickActionType;!function(_0xf8142c){const _0x4914ef=_0x5efead;_0xf8142c[_0x4914ef(0x184)]=_0x4914ef(0x184),_0xf8142c[_0x4914ef(0x1c5)]=_0x4914ef(0x1c5),_0xf8142c[_0x4914ef(0x150)]=_0x4914ef(0x150);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x3b28d4){const _0xf12662=_0x5efead;_0x3b28d4[_0xf12662(0x184)]=_0xf12662(0x1cf),_0x3b28d4[_0xf12662(0x1c5)]=_0xf12662(0x15f),_0x3b28d4[_0xf12662(0x150)]=_0xf12662(0x171);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x54a99b{static get[_0x5efead(0x1c9)](){return[_0x34a1f9,_0x382cb6];}static get[_0x5efead(0x1a2)](){const _0x458784=_0x5efead;return _0x458784(0x13b);}static get[_0x5efead(0x1cb)](){return!0x0;}static get[_0x5efead(0x153)](){return!0x0;}async[_0x5efead(0x151)](){const _0x2ff768=_0x5efead,_0x749369=await this[_0x2ff768(0x166)]();this[_0x2ff768(0x186)](_0x749369),this[_0x2ff768(0x172)]();}static[_0x5efead(0x168)](_0xd87e2a){return function(_0x4e896d){const _0x1ef9fc=_0xb4c9,_0x26f8d7=new Intl[(_0x1ef9fc(0x17f))](['en'],{'type':_0x1ef9fc(0x19d)})['of'](_0x4e896d[_0x1ef9fc(0x130)]),_0x331d36=_0x26f8d7||_0x1ef9fc(0x1a4),_0x561381=[{'id':_0x1ef9fc(0x1a0),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x19c)),'type':AIQuickActionType[_0x1ef9fc(0x184)],'icon':_0x55cb81},{'id':_0x1ef9fc(0x177),'label':_0x37c550(_0x4e896d,_0x1ef9fc(0x143)),'icon':_0x55cb81,'actions':[{'id':_0x1ef9fc(0x152),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x192)),'prompt':ee[_0x1ef9fc(0x179)]('%0',_0x331d36),'type':AIQuickActionType[_0x1ef9fc(0x184)]},{'id':_0x1ef9fc(0x1aa),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x13e)),'prompt':ie[_0x1ef9fc(0x179)]('%0',_0x331d36),'type':AIQuickActionType[_0x1ef9fc(0x184)]},{'id':_0x1ef9fc(0x12c),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x17c)),'prompt':ne[_0x1ef9fc(0x179)]('%0',_0x331d36),'type':AIQuickActionType[_0x1ef9fc(0x184)]}]},{'id':_0x1ef9fc(0x140),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x170)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'icon':_0x4f366e},{'id':_0x1ef9fc(0x141),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x131)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'icon':_0x195524},{'id':_0x1ef9fc(0x139),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x1ab)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'icon':_0x24c3e8},{'id':_0x1ef9fc(0x1ac),'label':_0x37c550(_0x4e896d,_0x1ef9fc(0x19b)),'icon':_0x3cb353,'actions':[{'id':_0x1ef9fc(0x1a5),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x148)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]},{'id':_0x1ef9fc(0x188),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x1b7)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]}]},{'id':_0x1ef9fc(0x13d),'label':_0x37c550(_0x4e896d,_0x1ef9fc(0x18a)),'icon':_0x31c0c7,'actions':[{'id':_0x1ef9fc(0x1a1),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x1b9)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]},{'id':_0x1ef9fc(0x1c4),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x198)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]},{'id':_0x1ef9fc(0x197),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x157)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]},{'id':_0x1ef9fc(0x185),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x155)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]},{'id':_0x1ef9fc(0x16b),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x16f)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)]}]},{'id':_0x1ef9fc(0x1bb),'label':_0x37c550(_0x4e896d,_0x1ef9fc(0x1a3)),'icon':_0x4eef63,'actions':[{'id':_0x1ef9fc(0x18d),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x1b5)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x14f)}},{'id':_0x1ef9fc(0x180),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x16d)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x162)}},{'id':_0x1ef9fc(0x14b),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x1be)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x134)}},{'id':_0x1ef9fc(0x1ca),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x169)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x15b)}},{'id':_0x1ef9fc(0x1c8),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x17b)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x175)}},{'id':_0x1ef9fc(0x1b4),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x138)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x159)}},{'id':_0x1ef9fc(0x12d),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x149)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x135)}},{'id':_0x1ef9fc(0x194),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x15c)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x136)}},{'id':_0x1ef9fc(0x18e),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x15d)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x1c0)}},{'id':_0x1ef9fc(0x178),'displayedPrompt':_0x37c550(_0x4e896d,_0x1ef9fc(0x19e)),'type':AIQuickActionType[_0x1ef9fc(0x1c5)],'actionName':_0x1ef9fc(0x1bb),'args':{'language':_0x1ef9fc(0x14c)}}]},{'id':_0x1ef9fc(0x1b6),'label':_0x37c550(_0x4e896d,_0x1ef9fc(0x1cc)),'icon':_0x207ddf,'actions':[]}];return _0x561381;}(_0xd87e2a);}async[_0x5efead(0x166)](){const _0x5ceed1=_0x5efead,_0x36a07b=AIQuickActionsUI[_0x5ceed1(0x168)](this[_0x5ceed1(0x18b)][_0x5ceed1(0x165)]),_0x2e5987=this[_0x5ceed1(0x18b)][_0x5ceed1(0x19a)][_0x5ceed1(0x1a8)](_0x5ceed1(0x1c6))||[];let _0xe09cbb=[];try{_0xe09cbb=await new _0x1d2288({'connector':this[_0x5ceed1(0x18b)][_0x5ceed1(0x12e)][_0x5ceed1(0x1a8)](_0x5ceed1(0x16e)),'locale':this[_0x5ceed1(0x18b)][_0x5ceed1(0x165)]})[_0x5ceed1(0x1a9)]();}catch(_0x190c58){const _0x1eeb31=new _0x2cfbc9(_0x5ceed1(0x1ae),this,{'error':_0x190c58});_0x143c92(_0x1eeb31[_0x5ceed1(0x173)]);}finally{const _0x3e64dc=_0x2e5987[_0x5ceed1(0x146)](_0x533d87=>({..._0x533d87,'icon':void 0x0}));_0x36a07b[_0x5ceed1(0x1a6)](_0x4c00dd=>_0x5ceed1(0x1b6)===_0x4c00dd['id'])[_0x5ceed1(0x1c1)][_0x5ceed1(0x163)](..._0x3e64dc),_0x36a07b[_0x5ceed1(0x158)](_0x48f0ad=>{const _0x3a0e2d=_0x5ceed1;if(_0x3a0e2d(0x1c1)in _0x48f0ad)_0x48f0ad[_0x3a0e2d(0x1c1)][_0x3a0e2d(0x158)](_0x10232b=>{const _0x57dd0b=_0x3a0e2d;if(_0x10232b[_0x57dd0b(0x14d)]=!!_0xe09cbb[_0x57dd0b(0x1a6)](_0x233151=>_0x233151['id']===_0x10232b[_0x57dd0b(0x187)])||void 0x0===_0x10232b[_0x57dd0b(0x187)],!_0x10232b[_0x57dd0b(0x14d)]){const _0x25c4d9=new _0x2cfbc9(_0x57dd0b(0x1c7),this,{'actionId':_0x10232b['id'],'modelId':_0x10232b[_0x57dd0b(0x187)]});_0x143c92(_0x25c4d9[_0x57dd0b(0x173)]);}});else{if(_0x48f0ad[_0x3a0e2d(0x14d)]=!!_0xe09cbb[_0x3a0e2d(0x1a6)](_0x56be1=>_0x56be1['id']===_0x48f0ad[_0x3a0e2d(0x187)])||void 0x0===_0x48f0ad[_0x3a0e2d(0x187)],!_0x48f0ad[_0x3a0e2d(0x14d)]){const _0x5d6302=new _0x2cfbc9(_0x3a0e2d(0x1c7),this,{'actionId':_0x48f0ad['id'],'modelId':_0x48f0ad[_0x3a0e2d(0x187)]});_0x143c92(_0x5d6302[_0x3a0e2d(0x173)]);}}});}return _0x36a07b;}[_0x5efead(0x172)](){const _0x28593a=_0x5efead,_0x59abba=new _0x51b217(this[_0x28593a(0x18b)][_0x28593a(0x165)]);_0x59abba[_0x28593a(0x1c3)](),this[_0x28593a(0x1b0)](_0x59abba),this[_0x28593a(0x13a)](),this[_0x28593a(0x1b8)](_0x59abba);}[_0x5efead(0x1b0)](_0x437fd7){const _0x92065b=_0x5efead,_0x47657a=this[_0x92065b(0x18b)][_0x92065b(0x19a)][_0x92065b(0x1a8)](_0x92065b(0x195))??!0x0;this[_0x92065b(0x18b)]['ui'][_0x92065b(0x161)][_0x92065b(0x176)](_0x92065b(0x164),_0xea00de({'editor':this[_0x92065b(0x18b)],'content':this[_0x92065b(0x15a)],'buttonDefinition':{'icon':_0x153d81,'label':_0x37c550(this[_0x92065b(0x18b)][_0x92065b(0x165)],_0x92065b(0x182))},'bodyCollection':_0x437fd7,'hasSearch':_0x47657a}));}[_0x5efead(0x186)](_0x35013a){const _0x2ca203=_0x5efead;this[_0x2ca203(0x15a)]=_0x35013a[_0x2ca203(0x146)](_0x28b8c3=>{const _0x3f6333=_0x2ca203;if(_0x3f6333(0x1c1)in _0x28b8c3){const _0x34d42a=_0x28b8c3;return{..._0x34d42a,'actions':_0x34d42a[_0x3f6333(0x1c1)][_0x3f6333(0x146)](_0x425eea=>{const {actions:_0x320bc5,..._0x1e2d9f}=_0x34d42a;return{..._0x425eea,'parent':_0x1e2d9f};})[_0x3f6333(0x13f)](_0x45821c=>this[_0x3f6333(0x191)](_0x45821c))};}return _0x28b8c3;})[_0x2ca203(0x13f)](_0x5ae6f6=>_0x2ca203(0x1c1)in _0x5ae6f6?_0x5ae6f6[_0x2ca203(0x1c1)][_0x2ca203(0x133)]>0x0:this[_0x2ca203(0x191)](_0x5ae6f6));}[_0x5efead(0x191)](_0x2a5e4b){const _0x12d029=_0x5efead,_0x1e958c=this[_0x12d029(0x18b)][_0x12d029(0x19a)][_0x12d029(0x1a8)](_0x12d029(0x183))||[];return this[_0x12d029(0x18b)][_0x12d029(0x12e)][_0x12d029(0x1d0)](AIQuickActionTypeToPluginName[_0x2a5e4b[_0x12d029(0x17a)]])&&!_0x1e958c[_0x12d029(0x18c)](_0x2a5e4b['id'])&&!(_0x2a5e4b[_0x12d029(0x17a)]===AIQuickActionType[_0x12d029(0x184)]&&!0x1===this[_0x12d029(0x18b)][_0x12d029(0x19a)][_0x12d029(0x1a8)](_0x12d029(0x160)));}[_0x5efead(0x1b8)](_0x6b1406){const _0x19020a=_0x5efead;this[_0x19020a(0x15a)][_0x19020a(0x158)](_0x50edfc=>{const _0x3111d7=_0x19020a;if(_0x3111d7(0x1c1)in _0x50edfc){const _0x18cab4=_0xea00de({'editor':this[_0x3111d7(0x18b)],'content':_0x50edfc[_0x3111d7(0x1c1)],'buttonDefinition':_0x50edfc,'bodyCollection':_0x6b1406});this[_0x3111d7(0x18b)]['ui'][_0x3111d7(0x161)][_0x3111d7(0x176)](_0x50edfc['id'],_0x18cab4),_0x50edfc[_0x3111d7(0x1c1)][_0x3111d7(0x158)](_0x53109f=>{const _0x127d61=_0x3111d7,_0x4a0cf6=_0x1112f9({'editor':this[_0x127d61(0x18b)],'action':_0x53109f});this[_0x127d61(0x18b)]['ui'][_0x127d61(0x161)][_0x127d61(0x176)](_0x53109f['id'],_0x4a0cf6);});}else{const _0xbc2beb=_0x1112f9({'editor':this[_0x3111d7(0x18b)],'action':_0x50edfc,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x3111d7(0x18b)]['ui'][_0x3111d7(0x161)][_0x3111d7(0x176)](_0x50edfc['id'],_0xbc2beb);}});}[_0x5efead(0x13a)](){const _0x66cad8=_0x5efead;this[_0x66cad8(0x18b)]['ui'][_0x66cad8(0x161)][_0x66cad8(0x176)](_0x66cad8(0x147),_0x4c4d57=>{const _0xedb09=_0x66cad8,_0x7520b4=new _0x4960ab(_0x4c4d57),_0x555eb5=_0x37c550(_0x4c4d57,_0xedb09(0x182));_0x7520b4[_0xedb09(0x1b3)][_0xedb09(0x137)]({'label':_0x555eb5,'icon':_0x153d81});const _0x27412c=new _0x5ddba5(_0x4c4d57);_0x27412c[_0xedb09(0x137)]({'ariaLabel':_0x555eb5,'role':_0xedb09(0x1ad)}),this[_0xedb09(0x15a)][_0xedb09(0x158)](_0xbb522d=>{const _0xfc391b=_0xedb09;if(_0xfc391b(0x1c1)in _0xbb522d){const _0x2f5348=_0xbb522d,_0x2b0980=new _0x1b8529(_0x4c4d57,_0x7520b4),_0x40b600=new _0x4960ab(_0x4c4d57),_0x27af5f=new _0x5ddba5(_0x4c4d57);_0x40b600[_0xfc391b(0x1b3)][_0xfc391b(0x137)]({'label':_0x2f5348[_0xfc391b(0x181)],'icon':_0x2f5348[_0xfc391b(0x1a7)]}),_0x2f5348[_0xfc391b(0x1c1)][_0xfc391b(0x158)](_0x1d3bac=>{const _0x12767b=_0xfc391b,_0x41114c=new _0x1b8529(_0x4c4d57,_0x40b600),_0x43d0cc=new _0x202b89(_0x4c4d57);_0x43d0cc[_0x12767b(0x137)]({'label':_0x1d3bac[_0x12767b(0x193)],'icon':_0x1d3bac[_0x12767b(0x1a7)],'role':_0x12767b(0x17d),'isEnabled':_0x1d3bac[_0x12767b(0x14d)]}),_0x43d0cc['on'](_0x12767b(0x18f),()=>{const _0x2c69d6=_0x12767b;this[_0x2c69d6(0x1bc)](_0x1d3bac);}),_0x43d0cc[_0x12767b(0x1b2)](_0x12767b(0x18f))['to'](_0x40b600),_0x41114c[_0x12767b(0x174)][_0x12767b(0x176)](_0x43d0cc),_0x27af5f[_0x12767b(0x189)][_0x12767b(0x176)](_0x41114c);}),_0x40b600[_0xfc391b(0x17e)][_0xfc391b(0x174)][_0xfc391b(0x176)](_0x27af5f),_0x2b0980[_0xfc391b(0x174)][_0xfc391b(0x176)](_0x40b600),_0x27412c[_0xfc391b(0x189)][_0xfc391b(0x176)](_0x2b0980);}else{const _0x3befbd=_0xbb522d,_0x168411=new _0x1b8529(_0x4c4d57,_0x7520b4),_0x3e72e6=new _0x202b89(_0x4c4d57);_0x3e72e6[_0xfc391b(0x137)]({'label':_0x3befbd[_0xfc391b(0x193)],'icon':_0x3befbd[_0xfc391b(0x1a7)],'role':_0xfc391b(0x17d),'isEnabled':_0x3befbd[_0xfc391b(0x14d)]}),_0x3e72e6['on'](_0xfc391b(0x18f),()=>{const _0x6ded89=_0xfc391b;this[_0x6ded89(0x1bc)](_0x3befbd);}),_0x3e72e6[_0xfc391b(0x1b2)](_0xfc391b(0x18f))['to'](_0x7520b4),_0x168411[_0xfc391b(0x174)][_0xfc391b(0x176)](_0x3e72e6),_0x27412c[_0xfc391b(0x189)][_0xfc391b(0x176)](_0x168411);}});const _0x5e8647=Object[_0xedb09(0x1cd)](AIQuickActionTypeToPluginName)[_0xedb09(0x196)](_0x50d045=>this[_0xedb09(0x18b)][_0xedb09(0x12e)][_0xedb09(0x1d0)](_0x50d045));return _0x7520b4[_0xedb09(0x137)]({'isEnabled':_0x5e8647}),_0x7520b4[_0xedb09(0x17e)][_0xedb09(0x174)][_0xedb09(0x176)](_0x27412c),_0x7520b4;});}[_0x5efead(0x1bc)](_0x2177b2){const _0x5395e8=_0x5efead,_0x4898e=this[_0x5395e8(0x18b)];_0x4898e[_0x5395e8(0x156)][_0x5395e8(0x145)][_0x5395e8(0x199)](),_0x4898e[_0x5395e8(0x13c)][_0x5395e8(0x18f)](_0x5395e8(0x14e),_0x2177b2);const _0x3778dc=_0x4898e['ui'][_0x5395e8(0x145)][_0x5395e8(0x1bd)];_0x3778dc&&_0x3778dc[_0x5395e8(0x1ba)]&&_0x3778dc[_0x5395e8(0x1ba)]();}}
|
|
23
|
+
const _0xbcb715=_0x536b;(function(_0x21dff1,_0x1ee5b9){const _0x4b5ee2=_0x536b,_0x169f83=_0x21dff1();while(!![]){try{const _0x17e130=-parseInt(_0x4b5ee2(0x105))/0x1+parseInt(_0x4b5ee2(0xfa))/0x2+-parseInt(_0x4b5ee2(0xe3))/0x3+parseInt(_0x4b5ee2(0xea))/0x4*(-parseInt(_0x4b5ee2(0xd0))/0x5)+-parseInt(_0x4b5ee2(0xfb))/0x6*(-parseInt(_0x4b5ee2(0xfe))/0x7)+-parseInt(_0x4b5ee2(0xa5))/0x8+parseInt(_0x4b5ee2(0xdf))/0x9;if(_0x17e130===_0x1ee5b9)break;else _0x169f83['push'](_0x169f83['shift']());}catch(_0x213cfd){_0x169f83['push'](_0x169f83['shift']());}}}(_0x3243,0x88727));import{IconAIAdjustLength as _0x54ddc1,IconAIChangeTone as _0x4f6977,IconAIChatCommands as _0x2af880,IconAIContinueWriting as _0x4122c8,IconAIGrammarCheck as _0x1641b3,IconAIImproveWriting as _0x5a9f6e,IconAIOther as _0x36119c,IconAIQuickActions as _0xcd496d,IconAITranslate as _0x33d87c}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x5df337}from'ckeditor5/src/core.js';import{CKEditorError as _0x3660,logError as _0x4aad12}from'ckeditor5/src/utils.js';import{getTranslation as _0x31dc0d}from'../aicore/utils/common-translations.js';function _0x3243(){const _0x19da2b=['AI_QUICK_ACTIONS_MORE_CASUAL','AI_QUICK_ACTIONS_MORE_CONFIDENT','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','forEach','translate-to-english','AI_QUICK_ACTIONS_CHANGE_TONE','portuguese','summarize','AIChat','editing','ai.chat.context.document.enabled','make-tone-confident','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','explain','AI_QUICK_ACTIONS_ADJUST_LENGTH','chinese','_getDefaultAndCustomActions','uiLanguage','translate-to-german','focus','english','get','make-shorter','delegate','fix-grammar','60pQhFSI','push','make-tone-friendly','plugins','AI_QUICK_ACTIONS_TRANSLATE','replace','AIActions','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','displayedPrompt','English','russian','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_HEADING','REVIEW','buttonView','19407249LCtMuz','pluginName','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_IMPROVE_WRITING','230313SbVfKO','translate-to-portuguese','improve-writing','other','add','aiQuickActions','children','143540xEmZxQ','make-tone-casual','values','label','isEnabled','locale','AIConnector','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','set','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','menuBarView','_quickActionsDefinition','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','execute','AIReviewMode','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','204462OjsWXg','840168vUoLKq','highlight-key-points','_shouldIncludeAction','7kApEse','filter','getAll','CHAT','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','type','939682sBvhqE','find','includes','editor','aiQuickAction','translate-to-spanish','japanese','icon','_prepareQuickActionsDefinition','getDefaultQuickActions','continue','AI_QUICK_ACTIONS_MAKE_SHORTER','translate-to-russian','view','make-tone-direct','translate-to-italian','translate-to-french','french','german','change-tone','map','ai.quickActions.extraCommands','some','message','close','length','translate','attachToDom','AI_QUICK_ACTIONS_MORE_DIRECT','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','config','chat-commands','AIQuickActionsUI','items','requires','isOfficialPlugin','spanish','DisplayNames','model','korean','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','translate-to-chinese','AI_QUICK_ACTIONS_MAKE_LONGER','adjust-length','_initializeQuickActionsDropdown','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','make-tone-professional','menuitem','_executeQuickAction','panelView','italian','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','has','ai.quickActions.isSearchEnabled','_initializeQuickActionsMenuBar','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_SUMMARIZE','actions','init','AI_QUICK_ACTIONS_MORE_FRIENDLY','ask-ai','isPremiumPlugin','3141280vQwwcR','language','AI_QUICK_ACTIONS_ASK_AI','make-longer','ai-quick-actions-unavailable-model','menu','commands','AI_QUICK_ACTIONS_CHAT_COMMANDS','translate-to-japanese','AI_QUICK_ACTIONS_OTHER','ai-quick-actions-models-unable-to-retrieve','componentFactory','menuBar:aiQuickActions','_initializeQuickActionsComponents','ACTION'];_0x3243=function(){return _0x19da2b;};return _0x3243();}import{aiQuickActionsDropdownCreator as _0x5a7ac0}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x5d0eed}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x48a703,BalloonToolbar as _0x2f32bd,MenuBarMenuView as _0x592187,MenuBarMenuListView as _0x382f7d,MenuBarMenuListItemView as _0x357dba,MenuBarMenuListItemButtonView as _0x218a5a}from'ckeditor5/src/ui.js';import{AIModels as _0x2fc1b8}from'../aicore/model/aimodels.js';import{AIConnector as _0x2e1232}from'../aicore/aiconnector.js';import'../../theme/common/aibutton.css';import'../../theme/aiquickactions/aiquickactions.css';function _0x536b(_0x5b5c77,_0xbfe099){const _0x3243fd=_0x3243();return _0x536b=function(_0x536b4e,_0x42452e){_0x536b4e=_0x536b4e-0xa0;let _0x455a47=_0x3243fd[_0x536b4e];return _0x455a47;},_0x536b(_0x5b5c77,_0xbfe099);}const ee=_0xbcb715(0x103),ie=_0xbcb715(0xb6),ne=_0xbcb715(0xf6);export var AIQuickActionType;!function(_0x1f9ed0){const _0x1180c2=_0xbcb715;_0x1f9ed0[_0x1180c2(0x101)]=_0x1180c2(0x101),_0x1f9ed0[_0x1180c2(0xb3)]=_0x1180c2(0xb3),_0x1f9ed0[_0x1180c2(0xdd)]=_0x1180c2(0xdd);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0xb54832){const _0x5052d0=_0xbcb715;_0xb54832[_0x5052d0(0x101)]=_0x5052d0(0xbf),_0xb54832[_0x5052d0(0xb3)]=_0x5052d0(0xd6),_0xb54832[_0x5052d0(0xdd)]=_0x5052d0(0xf8);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x5df337{static get[_0xbcb715(0x128)](){return[_0x2f32bd,_0x2e1232];}static get[_0xbcb715(0xe0)](){const _0x1f4840=_0xbcb715;return _0x1f4840(0x126);}static get[_0xbcb715(0x129)](){return!0x0;}static get[_0xbcb715(0xa4)](){return!0x0;}async[_0xbcb715(0xa1)](){const _0x53983d=_0xbcb715,_0x17b9a5=await this[_0x53983d(0xc7)]();this[_0x53983d(0x10d)](_0x17b9a5),this[_0x53983d(0xe1)]();}static[_0xbcb715(0x10e)](_0x6e5294){return function(_0x156b30){const _0x2c3648=_0x536b,_0x4b1d83=new Intl[(_0x2c3648(0x12b))](['en'],{'type':_0x2c3648(0xa6)})['of'](_0x156b30[_0x2c3648(0xc8)]),_0x281460=_0x4b1d83||_0x2c3648(0xd9),_0x38e733=[{'id':_0x2c3648(0xa3),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xa7)),'type':AIQuickActionType[_0x2c3648(0x101)],'icon':_0x2af880},{'id':_0x2c3648(0x125),'label':_0x31dc0d(_0x156b30,_0x2c3648(0xac)),'icon':_0x2af880,'actions':[{'id':_0x2c3648(0xc4),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xdb)),'prompt':ee[_0x2c3648(0xd5)]('%0',_0x281460),'type':AIQuickActionType[_0x2c3648(0x101)]},{'id':_0x2c3648(0xbe),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x13f)),'prompt':ie[_0x2c3648(0xd5)]('%0',_0x281460),'type':AIQuickActionType[_0x2c3648(0x101)]},{'id':_0x2c3648(0xfc),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xf9)),'prompt':ne[_0x2c3648(0xd5)]('%0',_0x281460),'type':AIQuickActionType[_0x2c3648(0x101)]}]},{'id':_0x2c3648(0xe5),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xe2)),'type':AIQuickActionType[_0x2c3648(0xb3)],'icon':_0x5a9f6e},{'id':_0x2c3648(0x10f),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x122)),'type':AIQuickActionType[_0x2c3648(0xb3)],'icon':_0x4122c8},{'id':_0x2c3648(0xcf),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xb9)),'type':AIQuickActionType[_0x2c3648(0xb3)],'icon':_0x1641b3},{'id':_0x2c3648(0x131),'label':_0x31dc0d(_0x156b30,_0x2c3648(0xc5)),'icon':_0x54ddc1,'actions':[{'id':_0x2c3648(0xcd),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x110)),'type':AIQuickActionType[_0x2c3648(0xb3)]},{'id':_0x2c3648(0xa8),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x130)),'type':AIQuickActionType[_0x2c3648(0xb3)]}]},{'id':_0x2c3648(0x118),'label':_0x31dc0d(_0x156b30,_0x2c3648(0xbc)),'icon':_0x4f6977,'actions':[{'id':_0x2c3648(0xeb),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xb4)),'type':AIQuickActionType[_0x2c3648(0xb3)]},{'id':_0x2c3648(0x113),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x121)),'type':AIQuickActionType[_0x2c3648(0xb3)]},{'id':_0x2c3648(0xd2),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xa2)),'type':AIQuickActionType[_0x2c3648(0xb3)]},{'id':_0x2c3648(0xc2),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xb5)),'type':AIQuickActionType[_0x2c3648(0xb3)]},{'id':_0x2c3648(0x135),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x134)),'type':AIQuickActionType[_0x2c3648(0xb3)]}]},{'id':_0x2c3648(0x11f),'label':_0x31dc0d(_0x156b30,_0x2c3648(0xd4)),'icon':_0x33d87c,'actions':[{'id':_0x2c3648(0xbb),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xd7)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0xcb)}},{'id':_0x2c3648(0x12f),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xf3)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0xc6)}},{'id':_0x2c3648(0x10a),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x13a)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x12a)}},{'id':_0x2c3648(0xc9),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xc3)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x117)}},{'id':_0x2c3648(0x115),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xb8)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x116)}},{'id':_0x2c3648(0xad),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x123)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x10b)}},{'id':_0x2c3648(0xe4),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x133)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0xbd)}},{'id':_0x2c3648(0xb7),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x12e)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x12d)}},{'id':_0x2c3648(0x114),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0xf1)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0x139)}},{'id':_0x2c3648(0x111),'displayedPrompt':_0x31dc0d(_0x156b30,_0x2c3648(0x102)),'type':AIQuickActionType[_0x2c3648(0xb3)],'actionName':_0x2c3648(0x11f),'args':{'language':_0x2c3648(0xda)}}]},{'id':_0x2c3648(0xe6),'label':_0x31dc0d(_0x156b30,_0x2c3648(0xae)),'icon':_0x36119c,'actions':[]}];return _0x38e733;}(_0x6e5294);}async[_0xbcb715(0xc7)](){const _0x304068=_0xbcb715,_0x57c724=AIQuickActionsUI[_0x304068(0x10e)](this[_0x304068(0x108)][_0x304068(0xef)]),_0xad09ca=this[_0x304068(0x108)][_0x304068(0x124)][_0x304068(0xcc)](_0x304068(0x11a))||[];let _0x202070=[];try{_0x202070=await new _0x2fc1b8({'connector':this[_0x304068(0x108)][_0x304068(0xd3)][_0x304068(0xcc)](_0x304068(0xf0)),'locale':this[_0x304068(0x108)][_0x304068(0xef)]})[_0x304068(0x100)]();}catch(_0x528d8e){const _0x275af6=new _0x3660(_0x304068(0xaf),this,{'error':_0x528d8e});_0x4aad12(_0x275af6[_0x304068(0x11c)]);}finally{const _0x37f672=_0xad09ca[_0x304068(0x119)](_0x2df003=>({..._0x2df003,'icon':void 0x0}));_0x57c724[_0x304068(0x106)](_0x4a6c3e=>_0x304068(0xe6)===_0x4a6c3e['id'])[_0x304068(0xa0)][_0x304068(0xd1)](..._0x37f672),_0x57c724[_0x304068(0xba)](_0x327e53=>{const _0x4f55b0=_0x304068;if(_0x4f55b0(0xa0)in _0x327e53)_0x327e53[_0x4f55b0(0xa0)][_0x4f55b0(0xba)](_0x320bf2=>{const _0x290990=_0x4f55b0;if(_0x320bf2[_0x290990(0xee)]=!!_0x202070[_0x290990(0x106)](_0x3ce550=>_0x3ce550['id']===_0x320bf2[_0x290990(0x12c)])||void 0x0===_0x320bf2[_0x290990(0x12c)],!_0x320bf2[_0x290990(0xee)]){const _0x1db870=new _0x3660(_0x290990(0xa9),this,{'actionId':_0x320bf2['id'],'modelId':_0x320bf2[_0x290990(0x12c)]});_0x4aad12(_0x1db870[_0x290990(0x11c)]);}});else{if(_0x327e53[_0x4f55b0(0xee)]=!!_0x202070[_0x4f55b0(0x106)](_0x30f0b4=>_0x30f0b4['id']===_0x327e53[_0x4f55b0(0x12c)])||void 0x0===_0x327e53[_0x4f55b0(0x12c)],!_0x327e53[_0x4f55b0(0xee)]){const _0x55bd7c=new _0x3660(_0x4f55b0(0xa9),this,{'actionId':_0x327e53['id'],'modelId':_0x327e53[_0x4f55b0(0x12c)]});_0x4aad12(_0x55bd7c[_0x4f55b0(0x11c)]);}}});}return _0x57c724;}[_0xbcb715(0xe1)](){const _0x52df13=_0xbcb715,_0x874860=new _0x48a703(this[_0x52df13(0x108)][_0x52df13(0xef)]);_0x874860[_0x52df13(0x120)](),this[_0x52df13(0x132)](_0x874860),this[_0x52df13(0x13d)](),this[_0x52df13(0xb2)](_0x874860);}[_0xbcb715(0x132)](_0x1f8295){const _0x5f03a0=_0xbcb715,_0xbc9e7d=this[_0x5f03a0(0x108)][_0x5f03a0(0x124)][_0x5f03a0(0xcc)](_0x5f03a0(0x13c))??!0x0;this[_0x5f03a0(0x108)]['ui'][_0x5f03a0(0xb0)][_0x5f03a0(0xe7)](_0x5f03a0(0xe8),_0x5a7ac0({'editor':this[_0x5f03a0(0x108)],'content':this[_0x5f03a0(0xf5)],'buttonDefinition':{'icon':_0xcd496d,'label':_0x31dc0d(this[_0x5f03a0(0x108)][_0x5f03a0(0xef)],_0x5f03a0(0xdc))},'bodyCollection':_0x1f8295,'hasSearch':_0xbc9e7d}));}[_0xbcb715(0x10d)](_0x3e722f){const _0x34df97=_0xbcb715;this[_0x34df97(0xf5)]=_0x3e722f[_0x34df97(0x119)](_0x4e2e72=>{const _0x187328=_0x34df97;if(_0x187328(0xa0)in _0x4e2e72){const _0x30b143=_0x4e2e72;return{..._0x30b143,'actions':_0x30b143[_0x187328(0xa0)][_0x187328(0x119)](_0xe5b56f=>{const {actions:_0x5b8077,..._0x2bf284}=_0x30b143;return{..._0xe5b56f,'parent':_0x2bf284};})[_0x187328(0xff)](_0x64e7fe=>this[_0x187328(0xfd)](_0x64e7fe))};}return _0x4e2e72;})[_0x34df97(0xff)](_0x726219=>_0x34df97(0xa0)in _0x726219?_0x726219[_0x34df97(0xa0)][_0x34df97(0x11e)]>0x0:this[_0x34df97(0xfd)](_0x726219));}[_0xbcb715(0xfd)](_0x57e292){const _0x1db925=_0xbcb715,_0x1cdc9f=this[_0x1db925(0x108)][_0x1db925(0x124)][_0x1db925(0xcc)](_0x1db925(0x13e))||[];return this[_0x1db925(0x108)][_0x1db925(0xd3)][_0x1db925(0x13b)](AIQuickActionTypeToPluginName[_0x57e292[_0x1db925(0x104)]])&&!_0x1cdc9f[_0x1db925(0x107)](_0x57e292['id'])&&!(_0x57e292[_0x1db925(0x104)]===AIQuickActionType[_0x1db925(0x101)]&&!0x1===this[_0x1db925(0x108)][_0x1db925(0x124)][_0x1db925(0xcc)](_0x1db925(0xc1)));}[_0xbcb715(0xb2)](_0x389fb9){const _0x13c96e=_0xbcb715;this[_0x13c96e(0xf5)][_0x13c96e(0xba)](_0x4a68e5=>{const _0x32c94e=_0x13c96e;if(_0x32c94e(0xa0)in _0x4a68e5){const _0x517ab8=_0x5a7ac0({'editor':this[_0x32c94e(0x108)],'content':_0x4a68e5[_0x32c94e(0xa0)],'buttonDefinition':_0x4a68e5,'bodyCollection':_0x389fb9});this[_0x32c94e(0x108)]['ui'][_0x32c94e(0xb0)][_0x32c94e(0xe7)](_0x4a68e5['id'],_0x517ab8),_0x4a68e5[_0x32c94e(0xa0)][_0x32c94e(0xba)](_0x5aa6bf=>{const _0x7f27be=_0x32c94e,_0x6f9c03=_0x5d0eed({'editor':this[_0x7f27be(0x108)],'action':_0x5aa6bf});this[_0x7f27be(0x108)]['ui'][_0x7f27be(0xb0)][_0x7f27be(0xe7)](_0x5aa6bf['id'],_0x6f9c03);});}else{const _0x1f3c12=_0x5d0eed({'editor':this[_0x32c94e(0x108)],'action':_0x4a68e5,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x32c94e(0x108)]['ui'][_0x32c94e(0xb0)][_0x32c94e(0xe7)](_0x4a68e5['id'],_0x1f3c12);}});}[_0xbcb715(0x13d)](){const _0x59d370=_0xbcb715;this[_0x59d370(0x108)]['ui'][_0x59d370(0xb0)][_0x59d370(0xe7)](_0x59d370(0xb1),_0x5d6310=>{const _0x3375f2=_0x59d370,_0x2623fd=new _0x592187(_0x5d6310),_0x59c579=_0x31dc0d(_0x5d6310,_0x3375f2(0xdc));_0x2623fd[_0x3375f2(0xde)][_0x3375f2(0xf2)]({'label':_0x59c579,'icon':_0xcd496d});const _0x3f8344=new _0x382f7d(_0x5d6310);_0x3f8344[_0x3375f2(0xf2)]({'ariaLabel':_0x59c579,'role':_0x3375f2(0xaa)}),this[_0x3375f2(0xf5)][_0x3375f2(0xba)](_0x10420a=>{const _0x575da3=_0x3375f2;if(_0x575da3(0xa0)in _0x10420a){const _0x2944b9=_0x10420a,_0x14ae40=new _0x357dba(_0x5d6310,_0x2623fd),_0x242fea=new _0x592187(_0x5d6310),_0x323eeb=new _0x382f7d(_0x5d6310);_0x242fea[_0x575da3(0xde)][_0x575da3(0xf2)]({'label':_0x2944b9[_0x575da3(0xed)],'icon':_0x2944b9[_0x575da3(0x10c)]}),_0x2944b9[_0x575da3(0xa0)][_0x575da3(0xba)](_0x2f754a=>{const _0x11e071=_0x575da3,_0x504fa3=new _0x357dba(_0x5d6310,_0x242fea),_0x484c46=new _0x218a5a(_0x5d6310);_0x484c46[_0x11e071(0xf2)]({'label':_0x2f754a[_0x11e071(0xd8)],'icon':_0x2f754a[_0x11e071(0x10c)],'role':_0x11e071(0x136),'isEnabled':_0x2f754a[_0x11e071(0xee)]}),_0x484c46['on'](_0x11e071(0xf7),()=>{const _0x2fb78d=_0x11e071;this[_0x2fb78d(0x137)](_0x2f754a);}),_0x484c46[_0x11e071(0xce)](_0x11e071(0xf7))['to'](_0x242fea),_0x504fa3[_0x11e071(0xe9)][_0x11e071(0xe7)](_0x484c46),_0x323eeb[_0x11e071(0x127)][_0x11e071(0xe7)](_0x504fa3);}),_0x242fea[_0x575da3(0x138)][_0x575da3(0xe9)][_0x575da3(0xe7)](_0x323eeb),_0x14ae40[_0x575da3(0xe9)][_0x575da3(0xe7)](_0x242fea),_0x3f8344[_0x575da3(0x127)][_0x575da3(0xe7)](_0x14ae40);}else{const _0x248824=_0x10420a,_0x3fad12=new _0x357dba(_0x5d6310,_0x2623fd),_0x3d03ea=new _0x218a5a(_0x5d6310);_0x3d03ea[_0x575da3(0xf2)]({'label':_0x248824[_0x575da3(0xd8)],'icon':_0x248824[_0x575da3(0x10c)],'role':_0x575da3(0x136),'isEnabled':_0x248824[_0x575da3(0xee)]}),_0x3d03ea['on'](_0x575da3(0xf7),()=>{const _0x5a0a55=_0x575da3;this[_0x5a0a55(0x137)](_0x248824);}),_0x3d03ea[_0x575da3(0xce)](_0x575da3(0xf7))['to'](_0x2623fd),_0x3fad12[_0x575da3(0xe9)][_0x575da3(0xe7)](_0x3d03ea),_0x3f8344[_0x575da3(0x127)][_0x575da3(0xe7)](_0x3fad12);}});const _0x59cb50=Object[_0x3375f2(0xec)](AIQuickActionTypeToPluginName)[_0x3375f2(0x11b)](_0x50fd6b=>this[_0x3375f2(0x108)][_0x3375f2(0xd3)][_0x3375f2(0x13b)](_0x50fd6b));return _0x2623fd[_0x3375f2(0xf2)]({'isEnabled':_0x59cb50}),_0x2623fd[_0x3375f2(0x138)][_0x3375f2(0xe9)][_0x3375f2(0xe7)](_0x3f8344),_0x2623fd;});}[_0xbcb715(0x137)](_0x1d1ee6){const _0x2d58d1=_0xbcb715,_0x1dd3fd=this[_0x2d58d1(0x108)];_0x1dd3fd[_0x2d58d1(0xc0)][_0x2d58d1(0x112)][_0x2d58d1(0xca)](),_0x1dd3fd[_0x2d58d1(0xab)][_0x2d58d1(0xf7)](_0x2d58d1(0x109),_0x1d1ee6);const _0x25fbf5=_0x1dd3fd['ui'][_0x2d58d1(0x112)][_0x2d58d1(0xf4)];_0x25fbf5&&_0x25fbf5[_0x2d58d1(0x11d)]&&_0x25fbf5[_0x2d58d1(0x11d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1a3824,_0x4e54bd){const _0x571824=_0x5216,_0x2493cc=_0x1a3824();while(!![]){try{const _0x1c337e=-parseInt(_0x571824(0x134))/0x1*(-parseInt(_0x571824(0x144))/0x2)+parseInt(_0x571824(0x149))/0x3*(parseInt(_0x571824(0x14d))/0x4)+-parseInt(_0x571824(0x139))/0x5*(parseInt(_0x571824(0x148))/0x6)+parseInt(_0x571824(0x140))/0x7+parseInt(_0x571824(0x147))/0x8+-parseInt(_0x571824(0x13a))/0x9*(-parseInt(_0x571824(0x138))/0xa)+-parseInt(_0x571824(0x14b))/0xb*(parseInt(_0x571824(0x14a))/0xc);if(_0x1c337e===_0x4e54bd)break;else _0x2493cc['push'](_0x2493cc['shift']());}catch(_0xfe0071){_0x2493cc['push'](_0x2493cc['shift']());}}}(_0x4a21,0xae932));function _0x5216(_0x346b99,_0x1df2b4){const _0x4a215d=_0x4a21();return _0x5216=function(_0x521655,_0x77622c){_0x521655=_0x521655-0x134;let _0x473dce=_0x4a215d[_0x521655];return _0x473dce;},_0x5216(_0x346b99,_0x1df2b4);}import{ButtonView as _0x1b60ca}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x47f0c6}from'@ckeditor/ckeditor5-icons';function _0x4a21(){const _0x210c01=['focus','14146YNrzgj','icon','extendTemplate','view','3317130CqghzH','4850RPNagg','36uMFKhz','parent','bindTemplate','commands','ck-ai-quick-actions-button','execute','1379336ADXiNU','aiQuickAction','displayedPrompt','isEnabled','8SXPexG','locale','editing','1865896rlcYAN','354pBtvtp','59013rMfUQZ','15504asQxZI','17743qXXagw','menuitem','212RGQECs','set'];_0x4a21=function(){return _0x210c01;};return _0x4a21();}export function aiQuickActionsButtonCreator(_0xb808c2){const {editor:_0xa41a0,action:_0x253edf,withText:_0x29f843=!0x1,withIcon:_0x4958ec=!0x0,isInDropdown:_0x253a9d=!0x0,shouldPreventFocus:_0x4ef819=!0x1}=_0xb808c2;return()=>{const _0x4ccd97=_0x5216,_0x176ff2=_0xa41a0[_0x4ccd97(0x145)],_0x508464=new _0x1b60ca(_0x176ff2),_0x4b0c24=_0x508464[_0x4ccd97(0x13c)];_0x253a9d&&_0x508464[_0x4ccd97(0x136)]({'on':{'mouseenter':_0x4b0c24['to'](()=>{const _0x6a2a25=_0x4ccd97;_0x4ef819&&_0x4ef819()||_0x508464[_0x6a2a25(0x14f)]();})}});const _0x35f806=_0x253edf[_0x4ccd97(0x135)]??_0x253edf[_0x4ccd97(0x13b)]?.[_0x4ccd97(0x135)];return _0x508464[_0x4ccd97(0x14e)]({'label':_0x253edf[_0x4ccd97(0x142)],'withText':_0x29f843,'role':_0x4ccd97(0x14c),'icon':_0x4958ec?_0x35f806??_0x47f0c6:void 0x0,'tooltip':!_0x29f843,'class':_0x4ccd97(0x13e),'isEnabled':_0x253edf[_0x4ccd97(0x143)]}),_0x508464['on'](_0x4ccd97(0x13f),()=>{const _0x4d14cd=_0x4ccd97;_0xa41a0[_0x4d14cd(0x146)][_0x4d14cd(0x137)][_0x4d14cd(0x14f)](),_0xa41a0[_0x4d14cd(0x13d)][_0x4d14cd(0x13f)](_0x4d14cd(0x141),_0x253edf);}),_0x508464;};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x455e50=_0x970f;function _0x970f(_0x2c8b8e,_0x16d22e){const _0x4612f1=_0x4612();return _0x970f=function(_0x970fc4,_0x4418e4){_0x970fc4=_0x970fc4-0x167;let _0x187e75=_0x4612f1[_0x970fc4];return _0x187e75;},_0x970f(_0x2c8b8e,_0x16d22e);}(function(_0xad0278,_0x55dd78){const _0x4e5067=_0x970f,_0x547ad7=_0xad0278();while(!![]){try{const _0x46f30c=parseInt(_0x4e5067(0x181))/0x1*(parseInt(_0x4e5067(0x1d3))/0x2)+-parseInt(_0x4e5067(0x167))/0x3*(-parseInt(_0x4e5067(0x1ef))/0x4)+-parseInt(_0x4e5067(0x16d))/0x5*(-parseInt(_0x4e5067(0x17f))/0x6)+-parseInt(_0x4e5067(0x1dc))/0x7*(-parseInt(_0x4e5067(0x170))/0x8)+-parseInt(_0x4e5067(0x1b1))/0x9*(parseInt(_0x4e5067(0x17a))/0xa)+parseInt(_0x4e5067(0x19e))/0xb+-parseInt(_0x4e5067(0x1cc))/0xc;if(_0x46f30c===_0x55dd78)break;else _0x547ad7['push'](_0x547ad7['shift']());}catch(_0x52efcc){_0x547ad7['push'](_0x547ad7['shift']());}}}(_0x4612,0x99ae5));import{View as _0x3bf479,ListItemView as _0x213cdd,ListView as _0x20a349,BalloonPanelView as _0x2ace01,DropdownMenuPanelPositioningFunctions as _0x5273af,ViewCollection as _0x90e47c,FocusCycler as _0x1f3929,ButtonView as _0x26a70e,IconView as _0x2654fb,HighlightedTextView as _0xd0372d,ButtonLabelWithHighlightView as _0x517bc1,SearchTextView as _0x56cf07}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x261559}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x4d8213,KeystrokeHandler as _0x1c6edf}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x46a604}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x344102}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x2e7cc5}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x157fbf}from'./aiquickactionsfilteredlistview.js';const Qs=_0x455e50(0x1ee),Gs=_0x455e50(0x16f);export class AIQuickActionsDropdownContentView extends _0x3bf479{[_0x455e50(0x1a6)];[_0x455e50(0x1e9)];[_0x455e50(0x1d9)]=null;[_0x455e50(0x1de)]=[];[_0x455e50(0x1e7)];[_0x455e50(0x1b3)];[_0x455e50(0x1c9)];[_0x455e50(0x1cd)];[_0x455e50(0x193)];[_0x455e50(0x1ba)]=new Set();[_0x455e50(0x18d)];constructor(_0xb51686,_0x4eecee,_0x35592e,_0x4eca7b,_0x503c7d=!0x1){const _0x3d9a45=_0x455e50,_0x364f81=_0xb51686[_0x3d9a45(0x173)];super(_0x364f81),this[_0x3d9a45(0x1a6)]=_0x4eca7b,this[_0x3d9a45(0x18d)]=_0x503c7d;const _0x1d69b2=this[_0x3d9a45(0x1a8)](_0xb51686,_0x4eecee,_0x35592e);this[_0x3d9a45(0x1e9)]=new _0x157fbf(_0x364f81,_0x1d69b2,this[_0x3d9a45(0x1de)]),this[_0x3d9a45(0x1e9)][_0x3d9a45(0x1e3)]=Qs,this[_0x3d9a45(0x1e9)][_0x3d9a45(0x172)][_0x3d9a45(0x1b4)](_0x1d69b2),this[_0x3d9a45(0x1b3)]=new _0x4d8213(),this[_0x3d9a45(0x1c9)]=new _0x1c6edf(),_0x503c7d&&(this[_0x3d9a45(0x1d9)]=this[_0x3d9a45(0x17d)]()),this[_0x3d9a45(0x1cd)]=_0x1d69b2,this[_0x3d9a45(0x193)]=new _0x1f3929({'focusables':this[_0x3d9a45(0x1cd)],'focusTracker':this[_0x3d9a45(0x1b3)],'keystrokeHandler':this[_0x3d9a45(0x1c9)]}),_0x503c7d&&this[_0x3d9a45(0x1d9)]&&this[_0x3d9a45(0x193)][_0x3d9a45(0x1ed)](this[_0x3d9a45(0x1d9)][_0x3d9a45(0x193)]);const _0x51cef8=_0x503c7d&&this[_0x3d9a45(0x1d9)]?[this[_0x3d9a45(0x1d9)]]:[this[_0x3d9a45(0x1e9)]];this[_0x3d9a45(0x1e7)]=new _0x90e47c(_0x51cef8),this[_0x3d9a45(0x185)]({'tag':_0x3d9a45(0x1aa),'attributes':{'class':['ck',_0x3d9a45(0x18e),_0x3d9a45(0x1e0),_0x3d9a45(0x1df)],'dir':_0x364f81[_0x3d9a45(0x196)]},'children':this[_0x3d9a45(0x1e7)]});}[_0x455e50(0x17d)](){const _0x47425d=_0x455e50;return new _0x56cf07(this[_0x47425d(0x173)],{'filteredView':this[_0x47425d(0x1e9)],'queryView':{'label':_0x2e7cc5(this[_0x47425d(0x173)],_0x47425d(0x171))},'class':_0x47425d(0x1bf),'infoView':{'text':{'notFound':{'primary':_0x2e7cc5(this[_0x47425d(0x173)],_0x47425d(0x187))}}}});}[_0x455e50(0x194)](){const _0x563f98=_0x455e50;if(!this[_0x563f98(0x18d)]||!this[_0x563f98(0x1d9)]||!this[_0x563f98(0x1d9)][_0x563f98(0x1ec)][_0x563f98(0x1f0)][_0x563f98(0x1c8)])return!0x1;const _0x36c0ba=this[_0x563f98(0x1d9)][_0x563f98(0x1ec)][_0x563f98(0x1f0)][_0x563f98(0x1c8)][_0x563f98(0x190)]?.[_0x563f98(0x1d8)];return this[_0x563f98(0x1d9)][_0x563f98(0x1ec)][_0x563f98(0x1f0)][_0x563f98(0x1c8)][_0x563f98(0x1b5)](_0x36c0ba);}[_0x455e50(0x1a8)](_0x53e578,_0x16edd2,_0x4e3c02){const _0x2c6c34=_0x455e50,_0x13a4db=new _0x90e47c();return _0x16edd2[_0x2c6c34(0x1b7)](_0x4ea4b7=>{const _0x556ad4=_0x2c6c34;if(_0x556ad4(0x1bd)in _0x4ea4b7){const {listItem:_0x589190}=this[_0x556ad4(0x1af)](_0x53e578,_0x4ea4b7,_0x4e3c02);_0x13a4db[_0x556ad4(0x1e1)](_0x589190),_0x4ea4b7[_0x556ad4(0x1bd)][_0x556ad4(0x1b7)](_0x1b5146=>{const _0x1baa60=_0x556ad4;this[_0x1baa60(0x1ea)](_0x53e578,_0x1b5146,_0x4ea4b7[_0x1baa60(0x19b)],_0x4ea4b7[_0x1baa60(0x186)]);const {listItem:_0x16849d,highlightViews:_0x2db7e6}=this[_0x1baa60(0x1c5)](_0x53e578,_0x1b5146,_0x4ea4b7[_0x1baa60(0x19b)],_0x4ea4b7[_0x1baa60(0x186)]);this[_0x1baa60(0x1de)][_0x1baa60(0x1ac)]({'item':_0x16849d,'label':_0x1b5146[_0x1baa60(0x1c1)],'groupLabel':_0x4ea4b7[_0x1baa60(0x19b)],'highlightViews':_0x2db7e6});});}else{const {listItem:_0x3e4515}=this[_0x556ad4(0x1ea)](_0x53e578,_0x4ea4b7);_0x13a4db[_0x556ad4(0x1e1)](_0x3e4515);const _0x108986=_0x3e4515[_0x556ad4(0x1e7)][_0x556ad4(0x1e6)];if(_0x108986){const {listItem:_0x595306,highlightViews:_0x216a1a}=this[_0x556ad4(0x1c5)](_0x53e578,_0x4ea4b7);this[_0x556ad4(0x1de)][_0x556ad4(0x1ac)]({'item':_0x595306,'label':_0x108986[_0x556ad4(0x19b)]||'','highlightViews':_0x216a1a});}}}),_0x13a4db;}[_0x455e50(0x1ea)](_0x244f1b,_0x34e9ac,_0x1f5e3c,_0x1063d2){const _0x193600=_0x455e50,_0x2b8c25=new _0x213cdd(this[_0x193600(0x173)]);if(_0x1f5e3c&&_0x1063d2){const _0x10caa3=new _0x26a70e(this[_0x193600(0x173)]),_0x1379a3=_0x10caa3[_0x193600(0x1a7)],_0x2ab144=new _0xd0372d();_0x2ab144[_0x193600(0x1c7)]=_0x34e9ac[_0x193600(0x1c1)];const _0x4d87fe=new _0xd0372d();_0x4d87fe[_0x193600(0x1c7)]=_0x1f5e3c;const _0x210f02=new _0x2654fb();_0x210f02[_0x193600(0x1eb)]=_0x1063d2,_0x210f02[_0x193600(0x1a1)]({'attributes':{'class':_0x193600(0x1d2)}});const _0x333e46=new _0x3bf479(this[_0x193600(0x173)]);_0x333e46[_0x193600(0x185)]({'tag':_0x193600(0x1cf),'attributes':{'class':_0x193600(0x1e4)},'children':[{'text':'\x20('}]});const _0x4af17f=new _0x3bf479(this[_0x193600(0x173)]);return _0x4af17f[_0x193600(0x185)]({'tag':_0x193600(0x1cf),'attributes':{'class':_0x193600(0x1b2)},'children':[{'text':')'}]}),_0x10caa3[_0x193600(0x16a)]({'label':_0x34e9ac[_0x193600(0x1c1)]+'\x20('+_0x1f5e3c+')','withText':!0x0,'role':_0x193600(0x16f),'class':_0x193600(0x1cb),'tooltip':!0x1}),_0x10caa3[_0x193600(0x185)]({'tag':_0x193600(0x1c0),'attributes':{'class':['ck',_0x193600(0x18b),_0x193600(0x168),_0x193600(0x1d5),_0x193600(0x191)],'type':_0x193600(0x1c0),'role':_0x193600(0x16f),'tabindex':'-1'},'children':[_0x2ab144,_0x333e46,_0x210f02,_0x4d87fe,_0x4af17f],'on':{'mouseenter':_0x1379a3['to'](()=>{const _0x101c97=_0x193600;this[_0x101c97(0x194)]()||_0x10caa3[_0x101c97(0x197)]();}),'click':_0x1379a3['to'](()=>{const _0x2b9be8=_0x193600;_0x10caa3[_0x2b9be8(0x16c)](_0x2b9be8(0x1d6));})}}),_0x10caa3['on'](_0x193600(0x1d6),()=>{const _0x560ad9=_0x193600;_0x244f1b[_0x560ad9(0x175)][_0x560ad9(0x1c3)][_0x560ad9(0x197)](),_0x244f1b[_0x560ad9(0x188)][_0x560ad9(0x1d6)](_0x560ad9(0x19a),_0x34e9ac);}),_0x2b8c25[_0x193600(0x1e7)][_0x193600(0x1e1)](_0x10caa3),{'listItem':_0x2b8c25,'highlightViews':[_0x2ab144,_0x4d87fe]};}{const _0x184eb1=new _0x517bc1(),_0x3996eb=new _0x26a70e(this[_0x193600(0x173)],_0x184eb1),_0x22f16e=_0x3996eb[_0x193600(0x1a7)],_0x138207=_0x34e9ac[_0x193600(0x186)]??_0x34e9ac[_0x193600(0x1a4)]?.[_0x193600(0x186)],_0x5bc086=void 0x0!==_0x34e9ac[_0x193600(0x186)];return _0x3996eb[_0x193600(0x16a)]({'label':_0x34e9ac[_0x193600(0x1c1)],'withText':!0x0,'role':_0x193600(0x16f),'icon':_0x5bc086?_0x138207??_0x261559:void 0x0,'tooltip':!0x1,'class':_0x193600(0x1d5)}),_0x3996eb[_0x193600(0x1a1)]({'on':{'mouseenter':_0x22f16e['to'](()=>{const _0x46dea7=_0x193600;this[_0x46dea7(0x194)]()||_0x3996eb[_0x46dea7(0x197)]();})}}),_0x3996eb['on'](_0x193600(0x1d6),()=>{const _0x568792=_0x193600;_0x244f1b[_0x568792(0x175)][_0x568792(0x1c3)][_0x568792(0x197)](),_0x244f1b[_0x568792(0x188)][_0x568792(0x1d6)](_0x568792(0x19a),_0x34e9ac);}),_0x2b8c25[_0x193600(0x1e7)][_0x193600(0x1e1)](_0x3996eb),{'listItem':_0x2b8c25,'highlightViews':[_0x184eb1]};}}[_0x455e50(0x1c5)](_0x4791a5,_0x4772e2,_0x964308,_0x464dbc){const _0x552449=_0x455e50;return _0x964308&&_0x464dbc?this[_0x552449(0x178)](_0x4791a5,_0x4772e2,_0x964308,_0x464dbc):this[_0x552449(0x1d1)](_0x4791a5,_0x4772e2);}[_0x455e50(0x178)](_0x490448,_0x28b38f,_0x508b1c,_0x5b704c){const _0x1e930f=_0x455e50,_0x3d2e52=new _0x213cdd(this[_0x1e930f(0x173)]),_0x580e81=new _0x26a70e(this[_0x1e930f(0x173)]),_0x50f4e6=_0x580e81[_0x1e930f(0x1a7)],{view:_0x57aef7,highlightView:_0x1da581}=this[_0x1e930f(0x1e2)](_0x508b1c,_0x5b704c),{view:_0x20ddf3,highlightView:_0x40eb0f}=this[_0x1e930f(0x1db)](_0x28b38f[_0x1e930f(0x1c1)]),_0x352993=this[_0x1e930f(0x17b)](_0x57aef7,_0x20ddf3);return _0x580e81[_0x1e930f(0x16a)]({'label':_0x28b38f[_0x1e930f(0x1c1)],'withText':!0x0,'role':_0x1e930f(0x16f),'class':_0x1e930f(0x192),'tooltip':!0x1}),_0x580e81[_0x1e930f(0x185)]({'tag':_0x1e930f(0x1c0),'attributes':{'class':['ck',_0x1e930f(0x18b),_0x1e930f(0x168),_0x1e930f(0x1d5),_0x1e930f(0x195),_0x1e930f(0x1be)],'type':_0x1e930f(0x1c0),'role':_0x1e930f(0x16f),'tabindex':'-1'},'children':[_0x352993],'on':{'mouseenter':_0x50f4e6['to'](()=>{const _0x46f77e=_0x1e930f;this[_0x46f77e(0x194)]()||_0x580e81[_0x46f77e(0x197)]();}),'click':_0x50f4e6['to'](()=>{const _0x2d549c=_0x1e930f;this[_0x2d549c(0x177)](_0x580e81);})}}),this[_0x1e930f(0x1b9)](_0x580e81,_0x490448,_0x28b38f),_0x3d2e52[_0x1e930f(0x1e7)][_0x1e930f(0x1e1)](_0x580e81),{'listItem':_0x3d2e52,'highlightViews':[_0x1da581,_0x40eb0f]};}[_0x455e50(0x1d1)](_0x181ea2,_0x19b1a1){const _0xd70ada=_0x455e50,_0x198cd6=new _0x213cdd(this[_0xd70ada(0x173)]),_0xe66069=new _0x517bc1(),_0x259798=new _0x26a70e(this[_0xd70ada(0x173)],_0xe66069),_0x3160e0=_0x259798[_0xd70ada(0x1a7)];return _0x259798[_0xd70ada(0x16a)]({'label':_0x19b1a1[_0xd70ada(0x1c1)],'withText':!0x0,'role':_0xd70ada(0x16f),'icon':void 0x0,'tooltip':!0x1,'class':_0xd70ada(0x18f)}),_0x259798[_0xd70ada(0x1a1)]({'on':{'mouseenter':_0x3160e0['to'](()=>{const _0x2e661b=_0xd70ada;this[_0x2e661b(0x194)]()||_0x259798[_0x2e661b(0x197)]();})}}),this[_0xd70ada(0x1b9)](_0x259798,_0x181ea2,_0x19b1a1),_0x198cd6[_0xd70ada(0x1e7)][_0xd70ada(0x1e1)](_0x259798),{'listItem':_0x198cd6,'highlightViews':[_0xe66069]};}[_0x455e50(0x1e2)](_0x45936b,_0xcd90bb){const _0xbc5e68=_0x455e50,_0x5e8fb1=new _0x3bf479(this[_0xbc5e68(0x173)]),_0x34581e=new _0x2654fb();_0x34581e[_0xbc5e68(0x1eb)]=_0xcd90bb,_0x34581e[_0xbc5e68(0x1a1)]({'attributes':{'class':_0xbc5e68(0x1d2)}});const _0x373570=new _0xd0372d();return _0x373570[_0xbc5e68(0x1c7)]=_0x45936b,_0x5e8fb1[_0xbc5e68(0x185)]({'tag':_0xbc5e68(0x1aa),'attributes':{'class':_0xbc5e68(0x1e8)},'children':[_0x34581e,_0x373570]}),{'view':_0x5e8fb1,'highlightView':_0x373570};}[_0x455e50(0x1db)](_0x5dfc57){const _0x1ca77f=_0x455e50,_0x5e7a8f=new _0x3bf479(this[_0x1ca77f(0x173)]),_0x53147a=new _0xd0372d();return _0x53147a[_0x1ca77f(0x1c7)]=_0x5dfc57,_0x5e7a8f[_0x1ca77f(0x185)]({'tag':_0x1ca77f(0x1aa),'attributes':{'class':_0x1ca77f(0x1a9)},'children':[_0x53147a]}),{'view':_0x5e7a8f,'highlightView':_0x53147a};}[_0x455e50(0x17b)](_0x4822dd,_0x2e62d3){const _0x5dddc8=_0x455e50,_0x18f100=new _0x3bf479(this[_0x5dddc8(0x173)]);return _0x18f100[_0x5dddc8(0x185)]({'tag':_0x5dddc8(0x1aa),'attributes':{'class':_0x5dddc8(0x1ae)},'children':[_0x4822dd,_0x2e62d3]}),_0x18f100;}[_0x455e50(0x1b9)](_0x12eb55,_0x51c35b,_0x199f8e){const _0x12be73=_0x455e50;_0x12eb55['on'](_0x12be73(0x1d6),()=>{const _0x3c3a95=_0x12be73;_0x51c35b[_0x3c3a95(0x175)][_0x3c3a95(0x1c3)][_0x3c3a95(0x197)](),_0x51c35b[_0x3c3a95(0x188)][_0x3c3a95(0x1d6)](_0x3c3a95(0x19a),_0x199f8e);});}[_0x455e50(0x1af)](_0x7f9a88,_0x456535,_0x4d6b48){const _0x5d673b=_0x455e50,_0x2799f7=new _0x213cdd(this[_0x5d673b(0x173)]),_0x33d57b=new _0x517bc1(),_0x488233=new _0x344102(this[_0x5d673b(0x173)],_0x33d57b),_0x3bf6c9=_0x488233[_0x5d673b(0x1a7)],_0x4eed81=this[_0x5d673b(0x1c4)](_0x4d6b48),_0x51b8a4=this[_0x5d673b(0x17e)](_0x7f9a88,_0x456535[_0x5d673b(0x1bd)],_0x4d6b48);_0x488233[_0x5d673b(0x16a)]({'label':_0x456535[_0x5d673b(0x19b)],'withText':!0x0,'role':Gs,'icon':_0x456535[_0x5d673b(0x186)]??_0x261559,'isEnabled':_0x456535[_0x5d673b(0x1bd)][_0x5d673b(0x16e)](_0x354112=>_0x354112[_0x5d673b(0x1d4)])}),_0x488233[_0x5d673b(0x1a1)]({'on':{'mouseenter':_0x3bf6c9['to'](()=>{const _0x26f9d5=_0x5d673b;this[_0x26f9d5(0x194)]()||_0x488233[_0x26f9d5(0x197)]();})}});const _0x329558=new _0x2ace01(this[_0x5d673b(0x173)]);return _0x329558[_0x5d673b(0x1a1)]({'attributes':{'class':['ck',_0x5d673b(0x18e),_0x5d673b(0x1a0),_0x5d673b(0x1da)]},'on':{'keydown':_0x3bf6c9['to'](_0x52ac8c=>{const _0x268119=_0x5d673b;this[_0x268119(0x199)](_0x52ac8c,_0x4eed81,_0x488233,_0x329558);})}}),_0x488233[_0x5d673b(0x183)](_0x5d673b(0x19d))['to'](_0x329558,_0x5d673b(0x1ab)),this[_0x5d673b(0x1a6)][_0x5d673b(0x1e1)](_0x329558),_0x329558[_0x5d673b(0x1eb)][_0x5d673b(0x1e1)](_0x51b8a4),this[_0x5d673b(0x1a3)](_0x488233,_0x329558),_0x2799f7[_0x5d673b(0x1e7)][_0x5d673b(0x1e1)](_0x488233),{'listItem':_0x2799f7,'highlightView':_0x33d57b};}[_0x455e50(0x17e)](_0x3518b2,_0x38122b,_0x40a4b3){const _0x13b0f7=_0x455e50,_0x3b1a2b=new _0x20a349(this[_0x13b0f7(0x173)]);return _0x3b1a2b[_0x13b0f7(0x1a1)]({'attributes':{'class':['ck',_0x13b0f7(0x18e),_0x13b0f7(0x180),_0x13b0f7(0x1ca)]}}),_0x38122b[_0x13b0f7(0x1b7)](_0x5c89c0=>{const _0x39f390=_0x13b0f7,_0x32750a=new _0x213cdd(this[_0x39f390(0x173)]),_0x7e007=_0x46a604({'editor':_0x3518b2,'action':_0x5c89c0,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x39f390(0x194)]()})();_0x32750a[_0x39f390(0x1e7)][_0x39f390(0x1e1)](_0x7e007),_0x40a4b3[_0x39f390(0x1b3)][_0x39f390(0x1e1)](_0x7e007),_0x3b1a2b[_0x39f390(0x172)][_0x39f390(0x1e1)](_0x32750a);}),_0x3b1a2b;}[_0x455e50(0x1a3)](_0xf1296,_0x2b655c){const _0xf196fd=_0x455e50,_0x106236=_0xf1296[_0xf196fd(0x1a7)],_0x5e3727=this[_0xf196fd(0x169)](_0xf1296);_0xf1296[_0xf196fd(0x1a1)]({'attributes':{'class':[_0xf196fd(0x17c)]},'on':{'mouseenter':_0x106236['to'](()=>{const _0x1c2a67=_0xf196fd;this[_0x1c2a67(0x18a)](_0x2b655c,_0xf1296);}),'mouseleave':_0x106236['to'](_0x4434c3=>{const _0x32a09a=_0xf196fd,_0x382072=_0x4434c3[_0x32a09a(0x1dd)];this[_0x32a09a(0x1b8)](_0x382072,_0x2b655c)||this[_0x32a09a(0x18c)](_0x2b655c);}),'keydown':_0x106236['to'](_0x372fbf=>{const _0x3f87ca=_0xf196fd;_0x372fbf[_0x3f87ca(0x1b6)]==_0x5e3727&&(this[_0x3f87ca(0x18a)](_0x2b655c,_0xf1296),_0x2b655c[_0x3f87ca(0x1eb)][_0x3f87ca(0x184)](0x0)[_0x3f87ca(0x197)]());})}}),_0x2b655c['on'](_0xf196fd(0x16b),()=>{const _0x3b6630=_0xf196fd;_0x2b655c[_0x3b6630(0x1c8)]?.[_0x3b6630(0x179)](_0x3b6630(0x176),_0x5115b9=>{const _0x4d20a5=_0x3b6630,_0x186a32=_0x5115b9[_0x4d20a5(0x1dd)];_0xf1296[_0x4d20a5(0x1c8)]?.[_0x4d20a5(0x1b5)](_0x186a32)||this[_0x4d20a5(0x1b8)](_0x186a32,_0x2b655c)||this[_0x4d20a5(0x18c)](_0x2b655c);});});}[_0x455e50(0x18a)](_0x2b91db,_0x2a5eb8){const _0x4f9f06=_0x455e50;this[_0x4f9f06(0x1ba)][_0x4f9f06(0x1b7)](_0x228728=>{const _0x276e68=_0x4f9f06;_0x228728!==_0x2b91db&&_0x228728[_0x276e68(0x1ab)]&&_0x228728[_0x276e68(0x19c)]();}),_0x2b91db[_0x4f9f06(0x1ce)](),_0x2b91db[_0x4f9f06(0x1c6)]({'positions':[_0x5273af[_0x4f9f06(0x1a5)]],'target':_0x2a5eb8[_0x4f9f06(0x1c8)],'fitInViewport':!0x0}),this[_0x4f9f06(0x1ba)][_0x4f9f06(0x1e1)](_0x2b91db);}[_0x455e50(0x18c)](_0x4f7ec3){const _0x333368=_0x455e50;_0x4f7ec3[_0x333368(0x19c)](),this[_0x333368(0x1ba)][_0x333368(0x174)](_0x4f7ec3);}[_0x455e50(0x1d7)](){const _0x54862b=_0x455e50;this[_0x54862b(0x1ba)][_0x54862b(0x1b7)](_0x14f396=>_0x14f396[_0x54862b(0x19c)]()),this[_0x54862b(0x1ba)][_0x54862b(0x19f)]();}[_0x455e50(0x1b8)](_0x10f72b,_0x119679){const _0x59411f=_0x455e50;if(!_0x10f72b)return!0x1;if(_0x119679[_0x59411f(0x1c8)]?.[_0x59411f(0x1b5)](_0x10f72b))return!0x0;const _0x3652e4=_0x10f72b;return _0x3652e4[_0x59411f(0x1c2)]&&(null!==_0x3652e4[_0x59411f(0x1c2)](_0x59411f(0x1ad))||null!==_0x3652e4[_0x59411f(0x1c2)](_0x59411f(0x182))||null!==_0x3652e4[_0x59411f(0x1c2)](_0x59411f(0x1a2)));}[_0x455e50(0x1d0)](){const _0x142e3a=_0x455e50;this[_0x142e3a(0x1d9)]&&this[_0x142e3a(0x1d9)][_0x142e3a(0x198)]();}[_0x455e50(0x1bc)](){const _0xa9836e=_0x455e50;this[_0xa9836e(0x1d7)](),this[_0xa9836e(0x1a6)][_0xa9836e(0x1e5)](),super[_0xa9836e(0x1bc)]();}[_0x455e50(0x197)](){const _0x186a8e=_0x455e50;this[_0x186a8e(0x1d9)]?this[_0x186a8e(0x1d9)][_0x186a8e(0x197)]():this[_0x186a8e(0x1e9)][_0x186a8e(0x197)]();}[_0x455e50(0x1c4)](_0x5eca2b){const _0x495fa9=_0x455e50;return _0x495fa9(0x1b0)===_0x5eca2b[_0x495fa9(0x173)][_0x495fa9(0x196)]?_0x495fa9(0x1bb):_0x495fa9(0x189);}[_0x455e50(0x169)](_0x3d1d82){const _0x20c660=_0x455e50;return _0x20c660(0x1b0)===_0x3d1d82[_0x20c660(0x173)][_0x20c660(0x196)]?_0x20c660(0x189):_0x20c660(0x1bb);}[_0x455e50(0x199)](_0x4fb8ef,_0x5da09e,_0x134129,_0xcfa1b2){const _0x296003=_0x455e50;_0x4fb8ef[_0x296003(0x1b6)]==_0x5da09e&&(_0x134129[_0x296003(0x197)](),this[_0x296003(0x18c)](_0xcfa1b2));}[_0x455e50(0x177)](_0x3ba7ea){const _0x3111cd=_0x455e50;_0x3ba7ea[_0x3111cd(0x16c)](_0x3111cd(0x1d6));}}function _0x4612(){const _0x44d64b=['_createActionGroupButton','rtl','180171zzyNCs','ck-ai-quick-actions-button_with-group__close-paren','focusTracker','addMany','contains','key','forEach','_isMovingToNestedMenu','_setupActionButtonExecution','_openNestedPanels','ArrowRight','destroy','actions','ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions-search','button','displayedPrompt','closest','view','_getPanelKeystroke','_createSearchResultActionButton','pin','text','element','keystrokes','ck-dropdown-menu-list','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','14111040vXvGSz','_focusables','show','span','resetSearch','_createSearchResultIndividualActionButton','ck-ai-quick-actions-button__group-icon','36816INtioe','isEnabled','ck-ai-quick-actions-button','execute','_hideAllNestedPanels','activeElement','_searchTextView','ck-dropdown-menu__nested-menu__panel','_createSearchResultActionRow','98flBVsn','relatedTarget','_allSearchableItems','ck-rounded-corners','ck-ai-quick-actions','add','_createSearchResultGroupRow','role','ck-ai-quick-actions-button_with-group__open-paren','detachFromDom','first','children','ck-ai-quick-actions-search-result__group-row','optionsListView','_createActionButton','content','queryView','chain','menu','1637068ighHuz','fieldView','3IxndfB','ck-button_with-text','_getButtonKeystroke','set','render','fire','5459180cwMxEW','some','menuitem','582824PcXgaU','AI_QUICK_ACTIONS_SEARCH','items','locale','delete','editing','mouseleave','_handleSearchResultButtonClick','_createSearchResultGroupedActionButton','addEventListener','520NNbcaa','_createSearchResultContentView','ck-ai-quick-actions-group-button','_createSearchTextView','_createGroupActionsList','6WHMyrV','ck-ai-quick-actions-group-list','8KPgPQq','.ck-ai-quick-actions-group-list','bind','get','setTemplate','icon','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','commands','ArrowLeft','_showNestedPanel','ck-button','_hideNestedPanel','_hasSearch','ck-reset_all','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','ownerDocument','ck-ai-quick-actions-button_with-group','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','focusCycler','_isSearchFocused','ck-ai-quick-actions-search-result-button','uiLanguageDirection','focus','reset','_handlePanelKeydown','aiQuickAction','label','hide','isOn','1958836kGVIoZ','clear','ck-ai-quick-actions-group-panel','extendTemplate','.ck-ai-quick-actions-group-button','_setupGroupMenuBehavior','parent','eastSouth','_bodyCollection','bindTemplate','_createListItems','ck-ai-quick-actions-search-result__action-row','div','isVisible','push','.ck-ai-quick-actions-group-panel','ck-ai-quick-actions-search-result__content'];_0x4612=function(){return _0x44d64b;};return _0x4612();}
|
|
23
|
+
const _0x41295f=_0x5bfc;(function(_0x5a5faf,_0x16d5b5){const _0x2d6cc6=_0x5bfc,_0x528d18=_0x5a5faf();while(!![]){try{const _0xb317d8=parseInt(_0x2d6cc6(0x1b1))/0x1*(-parseInt(_0x2d6cc6(0x194))/0x2)+parseInt(_0x2d6cc6(0x1c0))/0x3+-parseInt(_0x2d6cc6(0x19f))/0x4*(-parseInt(_0x2d6cc6(0x1c7))/0x5)+parseInt(_0x2d6cc6(0x149))/0x6*(-parseInt(_0x2d6cc6(0x1c2))/0x7)+parseInt(_0x2d6cc6(0x1cf))/0x8+parseInt(_0x2d6cc6(0x15b))/0x9+parseInt(_0x2d6cc6(0x19d))/0xa*(-parseInt(_0x2d6cc6(0x16a))/0xb);if(_0xb317d8===_0x16d5b5)break;else _0x528d18['push'](_0x528d18['shift']());}catch(_0x4ae9ae){_0x528d18['push'](_0x528d18['shift']());}}}(_0x6a22,0xdc765));import{View as _0x175687,ListItemView as _0x418749,ListView as _0x4a04ed,BalloonPanelView as _0x11e77d,DropdownMenuPanelPositioningFunctions as _0x24667e,ViewCollection as _0x48c253,FocusCycler as _0x5d5f4d,ButtonView as _0x4a837b,IconView as _0x1f3fe7,HighlightedTextView as _0x2be017,ButtonLabelWithHighlightView as _0x43a709,SearchTextView as _0x221a20}from'ckeditor5/src/ui.js';function _0x6a22(){const _0x49245e=['ck-ai-quick-actions-search-result__group-row','add','menu','ck-reset_all','.ck-ai-quick-actions-group-button','get','_allSearchableItems','_searchTextView','detachFromDom','ownerDocument','first','ck-ai-quick-actions-button__group-icon','_createSearchResultActionButton','ck-ai-quick-actions-button_with-group__close-paren','3941112KxpoEr','some','8244089sEFRDA','_handlePanelKeydown','_focusables','isOn','closest','2967985rHFifH','_createGroupActionsList','ck-button_with-text','destroy','aiQuickAction','contains','hide','reset','4193496nvdfNL','button','element','6SOzsfp','icon','execute','_createSearchResultGroupedActionButton','_createActionButton','pin','.ck-ai-quick-actions-group-panel','optionsListView','mouseleave','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','addMany','push','_hideAllNestedPanels','span','_isMovingToNestedMenu','editing','ck-ai-quick-actions-search','_createSearchResultContentView','15639525pgNqkH','ck-ai-quick-actions-group-panel','keystrokes','ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','menuitem','text','_createActionGroupButton','addEventListener','commands','_getButtonKeystroke','ck-ai-quick-actions-button','items','ck-dropdown-menu__nested-menu__panel','chain','delete','11492679yUPSqi','ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','queryView','parent','ck-button','_createSearchTextView','isVisible','clear','fire','setTemplate','_showNestedPanel','bind','focusCycler','displayedPrompt','_createSearchResultGroupRow','_setupActionButtonExecution','ck-ai-quick-actions-search-result-button_with-group','ck-ai-quick-actions-group-button','_isSearchFocused','key','ck-ai-quick-actions','fieldView','ck-ai-quick-actions-group-list','extendTemplate','forEach','ArrowRight','isEnabled','_handleSearchResultButtonClick','AI_QUICK_ACTIONS_SEARCH','show','label','activeElement','ck-ai-quick-actions-search-result__content','ck-dropdown-menu-list','children','set','render','uiLanguageDirection','bindTemplate','focus','_getPanelKeystroke','locale','3274562tZPiLf','ArrowLeft','ck-ai-quick-actions-button_with-group','AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','_setupGroupMenuBehavior','_openNestedPanels','ck-ai-quick-actions-search-result__action-row','eastSouth','_hasSearch','10jIIMDV','ck-ai-quick-actions-button_with-group__open-paren','8WAShdS','_createListItems','content','relatedTarget','ck-ai-quick-actions-search-result-button','view','rtl','_bodyCollection','role','_createSearchResultIndividualActionButton','resetSearch','.ck-ai-quick-actions-group-list','actions','div','ck-rounded-corners','_createSearchResultActionRow','focusTracker','_hideNestedPanel','1hXhSfY'];_0x6a22=function(){return _0x49245e;};return _0x6a22();}import{IconAIQuickActions as _0x4546e8}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x8c0ec4,KeystrokeHandler as _0x4590d8}from'ckeditor5/src/utils.js';function _0x5bfc(_0x326e89,_0x1bc3c0){const _0x6a228d=_0x6a22();return _0x5bfc=function(_0x5bfcf1,_0x31c6ca){_0x5bfcf1=_0x5bfcf1-0x149;let _0x54d762=_0x6a228d[_0x5bfcf1];return _0x54d762;},_0x5bfc(_0x326e89,_0x1bc3c0);}import{aiQuickActionsButtonCreator as _0x174688}from'./aiquickactionsbuttoncreator.js';import{DropdownMenuButtonWithHighlightView as _0x56be4e}from'./dropdownmenubuttonwithhighlightview.js';import{getTranslation as _0x43102f}from'../../aicore/utils/common-translations.js';import{AIQuickActionsFilteredListView as _0x34d511}from'./aiquickactionsfilteredlistview.js';const Qs=_0x41295f(0x1b4),Gs=_0x41295f(0x15f);export class AIQuickActionsDropdownContentView extends _0x175687{[_0x41295f(0x1a6)];[_0x41295f(0x150)];[_0x41295f(0x1b9)]=null;[_0x41295f(0x1b8)]=[];[_0x41295f(0x18c)];[_0x41295f(0x1af)];[_0x41295f(0x15d)];[_0x41295f(0x1c4)];[_0x41295f(0x176)];[_0x41295f(0x199)]=new Set();[_0x41295f(0x19c)];constructor(_0x173a88,_0x37a279,_0x12655f,_0x3e0d72,_0x252605=!0x1){const _0x207989=_0x41295f,_0x759dd6=_0x173a88[_0x207989(0x193)];super(_0x759dd6),this[_0x207989(0x1a6)]=_0x3e0d72,this[_0x207989(0x19c)]=_0x252605;const _0x127b3f=this[_0x207989(0x1a0)](_0x173a88,_0x37a279,_0x12655f);this[_0x207989(0x150)]=new _0x34d511(_0x759dd6,_0x127b3f,this[_0x207989(0x1b8)]),this[_0x207989(0x150)][_0x207989(0x1a7)]=Qs,this[_0x207989(0x150)][_0x207989(0x166)][_0x207989(0x153)](_0x127b3f),this[_0x207989(0x1af)]=new _0x8c0ec4(),this[_0x207989(0x15d)]=new _0x4590d8(),_0x252605&&(this[_0x207989(0x1b9)]=this[_0x207989(0x16f)]()),this[_0x207989(0x1c4)]=_0x127b3f,this[_0x207989(0x176)]=new _0x5d5f4d({'focusables':this[_0x207989(0x1c4)],'focusTracker':this[_0x207989(0x1af)],'keystrokeHandler':this[_0x207989(0x15d)]}),_0x252605&&this[_0x207989(0x1b9)]&&this[_0x207989(0x176)][_0x207989(0x168)](this[_0x207989(0x1b9)][_0x207989(0x176)]);const _0x37a00a=_0x252605&&this[_0x207989(0x1b9)]?[this[_0x207989(0x1b9)]]:[this[_0x207989(0x150)]];this[_0x207989(0x18c)]=new _0x48c253(_0x37a00a),this[_0x207989(0x173)]({'tag':_0x207989(0x1ac),'attributes':{'class':['ck',_0x207989(0x1b5),_0x207989(0x17e),_0x207989(0x1ad)],'dir':_0x759dd6[_0x207989(0x18f)]},'children':this[_0x207989(0x18c)]});}[_0x41295f(0x16f)](){const _0x446326=_0x41295f;return new _0x221a20(this[_0x446326(0x193)],{'filteredView':this[_0x446326(0x150)],'queryView':{'label':_0x43102f(this[_0x446326(0x193)],_0x446326(0x186))},'class':_0x446326(0x159),'infoView':{'text':{'notFound':{'primary':_0x43102f(this[_0x446326(0x193)],_0x446326(0x197))}}}});}[_0x41295f(0x17c)](){const _0x22178d=_0x41295f;if(!this[_0x22178d(0x19c)]||!this[_0x22178d(0x1b9)]||!this[_0x22178d(0x1b9)][_0x22178d(0x16c)][_0x22178d(0x17f)][_0x22178d(0x1d1)])return!0x1;const _0x3786db=this[_0x22178d(0x1b9)][_0x22178d(0x16c)][_0x22178d(0x17f)][_0x22178d(0x1d1)][_0x22178d(0x1bb)]?.[_0x22178d(0x189)];return this[_0x22178d(0x1b9)][_0x22178d(0x16c)][_0x22178d(0x17f)][_0x22178d(0x1d1)][_0x22178d(0x1cc)](_0x3786db);}[_0x41295f(0x1a0)](_0x430240,_0x1e3f99,_0x24bbcf){const _0x1bd673=_0x41295f,_0x3b52a6=new _0x48c253();return _0x1e3f99[_0x1bd673(0x182)](_0x3d131e=>{const _0x343582=_0x1bd673;if(_0x343582(0x1ab)in _0x3d131e){const {listItem:_0x4d9521}=this[_0x343582(0x161)](_0x430240,_0x3d131e,_0x24bbcf);_0x3b52a6[_0x343582(0x1b3)](_0x4d9521),_0x3d131e[_0x343582(0x1ab)][_0x343582(0x182)](_0x5b839a=>{const _0x454282=_0x343582;this[_0x454282(0x14d)](_0x430240,_0x5b839a,_0x3d131e[_0x454282(0x188)],_0x3d131e[_0x454282(0x14a)]);const {listItem:_0x462957,highlightViews:_0x5311bb}=this[_0x454282(0x1be)](_0x430240,_0x5b839a,_0x3d131e[_0x454282(0x188)],_0x3d131e[_0x454282(0x14a)]);this[_0x454282(0x1b8)][_0x454282(0x154)]({'item':_0x462957,'label':_0x5b839a[_0x454282(0x177)],'groupLabel':_0x3d131e[_0x454282(0x188)],'highlightViews':_0x5311bb});});}else{const {listItem:_0x2d9c28}=this[_0x343582(0x14d)](_0x430240,_0x3d131e);_0x3b52a6[_0x343582(0x1b3)](_0x2d9c28);const _0x9c065a=_0x2d9c28[_0x343582(0x18c)][_0x343582(0x1bc)];if(_0x9c065a){const {listItem:_0x2b2a9c,highlightViews:_0x3bd4d3}=this[_0x343582(0x1be)](_0x430240,_0x3d131e);this[_0x343582(0x1b8)][_0x343582(0x154)]({'item':_0x2b2a9c,'label':_0x9c065a[_0x343582(0x188)]||'','highlightViews':_0x3bd4d3});}}}),_0x3b52a6;}[_0x41295f(0x14d)](_0x36d711,_0x850dbf,_0x259ee2,_0x28632b){const _0x426431=_0x41295f,_0x5373ee=new _0x418749(this[_0x426431(0x193)]);if(_0x259ee2&&_0x28632b){const _0x561b40=new _0x4a837b(this[_0x426431(0x193)]),_0x42048f=_0x561b40[_0x426431(0x190)],_0x583efc=new _0x2be017();_0x583efc[_0x426431(0x160)]=_0x850dbf[_0x426431(0x177)];const _0x3b86ed=new _0x2be017();_0x3b86ed[_0x426431(0x160)]=_0x259ee2;const _0x270446=new _0x1f3fe7();_0x270446[_0x426431(0x1a1)]=_0x28632b,_0x270446[_0x426431(0x181)]({'attributes':{'class':_0x426431(0x1bd)}});const _0x272e83=new _0x175687(this[_0x426431(0x193)]);_0x272e83[_0x426431(0x173)]({'tag':_0x426431(0x156),'attributes':{'class':_0x426431(0x19e)},'children':[{'text':'\x20('}]});const _0xf55722=new _0x175687(this[_0x426431(0x193)]);return _0xf55722[_0x426431(0x173)]({'tag':_0x426431(0x156),'attributes':{'class':_0x426431(0x1bf)},'children':[{'text':')'}]}),_0x561b40[_0x426431(0x18d)]({'label':_0x850dbf[_0x426431(0x177)]+'\x20('+_0x259ee2+')','withText':!0x0,'role':_0x426431(0x15f),'class':_0x426431(0x15e),'tooltip':!0x1}),_0x561b40[_0x426431(0x173)]({'tag':_0x426431(0x1d0),'attributes':{'class':['ck',_0x426431(0x16e),_0x426431(0x1c9),_0x426431(0x165),_0x426431(0x196)],'type':_0x426431(0x1d0),'role':_0x426431(0x15f),'tabindex':'-1'},'children':[_0x583efc,_0x272e83,_0x270446,_0x3b86ed,_0xf55722],'on':{'mouseenter':_0x42048f['to'](()=>{const _0x260ebe=_0x426431;this[_0x260ebe(0x17c)]()||_0x561b40[_0x260ebe(0x191)]();}),'click':_0x42048f['to'](()=>{const _0x461576=_0x426431;_0x561b40[_0x461576(0x172)](_0x461576(0x14b));})}}),_0x561b40['on'](_0x426431(0x14b),()=>{const _0x27714b=_0x426431;_0x36d711[_0x27714b(0x158)][_0x27714b(0x1a4)][_0x27714b(0x191)](),_0x36d711[_0x27714b(0x163)][_0x27714b(0x14b)](_0x27714b(0x1cb),_0x850dbf);}),_0x5373ee[_0x426431(0x18c)][_0x426431(0x1b3)](_0x561b40),{'listItem':_0x5373ee,'highlightViews':[_0x583efc,_0x3b86ed]};}{const _0x543646=new _0x43a709(),_0x5d3759=new _0x4a837b(this[_0x426431(0x193)],_0x543646),_0x1c1e8c=_0x5d3759[_0x426431(0x190)],_0x274070=_0x850dbf[_0x426431(0x14a)]??_0x850dbf[_0x426431(0x16d)]?.[_0x426431(0x14a)],_0x37bc38=void 0x0!==_0x850dbf[_0x426431(0x14a)];return _0x5d3759[_0x426431(0x18d)]({'label':_0x850dbf[_0x426431(0x177)],'withText':!0x0,'role':_0x426431(0x15f),'icon':_0x37bc38?_0x274070??_0x4546e8:void 0x0,'tooltip':!0x1,'class':_0x426431(0x165)}),_0x5d3759[_0x426431(0x181)]({'on':{'mouseenter':_0x1c1e8c['to'](()=>{const _0x411233=_0x426431;this[_0x411233(0x17c)]()||_0x5d3759[_0x411233(0x191)]();})}}),_0x5d3759['on'](_0x426431(0x14b),()=>{const _0x48f1d8=_0x426431;_0x36d711[_0x48f1d8(0x158)][_0x48f1d8(0x1a4)][_0x48f1d8(0x191)](),_0x36d711[_0x48f1d8(0x163)][_0x48f1d8(0x14b)](_0x48f1d8(0x1cb),_0x850dbf);}),_0x5373ee[_0x426431(0x18c)][_0x426431(0x1b3)](_0x5d3759),{'listItem':_0x5373ee,'highlightViews':[_0x543646]};}}[_0x41295f(0x1be)](_0x203bf2,_0x12032c,_0x5a108d,_0x5e6402){const _0x1060b9=_0x41295f;return _0x5a108d&&_0x5e6402?this[_0x1060b9(0x14c)](_0x203bf2,_0x12032c,_0x5a108d,_0x5e6402):this[_0x1060b9(0x1a8)](_0x203bf2,_0x12032c);}[_0x41295f(0x14c)](_0x44bfe9,_0x5f4c00,_0x2cbfbe,_0x553ec7){const _0x3b7fdc=_0x41295f,_0xcbd185=new _0x418749(this[_0x3b7fdc(0x193)]),_0x5e4954=new _0x4a837b(this[_0x3b7fdc(0x193)]),_0x600096=_0x5e4954[_0x3b7fdc(0x190)],{view:_0x510451,highlightView:_0x161ea6}=this[_0x3b7fdc(0x178)](_0x2cbfbe,_0x553ec7),{view:_0x38ea7f,highlightView:_0xdfd054}=this[_0x3b7fdc(0x1ae)](_0x5f4c00[_0x3b7fdc(0x177)]),_0x563641=this[_0x3b7fdc(0x15a)](_0x510451,_0x38ea7f);return _0x5e4954[_0x3b7fdc(0x18d)]({'label':_0x5f4c00[_0x3b7fdc(0x177)],'withText':!0x0,'role':_0x3b7fdc(0x15f),'class':_0x3b7fdc(0x152),'tooltip':!0x1}),_0x5e4954[_0x3b7fdc(0x173)]({'tag':_0x3b7fdc(0x1d0),'attributes':{'class':['ck',_0x3b7fdc(0x16e),_0x3b7fdc(0x1c9),_0x3b7fdc(0x165),_0x3b7fdc(0x1a3),_0x3b7fdc(0x17a)],'type':_0x3b7fdc(0x1d0),'role':_0x3b7fdc(0x15f),'tabindex':'-1'},'children':[_0x563641],'on':{'mouseenter':_0x600096['to'](()=>{const _0x4c1ce7=_0x3b7fdc;this[_0x4c1ce7(0x17c)]()||_0x5e4954[_0x4c1ce7(0x191)]();}),'click':_0x600096['to'](()=>{const _0xef97a8=_0x3b7fdc;this[_0xef97a8(0x185)](_0x5e4954);})}}),this[_0x3b7fdc(0x179)](_0x5e4954,_0x44bfe9,_0x5f4c00),_0xcbd185[_0x3b7fdc(0x18c)][_0x3b7fdc(0x1b3)](_0x5e4954),{'listItem':_0xcbd185,'highlightViews':[_0x161ea6,_0xdfd054]};}[_0x41295f(0x1a8)](_0x1e543b,_0x403a61){const _0x105bad=_0x41295f,_0x279cdd=new _0x418749(this[_0x105bad(0x193)]),_0x5042a0=new _0x43a709(),_0xcefeca=new _0x4a837b(this[_0x105bad(0x193)],_0x5042a0),_0x103f12=_0xcefeca[_0x105bad(0x190)];return _0xcefeca[_0x105bad(0x18d)]({'label':_0x403a61[_0x105bad(0x177)],'withText':!0x0,'role':_0x105bad(0x15f),'icon':void 0x0,'tooltip':!0x1,'class':_0x105bad(0x16b)}),_0xcefeca[_0x105bad(0x181)]({'on':{'mouseenter':_0x103f12['to'](()=>{const _0x153c1d=_0x105bad;this[_0x153c1d(0x17c)]()||_0xcefeca[_0x153c1d(0x191)]();})}}),this[_0x105bad(0x179)](_0xcefeca,_0x1e543b,_0x403a61),_0x279cdd[_0x105bad(0x18c)][_0x105bad(0x1b3)](_0xcefeca),{'listItem':_0x279cdd,'highlightViews':[_0x5042a0]};}[_0x41295f(0x178)](_0x51eea8,_0x41f027){const _0x5404c3=_0x41295f,_0x3a9e6e=new _0x175687(this[_0x5404c3(0x193)]),_0x230323=new _0x1f3fe7();_0x230323[_0x5404c3(0x1a1)]=_0x41f027,_0x230323[_0x5404c3(0x181)]({'attributes':{'class':_0x5404c3(0x1bd)}});const _0x588a75=new _0x2be017();return _0x588a75[_0x5404c3(0x160)]=_0x51eea8,_0x3a9e6e[_0x5404c3(0x173)]({'tag':_0x5404c3(0x1ac),'attributes':{'class':_0x5404c3(0x1b2)},'children':[_0x230323,_0x588a75]}),{'view':_0x3a9e6e,'highlightView':_0x588a75};}[_0x41295f(0x1ae)](_0x1c7035){const _0x463149=_0x41295f,_0x5ed4ff=new _0x175687(this[_0x463149(0x193)]),_0x5d3be2=new _0x2be017();return _0x5d3be2[_0x463149(0x160)]=_0x1c7035,_0x5ed4ff[_0x463149(0x173)]({'tag':_0x463149(0x1ac),'attributes':{'class':_0x463149(0x19a)},'children':[_0x5d3be2]}),{'view':_0x5ed4ff,'highlightView':_0x5d3be2};}[_0x41295f(0x15a)](_0x21c864,_0x26cbb5){const _0x4d8727=_0x41295f,_0xce959d=new _0x175687(this[_0x4d8727(0x193)]);return _0xce959d[_0x4d8727(0x173)]({'tag':_0x4d8727(0x1ac),'attributes':{'class':_0x4d8727(0x18a)},'children':[_0x21c864,_0x26cbb5]}),_0xce959d;}[_0x41295f(0x179)](_0x36cb3b,_0x12f578,_0x128327){const _0x22ec4a=_0x41295f;_0x36cb3b['on'](_0x22ec4a(0x14b),()=>{const _0x2b63c6=_0x22ec4a;_0x12f578[_0x2b63c6(0x158)][_0x2b63c6(0x1a4)][_0x2b63c6(0x191)](),_0x12f578[_0x2b63c6(0x163)][_0x2b63c6(0x14b)](_0x2b63c6(0x1cb),_0x128327);});}[_0x41295f(0x161)](_0x1b1094,_0x26cdd7,_0x18da1){const _0x1cded3=_0x41295f,_0x4cd5a1=new _0x418749(this[_0x1cded3(0x193)]),_0x15ef16=new _0x43a709(),_0x44f82d=new _0x56be4e(this[_0x1cded3(0x193)],_0x15ef16),_0x52889a=_0x44f82d[_0x1cded3(0x190)],_0x130dcd=this[_0x1cded3(0x192)](_0x18da1),_0xc8fe70=this[_0x1cded3(0x1c8)](_0x1b1094,_0x26cdd7[_0x1cded3(0x1ab)],_0x18da1);_0x44f82d[_0x1cded3(0x18d)]({'label':_0x26cdd7[_0x1cded3(0x188)],'withText':!0x0,'role':Gs,'icon':_0x26cdd7[_0x1cded3(0x14a)]??_0x4546e8,'isEnabled':_0x26cdd7[_0x1cded3(0x1ab)][_0x1cded3(0x1c1)](_0x44bd61=>_0x44bd61[_0x1cded3(0x184)])}),_0x44f82d[_0x1cded3(0x181)]({'on':{'mouseenter':_0x52889a['to'](()=>{const _0x2e9b99=_0x1cded3;this[_0x2e9b99(0x17c)]()||_0x44f82d[_0x2e9b99(0x191)]();})}});const _0x5b9437=new _0x11e77d(this[_0x1cded3(0x193)]);return _0x5b9437[_0x1cded3(0x181)]({'attributes':{'class':['ck',_0x1cded3(0x1b5),_0x1cded3(0x15c),_0x1cded3(0x167)]},'on':{'keydown':_0x52889a['to'](_0x46f3ad=>{const _0x4356cc=_0x1cded3;this[_0x4356cc(0x1c3)](_0x46f3ad,_0x130dcd,_0x44f82d,_0x5b9437);})}}),_0x44f82d[_0x1cded3(0x175)](_0x1cded3(0x1c5))['to'](_0x5b9437,_0x1cded3(0x170)),this[_0x1cded3(0x1a6)][_0x1cded3(0x1b3)](_0x5b9437),_0x5b9437[_0x1cded3(0x1a1)][_0x1cded3(0x1b3)](_0xc8fe70),this[_0x1cded3(0x198)](_0x44f82d,_0x5b9437),_0x4cd5a1[_0x1cded3(0x18c)][_0x1cded3(0x1b3)](_0x44f82d),{'listItem':_0x4cd5a1,'highlightView':_0x15ef16};}[_0x41295f(0x1c8)](_0x4e5635,_0x3348bd,_0x1d9b4e){const _0x44c081=_0x41295f,_0x3171a6=new _0x4a04ed(this[_0x44c081(0x193)]);return _0x3171a6[_0x44c081(0x181)]({'attributes':{'class':['ck',_0x44c081(0x1b5),_0x44c081(0x180),_0x44c081(0x18b)]}}),_0x3348bd[_0x44c081(0x182)](_0x52041a=>{const _0x309692=_0x44c081,_0x575fb7=new _0x418749(this[_0x309692(0x193)]),_0x551b2f=_0x174688({'editor':_0x4e5635,'action':_0x52041a,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this[_0x309692(0x17c)]()})();_0x575fb7[_0x309692(0x18c)][_0x309692(0x1b3)](_0x551b2f),_0x1d9b4e[_0x309692(0x1af)][_0x309692(0x1b3)](_0x551b2f),_0x3171a6[_0x309692(0x166)][_0x309692(0x1b3)](_0x575fb7);}),_0x3171a6;}[_0x41295f(0x198)](_0x533cb2,_0x422596){const _0x2c023e=_0x41295f,_0x1fe1bc=_0x533cb2[_0x2c023e(0x190)],_0x316f8d=this[_0x2c023e(0x164)](_0x533cb2);_0x533cb2[_0x2c023e(0x181)]({'attributes':{'class':[_0x2c023e(0x17b)]},'on':{'mouseenter':_0x1fe1bc['to'](()=>{const _0x99aa61=_0x2c023e;this[_0x99aa61(0x174)](_0x422596,_0x533cb2);}),'mouseleave':_0x1fe1bc['to'](_0x2aa332=>{const _0x267325=_0x2c023e,_0x1ab201=_0x2aa332[_0x267325(0x1a2)];this[_0x267325(0x157)](_0x1ab201,_0x422596)||this[_0x267325(0x1b0)](_0x422596);}),'keydown':_0x1fe1bc['to'](_0xc58e34=>{const _0x34d258=_0x2c023e;_0xc58e34[_0x34d258(0x17d)]==_0x316f8d&&(this[_0x34d258(0x174)](_0x422596,_0x533cb2),_0x422596[_0x34d258(0x1a1)][_0x34d258(0x1b7)](0x0)[_0x34d258(0x191)]());})}}),_0x422596['on'](_0x2c023e(0x18e),()=>{const _0x1db35f=_0x2c023e;_0x422596[_0x1db35f(0x1d1)]?.[_0x1db35f(0x162)](_0x1db35f(0x151),_0x3ab853=>{const _0x5e7f34=_0x1db35f,_0x580588=_0x3ab853[_0x5e7f34(0x1a2)];_0x533cb2[_0x5e7f34(0x1d1)]?.[_0x5e7f34(0x1cc)](_0x580588)||this[_0x5e7f34(0x157)](_0x580588,_0x422596)||this[_0x5e7f34(0x1b0)](_0x422596);});});}[_0x41295f(0x174)](_0x55a4ec,_0x34cfbd){const _0x106559=_0x41295f;this[_0x106559(0x199)][_0x106559(0x182)](_0x2fbfe3=>{const _0x1dee8b=_0x106559;_0x2fbfe3!==_0x55a4ec&&_0x2fbfe3[_0x1dee8b(0x170)]&&_0x2fbfe3[_0x1dee8b(0x1cd)]();}),_0x55a4ec[_0x106559(0x187)](),_0x55a4ec[_0x106559(0x14e)]({'positions':[_0x24667e[_0x106559(0x19b)]],'target':_0x34cfbd[_0x106559(0x1d1)],'fitInViewport':!0x0}),this[_0x106559(0x199)][_0x106559(0x1b3)](_0x55a4ec);}[_0x41295f(0x1b0)](_0x49de80){const _0x3746d3=_0x41295f;_0x49de80[_0x3746d3(0x1cd)](),this[_0x3746d3(0x199)][_0x3746d3(0x169)](_0x49de80);}[_0x41295f(0x155)](){const _0x3ec98b=_0x41295f;this[_0x3ec98b(0x199)][_0x3ec98b(0x182)](_0xac02fd=>_0xac02fd[_0x3ec98b(0x1cd)]()),this[_0x3ec98b(0x199)][_0x3ec98b(0x171)]();}[_0x41295f(0x157)](_0x1c52b8,_0x3554a8){const _0xfa7713=_0x41295f;if(!_0x1c52b8)return!0x1;if(_0x3554a8[_0xfa7713(0x1d1)]?.[_0xfa7713(0x1cc)](_0x1c52b8))return!0x0;const _0x28b21b=_0x1c52b8;return _0x28b21b[_0xfa7713(0x1c6)]&&(null!==_0x28b21b[_0xfa7713(0x1c6)](_0xfa7713(0x14f))||null!==_0x28b21b[_0xfa7713(0x1c6)](_0xfa7713(0x1aa))||null!==_0x28b21b[_0xfa7713(0x1c6)](_0xfa7713(0x1b6)));}[_0x41295f(0x1a9)](){const _0x2d8ece=_0x41295f;this[_0x2d8ece(0x1b9)]&&this[_0x2d8ece(0x1b9)][_0x2d8ece(0x1ce)]();}[_0x41295f(0x1ca)](){const _0x5a259a=_0x41295f;this[_0x5a259a(0x155)](),this[_0x5a259a(0x1a6)][_0x5a259a(0x1ba)](),super[_0x5a259a(0x1ca)]();}[_0x41295f(0x191)](){const _0x10f1f9=_0x41295f;this[_0x10f1f9(0x1b9)]?this[_0x10f1f9(0x1b9)][_0x10f1f9(0x191)]():this[_0x10f1f9(0x150)][_0x10f1f9(0x191)]();}[_0x41295f(0x192)](_0x16bb16){const _0x3d73e6=_0x41295f;return _0x3d73e6(0x1a5)===_0x16bb16[_0x3d73e6(0x193)][_0x3d73e6(0x18f)]?_0x3d73e6(0x183):_0x3d73e6(0x195);}[_0x41295f(0x164)](_0x5247ac){const _0x1e9d45=_0x41295f;return _0x1e9d45(0x1a5)===_0x5247ac[_0x1e9d45(0x193)][_0x1e9d45(0x18f)]?_0x1e9d45(0x195):_0x1e9d45(0x183);}[_0x41295f(0x1c3)](_0x39f978,_0x9324f6,_0x1beeb3,_0x29152b){const _0x4549bc=_0x41295f;_0x39f978[_0x4549bc(0x17d)]==_0x9324f6&&(_0x1beeb3[_0x4549bc(0x191)](),this[_0x4549bc(0x1b0)](_0x29152b));}[_0x41295f(0x185)](_0x1e219d){const _0x567ce6=_0x41295f;_0x1e219d[_0x567ce6(0x172)](_0x567ce6(0x14b));}}
|