@ckeditor/ckeditor5-real-time-collaboration 43.3.0-alpha.3 → 43.3.0-alpha.6
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 _0x6992f7=_0x6afa;(function(_0x30283a,_0x472205){const _0x2d7832=_0x6afa,_0x58f0d8=_0x30283a();while(!![]){try{const _0x59bd65=parseInt(_0x2d7832(0x1e8))/0x1*(-parseInt(_0x2d7832(0x25a))/0x2)+parseInt(_0x2d7832(0x258))/0x3+parseInt(_0x2d7832(0x1f1))/0x4*(-parseInt(_0x2d7832(0x251))/0x5)+-parseInt(_0x2d7832(0x242))/0x6+parseInt(_0x2d7832(0x24a))/0x7+-parseInt(_0x2d7832(0x223))/0x8*(-parseInt(_0x2d7832(0x252))/0x9)+-parseInt(_0x2d7832(0x239))/0xa*(parseInt(_0x2d7832(0x1de))/0xb);if(_0x59bd65===_0x472205)break;else _0x58f0d8['push'](_0x58f0d8['shift']());}catch(_0x147355){_0x58f0d8['push'](_0x58f0d8['shift']());}}}(_0x5b86,0xdbc2c));import{Plugin as _0x248f95}from'ckeditor5/src/core.js';function _0x5b86(){const _0x43d003=['markerToElement','afterInit','getRange','model','tableCell','getSelectionClass','$graveyard','set','ck-user__marker_hovered','4897210TiQEAB','listenTo','startsWith','getAttribute','getNearestSelectionRange','document','mySessionId','highest','user:position:','9288804KyNYhj','editor','user:range','isInline','rootName','change:range','stopListening','getContainedElement','9080379ZFLibA','size','toRange','batch','getCustomProperty','data-session-id','marker','4205fFTVeL','9ScsDDO','markerNameToElements','</span>','enqueueChange','color','commands','4720284KpeOWT','addEventListener','3389534LVYuKr','updateMarker','add','Escape','editingDowncast','user:','remove','_domEmitter','has','11EbLMOJ','nodeAfter','undo','getPositions','createUserMarkerOperations','get','newRange','getUserBySessionId','orderNumber','UserMarkers','1BzXHeZ','userPositionMarker','innerHTML','isCollapsed','hasContent','markerName','markers','<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>','pluginName','176bSoZcd','classList','removeClass','mouseenter','user:position','requires','parent','createUIElement','setCustomProperty','change','schema','markerToHighlight','isSimilar','selection','root','start','getMarkerClass','toDomElement','update:user:range','deletionPosition','isOfficialPlugin','oldRange','hasDomSelection','mapper','end','keydown','init','contenteditable','ck-user__marker\x20','render','plugins','for','name','isPremiumPlugin','_createdBatches','element','span','conversion','createRange','reconvertMarker','mouseleave','markerRange','$text','removeMarker','detach','getFirstRange','view','getStart','addMarker','destroy','14393128PTZAEj','ck-user__selection','isLimit','split','delete','checkChild','fromRange','isObject','clear','type','editing','user:range:','applyOperation'];_0x5b86=function(){return _0x43d003;};return _0x5b86();}import{global as _0x31b1c4,DomEmitterMixin as _0x21843e}from'ckeditor5/src/utils.js';import _0x10941d from'./sessions.js';import{LiveRange as _0x25a681}from'ckeditor5/src/engine.js';function _0x6afa(_0x56918e,_0x520357){const _0x5b86e6=_0x5b86();return _0x6afa=function(_0x6afa7c,_0xd5d66a){_0x6afa7c=_0x6afa7c-0x1db;let _0x589643=_0x5b86e6[_0x6afa7c];return _0x589643;},_0x6afa(_0x56918e,_0x520357);}import'../../theme/usermarkers.css';export default class H extends _0x248f95{constructor(){const _0x13902f=_0x6afa;super(...arguments),this[_0x13902f(0x1dc)]=new(_0x21843e())();}static get[_0x6992f7(0x1f6)](){return[_0x10941d];}static get[_0x6992f7(0x1f0)](){const _0x370f91=_0x6992f7;return _0x370f91(0x1e7);}static get[_0x6992f7(0x205)](){return!0x0;}static get[_0x6992f7(0x212)](){return!0x0;}[_0x6992f7(0x20b)](){const _0x27c827=_0x6992f7,_0x45a522=this[_0x27c827(0x243)],_0x371b8b=_0x45a522[_0x27c827(0x20f)][_0x27c827(0x1e3)](_0x10941d);_0x45a522[_0x27c827(0x216)][_0x27c827(0x210)](_0x27c827(0x25e))[_0x27c827(0x230)]({'model':_0x27c827(0x1f5),'view':(_0x3773be,{writer:_0x38b580})=>function(_0x49fd5a,_0x48afad,_0x59b5f5,_0x594ce2){const _0x13f819=_0x27c827,_0x5c1443=_0x49fd5a[_0x13f819(0x1ed)][_0x13f819(0x226)](':')[0x2],_0x270933=_0x59b5f5[_0x13f819(0x1e5)](_0x5c1443);if(!_0x270933||_0x5c1443===_0x59b5f5[_0x13f819(0x23f)])return;if(!_0x594ce2[_0x13f819(0x233)][_0x13f819(0x1fb)][_0x13f819(0x228)](_0x49fd5a[_0x13f819(0x21a)][_0x13f819(0x200)],_0x13f819(0x21b)))return;const _0xb38b7e={'class':_0x13f819(0x20d)+_0x270933[_0x13f819(0x256)][_0x13f819(0x201)](),'data-name':_0x270933[_0x13f819(0x211)],'data-session-id':_0x5c1443},_0x4a55e4=_0x594ce2[_0x13f819(0x233)][_0x13f819(0x1ee)][_0x13f819(0x1e3)](_0x49fd5a[_0x13f819(0x1ed)]),_0x2ea279=_0x4a55e4[_0x13f819(0x220)](),_0x2fb6cc=_0x2ea279[_0x13f819(0x1df)],_0x17fd19=_0x594ce2[_0x13f819(0x233)][_0x13f819(0x1fb)];if(_0x2fb6cc&&_0x17fd19[_0x13f819(0x22a)](_0x2fb6cc)&&_0x17fd19[_0x13f819(0x245)](_0x2fb6cc)&&!_0x594ce2[_0x13f819(0x233)][_0x13f819(0x1ee)][_0x13f819(0x1e3)](_0x13f819(0x22e)+_0x5c1443)[_0x13f819(0x232)]()[_0x13f819(0x1eb)])return;const _0x19e8de=_0x2ea279[_0x13f819(0x1f7)];return _0x594ce2[_0x13f819(0x233)][_0x13f819(0x1fb)][_0x13f819(0x225)](_0x19e8de)&&!_0x594ce2[_0x13f819(0x233)][_0x13f819(0x1ec)](_0x19e8de)&&(_0xb38b7e[_0x13f819(0x20c)]=!0x1),function(_0x13a477,_0x3b2028,_0x2df893){const _0x1bf62d=_0x13f819,_0xaec115=_0x13a477[_0x1bf62d(0x1f8)](_0x1bf62d(0x215),_0x3b2028);return _0x13a477[_0x1bf62d(0x1f9)](_0x1bf62d(0x1e9),!0x0,_0xaec115),_0xaec115[_0x1bf62d(0x20e)]=function(_0x2924ac){const _0x5a393f=_0x1bf62d,_0x1d8065=this[_0x5a393f(0x202)](_0x2924ac);return _0x1d8065[_0x5a393f(0x1ea)]=_0x5a393f(0x1ef)+_0x2df893[_0x5a393f(0x211)]+_0x5a393f(0x254),_0x1d8065[_0x5a393f(0x259)](_0x5a393f(0x1f4),()=>{const _0x46d7a3=_0x5a393f;_0x1d8065[_0x46d7a3(0x1f2)][_0x46d7a3(0x25c)](_0x46d7a3(0x238));}),_0x1d8065[_0x5a393f(0x259)](_0x5a393f(0x219),()=>{const _0x2f2f52=_0x5a393f;_0x1d8065[_0x2f2f52(0x1f2)][_0x2f2f52(0x1db)](_0x2f2f52(0x238));}),_0x1d8065;},_0xaec115[_0x1bf62d(0x1fd)]=function(_0x5d5285){const _0x52b60e=_0x1bf62d;return!(!this[_0x52b60e(0x24e)](_0x52b60e(0x1e9))||!_0x5d5285[_0x52b60e(0x24e)](_0x52b60e(0x1e9))||this[_0x52b60e(0x23c)](_0x52b60e(0x24f))!=_0x5d5285[_0x52b60e(0x23c)](_0x52b60e(0x24f)));},_0xaec115;}(_0x48afad,_0xb38b7e,_0x270933);}(_0x3773be,_0x38b580,_0x371b8b,_0x45a522)}),_0x45a522[_0x27c827(0x216)][_0x27c827(0x210)](_0x27c827(0x25e))[_0x27c827(0x1fc)]({'model':_0x27c827(0x244),'view':_0x5d484d=>function(_0x10e1c6,_0x43ec8e){const _0x174006=_0x27c827,_0x33ae30=_0x10e1c6[_0x174006(0x1ed)][_0x174006(0x226)](':')[0x2];if(_0x33ae30===_0x43ec8e[_0x174006(0x23f)])return null;const _0x340699=_0x43ec8e[_0x174006(0x1e5)](_0x33ae30);if(!_0x340699)return{'id':_0x33ae30,'classes':[]};return{'id':_0x33ae30,'classes':[_0x174006(0x224),_0x340699[_0x174006(0x256)][_0x174006(0x235)]()],'attributes':{'data-session-id':_0x33ae30},'priority':0x7d0+_0x340699[_0x174006(0x1e6)]};}(_0x5d484d,_0x371b8b)}),function(_0x2b1701){const _0x2558f5=_0x27c827,_0x1f735e=_0x2b1701[_0x2558f5(0x233)],_0x1359d7=new Map(),_0x1e84ae=_0x2b1701[_0x2558f5(0x20f)][_0x2558f5(0x1e3)](_0x10941d);_0x1f735e[_0x2558f5(0x1ee)]['on'](_0x2558f5(0x203),(_0x4c0219,_0x1ca216,_0x524bc4,_0x4b0fc8)=>{const _0x1344da=_0x2558f5;if(!_0x4b0fc8&&_0x1359d7[_0x1344da(0x1e3)](_0x1ca216[_0x1344da(0x211)]))return _0x1359d7[_0x1344da(0x1e3)](_0x1ca216[_0x1344da(0x211)])[_0x1344da(0x21d)](),void _0x1359d7[_0x1344da(0x227)](_0x1ca216[_0x1344da(0x211)]);const _0x2bdab1=_0x1ca216[_0x1344da(0x211)][_0x1344da(0x226)](':')[0x2];if(_0x2bdab1===_0x1e84ae[_0x1344da(0x23f)])return;const _0x24c627=_0x1344da(0x241)+_0x2bdab1;_0x1f735e[_0x1344da(0x1ee)][_0x1344da(0x1dd)](_0x24c627)&&_0x2b1701[_0x1344da(0x22d)][_0x1344da(0x218)](_0x24c627),_0x1ca216['on'](_0x1344da(0x247),(_0x2b0702,_0x2e174d,_0x209375)=>{const _0x54db75=_0x1344da;if(_0x54db75(0x236)!=_0x2e174d[_0x54db75(0x1ff)][_0x54db75(0x246)]&&_0x54db75(0x236)==_0x1ca216[_0x54db75(0x232)]()[_0x54db75(0x1ff)][_0x54db75(0x246)]&&!_0x1359d7[_0x54db75(0x1dd)](_0x1ca216[_0x54db75(0x211)])){const _0x158c69=_0x1f735e[_0x54db75(0x1fb)][_0x54db75(0x23d)](_0x209375[_0x54db75(0x204)]);if(_0x158c69){const _0x20bad8=_0x25a681[_0x54db75(0x229)](_0x158c69);_0x1359d7[_0x54db75(0x237)](_0x1ca216[_0x54db75(0x211)],_0x20bad8),_0x20bad8['on'](_0x54db75(0x247),(_0xb4c937,_0x1329c7,_0x1d9a9d)=>{const _0xa21991=_0x54db75;if(_0xa21991(0x236)==_0x20bad8[_0xa21991(0x1ff)][_0xa21991(0x246)]){const _0x36b3a6=_0x1f735e[_0xa21991(0x1fb)][_0xa21991(0x23d)](_0x1d9a9d[_0xa21991(0x204)]);_0x36b3a6?(_0x20bad8[_0xa21991(0x200)]=_0x36b3a6[_0xa21991(0x200)],_0x20bad8[_0xa21991(0x209)]=_0x36b3a6[_0xa21991(0x209)]):(_0x1359d7[_0xa21991(0x227)](_0x1ca216[_0xa21991(0x211)]),_0x20bad8[_0xa21991(0x21d)]());}});}}});}),_0x1f735e[_0x2558f5(0x23e)]['on'](_0x2558f5(0x1fa),()=>{const _0x116642=_0x2558f5;_0x1359d7[_0x116642(0x24b)]>0x0&&_0x1f735e[_0x116642(0x255)]({'isUndoable':!0x1},_0xbe427c=>{const _0x162ec1=_0x116642;for(const [_0x257869,_0x1255c8]of _0x1359d7)_0x162ec1(0x236)==_0x1f735e[_0x162ec1(0x1ee)][_0x162ec1(0x1e3)](_0x257869)[_0x162ec1(0x232)]()[_0x162ec1(0x1ff)][_0x162ec1(0x246)]&&(re(_0x257869[_0x162ec1(0x226)](':')[0x2],_0x1255c8[_0x162ec1(0x24c)](),_0x1f735e,_0xbe427c),_0x1255c8[_0x162ec1(0x21d)]());_0x1359d7[_0x162ec1(0x22b)]();});});}(_0x45a522),this[_0x27c827(0x1dc)][_0x27c827(0x23a)](_0x31b1c4[_0x27c827(0x23e)],_0x27c827(0x20a),(_0x144480,{key:_0x5801bd})=>{const _0x334196=_0x27c827;_0x334196(0x25d)===_0x5801bd&&function(_0x5675b6){const _0x494ab8=_0x334196;_0x5675b6[_0x494ab8(0x22d)][_0x494ab8(0x21f)][_0x494ab8(0x1fa)](_0x46003b=>{const _0x555102=_0x494ab8;for(const _0x47484f of _0x5675b6[_0x555102(0x233)][_0x555102(0x1ee)]){if(!_0x47484f[_0x555102(0x211)][_0x555102(0x23b)](_0x555102(0x1f5)))continue;const _0x326bf5=_0x5675b6[_0x555102(0x22d)][_0x555102(0x208)][_0x555102(0x253)](_0x47484f[_0x555102(0x211)]);if(_0x326bf5){for(const _0x45b42e of _0x326bf5)_0x46003b[_0x555102(0x1f3)](_0x555102(0x238),_0x45b42e);}}});}(_0x45a522);},{'useCapture':!0x0});}[_0x6992f7(0x231)](){const _0x85d9a2=_0x6992f7,_0x3a1fe3=this[_0x85d9a2(0x243)],_0x3eb11f=_0x3a1fe3[_0x85d9a2(0x257)][_0x85d9a2(0x1e3)](_0x85d9a2(0x1e0));_0x3eb11f&&_0x3a1fe3[_0x85d9a2(0x233)]['on'](_0x85d9a2(0x22f),(_0x2c0683,_0x24e683)=>{const _0x4c1af3=_0x85d9a2,_0x1062bd=_0x24e683[0x0];if(_0x4c1af3(0x250)!=_0x1062bd[_0x4c1af3(0x22c)]||!_0x1062bd[_0x4c1af3(0x211)][_0x4c1af3(0x23b)](_0x4c1af3(0x25f)))return;const _0x52907c=_0x1062bd[_0x4c1af3(0x24d)];_0x3eb11f[_0x4c1af3(0x213)][_0x4c1af3(0x1dd)](_0x52907c)&&(_0x1062bd[_0x4c1af3(0x1e4)]=_0x1062bd[_0x4c1af3(0x206)]?_0x3a1fe3[_0x4c1af3(0x233)][_0x4c1af3(0x217)](_0x1062bd[_0x4c1af3(0x206)][_0x4c1af3(0x200)],_0x1062bd[_0x4c1af3(0x206)][_0x4c1af3(0x209)]):null);},{'priority':_0x85d9a2(0x240)});}[_0x6992f7(0x222)](){const _0x12e1cf=_0x6992f7;return this[_0x12e1cf(0x1dc)][_0x12e1cf(0x248)](),super[_0x12e1cf(0x222)]();}[_0x6992f7(0x1e2)](){const _0x3a9be5=_0x6992f7,_0x15cdfa=this[_0x3a9be5(0x243)],_0x2ca717=_0x15cdfa[_0x3a9be5(0x233)][_0x3a9be5(0x23e)],_0xd9a498=_0x15cdfa[_0x3a9be5(0x20f)][_0x3a9be5(0x1e3)](_0x10941d);_0x15cdfa[_0x3a9be5(0x233)][_0x3a9be5(0x255)]({'isUndoable':!0x1},_0x808978=>{const _0x5806bd=_0x3a9be5,_0x16042c=_0x5806bd(0x22e)+_0xd9a498[_0x5806bd(0x23f)],_0x5a3aa9=_0x5806bd(0x241)+_0xd9a498[_0x5806bd(0x23f)],_0x579535=_0x15cdfa[_0x5806bd(0x233)][_0x5806bd(0x1ee)][_0x5806bd(0x1dd)](_0x16042c);_0x15cdfa[_0x5806bd(0x22d)][_0x5806bd(0x21f)][_0x5806bd(0x207)]?re(_0xd9a498[_0x5806bd(0x23f)],_0x2ca717[_0x5806bd(0x1fe)][_0x5806bd(0x21e)](),_0x15cdfa[_0x5806bd(0x233)],_0x808978):_0x579535&&(_0x808978[_0x5806bd(0x21c)](_0x16042c),_0x808978[_0x5806bd(0x21c)](_0x5a3aa9));});}}function re(_0x438517,_0x36d36d,_0x197220,_0x5ba7fe){const _0x2df5d2=_0x6992f7,_0x26f5af=_0x2df5d2(0x22e)+_0x438517,_0x429bce=_0x2df5d2(0x241)+_0x438517,_0xae4e08=_0x36d36d[_0x2df5d2(0x249)]();let _0x5e0d90=_0x36d36d[_0x2df5d2(0x200)];_0xae4e08&&_0xae4e08['is'](_0x2df5d2(0x214),_0x2df5d2(0x234))&&(_0x5e0d90=function(_0x1afb4d,_0xab3d05){const _0xf66c1d=_0x2df5d2;for(const _0x327348 of _0x1afb4d[_0xf66c1d(0x1e1)]())if(_0xab3d05[_0xf66c1d(0x1fb)][_0xf66c1d(0x228)](_0x327348,_0xf66c1d(0x21b)))return _0x327348;}(_0x36d36d,_0x197220),_0x36d36d=_0x5ba7fe[_0x2df5d2(0x217)](_0x5e0d90));const _0x4ac247=_0x5ba7fe[_0x2df5d2(0x217)](_0x5e0d90);_0x197220[_0x2df5d2(0x1ee)][_0x2df5d2(0x1dd)](_0x26f5af)?(_0x5ba7fe[_0x2df5d2(0x25b)](_0x26f5af,{'range':_0x36d36d}),_0x5ba7fe[_0x2df5d2(0x25b)](_0x429bce,{'range':_0x4ac247})):(_0x5ba7fe[_0x2df5d2(0x221)](_0x26f5af,{'range':_0x36d36d,'usingOperation':!0x0}),_0x5ba7fe[_0x2df5d2(0x221)](_0x429bce,{'range':_0x4ac247,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x221b86=_0x3565;(function(_0x4cf2eb,_0x3f9748){const _0x27d375=_0x3565,_0x275cf4=_0x4cf2eb();while(!![]){try{const _0x4efb37=parseInt(_0x27d375(0x165))/0x1+-parseInt(_0x27d375(0x117))/0x2+-parseInt(_0x27d375(0x119))/0x3*(parseInt(_0x27d375(0x158))/0x4)+parseInt(_0x27d375(0x14c))/0x5+-parseInt(_0x27d375(0x12e))/0x6+parseInt(_0x27d375(0x17a))/0x7*(-parseInt(_0x27d375(0x17b))/0x8)+parseInt(_0x27d375(0x15e))/0x9*(parseInt(_0x27d375(0x162))/0xa);if(_0x4efb37===_0x3f9748)break;else _0x275cf4['push'](_0x275cf4['shift']());}catch(_0x51d4fb){_0x275cf4['push'](_0x275cf4['shift']());}}}(_0x3c3a,0x3cea2));import{Plugin as _0x261981}from'ckeditor5/src/core.js';import{global as _0xf18eca,DomEmitterMixin as _0x2ad345}from'ckeditor5/src/utils.js';function _0x3c3a(){const _0x474e39=['user:range:','contenteditable','getSelectionClass','createUIElement','orderNumber','getRange','editingDowncast','oldRange','removeClass','for','init','isOfficialPlugin','checkChild','605658yuUaiA','isObject','3qPorha','root','mapper','name','innerHTML','clear','getStart','markers','markerRange','span','mouseenter','isSimilar','user:range','change:range','conversion','highest','ck-user__selection','UserMarkers','deletionPosition','_domEmitter','start','2917188JlrOax','toRange','startsWith','plugins','pluginName','has','update:user:range','getAttribute','fromRange','hasContent','data-session-id','tableCell','classList','marker','selection','destroy','enqueueChange','Escape','$graveyard','updateMarker','ck-user__marker\x20','getCustomProperty','<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>','createRange','requires','createUserMarkerOperations','element','end','isInline','$text','1437385yzDWor','split','detach','type','commands','delete','model','user:position:','ck-user__marker_hovered','view','applyOperation','stopListening','1297348SHzVVW','remove','getFirstRange','set','_createdBatches','setCustomProperty','13411971mwhBZb','user:position','mouseleave','reconvertMarker','10wdfTTu','user:','listenTo','1290Dbbfoz','nodeAfter','getPositions','rootName','userPositionMarker','isPremiumPlugin','getContainedElement','afterInit','newRange','render','schema','markerNameToElements','markerToHighlight','get','hasDomSelection','mySessionId','parent','color','getUserBySessionId','keydown','change','2912812ZYYqVT','8hwBHmc','isCollapsed','markerName','markerToElement','addMarker','undo','toDomElement','editing','editor','add','addEventListener','document','size','</span>','removeMarker','isLimit','getMarkerClass','batch','getNearestSelectionRange'];_0x3c3a=function(){return _0x474e39;};return _0x3c3a();}import _0x4bfe1b from'./sessions.js';import{LiveRange as _0x3951ff}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class G extends _0x261981{constructor(){const _0x1c0aea=_0x3565;super(...arguments),this[_0x1c0aea(0x12c)]=new(_0x2ad345())();}static get[_0x221b86(0x146)](){return[_0x4bfe1b];}static get[_0x221b86(0x132)](){const _0x45e464=_0x221b86;return _0x45e464(0x12a);}static get[_0x221b86(0x115)](){return!0x0;}static get[_0x221b86(0x16a)](){return!0x0;}[_0x221b86(0x114)](){const _0x2f945a=_0x221b86,_0x520de5=this[_0x2f945a(0x183)],_0x37c1bf=_0x520de5[_0x2f945a(0x131)][_0x2f945a(0x172)](_0x4bfe1b);_0x520de5[_0x2f945a(0x127)][_0x2f945a(0x113)](_0x2f945a(0x110))[_0x2f945a(0x17e)]({'model':_0x2f945a(0x15f),'view':(_0xe59330,{writer:_0x4fd9d8})=>function(_0x2bb63f,_0x5b90ea,_0xaeabff,_0x47fcc2){const _0x42b5d9=_0x2f945a,_0x1e8600=_0x2bb63f[_0x42b5d9(0x17d)][_0x42b5d9(0x14d)](':')[0x2],_0x2aae9a=_0xaeabff[_0x42b5d9(0x177)](_0x1e8600);if(!_0x2aae9a||_0x1e8600===_0xaeabff[_0x42b5d9(0x174)])return;if(!_0x47fcc2[_0x42b5d9(0x152)][_0x42b5d9(0x16f)][_0x42b5d9(0x116)](_0x2bb63f[_0x42b5d9(0x121)][_0x42b5d9(0x12d)],_0x42b5d9(0x14b)))return;const _0x4eb649={'class':_0x42b5d9(0x142)+_0x2aae9a[_0x42b5d9(0x176)][_0x42b5d9(0x18b)](),'data-name':_0x2aae9a[_0x42b5d9(0x11c)],'data-session-id':_0x1e8600},_0x4efce3=_0x47fcc2[_0x42b5d9(0x152)][_0x42b5d9(0x120)][_0x42b5d9(0x172)](_0x2bb63f[_0x42b5d9(0x17d)]),_0x5a00bf=_0x4efce3[_0x42b5d9(0x11f)](),_0x1e6118=_0x5a00bf[_0x42b5d9(0x166)],_0xd48367=_0x47fcc2[_0x42b5d9(0x152)][_0x42b5d9(0x16f)];if(_0x1e6118&&_0xd48367[_0x42b5d9(0x118)](_0x1e6118)&&_0xd48367[_0x42b5d9(0x14a)](_0x1e6118)&&!_0x47fcc2[_0x42b5d9(0x152)][_0x42b5d9(0x120)][_0x42b5d9(0x172)](_0x42b5d9(0x18e)+_0x1e8600)[_0x42b5d9(0x10f)]()[_0x42b5d9(0x17c)])return;const _0x2fe794=_0x5a00bf[_0x42b5d9(0x175)];return _0x47fcc2[_0x42b5d9(0x152)][_0x42b5d9(0x16f)][_0x42b5d9(0x18a)](_0x2fe794)&&!_0x47fcc2[_0x42b5d9(0x152)][_0x42b5d9(0x137)](_0x2fe794)&&(_0x4eb649[_0x42b5d9(0x18f)]=!0x1),function(_0x5b63c0,_0x2ee8f9,_0x3197f){const _0x3533ff=_0x42b5d9,_0x55cc4f=_0x5b63c0[_0x3533ff(0x10d)](_0x3533ff(0x122),_0x2ee8f9);return _0x5b63c0[_0x3533ff(0x15d)](_0x3533ff(0x169),!0x0,_0x55cc4f),_0x55cc4f[_0x3533ff(0x16e)]=function(_0x229381){const _0x50e59d=_0x3533ff,_0x55228d=this[_0x50e59d(0x181)](_0x229381);return _0x55228d[_0x50e59d(0x11d)]=_0x50e59d(0x144)+_0x3197f[_0x50e59d(0x11c)]+_0x50e59d(0x188),_0x55228d[_0x50e59d(0x185)](_0x50e59d(0x123),()=>{const _0x45a25b=_0x50e59d;_0x55228d[_0x45a25b(0x13a)][_0x45a25b(0x184)](_0x45a25b(0x154));}),_0x55228d[_0x50e59d(0x185)](_0x50e59d(0x160),()=>{const _0x4ba697=_0x50e59d;_0x55228d[_0x4ba697(0x13a)][_0x4ba697(0x159)](_0x4ba697(0x154));}),_0x55228d;},_0x55cc4f[_0x3533ff(0x124)]=function(_0x127d46){const _0x184c9c=_0x3533ff;return!(!this[_0x184c9c(0x143)](_0x184c9c(0x169))||!_0x127d46[_0x184c9c(0x143)](_0x184c9c(0x169))||this[_0x184c9c(0x135)](_0x184c9c(0x138))!=_0x127d46[_0x184c9c(0x135)](_0x184c9c(0x138)));},_0x55cc4f;}(_0x5b90ea,_0x4eb649,_0x2aae9a);}(_0xe59330,_0x4fd9d8,_0x37c1bf,_0x520de5)}),_0x520de5[_0x2f945a(0x127)][_0x2f945a(0x113)](_0x2f945a(0x110))[_0x2f945a(0x171)]({'model':_0x2f945a(0x125),'view':_0x5a8540=>function(_0xe055e1,_0x326b8d){const _0x10ab2c=_0x2f945a,_0xb3b170=_0xe055e1[_0x10ab2c(0x17d)][_0x10ab2c(0x14d)](':')[0x2];if(_0xb3b170===_0x326b8d[_0x10ab2c(0x174)])return null;const _0x2fb75d=_0x326b8d[_0x10ab2c(0x177)](_0xb3b170);if(!_0x2fb75d)return{'id':_0xb3b170,'classes':[]};return{'id':_0xb3b170,'classes':[_0x10ab2c(0x129),_0x2fb75d[_0x10ab2c(0x176)][_0x10ab2c(0x190)]()],'attributes':{'data-session-id':_0xb3b170},'priority':0x7d0+_0x2fb75d[_0x10ab2c(0x10e)]};}(_0x5a8540,_0x37c1bf)}),function(_0x5b85d9){const _0x22501e=_0x2f945a,_0x500643=_0x5b85d9[_0x22501e(0x152)],_0x12ffbf=new Map(),_0x1fe18e=_0x5b85d9[_0x22501e(0x131)][_0x22501e(0x172)](_0x4bfe1b);_0x500643[_0x22501e(0x120)]['on'](_0x22501e(0x134),(_0x4599cb,_0x1773d1,_0x3698d7,_0x4e27d4)=>{const _0x35f624=_0x22501e;if(!_0x4e27d4&&_0x12ffbf[_0x35f624(0x172)](_0x1773d1[_0x35f624(0x11c)]))return _0x12ffbf[_0x35f624(0x172)](_0x1773d1[_0x35f624(0x11c)])[_0x35f624(0x14e)](),void _0x12ffbf[_0x35f624(0x151)](_0x1773d1[_0x35f624(0x11c)]);const _0x7b01f6=_0x1773d1[_0x35f624(0x11c)][_0x35f624(0x14d)](':')[0x2];if(_0x7b01f6===_0x1fe18e[_0x35f624(0x174)])return;const _0xcf3570=_0x35f624(0x153)+_0x7b01f6;_0x500643[_0x35f624(0x120)][_0x35f624(0x133)](_0xcf3570)&&_0x5b85d9[_0x35f624(0x182)][_0x35f624(0x161)](_0xcf3570),_0x1773d1['on'](_0x35f624(0x126),(_0xf376a2,_0x3847f1,_0x59c0ca)=>{const _0x235fa7=_0x35f624;if(_0x235fa7(0x140)!=_0x3847f1[_0x235fa7(0x11a)][_0x235fa7(0x168)]&&_0x235fa7(0x140)==_0x1773d1[_0x235fa7(0x10f)]()[_0x235fa7(0x11a)][_0x235fa7(0x168)]&&!_0x12ffbf[_0x235fa7(0x133)](_0x1773d1[_0x235fa7(0x11c)])){const _0x8ed0af=_0x500643[_0x235fa7(0x16f)][_0x235fa7(0x18d)](_0x59c0ca[_0x235fa7(0x12b)]);if(_0x8ed0af){const _0x1a9540=_0x3951ff[_0x235fa7(0x136)](_0x8ed0af);_0x12ffbf[_0x235fa7(0x15b)](_0x1773d1[_0x235fa7(0x11c)],_0x1a9540),_0x1a9540['on'](_0x235fa7(0x126),(_0x5449e1,_0x5dcbc5,_0x50fe00)=>{const _0x19a235=_0x235fa7;if(_0x19a235(0x140)==_0x1a9540[_0x19a235(0x11a)][_0x19a235(0x168)]){const _0x4b4751=_0x500643[_0x19a235(0x16f)][_0x19a235(0x18d)](_0x50fe00[_0x19a235(0x12b)]);_0x4b4751?(_0x1a9540[_0x19a235(0x12d)]=_0x4b4751[_0x19a235(0x12d)],_0x1a9540[_0x19a235(0x149)]=_0x4b4751[_0x19a235(0x149)]):(_0x12ffbf[_0x19a235(0x151)](_0x1773d1[_0x19a235(0x11c)]),_0x1a9540[_0x19a235(0x14e)]());}});}}});}),_0x500643[_0x22501e(0x186)]['on'](_0x22501e(0x179),()=>{const _0x545fe9=_0x22501e;_0x12ffbf[_0x545fe9(0x187)]>0x0&&_0x500643[_0x545fe9(0x13e)]({'isUndoable':!0x1},_0x461980=>{const _0x19318d=_0x545fe9;for(const [_0x434d11,_0x4a62d6]of _0x12ffbf)_0x19318d(0x140)==_0x500643[_0x19318d(0x120)][_0x19318d(0x172)](_0x434d11)[_0x19318d(0x10f)]()[_0x19318d(0x11a)][_0x19318d(0x168)]&&(te(_0x434d11[_0x19318d(0x14d)](':')[0x2],_0x4a62d6[_0x19318d(0x12f)](),_0x500643,_0x461980),_0x4a62d6[_0x19318d(0x14e)]());_0x12ffbf[_0x19318d(0x11e)]();});});}(_0x520de5),this[_0x2f945a(0x12c)][_0x2f945a(0x164)](_0xf18eca[_0x2f945a(0x186)],_0x2f945a(0x178),(_0x2a6c27,{key:_0x3045ea})=>{const _0x87651a=_0x2f945a;_0x87651a(0x13f)===_0x3045ea&&function(_0xe0faba){const _0x33f24e=_0x87651a;_0xe0faba[_0x33f24e(0x182)][_0x33f24e(0x155)][_0x33f24e(0x179)](_0x33fc5e=>{const _0x272870=_0x33f24e;for(const _0x49575a of _0xe0faba[_0x272870(0x152)][_0x272870(0x120)]){if(!_0x49575a[_0x272870(0x11c)][_0x272870(0x130)](_0x272870(0x15f)))continue;const _0x389e56=_0xe0faba[_0x272870(0x182)][_0x272870(0x11b)][_0x272870(0x170)](_0x49575a[_0x272870(0x11c)]);if(_0x389e56){for(const _0x38a811 of _0x389e56)_0x33fc5e[_0x272870(0x112)](_0x272870(0x154),_0x38a811);}}});}(_0x520de5);},{'useCapture':!0x0});}[_0x221b86(0x16c)](){const _0x4eb001=_0x221b86,_0x2c51ca=this[_0x4eb001(0x183)],_0x3d5ea2=_0x2c51ca[_0x4eb001(0x150)][_0x4eb001(0x172)](_0x4eb001(0x180));_0x3d5ea2&&_0x2c51ca[_0x4eb001(0x152)]['on'](_0x4eb001(0x156),(_0x529e0f,_0xc48b63)=>{const _0x32d526=_0x4eb001,_0x5922b7=_0xc48b63[0x0];if(_0x32d526(0x13b)!=_0x5922b7[_0x32d526(0x14f)]||!_0x5922b7[_0x32d526(0x11c)][_0x32d526(0x130)](_0x32d526(0x163)))return;const _0x1615d2=_0x5922b7[_0x32d526(0x18c)];_0x3d5ea2[_0x32d526(0x15c)][_0x32d526(0x133)](_0x1615d2)&&(_0x5922b7[_0x32d526(0x16d)]=_0x5922b7[_0x32d526(0x111)]?_0x2c51ca[_0x32d526(0x152)][_0x32d526(0x145)](_0x5922b7[_0x32d526(0x111)][_0x32d526(0x12d)],_0x5922b7[_0x32d526(0x111)][_0x32d526(0x149)]):null);},{'priority':_0x4eb001(0x128)});}[_0x221b86(0x13d)](){const _0x4657e9=_0x221b86;return this[_0x4657e9(0x12c)][_0x4657e9(0x157)](),super[_0x4657e9(0x13d)]();}[_0x221b86(0x147)](){const _0x51cff0=_0x221b86,_0x3667d5=this[_0x51cff0(0x183)],_0x4d3cdb=_0x3667d5[_0x51cff0(0x152)][_0x51cff0(0x186)],_0x193a5c=_0x3667d5[_0x51cff0(0x131)][_0x51cff0(0x172)](_0x4bfe1b);_0x3667d5[_0x51cff0(0x152)][_0x51cff0(0x13e)]({'isUndoable':!0x1},_0xf8fcce=>{const _0x492ea2=_0x51cff0,_0x2a6e37=_0x492ea2(0x18e)+_0x193a5c[_0x492ea2(0x174)],_0x44355b=_0x492ea2(0x153)+_0x193a5c[_0x492ea2(0x174)],_0x27fd2b=_0x3667d5[_0x492ea2(0x152)][_0x492ea2(0x120)][_0x492ea2(0x133)](_0x2a6e37);_0x3667d5[_0x492ea2(0x182)][_0x492ea2(0x155)][_0x492ea2(0x173)]?te(_0x193a5c[_0x492ea2(0x174)],_0x4d3cdb[_0x492ea2(0x13c)][_0x492ea2(0x15a)](),_0x3667d5[_0x492ea2(0x152)],_0xf8fcce):_0x27fd2b&&(_0xf8fcce[_0x492ea2(0x189)](_0x2a6e37),_0xf8fcce[_0x492ea2(0x189)](_0x44355b));});}}function _0x3565(_0x1557d7,_0x25afae){const _0x3c3a37=_0x3c3a();return _0x3565=function(_0x3565b7,_0x2cc282){_0x3565b7=_0x3565b7-0x10d;let _0x10c35e=_0x3c3a37[_0x3565b7];return _0x10c35e;},_0x3565(_0x1557d7,_0x25afae);}function te(_0x42508d,_0x11e810,_0x1817b6,_0x3ae314){const _0x4d9f66=_0x221b86,_0x475c8a=_0x4d9f66(0x18e)+_0x42508d,_0x4dbd43=_0x4d9f66(0x153)+_0x42508d,_0x18aaf4=_0x11e810[_0x4d9f66(0x16b)]();let _0x5129ca=_0x11e810[_0x4d9f66(0x12d)];_0x18aaf4&&_0x18aaf4['is'](_0x4d9f66(0x148),_0x4d9f66(0x139))&&(_0x5129ca=function(_0x593120,_0x333517){const _0x116866=_0x4d9f66;for(const _0x457155 of _0x593120[_0x116866(0x167)]())if(_0x333517[_0x116866(0x16f)][_0x116866(0x116)](_0x457155,_0x116866(0x14b)))return _0x457155;}(_0x11e810,_0x1817b6),_0x11e810=_0x3ae314[_0x4d9f66(0x145)](_0x5129ca));const _0x4b71b5=_0x3ae314[_0x4d9f66(0x145)](_0x5129ca);_0x1817b6[_0x4d9f66(0x120)][_0x4d9f66(0x133)](_0x475c8a)?(_0x3ae314[_0x4d9f66(0x141)](_0x475c8a,{'range':_0x11e810}),_0x3ae314[_0x4d9f66(0x141)](_0x4dbd43,{'range':_0x4b71b5})):(_0x3ae314[_0x4d9f66(0x17f)](_0x475c8a,{'range':_0x11e810,'usingOperation':!0x0}),_0x3ae314[_0x4d9f66(0x17f)](_0x4dbd43,{'range':_0x4b71b5,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x510d48=_0x483f;(function(_0x372e0f,_0x278052){const _0x294622=_0x483f,_0x3c9ec3=_0x372e0f();while(!![]){try{const _0x4b8cad=-parseInt(_0x294622(0x18b))/0x1*(-parseInt(_0x294622(0x1b1))/0x2)+-parseInt(_0x294622(0x1c1))/0x3*(parseInt(_0x294622(0x1cd))/0x4)+parseInt(_0x294622(0x189))/0x5*(-parseInt(_0x294622(0x1a3))/0x6)+parseInt(_0x294622(0x1c2))/0x7*(-parseInt(_0x294622(0x1bc))/0x8)+-parseInt(_0x294622(0x1a7))/0x9*(-parseInt(_0x294622(0x1ac))/0xa)+parseInt(_0x294622(0x1c8))/0xb+parseInt(_0x294622(0x198))/0xc;if(_0x4b8cad===_0x278052)break;else _0x3c9ec3['push'](_0x3c9ec3['shift']());}catch(_0x9ed240){_0x3c9ec3['push'](_0x3c9ec3['shift']());}}}(_0x11a5,0x32142));import{ContextPlugin as _0x29e0b0}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x142608,CKEditorError as _0x3cfe26}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4eb2fe,WEB_SOCKET_GATEWAY_STATES as _0x5e4496}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x11a5(){const _0x364597=['catch','6LZEnnc','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.','connect','constructor','1024371azTjNY','delete','change:me','context','isInReconnectionStack','10GuyYeL','websocketgateway-missing-websocket-url','requires','cloudservices-init','stopListening','55134oSgnpG','websocketgateway-invalid-plugin-interface','then','real-time-collaboration','initialReconnectionInterval','showWarning','addToReconnectionStack','init','add','destroy','isPremiumPlugin','36584dReXjK','WebSocketGateway','plugins','function','cloudServices.requestTimeout','15SSyEQB','553EUpASM','bind','disconnect','CONNECTING','removeFromReconnectionStack','cloudServices.connectionTimeout','4228686GKOJtL','_isBrowserOffline','offline','from','pluginName','74072EvFVDd','webSocketUrl','DISCONNECTED','_domEmitter','online','limitExceeded','isOfficialPlugin','CONNECTED','_reconnect','518255QaveZn','connection','6ALtjgX','reconnect','error','connected','get','create','cloudservices-reconnection-error','listenTo','config','token','_reconnectionStack','CloudServices','websocketgateway-missing-token','1187796oHAZBb','all','set','state','websocketgateway-plugin-already-registered','_shouldPluginsReconnect','has','code','Connected\x20users\x20limit\x20exceeded','define'];_0x11a5=function(){return _0x364597;};return _0x11a5();}import{Notification as _0x50f63c}from'ckeditor5/src/ui.js';class c extends _0x29e0b0{static get[_0x510d48(0x1ae)](){const _0x477b0f=_0x510d48;return[_0x477b0f(0x196),_0x50f63c];}static get[_0x510d48(0x1cc)](){const _0x28b4f2=_0x510d48;return _0x28b4f2(0x1bd);}static get[_0x510d48(0x1d3)](){return!0x0;}static get[_0x510d48(0x1bb)](){return!0x0;}constructor(_0x149da5){const _0x1dd709=_0x510d48;super(_0x149da5),this[_0x1dd709(0x19a)](_0x1dd709(0x19b),_0x5e4496[_0x1dd709(0x1d4)]),this[_0x1dd709(0x19a)](_0x1dd709(0x1c9),!0x1),this[_0x1dd709(0x195)]=new Set(),this[_0x1dd709(0x19d)]=!0x1,this[_0x1dd709(0x1d0)]=Object[_0x1dd709(0x190)](_0x142608);}[_0x510d48(0x1b8)](){const _0x531643=_0x510d48,_0x26d501=this[_0x531643(0x1aa)],_0x2b44a3=_0x26d501[_0x531643(0x1be)][_0x531643(0x18f)](_0x531643(0x196)),_0x3d6bf2=_0x26d501[_0x531643(0x1be)][_0x531643(0x18f)](_0x50f63c);if(!_0x2b44a3[_0x531643(0x194)])throw new _0x3cfe26(_0x531643(0x197),this);if(!_0x2b44a3[_0x531643(0x1ce)])throw new _0x3cfe26(_0x531643(0x1ad),this);return this[_0x531643(0x1d0)][_0x531643(0x192)](window,_0x531643(0x1ca),()=>this[_0x531643(0x1c9)]=!0x0),this[_0x531643(0x1d0)][_0x531643(0x192)](window,_0x531643(0x1d1),()=>this[_0x531643(0x1c9)]=!0x1),this[_0x531643(0x1aa)][_0x531643(0x193)][_0x531643(0x1a1)](_0x531643(0x1c7),0xa),this[_0x531643(0x1aa)][_0x531643(0x193)][_0x531643(0x1a1)](_0x531643(0x1c0),0x14),c[_0x531643(0x1bd)][_0x531643(0x1a5)](_0x2b44a3[_0x531643(0x194)],_0x2b44a3[_0x531643(0x1ce)],{'timeout':0x3e8*this[_0x531643(0x1aa)][_0x531643(0x193)][_0x531643(0x18f)](_0x531643(0x1c7)),'requestTimeout':0x3e8*this[_0x531643(0x1aa)][_0x531643(0x193)][_0x531643(0x18f)](_0x531643(0x1c0))})[_0x531643(0x1b3)](_0xb0c1da=>{const _0x21def9=_0x531643;if(this[_0x21def9(0x18a)]=_0xb0c1da,this[_0x21def9(0x1c3)](_0x21def9(0x19b))['to'](_0xb0c1da,_0x21def9(0x19b),this,_0x21def9(0x1c9),(_0x519da5,_0x3637fc)=>(_0x21def9(0x18e)!==_0x519da5&&(this[_0x21def9(0x19d)]=!0x0),_0x3637fc||_0x519da5!==_0x5e4496[_0x21def9(0x1d4)]?_0x5e4496[_0x21def9(0x1cf)]:this[_0x21def9(0x19b)]==_0x5e4496[_0x21def9(0x1cf)]&&this[_0x21def9(0x19d)]?(this[_0x21def9(0x19d)]=!0x1,this[_0x21def9(0x188)](),_0x5e4496[_0x21def9(0x1c5)]):_0x5e4496[_0x21def9(0x1d4)])),this[_0x21def9(0x18a)]['on'](_0x21def9(0x18d),(_0x53e5ea,_0x1fecca)=>{const _0x2108c6=_0x21def9;if(_0x2108c6(0x1d2)!==_0x1fecca[_0x2108c6(0x19f)])throw console[_0x2108c6(0x18d)](_0x1fecca),new _0x3cfe26(_0x2108c6(0x1af),null,{'originalError':_0x1fecca});_0x3d6bf2[_0x2108c6(0x1b6)](_0x2108c6(0x1a4),{'title':_0x2108c6(0x1a0),'namespace':_0x2108c6(0x1b4)});}),!_0xb0c1da['me'])return new Promise(_0x5d5d3c=>_0xb0c1da['on'](_0x21def9(0x1a9),_0x5d5d3c));})[_0x531643(0x1a2)](_0xe4a63=>{const _0x5114f2=_0x531643;throw console[_0x5114f2(0x18d)](_0xe4a63),new _0x3cfe26(_0x5114f2(0x1af),null,{'originalError':_0xe4a63});});}[_0x510d48(0x1b7)](_0x395c6e){const _0x4c2841=_0x510d48;if(_0x4c2841(0x1bf)!=typeof _0x395c6e[_0x4c2841(0x18c)])throw new _0x3cfe26(_0x4c2841(0x1b2),this);if(this[_0x4c2841(0x1ab)](_0x395c6e))throw new _0x3cfe26(_0x4c2841(0x19c),this,{'name':_0x395c6e[_0x4c2841(0x1a6)][_0x4c2841(0x1cc)]});this[_0x4c2841(0x195)][_0x4c2841(0x1b9)](_0x395c6e);}[_0x510d48(0x1c6)](_0x1c308b){const _0x1f752d=_0x510d48;this[_0x1f752d(0x195)][_0x1f752d(0x1a8)](_0x1c308b);}[_0x510d48(0x1ab)](_0x57867e){const _0x4eb4b4=_0x510d48;return this[_0x4eb4b4(0x195)][_0x4eb4b4(0x19e)](_0x57867e);}[_0x510d48(0x188)](){const _0x54d7fb=_0x510d48;return this[_0x54d7fb(0x18a)][_0x54d7fb(0x18c)]()[_0x54d7fb(0x1b3)](()=>Promise[_0x54d7fb(0x199)](Array[_0x54d7fb(0x1cb)](this[_0x54d7fb(0x195)],_0x1daecb=>_0x1daecb[_0x54d7fb(0x18c)]())))[_0x54d7fb(0x1b3)](()=>this[_0x54d7fb(0x19b)]=_0x5e4496[_0x54d7fb(0x1d4)])[_0x54d7fb(0x1a2)](_0x26f5ed=>{const _0x427379=_0x54d7fb;throw console[_0x427379(0x18d)](_0x26f5ed),new _0x3cfe26(_0x427379(0x191),this[_0x427379(0x1aa)]);});}[_0x510d48(0x1ba)](){const _0x187b6c=_0x510d48;this[_0x187b6c(0x18a)]&&this[_0x187b6c(0x18a)][_0x187b6c(0x1c4)](),this[_0x187b6c(0x19b)]=_0x5e4496[_0x187b6c(0x1cf)],this[_0x187b6c(0x1d0)][_0x187b6c(0x1b0)](),super[_0x187b6c(0x1ba)]();}}function _0x483f(_0x33708a,_0x228308){const _0x11a576=_0x11a5();return _0x483f=function(_0x483f30,_0x2094d4){_0x483f30=_0x483f30-0x188;let _0x5ec315=_0x11a576[_0x483f30];return _0x5ec315;},_0x483f(_0x33708a,_0x228308);}c[_0x510d48(0x1bd)]=_0x4eb2fe,c[_0x510d48(0x1b5)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1428a9=_0x3160;(function(_0x3e24f0,_0x58aefb){const _0x2fdd6f=_0x3160,_0x26ad4b=_0x3e24f0();while(!![]){try{const _0x161515=parseInt(_0x2fdd6f(0xaf))/0x1*(-parseInt(_0x2fdd6f(0x9f))/0x2)+-parseInt(_0x2fdd6f(0xca))/0x3*(parseInt(_0x2fdd6f(0x96))/0x4)+-parseInt(_0x2fdd6f(0xdd))/0x5*(-parseInt(_0x2fdd6f(0xb3))/0x6)+parseInt(_0x2fdd6f(0xb1))/0x7*(-parseInt(_0x2fdd6f(0x81))/0x8)+parseInt(_0x2fdd6f(0x9b))/0x9*(parseInt(_0x2fdd6f(0xcd))/0xa)+parseInt(_0x2fdd6f(0x75))/0xb+parseInt(_0x2fdd6f(0x7a))/0xc*(parseInt(_0x2fdd6f(0xa4))/0xd);if(_0x161515===_0x58aefb)break;else _0x26ad4b['push'](_0x26ad4b['shift']());}catch(_0x36e315){_0x26ad4b['push'](_0x26ad4b['shift']());}}}(_0x5241,0x5c186));import{Plugin as _0x287bf3}from'ckeditor5/src/core.js';import{version as _0x1e6159}from'ckeditor5/src/utils.js';import{Users as _0x2fa9fa}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1b6536 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x5a7982 from'../realtimecollaborativeediting/websocketgateway.js';import _0x27d05d from'../realtimecollaborativeediting/sessions.js';function _0x3160(_0xc0e03a,_0x4f95a5){const _0x524180=_0x5241();return _0x3160=function(_0x3160b2,_0x413e7b){_0x3160b2=_0x3160b2-0x70;let _0x4e05d3=_0x524180[_0x3160b2];return _0x4e05d3;},_0x3160(_0xc0e03a,_0x4f95a5);}import{EditorService as _0x268daf,RevisionHistoryService as _0x2efeff,User as _0x30ce16,WEB_SOCKET_GATEWAY_STATES as _0x5ee016}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x287bf3{static get[_0x1428a9(0x7d)](){const _0x4c0a45=_0x1428a9;return[_0x5a7982,_0x1b6536,_0x4c0a45(0xb7),_0x27d05d,_0x2fa9fa];}constructor(_0x5b8b93){const _0x501673=_0x1428a9;super(_0x5b8b93);const _0x1b39f0=this[_0x501673(0xb5)][_0x501673(0x73)][_0x501673(0xdc)](_0x501673(0xd7));this[_0x501673(0x89)]=null,this[_0x501673(0xbb)]=this[_0x501673(0xb5)][_0x501673(0x97)][_0x501673(0xdc)](_0x501673(0xb7)),this[_0x501673(0xc2)]=new u[(_0x501673(0xdf))](_0x1b39f0);}async[_0x1428a9(0xc1)](){const _0x1a1db1=_0x1428a9,_0x34f1df=this[_0x1a1db1(0xb5)][_0x1a1db1(0x97)][_0x1a1db1(0xdc)](_0x1b6536),_0xa0ae1b=_0x34f1df[_0x1a1db1(0xe0)],_0x5578e2=this[_0x1a1db1(0xb5)][_0x1a1db1(0x97)][_0x1a1db1(0xdc)](_0x5a7982);this[_0x1a1db1(0xbb)][_0x1a1db1(0x70)]({'history':_0xa0ae1b,'getLatestVersion':()=>this[_0x1a1db1(0xba)](),'getCurrentRevisionId':()=>_0x34f1df[_0x1a1db1(0xa9)]});const _0x16f745=this[_0x1a1db1(0xb5)][_0x1a1db1(0x73)][_0x1a1db1(0xdc)](_0x1a1db1(0xd5))||_0x1e6159,_0x1d3c0b=await _0x268daf[_0x1a1db1(0xb2)](_0x5578e2[_0x1a1db1(0xc6)],_0x16f745);this[_0x1a1db1(0xbb)][_0x1a1db1(0x8a)]={'getRevision':async({revisionId:_0x5177e5})=>(await this[_0x1a1db1(0xcb)](),await this[_0x1a1db1(0xc2)][_0x1a1db1(0xbd)](_0x5177e5)),'updateRevisions':async _0x3e50d2=>{const _0x183664=_0x1a1db1;await this[_0x183664(0xcb)]();const _0x10f342=this[_0x183664(0xbb)][_0x183664(0xc0)];if(_0x1d3c0b&&0x1===_0x3e50d2[_0x183664(0x87)]&&_0x3e50d2[0x0]['id']===_0x10f342['id'])return _0x3e50d2;for(const _0x4541db of _0x3e50d2)_0x4541db['id']===_0x10f342['id']&&(_0x4541db[_0x183664(0xd8)]=_0x4541db[_0x183664(0xab)]===_0x4541db[_0x183664(0xa0)]);return this[_0x183664(0xc2)][_0x183664(0x9e)](_0x3e50d2,this[_0x183664(0x89)])[_0x183664(0xc3)](_0xdb504=>(this[_0x183664(0x89)]=_0xdb504,_0x3e50d2))[_0x183664(0xda)](_0x3191e7=>{const _0x3aebca=_0x183664;if(st(_0x3191e7)||_0x3aebca(0x8d)===_0x3191e7[_0x3aebca(0xcc)]&&void 0x0!==_0x3191e7[_0x3aebca(0xe1)][_0x3aebca(0x7c)]){for(const _0x4d2541 of _0x3e50d2){!this[_0x3aebca(0xbb)][_0x3aebca(0xbf)][_0x3aebca(0xbd)](_0x4d2541['id'])||this[_0x3aebca(0xbb)][_0x3aebca(0xae)](_0x4d2541['id'],_0x4d2541,!0x1);}if(st(_0x3191e7))throw _0x3191e7;return _0x3e50d2;}throw _0x3191e7;});}},this[_0x1a1db1(0x86)](this[_0x1a1db1(0xc2)],_0x1a1db1(0x76),(_0x5026d2,{revisionsData:_0x2bfd3e,requestId:_0x371841})=>{const _0x54c970=_0x1a1db1;Math[_0x54c970(0xb8)](..._0x2bfd3e[_0x54c970(0x9d)](_0x273c02=>_0x273c02[_0x54c970(0xa0)]))>this[_0x54c970(0x7e)]()-0x1?this[_0x54c970(0xba)]()[_0x54c970(0xc3)](()=>{const _0x3768bf=_0x54c970;this[_0x3768bf(0x8c)](_0x2bfd3e,_0x371841);}):this[_0x54c970(0x8c)](_0x2bfd3e,_0x371841);});const {revisions:_0x55fb44,requestId:_0x2c8095}=await this[_0x1a1db1(0xc2)][_0x1a1db1(0x82)](_0x5578e2[_0x1a1db1(0xc6)]);_0x5578e2[_0x1a1db1(0x95)](this),this[_0x1a1db1(0x89)]=_0x2c8095,await this[_0x1a1db1(0xd6)](_0x55fb44);for(const _0x118d41 of _0x55fb44)this[_0x1a1db1(0xbb)][_0x1a1db1(0x88)](_0x118d41);this[_0x1a1db1(0x86)](_0x34f1df,_0x1a1db1(0x72),(_0x112d6f,_0x3c0765,_0x3b9518)=>{const _0x553944=_0x1a1db1;_0x3b9518&&(this[_0x553944(0xa6)]=_0x34f1df[_0x553944(0xbc)],_0x112d6f[_0x553944(0xa1)]());}),this[_0x1a1db1(0xbb)][_0x1a1db1(0x71)](_0x1a1db1(0x84))['to'](_0x5578e2,_0x1a1db1(0xa8),_0x13e22f=>_0x13e22f===_0x5ee016[_0x1a1db1(0xd3)]);}async[_0x1428a9(0x79)](){const _0x435162=_0x1428a9,_0x3a51af=this[_0x435162(0xb5)][_0x435162(0x97)][_0x435162(0xdc)](_0x5a7982),_0x53d9a6=this[_0x435162(0xb5)][_0x435162(0x97)][_0x435162(0xdc)](_0x1b6536),_0x15da11=async()=>{const _0x18b8bb=_0x435162,_0x3d8881=this[_0x18b8bb(0xbb)][_0x18b8bb(0xc0)],_0xf3b1f0=_0x3d8881['id'],_0xd0a22d=_0xf3b1f0!==_0x53d9a6[_0x18b8bb(0xa9)];if(_0xd0a22d){const _0x2350f7=_0x53d9a6[_0x18b8bb(0xbc)]-this[_0x18b8bb(0xa6)],_0x403ba3=this[_0x18b8bb(0x7e)]();this[_0x18b8bb(0xbb)][_0x18b8bb(0xc7)][_0x18b8bb(0x80)]();if(_0x3d8881[_0x18b8bb(0xa0)]+_0x2350f7!==_0x403ba3){const _0x124d12=_0x3d8881[_0x18b8bb(0xab)]+_0x2350f7,_0x1f9260=this[_0x18b8bb(0xb5)][_0x18b8bb(0x97)][_0x18b8bb(0xdc)](_0x2fa9fa),_0x21d792=this[_0x18b8bb(0xbb)][_0x18b8bb(0xb0)]({'revision':_0x3d8881,'from':_0x124d12,'to':_0x403ba3});_0x21d792['id']=_0x3d8881['id'];const _0x319e9a=_0x21d792[_0x18b8bb(0xd4)][_0x18b8bb(0x9d)](_0x2ecef8=>_0x1f9260[_0x18b8bb(0xc4)](_0x2ecef8));_0x3d8881[_0x18b8bb(0xc5)]({..._0x21d792,'authors':_0x319e9a},!0x0),this[_0x18b8bb(0xbb)][_0x18b8bb(0xae)](_0x3d8881['id'],_0x21d792,!0x0);}this[_0x18b8bb(0xbb)][_0x18b8bb(0xa5)]=_0x403ba3,(_0x3d8881[_0x18b8bb(0xa0)]===_0x3d8881[_0x18b8bb(0xab)]&&!this[_0x18b8bb(0xbb)][_0x18b8bb(0xac)][_0x18b8bb(0xd0)](_0xf3b1f0)&&this[_0x18b8bb(0xbb)][_0x18b8bb(0xbf)][_0x18b8bb(0x94)][_0x18b8bb(0xd9)](_0xf3b1f0),this[_0x18b8bb(0xbb)][_0x18b8bb(0xce)](_0x403ba3));}const {revisions:_0x3984b7,requestId:_0xef9321}=await this[_0x18b8bb(0xc2)][_0x18b8bb(0x79)](_0x3a51af[_0x18b8bb(0xc6)],this[_0x18b8bb(0x89)]);_0xd0a22d&&_0x3984b7[_0x18b8bb(0x87)]>0x0?_0x53d9a6[_0x18b8bb(0xdb)]():(await this[_0x18b8bb(0xd6)](_0x3984b7),this[_0x18b8bb(0x8c)](_0x3984b7,_0xef9321),this[_0x18b8bb(0xbb)][_0x18b8bb(0x9a)]());};return _0x53d9a6[_0x435162(0xaa)]?_0x15da11():new Promise((_0x3cdff3,_0x4fdfad)=>{const _0x360ad8=_0x435162;_0x53d9a6[_0x360ad8(0x98)](_0x360ad8(0x72),()=>{const _0x52051a=_0x360ad8;_0x15da11()[_0x52051a(0xc3)](_0x3cdff3)[_0x52051a(0xda)](_0x4fdfad);});});}[_0x1428a9(0x74)](){const _0x4dbf43=_0x1428a9;super[_0x4dbf43(0x74)]();}async[_0x1428a9(0xcb)](){const _0x126e85=_0x1428a9;this[_0x126e85(0xc2)][_0x126e85(0x92)]||await new Promise(_0x3ca274=>{const _0x2da301=_0x126e85;this[_0x2da301(0x86)](this[_0x2da301(0xc2)],_0x2da301(0x99),_0x16f428=>{const _0x159de5=_0x2da301;_0x16f428[_0x159de5(0xa1)](),_0x3ca274();});});}[_0x1428a9(0x7e)](){const _0x3f4482=_0x1428a9,_0x19cd92=this[_0x3f4482(0xb5)][_0x3f4482(0x97)][_0x3f4482(0xdc)](_0x1b6536)[_0x3f4482(0xe0)][_0x3f4482(0x7b)]()[_0x3f4482(0xad)]();for(const _0x4aa481 of _0x19cd92)if(_0x3f4482(0xd1)!==_0x4aa481[_0x3f4482(0xb6)]||_0x4aa481[_0x3f4482(0xa2)])return _0x4aa481[_0x3f4482(0xc9)]+0x1;}[_0x1428a9(0xba)](){const _0x1c972b=_0x1428a9,_0x345e63=this[_0x1c972b(0xb5)][_0x1c972b(0x97)][_0x1c972b(0xdc)](_0x1b6536);return new Promise(_0x59a1c4=>{const _0x5558bb=_0x1c972b;_0x345e63[_0x5558bb(0x77)]?_0x345e63[_0x5558bb(0x98)](_0x5558bb(0x9c),()=>{const _0x5b87b6=_0x5558bb;_0x59a1c4(this[_0x5b87b6(0x7e)]());}):_0x59a1c4(this[_0x5558bb(0x7e)]());});}[_0x1428a9(0x8c)](_0xb60804,_0x49f56e){const _0x4aa222=_0x1428a9,_0x3cf9a4=this[_0x4aa222(0xbb)][_0x4aa222(0xbf)];this[_0x4aa222(0x89)]=_0x49f56e;for(const _0x437847 of _0xb60804){const _0x215216=_0x3cf9a4[_0x4aa222(0xbd)](_0x437847['id']);if(_0x215216){if((_0x437847[_0x4aa222(0xab)]||_0x437847[_0x4aa222(0xa0)])&&(_0x437847[_0x4aa222(0x85)]=null),_0x215216===this[_0x4aa222(0xbb)][_0x4aa222(0xc0)]){const _0x5c5cf5=Math[_0x4aa222(0xb8)](_0x215216[_0x4aa222(0xa0)],_0x437847[_0x4aa222(0xa0)]),_0x2e8a80=Math[_0x4aa222(0xb8)](_0x215216[_0x4aa222(0xab)],_0x437847[_0x4aa222(0xab)]);let _0x2d71e3;_0x215216[_0x4aa222(0xa0)]===_0x437847[_0x4aa222(0xa0)]&&_0x215216[_0x4aa222(0xab)]===_0x437847[_0x4aa222(0xab)]?(_0x2d71e3=!0x0,this[_0x4aa222(0xb9)](_0x437847)):_0x437847[_0x4aa222(0xa0)]===_0x5c5cf5&&_0x437847[_0x4aa222(0xab)]===_0x2e8a80?_0x2d71e3=!0x1:(_0x215216[_0x4aa222(0xa0)]===_0x5c5cf5&&_0x215216[_0x4aa222(0xab)]===_0x2e8a80||this[_0x4aa222(0x8f)]({'revision':_0x215216,'from':_0x2e8a80,'to':_0x5c5cf5}),_0x2d71e3=!0x0),_0x2d71e3&&(delete _0x437847[_0x4aa222(0xab)],delete _0x437847[_0x4aa222(0xa0)],delete _0x437847[_0x4aa222(0x85)],delete _0x437847[_0x4aa222(0xa7)],delete _0x437847[_0x4aa222(0xd4)]);}this[_0x4aa222(0xbb)][_0x4aa222(0xd2)](_0x437847),this[_0x4aa222(0xb9)](_0x437847);}else this[_0x4aa222(0xbb)][_0x4aa222(0x88)](_0x437847);}const _0x3e75d0=_0x3cf9a4[_0x4aa222(0xde)]();_0x3e75d0[_0x4aa222(0xad)]();for(let _0x3017ff=0x0;_0x3017ff<_0x3e75d0[_0x4aa222(0x87)]-0x1;_0x3017ff++){const _0x14203a=_0x3e75d0[_0x3017ff],_0x37f7f4=_0x3e75d0[_0x3017ff+0x1];if(_0x14203a[_0x4aa222(0xab)]<_0x37f7f4[_0x4aa222(0xa0)]){const _0x5cd5d6=_0x37f7f4[_0x4aa222(0xa0)],_0x3f36e5=Math[_0x4aa222(0xb8)](_0x5cd5d6,_0x14203a[_0x4aa222(0xa0)]);this[_0x4aa222(0x8f)]({'revision':_0x14203a,'from':_0x5cd5d6,'to':_0x3f36e5});}}}[_0x1428a9(0x8f)]({revision:_0x430bcf,from:_0x52a066,to:_0xbd8f39}={}){const _0x3b5097=_0x1428a9,_0x178f16=this[_0x3b5097(0xb5)][_0x3b5097(0x97)][_0x3b5097(0xdc)](_0x2fa9fa),_0x1f2a9b=this[_0x3b5097(0xbb)][_0x3b5097(0xb0)]({'revision':_0x430bcf,'from':_0x52a066,'to':_0xbd8f39});_0x1f2a9b[_0x3b5097(0xcf)]=_0x1f2a9b[_0x3b5097(0xd4)][_0x3b5097(0x9d)](_0x297ccf=>_0x178f16[_0x3b5097(0xc4)](_0x297ccf)),_0x430bcf[_0x3b5097(0xc5)](_0x1f2a9b);}[_0x1428a9(0xb9)](_0x1c20de){const _0x5643ed=_0x1428a9,_0x153f39={};_0x153f39['id']=_0x1c20de['id'];for(const _0x4c51ba of Object[_0x5643ed(0x8e)](_0x1c20de))'id'!==_0x4c51ba&&(_0x153f39[_0x4c51ba]=void 0x0);this[_0x5643ed(0xbb)][_0x5643ed(0xae)](_0x153f39['id'],_0x153f39,!0x0);}async[_0x1428a9(0xd6)](_0x1e2ce9){const _0x36c5e8=_0x1428a9,_0x35c48c=this[_0x36c5e8(0xb5)][_0x36c5e8(0x97)][_0x36c5e8(0xdc)](_0x2fa9fa),{connection:_0x28f6df}=this[_0x36c5e8(0xb5)][_0x36c5e8(0x97)][_0x36c5e8(0xdc)](_0x5a7982),_0x343e48=new Set();for(const _0x47b81e of _0x1e2ce9){for(const _0x33f778 of _0x47b81e[_0x36c5e8(0xd4)])_0x29b79d(_0x33f778);_0x47b81e[_0x36c5e8(0xb4)]&&_0x29b79d(_0x47b81e[_0x36c5e8(0xb4)]);}if(0x0===_0x343e48[_0x36c5e8(0xbe)])return;const _0x3be621=await _0x30ce16[_0x36c5e8(0x93)](_0x28f6df,Array[_0x36c5e8(0xa3)](_0x343e48));for(const _0x2c98a5 of _0x3be621)_0x35c48c[_0x36c5e8(0xc4)](_0x2c98a5['id'])||_0x35c48c[_0x36c5e8(0xc8)](_0x2c98a5);function _0x29b79d(_0xa3949c){const _0x59d568=_0x36c5e8;_0x35c48c[_0x59d568(0xc4)](_0xa3949c)||_0x343e48[_0x59d568(0x8b)](_0xa3949c);}}}function _0x5241(){const _0x38601d=['getMany','_revisions','addToReconnectionStack','8KQGofB','plugins','once','connected','sendBufferedUpdates','3343302HxtqTU','change:_isPendingUpdate','map','updateRevisions','26648AfHnzd','toVersion','off','affectsData','from','78949LJYHiM','_startingVersion','_oldOffset','createdAt','state','sessionId','_isConnected','fromVersion','_bufferedUpdates','reverse','_bufferUpdate','31NFtHFK','buildRevisionData','508039xJcYYF','isBundleUploaded','6kaUhCV','creatorId','editor','type','RevisionTracker','max','_preventResendingRevisionData','_getLatestVersion','_revisionTracker','_offset','getRevision','size','repository','currentRevision','init','_revisionHistoryService','then','getUser','_update','connection','_revisionDataBuilder','addUser','baseVersion','684099NOjdDY','_waitForServiceReady','code','10rSRPMu','_createCurrentRevision','authors','has','marker','setRevisionData','CONNECTED','authorsIds','cloudServices.bundleVersion','_fetchMissingUsers','collaboration.channelId','isEmptyCurrent','remove','catch','_handleReconnectionError','get','1780140DKNyOt','getRevisions','RevisionHistoryService','serverHistory','data','setSource','bind','change:_isConnected','config','destroy','4421384kBAwfh','revisionsUpdated','_isPendingUpdate','startsWith','reconnect','948nSgkXm','getOperations','wrongRequestId','requires','_getLatestVersionFromServerOperations','message','reInit','40zQOBgb','connect','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','isEnabled','diffData','listenTo','length','addRevisionData','_lastRequestId','adapter','add','_handleRevisionsUpdate','400','keys','_fixRevision','cloud-services-internal-error:\x20Request\x20timeout.','cloud-services-internal-error:\x20Not\x20connected.','isConnected'];_0x5241=function(){return _0x38601d;};return _0x5241();}u[_0x1428a9(0xdf)]=_0x2efeff;export default u;function st(_0x216aa8){const _0xc5a79=_0x1428a9;return _0x216aa8[_0xc5a79(0x7f)][_0xc5a79(0x78)](_0xc5a79(0x83))||_0x216aa8[_0xc5a79(0x7f)][_0xc5a79(0x78)](_0xc5a79(0x91))||_0x216aa8[_0xc5a79(0x7f)][_0xc5a79(0x78)](_0xc5a79(0x90));}
|
|
23
|
+
const _0x7643f1=_0x4e6c;(function(_0x546b20,_0x306ba7){const _0x37125b=_0x4e6c,_0x45d889=_0x546b20();while(!![]){try{const _0x58785f=parseInt(_0x37125b(0x22b))/0x1+-parseInt(_0x37125b(0x1f3))/0x2+parseInt(_0x37125b(0x1e5))/0x3*(-parseInt(_0x37125b(0x22e))/0x4)+-parseInt(_0x37125b(0x1cf))/0x5+parseInt(_0x37125b(0x1ec))/0x6+parseInt(_0x37125b(0x1c9))/0x7*(parseInt(_0x37125b(0x1d6))/0x8)+-parseInt(_0x37125b(0x225))/0x9*(-parseInt(_0x37125b(0x21f))/0xa);if(_0x58785f===_0x306ba7)break;else _0x45d889['push'](_0x45d889['shift']());}catch(_0x5e4b7f){_0x45d889['push'](_0x45d889['shift']());}}}(_0x392e,0x81981));import{Plugin as _0x12ddbc}from'ckeditor5/src/core.js';import{version as _0x5733b0}from'ckeditor5/src/utils.js';import{Users as _0x577a6d}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x17f5fb from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0xee5a4d from'../realtimecollaborativeediting/websocketgateway.js';import _0x2936d9 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x312e54,RevisionHistoryService as _0xd76238,User as _0xc0faf1,WEB_SOCKET_GATEWAY_STATES as _0x40dcab}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x4e6c(_0x117ff2,_0x3d1c9c){const _0x392e10=_0x392e();return _0x4e6c=function(_0x4e6ce7,_0x1e97fb){_0x4e6ce7=_0x4e6ce7-0x1c4;let _0x89f39c=_0x392e10[_0x4e6ce7];return _0x89f39c;},_0x4e6c(_0x117ff2,_0x3d1c9c);}class u extends _0x12ddbc{static get[_0x7643f1(0x20d)](){const _0x3a0314=_0x7643f1;return[_0xee5a4d,_0x17f5fb,_0x3a0314(0x217),_0x2936d9,_0x577a6d];}constructor(_0x46ede0){const _0x4359f5=_0x7643f1;super(_0x46ede0);const _0x5c6d1a=this[_0x4359f5(0x1f2)][_0x4359f5(0x1ed)][_0x4359f5(0x1f5)](_0x4359f5(0x228));this[_0x4359f5(0x1ca)]=null,this[_0x4359f5(0x226)]=this[_0x4359f5(0x1f2)][_0x4359f5(0x21b)][_0x4359f5(0x1f5)](_0x4359f5(0x217)),this[_0x4359f5(0x212)]=new u[(_0x4359f5(0x1e6))](_0x5c6d1a);}async[_0x7643f1(0x1dc)](){const _0x1deb2e=_0x7643f1,_0x14c763=this[_0x1deb2e(0x1f2)][_0x1deb2e(0x21b)][_0x1deb2e(0x1f5)](_0x17f5fb),_0x38b82e=_0x14c763[_0x1deb2e(0x204)],_0xb31f08=this[_0x1deb2e(0x1f2)][_0x1deb2e(0x21b)][_0x1deb2e(0x1f5)](_0xee5a4d);this[_0x1deb2e(0x226)][_0x1deb2e(0x207)]({'history':_0x38b82e,'getLatestVersion':()=>this[_0x1deb2e(0x20a)](),'getCurrentRevisionId':()=>_0x14c763[_0x1deb2e(0x1d8)]});const _0x167b37=this[_0x1deb2e(0x1f2)][_0x1deb2e(0x1ed)][_0x1deb2e(0x1f5)](_0x1deb2e(0x230))||_0x5733b0,_0x3fd986=await _0x312e54[_0x1deb2e(0x218)](_0xb31f08[_0x1deb2e(0x1c8)],_0x167b37);this[_0x1deb2e(0x226)][_0x1deb2e(0x1e9)]={'getRevision':async({revisionId:_0x580ac7})=>(await this[_0x1deb2e(0x220)](),await this[_0x1deb2e(0x212)][_0x1deb2e(0x1e1)](_0x580ac7)),'updateRevisions':async _0x46cb6c=>{const _0x535559=_0x1deb2e;await this[_0x535559(0x220)]();const _0x508779=this[_0x535559(0x226)][_0x535559(0x232)];if(_0x3fd986&&0x1===_0x46cb6c[_0x535559(0x224)]&&_0x46cb6c[0x0]['id']===_0x508779['id'])return _0x46cb6c;for(const _0x5962f1 of _0x46cb6c)_0x5962f1['id']===_0x508779['id']&&(_0x5962f1[_0x535559(0x1fa)]=_0x5962f1[_0x535559(0x21d)]===_0x5962f1[_0x535559(0x200)]);return this[_0x535559(0x212)][_0x535559(0x210)](_0x46cb6c,this[_0x535559(0x1ca)])[_0x535559(0x1f7)](_0x3ec5e9=>(this[_0x535559(0x1ca)]=_0x3ec5e9,_0x46cb6c))[_0x535559(0x229)](_0x3dd23d=>{const _0x51b78f=_0x535559;if(P(_0x3dd23d)||_0x51b78f(0x22c)===_0x3dd23d[_0x51b78f(0x1ef)]&&void 0x0!==_0x3dd23d[_0x51b78f(0x20e)][_0x51b78f(0x214)]){for(const _0x2c77eb of _0x46cb6c){!this[_0x51b78f(0x226)][_0x51b78f(0x21e)][_0x51b78f(0x1e1)](_0x2c77eb['id'])||this[_0x51b78f(0x226)][_0x51b78f(0x209)](_0x2c77eb['id'],_0x2c77eb,!0x1);}if(P(_0x3dd23d))throw _0x3dd23d;return _0x46cb6c;}throw _0x3dd23d;});}},this[_0x1deb2e(0x1d0)](this[_0x1deb2e(0x212)],_0x1deb2e(0x20b),(_0x3199ff,{revisionsData:_0x3ec479,requestId:_0x595c4d})=>{const _0x4b36d8=_0x1deb2e;Math[_0x4b36d8(0x1c4)](..._0x3ec479[_0x4b36d8(0x203)](_0x449bb3=>_0x449bb3[_0x4b36d8(0x200)]))>this[_0x4b36d8(0x202)]()-0x1?this[_0x4b36d8(0x20a)]()[_0x4b36d8(0x1f7)](()=>{const _0xe1ef7a=_0x4b36d8;this[_0xe1ef7a(0x1c7)](_0x3ec479,_0x595c4d);}):this[_0x4b36d8(0x1c7)](_0x3ec479,_0x595c4d);});const {revisions:_0x2e9be4,requestId:_0x2fd065}=await this[_0x1deb2e(0x212)][_0x1deb2e(0x1cc)](_0xb31f08[_0x1deb2e(0x1c8)]);_0xb31f08[_0x1deb2e(0x223)](this),this[_0x1deb2e(0x1ca)]=_0x2fd065,await this[_0x1deb2e(0x1e4)](_0x2e9be4);for(const _0x4632e1 of _0x2e9be4)this[_0x1deb2e(0x226)][_0x1deb2e(0x20c)](_0x4632e1);this[_0x1deb2e(0x1d0)](_0x14c763,_0x1deb2e(0x211),(_0x45c26c,_0x55e1f0,_0x249042)=>{const _0x4d3630=_0x1deb2e;_0x249042&&(this[_0x4d3630(0x222)]=_0x14c763[_0x4d3630(0x1ce)],_0x45c26c[_0x4d3630(0x1eb)]());}),this[_0x1deb2e(0x226)][_0x1deb2e(0x1f1)](_0x1deb2e(0x205))['to'](_0xb31f08,_0x1deb2e(0x1e8),_0x1053cd=>_0x1053cd===_0x40dcab[_0x1deb2e(0x216)]);}async[_0x7643f1(0x1fd)](){const _0x44587e=_0x7643f1,_0x1781a5=this[_0x44587e(0x1f2)][_0x44587e(0x21b)][_0x44587e(0x1f5)](_0xee5a4d),_0x256198=this[_0x44587e(0x1f2)][_0x44587e(0x21b)][_0x44587e(0x1f5)](_0x17f5fb),_0x2560b5=async()=>{const _0x5e5fbe=_0x44587e,_0x385203=this[_0x5e5fbe(0x226)][_0x5e5fbe(0x232)],_0x1f7429=_0x385203['id'],_0xebcf6a=_0x1f7429!==_0x256198[_0x5e5fbe(0x1d8)];if(_0xebcf6a){const _0x389dfb=_0x256198[_0x5e5fbe(0x1ce)]-this[_0x5e5fbe(0x222)],_0x262f78=this[_0x5e5fbe(0x202)]();this[_0x5e5fbe(0x226)][_0x5e5fbe(0x221)][_0x5e5fbe(0x1d4)]();if(_0x385203[_0x5e5fbe(0x200)]+_0x389dfb!==_0x262f78){const _0x4ad82d=_0x385203[_0x5e5fbe(0x21d)]+_0x389dfb,_0x49eaa3=this[_0x5e5fbe(0x1f2)][_0x5e5fbe(0x21b)][_0x5e5fbe(0x1f5)](_0x577a6d),_0x447b5b=this[_0x5e5fbe(0x226)][_0x5e5fbe(0x1e7)]({'revision':_0x385203,'from':_0x4ad82d,'to':_0x262f78});_0x447b5b['id']=_0x385203['id'];const _0x3954f2=_0x447b5b[_0x5e5fbe(0x227)][_0x5e5fbe(0x203)](_0x5a90a1=>_0x49eaa3[_0x5e5fbe(0x1df)](_0x5a90a1));_0x385203[_0x5e5fbe(0x215)]({..._0x447b5b,'authors':_0x3954f2},!0x0),this[_0x5e5fbe(0x226)][_0x5e5fbe(0x209)](_0x385203['id'],_0x447b5b,!0x0);}this[_0x5e5fbe(0x226)][_0x5e5fbe(0x22a)]=_0x262f78,(_0x385203[_0x5e5fbe(0x200)]===_0x385203[_0x5e5fbe(0x21d)]&&!this[_0x5e5fbe(0x226)][_0x5e5fbe(0x1f6)][_0x5e5fbe(0x208)](_0x1f7429)&&this[_0x5e5fbe(0x226)][_0x5e5fbe(0x21e)][_0x5e5fbe(0x1c5)][_0x5e5fbe(0x1f8)](_0x1f7429),this[_0x5e5fbe(0x226)][_0x5e5fbe(0x1cd)](_0x262f78));}const {revisions:_0x181692,requestId:_0x5a306c}=await this[_0x5e5fbe(0x212)][_0x5e5fbe(0x1fd)](_0x1781a5[_0x5e5fbe(0x1c8)],this[_0x5e5fbe(0x1ca)]);_0xebcf6a&&_0x181692[_0x5e5fbe(0x224)]>0x0?_0x256198[_0x5e5fbe(0x20f)]():(await this[_0x5e5fbe(0x1e4)](_0x181692),this[_0x5e5fbe(0x1c7)](_0x181692,_0x5a306c),this[_0x5e5fbe(0x226)][_0x5e5fbe(0x1e0)]());};return _0x256198[_0x44587e(0x1fc)]?_0x2560b5():new Promise((_0x109ce6,_0x1f5d68)=>{const _0x39ef79=_0x44587e;_0x256198[_0x39ef79(0x1d1)](_0x39ef79(0x211),()=>{const _0x1036a0=_0x39ef79;_0x2560b5()[_0x1036a0(0x1f7)](_0x109ce6)[_0x1036a0(0x229)](_0x1f5d68);});});}[_0x7643f1(0x1fe)](){const _0x1f32ab=_0x7643f1;super[_0x1f32ab(0x1fe)]();}async[_0x7643f1(0x220)](){const _0x1f5d66=_0x7643f1;this[_0x1f5d66(0x212)][_0x1f5d66(0x1de)]||await new Promise(_0x3df41e=>{const _0x2ae826=_0x1f5d66;this[_0x2ae826(0x1d0)](this[_0x2ae826(0x212)],_0x2ae826(0x21a),_0x122058=>{const _0x42e35e=_0x2ae826;_0x122058[_0x42e35e(0x1eb)](),_0x3df41e();});});}[_0x7643f1(0x202)](){const _0x448ba5=_0x7643f1,_0x1cca5e=this[_0x448ba5(0x1f2)][_0x448ba5(0x21b)][_0x448ba5(0x1f5)](_0x17f5fb)[_0x448ba5(0x204)][_0x448ba5(0x1fb)]()[_0x448ba5(0x1f9)]();for(const _0x1358ac of _0x1cca5e)if(_0x448ba5(0x1d9)!==_0x1358ac[_0x448ba5(0x213)]||_0x1358ac[_0x448ba5(0x1ea)])return _0x1358ac[_0x448ba5(0x231)]+0x1;}[_0x7643f1(0x20a)](){const _0x2a8cb3=_0x7643f1,_0x4ebb68=this[_0x2a8cb3(0x1f2)][_0x2a8cb3(0x21b)][_0x2a8cb3(0x1f5)](_0x17f5fb);return new Promise(_0x2e374e=>{const _0x42447a=_0x2a8cb3;_0x4ebb68[_0x42447a(0x22d)]?_0x4ebb68[_0x42447a(0x1d1)](_0x42447a(0x1cb),()=>{const _0x4f201f=_0x42447a;_0x2e374e(this[_0x4f201f(0x202)]());}):_0x2e374e(this[_0x42447a(0x202)]());});}[_0x7643f1(0x1c7)](_0x32838e,_0x3dac65){const _0x264e86=_0x7643f1,_0x567b8a=this[_0x264e86(0x226)][_0x264e86(0x21e)];this[_0x264e86(0x1ca)]=_0x3dac65;for(const _0x27b336 of _0x32838e){const _0x15fa14=_0x567b8a[_0x264e86(0x1e1)](_0x27b336['id']);if(_0x15fa14){if((_0x27b336[_0x264e86(0x21d)]||_0x27b336[_0x264e86(0x200)])&&(_0x27b336[_0x264e86(0x21c)]=null),_0x15fa14===this[_0x264e86(0x226)][_0x264e86(0x232)]){const _0x1bac57=Math[_0x264e86(0x1c4)](_0x15fa14[_0x264e86(0x200)],_0x27b336[_0x264e86(0x200)]),_0x38118f=Math[_0x264e86(0x1c4)](_0x15fa14[_0x264e86(0x21d)],_0x27b336[_0x264e86(0x21d)]);let _0xb4675f;_0x15fa14[_0x264e86(0x200)]===_0x27b336[_0x264e86(0x200)]&&_0x15fa14[_0x264e86(0x21d)]===_0x27b336[_0x264e86(0x21d)]?(_0xb4675f=!0x0,this[_0x264e86(0x1f4)](_0x27b336)):_0x27b336[_0x264e86(0x200)]===_0x1bac57&&_0x27b336[_0x264e86(0x21d)]===_0x38118f?_0xb4675f=!0x1:(_0x15fa14[_0x264e86(0x200)]===_0x1bac57&&_0x15fa14[_0x264e86(0x21d)]===_0x38118f||this[_0x264e86(0x206)]({'revision':_0x15fa14,'from':_0x38118f,'to':_0x1bac57}),_0xb4675f=!0x0),_0xb4675f&&(delete _0x27b336[_0x264e86(0x21d)],delete _0x27b336[_0x264e86(0x200)],delete _0x27b336[_0x264e86(0x21c)],delete _0x27b336[_0x264e86(0x1f0)],delete _0x27b336[_0x264e86(0x227)]);}this[_0x264e86(0x226)][_0x264e86(0x1da)](_0x27b336),this[_0x264e86(0x1f4)](_0x27b336);}else this[_0x264e86(0x226)][_0x264e86(0x20c)](_0x27b336);}const _0x1b6e4a=_0x567b8a[_0x264e86(0x1e2)]();_0x1b6e4a[_0x264e86(0x1f9)]();for(let _0x2bf694=0x0;_0x2bf694<_0x1b6e4a[_0x264e86(0x224)]-0x1;_0x2bf694++){const _0x170b89=_0x1b6e4a[_0x2bf694],_0x5abcb2=_0x1b6e4a[_0x2bf694+0x1];if(_0x170b89[_0x264e86(0x21d)]<_0x5abcb2[_0x264e86(0x200)]){const _0x4718c8=_0x5abcb2[_0x264e86(0x200)],_0x32a3de=Math[_0x264e86(0x1c4)](_0x4718c8,_0x170b89[_0x264e86(0x200)]);this[_0x264e86(0x206)]({'revision':_0x170b89,'from':_0x4718c8,'to':_0x32a3de});}}}[_0x7643f1(0x206)]({revision:_0x352476,from:_0x446819,to:_0x4d0c1f}={}){const _0x5c072e=_0x7643f1,_0xdfdf58=this[_0x5c072e(0x1f2)][_0x5c072e(0x21b)][_0x5c072e(0x1f5)](_0x577a6d),_0x265d0e=this[_0x5c072e(0x226)][_0x5c072e(0x1e7)]({'revision':_0x352476,'from':_0x446819,'to':_0x4d0c1f});_0x265d0e[_0x5c072e(0x201)]=_0x265d0e[_0x5c072e(0x227)][_0x5c072e(0x203)](_0x4a1ead=>_0xdfdf58[_0x5c072e(0x1df)](_0x4a1ead)),_0x352476[_0x5c072e(0x215)](_0x265d0e);}[_0x7643f1(0x1f4)](_0x46f52f){const _0x2d2716=_0x7643f1,_0x40c6cb={};_0x40c6cb['id']=_0x46f52f['id'];for(const _0x318714 of Object[_0x2d2716(0x1d2)](_0x46f52f))'id'!==_0x318714&&(_0x40c6cb[_0x318714]=void 0x0);this[_0x2d2716(0x226)][_0x2d2716(0x209)](_0x40c6cb['id'],_0x40c6cb,!0x0);}async[_0x7643f1(0x1e4)](_0x123d8e){const _0x46e791=_0x7643f1,_0x44fda4=this[_0x46e791(0x1f2)][_0x46e791(0x21b)][_0x46e791(0x1f5)](_0x577a6d),{connection:_0x4dfcaf}=this[_0x46e791(0x1f2)][_0x46e791(0x21b)][_0x46e791(0x1f5)](_0xee5a4d),_0x5d32a=new Set();for(const _0x47bcd4 of _0x123d8e){for(const _0x38f704 of _0x47bcd4[_0x46e791(0x227)])_0x4954ed(_0x38f704);_0x47bcd4[_0x46e791(0x1ee)]&&_0x4954ed(_0x47bcd4[_0x46e791(0x1ee)]);}if(0x0===_0x5d32a[_0x46e791(0x1d3)])return;const _0x41d70e=await _0xc0faf1[_0x46e791(0x1db)](_0x4dfcaf,Array[_0x46e791(0x1ff)](_0x5d32a));for(const _0x36b737 of _0x41d70e)_0x44fda4[_0x46e791(0x1df)](_0x36b737['id'])||_0x44fda4[_0x46e791(0x22f)](_0x36b737);function _0x4954ed(_0x259982){const _0x214a43=_0x46e791;_0x44fda4[_0x214a43(0x1df)](_0x259982)||_0x5d32a[_0x214a43(0x1dd)](_0x259982);}}}u[_0x7643f1(0x1e6)]=_0xd76238;function _0x392e(){const _0x5195e5=['then','remove','reverse','isEmptyCurrent','getOperations','_isConnected','reconnect','destroy','from','toVersion','authors','_getLatestVersionFromServerOperations','map','serverHistory','isEnabled','_fixRevision','setSource','has','_bufferUpdate','_getLatestVersion','revisionsUpdated','addRevisionData','requires','data','_handleReconnectionError','updateRevisions','change:_isConnected','_revisionHistoryService','type','wrongRequestId','_update','CONNECTED','RevisionTracker','isBundleUploaded','startsWith','connected','plugins','diffData','fromVersion','repository','1230610BYaatM','_waitForServiceReady','_revisionDataBuilder','_oldOffset','addToReconnectionStack','length','63IhIGhU','_revisionTracker','authorsIds','collaboration.channelId','catch','_startingVersion','596746aUgWjK','400','_isPendingUpdate','367084nipBQi','addUser','cloudServices.bundleVersion','baseVersion','currentRevision','max','_revisions','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_handleRevisionsUpdate','connection','499177KpAQYU','_lastRequestId','change:_isPendingUpdate','connect','_createCurrentRevision','_offset','716495fVCvJi','listenTo','once','keys','size','reInit','cloud-services-internal-error:\x20Request\x20timeout.','24yLIzvb','cloud-services-internal-error:\x20Not\x20connected.','sessionId','marker','setRevisionData','getMany','init','add','isConnected','getUser','sendBufferedUpdates','getRevision','getRevisions','message','_fetchMissingUsers','12NDffrK','RevisionHistoryService','buildRevisionData','state','adapter','affectsData','off','498792QobXEs','config','creatorId','code','createdAt','bind','editor','1428076BvQAYw','_preventResendingRevisionData','get','_bufferedUpdates'];_0x392e=function(){return _0x5195e5;};return _0x392e();}export default u;function P(_0x198fb2){const _0x21ebe6=_0x7643f1;return _0x198fb2[_0x21ebe6(0x1e3)][_0x21ebe6(0x219)](_0x21ebe6(0x1c6))||_0x198fb2[_0x21ebe6(0x1e3)][_0x21ebe6(0x219)](_0x21ebe6(0x1d7))||_0x198fb2[_0x21ebe6(0x1e3)][_0x21ebe6(0x219)](_0x21ebe6(0x1d5));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x570aea=_0x55dc;(function(_0x2a2a18,_0x3492dd){const _0x394741=_0x55dc,_0x98c491=_0x2a2a18();while(!![]){try{const _0x53604d=parseInt(_0x394741(0x8b))/0x1*(-parseInt(_0x394741(0x93))/0x2)+parseInt(_0x394741(0xa3))/0x3*(parseInt(_0x394741(0xb0))/0x4)+-parseInt(_0x394741(0x96))/0x5+-parseInt(_0x394741(0xb8))/0x6*(-parseInt(_0x394741(0xb3))/0x7)+-parseInt(_0x394741(0xb4))/0x8+-parseInt(_0x394741(0xa6))/0x9*(parseInt(_0x394741(0xbd))/0xa)+-parseInt(_0x394741(0xa8))/0xb*(parseInt(_0x394741(0x8c))/0xc);if(_0x53604d===_0x3492dd)break;else _0x98c491['push'](_0x98c491['shift']());}catch(_0x37d80b){_0x98c491['push'](_0x98c491['shift']());}}}(_0x1ab6,0xaed3f));import{Plugin as _0x248bff}from'ckeditor5/src/core.js';import{User as _0x104d36,TrackChangesService as _0xe22bdd}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0xd439d6 from'../realtimecollaborativeediting/websocketgateway.js';import _0x30ce3b from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x1f6865}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x248bff{static get[_0x570aea(0x9d)](){const _0x3bc113=_0x570aea;return[_0x30ce3b,_0x3bc113(0x8d),_0xd439d6];}constructor(_0x249c74){const _0x393c08=_0x570aea;super(_0x249c74);const _0x10d392=this[_0x393c08(0x89)][_0x393c08(0x9f)][_0x393c08(0xaf)](_0x393c08(0x8f));this[_0x393c08(0xbe)]=new Map(),this[_0x393c08(0xa2)]=new f[(_0x393c08(0x99))](_0x10d392);}[_0x570aea(0x91)](){const _0x10ce90=_0x570aea,_0x5a043f=this[_0x10ce90(0x89)][_0x10ce90(0x90)][_0x10ce90(0xaf)](_0xd439d6),_0x4b76f2=this[_0x10ce90(0x89)][_0x10ce90(0x90)][_0x10ce90(0xaf)](_0x10ce90(0x8d));return _0x4b76f2[_0x10ce90(0x8a)]={'getSuggestion':async _0x8c605a=>{const _0x39f9e5=_0x10ce90;await this[_0x39f9e5(0x84)]();const _0x2277db=await this[_0x39f9e5(0xa2)][_0x39f9e5(0xaf)](_0x8c605a)[_0x39f9e5(0x87)](w);return await this[_0x39f9e5(0xaa)]([_0x2277db]),_0x2277db;},'addSuggestion':async({id:_0x23090c,type:_0x56e15d,data:_0x3a5665,originalSuggestionId:_0xc1b122,attributes:_0x497f1b})=>{const _0x54cb0c=_0x10ce90;await this[_0x54cb0c(0x84)]();const _0x5ba02a={'id':_0x23090c,'type':_0x56e15d,'data':_0x3a5665,'originalSuggestionId':_0xc1b122,'attributes':_0x497f1b},_0x4edc37=await this[_0x54cb0c(0xa2)][_0x54cb0c(0xa1)](_0x23090c,_0x56e15d,_0x3a5665,_0xc1b122,_0x497f1b)[_0x54cb0c(0x87)](_0x55e33c=>{if(P(_0x55e33c))return new Promise(_0x3cec0d=>{const _0x2df50b=_0x55dc;this[_0x2df50b(0xbe)][_0x2df50b(0x9a)](_0x23090c,{'resolve':_0x3cec0d,'suggestionData':_0x5ba02a});});throw _0x55e33c;});return this[_0x54cb0c(0xbe)][_0x54cb0c(0xbb)](_0x23090c),_0x4edc37;},'updateSuggestion':async(_0x101b8d,_0x418018)=>{const _0x222b5b=_0x10ce90;if(await this[_0x222b5b(0x84)](),_0x222b5b(0xa0)!==_0x418018[_0x222b5b(0x82)])return this[_0x222b5b(0xa2)][_0x222b5b(0x98)](_0x101b8d,_0x418018)[_0x222b5b(0x87)](w);}},this[_0x10ce90(0xb6)](this[_0x10ce90(0xa2)],_0x10ce90(0xa7),(_0x2864f1,_0x1974fe)=>{const _0x1dccfb=_0x10ce90;_0x4b76f2[_0x1dccfb(0xad)](_0x1974fe['id'])&&(_0x4b76f2[_0x1dccfb(0x92)](_0x1974fe['id'])[_0x1dccfb(0x97)]=_0x1974fe[_0x1dccfb(0x97)]);}),this[_0x10ce90(0xa2)][_0x10ce90(0xb2)](_0x5a043f[_0x10ce90(0x81)])[_0x10ce90(0xa9)](_0x44721e=>(_0x5a043f[_0x10ce90(0x86)](this),this[_0x10ce90(0xaa)](_0x44721e)[_0x10ce90(0xa9)](()=>{const _0x50fa60=_0x10ce90;for(const _0xaaf17c of _0x44721e){_0x4b76f2[_0x50fa60(0xa4)](_0xaaf17c)[_0x50fa60(0xb7)]=!0x0;}})));}async[_0x570aea(0xab)](){const _0x525f3f=_0x570aea,_0x536058=this[_0x525f3f(0x89)][_0x525f3f(0x90)][_0x525f3f(0xaf)](_0x525f3f(0x8d)),{connection:_0x39fd49}=this[_0x525f3f(0x89)][_0x525f3f(0x90)][_0x525f3f(0xaf)](_0xd439d6),_0x4f8c7e=await this[_0x525f3f(0xa2)][_0x525f3f(0xb2)](_0x39fd49);await this[_0x525f3f(0xaa)](_0x4f8c7e);for(const {suggestionData:_0x37b560,resolve:_0x228b0d}of this[_0x525f3f(0xbe)][_0x525f3f(0x8e)]()){let _0x266a1a=_0x4f8c7e[_0x525f3f(0x9e)](_0x47376e=>_0x47376e['id']===_0x37b560['id']);_0x266a1a||(_0x266a1a=await this[_0x525f3f(0xa2)][_0x525f3f(0xa1)](_0x37b560['id'],_0x37b560[_0x525f3f(0xb5)],_0x37b560[_0x525f3f(0xa5)],_0x37b560[_0x525f3f(0x95)])),_0x228b0d(_0x266a1a);}for(const _0x3666c8 of _0x4f8c7e)_0x536058[_0x525f3f(0xad)](_0x3666c8['id'])||_0x536058[_0x525f3f(0xa4)](_0x3666c8);}async[_0x570aea(0x84)](){const _0x32d093=_0x570aea;this[_0x32d093(0xa2)][_0x32d093(0xba)]||await new Promise(_0x16946a=>{const _0x47de62=_0x32d093;this[_0x47de62(0xb6)](this[_0x47de62(0xa2)],_0x47de62(0x83),_0x2e625b=>{const _0x24ebbd=_0x47de62;_0x2e625b[_0x24ebbd(0x94)](),_0x16946a();});});}async[_0x570aea(0xaa)](_0x103bd2){const _0x5c09d9=_0x570aea,_0x3c1191=this[_0x5c09d9(0x89)][_0x5c09d9(0x90)][_0x5c09d9(0xaf)](_0x1f6865),{connection:_0xc27197}=this[_0x5c09d9(0x89)][_0x5c09d9(0x90)][_0x5c09d9(0xaf)](_0xd439d6),_0x4163b6=new Set();for(const {authorId:_0x28e6ae}of _0x103bd2)_0x3c1191[_0x5c09d9(0x85)](_0x28e6ae)||_0x4163b6[_0x5c09d9(0xa1)](_0x28e6ae);if(0x0===_0x4163b6[_0x5c09d9(0x9c)])return;const _0x95bbe1=await _0x104d36[_0x5c09d9(0xbc)](_0xc27197,Array[_0x5c09d9(0xb9)](_0x4163b6));for(const _0x51b336 of _0x95bbe1)_0x3c1191[_0x5c09d9(0x85)](_0x51b336['id'])||_0x3c1191[_0x5c09d9(0xae)](_0x51b336);}}f[_0x570aea(0x99)]=_0xe22bdd;export default f;function w(_0x54d435){if(P(_0x54d435))return new Promise(()=>{});throw _0x54d435;}function _0x55dc(_0x106bfd,_0x3771ab){const _0x1ab65a=_0x1ab6();return _0x55dc=function(_0x55dcc0,_0x422c07){_0x55dcc0=_0x55dcc0-0x81;let _0x5751fb=_0x1ab65a[_0x55dcc0];return _0x5751fb;},_0x55dc(_0x106bfd,_0x3771ab);}function _0x1ab6(){const _0x3107a1=['state','connected','_waitForServiceReady','getUser','addToReconnectionStack','catch','message','editor','adapter','152251WyNpvB','165012qcZUaq','TrackChangesEditing','values','collaboration.channelId','plugins','init','getSuggestion','14ckTAGK','off','originalSuggestionId','1497670Tacsif','attributes','update','TrackChangesService','set','cloud-services-internal-error:\x20Not\x20connected.','size','requires','find','config','open','add','_trackChangesService','3AiDWXo','addSuggestionData','data','3335706JPwUIj','suggestionUpdated','11NXekml','then','_fetchMissingUsersForThreads','reconnect','cloud-services-internal-error:\x20Request\x20timeout.','hasSuggestion','addUser','get','5516888vUOSLb','startsWith','connect','7zIbyJk','2281520vFHdiT','type','listenTo','_saved','8230434qZcALx','from','isConnected','delete','getMany','10IPtDrx','_bufferedRequests','connection'];_0x1ab6=function(){return _0x3107a1;};return _0x1ab6();}function P(_0x136a92){const _0x6b2db8=_0x570aea;return _0x136a92[_0x6b2db8(0x88)][_0x6b2db8(0xb1)](_0x6b2db8(0x9b))||_0x136a92[_0x6b2db8(0x88)][_0x6b2db8(0xb1)](_0x6b2db8(0xac));}
|