@ckeditor/ckeditor5-real-time-collaboration 43.2.0-alpha.2 → 43.2.0-alpha.3
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 +9 -9
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x529c40=_0x2876;(function(_0x25dbd3,_0x56b65c){const _0x594d93=_0x2876,_0x5223b4=_0x25dbd3();while(!![]){try{const _0x41ee37=-parseInt(_0x594d93(0x142))/0x1*(-parseInt(_0x594d93(0x154))/0x2)+-parseInt(_0x594d93(0x124))/0x3+-parseInt(_0x594d93(0x106))/0x4*(parseInt(_0x594d93(0x158))/0x5)+parseInt(_0x594d93(0x15b))/0x6+-parseInt(_0x594d93(0x169))/0x7+-parseInt(_0x594d93(0x12e))/0x8+parseInt(_0x594d93(0x12c))/0x9;if(_0x41ee37===_0x56b65c)break;else _0x5223b4['push'](_0x5223b4['shift']());}catch(_0x18eee9){_0x5223b4['push'](_0x5223b4['shift']());}}}(_0x1c85,0xb2535));import{Plugin as _0x570add}from'ckeditor5/src/core.js';import{global as _0x44acf2,DomEmitterMixin as _0x1e2ace}from'ckeditor5/src/utils.js';function _0x1c85(){const _0x472ac7=['mapper','createUserMarkerOperations','pluginName','916hpEcKG','ck-user__marker_hovered','reconvertMarker','highest','document','getAttribute','for','marker','isCollapsed','user:','toRange','listenTo','commands','start','view','mouseleave','contenteditable','toDomElement','update:user:range','add','span','newRange','size','stopListening','root','afterInit','markers','getContainedElement','markerNameToElements','classList','4045452zpdcma','user:position','isInline','$text','removeMarker','markerName','isSimilar','deletionPosition','26588196NihxRi','orderNumber','3262448WNmUmY','editing','UserMarkers','requires','destroy','addEventListener','getStart','applyOperation','markerToElement','Escape','set','getRange','nodeAfter','has','getPositions','enqueueChange','get','change:range','hasDomSelection','parent','2GehICO','setCustomProperty','delete','init','user:range','mouseenter','$graveyard','isObject','undo','getSelectionClass','editor','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','change','createRange','plugins','hasContent','tableCell','removeClass','732280tbvmVt','createUIElement','</span>','color','10765YGrMjP','mySessionId','split','2834154tkOhfS','_domEmitter','ck-user__marker\x20','render','userPositionMarker','user:position:','model','updateMarker','startsWith','_createdBatches','ck-user__selection','batch','getUserBySessionId','markerToHighlight','8253945pVfNVk','addMarker','end','innerHTML','selection','getMarkerClass','fromRange','schema','clear','rootName','name','element','getNearestSelectionRange','remove','getCustomProperty','data-session-id','type','isLimit','editingDowncast','detach','conversion','user:range:','markerRange','getFirstRange','keydown','checkChild','oldRange'];_0x1c85=function(){return _0x472ac7;};return _0x1c85();}import _0x2d0a69 from'./sessions.js';function _0x2876(_0x254897,_0x7723e7){const _0x1c85ec=_0x1c85();return _0x2876=function(_0x28761c,_0x1dab1c){_0x28761c=_0x28761c-0xfd;let _0x588189=_0x1c85ec[_0x28761c];return _0x588189;},_0x2876(_0x254897,_0x7723e7);}import{LiveRange as _0x4eb9dc}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x570add{constructor(){const _0x392020=_0x2876;super(...arguments),this[_0x392020(0x15c)]=new(_0x1e2ace())();}static get[_0x529c40(0x131)](){return[_0x2d0a69];}static get[_0x529c40(0x105)](){const _0x42588b=_0x529c40;return _0x42588b(0x130);}[_0x529c40(0x145)](){const _0x19b6b1=_0x529c40,_0x2c3142=this[_0x19b6b1(0x14c)],_0x53ffb9=_0x2c3142[_0x19b6b1(0x150)][_0x19b6b1(0x13e)](_0x2d0a69);_0x2c3142[_0x19b6b1(0x17d)][_0x19b6b1(0x10c)](_0x19b6b1(0x17b))[_0x19b6b1(0x136)]({'model':_0x19b6b1(0x125),'view':(_0x238a23,{writer:_0x2df9c6})=>function(_0x413f84,_0x2b5aa7,_0x23531e,_0xaebc0c){const _0x472c38=_0x19b6b1,_0x3d6628=_0x413f84[_0x472c38(0x129)][_0x472c38(0x15a)](':')[0x2],_0x40a88f=_0x23531e[_0x472c38(0x167)](_0x3d6628);if(!_0x40a88f||_0x3d6628===_0x23531e[_0x472c38(0x159)])return;if(!_0xaebc0c[_0x472c38(0x161)][_0x472c38(0x170)][_0x472c38(0x101)](_0x413f84[_0x472c38(0xfe)][_0x472c38(0x113)],_0x472c38(0x127)))return;const _0x5c62f5={'class':_0x472c38(0x15d)+_0x40a88f[_0x472c38(0x157)][_0x472c38(0x16e)](),'data-name':_0x40a88f[_0x472c38(0x173)],'data-session-id':_0x3d6628},_0x4a78a7=_0xaebc0c[_0x472c38(0x161)][_0x472c38(0x120)][_0x472c38(0x13e)](_0x413f84[_0x472c38(0x129)]),_0x299d02=_0x4a78a7[_0x472c38(0x134)](),_0x4b2858=_0x299d02[_0x472c38(0x13a)],_0x138cca=_0xaebc0c[_0x472c38(0x161)][_0x472c38(0x170)];if(_0x4b2858&&_0x138cca[_0x472c38(0x149)](_0x4b2858)&&_0x138cca[_0x472c38(0x126)](_0x4b2858)&&!_0xaebc0c[_0x472c38(0x161)][_0x472c38(0x120)][_0x472c38(0x13e)](_0x472c38(0xfd)+_0x3d6628)[_0x472c38(0x139)]()[_0x472c38(0x10e)])return;const _0xaec685=_0x299d02[_0x472c38(0x141)];return _0xaebc0c[_0x472c38(0x161)][_0x472c38(0x170)][_0x472c38(0x17a)](_0xaec685)&&!_0xaebc0c[_0x472c38(0x161)][_0x472c38(0x151)](_0xaec685)&&(_0x5c62f5[_0x472c38(0x116)]=!0x1),function(_0x4e9e6c,_0x43fc50,_0x40fa31){const _0x45d2bb=_0x472c38,_0x25f68f=_0x4e9e6c[_0x45d2bb(0x155)](_0x45d2bb(0x11a),_0x43fc50);return _0x4e9e6c[_0x45d2bb(0x143)](_0x45d2bb(0x15f),!0x0,_0x25f68f),_0x25f68f[_0x45d2bb(0x15e)]=function(_0x5cb057){const _0xd951ea=_0x45d2bb,_0x396c16=this[_0xd951ea(0x117)](_0x5cb057);return _0x396c16[_0xd951ea(0x16c)]=_0xd951ea(0x14d)+_0x40fa31[_0xd951ea(0x173)]+_0xd951ea(0x156),_0x396c16[_0xd951ea(0x133)](_0xd951ea(0x147),()=>{const _0xae1ad4=_0xd951ea;_0x396c16[_0xae1ad4(0x123)][_0xae1ad4(0x119)](_0xae1ad4(0x107));}),_0x396c16[_0xd951ea(0x133)](_0xd951ea(0x115),()=>{const _0x51f0ff=_0xd951ea;_0x396c16[_0x51f0ff(0x123)][_0x51f0ff(0x176)](_0x51f0ff(0x107));}),_0x396c16;},_0x25f68f[_0x45d2bb(0x12a)]=function(_0xd822d7){const _0x239f96=_0x45d2bb;return!(!this[_0x239f96(0x177)](_0x239f96(0x15f))||!_0xd822d7[_0x239f96(0x177)](_0x239f96(0x15f))||this[_0x239f96(0x10b)](_0x239f96(0x178))!=_0xd822d7[_0x239f96(0x10b)](_0x239f96(0x178)));},_0x25f68f;}(_0x2b5aa7,_0x5c62f5,_0x40a88f);}(_0x238a23,_0x2df9c6,_0x53ffb9,_0x2c3142)}),_0x2c3142[_0x19b6b1(0x17d)][_0x19b6b1(0x10c)](_0x19b6b1(0x17b))[_0x19b6b1(0x168)]({'model':_0x19b6b1(0x146),'view':_0x505ceb=>function(_0x4765dc,_0xeb3069){const _0x4c424a=_0x19b6b1,_0x126af9=_0x4765dc[_0x4c424a(0x129)][_0x4c424a(0x15a)](':')[0x2];if(_0x126af9===_0xeb3069[_0x4c424a(0x159)])return null;const _0x231058=_0xeb3069[_0x4c424a(0x167)](_0x126af9);if(!_0x231058)return{'id':_0x126af9,'classes':[]};return{'id':_0x126af9,'classes':[_0x4c424a(0x165),_0x231058[_0x4c424a(0x157)][_0x4c424a(0x14b)]()],'attributes':{'data-session-id':_0x126af9},'priority':0x7d0+_0x231058[_0x4c424a(0x12d)]};}(_0x505ceb,_0x53ffb9)}),function(_0x18ff99){const _0x1fd161=_0x19b6b1,_0x677990=_0x18ff99[_0x1fd161(0x161)],_0x19edb7=new Map(),_0x5e9d6d=_0x18ff99[_0x1fd161(0x150)][_0x1fd161(0x13e)](_0x2d0a69);_0x677990[_0x1fd161(0x120)]['on'](_0x1fd161(0x118),(_0x125bf6,_0x5ae094,_0xbb0994,_0x4d0832)=>{const _0x247c26=_0x1fd161;if(!_0x4d0832&&_0x19edb7[_0x247c26(0x13e)](_0x5ae094[_0x247c26(0x173)]))return _0x19edb7[_0x247c26(0x13e)](_0x5ae094[_0x247c26(0x173)])[_0x247c26(0x17c)](),void _0x19edb7[_0x247c26(0x144)](_0x5ae094[_0x247c26(0x173)]);const _0x1a1d82=_0x5ae094[_0x247c26(0x173)][_0x247c26(0x15a)](':')[0x2];if(_0x1a1d82===_0x5e9d6d[_0x247c26(0x159)])return;const _0x155843=_0x247c26(0x160)+_0x1a1d82;_0x677990[_0x247c26(0x120)][_0x247c26(0x13b)](_0x155843)&&_0x18ff99[_0x247c26(0x12f)][_0x247c26(0x108)](_0x155843),_0x5ae094['on'](_0x247c26(0x13f),(_0x5e39bf,_0x2cc54f,_0x433246)=>{const _0x4463ac=_0x247c26;if(_0x4463ac(0x148)!=_0x2cc54f[_0x4463ac(0x11e)][_0x4463ac(0x172)]&&_0x4463ac(0x148)==_0x5ae094[_0x4463ac(0x139)]()[_0x4463ac(0x11e)][_0x4463ac(0x172)]&&!_0x19edb7[_0x4463ac(0x13b)](_0x5ae094[_0x4463ac(0x173)])){const _0x46e56e=_0x677990[_0x4463ac(0x170)][_0x4463ac(0x175)](_0x433246[_0x4463ac(0x12b)]);if(_0x46e56e){const _0x3ba3ba=_0x4eb9dc[_0x4463ac(0x16f)](_0x46e56e);_0x19edb7[_0x4463ac(0x138)](_0x5ae094[_0x4463ac(0x173)],_0x3ba3ba),_0x3ba3ba['on'](_0x4463ac(0x13f),(_0x293619,_0x582239,_0x5477a7)=>{const _0x43f8fe=_0x4463ac;if(_0x43f8fe(0x148)==_0x3ba3ba[_0x43f8fe(0x11e)][_0x43f8fe(0x172)]){const _0x35af2b=_0x677990[_0x43f8fe(0x170)][_0x43f8fe(0x175)](_0x5477a7[_0x43f8fe(0x12b)]);_0x35af2b?(_0x3ba3ba[_0x43f8fe(0x113)]=_0x35af2b[_0x43f8fe(0x113)],_0x3ba3ba[_0x43f8fe(0x16b)]=_0x35af2b[_0x43f8fe(0x16b)]):(_0x19edb7[_0x43f8fe(0x144)](_0x5ae094[_0x43f8fe(0x173)]),_0x3ba3ba[_0x43f8fe(0x17c)]());}});}}});}),_0x677990[_0x1fd161(0x10a)]['on'](_0x1fd161(0x14e),()=>{const _0x4972f6=_0x1fd161;_0x19edb7[_0x4972f6(0x11c)]>0x0&&_0x677990[_0x4972f6(0x13d)]({'isUndoable':!0x1},_0x3b81ef=>{const _0x4ea66b=_0x4972f6;for(const [_0x1640eb,_0x480899]of _0x19edb7)_0x4ea66b(0x148)==_0x677990[_0x4ea66b(0x120)][_0x4ea66b(0x13e)](_0x1640eb)[_0x4ea66b(0x139)]()[_0x4ea66b(0x11e)][_0x4ea66b(0x172)]&&(re(_0x1640eb[_0x4ea66b(0x15a)](':')[0x2],_0x480899[_0x4ea66b(0x110)](),_0x677990,_0x3b81ef),_0x480899[_0x4ea66b(0x17c)]());_0x19edb7[_0x4ea66b(0x171)]();});});}(_0x2c3142),this[_0x19b6b1(0x15c)][_0x19b6b1(0x111)](_0x44acf2[_0x19b6b1(0x10a)],_0x19b6b1(0x100),(_0x18c09e,{key:_0x41ee12})=>{const _0x4b4864=_0x19b6b1;_0x4b4864(0x137)===_0x41ee12&&function(_0x73e965){const _0x11c1b1=_0x4b4864;_0x73e965[_0x11c1b1(0x12f)][_0x11c1b1(0x114)][_0x11c1b1(0x14e)](_0x270534=>{const _0x362e58=_0x11c1b1;for(const _0x3d39f9 of _0x73e965[_0x362e58(0x161)][_0x362e58(0x120)]){if(!_0x3d39f9[_0x362e58(0x173)][_0x362e58(0x163)](_0x362e58(0x125)))continue;const _0x2288d0=_0x73e965[_0x362e58(0x12f)][_0x362e58(0x103)][_0x362e58(0x122)](_0x3d39f9[_0x362e58(0x173)]);if(_0x2288d0){for(const _0xa5840e of _0x2288d0)_0x270534[_0x362e58(0x153)](_0x362e58(0x107),_0xa5840e);}}});}(_0x2c3142);},{'useCapture':!0x0});}[_0x529c40(0x11f)](){const _0x338ba5=_0x529c40,_0x526b46=this[_0x338ba5(0x14c)],_0x4b0809=_0x526b46[_0x338ba5(0x112)][_0x338ba5(0x13e)](_0x338ba5(0x14a));_0x4b0809&&_0x526b46[_0x338ba5(0x161)]['on'](_0x338ba5(0x135),(_0x2f0fc3,_0x1806da)=>{const _0x639b5=_0x338ba5,_0x5a35a1=_0x1806da[0x0];if(_0x639b5(0x10d)!=_0x5a35a1[_0x639b5(0x179)]||!_0x5a35a1[_0x639b5(0x173)][_0x639b5(0x163)](_0x639b5(0x10f)))return;const _0x432dcc=_0x5a35a1[_0x639b5(0x166)];_0x4b0809[_0x639b5(0x164)][_0x639b5(0x13b)](_0x432dcc)&&(_0x5a35a1[_0x639b5(0x11b)]=_0x5a35a1[_0x639b5(0x102)]?_0x526b46[_0x639b5(0x161)][_0x639b5(0x14f)](_0x5a35a1[_0x639b5(0x102)][_0x639b5(0x113)],_0x5a35a1[_0x639b5(0x102)][_0x639b5(0x16b)]):null);},{'priority':_0x338ba5(0x109)});}[_0x529c40(0x132)](){const _0x2b2e0d=_0x529c40;return this[_0x2b2e0d(0x15c)][_0x2b2e0d(0x11d)](),super[_0x2b2e0d(0x132)]();}[_0x529c40(0x104)](){const _0x585dc4=_0x529c40,_0x1cbffb=this[_0x585dc4(0x14c)],_0x34ed09=_0x1cbffb[_0x585dc4(0x161)][_0x585dc4(0x10a)],_0x292ab4=_0x1cbffb[_0x585dc4(0x150)][_0x585dc4(0x13e)](_0x2d0a69);_0x1cbffb[_0x585dc4(0x161)][_0x585dc4(0x13d)]({'isUndoable':!0x1},_0x58b38e=>{const _0x68bebd=_0x585dc4,_0x384a57=_0x68bebd(0xfd)+_0x292ab4[_0x68bebd(0x159)],_0x29f376=_0x68bebd(0x160)+_0x292ab4[_0x68bebd(0x159)],_0x5df109=_0x1cbffb[_0x68bebd(0x161)][_0x68bebd(0x120)][_0x68bebd(0x13b)](_0x384a57);_0x1cbffb[_0x68bebd(0x12f)][_0x68bebd(0x114)][_0x68bebd(0x140)]?re(_0x292ab4[_0x68bebd(0x159)],_0x34ed09[_0x68bebd(0x16d)][_0x68bebd(0xff)](),_0x1cbffb[_0x68bebd(0x161)],_0x58b38e):_0x5df109&&(_0x58b38e[_0x68bebd(0x128)](_0x384a57),_0x58b38e[_0x68bebd(0x128)](_0x29f376));});}}function re(_0xcd1ae7,_0x51444a,_0x4a60af,_0x8990fb){const _0x48a3b5=_0x529c40,_0x95e293=_0x48a3b5(0xfd)+_0xcd1ae7,_0x26195b=_0x48a3b5(0x160)+_0xcd1ae7,_0x8d8db=_0x51444a[_0x48a3b5(0x121)]();let _0x5cdcc0=_0x51444a[_0x48a3b5(0x113)];_0x8d8db&&_0x8d8db['is'](_0x48a3b5(0x174),_0x48a3b5(0x152))&&(_0x5cdcc0=function(_0x8c76bf,_0x427196){const _0x113eaa=_0x48a3b5;for(const _0x3713ef of _0x8c76bf[_0x113eaa(0x13c)]())if(_0x427196[_0x113eaa(0x170)][_0x113eaa(0x101)](_0x3713ef,_0x113eaa(0x127)))return _0x3713ef;}(_0x51444a,_0x4a60af),_0x51444a=_0x8990fb[_0x48a3b5(0x14f)](_0x5cdcc0));const _0x2b038e=_0x8990fb[_0x48a3b5(0x14f)](_0x5cdcc0);_0x4a60af[_0x48a3b5(0x120)][_0x48a3b5(0x13b)](_0x95e293)?(_0x8990fb[_0x48a3b5(0x162)](_0x95e293,{'range':_0x51444a}),_0x8990fb[_0x48a3b5(0x162)](_0x26195b,{'range':_0x2b038e})):(_0x8990fb[_0x48a3b5(0x16a)](_0x95e293,{'range':_0x51444a,'usingOperation':!0x0}),_0x8990fb[_0x48a3b5(0x16a)](_0x26195b,{'range':_0x2b038e,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x1a34a0=_0x1025;function _0x1025(_0xf4b8ee,_0xafd0a){const _0x4a8528=_0x4a85();return _0x1025=function(_0x1025fb,_0x561d04){_0x1025fb=_0x1025fb-0xbf;let _0x18d0be=_0x4a8528[_0x1025fb];return _0x18d0be;},_0x1025(_0xf4b8ee,_0xafd0a);}function _0x4a85(){const _0x293f07=['plugins','userPositionMarker','orderNumber','toRange','deletionPosition','nodeAfter','rootName','tableCell','editing','626676FsJHyO','getNearestSelectionRange','13389896uyIJrL','updateMarker','</span>','getRange','2623632miqjQW','setCustomProperty','schema','$text','getFirstRange','markerToHighlight','highest','keydown','applyOperation','contenteditable','markerName','enqueueChange','isCollapsed','remove','mouseenter','33716fDQMHY','getSelectionClass','parent','init','detach','isObject','commands','selection','add','delete','hasDomSelection','markers','model','getAttribute','element','createRange','getStart','root','15hCirKA','clear','type','84NGqKEu','hasContent','listenTo','get','afterInit','has','Escape','mapper','marker','oldRange','getContainedElement','markerNameToElements','name','isSimilar','requires','reconvertMarker','editingDowncast','ck-user__selection','editor','addEventListener','removeClass','stopListening','size','removeMarker','UserMarkers','checkChild','batch','classList','conversion','getCustomProperty','markerToElement','set','user:position','start','getUserBySessionId','2439LeoZih','472660sXfLgC','destroy','36eEBKaG','addMarker','split','3970jXmigR','document','isLimit','user:range','end','1719635QYPOWw','newRange','view','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','getMarkerClass','toDomElement','color','_createdBatches','span','for','user:position:','user:','isInline','update:user:range','innerHTML','undo','pluginName','change','render','fromRange','createUserMarkerOperations','user:range:','ck-user__marker_hovered','mySessionId','startsWith','markerRange','createUIElement','change:range','$graveyard','ck-user__marker\x20','data-session-id','getPositions','mouseleave','_domEmitter'];_0x4a85=function(){return _0x293f07;};return _0x4a85();}(function(_0x5dea09,_0x2b273e){const _0x1a0b8f=_0x1025,_0x3c8f1c=_0x5dea09();while(!![]){try{const _0x505618=-parseInt(_0x1a0b8f(0x105))/0x1+-parseInt(_0x1a0b8f(0xc2))/0x2*(-parseInt(_0x1a0b8f(0xfd))/0x3)+parseInt(_0x1a0b8f(0xfb))/0x4*(-parseInt(_0x1a0b8f(0xd4))/0x5)+-parseInt(_0x1a0b8f(0x130))/0x6*(-parseInt(_0x1a0b8f(0xd7))/0x7)+parseInt(_0x1a0b8f(0x132))/0x8+parseInt(_0x1a0b8f(0xfa))/0x9*(parseInt(_0x1a0b8f(0x100))/0xa)+-parseInt(_0x1a0b8f(0x136))/0xb;if(_0x505618===_0x2b273e)break;else _0x3c8f1c['push'](_0x3c8f1c['shift']());}catch(_0x5621a3){_0x3c8f1c['push'](_0x3c8f1c['shift']());}}}(_0x4a85,0xe1aaa));import{Plugin as _0x2d7796}from'ckeditor5/src/core.js';import{global as _0x38a5c6,DomEmitterMixin as _0x152afc}from'ckeditor5/src/utils.js';import _0x3cc3ff from'./sessions.js';import{LiveRange as _0x34cf5e}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class E extends _0x2d7796{constructor(){const _0x5d5338=_0x1025;super(...arguments),this[_0x5d5338(0x126)]=new(_0x152afc())();}static get[_0x1a34a0(0xe5)](){return[_0x3cc3ff];}static get[_0x1a34a0(0x115)](){const _0x5f40d6=_0x1a34a0;return _0x5f40d6(0xef);}[_0x1a34a0(0xc5)](){const _0x52d78b=_0x1a34a0,_0x145e2a=this[_0x52d78b(0xe9)],_0x15f30f=_0x145e2a[_0x52d78b(0x127)][_0x52d78b(0xda)](_0x3cc3ff);_0x145e2a[_0x52d78b(0xf3)][_0x52d78b(0x10e)](_0x52d78b(0xe7))[_0x52d78b(0xf5)]({'model':_0x52d78b(0xf7),'view':(_0x447d8f,{writer:_0x46303b})=>function(_0x98718d,_0x25b3f2,_0x16f630,_0x2e7bbf){const _0x3a5af2=_0x52d78b,_0x577dba=_0x98718d[_0x3a5af2(0x140)][_0x3a5af2(0xff)](':')[0x2],_0x40dd3b=_0x16f630[_0x3a5af2(0xf9)](_0x577dba);if(!_0x40dd3b||_0x577dba===_0x16f630[_0x3a5af2(0x11c)])return;if(!_0x2e7bbf[_0x3a5af2(0xce)][_0x3a5af2(0x138)][_0x3a5af2(0xf0)](_0x98718d[_0x3a5af2(0x11e)][_0x3a5af2(0xf8)],_0x3a5af2(0x139)))return;const _0x2028b2={'class':_0x3a5af2(0x122)+_0x40dd3b[_0x3a5af2(0x10b)][_0x3a5af2(0x109)](),'data-name':_0x40dd3b[_0x3a5af2(0xe3)],'data-session-id':_0x577dba},_0x5afde8=_0x2e7bbf[_0x3a5af2(0xce)][_0x3a5af2(0xcd)][_0x3a5af2(0xda)](_0x98718d[_0x3a5af2(0x140)]),_0x35816b=_0x5afde8[_0x3a5af2(0xd2)](),_0x38ddf9=_0x35816b[_0x3a5af2(0x12c)],_0x2f8a3c=_0x2e7bbf[_0x3a5af2(0xce)][_0x3a5af2(0x138)];if(_0x38ddf9&&_0x2f8a3c[_0x3a5af2(0xc7)](_0x38ddf9)&&_0x2f8a3c[_0x3a5af2(0x111)](_0x38ddf9)&&!_0x2e7bbf[_0x3a5af2(0xce)][_0x3a5af2(0xcd)][_0x3a5af2(0xda)](_0x3a5af2(0x11a)+_0x577dba)[_0x3a5af2(0x135)]()[_0x3a5af2(0xbf)])return;const _0x1ea6f5=_0x35816b[_0x3a5af2(0xc4)];return _0x2e7bbf[_0x3a5af2(0xce)][_0x3a5af2(0x138)][_0x3a5af2(0x102)](_0x1ea6f5)&&!_0x2e7bbf[_0x3a5af2(0xce)][_0x3a5af2(0xd8)](_0x1ea6f5)&&(_0x2028b2[_0x3a5af2(0x13f)]=!0x1),function(_0x299473,_0x4f324c,_0x48cf28){const _0x491adf=_0x3a5af2,_0x12e030=_0x299473[_0x491adf(0x11f)](_0x491adf(0x10d),_0x4f324c);return _0x299473[_0x491adf(0x137)](_0x491adf(0x128),!0x0,_0x12e030),_0x12e030[_0x491adf(0x117)]=function(_0x44ccf3){const _0x3c6ec6=_0x491adf,_0x21e4c9=this[_0x3c6ec6(0x10a)](_0x44ccf3);return _0x21e4c9[_0x3c6ec6(0x113)]=_0x3c6ec6(0x108)+_0x48cf28[_0x3c6ec6(0xe3)]+_0x3c6ec6(0x134),_0x21e4c9[_0x3c6ec6(0xea)](_0x3c6ec6(0xc1),()=>{const _0x2727eb=_0x3c6ec6;_0x21e4c9[_0x2727eb(0xf2)][_0x2727eb(0xca)](_0x2727eb(0x11b));}),_0x21e4c9[_0x3c6ec6(0xea)](_0x3c6ec6(0x125),()=>{const _0x4a3020=_0x3c6ec6;_0x21e4c9[_0x4a3020(0xf2)][_0x4a3020(0xc0)](_0x4a3020(0x11b));}),_0x21e4c9;},_0x12e030[_0x491adf(0xe4)]=function(_0x1a2341){const _0x9a8419=_0x491adf;return!(!this[_0x9a8419(0xf4)](_0x9a8419(0x128))||!_0x1a2341[_0x9a8419(0xf4)](_0x9a8419(0x128))||this[_0x9a8419(0xcf)](_0x9a8419(0x123))!=_0x1a2341[_0x9a8419(0xcf)](_0x9a8419(0x123)));},_0x12e030;}(_0x25b3f2,_0x2028b2,_0x40dd3b);}(_0x447d8f,_0x46303b,_0x15f30f,_0x145e2a)}),_0x145e2a[_0x52d78b(0xf3)][_0x52d78b(0x10e)](_0x52d78b(0xe7))[_0x52d78b(0x13b)]({'model':_0x52d78b(0x103),'view':_0x5b8f38=>function(_0xf7e6e5,_0x413d5b){const _0x6dca44=_0x52d78b,_0x1046d4=_0xf7e6e5[_0x6dca44(0x140)][_0x6dca44(0xff)](':')[0x2];if(_0x1046d4===_0x413d5b[_0x6dca44(0x11c)])return null;const _0xd05b7a=_0x413d5b[_0x6dca44(0xf9)](_0x1046d4);if(!_0xd05b7a)return{'id':_0x1046d4,'classes':[]};return{'id':_0x1046d4,'classes':[_0x6dca44(0xe8),_0xd05b7a[_0x6dca44(0x10b)][_0x6dca44(0xc3)]()],'attributes':{'data-session-id':_0x1046d4},'priority':0x7d0+_0xd05b7a[_0x6dca44(0x129)]};}(_0x5b8f38,_0x15f30f)}),function(_0x3307ed){const _0xe70fa0=_0x52d78b,_0x566ae8=_0x3307ed[_0xe70fa0(0xce)],_0x280785=new Map(),_0x441efd=_0x3307ed[_0xe70fa0(0x127)][_0xe70fa0(0xda)](_0x3cc3ff);_0x566ae8[_0xe70fa0(0xcd)]['on'](_0xe70fa0(0x112),(_0x3c9836,_0x2af44a,_0x344727,_0x1c3712)=>{const _0x3c59ba=_0xe70fa0;if(!_0x1c3712&&_0x280785[_0x3c59ba(0xda)](_0x2af44a[_0x3c59ba(0xe3)]))return _0x280785[_0x3c59ba(0xda)](_0x2af44a[_0x3c59ba(0xe3)])[_0x3c59ba(0xc6)](),void _0x280785[_0x3c59ba(0xcb)](_0x2af44a[_0x3c59ba(0xe3)]);const _0x33dbe1=_0x2af44a[_0x3c59ba(0xe3)][_0x3c59ba(0xff)](':')[0x2];if(_0x33dbe1===_0x441efd[_0x3c59ba(0x11c)])return;const _0x51beaa=_0x3c59ba(0x10f)+_0x33dbe1;_0x566ae8[_0x3c59ba(0xcd)][_0x3c59ba(0xdc)](_0x51beaa)&&_0x3307ed[_0x3c59ba(0x12f)][_0x3c59ba(0xe6)](_0x51beaa),_0x2af44a['on'](_0x3c59ba(0x120),(_0x324359,_0x41306d,_0x1f7af1)=>{const _0x168135=_0x3c59ba;if(_0x168135(0x121)!=_0x41306d[_0x168135(0xd3)][_0x168135(0x12d)]&&_0x168135(0x121)==_0x2af44a[_0x168135(0x135)]()[_0x168135(0xd3)][_0x168135(0x12d)]&&!_0x280785[_0x168135(0xdc)](_0x2af44a[_0x168135(0xe3)])){const _0x9c7850=_0x566ae8[_0x168135(0x138)][_0x168135(0x131)](_0x1f7af1[_0x168135(0x12b)]);if(_0x9c7850){const _0x9f19bd=_0x34cf5e[_0x168135(0x118)](_0x9c7850);_0x280785[_0x168135(0xf6)](_0x2af44a[_0x168135(0xe3)],_0x9f19bd),_0x9f19bd['on'](_0x168135(0x120),(_0x25243b,_0x1156cd,_0x507469)=>{const _0x5423fd=_0x168135;if(_0x5423fd(0x121)==_0x9f19bd[_0x5423fd(0xd3)][_0x5423fd(0x12d)]){const _0x4585d1=_0x566ae8[_0x5423fd(0x138)][_0x5423fd(0x131)](_0x507469[_0x5423fd(0x12b)]);_0x4585d1?(_0x9f19bd[_0x5423fd(0xf8)]=_0x4585d1[_0x5423fd(0xf8)],_0x9f19bd[_0x5423fd(0x104)]=_0x4585d1[_0x5423fd(0x104)]):(_0x280785[_0x5423fd(0xcb)](_0x2af44a[_0x5423fd(0xe3)]),_0x9f19bd[_0x5423fd(0xc6)]());}});}}});}),_0x566ae8[_0xe70fa0(0x101)]['on'](_0xe70fa0(0x116),()=>{const _0x2dd9a9=_0xe70fa0;_0x280785[_0x2dd9a9(0xed)]>0x0&&_0x566ae8[_0x2dd9a9(0x141)]({'isUndoable':!0x1},_0x28c632=>{const _0x32e519=_0x2dd9a9;for(const [_0x395413,_0x910a35]of _0x280785)_0x32e519(0x121)==_0x566ae8[_0x32e519(0xcd)][_0x32e519(0xda)](_0x395413)[_0x32e519(0x135)]()[_0x32e519(0xd3)][_0x32e519(0x12d)]&&(Q(_0x395413[_0x32e519(0xff)](':')[0x2],_0x910a35[_0x32e519(0x12a)](),_0x566ae8,_0x28c632),_0x910a35[_0x32e519(0xc6)]());_0x280785[_0x32e519(0xd5)]();});});}(_0x145e2a),this[_0x52d78b(0x126)][_0x52d78b(0xd9)](_0x38a5c6[_0x52d78b(0x101)],_0x52d78b(0x13d),(_0x44c8d3,{key:_0x244a5f})=>{const _0x84dbc2=_0x52d78b;_0x84dbc2(0xdd)===_0x244a5f&&function(_0x3c738e){const _0x420c36=_0x84dbc2;_0x3c738e[_0x420c36(0x12f)][_0x420c36(0x107)][_0x420c36(0x116)](_0x2a3eee=>{const _0x1c1d0f=_0x420c36;for(const _0x5bf8e6 of _0x3c738e[_0x1c1d0f(0xce)][_0x1c1d0f(0xcd)]){if(!_0x5bf8e6[_0x1c1d0f(0xe3)][_0x1c1d0f(0x11d)](_0x1c1d0f(0xf7)))continue;const _0x34652d=_0x3c738e[_0x1c1d0f(0x12f)][_0x1c1d0f(0xde)][_0x1c1d0f(0xe2)](_0x5bf8e6[_0x1c1d0f(0xe3)]);if(_0x34652d){for(const _0x56858d of _0x34652d)_0x2a3eee[_0x1c1d0f(0xeb)](_0x1c1d0f(0x11b),_0x56858d);}}});}(_0x145e2a);},{'useCapture':!0x0});}[_0x1a34a0(0xdb)](){const _0x4bf1c5=_0x1a34a0,_0x290d5d=this[_0x4bf1c5(0xe9)],_0x3c0eb1=_0x290d5d[_0x4bf1c5(0xc8)][_0x4bf1c5(0xda)](_0x4bf1c5(0x114));_0x3c0eb1&&_0x290d5d[_0x4bf1c5(0xce)]['on'](_0x4bf1c5(0x13e),(_0x228054,_0x301ca5)=>{const _0x2dda01=_0x4bf1c5,_0x47499a=_0x301ca5[0x0];if(_0x2dda01(0xdf)!=_0x47499a[_0x2dda01(0xd6)]||!_0x47499a[_0x2dda01(0xe3)][_0x2dda01(0x11d)](_0x2dda01(0x110)))return;const _0x3f5b2b=_0x47499a[_0x2dda01(0xf1)];_0x3c0eb1[_0x2dda01(0x10c)][_0x2dda01(0xdc)](_0x3f5b2b)&&(_0x47499a[_0x2dda01(0x106)]=_0x47499a[_0x2dda01(0xe0)]?_0x290d5d[_0x2dda01(0xce)][_0x2dda01(0xd1)](_0x47499a[_0x2dda01(0xe0)][_0x2dda01(0xf8)],_0x47499a[_0x2dda01(0xe0)][_0x2dda01(0x104)]):null);},{'priority':_0x4bf1c5(0x13c)});}[_0x1a34a0(0xfc)](){const _0x3c83da=_0x1a34a0;return this[_0x3c83da(0x126)][_0x3c83da(0xec)](),super[_0x3c83da(0xfc)]();}[_0x1a34a0(0x119)](){const _0x1c1404=_0x1a34a0,_0x14a278=this[_0x1c1404(0xe9)],_0x163796=_0x14a278[_0x1c1404(0xce)][_0x1c1404(0x101)],_0x45efe9=_0x14a278[_0x1c1404(0x127)][_0x1c1404(0xda)](_0x3cc3ff);_0x14a278[_0x1c1404(0xce)][_0x1c1404(0x141)]({'isUndoable':!0x1},_0x35e40b=>{const _0x710a14=_0x1c1404,_0x42824c=_0x710a14(0x11a)+_0x45efe9[_0x710a14(0x11c)],_0x334a7a=_0x710a14(0x10f)+_0x45efe9[_0x710a14(0x11c)],_0x1f3b97=_0x14a278[_0x710a14(0xce)][_0x710a14(0xcd)][_0x710a14(0xdc)](_0x42824c);_0x14a278[_0x710a14(0x12f)][_0x710a14(0x107)][_0x710a14(0xcc)]?Q(_0x45efe9[_0x710a14(0x11c)],_0x163796[_0x710a14(0xc9)][_0x710a14(0x13a)](),_0x14a278[_0x710a14(0xce)],_0x35e40b):_0x1f3b97&&(_0x35e40b[_0x710a14(0xee)](_0x42824c),_0x35e40b[_0x710a14(0xee)](_0x334a7a));});}}function Q(_0x44f3c0,_0x541f40,_0x2efd64,_0x1aafa9){const _0x3a3dfc=_0x1a34a0,_0x598884=_0x3a3dfc(0x11a)+_0x44f3c0,_0x5283d7=_0x3a3dfc(0x10f)+_0x44f3c0,_0x42e722=_0x541f40[_0x3a3dfc(0xe1)]();let _0x476355=_0x541f40[_0x3a3dfc(0xf8)];_0x42e722&&_0x42e722['is'](_0x3a3dfc(0xd0),_0x3a3dfc(0x12e))&&(_0x476355=function(_0x3b87a7,_0x64d204){const _0x5d8584=_0x3a3dfc;for(const _0x2379fa of _0x3b87a7[_0x5d8584(0x124)]())if(_0x64d204[_0x5d8584(0x138)][_0x5d8584(0xf0)](_0x2379fa,_0x5d8584(0x139)))return _0x2379fa;}(_0x541f40,_0x2efd64),_0x541f40=_0x1aafa9[_0x3a3dfc(0xd1)](_0x476355));const _0x33e4d1=_0x1aafa9[_0x3a3dfc(0xd1)](_0x476355);_0x2efd64[_0x3a3dfc(0xcd)][_0x3a3dfc(0xdc)](_0x598884)?(_0x1aafa9[_0x3a3dfc(0x133)](_0x598884,{'range':_0x541f40}),_0x1aafa9[_0x3a3dfc(0x133)](_0x5283d7,{'range':_0x33e4d1})):(_0x1aafa9[_0x3a3dfc(0xfe)](_0x598884,{'range':_0x541f40,'usingOperation':!0x0}),_0x1aafa9[_0x3a3dfc(0xfe)](_0x5283d7,{'range':_0x33e4d1,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x45f6e1=_0x1184;function _0x1b6a(){const _0x18048a=['_reconnect','24nIuPGx','CloudServices','1674740AIMVZF','constructor','code','cloudServices.requestTimeout','875394glrwvV','websocketgateway-plugin-already-registered','init','pluginName','error','has','_shouldPluginsReconnect','cloudservices-reconnection-error','connected','add','cloudServices.connectionTimeout','bind','451346xQANKF','define','removeFromReconnectionStack','_reconnectionStack','websocketgateway-invalid-plugin-interface','listenTo','cloudservices-init','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.','limitExceeded','create','isInReconnectionStack','websocketgateway-missing-token','context','CONNECTING','change:me','_domEmitter','get','6BzFYQm','online','config','function','state','requires','addToReconnectionStack','DISCONNECTED','connect','stopListening','disconnect','reconnect','from','Connected\x20users\x20limit\x20exceeded','111krPsTc','183135UTUecx','real-time-collaboration','CONNECTED','2PmbMDc','all','connection','showWarning','initialReconnectionInterval','destroy','websocketgateway-missing-websocket-url','catch','then','_isBrowserOffline','delete','webSocketUrl','set','plugins','301830lKkrXz','token','WebSocketGateway','20284wuBImB','offline','510862aWwgXD'];_0x1b6a=function(){return _0x18048a;};return _0x1b6a();}(function(_0x4f3a4a,_0x5d0acc){const _0x589308=_0x1184,_0x30eb37=_0x4f3a4a();while(!![]){try{const _0x137317=parseInt(_0x589308(0x8e))/0x1*(parseInt(_0x589308(0x91))/0x2)+parseInt(_0x589308(0x8d))/0x3*(-parseInt(_0x589308(0xa2))/0x4)+parseInt(_0x589308(0x9f))/0x5*(-parseInt(_0x589308(0xc9))/0x6)+parseInt(_0x589308(0xb8))/0x7*(parseInt(_0x589308(0xa6))/0x8)+parseInt(_0x589308(0xac))/0x9+-parseInt(_0x589308(0xa8))/0xa+parseInt(_0x589308(0xa4))/0xb;if(_0x137317===_0x5d0acc)break;else _0x30eb37['push'](_0x30eb37['shift']());}catch(_0xe0d548){_0x30eb37['push'](_0x30eb37['shift']());}}}(_0x1b6a,0x1996a));import{ContextPlugin as _0x8d2973}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x3622b6,CKEditorError as _0x16f3de}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x31b24e,WEB_SOCKET_GATEWAY_STATES as _0x130a12}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x560a5d}from'ckeditor5/src/ui.js';function _0x1184(_0x4855ab,_0xb2133){const _0x1b6ad8=_0x1b6a();return _0x1184=function(_0x118469,_0xe91723){_0x118469=_0x118469-0x86;let _0x19ec96=_0x1b6ad8[_0x118469];return _0x19ec96;},_0x1184(_0x4855ab,_0xb2133);}class c extends _0x8d2973{static get[_0x45f6e1(0xce)](){const _0x2693ca=_0x45f6e1;return[_0x2693ca(0xa7),_0x560a5d];}static get[_0x45f6e1(0xaf)](){const _0x330ad8=_0x45f6e1;return _0x330ad8(0xa1);}constructor(_0x586c01){const _0x4371c7=_0x45f6e1;super(_0x586c01),this[_0x4371c7(0x9d)](_0x4371c7(0xcd),_0x130a12[_0x4371c7(0x90)]),this[_0x4371c7(0x9d)](_0x4371c7(0x9a),!0x1),this[_0x4371c7(0xbb)]=new Set(),this[_0x4371c7(0xb2)]=!0x1,this[_0x4371c7(0xc7)]=Object[_0x4371c7(0xc1)](_0x3622b6);}[_0x45f6e1(0xae)](){const _0x1644f2=_0x45f6e1,_0x54e133=this[_0x1644f2(0xc4)],_0x5cd903=_0x54e133[_0x1644f2(0x9e)][_0x1644f2(0xc8)](_0x1644f2(0xa7)),_0x3e8309=_0x54e133[_0x1644f2(0x9e)][_0x1644f2(0xc8)](_0x560a5d);if(!_0x5cd903[_0x1644f2(0xa0)])throw new _0x16f3de(_0x1644f2(0xc3),this);if(!_0x5cd903[_0x1644f2(0x9c)])throw new _0x16f3de(_0x1644f2(0x97),this);return this[_0x1644f2(0xc7)][_0x1644f2(0xbd)](window,_0x1644f2(0xa3),()=>this[_0x1644f2(0x9a)]=!0x0),this[_0x1644f2(0xc7)][_0x1644f2(0xbd)](window,_0x1644f2(0xca),()=>this[_0x1644f2(0x9a)]=!0x1),this[_0x1644f2(0xc4)][_0x1644f2(0xcb)][_0x1644f2(0xb9)](_0x1644f2(0xb6),0xa),this[_0x1644f2(0xc4)][_0x1644f2(0xcb)][_0x1644f2(0xb9)](_0x1644f2(0xab),0x14),c[_0x1644f2(0xa1)][_0x1644f2(0x87)](_0x5cd903[_0x1644f2(0xa0)],_0x5cd903[_0x1644f2(0x9c)],{'timeout':0x3e8*this[_0x1644f2(0xc4)][_0x1644f2(0xcb)][_0x1644f2(0xc8)](_0x1644f2(0xb6)),'requestTimeout':0x3e8*this[_0x1644f2(0xc4)][_0x1644f2(0xcb)][_0x1644f2(0xc8)](_0x1644f2(0xab))})[_0x1644f2(0x99)](_0x5b8c14=>{const _0x214554=_0x1644f2;if(this[_0x214554(0x93)]=_0x5b8c14,this[_0x214554(0xb7)](_0x214554(0xcd))['to'](_0x5b8c14,_0x214554(0xcd),this,_0x214554(0x9a),(_0x2c2f3a,_0x309c88)=>(_0x214554(0xb4)!==_0x2c2f3a&&(this[_0x214554(0xb2)]=!0x0),_0x309c88||_0x2c2f3a!==_0x130a12[_0x214554(0x90)]?_0x130a12[_0x214554(0x86)]:this[_0x214554(0xcd)]==_0x130a12[_0x214554(0x86)]&&this[_0x214554(0xb2)]?(this[_0x214554(0xb2)]=!0x1,this[_0x214554(0xa5)](),_0x130a12[_0x214554(0xc5)]):_0x130a12[_0x214554(0x90)])),this[_0x214554(0x93)]['on'](_0x214554(0xb0),(_0x39a3df,_0xa548ea)=>{const _0x5eda3a=_0x214554;if(_0x5eda3a(0xc0)!==_0xa548ea[_0x5eda3a(0xaa)])throw console[_0x5eda3a(0xb0)](_0xa548ea),new _0x16f3de(_0x5eda3a(0xbe),null,{'originalError':_0xa548ea});_0x3e8309[_0x5eda3a(0x94)](_0x5eda3a(0xbf),{'title':_0x5eda3a(0x8c),'namespace':_0x5eda3a(0x8f)});}),!_0x5b8c14['me'])return new Promise(_0x4d71cc=>_0x5b8c14['on'](_0x214554(0xc6),_0x4d71cc));})[_0x1644f2(0x98)](_0x4f9968=>{const _0x58bacb=_0x1644f2;throw console[_0x58bacb(0xb0)](_0x4f9968),new _0x16f3de(_0x58bacb(0xbe),null,{'originalError':_0x4f9968});});}[_0x45f6e1(0xcf)](_0x334228){const _0x132372=_0x45f6e1;if(_0x132372(0xcc)!=typeof _0x334228[_0x132372(0x8a)])throw new _0x16f3de(_0x132372(0xbc),this);if(this[_0x132372(0xc2)](_0x334228))throw new _0x16f3de(_0x132372(0xad),this,{'name':_0x334228[_0x132372(0xa9)][_0x132372(0xaf)]});this[_0x132372(0xbb)][_0x132372(0xb5)](_0x334228);}[_0x45f6e1(0xba)](_0x2c9d3b){const _0x336ee4=_0x45f6e1;this[_0x336ee4(0xbb)][_0x336ee4(0x9b)](_0x2c9d3b);}[_0x45f6e1(0xc2)](_0x19eae3){const _0x5dce13=_0x45f6e1;return this[_0x5dce13(0xbb)][_0x5dce13(0xb1)](_0x19eae3);}[_0x45f6e1(0xa5)](){const _0x2cabbc=_0x45f6e1;return this[_0x2cabbc(0x93)][_0x2cabbc(0x8a)]()[_0x2cabbc(0x99)](()=>Promise[_0x2cabbc(0x92)](Array[_0x2cabbc(0x8b)](this[_0x2cabbc(0xbb)],_0x1d4149=>_0x1d4149[_0x2cabbc(0x8a)]())))[_0x2cabbc(0x99)](()=>this[_0x2cabbc(0xcd)]=_0x130a12[_0x2cabbc(0x90)])[_0x2cabbc(0x98)](_0x103a47=>{const _0x1bc9f3=_0x2cabbc;throw console[_0x1bc9f3(0xb0)](_0x103a47),new _0x16f3de(_0x1bc9f3(0xb3),this[_0x1bc9f3(0xc4)]);});}[_0x45f6e1(0x96)](){const _0x57f704=_0x45f6e1;this[_0x57f704(0x93)]&&this[_0x57f704(0x93)][_0x57f704(0x89)](),this[_0x57f704(0xcd)]=_0x130a12[_0x57f704(0x86)],this[_0x57f704(0xc7)][_0x57f704(0x88)](),super[_0x57f704(0x96)]();}}c[_0x45f6e1(0xa1)]=_0x31b24e,c[_0x45f6e1(0x95)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x55b31b=_0x3ebf;(function(_0x60ffd1,_0x47bf1d){const _0x3a9409=_0x3ebf,_0xc29165=_0x60ffd1();while(!![]){try{const _0xdb3de=parseInt(_0x3a9409(0x1dc))/0x1+parseInt(_0x3a9409(0x1d3))/0x2*(-parseInt(_0x3a9409(0x21c))/0x3)+parseInt(_0x3a9409(0x1e7))/0x4*(-parseInt(_0x3a9409(0x222))/0x5)+-parseInt(_0x3a9409(0x215))/0x6+-parseInt(_0x3a9409(0x21d))/0x7*(-parseInt(_0x3a9409(0x214))/0x8)+-parseInt(_0x3a9409(0x22d))/0x9+parseInt(_0x3a9409(0x22c))/0xa*(parseInt(_0x3a9409(0x20a))/0xb);if(_0xdb3de===_0x47bf1d)break;else _0xc29165['push'](_0xc29165['shift']());}catch(_0xf76c1d){_0xc29165['push'](_0xc29165['shift']());}}}(_0x464d,0x7f6b9));import{Plugin as _0x5da9da}from'ckeditor5/src/core.js';import{version as _0x5db4db}from'ckeditor5/src/utils.js';import{Users as _0x2c7c90}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xaacfb6 from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x464d(){const _0x11d435=['_handleReconnectionError','_fixRevision','map','serverHistory','_isConnected','getMany','requires','baseVersion','connect','_revisionTracker','connection','data','creatorId','_waitForServiceReady','addToReconnectionStack','isEmptyCurrent','length','bind','RevisionTracker','getRevision','77JumsaQ','authorsIds','_offset','_createCurrentRevision','code','addUser','keys','editor','remove','isBundleUploaded','176vLyqnU','3580500NlOszk','marker','_startingVersion','startsWith','_update','wrongRequestId','authors','139371Igkkhr','75922TmwvFj','message','buildRevisionData','init','getRevisions','5TndQjz','cloud-services-internal-error:\x20Request\x20timeout.','affectsData','catch','getOperations','_isPendingUpdate','size','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','CONNECTED','repository','1446260KUcJRQ','184104QavcKE','_revisionHistoryService','_bufferUpdate','connected','plugins','sendBufferedUpdates','listenTo','config','revisionsUpdated','adapter','change:_isConnected','400','updateRevisions','off','max','_oldOffset','state','_getLatestVersionFromServerOperations','toVersion','_lastRequestId','_fetchMissingUsers','_bufferedUpdates','4EwpRVg','cloud-services-internal-error:\x20Not\x20connected.','type','then','_getLatestVersion','_handleRevisionsUpdate','from','destroy','RevisionHistoryService','847728UBpBbA','reconnect','collaboration.channelId','get','setRevisionData','setSource','addRevisionData','once','_revisions','createdAt','cloudServices.bundleVersion','3466756kliSqh','add','getUser','_preventResendingRevisionData','sessionId','diffData','reverse','has','change:_isPendingUpdate','isConnected','isEnabled','_revisionDataBuilder','currentRevision','fromVersion','reInit'];_0x464d=function(){return _0x11d435;};return _0x464d();}import _0x53aba6 from'../realtimecollaborativeediting/websocketgateway.js';import _0x10ea58 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x5d3582,RevisionHistoryService as _0x546192,User as _0x35ba12,WEB_SOCKET_GATEWAY_STATES as _0xa12ff9}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x5da9da{static get[_0x55b31b(0x1fc)](){const _0x593d35=_0x55b31b;return[_0x53aba6,_0xaacfb6,_0x593d35(0x208),_0x10ea58,_0x2c7c90];}constructor(_0xd5b4a2){const _0x2512a7=_0x55b31b;super(_0xd5b4a2);const _0x4059ff=this[_0x2512a7(0x211)][_0x2512a7(0x234)][_0x2512a7(0x1df)](_0x2512a7(0x1de));this[_0x2512a7(0x1d0)]=null,this[_0x2512a7(0x1ff)]=this[_0x2512a7(0x211)][_0x2512a7(0x231)][_0x2512a7(0x1df)](_0x2512a7(0x208)),this[_0x2512a7(0x22e)]=new v[(_0x2512a7(0x1db))](_0x4059ff);}async[_0x55b31b(0x220)](){const _0x17245b=_0x55b31b,_0x4cfe1f=this[_0x17245b(0x211)][_0x17245b(0x231)][_0x17245b(0x1df)](_0xaacfb6),_0x42cca7=_0x4cfe1f[_0x17245b(0x1f9)],_0x325afb=this[_0x17245b(0x211)][_0x17245b(0x231)][_0x17245b(0x1df)](_0x53aba6);this[_0x17245b(0x1ff)][_0x17245b(0x1e1)]({'history':_0x42cca7,'getLatestVersion':()=>this[_0x17245b(0x1d7)](),'getCurrentRevisionId':()=>_0x4cfe1f[_0x17245b(0x1eb)]});const _0x2c6184=this[_0x17245b(0x211)][_0x17245b(0x234)][_0x17245b(0x1df)](_0x17245b(0x1e6))||_0x5db4db,_0x5eecf2=await _0x5d3582[_0x17245b(0x213)](_0x325afb[_0x17245b(0x200)],_0x2c6184);this[_0x17245b(0x1ff)][_0x17245b(0x236)]={'getRevision':async({revisionId:_0x4ff18c})=>(await this[_0x17245b(0x203)](),await this[_0x17245b(0x22e)][_0x17245b(0x209)](_0x4ff18c)),'updateRevisions':async _0x2aa9f5=>{const _0x4627de=_0x17245b;await this[_0x4627de(0x203)]();const _0x39795c=this[_0x4627de(0x1ff)][_0x4627de(0x1f3)];if(_0x5eecf2&&0x1===_0x2aa9f5[_0x4627de(0x206)]&&_0x2aa9f5[0x0]['id']===_0x39795c['id'])return _0x2aa9f5;for(const _0x16b0e2 of _0x2aa9f5)_0x16b0e2['id']===_0x39795c['id']&&(_0x16b0e2[_0x4627de(0x205)]=_0x16b0e2[_0x4627de(0x1f4)]===_0x16b0e2[_0x4627de(0x1cf)]);return this[_0x4627de(0x22e)][_0x4627de(0x239)](_0x2aa9f5,this[_0x4627de(0x1d0)])[_0x4627de(0x1d6)](_0x479315=>(this[_0x4627de(0x1d0)]=_0x479315,_0x2aa9f5))[_0x4627de(0x225)](_0x46a786=>{const _0x4ed04f=_0x4627de;if(st(_0x46a786)||_0x4ed04f(0x238)===_0x46a786[_0x4ed04f(0x20e)]&&void 0x0!==_0x46a786[_0x4ed04f(0x201)][_0x4ed04f(0x21a)]){for(const _0x40bf6c of _0x2aa9f5){!this[_0x4ed04f(0x1ff)][_0x4ed04f(0x22b)][_0x4ed04f(0x209)](_0x40bf6c['id'])||this[_0x4ed04f(0x1ff)][_0x4ed04f(0x22f)](_0x40bf6c['id'],_0x40bf6c,!0x1);}if(st(_0x46a786))throw _0x46a786;return _0x2aa9f5;}throw _0x46a786;});}},this[_0x17245b(0x233)](this[_0x17245b(0x22e)],_0x17245b(0x235),(_0x34e4ac,{revisionsData:_0x253dbc,requestId:_0x5b8a47})=>{const _0x1db709=_0x17245b;Math[_0x1db709(0x23b)](..._0x253dbc[_0x1db709(0x1f8)](_0x511dfd=>_0x511dfd[_0x1db709(0x1cf)]))>this[_0x1db709(0x1ce)]()-0x1?this[_0x1db709(0x1d7)]()[_0x1db709(0x1d6)](()=>{const _0x34d445=_0x1db709;this[_0x34d445(0x1d8)](_0x253dbc,_0x5b8a47);}):this[_0x1db709(0x1d8)](_0x253dbc,_0x5b8a47);});const {revisions:_0x2a9b33,requestId:_0xd3b1c9}=await this[_0x17245b(0x22e)][_0x17245b(0x1fe)](_0x325afb[_0x17245b(0x200)]);_0x325afb[_0x17245b(0x204)](this),this[_0x17245b(0x1d0)]=_0xd3b1c9,await this[_0x17245b(0x1d1)](_0x2a9b33);for(const _0x558666 of _0x2a9b33)this[_0x17245b(0x1ff)][_0x17245b(0x1e2)](_0x558666);this[_0x17245b(0x233)](_0x4cfe1f,_0x17245b(0x237),(_0x140aae,_0xef9d50,_0x513d1b)=>{const _0x310e40=_0x17245b;_0x513d1b&&(this[_0x310e40(0x23c)]=_0x4cfe1f[_0x310e40(0x20c)],_0x140aae[_0x310e40(0x23a)]());}),this[_0x17245b(0x1ff)][_0x17245b(0x207)](_0x17245b(0x1f1))['to'](_0x325afb,_0x17245b(0x23d),_0x1f48da=>_0x1f48da===_0xa12ff9[_0x17245b(0x22a)]);}async[_0x55b31b(0x1dd)](){const _0x1ea068=_0x55b31b,_0x1553b3=this[_0x1ea068(0x211)][_0x1ea068(0x231)][_0x1ea068(0x1df)](_0x53aba6),_0x2d0725=this[_0x1ea068(0x211)][_0x1ea068(0x231)][_0x1ea068(0x1df)](_0xaacfb6),_0x583ec8=async()=>{const _0x5a7dab=_0x1ea068,_0x12509e=this[_0x5a7dab(0x1ff)][_0x5a7dab(0x1f3)],_0x566d45=_0x12509e['id'],_0x5887d3=_0x566d45!==_0x2d0725[_0x5a7dab(0x1eb)];if(_0x5887d3){const _0x489d19=_0x2d0725[_0x5a7dab(0x20c)]-this[_0x5a7dab(0x23c)],_0x20a4c0=this[_0x5a7dab(0x1ce)]();this[_0x5a7dab(0x1ff)][_0x5a7dab(0x1f2)][_0x5a7dab(0x1f5)]();if(_0x12509e[_0x5a7dab(0x1cf)]+_0x489d19!==_0x20a4c0){const _0x5df699=_0x12509e[_0x5a7dab(0x1f4)]+_0x489d19,_0x2fea34=this[_0x5a7dab(0x211)][_0x5a7dab(0x231)][_0x5a7dab(0x1df)](_0x2c7c90),_0x16c072=this[_0x5a7dab(0x1ff)][_0x5a7dab(0x21f)]({'revision':_0x12509e,'from':_0x5df699,'to':_0x20a4c0});_0x16c072['id']=_0x12509e['id'];const _0x409b9a=_0x16c072[_0x5a7dab(0x20b)][_0x5a7dab(0x1f8)](_0x4638e5=>_0x2fea34[_0x5a7dab(0x1e9)](_0x4638e5));_0x12509e[_0x5a7dab(0x219)]({..._0x16c072,'authors':_0x409b9a},!0x0),this[_0x5a7dab(0x1ff)][_0x5a7dab(0x22f)](_0x12509e['id'],_0x16c072,!0x0);}this[_0x5a7dab(0x1ff)][_0x5a7dab(0x217)]=_0x20a4c0,(_0x12509e[_0x5a7dab(0x1cf)]===_0x12509e[_0x5a7dab(0x1f4)]&&!this[_0x5a7dab(0x1ff)][_0x5a7dab(0x1d2)][_0x5a7dab(0x1ee)](_0x566d45)&&this[_0x5a7dab(0x1ff)][_0x5a7dab(0x22b)][_0x5a7dab(0x1e4)][_0x5a7dab(0x212)](_0x566d45),this[_0x5a7dab(0x1ff)][_0x5a7dab(0x20d)](_0x20a4c0));}const {revisions:_0x1712e8,requestId:_0xba00ce}=await this[_0x5a7dab(0x22e)][_0x5a7dab(0x1dd)](_0x1553b3[_0x5a7dab(0x200)],this[_0x5a7dab(0x1d0)]);_0x5887d3&&_0x1712e8[_0x5a7dab(0x206)]>0x0?_0x2d0725[_0x5a7dab(0x1f6)]():(await this[_0x5a7dab(0x1d1)](_0x1712e8),this[_0x5a7dab(0x1d8)](_0x1712e8,_0xba00ce),this[_0x5a7dab(0x1ff)][_0x5a7dab(0x232)]());};return _0x2d0725[_0x1ea068(0x1fa)]?_0x583ec8():new Promise((_0x545b5b,_0x505e15)=>{const _0xb838e6=_0x1ea068;_0x2d0725[_0xb838e6(0x1e3)](_0xb838e6(0x237),()=>{const _0x58a2eb=_0xb838e6;_0x583ec8()[_0x58a2eb(0x1d6)](_0x545b5b)[_0x58a2eb(0x225)](_0x505e15);});});}[_0x55b31b(0x1da)](){const _0x37894a=_0x55b31b;super[_0x37894a(0x1da)]();}async[_0x55b31b(0x203)](){const _0x35f217=_0x55b31b;this[_0x35f217(0x22e)][_0x35f217(0x1f0)]||await new Promise(_0x67bf1b=>{const _0x35b2a0=_0x35f217;this[_0x35b2a0(0x233)](this[_0x35b2a0(0x22e)],_0x35b2a0(0x230),_0x22139a=>{const _0x5dd7ce=_0x35b2a0;_0x22139a[_0x5dd7ce(0x23a)](),_0x67bf1b();});});}[_0x55b31b(0x1ce)](){const _0x278b1d=_0x55b31b,_0x32108b=this[_0x278b1d(0x211)][_0x278b1d(0x231)][_0x278b1d(0x1df)](_0xaacfb6)[_0x278b1d(0x1f9)][_0x278b1d(0x226)]()[_0x278b1d(0x1ed)]();for(const _0x1922c7 of _0x32108b)if(_0x278b1d(0x216)!==_0x1922c7[_0x278b1d(0x1d5)]||_0x1922c7[_0x278b1d(0x224)])return _0x1922c7[_0x278b1d(0x1fd)]+0x1;}[_0x55b31b(0x1d7)](){const _0x41cca4=_0x55b31b,_0x2e3a39=this[_0x41cca4(0x211)][_0x41cca4(0x231)][_0x41cca4(0x1df)](_0xaacfb6);return new Promise(_0x471cdb=>{const _0x2bb91f=_0x41cca4;_0x2e3a39[_0x2bb91f(0x227)]?_0x2e3a39[_0x2bb91f(0x1e3)](_0x2bb91f(0x1ef),()=>{const _0x2c171d=_0x2bb91f;_0x471cdb(this[_0x2c171d(0x1ce)]());}):_0x471cdb(this[_0x2bb91f(0x1ce)]());});}[_0x55b31b(0x1d8)](_0x3bb476,_0x18c7ae){const _0x1c1182=_0x55b31b,_0x36d25b=this[_0x1c1182(0x1ff)][_0x1c1182(0x22b)];this[_0x1c1182(0x1d0)]=_0x18c7ae;for(const _0x2ffcfb of _0x3bb476){const _0x4ed588=_0x36d25b[_0x1c1182(0x209)](_0x2ffcfb['id']);if(_0x4ed588){if((_0x2ffcfb[_0x1c1182(0x1f4)]||_0x2ffcfb[_0x1c1182(0x1cf)])&&(_0x2ffcfb[_0x1c1182(0x1ec)]=null),_0x4ed588===this[_0x1c1182(0x1ff)][_0x1c1182(0x1f3)]){const _0x1b02a3=Math[_0x1c1182(0x23b)](_0x4ed588[_0x1c1182(0x1cf)],_0x2ffcfb[_0x1c1182(0x1cf)]),_0x5d4879=Math[_0x1c1182(0x23b)](_0x4ed588[_0x1c1182(0x1f4)],_0x2ffcfb[_0x1c1182(0x1f4)]);let _0x2712a8;_0x4ed588[_0x1c1182(0x1cf)]===_0x2ffcfb[_0x1c1182(0x1cf)]&&_0x4ed588[_0x1c1182(0x1f4)]===_0x2ffcfb[_0x1c1182(0x1f4)]?(_0x2712a8=!0x0,this[_0x1c1182(0x1ea)](_0x2ffcfb)):_0x2ffcfb[_0x1c1182(0x1cf)]===_0x1b02a3&&_0x2ffcfb[_0x1c1182(0x1f4)]===_0x5d4879?_0x2712a8=!0x1:(_0x4ed588[_0x1c1182(0x1cf)]===_0x1b02a3&&_0x4ed588[_0x1c1182(0x1f4)]===_0x5d4879||this[_0x1c1182(0x1f7)]({'revision':_0x4ed588,'from':_0x5d4879,'to':_0x1b02a3}),_0x2712a8=!0x0),_0x2712a8&&(delete _0x2ffcfb[_0x1c1182(0x1f4)],delete _0x2ffcfb[_0x1c1182(0x1cf)],delete _0x2ffcfb[_0x1c1182(0x1ec)],delete _0x2ffcfb[_0x1c1182(0x1e5)],delete _0x2ffcfb[_0x1c1182(0x20b)]);}this[_0x1c1182(0x1ff)][_0x1c1182(0x1e0)](_0x2ffcfb),this[_0x1c1182(0x1ea)](_0x2ffcfb);}else this[_0x1c1182(0x1ff)][_0x1c1182(0x1e2)](_0x2ffcfb);}const _0x1c0bc6=_0x36d25b[_0x1c1182(0x221)]();_0x1c0bc6[_0x1c1182(0x1ed)]();for(let _0x41365c=0x0;_0x41365c<_0x1c0bc6[_0x1c1182(0x206)]-0x1;_0x41365c++){const _0x583596=_0x1c0bc6[_0x41365c],_0x5c5bdf=_0x1c0bc6[_0x41365c+0x1];if(_0x583596[_0x1c1182(0x1f4)]<_0x5c5bdf[_0x1c1182(0x1cf)]){const _0x433381=_0x5c5bdf[_0x1c1182(0x1cf)],_0x3b7f8d=Math[_0x1c1182(0x23b)](_0x433381,_0x583596[_0x1c1182(0x1cf)]);this[_0x1c1182(0x1f7)]({'revision':_0x583596,'from':_0x433381,'to':_0x3b7f8d});}}}[_0x55b31b(0x1f7)]({revision:_0x2adeaa,from:_0x260ecf,to:_0x4b6ab1}={}){const _0x33155c=_0x55b31b,_0x3b5445=this[_0x33155c(0x211)][_0x33155c(0x231)][_0x33155c(0x1df)](_0x2c7c90),_0x16b22d=this[_0x33155c(0x1ff)][_0x33155c(0x21f)]({'revision':_0x2adeaa,'from':_0x260ecf,'to':_0x4b6ab1});_0x16b22d[_0x33155c(0x21b)]=_0x16b22d[_0x33155c(0x20b)][_0x33155c(0x1f8)](_0x34a89c=>_0x3b5445[_0x33155c(0x1e9)](_0x34a89c)),_0x2adeaa[_0x33155c(0x219)](_0x16b22d);}[_0x55b31b(0x1ea)](_0x8673aa){const _0x5b0434=_0x55b31b,_0x3bcaae={};_0x3bcaae['id']=_0x8673aa['id'];for(const _0x38bfa9 of Object[_0x5b0434(0x210)](_0x8673aa))'id'!==_0x38bfa9&&(_0x3bcaae[_0x38bfa9]=void 0x0);this[_0x5b0434(0x1ff)][_0x5b0434(0x22f)](_0x3bcaae['id'],_0x3bcaae,!0x0);}async[_0x55b31b(0x1d1)](_0x45f926){const _0x251fcb=_0x55b31b,_0x233405=this[_0x251fcb(0x211)][_0x251fcb(0x231)][_0x251fcb(0x1df)](_0x2c7c90),{connection:_0x2152fc}=this[_0x251fcb(0x211)][_0x251fcb(0x231)][_0x251fcb(0x1df)](_0x53aba6),_0x33ba97=new Set();for(const _0x2ee0c1 of _0x45f926){for(const _0x3d9ac6 of _0x2ee0c1[_0x251fcb(0x20b)])_0x5d7054(_0x3d9ac6);_0x2ee0c1[_0x251fcb(0x202)]&&_0x5d7054(_0x2ee0c1[_0x251fcb(0x202)]);}if(0x0===_0x33ba97[_0x251fcb(0x228)])return;const _0x4b1c95=await _0x35ba12[_0x251fcb(0x1fb)](_0x2152fc,Array[_0x251fcb(0x1d9)](_0x33ba97));for(const _0x2b8a19 of _0x4b1c95)_0x233405[_0x251fcb(0x1e9)](_0x2b8a19['id'])||_0x233405[_0x251fcb(0x20f)](_0x2b8a19);function _0x5d7054(_0x466b35){const _0x5ef7a2=_0x251fcb;_0x233405[_0x5ef7a2(0x1e9)](_0x466b35)||_0x33ba97[_0x5ef7a2(0x1e8)](_0x466b35);}}}v[_0x55b31b(0x1db)]=_0x546192;function _0x3ebf(_0x2eace1,_0x3c2946){const _0x464dd3=_0x464d();return _0x3ebf=function(_0x3ebf28,_0x36e0e4){_0x3ebf28=_0x3ebf28-0x1ce;let _0x4fe5f6=_0x464dd3[_0x3ebf28];return _0x4fe5f6;},_0x3ebf(_0x2eace1,_0x3c2946);}export default v;function st(_0x1985bf){const _0x3348af=_0x55b31b;return _0x1985bf[_0x3348af(0x21e)][_0x3348af(0x218)](_0x3348af(0x229))||_0x1985bf[_0x3348af(0x21e)][_0x3348af(0x218)](_0x3348af(0x1d4))||_0x1985bf[_0x3348af(0x21e)][_0x3348af(0x218)](_0x3348af(0x223));}
|
|
23
|
+
const _0x444d56=_0x2564;(function(_0x91c28d,_0x33eed9){const _0x211ed0=_0x2564,_0x5c7814=_0x91c28d();while(!![]){try{const _0x351376=-parseInt(_0x211ed0(0x11f))/0x1*(parseInt(_0x211ed0(0x10b))/0x2)+-parseInt(_0x211ed0(0xfa))/0x3+-parseInt(_0x211ed0(0xf7))/0x4+-parseInt(_0x211ed0(0x109))/0x5*(-parseInt(_0x211ed0(0x123))/0x6)+-parseInt(_0x211ed0(0xff))/0x7+-parseInt(_0x211ed0(0xee))/0x8+parseInt(_0x211ed0(0x139))/0x9;if(_0x351376===_0x33eed9)break;else _0x5c7814['push'](_0x5c7814['shift']());}catch(_0x596345){_0x5c7814['push'](_0x5c7814['shift']());}}}(_0x2fa5,0xad8ec));function _0x2fa5(){const _0x1bf355=['2046368jiTTwh','change:_isPendingUpdate','_revisionTracker','785628qRUSlN','code','_fixRevision','setSource','_isConnected','9824444ziUIem','_revisionDataBuilder','fromVersion','data','getUser','bind','_createCurrentRevision','length','revisionsUpdated','_bufferUpdate','2500985JqIoYr','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','66DNWRfa','creatorId','getRevision','affectsData','RevisionHistoryService','_revisions','isEnabled','max','isBundleUploaded','plugins','_handleRevisionsUpdate','init','sessionId','get','wrongRequestId','connection','cloud-services-internal-error:\x20Request\x20timeout.','_startingVersion','_getLatestVersionFromServerOperations','off','14620yTfYiq','getMany','CONNECTED','_bufferedUpdates','12qCZNZx','change:_isConnected','_fetchMissingUsers','authors','reverse','type','adapter','_getLatestVersion','isConnected','updateRevisions','startsWith','keys','addToReconnectionStack','_handleReconnectionError','serverHistory','getRevisions','_update','from','createdAt','size','state','reconnect','25677342qIBmUj','_lastRequestId','isEmptyCurrent','toVersion','remove','_offset','cloud-services-internal-error:\x20Not\x20connected.','map','_oldOffset','reInit','message','sendBufferedUpdates','repository','connect','listenTo','baseVersion','collaboration.channelId','addRevisionData','config','setRevisionData','buildRevisionData','getOperations','connected','has','catch','marker','_preventResendingRevisionData','destroy','authorsIds','400','_isPendingUpdate','currentRevision','cloudServices.bundleVersion','requires','then','3864960YBiLkV','editor','_revisionHistoryService','_waitForServiceReady','diffData','addUser','once','add','RevisionTracker'];_0x2fa5=function(){return _0x1bf355;};return _0x2fa5();}import{Plugin as _0x54b266}from'ckeditor5/src/core.js';import{version as _0x4e8b50}from'ckeditor5/src/utils.js';import{Users as _0x4e0dff}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x94b1cc from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0xfa60ba from'../realtimecollaborativeediting/websocketgateway.js';function _0x2564(_0x4b258f,_0x5a2093){const _0x2fa555=_0x2fa5();return _0x2564=function(_0x256458,_0x34c444){_0x256458=_0x256458-0xcd;let _0xb10e76=_0x2fa555[_0x256458];return _0xb10e76;},_0x2564(_0x4b258f,_0x5a2093);}import _0x17e437 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x997e8d,RevisionHistoryService as _0x5604a7,User as _0x4484e3,WEB_SOCKET_GATEWAY_STATES as _0x53c09e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x54b266{static get[_0x444d56(0xec)](){const _0x1cc28a=_0x444d56;return[_0xfa60ba,_0x94b1cc,_0x1cc28a(0xf6),_0x17e437,_0x4e0dff];}constructor(_0x1c7c7c){const _0x4d02fd=_0x444d56;super(_0x1c7c7c);const _0x38cfaf=this[_0x4d02fd(0xef)][_0x4d02fd(0xdd)][_0x4d02fd(0x118)](_0x4d02fd(0xdb));this[_0x4d02fd(0x13a)]=null,this[_0x4d02fd(0xf9)]=this[_0x4d02fd(0xef)][_0x4d02fd(0x114)][_0x4d02fd(0x118)](_0x4d02fd(0xf6)),this[_0x4d02fd(0xf0)]=new v[(_0x4d02fd(0x10f))](_0x38cfaf);}async[_0x444d56(0x116)](){const _0x25f9d5=_0x444d56,_0x1f63a3=this[_0x25f9d5(0xef)][_0x25f9d5(0x114)][_0x25f9d5(0x118)](_0x94b1cc),_0x307c5c=_0x1f63a3[_0x25f9d5(0x131)],_0x3299d0=this[_0x25f9d5(0xef)][_0x25f9d5(0x114)][_0x25f9d5(0x118)](_0xfa60ba);this[_0x25f9d5(0xf9)][_0x25f9d5(0xfd)]({'history':_0x307c5c,'getLatestVersion':()=>this[_0x25f9d5(0x12a)](),'getCurrentRevisionId':()=>_0x1f63a3[_0x25f9d5(0x117)]});const _0x4ee98b=this[_0x25f9d5(0xef)][_0x25f9d5(0xdd)][_0x25f9d5(0x118)](_0x25f9d5(0xeb))||_0x4e8b50,_0x7a9c28=await _0x997e8d[_0x25f9d5(0x113)](_0x3299d0[_0x25f9d5(0x11a)],_0x4ee98b);this[_0x25f9d5(0xf9)][_0x25f9d5(0x129)]={'getRevision':async({revisionId:_0x499f6d})=>(await this[_0x25f9d5(0xf1)](),await this[_0x25f9d5(0xf0)][_0x25f9d5(0x10d)](_0x499f6d)),'updateRevisions':async _0x2139ef=>{const _0x1ae534=_0x25f9d5;await this[_0x1ae534(0xf1)]();const _0x24cc45=this[_0x1ae534(0xf9)][_0x1ae534(0xea)];if(_0x7a9c28&&0x1===_0x2139ef[_0x1ae534(0x106)]&&_0x2139ef[0x0]['id']===_0x24cc45['id'])return _0x2139ef;for(const _0x33f64a of _0x2139ef)_0x33f64a['id']===_0x24cc45['id']&&(_0x33f64a[_0x1ae534(0xcd)]=_0x33f64a[_0x1ae534(0x101)]===_0x33f64a[_0x1ae534(0xce)]);return this[_0x1ae534(0xf0)][_0x1ae534(0x12c)](_0x2139ef,this[_0x1ae534(0x13a)])[_0x1ae534(0xed)](_0x311b9b=>(this[_0x1ae534(0x13a)]=_0x311b9b,_0x2139ef))[_0x1ae534(0xe3)](_0x33f8f8=>{const _0x161da1=_0x1ae534;if(rt(_0x33f8f8)||_0x161da1(0xe8)===_0x33f8f8[_0x161da1(0xfb)]&&void 0x0!==_0x33f8f8[_0x161da1(0x102)][_0x161da1(0x119)]){for(const _0x1c6b62 of _0x2139ef){!this[_0x161da1(0xf9)][_0x161da1(0xd7)][_0x161da1(0x10d)](_0x1c6b62['id'])||this[_0x161da1(0xf9)][_0x161da1(0x108)](_0x1c6b62['id'],_0x1c6b62,!0x1);}if(rt(_0x33f8f8))throw _0x33f8f8;return _0x2139ef;}throw _0x33f8f8;});}},this[_0x25f9d5(0xd9)](this[_0x25f9d5(0xf0)],_0x25f9d5(0x107),(_0x110d5a,{revisionsData:_0x3ba2e4,requestId:_0x1e3fbd})=>{const _0x119d47=_0x25f9d5;Math[_0x119d47(0x112)](..._0x3ba2e4[_0x119d47(0xd2)](_0x2ea293=>_0x2ea293[_0x119d47(0xce)]))>this[_0x119d47(0x11d)]()-0x1?this[_0x119d47(0x12a)]()[_0x119d47(0xed)](()=>{const _0x3c471b=_0x119d47;this[_0x3c471b(0x115)](_0x3ba2e4,_0x1e3fbd);}):this[_0x119d47(0x115)](_0x3ba2e4,_0x1e3fbd);});const {revisions:_0x19c518,requestId:_0x40ec7f}=await this[_0x25f9d5(0xf0)][_0x25f9d5(0xd8)](_0x3299d0[_0x25f9d5(0x11a)]);_0x3299d0[_0x25f9d5(0x12f)](this),this[_0x25f9d5(0x13a)]=_0x40ec7f,await this[_0x25f9d5(0x125)](_0x19c518);for(const _0x532f2d of _0x19c518)this[_0x25f9d5(0xf9)][_0x25f9d5(0xdc)](_0x532f2d);this[_0x25f9d5(0xd9)](_0x1f63a3,_0x25f9d5(0x124),(_0x492be0,_0x1ec2b7,_0x3cb2f6)=>{const _0x710ae9=_0x25f9d5;_0x3cb2f6&&(this[_0x710ae9(0xd3)]=_0x1f63a3[_0x710ae9(0xd0)],_0x492be0[_0x710ae9(0x11e)]());}),this[_0x25f9d5(0xf9)][_0x25f9d5(0x104)](_0x25f9d5(0x111))['to'](_0x3299d0,_0x25f9d5(0x137),_0x14b345=>_0x14b345===_0x53c09e[_0x25f9d5(0x121)]);}async[_0x444d56(0x138)](){const _0x289514=_0x444d56,_0x1fe952=this[_0x289514(0xef)][_0x289514(0x114)][_0x289514(0x118)](_0xfa60ba),_0x5a6dc5=this[_0x289514(0xef)][_0x289514(0x114)][_0x289514(0x118)](_0x94b1cc),_0x2721b7=async()=>{const _0x2a6d56=_0x289514,_0x4c642f=this[_0x2a6d56(0xf9)][_0x2a6d56(0xea)],_0x597f1a=_0x4c642f['id'],_0x3c423d=_0x597f1a!==_0x5a6dc5[_0x2a6d56(0x117)];if(_0x3c423d){const _0x35464d=_0x5a6dc5[_0x2a6d56(0xd0)]-this[_0x2a6d56(0xd3)],_0xfa4b21=this[_0x2a6d56(0x11d)]();this[_0x2a6d56(0xf9)][_0x2a6d56(0x100)][_0x2a6d56(0xd4)]();if(_0x4c642f[_0x2a6d56(0xce)]+_0x35464d!==_0xfa4b21){const _0x49250f=_0x4c642f[_0x2a6d56(0x101)]+_0x35464d,_0x34bffb=this[_0x2a6d56(0xef)][_0x2a6d56(0x114)][_0x2a6d56(0x118)](_0x4e0dff),_0x51b3e4=this[_0x2a6d56(0xf9)][_0x2a6d56(0xdf)]({'revision':_0x4c642f,'from':_0x49250f,'to':_0xfa4b21});_0x51b3e4['id']=_0x4c642f['id'];const _0x267e3f=_0x51b3e4[_0x2a6d56(0xe7)][_0x2a6d56(0xd2)](_0x4e995a=>_0x34bffb[_0x2a6d56(0x103)](_0x4e995a));_0x4c642f[_0x2a6d56(0x133)]({..._0x51b3e4,'authors':_0x267e3f},!0x0),this[_0x2a6d56(0xf9)][_0x2a6d56(0x108)](_0x4c642f['id'],_0x51b3e4,!0x0);}this[_0x2a6d56(0xf9)][_0x2a6d56(0x11c)]=_0xfa4b21,(_0x4c642f[_0x2a6d56(0xce)]===_0x4c642f[_0x2a6d56(0x101)]&&!this[_0x2a6d56(0xf9)][_0x2a6d56(0x122)][_0x2a6d56(0xe2)](_0x597f1a)&&this[_0x2a6d56(0xf9)][_0x2a6d56(0xd7)][_0x2a6d56(0x110)][_0x2a6d56(0xcf)](_0x597f1a),this[_0x2a6d56(0xf9)][_0x2a6d56(0x105)](_0xfa4b21));}const {revisions:_0x5e86eb,requestId:_0x523d23}=await this[_0x2a6d56(0xf0)][_0x2a6d56(0x138)](_0x1fe952[_0x2a6d56(0x11a)],this[_0x2a6d56(0x13a)]);_0x3c423d&&_0x5e86eb[_0x2a6d56(0x106)]>0x0?_0x5a6dc5[_0x2a6d56(0x130)]():(await this[_0x2a6d56(0x125)](_0x5e86eb),this[_0x2a6d56(0x115)](_0x5e86eb,_0x523d23),this[_0x2a6d56(0xf9)][_0x2a6d56(0xd6)]());};return _0x5a6dc5[_0x289514(0xfe)]?_0x2721b7():new Promise((_0x5cb67b,_0x56af7f)=>{const _0x2fdfd2=_0x289514;_0x5a6dc5[_0x2fdfd2(0xf4)](_0x2fdfd2(0x124),()=>{const _0x59e3d6=_0x2fdfd2;_0x2721b7()[_0x59e3d6(0xed)](_0x5cb67b)[_0x59e3d6(0xe3)](_0x56af7f);});});}[_0x444d56(0xe6)](){const _0x442201=_0x444d56;super[_0x442201(0xe6)]();}async[_0x444d56(0xf1)](){const _0x1e8c5f=_0x444d56;this[_0x1e8c5f(0xf0)][_0x1e8c5f(0x12b)]||await new Promise(_0x5810c9=>{const _0x572422=_0x1e8c5f;this[_0x572422(0xd9)](this[_0x572422(0xf0)],_0x572422(0xe1),_0x2f1d53=>{const _0x22330f=_0x572422;_0x2f1d53[_0x22330f(0x11e)](),_0x5810c9();});});}[_0x444d56(0x11d)](){const _0x45232d=_0x444d56,_0x434992=this[_0x45232d(0xef)][_0x45232d(0x114)][_0x45232d(0x118)](_0x94b1cc)[_0x45232d(0x131)][_0x45232d(0xe0)]()[_0x45232d(0x127)]();for(const _0x5e6933 of _0x434992)if(_0x45232d(0xe4)!==_0x5e6933[_0x45232d(0x128)]||_0x5e6933[_0x45232d(0x10e)])return _0x5e6933[_0x45232d(0xda)]+0x1;}[_0x444d56(0x12a)](){const _0x2719e5=_0x444d56,_0x1fa556=this[_0x2719e5(0xef)][_0x2719e5(0x114)][_0x2719e5(0x118)](_0x94b1cc);return new Promise(_0x9b7f69=>{const _0x4506f2=_0x2719e5;_0x1fa556[_0x4506f2(0xe9)]?_0x1fa556[_0x4506f2(0xf4)](_0x4506f2(0xf8),()=>{const _0x1ddfd4=_0x4506f2;_0x9b7f69(this[_0x1ddfd4(0x11d)]());}):_0x9b7f69(this[_0x4506f2(0x11d)]());});}[_0x444d56(0x115)](_0x21dd84,_0x346528){const _0x11156b=_0x444d56,_0x1a1bb3=this[_0x11156b(0xf9)][_0x11156b(0xd7)];this[_0x11156b(0x13a)]=_0x346528;for(const _0x2d24b6 of _0x21dd84){const _0x3ca28=_0x1a1bb3[_0x11156b(0x10d)](_0x2d24b6['id']);if(_0x3ca28){if((_0x2d24b6[_0x11156b(0x101)]||_0x2d24b6[_0x11156b(0xce)])&&(_0x2d24b6[_0x11156b(0xf2)]=null),_0x3ca28===this[_0x11156b(0xf9)][_0x11156b(0xea)]){const _0x43fddc=Math[_0x11156b(0x112)](_0x3ca28[_0x11156b(0xce)],_0x2d24b6[_0x11156b(0xce)]),_0x44f566=Math[_0x11156b(0x112)](_0x3ca28[_0x11156b(0x101)],_0x2d24b6[_0x11156b(0x101)]);let _0x3805cb;_0x3ca28[_0x11156b(0xce)]===_0x2d24b6[_0x11156b(0xce)]&&_0x3ca28[_0x11156b(0x101)]===_0x2d24b6[_0x11156b(0x101)]?(_0x3805cb=!0x0,this[_0x11156b(0xe5)](_0x2d24b6)):_0x2d24b6[_0x11156b(0xce)]===_0x43fddc&&_0x2d24b6[_0x11156b(0x101)]===_0x44f566?_0x3805cb=!0x1:(_0x3ca28[_0x11156b(0xce)]===_0x43fddc&&_0x3ca28[_0x11156b(0x101)]===_0x44f566||this[_0x11156b(0xfc)]({'revision':_0x3ca28,'from':_0x44f566,'to':_0x43fddc}),_0x3805cb=!0x0),_0x3805cb&&(delete _0x2d24b6[_0x11156b(0x101)],delete _0x2d24b6[_0x11156b(0xce)],delete _0x2d24b6[_0x11156b(0xf2)],delete _0x2d24b6[_0x11156b(0x135)],delete _0x2d24b6[_0x11156b(0xe7)]);}this[_0x11156b(0xf9)][_0x11156b(0xde)](_0x2d24b6),this[_0x11156b(0xe5)](_0x2d24b6);}else this[_0x11156b(0xf9)][_0x11156b(0xdc)](_0x2d24b6);}const _0x224e28=_0x1a1bb3[_0x11156b(0x132)]();_0x224e28[_0x11156b(0x127)]();for(let _0x3d1e3a=0x0;_0x3d1e3a<_0x224e28[_0x11156b(0x106)]-0x1;_0x3d1e3a++){const _0x329964=_0x224e28[_0x3d1e3a],_0x329a2e=_0x224e28[_0x3d1e3a+0x1];if(_0x329964[_0x11156b(0x101)]<_0x329a2e[_0x11156b(0xce)]){const _0x2acbf6=_0x329a2e[_0x11156b(0xce)],_0x24eaa4=Math[_0x11156b(0x112)](_0x2acbf6,_0x329964[_0x11156b(0xce)]);this[_0x11156b(0xfc)]({'revision':_0x329964,'from':_0x2acbf6,'to':_0x24eaa4});}}}[_0x444d56(0xfc)]({revision:_0x3b07ab,from:_0x24dd1b,to:_0x4e6dec}={}){const _0x43f1d8=_0x444d56,_0x30085a=this[_0x43f1d8(0xef)][_0x43f1d8(0x114)][_0x43f1d8(0x118)](_0x4e0dff),_0x4e23a5=this[_0x43f1d8(0xf9)][_0x43f1d8(0xdf)]({'revision':_0x3b07ab,'from':_0x24dd1b,'to':_0x4e6dec});_0x4e23a5[_0x43f1d8(0x126)]=_0x4e23a5[_0x43f1d8(0xe7)][_0x43f1d8(0xd2)](_0x3d161e=>_0x30085a[_0x43f1d8(0x103)](_0x3d161e)),_0x3b07ab[_0x43f1d8(0x133)](_0x4e23a5);}[_0x444d56(0xe5)](_0x19ae50){const _0x343456=_0x444d56,_0x7153d2={};_0x7153d2['id']=_0x19ae50['id'];for(const _0x721be8 of Object[_0x343456(0x12e)](_0x19ae50))'id'!==_0x721be8&&(_0x7153d2[_0x721be8]=void 0x0);this[_0x343456(0xf9)][_0x343456(0x108)](_0x7153d2['id'],_0x7153d2,!0x0);}async[_0x444d56(0x125)](_0x400927){const _0x38e53b=_0x444d56,_0x589d01=this[_0x38e53b(0xef)][_0x38e53b(0x114)][_0x38e53b(0x118)](_0x4e0dff),{connection:_0x4b3030}=this[_0x38e53b(0xef)][_0x38e53b(0x114)][_0x38e53b(0x118)](_0xfa60ba),_0x1938dd=new Set();for(const _0xfbf375 of _0x400927){for(const _0xcf07 of _0xfbf375[_0x38e53b(0xe7)])_0xff8c6(_0xcf07);_0xfbf375[_0x38e53b(0x10c)]&&_0xff8c6(_0xfbf375[_0x38e53b(0x10c)]);}if(0x0===_0x1938dd[_0x38e53b(0x136)])return;const _0x3e7b0f=await _0x4484e3[_0x38e53b(0x120)](_0x4b3030,Array[_0x38e53b(0x134)](_0x1938dd));for(const _0x1e278b of _0x3e7b0f)_0x589d01[_0x38e53b(0x103)](_0x1e278b['id'])||_0x589d01[_0x38e53b(0xf3)](_0x1e278b);function _0xff8c6(_0x4f327d){const _0x10e15c=_0x38e53b;_0x589d01[_0x10e15c(0x103)](_0x4f327d)||_0x1938dd[_0x10e15c(0xf5)](_0x4f327d);}}}v[_0x444d56(0x10f)]=_0x5604a7;export default v;function rt(_0x5aa287){const _0x6ec21b=_0x444d56;return _0x5aa287[_0x6ec21b(0xd5)][_0x6ec21b(0x12d)](_0x6ec21b(0x10a))||_0x5aa287[_0x6ec21b(0xd5)][_0x6ec21b(0x12d)](_0x6ec21b(0xd1))||_0x5aa287[_0x6ec21b(0xd5)][_0x6ec21b(0x12d)](_0x6ec21b(0x11b));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x26305f=_0x3994;(function(_0x52ac7d,_0x1302a5){const _0xee5d95=_0x3994,_0x41804d=_0x52ac7d();while(!![]){try{const _0x2d5051=parseInt(_0xee5d95(0x16e))/0x1*(parseInt(_0xee5d95(0x169))/0x2)+parseInt(_0xee5d95(0x16d))/0x3+parseInt(_0xee5d95(0x16b))/0x4+parseInt(_0xee5d95(0x17a))/0x5*(-parseInt(_0xee5d95(0x160))/0x6)+parseInt(_0xee5d95(0x171))/0x7*(parseInt(_0xee5d95(0x167))/0x8)+parseInt(_0xee5d95(0x177))/0x9*(-parseInt(_0xee5d95(0x15a))/0xa)+-parseInt(_0xee5d95(0x16c))/0xb;if(_0x2d5051===_0x1302a5)break;else _0x41804d['push'](_0x41804d['shift']());}catch(_0x456623){_0x41804d['push'](_0x41804d['shift']());}}}(_0x1c29,0x73ec5));import{Plugin as _0x51cfa7}from'ckeditor5/src/core.js';import{User as _0x2b3c4a,TrackChangesService as _0x2d5c91}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x495ddb from'../realtimecollaborativeediting/websocketgateway.js';import _0x3f7ad6 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x1d7e4a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1c29(){const _0x2f3c25=['2319972zUwKvL','requires','_saved','type','_trackChangesService','cloud-services-internal-error:\x20Not\x20connected.','message','56RzJWSO','set','235106SIKFxM','startsWith','1551936HykhmO','4467287AGrydo','541848IVyDDA','4GVZhHH','size','state','483077AHOOIR','isConnected','connected','addUser','config','then','108981ZRYJUz','attributes','collaboration.channelId','5vxJbAd','_fetchMissingUsersForThreads','getMany','_bufferedRequests','TrackChangesService','connect','originalSuggestionId','values','get','adapter','addSuggestionData','getSuggestion','init','connection','plugins','data','getUser','editor','off','delete','reconnect','listenTo','cloud-services-internal-error:\x20Request\x20timeout.','find','catch','update','from','TrackChangesEditing','_waitForServiceReady','210PcgusW','add','addToReconnectionStack','open','hasSuggestion','suggestionUpdated'];_0x1c29=function(){return _0x2f3c25;};return _0x1c29();}class g extends _0x51cfa7{static get[_0x26305f(0x161)](){const _0x45093c=_0x26305f;return[_0x3f7ad6,_0x45093c(0x158),_0x495ddb];}constructor(_0x1d7dce){const _0x6cc8e4=_0x26305f;super(_0x1d7dce);const _0x589c81=this[_0x6cc8e4(0x18b)][_0x6cc8e4(0x175)][_0x6cc8e4(0x182)](_0x6cc8e4(0x179));this[_0x6cc8e4(0x17d)]=new Map(),this[_0x6cc8e4(0x164)]=new g[(_0x6cc8e4(0x17e))](_0x589c81);}[_0x26305f(0x186)](){const _0x1c7ed4=_0x26305f,_0x193dba=this[_0x1c7ed4(0x18b)][_0x1c7ed4(0x188)][_0x1c7ed4(0x182)](_0x495ddb),_0x28fade=this[_0x1c7ed4(0x18b)][_0x1c7ed4(0x188)][_0x1c7ed4(0x182)](_0x1c7ed4(0x158));return _0x28fade[_0x1c7ed4(0x183)]={'getSuggestion':async _0x36ab9b=>{const _0x533f7a=_0x1c7ed4;await this[_0x533f7a(0x159)]();const _0x37efdc=await this[_0x533f7a(0x164)][_0x533f7a(0x182)](_0x36ab9b)[_0x533f7a(0x192)](ot);return await this[_0x533f7a(0x17b)]([_0x37efdc]),_0x37efdc;},'addSuggestion':async({id:_0x4be99b,type:_0x198144,data:_0x320d3e,originalSuggestionId:_0x3370c4,attributes:_0x22a091})=>{const _0x4c8412=_0x1c7ed4;await this[_0x4c8412(0x159)]();const _0x4d5d1c={'id':_0x4be99b,'type':_0x198144,'data':_0x320d3e,'originalSuggestionId':_0x3370c4,'attributes':_0x22a091},_0x561193=await this[_0x4c8412(0x164)][_0x4c8412(0x15b)](_0x4be99b,_0x198144,_0x320d3e,_0x3370c4,_0x22a091)[_0x4c8412(0x192)](_0x41fa46=>{if(rt(_0x41fa46))return new Promise(_0x5e8bec=>{const _0x3c7c83=_0x3994;this[_0x3c7c83(0x17d)][_0x3c7c83(0x168)](_0x4be99b,{'resolve':_0x5e8bec,'suggestionData':_0x4d5d1c});});throw _0x41fa46;});return this[_0x4c8412(0x17d)][_0x4c8412(0x18d)](_0x4be99b),_0x561193;},'updateSuggestion':async(_0x4c7831,_0x37386a)=>{const _0x3dc655=_0x1c7ed4;if(await this[_0x3dc655(0x159)](),_0x3dc655(0x15d)!==_0x37386a[_0x3dc655(0x170)])return this[_0x3dc655(0x164)][_0x3dc655(0x156)](_0x4c7831,_0x37386a)[_0x3dc655(0x192)](ot);}},this[_0x1c7ed4(0x18f)](this[_0x1c7ed4(0x164)],_0x1c7ed4(0x15f),(_0x534f96,_0x1fa5e9)=>{const _0x1aa059=_0x1c7ed4;_0x28fade[_0x1aa059(0x15e)](_0x1fa5e9['id'])&&(_0x28fade[_0x1aa059(0x185)](_0x1fa5e9['id'])[_0x1aa059(0x178)]=_0x1fa5e9[_0x1aa059(0x178)]);}),this[_0x1c7ed4(0x164)][_0x1c7ed4(0x17f)](_0x193dba[_0x1c7ed4(0x187)])[_0x1c7ed4(0x176)](_0x631d8a=>(_0x193dba[_0x1c7ed4(0x15c)](this),this[_0x1c7ed4(0x17b)](_0x631d8a)[_0x1c7ed4(0x176)](()=>{const _0x22a992=_0x1c7ed4;for(const _0x4176c1 of _0x631d8a){_0x28fade[_0x22a992(0x184)](_0x4176c1)[_0x22a992(0x162)]=!0x0;}})));}async[_0x26305f(0x18e)](){const _0x4c2e8a=_0x26305f,_0x5e0592=this[_0x4c2e8a(0x18b)][_0x4c2e8a(0x188)][_0x4c2e8a(0x182)](_0x4c2e8a(0x158)),{connection:_0x565b09}=this[_0x4c2e8a(0x18b)][_0x4c2e8a(0x188)][_0x4c2e8a(0x182)](_0x495ddb),_0x182088=await this[_0x4c2e8a(0x164)][_0x4c2e8a(0x17f)](_0x565b09);await this[_0x4c2e8a(0x17b)](_0x182088);for(const {suggestionData:_0x17e372,resolve:_0xf1192b}of this[_0x4c2e8a(0x17d)][_0x4c2e8a(0x181)]()){let _0x36c3aa=_0x182088[_0x4c2e8a(0x191)](_0x2b3014=>_0x2b3014['id']===_0x17e372['id']);_0x36c3aa||(_0x36c3aa=await this[_0x4c2e8a(0x164)][_0x4c2e8a(0x15b)](_0x17e372['id'],_0x17e372[_0x4c2e8a(0x163)],_0x17e372[_0x4c2e8a(0x189)],_0x17e372[_0x4c2e8a(0x180)])),_0xf1192b(_0x36c3aa);}for(const _0xd234fc of _0x182088)_0x5e0592[_0x4c2e8a(0x15e)](_0xd234fc['id'])||_0x5e0592[_0x4c2e8a(0x184)](_0xd234fc);}async[_0x26305f(0x159)](){const _0x22dd50=_0x26305f;this[_0x22dd50(0x164)][_0x22dd50(0x172)]||await new Promise(_0x834348=>{const _0x377996=_0x22dd50;this[_0x377996(0x18f)](this[_0x377996(0x164)],_0x377996(0x173),_0x5155ce=>{const _0x13a1b5=_0x377996;_0x5155ce[_0x13a1b5(0x18c)](),_0x834348();});});}async[_0x26305f(0x17b)](_0x15e416){const _0x57da56=_0x26305f,_0x5eee0a=this[_0x57da56(0x18b)][_0x57da56(0x188)][_0x57da56(0x182)](_0x1d7e4a),{connection:_0x3be00a}=this[_0x57da56(0x18b)][_0x57da56(0x188)][_0x57da56(0x182)](_0x495ddb),_0xebab7e=new Set();for(const {authorId:_0x4cb693}of _0x15e416)_0x5eee0a[_0x57da56(0x18a)](_0x4cb693)||_0xebab7e[_0x57da56(0x15b)](_0x4cb693);if(0x0===_0xebab7e[_0x57da56(0x16f)])return;const _0x3ff109=await _0x2b3c4a[_0x57da56(0x17c)](_0x3be00a,Array[_0x57da56(0x157)](_0xebab7e));for(const _0x29685e of _0x3ff109)_0x5eee0a[_0x57da56(0x18a)](_0x29685e['id'])||_0x5eee0a[_0x57da56(0x174)](_0x29685e);}}g[_0x26305f(0x17e)]=_0x2d5c91;export default g;function _0x3994(_0xaf679d,_0x240f72){const _0x1c2991=_0x1c29();return _0x3994=function(_0x3994e3,_0x2719b3){_0x3994e3=_0x3994e3-0x156;let _0x5f18de=_0x1c2991[_0x3994e3];return _0x5f18de;},_0x3994(_0xaf679d,_0x240f72);}function ot(_0x246533){if(rt(_0x246533))return new Promise(()=>{});throw _0x246533;}function rt(_0xf2958e){const _0x1fd404=_0x26305f;return _0xf2958e[_0x1fd404(0x166)][_0x1fd404(0x16a)](_0x1fd404(0x165))||_0xf2958e[_0x1fd404(0x166)][_0x1fd404(0x16a)](_0x1fd404(0x190));}
|