@ckeditor/ckeditor5-real-time-collaboration 45.0.0-alpha.4 → 45.0.0-alpha.5
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 +14 -14
- package/src/presencelist/presencelistui.js +1 -1
- 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/presencelistview.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3837f9=_0x496d;(function(_0x34ce2,_0x58976e){const _0x35a4f5=_0x496d,_0x1650af=_0x34ce2();while(!![]){try{const _0xe3102c=parseInt(_0x35a4f5(0xe1))/0x1+-parseInt(_0x35a4f5(0xe5))/0x2*(-parseInt(_0x35a4f5(0xbd))/0x3)+-parseInt(_0x35a4f5(0xda))/0x4*(-parseInt(_0x35a4f5(0xf0))/0x5)+-parseInt(_0x35a4f5(0xc8))/0x6*(parseInt(_0x35a4f5(0xcb))/0x7)+parseInt(_0x35a4f5(0xb6))/0x8*(-parseInt(_0x35a4f5(0xd0))/0x9)+-parseInt(_0x35a4f5(0xcd))/0xa*(-parseInt(_0x35a4f5(0xbb))/0xb)+-parseInt(_0x35a4f5(0xba))/0xc;if(_0xe3102c===_0x58976e)break;else _0x1650af['push'](_0x1650af['shift']());}catch(_0x34746f){_0x1650af['push'](_0x1650af['shift']());}}}(_0x5a0a,0x75e7a));import{ContextPlugin as _0x29ef08}from'ckeditor5/src/core.js';function _0x5a0a(){const _0x30fdac=['_handleSessionAdd','stopListening','defineMe','role','channelSessions','318vmhktC','assign','addUser','69307NLtiEn','connected','10qSGopU','clear','user','18PheQHP','channelConnectedUsers','getUserRole','has','_uniqueUsersCount','init','register','values','connection','sessionAdd:','172tlXFQf','_users','size','change:state','plugins','requires','isMe','114272PKSSTq','isOfficialPlugin','sessions-unregister-not-exist','unregister','128330sghrzT','delete','isPremiumPlugin','_createUser','remove','orderNumber','sessionId','add','getUserSessions','_handleSessionRemove','fire','4675sXxxvw','_registeredSessions','mySessionId','Sessions','forEach','get','891912QZfCNN','listenTo','getUser','getUserBySessionId','442920EzVkli','3068527oIdZuK','set','39xAZXqY','pluginName','sessions-register-already-registered','state','context','allConnectedUsers'];_0x5a0a=function(){return _0x30fdac;};return _0x5a0a();}import{Collection as _0x20c69c,CKEditorError as _0x5eb3d1}from'ckeditor5/src/utils.js';function _0x496d(_0x7c625a,_0x24ca07){const _0x5a0a09=_0x5a0a();return _0x496d=function(_0x496dc4,_0x2abfc7){_0x496dc4=_0x496dc4-0xb1;let _0x5861a9=_0x5a0a09[_0x496dc4];return _0x5861a9;},_0x496d(_0x7c625a,_0x24ca07);}import _0x18143a from'./websocketgateway.js';import{Users as _0x1c68ca}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x29ef08{[_0x3837f9(0xc7)];[_0x3837f9(0xd1)];[_0x3837f9(0xc2)];[_0x3837f9(0xb1)];[_0x3837f9(0xd4)];[_0x3837f9(0xdb)];static get[_0x3837f9(0xbe)](){const _0x155089=_0x3837f9;return _0x155089(0xb3);}static get[_0x3837f9(0xe2)](){return!0x0;}static get[_0x3837f9(0xe7)](){return!0x0;}static get[_0x3837f9(0xdf)](){return[_0x18143a,_0x1c68ca];}constructor(_0x2685b9){const _0x4866be=_0x3837f9;super(_0x2685b9),this[_0x4866be(0xc7)]=new Map(),this[_0x4866be(0xd1)]=new Map(),this[_0x4866be(0xc2)]=new _0x20c69c(),this[_0x4866be(0xb1)]=new Map(),this[_0x4866be(0xd4)]=0x0,this[_0x4866be(0xdb)]=this[_0x4866be(0xc1)][_0x4866be(0xde)][_0x4866be(0xb5)](_0x1c68ca);}[_0x3837f9(0xd5)](){const _0x20a745=_0x3837f9,_0x45b326=this[_0x20a745(0xc1)][_0x20a745(0xde)][_0x20a745(0xb5)](_0x18143a);this[_0x20a745(0xb7)](_0x45b326,_0x20a745(0xdd),(_0x321ce0,_0x5baead,_0x1ba135)=>{const _0x114a17=_0x20a745;if(_0x114a17(0xcc)!==_0x1ba135)this[_0x114a17(0xc7)][_0x114a17(0xb4)](_0x1fe4e8=>_0x1fe4e8[_0x114a17(0xce)]()),this[_0x114a17(0xd1)][_0x114a17(0xb4)](_0x21439a=>_0x21439a[_0x114a17(0xce)]()),this[_0x114a17(0xc2)][_0x114a17(0xce)]();else{for(const [_0x5182f4,_0x8cbeef]of this[_0x114a17(0xb1)])for(const _0x5180de of _0x8cbeef)this[_0x114a17(0xc3)](_0x5182f4,_0x5180de);}}),this[_0x20a745(0xe8)](_0x45b326[_0x20a745(0xd8)]['me'],!0x0);}[_0x3837f9(0xd6)](_0x23299b,_0xa531c9){const _0x54e901=_0x3837f9;if(this[_0x54e901(0xb1)][_0x54e901(0xd3)](_0x23299b))throw new _0x5eb3d1(_0x54e901(0xbf),null,{'channelId':_0x23299b});this[_0x54e901(0xb1)][_0x54e901(0xbc)](_0x23299b,_0xa531c9),this[_0x54e901(0xc7)][_0x54e901(0xbc)](_0x23299b,new _0x20c69c()),this[_0x54e901(0xd1)][_0x54e901(0xbc)](_0x23299b,new _0x20c69c()),this[_0x54e901(0xb7)](_0xa531c9,_0x54e901(0xec),(_0x151d6a,_0xcea416)=>this[_0x54e901(0xc3)](_0x23299b,_0xcea416)),this[_0x54e901(0xb7)](_0xa531c9,_0x54e901(0xe9),(_0x17b7cb,_0x226a12)=>this[_0x54e901(0xee)](_0x23299b,_0x226a12));for(const _0x530f47 of _0xa531c9)this[_0x54e901(0xc3)](_0x23299b,_0x530f47);}[_0x3837f9(0xe4)](_0x1591f7){const _0xd8da0c=_0x3837f9;if(!this[_0xd8da0c(0xb1)][_0xd8da0c(0xd3)](_0x1591f7))throw new _0x5eb3d1(_0xd8da0c(0xe3),null,{'channelId':_0x1591f7});const _0x1169d3=this[_0xd8da0c(0xb1)][_0xd8da0c(0xb5)](_0x1591f7);this[_0xd8da0c(0xc4)](_0x1169d3);for(const _0x436a6e of _0x1169d3)_0xd8da0c(0xcc)===this[_0xd8da0c(0xc1)][_0xd8da0c(0xde)][_0xd8da0c(0xb5)](_0x18143a)[_0xd8da0c(0xc0)]&&this[_0xd8da0c(0xee)](_0x1591f7,_0x436a6e);this[_0xd8da0c(0xb1)][_0xd8da0c(0xe6)](_0x1591f7),this[_0xd8da0c(0xc7)][_0xd8da0c(0xe6)](_0x1591f7),this[_0xd8da0c(0xd1)][_0xd8da0c(0xe6)](_0x1591f7);}get[_0x3837f9(0xb2)](){const _0x4e8344=_0x3837f9;return this[_0x4e8344(0xc1)][_0x4e8344(0xde)][_0x4e8344(0xb5)](_0x18143a)[_0x4e8344(0xd8)][_0x4e8344(0xeb)];}[_0x3837f9(0xb9)](_0x2fc3bf){const _0x18b316=_0x3837f9;for(const _0xe0bcca of this[_0x18b316(0xc7)][_0x18b316(0xd7)]())for(const _0x429ec7 of _0xe0bcca)if(_0x429ec7['id']===_0x2fc3bf)return _0x429ec7[_0x18b316(0xcf)];}[_0x3837f9(0xed)](_0x4c1a5c,_0x11c395){const _0xed30a5=_0x3837f9,_0x3ab183=_0x11c395?[this[_0xed30a5(0xc7)][_0xed30a5(0xb5)](_0x11c395)]:this[_0xed30a5(0xc7)][_0xed30a5(0xd7)](),_0x39be73=new Set();for(const _0x1dc12d of _0x3ab183)for(const _0x4993a7 of _0x1dc12d)_0x4993a7[_0xed30a5(0xcf)]['id']===_0x4c1a5c['id']&&_0x39be73[_0xed30a5(0xec)](_0x4993a7['id']);return _0x39be73;}[_0x3837f9(0xd2)](_0x3ab57d){const _0x2a5b4e=_0x3837f9;for(const _0x21c013 of this[_0x2a5b4e(0xc7)][_0x2a5b4e(0xd7)]())for(const _0x15abe7 of _0x21c013)if(_0x15abe7[_0x2a5b4e(0xcf)]===_0x3ab57d)return _0x15abe7[_0x2a5b4e(0xc6)];}[_0x3837f9(0xc3)](_0x2e8c7a,_0x4d4e5c){const _0x4c17ae=_0x3837f9;if(_0x4c17ae(0xcc)!==this[_0x4c17ae(0xc1)][_0x4c17ae(0xde)][_0x4c17ae(0xb5)](_0x18143a)[_0x4c17ae(0xc0)])return;const _0x35fbfa=_0x4d4e5c[_0x4c17ae(0xcf)],_0x26e6e8=this[_0x4c17ae(0xdb)][_0x4c17ae(0xb8)](_0x35fbfa['id'])||this[_0x4c17ae(0xe8)](_0x35fbfa),_0x118f28=Object[_0x4c17ae(0xc9)]({},_0x4d4e5c,{'user':_0x26e6e8});this[_0x4c17ae(0xc7)][_0x4c17ae(0xb5)](_0x2e8c7a)[_0x4c17ae(0xec)](_0x118f28);const _0x5b3e09=this[_0x4c17ae(0xd1)][_0x4c17ae(0xb5)](_0x2e8c7a);_0x5b3e09[_0x4c17ae(0xd3)](_0x26e6e8['id'])||_0x5b3e09[_0x4c17ae(0xec)](_0x26e6e8),this[_0x4c17ae(0xc2)][_0x4c17ae(0xd3)](_0x26e6e8['id'])||this[_0x4c17ae(0xc2)][_0x4c17ae(0xec)](_0x26e6e8,_0x26e6e8[_0x4c17ae(0xe0)]?0x0:void 0x0),this[_0x4c17ae(0xef)](_0x4c17ae(0xd9)+_0x2e8c7a,{'channelId':_0x2e8c7a,'session':_0x118f28});}[_0x3837f9(0xee)](_0x1865e7,_0x2e9617){const _0x2d00c4=_0x3837f9;if(_0x2d00c4(0xcc)!==this[_0x2d00c4(0xc1)][_0x2d00c4(0xde)][_0x2d00c4(0xb5)](_0x18143a)[_0x2d00c4(0xc0)])return;const _0xfdcb44=this[_0x2d00c4(0xd1)][_0x2d00c4(0xb5)](_0x1865e7),_0x27cbce=_0x2e9617[_0x2d00c4(0xcf)];_0x27cbce['id']&&(this[_0x2d00c4(0xc7)][_0x2d00c4(0xb5)](_0x1865e7)[_0x2d00c4(0xe9)](_0x2e9617['id']),_0xfdcb44[_0x2d00c4(0xd3)](_0x27cbce['id'])&&!this[_0x2d00c4(0xed)](_0x27cbce,_0x1865e7)[_0x2d00c4(0xdc)]&&_0xfdcb44[_0x2d00c4(0xe9)](_0x27cbce['id']),this[_0x2d00c4(0xc2)][_0x2d00c4(0xb5)](_0x27cbce['id'])&&!this[_0x2d00c4(0xed)](_0x27cbce)[_0x2d00c4(0xdc)]&&this[_0x2d00c4(0xc2)][_0x2d00c4(0xe9)](_0x27cbce['id']));}[_0x3837f9(0xe8)](_0x3a0ad2,_0x5f4bf9){const _0x30bc48=_0x3837f9,_0x2b5a04=this[_0x30bc48(0xdb)][_0x30bc48(0xca)](_0x3a0ad2);return _0x5f4bf9&&this[_0x30bc48(0xdb)][_0x30bc48(0xc5)](_0x3a0ad2['id']),_0x2b5a04[_0x30bc48(0xea)]=this[_0x30bc48(0xd4)]++,_0x2b5a04;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
function _0x5dd9(_0x799251,_0x554f74){const _0x17ea06=_0x17ea();return _0x5dd9=function(_0x5dd9c6,_0x482ddb){_0x5dd9c6=_0x5dd9c6-0x126;let _0x48d621=_0x17ea06[_0x5dd9c6];return _0x48d621;},_0x5dd9(_0x799251,_0x554f74);}const _0xc428b1=_0x5dd9;function _0x17ea(){const _0x5db855=['define','change:me','plugins','showWarning','_domEmitter','_reconnectionStack','webSocketUrl','offline','stopListening','websocketgateway-plugin-already-registered','connected','784731GDTZeg','CONNECTING','14147wpgWfy','227642rWuhix','1033352wTmAdl','CloudServices','DISCONNECTED','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.','websocketgateway-invalid-plugin-interface','get','real-time-collaboration','destroy','requires','create','isInReconnectionStack','has','limitExceeded','config','CONNECTED','reconnect','websocketgateway-missing-websocket-url','add','error','set','catch','bind','_shouldPluginsReconnect','45qxdBAA','1249156jZbgiv','all','then','cloudServices.connectionTimeout','online','init','delete','connection','code','token','WebSocketGateway','function','isOfficialPlugin','Connected\x20users\x20limit\x20exceeded','websocketgateway-missing-token','context','_reconnect','isPremiumPlugin','addToReconnectionStack','618tpROzH','505578LFQvPK','cloudServices.requestTimeout','cloudservices-init','initialReconnectionInterval','state','removeFromReconnectionStack','_isBrowserOffline','1094935czFYsn','from','cloudservices-reconnection-error','connect','listenTo','pluginName','constructor','disconnect'];_0x17ea=function(){return _0x5db855;};return _0x17ea();}(function(_0x315a01,_0x10011b){const _0x1bce70=_0x5dd9,_0x168982=_0x315a01();while(!![]){try{const _0x1c849e=-parseInt(_0x1bce70(0x128))/0x1+-parseInt(_0x1bce70(0x155))/0x2+-parseInt(_0x1bce70(0x16f))/0x3+parseInt(_0x1bce70(0x141))/0x4+-parseInt(_0x1bce70(0x15c))/0x5+parseInt(_0x1bce70(0x154))/0x6*(parseInt(_0x1bce70(0x127))/0x7)+parseInt(_0x1bce70(0x129))/0x8*(parseInt(_0x1bce70(0x140))/0x9);if(_0x1c849e===_0x10011b)break;else _0x168982['push'](_0x168982['shift']());}catch(_0x490702){_0x168982['push'](_0x168982['shift']());}}}(_0x17ea,0x321f6));import{ContextPlugin as _0x4c1271}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2d7f27,CKEditorError as _0x1e1fd8}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3e4d4a,WEB_SOCKET_GATEWAY_STATES as _0x2d05b3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x2c82ce}from'ckeditor5/src/ui.js';class c extends _0x4c1271{static [_0xc428b1(0x14b)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x3e4d4a)());static [_0xc428b1(0x158)]=0x3e8;[_0xc428b1(0x148)];[_0xc428b1(0x169)];[_0xc428b1(0x13f)];[_0xc428b1(0x168)];static get[_0xc428b1(0x131)](){const _0x1df136=_0xc428b1;return[_0x1df136(0x12a),_0x2c82ce];}static get[_0xc428b1(0x161)](){const _0x443b06=_0xc428b1;return _0x443b06(0x14b);}static get[_0xc428b1(0x14d)](){return!0x0;}static get[_0xc428b1(0x152)](){return!0x0;}constructor(_0x55cdf0){const _0x84d5a1=_0xc428b1;super(_0x55cdf0),this[_0x84d5a1(0x13c)](_0x84d5a1(0x159),_0x2d05b3[_0x84d5a1(0x137)]),this[_0x84d5a1(0x13c)](_0x84d5a1(0x15b),!0x1),this[_0x84d5a1(0x169)]=new Set(),this[_0x84d5a1(0x13f)]=!0x1,this[_0x84d5a1(0x168)]=Object[_0x84d5a1(0x132)](_0x2d7f27);}[_0xc428b1(0x146)](){const _0xad2519=_0xc428b1,_0x212d8f=this[_0xad2519(0x150)],_0x5b74c4=_0x212d8f[_0xad2519(0x166)][_0xad2519(0x12e)](_0xad2519(0x12a)),_0x50ebd7=_0x212d8f[_0xad2519(0x166)][_0xad2519(0x12e)](_0x2c82ce);if(!_0x5b74c4[_0xad2519(0x14a)])throw new _0x1e1fd8(_0xad2519(0x14f),this);if(!_0x5b74c4[_0xad2519(0x16a)])throw new _0x1e1fd8(_0xad2519(0x139),this);return this[_0xad2519(0x168)][_0xad2519(0x160)](window,_0xad2519(0x16b),()=>this[_0xad2519(0x15b)]=!0x0),this[_0xad2519(0x168)][_0xad2519(0x160)](window,_0xad2519(0x145),()=>this[_0xad2519(0x15b)]=!0x1),this[_0xad2519(0x150)][_0xad2519(0x136)][_0xad2519(0x164)](_0xad2519(0x144),0xa),this[_0xad2519(0x150)][_0xad2519(0x136)][_0xad2519(0x164)](_0xad2519(0x156),0x14),c[_0xad2519(0x14b)][_0xad2519(0x15f)](_0x5b74c4[_0xad2519(0x14a)],_0x5b74c4[_0xad2519(0x16a)],{'timeout':0x3e8*this[_0xad2519(0x150)][_0xad2519(0x136)][_0xad2519(0x12e)](_0xad2519(0x144)),'requestTimeout':0x3e8*this[_0xad2519(0x150)][_0xad2519(0x136)][_0xad2519(0x12e)](_0xad2519(0x156))})[_0xad2519(0x143)](_0x171d40=>{const _0x2edbd8=_0xad2519;if(this[_0x2edbd8(0x148)]=_0x171d40,this[_0x2edbd8(0x13e)](_0x2edbd8(0x159))['to'](_0x171d40,_0x2edbd8(0x159),this,_0x2edbd8(0x15b),(_0x3945c5,_0x52a2b4)=>(_0x2edbd8(0x16e)!==_0x3945c5&&(this[_0x2edbd8(0x13f)]=!0x0),_0x52a2b4||_0x3945c5!==_0x2d05b3[_0x2edbd8(0x137)]?_0x2d05b3[_0x2edbd8(0x12b)]:this[_0x2edbd8(0x159)]==_0x2d05b3[_0x2edbd8(0x12b)]&&this[_0x2edbd8(0x13f)]?(this[_0x2edbd8(0x13f)]=!0x1,this[_0x2edbd8(0x151)](),_0x2d05b3[_0x2edbd8(0x126)]):_0x2d05b3[_0x2edbd8(0x137)])),this[_0x2edbd8(0x148)]['on'](_0x2edbd8(0x13b),(_0x1c18b5,_0x5f5fb3)=>{const _0x404a1c=_0x2edbd8;if(_0x404a1c(0x135)!==_0x5f5fb3[_0x404a1c(0x149)])throw console[_0x404a1c(0x13b)](_0x5f5fb3),new _0x1e1fd8(_0x404a1c(0x157),null,{'originalError':_0x5f5fb3});_0x50ebd7[_0x404a1c(0x167)](_0x404a1c(0x12c),{'title':_0x404a1c(0x14e),'namespace':_0x404a1c(0x12f)});}),!_0x171d40['me'])return new Promise(_0x679be2=>_0x171d40['on'](_0x2edbd8(0x165),_0x679be2));})[_0xad2519(0x13d)](_0x23460f=>{const _0x52a554=_0xad2519;throw console[_0x52a554(0x13b)](_0x23460f),new _0x1e1fd8(_0x52a554(0x157),null,{'originalError':_0x23460f});});}[_0xc428b1(0x153)](_0x5cd511){const _0x8178b2=_0xc428b1;if(_0x8178b2(0x14c)!=typeof _0x5cd511[_0x8178b2(0x138)])throw new _0x1e1fd8(_0x8178b2(0x12d),this);if(this[_0x8178b2(0x133)](_0x5cd511))throw new _0x1e1fd8(_0x8178b2(0x16d),this,{'name':_0x5cd511[_0x8178b2(0x162)][_0x8178b2(0x161)]});this[_0x8178b2(0x169)][_0x8178b2(0x13a)](_0x5cd511);}[_0xc428b1(0x15a)](_0x598902){const _0x1fb1f7=_0xc428b1;this[_0x1fb1f7(0x169)][_0x1fb1f7(0x147)](_0x598902);}[_0xc428b1(0x133)](_0x868bb8){const _0x49c6c4=_0xc428b1;return this[_0x49c6c4(0x169)][_0x49c6c4(0x134)](_0x868bb8);}[_0xc428b1(0x151)](){const _0x571d6e=_0xc428b1;return this[_0x571d6e(0x148)][_0x571d6e(0x138)]()[_0x571d6e(0x143)](()=>Promise[_0x571d6e(0x142)](Array[_0x571d6e(0x15d)](this[_0x571d6e(0x169)],_0x52e28a=>_0x52e28a[_0x571d6e(0x138)]())))[_0x571d6e(0x143)](()=>this[_0x571d6e(0x159)]=_0x2d05b3[_0x571d6e(0x137)])[_0x571d6e(0x13d)](_0x133ae7=>{const _0x10890d=_0x571d6e;throw console[_0x10890d(0x13b)](_0x133ae7),new _0x1e1fd8(_0x10890d(0x15e),this[_0x10890d(0x150)]);});}[_0xc428b1(0x163)](){const _0x322ff4=_0xc428b1;this[_0x322ff4(0x148)]&&this[_0x322ff4(0x148)][_0x322ff4(0x163)](),this[_0x322ff4(0x159)]=_0x2d05b3[_0x322ff4(0x12b)],this[_0x322ff4(0x168)][_0x322ff4(0x16c)]();}[_0xc428b1(0x130)](){const _0x1af4dd=_0xc428b1;this[_0x1af4dd(0x163)](),super[_0x1af4dd(0x130)]();}}export default c;
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x522eb7)());[_0x19e4dd(0x1ad)];[_0x19e4dd(0x1aa)];[_0x19e4dd(0x1b4)];[_0x19e4dd(0x1f2)];static get[_0x19e4dd(0x1e6)](){const _0x2797b5=_0x19e4dd;return[_0x2e54b7,_0x513f80,_0x2797b5(0x1c9),_0x5481d0,_0x1fe4ac];}static get[_0x19e4dd(0x1f0)](){const _0x4980f3=_0x19e4dd;return _0x4980f3(0x1fb);}static get[_0x19e4dd(0x1d7)](){return!0x0;}static get[_0x19e4dd(0x1f9)](){return!0x0;}constructor(_0x331c7d){const _0x27813c=_0x19e4dd;super(_0x331c7d);const _0x2314ac=this[_0x27813c(0x1cd)][_0x27813c(0x1e1)][_0x27813c(0x200)](_0x27813c(0x1d3));this[_0x27813c(0x1ad)]=null,this[_0x27813c(0x1aa)]=this[_0x27813c(0x1cd)][_0x27813c(0x19e)][_0x27813c(0x200)](_0x27813c(0x205)),this[_0x27813c(0x1b4)]=new u[(_0x27813c(0x1d5))](_0x2314ac);}async[_0x19e4dd(0x1bd)](){const _0x472f8f=_0x19e4dd,_0x257955=this[_0x472f8f(0x1cd)][_0x472f8f(0x19e)][_0x472f8f(0x200)](_0x513f80),_0x794a33=_0x257955[_0x472f8f(0x1d4)],_0x13c5de=this[_0x472f8f(0x1cd)][_0x472f8f(0x19e)][_0x472f8f(0x200)](_0x2e54b7);this[_0x472f8f(0x1aa)][_0x472f8f(0x1e0)]({'history':_0x794a33,'getLatestVersion':()=>this[_0x472f8f(0x1e5)](),'getCurrentRevisionId':()=>_0x257955[_0x472f8f(0x1f5)]});const _0x24aadb=this[_0x472f8f(0x1cd)][_0x472f8f(0x1e1)][_0x472f8f(0x200)](_0x472f8f(0x1a6))||_0x423112,_0x522944=await _0x32de38[_0x472f8f(0x1a9)](_0x13c5de[_0x472f8f(0x1db)],_0x24aadb);this[_0x472f8f(0x1cd)][_0x472f8f(0x19e)][_0x472f8f(0x200)](_0x472f8f(0x1c9))[_0x472f8f(0x1c6)]={'getRevision':async({revisionId:_0x51933e})=>(await this[_0x472f8f(0x1fc)](),await this[_0x472f8f(0x1b4)][_0x472f8f(0x1c4)](_0x51933e)),'updateRevisions':async _0x4e0646=>{const _0x36d570=_0x472f8f;await this[_0x36d570(0x1fc)]();const _0x3e5de4=this[_0x36d570(0x1aa)][_0x36d570(0x1bf)];if(_0x522944&&0x1===_0x4e0646[_0x36d570(0x1e2)]&&_0x4e0646[0x0]['id']===_0x3e5de4['id'])return _0x4e0646;for(const _0x468fa7 of _0x4e0646)_0x468fa7['id']===_0x3e5de4['id']&&(_0x468fa7[_0x36d570(0x20b)]=_0x468fa7[_0x36d570(0x20c)]===_0x468fa7[_0x36d570(0x1fa)]);return this[_0x36d570(0x1b4)][_0x36d570(0x204)](_0x4e0646,this[_0x36d570(0x1ad)])[_0x36d570(0x1ea)](_0x57b6cc=>(this[_0x36d570(0x1ad)]=_0x57b6cc,_0x4e0646))[_0x36d570(0x1f6)](_0x40bd9e=>{const _0x26a1e3=_0x36d570;if(st(_0x40bd9e)||_0x26a1e3(0x1da)===_0x40bd9e[_0x26a1e3(0x1a4)]&&void 0x0!==_0x40bd9e[_0x26a1e3(0x1b8)][_0x26a1e3(0x19d)]){for(const _0x2668f9 of _0x4e0646){!this[_0x26a1e3(0x1aa)][_0x26a1e3(0x1a1)][_0x26a1e3(0x1c4)](_0x2668f9['id'])||this[_0x26a1e3(0x1aa)][_0x26a1e3(0x1fd)](_0x2668f9['id'],_0x2668f9,!0x1);}if(st(_0x40bd9e))throw _0x40bd9e;return _0x4e0646;}throw _0x40bd9e;});}},this[_0x472f8f(0x1b2)](this[_0x472f8f(0x1b4)],_0x472f8f(0x1a8),(_0x5cea2b,{revisionsData:_0x5bb59a,requestId:_0x112db5})=>{const _0x5c6d3c=_0x472f8f;Math[_0x5c6d3c(0x1ee)](..._0x5bb59a[_0x5c6d3c(0x1d2)](_0x10d052=>_0x10d052[_0x5c6d3c(0x1fa)]))>this[_0x5c6d3c(0x1cb)]()-0x1?this[_0x5c6d3c(0x1e5)]()[_0x5c6d3c(0x1ea)](()=>{const _0x50569e=_0x5c6d3c;this[_0x50569e(0x1d9)](_0x5bb59a,_0x112db5);}):this[_0x5c6d3c(0x1d9)](_0x5bb59a,_0x112db5);});const {revisions:_0x55d3db,requestId:_0x254fbf}=await this[_0x472f8f(0x1b4)][_0x472f8f(0x1dc)](_0x13c5de[_0x472f8f(0x1db)]);_0x13c5de[_0x472f8f(0x1c5)](this),this[_0x472f8f(0x1ad)]=_0x254fbf,await this[_0x472f8f(0x1e8)](_0x55d3db);for(const _0x2e14a5 of _0x55d3db)this[_0x472f8f(0x1aa)][_0x472f8f(0x202)](_0x2e14a5);this[_0x472f8f(0x1b2)](_0x257955,_0x472f8f(0x1b9),(_0x187ac3,_0xf9cf2c,_0x28892e)=>{const _0x1254f4=_0x472f8f;_0x28892e&&(this[_0x1254f4(0x1f2)]=_0x257955[_0x1254f4(0x1d8)],_0x187ac3[_0x1254f4(0x207)]());}),this[_0x472f8f(0x1aa)][_0x472f8f(0x20d)](_0x472f8f(0x1eb))['to'](_0x13c5de,_0x472f8f(0x1ef),_0x354d95=>_0x354d95===_0x4e0db6[_0x472f8f(0x1a7)]);}async[_0x19e4dd(0x1f1)](){const _0x376478=_0x19e4dd,_0x32cef1=this[_0x376478(0x1cd)][_0x376478(0x19e)][_0x376478(0x200)](_0x2e54b7),_0x50d094=this[_0x376478(0x1cd)][_0x376478(0x19e)][_0x376478(0x200)](_0x513f80),_0x5f23f3=async()=>{const _0xc24efd=_0x376478,_0x553296=this[_0xc24efd(0x1aa)][_0xc24efd(0x1bf)],_0x40d799=_0x553296['id'],_0x559dd8=_0x40d799!==_0x50d094[_0xc24efd(0x1f5)];if(_0x559dd8){const _0x1c55c5=_0x50d094[_0xc24efd(0x1d8)]-this[_0xc24efd(0x1f2)],_0x300501=this[_0xc24efd(0x1cb)]();this[_0xc24efd(0x1aa)][_0xc24efd(0x1ec)][_0xc24efd(0x1af)]();if(_0x553296[_0xc24efd(0x1fa)]+_0x1c55c5!==_0x300501){const _0x31f91d=_0x553296[_0xc24efd(0x20c)]+_0x1c55c5,_0x3198c5=this[_0xc24efd(0x1cd)][_0xc24efd(0x19e)][_0xc24efd(0x200)](_0x1fe4ac),_0x1b4544=this[_0xc24efd(0x1aa)][_0xc24efd(0x1b0)]({'revision':_0x553296,'from':_0x31f91d,'to':_0x300501});_0x1b4544['id']=_0x553296['id'];const _0x2365cb=_0x1b4544[_0xc24efd(0x1d1)][_0xc24efd(0x1d2)](_0x198cbb=>_0x3198c5[_0xc24efd(0x1b6)](_0x198cbb));_0x553296[_0xc24efd(0x1a0)]({..._0x1b4544,'authors':_0x2365cb},!0x0),this[_0xc24efd(0x1aa)][_0xc24efd(0x1fd)](_0x553296['id'],_0x1b4544,!0x0);}this[_0xc24efd(0x1aa)][_0xc24efd(0x1cc)]=_0x300501,(_0x553296[_0xc24efd(0x1fa)]===_0x553296[_0xc24efd(0x20c)]&&!this[_0xc24efd(0x1aa)][_0xc24efd(0x19f)][_0xc24efd(0x1bc)](_0x40d799)&&this[_0xc24efd(0x1aa)][_0xc24efd(0x1a1)][_0xc24efd(0x1cf)][_0xc24efd(0x1fe)](_0x40d799),this[_0xc24efd(0x1aa)][_0xc24efd(0x1c0)](_0x300501));}const {revisions:_0x409d2d,requestId:_0x5dc020}=await this[_0xc24efd(0x1b4)][_0xc24efd(0x1f1)](_0x32cef1[_0xc24efd(0x1db)],this[_0xc24efd(0x1ad)]);_0x559dd8&&_0x409d2d[_0xc24efd(0x1e2)]>0x0?_0x50d094[_0xc24efd(0x203)]():(await this[_0xc24efd(0x1e8)](_0x409d2d),this[_0xc24efd(0x1d9)](_0x409d2d,_0x5dc020),this[_0xc24efd(0x1aa)][_0xc24efd(0x1be)]());};return _0x50d094[_0x376478(0x1b1)]?_0x5f23f3():new Promise((_0x14243e,_0x3615df)=>{const _0x4b4de4=_0x376478;_0x50d094[_0x4b4de4(0x1c1)](_0x4b4de4(0x1b9),()=>{const _0x30cc93=_0x4b4de4;_0x5f23f3()[_0x30cc93(0x1ea)](_0x14243e)[_0x30cc93(0x1f6)](_0x3615df);});});}[_0x19e4dd(0x20e)](){const _0x2ea971=_0x19e4dd;super[_0x2ea971(0x20e)]();}async[_0x19e4dd(0x1fc)](){const _0x23384d=_0x19e4dd;this[_0x23384d(0x1b4)][_0x23384d(0x1ca)]||await new Promise(_0x2ec7bc=>{const _0x1dbe2b=_0x23384d;this[_0x1dbe2b(0x1b2)](this[_0x1dbe2b(0x1b4)],_0x1dbe2b(0x1b3),_0x44c677=>{const _0x280ef6=_0x1dbe2b;_0x44c677[_0x280ef6(0x207)](),_0x2ec7bc();});});}[_0x19e4dd(0x1cb)](){const _0x4cc0a5=_0x19e4dd,_0x561d4c=this[_0x4cc0a5(0x1cd)][_0x4cc0a5(0x19e)][_0x4cc0a5(0x200)](_0x513f80)[_0x4cc0a5(0x1d4)][_0x4cc0a5(0x1e4)]()[_0x4cc0a5(0x201)]();for(const _0x1dbced of _0x561d4c)if(_0x4cc0a5(0x209)!==_0x1dbced[_0x4cc0a5(0x1e7)]||_0x1dbced[_0x4cc0a5(0x1f7)])return _0x1dbced[_0x4cc0a5(0x1c3)]+0x1;}[_0x19e4dd(0x1e5)](){const _0x3ed51c=_0x19e4dd,_0x5e090c=this[_0x3ed51c(0x1cd)][_0x3ed51c(0x19e)][_0x3ed51c(0x200)](_0x513f80);return new Promise(_0x31accb=>{const _0x5c26e5=_0x3ed51c;_0x5e090c[_0x5c26e5(0x1c8)]?_0x5e090c[_0x5c26e5(0x1c1)](_0x5c26e5(0x208),()=>{const _0x29e23f=_0x5c26e5;_0x31accb(this[_0x29e23f(0x1cb)]());}):_0x31accb(this[_0x5c26e5(0x1cb)]());});}[_0x19e4dd(0x1d9)](_0x420fb9,_0x3a6455){const _0x5176e9=_0x19e4dd,_0x4f3235=this[_0x5176e9(0x1aa)][_0x5176e9(0x1a1)];this[_0x5176e9(0x1ad)]=_0x3a6455;for(const _0x19bee6 of _0x420fb9){const _0x19327b=_0x4f3235[_0x5176e9(0x1c4)](_0x19bee6['id']);if(_0x19327b){if((_0x19bee6[_0x5176e9(0x20c)]||_0x19bee6[_0x5176e9(0x1fa)])&&(_0x19bee6[_0x5176e9(0x1d6)]=null),_0x19327b===this[_0x5176e9(0x1aa)][_0x5176e9(0x1bf)]){const _0x550200=Math[_0x5176e9(0x1ee)](_0x19327b[_0x5176e9(0x1fa)],_0x19bee6[_0x5176e9(0x1fa)]),_0x31bbce=Math[_0x5176e9(0x1ee)](_0x19327b[_0x5176e9(0x20c)],_0x19bee6[_0x5176e9(0x20c)]);let _0x5092c1;_0x19327b[_0x5176e9(0x1fa)]===_0x19bee6[_0x5176e9(0x1fa)]&&_0x19327b[_0x5176e9(0x20c)]===_0x19bee6[_0x5176e9(0x20c)]?(_0x5092c1=!0x0,this[_0x5176e9(0x1f3)](_0x19bee6)):_0x19bee6[_0x5176e9(0x1fa)]===_0x550200&&_0x19bee6[_0x5176e9(0x20c)]===_0x31bbce?_0x5092c1=!0x1:(_0x19327b[_0x5176e9(0x1fa)]===_0x550200&&_0x19327b[_0x5176e9(0x20c)]===_0x31bbce||this[_0x5176e9(0x1ae)]({'revision':_0x19327b,'from':_0x31bbce,'to':_0x550200}),_0x5092c1=!0x0),_0x5092c1&&(delete _0x19bee6[_0x5176e9(0x20c)],delete _0x19bee6[_0x5176e9(0x1fa)],delete _0x19bee6[_0x5176e9(0x1d6)],delete _0x19bee6[_0x5176e9(0x1f4)],delete _0x19bee6[_0x5176e9(0x1d1)]);}this[_0x5176e9(0x1aa)][_0x5176e9(0x1ff)](_0x19bee6),this[_0x5176e9(0x1f3)](_0x19bee6);}else this[_0x5176e9(0x1aa)][_0x5176e9(0x202)](_0x19bee6);}const _0x179fda=_0x4f3235[_0x5176e9(0x1e9)]();_0x179fda[_0x5176e9(0x201)]();for(let _0x2736d4=0x0;_0x2736d4<_0x179fda[_0x5176e9(0x1e2)]-0x1;_0x2736d4++){const _0x1f55ff=_0x179fda[_0x2736d4],_0x2ed67a=_0x179fda[_0x2736d4+0x1];if(_0x1f55ff[_0x5176e9(0x20c)]<_0x2ed67a[_0x5176e9(0x1fa)]){const _0x48b5bd=_0x2ed67a[_0x5176e9(0x1fa)],_0x491575=Math[_0x5176e9(0x1ee)](_0x48b5bd,_0x1f55ff[_0x5176e9(0x1fa)]);this[_0x5176e9(0x1ae)]({'revision':_0x1f55ff,'from':_0x48b5bd,'to':_0x491575});}}}[_0x19e4dd(0x1ae)]({revision:_0x144a95,from:_0x2a10b4,to:_0x309d77}={}){const _0x8f59fd=_0x19e4dd,_0x267a56=this[_0x8f59fd(0x1cd)][_0x8f59fd(0x19e)][_0x8f59fd(0x200)](_0x1fe4ac),_0x342123=this[_0x8f59fd(0x1aa)][_0x8f59fd(0x1b0)]({'revision':_0x144a95,'from':_0x2a10b4,'to':_0x309d77});_0x342123[_0x8f59fd(0x1b5)]=_0x342123[_0x8f59fd(0x1d1)][_0x8f59fd(0x1d2)](_0x589a2d=>_0x267a56[_0x8f59fd(0x1b6)](_0x589a2d)),_0x144a95[_0x8f59fd(0x1a0)](_0x342123);}[_0x19e4dd(0x1f3)](_0x5f5910){const _0x28b483=_0x19e4dd,_0x472c9b={};_0x472c9b['id']=_0x5f5910['id'];for(const _0x47ea89 of Object[_0x28b483(0x1ce)](_0x5f5910))'id'!==_0x47ea89&&(_0x472c9b[_0x47ea89]=void 0x0);this[_0x28b483(0x1aa)][_0x28b483(0x1fd)](_0x472c9b['id'],_0x472c9b,!0x0);}async[_0x19e4dd(0x1e8)](_0x59fbae){const _0xa74c01=_0x19e4dd,_0x298ffc=this[_0xa74c01(0x1cd)][_0xa74c01(0x19e)][_0xa74c01(0x200)](_0x1fe4ac),{connection:_0x2c4ea9}=this[_0xa74c01(0x1cd)][_0xa74c01(0x19e)][_0xa74c01(0x200)](_0x2e54b7),_0x1342a9=new Set();for(const _0x4aaebd of _0x59fbae){for(const _0x5c2fec of _0x4aaebd[_0xa74c01(0x1d1)])_0x4e7996(_0x5c2fec);_0x4aaebd[_0xa74c01(0x1a2)]&&_0x4e7996(_0x4aaebd[_0xa74c01(0x1a2)]);}if(0x0===_0x1342a9[_0xa74c01(0x1ac)])return;const _0x4a9988=await _0x3993e9[_0xa74c01(0x206)](_0x2c4ea9,Array[_0xa74c01(0x1a3)](_0x1342a9));for(const _0x45b12d of _0x4a9988)_0x298ffc[_0xa74c01(0x1b6)](_0x45b12d['id'])||_0x298ffc[_0xa74c01(0x1d0)](_0x45b12d);function _0x4e7996(_0x4d996d){const _0x5c9748=_0xa74c01;_0x298ffc[_0x5c9748(0x1b6)](_0x4d996d)||_0x1342a9[_0x5c9748(0x19c)](_0x4d996d);}}}function _0x1c14(){const _0x7117=['isBundleUploaded','_revisionTracker','cloud-services-internal-error:\x20Not\x20connected.','size','_lastRequestId','_fixRevision','reInit','buildRevisionData','_isConnected','listenTo','connected','_revisionHistoryService','authors','getUser','7OuDdqb','data','change:_isConnected','4078566TfBgLw','1414120UBNfPo','has','init','sendBufferedUpdates','currentRevision','_createCurrentRevision','once','500502AXhYFk','baseVersion','getRevision','addToReconnectionStack','adapter','406822Jgpvwi','_isPendingUpdate','RevisionHistory','isConnected','_getLatestVersionFromServerOperations','_startingVersion','editor','keys','_revisions','addUser','authorsIds','map','collaboration.channelId','serverHistory','RevisionHistoryService','diffData','isOfficialPlugin','_offset','_handleRevisionsUpdate','400','connection','connect','542892YrYghv','startsWith','2226055GRiUvR','setSource','config','length','cloud-services-internal-error:\x20Request\x20timeout.','getOperations','_getLatestVersion','requires','type','_fetchMissingUsers','getRevisions','then','isEnabled','_revisionDataBuilder','1662928ldpJcQ','max','state','pluginName','reconnect','_oldOffset','_preventResendingRevisionData','createdAt','sessionId','catch','affectsData','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','isPremiumPlugin','toVersion','CloudServicesRevisionHistoryAdapter','_waitForServiceReady','_bufferUpdate','remove','setRevisionData','get','reverse','addRevisionData','_handleReconnectionError','updateRevisions','RevisionTracker','getMany','off','change:_isPendingUpdate','marker','2MScbnC','isEmptyCurrent','fromVersion','bind','destroy','add','wrongRequestId','plugins','_bufferedUpdates','_update','repository','creatorId','from','code','message','cloudServices.bundleVersion','CONNECTED','revisionsUpdated'];_0x1c14=function(){return _0x7117;};return _0x1c14();}export default u;function st(_0x46235e){const _0x29ab0d=_0x19e4dd;return _0x46235e[_0x29ab0d(0x1a5)][_0x29ab0d(0x1de)](_0x29ab0d(0x1f8))||_0x46235e[_0x29ab0d(0x1a5)][_0x29ab0d(0x1de)](_0x29ab0d(0x1ab))||_0x46235e[_0x29ab0d(0x1a5)][_0x29ab0d(0x1de)](_0x29ab0d(0x1e3));}
|
|
23
|
+
const _0xcb105d=_0x1b8d;function _0x32db(){const _0x4ca711=['addUser','_revisionTracker','startsWith','size','RevisionTracker','buildRevisionData','_fetchMissingUsers','requires','isPremiumPlugin','_offset','692440RjwnKd','catch','_getLatestVersion','bind','serverHistory','connected','_revisionHistoryService','_handleRevisionsUpdate','_bufferUpdate','type','_bufferedUpdates','change:_isConnected','code','marker','_preventResendingRevisionData','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','getUser','diffData','isEnabled','editor','isOfficialPlugin','_oldOffset','744ooJIKZ','_createCurrentRevision','cloudServices.bundleVersion','getRevision','sessionId','authors','_fixRevision','pluginName','data','message','cloud-services-internal-error:\x20Not\x20connected.','isEmptyCurrent','then','reInit','isConnected','reverse','revisionsUpdated','has','max','from','3132426ITQFYF','plugins','destroy','_waitForServiceReady','5wAChPo','reconnect','init','off','addRevisionData','RevisionHistoryService','getRevisions','connect','setRevisionData','222qAFOru','change:_isPendingUpdate','_isConnected','adapter','connection','311571Hqkwsj','collaboration.channelId','400','_revisions','keys','20151qLcdaF','baseVersion','currentRevision','listenTo','once','toVersion','_revisionDataBuilder','repository','remove','sendBufferedUpdates','add','CloudServicesRevisionHistoryAdapter','map','CONNECTED','addToReconnectionStack','16960svBJhw','_isPendingUpdate','createdAt','_handleReconnectionError','length','1505476lvAtll','get','updateRevisions','affectsData','config','_getLatestVersionFromServerOperations','wrongRequestId','creatorId','authorsIds','fromVersion','getMany','cloud-services-internal-error:\x20Request\x20timeout.','isBundleUploaded','12526nGvgpc','setSource','RevisionHistory','getOperations','state','_lastRequestId','_update','_startingVersion','3674eICsJL'];_0x32db=function(){return _0x4ca711;};return _0x32db();}(function(_0x44d851,_0x54f9bd){const _0x30750c=_0x1b8d,_0x18bf61=_0x44d851();while(!![]){try{const _0x756bbe=-parseInt(_0x30750c(0x1ed))/0x1+-parseInt(_0x30750c(0x213))/0x2*(-parseInt(_0x30750c(0x1e8))/0x3)+parseInt(_0x30750c(0x206))/0x4+-parseInt(_0x30750c(0x254))/0x5*(parseInt(_0x30750c(0x250))/0x6)+-parseInt(_0x30750c(0x226))/0x7+parseInt(_0x30750c(0x23c))/0x8*(-parseInt(_0x30750c(0x1f2))/0x9)+-parseInt(_0x30750c(0x201))/0xa*(-parseInt(_0x30750c(0x21b))/0xb);if(_0x756bbe===_0x54f9bd)break;else _0x18bf61['push'](_0x18bf61['shift']());}catch(_0x2f0726){_0x18bf61['push'](_0x18bf61['shift']());}}}(_0x32db,0x40d22));import{Plugin as _0x43994a}from'ckeditor5/src/core.js';import{version as _0x310136}from'ckeditor5/src/utils.js';import{Users as _0x23b7b0}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1b8d(_0x1aefeb,_0x3a3ccc){const _0x32dbe6=_0x32db();return _0x1b8d=function(_0x1b8df3,_0xac68eb){_0x1b8df3=_0x1b8df3-0x1e7;let _0x32e8dd=_0x32dbe6[_0x1b8df3];return _0x32e8dd;},_0x1b8d(_0x1aefeb,_0x3a3ccc);}import _0x14ef63 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x484296 from'../realtimecollaborativeediting/websocketgateway.js';import _0x10826e from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x1e42ac,RevisionHistoryService as _0x4eca74,User as _0x309705,WEB_SOCKET_GATEWAY_STATES as _0x5537c0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x43994a{static [_0xcb105d(0x259)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4eca74)());[_0xcb105d(0x218)];[_0xcb105d(0x21d)];[_0xcb105d(0x22c)];[_0xcb105d(0x23b)];static get[_0xcb105d(0x223)](){const _0x141ce2=_0xcb105d;return[_0x484296,_0x14ef63,_0x141ce2(0x215),_0x10826e,_0x23b7b0];}static get[_0xcb105d(0x243)](){const _0x1f5830=_0xcb105d;return _0x1f5830(0x1fd);}static get[_0xcb105d(0x23a)](){return!0x0;}static get[_0xcb105d(0x224)](){return!0x0;}constructor(_0x478219){const _0x74702c=_0xcb105d;super(_0x478219);const _0x5c5e2d=this[_0x74702c(0x239)][_0x74702c(0x20a)][_0x74702c(0x207)](_0x74702c(0x1ee));this[_0x74702c(0x218)]=null,this[_0x74702c(0x21d)]=this[_0x74702c(0x239)][_0x74702c(0x251)][_0x74702c(0x207)](_0x74702c(0x220)),this[_0x74702c(0x22c)]=new u[(_0x74702c(0x259))](_0x5c5e2d);}async[_0xcb105d(0x256)](){const _0xff96bc=_0xcb105d,_0x2edfb4=this[_0xff96bc(0x239)][_0xff96bc(0x251)][_0xff96bc(0x207)](_0x14ef63),_0x3c8684=_0x2edfb4[_0xff96bc(0x22a)],_0x295949=this[_0xff96bc(0x239)][_0xff96bc(0x251)][_0xff96bc(0x207)](_0x484296);this[_0xff96bc(0x21d)][_0xff96bc(0x214)]({'history':_0x3c8684,'getLatestVersion':()=>this[_0xff96bc(0x228)](),'getCurrentRevisionId':()=>_0x2edfb4[_0xff96bc(0x240)]});const _0x5bff88=this[_0xff96bc(0x239)][_0xff96bc(0x20a)][_0xff96bc(0x207)](_0xff96bc(0x23e))||_0x310136,_0x2d7c0e=await _0x1e42ac[_0xff96bc(0x212)](_0x295949[_0xff96bc(0x1ec)],_0x5bff88);this[_0xff96bc(0x239)][_0xff96bc(0x251)][_0xff96bc(0x207)](_0xff96bc(0x215))[_0xff96bc(0x1eb)]={'getRevision':async({revisionId:_0x469cda})=>(await this[_0xff96bc(0x253)](),await this[_0xff96bc(0x22c)][_0xff96bc(0x23f)](_0x469cda)),'updateRevisions':async _0xc9acab=>{const _0x1c3d37=_0xff96bc;await this[_0x1c3d37(0x253)]();const _0x31f9c6=this[_0x1c3d37(0x21d)][_0x1c3d37(0x1f4)];if(_0x2d7c0e&&0x1===_0xc9acab[_0x1c3d37(0x205)]&&_0xc9acab[0x0]['id']===_0x31f9c6['id'])return _0xc9acab;for(const _0xc1dd72 of _0xc9acab)_0xc1dd72['id']===_0x31f9c6['id']&&(_0xc1dd72[_0x1c3d37(0x247)]=_0xc1dd72[_0x1c3d37(0x20f)]===_0xc1dd72[_0x1c3d37(0x1f7)]);return this[_0x1c3d37(0x22c)][_0x1c3d37(0x208)](_0xc9acab,this[_0x1c3d37(0x218)])[_0x1c3d37(0x248)](_0x1244ae=>(this[_0x1c3d37(0x218)]=_0x1244ae,_0xc9acab))[_0x1c3d37(0x227)](_0xbff677=>{const _0x58dff3=_0x1c3d37;if(st(_0xbff677)||_0x58dff3(0x1ef)===_0xbff677[_0x58dff3(0x232)]&&void 0x0!==_0xbff677[_0x58dff3(0x244)][_0x58dff3(0x20c)]){for(const _0x47de87 of _0xc9acab){!this[_0x58dff3(0x21d)][_0x58dff3(0x1f9)][_0x58dff3(0x23f)](_0x47de87['id'])||this[_0x58dff3(0x21d)][_0x58dff3(0x22e)](_0x47de87['id'],_0x47de87,!0x1);}if(st(_0xbff677))throw _0xbff677;return _0xc9acab;}throw _0xbff677;});}},this[_0xff96bc(0x1f5)](this[_0xff96bc(0x22c)],_0xff96bc(0x24c),(_0x2e5224,{revisionsData:_0x2e9cfb,requestId:_0x3e9f2c})=>{const _0x45268f=_0xff96bc;Math[_0x45268f(0x24e)](..._0x2e9cfb[_0x45268f(0x1fe)](_0x358943=>_0x358943[_0x45268f(0x1f7)]))>this[_0x45268f(0x20b)]()-0x1?this[_0x45268f(0x228)]()[_0x45268f(0x248)](()=>{const _0x338d52=_0x45268f;this[_0x338d52(0x22d)](_0x2e9cfb,_0x3e9f2c);}):this[_0x45268f(0x22d)](_0x2e9cfb,_0x3e9f2c);});const {revisions:_0x5d90c2,requestId:_0xbd041}=await this[_0xff96bc(0x22c)][_0xff96bc(0x25b)](_0x295949[_0xff96bc(0x1ec)]);_0x295949[_0xff96bc(0x200)](this),this[_0xff96bc(0x218)]=_0xbd041,await this[_0xff96bc(0x222)](_0x5d90c2);for(const _0x36d9ab of _0x5d90c2)this[_0xff96bc(0x21d)][_0xff96bc(0x258)](_0x36d9ab);this[_0xff96bc(0x1f5)](_0x2edfb4,_0xff96bc(0x231),(_0x1ce46a,_0x5879da,_0x435067)=>{const _0x43a7f4=_0xff96bc;_0x435067&&(this[_0x43a7f4(0x23b)]=_0x2edfb4[_0x43a7f4(0x225)],_0x1ce46a[_0x43a7f4(0x257)]());}),this[_0xff96bc(0x21d)][_0xff96bc(0x229)](_0xff96bc(0x238))['to'](_0x295949,_0xff96bc(0x217),_0x339703=>_0x339703===_0x5537c0[_0xff96bc(0x1ff)]);}async[_0xcb105d(0x255)](){const _0x515773=_0xcb105d,_0x3fb37c=this[_0x515773(0x239)][_0x515773(0x251)][_0x515773(0x207)](_0x484296),_0x52a6aa=this[_0x515773(0x239)][_0x515773(0x251)][_0x515773(0x207)](_0x14ef63),_0x3c8249=async()=>{const _0x3f12f2=_0x515773,_0x55ce0f=this[_0x3f12f2(0x21d)][_0x3f12f2(0x1f4)],_0x5302c3=_0x55ce0f['id'],_0xf6a077=_0x5302c3!==_0x52a6aa[_0x3f12f2(0x240)];if(_0xf6a077){const _0xe8b72d=_0x52a6aa[_0x3f12f2(0x225)]-this[_0x3f12f2(0x23b)],_0x36718d=this[_0x3f12f2(0x20b)]();this[_0x3f12f2(0x21d)][_0x3f12f2(0x1f8)][_0x3f12f2(0x249)]();if(_0x55ce0f[_0x3f12f2(0x1f7)]+_0xe8b72d!==_0x36718d){const _0x53ba26=_0x55ce0f[_0x3f12f2(0x20f)]+_0xe8b72d,_0x19aaf9=this[_0x3f12f2(0x239)][_0x3f12f2(0x251)][_0x3f12f2(0x207)](_0x23b7b0),_0x4b53f8=this[_0x3f12f2(0x21d)][_0x3f12f2(0x221)]({'revision':_0x55ce0f,'from':_0x53ba26,'to':_0x36718d});_0x4b53f8['id']=_0x55ce0f['id'];const _0xc0dd73=_0x4b53f8[_0x3f12f2(0x20e)][_0x3f12f2(0x1fe)](_0x15823f=>_0x19aaf9[_0x3f12f2(0x236)](_0x15823f));_0x55ce0f[_0x3f12f2(0x219)]({..._0x4b53f8,'authors':_0xc0dd73},!0x0),this[_0x3f12f2(0x21d)][_0x3f12f2(0x22e)](_0x55ce0f['id'],_0x4b53f8,!0x0);}this[_0x3f12f2(0x21d)][_0x3f12f2(0x21a)]=_0x36718d,(_0x55ce0f[_0x3f12f2(0x1f7)]===_0x55ce0f[_0x3f12f2(0x20f)]&&!this[_0x3f12f2(0x21d)][_0x3f12f2(0x230)][_0x3f12f2(0x24d)](_0x5302c3)&&this[_0x3f12f2(0x21d)][_0x3f12f2(0x1f9)][_0x3f12f2(0x1f0)][_0x3f12f2(0x1fa)](_0x5302c3),this[_0x3f12f2(0x21d)][_0x3f12f2(0x23d)](_0x36718d));}const {revisions:_0x3df15f,requestId:_0x16fc2e}=await this[_0x3f12f2(0x22c)][_0x3f12f2(0x255)](_0x3fb37c[_0x3f12f2(0x1ec)],this[_0x3f12f2(0x218)]);_0xf6a077&&_0x3df15f[_0x3f12f2(0x205)]>0x0?_0x52a6aa[_0x3f12f2(0x204)]():(await this[_0x3f12f2(0x222)](_0x3df15f),this[_0x3f12f2(0x22d)](_0x3df15f,_0x16fc2e),this[_0x3f12f2(0x21d)][_0x3f12f2(0x1fb)]());};return _0x52a6aa[_0x515773(0x1ea)]?_0x3c8249():new Promise((_0x5662f0,_0x53c741)=>{const _0x2fa910=_0x515773;_0x52a6aa[_0x2fa910(0x1f6)](_0x2fa910(0x231),()=>{const _0x2f100d=_0x2fa910;_0x3c8249()[_0x2f100d(0x248)](_0x5662f0)[_0x2f100d(0x227)](_0x53c741);});});}[_0xcb105d(0x252)](){const _0x2c1ae6=_0xcb105d;super[_0x2c1ae6(0x252)]();}async[_0xcb105d(0x253)](){const _0x1e47d5=_0xcb105d;this[_0x1e47d5(0x22c)][_0x1e47d5(0x24a)]||await new Promise(_0x2a303d=>{const _0x28c00d=_0x1e47d5;this[_0x28c00d(0x1f5)](this[_0x28c00d(0x22c)],_0x28c00d(0x22b),_0x44cf40=>{const _0x4d1737=_0x28c00d;_0x44cf40[_0x4d1737(0x257)](),_0x2a303d();});});}[_0xcb105d(0x20b)](){const _0x314451=_0xcb105d,_0x19c61f=this[_0x314451(0x239)][_0x314451(0x251)][_0x314451(0x207)](_0x14ef63)[_0x314451(0x22a)][_0x314451(0x216)]()[_0x314451(0x24b)]();for(const _0x1bf216 of _0x19c61f)if(_0x314451(0x233)!==_0x1bf216[_0x314451(0x22f)]||_0x1bf216[_0x314451(0x209)])return _0x1bf216[_0x314451(0x1f3)]+0x1;}[_0xcb105d(0x228)](){const _0x3e6e12=_0xcb105d,_0xadb5fb=this[_0x3e6e12(0x239)][_0x3e6e12(0x251)][_0x3e6e12(0x207)](_0x14ef63);return new Promise(_0x554705=>{const _0x56eb1c=_0x3e6e12;_0xadb5fb[_0x56eb1c(0x202)]?_0xadb5fb[_0x56eb1c(0x1f6)](_0x56eb1c(0x1e9),()=>{const _0x3b87c7=_0x56eb1c;_0x554705(this[_0x3b87c7(0x20b)]());}):_0x554705(this[_0x56eb1c(0x20b)]());});}[_0xcb105d(0x22d)](_0x4cd3e2,_0x3e7317){const _0x22e18d=_0xcb105d,_0x200445=this[_0x22e18d(0x21d)][_0x22e18d(0x1f9)];this[_0x22e18d(0x218)]=_0x3e7317;for(const _0x41ac28 of _0x4cd3e2){const _0x30752e=_0x200445[_0x22e18d(0x23f)](_0x41ac28['id']);if(_0x30752e){if((_0x41ac28[_0x22e18d(0x20f)]||_0x41ac28[_0x22e18d(0x1f7)])&&(_0x41ac28[_0x22e18d(0x237)]=null),_0x30752e===this[_0x22e18d(0x21d)][_0x22e18d(0x1f4)]){const _0x3ba05e=Math[_0x22e18d(0x24e)](_0x30752e[_0x22e18d(0x1f7)],_0x41ac28[_0x22e18d(0x1f7)]),_0x32f6c5=Math[_0x22e18d(0x24e)](_0x30752e[_0x22e18d(0x20f)],_0x41ac28[_0x22e18d(0x20f)]);let _0x234014;_0x30752e[_0x22e18d(0x1f7)]===_0x41ac28[_0x22e18d(0x1f7)]&&_0x30752e[_0x22e18d(0x20f)]===_0x41ac28[_0x22e18d(0x20f)]?(_0x234014=!0x0,this[_0x22e18d(0x234)](_0x41ac28)):_0x41ac28[_0x22e18d(0x1f7)]===_0x3ba05e&&_0x41ac28[_0x22e18d(0x20f)]===_0x32f6c5?_0x234014=!0x1:(_0x30752e[_0x22e18d(0x1f7)]===_0x3ba05e&&_0x30752e[_0x22e18d(0x20f)]===_0x32f6c5||this[_0x22e18d(0x242)]({'revision':_0x30752e,'from':_0x32f6c5,'to':_0x3ba05e}),_0x234014=!0x0),_0x234014&&(delete _0x41ac28[_0x22e18d(0x20f)],delete _0x41ac28[_0x22e18d(0x1f7)],delete _0x41ac28[_0x22e18d(0x237)],delete _0x41ac28[_0x22e18d(0x203)],delete _0x41ac28[_0x22e18d(0x20e)]);}this[_0x22e18d(0x21d)][_0x22e18d(0x1e7)](_0x41ac28),this[_0x22e18d(0x234)](_0x41ac28);}else this[_0x22e18d(0x21d)][_0x22e18d(0x258)](_0x41ac28);}const _0xeff793=_0x200445[_0x22e18d(0x25a)]();_0xeff793[_0x22e18d(0x24b)]();for(let _0x401a17=0x0;_0x401a17<_0xeff793[_0x22e18d(0x205)]-0x1;_0x401a17++){const _0x399168=_0xeff793[_0x401a17],_0x1d27d4=_0xeff793[_0x401a17+0x1];if(_0x399168[_0x22e18d(0x20f)]<_0x1d27d4[_0x22e18d(0x1f7)]){const _0x4fbe92=_0x1d27d4[_0x22e18d(0x1f7)],_0x50405d=Math[_0x22e18d(0x24e)](_0x4fbe92,_0x399168[_0x22e18d(0x1f7)]);this[_0x22e18d(0x242)]({'revision':_0x399168,'from':_0x4fbe92,'to':_0x50405d});}}}[_0xcb105d(0x242)]({revision:_0x471107,from:_0x412f8b,to:_0x14f54b}={}){const _0x370142=_0xcb105d,_0x4cbd00=this[_0x370142(0x239)][_0x370142(0x251)][_0x370142(0x207)](_0x23b7b0),_0x4ec7f6=this[_0x370142(0x21d)][_0x370142(0x221)]({'revision':_0x471107,'from':_0x412f8b,'to':_0x14f54b});_0x4ec7f6[_0x370142(0x241)]=_0x4ec7f6[_0x370142(0x20e)][_0x370142(0x1fe)](_0x4b149f=>_0x4cbd00[_0x370142(0x236)](_0x4b149f)),_0x471107[_0x370142(0x219)](_0x4ec7f6);}[_0xcb105d(0x234)](_0x2bc731){const _0x439f72=_0xcb105d,_0x583fe8={};_0x583fe8['id']=_0x2bc731['id'];for(const _0x33604 of Object[_0x439f72(0x1f1)](_0x2bc731))'id'!==_0x33604&&(_0x583fe8[_0x33604]=void 0x0);this[_0x439f72(0x21d)][_0x439f72(0x22e)](_0x583fe8['id'],_0x583fe8,!0x0);}async[_0xcb105d(0x222)](_0x192861){const _0xc67286=_0xcb105d,_0x4c7b73=this[_0xc67286(0x239)][_0xc67286(0x251)][_0xc67286(0x207)](_0x23b7b0),{connection:_0x30b250}=this[_0xc67286(0x239)][_0xc67286(0x251)][_0xc67286(0x207)](_0x484296),_0x5c73c4=new Set();for(const _0x47b31e of _0x192861){for(const _0x59cdbc of _0x47b31e[_0xc67286(0x20e)])_0x5e0335(_0x59cdbc);_0x47b31e[_0xc67286(0x20d)]&&_0x5e0335(_0x47b31e[_0xc67286(0x20d)]);}if(0x0===_0x5c73c4[_0xc67286(0x21f)])return;const _0x30922a=await _0x309705[_0xc67286(0x210)](_0x30b250,Array[_0xc67286(0x24f)](_0x5c73c4));for(const _0x1a57af of _0x30922a)_0x4c7b73[_0xc67286(0x236)](_0x1a57af['id'])||_0x4c7b73[_0xc67286(0x21c)](_0x1a57af);function _0x5e0335(_0x5075e9){const _0xe2760a=_0xc67286;_0x4c7b73[_0xe2760a(0x236)](_0x5075e9)||_0x5c73c4[_0xe2760a(0x1fc)](_0x5075e9);}}}export default u;function st(_0x11299b){const _0x5e57b5=_0xcb105d;return _0x11299b[_0x5e57b5(0x245)][_0x5e57b5(0x21e)](_0x5e57b5(0x235))||_0x11299b[_0x5e57b5(0x245)][_0x5e57b5(0x21e)](_0x5e57b5(0x246))||_0x11299b[_0x5e57b5(0x245)][_0x5e57b5(0x21e)](_0x5e57b5(0x211));}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x2e9eef=_0x78a9;(function(_0x196378,_0x2e3d88){const _0x44562a=_0x78a9,_0x5c00dc=_0x196378();while(!![]){try{const _0x42d855=parseInt(_0x44562a(0x95))/0x1+parseInt(_0x44562a(0xa8))/0x2*(-parseInt(_0x44562a(0x8b))/0x3)+-parseInt(_0x44562a(0x9f))/0x4*(-parseInt(_0x44562a(0xa7))/0x5)+parseInt(_0x44562a(0x8f))/0x6*(-parseInt(_0x44562a(0xb7))/0x7)+-parseInt(_0x44562a(0xaa))/0x8+-parseInt(_0x44562a(0xba))/0x9+parseInt(_0x44562a(0xb4))/0xa;if(_0x42d855===_0x2e3d88)break;else _0x5c00dc['push'](_0x5c00dc['shift']());}catch(_0x5401cf){_0x5c00dc['push'](_0x5c00dc['shift']());}}}(_0x1770,0xe2d5c));import{Plugin as _0x772871}from'ckeditor5/src/core.js';import{User as _0x1cb910,TrackChangesService as _0x138322}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x51efa from'../realtimecollaborativeediting/websocketgateway.js';import _0x415ba3 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x1eaea9}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x772871{static [_0x2e9eef(0x93)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x138322)());[_0x2e9eef(0xbe)];[_0x2e9eef(0x86)];static get[_0x2e9eef(0xb2)](){const _0x44a15f=_0x2e9eef;return[_0x415ba3,_0x44a15f(0xa2),_0x51efa];}static get[_0x2e9eef(0x8c)](){const _0x3643a9=_0x2e9eef;return _0x3643a9(0x8e);}static get[_0x2e9eef(0xb9)](){return!0x0;}static get[_0x2e9eef(0xb5)](){return!0x0;}constructor(_0xe40435){const _0x4d8914=_0x2e9eef;super(_0xe40435);const _0x370bdf=this[_0x4d8914(0xb3)][_0x4d8914(0x83)][_0x4d8914(0xb8)](_0x4d8914(0xa6));this[_0x4d8914(0xbe)]=new Map(),this[_0x4d8914(0x86)]=new f[(_0x4d8914(0x93))](_0x370bdf);}[_0x2e9eef(0xac)](){const _0x2dca7b=_0x2e9eef,_0x4bad69=this[_0x2dca7b(0xb3)][_0x2dca7b(0xb6)][_0x2dca7b(0xb8)](_0x51efa),_0x3a21f1=this[_0x2dca7b(0xb3)][_0x2dca7b(0xb6)][_0x2dca7b(0xb8)](_0x2dca7b(0xa2));return _0x3a21f1[_0x2dca7b(0xbb)]={'getSuggestion':async _0x33f838=>{const _0xb6113b=_0x2dca7b;await this[_0xb6113b(0x9b)]();const _0x3dacb5=await this[_0xb6113b(0x86)][_0xb6113b(0xb8)](_0x33f838)[_0xb6113b(0x82)](w);return await this[_0xb6113b(0xaf)]([_0x3dacb5]),_0x3dacb5;},'addSuggestion':async({id:_0x40d781,type:_0xdb93d7,data:_0x418581,originalSuggestionId:_0xc00253,attributes:_0xe96370})=>{const _0xdaa1b1=_0x2dca7b;await this[_0xdaa1b1(0x9b)]();const _0x5ba92a={'id':_0x40d781,'type':_0xdb93d7,'data':_0x418581,'originalSuggestionId':_0xc00253,'attributes':_0xe96370},_0x313e93=await this[_0xdaa1b1(0x86)][_0xdaa1b1(0x94)](_0x40d781,_0xdb93d7,_0x418581,_0xc00253,_0xe96370)[_0xdaa1b1(0x82)](_0x127737=>{if(st(_0x127737))return new Promise(_0x1b92c3=>{const _0x11b194=_0x78a9;this[_0x11b194(0xbe)][_0x11b194(0x9d)](_0x40d781,{'resolve':_0x1b92c3,'suggestionData':_0x5ba92a});});throw _0x127737;});return this[_0xdaa1b1(0xbe)][_0xdaa1b1(0xbc)](_0x40d781),_0x313e93;},'updateSuggestion':async(_0x369ffb,_0x5838cb)=>{const _0x22826a=_0x2dca7b;if(await this[_0x22826a(0x9b)](),_0x22826a(0xa9)!==_0x5838cb[_0x22826a(0x8a)])return this[_0x22826a(0x86)][_0x22826a(0x9e)](_0x369ffb,_0x5838cb)[_0x22826a(0x82)](w);}},this[_0x2dca7b(0xb1)](this[_0x2dca7b(0x86)],_0x2dca7b(0xa0),(_0x495675,_0x307450)=>{const _0x456160=_0x2dca7b;_0x3a21f1[_0x456160(0x81)](_0x307450['id'])&&(_0x3a21f1[_0x456160(0x9c)](_0x307450['id'])[_0x456160(0x99)]=_0x307450[_0x456160(0x99)]);}),this[_0x2dca7b(0x86)][_0x2dca7b(0x80)](_0x4bad69[_0x2dca7b(0x98)])[_0x2dca7b(0xad)](_0x263ea6=>(_0x4bad69[_0x2dca7b(0x85)](this),this[_0x2dca7b(0xaf)](_0x263ea6)[_0x2dca7b(0xad)](()=>{const _0x1f149f=_0x2dca7b;for(const _0x37fd27 of _0x263ea6){_0x3a21f1[_0x1f149f(0xb0)](_0x37fd27)[_0x1f149f(0xa5)]=!0x0;}})));}async[_0x2e9eef(0x96)](){const _0x3a57a6=_0x2e9eef,_0x495864=this[_0x3a57a6(0xb3)][_0x3a57a6(0xb6)][_0x3a57a6(0xb8)](_0x3a57a6(0xa2)),{connection:_0xbf4611}=this[_0x3a57a6(0xb3)][_0x3a57a6(0xb6)][_0x3a57a6(0xb8)](_0x51efa),_0x1981f7=await this[_0x3a57a6(0x86)][_0x3a57a6(0x80)](_0xbf4611);await this[_0x3a57a6(0xaf)](_0x1981f7);for(const {suggestionData:_0x12e6f6,resolve:_0x4e9be2}of this[_0x3a57a6(0xbe)][_0x3a57a6(0xa1)]()){let _0x4fc465=_0x1981f7[_0x3a57a6(0xa4)](_0x8526e1=>_0x8526e1['id']===_0x12e6f6['id']);_0x4fc465||(_0x4fc465=await this[_0x3a57a6(0x86)][_0x3a57a6(0x94)](_0x12e6f6['id'],_0x12e6f6[_0x3a57a6(0x8d)],_0x12e6f6[_0x3a57a6(0x87)],_0x12e6f6[_0x3a57a6(0x91)])),_0x4e9be2(_0x4fc465);}for(const _0x1ad427 of _0x1981f7)_0x495864[_0x3a57a6(0x81)](_0x1ad427['id'])||_0x495864[_0x3a57a6(0xb0)](_0x1ad427);}async[_0x2e9eef(0x9b)](){const _0x3a7069=_0x2e9eef;this[_0x3a7069(0x86)][_0x3a7069(0x89)]||await new Promise(_0x304a63=>{const _0x4b647e=_0x3a7069;this[_0x4b647e(0xb1)](this[_0x4b647e(0x86)],_0x4b647e(0x84),_0x5b6869=>{const _0x36932c=_0x4b647e;_0x5b6869[_0x36932c(0xab)](),_0x304a63();});});}async[_0x2e9eef(0xaf)](_0x51f6c2){const _0x1c5ff9=_0x2e9eef,_0x4dab80=this[_0x1c5ff9(0xb3)][_0x1c5ff9(0xb6)][_0x1c5ff9(0xb8)](_0x1eaea9),{connection:_0x560282}=this[_0x1c5ff9(0xb3)][_0x1c5ff9(0xb6)][_0x1c5ff9(0xb8)](_0x51efa),_0x1c4144=new Set();for(const {authorId:_0xe62582}of _0x51f6c2)_0x4dab80[_0x1c5ff9(0xbf)](_0xe62582)||_0x1c4144[_0x1c5ff9(0x94)](_0xe62582);if(0x0===_0x1c4144[_0x1c5ff9(0x9a)])return;const _0x412149=await _0x1cb910[_0x1c5ff9(0xa3)](_0x560282,Array[_0x1c5ff9(0xbd)](_0x1c4144));for(const _0x25dcd4 of _0x412149)_0x4dab80[_0x1c5ff9(0xbf)](_0x25dcd4['id'])||_0x4dab80[_0x1c5ff9(0x90)](_0x25dcd4);}}export default f;function _0x78a9(_0x54dcf5,_0x4bad0a){const _0x1770b8=_0x1770();return _0x78a9=function(_0x78a9cc,_0x142c7f){_0x78a9cc=_0x78a9cc-0x80;let _0x1b5b4a=_0x1770b8[_0x78a9cc];return _0x1b5b4a;},_0x78a9(_0x54dcf5,_0x4bad0a);}function _0x1770(){const _0x6512d8=['CloudServicesTrackChangesAdapter','6rGbquk','addUser','originalSuggestionId','message','TrackChangesService','add','202423GXHYNz','reconnect','startsWith','connection','attributes','size','_waitForServiceReady','getSuggestion','set','update','88012UxcoNL','suggestionUpdated','values','TrackChangesEditing','getMany','find','_saved','collaboration.channelId','315KAWJFz','92884WjHhNf','open','1727144rscqDv','off','init','then','cloud-services-internal-error:\x20Not\x20connected.','_fetchMissingUsersForThreads','addSuggestionData','listenTo','requires','editor','9976450aDmtBw','isPremiumPlugin','plugins','9069865ilSiKV','get','isOfficialPlugin','56043upadCu','adapter','delete','from','_bufferedRequests','getUser','connect','hasSuggestion','catch','config','connected','addToReconnectionStack','_trackChangesService','data','cloud-services-internal-error:\x20Request\x20timeout.','isConnected','state','9nFnocG','pluginName','type'];_0x1770=function(){return _0x6512d8;};return _0x1770();}function w(_0xd5a33e){if(st(_0xd5a33e))return new Promise(()=>{});throw _0xd5a33e;}function st(_0x439960){const _0x71f9d7=_0x2e9eef;return _0x439960[_0x71f9d7(0x92)][_0x71f9d7(0x97)](_0x71f9d7(0xae))||_0x439960[_0x71f9d7(0x92)][_0x71f9d7(0x97)](_0x71f9d7(0x88));}
|