@ckeditor/ckeditor5-real-time-collaboration 44.0.0-alpha.10 → 44.0.0-alpha.11
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/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +9 -9
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b2e6b=_0x1130;(function(_0x278619,_0x51ebe3){const _0x58523b=_0x1130,_0x2f2b62=_0x278619();while(!![]){try{const _0x2a6d7a=-parseInt(_0x58523b(0xd8))/0x1+-parseInt(_0x58523b(0xe9))/0x2*(parseInt(_0x58523b(0xe3))/0x3)+parseInt(_0x58523b(0xe0))/0x4*(-parseInt(_0x58523b(0xb6))/0x5)+parseInt(_0x58523b(0xad))/0x6+-parseInt(_0x58523b(0xc1))/0x7+-parseInt(_0x58523b(0xed))/0x8+parseInt(_0x58523b(0xf1))/0x9*(parseInt(_0x58523b(0xbe))/0xa);if(_0x2a6d7a===_0x51ebe3)break;else _0x2f2b62['push'](_0x2f2b62['shift']());}catch(_0xb10c98){_0x2f2b62['push'](_0x2f2b62['shift']());}}}(_0x129e,0xde25a));function _0x129e(){const _0x2ac185=['online','isPremiumPlugin','constructor','webSocketUrl','CONNECTING','all','cloudservices-reconnection-error','188dkoksA','code','config','2294673fUVUHd','delete','then','cloudServices.requestTimeout','addToReconnectionStack','offline','2vPbVVR','websocketgateway-invalid-plugin-interface','removeFromReconnectionStack','isInReconnectionStack','4072792cLPaLA','function','define','websocketgateway-plugin-already-registered','30999141XyKAxf','showWarning','_isBrowserOffline','from','get','create','catch','10489494CVdnpb','CloudServices','real-time-collaboration','Connected\x20users\x20limit\x20exceeded','has','_domEmitter','_reconnect','websocketgateway-missing-token','add','14075fgIhGB','WebSocketGateway','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','listenTo','state','CONNECTED','token','set','10DPHhxa','bind','pluginName','11047610NgTrSP','isOfficialPlugin','destroy','connection','stopListening','disconnect','change:me','initialReconnectionInterval','_shouldPluginsReconnect','reconnect','cloudservices-init','requires','error','init','cloudServices.connectionTimeout','_reconnectionStack','limitExceeded','plugins','websocketgateway-missing-websocket-url','context','connected','connect','DISCONNECTED','1298159uakHzh'];_0x129e=function(){return _0x2ac185;};return _0x129e();}import{ContextPlugin as _0x420690}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2f8454,CKEditorError as _0x13df8b}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x732288,WEB_SOCKET_GATEWAY_STATES as _0x190ced}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x2628a1}from'ckeditor5/src/ui.js';class c extends _0x420690{static get[_0x3b2e6b(0xcc)](){const _0x578107=_0x3b2e6b;return[_0x578107(0xae),_0x2628a1];}static get[_0x3b2e6b(0xc0)](){const _0x11e18e=_0x3b2e6b;return _0x11e18e(0xb7);}static get[_0x3b2e6b(0xc2)](){return!0x0;}static get[_0x3b2e6b(0xda)](){return!0x0;}constructor(_0xa645de){const _0x510dac=_0x3b2e6b;super(_0xa645de),this[_0x510dac(0xbd)](_0x510dac(0xba),_0x190ced[_0x510dac(0xbb)]),this[_0x510dac(0xbd)](_0x510dac(0xf3),!0x1),this[_0x510dac(0xd0)]=new Set(),this[_0x510dac(0xc9)]=!0x1,this[_0x510dac(0xb2)]=Object[_0x510dac(0xab)](_0x2f8454);}[_0x3b2e6b(0xce)](){const _0x1ee466=_0x3b2e6b,_0x3569d4=this[_0x1ee466(0xd4)],_0x44432c=_0x3569d4[_0x1ee466(0xd2)][_0x1ee466(0xf5)](_0x1ee466(0xae)),_0x566d83=_0x3569d4[_0x1ee466(0xd2)][_0x1ee466(0xf5)](_0x2628a1);if(!_0x44432c[_0x1ee466(0xbc)])throw new _0x13df8b(_0x1ee466(0xb4),this);if(!_0x44432c[_0x1ee466(0xdc)])throw new _0x13df8b(_0x1ee466(0xd3),this);return this[_0x1ee466(0xb2)][_0x1ee466(0xb9)](window,_0x1ee466(0xe8),()=>this[_0x1ee466(0xf3)]=!0x0),this[_0x1ee466(0xb2)][_0x1ee466(0xb9)](window,_0x1ee466(0xd9),()=>this[_0x1ee466(0xf3)]=!0x1),this[_0x1ee466(0xd4)][_0x1ee466(0xe2)][_0x1ee466(0xef)](_0x1ee466(0xcf),0xa),this[_0x1ee466(0xd4)][_0x1ee466(0xe2)][_0x1ee466(0xef)](_0x1ee466(0xe6),0x14),c[_0x1ee466(0xb7)][_0x1ee466(0xd6)](_0x44432c[_0x1ee466(0xbc)],_0x44432c[_0x1ee466(0xdc)],{'timeout':0x3e8*this[_0x1ee466(0xd4)][_0x1ee466(0xe2)][_0x1ee466(0xf5)](_0x1ee466(0xcf)),'requestTimeout':0x3e8*this[_0x1ee466(0xd4)][_0x1ee466(0xe2)][_0x1ee466(0xf5)](_0x1ee466(0xe6))})[_0x1ee466(0xe5)](_0x49bf3f=>{const _0x11dfad=_0x1ee466;if(this[_0x11dfad(0xc4)]=_0x49bf3f,this[_0x11dfad(0xbf)](_0x11dfad(0xba))['to'](_0x49bf3f,_0x11dfad(0xba),this,_0x11dfad(0xf3),(_0x325acf,_0x5210a8)=>(_0x11dfad(0xd5)!==_0x325acf&&(this[_0x11dfad(0xc9)]=!0x0),_0x5210a8||_0x325acf!==_0x190ced[_0x11dfad(0xbb)]?_0x190ced[_0x11dfad(0xd7)]:this[_0x11dfad(0xba)]==_0x190ced[_0x11dfad(0xd7)]&&this[_0x11dfad(0xc9)]?(this[_0x11dfad(0xc9)]=!0x1,this[_0x11dfad(0xb3)](),_0x190ced[_0x11dfad(0xdd)]):_0x190ced[_0x11dfad(0xbb)])),this[_0x11dfad(0xc4)]['on'](_0x11dfad(0xcd),(_0x1eadfa,_0x67ef0e)=>{const _0x306d69=_0x11dfad;if(_0x306d69(0xd1)!==_0x67ef0e[_0x306d69(0xe1)])throw console[_0x306d69(0xcd)](_0x67ef0e),new _0x13df8b(_0x306d69(0xcb),null,{'originalError':_0x67ef0e});_0x566d83[_0x306d69(0xf2)](_0x306d69(0xb8),{'title':_0x306d69(0xb0),'namespace':_0x306d69(0xaf)});}),!_0x49bf3f['me'])return new Promise(_0xbc8ba7=>_0x49bf3f['on'](_0x11dfad(0xc7),_0xbc8ba7));})[_0x1ee466(0xac)](_0xc7399a=>{const _0x4efe39=_0x1ee466;throw console[_0x4efe39(0xcd)](_0xc7399a),new _0x13df8b(_0x4efe39(0xcb),null,{'originalError':_0xc7399a});});}[_0x3b2e6b(0xe7)](_0x21a990){const _0x2b2603=_0x3b2e6b;if(_0x2b2603(0xee)!=typeof _0x21a990[_0x2b2603(0xca)])throw new _0x13df8b(_0x2b2603(0xea),this);if(this[_0x2b2603(0xec)](_0x21a990))throw new _0x13df8b(_0x2b2603(0xf0),this,{'name':_0x21a990[_0x2b2603(0xdb)][_0x2b2603(0xc0)]});this[_0x2b2603(0xd0)][_0x2b2603(0xb5)](_0x21a990);}[_0x3b2e6b(0xeb)](_0x312b13){const _0x531362=_0x3b2e6b;this[_0x531362(0xd0)][_0x531362(0xe4)](_0x312b13);}[_0x3b2e6b(0xec)](_0x80fcdc){const _0x36ec52=_0x3b2e6b;return this[_0x36ec52(0xd0)][_0x36ec52(0xb1)](_0x80fcdc);}[_0x3b2e6b(0xb3)](){const _0x59c937=_0x3b2e6b;return this[_0x59c937(0xc4)][_0x59c937(0xca)]()[_0x59c937(0xe5)](()=>Promise[_0x59c937(0xde)](Array[_0x59c937(0xf4)](this[_0x59c937(0xd0)],_0x243099=>_0x243099[_0x59c937(0xca)]())))[_0x59c937(0xe5)](()=>this[_0x59c937(0xba)]=_0x190ced[_0x59c937(0xbb)])[_0x59c937(0xac)](_0x4545e8=>{const _0xba7ebd=_0x59c937;throw console[_0xba7ebd(0xcd)](_0x4545e8),new _0x13df8b(_0xba7ebd(0xdf),this[_0xba7ebd(0xd4)]);});}[_0x3b2e6b(0xc3)](){const _0x1755ba=_0x3b2e6b;this[_0x1755ba(0xc4)]&&this[_0x1755ba(0xc4)][_0x1755ba(0xc6)](),this[_0x1755ba(0xba)]=_0x190ced[_0x1755ba(0xd7)],this[_0x1755ba(0xb2)][_0x1755ba(0xc5)](),super[_0x1755ba(0xc3)]();}}function _0x1130(_0x65dc08,_0x58534c){const _0x129e17=_0x129e();return _0x1130=function(_0x113034,_0x13263f){_0x113034=_0x113034-0xab;let _0x38b915=_0x129e17[_0x113034];return _0x38b915;},_0x1130(_0x65dc08,_0x58534c);}c[_0x3b2e6b(0xb7)]=_0x732288,c[_0x3b2e6b(0xc8)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1b7ba3=_0x2f51;(function(_0x384ab5,_0x2ebbeb){const _0x276c60=_0x2f51,_0xfc449e=_0x384ab5();while(!![]){try{const _0x474570=-parseInt(_0x276c60(0xd8))/0x1*(parseInt(_0x276c60(0xe1))/0x2)+parseInt(_0x276c60(0x134))/0x3*(parseInt(_0x276c60(0x109))/0x4)+parseInt(_0x276c60(0x105))/0x5*(-parseInt(_0x276c60(0x13e))/0x6)+parseInt(_0x276c60(0x11f))/0x7*(-parseInt(_0x276c60(0x11c))/0x8)+-parseInt(_0x276c60(0x10a))/0x9*(parseInt(_0x276c60(0xf8))/0xa)+parseInt(_0x276c60(0x13f))/0xb*(parseInt(_0x276c60(0xd5))/0xc)+parseInt(_0x276c60(0x125))/0xd;if(_0x474570===_0x2ebbeb)break;else _0xfc449e['push'](_0xfc449e['shift']());}catch(_0x315c0c){_0xfc449e['push'](_0xfc449e['shift']());}}}(_0x3364,0xf21fa));import{Plugin as _0x220db3}from'ckeditor5/src/core.js';import{version as _0x3c0465}from'ckeditor5/src/utils.js';import{Users as _0x555304}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3dfbd1 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x38bd6c from'../realtimecollaborativeediting/websocketgateway.js';import _0x4d38a2 from'../realtimecollaborativeediting/sessions.js';function _0x2f51(_0x4cb39a,_0x3b0127){const _0x336483=_0x3364();return _0x2f51=function(_0x2f51c2,_0x5f4a53){_0x2f51c2=_0x2f51c2-0xd3;let _0x4ed8df=_0x336483[_0x2f51c2];return _0x4ed8df;},_0x2f51(_0x4cb39a,_0x3b0127);}import{EditorService as _0x5497a6,RevisionHistoryService as _0x23221e,User as _0x1ae3a2,WEB_SOCKET_GATEWAY_STATES as _0xfd2f18}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x220db3{static get[_0x1b7ba3(0xff)](){const _0x1eefb6=_0x1b7ba3;return[_0x38bd6c,_0x3dfbd1,_0x1eefb6(0xdf),_0x4d38a2,_0x555304];}static get[_0x1b7ba3(0x116)](){const _0x944de7=_0x1b7ba3;return _0x944de7(0x113);}static get[_0x1b7ba3(0xd7)](){return!0x0;}static get[_0x1b7ba3(0xe6)](){return!0x0;}constructor(_0x3b7cbb){const _0x3f615e=_0x1b7ba3;super(_0x3b7cbb);const _0x4c1993=this[_0x3f615e(0x103)][_0x3f615e(0xf6)][_0x3f615e(0xe5)](_0x3f615e(0x145));this[_0x3f615e(0x12e)]=null,this[_0x3f615e(0x115)]=this[_0x3f615e(0x103)][_0x3f615e(0x130)][_0x3f615e(0xe5)](_0x3f615e(0xdf)),this[_0x3f615e(0xd9)]=new u[(_0x3f615e(0xfc))](_0x4c1993);}async[_0x1b7ba3(0x147)](){const _0x18a543=_0x1b7ba3,_0x51cf49=this[_0x18a543(0x103)][_0x18a543(0x130)][_0x18a543(0xe5)](_0x3dfbd1),_0x45909e=_0x51cf49[_0x18a543(0xdc)],_0x44e4fe=this[_0x18a543(0x103)][_0x18a543(0x130)][_0x18a543(0xe5)](_0x38bd6c);this[_0x18a543(0x115)][_0x18a543(0x120)]({'history':_0x45909e,'getLatestVersion':()=>this[_0x18a543(0xf1)](),'getCurrentRevisionId':()=>_0x51cf49[_0x18a543(0x123)]});const _0x3566b4=this[_0x18a543(0x103)][_0x18a543(0xf6)][_0x18a543(0xe5)](_0x18a543(0x139))||_0x3c0465,_0x3d73c3=await _0x5497a6[_0x18a543(0xde)](_0x44e4fe[_0x18a543(0x136)],_0x3566b4);this[_0x18a543(0x115)][_0x18a543(0xf5)]={'getRevision':async({revisionId:_0x66dd86})=>(await this[_0x18a543(0xf9)](),await this[_0x18a543(0xd9)][_0x18a543(0x11e)](_0x66dd86)),'updateRevisions':async _0x222125=>{const _0x43fb74=_0x18a543;await this[_0x43fb74(0xf9)]();const _0x140fa6=this[_0x43fb74(0x115)][_0x43fb74(0xec)];if(_0x3d73c3&&0x1===_0x222125[_0x43fb74(0xee)]&&_0x222125[0x0]['id']===_0x140fa6['id'])return _0x222125;for(const _0x535444 of _0x222125)_0x535444['id']===_0x140fa6['id']&&(_0x535444[_0x43fb74(0xe3)]=_0x535444[_0x43fb74(0x12a)]===_0x535444[_0x43fb74(0x114)]);return this[_0x43fb74(0xd9)][_0x43fb74(0xd6)](_0x222125,this[_0x43fb74(0x12e)])[_0x43fb74(0x146)](_0x562a10=>(this[_0x43fb74(0x12e)]=_0x562a10,_0x222125))[_0x43fb74(0x10e)](_0x458ffb=>{const _0x5de251=_0x43fb74;if(st(_0x458ffb)||_0x5de251(0xd3)===_0x458ffb[_0x5de251(0x122)]&&void 0x0!==_0x458ffb[_0x5de251(0x13c)][_0x5de251(0x129)]){for(const _0xd7a282 of _0x222125){!this[_0x5de251(0x115)][_0x5de251(0xd4)][_0x5de251(0x11e)](_0xd7a282['id'])||this[_0x5de251(0x115)][_0x5de251(0x11a)](_0xd7a282['id'],_0xd7a282,!0x1);}if(st(_0x458ffb))throw _0x458ffb;return _0x222125;}throw _0x458ffb;});}},this[_0x18a543(0x10c)](this[_0x18a543(0xd9)],_0x18a543(0x133),(_0x3022ec,{revisionsData:_0x3386c8,requestId:_0x453dc8})=>{const _0x36966b=_0x18a543;Math[_0x36966b(0xef)](..._0x3386c8[_0x36966b(0x124)](_0x24d276=>_0x24d276[_0x36966b(0x114)]))>this[_0x36966b(0xf0)]()-0x1?this[_0x36966b(0xf1)]()[_0x36966b(0x146)](()=>{const _0x13d48b=_0x36966b;this[_0x13d48b(0x100)](_0x3386c8,_0x453dc8);}):this[_0x36966b(0x100)](_0x3386c8,_0x453dc8);});const {revisions:_0x39376d,requestId:_0x2beed7}=await this[_0x18a543(0xd9)][_0x18a543(0x13d)](_0x44e4fe[_0x18a543(0x136)]);_0x44e4fe[_0x18a543(0xda)](this),this[_0x18a543(0x12e)]=_0x2beed7,await this[_0x18a543(0x12c)](_0x39376d);for(const _0x1b4009 of _0x39376d)this[_0x18a543(0x115)][_0x18a543(0xea)](_0x1b4009);this[_0x18a543(0x10c)](_0x51cf49,_0x18a543(0x111),(_0x57efd3,_0x1c8ae1,_0x284701)=>{const _0x2099b8=_0x18a543;_0x284701&&(this[_0x2099b8(0xed)]=_0x51cf49[_0x2099b8(0x10b)],_0x57efd3[_0x2099b8(0x13a)]());}),this[_0x18a543(0x115)][_0x18a543(0x128)](_0x18a543(0x144))['to'](_0x44e4fe,_0x18a543(0xeb),_0x3998ab=>_0x3998ab===_0xfd2f18[_0x18a543(0x10f)]);}async[_0x1b7ba3(0x102)](){const _0x4ce421=_0x1b7ba3,_0x4ffdd7=this[_0x4ce421(0x103)][_0x4ce421(0x130)][_0x4ce421(0xe5)](_0x38bd6c),_0x506569=this[_0x4ce421(0x103)][_0x4ce421(0x130)][_0x4ce421(0xe5)](_0x3dfbd1),_0x283b1d=async()=>{const _0x1be447=_0x4ce421,_0x300356=this[_0x1be447(0x115)][_0x1be447(0xec)],_0x1efb77=_0x300356['id'],_0x47c5d7=_0x1efb77!==_0x506569[_0x1be447(0x123)];if(_0x47c5d7){const _0x38c720=_0x506569[_0x1be447(0x10b)]-this[_0x1be447(0xed)],_0x2bbb4f=this[_0x1be447(0xf0)]();this[_0x1be447(0x115)][_0x1be447(0x119)][_0x1be447(0x11d)]();if(_0x300356[_0x1be447(0x114)]+_0x38c720!==_0x2bbb4f){const _0x2a9b06=_0x300356[_0x1be447(0x12a)]+_0x38c720,_0x1c1f88=this[_0x1be447(0x103)][_0x1be447(0x130)][_0x1be447(0xe5)](_0x555304),_0xaea07b=this[_0x1be447(0x115)][_0x1be447(0x104)]({'revision':_0x300356,'from':_0x2a9b06,'to':_0x2bbb4f});_0xaea07b['id']=_0x300356['id'];const _0x2dd828=_0xaea07b[_0x1be447(0x13b)][_0x1be447(0x124)](_0x5d9182=>_0x1c1f88[_0x1be447(0xe8)](_0x5d9182));_0x300356[_0x1be447(0x12f)]({..._0xaea07b,'authors':_0x2dd828},!0x0),this[_0x1be447(0x115)][_0x1be447(0x11a)](_0x300356['id'],_0xaea07b,!0x0);}this[_0x1be447(0x115)][_0x1be447(0xfe)]=_0x2bbb4f,(_0x300356[_0x1be447(0x114)]===_0x300356[_0x1be447(0x12a)]&&!this[_0x1be447(0x115)][_0x1be447(0x118)][_0x1be447(0x143)](_0x1efb77)&&this[_0x1be447(0x115)][_0x1be447(0xd4)][_0x1be447(0x12d)][_0x1be447(0x135)](_0x1efb77),this[_0x1be447(0x115)][_0x1be447(0x148)](_0x2bbb4f));}const {revisions:_0x33d721,requestId:_0x5854ec}=await this[_0x1be447(0xd9)][_0x1be447(0x102)](_0x4ffdd7[_0x1be447(0x136)],this[_0x1be447(0x12e)]);_0x47c5d7&&_0x33d721[_0x1be447(0xee)]>0x0?_0x506569[_0x1be447(0xdb)]():(await this[_0x1be447(0x12c)](_0x33d721),this[_0x1be447(0x100)](_0x33d721,_0x5854ec),this[_0x1be447(0x115)][_0x1be447(0xe9)]());};return _0x506569[_0x4ce421(0x138)]?_0x283b1d():new Promise((_0x3b503c,_0x390117)=>{const _0x3661fc=_0x4ce421;_0x506569[_0x3661fc(0x110)](_0x3661fc(0x111),()=>{const _0x24e1c2=_0x3661fc;_0x283b1d()[_0x24e1c2(0x146)](_0x3b503c)[_0x24e1c2(0x10e)](_0x390117);});});}[_0x1b7ba3(0x11b)](){const _0x3f41ac=_0x1b7ba3;super[_0x3f41ac(0x11b)]();}async[_0x1b7ba3(0xf9)](){const _0x4f00fd=_0x1b7ba3;this[_0x4f00fd(0xd9)][_0x4f00fd(0xe7)]||await new Promise(_0x16c8b9=>{const _0x4841bc=_0x4f00fd;this[_0x4841bc(0x10c)](this[_0x4841bc(0xd9)],_0x4841bc(0x10d),_0x4fc4e8=>{const _0x462054=_0x4841bc;_0x4fc4e8[_0x462054(0x13a)](),_0x16c8b9();});});}[_0x1b7ba3(0xf0)](){const _0x56e226=_0x1b7ba3,_0x245447=this[_0x56e226(0x103)][_0x56e226(0x130)][_0x56e226(0xe5)](_0x3dfbd1)[_0x56e226(0xdc)][_0x56e226(0x12b)]()[_0x56e226(0x132)]();for(const _0x3679b3 of _0x245447)if(_0x56e226(0xfb)!==_0x3679b3[_0x56e226(0x141)]||_0x3679b3[_0x56e226(0xfa)])return _0x3679b3[_0x56e226(0x101)]+0x1;}[_0x1b7ba3(0xf1)](){const _0x4c6702=_0x1b7ba3,_0x52df95=this[_0x4c6702(0x103)][_0x4c6702(0x130)][_0x4c6702(0xe5)](_0x3dfbd1);return new Promise(_0x3615fd=>{const _0x5599fb=_0x4c6702;_0x52df95[_0x5599fb(0xe0)]?_0x52df95[_0x5599fb(0x110)](_0x5599fb(0xe4),()=>{const _0x37a3c8=_0x5599fb;_0x3615fd(this[_0x37a3c8(0xf0)]());}):_0x3615fd(this[_0x5599fb(0xf0)]());});}[_0x1b7ba3(0x100)](_0xc5f0b8,_0x316f12){const _0x4157a=_0x1b7ba3,_0x753618=this[_0x4157a(0x115)][_0x4157a(0xd4)];this[_0x4157a(0x12e)]=_0x316f12;for(const _0x1cb7c1 of _0xc5f0b8){const _0x4c0912=_0x753618[_0x4157a(0x11e)](_0x1cb7c1['id']);if(_0x4c0912){if((_0x1cb7c1[_0x4157a(0x12a)]||_0x1cb7c1[_0x4157a(0x114)])&&(_0x1cb7c1[_0x4157a(0x108)]=null),_0x4c0912===this[_0x4157a(0x115)][_0x4157a(0xec)]){const _0x3f6fdb=Math[_0x4157a(0xef)](_0x4c0912[_0x4157a(0x114)],_0x1cb7c1[_0x4157a(0x114)]),_0x53297e=Math[_0x4157a(0xef)](_0x4c0912[_0x4157a(0x12a)],_0x1cb7c1[_0x4157a(0x12a)]);let _0x4da9c5;_0x4c0912[_0x4157a(0x114)]===_0x1cb7c1[_0x4157a(0x114)]&&_0x4c0912[_0x4157a(0x12a)]===_0x1cb7c1[_0x4157a(0x12a)]?(_0x4da9c5=!0x0,this[_0x4157a(0x117)](_0x1cb7c1)):_0x1cb7c1[_0x4157a(0x114)]===_0x3f6fdb&&_0x1cb7c1[_0x4157a(0x12a)]===_0x53297e?_0x4da9c5=!0x1:(_0x4c0912[_0x4157a(0x114)]===_0x3f6fdb&&_0x4c0912[_0x4157a(0x12a)]===_0x53297e||this[_0x4157a(0x121)]({'revision':_0x4c0912,'from':_0x53297e,'to':_0x3f6fdb}),_0x4da9c5=!0x0),_0x4da9c5&&(delete _0x1cb7c1[_0x4157a(0x12a)],delete _0x1cb7c1[_0x4157a(0x114)],delete _0x1cb7c1[_0x4157a(0x108)],delete _0x1cb7c1[_0x4157a(0x112)],delete _0x1cb7c1[_0x4157a(0x13b)]);}this[_0x4157a(0x115)][_0x4157a(0x142)](_0x1cb7c1),this[_0x4157a(0x117)](_0x1cb7c1);}else this[_0x4157a(0x115)][_0x4157a(0xea)](_0x1cb7c1);}const _0x316b58=_0x753618[_0x4157a(0x140)]();_0x316b58[_0x4157a(0x132)]();for(let _0x7d4d7f=0x0;_0x7d4d7f<_0x316b58[_0x4157a(0xee)]-0x1;_0x7d4d7f++){const _0x2853e2=_0x316b58[_0x7d4d7f],_0x562051=_0x316b58[_0x7d4d7f+0x1];if(_0x2853e2[_0x4157a(0x12a)]<_0x562051[_0x4157a(0x114)]){const _0x21dca8=_0x562051[_0x4157a(0x114)],_0x3c00ac=Math[_0x4157a(0xef)](_0x21dca8,_0x2853e2[_0x4157a(0x114)]);this[_0x4157a(0x121)]({'revision':_0x2853e2,'from':_0x21dca8,'to':_0x3c00ac});}}}[_0x1b7ba3(0x121)]({revision:_0x4da243,from:_0x24f495,to:_0x3b8ed7}={}){const _0x2c44c7=_0x1b7ba3,_0x2a67c3=this[_0x2c44c7(0x103)][_0x2c44c7(0x130)][_0x2c44c7(0xe5)](_0x555304),_0x57f6e3=this[_0x2c44c7(0x115)][_0x2c44c7(0x104)]({'revision':_0x4da243,'from':_0x24f495,'to':_0x3b8ed7});_0x57f6e3[_0x2c44c7(0xf3)]=_0x57f6e3[_0x2c44c7(0x13b)][_0x2c44c7(0x124)](_0x4c3546=>_0x2a67c3[_0x2c44c7(0xe8)](_0x4c3546)),_0x4da243[_0x2c44c7(0x12f)](_0x57f6e3);}[_0x1b7ba3(0x117)](_0x36272a){const _0x1622e0=_0x1b7ba3,_0x3f5bf3={};_0x3f5bf3['id']=_0x36272a['id'];for(const _0x5b08bd of Object[_0x1622e0(0xdd)](_0x36272a))'id'!==_0x5b08bd&&(_0x3f5bf3[_0x5b08bd]=void 0x0);this[_0x1622e0(0x115)][_0x1622e0(0x11a)](_0x3f5bf3['id'],_0x3f5bf3,!0x0);}async[_0x1b7ba3(0x12c)](_0x15ce33){const _0x5c1f51=_0x1b7ba3,_0x2b2ede=this[_0x5c1f51(0x103)][_0x5c1f51(0x130)][_0x5c1f51(0xe5)](_0x555304),{connection:_0x1cff35}=this[_0x5c1f51(0x103)][_0x5c1f51(0x130)][_0x5c1f51(0xe5)](_0x38bd6c),_0x386259=new Set();for(const _0x1606ff of _0x15ce33){for(const _0x96cf32 of _0x1606ff[_0x5c1f51(0x13b)])_0x508174(_0x96cf32);_0x1606ff[_0x5c1f51(0xfd)]&&_0x508174(_0x1606ff[_0x5c1f51(0xfd)]);}if(0x0===_0x386259[_0x5c1f51(0x126)])return;const _0xcbcd6f=await _0x1ae3a2[_0x5c1f51(0xe2)](_0x1cff35,Array[_0x5c1f51(0x131)](_0x386259));for(const _0x36c956 of _0xcbcd6f)_0x2b2ede[_0x5c1f51(0xe8)](_0x36c956['id'])||_0x2b2ede[_0x5c1f51(0x107)](_0x36c956);function _0x508174(_0x28c0d6){const _0x2978f6=_0x5c1f51;_0x2b2ede[_0x2978f6(0xe8)](_0x28c0d6)||_0x386259[_0x2978f6(0xf7)](_0x28c0d6);}}}u[_0x1b7ba3(0xfc)]=_0x23221e;export default u;function _0x3364(){const _0x4a9924=['_preventResendingRevisionData','_bufferedUpdates','_revisionDataBuilder','_bufferUpdate','destroy','8MnBOkz','reInit','getRevision','3892721ikreac','setSource','_fixRevision','code','sessionId','map','1501448wQbFMC','size','cloud-services-internal-error:\x20Not\x20connected.','bind','wrongRequestId','fromVersion','getOperations','_fetchMissingUsers','_revisions','_lastRequestId','_update','plugins','from','reverse','revisionsUpdated','518253RBGHCh','remove','connection','cloud-services-internal-error:\x20Request\x20timeout.','_isConnected','cloudServices.bundleVersion','off','authorsIds','data','connect','174pDVquy','20933495afYQbY','getRevisions','type','setRevisionData','has','isEnabled','collaboration.channelId','then','init','_createCurrentRevision','400','repository','12RMCDfX','updateRevisions','isOfficialPlugin','81RgIVra','_revisionHistoryService','addToReconnectionStack','_handleReconnectionError','serverHistory','keys','isBundleUploaded','RevisionTracker','_isPendingUpdate','21254KELlkI','getMany','isEmptyCurrent','change:_isPendingUpdate','get','isPremiumPlugin','isConnected','getUser','sendBufferedUpdates','addRevisionData','state','currentRevision','_oldOffset','length','max','_getLatestVersionFromServerOperations','_getLatestVersion','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','authors','startsWith','adapter','config','add','10qtNpmU','_waitForServiceReady','affectsData','marker','RevisionHistoryService','creatorId','_startingVersion','requires','_handleRevisionsUpdate','baseVersion','reconnect','editor','buildRevisionData','29335ZjqeYN','message','addUser','diffData','28VGkhBh','5841243wdwpqT','_offset','listenTo','connected','catch','CONNECTED','once','change:_isConnected','createdAt','CloudServicesRevisionHistoryAdapter','toVersion','_revisionTracker','pluginName'];_0x3364=function(){return _0x4a9924;};return _0x3364();}function st(_0x3b90e2){const _0x217c00=_0x1b7ba3;return _0x3b90e2[_0x217c00(0x106)][_0x217c00(0xf4)](_0x217c00(0xf2))||_0x3b90e2[_0x217c00(0x106)][_0x217c00(0xf4)](_0x217c00(0x127))||_0x3b90e2[_0x217c00(0x106)][_0x217c00(0xf4)](_0x217c00(0x137));}
|
|
23
|
+
const _0x2d20d8=_0x44b6;(function(_0x4ed843,_0x4fb5ee){const _0x13541b=_0x44b6,_0x525e19=_0x4ed843();while(!![]){try{const _0xe721b=parseInt(_0x13541b(0x17f))/0x1+-parseInt(_0x13541b(0x160))/0x2*(parseInt(_0x13541b(0x145))/0x3)+-parseInt(_0x13541b(0x170))/0x4*(parseInt(_0x13541b(0x138))/0x5)+parseInt(_0x13541b(0x16a))/0x6*(-parseInt(_0x13541b(0x18f))/0x7)+-parseInt(_0x13541b(0x16e))/0x8+parseInt(_0x13541b(0x13a))/0x9*(parseInt(_0x13541b(0x142))/0xa)+-parseInt(_0x13541b(0x13f))/0xb*(-parseInt(_0x13541b(0x12c))/0xc);if(_0xe721b===_0x4fb5ee)break;else _0x525e19['push'](_0x525e19['shift']());}catch(_0x28844f){_0x525e19['push'](_0x525e19['shift']());}}}(_0x4e48,0x9a330));import{Plugin as _0x348d32}from'ckeditor5/src/core.js';function _0x44b6(_0x2245bd,_0x2d69fd){const _0x4e48ba=_0x4e48();return _0x44b6=function(_0x44b61e,_0xf6a553){_0x44b61e=_0x44b61e-0x125;let _0x4c2fb3=_0x4e48ba[_0x44b61e];return _0x4c2fb3;},_0x44b6(_0x2245bd,_0x2d69fd);}import{version as _0x268008}from'ckeditor5/src/utils.js';import{Users as _0x8827f}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2da786 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x16cdcb from'../realtimecollaborativeediting/websocketgateway.js';import _0x25ac47 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x17df9a,RevisionHistoryService as _0x3a4ca7,User as _0x53b607,WEB_SOCKET_GATEWAY_STATES as _0x273967}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x4e48(){const _0x19edbb=['authors','_lastRequestId','connect','_handleRevisionsUpdate','11478luubkB','buildRevisionData','isConnected','requires','7609512apObjy','destroy','771944UwkcgR','from','_createCurrentRevision','sessionId','marker','creatorId','init','add','cloud-services-internal-error:\x20Request\x20timeout.','listenTo','reverse','pluginName','_handleReconnectionError','editor','_revisionDataBuilder','1113229uXFTBg','off','baseVersion','message','_offset','addRevisionData','map','getRevisions','reconnect','revisionsUpdated','repository','_startingVersion','_bufferedUpdates','type','adapter','connected','3661yuwrja','isEnabled','remove','_oldOffset','length','bind','_fetchMissingUsers','getOperations','size','state','wrongRequestId','_bufferUpdate','setSource','_revisionTracker','reInit','toVersion','plugins','_getLatestVersionFromServerOperations','844188PIXcOe','once','getUser','authorsIds','currentRevision','updateRevisions','getRevision','keys','max','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','catch','config','15GhWNSu','_revisionHistoryService','171rOZYkm','isEmptyCurrent','CloudServicesRevisionHistoryAdapter','change:_isConnected','cloudServices.bundleVersion','341NpouKh','connection','_getLatestVersion','522280GMNocM','_update','createdAt','306582TRNRuO','_fixRevision','RevisionHistoryService','isPremiumPlugin','serverHistory','setRevisionData','isBundleUploaded','has','addUser','then','RevisionTracker','CONNECTED','collaboration.channelId','addToReconnectionStack','isOfficialPlugin','_revisions','sendBufferedUpdates','_isPendingUpdate','startsWith','get','data','cloud-services-internal-error:\x20Not\x20connected.','_waitForServiceReady','affectsData','code','fromVersion','change:_isPendingUpdate','22zPRblY','400','getMany','_preventResendingRevisionData','diffData','_isConnected'];_0x4e48=function(){return _0x19edbb;};return _0x4e48();}class u extends _0x348d32{static get[_0x2d20d8(0x16d)](){const _0x187397=_0x2d20d8;return[_0x16cdcb,_0x2da786,_0x187397(0x14f),_0x25ac47,_0x8827f];}static get[_0x2d20d8(0x17b)](){const _0x2faedf=_0x2d20d8;return _0x2faedf(0x13c);}static get[_0x2d20d8(0x153)](){return!0x0;}static get[_0x2d20d8(0x148)](){return!0x0;}constructor(_0x24de68){const _0x3c6ce5=_0x2d20d8;super(_0x24de68);const _0xaf770b=this[_0x3c6ce5(0x17d)][_0x3c6ce5(0x137)][_0x3c6ce5(0x158)](_0x3c6ce5(0x151));this[_0x3c6ce5(0x167)]=null,this[_0x3c6ce5(0x127)]=this[_0x3c6ce5(0x17d)][_0x3c6ce5(0x12a)][_0x3c6ce5(0x158)](_0x3c6ce5(0x14f)),this[_0x3c6ce5(0x139)]=new u[(_0x3c6ce5(0x147))](_0xaf770b);}async[_0x2d20d8(0x176)](){const _0x1e32ca=_0x2d20d8,_0x306663=this[_0x1e32ca(0x17d)][_0x1e32ca(0x12a)][_0x1e32ca(0x158)](_0x2da786),_0x42ce14=_0x306663[_0x1e32ca(0x149)],_0x438597=this[_0x1e32ca(0x17d)][_0x1e32ca(0x12a)][_0x1e32ca(0x158)](_0x16cdcb);this[_0x1e32ca(0x127)][_0x1e32ca(0x126)]({'history':_0x42ce14,'getLatestVersion':()=>this[_0x1e32ca(0x141)](),'getCurrentRevisionId':()=>_0x306663[_0x1e32ca(0x173)]});const _0xe4aefc=this[_0x1e32ca(0x17d)][_0x1e32ca(0x137)][_0x1e32ca(0x158)](_0x1e32ca(0x13e))||_0x268008,_0x5059e8=await _0x17df9a[_0x1e32ca(0x14b)](_0x438597[_0x1e32ca(0x140)],_0xe4aefc);this[_0x1e32ca(0x127)][_0x1e32ca(0x18d)]={'getRevision':async({revisionId:_0x208481})=>(await this[_0x1e32ca(0x15b)](),await this[_0x1e32ca(0x139)][_0x1e32ca(0x132)](_0x208481)),'updateRevisions':async _0x33fb54=>{const _0x5d46ec=_0x1e32ca;await this[_0x5d46ec(0x15b)]();const _0x4d2c80=this[_0x5d46ec(0x127)][_0x5d46ec(0x130)];if(_0x5059e8&&0x1===_0x33fb54[_0x5d46ec(0x193)]&&_0x33fb54[0x0]['id']===_0x4d2c80['id'])return _0x33fb54;for(const _0x268921 of _0x33fb54)_0x268921['id']===_0x4d2c80['id']&&(_0x268921[_0x5d46ec(0x13b)]=_0x268921[_0x5d46ec(0x15e)]===_0x268921[_0x5d46ec(0x129)]);return this[_0x5d46ec(0x139)][_0x5d46ec(0x131)](_0x33fb54,this[_0x5d46ec(0x167)])[_0x5d46ec(0x14e)](_0x430d27=>(this[_0x5d46ec(0x167)]=_0x430d27,_0x33fb54))[_0x5d46ec(0x136)](_0x4594ec=>{const _0x5ec305=_0x5d46ec;if(it(_0x4594ec)||_0x5ec305(0x161)===_0x4594ec[_0x5ec305(0x15d)]&&void 0x0!==_0x4594ec[_0x5ec305(0x159)][_0x5ec305(0x199)]){for(const _0x4fd8d9 of _0x33fb54){!this[_0x5ec305(0x127)][_0x5ec305(0x189)][_0x5ec305(0x132)](_0x4fd8d9['id'])||this[_0x5ec305(0x127)][_0x5ec305(0x125)](_0x4fd8d9['id'],_0x4fd8d9,!0x1);}if(it(_0x4594ec))throw _0x4594ec;return _0x33fb54;}throw _0x4594ec;});}},this[_0x1e32ca(0x179)](this[_0x1e32ca(0x139)],_0x1e32ca(0x188),(_0x4922ba,{revisionsData:_0x14fee3,requestId:_0x9f8d2e})=>{const _0xee5980=_0x1e32ca;Math[_0xee5980(0x134)](..._0x14fee3[_0xee5980(0x185)](_0x16a988=>_0x16a988[_0xee5980(0x129)]))>this[_0xee5980(0x12b)]()-0x1?this[_0xee5980(0x141)]()[_0xee5980(0x14e)](()=>{const _0x296fb1=_0xee5980;this[_0x296fb1(0x169)](_0x14fee3,_0x9f8d2e);}):this[_0xee5980(0x169)](_0x14fee3,_0x9f8d2e);});const {revisions:_0x123e64,requestId:_0x2e83dd}=await this[_0x1e32ca(0x139)][_0x1e32ca(0x168)](_0x438597[_0x1e32ca(0x140)]);_0x438597[_0x1e32ca(0x152)](this),this[_0x1e32ca(0x167)]=_0x2e83dd,await this[_0x1e32ca(0x195)](_0x123e64);for(const _0xea3173 of _0x123e64)this[_0x1e32ca(0x127)][_0x1e32ca(0x184)](_0xea3173);this[_0x1e32ca(0x179)](_0x306663,_0x1e32ca(0x13d),(_0x4439f1,_0x46c8e8,_0x193925)=>{const _0x18173b=_0x1e32ca;_0x193925&&(this[_0x18173b(0x192)]=_0x306663[_0x18173b(0x183)],_0x4439f1[_0x18173b(0x180)]());}),this[_0x1e32ca(0x127)][_0x1e32ca(0x194)](_0x1e32ca(0x190))['to'](_0x438597,_0x1e32ca(0x198),_0x4e7184=>_0x4e7184===_0x273967[_0x1e32ca(0x150)]);}async[_0x2d20d8(0x187)](){const _0x53d414=_0x2d20d8,_0x20ebe5=this[_0x53d414(0x17d)][_0x53d414(0x12a)][_0x53d414(0x158)](_0x16cdcb),_0x517e52=this[_0x53d414(0x17d)][_0x53d414(0x12a)][_0x53d414(0x158)](_0x2da786),_0x1f54f9=async()=>{const _0x2c4f75=_0x53d414,_0x187760=this[_0x2c4f75(0x127)][_0x2c4f75(0x130)],_0x30b620=_0x187760['id'],_0x3aa2da=_0x30b620!==_0x517e52[_0x2c4f75(0x173)];if(_0x3aa2da){const _0x3addb5=_0x517e52[_0x2c4f75(0x183)]-this[_0x2c4f75(0x192)],_0x58f67c=this[_0x2c4f75(0x12b)]();this[_0x2c4f75(0x127)][_0x2c4f75(0x17e)][_0x2c4f75(0x128)]();if(_0x187760[_0x2c4f75(0x129)]+_0x3addb5!==_0x58f67c){const _0x4a69df=_0x187760[_0x2c4f75(0x15e)]+_0x3addb5,_0x494f49=this[_0x2c4f75(0x17d)][_0x2c4f75(0x12a)][_0x2c4f75(0x158)](_0x8827f),_0x273084=this[_0x2c4f75(0x127)][_0x2c4f75(0x16b)]({'revision':_0x187760,'from':_0x4a69df,'to':_0x58f67c});_0x273084['id']=_0x187760['id'];const _0x371849=_0x273084[_0x2c4f75(0x12f)][_0x2c4f75(0x185)](_0x59a6a5=>_0x494f49[_0x2c4f75(0x12e)](_0x59a6a5));_0x187760[_0x2c4f75(0x143)]({..._0x273084,'authors':_0x371849},!0x0),this[_0x2c4f75(0x127)][_0x2c4f75(0x125)](_0x187760['id'],_0x273084,!0x0);}this[_0x2c4f75(0x127)][_0x2c4f75(0x18a)]=_0x58f67c,(_0x187760[_0x2c4f75(0x129)]===_0x187760[_0x2c4f75(0x15e)]&&!this[_0x2c4f75(0x127)][_0x2c4f75(0x18b)][_0x2c4f75(0x14c)](_0x30b620)&&this[_0x2c4f75(0x127)][_0x2c4f75(0x189)][_0x2c4f75(0x154)][_0x2c4f75(0x191)](_0x30b620),this[_0x2c4f75(0x127)][_0x2c4f75(0x172)](_0x58f67c));}const {revisions:_0x18ff6d,requestId:_0x39f5bd}=await this[_0x2c4f75(0x139)][_0x2c4f75(0x187)](_0x20ebe5[_0x2c4f75(0x140)],this[_0x2c4f75(0x167)]);_0x3aa2da&&_0x18ff6d[_0x2c4f75(0x193)]>0x0?_0x517e52[_0x2c4f75(0x17c)]():(await this[_0x2c4f75(0x195)](_0x18ff6d),this[_0x2c4f75(0x169)](_0x18ff6d,_0x39f5bd),this[_0x2c4f75(0x127)][_0x2c4f75(0x155)]());};return _0x517e52[_0x53d414(0x165)]?_0x1f54f9():new Promise((_0x152d34,_0x449f83)=>{const _0x1a5cb2=_0x53d414;_0x517e52[_0x1a5cb2(0x12d)](_0x1a5cb2(0x13d),()=>{const _0x29fa97=_0x1a5cb2;_0x1f54f9()[_0x29fa97(0x14e)](_0x152d34)[_0x29fa97(0x136)](_0x449f83);});});}[_0x2d20d8(0x16f)](){const _0x52089b=_0x2d20d8;super[_0x52089b(0x16f)]();}async[_0x2d20d8(0x15b)](){const _0x564524=_0x2d20d8;this[_0x564524(0x139)][_0x564524(0x16c)]||await new Promise(_0x39bcce=>{const _0x14bbdd=_0x564524;this[_0x14bbdd(0x179)](this[_0x14bbdd(0x139)],_0x14bbdd(0x18e),_0x193cb6=>{const _0x182f39=_0x14bbdd;_0x193cb6[_0x182f39(0x180)](),_0x39bcce();});});}[_0x2d20d8(0x12b)](){const _0x2eb814=_0x2d20d8,_0x4a27eb=this[_0x2eb814(0x17d)][_0x2eb814(0x12a)][_0x2eb814(0x158)](_0x2da786)[_0x2eb814(0x149)][_0x2eb814(0x196)]()[_0x2eb814(0x17a)]();for(const _0x4f2f72 of _0x4a27eb)if(_0x2eb814(0x174)!==_0x4f2f72[_0x2eb814(0x18c)]||_0x4f2f72[_0x2eb814(0x15c)])return _0x4f2f72[_0x2eb814(0x181)]+0x1;}[_0x2d20d8(0x141)](){const _0x43c84c=_0x2d20d8,_0xe6b4b7=this[_0x43c84c(0x17d)][_0x43c84c(0x12a)][_0x43c84c(0x158)](_0x2da786);return new Promise(_0x35f0f3=>{const _0x5eda56=_0x43c84c;_0xe6b4b7[_0x5eda56(0x156)]?_0xe6b4b7[_0x5eda56(0x12d)](_0x5eda56(0x15f),()=>{const _0x2677ce=_0x5eda56;_0x35f0f3(this[_0x2677ce(0x12b)]());}):_0x35f0f3(this[_0x5eda56(0x12b)]());});}[_0x2d20d8(0x169)](_0x443761,_0x581c7c){const _0x295d3a=_0x2d20d8,_0x1388c7=this[_0x295d3a(0x127)][_0x295d3a(0x189)];this[_0x295d3a(0x167)]=_0x581c7c;for(const _0x386787 of _0x443761){const _0x67af76=_0x1388c7[_0x295d3a(0x132)](_0x386787['id']);if(_0x67af76){if((_0x386787[_0x295d3a(0x15e)]||_0x386787[_0x295d3a(0x129)])&&(_0x386787[_0x295d3a(0x164)]=null),_0x67af76===this[_0x295d3a(0x127)][_0x295d3a(0x130)]){const _0x1ec084=Math[_0x295d3a(0x134)](_0x67af76[_0x295d3a(0x129)],_0x386787[_0x295d3a(0x129)]),_0x3a7748=Math[_0x295d3a(0x134)](_0x67af76[_0x295d3a(0x15e)],_0x386787[_0x295d3a(0x15e)]);let _0x125f71;_0x67af76[_0x295d3a(0x129)]===_0x386787[_0x295d3a(0x129)]&&_0x67af76[_0x295d3a(0x15e)]===_0x386787[_0x295d3a(0x15e)]?(_0x125f71=!0x0,this[_0x295d3a(0x163)](_0x386787)):_0x386787[_0x295d3a(0x129)]===_0x1ec084&&_0x386787[_0x295d3a(0x15e)]===_0x3a7748?_0x125f71=!0x1:(_0x67af76[_0x295d3a(0x129)]===_0x1ec084&&_0x67af76[_0x295d3a(0x15e)]===_0x3a7748||this[_0x295d3a(0x146)]({'revision':_0x67af76,'from':_0x3a7748,'to':_0x1ec084}),_0x125f71=!0x0),_0x125f71&&(delete _0x386787[_0x295d3a(0x15e)],delete _0x386787[_0x295d3a(0x129)],delete _0x386787[_0x295d3a(0x164)],delete _0x386787[_0x295d3a(0x144)],delete _0x386787[_0x295d3a(0x12f)]);}this[_0x295d3a(0x127)][_0x295d3a(0x14a)](_0x386787),this[_0x295d3a(0x163)](_0x386787);}else this[_0x295d3a(0x127)][_0x295d3a(0x184)](_0x386787);}const _0x3c5fb6=_0x1388c7[_0x295d3a(0x186)]();_0x3c5fb6[_0x295d3a(0x17a)]();for(let _0x5705f4=0x0;_0x5705f4<_0x3c5fb6[_0x295d3a(0x193)]-0x1;_0x5705f4++){const _0x363a92=_0x3c5fb6[_0x5705f4],_0x2c6bc3=_0x3c5fb6[_0x5705f4+0x1];if(_0x363a92[_0x295d3a(0x15e)]<_0x2c6bc3[_0x295d3a(0x129)]){const _0x206bb8=_0x2c6bc3[_0x295d3a(0x129)],_0x4349aa=Math[_0x295d3a(0x134)](_0x206bb8,_0x363a92[_0x295d3a(0x129)]);this[_0x295d3a(0x146)]({'revision':_0x363a92,'from':_0x206bb8,'to':_0x4349aa});}}}[_0x2d20d8(0x146)]({revision:_0x9409fe,from:_0x1d58af,to:_0x3bf45e}={}){const _0x3274dc=_0x2d20d8,_0x22a6bf=this[_0x3274dc(0x17d)][_0x3274dc(0x12a)][_0x3274dc(0x158)](_0x8827f),_0x564d18=this[_0x3274dc(0x127)][_0x3274dc(0x16b)]({'revision':_0x9409fe,'from':_0x1d58af,'to':_0x3bf45e});_0x564d18[_0x3274dc(0x166)]=_0x564d18[_0x3274dc(0x12f)][_0x3274dc(0x185)](_0x4ae46=>_0x22a6bf[_0x3274dc(0x12e)](_0x4ae46)),_0x9409fe[_0x3274dc(0x143)](_0x564d18);}[_0x2d20d8(0x163)](_0x498581){const _0x51903e=_0x2d20d8,_0x25e532={};_0x25e532['id']=_0x498581['id'];for(const _0x2ff575 of Object[_0x51903e(0x133)](_0x498581))'id'!==_0x2ff575&&(_0x25e532[_0x2ff575]=void 0x0);this[_0x51903e(0x127)][_0x51903e(0x125)](_0x25e532['id'],_0x25e532,!0x0);}async[_0x2d20d8(0x195)](_0x3b2add){const _0x1f1a7c=_0x2d20d8,_0xeb3d62=this[_0x1f1a7c(0x17d)][_0x1f1a7c(0x12a)][_0x1f1a7c(0x158)](_0x8827f),{connection:_0x1669b3}=this[_0x1f1a7c(0x17d)][_0x1f1a7c(0x12a)][_0x1f1a7c(0x158)](_0x16cdcb),_0x1e1353=new Set();for(const _0x1fb076 of _0x3b2add){for(const _0x524109 of _0x1fb076[_0x1f1a7c(0x12f)])_0x1cea9b(_0x524109);_0x1fb076[_0x1f1a7c(0x175)]&&_0x1cea9b(_0x1fb076[_0x1f1a7c(0x175)]);}if(0x0===_0x1e1353[_0x1f1a7c(0x197)])return;const _0x441c27=await _0x53b607[_0x1f1a7c(0x162)](_0x1669b3,Array[_0x1f1a7c(0x171)](_0x1e1353));for(const _0x51ddb6 of _0x441c27)_0xeb3d62[_0x1f1a7c(0x12e)](_0x51ddb6['id'])||_0xeb3d62[_0x1f1a7c(0x14d)](_0x51ddb6);function _0x1cea9b(_0x504d2e){const _0x33ab5f=_0x1f1a7c;_0xeb3d62[_0x33ab5f(0x12e)](_0x504d2e)||_0x1e1353[_0x33ab5f(0x177)](_0x504d2e);}}}u[_0x2d20d8(0x147)]=_0x3a4ca7;export default u;function it(_0x25aae7){const _0x53bf84=_0x2d20d8;return _0x25aae7[_0x53bf84(0x182)][_0x53bf84(0x157)](_0x53bf84(0x135))||_0x25aae7[_0x53bf84(0x182)][_0x53bf84(0x157)](_0x53bf84(0x15a))||_0x25aae7[_0x53bf84(0x182)][_0x53bf84(0x157)](_0x53bf84(0x178));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x236f9a=_0x4b8a;(function(_0x3090dc,_0x518d29){const _0x5075d3=_0x4b8a,_0x224c37=_0x3090dc();while(!![]){try{const _0x41485a=-parseInt(_0x5075d3(0x214))/0x1*(-parseInt(_0x5075d3(0x220))/0x2)+-parseInt(_0x5075d3(0x225))/0x3*(-parseInt(_0x5075d3(0x1ff))/0x4)+-parseInt(_0x5075d3(0x1f9))/0x5+parseInt(_0x5075d3(0x215))/0x6+-parseInt(_0x5075d3(0x217))/0x7*(-parseInt(_0x5075d3(0x209))/0x8)+parseInt(_0x5075d3(0x218))/0x9*(parseInt(_0x5075d3(0x1f3))/0xa)+-parseInt(_0x5075d3(0x20b))/0xb;if(_0x41485a===_0x518d29)break;else _0x224c37['push'](_0x224c37['shift']());}catch(_0xb57a2a){_0x224c37['push'](_0x224c37['shift']());}}}(_0x397b,0x7cce5));import{Plugin as _0x98a438}from'ckeditor5/src/core.js';import{User as _0xaa9baf,TrackChangesService as _0x2cfcfa}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x1b0963 from'../realtimecollaborativeediting/websocketgateway.js';import _0x5c610f from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x117fc8}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x98a438{static get[_0x236f9a(0x205)](){const _0x53f3ac=_0x236f9a;return[_0x5c610f,_0x53f3ac(0x20e),_0x1b0963];}static get[_0x236f9a(0x20c)](){const _0x27d665=_0x236f9a;return _0x27d665(0x1fc);}static get[_0x236f9a(0x22e)](){return!0x0;}static get[_0x236f9a(0x208)](){return!0x0;}constructor(_0x5be7d9){const _0x27f6ea=_0x236f9a;super(_0x5be7d9);const _0x48cc09=this[_0x27f6ea(0x1fa)][_0x27f6ea(0x1fb)][_0x27f6ea(0x210)](_0x27f6ea(0x219));this[_0x27f6ea(0x22f)]=new Map(),this[_0x27f6ea(0x22a)]=new f[(_0x27f6ea(0x1fd))](_0x48cc09);}[_0x236f9a(0x211)](){const _0x5a190d=_0x236f9a,_0x444270=this[_0x5a190d(0x1fa)][_0x5a190d(0x203)][_0x5a190d(0x210)](_0x1b0963),_0x28b542=this[_0x5a190d(0x1fa)][_0x5a190d(0x203)][_0x5a190d(0x210)](_0x5a190d(0x20e));return _0x28b542[_0x5a190d(0x221)]={'getSuggestion':async _0x2c67ea=>{const _0x30abb7=_0x5a190d;await this[_0x30abb7(0x21d)]();const _0x4c7080=await this[_0x30abb7(0x22a)][_0x30abb7(0x210)](_0x2c67ea)[_0x30abb7(0x21e)](st);return await this[_0x30abb7(0x20f)]([_0x4c7080]),_0x4c7080;},'addSuggestion':async({id:_0x26eb24,type:_0x285082,data:_0xa54e21,originalSuggestionId:_0x5771b3,attributes:_0x423bb7})=>{const _0x6f7c50=_0x5a190d;await this[_0x6f7c50(0x21d)]();const _0x1a68f5={'id':_0x26eb24,'type':_0x285082,'data':_0xa54e21,'originalSuggestionId':_0x5771b3,'attributes':_0x423bb7},_0x44c4f9=await this[_0x6f7c50(0x22a)][_0x6f7c50(0x1f6)](_0x26eb24,_0x285082,_0xa54e21,_0x5771b3,_0x423bb7)[_0x6f7c50(0x21e)](_0x147f51=>{if(it(_0x147f51))return new Promise(_0x1ccc04=>{const _0x4df528=_0x4b8a;this[_0x4df528(0x22f)][_0x4df528(0x1f0)](_0x26eb24,{'resolve':_0x1ccc04,'suggestionData':_0x1a68f5});});throw _0x147f51;});return this[_0x6f7c50(0x22f)][_0x6f7c50(0x1f1)](_0x26eb24),_0x44c4f9;},'updateSuggestion':async(_0x301115,_0x32d606)=>{const _0x2db91c=_0x5a190d;if(await this[_0x2db91c(0x21d)](),_0x2db91c(0x216)!==_0x32d606[_0x2db91c(0x200)])return this[_0x2db91c(0x22a)][_0x2db91c(0x1ef)](_0x301115,_0x32d606)[_0x2db91c(0x21e)](st);}},this[_0x5a190d(0x1f8)](this[_0x5a190d(0x22a)],_0x5a190d(0x1f5),(_0x1528be,_0x5587d6)=>{const _0xc3d6a4=_0x5a190d;_0x28b542[_0xc3d6a4(0x21a)](_0x5587d6['id'])&&(_0x28b542[_0xc3d6a4(0x21c)](_0x5587d6['id'])[_0xc3d6a4(0x1f7)]=_0x5587d6[_0xc3d6a4(0x1f7)]);}),this[_0x5a190d(0x22a)][_0x5a190d(0x20a)](_0x444270[_0x5a190d(0x212)])[_0x5a190d(0x228)](_0x2a9d01=>(_0x444270[_0x5a190d(0x1f2)](this),this[_0x5a190d(0x20f)](_0x2a9d01)[_0x5a190d(0x228)](()=>{const _0x16ef6a=_0x5a190d;for(const _0x4171f2 of _0x2a9d01){_0x28b542[_0x16ef6a(0x227)](_0x4171f2)[_0x16ef6a(0x1fe)]=!0x0;}})));}async[_0x236f9a(0x223)](){const _0x29e0a3=_0x236f9a,_0x471421=this[_0x29e0a3(0x1fa)][_0x29e0a3(0x203)][_0x29e0a3(0x210)](_0x29e0a3(0x20e)),{connection:_0x1717bc}=this[_0x29e0a3(0x1fa)][_0x29e0a3(0x203)][_0x29e0a3(0x210)](_0x1b0963),_0x4ddcf3=await this[_0x29e0a3(0x22a)][_0x29e0a3(0x20a)](_0x1717bc);await this[_0x29e0a3(0x20f)](_0x4ddcf3);for(const {suggestionData:_0x1af61e,resolve:_0x452b19}of this[_0x29e0a3(0x22f)][_0x29e0a3(0x207)]()){let _0x4d3626=_0x4ddcf3[_0x29e0a3(0x22d)](_0x40a3cb=>_0x40a3cb['id']===_0x1af61e['id']);_0x4d3626||(_0x4d3626=await this[_0x29e0a3(0x22a)][_0x29e0a3(0x1f6)](_0x1af61e['id'],_0x1af61e[_0x29e0a3(0x201)],_0x1af61e[_0x29e0a3(0x213)],_0x1af61e[_0x29e0a3(0x206)])),_0x452b19(_0x4d3626);}for(const _0x8f2305 of _0x4ddcf3)_0x471421[_0x29e0a3(0x21a)](_0x8f2305['id'])||_0x471421[_0x29e0a3(0x227)](_0x8f2305);}async[_0x236f9a(0x21d)](){const _0x52b162=_0x236f9a;this[_0x52b162(0x22a)][_0x52b162(0x21b)]||await new Promise(_0x3d3571=>{const _0x935d45=_0x52b162;this[_0x935d45(0x1f8)](this[_0x935d45(0x22a)],_0x935d45(0x226),_0xb455c3=>{const _0x344ca1=_0x935d45;_0xb455c3[_0x344ca1(0x22b)](),_0x3d3571();});});}async[_0x236f9a(0x20f)](_0x373e94){const _0x5d6218=_0x236f9a,_0x304855=this[_0x5d6218(0x1fa)][_0x5d6218(0x203)][_0x5d6218(0x210)](_0x117fc8),{connection:_0x7367c4}=this[_0x5d6218(0x1fa)][_0x5d6218(0x203)][_0x5d6218(0x210)](_0x1b0963),_0x3d7495=new Set();for(const {authorId:_0x42efcc}of _0x373e94)_0x304855[_0x5d6218(0x229)](_0x42efcc)||_0x3d7495[_0x5d6218(0x1f6)](_0x42efcc);if(0x0===_0x3d7495[_0x5d6218(0x204)])return;const _0x1ce95f=await _0xaa9baf[_0x5d6218(0x202)](_0x7367c4,Array[_0x5d6218(0x1f4)](_0x3d7495));for(const _0x3fff5c of _0x1ce95f)_0x304855[_0x5d6218(0x229)](_0x3fff5c['id'])||_0x304855[_0x5d6218(0x22c)](_0x3fff5c);}}function _0x4b8a(_0x67ad4d,_0x57e915){const _0x397b7f=_0x397b();return _0x4b8a=function(_0x4b8ab6,_0x5d6c0b){_0x4b8ab6=_0x4b8ab6-0x1ef;let _0x7ac5a1=_0x397b7f[_0x4b8ab6];return _0x7ac5a1;},_0x4b8a(_0x67ad4d,_0x57e915);}f[_0x236f9a(0x1fd)]=_0x2cfcfa;function _0x397b(){const _0x182e4d=['find','isOfficialPlugin','_bufferedRequests','update','set','delete','addToReconnectionStack','4042950hjRlkQ','from','suggestionUpdated','add','attributes','listenTo','500520fEksEs','editor','config','CloudServicesTrackChangesAdapter','TrackChangesService','_saved','16mKEZhr','state','type','getMany','plugins','size','requires','originalSuggestionId','values','isPremiumPlugin','2235640sDwVxz','connect','25598925mehawr','pluginName','message','TrackChangesEditing','_fetchMissingUsersForThreads','get','init','connection','data','42035Vgvnho','1656342MkmIdf','open','14pVlHoo','18ViEdTy','collaboration.channelId','hasSuggestion','isConnected','getSuggestion','_waitForServiceReady','catch','cloud-services-internal-error:\x20Request\x20timeout.','34YRpYAy','adapter','cloud-services-internal-error:\x20Not\x20connected.','reconnect','startsWith','435249tnAWed','connected','addSuggestionData','then','getUser','_trackChangesService','off','addUser'];_0x397b=function(){return _0x182e4d;};return _0x397b();}export default f;function st(_0x50b866){if(it(_0x50b866))return new Promise(()=>{});throw _0x50b866;}function it(_0x2f738a){const _0x3e562c=_0x236f9a;return _0x2f738a[_0x3e562c(0x20d)][_0x3e562c(0x224)](_0x3e562c(0x222))||_0x2f738a[_0x3e562c(0x20d)][_0x3e562c(0x224)](_0x3e562c(0x21f));}
|