@ckeditor/ckeditor5-real-time-collaboration 46.0.1-alpha.12 → 46.0.1-alpha.14

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 _0x133eee=_0xa1f6;function _0x65a0(){const _0x49e2c3=['markers','stopListening','root','false','toRange','hasDomSelection','isSimilar','editing','listenTo','batch','105MyoJBi','addEventListener','split','applyOperation','pluginName','get','markerName','delete','getFirstRange','_createdBatches','createUIElement','textContent','data-session-id','model','user:range','fromRange','mapper','getSelectionClass','detach','reconvertMarker','add','highest','color','isDocumentOperation','setAttribute','user:range:','view','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','UserMarkers','contenteditable','getUserBySessionId','type','user:position:','ck-user__marker-tooltip','selection','Escape','checkChild','oldRange','2715570GVOMjk','_domEmitter','11036BiZDPa','getPositions','classList','parent','158792cnXENr','markerRange','removeMarker','rootName','keydown','undo','getCustomProperty','createRange','mySessionId','update:user:range','user:position','editor','size','ck-user__selection','nodeAfter','hasContent','markerNameToElements','$text','addMarker','deletionPosition','change:range','ck-user__marker\x20','isOfficialPlugin','requires','clear','userPositionMarker','getStart','tableCell','conversion','isInline','1619261IUjQFG','getContainedElement','end','init','removeClass','toDomElement','264200hkzGrv','2rIGJJU','for','outerHTML','isObject','getAttribute','323003wZUAvh','spellcheck','newRange','createElement','$graveyard','set','innerHTML','mouseenter','span','markerToHighlight','startsWith','getRange','207gPvDVF','document','afterInit','destroy','start','element','user:','schema','enqueueChange','remove','orderNumber','plugins','commands','name','getMarkerClass','isCollapsed','setCustomProperty','marker','markerToElement','mouseleave','isPremiumPlugin','render','ck-user__marker_hovered','change','createUserMarkerOperations','has','updateMarker','1035410QfOsRY','editingDowncast','getNearestSelectionRange','isLimit','77OiZvOe'];_0x65a0=function(){return _0x49e2c3;};return _0x65a0();}(function(_0x3fb70d,_0x48aad9){const _0x31b531=_0xa1f6,_0x2363d0=_0x3fb70d();while(!![]){try{const _0x96a060=-parseInt(_0x31b531(0x1fd))/0x1*(-parseInt(_0x31b531(0x1f8))/0x2)+-parseInt(_0x31b531(0x233))/0x3*(parseInt(_0x31b531(0x25b))/0x4)+parseInt(_0x31b531(0x1f7))/0x5+parseInt(_0x31b531(0x259))/0x6+-parseInt(_0x31b531(0x1f1))/0x7+-parseInt(_0x31b531(0x25f))/0x8*(-parseInt(_0x31b531(0x209))/0x9)+parseInt(_0x31b531(0x224))/0xa*(-parseInt(_0x31b531(0x228))/0xb);if(_0x96a060===_0x48aad9)break;else _0x2363d0['push'](_0x2363d0['shift']());}catch(_0x41e999){_0x2363d0['push'](_0x2363d0['shift']());}}}(_0x65a0,0x38b62));import{Plugin as _0x30e514}from'ckeditor5/src/core.js';import{global as _0x5d9852,DomEmitterMixin as _0xcbaa2}from'ckeditor5/src/utils.js';import{Sessions as _0x3e598c}from'./sessions.js';function _0xa1f6(_0x514409,_0x269ba5){const _0x65a032=_0x65a0();return _0xa1f6=function(_0xa1f6d2,_0x179312){_0xa1f6d2=_0xa1f6d2-0x1dc;let _0x48aa2f=_0x65a032[_0xa1f6d2];return _0x48aa2f;},_0xa1f6(_0x514409,_0x269ba5);}import{ModelLiveRange as _0x61cd86}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x30e514{[_0x133eee(0x25a)]=new(_0xcbaa2())();static get[_0x133eee(0x1ea)](){return[_0x3e598c];}static get[_0x133eee(0x237)](){const _0x3a2774=_0x133eee;return _0x3a2774(0x24f);}static get[_0x133eee(0x1e9)](){return!0x0;}static get[_0x133eee(0x21d)](){return!0x0;}[_0x133eee(0x1f4)](){const _0x44eb3b=_0x133eee,_0x157e0a=this[_0x44eb3b(0x1de)],_0x2f7bff=_0x157e0a[_0x44eb3b(0x214)][_0x44eb3b(0x238)](_0x3e598c);_0x157e0a[_0x44eb3b(0x1ef)][_0x44eb3b(0x1f9)](_0x44eb3b(0x225))[_0x44eb3b(0x21b)]({'model':_0x44eb3b(0x1dd),'view':(_0x85409d,{writer:_0x3f2082})=>function(_0x2d9d9a,_0x4f72d8,_0x4e8cc8,_0x282703){const _0x130156=_0x44eb3b,_0x58abc7=_0x2d9d9a[_0x130156(0x239)][_0x130156(0x235)](':')[0x2],_0x32e090=_0x4e8cc8[_0x130156(0x251)](_0x58abc7);if(!_0x32e090||_0x58abc7===_0x4e8cc8[_0x130156(0x267)])return;if(!_0x282703[_0x130156(0x240)][_0x130156(0x210)][_0x130156(0x257)](_0x2d9d9a[_0x130156(0x260)][_0x130156(0x20d)],_0x130156(0x1e4)))return;const _0x3d350a={'class':_0x130156(0x1e8)+_0x32e090[_0x130156(0x249)][_0x130156(0x217)](),'data-name':_0x32e090[_0x130156(0x216)],'data-session-id':_0x58abc7},_0x3f27e6=_0x282703[_0x130156(0x240)][_0x130156(0x229)][_0x130156(0x238)](_0x2d9d9a[_0x130156(0x239)]),_0xb29109=_0x3f27e6[_0x130156(0x1ed)](),_0x482ff9=_0xb29109[_0x130156(0x1e1)],_0x7e4029=_0x282703[_0x130156(0x240)][_0x130156(0x210)];if(_0x482ff9&&_0x7e4029[_0x130156(0x1fb)](_0x482ff9)&&_0x7e4029[_0x130156(0x1f0)](_0x482ff9)&&!_0x282703[_0x130156(0x240)][_0x130156(0x229)][_0x130156(0x238)](_0x130156(0x24c)+_0x58abc7)[_0x130156(0x208)]()[_0x130156(0x218)])return;const _0x4f4e6d=_0xb29109[_0x130156(0x25e)];return _0x282703[_0x130156(0x240)][_0x130156(0x210)][_0x130156(0x227)](_0x4f4e6d)&&!_0x282703[_0x130156(0x240)][_0x130156(0x1e2)](_0x4f4e6d)&&(_0x3d350a[_0x130156(0x250)]=!0x1),function(_0x45e44b,_0x300986,_0x28621a){const _0x2ec44f=_0x130156,_0x59fc14=_0x45e44b[_0x2ec44f(0x23d)](_0x2ec44f(0x205),_0x300986);return _0x45e44b[_0x2ec44f(0x219)](_0x2ec44f(0x1ec),!0x0,_0x59fc14),_0x59fc14[_0x2ec44f(0x21e)]=function(_0x5f46a4){const _0x1fd279=_0x2ec44f,_0x456933=this[_0x1fd279(0x1f6)](_0x5f46a4),_0x588599=document[_0x1fd279(0x200)](_0x1fd279(0x205));return _0x588599[_0x1fd279(0x25d)][_0x1fd279(0x247)](_0x1fd279(0x254)),_0x588599[_0x1fd279(0x24b)](_0x1fd279(0x250),_0x1fd279(0x22c)),_0x588599[_0x1fd279(0x24b)](_0x1fd279(0x1fe),_0x1fd279(0x22c)),_0x588599[_0x1fd279(0x23e)]=_0x28621a[_0x1fd279(0x216)],_0x456933[_0x1fd279(0x203)]=_0x1fd279(0x24e)+_0x588599[_0x1fd279(0x1fa)]+'⁠',_0x456933[_0x1fd279(0x234)](_0x1fd279(0x204),()=>{const _0x5ccc84=_0x1fd279;_0x456933[_0x5ccc84(0x25d)][_0x5ccc84(0x247)](_0x5ccc84(0x21f));}),_0x456933[_0x1fd279(0x234)](_0x1fd279(0x21c),()=>{const _0x52a84a=_0x1fd279;_0x456933[_0x52a84a(0x25d)][_0x52a84a(0x212)](_0x52a84a(0x21f));}),_0x456933;},_0x59fc14[_0x2ec44f(0x22f)]=function(_0x5798ab){const _0x37f6c9=_0x2ec44f;return!(!this[_0x37f6c9(0x265)](_0x37f6c9(0x1ec))||!_0x5798ab[_0x37f6c9(0x265)](_0x37f6c9(0x1ec))||this[_0x37f6c9(0x1fc)](_0x37f6c9(0x23f))!=_0x5798ab[_0x37f6c9(0x1fc)](_0x37f6c9(0x23f)));},_0x59fc14;}(_0x4f72d8,_0x3d350a,_0x32e090);}(_0x85409d,_0x3f2082,_0x2f7bff,_0x157e0a)}),_0x157e0a[_0x44eb3b(0x1ef)][_0x44eb3b(0x1f9)](_0x44eb3b(0x225))[_0x44eb3b(0x206)]({'model':_0x44eb3b(0x241),'view':_0x44b26a=>function(_0x28a625,_0x316b7a){const _0x18b1f6=_0x44eb3b,_0x188eb5=_0x28a625[_0x18b1f6(0x239)][_0x18b1f6(0x235)](':')[0x2];if(_0x188eb5===_0x316b7a[_0x18b1f6(0x267)])return null;const _0xea019e=_0x316b7a[_0x18b1f6(0x251)](_0x188eb5);if(!_0xea019e)return{'id':_0x188eb5,'classes':[]};return{'id':_0x188eb5,'classes':[_0x18b1f6(0x1e0),_0xea019e[_0x18b1f6(0x249)][_0x18b1f6(0x244)]()],'attributes':{'data-session-id':_0x188eb5},'priority':0x7d0+_0xea019e[_0x18b1f6(0x213)]};}(_0x44b26a,_0x2f7bff)}),function(_0x81e468){const _0x4596ee=_0x44eb3b,_0x391849=_0x81e468[_0x4596ee(0x240)],_0x1b8377=new Map(),_0x100297=_0x81e468[_0x4596ee(0x214)][_0x4596ee(0x238)](_0x3e598c);_0x391849[_0x4596ee(0x229)]['on'](_0x4596ee(0x1dc),(_0xa1d445,_0x58c18f,_0x169aba,_0x336f0d)=>{const _0x51aa6b=_0x4596ee;if(!_0x336f0d&&_0x1b8377[_0x51aa6b(0x238)](_0x58c18f[_0x51aa6b(0x216)]))return _0x1b8377[_0x51aa6b(0x238)](_0x58c18f[_0x51aa6b(0x216)])[_0x51aa6b(0x245)](),void _0x1b8377[_0x51aa6b(0x23a)](_0x58c18f[_0x51aa6b(0x216)]);const _0x2ad19b=_0x58c18f[_0x51aa6b(0x216)][_0x51aa6b(0x235)](':')[0x2];if(_0x2ad19b===_0x100297[_0x51aa6b(0x267)])return;const _0x4b6340=_0x51aa6b(0x253)+_0x2ad19b;_0x391849[_0x51aa6b(0x229)][_0x51aa6b(0x222)](_0x4b6340)&&_0x81e468[_0x51aa6b(0x230)][_0x51aa6b(0x246)](_0x4b6340),_0x58c18f['on'](_0x51aa6b(0x1e7),(_0x284950,_0x34d067,_0x381919)=>{const _0x54751b=_0x51aa6b;if(_0x54751b(0x201)!=_0x34d067[_0x54751b(0x22b)][_0x54751b(0x262)]&&_0x54751b(0x201)==_0x58c18f[_0x54751b(0x208)]()[_0x54751b(0x22b)][_0x54751b(0x262)]&&!_0x1b8377[_0x54751b(0x222)](_0x58c18f[_0x54751b(0x216)])){const _0x17fdec=_0x391849[_0x54751b(0x210)][_0x54751b(0x226)](_0x381919[_0x54751b(0x1e6)]);if(_0x17fdec){const _0xabc1f8=_0x61cd86[_0x54751b(0x242)](_0x17fdec);_0x1b8377[_0x54751b(0x202)](_0x58c18f[_0x54751b(0x216)],_0xabc1f8),_0xabc1f8['on'](_0x54751b(0x1e7),(_0x18054a,_0x31221f,_0x473f24)=>{const _0x4f8d12=_0x54751b;if(_0x4f8d12(0x201)==_0xabc1f8[_0x4f8d12(0x22b)][_0x4f8d12(0x262)]){const _0x5323d4=_0x391849[_0x4f8d12(0x210)][_0x4f8d12(0x226)](_0x473f24[_0x4f8d12(0x1e6)]);_0x5323d4?(_0xabc1f8[_0x4f8d12(0x20d)]=_0x5323d4[_0x4f8d12(0x20d)],_0xabc1f8[_0x4f8d12(0x1f3)]=_0x5323d4[_0x4f8d12(0x1f3)]):(_0x1b8377[_0x4f8d12(0x23a)](_0x58c18f[_0x4f8d12(0x216)]),_0xabc1f8[_0x4f8d12(0x245)]());}});}}});}),_0x391849[_0x4596ee(0x20a)]['on'](_0x4596ee(0x220),()=>{const _0x14a99a=_0x4596ee;_0x1b8377[_0x14a99a(0x1df)]>0x0&&_0x391849[_0x14a99a(0x211)]({'isUndoable':!0x1},_0x264245=>{const _0x253a4e=_0x14a99a;for(const [_0x563b45,_0x38c8d3]of _0x1b8377)_0x253a4e(0x201)==_0x391849[_0x253a4e(0x229)][_0x253a4e(0x238)](_0x563b45)[_0x253a4e(0x208)]()[_0x253a4e(0x22b)][_0x253a4e(0x262)]&&(te(_0x563b45[_0x253a4e(0x235)](':')[0x2],_0x38c8d3[_0x253a4e(0x22d)](),_0x391849,_0x264245),_0x38c8d3[_0x253a4e(0x245)]());_0x1b8377[_0x253a4e(0x1eb)]();});});}(_0x157e0a),this[_0x44eb3b(0x25a)][_0x44eb3b(0x231)](_0x5d9852[_0x44eb3b(0x20a)],_0x44eb3b(0x263),(_0xbe954b,{key:_0x1ed76c})=>{const _0x49caa4=_0x44eb3b;_0x49caa4(0x256)===_0x1ed76c&&function(_0x5dafae){const _0x32809c=_0x49caa4;_0x5dafae[_0x32809c(0x230)][_0x32809c(0x24d)][_0x32809c(0x220)](_0x1998fe=>{const _0x28f347=_0x32809c;for(const _0x4188e7 of _0x5dafae[_0x28f347(0x240)][_0x28f347(0x229)]){if(!_0x4188e7[_0x28f347(0x216)][_0x28f347(0x207)](_0x28f347(0x1dd)))continue;const _0x4ac0a3=_0x5dafae[_0x28f347(0x230)][_0x28f347(0x243)][_0x28f347(0x1e3)](_0x4188e7[_0x28f347(0x216)]);if(_0x4ac0a3){for(const _0x1d9399 of _0x4ac0a3)_0x1998fe[_0x28f347(0x1f5)](_0x28f347(0x21f),_0x1d9399);}}});}(_0x157e0a);},{'useCapture':!0x0});}[_0x133eee(0x20b)](){const _0x5eb2bc=_0x133eee,_0x8d0f8d=this[_0x5eb2bc(0x1de)],_0x47cf66=_0x8d0f8d[_0x5eb2bc(0x215)][_0x5eb2bc(0x238)](_0x5eb2bc(0x264));_0x47cf66&&_0x8d0f8d[_0x5eb2bc(0x240)]['on'](_0x5eb2bc(0x236),(_0x27700c,_0x2a0466)=>{const _0x556fdc=_0x5eb2bc,_0x413b47=_0x2a0466[0x0];if(!_0x413b47[_0x556fdc(0x24a)])return;if(_0x556fdc(0x21a)!=_0x413b47[_0x556fdc(0x252)]||!_0x413b47[_0x556fdc(0x216)][_0x556fdc(0x207)](_0x556fdc(0x20f)))return;const _0xb2a09b=_0x413b47[_0x556fdc(0x232)];_0x47cf66[_0x556fdc(0x23c)][_0x556fdc(0x222)](_0xb2a09b)&&(_0x413b47[_0x556fdc(0x1ff)]=_0x413b47[_0x556fdc(0x258)]?_0x8d0f8d[_0x556fdc(0x240)][_0x556fdc(0x266)](_0x413b47[_0x556fdc(0x258)][_0x556fdc(0x20d)],_0x413b47[_0x556fdc(0x258)][_0x556fdc(0x1f3)]):null);},{'priority':_0x5eb2bc(0x248)});}[_0x133eee(0x20c)](){const _0x4457e8=_0x133eee;return this[_0x4457e8(0x25a)][_0x4457e8(0x22a)](),super[_0x4457e8(0x20c)]();}[_0x133eee(0x221)](){const _0x3c9041=_0x133eee,_0x1b4a5e=this[_0x3c9041(0x1de)],_0x5e214a=_0x1b4a5e[_0x3c9041(0x240)][_0x3c9041(0x20a)],_0x973f25=_0x1b4a5e[_0x3c9041(0x214)][_0x3c9041(0x238)](_0x3e598c);_0x1b4a5e[_0x3c9041(0x240)][_0x3c9041(0x211)]({'isUndoable':!0x1},_0x423ada=>{const _0x47ad06=_0x3c9041,_0xe73b91=_0x47ad06(0x24c)+_0x973f25[_0x47ad06(0x267)],_0x1a396c=_0x47ad06(0x253)+_0x973f25[_0x47ad06(0x267)],_0x2b32ab=_0x1b4a5e[_0x47ad06(0x240)][_0x47ad06(0x229)][_0x47ad06(0x222)](_0xe73b91);_0x1b4a5e[_0x47ad06(0x230)][_0x47ad06(0x24d)][_0x47ad06(0x22e)]?te(_0x973f25[_0x47ad06(0x267)],_0x5e214a[_0x47ad06(0x255)][_0x47ad06(0x23b)](),_0x1b4a5e[_0x47ad06(0x240)],_0x423ada):_0x2b32ab&&(_0x423ada[_0x47ad06(0x261)](_0xe73b91),_0x423ada[_0x47ad06(0x261)](_0x1a396c));});}}function te(_0x2705d1,_0x5b362e,_0x384792,_0x328ecb){const _0x4085c5=_0x133eee,_0x4d1e4f=_0x4085c5(0x24c)+_0x2705d1,_0x5995dd=_0x4085c5(0x253)+_0x2705d1,_0x366ba4=_0x5b362e[_0x4085c5(0x1f2)]();let _0x7d4760=_0x5b362e[_0x4085c5(0x20d)];if(_0x366ba4&&_0x366ba4['is'](_0x4085c5(0x20e),_0x4085c5(0x1ee))){const _0x218f41=function(_0x569355,_0x181694){const _0x425f2e=_0x4085c5;for(const _0x466912 of _0x569355[_0x425f2e(0x25c)]())if(_0x181694[_0x425f2e(0x210)][_0x425f2e(0x257)](_0x466912,_0x425f2e(0x1e4)))return _0x466912;}(_0x5b362e,_0x384792);_0x218f41&&(_0x7d4760=_0x218f41,_0x5b362e=_0x328ecb[_0x4085c5(0x266)](_0x7d4760));}const _0x558f3b=_0x328ecb[_0x4085c5(0x266)](_0x7d4760);_0x384792[_0x4085c5(0x229)][_0x4085c5(0x222)](_0x4d1e4f)?(_0x328ecb[_0x4085c5(0x223)](_0x4d1e4f,{'range':_0x5b362e}),_0x328ecb[_0x4085c5(0x223)](_0x5995dd,{'range':_0x558f3b})):(_0x328ecb[_0x4085c5(0x1e5)](_0x4d1e4f,{'range':_0x5b362e,'usingOperation':!0x0}),_0x328ecb[_0x4085c5(0x1e5)](_0x5995dd,{'range':_0x558f3b,'usingOperation':!0x0}));}
23
+ const _0x40b7db=_0xa068;function _0xa068(_0x1ae903,_0x423953){const _0xdaa250=_0xdaa2();return _0xa068=function(_0xa068ca,_0x39a991){_0xa068ca=_0xa068ca-0x64;let _0x3e6738=_0xdaa250[_0xa068ca];return _0x3e6738;},_0xa068(_0x1ae903,_0x423953);}function _0xdaa2(){const _0xc186d8=['getNearestSelectionRange','user:range:','user:','createElement','rootName','getStart','undo','color','checkChild','schema','editing','clear','contenteditable','markerToHighlight','isSimilar','isInline','update:user:range','1270932EUZZfp','fromRange','hasDomSelection','listenTo','setAttribute','textContent','remove','mouseleave','isPremiumPlugin','markers','requires','oldRange','mySessionId','createUserMarkerOperations','userPositionMarker','render','_domEmitter','879260AVCVJk','delete','setCustomProperty','3976824iguDQL','getFirstRange','getContainedElement','⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','editingDowncast','5279TGpJeZ','ck-user__selection','mouseenter','orderNumber','spellcheck','document','set','init','innerHTML','isLimit','Escape','root','change','hasContent','startsWith','markerToElement','getMarkerClass','commands','1219841kBhWCM','outerHTML','createUIElement','65397ZkyUfK','user:position','parent','reconvertMarker','removeClass','tableCell','end','isCollapsed','ck-user__marker\x20','user:range','34cDFNXB','addEventListener','false','selection','conversion','removeMarker','name','markerRange','$graveyard','isDocumentOperation','updateMarker','toDomElement','split','applyOperation','_createdBatches','mapper','getRange','data-session-id','getUserBySessionId','classList','detach','addMarker','element','newRange','getAttribute','change:range','has','enqueueChange','128816WweiaN','getSelectionClass','markerNameToElements','toRange','$text','ck-user__marker-tooltip','for','editor','keydown','add','getCustomProperty','type','model','isOfficialPlugin','size','plugins','get','destroy','span','highest','user:position:','markerName','nodeAfter','deletionPosition','start','stopListening','ck-user__marker_hovered','batch','createRange','view','marker','pluginName','afterInit','isObject','UserMarkers','getPositions'];_0xdaa2=function(){return _0xc186d8;};return _0xdaa2();}(function(_0x225426,_0x40ad4d){const _0x2f5999=_0xa068,_0x5c9f79=_0x225426();while(!![]){try{const _0x5c7c1e=-parseInt(_0x2f5999(0x72))/0x1*(parseInt(_0x2f5999(0x91))/0x2)+-parseInt(_0x2f5999(0x87))/0x3+-parseInt(_0x2f5999(0xad))/0x4+parseInt(_0x2f5999(0x6a))/0x5+-parseInt(_0x2f5999(0xe2))/0x6+-parseInt(_0x2f5999(0x84))/0x7+parseInt(_0x2f5999(0x6d))/0x8;if(_0x5c7c1e===_0x40ad4d)break;else _0x5c9f79['push'](_0x5c9f79['shift']());}catch(_0x5760f3){_0x5c9f79['push'](_0x5c9f79['shift']());}}}(_0xdaa2,0x22f14));import{Plugin as _0x2e4364}from'ckeditor5/src/core.js';import{global as _0x6f07a2,DomEmitterMixin as _0xae053}from'ckeditor5/src/utils.js';import{Sessions as _0x484afa}from'./sessions.js';import{ModelLiveRange as _0x2a6ef8}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x2e4364{[_0x40b7db(0x69)]=new(_0xae053())();static get[_0x40b7db(0xec)](){return[_0x484afa];}static get[_0x40b7db(0xcc)](){const _0x5b7aef=_0x40b7db;return _0x5b7aef(0xcf);}static get[_0x40b7db(0xba)](){return!0x0;}static get[_0x40b7db(0xea)](){return!0x0;}[_0x40b7db(0x79)](){const _0x48717e=_0x40b7db,_0x12a980=this[_0x48717e(0xb4)],_0xa85550=_0x12a980[_0x48717e(0xbc)][_0x48717e(0xbd)](_0x484afa);_0x12a980[_0x48717e(0x95)][_0x48717e(0xb3)](_0x48717e(0x71))[_0x48717e(0x81)]({'model':_0x48717e(0x88),'view':(_0x5294ab,{writer:_0x5b1e7c})=>function(_0x2d4e4b,_0x400bf7,_0x1b9dfc,_0x43f269){const _0x519ef5=_0x48717e,_0x19cc42=_0x2d4e4b[_0x519ef5(0xc2)][_0x519ef5(0x9d)](':')[0x2],_0x524305=_0x1b9dfc[_0x519ef5(0xa3)](_0x19cc42);if(!_0x524305||_0x19cc42===_0x1b9dfc[_0x519ef5(0x65)])return;if(!_0x43f269[_0x519ef5(0xb9)][_0x519ef5(0xda)][_0x519ef5(0xd9)](_0x2d4e4b[_0x519ef5(0x98)][_0x519ef5(0xc5)],_0x519ef5(0xb1)))return;const _0x5a68db={'class':_0x519ef5(0x8f)+_0x524305[_0x519ef5(0xd8)][_0x519ef5(0x82)](),'data-name':_0x524305[_0x519ef5(0x97)],'data-session-id':_0x19cc42},_0x575316=_0x43f269[_0x519ef5(0xb9)][_0x519ef5(0xeb)][_0x519ef5(0xbd)](_0x2d4e4b[_0x519ef5(0xc2)]),_0x50260d=_0x575316[_0x519ef5(0xd6)](),_0x13c350=_0x50260d[_0x519ef5(0xc3)],_0x23dc1f=_0x43f269[_0x519ef5(0xb9)][_0x519ef5(0xda)];if(_0x13c350&&_0x23dc1f[_0x519ef5(0xce)](_0x13c350)&&_0x23dc1f[_0x519ef5(0xe0)](_0x13c350)&&!_0x43f269[_0x519ef5(0xb9)][_0x519ef5(0xeb)][_0x519ef5(0xbd)](_0x519ef5(0xd2)+_0x19cc42)[_0x519ef5(0xa1)]()[_0x519ef5(0x8e)])return;const _0x4a1ae1=_0x50260d[_0x519ef5(0x89)];return _0x43f269[_0x519ef5(0xb9)][_0x519ef5(0xda)][_0x519ef5(0x7b)](_0x4a1ae1)&&!_0x43f269[_0x519ef5(0xb9)][_0x519ef5(0x7f)](_0x4a1ae1)&&(_0x5a68db[_0x519ef5(0xdd)]=!0x1),function(_0x500f2e,_0x43ecc6,_0x41597d){const _0x34fc46=_0x519ef5,_0x34f377=_0x500f2e[_0x34fc46(0x86)](_0x34fc46(0xbf),_0x43ecc6);return _0x500f2e[_0x34fc46(0x6c)](_0x34fc46(0x67),!0x0,_0x34f377),_0x34f377[_0x34fc46(0x68)]=function(_0x580b57){const _0x272632=_0x34fc46,_0x10cd9c=this[_0x272632(0x9c)](_0x580b57),_0x44a5c0=document[_0x272632(0xd4)](_0x272632(0xbf));return _0x44a5c0[_0x272632(0xa4)][_0x272632(0xb6)](_0x272632(0xb2)),_0x44a5c0[_0x272632(0xe6)](_0x272632(0xdd),_0x272632(0x93)),_0x44a5c0[_0x272632(0xe6)](_0x272632(0x76),_0x272632(0x93)),_0x44a5c0[_0x272632(0xe7)]=_0x41597d[_0x272632(0x97)],_0x10cd9c[_0x272632(0x7a)]=_0x272632(0x70)+_0x44a5c0[_0x272632(0x85)]+'⁠',_0x10cd9c[_0x272632(0x92)](_0x272632(0x74),()=>{const _0x4b7271=_0x272632;_0x10cd9c[_0x4b7271(0xa4)][_0x4b7271(0xb6)](_0x4b7271(0xc7));}),_0x10cd9c[_0x272632(0x92)](_0x272632(0xe9),()=>{const _0x4cc27c=_0x272632;_0x10cd9c[_0x4cc27c(0xa4)][_0x4cc27c(0xe8)](_0x4cc27c(0xc7));}),_0x10cd9c;},_0x34f377[_0x34fc46(0xdf)]=function(_0x2862f6){const _0x37e763=_0x34fc46;return!(!this[_0x37e763(0xb7)](_0x37e763(0x67))||!_0x2862f6[_0x37e763(0xb7)](_0x37e763(0x67))||this[_0x37e763(0xa9)](_0x37e763(0xa2))!=_0x2862f6[_0x37e763(0xa9)](_0x37e763(0xa2)));},_0x34f377;}(_0x400bf7,_0x5a68db,_0x524305);}(_0x5294ab,_0x5b1e7c,_0xa85550,_0x12a980)}),_0x12a980[_0x48717e(0x95)][_0x48717e(0xb3)](_0x48717e(0x71))[_0x48717e(0xde)]({'model':_0x48717e(0x90),'view':_0x42554a=>function(_0xd7b5cf,_0x639a8c){const _0x32dd36=_0x48717e,_0x25ee51=_0xd7b5cf[_0x32dd36(0xc2)][_0x32dd36(0x9d)](':')[0x2];if(_0x25ee51===_0x639a8c[_0x32dd36(0x65)])return null;const _0x49f819=_0x639a8c[_0x32dd36(0xa3)](_0x25ee51);if(!_0x49f819)return{'id':_0x25ee51,'classes':[]};return{'id':_0x25ee51,'classes':[_0x32dd36(0x73),_0x49f819[_0x32dd36(0xd8)][_0x32dd36(0xae)]()],'attributes':{'data-session-id':_0x25ee51},'priority':0x7d0+_0x49f819[_0x32dd36(0x75)]};}(_0x42554a,_0xa85550)}),function(_0x4bd3d6){const _0x329f42=_0x48717e,_0x145240=_0x4bd3d6[_0x329f42(0xb9)],_0x89fcc9=new Map(),_0x550a52=_0x4bd3d6[_0x329f42(0xbc)][_0x329f42(0xbd)](_0x484afa);_0x145240[_0x329f42(0xeb)]['on'](_0x329f42(0xe1),(_0x595b5b,_0x897e54,_0x1ca83e,_0x3365d4)=>{const _0x5857dd=_0x329f42;if(!_0x3365d4&&_0x89fcc9[_0x5857dd(0xbd)](_0x897e54[_0x5857dd(0x97)]))return _0x89fcc9[_0x5857dd(0xbd)](_0x897e54[_0x5857dd(0x97)])[_0x5857dd(0xa5)](),void _0x89fcc9[_0x5857dd(0x6b)](_0x897e54[_0x5857dd(0x97)]);const _0x23e9de=_0x897e54[_0x5857dd(0x97)][_0x5857dd(0x9d)](':')[0x2];if(_0x23e9de===_0x550a52[_0x5857dd(0x65)])return;const _0x4bb983=_0x5857dd(0xc1)+_0x23e9de;_0x145240[_0x5857dd(0xeb)][_0x5857dd(0xab)](_0x4bb983)&&_0x4bd3d6[_0x5857dd(0xdb)][_0x5857dd(0x8a)](_0x4bb983),_0x897e54['on'](_0x5857dd(0xaa),(_0xaa2db1,_0x474c18,_0x585c53)=>{const _0x107d0f=_0x5857dd;if(_0x107d0f(0x99)!=_0x474c18[_0x107d0f(0x7d)][_0x107d0f(0xd5)]&&_0x107d0f(0x99)==_0x897e54[_0x107d0f(0xa1)]()[_0x107d0f(0x7d)][_0x107d0f(0xd5)]&&!_0x89fcc9[_0x107d0f(0xab)](_0x897e54[_0x107d0f(0x97)])){const _0x29afe9=_0x145240[_0x107d0f(0xda)][_0x107d0f(0xd1)](_0x585c53[_0x107d0f(0xc4)]);if(_0x29afe9){const _0x1a53f0=_0x2a6ef8[_0x107d0f(0xe3)](_0x29afe9);_0x89fcc9[_0x107d0f(0x78)](_0x897e54[_0x107d0f(0x97)],_0x1a53f0),_0x1a53f0['on'](_0x107d0f(0xaa),(_0x3df060,_0xaf3b5b,_0x57a6bd)=>{const _0x26c2e3=_0x107d0f;if(_0x26c2e3(0x99)==_0x1a53f0[_0x26c2e3(0x7d)][_0x26c2e3(0xd5)]){const _0x2aa806=_0x145240[_0x26c2e3(0xda)][_0x26c2e3(0xd1)](_0x57a6bd[_0x26c2e3(0xc4)]);_0x2aa806?(_0x1a53f0[_0x26c2e3(0xc5)]=_0x2aa806[_0x26c2e3(0xc5)],_0x1a53f0[_0x26c2e3(0x8d)]=_0x2aa806[_0x26c2e3(0x8d)]):(_0x89fcc9[_0x26c2e3(0x6b)](_0x897e54[_0x26c2e3(0x97)]),_0x1a53f0[_0x26c2e3(0xa5)]());}});}}});}),_0x145240[_0x329f42(0x77)]['on'](_0x329f42(0x7e),()=>{const _0x46697c=_0x329f42;_0x89fcc9[_0x46697c(0xbb)]>0x0&&_0x145240[_0x46697c(0xac)]({'isUndoable':!0x1},_0x276cca=>{const _0x15c2c0=_0x46697c;for(const [_0x2d9103,_0x42d1dc]of _0x89fcc9)_0x15c2c0(0x99)==_0x145240[_0x15c2c0(0xeb)][_0x15c2c0(0xbd)](_0x2d9103)[_0x15c2c0(0xa1)]()[_0x15c2c0(0x7d)][_0x15c2c0(0xd5)]&&(Y(_0x2d9103[_0x15c2c0(0x9d)](':')[0x2],_0x42d1dc[_0x15c2c0(0xb0)](),_0x145240,_0x276cca),_0x42d1dc[_0x15c2c0(0xa5)]());_0x89fcc9[_0x15c2c0(0xdc)]();});});}(_0x12a980),this[_0x48717e(0x69)][_0x48717e(0xe5)](_0x6f07a2[_0x48717e(0x77)],_0x48717e(0xb5),(_0x1bd726,{key:_0xdab9b3})=>{const _0x4b99fb=_0x48717e;_0x4b99fb(0x7c)===_0xdab9b3&&function(_0x5c4a47){const _0x7a0a8c=_0x4b99fb;_0x5c4a47[_0x7a0a8c(0xdb)][_0x7a0a8c(0xca)][_0x7a0a8c(0x7e)](_0x4169b3=>{const _0x585ee6=_0x7a0a8c;for(const _0x2442fe of _0x5c4a47[_0x585ee6(0xb9)][_0x585ee6(0xeb)]){if(!_0x2442fe[_0x585ee6(0x97)][_0x585ee6(0x80)](_0x585ee6(0x88)))continue;const _0x397463=_0x5c4a47[_0x585ee6(0xdb)][_0x585ee6(0xa0)][_0x585ee6(0xaf)](_0x2442fe[_0x585ee6(0x97)]);if(_0x397463){for(const _0x3b7092 of _0x397463)_0x4169b3[_0x585ee6(0x8b)](_0x585ee6(0xc7),_0x3b7092);}}});}(_0x12a980);},{'useCapture':!0x0});}[_0x40b7db(0xcd)](){const _0x573e80=_0x40b7db,_0x20718b=this[_0x573e80(0xb4)],_0x173e77=_0x20718b[_0x573e80(0x83)][_0x573e80(0xbd)](_0x573e80(0xd7));_0x173e77&&_0x20718b[_0x573e80(0xb9)]['on'](_0x573e80(0x9e),(_0x1e4a88,_0x43b948)=>{const _0x28331d=_0x573e80,_0x4ceefa=_0x43b948[0x0];if(!_0x4ceefa[_0x28331d(0x9a)])return;if(_0x28331d(0xcb)!=_0x4ceefa[_0x28331d(0xb8)]||!_0x4ceefa[_0x28331d(0x97)][_0x28331d(0x80)](_0x28331d(0xd3)))return;const _0x44b61c=_0x4ceefa[_0x28331d(0xc8)];_0x173e77[_0x28331d(0x9f)][_0x28331d(0xab)](_0x44b61c)&&(_0x4ceefa[_0x28331d(0xa8)]=_0x4ceefa[_0x28331d(0x64)]?_0x20718b[_0x28331d(0xb9)][_0x28331d(0xc9)](_0x4ceefa[_0x28331d(0x64)][_0x28331d(0xc5)],_0x4ceefa[_0x28331d(0x64)][_0x28331d(0x8d)]):null);},{'priority':_0x573e80(0xc0)});}[_0x40b7db(0xbe)](){const _0x38e4fc=_0x40b7db;return this[_0x38e4fc(0x69)][_0x38e4fc(0xc6)](),super[_0x38e4fc(0xbe)]();}[_0x40b7db(0x66)](){const _0xdcab6b=_0x40b7db,_0x126685=this[_0xdcab6b(0xb4)],_0x27fd71=_0x126685[_0xdcab6b(0xb9)][_0xdcab6b(0x77)],_0x1ef075=_0x126685[_0xdcab6b(0xbc)][_0xdcab6b(0xbd)](_0x484afa);_0x126685[_0xdcab6b(0xb9)][_0xdcab6b(0xac)]({'isUndoable':!0x1},_0x13c043=>{const _0x4875d5=_0xdcab6b,_0x202e72=_0x4875d5(0xd2)+_0x1ef075[_0x4875d5(0x65)],_0x5286b8=_0x4875d5(0xc1)+_0x1ef075[_0x4875d5(0x65)],_0x8644c4=_0x126685[_0x4875d5(0xb9)][_0x4875d5(0xeb)][_0x4875d5(0xab)](_0x202e72);_0x126685[_0x4875d5(0xdb)][_0x4875d5(0xca)][_0x4875d5(0xe4)]?Y(_0x1ef075[_0x4875d5(0x65)],_0x27fd71[_0x4875d5(0x94)][_0x4875d5(0x6e)](),_0x126685[_0x4875d5(0xb9)],_0x13c043):_0x8644c4&&(_0x13c043[_0x4875d5(0x96)](_0x202e72),_0x13c043[_0x4875d5(0x96)](_0x5286b8));});}}function Y(_0x362060,_0x1b320d,_0x394dc3,_0x37ab54){const _0x554cb2=_0x40b7db,_0x58bee8=_0x554cb2(0xd2)+_0x362060,_0x48eb9e=_0x554cb2(0xc1)+_0x362060,_0x4b00ef=_0x1b320d[_0x554cb2(0x6f)]();let _0x6225bd=_0x1b320d[_0x554cb2(0xc5)];if(_0x4b00ef&&_0x4b00ef['is'](_0x554cb2(0xa7),_0x554cb2(0x8c))){const _0x2475e5=function(_0x40ea80,_0x3f5a2c){const _0x12957a=_0x554cb2;for(const _0x50a9f6 of _0x40ea80[_0x12957a(0xd0)]())if(_0x3f5a2c[_0x12957a(0xda)][_0x12957a(0xd9)](_0x50a9f6,_0x12957a(0xb1)))return _0x50a9f6;}(_0x1b320d,_0x394dc3);_0x2475e5&&(_0x6225bd=_0x2475e5,_0x1b320d=_0x37ab54[_0x554cb2(0xc9)](_0x6225bd));}const _0x59e43c=_0x37ab54[_0x554cb2(0xc9)](_0x6225bd);_0x394dc3[_0x554cb2(0xeb)][_0x554cb2(0xab)](_0x58bee8)?(_0x37ab54[_0x554cb2(0x9b)](_0x58bee8,{'range':_0x1b320d}),_0x37ab54[_0x554cb2(0x9b)](_0x48eb9e,{'range':_0x59e43c})):(_0x37ab54[_0x554cb2(0xa6)](_0x58bee8,{'range':_0x1b320d,'usingOperation':!0x0}),_0x37ab54[_0x554cb2(0xa6)](_0x48eb9e,{'range':_0x59e43c,'usingOperation':!0x0}));}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c6490=_0x433c;(function(_0x5e3efd,_0x57f514){const _0x2a70e9=_0x433c,_0x5dd12c=_0x5e3efd();while(!![]){try{const _0x39ad32=-parseInt(_0x2a70e9(0x1ea))/0x1+-parseInt(_0x2a70e9(0x1f9))/0x2+parseInt(_0x2a70e9(0x202))/0x3+-parseInt(_0x2a70e9(0x1e9))/0x4*(-parseInt(_0x2a70e9(0x20a))/0x5)+-parseInt(_0x2a70e9(0x1fc))/0x6+parseInt(_0x2a70e9(0x213))/0x7+parseInt(_0x2a70e9(0x208))/0x8;if(_0x39ad32===_0x57f514)break;else _0x5dd12c['push'](_0x5dd12c['shift']());}catch(_0x651ce8){_0x5dd12c['push'](_0x5dd12c['shift']());}}}(_0x45fe,0xdf306));import{ContextPlugin as _0x581de9}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x4f0fac,CKEditorError as _0x30cd11}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2ee557,WEB_SOCKET_GATEWAY_STATES as _0x50dd54}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x433c(_0x1c4016,_0x3113ba){const _0x45fec3=_0x45fe();return _0x433c=function(_0x433c3f,_0x446d77){_0x433c3f=_0x433c3f-0x1cd;let _0x50d7dc=_0x45fec3[_0x433c3f];return _0x50d7dc;},_0x433c(_0x1c4016,_0x3113ba);}import{Notification as _0x4ad33d}from'ckeditor5/src/ui.js';class n extends _0x581de9{static [_0x2c6490(0x209)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2ee557)());static [_0x2c6490(0x1d5)]=0x3e8;[_0x2c6490(0x1e8)];[_0x2c6490(0x207)];[_0x2c6490(0x1df)];[_0x2c6490(0x1eb)];static get[_0x2c6490(0x212)](){const _0x1b2a00=_0x2c6490;return[_0x1b2a00(0x1f2),_0x4ad33d];}static get[_0x2c6490(0x1e1)](){const _0x2fee24=_0x2c6490;return _0x2fee24(0x209);}static get[_0x2c6490(0x1d4)](){return!0x0;}static get[_0x2c6490(0x1ef)](){return!0x0;}constructor(_0x5b60e4){const _0x4eeca1=_0x2c6490;super(_0x5b60e4),this[_0x4eeca1(0x1d6)](_0x4eeca1(0x1cf),_0x50dd54[_0x4eeca1(0x1e7)]),this[_0x4eeca1(0x1d6)](_0x4eeca1(0x1d9),!0x1),this[_0x4eeca1(0x207)]=new Set(),this[_0x4eeca1(0x1df)]=!0x1,this[_0x4eeca1(0x1eb)]=new(_0x4f0fac())();}[_0x2c6490(0x1da)](){const _0x53e959=_0x2c6490,_0x2e4338=this[_0x53e959(0x1f6)],_0x395530=_0x2e4338[_0x53e959(0x1dc)][_0x53e959(0x1d1)](_0x53e959(0x1f2)),_0x1cbe46=_0x2e4338[_0x53e959(0x1dc)][_0x53e959(0x1d1)](_0x4ad33d);if(!_0x395530[_0x53e959(0x1ee)])throw new _0x30cd11(_0x53e959(0x1e6),this);if(!_0x395530[_0x53e959(0x1ce)])throw new _0x30cd11(_0x53e959(0x1e5),this);return this[_0x53e959(0x1eb)][_0x53e959(0x211)](window,_0x53e959(0x1ff),()=>this[_0x53e959(0x1d9)]=!0x0),this[_0x53e959(0x1eb)][_0x53e959(0x211)](window,_0x53e959(0x1e4),()=>this[_0x53e959(0x1d9)]=!0x1),this[_0x53e959(0x1f6)][_0x53e959(0x201)][_0x53e959(0x1f8)](_0x53e959(0x1fe),0xa),this[_0x53e959(0x1f6)][_0x53e959(0x201)][_0x53e959(0x1f8)](_0x53e959(0x1fa),0x14),n[_0x53e959(0x209)][_0x53e959(0x203)](_0x395530[_0x53e959(0x1ee)],_0x395530[_0x53e959(0x1ce)],{'timeout':0x3e8*this[_0x53e959(0x1f6)][_0x53e959(0x201)][_0x53e959(0x1d1)](_0x53e959(0x1fe)),'requestTimeout':0x3e8*this[_0x53e959(0x1f6)][_0x53e959(0x201)][_0x53e959(0x1d1)](_0x53e959(0x1fa))})[_0x53e959(0x1f4)](_0x4fb2e2=>{const _0x52a4c5=_0x53e959;if(this[_0x52a4c5(0x1e8)]=_0x4fb2e2,this[_0x52a4c5(0x1f7)](_0x52a4c5(0x1cf))['to'](_0x4fb2e2,_0x52a4c5(0x1cf),this,_0x52a4c5(0x1d9),(_0x535210,_0x9d551c)=>(_0x52a4c5(0x1ed)!==_0x535210&&(this[_0x52a4c5(0x1df)]=!0x0),_0x9d551c||_0x535210!==_0x50dd54[_0x52a4c5(0x1e7)]?_0x50dd54[_0x52a4c5(0x1d7)]:this[_0x52a4c5(0x1cf)]==_0x50dd54[_0x52a4c5(0x1d7)]&&this[_0x52a4c5(0x1df)]?(this[_0x52a4c5(0x1df)]=!0x1,this[_0x52a4c5(0x1cd)](),_0x50dd54[_0x52a4c5(0x1f1)]):_0x50dd54[_0x52a4c5(0x1e7)])),this[_0x52a4c5(0x1e8)]['on'](_0x52a4c5(0x200),(_0x3528bb,_0x1680f2)=>{const _0x3c7a38=_0x52a4c5;if(_0x3c7a38(0x1de)!==_0x1680f2[_0x3c7a38(0x1e0)])throw console[_0x3c7a38(0x200)](_0x1680f2),new _0x30cd11(_0x3c7a38(0x1fb),null,{'originalError':_0x1680f2});_0x1cbe46[_0x3c7a38(0x210)](_0x3c7a38(0x1dd),{'title':_0x3c7a38(0x1fd),'namespace':_0x3c7a38(0x205)});}),!_0x4fb2e2['me'])return new Promise(_0x506b42=>_0x4fb2e2['on'](_0x52a4c5(0x20c),_0x506b42));})[_0x53e959(0x214)](_0x2d362e=>{const _0xf6644f=_0x53e959;throw console[_0xf6644f(0x200)](_0x2d362e),new _0x30cd11(_0xf6644f(0x1fb),null,{'originalError':_0x2d362e});});}[_0x2c6490(0x20b)](_0x3dd28d){const _0x28a34e=_0x2c6490;if(_0x28a34e(0x1e2)!=typeof _0x3dd28d[_0x28a34e(0x1f5)])throw new _0x30cd11(_0x28a34e(0x1d8),this);if(this[_0x28a34e(0x1d3)](_0x3dd28d))throw new _0x30cd11(_0x28a34e(0x1e3),this,{'name':_0x3dd28d[_0x28a34e(0x206)][_0x28a34e(0x1e1)]});this[_0x28a34e(0x207)][_0x28a34e(0x1d0)](_0x3dd28d);}[_0x2c6490(0x20e)](_0x28e178){const _0x4aa28f=_0x2c6490;this[_0x4aa28f(0x207)][_0x4aa28f(0x20f)](_0x28e178);}[_0x2c6490(0x1d3)](_0x5a9b71){const _0x161d6b=_0x2c6490;return this[_0x161d6b(0x207)][_0x161d6b(0x1f0)](_0x5a9b71);}[_0x2c6490(0x1cd)](){const _0x228c4d=_0x2c6490;return this[_0x228c4d(0x1e8)][_0x228c4d(0x1f5)]()[_0x228c4d(0x1f4)](()=>Promise[_0x228c4d(0x1f3)](Array[_0x228c4d(0x1ec)](this[_0x228c4d(0x207)],_0x5dc591=>_0x5dc591[_0x228c4d(0x1f5)]())))[_0x228c4d(0x1f4)](()=>this[_0x228c4d(0x1cf)]=_0x50dd54[_0x228c4d(0x1e7)])[_0x228c4d(0x214)](_0x215d1a=>{const _0x8c15d0=_0x228c4d;throw console[_0x8c15d0(0x200)](_0x215d1a),new _0x30cd11(_0x8c15d0(0x1db),this[_0x8c15d0(0x1f6)]);});}[_0x2c6490(0x20d)](){const _0x3b8e49=_0x2c6490;this[_0x3b8e49(0x1e8)]&&this[_0x3b8e49(0x1e8)][_0x3b8e49(0x20d)](),this[_0x3b8e49(0x1cf)]=_0x50dd54[_0x3b8e49(0x1d7)],this[_0x3b8e49(0x1eb)][_0x3b8e49(0x204)]();}[_0x2c6490(0x1d2)](){const _0x5f4d1e=_0x2c6490;this[_0x5f4d1e(0x20d)](),super[_0x5f4d1e(0x1d2)]();}}export{n as WebSocketGateway};function _0x45fe(){const _0x54af3e=['showWarning','listenTo','requires','10221512JSIbaI','catch','_reconnect','webSocketUrl','state','add','get','destroy','isInReconnectionStack','isOfficialPlugin','initialReconnectionInterval','set','DISCONNECTED','websocketgateway-invalid-plugin-interface','_isBrowserOffline','init','cloudservices-reconnection-error','plugins','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','limitExceeded','_shouldPluginsReconnect','code','pluginName','function','websocketgateway-plugin-already-registered','online','websocketgateway-missing-websocket-url','websocketgateway-missing-token','CONNECTED','connection','1599608rvTIDQ','1326449izGlCY','_domEmitter','from','connected','token','isPremiumPlugin','has','CONNECTING','CloudServices','all','then','reconnect','context','bind','define','2332342TTOGOh','cloudServices.requestTimeout','cloudservices-init','3576132jWsJbk','Connected\x20users\x20limit\x20exceeded','cloudServices.connectionTimeout','offline','error','config','2084658zcPvgO','connect','stopListening','real-time-collaboration','constructor','_reconnectionStack','1984912MsvnkK','WebSocketGateway','20rkjwvV','addToReconnectionStack','change:me','disconnect','removeFromReconnectionStack','delete'];_0x45fe=function(){return _0x54af3e;};return _0x45fe();}
23
+ const _0x3daf0d=_0x4321;(function(_0x34ae45,_0x147921){const _0x5cb21f=_0x4321,_0x2cf860=_0x34ae45();while(!![]){try{const _0x222136=parseInt(_0x5cb21f(0x1a7))/0x1*(parseInt(_0x5cb21f(0x19e))/0x2)+-parseInt(_0x5cb21f(0x194))/0x3*(parseInt(_0x5cb21f(0x18e))/0x4)+-parseInt(_0x5cb21f(0x183))/0x5+-parseInt(_0x5cb21f(0x199))/0x6+-parseInt(_0x5cb21f(0x18d))/0x7*(-parseInt(_0x5cb21f(0x17f))/0x8)+-parseInt(_0x5cb21f(0x181))/0x9+parseInt(_0x5cb21f(0x198))/0xa;if(_0x222136===_0x147921)break;else _0x2cf860['push'](_0x2cf860['shift']());}catch(_0x887b3){_0x2cf860['push'](_0x2cf860['shift']());}}}(_0x2e71,0x35c09));import{ContextPlugin as _0x2c9898}from'ckeditor5/src/core.js';function _0x2e71(){const _0x21a305=['websocketgateway-plugin-already-registered','isOfficialPlugin','websocketgateway-invalid-plugin-interface','then','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.','reconnect','offline','function','plugins','_isBrowserOffline','error','Connected\x20users\x20limit\x20exceeded','_domEmitter','catch','addToReconnectionStack','init','connected','cloudServices.connectionTimeout','all','define','cloudServices.requestTimeout','set','get','showWarning','CONNECTING','webSocketUrl','change:me','websocketgateway-missing-token','DISCONNECTED','requires','1128viMLsr','_reconnectionStack','3106890uHQIuc','from','936295aroRyE','isPremiumPlugin','WebSocketGateway','pluginName','online','add','destroy','cloudservices-reconnection-error','cloudservices-init','real-time-collaboration','1428AfealX','20whBMzk','connect','context','removeFromReconnectionStack','code','constructor','210405MPyLJu','listenTo','isInReconnectionStack','_reconnect','8147870GUrWnR','260166PklQnf','connection','CloudServices','disconnect','websocketgateway-missing-websocket-url','158iiwsqs','_shouldPluginsReconnect','CONNECTED','token','stopListening','limitExceeded','bind','delete','initialReconnectionInterval','3837MnxSzH','state','has','config'];_0x2e71=function(){return _0x21a305;};return _0x2e71();}import{DomEmitterMixin as _0x2b2c2a,CKEditorError as _0x5dea6a}from'ckeditor5/src/utils.js';function _0x4321(_0x506a06,_0x2baffc){const _0x2e7136=_0x2e71();return _0x4321=function(_0x432179,_0x336faf){_0x432179=_0x432179-0x164;let _0x3ff225=_0x2e7136[_0x432179];return _0x3ff225;},_0x4321(_0x506a06,_0x2baffc);}import{WebSocketGateway as _0x19cf5f,WEB_SOCKET_GATEWAY_STATES as _0x222469}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x3b0400}from'ckeditor5/src/ui.js';class n extends _0x2c9898{static [_0x3daf0d(0x185)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x19cf5f)());static [_0x3daf0d(0x1a6)]=0x3e8;[_0x3daf0d(0x19a)];[_0x3daf0d(0x180)];[_0x3daf0d(0x19f)];[_0x3daf0d(0x16d)];static get[_0x3daf0d(0x17e)](){const _0x4eeae9=_0x3daf0d;return[_0x4eeae9(0x19b),_0x3b0400];}static get[_0x3daf0d(0x186)](){const _0x2ae948=_0x3daf0d;return _0x2ae948(0x185);}static get[_0x3daf0d(0x1ac)](){return!0x0;}static get[_0x3daf0d(0x184)](){return!0x0;}constructor(_0x317fcb){const _0x47e99c=_0x3daf0d;super(_0x317fcb),this[_0x47e99c(0x176)](_0x47e99c(0x1a8),_0x222469[_0x47e99c(0x1a0)]),this[_0x47e99c(0x176)](_0x47e99c(0x16a),!0x1),this[_0x47e99c(0x180)]=new Set(),this[_0x47e99c(0x19f)]=!0x1,this[_0x47e99c(0x16d)]=new(_0x2b2c2a())();}[_0x3daf0d(0x170)](){const _0x4a5ccd=_0x3daf0d,_0x324097=this[_0x4a5ccd(0x190)],_0x59703d=_0x324097[_0x4a5ccd(0x169)][_0x4a5ccd(0x177)](_0x4a5ccd(0x19b)),_0x43a7e7=_0x324097[_0x4a5ccd(0x169)][_0x4a5ccd(0x177)](_0x3b0400);if(!_0x59703d[_0x4a5ccd(0x1a1)])throw new _0x5dea6a(_0x4a5ccd(0x17c),this);if(!_0x59703d[_0x4a5ccd(0x17a)])throw new _0x5dea6a(_0x4a5ccd(0x19d),this);return this[_0x4a5ccd(0x16d)][_0x4a5ccd(0x195)](window,_0x4a5ccd(0x167),()=>this[_0x4a5ccd(0x16a)]=!0x0),this[_0x4a5ccd(0x16d)][_0x4a5ccd(0x195)](window,_0x4a5ccd(0x187),()=>this[_0x4a5ccd(0x16a)]=!0x1),this[_0x4a5ccd(0x190)][_0x4a5ccd(0x1aa)][_0x4a5ccd(0x174)](_0x4a5ccd(0x172),0xa),this[_0x4a5ccd(0x190)][_0x4a5ccd(0x1aa)][_0x4a5ccd(0x174)](_0x4a5ccd(0x175),0x14),n[_0x4a5ccd(0x185)][_0x4a5ccd(0x18f)](_0x59703d[_0x4a5ccd(0x1a1)],_0x59703d[_0x4a5ccd(0x17a)],{'timeout':0x3e8*this[_0x4a5ccd(0x190)][_0x4a5ccd(0x1aa)][_0x4a5ccd(0x177)](_0x4a5ccd(0x172)),'requestTimeout':0x3e8*this[_0x4a5ccd(0x190)][_0x4a5ccd(0x1aa)][_0x4a5ccd(0x177)](_0x4a5ccd(0x175))})[_0x4a5ccd(0x164)](_0x3851f6=>{const _0x3eef5c=_0x4a5ccd;if(this[_0x3eef5c(0x19a)]=_0x3851f6,this[_0x3eef5c(0x1a4)](_0x3eef5c(0x1a8))['to'](_0x3851f6,_0x3eef5c(0x1a8),this,_0x3eef5c(0x16a),(_0x56741f,_0xdb4803)=>(_0x3eef5c(0x171)!==_0x56741f&&(this[_0x3eef5c(0x19f)]=!0x0),_0xdb4803||_0x56741f!==_0x222469[_0x3eef5c(0x1a0)]?_0x222469[_0x3eef5c(0x17d)]:this[_0x3eef5c(0x1a8)]==_0x222469[_0x3eef5c(0x17d)]&&this[_0x3eef5c(0x19f)]?(this[_0x3eef5c(0x19f)]=!0x1,this[_0x3eef5c(0x197)](),_0x222469[_0x3eef5c(0x179)]):_0x222469[_0x3eef5c(0x1a0)])),this[_0x3eef5c(0x19a)]['on'](_0x3eef5c(0x16b),(_0x407fe0,_0x7070e)=>{const _0xf2d711=_0x3eef5c;if(_0xf2d711(0x1a3)!==_0x7070e[_0xf2d711(0x192)])throw console[_0xf2d711(0x16b)](_0x7070e),new _0x5dea6a(_0xf2d711(0x18b),null,{'originalError':_0x7070e});_0x43a7e7[_0xf2d711(0x178)](_0xf2d711(0x165),{'title':_0xf2d711(0x16c),'namespace':_0xf2d711(0x18c)});}),!_0x3851f6['me'])return new Promise(_0x235e0f=>_0x3851f6['on'](_0x3eef5c(0x17b),_0x235e0f));})[_0x4a5ccd(0x16e)](_0x554f1e=>{const _0x41bd47=_0x4a5ccd;throw console[_0x41bd47(0x16b)](_0x554f1e),new _0x5dea6a(_0x41bd47(0x18b),null,{'originalError':_0x554f1e});});}[_0x3daf0d(0x16f)](_0x15043d){const _0x557228=_0x3daf0d;if(_0x557228(0x168)!=typeof _0x15043d[_0x557228(0x166)])throw new _0x5dea6a(_0x557228(0x1ad),this);if(this[_0x557228(0x196)](_0x15043d))throw new _0x5dea6a(_0x557228(0x1ab),this,{'name':_0x15043d[_0x557228(0x193)][_0x557228(0x186)]});this[_0x557228(0x180)][_0x557228(0x188)](_0x15043d);}[_0x3daf0d(0x191)](_0x1cf7e4){const _0x51e301=_0x3daf0d;this[_0x51e301(0x180)][_0x51e301(0x1a5)](_0x1cf7e4);}[_0x3daf0d(0x196)](_0x543f44){const _0xe87487=_0x3daf0d;return this[_0xe87487(0x180)][_0xe87487(0x1a9)](_0x543f44);}[_0x3daf0d(0x197)](){const _0x4e0a1e=_0x3daf0d;return this[_0x4e0a1e(0x19a)][_0x4e0a1e(0x166)]()[_0x4e0a1e(0x164)](()=>Promise[_0x4e0a1e(0x173)](Array[_0x4e0a1e(0x182)](this[_0x4e0a1e(0x180)],_0x158aae=>_0x158aae[_0x4e0a1e(0x166)]())))[_0x4e0a1e(0x164)](()=>this[_0x4e0a1e(0x1a8)]=_0x222469[_0x4e0a1e(0x1a0)])[_0x4e0a1e(0x16e)](_0x55629f=>{const _0x47fcc7=_0x4e0a1e;throw console[_0x47fcc7(0x16b)](_0x55629f),new _0x5dea6a(_0x47fcc7(0x18a),this[_0x47fcc7(0x190)]);});}[_0x3daf0d(0x19c)](){const _0x46e581=_0x3daf0d;this[_0x46e581(0x19a)]&&this[_0x46e581(0x19a)][_0x46e581(0x19c)](),this[_0x46e581(0x1a8)]=_0x222469[_0x46e581(0x17d)],this[_0x46e581(0x16d)][_0x46e581(0x1a2)]();}[_0x3daf0d(0x189)](){const _0x55fa4c=_0x3daf0d;this[_0x55fa4c(0x19c)](),super[_0x55fa4c(0x189)]();}}export{n as WebSocketGateway};
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2c83(){const _0x18833d=['RevisionHistory','buildRevisionData','sessionId','179464yIxbez','_handleRevisionsUpdate','_revisionTracker','_waitForServiceReady','2178hHhRJj','_revisionDataBuilder','2916441HcDtrC','isConnected','toVersion','fromVersion','isPremiumPlugin','_getLatestVersionFromServerOperations','cloud-services-internal-error:\x20Request\x20timeout.','sendBufferedUpdates','cloudServices.bundleVersion','authorsIds','_oldOffset','requires','baseVersion','addRevisionData','4HgbGIv','getMany','isEnabled','addToReconnectionStack','updateRevisions','size','then','plugins','adapter','isOfficialPlugin','_bufferedUpdates','248eaPdHJ','97505HGPRQM','getUser','collaboration.channelId','startsWith','_bufferUpdate','serverHistory','addUser','map','setSource','1570vwrZIm','getRevisions','reverse','type','off','code','listenTo','message','data','creatorId','revisionsUpdated','CONNECTED','_startingVersion','currentRevision','_isPendingUpdate','connected','isBundleUploaded','pluginName','add','connect','change:_isPendingUpdate','reInit','getRevision','has','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','isEmptyCurrent','RevisionTracker','_lastRequestId','max','connection','length','_isConnected','400','state','once','622153sKJdLB','marker','remove','_revisions','get','RevisionHistoryService','262479NSYsJr','cloud-services-internal-error:\x20Not\x20connected.','repository','_createCurrentRevision','affectsData','_fixRevision','_preventResendingRevisionData','from','_fetchMissingUsers','bind','keys','_handleReconnectionError','6LHDbDs','CloudServicesRevisionHistoryAdapter','1187WUevBE','_getLatestVersion','editor','catch','getOperations','_revisionHistoryService','reconnect','createdAt','diffData','setRevisionData','wrongRequestId','change:_isConnected','authors','init','config','_update','_offset','destroy'];_0x2c83=function(){return _0x18833d;};return _0x2c83();}const _0x4abd1f=_0x2e4a;(function(_0x5b648d,_0x885c83){const _0x2cb284=_0x2e4a,_0x64f4be=_0x5b648d();while(!![]){try{const _0x1b0fcc=-parseInt(_0x2cb284(0x104))/0x1*(parseInt(_0x2cb284(0xc3))/0x2)+-parseInt(_0x2cb284(0xf6))/0x3+parseInt(_0x2cb284(0x12d))/0x4*(-parseInt(_0x2cb284(0xc4))/0x5)+parseInt(_0x2cb284(0x102))/0x6*(parseInt(_0x2cb284(0xf0))/0x7)+-parseInt(_0x2cb284(0x119))/0x8+-parseInt(_0x2cb284(0x11d))/0x9*(-parseInt(_0x2cb284(0xcd))/0xa)+parseInt(_0x2cb284(0x11f))/0xb;if(_0x1b0fcc===_0x885c83)break;else _0x64f4be['push'](_0x64f4be['shift']());}catch(_0x5d5936){_0x64f4be['push'](_0x64f4be['shift']());}}}(_0x2c83,0x1c2bd));import{Plugin as _0x1d324d}from'ckeditor5/src/core.js';import{version as _0x167f7c}from'ckeditor5/src/utils.js';import{Users as _0x2349c6}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x404827}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x4f19b7}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x339ae0}from'../realtimecollaborativeediting/sessions.js';function _0x2e4a(_0x40ec5f,_0x209438){const _0x2c8359=_0x2c83();return _0x2e4a=function(_0x2e4aba,_0x5039ba){_0x2e4aba=_0x2e4aba-0xbd;let _0x488bb0=_0x2c8359[_0x2e4aba];return _0x488bb0;},_0x2e4a(_0x40ec5f,_0x209438);}import{EditorService as _0x330022,RevisionHistoryService as _0x528cc6,User as _0x23ced7,WEB_SOCKET_GATEWAY_STATES as _0x3ea0c0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x1d324d{static [_0x4abd1f(0xf5)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x528cc6)());[_0x4abd1f(0xe8)];[_0x4abd1f(0x11b)];[_0x4abd1f(0x109)];[_0x4abd1f(0x129)];static get[_0x4abd1f(0x12a)](){const _0x5389b3=_0x4abd1f;return[_0x4f19b7,_0x404827,_0x5389b3(0x116),_0x339ae0,_0x2349c6];}static get[_0x4abd1f(0xde)](){const _0x5bda80=_0x4abd1f;return _0x5bda80(0x103);}static get[_0x4abd1f(0xc1)](){return!0x0;}static get[_0x4abd1f(0x123)](){return!0x0;}constructor(_0x31ca84){const _0x4c3b1f=_0x4abd1f;super(_0x31ca84);const _0x125c07=this[_0x4c3b1f(0x106)][_0x4c3b1f(0x112)][_0x4c3b1f(0xf4)](_0x4c3b1f(0xc6));this[_0x4c3b1f(0xe8)]=null,this[_0x4c3b1f(0x11b)]=this[_0x4c3b1f(0x106)][_0x4c3b1f(0xbf)][_0x4c3b1f(0xf4)](_0x4c3b1f(0xe7)),this[_0x4c3b1f(0x109)]=new c[(_0x4c3b1f(0xf5))](_0x125c07);}async[_0x4abd1f(0x111)](){const _0x3c56a1=_0x4abd1f,_0xc304a4=this[_0x3c56a1(0x106)][_0x3c56a1(0xbf)][_0x3c56a1(0xf4)](_0x404827),_0x48bc9f=_0xc304a4[_0x3c56a1(0xc9)],_0x1e6229=this[_0x3c56a1(0x106)][_0x3c56a1(0xbf)][_0x3c56a1(0xf4)](_0x4f19b7);this[_0x3c56a1(0x11b)][_0x3c56a1(0xcc)]({'history':_0x48bc9f,'getLatestVersion':()=>this[_0x3c56a1(0x105)](),'getCurrentRevisionId':()=>_0xc304a4[_0x3c56a1(0x118)]});const _0x9fc0c2=this[_0x3c56a1(0x106)][_0x3c56a1(0x112)][_0x3c56a1(0xf4)](_0x3c56a1(0x127))||_0x167f7c,_0x124750=await _0x330022[_0x3c56a1(0xdd)](_0x1e6229[_0x3c56a1(0xea)],_0x9fc0c2);this[_0x3c56a1(0x106)][_0x3c56a1(0xbf)][_0x3c56a1(0xf4)](_0x3c56a1(0x116))[_0x3c56a1(0xc0)]={'getRevision':async({revisionId:_0xa6105b})=>(await this[_0x3c56a1(0x11c)](),await this[_0x3c56a1(0x109)][_0x3c56a1(0xe3)](_0xa6105b)),'updateRevisions':async _0x1b3ecc=>{const _0x152258=_0x3c56a1;await this[_0x152258(0x11c)]();const _0x11e618=this[_0x152258(0x11b)][_0x152258(0xda)];if(_0x124750&&0x1===_0x1b3ecc[_0x152258(0xeb)]&&_0x1b3ecc[0x0]['id']===_0x11e618['id'])return _0x1b3ecc;for(const _0x523e54 of _0x1b3ecc)_0x523e54['id']===_0x11e618['id']&&(_0x523e54[_0x152258(0xe6)]=_0x523e54[_0x152258(0x122)]===_0x523e54[_0x152258(0x121)]);return this[_0x152258(0x109)][_0x152258(0x131)](_0x1b3ecc,this[_0x152258(0xe8)])[_0x152258(0xbe)](_0x370b17=>(this[_0x152258(0xe8)]=_0x370b17,_0x1b3ecc))[_0x152258(0x107)](_0x119229=>{const _0x2fda12=_0x152258;if(q(_0x119229)||_0x2fda12(0xed)===_0x119229[_0x2fda12(0xd2)]&&void 0x0!==_0x119229[_0x2fda12(0xd5)][_0x2fda12(0x10e)]){for(const _0x3bf608 of _0x1b3ecc){!this[_0x2fda12(0x11b)][_0x2fda12(0xf8)][_0x2fda12(0xe3)](_0x3bf608['id'])||this[_0x2fda12(0x11b)][_0x2fda12(0xc8)](_0x3bf608['id'],_0x3bf608,!0x1);}if(q(_0x119229))throw _0x119229;return _0x1b3ecc;}throw _0x119229;});}},this[_0x3c56a1(0xd3)](this[_0x3c56a1(0x109)],_0x3c56a1(0xd7),(_0x2f7d8f,{revisionsData:_0x553775,requestId:_0x3dc326})=>{const _0x58c27c=_0x3c56a1;Math[_0x58c27c(0xe9)](..._0x553775[_0x58c27c(0xcb)](_0x17c3a7=>_0x17c3a7[_0x58c27c(0x121)]))>this[_0x58c27c(0x124)]()-0x1?this[_0x58c27c(0x105)]()[_0x58c27c(0xbe)](()=>{const _0x51c9a2=_0x58c27c;this[_0x51c9a2(0x11a)](_0x553775,_0x3dc326);}):this[_0x58c27c(0x11a)](_0x553775,_0x3dc326);});const {revisions:_0x20f2a6,requestId:_0x2aaa23}=await this[_0x3c56a1(0x109)][_0x3c56a1(0xe0)](_0x1e6229[_0x3c56a1(0xea)]);_0x1e6229[_0x3c56a1(0x130)](this),this[_0x3c56a1(0xe8)]=_0x2aaa23,await this[_0x3c56a1(0xfe)](_0x20f2a6);for(const _0x178280 of _0x20f2a6)this[_0x3c56a1(0x11b)][_0x3c56a1(0x12c)](_0x178280);this[_0x3c56a1(0xd3)](_0xc304a4,_0x3c56a1(0x10f),(_0xd771d3,_0x529969,_0x12be9d)=>{const _0x4ce3d9=_0x3c56a1;_0x12be9d&&(this[_0x4ce3d9(0x129)]=_0xc304a4[_0x4ce3d9(0x114)],_0xd771d3[_0x4ce3d9(0xd1)]());}),this[_0x3c56a1(0x11b)][_0x3c56a1(0xff)](_0x3c56a1(0x12f))['to'](_0x1e6229,_0x3c56a1(0xee),_0x23b3ee=>_0x23b3ee===_0x3ea0c0[_0x3c56a1(0xd8)]);}async[_0x4abd1f(0x10a)](){const _0x453460=_0x4abd1f,_0x1a1eb1=this[_0x453460(0x106)][_0x453460(0xbf)][_0x453460(0xf4)](_0x4f19b7),_0x2d35dc=this[_0x453460(0x106)][_0x453460(0xbf)][_0x453460(0xf4)](_0x404827),_0x528918=async()=>{const _0x37284e=_0x453460,_0x25dccf=this[_0x37284e(0x11b)][_0x37284e(0xda)],_0x1614fa=_0x25dccf['id'],_0x21a1b7=_0x1614fa!==_0x2d35dc[_0x37284e(0x118)];if(_0x21a1b7){const _0x417789=_0x2d35dc[_0x37284e(0x114)]-this[_0x37284e(0x129)],_0x5a68ef=this[_0x37284e(0x124)]();this[_0x37284e(0x11b)][_0x37284e(0x11e)][_0x37284e(0xe2)]();if(_0x25dccf[_0x37284e(0x121)]+_0x417789!==_0x5a68ef){const _0x571bf3=_0x25dccf[_0x37284e(0x122)]+_0x417789,_0x5ea0fd=this[_0x37284e(0x106)][_0x37284e(0xbf)][_0x37284e(0xf4)](_0x2349c6),_0x3b6751=this[_0x37284e(0x11b)][_0x37284e(0x117)]({'revision':_0x25dccf,'from':_0x571bf3,'to':_0x5a68ef});_0x3b6751['id']=_0x25dccf['id'];const _0x1aa7a1=_0x3b6751[_0x37284e(0x128)][_0x37284e(0xcb)](_0x2b487d=>_0x5ea0fd[_0x37284e(0xc5)](_0x2b487d));_0x25dccf[_0x37284e(0x113)]({..._0x3b6751,'authors':_0x1aa7a1},!0x0),this[_0x37284e(0x11b)][_0x37284e(0xc8)](_0x25dccf['id'],_0x3b6751,!0x0);}this[_0x37284e(0x11b)][_0x37284e(0xd9)]=_0x5a68ef,(_0x25dccf[_0x37284e(0x121)]===_0x25dccf[_0x37284e(0x122)]&&!this[_0x37284e(0x11b)][_0x37284e(0xc2)][_0x37284e(0xe4)](_0x1614fa)&&this[_0x37284e(0x11b)][_0x37284e(0xf8)][_0x37284e(0xf3)][_0x37284e(0xf2)](_0x1614fa),this[_0x37284e(0x11b)][_0x37284e(0xf9)](_0x5a68ef));}const {revisions:_0x41cb90,requestId:_0x311f31}=await this[_0x37284e(0x109)][_0x37284e(0x10a)](_0x1a1eb1[_0x37284e(0xea)],this[_0x37284e(0xe8)]);_0x21a1b7&&_0x41cb90[_0x37284e(0xeb)]>0x0?_0x2d35dc[_0x37284e(0x101)]():(await this[_0x37284e(0xfe)](_0x41cb90),this[_0x37284e(0x11a)](_0x41cb90,_0x311f31),this[_0x37284e(0x11b)][_0x37284e(0x126)]());};return _0x2d35dc[_0x453460(0xec)]?_0x528918():new Promise((_0x41ca99,_0x24a413)=>{const _0x4eb723=_0x453460;_0x2d35dc[_0x4eb723(0xef)](_0x4eb723(0x10f),()=>{const _0xf05dd8=_0x4eb723;_0x528918()[_0xf05dd8(0xbe)](_0x41ca99)[_0xf05dd8(0x107)](_0x24a413);});});}[_0x4abd1f(0x115)](){const _0x9894bd=_0x4abd1f;super[_0x9894bd(0x115)]();}async[_0x4abd1f(0x11c)](){const _0x165360=_0x4abd1f;this[_0x165360(0x109)][_0x165360(0x120)]||await new Promise(_0xf227d0=>{const _0x357037=_0x165360;this[_0x357037(0xd3)](this[_0x357037(0x109)],_0x357037(0xdc),_0x2fb458=>{const _0x3a4b58=_0x357037;_0x2fb458[_0x3a4b58(0xd1)](),_0xf227d0();});});}[_0x4abd1f(0x124)](){const _0x2f37d1=_0x4abd1f,_0x5d8b59=this[_0x2f37d1(0x106)][_0x2f37d1(0xbf)][_0x2f37d1(0xf4)](_0x404827)[_0x2f37d1(0xc9)][_0x2f37d1(0x108)]()[_0x2f37d1(0xcf)]();for(const _0x363a19 of _0x5d8b59)if(_0x2f37d1(0xf1)!==_0x363a19[_0x2f37d1(0xd0)]||_0x363a19[_0x2f37d1(0xfa)])return _0x363a19[_0x2f37d1(0x12b)]+0x1;}[_0x4abd1f(0x105)](){const _0x33f814=_0x4abd1f,_0x4e6eb7=this[_0x33f814(0x106)][_0x33f814(0xbf)][_0x33f814(0xf4)](_0x404827);return new Promise(_0x7450e7=>{const _0x160e37=_0x33f814;_0x4e6eb7[_0x160e37(0xdb)]?_0x4e6eb7[_0x160e37(0xef)](_0x160e37(0xe1),()=>{const _0x42673b=_0x160e37;_0x7450e7(this[_0x42673b(0x124)]());}):_0x7450e7(this[_0x160e37(0x124)]());});}[_0x4abd1f(0x11a)](_0x6af98d,_0x2a3029){const _0x4fcaeb=_0x4abd1f,_0x29aa24=this[_0x4fcaeb(0x11b)][_0x4fcaeb(0xf8)];this[_0x4fcaeb(0xe8)]=_0x2a3029;for(const _0x32106b of _0x6af98d){const _0x206366=_0x29aa24[_0x4fcaeb(0xe3)](_0x32106b['id']);if(_0x206366){if((_0x32106b[_0x4fcaeb(0x122)]||_0x32106b[_0x4fcaeb(0x121)])&&(_0x32106b[_0x4fcaeb(0x10c)]=null),_0x206366===this[_0x4fcaeb(0x11b)][_0x4fcaeb(0xda)]){const _0x2e5b09=Math[_0x4fcaeb(0xe9)](_0x206366[_0x4fcaeb(0x121)],_0x32106b[_0x4fcaeb(0x121)]),_0xf81604=Math[_0x4fcaeb(0xe9)](_0x206366[_0x4fcaeb(0x122)],_0x32106b[_0x4fcaeb(0x122)]);let _0xe7bf94;_0x206366[_0x4fcaeb(0x121)]===_0x32106b[_0x4fcaeb(0x121)]&&_0x206366[_0x4fcaeb(0x122)]===_0x32106b[_0x4fcaeb(0x122)]?(_0xe7bf94=!0x0,this[_0x4fcaeb(0xfc)](_0x32106b)):_0x32106b[_0x4fcaeb(0x121)]===_0x2e5b09&&_0x32106b[_0x4fcaeb(0x122)]===_0xf81604?_0xe7bf94=!0x1:(_0x206366[_0x4fcaeb(0x121)]===_0x2e5b09&&_0x206366[_0x4fcaeb(0x122)]===_0xf81604||this[_0x4fcaeb(0xfb)]({'revision':_0x206366,'from':_0xf81604,'to':_0x2e5b09}),_0xe7bf94=!0x0),_0xe7bf94&&(delete _0x32106b[_0x4fcaeb(0x122)],delete _0x32106b[_0x4fcaeb(0x121)],delete _0x32106b[_0x4fcaeb(0x10c)],delete _0x32106b[_0x4fcaeb(0x10b)],delete _0x32106b[_0x4fcaeb(0x128)]);}this[_0x4fcaeb(0x11b)][_0x4fcaeb(0x10d)](_0x32106b),this[_0x4fcaeb(0xfc)](_0x32106b);}else this[_0x4fcaeb(0x11b)][_0x4fcaeb(0x12c)](_0x32106b);}const _0x3e3324=_0x29aa24[_0x4fcaeb(0xce)]();_0x3e3324[_0x4fcaeb(0xcf)]();for(let _0x6f056f=0x0;_0x6f056f<_0x3e3324[_0x4fcaeb(0xeb)]-0x1;_0x6f056f++){const _0x20e44e=_0x3e3324[_0x6f056f],_0x312a60=_0x3e3324[_0x6f056f+0x1];if(_0x20e44e[_0x4fcaeb(0x122)]<_0x312a60[_0x4fcaeb(0x121)]){const _0x276c32=_0x312a60[_0x4fcaeb(0x121)],_0x11436b=Math[_0x4fcaeb(0xe9)](_0x276c32,_0x20e44e[_0x4fcaeb(0x121)]);this[_0x4fcaeb(0xfb)]({'revision':_0x20e44e,'from':_0x276c32,'to':_0x11436b});}}}[_0x4abd1f(0xfb)]({revision:_0x420a17,from:_0x89ef5a,to:_0x210ab8}={}){const _0x1cb4f5=_0x4abd1f,_0xa4db67=this[_0x1cb4f5(0x106)][_0x1cb4f5(0xbf)][_0x1cb4f5(0xf4)](_0x2349c6),_0x100313=this[_0x1cb4f5(0x11b)][_0x1cb4f5(0x117)]({'revision':_0x420a17,'from':_0x89ef5a,'to':_0x210ab8});_0x100313[_0x1cb4f5(0x110)]=_0x100313[_0x1cb4f5(0x128)][_0x1cb4f5(0xcb)](_0x263f13=>_0xa4db67[_0x1cb4f5(0xc5)](_0x263f13)),_0x420a17[_0x1cb4f5(0x113)](_0x100313);}[_0x4abd1f(0xfc)](_0x6d9ac0){const _0x28c96c=_0x4abd1f,_0x56fff7={};_0x56fff7['id']=_0x6d9ac0['id'];for(const _0x262b86 of Object[_0x28c96c(0x100)](_0x6d9ac0))'id'!==_0x262b86&&(_0x56fff7[_0x262b86]=void 0x0);this[_0x28c96c(0x11b)][_0x28c96c(0xc8)](_0x56fff7['id'],_0x56fff7,!0x0);}async[_0x4abd1f(0xfe)](_0x216578){const _0x5deed5=_0x4abd1f,_0x98888=this[_0x5deed5(0x106)][_0x5deed5(0xbf)][_0x5deed5(0xf4)](_0x2349c6),{connection:_0x3e9e2b}=this[_0x5deed5(0x106)][_0x5deed5(0xbf)][_0x5deed5(0xf4)](_0x4f19b7),_0x5f1842=new Set();for(const _0xaf2795 of _0x216578){for(const _0x310ad2 of _0xaf2795[_0x5deed5(0x128)])_0x184b71(_0x310ad2);_0xaf2795[_0x5deed5(0xd6)]&&_0x184b71(_0xaf2795[_0x5deed5(0xd6)]);}if(0x0===_0x5f1842[_0x5deed5(0xbd)])return;const _0x4801c8=await _0x23ced7[_0x5deed5(0x12e)](_0x3e9e2b,Array[_0x5deed5(0xfd)](_0x5f1842));for(const _0x30145a of _0x4801c8)_0x98888[_0x5deed5(0xc5)](_0x30145a['id'])||_0x98888[_0x5deed5(0xca)](_0x30145a);function _0x184b71(_0x5223fa){const _0x15e031=_0x5deed5;_0x98888[_0x15e031(0xc5)](_0x5223fa)||_0x5f1842[_0x15e031(0xdf)](_0x5223fa);}}}export{c as CloudServicesRevisionHistoryAdapter};function q(_0x370e62){const _0x1f8f69=_0x4abd1f;return _0x370e62[_0x1f8f69(0xd4)][_0x1f8f69(0xc7)](_0x1f8f69(0xe5))||_0x370e62[_0x1f8f69(0xd4)][_0x1f8f69(0xc7)](_0x1f8f69(0xf7))||_0x370e62[_0x1f8f69(0xd4)][_0x1f8f69(0xc7)](_0x1f8f69(0x125));}
23
+ const _0x2ac27a=_0x14c8;(function(_0x3cfef5,_0x575278){const _0x5417ff=_0x14c8,_0x4c5b24=_0x3cfef5();while(!![]){try{const _0x2596e2=parseInt(_0x5417ff(0x13b))/0x1+-parseInt(_0x5417ff(0x107))/0x2+parseInt(_0x5417ff(0x157))/0x3*(-parseInt(_0x5417ff(0x11c))/0x4)+parseInt(_0x5417ff(0x12b))/0x5*(parseInt(_0x5417ff(0x12a))/0x6)+parseInt(_0x5417ff(0x119))/0x7+parseInt(_0x5417ff(0x12c))/0x8+-parseInt(_0x5417ff(0x11e))/0x9;if(_0x2596e2===_0x575278)break;else _0x4c5b24['push'](_0x4c5b24['shift']());}catch(_0x98dcd1){_0x4c5b24['push'](_0x4c5b24['shift']());}}}(_0x2431,0xef9f4));import{Plugin as _0x447b24}from'ckeditor5/src/core.js';function _0x14c8(_0x395070,_0x2a2c86){const _0x243111=_0x2431();return _0x14c8=function(_0x14c8bd,_0x4530a4){_0x14c8bd=_0x14c8bd-0xea;let _0xc06260=_0x243111[_0x14c8bd];return _0xc06260;},_0x14c8(_0x395070,_0x2a2c86);}import{version as _0x2d5158}from'ckeditor5/src/utils.js';import{Users as _0x56f7d5}from'ckeditor5-collaboration/src/collaboration-core.js';import{RealTimeCollaborationClient as _0x4cdf99}from'../realtimecollaborativeediting/realtimecollaborationclient.js';import{WebSocketGateway as _0x4df7f4}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1166c0}from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x130a96,RevisionHistoryService as _0xe7b346,User as _0x276d24,WEB_SOCKET_GATEWAY_STATES as _0x32afe1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class c extends _0x447b24{static [_0x2ac27a(0x146)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0xe7b346)());[_0x2ac27a(0xf7)];[_0x2ac27a(0x139)];[_0x2ac27a(0x130)];[_0x2ac27a(0x122)];static get[_0x2ac27a(0x104)](){const _0x2d18b1=_0x2ac27a;return[_0x4df7f4,_0x4cdf99,_0x2d18b1(0x135),_0x1166c0,_0x56f7d5];}static get[_0x2ac27a(0xf1)](){const _0x3231fc=_0x2ac27a;return _0x3231fc(0x156);}static get[_0x2ac27a(0x13c)](){return!0x0;}static get[_0x2ac27a(0xed)](){return!0x0;}constructor(_0x36e917){const _0xe4ea12=_0x2ac27a;super(_0x36e917);const _0x24f1d0=this[_0xe4ea12(0x131)][_0xe4ea12(0x159)][_0xe4ea12(0x102)](_0xe4ea12(0xf2));this[_0xe4ea12(0xf7)]=null,this[_0xe4ea12(0x139)]=this[_0xe4ea12(0x131)][_0xe4ea12(0x13d)][_0xe4ea12(0x102)](_0xe4ea12(0xee)),this[_0xe4ea12(0x130)]=new c[(_0xe4ea12(0x146))](_0x24f1d0);}async[_0x2ac27a(0x10b)](){const _0x102b44=_0x2ac27a,_0x407afe=this[_0x102b44(0x131)][_0x102b44(0x13d)][_0x102b44(0x102)](_0x4cdf99),_0x2a6283=_0x407afe[_0x102b44(0x115)],_0x39abdd=this[_0x102b44(0x131)][_0x102b44(0x13d)][_0x102b44(0x102)](_0x4df7f4);this[_0x102b44(0x139)][_0x102b44(0x148)]({'history':_0x2a6283,'getLatestVersion':()=>this[_0x102b44(0x12e)](),'getCurrentRevisionId':()=>_0x407afe[_0x102b44(0x111)]});const _0x2da896=this[_0x102b44(0x131)][_0x102b44(0x159)][_0x102b44(0x102)](_0x102b44(0x105))||_0x2d5158,_0x1cc361=await _0x130a96[_0x102b44(0x143)](_0x39abdd[_0x102b44(0x158)],_0x2da896);this[_0x102b44(0x131)][_0x102b44(0x13d)][_0x102b44(0x102)](_0x102b44(0x135))[_0x102b44(0x11f)]={'getRevision':async({revisionId:_0x55c054})=>(await this[_0x102b44(0xff)](),await this[_0x102b44(0x130)][_0x102b44(0x12d)](_0x55c054)),'updateRevisions':async _0x24020e=>{const _0xd339cf=_0x102b44;await this[_0xd339cf(0xff)]();const _0xa24525=this[_0xd339cf(0x139)][_0xd339cf(0x129)];if(_0x1cc361&&0x1===_0x24020e[_0xd339cf(0x14c)]&&_0x24020e[0x0]['id']===_0xa24525['id'])return _0x24020e;for(const _0x3a8713 of _0x24020e)_0x3a8713['id']===_0xa24525['id']&&(_0x3a8713[_0xd339cf(0x15b)]=_0x3a8713[_0xd339cf(0x147)]===_0x3a8713[_0xd339cf(0x145)]);return this[_0xd339cf(0x130)][_0xd339cf(0x13e)](_0x24020e,this[_0xd339cf(0xf7)])[_0xd339cf(0x123)](_0x29f0bd=>(this[_0xd339cf(0xf7)]=_0x29f0bd,_0x24020e))[_0xd339cf(0x11a)](_0x353f01=>{const _0x4b7f5a=_0xd339cf;if(P(_0x353f01)||_0x4b7f5a(0x134)===_0x353f01[_0x4b7f5a(0x124)]&&void 0x0!==_0x353f01[_0x4b7f5a(0x116)][_0x4b7f5a(0xf3)]){for(const _0x4c7071 of _0x24020e){!this[_0x4b7f5a(0x139)][_0x4b7f5a(0x109)][_0x4b7f5a(0x12d)](_0x4c7071['id'])||this[_0x4b7f5a(0x139)][_0x4b7f5a(0x10f)](_0x4c7071['id'],_0x4c7071,!0x1);}if(P(_0x353f01))throw _0x353f01;return _0x24020e;}throw _0x353f01;});}},this[_0x102b44(0x110)](this[_0x102b44(0x130)],_0x102b44(0x142),(_0x1d9fa1,{revisionsData:_0x10e2ab,requestId:_0x2f31c4})=>{const _0x99cdbe=_0x102b44;Math[_0x99cdbe(0x14a)](..._0x10e2ab[_0x99cdbe(0xea)](_0x47a2c9=>_0x47a2c9[_0x99cdbe(0x145)]))>this[_0x99cdbe(0x144)]()-0x1?this[_0x99cdbe(0x12e)]()[_0x99cdbe(0x123)](()=>{const _0x3830fa=_0x99cdbe;this[_0x3830fa(0x133)](_0x10e2ab,_0x2f31c4);}):this[_0x99cdbe(0x133)](_0x10e2ab,_0x2f31c4);});const {revisions:_0x34a097,requestId:_0x5770dd}=await this[_0x102b44(0x130)][_0x102b44(0x152)](_0x39abdd[_0x102b44(0x158)]);_0x39abdd[_0x102b44(0x150)](this),this[_0x102b44(0xf7)]=_0x5770dd,await this[_0x102b44(0x126)](_0x34a097);for(const _0x52b869 of _0x34a097)this[_0x102b44(0x139)][_0x102b44(0x114)](_0x52b869);this[_0x102b44(0x110)](_0x407afe,_0x102b44(0x132),(_0x3b1d5c,_0x5c25b1,_0x2f9263)=>{const _0x4e56a3=_0x102b44;_0x2f9263&&(this[_0x4e56a3(0x122)]=_0x407afe[_0x4e56a3(0xfc)],_0x3b1d5c[_0x4e56a3(0x15c)]());}),this[_0x102b44(0x139)][_0x102b44(0xf6)](_0x102b44(0xeb))['to'](_0x39abdd,_0x102b44(0x13f),_0x803b80=>_0x803b80===_0x32afe1[_0x102b44(0x10e)]);}async[_0x2ac27a(0x112)](){const _0x41e5f0=_0x2ac27a,_0x2e18bb=this[_0x41e5f0(0x131)][_0x41e5f0(0x13d)][_0x41e5f0(0x102)](_0x4df7f4),_0x18c67d=this[_0x41e5f0(0x131)][_0x41e5f0(0x13d)][_0x41e5f0(0x102)](_0x4cdf99),_0x4c7858=async()=>{const _0x37da9f=_0x41e5f0,_0x4b7348=this[_0x37da9f(0x139)][_0x37da9f(0x129)],_0x152330=_0x4b7348['id'],_0x3feee1=_0x152330!==_0x18c67d[_0x37da9f(0x111)];if(_0x3feee1){const _0x528b19=_0x18c67d[_0x37da9f(0xfc)]-this[_0x37da9f(0x122)],_0x5afb93=this[_0x37da9f(0x144)]();this[_0x37da9f(0x139)][_0x37da9f(0x118)][_0x37da9f(0xfe)]();if(_0x4b7348[_0x37da9f(0x145)]+_0x528b19!==_0x5afb93){const _0x402866=_0x4b7348[_0x37da9f(0x147)]+_0x528b19,_0x4978d6=this[_0x37da9f(0x131)][_0x37da9f(0x13d)][_0x37da9f(0x102)](_0x56f7d5),_0x2304a9=this[_0x37da9f(0x139)][_0x37da9f(0x155)]({'revision':_0x4b7348,'from':_0x402866,'to':_0x5afb93});_0x2304a9['id']=_0x4b7348['id'];const _0x352994=_0x2304a9[_0x37da9f(0xfb)][_0x37da9f(0xea)](_0x273a81=>_0x4978d6[_0x37da9f(0x10d)](_0x273a81));_0x4b7348[_0x37da9f(0x14f)]({..._0x2304a9,'authors':_0x352994},!0x0),this[_0x37da9f(0x139)][_0x37da9f(0x10f)](_0x4b7348['id'],_0x2304a9,!0x0);}this[_0x37da9f(0x139)][_0x37da9f(0xfd)]=_0x5afb93,(_0x4b7348[_0x37da9f(0x145)]===_0x4b7348[_0x37da9f(0x147)]&&!this[_0x37da9f(0x139)][_0x37da9f(0x125)][_0x37da9f(0x11d)](_0x152330)&&this[_0x37da9f(0x139)][_0x37da9f(0x109)][_0x37da9f(0x120)][_0x37da9f(0x15a)](_0x152330),this[_0x37da9f(0x139)][_0x37da9f(0xf9)](_0x5afb93));}const {revisions:_0xc85c98,requestId:_0x39705a}=await this[_0x37da9f(0x130)][_0x37da9f(0x112)](_0x2e18bb[_0x37da9f(0x158)],this[_0x37da9f(0xf7)]);_0x3feee1&&_0xc85c98[_0x37da9f(0x14c)]>0x0?_0x18c67d[_0x37da9f(0x149)]():(await this[_0x37da9f(0x126)](_0xc85c98),this[_0x37da9f(0x133)](_0xc85c98,_0x39705a),this[_0x37da9f(0x139)][_0x37da9f(0xef)]());};return _0x18c67d[_0x41e5f0(0x154)]?_0x4c7858():new Promise((_0x2e010e,_0x1f0f7e)=>{const _0x55b17a=_0x41e5f0;_0x18c67d[_0x55b17a(0x117)](_0x55b17a(0x132),()=>{const _0x54a59e=_0x55b17a;_0x4c7858()[_0x54a59e(0x123)](_0x2e010e)[_0x54a59e(0x11a)](_0x1f0f7e);});});}[_0x2ac27a(0x12f)](){const _0x41f776=_0x2ac27a;super[_0x41f776(0x12f)]();}async[_0x2ac27a(0xff)](){const _0x2ec253=_0x2ac27a;this[_0x2ec253(0x130)][_0x2ec253(0x121)]||await new Promise(_0x23bd9f=>{const _0x5d4538=_0x2ec253;this[_0x5d4538(0x110)](this[_0x5d4538(0x130)],_0x5d4538(0x11b),_0x15b9b5=>{const _0x41ae6b=_0x5d4538;_0x15b9b5[_0x41ae6b(0x15c)](),_0x23bd9f();});});}[_0x2ac27a(0x144)](){const _0x12323e=_0x2ac27a,_0x514a22=this[_0x12323e(0x131)][_0x12323e(0x13d)][_0x12323e(0x102)](_0x4cdf99)[_0x12323e(0x115)][_0x12323e(0x14d)]()[_0x12323e(0x103)]();for(const _0x39f77f of _0x514a22)if(_0x12323e(0x100)!==_0x39f77f[_0x12323e(0xf0)]||_0x39f77f[_0x12323e(0x128)])return _0x39f77f[_0x12323e(0x140)]+0x1;}[_0x2ac27a(0x12e)](){const _0x5bdf1e=_0x2ac27a,_0x360bca=this[_0x5bdf1e(0x131)][_0x5bdf1e(0x13d)][_0x5bdf1e(0x102)](_0x4cdf99);return new Promise(_0x1e3027=>{const _0xfc9b57=_0x5bdf1e;_0x360bca[_0xfc9b57(0x14b)]?_0x360bca[_0xfc9b57(0x117)](_0xfc9b57(0x13a),()=>{const _0xf7728d=_0xfc9b57;_0x1e3027(this[_0xf7728d(0x144)]());}):_0x1e3027(this[_0xfc9b57(0x144)]());});}[_0x2ac27a(0x133)](_0x365747,_0x3f78fe){const _0x1fd850=_0x2ac27a,_0x3838e7=this[_0x1fd850(0x139)][_0x1fd850(0x109)];this[_0x1fd850(0xf7)]=_0x3f78fe;for(const _0x142183 of _0x365747){const _0x1e6595=_0x3838e7[_0x1fd850(0x12d)](_0x142183['id']);if(_0x1e6595){if((_0x142183[_0x1fd850(0x147)]||_0x142183[_0x1fd850(0x145)])&&(_0x142183[_0x1fd850(0x101)]=null),_0x1e6595===this[_0x1fd850(0x139)][_0x1fd850(0x129)]){const _0x29e16a=Math[_0x1fd850(0x14a)](_0x1e6595[_0x1fd850(0x145)],_0x142183[_0x1fd850(0x145)]),_0x370174=Math[_0x1fd850(0x14a)](_0x1e6595[_0x1fd850(0x147)],_0x142183[_0x1fd850(0x147)]);let _0x5dd920;_0x1e6595[_0x1fd850(0x145)]===_0x142183[_0x1fd850(0x145)]&&_0x1e6595[_0x1fd850(0x147)]===_0x142183[_0x1fd850(0x147)]?(_0x5dd920=!0x0,this[_0x1fd850(0xfa)](_0x142183)):_0x142183[_0x1fd850(0x145)]===_0x29e16a&&_0x142183[_0x1fd850(0x147)]===_0x370174?_0x5dd920=!0x1:(_0x1e6595[_0x1fd850(0x145)]===_0x29e16a&&_0x1e6595[_0x1fd850(0x147)]===_0x370174||this[_0x1fd850(0x136)]({'revision':_0x1e6595,'from':_0x370174,'to':_0x29e16a}),_0x5dd920=!0x0),_0x5dd920&&(delete _0x142183[_0x1fd850(0x147)],delete _0x142183[_0x1fd850(0x145)],delete _0x142183[_0x1fd850(0x101)],delete _0x142183[_0x1fd850(0xf8)],delete _0x142183[_0x1fd850(0xfb)]);}this[_0x1fd850(0x139)][_0x1fd850(0x127)](_0x142183),this[_0x1fd850(0xfa)](_0x142183);}else this[_0x1fd850(0x139)][_0x1fd850(0x114)](_0x142183);}const _0x50ef67=_0x3838e7[_0x1fd850(0xf5)]();_0x50ef67[_0x1fd850(0x103)]();for(let _0x40b557=0x0;_0x40b557<_0x50ef67[_0x1fd850(0x14c)]-0x1;_0x40b557++){const _0x185ab3=_0x50ef67[_0x40b557],_0xba388c=_0x50ef67[_0x40b557+0x1];if(_0x185ab3[_0x1fd850(0x147)]<_0xba388c[_0x1fd850(0x145)]){const _0xfda113=_0xba388c[_0x1fd850(0x145)],_0x154dfc=Math[_0x1fd850(0x14a)](_0xfda113,_0x185ab3[_0x1fd850(0x145)]);this[_0x1fd850(0x136)]({'revision':_0x185ab3,'from':_0xfda113,'to':_0x154dfc});}}}[_0x2ac27a(0x136)]({revision:_0x3876c1,from:_0x52d24d,to:_0x49fed6}={}){const _0x1d4093=_0x2ac27a,_0x365c89=this[_0x1d4093(0x131)][_0x1d4093(0x13d)][_0x1d4093(0x102)](_0x56f7d5),_0x48c2d4=this[_0x1d4093(0x139)][_0x1d4093(0x155)]({'revision':_0x3876c1,'from':_0x52d24d,'to':_0x49fed6});_0x48c2d4[_0x1d4093(0x153)]=_0x48c2d4[_0x1d4093(0xfb)][_0x1d4093(0xea)](_0x2389a8=>_0x365c89[_0x1d4093(0x10d)](_0x2389a8)),_0x3876c1[_0x1d4093(0x14f)](_0x48c2d4);}[_0x2ac27a(0xfa)](_0x23f616){const _0x5b6976=_0x2ac27a,_0x54365e={};_0x54365e['id']=_0x23f616['id'];for(const _0x55b751 of Object[_0x5b6976(0x106)](_0x23f616))'id'!==_0x55b751&&(_0x54365e[_0x55b751]=void 0x0);this[_0x5b6976(0x139)][_0x5b6976(0x10f)](_0x54365e['id'],_0x54365e,!0x0);}async[_0x2ac27a(0x126)](_0xc58ba0){const _0x3d5ddb=_0x2ac27a,_0xd58090=this[_0x3d5ddb(0x131)][_0x3d5ddb(0x13d)][_0x3d5ddb(0x102)](_0x56f7d5),{connection:_0x509cf2}=this[_0x3d5ddb(0x131)][_0x3d5ddb(0x13d)][_0x3d5ddb(0x102)](_0x4df7f4),_0xb05aa7=new Set();for(const _0x2b8d66 of _0xc58ba0){for(const _0x22293f of _0x2b8d66[_0x3d5ddb(0xfb)])_0x5e6099(_0x22293f);_0x2b8d66[_0x3d5ddb(0x151)]&&_0x5e6099(_0x2b8d66[_0x3d5ddb(0x151)]);}if(0x0===_0xb05aa7[_0x3d5ddb(0x14e)])return;const _0x2f30ef=await _0x276d24[_0x3d5ddb(0x138)](_0x509cf2,Array[_0x3d5ddb(0x10a)](_0xb05aa7));for(const _0x54494a of _0x2f30ef)_0xd58090[_0x3d5ddb(0x10d)](_0x54494a['id'])||_0xd58090[_0x3d5ddb(0x108)](_0x54494a);function _0x5e6099(_0x237912){const _0x2a8154=_0x3d5ddb;_0xd58090[_0x2a8154(0x10d)](_0x237912)||_0xb05aa7[_0x2a8154(0xec)](_0x237912);}}}export{c as CloudServicesRevisionHistoryAdapter};function P(_0xf8ed29){const _0x535186=_0x2ac27a;return _0xf8ed29[_0x535186(0x141)][_0x535186(0x137)](_0x535186(0x10c))||_0xf8ed29[_0x535186(0x141)][_0x535186(0x137)](_0x535186(0xf4))||_0xf8ed29[_0x535186(0x141)][_0x535186(0x137)](_0x535186(0x113));}function _0x2431(){const _0x12fa0c=['state','baseVersion','message','revisionsUpdated','isBundleUploaded','_getLatestVersionFromServerOperations','toVersion','RevisionHistoryService','fromVersion','setSource','_handleReconnectionError','max','_isPendingUpdate','length','getOperations','size','_update','addToReconnectionStack','creatorId','connect','authors','_isConnected','buildRevisionData','CloudServicesRevisionHistoryAdapter','27soDGVf','connection','config','remove','isEmptyCurrent','off','map','isEnabled','add','isPremiumPlugin','RevisionTracker','sendBufferedUpdates','type','pluginName','collaboration.channelId','wrongRequestId','cloud-services-internal-error:\x20Not\x20connected.','getRevisions','bind','_lastRequestId','createdAt','_createCurrentRevision','_preventResendingRevisionData','authorsIds','_offset','_startingVersion','reInit','_waitForServiceReady','marker','diffData','get','reverse','requires','cloudServices.bundleVersion','keys','3229664Umidsl','addUser','repository','from','init','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','getUser','CONNECTED','_bufferUpdate','listenTo','sessionId','reconnect','cloud-services-internal-error:\x20Request\x20timeout.','addRevisionData','serverHistory','data','once','_revisionDataBuilder','8837864BPrGkn','catch','connected','414812tLJrqj','has','7946604eNLNXv','adapter','_revisions','isConnected','_oldOffset','then','code','_bufferedUpdates','_fetchMissingUsers','setRevisionData','affectsData','currentRevision','114SJOeCT','102065dHMtRn','9749664yKEKVT','getRevision','_getLatestVersion','destroy','_revisionHistoryService','editor','change:_isConnected','_handleRevisionsUpdate','400','RevisionHistory','_fixRevision','startsWith','getMany','_revisionTracker','change:_isPendingUpdate','1543500khVcvO','isOfficialPlugin','plugins','updateRevisions'];_0x2431=function(){return _0x12fa0c;};return _0x2431();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x77beda=_0x4fcf;(function(_0x2a4119,_0x5e0fa9){const _0xa7dba=_0x4fcf,_0x30c1a7=_0x2a4119();while(!![]){try{const _0x22b0c5=-parseInt(_0xa7dba(0x1ce))/0x1+-parseInt(_0xa7dba(0x1b9))/0x2+-parseInt(_0xa7dba(0x1dc))/0x3*(-parseInt(_0xa7dba(0x1cb))/0x4)+-parseInt(_0xa7dba(0x1ed))/0x5*(-parseInt(_0xa7dba(0x1e1))/0x6)+parseInt(_0xa7dba(0x1d0))/0x7*(-parseInt(_0xa7dba(0x1df))/0x8)+-parseInt(_0xa7dba(0x1c3))/0x9+parseInt(_0xa7dba(0x1c7))/0xa;if(_0x22b0c5===_0x5e0fa9)break;else _0x30c1a7['push'](_0x30c1a7['shift']());}catch(_0x584627){_0x30c1a7['push'](_0x30c1a7['shift']());}}}(_0x188e,0xea272));import{Plugin as _0x3e7d5e}from'ckeditor5/src/core.js';function _0x4fcf(_0x2954fc,_0x50aaeb){const _0x188e12=_0x188e();return _0x4fcf=function(_0x4fcf2e,_0xd9ebe4){_0x4fcf2e=_0x4fcf2e-0x1b3;let _0x2249f5=_0x188e12[_0x4fcf2e];return _0x2249f5;},_0x4fcf(_0x2954fc,_0x50aaeb);}function _0x188e(){const _0x3d786b=['config','364437pFOrxf','reconnect','21goalSB','pluginName','_fetchMissingUsersForThreads','isPremiumPlugin','add','message','plugins','set','attributes','from','size','catch','435159VQexNa','cloud-services-internal-error:\x20Request\x20timeout.','off','2776056toduji','then','12OSYCXs','requires','originalSuggestionId','connected','connect','find','connection','type','values','_saved','cloud-services-internal-error:\x20Not\x20connected.','collaboration.channelId','161615iHKPKE','hasSuggestion','_trackChangesService','_bufferedRequests','get','editor','listenTo','init','open','getUser','addUser','TrackChangesEditing','1210970MWXQiK','addSuggestionData','getSuggestion','adapter','suggestionUpdated','_waitForServiceReady','getMany','state','CloudServicesTrackChangesAdapter','delete','8102835UhqnOc','addToReconnectionStack','TrackChangesService','update','32254900RjugUW','startsWith','isConnected','isOfficialPlugin','16WMZYgu','data'];_0x188e=function(){return _0x3d786b;};return _0x188e();}import{User as _0x4fd8c8,TrackChangesService as _0x1a955a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x28087f}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x4f5ac7}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x4b4f58}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x3e7d5e{static [_0x77beda(0x1c5)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1a955a)());[_0x77beda(0x1f0)];[_0x77beda(0x1ef)];static get[_0x77beda(0x1e2)](){const _0x52a35=_0x77beda;return[_0x4f5ac7,_0x52a35(0x1b8),_0x28087f];}static get[_0x77beda(0x1d1)](){const _0x380afe=_0x77beda;return _0x380afe(0x1c1);}static get[_0x77beda(0x1ca)](){return!0x0;}static get[_0x77beda(0x1d3)](){return!0x0;}constructor(_0x4b7c50){const _0x13fac4=_0x77beda;super(_0x4b7c50);const _0x32f953=this[_0x13fac4(0x1f2)][_0x13fac4(0x1cd)][_0x13fac4(0x1f1)](_0x13fac4(0x1ec));this[_0x13fac4(0x1f0)]=new Map(),this[_0x13fac4(0x1ef)]=new m[(_0x13fac4(0x1c5))](_0x32f953);}[_0x77beda(0x1b4)](){const _0x583690=_0x77beda,_0x3f3455=this[_0x583690(0x1f2)][_0x583690(0x1d6)][_0x583690(0x1f1)](_0x28087f),_0x44eaf9=this[_0x583690(0x1f2)][_0x583690(0x1d6)][_0x583690(0x1f1)](_0x583690(0x1b8));return _0x44eaf9[_0x583690(0x1bc)]={'getSuggestion':async _0x26dee6=>{const _0xe4fd12=_0x583690;await this[_0xe4fd12(0x1be)]();const _0x241dbe=await this[_0xe4fd12(0x1ef)][_0xe4fd12(0x1f1)](_0x26dee6)[_0xe4fd12(0x1db)](k);return await this[_0xe4fd12(0x1d2)]([_0x241dbe]),_0x241dbe;},'addSuggestion':async({id:_0x5140f0,type:_0x64d6f7,data:_0x49b99a,originalSuggestionId:_0x1b8b62,attributes:_0x34ec27})=>{const _0x348dff=_0x583690;await this[_0x348dff(0x1be)]();const _0x2f6278={'id':_0x5140f0,'type':_0x64d6f7,'data':_0x49b99a,'originalSuggestionId':_0x1b8b62,'attributes':_0x34ec27},_0x20d486=await this[_0x348dff(0x1ef)][_0x348dff(0x1d4)](_0x5140f0,_0x64d6f7,_0x49b99a,_0x1b8b62,_0x34ec27)[_0x348dff(0x1db)](_0x3e849b=>{if(q(_0x3e849b))return new Promise(_0x48cb24=>{const _0x271023=_0x4fcf;this[_0x271023(0x1f0)][_0x271023(0x1d7)](_0x5140f0,{'resolve':_0x48cb24,'suggestionData':_0x2f6278});});throw _0x3e849b;});return this[_0x348dff(0x1f0)][_0x348dff(0x1c2)](_0x5140f0),_0x20d486;},'updateSuggestion':async(_0x39bc96,_0x45acb1)=>{const _0x35b134=_0x583690;if(await this[_0x35b134(0x1be)](),_0x35b134(0x1b5)!==_0x45acb1[_0x35b134(0x1c0)])return this[_0x35b134(0x1ef)][_0x35b134(0x1c6)](_0x39bc96,_0x45acb1)[_0x35b134(0x1db)](k);}},this[_0x583690(0x1b3)](this[_0x583690(0x1ef)],_0x583690(0x1bd),(_0x33f7fb,_0x2e6e8b)=>{const _0x58fd6f=_0x583690;_0x44eaf9[_0x58fd6f(0x1ee)](_0x2e6e8b['id'])&&(_0x44eaf9[_0x58fd6f(0x1bb)](_0x2e6e8b['id'])[_0x58fd6f(0x1d8)]=_0x2e6e8b[_0x58fd6f(0x1d8)]);}),this[_0x583690(0x1ef)][_0x583690(0x1e5)](_0x3f3455[_0x583690(0x1e7)])[_0x583690(0x1e0)](_0x542ac3=>(_0x3f3455[_0x583690(0x1c4)](this),this[_0x583690(0x1d2)](_0x542ac3)[_0x583690(0x1e0)](()=>{const _0x21375c=_0x583690;for(const _0x2f87d1 of _0x542ac3){_0x44eaf9[_0x21375c(0x1ba)](_0x2f87d1)[_0x21375c(0x1ea)]=!0x0;}})));}async[_0x77beda(0x1cf)](){const _0x496617=_0x77beda,_0x2adbab=this[_0x496617(0x1f2)][_0x496617(0x1d6)][_0x496617(0x1f1)](_0x496617(0x1b8)),{connection:_0x2c4873}=this[_0x496617(0x1f2)][_0x496617(0x1d6)][_0x496617(0x1f1)](_0x28087f),_0x178b72=await this[_0x496617(0x1ef)][_0x496617(0x1e5)](_0x2c4873);await this[_0x496617(0x1d2)](_0x178b72);for(const {suggestionData:_0x45df4d,resolve:_0x42f123}of this[_0x496617(0x1f0)][_0x496617(0x1e9)]()){let _0xa7d2d=_0x178b72[_0x496617(0x1e6)](_0x566106=>_0x566106['id']===_0x45df4d['id']);_0xa7d2d||(_0xa7d2d=await this[_0x496617(0x1ef)][_0x496617(0x1d4)](_0x45df4d['id'],_0x45df4d[_0x496617(0x1e8)],_0x45df4d[_0x496617(0x1cc)],_0x45df4d[_0x496617(0x1e3)])),_0x42f123(_0xa7d2d);}for(const _0x1f5aae of _0x178b72)_0x2adbab[_0x496617(0x1ee)](_0x1f5aae['id'])||_0x2adbab[_0x496617(0x1ba)](_0x1f5aae);}async[_0x77beda(0x1be)](){const _0x49da39=_0x77beda;this[_0x49da39(0x1ef)][_0x49da39(0x1c9)]||await new Promise(_0x10b437=>{const _0x51c5e2=_0x49da39;this[_0x51c5e2(0x1b3)](this[_0x51c5e2(0x1ef)],_0x51c5e2(0x1e4),_0x4d8b9a=>{const _0x48a0a0=_0x51c5e2;_0x4d8b9a[_0x48a0a0(0x1de)](),_0x10b437();});});}async[_0x77beda(0x1d2)](_0x255f8e){const _0x1d1b52=_0x77beda,_0x43b2e1=this[_0x1d1b52(0x1f2)][_0x1d1b52(0x1d6)][_0x1d1b52(0x1f1)](_0x4b4f58),{connection:_0x5e0ed7}=this[_0x1d1b52(0x1f2)][_0x1d1b52(0x1d6)][_0x1d1b52(0x1f1)](_0x28087f),_0x37ad67=new Set();for(const {authorId:_0x103d4a}of _0x255f8e)_0x43b2e1[_0x1d1b52(0x1b6)](_0x103d4a)||_0x37ad67[_0x1d1b52(0x1d4)](_0x103d4a);if(0x0===_0x37ad67[_0x1d1b52(0x1da)])return;const _0x2921ed=await _0x4fd8c8[_0x1d1b52(0x1bf)](_0x5e0ed7,Array[_0x1d1b52(0x1d9)](_0x37ad67));for(const _0x329f08 of _0x2921ed)_0x43b2e1[_0x1d1b52(0x1b6)](_0x329f08['id'])||_0x43b2e1[_0x1d1b52(0x1b7)](_0x329f08);}}export{m as CloudServicesTrackChangesAdapter};function k(_0x17525c){if(q(_0x17525c))return new Promise(()=>{});throw _0x17525c;}function q(_0x587d2c){const _0x191ed3=_0x77beda;return _0x587d2c[_0x191ed3(0x1d5)][_0x191ed3(0x1c8)](_0x191ed3(0x1eb))||_0x587d2c[_0x191ed3(0x1d5)][_0x191ed3(0x1c8)](_0x191ed3(0x1dd));}
23
+ const _0x48f426=_0x3f97;function _0x3f97(_0x45c595,_0x5d61e4){const _0x592a61=_0x592a();return _0x3f97=function(_0x3f97b1,_0x4f4fa9){_0x3f97b1=_0x3f97b1-0x1b6;let _0x14932e=_0x592a61[_0x3f97b1];return _0x14932e;},_0x3f97(_0x45c595,_0x5d61e4);}function _0x592a(){const _0xca8463=['getMany','TrackChangesService','startsWith','values','29183lCaTwm','config','TrackChangesEditing','cloud-services-internal-error:\x20Request\x20timeout.','init','1836819RNwGgM','editor','connected','collaboration.channelId','data','9414968ShTpmS','listenTo','_waitForServiceReady','addUser','suggestionUpdated','getSuggestion','catch','getUser','3212691xEqFRo','state','adapter','then','_saved','_fetchMissingUsersForThreads','714ueuxMG','delete','74JaHGvg','type','size','pluginName','addSuggestionData','isConnected','reconnect','off','hasSuggestion','connection','plugins','addToReconnectionStack','requires','set','find','add','connect','isPremiumPlugin','CloudServicesTrackChangesAdapter','originalSuggestionId','cloud-services-internal-error:\x20Not\x20connected.','1427535cDdzQA','_bufferedRequests','open','from','20493psxzeb','1517584mhMEje','_trackChangesService','isOfficialPlugin','update','get','attributes','message'];_0x592a=function(){return _0xca8463;};return _0x592a();}(function(_0x3efcf4,_0x540420){const _0x4b0e41=_0x3f97,_0x2f0242=_0x3efcf4();while(!![]){try{const _0x3a1e73=-parseInt(_0x4b0e41(0x1dc))/0x1*(-parseInt(_0x4b0e41(0x1c3))/0x2)+parseInt(_0x4b0e41(0x1bb))/0x3+parseInt(_0x4b0e41(0x1dd))/0x4+parseInt(_0x4b0e41(0x1d8))/0x5+-parseInt(_0x4b0e41(0x1c1))/0x6*(parseInt(_0x4b0e41(0x1e8))/0x7)+-parseInt(_0x4b0e41(0x1f2))/0x8+-parseInt(_0x4b0e41(0x1ed))/0x9;if(_0x3a1e73===_0x540420)break;else _0x2f0242['push'](_0x2f0242['shift']());}catch(_0x104a50){_0x2f0242['push'](_0x2f0242['shift']());}}}(_0x592a,0x96a08));import{Plugin as _0x67ffe7}from'ckeditor5/src/core.js';import{User as _0xc87df9,TrackChangesService as _0x5ebc01}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x2583a4}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x6c5174}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x14693b}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x67ffe7{static [_0x48f426(0x1e5)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5ebc01)());[_0x48f426(0x1d9)];[_0x48f426(0x1de)];static get[_0x48f426(0x1cf)](){const _0x484034=_0x48f426;return[_0x6c5174,_0x484034(0x1ea),_0x2583a4];}static get[_0x48f426(0x1c6)](){const _0x3c39ce=_0x48f426;return _0x3c39ce(0x1d5);}static get[_0x48f426(0x1df)](){return!0x0;}static get[_0x48f426(0x1d4)](){return!0x0;}constructor(_0x4d0736){const _0x3cc49d=_0x48f426;super(_0x4d0736);const _0x4e355b=this[_0x3cc49d(0x1ee)][_0x3cc49d(0x1e9)][_0x3cc49d(0x1e1)](_0x3cc49d(0x1f0));this[_0x3cc49d(0x1d9)]=new Map(),this[_0x3cc49d(0x1de)]=new m[(_0x3cc49d(0x1e5))](_0x4e355b);}[_0x48f426(0x1ec)](){const _0x1c523d=_0x48f426,_0x447459=this[_0x1c523d(0x1ee)][_0x1c523d(0x1cd)][_0x1c523d(0x1e1)](_0x2583a4),_0x4bc3a3=this[_0x1c523d(0x1ee)][_0x1c523d(0x1cd)][_0x1c523d(0x1e1)](_0x1c523d(0x1ea));return _0x4bc3a3[_0x1c523d(0x1bd)]={'getSuggestion':async _0x21c8a6=>{const _0x59b236=_0x1c523d;await this[_0x59b236(0x1f4)]();const _0x4de177=await this[_0x59b236(0x1de)][_0x59b236(0x1e1)](_0x21c8a6)[_0x59b236(0x1b9)](it);return await this[_0x59b236(0x1c0)]([_0x4de177]),_0x4de177;},'addSuggestion':async({id:_0x2bdfb4,type:_0x3798d3,data:_0x4eaf33,originalSuggestionId:_0x405d5e,attributes:_0x111ad5})=>{const _0x15da04=_0x1c523d;await this[_0x15da04(0x1f4)]();const _0x9a6262={'id':_0x2bdfb4,'type':_0x3798d3,'data':_0x4eaf33,'originalSuggestionId':_0x405d5e,'attributes':_0x111ad5},_0x32a213=await this[_0x15da04(0x1de)][_0x15da04(0x1d2)](_0x2bdfb4,_0x3798d3,_0x4eaf33,_0x405d5e,_0x111ad5)[_0x15da04(0x1b9)](_0x29f5d2=>{if(P(_0x29f5d2))return new Promise(_0x4d8d78=>{const _0x26d679=_0x3f97;this[_0x26d679(0x1d9)][_0x26d679(0x1d0)](_0x2bdfb4,{'resolve':_0x4d8d78,'suggestionData':_0x9a6262});});throw _0x29f5d2;});return this[_0x15da04(0x1d9)][_0x15da04(0x1c2)](_0x2bdfb4),_0x32a213;},'updateSuggestion':async(_0x44ecd0,_0x40b715)=>{const _0x43ce93=_0x1c523d;if(await this[_0x43ce93(0x1f4)](),_0x43ce93(0x1da)!==_0x40b715[_0x43ce93(0x1bc)])return this[_0x43ce93(0x1de)][_0x43ce93(0x1e0)](_0x44ecd0,_0x40b715)[_0x43ce93(0x1b9)](it);}},this[_0x1c523d(0x1f3)](this[_0x1c523d(0x1de)],_0x1c523d(0x1b7),(_0x526b82,_0x3fe328)=>{const _0x2df60f=_0x1c523d;_0x4bc3a3[_0x2df60f(0x1cb)](_0x3fe328['id'])&&(_0x4bc3a3[_0x2df60f(0x1b8)](_0x3fe328['id'])[_0x2df60f(0x1e2)]=_0x3fe328[_0x2df60f(0x1e2)]);}),this[_0x1c523d(0x1de)][_0x1c523d(0x1d3)](_0x447459[_0x1c523d(0x1cc)])[_0x1c523d(0x1be)](_0x351a2c=>(_0x447459[_0x1c523d(0x1ce)](this),this[_0x1c523d(0x1c0)](_0x351a2c)[_0x1c523d(0x1be)](()=>{const _0x1e5ad3=_0x1c523d;for(const _0x184917 of _0x351a2c){_0x4bc3a3[_0x1e5ad3(0x1c7)](_0x184917)[_0x1e5ad3(0x1bf)]=!0x0;}})));}async[_0x48f426(0x1c9)](){const _0x4eb35d=_0x48f426,_0x2a02c4=this[_0x4eb35d(0x1ee)][_0x4eb35d(0x1cd)][_0x4eb35d(0x1e1)](_0x4eb35d(0x1ea)),{connection:_0x80ff89}=this[_0x4eb35d(0x1ee)][_0x4eb35d(0x1cd)][_0x4eb35d(0x1e1)](_0x2583a4),_0x116bad=await this[_0x4eb35d(0x1de)][_0x4eb35d(0x1d3)](_0x80ff89);await this[_0x4eb35d(0x1c0)](_0x116bad);for(const {suggestionData:_0x270ed4,resolve:_0x4e69d3}of this[_0x4eb35d(0x1d9)][_0x4eb35d(0x1e7)]()){let _0x2f3951=_0x116bad[_0x4eb35d(0x1d1)](_0x2fbc57=>_0x2fbc57['id']===_0x270ed4['id']);_0x2f3951||(_0x2f3951=await this[_0x4eb35d(0x1de)][_0x4eb35d(0x1d2)](_0x270ed4['id'],_0x270ed4[_0x4eb35d(0x1c4)],_0x270ed4[_0x4eb35d(0x1f1)],_0x270ed4[_0x4eb35d(0x1d6)])),_0x4e69d3(_0x2f3951);}for(const _0x44281b of _0x116bad)_0x2a02c4[_0x4eb35d(0x1cb)](_0x44281b['id'])||_0x2a02c4[_0x4eb35d(0x1c7)](_0x44281b);}async[_0x48f426(0x1f4)](){const _0x49ac48=_0x48f426;this[_0x49ac48(0x1de)][_0x49ac48(0x1c8)]||await new Promise(_0x1f51d9=>{const _0x2d90c8=_0x49ac48;this[_0x2d90c8(0x1f3)](this[_0x2d90c8(0x1de)],_0x2d90c8(0x1ef),_0x4bbcd0=>{const _0x45c38a=_0x2d90c8;_0x4bbcd0[_0x45c38a(0x1ca)](),_0x1f51d9();});});}async[_0x48f426(0x1c0)](_0x27226f){const _0x3c571f=_0x48f426,_0x2701a1=this[_0x3c571f(0x1ee)][_0x3c571f(0x1cd)][_0x3c571f(0x1e1)](_0x14693b),{connection:_0x429961}=this[_0x3c571f(0x1ee)][_0x3c571f(0x1cd)][_0x3c571f(0x1e1)](_0x2583a4),_0x5c188c=new Set();for(const {authorId:_0x8aee0}of _0x27226f)_0x2701a1[_0x3c571f(0x1ba)](_0x8aee0)||_0x5c188c[_0x3c571f(0x1d2)](_0x8aee0);if(0x0===_0x5c188c[_0x3c571f(0x1c5)])return;const _0x17e375=await _0xc87df9[_0x3c571f(0x1e4)](_0x429961,Array[_0x3c571f(0x1db)](_0x5c188c));for(const _0x115bf8 of _0x17e375)_0x2701a1[_0x3c571f(0x1ba)](_0x115bf8['id'])||_0x2701a1[_0x3c571f(0x1b6)](_0x115bf8);}}export{m as CloudServicesTrackChangesAdapter};function it(_0x5ada97){if(P(_0x5ada97))return new Promise(()=>{});throw _0x5ada97;}function P(_0x183fbd){const _0x56987b=_0x48f426;return _0x183fbd[_0x56987b(0x1e3)][_0x56987b(0x1e6)](_0x56987b(0x1d7))||_0x183fbd[_0x56987b(0x1e3)][_0x56987b(0x1e6)](_0x56987b(0x1eb));}