@ckeditor/ckeditor5-real-time-collaboration 45.2.1-alpha.2 → 45.2.1-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +14 -14
- 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/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4d478f=_0x2167;(function(_0x576bf0,_0x44571f){const _0x15466c=_0x2167,_0x4262fa=_0x576bf0();while(!![]){try{const _0x5a9838=-parseInt(_0x15466c(0xa8))/0x1+-parseInt(_0x15466c(0x106))/0x2+parseInt(_0x15466c(0x114))/0x3+parseInt(_0x15466c(0xe0))/0x4+parseInt(_0x15466c(0x104))/0x5*(parseInt(_0x15466c(0xe9))/0x6)+parseInt(_0x15466c(0xe8))/0x7+-parseInt(_0x15466c(0xed))/0x8;if(_0x5a9838===_0x44571f)break;else _0x4262fa['push'](_0x4262fa['shift']());}catch(_0x2767cc){_0x4262fa['push'](_0x4262fa['shift']());}}}(_0x5ec2,0xc7355));import{Plugin as _0x5e7227}from'ckeditor5/src/core.js';import{global as _0x4c7c58,DomEmitterMixin as _0x36c6f7}from'ckeditor5/src/utils.js';import _0xe747f8 from'./sessions.js';import{LiveRange as _0x798c4b}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class B extends _0x5e7227{[_0x4d478f(0xf8)]=new(_0x36c6f7())();static get[_0x4d478f(0xf1)](){return[_0xe747f8];}static get[_0x4d478f(0xd3)](){const _0x3af785=_0x4d478f;return _0x3af785(0xc2);}static get[_0x4d478f(0x109)](){return!0x0;}static get[_0x4d478f(0xb5)](){return!0x0;}[_0x4d478f(0xa9)](){const _0x420ea7=_0x4d478f,_0x564c8f=this[_0x420ea7(0xb3)],_0x49dd07=_0x564c8f[_0x420ea7(0xdb)][_0x420ea7(0x128)](_0xe747f8);_0x564c8f[_0x420ea7(0x11f)][_0x420ea7(0xe1)](_0x420ea7(0x110))[_0x420ea7(0x11e)]({'model':_0x420ea7(0xa6),'view':(_0x26f508,{writer:_0x1e3588})=>function(_0x48af5e,_0x51c521,_0x1f52da,_0x3e2b4d){const _0x3b27f9=_0x420ea7,_0x822c64=_0x48af5e[_0x3b27f9(0x12a)][_0x3b27f9(0xf4)](':')[0x2],_0x3c7cd9=_0x1f52da[_0x3b27f9(0xf3)](_0x822c64);if(!_0x3c7cd9||_0x822c64===_0x1f52da[_0x3b27f9(0x126)])return;if(!_0x3e2b4d[_0x3b27f9(0xfb)][_0x3b27f9(0xd2)][_0x3b27f9(0x10c)](_0x48af5e[_0x3b27f9(0xcc)][_0x3b27f9(0xcf)],_0x3b27f9(0xc7)))return;const _0x1a44a4={'class':_0x3b27f9(0x124)+_0x3c7cd9[_0x3b27f9(0xad)][_0x3b27f9(0xc0)](),'data-name':_0x3c7cd9[_0x3b27f9(0xf2)],'data-session-id':_0x822c64},_0x415714=_0x3e2b4d[_0x3b27f9(0xfb)][_0x3b27f9(0xe2)][_0x3b27f9(0x128)](_0x48af5e[_0x3b27f9(0x12a)]),_0x1d0357=_0x415714[_0x3b27f9(0xb1)](),_0x196fe3=_0x1d0357[_0x3b27f9(0xa4)],_0x383def=_0x3e2b4d[_0x3b27f9(0xfb)][_0x3b27f9(0xd2)];if(_0x196fe3&&_0x383def[_0x3b27f9(0xb8)](_0x196fe3)&&_0x383def[_0x3b27f9(0xb0)](_0x196fe3)&&!_0x3e2b4d[_0x3b27f9(0xfb)][_0x3b27f9(0xe2)][_0x3b27f9(0x128)](_0x3b27f9(0xae)+_0x822c64)[_0x3b27f9(0xe4)]()[_0x3b27f9(0xd1)])return;const _0x19567b=_0x1d0357[_0x3b27f9(0x102)];return _0x3e2b4d[_0x3b27f9(0xfb)][_0x3b27f9(0xd2)][_0x3b27f9(0xc9)](_0x19567b)&&!_0x3e2b4d[_0x3b27f9(0xfb)][_0x3b27f9(0xf5)](_0x19567b)&&(_0x1a44a4[_0x3b27f9(0xdc)]=!0x1),function(_0xa4facc,_0x52327c,_0x3dc521){const _0xd3d464=_0x3b27f9,_0x484253=_0xa4facc[_0xd3d464(0xc5)](_0xd3d464(0x11c),_0x52327c);return _0xa4facc[_0xd3d464(0x116)](_0xd3d464(0x10a),!0x0,_0x484253),_0x484253[_0xd3d464(0x12b)]=function(_0x4cf32a){const _0x3968f7=_0xd3d464,_0x35c5f3=this[_0x3968f7(0xac)](_0x4cf32a),_0x13487b=document[_0x3968f7(0x122)](_0x3968f7(0x11c));return _0x13487b[_0x3968f7(0xfd)][_0x3968f7(0xc8)](_0x3968f7(0x123)),_0x13487b[_0x3968f7(0xbe)](_0x3968f7(0xdc),_0x3968f7(0x11a)),_0x13487b[_0x3968f7(0xbe)](_0x3968f7(0xc3),_0x3968f7(0x11a)),_0x13487b[_0x3968f7(0xb2)]=_0x3dc521[_0x3968f7(0xf2)],_0x35c5f3[_0x3968f7(0xc1)]=_0x3968f7(0xa5)+_0x13487b[_0x3968f7(0xbc)]+'',_0x35c5f3[_0x3968f7(0xd6)](_0x3968f7(0xdd),()=>{const _0x57dfde=_0x3968f7;_0x35c5f3[_0x57dfde(0xfd)][_0x57dfde(0xc8)](_0x57dfde(0xfa));}),_0x35c5f3[_0x3968f7(0xd6)](_0x3968f7(0xc4),()=>{const _0x3730f9=_0x3968f7;_0x35c5f3[_0x3730f9(0xfd)][_0x3730f9(0xd8)](_0x3730f9(0xfa));}),_0x35c5f3;},_0x484253[_0xd3d464(0xf6)]=function(_0x859510){const _0x326409=_0xd3d464;return!(!this[_0x326409(0xcd)](_0x326409(0x10a))||!_0x859510[_0x326409(0xcd)](_0x326409(0x10a))||this[_0x326409(0xab)](_0x326409(0xeb))!=_0x859510[_0x326409(0xab)](_0x326409(0xeb)));},_0x484253;}(_0x51c521,_0x1a44a4,_0x3c7cd9);}(_0x26f508,_0x1e3588,_0x49dd07,_0x564c8f)}),_0x564c8f[_0x420ea7(0x11f)][_0x420ea7(0xe1)](_0x420ea7(0x110))[_0x420ea7(0xc6)]({'model':_0x420ea7(0xdf),'view':_0x214ab0=>function(_0xe1fee6,_0x2a06c1){const _0x5e46c6=_0x420ea7,_0x9ec812=_0xe1fee6[_0x5e46c6(0x12a)][_0x5e46c6(0xf4)](':')[0x2];if(_0x9ec812===_0x2a06c1[_0x5e46c6(0x126)])return null;const _0xca04c8=_0x2a06c1[_0x5e46c6(0xf3)](_0x9ec812);if(!_0xca04c8)return{'id':_0x9ec812,'classes':[]};return{'id':_0x9ec812,'classes':[_0x5e46c6(0xfc),_0xca04c8[_0x5e46c6(0xad)][_0x5e46c6(0xf0)]()],'attributes':{'data-session-id':_0x9ec812},'priority':0x7d0+_0xca04c8[_0x5e46c6(0xf7)]};}(_0x214ab0,_0x49dd07)}),function(_0x256445){const _0x1da97a=_0x420ea7,_0x52e26e=_0x256445[_0x1da97a(0xfb)],_0xf816ed=new Map(),_0x4f5d36=_0x256445[_0x1da97a(0xdb)][_0x1da97a(0x128)](_0xe747f8);_0x52e26e[_0x1da97a(0xe2)]['on'](_0x1da97a(0xf9),(_0x3ea85d,_0x1d88e4,_0x271de2,_0x1a355b)=>{const _0x58491f=_0x1da97a;if(!_0x1a355b&&_0xf816ed[_0x58491f(0x128)](_0x1d88e4[_0x58491f(0xf2)]))return _0xf816ed[_0x58491f(0x128)](_0x1d88e4[_0x58491f(0xf2)])[_0x58491f(0xa7)](),void _0xf816ed[_0x58491f(0x10b)](_0x1d88e4[_0x58491f(0xf2)]);const _0x2e783f=_0x1d88e4[_0x58491f(0xf2)][_0x58491f(0xf4)](':')[0x2];if(_0x2e783f===_0x4f5d36[_0x58491f(0x126)])return;const _0x241e60=_0x58491f(0x127)+_0x2e783f;_0x52e26e[_0x58491f(0xe2)][_0x58491f(0xb7)](_0x241e60)&&_0x256445[_0x58491f(0x101)][_0x58491f(0x113)](_0x241e60),_0x1d88e4['on'](_0x58491f(0xef),(_0xd17264,_0xf6dfce,_0x56a0c6)=>{const _0x17d5f5=_0x58491f;if(_0x17d5f5(0xaa)!=_0xf6dfce[_0x17d5f5(0x117)][_0x17d5f5(0x125)]&&_0x17d5f5(0xaa)==_0x1d88e4[_0x17d5f5(0xe4)]()[_0x17d5f5(0x117)][_0x17d5f5(0x125)]&&!_0xf816ed[_0x17d5f5(0xb7)](_0x1d88e4[_0x17d5f5(0xf2)])){const _0x22376b=_0x52e26e[_0x17d5f5(0xd2)][_0x17d5f5(0xec)](_0x56a0c6[_0x17d5f5(0xd0)]);if(_0x22376b){const _0x27a3ae=_0x798c4b[_0x17d5f5(0xd4)](_0x22376b);_0xf816ed[_0x17d5f5(0xff)](_0x1d88e4[_0x17d5f5(0xf2)],_0x27a3ae),_0x27a3ae['on'](_0x17d5f5(0xef),(_0x51a89b,_0x4f2b15,_0x2f0b02)=>{const _0x540ece=_0x17d5f5;if(_0x540ece(0xaa)==_0x27a3ae[_0x540ece(0x117)][_0x540ece(0x125)]){const _0x314f9e=_0x52e26e[_0x540ece(0xd2)][_0x540ece(0xec)](_0x2f0b02[_0x540ece(0xd0)]);_0x314f9e?(_0x27a3ae[_0x540ece(0xcf)]=_0x314f9e[_0x540ece(0xcf)],_0x27a3ae[_0x540ece(0xcb)]=_0x314f9e[_0x540ece(0xcb)]):(_0xf816ed[_0x540ece(0x10b)](_0x1d88e4[_0x540ece(0xf2)]),_0x27a3ae[_0x540ece(0xa7)]());}});}}});}),_0x52e26e[_0x1da97a(0xbb)]['on'](_0x1da97a(0xca),()=>{const _0x259e97=_0x1da97a;_0xf816ed[_0x259e97(0xe6)]>0x0&&_0x52e26e[_0x259e97(0x111)]({'isUndoable':!0x1},_0x3ea777=>{const _0x1abd3b=_0x259e97;for(const [_0x2be57e,_0x2ee1a2]of _0xf816ed)_0x1abd3b(0xaa)==_0x52e26e[_0x1abd3b(0xe2)][_0x1abd3b(0x128)](_0x2be57e)[_0x1abd3b(0xe4)]()[_0x1abd3b(0x117)][_0x1abd3b(0x125)]&&(X(_0x2be57e[_0x1abd3b(0xf4)](':')[0x2],_0x2ee1a2[_0x1abd3b(0xb6)](),_0x52e26e,_0x3ea777),_0x2ee1a2[_0x1abd3b(0xa7)]());_0xf816ed[_0x1abd3b(0xda)]();});});}(_0x564c8f),this[_0x420ea7(0xf8)][_0x420ea7(0xd9)](_0x4c7c58[_0x420ea7(0xbb)],_0x420ea7(0x105),(_0xce9b3c,{key:_0x514819})=>{const _0x1c442d=_0x420ea7;_0x1c442d(0xce)===_0x514819&&function(_0x2f24e2){const _0x53eb7a=_0x1c442d;_0x2f24e2[_0x53eb7a(0x101)][_0x53eb7a(0x118)][_0x53eb7a(0xca)](_0x126508=>{const _0x1635e3=_0x53eb7a;for(const _0x44033c of _0x2f24e2[_0x1635e3(0xfb)][_0x1635e3(0xe2)]){if(!_0x44033c[_0x1635e3(0xf2)][_0x1635e3(0x107)](_0x1635e3(0xa6)))continue;const _0xbd33e6=_0x2f24e2[_0x1635e3(0x101)][_0x1635e3(0xe7)][_0x1635e3(0xa3)](_0x44033c[_0x1635e3(0xf2)]);if(_0xbd33e6){for(const _0x196bc9 of _0xbd33e6)_0x126508[_0x1635e3(0xbf)](_0x1635e3(0xfa),_0x196bc9);}}});}(_0x564c8f);},{'useCapture':!0x0});}[_0x4d478f(0xb4)](){const _0x5a9a5c=_0x4d478f,_0x1994dd=this[_0x5a9a5c(0xb3)],_0x49ba04=_0x1994dd[_0x5a9a5c(0xd7)][_0x5a9a5c(0x128)](_0x5a9a5c(0x119));_0x49ba04&&_0x1994dd[_0x5a9a5c(0xfb)]['on'](_0x5a9a5c(0xe3),(_0x4b4476,_0x5914e1)=>{const _0xaf3dcd=_0x5a9a5c,_0x129caa=_0x5914e1[0x0];if(!_0x129caa[_0xaf3dcd(0x100)])return;if(_0xaf3dcd(0x108)!=_0x129caa[_0xaf3dcd(0x10e)]||!_0x129caa[_0xaf3dcd(0xf2)][_0xaf3dcd(0x107)](_0xaf3dcd(0x11b)))return;const _0x1a0dbd=_0x129caa[_0xaf3dcd(0xd5)];_0x49ba04[_0xaf3dcd(0xe5)][_0xaf3dcd(0xb7)](_0x1a0dbd)&&(_0x129caa[_0xaf3dcd(0xaf)]=_0x129caa[_0xaf3dcd(0x115)]?_0x1994dd[_0xaf3dcd(0xfb)][_0xaf3dcd(0xbd)](_0x129caa[_0xaf3dcd(0x115)][_0xaf3dcd(0xcf)],_0x129caa[_0xaf3dcd(0x115)][_0xaf3dcd(0xcb)]):null);},{'priority':_0x5a9a5c(0x11d)});}[_0x4d478f(0x10f)](){const _0x134753=_0x4d478f;return this[_0x134753(0xf8)][_0x134753(0x120)](),super[_0x134753(0x10f)]();}[_0x4d478f(0xfe)](){const _0x5e3324=_0x4d478f,_0x21b9f4=this[_0x5e3324(0xb3)],_0x571cbd=_0x21b9f4[_0x5e3324(0xfb)][_0x5e3324(0xbb)],_0x1048f2=_0x21b9f4[_0x5e3324(0xdb)][_0x5e3324(0x128)](_0xe747f8);_0x21b9f4[_0x5e3324(0xfb)][_0x5e3324(0x111)]({'isUndoable':!0x1},_0x224a98=>{const _0x356219=_0x5e3324,_0x3191ba=_0x356219(0xae)+_0x1048f2[_0x356219(0x126)],_0x6b8b17=_0x356219(0x127)+_0x1048f2[_0x356219(0x126)],_0x31dc42=_0x21b9f4[_0x356219(0xfb)][_0x356219(0xe2)][_0x356219(0xb7)](_0x3191ba);_0x21b9f4[_0x356219(0x101)][_0x356219(0x118)][_0x356219(0xde)]?X(_0x1048f2[_0x356219(0x126)],_0x571cbd[_0x356219(0xba)][_0x356219(0x121)](),_0x21b9f4[_0x356219(0xfb)],_0x224a98):_0x31dc42&&(_0x224a98[_0x356219(0xb9)](_0x3191ba),_0x224a98[_0x356219(0xb9)](_0x6b8b17));});}}function _0x2167(_0x173adf,_0x21acc8){const _0x5ec2e7=_0x5ec2();return _0x2167=function(_0x2167e4,_0x1d2562){_0x2167e4=_0x2167e4-0xa3;let _0x523030=_0x5ec2e7[_0x2167e4];return _0x523030;},_0x2167(_0x173adf,_0x21acc8);}function X(_0x3d15c3,_0x8fb378,_0x6b28de,_0x34d47d){const _0x535a2b=_0x4d478f,_0x2edb17=_0x535a2b(0xae)+_0x3d15c3,_0x2f3cd9=_0x535a2b(0x127)+_0x3d15c3,_0x290a74=_0x8fb378[_0x535a2b(0xea)]();let _0x596727=_0x8fb378[_0x535a2b(0xcf)];if(_0x290a74&&_0x290a74['is'](_0x535a2b(0x129),_0x535a2b(0x112))){const _0x1b5c1f=function(_0x381fd8,_0x1c1ed6){const _0x1cd82a=_0x535a2b;for(const _0x236d33 of _0x381fd8[_0x1cd82a(0xee)]())if(_0x1c1ed6[_0x1cd82a(0xd2)][_0x1cd82a(0x10c)](_0x236d33,_0x1cd82a(0xc7)))return _0x236d33;}(_0x8fb378,_0x6b28de);_0x1b5c1f&&(_0x596727=_0x1b5c1f,_0x8fb378=_0x34d47d[_0x535a2b(0xbd)](_0x596727));}const _0x34d6b4=_0x34d47d[_0x535a2b(0xbd)](_0x596727);_0x6b28de[_0x535a2b(0xe2)][_0x535a2b(0xb7)](_0x2edb17)?(_0x34d47d[_0x535a2b(0x10d)](_0x2edb17,{'range':_0x8fb378}),_0x34d47d[_0x535a2b(0x10d)](_0x2f3cd9,{'range':_0x34d6b4})):(_0x34d47d[_0x535a2b(0x103)](_0x2edb17,{'range':_0x8fb378,'usingOperation':!0x0}),_0x34d47d[_0x535a2b(0x103)](_0x2f3cd9,{'range':_0x34d6b4,'usingOperation':!0x0}));}function _0x5ec2(){const _0x347dc9=['user:position:','get','element','markerName','render','markerNameToElements','nodeAfter','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','user:position','detach','1248909wHxDfT','init','$graveyard','getAttribute','toDomElement','color','user:range:','newRange','isInline','getStart','textContent','editor','afterInit','isPremiumPlugin','toRange','has','isObject','removeMarker','selection','document','outerHTML','createRange','setAttribute','removeClass','getMarkerClass','innerHTML','UserMarkers','spellcheck','mouseleave','createUIElement','markerToHighlight','$text','add','isLimit','change','end','markerRange','getCustomProperty','Escape','start','deletionPosition','isCollapsed','schema','pluginName','fromRange','batch','addEventListener','commands','remove','listenTo','clear','plugins','contenteditable','mouseenter','hasDomSelection','user:range','3014988KWLUmP','for','markers','applyOperation','getRange','_createdBatches','size','mapper','1944705smxJcA','1225968NPbFet','getContainedElement','data-session-id','getNearestSelectionRange','6078472OkJbSn','getPositions','change:range','getSelectionClass','requires','name','getUserBySessionId','split','hasContent','isSimilar','orderNumber','_domEmitter','update:user:range','ck-user__marker_hovered','model','ck-user__selection','classList','createUserMarkerOperations','set','isDocumentOperation','editing','parent','addMarker','20jOojVh','keydown','1000520RjDper','startsWith','marker','isOfficialPlugin','userPositionMarker','delete','checkChild','updateMarker','type','destroy','editingDowncast','enqueueChange','tableCell','reconvertMarker','4428183cEgMiR','oldRange','setCustomProperty','root','view','undo','false','user:','span','highest','markerToElement','conversion','stopListening','getFirstRange','createElement','ck-user__marker-tooltip','ck-user__marker\x20','rootName','mySessionId'];_0x5ec2=function(){return _0x347dc9;};return _0x5ec2();}
|
|
23
|
+
const _0x20f991=_0x459b;(function(_0x4a1db4,_0x13fadc){const _0x179709=_0x459b,_0x22d58c=_0x4a1db4();while(!![]){try{const _0x45974f=parseInt(_0x179709(0xda))/0x1*(-parseInt(_0x179709(0xc1))/0x2)+-parseInt(_0x179709(0xaf))/0x3+parseInt(_0x179709(0xd4))/0x4*(parseInt(_0x179709(0xd2))/0x5)+-parseInt(_0x179709(0xea))/0x6+parseInt(_0x179709(0x11e))/0x7*(-parseInt(_0x179709(0x12f))/0x8)+-parseInt(_0x179709(0xf5))/0x9+-parseInt(_0x179709(0x115))/0xa*(-parseInt(_0x179709(0xd6))/0xb);if(_0x45974f===_0x13fadc)break;else _0x22d58c['push'](_0x22d58c['shift']());}catch(_0x3c5db7){_0x22d58c['push'](_0x22d58c['shift']());}}}(_0x3ec5,0xd3156));import{Plugin as _0x19bb4c}from'ckeditor5/src/core.js';import{global as _0x24a72c,DomEmitterMixin as _0x49cb19}from'ckeditor5/src/utils.js';import _0x3e7717 from'./sessions.js';import{LiveRange as _0x465d14}from'ckeditor5/src/engine.js';function _0x459b(_0x1272e0,_0x8c4a51){const _0x3ec53e=_0x3ec5();return _0x459b=function(_0x459bed,_0xdcdaa3){_0x459bed=_0x459bed-0xaf;let _0x2362b0=_0x3ec53e[_0x459bed];return _0x2362b0;},_0x459b(_0x1272e0,_0x8c4a51);}import'../../theme/usermarkers.css';export default class q extends _0x19bb4c{[_0x20f991(0x125)]=new(_0x49cb19())();static get[_0x20f991(0x110)](){return[_0x3e7717];}static get[_0x20f991(0x10d)](){const _0x2e4a7c=_0x20f991;return _0x2e4a7c(0xe4);}static get[_0x20f991(0x136)](){return!0x0;}static get[_0x20f991(0xb4)](){return!0x0;}[_0x20f991(0xfe)](){const _0x4a24b7=_0x20f991,_0x456925=this[_0x4a24b7(0x122)],_0x2ad410=_0x456925[_0x4a24b7(0xf9)][_0x4a24b7(0xcb)](_0x3e7717);_0x456925[_0x4a24b7(0x127)][_0x4a24b7(0xf7)](_0x4a24b7(0x135))[_0x4a24b7(0x129)]({'model':_0x4a24b7(0xbd),'view':(_0x30572a,{writer:_0x1206b9})=>function(_0x3dbb5f,_0x208c26,_0x5ec88d,_0x2b4789){const _0x4f8835=_0x4a24b7,_0x395e0d=_0x3dbb5f[_0x4f8835(0x128)][_0x4f8835(0x116)](':')[0x2],_0x23224c=_0x5ec88d[_0x4f8835(0xb5)](_0x395e0d);if(!_0x23224c||_0x395e0d===_0x5ec88d[_0x4f8835(0xe9)])return;if(!_0x2b4789[_0x4f8835(0x105)][_0x4f8835(0xdf)][_0x4f8835(0xe6)](_0x3dbb5f[_0x4f8835(0x137)][_0x4f8835(0xc9)],_0x4f8835(0xdd)))return;const _0x3064a0={'class':_0x4f8835(0xfd)+_0x23224c[_0x4f8835(0x123)][_0x4f8835(0xcf)](),'data-name':_0x23224c[_0x4f8835(0xcc)],'data-session-id':_0x395e0d},_0x384a4b=_0x2b4789[_0x4f8835(0x105)][_0x4f8835(0x103)][_0x4f8835(0xcb)](_0x3dbb5f[_0x4f8835(0x128)]),_0x47e221=_0x384a4b[_0x4f8835(0xba)](),_0x2c97e0=_0x47e221[_0x4f8835(0x12d)],_0x44769d=_0x2b4789[_0x4f8835(0x105)][_0x4f8835(0xdf)];if(_0x2c97e0&&_0x44769d[_0x4f8835(0x10e)](_0x2c97e0)&&_0x44769d[_0x4f8835(0xc3)](_0x2c97e0)&&!_0x2b4789[_0x4f8835(0x105)][_0x4f8835(0x103)][_0x4f8835(0xcb)](_0x4f8835(0x109)+_0x395e0d)[_0x4f8835(0xfc)]()[_0x4f8835(0x130)])return;const _0x5ea3ec=_0x47e221[_0x4f8835(0xf0)];return _0x2b4789[_0x4f8835(0x105)][_0x4f8835(0xdf)][_0x4f8835(0xc0)](_0x5ea3ec)&&!_0x2b4789[_0x4f8835(0x105)][_0x4f8835(0x10f)](_0x5ea3ec)&&(_0x3064a0[_0x4f8835(0xc5)]=!0x1),function(_0x312145,_0x3bca13,_0x4d4227){const _0x15faff=_0x4f8835,_0xb86d24=_0x312145[_0x15faff(0x108)](_0x15faff(0xf8),_0x3bca13);return _0x312145[_0x15faff(0xc6)](_0x15faff(0x139),!0x0,_0xb86d24),_0xb86d24[_0x15faff(0xdc)]=function(_0x1a7066){const _0x295bd6=_0x15faff,_0x5cee8d=this[_0x295bd6(0xed)](_0x1a7066),_0x46c810=document[_0x295bd6(0x100)](_0x295bd6(0xf8));return _0x46c810[_0x295bd6(0xf4)][_0x295bd6(0xbb)](_0x295bd6(0xe2)),_0x46c810[_0x295bd6(0xcd)](_0x295bd6(0xc5),_0x295bd6(0x13a)),_0x46c810[_0x295bd6(0xcd)](_0x295bd6(0xb2),_0x295bd6(0x13a)),_0x46c810[_0x295bd6(0xc2)]=_0x4d4227[_0x295bd6(0xcc)],_0x5cee8d[_0x295bd6(0x132)]=_0x295bd6(0xe3)+_0x46c810[_0x295bd6(0xfb)]+'',_0x5cee8d[_0x295bd6(0x11a)](_0x295bd6(0xe5),()=>{const _0x406401=_0x295bd6;_0x5cee8d[_0x406401(0xf4)][_0x406401(0xbb)](_0x406401(0x112));}),_0x5cee8d[_0x295bd6(0x11a)](_0x295bd6(0x113),()=>{const _0x20ce97=_0x295bd6;_0x5cee8d[_0x20ce97(0xf4)][_0x20ce97(0x104)](_0x20ce97(0x112));}),_0x5cee8d;},_0xb86d24[_0x15faff(0xd1)]=function(_0x4e83e6){const _0xdadb57=_0x15faff;return!(!this[_0xdadb57(0x11b)](_0xdadb57(0x139))||!_0x4e83e6[_0xdadb57(0x11b)](_0xdadb57(0x139))||this[_0xdadb57(0xc8)](_0xdadb57(0x12a))!=_0x4e83e6[_0xdadb57(0xc8)](_0xdadb57(0x12a)));},_0xb86d24;}(_0x208c26,_0x3064a0,_0x23224c);}(_0x30572a,_0x1206b9,_0x2ad410,_0x456925)}),_0x456925[_0x4a24b7(0x127)][_0x4a24b7(0xf7)](_0x4a24b7(0x135))[_0x4a24b7(0xb8)]({'model':_0x4a24b7(0xf1),'view':_0x4d24d3=>function(_0x3726e4,_0x10950f){const _0x5a5ce7=_0x4a24b7,_0x2fd4bb=_0x3726e4[_0x5a5ce7(0x128)][_0x5a5ce7(0x116)](':')[0x2];if(_0x2fd4bb===_0x10950f[_0x5a5ce7(0xe9)])return null;const _0x23a63c=_0x10950f[_0x5a5ce7(0xb5)](_0x2fd4bb);if(!_0x23a63c)return{'id':_0x2fd4bb,'classes':[]};return{'id':_0x2fd4bb,'classes':[_0x5a5ce7(0x124),_0x23a63c[_0x5a5ce7(0x123)][_0x5a5ce7(0xde)]()],'attributes':{'data-session-id':_0x2fd4bb},'priority':0x7d0+_0x23a63c[_0x5a5ce7(0xbc)]};}(_0x4d24d3,_0x2ad410)}),function(_0xb648e5){const _0x4cfc96=_0x4a24b7,_0x54a4cf=_0xb648e5[_0x4cfc96(0x105)],_0xb45a89=new Map(),_0x27418a=_0xb648e5[_0x4cfc96(0xf9)][_0x4cfc96(0xcb)](_0x3e7717);_0x54a4cf[_0x4cfc96(0x103)]['on'](_0x4cfc96(0x11f),(_0x2a5a59,_0x452edc,_0x2899cc,_0x5b2ddf)=>{const _0x201183=_0x4cfc96;if(!_0x5b2ddf&&_0xb45a89[_0x201183(0xcb)](_0x452edc[_0x201183(0xcc)]))return _0xb45a89[_0x201183(0xcb)](_0x452edc[_0x201183(0xcc)])[_0x201183(0x111)](),void _0xb45a89[_0x201183(0x107)](_0x452edc[_0x201183(0xcc)]);const _0x136d27=_0x452edc[_0x201183(0xcc)][_0x201183(0x116)](':')[0x2];if(_0x136d27===_0x27418a[_0x201183(0xe9)])return;const _0x370905=_0x201183(0x120)+_0x136d27;_0x54a4cf[_0x201183(0x103)][_0x201183(0xe1)](_0x370905)&&_0xb648e5[_0x201183(0x126)][_0x201183(0xd0)](_0x370905),_0x452edc['on'](_0x201183(0xd3),(_0x2293d8,_0x2d8a0a,_0x32bd78)=>{const _0x3e8b81=_0x201183;if(_0x3e8b81(0x12b)!=_0x2d8a0a[_0x3e8b81(0x121)][_0x3e8b81(0x131)]&&_0x3e8b81(0x12b)==_0x452edc[_0x3e8b81(0xfc)]()[_0x3e8b81(0x121)][_0x3e8b81(0x131)]&&!_0xb45a89[_0x3e8b81(0xe1)](_0x452edc[_0x3e8b81(0xcc)])){const _0x494bc9=_0x54a4cf[_0x3e8b81(0xdf)][_0x3e8b81(0xca)](_0x32bd78[_0x3e8b81(0xb0)]);if(_0x494bc9){const _0x59a8d8=_0x465d14[_0x3e8b81(0x101)](_0x494bc9);_0xb45a89[_0x3e8b81(0xe7)](_0x452edc[_0x3e8b81(0xcc)],_0x59a8d8),_0x59a8d8['on'](_0x3e8b81(0xd3),(_0xbdd30b,_0x14104d,_0x5ececc)=>{const _0x2dbfd5=_0x3e8b81;if(_0x2dbfd5(0x12b)==_0x59a8d8[_0x2dbfd5(0x121)][_0x2dbfd5(0x131)]){const _0x598b5a=_0x54a4cf[_0x2dbfd5(0xdf)][_0x2dbfd5(0xca)](_0x5ececc[_0x2dbfd5(0xb0)]);_0x598b5a?(_0x59a8d8[_0x2dbfd5(0xc9)]=_0x598b5a[_0x2dbfd5(0xc9)],_0x59a8d8[_0x2dbfd5(0x114)]=_0x598b5a[_0x2dbfd5(0x114)]):(_0xb45a89[_0x2dbfd5(0x107)](_0x452edc[_0x2dbfd5(0xcc)]),_0x59a8d8[_0x2dbfd5(0x111)]());}});}}});}),_0x54a4cf[_0x4cfc96(0x106)]['on'](_0x4cfc96(0xce),()=>{const _0x2c4d3a=_0x4cfc96;_0xb45a89[_0x2c4d3a(0x10a)]>0x0&&_0x54a4cf[_0x2c4d3a(0xb1)]({'isUndoable':!0x1},_0x419bc6=>{const _0x8f73ff=_0x2c4d3a;for(const [_0x25624e,_0x1f4cd1]of _0xb45a89)_0x8f73ff(0x12b)==_0x54a4cf[_0x8f73ff(0x103)][_0x8f73ff(0xcb)](_0x25624e)[_0x8f73ff(0xfc)]()[_0x8f73ff(0x121)][_0x8f73ff(0x131)]&&(te(_0x25624e[_0x8f73ff(0x116)](':')[0x2],_0x1f4cd1[_0x8f73ff(0xff)](),_0x54a4cf,_0x419bc6),_0x1f4cd1[_0x8f73ff(0x111)]());_0xb45a89[_0x8f73ff(0xb3)]();});});}(_0x456925),this[_0x4a24b7(0x125)][_0x4a24b7(0x11d)](_0x24a72c[_0x4a24b7(0x106)],_0x4a24b7(0x118),(_0x40044d,{key:_0x2fbb89})=>{const _0x42756b=_0x4a24b7;_0x42756b(0x138)===_0x2fbb89&&function(_0x5b0f27){const _0x31d8da=_0x42756b;_0x5b0f27[_0x31d8da(0x126)][_0x31d8da(0xd8)][_0x31d8da(0xce)](_0x3e8b19=>{const _0x51f243=_0x31d8da;for(const _0x4d4da0 of _0x5b0f27[_0x51f243(0x105)][_0x51f243(0x103)]){if(!_0x4d4da0[_0x51f243(0xcc)][_0x51f243(0x119)](_0x51f243(0xbd)))continue;const _0x4473f8=_0x5b0f27[_0x51f243(0x126)][_0x51f243(0xeb)][_0x51f243(0xb6)](_0x4d4da0[_0x51f243(0xcc)]);if(_0x4473f8){for(const _0x307e8d of _0x4473f8)_0x3e8b19[_0x51f243(0xc4)](_0x51f243(0x112),_0x307e8d);}}});}(_0x456925);},{'useCapture':!0x0});}[_0x20f991(0x12c)](){const _0x77f0ba=_0x20f991,_0x1be082=this[_0x77f0ba(0x122)],_0x4fea1c=_0x1be082[_0x77f0ba(0xec)][_0x77f0ba(0xcb)](_0x77f0ba(0xf6));_0x4fea1c&&_0x1be082[_0x77f0ba(0x105)]['on'](_0x77f0ba(0xee),(_0x3e9d3d,_0x26178e)=>{const _0x14ffcf=_0x77f0ba,_0x435a22=_0x26178e[0x0];if(!_0x435a22[_0x14ffcf(0xdb)])return;if(_0x14ffcf(0x11c)!=_0x435a22[_0x14ffcf(0x102)]||!_0x435a22[_0x14ffcf(0xcc)][_0x14ffcf(0x119)](_0x14ffcf(0xb7)))return;const _0x48c396=_0x435a22[_0x14ffcf(0xfa)];_0x4fea1c[_0x14ffcf(0x10c)][_0x14ffcf(0xe1)](_0x48c396)&&(_0x435a22[_0x14ffcf(0xe0)]=_0x435a22[_0x14ffcf(0xef)]?_0x1be082[_0x14ffcf(0x105)][_0x14ffcf(0xd9)](_0x435a22[_0x14ffcf(0xef)][_0x14ffcf(0xc9)],_0x435a22[_0x14ffcf(0xef)][_0x14ffcf(0x114)]):null);},{'priority':_0x77f0ba(0xd5)});}[_0x20f991(0xbf)](){const _0x3d59e4=_0x20f991;return this[_0x3d59e4(0x125)][_0x3d59e4(0xe8)](),super[_0x3d59e4(0xbf)]();}[_0x20f991(0xb9)](){const _0x547633=_0x20f991,_0xbd611d=this[_0x547633(0x122)],_0x54bc70=_0xbd611d[_0x547633(0x105)][_0x547633(0x106)],_0xdcd2df=_0xbd611d[_0x547633(0xf9)][_0x547633(0xcb)](_0x3e7717);_0xbd611d[_0x547633(0x105)][_0x547633(0xb1)]({'isUndoable':!0x1},_0x4390f9=>{const _0x3117b4=_0x547633,_0x7fbf3d=_0x3117b4(0x109)+_0xdcd2df[_0x3117b4(0xe9)],_0x2beb9f=_0x3117b4(0x120)+_0xdcd2df[_0x3117b4(0xe9)],_0x44ca42=_0xbd611d[_0x3117b4(0x105)][_0x3117b4(0x103)][_0x3117b4(0xe1)](_0x7fbf3d);_0xbd611d[_0x3117b4(0x126)][_0x3117b4(0xd8)][_0x3117b4(0x134)]?te(_0xdcd2df[_0x3117b4(0xe9)],_0x54bc70[_0x3117b4(0x12e)][_0x3117b4(0xf2)](),_0xbd611d[_0x3117b4(0x105)],_0x4390f9):_0x44ca42&&(_0x4390f9[_0x3117b4(0x10b)](_0x7fbf3d),_0x4390f9[_0x3117b4(0x10b)](_0x2beb9f));});}}function te(_0x30b3f9,_0x40c3a0,_0x35872f,_0x3f9593){const _0x28fe46=_0x20f991,_0x3ca04f=_0x28fe46(0x109)+_0x30b3f9,_0x2cc7e7=_0x28fe46(0x120)+_0x30b3f9,_0x174fb8=_0x40c3a0[_0x28fe46(0xf3)]();let _0x1844fc=_0x40c3a0[_0x28fe46(0xc9)];if(_0x174fb8&&_0x174fb8['is'](_0x28fe46(0xd7),_0x28fe46(0x133))){const _0x30479b=function(_0x22147e,_0x1696be){const _0x5d7107=_0x28fe46;for(const _0x4a97c5 of _0x22147e[_0x5d7107(0x117)]())if(_0x1696be[_0x5d7107(0xdf)][_0x5d7107(0xe6)](_0x4a97c5,_0x5d7107(0xdd)))return _0x4a97c5;}(_0x40c3a0,_0x35872f);_0x30479b&&(_0x1844fc=_0x30479b,_0x40c3a0=_0x3f9593[_0x28fe46(0xd9)](_0x1844fc));}const _0x4d22a8=_0x3f9593[_0x28fe46(0xd9)](_0x1844fc);_0x35872f[_0x28fe46(0x103)][_0x28fe46(0xe1)](_0x3ca04f)?(_0x3f9593[_0x28fe46(0xc7)](_0x3ca04f,{'range':_0x40c3a0}),_0x3f9593[_0x28fe46(0xc7)](_0x2cc7e7,{'range':_0x4d22a8})):(_0x3f9593[_0x28fe46(0xbe)](_0x3ca04f,{'range':_0x40c3a0,'usingOperation':!0x0}),_0x3f9593[_0x28fe46(0xbe)](_0x2cc7e7,{'range':_0x4d22a8,'usingOperation':!0x0}));}function _0x3ec5(){const _0x12dbef=['getMarkerClass','reconvertMarker','isSimilar','80515aKHynD','change:range','412tbeUWM','highest','11kknyQF','element','view','createRange','49QdtjOS','isDocumentOperation','render','$text','getSelectionClass','schema','newRange','has','ck-user__marker-tooltip','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','UserMarkers','mouseenter','checkChild','set','stopListening','mySessionId','968394dsoSFL','mapper','commands','toDomElement','applyOperation','oldRange','parent','user:range','getFirstRange','getContainedElement','classList','6527943jYdNet','undo','for','span','plugins','batch','outerHTML','getRange','ck-user__marker\x20','init','toRange','createElement','fromRange','type','markers','remove','model','document','delete','createUIElement','user:range:','size','removeMarker','_createdBatches','pluginName','isObject','hasContent','requires','detach','ck-user__marker_hovered','mouseleave','end','24777730sIREjq','split','getPositions','keydown','startsWith','addEventListener','getCustomProperty','marker','listenTo','202559UMnCMD','update:user:range','user:position:','root','editor','color','ck-user__selection','_domEmitter','editing','conversion','markerName','markerToElement','data-session-id','$graveyard','afterInit','nodeAfter','selection','344eKmvyq','isCollapsed','rootName','innerHTML','tableCell','hasDomSelection','editingDowncast','isOfficialPlugin','markerRange','Escape','userPositionMarker','false','1685349EAyJrH','deletionPosition','enqueueChange','spellcheck','clear','isPremiumPlugin','getUserBySessionId','markerNameToElements','user:','markerToHighlight','createUserMarkerOperations','getStart','add','orderNumber','user:position','addMarker','destroy','isLimit','23632KkWXvM','textContent','isInline','removeClass','contenteditable','setCustomProperty','updateMarker','getAttribute','start','getNearestSelectionRange','get','name','setAttribute','change'];_0x3ec5=function(){return _0x12dbef;};return _0x3ec5();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x40ab14=_0x59ef;function _0x247f(){const _0x41477c=['showWarning','_isBrowserOffline','define','constructor','_reconnectionStack','websocketgateway-plugin-already-registered','1095884FEXFtm','all','context','bind','webSocketUrl','connected','add','11682968hQGnXN','destroy','online','websocketgateway-missing-websocket-url','cloudservices-reconnection-error','catch','598569idazxc','552JeQsuq','5oyVIJM','connect','WebSocketGateway','get','offline','plugins','then','addToReconnectionStack','real-time-collaboration','from','DISCONNECTED','create','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.','CONNECTING','state','change:me','removeFromReconnectionStack','initialReconnectionInterval','1905200cVajuX','_shouldPluginsReconnect','connection','cloudservices-init','stopListening','has','isPremiumPlugin','listenTo','function','requires','pluginName','websocketgateway-invalid-plugin-interface','966vhvNiA','6579deUrKJ','cloudServices.connectionTimeout','code','delete','token','isInReconnectionStack','2cYJEMi','_domEmitter','error','limitExceeded','init','reconnect','websocketgateway-missing-token','CloudServices','cloudServices.requestTimeout','4760mrrEpA','isOfficialPlugin','disconnect','Connected\x20users\x20limit\x20exceeded','set','_reconnect','CONNECTED','config','1291293JvuKLJ'];_0x247f=function(){return _0x41477c;};return _0x247f();}(function(_0x2c9582,_0x3aa8b4){const _0x563c84=_0x59ef,_0x172418=_0x2c9582();while(!![]){try{const _0x4db01f=parseInt(_0x563c84(0x18d))/0x1+-parseInt(_0x563c84(0x1b4))/0x2*(-parseInt(_0x563c84(0x1c5))/0x3)+parseInt(_0x563c84(0x180))/0x4*(-parseInt(_0x563c84(0x18f))/0x5)+parseInt(_0x563c84(0x18e))/0x6*(parseInt(_0x563c84(0x1ad))/0x7)+-parseInt(_0x563c84(0x1bd))/0x8*(-parseInt(_0x563c84(0x1ae))/0x9)+parseInt(_0x563c84(0x1a1))/0xa+-parseInt(_0x563c84(0x187))/0xb;if(_0x4db01f===_0x3aa8b4)break;else _0x172418['push'](_0x172418['shift']());}catch(_0x120ae7){_0x172418['push'](_0x172418['shift']());}}}(_0x247f,0x50d5e));import{ContextPlugin as _0x2678ca}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x46db4b,CKEditorError as _0x30a973}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x10fc48,WEB_SOCKET_GATEWAY_STATES as _0x3b7c1f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x59ef(_0x242905,_0x2aaa85){const _0x247f62=_0x247f();return _0x59ef=function(_0x59efba,_0x2b8c6a){_0x59efba=_0x59efba-0x17e;let _0x5b882c=_0x247f62[_0x59efba];return _0x5b882c;},_0x59ef(_0x242905,_0x2aaa85);}import{Notification as _0x251fb7}from'ckeditor5/src/ui.js';class c extends _0x2678ca{static [_0x40ab14(0x191)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x10fc48)());static [_0x40ab14(0x1a0)]=0x3e8;[_0x40ab14(0x1a3)];[_0x40ab14(0x17e)];[_0x40ab14(0x1a2)];[_0x40ab14(0x1b5)];static get[_0x40ab14(0x1aa)](){const _0x417277=_0x40ab14;return[_0x417277(0x1bb),_0x251fb7];}static get[_0x40ab14(0x1ab)](){const _0x34e26f=_0x40ab14;return _0x34e26f(0x191);}static get[_0x40ab14(0x1be)](){return!0x0;}static get[_0x40ab14(0x1a7)](){return!0x0;}constructor(_0x277d0a){const _0x545552=_0x40ab14;super(_0x277d0a),this[_0x545552(0x1c1)](_0x545552(0x19d),_0x3b7c1f[_0x545552(0x1c3)]),this[_0x545552(0x1c1)](_0x545552(0x1c7),!0x1),this[_0x545552(0x17e)]=new Set(),this[_0x545552(0x1a2)]=!0x1,this[_0x545552(0x1b5)]=Object[_0x545552(0x19a)](_0x46db4b);}[_0x40ab14(0x1b8)](){const _0x7e86be=_0x40ab14,_0x218707=this[_0x7e86be(0x182)],_0xe3acef=_0x218707[_0x7e86be(0x194)][_0x7e86be(0x192)](_0x7e86be(0x1bb)),_0x230dff=_0x218707[_0x7e86be(0x194)][_0x7e86be(0x192)](_0x251fb7);if(!_0xe3acef[_0x7e86be(0x1b2)])throw new _0x30a973(_0x7e86be(0x1ba),this);if(!_0xe3acef[_0x7e86be(0x184)])throw new _0x30a973(_0x7e86be(0x18a),this);return this[_0x7e86be(0x1b5)][_0x7e86be(0x1a8)](window,_0x7e86be(0x193),()=>this[_0x7e86be(0x1c7)]=!0x0),this[_0x7e86be(0x1b5)][_0x7e86be(0x1a8)](window,_0x7e86be(0x189),()=>this[_0x7e86be(0x1c7)]=!0x1),this[_0x7e86be(0x182)][_0x7e86be(0x1c4)][_0x7e86be(0x1c8)](_0x7e86be(0x1af),0xa),this[_0x7e86be(0x182)][_0x7e86be(0x1c4)][_0x7e86be(0x1c8)](_0x7e86be(0x1bc),0x14),c[_0x7e86be(0x191)][_0x7e86be(0x190)](_0xe3acef[_0x7e86be(0x1b2)],_0xe3acef[_0x7e86be(0x184)],{'timeout':0x3e8*this[_0x7e86be(0x182)][_0x7e86be(0x1c4)][_0x7e86be(0x192)](_0x7e86be(0x1af)),'requestTimeout':0x3e8*this[_0x7e86be(0x182)][_0x7e86be(0x1c4)][_0x7e86be(0x192)](_0x7e86be(0x1bc))})[_0x7e86be(0x195)](_0x473282=>{const _0x46ada2=_0x7e86be;if(this[_0x46ada2(0x1a3)]=_0x473282,this[_0x46ada2(0x183)](_0x46ada2(0x19d))['to'](_0x473282,_0x46ada2(0x19d),this,_0x46ada2(0x1c7),(_0x4bb428,_0x57e5ba)=>(_0x46ada2(0x185)!==_0x4bb428&&(this[_0x46ada2(0x1a2)]=!0x0),_0x57e5ba||_0x4bb428!==_0x3b7c1f[_0x46ada2(0x1c3)]?_0x3b7c1f[_0x46ada2(0x199)]:this[_0x46ada2(0x19d)]==_0x3b7c1f[_0x46ada2(0x199)]&&this[_0x46ada2(0x1a2)]?(this[_0x46ada2(0x1a2)]=!0x1,this[_0x46ada2(0x1c2)](),_0x3b7c1f[_0x46ada2(0x19c)]):_0x3b7c1f[_0x46ada2(0x1c3)])),this[_0x46ada2(0x1a3)]['on'](_0x46ada2(0x1b6),(_0x4aa002,_0x554bbc)=>{const _0x16e0b6=_0x46ada2;if(_0x16e0b6(0x1b7)!==_0x554bbc[_0x16e0b6(0x1b0)])throw console[_0x16e0b6(0x1b6)](_0x554bbc),new _0x30a973(_0x16e0b6(0x1a4),null,{'originalError':_0x554bbc});_0x230dff[_0x16e0b6(0x1c6)](_0x16e0b6(0x19b),{'title':_0x16e0b6(0x1c0),'namespace':_0x16e0b6(0x197)});}),!_0x473282['me'])return new Promise(_0x2cc0be=>_0x473282['on'](_0x46ada2(0x19e),_0x2cc0be));})[_0x7e86be(0x18c)](_0x4f6c1d=>{const _0x1bbad8=_0x7e86be;throw console[_0x1bbad8(0x1b6)](_0x4f6c1d),new _0x30a973(_0x1bbad8(0x1a4),null,{'originalError':_0x4f6c1d});});}[_0x40ab14(0x196)](_0x26127c){const _0x8c50c1=_0x40ab14;if(_0x8c50c1(0x1a9)!=typeof _0x26127c[_0x8c50c1(0x1b9)])throw new _0x30a973(_0x8c50c1(0x1ac),this);if(this[_0x8c50c1(0x1b3)](_0x26127c))throw new _0x30a973(_0x8c50c1(0x17f),this,{'name':_0x26127c[_0x8c50c1(0x1c9)][_0x8c50c1(0x1ab)]});this[_0x8c50c1(0x17e)][_0x8c50c1(0x186)](_0x26127c);}[_0x40ab14(0x19f)](_0x3c8301){const _0x3b56d1=_0x40ab14;this[_0x3b56d1(0x17e)][_0x3b56d1(0x1b1)](_0x3c8301);}[_0x40ab14(0x1b3)](_0x4e6c68){const _0x24a7aa=_0x40ab14;return this[_0x24a7aa(0x17e)][_0x24a7aa(0x1a6)](_0x4e6c68);}[_0x40ab14(0x1c2)](){const _0x325fe7=_0x40ab14;return this[_0x325fe7(0x1a3)][_0x325fe7(0x1b9)]()[_0x325fe7(0x195)](()=>Promise[_0x325fe7(0x181)](Array[_0x325fe7(0x198)](this[_0x325fe7(0x17e)],_0x37b602=>_0x37b602[_0x325fe7(0x1b9)]())))[_0x325fe7(0x195)](()=>this[_0x325fe7(0x19d)]=_0x3b7c1f[_0x325fe7(0x1c3)])[_0x325fe7(0x18c)](_0x124792=>{const _0x5e395d=_0x325fe7;throw console[_0x5e395d(0x1b6)](_0x124792),new _0x30a973(_0x5e395d(0x18b),this[_0x5e395d(0x182)]);});}[_0x40ab14(0x1bf)](){const _0x54db7c=_0x40ab14;this[_0x54db7c(0x1a3)]&&this[_0x54db7c(0x1a3)][_0x54db7c(0x1bf)](),this[_0x54db7c(0x19d)]=_0x3b7c1f[_0x54db7c(0x199)],this[_0x54db7c(0x1b5)][_0x54db7c(0x1a5)]();}[_0x40ab14(0x188)](){const _0x444901=_0x40ab14;this[_0x444901(0x1bf)](),super[_0x444901(0x188)]();}}export default c;
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x431e7a)());[_0x5aaca3(0x10c)];[_0x5aaca3(0xde)];[_0x5aaca3(0xd1)];[_0x5aaca3(0xe7)];static get[_0x5aaca3(0xc7)](){const _0x501f97=_0x5aaca3;return[_0x37a557,_0x182abd,_0x501f97(0xd0),_0x58f38b,_0x4abdab];}static get[_0x5aaca3(0xb4)](){const _0x18632b=_0x5aaca3;return _0x18632b(0x126);}static get[_0x5aaca3(0xe1)](){return!0x0;}static get[_0x5aaca3(0xda)](){return!0x0;}constructor(_0x1b6355){const _0x5406e7=_0x5aaca3;super(_0x1b6355);const _0x59463a=this[_0x5406e7(0xc8)][_0x5406e7(0xb7)][_0x5406e7(0x122)](_0x5406e7(0xf8));this[_0x5406e7(0x10c)]=null,this[_0x5406e7(0xde)]=this[_0x5406e7(0xc8)][_0x5406e7(0x105)][_0x5406e7(0x122)](_0x5406e7(0xd4)),this[_0x5406e7(0xd1)]=new u[(_0x5406e7(0xb6))](_0x59463a);}async[_0x5aaca3(0xb5)](){const _0x23d56d=_0x5aaca3,_0x58d586=this[_0x23d56d(0xc8)][_0x23d56d(0x105)][_0x23d56d(0x122)](_0x182abd),_0x430890=_0x58d586[_0x23d56d(0xff)],_0x435c47=this[_0x23d56d(0xc8)][_0x23d56d(0x105)][_0x23d56d(0x122)](_0x37a557);this[_0x23d56d(0xde)][_0x23d56d(0x119)]({'history':_0x430890,'getLatestVersion':()=>this[_0x23d56d(0xd2)](),'getCurrentRevisionId':()=>_0x58d586[_0x23d56d(0xcf)]});const _0x215f4e=this[_0x23d56d(0xc8)][_0x23d56d(0xb7)][_0x23d56d(0x122)](_0x23d56d(0x123))||_0x1b107d,_0x49c44c=await _0x6c2636[_0x23d56d(0x121)](_0x435c47[_0x23d56d(0xc4)],_0x215f4e);this[_0x23d56d(0xc8)][_0x23d56d(0x105)][_0x23d56d(0x122)](_0x23d56d(0xd0))[_0x23d56d(0x11c)]={'getRevision':async({revisionId:_0xfd87b1})=>(await this[_0x23d56d(0xbb)](),await this[_0x23d56d(0xd1)][_0x23d56d(0xdd)](_0xfd87b1)),'updateRevisions':async _0x363f51=>{const _0x434181=_0x23d56d;await this[_0x434181(0xbb)]();const _0x3d02aa=this[_0x434181(0xde)][_0x434181(0xf1)];if(_0x49c44c&&0x1===_0x363f51[_0x434181(0xfd)]&&_0x363f51[0x0]['id']===_0x3d02aa['id'])return _0x363f51;for(const _0x5bf3e0 of _0x363f51)_0x5bf3e0['id']===_0x3d02aa['id']&&(_0x5bf3e0[_0x434181(0xd6)]=_0x5bf3e0[_0x434181(0xc5)]===_0x5bf3e0[_0x434181(0xd9)]);return this[_0x434181(0xd1)][_0x434181(0xdf)](_0x363f51,this[_0x434181(0x10c)])[_0x434181(0xfc)](_0x571f4d=>(this[_0x434181(0x10c)]=_0x571f4d,_0x363f51))[_0x434181(0xfa)](_0x3fe3be=>{const _0x903ee2=_0x434181;if(ct(_0x3fe3be)||_0x903ee2(0xea)===_0x3fe3be[_0x903ee2(0x127)]&&void 0x0!==_0x3fe3be[_0x903ee2(0xd8)][_0x903ee2(0x114)]){for(const _0x50b826 of _0x363f51){!this[_0x903ee2(0xde)][_0x903ee2(0xe3)][_0x903ee2(0xdd)](_0x50b826['id'])||this[_0x903ee2(0xde)][_0x903ee2(0xe9)](_0x50b826['id'],_0x50b826,!0x1);}if(ct(_0x3fe3be))throw _0x3fe3be;return _0x363f51;}throw _0x3fe3be;});}},this[_0x23d56d(0xc2)](this[_0x23d56d(0xd1)],_0x23d56d(0x10d),(_0x401b6b,{revisionsData:_0x2fd621,requestId:_0x7dfc10})=>{const _0xe5626f=_0x23d56d;Math[_0xe5626f(0xf0)](..._0x2fd621[_0xe5626f(0xeb)](_0x1844ef=>_0x1844ef[_0xe5626f(0xd9)]))>this[_0xe5626f(0x107)]()-0x1?this[_0xe5626f(0xd2)]()[_0xe5626f(0xfc)](()=>{const _0x38a74c=_0xe5626f;this[_0x38a74c(0xbd)](_0x2fd621,_0x7dfc10);}):this[_0xe5626f(0xbd)](_0x2fd621,_0x7dfc10);});const {revisions:_0x1248eb,requestId:_0x42f773}=await this[_0x23d56d(0xd1)][_0x23d56d(0xe8)](_0x435c47[_0x23d56d(0xc4)]);_0x435c47[_0x23d56d(0xe2)](this),this[_0x23d56d(0x10c)]=_0x42f773,await this[_0x23d56d(0x11b)](_0x1248eb);for(const _0x29fdde of _0x1248eb)this[_0x23d56d(0xde)][_0x23d56d(0xc1)](_0x29fdde);this[_0x23d56d(0xc2)](_0x58d586,_0x23d56d(0x118),(_0x10b54c,_0x15599f,_0x55f286)=>{const _0x343a71=_0x23d56d;_0x55f286&&(this[_0x343a71(0xe7)]=_0x58d586[_0x343a71(0xc9)],_0x10b54c[_0x343a71(0x101)]());}),this[_0x23d56d(0xde)][_0x23d56d(0x120)](_0x23d56d(0xd3))['to'](_0x435c47,_0x23d56d(0xb9),_0x425b85=>_0x425b85===_0x53a8ea[_0x23d56d(0x10f)]);}async[_0x5aaca3(0x11d)](){const _0x587746=_0x5aaca3,_0x17f999=this[_0x587746(0xc8)][_0x587746(0x105)][_0x587746(0x122)](_0x37a557),_0x56621=this[_0x587746(0xc8)][_0x587746(0x105)][_0x587746(0x122)](_0x182abd),_0x4eedb5=async()=>{const _0x3a46a4=_0x587746,_0x34095b=this[_0x3a46a4(0xde)][_0x3a46a4(0xf1)],_0x4f7a50=_0x34095b['id'],_0x32ff49=_0x4f7a50!==_0x56621[_0x3a46a4(0xcf)];if(_0x32ff49){const _0x3eb6e3=_0x56621[_0x3a46a4(0xc9)]-this[_0x3a46a4(0xe7)],_0x115b72=this[_0x3a46a4(0x107)]();this[_0x3a46a4(0xde)][_0x3a46a4(0x116)][_0x3a46a4(0xca)]();if(_0x34095b[_0x3a46a4(0xd9)]+_0x3eb6e3!==_0x115b72){const _0x5a62b2=_0x34095b[_0x3a46a4(0xc5)]+_0x3eb6e3,_0x48a473=this[_0x3a46a4(0xc8)][_0x3a46a4(0x105)][_0x3a46a4(0x122)](_0x4abdab),_0x2a05f4=this[_0x3a46a4(0xde)][_0x3a46a4(0x103)]({'revision':_0x34095b,'from':_0x5a62b2,'to':_0x115b72});_0x2a05f4['id']=_0x34095b['id'];const _0x49bf79=_0x2a05f4[_0x3a46a4(0xbe)][_0x3a46a4(0xeb)](_0x26f4ff=>_0x48a473[_0x3a46a4(0xba)](_0x26f4ff));_0x34095b[_0x3a46a4(0xbf)]({..._0x2a05f4,'authors':_0x49bf79},!0x0),this[_0x3a46a4(0xde)][_0x3a46a4(0xe9)](_0x34095b['id'],_0x2a05f4,!0x0);}this[_0x3a46a4(0xde)][_0x3a46a4(0x110)]=_0x115b72,(_0x34095b[_0x3a46a4(0xd9)]===_0x34095b[_0x3a46a4(0xc5)]&&!this[_0x3a46a4(0xde)][_0x3a46a4(0x11f)][_0x3a46a4(0xbc)](_0x4f7a50)&&this[_0x3a46a4(0xde)][_0x3a46a4(0xe3)][_0x3a46a4(0xd7)][_0x3a46a4(0xb3)](_0x4f7a50),this[_0x3a46a4(0xde)][_0x3a46a4(0x10b)](_0x115b72));}const {revisions:_0x666355,requestId:_0x1aab0a}=await this[_0x3a46a4(0xd1)][_0x3a46a4(0x11d)](_0x17f999[_0x3a46a4(0xc4)],this[_0x3a46a4(0x10c)]);_0x32ff49&&_0x666355[_0x3a46a4(0xfd)]>0x0?_0x56621[_0x3a46a4(0xce)]():(await this[_0x3a46a4(0x11b)](_0x666355),this[_0x3a46a4(0xbd)](_0x666355,_0x1aab0a),this[_0x3a46a4(0xde)][_0x3a46a4(0xf6)]());};return _0x56621[_0x587746(0xcb)]?_0x4eedb5():new Promise((_0x41efdc,_0x341967)=>{const _0x308c55=_0x587746;_0x56621[_0x308c55(0xf9)](_0x308c55(0x118),()=>{const _0xf5764c=_0x308c55;_0x4eedb5()[_0xf5764c(0xfc)](_0x41efdc)[_0xf5764c(0xfa)](_0x341967);});});}[_0x5aaca3(0x125)](){const _0x2f7e25=_0x5aaca3;super[_0x2f7e25(0x125)]();}async[_0x5aaca3(0xbb)](){const _0xe39cc6=_0x5aaca3;this[_0xe39cc6(0xd1)][_0xe39cc6(0xcd)]||await new Promise(_0xba6634=>{const _0x11ce7d=_0xe39cc6;this[_0x11ce7d(0xc2)](this[_0x11ce7d(0xd1)],_0x11ce7d(0xf3),_0x4c9ce8=>{const _0x5a884b=_0x11ce7d;_0x4c9ce8[_0x5a884b(0x101)](),_0xba6634();});});}[_0x5aaca3(0x107)](){const _0x4556e9=_0x5aaca3,_0x1db8a3=this[_0x4556e9(0xc8)][_0x4556e9(0x105)][_0x4556e9(0x122)](_0x182abd)[_0x4556e9(0xff)][_0x4556e9(0x111)]()[_0x4556e9(0x108)]();for(const _0x381b0e of _0x1db8a3)if(_0x4556e9(0xc3)!==_0x381b0e[_0x4556e9(0xe0)]||_0x381b0e[_0x4556e9(0x124)])return _0x381b0e[_0x4556e9(0x10a)]+0x1;}[_0x5aaca3(0xd2)](){const _0x5edd6c=_0x5aaca3,_0x13da38=this[_0x5edd6c(0xc8)][_0x5edd6c(0x105)][_0x5edd6c(0x122)](_0x182abd);return new Promise(_0x9a231=>{const _0x56bcd4=_0x5edd6c;_0x13da38[_0x56bcd4(0x102)]?_0x13da38[_0x56bcd4(0xf9)](_0x56bcd4(0xdc),()=>{const _0x1b13fb=_0x56bcd4;_0x9a231(this[_0x1b13fb(0x107)]());}):_0x9a231(this[_0x56bcd4(0x107)]());});}[_0x5aaca3(0xbd)](_0x3ba5a8,_0x168d91){const _0x2b32ca=_0x5aaca3,_0x42fdfd=this[_0x2b32ca(0xde)][_0x2b32ca(0xe3)];this[_0x2b32ca(0x10c)]=_0x168d91;for(const _0x57931a of _0x3ba5a8){const _0x18ffee=_0x42fdfd[_0x2b32ca(0xdd)](_0x57931a['id']);if(_0x18ffee){if((_0x57931a[_0x2b32ca(0xc5)]||_0x57931a[_0x2b32ca(0xd9)])&&(_0x57931a[_0x2b32ca(0xe6)]=null),_0x18ffee===this[_0x2b32ca(0xde)][_0x2b32ca(0xf1)]){const _0x5766ef=Math[_0x2b32ca(0xf0)](_0x18ffee[_0x2b32ca(0xd9)],_0x57931a[_0x2b32ca(0xd9)]),_0x102b56=Math[_0x2b32ca(0xf0)](_0x18ffee[_0x2b32ca(0xc5)],_0x57931a[_0x2b32ca(0xc5)]);let _0x3125c1;_0x18ffee[_0x2b32ca(0xd9)]===_0x57931a[_0x2b32ca(0xd9)]&&_0x18ffee[_0x2b32ca(0xc5)]===_0x57931a[_0x2b32ca(0xc5)]?(_0x3125c1=!0x0,this[_0x2b32ca(0xf5)](_0x57931a)):_0x57931a[_0x2b32ca(0xd9)]===_0x5766ef&&_0x57931a[_0x2b32ca(0xc5)]===_0x102b56?_0x3125c1=!0x1:(_0x18ffee[_0x2b32ca(0xd9)]===_0x5766ef&&_0x18ffee[_0x2b32ca(0xc5)]===_0x102b56||this[_0x2b32ca(0xee)]({'revision':_0x18ffee,'from':_0x102b56,'to':_0x5766ef}),_0x3125c1=!0x0),_0x3125c1&&(delete _0x57931a[_0x2b32ca(0xc5)],delete _0x57931a[_0x2b32ca(0xd9)],delete _0x57931a[_0x2b32ca(0xe6)],delete _0x57931a[_0x2b32ca(0xfb)],delete _0x57931a[_0x2b32ca(0xbe)]);}this[_0x2b32ca(0xde)][_0x2b32ca(0x104)](_0x57931a),this[_0x2b32ca(0xf5)](_0x57931a);}else this[_0x2b32ca(0xde)][_0x2b32ca(0xc1)](_0x57931a);}const _0x548396=_0x42fdfd[_0x2b32ca(0xd5)]();_0x548396[_0x2b32ca(0x108)]();for(let _0x1d2046=0x0;_0x1d2046<_0x548396[_0x2b32ca(0xfd)]-0x1;_0x1d2046++){const _0x1798e7=_0x548396[_0x1d2046],_0x5d5120=_0x548396[_0x1d2046+0x1];if(_0x1798e7[_0x2b32ca(0xc5)]<_0x5d5120[_0x2b32ca(0xd9)]){const _0x40af17=_0x5d5120[_0x2b32ca(0xd9)],_0x51de73=Math[_0x2b32ca(0xf0)](_0x40af17,_0x1798e7[_0x2b32ca(0xd9)]);this[_0x2b32ca(0xee)]({'revision':_0x1798e7,'from':_0x40af17,'to':_0x51de73});}}}[_0x5aaca3(0xee)]({revision:_0x30259a,from:_0x3a78d0,to:_0x4c226b}={}){const _0xf4f9d4=_0x5aaca3,_0x3b3350=this[_0xf4f9d4(0xc8)][_0xf4f9d4(0x105)][_0xf4f9d4(0x122)](_0x4abdab),_0x1352a6=this[_0xf4f9d4(0xde)][_0xf4f9d4(0x103)]({'revision':_0x30259a,'from':_0x3a78d0,'to':_0x4c226b});_0x1352a6[_0xf4f9d4(0xb8)]=_0x1352a6[_0xf4f9d4(0xbe)][_0xf4f9d4(0xeb)](_0x5e7c69=>_0x3b3350[_0xf4f9d4(0xba)](_0x5e7c69)),_0x30259a[_0xf4f9d4(0xbf)](_0x1352a6);}[_0x5aaca3(0xf5)](_0x5d6853){const _0xee9802=_0x5aaca3,_0x168edf={};_0x168edf['id']=_0x5d6853['id'];for(const _0x330a40 of Object[_0xee9802(0xc0)](_0x5d6853))'id'!==_0x330a40&&(_0x168edf[_0x330a40]=void 0x0);this[_0xee9802(0xde)][_0xee9802(0xe9)](_0x168edf['id'],_0x168edf,!0x0);}async[_0x5aaca3(0x11b)](_0x4569b0){const _0x53c9eb=_0x5aaca3,_0x8d60d6=this[_0x53c9eb(0xc8)][_0x53c9eb(0x105)][_0x53c9eb(0x122)](_0x4abdab),{connection:_0x19a700}=this[_0x53c9eb(0xc8)][_0x53c9eb(0x105)][_0x53c9eb(0x122)](_0x37a557),_0x38f057=new Set();for(const _0x1569f9 of _0x4569b0){for(const _0x54f9ff of _0x1569f9[_0x53c9eb(0xbe)])_0x597f1c(_0x54f9ff);_0x1569f9[_0x53c9eb(0x109)]&&_0x597f1c(_0x1569f9[_0x53c9eb(0x109)]);}if(0x0===_0x38f057[_0x53c9eb(0x106)])return;const _0x32757d=await _0x72c955[_0x53c9eb(0x113)](_0x19a700,Array[_0x53c9eb(0xf4)](_0x38f057));for(const _0x4f597b of _0x32757d)_0x8d60d6[_0x53c9eb(0xba)](_0x4f597b['id'])||_0x8d60d6[_0x53c9eb(0xf2)](_0x4f597b);function _0x597f1c(_0x1dc9aa){const _0x5f5007=_0x53c9eb;_0x8d60d6[_0x5f5007(0xba)](_0x1dc9aa)||_0x38f057[_0x5f5007(0xef)](_0x1dc9aa);}}}function _0x32f6(_0x6a238c,_0x4669bf){const _0x109e2c=_0x109e();return _0x32f6=function(_0x32f666,_0x444bb1){_0x32f666=_0x32f666-0xb3;let _0x39aef0=_0x109e2c[_0x32f666];return _0x39aef0;},_0x32f6(_0x6a238c,_0x4669bf);}export default u;function ct(_0x50fc86){const _0x2c254c=_0x5aaca3;return _0x50fc86[_0x2c254c(0x112)][_0x2c254c(0x11e)](_0x2c254c(0x11a))||_0x50fc86[_0x2c254c(0x112)][_0x2c254c(0x11e)](_0x2c254c(0x10e))||_0x50fc86[_0x2c254c(0x112)][_0x2c254c(0x11e)](_0x2c254c(0x100));}
|
|
23
|
+
const _0xb4d847=_0x154e;function _0x154e(_0x37b26e,_0x302ec1){const _0x3ec2ba=_0x3ec2();return _0x154e=function(_0x154eaa,_0x32c0e9){_0x154eaa=_0x154eaa-0xea;let _0x20cba2=_0x3ec2ba[_0x154eaa];return _0x20cba2;},_0x154e(_0x37b26e,_0x302ec1);}(function(_0x1685f6,_0x1e904a){const _0x107f79=_0x154e,_0x5a34fc=_0x1685f6();while(!![]){try{const _0x4687e9=-parseInt(_0x107f79(0xfa))/0x1+-parseInt(_0x107f79(0x11a))/0x2+parseInt(_0x107f79(0x112))/0x3+-parseInt(_0x107f79(0x143))/0x4*(-parseInt(_0x107f79(0x114))/0x5)+parseInt(_0x107f79(0xec))/0x6*(parseInt(_0x107f79(0xf0))/0x7)+parseInt(_0x107f79(0x11f))/0x8*(-parseInt(_0x107f79(0x153))/0x9)+-parseInt(_0x107f79(0x126))/0xa;if(_0x4687e9===_0x1e904a)break;else _0x5a34fc['push'](_0x5a34fc['shift']());}catch(_0x41b35d){_0x5a34fc['push'](_0x5a34fc['shift']());}}}(_0x3ec2,0xc40c9));import{Plugin as _0x554378}from'ckeditor5/src/core.js';import{version as _0x3c4adb}from'ckeditor5/src/utils.js';import{Users as _0x1c3105}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1948bb from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x5d21fb from'../realtimecollaborativeediting/websocketgateway.js';import _0x2a4b7d from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x30e12b,RevisionHistoryService as _0x146604,User as _0x5452e7,WEB_SOCKET_GATEWAY_STATES as _0x2967ad}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x554378{static [_0xb4d847(0x121)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x146604)());[_0xb4d847(0xeb)];[_0xb4d847(0x15c)];[_0xb4d847(0x12f)];[_0xb4d847(0xf8)];static get[_0xb4d847(0x138)](){const _0x14bdd0=_0xb4d847;return[_0x5d21fb,_0x1948bb,_0x14bdd0(0x13f),_0x2a4b7d,_0x1c3105];}static get[_0xb4d847(0x158)](){const _0x5aa20c=_0xb4d847;return _0x5aa20c(0x12c);}static get[_0xb4d847(0xf2)](){return!0x0;}static get[_0xb4d847(0xfc)](){return!0x0;}constructor(_0x2d6917){const _0x505ac1=_0xb4d847;super(_0x2d6917);const _0x4b3c72=this[_0x505ac1(0x136)][_0x505ac1(0x14e)][_0x505ac1(0x140)](_0x505ac1(0x100));this[_0x505ac1(0xeb)]=null,this[_0x505ac1(0x15c)]=this[_0x505ac1(0x136)][_0x505ac1(0x130)][_0x505ac1(0x140)](_0x505ac1(0x145)),this[_0x505ac1(0x12f)]=new u[(_0x505ac1(0x121))](_0x4b3c72);}async[_0xb4d847(0x105)](){const _0x907235=_0xb4d847,_0x19f5a=this[_0x907235(0x136)][_0x907235(0x130)][_0x907235(0x140)](_0x1948bb),_0x1e08c4=_0x19f5a[_0x907235(0x155)],_0x25d458=this[_0x907235(0x136)][_0x907235(0x130)][_0x907235(0x140)](_0x5d21fb);this[_0x907235(0x15c)][_0x907235(0x12d)]({'history':_0x1e08c4,'getLatestVersion':()=>this[_0x907235(0x15a)](),'getCurrentRevisionId':()=>_0x19f5a[_0x907235(0x110)]});const _0x3ff776=this[_0x907235(0x136)][_0x907235(0x14e)][_0x907235(0x140)](_0x907235(0xf3))||_0x3c4adb,_0x3132dd=await _0x30e12b[_0x907235(0x111)](_0x25d458[_0x907235(0x10e)],_0x3ff776);this[_0x907235(0x136)][_0x907235(0x130)][_0x907235(0x140)](_0x907235(0x13f))[_0x907235(0x146)]={'getRevision':async({revisionId:_0x445b97})=>(await this[_0x907235(0xff)](),await this[_0x907235(0x12f)][_0x907235(0x139)](_0x445b97)),'updateRevisions':async _0x2672fe=>{const _0x4456f3=_0x907235;await this[_0x4456f3(0xff)]();const _0x2009dd=this[_0x4456f3(0x15c)][_0x4456f3(0x120)];if(_0x3132dd&&0x1===_0x2672fe[_0x4456f3(0x103)]&&_0x2672fe[0x0]['id']===_0x2009dd['id'])return _0x2672fe;for(const _0x1a8fce of _0x2672fe)_0x1a8fce['id']===_0x2009dd['id']&&(_0x1a8fce[_0x4456f3(0x157)]=_0x1a8fce[_0x4456f3(0x148)]===_0x1a8fce[_0x4456f3(0x128)]);return this[_0x4456f3(0x12f)][_0x4456f3(0x129)](_0x2672fe,this[_0x4456f3(0xeb)])[_0x4456f3(0x13b)](_0x4b6385=>(this[_0x4456f3(0xeb)]=_0x4b6385,_0x2672fe))[_0x4456f3(0x144)](_0x3d4025=>{const _0x11a36e=_0x4456f3;if(st(_0x3d4025)||_0x11a36e(0x15b)===_0x3d4025[_0x11a36e(0x147)]&&void 0x0!==_0x3d4025[_0x11a36e(0xfe)][_0x11a36e(0xf9)]){for(const _0x58e096 of _0x2672fe){!this[_0x11a36e(0x15c)][_0x11a36e(0x14b)][_0x11a36e(0x139)](_0x58e096['id'])||this[_0x11a36e(0x15c)][_0x11a36e(0x11c)](_0x58e096['id'],_0x58e096,!0x1);}if(st(_0x3d4025))throw _0x3d4025;return _0x2672fe;}throw _0x3d4025;});}},this[_0x907235(0x12b)](this[_0x907235(0x12f)],_0x907235(0x152),(_0x40a036,{revisionsData:_0x1bb172,requestId:_0x581121})=>{const _0x2d36e7=_0x907235;Math[_0x2d36e7(0x101)](..._0x1bb172[_0x2d36e7(0x14a)](_0x4e8f63=>_0x4e8f63[_0x2d36e7(0x128)]))>this[_0x2d36e7(0x11e)]()-0x1?this[_0x2d36e7(0x15a)]()[_0x2d36e7(0x13b)](()=>{const _0x40d94b=_0x2d36e7;this[_0x40d94b(0xfb)](_0x1bb172,_0x581121);}):this[_0x2d36e7(0xfb)](_0x1bb172,_0x581121);});const {revisions:_0x5e7b82,requestId:_0x1729ec}=await this[_0x907235(0x12f)][_0x907235(0x118)](_0x25d458[_0x907235(0x10e)]);_0x25d458[_0x907235(0x13e)](this),this[_0x907235(0xeb)]=_0x1729ec,await this[_0x907235(0xf7)](_0x5e7b82);for(const _0x214544 of _0x5e7b82)this[_0x907235(0x15c)][_0x907235(0x13d)](_0x214544);this[_0x907235(0x12b)](_0x19f5a,_0x907235(0x116),(_0x4abd42,_0x126b75,_0x3676a0)=>{const _0x3e69cf=_0x907235;_0x3676a0&&(this[_0x3e69cf(0xf8)]=_0x19f5a[_0x3e69cf(0x12a)],_0x4abd42[_0x3e69cf(0x13a)]());}),this[_0x907235(0x15c)][_0x907235(0x10c)](_0x907235(0x13c))['to'](_0x25d458,_0x907235(0x154),_0x22f339=>_0x22f339===_0x2967ad[_0x907235(0x141)]);}async[_0xb4d847(0x150)](){const _0x42a0a8=_0xb4d847,_0x34b55a=this[_0x42a0a8(0x136)][_0x42a0a8(0x130)][_0x42a0a8(0x140)](_0x5d21fb),_0x1d8c24=this[_0x42a0a8(0x136)][_0x42a0a8(0x130)][_0x42a0a8(0x140)](_0x1948bb),_0x57bc58=async()=>{const _0x107c71=_0x42a0a8,_0x227ea8=this[_0x107c71(0x15c)][_0x107c71(0x120)],_0x19ce8c=_0x227ea8['id'],_0x11202a=_0x19ce8c!==_0x1d8c24[_0x107c71(0x110)];if(_0x11202a){const _0x141d68=_0x1d8c24[_0x107c71(0x12a)]-this[_0x107c71(0xf8)],_0x5dce14=this[_0x107c71(0x11e)]();this[_0x107c71(0x15c)][_0x107c71(0x10d)][_0x107c71(0x137)]();if(_0x227ea8[_0x107c71(0x128)]+_0x141d68!==_0x5dce14){const _0x48819d=_0x227ea8[_0x107c71(0x148)]+_0x141d68,_0x263070=this[_0x107c71(0x136)][_0x107c71(0x130)][_0x107c71(0x140)](_0x1c3105),_0x4b8a33=this[_0x107c71(0x15c)][_0x107c71(0xef)]({'revision':_0x227ea8,'from':_0x48819d,'to':_0x5dce14});_0x4b8a33['id']=_0x227ea8['id'];const _0xa1142a=_0x4b8a33[_0x107c71(0x14f)][_0x107c71(0x14a)](_0x441252=>_0x263070[_0x107c71(0x107)](_0x441252));_0x227ea8[_0x107c71(0x104)]({..._0x4b8a33,'authors':_0xa1142a},!0x0),this[_0x107c71(0x15c)][_0x107c71(0x11c)](_0x227ea8['id'],_0x4b8a33,!0x0);}this[_0x107c71(0x15c)][_0x107c71(0x14d)]=_0x5dce14,(_0x227ea8[_0x107c71(0x128)]===_0x227ea8[_0x107c71(0x148)]&&!this[_0x107c71(0x15c)][_0x107c71(0x10a)][_0x107c71(0x113)](_0x19ce8c)&&this[_0x107c71(0x15c)][_0x107c71(0x14b)][_0x107c71(0x10f)][_0x107c71(0x122)](_0x19ce8c),this[_0x107c71(0x15c)][_0x107c71(0x133)](_0x5dce14));}const {revisions:_0x229e5f,requestId:_0x1a4754}=await this[_0x107c71(0x12f)][_0x107c71(0x150)](_0x34b55a[_0x107c71(0x10e)],this[_0x107c71(0xeb)]);_0x11202a&&_0x229e5f[_0x107c71(0x103)]>0x0?_0x1d8c24[_0x107c71(0x109)]():(await this[_0x107c71(0xf7)](_0x229e5f),this[_0x107c71(0xfb)](_0x229e5f,_0x1a4754),this[_0x107c71(0x15c)][_0x107c71(0xf5)]());};return _0x1d8c24[_0x42a0a8(0x10b)]?_0x57bc58():new Promise((_0x524b17,_0x4bea8f)=>{const _0x328054=_0x42a0a8;_0x1d8c24[_0x328054(0x149)](_0x328054(0x116),()=>{const _0x5928f6=_0x328054;_0x57bc58()[_0x5928f6(0x13b)](_0x524b17)[_0x5928f6(0x144)](_0x4bea8f);});});}[_0xb4d847(0x106)](){const _0x1e693c=_0xb4d847;super[_0x1e693c(0x106)]();}async[_0xb4d847(0xff)](){const _0x59939c=_0xb4d847;this[_0x59939c(0x12f)][_0x59939c(0x123)]||await new Promise(_0x16583e=>{const _0x1b617f=_0x59939c;this[_0x1b617f(0x12b)](this[_0x1b617f(0x12f)],_0x1b617f(0x151),_0x51fb53=>{const _0x44ed3e=_0x1b617f;_0x51fb53[_0x44ed3e(0x13a)](),_0x16583e();});});}[_0xb4d847(0x11e)](){const _0x13096f=_0xb4d847,_0xeba11f=this[_0x13096f(0x136)][_0x13096f(0x130)][_0x13096f(0x140)](_0x1948bb)[_0x13096f(0x155)][_0x13096f(0x127)]()[_0x13096f(0x14c)]();for(const _0x4f6c37 of _0xeba11f)if(_0x13096f(0x156)!==_0x4f6c37[_0x13096f(0xee)]||_0x4f6c37[_0x13096f(0xf1)])return _0x4f6c37[_0x13096f(0x135)]+0x1;}[_0xb4d847(0x15a)](){const _0x505659=_0xb4d847,_0x57c0b7=this[_0x505659(0x136)][_0x505659(0x130)][_0x505659(0x140)](_0x1948bb);return new Promise(_0x1e9f52=>{const _0x592e40=_0x505659;_0x57c0b7[_0x592e40(0x117)]?_0x57c0b7[_0x592e40(0x149)](_0x592e40(0x132),()=>{const _0x516534=_0x592e40;_0x1e9f52(this[_0x516534(0x11e)]());}):_0x1e9f52(this[_0x592e40(0x11e)]());});}[_0xb4d847(0xfb)](_0x4af238,_0x5edeee){const _0x1f75c1=_0xb4d847,_0x28b515=this[_0x1f75c1(0x15c)][_0x1f75c1(0x14b)];this[_0x1f75c1(0xeb)]=_0x5edeee;for(const _0x10c464 of _0x4af238){const _0x1636a0=_0x28b515[_0x1f75c1(0x139)](_0x10c464['id']);if(_0x1636a0){if((_0x10c464[_0x1f75c1(0x148)]||_0x10c464[_0x1f75c1(0x128)])&&(_0x10c464[_0x1f75c1(0x108)]=null),_0x1636a0===this[_0x1f75c1(0x15c)][_0x1f75c1(0x120)]){const _0x122361=Math[_0x1f75c1(0x101)](_0x1636a0[_0x1f75c1(0x128)],_0x10c464[_0x1f75c1(0x128)]),_0x198f78=Math[_0x1f75c1(0x101)](_0x1636a0[_0x1f75c1(0x148)],_0x10c464[_0x1f75c1(0x148)]);let _0x1be463;_0x1636a0[_0x1f75c1(0x128)]===_0x10c464[_0x1f75c1(0x128)]&&_0x1636a0[_0x1f75c1(0x148)]===_0x10c464[_0x1f75c1(0x148)]?(_0x1be463=!0x0,this[_0x1f75c1(0x115)](_0x10c464)):_0x10c464[_0x1f75c1(0x128)]===_0x122361&&_0x10c464[_0x1f75c1(0x148)]===_0x198f78?_0x1be463=!0x1:(_0x1636a0[_0x1f75c1(0x128)]===_0x122361&&_0x1636a0[_0x1f75c1(0x148)]===_0x198f78||this[_0x1f75c1(0x11d)]({'revision':_0x1636a0,'from':_0x198f78,'to':_0x122361}),_0x1be463=!0x0),_0x1be463&&(delete _0x10c464[_0x1f75c1(0x148)],delete _0x10c464[_0x1f75c1(0x128)],delete _0x10c464[_0x1f75c1(0x108)],delete _0x10c464[_0x1f75c1(0xea)],delete _0x10c464[_0x1f75c1(0x14f)]);}this[_0x1f75c1(0x15c)][_0x1f75c1(0xfd)](_0x10c464),this[_0x1f75c1(0x115)](_0x10c464);}else this[_0x1f75c1(0x15c)][_0x1f75c1(0x13d)](_0x10c464);}const _0x20f53a=_0x28b515[_0x1f75c1(0xf4)]();_0x20f53a[_0x1f75c1(0x14c)]();for(let _0x514e40=0x0;_0x514e40<_0x20f53a[_0x1f75c1(0x103)]-0x1;_0x514e40++){const _0x2172d3=_0x20f53a[_0x514e40],_0x577e02=_0x20f53a[_0x514e40+0x1];if(_0x2172d3[_0x1f75c1(0x148)]<_0x577e02[_0x1f75c1(0x128)]){const _0x336b7b=_0x577e02[_0x1f75c1(0x128)],_0x54af1f=Math[_0x1f75c1(0x101)](_0x336b7b,_0x2172d3[_0x1f75c1(0x128)]);this[_0x1f75c1(0x11d)]({'revision':_0x2172d3,'from':_0x336b7b,'to':_0x54af1f});}}}[_0xb4d847(0x11d)]({revision:_0x485654,from:_0x5b387b,to:_0x5fcdb}={}){const _0x4a6da6=_0xb4d847,_0x114326=this[_0x4a6da6(0x136)][_0x4a6da6(0x130)][_0x4a6da6(0x140)](_0x1c3105),_0x4440ac=this[_0x4a6da6(0x15c)][_0x4a6da6(0xef)]({'revision':_0x485654,'from':_0x5b387b,'to':_0x5fcdb});_0x4440ac[_0x4a6da6(0x119)]=_0x4440ac[_0x4a6da6(0x14f)][_0x4a6da6(0x14a)](_0x4be91b=>_0x114326[_0x4a6da6(0x107)](_0x4be91b)),_0x485654[_0x4a6da6(0x104)](_0x4440ac);}[_0xb4d847(0x115)](_0x52c090){const _0x749ea2=_0xb4d847,_0x3223cc={};_0x3223cc['id']=_0x52c090['id'];for(const _0xa865bb of Object[_0x749ea2(0x159)](_0x52c090))'id'!==_0xa865bb&&(_0x3223cc[_0xa865bb]=void 0x0);this[_0x749ea2(0x15c)][_0x749ea2(0x11c)](_0x3223cc['id'],_0x3223cc,!0x0);}async[_0xb4d847(0xf7)](_0x3903e0){const _0x23d118=_0xb4d847,_0x43ba2b=this[_0x23d118(0x136)][_0x23d118(0x130)][_0x23d118(0x140)](_0x1c3105),{connection:_0x2422dd}=this[_0x23d118(0x136)][_0x23d118(0x130)][_0x23d118(0x140)](_0x5d21fb),_0x44b839=new Set();for(const _0x1a5ac0 of _0x3903e0){for(const _0x5dbc7d of _0x1a5ac0[_0x23d118(0x14f)])_0x24eefe(_0x5dbc7d);_0x1a5ac0[_0x23d118(0x134)]&&_0x24eefe(_0x1a5ac0[_0x23d118(0x134)]);}if(0x0===_0x44b839[_0x23d118(0x15d)])return;const _0x22c777=await _0x5452e7[_0x23d118(0x11b)](_0x2422dd,Array[_0x23d118(0x142)](_0x44b839));for(const _0x714b14 of _0x22c777)_0x43ba2b[_0x23d118(0x107)](_0x714b14['id'])||_0x43ba2b[_0x23d118(0x125)](_0x714b14);function _0x24eefe(_0x251688){const _0x95a564=_0x23d118;_0x43ba2b[_0x95a564(0x107)](_0x251688)||_0x44b839[_0x95a564(0x12e)](_0x251688);}}}export default u;function _0x3ec2(){const _0x4733a8=['serverHistory','marker','isEmptyCurrent','pluginName','keys','_getLatestVersion','400','_revisionTracker','size','createdAt','_lastRequestId','186hEODvc','message','type','buildRevisionData','343210DreXpk','affectsData','isOfficialPlugin','cloudServices.bundleVersion','getRevisions','sendBufferedUpdates','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_fetchMissingUsers','_oldOffset','wrongRequestId','57972nOWlOA','_handleRevisionsUpdate','isPremiumPlugin','setRevisionData','data','_waitForServiceReady','collaboration.channelId','max','cloud-services-internal-error:\x20Not\x20connected.','length','_update','init','destroy','getUser','diffData','_handleReconnectionError','_bufferedUpdates','_isConnected','bind','_revisionDataBuilder','connection','_revisions','sessionId','isBundleUploaded','294378VTpzHE','has','470wuHOug','_preventResendingRevisionData','change:_isConnected','_isPendingUpdate','connect','authors','1631860vqUZbG','getMany','_bufferUpdate','_fixRevision','_getLatestVersionFromServerOperations','1703384qDNgHA','currentRevision','RevisionHistoryService','remove','isConnected','startsWith','addUser','1110500IhsjZj','getOperations','toVersion','updateRevisions','_offset','listenTo','CloudServicesRevisionHistoryAdapter','setSource','add','_revisionHistoryService','plugins','cloud-services-internal-error:\x20Request\x20timeout.','change:_isPendingUpdate','_createCurrentRevision','creatorId','baseVersion','editor','reInit','requires','getRevision','off','then','isEnabled','addRevisionData','addToReconnectionStack','RevisionHistory','get','CONNECTED','from','34412epClpn','catch','RevisionTracker','adapter','code','fromVersion','once','map','repository','reverse','_startingVersion','config','authorsIds','reconnect','connected','revisionsUpdated','27xDitmN','state'];_0x3ec2=function(){return _0x4733a8;};return _0x3ec2();}function st(_0x3dc9ed){const _0x2d2276=_0xb4d847;return _0x3dc9ed[_0x2d2276(0xed)][_0x2d2276(0x124)](_0x2d2276(0xf6))||_0x3dc9ed[_0x2d2276(0xed)][_0x2d2276(0x124)](_0x2d2276(0x102))||_0x3dc9ed[_0x2d2276(0xed)][_0x2d2276(0x124)](_0x2d2276(0x131));}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x5848f0=_0x1feb;(function(_0x271a22,_0x8ad9bc){const _0x20692c=_0x1feb,_0x37f2bc=_0x271a22();while(!![]){try{const _0xd7eea4=-parseInt(_0x20692c(0x1ab))/0x1+-parseInt(_0x20692c(0x1b0))/0x2+-parseInt(_0x20692c(0x1c5))/0x3+-parseInt(_0x20692c(0x1a7))/0x4*(parseInt(_0x20692c(0x19d))/0x5)+-parseInt(_0x20692c(0x198))/0x6+-parseInt(_0x20692c(0x18a))/0x7*(-parseInt(_0x20692c(0x190))/0x8)+-parseInt(_0x20692c(0x1c1))/0x9*(-parseInt(_0x20692c(0x1a3))/0xa);if(_0xd7eea4===_0x8ad9bc)break;else _0x37f2bc['push'](_0x37f2bc['shift']());}catch(_0x97030e){_0x37f2bc['push'](_0x37f2bc['shift']());}}}(_0x5733,0x62525));import{Plugin as _0x2b0c15}from'ckeditor5/src/core.js';import{User as _0x2bc2ec,TrackChangesService as _0x5796ae}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x1feb(_0x2dbc8d,_0x4c6a3d){const _0x57339a=_0x5733();return _0x1feb=function(_0x1febad,_0x4947ff){_0x1febad=_0x1febad-0x188;let _0x400f25=_0x57339a[_0x1febad];return _0x400f25;},_0x1feb(_0x2dbc8d,_0x4c6a3d);}import _0x219e48 from'../realtimecollaborativeediting/websocketgateway.js';import _0x326e51 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x5733(){const _0x3b6a21=['startsWith','catch','TrackChangesEditing','values','4738040DaEwGu','addSuggestionData','addToReconnectionStack','_fetchMissingUsersForThreads','12bNycMJ','then','getUser','editor','244457KuNXwH','attributes','connected','set','update','852812etSCao','from','_waitForServiceReady','hasSuggestion','pluginName','connect','data','off','_trackChangesService','_saved','adapter','isOfficialPlugin','get','type','size','requires','config','36olNtMM','cloud-services-internal-error:\x20Request\x20timeout.','reconnect','state','497622TduWju','collaboration.channelId','addUser','getSuggestion','getMany','28315SVacSr','add','CloudServicesTrackChangesAdapter','cloud-services-internal-error:\x20Not\x20connected.','_bufferedRequests','listenTo','216fpZLuQ','open','isPremiumPlugin','isConnected','find','message','TrackChangesService','originalSuggestionId','3955800AlZWgR','init','connection','plugins','suggestionUpdated','176115RUoavS','delete'];_0x5733=function(){return _0x3b6a21;};return _0x5733();}import{Users as _0x121455}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x2b0c15{static [_0x5848f0(0x196)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x5796ae)());[_0x5848f0(0x18e)];[_0x5848f0(0x1b8)];static get[_0x5848f0(0x1bf)](){const _0xc15460=_0x5848f0;return[_0x326e51,_0xc15460(0x1a1),_0x219e48];}static get[_0x5848f0(0x1b4)](){const _0x4342d8=_0x5848f0;return _0x4342d8(0x18c);}static get[_0x5848f0(0x1bb)](){return!0x0;}static get[_0x5848f0(0x192)](){return!0x0;}constructor(_0x17dcb8){const _0x341f15=_0x5848f0;super(_0x17dcb8);const _0x1fda3d=this[_0x341f15(0x1aa)][_0x341f15(0x1c0)][_0x341f15(0x1bc)](_0x341f15(0x1c6));this[_0x341f15(0x18e)]=new Map(),this[_0x341f15(0x1b8)]=new f[(_0x341f15(0x196))](_0x1fda3d);}[_0x5848f0(0x199)](){const _0xd3c70b=_0x5848f0,_0x7cddeb=this[_0xd3c70b(0x1aa)][_0xd3c70b(0x19b)][_0xd3c70b(0x1bc)](_0x219e48),_0x40bfa4=this[_0xd3c70b(0x1aa)][_0xd3c70b(0x19b)][_0xd3c70b(0x1bc)](_0xd3c70b(0x1a1));return _0x40bfa4[_0xd3c70b(0x1ba)]={'getSuggestion':async _0xf35bfe=>{const _0x57af06=_0xd3c70b;await this[_0x57af06(0x1b2)]();const _0x4d0451=await this[_0x57af06(0x1b8)][_0x57af06(0x1bc)](_0xf35bfe)[_0x57af06(0x1a0)](R);return await this[_0x57af06(0x1a6)]([_0x4d0451]),_0x4d0451;},'addSuggestion':async({id:_0x3702e9,type:_0x3caafa,data:_0x4211a7,originalSuggestionId:_0x5c50ad,attributes:_0x15ff60})=>{const _0x5c750d=_0xd3c70b;await this[_0x5c750d(0x1b2)]();const _0x9282aa={'id':_0x3702e9,'type':_0x3caafa,'data':_0x4211a7,'originalSuggestionId':_0x5c50ad,'attributes':_0x15ff60},_0x5001c2=await this[_0x5c750d(0x1b8)][_0x5c750d(0x18b)](_0x3702e9,_0x3caafa,_0x4211a7,_0x5c50ad,_0x15ff60)[_0x5c750d(0x1a0)](_0x36c288=>{if(st(_0x36c288))return new Promise(_0x1cbb0b=>{const _0x581558=_0x1feb;this[_0x581558(0x18e)][_0x581558(0x1ae)](_0x3702e9,{'resolve':_0x1cbb0b,'suggestionData':_0x9282aa});});throw _0x36c288;});return this[_0x5c750d(0x18e)][_0x5c750d(0x19e)](_0x3702e9),_0x5001c2;},'updateSuggestion':async(_0x27786a,_0x3a2064)=>{const _0x5d01b3=_0xd3c70b;if(await this[_0x5d01b3(0x1b2)](),_0x5d01b3(0x191)!==_0x3a2064[_0x5d01b3(0x1c4)])return this[_0x5d01b3(0x1b8)][_0x5d01b3(0x1af)](_0x27786a,_0x3a2064)[_0x5d01b3(0x1a0)](R);}},this[_0xd3c70b(0x18f)](this[_0xd3c70b(0x1b8)],_0xd3c70b(0x19c),(_0x55b8c1,_0x387123)=>{const _0x2cd9cb=_0xd3c70b;_0x40bfa4[_0x2cd9cb(0x1b3)](_0x387123['id'])&&(_0x40bfa4[_0x2cd9cb(0x188)](_0x387123['id'])[_0x2cd9cb(0x1ac)]=_0x387123[_0x2cd9cb(0x1ac)]);}),this[_0xd3c70b(0x1b8)][_0xd3c70b(0x1b5)](_0x7cddeb[_0xd3c70b(0x19a)])[_0xd3c70b(0x1a8)](_0x2ed82f=>(_0x7cddeb[_0xd3c70b(0x1a5)](this),this[_0xd3c70b(0x1a6)](_0x2ed82f)[_0xd3c70b(0x1a8)](()=>{const _0x528249=_0xd3c70b;for(const _0x58a071 of _0x2ed82f){_0x40bfa4[_0x528249(0x1a4)](_0x58a071)[_0x528249(0x1b9)]=!0x0;}})));}async[_0x5848f0(0x1c3)](){const _0x375f69=_0x5848f0,_0x5c723e=this[_0x375f69(0x1aa)][_0x375f69(0x19b)][_0x375f69(0x1bc)](_0x375f69(0x1a1)),{connection:_0x5494af}=this[_0x375f69(0x1aa)][_0x375f69(0x19b)][_0x375f69(0x1bc)](_0x219e48),_0x4e000d=await this[_0x375f69(0x1b8)][_0x375f69(0x1b5)](_0x5494af);await this[_0x375f69(0x1a6)](_0x4e000d);for(const {suggestionData:_0x46690b,resolve:_0x22e8ed}of this[_0x375f69(0x18e)][_0x375f69(0x1a2)]()){let _0x5d3b7a=_0x4e000d[_0x375f69(0x194)](_0x43bec7=>_0x43bec7['id']===_0x46690b['id']);_0x5d3b7a||(_0x5d3b7a=await this[_0x375f69(0x1b8)][_0x375f69(0x18b)](_0x46690b['id'],_0x46690b[_0x375f69(0x1bd)],_0x46690b[_0x375f69(0x1b6)],_0x46690b[_0x375f69(0x197)])),_0x22e8ed(_0x5d3b7a);}for(const _0x96d788 of _0x4e000d)_0x5c723e[_0x375f69(0x1b3)](_0x96d788['id'])||_0x5c723e[_0x375f69(0x1a4)](_0x96d788);}async[_0x5848f0(0x1b2)](){const _0x1a7402=_0x5848f0;this[_0x1a7402(0x1b8)][_0x1a7402(0x193)]||await new Promise(_0x43a1aa=>{const _0x2d5216=_0x1a7402;this[_0x2d5216(0x18f)](this[_0x2d5216(0x1b8)],_0x2d5216(0x1ad),_0x436205=>{const _0x2b7fee=_0x2d5216;_0x436205[_0x2b7fee(0x1b7)](),_0x43a1aa();});});}async[_0x5848f0(0x1a6)](_0x12086f){const _0x3b4ec7=_0x5848f0,_0xf925fe=this[_0x3b4ec7(0x1aa)][_0x3b4ec7(0x19b)][_0x3b4ec7(0x1bc)](_0x121455),{connection:_0x303137}=this[_0x3b4ec7(0x1aa)][_0x3b4ec7(0x19b)][_0x3b4ec7(0x1bc)](_0x219e48),_0x25e9ab=new Set();for(const {authorId:_0x25a3f9}of _0x12086f)_0xf925fe[_0x3b4ec7(0x1a9)](_0x25a3f9)||_0x25e9ab[_0x3b4ec7(0x18b)](_0x25a3f9);if(0x0===_0x25e9ab[_0x3b4ec7(0x1be)])return;const _0x102527=await _0x2bc2ec[_0x3b4ec7(0x189)](_0x303137,Array[_0x3b4ec7(0x1b1)](_0x25e9ab));for(const _0x28c5ee of _0x102527)_0xf925fe[_0x3b4ec7(0x1a9)](_0x28c5ee['id'])||_0xf925fe[_0x3b4ec7(0x1c7)](_0x28c5ee);}}export default f;function R(_0x5e11ae){if(st(_0x5e11ae))return new Promise(()=>{});throw _0x5e11ae;}function st(_0x4c2549){const _0x52d670=_0x5848f0;return _0x4c2549[_0x52d670(0x195)][_0x52d670(0x19f)](_0x52d670(0x18d))||_0x4c2549[_0x52d670(0x195)][_0x52d670(0x19f)](_0x52d670(0x1c2));}
|