@ckeditor/ckeditor5-real-time-collaboration 46.0.2-alpha.1 → 46.0.2

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 _0x242a67=_0x1089;(function(_0x207625,_0x1f02dd){const _0x23fbe4=_0x1089,_0x416859=_0x207625();while(!![]){try{const _0x1a4db1=-parseInt(_0x23fbe4(0x257))/0x1+parseInt(_0x23fbe4(0x202))/0x2+-parseInt(_0x23fbe4(0x1fe))/0x3+-parseInt(_0x23fbe4(0x23e))/0x4*(parseInt(_0x23fbe4(0x25a))/0x5)+-parseInt(_0x23fbe4(0x261))/0x6*(-parseInt(_0x23fbe4(0x1ef))/0x7)+parseInt(_0x23fbe4(0x21b))/0x8+-parseInt(_0x23fbe4(0x26a))/0x9*(-parseInt(_0x23fbe4(0x222))/0xa);if(_0x1a4db1===_0x1f02dd)break;else _0x416859['push'](_0x416859['shift']());}catch(_0x27af35){_0x416859['push'](_0x416859['shift']());}}}(_0x35c0,0x83f34));import{Plugin as _0x3a8339}from'ckeditor5/src/core.js';import{global as _0x369dcf,DomEmitterMixin as _0x247b85}from'ckeditor5/src/utils.js';import{Sessions as _0x2861b0}from'./sessions.js';import{ModelLiveRange as _0x274a4c}from'ckeditor5/src/engine.js';function _0x1089(_0x2d2c3f,_0x2c073b){const _0x35c0bc=_0x35c0();return _0x1089=function(_0x1089b3,_0x517190){_0x1089b3=_0x1089b3-0x1ea;let _0x506d3f=_0x35c0bc[_0x1089b3];return _0x506d3f;},_0x1089(_0x2d2c3f,_0x2c073b);}import'../../theme/usermarkers.css';function _0x35c0(){const _0xf45db4=['user:position','commands','setAttribute','selection','toRange','spellcheck','editingDowncast','element','rootName','user:position:','createRange','isInline','289656yLIeOM','model','hasDomSelection','5xPwTki','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','remove','set','textContent','change','schema','106278chXaNQ','addMarker','view','afterInit','type','deletionPosition','UserMarkers','getPositions','mouseenter','9wFFHfo','false','isCollapsed','createUIElement','editor','ck-user__marker_hovered','newRange','removeMarker','$text','isDocumentOperation','setCustomProperty','getSelectionClass','isSimilar','_domEmitter','markerNameToElements','tableCell','91WQxCWu','isPremiumPlugin','outerHTML','detach','listenTo','ck-user__marker-tooltip','document','update:user:range','markers','orderNumber','conversion','classList','color','root','init','2641914tyilAj','getStart','destroy','ck-user__marker\x20','1993272DUGUMr','markerRange','user:','parent','Escape','hasContent','getCustomProperty','isLimit','mapper','isOfficialPlugin','add','keydown','createUserMarkerOperations','innerHTML','enqueueChange','contenteditable','checkChild','getMarkerClass','addEventListener','user:range','render','oldRange','pluginName','highest','isObject','1063232mNmAfG','has','for','change:range','split','undo','user:range:','5849720cTDhOR','fromRange','ck-user__selection','nodeAfter','markerName','marker','start','batch','mouseleave','requires','size','getRange','end','toDomElement','stopListening','reconvertMarker','getNearestSelectionRange','updateMarker','plugins','createElement','userPositionMarker','startsWith','name','markerToHighlight','$graveyard','removeClass','getAttribute','applyOperation','936076HMmTQc','mySessionId','data-session-id','_createdBatches','clear','getContainedElement','getFirstRange','delete','get','getUserBySessionId','markerToElement','editing','span'];_0x35c0=function(){return _0xf45db4;};return _0x35c0();}export class UserMarkers extends _0x3a8339{[_0x242a67(0x1ec)]=new(_0x247b85())();static get[_0x242a67(0x22b)](){return[_0x2861b0];}static get[_0x242a67(0x218)](){const _0x175bef=_0x242a67;return _0x175bef(0x267);}static get[_0x242a67(0x20b)](){return!0x0;}static get[_0x242a67(0x1f0)](){return!0x0;}[_0x242a67(0x1fd)](){const _0x140753=_0x242a67,_0x5dde66=this[_0x140753(0x26e)],_0x47ca96=_0x5dde66[_0x140753(0x234)][_0x140753(0x246)](_0x2861b0);_0x5dde66[_0x140753(0x1f9)][_0x140753(0x21d)](_0x140753(0x251))[_0x140753(0x248)]({'model':_0x140753(0x24b),'view':(_0x1b0f9f,{writer:_0x2be567})=>function(_0x889d08,_0xa942e5,_0x1847e1,_0x207b1a){const _0x4ad9bd=_0x140753,_0x39ed8a=_0x889d08[_0x4ad9bd(0x226)][_0x4ad9bd(0x21f)](':')[0x2],_0x1792fb=_0x1847e1[_0x4ad9bd(0x247)](_0x39ed8a);if(!_0x1792fb||_0x39ed8a===_0x1847e1[_0x4ad9bd(0x23f)])return;if(!_0x207b1a[_0x4ad9bd(0x258)][_0x4ad9bd(0x260)][_0x4ad9bd(0x212)](_0x889d08[_0x4ad9bd(0x203)][_0x4ad9bd(0x228)],_0x4ad9bd(0x272)))return;const _0x5216fe={'class':_0x4ad9bd(0x201)+_0x1792fb[_0x4ad9bd(0x1fb)][_0x4ad9bd(0x213)](),'data-name':_0x1792fb[_0x4ad9bd(0x238)],'data-session-id':_0x39ed8a},_0x386cb8=_0x207b1a[_0x4ad9bd(0x258)][_0x4ad9bd(0x1f7)][_0x4ad9bd(0x246)](_0x889d08[_0x4ad9bd(0x226)]),_0x546ca1=_0x386cb8[_0x4ad9bd(0x1ff)](),_0x3d12b5=_0x546ca1[_0x4ad9bd(0x225)],_0x15f214=_0x207b1a[_0x4ad9bd(0x258)][_0x4ad9bd(0x260)];if(_0x3d12b5&&_0x15f214[_0x4ad9bd(0x21a)](_0x3d12b5)&&_0x15f214[_0x4ad9bd(0x256)](_0x3d12b5)&&!_0x207b1a[_0x4ad9bd(0x258)][_0x4ad9bd(0x1f7)][_0x4ad9bd(0x246)](_0x4ad9bd(0x221)+_0x39ed8a)[_0x4ad9bd(0x22d)]()[_0x4ad9bd(0x26c)])return;const _0x258e1e=_0x546ca1[_0x4ad9bd(0x205)];return _0x207b1a[_0x4ad9bd(0x258)][_0x4ad9bd(0x260)][_0x4ad9bd(0x209)](_0x258e1e)&&!_0x207b1a[_0x4ad9bd(0x258)][_0x4ad9bd(0x207)](_0x258e1e)&&(_0x5216fe[_0x4ad9bd(0x211)]=!0x1),function(_0x161a92,_0x227646,_0x13c075){const _0x11dd1e=_0x4ad9bd,_0x5156d5=_0x161a92[_0x11dd1e(0x26d)](_0x11dd1e(0x24a),_0x227646);return _0x161a92[_0x11dd1e(0x274)](_0x11dd1e(0x236),!0x0,_0x5156d5),_0x5156d5[_0x11dd1e(0x216)]=function(_0x44efe1){const _0x3203d4=_0x11dd1e,_0x8812b6=this[_0x3203d4(0x22f)](_0x44efe1),_0x98e16a=document[_0x3203d4(0x235)](_0x3203d4(0x24a));return _0x98e16a[_0x3203d4(0x1fa)][_0x3203d4(0x20c)](_0x3203d4(0x1f4)),_0x98e16a[_0x3203d4(0x24d)](_0x3203d4(0x211),_0x3203d4(0x26b)),_0x98e16a[_0x3203d4(0x24d)](_0x3203d4(0x250),_0x3203d4(0x26b)),_0x98e16a[_0x3203d4(0x25e)]=_0x13c075[_0x3203d4(0x238)],_0x8812b6[_0x3203d4(0x20f)]=_0x3203d4(0x25b)+_0x98e16a[_0x3203d4(0x1f1)]+'⁠',_0x8812b6[_0x3203d4(0x214)](_0x3203d4(0x269),()=>{const _0x2b88b7=_0x3203d4;_0x8812b6[_0x2b88b7(0x1fa)][_0x2b88b7(0x20c)](_0x2b88b7(0x26f));}),_0x8812b6[_0x3203d4(0x214)](_0x3203d4(0x22a),()=>{const _0x16570a=_0x3203d4;_0x8812b6[_0x16570a(0x1fa)][_0x16570a(0x25c)](_0x16570a(0x26f));}),_0x8812b6;},_0x5156d5[_0x11dd1e(0x1eb)]=function(_0x141623){const _0xa57932=_0x11dd1e;return!(!this[_0xa57932(0x208)](_0xa57932(0x236))||!_0x141623[_0xa57932(0x208)](_0xa57932(0x236))||this[_0xa57932(0x23c)](_0xa57932(0x240))!=_0x141623[_0xa57932(0x23c)](_0xa57932(0x240)));},_0x5156d5;}(_0xa942e5,_0x5216fe,_0x1792fb);}(_0x1b0f9f,_0x2be567,_0x47ca96,_0x5dde66)}),_0x5dde66[_0x140753(0x1f9)][_0x140753(0x21d)](_0x140753(0x251))[_0x140753(0x239)]({'model':_0x140753(0x215),'view':_0x114d9c=>function(_0x2e29a5,_0x57d0fd){const _0x102828=_0x140753,_0x43eb85=_0x2e29a5[_0x102828(0x226)][_0x102828(0x21f)](':')[0x2];if(_0x43eb85===_0x57d0fd[_0x102828(0x23f)])return null;const _0x14b5f=_0x57d0fd[_0x102828(0x247)](_0x43eb85);if(!_0x14b5f)return{'id':_0x43eb85,'classes':[]};return{'id':_0x43eb85,'classes':[_0x102828(0x224),_0x14b5f[_0x102828(0x1fb)][_0x102828(0x1ea)]()],'attributes':{'data-session-id':_0x43eb85},'priority':0x7d0+_0x14b5f[_0x102828(0x1f8)]};}(_0x114d9c,_0x47ca96)}),function(_0x82a571){const _0x189d65=_0x140753,_0x50cc03=_0x82a571[_0x189d65(0x258)],_0xbffce4=new Map(),_0x412541=_0x82a571[_0x189d65(0x234)][_0x189d65(0x246)](_0x2861b0);_0x50cc03[_0x189d65(0x1f7)]['on'](_0x189d65(0x1f6),(_0x35b5b5,_0x5a0a89,_0x491c7,_0x43d909)=>{const _0x4a3c5b=_0x189d65;if(!_0x43d909&&_0xbffce4[_0x4a3c5b(0x246)](_0x5a0a89[_0x4a3c5b(0x238)]))return _0xbffce4[_0x4a3c5b(0x246)](_0x5a0a89[_0x4a3c5b(0x238)])[_0x4a3c5b(0x1f2)](),void _0xbffce4[_0x4a3c5b(0x245)](_0x5a0a89[_0x4a3c5b(0x238)]);const _0x802a0f=_0x5a0a89[_0x4a3c5b(0x238)][_0x4a3c5b(0x21f)](':')[0x2];if(_0x802a0f===_0x412541[_0x4a3c5b(0x23f)])return;const _0x19c938=_0x4a3c5b(0x254)+_0x802a0f;_0x50cc03[_0x4a3c5b(0x1f7)][_0x4a3c5b(0x21c)](_0x19c938)&&_0x82a571[_0x4a3c5b(0x249)][_0x4a3c5b(0x231)](_0x19c938),_0x5a0a89['on'](_0x4a3c5b(0x21e),(_0x12e26b,_0x4d1293,_0x2454d4)=>{const _0x553d7c=_0x4a3c5b;if(_0x553d7c(0x23a)!=_0x4d1293[_0x553d7c(0x1fc)][_0x553d7c(0x253)]&&_0x553d7c(0x23a)==_0x5a0a89[_0x553d7c(0x22d)]()[_0x553d7c(0x1fc)][_0x553d7c(0x253)]&&!_0xbffce4[_0x553d7c(0x21c)](_0x5a0a89[_0x553d7c(0x238)])){const _0x767bda=_0x50cc03[_0x553d7c(0x260)][_0x553d7c(0x232)](_0x2454d4[_0x553d7c(0x266)]);if(_0x767bda){const _0x4d72ea=_0x274a4c[_0x553d7c(0x223)](_0x767bda);_0xbffce4[_0x553d7c(0x25d)](_0x5a0a89[_0x553d7c(0x238)],_0x4d72ea),_0x4d72ea['on'](_0x553d7c(0x21e),(_0x3d0c64,_0x5e4ae9,_0xa195b)=>{const _0x40f50=_0x553d7c;if(_0x40f50(0x23a)==_0x4d72ea[_0x40f50(0x1fc)][_0x40f50(0x253)]){const _0x3a480c=_0x50cc03[_0x40f50(0x260)][_0x40f50(0x232)](_0xa195b[_0x40f50(0x266)]);_0x3a480c?(_0x4d72ea[_0x40f50(0x228)]=_0x3a480c[_0x40f50(0x228)],_0x4d72ea[_0x40f50(0x22e)]=_0x3a480c[_0x40f50(0x22e)]):(_0xbffce4[_0x40f50(0x245)](_0x5a0a89[_0x40f50(0x238)]),_0x4d72ea[_0x40f50(0x1f2)]());}});}}});}),_0x50cc03[_0x189d65(0x1f5)]['on'](_0x189d65(0x25f),()=>{const _0xa2a4da=_0x189d65;_0xbffce4[_0xa2a4da(0x22c)]>0x0&&_0x50cc03[_0xa2a4da(0x210)]({'isUndoable':!0x1},_0x1fec45=>{const _0x1fb66d=_0xa2a4da;for(const [_0x15d68e,_0x51070e]of _0xbffce4)_0x1fb66d(0x23a)==_0x50cc03[_0x1fb66d(0x1f7)][_0x1fb66d(0x246)](_0x15d68e)[_0x1fb66d(0x22d)]()[_0x1fb66d(0x1fc)][_0x1fb66d(0x253)]&&(J(_0x15d68e[_0x1fb66d(0x21f)](':')[0x2],_0x51070e[_0x1fb66d(0x24f)](),_0x50cc03,_0x1fec45),_0x51070e[_0x1fb66d(0x1f2)]());_0xbffce4[_0x1fb66d(0x242)]();});});}(_0x5dde66),this[_0x140753(0x1ec)][_0x140753(0x1f3)](_0x369dcf[_0x140753(0x1f5)],_0x140753(0x20d),(_0x55073c,{key:_0x346e75})=>{const _0x1f34a9=_0x140753;_0x1f34a9(0x206)===_0x346e75&&function(_0x22d3fc){const _0x1030b8=_0x1f34a9;_0x22d3fc[_0x1030b8(0x249)][_0x1030b8(0x263)][_0x1030b8(0x25f)](_0x2041d8=>{const _0x367f45=_0x1030b8;for(const _0x2a32bc of _0x22d3fc[_0x367f45(0x258)][_0x367f45(0x1f7)]){if(!_0x2a32bc[_0x367f45(0x238)][_0x367f45(0x237)](_0x367f45(0x24b)))continue;const _0x49b8cc=_0x22d3fc[_0x367f45(0x249)][_0x367f45(0x20a)][_0x367f45(0x1ed)](_0x2a32bc[_0x367f45(0x238)]);if(_0x49b8cc){for(const _0x111626 of _0x49b8cc)_0x2041d8[_0x367f45(0x23b)](_0x367f45(0x26f),_0x111626);}}});}(_0x5dde66);},{'useCapture':!0x0});}[_0x242a67(0x264)](){const _0x546ef6=_0x242a67,_0x285191=this[_0x546ef6(0x26e)],_0x42b1f3=_0x285191[_0x546ef6(0x24c)][_0x546ef6(0x246)](_0x546ef6(0x220));_0x42b1f3&&_0x285191[_0x546ef6(0x258)]['on'](_0x546ef6(0x23d),(_0xfe5742,_0x2cb30a)=>{const _0x782aa7=_0x546ef6,_0x62e74b=_0x2cb30a[0x0];if(!_0x62e74b[_0x782aa7(0x273)])return;if(_0x782aa7(0x227)!=_0x62e74b[_0x782aa7(0x265)]||!_0x62e74b[_0x782aa7(0x238)][_0x782aa7(0x237)](_0x782aa7(0x204)))return;const _0x544331=_0x62e74b[_0x782aa7(0x229)];_0x42b1f3[_0x782aa7(0x241)][_0x782aa7(0x21c)](_0x544331)&&(_0x62e74b[_0x782aa7(0x270)]=_0x62e74b[_0x782aa7(0x217)]?_0x285191[_0x782aa7(0x258)][_0x782aa7(0x255)](_0x62e74b[_0x782aa7(0x217)][_0x782aa7(0x228)],_0x62e74b[_0x782aa7(0x217)][_0x782aa7(0x22e)]):null);},{'priority':_0x546ef6(0x219)});}[_0x242a67(0x200)](){const _0x3a672f=_0x242a67;return this[_0x3a672f(0x1ec)][_0x3a672f(0x230)](),super[_0x3a672f(0x200)]();}[_0x242a67(0x20e)](){const _0x1a71fb=_0x242a67,_0x2e00e1=this[_0x1a71fb(0x26e)],_0x2dfe0d=_0x2e00e1[_0x1a71fb(0x258)][_0x1a71fb(0x1f5)],_0x41b88c=_0x2e00e1[_0x1a71fb(0x234)][_0x1a71fb(0x246)](_0x2861b0);_0x2e00e1[_0x1a71fb(0x258)][_0x1a71fb(0x210)]({'isUndoable':!0x1},_0x4b63d6=>{const _0x205298=_0x1a71fb,_0x4450f7=_0x205298(0x221)+_0x41b88c[_0x205298(0x23f)],_0x12ccbb=_0x205298(0x254)+_0x41b88c[_0x205298(0x23f)],_0x3169fa=_0x2e00e1[_0x205298(0x258)][_0x205298(0x1f7)][_0x205298(0x21c)](_0x4450f7);_0x2e00e1[_0x205298(0x249)][_0x205298(0x263)][_0x205298(0x259)]?J(_0x41b88c[_0x205298(0x23f)],_0x2dfe0d[_0x205298(0x24e)][_0x205298(0x244)](),_0x2e00e1[_0x205298(0x258)],_0x4b63d6):_0x3169fa&&(_0x4b63d6[_0x205298(0x271)](_0x4450f7),_0x4b63d6[_0x205298(0x271)](_0x12ccbb));});}}function J(_0x11d20b,_0x17de76,_0x4293a1,_0x6136b){const _0x10c3c7=_0x242a67,_0x1c8635=_0x10c3c7(0x221)+_0x11d20b,_0x191115=_0x10c3c7(0x254)+_0x11d20b,_0xa901e8=_0x17de76[_0x10c3c7(0x243)]();let _0x4b22d5=_0x17de76[_0x10c3c7(0x228)];if(_0xa901e8&&_0xa901e8['is'](_0x10c3c7(0x252),_0x10c3c7(0x1ee))){const _0x4259ae=function(_0x180cab,_0x2bdb0a){const _0x59bfc6=_0x10c3c7;for(const _0x1c0fdc of _0x180cab[_0x59bfc6(0x268)]())if(_0x2bdb0a[_0x59bfc6(0x260)][_0x59bfc6(0x212)](_0x1c0fdc,_0x59bfc6(0x272)))return _0x1c0fdc;}(_0x17de76,_0x4293a1);_0x4259ae&&(_0x4b22d5=_0x4259ae,_0x17de76=_0x6136b[_0x10c3c7(0x255)](_0x4b22d5));}const _0x3fbcd4=_0x6136b[_0x10c3c7(0x255)](_0x4b22d5);_0x4293a1[_0x10c3c7(0x1f7)][_0x10c3c7(0x21c)](_0x1c8635)?(_0x6136b[_0x10c3c7(0x233)](_0x1c8635,{'range':_0x17de76}),_0x6136b[_0x10c3c7(0x233)](_0x191115,{'range':_0x3fbcd4})):(_0x6136b[_0x10c3c7(0x262)](_0x1c8635,{'range':_0x17de76,'usingOperation':!0x0}),_0x6136b[_0x10c3c7(0x262)](_0x191115,{'range':_0x3fbcd4,'usingOperation':!0x0}));}
23
+ const _0x409489=_0x1056;(function(_0x13f1ca,_0x8b5cf){const _0x52d1f6=_0x1056,_0x8709b6=_0x13f1ca();while(!![]){try{const _0x39885e=parseInt(_0x52d1f6(0x12c))/0x1*(-parseInt(_0x52d1f6(0xba))/0x2)+-parseInt(_0x52d1f6(0x13c))/0x3+-parseInt(_0x52d1f6(0x104))/0x4+parseInt(_0x52d1f6(0xcb))/0x5+-parseInt(_0x52d1f6(0x125))/0x6+parseInt(_0x52d1f6(0xf9))/0x7+parseInt(_0x52d1f6(0x11f))/0x8*(parseInt(_0x52d1f6(0x140))/0x9);if(_0x39885e===_0x8b5cf)break;else _0x8709b6['push'](_0x8709b6['shift']());}catch(_0x2570a5){_0x8709b6['push'](_0x8709b6['shift']());}}}(_0x41ff,0x8b13d));import{Plugin as _0x292a66}from'ckeditor5/src/core.js';import{global as _0x11455b,DomEmitterMixin as _0x469926}from'ckeditor5/src/utils.js';import{Sessions as _0x53f96b}from'./sessions.js';import{ModelLiveRange as _0x29c3ac}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x292a66{[_0x409489(0x126)]=new(_0x469926())();static get[_0x409489(0x127)](){return[_0x53f96b];}static get[_0x409489(0xc0)](){const _0x165e4a=_0x409489;return _0x165e4a(0xbb);}static get[_0x409489(0x109)](){return!0x0;}static get[_0x409489(0xd3)](){return!0x0;}[_0x409489(0xcf)](){const _0x5f2d4c=_0x409489,_0x2211a8=this[_0x5f2d4c(0xbf)],_0xd6b543=_0x2211a8[_0x5f2d4c(0xd6)][_0x5f2d4c(0xe4)](_0x53f96b);_0x2211a8[_0x5f2d4c(0x11a)][_0x5f2d4c(0xb8)](_0x5f2d4c(0x134))[_0x5f2d4c(0x113)]({'model':_0x5f2d4c(0x106),'view':(_0x3bf705,{writer:_0x4efe64})=>function(_0x50b9bf,_0x55d1aa,_0x1963a0,_0x5367bb){const _0x548aee=_0x5f2d4c,_0x3230e2=_0x50b9bf[_0x548aee(0xee)][_0x548aee(0xc2)](':')[0x2],_0x188cce=_0x1963a0[_0x548aee(0xc4)](_0x3230e2);if(!_0x188cce||_0x3230e2===_0x1963a0[_0x548aee(0xf3)])return;if(!_0x5367bb[_0x548aee(0x101)][_0x548aee(0x112)][_0x548aee(0x12b)](_0x50b9bf[_0x548aee(0xd4)][_0x548aee(0xc1)],_0x548aee(0xd1)))return;const _0x120617={'class':_0x548aee(0xea)+_0x188cce[_0x548aee(0x116)][_0x548aee(0xc9)](),'data-name':_0x188cce[_0x548aee(0xe5)],'data-session-id':_0x3230e2},_0x1032a5=_0x5367bb[_0x548aee(0x101)][_0x548aee(0xc6)][_0x548aee(0xe4)](_0x50b9bf[_0x548aee(0xee)]),_0xe96e16=_0x1032a5[_0x548aee(0x141)](),_0x407422=_0xe96e16[_0x548aee(0xd5)],_0x3979f3=_0x5367bb[_0x548aee(0x101)][_0x548aee(0x112)];if(_0x407422&&_0x3979f3[_0x548aee(0xfc)](_0x407422)&&_0x3979f3[_0x548aee(0x129)](_0x407422)&&!_0x5367bb[_0x548aee(0x101)][_0x548aee(0xc6)][_0x548aee(0xe4)](_0x548aee(0x128)+_0x3230e2)[_0x548aee(0x12e)]()[_0x548aee(0xe9)])return;const _0x423112=_0xe96e16[_0x548aee(0x123)];return _0x5367bb[_0x548aee(0x101)][_0x548aee(0x112)][_0x548aee(0x120)](_0x423112)&&!_0x5367bb[_0x548aee(0x101)][_0x548aee(0x130)](_0x423112)&&(_0x120617[_0x548aee(0x137)]=!0x1),function(_0x5d5502,_0x3941b2,_0x3333c8){const _0x530593=_0x548aee,_0x57ab87=_0x5d5502[_0x530593(0x11c)](_0x530593(0xd2),_0x3941b2);return _0x5d5502[_0x530593(0x10e)](_0x530593(0x12f),!0x0,_0x57ab87),_0x57ab87[_0x530593(0xfd)]=function(_0x3e7901){const _0x4cbc71=_0x530593,_0x166eb0=this[_0x4cbc71(0x102)](_0x3e7901),_0x6d0dfe=document[_0x4cbc71(0xfe)](_0x4cbc71(0xd2));return _0x6d0dfe[_0x4cbc71(0xbc)][_0x4cbc71(0xcc)](_0x4cbc71(0x10f)),_0x6d0dfe[_0x4cbc71(0xf4)](_0x4cbc71(0x137),_0x4cbc71(0x10a)),_0x6d0dfe[_0x4cbc71(0xf4)](_0x4cbc71(0xe2),_0x4cbc71(0x10a)),_0x6d0dfe[_0x4cbc71(0x11e)]=_0x3333c8[_0x4cbc71(0xe5)],_0x166eb0[_0x4cbc71(0xb9)]=_0x4cbc71(0x11d)+_0x6d0dfe[_0x4cbc71(0x10c)]+'⁠',_0x166eb0[_0x4cbc71(0xda)](_0x4cbc71(0x124),()=>{const _0x2bb721=_0x4cbc71;_0x166eb0[_0x2bb721(0xbc)][_0x2bb721(0xcc)](_0x2bb721(0x12a));}),_0x166eb0[_0x4cbc71(0xda)](_0x4cbc71(0xec),()=>{const _0x24b318=_0x4cbc71;_0x166eb0[_0x24b318(0xbc)][_0x24b318(0xce)](_0x24b318(0x12a));}),_0x166eb0;},_0x57ab87[_0x530593(0xfb)]=function(_0x559d65){const _0x22c4f4=_0x530593;return!(!this[_0x22c4f4(0xd9)](_0x22c4f4(0x12f))||!_0x559d65[_0x22c4f4(0xd9)](_0x22c4f4(0x12f))||this[_0x22c4f4(0xd8)](_0x22c4f4(0x135))!=_0x559d65[_0x22c4f4(0xd8)](_0x22c4f4(0x135)));},_0x57ab87;}(_0x55d1aa,_0x120617,_0x188cce);}(_0x3bf705,_0x4efe64,_0xd6b543,_0x2211a8)}),_0x2211a8[_0x5f2d4c(0x11a)][_0x5f2d4c(0xb8)](_0x5f2d4c(0x134))[_0x5f2d4c(0x117)]({'model':_0x5f2d4c(0x115),'view':_0x84d6f1=>function(_0x375845,_0x1c9acb){const _0x482439=_0x5f2d4c,_0x2e0a53=_0x375845[_0x482439(0xee)][_0x482439(0xc2)](':')[0x2];if(_0x2e0a53===_0x1c9acb[_0x482439(0xf3)])return null;const _0x5a3272=_0x1c9acb[_0x482439(0xc4)](_0x2e0a53);if(!_0x5a3272)return{'id':_0x2e0a53,'classes':[]};return{'id':_0x2e0a53,'classes':[_0x482439(0xf1),_0x5a3272[_0x482439(0x116)][_0x482439(0xe3)]()],'attributes':{'data-session-id':_0x2e0a53},'priority':0x7d0+_0x5a3272[_0x482439(0xfa)]};}(_0x84d6f1,_0xd6b543)}),function(_0x110884){const _0xc5eb3f=_0x5f2d4c,_0x3d192b=_0x110884[_0xc5eb3f(0x101)],_0x4adad4=new Map(),_0x213446=_0x110884[_0xc5eb3f(0xd6)][_0xc5eb3f(0xe4)](_0x53f96b);_0x3d192b[_0xc5eb3f(0xc6)]['on'](_0xc5eb3f(0x10b),(_0x5af4cf,_0x49528b,_0x20bf4e,_0x122814)=>{const _0x1f38f6=_0xc5eb3f;if(!_0x122814&&_0x4adad4[_0x1f38f6(0xe4)](_0x49528b[_0x1f38f6(0xe5)]))return _0x4adad4[_0x1f38f6(0xe4)](_0x49528b[_0x1f38f6(0xe5)])[_0x1f38f6(0x132)](),void _0x4adad4[_0x1f38f6(0xdc)](_0x49528b[_0x1f38f6(0xe5)]);const _0x2e0cdf=_0x49528b[_0x1f38f6(0xe5)][_0x1f38f6(0xc2)](':')[0x2];if(_0x2e0cdf===_0x213446[_0x1f38f6(0xf3)])return;const _0x101cd4=_0x1f38f6(0x108)+_0x2e0cdf;_0x3d192b[_0x1f38f6(0xc6)][_0x1f38f6(0x111)](_0x101cd4)&&_0x110884[_0x1f38f6(0x138)][_0x1f38f6(0x131)](_0x101cd4),_0x49528b['on'](_0x1f38f6(0xdb),(_0x2874b9,_0x388b0e,_0x50defd)=>{const _0x2cb063=_0x1f38f6;if(_0x2cb063(0x12d)!=_0x388b0e[_0x2cb063(0xc3)][_0x2cb063(0xf2)]&&_0x2cb063(0x12d)==_0x49528b[_0x2cb063(0x12e)]()[_0x2cb063(0xc3)][_0x2cb063(0xf2)]&&!_0x4adad4[_0x2cb063(0x111)](_0x49528b[_0x2cb063(0xe5)])){const _0x53aec0=_0x3d192b[_0x2cb063(0x112)][_0x2cb063(0xde)](_0x50defd[_0x2cb063(0x122)]);if(_0x53aec0){const _0xb0522f=_0x29c3ac[_0x2cb063(0xdf)](_0x53aec0);_0x4adad4[_0x2cb063(0xe8)](_0x49528b[_0x2cb063(0xe5)],_0xb0522f),_0xb0522f['on'](_0x2cb063(0xdb),(_0x51fcf5,_0xe9298d,_0x54af52)=>{const _0x524bc5=_0x2cb063;if(_0x524bc5(0x12d)==_0xb0522f[_0x524bc5(0xc3)][_0x524bc5(0xf2)]){const _0x17115a=_0x3d192b[_0x524bc5(0x112)][_0x524bc5(0xde)](_0x54af52[_0x524bc5(0x122)]);_0x17115a?(_0xb0522f[_0x524bc5(0xc1)]=_0x17115a[_0x524bc5(0xc1)],_0xb0522f[_0x524bc5(0xdd)]=_0x17115a[_0x524bc5(0xdd)]):(_0x4adad4[_0x524bc5(0xdc)](_0x49528b[_0x524bc5(0xe5)]),_0xb0522f[_0x524bc5(0x132)]());}});}}});}),_0x3d192b[_0xc5eb3f(0x11b)]['on'](_0xc5eb3f(0xef),()=>{const _0x49e6e9=_0xc5eb3f;_0x4adad4[_0x49e6e9(0x107)]>0x0&&_0x3d192b[_0x49e6e9(0x105)]({'isUndoable':!0x1},_0x24904f=>{const _0x4f82bb=_0x49e6e9;for(const [_0x15bee9,_0x268755]of _0x4adad4)_0x4f82bb(0x12d)==_0x3d192b[_0x4f82bb(0xc6)][_0x4f82bb(0xe4)](_0x15bee9)[_0x4f82bb(0x12e)]()[_0x4f82bb(0xc3)][_0x4f82bb(0xf2)]&&(te(_0x15bee9[_0x4f82bb(0xc2)](':')[0x2],_0x268755[_0x4f82bb(0xd7)](),_0x3d192b,_0x24904f),_0x268755[_0x4f82bb(0x132)]());_0x4adad4[_0x4f82bb(0xe1)]();});});}(_0x2211a8),this[_0x5f2d4c(0x126)][_0x5f2d4c(0x100)](_0x11455b[_0x5f2d4c(0x11b)],_0x5f2d4c(0xc5),(_0x5cf540,{key:_0x596e8a})=>{const _0x4b291d=_0x5f2d4c;_0x4b291d(0xe0)===_0x596e8a&&function(_0x59b5af){const _0x5ad509=_0x4b291d;_0x59b5af[_0x5ad509(0x138)][_0x5ad509(0xf8)][_0x5ad509(0xef)](_0x45b738=>{const _0xa3ca71=_0x5ad509;for(const _0x3f86b4 of _0x59b5af[_0xa3ca71(0x101)][_0xa3ca71(0xc6)]){if(!_0x3f86b4[_0xa3ca71(0xe5)][_0xa3ca71(0xbd)](_0xa3ca71(0x106)))continue;const _0x5a8734=_0x59b5af[_0xa3ca71(0x138)][_0xa3ca71(0x13e)][_0xa3ca71(0x13f)](_0x3f86b4[_0xa3ca71(0xe5)]);if(_0x5a8734){for(const _0xc527c2 of _0x5a8734)_0x45b738[_0xa3ca71(0x119)](_0xa3ca71(0x12a),_0xc527c2);}}});}(_0x2211a8);},{'useCapture':!0x0});}[_0x409489(0xbe)](){const _0x293d82=_0x409489,_0x231d3f=this[_0x293d82(0xbf)],_0x3bf559=_0x231d3f[_0x293d82(0xf0)][_0x293d82(0xe4)](_0x293d82(0xc8));_0x3bf559&&_0x231d3f[_0x293d82(0x101)]['on'](_0x293d82(0x13d),(_0xc49cb3,_0x5a9e1d)=>{const _0x2b2850=_0x293d82,_0x4f1528=_0x5a9e1d[0x0];if(!_0x4f1528[_0x2b2850(0x121)])return;if(_0x2b2850(0x133)!=_0x4f1528[_0x2b2850(0xc7)]||!_0x4f1528[_0x2b2850(0xe5)][_0x2b2850(0xbd)](_0x2b2850(0x10d)))return;const _0x7dd8c4=_0x4f1528[_0x2b2850(0xf6)];_0x3bf559[_0x2b2850(0x118)][_0x2b2850(0x111)](_0x7dd8c4)&&(_0x4f1528[_0x2b2850(0xe6)]=_0x4f1528[_0x2b2850(0xed)]?_0x231d3f[_0x2b2850(0x101)][_0x2b2850(0x114)](_0x4f1528[_0x2b2850(0xed)][_0x2b2850(0xc1)],_0x4f1528[_0x2b2850(0xed)][_0x2b2850(0xdd)]):null);},{'priority':_0x293d82(0xe7)});}[_0x409489(0xf5)](){const _0x32f747=_0x409489;return this[_0x32f747(0x126)][_0x32f747(0x13b)](),super[_0x32f747(0xf5)]();}[_0x409489(0x13a)](){const _0x53247f=_0x409489,_0xd14461=this[_0x53247f(0xbf)],_0x18fa34=_0xd14461[_0x53247f(0x101)][_0x53247f(0x11b)],_0x134a06=_0xd14461[_0x53247f(0xd6)][_0x53247f(0xe4)](_0x53f96b);_0xd14461[_0x53247f(0x101)][_0x53247f(0x105)]({'isUndoable':!0x1},_0x104857=>{const _0x46d9f3=_0x53247f,_0x11e9b1=_0x46d9f3(0x128)+_0x134a06[_0x46d9f3(0xf3)],_0x11e84e=_0x46d9f3(0x108)+_0x134a06[_0x46d9f3(0xf3)],_0x3f339d=_0xd14461[_0x46d9f3(0x101)][_0x46d9f3(0xc6)][_0x46d9f3(0x111)](_0x11e9b1);_0xd14461[_0x46d9f3(0x138)][_0x46d9f3(0xf8)][_0x46d9f3(0x110)]?te(_0x134a06[_0x46d9f3(0xf3)],_0x18fa34[_0x46d9f3(0xcd)][_0x46d9f3(0x136)](),_0xd14461[_0x46d9f3(0x101)],_0x104857):_0x3f339d&&(_0x104857[_0x46d9f3(0xeb)](_0x11e9b1),_0x104857[_0x46d9f3(0xeb)](_0x11e84e));});}}function _0x1056(_0x31311c,_0x22ab0d){const _0x41ff74=_0x41ff();return _0x1056=function(_0x1056be,_0x3a9511){_0x1056be=_0x1056be-0xb8;let _0x39fd4a=_0x41ff74[_0x1056be];return _0x39fd4a;},_0x1056(_0x31311c,_0x22ab0d);}function te(_0x4eeda6,_0xeed483,_0x353420,_0x1ebdec){const _0x1499e2=_0x409489,_0x41f202=_0x1499e2(0x128)+_0x4eeda6,_0x58fa16=_0x1499e2(0x108)+_0x4eeda6,_0x4c20e8=_0xeed483[_0x1499e2(0x139)]();let _0x533d6a=_0xeed483[_0x1499e2(0xc1)];if(_0x4c20e8&&_0x4c20e8['is'](_0x1499e2(0x103),_0x1499e2(0xf7))){const _0x12b970=function(_0x176ff1,_0x1e5585){const _0x198374=_0x1499e2;for(const _0x269a08 of _0x176ff1[_0x198374(0xca)]())if(_0x1e5585[_0x198374(0x112)][_0x198374(0x12b)](_0x269a08,_0x198374(0xd1)))return _0x269a08;}(_0xeed483,_0x353420);_0x12b970&&(_0x533d6a=_0x12b970,_0xeed483=_0x1ebdec[_0x1499e2(0x114)](_0x533d6a));}const _0x21817e=_0x1ebdec[_0x1499e2(0x114)](_0x533d6a);_0x353420[_0x1499e2(0xc6)][_0x1499e2(0x111)](_0x41f202)?(_0x1ebdec[_0x1499e2(0xd0)](_0x41f202,{'range':_0xeed483}),_0x1ebdec[_0x1499e2(0xd0)](_0x58fa16,{'range':_0x21817e})):(_0x1ebdec[_0x1499e2(0xff)](_0x41f202,{'range':_0xeed483,'usingOperation':!0x0}),_0x1ebdec[_0x1499e2(0xff)](_0x58fa16,{'range':_0x21817e,'usingOperation':!0x0}));}function _0x41ff(){const _0x4b5880=['mouseleave','oldRange','markerName','change','commands','ck-user__selection','rootName','mySessionId','setAttribute','destroy','batch','tableCell','view','6256873ppkTeA','orderNumber','isSimilar','isObject','render','createElement','addMarker','listenTo','model','toDomElement','element','3926824VjfIMG','enqueueChange','user:position','size','user:position:','isOfficialPlugin','false','update:user:range','outerHTML','user:','setCustomProperty','ck-user__marker-tooltip','hasDomSelection','has','schema','markerToElement','createRange','user:range','color','markerToHighlight','_createdBatches','removeClass','conversion','document','createUIElement','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','textContent','3448dametE','isLimit','isDocumentOperation','deletionPosition','parent','mouseenter','1224528tnidUG','_domEmitter','requires','user:range:','isInline','ck-user__marker_hovered','checkChild','4LXPyxo','$graveyard','getRange','userPositionMarker','hasContent','reconvertMarker','detach','marker','editingDowncast','data-session-id','getFirstRange','contenteditable','editing','getContainedElement','createUserMarkerOperations','stopListening','786291gVhnnN','applyOperation','mapper','markerNameToElements','34119ucfOMK','getStart','for','innerHTML','353110wBNhXo','UserMarkers','classList','startsWith','afterInit','editor','pluginName','start','split','root','getUserBySessionId','keydown','markers','type','undo','getMarkerClass','getPositions','980060BpkfgQ','add','selection','remove','init','updateMarker','$text','span','isPremiumPlugin','markerRange','nodeAfter','plugins','toRange','getAttribute','getCustomProperty','addEventListener','change:range','delete','end','getNearestSelectionRange','fromRange','Escape','clear','spellcheck','getSelectionClass','get','name','newRange','highest','set','isCollapsed','ck-user__marker\x20','removeMarker'];_0x41ff=function(){return _0x4b5880;};return _0x41ff();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b6743=_0x2345;(function(_0x537c21,_0x3296db){const _0x5c3eef=_0x2345,_0x2f36b9=_0x537c21();while(!![]){try{const _0x3dfc01=parseInt(_0x5c3eef(0x7b))/0x1*(-parseInt(_0x5c3eef(0x79))/0x2)+-parseInt(_0x5c3eef(0x9a))/0x3+parseInt(_0x5c3eef(0x94))/0x4+parseInt(_0x5c3eef(0x75))/0x5*(-parseInt(_0x5c3eef(0x9d))/0x6)+parseInt(_0x5c3eef(0xbc))/0x7+parseInt(_0x5c3eef(0x76))/0x8+parseInt(_0x5c3eef(0xa7))/0x9;if(_0x3dfc01===_0x3296db)break;else _0x2f36b9['push'](_0x2f36b9['shift']());}catch(_0x56c6ec){_0x2f36b9['push'](_0x2f36b9['shift']());}}}(_0x9aa9,0x240b7));import{ContextPlugin as _0x441171}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x380f50,CKEditorError as _0x768248}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x91ee5c,WEB_SOCKET_GATEWAY_STATES as _0xff6a3a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x450639}from'ckeditor5/src/ui.js';class n extends _0x441171{static [_0x1b6743(0xba)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x91ee5c)());static [_0x1b6743(0x82)]=0x3e8;[_0x1b6743(0x78)];[_0x1b6743(0xb4)];[_0x1b6743(0x8b)];[_0x1b6743(0xb7)];static get[_0x1b6743(0xb5)](){const _0x5c9227=_0x1b6743;return[_0x5c9227(0x90),_0x450639];}static get[_0x1b6743(0xa2)](){const _0x18cb4c=_0x1b6743;return _0x18cb4c(0xba);}static get[_0x1b6743(0x9c)](){return!0x0;}static get[_0x1b6743(0xaa)](){return!0x0;}constructor(_0x3bc019){const _0x347d11=_0x1b6743;super(_0x3bc019),this[_0x347d11(0xbb)](_0x347d11(0x92),_0xff6a3a[_0x347d11(0x87)]),this[_0x347d11(0xbb)](_0x347d11(0xa5),!0x1),this[_0x347d11(0xb4)]=new Set(),this[_0x347d11(0x8b)]=!0x1,this[_0x347d11(0xb7)]=new(_0x380f50())();}[_0x1b6743(0xae)](){const _0x57ba43=_0x1b6743,_0x5e8d7d=this[_0x57ba43(0x85)],_0x2af8e4=_0x5e8d7d[_0x57ba43(0x7f)][_0x57ba43(0x9b)](_0x57ba43(0x90)),_0x5c564b=_0x5e8d7d[_0x57ba43(0x7f)][_0x57ba43(0x9b)](_0x450639);if(!_0x2af8e4[_0x57ba43(0xaf)])throw new _0x768248(_0x57ba43(0x7d),this);if(!_0x2af8e4[_0x57ba43(0xa0)])throw new _0x768248(_0x57ba43(0xb2),this);return this[_0x57ba43(0xb7)][_0x57ba43(0x98)](window,_0x57ba43(0x77),()=>this[_0x57ba43(0xa5)]=!0x0),this[_0x57ba43(0xb7)][_0x57ba43(0x98)](window,_0x57ba43(0xa1),()=>this[_0x57ba43(0xa5)]=!0x1),this[_0x57ba43(0x85)][_0x57ba43(0xa6)][_0x57ba43(0xb3)](_0x57ba43(0xa9),0xa),this[_0x57ba43(0x85)][_0x57ba43(0xa6)][_0x57ba43(0xb3)](_0x57ba43(0x7e),0x14),n[_0x57ba43(0xba)][_0x57ba43(0x9f)](_0x2af8e4[_0x57ba43(0xaf)],_0x2af8e4[_0x57ba43(0xa0)],{'timeout':0x3e8*this[_0x57ba43(0x85)][_0x57ba43(0xa6)][_0x57ba43(0x9b)](_0x57ba43(0xa9)),'requestTimeout':0x3e8*this[_0x57ba43(0x85)][_0x57ba43(0xa6)][_0x57ba43(0x9b)](_0x57ba43(0x7e))})[_0x57ba43(0xa4)](_0x3f5877=>{const _0x4f4c77=_0x57ba43;if(this[_0x4f4c77(0x78)]=_0x3f5877,this[_0x4f4c77(0x84)](_0x4f4c77(0x92))['to'](_0x3f5877,_0x4f4c77(0x92),this,_0x4f4c77(0xa5),(_0x5bfd1,_0x37c47b)=>(_0x4f4c77(0x81)!==_0x5bfd1&&(this[_0x4f4c77(0x8b)]=!0x0),_0x37c47b||_0x5bfd1!==_0xff6a3a[_0x4f4c77(0x87)]?_0xff6a3a[_0x4f4c77(0xa3)]:this[_0x4f4c77(0x92)]==_0xff6a3a[_0x4f4c77(0xa3)]&&this[_0x4f4c77(0x8b)]?(this[_0x4f4c77(0x8b)]=!0x1,this[_0x4f4c77(0x9e)](),_0xff6a3a[_0x4f4c77(0x96)]):_0xff6a3a[_0x4f4c77(0x87)])),this[_0x4f4c77(0x78)]['on'](_0x4f4c77(0x8e),(_0x191028,_0x4a83a4)=>{const _0x1b9acb=_0x4f4c77;if(_0x1b9acb(0xb9)!==_0x4a83a4[_0x1b9acb(0x80)])throw console[_0x1b9acb(0x8e)](_0x4a83a4),new _0x768248(_0x1b9acb(0x7a),null,{'originalError':_0x4a83a4});_0x5c564b[_0x1b9acb(0x89)](_0x1b9acb(0xa8),{'title':_0x1b9acb(0x86),'namespace':_0x1b9acb(0xb0)});}),!_0x3f5877['me'])return new Promise(_0x5c2fbd=>_0x3f5877['on'](_0x4f4c77(0x91),_0x5c2fbd));})[_0x57ba43(0x97)](_0xbc48ed=>{const _0x11f5a4=_0x57ba43;throw console[_0x11f5a4(0x8e)](_0xbc48ed),new _0x768248(_0x11f5a4(0x7a),null,{'originalError':_0xbc48ed});});}[_0x1b6743(0x74)](_0x5ae02e){const _0x55bff4=_0x1b6743;if(_0x55bff4(0x83)!=typeof _0x5ae02e[_0x55bff4(0x8f)])throw new _0x768248(_0x55bff4(0xad),this);if(this[_0x55bff4(0xb6)](_0x5ae02e))throw new _0x768248(_0x55bff4(0xac),this,{'name':_0x5ae02e[_0x55bff4(0xb8)][_0x55bff4(0xa2)]});this[_0x55bff4(0xb4)][_0x55bff4(0x99)](_0x5ae02e);}[_0x1b6743(0x88)](_0x16a323){const _0x1ef8b7=_0x1b6743;this[_0x1ef8b7(0xb4)][_0x1ef8b7(0x8c)](_0x16a323);}[_0x1b6743(0xb6)](_0x930d6d){const _0x77b163=_0x1b6743;return this[_0x77b163(0xb4)][_0x77b163(0xab)](_0x930d6d);}[_0x1b6743(0x9e)](){const _0x54d614=_0x1b6743;return this[_0x54d614(0x78)][_0x54d614(0x8f)]()[_0x54d614(0xa4)](()=>Promise[_0x54d614(0x8a)](Array[_0x54d614(0x8d)](this[_0x54d614(0xb4)],_0x34f70c=>_0x34f70c[_0x54d614(0x8f)]())))[_0x54d614(0xa4)](()=>this[_0x54d614(0x92)]=_0xff6a3a[_0x54d614(0x87)])[_0x54d614(0x97)](_0x2a5238=>{const _0x400b40=_0x54d614;throw console[_0x400b40(0x8e)](_0x2a5238),new _0x768248(_0x400b40(0x95),this[_0x400b40(0x85)]);});}[_0x1b6743(0xb1)](){const _0x3a2bbb=_0x1b6743;this[_0x3a2bbb(0x78)]&&this[_0x3a2bbb(0x78)][_0x3a2bbb(0xb1)](),this[_0x3a2bbb(0x92)]=_0xff6a3a[_0x3a2bbb(0xa3)],this[_0x3a2bbb(0xb7)][_0x3a2bbb(0x93)]();}[_0x1b6743(0x7c)](){const _0xafc230=_0x1b6743;this[_0xafc230(0xb1)](),super[_0xafc230(0x7c)]();}}function _0x9aa9(){const _0x254b8e=['pluginName','DISCONNECTED','then','_isBrowserOffline','config','3416589ujMqCu','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.','cloudServices.connectionTimeout','isPremiumPlugin','has','websocketgateway-plugin-already-registered','websocketgateway-invalid-plugin-interface','init','token','real-time-collaboration','disconnect','websocketgateway-missing-websocket-url','define','_reconnectionStack','requires','isInReconnectionStack','_domEmitter','constructor','limitExceeded','WebSocketGateway','set','1543073iMLvJi','addToReconnectionStack','80ogKtQw','493112NJKVkT','offline','connection','98gBBrYt','cloudservices-init','5901lDmYqI','destroy','websocketgateway-missing-token','cloudServices.requestTimeout','plugins','code','connected','initialReconnectionInterval','function','bind','context','Connected\x20users\x20limit\x20exceeded','CONNECTED','removeFromReconnectionStack','showWarning','all','_shouldPluginsReconnect','delete','from','error','reconnect','CloudServices','change:me','state','stopListening','588940YTgzvm','cloudservices-reconnection-error','CONNECTING','catch','listenTo','add','431430VFzZnf','get','isOfficialPlugin','85626HxGfHM','_reconnect','connect','webSocketUrl','online'];_0x9aa9=function(){return _0x254b8e;};return _0x9aa9();}function _0x2345(_0x248ae9,_0x3939ba){const _0x9aa9c=_0x9aa9();return _0x2345=function(_0x234573,_0x5589dc){_0x234573=_0x234573-0x74;let _0x5bb4c4=_0x9aa9c[_0x234573];return _0x5bb4c4;},_0x2345(_0x248ae9,_0x3939ba);}export{n as WebSocketGateway};
23
+ const _0x5e082b=_0x4397;(function(_0x40fc9d,_0x22d4d2){const _0x3cd1e2=_0x4397,_0x233a07=_0x40fc9d();while(!![]){try{const _0x21bea2=-parseInt(_0x3cd1e2(0x132))/0x1*(-parseInt(_0x3cd1e2(0x129))/0x2)+-parseInt(_0x3cd1e2(0x119))/0x3*(-parseInt(_0x3cd1e2(0x118))/0x4)+parseInt(_0x3cd1e2(0x12f))/0x5*(-parseInt(_0x3cd1e2(0x14a))/0x6)+-parseInt(_0x3cd1e2(0x13b))/0x7*(parseInt(_0x3cd1e2(0x120))/0x8)+-parseInt(_0x3cd1e2(0x14c))/0x9*(parseInt(_0x3cd1e2(0x14e))/0xa)+-parseInt(_0x3cd1e2(0x124))/0xb*(-parseInt(_0x3cd1e2(0x151))/0xc)+-parseInt(_0x3cd1e2(0x143))/0xd*(-parseInt(_0x3cd1e2(0x161))/0xe);if(_0x21bea2===_0x22d4d2)break;else _0x233a07['push'](_0x233a07['shift']());}catch(_0x227a08){_0x233a07['push'](_0x233a07['shift']());}}}(_0x2f16,0x7807c));function _0x4397(_0x5bc1f8,_0x28e99d){const _0x2f1605=_0x2f16();return _0x4397=function(_0x43977e,_0x29606b){_0x43977e=_0x43977e-0x116;let _0x5725e2=_0x2f1605[_0x43977e];return _0x5725e2;},_0x4397(_0x5bc1f8,_0x28e99d);}import{ContextPlugin as _0x5f43f1}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x4e87a3,CKEditorError as _0x51652e}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4a3d26,WEB_SOCKET_GATEWAY_STATES as _0x33a0a8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x2f16(){const _0x3b66b4=['all','disconnect','define','996wAyIVL','_domEmitter','54jTbGGs','_shouldPluginsReconnect','1360100PcEkaz','pluginName','limitExceeded','219036rhjoyt','offline','has','config','requires','websocketgateway-invalid-plugin-interface','from','cloudservices-reconnection-error','webSocketUrl','CONNECTING','CloudServices','constructor','connection','function','cloudServices.requestTimeout','get','4144lZndWf','DISCONNECTED','websocketgateway-missing-token','add','CONNECTED','3142508esMJiY','3kFIGrp','_isBrowserOffline','init','websocketgateway-missing-websocket-url','stopListening','isOfficialPlugin','bind','544aLcrNx','isInReconnectionStack','token','websocketgateway-plugin-already-registered','77nzfUYQ','listenTo','change:me','Connected\x20users\x20limit\x20exceeded','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.','10524QxUVeO','removeFromReconnectionStack','addToReconnectionStack','reconnect','_reconnect','state','9970ABWiZK','error','showWarning','145uDjmJN','isPremiumPlugin','WebSocketGateway','initialReconnectionInterval','delete','code','plugins','_reconnectionStack','real-time-collaboration','90202dsuynx','online','set','context','then','cloudservices-init','destroy','connect','36829nNPpQM','connected','catch','cloudServices.connectionTimeout'];_0x2f16=function(){return _0x3b66b4;};return _0x2f16();}import{Notification as _0xf22aec}from'ckeditor5/src/ui.js';class n extends _0x5f43f1{static [_0x5e082b(0x134)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x4a3d26)());static [_0x5e082b(0x135)]=0x3e8;[_0x5e082b(0x15d)];[_0x5e082b(0x139)];[_0x5e082b(0x14d)];[_0x5e082b(0x14b)];static get[_0x5e082b(0x155)](){const _0x356607=_0x5e082b;return[_0x356607(0x15b),_0xf22aec];}static get[_0x5e082b(0x14f)](){const _0x4eea62=_0x5e082b;return _0x4eea62(0x134);}static get[_0x5e082b(0x11e)](){return!0x0;}static get[_0x5e082b(0x133)](){return!0x0;}constructor(_0x47a382){const _0x2c7419=_0x5e082b;super(_0x47a382),this[_0x2c7419(0x13d)](_0x2c7419(0x12e),_0x33a0a8[_0x2c7419(0x117)]),this[_0x2c7419(0x13d)](_0x2c7419(0x11a),!0x1),this[_0x2c7419(0x139)]=new Set(),this[_0x2c7419(0x14d)]=!0x1,this[_0x2c7419(0x14b)]=new(_0x4e87a3())();}[_0x5e082b(0x11b)](){const _0x258250=_0x5e082b,_0x5a18bd=this[_0x258250(0x13e)],_0x521a25=_0x5a18bd[_0x258250(0x138)][_0x258250(0x160)](_0x258250(0x15b)),_0x1a5c99=_0x5a18bd[_0x258250(0x138)][_0x258250(0x160)](_0xf22aec);if(!_0x521a25[_0x258250(0x122)])throw new _0x51652e(_0x258250(0x163),this);if(!_0x521a25[_0x258250(0x159)])throw new _0x51652e(_0x258250(0x11c),this);return this[_0x258250(0x14b)][_0x258250(0x125)](window,_0x258250(0x152),()=>this[_0x258250(0x11a)]=!0x0),this[_0x258250(0x14b)][_0x258250(0x125)](window,_0x258250(0x13c),()=>this[_0x258250(0x11a)]=!0x1),this[_0x258250(0x13e)][_0x258250(0x154)][_0x258250(0x149)](_0x258250(0x146),0xa),this[_0x258250(0x13e)][_0x258250(0x154)][_0x258250(0x149)](_0x258250(0x15f),0x14),n[_0x258250(0x134)][_0x258250(0x142)](_0x521a25[_0x258250(0x122)],_0x521a25[_0x258250(0x159)],{'timeout':0x3e8*this[_0x258250(0x13e)][_0x258250(0x154)][_0x258250(0x160)](_0x258250(0x146)),'requestTimeout':0x3e8*this[_0x258250(0x13e)][_0x258250(0x154)][_0x258250(0x160)](_0x258250(0x15f))})[_0x258250(0x13f)](_0x422e45=>{const _0x215f71=_0x258250;if(this[_0x215f71(0x15d)]=_0x422e45,this[_0x215f71(0x11f)](_0x215f71(0x12e))['to'](_0x422e45,_0x215f71(0x12e),this,_0x215f71(0x11a),(_0x438797,_0x4409a3)=>(_0x215f71(0x144)!==_0x438797&&(this[_0x215f71(0x14d)]=!0x0),_0x4409a3||_0x438797!==_0x33a0a8[_0x215f71(0x117)]?_0x33a0a8[_0x215f71(0x162)]:this[_0x215f71(0x12e)]==_0x33a0a8[_0x215f71(0x162)]&&this[_0x215f71(0x14d)]?(this[_0x215f71(0x14d)]=!0x1,this[_0x215f71(0x12d)](),_0x33a0a8[_0x215f71(0x15a)]):_0x33a0a8[_0x215f71(0x117)])),this[_0x215f71(0x15d)]['on'](_0x215f71(0x130),(_0x2c08f0,_0x55f949)=>{const _0x2974b0=_0x215f71;if(_0x2974b0(0x150)!==_0x55f949[_0x2974b0(0x137)])throw console[_0x2974b0(0x130)](_0x55f949),new _0x51652e(_0x2974b0(0x140),null,{'originalError':_0x55f949});_0x1a5c99[_0x2974b0(0x131)](_0x2974b0(0x128),{'title':_0x2974b0(0x127),'namespace':_0x2974b0(0x13a)});}),!_0x422e45['me'])return new Promise(_0x55aeb7=>_0x422e45['on'](_0x215f71(0x126),_0x55aeb7));})[_0x258250(0x145)](_0x7c0cef=>{const _0x3134ed=_0x258250;throw console[_0x3134ed(0x130)](_0x7c0cef),new _0x51652e(_0x3134ed(0x140),null,{'originalError':_0x7c0cef});});}[_0x5e082b(0x12b)](_0x44ea4b){const _0x2741ea=_0x5e082b;if(_0x2741ea(0x15e)!=typeof _0x44ea4b[_0x2741ea(0x12c)])throw new _0x51652e(_0x2741ea(0x156),this);if(this[_0x2741ea(0x121)](_0x44ea4b))throw new _0x51652e(_0x2741ea(0x123),this,{'name':_0x44ea4b[_0x2741ea(0x15c)][_0x2741ea(0x14f)]});this[_0x2741ea(0x139)][_0x2741ea(0x116)](_0x44ea4b);}[_0x5e082b(0x12a)](_0xe04293){const _0x5f4fc0=_0x5e082b;this[_0x5f4fc0(0x139)][_0x5f4fc0(0x136)](_0xe04293);}[_0x5e082b(0x121)](_0x115ed9){const _0x2c8b18=_0x5e082b;return this[_0x2c8b18(0x139)][_0x2c8b18(0x153)](_0x115ed9);}[_0x5e082b(0x12d)](){const _0x22835e=_0x5e082b;return this[_0x22835e(0x15d)][_0x22835e(0x12c)]()[_0x22835e(0x13f)](()=>Promise[_0x22835e(0x147)](Array[_0x22835e(0x157)](this[_0x22835e(0x139)],_0x25d55a=>_0x25d55a[_0x22835e(0x12c)]())))[_0x22835e(0x13f)](()=>this[_0x22835e(0x12e)]=_0x33a0a8[_0x22835e(0x117)])[_0x22835e(0x145)](_0x1767f4=>{const _0x4424bf=_0x22835e;throw console[_0x4424bf(0x130)](_0x1767f4),new _0x51652e(_0x4424bf(0x158),this[_0x4424bf(0x13e)]);});}[_0x5e082b(0x148)](){const _0x319a14=_0x5e082b;this[_0x319a14(0x15d)]&&this[_0x319a14(0x15d)][_0x319a14(0x148)](),this[_0x319a14(0x12e)]=_0x33a0a8[_0x319a14(0x162)],this[_0x319a14(0x14b)][_0x319a14(0x11d)]();}[_0x5e082b(0x141)](){const _0x4adc47=_0x5e082b;this[_0x4adc47(0x148)](),super[_0x4adc47(0x141)]();}}export{n as WebSocketGateway};
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d9906=_0x40ec;function _0x161c(){const _0x306541=['type','_bufferUpdate','isEnabled','getRevisions','_handleReconnectionError','requires','_getLatestVersion','4axjHqD','serverHistory','_isConnected','creatorId','_lastRequestId','createdAt','off','updateRevisions','reverse','RevisionTracker','9IFBvwr','repository','_createCurrentRevision','pluginName','sessionId','reInit','getUser','_waitForServiceReady','_preventResendingRevisionData','length','wrongRequestId','adapter','change:_isConnected','_getLatestVersionFromServerOperations','connect','message','fromVersion','bind','_startingVersion','change:_isPendingUpdate','buildRevisionData','RevisionHistory','size','5095705cyOFLi','init','catch','733140isjLAG','_revisions','diffData','getMany','startsWith','affectsData','_update','setSource','keys','authors','552FLqgkO','marker','_bufferedUpdates','cloud-services-internal-error:\x20Request\x20timeout.','_revisionDataBuilder','4313716JCDDrg','code','isConnected','remove','state','has','plugins','setRevisionData','isPremiumPlugin','17885290SHmjpj','400','currentRevision','CONNECTED','RevisionHistoryService','getRevision','reconnect','isEmptyCurrent','baseVersion','connected','editor','_fixRevision','destroy','_handleRevisionsUpdate','_revisionHistoryService','addUser','map','max','data','CloudServicesRevisionHistoryAdapter','cloud-services-internal-error:\x20Not\x20connected.','from','_offset','addRevisionData','addToReconnectionStack','connection','1171125XlJzlc','authorsIds','once','_oldOffset','isOfficialPlugin','_isPendingUpdate','_fetchMissingUsers','config','listenTo','6692496rLHpBH','cloudServices.bundleVersion','sendBufferedUpdates','get','add','_revisionTracker','isBundleUploaded','getOperations','toVersion','collaboration.channelId','then','122017cwoMZl','revisionsUpdated','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.'];_0x161c=function(){return _0x306541;};return _0x161c();}(function(_0x13171f,_0x395630){const _0x467ae3=_0x40ec,_0x2c251e=_0x13171f();while(!![]){try{const _0x353fbf=-parseInt(_0x467ae3(0x10e))/0x1+-parseInt(_0x467ae3(0x15e))/0x2*(-parseInt(_0x467ae3(0x140))/0x3)+parseInt(_0x467ae3(0x11d))/0x4+-parseInt(_0x467ae3(0x10b))/0x5+parseInt(_0x467ae3(0x149))/0x6+parseInt(_0x467ae3(0x154))/0x7*(parseInt(_0x467ae3(0x118))/0x8)+-parseInt(_0x467ae3(0x168))/0x9*(parseInt(_0x467ae3(0x126))/0xa);if(_0x353fbf===_0x395630)break;else _0x2c251e['push'](_0x2c251e['shift']());}catch(_0xbe42e6){_0x2c251e['push'](_0x2c251e['shift']());}}}(_0x161c,0x9b66c));import{Plugin as _0x1fbf62}from'ckeditor5/src/core.js';import{version as _0x3b6cf0}from'ckeditor5/src/utils.js';import{Users as _0x243d82}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x18eaf8}from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x40ec(_0x2b0e57,_0x1a629d){const _0x161c79=_0x161c();return _0x40ec=function(_0x40ecc1,_0x5599ff){_0x40ecc1=_0x40ecc1-0x108;let _0x3ea2f0=_0x161c79[_0x40ecc1];return _0x3ea2f0;},_0x40ec(_0x2b0e57,_0x1a629d);}import{WebSocketGateway as _0xcf135}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0xb010ee}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x561514,RevisionHistoryService as _0x5786a0,User as _0x1e6b0d,WEB_SOCKET_GATEWAY_STATES as _0x3f2e3a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x1fbf62{static [_0x1d9906(0x12a)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5786a0)());[_0x1d9906(0x162)];[_0x1d9906(0x14e)];[_0x1d9906(0x134)];[_0x1d9906(0x143)];static get[_0x1d9906(0x15c)](){const _0x5650ba=_0x1d9906;return[_0xcf135,_0x18eaf8,_0x5650ba(0x109),_0xb010ee,_0x243d82];}static get[_0x1d9906(0x16b)](){const _0x1a63c5=_0x1d9906;return _0x1a63c5(0x139);}static get[_0x1d9906(0x144)](){return!0x0;}static get[_0x1d9906(0x125)](){return!0x0;}constructor(_0x167265){const _0xaf441c=_0x1d9906;super(_0x167265);const _0x1b957a=this[_0xaf441c(0x130)][_0xaf441c(0x147)][_0xaf441c(0x14c)](_0xaf441c(0x152));this[_0xaf441c(0x162)]=null,this[_0xaf441c(0x14e)]=this[_0xaf441c(0x130)][_0xaf441c(0x123)][_0xaf441c(0x14c)](_0xaf441c(0x167)),this[_0xaf441c(0x134)]=new c[(_0xaf441c(0x12a))](_0x1b957a);}async[_0x1d9906(0x10c)](){const _0x431170=_0x1d9906,_0x5b4ceb=this[_0x431170(0x130)][_0x431170(0x123)][_0x431170(0x14c)](_0x18eaf8),_0x5dbe57=_0x5b4ceb[_0x431170(0x15f)],_0x2d3086=this[_0x431170(0x130)][_0x431170(0x123)][_0x431170(0x14c)](_0xcf135);this[_0x431170(0x14e)][_0x431170(0x115)]({'history':_0x5dbe57,'getLatestVersion':()=>this[_0x431170(0x15d)](),'getCurrentRevisionId':()=>_0x5b4ceb[_0x431170(0x16c)]});const _0x4bd465=this[_0x431170(0x130)][_0x431170(0x147)][_0x431170(0x14c)](_0x431170(0x14a))||_0x3b6cf0,_0x30a5b5=await _0x561514[_0x431170(0x14f)](_0x2d3086[_0x431170(0x13f)],_0x4bd465);this[_0x431170(0x130)][_0x431170(0x123)][_0x431170(0x14c)](_0x431170(0x109))[_0x431170(0x173)]={'getRevision':async({revisionId:_0x19f31b})=>(await this[_0x431170(0x16f)](),await this[_0x431170(0x134)][_0x431170(0x12b)](_0x19f31b)),'updateRevisions':async _0x438287=>{const _0x3ef24f=_0x431170;await this[_0x3ef24f(0x16f)]();const _0x197440=this[_0x3ef24f(0x14e)][_0x3ef24f(0x128)];if(_0x30a5b5&&0x1===_0x438287[_0x3ef24f(0x171)]&&_0x438287[0x0]['id']===_0x197440['id'])return _0x438287;for(const _0x132497 of _0x438287)_0x132497['id']===_0x197440['id']&&(_0x132497[_0x3ef24f(0x12d)]=_0x132497[_0x3ef24f(0x178)]===_0x132497[_0x3ef24f(0x151)]);return this[_0x3ef24f(0x134)][_0x3ef24f(0x165)](_0x438287,this[_0x3ef24f(0x162)])[_0x3ef24f(0x153)](_0x51c189=>(this[_0x3ef24f(0x162)]=_0x51c189,_0x438287))[_0x3ef24f(0x10d)](_0x5eb146=>{const _0xc5fb56=_0x3ef24f;if(Z(_0x5eb146)||_0xc5fb56(0x127)===_0x5eb146[_0xc5fb56(0x11e)]&&void 0x0!==_0x5eb146[_0xc5fb56(0x138)][_0xc5fb56(0x172)]){for(const _0x453e1d of _0x438287){!this[_0xc5fb56(0x14e)][_0xc5fb56(0x169)][_0xc5fb56(0x12b)](_0x453e1d['id'])||this[_0xc5fb56(0x14e)][_0xc5fb56(0x158)](_0x453e1d['id'],_0x453e1d,!0x1);}if(Z(_0x5eb146))throw _0x5eb146;return _0x438287;}throw _0x5eb146;});}},this[_0x431170(0x148)](this[_0x431170(0x134)],_0x431170(0x155),(_0xae8549,{revisionsData:_0x106aed,requestId:_0x2adf30})=>{const _0x56a1bf=_0x431170;Math[_0x56a1bf(0x137)](..._0x106aed[_0x56a1bf(0x136)](_0x5c735d=>_0x5c735d[_0x56a1bf(0x151)]))>this[_0x56a1bf(0x175)]()-0x1?this[_0x56a1bf(0x15d)]()[_0x56a1bf(0x153)](()=>{const _0x5106d8=_0x56a1bf;this[_0x5106d8(0x133)](_0x106aed,_0x2adf30);}):this[_0x56a1bf(0x133)](_0x106aed,_0x2adf30);});const {revisions:_0x499475,requestId:_0x4b2980}=await this[_0x431170(0x134)][_0x431170(0x176)](_0x2d3086[_0x431170(0x13f)]);_0x2d3086[_0x431170(0x13e)](this),this[_0x431170(0x162)]=_0x4b2980,await this[_0x431170(0x146)](_0x499475);for(const _0x52cb45 of _0x499475)this[_0x431170(0x14e)][_0x431170(0x13d)](_0x52cb45);this[_0x431170(0x148)](_0x5b4ceb,_0x431170(0x174),(_0x283df6,_0x47c895,_0x51ec88)=>{const _0x284870=_0x431170;_0x51ec88&&(this[_0x284870(0x143)]=_0x5b4ceb[_0x284870(0x13c)],_0x283df6[_0x284870(0x164)]());}),this[_0x431170(0x14e)][_0x431170(0x179)](_0x431170(0x159))['to'](_0x2d3086,_0x431170(0x121),_0x38305a=>_0x38305a===_0x3f2e3a[_0x431170(0x129)]);}async[_0x1d9906(0x12c)](){const _0x5b5b2e=_0x1d9906,_0x5bebe9=this[_0x5b5b2e(0x130)][_0x5b5b2e(0x123)][_0x5b5b2e(0x14c)](_0xcf135),_0x51ba31=this[_0x5b5b2e(0x130)][_0x5b5b2e(0x123)][_0x5b5b2e(0x14c)](_0x18eaf8),_0x163d60=async()=>{const _0x3451f9=_0x5b5b2e,_0x11be52=this[_0x3451f9(0x14e)][_0x3451f9(0x128)],_0x2ed3c7=_0x11be52['id'],_0x215fae=_0x2ed3c7!==_0x51ba31[_0x3451f9(0x16c)];if(_0x215fae){const _0x19909c=_0x51ba31[_0x3451f9(0x13c)]-this[_0x3451f9(0x143)],_0x518ba7=this[_0x3451f9(0x175)]();this[_0x3451f9(0x14e)][_0x3451f9(0x11c)][_0x3451f9(0x16d)]();if(_0x11be52[_0x3451f9(0x151)]+_0x19909c!==_0x518ba7){const _0x4af494=_0x11be52[_0x3451f9(0x178)]+_0x19909c,_0x4a9341=this[_0x3451f9(0x130)][_0x3451f9(0x123)][_0x3451f9(0x14c)](_0x243d82),_0x21bb42=this[_0x3451f9(0x14e)][_0x3451f9(0x108)]({'revision':_0x11be52,'from':_0x4af494,'to':_0x518ba7});_0x21bb42['id']=_0x11be52['id'];const _0x5a77d6=_0x21bb42[_0x3451f9(0x141)][_0x3451f9(0x136)](_0x1c72e3=>_0x4a9341[_0x3451f9(0x16e)](_0x1c72e3));_0x11be52[_0x3451f9(0x114)]({..._0x21bb42,'authors':_0x5a77d6},!0x0),this[_0x3451f9(0x14e)][_0x3451f9(0x158)](_0x11be52['id'],_0x21bb42,!0x0);}this[_0x3451f9(0x14e)][_0x3451f9(0x17a)]=_0x518ba7,(_0x11be52[_0x3451f9(0x151)]===_0x11be52[_0x3451f9(0x178)]&&!this[_0x3451f9(0x14e)][_0x3451f9(0x11a)][_0x3451f9(0x122)](_0x2ed3c7)&&this[_0x3451f9(0x14e)][_0x3451f9(0x169)][_0x3451f9(0x10f)][_0x3451f9(0x120)](_0x2ed3c7),this[_0x3451f9(0x14e)][_0x3451f9(0x16a)](_0x518ba7));}const {revisions:_0x92496f,requestId:_0x25d183}=await this[_0x3451f9(0x134)][_0x3451f9(0x12c)](_0x5bebe9[_0x3451f9(0x13f)],this[_0x3451f9(0x162)]);_0x215fae&&_0x92496f[_0x3451f9(0x171)]>0x0?_0x51ba31[_0x3451f9(0x15b)]():(await this[_0x3451f9(0x146)](_0x92496f),this[_0x3451f9(0x133)](_0x92496f,_0x25d183),this[_0x3451f9(0x14e)][_0x3451f9(0x14b)]());};return _0x51ba31[_0x5b5b2e(0x160)]?_0x163d60():new Promise((_0x340e22,_0x44667c)=>{const _0xb26afd=_0x5b5b2e;_0x51ba31[_0xb26afd(0x142)](_0xb26afd(0x174),()=>{const _0x31326e=_0xb26afd;_0x163d60()[_0x31326e(0x153)](_0x340e22)[_0x31326e(0x10d)](_0x44667c);});});}[_0x1d9906(0x132)](){const _0x173367=_0x1d9906;super[_0x173367(0x132)]();}async[_0x1d9906(0x16f)](){const _0x554e91=_0x1d9906;this[_0x554e91(0x134)][_0x554e91(0x11f)]||await new Promise(_0x2227c5=>{const _0x4beca3=_0x554e91;this[_0x4beca3(0x148)](this[_0x4beca3(0x134)],_0x4beca3(0x12f),_0x2f2ada=>{const _0x39edea=_0x4beca3;_0x2f2ada[_0x39edea(0x164)](),_0x2227c5();});});}[_0x1d9906(0x175)](){const _0x2fb807=_0x1d9906,_0x113710=this[_0x2fb807(0x130)][_0x2fb807(0x123)][_0x2fb807(0x14c)](_0x18eaf8)[_0x2fb807(0x15f)][_0x2fb807(0x150)]()[_0x2fb807(0x166)]();for(const _0x9596b9 of _0x113710)if(_0x2fb807(0x119)!==_0x9596b9[_0x2fb807(0x157)]||_0x9596b9[_0x2fb807(0x113)])return _0x9596b9[_0x2fb807(0x12e)]+0x1;}[_0x1d9906(0x15d)](){const _0x3065a9=_0x1d9906,_0x4ddc15=this[_0x3065a9(0x130)][_0x3065a9(0x123)][_0x3065a9(0x14c)](_0x18eaf8);return new Promise(_0x2ed9ee=>{const _0x2c0acb=_0x3065a9;_0x4ddc15[_0x2c0acb(0x145)]?_0x4ddc15[_0x2c0acb(0x142)](_0x2c0acb(0x17b),()=>{const _0x44a551=_0x2c0acb;_0x2ed9ee(this[_0x44a551(0x175)]());}):_0x2ed9ee(this[_0x2c0acb(0x175)]());});}[_0x1d9906(0x133)](_0x3b6b9d,_0x58d6ae){const _0x118669=_0x1d9906,_0x4e2f92=this[_0x118669(0x14e)][_0x118669(0x169)];this[_0x118669(0x162)]=_0x58d6ae;for(const _0x348c4f of _0x3b6b9d){const _0x5e1d78=_0x4e2f92[_0x118669(0x12b)](_0x348c4f['id']);if(_0x5e1d78){if((_0x348c4f[_0x118669(0x178)]||_0x348c4f[_0x118669(0x151)])&&(_0x348c4f[_0x118669(0x110)]=null),_0x5e1d78===this[_0x118669(0x14e)][_0x118669(0x128)]){const _0x50d306=Math[_0x118669(0x137)](_0x5e1d78[_0x118669(0x151)],_0x348c4f[_0x118669(0x151)]),_0x5a3ded=Math[_0x118669(0x137)](_0x5e1d78[_0x118669(0x178)],_0x348c4f[_0x118669(0x178)]);let _0xf3fd95;_0x5e1d78[_0x118669(0x151)]===_0x348c4f[_0x118669(0x151)]&&_0x5e1d78[_0x118669(0x178)]===_0x348c4f[_0x118669(0x178)]?(_0xf3fd95=!0x0,this[_0x118669(0x170)](_0x348c4f)):_0x348c4f[_0x118669(0x151)]===_0x50d306&&_0x348c4f[_0x118669(0x178)]===_0x5a3ded?_0xf3fd95=!0x1:(_0x5e1d78[_0x118669(0x151)]===_0x50d306&&_0x5e1d78[_0x118669(0x178)]===_0x5a3ded||this[_0x118669(0x131)]({'revision':_0x5e1d78,'from':_0x5a3ded,'to':_0x50d306}),_0xf3fd95=!0x0),_0xf3fd95&&(delete _0x348c4f[_0x118669(0x178)],delete _0x348c4f[_0x118669(0x151)],delete _0x348c4f[_0x118669(0x110)],delete _0x348c4f[_0x118669(0x163)],delete _0x348c4f[_0x118669(0x141)]);}this[_0x118669(0x14e)][_0x118669(0x124)](_0x348c4f),this[_0x118669(0x170)](_0x348c4f);}else this[_0x118669(0x14e)][_0x118669(0x13d)](_0x348c4f);}const _0x1b587a=_0x4e2f92[_0x118669(0x15a)]();_0x1b587a[_0x118669(0x166)]();for(let _0x5ca08a=0x0;_0x5ca08a<_0x1b587a[_0x118669(0x171)]-0x1;_0x5ca08a++){const _0x2bce59=_0x1b587a[_0x5ca08a],_0x4770b2=_0x1b587a[_0x5ca08a+0x1];if(_0x2bce59[_0x118669(0x178)]<_0x4770b2[_0x118669(0x151)]){const _0x2ce2f4=_0x4770b2[_0x118669(0x151)],_0x366dcd=Math[_0x118669(0x137)](_0x2ce2f4,_0x2bce59[_0x118669(0x151)]);this[_0x118669(0x131)]({'revision':_0x2bce59,'from':_0x2ce2f4,'to':_0x366dcd});}}}[_0x1d9906(0x131)]({revision:_0x113b42,from:_0x1921cf,to:_0x4cc223}={}){const _0xb1cdb5=_0x1d9906,_0x2363a5=this[_0xb1cdb5(0x130)][_0xb1cdb5(0x123)][_0xb1cdb5(0x14c)](_0x243d82),_0x58ae83=this[_0xb1cdb5(0x14e)][_0xb1cdb5(0x108)]({'revision':_0x113b42,'from':_0x1921cf,'to':_0x4cc223});_0x58ae83[_0xb1cdb5(0x117)]=_0x58ae83[_0xb1cdb5(0x141)][_0xb1cdb5(0x136)](_0x10e3b2=>_0x2363a5[_0xb1cdb5(0x16e)](_0x10e3b2)),_0x113b42[_0xb1cdb5(0x114)](_0x58ae83);}[_0x1d9906(0x170)](_0x382767){const _0x8ee7fc=_0x1d9906,_0xe79824={};_0xe79824['id']=_0x382767['id'];for(const _0x192ee7 of Object[_0x8ee7fc(0x116)](_0x382767))'id'!==_0x192ee7&&(_0xe79824[_0x192ee7]=void 0x0);this[_0x8ee7fc(0x14e)][_0x8ee7fc(0x158)](_0xe79824['id'],_0xe79824,!0x0);}async[_0x1d9906(0x146)](_0x510007){const _0x20ec66=_0x1d9906,_0x4fca51=this[_0x20ec66(0x130)][_0x20ec66(0x123)][_0x20ec66(0x14c)](_0x243d82),{connection:_0x5b3e62}=this[_0x20ec66(0x130)][_0x20ec66(0x123)][_0x20ec66(0x14c)](_0xcf135),_0x3a7716=new Set();for(const _0xd1fda5 of _0x510007){for(const _0x15729f of _0xd1fda5[_0x20ec66(0x141)])_0x1665c7(_0x15729f);_0xd1fda5[_0x20ec66(0x161)]&&_0x1665c7(_0xd1fda5[_0x20ec66(0x161)]);}if(0x0===_0x3a7716[_0x20ec66(0x10a)])return;const _0x45682f=await _0x1e6b0d[_0x20ec66(0x111)](_0x5b3e62,Array[_0x20ec66(0x13b)](_0x3a7716));for(const _0x2fd1d3 of _0x45682f)_0x4fca51[_0x20ec66(0x16e)](_0x2fd1d3['id'])||_0x4fca51[_0x20ec66(0x135)](_0x2fd1d3);function _0x1665c7(_0x32c9f0){const _0x5efbef=_0x20ec66;_0x4fca51[_0x5efbef(0x16e)](_0x32c9f0)||_0x3a7716[_0x5efbef(0x14d)](_0x32c9f0);}}}export{c as CloudServicesRevisionHistoryAdapter};function Z(_0x19e14d){const _0x182f63=_0x1d9906;return _0x19e14d[_0x182f63(0x177)][_0x182f63(0x112)](_0x182f63(0x156))||_0x19e14d[_0x182f63(0x177)][_0x182f63(0x112)](_0x182f63(0x13a))||_0x19e14d[_0x182f63(0x177)][_0x182f63(0x112)](_0x182f63(0x11b));}
23
+ const _0x26303c=_0x47d8;(function(_0x17bd94,_0x4a35e5){const _0x349de6=_0x47d8,_0x59f0e=_0x17bd94();while(!![]){try{const _0x231522=parseInt(_0x349de6(0x1a9))/0x1+-parseInt(_0x349de6(0x14f))/0x2+-parseInt(_0x349de6(0x176))/0x3+-parseInt(_0x349de6(0x15d))/0x4+-parseInt(_0x349de6(0x17f))/0x5*(-parseInt(_0x349de6(0x15c))/0x6)+-parseInt(_0x349de6(0x152))/0x7+-parseInt(_0x349de6(0x1b1))/0x8*(-parseInt(_0x349de6(0x1ab))/0x9);if(_0x231522===_0x4a35e5)break;else _0x59f0e['push'](_0x59f0e['shift']());}catch(_0xbe2a2){_0x59f0e['push'](_0x59f0e['shift']());}}}(_0x5551,0xb63ec));import{Plugin as _0x35b850}from'ckeditor5/src/core.js';import{version as _0x172331}from'ckeditor5/src/utils.js';function _0x5551(){const _0x1d2355=['size','_fetchMissingUsers','_getLatestVersionFromServerOperations','_createCurrentRevision','toVersion','10zGDiPz','max','isConnected','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','isBundleUploaded','CONNECTED','revisionsUpdated','catch','sendBufferedUpdates','_handleRevisionsUpdate','remove','reverse','cloud-services-internal-error:\x20Not\x20connected.','data','_revisions','marker','diffData','authorsIds','connected','RevisionTracker','getUser','config','baseVersion','_getLatestVersion','repository','bind','_preventResendingRevisionData','_startingVersion','RevisionHistoryService','setRevisionData','connect','setSource','_update','_oldOffset','createdAt','startsWith','creatorId','_bufferedUpdates','once','listenTo','requires','cloud-services-internal-error:\x20Request\x20timeout.','367685AgvOZs','off','14121oBpNNK','_handleReconnectionError','RevisionHistory','_isPendingUpdate','_isConnected','400','15880DhpibR','change:_isConnected','addUser','getRevision','CloudServicesRevisionHistoryAdapter','then','_offset','currentRevision','connection','reconnect','from','addToReconnectionStack','buildRevisionData','_revisionHistoryService','fromVersion','getMany','map','1161622JhVHfk','getOperations','adapter','5318005sYTyfj','collaboration.channelId','wrongRequestId','code','cloudServices.bundleVersion','get','getRevisions','has','length','message','1807914AokUol','2437892SNsiHE','type','destroy','editor','init','serverHistory','_revisionTracker','isOfficialPlugin','affectsData','authors','_waitForServiceReady','pluginName','_bufferUpdate','isEnabled','addRevisionData','sessionId','isPremiumPlugin','_revisionDataBuilder','change:_isPendingUpdate','plugins','state','_lastRequestId','updateRevisions','add','isEmptyCurrent','4164939yTnWdd','keys','_fixRevision','reInit'];_0x5551=function(){return _0x1d2355;};return _0x5551();}import{Users as _0x1382a2}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x58f7bf}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x5125b9}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x4d2843}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x16fb5c,RevisionHistoryService as _0x39dab2,User as _0x29b6a6,WEB_SOCKET_GATEWAY_STATES as _0x559934}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x35b850{static [_0x26303c(0x19b)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x39dab2)());[_0x26303c(0x172)];[_0x26303c(0x163)];[_0x26303c(0x14b)];[_0x26303c(0x1a0)];static get[_0x26303c(0x1a7)](){const _0x51e007=_0x26303c;return[_0x5125b9,_0x58f7bf,_0x51e007(0x1ad),_0x4d2843,_0x1382a2];}static get[_0x26303c(0x168)](){const _0x50b9e4=_0x26303c;return _0x50b9e4(0x1b5);}static get[_0x26303c(0x164)](){return!0x0;}static get[_0x26303c(0x16d)](){return!0x0;}constructor(_0x43413a){const _0x33e736=_0x26303c;super(_0x43413a);const _0x12542f=this[_0x33e736(0x160)][_0x33e736(0x194)][_0x33e736(0x157)](_0x33e736(0x153));this[_0x33e736(0x172)]=null,this[_0x33e736(0x163)]=this[_0x33e736(0x160)][_0x33e736(0x170)][_0x33e736(0x157)](_0x33e736(0x192)),this[_0x33e736(0x14b)]=new c[(_0x33e736(0x19b))](_0x12542f);}async[_0x26303c(0x161)](){const _0x5276d2=_0x26303c,_0x1a1eb8=this[_0x5276d2(0x160)][_0x5276d2(0x170)][_0x5276d2(0x157)](_0x58f7bf),_0x6476b2=_0x1a1eb8[_0x5276d2(0x162)],_0x23fbe0=this[_0x5276d2(0x160)][_0x5276d2(0x170)][_0x5276d2(0x157)](_0x5125b9);this[_0x5276d2(0x163)][_0x5276d2(0x19e)]({'history':_0x6476b2,'getLatestVersion':()=>this[_0x5276d2(0x196)](),'getCurrentRevisionId':()=>_0x1a1eb8[_0x5276d2(0x16c)]});const _0x55b37e=this[_0x5276d2(0x160)][_0x5276d2(0x194)][_0x5276d2(0x157)](_0x5276d2(0x156))||_0x172331,_0x65b874=await _0x16fb5c[_0x5276d2(0x183)](_0x23fbe0[_0x5276d2(0x1b9)],_0x55b37e);this[_0x5276d2(0x160)][_0x5276d2(0x170)][_0x5276d2(0x157)](_0x5276d2(0x1ad))[_0x5276d2(0x151)]={'getRevision':async({revisionId:_0x11eb50})=>(await this[_0x5276d2(0x167)](),await this[_0x5276d2(0x14b)][_0x5276d2(0x1b4)](_0x11eb50)),'updateRevisions':async _0x1751f4=>{const _0x256410=_0x5276d2;await this[_0x256410(0x167)]();const _0x4a2ca0=this[_0x256410(0x163)][_0x256410(0x1b8)];if(_0x65b874&&0x1===_0x1751f4[_0x256410(0x15a)]&&_0x1751f4[0x0]['id']===_0x4a2ca0['id'])return _0x1751f4;for(const _0x294fcf of _0x1751f4)_0x294fcf['id']===_0x4a2ca0['id']&&(_0x294fcf[_0x256410(0x175)]=_0x294fcf[_0x256410(0x14c)]===_0x294fcf[_0x256410(0x17e)]);return this[_0x256410(0x14b)][_0x256410(0x173)](_0x1751f4,this[_0x256410(0x172)])[_0x256410(0x1b6)](_0x413769=>(this[_0x256410(0x172)]=_0x413769,_0x1751f4))[_0x256410(0x186)](_0x2200bb=>{const _0x46fcf5=_0x256410;if(q(_0x2200bb)||_0x46fcf5(0x1b0)===_0x2200bb[_0x46fcf5(0x155)]&&void 0x0!==_0x2200bb[_0x46fcf5(0x18c)][_0x46fcf5(0x154)]){for(const _0x50ed25 of _0x1751f4){!this[_0x46fcf5(0x163)][_0x46fcf5(0x197)][_0x46fcf5(0x1b4)](_0x50ed25['id'])||this[_0x46fcf5(0x163)][_0x46fcf5(0x169)](_0x50ed25['id'],_0x50ed25,!0x1);}if(q(_0x2200bb))throw _0x2200bb;return _0x1751f4;}throw _0x2200bb;});}},this[_0x5276d2(0x1a6)](this[_0x5276d2(0x14b)],_0x5276d2(0x185),(_0x515229,{revisionsData:_0x40e22c,requestId:_0x3b2f34})=>{const _0xbc9554=_0x5276d2;Math[_0xbc9554(0x180)](..._0x40e22c[_0xbc9554(0x14e)](_0x5a6f01=>_0x5a6f01[_0xbc9554(0x17e)]))>this[_0xbc9554(0x17c)]()-0x1?this[_0xbc9554(0x196)]()[_0xbc9554(0x1b6)](()=>{const _0xa9847a=_0xbc9554;this[_0xa9847a(0x188)](_0x40e22c,_0x3b2f34);}):this[_0xbc9554(0x188)](_0x40e22c,_0x3b2f34);});const {revisions:_0x57809,requestId:_0x490940}=await this[_0x5276d2(0x14b)][_0x5276d2(0x19d)](_0x23fbe0[_0x5276d2(0x1b9)]);_0x23fbe0[_0x5276d2(0x1bc)](this),this[_0x5276d2(0x172)]=_0x490940,await this[_0x5276d2(0x17b)](_0x57809);for(const _0x1c3528 of _0x57809)this[_0x5276d2(0x163)][_0x5276d2(0x16b)](_0x1c3528);this[_0x5276d2(0x1a6)](_0x1a1eb8,_0x5276d2(0x1b2),(_0x3bcaa9,_0x23c4fc,_0x445dfe)=>{const _0xc9cc16=_0x5276d2;_0x445dfe&&(this[_0xc9cc16(0x1a0)]=_0x1a1eb8[_0xc9cc16(0x1b7)],_0x3bcaa9[_0xc9cc16(0x1aa)]());}),this[_0x5276d2(0x163)][_0x5276d2(0x198)](_0x5276d2(0x16a))['to'](_0x23fbe0,_0x5276d2(0x171),_0x5b9425=>_0x5b9425===_0x559934[_0x5276d2(0x184)]);}async[_0x26303c(0x1ba)](){const _0x501a3d=_0x26303c,_0x416f4c=this[_0x501a3d(0x160)][_0x501a3d(0x170)][_0x501a3d(0x157)](_0x5125b9),_0x1cc9ca=this[_0x501a3d(0x160)][_0x501a3d(0x170)][_0x501a3d(0x157)](_0x58f7bf),_0x301fa2=async()=>{const _0x23a482=_0x501a3d,_0x36b32d=this[_0x23a482(0x163)][_0x23a482(0x1b8)],_0x139cd0=_0x36b32d['id'],_0x2cb494=_0x139cd0!==_0x1cc9ca[_0x23a482(0x16c)];if(_0x2cb494){const _0x3e33fa=_0x1cc9ca[_0x23a482(0x1b7)]-this[_0x23a482(0x1a0)],_0x4131b9=this[_0x23a482(0x17c)]();this[_0x23a482(0x163)][_0x23a482(0x16e)][_0x23a482(0x179)]();if(_0x36b32d[_0x23a482(0x17e)]+_0x3e33fa!==_0x4131b9){const _0x51cea3=_0x36b32d[_0x23a482(0x14c)]+_0x3e33fa,_0x58d46c=this[_0x23a482(0x160)][_0x23a482(0x170)][_0x23a482(0x157)](_0x1382a2),_0x79a8=this[_0x23a482(0x163)][_0x23a482(0x1bd)]({'revision':_0x36b32d,'from':_0x51cea3,'to':_0x4131b9});_0x79a8['id']=_0x36b32d['id'];const _0x4bd2dc=_0x79a8[_0x23a482(0x190)][_0x23a482(0x14e)](_0x467023=>_0x58d46c[_0x23a482(0x193)](_0x467023));_0x36b32d[_0x23a482(0x19f)]({..._0x79a8,'authors':_0x4bd2dc},!0x0),this[_0x23a482(0x163)][_0x23a482(0x169)](_0x36b32d['id'],_0x79a8,!0x0);}this[_0x23a482(0x163)][_0x23a482(0x19a)]=_0x4131b9,(_0x36b32d[_0x23a482(0x17e)]===_0x36b32d[_0x23a482(0x14c)]&&!this[_0x23a482(0x163)][_0x23a482(0x1a4)][_0x23a482(0x159)](_0x139cd0)&&this[_0x23a482(0x163)][_0x23a482(0x197)][_0x23a482(0x18d)][_0x23a482(0x189)](_0x139cd0),this[_0x23a482(0x163)][_0x23a482(0x17d)](_0x4131b9));}const {revisions:_0x4228d6,requestId:_0x105ee6}=await this[_0x23a482(0x14b)][_0x23a482(0x1ba)](_0x416f4c[_0x23a482(0x1b9)],this[_0x23a482(0x172)]);_0x2cb494&&_0x4228d6[_0x23a482(0x15a)]>0x0?_0x1cc9ca[_0x23a482(0x1ac)]():(await this[_0x23a482(0x17b)](_0x4228d6),this[_0x23a482(0x188)](_0x4228d6,_0x105ee6),this[_0x23a482(0x163)][_0x23a482(0x187)]());};return _0x1cc9ca[_0x501a3d(0x1af)]?_0x301fa2():new Promise((_0x58f42d,_0x4c6a9c)=>{const _0x3720d8=_0x501a3d;_0x1cc9ca[_0x3720d8(0x1a5)](_0x3720d8(0x1b2),()=>{const _0x1b0c87=_0x3720d8;_0x301fa2()[_0x1b0c87(0x1b6)](_0x58f42d)[_0x1b0c87(0x186)](_0x4c6a9c);});});}[_0x26303c(0x15f)](){const _0x597225=_0x26303c;super[_0x597225(0x15f)]();}async[_0x26303c(0x167)](){const _0x5e768a=_0x26303c;this[_0x5e768a(0x14b)][_0x5e768a(0x181)]||await new Promise(_0xe27eac=>{const _0x4d3a49=_0x5e768a;this[_0x4d3a49(0x1a6)](this[_0x4d3a49(0x14b)],_0x4d3a49(0x191),_0x4509e9=>{const _0x3399a5=_0x4d3a49;_0x4509e9[_0x3399a5(0x1aa)](),_0xe27eac();});});}[_0x26303c(0x17c)](){const _0x5e2d4d=_0x26303c,_0x395a8f=this[_0x5e2d4d(0x160)][_0x5e2d4d(0x170)][_0x5e2d4d(0x157)](_0x58f7bf)[_0x5e2d4d(0x162)][_0x5e2d4d(0x150)]()[_0x5e2d4d(0x18a)]();for(const _0x522373 of _0x395a8f)if(_0x5e2d4d(0x18e)!==_0x522373[_0x5e2d4d(0x15e)]||_0x522373[_0x5e2d4d(0x165)])return _0x522373[_0x5e2d4d(0x195)]+0x1;}[_0x26303c(0x196)](){const _0x41846e=_0x26303c,_0x217ff3=this[_0x41846e(0x160)][_0x41846e(0x170)][_0x41846e(0x157)](_0x58f7bf);return new Promise(_0x34bb40=>{const _0x48129c=_0x41846e;_0x217ff3[_0x48129c(0x1ae)]?_0x217ff3[_0x48129c(0x1a5)](_0x48129c(0x16f),()=>{const _0x35607c=_0x48129c;_0x34bb40(this[_0x35607c(0x17c)]());}):_0x34bb40(this[_0x48129c(0x17c)]());});}[_0x26303c(0x188)](_0x474f3d,_0x5363dc){const _0x2f6c9f=_0x26303c,_0x883814=this[_0x2f6c9f(0x163)][_0x2f6c9f(0x197)];this[_0x2f6c9f(0x172)]=_0x5363dc;for(const _0x32175a of _0x474f3d){const _0x42d587=_0x883814[_0x2f6c9f(0x1b4)](_0x32175a['id']);if(_0x42d587){if((_0x32175a[_0x2f6c9f(0x14c)]||_0x32175a[_0x2f6c9f(0x17e)])&&(_0x32175a[_0x2f6c9f(0x18f)]=null),_0x42d587===this[_0x2f6c9f(0x163)][_0x2f6c9f(0x1b8)]){const _0x33b5ec=Math[_0x2f6c9f(0x180)](_0x42d587[_0x2f6c9f(0x17e)],_0x32175a[_0x2f6c9f(0x17e)]),_0x30d0ac=Math[_0x2f6c9f(0x180)](_0x42d587[_0x2f6c9f(0x14c)],_0x32175a[_0x2f6c9f(0x14c)]);let _0x380aa1;_0x42d587[_0x2f6c9f(0x17e)]===_0x32175a[_0x2f6c9f(0x17e)]&&_0x42d587[_0x2f6c9f(0x14c)]===_0x32175a[_0x2f6c9f(0x14c)]?(_0x380aa1=!0x0,this[_0x2f6c9f(0x199)](_0x32175a)):_0x32175a[_0x2f6c9f(0x17e)]===_0x33b5ec&&_0x32175a[_0x2f6c9f(0x14c)]===_0x30d0ac?_0x380aa1=!0x1:(_0x42d587[_0x2f6c9f(0x17e)]===_0x33b5ec&&_0x42d587[_0x2f6c9f(0x14c)]===_0x30d0ac||this[_0x2f6c9f(0x178)]({'revision':_0x42d587,'from':_0x30d0ac,'to':_0x33b5ec}),_0x380aa1=!0x0),_0x380aa1&&(delete _0x32175a[_0x2f6c9f(0x14c)],delete _0x32175a[_0x2f6c9f(0x17e)],delete _0x32175a[_0x2f6c9f(0x18f)],delete _0x32175a[_0x2f6c9f(0x1a1)],delete _0x32175a[_0x2f6c9f(0x190)]);}this[_0x2f6c9f(0x163)][_0x2f6c9f(0x19c)](_0x32175a),this[_0x2f6c9f(0x199)](_0x32175a);}else this[_0x2f6c9f(0x163)][_0x2f6c9f(0x16b)](_0x32175a);}const _0x48c7fc=_0x883814[_0x2f6c9f(0x158)]();_0x48c7fc[_0x2f6c9f(0x18a)]();for(let _0x48ed86=0x0;_0x48ed86<_0x48c7fc[_0x2f6c9f(0x15a)]-0x1;_0x48ed86++){const _0x4fd348=_0x48c7fc[_0x48ed86],_0x2e44cd=_0x48c7fc[_0x48ed86+0x1];if(_0x4fd348[_0x2f6c9f(0x14c)]<_0x2e44cd[_0x2f6c9f(0x17e)]){const _0x3d23f9=_0x2e44cd[_0x2f6c9f(0x17e)],_0x12d29c=Math[_0x2f6c9f(0x180)](_0x3d23f9,_0x4fd348[_0x2f6c9f(0x17e)]);this[_0x2f6c9f(0x178)]({'revision':_0x4fd348,'from':_0x3d23f9,'to':_0x12d29c});}}}[_0x26303c(0x178)]({revision:_0x3a1d1b,from:_0x53137b,to:_0x843d1}={}){const _0x3ab9ff=_0x26303c,_0x503cd2=this[_0x3ab9ff(0x160)][_0x3ab9ff(0x170)][_0x3ab9ff(0x157)](_0x1382a2),_0xeb360d=this[_0x3ab9ff(0x163)][_0x3ab9ff(0x1bd)]({'revision':_0x3a1d1b,'from':_0x53137b,'to':_0x843d1});_0xeb360d[_0x3ab9ff(0x166)]=_0xeb360d[_0x3ab9ff(0x190)][_0x3ab9ff(0x14e)](_0x13c207=>_0x503cd2[_0x3ab9ff(0x193)](_0x13c207)),_0x3a1d1b[_0x3ab9ff(0x19f)](_0xeb360d);}[_0x26303c(0x199)](_0x5cf656){const _0x4a2f4f=_0x26303c,_0x3af78a={};_0x3af78a['id']=_0x5cf656['id'];for(const _0x2a0e90 of Object[_0x4a2f4f(0x177)](_0x5cf656))'id'!==_0x2a0e90&&(_0x3af78a[_0x2a0e90]=void 0x0);this[_0x4a2f4f(0x163)][_0x4a2f4f(0x169)](_0x3af78a['id'],_0x3af78a,!0x0);}async[_0x26303c(0x17b)](_0x5c76db){const _0x416ec4=_0x26303c,_0x198f9c=this[_0x416ec4(0x160)][_0x416ec4(0x170)][_0x416ec4(0x157)](_0x1382a2),{connection:_0x129794}=this[_0x416ec4(0x160)][_0x416ec4(0x170)][_0x416ec4(0x157)](_0x5125b9),_0x1aacdd=new Set();for(const _0x1dccb6 of _0x5c76db){for(const _0x30da8b of _0x1dccb6[_0x416ec4(0x190)])_0x3cd498(_0x30da8b);_0x1dccb6[_0x416ec4(0x1a3)]&&_0x3cd498(_0x1dccb6[_0x416ec4(0x1a3)]);}if(0x0===_0x1aacdd[_0x416ec4(0x17a)])return;const _0x1d1653=await _0x29b6a6[_0x416ec4(0x14d)](_0x129794,Array[_0x416ec4(0x1bb)](_0x1aacdd));for(const _0x52c0d3 of _0x1d1653)_0x198f9c[_0x416ec4(0x193)](_0x52c0d3['id'])||_0x198f9c[_0x416ec4(0x1b3)](_0x52c0d3);function _0x3cd498(_0xd7a5c9){const _0x5a180d=_0x416ec4;_0x198f9c[_0x5a180d(0x193)](_0xd7a5c9)||_0x1aacdd[_0x5a180d(0x174)](_0xd7a5c9);}}}function _0x47d8(_0x4031cd,_0xdac22a){const _0x5551cb=_0x5551();return _0x47d8=function(_0x47d824,_0x4a1ef7){_0x47d824=_0x47d824-0x14b;let _0x111784=_0x5551cb[_0x47d824];return _0x111784;},_0x47d8(_0x4031cd,_0xdac22a);}export{c as CloudServicesRevisionHistoryAdapter};function q(_0x2be08a){const _0x7fea0=_0x26303c;return _0x2be08a[_0x7fea0(0x15b)][_0x7fea0(0x1a2)](_0x7fea0(0x182))||_0x2be08a[_0x7fea0(0x15b)][_0x7fea0(0x1a2)](_0x7fea0(0x18b))||_0x2be08a[_0x7fea0(0x15b)][_0x7fea0(0x1a2)](_0x7fea0(0x1a8));}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ddb6d=_0x57e4;(function(_0x2a7993,_0x38ae7c){const _0x30ba5c=_0x57e4,_0x1a0cba=_0x2a7993();while(!![]){try{const _0x1650b1=parseInt(_0x30ba5c(0x174))/0x1*(parseInt(_0x30ba5c(0x151))/0x2)+parseInt(_0x30ba5c(0x154))/0x3+parseInt(_0x30ba5c(0x14a))/0x4+-parseInt(_0x30ba5c(0x16f))/0x5*(parseInt(_0x30ba5c(0x14c))/0x6)+parseInt(_0x30ba5c(0x156))/0x7+-parseInt(_0x30ba5c(0x15e))/0x8+-parseInt(_0x30ba5c(0x15c))/0x9;if(_0x1650b1===_0x38ae7c)break;else _0x1a0cba['push'](_0x1a0cba['shift']());}catch(_0x5c85c4){_0x1a0cba['push'](_0x1a0cba['shift']());}}}(_0x3805,0x403e1));import{Plugin as _0x35e978}from'ckeditor5/src/core.js';import{User as _0x8f259,TrackChangesService as _0x154b18}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4480b6}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x297a81}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x57e4(_0x395175,_0x2e1b25){const _0x3805e2=_0x3805();return _0x57e4=function(_0x57e42e,_0x4d92a5){_0x57e42e=_0x57e42e-0x147;let _0x4eb9a8=_0x3805e2[_0x57e42e];return _0x4eb9a8;},_0x57e4(_0x395175,_0x2e1b25);}function _0x3805(){const _0x4c7b35=['then','connection','isOfficialPlugin','2203983JCfgOo','connected','1870816usKbyw','cloud-services-internal-error:\x20Request\x20timeout.','isConnected','reconnect','find','data','off','addToReconnectionStack','startsWith','getMany','_bufferedRequests','add','init','catch','_fetchMissingUsersForThreads','type','state','30oIyQzp','suggestionUpdated','_waitForServiceReady','requires','addSuggestionData','2037oUcUjV','get','size','delete','getUser','connect','config','TrackChangesService','values','adapter','plugins','open','set','from','pluginName','listenTo','CloudServicesTrackChangesAdapter','addUser','collaboration.channelId','editor','_saved','79064TPWjYf','hasSuggestion','59154zFILPA','update','isPremiumPlugin','originalSuggestionId','TrackChangesEditing','484YWmwFP','cloud-services-internal-error:\x20Not\x20connected.','message','790449wGIdln','_trackChangesService','173789TTkmUv','getSuggestion','attributes'];_0x3805=function(){return _0x4c7b35;};return _0x3805();}import{Users as _0x580186}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x35e978{static [_0x4ddb6d(0x17b)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x154b18)());[_0x4ddb6d(0x168)];[_0x4ddb6d(0x155)];static get[_0x4ddb6d(0x172)](){const _0x38faf5=_0x4ddb6d;return[_0x297a81,_0x38faf5(0x150),_0x4480b6];}static get[_0x4ddb6d(0x182)](){const _0x21b041=_0x4ddb6d;return _0x21b041(0x184);}static get[_0x4ddb6d(0x15b)](){return!0x0;}static get[_0x4ddb6d(0x14e)](){return!0x0;}constructor(_0x4de458){const _0x36a26d=_0x4ddb6d;super(_0x4de458);const _0x266f20=this[_0x36a26d(0x148)][_0x36a26d(0x17a)][_0x36a26d(0x175)](_0x36a26d(0x147));this[_0x36a26d(0x168)]=new Map(),this[_0x36a26d(0x155)]=new m[(_0x36a26d(0x17b))](_0x266f20);}[_0x4ddb6d(0x16a)](){const _0x49d101=_0x4ddb6d,_0x2593a1=this[_0x49d101(0x148)][_0x49d101(0x17e)][_0x49d101(0x175)](_0x4480b6),_0x253df0=this[_0x49d101(0x148)][_0x49d101(0x17e)][_0x49d101(0x175)](_0x49d101(0x150));return _0x253df0[_0x49d101(0x17d)]={'getSuggestion':async _0x172e93=>{const _0x4359d6=_0x49d101;await this[_0x4359d6(0x171)]();const _0x536e74=await this[_0x4359d6(0x155)][_0x4359d6(0x175)](_0x172e93)[_0x4359d6(0x16b)](Y);return await this[_0x4359d6(0x16c)]([_0x536e74]),_0x536e74;},'addSuggestion':async({id:_0x19d140,type:_0x4d8234,data:_0x5014bd,originalSuggestionId:_0x364fd1,attributes:_0x4d9fda})=>{const _0x51d450=_0x49d101;await this[_0x51d450(0x171)]();const _0x55625c={'id':_0x19d140,'type':_0x4d8234,'data':_0x5014bd,'originalSuggestionId':_0x364fd1,'attributes':_0x4d9fda},_0x3a185f=await this[_0x51d450(0x155)][_0x51d450(0x169)](_0x19d140,_0x4d8234,_0x5014bd,_0x364fd1,_0x4d9fda)[_0x51d450(0x16b)](_0x2e1fd1=>{if(Z(_0x2e1fd1))return new Promise(_0x2db64b=>{const _0x13b05f=_0x57e4;this[_0x13b05f(0x168)][_0x13b05f(0x180)](_0x19d140,{'resolve':_0x2db64b,'suggestionData':_0x55625c});});throw _0x2e1fd1;});return this[_0x51d450(0x168)][_0x51d450(0x177)](_0x19d140),_0x3a185f;},'updateSuggestion':async(_0x208de5,_0x3d5dd5)=>{const _0xd2c74f=_0x49d101;if(await this[_0xd2c74f(0x171)](),_0xd2c74f(0x17f)!==_0x3d5dd5[_0xd2c74f(0x16e)])return this[_0xd2c74f(0x155)][_0xd2c74f(0x14d)](_0x208de5,_0x3d5dd5)[_0xd2c74f(0x16b)](Y);}},this[_0x49d101(0x183)](this[_0x49d101(0x155)],_0x49d101(0x170),(_0x39e244,_0xcdda4d)=>{const _0x404361=_0x49d101;_0x253df0[_0x404361(0x14b)](_0xcdda4d['id'])&&(_0x253df0[_0x404361(0x157)](_0xcdda4d['id'])[_0x404361(0x158)]=_0xcdda4d[_0x404361(0x158)]);}),this[_0x49d101(0x155)][_0x49d101(0x179)](_0x2593a1[_0x49d101(0x15a)])[_0x49d101(0x159)](_0x25591d=>(_0x2593a1[_0x49d101(0x165)](this),this[_0x49d101(0x16c)](_0x25591d)[_0x49d101(0x159)](()=>{const _0x4caf0b=_0x49d101;for(const _0x5a9479 of _0x25591d){_0x253df0[_0x4caf0b(0x173)](_0x5a9479)[_0x4caf0b(0x149)]=!0x0;}})));}async[_0x4ddb6d(0x161)](){const _0x375d29=_0x4ddb6d,_0x306e88=this[_0x375d29(0x148)][_0x375d29(0x17e)][_0x375d29(0x175)](_0x375d29(0x150)),{connection:_0x8549be}=this[_0x375d29(0x148)][_0x375d29(0x17e)][_0x375d29(0x175)](_0x4480b6),_0x3eefee=await this[_0x375d29(0x155)][_0x375d29(0x179)](_0x8549be);await this[_0x375d29(0x16c)](_0x3eefee);for(const {suggestionData:_0x5f126c,resolve:_0x2a39fd}of this[_0x375d29(0x168)][_0x375d29(0x17c)]()){let _0x518279=_0x3eefee[_0x375d29(0x162)](_0x1efd73=>_0x1efd73['id']===_0x5f126c['id']);_0x518279||(_0x518279=await this[_0x375d29(0x155)][_0x375d29(0x169)](_0x5f126c['id'],_0x5f126c[_0x375d29(0x16d)],_0x5f126c[_0x375d29(0x163)],_0x5f126c[_0x375d29(0x14f)])),_0x2a39fd(_0x518279);}for(const _0x20d906 of _0x3eefee)_0x306e88[_0x375d29(0x14b)](_0x20d906['id'])||_0x306e88[_0x375d29(0x173)](_0x20d906);}async[_0x4ddb6d(0x171)](){const _0xf034ce=_0x4ddb6d;this[_0xf034ce(0x155)][_0xf034ce(0x160)]||await new Promise(_0x2570e9=>{const _0x4db3cc=_0xf034ce;this[_0x4db3cc(0x183)](this[_0x4db3cc(0x155)],_0x4db3cc(0x15d),_0x4c0264=>{const _0x96412d=_0x4db3cc;_0x4c0264[_0x96412d(0x164)](),_0x2570e9();});});}async[_0x4ddb6d(0x16c)](_0x20e288){const _0x315974=_0x4ddb6d,_0x1d78da=this[_0x315974(0x148)][_0x315974(0x17e)][_0x315974(0x175)](_0x580186),{connection:_0x440f09}=this[_0x315974(0x148)][_0x315974(0x17e)][_0x315974(0x175)](_0x4480b6),_0x420990=new Set();for(const {authorId:_0x2b4ae2}of _0x20e288)_0x1d78da[_0x315974(0x178)](_0x2b4ae2)||_0x420990[_0x315974(0x169)](_0x2b4ae2);if(0x0===_0x420990[_0x315974(0x176)])return;const _0x3cfd9f=await _0x8f259[_0x315974(0x167)](_0x440f09,Array[_0x315974(0x181)](_0x420990));for(const _0x4bc8a6 of _0x3cfd9f)_0x1d78da[_0x315974(0x178)](_0x4bc8a6['id'])||_0x1d78da[_0x315974(0x185)](_0x4bc8a6);}}export{m as CloudServicesTrackChangesAdapter};function Y(_0x5970ac){if(Z(_0x5970ac))return new Promise(()=>{});throw _0x5970ac;}function Z(_0x5bd9ab){const _0x790da3=_0x4ddb6d;return _0x5bd9ab[_0x790da3(0x153)][_0x790da3(0x166)](_0x790da3(0x152))||_0x5bd9ab[_0x790da3(0x153)][_0x790da3(0x166)](_0x790da3(0x15f));}
23
+ const _0xfe61dd=_0x5377;function _0xe5ed(){const _0x45ed7d=['8664HlKUrX','_bufferedRequests','catch','14KIwxIi','289371vBlmAn','isOfficialPlugin','originalSuggestionId','size','config','editor','isPremiumPlugin','12EHYoeb','7423fkYxrG','pluginName','CloudServicesTrackChangesAdapter','connected','from','addSuggestionData','then','30VXNTxm','getMany','addToReconnectionStack','connect','state','6wSzcWX','TrackChangesService','reconnect','find','_waitForServiceReady','requires','getUser','addUser','plugins','342175bRJejE','suggestionUpdated','init','_saved','connection','collaboration.channelId','cloud-services-internal-error:\x20Request\x20timeout.','1498MoqSmv','data','values','_trackChangesService','attributes','hasSuggestion','open','3055261voHwQq','getSuggestion','4nDOkdq','listenTo','type','off','adapter','add','cloud-services-internal-error:\x20Not\x20connected.','update','set','get','6125717ZNRgtx','_fetchMissingUsersForThreads','message','delete','isConnected','385209IFyIXq','20GVtNDf','TrackChangesEditing','startsWith'];_0xe5ed=function(){return _0x45ed7d;};return _0xe5ed();}(function(_0x2db035,_0x1bf7df){const _0x349356=_0x5377,_0x53ebc2=_0x2db035();while(!![]){try{const _0x4515f9=-parseInt(_0x349356(0x1ec))/0x1*(-parseInt(_0x349356(0x221))/0x2)+parseInt(_0x349356(0x1e4))/0x3*(parseInt(_0x349356(0x211))/0x4)+parseInt(_0x349356(0x201))/0x5*(-parseInt(_0x349356(0x1f8))/0x6)+-parseInt(_0x349356(0x208))/0x7*(parseInt(_0x349356(0x1e0))/0x8)+parseInt(_0x349356(0x220))/0x9*(parseInt(_0x349356(0x1f3))/0xa)+parseInt(_0x349356(0x20f))/0xb*(-parseInt(_0x349356(0x1eb))/0xc)+parseInt(_0x349356(0x21b))/0xd*(parseInt(_0x349356(0x1e3))/0xe);if(_0x4515f9===_0x1bf7df)break;else _0x53ebc2['push'](_0x53ebc2['shift']());}catch(_0x52631d){_0x53ebc2['push'](_0x53ebc2['shift']());}}}(_0xe5ed,0x2ef5f));import{Plugin as _0x35fda2}from'ckeditor5/src/core.js';import{User as _0x3dea37,TrackChangesService as _0x5efca1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x282535}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x1fc70f}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x5a0446}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x35fda2{static [_0xfe61dd(0x1f9)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5efca1)());[_0xfe61dd(0x1e1)];[_0xfe61dd(0x20b)];static get[_0xfe61dd(0x1fd)](){const _0x2c159f=_0xfe61dd;return[_0x1fc70f,_0x2c159f(0x222),_0x282535];}static get[_0xfe61dd(0x1ed)](){const _0x591809=_0xfe61dd;return _0x591809(0x1ee);}static get[_0xfe61dd(0x1e5)](){return!0x0;}static get[_0xfe61dd(0x1ea)](){return!0x0;}constructor(_0x2440e9){const _0x14853a=_0xfe61dd;super(_0x2440e9);const _0x23ec8a=this[_0x14853a(0x1e9)][_0x14853a(0x1e8)][_0x14853a(0x21a)](_0x14853a(0x206));this[_0x14853a(0x1e1)]=new Map(),this[_0x14853a(0x20b)]=new m[(_0x14853a(0x1f9))](_0x23ec8a);}[_0xfe61dd(0x203)](){const _0x3d7872=_0xfe61dd,_0x4a9252=this[_0x3d7872(0x1e9)][_0x3d7872(0x200)][_0x3d7872(0x21a)](_0x282535),_0x5f4f09=this[_0x3d7872(0x1e9)][_0x3d7872(0x200)][_0x3d7872(0x21a)](_0x3d7872(0x222));return _0x5f4f09[_0x3d7872(0x215)]={'getSuggestion':async _0x2ce2cc=>{const _0x4b546d=_0x3d7872;await this[_0x4b546d(0x1fc)]();const _0x572229=await this[_0x4b546d(0x20b)][_0x4b546d(0x21a)](_0x2ce2cc)[_0x4b546d(0x1e2)](k);return await this[_0x4b546d(0x21c)]([_0x572229]),_0x572229;},'addSuggestion':async({id:_0x5a6e76,type:_0x630ada,data:_0x5d9602,originalSuggestionId:_0x52e46a,attributes:_0x457e8d})=>{const _0x11fc31=_0x3d7872;await this[_0x11fc31(0x1fc)]();const _0x4c8c4f={'id':_0x5a6e76,'type':_0x630ada,'data':_0x5d9602,'originalSuggestionId':_0x52e46a,'attributes':_0x457e8d},_0x51cced=await this[_0x11fc31(0x20b)][_0x11fc31(0x216)](_0x5a6e76,_0x630ada,_0x5d9602,_0x52e46a,_0x457e8d)[_0x11fc31(0x1e2)](_0x588326=>{if(q(_0x588326))return new Promise(_0x116f73=>{const _0x5ad824=_0x5377;this[_0x5ad824(0x1e1)][_0x5ad824(0x219)](_0x5a6e76,{'resolve':_0x116f73,'suggestionData':_0x4c8c4f});});throw _0x588326;});return this[_0x11fc31(0x1e1)][_0x11fc31(0x21e)](_0x5a6e76),_0x51cced;},'updateSuggestion':async(_0x15fd81,_0x5490b5)=>{const _0xee24a0=_0x3d7872;if(await this[_0xee24a0(0x1fc)](),_0xee24a0(0x20e)!==_0x5490b5[_0xee24a0(0x1f7)])return this[_0xee24a0(0x20b)][_0xee24a0(0x218)](_0x15fd81,_0x5490b5)[_0xee24a0(0x1e2)](k);}},this[_0x3d7872(0x212)](this[_0x3d7872(0x20b)],_0x3d7872(0x202),(_0x181e3e,_0x27f161)=>{const _0x45e1a0=_0x3d7872;_0x5f4f09[_0x45e1a0(0x20d)](_0x27f161['id'])&&(_0x5f4f09[_0x45e1a0(0x210)](_0x27f161['id'])[_0x45e1a0(0x20c)]=_0x27f161[_0x45e1a0(0x20c)]);}),this[_0x3d7872(0x20b)][_0x3d7872(0x1f6)](_0x4a9252[_0x3d7872(0x205)])[_0x3d7872(0x1f2)](_0x214f59=>(_0x4a9252[_0x3d7872(0x1f5)](this),this[_0x3d7872(0x21c)](_0x214f59)[_0x3d7872(0x1f2)](()=>{const _0x59d9e5=_0x3d7872;for(const _0x1533b0 of _0x214f59){_0x5f4f09[_0x59d9e5(0x1f1)](_0x1533b0)[_0x59d9e5(0x204)]=!0x0;}})));}async[_0xfe61dd(0x1fa)](){const _0x2f1bd9=_0xfe61dd,_0x2b4e27=this[_0x2f1bd9(0x1e9)][_0x2f1bd9(0x200)][_0x2f1bd9(0x21a)](_0x2f1bd9(0x222)),{connection:_0x330de8}=this[_0x2f1bd9(0x1e9)][_0x2f1bd9(0x200)][_0x2f1bd9(0x21a)](_0x282535),_0x4a8e6d=await this[_0x2f1bd9(0x20b)][_0x2f1bd9(0x1f6)](_0x330de8);await this[_0x2f1bd9(0x21c)](_0x4a8e6d);for(const {suggestionData:_0x406f43,resolve:_0x1285a1}of this[_0x2f1bd9(0x1e1)][_0x2f1bd9(0x20a)]()){let _0x4347be=_0x4a8e6d[_0x2f1bd9(0x1fb)](_0xfd556a=>_0xfd556a['id']===_0x406f43['id']);_0x4347be||(_0x4347be=await this[_0x2f1bd9(0x20b)][_0x2f1bd9(0x216)](_0x406f43['id'],_0x406f43[_0x2f1bd9(0x213)],_0x406f43[_0x2f1bd9(0x209)],_0x406f43[_0x2f1bd9(0x1e6)])),_0x1285a1(_0x4347be);}for(const _0x402d50 of _0x4a8e6d)_0x2b4e27[_0x2f1bd9(0x20d)](_0x402d50['id'])||_0x2b4e27[_0x2f1bd9(0x1f1)](_0x402d50);}async[_0xfe61dd(0x1fc)](){const _0x5092bf=_0xfe61dd;this[_0x5092bf(0x20b)][_0x5092bf(0x21f)]||await new Promise(_0x3673ce=>{const _0x3334be=_0x5092bf;this[_0x3334be(0x212)](this[_0x3334be(0x20b)],_0x3334be(0x1ef),_0x41d22c=>{const _0x4ded2b=_0x3334be;_0x41d22c[_0x4ded2b(0x214)](),_0x3673ce();});});}async[_0xfe61dd(0x21c)](_0xbadd05){const _0x2c7a35=_0xfe61dd,_0x1b36fc=this[_0x2c7a35(0x1e9)][_0x2c7a35(0x200)][_0x2c7a35(0x21a)](_0x5a0446),{connection:_0x41ac65}=this[_0x2c7a35(0x1e9)][_0x2c7a35(0x200)][_0x2c7a35(0x21a)](_0x282535),_0x40021b=new Set();for(const {authorId:_0x3e98be}of _0xbadd05)_0x1b36fc[_0x2c7a35(0x1fe)](_0x3e98be)||_0x40021b[_0x2c7a35(0x216)](_0x3e98be);if(0x0===_0x40021b[_0x2c7a35(0x1e7)])return;const _0x5d69ec=await _0x3dea37[_0x2c7a35(0x1f4)](_0x41ac65,Array[_0x2c7a35(0x1f0)](_0x40021b));for(const _0x5f433c of _0x5d69ec)_0x1b36fc[_0x2c7a35(0x1fe)](_0x5f433c['id'])||_0x1b36fc[_0x2c7a35(0x1ff)](_0x5f433c);}}export{m as CloudServicesTrackChangesAdapter};function k(_0x3b9476){if(q(_0x3b9476))return new Promise(()=>{});throw _0x3b9476;}function _0x5377(_0x50e19f,_0x2f1d21){const _0xe5edc8=_0xe5ed();return _0x5377=function(_0x5377d5,_0x40a265){_0x5377d5=_0x5377d5-0x1e0;let _0x290062=_0xe5edc8[_0x5377d5];return _0x290062;},_0x5377(_0x50e19f,_0x2f1d21);}function q(_0x528c0c){const _0x50196d=_0xfe61dd;return _0x528c0c[_0x50196d(0x21d)][_0x50196d(0x223)](_0x50196d(0x217))||_0x528c0c[_0x50196d(0x21d)][_0x50196d(0x223)](_0x50196d(0x207));}