@ckeditor/ckeditor5-real-time-collaboration 44.2.0-alpha.12 → 44.2.0-alpha.13

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 _0x1026f4=_0x3ae0;(function(_0x89ff6b,_0x44e10d){const _0x1a569b=_0x3ae0,_0x55050d=_0x89ff6b();while(!![]){try{const _0x591b90=-parseInt(_0x1a569b(0x13d))/0x1*(-parseInt(_0x1a569b(0x173))/0x2)+-parseInt(_0x1a569b(0x12d))/0x3+parseInt(_0x1a569b(0x12c))/0x4+parseInt(_0x1a569b(0x171))/0x5+parseInt(_0x1a569b(0x167))/0x6*(-parseInt(_0x1a569b(0x14a))/0x7)+parseInt(_0x1a569b(0x13e))/0x8*(parseInt(_0x1a569b(0x166))/0x9)+parseInt(_0x1a569b(0x16c))/0xa;if(_0x591b90===_0x44e10d)break;else _0x55050d['push'](_0x55050d['shift']());}catch(_0x377de9){_0x55050d['push'](_0x55050d['shift']());}}}(_0x2b6d,0x63c3d));import{ContextPlugin as _0x558ba7}from'ckeditor5/src/core.js';function _0x3ae0(_0x3e2bb9,_0x4ece81){const _0x2b6d2b=_0x2b6d();return _0x3ae0=function(_0x3ae020,_0x14ad26){_0x3ae020=_0x3ae020-0x12b;let _0x16e491=_0x2b6d2b[_0x3ae020];return _0x16e491;},_0x3ae0(_0x3e2bb9,_0x4ece81);}import{DomEmitterMixin as _0x47af38,CKEditorError as _0x2c85da}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4c8d7e,WEB_SOCKET_GATEWAY_STATES as _0x35debe}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x53c8af}from'ckeditor5/src/ui.js';class c extends _0x558ba7{static get[_0x1026f4(0x159)](){const _0x42e509=_0x1026f4;return[_0x42e509(0x151),_0x53c8af];}static get[_0x1026f4(0x147)](){const _0x3240c4=_0x1026f4;return _0x3240c4(0x163);}static get[_0x1026f4(0x146)](){return!0x0;}static get[_0x1026f4(0x172)](){return!0x0;}constructor(_0x2171f9){const _0x28db96=_0x1026f4;super(_0x2171f9),this[_0x28db96(0x16f)](_0x28db96(0x152),_0x35debe[_0x28db96(0x139)]),this[_0x28db96(0x16f)](_0x28db96(0x169),!0x1),this[_0x28db96(0x160)]=new Set(),this[_0x28db96(0x170)]=!0x1,this[_0x28db96(0x150)]=Object[_0x28db96(0x13c)](_0x47af38);}[_0x1026f4(0x132)](){const _0x23e015=_0x1026f4,_0x4f9947=this[_0x23e015(0x14e)],_0x565b02=_0x4f9947[_0x23e015(0x153)][_0x23e015(0x135)](_0x23e015(0x151)),_0x922868=_0x4f9947[_0x23e015(0x153)][_0x23e015(0x135)](_0x53c8af);if(!_0x565b02[_0x23e015(0x154)])throw new _0x2c85da(_0x23e015(0x164),this);if(!_0x565b02[_0x23e015(0x15b)])throw new _0x2c85da(_0x23e015(0x157),this);return this[_0x23e015(0x150)][_0x23e015(0x141)](window,_0x23e015(0x13f),()=>this[_0x23e015(0x169)]=!0x0),this[_0x23e015(0x150)][_0x23e015(0x141)](window,_0x23e015(0x162),()=>this[_0x23e015(0x169)]=!0x1),this[_0x23e015(0x14e)][_0x23e015(0x14c)][_0x23e015(0x155)](_0x23e015(0x175),0xa),this[_0x23e015(0x14e)][_0x23e015(0x14c)][_0x23e015(0x155)](_0x23e015(0x16e),0x14),c[_0x23e015(0x163)][_0x23e015(0x12b)](_0x565b02[_0x23e015(0x154)],_0x565b02[_0x23e015(0x15b)],{'timeout':0x3e8*this[_0x23e015(0x14e)][_0x23e015(0x14c)][_0x23e015(0x135)](_0x23e015(0x175)),'requestTimeout':0x3e8*this[_0x23e015(0x14e)][_0x23e015(0x14c)][_0x23e015(0x135)](_0x23e015(0x16e))})[_0x23e015(0x15f)](_0x7366f4=>{const _0x41d146=_0x23e015;if(this[_0x41d146(0x136)]=_0x7366f4,this[_0x41d146(0x15c)](_0x41d146(0x152))['to'](_0x7366f4,_0x41d146(0x152),this,_0x41d146(0x169),(_0x4e1767,_0x4b4824)=>(_0x41d146(0x142)!==_0x4e1767&&(this[_0x41d146(0x170)]=!0x0),_0x4b4824||_0x4e1767!==_0x35debe[_0x41d146(0x139)]?_0x35debe[_0x41d146(0x140)]:this[_0x41d146(0x152)]==_0x35debe[_0x41d146(0x140)]&&this[_0x41d146(0x170)]?(this[_0x41d146(0x170)]=!0x1,this[_0x41d146(0x149)](),_0x35debe[_0x41d146(0x138)]):_0x35debe[_0x41d146(0x139)])),this[_0x41d146(0x136)]['on'](_0x41d146(0x14b),(_0x5c89ed,_0x389d5a)=>{const _0x204a91=_0x41d146;if(_0x204a91(0x16a)!==_0x389d5a[_0x204a91(0x14d)])throw console[_0x204a91(0x14b)](_0x389d5a),new _0x2c85da(_0x204a91(0x148),null,{'originalError':_0x389d5a});_0x922868[_0x204a91(0x130)](_0x204a91(0x168),{'title':_0x204a91(0x15a),'namespace':_0x204a91(0x15d)});}),!_0x7366f4['me'])return new Promise(_0x15b4d9=>_0x7366f4['on'](_0x41d146(0x137),_0x15b4d9));})[_0x23e015(0x12f)](_0x1f4b40=>{const _0x57a300=_0x23e015;throw console[_0x57a300(0x14b)](_0x1f4b40),new _0x2c85da(_0x57a300(0x148),null,{'originalError':_0x1f4b40});});}[_0x1026f4(0x15e)](_0x24a4b3){const _0x5d38e9=_0x1026f4;if(_0x5d38e9(0x134)!=typeof _0x24a4b3[_0x5d38e9(0x161)])throw new _0x2c85da(_0x5d38e9(0x165),this);if(this[_0x5d38e9(0x12e)](_0x24a4b3))throw new _0x2c85da(_0x5d38e9(0x156),this,{'name':_0x24a4b3[_0x5d38e9(0x144)][_0x5d38e9(0x147)]});this[_0x5d38e9(0x160)][_0x5d38e9(0x158)](_0x24a4b3);}[_0x1026f4(0x174)](_0x2fef71){const _0x4f1a77=_0x1026f4;this[_0x4f1a77(0x160)][_0x4f1a77(0x16b)](_0x2fef71);}[_0x1026f4(0x12e)](_0x33be7c){const _0x5b5d9d=_0x1026f4;return this[_0x5b5d9d(0x160)][_0x5b5d9d(0x143)](_0x33be7c);}[_0x1026f4(0x149)](){const _0x3f55f8=_0x1026f4;return this[_0x3f55f8(0x136)][_0x3f55f8(0x161)]()[_0x3f55f8(0x15f)](()=>Promise[_0x3f55f8(0x131)](Array[_0x3f55f8(0x145)](this[_0x3f55f8(0x160)],_0x52e1ef=>_0x52e1ef[_0x3f55f8(0x161)]())))[_0x3f55f8(0x15f)](()=>this[_0x3f55f8(0x152)]=_0x35debe[_0x3f55f8(0x139)])[_0x3f55f8(0x12f)](_0x58e549=>{const _0x113011=_0x3f55f8;throw console[_0x113011(0x14b)](_0x58e549),new _0x2c85da(_0x113011(0x14f),this[_0x113011(0x14e)]);});}[_0x1026f4(0x133)](){const _0x278d57=_0x1026f4;this[_0x278d57(0x136)]&&this[_0x278d57(0x136)][_0x278d57(0x133)](),this[_0x278d57(0x152)]=_0x35debe[_0x278d57(0x140)],this[_0x278d57(0x150)][_0x278d57(0x13a)]();}[_0x1026f4(0x13b)](){const _0x28e20d=_0x1026f4;this[_0x28e20d(0x133)](),super[_0x28e20d(0x13b)]();}}function _0x2b6d(){const _0x39efbe=['function','get','connection','change:me','CONNECTING','CONNECTED','stopListening','destroy','create','7cTrkFZ','75928EuExLd','offline','DISCONNECTED','listenTo','connected','has','constructor','from','isOfficialPlugin','pluginName','cloudservices-init','_reconnect','519701WvTGIY','error','config','code','context','cloudservices-reconnection-error','_domEmitter','CloudServices','state','plugins','token','define','websocketgateway-plugin-already-registered','websocketgateway-missing-websocket-url','add','requires','Connected\x20users\x20limit\x20exceeded','webSocketUrl','bind','real-time-collaboration','addToReconnectionStack','then','_reconnectionStack','reconnect','online','WebSocketGateway','websocketgateway-missing-token','websocketgateway-invalid-plugin-interface','9foGdrz','30BZIAiZ','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.','_isBrowserOffline','limitExceeded','delete','743770JCsYEj','initialReconnectionInterval','cloudServices.requestTimeout','set','_shouldPluginsReconnect','1054900qvTdfh','isPremiumPlugin','217432CmeZhX','removeFromReconnectionStack','cloudServices.connectionTimeout','connect','729340chfYnq','1375029qarict','isInReconnectionStack','catch','showWarning','all','init','disconnect'];_0x2b6d=function(){return _0x39efbe;};return _0x2b6d();}c[_0x1026f4(0x163)]=_0x4c8d7e,c[_0x1026f4(0x16d)]=0x3e8;export default c;
23
+ const _0x5844f9=_0x12f4;(function(_0x4b3143,_0x109213){const _0x23e8be=_0x12f4,_0x485e8f=_0x4b3143();while(!![]){try{const _0x25f645=parseInt(_0x23e8be(0x1eb))/0x1+-parseInt(_0x23e8be(0x1e8))/0x2*(-parseInt(_0x23e8be(0x1e0))/0x3)+-parseInt(_0x23e8be(0x200))/0x4*(parseInt(_0x23e8be(0x20f))/0x5)+-parseInt(_0x23e8be(0x21c))/0x6*(parseInt(_0x23e8be(0x21e))/0x7)+parseInt(_0x23e8be(0x206))/0x8*(parseInt(_0x23e8be(0x1e7))/0x9)+parseInt(_0x23e8be(0x202))/0xa*(-parseInt(_0x23e8be(0x1df))/0xb)+parseInt(_0x23e8be(0x21b))/0xc*(parseInt(_0x23e8be(0x1f2))/0xd);if(_0x25f645===_0x109213)break;else _0x485e8f['push'](_0x485e8f['shift']());}catch(_0x2478d2){_0x485e8f['push'](_0x485e8f['shift']());}}}(_0xb4df,0x459f9));import{ContextPlugin as _0x2d82cf}from'ckeditor5/src/core.js';function _0xb4df(){const _0x14f184=['12eOTjen','destroy','isOfficialPlugin','initialReconnectionInterval','websocketgateway-plugin-already-registered','DISCONNECTED','_domEmitter','9rZFvqk','103492UNmUjV','real-time-collaboration','state','74875gPtRnT','limitExceeded','isInReconnectionStack','token','_shouldPluginsReconnect','requires','disconnect','1653184VYdITO','cloudservices-reconnection-error','cloudservices-init','context','config','stopListening','pluginName','isPremiumPlugin','connect','constructor','all','_isBrowserOffline','function','from','1530120ZvWHUn','Connected\x20users\x20limit\x20exceeded','1080KGqhps','define','set','_reconnect','2460656dojCYH','add','listenTo','init','showWarning','websocketgateway-missing-token','CONNECTING','then','webSocketUrl','5YqMHEW','addToReconnectionStack','get','delete','has','CONNECTED','reconnect','removeFromReconnectionStack','CloudServices','websocketgateway-invalid-plugin-interface','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.','error','48LjUrQN','6MvsPDi','online','2374778QwqzVf','create','connection','_reconnectionStack','websocketgateway-missing-websocket-url','plugins','cloudServices.connectionTimeout','WebSocketGateway','catch','cloudServices.requestTimeout','bind','offline','change:me','connected','code','9284WIicNM'];_0xb4df=function(){return _0x14f184;};return _0xb4df();}import{DomEmitterMixin as _0x689433,CKEditorError as _0x4c07b9}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x13394d,WEB_SOCKET_GATEWAY_STATES as _0x536143}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x12f4(_0x1ce969,_0x244741){const _0xb4df94=_0xb4df();return _0x12f4=function(_0x12f477,_0x22304d){_0x12f477=_0x12f477-0x1de;let _0x283404=_0xb4df94[_0x12f477];return _0x283404;},_0x12f4(_0x1ce969,_0x244741);}import{Notification as _0x1caa18}from'ckeditor5/src/ui.js';class c extends _0x2d82cf{static get[_0x5844f9(0x1f0)](){const _0x1125ea=_0x5844f9;return[_0x1125ea(0x217),_0x1caa18];}static get[_0x5844f9(0x1f8)](){const _0x4351fa=_0x5844f9;return _0x4351fa(0x225);}static get[_0x5844f9(0x1e2)](){return!0x0;}static get[_0x5844f9(0x1f9)](){return!0x0;}constructor(_0x34f16a){const _0x1a6ec3=_0x5844f9;super(_0x34f16a),this[_0x1a6ec3(0x204)](_0x1a6ec3(0x1ea),_0x536143[_0x1a6ec3(0x214)]),this[_0x1a6ec3(0x204)](_0x1a6ec3(0x1fd),!0x1),this[_0x1a6ec3(0x221)]=new Set(),this[_0x1a6ec3(0x1ef)]=!0x1,this[_0x1a6ec3(0x1e6)]=Object[_0x1a6ec3(0x21f)](_0x689433);}[_0x5844f9(0x209)](){const _0x584ed9=_0x5844f9,_0x3bd2ca=this[_0x584ed9(0x1f5)],_0x190b10=_0x3bd2ca[_0x584ed9(0x223)][_0x584ed9(0x211)](_0x584ed9(0x217)),_0x4b8a99=_0x3bd2ca[_0x584ed9(0x223)][_0x584ed9(0x211)](_0x1caa18);if(!_0x190b10[_0x584ed9(0x1ee)])throw new _0x4c07b9(_0x584ed9(0x20b),this);if(!_0x190b10[_0x584ed9(0x20e)])throw new _0x4c07b9(_0x584ed9(0x222),this);return this[_0x584ed9(0x1e6)][_0x584ed9(0x208)](window,_0x584ed9(0x229),()=>this[_0x584ed9(0x1fd)]=!0x0),this[_0x584ed9(0x1e6)][_0x584ed9(0x208)](window,_0x584ed9(0x21d),()=>this[_0x584ed9(0x1fd)]=!0x1),this[_0x584ed9(0x1f5)][_0x584ed9(0x1f6)][_0x584ed9(0x203)](_0x584ed9(0x224),0xa),this[_0x584ed9(0x1f5)][_0x584ed9(0x1f6)][_0x584ed9(0x203)](_0x584ed9(0x227),0x14),c[_0x584ed9(0x225)][_0x584ed9(0x1fa)](_0x190b10[_0x584ed9(0x1ee)],_0x190b10[_0x584ed9(0x20e)],{'timeout':0x3e8*this[_0x584ed9(0x1f5)][_0x584ed9(0x1f6)][_0x584ed9(0x211)](_0x584ed9(0x224)),'requestTimeout':0x3e8*this[_0x584ed9(0x1f5)][_0x584ed9(0x1f6)][_0x584ed9(0x211)](_0x584ed9(0x227))})[_0x584ed9(0x20d)](_0x43ec92=>{const _0x2a8ff9=_0x584ed9;if(this[_0x2a8ff9(0x220)]=_0x43ec92,this[_0x2a8ff9(0x228)](_0x2a8ff9(0x1ea))['to'](_0x43ec92,_0x2a8ff9(0x1ea),this,_0x2a8ff9(0x1fd),(_0x563bac,_0x436069)=>(_0x2a8ff9(0x22b)!==_0x563bac&&(this[_0x2a8ff9(0x1ef)]=!0x0),_0x436069||_0x563bac!==_0x536143[_0x2a8ff9(0x214)]?_0x536143[_0x2a8ff9(0x1e5)]:this[_0x2a8ff9(0x1ea)]==_0x536143[_0x2a8ff9(0x1e5)]&&this[_0x2a8ff9(0x1ef)]?(this[_0x2a8ff9(0x1ef)]=!0x1,this[_0x2a8ff9(0x205)](),_0x536143[_0x2a8ff9(0x20c)]):_0x536143[_0x2a8ff9(0x214)])),this[_0x2a8ff9(0x220)]['on'](_0x2a8ff9(0x21a),(_0x3a16ae,_0x131170)=>{const _0x3db32e=_0x2a8ff9;if(_0x3db32e(0x1ec)!==_0x131170[_0x3db32e(0x1de)])throw console[_0x3db32e(0x21a)](_0x131170),new _0x4c07b9(_0x3db32e(0x1f4),null,{'originalError':_0x131170});_0x4b8a99[_0x3db32e(0x20a)](_0x3db32e(0x219),{'title':_0x3db32e(0x201),'namespace':_0x3db32e(0x1e9)});}),!_0x43ec92['me'])return new Promise(_0x52b685=>_0x43ec92['on'](_0x2a8ff9(0x22a),_0x52b685));})[_0x584ed9(0x226)](_0x4550d1=>{const _0x2d9551=_0x584ed9;throw console[_0x2d9551(0x21a)](_0x4550d1),new _0x4c07b9(_0x2d9551(0x1f4),null,{'originalError':_0x4550d1});});}[_0x5844f9(0x210)](_0x48abd3){const _0x5d3576=_0x5844f9;if(_0x5d3576(0x1fe)!=typeof _0x48abd3[_0x5d3576(0x215)])throw new _0x4c07b9(_0x5d3576(0x218),this);if(this[_0x5d3576(0x1ed)](_0x48abd3))throw new _0x4c07b9(_0x5d3576(0x1e4),this,{'name':_0x48abd3[_0x5d3576(0x1fb)][_0x5d3576(0x1f8)]});this[_0x5d3576(0x221)][_0x5d3576(0x207)](_0x48abd3);}[_0x5844f9(0x216)](_0x2900c1){const _0x5ccdb5=_0x5844f9;this[_0x5ccdb5(0x221)][_0x5ccdb5(0x212)](_0x2900c1);}[_0x5844f9(0x1ed)](_0x45aff7){const _0x36caf8=_0x5844f9;return this[_0x36caf8(0x221)][_0x36caf8(0x213)](_0x45aff7);}[_0x5844f9(0x205)](){const _0x2dc01e=_0x5844f9;return this[_0x2dc01e(0x220)][_0x2dc01e(0x215)]()[_0x2dc01e(0x20d)](()=>Promise[_0x2dc01e(0x1fc)](Array[_0x2dc01e(0x1ff)](this[_0x2dc01e(0x221)],_0x5175b5=>_0x5175b5[_0x2dc01e(0x215)]())))[_0x2dc01e(0x20d)](()=>this[_0x2dc01e(0x1ea)]=_0x536143[_0x2dc01e(0x214)])[_0x2dc01e(0x226)](_0x5eba58=>{const _0xc17e0=_0x2dc01e;throw console[_0xc17e0(0x21a)](_0x5eba58),new _0x4c07b9(_0xc17e0(0x1f3),this[_0xc17e0(0x1f5)]);});}[_0x5844f9(0x1f1)](){const _0x5493db=_0x5844f9;this[_0x5493db(0x220)]&&this[_0x5493db(0x220)][_0x5493db(0x1f1)](),this[_0x5493db(0x1ea)]=_0x536143[_0x5493db(0x1e5)],this[_0x5493db(0x1e6)][_0x5493db(0x1f7)]();}[_0x5844f9(0x1e1)](){const _0x31455b=_0x5844f9;this[_0x31455b(0x1f1)](),super[_0x31455b(0x1e1)]();}}c[_0x5844f9(0x225)]=_0x13394d,c[_0x5844f9(0x1e3)]=0x3e8;export default c;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50726b=_0x4fa4;function _0x4fa4(_0x3b4dee,_0x1a281b){const _0x21b483=_0x21b4();return _0x4fa4=function(_0x4fa405,_0xcff180){_0x4fa405=_0x4fa405-0x125;let _0x30f24f=_0x21b483[_0x4fa405];return _0x30f24f;},_0x4fa4(_0x3b4dee,_0x1a281b);}(function(_0x2299a7,_0x249db3){const _0x378ce5=_0x4fa4,_0x469684=_0x2299a7();while(!![]){try{const _0x2a64b2=parseInt(_0x378ce5(0x192))/0x1+parseInt(_0x378ce5(0x18a))/0x2+-parseInt(_0x378ce5(0x172))/0x3+parseInt(_0x378ce5(0x186))/0x4*(parseInt(_0x378ce5(0x13e))/0x5)+parseInt(_0x378ce5(0x159))/0x6*(parseInt(_0x378ce5(0x196))/0x7)+parseInt(_0x378ce5(0x165))/0x8*(-parseInt(_0x378ce5(0x139))/0x9)+-parseInt(_0x378ce5(0x12d))/0xa;if(_0x2a64b2===_0x249db3)break;else _0x469684['push'](_0x469684['shift']());}catch(_0x49a9fc){_0x469684['push'](_0x469684['shift']());}}}(_0x21b4,0xa08b5));function _0x21b4(){const _0x337eaf=['reverse','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','addRevisionData','startsWith','isEmptyCurrent','setSource','off','513IZyQbw','from','_handleRevisionsUpdate','_lastRequestId','cloudServices.bundleVersion','145KzwfMd','isOfficialPlugin','pluginName','isPremiumPlugin','_revisionHistoryService','_revisionDataBuilder','add','_offset','authorsIds','map','once','config','_bufferedUpdates','_isPendingUpdate','setRevisionData','get','connect','_update','getRevision','_handleReconnectionError','_bufferUpdate','editor','CloudServicesRevisionHistoryAdapter','addUser','getUser','code','revisionsUpdated','42kNUzyn','catch','marker','max','remove','toVersion','_waitForServiceReady','reInit','repository','size','serverHistory','_startingVersion','75736JYWtuc','collaboration.channelId','has','fromVersion','CONNECTED','_revisions','diffData','400','length','baseVersion','updateRevisions','init','_getLatestVersion','2437809xsZsKY','keys','bind','buildRevisionData','sessionId','state','isEnabled','_fetchMissingUsers','_getLatestVersionFromServerOperations','message','listenTo','change:_isPendingUpdate','RevisionTracker','_preventResendingRevisionData','RevisionHistoryService','data','cloud-services-internal-error:\x20Request\x20timeout.','connection','sendBufferedUpdates','type','119084jeHOCs','_createCurrentRevision','getOperations','change:_isConnected','1963328OSsNwH','createdAt','_fixRevision','then','reconnect','destroy','adapter','_oldOffset','480701CPROzA','currentRevision','connected','creatorId','73619GKLlIT','addToReconnectionStack','wrongRequestId','authors','affectsData','_revisionTracker','requires','getRevisions','getMany','isConnected','3895320kOherO','_isConnected','isBundleUploaded','cloud-services-internal-error:\x20Not\x20connected.','plugins'];_0x21b4=function(){return _0x337eaf;};return _0x21b4();}import{Plugin as _0x2f4418}from'ckeditor5/src/core.js';import{version as _0x3c0ede}from'ckeditor5/src/utils.js';import{Users as _0xd686c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1d62b4 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x22b83f from'../realtimecollaborativeediting/websocketgateway.js';import _0x26106f from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x19bcae,RevisionHistoryService as _0x1d9e72,User as _0x53e64e,WEB_SOCKET_GATEWAY_STATES as _0x13b0ba}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x2f4418{static get[_0x50726b(0x129)](){const _0x15416a=_0x50726b;return[_0x22b83f,_0x1d62b4,_0x15416a(0x17e),_0x26106f,_0xd686c];}static get[_0x50726b(0x140)](){const _0x43f6db=_0x50726b;return _0x43f6db(0x154);}static get[_0x50726b(0x13f)](){return!0x0;}static get[_0x50726b(0x141)](){return!0x0;}constructor(_0x4fed53){const _0x205208=_0x50726b;super(_0x4fed53);const _0x47e77f=this[_0x205208(0x153)][_0x205208(0x149)][_0x205208(0x14d)](_0x205208(0x166));this[_0x205208(0x13c)]=null,this[_0x205208(0x128)]=this[_0x205208(0x153)][_0x205208(0x131)][_0x205208(0x14d)](_0x205208(0x17e)),this[_0x205208(0x142)]=new u[(_0x205208(0x180))](_0x47e77f);}async[_0x50726b(0x170)](){const _0x2eee34=_0x50726b,_0x3daa70=this[_0x2eee34(0x153)][_0x2eee34(0x131)][_0x2eee34(0x14d)](_0x1d62b4),_0xeab3f9=_0x3daa70[_0x2eee34(0x163)],_0x16e8fc=this[_0x2eee34(0x153)][_0x2eee34(0x131)][_0x2eee34(0x14d)](_0x22b83f);this[_0x2eee34(0x128)][_0x2eee34(0x137)]({'history':_0xeab3f9,'getLatestVersion':()=>this[_0x2eee34(0x171)](),'getCurrentRevisionId':()=>_0x3daa70[_0x2eee34(0x176)]});const _0x218672=this[_0x2eee34(0x153)][_0x2eee34(0x149)][_0x2eee34(0x14d)](_0x2eee34(0x13d))||_0x3c0ede,_0x342ac0=await _0x19bcae[_0x2eee34(0x12f)](_0x16e8fc[_0x2eee34(0x183)],_0x218672);this[_0x2eee34(0x128)][_0x2eee34(0x190)]={'getRevision':async({revisionId:_0xfafe53})=>(await this[_0x2eee34(0x15f)](),await this[_0x2eee34(0x142)][_0x2eee34(0x150)](_0xfafe53)),'updateRevisions':async _0x11460f=>{const _0x41c2b6=_0x2eee34;await this[_0x41c2b6(0x15f)]();const _0x3b26c3=this[_0x41c2b6(0x128)][_0x41c2b6(0x193)];if(_0x342ac0&&0x1===_0x11460f[_0x41c2b6(0x16d)]&&_0x11460f[0x0]['id']===_0x3b26c3['id'])return _0x11460f;for(const _0x1f302e of _0x11460f)_0x1f302e['id']===_0x3b26c3['id']&&(_0x1f302e[_0x41c2b6(0x136)]=_0x1f302e[_0x41c2b6(0x168)]===_0x1f302e[_0x41c2b6(0x15e)]);return this[_0x41c2b6(0x142)][_0x41c2b6(0x16f)](_0x11460f,this[_0x41c2b6(0x13c)])[_0x41c2b6(0x18d)](_0x1b135f=>(this[_0x41c2b6(0x13c)]=_0x1b135f,_0x11460f))[_0x41c2b6(0x15a)](_0x56f537=>{const _0x623fe9=_0x41c2b6;if(st(_0x56f537)||_0x623fe9(0x16c)===_0x56f537[_0x623fe9(0x157)]&&void 0x0!==_0x56f537[_0x623fe9(0x181)][_0x623fe9(0x125)]){for(const _0x3c64d0 of _0x11460f){!this[_0x623fe9(0x128)][_0x623fe9(0x161)][_0x623fe9(0x150)](_0x3c64d0['id'])||this[_0x623fe9(0x128)][_0x623fe9(0x152)](_0x3c64d0['id'],_0x3c64d0,!0x1);}if(st(_0x56f537))throw _0x56f537;return _0x11460f;}throw _0x56f537;});}},this[_0x2eee34(0x17c)](this[_0x2eee34(0x142)],_0x2eee34(0x158),(_0xd7c1e5,{revisionsData:_0x12e24c,requestId:_0xeeea9e})=>{const _0x16ecbb=_0x2eee34;Math[_0x16ecbb(0x15c)](..._0x12e24c[_0x16ecbb(0x147)](_0x194b5c=>_0x194b5c[_0x16ecbb(0x15e)]))>this[_0x16ecbb(0x17a)]()-0x1?this[_0x16ecbb(0x171)]()[_0x16ecbb(0x18d)](()=>{const _0x20c941=_0x16ecbb;this[_0x20c941(0x13b)](_0x12e24c,_0xeeea9e);}):this[_0x16ecbb(0x13b)](_0x12e24c,_0xeeea9e);});const {revisions:_0x46286c,requestId:_0x9c642b}=await this[_0x2eee34(0x142)][_0x2eee34(0x14e)](_0x16e8fc[_0x2eee34(0x183)]);_0x16e8fc[_0x2eee34(0x197)](this),this[_0x2eee34(0x13c)]=_0x9c642b,await this[_0x2eee34(0x179)](_0x46286c);for(const _0x1061bf of _0x46286c)this[_0x2eee34(0x128)][_0x2eee34(0x134)](_0x1061bf);this[_0x2eee34(0x17c)](_0x3daa70,_0x2eee34(0x189),(_0x5700f4,_0x222af5,_0xe94198)=>{const _0x48b78b=_0x2eee34;_0xe94198&&(this[_0x48b78b(0x191)]=_0x3daa70[_0x48b78b(0x145)],_0x5700f4[_0x48b78b(0x138)]());}),this[_0x2eee34(0x128)][_0x2eee34(0x174)](_0x2eee34(0x178))['to'](_0x16e8fc,_0x2eee34(0x177),_0x4db4ce=>_0x4db4ce===_0x13b0ba[_0x2eee34(0x169)]);}async[_0x50726b(0x18e)](){const _0x64d196=_0x50726b,_0xbae16a=this[_0x64d196(0x153)][_0x64d196(0x131)][_0x64d196(0x14d)](_0x22b83f),_0x601636=this[_0x64d196(0x153)][_0x64d196(0x131)][_0x64d196(0x14d)](_0x1d62b4),_0x373b10=async()=>{const _0x5a2bd6=_0x64d196,_0x2a6c60=this[_0x5a2bd6(0x128)][_0x5a2bd6(0x193)],_0x113562=_0x2a6c60['id'],_0x509054=_0x113562!==_0x601636[_0x5a2bd6(0x176)];if(_0x509054){const _0x7fb35a=_0x601636[_0x5a2bd6(0x145)]-this[_0x5a2bd6(0x191)],_0x47a34e=this[_0x5a2bd6(0x17a)]();this[_0x5a2bd6(0x128)][_0x5a2bd6(0x143)][_0x5a2bd6(0x160)]();if(_0x2a6c60[_0x5a2bd6(0x15e)]+_0x7fb35a!==_0x47a34e){const _0x3094ad=_0x2a6c60[_0x5a2bd6(0x168)]+_0x7fb35a,_0x53581e=this[_0x5a2bd6(0x153)][_0x5a2bd6(0x131)][_0x5a2bd6(0x14d)](_0xd686c),_0x7ebc8e=this[_0x5a2bd6(0x128)][_0x5a2bd6(0x175)]({'revision':_0x2a6c60,'from':_0x3094ad,'to':_0x47a34e});_0x7ebc8e['id']=_0x2a6c60['id'];const _0x5946ab=_0x7ebc8e[_0x5a2bd6(0x146)][_0x5a2bd6(0x147)](_0x5910d5=>_0x53581e[_0x5a2bd6(0x156)](_0x5910d5));_0x2a6c60[_0x5a2bd6(0x14f)]({..._0x7ebc8e,'authors':_0x5946ab},!0x0),this[_0x5a2bd6(0x128)][_0x5a2bd6(0x152)](_0x2a6c60['id'],_0x7ebc8e,!0x0);}this[_0x5a2bd6(0x128)][_0x5a2bd6(0x164)]=_0x47a34e,(_0x2a6c60[_0x5a2bd6(0x15e)]===_0x2a6c60[_0x5a2bd6(0x168)]&&!this[_0x5a2bd6(0x128)][_0x5a2bd6(0x14a)][_0x5a2bd6(0x167)](_0x113562)&&this[_0x5a2bd6(0x128)][_0x5a2bd6(0x161)][_0x5a2bd6(0x16a)][_0x5a2bd6(0x15d)](_0x113562),this[_0x5a2bd6(0x128)][_0x5a2bd6(0x187)](_0x47a34e));}const {revisions:_0x5167f3,requestId:_0x1c7d8a}=await this[_0x5a2bd6(0x142)][_0x5a2bd6(0x18e)](_0xbae16a[_0x5a2bd6(0x183)],this[_0x5a2bd6(0x13c)]);_0x509054&&_0x5167f3[_0x5a2bd6(0x16d)]>0x0?_0x601636[_0x5a2bd6(0x151)]():(await this[_0x5a2bd6(0x179)](_0x5167f3),this[_0x5a2bd6(0x13b)](_0x5167f3,_0x1c7d8a),this[_0x5a2bd6(0x128)][_0x5a2bd6(0x184)]());};return _0x601636[_0x64d196(0x12e)]?_0x373b10():new Promise((_0x3eecb3,_0x441d97)=>{const _0x7e3f3c=_0x64d196;_0x601636[_0x7e3f3c(0x148)](_0x7e3f3c(0x189),()=>{const _0x3c54c9=_0x7e3f3c;_0x373b10()[_0x3c54c9(0x18d)](_0x3eecb3)[_0x3c54c9(0x15a)](_0x441d97);});});}[_0x50726b(0x18f)](){const _0x305aaa=_0x50726b;super[_0x305aaa(0x18f)]();}async[_0x50726b(0x15f)](){const _0x244485=_0x50726b;this[_0x244485(0x142)][_0x244485(0x12c)]||await new Promise(_0x19a948=>{const _0x43528d=_0x244485;this[_0x43528d(0x17c)](this[_0x43528d(0x142)],_0x43528d(0x194),_0x557f52=>{const _0xce83a0=_0x43528d;_0x557f52[_0xce83a0(0x138)](),_0x19a948();});});}[_0x50726b(0x17a)](){const _0x318521=_0x50726b,_0x128bd0=this[_0x318521(0x153)][_0x318521(0x131)][_0x318521(0x14d)](_0x1d62b4)[_0x318521(0x163)][_0x318521(0x188)]()[_0x318521(0x132)]();for(const _0x46ee0c of _0x128bd0)if(_0x318521(0x15b)!==_0x46ee0c[_0x318521(0x185)]||_0x46ee0c[_0x318521(0x127)])return _0x46ee0c[_0x318521(0x16e)]+0x1;}[_0x50726b(0x171)](){const _0x3012ef=_0x50726b,_0x586f44=this[_0x3012ef(0x153)][_0x3012ef(0x131)][_0x3012ef(0x14d)](_0x1d62b4);return new Promise(_0x37ddec=>{const _0x213df7=_0x3012ef;_0x586f44[_0x213df7(0x14b)]?_0x586f44[_0x213df7(0x148)](_0x213df7(0x17d),()=>{const _0x10ee93=_0x213df7;_0x37ddec(this[_0x10ee93(0x17a)]());}):_0x37ddec(this[_0x213df7(0x17a)]());});}[_0x50726b(0x13b)](_0x4df3db,_0x5b3a89){const _0x4cd658=_0x50726b,_0x4b9bb4=this[_0x4cd658(0x128)][_0x4cd658(0x161)];this[_0x4cd658(0x13c)]=_0x5b3a89;for(const _0x3eef38 of _0x4df3db){const _0x3af183=_0x4b9bb4[_0x4cd658(0x150)](_0x3eef38['id']);if(_0x3af183){if((_0x3eef38[_0x4cd658(0x168)]||_0x3eef38[_0x4cd658(0x15e)])&&(_0x3eef38[_0x4cd658(0x16b)]=null),_0x3af183===this[_0x4cd658(0x128)][_0x4cd658(0x193)]){const _0x15bb73=Math[_0x4cd658(0x15c)](_0x3af183[_0x4cd658(0x15e)],_0x3eef38[_0x4cd658(0x15e)]),_0x5b3f11=Math[_0x4cd658(0x15c)](_0x3af183[_0x4cd658(0x168)],_0x3eef38[_0x4cd658(0x168)]);let _0x365c05;_0x3af183[_0x4cd658(0x15e)]===_0x3eef38[_0x4cd658(0x15e)]&&_0x3af183[_0x4cd658(0x168)]===_0x3eef38[_0x4cd658(0x168)]?(_0x365c05=!0x0,this[_0x4cd658(0x17f)](_0x3eef38)):_0x3eef38[_0x4cd658(0x15e)]===_0x15bb73&&_0x3eef38[_0x4cd658(0x168)]===_0x5b3f11?_0x365c05=!0x1:(_0x3af183[_0x4cd658(0x15e)]===_0x15bb73&&_0x3af183[_0x4cd658(0x168)]===_0x5b3f11||this[_0x4cd658(0x18c)]({'revision':_0x3af183,'from':_0x5b3f11,'to':_0x15bb73}),_0x365c05=!0x0),_0x365c05&&(delete _0x3eef38[_0x4cd658(0x168)],delete _0x3eef38[_0x4cd658(0x15e)],delete _0x3eef38[_0x4cd658(0x16b)],delete _0x3eef38[_0x4cd658(0x18b)],delete _0x3eef38[_0x4cd658(0x146)]);}this[_0x4cd658(0x128)][_0x4cd658(0x14c)](_0x3eef38),this[_0x4cd658(0x17f)](_0x3eef38);}else this[_0x4cd658(0x128)][_0x4cd658(0x134)](_0x3eef38);}const _0x272f78=_0x4b9bb4[_0x4cd658(0x12a)]();_0x272f78[_0x4cd658(0x132)]();for(let _0x3e2207=0x0;_0x3e2207<_0x272f78[_0x4cd658(0x16d)]-0x1;_0x3e2207++){const _0x2a904d=_0x272f78[_0x3e2207],_0x967399=_0x272f78[_0x3e2207+0x1];if(_0x2a904d[_0x4cd658(0x168)]<_0x967399[_0x4cd658(0x15e)]){const _0x11408c=_0x967399[_0x4cd658(0x15e)],_0x403542=Math[_0x4cd658(0x15c)](_0x11408c,_0x2a904d[_0x4cd658(0x15e)]);this[_0x4cd658(0x18c)]({'revision':_0x2a904d,'from':_0x11408c,'to':_0x403542});}}}[_0x50726b(0x18c)]({revision:_0x55abc4,from:_0x16833f,to:_0x6fef01}={}){const _0x3be950=_0x50726b,_0x5823a7=this[_0x3be950(0x153)][_0x3be950(0x131)][_0x3be950(0x14d)](_0xd686c),_0xa143ec=this[_0x3be950(0x128)][_0x3be950(0x175)]({'revision':_0x55abc4,'from':_0x16833f,'to':_0x6fef01});_0xa143ec[_0x3be950(0x126)]=_0xa143ec[_0x3be950(0x146)][_0x3be950(0x147)](_0xaa27d1=>_0x5823a7[_0x3be950(0x156)](_0xaa27d1)),_0x55abc4[_0x3be950(0x14f)](_0xa143ec);}[_0x50726b(0x17f)](_0x1764a8){const _0x5e6992=_0x50726b,_0x43333f={};_0x43333f['id']=_0x1764a8['id'];for(const _0x38de1a of Object[_0x5e6992(0x173)](_0x1764a8))'id'!==_0x38de1a&&(_0x43333f[_0x38de1a]=void 0x0);this[_0x5e6992(0x128)][_0x5e6992(0x152)](_0x43333f['id'],_0x43333f,!0x0);}async[_0x50726b(0x179)](_0x2a84b9){const _0x4de833=_0x50726b,_0xb6afe=this[_0x4de833(0x153)][_0x4de833(0x131)][_0x4de833(0x14d)](_0xd686c),{connection:_0xfef263}=this[_0x4de833(0x153)][_0x4de833(0x131)][_0x4de833(0x14d)](_0x22b83f),_0x132f2f=new Set();for(const _0x1750e3 of _0x2a84b9){for(const _0x537cdf of _0x1750e3[_0x4de833(0x146)])_0x52acd7(_0x537cdf);_0x1750e3[_0x4de833(0x195)]&&_0x52acd7(_0x1750e3[_0x4de833(0x195)]);}if(0x0===_0x132f2f[_0x4de833(0x162)])return;const _0xd7e31c=await _0x53e64e[_0x4de833(0x12b)](_0xfef263,Array[_0x4de833(0x13a)](_0x132f2f));for(const _0x3d1231 of _0xd7e31c)_0xb6afe[_0x4de833(0x156)](_0x3d1231['id'])||_0xb6afe[_0x4de833(0x155)](_0x3d1231);function _0x52acd7(_0x1ae6f5){const _0x570428=_0x4de833;_0xb6afe[_0x570428(0x156)](_0x1ae6f5)||_0x132f2f[_0x570428(0x144)](_0x1ae6f5);}}}u[_0x50726b(0x180)]=_0x1d9e72;export default u;function st(_0x297a92){const _0x1d9ece=_0x50726b;return _0x297a92[_0x1d9ece(0x17b)][_0x1d9ece(0x135)](_0x1d9ece(0x133))||_0x297a92[_0x1d9ece(0x17b)][_0x1d9ece(0x135)](_0x1d9ece(0x130))||_0x297a92[_0x1d9ece(0x17b)][_0x1d9ece(0x135)](_0x1d9ece(0x182));}
23
+ const _0x1c086d=_0x4808;(function(_0x273f3b,_0x3baec5){const _0xc23ec2=_0x4808,_0x6d1bb6=_0x273f3b();while(!![]){try{const _0x72398f=parseInt(_0xc23ec2(0xc5))/0x1*(parseInt(_0xc23ec2(0xf3))/0x2)+-parseInt(_0xc23ec2(0x112))/0x3+-parseInt(_0xc23ec2(0xbe))/0x4+parseInt(_0xc23ec2(0xa7))/0x5*(parseInt(_0xc23ec2(0xf4))/0x6)+-parseInt(_0xc23ec2(0xe1))/0x7+parseInt(_0xc23ec2(0x10a))/0x8*(-parseInt(_0xc23ec2(0x101))/0x9)+parseInt(_0xc23ec2(0xad))/0xa;if(_0x72398f===_0x3baec5)break;else _0x6d1bb6['push'](_0x6d1bb6['shift']());}catch(_0x167619){_0x6d1bb6['push'](_0x6d1bb6['shift']());}}}(_0x5412,0xe23ba));import{Plugin as _0x38b09c}from'ckeditor5/src/core.js';import{version as _0x384343}from'ckeditor5/src/utils.js';import{Users as _0x57a206}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x300bb3 from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x4808(_0x90f5fe,_0x7c9e05){const _0x541237=_0x5412();return _0x4808=function(_0x480865,_0x5a131d){_0x480865=_0x480865-0xa6;let _0x276cf2=_0x541237[_0x480865];return _0x276cf2;},_0x4808(_0x90f5fe,_0x7c9e05);}import _0x100805 from'../realtimecollaborativeediting/websocketgateway.js';import _0x1eb793 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x1820a6,RevisionHistoryService as _0x1f95b0,User as _0x4da39c,WEB_SOCKET_GATEWAY_STATES as _0x2bb05d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x38b09c{static get[_0x1c086d(0xce)](){const _0x21abb8=_0x1c086d;return[_0x100805,_0x300bb3,_0x21abb8(0xf7),_0x1eb793,_0x57a206];}static get[_0x1c086d(0xd7)](){const _0x401412=_0x1c086d;return _0x401412(0xb7);}static get[_0x1c086d(0xe6)](){return!0x0;}static get[_0x1c086d(0xaf)](){return!0x0;}constructor(_0x21bd4e){const _0x5aae02=_0x1c086d;super(_0x21bd4e);const _0x576529=this[_0x5aae02(0xd3)][_0x5aae02(0xfa)][_0x5aae02(0xe0)](_0x5aae02(0xd5));this[_0x5aae02(0xcc)]=null,this[_0x5aae02(0xdb)]=this[_0x5aae02(0xd3)][_0x5aae02(0xd9)][_0x5aae02(0xe0)](_0x5aae02(0xf7)),this[_0x5aae02(0x108)]=new u[(_0x5aae02(0xf0))](_0x576529);}async[_0x1c086d(0xbf)](){const _0x25b8d1=_0x1c086d,_0x3c696c=this[_0x25b8d1(0xd3)][_0x25b8d1(0xd9)][_0x25b8d1(0xe0)](_0x300bb3),_0x55cfaf=_0x3c696c[_0x25b8d1(0xda)],_0x390bd5=this[_0x25b8d1(0xd3)][_0x25b8d1(0xd9)][_0x25b8d1(0xe0)](_0x100805);this[_0x25b8d1(0xdb)][_0x25b8d1(0x10b)]({'history':_0x55cfaf,'getLatestVersion':()=>this[_0x25b8d1(0xcb)](),'getCurrentRevisionId':()=>_0x3c696c[_0x25b8d1(0x102)]});const _0x1a499d=this[_0x25b8d1(0xd3)][_0x25b8d1(0xfa)][_0x25b8d1(0xe0)](_0x25b8d1(0xff))||_0x384343,_0x46d85d=await _0x1820a6[_0x25b8d1(0xde)](_0x390bd5[_0x25b8d1(0xb6)],_0x1a499d);this[_0x25b8d1(0xdb)][_0x25b8d1(0x107)]={'getRevision':async({revisionId:_0x4b3ede})=>(await this[_0x25b8d1(0xf5)](),await this[_0x25b8d1(0x108)][_0x25b8d1(0x105)](_0x4b3ede)),'updateRevisions':async _0x27f4b7=>{const _0x43b339=_0x25b8d1;await this[_0x43b339(0xf5)]();const _0xc856d5=this[_0x43b339(0xdb)][_0x43b339(0x117)];if(_0x46d85d&&0x1===_0x27f4b7[_0x43b339(0xef)]&&_0x27f4b7[0x0]['id']===_0xc856d5['id'])return _0x27f4b7;for(const _0x1fb766 of _0x27f4b7)_0x1fb766['id']===_0xc856d5['id']&&(_0x1fb766[_0x43b339(0xf1)]=_0x1fb766[_0x43b339(0xbd)]===_0x1fb766[_0x43b339(0xc0)]);return this[_0x43b339(0x108)][_0x43b339(0xe3)](_0x27f4b7,this[_0x43b339(0xcc)])[_0x43b339(0xcd)](_0x3aafe7=>(this[_0x43b339(0xcc)]=_0x3aafe7,_0x27f4b7))[_0x43b339(0xd4)](_0x4634e2=>{const _0x39160e=_0x43b339;if(st(_0x4634e2)||_0x39160e(0xb3)===_0x4634e2[_0x39160e(0xb9)]&&void 0x0!==_0x4634e2[_0x39160e(0x10c)][_0x39160e(0xe4)]){for(const _0x4660b7 of _0x27f4b7){!this[_0x39160e(0xdb)][_0x39160e(0x116)][_0x39160e(0x105)](_0x4660b7['id'])||this[_0x39160e(0xdb)][_0x39160e(0x104)](_0x4660b7['id'],_0x4660b7,!0x1);}if(st(_0x4634e2))throw _0x4634e2;return _0x27f4b7;}throw _0x4634e2;});}},this[_0x25b8d1(0xb5)](this[_0x25b8d1(0x108)],_0x25b8d1(0x118),(_0x14aabd,{revisionsData:_0x47342b,requestId:_0x63d81b})=>{const _0x5920d8=_0x25b8d1;Math[_0x5920d8(0xab)](..._0x47342b[_0x5920d8(0xf6)](_0x11bfbf=>_0x11bfbf[_0x5920d8(0xc0)]))>this[_0x5920d8(0xb0)]()-0x1?this[_0x5920d8(0xcb)]()[_0x5920d8(0xcd)](()=>{const _0x5b9248=_0x5920d8;this[_0x5b9248(0xeb)](_0x47342b,_0x63d81b);}):this[_0x5920d8(0xeb)](_0x47342b,_0x63d81b);});const {revisions:_0x451a6e,requestId:_0x330d53}=await this[_0x25b8d1(0x108)][_0x25b8d1(0xc8)](_0x390bd5[_0x25b8d1(0xb6)]);_0x390bd5[_0x25b8d1(0xd6)](this),this[_0x25b8d1(0xcc)]=_0x330d53,await this[_0x25b8d1(0xc7)](_0x451a6e);for(const _0x306096 of _0x451a6e)this[_0x25b8d1(0xdb)][_0x25b8d1(0xfe)](_0x306096);this[_0x25b8d1(0xb5)](_0x3c696c,_0x25b8d1(0xe9),(_0x1b0a92,_0x69c819,_0x27d9e5)=>{const _0xf5c8a9=_0x25b8d1;_0x27d9e5&&(this[_0xf5c8a9(0xfb)]=_0x3c696c[_0xf5c8a9(0xba)],_0x1b0a92[_0xf5c8a9(0xdf)]());}),this[_0x25b8d1(0xdb)][_0x25b8d1(0xd1)](_0x25b8d1(0xec))['to'](_0x390bd5,_0x25b8d1(0xca),_0x5b5ac6=>_0x5b5ac6===_0x2bb05d[_0x25b8d1(0xee)]);}async[_0x1c086d(0xc9)](){const _0x4533be=_0x1c086d,_0x2fdb6d=this[_0x4533be(0xd3)][_0x4533be(0xd9)][_0x4533be(0xe0)](_0x100805),_0xe8c68f=this[_0x4533be(0xd3)][_0x4533be(0xd9)][_0x4533be(0xe0)](_0x300bb3),_0x2766df=async()=>{const _0x33baf8=_0x4533be,_0x2ab9aa=this[_0x33baf8(0xdb)][_0x33baf8(0x117)],_0x18e232=_0x2ab9aa['id'],_0x3ef8db=_0x18e232!==_0xe8c68f[_0x33baf8(0x102)];if(_0x3ef8db){const _0x536b46=_0xe8c68f[_0x33baf8(0xba)]-this[_0x33baf8(0xfb)],_0x13eca5=this[_0x33baf8(0xb0)]();this[_0x33baf8(0xdb)][_0x33baf8(0x10f)][_0x33baf8(0xd2)]();if(_0x2ab9aa[_0x33baf8(0xc0)]+_0x536b46!==_0x13eca5){const _0x43437c=_0x2ab9aa[_0x33baf8(0xbd)]+_0x536b46,_0x42bf7d=this[_0x33baf8(0xd3)][_0x33baf8(0xd9)][_0x33baf8(0xe0)](_0x57a206),_0x228fbf=this[_0x33baf8(0xdb)][_0x33baf8(0xe7)]({'revision':_0x2ab9aa,'from':_0x43437c,'to':_0x13eca5});_0x228fbf['id']=_0x2ab9aa['id'];const _0x4dac0b=_0x228fbf[_0x33baf8(0xe5)][_0x33baf8(0xf6)](_0x409928=>_0x42bf7d[_0x33baf8(0x111)](_0x409928));_0x2ab9aa[_0x33baf8(0xed)]({..._0x228fbf,'authors':_0x4dac0b},!0x0),this[_0x33baf8(0xdb)][_0x33baf8(0x104)](_0x2ab9aa['id'],_0x228fbf,!0x0);}this[_0x33baf8(0xdb)][_0x33baf8(0xf9)]=_0x13eca5,(_0x2ab9aa[_0x33baf8(0xc0)]===_0x2ab9aa[_0x33baf8(0xbd)]&&!this[_0x33baf8(0xdb)][_0x33baf8(0x109)][_0x33baf8(0xe2)](_0x18e232)&&this[_0x33baf8(0xdb)][_0x33baf8(0x116)][_0x33baf8(0xd0)][_0x33baf8(0xb2)](_0x18e232),this[_0x33baf8(0xdb)][_0x33baf8(0xdd)](_0x13eca5));}const {revisions:_0x463577,requestId:_0x15dfb0}=await this[_0x33baf8(0x108)][_0x33baf8(0xc9)](_0x2fdb6d[_0x33baf8(0xb6)],this[_0x33baf8(0xcc)]);_0x3ef8db&&_0x463577[_0x33baf8(0xef)]>0x0?_0xe8c68f[_0x33baf8(0x106)]():(await this[_0x33baf8(0xc7)](_0x463577),this[_0x33baf8(0xeb)](_0x463577,_0x15dfb0),this[_0x33baf8(0xdb)][_0x33baf8(0x10e)]());};return _0xe8c68f[_0x4533be(0x10d)]?_0x2766df():new Promise((_0x320932,_0x2389b6)=>{const _0x1daeea=_0x4533be;_0xe8c68f[_0x1daeea(0xcf)](_0x1daeea(0xe9),()=>{const _0x388ded=_0x1daeea;_0x2766df()[_0x388ded(0xcd)](_0x320932)[_0x388ded(0xd4)](_0x2389b6);});});}[_0x1c086d(0xa8)](){const _0x50a556=_0x1c086d;super[_0x50a556(0xa8)]();}async[_0x1c086d(0xf5)](){const _0x5b1963=_0x1c086d;this[_0x5b1963(0x108)][_0x5b1963(0xf8)]||await new Promise(_0x12d68e=>{const _0x3d5e99=_0x5b1963;this[_0x3d5e99(0xb5)](this[_0x3d5e99(0x108)],_0x3d5e99(0x110),_0x508af5=>{const _0x302e7b=_0x3d5e99;_0x508af5[_0x302e7b(0xdf)](),_0x12d68e();});});}[_0x1c086d(0xb0)](){const _0x2b1910=_0x1c086d,_0x182ef3=this[_0x2b1910(0xd3)][_0x2b1910(0xd9)][_0x2b1910(0xe0)](_0x300bb3)[_0x2b1910(0xda)][_0x2b1910(0xaa)]()[_0x2b1910(0xfd)]();for(const _0x572dcd of _0x182ef3)if(_0x2b1910(0xc6)!==_0x572dcd[_0x2b1910(0xea)]||_0x572dcd[_0x2b1910(0xf2)])return _0x572dcd[_0x2b1910(0x115)]+0x1;}[_0x1c086d(0xcb)](){const _0x13a7f2=_0x1c086d,_0x50ddb5=this[_0x13a7f2(0xd3)][_0x13a7f2(0xd9)][_0x13a7f2(0xe0)](_0x300bb3);return new Promise(_0xb36f6a=>{const _0x49702b=_0x13a7f2;_0x50ddb5[_0x49702b(0xc4)]?_0x50ddb5[_0x49702b(0xcf)](_0x49702b(0xa9),()=>{const _0x5af832=_0x49702b;_0xb36f6a(this[_0x5af832(0xb0)]());}):_0xb36f6a(this[_0x49702b(0xb0)]());});}[_0x1c086d(0xeb)](_0x940e1e,_0x3ae272){const _0x151c1f=_0x1c086d,_0x3a4a32=this[_0x151c1f(0xdb)][_0x151c1f(0x116)];this[_0x151c1f(0xcc)]=_0x3ae272;for(const _0x3f55e9 of _0x940e1e){const _0x1fff31=_0x3a4a32[_0x151c1f(0x105)](_0x3f55e9['id']);if(_0x1fff31){if((_0x3f55e9[_0x151c1f(0xbd)]||_0x3f55e9[_0x151c1f(0xc0)])&&(_0x3f55e9[_0x151c1f(0x114)]=null),_0x1fff31===this[_0x151c1f(0xdb)][_0x151c1f(0x117)]){const _0x2a378a=Math[_0x151c1f(0xab)](_0x1fff31[_0x151c1f(0xc0)],_0x3f55e9[_0x151c1f(0xc0)]),_0x5e63cc=Math[_0x151c1f(0xab)](_0x1fff31[_0x151c1f(0xbd)],_0x3f55e9[_0x151c1f(0xbd)]);let _0x2ee915;_0x1fff31[_0x151c1f(0xc0)]===_0x3f55e9[_0x151c1f(0xc0)]&&_0x1fff31[_0x151c1f(0xbd)]===_0x3f55e9[_0x151c1f(0xbd)]?(_0x2ee915=!0x0,this[_0x151c1f(0xe8)](_0x3f55e9)):_0x3f55e9[_0x151c1f(0xc0)]===_0x2a378a&&_0x3f55e9[_0x151c1f(0xbd)]===_0x5e63cc?_0x2ee915=!0x1:(_0x1fff31[_0x151c1f(0xc0)]===_0x2a378a&&_0x1fff31[_0x151c1f(0xbd)]===_0x5e63cc||this[_0x151c1f(0xc2)]({'revision':_0x1fff31,'from':_0x5e63cc,'to':_0x2a378a}),_0x2ee915=!0x0),_0x2ee915&&(delete _0x3f55e9[_0x151c1f(0xbd)],delete _0x3f55e9[_0x151c1f(0xc0)],delete _0x3f55e9[_0x151c1f(0x114)],delete _0x3f55e9[_0x151c1f(0xac)],delete _0x3f55e9[_0x151c1f(0xe5)]);}this[_0x151c1f(0xdb)][_0x151c1f(0xb8)](_0x3f55e9),this[_0x151c1f(0xe8)](_0x3f55e9);}else this[_0x151c1f(0xdb)][_0x151c1f(0xfe)](_0x3f55e9);}const _0x1034e7=_0x3a4a32[_0x151c1f(0xb4)]();_0x1034e7[_0x151c1f(0xfd)]();for(let _0x37e8a9=0x0;_0x37e8a9<_0x1034e7[_0x151c1f(0xef)]-0x1;_0x37e8a9++){const _0x572157=_0x1034e7[_0x37e8a9],_0x3f8a04=_0x1034e7[_0x37e8a9+0x1];if(_0x572157[_0x151c1f(0xbd)]<_0x3f8a04[_0x151c1f(0xc0)]){const _0x279378=_0x3f8a04[_0x151c1f(0xc0)],_0x1a6b8e=Math[_0x151c1f(0xab)](_0x279378,_0x572157[_0x151c1f(0xc0)]);this[_0x151c1f(0xc2)]({'revision':_0x572157,'from':_0x279378,'to':_0x1a6b8e});}}}[_0x1c086d(0xc2)]({revision:_0xa33244,from:_0x3c5e8d,to:_0x3a1d6b}={}){const _0x5086b5=_0x1c086d,_0x1b2cb7=this[_0x5086b5(0xd3)][_0x5086b5(0xd9)][_0x5086b5(0xe0)](_0x57a206),_0x38486a=this[_0x5086b5(0xdb)][_0x5086b5(0xe7)]({'revision':_0xa33244,'from':_0x3c5e8d,'to':_0x3a1d6b});_0x38486a[_0x5086b5(0xc1)]=_0x38486a[_0x5086b5(0xe5)][_0x5086b5(0xf6)](_0x49ecc9=>_0x1b2cb7[_0x5086b5(0x111)](_0x49ecc9)),_0xa33244[_0x5086b5(0xed)](_0x38486a);}[_0x1c086d(0xe8)](_0x3668d6){const _0x3a634f=_0x1c086d,_0x5e03c6={};_0x5e03c6['id']=_0x3668d6['id'];for(const _0x3e2ec3 of Object[_0x3a634f(0xa6)](_0x3668d6))'id'!==_0x3e2ec3&&(_0x5e03c6[_0x3e2ec3]=void 0x0);this[_0x3a634f(0xdb)][_0x3a634f(0x104)](_0x5e03c6['id'],_0x5e03c6,!0x0);}async[_0x1c086d(0xc7)](_0x2b3af0){const _0xaf7ff3=_0x1c086d,_0x37ff34=this[_0xaf7ff3(0xd3)][_0xaf7ff3(0xd9)][_0xaf7ff3(0xe0)](_0x57a206),{connection:_0x3c5df4}=this[_0xaf7ff3(0xd3)][_0xaf7ff3(0xd9)][_0xaf7ff3(0xe0)](_0x100805),_0x1fde7b=new Set();for(const _0x4ae677 of _0x2b3af0){for(const _0x45369d of _0x4ae677[_0xaf7ff3(0xe5)])_0x15007f(_0x45369d);_0x4ae677[_0xaf7ff3(0xfc)]&&_0x15007f(_0x4ae677[_0xaf7ff3(0xfc)]);}if(0x0===_0x1fde7b[_0xaf7ff3(0x103)])return;const _0x3e7aaf=await _0x4da39c[_0xaf7ff3(0xbc)](_0x3c5df4,Array[_0xaf7ff3(0xc3)](_0x1fde7b));for(const _0x39d319 of _0x3e7aaf)_0x37ff34[_0xaf7ff3(0x111)](_0x39d319['id'])||_0x37ff34[_0xaf7ff3(0xbb)](_0x39d319);function _0x15007f(_0x2aef6){const _0x44763e=_0xaf7ff3;_0x37ff34[_0x44763e(0x111)](_0x2aef6)||_0x1fde7b[_0x44763e(0xd8)](_0x2aef6);}}}u[_0x1c086d(0xf0)]=_0x1f95b0;export default u;function _0x5412(){const _0x4bed87=['_getLatestVersionFromServerOperations','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','remove','400','getRevisions','listenTo','connection','CloudServicesRevisionHistoryAdapter','setRevisionData','code','_offset','addUser','getMany','fromVersion','5537308FfOkMj','init','toVersion','authors','_fixRevision','from','_isPendingUpdate','923dHZgMw','marker','_fetchMissingUsers','connect','reconnect','state','_getLatestVersion','_lastRequestId','then','requires','once','_revisions','bind','reInit','editor','catch','collaboration.channelId','addToReconnectionStack','pluginName','add','plugins','serverHistory','_revisionTracker','cloud-services-internal-error:\x20Request\x20timeout.','_createCurrentRevision','isBundleUploaded','off','get','4457663kVPUeQ','has','updateRevisions','wrongRequestId','authorsIds','isOfficialPlugin','buildRevisionData','_preventResendingRevisionData','change:_isConnected','type','_handleRevisionsUpdate','isEnabled','_update','CONNECTED','length','RevisionHistoryService','isEmptyCurrent','affectsData','470ZhyqoX','1314ftvxDo','_waitForServiceReady','map','RevisionTracker','isConnected','_startingVersion','config','_oldOffset','creatorId','reverse','addRevisionData','cloudServices.bundleVersion','startsWith','725787FuqevA','sessionId','size','_bufferUpdate','getRevision','_handleReconnectionError','adapter','_revisionHistoryService','_bufferedUpdates','48AsrZza','setSource','data','_isConnected','sendBufferedUpdates','_revisionDataBuilder','connected','getUser','3121218CNGmqd','cloud-services-internal-error:\x20Not\x20connected.','diffData','baseVersion','repository','currentRevision','revisionsUpdated','keys','16325VPqksz','destroy','change:_isPendingUpdate','getOperations','max','createdAt','35401100JRdCMe','message','isPremiumPlugin'];_0x5412=function(){return _0x4bed87;};return _0x5412();}function st(_0x591aaa){const _0x724d54=_0x1c086d;return _0x591aaa[_0x724d54(0xae)][_0x724d54(0x100)](_0x724d54(0xb1))||_0x591aaa[_0x724d54(0xae)][_0x724d54(0x100)](_0x724d54(0x113))||_0x591aaa[_0x724d54(0xae)][_0x724d54(0x100)](_0x724d54(0xdc));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e2c91=_0x3fb4;(function(_0x3071d8,_0x442b2b){const _0xe877f2=_0x3fb4,_0x207627=_0x3071d8();while(!![]){try{const _0x391075=-parseInt(_0xe877f2(0x18f))/0x1*(parseInt(_0xe877f2(0x1b2))/0x2)+-parseInt(_0xe877f2(0x196))/0x3+-parseInt(_0xe877f2(0x190))/0x4+-parseInt(_0xe877f2(0x199))/0x5+parseInt(_0xe877f2(0x1b1))/0x6+parseInt(_0xe877f2(0x1ad))/0x7*(parseInt(_0xe877f2(0x1a7))/0x8)+-parseInt(_0xe877f2(0x185))/0x9*(-parseInt(_0xe877f2(0x192))/0xa);if(_0x391075===_0x442b2b)break;else _0x207627['push'](_0x207627['shift']());}catch(_0x55ecdc){_0x207627['push'](_0x207627['shift']());}}}(_0x39f9,0xd19a6));function _0x3fb4(_0x1b0dac,_0x526612){const _0x39f9e4=_0x39f9();return _0x3fb4=function(_0x3fb4c8,_0x3a9f4c){_0x3fb4c8=_0x3fb4c8-0x17a;let _0x1d1778=_0x39f9e4[_0x3fb4c8];return _0x1d1778;},_0x3fb4(_0x1b0dac,_0x526612);}import{Plugin as _0x293bc1}from'ckeditor5/src/core.js';import{User as _0xb3a2c6,TrackChangesService as _0x48372e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x1000fa from'../realtimecollaborativeediting/websocketgateway.js';import _0x53bc94 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x4f5d6f}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x293bc1{static get[_0x3e2c91(0x198)](){const _0x45690a=_0x3e2c91;return[_0x53bc94,_0x45690a(0x1a8),_0x1000fa];}static get[_0x3e2c91(0x17d)](){const _0x22dc5c=_0x3e2c91;return _0x22dc5c(0x188);}static get[_0x3e2c91(0x187)](){return!0x0;}static get[_0x3e2c91(0x17e)](){return!0x0;}constructor(_0x3e6324){const _0x59b06=_0x3e2c91;super(_0x3e6324);const _0x5acac8=this[_0x59b06(0x1af)][_0x59b06(0x1a6)][_0x59b06(0x186)](_0x59b06(0x184));this[_0x59b06(0x1b9)]=new Map(),this[_0x59b06(0x1b0)]=new f[(_0x59b06(0x1b4))](_0x5acac8);}[_0x3e2c91(0x1b6)](){const _0x41aff5=_0x3e2c91,_0x3325dd=this[_0x41aff5(0x1af)][_0x41aff5(0x182)][_0x41aff5(0x186)](_0x1000fa),_0x429b7e=this[_0x41aff5(0x1af)][_0x41aff5(0x182)][_0x41aff5(0x186)](_0x41aff5(0x1a8));return _0x429b7e[_0x41aff5(0x19f)]={'getSuggestion':async _0xc1870a=>{const _0x2edf51=_0x41aff5;await this[_0x2edf51(0x19c)]();const _0x331c2a=await this[_0x2edf51(0x1b0)][_0x2edf51(0x186)](_0xc1870a)[_0x2edf51(0x19d)](w);return await this[_0x2edf51(0x1b3)]([_0x331c2a]),_0x331c2a;},'addSuggestion':async({id:_0x40e1ad,type:_0xac997,data:_0x110890,originalSuggestionId:_0x32a92f,attributes:_0x5cfb1d})=>{const _0x419b57=_0x41aff5;await this[_0x419b57(0x19c)]();const _0x5e7573={'id':_0x40e1ad,'type':_0xac997,'data':_0x110890,'originalSuggestionId':_0x32a92f,'attributes':_0x5cfb1d},_0x57483b=await this[_0x419b57(0x1b0)][_0x419b57(0x19e)](_0x40e1ad,_0xac997,_0x110890,_0x32a92f,_0x5cfb1d)[_0x419b57(0x19d)](_0x36d45b=>{if(st(_0x36d45b))return new Promise(_0x231a75=>{const _0x54d0e4=_0x3fb4;this[_0x54d0e4(0x1b9)][_0x54d0e4(0x195)](_0x40e1ad,{'resolve':_0x231a75,'suggestionData':_0x5e7573});});throw _0x36d45b;});return this[_0x419b57(0x1b9)][_0x419b57(0x18e)](_0x40e1ad),_0x57483b;},'updateSuggestion':async(_0x310ac8,_0x5158fd)=>{const _0x3703f6=_0x41aff5;if(await this[_0x3703f6(0x19c)](),_0x3703f6(0x18a)!==_0x5158fd[_0x3703f6(0x1ac)])return this[_0x3703f6(0x1b0)][_0x3703f6(0x1b5)](_0x310ac8,_0x5158fd)[_0x3703f6(0x19d)](w);}},this[_0x41aff5(0x18b)](this[_0x41aff5(0x1b0)],_0x41aff5(0x17a),(_0x2e5d63,_0x5bb7ca)=>{const _0x4d1692=_0x41aff5;_0x429b7e[_0x4d1692(0x189)](_0x5bb7ca['id'])&&(_0x429b7e[_0x4d1692(0x18c)](_0x5bb7ca['id'])[_0x4d1692(0x197)]=_0x5bb7ca[_0x4d1692(0x197)]);}),this[_0x41aff5(0x1b0)][_0x41aff5(0x19a)](_0x3325dd[_0x41aff5(0x1a0)])[_0x41aff5(0x194)](_0x4020c8=>(_0x3325dd[_0x41aff5(0x17c)](this),this[_0x41aff5(0x1b3)](_0x4020c8)[_0x41aff5(0x194)](()=>{const _0x4107a7=_0x41aff5;for(const _0x258035 of _0x4020c8){_0x429b7e[_0x4107a7(0x193)](_0x258035)[_0x4107a7(0x1b8)]=!0x0;}})));}async[_0x3e2c91(0x1ab)](){const _0x429436=_0x3e2c91,_0x4819e0=this[_0x429436(0x1af)][_0x429436(0x182)][_0x429436(0x186)](_0x429436(0x1a8)),{connection:_0x47abe3}=this[_0x429436(0x1af)][_0x429436(0x182)][_0x429436(0x186)](_0x1000fa),_0x262c88=await this[_0x429436(0x1b0)][_0x429436(0x19a)](_0x47abe3);await this[_0x429436(0x1b3)](_0x262c88);for(const {suggestionData:_0xe5cbd9,resolve:_0x4f1c28}of this[_0x429436(0x1b9)][_0x429436(0x180)]()){let _0x3bde37=_0x262c88[_0x429436(0x1a4)](_0x39343a=>_0x39343a['id']===_0xe5cbd9['id']);_0x3bde37||(_0x3bde37=await this[_0x429436(0x1b0)][_0x429436(0x19e)](_0xe5cbd9['id'],_0xe5cbd9[_0x429436(0x181)],_0xe5cbd9[_0x429436(0x1a1)],_0xe5cbd9[_0x429436(0x183)])),_0x4f1c28(_0x3bde37);}for(const _0x5b5e29 of _0x262c88)_0x4819e0[_0x429436(0x189)](_0x5b5e29['id'])||_0x4819e0[_0x429436(0x193)](_0x5b5e29);}async[_0x3e2c91(0x19c)](){const _0x361ffb=_0x3e2c91;this[_0x361ffb(0x1b0)][_0x361ffb(0x1a3)]||await new Promise(_0x37dfbf=>{const _0x296bef=_0x361ffb;this[_0x296bef(0x18b)](this[_0x296bef(0x1b0)],_0x296bef(0x18d),_0x1a4349=>{const _0x1f7ad3=_0x296bef;_0x1a4349[_0x1f7ad3(0x17b)](),_0x37dfbf();});});}async[_0x3e2c91(0x1b3)](_0x120929){const _0x575c4f=_0x3e2c91,_0x108e1f=this[_0x575c4f(0x1af)][_0x575c4f(0x182)][_0x575c4f(0x186)](_0x4f5d6f),{connection:_0x3dfafb}=this[_0x575c4f(0x1af)][_0x575c4f(0x182)][_0x575c4f(0x186)](_0x1000fa),_0x5f3c7c=new Set();for(const {authorId:_0x34a8bf}of _0x120929)_0x108e1f[_0x575c4f(0x1aa)](_0x34a8bf)||_0x5f3c7c[_0x575c4f(0x19e)](_0x34a8bf);if(0x0===_0x5f3c7c[_0x575c4f(0x19b)])return;const _0x57ba8a=await _0xb3a2c6[_0x575c4f(0x1a2)](_0x3dfafb,Array[_0x575c4f(0x191)](_0x5f3c7c));for(const _0x4893e7 of _0x57ba8a)_0x108e1f[_0x575c4f(0x1aa)](_0x4893e7['id'])||_0x108e1f[_0x575c4f(0x1ae)](_0x4893e7);}}f[_0x3e2c91(0x1b4)]=_0x48372e;export default f;function w(_0x30bde0){if(st(_0x30bde0))return new Promise(()=>{});throw _0x30bde0;}function st(_0x2b5ae3){const _0x116f6c=_0x3e2c91;return _0x2b5ae3[_0x116f6c(0x1a9)][_0x116f6c(0x1b7)](_0x116f6c(0x1a5))||_0x2b5ae3[_0x116f6c(0x1a9)][_0x116f6c(0x1b7)](_0x116f6c(0x17f));}function _0x39f9(){const _0x3ca1fb=['cloud-services-internal-error:\x20Request\x20timeout.','values','type','plugins','originalSuggestionId','collaboration.channelId','23075487MJmWZD','get','isOfficialPlugin','CloudServicesTrackChangesAdapter','hasSuggestion','open','listenTo','getSuggestion','connected','delete','187363UlCnvV','4546508VdUmhn','from','10OmsvbQ','addSuggestionData','then','set','1386405BegdXV','attributes','requires','5379805TDwbHU','connect','size','_waitForServiceReady','catch','add','adapter','connection','data','getMany','isConnected','find','cloud-services-internal-error:\x20Not\x20connected.','config','2266576EiwXlP','TrackChangesEditing','message','getUser','reconnect','state','35AxYedd','addUser','editor','_trackChangesService','4061292tnKDZb','12UmzFdy','_fetchMissingUsersForThreads','TrackChangesService','update','init','startsWith','_saved','_bufferedRequests','suggestionUpdated','off','addToReconnectionStack','pluginName','isPremiumPlugin'];_0x39f9=function(){return _0x3ca1fb;};return _0x39f9();}
23
+ const _0x16ab19=_0x229a;(function(_0x2da65b,_0xf02a83){const _0x2b4c62=_0x229a,_0x354060=_0x2da65b();while(!![]){try{const _0x54c075=parseInt(_0x2b4c62(0x1a6))/0x1*(parseInt(_0x2b4c62(0x195))/0x2)+-parseInt(_0x2b4c62(0x194))/0x3*(parseInt(_0x2b4c62(0x1cc))/0x4)+parseInt(_0x2b4c62(0x199))/0x5+-parseInt(_0x2b4c62(0x1c8))/0x6+parseInt(_0x2b4c62(0x1a5))/0x7*(-parseInt(_0x2b4c62(0x1ab))/0x8)+parseInt(_0x2b4c62(0x18e))/0x9+parseInt(_0x2b4c62(0x1c4))/0xa;if(_0x54c075===_0xf02a83)break;else _0x354060['push'](_0x354060['shift']());}catch(_0x4a7c17){_0x354060['push'](_0x354060['shift']());}}}(_0x3733,0xa4499));import{Plugin as _0x5453f9}from'ckeditor5/src/core.js';function _0x3733(){const _0xbf89f6=['connection','addSuggestionData','isOfficialPlugin','values','from','config','state','_saved','24668PflsLP','1KbvmNZ','cloud-services-internal-error:\x20Not\x20connected.','CloudServicesTrackChangesAdapter','isConnected','attributes','1984kFAdIc','adapter','addToReconnectionStack','plugins','pluginName','update','connect','isPremiumPlugin','startsWith','reconnect','listenTo','message','delete','addUser','set','originalSuggestionId','catch','_trackChangesService','connected','find','getMany','_waitForServiceReady','add','then','type','4136160lYbBox','requires','TrackChangesEditing','size','2081838ZYISnK','editor','hasSuggestion','getSuggestion','1595960fbobxx','open','9235323RvHTUW','_bufferedRequests','suggestionUpdated','get','TrackChangesService','off','6MGizWZ','1081712btrIBG','data','cloud-services-internal-error:\x20Request\x20timeout.','collaboration.channelId','3556035chgeVv','_fetchMissingUsersForThreads','init','getUser'];_0x3733=function(){return _0xbf89f6;};return _0x3733();}import{User as _0x11d889,TrackChangesService as _0x32d408}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x90f915 from'../realtimecollaborativeediting/websocketgateway.js';function _0x229a(_0x14ee00,_0x47e4f1){const _0x37330f=_0x3733();return _0x229a=function(_0x229aa5,_0x417fc5){_0x229aa5=_0x229aa5-0x18d;let _0x2d4fff=_0x37330f[_0x229aa5];return _0x2d4fff;},_0x229a(_0x14ee00,_0x47e4f1);}import _0x141740 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x271905}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x5453f9{static get[_0x16ab19(0x1c5)](){const _0x4ba09d=_0x16ab19;return[_0x141740,_0x4ba09d(0x1c6),_0x90f915];}static get[_0x16ab19(0x1af)](){const _0x5cf4d0=_0x16ab19;return _0x5cf4d0(0x1a8);}static get[_0x16ab19(0x19f)](){return!0x0;}static get[_0x16ab19(0x1b2)](){return!0x0;}constructor(_0x2d270c){const _0x1b49a7=_0x16ab19;super(_0x2d270c);const _0x32610b=this[_0x1b49a7(0x1c9)][_0x1b49a7(0x1a2)][_0x1b49a7(0x191)](_0x1b49a7(0x198));this[_0x1b49a7(0x18f)]=new Map(),this[_0x1b49a7(0x1bc)]=new f[(_0x1b49a7(0x192))](_0x32610b);}[_0x16ab19(0x19b)](){const _0x3475e7=_0x16ab19,_0x516e80=this[_0x3475e7(0x1c9)][_0x3475e7(0x1ae)][_0x3475e7(0x191)](_0x90f915),_0x1f35b8=this[_0x3475e7(0x1c9)][_0x3475e7(0x1ae)][_0x3475e7(0x191)](_0x3475e7(0x1c6));return _0x1f35b8[_0x3475e7(0x1ac)]={'getSuggestion':async _0xae6eb5=>{const _0x4f5112=_0x3475e7;await this[_0x4f5112(0x1c0)]();const _0xced98f=await this[_0x4f5112(0x1bc)][_0x4f5112(0x191)](_0xae6eb5)[_0x4f5112(0x1bb)](R);return await this[_0x4f5112(0x19a)]([_0xced98f]),_0xced98f;},'addSuggestion':async({id:_0x1a99ba,type:_0x26b0da,data:_0x1eea6d,originalSuggestionId:_0x505a27,attributes:_0x2c3b2a})=>{const _0x5cbf8a=_0x3475e7;await this[_0x5cbf8a(0x1c0)]();const _0x2bbde5={'id':_0x1a99ba,'type':_0x26b0da,'data':_0x1eea6d,'originalSuggestionId':_0x505a27,'attributes':_0x2c3b2a},_0x31169f=await this[_0x5cbf8a(0x1bc)][_0x5cbf8a(0x1c1)](_0x1a99ba,_0x26b0da,_0x1eea6d,_0x505a27,_0x2c3b2a)[_0x5cbf8a(0x1bb)](_0x5974bf=>{if(st(_0x5974bf))return new Promise(_0x34211d=>{const _0x193f18=_0x229a;this[_0x193f18(0x18f)][_0x193f18(0x1b9)](_0x1a99ba,{'resolve':_0x34211d,'suggestionData':_0x2bbde5});});throw _0x5974bf;});return this[_0x5cbf8a(0x18f)][_0x5cbf8a(0x1b7)](_0x1a99ba),_0x31169f;},'updateSuggestion':async(_0xdadb6f,_0x16890a)=>{const _0x297b5b=_0x3475e7;if(await this[_0x297b5b(0x1c0)](),_0x297b5b(0x18d)!==_0x16890a[_0x297b5b(0x1a3)])return this[_0x297b5b(0x1bc)][_0x297b5b(0x1b0)](_0xdadb6f,_0x16890a)[_0x297b5b(0x1bb)](R);}},this[_0x3475e7(0x1b5)](this[_0x3475e7(0x1bc)],_0x3475e7(0x190),(_0x5abbee,_0x33bbbd)=>{const _0x3bd96a=_0x3475e7;_0x1f35b8[_0x3bd96a(0x1ca)](_0x33bbbd['id'])&&(_0x1f35b8[_0x3bd96a(0x1cb)](_0x33bbbd['id'])[_0x3bd96a(0x1aa)]=_0x33bbbd[_0x3bd96a(0x1aa)]);}),this[_0x3475e7(0x1bc)][_0x3475e7(0x1b1)](_0x516e80[_0x3475e7(0x19d)])[_0x3475e7(0x1c2)](_0x7d4366=>(_0x516e80[_0x3475e7(0x1ad)](this),this[_0x3475e7(0x19a)](_0x7d4366)[_0x3475e7(0x1c2)](()=>{const _0x5caffa=_0x3475e7;for(const _0x372bc9 of _0x7d4366){_0x1f35b8[_0x5caffa(0x19e)](_0x372bc9)[_0x5caffa(0x1a4)]=!0x0;}})));}async[_0x16ab19(0x1b4)](){const _0x369eba=_0x16ab19,_0x41679a=this[_0x369eba(0x1c9)][_0x369eba(0x1ae)][_0x369eba(0x191)](_0x369eba(0x1c6)),{connection:_0x31e3ee}=this[_0x369eba(0x1c9)][_0x369eba(0x1ae)][_0x369eba(0x191)](_0x90f915),_0x4c02c1=await this[_0x369eba(0x1bc)][_0x369eba(0x1b1)](_0x31e3ee);await this[_0x369eba(0x19a)](_0x4c02c1);for(const {suggestionData:_0x11d24a,resolve:_0x3d8a70}of this[_0x369eba(0x18f)][_0x369eba(0x1a0)]()){let _0x39d7b4=_0x4c02c1[_0x369eba(0x1be)](_0x38d77f=>_0x38d77f['id']===_0x11d24a['id']);_0x39d7b4||(_0x39d7b4=await this[_0x369eba(0x1bc)][_0x369eba(0x1c1)](_0x11d24a['id'],_0x11d24a[_0x369eba(0x1c3)],_0x11d24a[_0x369eba(0x196)],_0x11d24a[_0x369eba(0x1ba)])),_0x3d8a70(_0x39d7b4);}for(const _0x3beb05 of _0x4c02c1)_0x41679a[_0x369eba(0x1ca)](_0x3beb05['id'])||_0x41679a[_0x369eba(0x19e)](_0x3beb05);}async[_0x16ab19(0x1c0)](){const _0x4b7a2b=_0x16ab19;this[_0x4b7a2b(0x1bc)][_0x4b7a2b(0x1a9)]||await new Promise(_0xf465c3=>{const _0x240bd4=_0x4b7a2b;this[_0x240bd4(0x1b5)](this[_0x240bd4(0x1bc)],_0x240bd4(0x1bd),_0x2d715d=>{const _0x30c665=_0x240bd4;_0x2d715d[_0x30c665(0x193)](),_0xf465c3();});});}async[_0x16ab19(0x19a)](_0x40b9a8){const _0x207e75=_0x16ab19,_0x5a52be=this[_0x207e75(0x1c9)][_0x207e75(0x1ae)][_0x207e75(0x191)](_0x271905),{connection:_0x27966f}=this[_0x207e75(0x1c9)][_0x207e75(0x1ae)][_0x207e75(0x191)](_0x90f915),_0x284b53=new Set();for(const {authorId:_0x26d431}of _0x40b9a8)_0x5a52be[_0x207e75(0x19c)](_0x26d431)||_0x284b53[_0x207e75(0x1c1)](_0x26d431);if(0x0===_0x284b53[_0x207e75(0x1c7)])return;const _0x203daa=await _0x11d889[_0x207e75(0x1bf)](_0x27966f,Array[_0x207e75(0x1a1)](_0x284b53));for(const _0x4251dc of _0x203daa)_0x5a52be[_0x207e75(0x19c)](_0x4251dc['id'])||_0x5a52be[_0x207e75(0x1b8)](_0x4251dc);}}f[_0x16ab19(0x192)]=_0x32d408;export default f;function R(_0x578c6c){if(st(_0x578c6c))return new Promise(()=>{});throw _0x578c6c;}function st(_0xc7ac40){const _0x1f7c1a=_0x16ab19;return _0xc7ac40[_0x1f7c1a(0x1b6)][_0x1f7c1a(0x1b3)](_0x1f7c1a(0x1a7))||_0xc7ac40[_0x1f7c1a(0x1b6)][_0x1f7c1a(0x1b3)](_0x1f7c1a(0x197));}