@ckeditor/ckeditor5-real-time-collaboration 47.6.0-alpha.6 → 47.6.0-alpha.7
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.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +14 -14
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x18a98d)());[_0x553f9b(0x1bf)];[_0x553f9b(0x1af)];[_0x553f9b(0x1aa)];[_0x553f9b(0x1c1)];static get[_0x553f9b(0x1d2)](){const _0x521b72=_0x553f9b;return[_0x28e3ba,_0x21d55a,_0x521b72(0x1b1),_0x446423,_0x1ca1ff];}static get[_0x553f9b(0x187)](){const _0x10a752=_0x553f9b;return _0x10a752(0x1d6);}static get[_0x553f9b(0x1d4)](){return!0x0;}static get[_0x553f9b(0x1d9)](){return!0x0;}constructor(_0x4e9e12){const _0x75578e=_0x553f9b;super(_0x4e9e12);const _0x3f4085=this[_0x75578e(0x1d0)][_0x75578e(0x1d5)][_0x75578e(0x1b2)](_0x75578e(0x1ba));this[_0x75578e(0x1bf)]=null,this[_0x75578e(0x1af)]=this[_0x75578e(0x1d0)][_0x75578e(0x1e0)][_0x75578e(0x1b2)](_0x75578e(0x1b3)),this[_0x75578e(0x1aa)]=new CloudServicesRevisionHistoryAdapter[(_0x75578e(0x18c))](_0x3f4085);}async[_0x553f9b(0x197)](){const _0x430ce9=_0x553f9b,_0x422499=this[_0x430ce9(0x1d0)][_0x430ce9(0x1e0)][_0x430ce9(0x1b2)](_0x21d55a),_0x4544e5=_0x422499[_0x430ce9(0x1c5)],_0x260769=this[_0x430ce9(0x1d0)][_0x430ce9(0x1e0)][_0x430ce9(0x1b2)](_0x28e3ba);this[_0x430ce9(0x1af)][_0x430ce9(0x1b6)]({'history':_0x4544e5,'getLatestVersion':()=>this[_0x430ce9(0x1c0)](),'getCurrentRevisionId':()=>_0x422499[_0x430ce9(0x18f)]});const _0x20fd48=this[_0x430ce9(0x1d0)][_0x430ce9(0x1d5)][_0x430ce9(0x1b2)](_0x430ce9(0x1c7))||_0x48e9ce,_0xdc0839=await _0x9bf515[_0x430ce9(0x1b9)](_0x260769[_0x430ce9(0x1ee)],_0x20fd48);this[_0x430ce9(0x1d0)][_0x430ce9(0x1e0)][_0x430ce9(0x1b2)](_0x430ce9(0x1b1))[_0x430ce9(0x1be)]={'getRevision':async({revisionId:_0xbb540c})=>(await this[_0x430ce9(0x19e)](),await this[_0x430ce9(0x1aa)][_0x430ce9(0x1d3)](_0xbb540c)),'updateRevisions':async _0x2d15c9=>{const _0xed5b3e=_0x430ce9;await this[_0xed5b3e(0x19e)]();const _0x244008=this[_0xed5b3e(0x1af)][_0xed5b3e(0x1a8)];if(_0xdc0839&&0x1===_0x2d15c9[_0xed5b3e(0x19a)]&&_0x2d15c9[0x0]['id']===_0x244008['id'])return _0x2d15c9;for(const _0x29c7b7 of _0x2d15c9)_0x29c7b7['id']===_0x244008['id']&&(_0x29c7b7[_0xed5b3e(0x19c)]=_0x29c7b7[_0xed5b3e(0x19f)]===_0x29c7b7[_0xed5b3e(0x1c9)]);return this[_0xed5b3e(0x1aa)][_0xed5b3e(0x1cb)](_0x2d15c9,this[_0xed5b3e(0x1bf)])[_0xed5b3e(0x1a3)](_0x1760c9=>(this[_0xed5b3e(0x1bf)]=_0x1760c9,_0x2d15c9))[_0xed5b3e(0x1bb)](_0x2cb91b=>{const _0x595d0d=_0xed5b3e;if(q(_0x2cb91b)||_0x595d0d(0x1eb)===_0x2cb91b[_0x595d0d(0x1ad)]&&void 0x0!==_0x2cb91b[_0x595d0d(0x198)][_0x595d0d(0x1ce)]){for(const _0x3cb297 of _0x2d15c9){!this[_0x595d0d(0x1af)][_0x595d0d(0x1c4)][_0x595d0d(0x1d3)](_0x3cb297['id'])||this[_0x595d0d(0x1af)][_0x595d0d(0x1e3)](_0x3cb297['id'],_0x3cb297,!0x1);}if(q(_0x2cb91b))throw _0x2cb91b;return _0x2d15c9;}throw _0x2cb91b;});}},this[_0x430ce9(0x1ae)](this[_0x430ce9(0x1aa)],_0x430ce9(0x18d),(_0x2e85b5,{revisionsData:_0x479921,requestId:_0x533d8d})=>{const _0x233cec=_0x430ce9;Math[_0x233cec(0x1bc)](..._0x479921[_0x233cec(0x1e5)](_0x51200d=>_0x51200d[_0x233cec(0x1c9)]))>this[_0x233cec(0x1b5)]()-0x1?this[_0x233cec(0x1c0)]()[_0x233cec(0x1a3)](()=>{const _0x5af015=_0x233cec;this[_0x5af015(0x1ef)](_0x479921,_0x533d8d);}):this[_0x233cec(0x1ef)](_0x479921,_0x533d8d);});const {revisions:_0x3afc14,requestId:_0x4510df}=await this[_0x430ce9(0x1aa)][_0x430ce9(0x182)](_0x260769[_0x430ce9(0x1ee)]);_0x260769[_0x430ce9(0x1de)](this),this[_0x430ce9(0x1bf)]=_0x4510df,await this[_0x430ce9(0x1e4)](_0x3afc14);for(const _0x2a5de7 of _0x3afc14)this[_0x430ce9(0x1af)][_0x430ce9(0x1c3)](_0x2a5de7);this[_0x430ce9(0x1ae)](_0x422499,_0x430ce9(0x1b7),(_0x812748,_0x4d62d0,_0x2eefcd)=>{const _0x333f27=_0x430ce9;_0x2eefcd&&(this[_0x333f27(0x1c1)]=_0x422499[_0x333f27(0x184)],_0x812748[_0x333f27(0x189)]());}),this[_0x430ce9(0x1af)][_0x430ce9(0x1ab)](_0x430ce9(0x1cf))['to'](_0x260769,_0x430ce9(0x192),_0x39aa11=>_0x39aa11===_0x5356db[_0x430ce9(0x193)]);}async[_0x553f9b(0x1f1)](){const _0x36f8ff=_0x553f9b,_0x3f54b9=this[_0x36f8ff(0x1d0)][_0x36f8ff(0x1e0)][_0x36f8ff(0x1b2)](_0x28e3ba),_0x2c42f6=this[_0x36f8ff(0x1d0)][_0x36f8ff(0x1e0)][_0x36f8ff(0x1b2)](_0x21d55a),_0x47f942=async()=>{const _0xa70d11=_0x36f8ff,_0x4241bb=this[_0xa70d11(0x1af)][_0xa70d11(0x1a8)],_0x2ee3f1=_0x4241bb['id'],_0x1c9131=_0x2ee3f1!==_0x2c42f6[_0xa70d11(0x18f)];if(_0x1c9131){const _0x3f2927=_0x2c42f6[_0xa70d11(0x184)]-this[_0xa70d11(0x1c1)],_0x58a2f1=this[_0xa70d11(0x1b5)]();this[_0xa70d11(0x1af)][_0xa70d11(0x1ca)][_0xa70d11(0x19d)]();if(_0x4241bb[_0xa70d11(0x1c9)]+_0x3f2927!==_0x58a2f1){const _0x4fb9a3=_0x4241bb[_0xa70d11(0x19f)]+_0x3f2927,_0x265023=this[_0xa70d11(0x1d0)][_0xa70d11(0x1e0)][_0xa70d11(0x1b2)](_0x1ca1ff),_0x3ba824=this[_0xa70d11(0x1af)][_0xa70d11(0x185)]({'revision':_0x4241bb,'from':_0x4fb9a3,'to':_0x58a2f1});_0x3ba824['id']=_0x4241bb['id'];const _0x43bf58=_0x3ba824[_0xa70d11(0x1f0)][_0xa70d11(0x1e5)](_0x122912=>_0x265023[_0xa70d11(0x181)](_0x122912));_0x4241bb[_0xa70d11(0x1df)]({..._0x3ba824,'authors':_0x43bf58},!0x0),this[_0xa70d11(0x1af)][_0xa70d11(0x1e3)](_0x4241bb['id'],_0x3ba824,!0x0);}this[_0xa70d11(0x1af)][_0xa70d11(0x1a0)]=_0x58a2f1,(_0x4241bb[_0xa70d11(0x1c9)]===_0x4241bb[_0xa70d11(0x19f)]&&!this[_0xa70d11(0x1af)][_0xa70d11(0x194)][_0xa70d11(0x188)](_0x2ee3f1)&&this[_0xa70d11(0x1af)][_0xa70d11(0x1c4)][_0xa70d11(0x1a5)][_0xa70d11(0x18b)](_0x2ee3f1),this[_0xa70d11(0x1af)][_0xa70d11(0x1ed)](_0x58a2f1));}const {revisions:_0x53af82,requestId:_0x190db9}=await this[_0xa70d11(0x1aa)][_0xa70d11(0x1f1)](_0x3f54b9[_0xa70d11(0x1ee)],this[_0xa70d11(0x1bf)]);_0x1c9131&&_0x53af82[_0xa70d11(0x19a)]>0x0?_0x2c42f6[_0xa70d11(0x1b8)]():(await this[_0xa70d11(0x1e4)](_0x53af82),this[_0xa70d11(0x1ef)](_0x53af82,_0x190db9),this[_0xa70d11(0x1af)][_0xa70d11(0x196)]());};return _0x2c42f6[_0x36f8ff(0x1c6)]?_0x47f942():new Promise((_0xb5652b,_0x53b980)=>{const _0x56ee21=_0x36f8ff;_0x2c42f6[_0x56ee21(0x1b4)](_0x56ee21(0x1b7),()=>{const _0x590c7e=_0x56ee21;_0x47f942()[_0x590c7e(0x1a3)](_0xb5652b)[_0x590c7e(0x1bb)](_0x53b980);});});}[_0x553f9b(0x19b)](){const _0x2fd122=_0x553f9b;super[_0x2fd122(0x19b)]();}async[_0x553f9b(0x19e)](){const _0x2c19ae=_0x553f9b;this[_0x2c19ae(0x1aa)][_0x2c19ae(0x1bd)]||await new Promise(_0x56b281=>{const _0x5c2821=_0x2c19ae;this[_0x5c2821(0x1ae)](this[_0x5c2821(0x1aa)],_0x5c2821(0x199),_0x24e387=>{const _0x236449=_0x5c2821;_0x24e387[_0x236449(0x189)](),_0x56b281();});});}[_0x553f9b(0x1b5)](){const _0x13898e=_0x553f9b,_0x38613f=this[_0x13898e(0x1d0)][_0x13898e(0x1e0)][_0x13898e(0x1b2)](_0x21d55a)[_0x13898e(0x1c5)][_0x13898e(0x1cc)]()[_0x13898e(0x1c8)]();for(const _0x5dd14e of _0x38613f)if(_0x13898e(0x1a9)!==_0x5dd14e[_0x13898e(0x1e6)]||_0x5dd14e[_0x13898e(0x1e2)])return _0x5dd14e[_0x13898e(0x1e8)]+0x1;}[_0x553f9b(0x1c0)](){const _0x4ac89a=_0x553f9b,_0x44cf92=this[_0x4ac89a(0x1d0)][_0x4ac89a(0x1e0)][_0x4ac89a(0x1b2)](_0x21d55a);return new Promise(_0x5bf879=>{const _0x9f2ae=_0x4ac89a;_0x44cf92[_0x9f2ae(0x1b0)]?_0x44cf92[_0x9f2ae(0x1b4)](_0x9f2ae(0x1dd),()=>{const _0x1ebafd=_0x9f2ae;_0x5bf879(this[_0x1ebafd(0x1b5)]());}):_0x5bf879(this[_0x9f2ae(0x1b5)]());});}[_0x553f9b(0x1ef)](_0xdd04e4,_0x466cba){const _0x4239c2=_0x553f9b,_0x4f49cf=this[_0x4239c2(0x1af)][_0x4239c2(0x1c4)];this[_0x4239c2(0x1bf)]=_0x466cba;for(const _0x1ae0b5 of _0xdd04e4){const _0x229da9=_0x4f49cf[_0x4239c2(0x1d3)](_0x1ae0b5['id']);if(_0x229da9){if((_0x1ae0b5[_0x4239c2(0x19f)]||_0x1ae0b5[_0x4239c2(0x1c9)])&&(_0x1ae0b5[_0x4239c2(0x1d7)]=null),_0x229da9===this[_0x4239c2(0x1af)][_0x4239c2(0x1a8)]){const _0x4fe212=Math[_0x4239c2(0x1bc)](_0x229da9[_0x4239c2(0x1c9)],_0x1ae0b5[_0x4239c2(0x1c9)]),_0x142de5=Math[_0x4239c2(0x1bc)](_0x229da9[_0x4239c2(0x19f)],_0x1ae0b5[_0x4239c2(0x19f)]);let _0x1345a5;_0x229da9[_0x4239c2(0x1c9)]===_0x1ae0b5[_0x4239c2(0x1c9)]&&_0x229da9[_0x4239c2(0x19f)]===_0x1ae0b5[_0x4239c2(0x19f)]?(_0x1345a5=!0x0,this[_0x4239c2(0x1a6)](_0x1ae0b5)):_0x1ae0b5[_0x4239c2(0x1c9)]===_0x4fe212&&_0x1ae0b5[_0x4239c2(0x19f)]===_0x142de5?_0x1345a5=!0x1:(_0x229da9[_0x4239c2(0x1c9)]===_0x4fe212&&_0x229da9[_0x4239c2(0x19f)]===_0x142de5||this[_0x4239c2(0x1f3)]({'revision':_0x229da9,'from':_0x142de5,'to':_0x4fe212}),_0x1345a5=!0x0),_0x1345a5&&(delete _0x1ae0b5[_0x4239c2(0x19f)],delete _0x1ae0b5[_0x4239c2(0x1c9)],delete _0x1ae0b5[_0x4239c2(0x1d7)],delete _0x1ae0b5[_0x4239c2(0x191)],delete _0x1ae0b5[_0x4239c2(0x1f0)]);}this[_0x4239c2(0x1af)][_0x4239c2(0x1a7)](_0x1ae0b5),this[_0x4239c2(0x1a6)](_0x1ae0b5);}else this[_0x4239c2(0x1af)][_0x4239c2(0x1c3)](_0x1ae0b5);}const _0x1199cd=_0x4f49cf[_0x4239c2(0x1e7)]();_0x1199cd[_0x4239c2(0x1c8)]();for(let _0x31a777=0x0;_0x31a777<_0x1199cd[_0x4239c2(0x19a)]-0x1;_0x31a777++){const _0x364cdd=_0x1199cd[_0x31a777],_0x5b481d=_0x1199cd[_0x31a777+0x1];if(_0x364cdd[_0x4239c2(0x19f)]<_0x5b481d[_0x4239c2(0x1c9)]){const _0x577f9d=_0x5b481d[_0x4239c2(0x1c9)],_0x55ae16=Math[_0x4239c2(0x1bc)](_0x577f9d,_0x364cdd[_0x4239c2(0x1c9)]);this[_0x4239c2(0x1f3)]({'revision':_0x364cdd,'from':_0x577f9d,'to':_0x55ae16});}}}[_0x553f9b(0x1f3)]({revision:_0x3abd63,from:_0x12f6e4,to:_0x18991a}={}){const _0x50a06e=_0x553f9b,_0x1ce107=this[_0x50a06e(0x1d0)][_0x50a06e(0x1e0)][_0x50a06e(0x1b2)](_0x1ca1ff),_0xcc5f95=this[_0x50a06e(0x1af)][_0x50a06e(0x185)]({'revision':_0x3abd63,'from':_0x12f6e4,'to':_0x18991a});_0xcc5f95[_0x50a06e(0x18a)]=_0xcc5f95[_0x50a06e(0x1f0)][_0x50a06e(0x1e5)](_0x1170fc=>_0x1ce107[_0x50a06e(0x181)](_0x1170fc)),_0x3abd63[_0x50a06e(0x1df)](_0xcc5f95);}[_0x553f9b(0x1a6)](_0x10c260){const _0x5e0ef5=_0x553f9b,_0x359f10={};_0x359f10['id']=_0x10c260['id'];for(const _0xe3f71a of Object[_0x5e0ef5(0x1dc)](_0x10c260))'id'!==_0xe3f71a&&(_0x359f10[_0xe3f71a]=void 0x0);this[_0x5e0ef5(0x1af)][_0x5e0ef5(0x1e3)](_0x359f10['id'],_0x359f10,!0x0);}async[_0x553f9b(0x1e4)](_0x1ce82c){const _0x2c3792=_0x553f9b,_0x4dce29=this[_0x2c3792(0x1d0)][_0x2c3792(0x1e0)][_0x2c3792(0x1b2)](_0x1ca1ff),{connection:_0x4cd4ce}=this[_0x2c3792(0x1d0)][_0x2c3792(0x1e0)][_0x2c3792(0x1b2)](_0x28e3ba),_0x4864bd=new Set();for(const _0x3e3464 of _0x1ce82c){for(const _0x4ae340 of _0x3e3464[_0x2c3792(0x1f0)])_0x4164d1(_0x4ae340);_0x3e3464[_0x2c3792(0x1c2)]&&_0x4164d1(_0x3e3464[_0x2c3792(0x1c2)]);}if(0x0===_0x4864bd[_0x2c3792(0x183)])return;const _0x24ae89=await _0x34b5d6[_0x2c3792(0x1ea)](_0x4cd4ce,Array[_0x2c3792(0x180)](_0x4864bd));for(const _0x38a2a7 of _0x24ae89)_0x4dce29[_0x2c3792(0x181)](_0x38a2a7['id'])||_0x4dce29[_0x2c3792(0x1d1)](_0x38a2a7);function _0x4164d1(_0x1d9db3){const _0x222735=_0x2c3792;_0x4dce29[_0x222735(0x181)](_0x1d9db3)||_0x4864bd[_0x222735(0x1db)](_0x1d9db3);}}}function q(_0x4648fc){const _0x5b7d4c=_0x553f9b;return _0x4648fc[_0x5b7d4c(0x1a4)][_0x5b7d4c(0x1f2)](_0x5b7d4c(0x195))||_0x4648fc[_0x5b7d4c(0x1a4)][_0x5b7d4c(0x1f2)](_0x5b7d4c(0x1da))||_0x4648fc[_0x5b7d4c(0x1a4)][_0x5b7d4c(0x1f2)](_0x5b7d4c(0x1d8));}
|
|
23
|
+
const _0x28236c=_0x122b;(function(_0x562d41,_0x2a4c46){const _0x259488=_0x122b,_0xf55cfb=_0x562d41();while(!![]){try{const _0x3c0596=-parseInt(_0x259488(0x1c3))/0x1+parseInt(_0x259488(0x1e5))/0x2*(-parseInt(_0x259488(0x1fd))/0x3)+parseInt(_0x259488(0x217))/0x4*(-parseInt(_0x259488(0x218))/0x5)+parseInt(_0x259488(0x223))/0x6*(parseInt(_0x259488(0x1c9))/0x7)+-parseInt(_0x259488(0x20a))/0x8+parseInt(_0x259488(0x1ed))/0x9+-parseInt(_0x259488(0x1d8))/0xa*(-parseInt(_0x259488(0x1f3))/0xb);if(_0x3c0596===_0x2a4c46)break;else _0xf55cfb['push'](_0xf55cfb['shift']());}catch(_0x5d7a1b){_0xf55cfb['push'](_0xf55cfb['shift']());}}}(_0x36b6,0x5b310));import{Plugin as _0x344333}from'ckeditor5/src/core.js';import{version as _0x3d450d}from'ckeditor5/src/utils.js';import{Users as _0x1ad417}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x40e360}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0xd00bfc}from'../realtimecollaborativeediting/websocketgateway.js';function _0x122b(_0x237ce9,_0x3662da){const _0x36b6a7=_0x36b6();return _0x122b=function(_0x122b5d,_0xb9daeb){_0x122b5d=_0x122b5d-0x1b3;let _0x1fb459=_0x36b6a7[_0x122b5d];return _0x1fb459;},_0x122b(_0x237ce9,_0x3662da);}import{Sessions as _0x5bde6f}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x36afd5,RevisionHistoryService as _0x11729d,User as _0x4ca593,WEB_SOCKET_GATEWAY_STATES as _0x57b4a9}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';export class CloudServicesRevisionHistoryAdapter extends _0x344333{static [_0x28236c(0x1d2)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x11729d)());[_0x28236c(0x203)];[_0x28236c(0x1ca)];[_0x28236c(0x1cc)];[_0x28236c(0x1f7)];static get[_0x28236c(0x1dd)](){const _0x23ed5b=_0x28236c;return[_0xd00bfc,_0x40e360,_0x23ed5b(0x200),_0x5bde6f,_0x1ad417];}static get[_0x28236c(0x1c2)](){const _0x2503c2=_0x28236c;return _0x2503c2(0x1bc);}static get[_0x28236c(0x220)](){return!0x0;}static get[_0x28236c(0x1d3)](){return!0x0;}constructor(_0x242b38){const _0x2865f9=_0x28236c;super(_0x242b38);const _0x4d31bf=this[_0x2865f9(0x213)][_0x2865f9(0x1b9)][_0x2865f9(0x20e)](_0x2865f9(0x1fb));this[_0x2865f9(0x203)]=null,this[_0x2865f9(0x1ca)]=this[_0x2865f9(0x213)][_0x2865f9(0x1ce)][_0x2865f9(0x20e)](_0x2865f9(0x1b3)),this[_0x2865f9(0x1cc)]=new CloudServicesRevisionHistoryAdapter[(_0x2865f9(0x1d2))](_0x4d31bf);}async[_0x28236c(0x208)](){const _0x496ee2=_0x28236c,_0x3c9391=this[_0x496ee2(0x213)][_0x496ee2(0x1ce)][_0x496ee2(0x20e)](_0x40e360),_0x7bd575=_0x3c9391[_0x496ee2(0x1b4)],_0x4431ac=this[_0x496ee2(0x213)][_0x496ee2(0x1ce)][_0x496ee2(0x20e)](_0xd00bfc);this[_0x496ee2(0x1ca)][_0x496ee2(0x1e9)]({'history':_0x7bd575,'getLatestVersion':()=>this[_0x496ee2(0x1de)](),'getCurrentRevisionId':()=>_0x3c9391[_0x496ee2(0x1ff)]});const _0x2532f6=this[_0x496ee2(0x213)][_0x496ee2(0x1b9)][_0x496ee2(0x20e)](_0x496ee2(0x1ee))||_0x3d450d,_0x4b50a2=await _0x36afd5[_0x496ee2(0x1db)](_0x4431ac[_0x496ee2(0x1b6)],_0x2532f6);this[_0x496ee2(0x213)][_0x496ee2(0x1ce)][_0x496ee2(0x20e)](_0x496ee2(0x200))[_0x496ee2(0x214)]={'getRevision':async({revisionId:_0x21600d})=>(await this[_0x496ee2(0x1cb)](),await this[_0x496ee2(0x1cc)][_0x496ee2(0x1fc)](_0x21600d)),'updateRevisions':async _0x36575c=>{const _0x4a9ca4=_0x496ee2;await this[_0x4a9ca4(0x1cb)]();const _0x586563=this[_0x4a9ca4(0x1ca)][_0x4a9ca4(0x1c8)];if(_0x4b50a2&&0x1===_0x36575c[_0x4a9ca4(0x1fe)]&&_0x36575c[0x0]['id']===_0x586563['id'])return _0x36575c;for(const _0x553c51 of _0x36575c)_0x553c51['id']===_0x586563['id']&&(_0x553c51[_0x4a9ca4(0x1d9)]=_0x553c51[_0x4a9ca4(0x1eb)]===_0x553c51[_0x4a9ca4(0x1da)]);return this[_0x4a9ca4(0x1cc)][_0x4a9ca4(0x215)](_0x36575c,this[_0x4a9ca4(0x203)])[_0x4a9ca4(0x1f0)](_0x9ba16c=>(this[_0x4a9ca4(0x203)]=_0x9ba16c,_0x36575c))[_0x4a9ca4(0x204)](_0xff8a58=>{const _0xd3a3e9=_0x4a9ca4;if(M(_0xff8a58)||_0xd3a3e9(0x216)===_0xff8a58[_0xd3a3e9(0x226)]&&void 0x0!==_0xff8a58[_0xd3a3e9(0x1e6)][_0xd3a3e9(0x21c)]){for(const _0x1dc5ea of _0x36575c){!this[_0xd3a3e9(0x1ca)][_0xd3a3e9(0x20b)][_0xd3a3e9(0x1fc)](_0x1dc5ea['id'])||this[_0xd3a3e9(0x1ca)][_0xd3a3e9(0x1cd)](_0x1dc5ea['id'],_0x1dc5ea,!0x1);}if(M(_0xff8a58))throw _0xff8a58;return _0x36575c;}throw _0xff8a58;});}},this[_0x496ee2(0x1f5)](this[_0x496ee2(0x1cc)],_0x496ee2(0x1c7),(_0x6407d2,{revisionsData:_0x479056,requestId:_0x29661c})=>{const _0x55a114=_0x496ee2;Math[_0x55a114(0x20f)](..._0x479056[_0x55a114(0x205)](_0x2e02b4=>_0x2e02b4[_0x55a114(0x1da)]))>this[_0x55a114(0x1df)]()-0x1?this[_0x55a114(0x1de)]()[_0x55a114(0x1f0)](()=>{const _0x32b117=_0x55a114;this[_0x32b117(0x1e3)](_0x479056,_0x29661c);}):this[_0x55a114(0x1e3)](_0x479056,_0x29661c);});const {revisions:_0x2fceb2,requestId:_0x2adfad}=await this[_0x496ee2(0x1cc)][_0x496ee2(0x21f)](_0x4431ac[_0x496ee2(0x1b6)]);_0x4431ac[_0x496ee2(0x20c)](this),this[_0x496ee2(0x203)]=_0x2adfad,await this[_0x496ee2(0x20d)](_0x2fceb2);for(const _0xd932e6 of _0x2fceb2)this[_0x496ee2(0x1ca)][_0x496ee2(0x21a)](_0xd932e6);this[_0x496ee2(0x1f5)](_0x3c9391,_0x496ee2(0x1c1),(_0x3f47ff,_0x2f311c,_0x3981aa)=>{const _0x5cd745=_0x496ee2;_0x3981aa&&(this[_0x5cd745(0x1f7)]=_0x3c9391[_0x5cd745(0x1e0)],_0x3f47ff[_0x5cd745(0x1ef)]());}),this[_0x496ee2(0x1ca)][_0x496ee2(0x1dc)](_0x496ee2(0x212))['to'](_0x4431ac,_0x496ee2(0x206),_0x5f2d43=>_0x5f2d43===_0x57b4a9[_0x496ee2(0x1c6)]);}async[_0x28236c(0x1f1)](){const _0x3aea4c=_0x28236c,_0x4b57d3=this[_0x3aea4c(0x213)][_0x3aea4c(0x1ce)][_0x3aea4c(0x20e)](_0xd00bfc),_0x255848=this[_0x3aea4c(0x213)][_0x3aea4c(0x1ce)][_0x3aea4c(0x20e)](_0x40e360),_0x5b4579=async()=>{const _0x54bd27=_0x3aea4c,_0xd550a8=this[_0x54bd27(0x1ca)][_0x54bd27(0x1c8)],_0x5bd1f9=_0xd550a8['id'],_0x27b089=_0x5bd1f9!==_0x255848[_0x54bd27(0x1ff)];if(_0x27b089){const _0x5553fa=_0x255848[_0x54bd27(0x1e0)]-this[_0x54bd27(0x1f7)],_0x3902dc=this[_0x54bd27(0x1df)]();this[_0x54bd27(0x1ca)][_0x54bd27(0x1d1)][_0x54bd27(0x225)]();if(_0xd550a8[_0x54bd27(0x1da)]+_0x5553fa!==_0x3902dc){const _0x3e80a3=_0xd550a8[_0x54bd27(0x1eb)]+_0x5553fa,_0x167686=this[_0x54bd27(0x213)][_0x54bd27(0x1ce)][_0x54bd27(0x20e)](_0x1ad417),_0x1af0d4=this[_0x54bd27(0x1ca)][_0x54bd27(0x1bb)]({'revision':_0xd550a8,'from':_0x3e80a3,'to':_0x3902dc});_0x1af0d4['id']=_0xd550a8['id'];const _0x10e53a=_0x1af0d4[_0x54bd27(0x1ea)][_0x54bd27(0x205)](_0x103ea0=>_0x167686[_0x54bd27(0x1e8)](_0x103ea0));_0xd550a8[_0x54bd27(0x1ec)]({..._0x1af0d4,'authors':_0x10e53a},!0x0),this[_0x54bd27(0x1ca)][_0x54bd27(0x1cd)](_0xd550a8['id'],_0x1af0d4,!0x0);}this[_0x54bd27(0x1ca)][_0x54bd27(0x1ba)]=_0x3902dc,(_0xd550a8[_0x54bd27(0x1da)]===_0xd550a8[_0x54bd27(0x1eb)]&&!this[_0x54bd27(0x1ca)][_0x54bd27(0x209)][_0x54bd27(0x219)](_0x5bd1f9)&&this[_0x54bd27(0x1ca)][_0x54bd27(0x20b)][_0x54bd27(0x21e)][_0x54bd27(0x1b5)](_0x5bd1f9),this[_0x54bd27(0x1ca)][_0x54bd27(0x211)](_0x3902dc));}const {revisions:_0xb934e8,requestId:_0x27c108}=await this[_0x54bd27(0x1cc)][_0x54bd27(0x1f1)](_0x4b57d3[_0x54bd27(0x1b6)],this[_0x54bd27(0x203)]);_0x27b089&&_0xb934e8[_0x54bd27(0x1fe)]>0x0?_0x255848[_0x54bd27(0x1bf)]():(await this[_0x54bd27(0x20d)](_0xb934e8),this[_0x54bd27(0x1e3)](_0xb934e8,_0x27c108),this[_0x54bd27(0x1ca)][_0x54bd27(0x21d)]());};return _0x255848[_0x3aea4c(0x1d5)]?_0x5b4579():new Promise((_0x1e2e3b,_0x483595)=>{const _0x3fa887=_0x3aea4c;_0x255848[_0x3fa887(0x1c4)](_0x3fa887(0x1c1),()=>{const _0x4d05fd=_0x3fa887;_0x5b4579()[_0x4d05fd(0x1f0)](_0x1e2e3b)[_0x4d05fd(0x204)](_0x483595);});});}[_0x28236c(0x1fa)](){const _0x46fdaf=_0x28236c;super[_0x46fdaf(0x1fa)]();}async[_0x28236c(0x1cb)](){const _0x28ac47=_0x28236c;this[_0x28ac47(0x1cc)][_0x28ac47(0x1be)]||await new Promise(_0x9db8d6=>{const _0x3745f8=_0x28ac47;this[_0x3745f8(0x1f5)](this[_0x3745f8(0x1cc)],_0x3745f8(0x210),_0x29274e=>{const _0x1536c7=_0x3745f8;_0x29274e[_0x1536c7(0x1ef)](),_0x9db8d6();});});}[_0x28236c(0x1df)](){const _0x5aac4e=_0x28236c,_0x24acf7=this[_0x5aac4e(0x213)][_0x5aac4e(0x1ce)][_0x5aac4e(0x20e)](_0x40e360)[_0x5aac4e(0x1b4)][_0x5aac4e(0x202)]()[_0x5aac4e(0x1e7)]();for(const _0x51a597 of _0x24acf7)if(_0x5aac4e(0x1f9)!==_0x51a597[_0x5aac4e(0x1cf)]||_0x51a597[_0x5aac4e(0x1d0)])return _0x51a597[_0x5aac4e(0x1d4)]+0x1;}[_0x28236c(0x1de)](){const _0x2e50a5=_0x28236c,_0x4a723b=this[_0x2e50a5(0x213)][_0x2e50a5(0x1ce)][_0x2e50a5(0x20e)](_0x40e360);return new Promise(_0x13bbc7=>{const _0x5e1836=_0x2e50a5;_0x4a723b[_0x5e1836(0x201)]?_0x4a723b[_0x5e1836(0x1c4)](_0x5e1836(0x1c5),()=>{const _0x103a70=_0x5e1836;_0x13bbc7(this[_0x103a70(0x1df)]());}):_0x13bbc7(this[_0x5e1836(0x1df)]());});}[_0x28236c(0x1e3)](_0x199bfd,_0x4b6af0){const _0x25c234=_0x28236c,_0x240c57=this[_0x25c234(0x1ca)][_0x25c234(0x20b)];this[_0x25c234(0x203)]=_0x4b6af0;for(const _0x50e421 of _0x199bfd){const _0x495d74=_0x240c57[_0x25c234(0x1fc)](_0x50e421['id']);if(_0x495d74){if((_0x50e421[_0x25c234(0x1eb)]||_0x50e421[_0x25c234(0x1da)])&&(_0x50e421[_0x25c234(0x207)]=null),_0x495d74===this[_0x25c234(0x1ca)][_0x25c234(0x1c8)]){const _0x30f5f3=Math[_0x25c234(0x20f)](_0x495d74[_0x25c234(0x1da)],_0x50e421[_0x25c234(0x1da)]),_0x47152f=Math[_0x25c234(0x20f)](_0x495d74[_0x25c234(0x1eb)],_0x50e421[_0x25c234(0x1eb)]);let _0x15335e;_0x495d74[_0x25c234(0x1da)]===_0x50e421[_0x25c234(0x1da)]&&_0x495d74[_0x25c234(0x1eb)]===_0x50e421[_0x25c234(0x1eb)]?(_0x15335e=!0x0,this[_0x25c234(0x1c0)](_0x50e421)):_0x50e421[_0x25c234(0x1da)]===_0x30f5f3&&_0x50e421[_0x25c234(0x1eb)]===_0x47152f?_0x15335e=!0x1:(_0x495d74[_0x25c234(0x1da)]===_0x30f5f3&&_0x495d74[_0x25c234(0x1eb)]===_0x47152f||this[_0x25c234(0x227)]({'revision':_0x495d74,'from':_0x47152f,'to':_0x30f5f3}),_0x15335e=!0x0),_0x15335e&&(delete _0x50e421[_0x25c234(0x1eb)],delete _0x50e421[_0x25c234(0x1da)],delete _0x50e421[_0x25c234(0x207)],delete _0x50e421[_0x25c234(0x1f4)],delete _0x50e421[_0x25c234(0x1ea)]);}this[_0x25c234(0x1ca)][_0x25c234(0x1d7)](_0x50e421),this[_0x25c234(0x1c0)](_0x50e421);}else this[_0x25c234(0x1ca)][_0x25c234(0x21a)](_0x50e421);}const _0x15812d=_0x240c57[_0x25c234(0x1d6)]();_0x15812d[_0x25c234(0x1e7)]();for(let _0x4fcd42=0x0;_0x4fcd42<_0x15812d[_0x25c234(0x1fe)]-0x1;_0x4fcd42++){const _0x4c1b34=_0x15812d[_0x4fcd42],_0x14a203=_0x15812d[_0x4fcd42+0x1];if(_0x4c1b34[_0x25c234(0x1eb)]<_0x14a203[_0x25c234(0x1da)]){const _0x2206b1=_0x14a203[_0x25c234(0x1da)],_0x40889f=Math[_0x25c234(0x20f)](_0x2206b1,_0x4c1b34[_0x25c234(0x1da)]);this[_0x25c234(0x227)]({'revision':_0x4c1b34,'from':_0x2206b1,'to':_0x40889f});}}}[_0x28236c(0x227)]({revision:_0x4d617f,from:_0x471d1e,to:_0x2af744}={}){const _0x52f29a=_0x28236c,_0x27f7b7=this[_0x52f29a(0x213)][_0x52f29a(0x1ce)][_0x52f29a(0x20e)](_0x1ad417),_0x571b60=this[_0x52f29a(0x1ca)][_0x52f29a(0x1bb)]({'revision':_0x4d617f,'from':_0x471d1e,'to':_0x2af744});_0x571b60[_0x52f29a(0x1e1)]=_0x571b60[_0x52f29a(0x1ea)][_0x52f29a(0x205)](_0x5f1a16=>_0x27f7b7[_0x52f29a(0x1e8)](_0x5f1a16)),_0x4d617f[_0x52f29a(0x1ec)](_0x571b60);}[_0x28236c(0x1c0)](_0x54e8fd){const _0x37363e=_0x28236c,_0x586dce={};_0x586dce['id']=_0x54e8fd['id'];for(const _0x240504 of Object[_0x37363e(0x221)](_0x54e8fd))'id'!==_0x240504&&(_0x586dce[_0x240504]=void 0x0);this[_0x37363e(0x1ca)][_0x37363e(0x1cd)](_0x586dce['id'],_0x586dce,!0x0);}async[_0x28236c(0x20d)](_0x5494fc){const _0x1b96eb=_0x28236c,_0x2ef8f=this[_0x1b96eb(0x213)][_0x1b96eb(0x1ce)][_0x1b96eb(0x20e)](_0x1ad417),{connection:_0xe99c5a}=this[_0x1b96eb(0x213)][_0x1b96eb(0x1ce)][_0x1b96eb(0x20e)](_0xd00bfc),_0x4c103=new Set();for(const _0x5789d4 of _0x5494fc){for(const _0x3b5e0e of _0x5789d4[_0x1b96eb(0x1ea)])_0x23dd6e(_0x3b5e0e);_0x5789d4[_0x1b96eb(0x1f6)]&&_0x23dd6e(_0x5789d4[_0x1b96eb(0x1f6)]);}if(0x0===_0x4c103[_0x1b96eb(0x222)])return;const _0x3c1553=await _0x4ca593[_0x1b96eb(0x1e4)](_0xe99c5a,Array[_0x1b96eb(0x1b8)](_0x4c103));for(const _0x4ed492 of _0x3c1553)_0x2ef8f[_0x1b96eb(0x1e8)](_0x4ed492['id'])||_0x2ef8f[_0x1b96eb(0x21b)](_0x4ed492);function _0x23dd6e(_0x560445){const _0x46b5e8=_0x1b96eb;_0x2ef8f[_0x46b5e8(0x1e8)](_0x560445)||_0x4c103[_0x46b5e8(0x224)](_0x560445);}}}function _0x36b6(){const _0x520bea=['startsWith','isConnected','_handleReconnectionError','_preventResendingRevisionData','change:_isConnected','pluginName','52653qwdXxm','once','change:_isPendingUpdate','CONNECTED','revisionsUpdated','currentRevision','84BPhrfd','_revisionTracker','_waitForServiceReady','_revisionHistoryService','_bufferUpdate','plugins','type','affectsData','_revisionDataBuilder','RevisionHistoryService','isPremiumPlugin','baseVersion','_isConnected','getRevisions','setRevisionData','32510XLabbK','isEmptyCurrent','toVersion','isBundleUploaded','bind','requires','_getLatestVersion','_getLatestVersionFromServerOperations','_offset','authors','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_handleRevisionsUpdate','getMany','52006XhrjJA','data','reverse','getUser','setSource','authorsIds','fromVersion','_update','5952339hXCGWB','cloudServices.bundleVersion','off','then','reconnect','cloud-services-internal-error:\x20Request\x20timeout.','2552fTueOm','createdAt','listenTo','creatorId','_oldOffset','message','marker','destroy','collaboration.channelId','getRevision','24fgtQak','length','sessionId','RevisionHistory','_isPendingUpdate','getOperations','_lastRequestId','catch','map','state','diffData','init','_bufferedUpdates','4170808SWLEpn','repository','addToReconnectionStack','_fetchMissingUsers','get','max','connected','_createCurrentRevision','isEnabled','editor','adapter','updateRevisions','400','58308CnAbEk','155bWdazS','has','addRevisionData','addUser','wrongRequestId','sendBufferedUpdates','_revisions','connect','isOfficialPlugin','keys','size','95916ItAiaO','add','reInit','code','_fixRevision','RevisionTracker','serverHistory','remove','connection','cloud-services-internal-error:\x20Not\x20connected.','from','config','_startingVersion','buildRevisionData','CloudServicesRevisionHistoryAdapter'];_0x36b6=function(){return _0x520bea;};return _0x36b6();}function M(_0xbbc562){const _0x42750f=_0x28236c;return _0xbbc562[_0x42750f(0x1f8)][_0x42750f(0x1bd)](_0x42750f(0x1e2))||_0xbbc562[_0x42750f(0x1f8)][_0x42750f(0x1bd)](_0x42750f(0x1b7))||_0xbbc562[_0x42750f(0x1f8)][_0x42750f(0x1bd)](_0x42750f(0x1f2));}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
function _0xa8e6(_0x35f98a,_0x3ea008){const _0x4991f4=_0x4991();return _0xa8e6=function(_0xa8e6c6,_0x537480){_0xa8e6c6=_0xa8e6c6-0x1a2;let _0x2094db=_0x4991f4[_0xa8e6c6];return _0x2094db;},_0xa8e6(_0x35f98a,_0x3ea008);}const _0x4283f9=_0xa8e6;(function(_0x493d62,_0x3ad854){const _0x3ed82f=_0xa8e6,_0x3595f7=_0x493d62();while(!![]){try{const _0x5cece3=parseInt(_0x3ed82f(0x1dd))/0x1*(parseInt(_0x3ed82f(0x1cd))/0x2)+-parseInt(_0x3ed82f(0x1bc))/0x3*(-parseInt(_0x3ed82f(0x1d8))/0x4)+parseInt(_0x3ed82f(0x1c0))/0x5+parseInt(_0x3ed82f(0x1ba))/0x6+parseInt(_0x3ed82f(0x1da))/0x7+parseInt(_0x3ed82f(0x1a4))/0x8+parseInt(_0x3ed82f(0x1a7))/0x9*(-parseInt(_0x3ed82f(0x1b6))/0xa);if(_0x5cece3===_0x3ad854)break;else _0x3595f7['push'](_0x3595f7['shift']());}catch(_0x1b9c39){_0x3595f7['push'](_0x3595f7['shift']());}}}(_0x4991,0x3ef6a));import{Plugin as _0x544f2e}from'ckeditor5/src/core.js';import{User as _0x432b93,TrackChangesService as _0x4274cf}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x574338}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x379ead}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x230c48}from'ckeditor5-collaboration/src/collaboration-core.js';export class CloudServicesTrackChangesAdapter extends _0x544f2e{static [_0x4283f9(0x1a6)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4274cf)());[_0x4283f9(0x1dc)];[_0x4283f9(0x1db)];static get[_0x4283f9(0x1c5)](){const _0x3a1ecc=_0x4283f9;return[_0x379ead,_0x3a1ecc(0x1a8),_0x574338];}static get[_0x4283f9(0x1aa)](){const _0x5bdd31=_0x4283f9;return _0x5bdd31(0x1ac);}static get[_0x4283f9(0x1ca)](){return!0x0;}static get[_0x4283f9(0x1b7)](){return!0x0;}constructor(_0x5dba61){const _0x46f4ad=_0x4283f9;super(_0x5dba61);const _0x504319=this[_0x46f4ad(0x1c1)][_0x46f4ad(0x1cc)][_0x46f4ad(0x1d0)](_0x46f4ad(0x1be));this[_0x46f4ad(0x1dc)]=new Map(),this[_0x46f4ad(0x1db)]=new CloudServicesTrackChangesAdapter[(_0x46f4ad(0x1a6))](_0x504319);}[_0x4283f9(0x1e1)](){const _0x5a401e=_0x4283f9,_0x2e139c=this[_0x5a401e(0x1c1)][_0x5a401e(0x1ae)][_0x5a401e(0x1d0)](_0x574338),_0x11187c=this[_0x5a401e(0x1c1)][_0x5a401e(0x1ae)][_0x5a401e(0x1d0)](_0x5a401e(0x1a8));return _0x11187c[_0x5a401e(0x1c8)]={'getSuggestion':async _0x469dc4=>{const _0x3420c9=_0x5a401e;await this[_0x3420c9(0x1b0)]();const _0x2a85a8=await this[_0x3420c9(0x1db)][_0x3420c9(0x1d0)](_0x469dc4)[_0x3420c9(0x1c2)](A);return await this[_0x3420c9(0x1ce)]([_0x2a85a8]),_0x2a85a8;},'addSuggestion':async({id:_0x45cdce,type:_0x574ebc,data:_0x174b0e,originalSuggestionId:_0x421437,attributes:_0x1070fe})=>{const _0x5f4277=_0x5a401e;await this[_0x5f4277(0x1b0)]();const _0x3ef658={'id':_0x45cdce,'type':_0x574ebc,'data':_0x174b0e,'originalSuggestionId':_0x421437,'attributes':_0x1070fe},_0x388520=await this[_0x5f4277(0x1db)][_0x5f4277(0x1a2)](_0x45cdce,_0x574ebc,_0x174b0e,_0x421437,_0x1070fe)[_0x5f4277(0x1c2)](_0x5d2b81=>{if(M(_0x5d2b81))return new Promise(_0x5ee849=>{const _0x4456b2=_0xa8e6;this[_0x4456b2(0x1dc)][_0x4456b2(0x1a3)](_0x45cdce,{'resolve':_0x5ee849,'suggestionData':_0x3ef658});});throw _0x5d2b81;});return this[_0x5f4277(0x1dc)][_0x5f4277(0x1d7)](_0x45cdce),_0x388520;},'updateSuggestion':async(_0xd320a7,_0x1f0a20)=>{const _0x4597a8=_0x5a401e;if(await this[_0x4597a8(0x1b0)](),_0x4597a8(0x1bf)!==_0x1f0a20[_0x4597a8(0x1b2)])return this[_0x4597a8(0x1db)][_0x4597a8(0x1cf)](_0xd320a7,_0x1f0a20)[_0x4597a8(0x1c2)](A);}},this[_0x5a401e(0x1b4)](this[_0x5a401e(0x1db)],_0x5a401e(0x1b5),(_0x2167c0,_0x3947ca)=>{const _0x399d59=_0x5a401e;_0x11187c[_0x399d59(0x1df)](_0x3947ca['id'])&&(_0x11187c[_0x399d59(0x1e0)](_0x3947ca['id'])[_0x399d59(0x1c3)]=_0x3947ca[_0x399d59(0x1c3)]);}),this[_0x5a401e(0x1db)][_0x5a401e(0x1d9)](_0x2e139c[_0x5a401e(0x1bb)])[_0x5a401e(0x1c4)](_0x2f4a39=>(_0x2e139c[_0x5a401e(0x1de)](this),this[_0x5a401e(0x1ce)](_0x2f4a39)[_0x5a401e(0x1c4)](()=>{const _0x3d0a0c=_0x5a401e;for(const _0x4fb198 of _0x2f4a39){_0x11187c[_0x3d0a0c(0x1d6)](_0x4fb198)[_0x3d0a0c(0x1cb)]=!0x0;}})));}async[_0x4283f9(0x1a9)](){const _0x4e6088=_0x4283f9,_0x4e1647=this[_0x4e6088(0x1c1)][_0x4e6088(0x1ae)][_0x4e6088(0x1d0)](_0x4e6088(0x1a8)),{connection:_0x414865}=this[_0x4e6088(0x1c1)][_0x4e6088(0x1ae)][_0x4e6088(0x1d0)](_0x574338),_0x10bc2e=await this[_0x4e6088(0x1db)][_0x4e6088(0x1d9)](_0x414865);await this[_0x4e6088(0x1ce)](_0x10bc2e);for(const {suggestionData:_0x1785bd,resolve:_0x27febe}of this[_0x4e6088(0x1dc)][_0x4e6088(0x1a5)]()){let _0x52bcf9=_0x10bc2e[_0x4e6088(0x1d2)](_0x8a774c=>_0x8a774c['id']===_0x1785bd['id']);_0x52bcf9||(_0x52bcf9=await this[_0x4e6088(0x1db)][_0x4e6088(0x1a2)](_0x1785bd['id'],_0x1785bd[_0x4e6088(0x1d1)],_0x1785bd[_0x4e6088(0x1af)],_0x1785bd[_0x4e6088(0x1d3)])),_0x27febe(_0x52bcf9);}for(const _0x3ced54 of _0x10bc2e)_0x4e1647[_0x4e6088(0x1df)](_0x3ced54['id'])||_0x4e1647[_0x4e6088(0x1d6)](_0x3ced54);}async[_0x4283f9(0x1b0)](){const _0x5a09ec=_0x4283f9;this[_0x5a09ec(0x1db)][_0x5a09ec(0x1c7)]||await new Promise(_0x55370e=>{const _0x2bd4e1=_0x5a09ec;this[_0x2bd4e1(0x1b4)](this[_0x2bd4e1(0x1db)],_0x2bd4e1(0x1c6),_0x4700f9=>{const _0x306f51=_0x2bd4e1;_0x4700f9[_0x306f51(0x1b3)](),_0x55370e();});});}async[_0x4283f9(0x1ce)](_0x5c0e1e){const _0x57f06e=_0x4283f9,_0x35aa96=this[_0x57f06e(0x1c1)][_0x57f06e(0x1ae)][_0x57f06e(0x1d0)](_0x230c48),{connection:_0x4add7c}=this[_0x57f06e(0x1c1)][_0x57f06e(0x1ae)][_0x57f06e(0x1d0)](_0x574338),_0x5651b8=new Set();for(const {authorId:_0x451a26}of _0x5c0e1e)_0x35aa96[_0x57f06e(0x1bd)](_0x451a26)||_0x5651b8[_0x57f06e(0x1a2)](_0x451a26);if(0x0===_0x5651b8[_0x57f06e(0x1b9)])return;const _0x3dbd2b=await _0x432b93[_0x57f06e(0x1b1)](_0x4add7c,Array[_0x57f06e(0x1ab)](_0x5651b8));for(const _0x171fe2 of _0x3dbd2b)_0x35aa96[_0x57f06e(0x1bd)](_0x171fe2['id'])||_0x35aa96[_0x57f06e(0x1d5)](_0x171fe2);}}function _0x4991(){const _0x3a2978=['CloudServicesTrackChangesAdapter','cloud-services-internal-error:\x20Request\x20timeout.','plugins','data','_waitForServiceReady','getMany','state','off','listenTo','suggestionUpdated','117260tYngiM','isPremiumPlugin','message','size','702132ebWzae','connection','1167gLPUDX','getUser','collaboration.channelId','open','1024155KHOLKx','editor','catch','attributes','then','requires','connected','isConnected','adapter','startsWith','isOfficialPlugin','_saved','config','50RtJKyK','_fetchMissingUsersForThreads','update','get','type','find','originalSuggestionId','cloud-services-internal-error:\x20Not\x20connected.','addUser','addSuggestionData','delete','204JtMVOX','connect','1710660bsspth','_trackChangesService','_bufferedRequests','1019dFJxpi','addToReconnectionStack','hasSuggestion','getSuggestion','init','add','set','641704CCTHLk','values','TrackChangesService','333KffMSj','TrackChangesEditing','reconnect','pluginName','from'];_0x4991=function(){return _0x3a2978;};return _0x4991();}function A(_0x585b09){if(M(_0x585b09))return new Promise(()=>{});throw _0x585b09;}function M(_0x2910c2){const _0x14454e=_0x4283f9;return _0x2910c2[_0x14454e(0x1b8)][_0x14454e(0x1c9)](_0x14454e(0x1d4))||_0x2910c2[_0x14454e(0x1b8)][_0x14454e(0x1c9)](_0x14454e(0x1ad));}
|