@ckeditor/ckeditor5-real-time-collaboration 46.1.0-alpha.2 → 46.1.0

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 _0x458e30=_0x182e;(function(_0xc6a80,_0x5c3251){const _0x488c36=_0x182e,_0x5ac5b9=_0xc6a80();while(!![]){try{const _0x227e34=-parseInt(_0x488c36(0x13c))/0x1+parseInt(_0x488c36(0x137))/0x2*(-parseInt(_0x488c36(0x11b))/0x3)+-parseInt(_0x488c36(0x149))/0x4+-parseInt(_0x488c36(0x153))/0x5+parseInt(_0x488c36(0x178))/0x6*(-parseInt(_0x488c36(0x14b))/0x7)+-parseInt(_0x488c36(0x139))/0x8*(-parseInt(_0x488c36(0x16c))/0x9)+parseInt(_0x488c36(0x141))/0xa;if(_0x227e34===_0x5c3251)break;else _0x5ac5b9['push'](_0x5ac5b9['shift']());}catch(_0x306004){_0x5ac5b9['push'](_0x5ac5b9['shift']());}}}(_0x4824,0xee092));import{Plugin as _0x81d1cd}from'ckeditor5/src/core.js';function _0x182e(_0x25e055,_0x506f19){const _0x48243b=_0x4824();return _0x182e=function(_0x182e8e,_0x30eeb9){_0x182e8e=_0x182e8e-0x113;let _0x57f2b9=_0x48243b[_0x182e8e];return _0x57f2b9;},_0x182e(_0x25e055,_0x506f19);}import{global as _0x12f304,DomEmitterMixin as _0x2ac433}from'ckeditor5/src/utils.js';import{Sessions as _0x39b204}from'./sessions.js';import{ModelLiveRange as _0x58cd9a}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x81d1cd{[_0x458e30(0x129)]=new(_0x2ac433())();static get[_0x458e30(0x16e)](){return[_0x39b204];}static get[_0x458e30(0x12e)](){const _0xa4bb17=_0x458e30;return _0xa4bb17(0x134);}static get[_0x458e30(0x15d)](){return!0x0;}static get[_0x458e30(0x165)](){return!0x0;}[_0x458e30(0x11f)](){const _0x175c44=_0x458e30,_0x47f28a=this[_0x175c44(0x17a)],_0x50e410=_0x47f28a[_0x175c44(0x132)][_0x175c44(0x198)](_0x39b204);_0x47f28a[_0x175c44(0x174)][_0x175c44(0x130)](_0x175c44(0x11c))[_0x175c44(0x17f)]({'model':_0x175c44(0x13b),'view':(_0x19561c,{writer:_0x3f6981})=>function(_0x258a25,_0x37aa10,_0x647949,_0x3856da){const _0xfd2693=_0x175c44,_0x3ee2c=_0x258a25[_0xfd2693(0x17e)][_0xfd2693(0x16b)](':')[0x2],_0x203a9a=_0x647949[_0xfd2693(0x15c)](_0x3ee2c);if(!_0x203a9a||_0x3ee2c===_0x647949[_0xfd2693(0x135)])return;if(!_0x3856da[_0xfd2693(0x183)][_0xfd2693(0x119)][_0xfd2693(0x13f)](_0x258a25[_0xfd2693(0x142)][_0xfd2693(0x114)],_0xfd2693(0x19a)))return;const _0x556024={'class':_0xfd2693(0x162)+_0x203a9a[_0xfd2693(0x126)][_0xfd2693(0x11a)](),'data-name':_0x203a9a[_0xfd2693(0x13d)],'data-session-id':_0x3ee2c},_0x1011e6=_0x3856da[_0xfd2693(0x183)][_0xfd2693(0x121)][_0xfd2693(0x198)](_0x258a25[_0xfd2693(0x17e)]),_0x17abb3=_0x1011e6[_0xfd2693(0x118)](),_0x400c5b=_0x17abb3[_0xfd2693(0x172)],_0x4ae4ad=_0x3856da[_0xfd2693(0x183)][_0xfd2693(0x119)];if(_0x400c5b&&_0x4ae4ad[_0xfd2693(0x170)](_0x400c5b)&&_0x4ae4ad[_0xfd2693(0x18f)](_0x400c5b)&&!_0x3856da[_0xfd2693(0x183)][_0xfd2693(0x121)][_0xfd2693(0x198)](_0xfd2693(0x16f)+_0x3ee2c)[_0xfd2693(0x180)]()[_0xfd2693(0x13a)])return;const _0x53615d=_0x17abb3[_0xfd2693(0x140)];return _0x3856da[_0xfd2693(0x183)][_0xfd2693(0x119)][_0xfd2693(0x144)](_0x53615d)&&!_0x3856da[_0xfd2693(0x183)][_0xfd2693(0x199)](_0x53615d)&&(_0x556024[_0xfd2693(0x193)]=!0x1),function(_0x5578ff,_0x4d7dd1,_0x4d9331){const _0xb1f62a=_0xfd2693,_0x597a58=_0x5578ff[_0xb1f62a(0x13e)](_0xb1f62a(0x148),_0x4d7dd1);return _0x5578ff[_0xb1f62a(0x196)](_0xb1f62a(0x127),!0x0,_0x597a58),_0x597a58[_0xb1f62a(0x123)]=function(_0x57fc7f){const _0x3c37b7=_0xb1f62a,_0x35543b=this[_0x3c37b7(0x167)](_0x57fc7f),_0x341bc2=document[_0x3c37b7(0x15b)](_0x3c37b7(0x148));return _0x341bc2[_0x3c37b7(0x17c)][_0x3c37b7(0x12d)](_0x3c37b7(0x136)),_0x341bc2[_0x3c37b7(0x187)](_0x3c37b7(0x193),_0x3c37b7(0x122)),_0x341bc2[_0x3c37b7(0x187)](_0x3c37b7(0x117),_0x3c37b7(0x122)),_0x341bc2[_0x3c37b7(0x176)]=_0x4d9331[_0x3c37b7(0x13d)],_0x35543b[_0x3c37b7(0x14a)]=_0x3c37b7(0x14d)+_0x341bc2[_0x3c37b7(0x177)]+'⁠',_0x35543b[_0x3c37b7(0x155)](_0x3c37b7(0x131),()=>{const _0x36d5e2=_0x3c37b7;_0x35543b[_0x36d5e2(0x17c)][_0x36d5e2(0x12d)](_0x36d5e2(0x125));}),_0x35543b[_0x3c37b7(0x155)](_0x3c37b7(0x188),()=>{const _0x7396dc=_0x3c37b7;_0x35543b[_0x7396dc(0x17c)][_0x7396dc(0x181)](_0x7396dc(0x125));}),_0x35543b;},_0x597a58[_0xb1f62a(0x156)]=function(_0x4fc93f){const _0x32d3cc=_0xb1f62a;return!(!this[_0x32d3cc(0x195)](_0x32d3cc(0x127))||!_0x4fc93f[_0x32d3cc(0x195)](_0x32d3cc(0x127))||this[_0x32d3cc(0x147)](_0x32d3cc(0x169))!=_0x4fc93f[_0x32d3cc(0x147)](_0x32d3cc(0x169)));},_0x597a58;}(_0x37aa10,_0x556024,_0x203a9a);}(_0x19561c,_0x3f6981,_0x50e410,_0x47f28a)}),_0x47f28a[_0x175c44(0x174)][_0x175c44(0x130)](_0x175c44(0x11c))[_0x175c44(0x11d)]({'model':_0x175c44(0x186),'view':_0x3da786=>function(_0x65c846,_0x3e6dc8){const _0x3f4f18=_0x175c44,_0x54d45f=_0x65c846[_0x3f4f18(0x17e)][_0x3f4f18(0x16b)](':')[0x2];if(_0x54d45f===_0x3e6dc8[_0x3f4f18(0x135)])return null;const _0x5ed05f=_0x3e6dc8[_0x3f4f18(0x15c)](_0x54d45f);if(!_0x5ed05f)return{'id':_0x54d45f,'classes':[]};return{'id':_0x54d45f,'classes':[_0x3f4f18(0x17b),_0x5ed05f[_0x3f4f18(0x126)][_0x3f4f18(0x150)]()],'attributes':{'data-session-id':_0x54d45f},'priority':0x7d0+_0x5ed05f[_0x3f4f18(0x19c)]};}(_0x3da786,_0x50e410)}),function(_0x580455){const _0x298a8b=_0x175c44,_0x2c5260=_0x580455[_0x298a8b(0x183)],_0x16bf07=new Map(),_0x5991ae=_0x580455[_0x298a8b(0x132)][_0x298a8b(0x198)](_0x39b204);_0x2c5260[_0x298a8b(0x121)]['on'](_0x298a8b(0x166),(_0x47f332,_0x3a8b3e,_0x39ec9d,_0x1c7fd0)=>{const _0x4116dd=_0x298a8b;if(!_0x1c7fd0&&_0x16bf07[_0x4116dd(0x198)](_0x3a8b3e[_0x4116dd(0x13d)]))return _0x16bf07[_0x4116dd(0x198)](_0x3a8b3e[_0x4116dd(0x13d)])[_0x4116dd(0x12c)](),void _0x16bf07[_0x4116dd(0x19d)](_0x3a8b3e[_0x4116dd(0x13d)]);const _0x241a8a=_0x3a8b3e[_0x4116dd(0x13d)][_0x4116dd(0x16b)](':')[0x2];if(_0x241a8a===_0x5991ae[_0x4116dd(0x135)])return;const _0x48b048=_0x4116dd(0x18a)+_0x241a8a;_0x2c5260[_0x4116dd(0x121)][_0x4116dd(0x185)](_0x48b048)&&_0x580455[_0x4116dd(0x12f)][_0x4116dd(0x18c)](_0x48b048),_0x3a8b3e['on'](_0x4116dd(0x116),(_0xfc9c22,_0x5253d2,_0x42135b)=>{const _0x2df196=_0x4116dd;if(_0x2df196(0x157)!=_0x5253d2[_0x2df196(0x161)][_0x2df196(0x197)]&&_0x2df196(0x157)==_0x3a8b3e[_0x2df196(0x180)]()[_0x2df196(0x161)][_0x2df196(0x197)]&&!_0x16bf07[_0x2df196(0x185)](_0x3a8b3e[_0x2df196(0x13d)])){const _0x11f44d=_0x2c5260[_0x2df196(0x119)][_0x2df196(0x160)](_0x42135b[_0x2df196(0x120)]);if(_0x11f44d){const _0x2408e2=_0x58cd9a[_0x2df196(0x159)](_0x11f44d);_0x16bf07[_0x2df196(0x171)](_0x3a8b3e[_0x2df196(0x13d)],_0x2408e2),_0x2408e2['on'](_0x2df196(0x116),(_0x2109d5,_0x1270a1,_0x464e06)=>{const _0x34537f=_0x2df196;if(_0x34537f(0x157)==_0x2408e2[_0x34537f(0x161)][_0x34537f(0x197)]){const _0x365e56=_0x2c5260[_0x34537f(0x119)][_0x34537f(0x160)](_0x464e06[_0x34537f(0x120)]);_0x365e56?(_0x2408e2[_0x34537f(0x114)]=_0x365e56[_0x34537f(0x114)],_0x2408e2[_0x34537f(0x128)]=_0x365e56[_0x34537f(0x128)]):(_0x16bf07[_0x34537f(0x19d)](_0x3a8b3e[_0x34537f(0x13d)]),_0x2408e2[_0x34537f(0x12c)]());}});}}});}),_0x2c5260[_0x298a8b(0x189)]['on'](_0x298a8b(0x124),()=>{const _0x417dc1=_0x298a8b;_0x16bf07[_0x417dc1(0x163)]>0x0&&_0x2c5260[_0x417dc1(0x168)]({'isUndoable':!0x1},_0x27c6b3=>{const _0x197f5f=_0x417dc1;for(const [_0x71c6f2,_0x31e2a0]of _0x16bf07)_0x197f5f(0x157)==_0x2c5260[_0x197f5f(0x121)][_0x197f5f(0x198)](_0x71c6f2)[_0x197f5f(0x180)]()[_0x197f5f(0x161)][_0x197f5f(0x197)]&&(Z(_0x71c6f2[_0x197f5f(0x16b)](':')[0x2],_0x31e2a0[_0x197f5f(0x158)](),_0x2c5260,_0x27c6b3),_0x31e2a0[_0x197f5f(0x12c)]());_0x16bf07[_0x197f5f(0x12b)]();});});}(_0x47f28a),this[_0x175c44(0x129)][_0x175c44(0x182)](_0x12f304[_0x175c44(0x189)],_0x175c44(0x113),(_0x55e4c9,{key:_0x2aefd9})=>{const _0xeebeef=_0x175c44;_0xeebeef(0x14c)===_0x2aefd9&&function(_0x2c405d){const _0x2898dd=_0xeebeef;_0x2c405d[_0x2898dd(0x12f)][_0x2898dd(0x184)][_0x2898dd(0x124)](_0x730c7c=>{const _0x205c5e=_0x2898dd;for(const _0xa3aef0 of _0x2c405d[_0x205c5e(0x183)][_0x205c5e(0x121)]){if(!_0xa3aef0[_0x205c5e(0x13d)][_0x205c5e(0x179)](_0x205c5e(0x13b)))continue;const _0x4d1cc0=_0x2c405d[_0x205c5e(0x12f)][_0x205c5e(0x14e)][_0x205c5e(0x154)](_0xa3aef0[_0x205c5e(0x13d)]);if(_0x4d1cc0){for(const _0x3bbdcd of _0x4d1cc0)_0x730c7c[_0x205c5e(0x164)](_0x205c5e(0x125),_0x3bbdcd);}}});}(_0x47f28a);},{'useCapture':!0x0});}[_0x458e30(0x12a)](){const _0x50577a=_0x458e30,_0x43f4f7=this[_0x50577a(0x17a)],_0x13611e=_0x43f4f7[_0x50577a(0x194)][_0x50577a(0x198)](_0x50577a(0x19b));_0x13611e&&_0x43f4f7[_0x50577a(0x183)]['on'](_0x50577a(0x14f),(_0x5e4f1d,_0x5d71cb)=>{const _0x3bbd5d=_0x50577a,_0x221726=_0x5d71cb[0x0];if(!_0x221726[_0x3bbd5d(0x190)])return;if(_0x3bbd5d(0x18b)!=_0x221726[_0x3bbd5d(0x146)]||!_0x221726[_0x3bbd5d(0x13d)][_0x3bbd5d(0x179)](_0x3bbd5d(0x192)))return;const _0x1410ee=_0x221726[_0x3bbd5d(0x143)];_0x13611e[_0x3bbd5d(0x175)][_0x3bbd5d(0x185)](_0x1410ee)&&(_0x221726[_0x3bbd5d(0x133)]=_0x221726[_0x3bbd5d(0x191)]?_0x43f4f7[_0x3bbd5d(0x183)][_0x3bbd5d(0x152)](_0x221726[_0x3bbd5d(0x191)][_0x3bbd5d(0x114)],_0x221726[_0x3bbd5d(0x191)][_0x3bbd5d(0x128)]):null);},{'priority':_0x50577a(0x138)});}[_0x458e30(0x173)](){const _0x32a9d6=_0x458e30;return this[_0x32a9d6(0x129)][_0x32a9d6(0x15a)](),super[_0x32a9d6(0x173)]();}[_0x458e30(0x17d)](){const _0x583795=_0x458e30,_0x21482a=this[_0x583795(0x17a)],_0x1bcba0=_0x21482a[_0x583795(0x183)][_0x583795(0x189)],_0x5b24c8=_0x21482a[_0x583795(0x132)][_0x583795(0x198)](_0x39b204);_0x21482a[_0x583795(0x183)][_0x583795(0x168)]({'isUndoable':!0x1},_0x5ecd19=>{const _0x2220be=_0x583795,_0x1b65c1=_0x2220be(0x16f)+_0x5b24c8[_0x2220be(0x135)],_0x46cb1b=_0x2220be(0x18a)+_0x5b24c8[_0x2220be(0x135)],_0x2a04f6=_0x21482a[_0x2220be(0x183)][_0x2220be(0x121)][_0x2220be(0x185)](_0x1b65c1);_0x21482a[_0x2220be(0x12f)][_0x2220be(0x184)][_0x2220be(0x16a)]?Z(_0x5b24c8[_0x2220be(0x135)],_0x1bcba0[_0x2220be(0x18e)][_0x2220be(0x15e)](),_0x21482a[_0x2220be(0x183)],_0x5ecd19):_0x2a04f6&&(_0x5ecd19[_0x2220be(0x11e)](_0x1b65c1),_0x5ecd19[_0x2220be(0x11e)](_0x46cb1b));});}}function _0x4824(){const _0x1a1320=['1328499NOSgVG','name','createUIElement','checkChild','parent','52458550CdCrGN','markerRange','batch','isLimit','element','type','getAttribute','span','1520044EEMGnQ','innerHTML','15323RXFESi','Escape','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','mapper','applyOperation','getSelectionClass','addMarker','createRange','6100875FlgCTG','markerNameToElements','addEventListener','isSimilar','$graveyard','toRange','fromRange','stopListening','createElement','getUserBySessionId','isOfficialPlugin','getFirstRange','tableCell','getNearestSelectionRange','root','ck-user__marker\x20','size','removeClass','isPremiumPlugin','update:user:range','toDomElement','enqueueChange','data-session-id','hasDomSelection','split','220869hippYC','updateMarker','requires','user:range:','isObject','set','nodeAfter','destroy','conversion','_createdBatches','textContent','outerHTML','2136PUrTMi','startsWith','editor','ck-user__selection','classList','createUserMarkerOperations','markerName','markerToElement','getRange','remove','listenTo','model','view','has','user:range','setAttribute','mouseleave','document','user:position:','marker','reconvertMarker','getContainedElement','selection','isInline','isDocumentOperation','oldRange','user:','contenteditable','commands','getCustomProperty','setCustomProperty','rootName','get','hasContent','$text','undo','orderNumber','delete','keydown','start','getPositions','change:range','spellcheck','getStart','schema','getMarkerClass','79629fvBacK','editingDowncast','markerToHighlight','removeMarker','init','deletionPosition','markers','false','render','change','ck-user__marker_hovered','color','userPositionMarker','end','_domEmitter','afterInit','clear','detach','add','pluginName','editing','for','mouseenter','plugins','newRange','UserMarkers','mySessionId','ck-user__marker-tooltip','72bPpfbm','highest','128jKJiDy','isCollapsed','user:position'];_0x4824=function(){return _0x1a1320;};return _0x4824();}function Z(_0x2fae42,_0x3b9f38,_0x2a39cd,_0x234399){const _0x551700=_0x458e30,_0x40073f=_0x551700(0x16f)+_0x2fae42,_0x32ecb8=_0x551700(0x18a)+_0x2fae42,_0x1783c2=_0x3b9f38[_0x551700(0x18d)]();let _0x29373b=_0x3b9f38[_0x551700(0x114)];if(_0x1783c2&&_0x1783c2['is'](_0x551700(0x145),_0x551700(0x15f))){const _0x27304f=function(_0x54865d,_0x470567){const _0x29b6f4=_0x551700;for(const _0x28bb9e of _0x54865d[_0x29b6f4(0x115)]())if(_0x470567[_0x29b6f4(0x119)][_0x29b6f4(0x13f)](_0x28bb9e,_0x29b6f4(0x19a)))return _0x28bb9e;}(_0x3b9f38,_0x2a39cd);_0x27304f&&(_0x29373b=_0x27304f,_0x3b9f38=_0x234399[_0x551700(0x152)](_0x29373b));}const _0x2c3f98=_0x234399[_0x551700(0x152)](_0x29373b);_0x2a39cd[_0x551700(0x121)][_0x551700(0x185)](_0x40073f)?(_0x234399[_0x551700(0x16d)](_0x40073f,{'range':_0x3b9f38}),_0x234399[_0x551700(0x16d)](_0x32ecb8,{'range':_0x2c3f98})):(_0x234399[_0x551700(0x151)](_0x40073f,{'range':_0x3b9f38,'usingOperation':!0x0}),_0x234399[_0x551700(0x151)](_0x32ecb8,{'range':_0x2c3f98,'usingOperation':!0x0}));}
23
+ const _0x3ca512=_0x508e;(function(_0x17b58b,_0x7f8c89){const _0x1a2cf9=_0x508e,_0x3280f2=_0x17b58b();while(!![]){try{const _0x1ddf39=parseInt(_0x1a2cf9(0x108))/0x1+-parseInt(_0x1a2cf9(0x16e))/0x2*(parseInt(_0x1a2cf9(0x158))/0x3)+-parseInt(_0x1a2cf9(0x12f))/0x4+parseInt(_0x1a2cf9(0xef))/0x5*(parseInt(_0x1a2cf9(0x155))/0x6)+-parseInt(_0x1a2cf9(0x11a))/0x7+parseInt(_0x1a2cf9(0x109))/0x8+-parseInt(_0x1a2cf9(0x146))/0x9*(parseInt(_0x1a2cf9(0x12a))/0xa);if(_0x1ddf39===_0x7f8c89)break;else _0x3280f2['push'](_0x3280f2['shift']());}catch(_0x50f708){_0x3280f2['push'](_0x3280f2['shift']());}}}(_0x3247,0x2b9a1));function _0x508e(_0x1d4be6,_0x570fdc){const _0x3247bf=_0x3247();return _0x508e=function(_0x508e84,_0x4c0569){_0x508e84=_0x508e84-0xec;let _0x5af462=_0x3247bf[_0x508e84];return _0x5af462;},_0x508e(_0x1d4be6,_0x570fdc);}import{Plugin as _0x55491e}from'ckeditor5/src/core.js';import{global as _0x161bc4,DomEmitterMixin as _0x3c43a6}from'ckeditor5/src/utils.js';import{Sessions as _0x29038f}from'./sessions.js';function _0x3247(){const _0x31a6ff=['user:','split','update:user:range','size','newRange','editingDowncast','keydown','pluginName','undo','isInline','getContainedElement','markerName','startsWith','clear','ck-user__marker-tooltip','770twfEha','destroy','setAttribute','name','markers','679064wrRffA','tableCell','markerToHighlight','rootName','_domEmitter','setCustomProperty','markerRange','has','delete','commands','remove','false','contenteditable','updateMarker','isCollapsed','toRange','model','plugins','addEventListener','color','reconvertMarker','createRange','mouseenter','13194BiKkwL','oldRange','isOfficialPlugin','deletionPosition','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','user:position','textContent','ck-user__marker\x20','isDocumentOperation','getFirstRange','mouseleave','change','change:range','createUserMarkerOperations','afterInit','398226xZaSnr','view','mapper','3AvazAy','removeClass','span','element','highest','getMarkerClass','userPositionMarker','init','nodeAfter','document','getRange','isPremiumPlugin','isLimit','ck-user__marker_hovered','$text','getNearestSelectionRange','hasDomSelection','user:position:','UserMarkers','get','getPositions','type','340892MAImmr','createUIElement','editing','_createdBatches','hasContent','fromRange','Escape','end','conversion','set','classList','getCustomProperty','25jlTXLT','markerNameToElements','markerToElement','mySessionId','selection','user:range','data-session-id','isObject','parent','marker','for','requires','render','editor','checkChild','getAttribute','spellcheck','applyOperation','removeMarker','ck-user__selection','innerHTML','stopListening','root','schema','orderNumber','347635CFDqkk','662520MDKKFx','batch','$graveyard','enqueueChange','createElement','toDomElement','isSimilar','getStart','listenTo','addMarker','outerHTML','getUserBySessionId','detach','add','user:range:','getSelectionClass','start','914326SbUwkq'];_0x3247=function(){return _0x31a6ff;};return _0x3247();}import{ModelLiveRange as _0x3fc6e4}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x55491e{[_0x3ca512(0x133)]=new(_0x3c43a6())();static get[_0x3ca512(0xfa)](){return[_0x29038f];}static get[_0x3ca512(0x122)](){const _0x33dc42=_0x3ca512;return _0x33dc42(0x16a);}static get[_0x3ca512(0x148)](){return!0x0;}static get[_0x3ca512(0x163)](){return!0x0;}[_0x3ca512(0x15f)](){const _0x33ce0e=_0x3ca512,_0x3dc90b=this[_0x33ce0e(0xfc)],_0x22a7ee=_0x3dc90b[_0x33ce0e(0x140)][_0x33ce0e(0x16b)](_0x29038f);_0x3dc90b[_0x33ce0e(0x176)][_0x33ce0e(0xf9)](_0x33ce0e(0x120))[_0x33ce0e(0xf1)]({'model':_0x33ce0e(0x14b),'view':(_0x48efde,{writer:_0xdd4c6c})=>function(_0x226af3,_0x3ba76e,_0x524980,_0x451293){const _0x1e5c50=_0x33ce0e,_0x33a975=_0x226af3[_0x1e5c50(0x126)][_0x1e5c50(0x11c)](':')[0x2],_0x4303ea=_0x524980[_0x1e5c50(0x114)](_0x33a975);if(!_0x4303ea||_0x33a975===_0x524980[_0x1e5c50(0xf2)])return;if(!_0x451293[_0x1e5c50(0x13f)][_0x1e5c50(0x106)][_0x1e5c50(0xfd)](_0x226af3[_0x1e5c50(0x135)][_0x1e5c50(0x119)],_0x1e5c50(0x166)))return;const _0x3a58c7={'class':_0x1e5c50(0x14d)+_0x4303ea[_0x1e5c50(0x142)][_0x1e5c50(0x15d)](),'data-name':_0x4303ea[_0x1e5c50(0x12d)],'data-session-id':_0x33a975},_0x5be7dc=_0x451293[_0x1e5c50(0x13f)][_0x1e5c50(0x12e)][_0x1e5c50(0x16b)](_0x226af3[_0x1e5c50(0x126)]),_0x12c5cc=_0x5be7dc[_0x1e5c50(0x110)](),_0x3a219=_0x12c5cc[_0x1e5c50(0x160)],_0x2ae1c=_0x451293[_0x1e5c50(0x13f)][_0x1e5c50(0x106)];if(_0x3a219&&_0x2ae1c[_0x1e5c50(0xf6)](_0x3a219)&&_0x2ae1c[_0x1e5c50(0x124)](_0x3a219)&&!_0x451293[_0x1e5c50(0x13f)][_0x1e5c50(0x12e)][_0x1e5c50(0x16b)](_0x1e5c50(0x117)+_0x33a975)[_0x1e5c50(0x162)]()[_0x1e5c50(0x13d)])return;const _0xf8754a=_0x12c5cc[_0x1e5c50(0xf7)];return _0x451293[_0x1e5c50(0x13f)][_0x1e5c50(0x106)][_0x1e5c50(0x164)](_0xf8754a)&&!_0x451293[_0x1e5c50(0x13f)][_0x1e5c50(0x172)](_0xf8754a)&&(_0x3a58c7[_0x1e5c50(0x13b)]=!0x1),function(_0x45d164,_0x8c41ea,_0x130a14){const _0x25a71e=_0x1e5c50,_0x2b71ed=_0x45d164[_0x25a71e(0x16f)](_0x25a71e(0x15a),_0x8c41ea);return _0x45d164[_0x25a71e(0x134)](_0x25a71e(0x15e),!0x0,_0x2b71ed),_0x2b71ed[_0x25a71e(0xfb)]=function(_0xeebedc){const _0x2b4657=_0x25a71e,_0x49fc15=this[_0x2b4657(0x10e)](_0xeebedc),_0x41d053=document[_0x2b4657(0x10d)](_0x2b4657(0x15a));return _0x41d053[_0x2b4657(0xed)][_0x2b4657(0x116)](_0x2b4657(0x129)),_0x41d053[_0x2b4657(0x12c)](_0x2b4657(0x13b),_0x2b4657(0x13a)),_0x41d053[_0x2b4657(0x12c)](_0x2b4657(0xff),_0x2b4657(0x13a)),_0x41d053[_0x2b4657(0x14c)]=_0x130a14[_0x2b4657(0x12d)],_0x49fc15[_0x2b4657(0x103)]=_0x2b4657(0x14a)+_0x41d053[_0x2b4657(0x113)]+'⁠',_0x49fc15[_0x2b4657(0x141)](_0x2b4657(0x145),()=>{const _0x3c9d41=_0x2b4657;_0x49fc15[_0x3c9d41(0xed)][_0x3c9d41(0x116)](_0x3c9d41(0x165));}),_0x49fc15[_0x2b4657(0x141)](_0x2b4657(0x150),()=>{const _0x1c9b46=_0x2b4657;_0x49fc15[_0x1c9b46(0xed)][_0x1c9b46(0x139)](_0x1c9b46(0x165));}),_0x49fc15;},_0x2b71ed[_0x25a71e(0x10f)]=function(_0x2bf69b){const _0x53f351=_0x25a71e;return!(!this[_0x53f351(0xee)](_0x53f351(0x15e))||!_0x2bf69b[_0x53f351(0xee)](_0x53f351(0x15e))||this[_0x53f351(0xfe)](_0x53f351(0xf5))!=_0x2bf69b[_0x53f351(0xfe)](_0x53f351(0xf5)));},_0x2b71ed;}(_0x3ba76e,_0x3a58c7,_0x4303ea);}(_0x48efde,_0xdd4c6c,_0x22a7ee,_0x3dc90b)}),_0x3dc90b[_0x33ce0e(0x176)][_0x33ce0e(0xf9)](_0x33ce0e(0x120))[_0x33ce0e(0x131)]({'model':_0x33ce0e(0xf4),'view':_0x510fd0=>function(_0x1c4557,_0x57e8e3){const _0x305d3a=_0x33ce0e,_0x4070a5=_0x1c4557[_0x305d3a(0x126)][_0x305d3a(0x11c)](':')[0x2];if(_0x4070a5===_0x57e8e3[_0x305d3a(0xf2)])return null;const _0x41e90b=_0x57e8e3[_0x305d3a(0x114)](_0x4070a5);if(!_0x41e90b)return{'id':_0x4070a5,'classes':[]};return{'id':_0x4070a5,'classes':[_0x305d3a(0x102),_0x41e90b[_0x305d3a(0x142)][_0x305d3a(0x118)]()],'attributes':{'data-session-id':_0x4070a5},'priority':0x7d0+_0x41e90b[_0x305d3a(0x107)]};}(_0x510fd0,_0x22a7ee)}),function(_0x45c96d){const _0x2af3ab=_0x33ce0e,_0x274d06=_0x45c96d[_0x2af3ab(0x13f)],_0x599221=new Map(),_0x19b13f=_0x45c96d[_0x2af3ab(0x140)][_0x2af3ab(0x16b)](_0x29038f);_0x274d06[_0x2af3ab(0x12e)]['on'](_0x2af3ab(0x11d),(_0x3c8289,_0x164fdd,_0x162fa8,_0x5d7402)=>{const _0xc411e3=_0x2af3ab;if(!_0x5d7402&&_0x599221[_0xc411e3(0x16b)](_0x164fdd[_0xc411e3(0x12d)]))return _0x599221[_0xc411e3(0x16b)](_0x164fdd[_0xc411e3(0x12d)])[_0xc411e3(0x115)](),void _0x599221[_0xc411e3(0x137)](_0x164fdd[_0xc411e3(0x12d)]);const _0x264c79=_0x164fdd[_0xc411e3(0x12d)][_0xc411e3(0x11c)](':')[0x2];if(_0x264c79===_0x19b13f[_0xc411e3(0xf2)])return;const _0x285dd6=_0xc411e3(0x169)+_0x264c79;_0x274d06[_0xc411e3(0x12e)][_0xc411e3(0x136)](_0x285dd6)&&_0x45c96d[_0xc411e3(0x170)][_0xc411e3(0x143)](_0x285dd6),_0x164fdd['on'](_0xc411e3(0x152),(_0x92f594,_0x37e256,_0x5c0034)=>{const _0x183896=_0xc411e3;if(_0x183896(0x10b)!=_0x37e256[_0x183896(0x105)][_0x183896(0x132)]&&_0x183896(0x10b)==_0x164fdd[_0x183896(0x162)]()[_0x183896(0x105)][_0x183896(0x132)]&&!_0x599221[_0x183896(0x136)](_0x164fdd[_0x183896(0x12d)])){const _0x2108f8=_0x274d06[_0x183896(0x106)][_0x183896(0x167)](_0x5c0034[_0x183896(0x149)]);if(_0x2108f8){const _0x227116=_0x3fc6e4[_0x183896(0x173)](_0x2108f8);_0x599221[_0x183896(0xec)](_0x164fdd[_0x183896(0x12d)],_0x227116),_0x227116['on'](_0x183896(0x152),(_0x5ed8b9,_0x1220ac,_0xc74b6)=>{const _0xcce2a=_0x183896;if(_0xcce2a(0x10b)==_0x227116[_0xcce2a(0x105)][_0xcce2a(0x132)]){const _0x27cdcc=_0x274d06[_0xcce2a(0x106)][_0xcce2a(0x167)](_0xc74b6[_0xcce2a(0x149)]);_0x27cdcc?(_0x227116[_0xcce2a(0x119)]=_0x27cdcc[_0xcce2a(0x119)],_0x227116[_0xcce2a(0x175)]=_0x27cdcc[_0xcce2a(0x175)]):(_0x599221[_0xcce2a(0x137)](_0x164fdd[_0xcce2a(0x12d)]),_0x227116[_0xcce2a(0x115)]());}});}}});}),_0x274d06[_0x2af3ab(0x161)]['on'](_0x2af3ab(0x151),()=>{const _0x12aeda=_0x2af3ab;_0x599221[_0x12aeda(0x11e)]>0x0&&_0x274d06[_0x12aeda(0x10c)]({'isUndoable':!0x1},_0x11fb03=>{const _0x57f966=_0x12aeda;for(const [_0x4adc6d,_0x25c358]of _0x599221)_0x57f966(0x10b)==_0x274d06[_0x57f966(0x12e)][_0x57f966(0x16b)](_0x4adc6d)[_0x57f966(0x162)]()[_0x57f966(0x105)][_0x57f966(0x132)]&&(K(_0x4adc6d[_0x57f966(0x11c)](':')[0x2],_0x25c358[_0x57f966(0x13e)](),_0x274d06,_0x11fb03),_0x25c358[_0x57f966(0x115)]());_0x599221[_0x57f966(0x128)]();});});}(_0x3dc90b),this[_0x33ce0e(0x133)][_0x33ce0e(0x111)](_0x161bc4[_0x33ce0e(0x161)],_0x33ce0e(0x121),(_0x3aeac3,{key:_0x4f1c29})=>{const _0x4693a0=_0x33ce0e;_0x4693a0(0x174)===_0x4f1c29&&function(_0x3d29a6){const _0x1b4d48=_0x4693a0;_0x3d29a6[_0x1b4d48(0x170)][_0x1b4d48(0x156)][_0x1b4d48(0x151)](_0x49495b=>{const _0x4616d3=_0x1b4d48;for(const _0x3d7998 of _0x3d29a6[_0x4616d3(0x13f)][_0x4616d3(0x12e)]){if(!_0x3d7998[_0x4616d3(0x12d)][_0x4616d3(0x127)](_0x4616d3(0x14b)))continue;const _0x48b620=_0x3d29a6[_0x4616d3(0x170)][_0x4616d3(0x157)][_0x4616d3(0xf0)](_0x3d7998[_0x4616d3(0x12d)]);if(_0x48b620){for(const _0x205112 of _0x48b620)_0x49495b[_0x4616d3(0x159)](_0x4616d3(0x165),_0x205112);}}});}(_0x3dc90b);},{'useCapture':!0x0});}[_0x3ca512(0x154)](){const _0x236cbb=_0x3ca512,_0x1bc593=this[_0x236cbb(0xfc)],_0x1cb139=_0x1bc593[_0x236cbb(0x138)][_0x236cbb(0x16b)](_0x236cbb(0x123));_0x1cb139&&_0x1bc593[_0x236cbb(0x13f)]['on'](_0x236cbb(0x100),(_0x47a903,_0x2a2b06)=>{const _0x49b728=_0x236cbb,_0x5cc909=_0x2a2b06[0x0];if(!_0x5cc909[_0x49b728(0x14e)])return;if(_0x49b728(0xf8)!=_0x5cc909[_0x49b728(0x16d)]||!_0x5cc909[_0x49b728(0x12d)][_0x49b728(0x127)](_0x49b728(0x11b)))return;const _0xb52719=_0x5cc909[_0x49b728(0x10a)];_0x1cb139[_0x49b728(0x171)][_0x49b728(0x136)](_0xb52719)&&(_0x5cc909[_0x49b728(0x11f)]=_0x5cc909[_0x49b728(0x147)]?_0x1bc593[_0x49b728(0x13f)][_0x49b728(0x144)](_0x5cc909[_0x49b728(0x147)][_0x49b728(0x119)],_0x5cc909[_0x49b728(0x147)][_0x49b728(0x175)]):null);},{'priority':_0x236cbb(0x15c)});}[_0x3ca512(0x12b)](){const _0x2e5e09=_0x3ca512;return this[_0x2e5e09(0x133)][_0x2e5e09(0x104)](),super[_0x2e5e09(0x12b)]();}[_0x3ca512(0x153)](){const _0x16ed03=_0x3ca512,_0x17066a=this[_0x16ed03(0xfc)],_0x5b0fb1=_0x17066a[_0x16ed03(0x13f)][_0x16ed03(0x161)],_0x39c98e=_0x17066a[_0x16ed03(0x140)][_0x16ed03(0x16b)](_0x29038f);_0x17066a[_0x16ed03(0x13f)][_0x16ed03(0x10c)]({'isUndoable':!0x1},_0x326558=>{const _0x57dd76=_0x16ed03,_0x220e64=_0x57dd76(0x117)+_0x39c98e[_0x57dd76(0xf2)],_0x4c2552=_0x57dd76(0x169)+_0x39c98e[_0x57dd76(0xf2)],_0x84eed5=_0x17066a[_0x57dd76(0x13f)][_0x57dd76(0x12e)][_0x57dd76(0x136)](_0x220e64);_0x17066a[_0x57dd76(0x170)][_0x57dd76(0x156)][_0x57dd76(0x168)]?K(_0x39c98e[_0x57dd76(0xf2)],_0x5b0fb1[_0x57dd76(0xf3)][_0x57dd76(0x14f)](),_0x17066a[_0x57dd76(0x13f)],_0x326558):_0x84eed5&&(_0x326558[_0x57dd76(0x101)](_0x220e64),_0x326558[_0x57dd76(0x101)](_0x4c2552));});}}function K(_0x329ffd,_0x3c02c1,_0xbf71c2,_0x5880ce){const _0x571454=_0x3ca512,_0x40c2c5=_0x571454(0x117)+_0x329ffd,_0x41d064=_0x571454(0x169)+_0x329ffd,_0x1e2693=_0x3c02c1[_0x571454(0x125)]();let _0x46519d=_0x3c02c1[_0x571454(0x119)];if(_0x1e2693&&_0x1e2693['is'](_0x571454(0x15b),_0x571454(0x130))){const _0xaa60d=function(_0x114a87,_0x57540d){const _0x4e74fb=_0x571454;for(const _0x2c5796 of _0x114a87[_0x4e74fb(0x16c)]())if(_0x57540d[_0x4e74fb(0x106)][_0x4e74fb(0xfd)](_0x2c5796,_0x4e74fb(0x166)))return _0x2c5796;}(_0x3c02c1,_0xbf71c2);_0xaa60d&&(_0x46519d=_0xaa60d,_0x3c02c1=_0x5880ce[_0x571454(0x144)](_0x46519d));}const _0x5cadbb=_0x5880ce[_0x571454(0x144)](_0x46519d);_0xbf71c2[_0x571454(0x12e)][_0x571454(0x136)](_0x40c2c5)?(_0x5880ce[_0x571454(0x13c)](_0x40c2c5,{'range':_0x3c02c1}),_0x5880ce[_0x571454(0x13c)](_0x41d064,{'range':_0x5cadbb})):(_0x5880ce[_0x571454(0x112)](_0x40c2c5,{'range':_0x3c02c1,'usingOperation':!0x0}),_0x5880ce[_0x571454(0x112)](_0x41d064,{'range':_0x5cadbb,'usingOperation':!0x0}));}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5854fd=_0x2c65;(function(_0x477565,_0x326b16){const _0x557773=_0x2c65,_0x41592f=_0x477565();while(!![]){try{const _0x39c237=parseInt(_0x557773(0x1f4))/0x1+parseInt(_0x557773(0x21b))/0x2+-parseInt(_0x557773(0x219))/0x3+parseInt(_0x557773(0x208))/0x4+-parseInt(_0x557773(0x1f6))/0x5+-parseInt(_0x557773(0x1e3))/0x6+parseInt(_0x557773(0x221))/0x7;if(_0x39c237===_0x326b16)break;else _0x41592f['push'](_0x41592f['shift']());}catch(_0xf7ef55){_0x41592f['push'](_0x41592f['shift']());}}}(_0x58bd,0x86969));function _0x2c65(_0x257edf,_0x203c4e){const _0x58bdcf=_0x58bd();return _0x2c65=function(_0x2c6519,_0x9bffbc){_0x2c6519=_0x2c6519-0x1e2;let _0x2aebeb=_0x58bdcf[_0x2c6519];return _0x2aebeb;},_0x2c65(_0x257edf,_0x203c4e);}import{ContextPlugin as _0x51e988}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2a2a35,CKEditorError as _0x279493}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x36601d,WEB_SOCKET_GATEWAY_STATES as _0x5d02f3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x4d6f29}from'ckeditor5/src/ui.js';function _0x58bd(){const _0x392d76=['websocketgateway-missing-websocket-url','state','add','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.','token','limitExceeded','cloudServices.requestTimeout','_shouldPluginsReconnect','constructor','webSocketUrl','context','isPremiumPlugin','requires','2200084YEmaLe','offline','cloudServices.connectionTimeout','config','isOfficialPlugin','isInReconnectionStack','reconnect','function','plugins','destroy','_reconnectionStack','Connected\x20users\x20limit\x20exceeded','CONNECTING','pluginName','real-time-collaboration','websocketgateway-missing-token','define','667296PXHWBc','listenTo','1904730QrFydf','delete','connected','addToReconnectionStack','DISCONNECTED','bind','1858696scFRVp','change:me','stopListening','removeFromReconnectionStack','CloudServices','from','has','then','all','5799036qneGvs','get','initialReconnectionInterval','disconnect','set','catch','_isBrowserOffline','error','init','_reconnect','showWarning','connect','websocketgateway-plugin-already-registered','online','_domEmitter','cloudservices-reconnection-error','connection','156906bChKuC','cloudservices-init','923045ONxNGk','WebSocketGateway','code','CONNECTED','websocketgateway-invalid-plugin-interface'];_0x58bd=function(){return _0x392d76;};return _0x58bd();}class n extends _0x51e988{static [_0x5854fd(0x1f7)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x36601d)());static [_0x5854fd(0x1e5)]=0x3e8;[_0x5854fd(0x1f3)];[_0x5854fd(0x212)];[_0x5854fd(0x202)];[_0x5854fd(0x1f1)];static get[_0x5854fd(0x207)](){const _0x5370f2=_0x5854fd;return[_0x5370f2(0x225),_0x4d6f29];}static get[_0x5854fd(0x215)](){const _0x33f500=_0x5854fd;return _0x33f500(0x1f7);}static get[_0x5854fd(0x20c)](){return!0x0;}static get[_0x5854fd(0x206)](){return!0x0;}constructor(_0x210326){const _0x31bce1=_0x5854fd;super(_0x210326),this[_0x31bce1(0x1e7)](_0x31bce1(0x1fc),_0x5d02f3[_0x31bce1(0x1f9)]),this[_0x31bce1(0x1e7)](_0x31bce1(0x1e9),!0x1),this[_0x31bce1(0x212)]=new Set(),this[_0x31bce1(0x202)]=!0x1,this[_0x31bce1(0x1f1)]=new(_0x2a2a35())();}[_0x5854fd(0x1eb)](){const _0x3d83c7=_0x5854fd,_0x1fcf99=this[_0x3d83c7(0x205)],_0x318888=_0x1fcf99[_0x3d83c7(0x210)][_0x3d83c7(0x1e4)](_0x3d83c7(0x225)),_0x1cc298=_0x1fcf99[_0x3d83c7(0x210)][_0x3d83c7(0x1e4)](_0x4d6f29);if(!_0x318888[_0x3d83c7(0x1ff)])throw new _0x279493(_0x3d83c7(0x217),this);if(!_0x318888[_0x3d83c7(0x204)])throw new _0x279493(_0x3d83c7(0x1fb),this);return this[_0x3d83c7(0x1f1)][_0x3d83c7(0x21a)](window,_0x3d83c7(0x209),()=>this[_0x3d83c7(0x1e9)]=!0x0),this[_0x3d83c7(0x1f1)][_0x3d83c7(0x21a)](window,_0x3d83c7(0x1f0),()=>this[_0x3d83c7(0x1e9)]=!0x1),this[_0x3d83c7(0x205)][_0x3d83c7(0x20b)][_0x3d83c7(0x218)](_0x3d83c7(0x20a),0xa),this[_0x3d83c7(0x205)][_0x3d83c7(0x20b)][_0x3d83c7(0x218)](_0x3d83c7(0x201),0x14),n[_0x3d83c7(0x1f7)][_0x3d83c7(0x1ee)](_0x318888[_0x3d83c7(0x1ff)],_0x318888[_0x3d83c7(0x204)],{'timeout':0x3e8*this[_0x3d83c7(0x205)][_0x3d83c7(0x20b)][_0x3d83c7(0x1e4)](_0x3d83c7(0x20a)),'requestTimeout':0x3e8*this[_0x3d83c7(0x205)][_0x3d83c7(0x20b)][_0x3d83c7(0x1e4)](_0x3d83c7(0x201))})[_0x3d83c7(0x228)](_0xbd8c4e=>{const _0x14264a=_0x3d83c7;if(this[_0x14264a(0x1f3)]=_0xbd8c4e,this[_0x14264a(0x220)](_0x14264a(0x1fc))['to'](_0xbd8c4e,_0x14264a(0x1fc),this,_0x14264a(0x1e9),(_0xe7a5f,_0x4fce21)=>(_0x14264a(0x21d)!==_0xe7a5f&&(this[_0x14264a(0x202)]=!0x0),_0x4fce21||_0xe7a5f!==_0x5d02f3[_0x14264a(0x1f9)]?_0x5d02f3[_0x14264a(0x21f)]:this[_0x14264a(0x1fc)]==_0x5d02f3[_0x14264a(0x21f)]&&this[_0x14264a(0x202)]?(this[_0x14264a(0x202)]=!0x1,this[_0x14264a(0x1ec)](),_0x5d02f3[_0x14264a(0x214)]):_0x5d02f3[_0x14264a(0x1f9)])),this[_0x14264a(0x1f3)]['on'](_0x14264a(0x1ea),(_0x1b6e98,_0x57f06a)=>{const _0x10171b=_0x14264a;if(_0x10171b(0x200)!==_0x57f06a[_0x10171b(0x1f8)])throw console[_0x10171b(0x1ea)](_0x57f06a),new _0x279493(_0x10171b(0x1f5),null,{'originalError':_0x57f06a});_0x1cc298[_0x10171b(0x1ed)](_0x10171b(0x1fe),{'title':_0x10171b(0x213),'namespace':_0x10171b(0x216)});}),!_0xbd8c4e['me'])return new Promise(_0x392c00=>_0xbd8c4e['on'](_0x14264a(0x222),_0x392c00));})[_0x3d83c7(0x1e8)](_0x31b7dc=>{const _0x893630=_0x3d83c7;throw console[_0x893630(0x1ea)](_0x31b7dc),new _0x279493(_0x893630(0x1f5),null,{'originalError':_0x31b7dc});});}[_0x5854fd(0x21e)](_0x28507d){const _0x152f83=_0x5854fd;if(_0x152f83(0x20f)!=typeof _0x28507d[_0x152f83(0x20e)])throw new _0x279493(_0x152f83(0x1fa),this);if(this[_0x152f83(0x20d)](_0x28507d))throw new _0x279493(_0x152f83(0x1ef),this,{'name':_0x28507d[_0x152f83(0x203)][_0x152f83(0x215)]});this[_0x152f83(0x212)][_0x152f83(0x1fd)](_0x28507d);}[_0x5854fd(0x224)](_0x2517a7){const _0x39d1f7=_0x5854fd;this[_0x39d1f7(0x212)][_0x39d1f7(0x21c)](_0x2517a7);}[_0x5854fd(0x20d)](_0x9a24a8){const _0x335985=_0x5854fd;return this[_0x335985(0x212)][_0x335985(0x227)](_0x9a24a8);}[_0x5854fd(0x1ec)](){const _0xd2bda2=_0x5854fd;return this[_0xd2bda2(0x1f3)][_0xd2bda2(0x20e)]()[_0xd2bda2(0x228)](()=>Promise[_0xd2bda2(0x1e2)](Array[_0xd2bda2(0x226)](this[_0xd2bda2(0x212)],_0x788364=>_0x788364[_0xd2bda2(0x20e)]())))[_0xd2bda2(0x228)](()=>this[_0xd2bda2(0x1fc)]=_0x5d02f3[_0xd2bda2(0x1f9)])[_0xd2bda2(0x1e8)](_0x3e4c72=>{const _0x1c5501=_0xd2bda2;throw console[_0x1c5501(0x1ea)](_0x3e4c72),new _0x279493(_0x1c5501(0x1f2),this[_0x1c5501(0x205)]);});}[_0x5854fd(0x1e6)](){const _0x17e5ff=_0x5854fd;this[_0x17e5ff(0x1f3)]&&this[_0x17e5ff(0x1f3)][_0x17e5ff(0x1e6)](),this[_0x17e5ff(0x1fc)]=_0x5d02f3[_0x17e5ff(0x21f)],this[_0x17e5ff(0x1f1)][_0x17e5ff(0x223)]();}[_0x5854fd(0x211)](){const _0x3bb972=_0x5854fd;this[_0x3bb972(0x1e6)](),super[_0x3bb972(0x211)]();}}export{n as WebSocketGateway};
23
+ const _0x341818=_0x57ae;(function(_0x3aca2f,_0xb8a283){const _0x39ca99=_0x57ae,_0x303df6=_0x3aca2f();while(!![]){try{const _0x41c894=-parseInt(_0x39ca99(0x1e1))/0x1*(-parseInt(_0x39ca99(0x1af))/0x2)+parseInt(_0x39ca99(0x1ae))/0x3*(-parseInt(_0x39ca99(0x1a4))/0x4)+-parseInt(_0x39ca99(0x1bb))/0x5+parseInt(_0x39ca99(0x1d4))/0x6*(-parseInt(_0x39ca99(0x1d3))/0x7)+parseInt(_0x39ca99(0x1c5))/0x8+-parseInt(_0x39ca99(0x1d6))/0x9+parseInt(_0x39ca99(0x1e0))/0xa*(parseInt(_0x39ca99(0x1e5))/0xb);if(_0x41c894===_0xb8a283)break;else _0x303df6['push'](_0x303df6['shift']());}catch(_0x2981ed){_0x303df6['push'](_0x303df6['shift']());}}}(_0xe20e,0x51bef));import{ContextPlugin as _0x40b562}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x57114f,CKEditorError as _0x52c36e}from'ckeditor5/src/utils.js';function _0x57ae(_0x1fa182,_0xeece78){const _0xe20efd=_0xe20e();return _0x57ae=function(_0x57ae40,_0x33d73b){_0x57ae40=_0x57ae40-0x1a0;let _0x2ea33a=_0xe20efd[_0x57ae40];return _0x2ea33a;},_0x57ae(_0x1fa182,_0xeece78);}import{WebSocketGateway as _0x10a81,WEB_SOCKET_GATEWAY_STATES as _0x532c7d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x3a57a7}from'ckeditor5/src/ui.js';class n extends _0x40b562{static [_0x341818(0x1bd)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x10a81)());static [_0x341818(0x1b6)]=0x3e8;[_0x341818(0x1df)];[_0x341818(0x1e8)];[_0x341818(0x1ca)];[_0x341818(0x1a3)];static get[_0x341818(0x1cb)](){const _0x446ef8=_0x341818;return[_0x446ef8(0x1c3),_0x3a57a7];}static get[_0x341818(0x1d7)](){const _0x6ba767=_0x341818;return _0x6ba767(0x1bd);}static get[_0x341818(0x1da)](){return!0x0;}static get[_0x341818(0x1a9)](){return!0x0;}constructor(_0x901df3){const _0x301b73=_0x341818;super(_0x901df3),this[_0x301b73(0x1dc)](_0x301b73(0x1bf),_0x532c7d[_0x301b73(0x1a1)]),this[_0x301b73(0x1dc)](_0x301b73(0x1ea),!0x1),this[_0x301b73(0x1e8)]=new Set(),this[_0x301b73(0x1ca)]=!0x1,this[_0x301b73(0x1a3)]=new(_0x57114f())();}[_0x341818(0x1b4)](){const _0x2e7585=_0x341818,_0x5faf3d=this[_0x2e7585(0x1c2)],_0x3171a9=_0x5faf3d[_0x2e7585(0x1db)][_0x2e7585(0x1cf)](_0x2e7585(0x1c3)),_0x3377a3=_0x5faf3d[_0x2e7585(0x1db)][_0x2e7585(0x1cf)](_0x3a57a7);if(!_0x3171a9[_0x2e7585(0x1e4)])throw new _0x52c36e(_0x2e7585(0x1ad),this);if(!_0x3171a9[_0x2e7585(0x1c7)])throw new _0x52c36e(_0x2e7585(0x1b7),this);return this[_0x2e7585(0x1a3)][_0x2e7585(0x1b5)](window,_0x2e7585(0x1be),()=>this[_0x2e7585(0x1ea)]=!0x0),this[_0x2e7585(0x1a3)][_0x2e7585(0x1b5)](window,_0x2e7585(0x1c0),()=>this[_0x2e7585(0x1ea)]=!0x1),this[_0x2e7585(0x1c2)][_0x2e7585(0x1a5)][_0x2e7585(0x1cc)](_0x2e7585(0x1a7),0xa),this[_0x2e7585(0x1c2)][_0x2e7585(0x1a5)][_0x2e7585(0x1cc)](_0x2e7585(0x1e6),0x14),n[_0x2e7585(0x1bd)][_0x2e7585(0x1b3)](_0x3171a9[_0x2e7585(0x1e4)],_0x3171a9[_0x2e7585(0x1c7)],{'timeout':0x3e8*this[_0x2e7585(0x1c2)][_0x2e7585(0x1a5)][_0x2e7585(0x1cf)](_0x2e7585(0x1a7)),'requestTimeout':0x3e8*this[_0x2e7585(0x1c2)][_0x2e7585(0x1a5)][_0x2e7585(0x1cf)](_0x2e7585(0x1e6))})[_0x2e7585(0x1e3)](_0x24e820=>{const _0x544fa9=_0x2e7585;if(this[_0x544fa9(0x1df)]=_0x24e820,this[_0x544fa9(0x1b9)](_0x544fa9(0x1bf))['to'](_0x24e820,_0x544fa9(0x1bf),this,_0x544fa9(0x1ea),(_0x49c23a,_0xb9196e)=>(_0x544fa9(0x1ce)!==_0x49c23a&&(this[_0x544fa9(0x1ca)]=!0x0),_0xb9196e||_0x49c23a!==_0x532c7d[_0x544fa9(0x1a1)]?_0x532c7d[_0x544fa9(0x1b8)]:this[_0x544fa9(0x1bf)]==_0x532c7d[_0x544fa9(0x1b8)]&&this[_0x544fa9(0x1ca)]?(this[_0x544fa9(0x1ca)]=!0x1,this[_0x544fa9(0x1ab)](),_0x532c7d[_0x544fa9(0x1a2)]):_0x532c7d[_0x544fa9(0x1a1)])),this[_0x544fa9(0x1df)]['on'](_0x544fa9(0x1d9),(_0x4e6dfd,_0x364762)=>{const _0x3aff08=_0x544fa9;if(_0x3aff08(0x1d8)!==_0x364762[_0x3aff08(0x1a8)])throw console[_0x3aff08(0x1d9)](_0x364762),new _0x52c36e(_0x3aff08(0x1ac),null,{'originalError':_0x364762});_0x3377a3[_0x3aff08(0x1ba)](_0x3aff08(0x1a0),{'title':_0x3aff08(0x1c6),'namespace':_0x3aff08(0x1c8)});}),!_0x24e820['me'])return new Promise(_0x15e064=>_0x24e820['on'](_0x544fa9(0x1a6),_0x15e064));})[_0x2e7585(0x1b0)](_0x17d8f5=>{const _0x48f60a=_0x2e7585;throw console[_0x48f60a(0x1d9)](_0x17d8f5),new _0x52c36e(_0x48f60a(0x1ac),null,{'originalError':_0x17d8f5});});}[_0x341818(0x1c1)](_0x1c776d){const _0x39ddf4=_0x341818;if(_0x39ddf4(0x1d2)!=typeof _0x1c776d[_0x39ddf4(0x1e9)])throw new _0x52c36e(_0x39ddf4(0x1dd),this);if(this[_0x39ddf4(0x1b2)](_0x1c776d))throw new _0x52c36e(_0x39ddf4(0x1b1),this,{'name':_0x1c776d[_0x39ddf4(0x1d0)][_0x39ddf4(0x1d7)]});this[_0x39ddf4(0x1e8)][_0x39ddf4(0x1de)](_0x1c776d);}[_0x341818(0x1bc)](_0x2f5496){const _0x5a523a=_0x341818;this[_0x5a523a(0x1e8)][_0x5a523a(0x1c9)](_0x2f5496);}[_0x341818(0x1b2)](_0x26bb54){const _0x25ea58=_0x341818;return this[_0x25ea58(0x1e8)][_0x25ea58(0x1c4)](_0x26bb54);}[_0x341818(0x1ab)](){const _0x40ba28=_0x341818;return this[_0x40ba28(0x1df)][_0x40ba28(0x1e9)]()[_0x40ba28(0x1e3)](()=>Promise[_0x40ba28(0x1cd)](Array[_0x40ba28(0x1d1)](this[_0x40ba28(0x1e8)],_0x27ce78=>_0x27ce78[_0x40ba28(0x1e9)]())))[_0x40ba28(0x1e3)](()=>this[_0x40ba28(0x1bf)]=_0x532c7d[_0x40ba28(0x1a1)])[_0x40ba28(0x1b0)](_0x7c9d35=>{const _0x31179a=_0x40ba28;throw console[_0x31179a(0x1d9)](_0x7c9d35),new _0x52c36e(_0x31179a(0x1d5),this[_0x31179a(0x1c2)]);});}[_0x341818(0x1e2)](){const _0x138078=_0x341818;this[_0x138078(0x1df)]&&this[_0x138078(0x1df)][_0x138078(0x1e2)](),this[_0x138078(0x1bf)]=_0x532c7d[_0x138078(0x1b8)],this[_0x138078(0x1a3)][_0x138078(0x1e7)]();}[_0x341818(0x1aa)](){const _0x53769a=_0x341818;this[_0x53769a(0x1e2)](),super[_0x53769a(0x1aa)]();}}export{n as WebSocketGateway};function _0xe20e(){const _0x352b58=['415071RmIvzE','1161362EOlYnJ','catch','websocketgateway-plugin-already-registered','isInReconnectionStack','connect','init','listenTo','initialReconnectionInterval','websocketgateway-missing-websocket-url','DISCONNECTED','bind','showWarning','2111290cYJLAb','removeFromReconnectionStack','WebSocketGateway','offline','state','online','addToReconnectionStack','context','CloudServices','has','1914880Xuteos','Connected\x20users\x20limit\x20exceeded','webSocketUrl','real-time-collaboration','delete','_shouldPluginsReconnect','requires','define','all','connected','get','constructor','from','function','394667mdDxcX','42zjRRHC','cloudservices-reconnection-error','4920264pihPVg','pluginName','limitExceeded','error','isOfficialPlugin','plugins','set','websocketgateway-invalid-plugin-interface','add','connection','10bFlfXi','1xvfKNl','disconnect','then','token','11184448BtvYWF','cloudServices.requestTimeout','stopListening','_reconnectionStack','reconnect','_isBrowserOffline','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','CONNECTED','CONNECTING','_domEmitter','4RMoUHd','config','change:me','cloudServices.connectionTimeout','code','isPremiumPlugin','destroy','_reconnect','cloudservices-init','websocketgateway-missing-token'];_0xe20e=function(){return _0x352b58;};return _0xe20e();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a6670=_0x4e51;function _0x4e51(_0x2438ed,_0xbff1ac){const _0x5a82b3=_0x5a82();return _0x4e51=function(_0x4e518b,_0x5256cb){_0x4e518b=_0x4e518b-0x16a;let _0xfc6bab=_0x5a82b3[_0x4e518b];return _0xfc6bab;},_0x4e51(_0x2438ed,_0xbff1ac);}(function(_0x4234ab,_0x4273c4){const _0x2d5bc9=_0x4e51,_0x4616fa=_0x4234ab();while(!![]){try{const _0xc0c369=parseInt(_0x2d5bc9(0x1b3))/0x1+-parseInt(_0x2d5bc9(0x1d9))/0x2+parseInt(_0x2d5bc9(0x1a3))/0x3+parseInt(_0x2d5bc9(0x16d))/0x4*(parseInt(_0x2d5bc9(0x1c1))/0x5)+parseInt(_0x2d5bc9(0x1da))/0x6*(-parseInt(_0x2d5bc9(0x184))/0x7)+parseInt(_0x2d5bc9(0x1c5))/0x8+parseInt(_0x2d5bc9(0x1cb))/0x9;if(_0xc0c369===_0x4273c4)break;else _0x4616fa['push'](_0x4616fa['shift']());}catch(_0x563474){_0x4616fa['push'](_0x4616fa['shift']());}}}(_0x5a82,0x5bed6));import{Plugin as _0x53ffe9}from'ckeditor5/src/core.js';import{version as _0x22395b}from'ckeditor5/src/utils.js';import{Users as _0x4050c8}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x817981}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x513ea9}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x326c87}from'../realtimecollaborativeediting/sessions.js';function _0x5a82(){const _0x8e434c=['_bufferedUpdates','config','cloud-services-internal-error:\x20Not\x20connected.','message','add','pluginName','remove','sendBufferedUpdates','_getLatestVersion','off','type','fromVersion','authorsIds','RevisionTracker','diffData','editor','revisionsUpdated','_lastRequestId','plugins','repository','_handleReconnectionError','code','2570561kzUfau','listenTo','currentRevision','once','serverHistory','_isConnected','length','_startingVersion','reconnect','_offset','_revisions','get','isEmptyCurrent','_handleRevisionsUpdate','getUser','map','createdAt','has','bind','catch','isEnabled','_fixRevision','size','addRevisionData','state','from','creatorId','CloudServicesRevisionHistoryAdapter','getMany','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_preventResendingRevisionData','1743147GYKJsd','setRevisionData','toVersion','destroy','connect','change:_isPendingUpdate','isOfficialPlugin','updateRevisions','_fetchMissingUsers','connected','addUser','affectsData','_oldOffset','_revisionTracker','_createCurrentRevision','buildRevisionData','434678nueYPZ','collaboration.channelId','getRevision','_revisionDataBuilder','_bufferUpdate','_isPendingUpdate','cloud-services-internal-error:\x20Request\x20timeout.','marker','cloudServices.bundleVersion','setSource','requires','_getLatestVersionFromServerOperations','getOperations','sessionId','9045UwHoiI','400','RevisionHistory','reverse','1922872HosziN','then','authors','startsWith','_update','isPremiumPlugin','611388sUJJaP','connection','isConnected','getRevisions','_waitForServiceReady','addToReconnectionStack','isBundleUploaded','init','wrongRequestId','adapter','data','_revisionHistoryService','change:_isConnected','CONNECTED','1489760LtiBpz','6WMDOMt','baseVersion','reInit','keys','max','RevisionHistoryService','364uAlDwf'];_0x5a82=function(){return _0x8e434c;};return _0x5a82();}import{EditorService as _0x17b2a9,RevisionHistoryService as _0x4b3453,User as _0x33efff,WEB_SOCKET_GATEWAY_STATES as _0x558be8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x53ffe9{static [_0x2a6670(0x16c)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4b3453)());[_0x2a6670(0x17f)];[_0x2a6670(0x1b0)];[_0x2a6670(0x1d6)];[_0x2a6670(0x1af)];static get[_0x2a6670(0x1bd)](){const _0x4b541f=_0x2a6670;return[_0x513ea9,_0x817981,_0x4b541f(0x1c3),_0x326c87,_0x4050c8];}static get[_0x2a6670(0x173)](){const _0xcf4cb9=_0x2a6670;return _0xcf4cb9(0x19f);}static get[_0x2a6670(0x1a9)](){return!0x0;}static get[_0x2a6670(0x1ca)](){return!0x0;}constructor(_0xcf815){const _0x1094b7=_0x2a6670;super(_0xcf815);const _0x1c43bc=this[_0x1094b7(0x17d)][_0x1094b7(0x16f)][_0x1094b7(0x18f)](_0x1094b7(0x1b4));this[_0x1094b7(0x17f)]=null,this[_0x1094b7(0x1b0)]=this[_0x1094b7(0x17d)][_0x1094b7(0x180)][_0x1094b7(0x18f)](_0x1094b7(0x17b)),this[_0x1094b7(0x1d6)]=new c[(_0x1094b7(0x16c))](_0x1c43bc);}async[_0x2a6670(0x1d2)](){const _0x544ddb=_0x2a6670,_0x402f23=this[_0x544ddb(0x17d)][_0x544ddb(0x180)][_0x544ddb(0x18f)](_0x817981),_0x1f987a=_0x402f23[_0x544ddb(0x188)],_0x4e9eef=this[_0x544ddb(0x17d)][_0x544ddb(0x180)][_0x544ddb(0x18f)](_0x513ea9);this[_0x544ddb(0x1b0)][_0x544ddb(0x1bc)]({'history':_0x1f987a,'getLatestVersion':()=>this[_0x544ddb(0x176)](),'getCurrentRevisionId':()=>_0x402f23[_0x544ddb(0x1c0)]});const _0x5bd04e=this[_0x544ddb(0x17d)][_0x544ddb(0x16f)][_0x544ddb(0x18f)](_0x544ddb(0x1bb))||_0x22395b,_0x2d55ea=await _0x17b2a9[_0x544ddb(0x1d1)](_0x4e9eef[_0x544ddb(0x1cc)],_0x5bd04e);this[_0x544ddb(0x17d)][_0x544ddb(0x180)][_0x544ddb(0x18f)](_0x544ddb(0x1c3))[_0x544ddb(0x1d4)]={'getRevision':async({revisionId:_0x4b1c03})=>(await this[_0x544ddb(0x1cf)](),await this[_0x544ddb(0x1d6)][_0x544ddb(0x1b5)](_0x4b1c03)),'updateRevisions':async _0x2f0656=>{const _0x16fb1b=_0x544ddb;await this[_0x16fb1b(0x1cf)]();const _0x394f0e=this[_0x16fb1b(0x1b0)][_0x16fb1b(0x186)];if(_0x2d55ea&&0x1===_0x2f0656[_0x16fb1b(0x18a)]&&_0x2f0656[0x0]['id']===_0x394f0e['id'])return _0x2f0656;for(const _0x14bfdf of _0x2f0656)_0x14bfdf['id']===_0x394f0e['id']&&(_0x14bfdf[_0x16fb1b(0x190)]=_0x14bfdf[_0x16fb1b(0x179)]===_0x14bfdf[_0x16fb1b(0x1a5)]);return this[_0x16fb1b(0x1d6)][_0x16fb1b(0x1aa)](_0x2f0656,this[_0x16fb1b(0x17f)])[_0x16fb1b(0x1c6)](_0x564196=>(this[_0x16fb1b(0x17f)]=_0x564196,_0x2f0656))[_0x16fb1b(0x197)](_0x2d2e77=>{const _0x18dd79=_0x16fb1b;if(it(_0x2d2e77)||_0x18dd79(0x1c2)===_0x2d2e77[_0x18dd79(0x183)]&&void 0x0!==_0x2d2e77[_0x18dd79(0x1d5)][_0x18dd79(0x1d3)]){for(const _0x8921a0 of _0x2f0656){!this[_0x18dd79(0x1b0)][_0x18dd79(0x181)][_0x18dd79(0x1b5)](_0x8921a0['id'])||this[_0x18dd79(0x1b0)][_0x18dd79(0x1b7)](_0x8921a0['id'],_0x8921a0,!0x1);}if(it(_0x2d2e77))throw _0x2d2e77;return _0x2f0656;}throw _0x2d2e77;});}},this[_0x544ddb(0x185)](this[_0x544ddb(0x1d6)],_0x544ddb(0x17e),(_0x545d93,{revisionsData:_0x19de2f,requestId:_0x555804})=>{const _0x9d053d=_0x544ddb;Math[_0x9d053d(0x16b)](..._0x19de2f[_0x9d053d(0x193)](_0x5d948a=>_0x5d948a[_0x9d053d(0x1a5)]))>this[_0x9d053d(0x1be)]()-0x1?this[_0x9d053d(0x176)]()[_0x9d053d(0x1c6)](()=>{const _0x2b9bb0=_0x9d053d;this[_0x2b9bb0(0x191)](_0x19de2f,_0x555804);}):this[_0x9d053d(0x191)](_0x19de2f,_0x555804);});const {revisions:_0x3db83b,requestId:_0xa98056}=await this[_0x544ddb(0x1d6)][_0x544ddb(0x1a7)](_0x4e9eef[_0x544ddb(0x1cc)]);_0x4e9eef[_0x544ddb(0x1d0)](this),this[_0x544ddb(0x17f)]=_0xa98056,await this[_0x544ddb(0x1ab)](_0x3db83b);for(const _0x3473c0 of _0x3db83b)this[_0x544ddb(0x1b0)][_0x544ddb(0x19b)](_0x3473c0);this[_0x544ddb(0x185)](_0x402f23,_0x544ddb(0x1d7),(_0x4b5c3a,_0x12cb64,_0x45f400)=>{const _0x53c62f=_0x544ddb;_0x45f400&&(this[_0x53c62f(0x1af)]=_0x402f23[_0x53c62f(0x18d)],_0x4b5c3a[_0x53c62f(0x177)]());}),this[_0x544ddb(0x1b0)][_0x544ddb(0x196)](_0x544ddb(0x198))['to'](_0x4e9eef,_0x544ddb(0x19c),_0x4ef067=>_0x4ef067===_0x558be8[_0x544ddb(0x1d8)]);}async[_0x2a6670(0x18c)](){const _0x50b2fe=_0x2a6670,_0x42dfff=this[_0x50b2fe(0x17d)][_0x50b2fe(0x180)][_0x50b2fe(0x18f)](_0x513ea9),_0xc6fde=this[_0x50b2fe(0x17d)][_0x50b2fe(0x180)][_0x50b2fe(0x18f)](_0x817981),_0x227a25=async()=>{const _0x68473c=_0x50b2fe,_0x2d5d7a=this[_0x68473c(0x1b0)][_0x68473c(0x186)],_0x54088f=_0x2d5d7a['id'],_0x57fdd6=_0x54088f!==_0xc6fde[_0x68473c(0x1c0)];if(_0x57fdd6){const _0x45701d=_0xc6fde[_0x68473c(0x18d)]-this[_0x68473c(0x1af)],_0x452bdd=this[_0x68473c(0x1be)]();this[_0x68473c(0x1b0)][_0x68473c(0x1b6)][_0x68473c(0x1dc)]();if(_0x2d5d7a[_0x68473c(0x1a5)]+_0x45701d!==_0x452bdd){const _0x5ad137=_0x2d5d7a[_0x68473c(0x179)]+_0x45701d,_0x4e10ee=this[_0x68473c(0x17d)][_0x68473c(0x180)][_0x68473c(0x18f)](_0x4050c8),_0x17ac3d=this[_0x68473c(0x1b0)][_0x68473c(0x1b2)]({'revision':_0x2d5d7a,'from':_0x5ad137,'to':_0x452bdd});_0x17ac3d['id']=_0x2d5d7a['id'];const _0x1d0a88=_0x17ac3d[_0x68473c(0x17a)][_0x68473c(0x193)](_0x409133=>_0x4e10ee[_0x68473c(0x192)](_0x409133));_0x2d5d7a[_0x68473c(0x1c9)]({..._0x17ac3d,'authors':_0x1d0a88},!0x0),this[_0x68473c(0x1b0)][_0x68473c(0x1b7)](_0x2d5d7a['id'],_0x17ac3d,!0x0);}this[_0x68473c(0x1b0)][_0x68473c(0x18b)]=_0x452bdd,(_0x2d5d7a[_0x68473c(0x1a5)]===_0x2d5d7a[_0x68473c(0x179)]&&!this[_0x68473c(0x1b0)][_0x68473c(0x16e)][_0x68473c(0x195)](_0x54088f)&&this[_0x68473c(0x1b0)][_0x68473c(0x181)][_0x68473c(0x18e)][_0x68473c(0x174)](_0x54088f),this[_0x68473c(0x1b0)][_0x68473c(0x1b1)](_0x452bdd));}const {revisions:_0x14c91e,requestId:_0x382612}=await this[_0x68473c(0x1d6)][_0x68473c(0x18c)](_0x42dfff[_0x68473c(0x1cc)],this[_0x68473c(0x17f)]);_0x57fdd6&&_0x14c91e[_0x68473c(0x18a)]>0x0?_0xc6fde[_0x68473c(0x182)]():(await this[_0x68473c(0x1ab)](_0x14c91e),this[_0x68473c(0x191)](_0x14c91e,_0x382612),this[_0x68473c(0x1b0)][_0x68473c(0x175)]());};return _0xc6fde[_0x50b2fe(0x189)]?_0x227a25():new Promise((_0x177d0e,_0x3c9d9d)=>{const _0x44cbb6=_0x50b2fe;_0xc6fde[_0x44cbb6(0x187)](_0x44cbb6(0x1d7),()=>{const _0x589452=_0x44cbb6;_0x227a25()[_0x589452(0x1c6)](_0x177d0e)[_0x589452(0x197)](_0x3c9d9d);});});}[_0x2a6670(0x1a6)](){const _0x8ce01c=_0x2a6670;super[_0x8ce01c(0x1a6)]();}async[_0x2a6670(0x1cf)](){const _0x26f68d=_0x2a6670;this[_0x26f68d(0x1d6)][_0x26f68d(0x1cd)]||await new Promise(_0x88d5b1=>{const _0x1c2240=_0x26f68d;this[_0x1c2240(0x185)](this[_0x1c2240(0x1d6)],_0x1c2240(0x1ac),_0x10d5b9=>{const _0x2ae71a=_0x1c2240;_0x10d5b9[_0x2ae71a(0x177)](),_0x88d5b1();});});}[_0x2a6670(0x1be)](){const _0x49df4a=_0x2a6670,_0x455ac4=this[_0x49df4a(0x17d)][_0x49df4a(0x180)][_0x49df4a(0x18f)](_0x817981)[_0x49df4a(0x188)][_0x49df4a(0x1bf)]()[_0x49df4a(0x1c4)]();for(const _0x1538c5 of _0x455ac4)if(_0x49df4a(0x1ba)!==_0x1538c5[_0x49df4a(0x178)]||_0x1538c5[_0x49df4a(0x1ae)])return _0x1538c5[_0x49df4a(0x1db)]+0x1;}[_0x2a6670(0x176)](){const _0x1da05d=_0x2a6670,_0x4c228f=this[_0x1da05d(0x17d)][_0x1da05d(0x180)][_0x1da05d(0x18f)](_0x817981);return new Promise(_0x33955f=>{const _0x5dfe77=_0x1da05d;_0x4c228f[_0x5dfe77(0x1b8)]?_0x4c228f[_0x5dfe77(0x187)](_0x5dfe77(0x1a8),()=>{const _0x3dc5bd=_0x5dfe77;_0x33955f(this[_0x3dc5bd(0x1be)]());}):_0x33955f(this[_0x5dfe77(0x1be)]());});}[_0x2a6670(0x191)](_0x80e80e,_0xe781d6){const _0x21da8d=_0x2a6670,_0x2e8b7d=this[_0x21da8d(0x1b0)][_0x21da8d(0x181)];this[_0x21da8d(0x17f)]=_0xe781d6;for(const _0x132179 of _0x80e80e){const _0x19e817=_0x2e8b7d[_0x21da8d(0x1b5)](_0x132179['id']);if(_0x19e817){if((_0x132179[_0x21da8d(0x179)]||_0x132179[_0x21da8d(0x1a5)])&&(_0x132179[_0x21da8d(0x17c)]=null),_0x19e817===this[_0x21da8d(0x1b0)][_0x21da8d(0x186)]){const _0x27be05=Math[_0x21da8d(0x16b)](_0x19e817[_0x21da8d(0x1a5)],_0x132179[_0x21da8d(0x1a5)]),_0x43e1cc=Math[_0x21da8d(0x16b)](_0x19e817[_0x21da8d(0x179)],_0x132179[_0x21da8d(0x179)]);let _0x20d0f1;_0x19e817[_0x21da8d(0x1a5)]===_0x132179[_0x21da8d(0x1a5)]&&_0x19e817[_0x21da8d(0x179)]===_0x132179[_0x21da8d(0x179)]?(_0x20d0f1=!0x0,this[_0x21da8d(0x1a2)](_0x132179)):_0x132179[_0x21da8d(0x1a5)]===_0x27be05&&_0x132179[_0x21da8d(0x179)]===_0x43e1cc?_0x20d0f1=!0x1:(_0x19e817[_0x21da8d(0x1a5)]===_0x27be05&&_0x19e817[_0x21da8d(0x179)]===_0x43e1cc||this[_0x21da8d(0x199)]({'revision':_0x19e817,'from':_0x43e1cc,'to':_0x27be05}),_0x20d0f1=!0x0),_0x20d0f1&&(delete _0x132179[_0x21da8d(0x179)],delete _0x132179[_0x21da8d(0x1a5)],delete _0x132179[_0x21da8d(0x17c)],delete _0x132179[_0x21da8d(0x194)],delete _0x132179[_0x21da8d(0x17a)]);}this[_0x21da8d(0x1b0)][_0x21da8d(0x1a4)](_0x132179),this[_0x21da8d(0x1a2)](_0x132179);}else this[_0x21da8d(0x1b0)][_0x21da8d(0x19b)](_0x132179);}const _0x4cb5c3=_0x2e8b7d[_0x21da8d(0x1ce)]();_0x4cb5c3[_0x21da8d(0x1c4)]();for(let _0x21030d=0x0;_0x21030d<_0x4cb5c3[_0x21da8d(0x18a)]-0x1;_0x21030d++){const _0x135946=_0x4cb5c3[_0x21030d],_0x4f97e8=_0x4cb5c3[_0x21030d+0x1];if(_0x135946[_0x21da8d(0x179)]<_0x4f97e8[_0x21da8d(0x1a5)]){const _0x249688=_0x4f97e8[_0x21da8d(0x1a5)],_0xe3ba45=Math[_0x21da8d(0x16b)](_0x249688,_0x135946[_0x21da8d(0x1a5)]);this[_0x21da8d(0x199)]({'revision':_0x135946,'from':_0x249688,'to':_0xe3ba45});}}}[_0x2a6670(0x199)]({revision:_0x242d08,from:_0x4add2c,to:_0x555a2a}={}){const _0x2e87c7=_0x2a6670,_0x1da9a9=this[_0x2e87c7(0x17d)][_0x2e87c7(0x180)][_0x2e87c7(0x18f)](_0x4050c8),_0x27200f=this[_0x2e87c7(0x1b0)][_0x2e87c7(0x1b2)]({'revision':_0x242d08,'from':_0x4add2c,'to':_0x555a2a});_0x27200f[_0x2e87c7(0x1c7)]=_0x27200f[_0x2e87c7(0x17a)][_0x2e87c7(0x193)](_0x159d37=>_0x1da9a9[_0x2e87c7(0x192)](_0x159d37)),_0x242d08[_0x2e87c7(0x1c9)](_0x27200f);}[_0x2a6670(0x1a2)](_0x2ef1ec){const _0xca457d=_0x2a6670,_0x584b64={};_0x584b64['id']=_0x2ef1ec['id'];for(const _0x3aaf31 of Object[_0xca457d(0x16a)](_0x2ef1ec))'id'!==_0x3aaf31&&(_0x584b64[_0x3aaf31]=void 0x0);this[_0xca457d(0x1b0)][_0xca457d(0x1b7)](_0x584b64['id'],_0x584b64,!0x0);}async[_0x2a6670(0x1ab)](_0x5173ad){const _0x35b533=_0x2a6670,_0x479c0b=this[_0x35b533(0x17d)][_0x35b533(0x180)][_0x35b533(0x18f)](_0x4050c8),{connection:_0x565a5b}=this[_0x35b533(0x17d)][_0x35b533(0x180)][_0x35b533(0x18f)](_0x513ea9),_0x4d94cf=new Set();for(const _0x40210f of _0x5173ad){for(const _0x5ded2e of _0x40210f[_0x35b533(0x17a)])_0x131002(_0x5ded2e);_0x40210f[_0x35b533(0x19e)]&&_0x131002(_0x40210f[_0x35b533(0x19e)]);}if(0x0===_0x4d94cf[_0x35b533(0x19a)])return;const _0x15cd1f=await _0x33efff[_0x35b533(0x1a0)](_0x565a5b,Array[_0x35b533(0x19d)](_0x4d94cf));for(const _0x5e4f2 of _0x15cd1f)_0x479c0b[_0x35b533(0x192)](_0x5e4f2['id'])||_0x479c0b[_0x35b533(0x1ad)](_0x5e4f2);function _0x131002(_0x1cccae){const _0x3d7417=_0x35b533;_0x479c0b[_0x3d7417(0x192)](_0x1cccae)||_0x4d94cf[_0x3d7417(0x172)](_0x1cccae);}}}export{c as CloudServicesRevisionHistoryAdapter};function it(_0xe7837f){const _0x3acfdc=_0x2a6670;return _0xe7837f[_0x3acfdc(0x171)][_0x3acfdc(0x1c8)](_0x3acfdc(0x1a1))||_0xe7837f[_0x3acfdc(0x171)][_0x3acfdc(0x1c8)](_0x3acfdc(0x170))||_0xe7837f[_0x3acfdc(0x171)][_0x3acfdc(0x1c8)](_0x3acfdc(0x1b9));}
23
+ const _0x510056=_0x34b3;(function(_0x168e7c,_0x1c82ad){const _0x26856a=_0x34b3,_0x18c38f=_0x168e7c();while(!![]){try{const _0xd3018d=-parseInt(_0x26856a(0x1d7))/0x1+parseInt(_0x26856a(0x1cb))/0x2*(-parseInt(_0x26856a(0x1d6))/0x3)+-parseInt(_0x26856a(0x19c))/0x4*(parseInt(_0x26856a(0x1e7))/0x5)+-parseInt(_0x26856a(0x1ea))/0x6+-parseInt(_0x26856a(0x1bd))/0x7+-parseInt(_0x26856a(0x1c0))/0x8+parseInt(_0x26856a(0x18b))/0x9;if(_0xd3018d===_0x1c82ad)break;else _0x18c38f['push'](_0x18c38f['shift']());}catch(_0x3370ec){_0x18c38f['push'](_0x18c38f['shift']());}}}(_0x2268,0x9cb74));import{Plugin as _0x52c691}from'ckeditor5/src/core.js';function _0x34b3(_0x4375fd,_0x155489){const _0x2268b0=_0x2268();return _0x34b3=function(_0x34b34f,_0x278393){_0x34b34f=_0x34b34f-0x18a;let _0x31a0ea=_0x2268b0[_0x34b34f];return _0x31a0ea;},_0x34b3(_0x4375fd,_0x155489);}import{version as _0x504ab9}from'ckeditor5/src/utils.js';import{Users as _0x3d1b1e}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x3b07bf}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x5cc0a0}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x10dc6c}from'../realtimecollaborativeediting/sessions.js';function _0x2268(){const _0x1bb677=['cloud-services-internal-error:\x20Request\x20timeout.','destroy','requires','max','init','RevisionHistory','getMany','_preventResendingRevisionData','_bufferUpdate','isEnabled','7859852RwiEcQ','setSource','createdAt','4075680Undvno','pluginName','400','_bufferedUpdates','authors','catch','config','affectsData','change:_isConnected','has','diffData','4dFTRLu','fromVersion','CloudServicesRevisionHistoryAdapter','currentRevision','creatorId','_getLatestVersionFromServerOperations','add','_revisionDataBuilder','isConnected','change:_isPendingUpdate','_revisions','1609494EPWMBP','195344cpFVEk','state','map','sendBufferedUpdates','_getLatestVersion','_fixRevision','_fetchMissingUsers','code','_waitForServiceReady','adapter','serverHistory','listenTo','setRevisionData','_isPendingUpdate','wrongRequestId','repository','4475BnKpHl','marker','_handleReconnectionError','840648axWJSy','editor','reInit','isEmptyCurrent','_createCurrentRevision','_offset','addToReconnectionStack','once','connect','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','connected','keys','off','isPremiumPlugin','reverse','authorsIds','baseVersion','connection','cloudServices.bundleVersion','_handleRevisionsUpdate','41947983URiQSP','CONNECTED','updateRevisions','revisionsUpdated','data','RevisionHistoryService','reconnect','sessionId','toVersion','bind','remove','buildRevisionData','getRevisions','_isConnected','then','isBundleUploaded','size','4372TfamGq','length','RevisionTracker','startsWith','_oldOffset','getRevision','_lastRequestId','cloud-services-internal-error:\x20Not\x20connected.','collaboration.channelId','_update','isOfficialPlugin','type','_revisionTracker','plugins','getUser','getOperations','addUser','get','_revisionHistoryService','message','addRevisionData','from','_startingVersion'];_0x2268=function(){return _0x1bb677;};return _0x2268();}import{EditorService as _0x37b93a,RevisionHistoryService as _0x2574d1,User as _0x1a80ec,WEB_SOCKET_GATEWAY_STATES as _0x46546c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x52c691{static [_0x510056(0x190)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x2574d1)());[_0x510056(0x1a2)];[_0x510056(0x1a8)];[_0x510056(0x1ae)];[_0x510056(0x1a0)];static get[_0x510056(0x1b5)](){const _0x50ff86=_0x510056;return[_0x5cc0a0,_0x3b07bf,_0x50ff86(0x1b8),_0x10dc6c,_0x3d1b1e];}static get[_0x510056(0x1c1)](){const _0x1e9292=_0x510056;return _0x1e9292(0x1cd);}static get[_0x510056(0x1a6)](){return!0x0;}static get[_0x510056(0x1f7)](){return!0x0;}constructor(_0x125788){const _0x508940=_0x510056;super(_0x125788);const _0x122796=this[_0x508940(0x1eb)][_0x508940(0x1c6)][_0x508940(0x1ad)](_0x508940(0x1a4));this[_0x508940(0x1a2)]=null,this[_0x508940(0x1a8)]=this[_0x508940(0x1eb)][_0x508940(0x1a9)][_0x508940(0x1ad)](_0x508940(0x19e)),this[_0x508940(0x1ae)]=new c[(_0x508940(0x190))](_0x122796);}async[_0x510056(0x1b7)](){const _0x4acf74=_0x510056,_0x10d167=this[_0x4acf74(0x1eb)][_0x4acf74(0x1a9)][_0x4acf74(0x1ad)](_0x3b07bf),_0x548df5=_0x10d167[_0x4acf74(0x1e1)],_0x231d66=this[_0x4acf74(0x1eb)][_0x4acf74(0x1a9)][_0x4acf74(0x1ad)](_0x5cc0a0);this[_0x4acf74(0x1a8)][_0x4acf74(0x1be)]({'history':_0x548df5,'getLatestVersion':()=>this[_0x4acf74(0x1db)](),'getCurrentRevisionId':()=>_0x10d167[_0x4acf74(0x192)]});const _0x8979cf=this[_0x4acf74(0x1eb)][_0x4acf74(0x1c6)][_0x4acf74(0x1ad)](_0x4acf74(0x1fc))||_0x504ab9,_0x715852=await _0x37b93a[_0x4acf74(0x19a)](_0x231d66[_0x4acf74(0x1fb)],_0x8979cf);this[_0x4acf74(0x1eb)][_0x4acf74(0x1a9)][_0x4acf74(0x1ad)](_0x4acf74(0x1b8))[_0x4acf74(0x1e0)]={'getRevision':async({revisionId:_0x1c508f})=>(await this[_0x4acf74(0x1df)](),await this[_0x4acf74(0x1ae)][_0x4acf74(0x1a1)](_0x1c508f)),'updateRevisions':async _0x5c0445=>{const _0x5298a7=_0x4acf74;await this[_0x5298a7(0x1df)]();const _0x5e0948=this[_0x5298a7(0x1a8)][_0x5298a7(0x1ce)];if(_0x715852&&0x1===_0x5c0445[_0x5298a7(0x19d)]&&_0x5c0445[0x0]['id']===_0x5e0948['id'])return _0x5c0445;for(const _0x223487 of _0x5c0445)_0x223487['id']===_0x5e0948['id']&&(_0x223487[_0x5298a7(0x1ed)]=_0x223487[_0x5298a7(0x1cc)]===_0x223487[_0x5298a7(0x193)]);return this[_0x5298a7(0x1ae)][_0x5298a7(0x18d)](_0x5c0445,this[_0x5298a7(0x1a2)])[_0x5298a7(0x199)](_0x4ecb9c=>(this[_0x5298a7(0x1a2)]=_0x4ecb9c,_0x5c0445))[_0x5298a7(0x1c5)](_0x24b89a=>{const _0x192c72=_0x5298a7;if(b(_0x24b89a)||_0x192c72(0x1c2)===_0x24b89a[_0x192c72(0x1de)]&&void 0x0!==_0x24b89a[_0x192c72(0x18f)][_0x192c72(0x1e5)]){for(const _0x19d3a6 of _0x5c0445){!this[_0x192c72(0x1a8)][_0x192c72(0x1e6)][_0x192c72(0x1a1)](_0x19d3a6['id'])||this[_0x192c72(0x1a8)][_0x192c72(0x1bb)](_0x19d3a6['id'],_0x19d3a6,!0x1);}if(b(_0x24b89a))throw _0x24b89a;return _0x5c0445;}throw _0x24b89a;});}},this[_0x4acf74(0x1e2)](this[_0x4acf74(0x1ae)],_0x4acf74(0x18e),(_0xa2ed5c,{revisionsData:_0x3a4730,requestId:_0x3c52d4})=>{const _0x2a7084=_0x4acf74;Math[_0x2a7084(0x1b6)](..._0x3a4730[_0x2a7084(0x1d9)](_0x45a5e0=>_0x45a5e0[_0x2a7084(0x193)]))>this[_0x2a7084(0x1d0)]()-0x1?this[_0x2a7084(0x1db)]()[_0x2a7084(0x199)](()=>{const _0x4f7ef3=_0x2a7084;this[_0x4f7ef3(0x18a)](_0x3a4730,_0x3c52d4);}):this[_0x2a7084(0x18a)](_0x3a4730,_0x3c52d4);});const {revisions:_0x25aaa4,requestId:_0x2139e7}=await this[_0x4acf74(0x1ae)][_0x4acf74(0x1f2)](_0x231d66[_0x4acf74(0x1fb)]);_0x231d66[_0x4acf74(0x1f0)](this),this[_0x4acf74(0x1a2)]=_0x2139e7,await this[_0x4acf74(0x1dd)](_0x25aaa4);for(const _0x1028db of _0x25aaa4)this[_0x4acf74(0x1a8)][_0x4acf74(0x1b0)](_0x1028db);this[_0x4acf74(0x1e2)](_0x10d167,_0x4acf74(0x1c8),(_0x44aa1b,_0x39d5e3,_0x55d94d)=>{const _0x28b80a=_0x4acf74;_0x55d94d&&(this[_0x28b80a(0x1a0)]=_0x10d167[_0x28b80a(0x1ef)],_0x44aa1b[_0x28b80a(0x1f6)]());}),this[_0x4acf74(0x1a8)][_0x4acf74(0x194)](_0x4acf74(0x1bc))['to'](_0x231d66,_0x4acf74(0x1d8),_0x83e99c=>_0x83e99c===_0x46546c[_0x4acf74(0x18c)]);}async[_0x510056(0x191)](){const _0x17fa4a=_0x510056,_0x548874=this[_0x17fa4a(0x1eb)][_0x17fa4a(0x1a9)][_0x17fa4a(0x1ad)](_0x5cc0a0),_0x31dc4a=this[_0x17fa4a(0x1eb)][_0x17fa4a(0x1a9)][_0x17fa4a(0x1ad)](_0x3b07bf),_0x32589a=async()=>{const _0x14628a=_0x17fa4a,_0x200ed0=this[_0x14628a(0x1a8)][_0x14628a(0x1ce)],_0x234698=_0x200ed0['id'],_0x50b904=_0x234698!==_0x31dc4a[_0x14628a(0x192)];if(_0x50b904){const _0xf6c528=_0x31dc4a[_0x14628a(0x1ef)]-this[_0x14628a(0x1a0)],_0x4831e4=this[_0x14628a(0x1d0)]();this[_0x14628a(0x1a8)][_0x14628a(0x1d2)][_0x14628a(0x1ec)]();if(_0x200ed0[_0x14628a(0x193)]+_0xf6c528!==_0x4831e4){const _0x12f5dd=_0x200ed0[_0x14628a(0x1cc)]+_0xf6c528,_0x37800f=this[_0x14628a(0x1eb)][_0x14628a(0x1a9)][_0x14628a(0x1ad)](_0x3d1b1e),_0x128d87=this[_0x14628a(0x1a8)][_0x14628a(0x196)]({'revision':_0x200ed0,'from':_0x12f5dd,'to':_0x4831e4});_0x128d87['id']=_0x200ed0['id'];const _0x3ef182=_0x128d87[_0x14628a(0x1f9)][_0x14628a(0x1d9)](_0x173e57=>_0x37800f[_0x14628a(0x1aa)](_0x173e57));_0x200ed0[_0x14628a(0x1a5)]({..._0x128d87,'authors':_0x3ef182},!0x0),this[_0x14628a(0x1a8)][_0x14628a(0x1bb)](_0x200ed0['id'],_0x128d87,!0x0);}this[_0x14628a(0x1a8)][_0x14628a(0x1b2)]=_0x4831e4,(_0x200ed0[_0x14628a(0x193)]===_0x200ed0[_0x14628a(0x1cc)]&&!this[_0x14628a(0x1a8)][_0x14628a(0x1c3)][_0x14628a(0x1c9)](_0x234698)&&this[_0x14628a(0x1a8)][_0x14628a(0x1e6)][_0x14628a(0x1d5)][_0x14628a(0x195)](_0x234698),this[_0x14628a(0x1a8)][_0x14628a(0x1ee)](_0x4831e4));}const {revisions:_0x27924a,requestId:_0x5f08a0}=await this[_0x14628a(0x1ae)][_0x14628a(0x191)](_0x548874[_0x14628a(0x1fb)],this[_0x14628a(0x1a2)]);_0x50b904&&_0x27924a[_0x14628a(0x19d)]>0x0?_0x31dc4a[_0x14628a(0x1e9)]():(await this[_0x14628a(0x1dd)](_0x27924a),this[_0x14628a(0x18a)](_0x27924a,_0x5f08a0),this[_0x14628a(0x1a8)][_0x14628a(0x1da)]());};return _0x31dc4a[_0x17fa4a(0x198)]?_0x32589a():new Promise((_0x1c313c,_0x4a24cc)=>{const _0x54dfe7=_0x17fa4a;_0x31dc4a[_0x54dfe7(0x1f1)](_0x54dfe7(0x1c8),()=>{const _0x14c4dd=_0x54dfe7;_0x32589a()[_0x14c4dd(0x199)](_0x1c313c)[_0x14c4dd(0x1c5)](_0x4a24cc);});});}[_0x510056(0x1b4)](){const _0x15c332=_0x510056;super[_0x15c332(0x1b4)]();}async[_0x510056(0x1df)](){const _0x506393=_0x510056;this[_0x506393(0x1ae)][_0x506393(0x1d3)]||await new Promise(_0x40137f=>{const _0x5c8254=_0x506393;this[_0x5c8254(0x1e2)](this[_0x5c8254(0x1ae)],_0x5c8254(0x1f4),_0x498125=>{const _0x23298a=_0x5c8254;_0x498125[_0x23298a(0x1f6)](),_0x40137f();});});}[_0x510056(0x1d0)](){const _0xd5e1c4=_0x510056,_0x12e37e=this[_0xd5e1c4(0x1eb)][_0xd5e1c4(0x1a9)][_0xd5e1c4(0x1ad)](_0x3b07bf)[_0xd5e1c4(0x1e1)][_0xd5e1c4(0x1ab)]()[_0xd5e1c4(0x1f8)]();for(const _0x2e59a5 of _0x12e37e)if(_0xd5e1c4(0x1e8)!==_0x2e59a5[_0xd5e1c4(0x1a7)]||_0x2e59a5[_0xd5e1c4(0x1c7)])return _0x2e59a5[_0xd5e1c4(0x1fa)]+0x1;}[_0x510056(0x1db)](){const _0x570955=_0x510056,_0x42face=this[_0x570955(0x1eb)][_0x570955(0x1a9)][_0x570955(0x1ad)](_0x3b07bf);return new Promise(_0x4881ae=>{const _0x4536f7=_0x570955;_0x42face[_0x4536f7(0x1e4)]?_0x42face[_0x4536f7(0x1f1)](_0x4536f7(0x1d4),()=>{const _0x47d2c6=_0x4536f7;_0x4881ae(this[_0x47d2c6(0x1d0)]());}):_0x4881ae(this[_0x4536f7(0x1d0)]());});}[_0x510056(0x18a)](_0x130ea7,_0x170784){const _0xb1aaef=_0x510056,_0x3fdd3b=this[_0xb1aaef(0x1a8)][_0xb1aaef(0x1e6)];this[_0xb1aaef(0x1a2)]=_0x170784;for(const _0x232a13 of _0x130ea7){const _0x587a72=_0x3fdd3b[_0xb1aaef(0x1a1)](_0x232a13['id']);if(_0x587a72){if((_0x232a13[_0xb1aaef(0x1cc)]||_0x232a13[_0xb1aaef(0x193)])&&(_0x232a13[_0xb1aaef(0x1ca)]=null),_0x587a72===this[_0xb1aaef(0x1a8)][_0xb1aaef(0x1ce)]){const _0x340f36=Math[_0xb1aaef(0x1b6)](_0x587a72[_0xb1aaef(0x193)],_0x232a13[_0xb1aaef(0x193)]),_0x12e275=Math[_0xb1aaef(0x1b6)](_0x587a72[_0xb1aaef(0x1cc)],_0x232a13[_0xb1aaef(0x1cc)]);let _0x1b07bb;_0x587a72[_0xb1aaef(0x193)]===_0x232a13[_0xb1aaef(0x193)]&&_0x587a72[_0xb1aaef(0x1cc)]===_0x232a13[_0xb1aaef(0x1cc)]?(_0x1b07bb=!0x0,this[_0xb1aaef(0x1ba)](_0x232a13)):_0x232a13[_0xb1aaef(0x193)]===_0x340f36&&_0x232a13[_0xb1aaef(0x1cc)]===_0x12e275?_0x1b07bb=!0x1:(_0x587a72[_0xb1aaef(0x193)]===_0x340f36&&_0x587a72[_0xb1aaef(0x1cc)]===_0x12e275||this[_0xb1aaef(0x1dc)]({'revision':_0x587a72,'from':_0x12e275,'to':_0x340f36}),_0x1b07bb=!0x0),_0x1b07bb&&(delete _0x232a13[_0xb1aaef(0x1cc)],delete _0x232a13[_0xb1aaef(0x193)],delete _0x232a13[_0xb1aaef(0x1ca)],delete _0x232a13[_0xb1aaef(0x1bf)],delete _0x232a13[_0xb1aaef(0x1f9)]);}this[_0xb1aaef(0x1a8)][_0xb1aaef(0x1e3)](_0x232a13),this[_0xb1aaef(0x1ba)](_0x232a13);}else this[_0xb1aaef(0x1a8)][_0xb1aaef(0x1b0)](_0x232a13);}const _0xfec4b=_0x3fdd3b[_0xb1aaef(0x197)]();_0xfec4b[_0xb1aaef(0x1f8)]();for(let _0x4256a0=0x0;_0x4256a0<_0xfec4b[_0xb1aaef(0x19d)]-0x1;_0x4256a0++){const _0x326cfb=_0xfec4b[_0x4256a0],_0x49997f=_0xfec4b[_0x4256a0+0x1];if(_0x326cfb[_0xb1aaef(0x1cc)]<_0x49997f[_0xb1aaef(0x193)]){const _0x4abf73=_0x49997f[_0xb1aaef(0x193)],_0x1ddc2d=Math[_0xb1aaef(0x1b6)](_0x4abf73,_0x326cfb[_0xb1aaef(0x193)]);this[_0xb1aaef(0x1dc)]({'revision':_0x326cfb,'from':_0x4abf73,'to':_0x1ddc2d});}}}[_0x510056(0x1dc)]({revision:_0xf3b000,from:_0x23ca64,to:_0x34710e}={}){const _0x18fee4=_0x510056,_0x5e228a=this[_0x18fee4(0x1eb)][_0x18fee4(0x1a9)][_0x18fee4(0x1ad)](_0x3d1b1e),_0x1e2ac4=this[_0x18fee4(0x1a8)][_0x18fee4(0x196)]({'revision':_0xf3b000,'from':_0x23ca64,'to':_0x34710e});_0x1e2ac4[_0x18fee4(0x1c4)]=_0x1e2ac4[_0x18fee4(0x1f9)][_0x18fee4(0x1d9)](_0x29a261=>_0x5e228a[_0x18fee4(0x1aa)](_0x29a261)),_0xf3b000[_0x18fee4(0x1a5)](_0x1e2ac4);}[_0x510056(0x1ba)](_0x494f99){const _0xd37116=_0x510056,_0x2695c9={};_0x2695c9['id']=_0x494f99['id'];for(const _0x29665a of Object[_0xd37116(0x1f5)](_0x494f99))'id'!==_0x29665a&&(_0x2695c9[_0x29665a]=void 0x0);this[_0xd37116(0x1a8)][_0xd37116(0x1bb)](_0x2695c9['id'],_0x2695c9,!0x0);}async[_0x510056(0x1dd)](_0x32e5be){const _0x4af7f7=_0x510056,_0x6cd791=this[_0x4af7f7(0x1eb)][_0x4af7f7(0x1a9)][_0x4af7f7(0x1ad)](_0x3d1b1e),{connection:_0x537468}=this[_0x4af7f7(0x1eb)][_0x4af7f7(0x1a9)][_0x4af7f7(0x1ad)](_0x5cc0a0),_0xe5409f=new Set();for(const _0x1b60a5 of _0x32e5be){for(const _0x2ac3dd of _0x1b60a5[_0x4af7f7(0x1f9)])_0x18b3d9(_0x2ac3dd);_0x1b60a5[_0x4af7f7(0x1cf)]&&_0x18b3d9(_0x1b60a5[_0x4af7f7(0x1cf)]);}if(0x0===_0xe5409f[_0x4af7f7(0x19b)])return;const _0x269755=await _0x1a80ec[_0x4af7f7(0x1b9)](_0x537468,Array[_0x4af7f7(0x1b1)](_0xe5409f));for(const _0x27186e of _0x269755)_0x6cd791[_0x4af7f7(0x1aa)](_0x27186e['id'])||_0x6cd791[_0x4af7f7(0x1ac)](_0x27186e);function _0x18b3d9(_0x2c4e1c){const _0x1378e6=_0x4af7f7;_0x6cd791[_0x1378e6(0x1aa)](_0x2c4e1c)||_0xe5409f[_0x1378e6(0x1d1)](_0x2c4e1c);}}}export{c as CloudServicesRevisionHistoryAdapter};function b(_0x3459f5){const _0x20a80d=_0x510056;return _0x3459f5[_0x20a80d(0x1af)][_0x20a80d(0x19f)](_0x20a80d(0x1f3))||_0x3459f5[_0x20a80d(0x1af)][_0x20a80d(0x19f)](_0x20a80d(0x1a3))||_0x3459f5[_0x20a80d(0x1af)][_0x20a80d(0x19f)](_0x20a80d(0x1b3));}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47d904=_0xedf3;(function(_0x44cdc7,_0x13e728){const _0x47bd14=_0xedf3,_0x288d57=_0x44cdc7();while(!![]){try{const _0x5a15bc=-parseInt(_0x47bd14(0xe3))/0x1+-parseInt(_0x47bd14(0xca))/0x2+-parseInt(_0x47bd14(0xbb))/0x3+parseInt(_0x47bd14(0xbc))/0x4*(-parseInt(_0x47bd14(0xaf))/0x5)+parseInt(_0x47bd14(0xb0))/0x6+-parseInt(_0x47bd14(0xdd))/0x7+parseInt(_0x47bd14(0xcc))/0x8;if(_0x5a15bc===_0x13e728)break;else _0x288d57['push'](_0x288d57['shift']());}catch(_0x85aae3){_0x288d57['push'](_0x288d57['shift']());}}}(_0x20e7,0x3a1ca));import{Plugin as _0x4eabd7}from'ckeditor5/src/core.js';function _0xedf3(_0x3240a5,_0x53b01a){const _0x20e77a=_0x20e7();return _0xedf3=function(_0xedf3d0,_0x28c98a){_0xedf3d0=_0xedf3d0-0xaa;let _0x24bdd4=_0x20e77a[_0xedf3d0];return _0x24bdd4;},_0xedf3(_0x3240a5,_0x53b01a);}import{User as _0x595fa1,TrackChangesService as _0x48a7f7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4cde51}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0xd2b3be}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x1815f7}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x4eabd7{static [_0x47d904(0xae)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x48a7f7)());[_0x47d904(0xe6)];[_0x47d904(0xcf)];static get[_0x47d904(0xb4)](){const _0x37db03=_0x47d904;return[_0xd2b3be,_0x37db03(0xad),_0x4cde51];}static get[_0x47d904(0xd3)](){const _0x5d9d37=_0x47d904;return _0x5d9d37(0xcb);}static get[_0x47d904(0xe1)](){return!0x0;}static get[_0x47d904(0xe0)](){return!0x0;}constructor(_0x9e19ce){const _0xb6941=_0x47d904;super(_0x9e19ce);const _0x3d7c78=this[_0xb6941(0xbd)][_0xb6941(0xdc)][_0xb6941(0xd6)](_0xb6941(0xb6));this[_0xb6941(0xe6)]=new Map(),this[_0xb6941(0xcf)]=new m[(_0xb6941(0xae))](_0x3d7c78);}[_0x47d904(0xda)](){const _0x5bbdfe=_0x47d904,_0x2b1278=this[_0x5bbdfe(0xbd)][_0x5bbdfe(0xb2)][_0x5bbdfe(0xd6)](_0x4cde51),_0xbe6aeb=this[_0x5bbdfe(0xbd)][_0x5bbdfe(0xb2)][_0x5bbdfe(0xd6)](_0x5bbdfe(0xad));return _0xbe6aeb[_0x5bbdfe(0xd0)]={'getSuggestion':async _0x3802d6=>{const _0x5e7875=_0x5bbdfe;await this[_0x5e7875(0xaa)]();const _0x22fdfd=await this[_0x5e7875(0xcf)][_0x5e7875(0xd6)](_0x3802d6)[_0x5e7875(0xd7)](A);return await this[_0x5e7875(0xc4)]([_0x22fdfd]),_0x22fdfd;},'addSuggestion':async({id:_0x5e8fd7,type:_0x5829e5,data:_0x2be271,originalSuggestionId:_0x37f4d6,attributes:_0x4ceb14})=>{const _0x421a9f=_0x5bbdfe;await this[_0x421a9f(0xaa)]();const _0x5753e8={'id':_0x5e8fd7,'type':_0x5829e5,'data':_0x2be271,'originalSuggestionId':_0x37f4d6,'attributes':_0x4ceb14},_0x208bb1=await this[_0x421a9f(0xcf)][_0x421a9f(0xb5)](_0x5e8fd7,_0x5829e5,_0x2be271,_0x37f4d6,_0x4ceb14)[_0x421a9f(0xd7)](_0x4e1ab3=>{if(it(_0x4e1ab3))return new Promise(_0x2cf2f6=>{const _0x1f0ebe=_0xedf3;this[_0x1f0ebe(0xe6)][_0x1f0ebe(0xd8)](_0x5e8fd7,{'resolve':_0x2cf2f6,'suggestionData':_0x5753e8});});throw _0x4e1ab3;});return this[_0x421a9f(0xe6)][_0x421a9f(0xba)](_0x5e8fd7),_0x208bb1;},'updateSuggestion':async(_0x47a600,_0xf8a02d)=>{const _0x154ed4=_0x5bbdfe;if(await this[_0x154ed4(0xaa)](),_0x154ed4(0xd4)!==_0xf8a02d[_0x154ed4(0xbf)])return this[_0x154ed4(0xcf)][_0x154ed4(0xdf)](_0x47a600,_0xf8a02d)[_0x154ed4(0xd7)](A);}},this[_0x5bbdfe(0xde)](this[_0x5bbdfe(0xcf)],_0x5bbdfe(0xac),(_0x279aaa,_0x3f60e1)=>{const _0x457a02=_0x5bbdfe;_0xbe6aeb[_0x457a02(0xb3)](_0x3f60e1['id'])&&(_0xbe6aeb[_0x457a02(0xcd)](_0x3f60e1['id'])[_0x457a02(0xd5)]=_0x3f60e1[_0x457a02(0xd5)]);}),this[_0x5bbdfe(0xcf)][_0x5bbdfe(0xb9)](_0x2b1278[_0x5bbdfe(0xc2)])[_0x5bbdfe(0xdb)](_0x2aa5b2=>(_0x2b1278[_0x5bbdfe(0xc1)](this),this[_0x5bbdfe(0xc4)](_0x2aa5b2)[_0x5bbdfe(0xdb)](()=>{const _0x5ec51a=_0x5bbdfe;for(const _0xab1e9c of _0x2aa5b2){_0xbe6aeb[_0x5ec51a(0xe7)](_0xab1e9c)[_0x5ec51a(0xc9)]=!0x0;}})));}async[_0x47d904(0xe4)](){const _0x1de89c=_0x47d904,_0x5153ee=this[_0x1de89c(0xbd)][_0x1de89c(0xb2)][_0x1de89c(0xd6)](_0x1de89c(0xad)),{connection:_0x1fcd51}=this[_0x1de89c(0xbd)][_0x1de89c(0xb2)][_0x1de89c(0xd6)](_0x4cde51),_0x9faae2=await this[_0x1de89c(0xcf)][_0x1de89c(0xb9)](_0x1fcd51);await this[_0x1de89c(0xc4)](_0x9faae2);for(const {suggestionData:_0xfa451e,resolve:_0x58b890}of this[_0x1de89c(0xe6)][_0x1de89c(0xd1)]()){let _0x21b527=_0x9faae2[_0x1de89c(0xd2)](_0x2b2a04=>_0x2b2a04['id']===_0xfa451e['id']);_0x21b527||(_0x21b527=await this[_0x1de89c(0xcf)][_0x1de89c(0xb5)](_0xfa451e['id'],_0xfa451e[_0x1de89c(0xe5)],_0xfa451e[_0x1de89c(0xe2)],_0xfa451e[_0x1de89c(0xc8)])),_0x58b890(_0x21b527);}for(const _0x41e58c of _0x9faae2)_0x5153ee[_0x1de89c(0xb3)](_0x41e58c['id'])||_0x5153ee[_0x1de89c(0xe7)](_0x41e58c);}async[_0x47d904(0xaa)](){const _0x22e8d2=_0x47d904;this[_0x22e8d2(0xcf)][_0x22e8d2(0xce)]||await new Promise(_0x3c7037=>{const _0x669a7c=_0x22e8d2;this[_0x669a7c(0xde)](this[_0x669a7c(0xcf)],_0x669a7c(0xc5),_0xa4f11=>{const _0x1c9f08=_0x669a7c;_0xa4f11[_0x1c9f08(0xc6)](),_0x3c7037();});});}async[_0x47d904(0xc4)](_0x2f05f0){const _0x1fd802=_0x47d904,_0x414d47=this[_0x1fd802(0xbd)][_0x1fd802(0xb2)][_0x1fd802(0xd6)](_0x1815f7),{connection:_0x2d4255}=this[_0x1fd802(0xbd)][_0x1fd802(0xb2)][_0x1fd802(0xd6)](_0x4cde51),_0xd49143=new Set();for(const {authorId:_0x22bb0d}of _0x2f05f0)_0x414d47[_0x1fd802(0xc0)](_0x22bb0d)||_0xd49143[_0x1fd802(0xb5)](_0x22bb0d);if(0x0===_0xd49143[_0x1fd802(0xab)])return;const _0x57c7d6=await _0x595fa1[_0x1fd802(0xbe)](_0x2d4255,Array[_0x1fd802(0xd9)](_0xd49143));for(const _0x249e10 of _0x57c7d6)_0x414d47[_0x1fd802(0xc0)](_0x249e10['id'])||_0x414d47[_0x1fd802(0xb7)](_0x249e10);}}export{m as CloudServicesTrackChangesAdapter};function A(_0x9266ba){if(it(_0x9266ba))return new Promise(()=>{});throw _0x9266ba;}function it(_0x3eeb29){const _0x2a400b=_0x47d904;return _0x3eeb29[_0x2a400b(0xc3)][_0x2a400b(0xb8)](_0x2a400b(0xc7))||_0x3eeb29[_0x2a400b(0xc3)][_0x2a400b(0xb8)](_0x2a400b(0xb1));}function _0x20e7(){const _0x15c8fb=['getUser','addToReconnectionStack','connection','message','_fetchMissingUsersForThreads','connected','off','cloud-services-internal-error:\x20Not\x20connected.','originalSuggestionId','_saved','297174DVrgXS','CloudServicesTrackChangesAdapter','6053456TFsKwI','getSuggestion','isConnected','_trackChangesService','adapter','values','find','pluginName','open','attributes','get','catch','set','from','init','then','config','1389283XPsdxP','listenTo','update','isPremiumPlugin','isOfficialPlugin','data','69666fvuTqm','reconnect','type','_bufferedRequests','addSuggestionData','_waitForServiceReady','size','suggestionUpdated','TrackChangesEditing','TrackChangesService','1462865yNrEQK','2094792BgMFTn','cloud-services-internal-error:\x20Request\x20timeout.','plugins','hasSuggestion','requires','add','collaboration.channelId','addUser','startsWith','connect','delete','475479jNnwDo','4suNakc','editor','getMany','state'];_0x20e7=function(){return _0x15c8fb;};return _0x20e7();}
23
+ const _0x319d4d=_0x1f3d;(function(_0x115f2a,_0x4909c5){const _0x103116=_0x1f3d,_0x2f494b=_0x115f2a();while(!![]){try{const _0x1e2714=-parseInt(_0x103116(0xe6))/0x1+parseInt(_0x103116(0x113))/0x2+parseInt(_0x103116(0xf2))/0x3*(-parseInt(_0x103116(0xda))/0x4)+parseInt(_0x103116(0xe3))/0x5*(parseInt(_0x103116(0xf0))/0x6)+parseInt(_0x103116(0xdf))/0x7*(parseInt(_0x103116(0x106))/0x8)+-parseInt(_0x103116(0x110))/0x9+parseInt(_0x103116(0x10d))/0xa;if(_0x1e2714===_0x4909c5)break;else _0x2f494b['push'](_0x2f494b['shift']());}catch(_0xc3266d){_0x2f494b['push'](_0x2f494b['shift']());}}}(_0x4976,0xdff1f));import{Plugin as _0x21b4d8}from'ckeditor5/src/core.js';import{User as _0xd3b36e,TrackChangesService as _0x5ba0a3}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0xfe132d}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x425938}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x298e5c}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x21b4d8{static [_0x319d4d(0x104)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5ba0a3)());[_0x319d4d(0xf4)];[_0x319d4d(0xdd)];static get[_0x319d4d(0x112)](){const _0x5cd715=_0x319d4d;return[_0x425938,_0x5cd715(0x100),_0xfe132d];}static get[_0x319d4d(0xed)](){const _0xa7781f=_0x319d4d;return _0xa7781f(0x116);}static get[_0x319d4d(0x117)](){return!0x0;}static get[_0x319d4d(0xf1)](){return!0x0;}constructor(_0x2ad226){const _0x1fbfec=_0x319d4d;super(_0x2ad226);const _0x3bfa7d=this[_0x1fbfec(0x109)][_0x1fbfec(0xd9)][_0x1fbfec(0xf6)](_0x1fbfec(0xec));this[_0x1fbfec(0xf4)]=new Map(),this[_0x1fbfec(0xdd)]=new m[(_0x1fbfec(0x104))](_0x3bfa7d);}[_0x319d4d(0xf8)](){const _0x5d7c20=_0x319d4d,_0x5e5d8d=this[_0x5d7c20(0x109)][_0x5d7c20(0x101)][_0x5d7c20(0xf6)](_0xfe132d),_0x55889d=this[_0x5d7c20(0x109)][_0x5d7c20(0x101)][_0x5d7c20(0xf6)](_0x5d7c20(0x100));return _0x55889d[_0x5d7c20(0xfe)]={'getSuggestion':async _0x1ec8af=>{const _0x5eb877=_0x5d7c20;await this[_0x5eb877(0xee)]();const _0x228a22=await this[_0x5eb877(0xdd)][_0x5eb877(0xf6)](_0x1ec8af)[_0x5eb877(0xfa)](A);return await this[_0x5eb877(0xe4)]([_0x228a22]),_0x228a22;},'addSuggestion':async({id:_0x1bcd45,type:_0xc8b573,data:_0x19babb,originalSuggestionId:_0x3a2d18,attributes:_0x16d89b})=>{const _0x3177c4=_0x5d7c20;await this[_0x3177c4(0xee)]();const _0x22f168={'id':_0x1bcd45,'type':_0xc8b573,'data':_0x19babb,'originalSuggestionId':_0x3a2d18,'attributes':_0x16d89b},_0x4dc210=await this[_0x3177c4(0xdd)][_0x3177c4(0x108)](_0x1bcd45,_0xc8b573,_0x19babb,_0x3a2d18,_0x16d89b)[_0x3177c4(0xfa)](_0x2b1df5=>{if(b(_0x2b1df5))return new Promise(_0x19d488=>{const _0x1b965a=_0x1f3d;this[_0x1b965a(0xf4)][_0x1b965a(0x10e)](_0x1bcd45,{'resolve':_0x19d488,'suggestionData':_0x22f168});});throw _0x2b1df5;});return this[_0x3177c4(0xf4)][_0x3177c4(0x10a)](_0x1bcd45),_0x4dc210;},'updateSuggestion':async(_0x158d31,_0x41983b)=>{const _0x9548b7=_0x5d7c20;if(await this[_0x9548b7(0xee)](),_0x9548b7(0x103)!==_0x41983b[_0x9548b7(0xe1)])return this[_0x9548b7(0xdd)][_0x9548b7(0xfd)](_0x158d31,_0x41983b)[_0x9548b7(0xfa)](A);}},this[_0x5d7c20(0x118)](this[_0x5d7c20(0xdd)],_0x5d7c20(0xe9),(_0x4fa95d,_0xb08497)=>{const _0x3b93f9=_0x5d7c20;_0x55889d[_0x3b93f9(0xf5)](_0xb08497['id'])&&(_0x55889d[_0x3b93f9(0xeb)](_0xb08497['id'])[_0x3b93f9(0xff)]=_0xb08497[_0x3b93f9(0xff)]);}),this[_0x5d7c20(0xdd)][_0x5d7c20(0x10f)](_0x5e5d8d[_0x5d7c20(0xde)])[_0x5d7c20(0x111)](_0xee6f8a=>(_0x5e5d8d[_0x5d7c20(0x107)](this),this[_0x5d7c20(0xe4)](_0xee6f8a)[_0x5d7c20(0x111)](()=>{const _0x5aec49=_0x5d7c20;for(const _0x4df754 of _0xee6f8a){_0x55889d[_0x5aec49(0xe8)](_0x4df754)[_0x5aec49(0xf3)]=!0x0;}})));}async[_0x319d4d(0xe7)](){const _0x18beaf=_0x319d4d,_0x501f32=this[_0x18beaf(0x109)][_0x18beaf(0x101)][_0x18beaf(0xf6)](_0x18beaf(0x100)),{connection:_0x32678d}=this[_0x18beaf(0x109)][_0x18beaf(0x101)][_0x18beaf(0xf6)](_0xfe132d),_0x15f6c7=await this[_0x18beaf(0xdd)][_0x18beaf(0x10f)](_0x32678d);await this[_0x18beaf(0xe4)](_0x15f6c7);for(const {suggestionData:_0x912b35,resolve:_0x1aa0fa}of this[_0x18beaf(0xf4)][_0x18beaf(0x115)]()){let _0x332918=_0x15f6c7[_0x18beaf(0x10c)](_0x507056=>_0x507056['id']===_0x912b35['id']);_0x332918||(_0x332918=await this[_0x18beaf(0xdd)][_0x18beaf(0x108)](_0x912b35['id'],_0x912b35[_0x18beaf(0x114)],_0x912b35[_0x18beaf(0xf7)],_0x912b35[_0x18beaf(0xef)])),_0x1aa0fa(_0x332918);}for(const _0x2051fd of _0x15f6c7)_0x501f32[_0x18beaf(0xf5)](_0x2051fd['id'])||_0x501f32[_0x18beaf(0xe8)](_0x2051fd);}async[_0x319d4d(0xee)](){const _0x271df7=_0x319d4d;this[_0x271df7(0xdd)][_0x271df7(0x10b)]||await new Promise(_0x6ba555=>{const _0x112263=_0x271df7;this[_0x112263(0x118)](this[_0x112263(0xdd)],_0x112263(0xe5),_0x534b68=>{const _0x30737d=_0x112263;_0x534b68[_0x30737d(0x105)](),_0x6ba555();});});}async[_0x319d4d(0xe4)](_0x1ada63){const _0x4a9ff2=_0x319d4d,_0x5b8c32=this[_0x4a9ff2(0x109)][_0x4a9ff2(0x101)][_0x4a9ff2(0xf6)](_0x298e5c),{connection:_0x57ece7}=this[_0x4a9ff2(0x109)][_0x4a9ff2(0x101)][_0x4a9ff2(0xf6)](_0xfe132d),_0x14e9c9=new Set();for(const {authorId:_0x4406c7}of _0x1ada63)_0x5b8c32[_0x4a9ff2(0xdc)](_0x4406c7)||_0x14e9c9[_0x4a9ff2(0x108)](_0x4406c7);if(0x0===_0x14e9c9[_0x4a9ff2(0xe0)])return;const _0x2b6cbc=await _0xd3b36e[_0x4a9ff2(0xfc)](_0x57ece7,Array[_0x4a9ff2(0xdb)](_0x14e9c9));for(const _0x486f0f of _0x2b6cbc)_0x5b8c32[_0x4a9ff2(0xdc)](_0x486f0f['id'])||_0x5b8c32[_0x4a9ff2(0xf9)](_0x486f0f);}}export{m as CloudServicesTrackChangesAdapter};function _0x1f3d(_0x3d6ba2,_0x4f7eb3){const _0x497624=_0x4976();return _0x1f3d=function(_0x1f3db1,_0x129b22){_0x1f3db1=_0x1f3db1-0xd9;let _0x5b0861=_0x497624[_0x1f3db1];return _0x5b0861;},_0x1f3d(_0x3d6ba2,_0x4f7eb3);}function A(_0x36317c){if(b(_0x36317c))return new Promise(()=>{});throw _0x36317c;}function _0x4976(){const _0x4a4b10=['then','requires','1540206nRZNwL','type','values','CloudServicesTrackChangesAdapter','isOfficialPlugin','listenTo','config','666796LdUTNR','from','getUser','_trackChangesService','connection','8150317lcDYee','size','state','message','5aycDKs','_fetchMissingUsersForThreads','connected','37403bFrQNP','reconnect','addSuggestionData','suggestionUpdated','startsWith','getSuggestion','collaboration.channelId','pluginName','_waitForServiceReady','originalSuggestionId','1166826nULQYX','isPremiumPlugin','6zTzFvd','_saved','_bufferedRequests','hasSuggestion','get','data','init','addUser','catch','cloud-services-internal-error:\x20Not\x20connected.','getMany','update','adapter','attributes','TrackChangesEditing','plugins','cloud-services-internal-error:\x20Request\x20timeout.','open','TrackChangesService','off','8gXcqUs','addToReconnectionStack','add','editor','delete','isConnected','find','4117280Xxdcyl','set','connect','11272977BBDhWC'];_0x4976=function(){return _0x4a4b10;};return _0x4976();}function b(_0x4b0f62){const _0x29b5cc=_0x319d4d;return _0x4b0f62[_0x29b5cc(0xe2)][_0x29b5cc(0xea)](_0x29b5cc(0xfb))||_0x4b0f62[_0x29b5cc(0xe2)][_0x29b5cc(0xea)](_0x29b5cc(0x102));}