@ckeditor/ckeditor5-real-time-collaboration 44.1.0-alpha.3 → 44.1.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +9 -9
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x45f021=_0x24bc;(function(_0x3c9d19,_0x4ae459){const _0x46910f=_0x24bc,_0x48263b=_0x3c9d19();while(!![]){try{const _0x3757a4=-parseInt(_0x46910f(0x1b8))/0x1*(-parseInt(_0x46910f(0x1c3))/0x2)+-parseInt(_0x46910f(0x1aa))/0x3+-parseInt(_0x46910f(0x1f1))/0x4*(parseInt(_0x46910f(0x207))/0x5)+-parseInt(_0x46910f(0x209))/0x6+-parseInt(_0x46910f(0x1e6))/0x7+parseInt(_0x46910f(0x1e5))/0x8+-parseInt(_0x46910f(0x1d7))/0x9*(-parseInt(_0x46910f(0x1bd))/0xa);if(_0x3757a4===_0x4ae459)break;else _0x48263b['push'](_0x48263b['shift']());}catch(_0x5de93b){_0x48263b['push'](_0x48263b['shift']());}}}(_0x3b88,0xc4f9a));import{ContextPlugin as _0xb20566}from'ckeditor5/src/core.js';import{CKEditorError as _0xd1ff54,Collection as _0x4ef149}from'ckeditor5/src/utils.js';function _0x3b88(){const _0x370e0c=['presenceDropdownView','detachFromDom','locale','79158oMMYyx','view','Tab','_allConnectedUsers','offsetHeight','bind','sort','using','requires','_handleUserRemove','isMe','_bodyCollection','remove','execute','10NKFVAI','presencelist-collapseat-invalid-format','number','currentDisplayedUsers','select','12910cHnlSp','counterView','pin','presenceList.container','isCollapsed','button','284790EZkdnT','isRendered','activeElement','presencelist-missing-container','indexOf','tabIndex','reverse','unpin','hideDropdown','checkIfScrollable','change:isFocused','presenceList.displayMe','content','ck\x20ck-presence-list__balloon','bindTo','isVisible','Esc','destroy','balloonPanelView','querySelectorAll','11133YItQFs','map','showDropdown','filter','class','isExpanded','appendChild','input','body','isFocusable','join','offsetWidth','plugins','onClick','2413184lfSSqc','2991604ELmLcr','textarea','context','get','isHidden','_createView','focus','displayMe','hasTooltip','[contenteditable]','focusTracker','11048HKMvBM','set','presenceList','allConnectedUsers','inlineListView','listenTo','init',':not([disabled]):not([tabindex=\x22-1\x22])','usersCount','items','[tabindex]','_handleUserAdd','from','min','Shift+Tab','Enter','presenceList.collapseAt','keystrokes','add','attachToDom','element','config','2715mOVqLx','define','3373386FzXJnO','render','length'];_0x3b88=function(){return _0x370e0c;};return _0x3b88();}import{clickOutsideHandler as _0x21392f,BalloonPanelView as _0x17ee9f,BodyCollection as _0x4adca6}from'ckeditor5/src/ui.js';import{isElement as _0x547f34}from'lodash-es';import _0x8880b4 from'../realtimecollaborativeediting/sessions.js';import _0x4f7ed5 from'./view/presencelistview.js';import _0x3f2898 from'./view/presencedropdownlistview.js';function _0x24bc(_0x569220,_0x718519){const _0x3b8860=_0x3b88();return _0x24bc=function(_0x24bcf6,_0x271813){_0x24bcf6=_0x24bcf6-0x1a9;let _0x2bd6cf=_0x3b8860[_0x24bcf6];return _0x2bd6cf;},_0x24bc(_0x569220,_0x718519);}import _0x145af7 from'./view/presencedropdownlistitemview.js';import _0x191a5a from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class r extends _0xb20566{constructor(_0x4e323f){const _0x141b87=_0x24bc;super(_0x4e323f),this[_0x141b87(0x1b5)]=null,this[_0x141b87(0x1e8)][_0x141b87(0x206)][_0x141b87(0x208)](_0x141b87(0x1f3),A);const _0x2f8525=_0x4e323f[_0x141b87(0x206)][_0x141b87(0x1e9)](_0x141b87(0x201));if(_0x141b87(0x1ba)!=typeof _0x2f8525)throw new _0xd1ff54(_0x141b87(0x1b9),this);if(_0x2f8525<0x1)throw new _0xd1ff54(_0x141b87(0x1b9),this);this[_0x141b87(0x1ad)]=this[_0x141b87(0x1e8)][_0x141b87(0x1e3)][_0x141b87(0x1e9)](_0x8880b4)[_0x141b87(0x1f4)],this[_0x141b87(0x1f2)](_0x141b87(0x1f9),0x0),this[_0x141b87(0x1bb)]=new _0x4ef149(),this[_0x141b87(0x1d5)]=new _0x17ee9f(),this[_0x141b87(0x1d5)][_0x141b87(0x1db)]=_0x141b87(0x1d0),this[_0x141b87(0x1ab)]=this[_0x141b87(0x1eb)](),this[_0x141b87(0x20c)]=void 0x0;}static get[_0x45f021(0x1b2)](){return[_0x8880b4];}[_0x45f021(0x1f7)](){const _0x268cfd=_0x45f021;for(const _0x5b91b3 of this[_0x268cfd(0x1ad)])this[_0x268cfd(0x1fc)](_0x5b91b3);this[_0x268cfd(0x1f6)](this[_0x268cfd(0x1ad)],_0x268cfd(0x203),(_0x1bae57,_0x3cfbf0)=>{const _0x2ca8ef=_0x268cfd;this[_0x2ca8ef(0x1fc)](_0x3cfbf0);}),this[_0x268cfd(0x1f6)](this[_0x268cfd(0x1ad)],_0x268cfd(0x1b6),(_0x417713,_0x684571)=>{const _0x5eba48=_0x268cfd;this[_0x5eba48(0x1b3)](_0x684571);});}[_0x45f021(0x1eb)](){const _0x37b30b=_0x45f021,_0x229ae3=this[_0x37b30b(0x1e8)],_0x913452=new _0x4f7ed5(this[_0x37b30b(0x1e8)][_0x37b30b(0x1a9)]),_0x2c6f33=this[_0x37b30b(0x1d5)];if(!_0x547f34(_0x229ae3[_0x37b30b(0x206)][_0x37b30b(0x1e9)](_0x37b30b(0x1c0))))throw new _0xd1ff54(_0x37b30b(0x1c6),this);return _0x913452[_0x37b30b(0x1be)][_0x37b30b(0x1af)](_0x37b30b(0x1f9))['to'](this),_0x913452[_0x37b30b(0x1af)](_0x37b30b(0x1c1))['to'](this,_0x37b30b(0x1f9),_0x3139e8=>{const _0x3fc7a8=_0x37b30b,{collapseAt:_0x268c93,displayMe:_0x396b26}=_0x229ae3[_0x3fc7a8(0x206)][_0x3fc7a8(0x1e9)](_0x3fc7a8(0x1f3)),_0x19951b=_0x3139e8>=_0x268c93;return _0x913452[_0x3fc7a8(0x1be)][_0x3fc7a8(0x1ea)]=!(0x1==_0x3139e8&&_0x396b26||_0x19951b),_0x19951b||this[_0x3fc7a8(0x1cb)](),_0x19951b;}),_0x913452[_0x37b30b(0x1f5)][_0x37b30b(0x1fa)][_0x37b30b(0x1d1)](this[_0x37b30b(0x1bb)])[_0x37b30b(0x1b1)](_0x5f35a7=>{const _0x45fe18=_0x37b30b,_0x5b9aef=_0x229ae3[_0x45fe18(0x206)][_0x45fe18(0x1e9)](_0x45fe18(0x1f3)),_0x464d15=new _0x191a5a(_0x229ae3[_0x45fe18(0x1a9)],_0x5f35a7,!!_0x5b9aef[_0x45fe18(0x1e4)]);return _0x464d15[_0x45fe18(0x1af)](_0x45fe18(0x1ee))['to'](_0x913452,_0x45fe18(0x1c1),_0x11c3c8=>!_0x11c3c8),_0x464d15[_0x45fe18(0x1af)](_0x45fe18(0x1e0))['to'](_0x913452,_0x45fe18(0x1c1),_0x4a67e0=>!_0x4a67e0),_0x5b9aef[_0x45fe18(0x1e4)]&&this[_0x45fe18(0x1f6)](_0x464d15,_0x45fe18(0x1b7),()=>{const _0x4c998f=_0x45fe18;this[_0x4c998f(0x1ab)][_0x4c998f(0x1c1)]||_0x5b9aef[_0x4c998f(0x1e4)](_0x5f35a7,_0x464d15[_0x4c998f(0x205)]);}),_0x464d15;}),this[_0x37b30b(0x1f6)](_0x913452[_0x37b30b(0x1f5)],_0x37b30b(0x1b7),()=>{const _0x3fda20=_0x37b30b;this[_0x3fda20(0x20c)]?this[_0x3fda20(0x1cb)]():this[_0x3fda20(0x1ab)][_0x3fda20(0x1c1)]&&this[_0x3fda20(0x1d9)]();}),_0x913452[_0x37b30b(0x1f5)][_0x37b30b(0x202)][_0x37b30b(0x1f2)](_0x37b30b(0x200),(_0x49106b,_0x94d00a)=>{const _0x340b18=_0x37b30b;this[_0x340b18(0x1ab)][_0x340b18(0x1c1)]&&(this[_0x340b18(0x1d9)](),_0x94d00a());}),_0x913452[_0x37b30b(0x20a)](),_0x2c6f33[_0x37b30b(0x20a)](),_0x21392f({'emitter':_0x913452,'activator':()=>_0x2c6f33[_0x37b30b(0x1d2)],'contextElements':[_0x2c6f33[_0x37b30b(0x205)],_0x913452[_0x37b30b(0x1f5)][_0x37b30b(0x205)]],'callback':()=>this[_0x37b30b(0x1cb)]()}),_0x229ae3[_0x37b30b(0x206)][_0x37b30b(0x1e9)](_0x37b30b(0x1c0))[_0x37b30b(0x1dd)](_0x913452[_0x37b30b(0x205)]),this[_0x37b30b(0x1b5)]=new _0x4adca6(this[_0x37b30b(0x1e8)][_0x37b30b(0x1a9)]),this[_0x37b30b(0x1b5)][_0x37b30b(0x204)](),this[_0x37b30b(0x1b5)][_0x37b30b(0x203)](this[_0x37b30b(0x1d5)]),_0x913452;}[_0x45f021(0x1fc)](_0x9f396f){const _0x3c0330=_0x45f021;if(!this[_0x3c0330(0x1e8)][_0x3c0330(0x206)][_0x3c0330(0x1e9)](_0x3c0330(0x1ce))&&_0x9f396f[_0x3c0330(0x1b4)])return;const _0xffb7b8=this[_0x3c0330(0x1e8)][_0x3c0330(0x206)][_0x3c0330(0x1e9)](_0x3c0330(0x201))-0x1;this[_0x3c0330(0x1f9)]++,this[_0x3c0330(0x1bb)][_0x3c0330(0x20b)]==_0xffb7b8&&this[_0x3c0330(0x1bb)][_0x3c0330(0x20b)]>0x1&&this[_0x3c0330(0x1bb)][_0x3c0330(0x1b6)](0x1);const _0x4081d2=_0x9f396f[_0x3c0330(0x1b4)]?0x0:this[_0x3c0330(0x1bb)][_0x3c0330(0x20b)];this[_0x3c0330(0x1bb)][_0x3c0330(0x203)](_0x9f396f,_0x4081d2);}[_0x45f021(0x1b3)](_0x490d57){const _0x14fb38=_0x45f021;if(this[_0x14fb38(0x1f9)]--,this[_0x14fb38(0x1bb)][_0x14fb38(0x1e9)](_0x490d57['id'])&&(this[_0x14fb38(0x1bb)][_0x14fb38(0x1b6)](_0x490d57['id']),this[_0x14fb38(0x1bb)][_0x14fb38(0x20b)]<this[_0x14fb38(0x1f9)])){for(const _0x2752c5 of Array[_0x14fb38(0x1fd)](this[_0x14fb38(0x1ad)])[_0x14fb38(0x1c9)]())if(!this[_0x14fb38(0x1bb)][_0x14fb38(0x1e9)](_0x2752c5['id']))return void this[_0x14fb38(0x1bb)][_0x14fb38(0x203)](_0x2752c5,Math[_0x14fb38(0x1fe)](this[_0x14fb38(0x1bb)][_0x14fb38(0x20b)],0x1));}}[_0x45f021(0x1d9)](){const _0x2654f9=_0x45f021;if(this[_0x2654f9(0x20c)])return;const _0x29a365=this[_0x2654f9(0x1e8)][_0x2654f9(0x206)][_0x2654f9(0x1e9)](_0x2654f9(0x1f3));this[_0x2654f9(0x20c)]=new _0x3f2898(this[_0x2654f9(0x1e8)][_0x2654f9(0x1a9)],!!_0x29a365[_0x2654f9(0x1e4)]),this[_0x2654f9(0x1ab)][_0x2654f9(0x1f5)][_0x2654f9(0x1dc)]=!0x0;const {listWrapperView:_0x59b934}=this[_0x2654f9(0x20c)];_0x59b934[_0x2654f9(0x1fa)][_0x2654f9(0x1d1)](this[_0x2654f9(0x1ad)])[_0x2654f9(0x1b1)](_0x2be9b1=>{const _0x6d34bd=_0x2654f9;if(!_0x29a365[_0x6d34bd(0x1ed)]&&_0x2be9b1[_0x6d34bd(0x1b4)])return null;const _0x38b13f=new _0x145af7(this[_0x6d34bd(0x1e8)][_0x6d34bd(0x1a9)],_0x2be9b1,!!_0x29a365[_0x6d34bd(0x1e4)]);return _0x29a365[_0x6d34bd(0x1e4)]&&this[_0x6d34bd(0x1f6)](_0x38b13f,_0x6d34bd(0x1b7),()=>{const _0x8e8daa=_0x6d34bd;_0x29a365[_0x8e8daa(0x1e4)](_0x2be9b1,_0x38b13f[_0x8e8daa(0x205)]);}),_0x38b13f;}),this[_0x2654f9(0x1d5)][_0x2654f9(0x1cf)][_0x2654f9(0x203)](this[_0x2654f9(0x20c)]),this[_0x2654f9(0x1d5)][_0x2654f9(0x1bf)]({'target':this[_0x2654f9(0x1ab)][_0x2654f9(0x1f5)][_0x2654f9(0x205)]}),_0x59b934[_0x2654f9(0x1ec)](),_0x59b934[_0x2654f9(0x1cc)]();const _0x37d624=(_0x24a17a,_0xff2fad)=>{const _0x8af397=_0x2654f9;this[_0x8af397(0x1cb)](),this[_0x8af397(0x1ab)][_0x8af397(0x1f5)][_0x8af397(0x1ec)](),_0xff2fad();};_0x59b934[_0x2654f9(0x202)][_0x2654f9(0x1f2)](_0x2654f9(0x1d3),_0x37d624),_0x59b934[_0x2654f9(0x202)][_0x2654f9(0x1f2)](_0x2654f9(0x1ff),_0x37d624),_0x59b934[_0x2654f9(0x202)][_0x2654f9(0x1f2)](_0x2654f9(0x1ac),(_0x41a1b2,_0x24cdc6)=>{const _0x2d3da2=_0x2654f9;!function(_0x51bd85){const _0x16642d=_0x24bc,_0x13c311=['a',_0x16642d(0x1c2),_0x16642d(0x1de),_0x16642d(0x1bc),_0x16642d(0x1e7),_0x16642d(0x1fb),_0x16642d(0x1ef)][_0x16642d(0x1d8)](_0x182622=>_0x182622+_0x16642d(0x1f8))[_0x16642d(0x1e1)](','),_0x499576=[...document[_0x16642d(0x1df)][_0x16642d(0x1d6)](_0x13c311)][_0x16642d(0x1da)](_0x31db6b=>_0x31db6b===document[_0x16642d(0x1c5)]||_0x31db6b[_0x16642d(0x1e2)]+_0x31db6b[_0x16642d(0x1ae)]>0x0)[_0x16642d(0x1b0)]((_0x55b935,_0x158777)=>(_0x55b935[_0x16642d(0x1c8)]||0x0)-(_0x158777[_0x16642d(0x1c8)]||0x0)),_0x327ccc=_0x499576[_0x16642d(0x1c7)](_0x51bd85),_0x577ed3=_0x499576[(_0x327ccc+0x1)%_0x499576[_0x16642d(0x20b)]];_0x577ed3&&_0x577ed3[_0x16642d(0x1ec)]();}(this[_0x2d3da2(0x1ab)][_0x2d3da2(0x205)]),this[_0x2d3da2(0x1cb)](),_0x24cdc6();}),_0x59b934[_0x2654f9(0x1f0)][_0x2654f9(0x203)](this[_0x2654f9(0x1ab)][_0x2654f9(0x205)]),_0x59b934[_0x2654f9(0x1f0)]['on'](_0x2654f9(0x1cd),(_0x147b91,_0x1a4ff6,_0x30374a)=>{const _0x2443a5=_0x2654f9;_0x30374a||this[_0x2443a5(0x1cb)]();});}[_0x45f021(0x1cb)](){const _0x372a4c=_0x45f021;this[_0x372a4c(0x20c)]&&(this[_0x372a4c(0x1ab)][_0x372a4c(0x1f5)][_0x372a4c(0x1dc)]=!0x1,this[_0x372a4c(0x1d5)][_0x372a4c(0x1ca)](),this[_0x372a4c(0x1d5)][_0x372a4c(0x1cf)][_0x372a4c(0x1b6)](this[_0x372a4c(0x20c)]),this[_0x372a4c(0x20c)][_0x372a4c(0x1d4)](),this[_0x372a4c(0x20c)]=void 0x0);}[_0x45f021(0x1d4)](){const _0x51cb76=_0x45f021;super[_0x51cb76(0x1d4)](),this[_0x51cb76(0x1ab)]&&this[_0x51cb76(0x1ab)][_0x51cb76(0x1c4)]&&this[_0x51cb76(0x1ab)][_0x51cb76(0x1d4)](),this[_0x51cb76(0x1b5)]&&(this[_0x51cb76(0x1b5)][_0x51cb76(0x20d)](),this[_0x51cb76(0x1b5)][_0x51cb76(0x1d4)](),this[_0x51cb76(0x1b5)]=null);}}
|
|
23
|
+
function _0x3aa2(_0x65484e,_0x2626df){const _0x464491=_0x4644();return _0x3aa2=function(_0x3aa2df,_0x405b2d){_0x3aa2df=_0x3aa2df-0xc5;let _0x5e01c8=_0x464491[_0x3aa2df];return _0x5e01c8;},_0x3aa2(_0x65484e,_0x2626df);}const _0x4c7107=_0x3aa2;(function(_0x4ebe88,_0x57137c){const _0x2a1522=_0x3aa2,_0xf39d66=_0x4ebe88();while(!![]){try{const _0x142ba2=parseInt(_0x2a1522(0x123))/0x1+parseInt(_0x2a1522(0xd3))/0x2*(-parseInt(_0x2a1522(0x102))/0x3)+-parseInt(_0x2a1522(0xcb))/0x4*(-parseInt(_0x2a1522(0x125))/0x5)+parseInt(_0x2a1522(0x116))/0x6*(parseInt(_0x2a1522(0x11b))/0x7)+parseInt(_0x2a1522(0xeb))/0x8+-parseInt(_0x2a1522(0x10a))/0x9+-parseInt(_0x2a1522(0xf1))/0xa*(parseInt(_0x2a1522(0x105))/0xb);if(_0x142ba2===_0x57137c)break;else _0xf39d66['push'](_0xf39d66['shift']());}catch(_0x382d8a){_0xf39d66['push'](_0xf39d66['shift']());}}}(_0x4644,0xa146d));import{ContextPlugin as _0x4b6c6d}from'ckeditor5/src/core.js';import{CKEditorError as _0x55fc17,Collection as _0x852af7}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x4a248c,BalloonPanelView as _0x1f90e3,BodyCollection as _0x319e3c}from'ckeditor5/src/ui.js';import{isElement as _0x3830e7}from'lodash-es';import _0x23f6cb from'../realtimecollaborativeediting/sessions.js';function _0x4644(){const _0x3fc8b1=['querySelectorAll','presenceList.collapseAt','change:isFocused','class','619576FZIIwL','presencelist-missing-container','get','plugins','hideDropdown','init','appendChild','inlineListView','515798JISCKw','Shift+Tab','[tabindex]','requires','focusTracker','activeElement','checkIfScrollable','locale','ck\x20ck-presence-list__balloon','body','pin','config','number','map','length','add','usersCount',':not([disabled]):not([tabindex=\x22-1\x22])','isMe','render','isRendered','from','_handleUserAdd','bind','5966632KEiInb','offsetWidth','attachToDom','join','using','indexOf','2020kVYazv','presencelist-collapseat-invalid-format','unpin','_createView','content','presenceDropdownView','items','onClick','tabIndex','listenTo','Enter','presenceList','Esc','filter','context','element','_handleUserRemove','15qqujJY','isCollapsed','view','6666mhztzd','textarea','min','bindTo','counterView','6167169ZYHzkw','sort','remove','presenceList.displayMe','keystrokes','isFocusable','button','detachFromDom','presenceList.container','_bodyCollection','offsetHeight','Tab','3527184nPanoy','input','isVisible','execute','set','7bhcBzf','isExpanded','currentDisplayedUsers','showDropdown','[contenteditable]','_allConnectedUsers','balloonPanelView','isHidden','1269150JpFoTw','define','5YmoUKQ','reverse','hasTooltip','select','displayMe','focus','destroy','allConnectedUsers'];_0x4644=function(){return _0x3fc8b1;};return _0x4644();}import _0x4c73a3 from'./view/presencelistview.js';import _0x5b42b3 from'./view/presencedropdownlistview.js';import _0x45b22b from'./view/presencedropdownlistitemview.js';import _0x5b8c5d from'./view/presenceinlinelistitemview.js';const ot={'collapseAt':0x6,'displayMe':!0x0};export default class r extends _0x4b6c6d{constructor(_0x4feec2){const _0x22ab52=_0x3aa2;super(_0x4feec2),this[_0x22ab52(0x113)]=null,this[_0x22ab52(0xff)][_0x22ab52(0xde)][_0x22ab52(0x124)](_0x22ab52(0xfc),ot);const _0x49fc99=_0x4feec2[_0x22ab52(0xde)][_0x22ab52(0xcd)](_0x22ab52(0xc8));if(_0x22ab52(0xdf)!=typeof _0x49fc99)throw new _0x55fc17(_0x22ab52(0xf2),this);if(_0x49fc99<0x1)throw new _0x55fc17(_0x22ab52(0xf2),this);this[_0x22ab52(0x120)]=this[_0x22ab52(0xff)][_0x22ab52(0xce)][_0x22ab52(0xcd)](_0x23f6cb)[_0x22ab52(0xc6)],this[_0x22ab52(0x11a)](_0x22ab52(0xe3),0x0),this[_0x22ab52(0x11d)]=new _0x852af7(),this[_0x22ab52(0x121)]=new _0x1f90e3(),this[_0x22ab52(0x121)][_0x22ab52(0xca)]=_0x22ab52(0xdb),this[_0x22ab52(0x104)]=this[_0x22ab52(0xf4)](),this[_0x22ab52(0xf6)]=void 0x0;}static get[_0x4c7107(0xd6)](){return[_0x23f6cb];}[_0x4c7107(0xd0)](){const _0x54dc47=_0x4c7107;for(const _0x2658ae of this[_0x54dc47(0x120)])this[_0x54dc47(0xe9)](_0x2658ae);this[_0x54dc47(0xfa)](this[_0x54dc47(0x120)],_0x54dc47(0xe2),(_0x2534dc,_0x4010e5)=>{const _0x523f2a=_0x54dc47;this[_0x523f2a(0xe9)](_0x4010e5);}),this[_0x54dc47(0xfa)](this[_0x54dc47(0x120)],_0x54dc47(0x10c),(_0x56cea2,_0x188567)=>{const _0x159f56=_0x54dc47;this[_0x159f56(0x101)](_0x188567);});}[_0x4c7107(0xf4)](){const _0x5238de=_0x4c7107,_0x4789cb=this[_0x5238de(0xff)],_0x31472e=new _0x4c73a3(this[_0x5238de(0xff)][_0x5238de(0xda)]),_0x3fb5a5=this[_0x5238de(0x121)];if(!_0x3830e7(_0x4789cb[_0x5238de(0xde)][_0x5238de(0xcd)](_0x5238de(0x112))))throw new _0x55fc17(_0x5238de(0xcc),this);return _0x31472e[_0x5238de(0x109)][_0x5238de(0xea)](_0x5238de(0xe3))['to'](this),_0x31472e[_0x5238de(0xea)](_0x5238de(0x103))['to'](this,_0x5238de(0xe3),_0x337184=>{const _0x5cdff0=_0x5238de,{collapseAt:_0x268873,displayMe:_0x46ec6e}=_0x4789cb[_0x5cdff0(0xde)][_0x5cdff0(0xcd)](_0x5cdff0(0xfc)),_0x141a2b=_0x337184>=_0x268873;return _0x31472e[_0x5cdff0(0x109)][_0x5cdff0(0x122)]=!(0x1==_0x337184&&_0x46ec6e||_0x141a2b),_0x141a2b||this[_0x5cdff0(0xcf)](),_0x141a2b;}),_0x31472e[_0x5238de(0xd2)][_0x5238de(0xf7)][_0x5238de(0x108)](this[_0x5238de(0x11d)])[_0x5238de(0xef)](_0x3fb6b=>{const _0x4ff875=_0x5238de,_0x33ea5b=_0x4789cb[_0x4ff875(0xde)][_0x4ff875(0xcd)](_0x4ff875(0xfc)),_0x368f54=new _0x5b8c5d(_0x4789cb[_0x4ff875(0xda)],_0x3fb6b,!!_0x33ea5b[_0x4ff875(0xf8)]);return _0x368f54[_0x4ff875(0xea)](_0x4ff875(0x127))['to'](_0x31472e,_0x4ff875(0x103),_0x2bb4fd=>!_0x2bb4fd),_0x368f54[_0x4ff875(0xea)](_0x4ff875(0x10f))['to'](_0x31472e,_0x4ff875(0x103),_0x26403c=>!_0x26403c),_0x33ea5b[_0x4ff875(0xf8)]&&this[_0x4ff875(0xfa)](_0x368f54,_0x4ff875(0x119),()=>{const _0x4fe6dd=_0x4ff875;this[_0x4fe6dd(0x104)][_0x4fe6dd(0x103)]||_0x33ea5b[_0x4fe6dd(0xf8)](_0x3fb6b,_0x368f54[_0x4fe6dd(0x100)]);}),_0x368f54;}),this[_0x5238de(0xfa)](_0x31472e[_0x5238de(0xd2)],_0x5238de(0x119),()=>{const _0x8d19a2=_0x5238de;this[_0x8d19a2(0xf6)]?this[_0x8d19a2(0xcf)]():this[_0x8d19a2(0x104)][_0x8d19a2(0x103)]&&this[_0x8d19a2(0x11e)]();}),_0x31472e[_0x5238de(0xd2)][_0x5238de(0x10e)][_0x5238de(0x11a)](_0x5238de(0xfb),(_0xa2425d,_0x2d4647)=>{const _0x7d2875=_0x5238de;this[_0x7d2875(0x104)][_0x7d2875(0x103)]&&(this[_0x7d2875(0x11e)](),_0x2d4647());}),_0x31472e[_0x5238de(0xe6)](),_0x3fb5a5[_0x5238de(0xe6)](),_0x4a248c({'emitter':_0x31472e,'activator':()=>_0x3fb5a5[_0x5238de(0x118)],'contextElements':[_0x3fb5a5[_0x5238de(0x100)],_0x31472e[_0x5238de(0xd2)][_0x5238de(0x100)]],'callback':()=>this[_0x5238de(0xcf)]()}),_0x4789cb[_0x5238de(0xde)][_0x5238de(0xcd)](_0x5238de(0x112))[_0x5238de(0xd1)](_0x31472e[_0x5238de(0x100)]),this[_0x5238de(0x113)]=new _0x319e3c(this[_0x5238de(0xff)][_0x5238de(0xda)]),this[_0x5238de(0x113)][_0x5238de(0xed)](),this[_0x5238de(0x113)][_0x5238de(0xe2)](this[_0x5238de(0x121)]),_0x31472e;}[_0x4c7107(0xe9)](_0x26c00c){const _0x556e46=_0x4c7107;if(!this[_0x556e46(0xff)][_0x556e46(0xde)][_0x556e46(0xcd)](_0x556e46(0x10d))&&_0x26c00c[_0x556e46(0xe5)])return;const _0x56788e=this[_0x556e46(0xff)][_0x556e46(0xde)][_0x556e46(0xcd)](_0x556e46(0xc8))-0x1;this[_0x556e46(0xe3)]++,this[_0x556e46(0x11d)][_0x556e46(0xe1)]==_0x56788e&&this[_0x556e46(0x11d)][_0x556e46(0xe1)]>0x1&&this[_0x556e46(0x11d)][_0x556e46(0x10c)](0x1);const _0x45aec5=_0x26c00c[_0x556e46(0xe5)]?0x0:this[_0x556e46(0x11d)][_0x556e46(0xe1)];this[_0x556e46(0x11d)][_0x556e46(0xe2)](_0x26c00c,_0x45aec5);}[_0x4c7107(0x101)](_0x53a999){const _0x214298=_0x4c7107;if(this[_0x214298(0xe3)]--,this[_0x214298(0x11d)][_0x214298(0xcd)](_0x53a999['id'])&&(this[_0x214298(0x11d)][_0x214298(0x10c)](_0x53a999['id']),this[_0x214298(0x11d)][_0x214298(0xe1)]<this[_0x214298(0xe3)])){for(const _0x21fcad of Array[_0x214298(0xe8)](this[_0x214298(0x120)])[_0x214298(0x126)]())if(!this[_0x214298(0x11d)][_0x214298(0xcd)](_0x21fcad['id']))return void this[_0x214298(0x11d)][_0x214298(0xe2)](_0x21fcad,Math[_0x214298(0x107)](this[_0x214298(0x11d)][_0x214298(0xe1)],0x1));}}[_0x4c7107(0x11e)](){const _0x2d80ec=_0x4c7107;if(this[_0x2d80ec(0xf6)])return;const _0x2525ae=this[_0x2d80ec(0xff)][_0x2d80ec(0xde)][_0x2d80ec(0xcd)](_0x2d80ec(0xfc));this[_0x2d80ec(0xf6)]=new _0x5b42b3(this[_0x2d80ec(0xff)][_0x2d80ec(0xda)],!!_0x2525ae[_0x2d80ec(0xf8)]),this[_0x2d80ec(0x104)][_0x2d80ec(0xd2)][_0x2d80ec(0x11c)]=!0x0;const {listWrapperView:_0x166a7e}=this[_0x2d80ec(0xf6)];_0x166a7e[_0x2d80ec(0xf7)][_0x2d80ec(0x108)](this[_0x2d80ec(0x120)])[_0x2d80ec(0xef)](_0x1efb34=>{const _0x264707=_0x2d80ec;if(!_0x2525ae[_0x264707(0x129)]&&_0x1efb34[_0x264707(0xe5)])return null;const _0x198660=new _0x45b22b(this[_0x264707(0xff)][_0x264707(0xda)],_0x1efb34,!!_0x2525ae[_0x264707(0xf8)]);return _0x2525ae[_0x264707(0xf8)]&&this[_0x264707(0xfa)](_0x198660,_0x264707(0x119),()=>{const _0x31a5b0=_0x264707;_0x2525ae[_0x31a5b0(0xf8)](_0x1efb34,_0x198660[_0x31a5b0(0x100)]);}),_0x198660;}),this[_0x2d80ec(0x121)][_0x2d80ec(0xf5)][_0x2d80ec(0xe2)](this[_0x2d80ec(0xf6)]),this[_0x2d80ec(0x121)][_0x2d80ec(0xdd)]({'target':this[_0x2d80ec(0x104)][_0x2d80ec(0xd2)][_0x2d80ec(0x100)]}),_0x166a7e[_0x2d80ec(0x12a)](),_0x166a7e[_0x2d80ec(0xd9)]();const _0xc45875=(_0x79ace8,_0x560130)=>{const _0x32328d=_0x2d80ec;this[_0x32328d(0xcf)](),this[_0x32328d(0x104)][_0x32328d(0xd2)][_0x32328d(0x12a)](),_0x560130();};_0x166a7e[_0x2d80ec(0x10e)][_0x2d80ec(0x11a)](_0x2d80ec(0xfd),_0xc45875),_0x166a7e[_0x2d80ec(0x10e)][_0x2d80ec(0x11a)](_0x2d80ec(0xd4),_0xc45875),_0x166a7e[_0x2d80ec(0x10e)][_0x2d80ec(0x11a)](_0x2d80ec(0x115),(_0x1c31ed,_0x2a39b3)=>{const _0x9ea1ed=_0x2d80ec;!function(_0x35ee99){const _0x547cb7=_0x3aa2,_0x5c2657=['a',_0x547cb7(0x110),_0x547cb7(0x117),_0x547cb7(0x128),_0x547cb7(0x106),_0x547cb7(0xd5),_0x547cb7(0x11f)][_0x547cb7(0xe0)](_0xfe0b30=>_0xfe0b30+_0x547cb7(0xe4))[_0x547cb7(0xee)](','),_0x423386=[...document[_0x547cb7(0xdc)][_0x547cb7(0xc7)](_0x5c2657)][_0x547cb7(0xfe)](_0x355244=>_0x355244===document[_0x547cb7(0xd8)]||_0x355244[_0x547cb7(0xec)]+_0x355244[_0x547cb7(0x114)]>0x0)[_0x547cb7(0x10b)]((_0x4c532a,_0x2278ac)=>(_0x4c532a[_0x547cb7(0xf9)]||0x0)-(_0x2278ac[_0x547cb7(0xf9)]||0x0)),_0x54ac34=_0x423386[_0x547cb7(0xf0)](_0x35ee99),_0x4f60cb=_0x423386[(_0x54ac34+0x1)%_0x423386[_0x547cb7(0xe1)]];_0x4f60cb&&_0x4f60cb[_0x547cb7(0x12a)]();}(this[_0x9ea1ed(0x104)][_0x9ea1ed(0x100)]),this[_0x9ea1ed(0xcf)](),_0x2a39b3();}),_0x166a7e[_0x2d80ec(0xd7)][_0x2d80ec(0xe2)](this[_0x2d80ec(0x104)][_0x2d80ec(0x100)]),_0x166a7e[_0x2d80ec(0xd7)]['on'](_0x2d80ec(0xc9),(_0x35051d,_0x43dc1a,_0x438738)=>{const _0xc859df=_0x2d80ec;_0x438738||this[_0xc859df(0xcf)]();});}[_0x4c7107(0xcf)](){const _0x1b3c3d=_0x4c7107;this[_0x1b3c3d(0xf6)]&&(this[_0x1b3c3d(0x104)][_0x1b3c3d(0xd2)][_0x1b3c3d(0x11c)]=!0x1,this[_0x1b3c3d(0x121)][_0x1b3c3d(0xf3)](),this[_0x1b3c3d(0x121)][_0x1b3c3d(0xf5)][_0x1b3c3d(0x10c)](this[_0x1b3c3d(0xf6)]),this[_0x1b3c3d(0xf6)][_0x1b3c3d(0xc5)](),this[_0x1b3c3d(0xf6)]=void 0x0);}[_0x4c7107(0xc5)](){const _0x14c399=_0x4c7107;super[_0x14c399(0xc5)](),this[_0x14c399(0x104)]&&this[_0x14c399(0x104)][_0x14c399(0xe7)]&&this[_0x14c399(0x104)][_0x14c399(0xc5)](),this[_0x14c399(0x113)]&&(this[_0x14c399(0x113)][_0x14c399(0x111)](),this[_0x14c399(0x113)][_0x14c399(0xc5)](),this[_0x14c399(0x113)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x397292,_0x30dc70){const _0x2b9859=_0x2317,_0x11f886=_0x397292();while(!![]){try{const _0x530405=parseInt(_0x2b9859(0x18b))/0x1+parseInt(_0x2b9859(0x189))/0x2*(-parseInt(_0x2b9859(0x18a))/0x3)+-parseInt(_0x2b9859(0x187))/0x4+-parseInt(_0x2b9859(0x18f))/0x5+-parseInt(_0x2b9859(0x182))/0x6+parseInt(_0x2b9859(0x188))/0x7*(parseInt(_0x2b9859(0x183))/0x8)+parseInt(_0x2b9859(0x192))/0x9;if(_0x530405===_0x30dc70)break;else _0x11f886['push'](_0x11f886['shift']());}catch(_0x202542){_0x11f886['push'](_0x11f886['shift']());}}}(_0x5bd9,0xcc6fa));function _0x5bd9(){const _0x19256e=['isHidden','setTemplate','ck-presence-list__counter','6026496tqtMPZ','7bZiUKp','482vRgzTK','18831bELaNj','1423119wQvslF','set','CONNECTED_USERS','ck-presence-list__counter--hidden','1420810SRHCmE','bindTemplate','usersCount','16465005HwOuCy','div','2353428TfnPgO','10244696MAlCpM'];_0x5bd9=function(){return _0x19256e;};return _0x5bd9();}import{View as _0xde4135}from'ckeditor5/src/ui.js';function _0x2317(_0xc9d02a,_0x43327f){const _0x5bd9d4=_0x5bd9();return _0x2317=function(_0x231734,_0x292228){_0x231734=_0x231734-0x181;let _0x420358=_0x5bd9d4[_0x231734];return _0x420358;},_0x2317(_0xc9d02a,_0x43327f);}import{getTranslation as _0x315fc5}from'../../common-translations.js';export default class ts extends _0xde4135{constructor(_0x1b9d13){const _0x180ffa=_0x2317;super(_0x1b9d13);const _0x1064e1=this[_0x180ffa(0x190)];this[_0x180ffa(0x18c)](_0x180ffa(0x191),0x0),this[_0x180ffa(0x18c)](_0x180ffa(0x184),!0x0),this[_0x180ffa(0x185)]({'tag':_0x180ffa(0x181),'attributes':{'class':['ck',_0x180ffa(0x186),_0x1064e1['if'](_0x180ffa(0x184),_0x180ffa(0x18e))]},'children':[{'text':_0x1064e1['to'](_0x180ffa(0x191),_0x2d6e26=>_0x315fc5(_0x1b9d13,_0x180ffa(0x18d),_0x2d6e26))}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x441ce0=_0x331b;(function(_0xc0efd6,_0x3305b2){const _0xbaabbb=_0x331b,_0x14b63e=_0xc0efd6();while(!![]){try{const _0x458bac=parseInt(_0xbaabbb(0x143))/0x1+parseInt(_0xbaabbb(0x14a))/0x2+parseInt(_0xbaabbb(0x139))/0x3+-parseInt(_0xbaabbb(0x13e))/0x4*(parseInt(_0xbaabbb(0x141))/0x5)+parseInt(_0xbaabbb(0x148))/0x6*(parseInt(_0xbaabbb(0x14d))/0x7)+-parseInt(_0xbaabbb(0x147))/0x8*(-parseInt(_0xbaabbb(0x14c))/0x9)+-parseInt(_0xbaabbb(0x151))/0xa*(parseInt(_0xbaabbb(0x142))/0xb);if(_0x458bac===_0x3305b2)break;else _0x14b63e['push'](_0x14b63e['shift']());}catch(_0x50ec2e){_0x14b63e['push'](_0x14b63e['shift']());}}}(_0xee03,0x7460e));import{ListItemView as _0x3f7104}from'ckeditor5/src/ui.js';import{UserView as _0x283f51}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x331b(_0x26769f,_0xe1b92e){const _0xee037=_0xee03();return _0x331b=function(_0x331b28,_0x3c316c){_0x331b28=_0x331b28-0x139;let _0x2e0665=_0xee037[_0x331b28];return _0x2e0665;},_0x331b(_0x26769f,_0xe1b92e);}export default class ht extends _0x3f7104{constructor(_0x2c21d9,_0x1a83e8,_0x1faac6){const _0x1e71f4=_0x331b;super(_0x2c21d9);const _0x376d62=this[_0x1e71f4(0x144)];this[_0x1e71f4(0x14b)]=new _0x283f51(_0x2c21d9,_0x1a83e8);const _0xc45715={'tag':'li','attributes':{'class':['ck',_0x1e71f4(0x13a)],'tabindex':-0x1,'role':_0x1e71f4(0x152),'aria-label':_0x1a83e8[_0x1e71f4(0x153)]},'children':[this[_0x1e71f4(0x14b)],{'tag':_0x1e71f4(0x155),'attributes':{'class':['ck',_0x1e71f4(0x140)]},'children':[{'text':_0x1a83e8[_0x1e71f4(0x153)]}]},{'tag':_0x1e71f4(0x155),'attributes':{'class':['ck',_0x1e71f4(0x14e),_0x1a83e8[_0x1e71f4(0x13b)][_0x1e71f4(0x150)]()],'aria-hidden':_0x1e71f4(0x14f)}}]};_0x1faac6&&(_0xc45715[_0x1e71f4(0x154)]=_0x1e71f4(0x145),_0xc45715['on']={'click':_0x376d62['to'](()=>this[_0x1e71f4(0x13c)](_0x1e71f4(0x13f)))}),this[_0x1e71f4(0x13d)](_0xc45715);}[_0x441ce0(0x146)](){const _0x33b831=_0x441ce0;this[_0x33b831(0x149)][_0x33b831(0x146)]();}}function _0xee03(){const _0x3ab460=['ck-presence-list__marker','true','getBackgroundColorClass','12717580lbyRYp','presentation','name','tag','span','997581rRJKIR','ck-presence-list__dropdown-list-item','color','fire','setTemplate','4BkKTpD','execute','ck-user__full-name','295385pMSTxV','22YTyBnF','750248uRNfUk','bindTemplate','button','focus','376fJIhDi','6906ubKZCU','element','779084sJsqik','userView','166437IYcceA','4487aCCIfZ'];_0xee03=function(){return _0x3ab460;};return _0xee03();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b94f8=_0xc9b1;function _0xc9b1(_0x2820dd,_0x23a5fa){const _0x365257=_0x3652();return _0xc9b1=function(_0xc9b135,_0x1ccafe){_0xc9b135=_0xc9b135-0x1ba;let _0x34212b=_0x365257[_0xc9b135];return _0x34212b;},_0xc9b1(_0x2820dd,_0x23a5fa);}(function(_0x54259e,_0x275361){const _0x22ec87=_0xc9b1,_0x126480=_0x54259e();while(!![]){try{const _0x15225f=parseInt(_0x22ec87(0x1df))/0x1*(-parseInt(_0x22ec87(0x1d8))/0x2)+parseInt(_0x22ec87(0x1d4))/0x3*(parseInt(_0x22ec87(0x1d3))/0x4)+-parseInt(_0x22ec87(0x1be))/0x5+-parseInt(_0x22ec87(0x1c8))/0x6+-parseInt(_0x22ec87(0x1c2))/0x7+parseInt(_0x22ec87(0x1ce))/0x8*(-parseInt(_0x22ec87(0x1c4))/0x9)+parseInt(_0x22ec87(0x1d7))/0xa;if(_0x15225f===_0x275361)break;else _0x126480['push'](_0x126480['shift']());}catch(_0x1cd027){_0x126480['push'](_0x126480['shift']());}}}(_0x3652,0xba4ab));import{ListView as _0x542c23,View as _0x1e781f}from'ckeditor5/src/ui.js';function _0x3652(){const _0x196cad=['Connected\x20users\x20list\x20dropdown\x20menu','bindTemplate','282812FlVnxx','ck-presence-list__dropdown-list-wrapper_scrollable','ck-presence-list__dropdown-list-wrapper','resize','items','3734230rezjSi','window','ck-reset','render','4883879RSyMtV','listWrapperView','1516392KCOmEJ','ck-presence-list__dropdown-list','checkIfScrollable','ariaLabel','1696464gAehFO','div','setTemplate','element','change','max','24reEtud','ck-list','set','clientHeight','_isScrollable','76wiyiwG','14049ldsxNH','application','role','37552610VWekRS','6wcRImN','ariaLabelledBy','innerHeight','scrollHeight','listenTo'];_0x3652=function(){return _0x196cad;};return _0x3652();}import{global as _0x230c3b}from'ckeditor5/src/utils.js';import{getTranslation as _0x2a8062}from'../../common-translations.js';export default class et extends _0x1e781f{constructor(_0xbd4597,_0x4c79ff){const _0x3f393a=_0xc9b1;super(_0xbd4597),this[_0x3f393a(0x1c3)]=new PresenceDropdownListWrapperView(_0xbd4597,_0x4c79ff),this[_0x3f393a(0x1ca)]({'tag':_0x3f393a(0x1c9),'attributes':{'tabindex':-0x1,'role':_0x3f393a(0x1d5),'class':['ck',_0x3f393a(0x1c5)],'aria-label':_0x2a8062(_0xbd4597,_0x3f393a(0x1dd))},'children':[this[_0x3f393a(0x1c3)]]});}}export class PresenceDropdownListWrapperView extends _0x542c23{constructor(_0x2a00a1,_0x267a27){const _0x360c39=_0xc9b1;super(_0x2a00a1);const _0x46e992=this[_0x360c39(0x1de)];this[_0x360c39(0x1d0)](_0x360c39(0x1d2),!0x1),this[_0x360c39(0x1ca)]({'tag':_0x267a27?_0x360c39(0x1c9):'ul','attributes':{'class':['ck',_0x360c39(0x1c0),_0x360c39(0x1cf),_0x360c39(0x1bb),_0x46e992['if'](_0x360c39(0x1d2),_0x360c39(0x1ba))],'role':_0x46e992['to'](_0x360c39(0x1d6)),'aria-label':_0x46e992['to'](_0x360c39(0x1c7)),'aria-labelledby':_0x46e992['to'](_0x360c39(0x1d9))},'children':this[_0x360c39(0x1bd)]}),this[_0x360c39(0x1dc)](_0x230c3b[_0x360c39(0x1bf)],_0x360c39(0x1bc),()=>this[_0x360c39(0x1c6)]()),this[_0x360c39(0x1bd)]['on'](_0x360c39(0x1cc),()=>this[_0x360c39(0x1c6)]());}[_0x2b94f8(0x1c1)](){const _0x359fc2=_0x2b94f8;super[_0x359fc2(0x1c1)](),this[_0x359fc2(0x1c6)]();}[_0x2b94f8(0x1c6)](){const _0x49370c=_0x2b94f8,_0x203617=this[_0x49370c(0x1cb)];_0x203617&&(this[_0x49370c(0x1d2)]=Math[_0x49370c(0x1cd)](_0x203617[_0x49370c(0x1db)],_0x203617[_0x49370c(0x1d1)])>0.8*window[_0x49370c(0x1da)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x13b1bd,_0x59ff8c){const _0x58e63e=_0x3db6,_0x170156=_0x13b1bd();while(!![]){try{const _0x4a0b8d=parseInt(_0x58e63e(0x207))/0x1+parseInt(_0x58e63e(0x1f2))/0x2+parseInt(_0x58e63e(0x1ec))/0x3*(parseInt(_0x58e63e(0x1ea))/0x4)+-parseInt(_0x58e63e(0x1f9))/0x5+parseInt(_0x58e63e(0x1ee))/0x6+parseInt(_0x58e63e(0x1f5))/0x7*(-parseInt(_0x58e63e(0x209))/0x8)+-parseInt(_0x58e63e(0x206))/0x9;if(_0x4a0b8d===_0x59ff8c)break;else _0x170156['push'](_0x170156['shift']());}catch(_0x375587){_0x170156['push'](_0x170156['shift']());}}}(_0x4287,0xb03e6));import{LabelView as _0x566ee9,View as _0x12daef}from'ckeditor5/src/ui.js';function _0x3db6(_0x53bf1b,_0x2d7e41){const _0x4287b0=_0x4287();return _0x3db6=function(_0x3db6c1,_0x27ce6e){_0x3db6c1=_0x3db6c1-0x1ea;let _0x5bf01b=_0x4287b0[_0x3db6c1];return _0x5bf01b;},_0x3db6(_0x53bf1b,_0x2d7e41);}import{UserView as _0x35ef1c}from'ckeditor5-collaboration/src/collaboration-core.js';export default class rt extends _0x12daef{constructor(_0x2e0c5d,_0x54febf,_0x33d6b3){const _0x10a215=_0x3db6;super(_0x2e0c5d);const _0x60311b=this[_0x10a215(0x204)];this[_0x10a215(0x1fb)](_0x10a215(0x1f1),!0x1),this[_0x10a215(0x1fb)](_0x10a215(0x1f6),!0x0),this[_0x10a215(0x1fb)](_0x10a215(0x1fa),''),this[_0x10a215(0x1f0)]=new _0x35ef1c(_0x2e0c5d,_0x54febf),this[_0x10a215(0x1ef)]=new pt(_0x2e0c5d,_0x54febf);const _0x4949a8=new _0x566ee9(_0x2e0c5d);_0x4949a8[_0x10a215(0x1eb)][_0x10a215(0x202)]=_0x10a215(0x1f8),_0x4949a8[_0x10a215(0x200)]=_0x54febf[_0x10a215(0x208)];const _0x353b5d={'tag':_0x10a215(0x201),'attributes':{'class':['ck',_0x10a215(0x20a)],'role':_0x10a215(0x1f7),'tabindex':_0x60311b['to'](_0x10a215(0x1f1),_0x39f94a=>!!_0x39f94a&&0x0),'aria-labelledby':_0x4949a8['id'],'data-cke-tooltip-text':this[_0x10a215(0x1f0)][_0x10a215(0x208)],'data-cke-tooltip-position':_0x60311b['to'](_0x10a215(0x1fa)),'data-cke-tooltip-disabled':_0x60311b['to'](_0x10a215(0x1f6),_0x45eb64=>!_0x45eb64),'data-cke-tooltip-class':_0x10a215(0x1f4)},'children':[this[_0x10a215(0x1f0)],this[_0x10a215(0x1ef)],_0x4949a8]};_0x33d6b3&&(_0x353b5d[_0x10a215(0x202)]=_0x10a215(0x1fd),_0x353b5d['on']={'click':_0x60311b['to'](()=>this[_0x10a215(0x1fc)](_0x10a215(0x1ff)))}),this[_0x10a215(0x203)](_0x353b5d);}}class pt extends _0x12daef{constructor(_0x406509,_0x30190a){const _0x3c63c3=_0x3db6;super(_0x406509),this[_0x3c63c3(0x203)]({'tag':_0x3c63c3(0x1f8),'attributes':{'class':['ck',_0x3c63c3(0x1f3),_0x30190a[_0x3c63c3(0x1ed)][_0x3c63c3(0x1fe)]()],'aria-hidden':_0x3c63c3(0x205)}});}}function _0x4287(){const _0xfbbfb6=['span','2398760iPkvhN','tooltipPosition','set','fire','button','getBackgroundColorClass','execute','text','div','tag','setTemplate','bindTemplate','true','7308216PbXRMc','1118056QRsCSQ','name','1533352dsYCNW','ck-presence-list__list-item','24bFaTTq','template','590913TpWKnO','color','2317554jwcwXr','markerView','userView','isFocusable','571748NftMyv','ck-presence-list__marker','ck-presence-list__list-item__tooltip','35pqTexM','hasTooltip','listitem'];_0x4287=function(){return _0xfbbfb6;};return _0x4287();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x24be28=_0x502d;(function(_0x32ee5a,_0x597d74){const _0x1097c4=_0x502d,_0x5e711a=_0x32ee5a();while(!![]){try{const _0x302ad9=parseInt(_0x1097c4(0x119))/0x1*(-parseInt(_0x1097c4(0x11b))/0x2)+parseInt(_0x1097c4(0x128))/0x3*(-parseInt(_0x1097c4(0x126))/0x4)+-parseInt(_0x1097c4(0x115))/0x5+parseInt(_0x1097c4(0x131))/0x6*(parseInt(_0x1097c4(0x111))/0x7)+-parseInt(_0x1097c4(0x12d))/0x8+parseInt(_0x1097c4(0x12e))/0x9*(parseInt(_0x1097c4(0x112))/0xa)+-parseInt(_0x1097c4(0x118))/0xb*(-parseInt(_0x1097c4(0x127))/0xc);if(_0x302ad9===_0x597d74)break;else _0x5e711a['push'](_0x5e711a['shift']());}catch(_0x2ab212){_0x5e711a['push'](_0x5e711a['shift']());}}}(_0x736a,0x40fa5));function _0x502d(_0x4a530b,_0x108aa4){const _0x736a92=_0x736a();return _0x502d=function(_0x502df9,_0x3b0880){_0x502df9=_0x502df9-0x110;let _0x5e9385=_0x736a92[_0x502df9];return _0x5e9385;},_0x502d(_0x4a530b,_0x108aa4);}import{View as _0x179fb2}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x4d8dfd}from'ckeditor5/src/utils.js';function _0x736a(){const _0x5bf021=['121080SuzKHP','12828qpeipV','36rdEgFA','Connected\x20users\x20list','setAttribute','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','fire','3273104tvhSTx','9aUngHV','removeAttribute','div','36bAFaOe','ck-presence-list__list','createCollection','240457AVtytr','2791820oNSlDB','items','setTemplate','694155gcegHe','hasPopup','isExpanded','8767IZcgyg','443sPGPmf','aria-expanded','722pfcNRA','bindTemplate','keystrokes','set','focus','change:hasPopup','execute','list','element','render','listenTo'];_0x736a=function(){return _0x5bf021;};return _0x736a();}import{getTranslation as _0x1c752c}from'../../common-translations.js';export default class es extends _0x179fb2{constructor(_0x571a21){const _0x533750=_0x502d;super(_0x571a21);const _0x15fd7d=this[_0x533750(0x11c)];this[_0x533750(0x113)]=this[_0x533750(0x110)](),this[_0x533750(0x11d)]=new _0x4d8dfd(),this[_0x533750(0x11e)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x533750(0x114)]({'tag':_0x533750(0x130),'attributes':{'aria-haspopup':_0x15fd7d['if'](_0x533750(0x116)),'aria-expanded':_0x15fd7d['to'](_0x533750(0x117),_0x5a0c31=>this[_0x533750(0x116)]&&String(_0x5a0c31)),'aria-label':_0x15fd7d['to'](_0x533750(0x116),_0x9acd68=>_0x1c752c(_0x571a21,_0x9acd68?_0x533750(0x12b):_0x533750(0x129))),'role':_0x533750(0x122),'tabindex':_0x15fd7d['to'](_0x533750(0x116),_0x83876a=>!!_0x83876a&&0x0),'class':['ck',_0x533750(0x132)]},'children':this[_0x533750(0x113)],'on':{'click':_0x15fd7d['to'](()=>this[_0x533750(0x12c)](_0x533750(0x121)))}}),this['on'](_0x533750(0x120),(_0x57da01,_0x3dbd73,_0x109989)=>{const _0xe9fa93=_0x533750;this[_0xe9fa93(0x123)]&&(_0x109989?this[_0xe9fa93(0x123)][_0xe9fa93(0x12a)](_0xe9fa93(0x11a),String(this[_0xe9fa93(0x117)])):this[_0xe9fa93(0x123)][_0xe9fa93(0x12f)](_0xe9fa93(0x11a)));});}[_0x24be28(0x11f)](){const _0x52f181=_0x24be28;this[_0x52f181(0x123)][_0x52f181(0x11f)]();}[_0x24be28(0x124)](){const _0x355bc3=_0x24be28;super[_0x355bc3(0x124)](),this[_0x355bc3(0x11d)][_0x355bc3(0x125)](this[_0x355bc3(0x123)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x19cef6,_0x54b07e){const _0x3a1f8f=_0x35c9,_0x3e84ba=_0x19cef6();while(!![]){try{const _0x4d35f0=-parseInt(_0x3a1f8f(0x14d))/0x1*(parseInt(_0x3a1f8f(0x139))/0x2)+parseInt(_0x3a1f8f(0x140))/0x3*(parseInt(_0x3a1f8f(0x153))/0x4)+-parseInt(_0x3a1f8f(0x148))/0x5*(parseInt(_0x3a1f8f(0x141))/0x6)+-parseInt(_0x3a1f8f(0x142))/0x7*(parseInt(_0x3a1f8f(0x155))/0x8)+parseInt(_0x3a1f8f(0x13c))/0x9+-parseInt(_0x3a1f8f(0x14f))/0xa*(parseInt(_0x3a1f8f(0x13b))/0xb)+parseInt(_0x3a1f8f(0x151))/0xc;if(_0x4d35f0===_0x54b07e)break;else _0x3e84ba['push'](_0x3e84ba['shift']());}catch(_0x319724){_0x3e84ba['push'](_0x3e84ba['shift']());}}}(_0x16e6,0x43ebf));import{View as _0x376806}from'ckeditor5/src/ui.js';import _0x5adb48 from'./presencecounterview.js';import _0x344b41 from'./presenceinlinelistview.js';function _0x35c9(_0x56aa76,_0x2cd806){const _0x16e636=_0x16e6();return _0x35c9=function(_0x35c9a5,_0x13a8cf){_0x35c9a5=_0x35c9a5-0x138;let _0x801e30=_0x16e636[_0x35c9a5];return _0x801e30;},_0x35c9(_0x56aa76,_0x2cd806);}import'../../../theme/presencelist.css';function _0x16e6(){const _0x11683c=['inlineListView','counterView','hasPopup','11939TGWpUe','items','10Chqvfx','ck-reset','9281664jTHhsT','listenTo','4228OTpoSZ','bindTemplate','368JtANEL','tooltipPosition','locale','66TZkwAS','ck-presence-list','4450127zvQVLd','4579749dsSytS','first','isCollapsed','bind','1182VZudWk','24FHjGlR','69664HzSbyc','div','set','change','ck-presence-list--collapsed','ck-rounded-corners','205310JSUupi','setTemplate'];_0x16e6=function(){return _0x11683c;};return _0x16e6();}export default class it extends _0x376806{constructor(_0x367752){const _0x173d7a=_0x35c9;super(_0x367752);const _0x28fe7c=this[_0x173d7a(0x154)];this[_0x173d7a(0x144)](_0x173d7a(0x13e),!0x0),this[_0x173d7a(0x14b)]=new _0x5adb48(this[_0x173d7a(0x138)]),this[_0x173d7a(0x14a)]=new _0x344b41(_0x367752),this[_0x173d7a(0x14a)][_0x173d7a(0x13f)](_0x173d7a(0x14c))['to'](this,_0x173d7a(0x13e)),this[_0x173d7a(0x152)](this[_0x173d7a(0x14a)][_0x173d7a(0x14e)],_0x173d7a(0x145),()=>{const _0x753590=_0x173d7a;for(const _0x402608 of this[_0x753590(0x14a)][_0x753590(0x14e)])_0x402608[_0x753590(0x156)]='s';this[_0x753590(0x14a)][_0x753590(0x14e)][_0x753590(0x13d)]&&(this[_0x753590(0x14a)][_0x753590(0x14e)][_0x753590(0x13d)][_0x753590(0x156)]='se');}),this[_0x173d7a(0x149)]({'tag':_0x173d7a(0x143),'attributes':{'class':['ck',_0x173d7a(0x13a),_0x173d7a(0x150),_0x173d7a(0x147),_0x28fe7c['if'](_0x173d7a(0x13e),_0x173d7a(0x146))]},'children':[this[_0x173d7a(0x14b)],this[_0x173d7a(0x14a)]]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2764b6=_0x3192;(function(_0xce4c21,_0x39f77c){const _0x9dd6c5=_0x3192,_0x5dfe47=_0xce4c21();while(!![]){try{const _0x3db30f=-parseInt(_0x9dd6c5(0xfd))/0x1*(-parseInt(_0x9dd6c5(0x123))/0x2)+-parseInt(_0x9dd6c5(0x12c))/0x3*(-parseInt(_0x9dd6c5(0x15a))/0x4)+-parseInt(_0x9dd6c5(0x110))/0x5+parseInt(_0x9dd6c5(0x148))/0x6+-parseInt(_0x9dd6c5(0x14d))/0x7+parseInt(_0x9dd6c5(0x113))/0x8*(-parseInt(_0x9dd6c5(0x109))/0x9)+-parseInt(_0x9dd6c5(0x11a))/0xa*(-parseInt(_0x9dd6c5(0x146))/0xb);if(_0x3db30f===_0x39f77c)break;else _0x5dfe47['push'](_0x5dfe47['shift']());}catch(_0x1b1160){_0x5dfe47['push'](_0x5dfe47['shift']());}}}(_0x3f48,0xb9f66));import{Context as _0x59a996,ContextPlugin as _0x367c25}from'ckeditor5/src/core.js';import{CKEditorError as _0x29cbcf}from'ckeditor5/src/utils.js';function _0x3f48(){const _0x2d041f=['reopenCommentThread','566pYuKFz','content','isOfficialPlugin','connect','add','addCommentThread','resolve','get','createdAt','1956jflqdv','commentThreadAdded','isPremiumPlugin','comments','setPermissions','userId','commentThreadResolved','commentAdded','keys','getMany','404','attributes','getCommentThreads','adapter','commentUpdated','commentThreadReopened','from','cloud-services-internal-error:\x20Request\x20timeout.','cloudservicescommentsadapter-service-not-exist','addUser','sessionAdd:','getComment','_services','updateCommentThread','_terminateService','authorId','4118092xFscJv','commentId','2727276AItQGK','listenTo','CommentsService','_getService','addComment','8632568VcULmv','unregister','register','requires','context','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','cloudservicescommentsadapter-disconnect-not-exist','updateComment','commentThreadId','addToReconnectionStack','Permissions','_fetchMissingUsersForThreads','permissions','2924daAial','size','off','commentThreadRemoved','has','getUser','cloudservicescommentsadapter-connect-already-connected','reconnect','catch','commentRemoved','3999gmZfPw','assign','removeCommentThread','map','set','getCommentThread','reopen','resolvedBy','pluginName','config','getConnectedSessions','disconnect','11034CQWjDM','update','removeComment','_setUpService','commentThreadUpdated','startsWith','mySessionId','3678885gsUFwD','deletedAt','_connectService','528smsvAz','code','plugins','cloud-services-internal-error:\x20Not\x20connected.','message','destroy','CloudServicesCommentsAdapter','20WwchnG','CommentsRepository','init','resolveCommentThread','resolvedAt','delete','collaboration.channelId','remove'];_0x3f48=function(){return _0x2d041f;};return _0x3f48();}import{Users as _0x4ccbb7}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x40b115,User as _0x29dbbe}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x3c0af8 from'../realtimecollaborativeediting/websocketgateway.js';function _0x3192(_0x1bc7ce,_0xd95bc0){const _0x3f4855=_0x3f48();return _0x3192=function(_0x3192e2,_0x2e0ca7){_0x3192e2=_0x3192e2-0xfc;let _0x53549f=_0x3f4855[_0x3192e2];return _0x53549f;},_0x3192(_0x1bc7ce,_0xd95bc0);}import _0x51f4c1 from'../realtimecollaborativeediting/sessions.js';class a extends _0x367c25{static get[_0x2764b6(0x150)](){const _0xb1e84d=_0x2764b6;return[_0x3c0af8,_0xb1e84d(0x11b),_0x51f4c1,_0x4ccbb7];}static get[_0x2764b6(0x105)](){const _0x38f464=_0x2764b6;return _0x38f464(0x119);}static get[_0x2764b6(0x125)](){return!0x0;}static get[_0x2764b6(0x12e)](){return!0x0;}constructor(_0x1e7868){const _0x42ccf1=_0x2764b6;super(_0x1e7868),this[_0x42ccf1(0x142)]=new Map();}async[_0x2764b6(0x11c)](){const _0x575a74=_0x2764b6,_0x4b3a81=this[_0x575a74(0x151)],_0x33468c=_0x4b3a81[_0x575a74(0x115)][_0x575a74(0x12a)](_0x575a74(0x11b));if(_0x4b3a81[_0x575a74(0x115)][_0x575a74(0x12a)](_0x3c0af8)[_0x575a74(0x156)](this),_0x33468c[_0x575a74(0x139)]={'addCommentThread':async({channelId:_0x1ff3a8,threadId:_0x441775,comments:_0xdaffa6,resolvedAt:_0x5068fe,resolvedBy:_0x23db89,context:_0x4adb10,attributes:_0x340312})=>{const _0x1a06f9=_0x575a74,_0x2f1d56=await this[_0x1a06f9(0x14b)](_0x1ff3a8)[_0x1a06f9(0x128)]({'commentThreadId':_0x441775,'comments':_0xdaffa6[_0x1a06f9(0x100)](_0x4c755f=>function(_0x354bdc,_0x26c65e,_0x23eb63){const _0x7e9b4=_0x1a06f9;return{'commentThreadId':_0x23eb63,'commentId':_0x354bdc[_0x7e9b4(0x147)],'userId':_0x354bdc[_0x7e9b4(0x145)],'content':_0x354bdc[_0x7e9b4(0x124)],'documentId':_0x26c65e,'createdAt':_0x354bdc[_0x7e9b4(0x12b)],'attributes':_0x354bdc[_0x7e9b4(0x137)]||{}};}(_0x4c755f,_0x1ff3a8,_0x441775)),'resolvedAt':_0x5068fe,'resolvedBy':_0x23db89,'context':_0x4adb10,'attributes':_0x340312})[_0x1a06f9(0x162)](R);return{'threadId':_0x2f1d56[_0x1a06f9(0x155)],'comments':_0x2f1d56[_0x1a06f9(0x12f)]};},'getCommentThread':async({channelId:_0x37ba81,threadId:_0x4c21b0})=>{const _0x52ec14=_0x575a74,_0x4ebfa5=await this[_0x52ec14(0x14b)](_0x37ba81)[_0x52ec14(0x102)](_0x4c21b0)[_0x52ec14(0x162)](R);return _0x4ebfa5[_0x52ec14(0x111)]?null:(await this[_0x52ec14(0x158)]([_0x4ebfa5]),{'threadId':_0x4ebfa5[_0x52ec14(0x155)],'comments':_0x4ebfa5[_0x52ec14(0x12f)][_0x52ec14(0x100)](S),'context':_0x4ebfa5[_0x52ec14(0x151)],'resolvedAt':_0x4ebfa5[_0x52ec14(0x11e)],'resolvedBy':_0x4ebfa5[_0x52ec14(0x104)],'attributes':_0x4ebfa5[_0x52ec14(0x137)]||{}});},'updateCommentThread':async({channelId:_0x2bf279,threadId:_0x4a3fa1,context:_0x44cf0c,unlinkedAt:_0x27f0a7,attributes:_0x1b636d})=>this[_0x575a74(0x14b)](_0x2bf279)[_0x575a74(0x143)]({'commentThreadId':_0x4a3fa1,'context':_0x44cf0c,'attributes':_0x1b636d,'unlinkedAt':_0x27f0a7})[_0x575a74(0x162)](B)[_0x575a74(0x162)](R),'resolveCommentThread':async({channelId:_0x2e8fa9,threadId:_0x257c86})=>{const _0x36a052=_0x575a74,_0x3781b2=await this[_0x36a052(0x14b)](_0x2e8fa9)[_0x36a052(0x11d)](_0x257c86)[_0x36a052(0x162)](B)[_0x36a052(0x162)](R);return{'threadId':_0x3781b2[_0x36a052(0x155)],'resolvedAt':_0x3781b2[_0x36a052(0x11e)],'resolvedBy':_0x3781b2[_0x36a052(0x104)]};},'reopenCommentThread':async({channelId:_0x2b3fd5,threadId:_0x4d6a26})=>this[_0x575a74(0x14b)](_0x2b3fd5)[_0x575a74(0x122)](_0x4d6a26)[_0x575a74(0x162)](B)[_0x575a74(0x162)](R),'removeCommentThread':({channelId:_0xba385d,threadId:_0x4e34a5})=>this[_0x575a74(0x14b)](_0xba385d)[_0x575a74(0xff)](_0x4e34a5)[_0x575a74(0x162)](B)[_0x575a74(0x162)](R),'addComment':({channelId:_0x15c97e,threadId:_0x30c7f9,commentId:_0x4d9fbc,content:_0x45d1ec,attributes:_0x56a8ed})=>this[_0x575a74(0x14b)](_0x15c97e)[_0x575a74(0x14c)](_0x30c7f9,_0x4d9fbc,_0x45d1ec,_0x56a8ed)[_0x575a74(0x162)](R),'updateComment':({channelId:_0x37346c,threadId:_0x1411b4,commentId:_0x3556db,content:_0x3832d4,attributes:_0xa03258})=>this[_0x575a74(0x14b)](_0x37346c)[_0x575a74(0x154)](_0x1411b4,_0x3556db,_0x3832d4,_0xa03258)[_0x575a74(0x162)](B)[_0x575a74(0x162)](R),'removeComment':({channelId:_0xb064c1,threadId:_0x45a126,commentId:_0x29969d})=>this[_0x575a74(0x14b)](_0xb064c1)[_0x575a74(0x10b)](_0x45a126,_0x29969d)[_0x575a74(0x162)](B)[_0x575a74(0x162)](R)},_0x4b3a81 instanceof _0x59a996){const _0x17f219=_0x4b3a81[_0x575a74(0x106)][_0x575a74(0x12a)](_0x575a74(0x120)),_0x1b2d7e=_0x4b3a81[_0x575a74(0x115)][_0x575a74(0x12a)](_0x51f4c1);await this[_0x575a74(0x10c)](_0x17f219);const _0x1b4c17=await this[_0x575a74(0x142)][_0x575a74(0x12a)](_0x17f219)[_0x575a74(0x107)]();this[_0x575a74(0x149)](_0x1b2d7e,_0x575a74(0x140)+_0x17f219,(_0x4e8736,{session:_0x28adc8})=>{const _0x490112=_0x575a74;_0x28adc8['id']===_0x1b2d7e[_0x490112(0x10f)]&&(_0x4e8736[_0x490112(0x15c)](),this[_0x490112(0x151)][_0x490112(0x115)][_0x490112(0x12a)](_0x490112(0x157))[_0x490112(0x130)](_0x28adc8[_0x490112(0x159)],_0x17f219));}),_0x1b2d7e[_0x575a74(0x14f)](_0x17f219,_0x1b4c17);}}async[_0x2764b6(0x10c)](_0x351a61){const _0x12d316=_0x2764b6;if(this[_0x12d316(0x142)][_0x12d316(0x15e)](_0x351a61))throw new _0x29cbcf(_0x12d316(0x160),null,{'channelId':_0x351a61});const _0x18f8e0=this[_0x12d316(0x151)][_0x12d316(0x115)][_0x12d316(0x12a)](_0x12d316(0x11b)),_0x3013d8=new a[(_0x12d316(0x14a))](_0x351a61);this[_0x12d316(0x142)][_0x12d316(0x101)](_0x351a61,_0x3013d8),this[_0x12d316(0x149)](_0x3013d8,_0x12d316(0x12d),(_0x886e41,_0x31fcad)=>{const _0x3cb6c2=_0x12d316,{commentThreadId:_0x52f54,documentId:_0x3ef190,context:_0x1bfef2,attributes:_0x356fe3,resolvedAt:_0x50f6cb,resolvedBy:_0x32cb15,comments:_0x270f8a}=_0x31fcad;_0x18f8e0[_0x3cb6c2(0x102)](_0x52f54)||_0x18f8e0[_0x3cb6c2(0x128)]({'threadId':_0x52f54,'channelId':_0x3ef190,'comments':_0x270f8a?_0x270f8a[_0x3cb6c2(0x100)](S):[],'context':_0x1bfef2,'attributes':_0x356fe3,'resolvedAt':_0x50f6cb,'resolvedBy':_0x32cb15,'isFromAdapter':!0x0});}),this[_0x12d316(0x149)](_0x3013d8,_0x12d316(0x10d),(_0x208958,{commentThreadId:_0x1937a4,documentId:_0x18b389,context:_0x4a7242,unlinkedAt:_0x2d034d,attributes:_0x9840d7})=>{const _0x28c165=_0x12d316;_0x18f8e0[_0x28c165(0x102)](_0x1937a4)&&_0x18f8e0[_0x28c165(0x143)]({'threadId':_0x1937a4,'channelId':_0x18b389,'context':_0x4a7242,'unlinkedAt':_0x2d034d,'attributes':_0x9840d7,'isFromAdapter':!0x0});}),this[_0x12d316(0x149)](_0x3013d8,_0x12d316(0x132),(_0x1a2564,{commentThreadId:_0x26ae79,resolvedBy:_0x4c00e0,resolvedAt:_0x35dd69})=>{const _0x3fc56a=_0x12d316,_0x135178=_0x18f8e0[_0x3fc56a(0x102)](_0x26ae79);_0x135178&&_0x135178[_0x3fc56a(0x129)]({'resolvedBy':_0x4c00e0,'resolvedAt':_0x35dd69,'isFromAdapter':!0x0});}),this[_0x12d316(0x149)](_0x3013d8,_0x12d316(0x13b),(_0x475fe5,{commentThreadId:_0x4e212a})=>{const _0x2553a0=_0x12d316,_0x393132=_0x18f8e0[_0x2553a0(0x102)](_0x4e212a);_0x393132&&_0x393132[_0x2553a0(0x103)]({'isFromAdapter':!0x0});}),this[_0x12d316(0x149)](_0x3013d8,_0x12d316(0x15d),(_0x3ebd42,{commentThreadId:_0x5f0743})=>{const _0xdff6ec=_0x12d316,_0x1ebce5=_0x18f8e0[_0xdff6ec(0x102)](_0x5f0743);_0x1ebce5&&_0x1ebce5[_0xdff6ec(0x121)]({'isFromAdapter':!0x0});}),this[_0x12d316(0x149)](_0x3013d8,_0x12d316(0x133),(_0x5415b8,_0xc789c8)=>{const _0x2bd8d3=_0x12d316,_0x5ac228=_0xc789c8[_0x2bd8d3(0x155)],_0x5e5b2b=_0x18f8e0[_0x2bd8d3(0x102)](_0x5ac228);_0x5e5b2b&&_0x5e5b2b[_0x2bd8d3(0x14c)]({...S(_0xc789c8),'isFromAdapter':!0x0});}),this[_0x12d316(0x149)](_0x3013d8,_0x12d316(0x13a),(_0x37e213,{commentThreadId:_0xaf9f3f,commentId:_0x3e41b8,content:_0x3740de,attributes:_0xdccc6a})=>{const _0x1adf14=_0x12d316,_0x45cecb=_0x18f8e0[_0x1adf14(0x102)](_0xaf9f3f);if(_0x45cecb){const _0x1d3901=_0x45cecb[_0x1adf14(0x141)](_0x3e41b8);_0x1d3901&&_0x1d3901[_0x1adf14(0x10a)]({'content':_0x3740de,'attributes':_0xdccc6a,'isFromAdapter':!0x0});}}),this[_0x12d316(0x149)](_0x3013d8,_0x12d316(0xfc),(_0x418ed6,{commentThreadId:_0x5f5ae9,commentId:_0x5cee68})=>{const _0x268a12=_0x12d316,_0x2693b1=_0x18f8e0[_0x268a12(0x102)](_0x5f5ae9);if(_0x2693b1){const _0x1fb978=_0x2693b1[_0x268a12(0x141)](_0x5cee68);_0x1fb978&&_0x1fb978[_0x268a12(0x121)]({'isFromAdapter':!0x0});}}),await this[_0x12d316(0x112)](_0x351a61);}[_0x2764b6(0x118)](){const _0x476c51=_0x2764b6;if(this[_0x476c51(0x151)]instanceof _0x59a996){const _0x5c7583=this[_0x476c51(0x151)][_0x476c51(0x106)][_0x476c51(0x12a)](_0x476c51(0x120));this[_0x476c51(0x144)](_0x5c7583);}}[_0x2764b6(0x144)](_0x3cf41a){const _0x557954=_0x2764b6;if(!this[_0x557954(0x142)][_0x557954(0x15e)](_0x3cf41a))throw new _0x29cbcf(_0x557954(0x153),null,{'channelId':_0x3cf41a});this[_0x557954(0x14b)](_0x3cf41a)[_0x557954(0x108)](),this[_0x557954(0x142)][_0x557954(0x11f)](_0x3cf41a);}async[_0x2764b6(0x161)](){const _0x40e08e=_0x2764b6;for(const _0x3c9b16 of this[_0x40e08e(0x142)][_0x40e08e(0x134)]())await this[_0x40e08e(0x112)](_0x3c9b16);if(this[_0x40e08e(0x151)]instanceof _0x59a996){const _0xab7708=this[_0x40e08e(0x151)][_0x40e08e(0x106)][_0x40e08e(0x12a)](_0x40e08e(0x120)),_0xe2b174=this[_0x40e08e(0x151)][_0x40e08e(0x115)][_0x40e08e(0x12a)](_0x51f4c1);_0xe2b174[_0x40e08e(0x14e)](_0xab7708);const _0x5ad653=await this[_0x40e08e(0x142)][_0x40e08e(0x12a)](_0xab7708)[_0x40e08e(0x107)]();_0xe2b174[_0x40e08e(0x14f)](_0xab7708,_0x5ad653);}}async[_0x2764b6(0x112)](_0x4fed47){const _0x1e6361=_0x2764b6,{connection:_0x88ecc6}=this[_0x1e6361(0x151)][_0x1e6361(0x115)][_0x1e6361(0x12a)](_0x3c0af8),_0x16b2d2=this[_0x1e6361(0x151)][_0x1e6361(0x115)][_0x1e6361(0x12a)](_0x1e6361(0x11b)),_0x453bb=this[_0x1e6361(0x142)][_0x1e6361(0x12a)](_0x4fed47),_0x281a6f=await _0x453bb[_0x1e6361(0x126)](_0x88ecc6);await this[_0x1e6361(0x158)](_0x281a6f);const _0x18c709=new Set(Array[_0x1e6361(0x13c)](_0x16b2d2[_0x1e6361(0x138)]({'channelId':_0x4fed47}),_0x53fd13=>_0x53fd13['id']));for(const _0x4a2afd of _0x281a6f)_0x4a2afd[_0x1e6361(0x111)]||_0x18c709[_0x1e6361(0x11f)](_0x4a2afd[_0x1e6361(0x155)]);for(const _0x23a55c of _0x18c709)_0x16b2d2[_0x1e6361(0x102)](_0x23a55c)[_0x1e6361(0x121)]({'isFromAdapter':!0x0});for(const _0x4baec7 of _0x281a6f){let _0x44c36b=_0x16b2d2[_0x1e6361(0x102)](_0x4baec7[_0x1e6361(0x155)]);const {commentThreadId:_0x3d4b8b,context:_0xd0efe1,attributes:_0x1bf0a9,resolvedBy:_0x64c0f,resolvedAt:_0x6b02d3,unlinkedAt:_0x5b1ff1,deletedAt:_0x47b8c7}=_0x4baec7;if(_0x47b8c7)continue;_0x44c36b||(_0x44c36b=_0x16b2d2[_0x1e6361(0x128)]({'channelId':_0x4fed47,'threadId':_0x3d4b8b,'context':_0xd0efe1,'attributes':_0x1bf0a9||{},'resolvedBy':_0x64c0f,'resolvedAt':_0x6b02d3,'unlinkedAt':_0x5b1ff1,'isFromAdapter':!0x0}));const _0x4a29a0=new Set(Array[_0x1e6361(0x13c)](_0x44c36b[_0x1e6361(0x12f)],_0xb954db=>_0xb954db['id']));for(const _0x2d6706 of _0x4baec7[_0x1e6361(0x12f)])_0x4a29a0[_0x1e6361(0x11f)](_0x2d6706[_0x1e6361(0x147)]);for(const _0x3c6ef2 of _0x4a29a0)_0x44c36b[_0x1e6361(0x141)](_0x3c6ef2)[_0x1e6361(0x121)]({'isFromAdapter':!0x0});for(const _0x58a54c of _0x4baec7[_0x1e6361(0x12f)]){const _0x31e7d1=_0x44c36b[_0x1e6361(0x141)](_0x58a54c[_0x1e6361(0x147)]);_0x31e7d1?_0x31e7d1[_0x1e6361(0x124)]!==_0x58a54c[_0x1e6361(0x124)]&&_0x31e7d1[_0x1e6361(0x10a)]({'content':_0x58a54c[_0x1e6361(0x124)],'isFromAdapter':!0x0}):_0x44c36b[_0x1e6361(0x14c)](Object[_0x1e6361(0xfe)](S(_0x58a54c),{'isFromAdapter':!0x0}));}}}[_0x2764b6(0x14b)](_0x4ec50c){const _0x58080a=_0x2764b6;if(!this[_0x58080a(0x142)][_0x58080a(0x15e)](_0x4ec50c))throw new _0x29cbcf(_0x58080a(0x13e),null,{'channelId':_0x4ec50c});return this[_0x58080a(0x142)][_0x58080a(0x12a)](_0x4ec50c);}async[_0x2764b6(0x158)](_0x2e3ee6){const _0x23e393=_0x2764b6,_0x580083=this[_0x23e393(0x151)][_0x23e393(0x115)][_0x23e393(0x12a)](_0x4ccbb7),{connection:_0x22b9f0}=this[_0x23e393(0x151)][_0x23e393(0x115)][_0x23e393(0x12a)](_0x3c0af8),_0x391869=new Set();for(const {resolvedBy:_0x154824,comments:_0x2fa6dd}of _0x2e3ee6){_0x154824&&!_0x580083[_0x23e393(0x15f)](_0x154824)&&_0x391869[_0x23e393(0x127)](_0x154824);for(const {userId:_0x5e19d6}of _0x2fa6dd)_0x580083[_0x23e393(0x15f)](_0x5e19d6)||_0x391869[_0x23e393(0x127)](_0x5e19d6);}if(0x0===_0x391869[_0x23e393(0x15b)])return;const _0x445c4b=await _0x29dbbe[_0x23e393(0x135)](_0x22b9f0,Array[_0x23e393(0x13c)](_0x391869));for(const _0x16ec8a of _0x445c4b)_0x580083[_0x23e393(0x15f)](_0x16ec8a['id'])||_0x580083[_0x23e393(0x13f)](_0x16ec8a);}}a[_0x2764b6(0x14a)]=_0x40b115;export default a;async function B(_0x5408b6){const _0x17c79c=_0x2764b6;if(_0x17c79c(0x136)!==_0x5408b6[_0x17c79c(0x114)])throw _0x5408b6;}function R(_0x5d02bb){const _0x18b7c6=_0x2764b6;if((_0x344aa0=_0x5d02bb)[_0x18b7c6(0x117)][_0x18b7c6(0x10e)](_0x18b7c6(0x152))||_0x344aa0[_0x18b7c6(0x117)][_0x18b7c6(0x10e)](_0x18b7c6(0x116))||_0x344aa0[_0x18b7c6(0x117)][_0x18b7c6(0x10e)](_0x18b7c6(0x13d)))return new Promise(()=>{});var _0x344aa0;throw _0x5d02bb;}function S(_0x41c0ec){const _0x51017e=_0x2764b6;return{'threadId':_0x41c0ec[_0x51017e(0x155)],'commentId':_0x41c0ec[_0x51017e(0x147)],'content':_0x41c0ec[_0x51017e(0x124)],'createdAt':_0x41c0ec[_0x51017e(0x12b)],'authorId':_0x41c0ec[_0x51017e(0x131)],'attributes':_0x41c0ec[_0x51017e(0x137)]||{}};}
|
|
23
|
+
function _0x3f1f(_0x31fc6d,_0x10ba47){const _0x1e96a8=_0x1e96();return _0x3f1f=function(_0x3f1f7e,_0x4f5636){_0x3f1f7e=_0x3f1f7e-0x121;let _0x2ccb6f=_0x1e96a8[_0x3f1f7e];return _0x2ccb6f;},_0x3f1f(_0x31fc6d,_0x10ba47);}const _0x5ba088=_0x3f1f;(function(_0x50f88e,_0x3c79d5){const _0x486e52=_0x3f1f,_0x14a762=_0x50f88e();while(!![]){try{const _0x239761=parseInt(_0x486e52(0x164))/0x1+parseInt(_0x486e52(0x150))/0x2+parseInt(_0x486e52(0x136))/0x3+-parseInt(_0x486e52(0x153))/0x4*(parseInt(_0x486e52(0x128))/0x5)+-parseInt(_0x486e52(0x179))/0x6*(parseInt(_0x486e52(0x185))/0x7)+-parseInt(_0x486e52(0x14a))/0x8+parseInt(_0x486e52(0x167))/0x9;if(_0x239761===_0x3c79d5)break;else _0x14a762['push'](_0x14a762['shift']());}catch(_0xb8ddb0){_0x14a762['push'](_0x14a762['shift']());}}}(_0x1e96,0x980d7));import{Context as _0x46fbc0,ContextPlugin as _0x9477f1}from'ckeditor5/src/core.js';import{CKEditorError as _0xd7cc0e}from'ckeditor5/src/utils.js';import{Users as _0x33a4d8}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5823a0,User as _0x4b3cba}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x38f704 from'../realtimecollaborativeediting/websocketgateway.js';import _0x588b32 from'../realtimecollaborativeediting/sessions.js';class a extends _0x9477f1{static get[_0x5ba088(0x135)](){const _0x450eeb=_0x5ba088;return[_0x38f704,_0x450eeb(0x174),_0x588b32,_0x33a4d8];}static get[_0x5ba088(0x137)](){const _0x412bbf=_0x5ba088;return _0x412bbf(0x17c);}static get[_0x5ba088(0x176)](){return!0x0;}static get[_0x5ba088(0x15d)](){return!0x0;}constructor(_0x56f6f7){const _0x509147=_0x5ba088;super(_0x56f6f7),this[_0x509147(0x177)]=new Map();}async[_0x5ba088(0x16d)](){const _0x195f6d=_0x5ba088,_0x5b4a95=this[_0x195f6d(0x172)],_0x2847bd=_0x5b4a95[_0x195f6d(0x132)][_0x195f6d(0x166)](_0x195f6d(0x174));if(_0x5b4a95[_0x195f6d(0x132)][_0x195f6d(0x166)](_0x38f704)[_0x195f6d(0x14f)](this),_0x2847bd[_0x195f6d(0x13c)]={'addCommentThread':async({channelId:_0x2daf9a,threadId:_0x5659bc,comments:_0x4019a6,resolvedAt:_0x96aae,resolvedBy:_0x246732,context:_0xb05ffe,attributes:_0x413a8c})=>{const _0x26a847=_0x195f6d,_0x559b8d=await this[_0x26a847(0x13d)](_0x2daf9a)[_0x26a847(0x158)]({'commentThreadId':_0x5659bc,'comments':_0x4019a6[_0x26a847(0x121)](_0x3907ee=>function(_0x2099db,_0x323842,_0x45929a){const _0x4d9fd2=_0x26a847;return{'commentThreadId':_0x45929a,'commentId':_0x2099db[_0x4d9fd2(0x143)],'userId':_0x2099db[_0x4d9fd2(0x142)],'content':_0x2099db[_0x4d9fd2(0x141)],'documentId':_0x323842,'createdAt':_0x2099db[_0x4d9fd2(0x161)],'attributes':_0x2099db[_0x4d9fd2(0x17b)]||{}};}(_0x3907ee,_0x2daf9a,_0x5659bc)),'resolvedAt':_0x96aae,'resolvedBy':_0x246732,'context':_0xb05ffe,'attributes':_0x413a8c})[_0x26a847(0x14b)](w);return{'threadId':_0x559b8d[_0x26a847(0x139)],'comments':_0x559b8d[_0x26a847(0x12e)]};},'getCommentThread':async({channelId:_0x23249e,threadId:_0x5d2ce9})=>{const _0x46b57a=_0x195f6d,_0xaca0c5=await this[_0x46b57a(0x13d)](_0x23249e)[_0x46b57a(0x122)](_0x5d2ce9)[_0x46b57a(0x14b)](w);return _0xaca0c5[_0x46b57a(0x123)]?null:(await this[_0x46b57a(0x17e)]([_0xaca0c5]),{'threadId':_0xaca0c5[_0x46b57a(0x139)],'comments':_0xaca0c5[_0x46b57a(0x12e)][_0x46b57a(0x121)](b),'context':_0xaca0c5[_0x46b57a(0x172)],'resolvedAt':_0xaca0c5[_0x46b57a(0x152)],'resolvedBy':_0xaca0c5[_0x46b57a(0x17a)],'attributes':_0xaca0c5[_0x46b57a(0x17b)]||{}});},'updateCommentThread':async({channelId:_0x648a15,threadId:_0x55a13e,context:_0x3763d0,unlinkedAt:_0x3b0046,attributes:_0x14cc6b})=>this[_0x195f6d(0x13d)](_0x648a15)[_0x195f6d(0x13a)]({'commentThreadId':_0x55a13e,'context':_0x3763d0,'attributes':_0x14cc6b,'unlinkedAt':_0x3b0046})[_0x195f6d(0x14b)](y)[_0x195f6d(0x14b)](w),'resolveCommentThread':async({channelId:_0x520bb4,threadId:_0x247e7f})=>{const _0x58d3fa=_0x195f6d,_0x4e4c76=await this[_0x58d3fa(0x13d)](_0x520bb4)[_0x58d3fa(0x16a)](_0x247e7f)[_0x58d3fa(0x14b)](y)[_0x58d3fa(0x14b)](w);return{'threadId':_0x4e4c76[_0x58d3fa(0x139)],'resolvedAt':_0x4e4c76[_0x58d3fa(0x152)],'resolvedBy':_0x4e4c76[_0x58d3fa(0x17a)]};},'reopenCommentThread':async({channelId:_0x2aee1a,threadId:_0x43476e})=>this[_0x195f6d(0x13d)](_0x2aee1a)[_0x195f6d(0x12c)](_0x43476e)[_0x195f6d(0x14b)](y)[_0x195f6d(0x14b)](w),'removeCommentThread':({channelId:_0x154eb9,threadId:_0x5e53f6})=>this[_0x195f6d(0x13d)](_0x154eb9)[_0x195f6d(0x134)](_0x5e53f6)[_0x195f6d(0x14b)](y)[_0x195f6d(0x14b)](w),'addComment':({channelId:_0x164ba1,threadId:_0x1e0d74,commentId:_0x51dcb6,content:_0x39e1da,attributes:_0x2d1800})=>this[_0x195f6d(0x13d)](_0x164ba1)[_0x195f6d(0x14c)](_0x1e0d74,_0x51dcb6,_0x39e1da,_0x2d1800)[_0x195f6d(0x14b)](w),'updateComment':({channelId:_0x126194,threadId:_0x231a36,commentId:_0x504f11,content:_0x76384a,attributes:_0x384a25})=>this[_0x195f6d(0x13d)](_0x126194)[_0x195f6d(0x170)](_0x231a36,_0x504f11,_0x76384a,_0x384a25)[_0x195f6d(0x14b)](y)[_0x195f6d(0x14b)](w),'removeComment':({channelId:_0x44f80e,threadId:_0x3a5ba4,commentId:_0x4e3be9})=>this[_0x195f6d(0x13d)](_0x44f80e)[_0x195f6d(0x133)](_0x3a5ba4,_0x4e3be9)[_0x195f6d(0x14b)](y)[_0x195f6d(0x14b)](w)},_0x5b4a95 instanceof _0x46fbc0){const _0x168e42=_0x5b4a95[_0x195f6d(0x12b)][_0x195f6d(0x166)](_0x195f6d(0x165)),_0x5d1bfc=_0x5b4a95[_0x195f6d(0x132)][_0x195f6d(0x166)](_0x588b32);await this[_0x195f6d(0x14e)](_0x168e42);const _0x174204=await this[_0x195f6d(0x177)][_0x195f6d(0x166)](_0x168e42)[_0x195f6d(0x169)]();this[_0x195f6d(0x168)](_0x5d1bfc,_0x195f6d(0x124)+_0x168e42,(_0x348b6c,{session:_0x1c73d0})=>{const _0x69ac97=_0x195f6d;_0x1c73d0['id']===_0x5d1bfc[_0x69ac97(0x146)]&&(_0x348b6c[_0x69ac97(0x15e)](),this[_0x69ac97(0x172)][_0x69ac97(0x132)][_0x69ac97(0x166)](_0x69ac97(0x160))[_0x69ac97(0x12a)](_0x1c73d0[_0x69ac97(0x125)],_0x168e42));}),_0x5d1bfc[_0x195f6d(0x148)](_0x168e42,_0x174204);}}async[_0x5ba088(0x14e)](_0x4293ee){const _0x14139b=_0x5ba088;if(this[_0x14139b(0x177)][_0x14139b(0x127)](_0x4293ee))throw new _0xd7cc0e(_0x14139b(0x14d),null,{'channelId':_0x4293ee});const _0xc855e5=this[_0x14139b(0x172)][_0x14139b(0x132)][_0x14139b(0x166)](_0x14139b(0x174)),_0xc2fa4a=new a[(_0x14139b(0x184))](_0x4293ee);this[_0x14139b(0x177)][_0x14139b(0x15f)](_0x4293ee,_0xc2fa4a),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x173),(_0x274512,_0x3826f1)=>{const _0x48ab1c=_0x14139b,{commentThreadId:_0x1d1380,documentId:_0x5688f8,context:_0x3c7b6b,attributes:_0x4d57aa,resolvedAt:_0x26d9f0,resolvedBy:_0x275902,comments:_0x26620c}=_0x3826f1;_0xc855e5[_0x48ab1c(0x122)](_0x1d1380)||_0xc855e5[_0x48ab1c(0x158)]({'threadId':_0x1d1380,'channelId':_0x5688f8,'comments':_0x26620c?_0x26620c[_0x48ab1c(0x121)](b):[],'context':_0x3c7b6b,'attributes':_0x4d57aa,'resolvedAt':_0x26d9f0,'resolvedBy':_0x275902,'isFromAdapter':!0x0});}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x154),(_0xbbf39b,{commentThreadId:_0x104713,documentId:_0x584a7a,context:_0x3d263f,unlinkedAt:_0x2a4811,attributes:_0x555d44})=>{const _0x239876=_0x14139b;_0xc855e5[_0x239876(0x122)](_0x104713)&&_0xc855e5[_0x239876(0x13a)]({'threadId':_0x104713,'channelId':_0x584a7a,'context':_0x3d263f,'unlinkedAt':_0x2a4811,'attributes':_0x555d44,'isFromAdapter':!0x0});}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x151),(_0x4d0034,{commentThreadId:_0x540350,resolvedBy:_0xfc37d3,resolvedAt:_0x12c213})=>{const _0x13fee3=_0x14139b,_0x1612bf=_0xc855e5[_0x13fee3(0x122)](_0x540350);_0x1612bf&&_0x1612bf[_0x13fee3(0x157)]({'resolvedBy':_0xfc37d3,'resolvedAt':_0x12c213,'isFromAdapter':!0x0});}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x130),(_0x18b201,{commentThreadId:_0x24323b})=>{const _0x5e2f32=_0x14139b,_0x102dc1=_0xc855e5[_0x5e2f32(0x122)](_0x24323b);_0x102dc1&&_0x102dc1[_0x5e2f32(0x175)]({'isFromAdapter':!0x0});}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x131),(_0x55815e,{commentThreadId:_0x3710cc})=>{const _0x34c231=_0x14139b,_0x4ba821=_0xc855e5[_0x34c231(0x122)](_0x3710cc);_0x4ba821&&_0x4ba821[_0x34c231(0x15b)]({'isFromAdapter':!0x0});}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x138),(_0x5e13a7,_0x170273)=>{const _0x4278f=_0x14139b,_0x268e45=_0x170273[_0x4278f(0x139)],_0x4a8160=_0xc855e5[_0x4278f(0x122)](_0x268e45);_0x4a8160&&_0x4a8160[_0x4278f(0x14c)]({...b(_0x170273),'isFromAdapter':!0x0});}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x15c),(_0x4fe954,{commentThreadId:_0x3efbb6,commentId:_0x54f711,content:_0x3b3bc5,attributes:_0x3f775e})=>{const _0x5506df=_0x14139b,_0x991082=_0xc855e5[_0x5506df(0x122)](_0x3efbb6);if(_0x991082){const _0xe8d6e5=_0x991082[_0x5506df(0x181)](_0x54f711);_0xe8d6e5&&_0xe8d6e5[_0x5506df(0x126)]({'content':_0x3b3bc5,'attributes':_0x3f775e,'isFromAdapter':!0x0});}}),this[_0x14139b(0x168)](_0xc2fa4a,_0x14139b(0x17d),(_0x5e6c2e,{commentThreadId:_0x5e153d,commentId:_0x367cef})=>{const _0x2dde8d=_0x14139b,_0xbf280a=_0xc855e5[_0x2dde8d(0x122)](_0x5e153d);if(_0xbf280a){const _0x4c810a=_0xbf280a[_0x2dde8d(0x181)](_0x367cef);_0x4c810a&&_0x4c810a[_0x2dde8d(0x15b)]({'isFromAdapter':!0x0});}}),await this[_0x14139b(0x15a)](_0x4293ee);}[_0x5ba088(0x162)](){const _0x1f3a21=_0x5ba088;if(this[_0x1f3a21(0x172)]instanceof _0x46fbc0){const _0x23b886=this[_0x1f3a21(0x172)][_0x1f3a21(0x12b)][_0x1f3a21(0x166)](_0x1f3a21(0x165));this[_0x1f3a21(0x147)](_0x23b886);}}[_0x5ba088(0x147)](_0x51cc72){const _0x71f717=_0x5ba088;if(!this[_0x71f717(0x177)][_0x71f717(0x127)](_0x51cc72))throw new _0xd7cc0e(_0x71f717(0x149),null,{'channelId':_0x51cc72});this[_0x71f717(0x13d)](_0x51cc72)[_0x71f717(0x171)](),this[_0x71f717(0x177)][_0x71f717(0x16e)](_0x51cc72);}async[_0x5ba088(0x145)](){const _0x2facbc=_0x5ba088;for(const _0x5662fb of this[_0x2facbc(0x177)][_0x2facbc(0x156)]())await this[_0x2facbc(0x15a)](_0x5662fb);if(this[_0x2facbc(0x172)]instanceof _0x46fbc0){const _0x21e0e2=this[_0x2facbc(0x172)][_0x2facbc(0x12b)][_0x2facbc(0x166)](_0x2facbc(0x165)),_0x3a95b1=this[_0x2facbc(0x172)][_0x2facbc(0x132)][_0x2facbc(0x166)](_0x588b32);_0x3a95b1[_0x2facbc(0x13e)](_0x21e0e2);const _0x47633b=await this[_0x2facbc(0x177)][_0x2facbc(0x166)](_0x21e0e2)[_0x2facbc(0x169)]();_0x3a95b1[_0x2facbc(0x148)](_0x21e0e2,_0x47633b);}}async[_0x5ba088(0x15a)](_0x2d8923){const _0x439469=_0x5ba088,{connection:_0x354bce}=this[_0x439469(0x172)][_0x439469(0x132)][_0x439469(0x166)](_0x38f704),_0x220ad=this[_0x439469(0x172)][_0x439469(0x132)][_0x439469(0x166)](_0x439469(0x174)),_0x7d40db=this[_0x439469(0x177)][_0x439469(0x166)](_0x2d8923),_0x34b416=await _0x7d40db[_0x439469(0x12d)](_0x354bce);await this[_0x439469(0x17e)](_0x34b416);const _0x58245b=new Set(Array[_0x439469(0x13f)](_0x220ad[_0x439469(0x16f)]({'channelId':_0x2d8923}),_0xa14dc2=>_0xa14dc2['id']));for(const _0xde170 of _0x34b416)_0xde170[_0x439469(0x123)]||_0x58245b[_0x439469(0x16e)](_0xde170[_0x439469(0x139)]);for(const _0x16202f of _0x58245b)_0x220ad[_0x439469(0x122)](_0x16202f)[_0x439469(0x15b)]({'isFromAdapter':!0x0});for(const _0x29355b of _0x34b416){let _0x513966=_0x220ad[_0x439469(0x122)](_0x29355b[_0x439469(0x139)]);const {commentThreadId:_0x13b36c,context:_0x2f1bc1,attributes:_0x4cc63b,resolvedBy:_0x21bd7f,resolvedAt:_0xa4780d,unlinkedAt:_0x1e947a,deletedAt:_0xe2d8f6}=_0x29355b;if(_0xe2d8f6)continue;_0x513966||(_0x513966=_0x220ad[_0x439469(0x158)]({'channelId':_0x2d8923,'threadId':_0x13b36c,'context':_0x2f1bc1,'attributes':_0x4cc63b||{},'resolvedBy':_0x21bd7f,'resolvedAt':_0xa4780d,'unlinkedAt':_0x1e947a,'isFromAdapter':!0x0}));const _0x3a5b9b=new Set(Array[_0x439469(0x13f)](_0x513966[_0x439469(0x12e)],_0xf44cf2=>_0xf44cf2['id']));for(const _0x24e688 of _0x29355b[_0x439469(0x12e)])_0x3a5b9b[_0x439469(0x16e)](_0x24e688[_0x439469(0x143)]);for(const _0x26ce0a of _0x3a5b9b)_0x513966[_0x439469(0x181)](_0x26ce0a)[_0x439469(0x15b)]({'isFromAdapter':!0x0});for(const _0x1666e8 of _0x29355b[_0x439469(0x12e)]){const _0x3a1f16=_0x513966[_0x439469(0x181)](_0x1666e8[_0x439469(0x143)]);_0x3a1f16?_0x3a1f16[_0x439469(0x141)]!==_0x1666e8[_0x439469(0x141)]&&_0x3a1f16[_0x439469(0x126)]({'content':_0x1666e8[_0x439469(0x141)],'isFromAdapter':!0x0}):_0x513966[_0x439469(0x14c)](Object[_0x439469(0x140)](b(_0x1666e8),{'isFromAdapter':!0x0}));}}}[_0x5ba088(0x13d)](_0x56d54f){const _0x7d0ac=_0x5ba088;if(!this[_0x7d0ac(0x177)][_0x7d0ac(0x127)](_0x56d54f))throw new _0xd7cc0e(_0x7d0ac(0x163),null,{'channelId':_0x56d54f});return this[_0x7d0ac(0x177)][_0x7d0ac(0x166)](_0x56d54f);}async[_0x5ba088(0x17e)](_0x3d4244){const _0x1641b9=_0x5ba088,_0x28fbe3=this[_0x1641b9(0x172)][_0x1641b9(0x132)][_0x1641b9(0x166)](_0x33a4d8),{connection:_0x18738a}=this[_0x1641b9(0x172)][_0x1641b9(0x132)][_0x1641b9(0x166)](_0x38f704),_0x1a7303=new Set();for(const {resolvedBy:_0x1a875a,comments:_0x11021d}of _0x3d4244){_0x1a875a&&!_0x28fbe3[_0x1641b9(0x12f)](_0x1a875a)&&_0x1a7303[_0x1641b9(0x155)](_0x1a875a);for(const {userId:_0x54e00a}of _0x11021d)_0x28fbe3[_0x1641b9(0x12f)](_0x54e00a)||_0x1a7303[_0x1641b9(0x155)](_0x54e00a);}if(0x0===_0x1a7303[_0x1641b9(0x16c)])return;const _0x48460d=await _0x4b3cba[_0x1641b9(0x13b)](_0x18738a,Array[_0x1641b9(0x13f)](_0x1a7303));for(const _0x528ecf of _0x48460d)_0x28fbe3[_0x1641b9(0x12f)](_0x528ecf['id'])||_0x28fbe3[_0x1641b9(0x180)](_0x528ecf);}}a[_0x5ba088(0x184)]=_0x5823a0;export default a;async function y(_0x500045){const _0x545f80=_0x5ba088;if(_0x545f80(0x183)!==_0x500045[_0x545f80(0x16b)])throw _0x500045;}function _0x1e96(){const _0x38483b=['addToReconnectionStack','700940LfGiGS','commentThreadResolved','resolvedAt','88LWrUYT','commentThreadUpdated','add','keys','resolve','addCommentThread','message','_connectService','remove','commentUpdated','isPremiumPlugin','off','set','Permissions','createdAt','destroy','cloudservicescommentsadapter-service-not-exist','286877dmpULs','collaboration.channelId','get','13535172srWKCs','listenTo','getConnectedSessions','resolveCommentThread','code','size','init','delete','getCommentThreads','updateComment','disconnect','context','commentThreadAdded','CommentsRepository','reopen','isOfficialPlugin','_services','startsWith','1374024laASEZ','resolvedBy','attributes','CloudServicesCommentsAdapter','commentRemoved','_fetchMissingUsersForThreads','userId','addUser','getComment','cloud-services-internal-error:\x20Request\x20timeout.','404','CommentsService','14vUDoPk','map','getCommentThread','deletedAt','sessionAdd:','permissions','update','has','257170sxznug','cloud-services-internal-error:\x20Not\x20connected.','setPermissions','config','reopenCommentThread','connect','comments','getUser','commentThreadReopened','commentThreadRemoved','plugins','removeComment','removeCommentThread','requires','2718072HnyzHo','pluginName','commentAdded','commentThreadId','updateCommentThread','getMany','adapter','_getService','unregister','from','assign','content','authorId','commentId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','reconnect','mySessionId','_terminateService','register','cloudservicescommentsadapter-disconnect-not-exist','6679328ZJFDOB','catch','addComment','cloudservicescommentsadapter-connect-already-connected','_setUpService'];_0x1e96=function(){return _0x38483b;};return _0x1e96();}function w(_0x624581){const _0x1b9e9e=_0x5ba088;if((_0x5bbe65=_0x624581)[_0x1b9e9e(0x159)][_0x1b9e9e(0x178)](_0x1b9e9e(0x144))||_0x5bbe65[_0x1b9e9e(0x159)][_0x1b9e9e(0x178)](_0x1b9e9e(0x129))||_0x5bbe65[_0x1b9e9e(0x159)][_0x1b9e9e(0x178)](_0x1b9e9e(0x182)))return new Promise(()=>{});var _0x5bbe65;throw _0x624581;}function b(_0x389faf){const _0x497be7=_0x5ba088;return{'threadId':_0x389faf[_0x497be7(0x139)],'commentId':_0x389faf[_0x497be7(0x143)],'content':_0x389faf[_0x497be7(0x141)],'createdAt':_0x389faf[_0x497be7(0x161)],'authorId':_0x389faf[_0x497be7(0x17f)],'attributes':_0x389faf[_0x497be7(0x17b)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x84c45=_0x18fd;(function(_0x3d7874,_0x4d1982){const _0x1c3d1d=_0x18fd,_0x1894e9=_0x3d7874();while(!![]){try{const _0x4ee4f9=-parseInt(_0x1c3d1d(0x15a))/0x1+parseInt(_0x1c3d1d(0x127))/0x2+-parseInt(_0x1c3d1d(0x1f1))/0x3+-parseInt(_0x1c3d1d(0x12e))/0x4+-parseInt(_0x1c3d1d(0x1bc))/0x5*(-parseInt(_0x1c3d1d(0x212))/0x6)+-parseInt(_0x1c3d1d(0x192))/0x7*(parseInt(_0x1c3d1d(0x1e8))/0x8)+parseInt(_0x1c3d1d(0x1cc))/0x9;if(_0x4ee4f9===_0x4d1982)break;else _0x1894e9['push'](_0x1894e9['shift']());}catch(_0xb11d1a){_0x1894e9['push'](_0x1894e9['shift']());}}}(_0x5844,0x5351d));import{Plugin as _0x21caba,PendingActions as _0x206462}from'ckeditor5/src/core.js';import{CKEditorError as _0x404436,version as _0x2ec560,uid as _0x36492c}from'ckeditor5/src/utils.js';import{Notification as _0x1227f1}from'ckeditor5/src/ui.js';import{transformSets as _0x13cb36,NoOperation as _0x1d4914,InsertOperation as _0x2c7d80,MarkerOperation as _0x450092,RootAttributeOperation as _0x4d2ef3,OperationFactory as _0x355682,History as _0x41013c}from'ckeditor5/src/engine.js';import _0x38248b from'./websocketgateway.js';import _0x595ded from'./sessions.js';import _0xc0ad90 from'./usermarkers.js';import{getTranslation as _0x43cdc5}from'../common-translations.js';import{Compressor as _0x49afc8}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x53bf69}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x19d35d,CollaborativeEditingService as _0x4a6f41}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Z=0x1;function _0x18fd(_0x5eb4d,_0x43c72c){const _0x5844fc=_0x5844();return _0x18fd=function(_0x18fd34,_0x3fc53c){_0x18fd34=_0x18fd34-0x11a;let _0x449595=_0x5844fc[_0x18fd34];return _0x449595;},_0x18fd(_0x5eb4d,_0x43c72c);}class l extends _0x21caba{static get[_0x84c45(0x123)](){return[_0x38248b,_0x595ded,_0xc0ad90,_0x206462,_0x53bf69,_0x1227f1];}static get[_0x84c45(0x1ae)](){const _0x56142b=_0x84c45;return _0x56142b(0x16b);}static get[_0x84c45(0x131)](){return!0x0;}static get[_0x84c45(0x1df)](){return!0x0;}get[_0x84c45(0x158)](){const _0x449bcf=_0x84c45;return this[_0x449bcf(0x142)]+this[_0x449bcf(0x1c4)];}get[_0x84c45(0x142)](){const _0x383be1=_0x84c45;return this[_0x383be1(0x189)][_0x383be1(0x12f)]-this[_0x383be1(0x1c4)];}get[_0x84c45(0x207)](){const _0xc76605=_0x84c45,_0x70f373=this[_0xc76605(0x189)][_0xc76605(0x18a)]();for(let _0x453266=_0x70f373[_0xc76605(0x13c)]-0x1;_0x453266>=0x0;_0x453266--){const _0x33e0de=_0x70f373[_0x453266];if(!this[_0xc76605(0x205)][_0xc76605(0x15f)](_0x33e0de))return _0x33e0de[_0xc76605(0x217)]+0x1-this[_0xc76605(0x1c4)];}return 0x0;}constructor(_0x58c8e3){const _0x327863=_0x84c45;if(super(_0x58c8e3),this[_0x327863(0x1c4)]=0x0,this[_0x327863(0x1c9)]=null,this[_0x327863(0x189)]=new _0x41013c(),this[_0x327863(0x175)][_0x327863(0x163)][_0x327863(0x16f)](_0x327863(0x1b1),{}),this[_0x327863(0x12b)]=this[_0x327863(0x175)][_0x327863(0x163)][_0x327863(0x1b8)](_0x327863(0x1a1)),!this[_0x327863(0x12b)])throw new _0x404436(_0x327863(0x153),this);const _0x27dcc3=_0x58c8e3[_0x327863(0x163)][_0x327863(0x1b8)](_0x327863(0x186))||_0x2ec560;this[_0x327863(0x144)]=new l[(_0x327863(0x1b9))](_0x27dcc3,this[_0x327863(0x12b)]),this[_0x327863(0x179)]=this[_0x327863(0x175)][_0x327863(0x14f)][_0x327863(0x20c)],this[_0x327863(0x1e6)]=new _0x49afc8(),this[_0x327863(0x1e4)]=[],this[_0x327863(0x197)]=new WeakSet(),this[_0x327863(0x156)]=new Set(),this[_0x327863(0x1da)](_0x327863(0x17a),!0x1),this[_0x327863(0x1da)](_0x327863(0x17e),!0x1),this[_0x327863(0x14c)]=null,this[_0x327863(0x198)]=!0x1,this[_0x327863(0x20f)]=null,this[_0x327863(0x1ee)]=0x12c,this[_0x327863(0x155)]=this[_0x327863(0x1ee)],this[_0x327863(0x1ca)]=null,this[_0x327863(0x205)]=new WeakSet(),this[_0x327863(0x1af)]=new st(this[_0x327863(0x205)]);}[_0x84c45(0x1a3)](){const _0x171d33=_0x84c45,_0x30b5e2=this[_0x171d33(0x175)],_0x4ef59f=_0x30b5e2[_0x171d33(0x160)][_0x171d33(0x1b8)](_0x53bf69),_0x267dfb=_0x30b5e2[_0x171d33(0x160)][_0x171d33(0x1b8)](_0x38248b);this[_0x171d33(0x1c1)](_0x4ef59f,_0x171d33(0x176),(_0x167490,_0x990f40)=>{const _0x1fb515=_0x171d33,_0x195109=_0x990f40[0x0];_0x195109[_0x1fb515(0x1ce)]&&(_0x167490[_0x1fb515(0x1fd)]=_0x4ef59f[_0x1fb515(0x11c)](_0x195109[_0x1fb515(0x1ce)]),_0x167490[_0x1fb515(0x1b6)]()),null===_0x195109[_0x1fb515(0x1ce)]&&(_0x167490[_0x1fb515(0x1fd)]=null,_0x167490[_0x1fb515(0x1b6)]());},{'priority':_0x171d33(0x182)}),this[_0x171d33(0x1c1)](_0x30b5e2[_0x171d33(0x14f)][_0x171d33(0x20c)][_0x171d33(0x12a)],_0x171d33(0x1f0),(_0x430749,_0x570ac6)=>{const _0x2c3bf=_0x171d33;_0x570ac6[_0x2c3bf(0x137)]&&this[_0x2c3bf(0x1e3)]();}),this[_0x171d33(0x1c1)](_0x30b5e2[_0x171d33(0x16e)][_0x171d33(0x1dc)],_0x171d33(0x1cd),()=>{const _0x55cbcb=_0x171d33;this[_0x55cbcb(0x1e3)]();}),this[_0x171d33(0x21b)](),_0x30b5e2[_0x171d33(0x14f)]['on'](_0x171d33(0x209),(_0x47b1b7,_0x1d5bee)=>{const _0x1260a2=_0x171d33,_0x266fbe=_0x1d5bee[0x0];_0x266fbe[_0x1260a2(0x14d)]&&(this[_0x1260a2(0x129)](_0x266fbe),this[_0x1260a2(0x168)]()&&this[_0x1260a2(0x124)]());}),this[_0x171d33(0x213)](),this[_0x171d33(0x17b)](_0x171d33(0x19f))['to'](_0x267dfb,_0x171d33(0x134),this,_0x171d33(0x17e),(_0x19fb43,_0x3db1c0)=>_0x171d33(0x1eb)===_0x19fb43&&!_0x3db1c0),this['on'](_0x171d33(0x1a7),()=>{const _0x344209=_0x171d33;this[_0x344209(0x19f)]?_0x30b5e2[_0x344209(0x18b)](_0x344209(0x183)):_0x30b5e2[_0x344209(0x1a0)](_0x344209(0x183));}),this[_0x171d33(0x19f)]?_0x30b5e2[_0x171d33(0x18b)](_0x171d33(0x183)):_0x30b5e2[_0x171d33(0x1a0)](_0x171d33(0x183)),this[_0x171d33(0x1da)](_0x171d33(0x208),!0x1);}async[_0x84c45(0x1fb)](){const _0x3ac1ce=_0x84c45,_0x2f60b1=this[_0x3ac1ce(0x175)][_0x3ac1ce(0x160)][_0x3ac1ce(0x1b8)](_0x595ded),_0x412a3e=this[_0x3ac1ce(0x175)][_0x3ac1ce(0x160)][_0x3ac1ce(0x1b8)](_0x38248b);try{this[_0x3ac1ce(0x17a)]=!0x0,_0x2f60b1[_0x3ac1ce(0x1a6)](this[_0x3ac1ce(0x12b)]);const _0x3714b3=await this[_0x3ac1ce(0x144)][_0x3ac1ce(0x1fb)](_0x412a3e[_0x3ac1ce(0x1b2)],this[_0x3ac1ce(0x207)]);await this[_0x3ac1ce(0x203)](_0x3714b3)&&(this[_0x3ac1ce(0x17a)]=!0x1,this[_0x3ac1ce(0x172)]());const _0xbbba69=await this[_0x3ac1ce(0x144)][_0x3ac1ce(0x125)]();_0x2f60b1[_0x3ac1ce(0x1dd)](this[_0x3ac1ce(0x12b)],_0xbbba69),this[_0x3ac1ce(0x162)](),this[_0x3ac1ce(0x208)]=!0x0;}catch(_0x5782d0){if(function(_0x292cd4){const _0x428251=_0x3ac1ce;return _0x428251(0x180)===_0x292cd4[_0x428251(0x13a)];}(_0x5782d0)&&this[_0x3ac1ce(0x1c9)])await this[_0x3ac1ce(0x133)]();else{if(function(_0x37e79c){const _0x1b0a3b=_0x3ac1ce;return _0x1b0a3b(0x21a)===_0x37e79c[_0x1b0a3b(0x13a)];}(_0x5782d0)){const _0x3ebc21=_0x43cdc5(this[_0x3ac1ce(0x175)][_0x3ac1ce(0x174)],_0x3ac1ce(0x1cb));this[_0x3ac1ce(0x1c2)](_0x3ebc21);}else{if(!(_0x5782d0 instanceof tt))throw _0x5782d0;this[_0x3ac1ce(0x1c2)]();}}}}[_0x84c45(0x1fe)](){const _0x356e4a=_0x84c45,_0x34b0df=this[_0x356e4a(0x175)][_0x356e4a(0x160)][_0x356e4a(0x1b8)](_0x38248b),_0x58a643=this[_0x356e4a(0x175)][_0x356e4a(0x160)][_0x356e4a(0x1b8)](_0x595ded);this[_0x356e4a(0x175)][_0x356e4a(0x1a0)](_0x356e4a(0x18c)),_0x58a643[_0x356e4a(0x19d)][_0x356e4a(0x15f)](this[_0x356e4a(0x12b)])&&_0x58a643[_0x356e4a(0x1a6)](this[_0x356e4a(0x12b)]),_0x34b0df[_0x356e4a(0x157)](this),this[_0x356e4a(0x196)](),super[_0x356e4a(0x1fe)]();}async[_0x84c45(0x203)](_0x1b47d3){const _0x4c92e1=_0x84c45;if(this[_0x4c92e1(0x1c9)]!==_0x1b47d3[_0x4c92e1(0x1c9)]&&this[_0x4c92e1(0x1ca)]!==_0x1b47d3[_0x4c92e1(0x190)])throw new tt();return this[_0x4c92e1(0x1c9)]=_0x1b47d3[_0x4c92e1(0x1c9)],this[_0x4c92e1(0x164)]([],{..._0x1b47d3,'wereChangesApplied':!0x1,'data':_0x1b47d3[_0x4c92e1(0x1f5)]},_0x4c92e1(0x1fb));}async[_0x84c45(0x21d)](_0x730628,_0x51ac4f=!0x1){const _0xae8f8b=_0x84c45,{connection:_0x2b6d5f}=this[_0xae8f8b(0x175)][_0xae8f8b(0x160)][_0xae8f8b(0x1b8)](_0x38248b);l[_0xae8f8b(0x1b9)][_0xae8f8b(0x125)](_0x2b6d5f,this[_0xae8f8b(0x12b)])[_0xae8f8b(0x199)](_0x458383=>this[_0xae8f8b(0x128)](_0x458383))[_0xae8f8b(0x1ba)](_0x59bea5=>{const _0x19e741=_0xae8f8b;this[_0x19e741(0x195)](_0x19e741(0x1ec),_0x59bea5);}),this[_0xae8f8b(0x1c1)](this[_0xae8f8b(0x144)],_0xae8f8b(0x136),this[_0xae8f8b(0x13e)][_0xae8f8b(0x17b)](this)),this[_0xae8f8b(0x1c1)](this[_0xae8f8b(0x144)],_0xae8f8b(0x191),(_0x1f5f89,_0x20a135)=>{const _0x420162=_0xae8f8b;this[_0x420162(0x195)](_0x420162(0x15c),_0x20a135);}),this[_0xae8f8b(0x1c1)](this[_0xae8f8b(0x144)],_0xae8f8b(0x18f),()=>{const _0x2de247=_0xae8f8b;this[_0x2de247(0x208)]=!0x1;});const _0x4b3194=this[_0xae8f8b(0x1af)][_0xae8f8b(0x1be)](_0x730628);this[_0xae8f8b(0x17a)]=!0x0;const _0x25140b=await this[_0xae8f8b(0x144)][_0xae8f8b(0x122)](_0x2b6d5f,this[_0xae8f8b(0x206)](_0x730628),_0x4b3194);if(this[_0xae8f8b(0x1c9)]=_0x25140b[_0xae8f8b(0x1c9)],_0x51ac4f){if(!_0x25140b[_0xae8f8b(0x19a)])return void this[_0xae8f8b(0x1c2)]();this[_0xae8f8b(0x17a)]=!0x1,this[_0xae8f8b(0x172)](),this[_0xae8f8b(0x189)][_0xae8f8b(0x14e)](),this[_0xae8f8b(0x1c4)]=_0x25140b[_0xae8f8b(0x167)],this[_0xae8f8b(0x189)][_0xae8f8b(0x12f)]=this[_0xae8f8b(0x1c4)],await this[_0xae8f8b(0x164)](_0x730628,_0x25140b,_0xae8f8b(0x20d));}else await this[_0xae8f8b(0x18e)](_0x25140b,_0x730628);this[_0xae8f8b(0x162)](),this[_0xae8f8b(0x208)]=!0x0;}[_0x84c45(0x162)](){const _0x14d0ba=_0x84c45,_0x47397a=this[_0x14d0ba(0x175)][_0x14d0ba(0x160)][_0x14d0ba(0x1b8)](_0x595ded),_0x2264f1=this[_0x14d0ba(0x175)][_0x14d0ba(0x160)][_0x14d0ba(0x1b8)](_0xc0ad90),_0x1c621f=_0x47397a[_0x14d0ba(0x19d)][_0x14d0ba(0x1b8)](this[_0x14d0ba(0x12b)]);_0x1c621f&&_0x1c621f[_0x14d0ba(0x13c)]>0x1?_0x2264f1[_0x14d0ba(0x218)]():this[_0x14d0ba(0x1c1)](_0x47397a,_0x14d0ba(0x139)+this[_0x14d0ba(0x12b)],()=>{const _0x9f9316=_0x14d0ba;0x2===_0x47397a[_0x9f9316(0x19d)][_0x9f9316(0x1b8)](this[_0x9f9316(0x12b)])[_0x9f9316(0x13c)]&&_0x2264f1[_0x9f9316(0x218)]();});}async[_0x84c45(0x13e)](_0x2b03b4,_0x2c911b,_0x263abf,_0x512216){const _0x1a3a0b=_0x84c45;if(!this[_0x1a3a0b(0x17a)]&&this[_0x1a3a0b(0x179)][_0x1a3a0b(0x12f)]==_0x2c911b){const _0x4e97b3=this[_0x1a3a0b(0x173)](_0x263abf,_0x512216);await this[_0x1a3a0b(0x20b)](_0x4e97b3),this[_0x1a3a0b(0x1d1)](_0x4e97b3,_0x2c911b,_0x263abf[_0x1a3a0b(0x190)])||this[_0x1a3a0b(0x195)](_0x1a3a0b(0x1a4));}}async[_0x84c45(0x133)](){const _0x43256a=_0x84c45;this[_0x43256a(0x196)]();const {locale:_0x4d4750}=this[_0x43256a(0x175)];let _0x22941b;try{_0x22941b=await this[_0x43256a(0x144)][_0x43256a(0x178)]();}catch(_0x295981){const _0x214ff9=_0x43cdc5(_0x4d4750,_0x43256a(0x16d));return void this[_0x43256a(0x1c2)](_0x214ff9);}const _0x4bf6ca=_0x22941b[_0x43256a(0x149)]||_0x22941b[_0x43256a(0x1b4)];if(this[_0x43256a(0x1ca)]===_0x4bf6ca[_0x43256a(0x190)])await this[_0x43256a(0x21d)](this[_0x43256a(0x175)][_0x43256a(0x14f)][_0x43256a(0x20c)][_0x43256a(0x1ff)][_0x43256a(0x18a)](),!0x0);else{const _0x1726ff=_0x43cdc5(_0x4d4750,_0x43256a(0x147));this[_0x43256a(0x1c2)](_0x1726ff);}}[_0x84c45(0x196)](){const _0x164380=_0x84c45;this[_0x164380(0x144)][_0x164380(0x14a)](),this[_0x164380(0x1e4)]=[],clearTimeout(this[_0x164380(0x20f)]),this[_0x164380(0x1c6)](this[_0x164380(0x144)]);}[_0x84c45(0x128)](_0x507831){const _0x5b247e=_0x84c45,_0x53a0d2=this[_0x5b247e(0x175)][_0x5b247e(0x160)][_0x5b247e(0x1b8)](_0x595ded);this[_0x5b247e(0x1c1)](_0x53a0d2,_0x5b247e(0x139)+this[_0x5b247e(0x12b)],(_0x236637,{session:_0x1f23de})=>{const _0x4845b1=_0x5b247e;if(_0x1f23de['id']===_0x53a0d2[_0x4845b1(0x135)]){_0x236637[_0x4845b1(0x19c)]();const _0x46bb0e=this[_0x4845b1(0x175)][_0x4845b1(0x160)][_0x4845b1(0x15f)](_0x4845b1(0x1c5))&&this[_0x4845b1(0x175)][_0x4845b1(0x160)][_0x4845b1(0x1b8)](_0x4845b1(0x1c5));let _0x31ccc1=_0x1f23de[_0x4845b1(0x13f)];_0x46bb0e&&_0x46bb0e[_0x4845b1(0x1de)]&&(_0x31ccc1=_0x31ccc1[_0x4845b1(0x169)](_0x4a34a2=>_0x4845b1(0x11d)!==_0x4a34a2)),this[_0x4845b1(0x175)][_0x4845b1(0x160)][_0x4845b1(0x1b8)](_0x4845b1(0x130))[_0x4845b1(0x1ea)](_0x31ccc1,this[_0x4845b1(0x12b)]);}}),_0x53a0d2[_0x5b247e(0x1dd)](this[_0x5b247e(0x12b)],_0x507831);}[_0x84c45(0x21b)](){const _0xabeeb7=_0x84c45,_0x3e1767=this[_0xabeeb7(0x175)][_0xabeeb7(0x1f5)][_0xabeeb7(0x1da)];this[_0xabeeb7(0x175)][_0xabeeb7(0x1f5)][_0xabeeb7(0x1da)]=(..._0x52dc45)=>{const _0x2e3224=_0xabeeb7;if(!_0x52dc45[_0x52dc45[_0x2e3224(0x13c)]-0x1][_0x2e3224(0x140)])throw new _0x404436(_0x2e3224(0x1d0),this);_0x3e1767[_0x2e3224(0x1b7)](this[_0x2e3224(0x175)][_0x2e3224(0x1f5)],_0x52dc45);};}[_0x84c45(0x213)](){const _0x2df6f6=_0x84c45;this[_0x2df6f6(0x175)][_0x2df6f6(0x1f5)]['on'](_0x2df6f6(0x1a3),(_0x5bb929,[_0x3895a6])=>{const _0x13e85c=_0x2df6f6;if(this[_0x13e85c(0x179)][_0x13e85c(0x12f)])throw new _0x404436(_0x13e85c(0x1f4),this);_0x5bb929[_0x13e85c(0x1b6)](),this[_0x13e85c(0x210)]();const _0x498278=this[_0x13e85c(0x175)][_0x13e85c(0x163)][_0x13e85c(0x1b8)](_0x13e85c(0x1a9)),_0x458620=this[_0x13e85c(0x17c)](_0x3895a6,_0x498278);0x0==_0x458620[_0x13e85c(0x13c)]&&_0x458620[_0x13e85c(0x171)](new _0x1d4914(0x0)),_0x5bb929[_0x13e85c(0x1fd)]=this[_0x13e85c(0x21d)](_0x458620)[_0x13e85c(0x199)](()=>{const _0x3e1aee=_0x13e85c;this[_0x3e1aee(0x175)][_0x3e1aee(0x160)][_0x3e1aee(0x1b8)](_0x38248b)[_0x3e1aee(0x1d6)](this),this[_0x3e1aee(0x175)][_0x3e1aee(0x1f5)][_0x3e1aee(0x13b)](_0x3e1aee(0x1f2));})[_0x13e85c(0x1ba)](_0x149401=>this[_0x13e85c(0x195)](_0x13e85c(0x1cf),_0x149401))[_0x13e85c(0x121)](()=>this[_0x13e85c(0x172)]());},{'priority':_0x2df6f6(0x182)}),this[_0x2df6f6(0x175)]['on'](_0x2df6f6(0x1db),async(_0x2d72a0,[_0x7ebb4b,_0x543bfd])=>{const _0x307356=_0x2df6f6;_0x2d72a0[_0x307356(0x1b6)]();const _0x5726eb=this[_0x307356(0x175)][_0x307356(0x14f)][_0x307356(0x20c)][_0x307356(0x11e)](_0x7ebb4b);if(!this[_0x307356(0x156)][_0x307356(0x15f)](_0x7ebb4b)){const _0x59cb7d=_0x543bfd&&_0x543bfd[_0x307356(0x1f5)]?_0x543bfd[_0x307356(0x1f5)]:'',_0x2c0f17=_0x543bfd&&_0x543bfd[_0x307356(0x1bb)]?_0x543bfd[_0x307356(0x1bb)]:{};await this[_0x307356(0x1ad)](_0x7ebb4b,_0x59cb7d,_0x2c0f17);}this[_0x307356(0x175)][_0x307356(0x14f)][_0x307356(0x177)]({'isUndoable':!0x1},()=>{const _0x4769a6=_0x307356;_0x5726eb[_0x4769a6(0x152)]=!0x0,this[_0x4769a6(0x175)][_0x4769a6(0x14f)][_0x4769a6(0x20c)][_0x4769a6(0x151)][_0x4769a6(0x204)](_0x5726eb);});},{'priority':_0x2df6f6(0x182)});}async[_0x84c45(0x20b)](_0x681d6a){const _0x81fbc8=_0x84c45,_0x3ee306=this[_0x81fbc8(0x175)][_0x81fbc8(0x160)][_0x81fbc8(0x1b8)](_0x53bf69),{connection:_0x37293b}=this[_0x81fbc8(0x175)][_0x81fbc8(0x160)][_0x81fbc8(0x1b8)](_0x38248b),_0x47fb91=new Set();for(const _0x17a30b of _0x681d6a){const _0x5c981a=_0x17a30b[_0x81fbc8(0x1ce)];_0x5c981a&&!_0x3ee306[_0x81fbc8(0x11c)](_0x5c981a)&&_0x47fb91[_0x81fbc8(0x1d9)](_0x5c981a);}if(0x0===_0x47fb91[_0x81fbc8(0x143)])return;const _0x3578eb=await _0x19d35d[_0x81fbc8(0x1e9)](_0x37293b,Array[_0x81fbc8(0x170)](_0x47fb91));for(const _0x30bfd5 of _0x3578eb)_0x3ee306[_0x81fbc8(0x11c)](_0x30bfd5['id'])||_0x3ee306[_0x81fbc8(0x1bf)](_0x30bfd5);}[_0x84c45(0x17c)](_0x1087b6,_0x509116={}){const _0x4acc93=_0x84c45,_0x429a99=this[_0x4acc93(0x175)][_0x4acc93(0x14f)],_0x540a0e=[];let _0x76aecd=0x0;const _0x476654=_0x4acc93(0x1bd)==typeof _0x1087b6?{'main':_0x1087b6}:_0x1087b6;for(const _0x144a45 of Object[_0x4acc93(0x18d)](_0x476654)){if(!this[_0x4acc93(0x179)][_0x4acc93(0x1f8)][_0x4acc93(0x15f)](_0x144a45))throw new _0x404436(_0x4acc93(0x216),this);const _0x3110ad=this[_0x4acc93(0x175)][_0x4acc93(0x1f5)][_0x4acc93(0x17d)](_0x476654[_0x144a45]),_0x1a37dc=this[_0x4acc93(0x179)][_0x4acc93(0x11e)](_0x144a45),_0x15b105=new _0x2c7d80(_0x429a99[_0x4acc93(0x214)](_0x1a37dc,0x0),_0x3110ad,_0x76aecd++);_0x540a0e[_0x4acc93(0x171)](_0x15b105);for(const [_0x1d8eb8,_0x29eef1]of _0x3110ad[_0x4acc93(0x1f9)]){const _0x5b8a48=_0x429a99[_0x4acc93(0x21c)](_0x429a99[_0x4acc93(0x1b0)](_0x1a37dc,_0x29eef1[_0x4acc93(0x150)][_0x4acc93(0x145)][_0x4acc93(0x12d)]()),_0x429a99[_0x4acc93(0x1b0)](_0x1a37dc,_0x29eef1[_0x4acc93(0x1ef)][_0x4acc93(0x145)][_0x4acc93(0x12d)]())),_0x4a9926=new _0x450092(_0x1d8eb8,null,_0x5b8a48,_0x429a99[_0x4acc93(0x1f9)],!0x0,_0x76aecd++);_0x540a0e[_0x4acc93(0x171)](_0x4a9926);}}if(_0x509116)for(const [_0xc32c78,_0x269e3b]of Object[_0x4acc93(0x1aa)](_0x509116)){const _0x21ee40=_0x429a99[_0x4acc93(0x20c)][_0x4acc93(0x11e)](_0xc32c78);if(!_0x21ee40)throw new _0x404436(_0x4acc93(0x159),null);for(const [_0x3ae8ed,_0x21809b]of Object[_0x4acc93(0x1aa)](_0x269e3b))if(null!==_0x21809b){const _0x16c2b5=new _0x4d2ef3(_0x21ee40,_0x3ae8ed,null,_0x21809b,_0x76aecd++);_0x540a0e[_0x4acc93(0x171)](_0x16c2b5);}}return _0x540a0e;}async[_0x84c45(0x1ad)](_0x23021d,_0x22f0b2,_0x359b79){const _0x3c0599=_0x84c45;this[_0x3c0599(0x17c)]({[_0x23021d]:_0x22f0b2},{[_0x23021d]:_0x359b79})[_0x3c0599(0x1ab)]((_0x56dbb8,_0x37ab46)=>{const _0xc52ab2=_0x3c0599;_0x56dbb8[_0xc52ab2(0x217)]=this[_0xc52ab2(0x179)][_0xc52ab2(0x12f)]+_0x37ab46,_0x56dbb8[_0xc52ab2(0x1e5)]=!0x0,this[_0xc52ab2(0x129)](_0x56dbb8);}),this[_0x3c0599(0x124)](),await this[_0x3c0599(0x120)]();}async[_0x84c45(0x18e)](_0x39cbc6,_0x421d7e){const _0x92249f=_0x84c45;let _0x376638;this[_0x92249f(0x1c4)]=_0x39cbc6[_0x92249f(0x167)];const _0x46fade=_0x39cbc6[_0x92249f(0x19a)]&&!_0x39cbc6[_0x92249f(0x141)],_0x4d52d6=_0x46fade?0x0:_0x39cbc6[_0x92249f(0x1f5)][_0x92249f(0x217)];if(_0x421d7e[_0x92249f(0x1ab)](_0x2ff8f5=>{const _0x4fc916=_0x92249f;_0x2ff8f5[_0x4fc916(0x1e5)]=!0x0,_0x2ff8f5[_0x4fc916(0x1d4)]=_0x39cbc6[_0x4fc916(0x12c)],_0x2ff8f5[_0x4fc916(0x1ce)]=null;}),_0x46fade)_0x376638=_0x421d7e,this[_0x92249f(0x1d2)](_0x376638,_0x46fade);else{if(_0x39cbc6[_0x92249f(0x141)]){const _0x303778=this[_0x92249f(0x17c)](_0x39cbc6[_0x92249f(0x141)]);this[_0x92249f(0x179)][_0x92249f(0x1ff)][_0x92249f(0x12f)]=-_0x303778[_0x92249f(0x13c)],_0x303778[_0x92249f(0x1ab)](_0x207738=>{const _0xb6266f=_0x92249f;_0x207738[_0xb6266f(0x217)]-=_0x303778[_0xb6266f(0x13c)],_0x207738[_0xb6266f(0x1d4)]=_0x39cbc6[_0xb6266f(0x12c)],_0x207738[_0xb6266f(0x1e5)]=!0x0,_0x207738[_0xb6266f(0x1ce)]=null;}),this[_0x92249f(0x1d2)](_0x303778,!0x0),this[_0x92249f(0x189)][_0x92249f(0x12f)]=-_0x303778[_0x92249f(0x13c)]+this[_0x92249f(0x1c4)],this[_0x92249f(0x15d)](_0x303778);}this[_0x92249f(0x179)][_0x92249f(0x1ff)][_0x92249f(0x12f)]=_0x4d52d6,_0x376638=this[_0x92249f(0x173)](_0x39cbc6[_0x92249f(0x1f5)],_0x39cbc6[_0x92249f(0x181)]),await this[_0x92249f(0x20b)](_0x376638),this[_0x92249f(0x1d2)](_0x376638,_0x46fade);}_0x39cbc6[_0x92249f(0x190)]&&(this[_0x92249f(0x1af)][_0x92249f(0x19e)](_0x376638,_0x39cbc6[_0x92249f(0x190)]),this[_0x92249f(0x1ca)]=_0x39cbc6[_0x92249f(0x190)]),this[_0x92249f(0x189)][_0x92249f(0x12f)]=_0x4d52d6+this[_0x92249f(0x1c4)],this[_0x92249f(0x15d)](_0x376638),_0x421d7e[_0x92249f(0x169)](_0x34694c=>{const _0x3af479=_0x92249f,_0x2659c9=this[_0x3af479(0x1ac)](_0x34694c);return _0x2659c9&&!this[_0x3af479(0x156)][_0x3af479(0x15f)](_0x2659c9);})[_0x92249f(0x1ab)]((_0x5c1123,_0x1e99ef)=>{const _0x3ed59b=_0x92249f;_0x5c1123[_0x3ed59b(0x217)]=this[_0x3ed59b(0x179)][_0x3ed59b(0x12f)]+_0x1e99ef,this[_0x3ed59b(0x129)](_0x5c1123);}),this[_0x92249f(0x168)]()?(this[_0x92249f(0x155)]=0x0,this[_0x92249f(0x124)](!0x0),await this[_0x92249f(0x120)]()):(this[_0x92249f(0x17a)]=!0x1,this[_0x92249f(0x172)]());}[_0x84c45(0x195)](_0xb4aa58,_0x3ad286,_0x506122){const _0x1f1cdb=_0x84c45;throw this[_0x1f1cdb(0x17a)]=!0x0,_0x3ad286&&console[_0x1f1cdb(0x191)](_0x3ad286),_0x506122&&this[_0x1f1cdb(0x175)][_0x1f1cdb(0x1a0)](_0x1f1cdb(0x20a)),new _0x404436(_0xb4aa58,this[_0x1f1cdb(0x175)]);}[_0x84c45(0x129)](_0x4f1843){const _0xff3870=_0x84c45;this[_0xff3870(0x197)][_0xff3870(0x15f)](_0x4f1843)||(this[_0xff3870(0x197)][_0xff3870(0x1d9)](_0x4f1843),this[_0xff3870(0x1e4)][_0xff3870(0x171)](_0x4f1843),this[_0xff3870(0x14c)]||_0xff3870(0x126)==_0x4f1843[_0xff3870(0x1f3)]&&!_0x4f1843[_0xff3870(0x1b3)]||this[_0xff3870(0x210)]());}[_0x84c45(0x124)](_0x5c6e19=!0x1){const _0x2bfbb7=_0x84c45;!_0x5c6e19&&this[_0x2bfbb7(0x17a)]||(this[_0x2bfbb7(0x17a)]=!0x0,clearTimeout(this[_0x2bfbb7(0x20f)]),this[_0x2bfbb7(0x20f)]=setTimeout(()=>{const _0x3cde70=_0x2bfbb7;this[_0x3cde70(0x1d7)]()[_0x3cde70(0x199)](_0x225518=>{const _0x3904b4=_0x3cde70;_0x225518&&(this[_0x3904b4(0x172)](),this[_0x3904b4(0x17a)]=!0x1);})[_0x3cde70(0x1ba)](_0x1f4180=>{const _0x238782=_0x3cde70;this[_0x238782(0x172)](),this[_0x238782(0x17a)]=!0x1,function(_0x5a0b29){const _0x20f6b7=_0x238782;return _0x5a0b29[_0x20f6b7(0x1c8)][_0x20f6b7(0x1e7)](_0x20f6b7(0x194))||_0x5a0b29[_0x20f6b7(0x1c8)][_0x20f6b7(0x1e7)](_0x20f6b7(0x201))||_0x5a0b29[_0x20f6b7(0x1c8)][_0x20f6b7(0x1e7)](_0x20f6b7(0x1fc));}(_0x1f4180)||this[_0x238782(0x195)](_0x1f4180[_0x238782(0x1c8)],_0x1f4180,!0x0);});},this[_0x2bfbb7(0x155)]));}[_0x84c45(0x120)](){return new Promise(_0x484c91=>{const _0x192757=_0x18fd;this['on'](_0x192757(0x1ed),()=>{_0x484c91();});});}async[_0x84c45(0x1d7)](){const _0xe07d20=_0x84c45,_0x2f67d5=this[_0xe07d20(0x175)][_0xe07d20(0x160)][_0xe07d20(0x1b8)](_0xc0ad90);if(this[_0xe07d20(0x1c3)]()&&(_0x2f67d5[_0xe07d20(0x218)](),this[_0xe07d20(0x198)]=!0x1),!this[_0xe07d20(0x168)]())return!0x0;const _0x2507b5=[...this[_0xe07d20(0x1e4)]];for(const _0x3fded9 of _0x2507b5)_0x3fded9[_0xe07d20(0x16c)]=this[_0xe07d20(0x179)][_0xe07d20(0x1ff)][_0xe07d20(0x1d5)](_0x3fded9);const _0x1ab649=this[_0xe07d20(0x1af)][_0xe07d20(0x1be)](_0x2507b5),_0x26278b=Z++,_0x44e352=this[_0xe07d20(0x206)](_0x2507b5),_0x4ca4aa=await this[_0xe07d20(0x144)][_0xe07d20(0x185)](_0x44e352,_0x44e352[_0xe07d20(0x217)],_0x1ab649);try{return await this[_0xe07d20(0x164)](_0x2507b5,_0x4ca4aa,_0x26278b);}catch(_0x189974){return this[_0xe07d20(0x195)](_0xe07d20(0x146),_0x189974);}}async[_0x84c45(0x164)](_0x5e9698,_0x1f4a8f,_0x2173c0){const _0xdeeae9=_0x84c45;if(_0xdeeae9(0x191)in _0x1f4a8f)throw _0x1f4a8f[_0xdeeae9(0x191)];let _0x111fa8=!0x1;if(_0x1f4a8f[_0xdeeae9(0x19a)]){_0x1f4a8f[_0xdeeae9(0x190)]&&(this[_0xdeeae9(0x1ca)]=_0x1f4a8f[_0xdeeae9(0x190)]),this[_0xdeeae9(0x1e4)]=this[_0xdeeae9(0x1e4)][_0xdeeae9(0x169)](_0x27b01a=>!_0x5e9698[_0xdeeae9(0x188)](_0x27b01a));for(const _0x2c1e80 of _0x5e9698)_0x2c1e80[_0xdeeae9(0x1d4)]=_0xdeeae9(0x1e1)in _0x1f4a8f&&_0x1f4a8f[_0xdeeae9(0x1e1)]||void 0x0;it(_0x5e9698,_0x1f4a8f[_0xdeeae9(0x12f)]-_0x5e9698[_0xdeeae9(0x13c)]),this[_0xdeeae9(0x15d)](_0x5e9698);const _0x2a71e8=_0x5e9698[_0xdeeae9(0x169)](_0x167a48=>{const _0x418a25=_0xdeeae9;if(!_0x167a48[_0x418a25(0x1e5)])return!0x1;const _0x2a168b=this[_0x418a25(0x1ac)](_0x167a48);return _0x2a168b&&!this[_0x418a25(0x156)][_0x418a25(0x15f)](_0x2a168b);});it(_0x2a71e8,this[_0xdeeae9(0x179)][_0xdeeae9(0x12f)]),this[_0xdeeae9(0x1d2)](_0x2a71e8),_0x111fa8=!0x0,this[_0xdeeae9(0x155)]=this[_0xdeeae9(0x1ee)];}else{const _0x3d52c0=this[_0xdeeae9(0x173)](_0x1f4a8f[_0xdeeae9(0x1f5)],_0x1f4a8f[_0xdeeae9(0x181)])[_0xdeeae9(0x169)](_0x4b392b=>_0x4b392b[_0xdeeae9(0x217)]>=this[_0xdeeae9(0x142)]);_0x3d52c0[_0xdeeae9(0x1ab)](_0x50e30c=>this[_0xdeeae9(0x1d3)](_0x50e30c)),this[_0xdeeae9(0x1e4)]=this[_0xdeeae9(0x1e4)][_0xdeeae9(0x169)](_0x45fc97=>!_0x45fc97[_0xdeeae9(0x1e5)]||!this[_0xdeeae9(0x156)][_0xdeeae9(0x15f)](this[_0xdeeae9(0x1ac)](_0x45fc97))),this[_0xdeeae9(0x1e4)][_0xdeeae9(0x13c)]&&it(this[_0xdeeae9(0x1e4)],this[_0xdeeae9(0x1e4)][0x0][_0xdeeae9(0x217)]),await this[_0xdeeae9(0x20b)](_0x3d52c0),_0x111fa8=this[_0xdeeae9(0x1d1)](_0x3d52c0,_0x1f4a8f[_0xdeeae9(0x12f)],_0x1f4a8f[_0xdeeae9(0x190)]),this[_0xdeeae9(0x155)]=Math[_0xdeeae9(0x15e)](this[_0xdeeae9(0x155)]/0x2);}return _0x111fa8?!this[_0xdeeae9(0x168)]()||(this[_0xdeeae9(0x124)](!0x0),!0x1):this[_0xdeeae9(0x195)](_0xdeeae9(0x184));}[_0x84c45(0x1d1)](_0x5bccd9,_0x57bebf,_0x5074fe){const _0x508aca=_0x84c45;try{const _0x1cedf8={'document':this[_0x508aca(0x179)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x36b484,operationsB:_0x4a5f65,originalOperations:_0x44dd20}=_0x13cb36(_0x5bccd9,this[_0x508aca(0x1e4)],_0x1cedf8);it(_0x36b484,this[_0x508aca(0x179)][_0x508aca(0x12f)]),it(_0x4a5f65,_0x57bebf);for(const _0x4596e4 of _0x36b484){const _0x3cb282=_0x44dd20[_0x508aca(0x1b8)](_0x4596e4);_0x4596e4[_0x508aca(0x1ce)]=_0x3cb282?_0x3cb282[_0x508aca(0x1ce)]:null;}_0x5074fe&&(this[_0x508aca(0x1af)][_0x508aca(0x19e)](_0x5bccd9,_0x5074fe),this[_0x508aca(0x1ca)]=_0x5074fe),this[_0x508aca(0x1e4)]=[..._0x4a5f65],this[_0x508aca(0x1d2)](_0x36b484),this[_0x508aca(0x15d)](_0x5bccd9);}catch(_0x6b0791){return console[_0x508aca(0x191)](_0x6b0791),!0x1;}return!0x0;}[_0x84c45(0x1d2)](_0x48d31d,_0x10dac4=!0x1){const _0x16a0d9=_0x84c45;this[_0x16a0d9(0x175)][_0x16a0d9(0x14f)][_0x16a0d9(0x177)]({'isUndoable':!0x1,'isLocal':!0x1},_0x58b13d=>{const _0x114f6f=_0x16a0d9;for(const _0x5a71fe of _0x48d31d)this[_0x114f6f(0x197)][_0x114f6f(0x1d9)](_0x5a71fe),this[_0x114f6f(0x1d3)](_0x5a71fe),_0x58b13d[_0x114f6f(0x19b)][_0x114f6f(0x161)](_0x5a71fe),this[_0x114f6f(0x175)][_0x114f6f(0x14f)][_0x114f6f(0x209)](_0x5a71fe);});}[_0x84c45(0x1d3)](_0x4b61b1){const _0x47ec2a=_0x84c45,_0x54d7c0=this[_0x47ec2a(0x1ac)](_0x4b61b1);_0x54d7c0&&this[_0x47ec2a(0x156)][_0x47ec2a(0x1d9)](_0x54d7c0);}[_0x84c45(0x1ac)](_0x415c60){const _0x32480f=_0x84c45;let _0x2646c7,_0x24a7c8;switch(_0x415c60[_0x32480f(0x1f3)]){case _0x32480f(0x219):_0x2646c7=_0x415c60[_0x32480f(0x20e)][_0x32480f(0x132)];break;case _0x32480f(0x126):if(_0x24a7c8=_0x415c60[_0x32480f(0x200)],!_0x24a7c8)return null;_0x2646c7=_0x24a7c8[_0x32480f(0x132)];break;case _0x32480f(0x138):_0x2646c7=_0x415c60[_0x32480f(0x132)];break;case _0x32480f(0x148):_0x2646c7=_0x415c60[_0x32480f(0x215)];break;case _0x32480f(0x1b5):_0x2646c7=_0x415c60[_0x32480f(0x1a5)][_0x32480f(0x132)];break;default:return null;}return _0x2646c7[_0x32480f(0x211)];}[_0x84c45(0x15d)](_0x5b13a9){const _0x4902a7=_0x84c45;_0x5b13a9[_0x4902a7(0x1ab)](_0x3bd7f6=>{const _0x57cb2e=_0x4902a7,_0x218445=_0x3bd7f6[_0x57cb2e(0x14b)]();_0x218445[_0x57cb2e(0x1ce)]=_0x3bd7f6[_0x57cb2e(0x1ce)],_0x218445[_0x57cb2e(0x1e5)]=!!_0x3bd7f6[_0x57cb2e(0x1e5)],_0x218445[_0x57cb2e(0x1d4)]=_0x3bd7f6[_0x57cb2e(0x1d4)],_0x218445[_0x57cb2e(0x217)]+=this[_0x57cb2e(0x1c4)],_0x3bd7f6[_0x57cb2e(0x193)]&&this[_0x57cb2e(0x205)][_0x57cb2e(0x1d9)](_0x218445),this[_0x57cb2e(0x189)][_0x57cb2e(0x161)](_0x218445);});}[_0x84c45(0x1c2)](_0x3d1ed4){const _0x39c7de=_0x84c45,_0x6ac546=this[_0x39c7de(0x175)][_0x39c7de(0x160)][_0x39c7de(0x1b8)](_0x39c7de(0x1a8)),_0x34bfd5=this[_0x39c7de(0x175)][_0x39c7de(0x174)];_0x3d1ed4||(_0x3d1ed4=_0x43cdc5(_0x34bfd5,_0x39c7de(0x154))),_0x6ac546[_0x39c7de(0x13d)](_0x3d1ed4,{'title':_0x43cdc5(_0x34bfd5,_0x39c7de(0x1c7)),'namespace':_0x39c7de(0x1f6)}),this[_0x39c7de(0x17e)]=!0x0,clearTimeout(this[_0x39c7de(0x20f)]),this[_0x39c7de(0x1e4)]=[],this[_0x39c7de(0x175)][_0x39c7de(0x160)][_0x39c7de(0x1b8)](_0x38248b)[_0x39c7de(0x1fe)]();}[_0x84c45(0x210)](){const _0x319d39=_0x84c45;this[_0x319d39(0x14c)]||(this[_0x319d39(0x14c)]=this[_0x319d39(0x175)][_0x319d39(0x160)][_0x319d39(0x1b8)](_0x206462)[_0x319d39(0x1d9)](_0x43cdc5(this[_0x319d39(0x175)][_0x319d39(0x174)],_0x319d39(0x17f))));}[_0x84c45(0x172)](){const _0x52dff7=_0x84c45;this[_0x52dff7(0x14c)]&&(this[_0x52dff7(0x175)][_0x52dff7(0x160)][_0x52dff7(0x1b8)](_0x206462)[_0x52dff7(0x11f)](this[_0x52dff7(0x14c)]),this[_0x52dff7(0x14c)]=null);}[_0x84c45(0x206)](_0x18de0c){const _0x22889a=_0x84c45,_0x4b29b5=_0x18de0c[_0x22889a(0x202)](_0x5ad198=>_0x5ad198[_0x22889a(0x1e0)]());return this[_0x22889a(0x1e6)][_0x22889a(0x11b)](_0x4b29b5);}[_0x84c45(0x173)](_0x54f658,_0x56c369){const _0x1e05d7=_0x84c45;return this[_0x1e05d7(0x1e6)][_0x1e05d7(0x1e2)](_0x54f658)[_0x1e05d7(0x202)]((_0x431d2a,_0x3ae383)=>{const _0x5b115d=_0x1e05d7,_0x16439d=_0x5b115d(0x1a3)==_0x56c369[_0x3ae383][_0x5b115d(0x1f3)];if(_0x5b115d(0x15b)==_0x431d2a[_0x5b115d(0x1fa)]){const _0xa1e9ff=_0x431d2a[_0x5b115d(0x20e)][_0x5b115d(0x132)];!this[_0x5b115d(0x179)][_0x5b115d(0x11e)](_0xa1e9ff)&&(this[_0x5b115d(0x179)][_0x5b115d(0x1f7)](_0x5b115d(0x187),_0xa1e9ff)[_0x5b115d(0x1d8)]=!0x1);}const _0x538bb1=_0x355682[_0x5b115d(0x11a)](_0x431d2a,this[_0x5b115d(0x179)]);return _0x538bb1[_0x5b115d(0x16c)]=_0x431d2a[_0x5b115d(0x16c)],_0x538bb1[_0x5b115d(0x1e5)]=_0x16439d,_0x538bb1[_0x5b115d(0x1ce)]=_0x16439d?null:_0x56c369[_0x3ae383][_0x5b115d(0x165)],_0x538bb1[_0x5b115d(0x193)]=_0x5b115d(0x1a2)===_0x56c369[_0x3ae383][_0x5b115d(0x1f3)],_0x538bb1[_0x5b115d(0x1d4)]=_0x56c369[_0x3ae383][_0x5b115d(0x1d4)],_0x538bb1;});}[_0x84c45(0x1e3)](){const _0x2211a9=_0x84c45;this[_0x2211a9(0x198)]=!0x0,this[_0x2211a9(0x1c3)]()?this[_0x2211a9(0x124)]():this[_0x2211a9(0x198)]=!0x1;}[_0x84c45(0x1c3)](){const _0x59b4fb=_0x84c45,_0x5007b8=this[_0x59b4fb(0x175)][_0x59b4fb(0x160)][_0x59b4fb(0x1b8)](_0x595ded)[_0x59b4fb(0x19d)][_0x59b4fb(0x1b8)](this[_0x59b4fb(0x12b)]);return!this[_0x59b4fb(0x175)][_0x59b4fb(0x1c0)]&&!!_0x5007b8&&_0x5007b8[_0x59b4fb(0x13c)]>0x1&&this[_0x59b4fb(0x198)];}[_0x84c45(0x168)](){const _0x42e629=_0x84c45;return this[_0x42e629(0x1e4)][_0x42e629(0x13c)]>0x0||this[_0x42e629(0x1c3)]();}}l[_0x84c45(0x1b9)]=_0x4a6f41;function _0x5844(){const _0x581769=['then','wereChangesApplied','batch','off','channelSessions','setIdForTheLastOperation','_isEditingAllowed','enableReadOnlyMode','collaboration.channelId','cs:removeUser','init','realtimecollaborationclient-initservice-incorrect-server-operation','targetPosition','unregister','change:_isEditingAllowed','Notification','rootsAttributes','entries','forEach','_getAffectedRoot','_loadRoot','pluginName','_operationIdentifier','createPositionFromPath','collaboration','connection','affectsData','lastDocumentSession','move','stop','apply','get','CollaborativeEditingService','catch','attributes','65GDhPCE','string','getIdOfTheLastOperation','addUser','isReadOnly','listenTo','_handleReconnectionError','_shouldSendSelectionUpdate','_offset','CommentsOnly','stopListening','Synchronization\x20issue','message','sessionId','_lastSyncedOperationId','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','10290996oLbaww','change:hasDomSelection','_authorId','realtimecollaborationclient-init-connection-failed','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_handleExternalOperations','_applyOperationsSet','_addKnownRoot','createdAt','isUndoneOperation','addToReconnectionStack','_sendBufferedOperations','_isAttached','add','set','loadRoot','view','register','isEnabled','isPremiumPlugin','toJSON','lastOperationAcceptedAt','decompress','_refreshUserSelectionMarkers','_bufferedOperations','_isInit','_compressor','startsWith','376abKEju','getMany','setPermissions','connected','realtimecollaborationclient-init-session-connection-error','change:_isPendingUpdate','_baseBufferDelay','end','change:range','1739325XRBWjY','ready','type','realtimecollaborationclient-init-document-already-initialized','data','real-time-collaboration','createRoot','roots','markers','__className','reconnect','cloud-services-internal-error:\x20Request\x20timeout.','return','destroy','history','newRange','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','map','_handleReconnectionResponse','_bufferRootLoad','_disconnectionOperations','_compressOperations','lastSyncVersion','_isConnected','applyOperation','realtimecollaborationclient-error','_fetchMissingUsers','document','reconnection:\x20flushed\x20session','position','_sendBufferedOperationsDelayId','_setPendingAction','rootName','187284DbWVEJ','_setUpDataInit','createPositionAt','affectedSelectable','realtimecollaborationclient-init-non-existent-root','baseVersion','createUserMarkerOperations','insert','409','_initThrowingOnDataSet','createRange','_connectService','fromJSON','compress','getUser','document:write','getRoot','remove','_waitUntilSynced','finally','connect','requires','_sendBufferedOperationsDelayed','getConnectedSessions','marker','782940tSaFFi','_initSessionsHandling','_saveOperationInBuffer','selection','_channelId','sessionCreatedAt','slice','411732cbtuFR','version','Permissions','isOfficialPlugin','root','_connectAfterSessionHasBeenFlushed','state','mySessionId','operationsReceived','directChange','addRootAttribute','sessionAdd:','code','fire','length','showWarning','_handleReceivedOperations','permissions','suppressErrorInCollaboration','initData','_lastServerVersion','size','_service','path','realtimecollaborationclient-sendbufferedoperations','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','addRoot','currentDocumentSession','disconnect','clone','_pendingAction','isDocumentOperation','reset','model','start','differ','_isLoaded','collaboration-missing-channelid','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_currentBufferDelay','_knownRootNames','removeFromReconnectionStack','cloudDocumentVersion','multi-root-editor-root-attributes-no-root','275302KVrPHk','InsertOperation','realtimecollaborationclient-initservice-internal-error','_updateServerHistory','round','has','plugins','addOperation','_handleSendingSelectionMarkers','config','_handleServerResponse','userId','_ignoredOperations','offset','_shouldSendUpdate','filter','_operationToId','RealTimeCollaborationClient','wasUndone','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','editing','define','from','push','_clearPendingAction','_decompressOperations','locale','editor','getOperationAuthor','enqueueChange','getDocumentDetails','_document','_isPendingUpdate','bind','_getOperationsFromInitData','parse','_hasSynchronizationProblem','PENDING_ACTION_SENDING_DATA','404','metadata','high','rtc-offline','realtimecollaborationclient-handleserverresponse','sendOperations','cloudServices.bundleVersion','$root','includes','serverHistory','getOperations','disableReadOnlyMode','rtc-destroyed','keys','_handleInitialConnectionData','disconnected','lastOperationId','error','95529IPiHwG','_isDisconnection','cloud-services-internal-error:\x20Not\x20connected.','_crash','_disconnectService','_knownOperations','_hasSelectionChanged'];_0x5844=function(){return _0x581769;};return _0x5844();}export default l;class tt extends Error{}function it(_0x24dd13,_0x27f079){const _0x14c22d=_0x84c45;for(const _0x5ae107 of _0x24dd13)_0x5ae107[_0x14c22d(0x217)]=_0x27f079++;}class st{constructor(_0x311185){const _0x465285=_0x84c45;this[_0x465285(0x166)]=_0x311185,this[_0x465285(0x16a)]=new WeakMap();}[_0x84c45(0x1be)](_0x2a7da5){const _0x3ad3ab=_0x84c45;let _0x38c373=_0x2a7da5[_0x3ad3ab(0x13c)];for(;_0x38c373--;){const _0x1547ef=_0x2a7da5[_0x38c373];if(!this[_0x3ad3ab(0x166)][_0x3ad3ab(0x15f)](_0x1547ef)){if(!this[_0x3ad3ab(0x16a)][_0x3ad3ab(0x15f)](_0x1547ef)){const _0x47193c=_0x36492c()[_0x3ad3ab(0x12d)](0x1,0x12);this[_0x3ad3ab(0x16a)][_0x3ad3ab(0x1da)](_0x1547ef,_0x47193c);}return this[_0x3ad3ab(0x16a)][_0x3ad3ab(0x1b8)](_0x1547ef);}}}[_0x84c45(0x19e)](_0x347d0b,_0x3003be){const _0x1fc94b=_0x84c45;if(!_0x3003be)return;let _0x3ab00c=_0x347d0b[_0x1fc94b(0x13c)];for(;_0x3ab00c--;){const _0x1af162=_0x347d0b[_0x3ab00c];this[_0x1fc94b(0x166)][_0x1fc94b(0x15f)](_0x1af162)||this[_0x1fc94b(0x16a)][_0x1fc94b(0x1da)](_0x1af162,_0x3003be);}}}
|
|
23
|
+
const _0x17be9e=_0x47c3;(function(_0x4a5656,_0x4099ea){const _0x5900df=_0x47c3,_0x34c90a=_0x4a5656();while(!![]){try{const _0x229e0d=parseInt(_0x5900df(0x21d))/0x1*(-parseInt(_0x5900df(0x1e4))/0x2)+parseInt(_0x5900df(0x163))/0x3+parseInt(_0x5900df(0x1d0))/0x4*(parseInt(_0x5900df(0x17e))/0x5)+parseInt(_0x5900df(0x1be))/0x6+-parseInt(_0x5900df(0x24e))/0x7+parseInt(_0x5900df(0x202))/0x8*(-parseInt(_0x5900df(0x1a6))/0x9)+parseInt(_0x5900df(0x211))/0xa*(parseInt(_0x5900df(0x233))/0xb);if(_0x229e0d===_0x4099ea)break;else _0x34c90a['push'](_0x34c90a['shift']());}catch(_0x4c7ed4){_0x34c90a['push'](_0x34c90a['shift']());}}}(_0x345d,0x8b910));import{Plugin as _0x283be8,PendingActions as _0x49e571}from'ckeditor5/src/core.js';import{CKEditorError as _0x37d164,version as _0xe4e05a,uid as _0x416b29}from'ckeditor5/src/utils.js';function _0x345d(){const _0x5b6324=['reconnect','change:_isPendingUpdate','_initThrowingOnDataSet','directChange','isPremiumPlugin','unregister','listenTo','realtimecollaborationclient-init-session-connection-error','PENDING_ACTION_SENDING_DATA','realtimecollaborationclient-error','error','cloud-services-internal-error:\x20Not\x20connected.','5393531pRbXBg','catch','currentDocumentSession','path','addRootAttribute','setPermissions','length','filter','ready','forEach','realtimecollaborationclient-sendbufferedoperations','_pendingAction','affectsData','cloud-services-internal-error:\x20Request\x20timeout.','version','_baseBufferDelay','sessionAdd:','createPositionAt','_handleInitialConnectionData','_lastSyncedOperationId','CommentsOnly','keys','Notification','mySessionId','attributes','markers','getOperations','7741097LapuZA','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','showWarning','_lastServerVersion','_clearPendingAction','InsertOperation','multi-root-editor-root-attributes-no-root','_isConnected','lastSyncVersion','_compressor','slice','_isInit','change:range','_hasSynchronizationProblem','startsWith','_loadRoot','userId','_applyOperationsSet','Permissions','_updateServerHistory','lastOperationId','roots','createPositionFromPath','define','addOperation','_initSessionsHandling','_currentBufferDelay','3095541DqCeAO','high','getRoot','add','addToReconnectionStack','editing','_sendBufferedOperationsDelayId','history','_isAttached','_isDisconnection','wasUndone','selection','requires','cs:removeUser','_compressOperations','getMany','realtimecollaborationclient-init-document-already-initialized','_hasSelectionChanged','metadata','_shouldSendUpdate','removeFromReconnectionStack','type','isOfficialPlugin','_setUpDataInit','collaboration.channelId','enqueueChange','realtimecollaborationclient-initservice-internal-error','5NcpzlH','_operationToId','initData','batch','newRange','_sendBufferedOperations','RealTimeCollaborationClient','operationsReceived','_getAffectedRoot','isEnabled','_handleReconnectionError','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isPendingUpdate','from','clone','off','_isEditingAllowed','getConnectedSessions','_knownRootNames','_waitUntilSynced','_document','_addKnownRoot','change:_isEditingAllowed','then','_handleSendingSelectionMarkers','_handleReconnectionResponse','cloudDocumentVersion','init','connect','start','baseVersion','pluginName','model','wereChangesApplied','suppressErrorInCollaboration','push','data','_isLoaded','editor','loadRoot','162KdKRvi','_disconnectionOperations','isReadOnly','_channelId','collaboration-missing-channelid','channelSessions','getIdOfTheLastOperation','_handleExternalOperations','plugins','_setPendingAction','enableReadOnlyMode','getUser','decompress','affectedSelectable','offset','has','collaboration','set','code','_sendBufferedOperationsDelayed','409','_bufferRootLoad','createdAt','apply','4932606DreAyc','_handleReceivedOperations','getOperationAuthor','_bufferedOperations','createRoot','toJSON','realtimecollaborationclient-handleserverresponse','config','size','get','document:write','fire','_saveOperationInBuffer','root','$root','realtimecollaborationclient-initservice-incorrect-server-operation','includes','remove','1016012zHTHwg','position','finally','message','register','lastDocumentSession','disableReadOnlyMode','_operationIdentifier','bind','_fetchMissingUsers','connection','targetPosition','_connectAfterSessionHasBeenFlushed','real-time-collaboration','_knownOperations','_getOperationsFromInitData','connected','string','getDocumentDetails','realtimecollaborationclient-init-non-existent-root','11752QOLddP','applyOperation','_authorId','compress','return','reset','CollaborativeEditingService','isDocumentOperation','cloudServices.bundleVersion','disconnect','addUser','lastOperationAcceptedAt','move','insert','_ignoredOperations','differ','realtimecollaborationclient-init-connection-failed','__className','entries','addRoot','disconnected','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','locale','state','destroy','fromJSON','_shouldSendSelectionUpdate','_handleServerResponse','rootsAttributes','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','444328oIfBrx','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','404','Synchronization\x20issue','_decompressOperations','_connectService','serverHistory','view','rtc-offline','setIdForTheLastOperation','map','marker','end','_refreshUserSelectionMarkers','change:hasDomSelection','20AQQTOO','rtc-destroyed','sendOperations','createUserMarkerOperations','permissions','stopListening','_service','round','_disconnectService','_crash','reconnection:\x20flushed\x20session','_offset','70LOACGX','rootName','isUndoneOperation','sessionId','createRange','stop','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','document','parse','sessionCreatedAt'];_0x345d=function(){return _0x5b6324;};return _0x345d();}import{Notification as _0x5d28cd}from'ckeditor5/src/ui.js';import{transformSets as _0x40e279,NoOperation as _0x58984e,InsertOperation as _0x48d407,MarkerOperation as _0x5de32b,RootAttributeOperation as _0x4bc690,OperationFactory as _0x4131a3,History as _0x24d329}from'ckeditor5/src/engine.js';import _0x5add02 from'./websocketgateway.js';import _0x4d155e from'./sessions.js';import _0x9c9056 from'./usermarkers.js';import{getTranslation as _0x523e8d}from'../common-translations.js';import{Compressor as _0x542698}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x375cb9}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x53befc,CollaborativeEditingService as _0x56ff6c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let M=0x1;class l extends _0x283be8{static get[_0x17be9e(0x16f)](){return[_0x5add02,_0x4d155e,_0x9c9056,_0x49e571,_0x375cb9,_0x5d28cd];}static get[_0x17be9e(0x19d)](){const _0x44ae9d=_0x17be9e;return _0x44ae9d(0x184);}static get[_0x17be9e(0x179)](){return!0x0;}static get[_0x17be9e(0x22b)](){return!0x0;}get[_0x17be9e(0x198)](){const _0x7bccaa=_0x17be9e;return this[_0x7bccaa(0x251)]+this[_0x7bccaa(0x21c)];}get[_0x17be9e(0x251)](){const _0x2382ec=_0x17be9e;return this[_0x2382ec(0x208)][_0x2382ec(0x241)]-this[_0x2382ec(0x21c)];}get[_0x17be9e(0x256)](){const _0x3d1df4=_0x17be9e,_0x426c36=this[_0x3d1df4(0x208)][_0x3d1df4(0x24d)]();for(let _0x1c55c9=_0x426c36[_0x3d1df4(0x239)]-0x1;_0x1c55c9>=0x0;_0x1c55c9--){const _0x182679=_0x426c36[_0x1c55c9];if(!this[_0x3d1df4(0x1a7)][_0x3d1df4(0x1b5)](_0x182679))return _0x182679[_0x3d1df4(0x19c)]+0x1-this[_0x3d1df4(0x21c)];}return 0x0;}constructor(_0x35aa14){const _0x4073a8=_0x17be9e;if(super(_0x35aa14),this[_0x4073a8(0x21c)]=0x0,this[_0x4073a8(0x220)]=null,this[_0x4073a8(0x208)]=new _0x24d329(),this[_0x4073a8(0x1a4)][_0x4073a8(0x1c5)][_0x4073a8(0x265)](_0x4073a8(0x1b6),{}),this[_0x4073a8(0x1a9)]=this[_0x4073a8(0x1a4)][_0x4073a8(0x1c5)][_0x4073a8(0x1c7)](_0x4073a8(0x17b)),!this[_0x4073a8(0x1a9)])throw new _0x37d164(_0x4073a8(0x1aa),this);const _0x55b459=_0x35aa14[_0x4073a8(0x1c5)][_0x4073a8(0x1c7)](_0x4073a8(0x1ec))||_0xe4e05a;this[_0x4073a8(0x217)]=new l[(_0x4073a8(0x1ea))](_0x55b459,this[_0x4073a8(0x1a9)]),this[_0x4073a8(0x192)]=this[_0x4073a8(0x1a4)][_0x4073a8(0x19e)][_0x4073a8(0x224)],this[_0x4073a8(0x257)]=new _0x542698(),this[_0x4073a8(0x1c1)]=[],this[_0x4073a8(0x1de)]=new WeakSet(),this[_0x4073a8(0x190)]=new Set(),this[_0x4073a8(0x1b7)](_0x4073a8(0x18a),!0x1),this[_0x4073a8(0x1b7)](_0x4073a8(0x25b),!0x1),this[_0x4073a8(0x23e)]=null,this[_0x4073a8(0x174)]=!0x1,this[_0x4073a8(0x169)]=null,this[_0x4073a8(0x242)]=0x12c,this[_0x4073a8(0x162)]=this[_0x4073a8(0x242)],this[_0x4073a8(0x246)]=null,this[_0x4073a8(0x1a7)]=new WeakSet(),this[_0x4073a8(0x1d7)]=new W(this[_0x4073a8(0x1a7)]);}[_0x17be9e(0x199)](){const _0x4f75ae=_0x17be9e,_0x473ce5=this[_0x4f75ae(0x1a4)],_0x21c683=_0x473ce5[_0x4f75ae(0x1ae)][_0x4f75ae(0x1c7)](_0x375cb9),_0x27c4c7=_0x473ce5[_0x4f75ae(0x1ae)][_0x4f75ae(0x1c7)](_0x5add02);this[_0x4f75ae(0x22d)](_0x21c683,_0x4f75ae(0x1c0),(_0x24a730,_0x37a22d)=>{const _0x2e8a01=_0x4f75ae,_0x53bfd1=_0x37a22d[0x0];_0x53bfd1[_0x2e8a01(0x1e6)]&&(_0x24a730[_0x2e8a01(0x1e8)]=_0x21c683[_0x2e8a01(0x1b1)](_0x53bfd1[_0x2e8a01(0x1e6)]),_0x24a730[_0x2e8a01(0x222)]()),null===_0x53bfd1[_0x2e8a01(0x1e6)]&&(_0x24a730[_0x2e8a01(0x1e8)]=null,_0x24a730[_0x2e8a01(0x222)]());},{'priority':_0x4f75ae(0x164)}),this[_0x4f75ae(0x22d)](_0x473ce5[_0x4f75ae(0x19e)][_0x4f75ae(0x224)][_0x4f75ae(0x16e)],_0x4f75ae(0x25a),(_0x56e556,_0x284a0b)=>{const _0x36cd86=_0x4f75ae;_0x284a0b[_0x36cd86(0x22a)]&&this[_0x36cd86(0x20f)]();}),this[_0x4f75ae(0x22d)](_0x473ce5[_0x4f75ae(0x168)][_0x4f75ae(0x209)],_0x4f75ae(0x210),()=>{const _0x1d4a32=_0x4f75ae;this[_0x1d4a32(0x20f)]();}),this[_0x4f75ae(0x229)](),_0x473ce5[_0x4f75ae(0x19e)]['on'](_0x4f75ae(0x1e5),(_0x227579,_0x18c37e)=>{const _0x550c92=_0x4f75ae,_0x53f7f0=_0x18c37e[0x0];_0x53f7f0[_0x550c92(0x1eb)]&&(this[_0x550c92(0x1ca)](_0x53f7f0),this[_0x550c92(0x176)]()&&this[_0x550c92(0x1b9)]());}),this[_0x4f75ae(0x17a)](),this[_0x4f75ae(0x1d8)](_0x4f75ae(0x18e))['to'](_0x27c4c7,_0x4f75ae(0x1fb),this,_0x4f75ae(0x25b),(_0x1f28ef,_0x48ad70)=>_0x4f75ae(0x1e0)===_0x1f28ef&&!_0x48ad70),this['on'](_0x4f75ae(0x194),()=>{const _0x5e632c=_0x4f75ae;this[_0x5e632c(0x18e)]?_0x473ce5[_0x5e632c(0x1d6)](_0x5e632c(0x20a)):_0x473ce5[_0x5e632c(0x1b0)](_0x5e632c(0x20a));}),this[_0x4f75ae(0x18e)]?_0x473ce5[_0x4f75ae(0x1d6)](_0x4f75ae(0x20a)):_0x473ce5[_0x4f75ae(0x1b0)](_0x4f75ae(0x20a)),this[_0x4f75ae(0x1b7)](_0x4f75ae(0x255),!0x1);}async[_0x17be9e(0x227)](){const _0x2b6d13=_0x17be9e,_0x4f7ae7=this[_0x2b6d13(0x1a4)][_0x2b6d13(0x1ae)][_0x2b6d13(0x1c7)](_0x4d155e),_0x12f62c=this[_0x2b6d13(0x1a4)][_0x2b6d13(0x1ae)][_0x2b6d13(0x1c7)](_0x5add02);try{this[_0x2b6d13(0x18a)]=!0x0,_0x4f7ae7[_0x2b6d13(0x22c)](this[_0x2b6d13(0x1a9)]);const _0x3d37c3=await this[_0x2b6d13(0x217)][_0x2b6d13(0x227)](_0x12f62c[_0x2b6d13(0x1da)],this[_0x2b6d13(0x256)]);await this[_0x2b6d13(0x197)](_0x3d37c3)&&(this[_0x2b6d13(0x18a)]=!0x1,this[_0x2b6d13(0x252)]());const _0xea13ef=await this[_0x2b6d13(0x217)][_0x2b6d13(0x18f)]();_0x4f7ae7[_0x2b6d13(0x1d4)](this[_0x2b6d13(0x1a9)],_0xea13ef),this[_0x2b6d13(0x196)](),this[_0x2b6d13(0x255)]=!0x0;}catch(_0x5c9b79){if(function(_0x4dc32e){const _0x408a85=_0x2b6d13;return _0x408a85(0x204)===_0x4dc32e[_0x408a85(0x1b8)];}(_0x5c9b79)&&this[_0x2b6d13(0x220)])await this[_0x2b6d13(0x1dc)]();else{if(function(_0x28c9fd){const _0xd7536e=_0x2b6d13;return _0xd7536e(0x1ba)===_0x28c9fd[_0xd7536e(0x1b8)];}(_0x5c9b79)){const _0xb4fb48=_0x523e8d(this[_0x2b6d13(0x1a4)][_0x2b6d13(0x1fa)],_0x2b6d13(0x201));this[_0x2b6d13(0x188)](_0xb4fb48);}else{if(!(_0x5c9b79 instanceof z))throw _0x5c9b79;this[_0x2b6d13(0x188)]();}}}}[_0x17be9e(0x1fc)](){const _0xefbfa3=_0x17be9e,_0x2f0a0d=this[_0xefbfa3(0x1a4)][_0xefbfa3(0x1ae)][_0xefbfa3(0x1c7)](_0x5add02),_0x338972=this[_0xefbfa3(0x1a4)][_0xefbfa3(0x1ae)][_0xefbfa3(0x1c7)](_0x4d155e);this[_0xefbfa3(0x1a4)][_0xefbfa3(0x1b0)](_0xefbfa3(0x212)),_0x338972[_0xefbfa3(0x1ab)][_0xefbfa3(0x1b5)](this[_0xefbfa3(0x1a9)])&&_0x338972[_0xefbfa3(0x22c)](this[_0xefbfa3(0x1a9)]),_0x2f0a0d[_0xefbfa3(0x177)](this),this[_0xefbfa3(0x219)](),super[_0xefbfa3(0x1fc)]();}async[_0x17be9e(0x197)](_0x58e236){const _0x15cca2=_0x17be9e;if(this[_0x15cca2(0x220)]!==_0x58e236[_0x15cca2(0x220)]&&this[_0x15cca2(0x246)]!==_0x58e236[_0x15cca2(0x262)])throw new z();return this[_0x15cca2(0x220)]=_0x58e236[_0x15cca2(0x220)],this[_0x15cca2(0x1ff)]([],{..._0x58e236,'wereChangesApplied':!0x1,'data':_0x58e236[_0x15cca2(0x1a2)]},_0x15cca2(0x227));}async[_0x17be9e(0x207)](_0x44b4f9,_0x5a630a=!0x1){const _0x54c53e=_0x17be9e,{connection:_0x2672a1}=this[_0x54c53e(0x1a4)][_0x54c53e(0x1ae)][_0x54c53e(0x1c7)](_0x5add02);l[_0x54c53e(0x1ea)][_0x54c53e(0x18f)](_0x2672a1,this[_0x54c53e(0x1a9)])[_0x54c53e(0x195)](_0x1e113b=>this[_0x54c53e(0x161)](_0x1e113b))[_0x54c53e(0x234)](_0x1b193c=>{const _0x42cc8c=_0x54c53e;this[_0x42cc8c(0x21a)](_0x42cc8c(0x22e),_0x1b193c);}),this[_0x54c53e(0x22d)](this[_0x54c53e(0x217)],_0x54c53e(0x185),this[_0x54c53e(0x1bf)][_0x54c53e(0x1d8)](this)),this[_0x54c53e(0x22d)](this[_0x54c53e(0x217)],_0x54c53e(0x231),(_0x4833b8,_0x229ebb)=>{const _0x4276de=_0x54c53e;this[_0x4276de(0x21a)](_0x4276de(0x17d),_0x229ebb);}),this[_0x54c53e(0x22d)](this[_0x54c53e(0x217)],_0x54c53e(0x1f8),()=>{const _0x5299b8=_0x54c53e;this[_0x5299b8(0x255)]=!0x1;});const _0x451a1f=this[_0x54c53e(0x1d7)][_0x54c53e(0x1ac)](_0x44b4f9);this[_0x54c53e(0x18a)]=!0x0;const _0x136184=await this[_0x54c53e(0x217)][_0x54c53e(0x19a)](_0x2672a1,this[_0x54c53e(0x171)](_0x44b4f9),_0x451a1f);if(this[_0x54c53e(0x220)]=_0x136184[_0x54c53e(0x220)],_0x5a630a){if(!_0x136184[_0x54c53e(0x19f)])return void this[_0x54c53e(0x188)]();this[_0x54c53e(0x18a)]=!0x1,this[_0x54c53e(0x252)](),this[_0x54c53e(0x208)][_0x54c53e(0x1e9)](),this[_0x54c53e(0x21c)]=_0x136184[_0x54c53e(0x1b4)],this[_0x54c53e(0x208)][_0x54c53e(0x241)]=this[_0x54c53e(0x21c)],await this[_0x54c53e(0x1ff)](_0x44b4f9,_0x136184,_0x54c53e(0x21b));}else await this[_0x54c53e(0x245)](_0x136184,_0x44b4f9);this[_0x54c53e(0x196)](),this[_0x54c53e(0x255)]=!0x0;}[_0x17be9e(0x196)](){const _0x329af0=_0x17be9e,_0x28b007=this[_0x329af0(0x1a4)][_0x329af0(0x1ae)][_0x329af0(0x1c7)](_0x4d155e),_0x1b9397=this[_0x329af0(0x1a4)][_0x329af0(0x1ae)][_0x329af0(0x1c7)](_0x9c9056),_0x3b7d51=_0x28b007[_0x329af0(0x1ab)][_0x329af0(0x1c7)](this[_0x329af0(0x1a9)]);_0x3b7d51&&_0x3b7d51[_0x329af0(0x239)]>0x1?_0x1b9397[_0x329af0(0x214)]():this[_0x329af0(0x22d)](_0x28b007,_0x329af0(0x243)+this[_0x329af0(0x1a9)],()=>{const _0x435720=_0x329af0;0x2===_0x28b007[_0x435720(0x1ab)][_0x435720(0x1c7)](this[_0x435720(0x1a9)])[_0x435720(0x239)]&&_0x1b9397[_0x435720(0x214)]();});}async[_0x17be9e(0x1bf)](_0x517d14,_0x3a363e,_0x4265f9,_0x2b9506){const _0x3f62b1=_0x17be9e;if(!this[_0x3f62b1(0x18a)]&&this[_0x3f62b1(0x192)][_0x3f62b1(0x241)]==_0x3a363e){const _0x2abc3f=this[_0x3f62b1(0x206)](_0x4265f9,_0x2b9506);await this[_0x3f62b1(0x1d9)](_0x2abc3f),this[_0x3f62b1(0x1ad)](_0x2abc3f,_0x3a363e,_0x4265f9[_0x3f62b1(0x262)])||this[_0x3f62b1(0x21a)](_0x3f62b1(0x1cd));}}async[_0x17be9e(0x1dc)](){const _0x1bf0c2=_0x17be9e;this[_0x1bf0c2(0x219)]();const {locale:_0x41d987}=this[_0x1bf0c2(0x1a4)];let _0x470702;try{_0x470702=await this[_0x1bf0c2(0x217)][_0x1bf0c2(0x1e2)]();}catch(_0x31a011){const _0x240e90=_0x523e8d(_0x41d987,_0x1bf0c2(0x189));return void this[_0x1bf0c2(0x188)](_0x240e90);}const _0x5bf745=_0x470702[_0x1bf0c2(0x235)]||_0x470702[_0x1bf0c2(0x1d5)];if(this[_0x1bf0c2(0x246)]===_0x5bf745[_0x1bf0c2(0x262)])await this[_0x1bf0c2(0x207)](this[_0x1bf0c2(0x1a4)][_0x1bf0c2(0x19e)][_0x1bf0c2(0x224)][_0x1bf0c2(0x16a)][_0x1bf0c2(0x24d)](),!0x0);else{const _0x3828ce=_0x523e8d(_0x41d987,_0x1bf0c2(0x203));this[_0x1bf0c2(0x188)](_0x3828ce);}}[_0x17be9e(0x219)](){const _0x5329aa=_0x17be9e;this[_0x5329aa(0x217)][_0x5329aa(0x1ed)](),this[_0x5329aa(0x1c1)]=[],clearTimeout(this[_0x5329aa(0x169)]),this[_0x5329aa(0x216)](this[_0x5329aa(0x217)]);}[_0x17be9e(0x161)](_0x5f7541){const _0xda527f=_0x17be9e,_0xc57c84=this[_0xda527f(0x1a4)][_0xda527f(0x1ae)][_0xda527f(0x1c7)](_0x4d155e);this[_0xda527f(0x22d)](_0xc57c84,_0xda527f(0x243)+this[_0xda527f(0x1a9)],(_0x5bf337,{session:_0x35fcbe})=>{const _0x1c2912=_0xda527f;if(_0x35fcbe['id']===_0xc57c84[_0x1c2912(0x24a)]){_0x5bf337[_0x1c2912(0x18d)]();const _0x525b27=this[_0x1c2912(0x1a4)][_0x1c2912(0x1ae)][_0x1c2912(0x1b5)](_0x1c2912(0x247))&&this[_0x1c2912(0x1a4)][_0x1c2912(0x1ae)][_0x1c2912(0x1c7)](_0x1c2912(0x247));let _0x3f4cc0=_0x35fcbe[_0x1c2912(0x215)];_0x525b27&&_0x525b27[_0x1c2912(0x187)]&&(_0x3f4cc0=_0x3f4cc0[_0x1c2912(0x23a)](_0xafbefb=>_0x1c2912(0x1c8)!==_0xafbefb)),this[_0x1c2912(0x1a4)][_0x1c2912(0x1ae)][_0x1c2912(0x1c7)](_0x1c2912(0x260))[_0x1c2912(0x238)](_0x3f4cc0,this[_0x1c2912(0x1a9)]);}}),_0xc57c84[_0xda527f(0x1d4)](this[_0xda527f(0x1a9)],_0x5f7541);}[_0x17be9e(0x229)](){const _0x19fe69=_0x17be9e,_0x201191=this[_0x19fe69(0x1a4)][_0x19fe69(0x1a2)][_0x19fe69(0x1b7)];this[_0x19fe69(0x1a4)][_0x19fe69(0x1a2)][_0x19fe69(0x1b7)]=(..._0xc69c7)=>{const _0x1e4e3b=_0x19fe69;if(!_0xc69c7[_0xc69c7[_0x1e4e3b(0x239)]-0x1][_0x1e4e3b(0x1a0)])throw new _0x37d164(_0x1e4e3b(0x24f),this);_0x201191[_0x1e4e3b(0x1bd)](this[_0x1e4e3b(0x1a4)][_0x1e4e3b(0x1a2)],_0xc69c7);};}[_0x17be9e(0x17a)](){const _0x3bd2fd=_0x17be9e;this[_0x3bd2fd(0x1a4)][_0x3bd2fd(0x1a2)]['on'](_0x3bd2fd(0x199),(_0x4d4d5c,[_0xb8b346])=>{const _0x57077e=_0x3bd2fd;if(this[_0x57077e(0x192)][_0x57077e(0x241)])throw new _0x37d164(_0x57077e(0x173),this);_0x4d4d5c[_0x57077e(0x222)](),this[_0x57077e(0x1af)]();const _0x58377d=this[_0x57077e(0x1a4)][_0x57077e(0x1c5)][_0x57077e(0x1c7)](_0x57077e(0x200)),_0x3190d1=this[_0x57077e(0x1df)](_0xb8b346,_0x58377d);0x0==_0x3190d1[_0x57077e(0x239)]&&_0x3190d1[_0x57077e(0x1a1)](new _0x58984e(0x0)),_0x4d4d5c[_0x57077e(0x1e8)]=this[_0x57077e(0x207)](_0x3190d1)[_0x57077e(0x195)](()=>{const _0x451eab=_0x57077e;this[_0x451eab(0x1a4)][_0x451eab(0x1ae)][_0x451eab(0x1c7)](_0x5add02)[_0x451eab(0x167)](this),this[_0x451eab(0x1a4)][_0x451eab(0x1a2)][_0x451eab(0x1c9)](_0x451eab(0x23b));})[_0x57077e(0x234)](_0x4fef49=>this[_0x57077e(0x21a)](_0x57077e(0x1f4),_0x4fef49))[_0x57077e(0x1d2)](()=>this[_0x57077e(0x252)]());},{'priority':_0x3bd2fd(0x164)}),this[_0x3bd2fd(0x1a4)]['on'](_0x3bd2fd(0x1a5),async(_0x5e8911,[_0xec9436,_0x38ad59])=>{const _0x592eb2=_0x3bd2fd;_0x5e8911[_0x592eb2(0x222)]();const _0x369cf9=this[_0x592eb2(0x1a4)][_0x592eb2(0x19e)][_0x592eb2(0x224)][_0x592eb2(0x165)](_0xec9436);if(!this[_0x592eb2(0x190)][_0x592eb2(0x1b5)](_0xec9436)){const _0xcfb84d=_0x38ad59&&_0x38ad59[_0x592eb2(0x1a2)]?_0x38ad59[_0x592eb2(0x1a2)]:'',_0x154479=_0x38ad59&&_0x38ad59[_0x592eb2(0x24b)]?_0x38ad59[_0x592eb2(0x24b)]:{};await this[_0x592eb2(0x25d)](_0xec9436,_0xcfb84d,_0x154479);}this[_0x592eb2(0x1a4)][_0x592eb2(0x19e)][_0x592eb2(0x17c)]({'isUndoable':!0x1},()=>{const _0x2b4e94=_0x592eb2;_0x369cf9[_0x2b4e94(0x1a3)]=!0x0,this[_0x2b4e94(0x1a4)][_0x2b4e94(0x19e)][_0x2b4e94(0x224)][_0x2b4e94(0x1f3)][_0x2b4e94(0x1bb)](_0x369cf9);});},{'priority':_0x3bd2fd(0x164)});}async[_0x17be9e(0x1d9)](_0x58664e){const _0x1f7de7=_0x17be9e,_0xdf6c14=this[_0x1f7de7(0x1a4)][_0x1f7de7(0x1ae)][_0x1f7de7(0x1c7)](_0x375cb9),{connection:_0x187d0}=this[_0x1f7de7(0x1a4)][_0x1f7de7(0x1ae)][_0x1f7de7(0x1c7)](_0x5add02),_0x4ec531=new Set();for(const _0x12bdfc of _0x58664e){const _0x27df55=_0x12bdfc[_0x1f7de7(0x1e6)];_0x27df55&&!_0xdf6c14[_0x1f7de7(0x1b1)](_0x27df55)&&_0x4ec531[_0x1f7de7(0x166)](_0x27df55);}if(0x0===_0x4ec531[_0x1f7de7(0x1c6)])return;const _0x5fafc8=await _0x53befc[_0x1f7de7(0x172)](_0x187d0,Array[_0x1f7de7(0x18b)](_0x4ec531));for(const _0x46cf09 of _0x5fafc8)_0xdf6c14[_0x1f7de7(0x1b1)](_0x46cf09['id'])||_0xdf6c14[_0x1f7de7(0x1ee)](_0x46cf09);}[_0x17be9e(0x1df)](_0x48e2f0,_0x30ba94={}){const _0x156495=_0x17be9e,_0x3e0cad=this[_0x156495(0x1a4)][_0x156495(0x19e)],_0x5b7dba=[];let _0x1e1f31=0x0;const _0x57a2e7=_0x156495(0x1e1)==typeof _0x48e2f0?{'main':_0x48e2f0}:_0x48e2f0;for(const _0x2e4304 of Object[_0x156495(0x248)](_0x57a2e7)){if(!this[_0x156495(0x192)][_0x156495(0x263)][_0x156495(0x1b5)](_0x2e4304))throw new _0x37d164(_0x156495(0x1e3),this);const _0x97b093=this[_0x156495(0x1a4)][_0x156495(0x1a2)][_0x156495(0x225)](_0x57a2e7[_0x2e4304]),_0x3e104c=this[_0x156495(0x192)][_0x156495(0x165)](_0x2e4304),_0x20f4ca=new _0x48d407(_0x3e0cad[_0x156495(0x244)](_0x3e104c,0x0),_0x97b093,_0x1e1f31++);_0x5b7dba[_0x156495(0x1a1)](_0x20f4ca);for(const [_0x8057be,_0xfc4825]of _0x97b093[_0x156495(0x24c)]){const _0x39e9fc=_0x3e0cad[_0x156495(0x221)](_0x3e0cad[_0x156495(0x264)](_0x3e104c,_0xfc4825[_0x156495(0x19b)][_0x156495(0x236)][_0x156495(0x258)]()),_0x3e0cad[_0x156495(0x264)](_0x3e104c,_0xfc4825[_0x156495(0x20e)][_0x156495(0x236)][_0x156495(0x258)]())),_0x13d3e7=new _0x5de32b(_0x8057be,null,_0x39e9fc,_0x3e0cad[_0x156495(0x24c)],!0x0,_0x1e1f31++);_0x5b7dba[_0x156495(0x1a1)](_0x13d3e7);}}if(_0x30ba94)for(const [_0x46fcfd,_0x4bedf8]of Object[_0x156495(0x1f6)](_0x30ba94)){const _0x37d0c5=_0x3e0cad[_0x156495(0x224)][_0x156495(0x165)](_0x46fcfd);if(!_0x37d0c5)throw new _0x37d164(_0x156495(0x254),null);for(const [_0x1de0f5,_0x4257ff]of Object[_0x156495(0x1f6)](_0x4bedf8))if(null!==_0x4257ff){const _0x5185d3=new _0x4bc690(_0x37d0c5,_0x1de0f5,null,_0x4257ff,_0x1e1f31++);_0x5b7dba[_0x156495(0x1a1)](_0x5185d3);}}return _0x5b7dba;}async[_0x17be9e(0x25d)](_0x24ceeb,_0x215067,_0x522982){const _0x3b1849=_0x17be9e;this[_0x3b1849(0x1df)]({[_0x24ceeb]:_0x215067},{[_0x24ceeb]:_0x522982})[_0x3b1849(0x23c)]((_0x2d2bde,_0x305572)=>{const _0x57ed2a=_0x3b1849;_0x2d2bde[_0x57ed2a(0x19c)]=this[_0x57ed2a(0x192)][_0x57ed2a(0x241)]+_0x305572,_0x2d2bde[_0x57ed2a(0x259)]=!0x0,this[_0x57ed2a(0x1ca)](_0x2d2bde);}),this[_0x3b1849(0x1b9)](),await this[_0x3b1849(0x191)]();}async[_0x17be9e(0x245)](_0x6359b8,_0x24641a){const _0x2fbd56=_0x17be9e;let _0x16c4c1;this[_0x2fbd56(0x21c)]=_0x6359b8[_0x2fbd56(0x1b4)];const _0x3504c5=_0x6359b8[_0x2fbd56(0x19f)]&&!_0x6359b8[_0x2fbd56(0x180)],_0x18f869=_0x3504c5?0x0:_0x6359b8[_0x2fbd56(0x1a2)][_0x2fbd56(0x19c)];if(_0x24641a[_0x2fbd56(0x23c)](_0x4837e0=>{const _0x36437b=_0x2fbd56;_0x4837e0[_0x36437b(0x259)]=!0x0,_0x4837e0[_0x36437b(0x1bc)]=_0x6359b8[_0x36437b(0x226)],_0x4837e0[_0x36437b(0x1e6)]=null;}),_0x3504c5)_0x16c4c1=_0x24641a,this[_0x2fbd56(0x25f)](_0x16c4c1,_0x3504c5);else{if(_0x6359b8[_0x2fbd56(0x180)]){const _0x47e5d2=this[_0x2fbd56(0x1df)](_0x6359b8[_0x2fbd56(0x180)]);this[_0x2fbd56(0x192)][_0x2fbd56(0x16a)][_0x2fbd56(0x241)]=-_0x47e5d2[_0x2fbd56(0x239)],_0x47e5d2[_0x2fbd56(0x23c)](_0x426011=>{const _0x49a326=_0x2fbd56;_0x426011[_0x49a326(0x19c)]-=_0x47e5d2[_0x49a326(0x239)],_0x426011[_0x49a326(0x1bc)]=_0x6359b8[_0x49a326(0x226)],_0x426011[_0x49a326(0x259)]=!0x0,_0x426011[_0x49a326(0x1e6)]=null;}),this[_0x2fbd56(0x25f)](_0x47e5d2,!0x0),this[_0x2fbd56(0x208)][_0x2fbd56(0x241)]=-_0x47e5d2[_0x2fbd56(0x239)]+this[_0x2fbd56(0x21c)],this[_0x2fbd56(0x261)](_0x47e5d2);}this[_0x2fbd56(0x192)][_0x2fbd56(0x16a)][_0x2fbd56(0x241)]=_0x18f869,_0x16c4c1=this[_0x2fbd56(0x206)](_0x6359b8[_0x2fbd56(0x1a2)],_0x6359b8[_0x2fbd56(0x175)]),await this[_0x2fbd56(0x1d9)](_0x16c4c1),this[_0x2fbd56(0x25f)](_0x16c4c1,_0x3504c5);}_0x6359b8[_0x2fbd56(0x262)]&&(this[_0x2fbd56(0x1d7)][_0x2fbd56(0x20b)](_0x16c4c1,_0x6359b8[_0x2fbd56(0x262)]),this[_0x2fbd56(0x246)]=_0x6359b8[_0x2fbd56(0x262)]),this[_0x2fbd56(0x208)][_0x2fbd56(0x241)]=_0x18f869+this[_0x2fbd56(0x21c)],this[_0x2fbd56(0x261)](_0x16c4c1),_0x24641a[_0x2fbd56(0x23a)](_0x536c65=>{const _0x128b9e=_0x2fbd56,_0x22d2bc=this[_0x128b9e(0x186)](_0x536c65);return _0x22d2bc&&!this[_0x128b9e(0x190)][_0x128b9e(0x1b5)](_0x22d2bc);})[_0x2fbd56(0x23c)]((_0x2c4b9b,_0x2cc055)=>{const _0x130973=_0x2fbd56;_0x2c4b9b[_0x130973(0x19c)]=this[_0x130973(0x192)][_0x130973(0x241)]+_0x2cc055,this[_0x130973(0x1ca)](_0x2c4b9b);}),this[_0x2fbd56(0x176)]()?(this[_0x2fbd56(0x162)]=0x0,this[_0x2fbd56(0x1b9)](!0x0),await this[_0x2fbd56(0x191)]()):(this[_0x2fbd56(0x18a)]=!0x1,this[_0x2fbd56(0x252)]());}[_0x17be9e(0x21a)](_0x53c0e6,_0x2158b4,_0x5b5ede){const _0x778257=_0x17be9e;throw this[_0x778257(0x18a)]=!0x0,_0x2158b4&&console[_0x778257(0x231)](_0x2158b4),_0x5b5ede&&this[_0x778257(0x1a4)][_0x778257(0x1b0)](_0x778257(0x230)),new _0x37d164(_0x53c0e6,this[_0x778257(0x1a4)]);}[_0x17be9e(0x1ca)](_0x1e2329){const _0xe524ec=_0x17be9e;this[_0xe524ec(0x1de)][_0xe524ec(0x1b5)](_0x1e2329)||(this[_0xe524ec(0x1de)][_0xe524ec(0x166)](_0x1e2329),this[_0xe524ec(0x1c1)][_0xe524ec(0x1a1)](_0x1e2329),this[_0xe524ec(0x23e)]||_0xe524ec(0x20d)==_0x1e2329[_0xe524ec(0x178)]&&!_0x1e2329[_0xe524ec(0x23f)]||this[_0xe524ec(0x1af)]());}[_0x17be9e(0x1b9)](_0x3d2427=!0x1){const _0x15e5f3=_0x17be9e;!_0x3d2427&&this[_0x15e5f3(0x18a)]||(this[_0x15e5f3(0x18a)]=!0x0,clearTimeout(this[_0x15e5f3(0x169)]),this[_0x15e5f3(0x169)]=setTimeout(()=>{const _0x2f4d2f=_0x15e5f3;this[_0x2f4d2f(0x183)]()[_0x2f4d2f(0x195)](_0x4b9204=>{const _0x5740ad=_0x2f4d2f;_0x4b9204&&(this[_0x5740ad(0x252)](),this[_0x5740ad(0x18a)]=!0x1);})[_0x2f4d2f(0x234)](_0x180b45=>{const _0x1facd5=_0x2f4d2f;this[_0x1facd5(0x252)](),this[_0x1facd5(0x18a)]=!0x1,function(_0x2a80d4){const _0x1e6cdc=_0x1facd5;return _0x2a80d4[_0x1e6cdc(0x1d3)][_0x1e6cdc(0x25c)](_0x1e6cdc(0x232))||_0x2a80d4[_0x1e6cdc(0x1d3)][_0x1e6cdc(0x25c)](_0x1e6cdc(0x1f9))||_0x2a80d4[_0x1e6cdc(0x1d3)][_0x1e6cdc(0x25c)](_0x1e6cdc(0x240));}(_0x180b45)||this[_0x1facd5(0x21a)](_0x180b45[_0x1facd5(0x1d3)],_0x180b45,!0x0);});},this[_0x15e5f3(0x162)]));}[_0x17be9e(0x191)](){return new Promise(_0x425e3d=>{const _0x31c5e2=_0x47c3;this['on'](_0x31c5e2(0x228),()=>{_0x425e3d();});});}async[_0x17be9e(0x183)](){const _0x4346e9=_0x17be9e,_0x65edf0=this[_0x4346e9(0x1a4)][_0x4346e9(0x1ae)][_0x4346e9(0x1c7)](_0x9c9056);if(this[_0x4346e9(0x1fe)]()&&(_0x65edf0[_0x4346e9(0x214)](),this[_0x4346e9(0x174)]=!0x1),!this[_0x4346e9(0x176)]())return!0x0;const _0x174f2d=[...this[_0x4346e9(0x1c1)]];for(const _0x5a343a of _0x174f2d)_0x5a343a[_0x4346e9(0x16d)]=this[_0x4346e9(0x192)][_0x4346e9(0x16a)][_0x4346e9(0x21f)](_0x5a343a);const _0x2cc9d5=this[_0x4346e9(0x1d7)][_0x4346e9(0x1ac)](_0x174f2d),_0x5550c4=M++,_0x4c110c=this[_0x4346e9(0x171)](_0x174f2d),_0x57c489=await this[_0x4346e9(0x217)][_0x4346e9(0x213)](_0x4c110c,_0x4c110c[_0x4346e9(0x19c)],_0x2cc9d5);try{return await this[_0x4346e9(0x1ff)](_0x174f2d,_0x57c489,_0x5550c4);}catch(_0x22efec){return this[_0x4346e9(0x21a)](_0x4346e9(0x23d),_0x22efec);}}async[_0x17be9e(0x1ff)](_0x128475,_0x23fd7c,_0xaee269){const _0x290c59=_0x17be9e;if(_0x290c59(0x231)in _0x23fd7c)throw _0x23fd7c[_0x290c59(0x231)];let _0x194ab9=!0x1;if(_0x23fd7c[_0x290c59(0x19f)]){_0x23fd7c[_0x290c59(0x262)]&&(this[_0x290c59(0x246)]=_0x23fd7c[_0x290c59(0x262)]),this[_0x290c59(0x1c1)]=this[_0x290c59(0x1c1)][_0x290c59(0x23a)](_0x362e33=>!_0x128475[_0x290c59(0x1ce)](_0x362e33));for(const _0x32f8e1 of _0x128475)_0x32f8e1[_0x290c59(0x1bc)]=_0x290c59(0x1ef)in _0x23fd7c&&_0x23fd7c[_0x290c59(0x1ef)]||void 0x0;V(_0x128475,_0x23fd7c[_0x290c59(0x241)]-_0x128475[_0x290c59(0x239)]),this[_0x290c59(0x261)](_0x128475);const _0x2e55c0=_0x128475[_0x290c59(0x23a)](_0x2f5b92=>{const _0x55dfdc=_0x290c59;if(!_0x2f5b92[_0x55dfdc(0x259)])return!0x1;const _0x253708=this[_0x55dfdc(0x186)](_0x2f5b92);return _0x253708&&!this[_0x55dfdc(0x190)][_0x55dfdc(0x1b5)](_0x253708);});V(_0x2e55c0,this[_0x290c59(0x192)][_0x290c59(0x241)]),this[_0x290c59(0x25f)](_0x2e55c0),_0x194ab9=!0x0,this[_0x290c59(0x162)]=this[_0x290c59(0x242)];}else{const _0x34af39=this[_0x290c59(0x206)](_0x23fd7c[_0x290c59(0x1a2)],_0x23fd7c[_0x290c59(0x175)])[_0x290c59(0x23a)](_0x23d485=>_0x23d485[_0x290c59(0x19c)]>=this[_0x290c59(0x251)]);_0x34af39[_0x290c59(0x23c)](_0x339747=>this[_0x290c59(0x193)](_0x339747)),this[_0x290c59(0x1c1)]=this[_0x290c59(0x1c1)][_0x290c59(0x23a)](_0x7eb6b2=>!_0x7eb6b2[_0x290c59(0x259)]||!this[_0x290c59(0x190)][_0x290c59(0x1b5)](this[_0x290c59(0x186)](_0x7eb6b2))),this[_0x290c59(0x1c1)][_0x290c59(0x239)]&&V(this[_0x290c59(0x1c1)],this[_0x290c59(0x1c1)][0x0][_0x290c59(0x19c)]),await this[_0x290c59(0x1d9)](_0x34af39),_0x194ab9=this[_0x290c59(0x1ad)](_0x34af39,_0x23fd7c[_0x290c59(0x241)],_0x23fd7c[_0x290c59(0x262)]),this[_0x290c59(0x162)]=Math[_0x290c59(0x218)](this[_0x290c59(0x162)]/0x2);}return _0x194ab9?!this[_0x290c59(0x176)]()||(this[_0x290c59(0x1b9)](!0x0),!0x1):this[_0x290c59(0x21a)](_0x290c59(0x1c4));}[_0x17be9e(0x1ad)](_0x1821b6,_0x116316,_0x335039){const _0x5ad89f=_0x17be9e;try{const _0x68c8ea={'document':this[_0x5ad89f(0x192)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x119fce,operationsB:_0x519145,originalOperations:_0xbb0ea8}=_0x40e279(_0x1821b6,this[_0x5ad89f(0x1c1)],_0x68c8ea);V(_0x119fce,this[_0x5ad89f(0x192)][_0x5ad89f(0x241)]),V(_0x519145,_0x116316);for(const _0x34dae3 of _0x119fce){const _0x1d7740=_0xbb0ea8[_0x5ad89f(0x1c7)](_0x34dae3);_0x34dae3[_0x5ad89f(0x1e6)]=_0x1d7740?_0x1d7740[_0x5ad89f(0x1e6)]:null;}_0x335039&&(this[_0x5ad89f(0x1d7)][_0x5ad89f(0x20b)](_0x1821b6,_0x335039),this[_0x5ad89f(0x246)]=_0x335039),this[_0x5ad89f(0x1c1)]=[..._0x519145],this[_0x5ad89f(0x25f)](_0x119fce),this[_0x5ad89f(0x261)](_0x1821b6);}catch(_0x206c19){return console[_0x5ad89f(0x231)](_0x206c19),!0x1;}return!0x0;}[_0x17be9e(0x25f)](_0x57e37e,_0x38f836=!0x1){const _0x837798=_0x17be9e;this[_0x837798(0x1a4)][_0x837798(0x19e)][_0x837798(0x17c)]({'isUndoable':!0x1,'isLocal':!0x1},_0x147227=>{const _0x192004=_0x837798;for(const _0x2df38c of _0x57e37e)this[_0x192004(0x1de)][_0x192004(0x166)](_0x2df38c),this[_0x192004(0x193)](_0x2df38c),_0x147227[_0x192004(0x181)][_0x192004(0x266)](_0x2df38c),this[_0x192004(0x1a4)][_0x192004(0x19e)][_0x192004(0x1e5)](_0x2df38c);});}[_0x17be9e(0x193)](_0x1b1a41){const _0x258e37=_0x17be9e,_0x5ce768=this[_0x258e37(0x186)](_0x1b1a41);_0x5ce768&&this[_0x258e37(0x190)][_0x258e37(0x166)](_0x5ce768);}[_0x17be9e(0x186)](_0x5230ed){const _0x2f7c0b=_0x17be9e;let _0x3d4734,_0x57f997;switch(_0x5230ed[_0x2f7c0b(0x178)]){case _0x2f7c0b(0x1f1):_0x3d4734=_0x5230ed[_0x2f7c0b(0x1d1)][_0x2f7c0b(0x1cb)];break;case _0x2f7c0b(0x20d):if(_0x57f997=_0x5230ed[_0x2f7c0b(0x182)],!_0x57f997)return null;_0x3d4734=_0x57f997[_0x2f7c0b(0x1cb)];break;case _0x2f7c0b(0x237):_0x3d4734=_0x5230ed[_0x2f7c0b(0x1cb)];break;case _0x2f7c0b(0x1f7):_0x3d4734=_0x5230ed[_0x2f7c0b(0x1b3)];break;case _0x2f7c0b(0x1f0):_0x3d4734=_0x5230ed[_0x2f7c0b(0x1db)][_0x2f7c0b(0x1cb)];break;default:return null;}return _0x3d4734[_0x2f7c0b(0x21e)];}[_0x17be9e(0x261)](_0x3b1a7e){const _0x5c98fc=_0x17be9e;_0x3b1a7e[_0x5c98fc(0x23c)](_0x552e7b=>{const _0x4cebc7=_0x5c98fc,_0x40f09d=_0x552e7b[_0x4cebc7(0x18c)]();_0x40f09d[_0x4cebc7(0x1e6)]=_0x552e7b[_0x4cebc7(0x1e6)],_0x40f09d[_0x4cebc7(0x259)]=!!_0x552e7b[_0x4cebc7(0x259)],_0x40f09d[_0x4cebc7(0x1bc)]=_0x552e7b[_0x4cebc7(0x1bc)],_0x40f09d[_0x4cebc7(0x19c)]+=this[_0x4cebc7(0x21c)],_0x552e7b[_0x4cebc7(0x16c)]&&this[_0x4cebc7(0x1a7)][_0x4cebc7(0x166)](_0x40f09d),this[_0x4cebc7(0x208)][_0x4cebc7(0x266)](_0x40f09d);});}[_0x17be9e(0x188)](_0x2d8b59){const _0x316514=_0x17be9e,_0xc25416=this[_0x316514(0x1a4)][_0x316514(0x1ae)][_0x316514(0x1c7)](_0x316514(0x249)),_0x14dfa9=this[_0x316514(0x1a4)][_0x316514(0x1fa)];_0x2d8b59||(_0x2d8b59=_0x523e8d(_0x14dfa9,_0x316514(0x223))),_0xc25416[_0x316514(0x250)](_0x2d8b59,{'title':_0x523e8d(_0x14dfa9,_0x316514(0x205)),'namespace':_0x316514(0x1dd)}),this[_0x316514(0x25b)]=!0x0,clearTimeout(this[_0x316514(0x169)]),this[_0x316514(0x1c1)]=[],this[_0x316514(0x1a4)][_0x316514(0x1ae)][_0x316514(0x1c7)](_0x5add02)[_0x316514(0x1fc)]();}[_0x17be9e(0x1af)](){const _0x396064=_0x17be9e;this[_0x396064(0x23e)]||(this[_0x396064(0x23e)]=this[_0x396064(0x1a4)][_0x396064(0x1ae)][_0x396064(0x1c7)](_0x49e571)[_0x396064(0x166)](_0x523e8d(this[_0x396064(0x1a4)][_0x396064(0x1fa)],_0x396064(0x22f))));}[_0x17be9e(0x252)](){const _0x2f9296=_0x17be9e;this[_0x2f9296(0x23e)]&&(this[_0x2f9296(0x1a4)][_0x2f9296(0x1ae)][_0x2f9296(0x1c7)](_0x49e571)[_0x2f9296(0x1cf)](this[_0x2f9296(0x23e)]),this[_0x2f9296(0x23e)]=null);}[_0x17be9e(0x171)](_0x4b37da){const _0x36adfd=_0x17be9e,_0x4fe38d=_0x4b37da[_0x36adfd(0x20c)](_0x5d5c13=>_0x5d5c13[_0x36adfd(0x1c3)]());return this[_0x36adfd(0x257)][_0x36adfd(0x1e7)](_0x4fe38d);}[_0x17be9e(0x206)](_0x27131a,_0x4f2859){const _0xef39f9=_0x17be9e;return this[_0xef39f9(0x257)][_0xef39f9(0x1b2)](_0x27131a)[_0xef39f9(0x20c)]((_0x31f1ef,_0x54808c)=>{const _0xae302f=_0xef39f9,_0x5ec88d=_0xae302f(0x199)==_0x4f2859[_0x54808c][_0xae302f(0x178)];if(_0xae302f(0x253)==_0x31f1ef[_0xae302f(0x1f5)]){const _0x25d235=_0x31f1ef[_0xae302f(0x1d1)][_0xae302f(0x1cb)];!this[_0xae302f(0x192)][_0xae302f(0x165)](_0x25d235)&&(this[_0xae302f(0x192)][_0xae302f(0x1c2)](_0xae302f(0x1cc),_0x25d235)[_0xae302f(0x16b)]=!0x1);}const _0x1624d4=_0x4131a3[_0xae302f(0x1fd)](_0x31f1ef,this[_0xae302f(0x192)]);return _0x1624d4[_0xae302f(0x16d)]=_0x31f1ef[_0xae302f(0x16d)],_0x1624d4[_0xae302f(0x259)]=_0x5ec88d,_0x1624d4[_0xae302f(0x1e6)]=_0x5ec88d?null:_0x4f2859[_0x54808c][_0xae302f(0x25e)],_0x1624d4[_0xae302f(0x16c)]=_0xae302f(0x170)===_0x4f2859[_0x54808c][_0xae302f(0x178)],_0x1624d4[_0xae302f(0x1bc)]=_0x4f2859[_0x54808c][_0xae302f(0x1bc)],_0x1624d4;});}[_0x17be9e(0x20f)](){const _0x51fd28=_0x17be9e;this[_0x51fd28(0x174)]=!0x0,this[_0x51fd28(0x1fe)]()?this[_0x51fd28(0x1b9)]():this[_0x51fd28(0x174)]=!0x1;}[_0x17be9e(0x1fe)](){const _0x1d12e8=_0x17be9e,_0x2101d2=this[_0x1d12e8(0x1a4)][_0x1d12e8(0x1ae)][_0x1d12e8(0x1c7)](_0x4d155e)[_0x1d12e8(0x1ab)][_0x1d12e8(0x1c7)](this[_0x1d12e8(0x1a9)]);return!this[_0x1d12e8(0x1a4)][_0x1d12e8(0x1a8)]&&!!_0x2101d2&&_0x2101d2[_0x1d12e8(0x239)]>0x1&&this[_0x1d12e8(0x174)];}[_0x17be9e(0x176)](){const _0x329d76=_0x17be9e;return this[_0x329d76(0x1c1)][_0x329d76(0x239)]>0x0||this[_0x329d76(0x1fe)]();}}l[_0x17be9e(0x1ea)]=_0x56ff6c;function _0x47c3(_0xccee4d,_0x5607c1){const _0x345da1=_0x345d();return _0x47c3=function(_0x47c34c,_0x2cbb69){_0x47c34c=_0x47c34c-0x161;let _0x14f362=_0x345da1[_0x47c34c];return _0x14f362;},_0x47c3(_0xccee4d,_0x5607c1);}export default l;class z extends Error{}function V(_0xdad613,_0x602bef){const _0x46071f=_0x17be9e;for(const _0x513c87 of _0xdad613)_0x513c87[_0x46071f(0x19c)]=_0x602bef++;}class W{constructor(_0x25d33f){const _0x3c74da=_0x17be9e;this[_0x3c74da(0x1f2)]=_0x25d33f,this[_0x3c74da(0x17f)]=new WeakMap();}[_0x17be9e(0x1ac)](_0x1570ba){const _0x2ef6b6=_0x17be9e;let _0x395971=_0x1570ba[_0x2ef6b6(0x239)];for(;_0x395971--;){const _0x37f6e4=_0x1570ba[_0x395971];if(!this[_0x2ef6b6(0x1f2)][_0x2ef6b6(0x1b5)](_0x37f6e4)){if(!this[_0x2ef6b6(0x17f)][_0x2ef6b6(0x1b5)](_0x37f6e4)){const _0x18ed79=_0x416b29()[_0x2ef6b6(0x258)](0x1,0x12);this[_0x2ef6b6(0x17f)][_0x2ef6b6(0x1b7)](_0x37f6e4,_0x18ed79);}return this[_0x2ef6b6(0x17f)][_0x2ef6b6(0x1c7)](_0x37f6e4);}}}[_0x17be9e(0x20b)](_0x1d08f0,_0x60c6d3){const _0x33eebf=_0x17be9e;if(!_0x60c6d3)return;let _0x5d67c1=_0x1d08f0[_0x33eebf(0x239)];for(;_0x5d67c1--;){const _0xa5ed53=_0x1d08f0[_0x5d67c1];this[_0x33eebf(0x1f2)][_0x33eebf(0x1b5)](_0xa5ed53)||this[_0x33eebf(0x17f)][_0x33eebf(0x1b7)](_0xa5ed53,_0x60c6d3);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x148f(_0x382753,_0x4b4efb){const _0x47f491=_0x47f4();return _0x148f=function(_0x148f66,_0x511e36){_0x148f66=_0x148f66-0x1ad;let _0xa0140e=_0x47f491[_0x148f66];return _0xa0140e;},_0x148f(_0x382753,_0x4b4efb);}const _0x39ebd3=_0x148f;(function(_0x197c44,_0x1f848b){const _0xa2a253=_0x148f,_0xfb17e8=_0x197c44();while(!![]){try{const _0x4538e0=-parseInt(_0xa2a253(0x1c8))/0x1*(parseInt(_0xa2a253(0x1ba))/0x2)+-parseInt(_0xa2a253(0x1e0))/0x3*(parseInt(_0xa2a253(0x1c4))/0x4)+-parseInt(_0xa2a253(0x1e1))/0x5*(parseInt(_0xa2a253(0x1e7))/0x6)+-parseInt(_0xa2a253(0x1cb))/0x7+-parseInt(_0xa2a253(0x1c2))/0x8+-parseInt(_0xa2a253(0x1c9))/0x9*(-parseInt(_0xa2a253(0x1c6))/0xa)+-parseInt(_0xa2a253(0x1b4))/0xb*(-parseInt(_0xa2a253(0x1bd))/0xc);if(_0x4538e0===_0x1f848b)break;else _0xfb17e8['push'](_0xfb17e8['shift']());}catch(_0x2730d4){_0xfb17e8['push'](_0xfb17e8['shift']());}}}(_0x47f4,0x21c49));import{ContextPlugin as _0x51c6cb}from'ckeditor5/src/core.js';import{Collection as _0x32b617,CKEditorError as _0x43201f}from'ckeditor5/src/utils.js';import _0x531e86 from'./websocketgateway.js';function _0x47f4(){const _0x132937=['plugins','get','_users','unregister','getUser','channelSessions','isPremiumPlugin','fire','clear','register','requires','size','state','change:state','_handleSessionAdd','init','sessionAdd:','33JqVQmg','365OwMTQa','isMe','isOfficialPlugin','defineMe','context','_createUser','210sqfPoG','getUserBySessionId','allConnectedUsers','has','remove','channelConnectedUsers','set','sessions-unregister-not-exist','Sessions','mySessionId','_registeredSessions','_handleSessionRemove','assign','4830463AMbtoV','role','stopListening','addUser','connected','add','14616tOSJRp','listenTo','sessions-register-already-registered','12XooQfo','connection','delete','sessionId','_uniqueUsersCount','1565848TifvAO','values','11192vRJZEO','user','1353010wadldu','getUserSessions','30bNBtzG','18NgaVXh','pluginName','861826pwtyZl','getUserRole','orderNumber','forEach'];_0x47f4=function(){return _0x132937;};return _0x47f4();}import{Users as _0x56318b}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x51c6cb{static get[_0x39ebd3(0x1ca)](){const _0x12d8d7=_0x39ebd3;return _0x12d8d7(0x1af);}static get[_0x39ebd3(0x1e3)](){return!0x0;}static get[_0x39ebd3(0x1d5)](){return!0x0;}static get[_0x39ebd3(0x1d9)](){return[_0x531e86,_0x56318b];}constructor(_0x417263){const _0x16b390=_0x39ebd3;super(_0x417263),this[_0x16b390(0x1d4)]=new Map(),this[_0x16b390(0x1ec)]=new Map(),this[_0x16b390(0x1e9)]=new _0x32b617(),this[_0x16b390(0x1b1)]=new Map(),this[_0x16b390(0x1c1)]=0x0,this[_0x16b390(0x1d1)]=this[_0x16b390(0x1e5)][_0x16b390(0x1cf)][_0x16b390(0x1d0)](_0x56318b);}[_0x39ebd3(0x1de)](){const _0x5bde22=_0x39ebd3,_0x4cff0e=this[_0x5bde22(0x1e5)][_0x5bde22(0x1cf)][_0x5bde22(0x1d0)](_0x531e86);this[_0x5bde22(0x1bb)](_0x4cff0e,_0x5bde22(0x1dc),(_0x5f2f4e,_0x3c8f35,_0x125996)=>{const _0x29afd2=_0x5bde22;if(_0x29afd2(0x1b8)!==_0x125996)this[_0x29afd2(0x1d4)][_0x29afd2(0x1ce)](_0x1fb5c1=>_0x1fb5c1[_0x29afd2(0x1d7)]()),this[_0x29afd2(0x1ec)][_0x29afd2(0x1ce)](_0x111d8c=>_0x111d8c[_0x29afd2(0x1d7)]()),this[_0x29afd2(0x1e9)][_0x29afd2(0x1d7)]();else{for(const [_0x1da417,_0x314e62]of this[_0x29afd2(0x1b1)])for(const _0x1fedb9 of _0x314e62)this[_0x29afd2(0x1dd)](_0x1da417,_0x1fedb9);}}),this[_0x5bde22(0x1e6)](_0x4cff0e[_0x5bde22(0x1be)]['me'],!0x0);}[_0x39ebd3(0x1d8)](_0x412419,_0x1fcecd){const _0x33b5ef=_0x39ebd3;if(this[_0x33b5ef(0x1b1)][_0x33b5ef(0x1ea)](_0x412419))throw new _0x43201f(_0x33b5ef(0x1bc),null,{'channelId':_0x412419});this[_0x33b5ef(0x1b1)][_0x33b5ef(0x1ad)](_0x412419,_0x1fcecd),this[_0x33b5ef(0x1d4)][_0x33b5ef(0x1ad)](_0x412419,new _0x32b617()),this[_0x33b5ef(0x1ec)][_0x33b5ef(0x1ad)](_0x412419,new _0x32b617()),this[_0x33b5ef(0x1bb)](_0x1fcecd,_0x33b5ef(0x1b9),(_0x325d0b,_0xc3e9a7)=>this[_0x33b5ef(0x1dd)](_0x412419,_0xc3e9a7)),this[_0x33b5ef(0x1bb)](_0x1fcecd,_0x33b5ef(0x1eb),(_0x194032,_0x559099)=>this[_0x33b5ef(0x1b2)](_0x412419,_0x559099));for(const _0x51575d of _0x1fcecd)this[_0x33b5ef(0x1dd)](_0x412419,_0x51575d);}[_0x39ebd3(0x1d2)](_0x54a263){const _0x436f16=_0x39ebd3;if(!this[_0x436f16(0x1b1)][_0x436f16(0x1ea)](_0x54a263))throw new _0x43201f(_0x436f16(0x1ae),null,{'channelId':_0x54a263});const _0x56c3d4=this[_0x436f16(0x1b1)][_0x436f16(0x1d0)](_0x54a263);this[_0x436f16(0x1b6)](_0x56c3d4);for(const _0x418302 of _0x56c3d4)_0x436f16(0x1b8)===this[_0x436f16(0x1e5)][_0x436f16(0x1cf)][_0x436f16(0x1d0)](_0x531e86)[_0x436f16(0x1db)]&&this[_0x436f16(0x1b2)](_0x54a263,_0x418302);this[_0x436f16(0x1b1)][_0x436f16(0x1bf)](_0x54a263),this[_0x436f16(0x1d4)][_0x436f16(0x1bf)](_0x54a263),this[_0x436f16(0x1ec)][_0x436f16(0x1bf)](_0x54a263);}get[_0x39ebd3(0x1b0)](){const _0x26f8fc=_0x39ebd3;return this[_0x26f8fc(0x1e5)][_0x26f8fc(0x1cf)][_0x26f8fc(0x1d0)](_0x531e86)[_0x26f8fc(0x1be)][_0x26f8fc(0x1c0)];}[_0x39ebd3(0x1e8)](_0x5a60ba){const _0x29db23=_0x39ebd3;for(const _0x5e769b of this[_0x29db23(0x1d4)][_0x29db23(0x1c3)]())for(const _0x4df014 of _0x5e769b)if(_0x4df014['id']===_0x5a60ba)return _0x4df014[_0x29db23(0x1c5)];}[_0x39ebd3(0x1c7)](_0x11558d,_0x3be935){const _0x306b04=_0x39ebd3,_0x321e8f=_0x3be935?[this[_0x306b04(0x1d4)][_0x306b04(0x1d0)](_0x3be935)]:this[_0x306b04(0x1d4)][_0x306b04(0x1c3)](),_0xe0c89b=new Set();for(const _0x1fbd37 of _0x321e8f)for(const _0x55c1b9 of _0x1fbd37)_0x55c1b9[_0x306b04(0x1c5)]['id']===_0x11558d['id']&&_0xe0c89b[_0x306b04(0x1b9)](_0x55c1b9['id']);return _0xe0c89b;}[_0x39ebd3(0x1cc)](_0x339a04){const _0x2adecd=_0x39ebd3;for(const _0x4dc017 of this[_0x2adecd(0x1d4)][_0x2adecd(0x1c3)]())for(const _0x4e6c96 of _0x4dc017)if(_0x4e6c96[_0x2adecd(0x1c5)]===_0x339a04)return _0x4e6c96[_0x2adecd(0x1b5)];}[_0x39ebd3(0x1dd)](_0x397af2,_0x40e3f0){const _0x5567ef=_0x39ebd3;if(_0x5567ef(0x1b8)!==this[_0x5567ef(0x1e5)][_0x5567ef(0x1cf)][_0x5567ef(0x1d0)](_0x531e86)[_0x5567ef(0x1db)])return;const _0x2e5bb2=_0x40e3f0[_0x5567ef(0x1c5)],_0x2f0b3f=this[_0x5567ef(0x1d1)][_0x5567ef(0x1d3)](_0x2e5bb2['id'])||this[_0x5567ef(0x1e6)](_0x2e5bb2),_0x46a7dc=Object[_0x5567ef(0x1b3)]({},_0x40e3f0,{'user':_0x2f0b3f});this[_0x5567ef(0x1d4)][_0x5567ef(0x1d0)](_0x397af2)[_0x5567ef(0x1b9)](_0x46a7dc);const _0x568616=this[_0x5567ef(0x1ec)][_0x5567ef(0x1d0)](_0x397af2);_0x568616[_0x5567ef(0x1ea)](_0x2f0b3f['id'])||_0x568616[_0x5567ef(0x1b9)](_0x2f0b3f),this[_0x5567ef(0x1e9)][_0x5567ef(0x1ea)](_0x2f0b3f['id'])||this[_0x5567ef(0x1e9)][_0x5567ef(0x1b9)](_0x2f0b3f,_0x2f0b3f[_0x5567ef(0x1e2)]?0x0:void 0x0),this[_0x5567ef(0x1d6)](_0x5567ef(0x1df)+_0x397af2,{'channelId':_0x397af2,'session':_0x46a7dc});}[_0x39ebd3(0x1b2)](_0x9e0e05,_0x408d5e){const _0x3baa99=_0x39ebd3;if(_0x3baa99(0x1b8)!==this[_0x3baa99(0x1e5)][_0x3baa99(0x1cf)][_0x3baa99(0x1d0)](_0x531e86)[_0x3baa99(0x1db)])return;const _0x130afd=this[_0x3baa99(0x1ec)][_0x3baa99(0x1d0)](_0x9e0e05),_0x1ad2a1=_0x408d5e[_0x3baa99(0x1c5)];_0x1ad2a1['id']&&(this[_0x3baa99(0x1d4)][_0x3baa99(0x1d0)](_0x9e0e05)[_0x3baa99(0x1eb)](_0x408d5e['id']),_0x130afd[_0x3baa99(0x1ea)](_0x1ad2a1['id'])&&!this[_0x3baa99(0x1c7)](_0x1ad2a1,_0x9e0e05)[_0x3baa99(0x1da)]&&_0x130afd[_0x3baa99(0x1eb)](_0x1ad2a1['id']),this[_0x3baa99(0x1e9)][_0x3baa99(0x1d0)](_0x1ad2a1['id'])&&!this[_0x3baa99(0x1c7)](_0x1ad2a1)[_0x3baa99(0x1da)]&&this[_0x3baa99(0x1e9)][_0x3baa99(0x1eb)](_0x1ad2a1['id']));}[_0x39ebd3(0x1e6)](_0xb7bd1d,_0x4e0490){const _0x330060=_0x39ebd3,_0x414fe9=this[_0x330060(0x1d1)][_0x330060(0x1b7)](_0xb7bd1d);return _0x4e0490&&this[_0x330060(0x1d1)][_0x330060(0x1e4)](_0xb7bd1d['id']),_0x414fe9[_0x330060(0x1cd)]=this[_0x330060(0x1c1)]++,_0x414fe9;}}
|