@ckeditor/ckeditor5-real-time-collaboration 47.2.0-alpha.4 → 47.2.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c095e=_0x4ace;(function(_0x118e49,_0x204966){const _0x5b8378=_0x4ace,_0x22227e=_0x118e49();while(!![]){try{const _0x306da1=parseInt(_0x5b8378(0xff))/0x1+-parseInt(_0x5b8378(0xfe))/0x2+parseInt(_0x5b8378(0xf5))/0x3+-parseInt(_0x5b8378(0xf0))/0x4+parseInt(_0x5b8378(0x11f))/0x5*(parseInt(_0x5b8378(0xf4))/0x6)+-parseInt(_0x5b8378(0x126))/0x7*(parseInt(_0x5b8378(0xf6))/0x8)+-parseInt(_0x5b8378(0x122))/0x9*(-parseInt(_0x5b8378(0x116))/0xa);if(_0x306da1===_0x204966)break;else _0x22227e['push'](_0x22227e['shift']());}catch(_0x3e1bb9){_0x22227e['push'](_0x22227e['shift']());}}}(_0x121b,0x97cf2));import{ContextPlugin as _0x48048f}from'ckeditor5/src/core.js';import{Collection as _0x2d4651,CKEditorError as _0x4c3e27}from'ckeditor5/src/utils.js';function _0x4ace(_0x54b9f7,_0x46b2d5){const _0x121bda=_0x121b();return _0x4ace=function(_0x4aced6,_0x12682d){_0x4aced6=_0x4aced6-0xee;let _0x3a5705=_0x121bda[_0x4aced6];return _0x3a5705;},_0x4ace(_0x54b9f7,_0x46b2d5);}import{WebSocketGateway as _0x38afb0}from'./websocketgateway.js';function _0x121b(){const _0x5e7d95=['connection','67205SnMFXN','sessions-unregister-not-exist','channelConnectedUsers','226422LHvoHm','hiddenInPresenceList','values','stopListening','21OhHaWw','getUserSessions','getUserRole','state','clear','_handleSessionRemove','_uniqueUsersCount','get','unregister','3761388MniRnH','role','assign','mySessionId','12ANBGCR','2124099MdwUaW','1919408KSpcjX','Sessions','getUser','has','plugins','channelSessions','size','sessionId','51398JgdjqW','38081OQHCNy','isOfficialPlugin','sessionAdd:','fire','isMe','connected','init','allConnectedUsers','isPremiumPlugin','addUser','register','delete','_registeredSessions','_handleSessionAdd','sessions-register-already-registered','pluginName','_createUser','add','remove','requires','defineMe','getUserBySessionId','context','610vodpje','_users','set','user','forEach','change:state','listenTo','orderNumber'];_0x121b=function(){return _0x5e7d95;};return _0x121b();}import{Users as _0x637149}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x48048f{[_0x5c095e(0xfb)];[_0x5c095e(0x121)];[_0x5c095e(0x106)];[_0x5c095e(0x10b)];[_0x5c095e(0x12c)];[_0x5c095e(0x117)];static get[_0x5c095e(0x10e)](){const _0xe72231=_0x5c095e;return _0xe72231(0xf7);}static get[_0x5c095e(0x100)](){return!0x0;}static get[_0x5c095e(0x107)](){return!0x0;}static get[_0x5c095e(0x112)](){return[_0x38afb0,_0x637149];}constructor(_0x4d9f0d){const _0x23cd71=_0x5c095e;super(_0x4d9f0d),this[_0x23cd71(0xfb)]=new Map(),this[_0x23cd71(0x121)]=new Map(),this[_0x23cd71(0x106)]=new _0x2d4651(),this[_0x23cd71(0x10b)]=new Map(),this[_0x23cd71(0x12c)]=0x0,this[_0x23cd71(0x117)]=this[_0x23cd71(0x115)][_0x23cd71(0xfa)][_0x23cd71(0xee)](_0x637149);}[_0x5c095e(0x105)](){const _0x4c0c16=_0x5c095e,_0x312586=this[_0x4c0c16(0x115)][_0x4c0c16(0xfa)][_0x4c0c16(0xee)](_0x38afb0);this[_0x4c0c16(0x11c)](_0x312586,_0x4c0c16(0x11b),(_0x3e3a93,_0x8e6396,_0x2a627f)=>{const _0x347fbb=_0x4c0c16;if(_0x347fbb(0x104)!==_0x2a627f)this[_0x347fbb(0xfb)][_0x347fbb(0x11a)](_0x40358b=>_0x40358b[_0x347fbb(0x12a)]()),this[_0x347fbb(0x121)][_0x347fbb(0x11a)](_0x16a846=>_0x16a846[_0x347fbb(0x12a)]()),this[_0x347fbb(0x106)][_0x347fbb(0x12a)]();else{for(const [_0x4e009f,_0x2bdd79]of this[_0x347fbb(0x10b)])for(const _0x33469f of _0x2bdd79)this[_0x347fbb(0x10c)](_0x4e009f,_0x33469f);}}),this[_0x4c0c16(0x10f)](_0x312586[_0x4c0c16(0x11e)]['me'],!0x0);}[_0x5c095e(0x109)](_0x55009d,_0x254d44){const _0xb79e3e=_0x5c095e;if(this[_0xb79e3e(0x10b)][_0xb79e3e(0xf9)](_0x55009d))throw new _0x4c3e27(_0xb79e3e(0x10d),null,{'channelId':_0x55009d});this[_0xb79e3e(0x10b)][_0xb79e3e(0x118)](_0x55009d,_0x254d44),this[_0xb79e3e(0xfb)][_0xb79e3e(0x118)](_0x55009d,new _0x2d4651()),this[_0xb79e3e(0x121)][_0xb79e3e(0x118)](_0x55009d,new _0x2d4651()),this[_0xb79e3e(0x11c)](_0x254d44,_0xb79e3e(0x110),(_0x1ea439,_0x4e0d45)=>this[_0xb79e3e(0x10c)](_0x55009d,_0x4e0d45)),this[_0xb79e3e(0x11c)](_0x254d44,_0xb79e3e(0x111),(_0x3875ae,_0x16f227)=>this[_0xb79e3e(0x12b)](_0x55009d,_0x16f227));for(const _0xb4ccee of _0x254d44)this[_0xb79e3e(0x10c)](_0x55009d,_0xb4ccee);}[_0x5c095e(0xef)](_0x290b3b){const _0x59e744=_0x5c095e;if(!this[_0x59e744(0x10b)][_0x59e744(0xf9)](_0x290b3b))throw new _0x4c3e27(_0x59e744(0x120),null,{'channelId':_0x290b3b});const _0x46568f=this[_0x59e744(0x10b)][_0x59e744(0xee)](_0x290b3b);this[_0x59e744(0x125)](_0x46568f);for(const _0x54600b of _0x46568f)_0x59e744(0x104)===this[_0x59e744(0x115)][_0x59e744(0xfa)][_0x59e744(0xee)](_0x38afb0)[_0x59e744(0x129)]&&this[_0x59e744(0x12b)](_0x290b3b,_0x54600b);this[_0x59e744(0x10b)][_0x59e744(0x10a)](_0x290b3b),this[_0x59e744(0xfb)][_0x59e744(0x10a)](_0x290b3b),this[_0x59e744(0x121)][_0x59e744(0x10a)](_0x290b3b);}get[_0x5c095e(0xf3)](){const _0x99e215=_0x5c095e;return this[_0x99e215(0x115)][_0x99e215(0xfa)][_0x99e215(0xee)](_0x38afb0)[_0x99e215(0x11e)][_0x99e215(0xfd)];}[_0x5c095e(0x114)](_0xe6a92f){const _0x59e45a=_0x5c095e;for(const _0x22d98b of this[_0x59e45a(0xfb)][_0x59e45a(0x124)]())for(const _0x1026be of _0x22d98b)if(_0x1026be['id']===_0xe6a92f)return _0x1026be[_0x59e45a(0x119)];}[_0x5c095e(0x127)](_0x55ebd5,_0x5ab7f6){const _0x19c71f=_0x5c095e,_0x1f1a41=_0x5ab7f6?[this[_0x19c71f(0xfb)][_0x19c71f(0xee)](_0x5ab7f6)]:this[_0x19c71f(0xfb)][_0x19c71f(0x124)](),_0x260111=new Set();for(const _0x4532b6 of _0x1f1a41)for(const _0x59626d of _0x4532b6)_0x59626d[_0x19c71f(0x119)]['id']===_0x55ebd5['id']&&_0x260111[_0x19c71f(0x110)](_0x59626d['id']);return _0x260111;}[_0x5c095e(0x128)](_0x4959a4){const _0x4c8be3=_0x5c095e;for(const _0x17015b of this[_0x4c8be3(0xfb)][_0x4c8be3(0x124)]())for(const _0x10b560 of _0x17015b)if(_0x10b560[_0x4c8be3(0x119)]===_0x4959a4)return _0x10b560[_0x4c8be3(0xf1)];}[_0x5c095e(0x10c)](_0x3be893,_0x26b030){const _0x5a44b3=_0x5c095e;if(_0x5a44b3(0x104)!==this[_0x5a44b3(0x115)][_0x5a44b3(0xfa)][_0x5a44b3(0xee)](_0x38afb0)[_0x5a44b3(0x129)])return;const _0x72d6ff=_0x26b030[_0x5a44b3(0x119)],_0x7ecb18=this[_0x5a44b3(0x117)][_0x5a44b3(0xf8)](_0x72d6ff['id'])||this[_0x5a44b3(0x10f)](_0x72d6ff),_0x33d3de=Object[_0x5a44b3(0xf2)]({},_0x26b030,{'user':_0x7ecb18});if(this[_0x5a44b3(0xfb)][_0x5a44b3(0xee)](_0x3be893)[_0x5a44b3(0x110)](_0x33d3de),!_0x72d6ff[_0x5a44b3(0x123)]){const _0x37ba37=this[_0x5a44b3(0x121)][_0x5a44b3(0xee)](_0x3be893);_0x37ba37[_0x5a44b3(0xf9)](_0x7ecb18['id'])||_0x37ba37[_0x5a44b3(0x110)](_0x7ecb18),this[_0x5a44b3(0x106)][_0x5a44b3(0xf9)](_0x7ecb18['id'])||_0x72d6ff[_0x5a44b3(0x123)]||this[_0x5a44b3(0x106)][_0x5a44b3(0x110)](_0x7ecb18,_0x7ecb18[_0x5a44b3(0x103)]?0x0:void 0x0);}this[_0x5a44b3(0x102)](_0x5a44b3(0x101)+_0x3be893,{'channelId':_0x3be893,'session':_0x33d3de});}[_0x5c095e(0x12b)](_0x55ebcc,_0x51d24d){const _0x3a9a23=_0x5c095e;if(_0x3a9a23(0x104)!==this[_0x3a9a23(0x115)][_0x3a9a23(0xfa)][_0x3a9a23(0xee)](_0x38afb0)[_0x3a9a23(0x129)])return;const _0xfc32ca=this[_0x3a9a23(0x121)][_0x3a9a23(0xee)](_0x55ebcc),_0x5e76c2=_0x51d24d[_0x3a9a23(0x119)];_0x5e76c2['id']&&(this[_0x3a9a23(0xfb)][_0x3a9a23(0xee)](_0x55ebcc)[_0x3a9a23(0x111)](_0x51d24d['id']),_0xfc32ca[_0x3a9a23(0xf9)](_0x5e76c2['id'])&&!this[_0x3a9a23(0x127)](_0x5e76c2,_0x55ebcc)[_0x3a9a23(0xfc)]&&_0xfc32ca[_0x3a9a23(0x111)](_0x5e76c2['id']),this[_0x3a9a23(0x106)][_0x3a9a23(0xee)](_0x5e76c2['id'])&&!this[_0x3a9a23(0x127)](_0x5e76c2)[_0x3a9a23(0xfc)]&&this[_0x3a9a23(0x106)][_0x3a9a23(0x111)](_0x5e76c2['id']));}[_0x5c095e(0x10f)](_0x41f462,_0x51428d){const _0x61154=_0x5c095e,_0x4fc5a0=this[_0x61154(0x117)][_0x61154(0x108)](_0x41f462);return _0x51428d&&this[_0x61154(0x117)][_0x61154(0x113)](_0x41f462['id']),_0x4fc5a0[_0x61154(0x11d)]=this[_0x61154(0x12c)]++,_0x4fc5a0;}}
23
+ const _0x3c1861=_0x1e05;function _0x2edc(){const _0x3a37dc=['role','init','_registeredSessions','_createUser','stopListening','has','7349538oJmTgb','remove','163608RBVZhG','state','add','listenTo','user','register','isMe','_users','getUserBySessionId','75216sfptSS','fire','sessions-register-already-registered','connection','assign','_handleSessionAdd','7rvSDdP','129hWdoVe','441OmTHAl','addUser','pluginName','values','getUserRole','get','_handleSessionRemove','isPremiumPlugin','unregister','268412YuzCBb','forEach','getUser','sessionId','hiddenInPresenceList','plugins','sessionAdd:','25iFDIrN','sessions-unregister-not-exist','defineMe','delete','channelConnectedUsers','channelSessions','300FzwTPn','allConnectedUsers','context','2117921DSBMwL','requires','change:state','set','getUserSessions','mySessionId','539230ULSWJv','685916ZYxCkE','orderNumber','Sessions','143cXkFiK','connected','isOfficialPlugin','_uniqueUsersCount','clear','size'];_0x2edc=function(){return _0x3a37dc;};return _0x2edc();}(function(_0x37063d,_0x1ef930){const _0x2e730a=_0x1e05,_0x5b4418=_0x37063d();while(!![]){try{const _0x2d937d=parseInt(_0x2e730a(0x1ce))/0x1+-parseInt(_0x2e730a(0x1a6))/0x2*(-parseInt(_0x2e730a(0x1ad))/0x3)+parseInt(_0x2e730a(0x1b7))/0x4*(-parseInt(_0x2e730a(0x1be))/0x5)+parseInt(_0x2e730a(0x19b))/0x6*(parseInt(_0x2e730a(0x1ac))/0x7)+parseInt(_0x2e730a(0x19d))/0x8*(parseInt(_0x2e730a(0x1ae))/0x9)+parseInt(_0x2e730a(0x1cd))/0xa*(parseInt(_0x2e730a(0x1d1))/0xb)+parseInt(_0x2e730a(0x1c4))/0xc*(-parseInt(_0x2e730a(0x1c7))/0xd);if(_0x2d937d===_0x1ef930)break;else _0x5b4418['push'](_0x5b4418['shift']());}catch(_0x700d69){_0x5b4418['push'](_0x5b4418['shift']());}}}(_0x2edc,0xc8d71));import{ContextPlugin as _0x18521c}from'ckeditor5/src/core.js';import{Collection as _0x53c4af,CKEditorError as _0x2ee73f}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x35ef1c}from'./websocketgateway.js';function _0x1e05(_0xb9213a,_0x2de1dd){const _0x2edccb=_0x2edc();return _0x1e05=function(_0x1e0558,_0x2c692f){_0x1e0558=_0x1e0558-0x198;let _0x168ce5=_0x2edccb[_0x1e0558];return _0x168ce5;},_0x1e05(_0xb9213a,_0x2de1dd);}import{Users as _0x2e55e5}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x18521c{[_0x3c1861(0x1c3)];[_0x3c1861(0x1c2)];[_0x3c1861(0x1c5)];[_0x3c1861(0x1d9)];[_0x3c1861(0x1d4)];[_0x3c1861(0x1a4)];static get[_0x3c1861(0x1b0)](){const _0x58d693=_0x3c1861;return _0x58d693(0x1d0);}static get[_0x3c1861(0x1d3)](){return!0x0;}static get[_0x3c1861(0x1b5)](){return!0x0;}static get[_0x3c1861(0x1c8)](){return[_0x35ef1c,_0x2e55e5];}constructor(_0x928568){const _0x448a00=_0x3c1861;super(_0x928568),this[_0x448a00(0x1c3)]=new Map(),this[_0x448a00(0x1c2)]=new Map(),this[_0x448a00(0x1c5)]=new _0x53c4af(),this[_0x448a00(0x1d9)]=new Map(),this[_0x448a00(0x1d4)]=0x0,this[_0x448a00(0x1a4)]=this[_0x448a00(0x1c6)][_0x448a00(0x1bc)][_0x448a00(0x1b3)](_0x2e55e5);}[_0x3c1861(0x1d8)](){const _0xa086a4=_0x3c1861,_0x3543d6=this[_0xa086a4(0x1c6)][_0xa086a4(0x1bc)][_0xa086a4(0x1b3)](_0x35ef1c);this[_0xa086a4(0x1a0)](_0x3543d6,_0xa086a4(0x1c9),(_0x3f438d,_0x46eff4,_0x5bc532)=>{const _0x261c17=_0xa086a4;if(_0x261c17(0x1d2)!==_0x5bc532)this[_0x261c17(0x1c3)][_0x261c17(0x1b8)](_0xe2ee23=>_0xe2ee23[_0x261c17(0x1d5)]()),this[_0x261c17(0x1c2)][_0x261c17(0x1b8)](_0x3ba1f6=>_0x3ba1f6[_0x261c17(0x1d5)]()),this[_0x261c17(0x1c5)][_0x261c17(0x1d5)]();else{for(const [_0xbe2072,_0x579588]of this[_0x261c17(0x1d9)])for(const _0x559f12 of _0x579588)this[_0x261c17(0x1ab)](_0xbe2072,_0x559f12);}}),this[_0xa086a4(0x198)](_0x3543d6[_0xa086a4(0x1a9)]['me'],!0x0);}[_0x3c1861(0x1a2)](_0x24dba2,_0x4be62d){const _0x6103c0=_0x3c1861;if(this[_0x6103c0(0x1d9)][_0x6103c0(0x19a)](_0x24dba2))throw new _0x2ee73f(_0x6103c0(0x1a8),null,{'channelId':_0x24dba2});this[_0x6103c0(0x1d9)][_0x6103c0(0x1ca)](_0x24dba2,_0x4be62d),this[_0x6103c0(0x1c3)][_0x6103c0(0x1ca)](_0x24dba2,new _0x53c4af()),this[_0x6103c0(0x1c2)][_0x6103c0(0x1ca)](_0x24dba2,new _0x53c4af()),this[_0x6103c0(0x1a0)](_0x4be62d,_0x6103c0(0x19f),(_0x22d8c4,_0x13bfaf)=>this[_0x6103c0(0x1ab)](_0x24dba2,_0x13bfaf)),this[_0x6103c0(0x1a0)](_0x4be62d,_0x6103c0(0x19c),(_0x3ada96,_0x1fbce4)=>this[_0x6103c0(0x1b4)](_0x24dba2,_0x1fbce4));for(const _0x1a843e of _0x4be62d)this[_0x6103c0(0x1ab)](_0x24dba2,_0x1a843e);}[_0x3c1861(0x1b6)](_0x44fea3){const _0x10cc31=_0x3c1861;if(!this[_0x10cc31(0x1d9)][_0x10cc31(0x19a)](_0x44fea3))throw new _0x2ee73f(_0x10cc31(0x1bf),null,{'channelId':_0x44fea3});const _0xf87434=this[_0x10cc31(0x1d9)][_0x10cc31(0x1b3)](_0x44fea3);this[_0x10cc31(0x199)](_0xf87434);for(const _0x135c8a of _0xf87434)_0x10cc31(0x1d2)===this[_0x10cc31(0x1c6)][_0x10cc31(0x1bc)][_0x10cc31(0x1b3)](_0x35ef1c)[_0x10cc31(0x19e)]&&this[_0x10cc31(0x1b4)](_0x44fea3,_0x135c8a);this[_0x10cc31(0x1d9)][_0x10cc31(0x1c1)](_0x44fea3),this[_0x10cc31(0x1c3)][_0x10cc31(0x1c1)](_0x44fea3),this[_0x10cc31(0x1c2)][_0x10cc31(0x1c1)](_0x44fea3);}get[_0x3c1861(0x1cc)](){const _0x1cb46f=_0x3c1861;return this[_0x1cb46f(0x1c6)][_0x1cb46f(0x1bc)][_0x1cb46f(0x1b3)](_0x35ef1c)[_0x1cb46f(0x1a9)][_0x1cb46f(0x1ba)];}[_0x3c1861(0x1a5)](_0x15dd6d){const _0x1d3f95=_0x3c1861;for(const _0x3ceaed of this[_0x1d3f95(0x1c3)][_0x1d3f95(0x1b1)]())for(const _0x585c2a of _0x3ceaed)if(_0x585c2a['id']===_0x15dd6d)return _0x585c2a[_0x1d3f95(0x1a1)];}[_0x3c1861(0x1cb)](_0x1aa81d,_0xe1df22){const _0x5209c1=_0x3c1861,_0x577480=_0xe1df22?[this[_0x5209c1(0x1c3)][_0x5209c1(0x1b3)](_0xe1df22)]:this[_0x5209c1(0x1c3)][_0x5209c1(0x1b1)](),_0xd95586=new Set();for(const _0x3fe58f of _0x577480)for(const _0x18d772 of _0x3fe58f)_0x18d772[_0x5209c1(0x1a1)]['id']===_0x1aa81d['id']&&_0xd95586[_0x5209c1(0x19f)](_0x18d772['id']);return _0xd95586;}[_0x3c1861(0x1b2)](_0x3d24ef){const _0x569dfd=_0x3c1861;for(const _0x5c7194 of this[_0x569dfd(0x1c3)][_0x569dfd(0x1b1)]())for(const _0x3d1c04 of _0x5c7194)if(_0x3d1c04[_0x569dfd(0x1a1)]===_0x3d24ef)return _0x3d1c04[_0x569dfd(0x1d7)];}[_0x3c1861(0x1ab)](_0xc66381,_0x2527c6){const _0x2aa534=_0x3c1861;if(_0x2aa534(0x1d2)!==this[_0x2aa534(0x1c6)][_0x2aa534(0x1bc)][_0x2aa534(0x1b3)](_0x35ef1c)[_0x2aa534(0x19e)])return;const _0x5e1900=_0x2527c6[_0x2aa534(0x1a1)],_0x58e770=this[_0x2aa534(0x1a4)][_0x2aa534(0x1b9)](_0x5e1900['id'])||this[_0x2aa534(0x198)](_0x5e1900),_0x27ee0f=Object[_0x2aa534(0x1aa)]({},_0x2527c6,{'user':_0x58e770});if(this[_0x2aa534(0x1c3)][_0x2aa534(0x1b3)](_0xc66381)[_0x2aa534(0x19f)](_0x27ee0f),!_0x5e1900[_0x2aa534(0x1bb)]){const _0x53a4a8=this[_0x2aa534(0x1c2)][_0x2aa534(0x1b3)](_0xc66381);_0x53a4a8[_0x2aa534(0x19a)](_0x58e770['id'])||_0x53a4a8[_0x2aa534(0x19f)](_0x58e770),this[_0x2aa534(0x1c5)][_0x2aa534(0x19a)](_0x58e770['id'])||_0x5e1900[_0x2aa534(0x1bb)]||this[_0x2aa534(0x1c5)][_0x2aa534(0x19f)](_0x58e770,_0x58e770[_0x2aa534(0x1a3)]?0x0:void 0x0);}this[_0x2aa534(0x1a7)](_0x2aa534(0x1bd)+_0xc66381,{'channelId':_0xc66381,'session':_0x27ee0f});}[_0x3c1861(0x1b4)](_0x109904,_0x1c41fc){const _0x1b6e06=_0x3c1861;if(_0x1b6e06(0x1d2)!==this[_0x1b6e06(0x1c6)][_0x1b6e06(0x1bc)][_0x1b6e06(0x1b3)](_0x35ef1c)[_0x1b6e06(0x19e)])return;const _0x399c5d=this[_0x1b6e06(0x1c2)][_0x1b6e06(0x1b3)](_0x109904),_0x29f8ae=_0x1c41fc[_0x1b6e06(0x1a1)];_0x29f8ae['id']&&(this[_0x1b6e06(0x1c3)][_0x1b6e06(0x1b3)](_0x109904)[_0x1b6e06(0x19c)](_0x1c41fc['id']),_0x399c5d[_0x1b6e06(0x19a)](_0x29f8ae['id'])&&!this[_0x1b6e06(0x1cb)](_0x29f8ae,_0x109904)[_0x1b6e06(0x1d6)]&&_0x399c5d[_0x1b6e06(0x19c)](_0x29f8ae['id']),this[_0x1b6e06(0x1c5)][_0x1b6e06(0x1b3)](_0x29f8ae['id'])&&!this[_0x1b6e06(0x1cb)](_0x29f8ae)[_0x1b6e06(0x1d6)]&&this[_0x1b6e06(0x1c5)][_0x1b6e06(0x19c)](_0x29f8ae['id']));}[_0x3c1861(0x198)](_0x17f513,_0x422a60){const _0x314c65=_0x3c1861,_0x350b76=this[_0x314c65(0x1a4)][_0x314c65(0x1af)](_0x17f513);return _0x422a60&&this[_0x314c65(0x1a4)][_0x314c65(0x1c0)](_0x17f513['id']),_0x350b76[_0x314c65(0x1cf)]=this[_0x314c65(0x1d4)]++,_0x350b76;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13d916=_0x4e72;function _0x4e72(_0x2617fd,_0x23396a){const _0x47e781=_0x47e7();return _0x4e72=function(_0x4e7245,_0x35fd98){_0x4e7245=_0x4e7245-0x1a2;let _0x418115=_0x47e781[_0x4e7245];return _0x418115;},_0x4e72(_0x2617fd,_0x23396a);}(function(_0x188b81,_0x200ded){const _0x1dbafb=_0x4e72,_0x15b611=_0x188b81();while(!![]){try{const _0x41a96b=parseInt(_0x1dbafb(0x1b5))/0x1*(parseInt(_0x1dbafb(0x1b9))/0x2)+-parseInt(_0x1dbafb(0x212))/0x3*(parseInt(_0x1dbafb(0x1f2))/0x4)+parseInt(_0x1dbafb(0x1f5))/0x5*(-parseInt(_0x1dbafb(0x21f))/0x6)+parseInt(_0x1dbafb(0x1ad))/0x7*(-parseInt(_0x1dbafb(0x1f7))/0x8)+parseInt(_0x1dbafb(0x1a7))/0x9+parseInt(_0x1dbafb(0x1b4))/0xa*(parseInt(_0x1dbafb(0x1c6))/0xb)+-parseInt(_0x1dbafb(0x1c2))/0xc;if(_0x41a96b===_0x200ded)break;else _0x15b611['push'](_0x15b611['shift']());}catch(_0x4ff0c9){_0x15b611['push'](_0x15b611['shift']());}}}(_0x47e7,0xaaaab));import{Plugin as _0x88f661}from'ckeditor5/src/core.js';import{global as _0x2f0687,DomEmitterMixin as _0x57a315}from'ckeditor5/src/utils.js';function _0x47e7(){const _0x33c838=['highest','clear','user:range','getFirstRange','createUIElement','getStart','isSimilar','hasContent','false','user:position:','init','add','contenteditable','marker','conversion','detach','getContainedElement','5261319JYVwSa','classList','addMarker','rootName','schema','getUserBySessionId','2795919kSjGPy','start','ck-user__selection','mapper','toDomElement','newRange','undo','126120uGXoxE','1603UWyqOS','batch','startsWith','$text','712ONQGMZ','oldRange','createElement','$graveyard','isCollapsed','stopListening','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','addEventListener','spellcheck','4926696WVaaNW','deletionPosition','toRange','split','1144NOZPEN','_createdBatches','requires','selection','setCustomProperty','markerName','markerToHighlight','element','set','data-session-id','root','getRange','commands','user:range:','change:range','getNearestSelectionRange','afterInit','applyOperation','getSelectionClass','delete','enqueueChange','parent','size','editingDowncast','user:position','fromRange','updateMarker','isInline','getMarkerClass','isDocumentOperation','textContent','tableCell','reconvertMarker','plugins','ck-user__marker_hovered','document','mouseleave','color','Escape','has','UserMarkers','listenTo','for','span','1276vIZSfA','innerHTML','createRange','90210yxbpVC','editing','8KDvlfG','name','destroy','checkChild','setAttribute','model','markerRange','_domEmitter','keydown','view','nodeAfter','removeClass','userPositionMarker','removeMarker','getAttribute','outerHTML','markers','markerNameToElements','remove','editor','markerToElement','isObject','isPremiumPlugin','end','ck-user__marker-tooltip','pluginName','createUserMarkerOperations','2391spoWvp','hasDomSelection','isOfficialPlugin','orderNumber','user:','getPositions','change','render','mouseenter','type','isLimit','getCustomProperty','ck-user__marker\x20','234gnqadV','update:user:range','mySessionId','get'];_0x47e7=function(){return _0x33c838;};return _0x47e7();}import{Sessions as _0x4fdefe}from'./sessions.js';import{ModelLiveRange as _0x4e68c5}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x88f661{[_0x13d916(0x1fe)]=new(_0x57a315())();static get[_0x13d916(0x1c8)](){return[_0x4fdefe];}static get[_0x13d916(0x210)](){const _0xc4a13f=_0x13d916;return _0xc4a13f(0x1ee);}static get[_0x13d916(0x214)](){return!0x0;}static get[_0x13d916(0x20d)](){return!0x0;}[_0x13d916(0x22d)](){const _0x738190=_0x13d916,_0x1c6132=this[_0x738190(0x20a)],_0x7870b6=_0x1c6132[_0x738190(0x1e7)][_0x738190(0x222)](_0x4fdefe);_0x1c6132[_0x738190(0x1a4)][_0x738190(0x1f0)](_0x738190(0x1dd))[_0x738190(0x20b)]({'model':_0x738190(0x1de),'view':(_0x209270,{writer:_0x53cfe8})=>function(_0x14e578,_0x39b2a0,_0x36837f,_0xa49963){const _0x520805=_0x738190,_0x50b752=_0x14e578[_0x520805(0x1cb)][_0x520805(0x1c5)](':')[0x2],_0x5e1c73=_0x36837f[_0x520805(0x1ac)](_0x50b752);if(!_0x5e1c73||_0x50b752===_0x36837f[_0x520805(0x221)])return;if(!_0xa49963[_0x520805(0x1fc)][_0x520805(0x1ab)][_0x520805(0x1fa)](_0x14e578[_0x520805(0x1fd)][_0x520805(0x1ae)],_0x520805(0x1b8)))return;const _0x723a20={'class':_0x520805(0x21e)+_0x5e1c73[_0x520805(0x1eb)][_0x520805(0x1e2)](),'data-name':_0x5e1c73[_0x520805(0x1f8)],'data-session-id':_0x50b752},_0x91d3b8=_0xa49963[_0x520805(0x1fc)][_0x520805(0x207)][_0x520805(0x222)](_0x14e578[_0x520805(0x1cb)]),_0x21bc64=_0x91d3b8[_0x520805(0x228)](),_0x44dce1=_0x21bc64[_0x520805(0x201)],_0x41a6eb=_0xa49963[_0x520805(0x1fc)][_0x520805(0x1ab)];if(_0x44dce1&&_0x41a6eb[_0x520805(0x20c)](_0x44dce1)&&_0x41a6eb[_0x520805(0x1e1)](_0x44dce1)&&!_0xa49963[_0x520805(0x1fc)][_0x520805(0x207)][_0x520805(0x222)](_0x520805(0x1d3)+_0x50b752)[_0x520805(0x1d1)]()[_0x520805(0x1bd)])return;const _0x534748=_0x21bc64[_0x520805(0x1db)];return _0xa49963[_0x520805(0x1fc)][_0x520805(0x1ab)][_0x520805(0x21c)](_0x534748)&&!_0xa49963[_0x520805(0x1fc)][_0x520805(0x22a)](_0x534748)&&(_0x723a20[_0x520805(0x1a2)]=!0x1),function(_0x1fc79c,_0x7a2f8c,_0x42f502){const _0x1cb9d2=_0x520805,_0x4d94e8=_0x1fc79c[_0x1cb9d2(0x227)](_0x1cb9d2(0x1f1),_0x7a2f8c);return _0x1fc79c[_0x1cb9d2(0x1ca)](_0x1cb9d2(0x203),!0x0,_0x4d94e8),_0x4d94e8[_0x1cb9d2(0x219)]=function(_0x417981){const _0xaac44a=_0x1cb9d2,_0x18b275=this[_0xaac44a(0x1b1)](_0x417981),_0x4d70f2=document[_0xaac44a(0x1bb)](_0xaac44a(0x1f1));return _0x4d70f2[_0xaac44a(0x1a8)][_0xaac44a(0x22e)](_0xaac44a(0x20f)),_0x4d70f2[_0xaac44a(0x1fb)](_0xaac44a(0x1a2),_0xaac44a(0x22b)),_0x4d70f2[_0xaac44a(0x1fb)](_0xaac44a(0x1c1),_0xaac44a(0x22b)),_0x4d70f2[_0xaac44a(0x1e4)]=_0x42f502[_0xaac44a(0x1f8)],_0x18b275[_0xaac44a(0x1f3)]=_0xaac44a(0x1bf)+_0x4d70f2[_0xaac44a(0x206)]+'⁠',_0x18b275[_0xaac44a(0x1c0)](_0xaac44a(0x21a),()=>{const _0x461a69=_0xaac44a;_0x18b275[_0x461a69(0x1a8)][_0x461a69(0x22e)](_0x461a69(0x1e8));}),_0x18b275[_0xaac44a(0x1c0)](_0xaac44a(0x1ea),()=>{const _0x589599=_0xaac44a;_0x18b275[_0x589599(0x1a8)][_0x589599(0x209)](_0x589599(0x1e8));}),_0x18b275;},_0x4d94e8[_0x1cb9d2(0x229)]=function(_0x4f6d7c){const _0x27f147=_0x1cb9d2;return!(!this[_0x27f147(0x21d)](_0x27f147(0x203))||!_0x4f6d7c[_0x27f147(0x21d)](_0x27f147(0x203))||this[_0x27f147(0x205)](_0x27f147(0x1cf))!=_0x4f6d7c[_0x27f147(0x205)](_0x27f147(0x1cf)));},_0x4d94e8;}(_0x39b2a0,_0x723a20,_0x5e1c73);}(_0x209270,_0x53cfe8,_0x7870b6,_0x1c6132)}),_0x1c6132[_0x738190(0x1a4)][_0x738190(0x1f0)](_0x738190(0x1dd))[_0x738190(0x1cc)]({'model':_0x738190(0x225),'view':_0x5ba3af=>function(_0x492acb,_0x5d01fb){const _0x2d5b42=_0x738190,_0x1767e3=_0x492acb[_0x2d5b42(0x1cb)][_0x2d5b42(0x1c5)](':')[0x2];if(_0x1767e3===_0x5d01fb[_0x2d5b42(0x221)])return null;const _0x10fadb=_0x5d01fb[_0x2d5b42(0x1ac)](_0x1767e3);if(!_0x10fadb)return{'id':_0x1767e3,'classes':[]};return{'id':_0x1767e3,'classes':[_0x2d5b42(0x1af),_0x10fadb[_0x2d5b42(0x1eb)][_0x2d5b42(0x1d8)]()],'attributes':{'data-session-id':_0x1767e3},'priority':0x7d0+_0x10fadb[_0x2d5b42(0x215)]};}(_0x5ba3af,_0x7870b6)}),function(_0x5457f2){const _0x17c611=_0x738190,_0x566346=_0x5457f2[_0x17c611(0x1fc)],_0x5c7158=new Map(),_0x1228af=_0x5457f2[_0x17c611(0x1e7)][_0x17c611(0x222)](_0x4fdefe);_0x566346[_0x17c611(0x207)]['on'](_0x17c611(0x220),(_0x32611c,_0x276c4b,_0x4990b3,_0xbe29cb)=>{const _0x55ec48=_0x17c611;if(!_0xbe29cb&&_0x5c7158[_0x55ec48(0x222)](_0x276c4b[_0x55ec48(0x1f8)]))return _0x5c7158[_0x55ec48(0x222)](_0x276c4b[_0x55ec48(0x1f8)])[_0x55ec48(0x1a5)](),void _0x5c7158[_0x55ec48(0x1d9)](_0x276c4b[_0x55ec48(0x1f8)]);const _0x4036dc=_0x276c4b[_0x55ec48(0x1f8)][_0x55ec48(0x1c5)](':')[0x2];if(_0x4036dc===_0x1228af[_0x55ec48(0x221)])return;const _0x1c8b7c=_0x55ec48(0x22c)+_0x4036dc;_0x566346[_0x55ec48(0x207)][_0x55ec48(0x1ed)](_0x1c8b7c)&&_0x5457f2[_0x55ec48(0x1f6)][_0x55ec48(0x1e6)](_0x1c8b7c),_0x276c4b['on'](_0x55ec48(0x1d4),(_0x12beca,_0x1fd3bf,_0x19b2ea)=>{const _0x2573bf=_0x55ec48;if(_0x2573bf(0x1bc)!=_0x1fd3bf[_0x2573bf(0x1d0)][_0x2573bf(0x1aa)]&&_0x2573bf(0x1bc)==_0x276c4b[_0x2573bf(0x1d1)]()[_0x2573bf(0x1d0)][_0x2573bf(0x1aa)]&&!_0x5c7158[_0x2573bf(0x1ed)](_0x276c4b[_0x2573bf(0x1f8)])){const _0x2c3aab=_0x566346[_0x2573bf(0x1ab)][_0x2573bf(0x1d5)](_0x19b2ea[_0x2573bf(0x1c3)]);if(_0x2c3aab){const _0x567b87=_0x4e68c5[_0x2573bf(0x1df)](_0x2c3aab);_0x5c7158[_0x2573bf(0x1ce)](_0x276c4b[_0x2573bf(0x1f8)],_0x567b87),_0x567b87['on'](_0x2573bf(0x1d4),(_0x23c383,_0x5087cc,_0x122a2f)=>{const _0x45a623=_0x2573bf;if(_0x45a623(0x1bc)==_0x567b87[_0x45a623(0x1d0)][_0x45a623(0x1aa)]){const _0x5e4543=_0x566346[_0x45a623(0x1ab)][_0x45a623(0x1d5)](_0x122a2f[_0x45a623(0x1c3)]);_0x5e4543?(_0x567b87[_0x45a623(0x1ae)]=_0x5e4543[_0x45a623(0x1ae)],_0x567b87[_0x45a623(0x20e)]=_0x5e4543[_0x45a623(0x20e)]):(_0x5c7158[_0x45a623(0x1d9)](_0x276c4b[_0x45a623(0x1f8)]),_0x567b87[_0x45a623(0x1a5)]());}});}}});}),_0x566346[_0x17c611(0x1e9)]['on'](_0x17c611(0x218),()=>{const _0x5bec4f=_0x17c611;_0x5c7158[_0x5bec4f(0x1dc)]>0x0&&_0x566346[_0x5bec4f(0x1da)]({'isUndoable':!0x1},_0x47adab=>{const _0x30c5a1=_0x5bec4f;for(const [_0x5258c4,_0x592e24]of _0x5c7158)_0x30c5a1(0x1bc)==_0x566346[_0x30c5a1(0x207)][_0x30c5a1(0x222)](_0x5258c4)[_0x30c5a1(0x1d1)]()[_0x30c5a1(0x1d0)][_0x30c5a1(0x1aa)]&&(Z(_0x5258c4[_0x30c5a1(0x1c5)](':')[0x2],_0x592e24[_0x30c5a1(0x1c4)](),_0x566346,_0x47adab),_0x592e24[_0x30c5a1(0x1a5)]());_0x5c7158[_0x30c5a1(0x224)]();});});}(_0x1c6132),this[_0x738190(0x1fe)][_0x738190(0x1ef)](_0x2f0687[_0x738190(0x1e9)],_0x738190(0x1ff),(_0x48ba01,{key:_0x5c0011})=>{const _0x3ef4d3=_0x738190;_0x3ef4d3(0x1ec)===_0x5c0011&&function(_0x12a7bc){const _0x2038f5=_0x3ef4d3;_0x12a7bc[_0x2038f5(0x1f6)][_0x2038f5(0x200)][_0x2038f5(0x218)](_0x3da900=>{const _0x5138fe=_0x2038f5;for(const _0x452115 of _0x12a7bc[_0x5138fe(0x1fc)][_0x5138fe(0x207)]){if(!_0x452115[_0x5138fe(0x1f8)][_0x5138fe(0x1b7)](_0x5138fe(0x1de)))continue;const _0x3218a1=_0x12a7bc[_0x5138fe(0x1f6)][_0x5138fe(0x1b0)][_0x5138fe(0x208)](_0x452115[_0x5138fe(0x1f8)]);if(_0x3218a1){for(const _0x443630 of _0x3218a1)_0x3da900[_0x5138fe(0x202)](_0x5138fe(0x1e8),_0x443630);}}});}(_0x1c6132);},{'useCapture':!0x0});}[_0x13d916(0x1d6)](){const _0x3295d6=_0x13d916,_0x1222e0=this[_0x3295d6(0x20a)],_0x43a67d=_0x1222e0[_0x3295d6(0x1d2)][_0x3295d6(0x222)](_0x3295d6(0x1b3));_0x43a67d&&_0x1222e0[_0x3295d6(0x1fc)]['on'](_0x3295d6(0x1d7),(_0x36ab77,_0x2c285e)=>{const _0x27effd=_0x3295d6,_0x19f8e3=_0x2c285e[0x0];if(!_0x19f8e3[_0x27effd(0x1e3)])return;if(_0x27effd(0x1a3)!=_0x19f8e3[_0x27effd(0x21b)]||!_0x19f8e3[_0x27effd(0x1f8)][_0x27effd(0x1b7)](_0x27effd(0x216)))return;const _0x3a8a15=_0x19f8e3[_0x27effd(0x1b6)];_0x43a67d[_0x27effd(0x1c7)][_0x27effd(0x1ed)](_0x3a8a15)&&(_0x19f8e3[_0x27effd(0x1b2)]=_0x19f8e3[_0x27effd(0x1ba)]?_0x1222e0[_0x27effd(0x1fc)][_0x27effd(0x1f4)](_0x19f8e3[_0x27effd(0x1ba)][_0x27effd(0x1ae)],_0x19f8e3[_0x27effd(0x1ba)][_0x27effd(0x20e)]):null);},{'priority':_0x3295d6(0x223)});}[_0x13d916(0x1f9)](){const _0x3ab861=_0x13d916;return this[_0x3ab861(0x1fe)][_0x3ab861(0x1be)](),super[_0x3ab861(0x1f9)]();}[_0x13d916(0x211)](){const _0x33f86a=_0x13d916,_0x2b417c=this[_0x33f86a(0x20a)],_0x4c1658=_0x2b417c[_0x33f86a(0x1fc)][_0x33f86a(0x1e9)],_0x22886c=_0x2b417c[_0x33f86a(0x1e7)][_0x33f86a(0x222)](_0x4fdefe);_0x2b417c[_0x33f86a(0x1fc)][_0x33f86a(0x1da)]({'isUndoable':!0x1},_0x282431=>{const _0x510fe5=_0x33f86a,_0x4044e1=_0x510fe5(0x1d3)+_0x22886c[_0x510fe5(0x221)],_0x597563=_0x510fe5(0x22c)+_0x22886c[_0x510fe5(0x221)],_0xab243=_0x2b417c[_0x510fe5(0x1fc)][_0x510fe5(0x207)][_0x510fe5(0x1ed)](_0x4044e1);_0x2b417c[_0x510fe5(0x1f6)][_0x510fe5(0x200)][_0x510fe5(0x213)]?Z(_0x22886c[_0x510fe5(0x221)],_0x4c1658[_0x510fe5(0x1c9)][_0x510fe5(0x226)](),_0x2b417c[_0x510fe5(0x1fc)],_0x282431):_0xab243&&(_0x282431[_0x510fe5(0x204)](_0x4044e1),_0x282431[_0x510fe5(0x204)](_0x597563));});}}function Z(_0x34906e,_0x302bf9,_0x5e8093,_0xf029a8){const _0x118571=_0x13d916,_0x570538=_0x118571(0x1d3)+_0x34906e,_0x3bb748=_0x118571(0x22c)+_0x34906e,_0x279625=_0x302bf9[_0x118571(0x1a6)]();let _0x1629be=_0x302bf9[_0x118571(0x1ae)];if(_0x279625&&_0x279625['is'](_0x118571(0x1cd),_0x118571(0x1e5))){const _0xab1b3b=function(_0x60e3c4,_0x40c3c9){const _0x980f12=_0x118571;for(const _0x960d53 of _0x60e3c4[_0x980f12(0x217)]())if(_0x40c3c9[_0x980f12(0x1ab)][_0x980f12(0x1fa)](_0x960d53,_0x980f12(0x1b8)))return _0x960d53;}(_0x302bf9,_0x5e8093);_0xab1b3b&&(_0x1629be=_0xab1b3b,_0x302bf9=_0xf029a8[_0x118571(0x1f4)](_0x1629be));}const _0x286e74=_0xf029a8[_0x118571(0x1f4)](_0x1629be);_0x5e8093[_0x118571(0x207)][_0x118571(0x1ed)](_0x570538)?(_0xf029a8[_0x118571(0x1e0)](_0x570538,{'range':_0x302bf9}),_0xf029a8[_0x118571(0x1e0)](_0x3bb748,{'range':_0x286e74})):(_0xf029a8[_0x118571(0x1a9)](_0x570538,{'range':_0x302bf9,'usingOperation':!0x0}),_0xf029a8[_0x118571(0x1a9)](_0x3bb748,{'range':_0x286e74,'usingOperation':!0x0}));}
23
+ function _0x203d(){const _0xf787ae=['isOfficialPlugin','type','addMarker','Escape','conversion','toRange','24836IYuSzG','ck-user__marker_hovered','user:position:','for','element','destroy','6081607xJogar','_createdBatches','getFirstRange','getRange','markerName','ck-user__marker-tooltip','isInline','oldRange','setCustomProperty','hasContent','orderNumber','false','model','change','enqueueChange','set','ck-user__marker\x20','name','4070620vKCSwO','6RgVHHP','update:user:range','classList','removeMarker','mouseleave','applyOperation','delete','createUIElement','markerToHighlight','schema','user:position','detach','parent','8260ELPHQV','has','textContent','checkChild','markers','editing','get','mouseenter','remove','userPositionMarker','markerNameToElements','change:range','getCustomProperty','2906316aSKTpa','741QOMMrB','isCollapsed','mySessionId','selection','getMarkerClass','getStart','isSimilar','split','plugins','33JvnmJv','user:','addEventListener','UserMarkers','createElement','853128jKKCYM','view','start','toDomElement','hasDomSelection','commands','getAttribute','fromRange','clear','deletionPosition','outerHTML','requires','createRange','stopListening','isPremiumPlugin','data-session-id','listenTo','newRange','innerHTML','afterInit','pluginName','getUserBySessionId','301MkdswJ','color','add','reconvertMarker','getSelectionClass','span','marker','size','rootName','createUserMarkerOperations','user:range','removeClass','markerRange','contenteditable','batch','$text','nodeAfter','root','editor','mapper','tableCell','startsWith','keydown','setAttribute','$graveyard','_domEmitter','render','user:range:','isLimit','end','isDocumentOperation','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getContainedElement','getPositions','document','markerToElement','init','spellcheck','isObject','getNearestSelectionRange','editingDowncast','updateMarker','undo','highest','6713555vfPkrf','ck-user__selection'];_0x203d=function(){return _0xf787ae;};return _0x203d();}const _0x2939f1=_0x45ab;(function(_0x17ce0d,_0x4d1b5a){const _0x14e48a=_0x45ab,_0x40dffa=_0x17ce0d();while(!![]){try{const _0x1a2ea8=parseInt(_0x14e48a(0x16e))/0x1*(parseInt(_0x14e48a(0x1c8))/0x2)+parseInt(_0x14e48a(0x1d6))/0x3*(-parseInt(_0x14e48a(0x1a2))/0x4)+parseInt(_0x14e48a(0x19a))/0x5*(-parseInt(_0x14e48a(0x1bb))/0x6)+parseInt(_0x14e48a(0x1a8))/0x7+parseInt(_0x14e48a(0x1e4))/0x8+parseInt(_0x14e48a(0x1d5))/0x9+parseInt(_0x14e48a(0x1ba))/0xa*(parseInt(_0x14e48a(0x1df))/0xb);if(_0x1a2ea8===_0x4d1b5a)break;else _0x40dffa['push'](_0x40dffa['shift']());}catch(_0xb93a8a){_0x40dffa['push'](_0x40dffa['shift']());}}}(_0x203d,0xd864c));import{Plugin as _0x59e84a}from'ckeditor5/src/core.js';import{global as _0x9153dd,DomEmitterMixin as _0x962584}from'ckeditor5/src/utils.js';import{Sessions as _0x249b1d}from'./sessions.js';import{ModelLiveRange as _0x51379d}from'ckeditor5/src/engine.js';function _0x45ab(_0x2fd70c,_0x1dc088){const _0x203db2=_0x203d();return _0x45ab=function(_0x45ab3a,_0x42d34a){_0x45ab3a=_0x45ab3a-0x159;let _0x2a98e7=_0x203db2[_0x45ab3a];return _0x2a98e7;},_0x45ab(_0x2fd70c,_0x1dc088);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x59e84a{[_0x2939f1(0x187)]=new(_0x962584())();static get[_0x2939f1(0x163)](){return[_0x249b1d];}static get[_0x2939f1(0x16c)](){const _0x520b2a=_0x2939f1;return _0x520b2a(0x1e2);}static get[_0x2939f1(0x19c)](){return!0x0;}static get[_0x2939f1(0x166)](){return!0x0;}[_0x2939f1(0x192)](){const _0x440d4d=_0x2939f1,_0x5580d7=this[_0x440d4d(0x180)],_0x3d8ecf=_0x5580d7[_0x440d4d(0x1de)][_0x440d4d(0x1ce)](_0x249b1d);_0x5580d7[_0x440d4d(0x1a0)][_0x440d4d(0x1a5)](_0x440d4d(0x196))[_0x440d4d(0x191)]({'model':_0x440d4d(0x1c5),'view':(_0x531af3,{writer:_0x54c9fb})=>function(_0x4d87f9,_0x51b0fb,_0x45fb0e,_0x4dbdcd){const _0x1a6ded=_0x440d4d,_0x1f2bd2=_0x4d87f9[_0x1a6ded(0x1ac)][_0x1a6ded(0x1dd)](':')[0x2],_0x403871=_0x45fb0e[_0x1a6ded(0x16d)](_0x1f2bd2);if(!_0x403871||_0x1f2bd2===_0x45fb0e[_0x1a6ded(0x1d8)])return;if(!_0x4dbdcd[_0x1a6ded(0x1b4)][_0x1a6ded(0x1c4)][_0x1a6ded(0x1cb)](_0x4d87f9[_0x1a6ded(0x17a)][_0x1a6ded(0x15a)],_0x1a6ded(0x17d)))return;const _0x5db320={'class':_0x1a6ded(0x1b8)+_0x403871[_0x1a6ded(0x16f)][_0x1a6ded(0x1da)](),'data-name':_0x403871[_0x1a6ded(0x1b9)],'data-session-id':_0x1f2bd2},_0x373f78=_0x4dbdcd[_0x1a6ded(0x1b4)][_0x1a6ded(0x1cc)][_0x1a6ded(0x1ce)](_0x4d87f9[_0x1a6ded(0x1ac)]),_0xf1b77f=_0x373f78[_0x1a6ded(0x1db)](),_0x17fe29=_0xf1b77f[_0x1a6ded(0x17e)],_0x2f85a4=_0x4dbdcd[_0x1a6ded(0x1b4)][_0x1a6ded(0x1c4)];if(_0x17fe29&&_0x2f85a4[_0x1a6ded(0x194)](_0x17fe29)&&_0x2f85a4[_0x1a6ded(0x1ae)](_0x17fe29)&&!_0x4dbdcd[_0x1a6ded(0x1b4)][_0x1a6ded(0x1cc)][_0x1a6ded(0x1ce)](_0x1a6ded(0x189)+_0x1f2bd2)[_0x1a6ded(0x1ab)]()[_0x1a6ded(0x1d7)])return;const _0x19f4d9=_0xf1b77f[_0x1a6ded(0x1c7)];return _0x4dbdcd[_0x1a6ded(0x1b4)][_0x1a6ded(0x1c4)][_0x1a6ded(0x18a)](_0x19f4d9)&&!_0x4dbdcd[_0x1a6ded(0x1b4)][_0x1a6ded(0x1b1)](_0x19f4d9)&&(_0x5db320[_0x1a6ded(0x17b)]=!0x1),function(_0x31200b,_0x2dc6b5,_0xfd457d){const _0x36e2e3=_0x1a6ded,_0x1b889=_0x31200b[_0x36e2e3(0x1c2)](_0x36e2e3(0x173),_0x2dc6b5);return _0x31200b[_0x36e2e3(0x1b0)](_0x36e2e3(0x1d1),!0x0,_0x1b889),_0x1b889[_0x36e2e3(0x188)]=function(_0x496bd5){const _0x586de5=_0x36e2e3,_0x144d69=this[_0x586de5(0x15b)](_0x496bd5),_0x38139c=document[_0x586de5(0x1e3)](_0x586de5(0x173));return _0x38139c[_0x586de5(0x1bd)][_0x586de5(0x170)](_0x586de5(0x1ad)),_0x38139c[_0x586de5(0x185)](_0x586de5(0x17b),_0x586de5(0x1b3)),_0x38139c[_0x586de5(0x185)](_0x586de5(0x193),_0x586de5(0x1b3)),_0x38139c[_0x586de5(0x1ca)]=_0xfd457d[_0x586de5(0x1b9)],_0x144d69[_0x586de5(0x16a)]=_0x586de5(0x18d)+_0x38139c[_0x586de5(0x162)]+'⁠',_0x144d69[_0x586de5(0x1e1)](_0x586de5(0x1cf),()=>{const _0x3b33fc=_0x586de5;_0x144d69[_0x3b33fc(0x1bd)][_0x3b33fc(0x170)](_0x3b33fc(0x1a3));}),_0x144d69[_0x586de5(0x1e1)](_0x586de5(0x1bf),()=>{const _0x57894f=_0x586de5;_0x144d69[_0x57894f(0x1bd)][_0x57894f(0x1d0)](_0x57894f(0x1a3));}),_0x144d69;},_0x1b889[_0x36e2e3(0x1dc)]=function(_0x3bd82e){const _0x5a759a=_0x36e2e3;return!(!this[_0x5a759a(0x1d4)](_0x5a759a(0x1d1))||!_0x3bd82e[_0x5a759a(0x1d4)](_0x5a759a(0x1d1))||this[_0x5a759a(0x15e)](_0x5a759a(0x167))!=_0x3bd82e[_0x5a759a(0x15e)](_0x5a759a(0x167)));},_0x1b889;}(_0x51b0fb,_0x5db320,_0x403871);}(_0x531af3,_0x54c9fb,_0x3d8ecf,_0x5580d7)}),_0x5580d7[_0x440d4d(0x1a0)][_0x440d4d(0x1a5)](_0x440d4d(0x196))[_0x440d4d(0x1c3)]({'model':_0x440d4d(0x178),'view':_0x32dd50=>function(_0x21ffd8,_0x5c7a62){const _0x319f87=_0x440d4d,_0x4e80ce=_0x21ffd8[_0x319f87(0x1ac)][_0x319f87(0x1dd)](':')[0x2];if(_0x4e80ce===_0x5c7a62[_0x319f87(0x1d8)])return null;const _0xc9ab14=_0x5c7a62[_0x319f87(0x16d)](_0x4e80ce);if(!_0xc9ab14)return{'id':_0x4e80ce,'classes':[]};return{'id':_0x4e80ce,'classes':[_0x319f87(0x19b),_0xc9ab14[_0x319f87(0x16f)][_0x319f87(0x172)]()],'attributes':{'data-session-id':_0x4e80ce},'priority':0x7d0+_0xc9ab14[_0x319f87(0x1b2)]};}(_0x32dd50,_0x3d8ecf)}),function(_0x57124e){const _0x3c51d8=_0x440d4d,_0x239309=_0x57124e[_0x3c51d8(0x1b4)],_0x1cb2bf=new Map(),_0x29a427=_0x57124e[_0x3c51d8(0x1de)][_0x3c51d8(0x1ce)](_0x249b1d);_0x239309[_0x3c51d8(0x1cc)]['on'](_0x3c51d8(0x1bc),(_0x57cf2a,_0x231a15,_0x47f586,_0x420ace)=>{const _0x35a093=_0x3c51d8;if(!_0x420ace&&_0x1cb2bf[_0x35a093(0x1ce)](_0x231a15[_0x35a093(0x1b9)]))return _0x1cb2bf[_0x35a093(0x1ce)](_0x231a15[_0x35a093(0x1b9)])[_0x35a093(0x1c6)](),void _0x1cb2bf[_0x35a093(0x1c1)](_0x231a15[_0x35a093(0x1b9)]);const _0x418561=_0x231a15[_0x35a093(0x1b9)][_0x35a093(0x1dd)](':')[0x2];if(_0x418561===_0x29a427[_0x35a093(0x1d8)])return;const _0x52668b=_0x35a093(0x1a4)+_0x418561;_0x239309[_0x35a093(0x1cc)][_0x35a093(0x1c9)](_0x52668b)&&_0x57124e[_0x35a093(0x1cd)][_0x35a093(0x171)](_0x52668b),_0x231a15['on'](_0x35a093(0x1d3),(_0x4c7479,_0x46ff6b,_0x508de6)=>{const _0x1e6ff3=_0x35a093;if(_0x1e6ff3(0x186)!=_0x46ff6b[_0x1e6ff3(0x17f)][_0x1e6ff3(0x176)]&&_0x1e6ff3(0x186)==_0x231a15[_0x1e6ff3(0x1ab)]()[_0x1e6ff3(0x17f)][_0x1e6ff3(0x176)]&&!_0x1cb2bf[_0x1e6ff3(0x1c9)](_0x231a15[_0x1e6ff3(0x1b9)])){const _0x3cc822=_0x239309[_0x1e6ff3(0x1c4)][_0x1e6ff3(0x195)](_0x508de6[_0x1e6ff3(0x161)]);if(_0x3cc822){const _0x3d45e2=_0x51379d[_0x1e6ff3(0x15f)](_0x3cc822);_0x1cb2bf[_0x1e6ff3(0x1b7)](_0x231a15[_0x1e6ff3(0x1b9)],_0x3d45e2),_0x3d45e2['on'](_0x1e6ff3(0x1d3),(_0x41bfee,_0x16a88d,_0x3d0394)=>{const _0x22dadb=_0x1e6ff3;if(_0x22dadb(0x186)==_0x3d45e2[_0x22dadb(0x17f)][_0x22dadb(0x176)]){const _0x43902e=_0x239309[_0x22dadb(0x1c4)][_0x22dadb(0x195)](_0x3d0394[_0x22dadb(0x161)]);_0x43902e?(_0x3d45e2[_0x22dadb(0x15a)]=_0x43902e[_0x22dadb(0x15a)],_0x3d45e2[_0x22dadb(0x18b)]=_0x43902e[_0x22dadb(0x18b)]):(_0x1cb2bf[_0x22dadb(0x1c1)](_0x231a15[_0x22dadb(0x1b9)]),_0x3d45e2[_0x22dadb(0x1c6)]());}});}}});}),_0x239309[_0x3c51d8(0x190)]['on'](_0x3c51d8(0x1b5),()=>{const _0x249368=_0x3c51d8;_0x1cb2bf[_0x249368(0x175)]>0x0&&_0x239309[_0x249368(0x1b6)]({'isUndoable':!0x1},_0x322b88=>{const _0x2251fc=_0x249368;for(const [_0x5cc546,_0x50c60c]of _0x1cb2bf)_0x2251fc(0x186)==_0x239309[_0x2251fc(0x1cc)][_0x2251fc(0x1ce)](_0x5cc546)[_0x2251fc(0x1ab)]()[_0x2251fc(0x17f)][_0x2251fc(0x176)]&&(ee(_0x5cc546[_0x2251fc(0x1dd)](':')[0x2],_0x50c60c[_0x2251fc(0x1a1)](),_0x239309,_0x322b88),_0x50c60c[_0x2251fc(0x1c6)]());_0x1cb2bf[_0x2251fc(0x160)]();});});}(_0x5580d7),this[_0x440d4d(0x187)][_0x440d4d(0x168)](_0x9153dd[_0x440d4d(0x190)],_0x440d4d(0x184),(_0x47407a,{key:_0x17ed95})=>{const _0x2e7751=_0x440d4d;_0x2e7751(0x19f)===_0x17ed95&&function(_0x5e95fd){const _0x115955=_0x2e7751;_0x5e95fd[_0x115955(0x1cd)][_0x115955(0x159)][_0x115955(0x1b5)](_0x261999=>{const _0x18c0b6=_0x115955;for(const _0x5911d7 of _0x5e95fd[_0x18c0b6(0x1b4)][_0x18c0b6(0x1cc)]){if(!_0x5911d7[_0x18c0b6(0x1b9)][_0x18c0b6(0x183)](_0x18c0b6(0x1c5)))continue;const _0x359b1b=_0x5e95fd[_0x18c0b6(0x1cd)][_0x18c0b6(0x181)][_0x18c0b6(0x1d2)](_0x5911d7[_0x18c0b6(0x1b9)]);if(_0x359b1b){for(const _0x59c1e1 of _0x359b1b)_0x261999[_0x18c0b6(0x179)](_0x18c0b6(0x1a3),_0x59c1e1);}}});}(_0x5580d7);},{'useCapture':!0x0});}[_0x2939f1(0x16b)](){const _0x1fbd0d=_0x2939f1,_0xfd693=this[_0x1fbd0d(0x180)],_0x5ed5cc=_0xfd693[_0x1fbd0d(0x15d)][_0x1fbd0d(0x1ce)](_0x1fbd0d(0x198));_0x5ed5cc&&_0xfd693[_0x1fbd0d(0x1b4)]['on'](_0x1fbd0d(0x1c0),(_0x2b4621,_0x305d57)=>{const _0xbf5ca3=_0x1fbd0d,_0x1ec8bf=_0x305d57[0x0];if(!_0x1ec8bf[_0xbf5ca3(0x18c)])return;if(_0xbf5ca3(0x174)!=_0x1ec8bf[_0xbf5ca3(0x19d)]||!_0x1ec8bf[_0xbf5ca3(0x1b9)][_0xbf5ca3(0x183)](_0xbf5ca3(0x1e0)))return;const _0x220559=_0x1ec8bf[_0xbf5ca3(0x17c)];_0x5ed5cc[_0xbf5ca3(0x1a9)][_0xbf5ca3(0x1c9)](_0x220559)&&(_0x1ec8bf[_0xbf5ca3(0x169)]=_0x1ec8bf[_0xbf5ca3(0x1af)]?_0xfd693[_0xbf5ca3(0x1b4)][_0xbf5ca3(0x164)](_0x1ec8bf[_0xbf5ca3(0x1af)][_0xbf5ca3(0x15a)],_0x1ec8bf[_0xbf5ca3(0x1af)][_0xbf5ca3(0x18b)]):null);},{'priority':_0x1fbd0d(0x199)});}[_0x2939f1(0x1a7)](){const _0x2e52d1=_0x2939f1;return this[_0x2e52d1(0x187)][_0x2e52d1(0x165)](),super[_0x2e52d1(0x1a7)]();}[_0x2939f1(0x177)](){const _0x1ce08f=_0x2939f1,_0x456dad=this[_0x1ce08f(0x180)],_0x4f7b98=_0x456dad[_0x1ce08f(0x1b4)][_0x1ce08f(0x190)],_0xfe4089=_0x456dad[_0x1ce08f(0x1de)][_0x1ce08f(0x1ce)](_0x249b1d);_0x456dad[_0x1ce08f(0x1b4)][_0x1ce08f(0x1b6)]({'isUndoable':!0x1},_0xe31b39=>{const _0x1dda05=_0x1ce08f,_0x1afde0=_0x1dda05(0x189)+_0xfe4089[_0x1dda05(0x1d8)],_0x28fde0=_0x1dda05(0x1a4)+_0xfe4089[_0x1dda05(0x1d8)],_0x38757=_0x456dad[_0x1dda05(0x1b4)][_0x1dda05(0x1cc)][_0x1dda05(0x1c9)](_0x1afde0);_0x456dad[_0x1dda05(0x1cd)][_0x1dda05(0x159)][_0x1dda05(0x15c)]?ee(_0xfe4089[_0x1dda05(0x1d8)],_0x4f7b98[_0x1dda05(0x1d9)][_0x1dda05(0x1aa)](),_0x456dad[_0x1dda05(0x1b4)],_0xe31b39):_0x38757&&(_0xe31b39[_0x1dda05(0x1be)](_0x1afde0),_0xe31b39[_0x1dda05(0x1be)](_0x28fde0));});}}function ee(_0x1f7ec3,_0x27eb06,_0x43d100,_0x999fbd){const _0x2fd867=_0x2939f1,_0x2bcdc0=_0x2fd867(0x189)+_0x1f7ec3,_0xcd0a3a=_0x2fd867(0x1a4)+_0x1f7ec3,_0x1d19e6=_0x27eb06[_0x2fd867(0x18e)]();let _0x3ba757=_0x27eb06[_0x2fd867(0x15a)];if(_0x1d19e6&&_0x1d19e6['is'](_0x2fd867(0x1a6),_0x2fd867(0x182))){const _0x3e8d99=function(_0x4e0448,_0x259d6f){const _0xbe84e3=_0x2fd867;for(const _0x7e979b of _0x4e0448[_0xbe84e3(0x18f)]())if(_0x259d6f[_0xbe84e3(0x1c4)][_0xbe84e3(0x1cb)](_0x7e979b,_0xbe84e3(0x17d)))return _0x7e979b;}(_0x27eb06,_0x43d100);_0x3e8d99&&(_0x3ba757=_0x3e8d99,_0x27eb06=_0x999fbd[_0x2fd867(0x164)](_0x3ba757));}const _0x1d6543=_0x999fbd[_0x2fd867(0x164)](_0x3ba757);_0x43d100[_0x2fd867(0x1cc)][_0x2fd867(0x1c9)](_0x2bcdc0)?(_0x999fbd[_0x2fd867(0x197)](_0x2bcdc0,{'range':_0x27eb06}),_0x999fbd[_0x2fd867(0x197)](_0xcd0a3a,{'range':_0x1d6543})):(_0x999fbd[_0x2fd867(0x19e)](_0x2bcdc0,{'range':_0x27eb06,'usingOperation':!0x0}),_0x999fbd[_0x2fd867(0x19e)](_0xcd0a3a,{'range':_0x1d6543,'usingOperation':!0x0}));}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a9c92=_0x36e7;(function(_0x198b47,_0x48d88f){const _0x40e0b4=_0x36e7,_0x185ad5=_0x198b47();while(!![]){try{const _0x138876=-parseInt(_0x40e0b4(0x1b9))/0x1+-parseInt(_0x40e0b4(0x18f))/0x2*(-parseInt(_0x40e0b4(0x19d))/0x3)+-parseInt(_0x40e0b4(0x187))/0x4*(parseInt(_0x40e0b4(0x1a7))/0x5)+-parseInt(_0x40e0b4(0x197))/0x6*(parseInt(_0x40e0b4(0x1cb))/0x7)+-parseInt(_0x40e0b4(0x188))/0x8+-parseInt(_0x40e0b4(0x1a0))/0x9+parseInt(_0x40e0b4(0x1aa))/0xa*(parseInt(_0x40e0b4(0x19f))/0xb);if(_0x138876===_0x48d88f)break;else _0x185ad5['push'](_0x185ad5['shift']());}catch(_0xa75e26){_0x185ad5['push'](_0x185ad5['shift']());}}}(_0x164f,0x822f9));function _0x164f(){const _0x4a56be=['constructor','CloudServices','CONNECTED','function','10wSatQD','stopListening','isOfficialPlugin','10DdgpAX','config','websocketgateway-missing-websocket-url','from','set','token','websocketgateway-missing-token','then','catch','CONNECTING','has','online','_shouldPluginsReconnect','change:me','isInReconnectionStack','767786LtqskU','pluginName','Connected\x20users\x20limit\x20exceeded','init','cloudservices-init','isPremiumPlugin','connect','_reconnectionStack','listenTo','get','initialReconnectionInterval','add','_domEmitter','delete','removeFromReconnectionStack','WebSocketGateway','cloudservices-reconnection-error','addToReconnectionStack','49fwoYZW','cloudServices.requestTimeout','offline','disconnect','reconnect','plugins','connected','1988504CdCXDD','561304ZbQXPw','code','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.','real-time-collaboration','webSocketUrl','_isBrowserOffline','cloudServices.connectionTimeout','10oyKMLQ','all','state','connection','websocketgateway-invalid-plugin-interface','destroy','websocketgateway-plugin-already-registered','bind','508626WAUqpZ','define','showWarning','error','DISCONNECTED','context','406446hfaMDE','_reconnect','29585809AZwBmu','3673710RMdTIm','requires','limitExceeded'];_0x164f=function(){return _0x4a56be;};return _0x164f();}import{ContextPlugin as _0x49b989}from'ckeditor5/src/core.js';function _0x36e7(_0x4bc684,_0x45aed9){const _0x164f0b=_0x164f();return _0x36e7=function(_0x36e750,_0x4c72fe){_0x36e750=_0x36e750-0x184;let _0x1206a9=_0x164f0b[_0x36e750];return _0x1206a9;},_0x36e7(_0x4bc684,_0x45aed9);}import{DomEmitterMixin as _0x597a0c,CKEditorError as _0x3ce1d8}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x33b2b1,WEB_SOCKET_GATEWAY_STATES as _0xef2d92}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x35eeaf}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x49b989{static [_0x3a9c92(0x1c8)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x33b2b1)());static [_0x3a9c92(0x1c3)]=0x3e8;[_0x3a9c92(0x192)];[_0x3a9c92(0x1c0)];[_0x3a9c92(0x1b6)];[_0x3a9c92(0x1c5)];static get[_0x3a9c92(0x1a1)](){const _0x50df64=_0x3a9c92;return[_0x50df64(0x1a4),_0x35eeaf];}static get[_0x3a9c92(0x1ba)](){const _0x2c1294=_0x3a9c92;return _0x2c1294(0x1c8);}static get[_0x3a9c92(0x1a9)](){return!0x0;}static get[_0x3a9c92(0x1be)](){return!0x0;}constructor(_0x54d8cc){const _0x20b3d3=_0x3a9c92;super(_0x54d8cc),this[_0x20b3d3(0x1ae)](_0x20b3d3(0x191),_0xef2d92[_0x20b3d3(0x1a5)]),this[_0x20b3d3(0x1ae)](_0x20b3d3(0x18d),!0x1),this[_0x20b3d3(0x1c0)]=new Set(),this[_0x20b3d3(0x1b6)]=!0x1,this[_0x20b3d3(0x1c5)]=new(_0x597a0c())();}[_0x3a9c92(0x1bc)](){const _0x5c825e=_0x3a9c92,_0x374307=this[_0x5c825e(0x19c)],_0xcf70d2=_0x374307[_0x5c825e(0x185)][_0x5c825e(0x1c2)](_0x5c825e(0x1a4)),_0x479bbb=_0x374307[_0x5c825e(0x185)][_0x5c825e(0x1c2)](_0x35eeaf);if(!_0xcf70d2[_0x5c825e(0x1af)])throw new _0x3ce1d8(_0x5c825e(0x1b0),this);if(!_0xcf70d2[_0x5c825e(0x18c)])throw new _0x3ce1d8(_0x5c825e(0x1ac),this);return this[_0x5c825e(0x1c5)][_0x5c825e(0x1c1)](window,_0x5c825e(0x1cd),()=>this[_0x5c825e(0x18d)]=!0x0),this[_0x5c825e(0x1c5)][_0x5c825e(0x1c1)](window,_0x5c825e(0x1b5),()=>this[_0x5c825e(0x18d)]=!0x1),this[_0x5c825e(0x19c)][_0x5c825e(0x1ab)][_0x5c825e(0x198)](_0x5c825e(0x18e),0xa),this[_0x5c825e(0x19c)][_0x5c825e(0x1ab)][_0x5c825e(0x198)](_0x5c825e(0x1cc),0x14),WebSocketGateway[_0x5c825e(0x1c8)][_0x5c825e(0x1bf)](_0xcf70d2[_0x5c825e(0x1af)],_0xcf70d2[_0x5c825e(0x18c)],{'timeout':0x3e8*this[_0x5c825e(0x19c)][_0x5c825e(0x1ab)][_0x5c825e(0x1c2)](_0x5c825e(0x18e)),'requestTimeout':0x3e8*this[_0x5c825e(0x19c)][_0x5c825e(0x1ab)][_0x5c825e(0x1c2)](_0x5c825e(0x1cc))})[_0x5c825e(0x1b1)](_0xee5b3c=>{const _0x1b043f=_0x5c825e;if(this[_0x1b043f(0x192)]=_0xee5b3c,this[_0x1b043f(0x196)](_0x1b043f(0x191))['to'](_0xee5b3c,_0x1b043f(0x191),this,_0x1b043f(0x18d),(_0x428282,_0x193bd3)=>(_0x1b043f(0x186)!==_0x428282&&(this[_0x1b043f(0x1b6)]=!0x0),_0x193bd3||_0x428282!==_0xef2d92[_0x1b043f(0x1a5)]?_0xef2d92[_0x1b043f(0x19b)]:this[_0x1b043f(0x191)]==_0xef2d92[_0x1b043f(0x19b)]&&this[_0x1b043f(0x1b6)]?(this[_0x1b043f(0x1b6)]=!0x1,this[_0x1b043f(0x19e)](),_0xef2d92[_0x1b043f(0x1b3)]):_0xef2d92[_0x1b043f(0x1a5)])),this[_0x1b043f(0x192)]['on'](_0x1b043f(0x19a),(_0x9bf0c0,_0x9cb142)=>{const _0x2c4bef=_0x1b043f;if(_0x2c4bef(0x1a2)!==_0x9cb142[_0x2c4bef(0x189)])throw console[_0x2c4bef(0x19a)](_0x9cb142),new _0x3ce1d8(_0x2c4bef(0x1bd),null,{'originalError':_0x9cb142});_0x479bbb[_0x2c4bef(0x199)](_0x2c4bef(0x18a),{'title':_0x2c4bef(0x1bb),'namespace':_0x2c4bef(0x18b)});}),!_0xee5b3c['me'])return new Promise(_0x449c73=>_0xee5b3c['on'](_0x1b043f(0x1b7),_0x449c73));})[_0x5c825e(0x1b2)](_0x3b61a0=>{const _0x1311f7=_0x5c825e;throw console[_0x1311f7(0x19a)](_0x3b61a0),new _0x3ce1d8(_0x1311f7(0x1bd),null,{'originalError':_0x3b61a0});});}[_0x3a9c92(0x1ca)](_0x4fac7f){const _0x13bd36=_0x3a9c92;if(_0x13bd36(0x1a6)!=typeof _0x4fac7f[_0x13bd36(0x184)])throw new _0x3ce1d8(_0x13bd36(0x193),this);if(this[_0x13bd36(0x1b8)](_0x4fac7f))throw new _0x3ce1d8(_0x13bd36(0x195),this,{'name':_0x4fac7f[_0x13bd36(0x1a3)][_0x13bd36(0x1ba)]});this[_0x13bd36(0x1c0)][_0x13bd36(0x1c4)](_0x4fac7f);}[_0x3a9c92(0x1c7)](_0x47eac4){const _0x52991c=_0x3a9c92;this[_0x52991c(0x1c0)][_0x52991c(0x1c6)](_0x47eac4);}[_0x3a9c92(0x1b8)](_0x13a2ca){const _0xa77cbd=_0x3a9c92;return this[_0xa77cbd(0x1c0)][_0xa77cbd(0x1b4)](_0x13a2ca);}[_0x3a9c92(0x19e)](){const _0x388d78=_0x3a9c92;return this[_0x388d78(0x192)][_0x388d78(0x184)]()[_0x388d78(0x1b1)](()=>Promise[_0x388d78(0x190)](Array[_0x388d78(0x1ad)](this[_0x388d78(0x1c0)],_0x55054f=>_0x55054f[_0x388d78(0x184)]())))[_0x388d78(0x1b1)](()=>this[_0x388d78(0x191)]=_0xef2d92[_0x388d78(0x1a5)])[_0x388d78(0x1b2)](_0x3b5178=>{const _0x3c8a38=_0x388d78;throw console[_0x3c8a38(0x19a)](_0x3b5178),new _0x3ce1d8(_0x3c8a38(0x1c9),this[_0x3c8a38(0x19c)]);});}[_0x3a9c92(0x1ce)](){const _0x1926e1=_0x3a9c92;this[_0x1926e1(0x192)]&&this[_0x1926e1(0x192)][_0x1926e1(0x1ce)](),this[_0x1926e1(0x191)]=_0xef2d92[_0x1926e1(0x19b)],this[_0x1926e1(0x1c5)][_0x1926e1(0x1a8)]();}[_0x3a9c92(0x194)](){const _0x4226f6=_0x3a9c92;this[_0x4226f6(0x1ce)](),super[_0x4226f6(0x194)]();}}
23
+ const _0x13eff2=_0x265f;(function(_0x2658de,_0x2f023e){const _0x307374=_0x265f,_0x378fbd=_0x2658de();while(!![]){try{const _0x25c0a0=parseInt(_0x307374(0x12a))/0x1*(-parseInt(_0x307374(0x108))/0x2)+parseInt(_0x307374(0x10e))/0x3+-parseInt(_0x307374(0xf7))/0x4+parseInt(_0x307374(0xfd))/0x5+parseInt(_0x307374(0x105))/0x6+-parseInt(_0x307374(0x124))/0x7*(-parseInt(_0x307374(0xef))/0x8)+parseInt(_0x307374(0xee))/0x9*(-parseInt(_0x307374(0xe1))/0xa);if(_0x25c0a0===_0x2f023e)break;else _0x378fbd['push'](_0x378fbd['shift']());}catch(_0x53edd0){_0x378fbd['push'](_0x378fbd['shift']());}}}(_0x2d14,0xd00fe));import{ContextPlugin as _0x209814}from'ckeditor5/src/core.js';function _0x265f(_0x55e686,_0x3ec1d0){const _0x2d14e6=_0x2d14();return _0x265f=function(_0x265fb0,_0x476591){_0x265fb0=_0x265fb0-0xe1;let _0x556f0c=_0x2d14e6[_0x265fb0];return _0x556f0c;},_0x265f(_0x55e686,_0x3ec1d0);}import{DomEmitterMixin as _0xf45dc,CKEditorError as _0x16fd36}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x1161dc,WEB_SOCKET_GATEWAY_STATES as _0x383dd3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x2d14(){const _0x9e82eb=['cloudservices-reconnection-error','websocketgateway-plugin-already-registered','destroy','bind','WebSocketGateway','CONNECTING','3501680HzxgGs','websocketgateway-invalid-plugin-interface','isInReconnectionStack','all','define','showWarning','7593695elKnqO','then','delete','init','limitExceeded','CONNECTED','set','addToReconnectionStack','2720802tLpBcI','websocketgateway-missing-token','real-time-collaboration','90xUJSfy','error','isPremiumPlugin','context','connected','CloudServices','4111155zkQelP','change:me','isOfficialPlugin','initialReconnectionInterval','websocketgateway-missing-websocket-url','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.','_domEmitter','_isBrowserOffline','removeFromReconnectionStack','webSocketUrl','cloudServices.connectionTimeout','connection','stopListening','get','listenTo','token','add','connect','Connected\x20users\x20limit\x20exceeded','has','DISCONNECTED','plugins','892507ThJJKh','requires','config','reconnect','online','cloudServices.requestTimeout','35604RUMlLU','20OsRgQi','_shouldPluginsReconnect','_reconnect','from','pluginName','constructor','_reconnectionStack','state','code','function','catch','disconnect','cloudservices-init','7516269uFIrZY','104ypjmfi','offline'];_0x2d14=function(){return _0x9e82eb;};return _0x2d14();}import{Notification as _0x53a8d6}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x209814{static [_0x13eff2(0xf5)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1161dc)());static [_0x13eff2(0x111)]=0x3e8;[_0x13eff2(0x119)];[_0x13eff2(0xe7)];[_0x13eff2(0xe2)];[_0x13eff2(0x114)];static get[_0x13eff2(0x125)](){const _0x5f2702=_0x13eff2;return[_0x5f2702(0x10d),_0x53a8d6];}static get[_0x13eff2(0xe5)](){const _0xbc1368=_0x13eff2;return _0xbc1368(0xf5);}static get[_0x13eff2(0x110)](){return!0x0;}static get[_0x13eff2(0x10a)](){return!0x0;}constructor(_0x10545f){const _0x38671b=_0x13eff2;super(_0x10545f),this[_0x38671b(0x103)](_0x38671b(0xe8),_0x383dd3[_0x38671b(0x102)]),this[_0x38671b(0x103)](_0x38671b(0x115),!0x1),this[_0x38671b(0xe7)]=new Set(),this[_0x38671b(0xe2)]=!0x1,this[_0x38671b(0x114)]=new(_0xf45dc())();}[_0x13eff2(0x100)](){const _0x196157=_0x13eff2,_0x3a69b1=this[_0x196157(0x10b)],_0xa9e2a1=_0x3a69b1[_0x196157(0x123)][_0x196157(0x11b)](_0x196157(0x10d)),_0x44e69a=_0x3a69b1[_0x196157(0x123)][_0x196157(0x11b)](_0x53a8d6);if(!_0xa9e2a1[_0x196157(0x11d)])throw new _0x16fd36(_0x196157(0x106),this);if(!_0xa9e2a1[_0x196157(0x117)])throw new _0x16fd36(_0x196157(0x112),this);return this[_0x196157(0x114)][_0x196157(0x11c)](window,_0x196157(0xf0),()=>this[_0x196157(0x115)]=!0x0),this[_0x196157(0x114)][_0x196157(0x11c)](window,_0x196157(0x128),()=>this[_0x196157(0x115)]=!0x1),this[_0x196157(0x10b)][_0x196157(0x126)][_0x196157(0xfb)](_0x196157(0x118),0xa),this[_0x196157(0x10b)][_0x196157(0x126)][_0x196157(0xfb)](_0x196157(0x129),0x14),WebSocketGateway[_0x196157(0xf5)][_0x196157(0x11f)](_0xa9e2a1[_0x196157(0x11d)],_0xa9e2a1[_0x196157(0x117)],{'timeout':0x3e8*this[_0x196157(0x10b)][_0x196157(0x126)][_0x196157(0x11b)](_0x196157(0x118)),'requestTimeout':0x3e8*this[_0x196157(0x10b)][_0x196157(0x126)][_0x196157(0x11b)](_0x196157(0x129))})[_0x196157(0xfe)](_0x3394f3=>{const _0x1e95b9=_0x196157;if(this[_0x1e95b9(0x119)]=_0x3394f3,this[_0x1e95b9(0xf4)](_0x1e95b9(0xe8))['to'](_0x3394f3,_0x1e95b9(0xe8),this,_0x1e95b9(0x115),(_0x48e5a6,_0x27cdb6)=>(_0x1e95b9(0x10c)!==_0x48e5a6&&(this[_0x1e95b9(0xe2)]=!0x0),_0x27cdb6||_0x48e5a6!==_0x383dd3[_0x1e95b9(0x102)]?_0x383dd3[_0x1e95b9(0x122)]:this[_0x1e95b9(0xe8)]==_0x383dd3[_0x1e95b9(0x122)]&&this[_0x1e95b9(0xe2)]?(this[_0x1e95b9(0xe2)]=!0x1,this[_0x1e95b9(0xe3)](),_0x383dd3[_0x1e95b9(0xf6)]):_0x383dd3[_0x1e95b9(0x102)])),this[_0x1e95b9(0x119)]['on'](_0x1e95b9(0x109),(_0x1dea52,_0x4d9e91)=>{const _0x3087ca=_0x1e95b9;if(_0x3087ca(0x101)!==_0x4d9e91[_0x3087ca(0xe9)])throw console[_0x3087ca(0x109)](_0x4d9e91),new _0x16fd36(_0x3087ca(0xed),null,{'originalError':_0x4d9e91});_0x44e69a[_0x3087ca(0xfc)](_0x3087ca(0x113),{'title':_0x3087ca(0x120),'namespace':_0x3087ca(0x107)});}),!_0x3394f3['me'])return new Promise(_0x1712f8=>_0x3394f3['on'](_0x1e95b9(0x10f),_0x1712f8));})[_0x196157(0xeb)](_0x1d8984=>{const _0x54b22a=_0x196157;throw console[_0x54b22a(0x109)](_0x1d8984),new _0x16fd36(_0x54b22a(0xed),null,{'originalError':_0x1d8984});});}[_0x13eff2(0x104)](_0x188f5f){const _0x15a171=_0x13eff2;if(_0x15a171(0xea)!=typeof _0x188f5f[_0x15a171(0x127)])throw new _0x16fd36(_0x15a171(0xf8),this);if(this[_0x15a171(0xf9)](_0x188f5f))throw new _0x16fd36(_0x15a171(0xf2),this,{'name':_0x188f5f[_0x15a171(0xe6)][_0x15a171(0xe5)]});this[_0x15a171(0xe7)][_0x15a171(0x11e)](_0x188f5f);}[_0x13eff2(0x116)](_0xf2ae03){const _0x1f41bd=_0x13eff2;this[_0x1f41bd(0xe7)][_0x1f41bd(0xff)](_0xf2ae03);}[_0x13eff2(0xf9)](_0x4ced50){const _0x3445d9=_0x13eff2;return this[_0x3445d9(0xe7)][_0x3445d9(0x121)](_0x4ced50);}[_0x13eff2(0xe3)](){const _0x3fde13=_0x13eff2;return this[_0x3fde13(0x119)][_0x3fde13(0x127)]()[_0x3fde13(0xfe)](()=>Promise[_0x3fde13(0xfa)](Array[_0x3fde13(0xe4)](this[_0x3fde13(0xe7)],_0x83f0a9=>_0x83f0a9[_0x3fde13(0x127)]())))[_0x3fde13(0xfe)](()=>this[_0x3fde13(0xe8)]=_0x383dd3[_0x3fde13(0x102)])[_0x3fde13(0xeb)](_0x1072f3=>{const _0x397a16=_0x3fde13;throw console[_0x397a16(0x109)](_0x1072f3),new _0x16fd36(_0x397a16(0xf1),this[_0x397a16(0x10b)]);});}[_0x13eff2(0xec)](){const _0x206a06=_0x13eff2;this[_0x206a06(0x119)]&&this[_0x206a06(0x119)][_0x206a06(0xec)](),this[_0x206a06(0xe8)]=_0x383dd3[_0x206a06(0x122)],this[_0x206a06(0x114)][_0x206a06(0x11a)]();}[_0x13eff2(0xf3)](){const _0x467f90=_0x13eff2;this[_0x467f90(0xec)](),super[_0x467f90(0xf3)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5576b1=_0x4d6e;function _0x4d6e(_0x2eaa4b,_0xb4c24e){const _0x29a19f=_0x29a1();return _0x4d6e=function(_0x4d6e7d,_0x1b8448){_0x4d6e7d=_0x4d6e7d-0x1ae;let _0x8207f3=_0x29a19f[_0x4d6e7d];return _0x8207f3;},_0x4d6e(_0x2eaa4b,_0xb4c24e);}(function(_0x5f1676,_0x14c429){const _0x14f192=_0x4d6e,_0xdfa57=_0x5f1676();while(!![]){try{const _0x55f5d7=-parseInt(_0x14f192(0x1ef))/0x1+-parseInt(_0x14f192(0x1d1))/0x2+-parseInt(_0x14f192(0x1da))/0x3*(parseInt(_0x14f192(0x1b3))/0x4)+parseInt(_0x14f192(0x20b))/0x5+-parseInt(_0x14f192(0x1d7))/0x6+-parseInt(_0x14f192(0x1ce))/0x7+-parseInt(_0x14f192(0x20c))/0x8*(-parseInt(_0x14f192(0x1b4))/0x9);if(_0x55f5d7===_0x14c429)break;else _0xdfa57['push'](_0xdfa57['shift']());}catch(_0x20ece7){_0xdfa57['push'](_0xdfa57['shift']());}}}(_0x29a1,0x645c8));import{Plugin as _0x2cb803}from'ckeditor5/src/core.js';import{version as _0x4b670a}from'ckeditor5/src/utils.js';import{Users as _0x5a7594}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x29a1(){const _0x433621=['cloud-services-internal-error:\x20Request\x20timeout.','getMany','addToReconnectionStack','getUser','connection','creatorId','state','33368ccJCBA','207nGalWp','_getLatestVersion','_offset','CONNECTED','remove','getRevision','catch','startsWith','_revisions','RevisionTracker','cloud-services-internal-error:\x20Not\x20connected.','_revisionTracker','destroy','marker','isEmptyCurrent','map','_createCurrentRevision','sendBufferedUpdates','400','serverHistory','_lastRequestId','reconnect','_bufferedUpdates','RevisionHistoryService','repository','off','3785355KDFcGc','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_isPendingUpdate','609832wFtrhz','getRevisions','from','_bufferUpdate','reInit','addUser','3933828KaPguQ','init','isOfficialPlugin','51grroWt','_getLatestVersionFromServerOperations','RevisionHistory','authors','sessionId','get','toVersion','requires','affectsData','keys','setSource','updateRevisions','pluginName','adapter','authorsIds','wrongRequestId','connect','add','addRevisionData','type','CloudServicesRevisionHistoryAdapter','296277sSEpdO','fromVersion','_revisionHistoryService','_oldOffset','size','_fetchMissingUsers','has','setRevisionData','connected','isBundleUploaded','_isConnected','isPremiumPlugin','isConnected','baseVersion','bind','data','_handleReconnectionError','once','diffData','_fixRevision','_update','reverse','max','message','listenTo','cloudServices.bundleVersion','isEnabled','plugins','4100235IogwBk','532328MPcIOA','getOperations','length','_preventResendingRevisionData','change:_isPendingUpdate','_handleRevisionsUpdate','revisionsUpdated','config','_revisionDataBuilder','collaboration.channelId','then','createdAt','editor','_startingVersion','_waitForServiceReady','change:_isConnected','buildRevisionData','code','currentRevision'];_0x29a1=function(){return _0x433621;};return _0x29a1();}import{RealTimeCollaborationClient as _0x8aa0ad}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0xdf84aa}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1be50d}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x379d5e,RevisionHistoryService as _0xd12274,User as _0x2b2181,WEB_SOCKET_GATEWAY_STATES as _0x5af69a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x2cb803{static [_0x5576b1(0x1cb)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0xd12274)());[_0x5576b1(0x1c8)];[_0x5576b1(0x1bf)];[_0x5576b1(0x1f1)];[_0x5576b1(0x1f2)];static get[_0x5576b1(0x1e1)](){const _0x1444f5=_0x5576b1;return[_0xdf84aa,_0x8aa0ad,_0x1444f5(0x1dc),_0x1be50d,_0x5a7594];}static get[_0x5576b1(0x1e6)](){const _0x184c61=_0x5576b1;return _0x184c61(0x1ee);}static get[_0x5576b1(0x1d9)](){return!0x0;}static get[_0x5576b1(0x1fa)](){return!0x0;}constructor(_0x3fbe18){const _0x3d7b7e=_0x5576b1;super(_0x3fbe18);const _0x294e6c=this[_0x3d7b7e(0x218)][_0x3d7b7e(0x213)][_0x3d7b7e(0x1df)](_0x3d7b7e(0x215));this[_0x3d7b7e(0x1c8)]=null,this[_0x3d7b7e(0x1bf)]=this[_0x3d7b7e(0x218)][_0x3d7b7e(0x20a)][_0x3d7b7e(0x1df)](_0x3d7b7e(0x1bd)),this[_0x3d7b7e(0x1f1)]=new CloudServicesRevisionHistoryAdapter[(_0x3d7b7e(0x1cb))](_0x294e6c);}async[_0x5576b1(0x1d8)](){const _0x48d7e7=_0x5576b1,_0x3193ea=this[_0x48d7e7(0x218)][_0x48d7e7(0x20a)][_0x48d7e7(0x1df)](_0x8aa0ad),_0x304bac=_0x3193ea[_0x48d7e7(0x1c7)],_0x1377ec=this[_0x48d7e7(0x218)][_0x48d7e7(0x20a)][_0x48d7e7(0x1df)](_0xdf84aa);this[_0x48d7e7(0x1bf)][_0x48d7e7(0x1e4)]({'history':_0x304bac,'getLatestVersion':()=>this[_0x48d7e7(0x1b5)](),'getCurrentRevisionId':()=>_0x3193ea[_0x48d7e7(0x1de)]});const _0x3724e0=this[_0x48d7e7(0x218)][_0x48d7e7(0x213)][_0x48d7e7(0x1df)](_0x48d7e7(0x208))||_0x4b670a,_0x4d7fe6=await _0x379d5e[_0x48d7e7(0x1f8)](_0x1377ec[_0x48d7e7(0x1b0)],_0x3724e0);this[_0x48d7e7(0x218)][_0x48d7e7(0x20a)][_0x48d7e7(0x1df)](_0x48d7e7(0x1dc))[_0x48d7e7(0x1e7)]={'getRevision':async({revisionId:_0x44261c})=>(await this[_0x48d7e7(0x21a)](),await this[_0x48d7e7(0x1f1)][_0x48d7e7(0x1b9)](_0x44261c)),'updateRevisions':async _0x3a2ceb=>{const _0x2a25d9=_0x48d7e7;await this[_0x2a25d9(0x21a)]();const _0x4c6cad=this[_0x2a25d9(0x1bf)][_0x2a25d9(0x21e)];if(_0x4d7fe6&&0x1===_0x3a2ceb[_0x2a25d9(0x20e)]&&_0x3a2ceb[0x0]['id']===_0x4c6cad['id'])return _0x3a2ceb;for(const _0x1cca6d of _0x3a2ceb)_0x1cca6d['id']===_0x4c6cad['id']&&(_0x1cca6d[_0x2a25d9(0x1c2)]=_0x1cca6d[_0x2a25d9(0x1f0)]===_0x1cca6d[_0x2a25d9(0x1e0)]);return this[_0x2a25d9(0x1f1)][_0x2a25d9(0x1e5)](_0x3a2ceb,this[_0x2a25d9(0x1c8)])[_0x2a25d9(0x216)](_0x1317de=>(this[_0x2a25d9(0x1c8)]=_0x1317de,_0x3a2ceb))[_0x2a25d9(0x1ba)](_0x23146c=>{const _0xfacb3c=_0x2a25d9;if(st(_0x23146c)||_0xfacb3c(0x1c6)===_0x23146c[_0xfacb3c(0x21d)]&&void 0x0!==_0x23146c[_0xfacb3c(0x1fe)][_0xfacb3c(0x1e9)]){for(const _0x59d258 of _0x3a2ceb){!this[_0xfacb3c(0x1bf)][_0xfacb3c(0x1cc)][_0xfacb3c(0x1b9)](_0x59d258['id'])||this[_0xfacb3c(0x1bf)][_0xfacb3c(0x1d4)](_0x59d258['id'],_0x59d258,!0x1);}if(st(_0x23146c))throw _0x23146c;return _0x3a2ceb;}throw _0x23146c;});}},this[_0x48d7e7(0x207)](this[_0x48d7e7(0x1f1)],_0x48d7e7(0x212),(_0x141b1f,{revisionsData:_0x146ce7,requestId:_0x21c698})=>{const _0x5923e6=_0x48d7e7;Math[_0x5923e6(0x205)](..._0x146ce7[_0x5923e6(0x1c3)](_0x32686d=>_0x32686d[_0x5923e6(0x1e0)]))>this[_0x5923e6(0x1db)]()-0x1?this[_0x5923e6(0x1b5)]()[_0x5923e6(0x216)](()=>{const _0x278d83=_0x5923e6;this[_0x278d83(0x211)](_0x146ce7,_0x21c698);}):this[_0x5923e6(0x211)](_0x146ce7,_0x21c698);});const {revisions:_0x2a1be1,requestId:_0xb710d4}=await this[_0x48d7e7(0x1f1)][_0x48d7e7(0x1ea)](_0x1377ec[_0x48d7e7(0x1b0)]);_0x1377ec[_0x48d7e7(0x1ae)](this),this[_0x48d7e7(0x1c8)]=_0xb710d4,await this[_0x48d7e7(0x1f4)](_0x2a1be1);for(const _0x213d10 of _0x2a1be1)this[_0x48d7e7(0x1bf)][_0x48d7e7(0x1ec)](_0x213d10);this[_0x48d7e7(0x207)](_0x3193ea,_0x48d7e7(0x21b),(_0x246f21,_0x4540f7,_0x2872b0)=>{const _0x377de4=_0x48d7e7;_0x2872b0&&(this[_0x377de4(0x1f2)]=_0x3193ea[_0x377de4(0x1b6)],_0x246f21[_0x377de4(0x1cd)]());}),this[_0x48d7e7(0x1bf)][_0x48d7e7(0x1fd)](_0x48d7e7(0x209))['to'](_0x1377ec,_0x48d7e7(0x1b2),_0x10dfa8=>_0x10dfa8===_0x5af69a[_0x48d7e7(0x1b7)]);}async[_0x5576b1(0x1c9)](){const _0x5e805b=_0x5576b1,_0xf2b7a5=this[_0x5e805b(0x218)][_0x5e805b(0x20a)][_0x5e805b(0x1df)](_0xdf84aa),_0x465b9a=this[_0x5e805b(0x218)][_0x5e805b(0x20a)][_0x5e805b(0x1df)](_0x8aa0ad),_0x2bc8fc=async()=>{const _0x44e5ff=_0x5e805b,_0x5ae791=this[_0x44e5ff(0x1bf)][_0x44e5ff(0x21e)],_0x3cc8ed=_0x5ae791['id'],_0x489bbe=_0x3cc8ed!==_0x465b9a[_0x44e5ff(0x1de)];if(_0x489bbe){const _0x91c227=_0x465b9a[_0x44e5ff(0x1b6)]-this[_0x44e5ff(0x1f2)],_0xd51f71=this[_0x44e5ff(0x1db)]();this[_0x44e5ff(0x1bf)][_0x44e5ff(0x214)][_0x44e5ff(0x1d5)]();if(_0x5ae791[_0x44e5ff(0x1e0)]+_0x91c227!==_0xd51f71){const _0x356e65=_0x5ae791[_0x44e5ff(0x1f0)]+_0x91c227,_0x2c800a=this[_0x44e5ff(0x218)][_0x44e5ff(0x20a)][_0x44e5ff(0x1df)](_0x5a7594),_0x345e31=this[_0x44e5ff(0x1bf)][_0x44e5ff(0x21c)]({'revision':_0x5ae791,'from':_0x356e65,'to':_0xd51f71});_0x345e31['id']=_0x5ae791['id'];const _0x2d2e81=_0x345e31[_0x44e5ff(0x1e8)][_0x44e5ff(0x1c3)](_0x580b09=>_0x2c800a[_0x44e5ff(0x1af)](_0x580b09));_0x5ae791[_0x44e5ff(0x203)]({..._0x345e31,'authors':_0x2d2e81},!0x0),this[_0x44e5ff(0x1bf)][_0x44e5ff(0x1d4)](_0x5ae791['id'],_0x345e31,!0x0);}this[_0x44e5ff(0x1bf)][_0x44e5ff(0x219)]=_0xd51f71,(_0x5ae791[_0x44e5ff(0x1e0)]===_0x5ae791[_0x44e5ff(0x1f0)]&&!this[_0x44e5ff(0x1bf)][_0x44e5ff(0x1ca)][_0x44e5ff(0x1f5)](_0x3cc8ed)&&this[_0x44e5ff(0x1bf)][_0x44e5ff(0x1cc)][_0x44e5ff(0x1bc)][_0x44e5ff(0x1b8)](_0x3cc8ed),this[_0x44e5ff(0x1bf)][_0x44e5ff(0x1c4)](_0xd51f71));}const {revisions:_0x5ab6d3,requestId:_0x8520db}=await this[_0x44e5ff(0x1f1)][_0x44e5ff(0x1c9)](_0xf2b7a5[_0x44e5ff(0x1b0)],this[_0x44e5ff(0x1c8)]);_0x489bbe&&_0x5ab6d3[_0x44e5ff(0x20e)]>0x0?_0x465b9a[_0x44e5ff(0x1ff)]():(await this[_0x44e5ff(0x1f4)](_0x5ab6d3),this[_0x44e5ff(0x211)](_0x5ab6d3,_0x8520db),this[_0x44e5ff(0x1bf)][_0x44e5ff(0x1c5)]());};return _0x465b9a[_0x5e805b(0x1f9)]?_0x2bc8fc():new Promise((_0x5c76de,_0x2f571e)=>{const _0x12cc3e=_0x5e805b;_0x465b9a[_0x12cc3e(0x200)](_0x12cc3e(0x21b),()=>{const _0x6583e4=_0x12cc3e;_0x2bc8fc()[_0x6583e4(0x216)](_0x5c76de)[_0x6583e4(0x1ba)](_0x2f571e);});});}[_0x5576b1(0x1c0)](){const _0x5ad1d2=_0x5576b1;super[_0x5ad1d2(0x1c0)]();}async[_0x5576b1(0x21a)](){const _0x475497=_0x5576b1;this[_0x475497(0x1f1)][_0x475497(0x1fb)]||await new Promise(_0x4cf687=>{const _0x20dbfb=_0x475497;this[_0x20dbfb(0x207)](this[_0x20dbfb(0x1f1)],_0x20dbfb(0x1f7),_0x18baf7=>{const _0x469731=_0x20dbfb;_0x18baf7[_0x469731(0x1cd)](),_0x4cf687();});});}[_0x5576b1(0x1db)](){const _0x3ff0d3=_0x5576b1,_0x7852cd=this[_0x3ff0d3(0x218)][_0x3ff0d3(0x20a)][_0x3ff0d3(0x1df)](_0x8aa0ad)[_0x3ff0d3(0x1c7)][_0x3ff0d3(0x20d)]()[_0x3ff0d3(0x204)]();for(const _0x3d05a5 of _0x7852cd)if(_0x3ff0d3(0x1c1)!==_0x3d05a5[_0x3ff0d3(0x1ed)]||_0x3d05a5[_0x3ff0d3(0x1e2)])return _0x3d05a5[_0x3ff0d3(0x1fc)]+0x1;}[_0x5576b1(0x1b5)](){const _0x1a8d5f=_0x5576b1,_0x57fb6b=this[_0x1a8d5f(0x218)][_0x1a8d5f(0x20a)][_0x1a8d5f(0x1df)](_0x8aa0ad);return new Promise(_0x5b69e1=>{const _0x4e60dc=_0x1a8d5f;_0x57fb6b[_0x4e60dc(0x1d0)]?_0x57fb6b[_0x4e60dc(0x200)](_0x4e60dc(0x210),()=>{const _0x5d11f7=_0x4e60dc;_0x5b69e1(this[_0x5d11f7(0x1db)]());}):_0x5b69e1(this[_0x4e60dc(0x1db)]());});}[_0x5576b1(0x211)](_0x3634cd,_0x259f37){const _0xa1f054=_0x5576b1,_0x382f87=this[_0xa1f054(0x1bf)][_0xa1f054(0x1cc)];this[_0xa1f054(0x1c8)]=_0x259f37;for(const _0x22a907 of _0x3634cd){const _0x3d42e2=_0x382f87[_0xa1f054(0x1b9)](_0x22a907['id']);if(_0x3d42e2){if((_0x22a907[_0xa1f054(0x1f0)]||_0x22a907[_0xa1f054(0x1e0)])&&(_0x22a907[_0xa1f054(0x201)]=null),_0x3d42e2===this[_0xa1f054(0x1bf)][_0xa1f054(0x21e)]){const _0x36a7b3=Math[_0xa1f054(0x205)](_0x3d42e2[_0xa1f054(0x1e0)],_0x22a907[_0xa1f054(0x1e0)]),_0x8bd3a3=Math[_0xa1f054(0x205)](_0x3d42e2[_0xa1f054(0x1f0)],_0x22a907[_0xa1f054(0x1f0)]);let _0x579a64;_0x3d42e2[_0xa1f054(0x1e0)]===_0x22a907[_0xa1f054(0x1e0)]&&_0x3d42e2[_0xa1f054(0x1f0)]===_0x22a907[_0xa1f054(0x1f0)]?(_0x579a64=!0x0,this[_0xa1f054(0x20f)](_0x22a907)):_0x22a907[_0xa1f054(0x1e0)]===_0x36a7b3&&_0x22a907[_0xa1f054(0x1f0)]===_0x8bd3a3?_0x579a64=!0x1:(_0x3d42e2[_0xa1f054(0x1e0)]===_0x36a7b3&&_0x3d42e2[_0xa1f054(0x1f0)]===_0x8bd3a3||this[_0xa1f054(0x202)]({'revision':_0x3d42e2,'from':_0x8bd3a3,'to':_0x36a7b3}),_0x579a64=!0x0),_0x579a64&&(delete _0x22a907[_0xa1f054(0x1f0)],delete _0x22a907[_0xa1f054(0x1e0)],delete _0x22a907[_0xa1f054(0x201)],delete _0x22a907[_0xa1f054(0x217)],delete _0x22a907[_0xa1f054(0x1e8)]);}this[_0xa1f054(0x1bf)][_0xa1f054(0x1f6)](_0x22a907),this[_0xa1f054(0x20f)](_0x22a907);}else this[_0xa1f054(0x1bf)][_0xa1f054(0x1ec)](_0x22a907);}const _0xef1b89=_0x382f87[_0xa1f054(0x1d2)]();_0xef1b89[_0xa1f054(0x204)]();for(let _0xbf2185=0x0;_0xbf2185<_0xef1b89[_0xa1f054(0x20e)]-0x1;_0xbf2185++){const _0x498136=_0xef1b89[_0xbf2185],_0x11037b=_0xef1b89[_0xbf2185+0x1];if(_0x498136[_0xa1f054(0x1f0)]<_0x11037b[_0xa1f054(0x1e0)]){const _0x18f819=_0x11037b[_0xa1f054(0x1e0)],_0x121897=Math[_0xa1f054(0x205)](_0x18f819,_0x498136[_0xa1f054(0x1e0)]);this[_0xa1f054(0x202)]({'revision':_0x498136,'from':_0x18f819,'to':_0x121897});}}}[_0x5576b1(0x202)]({revision:_0x4270ed,from:_0x2f5587,to:_0x108593}={}){const _0x417364=_0x5576b1,_0x290e26=this[_0x417364(0x218)][_0x417364(0x20a)][_0x417364(0x1df)](_0x5a7594),_0x3edde1=this[_0x417364(0x1bf)][_0x417364(0x21c)]({'revision':_0x4270ed,'from':_0x2f5587,'to':_0x108593});_0x3edde1[_0x417364(0x1dd)]=_0x3edde1[_0x417364(0x1e8)][_0x417364(0x1c3)](_0x3bc2b6=>_0x290e26[_0x417364(0x1af)](_0x3bc2b6)),_0x4270ed[_0x417364(0x203)](_0x3edde1);}[_0x5576b1(0x20f)](_0x2eefc2){const _0x266dc9=_0x5576b1,_0x402bbc={};_0x402bbc['id']=_0x2eefc2['id'];for(const _0x4358a3 of Object[_0x266dc9(0x1e3)](_0x2eefc2))'id'!==_0x4358a3&&(_0x402bbc[_0x4358a3]=void 0x0);this[_0x266dc9(0x1bf)][_0x266dc9(0x1d4)](_0x402bbc['id'],_0x402bbc,!0x0);}async[_0x5576b1(0x1f4)](_0x10e5df){const _0x23b775=_0x5576b1,_0x39aa12=this[_0x23b775(0x218)][_0x23b775(0x20a)][_0x23b775(0x1df)](_0x5a7594),{connection:_0x15149b}=this[_0x23b775(0x218)][_0x23b775(0x20a)][_0x23b775(0x1df)](_0xdf84aa),_0x1911de=new Set();for(const _0x52e426 of _0x10e5df){for(const _0x5f2f6 of _0x52e426[_0x23b775(0x1e8)])_0xbdae95(_0x5f2f6);_0x52e426[_0x23b775(0x1b1)]&&_0xbdae95(_0x52e426[_0x23b775(0x1b1)]);}if(0x0===_0x1911de[_0x23b775(0x1f3)])return;const _0x6f499c=await _0x2b2181[_0x23b775(0x220)](_0x15149b,Array[_0x23b775(0x1d3)](_0x1911de));for(const _0x330e9a of _0x6f499c)_0x39aa12[_0x23b775(0x1af)](_0x330e9a['id'])||_0x39aa12[_0x23b775(0x1d6)](_0x330e9a);function _0xbdae95(_0x26bfcd){const _0x449d62=_0x23b775;_0x39aa12[_0x449d62(0x1af)](_0x26bfcd)||_0x1911de[_0x449d62(0x1eb)](_0x26bfcd);}}}function st(_0x4a6309){const _0x43962b=_0x5576b1;return _0x4a6309[_0x43962b(0x206)][_0x43962b(0x1bb)](_0x43962b(0x1cf))||_0x4a6309[_0x43962b(0x206)][_0x43962b(0x1bb)](_0x43962b(0x1be))||_0x4a6309[_0x43962b(0x206)][_0x43962b(0x1bb)](_0x43962b(0x21f));}
23
+ const _0x106196=_0x47cb;function _0x47cb(_0x119ffa,_0x1e41eb){const _0x42ca8c=_0x42ca();return _0x47cb=function(_0x47cb1b,_0x1efef1){_0x47cb1b=_0x47cb1b-0x141;let _0x5d0de5=_0x42ca8c[_0x47cb1b];return _0x5d0de5;},_0x47cb(_0x119ffa,_0x1e41eb);}(function(_0x5cd054,_0x31d8f9){const _0x4b7367=_0x47cb,_0x21cafa=_0x5cd054();while(!![]){try{const _0x8209c6=parseInt(_0x4b7367(0x1ad))/0x1+-parseInt(_0x4b7367(0x17c))/0x2+parseInt(_0x4b7367(0x159))/0x3*(-parseInt(_0x4b7367(0x155))/0x4)+-parseInt(_0x4b7367(0x153))/0x5*(-parseInt(_0x4b7367(0x1b0))/0x6)+-parseInt(_0x4b7367(0x1aa))/0x7*(-parseInt(_0x4b7367(0x171))/0x8)+-parseInt(_0x4b7367(0x143))/0x9*(parseInt(_0x4b7367(0x175))/0xa)+parseInt(_0x4b7367(0x17b))/0xb;if(_0x8209c6===_0x31d8f9)break;else _0x21cafa['push'](_0x21cafa['shift']());}catch(_0x2347c4){_0x21cafa['push'](_0x21cafa['shift']());}}}(_0x42ca,0x241e6));function _0x42ca(){const _0x414e66=['getMany','84833xAqTYi','authorsIds','addRevisionData','215296MukjnO','_bufferedUpdates','affectsData','354SrfWvW','addToReconnectionStack','_getLatestVersionFromServerOperations','toVersion','listenTo','_revisionHistoryService','getRevisions','isEnabled','281493xjvdtU','get','_fetchMissingUsers','code','bind','authors','serverHistory','_oldOffset','connection','isBundleUploaded','isPremiumPlugin','_handleRevisionsUpdate','reconnect','data','CONNECTED','_revisionDataBuilder','19445iHtLKW','_handleReconnectionError','4wjQfIK','setSource','collaboration.channelId','add','702531RNxYae','baseVersion','_revisions','revisionsUpdated','once','updateRevisions','isOfficialPlugin','isConnected','isEmptyCurrent','cloudServices.bundleVersion','plugins','_createCurrentRevision','length','size','connect','reverse','buildRevisionData','then','creatorId','400','state','marker','from','max','88sVWfip','diffData','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','destroy','20YMmrtJ','RevisionTracker','fromVersion','change:_isPendingUpdate','init','RevisionHistory','805992hYBqWO','413310hsfKNE','_getLatestVersion','wrongRequestId','_bufferUpdate','config','_offset','_update','remove','_isPendingUpdate','getOperations','startsWith','sendBufferedUpdates','setRevisionData','_startingVersion','editor','change:_isConnected','cloud-services-internal-error:\x20Request\x20timeout.','_lastRequestId','getRevision','pluginName','RevisionHistoryService','off','CloudServicesRevisionHistoryAdapter','connected','repository','_isConnected','has','cloud-services-internal-error:\x20Not\x20connected.','addUser','createdAt','_waitForServiceReady','_preventResendingRevisionData','catch','adapter','type','getUser','reInit','map','message','_revisionTracker','_fixRevision','keys','currentRevision','requires','sessionId'];_0x42ca=function(){return _0x414e66;};return _0x42ca();}import{Plugin as _0x10a0fc}from'ckeditor5/src/core.js';import{version as _0x1abf9a}from'ckeditor5/src/utils.js';import{Users as _0x15a452}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x4cf045}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0xcfbe2e}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x3a1465}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x2b592c,RevisionHistoryService as _0x2be3c8,User as _0x4e7f63,WEB_SOCKET_GATEWAY_STATES as _0x49f591}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x10a0fc{static [_0x106196(0x190)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x2be3c8)());[_0x106196(0x18d)];[_0x106196(0x1a3)];[_0x106196(0x1b5)];[_0x106196(0x14a)];static get[_0x106196(0x1a7)](){const _0x2410fe=_0x106196;return[_0xcfbe2e,_0x4cf045,_0x2410fe(0x17a),_0x3a1465,_0x15a452];}static get[_0x106196(0x18f)](){const _0x242d89=_0x106196;return _0x242d89(0x192);}static get[_0x106196(0x15f)](){return!0x0;}static get[_0x106196(0x14d)](){return!0x0;}constructor(_0x581beb){const _0x4b1560=_0x106196;super(_0x581beb);const _0x27bd8f=this[_0x4b1560(0x18a)][_0x4b1560(0x180)][_0x4b1560(0x144)](_0x4b1560(0x157));this[_0x4b1560(0x18d)]=null,this[_0x4b1560(0x1a3)]=this[_0x4b1560(0x18a)][_0x4b1560(0x163)][_0x4b1560(0x144)](_0x4b1560(0x176)),this[_0x4b1560(0x1b5)]=new CloudServicesRevisionHistoryAdapter[(_0x4b1560(0x190))](_0x27bd8f);}async[_0x106196(0x179)](){const _0xe1e9dd=_0x106196,_0x59b1cd=this[_0xe1e9dd(0x18a)][_0xe1e9dd(0x163)][_0xe1e9dd(0x144)](_0x4cf045),_0x33c059=_0x59b1cd[_0xe1e9dd(0x149)],_0x3a4c47=this[_0xe1e9dd(0x18a)][_0xe1e9dd(0x163)][_0xe1e9dd(0x144)](_0xcfbe2e);this[_0xe1e9dd(0x1a3)][_0xe1e9dd(0x156)]({'history':_0x33c059,'getLatestVersion':()=>this[_0xe1e9dd(0x17d)](),'getCurrentRevisionId':()=>_0x59b1cd[_0xe1e9dd(0x1a8)]});const _0x3d7e1c=this[_0xe1e9dd(0x18a)][_0xe1e9dd(0x180)][_0xe1e9dd(0x144)](_0xe1e9dd(0x162))||_0x1abf9a,_0xfc0a77=await _0x2b592c[_0xe1e9dd(0x14c)](_0x3a4c47[_0xe1e9dd(0x14b)],_0x3d7e1c);this[_0xe1e9dd(0x18a)][_0xe1e9dd(0x163)][_0xe1e9dd(0x144)](_0xe1e9dd(0x17a))[_0xe1e9dd(0x19d)]={'getRevision':async({revisionId:_0x30f63b})=>(await this[_0xe1e9dd(0x19a)](),await this[_0xe1e9dd(0x1b5)][_0xe1e9dd(0x18e)](_0x30f63b)),'updateRevisions':async _0x443f57=>{const _0x4e82c1=_0xe1e9dd;await this[_0x4e82c1(0x19a)]();const _0x1652f0=this[_0x4e82c1(0x1a3)][_0x4e82c1(0x1a6)];if(_0xfc0a77&&0x1===_0x443f57[_0x4e82c1(0x165)]&&_0x443f57[0x0]['id']===_0x1652f0['id'])return _0x443f57;for(const _0x42465b of _0x443f57)_0x42465b['id']===_0x1652f0['id']&&(_0x42465b[_0x4e82c1(0x161)]=_0x42465b[_0x4e82c1(0x177)]===_0x42465b[_0x4e82c1(0x1b3)]);return this[_0x4e82c1(0x1b5)][_0x4e82c1(0x15e)](_0x443f57,this[_0x4e82c1(0x18d)])[_0x4e82c1(0x16a)](_0x1e821a=>(this[_0x4e82c1(0x18d)]=_0x1e821a,_0x443f57))[_0x4e82c1(0x19c)](_0x1d4646=>{const _0x379fad=_0x4e82c1;if(w(_0x1d4646)||_0x379fad(0x16c)===_0x1d4646[_0x379fad(0x146)]&&void 0x0!==_0x1d4646[_0x379fad(0x150)][_0x379fad(0x17e)]){for(const _0x1598e0 of _0x443f57){!this[_0x379fad(0x1a3)][_0x379fad(0x194)][_0x379fad(0x18e)](_0x1598e0['id'])||this[_0x379fad(0x1a3)][_0x379fad(0x17f)](_0x1598e0['id'],_0x1598e0,!0x1);}if(w(_0x1d4646))throw _0x1d4646;return _0x443f57;}throw _0x1d4646;});}},this[_0xe1e9dd(0x1b4)](this[_0xe1e9dd(0x1b5)],_0xe1e9dd(0x15c),(_0xf95b4f,{revisionsData:_0x3dd72c,requestId:_0x440e53})=>{const _0x54f51d=_0xe1e9dd;Math[_0x54f51d(0x170)](..._0x3dd72c[_0x54f51d(0x1a1)](_0x5b973c=>_0x5b973c[_0x54f51d(0x1b3)]))>this[_0x54f51d(0x1b2)]()-0x1?this[_0x54f51d(0x17d)]()[_0x54f51d(0x16a)](()=>{const _0x3024c8=_0x54f51d;this[_0x3024c8(0x14e)](_0x3dd72c,_0x440e53);}):this[_0x54f51d(0x14e)](_0x3dd72c,_0x440e53);});const {revisions:_0x4119c9,requestId:_0x5608d8}=await this[_0xe1e9dd(0x1b5)][_0xe1e9dd(0x167)](_0x3a4c47[_0xe1e9dd(0x14b)]);_0x3a4c47[_0xe1e9dd(0x1b1)](this),this[_0xe1e9dd(0x18d)]=_0x5608d8,await this[_0xe1e9dd(0x145)](_0x4119c9);for(const _0x23376e of _0x4119c9)this[_0xe1e9dd(0x1a3)][_0xe1e9dd(0x1ac)](_0x23376e);this[_0xe1e9dd(0x1b4)](_0x59b1cd,_0xe1e9dd(0x18b),(_0x27df19,_0x1fc622,_0x3ca6ae)=>{const _0x3d8ce3=_0xe1e9dd;_0x3ca6ae&&(this[_0x3d8ce3(0x14a)]=_0x59b1cd[_0x3d8ce3(0x181)],_0x27df19[_0x3d8ce3(0x191)]());}),this[_0xe1e9dd(0x1a3)][_0xe1e9dd(0x147)](_0xe1e9dd(0x142))['to'](_0x3a4c47,_0xe1e9dd(0x16d),_0x5b47d7=>_0x5b47d7===_0x49f591[_0xe1e9dd(0x151)]);}async[_0x106196(0x14f)](){const _0x2e82da=_0x106196,_0x1fb902=this[_0x2e82da(0x18a)][_0x2e82da(0x163)][_0x2e82da(0x144)](_0xcfbe2e),_0x435aaa=this[_0x2e82da(0x18a)][_0x2e82da(0x163)][_0x2e82da(0x144)](_0x4cf045),_0x498efc=async()=>{const _0x39f81e=_0x2e82da,_0x41eb75=this[_0x39f81e(0x1a3)][_0x39f81e(0x1a6)],_0x2e0145=_0x41eb75['id'],_0x1782a2=_0x2e0145!==_0x435aaa[_0x39f81e(0x1a8)];if(_0x1782a2){const _0x488b92=_0x435aaa[_0x39f81e(0x181)]-this[_0x39f81e(0x14a)],_0x15d83d=this[_0x39f81e(0x1b2)]();this[_0x39f81e(0x1a3)][_0x39f81e(0x152)][_0x39f81e(0x1a0)]();if(_0x41eb75[_0x39f81e(0x1b3)]+_0x488b92!==_0x15d83d){const _0x1e75ed=_0x41eb75[_0x39f81e(0x177)]+_0x488b92,_0x2d7f34=this[_0x39f81e(0x18a)][_0x39f81e(0x163)][_0x39f81e(0x144)](_0x15a452),_0x24f7d2=this[_0x39f81e(0x1a3)][_0x39f81e(0x169)]({'revision':_0x41eb75,'from':_0x1e75ed,'to':_0x15d83d});_0x24f7d2['id']=_0x41eb75['id'];const _0xecf264=_0x24f7d2[_0x39f81e(0x1ab)][_0x39f81e(0x1a1)](_0x3f7d84=>_0x2d7f34[_0x39f81e(0x19f)](_0x3f7d84));_0x41eb75[_0x39f81e(0x182)]({..._0x24f7d2,'authors':_0xecf264},!0x0),this[_0x39f81e(0x1a3)][_0x39f81e(0x17f)](_0x41eb75['id'],_0x24f7d2,!0x0);}this[_0x39f81e(0x1a3)][_0x39f81e(0x189)]=_0x15d83d,(_0x41eb75[_0x39f81e(0x1b3)]===_0x41eb75[_0x39f81e(0x177)]&&!this[_0x39f81e(0x1a3)][_0x39f81e(0x1ae)][_0x39f81e(0x196)](_0x2e0145)&&this[_0x39f81e(0x1a3)][_0x39f81e(0x194)][_0x39f81e(0x15b)][_0x39f81e(0x183)](_0x2e0145),this[_0x39f81e(0x1a3)][_0x39f81e(0x164)](_0x15d83d));}const {revisions:_0x2685c2,requestId:_0x1bfef8}=await this[_0x39f81e(0x1b5)][_0x39f81e(0x14f)](_0x1fb902[_0x39f81e(0x14b)],this[_0x39f81e(0x18d)]);_0x1782a2&&_0x2685c2[_0x39f81e(0x165)]>0x0?_0x435aaa[_0x39f81e(0x154)]():(await this[_0x39f81e(0x145)](_0x2685c2),this[_0x39f81e(0x14e)](_0x2685c2,_0x1bfef8),this[_0x39f81e(0x1a3)][_0x39f81e(0x187)]());};return _0x435aaa[_0x2e82da(0x195)]?_0x498efc():new Promise((_0x1be854,_0x1d3d00)=>{const _0x49c130=_0x2e82da;_0x435aaa[_0x49c130(0x15d)](_0x49c130(0x18b),()=>{const _0x2c3f4c=_0x49c130;_0x498efc()[_0x2c3f4c(0x16a)](_0x1be854)[_0x2c3f4c(0x19c)](_0x1d3d00);});});}[_0x106196(0x174)](){const _0x516cab=_0x106196;super[_0x516cab(0x174)]();}async[_0x106196(0x19a)](){const _0x30e491=_0x106196;this[_0x30e491(0x1b5)][_0x30e491(0x160)]||await new Promise(_0x1c68c8=>{const _0x5541eb=_0x30e491;this[_0x5541eb(0x1b4)](this[_0x5541eb(0x1b5)],_0x5541eb(0x193),_0xe87adc=>{const _0x396d13=_0x5541eb;_0xe87adc[_0x396d13(0x191)](),_0x1c68c8();});});}[_0x106196(0x1b2)](){const _0x40970b=_0x106196,_0x3ab5ef=this[_0x40970b(0x18a)][_0x40970b(0x163)][_0x40970b(0x144)](_0x4cf045)[_0x40970b(0x149)][_0x40970b(0x185)]()[_0x40970b(0x168)]();for(const _0x3edf47 of _0x3ab5ef)if(_0x40970b(0x16e)!==_0x3edf47[_0x40970b(0x19e)]||_0x3edf47[_0x40970b(0x1af)])return _0x3edf47[_0x40970b(0x15a)]+0x1;}[_0x106196(0x17d)](){const _0x201fb2=_0x106196,_0x203ecf=this[_0x201fb2(0x18a)][_0x201fb2(0x163)][_0x201fb2(0x144)](_0x4cf045);return new Promise(_0x3d33b0=>{const _0x59a65f=_0x201fb2;_0x203ecf[_0x59a65f(0x184)]?_0x203ecf[_0x59a65f(0x15d)](_0x59a65f(0x178),()=>{const _0x351908=_0x59a65f;_0x3d33b0(this[_0x351908(0x1b2)]());}):_0x3d33b0(this[_0x59a65f(0x1b2)]());});}[_0x106196(0x14e)](_0x4a2312,_0x491d5f){const _0x5887c8=_0x106196,_0x2d78f0=this[_0x5887c8(0x1a3)][_0x5887c8(0x194)];this[_0x5887c8(0x18d)]=_0x491d5f;for(const _0x1c2b8d of _0x4a2312){const _0x4f7945=_0x2d78f0[_0x5887c8(0x18e)](_0x1c2b8d['id']);if(_0x4f7945){if((_0x1c2b8d[_0x5887c8(0x177)]||_0x1c2b8d[_0x5887c8(0x1b3)])&&(_0x1c2b8d[_0x5887c8(0x172)]=null),_0x4f7945===this[_0x5887c8(0x1a3)][_0x5887c8(0x1a6)]){const _0x3ed32a=Math[_0x5887c8(0x170)](_0x4f7945[_0x5887c8(0x1b3)],_0x1c2b8d[_0x5887c8(0x1b3)]),_0x577b95=Math[_0x5887c8(0x170)](_0x4f7945[_0x5887c8(0x177)],_0x1c2b8d[_0x5887c8(0x177)]);let _0x24708e;_0x4f7945[_0x5887c8(0x1b3)]===_0x1c2b8d[_0x5887c8(0x1b3)]&&_0x4f7945[_0x5887c8(0x177)]===_0x1c2b8d[_0x5887c8(0x177)]?(_0x24708e=!0x0,this[_0x5887c8(0x19b)](_0x1c2b8d)):_0x1c2b8d[_0x5887c8(0x1b3)]===_0x3ed32a&&_0x1c2b8d[_0x5887c8(0x177)]===_0x577b95?_0x24708e=!0x1:(_0x4f7945[_0x5887c8(0x1b3)]===_0x3ed32a&&_0x4f7945[_0x5887c8(0x177)]===_0x577b95||this[_0x5887c8(0x1a4)]({'revision':_0x4f7945,'from':_0x577b95,'to':_0x3ed32a}),_0x24708e=!0x0),_0x24708e&&(delete _0x1c2b8d[_0x5887c8(0x177)],delete _0x1c2b8d[_0x5887c8(0x1b3)],delete _0x1c2b8d[_0x5887c8(0x172)],delete _0x1c2b8d[_0x5887c8(0x199)],delete _0x1c2b8d[_0x5887c8(0x1ab)]);}this[_0x5887c8(0x1a3)][_0x5887c8(0x188)](_0x1c2b8d),this[_0x5887c8(0x19b)](_0x1c2b8d);}else this[_0x5887c8(0x1a3)][_0x5887c8(0x1ac)](_0x1c2b8d);}const _0x5b9a46=_0x2d78f0[_0x5887c8(0x141)]();_0x5b9a46[_0x5887c8(0x168)]();for(let _0x5a4e03=0x0;_0x5a4e03<_0x5b9a46[_0x5887c8(0x165)]-0x1;_0x5a4e03++){const _0x51bea4=_0x5b9a46[_0x5a4e03],_0x1aeae7=_0x5b9a46[_0x5a4e03+0x1];if(_0x51bea4[_0x5887c8(0x177)]<_0x1aeae7[_0x5887c8(0x1b3)]){const _0x8428f6=_0x1aeae7[_0x5887c8(0x1b3)],_0x5b0a0a=Math[_0x5887c8(0x170)](_0x8428f6,_0x51bea4[_0x5887c8(0x1b3)]);this[_0x5887c8(0x1a4)]({'revision':_0x51bea4,'from':_0x8428f6,'to':_0x5b0a0a});}}}[_0x106196(0x1a4)]({revision:_0x7a9191,from:_0x5001c6,to:_0x33b0ec}={}){const _0x3fb0c8=_0x106196,_0x2378a0=this[_0x3fb0c8(0x18a)][_0x3fb0c8(0x163)][_0x3fb0c8(0x144)](_0x15a452),_0x121ce0=this[_0x3fb0c8(0x1a3)][_0x3fb0c8(0x169)]({'revision':_0x7a9191,'from':_0x5001c6,'to':_0x33b0ec});_0x121ce0[_0x3fb0c8(0x148)]=_0x121ce0[_0x3fb0c8(0x1ab)][_0x3fb0c8(0x1a1)](_0x55d9b8=>_0x2378a0[_0x3fb0c8(0x19f)](_0x55d9b8)),_0x7a9191[_0x3fb0c8(0x182)](_0x121ce0);}[_0x106196(0x19b)](_0x1c4a50){const _0x248af1=_0x106196,_0x51ab64={};_0x51ab64['id']=_0x1c4a50['id'];for(const _0x28d44f of Object[_0x248af1(0x1a5)](_0x1c4a50))'id'!==_0x28d44f&&(_0x51ab64[_0x28d44f]=void 0x0);this[_0x248af1(0x1a3)][_0x248af1(0x17f)](_0x51ab64['id'],_0x51ab64,!0x0);}async[_0x106196(0x145)](_0xfbda07){const _0x28afba=_0x106196,_0x3fdc48=this[_0x28afba(0x18a)][_0x28afba(0x163)][_0x28afba(0x144)](_0x15a452),{connection:_0xbeb970}=this[_0x28afba(0x18a)][_0x28afba(0x163)][_0x28afba(0x144)](_0xcfbe2e),_0xac730f=new Set();for(const _0x21a6e7 of _0xfbda07){for(const _0x262734 of _0x21a6e7[_0x28afba(0x1ab)])_0x3008f1(_0x262734);_0x21a6e7[_0x28afba(0x16b)]&&_0x3008f1(_0x21a6e7[_0x28afba(0x16b)]);}if(0x0===_0xac730f[_0x28afba(0x166)])return;const _0x3422cc=await _0x4e7f63[_0x28afba(0x1a9)](_0xbeb970,Array[_0x28afba(0x16f)](_0xac730f));for(const _0x10c861 of _0x3422cc)_0x3fdc48[_0x28afba(0x19f)](_0x10c861['id'])||_0x3fdc48[_0x28afba(0x198)](_0x10c861);function _0x3008f1(_0x4d8460){const _0x575bfd=_0x28afba;_0x3fdc48[_0x575bfd(0x19f)](_0x4d8460)||_0xac730f[_0x575bfd(0x158)](_0x4d8460);}}}function w(_0x55a9ed){const _0x567bc2=_0x106196;return _0x55a9ed[_0x567bc2(0x1a2)][_0x567bc2(0x186)](_0x567bc2(0x173))||_0x55a9ed[_0x567bc2(0x1a2)][_0x567bc2(0x186)](_0x567bc2(0x197))||_0x55a9ed[_0x567bc2(0x1a2)][_0x567bc2(0x186)](_0x567bc2(0x18c));}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54427a=_0x3ab9;(function(_0x46d421,_0x2b101d){const _0xf36562=_0x3ab9,_0x4159ae=_0x46d421();while(!![]){try{const _0x1460ac=parseInt(_0xf36562(0x15f))/0x1*(parseInt(_0xf36562(0x14a))/0x2)+parseInt(_0xf36562(0x133))/0x3+parseInt(_0xf36562(0x130))/0x4*(parseInt(_0xf36562(0x142))/0x5)+-parseInt(_0xf36562(0x139))/0x6+parseInt(_0xf36562(0x150))/0x7+parseInt(_0xf36562(0x16d))/0x8*(-parseInt(_0xf36562(0x16a))/0x9)+parseInt(_0xf36562(0x132))/0xa*(-parseInt(_0xf36562(0x156))/0xb);if(_0x1460ac===_0x2b101d)break;else _0x4159ae['push'](_0x4159ae['shift']());}catch(_0x38bbe5){_0x4159ae['push'](_0x4159ae['shift']());}}}(_0x3c2e,0x57942));import{Plugin as _0x320069}from'ckeditor5/src/core.js';import{User as _0x545f8c,TrackChangesService as _0xa00712}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5448bd}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x15b5f2}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x3c2e(){const _0x52b160=['message','pluginName','72UXrWvB','getMany','hasSuggestion','add','748772nRJmyL','set','10YTFjyv','349227xeDbfC','isOfficialPlugin','from','adapter','cloud-services-internal-error:\x20Request\x20timeout.','isConnected','3991554GQgDrs','data','find','connection','get','catch','addToReconnectionStack','originalSuggestionId','suggestionUpdated','5AOhmni','isPremiumPlugin','startsWith','editor','state','open','_saved','TrackChangesEditing','1454YrLqCt','_fetchMissingUsersForThreads','TrackChangesService','cloud-services-internal-error:\x20Not\x20connected.','attributes','_waitForServiceReady','4428466cYHhdU','config','addSuggestionData','off','getSuggestion','requires','1525700xDXiBW','update','then','plugins','_trackChangesService','values','connected','type','_bufferedRequests','589tVLPVX','addUser','collaboration.channelId','init','connect','getUser','delete','reconnect','size','CloudServicesTrackChangesAdapter','listenTo','201762hhqUUs'];_0x3c2e=function(){return _0x52b160;};return _0x3c2e();}import{Users as _0x58724b}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x320069{static [_0x54427a(0x14c)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0xa00712)());[_0x54427a(0x15e)];[_0x54427a(0x15a)];static get[_0x54427a(0x155)](){const _0x47bc4a=_0x54427a;return[_0x15b5f2,_0x47bc4a(0x149),_0x5448bd];}static get[_0x54427a(0x16c)](){const _0x246db3=_0x54427a;return _0x246db3(0x168);}static get[_0x54427a(0x134)](){return!0x0;}static get[_0x54427a(0x143)](){return!0x0;}constructor(_0x22bc6d){const _0x3bd318=_0x54427a;super(_0x22bc6d);const _0x3ea69c=this[_0x3bd318(0x145)][_0x3bd318(0x151)][_0x3bd318(0x13d)](_0x3bd318(0x161));this[_0x3bd318(0x15e)]=new Map(),this[_0x3bd318(0x15a)]=new CloudServicesTrackChangesAdapter[(_0x3bd318(0x14c))](_0x3ea69c);}[_0x54427a(0x162)](){const _0x4f27e9=_0x54427a,_0x239992=this[_0x4f27e9(0x145)][_0x4f27e9(0x159)][_0x4f27e9(0x13d)](_0x5448bd),_0x41d77f=this[_0x4f27e9(0x145)][_0x4f27e9(0x159)][_0x4f27e9(0x13d)](_0x4f27e9(0x149));return _0x41d77f[_0x4f27e9(0x136)]={'getSuggestion':async _0x53be8b=>{const _0x51e2a9=_0x4f27e9;await this[_0x51e2a9(0x14f)]();const _0x2f9a6b=await this[_0x51e2a9(0x15a)][_0x51e2a9(0x13d)](_0x53be8b)[_0x51e2a9(0x13e)](k);return await this[_0x51e2a9(0x14b)]([_0x2f9a6b]),_0x2f9a6b;},'addSuggestion':async({id:_0x3a9f2f,type:_0x3a9520,data:_0x27aeaa,originalSuggestionId:_0x38785a,attributes:_0x1f8fd7})=>{const _0x2cd826=_0x4f27e9;await this[_0x2cd826(0x14f)]();const _0x505e1d={'id':_0x3a9f2f,'type':_0x3a9520,'data':_0x27aeaa,'originalSuggestionId':_0x38785a,'attributes':_0x1f8fd7},_0x45ce1e=await this[_0x2cd826(0x15a)][_0x2cd826(0x12f)](_0x3a9f2f,_0x3a9520,_0x27aeaa,_0x38785a,_0x1f8fd7)[_0x2cd826(0x13e)](_0x3c18df=>{if(st(_0x3c18df))return new Promise(_0x463e03=>{const _0x47106a=_0x3ab9;this[_0x47106a(0x15e)][_0x47106a(0x131)](_0x3a9f2f,{'resolve':_0x463e03,'suggestionData':_0x505e1d});});throw _0x3c18df;});return this[_0x2cd826(0x15e)][_0x2cd826(0x165)](_0x3a9f2f),_0x45ce1e;},'updateSuggestion':async(_0x152460,_0x594c27)=>{const _0x40cda8=_0x4f27e9;if(await this[_0x40cda8(0x14f)](),_0x40cda8(0x147)!==_0x594c27[_0x40cda8(0x146)])return this[_0x40cda8(0x15a)][_0x40cda8(0x157)](_0x152460,_0x594c27)[_0x40cda8(0x13e)](k);}},this[_0x4f27e9(0x169)](this[_0x4f27e9(0x15a)],_0x4f27e9(0x141),(_0xd60972,_0x2b67a6)=>{const _0x15f190=_0x4f27e9;_0x41d77f[_0x15f190(0x12e)](_0x2b67a6['id'])&&(_0x41d77f[_0x15f190(0x154)](_0x2b67a6['id'])[_0x15f190(0x14e)]=_0x2b67a6[_0x15f190(0x14e)]);}),this[_0x4f27e9(0x15a)][_0x4f27e9(0x163)](_0x239992[_0x4f27e9(0x13c)])[_0x4f27e9(0x158)](_0x40d881=>(_0x239992[_0x4f27e9(0x13f)](this),this[_0x4f27e9(0x14b)](_0x40d881)[_0x4f27e9(0x158)](()=>{const _0x40a3a1=_0x4f27e9;for(const _0x33c849 of _0x40d881){_0x41d77f[_0x40a3a1(0x152)](_0x33c849)[_0x40a3a1(0x148)]=!0x0;}})));}async[_0x54427a(0x166)](){const _0xf10f72=_0x54427a,_0x23b449=this[_0xf10f72(0x145)][_0xf10f72(0x159)][_0xf10f72(0x13d)](_0xf10f72(0x149)),{connection:_0x5c1dcd}=this[_0xf10f72(0x145)][_0xf10f72(0x159)][_0xf10f72(0x13d)](_0x5448bd),_0x10a3bf=await this[_0xf10f72(0x15a)][_0xf10f72(0x163)](_0x5c1dcd);await this[_0xf10f72(0x14b)](_0x10a3bf);for(const {suggestionData:_0x4287d6,resolve:_0x4a3de3}of this[_0xf10f72(0x15e)][_0xf10f72(0x15b)]()){let _0x2e3d11=_0x10a3bf[_0xf10f72(0x13b)](_0x4c980f=>_0x4c980f['id']===_0x4287d6['id']);_0x2e3d11||(_0x2e3d11=await this[_0xf10f72(0x15a)][_0xf10f72(0x12f)](_0x4287d6['id'],_0x4287d6[_0xf10f72(0x15d)],_0x4287d6[_0xf10f72(0x13a)],_0x4287d6[_0xf10f72(0x140)])),_0x4a3de3(_0x2e3d11);}for(const _0x201c0a of _0x10a3bf)_0x23b449[_0xf10f72(0x12e)](_0x201c0a['id'])||_0x23b449[_0xf10f72(0x152)](_0x201c0a);}async[_0x54427a(0x14f)](){const _0x20d1cb=_0x54427a;this[_0x20d1cb(0x15a)][_0x20d1cb(0x138)]||await new Promise(_0x2bb359=>{const _0x15633d=_0x20d1cb;this[_0x15633d(0x169)](this[_0x15633d(0x15a)],_0x15633d(0x15c),_0x271e22=>{const _0x87cc82=_0x15633d;_0x271e22[_0x87cc82(0x153)](),_0x2bb359();});});}async[_0x54427a(0x14b)](_0x34eef3){const _0x57931e=_0x54427a,_0x1e87a6=this[_0x57931e(0x145)][_0x57931e(0x159)][_0x57931e(0x13d)](_0x58724b),{connection:_0x5bed76}=this[_0x57931e(0x145)][_0x57931e(0x159)][_0x57931e(0x13d)](_0x5448bd),_0x25db5c=new Set();for(const {authorId:_0x31687c}of _0x34eef3)_0x1e87a6[_0x57931e(0x164)](_0x31687c)||_0x25db5c[_0x57931e(0x12f)](_0x31687c);if(0x0===_0x25db5c[_0x57931e(0x167)])return;const _0x434ddb=await _0x545f8c[_0x57931e(0x12d)](_0x5bed76,Array[_0x57931e(0x135)](_0x25db5c));for(const _0x2f0744 of _0x434ddb)_0x1e87a6[_0x57931e(0x164)](_0x2f0744['id'])||_0x1e87a6[_0x57931e(0x160)](_0x2f0744);}}function _0x3ab9(_0x3daafe,_0x54b41d){const _0x3c2e7c=_0x3c2e();return _0x3ab9=function(_0x3ab9cb,_0x3f4405){_0x3ab9cb=_0x3ab9cb-0x12d;let _0x20bbba=_0x3c2e7c[_0x3ab9cb];return _0x20bbba;},_0x3ab9(_0x3daafe,_0x54b41d);}function k(_0x1b0238){if(st(_0x1b0238))return new Promise(()=>{});throw _0x1b0238;}function st(_0x505683){const _0x57171e=_0x54427a;return _0x505683[_0x57171e(0x16b)][_0x57171e(0x144)](_0x57171e(0x14d))||_0x505683[_0x57171e(0x16b)][_0x57171e(0x144)](_0x57171e(0x137));}
23
+ const _0x102922=_0x1063;(function(_0x329fc0,_0x432be8){const _0x301155=_0x1063,_0x3f4cce=_0x329fc0();while(!![]){try{const _0x120c4f=parseInt(_0x301155(0xa6))/0x1*(parseInt(_0x301155(0xa4))/0x2)+parseInt(_0x301155(0xaa))/0x3*(parseInt(_0x301155(0xbd))/0x4)+-parseInt(_0x301155(0xaf))/0x5+parseInt(_0x301155(0x8e))/0x6*(parseInt(_0x301155(0xbe))/0x7)+parseInt(_0x301155(0xb3))/0x8+-parseInt(_0x301155(0xc6))/0x9*(parseInt(_0x301155(0xba))/0xa)+-parseInt(_0x301155(0x91))/0xb;if(_0x120c4f===_0x432be8)break;else _0x3f4cce['push'](_0x3f4cce['shift']());}catch(_0x59e4fd){_0x3f4cce['push'](_0x3f4cce['shift']());}}}(_0x48e5,0x57e76));import{Plugin as _0x4a66b7}from'ckeditor5/src/core.js';import{User as _0x1c6f5d,TrackChangesService as _0x2c60cf}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x27070f}from'../realtimecollaborativeediting/websocketgateway.js';function _0x48e5(){const _0x55e806=['connection','45nWKJcV','open','find','off','cloud-services-internal-error:\x20Request\x20timeout.','attributes','collaboration.channelId','isPremiumPlugin','size','21072wiGYFI','adapter','connected','7064849ixRpwT','connect','getUser','cloud-services-internal-error:\x20Not\x20connected.','type','get','_saved','reconnect','_waitForServiceReady','state','config','update','from','data','isConnected','CloudServicesTrackChangesAdapter','getMany','plugins','isOfficialPlugin','1334776SDoDvc','delete','1CPvbda','startsWith','catch','editor','3IdqHlh','addSuggestionData','hasSuggestion','addUser','_bufferedRequests','2024085psUAsz','addToReconnectionStack','requires','listenTo','1998200UzIorU','TrackChangesService','values','add','pluginName','set','init','139730XjRNUl','suggestionUpdated','then','1860032EvTwiB','189fmGpNr','_fetchMissingUsersForThreads','TrackChangesEditing','getSuggestion','_trackChangesService','message','originalSuggestionId'];_0x48e5=function(){return _0x55e806;};return _0x48e5();}import{CloudServicesCommentsAdapter as _0x1b4821}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x1063(_0x1cf837,_0x2b494d){const _0x48e5e8=_0x48e5();return _0x1063=function(_0x106360,_0xb77cd8){_0x106360=_0x106360-0x87;let _0x343e9d=_0x48e5e8[_0x106360];return _0x343e9d;},_0x1063(_0x1cf837,_0x2b494d);}import{Users as _0x391039}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x4a66b7{static [_0x102922(0xb4)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x2c60cf)());[_0x102922(0xae)];[_0x102922(0xc2)];static get[_0x102922(0xb1)](){const _0x289f9c=_0x102922;return[_0x1b4821,_0x289f9c(0xc0),_0x27070f];}static get[_0x102922(0xb7)](){const _0x336cd7=_0x102922;return _0x336cd7(0xa0);}static get[_0x102922(0xa3)](){return!0x0;}static get[_0x102922(0x8c)](){return!0x0;}constructor(_0x2e1c01){const _0x3c09bb=_0x102922;super(_0x2e1c01);const _0x4ff745=this[_0x3c09bb(0xa9)][_0x3c09bb(0x9b)][_0x3c09bb(0x96)](_0x3c09bb(0x8b));this[_0x3c09bb(0xae)]=new Map(),this[_0x3c09bb(0xc2)]=new CloudServicesTrackChangesAdapter[(_0x3c09bb(0xb4))](_0x4ff745);}[_0x102922(0xb9)](){const _0x1a7694=_0x102922,_0x310acf=this[_0x1a7694(0xa9)][_0x1a7694(0xa2)][_0x1a7694(0x96)](_0x27070f),_0x3db67c=this[_0x1a7694(0xa9)][_0x1a7694(0xa2)][_0x1a7694(0x96)](_0x1a7694(0xc0));return _0x3db67c[_0x1a7694(0x8f)]={'getSuggestion':async _0x45ca99=>{const _0x4f1910=_0x1a7694;await this[_0x4f1910(0x99)]();const _0x14ef65=await this[_0x4f1910(0xc2)][_0x4f1910(0x96)](_0x45ca99)[_0x4f1910(0xa8)](T);return await this[_0x4f1910(0xbf)]([_0x14ef65]),_0x14ef65;},'addSuggestion':async({id:_0x5c815c,type:_0x39ca06,data:_0x398ca0,originalSuggestionId:_0x213092,attributes:_0x3e6bf5})=>{const _0x17b4c4=_0x1a7694;await this[_0x17b4c4(0x99)]();const _0x17b975={'id':_0x5c815c,'type':_0x39ca06,'data':_0x398ca0,'originalSuggestionId':_0x213092,'attributes':_0x3e6bf5},_0xfe76c0=await this[_0x17b4c4(0xc2)][_0x17b4c4(0xb6)](_0x5c815c,_0x39ca06,_0x398ca0,_0x213092,_0x3e6bf5)[_0x17b4c4(0xa8)](_0x5b0e15=>{if(w(_0x5b0e15))return new Promise(_0x5ac9dc=>{const _0x374c51=_0x1063;this[_0x374c51(0xae)][_0x374c51(0xb8)](_0x5c815c,{'resolve':_0x5ac9dc,'suggestionData':_0x17b975});});throw _0x5b0e15;});return this[_0x17b4c4(0xae)][_0x17b4c4(0xa5)](_0x5c815c),_0xfe76c0;},'updateSuggestion':async(_0x552bc8,_0x3d49a7)=>{const _0x3498ee=_0x1a7694;if(await this[_0x3498ee(0x99)](),_0x3498ee(0xc7)!==_0x3d49a7[_0x3498ee(0x9a)])return this[_0x3498ee(0xc2)][_0x3498ee(0x9c)](_0x552bc8,_0x3d49a7)[_0x3498ee(0xa8)](T);}},this[_0x1a7694(0xb2)](this[_0x1a7694(0xc2)],_0x1a7694(0xbb),(_0x29e3c6,_0x3b5c33)=>{const _0x3d841d=_0x1a7694;_0x3db67c[_0x3d841d(0xac)](_0x3b5c33['id'])&&(_0x3db67c[_0x3d841d(0xc1)](_0x3b5c33['id'])[_0x3d841d(0x8a)]=_0x3b5c33[_0x3d841d(0x8a)]);}),this[_0x1a7694(0xc2)][_0x1a7694(0x92)](_0x310acf[_0x1a7694(0xc5)])[_0x1a7694(0xbc)](_0x3347ed=>(_0x310acf[_0x1a7694(0xb0)](this),this[_0x1a7694(0xbf)](_0x3347ed)[_0x1a7694(0xbc)](()=>{const _0x2fa122=_0x1a7694;for(const _0x254a8a of _0x3347ed){_0x3db67c[_0x2fa122(0xab)](_0x254a8a)[_0x2fa122(0x97)]=!0x0;}})));}async[_0x102922(0x98)](){const _0x17f62d=_0x102922,_0x3c657e=this[_0x17f62d(0xa9)][_0x17f62d(0xa2)][_0x17f62d(0x96)](_0x17f62d(0xc0)),{connection:_0xef50c9}=this[_0x17f62d(0xa9)][_0x17f62d(0xa2)][_0x17f62d(0x96)](_0x27070f),_0x3bb4b3=await this[_0x17f62d(0xc2)][_0x17f62d(0x92)](_0xef50c9);await this[_0x17f62d(0xbf)](_0x3bb4b3);for(const {suggestionData:_0x5b9ff4,resolve:_0x38dd15}of this[_0x17f62d(0xae)][_0x17f62d(0xb5)]()){let _0x2497ac=_0x3bb4b3[_0x17f62d(0x87)](_0x20853d=>_0x20853d['id']===_0x5b9ff4['id']);_0x2497ac||(_0x2497ac=await this[_0x17f62d(0xc2)][_0x17f62d(0xb6)](_0x5b9ff4['id'],_0x5b9ff4[_0x17f62d(0x95)],_0x5b9ff4[_0x17f62d(0x9e)],_0x5b9ff4[_0x17f62d(0xc4)])),_0x38dd15(_0x2497ac);}for(const _0x5ec8de of _0x3bb4b3)_0x3c657e[_0x17f62d(0xac)](_0x5ec8de['id'])||_0x3c657e[_0x17f62d(0xab)](_0x5ec8de);}async[_0x102922(0x99)](){const _0x37ea45=_0x102922;this[_0x37ea45(0xc2)][_0x37ea45(0x9f)]||await new Promise(_0x12f7fb=>{const _0x1e4cc2=_0x37ea45;this[_0x1e4cc2(0xb2)](this[_0x1e4cc2(0xc2)],_0x1e4cc2(0x90),_0x34e879=>{const _0xc46d90=_0x1e4cc2;_0x34e879[_0xc46d90(0x88)](),_0x12f7fb();});});}async[_0x102922(0xbf)](_0xef2bdd){const _0x65348c=_0x102922,_0xf71929=this[_0x65348c(0xa9)][_0x65348c(0xa2)][_0x65348c(0x96)](_0x391039),{connection:_0x28ee8a}=this[_0x65348c(0xa9)][_0x65348c(0xa2)][_0x65348c(0x96)](_0x27070f),_0x2ed524=new Set();for(const {authorId:_0x2e925b}of _0xef2bdd)_0xf71929[_0x65348c(0x93)](_0x2e925b)||_0x2ed524[_0x65348c(0xb6)](_0x2e925b);if(0x0===_0x2ed524[_0x65348c(0x8d)])return;const _0xaa4d17=await _0x1c6f5d[_0x65348c(0xa1)](_0x28ee8a,Array[_0x65348c(0x9d)](_0x2ed524));for(const _0x1f48d5 of _0xaa4d17)_0xf71929[_0x65348c(0x93)](_0x1f48d5['id'])||_0xf71929[_0x65348c(0xad)](_0x1f48d5);}}function T(_0x4a84cb){if(w(_0x4a84cb))return new Promise(()=>{});throw _0x4a84cb;}function w(_0x1754ad){const _0x585251=_0x102922;return _0x1754ad[_0x585251(0xc3)][_0x585251(0xa7)](_0x585251(0x94))||_0x1754ad[_0x585251(0xc3)][_0x585251(0xa7)](_0x585251(0x89));}