@ckeditor/ckeditor5-real-time-collaboration 45.2.1-alpha.6 → 45.2.1-alpha.7

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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x14fc(){const _0x13a627=['1350756AcZkEv','size','state','remove','12DAfMmW','user','_users','clear','allConnectedUsers','plugins','delete','_handleSessionAdd','getUserSessions','pluginName','stopListening','defineMe','channelConnectedUsers','fire','Sessions','isOfficialPlugin','get','sessionAdd:','connected','sessions-register-already-registered','role','711060EOfrUd','723448Uczgbm','requires','values','change:state','set','getUserBySessionId','listenTo','connection','add','has','forEach','mySessionId','720992EKEmQK','_uniqueUsersCount','context','isMe','sessionId','914778ivUgDu','392908JdZcDr','isPremiumPlugin','_registeredSessions','_handleSessionRemove','7pfOIbA','orderNumber','getUserRole','register','getUser','addUser','14fxdPuo','_createUser','unregister','55326fbCXTU','50qZgwld','assign','init','channelSessions','sessions-unregister-not-exist'];_0x14fc=function(){return _0x13a627;};return _0x14fc();}function _0x175b(_0xdeb57b,_0x1778e3){const _0x14fc7a=_0x14fc();return _0x175b=function(_0x175b89,_0x103df5){_0x175b89=_0x175b89-0x1b5;let _0x1eb3ac=_0x14fc7a[_0x175b89];return _0x1eb3ac;},_0x175b(_0xdeb57b,_0x1778e3);}const _0x51d6cb=_0x175b;(function(_0x4ae49e,_0x58f199){const _0x54ae51=_0x175b,_0x5add6a=_0x4ae49e();while(!![]){try{const _0x5606f9=-parseInt(_0x54ae51(0x1e7))/0x1*(parseInt(_0x54ae51(0x1ea))/0x2)+-parseInt(_0x54ae51(0x1b5))/0x3*(-parseInt(_0x54ae51(0x1dd))/0x4)+parseInt(_0x54ae51(0x1ca))/0x5+-parseInt(_0x54ae51(0x1dc))/0x6*(-parseInt(_0x54ae51(0x1e1))/0x7)+-parseInt(_0x54ae51(0x1d7))/0x8+-parseInt(_0x54ae51(0x1f0))/0x9+parseInt(_0x54ae51(0x1eb))/0xa*(parseInt(_0x54ae51(0x1cb))/0xb);if(_0x5606f9===_0x58f199)break;else _0x5add6a['push'](_0x5add6a['shift']());}catch(_0x488bc0){_0x5add6a['push'](_0x5add6a['shift']());}}}(_0x14fc,0x5ef45));import{ContextPlugin as _0x5366af}from'ckeditor5/src/core.js';import{Collection as _0x151b38,CKEditorError as _0x316e62}from'ckeditor5/src/utils.js';import _0x44d328 from'./websocketgateway.js';import{Users as _0x1de676}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x5366af{[_0x51d6cb(0x1ee)];[_0x51d6cb(0x1c1)];[_0x51d6cb(0x1b9)];[_0x51d6cb(0x1df)];[_0x51d6cb(0x1d8)];[_0x51d6cb(0x1b7)];static get[_0x51d6cb(0x1be)](){const _0x100472=_0x51d6cb;return _0x100472(0x1c3);}static get[_0x51d6cb(0x1c4)](){return!0x0;}static get[_0x51d6cb(0x1de)](){return!0x0;}static get[_0x51d6cb(0x1cc)](){return[_0x44d328,_0x1de676];}constructor(_0x318efc){const _0x1c0680=_0x51d6cb;super(_0x318efc),this[_0x1c0680(0x1ee)]=new Map(),this[_0x1c0680(0x1c1)]=new Map(),this[_0x1c0680(0x1b9)]=new _0x151b38(),this[_0x1c0680(0x1df)]=new Map(),this[_0x1c0680(0x1d8)]=0x0,this[_0x1c0680(0x1b7)]=this[_0x1c0680(0x1d9)][_0x1c0680(0x1ba)][_0x1c0680(0x1c5)](_0x1de676);}[_0x51d6cb(0x1ed)](){const _0x34f9cb=_0x51d6cb,_0x32b92a=this[_0x34f9cb(0x1d9)][_0x34f9cb(0x1ba)][_0x34f9cb(0x1c5)](_0x44d328);this[_0x34f9cb(0x1d1)](_0x32b92a,_0x34f9cb(0x1ce),(_0x41c783,_0x3c3479,_0x554bbe)=>{const _0x474370=_0x34f9cb;if(_0x474370(0x1c7)!==_0x554bbe)this[_0x474370(0x1ee)][_0x474370(0x1d5)](_0x562cf5=>_0x562cf5[_0x474370(0x1b8)]()),this[_0x474370(0x1c1)][_0x474370(0x1d5)](_0x39670a=>_0x39670a[_0x474370(0x1b8)]()),this[_0x474370(0x1b9)][_0x474370(0x1b8)]();else{for(const [_0x10800d,_0x1ce0b6]of this[_0x474370(0x1df)])for(const _0x2ed52d of _0x1ce0b6)this[_0x474370(0x1bc)](_0x10800d,_0x2ed52d);}}),this[_0x34f9cb(0x1e8)](_0x32b92a[_0x34f9cb(0x1d2)]['me'],!0x0);}[_0x51d6cb(0x1e4)](_0x113a8c,_0x425042){const _0x3f7a75=_0x51d6cb;if(this[_0x3f7a75(0x1df)][_0x3f7a75(0x1d4)](_0x113a8c))throw new _0x316e62(_0x3f7a75(0x1c8),null,{'channelId':_0x113a8c});this[_0x3f7a75(0x1df)][_0x3f7a75(0x1cf)](_0x113a8c,_0x425042),this[_0x3f7a75(0x1ee)][_0x3f7a75(0x1cf)](_0x113a8c,new _0x151b38()),this[_0x3f7a75(0x1c1)][_0x3f7a75(0x1cf)](_0x113a8c,new _0x151b38()),this[_0x3f7a75(0x1d1)](_0x425042,_0x3f7a75(0x1d3),(_0x2f9125,_0x96eed8)=>this[_0x3f7a75(0x1bc)](_0x113a8c,_0x96eed8)),this[_0x3f7a75(0x1d1)](_0x425042,_0x3f7a75(0x1f3),(_0x341766,_0x12b68e)=>this[_0x3f7a75(0x1e0)](_0x113a8c,_0x12b68e));for(const _0x42120a of _0x425042)this[_0x3f7a75(0x1bc)](_0x113a8c,_0x42120a);}[_0x51d6cb(0x1e9)](_0x5587c8){const _0x3236b9=_0x51d6cb;if(!this[_0x3236b9(0x1df)][_0x3236b9(0x1d4)](_0x5587c8))throw new _0x316e62(_0x3236b9(0x1ef),null,{'channelId':_0x5587c8});const _0x2a6be9=this[_0x3236b9(0x1df)][_0x3236b9(0x1c5)](_0x5587c8);this[_0x3236b9(0x1bf)](_0x2a6be9);for(const _0x392606 of _0x2a6be9)_0x3236b9(0x1c7)===this[_0x3236b9(0x1d9)][_0x3236b9(0x1ba)][_0x3236b9(0x1c5)](_0x44d328)[_0x3236b9(0x1f2)]&&this[_0x3236b9(0x1e0)](_0x5587c8,_0x392606);this[_0x3236b9(0x1df)][_0x3236b9(0x1bb)](_0x5587c8),this[_0x3236b9(0x1ee)][_0x3236b9(0x1bb)](_0x5587c8),this[_0x3236b9(0x1c1)][_0x3236b9(0x1bb)](_0x5587c8);}get[_0x51d6cb(0x1d6)](){const _0xff4a29=_0x51d6cb;return this[_0xff4a29(0x1d9)][_0xff4a29(0x1ba)][_0xff4a29(0x1c5)](_0x44d328)[_0xff4a29(0x1d2)][_0xff4a29(0x1db)];}[_0x51d6cb(0x1d0)](_0x517922){const _0x20a114=_0x51d6cb;for(const _0x2896f1 of this[_0x20a114(0x1ee)][_0x20a114(0x1cd)]())for(const _0x299453 of _0x2896f1)if(_0x299453['id']===_0x517922)return _0x299453[_0x20a114(0x1b6)];}[_0x51d6cb(0x1bd)](_0x4e76ad,_0x1174d2){const _0x91d934=_0x51d6cb,_0x5ad437=_0x1174d2?[this[_0x91d934(0x1ee)][_0x91d934(0x1c5)](_0x1174d2)]:this[_0x91d934(0x1ee)][_0x91d934(0x1cd)](),_0x5f3837=new Set();for(const _0x266332 of _0x5ad437)for(const _0x45d6b9 of _0x266332)_0x45d6b9[_0x91d934(0x1b6)]['id']===_0x4e76ad['id']&&_0x5f3837[_0x91d934(0x1d3)](_0x45d6b9['id']);return _0x5f3837;}[_0x51d6cb(0x1e3)](_0x10225d){const _0x56b28d=_0x51d6cb;for(const _0x968e1c of this[_0x56b28d(0x1ee)][_0x56b28d(0x1cd)]())for(const _0x266fb1 of _0x968e1c)if(_0x266fb1[_0x56b28d(0x1b6)]===_0x10225d)return _0x266fb1[_0x56b28d(0x1c9)];}[_0x51d6cb(0x1bc)](_0x16e97b,_0x14681c){const _0x457d05=_0x51d6cb;if(_0x457d05(0x1c7)!==this[_0x457d05(0x1d9)][_0x457d05(0x1ba)][_0x457d05(0x1c5)](_0x44d328)[_0x457d05(0x1f2)])return;const _0x1327d3=_0x14681c[_0x457d05(0x1b6)],_0x590ffa=this[_0x457d05(0x1b7)][_0x457d05(0x1e5)](_0x1327d3['id'])||this[_0x457d05(0x1e8)](_0x1327d3),_0x232de2=Object[_0x457d05(0x1ec)]({},_0x14681c,{'user':_0x590ffa});this[_0x457d05(0x1ee)][_0x457d05(0x1c5)](_0x16e97b)[_0x457d05(0x1d3)](_0x232de2);const _0x1857dc=this[_0x457d05(0x1c1)][_0x457d05(0x1c5)](_0x16e97b);_0x1857dc[_0x457d05(0x1d4)](_0x590ffa['id'])||_0x1857dc[_0x457d05(0x1d3)](_0x590ffa),this[_0x457d05(0x1b9)][_0x457d05(0x1d4)](_0x590ffa['id'])||this[_0x457d05(0x1b9)][_0x457d05(0x1d3)](_0x590ffa,_0x590ffa[_0x457d05(0x1da)]?0x0:void 0x0),this[_0x457d05(0x1c2)](_0x457d05(0x1c6)+_0x16e97b,{'channelId':_0x16e97b,'session':_0x232de2});}[_0x51d6cb(0x1e0)](_0x1dfc2c,_0x1ad1fd){const _0x202eed=_0x51d6cb;if(_0x202eed(0x1c7)!==this[_0x202eed(0x1d9)][_0x202eed(0x1ba)][_0x202eed(0x1c5)](_0x44d328)[_0x202eed(0x1f2)])return;const _0x51304c=this[_0x202eed(0x1c1)][_0x202eed(0x1c5)](_0x1dfc2c),_0x316ec5=_0x1ad1fd[_0x202eed(0x1b6)];_0x316ec5['id']&&(this[_0x202eed(0x1ee)][_0x202eed(0x1c5)](_0x1dfc2c)[_0x202eed(0x1f3)](_0x1ad1fd['id']),_0x51304c[_0x202eed(0x1d4)](_0x316ec5['id'])&&!this[_0x202eed(0x1bd)](_0x316ec5,_0x1dfc2c)[_0x202eed(0x1f1)]&&_0x51304c[_0x202eed(0x1f3)](_0x316ec5['id']),this[_0x202eed(0x1b9)][_0x202eed(0x1c5)](_0x316ec5['id'])&&!this[_0x202eed(0x1bd)](_0x316ec5)[_0x202eed(0x1f1)]&&this[_0x202eed(0x1b9)][_0x202eed(0x1f3)](_0x316ec5['id']));}[_0x51d6cb(0x1e8)](_0x522cea,_0x25008e){const _0x332e63=_0x51d6cb,_0x20456f=this[_0x332e63(0x1b7)][_0x332e63(0x1e6)](_0x522cea);return _0x25008e&&this[_0x332e63(0x1b7)][_0x332e63(0x1c0)](_0x522cea['id']),_0x20456f[_0x332e63(0x1e2)]=this[_0x332e63(0x1d8)]++,_0x20456f;}}
23
+ const _0x5920c0=_0x2004;(function(_0x35e6fb,_0x1fe299){const _0x37a037=_0x2004,_0x1377b8=_0x35e6fb();while(!![]){try{const _0x55eefd=-parseInt(_0x37a037(0xa1))/0x1*(-parseInt(_0x37a037(0xbc))/0x2)+-parseInt(_0x37a037(0xa8))/0x3*(-parseInt(_0x37a037(0x9d))/0x4)+-parseInt(_0x37a037(0x91))/0x5+parseInt(_0x37a037(0x8c))/0x6+parseInt(_0x37a037(0xc1))/0x7+-parseInt(_0x37a037(0xac))/0x8+-parseInt(_0x37a037(0xa3))/0x9;if(_0x55eefd===_0x1fe299)break;else _0x1377b8['push'](_0x1377b8['shift']());}catch(_0x1a395d){_0x1377b8['push'](_0x1377b8['shift']());}}}(_0x349e,0xdff20));import{ContextPlugin as _0x413678}from'ckeditor5/src/core.js';import{Collection as _0x499873,CKEditorError as _0x388b99}from'ckeditor5/src/utils.js';import _0x2298e5 from'./websocketgateway.js';function _0x349e(){const _0x82d68f=['set','remove','_registeredSessions','1162203TsDdjb','connection','getUserSessions','sessionId','context','values','mySessionId','sessionAdd:','9209544TDCoBr','unregister','getUserRole','addUser','clear','6072635ImVPQu','_uniqueUsersCount','pluginName','forEach','listenTo','defineMe','_handleSessionRemove','Sessions','isOfficialPlugin','allConnectedUsers','role','channelConnectedUsers','9644GpFBvc','get','channelSessions','stopListening','1593078vrCmKR','getUser','10773981XZeJua','user','change:state','size','_users','1278WZtjAV','requires','delete','connected','7937608vlQSGK','state','orderNumber','sessions-unregister-not-exist','init','_createUser','assign','isPremiumPlugin','has','fire','_handleSessionAdd','add','register','sessions-register-already-registered','getUserBySessionId','isMe','2OzKeYM','plugins'];_0x349e=function(){return _0x82d68f;};return _0x349e();}function _0x2004(_0x3da839,_0x488221){const _0x349e65=_0x349e();return _0x2004=function(_0x2004a5,_0x5d1319){_0x2004a5=_0x2004a5-0x89;let _0x19be49=_0x349e65[_0x2004a5];return _0x19be49;},_0x2004(_0x3da839,_0x488221);}import{Users as _0x4e0fce}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x413678{[_0x5920c0(0x9f)];[_0x5920c0(0x9c)];[_0x5920c0(0x9a)];[_0x5920c0(0xc0)];[_0x5920c0(0x92)];[_0x5920c0(0xa7)];static get[_0x5920c0(0x93)](){const _0x5bd52b=_0x5920c0;return _0x5bd52b(0x98);}static get[_0x5920c0(0x99)](){return!0x0;}static get[_0x5920c0(0xb3)](){return!0x0;}static get[_0x5920c0(0xa9)](){return[_0x2298e5,_0x4e0fce];}constructor(_0x351892){const _0x4b8e85=_0x5920c0;super(_0x351892),this[_0x4b8e85(0x9f)]=new Map(),this[_0x4b8e85(0x9c)]=new Map(),this[_0x4b8e85(0x9a)]=new _0x499873(),this[_0x4b8e85(0xc0)]=new Map(),this[_0x4b8e85(0x92)]=0x0,this[_0x4b8e85(0xa7)]=this[_0x4b8e85(0xc5)][_0x4b8e85(0xbd)][_0x4b8e85(0x9e)](_0x4e0fce);}[_0x5920c0(0xb0)](){const _0x4bba80=_0x5920c0,_0x3658c7=this[_0x4bba80(0xc5)][_0x4bba80(0xbd)][_0x4bba80(0x9e)](_0x2298e5);this[_0x4bba80(0x95)](_0x3658c7,_0x4bba80(0xa5),(_0x221aee,_0x5246e3,_0x7b57cf)=>{const _0x1d32c6=_0x4bba80;if(_0x1d32c6(0xab)!==_0x7b57cf)this[_0x1d32c6(0x9f)][_0x1d32c6(0x94)](_0x554c08=>_0x554c08[_0x1d32c6(0x90)]()),this[_0x1d32c6(0x9c)][_0x1d32c6(0x94)](_0x4c894d=>_0x4c894d[_0x1d32c6(0x90)]()),this[_0x1d32c6(0x9a)][_0x1d32c6(0x90)]();else{for(const [_0x106c2e,_0x117091]of this[_0x1d32c6(0xc0)])for(const _0x23712c of _0x117091)this[_0x1d32c6(0xb6)](_0x106c2e,_0x23712c);}}),this[_0x4bba80(0xb1)](_0x3658c7[_0x4bba80(0xc2)]['me'],!0x0);}[_0x5920c0(0xb8)](_0x34db3a,_0x5a31fa){const _0x40f76=_0x5920c0;if(this[_0x40f76(0xc0)][_0x40f76(0xb4)](_0x34db3a))throw new _0x388b99(_0x40f76(0xb9),null,{'channelId':_0x34db3a});this[_0x40f76(0xc0)][_0x40f76(0xbe)](_0x34db3a,_0x5a31fa),this[_0x40f76(0x9f)][_0x40f76(0xbe)](_0x34db3a,new _0x499873()),this[_0x40f76(0x9c)][_0x40f76(0xbe)](_0x34db3a,new _0x499873()),this[_0x40f76(0x95)](_0x5a31fa,_0x40f76(0xb7),(_0xdadb52,_0x1ae2cc)=>this[_0x40f76(0xb6)](_0x34db3a,_0x1ae2cc)),this[_0x40f76(0x95)](_0x5a31fa,_0x40f76(0xbf),(_0x3fc0cc,_0x11c3d8)=>this[_0x40f76(0x97)](_0x34db3a,_0x11c3d8));for(const _0x2eae7d of _0x5a31fa)this[_0x40f76(0xb6)](_0x34db3a,_0x2eae7d);}[_0x5920c0(0x8d)](_0x24ab04){const _0x501e69=_0x5920c0;if(!this[_0x501e69(0xc0)][_0x501e69(0xb4)](_0x24ab04))throw new _0x388b99(_0x501e69(0xaf),null,{'channelId':_0x24ab04});const _0x3984ba=this[_0x501e69(0xc0)][_0x501e69(0x9e)](_0x24ab04);this[_0x501e69(0xa0)](_0x3984ba);for(const _0x2b6e75 of _0x3984ba)_0x501e69(0xab)===this[_0x501e69(0xc5)][_0x501e69(0xbd)][_0x501e69(0x9e)](_0x2298e5)[_0x501e69(0xad)]&&this[_0x501e69(0x97)](_0x24ab04,_0x2b6e75);this[_0x501e69(0xc0)][_0x501e69(0xaa)](_0x24ab04),this[_0x501e69(0x9f)][_0x501e69(0xaa)](_0x24ab04),this[_0x501e69(0x9c)][_0x501e69(0xaa)](_0x24ab04);}get[_0x5920c0(0x8a)](){const _0x494803=_0x5920c0;return this[_0x494803(0xc5)][_0x494803(0xbd)][_0x494803(0x9e)](_0x2298e5)[_0x494803(0xc2)][_0x494803(0xc4)];}[_0x5920c0(0xba)](_0x2191b7){const _0x4b2afa=_0x5920c0;for(const _0x23c01e of this[_0x4b2afa(0x9f)][_0x4b2afa(0x89)]())for(const _0x50d94f of _0x23c01e)if(_0x50d94f['id']===_0x2191b7)return _0x50d94f[_0x4b2afa(0xa4)];}[_0x5920c0(0xc3)](_0x4c4297,_0x5205c0){const _0x136740=_0x5920c0,_0x2ee75a=_0x5205c0?[this[_0x136740(0x9f)][_0x136740(0x9e)](_0x5205c0)]:this[_0x136740(0x9f)][_0x136740(0x89)](),_0x42224a=new Set();for(const _0xba2c8e of _0x2ee75a)for(const _0xbc434d of _0xba2c8e)_0xbc434d[_0x136740(0xa4)]['id']===_0x4c4297['id']&&_0x42224a[_0x136740(0xb7)](_0xbc434d['id']);return _0x42224a;}[_0x5920c0(0x8e)](_0x53ab85){const _0x384f5e=_0x5920c0;for(const _0x57c54f of this[_0x384f5e(0x9f)][_0x384f5e(0x89)]())for(const _0x587506 of _0x57c54f)if(_0x587506[_0x384f5e(0xa4)]===_0x53ab85)return _0x587506[_0x384f5e(0x9b)];}[_0x5920c0(0xb6)](_0xd19268,_0x50eadc){const _0x16e7b4=_0x5920c0;if(_0x16e7b4(0xab)!==this[_0x16e7b4(0xc5)][_0x16e7b4(0xbd)][_0x16e7b4(0x9e)](_0x2298e5)[_0x16e7b4(0xad)])return;const _0x5c5056=_0x50eadc[_0x16e7b4(0xa4)],_0x576aed=this[_0x16e7b4(0xa7)][_0x16e7b4(0xa2)](_0x5c5056['id'])||this[_0x16e7b4(0xb1)](_0x5c5056),_0x3de4d1=Object[_0x16e7b4(0xb2)]({},_0x50eadc,{'user':_0x576aed});this[_0x16e7b4(0x9f)][_0x16e7b4(0x9e)](_0xd19268)[_0x16e7b4(0xb7)](_0x3de4d1);const _0x975d4=this[_0x16e7b4(0x9c)][_0x16e7b4(0x9e)](_0xd19268);_0x975d4[_0x16e7b4(0xb4)](_0x576aed['id'])||_0x975d4[_0x16e7b4(0xb7)](_0x576aed),this[_0x16e7b4(0x9a)][_0x16e7b4(0xb4)](_0x576aed['id'])||this[_0x16e7b4(0x9a)][_0x16e7b4(0xb7)](_0x576aed,_0x576aed[_0x16e7b4(0xbb)]?0x0:void 0x0),this[_0x16e7b4(0xb5)](_0x16e7b4(0x8b)+_0xd19268,{'channelId':_0xd19268,'session':_0x3de4d1});}[_0x5920c0(0x97)](_0x17a06d,_0x2e878c){const _0x1a9710=_0x5920c0;if(_0x1a9710(0xab)!==this[_0x1a9710(0xc5)][_0x1a9710(0xbd)][_0x1a9710(0x9e)](_0x2298e5)[_0x1a9710(0xad)])return;const _0x25fcc1=this[_0x1a9710(0x9c)][_0x1a9710(0x9e)](_0x17a06d),_0x5b2f95=_0x2e878c[_0x1a9710(0xa4)];_0x5b2f95['id']&&(this[_0x1a9710(0x9f)][_0x1a9710(0x9e)](_0x17a06d)[_0x1a9710(0xbf)](_0x2e878c['id']),_0x25fcc1[_0x1a9710(0xb4)](_0x5b2f95['id'])&&!this[_0x1a9710(0xc3)](_0x5b2f95,_0x17a06d)[_0x1a9710(0xa6)]&&_0x25fcc1[_0x1a9710(0xbf)](_0x5b2f95['id']),this[_0x1a9710(0x9a)][_0x1a9710(0x9e)](_0x5b2f95['id'])&&!this[_0x1a9710(0xc3)](_0x5b2f95)[_0x1a9710(0xa6)]&&this[_0x1a9710(0x9a)][_0x1a9710(0xbf)](_0x5b2f95['id']));}[_0x5920c0(0xb1)](_0x1aecc7,_0x326756){const _0x2f4936=_0x5920c0,_0xf1e309=this[_0x2f4936(0xa7)][_0x2f4936(0x8f)](_0x1aecc7);return _0x326756&&this[_0x2f4936(0xa7)][_0x2f4936(0x96)](_0x1aecc7['id']),_0xf1e309[_0x2f4936(0xae)]=this[_0x2f4936(0x92)]++,_0xf1e309;}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e3377=_0x5c01;(function(_0x2ccb52,_0x302b8c){const _0x4a65fd=_0x5c01,_0x7a7c46=_0x2ccb52();while(!![]){try{const _0x158027=-parseInt(_0x4a65fd(0xb5))/0x1*(-parseInt(_0x4a65fd(0x97))/0x2)+-parseInt(_0x4a65fd(0xa8))/0x3*(-parseInt(_0x4a65fd(0x9f))/0x4)+-parseInt(_0x4a65fd(0x88))/0x5*(-parseInt(_0x4a65fd(0xa3))/0x6)+-parseInt(_0x4a65fd(0x7b))/0x7+-parseInt(_0x4a65fd(0x71))/0x8*(-parseInt(_0x4a65fd(0x9c))/0x9)+-parseInt(_0x4a65fd(0x95))/0xa*(-parseInt(_0x4a65fd(0xb6))/0xb)+-parseInt(_0x4a65fd(0xae))/0xc*(parseInt(_0x4a65fd(0x96))/0xd);if(_0x158027===_0x302b8c)break;else _0x7a7c46['push'](_0x7a7c46['shift']());}catch(_0x22c377){_0x7a7c46['push'](_0x7a7c46['shift']());}}}(_0x26b2,0x9304a));function _0x5c01(_0x825e67,_0x480615){const _0x26b25d=_0x26b2();return _0x5c01=function(_0x5c01ec,_0x273445){_0x5c01ec=_0x5c01ec-0x6d;let _0x4376e4=_0x26b25d[_0x5c01ec];return _0x4376e4;},_0x5c01(_0x825e67,_0x480615);}import{ContextPlugin as _0x443a41}from'ckeditor5/src/core.js';function _0x26b2(){const _0x97024=['832LTXhgs','6oadQIG','offline','disconnect','_shouldPluginsReconnect','WebSocketGateway','36JwISIV','isInReconnectionStack','reconnect','4TKxBbY','all','isPremiumPlugin','config','69594WmOBlB','pluginName','stopListening','plugins','real-time-collaboration','1661658cEZwWH','code','bind','connect','destroy','error','294168FhUvtL','init','token','webSocketUrl','state','get','cloudservices-reconnection-error','95065tXoxKA','396ZcGoeJ','_domEmitter','_isBrowserOffline','constructor','has','limitExceeded','CloudServices','CONNECTED','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.','482024tUwNam','requires','addToReconnectionStack','change:me','context','Connected\x20users\x20limit\x20exceeded','isOfficialPlugin','cloudServices.connectionTimeout','create','from','1005438qFZFnz','showWarning','add','_reconnect','function','define','initialReconnectionInterval','catch','delete','listenTo','DISCONNECTED','connected','removeFromReconnectionStack','105CzarNd','connection','cloudServices.requestTimeout','set','online','websocketgateway-missing-token','CONNECTING','cloudservices-init','_reconnectionStack','then','websocketgateway-invalid-plugin-interface','websocketgateway-missing-websocket-url','websocketgateway-plugin-already-registered','275290yQFWdy'];_0x26b2=function(){return _0x97024;};return _0x26b2();}import{DomEmitterMixin as _0x29882c,CKEditorError as _0x460198}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x342316,WEB_SOCKET_GATEWAY_STATES as _0x33e9b9}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x1d3961}from'ckeditor5/src/ui.js';class c extends _0x443a41{static [_0x5e3377(0x9b)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x342316)());static [_0x5e3377(0x81)]=0x3e8;[_0x5e3377(0x89)];[_0x5e3377(0x90)];[_0x5e3377(0x9a)];[_0x5e3377(0xb7)];static get[_0x5e3377(0x72)](){const _0x150f77=_0x5e3377;return[_0x150f77(0x6e),_0x1d3961];}static get[_0x5e3377(0xa4)](){const _0x424cb4=_0x5e3377;return _0x424cb4(0x9b);}static get[_0x5e3377(0x77)](){return!0x0;}static get[_0x5e3377(0xa1)](){return!0x0;}constructor(_0x390f5a){const _0x52b3a3=_0x5e3377;super(_0x390f5a),this[_0x52b3a3(0x8b)](_0x52b3a3(0xb2),_0x33e9b9[_0x52b3a3(0x6f)]),this[_0x52b3a3(0x8b)](_0x52b3a3(0xb8),!0x1),this[_0x52b3a3(0x90)]=new Set(),this[_0x52b3a3(0x9a)]=!0x1,this[_0x52b3a3(0xb7)]=Object[_0x52b3a3(0x79)](_0x29882c);}[_0x5e3377(0xaf)](){const _0x40921f=_0x5e3377,_0x696de9=this[_0x40921f(0x75)],_0x318153=_0x696de9[_0x40921f(0xa6)][_0x40921f(0xb3)](_0x40921f(0x6e)),_0x370245=_0x696de9[_0x40921f(0xa6)][_0x40921f(0xb3)](_0x1d3961);if(!_0x318153[_0x40921f(0xb0)])throw new _0x460198(_0x40921f(0x8d),this);if(!_0x318153[_0x40921f(0xb1)])throw new _0x460198(_0x40921f(0x93),this);return this[_0x40921f(0xb7)][_0x40921f(0x84)](window,_0x40921f(0x98),()=>this[_0x40921f(0xb8)]=!0x0),this[_0x40921f(0xb7)][_0x40921f(0x84)](window,_0x40921f(0x8c),()=>this[_0x40921f(0xb8)]=!0x1),this[_0x40921f(0x75)][_0x40921f(0xa2)][_0x40921f(0x80)](_0x40921f(0x78),0xa),this[_0x40921f(0x75)][_0x40921f(0xa2)][_0x40921f(0x80)](_0x40921f(0x8a),0x14),c[_0x40921f(0x9b)][_0x40921f(0xab)](_0x318153[_0x40921f(0xb0)],_0x318153[_0x40921f(0xb1)],{'timeout':0x3e8*this[_0x40921f(0x75)][_0x40921f(0xa2)][_0x40921f(0xb3)](_0x40921f(0x78)),'requestTimeout':0x3e8*this[_0x40921f(0x75)][_0x40921f(0xa2)][_0x40921f(0xb3)](_0x40921f(0x8a))})[_0x40921f(0x91)](_0x580777=>{const _0x2e491c=_0x40921f;if(this[_0x2e491c(0x89)]=_0x580777,this[_0x2e491c(0xaa)](_0x2e491c(0xb2))['to'](_0x580777,_0x2e491c(0xb2),this,_0x2e491c(0xb8),(_0x366913,_0x228126)=>(_0x2e491c(0x86)!==_0x366913&&(this[_0x2e491c(0x9a)]=!0x0),_0x228126||_0x366913!==_0x33e9b9[_0x2e491c(0x6f)]?_0x33e9b9[_0x2e491c(0x85)]:this[_0x2e491c(0xb2)]==_0x33e9b9[_0x2e491c(0x85)]&&this[_0x2e491c(0x9a)]?(this[_0x2e491c(0x9a)]=!0x1,this[_0x2e491c(0x7e)](),_0x33e9b9[_0x2e491c(0x8e)]):_0x33e9b9[_0x2e491c(0x6f)])),this[_0x2e491c(0x89)]['on'](_0x2e491c(0xad),(_0x4400b4,_0x447502)=>{const _0x4bb581=_0x2e491c;if(_0x4bb581(0x6d)!==_0x447502[_0x4bb581(0xa9)])throw console[_0x4bb581(0xad)](_0x447502),new _0x460198(_0x4bb581(0x8f),null,{'originalError':_0x447502});_0x370245[_0x4bb581(0x7c)](_0x4bb581(0x70),{'title':_0x4bb581(0x76),'namespace':_0x4bb581(0xa7)});}),!_0x580777['me'])return new Promise(_0x91203=>_0x580777['on'](_0x2e491c(0x74),_0x91203));})[_0x40921f(0x82)](_0x112636=>{const _0x2a7229=_0x40921f;throw console[_0x2a7229(0xad)](_0x112636),new _0x460198(_0x2a7229(0x8f),null,{'originalError':_0x112636});});}[_0x5e3377(0x73)](_0x554ebf){const _0x5787c7=_0x5e3377;if(_0x5787c7(0x7f)!=typeof _0x554ebf[_0x5787c7(0x9e)])throw new _0x460198(_0x5787c7(0x92),this);if(this[_0x5787c7(0x9d)](_0x554ebf))throw new _0x460198(_0x5787c7(0x94),this,{'name':_0x554ebf[_0x5787c7(0xb9)][_0x5787c7(0xa4)]});this[_0x5787c7(0x90)][_0x5787c7(0x7d)](_0x554ebf);}[_0x5e3377(0x87)](_0x594d89){const _0x10410e=_0x5e3377;this[_0x10410e(0x90)][_0x10410e(0x83)](_0x594d89);}[_0x5e3377(0x9d)](_0x38ec66){const _0x140d89=_0x5e3377;return this[_0x140d89(0x90)][_0x140d89(0xba)](_0x38ec66);}[_0x5e3377(0x7e)](){const _0x1c90d0=_0x5e3377;return this[_0x1c90d0(0x89)][_0x1c90d0(0x9e)]()[_0x1c90d0(0x91)](()=>Promise[_0x1c90d0(0xa0)](Array[_0x1c90d0(0x7a)](this[_0x1c90d0(0x90)],_0xbff7a7=>_0xbff7a7[_0x1c90d0(0x9e)]())))[_0x1c90d0(0x91)](()=>this[_0x1c90d0(0xb2)]=_0x33e9b9[_0x1c90d0(0x6f)])[_0x1c90d0(0x82)](_0x1b2ffa=>{const _0x11d7bd=_0x1c90d0;throw console[_0x11d7bd(0xad)](_0x1b2ffa),new _0x460198(_0x11d7bd(0xb4),this[_0x11d7bd(0x75)]);});}[_0x5e3377(0x99)](){const _0x196a27=_0x5e3377;this[_0x196a27(0x89)]&&this[_0x196a27(0x89)][_0x196a27(0x99)](),this[_0x196a27(0xb2)]=_0x33e9b9[_0x196a27(0x85)],this[_0x196a27(0xb7)][_0x196a27(0xa5)]();}[_0x5e3377(0xac)](){const _0x8d4337=_0x5e3377;this[_0x8d4337(0x99)](),super[_0x8d4337(0xac)]();}}export default c;
23
+ const _0x1e5a9d=_0x5daa;function _0x4d73(){const _0x2944ff=['removeFromReconnectionStack','connect','isInReconnectionStack','error','init','limitExceeded','164316OSKSES','token','Connected\x20users\x20limit\x20exceeded','748710lySIsa','websocketgateway-plugin-already-registered','destroy','addToReconnectionStack','listenTo','from','1057252rsLvDT','catch','online','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-missing-websocket-url','config','CONNECTING','context','_reconnectionStack','33950nBShCP','pluginName','initialReconnectionInterval','isPremiumPlugin','websocketgateway-missing-token','function','DISCONNECTED','_shouldPluginsReconnect','showWarning','get','3922812GKnuNX','40znkLxc','397733JiTjBQ','then','stopListening','constructor','websocketgateway-invalid-plugin-interface','set','webSocketUrl','cloudServices.connectionTimeout','disconnect','add','bind','all','1845nEEWcm','_reconnect','has','42bnQkWE','cloudservices-init','requires','cloudServices.requestTimeout','plugins','real-time-collaboration','_isBrowserOffline','isOfficialPlugin','state','reconnect','cloudservices-reconnection-error','connection','_domEmitter','offline','create','delete','796255hQvGCa','define','CONNECTED','connected','code','change:me','WebSocketGateway','CloudServices'];_0x4d73=function(){return _0x2944ff;};return _0x4d73();}(function(_0xe3e95e,_0xb86b05){const _0x4858e1=_0x5daa,_0x4a6119=_0xe3e95e();while(!![]){try{const _0x360c68=-parseInt(_0x4858e1(0x231))/0x1+parseInt(_0x4858e1(0x1ec))/0x2+parseInt(_0x4858e1(0x210))/0x3*(-parseInt(_0x4858e1(0x22e))/0x4)+parseInt(_0x4858e1(0x220))/0x5+parseInt(_0x4858e1(0x1ff))/0x6+-parseInt(_0x4858e1(0x201))/0x7*(parseInt(_0x4858e1(0x200))/0x8)+-parseInt(_0x4858e1(0x20d))/0x9*(-parseInt(_0x4858e1(0x1f5))/0xa);if(_0x360c68===_0xb86b05)break;else _0x4a6119['push'](_0x4a6119['shift']());}catch(_0x55ec2a){_0x4a6119['push'](_0x4a6119['shift']());}}}(_0x4d73,0x68eaf));function _0x5daa(_0x3b9c91,_0x491871){const _0x4d7320=_0x4d73();return _0x5daa=function(_0x5daa10,_0x4ca531){_0x5daa10=_0x5daa10-0x1e7;let _0x373669=_0x4d7320[_0x5daa10];return _0x373669;},_0x5daa(_0x3b9c91,_0x491871);}import{ContextPlugin as _0x3c06b7}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x20e44f,CKEditorError as _0xc7854}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xe1b8a8,WEB_SOCKET_GATEWAY_STATES as _0x2216e8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x165c6a}from'ckeditor5/src/ui.js';class c extends _0x3c06b7{static [_0x1e5a9d(0x226)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0xe1b8a8)());static [_0x1e5a9d(0x1f7)]=0x3e8;[_0x1e5a9d(0x21b)];[_0x1e5a9d(0x1f4)];[_0x1e5a9d(0x1fc)];[_0x1e5a9d(0x21c)];static get[_0x1e5a9d(0x212)](){const _0x1be0d9=_0x1e5a9d;return[_0x1be0d9(0x227),_0x165c6a];}static get[_0x1e5a9d(0x1f6)](){const _0x24cd51=_0x1e5a9d;return _0x24cd51(0x226);}static get[_0x1e5a9d(0x217)](){return!0x0;}static get[_0x1e5a9d(0x1f8)](){return!0x0;}constructor(_0x518b36){const _0x3d6855=_0x1e5a9d;super(_0x518b36),this[_0x3d6855(0x206)](_0x3d6855(0x218),_0x2216e8[_0x3d6855(0x222)]),this[_0x3d6855(0x206)](_0x3d6855(0x216),!0x1),this[_0x3d6855(0x1f4)]=new Set(),this[_0x3d6855(0x1fc)]=!0x1,this[_0x3d6855(0x21c)]=Object[_0x3d6855(0x21e)](_0x20e44f);}[_0x1e5a9d(0x22c)](){const _0x4ab8b6=_0x1e5a9d,_0x21a539=this[_0x4ab8b6(0x1f3)],_0x20fab0=_0x21a539[_0x4ab8b6(0x214)][_0x4ab8b6(0x1fe)](_0x4ab8b6(0x227)),_0x191e6b=_0x21a539[_0x4ab8b6(0x214)][_0x4ab8b6(0x1fe)](_0x165c6a);if(!_0x20fab0[_0x4ab8b6(0x22f)])throw new _0xc7854(_0x4ab8b6(0x1f9),this);if(!_0x20fab0[_0x4ab8b6(0x207)])throw new _0xc7854(_0x4ab8b6(0x1f0),this);return this[_0x4ab8b6(0x21c)][_0x4ab8b6(0x1ea)](window,_0x4ab8b6(0x21d),()=>this[_0x4ab8b6(0x216)]=!0x0),this[_0x4ab8b6(0x21c)][_0x4ab8b6(0x1ea)](window,_0x4ab8b6(0x1ee),()=>this[_0x4ab8b6(0x216)]=!0x1),this[_0x4ab8b6(0x1f3)][_0x4ab8b6(0x1f1)][_0x4ab8b6(0x221)](_0x4ab8b6(0x208),0xa),this[_0x4ab8b6(0x1f3)][_0x4ab8b6(0x1f1)][_0x4ab8b6(0x221)](_0x4ab8b6(0x213),0x14),c[_0x4ab8b6(0x226)][_0x4ab8b6(0x229)](_0x20fab0[_0x4ab8b6(0x22f)],_0x20fab0[_0x4ab8b6(0x207)],{'timeout':0x3e8*this[_0x4ab8b6(0x1f3)][_0x4ab8b6(0x1f1)][_0x4ab8b6(0x1fe)](_0x4ab8b6(0x208)),'requestTimeout':0x3e8*this[_0x4ab8b6(0x1f3)][_0x4ab8b6(0x1f1)][_0x4ab8b6(0x1fe)](_0x4ab8b6(0x213))})[_0x4ab8b6(0x202)](_0xb74879=>{const _0x2e6bec=_0x4ab8b6;if(this[_0x2e6bec(0x21b)]=_0xb74879,this[_0x2e6bec(0x20b)](_0x2e6bec(0x218))['to'](_0xb74879,_0x2e6bec(0x218),this,_0x2e6bec(0x216),(_0x1a5779,_0x5e286c)=>(_0x2e6bec(0x223)!==_0x1a5779&&(this[_0x2e6bec(0x1fc)]=!0x0),_0x5e286c||_0x1a5779!==_0x2216e8[_0x2e6bec(0x222)]?_0x2216e8[_0x2e6bec(0x1fb)]:this[_0x2e6bec(0x218)]==_0x2216e8[_0x2e6bec(0x1fb)]&&this[_0x2e6bec(0x1fc)]?(this[_0x2e6bec(0x1fc)]=!0x1,this[_0x2e6bec(0x20e)](),_0x2216e8[_0x2e6bec(0x1f2)]):_0x2216e8[_0x2e6bec(0x222)])),this[_0x2e6bec(0x21b)]['on'](_0x2e6bec(0x22b),(_0x4c6ac5,_0x4e0e72)=>{const _0x48a9ec=_0x2e6bec;if(_0x48a9ec(0x22d)!==_0x4e0e72[_0x48a9ec(0x224)])throw console[_0x48a9ec(0x22b)](_0x4e0e72),new _0xc7854(_0x48a9ec(0x211),null,{'originalError':_0x4e0e72});_0x191e6b[_0x48a9ec(0x1fd)](_0x48a9ec(0x1ef),{'title':_0x48a9ec(0x230),'namespace':_0x48a9ec(0x215)});}),!_0xb74879['me'])return new Promise(_0x410c07=>_0xb74879['on'](_0x2e6bec(0x225),_0x410c07));})[_0x4ab8b6(0x1ed)](_0x5159c8=>{const _0x43b281=_0x4ab8b6;throw console[_0x43b281(0x22b)](_0x5159c8),new _0xc7854(_0x43b281(0x211),null,{'originalError':_0x5159c8});});}[_0x1e5a9d(0x1e9)](_0x21ec73){const _0x5a08c1=_0x1e5a9d;if(_0x5a08c1(0x1fa)!=typeof _0x21ec73[_0x5a08c1(0x219)])throw new _0xc7854(_0x5a08c1(0x205),this);if(this[_0x5a08c1(0x22a)](_0x21ec73))throw new _0xc7854(_0x5a08c1(0x1e7),this,{'name':_0x21ec73[_0x5a08c1(0x204)][_0x5a08c1(0x1f6)]});this[_0x5a08c1(0x1f4)][_0x5a08c1(0x20a)](_0x21ec73);}[_0x1e5a9d(0x228)](_0x241690){const _0x7d919e=_0x1e5a9d;this[_0x7d919e(0x1f4)][_0x7d919e(0x21f)](_0x241690);}[_0x1e5a9d(0x22a)](_0x50738a){const _0x607418=_0x1e5a9d;return this[_0x607418(0x1f4)][_0x607418(0x20f)](_0x50738a);}[_0x1e5a9d(0x20e)](){const _0x4816b4=_0x1e5a9d;return this[_0x4816b4(0x21b)][_0x4816b4(0x219)]()[_0x4816b4(0x202)](()=>Promise[_0x4816b4(0x20c)](Array[_0x4816b4(0x1eb)](this[_0x4816b4(0x1f4)],_0x42a073=>_0x42a073[_0x4816b4(0x219)]())))[_0x4816b4(0x202)](()=>this[_0x4816b4(0x218)]=_0x2216e8[_0x4816b4(0x222)])[_0x4816b4(0x1ed)](_0xc53eb6=>{const _0x58aa59=_0x4816b4;throw console[_0x58aa59(0x22b)](_0xc53eb6),new _0xc7854(_0x58aa59(0x21a),this[_0x58aa59(0x1f3)]);});}[_0x1e5a9d(0x209)](){const _0x5951d8=_0x1e5a9d;this[_0x5951d8(0x21b)]&&this[_0x5951d8(0x21b)][_0x5951d8(0x209)](),this[_0x5951d8(0x218)]=_0x2216e8[_0x5951d8(0x1fb)],this[_0x5951d8(0x21c)][_0x5951d8(0x203)]();}[_0x1e5a9d(0x1e8)](){const _0x253857=_0x1e5a9d;this[_0x253857(0x209)](),super[_0x253857(0x1e8)]();}}export default c;
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xae87b6=_0x2173;(function(_0x35f294,_0x2cb8ad){const _0x5203a0=_0x2173,_0x2a0750=_0x35f294();while(!![]){try{const _0x5b32e7=parseInt(_0x5203a0(0x110))/0x1+-parseInt(_0x5203a0(0x11d))/0x2+-parseInt(_0x5203a0(0x144))/0x3+parseInt(_0x5203a0(0x101))/0x4*(parseInt(_0x5203a0(0x102))/0x5)+-parseInt(_0x5203a0(0x114))/0x6*(-parseInt(_0x5203a0(0xff))/0x7)+-parseInt(_0x5203a0(0xdc))/0x8*(-parseInt(_0x5203a0(0x12e))/0x9)+parseInt(_0x5203a0(0x125))/0xa;if(_0x5b32e7===_0x2cb8ad)break;else _0x2a0750['push'](_0x2a0750['shift']());}catch(_0x388db6){_0x2a0750['push'](_0x2a0750['shift']());}}}(_0x6ffd,0x70c79));import{Plugin as _0x2282fa}from'ckeditor5/src/core.js';import{version as _0x33aeef}from'ckeditor5/src/utils.js';import{Users as _0x3edc56}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x55c2b9 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x1e7b2e from'../realtimecollaborativeediting/websocketgateway.js';function _0x2173(_0x5075b2,_0x5e6f70){const _0x6ffdb7=_0x6ffd();return _0x2173=function(_0x2173a2,_0xe0db36){_0x2173a2=_0x2173a2-0xd2;let _0xdc2484=_0x6ffdb7[_0x2173a2];return _0xdc2484;},_0x2173(_0x5075b2,_0x5e6f70);}import _0x719f40 from'../realtimecollaborativeediting/sessions.js';function _0x6ffd(){const _0x405cff=['connected','6skmQSs','from','_fetchMissingUsers','reInit','_revisions','_bufferedUpdates','_createCurrentRevision','requires','isPremiumPlugin','1249840ixbjux','_getLatestVersion','updateRevisions','remove','connect','adapter','baseVersion','init','5113200DcToKg','data','connection','diffData','code','message','max','_startingVersion','config','333cHpDWN','listenTo','400','createdAt','map','_revisionDataBuilder','reverse','sendBufferedUpdates','_handleReconnectionError','keys','get','state','marker','isConnected','serverHistory','_waitForServiceReady','toVersion','change:_isConnected','addUser','buildRevisionData','isEmptyCurrent','revisionsUpdated','2165742hZstvX','_getLatestVersionFromServerOperations','catch','off','_offset','type','_isPendingUpdate','once','setSource','reconnect','change:_isPendingUpdate','addRevisionData','50136BNxRkR','authors','affectsData','sessionId','_preventResendingRevisionData','_handleRevisionsUpdate','_oldOffset','_revisionHistoryService','_isConnected','fromVersion','getRevision','pluginName','_revisionTracker','RevisionTracker','length','RevisionHistoryService','CloudServicesRevisionHistoryAdapter','size','getUser','_lastRequestId','CONNECTED','getMany','collaboration.channelId','destroy','authorsIds','startsWith','cloud-services-internal-error:\x20Not\x20connected.','repository','bind','isBundleUploaded','add','editor','RevisionHistory','wrongRequestId','isOfficialPlugin','1575833cFUVzX','_fixRevision','2764bUEAuQ','1455byqtFP','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','plugins','addToReconnectionStack','getOperations','cloudServices.bundleVersion','_update','then','has','_bufferUpdate','setRevisionData','currentRevision','cloud-services-internal-error:\x20Request\x20timeout.','creatorId','639380pQlMKJ','isEnabled','getRevisions'];_0x6ffd=function(){return _0x405cff;};return _0x6ffd();}import{EditorService as _0x20a07e,RevisionHistoryService as _0x3a2a86,User as _0x2d3cd6,WEB_SOCKET_GATEWAY_STATES as _0x1d772e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x2282fa{static [_0xae87b6(0xeb)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3a2a86)());[_0xae87b6(0xef)];[_0xae87b6(0xe8)];[_0xae87b6(0xe3)];[_0xae87b6(0xe2)];static get[_0xae87b6(0x11b)](){const _0xcf7173=_0xae87b6;return[_0x1e7b2e,_0x55c2b9,_0xcf7173(0xfc),_0x719f40,_0x3edc56];}static get[_0xae87b6(0xe7)](){const _0x7c4512=_0xae87b6;return _0x7c4512(0xec);}static get[_0xae87b6(0xfe)](){return!0x0;}static get[_0xae87b6(0x11c)](){return!0x0;}constructor(_0x3302e3){const _0x5949a8=_0xae87b6;super(_0x3302e3);const _0x334e55=this[_0x5949a8(0xfb)][_0x5949a8(0x12d)][_0x5949a8(0x138)](_0x5949a8(0xf2));this[_0x5949a8(0xef)]=null,this[_0x5949a8(0xe8)]=this[_0x5949a8(0xfb)][_0x5949a8(0x104)][_0x5949a8(0x138)](_0x5949a8(0xe9)),this[_0x5949a8(0xe3)]=new u[(_0x5949a8(0xeb))](_0x334e55);}async[_0xae87b6(0x124)](){const _0x3541b8=_0xae87b6,_0x432cf9=this[_0x3541b8(0xfb)][_0x3541b8(0x104)][_0x3541b8(0x138)](_0x55c2b9),_0x48e209=_0x432cf9[_0x3541b8(0x13c)],_0x1b1944=this[_0x3541b8(0xfb)][_0x3541b8(0x104)][_0x3541b8(0x138)](_0x1e7b2e);this[_0x3541b8(0xe8)][_0x3541b8(0xd8)]({'history':_0x48e209,'getLatestVersion':()=>this[_0x3541b8(0x11e)](),'getCurrentRevisionId':()=>_0x432cf9[_0x3541b8(0xdf)]});const _0x4e54d4=this[_0x3541b8(0xfb)][_0x3541b8(0x12d)][_0x3541b8(0x138)](_0x3541b8(0x107))||_0x33aeef,_0x5013cc=await _0x20a07e[_0x3541b8(0xf9)](_0x1b1944[_0x3541b8(0x127)],_0x4e54d4);this[_0x3541b8(0xfb)][_0x3541b8(0x104)][_0x3541b8(0x138)](_0x3541b8(0xfc))[_0x3541b8(0x122)]={'getRevision':async({revisionId:_0xf9f8b9})=>(await this[_0x3541b8(0x13d)](),await this[_0x3541b8(0xe3)][_0x3541b8(0xe6)](_0xf9f8b9)),'updateRevisions':async _0x4a6a69=>{const _0x560b8b=_0x3541b8;await this[_0x560b8b(0x13d)]();const _0x559829=this[_0x560b8b(0xe8)][_0x560b8b(0x10d)];if(_0x5013cc&&0x1===_0x4a6a69[_0x560b8b(0xea)]&&_0x4a6a69[0x0]['id']===_0x559829['id'])return _0x4a6a69;for(const _0x2ca05d of _0x4a6a69)_0x2ca05d['id']===_0x559829['id']&&(_0x2ca05d[_0x560b8b(0x142)]=_0x2ca05d[_0x560b8b(0xe5)]===_0x2ca05d[_0x560b8b(0x13e)]);return this[_0x560b8b(0xe3)][_0x560b8b(0x11f)](_0x4a6a69,this[_0x560b8b(0xef)])[_0x560b8b(0x109)](_0x57df64=>(this[_0x560b8b(0xef)]=_0x57df64,_0x4a6a69))[_0x560b8b(0xd2)](_0x136786=>{const _0x272f20=_0x560b8b;if(st(_0x136786)||_0x272f20(0x130)===_0x136786[_0x272f20(0x129)]&&void 0x0!==_0x136786[_0x272f20(0x126)][_0x272f20(0xfd)]){for(const _0x23706d of _0x4a6a69){!this[_0x272f20(0xe8)][_0x272f20(0xf7)][_0x272f20(0xe6)](_0x23706d['id'])||this[_0x272f20(0xe8)][_0x272f20(0x10b)](_0x23706d['id'],_0x23706d,!0x1);}if(st(_0x136786))throw _0x136786;return _0x4a6a69;}throw _0x136786;});}},this[_0x3541b8(0x12f)](this[_0x3541b8(0xe3)],_0x3541b8(0x143),(_0x3df035,{revisionsData:_0x1b9452,requestId:_0x1f56e2})=>{const _0x336f85=_0x3541b8;Math[_0x336f85(0x12b)](..._0x1b9452[_0x336f85(0x132)](_0x28f129=>_0x28f129[_0x336f85(0x13e)]))>this[_0x336f85(0x145)]()-0x1?this[_0x336f85(0x11e)]()[_0x336f85(0x109)](()=>{const _0x2d476b=_0x336f85;this[_0x2d476b(0xe1)](_0x1b9452,_0x1f56e2);}):this[_0x336f85(0xe1)](_0x1b9452,_0x1f56e2);});const {revisions:_0x27cfaf,requestId:_0x379181}=await this[_0x3541b8(0xe3)][_0x3541b8(0x121)](_0x1b1944[_0x3541b8(0x127)]);_0x1b1944[_0x3541b8(0x105)](this),this[_0x3541b8(0xef)]=_0x379181,await this[_0x3541b8(0x116)](_0x27cfaf);for(const _0x385c86 of _0x27cfaf)this[_0x3541b8(0xe8)][_0x3541b8(0xdb)](_0x385c86);this[_0x3541b8(0x12f)](_0x432cf9,_0x3541b8(0x13f),(_0x19c660,_0x151710,_0x5ae0fa)=>{const _0x4f9988=_0x3541b8;_0x5ae0fa&&(this[_0x4f9988(0xe2)]=_0x432cf9[_0x4f9988(0xd4)],_0x19c660[_0x4f9988(0xd3)]());}),this[_0x3541b8(0xe8)][_0x3541b8(0xf8)](_0x3541b8(0x111))['to'](_0x1b1944,_0x3541b8(0x139),_0x4f885b=>_0x4f885b===_0x1d772e[_0x3541b8(0xf0)]);}async[_0xae87b6(0xd9)](){const _0x55cc98=_0xae87b6,_0x18cdd2=this[_0x55cc98(0xfb)][_0x55cc98(0x104)][_0x55cc98(0x138)](_0x1e7b2e),_0x124c7b=this[_0x55cc98(0xfb)][_0x55cc98(0x104)][_0x55cc98(0x138)](_0x55c2b9),_0x1f600d=async()=>{const _0x13b32d=_0x55cc98,_0x2aa25c=this[_0x13b32d(0xe8)][_0x13b32d(0x10d)],_0xef044=_0x2aa25c['id'],_0xb8a183=_0xef044!==_0x124c7b[_0x13b32d(0xdf)];if(_0xb8a183){const _0x2ea73e=_0x124c7b[_0x13b32d(0xd4)]-this[_0x13b32d(0xe2)],_0x1ec443=this[_0x13b32d(0x145)]();this[_0x13b32d(0xe8)][_0x13b32d(0x133)][_0x13b32d(0x117)]();if(_0x2aa25c[_0x13b32d(0x13e)]+_0x2ea73e!==_0x1ec443){const _0x40e005=_0x2aa25c[_0x13b32d(0xe5)]+_0x2ea73e,_0x5140dc=this[_0x13b32d(0xfb)][_0x13b32d(0x104)][_0x13b32d(0x138)](_0x3edc56),_0x2fcaa6=this[_0x13b32d(0xe8)][_0x13b32d(0x141)]({'revision':_0x2aa25c,'from':_0x40e005,'to':_0x1ec443});_0x2fcaa6['id']=_0x2aa25c['id'];const _0x427a23=_0x2fcaa6[_0x13b32d(0xf4)][_0x13b32d(0x132)](_0x3bc0b9=>_0x5140dc[_0x13b32d(0xee)](_0x3bc0b9));_0x2aa25c[_0x13b32d(0x108)]({..._0x2fcaa6,'authors':_0x427a23},!0x0),this[_0x13b32d(0xe8)][_0x13b32d(0x10b)](_0x2aa25c['id'],_0x2fcaa6,!0x0);}this[_0x13b32d(0xe8)][_0x13b32d(0x12c)]=_0x1ec443,(_0x2aa25c[_0x13b32d(0x13e)]===_0x2aa25c[_0x13b32d(0xe5)]&&!this[_0x13b32d(0xe8)][_0x13b32d(0x119)][_0x13b32d(0x10a)](_0xef044)&&this[_0x13b32d(0xe8)][_0x13b32d(0xf7)][_0x13b32d(0x118)][_0x13b32d(0x120)](_0xef044),this[_0x13b32d(0xe8)][_0x13b32d(0x11a)](_0x1ec443));}const {revisions:_0x41fc21,requestId:_0x5b4239}=await this[_0x13b32d(0xe3)][_0x13b32d(0xd9)](_0x18cdd2[_0x13b32d(0x127)],this[_0x13b32d(0xef)]);_0xb8a183&&_0x41fc21[_0x13b32d(0xea)]>0x0?_0x124c7b[_0x13b32d(0x136)]():(await this[_0x13b32d(0x116)](_0x41fc21),this[_0x13b32d(0xe1)](_0x41fc21,_0x5b4239),this[_0x13b32d(0xe8)][_0x13b32d(0x135)]());};return _0x124c7b[_0x55cc98(0xe4)]?_0x1f600d():new Promise((_0x1a5a1f,_0x5365c8)=>{const _0x2f1a7f=_0x55cc98;_0x124c7b[_0x2f1a7f(0xd7)](_0x2f1a7f(0x13f),()=>{const _0x51f8c9=_0x2f1a7f;_0x1f600d()[_0x51f8c9(0x109)](_0x1a5a1f)[_0x51f8c9(0xd2)](_0x5365c8);});});}[_0xae87b6(0xf3)](){const _0x596861=_0xae87b6;super[_0x596861(0xf3)]();}async[_0xae87b6(0x13d)](){const _0x47e96c=_0xae87b6;this[_0x47e96c(0xe3)][_0x47e96c(0x13b)]||await new Promise(_0x5d9dc1=>{const _0x2514a7=_0x47e96c;this[_0x2514a7(0x12f)](this[_0x2514a7(0xe3)],_0x2514a7(0x113),_0x21450f=>{const _0x537a01=_0x2514a7;_0x21450f[_0x537a01(0xd3)](),_0x5d9dc1();});});}[_0xae87b6(0x145)](){const _0x364f4f=_0xae87b6,_0xd3316b=this[_0x364f4f(0xfb)][_0x364f4f(0x104)][_0x364f4f(0x138)](_0x55c2b9)[_0x364f4f(0x13c)][_0x364f4f(0x106)]()[_0x364f4f(0x134)]();for(const _0x2c95d2 of _0xd3316b)if(_0x364f4f(0x13a)!==_0x2c95d2[_0x364f4f(0xd5)]||_0x2c95d2[_0x364f4f(0xde)])return _0x2c95d2[_0x364f4f(0x123)]+0x1;}[_0xae87b6(0x11e)](){const _0x545732=_0xae87b6,_0x32c370=this[_0x545732(0xfb)][_0x545732(0x104)][_0x545732(0x138)](_0x55c2b9);return new Promise(_0x329e57=>{const _0x39da5c=_0x545732;_0x32c370[_0x39da5c(0xd6)]?_0x32c370[_0x39da5c(0xd7)](_0x39da5c(0xda),()=>{const _0x1fb332=_0x39da5c;_0x329e57(this[_0x1fb332(0x145)]());}):_0x329e57(this[_0x39da5c(0x145)]());});}[_0xae87b6(0xe1)](_0x482e72,_0x4acddb){const _0x1b36eb=_0xae87b6,_0x315db2=this[_0x1b36eb(0xe8)][_0x1b36eb(0xf7)];this[_0x1b36eb(0xef)]=_0x4acddb;for(const _0x1839b3 of _0x482e72){const _0x3ab174=_0x315db2[_0x1b36eb(0xe6)](_0x1839b3['id']);if(_0x3ab174){if((_0x1839b3[_0x1b36eb(0xe5)]||_0x1839b3[_0x1b36eb(0x13e)])&&(_0x1839b3[_0x1b36eb(0x128)]=null),_0x3ab174===this[_0x1b36eb(0xe8)][_0x1b36eb(0x10d)]){const _0x4f3920=Math[_0x1b36eb(0x12b)](_0x3ab174[_0x1b36eb(0x13e)],_0x1839b3[_0x1b36eb(0x13e)]),_0x1b72ec=Math[_0x1b36eb(0x12b)](_0x3ab174[_0x1b36eb(0xe5)],_0x1839b3[_0x1b36eb(0xe5)]);let _0x125f2c;_0x3ab174[_0x1b36eb(0x13e)]===_0x1839b3[_0x1b36eb(0x13e)]&&_0x3ab174[_0x1b36eb(0xe5)]===_0x1839b3[_0x1b36eb(0xe5)]?(_0x125f2c=!0x0,this[_0x1b36eb(0xe0)](_0x1839b3)):_0x1839b3[_0x1b36eb(0x13e)]===_0x4f3920&&_0x1839b3[_0x1b36eb(0xe5)]===_0x1b72ec?_0x125f2c=!0x1:(_0x3ab174[_0x1b36eb(0x13e)]===_0x4f3920&&_0x3ab174[_0x1b36eb(0xe5)]===_0x1b72ec||this[_0x1b36eb(0x100)]({'revision':_0x3ab174,'from':_0x1b72ec,'to':_0x4f3920}),_0x125f2c=!0x0),_0x125f2c&&(delete _0x1839b3[_0x1b36eb(0xe5)],delete _0x1839b3[_0x1b36eb(0x13e)],delete _0x1839b3[_0x1b36eb(0x128)],delete _0x1839b3[_0x1b36eb(0x131)],delete _0x1839b3[_0x1b36eb(0xf4)]);}this[_0x1b36eb(0xe8)][_0x1b36eb(0x10c)](_0x1839b3),this[_0x1b36eb(0xe0)](_0x1839b3);}else this[_0x1b36eb(0xe8)][_0x1b36eb(0xdb)](_0x1839b3);}const _0x334c47=_0x315db2[_0x1b36eb(0x112)]();_0x334c47[_0x1b36eb(0x134)]();for(let _0x651459=0x0;_0x651459<_0x334c47[_0x1b36eb(0xea)]-0x1;_0x651459++){const _0x40820a=_0x334c47[_0x651459],_0x40bd7f=_0x334c47[_0x651459+0x1];if(_0x40820a[_0x1b36eb(0xe5)]<_0x40bd7f[_0x1b36eb(0x13e)]){const _0x512ce6=_0x40bd7f[_0x1b36eb(0x13e)],_0x2b05d3=Math[_0x1b36eb(0x12b)](_0x512ce6,_0x40820a[_0x1b36eb(0x13e)]);this[_0x1b36eb(0x100)]({'revision':_0x40820a,'from':_0x512ce6,'to':_0x2b05d3});}}}[_0xae87b6(0x100)]({revision:_0x567ce1,from:_0x58909b,to:_0x216952}={}){const _0x4da7cf=_0xae87b6,_0x5d6cbd=this[_0x4da7cf(0xfb)][_0x4da7cf(0x104)][_0x4da7cf(0x138)](_0x3edc56),_0x2c04dd=this[_0x4da7cf(0xe8)][_0x4da7cf(0x141)]({'revision':_0x567ce1,'from':_0x58909b,'to':_0x216952});_0x2c04dd[_0x4da7cf(0xdd)]=_0x2c04dd[_0x4da7cf(0xf4)][_0x4da7cf(0x132)](_0xf2673c=>_0x5d6cbd[_0x4da7cf(0xee)](_0xf2673c)),_0x567ce1[_0x4da7cf(0x108)](_0x2c04dd);}[_0xae87b6(0xe0)](_0x52dafe){const _0x5bfd9c=_0xae87b6,_0x2daf5e={};_0x2daf5e['id']=_0x52dafe['id'];for(const _0x23d900 of Object[_0x5bfd9c(0x137)](_0x52dafe))'id'!==_0x23d900&&(_0x2daf5e[_0x23d900]=void 0x0);this[_0x5bfd9c(0xe8)][_0x5bfd9c(0x10b)](_0x2daf5e['id'],_0x2daf5e,!0x0);}async[_0xae87b6(0x116)](_0x3705cd){const _0x86f604=_0xae87b6,_0xe05223=this[_0x86f604(0xfb)][_0x86f604(0x104)][_0x86f604(0x138)](_0x3edc56),{connection:_0x1c7a1a}=this[_0x86f604(0xfb)][_0x86f604(0x104)][_0x86f604(0x138)](_0x1e7b2e),_0x330c2f=new Set();for(const _0x482197 of _0x3705cd){for(const _0x39499b of _0x482197[_0x86f604(0xf4)])_0x1cde8b(_0x39499b);_0x482197[_0x86f604(0x10f)]&&_0x1cde8b(_0x482197[_0x86f604(0x10f)]);}if(0x0===_0x330c2f[_0x86f604(0xed)])return;const _0x395634=await _0x2d3cd6[_0x86f604(0xf1)](_0x1c7a1a,Array[_0x86f604(0x115)](_0x330c2f));for(const _0x20c1d1 of _0x395634)_0xe05223[_0x86f604(0xee)](_0x20c1d1['id'])||_0xe05223[_0x86f604(0x140)](_0x20c1d1);function _0x1cde8b(_0x3c0b08){const _0xac822b=_0x86f604;_0xe05223[_0xac822b(0xee)](_0x3c0b08)||_0x330c2f[_0xac822b(0xfa)](_0x3c0b08);}}}export default u;function st(_0x48d123){const _0x49199e=_0xae87b6;return _0x48d123[_0x49199e(0x12a)][_0x49199e(0xf5)](_0x49199e(0x103))||_0x48d123[_0x49199e(0x12a)][_0x49199e(0xf5)](_0x49199e(0xf6))||_0x48d123[_0x49199e(0x12a)][_0x49199e(0xf5)](_0x49199e(0x10e));}
23
+ const _0x5b032c=_0x6608;function _0x1b65(){const _0x53223d=['_startingVersion','data','getRevision','_bufferedUpdates','message','creatorId','reInit','cloud-services-internal-error:\x20Not\x20connected.','serverHistory','createdAt','isPremiumPlugin','1924800kypCys','catch','size','from','connect','adapter','code','8ahdJgG','editor','plugins','isConnected','authorsIds','requires','once','length','_bufferUpdate','1385728SMDGfU','connected','addToReconnectionStack','listenTo','_isPendingUpdate','_revisionDataBuilder','collaboration.channelId','cloudServices.bundleVersion','repository','5006939PIXFtp','isOfficialPlugin','_lastRequestId','config','remove','add','getOperations','max','_fetchMissingUsers','wrongRequestId','sessionId','_handleReconnectionError','baseVersion','RevisionHistoryService','_fixRevision','affectsData','_handleRevisionsUpdate','CONNECTED','602755EbAHfG','RevisionHistory','CloudServicesRevisionHistoryAdapter','isEmptyCurrent','has','_revisionTracker','getRevisions','fromVersion','authors','toVersion','currentRevision','pluginName','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','8349380zwZgnW','setRevisionData','startsWith','init','type','connection','_revisions','keys','cloud-services-internal-error:\x20Request\x20timeout.','then','isEnabled','2024838DrEbAZ','addRevisionData','176228YHYeta','_offset','addUser','getMany','setSource','revisionsUpdated','2fvNdhx','_isConnected','_oldOffset','updateRevisions','diffData','RevisionTracker','destroy','400','off','isBundleUploaded','sendBufferedUpdates','bind','_update','change:_isConnected','_createCurrentRevision','reverse','_revisionHistoryService','_preventResendingRevisionData','reconnect','_getLatestVersionFromServerOperations','state','6UTiGqh','map','_waitForServiceReady','marker','get','buildRevisionData','_getLatestVersion','change:_isPendingUpdate','getUser'];_0x1b65=function(){return _0x53223d;};return _0x1b65();}(function(_0x2f096c,_0x369275){const _0x51ee14=_0x6608,_0x40d72f=_0x2f096c();while(!![]){try{const _0x460786=-parseInt(_0x51ee14(0x180))/0x1*(parseInt(_0x51ee14(0x186))/0x2)+parseInt(_0x51ee14(0x13b))/0x3+-parseInt(_0x51ee14(0x142))/0x4*(-parseInt(_0x51ee14(0x166))/0x5)+parseInt(_0x51ee14(0x127))/0x6*(-parseInt(_0x51ee14(0x154))/0x7)+-parseInt(_0x51ee14(0x14b))/0x8+-parseInt(_0x51ee14(0x17e))/0x9+parseInt(_0x51ee14(0x173))/0xa;if(_0x460786===_0x369275)break;else _0x40d72f['push'](_0x40d72f['shift']());}catch(_0x51f3ef){_0x40d72f['push'](_0x40d72f['shift']());}}}(_0x1b65,0x687a1));import{Plugin as _0x2c74b1}from'ckeditor5/src/core.js';import{version as _0x3866ab}from'ckeditor5/src/utils.js';import{Users as _0x42b843}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x19b595 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x2031e1 from'../realtimecollaborativeediting/websocketgateway.js';import _0x3b46c2 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x2ae16b,RevisionHistoryService as _0x58c513,User as _0x540e0a,WEB_SOCKET_GATEWAY_STATES as _0x1c74da}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x6608(_0x43f472,_0x257f2e){const _0x1b656d=_0x1b65();return _0x6608=function(_0x6608ae,_0x13fc00){_0x6608ae=_0x6608ae-0x113;let _0x488e46=_0x1b656d[_0x6608ae];return _0x488e46;},_0x6608(_0x43f472,_0x257f2e);}class u extends _0x2c74b1{static [_0x5b032c(0x161)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x58c513)());[_0x5b032c(0x156)];[_0x5b032c(0x16b)];[_0x5b032c(0x122)];[_0x5b032c(0x114)];static get[_0x5b032c(0x147)](){const _0x4ec481=_0x5b032c;return[_0x2031e1,_0x19b595,_0x4ec481(0x167),_0x3b46c2,_0x42b843];}static get[_0x5b032c(0x171)](){const _0x13696d=_0x5b032c;return _0x13696d(0x168);}static get[_0x5b032c(0x155)](){return!0x0;}static get[_0x5b032c(0x13a)](){return!0x0;}constructor(_0x12a3f1){const _0x5267ce=_0x5b032c;super(_0x12a3f1);const _0x275916=this[_0x5267ce(0x143)][_0x5267ce(0x157)][_0x5267ce(0x12b)](_0x5267ce(0x151));this[_0x5267ce(0x156)]=null,this[_0x5267ce(0x16b)]=this[_0x5267ce(0x143)][_0x5267ce(0x144)][_0x5267ce(0x12b)](_0x5267ce(0x117)),this[_0x5267ce(0x122)]=new u[(_0x5267ce(0x161))](_0x275916);}async[_0x5b032c(0x176)](){const _0x59fcf4=_0x5b032c,_0x42f5b0=this[_0x59fcf4(0x143)][_0x59fcf4(0x144)][_0x59fcf4(0x12b)](_0x19b595),_0x258f90=_0x42f5b0[_0x59fcf4(0x138)],_0x5e1294=this[_0x59fcf4(0x143)][_0x59fcf4(0x144)][_0x59fcf4(0x12b)](_0x2031e1);this[_0x59fcf4(0x16b)][_0x59fcf4(0x184)]({'history':_0x258f90,'getLatestVersion':()=>this[_0x59fcf4(0x12d)](),'getCurrentRevisionId':()=>_0x42f5b0[_0x59fcf4(0x15e)]});const _0x39e03c=this[_0x59fcf4(0x143)][_0x59fcf4(0x157)][_0x59fcf4(0x12b)](_0x59fcf4(0x152))||_0x3866ab,_0x398e45=await _0x2ae16b[_0x59fcf4(0x11b)](_0x5e1294[_0x59fcf4(0x178)],_0x39e03c);this[_0x59fcf4(0x143)][_0x59fcf4(0x144)][_0x59fcf4(0x12b)](_0x59fcf4(0x167))[_0x59fcf4(0x140)]={'getRevision':async({revisionId:_0x9527b4})=>(await this[_0x59fcf4(0x129)](),await this[_0x59fcf4(0x122)][_0x59fcf4(0x132)](_0x9527b4)),'updateRevisions':async _0x24ad23=>{const _0x24b496=_0x59fcf4;await this[_0x24b496(0x129)]();const _0x14da27=this[_0x24b496(0x16b)][_0x24b496(0x170)];if(_0x398e45&&0x1===_0x24ad23[_0x24b496(0x149)]&&_0x24ad23[0x0]['id']===_0x14da27['id'])return _0x24ad23;for(const _0x3c56dd of _0x24ad23)_0x3c56dd['id']===_0x14da27['id']&&(_0x3c56dd[_0x24b496(0x169)]=_0x3c56dd[_0x24b496(0x16d)]===_0x3c56dd[_0x24b496(0x16f)]);return this[_0x24b496(0x122)][_0x24b496(0x115)](_0x24ad23,this[_0x24b496(0x156)])[_0x24b496(0x17c)](_0x5804d3=>(this[_0x24b496(0x156)]=_0x5804d3,_0x24ad23))[_0x24b496(0x13c)](_0x1f598b=>{const _0x5a2c03=_0x24b496;if(st(_0x1f598b)||_0x5a2c03(0x119)===_0x1f598b[_0x5a2c03(0x141)]&&void 0x0!==_0x1f598b[_0x5a2c03(0x131)][_0x5a2c03(0x15d)]){for(const _0x3e22db of _0x24ad23){!this[_0x5a2c03(0x16b)][_0x5a2c03(0x153)][_0x5a2c03(0x132)](_0x3e22db['id'])||this[_0x5a2c03(0x16b)][_0x5a2c03(0x14a)](_0x3e22db['id'],_0x3e22db,!0x1);}if(st(_0x1f598b))throw _0x1f598b;return _0x24ad23;}throw _0x1f598b;});}},this[_0x59fcf4(0x14e)](this[_0x59fcf4(0x122)],_0x59fcf4(0x185),(_0x135b39,{revisionsData:_0x3e355e,requestId:_0x2b7818})=>{const _0x4fe140=_0x59fcf4;Math[_0x4fe140(0x15b)](..._0x3e355e[_0x4fe140(0x128)](_0x411f19=>_0x411f19[_0x4fe140(0x16f)]))>this[_0x4fe140(0x125)]()-0x1?this[_0x4fe140(0x12d)]()[_0x4fe140(0x17c)](()=>{const _0x422910=_0x4fe140;this[_0x422910(0x164)](_0x3e355e,_0x2b7818);}):this[_0x4fe140(0x164)](_0x3e355e,_0x2b7818);});const {revisions:_0x1a03a2,requestId:_0x531d93}=await this[_0x59fcf4(0x122)][_0x59fcf4(0x13f)](_0x5e1294[_0x59fcf4(0x178)]);_0x5e1294[_0x59fcf4(0x14d)](this),this[_0x59fcf4(0x156)]=_0x531d93,await this[_0x59fcf4(0x15c)](_0x1a03a2);for(const _0x506e61 of _0x1a03a2)this[_0x59fcf4(0x16b)][_0x59fcf4(0x17f)](_0x506e61);this[_0x59fcf4(0x14e)](_0x42f5b0,_0x59fcf4(0x11f),(_0x2c7917,_0xc08ec6,_0x502be4)=>{const _0xd2ca9b=_0x59fcf4;_0x502be4&&(this[_0xd2ca9b(0x114)]=_0x42f5b0[_0xd2ca9b(0x181)],_0x2c7917[_0xd2ca9b(0x11a)]());}),this[_0x59fcf4(0x16b)][_0x59fcf4(0x11d)](_0x59fcf4(0x17d))['to'](_0x5e1294,_0x59fcf4(0x126),_0x16e662=>_0x16e662===_0x1c74da[_0x59fcf4(0x165)]);}async[_0x5b032c(0x124)](){const _0x5792f6=_0x5b032c,_0x38e027=this[_0x5792f6(0x143)][_0x5792f6(0x144)][_0x5792f6(0x12b)](_0x2031e1),_0xce3904=this[_0x5792f6(0x143)][_0x5792f6(0x144)][_0x5792f6(0x12b)](_0x19b595),_0x1b9000=async()=>{const _0x535aea=_0x5792f6,_0x7f53df=this[_0x535aea(0x16b)][_0x535aea(0x170)],_0x450fb4=_0x7f53df['id'],_0x573296=_0x450fb4!==_0xce3904[_0x535aea(0x15e)];if(_0x573296){const _0x2ab3b1=_0xce3904[_0x535aea(0x181)]-this[_0x535aea(0x114)],_0x49ce6e=this[_0x535aea(0x125)]();this[_0x535aea(0x16b)][_0x535aea(0x150)][_0x535aea(0x136)]();if(_0x7f53df[_0x535aea(0x16f)]+_0x2ab3b1!==_0x49ce6e){const _0x2ba99c=_0x7f53df[_0x535aea(0x16d)]+_0x2ab3b1,_0x58a3e2=this[_0x535aea(0x143)][_0x535aea(0x144)][_0x535aea(0x12b)](_0x42b843),_0x283e58=this[_0x535aea(0x16b)][_0x535aea(0x12c)]({'revision':_0x7f53df,'from':_0x2ba99c,'to':_0x49ce6e});_0x283e58['id']=_0x7f53df['id'];const _0x15941d=_0x283e58[_0x535aea(0x146)][_0x535aea(0x128)](_0x5578f1=>_0x58a3e2[_0x535aea(0x12f)](_0x5578f1));_0x7f53df[_0x535aea(0x11e)]({..._0x283e58,'authors':_0x15941d},!0x0),this[_0x535aea(0x16b)][_0x535aea(0x14a)](_0x7f53df['id'],_0x283e58,!0x0);}this[_0x535aea(0x16b)][_0x535aea(0x130)]=_0x49ce6e,(_0x7f53df[_0x535aea(0x16f)]===_0x7f53df[_0x535aea(0x16d)]&&!this[_0x535aea(0x16b)][_0x535aea(0x133)][_0x535aea(0x16a)](_0x450fb4)&&this[_0x535aea(0x16b)][_0x535aea(0x153)][_0x535aea(0x179)][_0x535aea(0x158)](_0x450fb4),this[_0x535aea(0x16b)][_0x535aea(0x120)](_0x49ce6e));}const {revisions:_0x5e7ec3,requestId:_0x9fa314}=await this[_0x535aea(0x122)][_0x535aea(0x124)](_0x38e027[_0x535aea(0x178)],this[_0x535aea(0x156)]);_0x573296&&_0x5e7ec3[_0x535aea(0x149)]>0x0?_0xce3904[_0x535aea(0x15f)]():(await this[_0x535aea(0x15c)](_0x5e7ec3),this[_0x535aea(0x164)](_0x5e7ec3,_0x9fa314),this[_0x535aea(0x16b)][_0x535aea(0x11c)]());};return _0xce3904[_0x5792f6(0x113)]?_0x1b9000():new Promise((_0x4651fb,_0x399c46)=>{const _0x17245a=_0x5792f6;_0xce3904[_0x17245a(0x148)](_0x17245a(0x11f),()=>{const _0xc4cc8=_0x17245a;_0x1b9000()[_0xc4cc8(0x17c)](_0x4651fb)[_0xc4cc8(0x13c)](_0x399c46);});});}[_0x5b032c(0x118)](){const _0x5183f4=_0x5b032c;super[_0x5183f4(0x118)]();}async[_0x5b032c(0x129)](){const _0xb21e9=_0x5b032c;this[_0xb21e9(0x122)][_0xb21e9(0x145)]||await new Promise(_0x387648=>{const _0x7e555b=_0xb21e9;this[_0x7e555b(0x14e)](this[_0x7e555b(0x122)],_0x7e555b(0x14c),_0x52e58c=>{const _0x3dcd2f=_0x7e555b;_0x52e58c[_0x3dcd2f(0x11a)](),_0x387648();});});}[_0x5b032c(0x125)](){const _0x36b562=_0x5b032c,_0x55d012=this[_0x36b562(0x143)][_0x36b562(0x144)][_0x36b562(0x12b)](_0x19b595)[_0x36b562(0x138)][_0x36b562(0x15a)]()[_0x36b562(0x121)]();for(const _0xb0b5bc of _0x55d012)if(_0x36b562(0x12a)!==_0xb0b5bc[_0x36b562(0x177)]||_0xb0b5bc[_0x36b562(0x163)])return _0xb0b5bc[_0x36b562(0x160)]+0x1;}[_0x5b032c(0x12d)](){const _0x5ae8d6=_0x5b032c,_0x383682=this[_0x5ae8d6(0x143)][_0x5ae8d6(0x144)][_0x5ae8d6(0x12b)](_0x19b595);return new Promise(_0x476b7a=>{const _0xb2aa2b=_0x5ae8d6;_0x383682[_0xb2aa2b(0x14f)]?_0x383682[_0xb2aa2b(0x148)](_0xb2aa2b(0x12e),()=>{const _0x51afbf=_0xb2aa2b;_0x476b7a(this[_0x51afbf(0x125)]());}):_0x476b7a(this[_0xb2aa2b(0x125)]());});}[_0x5b032c(0x164)](_0x58224e,_0x4f456b){const _0x30a146=_0x5b032c,_0xf1c450=this[_0x30a146(0x16b)][_0x30a146(0x153)];this[_0x30a146(0x156)]=_0x4f456b;for(const _0x4f4558 of _0x58224e){const _0xafe3bf=_0xf1c450[_0x30a146(0x132)](_0x4f4558['id']);if(_0xafe3bf){if((_0x4f4558[_0x30a146(0x16d)]||_0x4f4558[_0x30a146(0x16f)])&&(_0x4f4558[_0x30a146(0x116)]=null),_0xafe3bf===this[_0x30a146(0x16b)][_0x30a146(0x170)]){const _0x262d1a=Math[_0x30a146(0x15b)](_0xafe3bf[_0x30a146(0x16f)],_0x4f4558[_0x30a146(0x16f)]),_0x42d3d6=Math[_0x30a146(0x15b)](_0xafe3bf[_0x30a146(0x16d)],_0x4f4558[_0x30a146(0x16d)]);let _0x54dc4f;_0xafe3bf[_0x30a146(0x16f)]===_0x4f4558[_0x30a146(0x16f)]&&_0xafe3bf[_0x30a146(0x16d)]===_0x4f4558[_0x30a146(0x16d)]?(_0x54dc4f=!0x0,this[_0x30a146(0x123)](_0x4f4558)):_0x4f4558[_0x30a146(0x16f)]===_0x262d1a&&_0x4f4558[_0x30a146(0x16d)]===_0x42d3d6?_0x54dc4f=!0x1:(_0xafe3bf[_0x30a146(0x16f)]===_0x262d1a&&_0xafe3bf[_0x30a146(0x16d)]===_0x42d3d6||this[_0x30a146(0x162)]({'revision':_0xafe3bf,'from':_0x42d3d6,'to':_0x262d1a}),_0x54dc4f=!0x0),_0x54dc4f&&(delete _0x4f4558[_0x30a146(0x16d)],delete _0x4f4558[_0x30a146(0x16f)],delete _0x4f4558[_0x30a146(0x116)],delete _0x4f4558[_0x30a146(0x139)],delete _0x4f4558[_0x30a146(0x146)]);}this[_0x30a146(0x16b)][_0x30a146(0x174)](_0x4f4558),this[_0x30a146(0x123)](_0x4f4558);}else this[_0x30a146(0x16b)][_0x30a146(0x17f)](_0x4f4558);}const _0x23530f=_0xf1c450[_0x30a146(0x16c)]();_0x23530f[_0x30a146(0x121)]();for(let _0x42a56d=0x0;_0x42a56d<_0x23530f[_0x30a146(0x149)]-0x1;_0x42a56d++){const _0x330199=_0x23530f[_0x42a56d],_0x278f89=_0x23530f[_0x42a56d+0x1];if(_0x330199[_0x30a146(0x16d)]<_0x278f89[_0x30a146(0x16f)]){const _0x460e95=_0x278f89[_0x30a146(0x16f)],_0x847937=Math[_0x30a146(0x15b)](_0x460e95,_0x330199[_0x30a146(0x16f)]);this[_0x30a146(0x162)]({'revision':_0x330199,'from':_0x460e95,'to':_0x847937});}}}[_0x5b032c(0x162)]({revision:_0x3b9279,from:_0x530f16,to:_0xd4bde6}={}){const _0x16bf4e=_0x5b032c,_0x56c830=this[_0x16bf4e(0x143)][_0x16bf4e(0x144)][_0x16bf4e(0x12b)](_0x42b843),_0x512897=this[_0x16bf4e(0x16b)][_0x16bf4e(0x12c)]({'revision':_0x3b9279,'from':_0x530f16,'to':_0xd4bde6});_0x512897[_0x16bf4e(0x16e)]=_0x512897[_0x16bf4e(0x146)][_0x16bf4e(0x128)](_0x5a96c5=>_0x56c830[_0x16bf4e(0x12f)](_0x5a96c5)),_0x3b9279[_0x16bf4e(0x11e)](_0x512897);}[_0x5b032c(0x123)](_0x14a0f1){const _0x50ad31=_0x5b032c,_0x1f86af={};_0x1f86af['id']=_0x14a0f1['id'];for(const _0x52d1c9 of Object[_0x50ad31(0x17a)](_0x14a0f1))'id'!==_0x52d1c9&&(_0x1f86af[_0x52d1c9]=void 0x0);this[_0x50ad31(0x16b)][_0x50ad31(0x14a)](_0x1f86af['id'],_0x1f86af,!0x0);}async[_0x5b032c(0x15c)](_0x3c1630){const _0x4dfb58=_0x5b032c,_0x26da67=this[_0x4dfb58(0x143)][_0x4dfb58(0x144)][_0x4dfb58(0x12b)](_0x42b843),{connection:_0xa2b943}=this[_0x4dfb58(0x143)][_0x4dfb58(0x144)][_0x4dfb58(0x12b)](_0x2031e1),_0x214935=new Set();for(const _0x4f63ae of _0x3c1630){for(const _0x4e63cf of _0x4f63ae[_0x4dfb58(0x146)])_0x5f0124(_0x4e63cf);_0x4f63ae[_0x4dfb58(0x135)]&&_0x5f0124(_0x4f63ae[_0x4dfb58(0x135)]);}if(0x0===_0x214935[_0x4dfb58(0x13d)])return;const _0x3aa328=await _0x540e0a[_0x4dfb58(0x183)](_0xa2b943,Array[_0x4dfb58(0x13e)](_0x214935));for(const _0x3a5e05 of _0x3aa328)_0x26da67[_0x4dfb58(0x12f)](_0x3a5e05['id'])||_0x26da67[_0x4dfb58(0x182)](_0x3a5e05);function _0x5f0124(_0x432460){const _0x16966d=_0x4dfb58;_0x26da67[_0x16966d(0x12f)](_0x432460)||_0x214935[_0x16966d(0x159)](_0x432460);}}}export default u;function st(_0x66abd3){const _0x2c3a3b=_0x5b032c;return _0x66abd3[_0x2c3a3b(0x134)][_0x2c3a3b(0x175)](_0x2c3a3b(0x172))||_0x66abd3[_0x2c3a3b(0x134)][_0x2c3a3b(0x175)](_0x2c3a3b(0x137))||_0x66abd3[_0x2c3a3b(0x134)][_0x2c3a3b(0x175)](_0x2c3a3b(0x17b));}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1141(){const _0x16325a=['connected','4HGuwQi','data','connection','isPremiumPlugin','hasSuggestion','off','set','type','state','open','catch','suggestionUpdated','isConnected','startsWith','delete','getSuggestion','TrackChangesEditing','from','init','originalSuggestionId','editor','_trackChangesService','getUser','adapter','connect','2903560OItYdO','reconnect','then','_saved','attributes','addToReconnectionStack','1138027RjHSTo','listenTo','update','1533992UCoyJo','2795025vOQCie','isOfficialPlugin','1520673OlRFpj','5159364GdYPto','message','collaboration.channelId','plugins','CloudServicesTrackChangesAdapter','add','requires','887772aerHfj','_fetchMissingUsersForThreads','values','get','addUser','config','cloud-services-internal-error:\x20Request\x20timeout.','TrackChangesService','_waitForServiceReady','pluginName','72LTKsRn','getMany','size','_bufferedRequests','cloud-services-internal-error:\x20Not\x20connected.','find','addSuggestionData'];_0x1141=function(){return _0x16325a;};return _0x1141();}function _0x1292(_0x2aff52,_0x3db07f){const _0x114130=_0x1141();return _0x1292=function(_0x129272,_0x2e0bb0){_0x129272=_0x129272-0xa3;let _0xc1d36a=_0x114130[_0x129272];return _0xc1d36a;},_0x1292(_0x2aff52,_0x3db07f);}const _0x35a4cc=_0x1292;(function(_0x28ed99,_0x33596b){const _0x549421=_0x1292,_0x392a23=_0x28ed99();while(!![]){try{const _0xab9354=parseInt(_0x549421(0xc6))/0x1+-parseInt(_0x549421(0xa7))/0x2*(parseInt(_0x549421(0xcc))/0x3)+-parseInt(_0x549421(0xc0))/0x4+parseInt(_0x549421(0xca))/0x5+-parseInt(_0x549421(0xd4))/0x6+-parseInt(_0x549421(0xcd))/0x7+parseInt(_0x549421(0xc9))/0x8*(parseInt(_0x549421(0xde))/0x9);if(_0xab9354===_0x33596b)break;else _0x392a23['push'](_0x392a23['shift']());}catch(_0x500753){_0x392a23['push'](_0x392a23['shift']());}}}(_0x1141,0x94082));import{Plugin as _0x13bef0}from'ckeditor5/src/core.js';import{User as _0x529bb6,TrackChangesService as _0x25915b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x909a24 from'../realtimecollaborativeediting/websocketgateway.js';import _0x321179 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x5dc817}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x13bef0{static [_0x35a4cc(0xdb)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x25915b)());[_0x35a4cc(0xe1)];[_0x35a4cc(0xbc)];static get[_0x35a4cc(0xd3)](){const _0x5a1eed=_0x35a4cc;return[_0x321179,_0x5a1eed(0xb7),_0x909a24];}static get[_0x35a4cc(0xdd)](){const _0x1a3b67=_0x35a4cc;return _0x1a3b67(0xd1);}static get[_0x35a4cc(0xcb)](){return!0x0;}static get[_0x35a4cc(0xaa)](){return!0x0;}constructor(_0x2da337){const _0x5c3e47=_0x35a4cc;super(_0x2da337);const _0x5276cf=this[_0x5c3e47(0xbb)][_0x5c3e47(0xd9)][_0x5c3e47(0xd7)](_0x5c3e47(0xcf));this[_0x5c3e47(0xe1)]=new Map(),this[_0x5c3e47(0xbc)]=new f[(_0x5c3e47(0xdb))](_0x5276cf);}[_0x35a4cc(0xb9)](){const _0x10348f=_0x35a4cc,_0x533476=this[_0x10348f(0xbb)][_0x10348f(0xd0)][_0x10348f(0xd7)](_0x909a24),_0xcccb03=this[_0x10348f(0xbb)][_0x10348f(0xd0)][_0x10348f(0xd7)](_0x10348f(0xb7));return _0xcccb03[_0x10348f(0xbe)]={'getSuggestion':async _0x542e60=>{const _0x373e56=_0x10348f;await this[_0x373e56(0xdc)]();const _0x2cea50=await this[_0x373e56(0xbc)][_0x373e56(0xd7)](_0x542e60)[_0x373e56(0xb1)](w);return await this[_0x373e56(0xd5)]([_0x2cea50]),_0x2cea50;},'addSuggestion':async({id:_0x161ad8,type:_0x357135,data:_0x293966,originalSuggestionId:_0x1d5315,attributes:_0x147382})=>{const _0x11667e=_0x10348f;await this[_0x11667e(0xdc)]();const _0x31fe36={'id':_0x161ad8,'type':_0x357135,'data':_0x293966,'originalSuggestionId':_0x1d5315,'attributes':_0x147382},_0x2fe663=await this[_0x11667e(0xbc)][_0x11667e(0xd2)](_0x161ad8,_0x357135,_0x293966,_0x1d5315,_0x147382)[_0x11667e(0xb1)](_0x2e0ec5=>{if(st(_0x2e0ec5))return new Promise(_0x538f6e=>{const _0x3b5ede=_0x1292;this[_0x3b5ede(0xe1)][_0x3b5ede(0xad)](_0x161ad8,{'resolve':_0x538f6e,'suggestionData':_0x31fe36});});throw _0x2e0ec5;});return this[_0x11667e(0xe1)][_0x11667e(0xb5)](_0x161ad8),_0x2fe663;},'updateSuggestion':async(_0x2c6266,_0x5dcf16)=>{const _0x48caaa=_0x10348f;if(await this[_0x48caaa(0xdc)](),_0x48caaa(0xb0)!==_0x5dcf16[_0x48caaa(0xaf)])return this[_0x48caaa(0xbc)][_0x48caaa(0xc8)](_0x2c6266,_0x5dcf16)[_0x48caaa(0xb1)](w);}},this[_0x10348f(0xc7)](this[_0x10348f(0xbc)],_0x10348f(0xb2),(_0x5416b7,_0x53e111)=>{const _0x2eb99c=_0x10348f;_0xcccb03[_0x2eb99c(0xab)](_0x53e111['id'])&&(_0xcccb03[_0x2eb99c(0xb6)](_0x53e111['id'])[_0x2eb99c(0xc4)]=_0x53e111[_0x2eb99c(0xc4)]);}),this[_0x10348f(0xbc)][_0x10348f(0xbf)](_0x533476[_0x10348f(0xa9)])[_0x10348f(0xc2)](_0x57108b=>(_0x533476[_0x10348f(0xc5)](this),this[_0x10348f(0xd5)](_0x57108b)[_0x10348f(0xc2)](()=>{const _0x5480f8=_0x10348f;for(const _0x50273e of _0x57108b){_0xcccb03[_0x5480f8(0xa5)](_0x50273e)[_0x5480f8(0xc3)]=!0x0;}})));}async[_0x35a4cc(0xc1)](){const _0x1b44bb=_0x35a4cc,_0x4120e1=this[_0x1b44bb(0xbb)][_0x1b44bb(0xd0)][_0x1b44bb(0xd7)](_0x1b44bb(0xb7)),{connection:_0x196c9d}=this[_0x1b44bb(0xbb)][_0x1b44bb(0xd0)][_0x1b44bb(0xd7)](_0x909a24),_0x570d71=await this[_0x1b44bb(0xbc)][_0x1b44bb(0xbf)](_0x196c9d);await this[_0x1b44bb(0xd5)](_0x570d71);for(const {suggestionData:_0x1d5ded,resolve:_0x2ad413}of this[_0x1b44bb(0xe1)][_0x1b44bb(0xd6)]()){let _0x11e73c=_0x570d71[_0x1b44bb(0xa4)](_0x576e25=>_0x576e25['id']===_0x1d5ded['id']);_0x11e73c||(_0x11e73c=await this[_0x1b44bb(0xbc)][_0x1b44bb(0xd2)](_0x1d5ded['id'],_0x1d5ded[_0x1b44bb(0xae)],_0x1d5ded[_0x1b44bb(0xa8)],_0x1d5ded[_0x1b44bb(0xba)])),_0x2ad413(_0x11e73c);}for(const _0x309bc1 of _0x570d71)_0x4120e1[_0x1b44bb(0xab)](_0x309bc1['id'])||_0x4120e1[_0x1b44bb(0xa5)](_0x309bc1);}async[_0x35a4cc(0xdc)](){const _0x398d69=_0x35a4cc;this[_0x398d69(0xbc)][_0x398d69(0xb3)]||await new Promise(_0x83be84=>{const _0x1ddb6b=_0x398d69;this[_0x1ddb6b(0xc7)](this[_0x1ddb6b(0xbc)],_0x1ddb6b(0xa6),_0x451d24=>{const _0x1eff39=_0x1ddb6b;_0x451d24[_0x1eff39(0xac)](),_0x83be84();});});}async[_0x35a4cc(0xd5)](_0x2e3feb){const _0x108c6e=_0x35a4cc,_0x161602=this[_0x108c6e(0xbb)][_0x108c6e(0xd0)][_0x108c6e(0xd7)](_0x5dc817),{connection:_0x3d4304}=this[_0x108c6e(0xbb)][_0x108c6e(0xd0)][_0x108c6e(0xd7)](_0x909a24),_0x5847e5=new Set();for(const {authorId:_0x188d7f}of _0x2e3feb)_0x161602[_0x108c6e(0xbd)](_0x188d7f)||_0x5847e5[_0x108c6e(0xd2)](_0x188d7f);if(0x0===_0x5847e5[_0x108c6e(0xe0)])return;const _0x40d483=await _0x529bb6[_0x108c6e(0xdf)](_0x3d4304,Array[_0x108c6e(0xb8)](_0x5847e5));for(const _0x4f09ef of _0x40d483)_0x161602[_0x108c6e(0xbd)](_0x4f09ef['id'])||_0x161602[_0x108c6e(0xd8)](_0x4f09ef);}}export default f;function w(_0x3630b0){if(st(_0x3630b0))return new Promise(()=>{});throw _0x3630b0;}function st(_0x1ec4e1){const _0x3f186f=_0x35a4cc;return _0x1ec4e1[_0x3f186f(0xce)][_0x3f186f(0xb4)](_0x3f186f(0xa3))||_0x1ec4e1[_0x3f186f(0xce)][_0x3f186f(0xb4)](_0x3f186f(0xda));}
23
+ const _0x54d71a=_0x11a3;(function(_0x2b2644,_0x5a9dd3){const _0x9020=_0x11a3,_0x5f20eb=_0x2b2644();while(!![]){try{const _0x25f9dd=parseInt(_0x9020(0x1c3))/0x1*(parseInt(_0x9020(0x1c5))/0x2)+parseInt(_0x9020(0x1c2))/0x3*(-parseInt(_0x9020(0x1da))/0x4)+parseInt(_0x9020(0x19e))/0x5*(-parseInt(_0x9020(0x1a8))/0x6)+parseInt(_0x9020(0x1b2))/0x7+-parseInt(_0x9020(0x1b9))/0x8+-parseInt(_0x9020(0x1a0))/0x9+parseInt(_0x9020(0x1a7))/0xa;if(_0x25f9dd===_0x5a9dd3)break;else _0x5f20eb['push'](_0x5f20eb['shift']());}catch(_0x15086e){_0x5f20eb['push'](_0x5f20eb['shift']());}}}(_0x4673,0x4a135));import{Plugin as _0x3d5cb2}from'ckeditor5/src/core.js';import{User as _0x209b35,TrackChangesService as _0x3bd64d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x53136f from'../realtimecollaborativeediting/websocketgateway.js';import _0x536dca from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x404287}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4673(){const _0x36ce9a=['update','state','connected','_waitForServiceReady','getSuggestion','off','2165170UWtmkp','CloudServicesTrackChangesAdapter','config','collaboration.channelId','isPremiumPlugin','TrackChangesService','listenTo','2572792rlMRTJ','isOfficialPlugin','_fetchMissingUsersForThreads','pluginName','isConnected','addToReconnectionStack','init','attributes','cloud-services-internal-error:\x20Request\x20timeout.','3267MlNrcm','3311LgDmrh','get','4codhYj','then','originalSuggestionId','reconnect','add','message','_trackChangesService','suggestionUpdated','getMany','connect','startsWith','find','catch','editor','delete','connection','requires','data','size','adapter','TrackChangesEditing','1316BsDyBH','open','plugins','_saved','5RXkioV','_bufferedRequests','4519278BuEHBm','from','addUser','type','hasSuggestion','set','cloud-services-internal-error:\x20Not\x20connected.','11778170UBrOqd','49884ZWAIxN','addSuggestionData','values','getUser'];_0x4673=function(){return _0x36ce9a;};return _0x4673();}class f extends _0x3d5cb2{static [_0x54d71a(0x1b7)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3bd64d)());[_0x54d71a(0x19f)];[_0x54d71a(0x1cb)];static get[_0x54d71a(0x1d5)](){const _0x41adf5=_0x54d71a;return[_0x536dca,_0x41adf5(0x1d9),_0x53136f];}static get[_0x54d71a(0x1bc)](){const _0x2df5c2=_0x54d71a;return _0x2df5c2(0x1b3);}static get[_0x54d71a(0x1ba)](){return!0x0;}static get[_0x54d71a(0x1b6)](){return!0x0;}constructor(_0x313bef){const _0x40ce08=_0x54d71a;super(_0x313bef);const _0x270486=this[_0x40ce08(0x1d2)][_0x40ce08(0x1b4)][_0x40ce08(0x1c4)](_0x40ce08(0x1b5));this[_0x40ce08(0x19f)]=new Map(),this[_0x40ce08(0x1cb)]=new f[(_0x40ce08(0x1b7))](_0x270486);}[_0x54d71a(0x1bf)](){const _0x3d29d9=_0x54d71a,_0x1a353e=this[_0x3d29d9(0x1d2)][_0x3d29d9(0x1dc)][_0x3d29d9(0x1c4)](_0x53136f),_0x2271f1=this[_0x3d29d9(0x1d2)][_0x3d29d9(0x1dc)][_0x3d29d9(0x1c4)](_0x3d29d9(0x1d9));return _0x2271f1[_0x3d29d9(0x1d8)]={'getSuggestion':async _0x98e545=>{const _0x35bed1=_0x3d29d9;await this[_0x35bed1(0x1af)]();const _0x30a28d=await this[_0x35bed1(0x1cb)][_0x35bed1(0x1c4)](_0x98e545)[_0x35bed1(0x1d1)](R);return await this[_0x35bed1(0x1bb)]([_0x30a28d]),_0x30a28d;},'addSuggestion':async({id:_0x339f1e,type:_0x5ea994,data:_0x3784ff,originalSuggestionId:_0xc15eb8,attributes:_0x4c205c})=>{const _0x2c4f2c=_0x3d29d9;await this[_0x2c4f2c(0x1af)]();const _0x543e53={'id':_0x339f1e,'type':_0x5ea994,'data':_0x3784ff,'originalSuggestionId':_0xc15eb8,'attributes':_0x4c205c},_0x527c20=await this[_0x2c4f2c(0x1cb)][_0x2c4f2c(0x1c9)](_0x339f1e,_0x5ea994,_0x3784ff,_0xc15eb8,_0x4c205c)[_0x2c4f2c(0x1d1)](_0x4e7a18=>{if(st(_0x4e7a18))return new Promise(_0x108c64=>{const _0x2fe03b=_0x11a3;this[_0x2fe03b(0x19f)][_0x2fe03b(0x1a5)](_0x339f1e,{'resolve':_0x108c64,'suggestionData':_0x543e53});});throw _0x4e7a18;});return this[_0x2c4f2c(0x19f)][_0x2c4f2c(0x1d3)](_0x339f1e),_0x527c20;},'updateSuggestion':async(_0x1ca9af,_0x4b2b3f)=>{const _0x583f6d=_0x3d29d9;if(await this[_0x583f6d(0x1af)](),_0x583f6d(0x1db)!==_0x4b2b3f[_0x583f6d(0x1ad)])return this[_0x583f6d(0x1cb)][_0x583f6d(0x1ac)](_0x1ca9af,_0x4b2b3f)[_0x583f6d(0x1d1)](R);}},this[_0x3d29d9(0x1b8)](this[_0x3d29d9(0x1cb)],_0x3d29d9(0x1cc),(_0x196a34,_0x4c8b24)=>{const _0x32a465=_0x3d29d9;_0x2271f1[_0x32a465(0x1a4)](_0x4c8b24['id'])&&(_0x2271f1[_0x32a465(0x1b0)](_0x4c8b24['id'])[_0x32a465(0x1c0)]=_0x4c8b24[_0x32a465(0x1c0)]);}),this[_0x3d29d9(0x1cb)][_0x3d29d9(0x1ce)](_0x1a353e[_0x3d29d9(0x1d4)])[_0x3d29d9(0x1c6)](_0x4e1aac=>(_0x1a353e[_0x3d29d9(0x1be)](this),this[_0x3d29d9(0x1bb)](_0x4e1aac)[_0x3d29d9(0x1c6)](()=>{const _0x53b9f8=_0x3d29d9;for(const _0x19ac21 of _0x4e1aac){_0x2271f1[_0x53b9f8(0x1a9)](_0x19ac21)[_0x53b9f8(0x19d)]=!0x0;}})));}async[_0x54d71a(0x1c8)](){const _0x23b4e6=_0x54d71a,_0x10af92=this[_0x23b4e6(0x1d2)][_0x23b4e6(0x1dc)][_0x23b4e6(0x1c4)](_0x23b4e6(0x1d9)),{connection:_0x1e358a}=this[_0x23b4e6(0x1d2)][_0x23b4e6(0x1dc)][_0x23b4e6(0x1c4)](_0x53136f),_0xf908f0=await this[_0x23b4e6(0x1cb)][_0x23b4e6(0x1ce)](_0x1e358a);await this[_0x23b4e6(0x1bb)](_0xf908f0);for(const {suggestionData:_0x2b8fae,resolve:_0xb9f885}of this[_0x23b4e6(0x19f)][_0x23b4e6(0x1aa)]()){let _0x3087da=_0xf908f0[_0x23b4e6(0x1d0)](_0x535458=>_0x535458['id']===_0x2b8fae['id']);_0x3087da||(_0x3087da=await this[_0x23b4e6(0x1cb)][_0x23b4e6(0x1c9)](_0x2b8fae['id'],_0x2b8fae[_0x23b4e6(0x1a3)],_0x2b8fae[_0x23b4e6(0x1d6)],_0x2b8fae[_0x23b4e6(0x1c7)])),_0xb9f885(_0x3087da);}for(const _0x2cef70 of _0xf908f0)_0x10af92[_0x23b4e6(0x1a4)](_0x2cef70['id'])||_0x10af92[_0x23b4e6(0x1a9)](_0x2cef70);}async[_0x54d71a(0x1af)](){const _0x36d2c7=_0x54d71a;this[_0x36d2c7(0x1cb)][_0x36d2c7(0x1bd)]||await new Promise(_0x5d1f5c=>{const _0x46e86b=_0x36d2c7;this[_0x46e86b(0x1b8)](this[_0x46e86b(0x1cb)],_0x46e86b(0x1ae),_0x359378=>{const _0xc6eddb=_0x46e86b;_0x359378[_0xc6eddb(0x1b1)](),_0x5d1f5c();});});}async[_0x54d71a(0x1bb)](_0x4afcd0){const _0x43009a=_0x54d71a,_0x13cef8=this[_0x43009a(0x1d2)][_0x43009a(0x1dc)][_0x43009a(0x1c4)](_0x404287),{connection:_0x39672d}=this[_0x43009a(0x1d2)][_0x43009a(0x1dc)][_0x43009a(0x1c4)](_0x53136f),_0x5d6528=new Set();for(const {authorId:_0x2e3714}of _0x4afcd0)_0x13cef8[_0x43009a(0x1ab)](_0x2e3714)||_0x5d6528[_0x43009a(0x1c9)](_0x2e3714);if(0x0===_0x5d6528[_0x43009a(0x1d7)])return;const _0x5720de=await _0x209b35[_0x43009a(0x1cd)](_0x39672d,Array[_0x43009a(0x1a1)](_0x5d6528));for(const _0x862b88 of _0x5720de)_0x13cef8[_0x43009a(0x1ab)](_0x862b88['id'])||_0x13cef8[_0x43009a(0x1a2)](_0x862b88);}}export default f;function _0x11a3(_0x3c6f61,_0x45a1e8){const _0x467355=_0x4673();return _0x11a3=function(_0x11a38a,_0x50f302){_0x11a38a=_0x11a38a-0x19d;let _0x41c9a3=_0x467355[_0x11a38a];return _0x41c9a3;},_0x11a3(_0x3c6f61,_0x45a1e8);}function R(_0x65ae02){if(st(_0x65ae02))return new Promise(()=>{});throw _0x65ae02;}function st(_0x15e23f){const _0x1fcf5c=_0x54d71a;return _0x15e23f[_0x1fcf5c(0x1ca)][_0x1fcf5c(0x1cf)](_0x1fcf5c(0x1a6))||_0x15e23f[_0x1fcf5c(0x1ca)][_0x1fcf5c(0x1cf)](_0x1fcf5c(0x1c1));}