@ckeditor/ckeditor5-real-time-collaboration 45.0.0-alpha.3 → 45.0.0-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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x386896=_0xc884;(function(_0xe198b7,_0x38e94f){const _0x456a74=_0xc884,_0x13e6fa=_0xe198b7();while(!![]){try{const _0x3a850c=parseInt(_0x456a74(0x1f8))/0x1+parseInt(_0x456a74(0x231))/0x2*(-parseInt(_0x456a74(0x259))/0x3)+-parseInt(_0x456a74(0x24c))/0x4*(parseInt(_0x456a74(0x237))/0x5)+-parseInt(_0x456a74(0x239))/0x6+-parseInt(_0x456a74(0x200))/0x7*(parseInt(_0x456a74(0x211))/0x8)+-parseInt(_0x456a74(0x203))/0x9+parseInt(_0x456a74(0x21f))/0xa;if(_0x3a850c===_0x38e94f)break;else _0x13e6fa['push'](_0x13e6fa['shift']());}catch(_0x512c2e){_0x13e6fa['push'](_0x13e6fa['shift']());}}}(_0x167d,0x74d2d));import{Plugin as _0x3dc248}from'ckeditor5/src/core.js';function _0xc884(_0x1edc27,_0x2c2e3d){const _0x167de0=_0x167d();return _0xc884=function(_0xc88425,_0xf69118){_0xc88425=_0xc88425-0x1d2;let _0x172753=_0x167de0[_0xc88425];return _0x172753;},_0xc884(_0x1edc27,_0x2c2e3d);}import{global as _0x2ec7a0,DomEmitterMixin as _0x3be5f5}from'ckeditor5/src/utils.js';import _0x5d9e6c from'./sessions.js';function _0x167d(){const _0x174b94=['classList','startsWith','isSimilar','type','init','marker','isOfficialPlugin','createRange','isObject','update:user:range','reconvertMarker','hasDomSelection','removeClass','getSelectionClass','split','getNearestSelectionRange','enqueueChange','getStart','set','commands','span','clear','isCollapsed','plugins','getRange','document','schema','data-session-id','userPositionMarker','663440KEImhm','getPositions','selection','rootName','mapper','markerNameToElements','$graveyard','mySessionId','7bTMKye','UserMarkers','getMarkerClass','2912274dEolre','user:','parent','oldRange','updateMarker','mouseleave','stopListening','nodeAfter','getAttribute','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','batch','start','for','$text','2617032cIKtAk','name','checkChild','get','textContent','afterInit','deletionPosition','markers','contenteditable','editor','removeMarker','ck-user__marker-tooltip','ck-user__selection','createUserMarkerOperations','12695820KAaHnS','delete','getCustomProperty','setAttribute','getUserBySessionId','editing','requires','ck-user__marker_hovered','conversion','Escape','getFirstRange','undo','keydown','setCustomProperty','createElement','user:position','addEventListener','root','543170SLxmaB','isDocumentOperation','destroy','isPremiumPlugin','orderNumber','model','15ZLUkjF','markerToElement','1100220oYycfB','false','newRange','render','markerToHighlight','change','element','end','has','_domEmitter','detach','highest','tableCell','createUIElement','fromRange','applyOperation','editingDowncast','user:range:','change:range','465124tgLvfQ','pluginName','remove','view','isLimit','ck-user__marker\x20','size','mouseenter','addMarker','toDomElement','add','innerHTML','getContainedElement','3uQzmbl','markerRange','isInline','outerHTML','markerName','toRange','hasContent','user:range','spellcheck','user:position:','_createdBatches','color','listenTo'];_0x167d=function(){return _0x174b94;};return _0x167d();}import{LiveRange as _0x4f648f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class B extends _0x3dc248{[_0x386896(0x242)]=new(_0x3be5f5())();static get[_0x386896(0x225)](){return[_0x5d9e6c];}static get[_0x386896(0x24d)](){const _0x51021e=_0x386896;return _0x51021e(0x201);}static get[_0x386896(0x1e1)](){return!0x0;}static get[_0x386896(0x234)](){return!0x0;}[_0x386896(0x1df)](){const _0x32f484=_0x386896,_0x1f261f=this[_0x32f484(0x21a)],_0x29c038=_0x1f261f[_0x32f484(0x1f2)][_0x32f484(0x214)](_0x5d9e6c);_0x1f261f[_0x32f484(0x227)][_0x32f484(0x20f)](_0x32f484(0x249))[_0x32f484(0x238)]({'model':_0x32f484(0x22e),'view':(_0x4cd75f,{writer:_0x46c0aa})=>function(_0x3fe60f,_0x34a0d5,_0x466210,_0x53fa79){const _0x317b24=_0x32f484,_0x5c0d6c=_0x3fe60f[_0x317b24(0x1d2)][_0x317b24(0x1e9)](':')[0x2],_0x522380=_0x466210[_0x317b24(0x223)](_0x5c0d6c);if(!_0x522380||_0x5c0d6c===_0x466210[_0x317b24(0x1ff)])return;if(!_0x53fa79[_0x317b24(0x236)][_0x317b24(0x1f5)][_0x317b24(0x213)](_0x3fe60f[_0x317b24(0x25a)][_0x317b24(0x20e)],_0x317b24(0x210)))return;const _0x24f304={'class':_0x317b24(0x251)+_0x522380[_0x317b24(0x1d9)][_0x317b24(0x202)](),'data-name':_0x522380[_0x317b24(0x212)],'data-session-id':_0x5c0d6c},_0x14ce60=_0x53fa79[_0x317b24(0x236)][_0x317b24(0x218)][_0x317b24(0x214)](_0x3fe60f[_0x317b24(0x1d2)]),_0x3e6eee=_0x14ce60[_0x317b24(0x1ec)](),_0x2c8bf1=_0x3e6eee[_0x317b24(0x20a)],_0x548400=_0x53fa79[_0x317b24(0x236)][_0x317b24(0x1f5)];if(_0x2c8bf1&&_0x548400[_0x317b24(0x1e3)](_0x2c8bf1)&&_0x548400[_0x317b24(0x25b)](_0x2c8bf1)&&!_0x53fa79[_0x317b24(0x236)][_0x317b24(0x218)][_0x317b24(0x214)](_0x317b24(0x24a)+_0x5c0d6c)[_0x317b24(0x1f3)]()[_0x317b24(0x1f1)])return;const _0x198c20=_0x3e6eee[_0x317b24(0x205)];return _0x53fa79[_0x317b24(0x236)][_0x317b24(0x1f5)][_0x317b24(0x250)](_0x198c20)&&!_0x53fa79[_0x317b24(0x236)][_0x317b24(0x1d4)](_0x198c20)&&(_0x24f304[_0x317b24(0x219)]=!0x1),function(_0x265aa6,_0x3e71e2,_0xb10d13){const _0x38972d=_0x317b24,_0x3e521e=_0x265aa6[_0x38972d(0x246)](_0x38972d(0x1ef),_0x3e71e2);return _0x265aa6[_0x38972d(0x22c)](_0x38972d(0x1f7),!0x0,_0x3e521e),_0x3e521e[_0x38972d(0x23c)]=function(_0x29c762){const _0x5c3041=_0x38972d,_0x47afca=this[_0x5c3041(0x255)](_0x29c762),_0x30deb5=document[_0x5c3041(0x22d)](_0x5c3041(0x1ef));return _0x30deb5[_0x5c3041(0x1db)][_0x5c3041(0x256)](_0x5c3041(0x21c)),_0x30deb5[_0x5c3041(0x222)](_0x5c3041(0x219),_0x5c3041(0x23a)),_0x30deb5[_0x5c3041(0x222)](_0x5c3041(0x1d6),_0x5c3041(0x23a)),_0x30deb5[_0x5c3041(0x215)]=_0xb10d13[_0x5c3041(0x212)],_0x47afca[_0x5c3041(0x257)]=_0x5c3041(0x20c)+_0x30deb5[_0x5c3041(0x25c)]+'⁠',_0x47afca[_0x5c3041(0x22f)](_0x5c3041(0x253),()=>{const _0x18ba93=_0x5c3041;_0x47afca[_0x18ba93(0x1db)][_0x18ba93(0x256)](_0x18ba93(0x226));}),_0x47afca[_0x5c3041(0x22f)](_0x5c3041(0x208),()=>{const _0x38fc8e=_0x5c3041;_0x47afca[_0x38fc8e(0x1db)][_0x38fc8e(0x24e)](_0x38fc8e(0x226));}),_0x47afca;},_0x3e521e[_0x38972d(0x1dd)]=function(_0x2804f3){const _0x4996af=_0x38972d;return!(!this[_0x4996af(0x221)](_0x4996af(0x1f7))||!_0x2804f3[_0x4996af(0x221)](_0x4996af(0x1f7))||this[_0x4996af(0x20b)](_0x4996af(0x1f6))!=_0x2804f3[_0x4996af(0x20b)](_0x4996af(0x1f6)));},_0x3e521e;}(_0x34a0d5,_0x24f304,_0x522380);}(_0x4cd75f,_0x46c0aa,_0x29c038,_0x1f261f)}),_0x1f261f[_0x32f484(0x227)][_0x32f484(0x20f)](_0x32f484(0x249))[_0x32f484(0x23d)]({'model':_0x32f484(0x1d5),'view':_0x201f1c=>function(_0x2c406e,_0xa84d8){const _0x9887d1=_0x32f484,_0x90e2c0=_0x2c406e[_0x9887d1(0x1d2)][_0x9887d1(0x1e9)](':')[0x2];if(_0x90e2c0===_0xa84d8[_0x9887d1(0x1ff)])return null;const _0x5a5bb6=_0xa84d8[_0x9887d1(0x223)](_0x90e2c0);if(!_0x5a5bb6)return{'id':_0x90e2c0,'classes':[]};return{'id':_0x90e2c0,'classes':[_0x9887d1(0x21d),_0x5a5bb6[_0x9887d1(0x1d9)][_0x9887d1(0x1e8)]()],'attributes':{'data-session-id':_0x90e2c0},'priority':0x7d0+_0x5a5bb6[_0x9887d1(0x235)]};}(_0x201f1c,_0x29c038)}),function(_0x1c602c){const _0x5077fe=_0x32f484,_0x266e94=_0x1c602c[_0x5077fe(0x236)],_0x36d9dc=new Map(),_0x558f93=_0x1c602c[_0x5077fe(0x1f2)][_0x5077fe(0x214)](_0x5d9e6c);_0x266e94[_0x5077fe(0x218)]['on'](_0x5077fe(0x1e4),(_0xd83e28,_0x205720,_0x13fede,_0x35e425)=>{const _0x3e0ad2=_0x5077fe;if(!_0x35e425&&_0x36d9dc[_0x3e0ad2(0x214)](_0x205720[_0x3e0ad2(0x212)]))return _0x36d9dc[_0x3e0ad2(0x214)](_0x205720[_0x3e0ad2(0x212)])[_0x3e0ad2(0x243)](),void _0x36d9dc[_0x3e0ad2(0x220)](_0x205720[_0x3e0ad2(0x212)]);const _0x2ca68a=_0x205720[_0x3e0ad2(0x212)][_0x3e0ad2(0x1e9)](':')[0x2];if(_0x2ca68a===_0x558f93[_0x3e0ad2(0x1ff)])return;const _0x155d86=_0x3e0ad2(0x1d7)+_0x2ca68a;_0x266e94[_0x3e0ad2(0x218)][_0x3e0ad2(0x241)](_0x155d86)&&_0x1c602c[_0x3e0ad2(0x224)][_0x3e0ad2(0x1e5)](_0x155d86),_0x205720['on'](_0x3e0ad2(0x24b),(_0x5060ea,_0x1729d3,_0x50d805)=>{const _0x567695=_0x3e0ad2;if(_0x567695(0x1fe)!=_0x1729d3[_0x567695(0x230)][_0x567695(0x1fb)]&&_0x567695(0x1fe)==_0x205720[_0x567695(0x1f3)]()[_0x567695(0x230)][_0x567695(0x1fb)]&&!_0x36d9dc[_0x567695(0x241)](_0x205720[_0x567695(0x212)])){const _0x3cabb5=_0x266e94[_0x567695(0x1f5)][_0x567695(0x1ea)](_0x50d805[_0x567695(0x217)]);if(_0x3cabb5){const _0x69f870=_0x4f648f[_0x567695(0x247)](_0x3cabb5);_0x36d9dc[_0x567695(0x1ed)](_0x205720[_0x567695(0x212)],_0x69f870),_0x69f870['on'](_0x567695(0x24b),(_0x3ffee4,_0x5861b0,_0x4ae3d1)=>{const _0x21dce1=_0x567695;if(_0x21dce1(0x1fe)==_0x69f870[_0x21dce1(0x230)][_0x21dce1(0x1fb)]){const _0x1fcb0d=_0x266e94[_0x21dce1(0x1f5)][_0x21dce1(0x1ea)](_0x4ae3d1[_0x21dce1(0x217)]);_0x1fcb0d?(_0x69f870[_0x21dce1(0x20e)]=_0x1fcb0d[_0x21dce1(0x20e)],_0x69f870[_0x21dce1(0x240)]=_0x1fcb0d[_0x21dce1(0x240)]):(_0x36d9dc[_0x21dce1(0x220)](_0x205720[_0x21dce1(0x212)]),_0x69f870[_0x21dce1(0x243)]());}});}}});}),_0x266e94[_0x5077fe(0x1f4)]['on'](_0x5077fe(0x23e),()=>{const _0x5a2469=_0x5077fe;_0x36d9dc[_0x5a2469(0x252)]>0x0&&_0x266e94[_0x5a2469(0x1eb)]({'isUndoable':!0x1},_0x5d4b89=>{const _0x3bc894=_0x5a2469;for(const [_0xa74264,_0x5970ee]of _0x36d9dc)_0x3bc894(0x1fe)==_0x266e94[_0x3bc894(0x218)][_0x3bc894(0x214)](_0xa74264)[_0x3bc894(0x1f3)]()[_0x3bc894(0x230)][_0x3bc894(0x1fb)]&&(X(_0xa74264[_0x3bc894(0x1e9)](':')[0x2],_0x5970ee[_0x3bc894(0x1d3)](),_0x266e94,_0x5d4b89),_0x5970ee[_0x3bc894(0x243)]());_0x36d9dc[_0x3bc894(0x1f0)]();});});}(_0x1f261f),this[_0x32f484(0x242)][_0x32f484(0x1da)](_0x2ec7a0[_0x32f484(0x1f4)],_0x32f484(0x22b),(_0x5a39fe,{key:_0x2c4ee8})=>{const _0xd146e1=_0x32f484;_0xd146e1(0x228)===_0x2c4ee8&&function(_0x198307){const _0x2645c8=_0xd146e1;_0x198307[_0x2645c8(0x224)][_0x2645c8(0x24f)][_0x2645c8(0x23e)](_0x55e37b=>{const _0x117f2a=_0x2645c8;for(const _0x8305e2 of _0x198307[_0x117f2a(0x236)][_0x117f2a(0x218)]){if(!_0x8305e2[_0x117f2a(0x212)][_0x117f2a(0x1dc)](_0x117f2a(0x22e)))continue;const _0x3c3452=_0x198307[_0x117f2a(0x224)][_0x117f2a(0x1fc)][_0x117f2a(0x1fd)](_0x8305e2[_0x117f2a(0x212)]);if(_0x3c3452){for(const _0x16eee1 of _0x3c3452)_0x55e37b[_0x117f2a(0x1e7)](_0x117f2a(0x226),_0x16eee1);}}});}(_0x1f261f);},{'useCapture':!0x0});}[_0x386896(0x216)](){const _0xaad241=_0x386896,_0x2cd948=this[_0xaad241(0x21a)],_0x4e7f09=_0x2cd948[_0xaad241(0x1ee)][_0xaad241(0x214)](_0xaad241(0x22a));_0x4e7f09&&_0x2cd948[_0xaad241(0x236)]['on'](_0xaad241(0x248),(_0xf962b0,_0x563e4b)=>{const _0x5d35aa=_0xaad241,_0x19682d=_0x563e4b[0x0];if(!_0x19682d[_0x5d35aa(0x232)])return;if(_0x5d35aa(0x1e0)!=_0x19682d[_0x5d35aa(0x1de)]||!_0x19682d[_0x5d35aa(0x212)][_0x5d35aa(0x1dc)](_0x5d35aa(0x204)))return;const _0x1c9d4a=_0x19682d[_0x5d35aa(0x20d)];_0x4e7f09[_0x5d35aa(0x1d8)][_0x5d35aa(0x241)](_0x1c9d4a)&&(_0x19682d[_0x5d35aa(0x23b)]=_0x19682d[_0x5d35aa(0x206)]?_0x2cd948[_0x5d35aa(0x236)][_0x5d35aa(0x1e2)](_0x19682d[_0x5d35aa(0x206)][_0x5d35aa(0x20e)],_0x19682d[_0x5d35aa(0x206)][_0x5d35aa(0x240)]):null);},{'priority':_0xaad241(0x244)});}[_0x386896(0x233)](){const _0x9e5548=_0x386896;return this[_0x9e5548(0x242)][_0x9e5548(0x209)](),super[_0x9e5548(0x233)]();}[_0x386896(0x21e)](){const _0x405ece=_0x386896,_0x1da77e=this[_0x405ece(0x21a)],_0x103425=_0x1da77e[_0x405ece(0x236)][_0x405ece(0x1f4)],_0x343783=_0x1da77e[_0x405ece(0x1f2)][_0x405ece(0x214)](_0x5d9e6c);_0x1da77e[_0x405ece(0x236)][_0x405ece(0x1eb)]({'isUndoable':!0x1},_0x315174=>{const _0x3026ac=_0x405ece,_0x2a8d50=_0x3026ac(0x24a)+_0x343783[_0x3026ac(0x1ff)],_0x3437ec=_0x3026ac(0x1d7)+_0x343783[_0x3026ac(0x1ff)],_0x5f2896=_0x1da77e[_0x3026ac(0x236)][_0x3026ac(0x218)][_0x3026ac(0x241)](_0x2a8d50);_0x1da77e[_0x3026ac(0x224)][_0x3026ac(0x24f)][_0x3026ac(0x1e6)]?X(_0x343783[_0x3026ac(0x1ff)],_0x103425[_0x3026ac(0x1fa)][_0x3026ac(0x229)](),_0x1da77e[_0x3026ac(0x236)],_0x315174):_0x5f2896&&(_0x315174[_0x3026ac(0x21b)](_0x2a8d50),_0x315174[_0x3026ac(0x21b)](_0x3437ec));});}}function X(_0xe633f0,_0x30f6cb,_0x56941e,_0x544a92){const _0x21a571=_0x386896,_0x52ce9e=_0x21a571(0x24a)+_0xe633f0,_0x561276=_0x21a571(0x1d7)+_0xe633f0,_0x3b6be1=_0x30f6cb[_0x21a571(0x258)]();let _0x423bab=_0x30f6cb[_0x21a571(0x20e)];_0x3b6be1&&_0x3b6be1['is'](_0x21a571(0x23f),_0x21a571(0x245))&&(_0x423bab=function(_0x343731,_0x44a3b4){const _0x30b759=_0x21a571;for(const _0x632f8d of _0x343731[_0x30b759(0x1f9)]())if(_0x44a3b4[_0x30b759(0x1f5)][_0x30b759(0x213)](_0x632f8d,_0x30b759(0x210)))return _0x632f8d;}(_0x30f6cb,_0x56941e),_0x30f6cb=_0x544a92[_0x21a571(0x1e2)](_0x423bab));const _0x2f3e02=_0x544a92[_0x21a571(0x1e2)](_0x423bab);_0x56941e[_0x21a571(0x218)][_0x21a571(0x241)](_0x52ce9e)?(_0x544a92[_0x21a571(0x207)](_0x52ce9e,{'range':_0x30f6cb}),_0x544a92[_0x21a571(0x207)](_0x561276,{'range':_0x2f3e02})):(_0x544a92[_0x21a571(0x254)](_0x52ce9e,{'range':_0x30f6cb,'usingOperation':!0x0}),_0x544a92[_0x21a571(0x254)](_0x561276,{'range':_0x2f3e02,'usingOperation':!0x0}));}
23
+ function _0x3a1c(){const _0x36c781=['undo','classList','hasDomSelection','view','removeMarker','marker','startsWith','highest','isObject','for','markerNameToElements','init','toDomElement','model','newRange','getRange','change','isSimilar','hasContent','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','$text','stopListening','detach','addEventListener','schema','_domEmitter','type','span','Escape','rootName','getSelectionClass','addMarker','ck-user__marker-tooltip','1087244ktYsmt','destroy','300726mKJfIa','markerToElement','data-session-id','userPositionMarker','getFirstRange','textContent','setCustomProperty','isLimit','removeClass','start','selection','user:position','isDocumentOperation','has','mapper','update:user:range','561zpkjHy','element','getMarkerClass','markerToHighlight','delete','deletionPosition','markerRange','user:range','getPositions','conversion','editingDowncast','markers','end','createUIElement','add','174236EtYqsk','user:range:','getUserBySessionId','contenteditable','enqueueChange','name','listenTo','isInline','commands','user:position:','batch','getNearestSelectionRange','getStart','split','editing','createRange','get','$graveyard','926dshkTK','remove','document','ck-user__marker_hovered','fromRange','isPremiumPlugin','createElement','UserMarkers','false','root','change:range','clear','getCustomProperty','requires','outerHTML','185090DOULXN','ck-user__marker\x20','parent','isOfficialPlugin','reconvertMarker','ck-user__selection','afterInit','editor','nodeAfter','keydown','updateMarker','609288KeBoCU','getContainedElement','spellcheck','pluginName','3262356aqGsgg','checkChild','getAttribute','plugins','color','createUserMarkerOperations','orderNumber','toRange','render','size','applyOperation','tableCell','mouseleave','setAttribute','oldRange','set','mySessionId','_createdBatches','21DQMmxv','user:','markerName','isCollapsed','innerHTML','mouseenter'];_0x3a1c=function(){return _0x36c781;};return _0x3a1c();}const _0x49c8c1=_0x5ca0;function _0x5ca0(_0x32e757,_0x16b027){const _0x3a1cf7=_0x3a1c();return _0x5ca0=function(_0x5ca0d8,_0x1c2e06){_0x5ca0d8=_0x5ca0d8-0x1d8;let _0x1fbc6f=_0x3a1cf7[_0x5ca0d8];return _0x1fbc6f;},_0x5ca0(_0x32e757,_0x16b027);}(function(_0x152848,_0x252e05){const _0x5218a3=_0x5ca0,_0x20404e=_0x152848();while(!![]){try{const _0x5ae943=-parseInt(_0x5218a3(0x230))/0x1+parseInt(_0x5218a3(0x242))/0x2*(-parseInt(_0x5218a3(0x221))/0x3)+parseInt(_0x5218a3(0x20f))/0x4+-parseInt(_0x5218a3(0x251))/0x5+parseInt(_0x5218a3(0x211))/0x6+parseInt(_0x5218a3(0x1e8))/0x7*(-parseInt(_0x5218a3(0x25c))/0x8)+parseInt(_0x5218a3(0x260))/0x9;if(_0x5ae943===_0x252e05)break;else _0x20404e['push'](_0x20404e['shift']());}catch(_0x4b8fda){_0x20404e['push'](_0x20404e['shift']());}}}(_0x3a1c,0x26992));import{Plugin as _0x5400be}from'ckeditor5/src/core.js';import{global as _0x12fb58,DomEmitterMixin as _0x8e67de}from'ckeditor5/src/utils.js';import _0x1d9d06 from'./sessions.js';import{LiveRange as _0xb5283}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class q extends _0x5400be{[_0x49c8c1(0x207)]=new(_0x8e67de())();static get[_0x49c8c1(0x24f)](){return[_0x1d9d06];}static get[_0x49c8c1(0x25f)](){const _0x27df47=_0x49c8c1;return _0x27df47(0x249);}static get[_0x49c8c1(0x254)](){return!0x0;}static get[_0x49c8c1(0x247)](){return!0x0;}[_0x49c8c1(0x1f9)](){const _0x43c168=_0x49c8c1,_0x2869df=this[_0x43c168(0x258)],_0x152ff6=_0x2869df[_0x43c168(0x1d9)][_0x43c168(0x240)](_0x1d9d06);_0x2869df[_0x43c168(0x22a)][_0x43c168(0x1f7)](_0x43c168(0x22b))[_0x43c168(0x212)]({'model':_0x43c168(0x21c),'view':(_0x4ce034,{writer:_0x2d6a34})=>function(_0x29dedd,_0x51af29,_0x351310,_0x3e30e4){const _0x2d1c7e=_0x43c168,_0xeceb16=_0x29dedd[_0x2d1c7e(0x1ea)][_0x2d1c7e(0x23d)](':')[0x2],_0x3c025c=_0x351310[_0x2d1c7e(0x232)](_0xeceb16);if(!_0x3c025c||_0xeceb16===_0x351310[_0x2d1c7e(0x1e6)])return;if(!_0x3e30e4[_0x2d1c7e(0x1fb)][_0x2d1c7e(0x206)][_0x2d1c7e(0x261)](_0x29dedd[_0x2d1c7e(0x227)][_0x2d1c7e(0x21a)],_0x2d1c7e(0x202)))return;const _0xf7feab={'class':_0x2d1c7e(0x252)+_0x3c025c[_0x2d1c7e(0x1da)][_0x2d1c7e(0x223)](),'data-name':_0x3c025c[_0x2d1c7e(0x235)],'data-session-id':_0xeceb16},_0x4ec492=_0x3e30e4[_0x2d1c7e(0x1fb)][_0x2d1c7e(0x22c)][_0x2d1c7e(0x240)](_0x29dedd[_0x2d1c7e(0x1ea)]),_0x3bb35a=_0x4ec492[_0x2d1c7e(0x23c)](),_0x410c9c=_0x3bb35a[_0x2d1c7e(0x259)],_0x3063b7=_0x3e30e4[_0x2d1c7e(0x1fb)][_0x2d1c7e(0x206)];if(_0x410c9c&&_0x3063b7[_0x2d1c7e(0x1f6)](_0x410c9c)&&_0x3063b7[_0x2d1c7e(0x237)](_0x410c9c)&&!_0x3e30e4[_0x2d1c7e(0x1fb)][_0x2d1c7e(0x22c)][_0x2d1c7e(0x240)](_0x2d1c7e(0x231)+_0xeceb16)[_0x2d1c7e(0x1fd)]()[_0x2d1c7e(0x1eb)])return;const _0x58772e=_0x3bb35a[_0x2d1c7e(0x253)];return _0x3e30e4[_0x2d1c7e(0x1fb)][_0x2d1c7e(0x206)][_0x2d1c7e(0x218)](_0x58772e)&&!_0x3e30e4[_0x2d1c7e(0x1fb)][_0x2d1c7e(0x200)](_0x58772e)&&(_0xf7feab[_0x2d1c7e(0x233)]=!0x1),function(_0x26a0a6,_0x15bb55,_0x249d08){const _0x5a7f28=_0x2d1c7e,_0x209f4d=_0x26a0a6[_0x5a7f28(0x22e)](_0x5a7f28(0x209),_0x15bb55);return _0x26a0a6[_0x5a7f28(0x217)](_0x5a7f28(0x214),!0x0,_0x209f4d),_0x209f4d[_0x5a7f28(0x1de)]=function(_0x3f186d){const _0x5d7ab5=_0x5a7f28,_0x837da0=this[_0x5d7ab5(0x1fa)](_0x3f186d),_0x516ca4=document[_0x5d7ab5(0x248)](_0x5d7ab5(0x209));return _0x516ca4[_0x5d7ab5(0x1ef)][_0x5d7ab5(0x22f)](_0x5d7ab5(0x20e)),_0x516ca4[_0x5d7ab5(0x1e3)](_0x5d7ab5(0x233),_0x5d7ab5(0x24a)),_0x516ca4[_0x5d7ab5(0x1e3)](_0x5d7ab5(0x25e),_0x5d7ab5(0x24a)),_0x516ca4[_0x5d7ab5(0x216)]=_0x249d08[_0x5d7ab5(0x235)],_0x837da0[_0x5d7ab5(0x1ec)]=_0x5d7ab5(0x201)+_0x516ca4[_0x5d7ab5(0x250)]+'⁠',_0x837da0[_0x5d7ab5(0x205)](_0x5d7ab5(0x1ed),()=>{const _0x34a83c=_0x5d7ab5;_0x837da0[_0x34a83c(0x1ef)][_0x34a83c(0x22f)](_0x34a83c(0x245));}),_0x837da0[_0x5d7ab5(0x205)](_0x5d7ab5(0x1e2),()=>{const _0x4172c5=_0x5d7ab5;_0x837da0[_0x4172c5(0x1ef)][_0x4172c5(0x243)](_0x4172c5(0x245));}),_0x837da0;},_0x209f4d[_0x5a7f28(0x1ff)]=function(_0x3f0e2b){const _0x53354c=_0x5a7f28;return!(!this[_0x53354c(0x24e)](_0x53354c(0x214))||!_0x3f0e2b[_0x53354c(0x24e)](_0x53354c(0x214))||this[_0x53354c(0x1d8)](_0x53354c(0x213))!=_0x3f0e2b[_0x53354c(0x1d8)](_0x53354c(0x213)));},_0x209f4d;}(_0x51af29,_0xf7feab,_0x3c025c);}(_0x4ce034,_0x2d6a34,_0x152ff6,_0x2869df)}),_0x2869df[_0x43c168(0x22a)][_0x43c168(0x1f7)](_0x43c168(0x22b))[_0x43c168(0x224)]({'model':_0x43c168(0x228),'view':_0x4ea719=>function(_0x24534b,_0x111386){const _0x132b29=_0x43c168,_0x434590=_0x24534b[_0x132b29(0x1ea)][_0x132b29(0x23d)](':')[0x2];if(_0x434590===_0x111386[_0x132b29(0x1e6)])return null;const _0xd53a13=_0x111386[_0x132b29(0x232)](_0x434590);if(!_0xd53a13)return{'id':_0x434590,'classes':[]};return{'id':_0x434590,'classes':[_0x132b29(0x256),_0xd53a13[_0x132b29(0x1da)][_0x132b29(0x20c)]()],'attributes':{'data-session-id':_0x434590},'priority':0x7d0+_0xd53a13[_0x132b29(0x1dc)]};}(_0x4ea719,_0x152ff6)}),function(_0xca394b){const _0x5bcf1f=_0x43c168,_0x180341=_0xca394b[_0x5bcf1f(0x1fb)],_0x12d24e=new Map(),_0x25bc70=_0xca394b[_0x5bcf1f(0x1d9)][_0x5bcf1f(0x240)](_0x1d9d06);_0x180341[_0x5bcf1f(0x22c)]['on'](_0x5bcf1f(0x220),(_0x40a359,_0x18e6b4,_0x2e7cf2,_0x19658c)=>{const _0x429f3c=_0x5bcf1f;if(!_0x19658c&&_0x12d24e[_0x429f3c(0x240)](_0x18e6b4[_0x429f3c(0x235)]))return _0x12d24e[_0x429f3c(0x240)](_0x18e6b4[_0x429f3c(0x235)])[_0x429f3c(0x204)](),void _0x12d24e[_0x429f3c(0x225)](_0x18e6b4[_0x429f3c(0x235)]);const _0x279d83=_0x18e6b4[_0x429f3c(0x235)][_0x429f3c(0x23d)](':')[0x2];if(_0x279d83===_0x25bc70[_0x429f3c(0x1e6)])return;const _0x5c5d8d=_0x429f3c(0x239)+_0x279d83;_0x180341[_0x429f3c(0x22c)][_0x429f3c(0x21e)](_0x5c5d8d)&&_0xca394b[_0x429f3c(0x23e)][_0x429f3c(0x255)](_0x5c5d8d),_0x18e6b4['on'](_0x429f3c(0x24c),(_0x15ff7e,_0x32b8b2,_0x624914)=>{const _0x5c8798=_0x429f3c;if(_0x5c8798(0x241)!=_0x32b8b2[_0x5c8798(0x24b)][_0x5c8798(0x20b)]&&_0x5c8798(0x241)==_0x18e6b4[_0x5c8798(0x1fd)]()[_0x5c8798(0x24b)][_0x5c8798(0x20b)]&&!_0x12d24e[_0x5c8798(0x21e)](_0x18e6b4[_0x5c8798(0x235)])){const _0x4a95da=_0x180341[_0x5c8798(0x206)][_0x5c8798(0x23b)](_0x624914[_0x5c8798(0x226)]);if(_0x4a95da){const _0x34d6e8=_0xb5283[_0x5c8798(0x246)](_0x4a95da);_0x12d24e[_0x5c8798(0x1e5)](_0x18e6b4[_0x5c8798(0x235)],_0x34d6e8),_0x34d6e8['on'](_0x5c8798(0x24c),(_0x1d398e,_0x3522c8,_0x5d69f6)=>{const _0x168fec=_0x5c8798;if(_0x168fec(0x241)==_0x34d6e8[_0x168fec(0x24b)][_0x168fec(0x20b)]){const _0x5e3d7d=_0x180341[_0x168fec(0x206)][_0x168fec(0x23b)](_0x5d69f6[_0x168fec(0x226)]);_0x5e3d7d?(_0x34d6e8[_0x168fec(0x21a)]=_0x5e3d7d[_0x168fec(0x21a)],_0x34d6e8[_0x168fec(0x22d)]=_0x5e3d7d[_0x168fec(0x22d)]):(_0x12d24e[_0x168fec(0x225)](_0x18e6b4[_0x168fec(0x235)]),_0x34d6e8[_0x168fec(0x204)]());}});}}});}),_0x180341[_0x5bcf1f(0x244)]['on'](_0x5bcf1f(0x1fe),()=>{const _0x3bd453=_0x5bcf1f;_0x12d24e[_0x3bd453(0x1df)]>0x0&&_0x180341[_0x3bd453(0x234)]({'isUndoable':!0x1},_0x24f4d5=>{const _0x18433d=_0x3bd453;for(const [_0x54e2e2,_0x59a254]of _0x12d24e)_0x18433d(0x241)==_0x180341[_0x18433d(0x22c)][_0x18433d(0x240)](_0x54e2e2)[_0x18433d(0x1fd)]()[_0x18433d(0x24b)][_0x18433d(0x20b)]&&(te(_0x54e2e2[_0x18433d(0x23d)](':')[0x2],_0x59a254[_0x18433d(0x1dd)](),_0x180341,_0x24f4d5),_0x59a254[_0x18433d(0x204)]());_0x12d24e[_0x18433d(0x24d)]();});});}(_0x2869df),this[_0x43c168(0x207)][_0x43c168(0x236)](_0x12fb58[_0x43c168(0x244)],_0x43c168(0x25a),(_0xfd9d71,{key:_0x1682d9})=>{const _0x5dd197=_0x43c168;_0x5dd197(0x20a)===_0x1682d9&&function(_0x31e2f3){const _0x2cf073=_0x5dd197;_0x31e2f3[_0x2cf073(0x23e)][_0x2cf073(0x1f1)][_0x2cf073(0x1fe)](_0x5848dd=>{const _0x4d7796=_0x2cf073;for(const _0x5040df of _0x31e2f3[_0x4d7796(0x1fb)][_0x4d7796(0x22c)]){if(!_0x5040df[_0x4d7796(0x235)][_0x4d7796(0x1f4)](_0x4d7796(0x21c)))continue;const _0x1c7f2b=_0x31e2f3[_0x4d7796(0x23e)][_0x4d7796(0x21f)][_0x4d7796(0x1f8)](_0x5040df[_0x4d7796(0x235)]);if(_0x1c7f2b){for(const _0x20d6e4 of _0x1c7f2b)_0x5848dd[_0x4d7796(0x219)](_0x4d7796(0x245),_0x20d6e4);}}});}(_0x2869df);},{'useCapture':!0x0});}[_0x49c8c1(0x257)](){const _0x279fae=_0x49c8c1,_0x44d63a=this[_0x279fae(0x258)],_0x498c1f=_0x44d63a[_0x279fae(0x238)][_0x279fae(0x240)](_0x279fae(0x1ee));_0x498c1f&&_0x44d63a[_0x279fae(0x1fb)]['on'](_0x279fae(0x1e0),(_0x4cb315,_0xb78a14)=>{const _0xcd6e8f=_0x279fae,_0x239e63=_0xb78a14[0x0];if(!_0x239e63[_0xcd6e8f(0x21d)])return;if(_0xcd6e8f(0x1f3)!=_0x239e63[_0xcd6e8f(0x208)]||!_0x239e63[_0xcd6e8f(0x235)][_0xcd6e8f(0x1f4)](_0xcd6e8f(0x1e9)))return;const _0x4cd3b1=_0x239e63[_0xcd6e8f(0x23a)];_0x498c1f[_0xcd6e8f(0x1e7)][_0xcd6e8f(0x21e)](_0x4cd3b1)&&(_0x239e63[_0xcd6e8f(0x1fc)]=_0x239e63[_0xcd6e8f(0x1e4)]?_0x44d63a[_0xcd6e8f(0x1fb)][_0xcd6e8f(0x23f)](_0x239e63[_0xcd6e8f(0x1e4)][_0xcd6e8f(0x21a)],_0x239e63[_0xcd6e8f(0x1e4)][_0xcd6e8f(0x22d)]):null);},{'priority':_0x279fae(0x1f5)});}[_0x49c8c1(0x210)](){const _0x1682df=_0x49c8c1;return this[_0x1682df(0x207)][_0x1682df(0x203)](),super[_0x1682df(0x210)]();}[_0x49c8c1(0x1db)](){const _0x3e0e54=_0x49c8c1,_0x372ca4=this[_0x3e0e54(0x258)],_0x5ea124=_0x372ca4[_0x3e0e54(0x1fb)][_0x3e0e54(0x244)],_0x32b6ca=_0x372ca4[_0x3e0e54(0x1d9)][_0x3e0e54(0x240)](_0x1d9d06);_0x372ca4[_0x3e0e54(0x1fb)][_0x3e0e54(0x234)]({'isUndoable':!0x1},_0x1fa7ac=>{const _0x9b455=_0x3e0e54,_0x3e75ab=_0x9b455(0x231)+_0x32b6ca[_0x9b455(0x1e6)],_0x198c14=_0x9b455(0x239)+_0x32b6ca[_0x9b455(0x1e6)],_0x143b5d=_0x372ca4[_0x9b455(0x1fb)][_0x9b455(0x22c)][_0x9b455(0x21e)](_0x3e75ab);_0x372ca4[_0x9b455(0x23e)][_0x9b455(0x1f1)][_0x9b455(0x1f0)]?te(_0x32b6ca[_0x9b455(0x1e6)],_0x5ea124[_0x9b455(0x21b)][_0x9b455(0x215)](),_0x372ca4[_0x9b455(0x1fb)],_0x1fa7ac):_0x143b5d&&(_0x1fa7ac[_0x9b455(0x1f2)](_0x3e75ab),_0x1fa7ac[_0x9b455(0x1f2)](_0x198c14));});}}function te(_0x3c4393,_0x4f14f1,_0x1865f3,_0x54ff86){const _0x4c5b3c=_0x49c8c1,_0x57dd31=_0x4c5b3c(0x231)+_0x3c4393,_0x399af8=_0x4c5b3c(0x239)+_0x3c4393,_0x58ac33=_0x4f14f1[_0x4c5b3c(0x25d)]();let _0x3d0b75=_0x4f14f1[_0x4c5b3c(0x21a)];_0x58ac33&&_0x58ac33['is'](_0x4c5b3c(0x222),_0x4c5b3c(0x1e1))&&(_0x3d0b75=function(_0x2b6ebd,_0x21581d){const _0x519953=_0x4c5b3c;for(const _0x8cd875 of _0x2b6ebd[_0x519953(0x229)]())if(_0x21581d[_0x519953(0x206)][_0x519953(0x261)](_0x8cd875,_0x519953(0x202)))return _0x8cd875;}(_0x4f14f1,_0x1865f3),_0x4f14f1=_0x54ff86[_0x4c5b3c(0x23f)](_0x3d0b75));const _0x59c957=_0x54ff86[_0x4c5b3c(0x23f)](_0x3d0b75);_0x1865f3[_0x4c5b3c(0x22c)][_0x4c5b3c(0x21e)](_0x57dd31)?(_0x54ff86[_0x4c5b3c(0x25b)](_0x57dd31,{'range':_0x4f14f1}),_0x54ff86[_0x4c5b3c(0x25b)](_0x399af8,{'range':_0x59c957})):(_0x54ff86[_0x4c5b3c(0x20d)](_0x57dd31,{'range':_0x4f14f1,'usingOperation':!0x0}),_0x54ff86[_0x4c5b3c(0x20d)](_0x399af8,{'range':_0x59c957,'usingOperation':!0x0}));}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3299f7=_0xd937;function _0xd937(_0x4e5ed2,_0x315693){const _0x24abcc=_0x24ab();return _0xd937=function(_0xd937b5,_0x416899){_0xd937b5=_0xd937b5-0xef;let _0x4013a4=_0x24abcc[_0xd937b5];return _0x4013a4;},_0xd937(_0x4e5ed2,_0x315693);}(function(_0x2d92f9,_0x24c4b9){const _0x49ccab=_0xd937,_0x5e102a=_0x2d92f9();while(!![]){try{const _0x2ef991=-parseInt(_0x49ccab(0x122))/0x1*(-parseInt(_0x49ccab(0xf1))/0x2)+parseInt(_0x49ccab(0x11b))/0x3+-parseInt(_0x49ccab(0xfb))/0x4*(parseInt(_0x49ccab(0x129))/0x5)+-parseInt(_0x49ccab(0x108))/0x6+-parseInt(_0x49ccab(0x104))/0x7*(parseInt(_0x49ccab(0x138))/0x8)+parseInt(_0x49ccab(0xf3))/0x9+parseInt(_0x49ccab(0x103))/0xa*(parseInt(_0x49ccab(0x101))/0xb);if(_0x2ef991===_0x24c4b9)break;else _0x5e102a['push'](_0x5e102a['shift']());}catch(_0x850385){_0x5e102a['push'](_0x5e102a['shift']());}}}(_0x24ab,0x96654));import{ContextPlugin as _0x1baa00}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x2988f8,CKEditorError as _0x29a4ac}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x3c6c20,WEB_SOCKET_GATEWAY_STATES as _0x39e96d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x45db96}from'ckeditor5/src/ui.js';class c extends _0x1baa00{static [_0x3299f7(0xfc)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3c6c20)());static [_0x3299f7(0xfe)]=0x3e8;[_0x3299f7(0x133)];[_0x3299f7(0x107)];[_0x3299f7(0x10d)];[_0x3299f7(0x121)];static get[_0x3299f7(0x117)](){const _0x208f7b=_0x3299f7;return[_0x208f7b(0x119),_0x45db96];}static get[_0x3299f7(0x11d)](){const _0x540d2c=_0x3299f7;return _0x540d2c(0xfc);}static get[_0x3299f7(0xf6)](){return!0x0;}static get[_0x3299f7(0x11e)](){return!0x0;}constructor(_0x2f2ff1){const _0x22664f=_0x3299f7;super(_0x2f2ff1),this[_0x22664f(0x12b)](_0x22664f(0x132),_0x39e96d[_0x22664f(0xf0)]),this[_0x22664f(0x12b)](_0x22664f(0x12e),!0x1),this[_0x22664f(0x107)]=new Set(),this[_0x22664f(0x10d)]=!0x1,this[_0x22664f(0x121)]=Object[_0x22664f(0x134)](_0x2988f8);}[_0x3299f7(0x10c)](){const _0x5b0a0b=_0x3299f7,_0x29c74d=this[_0x5b0a0b(0x116)],_0x2f0a73=_0x29c74d[_0x5b0a0b(0x12a)][_0x5b0a0b(0x137)](_0x5b0a0b(0x119)),_0xc98f9c=_0x29c74d[_0x5b0a0b(0x12a)][_0x5b0a0b(0x137)](_0x45db96);if(!_0x2f0a73[_0x5b0a0b(0xfd)])throw new _0x29a4ac(_0x5b0a0b(0x114),this);if(!_0x2f0a73[_0x5b0a0b(0xef)])throw new _0x29a4ac(_0x5b0a0b(0x12d),this);return this[_0x5b0a0b(0x121)][_0x5b0a0b(0x115)](window,_0x5b0a0b(0x126),()=>this[_0x5b0a0b(0x12e)]=!0x0),this[_0x5b0a0b(0x121)][_0x5b0a0b(0x115)](window,_0x5b0a0b(0x124),()=>this[_0x5b0a0b(0x12e)]=!0x1),this[_0x5b0a0b(0x116)][_0x5b0a0b(0xf9)][_0x5b0a0b(0x106)](_0x5b0a0b(0x11f),0xa),this[_0x5b0a0b(0x116)][_0x5b0a0b(0xf9)][_0x5b0a0b(0x106)](_0x5b0a0b(0x10e),0x14),c[_0x5b0a0b(0xfc)][_0x5b0a0b(0xf4)](_0x2f0a73[_0x5b0a0b(0xfd)],_0x2f0a73[_0x5b0a0b(0xef)],{'timeout':0x3e8*this[_0x5b0a0b(0x116)][_0x5b0a0b(0xf9)][_0x5b0a0b(0x137)](_0x5b0a0b(0x11f)),'requestTimeout':0x3e8*this[_0x5b0a0b(0x116)][_0x5b0a0b(0xf9)][_0x5b0a0b(0x137)](_0x5b0a0b(0x10e))})[_0x5b0a0b(0x123)](_0x3cbff9=>{const _0x4e357c=_0x5b0a0b;if(this[_0x4e357c(0x133)]=_0x3cbff9,this[_0x4e357c(0x125)](_0x4e357c(0x132))['to'](_0x3cbff9,_0x4e357c(0x132),this,_0x4e357c(0x12e),(_0x14c567,_0xb287d3)=>(_0x4e357c(0xf2)!==_0x14c567&&(this[_0x4e357c(0x10d)]=!0x0),_0xb287d3||_0x14c567!==_0x39e96d[_0x4e357c(0xf0)]?_0x39e96d[_0x4e357c(0x112)]:this[_0x4e357c(0x132)]==_0x39e96d[_0x4e357c(0x112)]&&this[_0x4e357c(0x10d)]?(this[_0x4e357c(0x10d)]=!0x1,this[_0x4e357c(0x10f)](),_0x39e96d[_0x4e357c(0x110)]):_0x39e96d[_0x4e357c(0xf0)])),this[_0x4e357c(0x133)]['on'](_0x4e357c(0x10b),(_0x10a53f,_0x1b0570)=>{const _0x2126c2=_0x4e357c;if(_0x2126c2(0xf8)!==_0x1b0570[_0x2126c2(0x111)])throw console[_0x2126c2(0x10b)](_0x1b0570),new _0x29a4ac(_0x2126c2(0x11c),null,{'originalError':_0x1b0570});_0xc98f9c[_0x2126c2(0x139)](_0x2126c2(0x128),{'title':_0x2126c2(0x109),'namespace':_0x2126c2(0xf7)});}),!_0x3cbff9['me'])return new Promise(_0x23006a=>_0x3cbff9['on'](_0x4e357c(0x105),_0x23006a));})[_0x5b0a0b(0x118)](_0x397c3f=>{const _0x46b3ff=_0x5b0a0b;throw console[_0x46b3ff(0x10b)](_0x397c3f),new _0x29a4ac(_0x46b3ff(0x11c),null,{'originalError':_0x397c3f});});}[_0x3299f7(0x12f)](_0x4b8a2f){const _0x151949=_0x3299f7;if(_0x151949(0x113)!=typeof _0x4b8a2f[_0x151949(0xf5)])throw new _0x29a4ac(_0x151949(0xfa),this);if(this[_0x151949(0x12c)](_0x4b8a2f))throw new _0x29a4ac(_0x151949(0x100),this,{'name':_0x4b8a2f[_0x151949(0x131)][_0x151949(0x11d)]});this[_0x151949(0x107)][_0x151949(0x136)](_0x4b8a2f);}[_0x3299f7(0x13a)](_0x36f3b8){const _0x558f12=_0x3299f7;this[_0x558f12(0x107)][_0x558f12(0x11a)](_0x36f3b8);}[_0x3299f7(0x12c)](_0x3f68f2){const _0x57c048=_0x3299f7;return this[_0x57c048(0x107)][_0x57c048(0x135)](_0x3f68f2);}[_0x3299f7(0x10f)](){const _0x3c9ff0=_0x3299f7;return this[_0x3c9ff0(0x133)][_0x3c9ff0(0xf5)]()[_0x3c9ff0(0x123)](()=>Promise[_0x3c9ff0(0xff)](Array[_0x3c9ff0(0x102)](this[_0x3c9ff0(0x107)],_0x21ebf2=>_0x21ebf2[_0x3c9ff0(0xf5)]())))[_0x3c9ff0(0x123)](()=>this[_0x3c9ff0(0x132)]=_0x39e96d[_0x3c9ff0(0xf0)])[_0x3c9ff0(0x118)](_0x5c7975=>{const _0xa911b1=_0x3c9ff0;throw console[_0xa911b1(0x10b)](_0x5c7975),new _0x29a4ac(_0xa911b1(0x10a),this[_0xa911b1(0x116)]);});}[_0x3299f7(0x120)](){const _0x59e02f=_0x3299f7;this[_0x59e02f(0x133)]&&this[_0x59e02f(0x133)][_0x59e02f(0x120)](),this[_0x59e02f(0x132)]=_0x39e96d[_0x59e02f(0x112)],this[_0x59e02f(0x121)][_0x59e02f(0x127)]();}[_0x3299f7(0x130)](){const _0x142820=_0x3299f7;this[_0x142820(0x120)](),super[_0x142820(0x130)]();}}function _0x24ab(){const _0xb2ef0=['CloudServices','delete','332835oXhGFh','cloudservices-init','pluginName','isPremiumPlugin','cloudServices.connectionTimeout','disconnect','_domEmitter','1CEPgHV','then','online','bind','offline','stopListening','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.','1518065kLWzSg','plugins','set','isInReconnectionStack','websocketgateway-missing-websocket-url','_isBrowserOffline','addToReconnectionStack','destroy','constructor','state','connection','create','has','add','get','8FahRbe','showWarning','removeFromReconnectionStack','webSocketUrl','CONNECTED','1580338qNKTGy','connected','9857871DSrZFV','connect','reconnect','isOfficialPlugin','real-time-collaboration','limitExceeded','config','websocketgateway-invalid-plugin-interface','12wEkmxO','WebSocketGateway','token','initialReconnectionInterval','all','websocketgateway-plugin-already-registered','2244JUHgti','from','62230KxxegW','4961621DONhYu','change:me','define','_reconnectionStack','6181578CVXEQz','Connected\x20users\x20limit\x20exceeded','cloudservices-reconnection-error','error','init','_shouldPluginsReconnect','cloudServices.requestTimeout','_reconnect','CONNECTING','code','DISCONNECTED','function','websocketgateway-missing-token','listenTo','context','requires','catch'];_0x24ab=function(){return _0xb2ef0;};return _0x24ab();}export default c;
23
+ const _0x2fe098=_0x301c;function _0x5bff(){const _0x378663=['isPremiumPlugin','code','pluginName','14047FFbHoK','error','stopListening','_domEmitter','cloudservices-reconnection-error','connect','removeFromReconnectionStack','13lyBAuS','limitExceeded','CloudServices','connected','webSocketUrl','cloudServices.requestTimeout','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.','websocketgateway-plugin-already-registered','context','bind','_isBrowserOffline','reconnect','disconnect','offline','5067QXGirL','WebSocketGateway','675aXUWny','2364JrXfph','_shouldPluginsReconnect','_reconnect','CONNECTING','initialReconnectionInterval','state','requires','cloudservices-init','change:me','constructor','5388628DjguPn','websocketgateway-missing-websocket-url','_reconnectionStack','token','init','showWarning','create','catch','function','plugins','add','from','Connected\x20users\x20limit\x20exceeded','DISCONNECTED','19800TXzvyV','12560XBEMzR','isInReconnectionStack','websocketgateway-missing-token','set','9028180wWOpMq','listenTo','has','14002DiHuAi','addToReconnectionStack','3282sMPAVc','connection','delete','isOfficialPlugin','then','real-time-collaboration','online','CONNECTED','18294OfFnhR','config','get','destroy','all','websocketgateway-invalid-plugin-interface','cloudServices.connectionTimeout','define'];_0x5bff=function(){return _0x378663;};return _0x5bff();}(function(_0x342c4d,_0x5be618){const _0x3df45a=_0x301c,_0x1a66c3=_0x342c4d();while(!![]){try{const _0xf261a9=parseInt(_0x3df45a(0x1b4))/0x1*(-parseInt(_0x3df45a(0x1e5))/0x2)+parseInt(_0x3df45a(0x1e7))/0x3*(parseInt(_0x3df45a(0x1c5))/0x4)+parseInt(_0x3df45a(0x1c4))/0x5*(parseInt(_0x3df45a(0x1ef))/0x6)+-parseInt(_0x3df45a(0x1cf))/0x7+-parseInt(_0x3df45a(0x1de))/0x8*(parseInt(_0x3df45a(0x1c2))/0x9)+-parseInt(_0x3df45a(0x1e2))/0xa+-parseInt(_0x3df45a(0x1fa))/0xb*(-parseInt(_0x3df45a(0x1dd))/0xc);if(_0xf261a9===_0x5be618)break;else _0x1a66c3['push'](_0x1a66c3['shift']());}catch(_0x44f2f7){_0x1a66c3['push'](_0x1a66c3['shift']());}}}(_0x5bff,0x7e62a));function _0x301c(_0x337902,_0x2915cd){const _0x5bff56=_0x5bff();return _0x301c=function(_0x301c76,_0x1756d7){_0x301c76=_0x301c76-0x1b2;let _0x2411d4=_0x5bff56[_0x301c76];return _0x2411d4;},_0x301c(_0x337902,_0x2915cd);}import{ContextPlugin as _0x5abbd7}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x197bc4,CKEditorError as _0x35bf46}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x407110,WEB_SOCKET_GATEWAY_STATES as _0x1f7fdf}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x222d8d}from'ckeditor5/src/ui.js';class c extends _0x5abbd7{static [_0x2fe098(0x1c3)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x407110)());static [_0x2fe098(0x1c9)]=0x3e8;[_0x2fe098(0x1e8)];[_0x2fe098(0x1d1)];[_0x2fe098(0x1c6)];[_0x2fe098(0x1fd)];static get[_0x2fe098(0x1cb)](){const _0x114e31=_0x2fe098;return[_0x114e31(0x1b6),_0x222d8d];}static get[_0x2fe098(0x1f9)](){const _0x186c2d=_0x2fe098;return _0x186c2d(0x1c3);}static get[_0x2fe098(0x1ea)](){return!0x0;}static get[_0x2fe098(0x1f7)](){return!0x0;}constructor(_0x41485e){const _0x49c2e2=_0x2fe098;super(_0x41485e),this[_0x49c2e2(0x1e1)](_0x49c2e2(0x1ca),_0x1f7fdf[_0x49c2e2(0x1ee)]),this[_0x49c2e2(0x1e1)](_0x49c2e2(0x1be),!0x1),this[_0x49c2e2(0x1d1)]=new Set(),this[_0x49c2e2(0x1c6)]=!0x1,this[_0x49c2e2(0x1fd)]=Object[_0x49c2e2(0x1d5)](_0x197bc4);}[_0x2fe098(0x1d3)](){const _0x63e8f=_0x2fe098,_0x448ec2=this[_0x63e8f(0x1bc)],_0x21c52c=_0x448ec2[_0x63e8f(0x1d8)][_0x63e8f(0x1f1)](_0x63e8f(0x1b6)),_0x5cb7ff=_0x448ec2[_0x63e8f(0x1d8)][_0x63e8f(0x1f1)](_0x222d8d);if(!_0x21c52c[_0x63e8f(0x1d2)])throw new _0x35bf46(_0x63e8f(0x1e0),this);if(!_0x21c52c[_0x63e8f(0x1b8)])throw new _0x35bf46(_0x63e8f(0x1d0),this);return this[_0x63e8f(0x1fd)][_0x63e8f(0x1e3)](window,_0x63e8f(0x1c1),()=>this[_0x63e8f(0x1be)]=!0x0),this[_0x63e8f(0x1fd)][_0x63e8f(0x1e3)](window,_0x63e8f(0x1ed),()=>this[_0x63e8f(0x1be)]=!0x1),this[_0x63e8f(0x1bc)][_0x63e8f(0x1f0)][_0x63e8f(0x1f6)](_0x63e8f(0x1f5),0xa),this[_0x63e8f(0x1bc)][_0x63e8f(0x1f0)][_0x63e8f(0x1f6)](_0x63e8f(0x1b9),0x14),c[_0x63e8f(0x1c3)][_0x63e8f(0x1b2)](_0x21c52c[_0x63e8f(0x1d2)],_0x21c52c[_0x63e8f(0x1b8)],{'timeout':0x3e8*this[_0x63e8f(0x1bc)][_0x63e8f(0x1f0)][_0x63e8f(0x1f1)](_0x63e8f(0x1f5)),'requestTimeout':0x3e8*this[_0x63e8f(0x1bc)][_0x63e8f(0x1f0)][_0x63e8f(0x1f1)](_0x63e8f(0x1b9))})[_0x63e8f(0x1eb)](_0x55abe9=>{const _0x22592a=_0x63e8f;if(this[_0x22592a(0x1e8)]=_0x55abe9,this[_0x22592a(0x1bd)](_0x22592a(0x1ca))['to'](_0x55abe9,_0x22592a(0x1ca),this,_0x22592a(0x1be),(_0xe96a28,_0x530e84)=>(_0x22592a(0x1b7)!==_0xe96a28&&(this[_0x22592a(0x1c6)]=!0x0),_0x530e84||_0xe96a28!==_0x1f7fdf[_0x22592a(0x1ee)]?_0x1f7fdf[_0x22592a(0x1dc)]:this[_0x22592a(0x1ca)]==_0x1f7fdf[_0x22592a(0x1dc)]&&this[_0x22592a(0x1c6)]?(this[_0x22592a(0x1c6)]=!0x1,this[_0x22592a(0x1c7)](),_0x1f7fdf[_0x22592a(0x1c8)]):_0x1f7fdf[_0x22592a(0x1ee)])),this[_0x22592a(0x1e8)]['on'](_0x22592a(0x1fb),(_0x17bd06,_0x722d66)=>{const _0x39686c=_0x22592a;if(_0x39686c(0x1b5)!==_0x722d66[_0x39686c(0x1f8)])throw console[_0x39686c(0x1fb)](_0x722d66),new _0x35bf46(_0x39686c(0x1cc),null,{'originalError':_0x722d66});_0x5cb7ff[_0x39686c(0x1d4)](_0x39686c(0x1ba),{'title':_0x39686c(0x1db),'namespace':_0x39686c(0x1ec)});}),!_0x55abe9['me'])return new Promise(_0x6a9004=>_0x55abe9['on'](_0x22592a(0x1cd),_0x6a9004));})[_0x63e8f(0x1d6)](_0x8ca0e7=>{const _0x3ac30e=_0x63e8f;throw console[_0x3ac30e(0x1fb)](_0x8ca0e7),new _0x35bf46(_0x3ac30e(0x1cc),null,{'originalError':_0x8ca0e7});});}[_0x2fe098(0x1e6)](_0x27d941){const _0x4b2f03=_0x2fe098;if(_0x4b2f03(0x1d7)!=typeof _0x27d941[_0x4b2f03(0x1bf)])throw new _0x35bf46(_0x4b2f03(0x1f4),this);if(this[_0x4b2f03(0x1df)](_0x27d941))throw new _0x35bf46(_0x4b2f03(0x1bb),this,{'name':_0x27d941[_0x4b2f03(0x1ce)][_0x4b2f03(0x1f9)]});this[_0x4b2f03(0x1d1)][_0x4b2f03(0x1d9)](_0x27d941);}[_0x2fe098(0x1b3)](_0x30d131){const _0x2d63ca=_0x2fe098;this[_0x2d63ca(0x1d1)][_0x2d63ca(0x1e9)](_0x30d131);}[_0x2fe098(0x1df)](_0x162284){const _0x5d57a1=_0x2fe098;return this[_0x5d57a1(0x1d1)][_0x5d57a1(0x1e4)](_0x162284);}[_0x2fe098(0x1c7)](){const _0x4aba56=_0x2fe098;return this[_0x4aba56(0x1e8)][_0x4aba56(0x1bf)]()[_0x4aba56(0x1eb)](()=>Promise[_0x4aba56(0x1f3)](Array[_0x4aba56(0x1da)](this[_0x4aba56(0x1d1)],_0x36910b=>_0x36910b[_0x4aba56(0x1bf)]())))[_0x4aba56(0x1eb)](()=>this[_0x4aba56(0x1ca)]=_0x1f7fdf[_0x4aba56(0x1ee)])[_0x4aba56(0x1d6)](_0x2ef3e3=>{const _0x549de5=_0x4aba56;throw console[_0x549de5(0x1fb)](_0x2ef3e3),new _0x35bf46(_0x549de5(0x1fe),this[_0x549de5(0x1bc)]);});}[_0x2fe098(0x1c0)](){const _0xc3bf89=_0x2fe098;this[_0xc3bf89(0x1e8)]&&this[_0xc3bf89(0x1e8)][_0xc3bf89(0x1c0)](),this[_0xc3bf89(0x1ca)]=_0x1f7fdf[_0xc3bf89(0x1dc)],this[_0xc3bf89(0x1fd)][_0xc3bf89(0x1fc)]();}[_0x2fe098(0x1f2)](){const _0xc50a3d=_0x2fe098;this[_0xc50a3d(0x1c0)](),super[_0xc50a3d(0x1f2)]();}}export default c;
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51b1a6=_0x1b86;(function(_0x3f1efc,_0x4aa1e2){const _0x3772c3=_0x1b86,_0xca6e38=_0x3f1efc();while(!![]){try{const _0xc07b5=-parseInt(_0x3772c3(0x1a2))/0x1*(-parseInt(_0x3772c3(0x196))/0x2)+parseInt(_0x3772c3(0x1b1))/0x3*(-parseInt(_0x3772c3(0x148))/0x4)+-parseInt(_0x3772c3(0x179))/0x5+-parseInt(_0x3772c3(0x192))/0x6*(parseInt(_0x3772c3(0x141))/0x7)+-parseInt(_0x3772c3(0x150))/0x8*(parseInt(_0x3772c3(0x15f))/0x9)+parseInt(_0x3772c3(0x15d))/0xa*(-parseInt(_0x3772c3(0x193))/0xb)+-parseInt(_0x3772c3(0x155))/0xc*(-parseInt(_0x3772c3(0x16b))/0xd);if(_0xc07b5===_0x4aa1e2)break;else _0xca6e38['push'](_0xca6e38['shift']());}catch(_0x30453d){_0xca6e38['push'](_0xca6e38['shift']());}}}(_0x114c,0x5fd79));import{Plugin as _0x2e2db3}from'ckeditor5/src/core.js';import{version as _0x25b4a6}from'ckeditor5/src/utils.js';function _0x114c(){const _0x5a3c6f=['setSource','then','CloudServicesRevisionHistoryAdapter','_preventResendingRevisionData','_handleRevisionsUpdate','baseVersion','creatorId','change:_isPendingUpdate','isBundleUploaded','keys','buildRevisionData','affectsData','400','currentRevision','has','getRevision','from','requires','_revisions','once','authorsIds','connection','781176wutNTt','1998887wUOpPz','marker','wrongRequestId','2WdiFHg','setRevisionData','cloud-services-internal-error:\x20Not\x20connected.','createdAt','_isPendingUpdate','config','reInit','off','_revisionTracker','getUser','cloud-services-internal-error:\x20Request\x20timeout.','state','637271FabIuW','type','destroy','RevisionHistoryService','change:_isConnected','_isConnected','reverse','connect','pluginName','isConnected','get','_getLatestVersionFromServerOperations','code','_fetchMissingUsers','map','70929pwbCBp','addUser','cloudServices.bundleVersion','listenTo','collaboration.channelId','startsWith','getOperations','14RNiLxI','addRevisionData','_startingVersion','add','_update','_createCurrentRevision','serverHistory','116dLtPOM','sendBufferedUpdates','_handleReconnectionError','RevisionTracker','toVersion','data','plugins','max','160IonyPJ','editor','getRevisions','_waitForServiceReady','updateRevisions','1908cuqxAI','_lastRequestId','_bufferedUpdates','init','length','addToReconnectionStack','_revisionHistoryService','_offset','10YGgKMl','diffData','171594xUnOnN','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','fromVersion','RevisionHistory','_bufferUpdate','revisionsUpdated','size','catch','_fixRevision','isEnabled','reconnect','message','159146BESMqp','isPremiumPlugin','sessionId','_revisionDataBuilder','repository','isOfficialPlugin','_getLatestVersion','_oldOffset','connected','getMany','CONNECTED','bind','adapter','authors','3410520DHLHKA','remove','isEmptyCurrent'];_0x114c=function(){return _0x5a3c6f;};return _0x114c();}import{Users as _0x1990c0}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4f0b8d from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x1b86(_0x53b3d1,_0x1e4ac1){const _0x114cb5=_0x114c();return _0x1b86=function(_0x1b86ba,_0x4578d9){_0x1b86ba=_0x1b86ba-0x141;let _0xb6d0c4=_0x114cb5[_0x1b86ba];return _0xb6d0c4;},_0x1b86(_0x53b3d1,_0x1e4ac1);}import _0xe4a73f from'../realtimecollaborativeediting/websocketgateway.js';import _0x4fa795 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x32d115,RevisionHistoryService as _0x5274e2,User as _0x4a3ca4,WEB_SOCKET_GATEWAY_STATES as _0x12f297}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x2e2db3{static [_0x51b1a6(0x1a5)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5274e2)());[_0x51b1a6(0x156)];[_0x51b1a6(0x19e)];[_0x51b1a6(0x15b)];[_0x51b1a6(0x172)];static get[_0x51b1a6(0x18d)](){const _0x4e30d4=_0x51b1a6;return[_0xe4a73f,_0x4f0b8d,_0x4e30d4(0x162),_0x4fa795,_0x1990c0];}static get[_0x51b1a6(0x1aa)](){const _0x44b845=_0x51b1a6;return _0x44b845(0x17e);}static get[_0x51b1a6(0x170)](){return!0x0;}static get[_0x51b1a6(0x16c)](){return!0x0;}constructor(_0xc11cbb){const _0x20f525=_0x51b1a6;super(_0xc11cbb);const _0x4f3a19=this[_0x20f525(0x151)][_0x20f525(0x19b)][_0x20f525(0x1ac)](_0x20f525(0x1b5));this[_0x20f525(0x156)]=null,this[_0x20f525(0x19e)]=this[_0x20f525(0x151)][_0x20f525(0x14e)][_0x20f525(0x1ac)](_0x20f525(0x14b)),this[_0x20f525(0x15b)]=new u[(_0x20f525(0x1a5))](_0x4f3a19);}async[_0x51b1a6(0x158)](){const _0x41edc8=_0x51b1a6,_0x42a7f6=this[_0x41edc8(0x151)][_0x41edc8(0x14e)][_0x41edc8(0x1ac)](_0x4f0b8d),_0x3a7431=_0x42a7f6[_0x41edc8(0x147)],_0x34069f=this[_0x41edc8(0x151)][_0x41edc8(0x14e)][_0x41edc8(0x1ac)](_0xe4a73f);this[_0x41edc8(0x19e)][_0x41edc8(0x17c)]({'history':_0x3a7431,'getLatestVersion':()=>this[_0x41edc8(0x171)](),'getCurrentRevisionId':()=>_0x42a7f6[_0x41edc8(0x16d)]});const _0x565a0f=this[_0x41edc8(0x151)][_0x41edc8(0x19b)][_0x41edc8(0x1ac)](_0x41edc8(0x1b3))||_0x25b4a6,_0x19c90d=await _0x32d115[_0x41edc8(0x184)](_0x34069f[_0x41edc8(0x191)],_0x565a0f);this[_0x41edc8(0x151)][_0x41edc8(0x14e)][_0x41edc8(0x1ac)](_0x41edc8(0x162))[_0x41edc8(0x177)]={'getRevision':async({revisionId:_0x21afda})=>(await this[_0x41edc8(0x153)](),await this[_0x41edc8(0x15b)][_0x41edc8(0x18b)](_0x21afda)),'updateRevisions':async _0x2e25f3=>{const _0x318ccc=_0x41edc8;await this[_0x318ccc(0x153)]();const _0x671b0c=this[_0x318ccc(0x19e)][_0x318ccc(0x189)];if(_0x19c90d&&0x1===_0x2e25f3[_0x318ccc(0x159)]&&_0x2e25f3[0x0]['id']===_0x671b0c['id'])return _0x2e25f3;for(const _0x558516 of _0x2e25f3)_0x558516['id']===_0x671b0c['id']&&(_0x558516[_0x318ccc(0x17b)]=_0x558516[_0x318ccc(0x161)]===_0x558516[_0x318ccc(0x14c)]);return this[_0x318ccc(0x15b)][_0x318ccc(0x154)](_0x2e25f3,this[_0x318ccc(0x156)])[_0x318ccc(0x17d)](_0x30360b=>(this[_0x318ccc(0x156)]=_0x30360b,_0x2e25f3))[_0x318ccc(0x166)](_0x3eaea0=>{const _0x3bcac3=_0x318ccc;if(st(_0x3eaea0)||_0x3bcac3(0x188)===_0x3eaea0[_0x3bcac3(0x1ae)]&&void 0x0!==_0x3eaea0[_0x3bcac3(0x14d)][_0x3bcac3(0x195)]){for(const _0x7ea8fa of _0x2e25f3){!this[_0x3bcac3(0x19e)][_0x3bcac3(0x16f)][_0x3bcac3(0x18b)](_0x7ea8fa['id'])||this[_0x3bcac3(0x19e)][_0x3bcac3(0x163)](_0x7ea8fa['id'],_0x7ea8fa,!0x1);}if(st(_0x3eaea0))throw _0x3eaea0;return _0x2e25f3;}throw _0x3eaea0;});}},this[_0x41edc8(0x1b4)](this[_0x41edc8(0x15b)],_0x41edc8(0x164),(_0x274321,{revisionsData:_0x5c053f,requestId:_0x408a67})=>{const _0x53470a=_0x41edc8;Math[_0x53470a(0x14f)](..._0x5c053f[_0x53470a(0x1b0)](_0x347b40=>_0x347b40[_0x53470a(0x14c)]))>this[_0x53470a(0x1ad)]()-0x1?this[_0x53470a(0x171)]()[_0x53470a(0x17d)](()=>{const _0x36ea55=_0x53470a;this[_0x36ea55(0x180)](_0x5c053f,_0x408a67);}):this[_0x53470a(0x180)](_0x5c053f,_0x408a67);});const {revisions:_0xa2e6ef,requestId:_0x2c11c8}=await this[_0x41edc8(0x15b)][_0x41edc8(0x1a9)](_0x34069f[_0x41edc8(0x191)]);_0x34069f[_0x41edc8(0x15a)](this),this[_0x41edc8(0x156)]=_0x2c11c8,await this[_0x41edc8(0x1af)](_0xa2e6ef);for(const _0x39346d of _0xa2e6ef)this[_0x41edc8(0x19e)][_0x41edc8(0x142)](_0x39346d);this[_0x41edc8(0x1b4)](_0x42a7f6,_0x41edc8(0x1a6),(_0x45a4e6,_0x5b8b58,_0x1a318a)=>{const _0x26cd43=_0x41edc8;_0x1a318a&&(this[_0x26cd43(0x172)]=_0x42a7f6[_0x26cd43(0x15c)],_0x45a4e6[_0x26cd43(0x19d)]());}),this[_0x41edc8(0x19e)][_0x41edc8(0x176)](_0x41edc8(0x168))['to'](_0x34069f,_0x41edc8(0x1a1),_0xe83d3f=>_0xe83d3f===_0x12f297[_0x41edc8(0x175)]);}async[_0x51b1a6(0x169)](){const _0x45e28a=_0x51b1a6,_0x453dd2=this[_0x45e28a(0x151)][_0x45e28a(0x14e)][_0x45e28a(0x1ac)](_0xe4a73f),_0x242031=this[_0x45e28a(0x151)][_0x45e28a(0x14e)][_0x45e28a(0x1ac)](_0x4f0b8d),_0x7dce86=async()=>{const _0x3df3f3=_0x45e28a,_0x3af4e0=this[_0x3df3f3(0x19e)][_0x3df3f3(0x189)],_0x17a67e=_0x3af4e0['id'],_0x3cfec6=_0x17a67e!==_0x242031[_0x3df3f3(0x16d)];if(_0x3cfec6){const _0x33738c=_0x242031[_0x3df3f3(0x15c)]-this[_0x3df3f3(0x172)],_0x31de25=this[_0x3df3f3(0x1ad)]();this[_0x3df3f3(0x19e)][_0x3df3f3(0x16e)][_0x3df3f3(0x19c)]();if(_0x3af4e0[_0x3df3f3(0x14c)]+_0x33738c!==_0x31de25){const _0x2fd215=_0x3af4e0[_0x3df3f3(0x161)]+_0x33738c,_0x476171=this[_0x3df3f3(0x151)][_0x3df3f3(0x14e)][_0x3df3f3(0x1ac)](_0x1990c0),_0x9fb151=this[_0x3df3f3(0x19e)][_0x3df3f3(0x186)]({'revision':_0x3af4e0,'from':_0x2fd215,'to':_0x31de25});_0x9fb151['id']=_0x3af4e0['id'];const _0x12c5e2=_0x9fb151[_0x3df3f3(0x190)][_0x3df3f3(0x1b0)](_0x1e14df=>_0x476171[_0x3df3f3(0x19f)](_0x1e14df));_0x3af4e0[_0x3df3f3(0x145)]({..._0x9fb151,'authors':_0x12c5e2},!0x0),this[_0x3df3f3(0x19e)][_0x3df3f3(0x163)](_0x3af4e0['id'],_0x9fb151,!0x0);}this[_0x3df3f3(0x19e)][_0x3df3f3(0x143)]=_0x31de25,(_0x3af4e0[_0x3df3f3(0x14c)]===_0x3af4e0[_0x3df3f3(0x161)]&&!this[_0x3df3f3(0x19e)][_0x3df3f3(0x157)][_0x3df3f3(0x18a)](_0x17a67e)&&this[_0x3df3f3(0x19e)][_0x3df3f3(0x16f)][_0x3df3f3(0x18e)][_0x3df3f3(0x17a)](_0x17a67e),this[_0x3df3f3(0x19e)][_0x3df3f3(0x146)](_0x31de25));}const {revisions:_0x5e8741,requestId:_0x138b44}=await this[_0x3df3f3(0x15b)][_0x3df3f3(0x169)](_0x453dd2[_0x3df3f3(0x191)],this[_0x3df3f3(0x156)]);_0x3cfec6&&_0x5e8741[_0x3df3f3(0x159)]>0x0?_0x242031[_0x3df3f3(0x14a)]():(await this[_0x3df3f3(0x1af)](_0x5e8741),this[_0x3df3f3(0x180)](_0x5e8741,_0x138b44),this[_0x3df3f3(0x19e)][_0x3df3f3(0x149)]());};return _0x242031[_0x45e28a(0x1a7)]?_0x7dce86():new Promise((_0x367914,_0x5f2e36)=>{const _0x48accc=_0x45e28a;_0x242031[_0x48accc(0x18f)](_0x48accc(0x1a6),()=>{const _0x1a6cb5=_0x48accc;_0x7dce86()[_0x1a6cb5(0x17d)](_0x367914)[_0x1a6cb5(0x166)](_0x5f2e36);});});}[_0x51b1a6(0x1a4)](){const _0x25ba09=_0x51b1a6;super[_0x25ba09(0x1a4)]();}async[_0x51b1a6(0x153)](){const _0xf2f13=_0x51b1a6;this[_0xf2f13(0x15b)][_0xf2f13(0x1ab)]||await new Promise(_0x276e3d=>{const _0x337d2e=_0xf2f13;this[_0x337d2e(0x1b4)](this[_0x337d2e(0x15b)],_0x337d2e(0x173),_0x189ebb=>{const _0xa86d43=_0x337d2e;_0x189ebb[_0xa86d43(0x19d)](),_0x276e3d();});});}[_0x51b1a6(0x1ad)](){const _0x2ca8b4=_0x51b1a6,_0x423279=this[_0x2ca8b4(0x151)][_0x2ca8b4(0x14e)][_0x2ca8b4(0x1ac)](_0x4f0b8d)[_0x2ca8b4(0x147)][_0x2ca8b4(0x1b7)]()[_0x2ca8b4(0x1a8)]();for(const _0x18569d of _0x423279)if(_0x2ca8b4(0x194)!==_0x18569d[_0x2ca8b4(0x1a3)]||_0x18569d[_0x2ca8b4(0x187)])return _0x18569d[_0x2ca8b4(0x181)]+0x1;}[_0x51b1a6(0x171)](){const _0x478cfe=_0x51b1a6,_0x204abe=this[_0x478cfe(0x151)][_0x478cfe(0x14e)][_0x478cfe(0x1ac)](_0x4f0b8d);return new Promise(_0x53e458=>{const _0x36f43e=_0x478cfe;_0x204abe[_0x36f43e(0x19a)]?_0x204abe[_0x36f43e(0x18f)](_0x36f43e(0x183),()=>{const _0x2a30bb=_0x36f43e;_0x53e458(this[_0x2a30bb(0x1ad)]());}):_0x53e458(this[_0x36f43e(0x1ad)]());});}[_0x51b1a6(0x180)](_0x504e64,_0x344524){const _0x6d6de5=_0x51b1a6,_0xfaf49b=this[_0x6d6de5(0x19e)][_0x6d6de5(0x16f)];this[_0x6d6de5(0x156)]=_0x344524;for(const _0x337263 of _0x504e64){const _0x2ecec2=_0xfaf49b[_0x6d6de5(0x18b)](_0x337263['id']);if(_0x2ecec2){if((_0x337263[_0x6d6de5(0x161)]||_0x337263[_0x6d6de5(0x14c)])&&(_0x337263[_0x6d6de5(0x15e)]=null),_0x2ecec2===this[_0x6d6de5(0x19e)][_0x6d6de5(0x189)]){const _0x15b83c=Math[_0x6d6de5(0x14f)](_0x2ecec2[_0x6d6de5(0x14c)],_0x337263[_0x6d6de5(0x14c)]),_0x4a665a=Math[_0x6d6de5(0x14f)](_0x2ecec2[_0x6d6de5(0x161)],_0x337263[_0x6d6de5(0x161)]);let _0x44acfd;_0x2ecec2[_0x6d6de5(0x14c)]===_0x337263[_0x6d6de5(0x14c)]&&_0x2ecec2[_0x6d6de5(0x161)]===_0x337263[_0x6d6de5(0x161)]?(_0x44acfd=!0x0,this[_0x6d6de5(0x17f)](_0x337263)):_0x337263[_0x6d6de5(0x14c)]===_0x15b83c&&_0x337263[_0x6d6de5(0x161)]===_0x4a665a?_0x44acfd=!0x1:(_0x2ecec2[_0x6d6de5(0x14c)]===_0x15b83c&&_0x2ecec2[_0x6d6de5(0x161)]===_0x4a665a||this[_0x6d6de5(0x167)]({'revision':_0x2ecec2,'from':_0x4a665a,'to':_0x15b83c}),_0x44acfd=!0x0),_0x44acfd&&(delete _0x337263[_0x6d6de5(0x161)],delete _0x337263[_0x6d6de5(0x14c)],delete _0x337263[_0x6d6de5(0x15e)],delete _0x337263[_0x6d6de5(0x199)],delete _0x337263[_0x6d6de5(0x190)]);}this[_0x6d6de5(0x19e)][_0x6d6de5(0x197)](_0x337263),this[_0x6d6de5(0x17f)](_0x337263);}else this[_0x6d6de5(0x19e)][_0x6d6de5(0x142)](_0x337263);}const _0x51bdb8=_0xfaf49b[_0x6d6de5(0x152)]();_0x51bdb8[_0x6d6de5(0x1a8)]();for(let _0x232180=0x0;_0x232180<_0x51bdb8[_0x6d6de5(0x159)]-0x1;_0x232180++){const _0x512ade=_0x51bdb8[_0x232180],_0xd242ba=_0x51bdb8[_0x232180+0x1];if(_0x512ade[_0x6d6de5(0x161)]<_0xd242ba[_0x6d6de5(0x14c)]){const _0x37491b=_0xd242ba[_0x6d6de5(0x14c)],_0x48951e=Math[_0x6d6de5(0x14f)](_0x37491b,_0x512ade[_0x6d6de5(0x14c)]);this[_0x6d6de5(0x167)]({'revision':_0x512ade,'from':_0x37491b,'to':_0x48951e});}}}[_0x51b1a6(0x167)]({revision:_0x31086a,from:_0x31eb3e,to:_0x2c239a}={}){const _0x150d65=_0x51b1a6,_0x3b46c8=this[_0x150d65(0x151)][_0x150d65(0x14e)][_0x150d65(0x1ac)](_0x1990c0),_0x7bed16=this[_0x150d65(0x19e)][_0x150d65(0x186)]({'revision':_0x31086a,'from':_0x31eb3e,'to':_0x2c239a});_0x7bed16[_0x150d65(0x178)]=_0x7bed16[_0x150d65(0x190)][_0x150d65(0x1b0)](_0x405e43=>_0x3b46c8[_0x150d65(0x19f)](_0x405e43)),_0x31086a[_0x150d65(0x145)](_0x7bed16);}[_0x51b1a6(0x17f)](_0x335961){const _0x56bad1=_0x51b1a6,_0x45c72f={};_0x45c72f['id']=_0x335961['id'];for(const _0x2e21fd of Object[_0x56bad1(0x185)](_0x335961))'id'!==_0x2e21fd&&(_0x45c72f[_0x2e21fd]=void 0x0);this[_0x56bad1(0x19e)][_0x56bad1(0x163)](_0x45c72f['id'],_0x45c72f,!0x0);}async[_0x51b1a6(0x1af)](_0x1c48a3){const _0x270678=_0x51b1a6,_0x91b48f=this[_0x270678(0x151)][_0x270678(0x14e)][_0x270678(0x1ac)](_0x1990c0),{connection:_0x1c377e}=this[_0x270678(0x151)][_0x270678(0x14e)][_0x270678(0x1ac)](_0xe4a73f),_0x46287b=new Set();for(const _0x5d4dce of _0x1c48a3){for(const _0x3238b8 of _0x5d4dce[_0x270678(0x190)])_0x5c47ba(_0x3238b8);_0x5d4dce[_0x270678(0x182)]&&_0x5c47ba(_0x5d4dce[_0x270678(0x182)]);}if(0x0===_0x46287b[_0x270678(0x165)])return;const _0x416462=await _0x4a3ca4[_0x270678(0x174)](_0x1c377e,Array[_0x270678(0x18c)](_0x46287b));for(const _0x5c7e6c of _0x416462)_0x91b48f[_0x270678(0x19f)](_0x5c7e6c['id'])||_0x91b48f[_0x270678(0x1b2)](_0x5c7e6c);function _0x5c47ba(_0x53cb3d){const _0x4426a3=_0x270678;_0x91b48f[_0x4426a3(0x19f)](_0x53cb3d)||_0x46287b[_0x4426a3(0x144)](_0x53cb3d);}}}export default u;function st(_0x23d335){const _0x17b86b=_0x51b1a6;return _0x23d335[_0x17b86b(0x16a)][_0x17b86b(0x1b6)](_0x17b86b(0x160))||_0x23d335[_0x17b86b(0x16a)][_0x17b86b(0x1b6)](_0x17b86b(0x198))||_0x23d335[_0x17b86b(0x16a)][_0x17b86b(0x1b6)](_0x17b86b(0x1a0));}
23
+ const _0x19e4dd=_0x2726;(function(_0x2c1d71,_0x1106c3){const _0x3579cd=_0x2726,_0x12118f=_0x2c1d71();while(!![]){try{const _0x47b3ea=parseInt(_0x3579cd(0x1c7))/0x1*(-parseInt(_0x3579cd(0x20a))/0x2)+parseInt(_0x3579cd(0x1dd))/0x3+parseInt(_0x3579cd(0x1bb))/0x4+parseInt(_0x3579cd(0x1df))/0x5+-parseInt(_0x3579cd(0x1c2))/0x6*(parseInt(_0x3579cd(0x1b7))/0x7)+parseInt(_0x3579cd(0x1ed))/0x8+-parseInt(_0x3579cd(0x1ba))/0x9;if(_0x47b3ea===_0x1106c3)break;else _0x12118f['push'](_0x12118f['shift']());}catch(_0x4acb36){_0x12118f['push'](_0x12118f['shift']());}}}(_0x1c14,0x3b9be));import{Plugin as _0x300ac1}from'ckeditor5/src/core.js';import{version as _0x423112}from'ckeditor5/src/utils.js';import{Users as _0x1fe4ac}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x513f80 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x2e54b7 from'../realtimecollaborativeediting/websocketgateway.js';function _0x2726(_0x299fb5,_0xaf3736){const _0x1c14fb=_0x1c14();return _0x2726=function(_0x2726c7,_0x2bf852){_0x2726c7=_0x2726c7-0x19c;let _0x3106bc=_0x1c14fb[_0x2726c7];return _0x3106bc;},_0x2726(_0x299fb5,_0xaf3736);}import _0x5481d0 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x32de38,RevisionHistoryService as _0x522eb7,User as _0x3993e9,WEB_SOCKET_GATEWAY_STATES as _0x4e0db6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x300ac1{static [_0x19e4dd(0x1d5)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x522eb7)());[_0x19e4dd(0x1ad)];[_0x19e4dd(0x1aa)];[_0x19e4dd(0x1b4)];[_0x19e4dd(0x1f2)];static get[_0x19e4dd(0x1e6)](){const _0x2797b5=_0x19e4dd;return[_0x2e54b7,_0x513f80,_0x2797b5(0x1c9),_0x5481d0,_0x1fe4ac];}static get[_0x19e4dd(0x1f0)](){const _0x4980f3=_0x19e4dd;return _0x4980f3(0x1fb);}static get[_0x19e4dd(0x1d7)](){return!0x0;}static get[_0x19e4dd(0x1f9)](){return!0x0;}constructor(_0x331c7d){const _0x27813c=_0x19e4dd;super(_0x331c7d);const _0x2314ac=this[_0x27813c(0x1cd)][_0x27813c(0x1e1)][_0x27813c(0x200)](_0x27813c(0x1d3));this[_0x27813c(0x1ad)]=null,this[_0x27813c(0x1aa)]=this[_0x27813c(0x1cd)][_0x27813c(0x19e)][_0x27813c(0x200)](_0x27813c(0x205)),this[_0x27813c(0x1b4)]=new u[(_0x27813c(0x1d5))](_0x2314ac);}async[_0x19e4dd(0x1bd)](){const _0x472f8f=_0x19e4dd,_0x257955=this[_0x472f8f(0x1cd)][_0x472f8f(0x19e)][_0x472f8f(0x200)](_0x513f80),_0x794a33=_0x257955[_0x472f8f(0x1d4)],_0x13c5de=this[_0x472f8f(0x1cd)][_0x472f8f(0x19e)][_0x472f8f(0x200)](_0x2e54b7);this[_0x472f8f(0x1aa)][_0x472f8f(0x1e0)]({'history':_0x794a33,'getLatestVersion':()=>this[_0x472f8f(0x1e5)](),'getCurrentRevisionId':()=>_0x257955[_0x472f8f(0x1f5)]});const _0x24aadb=this[_0x472f8f(0x1cd)][_0x472f8f(0x1e1)][_0x472f8f(0x200)](_0x472f8f(0x1a6))||_0x423112,_0x522944=await _0x32de38[_0x472f8f(0x1a9)](_0x13c5de[_0x472f8f(0x1db)],_0x24aadb);this[_0x472f8f(0x1cd)][_0x472f8f(0x19e)][_0x472f8f(0x200)](_0x472f8f(0x1c9))[_0x472f8f(0x1c6)]={'getRevision':async({revisionId:_0x51933e})=>(await this[_0x472f8f(0x1fc)](),await this[_0x472f8f(0x1b4)][_0x472f8f(0x1c4)](_0x51933e)),'updateRevisions':async _0x4e0646=>{const _0x36d570=_0x472f8f;await this[_0x36d570(0x1fc)]();const _0x3e5de4=this[_0x36d570(0x1aa)][_0x36d570(0x1bf)];if(_0x522944&&0x1===_0x4e0646[_0x36d570(0x1e2)]&&_0x4e0646[0x0]['id']===_0x3e5de4['id'])return _0x4e0646;for(const _0x468fa7 of _0x4e0646)_0x468fa7['id']===_0x3e5de4['id']&&(_0x468fa7[_0x36d570(0x20b)]=_0x468fa7[_0x36d570(0x20c)]===_0x468fa7[_0x36d570(0x1fa)]);return this[_0x36d570(0x1b4)][_0x36d570(0x204)](_0x4e0646,this[_0x36d570(0x1ad)])[_0x36d570(0x1ea)](_0x57b6cc=>(this[_0x36d570(0x1ad)]=_0x57b6cc,_0x4e0646))[_0x36d570(0x1f6)](_0x40bd9e=>{const _0x26a1e3=_0x36d570;if(st(_0x40bd9e)||_0x26a1e3(0x1da)===_0x40bd9e[_0x26a1e3(0x1a4)]&&void 0x0!==_0x40bd9e[_0x26a1e3(0x1b8)][_0x26a1e3(0x19d)]){for(const _0x2668f9 of _0x4e0646){!this[_0x26a1e3(0x1aa)][_0x26a1e3(0x1a1)][_0x26a1e3(0x1c4)](_0x2668f9['id'])||this[_0x26a1e3(0x1aa)][_0x26a1e3(0x1fd)](_0x2668f9['id'],_0x2668f9,!0x1);}if(st(_0x40bd9e))throw _0x40bd9e;return _0x4e0646;}throw _0x40bd9e;});}},this[_0x472f8f(0x1b2)](this[_0x472f8f(0x1b4)],_0x472f8f(0x1a8),(_0x5cea2b,{revisionsData:_0x5bb59a,requestId:_0x112db5})=>{const _0x5c6d3c=_0x472f8f;Math[_0x5c6d3c(0x1ee)](..._0x5bb59a[_0x5c6d3c(0x1d2)](_0x10d052=>_0x10d052[_0x5c6d3c(0x1fa)]))>this[_0x5c6d3c(0x1cb)]()-0x1?this[_0x5c6d3c(0x1e5)]()[_0x5c6d3c(0x1ea)](()=>{const _0x50569e=_0x5c6d3c;this[_0x50569e(0x1d9)](_0x5bb59a,_0x112db5);}):this[_0x5c6d3c(0x1d9)](_0x5bb59a,_0x112db5);});const {revisions:_0x55d3db,requestId:_0x254fbf}=await this[_0x472f8f(0x1b4)][_0x472f8f(0x1dc)](_0x13c5de[_0x472f8f(0x1db)]);_0x13c5de[_0x472f8f(0x1c5)](this),this[_0x472f8f(0x1ad)]=_0x254fbf,await this[_0x472f8f(0x1e8)](_0x55d3db);for(const _0x2e14a5 of _0x55d3db)this[_0x472f8f(0x1aa)][_0x472f8f(0x202)](_0x2e14a5);this[_0x472f8f(0x1b2)](_0x257955,_0x472f8f(0x1b9),(_0x187ac3,_0xf9cf2c,_0x28892e)=>{const _0x1254f4=_0x472f8f;_0x28892e&&(this[_0x1254f4(0x1f2)]=_0x257955[_0x1254f4(0x1d8)],_0x187ac3[_0x1254f4(0x207)]());}),this[_0x472f8f(0x1aa)][_0x472f8f(0x20d)](_0x472f8f(0x1eb))['to'](_0x13c5de,_0x472f8f(0x1ef),_0x354d95=>_0x354d95===_0x4e0db6[_0x472f8f(0x1a7)]);}async[_0x19e4dd(0x1f1)](){const _0x376478=_0x19e4dd,_0x32cef1=this[_0x376478(0x1cd)][_0x376478(0x19e)][_0x376478(0x200)](_0x2e54b7),_0x50d094=this[_0x376478(0x1cd)][_0x376478(0x19e)][_0x376478(0x200)](_0x513f80),_0x5f23f3=async()=>{const _0xc24efd=_0x376478,_0x553296=this[_0xc24efd(0x1aa)][_0xc24efd(0x1bf)],_0x40d799=_0x553296['id'],_0x559dd8=_0x40d799!==_0x50d094[_0xc24efd(0x1f5)];if(_0x559dd8){const _0x1c55c5=_0x50d094[_0xc24efd(0x1d8)]-this[_0xc24efd(0x1f2)],_0x300501=this[_0xc24efd(0x1cb)]();this[_0xc24efd(0x1aa)][_0xc24efd(0x1ec)][_0xc24efd(0x1af)]();if(_0x553296[_0xc24efd(0x1fa)]+_0x1c55c5!==_0x300501){const _0x31f91d=_0x553296[_0xc24efd(0x20c)]+_0x1c55c5,_0x3198c5=this[_0xc24efd(0x1cd)][_0xc24efd(0x19e)][_0xc24efd(0x200)](_0x1fe4ac),_0x1b4544=this[_0xc24efd(0x1aa)][_0xc24efd(0x1b0)]({'revision':_0x553296,'from':_0x31f91d,'to':_0x300501});_0x1b4544['id']=_0x553296['id'];const _0x2365cb=_0x1b4544[_0xc24efd(0x1d1)][_0xc24efd(0x1d2)](_0x198cbb=>_0x3198c5[_0xc24efd(0x1b6)](_0x198cbb));_0x553296[_0xc24efd(0x1a0)]({..._0x1b4544,'authors':_0x2365cb},!0x0),this[_0xc24efd(0x1aa)][_0xc24efd(0x1fd)](_0x553296['id'],_0x1b4544,!0x0);}this[_0xc24efd(0x1aa)][_0xc24efd(0x1cc)]=_0x300501,(_0x553296[_0xc24efd(0x1fa)]===_0x553296[_0xc24efd(0x20c)]&&!this[_0xc24efd(0x1aa)][_0xc24efd(0x19f)][_0xc24efd(0x1bc)](_0x40d799)&&this[_0xc24efd(0x1aa)][_0xc24efd(0x1a1)][_0xc24efd(0x1cf)][_0xc24efd(0x1fe)](_0x40d799),this[_0xc24efd(0x1aa)][_0xc24efd(0x1c0)](_0x300501));}const {revisions:_0x409d2d,requestId:_0x5dc020}=await this[_0xc24efd(0x1b4)][_0xc24efd(0x1f1)](_0x32cef1[_0xc24efd(0x1db)],this[_0xc24efd(0x1ad)]);_0x559dd8&&_0x409d2d[_0xc24efd(0x1e2)]>0x0?_0x50d094[_0xc24efd(0x203)]():(await this[_0xc24efd(0x1e8)](_0x409d2d),this[_0xc24efd(0x1d9)](_0x409d2d,_0x5dc020),this[_0xc24efd(0x1aa)][_0xc24efd(0x1be)]());};return _0x50d094[_0x376478(0x1b1)]?_0x5f23f3():new Promise((_0x14243e,_0x3615df)=>{const _0x4b4de4=_0x376478;_0x50d094[_0x4b4de4(0x1c1)](_0x4b4de4(0x1b9),()=>{const _0x30cc93=_0x4b4de4;_0x5f23f3()[_0x30cc93(0x1ea)](_0x14243e)[_0x30cc93(0x1f6)](_0x3615df);});});}[_0x19e4dd(0x20e)](){const _0x2ea971=_0x19e4dd;super[_0x2ea971(0x20e)]();}async[_0x19e4dd(0x1fc)](){const _0x23384d=_0x19e4dd;this[_0x23384d(0x1b4)][_0x23384d(0x1ca)]||await new Promise(_0x2ec7bc=>{const _0x1dbe2b=_0x23384d;this[_0x1dbe2b(0x1b2)](this[_0x1dbe2b(0x1b4)],_0x1dbe2b(0x1b3),_0x44c677=>{const _0x280ef6=_0x1dbe2b;_0x44c677[_0x280ef6(0x207)](),_0x2ec7bc();});});}[_0x19e4dd(0x1cb)](){const _0x4cc0a5=_0x19e4dd,_0x561d4c=this[_0x4cc0a5(0x1cd)][_0x4cc0a5(0x19e)][_0x4cc0a5(0x200)](_0x513f80)[_0x4cc0a5(0x1d4)][_0x4cc0a5(0x1e4)]()[_0x4cc0a5(0x201)]();for(const _0x1dbced of _0x561d4c)if(_0x4cc0a5(0x209)!==_0x1dbced[_0x4cc0a5(0x1e7)]||_0x1dbced[_0x4cc0a5(0x1f7)])return _0x1dbced[_0x4cc0a5(0x1c3)]+0x1;}[_0x19e4dd(0x1e5)](){const _0x3ed51c=_0x19e4dd,_0x5e090c=this[_0x3ed51c(0x1cd)][_0x3ed51c(0x19e)][_0x3ed51c(0x200)](_0x513f80);return new Promise(_0x31accb=>{const _0x5c26e5=_0x3ed51c;_0x5e090c[_0x5c26e5(0x1c8)]?_0x5e090c[_0x5c26e5(0x1c1)](_0x5c26e5(0x208),()=>{const _0x29e23f=_0x5c26e5;_0x31accb(this[_0x29e23f(0x1cb)]());}):_0x31accb(this[_0x5c26e5(0x1cb)]());});}[_0x19e4dd(0x1d9)](_0x420fb9,_0x3a6455){const _0x5176e9=_0x19e4dd,_0x4f3235=this[_0x5176e9(0x1aa)][_0x5176e9(0x1a1)];this[_0x5176e9(0x1ad)]=_0x3a6455;for(const _0x19bee6 of _0x420fb9){const _0x19327b=_0x4f3235[_0x5176e9(0x1c4)](_0x19bee6['id']);if(_0x19327b){if((_0x19bee6[_0x5176e9(0x20c)]||_0x19bee6[_0x5176e9(0x1fa)])&&(_0x19bee6[_0x5176e9(0x1d6)]=null),_0x19327b===this[_0x5176e9(0x1aa)][_0x5176e9(0x1bf)]){const _0x550200=Math[_0x5176e9(0x1ee)](_0x19327b[_0x5176e9(0x1fa)],_0x19bee6[_0x5176e9(0x1fa)]),_0x31bbce=Math[_0x5176e9(0x1ee)](_0x19327b[_0x5176e9(0x20c)],_0x19bee6[_0x5176e9(0x20c)]);let _0x5092c1;_0x19327b[_0x5176e9(0x1fa)]===_0x19bee6[_0x5176e9(0x1fa)]&&_0x19327b[_0x5176e9(0x20c)]===_0x19bee6[_0x5176e9(0x20c)]?(_0x5092c1=!0x0,this[_0x5176e9(0x1f3)](_0x19bee6)):_0x19bee6[_0x5176e9(0x1fa)]===_0x550200&&_0x19bee6[_0x5176e9(0x20c)]===_0x31bbce?_0x5092c1=!0x1:(_0x19327b[_0x5176e9(0x1fa)]===_0x550200&&_0x19327b[_0x5176e9(0x20c)]===_0x31bbce||this[_0x5176e9(0x1ae)]({'revision':_0x19327b,'from':_0x31bbce,'to':_0x550200}),_0x5092c1=!0x0),_0x5092c1&&(delete _0x19bee6[_0x5176e9(0x20c)],delete _0x19bee6[_0x5176e9(0x1fa)],delete _0x19bee6[_0x5176e9(0x1d6)],delete _0x19bee6[_0x5176e9(0x1f4)],delete _0x19bee6[_0x5176e9(0x1d1)]);}this[_0x5176e9(0x1aa)][_0x5176e9(0x1ff)](_0x19bee6),this[_0x5176e9(0x1f3)](_0x19bee6);}else this[_0x5176e9(0x1aa)][_0x5176e9(0x202)](_0x19bee6);}const _0x179fda=_0x4f3235[_0x5176e9(0x1e9)]();_0x179fda[_0x5176e9(0x201)]();for(let _0x2736d4=0x0;_0x2736d4<_0x179fda[_0x5176e9(0x1e2)]-0x1;_0x2736d4++){const _0x1f55ff=_0x179fda[_0x2736d4],_0x2ed67a=_0x179fda[_0x2736d4+0x1];if(_0x1f55ff[_0x5176e9(0x20c)]<_0x2ed67a[_0x5176e9(0x1fa)]){const _0x48b5bd=_0x2ed67a[_0x5176e9(0x1fa)],_0x491575=Math[_0x5176e9(0x1ee)](_0x48b5bd,_0x1f55ff[_0x5176e9(0x1fa)]);this[_0x5176e9(0x1ae)]({'revision':_0x1f55ff,'from':_0x48b5bd,'to':_0x491575});}}}[_0x19e4dd(0x1ae)]({revision:_0x144a95,from:_0x2a10b4,to:_0x309d77}={}){const _0x8f59fd=_0x19e4dd,_0x267a56=this[_0x8f59fd(0x1cd)][_0x8f59fd(0x19e)][_0x8f59fd(0x200)](_0x1fe4ac),_0x342123=this[_0x8f59fd(0x1aa)][_0x8f59fd(0x1b0)]({'revision':_0x144a95,'from':_0x2a10b4,'to':_0x309d77});_0x342123[_0x8f59fd(0x1b5)]=_0x342123[_0x8f59fd(0x1d1)][_0x8f59fd(0x1d2)](_0x589a2d=>_0x267a56[_0x8f59fd(0x1b6)](_0x589a2d)),_0x144a95[_0x8f59fd(0x1a0)](_0x342123);}[_0x19e4dd(0x1f3)](_0x5f5910){const _0x28b483=_0x19e4dd,_0x472c9b={};_0x472c9b['id']=_0x5f5910['id'];for(const _0x47ea89 of Object[_0x28b483(0x1ce)](_0x5f5910))'id'!==_0x47ea89&&(_0x472c9b[_0x47ea89]=void 0x0);this[_0x28b483(0x1aa)][_0x28b483(0x1fd)](_0x472c9b['id'],_0x472c9b,!0x0);}async[_0x19e4dd(0x1e8)](_0x59fbae){const _0xa74c01=_0x19e4dd,_0x298ffc=this[_0xa74c01(0x1cd)][_0xa74c01(0x19e)][_0xa74c01(0x200)](_0x1fe4ac),{connection:_0x2c4ea9}=this[_0xa74c01(0x1cd)][_0xa74c01(0x19e)][_0xa74c01(0x200)](_0x2e54b7),_0x1342a9=new Set();for(const _0x4aaebd of _0x59fbae){for(const _0x5c2fec of _0x4aaebd[_0xa74c01(0x1d1)])_0x4e7996(_0x5c2fec);_0x4aaebd[_0xa74c01(0x1a2)]&&_0x4e7996(_0x4aaebd[_0xa74c01(0x1a2)]);}if(0x0===_0x1342a9[_0xa74c01(0x1ac)])return;const _0x4a9988=await _0x3993e9[_0xa74c01(0x206)](_0x2c4ea9,Array[_0xa74c01(0x1a3)](_0x1342a9));for(const _0x45b12d of _0x4a9988)_0x298ffc[_0xa74c01(0x1b6)](_0x45b12d['id'])||_0x298ffc[_0xa74c01(0x1d0)](_0x45b12d);function _0x4e7996(_0x4d996d){const _0x5c9748=_0xa74c01;_0x298ffc[_0x5c9748(0x1b6)](_0x4d996d)||_0x1342a9[_0x5c9748(0x19c)](_0x4d996d);}}}function _0x1c14(){const _0x7117=['isBundleUploaded','_revisionTracker','cloud-services-internal-error:\x20Not\x20connected.','size','_lastRequestId','_fixRevision','reInit','buildRevisionData','_isConnected','listenTo','connected','_revisionHistoryService','authors','getUser','7OuDdqb','data','change:_isConnected','4078566TfBgLw','1414120UBNfPo','has','init','sendBufferedUpdates','currentRevision','_createCurrentRevision','once','500502AXhYFk','baseVersion','getRevision','addToReconnectionStack','adapter','406822Jgpvwi','_isPendingUpdate','RevisionHistory','isConnected','_getLatestVersionFromServerOperations','_startingVersion','editor','keys','_revisions','addUser','authorsIds','map','collaboration.channelId','serverHistory','RevisionHistoryService','diffData','isOfficialPlugin','_offset','_handleRevisionsUpdate','400','connection','connect','542892YrYghv','startsWith','2226055GRiUvR','setSource','config','length','cloud-services-internal-error:\x20Request\x20timeout.','getOperations','_getLatestVersion','requires','type','_fetchMissingUsers','getRevisions','then','isEnabled','_revisionDataBuilder','1662928ldpJcQ','max','state','pluginName','reconnect','_oldOffset','_preventResendingRevisionData','createdAt','sessionId','catch','affectsData','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','isPremiumPlugin','toVersion','CloudServicesRevisionHistoryAdapter','_waitForServiceReady','_bufferUpdate','remove','setRevisionData','get','reverse','addRevisionData','_handleReconnectionError','updateRevisions','RevisionTracker','getMany','off','change:_isPendingUpdate','marker','2MScbnC','isEmptyCurrent','fromVersion','bind','destroy','add','wrongRequestId','plugins','_bufferedUpdates','_update','repository','creatorId','from','code','message','cloudServices.bundleVersion','CONNECTED','revisionsUpdated'];_0x1c14=function(){return _0x7117;};return _0x1c14();}export default u;function st(_0x46235e){const _0x29ab0d=_0x19e4dd;return _0x46235e[_0x29ab0d(0x1a5)][_0x29ab0d(0x1de)](_0x29ab0d(0x1f8))||_0x46235e[_0x29ab0d(0x1a5)][_0x29ab0d(0x1de)](_0x29ab0d(0x1ab))||_0x46235e[_0x29ab0d(0x1a5)][_0x29ab0d(0x1de)](_0x29ab0d(0x1e3));}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x356753=_0x2b62;function _0x2b62(_0x22b77c,_0x9ad62b){const _0x447aa9=_0x447a();return _0x2b62=function(_0x2b62a0,_0x96f11e){_0x2b62a0=_0x2b62a0-0xe6;let _0x3ab291=_0x447aa9[_0x2b62a0];return _0x3ab291;},_0x2b62(_0x22b77c,_0x9ad62b);}(function(_0x456043,_0x366a01){const _0x3eb876=_0x2b62,_0x3bf37c=_0x456043();while(!![]){try{const _0x2a03f8=-parseInt(_0x3eb876(0xf7))/0x1*(parseInt(_0x3eb876(0x102))/0x2)+parseInt(_0x3eb876(0xfa))/0x3*(-parseInt(_0x3eb876(0xeb))/0x4)+-parseInt(_0x3eb876(0xfc))/0x5+-parseInt(_0x3eb876(0x106))/0x6*(parseInt(_0x3eb876(0x115))/0x7)+-parseInt(_0x3eb876(0x119))/0x8*(-parseInt(_0x3eb876(0x125))/0x9)+parseInt(_0x3eb876(0x105))/0xa+-parseInt(_0x3eb876(0x122))/0xb*(-parseInt(_0x3eb876(0xe7))/0xc);if(_0x2a03f8===_0x366a01)break;else _0x3bf37c['push'](_0x3bf37c['shift']());}catch(_0x3038f8){_0x3bf37c['push'](_0x3bf37c['shift']());}}}(_0x447a,0x27129));import{Plugin as _0x26d60f}from'ckeditor5/src/core.js';import{User as _0xf50ca1,TrackChangesService as _0xde5859}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x1a59bd from'../realtimecollaborativeediting/websocketgateway.js';import _0x3965b8 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x44b71b}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x26d60f{static [_0x356753(0xfb)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0xde5859)());[_0x356753(0xfe)];[_0x356753(0xf6)];static get[_0x356753(0x11c)](){const _0x143e80=_0x356753;return[_0x3965b8,_0x143e80(0x107),_0x1a59bd];}static get[_0x356753(0x11a)](){const _0x28d15d=_0x356753;return _0x28d15d(0xef);}static get[_0x356753(0x101)](){return!0x0;}static get[_0x356753(0x103)](){return!0x0;}constructor(_0x16348e){const _0x20f33d=_0x356753;super(_0x16348e);const _0x22d234=this[_0x20f33d(0x118)][_0x20f33d(0x10c)][_0x20f33d(0x123)](_0x20f33d(0xed));this[_0x20f33d(0xfe)]=new Map(),this[_0x20f33d(0xf6)]=new f[(_0x20f33d(0xfb))](_0x22d234);}[_0x356753(0xff)](){const _0x2d6ca0=_0x356753,_0x4d5bdb=this[_0x2d6ca0(0x118)][_0x2d6ca0(0x10f)][_0x2d6ca0(0x123)](_0x1a59bd),_0x58e43e=this[_0x2d6ca0(0x118)][_0x2d6ca0(0x10f)][_0x2d6ca0(0x123)](_0x2d6ca0(0x107));return _0x58e43e[_0x2d6ca0(0x109)]={'getSuggestion':async _0x5752c6=>{const _0xdffa98=_0x2d6ca0;await this[_0xdffa98(0x10d)]();const _0x23cd2b=await this[_0xdffa98(0xf6)][_0xdffa98(0x123)](_0x5752c6)[_0xdffa98(0xf1)](rt);return await this[_0xdffa98(0x104)]([_0x23cd2b]),_0x23cd2b;},'addSuggestion':async({id:_0x153085,type:_0x40a720,data:_0x371477,originalSuggestionId:_0x3e1fcd,attributes:_0x47fc84})=>{const _0x1dfc99=_0x2d6ca0;await this[_0x1dfc99(0x10d)]();const _0x5e44d6={'id':_0x153085,'type':_0x40a720,'data':_0x371477,'originalSuggestionId':_0x3e1fcd,'attributes':_0x47fc84},_0x1d3d62=await this[_0x1dfc99(0xf6)][_0x1dfc99(0x116)](_0x153085,_0x40a720,_0x371477,_0x3e1fcd,_0x47fc84)[_0x1dfc99(0xf1)](_0x40fe0a=>{if(st(_0x40fe0a))return new Promise(_0x12abd4=>{const _0x5dea95=_0x2b62;this[_0x5dea95(0xfe)][_0x5dea95(0x110)](_0x153085,{'resolve':_0x12abd4,'suggestionData':_0x5e44d6});});throw _0x40fe0a;});return this[_0x1dfc99(0xfe)][_0x1dfc99(0xfd)](_0x153085),_0x1d3d62;},'updateSuggestion':async(_0x331478,_0x258caf)=>{const _0x3c38ac=_0x2d6ca0;if(await this[_0x3c38ac(0x10d)](),_0x3c38ac(0xec)!==_0x258caf[_0x3c38ac(0x100)])return this[_0x3c38ac(0xf6)][_0x3c38ac(0x114)](_0x331478,_0x258caf)[_0x3c38ac(0xf1)](rt);}},this[_0x2d6ca0(0x111)](this[_0x2d6ca0(0xf6)],_0x2d6ca0(0xe8),(_0x438f5c,_0x570db9)=>{const _0x8295bb=_0x2d6ca0;_0x58e43e[_0x8295bb(0x113)](_0x570db9['id'])&&(_0x58e43e[_0x8295bb(0xee)](_0x570db9['id'])[_0x8295bb(0x121)]=_0x570db9[_0x8295bb(0x121)]);}),this[_0x2d6ca0(0xf6)][_0x2d6ca0(0x108)](_0x4d5bdb[_0x2d6ca0(0x11e)])[_0x2d6ca0(0xf0)](_0x48afbf=>(_0x4d5bdb[_0x2d6ca0(0xe9)](this),this[_0x2d6ca0(0x104)](_0x48afbf)[_0x2d6ca0(0xf0)](()=>{const _0x145655=_0x2d6ca0;for(const _0x453b95 of _0x48afbf){_0x58e43e[_0x145655(0x127)](_0x453b95)[_0x145655(0x117)]=!0x0;}})));}async[_0x356753(0x112)](){const _0x2cb1be=_0x356753,_0x15b46b=this[_0x2cb1be(0x118)][_0x2cb1be(0x10f)][_0x2cb1be(0x123)](_0x2cb1be(0x107)),{connection:_0x56327f}=this[_0x2cb1be(0x118)][_0x2cb1be(0x10f)][_0x2cb1be(0x123)](_0x1a59bd),_0x1cb18=await this[_0x2cb1be(0xf6)][_0x2cb1be(0x108)](_0x56327f);await this[_0x2cb1be(0x104)](_0x1cb18);for(const {suggestionData:_0x1bca15,resolve:_0x42a31a}of this[_0x2cb1be(0xfe)][_0x2cb1be(0x120)]()){let _0x36cee2=_0x1cb18[_0x2cb1be(0xf9)](_0x2bc9d9=>_0x2bc9d9['id']===_0x1bca15['id']);_0x36cee2||(_0x36cee2=await this[_0x2cb1be(0xf6)][_0x2cb1be(0x116)](_0x1bca15['id'],_0x1bca15[_0x2cb1be(0x10b)],_0x1bca15[_0x2cb1be(0xf8)],_0x1bca15[_0x2cb1be(0x11d)])),_0x42a31a(_0x36cee2);}for(const _0x5932ae of _0x1cb18)_0x15b46b[_0x2cb1be(0x113)](_0x5932ae['id'])||_0x15b46b[_0x2cb1be(0x127)](_0x5932ae);}async[_0x356753(0x10d)](){const _0x456478=_0x356753;this[_0x456478(0xf6)][_0x456478(0xf3)]||await new Promise(_0x2ac106=>{const _0x1555bc=_0x456478;this[_0x1555bc(0x111)](this[_0x1555bc(0xf6)],_0x1555bc(0x11b),_0x1e4541=>{const _0x342564=_0x1555bc;_0x1e4541[_0x342564(0x10e)](),_0x2ac106();});});}async[_0x356753(0x104)](_0x63aa94){const _0x361e71=_0x356753,_0x4a640c=this[_0x361e71(0x118)][_0x361e71(0x10f)][_0x361e71(0x123)](_0x44b71b),{connection:_0x888a26}=this[_0x361e71(0x118)][_0x361e71(0x10f)][_0x361e71(0x123)](_0x1a59bd),_0x1fa30f=new Set();for(const {authorId:_0x1a38db}of _0x63aa94)_0x4a640c[_0x361e71(0xe6)](_0x1a38db)||_0x1fa30f[_0x361e71(0x116)](_0x1a38db);if(0x0===_0x1fa30f[_0x361e71(0xf4)])return;const _0x287629=await _0xf50ca1[_0x361e71(0xf2)](_0x888a26,Array[_0x361e71(0x126)](_0x1fa30f));for(const _0x444059 of _0x287629)_0x4a640c[_0x361e71(0xe6)](_0x444059['id'])||_0x4a640c[_0x361e71(0xf5)](_0x444059);}}export default f;function _0x447a(){const _0x3fff70=['isConnected','size','addUser','_trackChangesService','1vYnOFo','data','find','459957xOpvop','TrackChangesService','333995SCsvyI','delete','_bufferedRequests','init','state','isOfficialPlugin','224978dzJnpf','isPremiumPlugin','_fetchMissingUsersForThreads','497210KgqRHa','12564eXfdeM','TrackChangesEditing','connect','adapter','cloud-services-internal-error:\x20Request\x20timeout.','type','config','_waitForServiceReady','off','plugins','set','listenTo','reconnect','hasSuggestion','update','28XMhPOP','add','_saved','editor','8MkKQPX','pluginName','connected','requires','originalSuggestionId','connection','cloud-services-internal-error:\x20Not\x20connected.','values','attributes','286ACUxEk','get','message','2667321VXNHRA','from','addSuggestionData','getUser','71508zFnhyl','suggestionUpdated','addToReconnectionStack','startsWith','4lyKgKV','open','collaboration.channelId','getSuggestion','CloudServicesTrackChangesAdapter','then','catch','getMany'];_0x447a=function(){return _0x3fff70;};return _0x447a();}function rt(_0x20f952){if(st(_0x20f952))return new Promise(()=>{});throw _0x20f952;}function st(_0x13531c){const _0x38f910=_0x356753;return _0x13531c[_0x38f910(0x124)][_0x38f910(0xea)](_0x38f910(0x11f))||_0x13531c[_0x38f910(0x124)][_0x38f910(0xea)](_0x38f910(0x10a));}
23
+ const _0x237030=_0x425a;function _0x33dd(){const _0x43d0ce=['values','210906uoosxQ','cloud-services-internal-error:\x20Request\x20timeout.','TrackChangesService','_bufferedRequests','connection','CloudServicesTrackChangesAdapter','size','13274963WcAFVr','delete','adapter','set','6NnGgQp','hasSuggestion','6HDNmnn','1530cigvRZ','getSuggestion','attributes','suggestionUpdated','_waitForServiceReady','from','update','_fetchMissingUsersForThreads','TrackChangesEditing','listenTo','data','addUser','add','get','12WDPXZl','find','init','config','reconnect','open','27DOLixJ','isOfficialPlugin','50006dOazle','message','catch','4392878FSAcio','isPremiumPlugin','originalSuggestionId','state','getMany','getUser','addSuggestionData','collaboration.channelId','581316MIfnkD','then','plugins','editor','addToReconnectionStack','pluginName','isConnected','startsWith','requires','24NCipZr','_saved','off','connect','connected','cloud-services-internal-error:\x20Not\x20connected.','627610rAnFED','_trackChangesService','type','449800lUEnoB'];_0x33dd=function(){return _0x43d0ce;};return _0x33dd();}(function(_0x3cf800,_0x1dd6ac){const _0x517507=_0x425a,_0x4af5b6=_0x3cf800();while(!![]){try{const _0x22d811=parseInt(_0x517507(0xde))/0x1+-parseInt(_0x517507(0x10d))/0x2*(-parseInt(_0x517507(0xeb))/0x3)+-parseInt(_0x517507(0x116))/0x4*(-parseInt(_0x517507(0xd9))/0x5)+-parseInt(_0x517507(0xe9))/0x6*(parseInt(_0x517507(0x105))/0x7)+-parseInt(_0x517507(0xdc))/0x8*(parseInt(_0x517507(0x100))/0x9)+parseInt(_0x517507(0xec))/0xa*(parseInt(_0x517507(0x102))/0xb)+-parseInt(_0x517507(0xfa))/0xc*(parseInt(_0x517507(0xe5))/0xd);if(_0x22d811===_0x1dd6ac)break;else _0x4af5b6['push'](_0x4af5b6['shift']());}catch(_0x516283){_0x4af5b6['push'](_0x4af5b6['shift']());}}}(_0x33dd,0x67658));import{Plugin as _0x5ef2a6}from'ckeditor5/src/core.js';import{User as _0x389666,TrackChangesService as _0x1da644}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x53c906 from'../realtimecollaborativeediting/websocketgateway.js';import _0x26d4f5 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x4287be}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x425a(_0x4a933b,_0x1284dd){const _0x33ddc1=_0x33dd();return _0x425a=function(_0x425a8e,_0x5798df){_0x425a8e=_0x425a8e-0xd9;let _0x4abfb0=_0x33ddc1[_0x425a8e];return _0x4abfb0;},_0x425a(_0x4a933b,_0x1284dd);}class f extends _0x5ef2a6{static [_0x237030(0xe0)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1da644)());[_0x237030(0xe1)];[_0x237030(0xda)];static get[_0x237030(0x115)](){const _0xaa7a6c=_0x237030;return[_0x26d4f5,_0xaa7a6c(0xf4),_0x53c906];}static get[_0x237030(0x112)](){const _0x5c790f=_0x237030;return _0x5c790f(0xe3);}static get[_0x237030(0x101)](){return!0x0;}static get[_0x237030(0x106)](){return!0x0;}constructor(_0x12d23f){const _0x17b627=_0x237030;super(_0x12d23f);const _0xd46acc=this[_0x17b627(0x110)][_0x17b627(0xfd)][_0x17b627(0xf9)](_0x17b627(0x10c));this[_0x17b627(0xe1)]=new Map(),this[_0x17b627(0xda)]=new f[(_0x17b627(0xe0))](_0xd46acc);}[_0x237030(0xfc)](){const _0x2557e4=_0x237030,_0x2ba3ce=this[_0x2557e4(0x110)][_0x2557e4(0x10f)][_0x2557e4(0xf9)](_0x53c906),_0x3cc9ac=this[_0x2557e4(0x110)][_0x2557e4(0x10f)][_0x2557e4(0xf9)](_0x2557e4(0xf4));return _0x3cc9ac[_0x2557e4(0xe7)]={'getSuggestion':async _0x31ad45=>{const _0x2bd388=_0x2557e4;await this[_0x2bd388(0xf0)]();const _0x4e54b7=await this[_0x2bd388(0xda)][_0x2bd388(0xf9)](_0x31ad45)[_0x2bd388(0x104)](R);return await this[_0x2bd388(0xf3)]([_0x4e54b7]),_0x4e54b7;},'addSuggestion':async({id:_0x2d6dbf,type:_0x107406,data:_0x4e8599,originalSuggestionId:_0x4a23c0,attributes:_0x2cf777})=>{const _0x5c7910=_0x2557e4;await this[_0x5c7910(0xf0)]();const _0x31f3b3={'id':_0x2d6dbf,'type':_0x107406,'data':_0x4e8599,'originalSuggestionId':_0x4a23c0,'attributes':_0x2cf777},_0x4c8f06=await this[_0x5c7910(0xda)][_0x5c7910(0xf8)](_0x2d6dbf,_0x107406,_0x4e8599,_0x4a23c0,_0x2cf777)[_0x5c7910(0x104)](_0x2993c4=>{if(st(_0x2993c4))return new Promise(_0x3afb33=>{const _0x1509fe=_0x425a;this[_0x1509fe(0xe1)][_0x1509fe(0xe8)](_0x2d6dbf,{'resolve':_0x3afb33,'suggestionData':_0x31f3b3});});throw _0x2993c4;});return this[_0x5c7910(0xe1)][_0x5c7910(0xe6)](_0x2d6dbf),_0x4c8f06;},'updateSuggestion':async(_0x224298,_0x7fae2f)=>{const _0x38065e=_0x2557e4;if(await this[_0x38065e(0xf0)](),_0x38065e(0xff)!==_0x7fae2f[_0x38065e(0x108)])return this[_0x38065e(0xda)][_0x38065e(0xf2)](_0x224298,_0x7fae2f)[_0x38065e(0x104)](R);}},this[_0x2557e4(0xf5)](this[_0x2557e4(0xda)],_0x2557e4(0xef),(_0x3808b8,_0x37257d)=>{const _0x3751c7=_0x2557e4;_0x3cc9ac[_0x3751c7(0xea)](_0x37257d['id'])&&(_0x3cc9ac[_0x3751c7(0xed)](_0x37257d['id'])[_0x3751c7(0xee)]=_0x37257d[_0x3751c7(0xee)]);}),this[_0x2557e4(0xda)][_0x2557e4(0x119)](_0x2ba3ce[_0x2557e4(0xe2)])[_0x2557e4(0x10e)](_0x16a12d=>(_0x2ba3ce[_0x2557e4(0x111)](this),this[_0x2557e4(0xf3)](_0x16a12d)[_0x2557e4(0x10e)](()=>{const _0x38bb81=_0x2557e4;for(const _0x2bd0fe of _0x16a12d){_0x3cc9ac[_0x38bb81(0x10b)](_0x2bd0fe)[_0x38bb81(0x117)]=!0x0;}})));}async[_0x237030(0xfe)](){const _0xd6a647=_0x237030,_0x2758e9=this[_0xd6a647(0x110)][_0xd6a647(0x10f)][_0xd6a647(0xf9)](_0xd6a647(0xf4)),{connection:_0x3c6dc8}=this[_0xd6a647(0x110)][_0xd6a647(0x10f)][_0xd6a647(0xf9)](_0x53c906),_0x5106dd=await this[_0xd6a647(0xda)][_0xd6a647(0x119)](_0x3c6dc8);await this[_0xd6a647(0xf3)](_0x5106dd);for(const {suggestionData:_0x13e1f6,resolve:_0x1a94a2}of this[_0xd6a647(0xe1)][_0xd6a647(0xdd)]()){let _0x3f5bf6=_0x5106dd[_0xd6a647(0xfb)](_0x1bf919=>_0x1bf919['id']===_0x13e1f6['id']);_0x3f5bf6||(_0x3f5bf6=await this[_0xd6a647(0xda)][_0xd6a647(0xf8)](_0x13e1f6['id'],_0x13e1f6[_0xd6a647(0xdb)],_0x13e1f6[_0xd6a647(0xf6)],_0x13e1f6[_0xd6a647(0x107)])),_0x1a94a2(_0x3f5bf6);}for(const _0x51e9c1 of _0x5106dd)_0x2758e9[_0xd6a647(0xea)](_0x51e9c1['id'])||_0x2758e9[_0xd6a647(0x10b)](_0x51e9c1);}async[_0x237030(0xf0)](){const _0x13682c=_0x237030;this[_0x13682c(0xda)][_0x13682c(0x113)]||await new Promise(_0x4ee08c=>{const _0x2dc4d5=_0x13682c;this[_0x2dc4d5(0xf5)](this[_0x2dc4d5(0xda)],_0x2dc4d5(0x11a),_0x183907=>{const _0x4576cf=_0x2dc4d5;_0x183907[_0x4576cf(0x118)](),_0x4ee08c();});});}async[_0x237030(0xf3)](_0x5b0b2c){const _0x3eeb1d=_0x237030,_0x5e5d57=this[_0x3eeb1d(0x110)][_0x3eeb1d(0x10f)][_0x3eeb1d(0xf9)](_0x4287be),{connection:_0x5d3151}=this[_0x3eeb1d(0x110)][_0x3eeb1d(0x10f)][_0x3eeb1d(0xf9)](_0x53c906),_0x27e5bf=new Set();for(const {authorId:_0x20fbf1}of _0x5b0b2c)_0x5e5d57[_0x3eeb1d(0x10a)](_0x20fbf1)||_0x27e5bf[_0x3eeb1d(0xf8)](_0x20fbf1);if(0x0===_0x27e5bf[_0x3eeb1d(0xe4)])return;const _0x204753=await _0x389666[_0x3eeb1d(0x109)](_0x5d3151,Array[_0x3eeb1d(0xf1)](_0x27e5bf));for(const _0x3955a1 of _0x204753)_0x5e5d57[_0x3eeb1d(0x10a)](_0x3955a1['id'])||_0x5e5d57[_0x3eeb1d(0xf7)](_0x3955a1);}}export default f;function R(_0x30dd98){if(st(_0x30dd98))return new Promise(()=>{});throw _0x30dd98;}function st(_0x4d2bb0){const _0xbf8211=_0x237030;return _0x4d2bb0[_0xbf8211(0x103)][_0xbf8211(0x114)](_0xbf8211(0x11b))||_0x4d2bb0[_0xbf8211(0x103)][_0xbf8211(0x114)](_0xbf8211(0xdf));}