@ckeditor/ckeditor5-real-time-collaboration 44.0.0-alpha.10 → 44.0.0-alpha.12

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
- const _0x3fb5a8=_0x3b43;function _0x27a5(){const _0xd54725=['WebSocketGateway','showWarning','get','then','set','limitExceeded','listenTo','949226tUBygK','_isBrowserOffline','config','websocketgateway-missing-websocket-url','create','has','cloudServices.requestTimeout','context','cloudservices-init','isOfficialPlugin','websocketgateway-missing-token','_reconnectionStack','connect','catch','cloudServices.connectionTimeout','138357vcIFmF','CONNECTED','reconnect','18697nddgRl','function','define','token','Connected\x20users\x20limit\x20exceeded','code','connected','plugins','add','from','error','22Rffvvf','removeFromReconnectionStack','4694395nlEdxC','websocketgateway-invalid-plugin-interface','pluginName','webSocketUrl','DISCONNECTED','real-time-collaboration','896lutJLk','change:me','_shouldPluginsReconnect','stopListening','disconnect','bind','isPremiumPlugin','cloudservices-reconnection-error','_reconnect','online','offline','destroy','2434848sSsCig','state','CONNECTING','6fSinjc','isInReconnectionStack','init','connection','429rLfBYu','all','websocketgateway-plugin-already-registered','16570746PVTgag','initialReconnectionInterval','addToReconnectionStack','CloudServices','delete','287150zSSrKf','constructor','_domEmitter','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.','requires'];_0x27a5=function(){return _0xd54725;};return _0x27a5();}(function(_0x32c9e1,_0x361d62){const _0x5f1c55=_0x3b43,_0x3ebe5a=_0x32c9e1();while(!![]){try{const _0x3ae43d=parseInt(_0x5f1c55(0x110))/0x1+-parseInt(_0x5f1c55(0x12d))/0x2*(parseInt(_0x5f1c55(0x11f))/0x3)+parseInt(_0x5f1c55(0x141))/0x4+parseInt(_0x5f1c55(0x12f))/0x5*(parseInt(_0x5f1c55(0xf8))/0x6)+-parseInt(_0x5f1c55(0x122))/0x7*(parseInt(_0x5f1c55(0x135))/0x8)+-parseInt(_0x5f1c55(0xff))/0x9+parseInt(_0x5f1c55(0x104))/0xa*(parseInt(_0x5f1c55(0xfc))/0xb);if(_0x3ae43d===_0x361d62)break;else _0x3ebe5a['push'](_0x3ebe5a['shift']());}catch(_0x12c100){_0x3ebe5a['push'](_0x3ebe5a['shift']());}}}(_0x27a5,0xec957));import{ContextPlugin as _0x224ffb}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x48409f,CKEditorError as _0x2aeaa2}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x53111f,WEB_SOCKET_GATEWAY_STATES as _0x2afe37}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x58e16e}from'ckeditor5/src/ui.js';class c extends _0x224ffb{static get[_0x3fb5a8(0x108)](){const _0x4c6b84=_0x3fb5a8;return[_0x4c6b84(0x102),_0x58e16e];}static get[_0x3fb5a8(0x131)](){const _0xdbed3=_0x3fb5a8;return _0xdbed3(0x109);}static get[_0x3fb5a8(0x119)](){return!0x0;}static get[_0x3fb5a8(0x13b)](){return!0x0;}constructor(_0x148bd9){const _0x4c94eb=_0x3fb5a8;super(_0x148bd9),this[_0x4c94eb(0x10d)](_0x4c94eb(0x142),_0x2afe37[_0x4c94eb(0x120)]),this[_0x4c94eb(0x10d)](_0x4c94eb(0x111),!0x1),this[_0x4c94eb(0x11b)]=new Set(),this[_0x4c94eb(0x137)]=!0x1,this[_0x4c94eb(0x106)]=Object[_0x4c94eb(0x114)](_0x48409f);}[_0x3fb5a8(0xfa)](){const _0x10f650=_0x3fb5a8,_0x332ba4=this[_0x10f650(0x117)],_0x41a563=_0x332ba4[_0x10f650(0x129)][_0x10f650(0x10b)](_0x10f650(0x102)),_0x1a1e83=_0x332ba4[_0x10f650(0x129)][_0x10f650(0x10b)](_0x58e16e);if(!_0x41a563[_0x10f650(0x125)])throw new _0x2aeaa2(_0x10f650(0x11a),this);if(!_0x41a563[_0x10f650(0x132)])throw new _0x2aeaa2(_0x10f650(0x113),this);return this[_0x10f650(0x106)][_0x10f650(0x10f)](window,_0x10f650(0x13f),()=>this[_0x10f650(0x111)]=!0x0),this[_0x10f650(0x106)][_0x10f650(0x10f)](window,_0x10f650(0x13e),()=>this[_0x10f650(0x111)]=!0x1),this[_0x10f650(0x117)][_0x10f650(0x112)][_0x10f650(0x124)](_0x10f650(0x11e),0xa),this[_0x10f650(0x117)][_0x10f650(0x112)][_0x10f650(0x124)](_0x10f650(0x116),0x14),c[_0x10f650(0x109)][_0x10f650(0x11c)](_0x41a563[_0x10f650(0x125)],_0x41a563[_0x10f650(0x132)],{'timeout':0x3e8*this[_0x10f650(0x117)][_0x10f650(0x112)][_0x10f650(0x10b)](_0x10f650(0x11e)),'requestTimeout':0x3e8*this[_0x10f650(0x117)][_0x10f650(0x112)][_0x10f650(0x10b)](_0x10f650(0x116))})[_0x10f650(0x10c)](_0xb1e343=>{const _0x45cb1e=_0x10f650;if(this[_0x45cb1e(0xfb)]=_0xb1e343,this[_0x45cb1e(0x13a)](_0x45cb1e(0x142))['to'](_0xb1e343,_0x45cb1e(0x142),this,_0x45cb1e(0x111),(_0x9a0e9c,_0x50b776)=>(_0x45cb1e(0x128)!==_0x9a0e9c&&(this[_0x45cb1e(0x137)]=!0x0),_0x50b776||_0x9a0e9c!==_0x2afe37[_0x45cb1e(0x120)]?_0x2afe37[_0x45cb1e(0x133)]:this[_0x45cb1e(0x142)]==_0x2afe37[_0x45cb1e(0x133)]&&this[_0x45cb1e(0x137)]?(this[_0x45cb1e(0x137)]=!0x1,this[_0x45cb1e(0x13d)](),_0x2afe37[_0x45cb1e(0x143)]):_0x2afe37[_0x45cb1e(0x120)])),this[_0x45cb1e(0xfb)]['on'](_0x45cb1e(0x12c),(_0x255f30,_0x59aca8)=>{const _0x4f549a=_0x45cb1e;if(_0x4f549a(0x10e)!==_0x59aca8[_0x4f549a(0x127)])throw console[_0x4f549a(0x12c)](_0x59aca8),new _0x2aeaa2(_0x4f549a(0x118),null,{'originalError':_0x59aca8});_0x1a1e83[_0x4f549a(0x10a)](_0x4f549a(0x107),{'title':_0x4f549a(0x126),'namespace':_0x4f549a(0x134)});}),!_0xb1e343['me'])return new Promise(_0x2250ca=>_0xb1e343['on'](_0x45cb1e(0x136),_0x2250ca));})[_0x10f650(0x11d)](_0x178f0a=>{const _0x22df5d=_0x10f650;throw console[_0x22df5d(0x12c)](_0x178f0a),new _0x2aeaa2(_0x22df5d(0x118),null,{'originalError':_0x178f0a});});}[_0x3fb5a8(0x101)](_0x4458ea){const _0x33ab21=_0x3fb5a8;if(_0x33ab21(0x123)!=typeof _0x4458ea[_0x33ab21(0x121)])throw new _0x2aeaa2(_0x33ab21(0x130),this);if(this[_0x33ab21(0xf9)](_0x4458ea))throw new _0x2aeaa2(_0x33ab21(0xfe),this,{'name':_0x4458ea[_0x33ab21(0x105)][_0x33ab21(0x131)]});this[_0x33ab21(0x11b)][_0x33ab21(0x12a)](_0x4458ea);}[_0x3fb5a8(0x12e)](_0x556f41){const _0x3bb99c=_0x3fb5a8;this[_0x3bb99c(0x11b)][_0x3bb99c(0x103)](_0x556f41);}[_0x3fb5a8(0xf9)](_0x4d55a4){const _0x4b4f8e=_0x3fb5a8;return this[_0x4b4f8e(0x11b)][_0x4b4f8e(0x115)](_0x4d55a4);}[_0x3fb5a8(0x13d)](){const _0x158b9d=_0x3fb5a8;return this[_0x158b9d(0xfb)][_0x158b9d(0x121)]()[_0x158b9d(0x10c)](()=>Promise[_0x158b9d(0xfd)](Array[_0x158b9d(0x12b)](this[_0x158b9d(0x11b)],_0x384d1d=>_0x384d1d[_0x158b9d(0x121)]())))[_0x158b9d(0x10c)](()=>this[_0x158b9d(0x142)]=_0x2afe37[_0x158b9d(0x120)])[_0x158b9d(0x11d)](_0x19fc5e=>{const _0x325f32=_0x158b9d;throw console[_0x325f32(0x12c)](_0x19fc5e),new _0x2aeaa2(_0x325f32(0x13c),this[_0x325f32(0x117)]);});}[_0x3fb5a8(0x140)](){const _0x5eb21d=_0x3fb5a8;this[_0x5eb21d(0xfb)]&&this[_0x5eb21d(0xfb)][_0x5eb21d(0x139)](),this[_0x5eb21d(0x142)]=_0x2afe37[_0x5eb21d(0x133)],this[_0x5eb21d(0x106)][_0x5eb21d(0x138)](),super[_0x5eb21d(0x140)]();}}function _0x3b43(_0x4a9192,_0x57a9a0){const _0x27a501=_0x27a5();return _0x3b43=function(_0x3b43fc,_0x40ca32){_0x3b43fc=_0x3b43fc-0xf8;let _0x262f5e=_0x27a501[_0x3b43fc];return _0x262f5e;},_0x3b43(_0x4a9192,_0x57a9a0);}c[_0x3fb5a8(0x109)]=_0x53111f,c[_0x3fb5a8(0x100)]=0x3e8;export default c;
23
+ const _0x3b2e6b=_0x1130;(function(_0x278619,_0x51ebe3){const _0x58523b=_0x1130,_0x2f2b62=_0x278619();while(!![]){try{const _0x2a6d7a=-parseInt(_0x58523b(0xd8))/0x1+-parseInt(_0x58523b(0xe9))/0x2*(parseInt(_0x58523b(0xe3))/0x3)+parseInt(_0x58523b(0xe0))/0x4*(-parseInt(_0x58523b(0xb6))/0x5)+parseInt(_0x58523b(0xad))/0x6+-parseInt(_0x58523b(0xc1))/0x7+-parseInt(_0x58523b(0xed))/0x8+parseInt(_0x58523b(0xf1))/0x9*(parseInt(_0x58523b(0xbe))/0xa);if(_0x2a6d7a===_0x51ebe3)break;else _0x2f2b62['push'](_0x2f2b62['shift']());}catch(_0xb10c98){_0x2f2b62['push'](_0x2f2b62['shift']());}}}(_0x129e,0xde25a));function _0x129e(){const _0x2ac185=['online','isPremiumPlugin','constructor','webSocketUrl','CONNECTING','all','cloudservices-reconnection-error','188dkoksA','code','config','2294673fUVUHd','delete','then','cloudServices.requestTimeout','addToReconnectionStack','offline','2vPbVVR','websocketgateway-invalid-plugin-interface','removeFromReconnectionStack','isInReconnectionStack','4072792cLPaLA','function','define','websocketgateway-plugin-already-registered','30999141XyKAxf','showWarning','_isBrowserOffline','from','get','create','catch','10489494CVdnpb','CloudServices','real-time-collaboration','Connected\x20users\x20limit\x20exceeded','has','_domEmitter','_reconnect','websocketgateway-missing-token','add','14075fgIhGB','WebSocketGateway','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','listenTo','state','CONNECTED','token','set','10DPHhxa','bind','pluginName','11047610NgTrSP','isOfficialPlugin','destroy','connection','stopListening','disconnect','change:me','initialReconnectionInterval','_shouldPluginsReconnect','reconnect','cloudservices-init','requires','error','init','cloudServices.connectionTimeout','_reconnectionStack','limitExceeded','plugins','websocketgateway-missing-websocket-url','context','connected','connect','DISCONNECTED','1298159uakHzh'];_0x129e=function(){return _0x2ac185;};return _0x129e();}import{ContextPlugin as _0x420690}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2f8454,CKEditorError as _0x13df8b}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x732288,WEB_SOCKET_GATEWAY_STATES as _0x190ced}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x2628a1}from'ckeditor5/src/ui.js';class c extends _0x420690{static get[_0x3b2e6b(0xcc)](){const _0x578107=_0x3b2e6b;return[_0x578107(0xae),_0x2628a1];}static get[_0x3b2e6b(0xc0)](){const _0x11e18e=_0x3b2e6b;return _0x11e18e(0xb7);}static get[_0x3b2e6b(0xc2)](){return!0x0;}static get[_0x3b2e6b(0xda)](){return!0x0;}constructor(_0xa645de){const _0x510dac=_0x3b2e6b;super(_0xa645de),this[_0x510dac(0xbd)](_0x510dac(0xba),_0x190ced[_0x510dac(0xbb)]),this[_0x510dac(0xbd)](_0x510dac(0xf3),!0x1),this[_0x510dac(0xd0)]=new Set(),this[_0x510dac(0xc9)]=!0x1,this[_0x510dac(0xb2)]=Object[_0x510dac(0xab)](_0x2f8454);}[_0x3b2e6b(0xce)](){const _0x1ee466=_0x3b2e6b,_0x3569d4=this[_0x1ee466(0xd4)],_0x44432c=_0x3569d4[_0x1ee466(0xd2)][_0x1ee466(0xf5)](_0x1ee466(0xae)),_0x566d83=_0x3569d4[_0x1ee466(0xd2)][_0x1ee466(0xf5)](_0x2628a1);if(!_0x44432c[_0x1ee466(0xbc)])throw new _0x13df8b(_0x1ee466(0xb4),this);if(!_0x44432c[_0x1ee466(0xdc)])throw new _0x13df8b(_0x1ee466(0xd3),this);return this[_0x1ee466(0xb2)][_0x1ee466(0xb9)](window,_0x1ee466(0xe8),()=>this[_0x1ee466(0xf3)]=!0x0),this[_0x1ee466(0xb2)][_0x1ee466(0xb9)](window,_0x1ee466(0xd9),()=>this[_0x1ee466(0xf3)]=!0x1),this[_0x1ee466(0xd4)][_0x1ee466(0xe2)][_0x1ee466(0xef)](_0x1ee466(0xcf),0xa),this[_0x1ee466(0xd4)][_0x1ee466(0xe2)][_0x1ee466(0xef)](_0x1ee466(0xe6),0x14),c[_0x1ee466(0xb7)][_0x1ee466(0xd6)](_0x44432c[_0x1ee466(0xbc)],_0x44432c[_0x1ee466(0xdc)],{'timeout':0x3e8*this[_0x1ee466(0xd4)][_0x1ee466(0xe2)][_0x1ee466(0xf5)](_0x1ee466(0xcf)),'requestTimeout':0x3e8*this[_0x1ee466(0xd4)][_0x1ee466(0xe2)][_0x1ee466(0xf5)](_0x1ee466(0xe6))})[_0x1ee466(0xe5)](_0x49bf3f=>{const _0x11dfad=_0x1ee466;if(this[_0x11dfad(0xc4)]=_0x49bf3f,this[_0x11dfad(0xbf)](_0x11dfad(0xba))['to'](_0x49bf3f,_0x11dfad(0xba),this,_0x11dfad(0xf3),(_0x325acf,_0x5210a8)=>(_0x11dfad(0xd5)!==_0x325acf&&(this[_0x11dfad(0xc9)]=!0x0),_0x5210a8||_0x325acf!==_0x190ced[_0x11dfad(0xbb)]?_0x190ced[_0x11dfad(0xd7)]:this[_0x11dfad(0xba)]==_0x190ced[_0x11dfad(0xd7)]&&this[_0x11dfad(0xc9)]?(this[_0x11dfad(0xc9)]=!0x1,this[_0x11dfad(0xb3)](),_0x190ced[_0x11dfad(0xdd)]):_0x190ced[_0x11dfad(0xbb)])),this[_0x11dfad(0xc4)]['on'](_0x11dfad(0xcd),(_0x1eadfa,_0x67ef0e)=>{const _0x306d69=_0x11dfad;if(_0x306d69(0xd1)!==_0x67ef0e[_0x306d69(0xe1)])throw console[_0x306d69(0xcd)](_0x67ef0e),new _0x13df8b(_0x306d69(0xcb),null,{'originalError':_0x67ef0e});_0x566d83[_0x306d69(0xf2)](_0x306d69(0xb8),{'title':_0x306d69(0xb0),'namespace':_0x306d69(0xaf)});}),!_0x49bf3f['me'])return new Promise(_0xbc8ba7=>_0x49bf3f['on'](_0x11dfad(0xc7),_0xbc8ba7));})[_0x1ee466(0xac)](_0xc7399a=>{const _0x4efe39=_0x1ee466;throw console[_0x4efe39(0xcd)](_0xc7399a),new _0x13df8b(_0x4efe39(0xcb),null,{'originalError':_0xc7399a});});}[_0x3b2e6b(0xe7)](_0x21a990){const _0x2b2603=_0x3b2e6b;if(_0x2b2603(0xee)!=typeof _0x21a990[_0x2b2603(0xca)])throw new _0x13df8b(_0x2b2603(0xea),this);if(this[_0x2b2603(0xec)](_0x21a990))throw new _0x13df8b(_0x2b2603(0xf0),this,{'name':_0x21a990[_0x2b2603(0xdb)][_0x2b2603(0xc0)]});this[_0x2b2603(0xd0)][_0x2b2603(0xb5)](_0x21a990);}[_0x3b2e6b(0xeb)](_0x312b13){const _0x531362=_0x3b2e6b;this[_0x531362(0xd0)][_0x531362(0xe4)](_0x312b13);}[_0x3b2e6b(0xec)](_0x80fcdc){const _0x36ec52=_0x3b2e6b;return this[_0x36ec52(0xd0)][_0x36ec52(0xb1)](_0x80fcdc);}[_0x3b2e6b(0xb3)](){const _0x59c937=_0x3b2e6b;return this[_0x59c937(0xc4)][_0x59c937(0xca)]()[_0x59c937(0xe5)](()=>Promise[_0x59c937(0xde)](Array[_0x59c937(0xf4)](this[_0x59c937(0xd0)],_0x243099=>_0x243099[_0x59c937(0xca)]())))[_0x59c937(0xe5)](()=>this[_0x59c937(0xba)]=_0x190ced[_0x59c937(0xbb)])[_0x59c937(0xac)](_0x4545e8=>{const _0xba7ebd=_0x59c937;throw console[_0xba7ebd(0xcd)](_0x4545e8),new _0x13df8b(_0xba7ebd(0xdf),this[_0xba7ebd(0xd4)]);});}[_0x3b2e6b(0xc3)](){const _0x1755ba=_0x3b2e6b;this[_0x1755ba(0xc4)]&&this[_0x1755ba(0xc4)][_0x1755ba(0xc6)](),this[_0x1755ba(0xba)]=_0x190ced[_0x1755ba(0xd7)],this[_0x1755ba(0xb2)][_0x1755ba(0xc5)](),super[_0x1755ba(0xc3)]();}}function _0x1130(_0x65dc08,_0x58534c){const _0x129e17=_0x129e();return _0x1130=function(_0x113034,_0x13263f){_0x113034=_0x113034-0xab;let _0x38b915=_0x129e17[_0x113034];return _0x38b915;},_0x1130(_0x65dc08,_0x58534c);}c[_0x3b2e6b(0xb7)]=_0x732288,c[_0x3b2e6b(0xc8)]=0x3e8;export default c;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b7ba3=_0x2f51;(function(_0x384ab5,_0x2ebbeb){const _0x276c60=_0x2f51,_0xfc449e=_0x384ab5();while(!![]){try{const _0x474570=-parseInt(_0x276c60(0xd8))/0x1*(parseInt(_0x276c60(0xe1))/0x2)+parseInt(_0x276c60(0x134))/0x3*(parseInt(_0x276c60(0x109))/0x4)+parseInt(_0x276c60(0x105))/0x5*(-parseInt(_0x276c60(0x13e))/0x6)+parseInt(_0x276c60(0x11f))/0x7*(-parseInt(_0x276c60(0x11c))/0x8)+-parseInt(_0x276c60(0x10a))/0x9*(parseInt(_0x276c60(0xf8))/0xa)+parseInt(_0x276c60(0x13f))/0xb*(parseInt(_0x276c60(0xd5))/0xc)+parseInt(_0x276c60(0x125))/0xd;if(_0x474570===_0x2ebbeb)break;else _0xfc449e['push'](_0xfc449e['shift']());}catch(_0x315c0c){_0xfc449e['push'](_0xfc449e['shift']());}}}(_0x3364,0xf21fa));import{Plugin as _0x220db3}from'ckeditor5/src/core.js';import{version as _0x3c0465}from'ckeditor5/src/utils.js';import{Users as _0x555304}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3dfbd1 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x38bd6c from'../realtimecollaborativeediting/websocketgateway.js';import _0x4d38a2 from'../realtimecollaborativeediting/sessions.js';function _0x2f51(_0x4cb39a,_0x3b0127){const _0x336483=_0x3364();return _0x2f51=function(_0x2f51c2,_0x5f4a53){_0x2f51c2=_0x2f51c2-0xd3;let _0x4ed8df=_0x336483[_0x2f51c2];return _0x4ed8df;},_0x2f51(_0x4cb39a,_0x3b0127);}import{EditorService as _0x5497a6,RevisionHistoryService as _0x23221e,User as _0x1ae3a2,WEB_SOCKET_GATEWAY_STATES as _0xfd2f18}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x220db3{static get[_0x1b7ba3(0xff)](){const _0x1eefb6=_0x1b7ba3;return[_0x38bd6c,_0x3dfbd1,_0x1eefb6(0xdf),_0x4d38a2,_0x555304];}static get[_0x1b7ba3(0x116)](){const _0x944de7=_0x1b7ba3;return _0x944de7(0x113);}static get[_0x1b7ba3(0xd7)](){return!0x0;}static get[_0x1b7ba3(0xe6)](){return!0x0;}constructor(_0x3b7cbb){const _0x3f615e=_0x1b7ba3;super(_0x3b7cbb);const _0x4c1993=this[_0x3f615e(0x103)][_0x3f615e(0xf6)][_0x3f615e(0xe5)](_0x3f615e(0x145));this[_0x3f615e(0x12e)]=null,this[_0x3f615e(0x115)]=this[_0x3f615e(0x103)][_0x3f615e(0x130)][_0x3f615e(0xe5)](_0x3f615e(0xdf)),this[_0x3f615e(0xd9)]=new u[(_0x3f615e(0xfc))](_0x4c1993);}async[_0x1b7ba3(0x147)](){const _0x18a543=_0x1b7ba3,_0x51cf49=this[_0x18a543(0x103)][_0x18a543(0x130)][_0x18a543(0xe5)](_0x3dfbd1),_0x45909e=_0x51cf49[_0x18a543(0xdc)],_0x44e4fe=this[_0x18a543(0x103)][_0x18a543(0x130)][_0x18a543(0xe5)](_0x38bd6c);this[_0x18a543(0x115)][_0x18a543(0x120)]({'history':_0x45909e,'getLatestVersion':()=>this[_0x18a543(0xf1)](),'getCurrentRevisionId':()=>_0x51cf49[_0x18a543(0x123)]});const _0x3566b4=this[_0x18a543(0x103)][_0x18a543(0xf6)][_0x18a543(0xe5)](_0x18a543(0x139))||_0x3c0465,_0x3d73c3=await _0x5497a6[_0x18a543(0xde)](_0x44e4fe[_0x18a543(0x136)],_0x3566b4);this[_0x18a543(0x115)][_0x18a543(0xf5)]={'getRevision':async({revisionId:_0x66dd86})=>(await this[_0x18a543(0xf9)](),await this[_0x18a543(0xd9)][_0x18a543(0x11e)](_0x66dd86)),'updateRevisions':async _0x222125=>{const _0x43fb74=_0x18a543;await this[_0x43fb74(0xf9)]();const _0x140fa6=this[_0x43fb74(0x115)][_0x43fb74(0xec)];if(_0x3d73c3&&0x1===_0x222125[_0x43fb74(0xee)]&&_0x222125[0x0]['id']===_0x140fa6['id'])return _0x222125;for(const _0x535444 of _0x222125)_0x535444['id']===_0x140fa6['id']&&(_0x535444[_0x43fb74(0xe3)]=_0x535444[_0x43fb74(0x12a)]===_0x535444[_0x43fb74(0x114)]);return this[_0x43fb74(0xd9)][_0x43fb74(0xd6)](_0x222125,this[_0x43fb74(0x12e)])[_0x43fb74(0x146)](_0x562a10=>(this[_0x43fb74(0x12e)]=_0x562a10,_0x222125))[_0x43fb74(0x10e)](_0x458ffb=>{const _0x5de251=_0x43fb74;if(st(_0x458ffb)||_0x5de251(0xd3)===_0x458ffb[_0x5de251(0x122)]&&void 0x0!==_0x458ffb[_0x5de251(0x13c)][_0x5de251(0x129)]){for(const _0xd7a282 of _0x222125){!this[_0x5de251(0x115)][_0x5de251(0xd4)][_0x5de251(0x11e)](_0xd7a282['id'])||this[_0x5de251(0x115)][_0x5de251(0x11a)](_0xd7a282['id'],_0xd7a282,!0x1);}if(st(_0x458ffb))throw _0x458ffb;return _0x222125;}throw _0x458ffb;});}},this[_0x18a543(0x10c)](this[_0x18a543(0xd9)],_0x18a543(0x133),(_0x3022ec,{revisionsData:_0x3386c8,requestId:_0x453dc8})=>{const _0x36966b=_0x18a543;Math[_0x36966b(0xef)](..._0x3386c8[_0x36966b(0x124)](_0x24d276=>_0x24d276[_0x36966b(0x114)]))>this[_0x36966b(0xf0)]()-0x1?this[_0x36966b(0xf1)]()[_0x36966b(0x146)](()=>{const _0x13d48b=_0x36966b;this[_0x13d48b(0x100)](_0x3386c8,_0x453dc8);}):this[_0x36966b(0x100)](_0x3386c8,_0x453dc8);});const {revisions:_0x39376d,requestId:_0x2beed7}=await this[_0x18a543(0xd9)][_0x18a543(0x13d)](_0x44e4fe[_0x18a543(0x136)]);_0x44e4fe[_0x18a543(0xda)](this),this[_0x18a543(0x12e)]=_0x2beed7,await this[_0x18a543(0x12c)](_0x39376d);for(const _0x1b4009 of _0x39376d)this[_0x18a543(0x115)][_0x18a543(0xea)](_0x1b4009);this[_0x18a543(0x10c)](_0x51cf49,_0x18a543(0x111),(_0x57efd3,_0x1c8ae1,_0x284701)=>{const _0x2099b8=_0x18a543;_0x284701&&(this[_0x2099b8(0xed)]=_0x51cf49[_0x2099b8(0x10b)],_0x57efd3[_0x2099b8(0x13a)]());}),this[_0x18a543(0x115)][_0x18a543(0x128)](_0x18a543(0x144))['to'](_0x44e4fe,_0x18a543(0xeb),_0x3998ab=>_0x3998ab===_0xfd2f18[_0x18a543(0x10f)]);}async[_0x1b7ba3(0x102)](){const _0x4ce421=_0x1b7ba3,_0x4ffdd7=this[_0x4ce421(0x103)][_0x4ce421(0x130)][_0x4ce421(0xe5)](_0x38bd6c),_0x506569=this[_0x4ce421(0x103)][_0x4ce421(0x130)][_0x4ce421(0xe5)](_0x3dfbd1),_0x283b1d=async()=>{const _0x1be447=_0x4ce421,_0x300356=this[_0x1be447(0x115)][_0x1be447(0xec)],_0x1efb77=_0x300356['id'],_0x47c5d7=_0x1efb77!==_0x506569[_0x1be447(0x123)];if(_0x47c5d7){const _0x38c720=_0x506569[_0x1be447(0x10b)]-this[_0x1be447(0xed)],_0x2bbb4f=this[_0x1be447(0xf0)]();this[_0x1be447(0x115)][_0x1be447(0x119)][_0x1be447(0x11d)]();if(_0x300356[_0x1be447(0x114)]+_0x38c720!==_0x2bbb4f){const _0x2a9b06=_0x300356[_0x1be447(0x12a)]+_0x38c720,_0x1c1f88=this[_0x1be447(0x103)][_0x1be447(0x130)][_0x1be447(0xe5)](_0x555304),_0xaea07b=this[_0x1be447(0x115)][_0x1be447(0x104)]({'revision':_0x300356,'from':_0x2a9b06,'to':_0x2bbb4f});_0xaea07b['id']=_0x300356['id'];const _0x2dd828=_0xaea07b[_0x1be447(0x13b)][_0x1be447(0x124)](_0x5d9182=>_0x1c1f88[_0x1be447(0xe8)](_0x5d9182));_0x300356[_0x1be447(0x12f)]({..._0xaea07b,'authors':_0x2dd828},!0x0),this[_0x1be447(0x115)][_0x1be447(0x11a)](_0x300356['id'],_0xaea07b,!0x0);}this[_0x1be447(0x115)][_0x1be447(0xfe)]=_0x2bbb4f,(_0x300356[_0x1be447(0x114)]===_0x300356[_0x1be447(0x12a)]&&!this[_0x1be447(0x115)][_0x1be447(0x118)][_0x1be447(0x143)](_0x1efb77)&&this[_0x1be447(0x115)][_0x1be447(0xd4)][_0x1be447(0x12d)][_0x1be447(0x135)](_0x1efb77),this[_0x1be447(0x115)][_0x1be447(0x148)](_0x2bbb4f));}const {revisions:_0x33d721,requestId:_0x5854ec}=await this[_0x1be447(0xd9)][_0x1be447(0x102)](_0x4ffdd7[_0x1be447(0x136)],this[_0x1be447(0x12e)]);_0x47c5d7&&_0x33d721[_0x1be447(0xee)]>0x0?_0x506569[_0x1be447(0xdb)]():(await this[_0x1be447(0x12c)](_0x33d721),this[_0x1be447(0x100)](_0x33d721,_0x5854ec),this[_0x1be447(0x115)][_0x1be447(0xe9)]());};return _0x506569[_0x4ce421(0x138)]?_0x283b1d():new Promise((_0x3b503c,_0x390117)=>{const _0x3661fc=_0x4ce421;_0x506569[_0x3661fc(0x110)](_0x3661fc(0x111),()=>{const _0x24e1c2=_0x3661fc;_0x283b1d()[_0x24e1c2(0x146)](_0x3b503c)[_0x24e1c2(0x10e)](_0x390117);});});}[_0x1b7ba3(0x11b)](){const _0x3f41ac=_0x1b7ba3;super[_0x3f41ac(0x11b)]();}async[_0x1b7ba3(0xf9)](){const _0x4f00fd=_0x1b7ba3;this[_0x4f00fd(0xd9)][_0x4f00fd(0xe7)]||await new Promise(_0x16c8b9=>{const _0x4841bc=_0x4f00fd;this[_0x4841bc(0x10c)](this[_0x4841bc(0xd9)],_0x4841bc(0x10d),_0x4fc4e8=>{const _0x462054=_0x4841bc;_0x4fc4e8[_0x462054(0x13a)](),_0x16c8b9();});});}[_0x1b7ba3(0xf0)](){const _0x56e226=_0x1b7ba3,_0x245447=this[_0x56e226(0x103)][_0x56e226(0x130)][_0x56e226(0xe5)](_0x3dfbd1)[_0x56e226(0xdc)][_0x56e226(0x12b)]()[_0x56e226(0x132)]();for(const _0x3679b3 of _0x245447)if(_0x56e226(0xfb)!==_0x3679b3[_0x56e226(0x141)]||_0x3679b3[_0x56e226(0xfa)])return _0x3679b3[_0x56e226(0x101)]+0x1;}[_0x1b7ba3(0xf1)](){const _0x4c6702=_0x1b7ba3,_0x52df95=this[_0x4c6702(0x103)][_0x4c6702(0x130)][_0x4c6702(0xe5)](_0x3dfbd1);return new Promise(_0x3615fd=>{const _0x5599fb=_0x4c6702;_0x52df95[_0x5599fb(0xe0)]?_0x52df95[_0x5599fb(0x110)](_0x5599fb(0xe4),()=>{const _0x37a3c8=_0x5599fb;_0x3615fd(this[_0x37a3c8(0xf0)]());}):_0x3615fd(this[_0x5599fb(0xf0)]());});}[_0x1b7ba3(0x100)](_0xc5f0b8,_0x316f12){const _0x4157a=_0x1b7ba3,_0x753618=this[_0x4157a(0x115)][_0x4157a(0xd4)];this[_0x4157a(0x12e)]=_0x316f12;for(const _0x1cb7c1 of _0xc5f0b8){const _0x4c0912=_0x753618[_0x4157a(0x11e)](_0x1cb7c1['id']);if(_0x4c0912){if((_0x1cb7c1[_0x4157a(0x12a)]||_0x1cb7c1[_0x4157a(0x114)])&&(_0x1cb7c1[_0x4157a(0x108)]=null),_0x4c0912===this[_0x4157a(0x115)][_0x4157a(0xec)]){const _0x3f6fdb=Math[_0x4157a(0xef)](_0x4c0912[_0x4157a(0x114)],_0x1cb7c1[_0x4157a(0x114)]),_0x53297e=Math[_0x4157a(0xef)](_0x4c0912[_0x4157a(0x12a)],_0x1cb7c1[_0x4157a(0x12a)]);let _0x4da9c5;_0x4c0912[_0x4157a(0x114)]===_0x1cb7c1[_0x4157a(0x114)]&&_0x4c0912[_0x4157a(0x12a)]===_0x1cb7c1[_0x4157a(0x12a)]?(_0x4da9c5=!0x0,this[_0x4157a(0x117)](_0x1cb7c1)):_0x1cb7c1[_0x4157a(0x114)]===_0x3f6fdb&&_0x1cb7c1[_0x4157a(0x12a)]===_0x53297e?_0x4da9c5=!0x1:(_0x4c0912[_0x4157a(0x114)]===_0x3f6fdb&&_0x4c0912[_0x4157a(0x12a)]===_0x53297e||this[_0x4157a(0x121)]({'revision':_0x4c0912,'from':_0x53297e,'to':_0x3f6fdb}),_0x4da9c5=!0x0),_0x4da9c5&&(delete _0x1cb7c1[_0x4157a(0x12a)],delete _0x1cb7c1[_0x4157a(0x114)],delete _0x1cb7c1[_0x4157a(0x108)],delete _0x1cb7c1[_0x4157a(0x112)],delete _0x1cb7c1[_0x4157a(0x13b)]);}this[_0x4157a(0x115)][_0x4157a(0x142)](_0x1cb7c1),this[_0x4157a(0x117)](_0x1cb7c1);}else this[_0x4157a(0x115)][_0x4157a(0xea)](_0x1cb7c1);}const _0x316b58=_0x753618[_0x4157a(0x140)]();_0x316b58[_0x4157a(0x132)]();for(let _0x7d4d7f=0x0;_0x7d4d7f<_0x316b58[_0x4157a(0xee)]-0x1;_0x7d4d7f++){const _0x2853e2=_0x316b58[_0x7d4d7f],_0x562051=_0x316b58[_0x7d4d7f+0x1];if(_0x2853e2[_0x4157a(0x12a)]<_0x562051[_0x4157a(0x114)]){const _0x21dca8=_0x562051[_0x4157a(0x114)],_0x3c00ac=Math[_0x4157a(0xef)](_0x21dca8,_0x2853e2[_0x4157a(0x114)]);this[_0x4157a(0x121)]({'revision':_0x2853e2,'from':_0x21dca8,'to':_0x3c00ac});}}}[_0x1b7ba3(0x121)]({revision:_0x4da243,from:_0x24f495,to:_0x3b8ed7}={}){const _0x2c44c7=_0x1b7ba3,_0x2a67c3=this[_0x2c44c7(0x103)][_0x2c44c7(0x130)][_0x2c44c7(0xe5)](_0x555304),_0x57f6e3=this[_0x2c44c7(0x115)][_0x2c44c7(0x104)]({'revision':_0x4da243,'from':_0x24f495,'to':_0x3b8ed7});_0x57f6e3[_0x2c44c7(0xf3)]=_0x57f6e3[_0x2c44c7(0x13b)][_0x2c44c7(0x124)](_0x4c3546=>_0x2a67c3[_0x2c44c7(0xe8)](_0x4c3546)),_0x4da243[_0x2c44c7(0x12f)](_0x57f6e3);}[_0x1b7ba3(0x117)](_0x36272a){const _0x1622e0=_0x1b7ba3,_0x3f5bf3={};_0x3f5bf3['id']=_0x36272a['id'];for(const _0x5b08bd of Object[_0x1622e0(0xdd)](_0x36272a))'id'!==_0x5b08bd&&(_0x3f5bf3[_0x5b08bd]=void 0x0);this[_0x1622e0(0x115)][_0x1622e0(0x11a)](_0x3f5bf3['id'],_0x3f5bf3,!0x0);}async[_0x1b7ba3(0x12c)](_0x15ce33){const _0x5c1f51=_0x1b7ba3,_0x2b2ede=this[_0x5c1f51(0x103)][_0x5c1f51(0x130)][_0x5c1f51(0xe5)](_0x555304),{connection:_0x1cff35}=this[_0x5c1f51(0x103)][_0x5c1f51(0x130)][_0x5c1f51(0xe5)](_0x38bd6c),_0x386259=new Set();for(const _0x1606ff of _0x15ce33){for(const _0x96cf32 of _0x1606ff[_0x5c1f51(0x13b)])_0x508174(_0x96cf32);_0x1606ff[_0x5c1f51(0xfd)]&&_0x508174(_0x1606ff[_0x5c1f51(0xfd)]);}if(0x0===_0x386259[_0x5c1f51(0x126)])return;const _0xcbcd6f=await _0x1ae3a2[_0x5c1f51(0xe2)](_0x1cff35,Array[_0x5c1f51(0x131)](_0x386259));for(const _0x36c956 of _0xcbcd6f)_0x2b2ede[_0x5c1f51(0xe8)](_0x36c956['id'])||_0x2b2ede[_0x5c1f51(0x107)](_0x36c956);function _0x508174(_0x28c0d6){const _0x2978f6=_0x5c1f51;_0x2b2ede[_0x2978f6(0xe8)](_0x28c0d6)||_0x386259[_0x2978f6(0xf7)](_0x28c0d6);}}}u[_0x1b7ba3(0xfc)]=_0x23221e;export default u;function _0x3364(){const _0x4a9924=['_preventResendingRevisionData','_bufferedUpdates','_revisionDataBuilder','_bufferUpdate','destroy','8MnBOkz','reInit','getRevision','3892721ikreac','setSource','_fixRevision','code','sessionId','map','1501448wQbFMC','size','cloud-services-internal-error:\x20Not\x20connected.','bind','wrongRequestId','fromVersion','getOperations','_fetchMissingUsers','_revisions','_lastRequestId','_update','plugins','from','reverse','revisionsUpdated','518253RBGHCh','remove','connection','cloud-services-internal-error:\x20Request\x20timeout.','_isConnected','cloudServices.bundleVersion','off','authorsIds','data','connect','174pDVquy','20933495afYQbY','getRevisions','type','setRevisionData','has','isEnabled','collaboration.channelId','then','init','_createCurrentRevision','400','repository','12RMCDfX','updateRevisions','isOfficialPlugin','81RgIVra','_revisionHistoryService','addToReconnectionStack','_handleReconnectionError','serverHistory','keys','isBundleUploaded','RevisionTracker','_isPendingUpdate','21254KELlkI','getMany','isEmptyCurrent','change:_isPendingUpdate','get','isPremiumPlugin','isConnected','getUser','sendBufferedUpdates','addRevisionData','state','currentRevision','_oldOffset','length','max','_getLatestVersionFromServerOperations','_getLatestVersion','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','authors','startsWith','adapter','config','add','10qtNpmU','_waitForServiceReady','affectsData','marker','RevisionHistoryService','creatorId','_startingVersion','requires','_handleRevisionsUpdate','baseVersion','reconnect','editor','buildRevisionData','29335ZjqeYN','message','addUser','diffData','28VGkhBh','5841243wdwpqT','_offset','listenTo','connected','catch','CONNECTED','once','change:_isConnected','createdAt','CloudServicesRevisionHistoryAdapter','toVersion','_revisionTracker','pluginName'];_0x3364=function(){return _0x4a9924;};return _0x3364();}function st(_0x3b90e2){const _0x217c00=_0x1b7ba3;return _0x3b90e2[_0x217c00(0x106)][_0x217c00(0xf4)](_0x217c00(0xf2))||_0x3b90e2[_0x217c00(0x106)][_0x217c00(0xf4)](_0x217c00(0x127))||_0x3b90e2[_0x217c00(0x106)][_0x217c00(0xf4)](_0x217c00(0x137));}
23
+ function _0x295b(_0x2c060e,_0x2c1ed5){const _0x50eb3f=_0x50eb();return _0x295b=function(_0x295b0f,_0x5eac67){_0x295b0f=_0x295b0f-0x133;let _0x240460=_0x50eb3f[_0x295b0f];return _0x240460;},_0x295b(_0x2c060e,_0x2c1ed5);}const _0x1cd21d=_0x295b;(function(_0x466ecd,_0x5dbb57){const _0x417786=_0x295b,_0x29d93f=_0x466ecd();while(!![]){try{const _0x35ca31=parseInt(_0x417786(0x199))/0x1*(parseInt(_0x417786(0x17e))/0x2)+parseInt(_0x417786(0x168))/0x3*(parseInt(_0x417786(0x14f))/0x4)+parseInt(_0x417786(0x158))/0x5+-parseInt(_0x417786(0x142))/0x6*(-parseInt(_0x417786(0x146))/0x7)+parseInt(_0x417786(0x1a5))/0x8+-parseInt(_0x417786(0x1a2))/0x9*(parseInt(_0x417786(0x1a4))/0xa)+parseInt(_0x417786(0x155))/0xb*(-parseInt(_0x417786(0x183))/0xc);if(_0x35ca31===_0x5dbb57)break;else _0x29d93f['push'](_0x29d93f['shift']());}catch(_0x36f82e){_0x29d93f['push'](_0x29d93f['shift']());}}}(_0x50eb,0x1bcd9));import{Plugin as _0x354836}from'ckeditor5/src/core.js';import{version as _0x44cfa4}from'ckeditor5/src/utils.js';import{Users as _0x1c326c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x50eb(){const _0x40fa8b=['has','keys','from','connected','_getLatestVersionFromServerOperations','toVersion','buildRevisionData','_bufferedUpdates','_fixRevision','then','wrongRequestId','reInit','authors','cloud-services-internal-error:\x20Not\x20connected.','RevisionTracker','getOperations','destroy','16TqrYVu','_update','isEmptyCurrent','CONNECTED','_lastRequestId','2207388DSwuLA','_revisions','_isPendingUpdate','marker','getRevisions','currentRevision','_waitForServiceReady','RevisionHistoryService','isPremiumPlugin','bind','get','_handleRevisionsUpdate','cloud-services-internal-error:\x20Request\x20timeout.','requires','repository','baseVersion','data','_bufferUpdate','message','diffData','remove','adapter','23429jtVmjU','code','isOfficialPlugin','cloudServices.bundleVersion','change:_isPendingUpdate','getMany','_revisionHistoryService','connection','isEnabled','8514BzfXnK','addUser','1290NcSmzq','832128yKroFQ','_getLatestVersion','once','off','_fetchMissingUsers','pluginName','_preventResendingRevisionData','isConnected','_isConnected','editor','_revisionDataBuilder','fromVersion','addRevisionData','reconnect','CloudServicesRevisionHistoryAdapter','listenTo','addToReconnectionStack','max','36DwyvCE','change:_isConnected','getUser','config','67270zaoerY','isBundleUploaded','_startingVersion','serverHistory','_oldOffset','plugins','reverse','sendBufferedUpdates','creatorId','12VsHgNF','startsWith','setRevisionData','state','sessionId','add','11gSBIDd','_handleReconnectionError','updateRevisions','25610VnZOIV','type','_createCurrentRevision','affectsData','init','_offset','createdAt','getRevision','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','map','size','revisionsUpdated','catch','connect','authorsIds','length','65634xLlOGf','collaboration.channelId','setSource','400','_revisionTracker'];_0x50eb=function(){return _0x40fa8b;};return _0x50eb();}import _0x333893 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x48a315 from'../realtimecollaborativeediting/websocketgateway.js';import _0x594359 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x4295f3,RevisionHistoryService as _0x534f7d,User as _0x341005,WEB_SOCKET_GATEWAY_STATES as _0xd312d2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x354836{static get[_0x1cd21d(0x190)](){const _0x2d2cf6=_0x1cd21d;return[_0x48a315,_0x333893,_0x2d2cf6(0x17b),_0x594359,_0x1c326c];}static get[_0x1cd21d(0x135)](){const _0x32da15=_0x1cd21d;return _0x32da15(0x13e);}static get[_0x1cd21d(0x19b)](){return!0x0;}static get[_0x1cd21d(0x18b)](){return!0x0;}constructor(_0x41895b){const _0xb9f95c=_0x1cd21d;super(_0x41895b);const _0x1c7b45=this[_0xb9f95c(0x139)][_0xb9f95c(0x145)][_0xb9f95c(0x18d)](_0xb9f95c(0x169));this[_0xb9f95c(0x182)]=null,this[_0xb9f95c(0x16c)]=this[_0xb9f95c(0x139)][_0xb9f95c(0x14b)][_0xb9f95c(0x18d)](_0xb9f95c(0x17b)),this[_0xb9f95c(0x19f)]=new u[(_0xb9f95c(0x18a))](_0x1c7b45);}async[_0x1cd21d(0x15c)](){const _0x44b18b=_0x1cd21d,_0x5bda18=this[_0x44b18b(0x139)][_0x44b18b(0x14b)][_0x44b18b(0x18d)](_0x333893),_0x5670e3=_0x5bda18[_0x44b18b(0x149)],_0x5b5715=this[_0x44b18b(0x139)][_0x44b18b(0x14b)][_0x44b18b(0x18d)](_0x48a315);this[_0x44b18b(0x16c)][_0x44b18b(0x16a)]({'history':_0x5670e3,'getLatestVersion':()=>this[_0x44b18b(0x1a6)](),'getCurrentRevisionId':()=>_0x5bda18[_0x44b18b(0x153)]});const _0x601045=this[_0x44b18b(0x139)][_0x44b18b(0x145)][_0x44b18b(0x18d)](_0x44b18b(0x19c))||_0x44cfa4,_0x125b75=await _0x4295f3[_0x44b18b(0x147)](_0x5b5715[_0x44b18b(0x1a0)],_0x601045);this[_0x44b18b(0x16c)][_0x44b18b(0x198)]={'getRevision':async({revisionId:_0x18f021})=>(await this[_0x44b18b(0x189)](),await this[_0x44b18b(0x19f)][_0x44b18b(0x15f)](_0x18f021)),'updateRevisions':async _0x10cdd1=>{const _0x281917=_0x44b18b;await this[_0x281917(0x189)]();const _0x40374f=this[_0x281917(0x16c)][_0x281917(0x188)];if(_0x125b75&&0x1===_0x10cdd1[_0x281917(0x167)]&&_0x10cdd1[0x0]['id']===_0x40374f['id'])return _0x10cdd1;for(const _0x46c4c6 of _0x10cdd1)_0x46c4c6['id']===_0x40374f['id']&&(_0x46c4c6[_0x281917(0x180)]=_0x46c4c6[_0x281917(0x13b)]===_0x46c4c6[_0x281917(0x172)]);return this[_0x281917(0x19f)][_0x281917(0x157)](_0x10cdd1,this[_0x281917(0x182)])[_0x281917(0x176)](_0x3ff84a=>(this[_0x281917(0x182)]=_0x3ff84a,_0x10cdd1))[_0x281917(0x164)](_0x109a00=>{const _0x44825e=_0x281917;if(rt(_0x109a00)||_0x44825e(0x16b)===_0x109a00[_0x44825e(0x19a)]&&void 0x0!==_0x109a00[_0x44825e(0x193)][_0x44825e(0x177)]){for(const _0x3dde8a of _0x10cdd1){!this[_0x44825e(0x16c)][_0x44825e(0x191)][_0x44825e(0x15f)](_0x3dde8a['id'])||this[_0x44825e(0x16c)][_0x44825e(0x194)](_0x3dde8a['id'],_0x3dde8a,!0x1);}if(rt(_0x109a00))throw _0x109a00;return _0x10cdd1;}throw _0x109a00;});}},this[_0x44b18b(0x13f)](this[_0x44b18b(0x19f)],_0x44b18b(0x163),(_0xd520c2,{revisionsData:_0x5da4b1,requestId:_0x182fd8})=>{const _0x14e6e7=_0x44b18b;Math[_0x14e6e7(0x141)](..._0x5da4b1[_0x14e6e7(0x161)](_0x4e78a7=>_0x4e78a7[_0x14e6e7(0x172)]))>this[_0x14e6e7(0x171)]()-0x1?this[_0x14e6e7(0x1a6)]()[_0x14e6e7(0x176)](()=>{const _0x1675eb=_0x14e6e7;this[_0x1675eb(0x18e)](_0x5da4b1,_0x182fd8);}):this[_0x14e6e7(0x18e)](_0x5da4b1,_0x182fd8);});const {revisions:_0x4a19eb,requestId:_0x104592}=await this[_0x44b18b(0x19f)][_0x44b18b(0x165)](_0x5b5715[_0x44b18b(0x1a0)]);_0x5b5715[_0x44b18b(0x140)](this),this[_0x44b18b(0x182)]=_0x104592,await this[_0x44b18b(0x134)](_0x4a19eb);for(const _0x29b6d1 of _0x4a19eb)this[_0x44b18b(0x16c)][_0x44b18b(0x13c)](_0x29b6d1);this[_0x44b18b(0x13f)](_0x5bda18,_0x44b18b(0x143),(_0x2529b5,_0x1c1de9,_0x131ac2)=>{const _0x15fb1c=_0x44b18b;_0x131ac2&&(this[_0x15fb1c(0x14a)]=_0x5bda18[_0x15fb1c(0x15d)],_0x2529b5[_0x15fb1c(0x133)]());}),this[_0x44b18b(0x16c)][_0x44b18b(0x18c)](_0x44b18b(0x1a1))['to'](_0x5b5715,_0x44b18b(0x152),_0x498f20=>_0x498f20===_0xd312d2[_0x44b18b(0x181)]);}async[_0x1cd21d(0x13d)](){const _0x157326=_0x1cd21d,_0x383314=this[_0x157326(0x139)][_0x157326(0x14b)][_0x157326(0x18d)](_0x48a315),_0x321658=this[_0x157326(0x139)][_0x157326(0x14b)][_0x157326(0x18d)](_0x333893),_0x15218a=async()=>{const _0x422665=_0x157326,_0x14bdf8=this[_0x422665(0x16c)][_0x422665(0x188)],_0x3c1966=_0x14bdf8['id'],_0x456ec2=_0x3c1966!==_0x321658[_0x422665(0x153)];if(_0x456ec2){const _0x16aed8=_0x321658[_0x422665(0x15d)]-this[_0x422665(0x14a)],_0x199529=this[_0x422665(0x171)]();this[_0x422665(0x16c)][_0x422665(0x13a)][_0x422665(0x178)]();if(_0x14bdf8[_0x422665(0x172)]+_0x16aed8!==_0x199529){const _0x8d3198=_0x14bdf8[_0x422665(0x13b)]+_0x16aed8,_0x443d53=this[_0x422665(0x139)][_0x422665(0x14b)][_0x422665(0x18d)](_0x1c326c),_0x5a8a23=this[_0x422665(0x16c)][_0x422665(0x173)]({'revision':_0x14bdf8,'from':_0x8d3198,'to':_0x199529});_0x5a8a23['id']=_0x14bdf8['id'];const _0x3e0efb=_0x5a8a23[_0x422665(0x166)][_0x422665(0x161)](_0x2b00a9=>_0x443d53[_0x422665(0x144)](_0x2b00a9));_0x14bdf8[_0x422665(0x17f)]({..._0x5a8a23,'authors':_0x3e0efb},!0x0),this[_0x422665(0x16c)][_0x422665(0x194)](_0x14bdf8['id'],_0x5a8a23,!0x0);}this[_0x422665(0x16c)][_0x422665(0x148)]=_0x199529,(_0x14bdf8[_0x422665(0x172)]===_0x14bdf8[_0x422665(0x13b)]&&!this[_0x422665(0x16c)][_0x422665(0x174)][_0x422665(0x16d)](_0x3c1966)&&this[_0x422665(0x16c)][_0x422665(0x191)][_0x422665(0x184)][_0x422665(0x197)](_0x3c1966),this[_0x422665(0x16c)][_0x422665(0x15a)](_0x199529));}const {revisions:_0x13997e,requestId:_0x4c5887}=await this[_0x422665(0x19f)][_0x422665(0x13d)](_0x383314[_0x422665(0x1a0)],this[_0x422665(0x182)]);_0x456ec2&&_0x13997e[_0x422665(0x167)]>0x0?_0x321658[_0x422665(0x156)]():(await this[_0x422665(0x134)](_0x13997e),this[_0x422665(0x18e)](_0x13997e,_0x4c5887),this[_0x422665(0x16c)][_0x422665(0x14d)]());};return _0x321658[_0x157326(0x138)]?_0x15218a():new Promise((_0x541ab3,_0x181c77)=>{const _0xbaa9cc=_0x157326;_0x321658[_0xbaa9cc(0x1a7)](_0xbaa9cc(0x143),()=>{const _0x313e61=_0xbaa9cc;_0x15218a()[_0x313e61(0x176)](_0x541ab3)[_0x313e61(0x164)](_0x181c77);});});}[_0x1cd21d(0x17d)](){const _0x36b3ba=_0x1cd21d;super[_0x36b3ba(0x17d)]();}async[_0x1cd21d(0x189)](){const _0x3f906f=_0x1cd21d;this[_0x3f906f(0x19f)][_0x3f906f(0x137)]||await new Promise(_0x520a89=>{const _0xf58f00=_0x3f906f;this[_0xf58f00(0x13f)](this[_0xf58f00(0x19f)],_0xf58f00(0x170),_0x2b40e3=>{const _0x4f2aae=_0xf58f00;_0x2b40e3[_0x4f2aae(0x133)](),_0x520a89();});});}[_0x1cd21d(0x171)](){const _0x2a8d60=_0x1cd21d,_0x3e1818=this[_0x2a8d60(0x139)][_0x2a8d60(0x14b)][_0x2a8d60(0x18d)](_0x333893)[_0x2a8d60(0x149)][_0x2a8d60(0x17c)]()[_0x2a8d60(0x14c)]();for(const _0x460196 of _0x3e1818)if(_0x2a8d60(0x186)!==_0x460196[_0x2a8d60(0x159)]||_0x460196[_0x2a8d60(0x15b)])return _0x460196[_0x2a8d60(0x192)]+0x1;}[_0x1cd21d(0x1a6)](){const _0x1d436e=_0x1cd21d,_0x139b64=this[_0x1d436e(0x139)][_0x1d436e(0x14b)][_0x1d436e(0x18d)](_0x333893);return new Promise(_0x121898=>{const _0x3983cc=_0x1d436e;_0x139b64[_0x3983cc(0x185)]?_0x139b64[_0x3983cc(0x1a7)](_0x3983cc(0x19d),()=>{const _0x1fbb49=_0x3983cc;_0x121898(this[_0x1fbb49(0x171)]());}):_0x121898(this[_0x3983cc(0x171)]());});}[_0x1cd21d(0x18e)](_0x11015c,_0x371056){const _0x25259f=_0x1cd21d,_0x1dd1f6=this[_0x25259f(0x16c)][_0x25259f(0x191)];this[_0x25259f(0x182)]=_0x371056;for(const _0x4e4b7e of _0x11015c){const _0x441d5b=_0x1dd1f6[_0x25259f(0x15f)](_0x4e4b7e['id']);if(_0x441d5b){if((_0x4e4b7e[_0x25259f(0x13b)]||_0x4e4b7e[_0x25259f(0x172)])&&(_0x4e4b7e[_0x25259f(0x196)]=null),_0x441d5b===this[_0x25259f(0x16c)][_0x25259f(0x188)]){const _0x57cb55=Math[_0x25259f(0x141)](_0x441d5b[_0x25259f(0x172)],_0x4e4b7e[_0x25259f(0x172)]),_0x47cc28=Math[_0x25259f(0x141)](_0x441d5b[_0x25259f(0x13b)],_0x4e4b7e[_0x25259f(0x13b)]);let _0x3397f4;_0x441d5b[_0x25259f(0x172)]===_0x4e4b7e[_0x25259f(0x172)]&&_0x441d5b[_0x25259f(0x13b)]===_0x4e4b7e[_0x25259f(0x13b)]?(_0x3397f4=!0x0,this[_0x25259f(0x136)](_0x4e4b7e)):_0x4e4b7e[_0x25259f(0x172)]===_0x57cb55&&_0x4e4b7e[_0x25259f(0x13b)]===_0x47cc28?_0x3397f4=!0x1:(_0x441d5b[_0x25259f(0x172)]===_0x57cb55&&_0x441d5b[_0x25259f(0x13b)]===_0x47cc28||this[_0x25259f(0x175)]({'revision':_0x441d5b,'from':_0x47cc28,'to':_0x57cb55}),_0x3397f4=!0x0),_0x3397f4&&(delete _0x4e4b7e[_0x25259f(0x13b)],delete _0x4e4b7e[_0x25259f(0x172)],delete _0x4e4b7e[_0x25259f(0x196)],delete _0x4e4b7e[_0x25259f(0x15e)],delete _0x4e4b7e[_0x25259f(0x166)]);}this[_0x25259f(0x16c)][_0x25259f(0x151)](_0x4e4b7e),this[_0x25259f(0x136)](_0x4e4b7e);}else this[_0x25259f(0x16c)][_0x25259f(0x13c)](_0x4e4b7e);}const _0x48d02a=_0x1dd1f6[_0x25259f(0x187)]();_0x48d02a[_0x25259f(0x14c)]();for(let _0x5ec9d4=0x0;_0x5ec9d4<_0x48d02a[_0x25259f(0x167)]-0x1;_0x5ec9d4++){const _0x4e9d7c=_0x48d02a[_0x5ec9d4],_0x2917b4=_0x48d02a[_0x5ec9d4+0x1];if(_0x4e9d7c[_0x25259f(0x13b)]<_0x2917b4[_0x25259f(0x172)]){const _0x55323b=_0x2917b4[_0x25259f(0x172)],_0x40ef22=Math[_0x25259f(0x141)](_0x55323b,_0x4e9d7c[_0x25259f(0x172)]);this[_0x25259f(0x175)]({'revision':_0x4e9d7c,'from':_0x55323b,'to':_0x40ef22});}}}[_0x1cd21d(0x175)]({revision:_0x314467,from:_0x20cda4,to:_0x2a4a9d}={}){const _0x5813bf=_0x1cd21d,_0x5c3af5=this[_0x5813bf(0x139)][_0x5813bf(0x14b)][_0x5813bf(0x18d)](_0x1c326c),_0x6b4f81=this[_0x5813bf(0x16c)][_0x5813bf(0x173)]({'revision':_0x314467,'from':_0x20cda4,'to':_0x2a4a9d});_0x6b4f81[_0x5813bf(0x179)]=_0x6b4f81[_0x5813bf(0x166)][_0x5813bf(0x161)](_0x74cb05=>_0x5c3af5[_0x5813bf(0x144)](_0x74cb05)),_0x314467[_0x5813bf(0x17f)](_0x6b4f81);}[_0x1cd21d(0x136)](_0x76df1){const _0x2f9746=_0x1cd21d,_0x45861f={};_0x45861f['id']=_0x76df1['id'];for(const _0x27a0b9 of Object[_0x2f9746(0x16e)](_0x76df1))'id'!==_0x27a0b9&&(_0x45861f[_0x27a0b9]=void 0x0);this[_0x2f9746(0x16c)][_0x2f9746(0x194)](_0x45861f['id'],_0x45861f,!0x0);}async[_0x1cd21d(0x134)](_0x13b500){const _0x49a31d=_0x1cd21d,_0x119ad4=this[_0x49a31d(0x139)][_0x49a31d(0x14b)][_0x49a31d(0x18d)](_0x1c326c),{connection:_0x21aa2f}=this[_0x49a31d(0x139)][_0x49a31d(0x14b)][_0x49a31d(0x18d)](_0x48a315),_0x4f3239=new Set();for(const _0x188de5 of _0x13b500){for(const _0x106fbe of _0x188de5[_0x49a31d(0x166)])_0x171b61(_0x106fbe);_0x188de5[_0x49a31d(0x14e)]&&_0x171b61(_0x188de5[_0x49a31d(0x14e)]);}if(0x0===_0x4f3239[_0x49a31d(0x162)])return;const _0x194141=await _0x341005[_0x49a31d(0x19e)](_0x21aa2f,Array[_0x49a31d(0x16f)](_0x4f3239));for(const _0x405778 of _0x194141)_0x119ad4[_0x49a31d(0x144)](_0x405778['id'])||_0x119ad4[_0x49a31d(0x1a3)](_0x405778);function _0x171b61(_0xee0add){const _0x3d18f2=_0x49a31d;_0x119ad4[_0x3d18f2(0x144)](_0xee0add)||_0x4f3239[_0x3d18f2(0x154)](_0xee0add);}}}u[_0x1cd21d(0x18a)]=_0x534f7d;export default u;function rt(_0x2201b4){const _0x13ac48=_0x1cd21d;return _0x2201b4[_0x13ac48(0x195)][_0x13ac48(0x150)](_0x13ac48(0x160))||_0x2201b4[_0x13ac48(0x195)][_0x13ac48(0x150)](_0x13ac48(0x17a))||_0x2201b4[_0x13ac48(0x195)][_0x13ac48(0x150)](_0x13ac48(0x18f));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xde1401=_0x33ac;(function(_0x294113,_0x3d38a6){const _0x93561a=_0x33ac,_0x1756e3=_0x294113();while(!![]){try{const _0x17117a=parseInt(_0x93561a(0x111))/0x1+-parseInt(_0x93561a(0xf2))/0x2+-parseInt(_0x93561a(0x12c))/0x3*(-parseInt(_0x93561a(0x121))/0x4)+parseInt(_0x93561a(0x107))/0x5+parseInt(_0x93561a(0x102))/0x6*(-parseInt(_0x93561a(0xfe))/0x7)+-parseInt(_0x93561a(0x10b))/0x8*(parseInt(_0x93561a(0x120))/0x9)+parseInt(_0x93561a(0xf3))/0xa*(parseInt(_0x93561a(0x117))/0xb);if(_0x17117a===_0x3d38a6)break;else _0x1756e3['push'](_0x1756e3['shift']());}catch(_0x3a6710){_0x1756e3['push'](_0x1756e3['shift']());}}}(_0x2101,0xb683c));function _0x33ac(_0x24edd3,_0x45240c){const _0x21011f=_0x2101();return _0x33ac=function(_0x33acf5,_0x3b72ac){_0x33acf5=_0x33acf5-0xec;let _0x289d17=_0x21011f[_0x33acf5];return _0x289d17;},_0x33ac(_0x24edd3,_0x45240c);}import{Plugin as _0x852b7d}from'ckeditor5/src/core.js';import{User as _0xffb104,TrackChangesService as _0x472090}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x271528 from'../realtimecollaborativeediting/websocketgateway.js';import _0x40031d from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x18318b}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2101(){const _0x2aeb13=['delete','listenTo','message','CloudServicesTrackChangesAdapter','attributes','update','find','50103fBWCBP','5816jhEoQJ','config','hasSuggestion','init','add','isConnected','state','off','collaboration.channelId','_bufferedRequests','isPremiumPlugin','249iUZeIx','TrackChangesEditing','type','plugins','_saved','connect','set','2682630iVLKEX','30opUJEz','cloud-services-internal-error:\x20Request\x20timeout.','catch','requires','open','getMany','startsWith','_fetchMissingUsersForThreads','originalSuggestionId','_trackChangesService','pluginName','56483wTAZEJ','addSuggestionData','getUser','adapter','318PRqqqg','reconnect','data','size','isOfficialPlugin','1011530yNwaHw','then','getSuggestion','TrackChangesService','2136DSFSds','connected','from','addUser','cloud-services-internal-error:\x20Not\x20connected.','values','580770eemslS','_waitForServiceReady','suggestionUpdated','connection','addToReconnectionStack','get','11363671lkFCVn','editor'];_0x2101=function(){return _0x2aeb13;};return _0x2101();}class f extends _0x852b7d{static get[_0xde1401(0xf6)](){const _0x9eed38=_0xde1401;return[_0x40031d,_0x9eed38(0xec),_0x271528];}static get[_0xde1401(0xfd)](){const _0x36d49a=_0xde1401;return _0x36d49a(0x11c);}static get[_0xde1401(0x106)](){return!0x0;}static get[_0xde1401(0x12b)](){return!0x0;}constructor(_0x6abb55){const _0x1ebf6e=_0xde1401;super(_0x6abb55);const _0x5e3ca0=this[_0x1ebf6e(0x118)][_0x1ebf6e(0x122)][_0x1ebf6e(0x116)](_0x1ebf6e(0x129));this[_0x1ebf6e(0x12a)]=new Map(),this[_0x1ebf6e(0xfc)]=new f[(_0x1ebf6e(0x10a))](_0x5e3ca0);}[_0xde1401(0x124)](){const _0x2c5c4a=_0xde1401,_0x1b25f0=this[_0x2c5c4a(0x118)][_0x2c5c4a(0xee)][_0x2c5c4a(0x116)](_0x271528),_0x5328fc=this[_0x2c5c4a(0x118)][_0x2c5c4a(0xee)][_0x2c5c4a(0x116)](_0x2c5c4a(0xec));return _0x5328fc[_0x2c5c4a(0x101)]={'getSuggestion':async _0x403920=>{const _0xac8a4b=_0x2c5c4a;await this[_0xac8a4b(0x112)]();const _0x1cd1c9=await this[_0xac8a4b(0xfc)][_0xac8a4b(0x116)](_0x403920)[_0xac8a4b(0xf5)](R);return await this[_0xac8a4b(0xfa)]([_0x1cd1c9]),_0x1cd1c9;},'addSuggestion':async({id:_0x594fe6,type:_0xbb964b,data:_0x4b2e27,originalSuggestionId:_0xf9b101,attributes:_0x3c6c76})=>{const _0x1fe99d=_0x2c5c4a;await this[_0x1fe99d(0x112)]();const _0x136c2b={'id':_0x594fe6,'type':_0xbb964b,'data':_0x4b2e27,'originalSuggestionId':_0xf9b101,'attributes':_0x3c6c76},_0x304746=await this[_0x1fe99d(0xfc)][_0x1fe99d(0x125)](_0x594fe6,_0xbb964b,_0x4b2e27,_0xf9b101,_0x3c6c76)[_0x1fe99d(0xf5)](_0xe5763f=>{if(st(_0xe5763f))return new Promise(_0x38f6c4=>{const _0x12d5e5=_0x33ac;this[_0x12d5e5(0x12a)][_0x12d5e5(0xf1)](_0x594fe6,{'resolve':_0x38f6c4,'suggestionData':_0x136c2b});});throw _0xe5763f;});return this[_0x1fe99d(0x12a)][_0x1fe99d(0x119)](_0x594fe6),_0x304746;},'updateSuggestion':async(_0x45c641,_0x3f3190)=>{const _0x316fae=_0x2c5c4a;if(await this[_0x316fae(0x112)](),_0x316fae(0xf7)!==_0x3f3190[_0x316fae(0x127)])return this[_0x316fae(0xfc)][_0x316fae(0x11e)](_0x45c641,_0x3f3190)[_0x316fae(0xf5)](R);}},this[_0x2c5c4a(0x11a)](this[_0x2c5c4a(0xfc)],_0x2c5c4a(0x113),(_0x6e62fc,_0x1a14ac)=>{const _0x433a2f=_0x2c5c4a;_0x5328fc[_0x433a2f(0x123)](_0x1a14ac['id'])&&(_0x5328fc[_0x433a2f(0x109)](_0x1a14ac['id'])[_0x433a2f(0x11d)]=_0x1a14ac[_0x433a2f(0x11d)]);}),this[_0x2c5c4a(0xfc)][_0x2c5c4a(0xf0)](_0x1b25f0[_0x2c5c4a(0x114)])[_0x2c5c4a(0x108)](_0x329cd0=>(_0x1b25f0[_0x2c5c4a(0x115)](this),this[_0x2c5c4a(0xfa)](_0x329cd0)[_0x2c5c4a(0x108)](()=>{const _0x46e029=_0x2c5c4a;for(const _0x9e4c30 of _0x329cd0){_0x5328fc[_0x46e029(0xff)](_0x9e4c30)[_0x46e029(0xef)]=!0x0;}})));}async[_0xde1401(0x103)](){const _0x4fccd5=_0xde1401,_0x5d323f=this[_0x4fccd5(0x118)][_0x4fccd5(0xee)][_0x4fccd5(0x116)](_0x4fccd5(0xec)),{connection:_0x1ea40e}=this[_0x4fccd5(0x118)][_0x4fccd5(0xee)][_0x4fccd5(0x116)](_0x271528),_0x4db593=await this[_0x4fccd5(0xfc)][_0x4fccd5(0xf0)](_0x1ea40e);await this[_0x4fccd5(0xfa)](_0x4db593);for(const {suggestionData:_0x316777,resolve:_0x34dab6}of this[_0x4fccd5(0x12a)][_0x4fccd5(0x110)]()){let _0x86b8ba=_0x4db593[_0x4fccd5(0x11f)](_0x5afbfc=>_0x5afbfc['id']===_0x316777['id']);_0x86b8ba||(_0x86b8ba=await this[_0x4fccd5(0xfc)][_0x4fccd5(0x125)](_0x316777['id'],_0x316777[_0x4fccd5(0xed)],_0x316777[_0x4fccd5(0x104)],_0x316777[_0x4fccd5(0xfb)])),_0x34dab6(_0x86b8ba);}for(const _0x1e361a of _0x4db593)_0x5d323f[_0x4fccd5(0x123)](_0x1e361a['id'])||_0x5d323f[_0x4fccd5(0xff)](_0x1e361a);}async[_0xde1401(0x112)](){const _0x1dca5a=_0xde1401;this[_0x1dca5a(0xfc)][_0x1dca5a(0x126)]||await new Promise(_0xeacc9d=>{const _0x3514ad=_0x1dca5a;this[_0x3514ad(0x11a)](this[_0x3514ad(0xfc)],_0x3514ad(0x10c),_0x241c8f=>{const _0x89eab2=_0x3514ad;_0x241c8f[_0x89eab2(0x128)](),_0xeacc9d();});});}async[_0xde1401(0xfa)](_0x46a54a){const _0x32d736=_0xde1401,_0x4fce40=this[_0x32d736(0x118)][_0x32d736(0xee)][_0x32d736(0x116)](_0x18318b),{connection:_0x461a5d}=this[_0x32d736(0x118)][_0x32d736(0xee)][_0x32d736(0x116)](_0x271528),_0x3b9777=new Set();for(const {authorId:_0x11acf6}of _0x46a54a)_0x4fce40[_0x32d736(0x100)](_0x11acf6)||_0x3b9777[_0x32d736(0x125)](_0x11acf6);if(0x0===_0x3b9777[_0x32d736(0x105)])return;const _0x2a3720=await _0xffb104[_0x32d736(0xf8)](_0x461a5d,Array[_0x32d736(0x10d)](_0x3b9777));for(const _0x4aec5d of _0x2a3720)_0x4fce40[_0x32d736(0x100)](_0x4aec5d['id'])||_0x4fce40[_0x32d736(0x10e)](_0x4aec5d);}}f[_0xde1401(0x10a)]=_0x472090;export default f;function R(_0x5e21c6){if(st(_0x5e21c6))return new Promise(()=>{});throw _0x5e21c6;}function st(_0x2c6525){const _0xf27177=_0xde1401;return _0x2c6525[_0xf27177(0x11b)][_0xf27177(0xf9)](_0xf27177(0x10f))||_0x2c6525[_0xf27177(0x11b)][_0xf27177(0xf9)](_0xf27177(0xf4));}
23
+ const _0xdac74a=_0x5363;(function(_0x2b7c84,_0xaf2879){const _0xadda29=_0x5363,_0x2cbe9f=_0x2b7c84();while(!![]){try{const _0x5d08e5=parseInt(_0xadda29(0xca))/0x1*(-parseInt(_0xadda29(0xe4))/0x2)+parseInt(_0xadda29(0xbb))/0x3*(-parseInt(_0xadda29(0xd3))/0x4)+-parseInt(_0xadda29(0xbe))/0x5+-parseInt(_0xadda29(0xec))/0x6*(-parseInt(_0xadda29(0xc6))/0x7)+parseInt(_0xadda29(0xe2))/0x8*(-parseInt(_0xadda29(0xbc))/0x9)+-parseInt(_0xadda29(0xe7))/0xa*(-parseInt(_0xadda29(0xce))/0xb)+parseInt(_0xadda29(0xd8))/0xc*(parseInt(_0xadda29(0xf7))/0xd);if(_0x5d08e5===_0xaf2879)break;else _0x2cbe9f['push'](_0x2cbe9f['shift']());}catch(_0x4f2b8a){_0x2cbe9f['push'](_0x2cbe9f['shift']());}}}(_0xe0ca,0x6eb27));import{Plugin as _0x3753a6}from'ckeditor5/src/core.js';import{User as _0x11b094,TrackChangesService as _0x297b55}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x25650a from'../realtimecollaborativeediting/websocketgateway.js';function _0xe0ca(){const _0x253c99=['type','listenTo','attributes','addSuggestionData','off','TrackChangesEditing','addUser','set','addToReconnectionStack','45916XqlCHJ','_fetchMissingUsersForThreads','connected','cloud-services-internal-error:\x20Request\x20timeout.','hasSuggestion','config','isPremiumPlugin','1608oWqCoa','302589QECcvI','size','2904805ztGGzS','_saved','from','find','plugins','pluginName','isOfficialPlugin','connect','35yahVPf','suggestionUpdated','data','getUser','767174dQMjDo','requires','values','reconnect','1501401wTRlJj','isConnected','add','startsWith','_trackChangesService','584OcGDPj','_bufferedRequests','message','delete','get','4476dMqhBF','TrackChangesService','connection','cloud-services-internal-error:\x20Not\x20connected.','collaboration.channelId','CloudServicesTrackChangesAdapter','originalSuggestionId','catch','init','state','120JYrNSx','update','2sUoVYP','_waitForServiceReady','getSuggestion','50PkkGEa','open','then','getMany','editor','461076UuOAja','adapter'];_0xe0ca=function(){return _0x253c99;};return _0xe0ca();}function _0x5363(_0x34ed6c,_0x108f48){const _0xe0cae7=_0xe0ca();return _0x5363=function(_0x536306,_0x30b6bb){_0x536306=_0x536306-0xb5;let _0x19e6a3=_0xe0cae7[_0x536306];return _0x19e6a3;},_0x5363(_0x34ed6c,_0x108f48);}import _0x57feae from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x474921}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x3753a6{static get[_0xdac74a(0xcb)](){const _0x12900c=_0xdac74a;return[_0x57feae,_0x12900c(0xf3),_0x25650a];}static get[_0xdac74a(0xc3)](){const _0x5d1619=_0xdac74a;return _0x5d1619(0xdd);}static get[_0xdac74a(0xc4)](){return!0x0;}static get[_0xdac74a(0xba)](){return!0x0;}constructor(_0x372a1d){const _0x4dade8=_0xdac74a;super(_0x372a1d);const _0x269e93=this[_0x4dade8(0xeb)][_0x4dade8(0xb9)][_0x4dade8(0xd7)](_0x4dade8(0xdc));this[_0x4dade8(0xd4)]=new Map(),this[_0x4dade8(0xd2)]=new f[(_0x4dade8(0xd9))](_0x269e93);}[_0xdac74a(0xe0)](){const _0x216854=_0xdac74a,_0x4b842d=this[_0x216854(0xeb)][_0x216854(0xc2)][_0x216854(0xd7)](_0x25650a),_0x5532eb=this[_0x216854(0xeb)][_0x216854(0xc2)][_0x216854(0xd7)](_0x216854(0xf3));return _0x5532eb[_0x216854(0xed)]={'getSuggestion':async _0x515b5e=>{const _0x8d256e=_0x216854;await this[_0x8d256e(0xe5)]();const _0x3b5878=await this[_0x8d256e(0xd2)][_0x8d256e(0xd7)](_0x515b5e)[_0x8d256e(0xdf)](ot);return await this[_0x8d256e(0xb5)]([_0x3b5878]),_0x3b5878;},'addSuggestion':async({id:_0x2637fb,type:_0x3018a9,data:_0xad9a49,originalSuggestionId:_0x36750c,attributes:_0x2aa92b})=>{const _0x282059=_0x216854;await this[_0x282059(0xe5)]();const _0x95d2f4={'id':_0x2637fb,'type':_0x3018a9,'data':_0xad9a49,'originalSuggestionId':_0x36750c,'attributes':_0x2aa92b},_0x2ce80a=await this[_0x282059(0xd2)][_0x282059(0xd0)](_0x2637fb,_0x3018a9,_0xad9a49,_0x36750c,_0x2aa92b)[_0x282059(0xdf)](_0x4e0280=>{if(rt(_0x4e0280))return new Promise(_0x54d2f3=>{const _0x20d9b1=_0x5363;this[_0x20d9b1(0xd4)][_0x20d9b1(0xf5)](_0x2637fb,{'resolve':_0x54d2f3,'suggestionData':_0x95d2f4});});throw _0x4e0280;});return this[_0x282059(0xd4)][_0x282059(0xd6)](_0x2637fb),_0x2ce80a;},'updateSuggestion':async(_0x1eaec2,_0x534764)=>{const _0x511907=_0x216854;if(await this[_0x511907(0xe5)](),_0x511907(0xe8)!==_0x534764[_0x511907(0xe1)])return this[_0x511907(0xd2)][_0x511907(0xe3)](_0x1eaec2,_0x534764)[_0x511907(0xdf)](ot);}},this[_0x216854(0xef)](this[_0x216854(0xd2)],_0x216854(0xc7),(_0x1af01e,_0x535fc8)=>{const _0x34a67a=_0x216854;_0x5532eb[_0x34a67a(0xb8)](_0x535fc8['id'])&&(_0x5532eb[_0x34a67a(0xe6)](_0x535fc8['id'])[_0x34a67a(0xf0)]=_0x535fc8[_0x34a67a(0xf0)]);}),this[_0x216854(0xd2)][_0x216854(0xc5)](_0x4b842d[_0x216854(0xda)])[_0x216854(0xe9)](_0x4fcabb=>(_0x4b842d[_0x216854(0xf6)](this),this[_0x216854(0xb5)](_0x4fcabb)[_0x216854(0xe9)](()=>{const _0x2e08ae=_0x216854;for(const _0x18f3d0 of _0x4fcabb){_0x5532eb[_0x2e08ae(0xf1)](_0x18f3d0)[_0x2e08ae(0xbf)]=!0x0;}})));}async[_0xdac74a(0xcd)](){const _0x17bc7d=_0xdac74a,_0x4f3f23=this[_0x17bc7d(0xeb)][_0x17bc7d(0xc2)][_0x17bc7d(0xd7)](_0x17bc7d(0xf3)),{connection:_0x254aad}=this[_0x17bc7d(0xeb)][_0x17bc7d(0xc2)][_0x17bc7d(0xd7)](_0x25650a),_0x4b5854=await this[_0x17bc7d(0xd2)][_0x17bc7d(0xc5)](_0x254aad);await this[_0x17bc7d(0xb5)](_0x4b5854);for(const {suggestionData:_0x38822d,resolve:_0x39abaf}of this[_0x17bc7d(0xd4)][_0x17bc7d(0xcc)]()){let _0x5cdf2c=_0x4b5854[_0x17bc7d(0xc1)](_0xcc4417=>_0xcc4417['id']===_0x38822d['id']);_0x5cdf2c||(_0x5cdf2c=await this[_0x17bc7d(0xd2)][_0x17bc7d(0xd0)](_0x38822d['id'],_0x38822d[_0x17bc7d(0xee)],_0x38822d[_0x17bc7d(0xc8)],_0x38822d[_0x17bc7d(0xde)])),_0x39abaf(_0x5cdf2c);}for(const _0x1aa8d9 of _0x4b5854)_0x4f3f23[_0x17bc7d(0xb8)](_0x1aa8d9['id'])||_0x4f3f23[_0x17bc7d(0xf1)](_0x1aa8d9);}async[_0xdac74a(0xe5)](){const _0x3ed55a=_0xdac74a;this[_0x3ed55a(0xd2)][_0x3ed55a(0xcf)]||await new Promise(_0x311c89=>{const _0x24d62e=_0x3ed55a;this[_0x24d62e(0xef)](this[_0x24d62e(0xd2)],_0x24d62e(0xb6),_0x690feb=>{const _0x46b061=_0x24d62e;_0x690feb[_0x46b061(0xf2)](),_0x311c89();});});}async[_0xdac74a(0xb5)](_0x132814){const _0x85eee5=_0xdac74a,_0x3dc22b=this[_0x85eee5(0xeb)][_0x85eee5(0xc2)][_0x85eee5(0xd7)](_0x474921),{connection:_0x32236d}=this[_0x85eee5(0xeb)][_0x85eee5(0xc2)][_0x85eee5(0xd7)](_0x25650a),_0x3afd4f=new Set();for(const {authorId:_0x147122}of _0x132814)_0x3dc22b[_0x85eee5(0xc9)](_0x147122)||_0x3afd4f[_0x85eee5(0xd0)](_0x147122);if(0x0===_0x3afd4f[_0x85eee5(0xbd)])return;const _0x287e12=await _0x11b094[_0x85eee5(0xea)](_0x32236d,Array[_0x85eee5(0xc0)](_0x3afd4f));for(const _0x2c19a3 of _0x287e12)_0x3dc22b[_0x85eee5(0xc9)](_0x2c19a3['id'])||_0x3dc22b[_0x85eee5(0xf4)](_0x2c19a3);}}f[_0xdac74a(0xd9)]=_0x297b55;export default f;function ot(_0x473ec9){if(rt(_0x473ec9))return new Promise(()=>{});throw _0x473ec9;}function rt(_0x4d7153){const _0x450d22=_0xdac74a;return _0x4d7153[_0x450d22(0xd5)][_0x450d22(0xd1)](_0x450d22(0xdb))||_0x4d7153[_0x450d22(0xd5)][_0x450d22(0xd1)](_0x450d22(0xb7));}