@ckeditor/ckeditor5-real-time-collaboration 47.0.0-alpha.3 → 47.0.0-alpha.4

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 _0x4545d6=_0x46cd;(function(_0x3fa945,_0x3b9e7c){const _0x1c8550=_0x46cd,_0x3c36f4=_0x3fa945();while(!![]){try{const _0x1cd1c4=parseInt(_0x1c8550(0xbd))/0x1+parseInt(_0x1c8550(0xd6))/0x2+-parseInt(_0x1c8550(0xab))/0x3*(parseInt(_0x1c8550(0xcc))/0x4)+-parseInt(_0x1c8550(0xa8))/0x5*(-parseInt(_0x1c8550(0xc6))/0x6)+parseInt(_0x1c8550(0xa0))/0x7*(parseInt(_0x1c8550(0xbe))/0x8)+parseInt(_0x1c8550(0xc0))/0x9+parseInt(_0x1c8550(0xbb))/0xa*(-parseInt(_0x1c8550(0xbf))/0xb);if(_0x1cd1c4===_0x3b9e7c)break;else _0x3c36f4['push'](_0x3c36f4['shift']());}catch(_0x1bb7c1){_0x3c36f4['push'](_0x3c36f4['shift']());}}}(_0x237e,0x5d910));function _0x46cd(_0x531a4f,_0x48441d){const _0x237edf=_0x237e();return _0x46cd=function(_0x46cda3,_0x1db8e8){_0x46cda3=_0x46cda3-0xa0;let _0x71f961=_0x237edf[_0x46cda3];return _0x71f961;},_0x46cd(_0x531a4f,_0x48441d);}import{ContextPlugin as _0x770bef}from'ckeditor5/src/core.js';import{Collection as _0x374682,CKEditorError as _0x38c570}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x13cee5}from'./websocketgateway.js';import{Users as _0x1fcf1e}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x770bef{[_0x4545d6(0xb1)];[_0x4545d6(0xcf)];[_0x4545d6(0xc7)];[_0x4545d6(0xb3)];[_0x4545d6(0xad)];[_0x4545d6(0xa2)];static get[_0x4545d6(0xda)](){const _0x380b1b=_0x4545d6;return _0x380b1b(0xd7);}static get[_0x4545d6(0xde)](){return!0x0;}static get[_0x4545d6(0xd3)](){return!0x0;}static get[_0x4545d6(0xa4)](){return[_0x13cee5,_0x1fcf1e];}constructor(_0x4188bd){const _0x2ab7d8=_0x4545d6;super(_0x4188bd),this[_0x2ab7d8(0xb1)]=new Map(),this[_0x2ab7d8(0xcf)]=new Map(),this[_0x2ab7d8(0xc7)]=new _0x374682(),this[_0x2ab7d8(0xb3)]=new Map(),this[_0x2ab7d8(0xad)]=0x0,this[_0x2ab7d8(0xa2)]=this[_0x2ab7d8(0xa1)][_0x2ab7d8(0xca)][_0x2ab7d8(0xb8)](_0x1fcf1e);}[_0x4545d6(0xba)](){const _0xc8aee9=_0x4545d6,_0x1921fd=this[_0xc8aee9(0xa1)][_0xc8aee9(0xca)][_0xc8aee9(0xb8)](_0x13cee5);this[_0xc8aee9(0xb9)](_0x1921fd,_0xc8aee9(0xc3),(_0x2e4a3c,_0x28787d,_0x2292e2)=>{const _0x3d4f29=_0xc8aee9;if(_0x3d4f29(0xa3)!==_0x2292e2)this[_0x3d4f29(0xb1)][_0x3d4f29(0xa7)](_0x23be41=>_0x23be41[_0x3d4f29(0xa9)]()),this[_0x3d4f29(0xcf)][_0x3d4f29(0xa7)](_0x409855=>_0x409855[_0x3d4f29(0xa9)]()),this[_0x3d4f29(0xc7)][_0x3d4f29(0xa9)]();else{for(const [_0xbe55ae,_0x378024]of this[_0x3d4f29(0xb3)])for(const _0x390190 of _0x378024)this[_0x3d4f29(0xdb)](_0xbe55ae,_0x390190);}}),this[_0xc8aee9(0xac)](_0x1921fd[_0xc8aee9(0xa5)]['me'],!0x0);}[_0x4545d6(0xb0)](_0x131110,_0x1bbbcc){const _0x35e2f7=_0x4545d6;if(this[_0x35e2f7(0xb3)][_0x35e2f7(0xaa)](_0x131110))throw new _0x38c570(_0x35e2f7(0xd8),null,{'channelId':_0x131110});this[_0x35e2f7(0xb3)][_0x35e2f7(0xdf)](_0x131110,_0x1bbbcc),this[_0x35e2f7(0xb1)][_0x35e2f7(0xdf)](_0x131110,new _0x374682()),this[_0x35e2f7(0xcf)][_0x35e2f7(0xdf)](_0x131110,new _0x374682()),this[_0x35e2f7(0xb9)](_0x1bbbcc,_0x35e2f7(0xbc),(_0x1a1c3d,_0x1355d6)=>this[_0x35e2f7(0xdb)](_0x131110,_0x1355d6)),this[_0x35e2f7(0xb9)](_0x1bbbcc,_0x35e2f7(0xd4),(_0x47522e,_0x50767d)=>this[_0x35e2f7(0xb2)](_0x131110,_0x50767d));for(const _0x49211d of _0x1bbbcc)this[_0x35e2f7(0xdb)](_0x131110,_0x49211d);}[_0x4545d6(0xb4)](_0x10db9e){const _0x3e9128=_0x4545d6;if(!this[_0x3e9128(0xb3)][_0x3e9128(0xaa)](_0x10db9e))throw new _0x38c570(_0x3e9128(0xcd),null,{'channelId':_0x10db9e});const _0x4d281d=this[_0x3e9128(0xb3)][_0x3e9128(0xb8)](_0x10db9e);this[_0x3e9128(0xd2)](_0x4d281d);for(const _0x1278d6 of _0x4d281d)_0x3e9128(0xa3)===this[_0x3e9128(0xa1)][_0x3e9128(0xca)][_0x3e9128(0xb8)](_0x13cee5)[_0x3e9128(0xc2)]&&this[_0x3e9128(0xb2)](_0x10db9e,_0x1278d6);this[_0x3e9128(0xb3)][_0x3e9128(0xd0)](_0x10db9e),this[_0x3e9128(0xb1)][_0x3e9128(0xd0)](_0x10db9e),this[_0x3e9128(0xcf)][_0x3e9128(0xd0)](_0x10db9e);}get[_0x4545d6(0xaf)](){const _0x2e5319=_0x4545d6;return this[_0x2e5319(0xa1)][_0x2e5319(0xca)][_0x2e5319(0xb8)](_0x13cee5)[_0x2e5319(0xa5)][_0x2e5319(0xc4)];}[_0x4545d6(0xd5)](_0x3c0bb1){const _0x13f71e=_0x4545d6;for(const _0x493192 of this[_0x13f71e(0xb1)][_0x13f71e(0xb6)]())for(const _0x396c7b of _0x493192)if(_0x396c7b['id']===_0x3c0bb1)return _0x396c7b[_0x13f71e(0xb5)];}[_0x4545d6(0xae)](_0x2a30eb,_0x4a89e3){const _0x554cde=_0x4545d6,_0x4994ab=_0x4a89e3?[this[_0x554cde(0xb1)][_0x554cde(0xb8)](_0x4a89e3)]:this[_0x554cde(0xb1)][_0x554cde(0xb6)](),_0x3bcaf5=new Set();for(const _0xd70c80 of _0x4994ab)for(const _0x3e5183 of _0xd70c80)_0x3e5183[_0x554cde(0xb5)]['id']===_0x2a30eb['id']&&_0x3bcaf5[_0x554cde(0xbc)](_0x3e5183['id']);return _0x3bcaf5;}[_0x4545d6(0xc5)](_0x18c7e7){const _0x1f894a=_0x4545d6;for(const _0x2459db of this[_0x1f894a(0xb1)][_0x1f894a(0xb6)]())for(const _0x4bf4f7 of _0x2459db)if(_0x4bf4f7[_0x1f894a(0xb5)]===_0x18c7e7)return _0x4bf4f7[_0x1f894a(0xcb)];}[_0x4545d6(0xdb)](_0x4c0611,_0x76e65e){const _0x456a8d=_0x4545d6;if(_0x456a8d(0xa3)!==this[_0x456a8d(0xa1)][_0x456a8d(0xca)][_0x456a8d(0xb8)](_0x13cee5)[_0x456a8d(0xc2)])return;const _0x4d35d2=_0x76e65e[_0x456a8d(0xb5)],_0x346d1f=this[_0x456a8d(0xa2)][_0x456a8d(0xdd)](_0x4d35d2['id'])||this[_0x456a8d(0xac)](_0x4d35d2),_0x16b86f=Object[_0x456a8d(0xd9)]({},_0x76e65e,{'user':_0x346d1f});if(this[_0x456a8d(0xb1)][_0x456a8d(0xb8)](_0x4c0611)[_0x456a8d(0xbc)](_0x16b86f),!_0x4d35d2[_0x456a8d(0xd1)]){const _0x4a0cf7=this[_0x456a8d(0xcf)][_0x456a8d(0xb8)](_0x4c0611);_0x4a0cf7[_0x456a8d(0xaa)](_0x346d1f['id'])||_0x4a0cf7[_0x456a8d(0xbc)](_0x346d1f),this[_0x456a8d(0xc7)][_0x456a8d(0xaa)](_0x346d1f['id'])||_0x4d35d2[_0x456a8d(0xd1)]||this[_0x456a8d(0xc7)][_0x456a8d(0xbc)](_0x346d1f,_0x346d1f[_0x456a8d(0xdc)]?0x0:void 0x0);}this[_0x456a8d(0xc9)](_0x456a8d(0xc1)+_0x4c0611,{'channelId':_0x4c0611,'session':_0x16b86f});}[_0x4545d6(0xb2)](_0x1595c2,_0x475b66){const _0x84b516=_0x4545d6;if(_0x84b516(0xa3)!==this[_0x84b516(0xa1)][_0x84b516(0xca)][_0x84b516(0xb8)](_0x13cee5)[_0x84b516(0xc2)])return;const _0xc3a9b9=this[_0x84b516(0xcf)][_0x84b516(0xb8)](_0x1595c2),_0x56e55d=_0x475b66[_0x84b516(0xb5)];_0x56e55d['id']&&(this[_0x84b516(0xb1)][_0x84b516(0xb8)](_0x1595c2)[_0x84b516(0xd4)](_0x475b66['id']),_0xc3a9b9[_0x84b516(0xaa)](_0x56e55d['id'])&&!this[_0x84b516(0xae)](_0x56e55d,_0x1595c2)[_0x84b516(0xce)]&&_0xc3a9b9[_0x84b516(0xd4)](_0x56e55d['id']),this[_0x84b516(0xc7)][_0x84b516(0xb8)](_0x56e55d['id'])&&!this[_0x84b516(0xae)](_0x56e55d)[_0x84b516(0xce)]&&this[_0x84b516(0xc7)][_0x84b516(0xd4)](_0x56e55d['id']));}[_0x4545d6(0xac)](_0x7f375c,_0x4ecd56){const _0x251d44=_0x4545d6,_0x4e87d0=this[_0x251d44(0xa2)][_0x251d44(0xa6)](_0x7f375c);return _0x4ecd56&&this[_0x251d44(0xa2)][_0x251d44(0xc8)](_0x7f375c['id']),_0x4e87d0[_0x251d44(0xb7)]=this[_0x251d44(0xad)]++,_0x4e87d0;}}function _0x237e(){const _0x1be50b=['isPremiumPlugin','remove','getUserBySessionId','1462062RQyGmH','Sessions','sessions-register-already-registered','assign','pluginName','_handleSessionAdd','isMe','getUser','isOfficialPlugin','set','203EqtlxH','context','_users','connected','requires','connection','addUser','forEach','15lbithO','clear','has','3039kXOUVb','_createUser','_uniqueUsersCount','getUserSessions','mySessionId','register','channelSessions','_handleSessionRemove','_registeredSessions','unregister','user','values','orderNumber','get','listenTo','init','32210dZdmLY','add','260896JNxfyw','93400WALxju','4873QjgPED','5279886rwsDhB','sessionAdd:','state','change:state','sessionId','getUserRole','27084Cjmvoc','allConnectedUsers','defineMe','fire','plugins','role','476neUjNq','sessions-unregister-not-exist','size','channelConnectedUsers','delete','hiddenInPresenceList','stopListening'];_0x237e=function(){return _0x1be50b;};return _0x237e();}
23
+ function _0x18ef(_0x65c2c0,_0x10aaf5){const _0xd7e3d=_0xd7e3();return _0x18ef=function(_0x18efe9,_0xeebcc8){_0x18efe9=_0x18efe9-0x163;let _0x1a7519=_0xd7e3d[_0x18efe9];return _0x1a7519;},_0x18ef(_0x65c2c0,_0x10aaf5);}const _0x5ddd29=_0x18ef;(function(_0x4dbf4c,_0x2a5440){const _0xb77484=_0x18ef,_0x520eb7=_0x4dbf4c();while(!![]){try{const _0x2f1eea=parseInt(_0xb77484(0x17f))/0x1+parseInt(_0xb77484(0x187))/0x2+-parseInt(_0xb77484(0x197))/0x3*(-parseInt(_0xb77484(0x19a))/0x4)+parseInt(_0xb77484(0x175))/0x5+parseInt(_0xb77484(0x16d))/0x6*(parseInt(_0xb77484(0x17e))/0x7)+-parseInt(_0xb77484(0x195))/0x8*(parseInt(_0xb77484(0x17a))/0x9)+-parseInt(_0xb77484(0x174))/0xa;if(_0x2f1eea===_0x2a5440)break;else _0x520eb7['push'](_0x520eb7['shift']());}catch(_0x50bb00){_0x520eb7['push'](_0x520eb7['shift']());}}}(_0xd7e3,0x92690));import{ContextPlugin as _0x403fee}from'ckeditor5/src/core.js';import{Collection as _0x52373a,CKEditorError as _0x475819}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x342bd5}from'./websocketgateway.js';function _0xd7e3(){const _0x196298=['mySessionId','connected','getUserBySessionId','sessions-unregister-not-exist','_handleSessionAdd','delete','sessionAdd:','_uniqueUsersCount','stopListening','state','Sessions','5748yTssGb','_createUser','set','isOfficialPlugin','add','user','change:state','25062510kcGCWO','4206875jNnXNP','sessions-register-already-registered','requires','plugins','clear','107631fMNoRD','allConnectedUsers','register','channelConnectedUsers','7322ZKZzPR','1195572hYjhfK','getUserSessions','hiddenInPresenceList','getUser','addUser','isMe','getUserRole','size','792784lIwYvM','context','fire','values','_handleSessionRemove','role','has','_registeredSessions','defineMe','isPremiumPlugin','_users','connection','remove','listenTo','376iEMxmo','pluginName','1371jcgiDk','init','forEach','2036NlIrmk','unregister','get','assign','sessionId','orderNumber','channelSessions'];_0xd7e3=function(){return _0x196298;};return _0xd7e3();}import{Users as _0x44e4f6}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x403fee{[_0x5ddd29(0x1a0)];[_0x5ddd29(0x17d)];[_0x5ddd29(0x17b)];[_0x5ddd29(0x18e)];[_0x5ddd29(0x169)];[_0x5ddd29(0x191)];static get[_0x5ddd29(0x196)](){const _0x41d851=_0x5ddd29;return _0x41d851(0x16c);}static get[_0x5ddd29(0x170)](){return!0x0;}static get[_0x5ddd29(0x190)](){return!0x0;}static get[_0x5ddd29(0x177)](){return[_0x342bd5,_0x44e4f6];}constructor(_0x52fe7d){const _0x2eb68e=_0x5ddd29;super(_0x52fe7d),this[_0x2eb68e(0x1a0)]=new Map(),this[_0x2eb68e(0x17d)]=new Map(),this[_0x2eb68e(0x17b)]=new _0x52373a(),this[_0x2eb68e(0x18e)]=new Map(),this[_0x2eb68e(0x169)]=0x0,this[_0x2eb68e(0x191)]=this[_0x2eb68e(0x188)][_0x2eb68e(0x178)][_0x2eb68e(0x19c)](_0x44e4f6);}[_0x5ddd29(0x198)](){const _0x40e84e=_0x5ddd29,_0x3324c7=this[_0x40e84e(0x188)][_0x40e84e(0x178)][_0x40e84e(0x19c)](_0x342bd5);this[_0x40e84e(0x194)](_0x3324c7,_0x40e84e(0x173),(_0x4e6443,_0x4229fd,_0x139e7f)=>{const _0x183607=_0x40e84e;if(_0x183607(0x163)!==_0x139e7f)this[_0x183607(0x1a0)][_0x183607(0x199)](_0x2a508f=>_0x2a508f[_0x183607(0x179)]()),this[_0x183607(0x17d)][_0x183607(0x199)](_0x3e493a=>_0x3e493a[_0x183607(0x179)]()),this[_0x183607(0x17b)][_0x183607(0x179)]();else{for(const [_0x5d96d3,_0x42dcbc]of this[_0x183607(0x18e)])for(const _0xac1cfb of _0x42dcbc)this[_0x183607(0x166)](_0x5d96d3,_0xac1cfb);}}),this[_0x40e84e(0x16e)](_0x3324c7[_0x40e84e(0x192)]['me'],!0x0);}[_0x5ddd29(0x17c)](_0x2f8ee2,_0x235148){const _0x6d33f8=_0x5ddd29;if(this[_0x6d33f8(0x18e)][_0x6d33f8(0x18d)](_0x2f8ee2))throw new _0x475819(_0x6d33f8(0x176),null,{'channelId':_0x2f8ee2});this[_0x6d33f8(0x18e)][_0x6d33f8(0x16f)](_0x2f8ee2,_0x235148),this[_0x6d33f8(0x1a0)][_0x6d33f8(0x16f)](_0x2f8ee2,new _0x52373a()),this[_0x6d33f8(0x17d)][_0x6d33f8(0x16f)](_0x2f8ee2,new _0x52373a()),this[_0x6d33f8(0x194)](_0x235148,_0x6d33f8(0x171),(_0x180dee,_0x810b1e)=>this[_0x6d33f8(0x166)](_0x2f8ee2,_0x810b1e)),this[_0x6d33f8(0x194)](_0x235148,_0x6d33f8(0x193),(_0x51a22b,_0x43bc10)=>this[_0x6d33f8(0x18b)](_0x2f8ee2,_0x43bc10));for(const _0x311a6e of _0x235148)this[_0x6d33f8(0x166)](_0x2f8ee2,_0x311a6e);}[_0x5ddd29(0x19b)](_0x2806ac){const _0x14bc1d=_0x5ddd29;if(!this[_0x14bc1d(0x18e)][_0x14bc1d(0x18d)](_0x2806ac))throw new _0x475819(_0x14bc1d(0x165),null,{'channelId':_0x2806ac});const _0x4978af=this[_0x14bc1d(0x18e)][_0x14bc1d(0x19c)](_0x2806ac);this[_0x14bc1d(0x16a)](_0x4978af);for(const _0xf3ee2b of _0x4978af)_0x14bc1d(0x163)===this[_0x14bc1d(0x188)][_0x14bc1d(0x178)][_0x14bc1d(0x19c)](_0x342bd5)[_0x14bc1d(0x16b)]&&this[_0x14bc1d(0x18b)](_0x2806ac,_0xf3ee2b);this[_0x14bc1d(0x18e)][_0x14bc1d(0x167)](_0x2806ac),this[_0x14bc1d(0x1a0)][_0x14bc1d(0x167)](_0x2806ac),this[_0x14bc1d(0x17d)][_0x14bc1d(0x167)](_0x2806ac);}get[_0x5ddd29(0x1a1)](){const _0x1b285a=_0x5ddd29;return this[_0x1b285a(0x188)][_0x1b285a(0x178)][_0x1b285a(0x19c)](_0x342bd5)[_0x1b285a(0x192)][_0x1b285a(0x19e)];}[_0x5ddd29(0x164)](_0x10a075){const _0x42e521=_0x5ddd29;for(const _0x277829 of this[_0x42e521(0x1a0)][_0x42e521(0x18a)]())for(const _0x3b6cc9 of _0x277829)if(_0x3b6cc9['id']===_0x10a075)return _0x3b6cc9[_0x42e521(0x172)];}[_0x5ddd29(0x180)](_0x4bae35,_0x3a1d6f){const _0x3b2b31=_0x5ddd29,_0x4609d4=_0x3a1d6f?[this[_0x3b2b31(0x1a0)][_0x3b2b31(0x19c)](_0x3a1d6f)]:this[_0x3b2b31(0x1a0)][_0x3b2b31(0x18a)](),_0x36b16d=new Set();for(const _0x1080cd of _0x4609d4)for(const _0x1e523c of _0x1080cd)_0x1e523c[_0x3b2b31(0x172)]['id']===_0x4bae35['id']&&_0x36b16d[_0x3b2b31(0x171)](_0x1e523c['id']);return _0x36b16d;}[_0x5ddd29(0x185)](_0x190ed7){const _0x2e0e7a=_0x5ddd29;for(const _0x5d3063 of this[_0x2e0e7a(0x1a0)][_0x2e0e7a(0x18a)]())for(const _0x533a65 of _0x5d3063)if(_0x533a65[_0x2e0e7a(0x172)]===_0x190ed7)return _0x533a65[_0x2e0e7a(0x18c)];}[_0x5ddd29(0x166)](_0x117fdd,_0x592cb4){const _0x38e61f=_0x5ddd29;if(_0x38e61f(0x163)!==this[_0x38e61f(0x188)][_0x38e61f(0x178)][_0x38e61f(0x19c)](_0x342bd5)[_0x38e61f(0x16b)])return;const _0x5ee20d=_0x592cb4[_0x38e61f(0x172)],_0x3c8bf9=this[_0x38e61f(0x191)][_0x38e61f(0x182)](_0x5ee20d['id'])||this[_0x38e61f(0x16e)](_0x5ee20d),_0x2eeef2=Object[_0x38e61f(0x19d)]({},_0x592cb4,{'user':_0x3c8bf9});if(this[_0x38e61f(0x1a0)][_0x38e61f(0x19c)](_0x117fdd)[_0x38e61f(0x171)](_0x2eeef2),!_0x5ee20d[_0x38e61f(0x181)]){const _0x1a77f3=this[_0x38e61f(0x17d)][_0x38e61f(0x19c)](_0x117fdd);_0x1a77f3[_0x38e61f(0x18d)](_0x3c8bf9['id'])||_0x1a77f3[_0x38e61f(0x171)](_0x3c8bf9),this[_0x38e61f(0x17b)][_0x38e61f(0x18d)](_0x3c8bf9['id'])||_0x5ee20d[_0x38e61f(0x181)]||this[_0x38e61f(0x17b)][_0x38e61f(0x171)](_0x3c8bf9,_0x3c8bf9[_0x38e61f(0x184)]?0x0:void 0x0);}this[_0x38e61f(0x189)](_0x38e61f(0x168)+_0x117fdd,{'channelId':_0x117fdd,'session':_0x2eeef2});}[_0x5ddd29(0x18b)](_0x53c094,_0x3fd7d9){const _0x5aad69=_0x5ddd29;if(_0x5aad69(0x163)!==this[_0x5aad69(0x188)][_0x5aad69(0x178)][_0x5aad69(0x19c)](_0x342bd5)[_0x5aad69(0x16b)])return;const _0x30af0a=this[_0x5aad69(0x17d)][_0x5aad69(0x19c)](_0x53c094),_0x310aa0=_0x3fd7d9[_0x5aad69(0x172)];_0x310aa0['id']&&(this[_0x5aad69(0x1a0)][_0x5aad69(0x19c)](_0x53c094)[_0x5aad69(0x193)](_0x3fd7d9['id']),_0x30af0a[_0x5aad69(0x18d)](_0x310aa0['id'])&&!this[_0x5aad69(0x180)](_0x310aa0,_0x53c094)[_0x5aad69(0x186)]&&_0x30af0a[_0x5aad69(0x193)](_0x310aa0['id']),this[_0x5aad69(0x17b)][_0x5aad69(0x19c)](_0x310aa0['id'])&&!this[_0x5aad69(0x180)](_0x310aa0)[_0x5aad69(0x186)]&&this[_0x5aad69(0x17b)][_0x5aad69(0x193)](_0x310aa0['id']));}[_0x5ddd29(0x16e)](_0x20276e,_0x3eb88d){const _0x8d13a8=_0x5ddd29,_0x4863e3=this[_0x8d13a8(0x191)][_0x8d13a8(0x183)](_0x20276e);return _0x3eb88d&&this[_0x8d13a8(0x191)][_0x8d13a8(0x18f)](_0x20276e['id']),_0x4863e3[_0x8d13a8(0x19f)]=this[_0x8d13a8(0x169)]++,_0x4863e3;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x95c950=_0x5e75;(function(_0x502a07,_0x5c8025){const _0x314f39=_0x5e75,_0x3cc3c2=_0x502a07();while(!![]){try{const _0x427a1d=parseInt(_0x314f39(0x1d3))/0x1+-parseInt(_0x314f39(0x21c))/0x2+-parseInt(_0x314f39(0x1d9))/0x3+parseInt(_0x314f39(0x228))/0x4*(-parseInt(_0x314f39(0x1db))/0x5)+-parseInt(_0x314f39(0x1fd))/0x6*(parseInt(_0x314f39(0x216))/0x7)+parseInt(_0x314f39(0x1e5))/0x8+parseInt(_0x314f39(0x202))/0x9*(parseInt(_0x314f39(0x240))/0xa);if(_0x427a1d===_0x5c8025)break;else _0x3cc3c2['push'](_0x3cc3c2['shift']());}catch(_0x54d71c){_0x3cc3c2['push'](_0x3cc3c2['shift']());}}}(_0x338a,0x92ca3));import{Plugin as _0x51a560}from'ckeditor5/src/core.js';function _0x338a(){const _0x417708=['stopListening','conversion','getMarkerClass','name','user:position:','ck-user__marker-tooltip','listenTo','ck-user__selection','false','update:user:range','50pnPwhR','editor','element','Escape','user:','clear','contenteditable','_createdBatches','startsWith','document','start','applyOperation','isOfficialPlugin','getRange','isInline','schema','newRange','tableCell','getPositions','markerToElement','isDocumentOperation','type','set','addEventListener','createElement','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','afterInit','fromRange','updateMarker','getNearestSelectionRange','431789ZYQLEW','markerRange','pluginName','nodeAfter','hasDomSelection','innerHTML','1583559QLVuXP','markerName','1940byVqOv','markerNameToElements','rootName','plugins','ck-user__marker_hovered','getFirstRange','setAttribute','color','end','data-session-id','891584gYvAnw','createUserMarkerOperations','ck-user__marker\x20','model','createUIElement','get','marker','requires','UserMarkers','selection','editingDowncast','removeClass','isPremiumPlugin','batch','split','isLimit','orderNumber','$graveyard','textContent','mapper','destroy','render','highest','mouseenter','213204rAdNEE','user:position','mouseleave','add','getSelectionClass','5253021qWKKin','oldRange','for','detach','isCollapsed','markers','markerToHighlight','mySessionId','toRange','has','init','$text','change','span','user:range','getAttribute','parent','getStart','root','isSimilar','182MkiFvk','commands','isObject','createRange','outerHTML','view','1799076MGTMif','enqueueChange','_domEmitter','remove','userPositionMarker','setCustomProperty','addMarker','delete','toDomElement','undo','change:range','spellcheck','5248yUgaJC','removeMarker','getUserBySessionId','editing','reconvertMarker','keydown','getContainedElement','size','getCustomProperty','checkChild','deletionPosition','classList','hasContent','user:range:'];_0x338a=function(){return _0x417708;};return _0x338a();}import{global as _0x471483,DomEmitterMixin as _0x33462d}from'ckeditor5/src/utils.js';import{Sessions as _0x1e2986}from'./sessions.js';import{ModelLiveRange as _0x172544}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x51a560{[_0x95c950(0x21e)]=new(_0x33462d())();static get[_0x95c950(0x1ec)](){return[_0x1e2986];}static get[_0x95c950(0x1d5)](){const _0x1b558d=_0x95c950;return _0x1b558d(0x1ed);}static get[_0x95c950(0x24c)](){return!0x0;}static get[_0x95c950(0x1f1)](){return!0x0;}[_0x95c950(0x20c)](){const _0x13795c=_0x95c950,_0x1d2710=this[_0x13795c(0x241)],_0x249f30=_0x1d2710[_0x13795c(0x1de)][_0x13795c(0x1ea)](_0x1e2986);_0x1d2710[_0x13795c(0x237)][_0x13795c(0x204)](_0x13795c(0x1ef))[_0x13795c(0x253)]({'model':_0x13795c(0x1fe),'view':(_0xc458e8,{writer:_0x29b81f})=>function(_0xd9439a,_0xa50a49,_0x356641,_0x2f88ed){const _0x19d74b=_0x13795c,_0x1b9060=_0xd9439a[_0x19d74b(0x1da)][_0x19d74b(0x1f3)](':')[0x2],_0xc173f=_0x356641[_0x19d74b(0x22a)](_0x1b9060);if(!_0xc173f||_0x1b9060===_0x356641[_0x19d74b(0x209)])return;if(!_0x2f88ed[_0x19d74b(0x1e8)][_0x19d74b(0x24f)][_0x19d74b(0x231)](_0xd9439a[_0x19d74b(0x1d4)][_0x19d74b(0x24a)],_0x19d74b(0x20d)))return;const _0x451666={'class':_0x19d74b(0x1e7)+_0xc173f[_0x19d74b(0x1e2)][_0x19d74b(0x238)](),'data-name':_0xc173f[_0x19d74b(0x239)],'data-session-id':_0x1b9060},_0x2443c5=_0x2f88ed[_0x19d74b(0x1e8)][_0x19d74b(0x207)][_0x19d74b(0x1ea)](_0xd9439a[_0x19d74b(0x1da)]),_0x4806ea=_0x2443c5[_0x19d74b(0x213)](),_0x47e4ab=_0x4806ea[_0x19d74b(0x1d6)],_0x102403=_0x2f88ed[_0x19d74b(0x1e8)][_0x19d74b(0x24f)];if(_0x47e4ab&&_0x102403[_0x19d74b(0x218)](_0x47e4ab)&&_0x102403[_0x19d74b(0x24e)](_0x47e4ab)&&!_0x2f88ed[_0x19d74b(0x1e8)][_0x19d74b(0x207)][_0x19d74b(0x1ea)](_0x19d74b(0x235)+_0x1b9060)[_0x19d74b(0x24d)]()[_0x19d74b(0x206)])return;const _0x374f35=_0x4806ea[_0x19d74b(0x212)];return _0x2f88ed[_0x19d74b(0x1e8)][_0x19d74b(0x24f)][_0x19d74b(0x1f4)](_0x374f35)&&!_0x2f88ed[_0x19d74b(0x1e8)][_0x19d74b(0x234)](_0x374f35)&&(_0x451666[_0x19d74b(0x246)]=!0x1),function(_0xebaf67,_0x3256c0,_0x140775){const _0x58dfa6=_0x19d74b,_0x1ef141=_0xebaf67[_0x58dfa6(0x1e9)](_0x58dfa6(0x20f),_0x3256c0);return _0xebaf67[_0x58dfa6(0x221)](_0x58dfa6(0x220),!0x0,_0x1ef141),_0x1ef141[_0x58dfa6(0x1fa)]=function(_0x302295){const _0x133b76=_0x58dfa6,_0x19e2a8=this[_0x133b76(0x224)](_0x302295),_0x362bfa=document[_0x133b76(0x1cd)](_0x133b76(0x20f));return _0x362bfa[_0x133b76(0x233)][_0x133b76(0x200)](_0x133b76(0x23b)),_0x362bfa[_0x133b76(0x1e1)](_0x133b76(0x246),_0x133b76(0x23e)),_0x362bfa[_0x133b76(0x1e1)](_0x133b76(0x227),_0x133b76(0x23e)),_0x362bfa[_0x133b76(0x1f7)]=_0x140775[_0x133b76(0x239)],_0x19e2a8[_0x133b76(0x1d8)]=_0x133b76(0x1ce)+_0x362bfa[_0x133b76(0x21a)]+'⁠',_0x19e2a8[_0x133b76(0x1cc)](_0x133b76(0x1fc),()=>{const _0x444d56=_0x133b76;_0x19e2a8[_0x444d56(0x233)][_0x444d56(0x200)](_0x444d56(0x1df));}),_0x19e2a8[_0x133b76(0x1cc)](_0x133b76(0x1ff),()=>{const _0x3340e6=_0x133b76;_0x19e2a8[_0x3340e6(0x233)][_0x3340e6(0x21f)](_0x3340e6(0x1df));}),_0x19e2a8;},_0x1ef141[_0x58dfa6(0x215)]=function(_0xef0e07){const _0x203cfe=_0x58dfa6;return!(!this[_0x203cfe(0x230)](_0x203cfe(0x220))||!_0xef0e07[_0x203cfe(0x230)](_0x203cfe(0x220))||this[_0x203cfe(0x211)](_0x203cfe(0x1e4))!=_0xef0e07[_0x203cfe(0x211)](_0x203cfe(0x1e4)));},_0x1ef141;}(_0xa50a49,_0x451666,_0xc173f);}(_0xc458e8,_0x29b81f,_0x249f30,_0x1d2710)}),_0x1d2710[_0x13795c(0x237)][_0x13795c(0x204)](_0x13795c(0x1ef))[_0x13795c(0x208)]({'model':_0x13795c(0x210),'view':_0x2e1290=>function(_0x25c52b,_0x50d0b1){const _0x51b88e=_0x13795c,_0xd6810d=_0x25c52b[_0x51b88e(0x1da)][_0x51b88e(0x1f3)](':')[0x2];if(_0xd6810d===_0x50d0b1[_0x51b88e(0x209)])return null;const _0x1aefdb=_0x50d0b1[_0x51b88e(0x22a)](_0xd6810d);if(!_0x1aefdb)return{'id':_0xd6810d,'classes':[]};return{'id':_0xd6810d,'classes':[_0x51b88e(0x23d),_0x1aefdb[_0x51b88e(0x1e2)][_0x51b88e(0x201)]()],'attributes':{'data-session-id':_0xd6810d},'priority':0x7d0+_0x1aefdb[_0x51b88e(0x1f5)]};}(_0x2e1290,_0x249f30)}),function(_0x301664){const _0x168adc=_0x13795c,_0x449272=_0x301664[_0x168adc(0x1e8)],_0x44822c=new Map(),_0x2d5006=_0x301664[_0x168adc(0x1de)][_0x168adc(0x1ea)](_0x1e2986);_0x449272[_0x168adc(0x207)]['on'](_0x168adc(0x23f),(_0x2ae8be,_0x5dc6b3,_0x24c9b7,_0x58d89b)=>{const _0x276480=_0x168adc;if(!_0x58d89b&&_0x44822c[_0x276480(0x1ea)](_0x5dc6b3[_0x276480(0x239)]))return _0x44822c[_0x276480(0x1ea)](_0x5dc6b3[_0x276480(0x239)])[_0x276480(0x205)](),void _0x44822c[_0x276480(0x223)](_0x5dc6b3[_0x276480(0x239)]);const _0x4d5439=_0x5dc6b3[_0x276480(0x239)][_0x276480(0x1f3)](':')[0x2];if(_0x4d5439===_0x2d5006[_0x276480(0x209)])return;const _0x32eff2=_0x276480(0x23a)+_0x4d5439;_0x449272[_0x276480(0x207)][_0x276480(0x20b)](_0x32eff2)&&_0x301664[_0x276480(0x22b)][_0x276480(0x22c)](_0x32eff2),_0x5dc6b3['on'](_0x276480(0x226),(_0x25cf65,_0x45e77b,_0x108ae1)=>{const _0x19f142=_0x276480;if(_0x19f142(0x1f6)!=_0x45e77b[_0x19f142(0x214)][_0x19f142(0x1dd)]&&_0x19f142(0x1f6)==_0x5dc6b3[_0x19f142(0x24d)]()[_0x19f142(0x214)][_0x19f142(0x1dd)]&&!_0x44822c[_0x19f142(0x20b)](_0x5dc6b3[_0x19f142(0x239)])){const _0x48183f=_0x449272[_0x19f142(0x24f)][_0x19f142(0x1d2)](_0x108ae1[_0x19f142(0x232)]);if(_0x48183f){const _0x36b615=_0x172544[_0x19f142(0x1d0)](_0x48183f);_0x44822c[_0x19f142(0x1cb)](_0x5dc6b3[_0x19f142(0x239)],_0x36b615),_0x36b615['on'](_0x19f142(0x226),(_0x220cb0,_0x262380,_0x2d3ad7)=>{const _0x5ce1a8=_0x19f142;if(_0x5ce1a8(0x1f6)==_0x36b615[_0x5ce1a8(0x214)][_0x5ce1a8(0x1dd)]){const _0x2cf68d=_0x449272[_0x5ce1a8(0x24f)][_0x5ce1a8(0x1d2)](_0x2d3ad7[_0x5ce1a8(0x232)]);_0x2cf68d?(_0x36b615[_0x5ce1a8(0x24a)]=_0x2cf68d[_0x5ce1a8(0x24a)],_0x36b615[_0x5ce1a8(0x1e3)]=_0x2cf68d[_0x5ce1a8(0x1e3)]):(_0x44822c[_0x5ce1a8(0x223)](_0x5dc6b3[_0x5ce1a8(0x239)]),_0x36b615[_0x5ce1a8(0x205)]());}});}}});}),_0x449272[_0x168adc(0x249)]['on'](_0x168adc(0x20e),()=>{const _0xeb9a9a=_0x168adc;_0x44822c[_0xeb9a9a(0x22f)]>0x0&&_0x449272[_0xeb9a9a(0x21d)]({'isUndoable':!0x1},_0x117119=>{const _0x33a869=_0xeb9a9a;for(const [_0x101815,_0x559ccf]of _0x44822c)_0x33a869(0x1f6)==_0x449272[_0x33a869(0x207)][_0x33a869(0x1ea)](_0x101815)[_0x33a869(0x24d)]()[_0x33a869(0x214)][_0x33a869(0x1dd)]&&(Z(_0x101815[_0x33a869(0x1f3)](':')[0x2],_0x559ccf[_0x33a869(0x20a)](),_0x449272,_0x117119),_0x559ccf[_0x33a869(0x205)]());_0x44822c[_0x33a869(0x245)]();});});}(_0x1d2710),this[_0x13795c(0x21e)][_0x13795c(0x23c)](_0x471483[_0x13795c(0x249)],_0x13795c(0x22d),(_0x6076f6,{key:_0xe9bba})=>{const _0x1d9591=_0x13795c;_0x1d9591(0x243)===_0xe9bba&&function(_0x35f556){const _0x8f635a=_0x1d9591;_0x35f556[_0x8f635a(0x22b)][_0x8f635a(0x21b)][_0x8f635a(0x20e)](_0x538b25=>{const _0x47e5db=_0x8f635a;for(const _0x472755 of _0x35f556[_0x47e5db(0x1e8)][_0x47e5db(0x207)]){if(!_0x472755[_0x47e5db(0x239)][_0x47e5db(0x248)](_0x47e5db(0x1fe)))continue;const _0x43a93e=_0x35f556[_0x47e5db(0x22b)][_0x47e5db(0x1f8)][_0x47e5db(0x1dc)](_0x472755[_0x47e5db(0x239)]);if(_0x43a93e){for(const _0x3305ae of _0x43a93e)_0x538b25[_0x47e5db(0x1f0)](_0x47e5db(0x1df),_0x3305ae);}}});}(_0x1d2710);},{'useCapture':!0x0});}[_0x95c950(0x1cf)](){const _0x2bab3d=_0x95c950,_0x19785b=this[_0x2bab3d(0x241)],_0x2a626a=_0x19785b[_0x2bab3d(0x217)][_0x2bab3d(0x1ea)](_0x2bab3d(0x225));_0x2a626a&&_0x19785b[_0x2bab3d(0x1e8)]['on'](_0x2bab3d(0x24b),(_0x306535,_0x4404a9)=>{const _0x540c77=_0x2bab3d,_0x912fc0=_0x4404a9[0x0];if(!_0x912fc0[_0x540c77(0x254)])return;if(_0x540c77(0x1eb)!=_0x912fc0[_0x540c77(0x1ca)]||!_0x912fc0[_0x540c77(0x239)][_0x540c77(0x248)](_0x540c77(0x244)))return;const _0xe08725=_0x912fc0[_0x540c77(0x1f2)];_0x2a626a[_0x540c77(0x247)][_0x540c77(0x20b)](_0xe08725)&&(_0x912fc0[_0x540c77(0x250)]=_0x912fc0[_0x540c77(0x203)]?_0x19785b[_0x540c77(0x1e8)][_0x540c77(0x219)](_0x912fc0[_0x540c77(0x203)][_0x540c77(0x24a)],_0x912fc0[_0x540c77(0x203)][_0x540c77(0x1e3)]):null);},{'priority':_0x2bab3d(0x1fb)});}[_0x95c950(0x1f9)](){const _0x4acafd=_0x95c950;return this[_0x4acafd(0x21e)][_0x4acafd(0x236)](),super[_0x4acafd(0x1f9)]();}[_0x95c950(0x1e6)](){const _0x4826cb=_0x95c950,_0x19c050=this[_0x4826cb(0x241)],_0x3cb9b9=_0x19c050[_0x4826cb(0x1e8)][_0x4826cb(0x249)],_0x48429c=_0x19c050[_0x4826cb(0x1de)][_0x4826cb(0x1ea)](_0x1e2986);_0x19c050[_0x4826cb(0x1e8)][_0x4826cb(0x21d)]({'isUndoable':!0x1},_0x14d53b=>{const _0x20507c=_0x4826cb,_0x597316=_0x20507c(0x235)+_0x48429c[_0x20507c(0x209)],_0x241c79=_0x20507c(0x23a)+_0x48429c[_0x20507c(0x209)],_0x32c142=_0x19c050[_0x20507c(0x1e8)][_0x20507c(0x207)][_0x20507c(0x20b)](_0x597316);_0x19c050[_0x20507c(0x22b)][_0x20507c(0x21b)][_0x20507c(0x1d7)]?Z(_0x48429c[_0x20507c(0x209)],_0x3cb9b9[_0x20507c(0x1ee)][_0x20507c(0x1e0)](),_0x19c050[_0x20507c(0x1e8)],_0x14d53b):_0x32c142&&(_0x14d53b[_0x20507c(0x229)](_0x597316),_0x14d53b[_0x20507c(0x229)](_0x241c79));});}}function _0x5e75(_0x35475a,_0x48ebab){const _0x338a2c=_0x338a();return _0x5e75=function(_0x5e75c4,_0x46b768){_0x5e75c4=_0x5e75c4-0x1ca;let _0x15d129=_0x338a2c[_0x5e75c4];return _0x15d129;},_0x5e75(_0x35475a,_0x48ebab);}function Z(_0x17add8,_0x44d86b,_0x13cce0,_0x15a52e){const _0x347348=_0x95c950,_0x124557=_0x347348(0x235)+_0x17add8,_0x1b8916=_0x347348(0x23a)+_0x17add8,_0x57e5a3=_0x44d86b[_0x347348(0x22e)]();let _0x37db29=_0x44d86b[_0x347348(0x24a)];if(_0x57e5a3&&_0x57e5a3['is'](_0x347348(0x242),_0x347348(0x251))){const _0x570a3a=function(_0x37d688,_0x3e154b){const _0x1cd6b1=_0x347348;for(const _0xd97f5f of _0x37d688[_0x1cd6b1(0x252)]())if(_0x3e154b[_0x1cd6b1(0x24f)][_0x1cd6b1(0x231)](_0xd97f5f,_0x1cd6b1(0x20d)))return _0xd97f5f;}(_0x44d86b,_0x13cce0);_0x570a3a&&(_0x37db29=_0x570a3a,_0x44d86b=_0x15a52e[_0x347348(0x219)](_0x37db29));}const _0xf97e3d=_0x15a52e[_0x347348(0x219)](_0x37db29);_0x13cce0[_0x347348(0x207)][_0x347348(0x20b)](_0x124557)?(_0x15a52e[_0x347348(0x1d1)](_0x124557,{'range':_0x44d86b}),_0x15a52e[_0x347348(0x1d1)](_0x1b8916,{'range':_0xf97e3d})):(_0x15a52e[_0x347348(0x222)](_0x124557,{'range':_0x44d86b,'usingOperation':!0x0}),_0x15a52e[_0x347348(0x222)](_0x1b8916,{'range':_0xf97e3d,'usingOperation':!0x0}));}
23
+ const _0x287685=_0x556d;function _0x1620(){const _0x1ecd89=['26613itQsnz','nodeAfter','editor','6lZIyAW','render','1400OrtsHv','change','createElement','orderNumber','isObject','view','ck-user__marker_hovered','markerRange','newRange','markers','user:','getStart','contenteditable','_createdBatches','getFirstRange','element','removeClass','1659539dNnkpR','mySessionId','844072jUijTS','reconvertMarker','get','innerHTML','Escape','mapper','setAttribute','createUIElement','isPremiumPlugin','ck-user__selection','isDocumentOperation','user:range:','tableCell','toDomElement','type','getUserBySessionId','color','stopListening','textContent','name','init','selection','applyOperation','ck-user__marker-tooltip','createUserMarkerOperations','getNearestSelectionRange','addMarker','start','mouseenter','6676bxOjBQ','outerHTML','2igjnce','change:range','marker','span','editingDowncast','clear','hasDomSelection','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','size','enqueueChange','$graveyard','toRange','spellcheck','end','markerName','createRange','split','UserMarkers','conversion','deletionPosition','false','updateMarker','oldRange','isCollapsed','markerToElement','remove','getSelectionClass','getAttribute','user:range','getMarkerClass','isInline','$text','set','destroy','rootName','addEventListener','checkChild','markerToHighlight','model','add','classList','1419NDyQLs','user:position','plugins','1760JmBnUm','markerNameToElements','472VflGhU','keydown','batch','for','3719515yWTCld','afterInit','getContainedElement','detach','getRange','highest','setCustomProperty','commands','has','document','_domEmitter','undo','fromRange','isOfficialPlugin','data-session-id','startsWith','13MGHXzW','userPositionMarker','pluginName','getPositions','isSimilar','hasContent','listenTo','ck-user__marker\x20','35636772iJWFee','delete','schema','requires','parent','getCustomProperty','editing','isLimit','root','removeMarker','user:position:','update:user:range','mouseleave'];_0x1620=function(){return _0x1ecd89;};return _0x1620();}(function(_0x5de65e,_0x48c40f){const _0x1dc6ce=_0x556d,_0x28370d=_0x5de65e();while(!![]){try{const _0x53d10b=-parseInt(_0x1dc6ce(0x142))/0x1*(parseInt(_0x1dc6ce(0x123))/0x2)+-parseInt(_0x1dc6ce(0xdd))/0x3*(parseInt(_0x1dc6ce(0x140))/0x4)+-parseInt(_0x1dc6ce(0xe6))/0x5+parseInt(_0x1dc6ce(0x10e))/0x6*(-parseInt(_0x1dc6ce(0x121))/0x7)+-parseInt(_0x1dc6ce(0xe2))/0x8*(-parseInt(_0x1dc6ce(0x10b))/0x9)+parseInt(_0x1dc6ce(0x110))/0xa*(-parseInt(_0x1dc6ce(0xe0))/0xb)+-parseInt(_0x1dc6ce(0xfe))/0xc*(-parseInt(_0x1dc6ce(0xf6))/0xd);if(_0x53d10b===_0x48c40f)break;else _0x28370d['push'](_0x28370d['shift']());}catch(_0x2a610e){_0x28370d['push'](_0x28370d['shift']());}}}(_0x1620,0x7bda9));import{Plugin as _0x14ce2d}from'ckeditor5/src/core.js';import{global as _0x4cb65c,DomEmitterMixin as _0x2e53e2}from'ckeditor5/src/utils.js';import{Sessions as _0x2e9973}from'./sessions.js';function _0x556d(_0xc9ccaf,_0x384848){const _0x162085=_0x1620();return _0x556d=function(_0x556d8b,_0x54b1f6){_0x556d8b=_0x556d8b-0xd7;let _0x210703=_0x162085[_0x556d8b];return _0x210703;},_0x556d(_0xc9ccaf,_0x384848);}import{ModelLiveRange as _0x33a234}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x14ce2d{[_0x287685(0xf0)]=new(_0x2e53e2())();static get[_0x287685(0x101)](){return[_0x2e9973];}static get[_0x287685(0xf8)](){const _0x32f1e8=_0x287685;return _0x32f1e8(0x153);}static get[_0x287685(0xf3)](){return!0x0;}static get[_0x287685(0x12b)](){return!0x0;}[_0x287685(0x137)](){const _0x43b79a=_0x287685,_0x9a4f61=this[_0x43b79a(0x10d)],_0x57de47=_0x9a4f61[_0x43b79a(0xdf)][_0x43b79a(0x125)](_0x2e9973);_0x9a4f61[_0x43b79a(0x154)][_0x43b79a(0xe5)](_0x43b79a(0x146))[_0x43b79a(0x15a)]({'model':_0x43b79a(0xde),'view':(_0x31e859,{writer:_0x49888b})=>function(_0x2a5f0d,_0x58c543,_0x1b00bc,_0x1051c5){const _0x2175d5=_0x43b79a,_0xd97b38=_0x2a5f0d[_0x2175d5(0x150)][_0x2175d5(0x152)](':')[0x2],_0x26274b=_0x1b00bc[_0x2175d5(0x132)](_0xd97b38);if(!_0x26274b||_0xd97b38===_0x1b00bc[_0x2175d5(0x122)])return;if(!_0x1051c5[_0x2175d5(0xda)][_0x2175d5(0x100)][_0x2175d5(0xd8)](_0x2a5f0d[_0x2175d5(0x117)][_0x2175d5(0x13e)],_0x2175d5(0x161)))return;const _0x281f5e={'class':_0x2175d5(0xfd)+_0x26274b[_0x2175d5(0x133)][_0x2175d5(0x15f)](),'data-name':_0x26274b[_0x2175d5(0x136)],'data-session-id':_0xd97b38},_0x2bc0eb=_0x1051c5[_0x2175d5(0xda)][_0x2175d5(0x119)][_0x2175d5(0x125)](_0x2a5f0d[_0x2175d5(0x150)]),_0x5c0724=_0x2bc0eb[_0x2175d5(0x11b)](),_0x545501=_0x5c0724[_0x2175d5(0x10c)],_0x49d961=_0x1051c5[_0x2175d5(0xda)][_0x2175d5(0x100)];if(_0x545501&&_0x49d961[_0x2175d5(0x114)](_0x545501)&&_0x49d961[_0x2175d5(0x160)](_0x545501)&&!_0x1051c5[_0x2175d5(0xda)][_0x2175d5(0x119)][_0x2175d5(0x125)](_0x2175d5(0x12e)+_0xd97b38)[_0x2175d5(0xea)]()[_0x2175d5(0x159)])return;const _0x1982bd=_0x5c0724[_0x2175d5(0x102)];return _0x1051c5[_0x2175d5(0xda)][_0x2175d5(0x100)][_0x2175d5(0x105)](_0x1982bd)&&!_0x1051c5[_0x2175d5(0xda)][_0x2175d5(0xfb)](_0x1982bd)&&(_0x281f5e[_0x2175d5(0x11c)]=!0x1),function(_0x3d6d4d,_0x97e545,_0x33e985){const _0x4aac4a=_0x2175d5,_0x12e372=_0x3d6d4d[_0x4aac4a(0x12a)](_0x4aac4a(0x145),_0x97e545);return _0x3d6d4d[_0x4aac4a(0xec)](_0x4aac4a(0xf7),!0x0,_0x12e372),_0x12e372[_0x4aac4a(0x10f)]=function(_0xa452b2){const _0x3b7e7e=_0x4aac4a,_0x3b8691=this[_0x3b7e7e(0x130)](_0xa452b2),_0x537510=document[_0x3b7e7e(0x112)](_0x3b7e7e(0x145));return _0x537510[_0x3b7e7e(0xdc)][_0x3b7e7e(0xdb)](_0x3b7e7e(0x13a)),_0x537510[_0x3b7e7e(0x129)](_0x3b7e7e(0x11c),_0x3b7e7e(0x156)),_0x537510[_0x3b7e7e(0x129)](_0x3b7e7e(0x14e),_0x3b7e7e(0x156)),_0x537510[_0x3b7e7e(0x135)]=_0x33e985[_0x3b7e7e(0x136)],_0x3b8691[_0x3b7e7e(0x126)]=_0x3b7e7e(0x149)+_0x537510[_0x3b7e7e(0x141)]+'⁠',_0x3b8691[_0x3b7e7e(0xd7)](_0x3b7e7e(0x13f),()=>{const _0x2558e6=_0x3b7e7e;_0x3b8691[_0x2558e6(0xdc)][_0x2558e6(0xdb)](_0x2558e6(0x116));}),_0x3b8691[_0x3b7e7e(0xd7)](_0x3b7e7e(0x10a),()=>{const _0x661eba=_0x3b7e7e;_0x3b8691[_0x661eba(0xdc)][_0x661eba(0x15b)](_0x661eba(0x116));}),_0x3b8691;},_0x12e372[_0x4aac4a(0xfa)]=function(_0x4ce8b2){const _0x1da2f9=_0x4aac4a;return!(!this[_0x1da2f9(0x103)](_0x1da2f9(0xf7))||!_0x4ce8b2[_0x1da2f9(0x103)](_0x1da2f9(0xf7))||this[_0x1da2f9(0x15d)](_0x1da2f9(0xf4))!=_0x4ce8b2[_0x1da2f9(0x15d)](_0x1da2f9(0xf4)));},_0x12e372;}(_0x58c543,_0x281f5e,_0x26274b);}(_0x31e859,_0x49888b,_0x57de47,_0x9a4f61)}),_0x9a4f61[_0x43b79a(0x154)][_0x43b79a(0xe5)](_0x43b79a(0x146))[_0x43b79a(0xd9)]({'model':_0x43b79a(0x15e),'view':_0x169395=>function(_0x1d0659,_0x6c5e){const _0x488624=_0x43b79a,_0x206b64=_0x1d0659[_0x488624(0x150)][_0x488624(0x152)](':')[0x2];if(_0x206b64===_0x6c5e[_0x488624(0x122)])return null;const _0x595183=_0x6c5e[_0x488624(0x132)](_0x206b64);if(!_0x595183)return{'id':_0x206b64,'classes':[]};return{'id':_0x206b64,'classes':[_0x488624(0x12c),_0x595183[_0x488624(0x133)][_0x488624(0x15c)]()],'attributes':{'data-session-id':_0x206b64},'priority':0x7d0+_0x595183[_0x488624(0x113)]};}(_0x169395,_0x57de47)}),function(_0x2511d9){const _0x4aab5c=_0x43b79a,_0x45a332=_0x2511d9[_0x4aab5c(0xda)],_0x63cf59=new Map(),_0x41ac13=_0x2511d9[_0x4aab5c(0xdf)][_0x4aab5c(0x125)](_0x2e9973);_0x45a332[_0x4aab5c(0x119)]['on'](_0x4aab5c(0x109),(_0x53f588,_0x12e8f0,_0xe18ae8,_0x39ef9d)=>{const _0x3d4aa5=_0x4aab5c;if(!_0x39ef9d&&_0x63cf59[_0x3d4aa5(0x125)](_0x12e8f0[_0x3d4aa5(0x136)]))return _0x63cf59[_0x3d4aa5(0x125)](_0x12e8f0[_0x3d4aa5(0x136)])[_0x3d4aa5(0xe9)](),void _0x63cf59[_0x3d4aa5(0xff)](_0x12e8f0[_0x3d4aa5(0x136)]);const _0xe7374f=_0x12e8f0[_0x3d4aa5(0x136)][_0x3d4aa5(0x152)](':')[0x2];if(_0xe7374f===_0x41ac13[_0x3d4aa5(0x122)])return;const _0x264551=_0x3d4aa5(0x108)+_0xe7374f;_0x45a332[_0x3d4aa5(0x119)][_0x3d4aa5(0xee)](_0x264551)&&_0x2511d9[_0x3d4aa5(0x104)][_0x3d4aa5(0x124)](_0x264551),_0x12e8f0['on'](_0x3d4aa5(0x143),(_0x4a01f3,_0x3e0bab,_0x156e34)=>{const _0x2f4106=_0x3d4aa5;if(_0x2f4106(0x14c)!=_0x3e0bab[_0x2f4106(0x106)][_0x2f4106(0x164)]&&_0x2f4106(0x14c)==_0x12e8f0[_0x2f4106(0xea)]()[_0x2f4106(0x106)][_0x2f4106(0x164)]&&!_0x63cf59[_0x2f4106(0xee)](_0x12e8f0[_0x2f4106(0x136)])){const _0x4c99c0=_0x45a332[_0x2f4106(0x100)][_0x2f4106(0x13c)](_0x156e34[_0x2f4106(0x155)]);if(_0x4c99c0){const _0x5f76b8=_0x33a234[_0x2f4106(0xf2)](_0x4c99c0);_0x63cf59[_0x2f4106(0x162)](_0x12e8f0[_0x2f4106(0x136)],_0x5f76b8),_0x5f76b8['on'](_0x2f4106(0x143),(_0x27eb31,_0x4f0e8c,_0x45ea27)=>{const _0x37d470=_0x2f4106;if(_0x37d470(0x14c)==_0x5f76b8[_0x37d470(0x106)][_0x37d470(0x164)]){const _0x336569=_0x45a332[_0x37d470(0x100)][_0x37d470(0x13c)](_0x45ea27[_0x37d470(0x155)]);_0x336569?(_0x5f76b8[_0x37d470(0x13e)]=_0x336569[_0x37d470(0x13e)],_0x5f76b8[_0x37d470(0x14f)]=_0x336569[_0x37d470(0x14f)]):(_0x63cf59[_0x37d470(0xff)](_0x12e8f0[_0x37d470(0x136)]),_0x5f76b8[_0x37d470(0xe9)]());}});}}});}),_0x45a332[_0x4aab5c(0xef)]['on'](_0x4aab5c(0x111),()=>{const _0xd4edd9=_0x4aab5c;_0x63cf59[_0xd4edd9(0x14a)]>0x0&&_0x45a332[_0xd4edd9(0x14b)]({'isUndoable':!0x1},_0x1b3964=>{const _0x495d61=_0xd4edd9;for(const [_0x35b5ba,_0x561331]of _0x63cf59)_0x495d61(0x14c)==_0x45a332[_0x495d61(0x119)][_0x495d61(0x125)](_0x35b5ba)[_0x495d61(0xea)]()[_0x495d61(0x106)][_0x495d61(0x164)]&&(J(_0x35b5ba[_0x495d61(0x152)](':')[0x2],_0x561331[_0x495d61(0x14d)](),_0x45a332,_0x1b3964),_0x561331[_0x495d61(0xe9)]());_0x63cf59[_0x495d61(0x147)]();});});}(_0x9a4f61),this[_0x43b79a(0xf0)][_0x43b79a(0xfc)](_0x4cb65c[_0x43b79a(0xef)],_0x43b79a(0xe3),(_0xc93552,{key:_0x383665})=>{const _0x48aab7=_0x43b79a;_0x48aab7(0x127)===_0x383665&&function(_0x240dff){const _0x145d7b=_0x48aab7;_0x240dff[_0x145d7b(0x104)][_0x145d7b(0x115)][_0x145d7b(0x111)](_0x33e2c6=>{const _0x3af645=_0x145d7b;for(const _0x1a0c9c of _0x240dff[_0x3af645(0xda)][_0x3af645(0x119)]){if(!_0x1a0c9c[_0x3af645(0x136)][_0x3af645(0xf5)](_0x3af645(0xde)))continue;const _0x2fee77=_0x240dff[_0x3af645(0x104)][_0x3af645(0x128)][_0x3af645(0xe1)](_0x1a0c9c[_0x3af645(0x136)]);if(_0x2fee77){for(const _0x1b4b35 of _0x2fee77)_0x33e2c6[_0x3af645(0x120)](_0x3af645(0x116),_0x1b4b35);}}});}(_0x9a4f61);},{'useCapture':!0x0});}[_0x287685(0xe7)](){const _0x2c841f=_0x287685,_0x1cb20c=this[_0x2c841f(0x10d)],_0x211ff6=_0x1cb20c[_0x2c841f(0xed)][_0x2c841f(0x125)](_0x2c841f(0xf1));_0x211ff6&&_0x1cb20c[_0x2c841f(0xda)]['on'](_0x2c841f(0x139),(_0xf62fb2,_0x5e2e9c)=>{const _0x203987=_0x2c841f,_0x5b38da=_0x5e2e9c[0x0];if(!_0x5b38da[_0x203987(0x12d)])return;if(_0x203987(0x144)!=_0x5b38da[_0x203987(0x131)]||!_0x5b38da[_0x203987(0x136)][_0x203987(0xf5)](_0x203987(0x11a)))return;const _0x4d0691=_0x5b38da[_0x203987(0xe4)];_0x211ff6[_0x203987(0x11d)][_0x203987(0xee)](_0x4d0691)&&(_0x5b38da[_0x203987(0x118)]=_0x5b38da[_0x203987(0x158)]?_0x1cb20c[_0x203987(0xda)][_0x203987(0x151)](_0x5b38da[_0x203987(0x158)][_0x203987(0x13e)],_0x5b38da[_0x203987(0x158)][_0x203987(0x14f)]):null);},{'priority':_0x2c841f(0xeb)});}[_0x287685(0x163)](){const _0x2c1383=_0x287685;return this[_0x2c1383(0xf0)][_0x2c1383(0x134)](),super[_0x2c1383(0x163)]();}[_0x287685(0x13b)](){const _0x428264=_0x287685,_0x39f3f6=this[_0x428264(0x10d)],_0xa4f501=_0x39f3f6[_0x428264(0xda)][_0x428264(0xef)],_0x192494=_0x39f3f6[_0x428264(0xdf)][_0x428264(0x125)](_0x2e9973);_0x39f3f6[_0x428264(0xda)][_0x428264(0x14b)]({'isUndoable':!0x1},_0x42007a=>{const _0x335274=_0x428264,_0x588471=_0x335274(0x12e)+_0x192494[_0x335274(0x122)],_0x5b1453=_0x335274(0x108)+_0x192494[_0x335274(0x122)],_0x53d9b8=_0x39f3f6[_0x335274(0xda)][_0x335274(0x119)][_0x335274(0xee)](_0x588471);_0x39f3f6[_0x335274(0x104)][_0x335274(0x115)][_0x335274(0x148)]?J(_0x192494[_0x335274(0x122)],_0xa4f501[_0x335274(0x138)][_0x335274(0x11e)](),_0x39f3f6[_0x335274(0xda)],_0x42007a):_0x53d9b8&&(_0x42007a[_0x335274(0x107)](_0x588471),_0x42007a[_0x335274(0x107)](_0x5b1453));});}}function J(_0x45df82,_0x1bf003,_0x3b0e1a,_0x295dba){const _0x348c02=_0x287685,_0x1a5f36=_0x348c02(0x12e)+_0x45df82,_0x2e2daa=_0x348c02(0x108)+_0x45df82,_0x5474fa=_0x1bf003[_0x348c02(0xe8)]();let _0x2593d0=_0x1bf003[_0x348c02(0x13e)];if(_0x5474fa&&_0x5474fa['is'](_0x348c02(0x11f),_0x348c02(0x12f))){const _0x2ad023=function(_0x14069e,_0x4902ac){const _0x48209f=_0x348c02;for(const _0x5b5f37 of _0x14069e[_0x48209f(0xf9)]())if(_0x4902ac[_0x48209f(0x100)][_0x48209f(0xd8)](_0x5b5f37,_0x48209f(0x161)))return _0x5b5f37;}(_0x1bf003,_0x3b0e1a);_0x2ad023&&(_0x2593d0=_0x2ad023,_0x1bf003=_0x295dba[_0x348c02(0x151)](_0x2593d0));}const _0x4384bc=_0x295dba[_0x348c02(0x151)](_0x2593d0);_0x3b0e1a[_0x348c02(0x119)][_0x348c02(0xee)](_0x1a5f36)?(_0x295dba[_0x348c02(0x157)](_0x1a5f36,{'range':_0x1bf003}),_0x295dba[_0x348c02(0x157)](_0x2e2daa,{'range':_0x4384bc})):(_0x295dba[_0x348c02(0x13d)](_0x1a5f36,{'range':_0x1bf003,'usingOperation':!0x0}),_0x295dba[_0x348c02(0x13d)](_0x2e2daa,{'range':_0x4384bc,'usingOperation':!0x0}));}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5df131=_0x2bd8;(function(_0x17c30e,_0x17c361){const _0x31d77f=_0x2bd8,_0x317cc3=_0x17c30e();while(!![]){try{const _0x51061f=-parseInt(_0x31d77f(0x163))/0x1+parseInt(_0x31d77f(0x12f))/0x2+parseInt(_0x31d77f(0x149))/0x3+parseInt(_0x31d77f(0x153))/0x4*(parseInt(_0x31d77f(0x14c))/0x5)+parseInt(_0x31d77f(0x14b))/0x6+-parseInt(_0x31d77f(0x162))/0x7+-parseInt(_0x31d77f(0x135))/0x8;if(_0x51061f===_0x17c361)break;else _0x317cc3['push'](_0x317cc3['shift']());}catch(_0x2a9b87){_0x317cc3['push'](_0x317cc3['shift']());}}}(_0x8654,0x6a461));import{ContextPlugin as _0x4eb19f}from'ckeditor5/src/core.js';function _0x8654(){const _0x117cc0=['showWarning','stopListening','1681296yAcxLe','initialReconnectionInterval','destroy','Connected\x20users\x20limit\x20exceeded','set','_domEmitter','3797408WsdcEy','get','addToReconnectionStack','WebSocketGateway','cloudservices-init','webSocketUrl','limitExceeded','bind','cloudServices.requestTimeout','disconnect','catch','connection','then','isOfficialPlugin','removeFromReconnectionStack','websocketgateway-missing-token','_reconnectionStack','init','offline','_reconnect','69948ePtsHM','CONNECTED','1902876HoGzzO','1298810lwkNTu','constructor','connected','requires','plugins','has','state','4kNpErW','from','add','token','change:me','isInReconnectionStack','CloudServices','define','CONNECTING','websocketgateway-invalid-plugin-interface','code','online','connect','config','context','720391JJyynJ','427986kyXLUm','listenTo','real-time-collaboration','reconnect','websocketgateway-plugin-already-registered','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','error','isPremiumPlugin','DISCONNECTED','delete','all','_shouldPluginsReconnect','websocketgateway-missing-websocket-url','cloudservices-reconnection-error','_isBrowserOffline','cloudServices.connectionTimeout','function','pluginName'];_0x8654=function(){return _0x117cc0;};return _0x8654();}import{DomEmitterMixin as _0x2054e5,CKEditorError as _0x358df3}from'ckeditor5/src/utils.js';function _0x2bd8(_0x49f0a5,_0x395996){const _0x8654d8=_0x8654();return _0x2bd8=function(_0x2bd87a,_0x3dde56){_0x2bd87a=_0x2bd87a-0x12f;let _0x3b923b=_0x8654d8[_0x2bd87a];return _0x3b923b;},_0x2bd8(_0x49f0a5,_0x395996);}import{WebSocketGateway as _0x15954b,WEB_SOCKET_GATEWAY_STATES as _0x4648e8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x30e13e}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x4eb19f{static [_0x5df131(0x138)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x15954b)());static [_0x5df131(0x130)]=0x3e8;[_0x5df131(0x140)];[_0x5df131(0x145)];[_0x5df131(0x16e)];[_0x5df131(0x134)];static get[_0x5df131(0x14f)](){const _0x3bc005=_0x5df131;return[_0x3bc005(0x159),_0x30e13e];}static get[_0x5df131(0x174)](){const _0x49977f=_0x5df131;return _0x49977f(0x138);}static get[_0x5df131(0x142)](){return!0x0;}static get[_0x5df131(0x16a)](){return!0x0;}constructor(_0x297ac5){const _0x567b89=_0x5df131;super(_0x297ac5),this[_0x567b89(0x133)](_0x567b89(0x152),_0x4648e8[_0x567b89(0x14a)]),this[_0x567b89(0x133)](_0x567b89(0x171),!0x1),this[_0x567b89(0x145)]=new Set(),this[_0x567b89(0x16e)]=!0x1,this[_0x567b89(0x134)]=new(_0x2054e5())();}[_0x5df131(0x146)](){const _0x1de26d=_0x5df131,_0x302cfa=this[_0x1de26d(0x161)],_0x4005c3=_0x302cfa[_0x1de26d(0x150)][_0x1de26d(0x136)](_0x1de26d(0x159)),_0x443be9=_0x302cfa[_0x1de26d(0x150)][_0x1de26d(0x136)](_0x30e13e);if(!_0x4005c3[_0x1de26d(0x156)])throw new _0x358df3(_0x1de26d(0x144),this);if(!_0x4005c3[_0x1de26d(0x13a)])throw new _0x358df3(_0x1de26d(0x16f),this);return this[_0x1de26d(0x134)][_0x1de26d(0x164)](window,_0x1de26d(0x147),()=>this[_0x1de26d(0x171)]=!0x0),this[_0x1de26d(0x134)][_0x1de26d(0x164)](window,_0x1de26d(0x15e),()=>this[_0x1de26d(0x171)]=!0x1),this[_0x1de26d(0x161)][_0x1de26d(0x160)][_0x1de26d(0x15a)](_0x1de26d(0x172),0xa),this[_0x1de26d(0x161)][_0x1de26d(0x160)][_0x1de26d(0x15a)](_0x1de26d(0x13d),0x14),WebSocketGateway[_0x1de26d(0x138)][_0x1de26d(0x15f)](_0x4005c3[_0x1de26d(0x156)],_0x4005c3[_0x1de26d(0x13a)],{'timeout':0x3e8*this[_0x1de26d(0x161)][_0x1de26d(0x160)][_0x1de26d(0x136)](_0x1de26d(0x172)),'requestTimeout':0x3e8*this[_0x1de26d(0x161)][_0x1de26d(0x160)][_0x1de26d(0x136)](_0x1de26d(0x13d))})[_0x1de26d(0x141)](_0x5d9bb0=>{const _0x12419d=_0x1de26d;if(this[_0x12419d(0x140)]=_0x5d9bb0,this[_0x12419d(0x13c)](_0x12419d(0x152))['to'](_0x5d9bb0,_0x12419d(0x152),this,_0x12419d(0x171),(_0x88621d,_0x1c8d04)=>(_0x12419d(0x14e)!==_0x88621d&&(this[_0x12419d(0x16e)]=!0x0),_0x1c8d04||_0x88621d!==_0x4648e8[_0x12419d(0x14a)]?_0x4648e8[_0x12419d(0x16b)]:this[_0x12419d(0x152)]==_0x4648e8[_0x12419d(0x16b)]&&this[_0x12419d(0x16e)]?(this[_0x12419d(0x16e)]=!0x1,this[_0x12419d(0x148)](),_0x4648e8[_0x12419d(0x15b)]):_0x4648e8[_0x12419d(0x14a)])),this[_0x12419d(0x140)]['on'](_0x12419d(0x169),(_0x40e9f5,_0x1f46ff)=>{const _0x5478be=_0x12419d;if(_0x5478be(0x13b)!==_0x1f46ff[_0x5478be(0x15d)])throw console[_0x5478be(0x169)](_0x1f46ff),new _0x358df3(_0x5478be(0x139),null,{'originalError':_0x1f46ff});_0x443be9[_0x5478be(0x175)](_0x5478be(0x168),{'title':_0x5478be(0x132),'namespace':_0x5478be(0x165)});}),!_0x5d9bb0['me'])return new Promise(_0x511de8=>_0x5d9bb0['on'](_0x12419d(0x157),_0x511de8));})[_0x1de26d(0x13f)](_0x445e80=>{const _0x3ffaa0=_0x1de26d;throw console[_0x3ffaa0(0x169)](_0x445e80),new _0x358df3(_0x3ffaa0(0x139),null,{'originalError':_0x445e80});});}[_0x5df131(0x137)](_0x150025){const _0x39f6f7=_0x5df131;if(_0x39f6f7(0x173)!=typeof _0x150025[_0x39f6f7(0x166)])throw new _0x358df3(_0x39f6f7(0x15c),this);if(this[_0x39f6f7(0x158)](_0x150025))throw new _0x358df3(_0x39f6f7(0x167),this,{'name':_0x150025[_0x39f6f7(0x14d)][_0x39f6f7(0x174)]});this[_0x39f6f7(0x145)][_0x39f6f7(0x155)](_0x150025);}[_0x5df131(0x143)](_0x29e9c3){const _0x3ff43c=_0x5df131;this[_0x3ff43c(0x145)][_0x3ff43c(0x16c)](_0x29e9c3);}[_0x5df131(0x158)](_0x39f4da){const _0x154765=_0x5df131;return this[_0x154765(0x145)][_0x154765(0x151)](_0x39f4da);}[_0x5df131(0x148)](){const _0xe1c28=_0x5df131;return this[_0xe1c28(0x140)][_0xe1c28(0x166)]()[_0xe1c28(0x141)](()=>Promise[_0xe1c28(0x16d)](Array[_0xe1c28(0x154)](this[_0xe1c28(0x145)],_0x39a4c9=>_0x39a4c9[_0xe1c28(0x166)]())))[_0xe1c28(0x141)](()=>this[_0xe1c28(0x152)]=_0x4648e8[_0xe1c28(0x14a)])[_0xe1c28(0x13f)](_0x35fbda=>{const _0x4a8365=_0xe1c28;throw console[_0x4a8365(0x169)](_0x35fbda),new _0x358df3(_0x4a8365(0x170),this[_0x4a8365(0x161)]);});}[_0x5df131(0x13e)](){const _0x4fd2e2=_0x5df131;this[_0x4fd2e2(0x140)]&&this[_0x4fd2e2(0x140)][_0x4fd2e2(0x13e)](),this[_0x4fd2e2(0x152)]=_0x4648e8[_0x4fd2e2(0x16b)],this[_0x4fd2e2(0x134)][_0x4fd2e2(0x176)]();}[_0x5df131(0x131)](){const _0x327cbb=_0x5df131;this[_0x327cbb(0x13e)](),super[_0x327cbb(0x131)]();}}
23
+ const _0x1763bb=_0x5028;function _0x3654(){const _0x3962fa=['DISCONNECTED','_reconnect','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.','change:me','define','state','CONNECTING','disconnect','877568dOKGuj','websocketgateway-missing-websocket-url','CloudServices','141bqWGem','327468bZmESQ','isInReconnectionStack','destroy','delete','get','isOfficialPlugin','50JcXSLX','from','148761FfKLgv','config','cloudservices-init','WebSocketGateway','54DEBdAB','listenTo','_shouldPluginsReconnect','online','isPremiumPlugin','websocketgateway-invalid-plugin-interface','set','all','_isBrowserOffline','cloudServices.connectionTimeout','bind','real-time-collaboration','addToReconnectionStack','stopListening','673104zASJgc','webSocketUrl','showWarning','token','connect','has','Connected\x20users\x20limit\x20exceeded','requires','_reconnectionStack','removeFromReconnectionStack','error','CONNECTED','limitExceeded','init','context','pluginName','code','initialReconnectionInterval','22oEoVel','catch','plugins','connection','7LUTTty','websocketgateway-plugin-already-registered','4764536qYcNyN','then','cloudServices.requestTimeout','add','_domEmitter','10180QDgIyz','offline','cloudservices-reconnection-error','websocketgateway-missing-token','reconnect','function','79155dMIElB','constructor','connected'];_0x3654=function(){return _0x3962fa;};return _0x3654();}(function(_0x58b1cd,_0xfd1a78){const _0x439ca1=_0x5028,_0x30dc20=_0x58b1cd();while(!![]){try{const _0x2a4877=parseInt(_0x439ca1(0x173))/0x1+-parseInt(_0x439ca1(0x16f))/0x2+parseInt(_0x439ca1(0x172))/0x3*(parseInt(_0x439ca1(0x1aa))/0x4)+parseInt(_0x439ca1(0x1b0))/0x5*(-parseInt(_0x439ca1(0x17f))/0x6)+parseInt(_0x439ca1(0x1a3))/0x7*(parseInt(_0x439ca1(0x1a5))/0x8)+-parseInt(_0x439ca1(0x17b))/0x9*(-parseInt(_0x439ca1(0x179))/0xa)+-parseInt(_0x439ca1(0x19f))/0xb*(parseInt(_0x439ca1(0x18d))/0xc);if(_0x2a4877===_0xfd1a78)break;else _0x30dc20['push'](_0x30dc20['shift']());}catch(_0xbf53b0){_0x30dc20['push'](_0x30dc20['shift']());}}}(_0x3654,0x696e8));function _0x5028(_0x585414,_0x559853){const _0x365480=_0x3654();return _0x5028=function(_0x50285d,_0x139f85){_0x50285d=_0x50285d-0x16b;let _0x5adfeb=_0x365480[_0x50285d];return _0x5adfeb;},_0x5028(_0x585414,_0x559853);}import{ContextPlugin as _0x7ed3c}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2ab19b,CKEditorError as _0x158944}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4af9b2,WEB_SOCKET_GATEWAY_STATES as _0x47f58c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x1dc20d}from'ckeditor5/src/ui.js';export class WebSocketGateway extends _0x7ed3c{static [_0x1763bb(0x17e)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x4af9b2)());static [_0x1763bb(0x19e)]=0x3e8;[_0x1763bb(0x1a2)];[_0x1763bb(0x195)];[_0x1763bb(0x181)];[_0x1763bb(0x1a9)];static get[_0x1763bb(0x194)](){const _0x184597=_0x1763bb;return[_0x184597(0x171),_0x1dc20d];}static get[_0x1763bb(0x19c)](){const _0x1bff58=_0x1763bb;return _0x1bff58(0x17e);}static get[_0x1763bb(0x178)](){return!0x0;}static get[_0x1763bb(0x183)](){return!0x0;}constructor(_0x16b260){const _0x4353a4=_0x1763bb;super(_0x16b260),this[_0x4353a4(0x185)](_0x4353a4(0x16c),_0x47f58c[_0x4353a4(0x198)]),this[_0x4353a4(0x185)](_0x4353a4(0x187),!0x1),this[_0x4353a4(0x195)]=new Set(),this[_0x4353a4(0x181)]=!0x1,this[_0x4353a4(0x1a9)]=new(_0x2ab19b())();}[_0x1763bb(0x19a)](){const _0x300283=_0x1763bb,_0x272856=this[_0x300283(0x19b)],_0x9613e3=_0x272856[_0x300283(0x1a1)][_0x300283(0x177)](_0x300283(0x171)),_0x3b1253=_0x272856[_0x300283(0x1a1)][_0x300283(0x177)](_0x1dc20d);if(!_0x9613e3[_0x300283(0x190)])throw new _0x158944(_0x300283(0x1ad),this);if(!_0x9613e3[_0x300283(0x18e)])throw new _0x158944(_0x300283(0x170),this);return this[_0x300283(0x1a9)][_0x300283(0x180)](window,_0x300283(0x1ab),()=>this[_0x300283(0x187)]=!0x0),this[_0x300283(0x1a9)][_0x300283(0x180)](window,_0x300283(0x182),()=>this[_0x300283(0x187)]=!0x1),this[_0x300283(0x19b)][_0x300283(0x17c)][_0x300283(0x16b)](_0x300283(0x188),0xa),this[_0x300283(0x19b)][_0x300283(0x17c)][_0x300283(0x16b)](_0x300283(0x1a7),0x14),WebSocketGateway[_0x300283(0x17e)][_0x300283(0x191)](_0x9613e3[_0x300283(0x190)],_0x9613e3[_0x300283(0x18e)],{'timeout':0x3e8*this[_0x300283(0x19b)][_0x300283(0x17c)][_0x300283(0x177)](_0x300283(0x188)),'requestTimeout':0x3e8*this[_0x300283(0x19b)][_0x300283(0x17c)][_0x300283(0x177)](_0x300283(0x1a7))})[_0x300283(0x1a6)](_0x1f738e=>{const _0xa8746e=_0x300283;if(this[_0xa8746e(0x1a2)]=_0x1f738e,this[_0xa8746e(0x189)](_0xa8746e(0x16c))['to'](_0x1f738e,_0xa8746e(0x16c),this,_0xa8746e(0x187),(_0x3c51ba,_0x15dbf5)=>(_0xa8746e(0x1b2)!==_0x3c51ba&&(this[_0xa8746e(0x181)]=!0x0),_0x15dbf5||_0x3c51ba!==_0x47f58c[_0xa8746e(0x198)]?_0x47f58c[_0xa8746e(0x1b3)]:this[_0xa8746e(0x16c)]==_0x47f58c[_0xa8746e(0x1b3)]&&this[_0xa8746e(0x181)]?(this[_0xa8746e(0x181)]=!0x1,this[_0xa8746e(0x1b4)](),_0x47f58c[_0xa8746e(0x16d)]):_0x47f58c[_0xa8746e(0x198)])),this[_0xa8746e(0x1a2)]['on'](_0xa8746e(0x197),(_0x1aa77f,_0x493a72)=>{const _0x47fded=_0xa8746e;if(_0x47fded(0x199)!==_0x493a72[_0x47fded(0x19d)])throw console[_0x47fded(0x197)](_0x493a72),new _0x158944(_0x47fded(0x17d),null,{'originalError':_0x493a72});_0x3b1253[_0x47fded(0x18f)](_0x47fded(0x1b5),{'title':_0x47fded(0x193),'namespace':_0x47fded(0x18a)});}),!_0x1f738e['me'])return new Promise(_0x39de9a=>_0x1f738e['on'](_0xa8746e(0x1b6),_0x39de9a));})[_0x300283(0x1a0)](_0x56d2c4=>{const _0x1da2c6=_0x300283;throw console[_0x1da2c6(0x197)](_0x56d2c4),new _0x158944(_0x1da2c6(0x17d),null,{'originalError':_0x56d2c4});});}[_0x1763bb(0x18b)](_0x18e03c){const _0x2fe363=_0x1763bb;if(_0x2fe363(0x1af)!=typeof _0x18e03c[_0x2fe363(0x1ae)])throw new _0x158944(_0x2fe363(0x184),this);if(this[_0x2fe363(0x174)](_0x18e03c))throw new _0x158944(_0x2fe363(0x1a4),this,{'name':_0x18e03c[_0x2fe363(0x1b1)][_0x2fe363(0x19c)]});this[_0x2fe363(0x195)][_0x2fe363(0x1a8)](_0x18e03c);}[_0x1763bb(0x196)](_0x2f7b42){const _0x465ae6=_0x1763bb;this[_0x465ae6(0x195)][_0x465ae6(0x176)](_0x2f7b42);}[_0x1763bb(0x174)](_0x4e0e4d){const _0x302b65=_0x1763bb;return this[_0x302b65(0x195)][_0x302b65(0x192)](_0x4e0e4d);}[_0x1763bb(0x1b4)](){const _0x1a8113=_0x1763bb;return this[_0x1a8113(0x1a2)][_0x1a8113(0x1ae)]()[_0x1a8113(0x1a6)](()=>Promise[_0x1a8113(0x186)](Array[_0x1a8113(0x17a)](this[_0x1a8113(0x195)],_0x58f278=>_0x58f278[_0x1a8113(0x1ae)]())))[_0x1a8113(0x1a6)](()=>this[_0x1a8113(0x16c)]=_0x47f58c[_0x1a8113(0x198)])[_0x1a8113(0x1a0)](_0x4e80bd=>{const _0x5205a5=_0x1a8113;throw console[_0x5205a5(0x197)](_0x4e80bd),new _0x158944(_0x5205a5(0x1ac),this[_0x5205a5(0x19b)]);});}[_0x1763bb(0x16e)](){const _0x4937b5=_0x1763bb;this[_0x4937b5(0x1a2)]&&this[_0x4937b5(0x1a2)][_0x4937b5(0x16e)](),this[_0x4937b5(0x16c)]=_0x47f58c[_0x4937b5(0x1b3)],this[_0x4937b5(0x1a9)][_0x4937b5(0x18c)]();}[_0x1763bb(0x175)](){const _0x3cfcf2=_0x1763bb;this[_0x3cfcf2(0x16e)](),super[_0x3cfcf2(0x175)]();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1517(_0x2b66e4,_0x2184e3){const _0x54022f=_0x5402();return _0x1517=function(_0x151718,_0xad47c5){_0x151718=_0x151718-0xbb;let _0x70dd11=_0x54022f[_0x151718];return _0x70dd11;},_0x1517(_0x2b66e4,_0x2184e3);}const _0x280e33=_0x1517;(function(_0x2f74ab,_0x4432b3){const _0x334e42=_0x1517,_0x1567be=_0x2f74ab();while(!![]){try{const _0x33f037=parseInt(_0x334e42(0xdb))/0x1+parseInt(_0x334e42(0xee))/0x2+-parseInt(_0x334e42(0x115))/0x3*(parseInt(_0x334e42(0xc3))/0x4)+-parseInt(_0x334e42(0x124))/0x5*(parseInt(_0x334e42(0xf2))/0x6)+-parseInt(_0x334e42(0xe4))/0x7+-parseInt(_0x334e42(0xfd))/0x8+parseInt(_0x334e42(0xe5))/0x9;if(_0x33f037===_0x4432b3)break;else _0x1567be['push'](_0x1567be['shift']());}catch(_0x405c0c){_0x1567be['push'](_0x1567be['shift']());}}}(_0x5402,0xeb63b));function _0x5402(){const _0x4b04ea=['setSource','_lastRequestId','data','getOperations','reInit','_createCurrentRevision','_getLatestVersionFromServerOperations','listenTo','getUser','add','code','getMany','authors','sendBufferedUpdates','bind','addRevisionData','connect','_isConnected','isOfficialPlugin','getRevisions','updateRevisions','_bufferedUpdates','1152679FcaCju','RevisionHistory','_handleRevisionsUpdate','max','sessionId','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','creatorId','_revisionHistoryService','setRevisionData','9075787pGkKTp','19401966HzMqgO','wrongRequestId','change:_isConnected','config','has','then','createdAt','cloud-services-internal-error:\x20Not\x20connected.','_fixRevision','1768984MQRDwF','connected','authorsIds','_revisions','12qRlwQk','addToReconnectionStack','requires','RevisionTracker','connection','buildRevisionData','off','size','message','400','change:_isPendingUpdate','2185608EntiUc','_preventResendingRevisionData','_offset','_bufferUpdate','init','get','addUser','_oldOffset','_isPendingUpdate','marker','isPremiumPlugin','isEmptyCurrent','fromVersion','cloud-services-internal-error:\x20Request\x20timeout.','toVersion','pluginName','affectsData','reconnect','editor','_startingVersion','_update','_revisionDataBuilder','collaboration.channelId','reverse','6JJyUuL','length','revisionsUpdated','destroy','_fetchMissingUsers','isBundleUploaded','once','cloudServices.bundleVersion','baseVersion','isEnabled','startsWith','CloudServicesRevisionHistoryAdapter','plugins','state','adapter','3138350tjkDoq','repository','map','_waitForServiceReady','serverHistory','remove','_handleReconnectionError','type','CONNECTED','keys','diffData','from','catch','isConnected','currentRevision','_revisionTracker','getRevision','_getLatestVersion','807416RWEetZ','RevisionHistoryService'];_0x5402=function(){return _0x4b04ea;};return _0x5402();}import{Plugin as _0xba9507}from'ckeditor5/src/core.js';import{version as _0x30741d}from'ckeditor5/src/utils.js';import{Users as _0x59b89d}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x26334c}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x4f8c9f}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x12f3e0}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x228c59,RevisionHistoryService as _0x1d16b0,User as _0x5cd858,WEB_SOCKET_GATEWAY_STATES as _0x3e38e0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0xba9507{static [_0x280e33(0xc4)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1d16b0)());[_0x280e33(0xc6)];[_0x280e33(0xc0)];[_0x280e33(0xe2)];[_0x280e33(0x104)];static get[_0x280e33(0xf4)](){const _0x532937=_0x280e33;return[_0x4f8c9f,_0x26334c,_0x532937(0xdc),_0x12f3e0,_0x59b89d];}static get[_0x280e33(0x10c)](){const _0x82a9f8=_0x280e33;return _0x82a9f8(0x120);}static get[_0x280e33(0xd7)](){return!0x0;}static get[_0x280e33(0x107)](){return!0x0;}constructor(_0x19c33b){const _0xd6b1dd=_0x280e33;super(_0x19c33b);const _0x3485a5=this[_0xd6b1dd(0x10f)][_0xd6b1dd(0xe8)][_0xd6b1dd(0x102)](_0xd6b1dd(0x113));this[_0xd6b1dd(0xc6)]=null,this[_0xd6b1dd(0xc0)]=this[_0xd6b1dd(0x10f)][_0xd6b1dd(0x121)][_0xd6b1dd(0x102)](_0xd6b1dd(0xf5)),this[_0xd6b1dd(0xe2)]=new CloudServicesRevisionHistoryAdapter[(_0xd6b1dd(0xc4))](_0x3485a5);}async[_0x280e33(0x101)](){const _0x278303=_0x280e33,_0x37b388=this[_0x278303(0x10f)][_0x278303(0x121)][_0x278303(0x102)](_0x26334c),_0x7fdd39=_0x37b388[_0x278303(0x128)],_0x2e427c=this[_0x278303(0x10f)][_0x278303(0x121)][_0x278303(0x102)](_0x4f8c9f);this[_0x278303(0xc0)][_0x278303(0xc5)]({'history':_0x7fdd39,'getLatestVersion':()=>this[_0x278303(0xc2)](),'getCurrentRevisionId':()=>_0x37b388[_0x278303(0xdf)]});const _0x14d7eb=this[_0x278303(0x10f)][_0x278303(0xe8)][_0x278303(0x102)](_0x278303(0x11c))||_0x30741d,_0xf6f215=await _0x228c59[_0x278303(0x11a)](_0x2e427c[_0x278303(0xf6)],_0x14d7eb);this[_0x278303(0x10f)][_0x278303(0x121)][_0x278303(0x102)](_0x278303(0xdc))[_0x278303(0x123)]={'getRevision':async({revisionId:_0x490319})=>(await this[_0x278303(0x127)](),await this[_0x278303(0xe2)][_0x278303(0xc1)](_0x490319)),'updateRevisions':async _0x19b984=>{const _0x7ccd6b=_0x278303;await this[_0x7ccd6b(0x127)]();const _0x3e3f3e=this[_0x7ccd6b(0xc0)][_0x7ccd6b(0xbf)];if(_0xf6f215&&0x1===_0x19b984[_0x7ccd6b(0x116)]&&_0x19b984[0x0]['id']===_0x3e3f3e['id'])return _0x19b984;for(const _0x79a098 of _0x19b984)_0x79a098['id']===_0x3e3f3e['id']&&(_0x79a098[_0x7ccd6b(0x108)]=_0x79a098[_0x7ccd6b(0x109)]===_0x79a098[_0x7ccd6b(0x10b)]);return this[_0x7ccd6b(0xe2)][_0x7ccd6b(0xd9)](_0x19b984,this[_0x7ccd6b(0xc6)])[_0x7ccd6b(0xea)](_0xa2987d=>(this[_0x7ccd6b(0xc6)]=_0xa2987d,_0x19b984))[_0x7ccd6b(0xbd)](_0x10f187=>{const _0x568e67=_0x7ccd6b;if(st(_0x10f187)||_0x568e67(0xfb)===_0x10f187[_0x568e67(0xcf)]&&void 0x0!==_0x10f187[_0x568e67(0xc7)][_0x568e67(0xe6)]){for(const _0x205511 of _0x19b984){!this[_0x568e67(0xc0)][_0x568e67(0x125)][_0x568e67(0xc1)](_0x205511['id'])||this[_0x568e67(0xc0)][_0x568e67(0x100)](_0x205511['id'],_0x205511,!0x1);}if(st(_0x10f187))throw _0x10f187;return _0x19b984;}throw _0x10f187;});}},this[_0x278303(0xcc)](this[_0x278303(0xe2)],_0x278303(0x117),(_0x37a928,{revisionsData:_0x6c7c8a,requestId:_0x48e9de})=>{const _0x309105=_0x278303;Math[_0x309105(0xde)](..._0x6c7c8a[_0x309105(0x126)](_0x3b7fae=>_0x3b7fae[_0x309105(0x10b)]))>this[_0x309105(0xcb)]()-0x1?this[_0x309105(0xc2)]()[_0x309105(0xea)](()=>{const _0x5ce8a5=_0x309105;this[_0x5ce8a5(0xdd)](_0x6c7c8a,_0x48e9de);}):this[_0x309105(0xdd)](_0x6c7c8a,_0x48e9de);});const {revisions:_0x412a5e,requestId:_0x2fc829}=await this[_0x278303(0xe2)][_0x278303(0xd5)](_0x2e427c[_0x278303(0xf6)]);_0x2e427c[_0x278303(0xf3)](this),this[_0x278303(0xc6)]=_0x2fc829,await this[_0x278303(0x119)](_0x412a5e);for(const _0x2e9369 of _0x412a5e)this[_0x278303(0xc0)][_0x278303(0xd4)](_0x2e9369);this[_0x278303(0xcc)](_0x37b388,_0x278303(0xe7),(_0x24abbb,_0x2b0fad,_0x936b80)=>{const _0x421bec=_0x278303;_0x936b80&&(this[_0x421bec(0x104)]=_0x37b388[_0x421bec(0xff)],_0x24abbb[_0x421bec(0xf8)]());}),this[_0x278303(0xc0)][_0x278303(0xd3)](_0x278303(0x11e))['to'](_0x2e427c,_0x278303(0x122),_0x3b7a87=>_0x3b7a87===_0x3e38e0[_0x278303(0x12c)]);}async[_0x280e33(0x10e)](){const _0xf2c7cf=_0x280e33,_0x49bee4=this[_0xf2c7cf(0x10f)][_0xf2c7cf(0x121)][_0xf2c7cf(0x102)](_0x4f8c9f),_0x2cb0e9=this[_0xf2c7cf(0x10f)][_0xf2c7cf(0x121)][_0xf2c7cf(0x102)](_0x26334c),_0x3bc2fd=async()=>{const _0xeaed8e=_0xf2c7cf,_0xcfda6c=this[_0xeaed8e(0xc0)][_0xeaed8e(0xbf)],_0x58d38a=_0xcfda6c['id'],_0xade895=_0x58d38a!==_0x2cb0e9[_0xeaed8e(0xdf)];if(_0xade895){const _0x14fe8f=_0x2cb0e9[_0xeaed8e(0xff)]-this[_0xeaed8e(0x104)],_0x390d1d=this[_0xeaed8e(0xcb)]();this[_0xeaed8e(0xc0)][_0xeaed8e(0x112)][_0xeaed8e(0xc9)]();if(_0xcfda6c[_0xeaed8e(0x10b)]+_0x14fe8f!==_0x390d1d){const _0xfa7d28=_0xcfda6c[_0xeaed8e(0x109)]+_0x14fe8f,_0x51fa24=this[_0xeaed8e(0x10f)][_0xeaed8e(0x121)][_0xeaed8e(0x102)](_0x59b89d),_0x192d4f=this[_0xeaed8e(0xc0)][_0xeaed8e(0xf7)]({'revision':_0xcfda6c,'from':_0xfa7d28,'to':_0x390d1d});_0x192d4f['id']=_0xcfda6c['id'];const _0x483ef5=_0x192d4f[_0xeaed8e(0xf0)][_0xeaed8e(0x126)](_0x15d2a0=>_0x51fa24[_0xeaed8e(0xcd)](_0x15d2a0));_0xcfda6c[_0xeaed8e(0x111)]({..._0x192d4f,'authors':_0x483ef5},!0x0),this[_0xeaed8e(0xc0)][_0xeaed8e(0x100)](_0xcfda6c['id'],_0x192d4f,!0x0);}this[_0xeaed8e(0xc0)][_0xeaed8e(0x110)]=_0x390d1d,(_0xcfda6c[_0xeaed8e(0x10b)]===_0xcfda6c[_0xeaed8e(0x109)]&&!this[_0xeaed8e(0xc0)][_0xeaed8e(0xda)][_0xeaed8e(0xe9)](_0x58d38a)&&this[_0xeaed8e(0xc0)][_0xeaed8e(0x125)][_0xeaed8e(0xf1)][_0xeaed8e(0x129)](_0x58d38a),this[_0xeaed8e(0xc0)][_0xeaed8e(0xca)](_0x390d1d));}const {revisions:_0x429db5,requestId:_0x5a7211}=await this[_0xeaed8e(0xe2)][_0xeaed8e(0x10e)](_0x49bee4[_0xeaed8e(0xf6)],this[_0xeaed8e(0xc6)]);_0xade895&&_0x429db5[_0xeaed8e(0x116)]>0x0?_0x2cb0e9[_0xeaed8e(0x12a)]():(await this[_0xeaed8e(0x119)](_0x429db5),this[_0xeaed8e(0xdd)](_0x429db5,_0x5a7211),this[_0xeaed8e(0xc0)][_0xeaed8e(0xd2)]());};return _0x2cb0e9[_0xf2c7cf(0xd6)]?_0x3bc2fd():new Promise((_0x4afc8f,_0x5105ed)=>{const _0x3f43b6=_0xf2c7cf;_0x2cb0e9[_0x3f43b6(0x11b)](_0x3f43b6(0xe7),()=>{const _0x176905=_0x3f43b6;_0x3bc2fd()[_0x176905(0xea)](_0x4afc8f)[_0x176905(0xbd)](_0x5105ed);});});}[_0x280e33(0x118)](){const _0x65b56e=_0x280e33;super[_0x65b56e(0x118)]();}async[_0x280e33(0x127)](){const _0x524a73=_0x280e33;this[_0x524a73(0xe2)][_0x524a73(0xbe)]||await new Promise(_0x58b2c2=>{const _0x5a0b17=_0x524a73;this[_0x5a0b17(0xcc)](this[_0x5a0b17(0xe2)],_0x5a0b17(0xef),_0x280873=>{const _0x5bae81=_0x5a0b17;_0x280873[_0x5bae81(0xf8)](),_0x58b2c2();});});}[_0x280e33(0xcb)](){const _0x1075d5=_0x280e33,_0x45d41d=this[_0x1075d5(0x10f)][_0x1075d5(0x121)][_0x1075d5(0x102)](_0x26334c)[_0x1075d5(0x128)][_0x1075d5(0xc8)]()[_0x1075d5(0x114)]();for(const _0x27b46e of _0x45d41d)if(_0x1075d5(0x106)!==_0x27b46e[_0x1075d5(0x12b)]||_0x27b46e[_0x1075d5(0x10d)])return _0x27b46e[_0x1075d5(0x11d)]+0x1;}[_0x280e33(0xc2)](){const _0x398c82=_0x280e33,_0x183ede=this[_0x398c82(0x10f)][_0x398c82(0x121)][_0x398c82(0x102)](_0x26334c);return new Promise(_0x10fb1c=>{const _0x2e8333=_0x398c82;_0x183ede[_0x2e8333(0x105)]?_0x183ede[_0x2e8333(0x11b)](_0x2e8333(0xfc),()=>{const _0x19421d=_0x2e8333;_0x10fb1c(this[_0x19421d(0xcb)]());}):_0x10fb1c(this[_0x2e8333(0xcb)]());});}[_0x280e33(0xdd)](_0x3236b3,_0x38a6a9){const _0x2d55c0=_0x280e33,_0x1ca8ae=this[_0x2d55c0(0xc0)][_0x2d55c0(0x125)];this[_0x2d55c0(0xc6)]=_0x38a6a9;for(const _0x5e4d95 of _0x3236b3){const _0x50c4ca=_0x1ca8ae[_0x2d55c0(0xc1)](_0x5e4d95['id']);if(_0x50c4ca){if((_0x5e4d95[_0x2d55c0(0x109)]||_0x5e4d95[_0x2d55c0(0x10b)])&&(_0x5e4d95[_0x2d55c0(0xbb)]=null),_0x50c4ca===this[_0x2d55c0(0xc0)][_0x2d55c0(0xbf)]){const _0x92f083=Math[_0x2d55c0(0xde)](_0x50c4ca[_0x2d55c0(0x10b)],_0x5e4d95[_0x2d55c0(0x10b)]),_0x33b955=Math[_0x2d55c0(0xde)](_0x50c4ca[_0x2d55c0(0x109)],_0x5e4d95[_0x2d55c0(0x109)]);let _0x132015;_0x50c4ca[_0x2d55c0(0x10b)]===_0x5e4d95[_0x2d55c0(0x10b)]&&_0x50c4ca[_0x2d55c0(0x109)]===_0x5e4d95[_0x2d55c0(0x109)]?(_0x132015=!0x0,this[_0x2d55c0(0xfe)](_0x5e4d95)):_0x5e4d95[_0x2d55c0(0x10b)]===_0x92f083&&_0x5e4d95[_0x2d55c0(0x109)]===_0x33b955?_0x132015=!0x1:(_0x50c4ca[_0x2d55c0(0x10b)]===_0x92f083&&_0x50c4ca[_0x2d55c0(0x109)]===_0x33b955||this[_0x2d55c0(0xed)]({'revision':_0x50c4ca,'from':_0x33b955,'to':_0x92f083}),_0x132015=!0x0),_0x132015&&(delete _0x5e4d95[_0x2d55c0(0x109)],delete _0x5e4d95[_0x2d55c0(0x10b)],delete _0x5e4d95[_0x2d55c0(0xbb)],delete _0x5e4d95[_0x2d55c0(0xeb)],delete _0x5e4d95[_0x2d55c0(0xf0)]);}this[_0x2d55c0(0xc0)][_0x2d55c0(0xe3)](_0x5e4d95),this[_0x2d55c0(0xfe)](_0x5e4d95);}else this[_0x2d55c0(0xc0)][_0x2d55c0(0xd4)](_0x5e4d95);}const _0xf8a473=_0x1ca8ae[_0x2d55c0(0xd8)]();_0xf8a473[_0x2d55c0(0x114)]();for(let _0x421448=0x0;_0x421448<_0xf8a473[_0x2d55c0(0x116)]-0x1;_0x421448++){const _0xc04f58=_0xf8a473[_0x421448],_0x17348d=_0xf8a473[_0x421448+0x1];if(_0xc04f58[_0x2d55c0(0x109)]<_0x17348d[_0x2d55c0(0x10b)]){const _0x43343f=_0x17348d[_0x2d55c0(0x10b)],_0x50b5d0=Math[_0x2d55c0(0xde)](_0x43343f,_0xc04f58[_0x2d55c0(0x10b)]);this[_0x2d55c0(0xed)]({'revision':_0xc04f58,'from':_0x43343f,'to':_0x50b5d0});}}}[_0x280e33(0xed)]({revision:_0x3d4d98,from:_0x424128,to:_0x19b4a4}={}){const _0x4ed023=_0x280e33,_0xd884ce=this[_0x4ed023(0x10f)][_0x4ed023(0x121)][_0x4ed023(0x102)](_0x59b89d),_0x2504d1=this[_0x4ed023(0xc0)][_0x4ed023(0xf7)]({'revision':_0x3d4d98,'from':_0x424128,'to':_0x19b4a4});_0x2504d1[_0x4ed023(0xd1)]=_0x2504d1[_0x4ed023(0xf0)][_0x4ed023(0x126)](_0x350227=>_0xd884ce[_0x4ed023(0xcd)](_0x350227)),_0x3d4d98[_0x4ed023(0x111)](_0x2504d1);}[_0x280e33(0xfe)](_0x425861){const _0x42f7e7=_0x280e33,_0x34727c={};_0x34727c['id']=_0x425861['id'];for(const _0x22bbdb of Object[_0x42f7e7(0x12d)](_0x425861))'id'!==_0x22bbdb&&(_0x34727c[_0x22bbdb]=void 0x0);this[_0x42f7e7(0xc0)][_0x42f7e7(0x100)](_0x34727c['id'],_0x34727c,!0x0);}async[_0x280e33(0x119)](_0x51cc67){const _0x2a3bbc=_0x280e33,_0x2c900f=this[_0x2a3bbc(0x10f)][_0x2a3bbc(0x121)][_0x2a3bbc(0x102)](_0x59b89d),{connection:_0x5a5e4f}=this[_0x2a3bbc(0x10f)][_0x2a3bbc(0x121)][_0x2a3bbc(0x102)](_0x4f8c9f),_0x27b501=new Set();for(const _0x3a3206 of _0x51cc67){for(const _0x13d094 of _0x3a3206[_0x2a3bbc(0xf0)])_0x268317(_0x13d094);_0x3a3206[_0x2a3bbc(0xe1)]&&_0x268317(_0x3a3206[_0x2a3bbc(0xe1)]);}if(0x0===_0x27b501[_0x2a3bbc(0xf9)])return;const _0x540582=await _0x5cd858[_0x2a3bbc(0xd0)](_0x5a5e4f,Array[_0x2a3bbc(0xbc)](_0x27b501));for(const _0x4c344b of _0x540582)_0x2c900f[_0x2a3bbc(0xcd)](_0x4c344b['id'])||_0x2c900f[_0x2a3bbc(0x103)](_0x4c344b);function _0x268317(_0x1d7d2e){const _0x13eefa=_0x2a3bbc;_0x2c900f[_0x13eefa(0xcd)](_0x1d7d2e)||_0x27b501[_0x13eefa(0xce)](_0x1d7d2e);}}}function st(_0x4022e7){const _0x4c20d4=_0x280e33;return _0x4022e7[_0x4c20d4(0xfa)][_0x4c20d4(0x11f)](_0x4c20d4(0xe0))||_0x4022e7[_0x4c20d4(0xfa)][_0x4c20d4(0x11f)](_0x4c20d4(0xec))||_0x4022e7[_0x4c20d4(0xfa)][_0x4c20d4(0x11f)](_0x4c20d4(0x10a));}
23
+ function _0x47cc(){const _0x263f2d=['_revisionHistoryService','remove','sessionId','marker','creatorId','_offset','949490nUfWnh','config','then','code','from','baseVersion','_createCurrentRevision','addRevisionData','keys','RevisionHistory','wrongRequestId','setRevisionData','58puBmuU','currentRevision','repository','66942vcRgLR','init','revisionsUpdated','change:_isPendingUpdate','authors','type','_revisions','cloudServices.bundleVersion','catch','buildRevisionData','CONNECTED','CloudServicesRevisionHistoryAdapter','connected','isEnabled','plugins','2338101QQtVaE','isOfficialPlugin','requires','_startingVersion','getRevision','getRevisions','isEmptyCurrent','bind','18682930CgzqnO','off','addToReconnectionStack','diffData','startsWith','isPremiumPlugin','setSource','isConnected','_handleRevisionsUpdate','serverHistory','reverse','isBundleUploaded','cloud-services-internal-error:\x20Not\x20connected.','createdAt','_revisionTracker','cloud-services-internal-error:\x20Request\x20timeout.','_update','adapter','_revisionDataBuilder','connect','getOperations','collaboration.channelId','_bufferedUpdates','getMany','state','_waitForServiceReady','getUser','reconnect','_fixRevision','connection','change:_isConnected','_bufferUpdate','_oldOffset','data','756329kTmExi','toVersion','400','get','_getLatestVersionFromServerOperations','length','748843FsshuG','_isConnected','RevisionHistoryService','pluginName','map','size','72SjZDLl','listenTo','updateRevisions','authorsIds','_fetchMissingUsers','message','has','affectsData','_handleReconnectionError','_getLatestVersion','fromVersion','add','_preventResendingRevisionData','_isPendingUpdate','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','RevisionTracker','_lastRequestId','destroy','reInit','1354026ISypIw','24zWTxlh','addUser','sendBufferedUpdates','once','max','editor'];_0x47cc=function(){return _0x263f2d;};return _0x47cc();}const _0x399fec=_0x1bb1;(function(_0x258fb3,_0x40ca21){const _0x13706c=_0x1bb1,_0x3a1890=_0x258fb3();while(!![]){try{const _0x4d8631=-parseInt(_0x13706c(0x14a))/0x1+-parseInt(_0x13706c(0x108))/0x2*(parseInt(_0x13706c(0x10b))/0x3)+-parseInt(_0x13706c(0xf0))/0x4*(-parseInt(_0x13706c(0xfc))/0x5)+-parseInt(_0x13706c(0xef))/0x6+parseInt(_0x13706c(0x144))/0x7*(-parseInt(_0x13706c(0xdc))/0x8)+parseInt(_0x13706c(0x11a))/0x9+parseInt(_0x13706c(0x122))/0xa;if(_0x4d8631===_0x40ca21)break;else _0x3a1890['push'](_0x3a1890['shift']());}catch(_0x25be77){_0x3a1890['push'](_0x3a1890['shift']());}}}(_0x47cc,0xa4693));import{Plugin as _0x19d7e6}from'ckeditor5/src/core.js';import{version as _0xe12f39}from'ckeditor5/src/utils.js';import{Users as _0x2de79d}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x2ff141}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x4d4081}from'../realtimecollaborativeediting/websocketgateway.js';function _0x1bb1(_0x42c1f3,_0x36d9ab){const _0x47cc17=_0x47cc();return _0x1bb1=function(_0x1bb162,_0x491bf8){_0x1bb162=_0x1bb162-0xd8;let _0x3d1ccc=_0x47cc17[_0x1bb162];return _0x3d1ccc;},_0x1bb1(_0x42c1f3,_0x36d9ab);}import{Sessions as _0x1260b0}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x1b67fe,RevisionHistoryService as _0x121faa,User as _0x2195dd,WEB_SOCKET_GATEWAY_STATES as _0x3450a2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x19d7e6{static [_0x399fec(0xd8)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x121faa)());[_0x399fec(0xec)];[_0x399fec(0x130)];[_0x399fec(0xf6)];[_0x399fec(0x142)];static get[_0x399fec(0x11c)](){const _0x47108c=_0x399fec;return[_0x4d4081,_0x2ff141,_0x47108c(0x105),_0x1260b0,_0x2de79d];}static get[_0x399fec(0xd9)](){const _0x1973d5=_0x399fec;return _0x1973d5(0x116);}static get[_0x399fec(0x11b)](){return!0x0;}static get[_0x399fec(0x127)](){return!0x0;}constructor(_0xf444ff){const _0x3e701e=_0x399fec;super(_0xf444ff);const _0x376358=this[_0x3e701e(0xf5)][_0x3e701e(0xfd)][_0x3e701e(0x147)](_0x3e701e(0x137));this[_0x3e701e(0xec)]=null,this[_0x3e701e(0x130)]=this[_0x3e701e(0xf5)][_0x3e701e(0x119)][_0x3e701e(0x147)](_0x3e701e(0xeb)),this[_0x3e701e(0xf6)]=new CloudServicesRevisionHistoryAdapter[(_0x3e701e(0xd8))](_0x376358);}async[_0x399fec(0x10c)](){const _0x5a3bf5=_0x399fec,_0x2a90db=this[_0x5a3bf5(0xf5)][_0x5a3bf5(0x119)][_0x5a3bf5(0x147)](_0x2ff141),_0x237485=_0x2a90db[_0x5a3bf5(0x12b)],_0x2df12c=this[_0x5a3bf5(0xf5)][_0x5a3bf5(0x119)][_0x5a3bf5(0x147)](_0x4d4081);this[_0x5a3bf5(0x130)][_0x5a3bf5(0x128)]({'history':_0x237485,'getLatestVersion':()=>this[_0x5a3bf5(0xe5)](),'getCurrentRevisionId':()=>_0x2a90db[_0x5a3bf5(0xf8)]});const _0x4f0fee=this[_0x5a3bf5(0xf5)][_0x5a3bf5(0xfd)][_0x5a3bf5(0x147)](_0x5a3bf5(0x112))||_0xe12f39,_0x44e688=await _0x1b67fe[_0x5a3bf5(0x12d)](_0x2df12c[_0x5a3bf5(0x13f)],_0x4f0fee);this[_0x5a3bf5(0xf5)][_0x5a3bf5(0x119)][_0x5a3bf5(0x147)](_0x5a3bf5(0x105))[_0x5a3bf5(0x133)]={'getRevision':async({revisionId:_0x5e5bed})=>(await this[_0x5a3bf5(0x13b)](),await this[_0x5a3bf5(0xf6)][_0x5a3bf5(0x11e)](_0x5e5bed)),'updateRevisions':async _0x5ee3ce=>{const _0x30fd02=_0x5a3bf5;await this[_0x30fd02(0x13b)]();const _0xe92833=this[_0x30fd02(0x130)][_0x30fd02(0x109)];if(_0x44e688&&0x1===_0x5ee3ce[_0x30fd02(0x149)]&&_0x5ee3ce[0x0]['id']===_0xe92833['id'])return _0x5ee3ce;for(const _0x55bd87 of _0x5ee3ce)_0x55bd87['id']===_0xe92833['id']&&(_0x55bd87[_0x30fd02(0x120)]=_0x55bd87[_0x30fd02(0xe6)]===_0x55bd87[_0x30fd02(0x145)]);return this[_0x30fd02(0xf6)][_0x30fd02(0xde)](_0x5ee3ce,this[_0x30fd02(0xec)])[_0x30fd02(0xfe)](_0x5ae012=>(this[_0x30fd02(0xec)]=_0x5ae012,_0x5ee3ce))[_0x30fd02(0x113)](_0x537948=>{const _0xb929eb=_0x30fd02;if(ot(_0x537948)||_0xb929eb(0x146)===_0x537948[_0xb929eb(0xff)]&&void 0x0!==_0x537948[_0xb929eb(0x143)][_0xb929eb(0x106)]){for(const _0x5b1504 of _0x5ee3ce){!this[_0xb929eb(0x130)][_0xb929eb(0x10a)][_0xb929eb(0x11e)](_0x5b1504['id'])||this[_0xb929eb(0x130)][_0xb929eb(0x141)](_0x5b1504['id'],_0x5b1504,!0x1);}if(ot(_0x537948))throw _0x537948;return _0x5ee3ce;}throw _0x537948;});}},this[_0x5a3bf5(0xdd)](this[_0x5a3bf5(0xf6)],_0x5a3bf5(0x10d),(_0x48f681,{revisionsData:_0x4249a7,requestId:_0x1b51e2})=>{const _0x28cde3=_0x5a3bf5;Math[_0x28cde3(0xf4)](..._0x4249a7[_0x28cde3(0xda)](_0x1b101f=>_0x1b101f[_0x28cde3(0x145)]))>this[_0x28cde3(0x148)]()-0x1?this[_0x28cde3(0xe5)]()[_0x28cde3(0xfe)](()=>{const _0x148126=_0x28cde3;this[_0x148126(0x12a)](_0x4249a7,_0x1b51e2);}):this[_0x28cde3(0x12a)](_0x4249a7,_0x1b51e2);});const {revisions:_0x4f9744,requestId:_0x5244d9}=await this[_0x5a3bf5(0xf6)][_0x5a3bf5(0x135)](_0x2df12c[_0x5a3bf5(0x13f)]);_0x2df12c[_0x5a3bf5(0x124)](this),this[_0x5a3bf5(0xec)]=_0x5244d9,await this[_0x5a3bf5(0xe0)](_0x4f9744);for(const _0xc36dfa of _0x4f9744)this[_0x5a3bf5(0x130)][_0x5a3bf5(0x103)](_0xc36dfa);this[_0x5a3bf5(0xdd)](_0x2a90db,_0x5a3bf5(0x140),(_0xfb9223,_0x58e906,_0x1d13eb)=>{const _0x1f7754=_0x5a3bf5;_0x1d13eb&&(this[_0x1f7754(0x142)]=_0x2a90db[_0x1f7754(0xfb)],_0xfb9223[_0x1f7754(0x123)]());}),this[_0x5a3bf5(0x130)][_0x5a3bf5(0x121)](_0x5a3bf5(0x118))['to'](_0x2df12c,_0x5a3bf5(0x13a),_0x2f4baf=>_0x2f4baf===_0x3450a2[_0x5a3bf5(0x115)]);}async[_0x399fec(0x13d)](){const _0x10cfed=_0x399fec,_0x4eb693=this[_0x10cfed(0xf5)][_0x10cfed(0x119)][_0x10cfed(0x147)](_0x4d4081),_0x36c719=this[_0x10cfed(0xf5)][_0x10cfed(0x119)][_0x10cfed(0x147)](_0x2ff141),_0x46fa71=async()=>{const _0x28aa3a=_0x10cfed,_0x3ed9ab=this[_0x28aa3a(0x130)][_0x28aa3a(0x109)],_0x25e1a0=_0x3ed9ab['id'],_0x32e8fb=_0x25e1a0!==_0x36c719[_0x28aa3a(0xf8)];if(_0x32e8fb){const _0x4be932=_0x36c719[_0x28aa3a(0xfb)]-this[_0x28aa3a(0x142)],_0x59f953=this[_0x28aa3a(0x148)]();this[_0x28aa3a(0x130)][_0x28aa3a(0x134)][_0x28aa3a(0xee)]();if(_0x3ed9ab[_0x28aa3a(0x145)]+_0x4be932!==_0x59f953){const _0x2b3947=_0x3ed9ab[_0x28aa3a(0xe6)]+_0x4be932,_0x3a3cec=this[_0x28aa3a(0xf5)][_0x28aa3a(0x119)][_0x28aa3a(0x147)](_0x2de79d),_0xb8f263=this[_0x28aa3a(0x130)][_0x28aa3a(0x114)]({'revision':_0x3ed9ab,'from':_0x2b3947,'to':_0x59f953});_0xb8f263['id']=_0x3ed9ab['id'];const _0x5e1430=_0xb8f263[_0x28aa3a(0xdf)][_0x28aa3a(0xda)](_0x8e7e29=>_0x3a3cec[_0x28aa3a(0x13c)](_0x8e7e29));_0x3ed9ab[_0x28aa3a(0x132)]({..._0xb8f263,'authors':_0x5e1430},!0x0),this[_0x28aa3a(0x130)][_0x28aa3a(0x141)](_0x3ed9ab['id'],_0xb8f263,!0x0);}this[_0x28aa3a(0x130)][_0x28aa3a(0x11d)]=_0x59f953,(_0x3ed9ab[_0x28aa3a(0x145)]===_0x3ed9ab[_0x28aa3a(0xe6)]&&!this[_0x28aa3a(0x130)][_0x28aa3a(0x138)][_0x28aa3a(0xe2)](_0x25e1a0)&&this[_0x28aa3a(0x130)][_0x28aa3a(0x10a)][_0x28aa3a(0x111)][_0x28aa3a(0xf7)](_0x25e1a0),this[_0x28aa3a(0x130)][_0x28aa3a(0x102)](_0x59f953));}const {revisions:_0x2cf518,requestId:_0x4a61f4}=await this[_0x28aa3a(0xf6)][_0x28aa3a(0x13d)](_0x4eb693[_0x28aa3a(0x13f)],this[_0x28aa3a(0xec)]);_0x32e8fb&&_0x2cf518[_0x28aa3a(0x149)]>0x0?_0x36c719[_0x28aa3a(0xe4)]():(await this[_0x28aa3a(0xe0)](_0x2cf518),this[_0x28aa3a(0x12a)](_0x2cf518,_0x4a61f4),this[_0x28aa3a(0x130)][_0x28aa3a(0xf2)]());};return _0x36c719[_0x10cfed(0x14b)]?_0x46fa71():new Promise((_0x1511e,_0x14a419)=>{const _0x521206=_0x10cfed;_0x36c719[_0x521206(0xf3)](_0x521206(0x140),()=>{const _0x436d1b=_0x521206;_0x46fa71()[_0x436d1b(0xfe)](_0x1511e)[_0x436d1b(0x113)](_0x14a419);});});}[_0x399fec(0xed)](){const _0x4c5ca6=_0x399fec;super[_0x4c5ca6(0xed)]();}async[_0x399fec(0x13b)](){const _0x16cc37=_0x399fec;this[_0x16cc37(0xf6)][_0x16cc37(0x129)]||await new Promise(_0x564604=>{const _0x3df849=_0x16cc37;this[_0x3df849(0xdd)](this[_0x3df849(0xf6)],_0x3df849(0x117),_0x1f8a2e=>{const _0x107ff7=_0x3df849;_0x1f8a2e[_0x107ff7(0x123)](),_0x564604();});});}[_0x399fec(0x148)](){const _0x37e4b5=_0x399fec,_0x4fcdc9=this[_0x37e4b5(0xf5)][_0x37e4b5(0x119)][_0x37e4b5(0x147)](_0x2ff141)[_0x37e4b5(0x12b)][_0x37e4b5(0x136)]()[_0x37e4b5(0x12c)]();for(const _0x4aceff of _0x4fcdc9)if(_0x37e4b5(0xf9)!==_0x4aceff[_0x37e4b5(0x110)]||_0x4aceff[_0x37e4b5(0xe3)])return _0x4aceff[_0x37e4b5(0x101)]+0x1;}[_0x399fec(0xe5)](){const _0x1b464b=_0x399fec,_0x51cc47=this[_0x1b464b(0xf5)][_0x1b464b(0x119)][_0x1b464b(0x147)](_0x2ff141);return new Promise(_0x1141e0=>{const _0x4c6ac5=_0x1b464b;_0x51cc47[_0x4c6ac5(0xe9)]?_0x51cc47[_0x4c6ac5(0xf3)](_0x4c6ac5(0x10e),()=>{const _0xcc148e=_0x4c6ac5;_0x1141e0(this[_0xcc148e(0x148)]());}):_0x1141e0(this[_0x4c6ac5(0x148)]());});}[_0x399fec(0x12a)](_0x1e5a80,_0x1276ce){const _0x38fe7c=_0x399fec,_0x309e0a=this[_0x38fe7c(0x130)][_0x38fe7c(0x10a)];this[_0x38fe7c(0xec)]=_0x1276ce;for(const _0x556fc9 of _0x1e5a80){const _0x2ae32d=_0x309e0a[_0x38fe7c(0x11e)](_0x556fc9['id']);if(_0x2ae32d){if((_0x556fc9[_0x38fe7c(0xe6)]||_0x556fc9[_0x38fe7c(0x145)])&&(_0x556fc9[_0x38fe7c(0x125)]=null),_0x2ae32d===this[_0x38fe7c(0x130)][_0x38fe7c(0x109)]){const _0x3a6ac4=Math[_0x38fe7c(0xf4)](_0x2ae32d[_0x38fe7c(0x145)],_0x556fc9[_0x38fe7c(0x145)]),_0x3774ab=Math[_0x38fe7c(0xf4)](_0x2ae32d[_0x38fe7c(0xe6)],_0x556fc9[_0x38fe7c(0xe6)]);let _0x6dde46;_0x2ae32d[_0x38fe7c(0x145)]===_0x556fc9[_0x38fe7c(0x145)]&&_0x2ae32d[_0x38fe7c(0xe6)]===_0x556fc9[_0x38fe7c(0xe6)]?(_0x6dde46=!0x0,this[_0x38fe7c(0xe8)](_0x556fc9)):_0x556fc9[_0x38fe7c(0x145)]===_0x3a6ac4&&_0x556fc9[_0x38fe7c(0xe6)]===_0x3774ab?_0x6dde46=!0x1:(_0x2ae32d[_0x38fe7c(0x145)]===_0x3a6ac4&&_0x2ae32d[_0x38fe7c(0xe6)]===_0x3774ab||this[_0x38fe7c(0x13e)]({'revision':_0x2ae32d,'from':_0x3774ab,'to':_0x3a6ac4}),_0x6dde46=!0x0),_0x6dde46&&(delete _0x556fc9[_0x38fe7c(0xe6)],delete _0x556fc9[_0x38fe7c(0x145)],delete _0x556fc9[_0x38fe7c(0x125)],delete _0x556fc9[_0x38fe7c(0x12f)],delete _0x556fc9[_0x38fe7c(0xdf)]);}this[_0x38fe7c(0x130)][_0x38fe7c(0x107)](_0x556fc9),this[_0x38fe7c(0xe8)](_0x556fc9);}else this[_0x38fe7c(0x130)][_0x38fe7c(0x103)](_0x556fc9);}const _0x54e3e8=_0x309e0a[_0x38fe7c(0x11f)]();_0x54e3e8[_0x38fe7c(0x12c)]();for(let _0x454d3a=0x0;_0x454d3a<_0x54e3e8[_0x38fe7c(0x149)]-0x1;_0x454d3a++){const _0xa20437=_0x54e3e8[_0x454d3a],_0x12e10a=_0x54e3e8[_0x454d3a+0x1];if(_0xa20437[_0x38fe7c(0xe6)]<_0x12e10a[_0x38fe7c(0x145)]){const _0x35be64=_0x12e10a[_0x38fe7c(0x145)],_0x382e10=Math[_0x38fe7c(0xf4)](_0x35be64,_0xa20437[_0x38fe7c(0x145)]);this[_0x38fe7c(0x13e)]({'revision':_0xa20437,'from':_0x35be64,'to':_0x382e10});}}}[_0x399fec(0x13e)]({revision:_0x2ad094,from:_0x36df9e,to:_0x5be831}={}){const _0x128ee1=_0x399fec,_0x403e15=this[_0x128ee1(0xf5)][_0x128ee1(0x119)][_0x128ee1(0x147)](_0x2de79d),_0x7542d=this[_0x128ee1(0x130)][_0x128ee1(0x114)]({'revision':_0x2ad094,'from':_0x36df9e,'to':_0x5be831});_0x7542d[_0x128ee1(0x10f)]=_0x7542d[_0x128ee1(0xdf)][_0x128ee1(0xda)](_0x523eb5=>_0x403e15[_0x128ee1(0x13c)](_0x523eb5)),_0x2ad094[_0x128ee1(0x132)](_0x7542d);}[_0x399fec(0xe8)](_0x1c86d4){const _0x317a05=_0x399fec,_0x199cef={};_0x199cef['id']=_0x1c86d4['id'];for(const _0x2c88c6 of Object[_0x317a05(0x104)](_0x1c86d4))'id'!==_0x2c88c6&&(_0x199cef[_0x2c88c6]=void 0x0);this[_0x317a05(0x130)][_0x317a05(0x141)](_0x199cef['id'],_0x199cef,!0x0);}async[_0x399fec(0xe0)](_0x3c9761){const _0x31755f=_0x399fec,_0x5a3726=this[_0x31755f(0xf5)][_0x31755f(0x119)][_0x31755f(0x147)](_0x2de79d),{connection:_0x1a2e2e}=this[_0x31755f(0xf5)][_0x31755f(0x119)][_0x31755f(0x147)](_0x4d4081),_0x4f7d38=new Set();for(const _0xd0ebf8 of _0x3c9761){for(const _0x4e3e3d of _0xd0ebf8[_0x31755f(0xdf)])_0x5e5045(_0x4e3e3d);_0xd0ebf8[_0x31755f(0xfa)]&&_0x5e5045(_0xd0ebf8[_0x31755f(0xfa)]);}if(0x0===_0x4f7d38[_0x31755f(0xdb)])return;const _0x3d9c41=await _0x2195dd[_0x31755f(0x139)](_0x1a2e2e,Array[_0x31755f(0x100)](_0x4f7d38));for(const _0x148d8e of _0x3d9c41)_0x5a3726[_0x31755f(0x13c)](_0x148d8e['id'])||_0x5a3726[_0x31755f(0xf1)](_0x148d8e);function _0x5e5045(_0x255e90){const _0x4b0bf4=_0x31755f;_0x5a3726[_0x4b0bf4(0x13c)](_0x255e90)||_0x4f7d38[_0x4b0bf4(0xe7)](_0x255e90);}}}function ot(_0x49be2b){const _0x336423=_0x399fec;return _0x49be2b[_0x336423(0xe1)][_0x336423(0x126)](_0x336423(0xea))||_0x49be2b[_0x336423(0xe1)][_0x336423(0x126)](_0x336423(0x12e))||_0x49be2b[_0x336423(0xe1)][_0x336423(0x126)](_0x336423(0x131));}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4210dd=_0x5d7e;(function(_0x36e21f,_0x339fd1){const _0x108f10=_0x5d7e,_0xa458ca=_0x36e21f();while(!![]){try{const _0x10cb93=parseInt(_0x108f10(0x1c1))/0x1+parseInt(_0x108f10(0x1ac))/0x2*(parseInt(_0x108f10(0x1a5))/0x3)+parseInt(_0x108f10(0x1c6))/0x4*(parseInt(_0x108f10(0x1b6))/0x5)+-parseInt(_0x108f10(0x192))/0x6+-parseInt(_0x108f10(0x1a1))/0x7*(-parseInt(_0x108f10(0x1a4))/0x8)+-parseInt(_0x108f10(0x1c3))/0x9+-parseInt(_0x108f10(0x1b0))/0xa*(parseInt(_0x108f10(0x1a0))/0xb);if(_0x10cb93===_0x339fd1)break;else _0xa458ca['push'](_0xa458ca['shift']());}catch(_0x15dad2){_0xa458ca['push'](_0xa458ca['shift']());}}}(_0x2261,0xef2f7));import{Plugin as _0x18be06}from'ckeditor5/src/core.js';import{User as _0x4605c9,TrackChangesService as _0x3d5fea}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x286e78}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x22355b}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x2261(){const _0x1774ba=['1708669KluEwx','delete','1919961HSTzRQ','from','suggestionUpdated','13036isUtXd','TrackChangesEditing','originalSuggestionId','catch','type','requires','update','connected','data','_bufferedRequests','startsWith','reconnect','editor','4594260tUtofV','cloud-services-internal-error:\x20Not\x20connected.','then','_fetchMissingUsersForThreads','attributes','pluginName','isOfficialPlugin','_saved','collaboration.channelId','isConnected','get','init','connection','cloud-services-internal-error:\x20Request\x20timeout.','77QAwrnM','7hyOXcO','plugins','addUser','14669096ghaiwT','1954338jFwmsv','listenTo','addSuggestionData','adapter','_waitForServiceReady','getMany','find','6aymyDZ','addToReconnectionStack','values','getSuggestion','5440570grKFUm','off','connect','state','isPremiumPlugin','open','415XEZUAD','hasSuggestion','message','getUser','set','CloudServicesTrackChangesAdapter','add','size','_trackChangesService','config','TrackChangesService'];_0x2261=function(){return _0x1774ba;};return _0x2261();}import{Users as _0x51b572}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x18be06{static [_0x4210dd(0x1c0)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3d5fea)());[_0x4210dd(0x18e)];[_0x4210dd(0x1be)];static get[_0x4210dd(0x18a)](){const _0x18e458=_0x4210dd;return[_0x22355b,_0x18e458(0x1c7),_0x286e78];}static get[_0x4210dd(0x197)](){const _0x807ea4=_0x4210dd;return _0x807ea4(0x1bb);}static get[_0x4210dd(0x198)](){return!0x0;}static get[_0x4210dd(0x1b4)](){return!0x0;}constructor(_0x1202a7){const _0x24e6bb=_0x4210dd;super(_0x1202a7);const _0x208c68=this[_0x24e6bb(0x191)][_0x24e6bb(0x1bf)][_0x24e6bb(0x19c)](_0x24e6bb(0x19a));this[_0x24e6bb(0x18e)]=new Map(),this[_0x24e6bb(0x1be)]=new CloudServicesTrackChangesAdapter[(_0x24e6bb(0x1c0))](_0x208c68);}[_0x4210dd(0x19d)](){const _0x4311a9=_0x4210dd,_0x3cb912=this[_0x4311a9(0x191)][_0x4311a9(0x1a2)][_0x4311a9(0x19c)](_0x286e78),_0x131800=this[_0x4311a9(0x191)][_0x4311a9(0x1a2)][_0x4311a9(0x19c)](_0x4311a9(0x1c7));return _0x131800[_0x4311a9(0x1a8)]={'getSuggestion':async _0x4d753a=>{const _0x29935d=_0x4311a9;await this[_0x29935d(0x1a9)]();const _0x1f7b8c=await this[_0x29935d(0x1be)][_0x29935d(0x19c)](_0x4d753a)[_0x29935d(0x1c9)](A);return await this[_0x29935d(0x195)]([_0x1f7b8c]),_0x1f7b8c;},'addSuggestion':async({id:_0xb9396f,type:_0x34a5a2,data:_0x502bb5,originalSuggestionId:_0x28ab9d,attributes:_0x10118e})=>{const _0x33aca2=_0x4311a9;await this[_0x33aca2(0x1a9)]();const _0x2dbf39={'id':_0xb9396f,'type':_0x34a5a2,'data':_0x502bb5,'originalSuggestionId':_0x28ab9d,'attributes':_0x10118e},_0xfb6a23=await this[_0x33aca2(0x1be)][_0x33aca2(0x1bc)](_0xb9396f,_0x34a5a2,_0x502bb5,_0x28ab9d,_0x10118e)[_0x33aca2(0x1c9)](_0x5166bb=>{if(st(_0x5166bb))return new Promise(_0x56b993=>{const _0x120d6d=_0x5d7e;this[_0x120d6d(0x18e)][_0x120d6d(0x1ba)](_0xb9396f,{'resolve':_0x56b993,'suggestionData':_0x2dbf39});});throw _0x5166bb;});return this[_0x33aca2(0x18e)][_0x33aca2(0x1c2)](_0xb9396f),_0xfb6a23;},'updateSuggestion':async(_0x45523c,_0x1f6300)=>{const _0x316b18=_0x4311a9;if(await this[_0x316b18(0x1a9)](),_0x316b18(0x1b5)!==_0x1f6300[_0x316b18(0x1b3)])return this[_0x316b18(0x1be)][_0x316b18(0x18b)](_0x45523c,_0x1f6300)[_0x316b18(0x1c9)](A);}},this[_0x4311a9(0x1a6)](this[_0x4311a9(0x1be)],_0x4311a9(0x1c5),(_0x4e06bc,_0x2e0ada)=>{const _0x3528c9=_0x4311a9;_0x131800[_0x3528c9(0x1b7)](_0x2e0ada['id'])&&(_0x131800[_0x3528c9(0x1af)](_0x2e0ada['id'])[_0x3528c9(0x196)]=_0x2e0ada[_0x3528c9(0x196)]);}),this[_0x4311a9(0x1be)][_0x4311a9(0x1b2)](_0x3cb912[_0x4311a9(0x19e)])[_0x4311a9(0x194)](_0x28267a=>(_0x3cb912[_0x4311a9(0x1ad)](this),this[_0x4311a9(0x195)](_0x28267a)[_0x4311a9(0x194)](()=>{const _0x2deb3d=_0x4311a9;for(const _0xe28c4d of _0x28267a){_0x131800[_0x2deb3d(0x1a7)](_0xe28c4d)[_0x2deb3d(0x199)]=!0x0;}})));}async[_0x4210dd(0x190)](){const _0xb50a38=_0x4210dd,_0x4c4d20=this[_0xb50a38(0x191)][_0xb50a38(0x1a2)][_0xb50a38(0x19c)](_0xb50a38(0x1c7)),{connection:_0xbf2b6e}=this[_0xb50a38(0x191)][_0xb50a38(0x1a2)][_0xb50a38(0x19c)](_0x286e78),_0xe3523b=await this[_0xb50a38(0x1be)][_0xb50a38(0x1b2)](_0xbf2b6e);await this[_0xb50a38(0x195)](_0xe3523b);for(const {suggestionData:_0x152361,resolve:_0x3f0068}of this[_0xb50a38(0x18e)][_0xb50a38(0x1ae)]()){let _0xb8cf0a=_0xe3523b[_0xb50a38(0x1ab)](_0x2686a9=>_0x2686a9['id']===_0x152361['id']);_0xb8cf0a||(_0xb8cf0a=await this[_0xb50a38(0x1be)][_0xb50a38(0x1bc)](_0x152361['id'],_0x152361[_0xb50a38(0x189)],_0x152361[_0xb50a38(0x18d)],_0x152361[_0xb50a38(0x1c8)])),_0x3f0068(_0xb8cf0a);}for(const _0x208782 of _0xe3523b)_0x4c4d20[_0xb50a38(0x1b7)](_0x208782['id'])||_0x4c4d20[_0xb50a38(0x1a7)](_0x208782);}async[_0x4210dd(0x1a9)](){const _0x4b3a6c=_0x4210dd;this[_0x4b3a6c(0x1be)][_0x4b3a6c(0x19b)]||await new Promise(_0x3d0391=>{const _0x34e836=_0x4b3a6c;this[_0x34e836(0x1a6)](this[_0x34e836(0x1be)],_0x34e836(0x18c),_0x25f4fe=>{const _0x75e75e=_0x34e836;_0x25f4fe[_0x75e75e(0x1b1)](),_0x3d0391();});});}async[_0x4210dd(0x195)](_0x18dc0e){const _0x55e879=_0x4210dd,_0xefcc46=this[_0x55e879(0x191)][_0x55e879(0x1a2)][_0x55e879(0x19c)](_0x51b572),{connection:_0x16bd75}=this[_0x55e879(0x191)][_0x55e879(0x1a2)][_0x55e879(0x19c)](_0x286e78),_0x2bf968=new Set();for(const {authorId:_0x45db25}of _0x18dc0e)_0xefcc46[_0x55e879(0x1b9)](_0x45db25)||_0x2bf968[_0x55e879(0x1bc)](_0x45db25);if(0x0===_0x2bf968[_0x55e879(0x1bd)])return;const _0x13d0f5=await _0x4605c9[_0x55e879(0x1aa)](_0x16bd75,Array[_0x55e879(0x1c4)](_0x2bf968));for(const _0x1d92ab of _0x13d0f5)_0xefcc46[_0x55e879(0x1b9)](_0x1d92ab['id'])||_0xefcc46[_0x55e879(0x1a3)](_0x1d92ab);}}function _0x5d7e(_0x55ae76,_0x31d130){const _0x226160=_0x2261();return _0x5d7e=function(_0x5d7e68,_0x56f372){_0x5d7e68=_0x5d7e68-0x189;let _0x7564df=_0x226160[_0x5d7e68];return _0x7564df;},_0x5d7e(_0x55ae76,_0x31d130);}function A(_0x1cf491){if(st(_0x1cf491))return new Promise(()=>{});throw _0x1cf491;}function st(_0x1b4718){const _0x3b9c31=_0x4210dd;return _0x1b4718[_0x3b9c31(0x1b8)][_0x3b9c31(0x18f)](_0x3b9c31(0x193))||_0x1b4718[_0x3b9c31(0x1b8)][_0x3b9c31(0x18f)](_0x3b9c31(0x19f));}
23
+ function _0x4ecc(){const _0x25bc95=['suggestionUpdated','requires','delete','size','38310kRymRG','1SdpQda','addToReconnectionStack','startsWith','_fetchMissingUsersForThreads','set','isConnected','_trackChangesService','adapter','open','reconnect','getUser','hasSuggestion','message','off','45Ydicld','getMany','plugins','init','cloud-services-internal-error:\x20Not\x20connected.','state','values','attributes','pluginName','isOfficialPlugin','connected','catch','isPremiumPlugin','addSuggestionData','4060861hueGal','get','getSuggestion','TrackChangesService','CloudServicesTrackChangesAdapter','_waitForServiceReady','type','4962864aNmRpv','connect','cloud-services-internal-error:\x20Request\x20timeout.','from','_bufferedRequests','config','listenTo','then','TrackChangesEditing','addUser','99612RhNtEb','editor','345016SEzNYM','4521370UHXjhp','collaboration.channelId','_saved','connection','685kqsnbT','add','data','1494258RgDWqB','originalSuggestionId','update','find'];_0x4ecc=function(){return _0x25bc95;};return _0x4ecc();}const _0x46b64e=_0x14a3;(function(_0x132a01,_0x3c207f){const _0x318f88=_0x14a3,_0x66fbb9=_0x132a01();while(!![]){try{const _0x902566=parseInt(_0x318f88(0x98))/0x1*(parseInt(_0x318f88(0x8f))/0x2)+-parseInt(_0x318f88(0x85))/0x3+parseInt(_0x318f88(0x87))/0x4+parseInt(_0x318f88(0x8c))/0x5*(parseInt(_0x318f88(0x97))/0x6)+parseInt(_0x318f88(0xb4))/0x7+parseInt(_0x318f88(0xbb))/0x8+parseInt(_0x318f88(0xa6))/0x9*(-parseInt(_0x318f88(0x88))/0xa);if(_0x902566===_0x3c207f)break;else _0x66fbb9['push'](_0x66fbb9['shift']());}catch(_0x19a21e){_0x66fbb9['push'](_0x66fbb9['shift']());}}}(_0x4ecc,0x96140));import{Plugin as _0x564289}from'ckeditor5/src/core.js';function _0x14a3(_0x56f030,_0x193df7){const _0x14a36a=_0x4ecc();return _0x14a3=function(_0x2a3e1b,_0x3c0390){_0x2a3e1b=_0x2a3e1b-0x81;let _0x517727=_0x14a36a[_0x2a3e1b];return _0x517727;},_0x14a3(_0x56f030,_0x193df7);}import{User as _0x2d610c,TrackChangesService as _0x308faa}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5e9f2b}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x4811fd}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x59a606}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x564289{static [_0x46b64e(0xb7)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x308faa)());[_0x46b64e(0xbf)];[_0x46b64e(0x9e)];static get[_0x46b64e(0x94)](){const _0x5dcfbb=_0x46b64e;return[_0x4811fd,_0x5dcfbb(0x83),_0x5e9f2b];}static get[_0x46b64e(0xae)](){const _0xe4d787=_0x46b64e;return _0xe4d787(0xb8);}static get[_0x46b64e(0xaf)](){return!0x0;}static get[_0x46b64e(0xb2)](){return!0x0;}constructor(_0x53333c){const _0x46a538=_0x46b64e;super(_0x53333c);const _0x473d43=this[_0x46a538(0x86)][_0x46a538(0xc0)][_0x46a538(0xb5)](_0x46a538(0x89));this[_0x46a538(0xbf)]=new Map(),this[_0x46a538(0x9e)]=new CloudServicesTrackChangesAdapter[(_0x46a538(0xb7))](_0x473d43);}[_0x46b64e(0xa9)](){const _0x3b6956=_0x46b64e,_0x3f2acb=this[_0x3b6956(0x86)][_0x3b6956(0xa8)][_0x3b6956(0xb5)](_0x5e9f2b),_0x43584e=this[_0x3b6956(0x86)][_0x3b6956(0xa8)][_0x3b6956(0xb5)](_0x3b6956(0x83));return _0x43584e[_0x3b6956(0x9f)]={'getSuggestion':async _0x43a3c6=>{const _0x1a0024=_0x3b6956;await this[_0x1a0024(0xb9)]();const _0x3eafeb=await this[_0x1a0024(0x9e)][_0x1a0024(0xb5)](_0x43a3c6)[_0x1a0024(0xb1)](tt);return await this[_0x1a0024(0x9b)]([_0x3eafeb]),_0x3eafeb;},'addSuggestion':async({id:_0x20d650,type:_0x1a2071,data:_0x11957c,originalSuggestionId:_0x319a58,attributes:_0x1a3a1d})=>{const _0x58c880=_0x3b6956;await this[_0x58c880(0xb9)]();const _0x4c47b6={'id':_0x20d650,'type':_0x1a2071,'data':_0x11957c,'originalSuggestionId':_0x319a58,'attributes':_0x1a3a1d},_0x3a70cd=await this[_0x58c880(0x9e)][_0x58c880(0x8d)](_0x20d650,_0x1a2071,_0x11957c,_0x319a58,_0x1a3a1d)[_0x58c880(0xb1)](_0x227cae=>{if(ot(_0x227cae))return new Promise(_0x597a78=>{const _0x96562d=_0x14a3;this[_0x96562d(0xbf)][_0x96562d(0x9c)](_0x20d650,{'resolve':_0x597a78,'suggestionData':_0x4c47b6});});throw _0x227cae;});return this[_0x58c880(0xbf)][_0x58c880(0x95)](_0x20d650),_0x3a70cd;},'updateSuggestion':async(_0x2d81a8,_0x3577f9)=>{const _0x2931f1=_0x3b6956;if(await this[_0x2931f1(0xb9)](),_0x2931f1(0xa0)!==_0x3577f9[_0x2931f1(0xab)])return this[_0x2931f1(0x9e)][_0x2931f1(0x91)](_0x2d81a8,_0x3577f9)[_0x2931f1(0xb1)](tt);}},this[_0x3b6956(0x81)](this[_0x3b6956(0x9e)],_0x3b6956(0x93),(_0x15c0a9,_0x5dbe9b)=>{const _0x2bb0d3=_0x3b6956;_0x43584e[_0x2bb0d3(0xa3)](_0x5dbe9b['id'])&&(_0x43584e[_0x2bb0d3(0xb6)](_0x5dbe9b['id'])[_0x2bb0d3(0xad)]=_0x5dbe9b[_0x2bb0d3(0xad)]);}),this[_0x3b6956(0x9e)][_0x3b6956(0xbc)](_0x3f2acb[_0x3b6956(0x8b)])[_0x3b6956(0x82)](_0x49e7f3=>(_0x3f2acb[_0x3b6956(0x99)](this),this[_0x3b6956(0x9b)](_0x49e7f3)[_0x3b6956(0x82)](()=>{const _0x38429b=_0x3b6956;for(const _0x1c9c2a of _0x49e7f3){_0x43584e[_0x38429b(0xb3)](_0x1c9c2a)[_0x38429b(0x8a)]=!0x0;}})));}async[_0x46b64e(0xa1)](){const _0x37c8dc=_0x46b64e,_0x3aa75e=this[_0x37c8dc(0x86)][_0x37c8dc(0xa8)][_0x37c8dc(0xb5)](_0x37c8dc(0x83)),{connection:_0x22b926}=this[_0x37c8dc(0x86)][_0x37c8dc(0xa8)][_0x37c8dc(0xb5)](_0x5e9f2b),_0x36c2f7=await this[_0x37c8dc(0x9e)][_0x37c8dc(0xbc)](_0x22b926);await this[_0x37c8dc(0x9b)](_0x36c2f7);for(const {suggestionData:_0x42d864,resolve:_0x502a46}of this[_0x37c8dc(0xbf)][_0x37c8dc(0xac)]()){let _0xd16075=_0x36c2f7[_0x37c8dc(0x92)](_0x2f5bf5=>_0x2f5bf5['id']===_0x42d864['id']);_0xd16075||(_0xd16075=await this[_0x37c8dc(0x9e)][_0x37c8dc(0x8d)](_0x42d864['id'],_0x42d864[_0x37c8dc(0xba)],_0x42d864[_0x37c8dc(0x8e)],_0x42d864[_0x37c8dc(0x90)])),_0x502a46(_0xd16075);}for(const _0x3c2811 of _0x36c2f7)_0x3aa75e[_0x37c8dc(0xa3)](_0x3c2811['id'])||_0x3aa75e[_0x37c8dc(0xb3)](_0x3c2811);}async[_0x46b64e(0xb9)](){const _0x248b6f=_0x46b64e;this[_0x248b6f(0x9e)][_0x248b6f(0x9d)]||await new Promise(_0x3f8356=>{const _0xd3cd9f=_0x248b6f;this[_0xd3cd9f(0x81)](this[_0xd3cd9f(0x9e)],_0xd3cd9f(0xb0),_0x5915a2=>{const _0x36bed3=_0xd3cd9f;_0x5915a2[_0x36bed3(0xa5)](),_0x3f8356();});});}async[_0x46b64e(0x9b)](_0x44b25b){const _0x452424=_0x46b64e,_0x3f3fcd=this[_0x452424(0x86)][_0x452424(0xa8)][_0x452424(0xb5)](_0x59a606),{connection:_0x5e08e9}=this[_0x452424(0x86)][_0x452424(0xa8)][_0x452424(0xb5)](_0x5e9f2b),_0x571495=new Set();for(const {authorId:_0x367c51}of _0x44b25b)_0x3f3fcd[_0x452424(0xa2)](_0x367c51)||_0x571495[_0x452424(0x8d)](_0x367c51);if(0x0===_0x571495[_0x452424(0x96)])return;const _0x34e229=await _0x2d610c[_0x452424(0xa7)](_0x5e08e9,Array[_0x452424(0xbe)](_0x571495));for(const _0x19807c of _0x34e229)_0x3f3fcd[_0x452424(0xa2)](_0x19807c['id'])||_0x3f3fcd[_0x452424(0x84)](_0x19807c);}}function tt(_0x5a71cd){if(ot(_0x5a71cd))return new Promise(()=>{});throw _0x5a71cd;}function ot(_0xbee0ed){const _0x3ab7cf=_0x46b64e;return _0xbee0ed[_0x3ab7cf(0xa4)][_0x3ab7cf(0x9a)](_0x3ab7cf(0xaa))||_0xbee0ed[_0x3ab7cf(0xa4)][_0x3ab7cf(0x9a)](_0x3ab7cf(0xbd));}