@ckeditor/ckeditor5-real-time-collaboration 47.3.0-alpha.4 → 47.3.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 _0x17c360=_0x566f;function _0x2325(){const _0x157a3c=['size','sessions-unregister-not-exist','isOfficialPlugin','_handleSessionRemove','requires','values','hiddenInPresenceList','assign','22089ZqNBrR','change:state','isPremiumPlugin','9176216ShwpUG','user','context','register','state','allConnectedUsers','remove','init','mySessionId','3fzCTWd','stopListening','_handleSessionAdd','addUser','isMe','getUser','11955190BNcBxx','has','Sessions','unregister','channelConnectedUsers','sessions-register-already-registered','defineMe','getUserSessions','role','getUserRole','200HIvUou','listenTo','sessionAdd:','orderNumber','1926952TZNWJm','_registeredSessions','106008KGPGVk','_createUser','add','getUserBySessionId','pluginName','285TEPufq','66062lfjSQz','_uniqueUsersCount','set','plugins','delete','get','790173iFdCCr','sessionId','connection','fire','connected','channelSessions','forEach','clear','_users'];_0x2325=function(){return _0x157a3c;};return _0x2325();}(function(_0x5aa9f1,_0x2acdfd){const _0x3cd3ce=_0x566f,_0x2785a4=_0x5aa9f1();while(!![]){try{const _0x4ed5c2=-parseInt(_0x3cd3ce(0x123))/0x1*(parseInt(_0x3cd3ce(0x13f))/0x2)+-parseInt(_0x3cd3ce(0x117))/0x3*(parseInt(_0x3cd3ce(0x133))/0x4)+parseInt(_0x3cd3ce(0x13e))/0x5*(parseInt(_0x3cd3ce(0x139))/0x6)+parseInt(_0x3cd3ce(0x11a))/0x7+parseInt(_0x3cd3ce(0x137))/0x8+-parseInt(_0x3cd3ce(0x145))/0x9+-parseInt(_0x3cd3ce(0x129))/0xa;if(_0x4ed5c2===_0x2acdfd)break;else _0x2785a4['push'](_0x2785a4['shift']());}catch(_0x307162){_0x2785a4['push'](_0x2785a4['shift']());}}}(_0x2325,0xc5552));import{ContextPlugin as _0x147a35}from'ckeditor5/src/core.js';import{Collection as _0x18d383,CKEditorError as _0x4609da}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5c263f}from'./websocketgateway.js';function _0x566f(_0x592923,_0x2425b1){const _0x2325ff=_0x2325();return _0x566f=function(_0x566f21,_0x13c277){_0x566f21=_0x566f21-0x107;let _0x34bdb6=_0x2325ff[_0x566f21];return _0x34bdb6;},_0x566f(_0x592923,_0x2425b1);}import{Users as _0x1c5363}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x147a35{[_0x17c360(0x10b)];[_0x17c360(0x12d)];[_0x17c360(0x11f)];[_0x17c360(0x138)];[_0x17c360(0x140)];[_0x17c360(0x10e)];static get[_0x17c360(0x13d)](){const _0x378e51=_0x17c360;return _0x378e51(0x12b);}static get[_0x17c360(0x111)](){return!0x0;}static get[_0x17c360(0x119)](){return!0x0;}static get[_0x17c360(0x113)](){return[_0x5c263f,_0x1c5363];}constructor(_0x338977){const _0x586211=_0x17c360;super(_0x338977),this[_0x586211(0x10b)]=new Map(),this[_0x586211(0x12d)]=new Map(),this[_0x586211(0x11f)]=new _0x18d383(),this[_0x586211(0x138)]=new Map(),this[_0x586211(0x140)]=0x0,this[_0x586211(0x10e)]=this[_0x586211(0x11c)][_0x586211(0x142)][_0x586211(0x144)](_0x1c5363);}[_0x17c360(0x121)](){const _0x35405b=_0x17c360,_0x53b96d=this[_0x35405b(0x11c)][_0x35405b(0x142)][_0x35405b(0x144)](_0x5c263f);this[_0x35405b(0x134)](_0x53b96d,_0x35405b(0x118),(_0x23a4ff,_0x128658,_0x17f6ce)=>{const _0x26a148=_0x35405b;if(_0x26a148(0x10a)!==_0x17f6ce)this[_0x26a148(0x10b)][_0x26a148(0x10c)](_0x110bce=>_0x110bce[_0x26a148(0x10d)]()),this[_0x26a148(0x12d)][_0x26a148(0x10c)](_0x5d3d17=>_0x5d3d17[_0x26a148(0x10d)]()),this[_0x26a148(0x11f)][_0x26a148(0x10d)]();else{for(const [_0x3cb458,_0x31a4ee]of this[_0x26a148(0x138)])for(const _0x47d507 of _0x31a4ee)this[_0x26a148(0x125)](_0x3cb458,_0x47d507);}}),this[_0x35405b(0x13a)](_0x53b96d[_0x35405b(0x108)]['me'],!0x0);}[_0x17c360(0x11d)](_0x4212e5,_0x2749b0){const _0x565780=_0x17c360;if(this[_0x565780(0x138)][_0x565780(0x12a)](_0x4212e5))throw new _0x4609da(_0x565780(0x12e),null,{'channelId':_0x4212e5});this[_0x565780(0x138)][_0x565780(0x141)](_0x4212e5,_0x2749b0),this[_0x565780(0x10b)][_0x565780(0x141)](_0x4212e5,new _0x18d383()),this[_0x565780(0x12d)][_0x565780(0x141)](_0x4212e5,new _0x18d383()),this[_0x565780(0x134)](_0x2749b0,_0x565780(0x13b),(_0x4165de,_0x45a8e8)=>this[_0x565780(0x125)](_0x4212e5,_0x45a8e8)),this[_0x565780(0x134)](_0x2749b0,_0x565780(0x120),(_0x5e66ba,_0x2681c8)=>this[_0x565780(0x112)](_0x4212e5,_0x2681c8));for(const _0x2c8264 of _0x2749b0)this[_0x565780(0x125)](_0x4212e5,_0x2c8264);}[_0x17c360(0x12c)](_0x241aba){const _0x5c8d3c=_0x17c360;if(!this[_0x5c8d3c(0x138)][_0x5c8d3c(0x12a)](_0x241aba))throw new _0x4609da(_0x5c8d3c(0x110),null,{'channelId':_0x241aba});const _0x573e2f=this[_0x5c8d3c(0x138)][_0x5c8d3c(0x144)](_0x241aba);this[_0x5c8d3c(0x124)](_0x573e2f);for(const _0x4cb2bd of _0x573e2f)_0x5c8d3c(0x10a)===this[_0x5c8d3c(0x11c)][_0x5c8d3c(0x142)][_0x5c8d3c(0x144)](_0x5c263f)[_0x5c8d3c(0x11e)]&&this[_0x5c8d3c(0x112)](_0x241aba,_0x4cb2bd);this[_0x5c8d3c(0x138)][_0x5c8d3c(0x143)](_0x241aba),this[_0x5c8d3c(0x10b)][_0x5c8d3c(0x143)](_0x241aba),this[_0x5c8d3c(0x12d)][_0x5c8d3c(0x143)](_0x241aba);}get[_0x17c360(0x122)](){const _0x454c1d=_0x17c360;return this[_0x454c1d(0x11c)][_0x454c1d(0x142)][_0x454c1d(0x144)](_0x5c263f)[_0x454c1d(0x108)][_0x454c1d(0x107)];}[_0x17c360(0x13c)](_0x23c5dd){const _0x1458a2=_0x17c360;for(const _0x57488a of this[_0x1458a2(0x10b)][_0x1458a2(0x114)]())for(const _0x56774a of _0x57488a)if(_0x56774a['id']===_0x23c5dd)return _0x56774a[_0x1458a2(0x11b)];}[_0x17c360(0x130)](_0x309111,_0xd80e18){const _0x514ee4=_0x17c360,_0x4d269f=_0xd80e18?[this[_0x514ee4(0x10b)][_0x514ee4(0x144)](_0xd80e18)]:this[_0x514ee4(0x10b)][_0x514ee4(0x114)](),_0x256215=new Set();for(const _0x18f952 of _0x4d269f)for(const _0x5d6090 of _0x18f952)_0x5d6090[_0x514ee4(0x11b)]['id']===_0x309111['id']&&_0x256215[_0x514ee4(0x13b)](_0x5d6090['id']);return _0x256215;}[_0x17c360(0x132)](_0x136be0){const _0x400115=_0x17c360;for(const _0xed7ef2 of this[_0x400115(0x10b)][_0x400115(0x114)]())for(const _0x312bef of _0xed7ef2)if(_0x312bef[_0x400115(0x11b)]===_0x136be0)return _0x312bef[_0x400115(0x131)];}[_0x17c360(0x125)](_0x58ee84,_0x2e55bf){const _0x4d8499=_0x17c360;if(_0x4d8499(0x10a)!==this[_0x4d8499(0x11c)][_0x4d8499(0x142)][_0x4d8499(0x144)](_0x5c263f)[_0x4d8499(0x11e)])return;const _0x35eed7=_0x2e55bf[_0x4d8499(0x11b)],_0x78a7a7=this[_0x4d8499(0x10e)][_0x4d8499(0x128)](_0x35eed7['id'])||this[_0x4d8499(0x13a)](_0x35eed7),_0x246c73=Object[_0x4d8499(0x116)]({},_0x2e55bf,{'user':_0x78a7a7});if(this[_0x4d8499(0x10b)][_0x4d8499(0x144)](_0x58ee84)[_0x4d8499(0x13b)](_0x246c73),!_0x35eed7[_0x4d8499(0x115)]){const _0x4f0dfb=this[_0x4d8499(0x12d)][_0x4d8499(0x144)](_0x58ee84);_0x4f0dfb[_0x4d8499(0x12a)](_0x78a7a7['id'])||_0x4f0dfb[_0x4d8499(0x13b)](_0x78a7a7),this[_0x4d8499(0x11f)][_0x4d8499(0x12a)](_0x78a7a7['id'])||_0x35eed7[_0x4d8499(0x115)]||this[_0x4d8499(0x11f)][_0x4d8499(0x13b)](_0x78a7a7,_0x78a7a7[_0x4d8499(0x127)]?0x0:void 0x0);}this[_0x4d8499(0x109)](_0x4d8499(0x135)+_0x58ee84,{'channelId':_0x58ee84,'session':_0x246c73});}[_0x17c360(0x112)](_0x166969,_0x273729){const _0x755a57=_0x17c360;if(_0x755a57(0x10a)!==this[_0x755a57(0x11c)][_0x755a57(0x142)][_0x755a57(0x144)](_0x5c263f)[_0x755a57(0x11e)])return;const _0x157fa7=this[_0x755a57(0x12d)][_0x755a57(0x144)](_0x166969),_0x2db743=_0x273729[_0x755a57(0x11b)];_0x2db743['id']&&(this[_0x755a57(0x10b)][_0x755a57(0x144)](_0x166969)[_0x755a57(0x120)](_0x273729['id']),_0x157fa7[_0x755a57(0x12a)](_0x2db743['id'])&&!this[_0x755a57(0x130)](_0x2db743,_0x166969)[_0x755a57(0x10f)]&&_0x157fa7[_0x755a57(0x120)](_0x2db743['id']),this[_0x755a57(0x11f)][_0x755a57(0x144)](_0x2db743['id'])&&!this[_0x755a57(0x130)](_0x2db743)[_0x755a57(0x10f)]&&this[_0x755a57(0x11f)][_0x755a57(0x120)](_0x2db743['id']));}[_0x17c360(0x13a)](_0xf9ed7d,_0x476cd9){const _0x5829fd=_0x17c360,_0x53accb=this[_0x5829fd(0x10e)][_0x5829fd(0x126)](_0xf9ed7d);return _0x476cd9&&this[_0x5829fd(0x10e)][_0x5829fd(0x12f)](_0xf9ed7d['id']),_0x53accb[_0x5829fd(0x136)]=this[_0x5829fd(0x140)]++,_0x53accb;}}
23
+ const _0x4b65d9=_0xf769;(function(_0x568cbc,_0xec3631){const _0x2e4f7e=_0xf769,_0x3fc3ad=_0x568cbc();while(!![]){try{const _0x458a93=-parseInt(_0x2e4f7e(0xe6))/0x1+-parseInt(_0x2e4f7e(0x105))/0x2+-parseInt(_0x2e4f7e(0xf8))/0x3+parseInt(_0x2e4f7e(0xe5))/0x4+parseInt(_0x2e4f7e(0xd7))/0x5+-parseInt(_0x2e4f7e(0xef))/0x6*(-parseInt(_0x2e4f7e(0x103))/0x7)+parseInt(_0x2e4f7e(0x109))/0x8;if(_0x458a93===_0xec3631)break;else _0x3fc3ad['push'](_0x3fc3ad['shift']());}catch(_0x5e32f8){_0x3fc3ad['push'](_0x3fc3ad['shift']());}}}(_0x22ed,0x8fbc6));function _0xf769(_0x1dd0fe,_0x4090cb){const _0x22edfe=_0x22ed();return _0xf769=function(_0xf7697b,_0x57e5db){_0xf7697b=_0xf7697b-0xcd;let _0xcc0b5e=_0x22edfe[_0xf7697b];return _0xcc0b5e;},_0xf769(_0x1dd0fe,_0x4090cb);}import{ContextPlugin as _0x2a2a34}from'ckeditor5/src/core.js';import{Collection as _0x470be1,CKEditorError as _0x25aa46}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x38ee87}from'./websocketgateway.js';function _0x22ed(){const _0xe2f5e7=['1497445OLJqsH','stopListening','sessions-register-already-registered','register','set','orderNumber','_users','isPremiumPlugin','assign','context','defineMe','has','fire','clear','1765372xjcQCK','494722bGmmqp','user','_handleSessionRemove','channelConnectedUsers','hiddenInPresenceList','_uniqueUsersCount','change:state','isMe','connection','30138qZRrdb','getUserSessions','getUserRole','connected','channelSessions','get','listenTo','mySessionId','addUser','1823943gizFaN','allConnectedUsers','sessionAdd:','_handleSessionAdd','getUserBySessionId','sessions-unregister-not-exist','state','delete','add','getUser','init','1351xJzpjf','forEach','1413446ablPjD','pluginName','requires','unregister','5503176BoUMEo','isOfficialPlugin','remove','sessionId','role','_registeredSessions','values','Sessions','plugins','size','_createUser'];_0x22ed=function(){return _0xe2f5e7;};return _0x22ed();}import{Users as _0x32a93a}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2a2a34{[_0x4b65d9(0xf3)];[_0x4b65d9(0xe9)];[_0x4b65d9(0xf9)];[_0x4b65d9(0xd1)];[_0x4b65d9(0xeb)];[_0x4b65d9(0xdd)];static get[_0x4b65d9(0x106)](){const _0x4a7a2d=_0x4b65d9;return _0x4a7a2d(0xd3);}static get[_0x4b65d9(0xcd)](){return!0x0;}static get[_0x4b65d9(0xde)](){return!0x0;}static get[_0x4b65d9(0x107)](){return[_0x38ee87,_0x32a93a];}constructor(_0x52f0b5){const _0x376141=_0x4b65d9;super(_0x52f0b5),this[_0x376141(0xf3)]=new Map(),this[_0x376141(0xe9)]=new Map(),this[_0x376141(0xf9)]=new _0x470be1(),this[_0x376141(0xd1)]=new Map(),this[_0x376141(0xeb)]=0x0,this[_0x376141(0xdd)]=this[_0x376141(0xe0)][_0x376141(0xd4)][_0x376141(0xf4)](_0x32a93a);}[_0x4b65d9(0x102)](){const _0x11955f=_0x4b65d9,_0xbf781=this[_0x11955f(0xe0)][_0x11955f(0xd4)][_0x11955f(0xf4)](_0x38ee87);this[_0x11955f(0xf5)](_0xbf781,_0x11955f(0xec),(_0x2c2bc4,_0x152fce,_0x280819)=>{const _0x389058=_0x11955f;if(_0x389058(0xf2)!==_0x280819)this[_0x389058(0xf3)][_0x389058(0x104)](_0x296e3c=>_0x296e3c[_0x389058(0xe4)]()),this[_0x389058(0xe9)][_0x389058(0x104)](_0x3b25ec=>_0x3b25ec[_0x389058(0xe4)]()),this[_0x389058(0xf9)][_0x389058(0xe4)]();else{for(const [_0x261994,_0x36fe1b]of this[_0x389058(0xd1)])for(const _0x3b5e3b of _0x36fe1b)this[_0x389058(0xfb)](_0x261994,_0x3b5e3b);}}),this[_0x11955f(0xd6)](_0xbf781[_0x11955f(0xee)]['me'],!0x0);}[_0x4b65d9(0xda)](_0x1e33d2,_0x4ac80a){const _0x46d513=_0x4b65d9;if(this[_0x46d513(0xd1)][_0x46d513(0xe2)](_0x1e33d2))throw new _0x25aa46(_0x46d513(0xd9),null,{'channelId':_0x1e33d2});this[_0x46d513(0xd1)][_0x46d513(0xdb)](_0x1e33d2,_0x4ac80a),this[_0x46d513(0xf3)][_0x46d513(0xdb)](_0x1e33d2,new _0x470be1()),this[_0x46d513(0xe9)][_0x46d513(0xdb)](_0x1e33d2,new _0x470be1()),this[_0x46d513(0xf5)](_0x4ac80a,_0x46d513(0x100),(_0x3e84ec,_0x355f1d)=>this[_0x46d513(0xfb)](_0x1e33d2,_0x355f1d)),this[_0x46d513(0xf5)](_0x4ac80a,_0x46d513(0xce),(_0x4f4d19,_0x4a14f5)=>this[_0x46d513(0xe8)](_0x1e33d2,_0x4a14f5));for(const _0xd1f81f of _0x4ac80a)this[_0x46d513(0xfb)](_0x1e33d2,_0xd1f81f);}[_0x4b65d9(0x108)](_0x2e711a){const _0x3e1e65=_0x4b65d9;if(!this[_0x3e1e65(0xd1)][_0x3e1e65(0xe2)](_0x2e711a))throw new _0x25aa46(_0x3e1e65(0xfd),null,{'channelId':_0x2e711a});const _0x5357eb=this[_0x3e1e65(0xd1)][_0x3e1e65(0xf4)](_0x2e711a);this[_0x3e1e65(0xd8)](_0x5357eb);for(const _0x3f7f6b of _0x5357eb)_0x3e1e65(0xf2)===this[_0x3e1e65(0xe0)][_0x3e1e65(0xd4)][_0x3e1e65(0xf4)](_0x38ee87)[_0x3e1e65(0xfe)]&&this[_0x3e1e65(0xe8)](_0x2e711a,_0x3f7f6b);this[_0x3e1e65(0xd1)][_0x3e1e65(0xff)](_0x2e711a),this[_0x3e1e65(0xf3)][_0x3e1e65(0xff)](_0x2e711a),this[_0x3e1e65(0xe9)][_0x3e1e65(0xff)](_0x2e711a);}get[_0x4b65d9(0xf6)](){const _0x23b7e3=_0x4b65d9;return this[_0x23b7e3(0xe0)][_0x23b7e3(0xd4)][_0x23b7e3(0xf4)](_0x38ee87)[_0x23b7e3(0xee)][_0x23b7e3(0xcf)];}[_0x4b65d9(0xfc)](_0x4e3bff){const _0x19b3a1=_0x4b65d9;for(const _0x24ec0c of this[_0x19b3a1(0xf3)][_0x19b3a1(0xd2)]())for(const _0x1b6c10 of _0x24ec0c)if(_0x1b6c10['id']===_0x4e3bff)return _0x1b6c10[_0x19b3a1(0xe7)];}[_0x4b65d9(0xf0)](_0x99c39d,_0x2b89c2){const _0x1b3a0d=_0x4b65d9,_0xfdabbe=_0x2b89c2?[this[_0x1b3a0d(0xf3)][_0x1b3a0d(0xf4)](_0x2b89c2)]:this[_0x1b3a0d(0xf3)][_0x1b3a0d(0xd2)](),_0x180727=new Set();for(const _0x5a9b1f of _0xfdabbe)for(const _0x73b4ca of _0x5a9b1f)_0x73b4ca[_0x1b3a0d(0xe7)]['id']===_0x99c39d['id']&&_0x180727[_0x1b3a0d(0x100)](_0x73b4ca['id']);return _0x180727;}[_0x4b65d9(0xf1)](_0x3b2fe0){const _0xb9bb26=_0x4b65d9;for(const _0x27b984 of this[_0xb9bb26(0xf3)][_0xb9bb26(0xd2)]())for(const _0x8ad34b of _0x27b984)if(_0x8ad34b[_0xb9bb26(0xe7)]===_0x3b2fe0)return _0x8ad34b[_0xb9bb26(0xd0)];}[_0x4b65d9(0xfb)](_0x2a41f7,_0xad57fa){const _0x342d87=_0x4b65d9;if(_0x342d87(0xf2)!==this[_0x342d87(0xe0)][_0x342d87(0xd4)][_0x342d87(0xf4)](_0x38ee87)[_0x342d87(0xfe)])return;const _0x3d35a9=_0xad57fa[_0x342d87(0xe7)],_0x2668c5=this[_0x342d87(0xdd)][_0x342d87(0x101)](_0x3d35a9['id'])||this[_0x342d87(0xd6)](_0x3d35a9),_0xb063c1=Object[_0x342d87(0xdf)]({},_0xad57fa,{'user':_0x2668c5});if(this[_0x342d87(0xf3)][_0x342d87(0xf4)](_0x2a41f7)[_0x342d87(0x100)](_0xb063c1),!_0x3d35a9[_0x342d87(0xea)]){const _0x339caf=this[_0x342d87(0xe9)][_0x342d87(0xf4)](_0x2a41f7);_0x339caf[_0x342d87(0xe2)](_0x2668c5['id'])||_0x339caf[_0x342d87(0x100)](_0x2668c5),this[_0x342d87(0xf9)][_0x342d87(0xe2)](_0x2668c5['id'])||_0x3d35a9[_0x342d87(0xea)]||this[_0x342d87(0xf9)][_0x342d87(0x100)](_0x2668c5,_0x2668c5[_0x342d87(0xed)]?0x0:void 0x0);}this[_0x342d87(0xe3)](_0x342d87(0xfa)+_0x2a41f7,{'channelId':_0x2a41f7,'session':_0xb063c1});}[_0x4b65d9(0xe8)](_0x5bb0c6,_0x42a49f){const _0x53bc=_0x4b65d9;if(_0x53bc(0xf2)!==this[_0x53bc(0xe0)][_0x53bc(0xd4)][_0x53bc(0xf4)](_0x38ee87)[_0x53bc(0xfe)])return;const _0x367363=this[_0x53bc(0xe9)][_0x53bc(0xf4)](_0x5bb0c6),_0x365082=_0x42a49f[_0x53bc(0xe7)];_0x365082['id']&&(this[_0x53bc(0xf3)][_0x53bc(0xf4)](_0x5bb0c6)[_0x53bc(0xce)](_0x42a49f['id']),_0x367363[_0x53bc(0xe2)](_0x365082['id'])&&!this[_0x53bc(0xf0)](_0x365082,_0x5bb0c6)[_0x53bc(0xd5)]&&_0x367363[_0x53bc(0xce)](_0x365082['id']),this[_0x53bc(0xf9)][_0x53bc(0xf4)](_0x365082['id'])&&!this[_0x53bc(0xf0)](_0x365082)[_0x53bc(0xd5)]&&this[_0x53bc(0xf9)][_0x53bc(0xce)](_0x365082['id']));}[_0x4b65d9(0xd6)](_0x3e7923,_0x1e88f0){const _0x1f3ffe=_0x4b65d9,_0x13d230=this[_0x1f3ffe(0xdd)][_0x1f3ffe(0xf7)](_0x3e7923);return _0x1e88f0&&this[_0x1f3ffe(0xdd)][_0x1f3ffe(0xe1)](_0x3e7923['id']),_0x13d230[_0x1f3ffe(0xdc)]=this[_0x1f3ffe(0xeb)]++,_0x13d230;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x8e73bb=_0x3920;(function(_0x30cda9,_0x81d1b8){const _0x7beb6e=_0x3920,_0xc66cce=_0x30cda9();while(!![]){try{const _0x4816a9=-parseInt(_0x7beb6e(0xa0))/0x1+-parseInt(_0x7beb6e(0xb9))/0x2*(-parseInt(_0x7beb6e(0xcb))/0x3)+-parseInt(_0x7beb6e(0xc2))/0x4+-parseInt(_0x7beb6e(0x103))/0x5+parseInt(_0x7beb6e(0x10e))/0x6+parseInt(_0x7beb6e(0x114))/0x7*(-parseInt(_0x7beb6e(0xaf))/0x8)+parseInt(_0x7beb6e(0xbe))/0x9;if(_0x4816a9===_0x81d1b8)break;else _0xc66cce['push'](_0xc66cce['shift']());}catch(_0x27221f){_0xc66cce['push'](_0xc66cce['shift']());}}}(_0x3232,0x70b9c));import{Plugin as _0x4f5bbd}from'ckeditor5/src/core.js';import{global as _0x52414e,DomEmitterMixin as _0x10e082}from'ckeditor5/src/utils.js';import{Sessions as _0x178672}from'./sessions.js';import{ModelLiveRange as _0xb74ad6}from'ckeditor5/src/engine.js';function _0x3232(){const _0x5642f2=['hasDomSelection','checkChild','setCustomProperty','marker','editing','contenteditable','reconvertMarker','selection','innerHTML','false','getPositions','Escape','addEventListener','markerName','change:range','textContent','376777UgZQiG','data-session-id','parent','userPositionMarker','markerRange','classList','pluginName','$text','commands','init','mouseenter','startsWith','ck-user__marker-tooltip','conversion','isOfficialPlugin','1379984CqrijK','isDocumentOperation','mouseleave','getAttribute','has','getSelectionClass','isPremiumPlugin','add','getMarkerClass','tableCell','5714ePfJid','markerToHighlight','element','delete','render','8460963VVeXHh','markers','toRange','_createdBatches','3353680TRTHVj','set','$graveyard','hasContent','spellcheck','getNearestSelectionRange','mySessionId','ck-user__selection','for','843ngHble','enqueueChange','batch','schema','deletionPosition','orderNumber','split','getRange','detach','highest','listenTo','removeClass','stopListening','type','applyOperation','isSimilar','setAttribute','clear','user:range','user:position','mapper','getContainedElement','isInline','getStart','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','user:range:','UserMarkers','destroy','createRange','addMarker','document','isLimit','undo','end','plugins','editingDowncast','get','remove','size','model','createUserMarkerOperations','removeMarker','root','getFirstRange','createUIElement','getUserBySessionId','update:user:range','start','view','markerToElement','updateMarker','span','getCustomProperty','isObject','isCollapsed','user:position:','1902945YthtHY','toDomElement','rootName','user:','name','color','nodeAfter','fromRange','createElement','requires','editor','3957492VvhXFv','keydown','ck-user__marker_hovered','change','afterInit','outerHTML','14LDOWCn','oldRange','newRange','_domEmitter','ck-user__marker\x20','markerNameToElements'];_0x3232=function(){return _0x5642f2;};return _0x3232();}import'../../theme/usermarkers.css';function _0x3920(_0x5674a9,_0x5379c7){const _0x3232b9=_0x3232();return _0x3920=function(_0x392048,_0x48add0){_0x392048=_0x392048-0x8f;let _0x2c0d7f=_0x3232b9[_0x392048];return _0x2c0d7f;},_0x3920(_0x5674a9,_0x5379c7);}export class UserMarkers extends _0x4f5bbd{[_0x8e73bb(0x117)]=new(_0x10e082())();static get[_0x8e73bb(0x10c)](){return[_0x178672];}static get[_0x8e73bb(0xa6)](){const _0x298e21=_0x8e73bb;return _0x298e21(0xe5);}static get[_0x8e73bb(0xae)](){return!0x0;}static get[_0x8e73bb(0xb5)](){return!0x0;}[_0x8e73bb(0xa9)](){const _0x5223fe=_0x8e73bb,_0x49d60e=this[_0x5223fe(0x10d)],_0x2f1f28=_0x49d60e[_0x5223fe(0xed)][_0x5223fe(0xef)](_0x178672);_0x49d60e[_0x5223fe(0xad)][_0x5223fe(0xca)](_0x5223fe(0xee))[_0x5223fe(0xfc)]({'model':_0x5223fe(0xde),'view':(_0x354ec6,{writer:_0x438fb8})=>function(_0x3be19f,_0x5165f6,_0x5d7870,_0x48862a){const _0xe3cd0c=_0x5223fe,_0x4248ff=_0x3be19f[_0xe3cd0c(0x9d)][_0xe3cd0c(0xd1)](':')[0x2],_0x42a978=_0x5d7870[_0xe3cd0c(0xf8)](_0x4248ff);if(!_0x42a978||_0x4248ff===_0x5d7870[_0xe3cd0c(0xc8)])return;if(!_0x48862a[_0xe3cd0c(0xf2)][_0xe3cd0c(0xce)][_0xe3cd0c(0x91)](_0x3be19f[_0xe3cd0c(0xa4)][_0xe3cd0c(0xfa)],_0xe3cd0c(0xa7)))return;const _0x307f3f={'class':_0xe3cd0c(0x118)+_0x42a978[_0xe3cd0c(0x108)][_0xe3cd0c(0xb7)](),'data-name':_0x42a978[_0xe3cd0c(0x107)],'data-session-id':_0x4248ff},_0x193adc=_0x48862a[_0xe3cd0c(0xf2)][_0xe3cd0c(0xbf)][_0xe3cd0c(0xef)](_0x3be19f[_0xe3cd0c(0x9d)]),_0x18c101=_0x193adc[_0xe3cd0c(0xe2)](),_0x36b01d=_0x18c101[_0xe3cd0c(0x109)],_0x4b806e=_0x48862a[_0xe3cd0c(0xf2)][_0xe3cd0c(0xce)];if(_0x36b01d&&_0x4b806e[_0xe3cd0c(0x100)](_0x36b01d)&&_0x4b806e[_0xe3cd0c(0xe1)](_0x36b01d)&&!_0x48862a[_0xe3cd0c(0xf2)][_0xe3cd0c(0xbf)][_0xe3cd0c(0xef)](_0xe3cd0c(0xe4)+_0x4248ff)[_0xe3cd0c(0xd2)]()[_0xe3cd0c(0x101)])return;const _0x4f7ac0=_0x18c101[_0xe3cd0c(0xa2)];return _0x48862a[_0xe3cd0c(0xf2)][_0xe3cd0c(0xce)][_0xe3cd0c(0xea)](_0x4f7ac0)&&!_0x48862a[_0xe3cd0c(0xf2)][_0xe3cd0c(0xc5)](_0x4f7ac0)&&(_0x307f3f[_0xe3cd0c(0x95)]=!0x1),function(_0x32336e,_0x1004e7,_0x2c95a1){const _0x13fb09=_0xe3cd0c,_0x3bd5ef=_0x32336e[_0x13fb09(0xf7)](_0x13fb09(0xfe),_0x1004e7);return _0x32336e[_0x13fb09(0x92)](_0x13fb09(0xa3),!0x0,_0x3bd5ef),_0x3bd5ef[_0x13fb09(0xbd)]=function(_0x52091a){const _0x1e6764=_0x13fb09,_0x206744=this[_0x1e6764(0x104)](_0x52091a),_0x2ae339=document[_0x1e6764(0x10b)](_0x1e6764(0xfe));return _0x2ae339[_0x1e6764(0xa5)][_0x1e6764(0xb6)](_0x1e6764(0xac)),_0x2ae339[_0x1e6764(0xdb)](_0x1e6764(0x95),_0x1e6764(0x99)),_0x2ae339[_0x1e6764(0xdb)](_0x1e6764(0xc6),_0x1e6764(0x99)),_0x2ae339[_0x1e6764(0x9f)]=_0x2c95a1[_0x1e6764(0x107)],_0x206744[_0x1e6764(0x98)]=_0x1e6764(0xe3)+_0x2ae339[_0x1e6764(0x113)]+'⁠',_0x206744[_0x1e6764(0x9c)](_0x1e6764(0xaa),()=>{const _0x546ae8=_0x1e6764;_0x206744[_0x546ae8(0xa5)][_0x546ae8(0xb6)](_0x546ae8(0x110));}),_0x206744[_0x1e6764(0x9c)](_0x1e6764(0xb1),()=>{const _0x104952=_0x1e6764;_0x206744[_0x104952(0xa5)][_0x104952(0xf0)](_0x104952(0x110));}),_0x206744;},_0x3bd5ef[_0x13fb09(0xda)]=function(_0x329632){const _0x2ffd1e=_0x13fb09;return!(!this[_0x2ffd1e(0xff)](_0x2ffd1e(0xa3))||!_0x329632[_0x2ffd1e(0xff)](_0x2ffd1e(0xa3))||this[_0x2ffd1e(0xb2)](_0x2ffd1e(0xa1))!=_0x329632[_0x2ffd1e(0xb2)](_0x2ffd1e(0xa1)));},_0x3bd5ef;}(_0x5165f6,_0x307f3f,_0x42a978);}(_0x354ec6,_0x438fb8,_0x2f1f28,_0x49d60e)}),_0x49d60e[_0x5223fe(0xad)][_0x5223fe(0xca)](_0x5223fe(0xee))[_0x5223fe(0xba)]({'model':_0x5223fe(0xdd),'view':_0x1dcbf9=>function(_0x2656d9,_0x3899e0){const _0x5264c1=_0x5223fe,_0x319ed9=_0x2656d9[_0x5264c1(0x9d)][_0x5264c1(0xd1)](':')[0x2];if(_0x319ed9===_0x3899e0[_0x5264c1(0xc8)])return null;const _0x1fcbbc=_0x3899e0[_0x5264c1(0xf8)](_0x319ed9);if(!_0x1fcbbc)return{'id':_0x319ed9,'classes':[]};return{'id':_0x319ed9,'classes':[_0x5264c1(0xc9),_0x1fcbbc[_0x5264c1(0x108)][_0x5264c1(0xb4)]()],'attributes':{'data-session-id':_0x319ed9},'priority':0x7d0+_0x1fcbbc[_0x5264c1(0xd0)]};}(_0x1dcbf9,_0x2f1f28)}),function(_0x21d66b){const _0x36b3bf=_0x5223fe,_0x58a56e=_0x21d66b[_0x36b3bf(0xf2)],_0x31990f=new Map(),_0x3ca9de=_0x21d66b[_0x36b3bf(0xed)][_0x36b3bf(0xef)](_0x178672);_0x58a56e[_0x36b3bf(0xbf)]['on'](_0x36b3bf(0xf9),(_0x387235,_0x2beebb,_0x443969,_0x46a5cd)=>{const _0x1edc96=_0x36b3bf;if(!_0x46a5cd&&_0x31990f[_0x1edc96(0xef)](_0x2beebb[_0x1edc96(0x107)]))return _0x31990f[_0x1edc96(0xef)](_0x2beebb[_0x1edc96(0x107)])[_0x1edc96(0xd3)](),void _0x31990f[_0x1edc96(0xbc)](_0x2beebb[_0x1edc96(0x107)]);const _0x58ff29=_0x2beebb[_0x1edc96(0x107)][_0x1edc96(0xd1)](':')[0x2];if(_0x58ff29===_0x3ca9de[_0x1edc96(0xc8)])return;const _0x46f0f3=_0x1edc96(0x102)+_0x58ff29;_0x58a56e[_0x1edc96(0xbf)][_0x1edc96(0xb3)](_0x46f0f3)&&_0x21d66b[_0x1edc96(0x94)][_0x1edc96(0x96)](_0x46f0f3),_0x2beebb['on'](_0x1edc96(0x9e),(_0x38f2e8,_0x464cc4,_0x5d4973)=>{const _0x20d90f=_0x1edc96;if(_0x20d90f(0xc4)!=_0x464cc4[_0x20d90f(0xf5)][_0x20d90f(0x105)]&&_0x20d90f(0xc4)==_0x2beebb[_0x20d90f(0xd2)]()[_0x20d90f(0xf5)][_0x20d90f(0x105)]&&!_0x31990f[_0x20d90f(0xb3)](_0x2beebb[_0x20d90f(0x107)])){const _0x495524=_0x58a56e[_0x20d90f(0xce)][_0x20d90f(0xc7)](_0x5d4973[_0x20d90f(0xcf)]);if(_0x495524){const _0x41f904=_0xb74ad6[_0x20d90f(0x10a)](_0x495524);_0x31990f[_0x20d90f(0xc3)](_0x2beebb[_0x20d90f(0x107)],_0x41f904),_0x41f904['on'](_0x20d90f(0x9e),(_0x2be239,_0x485348,_0x19b9b6)=>{const _0x120161=_0x20d90f;if(_0x120161(0xc4)==_0x41f904[_0x120161(0xf5)][_0x120161(0x105)]){const _0x25fcf5=_0x58a56e[_0x120161(0xce)][_0x120161(0xc7)](_0x19b9b6[_0x120161(0xcf)]);_0x25fcf5?(_0x41f904[_0x120161(0xfa)]=_0x25fcf5[_0x120161(0xfa)],_0x41f904[_0x120161(0xec)]=_0x25fcf5[_0x120161(0xec)]):(_0x31990f[_0x120161(0xbc)](_0x2beebb[_0x120161(0x107)]),_0x41f904[_0x120161(0xd3)]());}});}}});}),_0x58a56e[_0x36b3bf(0xe9)]['on'](_0x36b3bf(0x111),()=>{const _0x35eb4a=_0x36b3bf;_0x31990f[_0x35eb4a(0xf1)]>0x0&&_0x58a56e[_0x35eb4a(0xcc)]({'isUndoable':!0x1},_0x180d1b=>{const _0x162a67=_0x35eb4a;for(const [_0x6bdf8e,_0x46c887]of _0x31990f)_0x162a67(0xc4)==_0x58a56e[_0x162a67(0xbf)][_0x162a67(0xef)](_0x6bdf8e)[_0x162a67(0xd2)]()[_0x162a67(0xf5)][_0x162a67(0x105)]&&(G(_0x6bdf8e[_0x162a67(0xd1)](':')[0x2],_0x46c887[_0x162a67(0xc0)](),_0x58a56e,_0x180d1b),_0x46c887[_0x162a67(0xd3)]());_0x31990f[_0x162a67(0xdc)]();});});}(_0x49d60e),this[_0x5223fe(0x117)][_0x5223fe(0xd5)](_0x52414e[_0x5223fe(0xe9)],_0x5223fe(0x10f),(_0x23b6e3,{key:_0xc992dd})=>{const _0x458aac=_0x5223fe;_0x458aac(0x9b)===_0xc992dd&&function(_0x529334){const _0x1d33ac=_0x458aac;_0x529334[_0x1d33ac(0x94)][_0x1d33ac(0xfb)][_0x1d33ac(0x111)](_0x49fad3=>{const _0x588884=_0x1d33ac;for(const _0x34fb28 of _0x529334[_0x588884(0xf2)][_0x588884(0xbf)]){if(!_0x34fb28[_0x588884(0x107)][_0x588884(0xab)](_0x588884(0xde)))continue;const _0x30ab19=_0x529334[_0x588884(0x94)][_0x588884(0xdf)][_0x588884(0x8f)](_0x34fb28[_0x588884(0x107)]);if(_0x30ab19){for(const _0x1b1387 of _0x30ab19)_0x49fad3[_0x588884(0xd6)](_0x588884(0x110),_0x1b1387);}}});}(_0x49d60e);},{'useCapture':!0x0});}[_0x8e73bb(0x112)](){const _0x534ec3=_0x8e73bb,_0x1ba805=this[_0x534ec3(0x10d)],_0x51ab8e=_0x1ba805[_0x534ec3(0xa8)][_0x534ec3(0xef)](_0x534ec3(0xeb));_0x51ab8e&&_0x1ba805[_0x534ec3(0xf2)]['on'](_0x534ec3(0xd9),(_0x36687d,_0x44c68b)=>{const _0x113824=_0x534ec3,_0x57f6e9=_0x44c68b[0x0];if(!_0x57f6e9[_0x113824(0xb0)])return;if(_0x113824(0x93)!=_0x57f6e9[_0x113824(0xd8)]||!_0x57f6e9[_0x113824(0x107)][_0x113824(0xab)](_0x113824(0x106)))return;const _0xfcd17b=_0x57f6e9[_0x113824(0xcd)];_0x51ab8e[_0x113824(0xc1)][_0x113824(0xb3)](_0xfcd17b)&&(_0x57f6e9[_0x113824(0x116)]=_0x57f6e9[_0x113824(0x115)]?_0x1ba805[_0x113824(0xf2)][_0x113824(0xe7)](_0x57f6e9[_0x113824(0x115)][_0x113824(0xfa)],_0x57f6e9[_0x113824(0x115)][_0x113824(0xec)]):null);},{'priority':_0x534ec3(0xd4)});}[_0x8e73bb(0xe6)](){const _0x1ab957=_0x8e73bb;return this[_0x1ab957(0x117)][_0x1ab957(0xd7)](),super[_0x1ab957(0xe6)]();}[_0x8e73bb(0xf3)](){const _0x39194d=_0x8e73bb,_0x444686=this[_0x39194d(0x10d)],_0x66ab99=_0x444686[_0x39194d(0xf2)][_0x39194d(0xe9)],_0x1c5937=_0x444686[_0x39194d(0xed)][_0x39194d(0xef)](_0x178672);_0x444686[_0x39194d(0xf2)][_0x39194d(0xcc)]({'isUndoable':!0x1},_0x3d350d=>{const _0x262683=_0x39194d,_0x19b6de=_0x262683(0xe4)+_0x1c5937[_0x262683(0xc8)],_0x5d0e9c=_0x262683(0x102)+_0x1c5937[_0x262683(0xc8)],_0x4e4f54=_0x444686[_0x262683(0xf2)][_0x262683(0xbf)][_0x262683(0xb3)](_0x19b6de);_0x444686[_0x262683(0x94)][_0x262683(0xfb)][_0x262683(0x90)]?G(_0x1c5937[_0x262683(0xc8)],_0x66ab99[_0x262683(0x97)][_0x262683(0xf6)](),_0x444686[_0x262683(0xf2)],_0x3d350d):_0x4e4f54&&(_0x3d350d[_0x262683(0xf4)](_0x19b6de),_0x3d350d[_0x262683(0xf4)](_0x5d0e9c));});}}function G(_0x4015c8,_0x42dd2a,_0x4dcbef,_0x57c94a){const _0xa26070=_0x8e73bb,_0x575717=_0xa26070(0xe4)+_0x4015c8,_0x3f0954=_0xa26070(0x102)+_0x4015c8,_0x2dcff6=_0x42dd2a[_0xa26070(0xe0)]();let _0x16d9f4=_0x42dd2a[_0xa26070(0xfa)];if(_0x2dcff6&&_0x2dcff6['is'](_0xa26070(0xbb),_0xa26070(0xb8))){const _0x1da6fc=function(_0x1b89a0,_0x1974b3){const _0x74fd34=_0xa26070;for(const _0x2991d7 of _0x1b89a0[_0x74fd34(0x9a)]())if(_0x1974b3[_0x74fd34(0xce)][_0x74fd34(0x91)](_0x2991d7,_0x74fd34(0xa7)))return _0x2991d7;}(_0x42dd2a,_0x4dcbef);_0x1da6fc&&(_0x16d9f4=_0x1da6fc,_0x42dd2a=_0x57c94a[_0xa26070(0xe7)](_0x16d9f4));}const _0x1a3eb3=_0x57c94a[_0xa26070(0xe7)](_0x16d9f4);_0x4dcbef[_0xa26070(0xbf)][_0xa26070(0xb3)](_0x575717)?(_0x57c94a[_0xa26070(0xfd)](_0x575717,{'range':_0x42dd2a}),_0x57c94a[_0xa26070(0xfd)](_0x3f0954,{'range':_0x1a3eb3})):(_0x57c94a[_0xa26070(0xe8)](_0x575717,{'range':_0x42dd2a,'usingOperation':!0x0}),_0x57c94a[_0xa26070(0xe8)](_0x3f0954,{'range':_0x1a3eb3,'usingOperation':!0x0}));}
23
+ const _0x385907=_0x47f4;(function(_0x4a114b,_0x285272){const _0xddb5f9=_0x47f4,_0x21680c=_0x4a114b();while(!![]){try{const _0xc8b4e2=-parseInt(_0xddb5f9(0x1aa))/0x1*(parseInt(_0xddb5f9(0x1b5))/0x2)+-parseInt(_0xddb5f9(0x16f))/0x3*(parseInt(_0xddb5f9(0x1bc))/0x4)+-parseInt(_0xddb5f9(0x143))/0x5*(parseInt(_0xddb5f9(0x164))/0x6)+-parseInt(_0xddb5f9(0x193))/0x7+-parseInt(_0xddb5f9(0x16a))/0x8+parseInt(_0xddb5f9(0x1ab))/0x9+parseInt(_0xddb5f9(0x1a3))/0xa*(parseInt(_0xddb5f9(0x199))/0xb);if(_0xc8b4e2===_0x285272)break;else _0x21680c['push'](_0x21680c['shift']());}catch(_0x28470a){_0x21680c['push'](_0x21680c['shift']());}}}(_0xae7c,0x52513));function _0x47f4(_0x432574,_0x419641){const _0xae7c83=_0xae7c();return _0x47f4=function(_0x47f41f,_0x226219){_0x47f41f=_0x47f41f-0x141;let _0x27b1a1=_0xae7c83[_0x47f41f];return _0x27b1a1;},_0x47f4(_0x432574,_0x419641);}function _0xae7c(){const _0x59d271=['markers','undo','has','detach','isObject','nodeAfter','color','end','span','ck-user__marker\x20','mouseleave','change','fromRange','stopListening','isOfficialPlugin','rootName','start','getFirstRange','requires','parent','enqueueChange','schema','163902wTVZHf','spellcheck','remove','document','oldRange','isInline','3214696CLULIy','applyOperation','getNearestSelectionRange','userPositionMarker','change:range','94398AXpaWQ','_domEmitter','getContainedElement','getRange','plugins','UserMarkers','afterInit','getPositions','user:range:','render','markerName','startsWith','isDocumentOperation','marker','getMarkerClass','user:range','newRange','textContent','addEventListener','editing','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','tableCell','reconvertMarker','hasContent','user:','toDomElement','size','element','data-session-id','destroy','setAttribute','markerToElement','init','outerHTML','classList','root','2265949HrWyaR','ck-user__marker_hovered','getUserBySessionId','createElement','update:user:range','user:position:','7211006EygAgy','type','mySessionId','name','listenTo','delete','checkChild','hasDomSelection','split','createRange','20aShByu','isLimit','orderNumber','false','batch','removeClass','mapper','5irULHh','4150476aSKYlz','mouseenter','getStart','pluginName','getCustomProperty','markerNameToElements','toRange','Escape','isSimilar','_createdBatches','93082xXRhAi','setCustomProperty','addMarker','updateMarker','set','removeMarker','get','12MwxVCi','markerRange','isCollapsed','createUserMarkerOperations','clear','$graveyard','innerHTML','editor','for','getSelectionClass','ck-user__marker-tooltip','$text','contenteditable','isPremiumPlugin','editingDowncast','conversion','model','view','keydown','70EcwOhb','ck-user__selection','getAttribute','highest','add','selection','user:position','deletionPosition','createUIElement','markerToHighlight','commands'];_0xae7c=function(){return _0x59d271;};return _0xae7c();}import{Plugin as _0x10cea1}from'ckeditor5/src/core.js';import{global as _0x4a3b52,DomEmitterMixin as _0x5cbe43}from'ckeditor5/src/utils.js';import{Sessions as _0x46994d}from'./sessions.js';import{ModelLiveRange as _0x2ef08f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x10cea1{[_0x385907(0x170)]=new(_0x5cbe43())();static get[_0x385907(0x160)](){return[_0x46994d];}static get[_0x385907(0x1ae)](){const _0x618b64=_0x385907;return _0x618b64(0x174);}static get[_0x385907(0x15c)](){return!0x0;}static get[_0x385907(0x1c9)](){return!0x0;}[_0x385907(0x18f)](){const _0x1c0ce9=_0x385907,_0x423735=this[_0x1c0ce9(0x1c3)],_0x21da80=_0x423735[_0x1c0ce9(0x173)][_0x1c0ce9(0x1bb)](_0x46994d);_0x423735[_0x1c0ce9(0x1cb)][_0x1c0ce9(0x1c4)](_0x1c0ce9(0x1ca))[_0x1c0ce9(0x18e)]({'model':_0x1c0ce9(0x149),'view':(_0x3ad24e,{writer:_0x564150})=>function(_0x348738,_0x24404d,_0x5f3a0f,_0x4e4454){const _0x3fe490=_0x1c0ce9,_0x55b757=_0x348738[_0x3fe490(0x179)][_0x3fe490(0x1a1)](':')[0x2],_0x3aa47b=_0x5f3a0f[_0x3fe490(0x195)](_0x55b757);if(!_0x3aa47b||_0x55b757===_0x5f3a0f[_0x3fe490(0x19b)])return;if(!_0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x163)][_0x3fe490(0x19f)](_0x348738[_0x3fe490(0x1bd)][_0x3fe490(0x15e)],_0x3fe490(0x1c7)))return;const _0xdaba2a={'class':_0x3fe490(0x157)+_0x3aa47b[_0x3fe490(0x154)][_0x3fe490(0x17d)](),'data-name':_0x3aa47b[_0x3fe490(0x19c)],'data-session-id':_0x55b757},_0x2b84a8=_0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x14e)][_0x3fe490(0x1bb)](_0x348738[_0x3fe490(0x179)]),_0x169fd6=_0x2b84a8[_0x3fe490(0x1ad)](),_0x203b40=_0x169fd6[_0x3fe490(0x153)],_0x4a4191=_0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x163)];if(_0x203b40&&_0x4a4191[_0x3fe490(0x152)](_0x203b40)&&_0x4a4191[_0x3fe490(0x169)](_0x203b40)&&!_0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x14e)][_0x3fe490(0x1bb)](_0x3fe490(0x177)+_0x55b757)[_0x3fe490(0x172)]()[_0x3fe490(0x1be)])return;const _0x55457c=_0x169fd6[_0x3fe490(0x161)];return _0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x163)][_0x3fe490(0x1a4)](_0x55457c)&&!_0x4e4454[_0x3fe490(0x1cc)][_0x3fe490(0x186)](_0x55457c)&&(_0xdaba2a[_0x3fe490(0x1c8)]=!0x1),function(_0xc36cf2,_0x91f814,_0x49cc65){const _0x1da163=_0x3fe490,_0x39edb4=_0xc36cf2[_0x1da163(0x14b)](_0x1da163(0x156),_0x91f814);return _0xc36cf2[_0x1da163(0x1b6)](_0x1da163(0x16d),!0x0,_0x39edb4),_0x39edb4[_0x1da163(0x178)]=function(_0x569aca){const _0x7b72af=_0x1da163,_0x1582c6=this[_0x7b72af(0x188)](_0x569aca),_0x39e0d5=document[_0x7b72af(0x196)](_0x7b72af(0x156));return _0x39e0d5[_0x7b72af(0x191)][_0x7b72af(0x147)](_0x7b72af(0x1c6)),_0x39e0d5[_0x7b72af(0x18d)](_0x7b72af(0x1c8),_0x7b72af(0x1a6)),_0x39e0d5[_0x7b72af(0x18d)](_0x7b72af(0x165),_0x7b72af(0x1a6)),_0x39e0d5[_0x7b72af(0x180)]=_0x49cc65[_0x7b72af(0x19c)],_0x1582c6[_0x7b72af(0x1c2)]=_0x7b72af(0x183)+_0x39e0d5[_0x7b72af(0x190)]+'⁠',_0x1582c6[_0x7b72af(0x181)](_0x7b72af(0x1ac),()=>{const _0xbe57dd=_0x7b72af;_0x1582c6[_0xbe57dd(0x191)][_0xbe57dd(0x147)](_0xbe57dd(0x194));}),_0x1582c6[_0x7b72af(0x181)](_0x7b72af(0x158),()=>{const _0x154581=_0x7b72af;_0x1582c6[_0x154581(0x191)][_0x154581(0x166)](_0x154581(0x194));}),_0x1582c6;},_0x39edb4[_0x1da163(0x1b3)]=function(_0x147636){const _0x9569e5=_0x1da163;return!(!this[_0x9569e5(0x1af)](_0x9569e5(0x16d))||!_0x147636[_0x9569e5(0x1af)](_0x9569e5(0x16d))||this[_0x9569e5(0x145)](_0x9569e5(0x18b))!=_0x147636[_0x9569e5(0x145)](_0x9569e5(0x18b)));},_0x39edb4;}(_0x24404d,_0xdaba2a,_0x3aa47b);}(_0x3ad24e,_0x564150,_0x21da80,_0x423735)}),_0x423735[_0x1c0ce9(0x1cb)][_0x1c0ce9(0x1c4)](_0x1c0ce9(0x1ca))[_0x1c0ce9(0x14c)]({'model':_0x1c0ce9(0x17e),'view':_0x246635=>function(_0x479f56,_0x4addeb){const _0x46ece2=_0x1c0ce9,_0x3fbb27=_0x479f56[_0x46ece2(0x179)][_0x46ece2(0x1a1)](':')[0x2];if(_0x3fbb27===_0x4addeb[_0x46ece2(0x19b)])return null;const _0x3a09ae=_0x4addeb[_0x46ece2(0x195)](_0x3fbb27);if(!_0x3a09ae)return{'id':_0x3fbb27,'classes':[]};return{'id':_0x3fbb27,'classes':[_0x46ece2(0x144),_0x3a09ae[_0x46ece2(0x154)][_0x46ece2(0x1c5)]()],'attributes':{'data-session-id':_0x3fbb27},'priority':0x7d0+_0x3a09ae[_0x46ece2(0x1a5)]};}(_0x246635,_0x21da80)}),function(_0x95f5a9){const _0x411803=_0x1c0ce9,_0x3c3036=_0x95f5a9[_0x411803(0x1cc)],_0x6d7c09=new Map(),_0x5ef537=_0x95f5a9[_0x411803(0x173)][_0x411803(0x1bb)](_0x46994d);_0x3c3036[_0x411803(0x14e)]['on'](_0x411803(0x197),(_0xa045da,_0x22170b,_0x20f199,_0x3256e8)=>{const _0xb91b2d=_0x411803;if(!_0x3256e8&&_0x6d7c09[_0xb91b2d(0x1bb)](_0x22170b[_0xb91b2d(0x19c)]))return _0x6d7c09[_0xb91b2d(0x1bb)](_0x22170b[_0xb91b2d(0x19c)])[_0xb91b2d(0x151)](),void _0x6d7c09[_0xb91b2d(0x19e)](_0x22170b[_0xb91b2d(0x19c)]);const _0x5e46e3=_0x22170b[_0xb91b2d(0x19c)][_0xb91b2d(0x1a1)](':')[0x2];if(_0x5e46e3===_0x5ef537[_0xb91b2d(0x19b)])return;const _0x4f9331=_0xb91b2d(0x198)+_0x5e46e3;_0x3c3036[_0xb91b2d(0x14e)][_0xb91b2d(0x150)](_0x4f9331)&&_0x95f5a9[_0xb91b2d(0x182)][_0xb91b2d(0x185)](_0x4f9331),_0x22170b['on'](_0xb91b2d(0x16e),(_0x289765,_0x439b82,_0x39f1e6)=>{const _0x54a5c3=_0xb91b2d;if(_0x54a5c3(0x1c1)!=_0x439b82[_0x54a5c3(0x192)][_0x54a5c3(0x15d)]&&_0x54a5c3(0x1c1)==_0x22170b[_0x54a5c3(0x172)]()[_0x54a5c3(0x192)][_0x54a5c3(0x15d)]&&!_0x6d7c09[_0x54a5c3(0x150)](_0x22170b[_0x54a5c3(0x19c)])){const _0x1b203f=_0x3c3036[_0x54a5c3(0x163)][_0x54a5c3(0x16c)](_0x39f1e6[_0x54a5c3(0x14a)]);if(_0x1b203f){const _0xfd6b39=_0x2ef08f[_0x54a5c3(0x15a)](_0x1b203f);_0x6d7c09[_0x54a5c3(0x1b9)](_0x22170b[_0x54a5c3(0x19c)],_0xfd6b39),_0xfd6b39['on'](_0x54a5c3(0x16e),(_0x47982e,_0x3e70c2,_0x44f07f)=>{const _0x5e1729=_0x54a5c3;if(_0x5e1729(0x1c1)==_0xfd6b39[_0x5e1729(0x192)][_0x5e1729(0x15d)]){const _0x14de9b=_0x3c3036[_0x5e1729(0x163)][_0x5e1729(0x16c)](_0x44f07f[_0x5e1729(0x14a)]);_0x14de9b?(_0xfd6b39[_0x5e1729(0x15e)]=_0x14de9b[_0x5e1729(0x15e)],_0xfd6b39[_0x5e1729(0x155)]=_0x14de9b[_0x5e1729(0x155)]):(_0x6d7c09[_0x5e1729(0x19e)](_0x22170b[_0x5e1729(0x19c)]),_0xfd6b39[_0x5e1729(0x151)]());}});}}});}),_0x3c3036[_0x411803(0x167)]['on'](_0x411803(0x159),()=>{const _0x5f1174=_0x411803;_0x6d7c09[_0x5f1174(0x189)]>0x0&&_0x3c3036[_0x5f1174(0x162)]({'isUndoable':!0x1},_0x3d9b6d=>{const _0x40ceeb=_0x5f1174;for(const [_0x20c4f4,_0xf52454]of _0x6d7c09)_0x40ceeb(0x1c1)==_0x3c3036[_0x40ceeb(0x14e)][_0x40ceeb(0x1bb)](_0x20c4f4)[_0x40ceeb(0x172)]()[_0x40ceeb(0x192)][_0x40ceeb(0x15d)]&&(J(_0x20c4f4[_0x40ceeb(0x1a1)](':')[0x2],_0xf52454[_0x40ceeb(0x1b1)](),_0x3c3036,_0x3d9b6d),_0xf52454[_0x40ceeb(0x151)]());_0x6d7c09[_0x40ceeb(0x1c0)]();});});}(_0x423735),this[_0x1c0ce9(0x170)][_0x1c0ce9(0x19d)](_0x4a3b52[_0x1c0ce9(0x167)],_0x1c0ce9(0x142),(_0x27d992,{key:_0x3679b5})=>{const _0xbb5683=_0x1c0ce9;_0xbb5683(0x1b2)===_0x3679b5&&function(_0x371a5e){const _0x1130a9=_0xbb5683;_0x371a5e[_0x1130a9(0x182)][_0x1130a9(0x141)][_0x1130a9(0x159)](_0x3ca263=>{const _0x583773=_0x1130a9;for(const _0x58e236 of _0x371a5e[_0x583773(0x1cc)][_0x583773(0x14e)]){if(!_0x58e236[_0x583773(0x19c)][_0x583773(0x17a)](_0x583773(0x149)))continue;const _0x13fe5e=_0x371a5e[_0x583773(0x182)][_0x583773(0x1a9)][_0x583773(0x1b0)](_0x58e236[_0x583773(0x19c)]);if(_0x13fe5e){for(const _0x48f77e of _0x13fe5e)_0x3ca263[_0x583773(0x1a8)](_0x583773(0x194),_0x48f77e);}}});}(_0x423735);},{'useCapture':!0x0});}[_0x385907(0x175)](){const _0x31a232=_0x385907,_0x207eba=this[_0x31a232(0x1c3)],_0x3e1b67=_0x207eba[_0x31a232(0x14d)][_0x31a232(0x1bb)](_0x31a232(0x14f));_0x3e1b67&&_0x207eba[_0x31a232(0x1cc)]['on'](_0x31a232(0x16b),(_0xddc74d,_0x265809)=>{const _0x34c8b1=_0x31a232,_0x3a018e=_0x265809[0x0];if(!_0x3a018e[_0x34c8b1(0x17b)])return;if(_0x34c8b1(0x17c)!=_0x3a018e[_0x34c8b1(0x19a)]||!_0x3a018e[_0x34c8b1(0x19c)][_0x34c8b1(0x17a)](_0x34c8b1(0x187)))return;const _0x1d830a=_0x3a018e[_0x34c8b1(0x1a7)];_0x3e1b67[_0x34c8b1(0x1b4)][_0x34c8b1(0x150)](_0x1d830a)&&(_0x3a018e[_0x34c8b1(0x17f)]=_0x3a018e[_0x34c8b1(0x168)]?_0x207eba[_0x34c8b1(0x1cc)][_0x34c8b1(0x1a2)](_0x3a018e[_0x34c8b1(0x168)][_0x34c8b1(0x15e)],_0x3a018e[_0x34c8b1(0x168)][_0x34c8b1(0x155)]):null);},{'priority':_0x31a232(0x146)});}[_0x385907(0x18c)](){const _0x543fcd=_0x385907;return this[_0x543fcd(0x170)][_0x543fcd(0x15b)](),super[_0x543fcd(0x18c)]();}[_0x385907(0x1bf)](){const _0x237b82=_0x385907,_0x4c7f63=this[_0x237b82(0x1c3)],_0x365e36=_0x4c7f63[_0x237b82(0x1cc)][_0x237b82(0x167)],_0x427ffe=_0x4c7f63[_0x237b82(0x173)][_0x237b82(0x1bb)](_0x46994d);_0x4c7f63[_0x237b82(0x1cc)][_0x237b82(0x162)]({'isUndoable':!0x1},_0x4f2286=>{const _0x13bbad=_0x237b82,_0x4e73a6=_0x13bbad(0x177)+_0x427ffe[_0x13bbad(0x19b)],_0x49b070=_0x13bbad(0x198)+_0x427ffe[_0x13bbad(0x19b)],_0xdd7743=_0x4c7f63[_0x13bbad(0x1cc)][_0x13bbad(0x14e)][_0x13bbad(0x150)](_0x4e73a6);_0x4c7f63[_0x13bbad(0x182)][_0x13bbad(0x141)][_0x13bbad(0x1a0)]?J(_0x427ffe[_0x13bbad(0x19b)],_0x365e36[_0x13bbad(0x148)][_0x13bbad(0x15f)](),_0x4c7f63[_0x13bbad(0x1cc)],_0x4f2286):_0xdd7743&&(_0x4f2286[_0x13bbad(0x1ba)](_0x4e73a6),_0x4f2286[_0x13bbad(0x1ba)](_0x49b070));});}}function J(_0x490596,_0x4c4cf4,_0xf6b81b,_0x1656dc){const _0x410a19=_0x385907,_0x1350dd=_0x410a19(0x177)+_0x490596,_0x36ac5c=_0x410a19(0x198)+_0x490596,_0x4d9919=_0x4c4cf4[_0x410a19(0x171)]();let _0x3ccfa3=_0x4c4cf4[_0x410a19(0x15e)];if(_0x4d9919&&_0x4d9919['is'](_0x410a19(0x18a),_0x410a19(0x184))){const _0x53bb50=function(_0x59f3c7,_0x241689){const _0x3040c9=_0x410a19;for(const _0x57d67b of _0x59f3c7[_0x3040c9(0x176)]())if(_0x241689[_0x3040c9(0x163)][_0x3040c9(0x19f)](_0x57d67b,_0x3040c9(0x1c7)))return _0x57d67b;}(_0x4c4cf4,_0xf6b81b);_0x53bb50&&(_0x3ccfa3=_0x53bb50,_0x4c4cf4=_0x1656dc[_0x410a19(0x1a2)](_0x3ccfa3));}const _0x4a65ac=_0x1656dc[_0x410a19(0x1a2)](_0x3ccfa3);_0xf6b81b[_0x410a19(0x14e)][_0x410a19(0x150)](_0x1350dd)?(_0x1656dc[_0x410a19(0x1b8)](_0x1350dd,{'range':_0x4c4cf4}),_0x1656dc[_0x410a19(0x1b8)](_0x36ac5c,{'range':_0x4a65ac})):(_0x1656dc[_0x410a19(0x1b7)](_0x1350dd,{'range':_0x4c4cf4,'usingOperation':!0x0}),_0x1656dc[_0x410a19(0x1b7)](_0x36ac5c,{'range':_0x4a65ac,'usingOperation':!0x0}));}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d21bb=_0x1d49;function _0x1d49(_0x38c5f3,_0x4482e1){const _0x431793=_0x4317();return _0x1d49=function(_0x1d4907,_0x5c34e2){_0x1d4907=_0x1d4907-0x110;let _0xa66f3b=_0x431793[_0x1d4907];return _0xa66f3b;},_0x1d49(_0x38c5f3,_0x4482e1);}(function(_0x5b9950,_0x141888){const _0x2a2bf1=_0x1d49,_0x46664e=_0x5b9950();while(!![]){try{const _0x391465=parseInt(_0x2a2bf1(0x148))/0x1+parseInt(_0x2a2bf1(0x128))/0x2+parseInt(_0x2a2bf1(0x118))/0x3+parseInt(_0x2a2bf1(0x119))/0x4*(parseInt(_0x2a2bf1(0x14c))/0x5)+parseInt(_0x2a2bf1(0x13e))/0x6*(parseInt(_0x2a2bf1(0x131))/0x7)+-parseInt(_0x2a2bf1(0x149))/0x8*(-parseInt(_0x2a2bf1(0x14e))/0x9)+parseInt(_0x2a2bf1(0x12b))/0xa*(-parseInt(_0x2a2bf1(0x154))/0xb);if(_0x391465===_0x141888)break;else _0x46664e['push'](_0x46664e['shift']());}catch(_0xa4b1ee){_0x46664e['push'](_0x46664e['shift']());}}}(_0x4317,0x80b7a));function _0x4317(){const _0x44e59f=['online','all','get','removeFromReconnectionStack','98007uxOtuC','destroy','token','websocketgateway-plugin-already-registered','cloudservices-init','from','_reconnectionStack','set','error','showWarning','isOfficialPlugin','state','code','234yJdgrC','init','real-time-collaboration','isPremiumPlugin','connected','_reconnect','pluginName','cloudServices.requestTimeout','add','change:me','616539Fnnjsb','1712QkjTXy','limitExceeded','addToReconnectionStack','5105WFijOn','CONNECTING','27558gEhrAu','reconnect','define','config','_shouldPluginsReconnect','initialReconnectionInterval','11gUnXmq','function','context','_domEmitter','connect','stopListening','websocketgateway-missing-token','listenTo','DISCONNECTED','catch','has','webSocketUrl','cloudservices-reconnection-error','websocketgateway-invalid-plugin-interface','delete','2010924xRsXIm','380RRAKSH','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.','Connected\x20users\x20limit\x20exceeded','plugins','disconnect','CloudServices','requires','_isBrowserOffline','isInReconnectionStack','WebSocketGateway','cloudServices.connectionTimeout','CONNECTED','websocketgateway-missing-websocket-url','bind','connection','1531830QKZknH','offline','then','28238380fZqkBr','constructor'];_0x4317=function(){return _0x44e59f;};return _0x4317();}import{ContextPlugin as _0x4a03c6}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2868ac,CKEditorError as _0x46fce8}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x40fb9d,WEB_SOCKET_GATEWAY_STATES as _0x2c523b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x197922}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x4a03c6{static [_0x2d21bb(0x122)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x40fb9d)());static [_0x2d21bb(0x153)]=0x3e8;[_0x2d21bb(0x127)];[_0x2d21bb(0x137)];[_0x2d21bb(0x152)];[_0x2d21bb(0x157)];static get[_0x2d21bb(0x11f)](){const _0x9992fd=_0x2d21bb;return[_0x9992fd(0x11e),_0x197922];}static get[_0x2d21bb(0x144)](){const _0x388555=_0x2d21bb;return _0x388555(0x122);}static get[_0x2d21bb(0x13b)](){return!0x0;}static get[_0x2d21bb(0x141)](){return!0x0;}constructor(_0x1bc636){const _0x2fc60b=_0x2d21bb;super(_0x1bc636),this[_0x2fc60b(0x138)](_0x2fc60b(0x13c),_0x2c523b[_0x2fc60b(0x124)]),this[_0x2fc60b(0x138)](_0x2fc60b(0x120),!0x1),this[_0x2fc60b(0x137)]=new Set(),this[_0x2fc60b(0x152)]=!0x1,this[_0x2fc60b(0x157)]=new(_0x2868ac())();}[_0x2d21bb(0x13f)](){const _0x316615=_0x2d21bb,_0x3b41bb=this[_0x316615(0x156)],_0x184270=_0x3b41bb[_0x316615(0x11c)][_0x316615(0x12f)](_0x316615(0x11e)),_0x187db4=_0x3b41bb[_0x316615(0x11c)][_0x316615(0x12f)](_0x197922);if(!_0x184270[_0x316615(0x133)])throw new _0x46fce8(_0x316615(0x15a),this);if(!_0x184270[_0x316615(0x114)])throw new _0x46fce8(_0x316615(0x125),this);return this[_0x316615(0x157)][_0x316615(0x110)](window,_0x316615(0x129),()=>this[_0x316615(0x120)]=!0x0),this[_0x316615(0x157)][_0x316615(0x110)](window,_0x316615(0x12d),()=>this[_0x316615(0x120)]=!0x1),this[_0x316615(0x156)][_0x316615(0x151)][_0x316615(0x150)](_0x316615(0x123),0xa),this[_0x316615(0x156)][_0x316615(0x151)][_0x316615(0x150)](_0x316615(0x145),0x14),WebSocketGateway[_0x316615(0x122)][_0x316615(0x158)](_0x184270[_0x316615(0x133)],_0x184270[_0x316615(0x114)],{'timeout':0x3e8*this[_0x316615(0x156)][_0x316615(0x151)][_0x316615(0x12f)](_0x316615(0x123)),'requestTimeout':0x3e8*this[_0x316615(0x156)][_0x316615(0x151)][_0x316615(0x12f)](_0x316615(0x145))})[_0x316615(0x12a)](_0x2b3f34=>{const _0x50270c=_0x316615;if(this[_0x50270c(0x127)]=_0x2b3f34,this[_0x50270c(0x126)](_0x50270c(0x13c))['to'](_0x2b3f34,_0x50270c(0x13c),this,_0x50270c(0x120),(_0x437b5b,_0xde88cf)=>(_0x50270c(0x142)!==_0x437b5b&&(this[_0x50270c(0x152)]=!0x0),_0xde88cf||_0x437b5b!==_0x2c523b[_0x50270c(0x124)]?_0x2c523b[_0x50270c(0x111)]:this[_0x50270c(0x13c)]==_0x2c523b[_0x50270c(0x111)]&&this[_0x50270c(0x152)]?(this[_0x50270c(0x152)]=!0x1,this[_0x50270c(0x143)](),_0x2c523b[_0x50270c(0x14d)]):_0x2c523b[_0x50270c(0x124)])),this[_0x50270c(0x127)]['on'](_0x50270c(0x139),(_0x2c227d,_0x3f9c65)=>{const _0xa4885=_0x50270c;if(_0xa4885(0x14a)!==_0x3f9c65[_0xa4885(0x13d)])throw console[_0xa4885(0x139)](_0x3f9c65),new _0x46fce8(_0xa4885(0x135),null,{'originalError':_0x3f9c65});_0x187db4[_0xa4885(0x13a)](_0xa4885(0x11a),{'title':_0xa4885(0x11b),'namespace':_0xa4885(0x140)});}),!_0x2b3f34['me'])return new Promise(_0x77f5d9=>_0x2b3f34['on'](_0x50270c(0x147),_0x77f5d9));})[_0x316615(0x112)](_0x4919e4=>{const _0x315041=_0x316615;throw console[_0x315041(0x139)](_0x4919e4),new _0x46fce8(_0x315041(0x135),null,{'originalError':_0x4919e4});});}[_0x2d21bb(0x14b)](_0x24ec1d){const _0x3dfe88=_0x2d21bb;if(_0x3dfe88(0x155)!=typeof _0x24ec1d[_0x3dfe88(0x14f)])throw new _0x46fce8(_0x3dfe88(0x116),this);if(this[_0x3dfe88(0x121)](_0x24ec1d))throw new _0x46fce8(_0x3dfe88(0x134),this,{'name':_0x24ec1d[_0x3dfe88(0x12c)][_0x3dfe88(0x144)]});this[_0x3dfe88(0x137)][_0x3dfe88(0x146)](_0x24ec1d);}[_0x2d21bb(0x130)](_0x250ae1){const _0x33d6a9=_0x2d21bb;this[_0x33d6a9(0x137)][_0x33d6a9(0x117)](_0x250ae1);}[_0x2d21bb(0x121)](_0x567e69){const _0x542db3=_0x2d21bb;return this[_0x542db3(0x137)][_0x542db3(0x113)](_0x567e69);}[_0x2d21bb(0x143)](){const _0x28f6c4=_0x2d21bb;return this[_0x28f6c4(0x127)][_0x28f6c4(0x14f)]()[_0x28f6c4(0x12a)](()=>Promise[_0x28f6c4(0x12e)](Array[_0x28f6c4(0x136)](this[_0x28f6c4(0x137)],_0x520fae=>_0x520fae[_0x28f6c4(0x14f)]())))[_0x28f6c4(0x12a)](()=>this[_0x28f6c4(0x13c)]=_0x2c523b[_0x28f6c4(0x124)])[_0x28f6c4(0x112)](_0x4a9972=>{const _0x588e6e=_0x28f6c4;throw console[_0x588e6e(0x139)](_0x4a9972),new _0x46fce8(_0x588e6e(0x115),this[_0x588e6e(0x156)]);});}[_0x2d21bb(0x11d)](){const _0x3bf38c=_0x2d21bb;this[_0x3bf38c(0x127)]&&this[_0x3bf38c(0x127)][_0x3bf38c(0x11d)](),this[_0x3bf38c(0x13c)]=_0x2c523b[_0x3bf38c(0x111)],this[_0x3bf38c(0x157)][_0x3bf38c(0x159)]();}[_0x2d21bb(0x132)](){const _0x1ee63b=_0x2d21bb;this[_0x1ee63b(0x11d)](),super[_0x1ee63b(0x132)]();}}
23
+ const _0x309514=_0x2f54;(function(_0x1ee080,_0x1dac40){const _0x208354=_0x2f54,_0x3a30b6=_0x1ee080();while(!![]){try{const _0x22590f=-parseInt(_0x208354(0x13c))/0x1*(parseInt(_0x208354(0x127))/0x2)+-parseInt(_0x208354(0x11e))/0x3+parseInt(_0x208354(0x126))/0x4*(parseInt(_0x208354(0x12f))/0x5)+-parseInt(_0x208354(0x111))/0x6*(-parseInt(_0x208354(0x125))/0x7)+-parseInt(_0x208354(0x103))/0x8+parseInt(_0x208354(0x144))/0x9+parseInt(_0x208354(0x101))/0xa*(-parseInt(_0x208354(0xfc))/0xb);if(_0x22590f===_0x1dac40)break;else _0x3a30b6['push'](_0x3a30b6['shift']());}catch(_0x4106fe){_0x3a30b6['push'](_0x3a30b6['shift']());}}}(_0x3a05,0x6f47c));import{ContextPlugin as _0x4e65e9}from'ckeditor5/src/core.js';function _0x3a05(){const _0x37ea7c=['connection','add','websocketgateway-invalid-plugin-interface','websocketgateway-missing-websocket-url','_domEmitter','plugins','isOfficialPlugin','685467bRzsDs','delete','showWarning','4465373FWOjGc','Connected\x20users\x20limit\x20exceeded','websocketgateway-missing-token','initialReconnectionInterval','cloudServices.connectionTimeout','10KdZmTl','requires','3492864dyjshq','has','cloudServices.requestTimeout','destroy','removeFromReconnectionStack','WebSocketGateway','reconnect','define','_reconnectionStack','real-time-collaboration','stopListening','state','_isBrowserOffline','isPremiumPlugin','5457822KjpTef','_shouldPluginsReconnect','connected','webSocketUrl','bind','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.','constructor','config','set','pluginName','listenTo','context','function','708909JEUMiG','disconnect','CONNECTED','addToReconnectionStack','error','websocketgateway-plugin-already-registered','connect','7DHWJXY','68DeOKWQ','2VsBoEK','get','code','CONNECTING','all','token','limitExceeded','change:me','211305IhKBeW','cloudservices-reconnection-error','CloudServices','isInReconnectionStack','online','catch','DISCONNECTED','_reconnect','from','then','offline','cloudservices-init','init','169579vDvKft'];_0x3a05=function(){return _0x37ea7c;};return _0x3a05();}function _0x2f54(_0x167410,_0x4c2a08){const _0x3a0587=_0x3a05();return _0x2f54=function(_0x2f54b9,_0x25a79a){_0x2f54b9=_0x2f54b9-0xfc;let _0x56a787=_0x3a0587[_0x2f54b9];return _0x56a787;},_0x2f54(_0x167410,_0x4c2a08);}import{DomEmitterMixin as _0x1000d0,CKEditorError as _0x1c4842}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3db81c,WEB_SOCKET_GATEWAY_STATES as _0x5640a4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x1fc796}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x4e65e9{static [_0x309514(0x108)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3db81c)());static [_0x309514(0xff)]=0x3e8;[_0x309514(0x13d)];[_0x309514(0x10b)];[_0x309514(0x112)];[_0x309514(0x141)];static get[_0x309514(0x102)](){const _0x48d0a2=_0x309514;return[_0x48d0a2(0x131),_0x1fc796];}static get[_0x309514(0x11a)](){const _0x58aaa1=_0x309514;return _0x58aaa1(0x108);}static get[_0x309514(0x143)](){return!0x0;}static get[_0x309514(0x110)](){return!0x0;}constructor(_0xe7eb05){const _0x4bcb37=_0x309514;super(_0xe7eb05),this[_0x4bcb37(0x119)](_0x4bcb37(0x10e),_0x5640a4[_0x4bcb37(0x120)]),this[_0x4bcb37(0x119)](_0x4bcb37(0x10f),!0x1),this[_0x4bcb37(0x10b)]=new Set(),this[_0x4bcb37(0x112)]=!0x1,this[_0x4bcb37(0x141)]=new(_0x1000d0())();}[_0x309514(0x13b)](){const _0x441330=_0x309514,_0x5e64b7=this[_0x441330(0x11c)],_0x36edc5=_0x5e64b7[_0x441330(0x142)][_0x441330(0x128)](_0x441330(0x131)),_0x1f9fb9=_0x5e64b7[_0x441330(0x142)][_0x441330(0x128)](_0x1fc796);if(!_0x36edc5[_0x441330(0x12c)])throw new _0x1c4842(_0x441330(0xfe),this);if(!_0x36edc5[_0x441330(0x114)])throw new _0x1c4842(_0x441330(0x140),this);return this[_0x441330(0x141)][_0x441330(0x11b)](window,_0x441330(0x139),()=>this[_0x441330(0x10f)]=!0x0),this[_0x441330(0x141)][_0x441330(0x11b)](window,_0x441330(0x133),()=>this[_0x441330(0x10f)]=!0x1),this[_0x441330(0x11c)][_0x441330(0x118)][_0x441330(0x10a)](_0x441330(0x100),0xa),this[_0x441330(0x11c)][_0x441330(0x118)][_0x441330(0x10a)](_0x441330(0x105),0x14),WebSocketGateway[_0x441330(0x108)][_0x441330(0x124)](_0x36edc5[_0x441330(0x12c)],_0x36edc5[_0x441330(0x114)],{'timeout':0x3e8*this[_0x441330(0x11c)][_0x441330(0x118)][_0x441330(0x128)](_0x441330(0x100)),'requestTimeout':0x3e8*this[_0x441330(0x11c)][_0x441330(0x118)][_0x441330(0x128)](_0x441330(0x105))})[_0x441330(0x138)](_0x2eaadf=>{const _0x1e2f88=_0x441330;if(this[_0x1e2f88(0x13d)]=_0x2eaadf,this[_0x1e2f88(0x115)](_0x1e2f88(0x10e))['to'](_0x2eaadf,_0x1e2f88(0x10e),this,_0x1e2f88(0x10f),(_0x5d92b9,_0x1c8d63)=>(_0x1e2f88(0x113)!==_0x5d92b9&&(this[_0x1e2f88(0x112)]=!0x0),_0x1c8d63||_0x5d92b9!==_0x5640a4[_0x1e2f88(0x120)]?_0x5640a4[_0x1e2f88(0x135)]:this[_0x1e2f88(0x10e)]==_0x5640a4[_0x1e2f88(0x135)]&&this[_0x1e2f88(0x112)]?(this[_0x1e2f88(0x112)]=!0x1,this[_0x1e2f88(0x136)](),_0x5640a4[_0x1e2f88(0x12a)]):_0x5640a4[_0x1e2f88(0x120)])),this[_0x1e2f88(0x13d)]['on'](_0x1e2f88(0x122),(_0x3e2dac,_0x91109e)=>{const _0x6dfe55=_0x1e2f88;if(_0x6dfe55(0x12d)!==_0x91109e[_0x6dfe55(0x129)])throw console[_0x6dfe55(0x122)](_0x91109e),new _0x1c4842(_0x6dfe55(0x13a),null,{'originalError':_0x91109e});_0x1f9fb9[_0x6dfe55(0x146)](_0x6dfe55(0x116),{'title':_0x6dfe55(0xfd),'namespace':_0x6dfe55(0x10c)});}),!_0x2eaadf['me'])return new Promise(_0x569077=>_0x2eaadf['on'](_0x1e2f88(0x12e),_0x569077));})[_0x441330(0x134)](_0xaaddf5=>{const _0x2307e8=_0x441330;throw console[_0x2307e8(0x122)](_0xaaddf5),new _0x1c4842(_0x2307e8(0x13a),null,{'originalError':_0xaaddf5});});}[_0x309514(0x121)](_0x3fa72e){const _0x53701a=_0x309514;if(_0x53701a(0x11d)!=typeof _0x3fa72e[_0x53701a(0x109)])throw new _0x1c4842(_0x53701a(0x13f),this);if(this[_0x53701a(0x132)](_0x3fa72e))throw new _0x1c4842(_0x53701a(0x123),this,{'name':_0x3fa72e[_0x53701a(0x117)][_0x53701a(0x11a)]});this[_0x53701a(0x10b)][_0x53701a(0x13e)](_0x3fa72e);}[_0x309514(0x107)](_0x48f3c1){const _0x5897bd=_0x309514;this[_0x5897bd(0x10b)][_0x5897bd(0x145)](_0x48f3c1);}[_0x309514(0x132)](_0x5b96e4){const _0x21ab10=_0x309514;return this[_0x21ab10(0x10b)][_0x21ab10(0x104)](_0x5b96e4);}[_0x309514(0x136)](){const _0x1a3516=_0x309514;return this[_0x1a3516(0x13d)][_0x1a3516(0x109)]()[_0x1a3516(0x138)](()=>Promise[_0x1a3516(0x12b)](Array[_0x1a3516(0x137)](this[_0x1a3516(0x10b)],_0x36c2a2=>_0x36c2a2[_0x1a3516(0x109)]())))[_0x1a3516(0x138)](()=>this[_0x1a3516(0x10e)]=_0x5640a4[_0x1a3516(0x120)])[_0x1a3516(0x134)](_0xb4d3c5=>{const _0x318571=_0x1a3516;throw console[_0x318571(0x122)](_0xb4d3c5),new _0x1c4842(_0x318571(0x130),this[_0x318571(0x11c)]);});}[_0x309514(0x11f)](){const _0x429eba=_0x309514;this[_0x429eba(0x13d)]&&this[_0x429eba(0x13d)][_0x429eba(0x11f)](),this[_0x429eba(0x10e)]=_0x5640a4[_0x429eba(0x135)],this[_0x429eba(0x141)][_0x429eba(0x10d)]();}[_0x309514(0x106)](){const _0x535834=_0x309514;this[_0x535834(0x11f)](),super[_0x535834(0x106)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x365893=_0xb9d5;(function(_0x40f827,_0x39d692){const _0x3dca3e=_0xb9d5,_0x547e83=_0x40f827();while(!![]){try{const _0x4963e0=parseInt(_0x3dca3e(0xf1))/0x1*(parseInt(_0x3dca3e(0xd4))/0x2)+-parseInt(_0x3dca3e(0xd5))/0x3*(parseInt(_0x3dca3e(0xc9))/0x4)+-parseInt(_0x3dca3e(0xbd))/0x5+parseInt(_0x3dca3e(0x11d))/0x6+-parseInt(_0x3dca3e(0xef))/0x7+-parseInt(_0x3dca3e(0x101))/0x8*(parseInt(_0x3dca3e(0xe4))/0x9)+-parseInt(_0x3dca3e(0xf0))/0xa*(-parseInt(_0x3dca3e(0xcd))/0xb);if(_0x4963e0===_0x39d692)break;else _0x547e83['push'](_0x547e83['shift']());}catch(_0xd42353){_0x547e83['push'](_0x547e83['shift']());}}}(_0x3bb9,0xb017c));import{Plugin as _0x5c2c99}from'ckeditor5/src/core.js';import{version as _0x331c85}from'ckeditor5/src/utils.js';import{Users as _0x14a78d}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x589bda}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x1ced0b}from'../realtimecollaborativeediting/websocketgateway.js';function _0xb9d5(_0x26cc25,_0x1f04ec){const _0x3bb9ca=_0x3bb9();return _0xb9d5=function(_0xb9d5b6,_0x42c536){_0xb9d5b6=_0xb9d5b6-0xbc;let _0x34bfc3=_0x3bb9ca[_0xb9d5b6];return _0x34bfc3;},_0xb9d5(_0x26cc25,_0x1f04ec);}import{Sessions as _0x38cdb0}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x34662b,RevisionHistoryService as _0x49e3dd,User as _0x4c0d81,WEB_SOCKET_GATEWAY_STATES as _0x3e6032}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x5c2c99{static [_0x365893(0xea)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x49e3dd)());[_0x365893(0xdc)];[_0x365893(0xe7)];[_0x365893(0x105)];[_0x365893(0x12f)];static get[_0x365893(0xd1)](){const _0x20c6ed=_0x365893;return[_0x1ced0b,_0x589bda,_0x20c6ed(0xe0),_0x38cdb0,_0x14a78d];}static get[_0x365893(0xcf)](){const _0x1adbc8=_0x365893;return _0x1adbc8(0xee);}static get[_0x365893(0x10f)](){return!0x0;}static get[_0x365893(0x125)](){return!0x0;}constructor(_0x1c6564){const _0x4b76e2=_0x365893;super(_0x1c6564);const _0x1ad15d=this[_0x4b76e2(0xbc)][_0x4b76e2(0xfd)][_0x4b76e2(0xf4)](_0x4b76e2(0x128));this[_0x4b76e2(0xdc)]=null,this[_0x4b76e2(0xe7)]=this[_0x4b76e2(0xbc)][_0x4b76e2(0x10b)][_0x4b76e2(0xf4)](_0x4b76e2(0xec)),this[_0x4b76e2(0x105)]=new CloudServicesRevisionHistoryAdapter[(_0x4b76e2(0xea))](_0x1ad15d);}async[_0x365893(0xbf)](){const _0x39f429=_0x365893,_0x407b36=this[_0x39f429(0xbc)][_0x39f429(0x10b)][_0x39f429(0xf4)](_0x589bda),_0x144a46=_0x407b36[_0x39f429(0x111)],_0x38ba61=this[_0x39f429(0xbc)][_0x39f429(0x10b)][_0x39f429(0xf4)](_0x1ced0b);this[_0x39f429(0xe7)][_0x39f429(0xf6)]({'history':_0x144a46,'getLatestVersion':()=>this[_0x39f429(0xc1)](),'getCurrentRevisionId':()=>_0x407b36[_0x39f429(0x10d)]});const _0x6c0532=this[_0x39f429(0xbc)][_0x39f429(0xfd)][_0x39f429(0xf4)](_0x39f429(0x114))||_0x331c85,_0x14a4b5=await _0x34662b[_0x39f429(0xda)](_0x38ba61[_0x39f429(0xed)],_0x6c0532);this[_0x39f429(0xbc)][_0x39f429(0x10b)][_0x39f429(0xf4)](_0x39f429(0xe0))[_0x39f429(0x11e)]={'getRevision':async({revisionId:_0x1512e5})=>(await this[_0x39f429(0xde)](),await this[_0x39f429(0x105)][_0x39f429(0x127)](_0x1512e5)),'updateRevisions':async _0x9abf7d=>{const _0x3146ac=_0x39f429;await this[_0x3146ac(0xde)]();const _0x53b441=this[_0x3146ac(0xe7)][_0x3146ac(0xd3)];if(_0x14a4b5&&0x1===_0x9abf7d[_0x3146ac(0xf9)]&&_0x9abf7d[0x0]['id']===_0x53b441['id'])return _0x9abf7d;for(const _0xee758a of _0x9abf7d)_0xee758a['id']===_0x53b441['id']&&(_0xee758a[_0x3146ac(0x118)]=_0xee758a[_0x3146ac(0x129)]===_0xee758a[_0x3146ac(0xcb)]);return this[_0x3146ac(0x105)][_0x3146ac(0x103)](_0x9abf7d,this[_0x3146ac(0xdc)])[_0x3146ac(0xd8)](_0x34e61f=>(this[_0x3146ac(0xdc)]=_0x34e61f,_0x9abf7d))[_0x3146ac(0xd7)](_0x3e6b93=>{const _0x433e10=_0x3146ac;if(ot(_0x3e6b93)||_0x433e10(0xc2)===_0x3e6b93[_0x433e10(0x124)]&&void 0x0!==_0x3e6b93[_0x433e10(0x107)][_0x433e10(0x119)]){for(const _0xc167c0 of _0x9abf7d){!this[_0x433e10(0xe7)][_0x433e10(0xc8)][_0x433e10(0x127)](_0xc167c0['id'])||this[_0x433e10(0xe7)][_0x433e10(0x100)](_0xc167c0['id'],_0xc167c0,!0x1);}if(ot(_0x3e6b93))throw _0x3e6b93;return _0x9abf7d;}throw _0x3e6b93;});}},this[_0x39f429(0xf2)](this[_0x39f429(0x105)],_0x39f429(0xd6),(_0x5a6795,{revisionsData:_0xc55acb,requestId:_0x113e42})=>{const _0x789130=_0x39f429;Math[_0x789130(0x113)](..._0xc55acb[_0x789130(0x12d)](_0x42d901=>_0x42d901[_0x789130(0xcb)]))>this[_0x789130(0xdf)]()-0x1?this[_0x789130(0xc1)]()[_0x789130(0xd8)](()=>{const _0x1860ae=_0x789130;this[_0x1860ae(0xc3)](_0xc55acb,_0x113e42);}):this[_0x789130(0xc3)](_0xc55acb,_0x113e42);});const {revisions:_0x49b287,requestId:_0x57479e}=await this[_0x39f429(0x105)][_0x39f429(0xd2)](_0x38ba61[_0x39f429(0xed)]);_0x38ba61[_0x39f429(0xbe)](this),this[_0x39f429(0xdc)]=_0x57479e,await this[_0x39f429(0xfb)](_0x49b287);for(const _0x49d024 of _0x49b287)this[_0x39f429(0xe7)][_0x39f429(0x12b)](_0x49d024);this[_0x39f429(0xf2)](_0x407b36,_0x39f429(0x117),(_0x746feb,_0x4e49aa,_0x4f6819)=>{const _0x101e41=_0x39f429;_0x4f6819&&(this[_0x101e41(0x12f)]=_0x407b36[_0x101e41(0xcc)],_0x746feb[_0x101e41(0xc6)]());}),this[_0x39f429(0xe7)][_0x39f429(0x10a)](_0x39f429(0x121))['to'](_0x38ba61,_0x39f429(0x116),_0xa9d0f1=>_0xa9d0f1===_0x3e6032[_0x39f429(0xe9)]);}async[_0x365893(0xe8)](){const _0x10d41c=_0x365893,_0x4a2222=this[_0x10d41c(0xbc)][_0x10d41c(0x10b)][_0x10d41c(0xf4)](_0x1ced0b),_0x2967d0=this[_0x10d41c(0xbc)][_0x10d41c(0x10b)][_0x10d41c(0xf4)](_0x589bda),_0x403da3=async()=>{const _0x342857=_0x10d41c,_0x36e087=this[_0x342857(0xe7)][_0x342857(0xd3)],_0x48f229=_0x36e087['id'],_0x29d1c0=_0x48f229!==_0x2967d0[_0x342857(0x10d)];if(_0x29d1c0){const _0x38132e=_0x2967d0[_0x342857(0xcc)]-this[_0x342857(0x12f)],_0x2f8917=this[_0x342857(0xdf)]();this[_0x342857(0xe7)][_0x342857(0x104)][_0x342857(0x110)]();if(_0x36e087[_0x342857(0xcb)]+_0x38132e!==_0x2f8917){const _0x591e36=_0x36e087[_0x342857(0x129)]+_0x38132e,_0x4a6835=this[_0x342857(0xbc)][_0x342857(0x10b)][_0x342857(0xf4)](_0x14a78d),_0x16c7d0=this[_0x342857(0xe7)][_0x342857(0x112)]({'revision':_0x36e087,'from':_0x591e36,'to':_0x2f8917});_0x16c7d0['id']=_0x36e087['id'];const _0x58c4fe=_0x16c7d0[_0x342857(0xf3)][_0x342857(0x12d)](_0x2510fa=>_0x4a6835[_0x342857(0xf8)](_0x2510fa));_0x36e087[_0x342857(0x102)]({..._0x16c7d0,'authors':_0x58c4fe},!0x0),this[_0x342857(0xe7)][_0x342857(0x100)](_0x36e087['id'],_0x16c7d0,!0x0);}this[_0x342857(0xe7)][_0x342857(0xd9)]=_0x2f8917,(_0x36e087[_0x342857(0xcb)]===_0x36e087[_0x342857(0x129)]&&!this[_0x342857(0xe7)][_0x342857(0xdd)][_0x342857(0x108)](_0x48f229)&&this[_0x342857(0xe7)][_0x342857(0xc8)][_0x342857(0xe2)][_0x342857(0xfc)](_0x48f229),this[_0x342857(0xe7)][_0x342857(0xe3)](_0x2f8917));}const {revisions:_0x10ddd9,requestId:_0x18f31}=await this[_0x342857(0x105)][_0x342857(0xe8)](_0x4a2222[_0x342857(0xed)],this[_0x342857(0xdc)]);_0x29d1c0&&_0x10ddd9[_0x342857(0xf9)]>0x0?_0x2967d0[_0x342857(0xfe)]():(await this[_0x342857(0xfb)](_0x10ddd9),this[_0x342857(0xc3)](_0x10ddd9,_0x18f31),this[_0x342857(0xe7)][_0x342857(0x10e)]());};return _0x2967d0[_0x10d41c(0x130)]?_0x403da3():new Promise((_0x3999a8,_0x4fb85b)=>{const _0x4a2ca5=_0x10d41c;_0x2967d0[_0x4a2ca5(0xe6)](_0x4a2ca5(0x117),()=>{const _0x1d37d0=_0x4a2ca5;_0x403da3()[_0x1d37d0(0xd8)](_0x3999a8)[_0x1d37d0(0xd7)](_0x4fb85b);});});}[_0x365893(0xc5)](){const _0x4bd82b=_0x365893;super[_0x4bd82b(0xc5)]();}async[_0x365893(0xde)](){const _0x212bcc=_0x365893;this[_0x212bcc(0x105)][_0x212bcc(0xe5)]||await new Promise(_0x1923c4=>{const _0x12f3e9=_0x212bcc;this[_0x12f3e9(0xf2)](this[_0x12f3e9(0x105)],_0x12f3e9(0xca),_0x5009e5=>{const _0x462132=_0x12f3e9;_0x5009e5[_0x462132(0xc6)](),_0x1923c4();});});}[_0x365893(0xdf)](){const _0x369774=_0x365893,_0x404402=this[_0x369774(0xbc)][_0x369774(0x10b)][_0x369774(0xf4)](_0x589bda)[_0x369774(0x111)][_0x369774(0x120)]()[_0x369774(0x126)]();for(const _0x7ea528 of _0x404402)if(_0x369774(0x109)!==_0x7ea528[_0x369774(0xc7)]||_0x7ea528[_0x369774(0xf7)])return _0x7ea528[_0x369774(0x115)]+0x1;}[_0x365893(0xc1)](){const _0x4a27e2=_0x365893,_0x5e4de6=this[_0x4a27e2(0xbc)][_0x4a27e2(0x10b)][_0x4a27e2(0xf4)](_0x589bda);return new Promise(_0x4a4ce7=>{const _0x21ca45=_0x4a27e2;_0x5e4de6[_0x21ca45(0x12c)]?_0x5e4de6[_0x21ca45(0xe6)](_0x21ca45(0xc0),()=>{const _0x4b6698=_0x21ca45;_0x4a4ce7(this[_0x4b6698(0xdf)]());}):_0x4a4ce7(this[_0x21ca45(0xdf)]());});}[_0x365893(0xc3)](_0x3d7953,_0x551633){const _0x22f267=_0x365893,_0x51dc5a=this[_0x22f267(0xe7)][_0x22f267(0xc8)];this[_0x22f267(0xdc)]=_0x551633;for(const _0x206207 of _0x3d7953){const _0x5b5c98=_0x51dc5a[_0x22f267(0x127)](_0x206207['id']);if(_0x5b5c98){if((_0x206207[_0x22f267(0x129)]||_0x206207[_0x22f267(0xcb)])&&(_0x206207[_0x22f267(0xeb)]=null),_0x5b5c98===this[_0x22f267(0xe7)][_0x22f267(0xd3)]){const _0x498f43=Math[_0x22f267(0x113)](_0x5b5c98[_0x22f267(0xcb)],_0x206207[_0x22f267(0xcb)]),_0x53423b=Math[_0x22f267(0x113)](_0x5b5c98[_0x22f267(0x129)],_0x206207[_0x22f267(0x129)]);let _0x4e9876;_0x5b5c98[_0x22f267(0xcb)]===_0x206207[_0x22f267(0xcb)]&&_0x5b5c98[_0x22f267(0x129)]===_0x206207[_0x22f267(0x129)]?(_0x4e9876=!0x0,this[_0x22f267(0x11f)](_0x206207)):_0x206207[_0x22f267(0xcb)]===_0x498f43&&_0x206207[_0x22f267(0x129)]===_0x53423b?_0x4e9876=!0x1:(_0x5b5c98[_0x22f267(0xcb)]===_0x498f43&&_0x5b5c98[_0x22f267(0x129)]===_0x53423b||this[_0x22f267(0xdb)]({'revision':_0x5b5c98,'from':_0x53423b,'to':_0x498f43}),_0x4e9876=!0x0),_0x4e9876&&(delete _0x206207[_0x22f267(0x129)],delete _0x206207[_0x22f267(0xcb)],delete _0x206207[_0x22f267(0xeb)],delete _0x206207[_0x22f267(0x106)],delete _0x206207[_0x22f267(0xf3)]);}this[_0x22f267(0xe7)][_0x22f267(0xe1)](_0x206207),this[_0x22f267(0x11f)](_0x206207);}else this[_0x22f267(0xe7)][_0x22f267(0x12b)](_0x206207);}const _0x3eb51c=_0x51dc5a[_0x22f267(0x11a)]();_0x3eb51c[_0x22f267(0x126)]();for(let _0x2a2404=0x0;_0x2a2404<_0x3eb51c[_0x22f267(0xf9)]-0x1;_0x2a2404++){const _0x4fd620=_0x3eb51c[_0x2a2404],_0x2534ad=_0x3eb51c[_0x2a2404+0x1];if(_0x4fd620[_0x22f267(0x129)]<_0x2534ad[_0x22f267(0xcb)]){const _0x44fc61=_0x2534ad[_0x22f267(0xcb)],_0x117ad7=Math[_0x22f267(0x113)](_0x44fc61,_0x4fd620[_0x22f267(0xcb)]);this[_0x22f267(0xdb)]({'revision':_0x4fd620,'from':_0x44fc61,'to':_0x117ad7});}}}[_0x365893(0xdb)]({revision:_0x143eb7,from:_0x52268c,to:_0x1aad7a}={}){const _0x23115b=_0x365893,_0x24a937=this[_0x23115b(0xbc)][_0x23115b(0x10b)][_0x23115b(0xf4)](_0x14a78d),_0x247484=this[_0x23115b(0xe7)][_0x23115b(0x112)]({'revision':_0x143eb7,'from':_0x52268c,'to':_0x1aad7a});_0x247484[_0x23115b(0x123)]=_0x247484[_0x23115b(0xf3)][_0x23115b(0x12d)](_0x42efd8=>_0x24a937[_0x23115b(0xf8)](_0x42efd8)),_0x143eb7[_0x23115b(0x102)](_0x247484);}[_0x365893(0x11f)](_0x580290){const _0x1f4ee1=_0x365893,_0x23cf86={};_0x23cf86['id']=_0x580290['id'];for(const _0x4a1013 of Object[_0x1f4ee1(0x11b)](_0x580290))'id'!==_0x4a1013&&(_0x23cf86[_0x4a1013]=void 0x0);this[_0x1f4ee1(0xe7)][_0x1f4ee1(0x100)](_0x23cf86['id'],_0x23cf86,!0x0);}async[_0x365893(0xfb)](_0x5b8f3b){const _0x104724=_0x365893,_0xe700ea=this[_0x104724(0xbc)][_0x104724(0x10b)][_0x104724(0xf4)](_0x14a78d),{connection:_0x2679d1}=this[_0x104724(0xbc)][_0x104724(0x10b)][_0x104724(0xf4)](_0x1ced0b),_0x3f9814=new Set();for(const _0x8c42e4 of _0x5b8f3b){for(const _0x3a2818 of _0x8c42e4[_0x104724(0xf3)])_0x54cd33(_0x3a2818);_0x8c42e4[_0x104724(0x10c)]&&_0x54cd33(_0x8c42e4[_0x104724(0x10c)]);}if(0x0===_0x3f9814[_0x104724(0xf5)])return;const _0x5d8291=await _0x4c0d81[_0x104724(0xfa)](_0x2679d1,Array[_0x104724(0xd0)](_0x3f9814));for(const _0x1543a4 of _0x5d8291)_0xe700ea[_0x104724(0xf8)](_0x1543a4['id'])||_0xe700ea[_0x104724(0xce)](_0x1543a4);function _0x54cd33(_0x1edfef){const _0x21fabc=_0x104724;_0xe700ea[_0x21fabc(0xf8)](_0x1edfef)||_0x3f9814[_0x21fabc(0xc4)](_0x1edfef);}}}function ot(_0x435e6c){const _0x48ac70=_0x365893;return _0x435e6c[_0x48ac70(0xff)][_0x48ac70(0x122)](_0x48ac70(0x11c))||_0x435e6c[_0x48ac70(0xff)][_0x48ac70(0x122)](_0x48ac70(0x12e))||_0x435e6c[_0x48ac70(0xff)][_0x48ac70(0x122)](_0x48ac70(0x12a));}function _0x3bb9(){const _0x17569c=['_revisionTracker','reconnect','CONNECTED','RevisionHistoryService','diffData','RevisionTracker','connection','CloudServicesRevisionHistoryAdapter','5876710QIajob','39671340yhYXxX','162824qdmTRw','listenTo','authorsIds','get','size','setSource','affectsData','getUser','length','getMany','_fetchMissingUsers','remove','config','_handleReconnectionError','message','_bufferUpdate','21832LCIPvD','_update','updateRevisions','_revisionDataBuilder','_revisionHistoryService','createdAt','data','has','marker','bind','plugins','creatorId','sessionId','sendBufferedUpdates','isOfficialPlugin','reInit','serverHistory','buildRevisionData','max','cloudServices.bundleVersion','baseVersion','state','change:_isConnected','isEmptyCurrent','wrongRequestId','getRevisions','keys','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','2501778plSvVV','adapter','_preventResendingRevisionData','getOperations','isEnabled','startsWith','authors','code','isPremiumPlugin','reverse','getRevision','collaboration.channelId','fromVersion','cloud-services-internal-error:\x20Request\x20timeout.','addRevisionData','_isPendingUpdate','map','cloud-services-internal-error:\x20Not\x20connected.','_oldOffset','_isConnected','editor','4867425prWhXR','addToReconnectionStack','init','change:_isPendingUpdate','_getLatestVersion','400','_handleRevisionsUpdate','add','destroy','off','type','repository','12IQtYur','connected','toVersion','_offset','11dLoKbo','addUser','pluginName','from','requires','connect','currentRevision','4BCLMuW','966507EHSDad','revisionsUpdated','catch','then','_startingVersion','isBundleUploaded','_fixRevision','_lastRequestId','_bufferedUpdates','_waitForServiceReady','_getLatestVersionFromServerOperations','RevisionHistory','setRevisionData','_revisions','_createCurrentRevision','3987uKEVKO','isConnected','once'];_0x3bb9=function(){return _0x17569c;};return _0x3bb9();}
23
+ const _0x2fadc5=_0x2d70;(function(_0x2721a4,_0xacb763){const _0x112d15=_0x2d70,_0x491faa=_0x2721a4();while(!![]){try{const _0x50e57b=-parseInt(_0x112d15(0xeb))/0x1+parseInt(_0x112d15(0x109))/0x2*(-parseInt(_0x112d15(0xc7))/0x3)+-parseInt(_0x112d15(0xbd))/0x4*(-parseInt(_0x112d15(0xba))/0x5)+-parseInt(_0x112d15(0xad))/0x6+-parseInt(_0x112d15(0xa8))/0x7+-parseInt(_0x112d15(0xe9))/0x8+parseInt(_0x112d15(0x102))/0x9*(parseInt(_0x112d15(0x100))/0xa);if(_0x50e57b===_0xacb763)break;else _0x491faa['push'](_0x491faa['shift']());}catch(_0x4d8c54){_0x491faa['push'](_0x491faa['shift']());}}}(_0x598a,0x44241));function _0x2d70(_0x2cf72e,_0x121c6f){const _0x598a4e=_0x598a();return _0x2d70=function(_0x2d706d,_0x469cbb){_0x2d706d=_0x2d706d-0x97;let _0x15edaf=_0x598a4e[_0x2d706d];return _0x15edaf;},_0x2d70(_0x2cf72e,_0x121c6f);}import{Plugin as _0x16bf30}from'ckeditor5/src/core.js';import{version as _0x1bc6d7}from'ckeditor5/src/utils.js';import{Users as _0x4581a8}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x39ee68}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x260481}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x47aa7e}from'../realtimecollaborativeediting/sessions.js';function _0x598a(){const _0x151068=['sendBufferedUpdates','plugins','_revisions','getOperations','catch','getRevisions','connected','max','_startingVersion','_waitForServiceReady','cloud-services-internal-error:\x20Request\x20timeout.','_preventResendingRevisionData','once','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','reconnect','_revisionTracker','isOfficialPlugin','code','2583728ndAvUP','createdAt','11851lYyBxL','_handleReconnectionError','connect','baseVersion','length','change:_isPendingUpdate','get','map','type','_getLatestVersionFromServerOperations','from','buildRevisionData','cloud-services-internal-error:\x20Not\x20connected.','init','fromVersion','isEmptyCurrent','getRevision','_getLatestVersion','remove','setSource','message','6770lzjSFB','reInit','9711gbjFJl','requires','authorsIds','diffData','_handleRevisionsUpdate','connection','change:_isConnected','1526SyhCHO','sessionId','CONNECTED','startsWith','addToReconnectionStack','creatorId','getUser','cloudServices.bundleVersion','addRevisionData','state','editor','_fixRevision','affectsData','updateRevisions','reverse','config','size','repository','addUser','1724905vXrQYh','setRevisionData','400','bind','_createCurrentRevision','942540mDKhTz','_bufferUpdate','keys','authors','RevisionHistory','revisionsUpdated','isConnected','currentRevision','_offset','_revisionHistoryService','then','toVersion','CloudServicesRevisionHistoryAdapter','60285ZmZAfQ','_oldOffset','pluginName','140AzeGuW','adapter','_revisionDataBuilder','_fetchMissingUsers','RevisionHistoryService','isPremiumPlugin','_lastRequestId','has','isBundleUploaded','add','531VnwrXf','_update','serverHistory','off','_isPendingUpdate','destroy','isEnabled','listenTo','marker','collaboration.channelId','_isConnected','getMany','RevisionTracker','data','wrongRequestId','_bufferedUpdates'];_0x598a=function(){return _0x151068;};return _0x598a();}import{EditorService as _0x5065dc,RevisionHistoryService as _0x52f5f8,User as _0x22a3e5,WEB_SOCKET_GATEWAY_STATES as _0x46c274}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x16bf30{static [_0x2fadc5(0xc1)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x52f5f8)());[_0x2fadc5(0xc3)];[_0x2fadc5(0xe6)];[_0x2fadc5(0xb6)];[_0x2fadc5(0xbb)];static get[_0x2fadc5(0x103)](){const _0x4e27ae=_0x2fadc5;return[_0x260481,_0x39ee68,_0x4e27ae(0xb1),_0x47aa7e,_0x4581a8];}static get[_0x2fadc5(0xbc)](){const _0x484c43=_0x2fadc5;return _0x484c43(0xb9);}static get[_0x2fadc5(0xe7)](){return!0x0;}static get[_0x2fadc5(0xc2)](){return!0x0;}constructor(_0x592671){const _0x17b2b2=_0x2fadc5;super(_0x592671);const _0x3d3321=this[_0x17b2b2(0x9f)][_0x17b2b2(0xa4)][_0x17b2b2(0xf1)](_0x17b2b2(0xd0));this[_0x17b2b2(0xc3)]=null,this[_0x17b2b2(0xe6)]=this[_0x17b2b2(0x9f)][_0x17b2b2(0xd8)][_0x17b2b2(0xf1)](_0x17b2b2(0xd3)),this[_0x17b2b2(0xb6)]=new CloudServicesRevisionHistoryAdapter[(_0x17b2b2(0xc1))](_0x3d3321);}async[_0x2fadc5(0xf8)](){const _0x39e8c4=_0x2fadc5,_0x4b6a56=this[_0x39e8c4(0x9f)][_0x39e8c4(0xd8)][_0x39e8c4(0xf1)](_0x39ee68),_0x15107b=_0x4b6a56[_0x39e8c4(0xc9)],_0x21b2db=this[_0x39e8c4(0x9f)][_0x39e8c4(0xd8)][_0x39e8c4(0xf1)](_0x260481);this[_0x39e8c4(0xe6)][_0x39e8c4(0xfe)]({'history':_0x15107b,'getLatestVersion':()=>this[_0x39e8c4(0xfc)](),'getCurrentRevisionId':()=>_0x4b6a56[_0x39e8c4(0x10a)]});const _0x30e9d9=this[_0x39e8c4(0x9f)][_0x39e8c4(0xa4)][_0x39e8c4(0xf1)](_0x39e8c4(0x9c))||_0x1bc6d7,_0x8975a=await _0x5065dc[_0x39e8c4(0xc5)](_0x21b2db[_0x39e8c4(0x107)],_0x30e9d9);this[_0x39e8c4(0x9f)][_0x39e8c4(0xd8)][_0x39e8c4(0xf1)](_0x39e8c4(0xb1))[_0x39e8c4(0xbe)]={'getRevision':async({revisionId:_0x56ffe7})=>(await this[_0x39e8c4(0xe0)](),await this[_0x39e8c4(0xb6)][_0x39e8c4(0xfb)](_0x56ffe7)),'updateRevisions':async _0x4cab91=>{const _0x580fdd=_0x39e8c4;await this[_0x580fdd(0xe0)]();const _0xa405a5=this[_0x580fdd(0xe6)][_0x580fdd(0xb4)];if(_0x8975a&&0x1===_0x4cab91[_0x580fdd(0xef)]&&_0x4cab91[0x0]['id']===_0xa405a5['id'])return _0x4cab91;for(const _0x52f08c of _0x4cab91)_0x52f08c['id']===_0xa405a5['id']&&(_0x52f08c[_0x580fdd(0xfa)]=_0x52f08c[_0x580fdd(0xf9)]===_0x52f08c[_0x580fdd(0xb8)]);return this[_0x580fdd(0xb6)][_0x580fdd(0xa2)](_0x4cab91,this[_0x580fdd(0xc3)])[_0x580fdd(0xb7)](_0x737943=>(this[_0x580fdd(0xc3)]=_0x737943,_0x4cab91))[_0x580fdd(0xdb)](_0x36e574=>{const _0x5a0c21=_0x580fdd;if(Z(_0x36e574)||_0x5a0c21(0xaa)===_0x36e574[_0x5a0c21(0xe8)]&&void 0x0!==_0x36e574[_0x5a0c21(0xd4)][_0x5a0c21(0xd5)]){for(const _0x290ac7 of _0x4cab91){!this[_0x5a0c21(0xe6)][_0x5a0c21(0xa6)][_0x5a0c21(0xfb)](_0x290ac7['id'])||this[_0x5a0c21(0xe6)][_0x5a0c21(0xae)](_0x290ac7['id'],_0x290ac7,!0x1);}if(Z(_0x36e574))throw _0x36e574;return _0x4cab91;}throw _0x36e574;});}},this[_0x39e8c4(0xce)](this[_0x39e8c4(0xb6)],_0x39e8c4(0xb2),(_0x98525b,{revisionsData:_0x3db8e5,requestId:_0x7ae707})=>{const _0x5062c9=_0x39e8c4;Math[_0x5062c9(0xde)](..._0x3db8e5[_0x5062c9(0xf2)](_0x9dfb7=>_0x9dfb7[_0x5062c9(0xb8)]))>this[_0x5062c9(0xf4)]()-0x1?this[_0x5062c9(0xfc)]()[_0x5062c9(0xb7)](()=>{const _0x3d18ea=_0x5062c9;this[_0x3d18ea(0x106)](_0x3db8e5,_0x7ae707);}):this[_0x5062c9(0x106)](_0x3db8e5,_0x7ae707);});const {revisions:_0x3778d6,requestId:_0x3fa902}=await this[_0x39e8c4(0xb6)][_0x39e8c4(0xed)](_0x21b2db[_0x39e8c4(0x107)]);_0x21b2db[_0x39e8c4(0x99)](this),this[_0x39e8c4(0xc3)]=_0x3fa902,await this[_0x39e8c4(0xc0)](_0x3778d6);for(const _0x5e61d0 of _0x3778d6)this[_0x39e8c4(0xe6)][_0x39e8c4(0x9d)](_0x5e61d0);this[_0x39e8c4(0xce)](_0x4b6a56,_0x39e8c4(0x108),(_0x8c1c81,_0x48b5d9,_0x27a077)=>{const _0x406e8d=_0x39e8c4;_0x27a077&&(this[_0x406e8d(0xbb)]=_0x4b6a56[_0x406e8d(0xb5)],_0x8c1c81[_0x406e8d(0xca)]());}),this[_0x39e8c4(0xe6)][_0x39e8c4(0xab)](_0x39e8c4(0xcd))['to'](_0x21b2db,_0x39e8c4(0x9e),_0x428b9a=>_0x428b9a===_0x46c274[_0x39e8c4(0x97)]);}async[_0x2fadc5(0xe5)](){const _0x43a609=_0x2fadc5,_0x5014b6=this[_0x43a609(0x9f)][_0x43a609(0xd8)][_0x43a609(0xf1)](_0x260481),_0x3eefaf=this[_0x43a609(0x9f)][_0x43a609(0xd8)][_0x43a609(0xf1)](_0x39ee68),_0x4935bd=async()=>{const _0x1ab2d5=_0x43a609,_0x276f94=this[_0x1ab2d5(0xe6)][_0x1ab2d5(0xb4)],_0x11bb19=_0x276f94['id'],_0x2cd01d=_0x11bb19!==_0x3eefaf[_0x1ab2d5(0x10a)];if(_0x2cd01d){const _0xab4634=_0x3eefaf[_0x1ab2d5(0xb5)]-this[_0x1ab2d5(0xbb)],_0x3d94c=this[_0x1ab2d5(0xf4)]();this[_0x1ab2d5(0xe6)][_0x1ab2d5(0xbf)][_0x1ab2d5(0x101)]();if(_0x276f94[_0x1ab2d5(0xb8)]+_0xab4634!==_0x3d94c){const _0x2bb7e6=_0x276f94[_0x1ab2d5(0xf9)]+_0xab4634,_0x2efb23=this[_0x1ab2d5(0x9f)][_0x1ab2d5(0xd8)][_0x1ab2d5(0xf1)](_0x4581a8),_0x3bde1f=this[_0x1ab2d5(0xe6)][_0x1ab2d5(0xf6)]({'revision':_0x276f94,'from':_0x2bb7e6,'to':_0x3d94c});_0x3bde1f['id']=_0x276f94['id'];const _0x26d547=_0x3bde1f[_0x1ab2d5(0x104)][_0x1ab2d5(0xf2)](_0x26fe67=>_0x2efb23[_0x1ab2d5(0x9b)](_0x26fe67));_0x276f94[_0x1ab2d5(0xc8)]({..._0x3bde1f,'authors':_0x26d547},!0x0),this[_0x1ab2d5(0xe6)][_0x1ab2d5(0xae)](_0x276f94['id'],_0x3bde1f,!0x0);}this[_0x1ab2d5(0xe6)][_0x1ab2d5(0xdf)]=_0x3d94c,(_0x276f94[_0x1ab2d5(0xb8)]===_0x276f94[_0x1ab2d5(0xf9)]&&!this[_0x1ab2d5(0xe6)][_0x1ab2d5(0xd6)][_0x1ab2d5(0xc4)](_0x11bb19)&&this[_0x1ab2d5(0xe6)][_0x1ab2d5(0xa6)][_0x1ab2d5(0xd9)][_0x1ab2d5(0xfd)](_0x11bb19),this[_0x1ab2d5(0xe6)][_0x1ab2d5(0xac)](_0x3d94c));}const {revisions:_0x4c8e7f,requestId:_0x16d2a3}=await this[_0x1ab2d5(0xb6)][_0x1ab2d5(0xe5)](_0x5014b6[_0x1ab2d5(0x107)],this[_0x1ab2d5(0xc3)]);_0x2cd01d&&_0x4c8e7f[_0x1ab2d5(0xef)]>0x0?_0x3eefaf[_0x1ab2d5(0xec)]():(await this[_0x1ab2d5(0xc0)](_0x4c8e7f),this[_0x1ab2d5(0x106)](_0x4c8e7f,_0x16d2a3),this[_0x1ab2d5(0xe6)][_0x1ab2d5(0xd7)]());};return _0x3eefaf[_0x43a609(0xd1)]?_0x4935bd():new Promise((_0x224122,_0x51a8d9)=>{const _0x26a4cb=_0x43a609;_0x3eefaf[_0x26a4cb(0xe3)](_0x26a4cb(0x108),()=>{const _0x3ef907=_0x26a4cb;_0x4935bd()[_0x3ef907(0xb7)](_0x224122)[_0x3ef907(0xdb)](_0x51a8d9);});});}[_0x2fadc5(0xcc)](){const _0xeb9975=_0x2fadc5;super[_0xeb9975(0xcc)]();}async[_0x2fadc5(0xe0)](){const _0x2abf9e=_0x2fadc5;this[_0x2abf9e(0xb6)][_0x2abf9e(0xb3)]||await new Promise(_0x3a23ab=>{const _0x48e6d7=_0x2abf9e;this[_0x48e6d7(0xce)](this[_0x48e6d7(0xb6)],_0x48e6d7(0xdd),_0xf648df=>{const _0x543cb0=_0x48e6d7;_0xf648df[_0x543cb0(0xca)](),_0x3a23ab();});});}[_0x2fadc5(0xf4)](){const _0x4ce9e2=_0x2fadc5,_0x3ce580=this[_0x4ce9e2(0x9f)][_0x4ce9e2(0xd8)][_0x4ce9e2(0xf1)](_0x39ee68)[_0x4ce9e2(0xc9)][_0x4ce9e2(0xda)]()[_0x4ce9e2(0xa3)]();for(const _0x5860d2 of _0x3ce580)if(_0x4ce9e2(0xcf)!==_0x5860d2[_0x4ce9e2(0xf3)]||_0x5860d2[_0x4ce9e2(0xa1)])return _0x5860d2[_0x4ce9e2(0xee)]+0x1;}[_0x2fadc5(0xfc)](){const _0xcd96f=_0x2fadc5,_0x2af27f=this[_0xcd96f(0x9f)][_0xcd96f(0xd8)][_0xcd96f(0xf1)](_0x39ee68);return new Promise(_0xb22ff8=>{const _0x370c6f=_0xcd96f;_0x2af27f[_0x370c6f(0xcb)]?_0x2af27f[_0x370c6f(0xe3)](_0x370c6f(0xf0),()=>{const _0x471476=_0x370c6f;_0xb22ff8(this[_0x471476(0xf4)]());}):_0xb22ff8(this[_0x370c6f(0xf4)]());});}[_0x2fadc5(0x106)](_0x272ebe,_0xb0fee){const _0x7e2827=_0x2fadc5,_0x1d0030=this[_0x7e2827(0xe6)][_0x7e2827(0xa6)];this[_0x7e2827(0xc3)]=_0xb0fee;for(const _0x4ee42c of _0x272ebe){const _0x1ab247=_0x1d0030[_0x7e2827(0xfb)](_0x4ee42c['id']);if(_0x1ab247){if((_0x4ee42c[_0x7e2827(0xf9)]||_0x4ee42c[_0x7e2827(0xb8)])&&(_0x4ee42c[_0x7e2827(0x105)]=null),_0x1ab247===this[_0x7e2827(0xe6)][_0x7e2827(0xb4)]){const _0x563356=Math[_0x7e2827(0xde)](_0x1ab247[_0x7e2827(0xb8)],_0x4ee42c[_0x7e2827(0xb8)]),_0x8a6716=Math[_0x7e2827(0xde)](_0x1ab247[_0x7e2827(0xf9)],_0x4ee42c[_0x7e2827(0xf9)]);let _0x38fa04;_0x1ab247[_0x7e2827(0xb8)]===_0x4ee42c[_0x7e2827(0xb8)]&&_0x1ab247[_0x7e2827(0xf9)]===_0x4ee42c[_0x7e2827(0xf9)]?(_0x38fa04=!0x0,this[_0x7e2827(0xe2)](_0x4ee42c)):_0x4ee42c[_0x7e2827(0xb8)]===_0x563356&&_0x4ee42c[_0x7e2827(0xf9)]===_0x8a6716?_0x38fa04=!0x1:(_0x1ab247[_0x7e2827(0xb8)]===_0x563356&&_0x1ab247[_0x7e2827(0xf9)]===_0x8a6716||this[_0x7e2827(0xa0)]({'revision':_0x1ab247,'from':_0x8a6716,'to':_0x563356}),_0x38fa04=!0x0),_0x38fa04&&(delete _0x4ee42c[_0x7e2827(0xf9)],delete _0x4ee42c[_0x7e2827(0xb8)],delete _0x4ee42c[_0x7e2827(0x105)],delete _0x4ee42c[_0x7e2827(0xea)],delete _0x4ee42c[_0x7e2827(0x104)]);}this[_0x7e2827(0xe6)][_0x7e2827(0xa9)](_0x4ee42c),this[_0x7e2827(0xe2)](_0x4ee42c);}else this[_0x7e2827(0xe6)][_0x7e2827(0x9d)](_0x4ee42c);}const _0x39c71b=_0x1d0030[_0x7e2827(0xdc)]();_0x39c71b[_0x7e2827(0xa3)]();for(let _0x1e2013=0x0;_0x1e2013<_0x39c71b[_0x7e2827(0xef)]-0x1;_0x1e2013++){const _0x2c83b0=_0x39c71b[_0x1e2013],_0x32f43d=_0x39c71b[_0x1e2013+0x1];if(_0x2c83b0[_0x7e2827(0xf9)]<_0x32f43d[_0x7e2827(0xb8)]){const _0x30f102=_0x32f43d[_0x7e2827(0xb8)],_0xd11331=Math[_0x7e2827(0xde)](_0x30f102,_0x2c83b0[_0x7e2827(0xb8)]);this[_0x7e2827(0xa0)]({'revision':_0x2c83b0,'from':_0x30f102,'to':_0xd11331});}}}[_0x2fadc5(0xa0)]({revision:_0x41d74b,from:_0x54a684,to:_0x4b43cf}={}){const _0x1ed56a=_0x2fadc5,_0x24616f=this[_0x1ed56a(0x9f)][_0x1ed56a(0xd8)][_0x1ed56a(0xf1)](_0x4581a8),_0x35537f=this[_0x1ed56a(0xe6)][_0x1ed56a(0xf6)]({'revision':_0x41d74b,'from':_0x54a684,'to':_0x4b43cf});_0x35537f[_0x1ed56a(0xb0)]=_0x35537f[_0x1ed56a(0x104)][_0x1ed56a(0xf2)](_0xfb17fc=>_0x24616f[_0x1ed56a(0x9b)](_0xfb17fc)),_0x41d74b[_0x1ed56a(0xc8)](_0x35537f);}[_0x2fadc5(0xe2)](_0x539e9f){const _0x317963=_0x2fadc5,_0x338d7a={};_0x338d7a['id']=_0x539e9f['id'];for(const _0x8ba566 of Object[_0x317963(0xaf)](_0x539e9f))'id'!==_0x8ba566&&(_0x338d7a[_0x8ba566]=void 0x0);this[_0x317963(0xe6)][_0x317963(0xae)](_0x338d7a['id'],_0x338d7a,!0x0);}async[_0x2fadc5(0xc0)](_0x1f04df){const _0x1eb4e6=_0x2fadc5,_0x28935e=this[_0x1eb4e6(0x9f)][_0x1eb4e6(0xd8)][_0x1eb4e6(0xf1)](_0x4581a8),{connection:_0x2850e5}=this[_0x1eb4e6(0x9f)][_0x1eb4e6(0xd8)][_0x1eb4e6(0xf1)](_0x260481),_0x167795=new Set();for(const _0xb3b3e5 of _0x1f04df){for(const _0x2e1f2f of _0xb3b3e5[_0x1eb4e6(0x104)])_0x20bcfc(_0x2e1f2f);_0xb3b3e5[_0x1eb4e6(0x9a)]&&_0x20bcfc(_0xb3b3e5[_0x1eb4e6(0x9a)]);}if(0x0===_0x167795[_0x1eb4e6(0xa5)])return;const _0x1f48e5=await _0x22a3e5[_0x1eb4e6(0xd2)](_0x2850e5,Array[_0x1eb4e6(0xf5)](_0x167795));for(const _0xa3bb9 of _0x1f48e5)_0x28935e[_0x1eb4e6(0x9b)](_0xa3bb9['id'])||_0x28935e[_0x1eb4e6(0xa7)](_0xa3bb9);function _0x20bcfc(_0x358249){const _0x3d1364=_0x1eb4e6;_0x28935e[_0x3d1364(0x9b)](_0x358249)||_0x167795[_0x3d1364(0xc6)](_0x358249);}}}function Z(_0x13c0ee){const _0x476d0a=_0x2fadc5;return _0x13c0ee[_0x476d0a(0xff)][_0x476d0a(0x98)](_0x476d0a(0xe4))||_0x13c0ee[_0x476d0a(0xff)][_0x476d0a(0x98)](_0x476d0a(0xf7))||_0x13c0ee[_0x476d0a(0xff)][_0x476d0a(0x98)](_0x476d0a(0xe1));}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x106d92=_0x2864;(function(_0x4a6209,_0x25ff16){const _0x389d45=_0x2864,_0x33f689=_0x4a6209();while(!![]){try{const _0x4c776c=-parseInt(_0x389d45(0x21b))/0x1+-parseInt(_0x389d45(0x1f5))/0x2*(parseInt(_0x389d45(0x1f9))/0x3)+parseInt(_0x389d45(0x218))/0x4+parseInt(_0x389d45(0x20b))/0x5+-parseInt(_0x389d45(0x1f6))/0x6+-parseInt(_0x389d45(0x22e))/0x7+-parseInt(_0x389d45(0x203))/0x8*(-parseInt(_0x389d45(0x1f4))/0x9);if(_0x4c776c===_0x25ff16)break;else _0x33f689['push'](_0x33f689['shift']());}catch(_0x2da946){_0x33f689['push'](_0x33f689['shift']());}}}(_0x5653,0xaf452));import{Plugin as _0x4f3d5e}from'ckeditor5/src/core.js';function _0x2864(_0x1a7af8,_0x430141){const _0x56539a=_0x5653();return _0x2864=function(_0x28644d,_0x452746){_0x28644d=_0x28644d-0x1f4;let _0xd8579c=_0x56539a[_0x28644d];return _0xd8579c;},_0x2864(_0x1a7af8,_0x430141);}import{User as _0x489bea,TrackChangesService as _0xa51a7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x55d916}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x54d4bd}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x5b0206}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x4f3d5e{static [_0x106d92(0x22a)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0xa51a7)());[_0x106d92(0x230)];[_0x106d92(0x20c)];static get[_0x106d92(0x21f)](){const _0x31fa1c=_0x106d92;return[_0x54d4bd,_0x31fa1c(0x220),_0x55d916];}static get[_0x106d92(0x1f7)](){const _0x14d480=_0x106d92;return _0x14d480(0x20e);}static get[_0x106d92(0x21a)](){return!0x0;}static get[_0x106d92(0x222)](){return!0x0;}constructor(_0x12a670){const _0x457b08=_0x106d92;super(_0x12a670);const _0x21e18a=this[_0x457b08(0x1fe)][_0x457b08(0x20d)][_0x457b08(0x213)](_0x457b08(0x228));this[_0x457b08(0x230)]=new Map(),this[_0x457b08(0x20c)]=new CloudServicesTrackChangesAdapter[(_0x457b08(0x22a))](_0x21e18a);}[_0x106d92(0x20a)](){const _0x5a1ef4=_0x106d92,_0x340449=this[_0x5a1ef4(0x1fe)][_0x5a1ef4(0x21e)][_0x5a1ef4(0x213)](_0x55d916),_0x261587=this[_0x5a1ef4(0x1fe)][_0x5a1ef4(0x21e)][_0x5a1ef4(0x213)](_0x5a1ef4(0x220));return _0x261587[_0x5a1ef4(0x211)]={'getSuggestion':async _0x3f07bf=>{const _0x545634=_0x5a1ef4;await this[_0x545634(0x216)]();const _0x561bd0=await this[_0x545634(0x20c)][_0x545634(0x213)](_0x3f07bf)[_0x545634(0x22d)](A);return await this[_0x545634(0x209)]([_0x561bd0]),_0x561bd0;},'addSuggestion':async({id:_0x284e41,type:_0x3e4c62,data:_0x59622b,originalSuggestionId:_0x15f44e,attributes:_0x448eec})=>{const _0x544346=_0x5a1ef4;await this[_0x544346(0x216)]();const _0x4e54b8={'id':_0x284e41,'type':_0x3e4c62,'data':_0x59622b,'originalSuggestionId':_0x15f44e,'attributes':_0x448eec},_0x3924e3=await this[_0x544346(0x20c)][_0x544346(0x214)](_0x284e41,_0x3e4c62,_0x59622b,_0x15f44e,_0x448eec)[_0x544346(0x22d)](_0x307821=>{if(ot(_0x307821))return new Promise(_0x25cc18=>{const _0x565872=_0x2864;this[_0x565872(0x230)][_0x565872(0x232)](_0x284e41,{'resolve':_0x25cc18,'suggestionData':_0x4e54b8});});throw _0x307821;});return this[_0x544346(0x230)][_0x544346(0x224)](_0x284e41),_0x3924e3;},'updateSuggestion':async(_0x3c5f7c,_0x4182c2)=>{const _0x5b96d2=_0x5a1ef4;if(await this[_0x5b96d2(0x216)](),_0x5b96d2(0x207)!==_0x4182c2[_0x5b96d2(0x21c)])return this[_0x5b96d2(0x20c)][_0x5b96d2(0x219)](_0x3c5f7c,_0x4182c2)[_0x5b96d2(0x22d)](A);}},this[_0x5a1ef4(0x206)](this[_0x5a1ef4(0x20c)],_0x5a1ef4(0x1fa),(_0x403653,_0x19b17e)=>{const _0x17988b=_0x5a1ef4;_0x261587[_0x17988b(0x225)](_0x19b17e['id'])&&(_0x261587[_0x17988b(0x22b)](_0x19b17e['id'])[_0x17988b(0x210)]=_0x19b17e[_0x17988b(0x210)]);}),this[_0x5a1ef4(0x20c)][_0x5a1ef4(0x227)](_0x340449[_0x5a1ef4(0x215)])[_0x5a1ef4(0x21d)](_0xf7149c=>(_0x340449[_0x5a1ef4(0x205)](this),this[_0x5a1ef4(0x209)](_0xf7149c)[_0x5a1ef4(0x21d)](()=>{const _0x2c51fa=_0x5a1ef4;for(const _0x223b54 of _0xf7149c){_0x261587[_0x2c51fa(0x22f)](_0x223b54)[_0x2c51fa(0x22c)]=!0x0;}})));}async[_0x106d92(0x1ff)](){const _0x34844e=_0x106d92,_0x12b5ea=this[_0x34844e(0x1fe)][_0x34844e(0x21e)][_0x34844e(0x213)](_0x34844e(0x220)),{connection:_0x2913e3}=this[_0x34844e(0x1fe)][_0x34844e(0x21e)][_0x34844e(0x213)](_0x55d916),_0x5110f1=await this[_0x34844e(0x20c)][_0x34844e(0x227)](_0x2913e3);await this[_0x34844e(0x209)](_0x5110f1);for(const {suggestionData:_0x51ee56,resolve:_0x2d51ee}of this[_0x34844e(0x230)][_0x34844e(0x1fb)]()){let _0x2a948b=_0x5110f1[_0x34844e(0x226)](_0x4ee4a6=>_0x4ee4a6['id']===_0x51ee56['id']);_0x2a948b||(_0x2a948b=await this[_0x34844e(0x20c)][_0x34844e(0x214)](_0x51ee56['id'],_0x51ee56[_0x34844e(0x201)],_0x51ee56[_0x34844e(0x223)],_0x51ee56[_0x34844e(0x212)])),_0x2d51ee(_0x2a948b);}for(const _0x117076 of _0x5110f1)_0x12b5ea[_0x34844e(0x225)](_0x117076['id'])||_0x12b5ea[_0x34844e(0x22f)](_0x117076);}async[_0x106d92(0x216)](){const _0x56c645=_0x106d92;this[_0x56c645(0x20c)][_0x56c645(0x1f8)]||await new Promise(_0x572455=>{const _0x5867ea=_0x56c645;this[_0x5867ea(0x206)](this[_0x5867ea(0x20c)],_0x5867ea(0x217),_0x564926=>{const _0x3027a7=_0x5867ea;_0x564926[_0x3027a7(0x231)](),_0x572455();});});}async[_0x106d92(0x209)](_0x25cac5){const _0x2c31c4=_0x106d92,_0x2f4477=this[_0x2c31c4(0x1fe)][_0x2c31c4(0x21e)][_0x2c31c4(0x213)](_0x5b0206),{connection:_0x12a10e}=this[_0x2c31c4(0x1fe)][_0x2c31c4(0x21e)][_0x2c31c4(0x213)](_0x55d916),_0x18f6d1=new Set();for(const {authorId:_0x5a5f6d}of _0x25cac5)_0x2f4477[_0x2c31c4(0x229)](_0x5a5f6d)||_0x18f6d1[_0x2c31c4(0x214)](_0x5a5f6d);if(0x0===_0x18f6d1[_0x2c31c4(0x202)])return;const _0x24a8fd=await _0x489bea[_0x2c31c4(0x204)](_0x12a10e,Array[_0x2c31c4(0x200)](_0x18f6d1));for(const _0x4d03ae of _0x24a8fd)_0x2f4477[_0x2c31c4(0x229)](_0x4d03ae['id'])||_0x2f4477[_0x2c31c4(0x20f)](_0x4d03ae);}}function _0x5653(){const _0x4f81f7=['_bufferedRequests','off','set','27rfBtOL','76qHOfev','6277980rhYmhc','pluginName','isConnected','82695OZZqrN','suggestionUpdated','values','message','cloud-services-internal-error:\x20Not\x20connected.','editor','reconnect','from','type','size','7767264hiAotV','getMany','addToReconnectionStack','listenTo','open','startsWith','_fetchMissingUsersForThreads','init','1982350TpuArX','_trackChangesService','config','CloudServicesTrackChangesAdapter','addUser','attributes','adapter','originalSuggestionId','get','add','connection','_waitForServiceReady','connected','5542096NXgcVT','update','isOfficialPlugin','779803ewczeJ','state','then','plugins','requires','TrackChangesEditing','cloud-services-internal-error:\x20Request\x20timeout.','isPremiumPlugin','data','delete','hasSuggestion','find','connect','collaboration.channelId','getUser','TrackChangesService','getSuggestion','_saved','catch','7722463NevPTk','addSuggestionData'];_0x5653=function(){return _0x4f81f7;};return _0x5653();}function A(_0x953e89){if(ot(_0x953e89))return new Promise(()=>{});throw _0x953e89;}function ot(_0x24d582){const _0x4e3b79=_0x106d92;return _0x24d582[_0x4e3b79(0x1fc)][_0x4e3b79(0x208)](_0x4e3b79(0x1fd))||_0x24d582[_0x4e3b79(0x1fc)][_0x4e3b79(0x208)](_0x4e3b79(0x221));}
23
+ const _0x263275=_0x1ff7;(function(_0x783f86,_0xecf04){const _0x2b4125=_0x1ff7,_0x17151c=_0x783f86();while(!![]){try{const _0x55ecce=-parseInt(_0x2b4125(0x151))/0x1+-parseInt(_0x2b4125(0x161))/0x2*(-parseInt(_0x2b4125(0x164))/0x3)+-parseInt(_0x2b4125(0x171))/0x4*(-parseInt(_0x2b4125(0x152))/0x5)+parseInt(_0x2b4125(0x150))/0x6+-parseInt(_0x2b4125(0x15f))/0x7*(parseInt(_0x2b4125(0x15d))/0x8)+parseInt(_0x2b4125(0x15e))/0x9*(-parseInt(_0x2b4125(0x134))/0xa)+parseInt(_0x2b4125(0x16d))/0xb;if(_0x55ecce===_0xecf04)break;else _0x17151c['push'](_0x17151c['shift']());}catch(_0xa437a7){_0x17151c['push'](_0x17151c['shift']());}}}(_0x46e2,0xef67a));function _0x1ff7(_0x4fe6d9,_0x133fe9){const _0x46e299=_0x46e2();return _0x1ff7=function(_0x1ff7d0,_0x21845b){_0x1ff7d0=_0x1ff7d0-0x133;let _0x2230fc=_0x46e299[_0x1ff7d0];return _0x2230fc;},_0x1ff7(_0x4fe6d9,_0x133fe9);}import{Plugin as _0x5eb99c}from'ckeditor5/src/core.js';import{User as _0x4b6f69,TrackChangesService as _0x4bc0bd}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x46e2(){const _0x19f6d7=['open','11283602siHQIF','adapter','getSuggestion','catch','149972MjLdnR','attributes','size','then','363330GAZnjC','set','off','addToReconnectionStack','TrackChangesEditing','_bufferedRequests','startsWith','get','plugins','isOfficialPlugin','update','CloudServicesTrackChangesAdapter','pluginName','state','reconnect','_trackChangesService','type','delete','getUser','config','connection','listenTo','data','addUser','editor','_saved','find','isConnected','7426530giCbui','400304lQbIKw','50GarMcE','from','cloud-services-internal-error:\x20Not\x20connected.','originalSuggestionId','connect','isPremiumPlugin','TrackChangesService','add','collaboration.channelId','_fetchMissingUsersForThreads','values','7765488TcqSaH','216bkSXEO','7VVCOFo','addSuggestionData','78lCuUwG','cloud-services-internal-error:\x20Request\x20timeout.','hasSuggestion','45009MIzueQ','requires','connected','message','_waitForServiceReady','getMany','suggestionUpdated','init'];_0x46e2=function(){return _0x19f6d7;};return _0x46e2();}import{WebSocketGateway as _0xe827ab}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0xdb1733}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x45b0aa}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x5eb99c{static [_0x263275(0x158)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x4bc0bd)());[_0x263275(0x139)];[_0x263275(0x143)];static get[_0x263275(0x165)](){const _0x551a70=_0x263275;return[_0xdb1733,_0x551a70(0x138),_0xe827ab];}static get[_0x263275(0x140)](){const _0x757eeb=_0x263275;return _0x757eeb(0x13f);}static get[_0x263275(0x13d)](){return!0x0;}static get[_0x263275(0x157)](){return!0x0;}constructor(_0x5b865f){const _0x2981f3=_0x263275;super(_0x5b865f);const _0x3d2457=this[_0x2981f3(0x14c)][_0x2981f3(0x147)][_0x2981f3(0x13b)](_0x2981f3(0x15a));this[_0x2981f3(0x139)]=new Map(),this[_0x2981f3(0x143)]=new CloudServicesTrackChangesAdapter[(_0x2981f3(0x158))](_0x3d2457);}[_0x263275(0x16b)](){const _0x57a930=_0x263275,_0xbf88f4=this[_0x57a930(0x14c)][_0x57a930(0x13c)][_0x57a930(0x13b)](_0xe827ab),_0x1f8970=this[_0x57a930(0x14c)][_0x57a930(0x13c)][_0x57a930(0x13b)](_0x57a930(0x138));return _0x1f8970[_0x57a930(0x16e)]={'getSuggestion':async _0x1e43f4=>{const _0x132ea1=_0x57a930;await this[_0x132ea1(0x168)]();const _0x17e87a=await this[_0x132ea1(0x143)][_0x132ea1(0x13b)](_0x1e43f4)[_0x132ea1(0x170)](nt);return await this[_0x132ea1(0x15b)]([_0x17e87a]),_0x17e87a;},'addSuggestion':async({id:_0x4bd3a9,type:_0x4276a8,data:_0x4615f5,originalSuggestionId:_0x14a5fd,attributes:_0x192325})=>{const _0x23dbd0=_0x57a930;await this[_0x23dbd0(0x168)]();const _0x4f0fbf={'id':_0x4bd3a9,'type':_0x4276a8,'data':_0x4615f5,'originalSuggestionId':_0x14a5fd,'attributes':_0x192325},_0x47a6a3=await this[_0x23dbd0(0x143)][_0x23dbd0(0x159)](_0x4bd3a9,_0x4276a8,_0x4615f5,_0x14a5fd,_0x192325)[_0x23dbd0(0x170)](_0xfbf4ea=>{if(Z(_0xfbf4ea))return new Promise(_0x431879=>{const _0x55d65c=_0x1ff7;this[_0x55d65c(0x139)][_0x55d65c(0x135)](_0x4bd3a9,{'resolve':_0x431879,'suggestionData':_0x4f0fbf});});throw _0xfbf4ea;});return this[_0x23dbd0(0x139)][_0x23dbd0(0x145)](_0x4bd3a9),_0x47a6a3;},'updateSuggestion':async(_0x4d9dfd,_0x29fae7)=>{const _0x44dae1=_0x57a930;if(await this[_0x44dae1(0x168)](),_0x44dae1(0x16c)!==_0x29fae7[_0x44dae1(0x141)])return this[_0x44dae1(0x143)][_0x44dae1(0x13e)](_0x4d9dfd,_0x29fae7)[_0x44dae1(0x170)](nt);}},this[_0x57a930(0x149)](this[_0x57a930(0x143)],_0x57a930(0x16a),(_0x4425a4,_0xd9b32e)=>{const _0x350a88=_0x57a930;_0x1f8970[_0x350a88(0x163)](_0xd9b32e['id'])&&(_0x1f8970[_0x350a88(0x16f)](_0xd9b32e['id'])[_0x350a88(0x172)]=_0xd9b32e[_0x350a88(0x172)]);}),this[_0x57a930(0x143)][_0x57a930(0x156)](_0xbf88f4[_0x57a930(0x148)])[_0x57a930(0x133)](_0x29d484=>(_0xbf88f4[_0x57a930(0x137)](this),this[_0x57a930(0x15b)](_0x29d484)[_0x57a930(0x133)](()=>{const _0x153665=_0x57a930;for(const _0x4c0cef of _0x29d484){_0x1f8970[_0x153665(0x160)](_0x4c0cef)[_0x153665(0x14d)]=!0x0;}})));}async[_0x263275(0x142)](){const _0x2a2d97=_0x263275,_0x54a13f=this[_0x2a2d97(0x14c)][_0x2a2d97(0x13c)][_0x2a2d97(0x13b)](_0x2a2d97(0x138)),{connection:_0x2d07fb}=this[_0x2a2d97(0x14c)][_0x2a2d97(0x13c)][_0x2a2d97(0x13b)](_0xe827ab),_0x246c6b=await this[_0x2a2d97(0x143)][_0x2a2d97(0x156)](_0x2d07fb);await this[_0x2a2d97(0x15b)](_0x246c6b);for(const {suggestionData:_0x455b91,resolve:_0x525cf3}of this[_0x2a2d97(0x139)][_0x2a2d97(0x15c)]()){let _0x1e14d4=_0x246c6b[_0x2a2d97(0x14e)](_0x23146d=>_0x23146d['id']===_0x455b91['id']);_0x1e14d4||(_0x1e14d4=await this[_0x2a2d97(0x143)][_0x2a2d97(0x159)](_0x455b91['id'],_0x455b91[_0x2a2d97(0x144)],_0x455b91[_0x2a2d97(0x14a)],_0x455b91[_0x2a2d97(0x155)])),_0x525cf3(_0x1e14d4);}for(const _0x287f9c of _0x246c6b)_0x54a13f[_0x2a2d97(0x163)](_0x287f9c['id'])||_0x54a13f[_0x2a2d97(0x160)](_0x287f9c);}async[_0x263275(0x168)](){const _0x424f01=_0x263275;this[_0x424f01(0x143)][_0x424f01(0x14f)]||await new Promise(_0x3a9c3e=>{const _0x22bd99=_0x424f01;this[_0x22bd99(0x149)](this[_0x22bd99(0x143)],_0x22bd99(0x166),_0x9ea587=>{const _0xaf741b=_0x22bd99;_0x9ea587[_0xaf741b(0x136)](),_0x3a9c3e();});});}async[_0x263275(0x15b)](_0x1a0725){const _0x12f3d6=_0x263275,_0x3ae440=this[_0x12f3d6(0x14c)][_0x12f3d6(0x13c)][_0x12f3d6(0x13b)](_0x45b0aa),{connection:_0x3b5c45}=this[_0x12f3d6(0x14c)][_0x12f3d6(0x13c)][_0x12f3d6(0x13b)](_0xe827ab),_0x280f59=new Set();for(const {authorId:_0x2ea548}of _0x1a0725)_0x3ae440[_0x12f3d6(0x146)](_0x2ea548)||_0x280f59[_0x12f3d6(0x159)](_0x2ea548);if(0x0===_0x280f59[_0x12f3d6(0x173)])return;const _0x317c9d=await _0x4b6f69[_0x12f3d6(0x169)](_0x3b5c45,Array[_0x12f3d6(0x153)](_0x280f59));for(const _0x89fc39 of _0x317c9d)_0x3ae440[_0x12f3d6(0x146)](_0x89fc39['id'])||_0x3ae440[_0x12f3d6(0x14b)](_0x89fc39);}}function nt(_0x7352ee){if(Z(_0x7352ee))return new Promise(()=>{});throw _0x7352ee;}function Z(_0x5e037b){const _0x2ef7e8=_0x263275;return _0x5e037b[_0x2ef7e8(0x167)][_0x2ef7e8(0x13a)](_0x2ef7e8(0x154))||_0x5e037b[_0x2ef7e8(0x167)][_0x2ef7e8(0x13a)](_0x2ef7e8(0x162));}