@ckeditor/ckeditor5-real-time-collaboration 44.2.0-alpha.12 → 44.2.0-alpha.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +14 -14
- package/src/presencelist/presencelistui.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/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/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 _0x333a7a=_0x3ae3;(function(_0x3282de,_0x34f771){const _0x5510e9=_0x3ae3,_0x1a2c12=_0x3282de();while(!![]){try{const _0x513bc7=parseInt(_0x5510e9(0x167))/0x1*(parseInt(_0x5510e9(0x186))/0x2)+parseInt(_0x5510e9(0x1af))/0x3*(parseInt(_0x5510e9(0x1aa))/0x4)+-parseInt(_0x5510e9(0x15f))/0x5+parseInt(_0x5510e9(0x16a))/0x6*(parseInt(_0x5510e9(0x17d))/0x7)+parseInt(_0x5510e9(0x197))/0x8+-parseInt(_0x5510e9(0x19c))/0x9+-parseInt(_0x5510e9(0x1ad))/0xa;if(_0x513bc7===_0x34f771)break;else _0x1a2c12['push'](_0x1a2c12['shift']());}catch(_0x52fb76){_0x1a2c12['push'](_0x1a2c12['shift']());}}}(_0x563e,0x8292d));import{ContextPlugin as _0x44e636}from'ckeditor5/src/core.js';import{CKEditorError as _0x39ff0d,Collection as _0x48d9b9}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x2077ad,BalloonPanelView as _0x217871,BodyCollection as _0x47d783}from'ckeditor5/src/ui.js';import{isElement as _0x50a17c}from'lodash-es';function _0x3ae3(_0xd1c4c7,_0x112c0a){const _0x563e9f=_0x563e();return _0x3ae3=function(_0x3ae3a0,_0x43318f){_0x3ae3a0=_0x3ae3a0-0x15f;let _0x166e40=_0x563e9f[_0x3ae3a0];return _0x166e40;},_0x3ae3(_0xd1c4c7,_0x112c0a);}import _0x3fcfe5 from'../realtimecollaborativeediting/sessions.js';import _0x148685 from'./view/presencelistview.js';import _0x2aeeb5 from'./view/presencedropdownlistview.js';import _0x4f95e7 from'./view/presencedropdownlistitemview.js';import _0x18195e from'./view/presenceinlinelistitemview.js';const D={'collapseAt':0x6,'displayMe':!0x0};export default class r extends _0x44e636{constructor(_0x3aeabf){const _0x361a71=_0x3ae3;super(_0x3aeabf),this[_0x361a71(0x1b6)]=null,this[_0x361a71(0x1a3)][_0x361a71(0x19f)][_0x361a71(0x170)](_0x361a71(0x176),D);const _0xc48853=_0x3aeabf[_0x361a71(0x19f)][_0x361a71(0x166)](_0x361a71(0x1c1));if(_0x361a71(0x188)!=typeof _0xc48853)throw new _0x39ff0d(_0x361a71(0x1ab),this);if(_0xc48853<0x1)throw new _0x39ff0d(_0x361a71(0x1ab),this);this[_0x361a71(0x1b0)]=this[_0x361a71(0x1a3)][_0x361a71(0x185)][_0x361a71(0x166)](_0x3fcfe5)[_0x361a71(0x194)],this[_0x361a71(0x18f)](_0x361a71(0x171),0x0),this[_0x361a71(0x1b3)]=new _0x48d9b9(),this[_0x361a71(0x164)]=new _0x217871(),this[_0x361a71(0x164)][_0x361a71(0x1c0)]=_0x361a71(0x1a9),this[_0x361a71(0x19d)]=this[_0x361a71(0x16d)](),this[_0x361a71(0x1a2)]=void 0x0;}static get[_0x333a7a(0x17a)](){return[_0x3fcfe5];}[_0x333a7a(0x1bf)](){const _0x5cba7b=_0x333a7a;for(const _0x532021 of this[_0x5cba7b(0x1b0)])this[_0x5cba7b(0x19e)](_0x532021);this[_0x5cba7b(0x161)](this[_0x5cba7b(0x1b0)],_0x5cba7b(0x1b1),(_0x15e948,_0x1d82cb)=>{const _0xbdf32c=_0x5cba7b;this[_0xbdf32c(0x19e)](_0x1d82cb);}),this[_0x5cba7b(0x161)](this[_0x5cba7b(0x1b0)],_0x5cba7b(0x168),(_0x4585c3,_0x159dbe)=>{const _0x2226a9=_0x5cba7b;this[_0x2226a9(0x190)](_0x159dbe);});}[_0x333a7a(0x16d)](){const _0x59ac99=_0x333a7a,_0x5f3903=this[_0x59ac99(0x1a3)],_0x1309e7=new _0x148685(this[_0x59ac99(0x1a3)][_0x59ac99(0x169)]),_0x35388e=this[_0x59ac99(0x164)];if(!_0x50a17c(_0x5f3903[_0x59ac99(0x19f)][_0x59ac99(0x166)](_0x59ac99(0x174))))throw new _0x39ff0d(_0x59ac99(0x19a),this);return _0x1309e7[_0x59ac99(0x163)][_0x59ac99(0x1b8)](_0x59ac99(0x171))['to'](this),_0x1309e7[_0x59ac99(0x1b8)](_0x59ac99(0x192))['to'](this,_0x59ac99(0x171),_0x79d4cb=>{const _0x43bbc4=_0x59ac99,{collapseAt:_0x249dfe,displayMe:_0x59dd28}=_0x5f3903[_0x43bbc4(0x19f)][_0x43bbc4(0x166)](_0x43bbc4(0x176)),_0x28af91=_0x79d4cb>=_0x249dfe;return _0x1309e7[_0x43bbc4(0x163)][_0x43bbc4(0x17f)]=!(0x1==_0x79d4cb&&_0x59dd28||_0x28af91),_0x28af91||this[_0x43bbc4(0x17e)](),_0x28af91;}),_0x1309e7[_0x59ac99(0x17c)][_0x59ac99(0x1bb)][_0x59ac99(0x18d)](this[_0x59ac99(0x1b3)])[_0x59ac99(0x1b9)](_0xb94f12=>{const _0x24da9d=_0x59ac99,_0xe514c4=_0x5f3903[_0x24da9d(0x19f)][_0x24da9d(0x166)](_0x24da9d(0x176)),_0x297315=new _0x18195e(_0x5f3903[_0x24da9d(0x169)],_0xb94f12,!!_0xe514c4[_0x24da9d(0x18a)]);return _0x297315[_0x24da9d(0x1b8)](_0x24da9d(0x182))['to'](_0x1309e7,_0x24da9d(0x192),_0x434256=>!_0x434256),_0x297315[_0x24da9d(0x1b8)](_0x24da9d(0x1a0))['to'](_0x1309e7,_0x24da9d(0x192),_0x71d3c0=>!_0x71d3c0),_0xe514c4[_0x24da9d(0x18a)]&&this[_0x24da9d(0x161)](_0x297315,_0x24da9d(0x1b2),()=>{const _0x24962b=_0x24da9d;this[_0x24962b(0x19d)][_0x24962b(0x192)]||_0xe514c4[_0x24962b(0x18a)](_0xb94f12,_0x297315[_0x24962b(0x1bc)]);}),_0x297315;}),this[_0x59ac99(0x161)](_0x1309e7[_0x59ac99(0x17c)],_0x59ac99(0x1b2),()=>{const _0x198d50=_0x59ac99;this[_0x198d50(0x1a2)]?this[_0x198d50(0x17e)]():this[_0x198d50(0x19d)][_0x198d50(0x192)]&&this[_0x198d50(0x178)]();}),_0x1309e7[_0x59ac99(0x17c)][_0x59ac99(0x181)][_0x59ac99(0x18f)](_0x59ac99(0x160),(_0x4a470a,_0x417f4b)=>{const _0x3f52ad=_0x59ac99;this[_0x3f52ad(0x19d)][_0x3f52ad(0x192)]&&(this[_0x3f52ad(0x178)](),_0x417f4b());}),_0x1309e7[_0x59ac99(0x179)](),_0x35388e[_0x59ac99(0x179)](),_0x2077ad({'emitter':_0x1309e7,'activator':()=>_0x35388e[_0x59ac99(0x195)],'contextElements':[_0x35388e[_0x59ac99(0x1bc)],_0x1309e7[_0x59ac99(0x17c)][_0x59ac99(0x1bc)]],'callback':()=>this[_0x59ac99(0x17e)]()}),_0x5f3903[_0x59ac99(0x19f)][_0x59ac99(0x166)](_0x59ac99(0x174))[_0x59ac99(0x16b)](_0x1309e7[_0x59ac99(0x1bc)]),this[_0x59ac99(0x1b6)]=new _0x47d783(this[_0x59ac99(0x1a3)][_0x59ac99(0x169)]),this[_0x59ac99(0x1b6)][_0x59ac99(0x1bd)](),this[_0x59ac99(0x1b6)][_0x59ac99(0x1b1)](this[_0x59ac99(0x164)]),_0x1309e7;}[_0x333a7a(0x19e)](_0x32675f){const _0x454ecc=_0x333a7a;if(!this[_0x454ecc(0x1a3)][_0x454ecc(0x19f)][_0x454ecc(0x166)](_0x454ecc(0x1a1))&&_0x32675f[_0x454ecc(0x183)])return;const _0x554dc2=this[_0x454ecc(0x1a3)][_0x454ecc(0x19f)][_0x454ecc(0x166)](_0x454ecc(0x1c1))-0x1;this[_0x454ecc(0x171)]++,this[_0x454ecc(0x1b3)][_0x454ecc(0x199)]==_0x554dc2&&this[_0x454ecc(0x1b3)][_0x454ecc(0x199)]>0x1&&this[_0x454ecc(0x1b3)][_0x454ecc(0x168)](0x1);const _0x5d1b8c=_0x32675f[_0x454ecc(0x183)]?0x0:this[_0x454ecc(0x1b3)][_0x454ecc(0x199)];this[_0x454ecc(0x1b3)][_0x454ecc(0x1b1)](_0x32675f,_0x5d1b8c);}[_0x333a7a(0x190)](_0xc5e07e){const _0x2769e1=_0x333a7a;if(this[_0x2769e1(0x171)]--,this[_0x2769e1(0x1b3)][_0x2769e1(0x166)](_0xc5e07e['id'])&&(this[_0x2769e1(0x1b3)][_0x2769e1(0x168)](_0xc5e07e['id']),this[_0x2769e1(0x1b3)][_0x2769e1(0x199)]<this[_0x2769e1(0x171)])){for(const _0x3131f4 of Array[_0x2769e1(0x19b)](this[_0x2769e1(0x1b0)])[_0x2769e1(0x180)]())if(!this[_0x2769e1(0x1b3)][_0x2769e1(0x166)](_0x3131f4['id']))return void this[_0x2769e1(0x1b3)][_0x2769e1(0x1b1)](_0x3131f4,Math[_0x2769e1(0x1be)](this[_0x2769e1(0x1b3)][_0x2769e1(0x199)],0x1));}}[_0x333a7a(0x178)](){const _0x4a6e78=_0x333a7a;if(this[_0x4a6e78(0x1a2)])return;const _0x4f7906=this[_0x4a6e78(0x1a3)][_0x4a6e78(0x19f)][_0x4a6e78(0x166)](_0x4a6e78(0x176));this[_0x4a6e78(0x1a2)]=new _0x2aeeb5(this[_0x4a6e78(0x1a3)][_0x4a6e78(0x169)],!!_0x4f7906[_0x4a6e78(0x18a)]),this[_0x4a6e78(0x19d)][_0x4a6e78(0x17c)][_0x4a6e78(0x172)]=!0x0;const {listWrapperView:_0x2fcd41}=this[_0x4a6e78(0x1a2)];_0x2fcd41[_0x4a6e78(0x1bb)][_0x4a6e78(0x18d)](this[_0x4a6e78(0x1b0)])[_0x4a6e78(0x1b9)](_0x31c707=>{const _0x1ba915=_0x4a6e78;if(!_0x4f7906[_0x1ba915(0x191)]&&_0x31c707[_0x1ba915(0x183)])return null;const _0x27d361=new _0x4f95e7(this[_0x1ba915(0x1a3)][_0x1ba915(0x169)],_0x31c707,!!_0x4f7906[_0x1ba915(0x18a)]);return _0x4f7906[_0x1ba915(0x18a)]&&this[_0x1ba915(0x161)](_0x27d361,_0x1ba915(0x1b2),()=>{const _0x42094e=_0x1ba915;_0x4f7906[_0x42094e(0x18a)](_0x31c707,_0x27d361[_0x42094e(0x1bc)]);}),_0x27d361;}),this[_0x4a6e78(0x164)][_0x4a6e78(0x1b5)][_0x4a6e78(0x1b1)](this[_0x4a6e78(0x1a2)]),this[_0x4a6e78(0x164)][_0x4a6e78(0x187)]({'target':this[_0x4a6e78(0x19d)][_0x4a6e78(0x17c)][_0x4a6e78(0x1bc)]}),_0x2fcd41[_0x4a6e78(0x18e)](),_0x2fcd41[_0x4a6e78(0x175)]();const _0x4b6f9b=(_0x2d660c,_0x1dc53)=>{const _0x453060=_0x4a6e78;this[_0x453060(0x17e)](),this[_0x453060(0x19d)][_0x453060(0x17c)][_0x453060(0x18e)](),_0x1dc53();};_0x2fcd41[_0x4a6e78(0x181)][_0x4a6e78(0x18f)](_0x4a6e78(0x17b),_0x4b6f9b),_0x2fcd41[_0x4a6e78(0x181)][_0x4a6e78(0x18f)](_0x4a6e78(0x18c),_0x4b6f9b),_0x2fcd41[_0x4a6e78(0x181)][_0x4a6e78(0x18f)](_0x4a6e78(0x1c2),(_0x32b2f9,_0x2babed)=>{const _0x46e284=_0x4a6e78;!function(_0x2d6883){const _0x1a3a5e=_0x3ae3,_0x595d45=['a',_0x1a3a5e(0x165),_0x1a3a5e(0x198),_0x1a3a5e(0x1a8),_0x1a3a5e(0x189),_0x1a3a5e(0x16e),_0x1a3a5e(0x1c3)][_0x1a3a5e(0x173)](_0x3f7a41=>_0x3f7a41+_0x1a3a5e(0x177))[_0x1a3a5e(0x162)](','),_0xd2d5ba=[...document[_0x1a3a5e(0x1b7)][_0x1a3a5e(0x1a7)](_0x595d45)][_0x1a3a5e(0x1a4)](_0x2de814=>_0x2de814===document[_0x1a3a5e(0x193)]||_0x2de814[_0x1a3a5e(0x1a6)]+_0x2de814[_0x1a3a5e(0x16f)]>0x0)[_0x1a3a5e(0x184)]((_0x2c67e6,_0x42b6cc)=>(_0x2c67e6[_0x1a3a5e(0x16c)]||0x0)-(_0x42b6cc[_0x1a3a5e(0x16c)]||0x0)),_0xc4f2fe=_0xd2d5ba[_0x1a3a5e(0x1a5)](_0x2d6883),_0x8c198f=_0xd2d5ba[(_0xc4f2fe+0x1)%_0xd2d5ba[_0x1a3a5e(0x199)]];_0x8c198f&&_0x8c198f[_0x1a3a5e(0x18e)]();}(this[_0x46e284(0x19d)][_0x46e284(0x1bc)]),this[_0x46e284(0x17e)](),_0x2babed();}),_0x2fcd41[_0x4a6e78(0x1ba)][_0x4a6e78(0x1b1)](this[_0x4a6e78(0x19d)][_0x4a6e78(0x1bc)]),_0x2fcd41[_0x4a6e78(0x1ba)]['on'](_0x4a6e78(0x1b4),(_0x25447d,_0x3065c9,_0x543291)=>{const _0x477e33=_0x4a6e78;_0x543291||this[_0x477e33(0x17e)]();});}[_0x333a7a(0x17e)](){const _0x4d08ab=_0x333a7a;this[_0x4d08ab(0x1a2)]&&(this[_0x4d08ab(0x19d)][_0x4d08ab(0x17c)][_0x4d08ab(0x172)]=!0x1,this[_0x4d08ab(0x164)][_0x4d08ab(0x196)](),this[_0x4d08ab(0x164)][_0x4d08ab(0x1b5)][_0x4d08ab(0x168)](this[_0x4d08ab(0x1a2)]),this[_0x4d08ab(0x1a2)][_0x4d08ab(0x1ac)](),this[_0x4d08ab(0x1a2)]=void 0x0);}[_0x333a7a(0x1ac)](){const _0x255ea2=_0x333a7a;super[_0x255ea2(0x1ac)](),this[_0x255ea2(0x19d)]&&this[_0x255ea2(0x19d)][_0x255ea2(0x18b)]&&this[_0x255ea2(0x19d)][_0x255ea2(0x1ac)](),this[_0x255ea2(0x1b6)]&&(this[_0x255ea2(0x1b6)][_0x255ea2(0x1ae)](),this[_0x255ea2(0x1b6)][_0x255ea2(0x1ac)](),this[_0x255ea2(0x1b6)]=null);}}function _0x563e(){const _0x5c97fc=['_handleUserRemove','displayMe','isCollapsed','activeElement','allConnectedUsers','isVisible','unpin','8052640AXsqSJ','input','length','presencelist-missing-container','from','9374166nouoFg','view','_handleUserAdd','config','isFocusable','presenceList.displayMe','presenceDropdownView','context','filter','indexOf','offsetWidth','querySelectorAll','select','ck\x20ck-presence-list__balloon','16EMRdxC','presencelist-collapseat-invalid-format','destroy','8832880jxePGB','detachFromDom','452766VISMXj','_allConnectedUsers','add','execute','currentDisplayedUsers','change:isFocused','content','_bodyCollection','body','bind','using','focusTracker','items','element','attachToDom','min','init','class','presenceList.collapseAt','Tab','[contenteditable]','3050650aEokaw','Enter','listenTo','join','counterView','balloonPanelView','button','get','107UrOcRg','remove','locale','1288212KquGsY','appendChild','tabIndex','_createView','[tabindex]','offsetHeight','define','usersCount','isExpanded','map','presenceList.container','checkIfScrollable','presenceList',':not([disabled]):not([tabindex=\x22-1\x22])','showDropdown','render','requires','Esc','inlineListView','21vgfJUb','hideDropdown','isHidden','reverse','keystrokes','hasTooltip','isMe','sort','plugins','15242DwTpBE','pin','number','textarea','onClick','isRendered','Shift+Tab','bindTo','focus','set'];_0x563e=function(){return _0x5c97fc;};return _0x563e();}
|
|
23
|
+
const _0x53554d=_0x5ce3;(function(_0x137137,_0x5d7b78){const _0x27f0c0=_0x5ce3,_0x4b807e=_0x137137();while(!![]){try{const _0x244df0=parseInt(_0x27f0c0(0x1fa))/0x1*(parseInt(_0x27f0c0(0x1ff))/0x2)+-parseInt(_0x27f0c0(0x1df))/0x3+-parseInt(_0x27f0c0(0x1f8))/0x4*(parseInt(_0x27f0c0(0x1dd))/0x5)+-parseInt(_0x27f0c0(0x207))/0x6*(-parseInt(_0x27f0c0(0x1e0))/0x7)+-parseInt(_0x27f0c0(0x1e4))/0x8+-parseInt(_0x27f0c0(0x1fc))/0x9*(-parseInt(_0x27f0c0(0x22d))/0xa)+parseInt(_0x27f0c0(0x1e3))/0xb*(-parseInt(_0x27f0c0(0x1eb))/0xc);if(_0x244df0===_0x5d7b78)break;else _0x4b807e['push'](_0x4b807e['shift']());}catch(_0x1000f2){_0x4b807e['push'](_0x4b807e['shift']());}}}(_0x1ee5,0xf308a));import{ContextPlugin as _0x1594fa}from'ckeditor5/src/core.js';function _0x5ce3(_0x753f1c,_0x3935bb){const _0x1ee5cc=_0x1ee5();return _0x5ce3=function(_0x5ce383,_0x6ab6b7){_0x5ce383=_0x5ce383-0x1cc;let _0x44387f=_0x1ee5cc[_0x5ce383];return _0x44387f;},_0x5ce3(_0x753f1c,_0x3935bb);}import{CKEditorError as _0x1a8337,Collection as _0x22db86}from'ckeditor5/src/utils.js';function _0x1ee5(){const _0x39ffad=['isExpanded','_handleUserAdd','balloonPanelView','appendChild','input','indexOf','view','isMe','sort','onClick','number','Enter',':not([disabled]):not([tabindex=\x22-1\x22])','displayMe','usersCount','length','pin','add','filter','Tab','class','8418320vNnqxa','unpin','155595WDXIVI','5780033mmtbXL','presenceList.container','isRendered','1023EnZgax','6610992QlGUcs','_allConnectedUsers','using','ck\x20ck-presence-list__balloon','presencelist-missing-container','querySelectorAll','focusTracker','67548yqfrAk','isVisible','allConnectedUsers','join','Shift+Tab','execute','focus','inlineListView','element','activeElement','detachFromDom','content','isFocusable','4kHveTp','init','3sfjmby','_handleUserRemove','18chGHCb','body','requires','1136014CNaKJT','min','presenceList.displayMe','hasTooltip','presenceList','locale','render','presenceDropdownView','6eeiKQC','[tabindex]','config','context','hideDropdown','set','remove','isHidden','plugins','presencelist-collapseat-invalid-format','offsetHeight','counterView','define','items','bindTo','from','Esc','currentDisplayedUsers','button','keystrokes','attachToDom','showDropdown','textarea','tabIndex','get','isCollapsed','bind','select','destroy','[contenteditable]','checkIfScrollable','offsetWidth','change:isFocused','listenTo','reverse','_createView','presenceList.collapseAt','_bodyCollection','7755630MAkYuA','map'];_0x1ee5=function(){return _0x39ffad;};return _0x1ee5();}import{clickOutsideHandler as _0x4f6628,BalloonPanelView as _0x5c6760,BodyCollection as _0x6526f4}from'ckeditor5/src/ui.js';import{isElement as _0x4e80a1}from'lodash-es';import _0x43d87e from'../realtimecollaborativeediting/sessions.js';import _0x11a001 from'./view/presencelistview.js';import _0x549de0 from'./view/presencedropdownlistview.js';import _0x1ffd1d from'./view/presencedropdownlistitemview.js';import _0x2e6712 from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class r extends _0x1594fa{constructor(_0x2a6f86){const _0xdc2571=_0x5ce3;super(_0x2a6f86),this[_0xdc2571(0x22c)]=null,this[_0xdc2571(0x20a)][_0xdc2571(0x209)][_0xdc2571(0x213)](_0xdc2571(0x203),A);const _0x1fa01d=_0x2a6f86[_0xdc2571(0x209)][_0xdc2571(0x21f)](_0xdc2571(0x22b));if(_0xdc2571(0x1d2)!=typeof _0x1fa01d)throw new _0x1a8337(_0xdc2571(0x210),this);if(_0x1fa01d<0x1)throw new _0x1a8337(_0xdc2571(0x210),this);this[_0xdc2571(0x1e5)]=this[_0xdc2571(0x20a)][_0xdc2571(0x20f)][_0xdc2571(0x21f)](_0x43d87e)[_0xdc2571(0x1ed)],this[_0xdc2571(0x20c)](_0xdc2571(0x1d6),0x0),this[_0xdc2571(0x218)]=new _0x22db86(),this[_0xdc2571(0x231)]=new _0x5c6760(),this[_0xdc2571(0x231)][_0xdc2571(0x1dc)]=_0xdc2571(0x1e7),this[_0xdc2571(0x1ce)]=this[_0xdc2571(0x22a)](),this[_0xdc2571(0x206)]=void 0x0;}static get[_0x53554d(0x1fe)](){return[_0x43d87e];}[_0x53554d(0x1f9)](){const _0x439c94=_0x53554d;for(const _0x3bcb43 of this[_0x439c94(0x1e5)])this[_0x439c94(0x230)](_0x3bcb43);this[_0x439c94(0x228)](this[_0x439c94(0x1e5)],_0x439c94(0x1d9),(_0x4d011e,_0x1c3e95)=>{const _0x533cfb=_0x439c94;this[_0x533cfb(0x230)](_0x1c3e95);}),this[_0x439c94(0x228)](this[_0x439c94(0x1e5)],_0x439c94(0x20d),(_0x19d9e0,_0x58635a)=>{const _0x5eecac=_0x439c94;this[_0x5eecac(0x1fb)](_0x58635a);});}[_0x53554d(0x22a)](){const _0x1a3438=_0x53554d,_0x427a73=this[_0x1a3438(0x20a)],_0x228082=new _0x11a001(this[_0x1a3438(0x20a)][_0x1a3438(0x204)]),_0x4a9b0e=this[_0x1a3438(0x231)];if(!_0x4e80a1(_0x427a73[_0x1a3438(0x209)][_0x1a3438(0x21f)](_0x1a3438(0x1e1))))throw new _0x1a8337(_0x1a3438(0x1e8),this);return _0x228082[_0x1a3438(0x212)][_0x1a3438(0x221)](_0x1a3438(0x1d6))['to'](this),_0x228082[_0x1a3438(0x221)](_0x1a3438(0x220))['to'](this,_0x1a3438(0x1d6),_0x126d46=>{const _0x11a141=_0x1a3438,{collapseAt:_0x5a0e23,displayMe:_0x1f0f2d}=_0x427a73[_0x11a141(0x209)][_0x11a141(0x21f)](_0x11a141(0x203)),_0x5acd03=_0x126d46>=_0x5a0e23;return _0x228082[_0x11a141(0x212)][_0x11a141(0x20e)]=!(0x1==_0x126d46&&_0x1f0f2d||_0x5acd03),_0x5acd03||this[_0x11a141(0x20b)](),_0x5acd03;}),_0x228082[_0x1a3438(0x1f2)][_0x1a3438(0x214)][_0x1a3438(0x215)](this[_0x1a3438(0x218)])[_0x1a3438(0x1e6)](_0x4214ff=>{const _0x4f03b0=_0x1a3438,_0x26601b=_0x427a73[_0x4f03b0(0x209)][_0x4f03b0(0x21f)](_0x4f03b0(0x203)),_0x2a7f5e=new _0x2e6712(_0x427a73[_0x4f03b0(0x204)],_0x4214ff,!!_0x26601b[_0x4f03b0(0x1d1)]);return _0x2a7f5e[_0x4f03b0(0x221)](_0x4f03b0(0x202))['to'](_0x228082,_0x4f03b0(0x220),_0x4afb61=>!_0x4afb61),_0x2a7f5e[_0x4f03b0(0x221)](_0x4f03b0(0x1f7))['to'](_0x228082,_0x4f03b0(0x220),_0x131c0e=>!_0x131c0e),_0x26601b[_0x4f03b0(0x1d1)]&&this[_0x4f03b0(0x228)](_0x2a7f5e,_0x4f03b0(0x1f0),()=>{const _0x46d7a8=_0x4f03b0;this[_0x46d7a8(0x1ce)][_0x46d7a8(0x220)]||_0x26601b[_0x46d7a8(0x1d1)](_0x4214ff,_0x2a7f5e[_0x46d7a8(0x1f3)]);}),_0x2a7f5e;}),this[_0x1a3438(0x228)](_0x228082[_0x1a3438(0x1f2)],_0x1a3438(0x1f0),()=>{const _0x5c2891=_0x1a3438;this[_0x5c2891(0x206)]?this[_0x5c2891(0x20b)]():this[_0x5c2891(0x1ce)][_0x5c2891(0x220)]&&this[_0x5c2891(0x21c)]();}),_0x228082[_0x1a3438(0x1f2)][_0x1a3438(0x21a)][_0x1a3438(0x20c)](_0x1a3438(0x1d3),(_0x530b6d,_0xe3aabd)=>{const _0x52d63f=_0x1a3438;this[_0x52d63f(0x1ce)][_0x52d63f(0x220)]&&(this[_0x52d63f(0x21c)](),_0xe3aabd());}),_0x228082[_0x1a3438(0x205)](),_0x4a9b0e[_0x1a3438(0x205)](),_0x4f6628({'emitter':_0x228082,'activator':()=>_0x4a9b0e[_0x1a3438(0x1ec)],'contextElements':[_0x4a9b0e[_0x1a3438(0x1f3)],_0x228082[_0x1a3438(0x1f2)][_0x1a3438(0x1f3)]],'callback':()=>this[_0x1a3438(0x20b)]()}),_0x427a73[_0x1a3438(0x209)][_0x1a3438(0x21f)](_0x1a3438(0x1e1))[_0x1a3438(0x232)](_0x228082[_0x1a3438(0x1f3)]),this[_0x1a3438(0x22c)]=new _0x6526f4(this[_0x1a3438(0x20a)][_0x1a3438(0x204)]),this[_0x1a3438(0x22c)][_0x1a3438(0x21b)](),this[_0x1a3438(0x22c)][_0x1a3438(0x1d9)](this[_0x1a3438(0x231)]),_0x228082;}[_0x53554d(0x230)](_0x3b5692){const _0x5d0127=_0x53554d;if(!this[_0x5d0127(0x20a)][_0x5d0127(0x209)][_0x5d0127(0x21f)](_0x5d0127(0x201))&&_0x3b5692[_0x5d0127(0x1cf)])return;const _0x1a533a=this[_0x5d0127(0x20a)][_0x5d0127(0x209)][_0x5d0127(0x21f)](_0x5d0127(0x22b))-0x1;this[_0x5d0127(0x1d6)]++,this[_0x5d0127(0x218)][_0x5d0127(0x1d7)]==_0x1a533a&&this[_0x5d0127(0x218)][_0x5d0127(0x1d7)]>0x1&&this[_0x5d0127(0x218)][_0x5d0127(0x20d)](0x1);const _0x413670=_0x3b5692[_0x5d0127(0x1cf)]?0x0:this[_0x5d0127(0x218)][_0x5d0127(0x1d7)];this[_0x5d0127(0x218)][_0x5d0127(0x1d9)](_0x3b5692,_0x413670);}[_0x53554d(0x1fb)](_0x502735){const _0x41c154=_0x53554d;if(this[_0x41c154(0x1d6)]--,this[_0x41c154(0x218)][_0x41c154(0x21f)](_0x502735['id'])&&(this[_0x41c154(0x218)][_0x41c154(0x20d)](_0x502735['id']),this[_0x41c154(0x218)][_0x41c154(0x1d7)]<this[_0x41c154(0x1d6)])){for(const _0x2e9dd2 of Array[_0x41c154(0x216)](this[_0x41c154(0x1e5)])[_0x41c154(0x229)]())if(!this[_0x41c154(0x218)][_0x41c154(0x21f)](_0x2e9dd2['id']))return void this[_0x41c154(0x218)][_0x41c154(0x1d9)](_0x2e9dd2,Math[_0x41c154(0x200)](this[_0x41c154(0x218)][_0x41c154(0x1d7)],0x1));}}[_0x53554d(0x21c)](){const _0x2c82cf=_0x53554d;if(this[_0x2c82cf(0x206)])return;const _0x5cc756=this[_0x2c82cf(0x20a)][_0x2c82cf(0x209)][_0x2c82cf(0x21f)](_0x2c82cf(0x203));this[_0x2c82cf(0x206)]=new _0x549de0(this[_0x2c82cf(0x20a)][_0x2c82cf(0x204)],!!_0x5cc756[_0x2c82cf(0x1d1)]),this[_0x2c82cf(0x1ce)][_0x2c82cf(0x1f2)][_0x2c82cf(0x22f)]=!0x0;const {listWrapperView:_0x5ea757}=this[_0x2c82cf(0x206)];_0x5ea757[_0x2c82cf(0x214)][_0x2c82cf(0x215)](this[_0x2c82cf(0x1e5)])[_0x2c82cf(0x1e6)](_0x5b2673=>{const _0x41d505=_0x2c82cf;if(!_0x5cc756[_0x41d505(0x1d5)]&&_0x5b2673[_0x41d505(0x1cf)])return null;const _0x17710a=new _0x1ffd1d(this[_0x41d505(0x20a)][_0x41d505(0x204)],_0x5b2673,!!_0x5cc756[_0x41d505(0x1d1)]);return _0x5cc756[_0x41d505(0x1d1)]&&this[_0x41d505(0x228)](_0x17710a,_0x41d505(0x1f0),()=>{const _0x294c7c=_0x41d505;_0x5cc756[_0x294c7c(0x1d1)](_0x5b2673,_0x17710a[_0x294c7c(0x1f3)]);}),_0x17710a;}),this[_0x2c82cf(0x231)][_0x2c82cf(0x1f6)][_0x2c82cf(0x1d9)](this[_0x2c82cf(0x206)]),this[_0x2c82cf(0x231)][_0x2c82cf(0x1d8)]({'target':this[_0x2c82cf(0x1ce)][_0x2c82cf(0x1f2)][_0x2c82cf(0x1f3)]}),_0x5ea757[_0x2c82cf(0x1f1)](),_0x5ea757[_0x2c82cf(0x225)]();const _0x43f960=(_0x13b7fa,_0x856d0a)=>{const _0x27b1ab=_0x2c82cf;this[_0x27b1ab(0x20b)](),this[_0x27b1ab(0x1ce)][_0x27b1ab(0x1f2)][_0x27b1ab(0x1f1)](),_0x856d0a();};_0x5ea757[_0x2c82cf(0x21a)][_0x2c82cf(0x20c)](_0x2c82cf(0x217),_0x43f960),_0x5ea757[_0x2c82cf(0x21a)][_0x2c82cf(0x20c)](_0x2c82cf(0x1ef),_0x43f960),_0x5ea757[_0x2c82cf(0x21a)][_0x2c82cf(0x20c)](_0x2c82cf(0x1db),(_0x979cc2,_0x384cc1)=>{const _0x2e2438=_0x2c82cf;!function(_0x5d8db6){const _0x277f14=_0x5ce3,_0x5ae470=['a',_0x277f14(0x219),_0x277f14(0x1cc),_0x277f14(0x222),_0x277f14(0x21d),_0x277f14(0x208),_0x277f14(0x224)][_0x277f14(0x22e)](_0x1c9b0f=>_0x1c9b0f+_0x277f14(0x1d4))[_0x277f14(0x1ee)](','),_0x37fd63=[...document[_0x277f14(0x1fd)][_0x277f14(0x1e9)](_0x5ae470)][_0x277f14(0x1da)](_0x38d53e=>_0x38d53e===document[_0x277f14(0x1f4)]||_0x38d53e[_0x277f14(0x226)]+_0x38d53e[_0x277f14(0x211)]>0x0)[_0x277f14(0x1d0)]((_0x39e7f8,_0x358b26)=>(_0x39e7f8[_0x277f14(0x21e)]||0x0)-(_0x358b26[_0x277f14(0x21e)]||0x0)),_0xcf3c14=_0x37fd63[_0x277f14(0x1cd)](_0x5d8db6),_0x856505=_0x37fd63[(_0xcf3c14+0x1)%_0x37fd63[_0x277f14(0x1d7)]];_0x856505&&_0x856505[_0x277f14(0x1f1)]();}(this[_0x2e2438(0x1ce)][_0x2e2438(0x1f3)]),this[_0x2e2438(0x20b)](),_0x384cc1();}),_0x5ea757[_0x2c82cf(0x1ea)][_0x2c82cf(0x1d9)](this[_0x2c82cf(0x1ce)][_0x2c82cf(0x1f3)]),_0x5ea757[_0x2c82cf(0x1ea)]['on'](_0x2c82cf(0x227),(_0x427e8e,_0x1bb0ae,_0x3c2f51)=>{const _0x2cdcee=_0x2c82cf;_0x3c2f51||this[_0x2cdcee(0x20b)]();});}[_0x53554d(0x20b)](){const _0x222211=_0x53554d;this[_0x222211(0x206)]&&(this[_0x222211(0x1ce)][_0x222211(0x1f2)][_0x222211(0x22f)]=!0x1,this[_0x222211(0x231)][_0x222211(0x1de)](),this[_0x222211(0x231)][_0x222211(0x1f6)][_0x222211(0x20d)](this[_0x222211(0x206)]),this[_0x222211(0x206)][_0x222211(0x223)](),this[_0x222211(0x206)]=void 0x0);}[_0x53554d(0x223)](){const _0x494f32=_0x53554d;super[_0x494f32(0x223)](),this[_0x494f32(0x1ce)]&&this[_0x494f32(0x1ce)][_0x494f32(0x1e2)]&&this[_0x494f32(0x1ce)][_0x494f32(0x223)](),this[_0x494f32(0x22c)]&&(this[_0x494f32(0x22c)][_0x494f32(0x1f5)](),this[_0x494f32(0x22c)][_0x494f32(0x223)](),this[_0x494f32(0x22c)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x302c(){const _0x4dafa8=['16028595hrqgLL','fire','555288DUrzbH','tag','5477540YRvQum','true','2ZlacCF','202917ycqRwX','focus','ck-presence-list__dropdown-list-item','presentation','button','setTemplate','ck-user__full-name','color','execute','168UJVJPh','name','260729sjWPXS','getBackgroundColorClass','1079072ArCEia','ck-presence-list__marker','bindTemplate','userView','element','span','5217444kQhsVw'];_0x302c=function(){return _0x4dafa8;};return _0x302c();}const _0x246fbe=_0x38e0;(function(_0x10d40e,_0x308fc2){const _0x3ee394=_0x38e0,_0x13e89e=_0x10d40e();while(!![]){try{const _0x4818d4=parseInt(_0x3ee394(0x77))/0x1*(parseInt(_0x3ee394(0x85))/0x2)+-parseInt(_0x3ee394(0x78))/0x3+parseInt(_0x3ee394(0x73))/0x4+parseInt(_0x3ee394(0x75))/0x5+parseInt(_0x3ee394(0x70))/0x6+-parseInt(_0x3ee394(0x83))/0x7*(parseInt(_0x3ee394(0x81))/0x8)+-parseInt(_0x3ee394(0x71))/0x9;if(_0x4818d4===_0x308fc2)break;else _0x13e89e['push'](_0x13e89e['shift']());}catch(_0x4c8cb0){_0x13e89e['push'](_0x13e89e['shift']());}}}(_0x302c,0x86d03));import{ListItemView as _0x1431d0}from'ckeditor5/src/ui.js';import{UserView as _0x3c24ec}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x38e0(_0x342fe8,_0x77960b){const _0x302ced=_0x302c();return _0x38e0=function(_0x38e02a,_0x3fcce4){_0x38e02a=_0x38e02a-0x6b;let _0x14fd74=_0x302ced[_0x38e02a];return _0x14fd74;},_0x38e0(_0x342fe8,_0x77960b);}export default class k extends _0x1431d0{constructor(_0x528534,_0x9f3e08,_0x270ed8){const _0x10f7ec=_0x38e0;super(_0x528534);const _0x27471f=this[_0x10f7ec(0x6c)];this[_0x10f7ec(0x6d)]=new _0x3c24ec(_0x528534,_0x9f3e08);const _0x354a99={'tag':'li','attributes':{'class':['ck',_0x10f7ec(0x7a)],'tabindex':-0x1,'role':_0x10f7ec(0x7b),'aria-label':_0x9f3e08[_0x10f7ec(0x82)]},'children':[this[_0x10f7ec(0x6d)],{'tag':_0x10f7ec(0x6f),'attributes':{'class':['ck',_0x10f7ec(0x7e)]},'children':[{'text':_0x9f3e08[_0x10f7ec(0x82)]}]},{'tag':_0x10f7ec(0x6f),'attributes':{'class':['ck',_0x10f7ec(0x6b),_0x9f3e08[_0x10f7ec(0x7f)][_0x10f7ec(0x84)]()],'aria-hidden':_0x10f7ec(0x76)}}]};_0x270ed8&&(_0x354a99[_0x10f7ec(0x74)]=_0x10f7ec(0x7c),_0x354a99['on']={'click':_0x27471f['to'](()=>this[_0x10f7ec(0x72)](_0x10f7ec(0x80)))}),this[_0x10f7ec(0x7d)](_0x354a99);}[_0x246fbe(0x79)](){const _0x2ea60d=_0x246fbe;this[_0x2ea60d(0x6e)][_0x2ea60d(0x79)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x686679=_0x4bbc;function _0x4bbc(_0x4ba707,_0x3d83b0){const _0x5178c3=_0x5178();return _0x4bbc=function(_0x4bbc3f,_0x19038b){_0x4bbc3f=_0x4bbc3f-0x74;let _0xb22c3c=_0x5178c3[_0x4bbc3f];return _0xb22c3c;},_0x4bbc(_0x4ba707,_0x3d83b0);}function _0x5178(){const _0x535632=['ck-presence-list__dropdown-list','ariaLabel','max','checkIfScrollable','_isScrollable','listenTo','2594379zdTyIE','2076508uglXqm','ariaLabelledBy','window','ck-list','resize','setTemplate','4514237UDRdcM','3925330zfEspR','render','div','role','ck-reset','6KsxLko','scrollHeight','change','ck-presence-list__dropdown-list-wrapper','innerHeight','6836868kvxDMM','bindTemplate','listWrapperView','ck-presence-list__dropdown-list-wrapper_scrollable','set','24jeNtZP','application','items','element','clientHeight','2033168dnqgli','Connected\x20users\x20list\x20dropdown\x20menu','330209fbcFNu'];_0x5178=function(){return _0x535632;};return _0x5178();}(function(_0x37df56,_0x2d57d8){const _0x252e41=_0x4bbc,_0x2f841e=_0x37df56();while(!![]){try{const _0x225477=parseInt(_0x252e41(0x7f))/0x1+parseInt(_0x252e41(0x7d))/0x2+parseInt(_0x252e41(0x86))/0x3+parseInt(_0x252e41(0x87))/0x4+parseInt(_0x252e41(0x8e))/0x5+-parseInt(_0x252e41(0x93))/0x6*(parseInt(_0x252e41(0x8d))/0x7)+parseInt(_0x252e41(0x78))/0x8*(-parseInt(_0x252e41(0x98))/0x9);if(_0x225477===_0x2d57d8)break;else _0x2f841e['push'](_0x2f841e['shift']());}catch(_0x153a2f){_0x2f841e['push'](_0x2f841e['shift']());}}}(_0x5178,0x9083c));import{ListView as _0x347fb3,View as _0x223b2e}from'ckeditor5/src/ui.js';import{global as _0x13bca0}from'ckeditor5/src/utils.js';import{getTranslation as _0x5d362c}from'../../common-translations.js';export default class j extends _0x223b2e{constructor(_0x9ab60e,_0x4e8259){const _0x50e96a=_0x4bbc;super(_0x9ab60e),this[_0x50e96a(0x75)]=new PresenceDropdownListWrapperView(_0x9ab60e,_0x4e8259),this[_0x50e96a(0x8c)]({'tag':_0x50e96a(0x90),'attributes':{'tabindex':-0x1,'role':_0x50e96a(0x79),'class':['ck',_0x50e96a(0x80)],'aria-label':_0x5d362c(_0x9ab60e,_0x50e96a(0x7e))},'children':[this[_0x50e96a(0x75)]]});}}export class PresenceDropdownListWrapperView extends _0x347fb3{constructor(_0x12bc3c,_0x515b74){const _0x225278=_0x4bbc;super(_0x12bc3c);const _0xffb990=this[_0x225278(0x74)];this[_0x225278(0x77)](_0x225278(0x84),!0x1),this[_0x225278(0x8c)]({'tag':_0x515b74?_0x225278(0x90):'ul','attributes':{'class':['ck',_0x225278(0x92),_0x225278(0x8a),_0x225278(0x96),_0xffb990['if'](_0x225278(0x84),_0x225278(0x76))],'role':_0xffb990['to'](_0x225278(0x91)),'aria-label':_0xffb990['to'](_0x225278(0x81)),'aria-labelledby':_0xffb990['to'](_0x225278(0x88))},'children':this[_0x225278(0x7a)]}),this[_0x225278(0x85)](_0x13bca0[_0x225278(0x89)],_0x225278(0x8b),()=>this[_0x225278(0x83)]()),this[_0x225278(0x7a)]['on'](_0x225278(0x95),()=>this[_0x225278(0x83)]());}[_0x686679(0x8f)](){const _0x3ba5b7=_0x686679;super[_0x3ba5b7(0x8f)](),this[_0x3ba5b7(0x83)]();}[_0x686679(0x83)](){const _0x415b6e=_0x686679,_0x255456=this[_0x415b6e(0x7b)];_0x255456&&(this[_0x415b6e(0x84)]=Math[_0x415b6e(0x82)](_0x255456[_0x415b6e(0x94)],_0x255456[_0x415b6e(0x7c)])>0.8*window[_0x415b6e(0x97)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x546474,_0x4c7780){const _0x211a03=_0x1141,_0x2c6c39=_0x546474();while(!![]){try{const _0x485280=-parseInt(_0x211a03(0xee))/0x1*(parseInt(_0x211a03(0xda))/0x2)+-parseInt(_0x211a03(0xf5))/0x3+parseInt(_0x211a03(0xea))/0x4*(parseInt(_0x211a03(0xf7))/0x5)+-parseInt(_0x211a03(0xdb))/0x6*(parseInt(_0x211a03(0xe0))/0x7)+parseInt(_0x211a03(0xe1))/0x8+-parseInt(_0x211a03(0xe9))/0x9+parseInt(_0x211a03(0xd8))/0xa;if(_0x485280===_0x4c7780)break;else _0x2c6c39['push'](_0x2c6c39['shift']());}catch(_0xe34ea5){_0x2c6c39['push'](_0x2c6c39['shift']());}}}(_0x44a8,0x922fa));function _0x1141(_0x5bf966,_0x46a7f6){const _0x44a8b5=_0x44a8();return _0x1141=function(_0x1141f0,_0x49b394){_0x1141f0=_0x1141f0-0xd7;let _0x47d874=_0x44a8b5[_0x1141f0];return _0x47d874;},_0x1141(_0x5bf966,_0x46a7f6);}import{LabelView as _0x14dcd4,View as _0x45fa65}from'ckeditor5/src/ui.js';import{UserView as _0x5e61e5}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x45fa65{constructor(_0x425c6b,_0x4d287a,_0x10012f){const _0x50cdd5=_0x1141;super(_0x425c6b);const _0x4933b8=this[_0x50cdd5(0xe7)];this[_0x50cdd5(0xed)](_0x50cdd5(0xd7),!0x1),this[_0x50cdd5(0xed)](_0x50cdd5(0xf0),!0x0),this[_0x50cdd5(0xed)](_0x50cdd5(0xf3),''),this[_0x50cdd5(0xd9)]=new _0x5e61e5(_0x425c6b,_0x4d287a),this[_0x50cdd5(0xeb)]=new at(_0x425c6b,_0x4d287a);const _0x51e4ff=new _0x14dcd4(_0x425c6b);_0x51e4ff[_0x50cdd5(0xf2)][_0x50cdd5(0xf4)]=_0x50cdd5(0xf8),_0x51e4ff[_0x50cdd5(0xf6)]=_0x4d287a[_0x50cdd5(0xde)];const _0x193cd8={'tag':_0x50cdd5(0xdc),'attributes':{'class':['ck',_0x50cdd5(0xe8)],'role':_0x50cdd5(0xf1),'tabindex':_0x4933b8['to'](_0x50cdd5(0xd7),_0x52d0b6=>!!_0x52d0b6&&0x0),'aria-labelledby':_0x51e4ff['id'],'data-cke-tooltip-text':this[_0x50cdd5(0xd9)][_0x50cdd5(0xde)],'data-cke-tooltip-position':_0x4933b8['to'](_0x50cdd5(0xf3)),'data-cke-tooltip-disabled':_0x4933b8['to'](_0x50cdd5(0xf0),_0x53a525=>!_0x53a525),'data-cke-tooltip-class':_0x50cdd5(0xe3)},'children':[this[_0x50cdd5(0xd9)],this[_0x50cdd5(0xeb)],_0x51e4ff]};_0x10012f&&(_0x193cd8[_0x50cdd5(0xf4)]=_0x50cdd5(0xe6),_0x193cd8['on']={'click':_0x4933b8['to'](()=>this[_0x50cdd5(0xec)](_0x50cdd5(0xef)))}),this[_0x50cdd5(0xe4)](_0x193cd8);}}class at extends _0x45fa65{constructor(_0x4dd1c0,_0xb24de6){const _0x1265da=_0x1141;super(_0x4dd1c0),this[_0x1265da(0xe4)]({'tag':_0x1265da(0xf8),'attributes':{'class':['ck',_0x1265da(0xdf),_0xb24de6[_0x1265da(0xe2)][_0x1265da(0xdd)]()],'aria-hidden':_0x1265da(0xe5)}});}}function _0x44a8(){const _0x12f075=['29273500dWOZcy','userView','52lbznzS','6CtkiKK','div','getBackgroundColorClass','name','ck-presence-list__marker','6365702ZGzfmt','2520304yYXSIn','color','ck-presence-list__list-item__tooltip','setTemplate','true','button','bindTemplate','ck-presence-list__list-item','7571286MTwgXS','931124IfoeGZ','markerView','fire','set','9439QwDgVF','execute','hasTooltip','listitem','template','tooltipPosition','tag','3339354pQLaff','text','10qwvKXj','span','isFocusable'];_0x44a8=function(){return _0x12f075;};return _0x44a8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x3e55(_0x3412ff,_0x4ce797){const _0x2694cf=_0x2694();return _0x3e55=function(_0x3e55c5,_0x4e4aed){_0x3e55c5=_0x3e55c5-0xad;let _0x269f42=_0x2694cf[_0x3e55c5];return _0x269f42;},_0x3e55(_0x3412ff,_0x4ce797);}(function(_0x5ddd97,_0x489502){const _0x5c3450=_0x3e55,_0x56333f=_0x5ddd97();while(!![]){try{const _0x28b44b=-parseInt(_0x5c3450(0xc5))/0x1+-parseInt(_0x5c3450(0xc8))/0x2+parseInt(_0x5c3450(0xb3))/0x3*(parseInt(_0x5c3450(0xbb))/0x4)+parseInt(_0x5c3450(0xc9))/0x5*(parseInt(_0x5c3450(0xc7))/0x6)+-parseInt(_0x5c3450(0xbf))/0x7*(-parseInt(_0x5c3450(0xba))/0x8)+parseInt(_0x5c3450(0xb1))/0x9+-parseInt(_0x5c3450(0xb4))/0xa;if(_0x28b44b===_0x489502)break;else _0x56333f['push'](_0x56333f['shift']());}catch(_0x2629f5){_0x56333f['push'](_0x56333f['shift']());}}}(_0x2694,0xd33bc));import{View as _0x37ecd6}from'ckeditor5/src/ui.js';import _0x4cf245 from'./presencecounterview.js';import _0x26d04c from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class L extends _0x37ecd6{constructor(_0x37c8bc){const _0x45e013=_0x3e55;super(_0x37c8bc);const _0x175c4c=this[_0x45e013(0xb6)];this[_0x45e013(0xbe)](_0x45e013(0xc4),!0x0),this[_0x45e013(0xc0)]=new _0x4cf245(this[_0x45e013(0xb7)]),this[_0x45e013(0xb9)]=new _0x26d04c(_0x37c8bc),this[_0x45e013(0xb9)][_0x45e013(0xaf)](_0x45e013(0xbd))['to'](this,_0x45e013(0xc4)),this[_0x45e013(0xae)](this[_0x45e013(0xb9)][_0x45e013(0xb2)],_0x45e013(0xc6),()=>{const _0x4b3114=_0x45e013;for(const _0x56b950 of this[_0x4b3114(0xb9)][_0x4b3114(0xb2)])_0x56b950[_0x4b3114(0xb5)]='s';this[_0x4b3114(0xb9)][_0x4b3114(0xb2)][_0x4b3114(0xc1)]&&(this[_0x4b3114(0xb9)][_0x4b3114(0xb2)][_0x4b3114(0xc1)][_0x4b3114(0xb5)]='se');}),this[_0x45e013(0xbc)]({'tag':_0x45e013(0xb8),'attributes':{'class':['ck',_0x45e013(0xc2),_0x45e013(0xc3),_0x45e013(0xad),_0x175c4c['if'](_0x45e013(0xc4),_0x45e013(0xb0))]},'children':[this[_0x45e013(0xc0)],this[_0x45e013(0xb9)]]});}}function _0x2694(){const _0x513d56=['inlineListView','10309496XMKAYr','1857684NOYXBY','setTemplate','hasPopup','set','7IELpLU','counterView','first','ck-presence-list','ck-reset','isCollapsed','444432fxtHnG','change','61014qroYSL','1507294LzQfuY','555EEIIEd','ck-rounded-corners','listenTo','bind','ck-presence-list--collapsed','10476666VtnYka','items','3BTnFgO','19826500jTYVOO','tooltipPosition','bindTemplate','locale','div'];_0x2694=function(){return _0x513d56;};return _0x2694();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0xeb0a(_0x38aa4,_0x340b2f){const _0x1a331d=_0x1a33();return _0xeb0a=function(_0xeb0a4b,_0x32b7a1){_0xeb0a4b=_0xeb0a4b-0x6b;let _0x54c731=_0x1a331d[_0xeb0a4b];return _0x54c731;},_0xeb0a(_0x38aa4,_0x340b2f);}const _0x157489=_0xeb0a;(function(_0x11f6ca,_0x5f2f58){const _0x3e05af=_0xeb0a,_0xc93dac=_0x11f6ca();while(!![]){try{const _0x3a85c8=parseInt(_0x3e05af(0xb9))/0x1*(-parseInt(_0x3e05af(0x82))/0x2)+parseInt(_0x3e05af(0xbf))/0x3*(-parseInt(_0x3e05af(0xc3))/0x4)+-parseInt(_0x3e05af(0x9b))/0x5*(-parseInt(_0x3e05af(0xcf))/0x6)+-parseInt(_0x3e05af(0x7f))/0x7*(-parseInt(_0x3e05af(0xb1))/0x8)+parseInt(_0x3e05af(0x88))/0x9*(-parseInt(_0x3e05af(0xb0))/0xa)+-parseInt(_0x3e05af(0x7c))/0xb+parseInt(_0x3e05af(0xba))/0xc*(parseInt(_0x3e05af(0xb6))/0xd);if(_0x3a85c8===_0x5f2f58)break;else _0xc93dac['push'](_0xc93dac['shift']());}catch(_0x4be24d){_0xc93dac['push'](_0xc93dac['shift']());}}}(_0x1a33,0x84d5a));import{Context as _0x45bb07,ContextPlugin as _0x6f5ad6}from'ckeditor5/src/core.js';import{CKEditorError as _0x4bb878}from'ckeditor5/src/utils.js';import{Users as _0x200940}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x4502a9,User as _0xd21ee4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x721b1a from'../realtimecollaborativeediting/websocketgateway.js';import _0x332c82 from'../realtimecollaborativeediting/sessions.js';class a extends _0x6f5ad6{static get[_0x157489(0x86)](){const _0x5e2e02=_0x157489;return[_0x721b1a,_0x5e2e02(0xcc),_0x332c82,_0x200940];}static get[_0x157489(0x70)](){const _0x360a47=_0x157489;return _0x360a47(0x90);}static get[_0x157489(0xa3)](){return!0x0;}static get[_0x157489(0x97)](){return!0x0;}constructor(_0xe4acc4){const _0x2ab5ca=_0x157489;super(_0xe4acc4),this[_0x2ab5ca(0x7a)]=new Map();}async[_0x157489(0xac)](){const _0x332e8f=_0x157489,_0x2e29d6=this[_0x332e8f(0x7e)],_0xf4f25b=_0x2e29d6[_0x332e8f(0x78)][_0x332e8f(0xa4)](_0x332e8f(0xcc));if(_0x2e29d6[_0x332e8f(0x78)][_0x332e8f(0xa4)](_0x721b1a)[_0x332e8f(0x6f)](this),_0xf4f25b[_0x332e8f(0x71)]={'addCommentThread':async({channelId:_0x175780,threadId:_0x2d7ac9,comments:_0x3834dc,resolvedAt:_0x2a623a,resolvedBy:_0x5b375e,context:_0x70653d,attributes:_0x906dde})=>{const _0x554d57=_0x332e8f,_0x1b1a2d=await this[_0x554d57(0xab)](_0x175780)[_0x554d57(0xa5)]({'commentThreadId':_0x2d7ac9,'comments':_0x3834dc[_0x554d57(0xaa)](_0x1c992f=>function(_0x402884,_0x470da8,_0x326cc5){const _0x35ee0a=_0x554d57;return{'commentThreadId':_0x326cc5,'commentId':_0x402884[_0x35ee0a(0x8c)],'userId':_0x402884[_0x35ee0a(0x7b)],'content':_0x402884[_0x35ee0a(0x89)],'documentId':_0x470da8,'createdAt':_0x402884[_0x35ee0a(0x93)],'attributes':_0x402884[_0x35ee0a(0xa7)]||{}};}(_0x1c992f,_0x175780,_0x2d7ac9)),'resolvedAt':_0x2a623a,'resolvedBy':_0x5b375e,'context':_0x70653d,'attributes':_0x906dde})[_0x554d57(0xa8)](w);return{'threadId':_0x1b1a2d[_0x554d57(0xc9)],'comments':_0x1b1a2d[_0x554d57(0xae)]};},'getCommentThread':async({channelId:_0x4193a7,threadId:_0x4171d1})=>{const _0x252f95=_0x332e8f,_0x3330ef=await this[_0x252f95(0xab)](_0x4193a7)[_0x252f95(0x91)](_0x4171d1)[_0x252f95(0xa8)](w);return _0x3330ef[_0x252f95(0x75)]?null:(await this[_0x252f95(0xa6)]([_0x3330ef]),{'threadId':_0x3330ef[_0x252f95(0xc9)],'comments':_0x3330ef[_0x252f95(0xae)][_0x252f95(0xaa)](b),'context':_0x3330ef[_0x252f95(0x7e)],'resolvedAt':_0x3330ef[_0x252f95(0xd3)],'resolvedBy':_0x3330ef[_0x252f95(0xcd)],'attributes':_0x3330ef[_0x252f95(0xa7)]||{}});},'updateCommentThread':async({channelId:_0x50bd9e,threadId:_0x1fb6ae,context:_0x552e99,unlinkedAt:_0x2f1791,attributes:_0x1082b8})=>this[_0x332e8f(0xab)](_0x50bd9e)[_0x332e8f(0xa1)]({'commentThreadId':_0x1fb6ae,'context':_0x552e99,'attributes':_0x1082b8,'unlinkedAt':_0x2f1791})[_0x332e8f(0xa8)](y)[_0x332e8f(0xa8)](w),'resolveCommentThread':async({channelId:_0x271ff4,threadId:_0x2dbdf6})=>{const _0x2a23b8=_0x332e8f,_0x1171b1=await this[_0x2a23b8(0xab)](_0x271ff4)[_0x2a23b8(0x85)](_0x2dbdf6)[_0x2a23b8(0xa8)](y)[_0x2a23b8(0xa8)](w);return{'threadId':_0x1171b1[_0x2a23b8(0xc9)],'resolvedAt':_0x1171b1[_0x2a23b8(0xd3)],'resolvedBy':_0x1171b1[_0x2a23b8(0xcd)]};},'reopenCommentThread':async({channelId:_0x3b280e,threadId:_0x1fdc34})=>this[_0x332e8f(0xab)](_0x3b280e)[_0x332e8f(0xb4)](_0x1fdc34)[_0x332e8f(0xa8)](y)[_0x332e8f(0xa8)](w),'removeCommentThread':({channelId:_0x8c473b,threadId:_0x29ceff})=>this[_0x332e8f(0xab)](_0x8c473b)[_0x332e8f(0xb5)](_0x29ceff)[_0x332e8f(0xa8)](y)[_0x332e8f(0xa8)](w),'addComment':({channelId:_0x11a46b,threadId:_0x5e5807,commentId:_0x2a446f,content:_0x32ad32,attributes:_0x1f4786})=>this[_0x332e8f(0xab)](_0x11a46b)[_0x332e8f(0x8e)](_0x5e5807,_0x2a446f,_0x32ad32,_0x1f4786)[_0x332e8f(0xa8)](w),'updateComment':({channelId:_0x57c977,threadId:_0x1459ed,commentId:_0x473da0,content:_0x10a073,attributes:_0x4c98bb})=>this[_0x332e8f(0xab)](_0x57c977)[_0x332e8f(0x9c)](_0x1459ed,_0x473da0,_0x10a073,_0x4c98bb)[_0x332e8f(0xa8)](y)[_0x332e8f(0xa8)](w),'removeComment':({channelId:_0x46703c,threadId:_0x2c1942,commentId:_0x100526})=>this[_0x332e8f(0xab)](_0x46703c)[_0x332e8f(0x9d)](_0x2c1942,_0x100526)[_0x332e8f(0xa8)](y)[_0x332e8f(0xa8)](w)},_0x2e29d6 instanceof _0x45bb07){const _0x3505fa=_0x2e29d6[_0x332e8f(0xad)][_0x332e8f(0xa4)](_0x332e8f(0x79)),_0x98d729=_0x2e29d6[_0x332e8f(0x78)][_0x332e8f(0xa4)](_0x332c82);await this[_0x332e8f(0xcb)](_0x3505fa);const _0x4ffa95=await this[_0x332e8f(0x7a)][_0x332e8f(0xa4)](_0x3505fa)[_0x332e8f(0xca)]();this[_0x332e8f(0x95)](_0x98d729,_0x332e8f(0x74)+_0x3505fa,(_0x29dd0b,{session:_0x1e2a7d})=>{const _0x199af6=_0x332e8f;_0x1e2a7d['id']===_0x98d729[_0x199af6(0x98)]&&(_0x29dd0b[_0x199af6(0xd0)](),this[_0x199af6(0x7e)][_0x199af6(0x78)][_0x199af6(0xa4)](_0x199af6(0xbd))[_0x199af6(0xc1)](_0x1e2a7d[_0x199af6(0xc6)],_0x3505fa));}),_0x98d729[_0x332e8f(0xc7)](_0x3505fa,_0x4ffa95);}}async[_0x157489(0xcb)](_0x59038f){const _0x4818c2=_0x157489;if(this[_0x4818c2(0x7a)][_0x4818c2(0x81)](_0x59038f))throw new _0x4bb878(_0x4818c2(0xaf),null,{'channelId':_0x59038f});const _0x17badd=this[_0x4818c2(0x7e)][_0x4818c2(0x78)][_0x4818c2(0xa4)](_0x4818c2(0xcc)),_0x283e15=new a[(_0x4818c2(0xb2))](_0x59038f);this[_0x4818c2(0x7a)][_0x4818c2(0x6d)](_0x59038f,_0x283e15),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0x8b),(_0x416b40,_0x5721de)=>{const _0x247ddf=_0x4818c2,{commentThreadId:_0x644418,documentId:_0x5d4607,context:_0x4dd154,attributes:_0x3ecc0e,resolvedAt:_0x318af6,resolvedBy:_0x46dde7,comments:_0x29bfef}=_0x5721de;_0x17badd[_0x247ddf(0x91)](_0x644418)||_0x17badd[_0x247ddf(0xa5)]({'threadId':_0x644418,'channelId':_0x5d4607,'comments':_0x29bfef?_0x29bfef[_0x247ddf(0xaa)](b):[],'context':_0x4dd154,'attributes':_0x3ecc0e,'resolvedAt':_0x318af6,'resolvedBy':_0x46dde7,'isFromAdapter':!0x0});}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0xd2),(_0x470e8c,{commentThreadId:_0x1bde5a,documentId:_0x98eb29,context:_0x11121b,unlinkedAt:_0xb38ce4,attributes:_0x83a8d})=>{const _0x3f65c9=_0x4818c2;_0x17badd[_0x3f65c9(0x91)](_0x1bde5a)&&_0x17badd[_0x3f65c9(0xa1)]({'threadId':_0x1bde5a,'channelId':_0x98eb29,'context':_0x11121b,'unlinkedAt':_0xb38ce4,'attributes':_0x83a8d,'isFromAdapter':!0x0});}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0x72),(_0x1d5cbe,{commentThreadId:_0x2dd48c,resolvedBy:_0x4d051c,resolvedAt:_0x2bc5a8})=>{const _0x19629b=_0x4818c2,_0x53c483=_0x17badd[_0x19629b(0x91)](_0x2dd48c);_0x53c483&&_0x53c483[_0x19629b(0xbe)]({'resolvedBy':_0x4d051c,'resolvedAt':_0x2bc5a8,'isFromAdapter':!0x0});}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0x87),(_0x2144e3,{commentThreadId:_0x24ca3d})=>{const _0x3e4111=_0x4818c2,_0x3b6169=_0x17badd[_0x3e4111(0x91)](_0x24ca3d);_0x3b6169&&_0x3b6169[_0x3e4111(0x9e)]({'isFromAdapter':!0x0});}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0x8d),(_0x4cd41b,{commentThreadId:_0x349f15})=>{const _0x4b3e35=_0x4818c2,_0x2fe18a=_0x17badd[_0x4b3e35(0x91)](_0x349f15);_0x2fe18a&&_0x2fe18a[_0x4b3e35(0x9f)]({'isFromAdapter':!0x0});}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0xc4),(_0x350533,_0x316c5b)=>{const _0x4e703b=_0x4818c2,_0x161aa2=_0x316c5b[_0x4e703b(0xc9)],_0x245e19=_0x17badd[_0x4e703b(0x91)](_0x161aa2);_0x245e19&&_0x245e19[_0x4e703b(0x8e)]({...b(_0x316c5b),'isFromAdapter':!0x0});}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0x83),(_0x48aa8f,{commentThreadId:_0x4ea4a3,commentId:_0x4c0b6b,content:_0x8e56c9,attributes:_0x5c7aea})=>{const _0x4931b6=_0x4818c2,_0x144352=_0x17badd[_0x4931b6(0x91)](_0x4ea4a3);if(_0x144352){const _0x13ea52=_0x144352[_0x4931b6(0xb7)](_0x4c0b6b);_0x13ea52&&_0x13ea52[_0x4931b6(0x7d)]({'content':_0x8e56c9,'attributes':_0x5c7aea,'isFromAdapter':!0x0});}}),this[_0x4818c2(0x95)](_0x283e15,_0x4818c2(0x80),(_0x2e9a2a,{commentThreadId:_0x53dcef,commentId:_0x454cd8})=>{const _0x21b400=_0x4818c2,_0x4952fb=_0x17badd[_0x21b400(0x91)](_0x53dcef);if(_0x4952fb){const _0x1176fd=_0x4952fb[_0x21b400(0xb7)](_0x454cd8);_0x1176fd&&_0x1176fd[_0x21b400(0x9f)]({'isFromAdapter':!0x0});}}),await this[_0x4818c2(0x6c)](_0x59038f);}[_0x157489(0xa2)](){const _0x5bf2c8=_0x157489;if(this[_0x5bf2c8(0x7e)]instanceof _0x45bb07){const _0x1487f9=this[_0x5bf2c8(0x7e)][_0x5bf2c8(0xad)][_0x5bf2c8(0xa4)](_0x5bf2c8(0x79));this[_0x5bf2c8(0xa0)](_0x1487f9);}}[_0x157489(0xa0)](_0x12d14b){const _0x390cbf=_0x157489;if(!this[_0x390cbf(0x7a)][_0x390cbf(0x81)](_0x12d14b))throw new _0x4bb878(_0x390cbf(0x76),null,{'channelId':_0x12d14b});this[_0x390cbf(0xab)](_0x12d14b)[_0x390cbf(0xc2)](),this[_0x390cbf(0x7a)][_0x390cbf(0x9a)](_0x12d14b);}async[_0x157489(0xa9)](){const _0x5cd247=_0x157489;for(const _0x1db209 of this[_0x5cd247(0x7a)][_0x5cd247(0xc0)]())await this[_0x5cd247(0x6c)](_0x1db209);if(this[_0x5cd247(0x7e)]instanceof _0x45bb07){const _0x4af7c0=this[_0x5cd247(0x7e)][_0x5cd247(0xad)][_0x5cd247(0xa4)](_0x5cd247(0x79)),_0x51f235=this[_0x5cd247(0x7e)][_0x5cd247(0x78)][_0x5cd247(0xa4)](_0x332c82);_0x51f235[_0x5cd247(0x8f)](_0x4af7c0);const _0x34d898=await this[_0x5cd247(0x7a)][_0x5cd247(0xa4)](_0x4af7c0)[_0x5cd247(0xca)]();_0x51f235[_0x5cd247(0xc7)](_0x4af7c0,_0x34d898);}}async[_0x157489(0x6c)](_0x2c770b){const _0x205b7f=_0x157489,{connection:_0x7ebe0e}=this[_0x205b7f(0x7e)][_0x205b7f(0x78)][_0x205b7f(0xa4)](_0x721b1a),_0x552455=this[_0x205b7f(0x7e)][_0x205b7f(0x78)][_0x205b7f(0xa4)](_0x205b7f(0xcc)),_0xa3ef75=this[_0x205b7f(0x7a)][_0x205b7f(0xa4)](_0x2c770b),_0x5c7f39=await _0xa3ef75[_0x205b7f(0xce)](_0x7ebe0e);await this[_0x205b7f(0xa6)](_0x5c7f39);const _0x4d2551=new Set(Array[_0x205b7f(0x84)](_0x552455[_0x205b7f(0x6b)]({'channelId':_0x2c770b}),_0x399714=>_0x399714['id']));for(const _0x3348f3 of _0x5c7f39)_0x3348f3[_0x205b7f(0x75)]||_0x4d2551[_0x205b7f(0x9a)](_0x3348f3[_0x205b7f(0xc9)]);for(const _0x962b53 of _0x4d2551)_0x552455[_0x205b7f(0x91)](_0x962b53)[_0x205b7f(0x9f)]({'isFromAdapter':!0x0});for(const _0x79ee4f of _0x5c7f39){let _0x57a3bd=_0x552455[_0x205b7f(0x91)](_0x79ee4f[_0x205b7f(0xc9)]);const {commentThreadId:_0x565c68,context:_0x2b8dde,attributes:_0x36f0bf,resolvedBy:_0x381ab9,resolvedAt:_0xf9dab,unlinkedAt:_0x5784a5,deletedAt:_0x11d57e}=_0x79ee4f;if(_0x11d57e)continue;_0x57a3bd||(_0x57a3bd=_0x552455[_0x205b7f(0xa5)]({'channelId':_0x2c770b,'threadId':_0x565c68,'context':_0x2b8dde,'attributes':_0x36f0bf||{},'resolvedBy':_0x381ab9,'resolvedAt':_0xf9dab,'unlinkedAt':_0x5784a5,'isFromAdapter':!0x0}));const _0x314366=new Set(Array[_0x205b7f(0x84)](_0x57a3bd[_0x205b7f(0xae)],_0x148d0c=>_0x148d0c['id']));for(const _0x401f8b of _0x79ee4f[_0x205b7f(0xae)])_0x314366[_0x205b7f(0x9a)](_0x401f8b[_0x205b7f(0x8c)]);for(const _0x21fa18 of _0x314366)_0x57a3bd[_0x205b7f(0xb7)](_0x21fa18)[_0x205b7f(0x9f)]({'isFromAdapter':!0x0});for(const _0xed2334 of _0x79ee4f[_0x205b7f(0xae)]){const _0x39e790=_0x57a3bd[_0x205b7f(0xb7)](_0xed2334[_0x205b7f(0x8c)]);_0x39e790?_0x39e790[_0x205b7f(0x89)]!==_0xed2334[_0x205b7f(0x89)]&&_0x39e790[_0x205b7f(0x7d)]({'content':_0xed2334[_0x205b7f(0x89)],'isFromAdapter':!0x0}):_0x57a3bd[_0x205b7f(0x8e)](Object[_0x205b7f(0xb3)](b(_0xed2334),{'isFromAdapter':!0x0}));}}}[_0x157489(0xab)](_0x81fc85){const _0x13fc62=_0x157489;if(!this[_0x13fc62(0x7a)][_0x13fc62(0x81)](_0x81fc85))throw new _0x4bb878(_0x13fc62(0x73),null,{'channelId':_0x81fc85});return this[_0x13fc62(0x7a)][_0x13fc62(0xa4)](_0x81fc85);}async[_0x157489(0xa6)](_0x46ac27){const _0x4451ea=_0x157489,_0x3614a7=this[_0x4451ea(0x7e)][_0x4451ea(0x78)][_0x4451ea(0xa4)](_0x200940),{connection:_0x5b1015}=this[_0x4451ea(0x7e)][_0x4451ea(0x78)][_0x4451ea(0xa4)](_0x721b1a),_0x13b16c=new Set();for(const {resolvedBy:_0x345fba,comments:_0x2a613a}of _0x46ac27){_0x345fba&&!_0x3614a7[_0x4451ea(0x94)](_0x345fba)&&_0x13b16c[_0x4451ea(0xc8)](_0x345fba);for(const {userId:_0x20495c}of _0x2a613a)_0x3614a7[_0x4451ea(0x94)](_0x20495c)||_0x13b16c[_0x4451ea(0xc8)](_0x20495c);}if(0x0===_0x13b16c[_0x4451ea(0xc5)])return;const _0x4de734=await _0xd21ee4[_0x4451ea(0xbb)](_0x5b1015,Array[_0x4451ea(0x84)](_0x13b16c));for(const _0x32c1e0 of _0x4de734)_0x3614a7[_0x4451ea(0x94)](_0x32c1e0['id'])||_0x3614a7[_0x4451ea(0xb8)](_0x32c1e0);}}a[_0x157489(0xb2)]=_0x4502a9;function _0x1a33(){const _0x1c17ae=['_connectService','set','code','addToReconnectionStack','pluginName','adapter','commentThreadResolved','cloudservicescommentsadapter-service-not-exist','sessionAdd:','deletedAt','cloudservicescommentsadapter-disconnect-not-exist','startsWith','plugins','collaboration.channelId','_services','authorId','11345488TPFyWn','update','context','427pleOfw','commentRemoved','has','2MhiLRP','commentUpdated','from','resolveCommentThread','requires','commentThreadReopened','9LOAAGg','content','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentThreadAdded','commentId','commentThreadRemoved','addComment','unregister','CloudServicesCommentsAdapter','getCommentThread','cloud-services-internal-error:\x20Request\x20timeout.','createdAt','getUser','listenTo','cloud-services-internal-error:\x20Not\x20connected.','isPremiumPlugin','mySessionId','404','delete','7660lQCJCU','updateComment','removeComment','reopen','remove','_terminateService','updateCommentThread','destroy','isOfficialPlugin','get','addCommentThread','_fetchMissingUsersForThreads','attributes','catch','reconnect','map','_getService','init','config','comments','cloudservicescommentsadapter-connect-already-connected','5755810FmDpsE','74152gPXxCP','CommentsService','assign','reopenCommentThread','removeCommentThread','31433753BJRJrz','getComment','addUser','441619pbxOWH','12CQzEpc','getMany','message','Permissions','resolve','2610624doBtSg','keys','setPermissions','disconnect','4GHNDTQ','commentAdded','size','permissions','register','add','commentThreadId','getConnectedSessions','_setUpService','CommentsRepository','resolvedBy','connect','1878hebFdN','off','userId','commentThreadUpdated','resolvedAt','getCommentThreads'];_0x1a33=function(){return _0x1c17ae;};return _0x1a33();}export default a;async function y(_0x550b00){const _0x398fe6=_0x157489;if(_0x398fe6(0x99)!==_0x550b00[_0x398fe6(0x6e)])throw _0x550b00;}function w(_0x2507e5){const _0x3df0cc=_0x157489;if((_0x184636=_0x2507e5)[_0x3df0cc(0xbc)][_0x3df0cc(0x77)](_0x3df0cc(0x8a))||_0x184636[_0x3df0cc(0xbc)][_0x3df0cc(0x77)](_0x3df0cc(0x96))||_0x184636[_0x3df0cc(0xbc)][_0x3df0cc(0x77)](_0x3df0cc(0x92)))return new Promise(()=>{});var _0x184636;throw _0x2507e5;}function b(_0x466958){const _0x1bca4a=_0x157489;return{'threadId':_0x466958[_0x1bca4a(0xc9)],'commentId':_0x466958[_0x1bca4a(0x8c)],'content':_0x466958[_0x1bca4a(0x89)],'createdAt':_0x466958[_0x1bca4a(0x93)],'authorId':_0x466958[_0x1bca4a(0xd1)],'attributes':_0x466958[_0x1bca4a(0xa7)]||{}};}
|
|
23
|
+
const _0x5ea3d7=_0x13f5;(function(_0x1ce4ef,_0x81fb8e){const _0x37b0ce=_0x13f5,_0x43cfa6=_0x1ce4ef();while(!![]){try{const _0x30e38f=parseInt(_0x37b0ce(0x17e))/0x1*(parseInt(_0x37b0ce(0x199))/0x2)+parseInt(_0x37b0ce(0x183))/0x3*(parseInt(_0x37b0ce(0x1b5))/0x4)+-parseInt(_0x37b0ce(0x194))/0x5*(parseInt(_0x37b0ce(0x1a7))/0x6)+parseInt(_0x37b0ce(0x192))/0x7*(-parseInt(_0x37b0ce(0x16f))/0x8)+parseInt(_0x37b0ce(0x1c4))/0x9+-parseInt(_0x37b0ce(0x1a0))/0xa+parseInt(_0x37b0ce(0x19a))/0xb;if(_0x30e38f===_0x81fb8e)break;else _0x43cfa6['push'](_0x43cfa6['shift']());}catch(_0x460122){_0x43cfa6['push'](_0x43cfa6['shift']());}}}(_0x4e3b,0x4a5f5));import{Context as _0x17e243,ContextPlugin as _0x3df34a}from'ckeditor5/src/core.js';import{CKEditorError as _0x4aefae}from'ckeditor5/src/utils.js';import{Users as _0xbee079}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x44888a,User as _0x1159cb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x4e3b(){const _0x461b4b=['catch','context','commentAdded','cloudservicescommentsadapter-disconnect-not-exist','addToReconnectionStack','message','listenTo','316488VCJmrb','addComment','Permissions','createdAt','commentThreadRemoved','update','getConnectedSessions','removeComment','removeCommentThread','collaboration.channelId','add','connect','commentThreadUpdated','updateCommentThread','pluginName','3330855IMDnwG','cloud-services-internal-error:\x20Request\x20timeout.','reopen','permissions','addUser','commentId','updateComment','resolve','getComment','commentThreadResolved','cloudservicescommentsadapter-connect-already-connected','config','_terminateService','destroy','CommentsService','requires','cloud-services-internal-error:\x20Not\x20connected.','isPremiumPlugin','24knJZfA','remove','map','isOfficialPlugin','getCommentThread','cloudservicescommentsadapter-service-not-exist','unregister','_fetchMissingUsersForThreads','authorId','startsWith','plugins','userId','getCommentThreads','commentUpdated','_services','4999KjvbTG','off','commentThreadId','resolvedBy','register','3suroBU','_setUpService','CloudServicesCommentsAdapter','adapter','commentThreadReopened','addCommentThread','commentThreadAdded','getMany','assign','404','resolvedAt','deletedAt','_getService','code','sessionAdd:','744422pEMqEU','_connectService','291185DblTie','init','CommentsRepository','content','getUser','202qxzPzW','5587923PXYext','resolveCommentThread','set','keys','mySessionId','size','2560720fVchoi','attributes','commentRemoved','from','has','setPermissions','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','60TWjWdI','get','reopenCommentThread','reconnect','delete','comments','disconnect'];_0x4e3b=function(){return _0x461b4b;};return _0x4e3b();}import _0x55093f from'../realtimecollaborativeediting/websocketgateway.js';import _0xeff7ea from'../realtimecollaborativeediting/sessions.js';class a extends _0x3df34a{static get[_0x5ea3d7(0x1d3)](){const _0x3655d2=_0x5ea3d7;return[_0x55093f,_0x3655d2(0x196),_0xeff7ea,_0xbee079];}static get[_0x5ea3d7(0x1c3)](){const _0x5a8018=_0x5ea3d7;return _0x5a8018(0x185);}static get[_0x5ea3d7(0x172)](){return!0x0;}static get[_0x5ea3d7(0x1d5)](){return!0x0;}constructor(_0x13a34b){const _0x2dd50c=_0x5ea3d7;super(_0x13a34b),this[_0x2dd50c(0x17d)]=new Map();}async[_0x5ea3d7(0x195)](){const _0x507fe5=_0x5ea3d7,_0x49a6db=this[_0x507fe5(0x1af)],_0x999c1b=_0x49a6db[_0x507fe5(0x179)][_0x507fe5(0x1a8)](_0x507fe5(0x196));if(_0x49a6db[_0x507fe5(0x179)][_0x507fe5(0x1a8)](_0x55093f)[_0x507fe5(0x1b2)](this),_0x999c1b[_0x507fe5(0x186)]={'addCommentThread':async({channelId:_0xdc1e39,threadId:_0x87fe7f,comments:_0x315c2d,resolvedAt:_0x3124c9,resolvedBy:_0x5aef39,context:_0x41f547,attributes:_0x3f0622})=>{const _0x443b03=_0x507fe5,_0x2a3516=await this[_0x443b03(0x18f)](_0xdc1e39)[_0x443b03(0x188)]({'commentThreadId':_0x87fe7f,'comments':_0x315c2d[_0x443b03(0x171)](_0x3b7ac1=>function(_0x28f632,_0x2d18e6,_0x57f91d){const _0x30a9bd=_0x443b03;return{'commentThreadId':_0x57f91d,'commentId':_0x28f632[_0x30a9bd(0x1c9)],'userId':_0x28f632[_0x30a9bd(0x177)],'content':_0x28f632[_0x30a9bd(0x197)],'documentId':_0x2d18e6,'createdAt':_0x28f632[_0x30a9bd(0x1b8)],'attributes':_0x28f632[_0x30a9bd(0x1a1)]||{}};}(_0x3b7ac1,_0xdc1e39,_0x87fe7f)),'resolvedAt':_0x3124c9,'resolvedBy':_0x5aef39,'context':_0x41f547,'attributes':_0x3f0622})[_0x443b03(0x1ae)](R);return{'threadId':_0x2a3516[_0x443b03(0x180)],'comments':_0x2a3516[_0x443b03(0x1ac)]};},'getCommentThread':async({channelId:_0x27d196,threadId:_0x15b8ae})=>{const _0x7a2c46=_0x507fe5,_0x397f43=await this[_0x7a2c46(0x18f)](_0x27d196)[_0x7a2c46(0x173)](_0x15b8ae)[_0x7a2c46(0x1ae)](R);return _0x397f43[_0x7a2c46(0x18e)]?null:(await this[_0x7a2c46(0x176)]([_0x397f43]),{'threadId':_0x397f43[_0x7a2c46(0x180)],'comments':_0x397f43[_0x7a2c46(0x1ac)][_0x7a2c46(0x171)](S),'context':_0x397f43[_0x7a2c46(0x1af)],'resolvedAt':_0x397f43[_0x7a2c46(0x18d)],'resolvedBy':_0x397f43[_0x7a2c46(0x181)],'attributes':_0x397f43[_0x7a2c46(0x1a1)]||{}});},'updateCommentThread':async({channelId:_0x21e8f7,threadId:_0x1189c3,context:_0x2f93e8,unlinkedAt:_0x32c85a,attributes:_0x230e0f})=>this[_0x507fe5(0x18f)](_0x21e8f7)[_0x507fe5(0x1c2)]({'commentThreadId':_0x1189c3,'context':_0x2f93e8,'attributes':_0x230e0f,'unlinkedAt':_0x32c85a})[_0x507fe5(0x1ae)](B)[_0x507fe5(0x1ae)](R),'resolveCommentThread':async({channelId:_0x68f3cc,threadId:_0x4b1e5c})=>{const _0x19d3be=_0x507fe5,_0x4883f1=await this[_0x19d3be(0x18f)](_0x68f3cc)[_0x19d3be(0x19b)](_0x4b1e5c)[_0x19d3be(0x1ae)](B)[_0x19d3be(0x1ae)](R);return{'threadId':_0x4883f1[_0x19d3be(0x180)],'resolvedAt':_0x4883f1[_0x19d3be(0x18d)],'resolvedBy':_0x4883f1[_0x19d3be(0x181)]};},'reopenCommentThread':async({channelId:_0x27ead6,threadId:_0x2561a9})=>this[_0x507fe5(0x18f)](_0x27ead6)[_0x507fe5(0x1a9)](_0x2561a9)[_0x507fe5(0x1ae)](B)[_0x507fe5(0x1ae)](R),'removeCommentThread':({channelId:_0xe81278,threadId:_0x51d1e2})=>this[_0x507fe5(0x18f)](_0xe81278)[_0x507fe5(0x1bd)](_0x51d1e2)[_0x507fe5(0x1ae)](B)[_0x507fe5(0x1ae)](R),'addComment':({channelId:_0x58900f,threadId:_0x39e35b,commentId:_0x5dab98,content:_0x403a55,attributes:_0x1e6598})=>this[_0x507fe5(0x18f)](_0x58900f)[_0x507fe5(0x1b6)](_0x39e35b,_0x5dab98,_0x403a55,_0x1e6598)[_0x507fe5(0x1ae)](R),'updateComment':({channelId:_0x365d02,threadId:_0x101503,commentId:_0x5d7dd0,content:_0x399216,attributes:_0x53821c})=>this[_0x507fe5(0x18f)](_0x365d02)[_0x507fe5(0x1ca)](_0x101503,_0x5d7dd0,_0x399216,_0x53821c)[_0x507fe5(0x1ae)](B)[_0x507fe5(0x1ae)](R),'removeComment':({channelId:_0x46e45d,threadId:_0x4331a0,commentId:_0x1a2dad})=>this[_0x507fe5(0x18f)](_0x46e45d)[_0x507fe5(0x1bc)](_0x4331a0,_0x1a2dad)[_0x507fe5(0x1ae)](B)[_0x507fe5(0x1ae)](R)},_0x49a6db instanceof _0x17e243){const _0x27c383=_0x49a6db[_0x507fe5(0x1cf)][_0x507fe5(0x1a8)](_0x507fe5(0x1be)),_0x51b1f7=_0x49a6db[_0x507fe5(0x179)][_0x507fe5(0x1a8)](_0xeff7ea);await this[_0x507fe5(0x184)](_0x27c383);const _0x5cac1e=await this[_0x507fe5(0x17d)][_0x507fe5(0x1a8)](_0x27c383)[_0x507fe5(0x1bb)]();this[_0x507fe5(0x1b4)](_0x51b1f7,_0x507fe5(0x191)+_0x27c383,(_0x112e0b,{session:_0x4d3d6e})=>{const _0x376fc6=_0x507fe5;_0x4d3d6e['id']===_0x51b1f7[_0x376fc6(0x19e)]&&(_0x112e0b[_0x376fc6(0x17f)](),this[_0x376fc6(0x1af)][_0x376fc6(0x179)][_0x376fc6(0x1a8)](_0x376fc6(0x1b7))[_0x376fc6(0x1a5)](_0x4d3d6e[_0x376fc6(0x1c7)],_0x27c383));}),_0x51b1f7[_0x507fe5(0x182)](_0x27c383,_0x5cac1e);}}async[_0x5ea3d7(0x184)](_0x464fc7){const _0x1b09e6=_0x5ea3d7;if(this[_0x1b09e6(0x17d)][_0x1b09e6(0x1a4)](_0x464fc7))throw new _0x4aefae(_0x1b09e6(0x1ce),null,{'channelId':_0x464fc7});const _0x390944=this[_0x1b09e6(0x1af)][_0x1b09e6(0x179)][_0x1b09e6(0x1a8)](_0x1b09e6(0x196)),_0x586933=new a[(_0x1b09e6(0x1d2))](_0x464fc7);this[_0x1b09e6(0x17d)][_0x1b09e6(0x19c)](_0x464fc7,_0x586933),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x189),(_0x43233c,_0x1dca28)=>{const _0x2526ca=_0x1b09e6,{commentThreadId:_0x1a91cf,documentId:_0x36e84a,context:_0x4f15be,attributes:_0x1b454c,resolvedAt:_0x1d72c8,resolvedBy:_0x491a9f,comments:_0x26c153}=_0x1dca28;_0x390944[_0x2526ca(0x173)](_0x1a91cf)||_0x390944[_0x2526ca(0x188)]({'threadId':_0x1a91cf,'channelId':_0x36e84a,'comments':_0x26c153?_0x26c153[_0x2526ca(0x171)](S):[],'context':_0x4f15be,'attributes':_0x1b454c,'resolvedAt':_0x1d72c8,'resolvedBy':_0x491a9f,'isFromAdapter':!0x0});}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x1c1),(_0x1b77fe,{commentThreadId:_0x506b67,documentId:_0x4b8460,context:_0x45381c,unlinkedAt:_0x4a8fd5,attributes:_0x404c1b})=>{const _0x456e24=_0x1b09e6;_0x390944[_0x456e24(0x173)](_0x506b67)&&_0x390944[_0x456e24(0x1c2)]({'threadId':_0x506b67,'channelId':_0x4b8460,'context':_0x45381c,'unlinkedAt':_0x4a8fd5,'attributes':_0x404c1b,'isFromAdapter':!0x0});}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x1cd),(_0x3e4bfa,{commentThreadId:_0x1fa031,resolvedBy:_0x515161,resolvedAt:_0x49b39e})=>{const _0x304795=_0x1b09e6,_0x51bce7=_0x390944[_0x304795(0x173)](_0x1fa031);_0x51bce7&&_0x51bce7[_0x304795(0x1cb)]({'resolvedBy':_0x515161,'resolvedAt':_0x49b39e,'isFromAdapter':!0x0});}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x187),(_0x1c7b17,{commentThreadId:_0x215f2d})=>{const _0x247a5a=_0x1b09e6,_0xa90cac=_0x390944[_0x247a5a(0x173)](_0x215f2d);_0xa90cac&&_0xa90cac[_0x247a5a(0x1c6)]({'isFromAdapter':!0x0});}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x1b9),(_0x97af36,{commentThreadId:_0x5b7f09})=>{const _0x496875=_0x1b09e6,_0x4e5181=_0x390944[_0x496875(0x173)](_0x5b7f09);_0x4e5181&&_0x4e5181[_0x496875(0x170)]({'isFromAdapter':!0x0});}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x1b0),(_0x1a94d5,_0x323204)=>{const _0x4d03b2=_0x1b09e6,_0x47e9de=_0x323204[_0x4d03b2(0x180)],_0x4c8492=_0x390944[_0x4d03b2(0x173)](_0x47e9de);_0x4c8492&&_0x4c8492[_0x4d03b2(0x1b6)]({...S(_0x323204),'isFromAdapter':!0x0});}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x17c),(_0x38368c,{commentThreadId:_0x16ce0e,commentId:_0x5667aa,content:_0x4df751,attributes:_0x4c594d})=>{const _0x530d05=_0x1b09e6,_0xabf4bc=_0x390944[_0x530d05(0x173)](_0x16ce0e);if(_0xabf4bc){const _0x13b2b6=_0xabf4bc[_0x530d05(0x1cc)](_0x5667aa);_0x13b2b6&&_0x13b2b6[_0x530d05(0x1ba)]({'content':_0x4df751,'attributes':_0x4c594d,'isFromAdapter':!0x0});}}),this[_0x1b09e6(0x1b4)](_0x586933,_0x1b09e6(0x1a2),(_0x405ab1,{commentThreadId:_0x45d4a9,commentId:_0x26725e})=>{const _0x54d44a=_0x1b09e6,_0x38b53f=_0x390944[_0x54d44a(0x173)](_0x45d4a9);if(_0x38b53f){const _0x208f65=_0x38b53f[_0x54d44a(0x1cc)](_0x26725e);_0x208f65&&_0x208f65[_0x54d44a(0x170)]({'isFromAdapter':!0x0});}}),await this[_0x1b09e6(0x193)](_0x464fc7);}[_0x5ea3d7(0x1d1)](){const _0x1940e1=_0x5ea3d7;if(this[_0x1940e1(0x1af)]instanceof _0x17e243){const _0x1fa30f=this[_0x1940e1(0x1af)][_0x1940e1(0x1cf)][_0x1940e1(0x1a8)](_0x1940e1(0x1be));this[_0x1940e1(0x1d0)](_0x1fa30f);}}[_0x5ea3d7(0x1d0)](_0x209969){const _0x4caa37=_0x5ea3d7;if(!this[_0x4caa37(0x17d)][_0x4caa37(0x1a4)](_0x209969))throw new _0x4aefae(_0x4caa37(0x1b1),null,{'channelId':_0x209969});this[_0x4caa37(0x18f)](_0x209969)[_0x4caa37(0x1ad)](),this[_0x4caa37(0x17d)][_0x4caa37(0x1ab)](_0x209969);}async[_0x5ea3d7(0x1aa)](){const _0x5c4ec5=_0x5ea3d7;for(const _0x5d35f2 of this[_0x5c4ec5(0x17d)][_0x5c4ec5(0x19d)]())await this[_0x5c4ec5(0x193)](_0x5d35f2);if(this[_0x5c4ec5(0x1af)]instanceof _0x17e243){const _0x45a5c0=this[_0x5c4ec5(0x1af)][_0x5c4ec5(0x1cf)][_0x5c4ec5(0x1a8)](_0x5c4ec5(0x1be)),_0x49aae0=this[_0x5c4ec5(0x1af)][_0x5c4ec5(0x179)][_0x5c4ec5(0x1a8)](_0xeff7ea);_0x49aae0[_0x5c4ec5(0x175)](_0x45a5c0);const _0x232734=await this[_0x5c4ec5(0x17d)][_0x5c4ec5(0x1a8)](_0x45a5c0)[_0x5c4ec5(0x1bb)]();_0x49aae0[_0x5c4ec5(0x182)](_0x45a5c0,_0x232734);}}async[_0x5ea3d7(0x193)](_0x3a88c1){const _0x78942d=_0x5ea3d7,{connection:_0x3b86c0}=this[_0x78942d(0x1af)][_0x78942d(0x179)][_0x78942d(0x1a8)](_0x55093f),_0x3f750d=this[_0x78942d(0x1af)][_0x78942d(0x179)][_0x78942d(0x1a8)](_0x78942d(0x196)),_0x54e460=this[_0x78942d(0x17d)][_0x78942d(0x1a8)](_0x3a88c1),_0x34c303=await _0x54e460[_0x78942d(0x1c0)](_0x3b86c0);await this[_0x78942d(0x176)](_0x34c303);const _0x899120=new Set(Array[_0x78942d(0x1a3)](_0x3f750d[_0x78942d(0x17b)]({'channelId':_0x3a88c1}),_0x239027=>_0x239027['id']));for(const _0x253773 of _0x34c303)_0x253773[_0x78942d(0x18e)]||_0x899120[_0x78942d(0x1ab)](_0x253773[_0x78942d(0x180)]);for(const _0x3b1539 of _0x899120)_0x3f750d[_0x78942d(0x173)](_0x3b1539)[_0x78942d(0x170)]({'isFromAdapter':!0x0});for(const _0x461526 of _0x34c303){let _0x1f9518=_0x3f750d[_0x78942d(0x173)](_0x461526[_0x78942d(0x180)]);const {commentThreadId:_0x59ab8e,context:_0x1b0384,attributes:_0x229dbe,resolvedBy:_0x5aed49,resolvedAt:_0x30d8af,unlinkedAt:_0x30ee9e,deletedAt:_0x7e4c31}=_0x461526;if(_0x7e4c31)continue;_0x1f9518||(_0x1f9518=_0x3f750d[_0x78942d(0x188)]({'channelId':_0x3a88c1,'threadId':_0x59ab8e,'context':_0x1b0384,'attributes':_0x229dbe||{},'resolvedBy':_0x5aed49,'resolvedAt':_0x30d8af,'unlinkedAt':_0x30ee9e,'isFromAdapter':!0x0}));const _0x417d61=new Set(Array[_0x78942d(0x1a3)](_0x1f9518[_0x78942d(0x1ac)],_0x23d51f=>_0x23d51f['id']));for(const _0x4b733d of _0x461526[_0x78942d(0x1ac)])_0x417d61[_0x78942d(0x1ab)](_0x4b733d[_0x78942d(0x1c9)]);for(const _0x57b955 of _0x417d61)_0x1f9518[_0x78942d(0x1cc)](_0x57b955)[_0x78942d(0x170)]({'isFromAdapter':!0x0});for(const _0x25b446 of _0x461526[_0x78942d(0x1ac)]){const _0x1fc9ed=_0x1f9518[_0x78942d(0x1cc)](_0x25b446[_0x78942d(0x1c9)]);_0x1fc9ed?_0x1fc9ed[_0x78942d(0x197)]!==_0x25b446[_0x78942d(0x197)]&&_0x1fc9ed[_0x78942d(0x1ba)]({'content':_0x25b446[_0x78942d(0x197)],'isFromAdapter':!0x0}):_0x1f9518[_0x78942d(0x1b6)](Object[_0x78942d(0x18b)](S(_0x25b446),{'isFromAdapter':!0x0}));}}}[_0x5ea3d7(0x18f)](_0x550139){const _0x1dfc47=_0x5ea3d7;if(!this[_0x1dfc47(0x17d)][_0x1dfc47(0x1a4)](_0x550139))throw new _0x4aefae(_0x1dfc47(0x174),null,{'channelId':_0x550139});return this[_0x1dfc47(0x17d)][_0x1dfc47(0x1a8)](_0x550139);}async[_0x5ea3d7(0x176)](_0x38bf08){const _0x4050dd=_0x5ea3d7,_0x2c127c=this[_0x4050dd(0x1af)][_0x4050dd(0x179)][_0x4050dd(0x1a8)](_0xbee079),{connection:_0x373e6c}=this[_0x4050dd(0x1af)][_0x4050dd(0x179)][_0x4050dd(0x1a8)](_0x55093f),_0x16ffee=new Set();for(const {resolvedBy:_0x5063a7,comments:_0x57e0ba}of _0x38bf08){_0x5063a7&&!_0x2c127c[_0x4050dd(0x198)](_0x5063a7)&&_0x16ffee[_0x4050dd(0x1bf)](_0x5063a7);for(const {userId:_0x38c854}of _0x57e0ba)_0x2c127c[_0x4050dd(0x198)](_0x38c854)||_0x16ffee[_0x4050dd(0x1bf)](_0x38c854);}if(0x0===_0x16ffee[_0x4050dd(0x19f)])return;const _0x3c8cd5=await _0x1159cb[_0x4050dd(0x18a)](_0x373e6c,Array[_0x4050dd(0x1a3)](_0x16ffee));for(const _0x50287d of _0x3c8cd5)_0x2c127c[_0x4050dd(0x198)](_0x50287d['id'])||_0x2c127c[_0x4050dd(0x1c8)](_0x50287d);}}a[_0x5ea3d7(0x1d2)]=_0x44888a;function _0x13f5(_0x2db69d,_0x753d84){const _0x4e3b1e=_0x4e3b();return _0x13f5=function(_0x13f53d,_0x8ac5c5){_0x13f53d=_0x13f53d-0x16f;let _0x49bc73=_0x4e3b1e[_0x13f53d];return _0x49bc73;},_0x13f5(_0x2db69d,_0x753d84);}export default a;async function B(_0x17b7c5){const _0x2f398d=_0x5ea3d7;if(_0x2f398d(0x18c)!==_0x17b7c5[_0x2f398d(0x190)])throw _0x17b7c5;}function R(_0x1fc46f){const _0x1fe2ec=_0x5ea3d7;if((_0x4cef9e=_0x1fc46f)[_0x1fe2ec(0x1b3)][_0x1fe2ec(0x178)](_0x1fe2ec(0x1a6))||_0x4cef9e[_0x1fe2ec(0x1b3)][_0x1fe2ec(0x178)](_0x1fe2ec(0x1d4))||_0x4cef9e[_0x1fe2ec(0x1b3)][_0x1fe2ec(0x178)](_0x1fe2ec(0x1c5)))return new Promise(()=>{});var _0x4cef9e;throw _0x1fc46f;}function S(_0x2836a1){const _0xa99976=_0x5ea3d7;return{'threadId':_0x2836a1[_0xa99976(0x180)],'commentId':_0x2836a1[_0xa99976(0x1c9)],'content':_0x2836a1[_0xa99976(0x197)],'createdAt':_0x2836a1[_0xa99976(0x1b8)],'authorId':_0x2836a1[_0xa99976(0x17a)],'attributes':_0x2836a1[_0xa99976(0x1a1)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x32c658=_0x26fd;(function(_0x596f60,_0x26d4e8){const _0x2439e7=_0x26fd,_0x2abde8=_0x596f60();while(!![]){try{const _0x3d874e=parseInt(_0x2439e7(0x1b4))/0x1*(-parseInt(_0x2439e7(0xe7))/0x2)+-parseInt(_0x2439e7(0x155))/0x3+parseInt(_0x2439e7(0xc8))/0x4*(-parseInt(_0x2439e7(0x143))/0x5)+parseInt(_0x2439e7(0xd2))/0x6*(-parseInt(_0x2439e7(0x112))/0x7)+parseInt(_0x2439e7(0x10c))/0x8*(-parseInt(_0x2439e7(0x14c))/0x9)+-parseInt(_0x2439e7(0x117))/0xa+-parseInt(_0x2439e7(0xc5))/0xb*(-parseInt(_0x2439e7(0x1b3))/0xc);if(_0x3d874e===_0x26d4e8)break;else _0x2abde8['push'](_0x2abde8['shift']());}catch(_0x262797){_0x2abde8['push'](_0x2abde8['shift']());}}}(_0x36ed,0x6f0e5));import{Plugin as _0x119b5f,PendingActions as _0x19f290}from'ckeditor5/src/core.js';import{CKEditorError as _0xb522b5,version as _0x113c89,uid as _0x4ca5da}from'ckeditor5/src/utils.js';import{Notification as _0x4934f5}from'ckeditor5/src/ui.js';import{transformSets as _0x2d6a3c,NoOperation as _0x2f4649,InsertOperation as _0x2817d8,MarkerOperation as _0x307164,RootAttributeOperation as _0x592043,OperationFactory as _0x26f46a,History as _0x1ac4f2}from'ckeditor5/src/engine.js';import _0x4128c4 from'./websocketgateway.js';import _0x5886e0 from'./sessions.js';import _0x40141b from'./usermarkers.js';import{getTranslation as _0x2d7f16}from'../common-translations.js';import{Compressor as _0x149fba}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x433f22}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x1af6df,CollaborativeEditingService as _0x5023cb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x119b5f{static get[_0x32c658(0x152)](){return[_0x4128c4,_0x5886e0,_0x40141b,_0x19f290,_0x433f22,_0x4934f5];}static get[_0x32c658(0xef)](){const _0x5c9609=_0x32c658;return _0x5c9609(0x1a3);}static get[_0x32c658(0x129)](){return!0x0;}static get[_0x32c658(0x133)](){return!0x0;}get[_0x32c658(0x1b7)](){const _0x1ff4e2=_0x32c658;return this[_0x1ff4e2(0x184)]+this[_0x1ff4e2(0x14f)];}get[_0x32c658(0x184)](){const _0x39c021=_0x32c658;return this[_0x39c021(0xe1)][_0x39c021(0x179)]-this[_0x39c021(0x14f)];}get[_0x32c658(0x187)](){const _0x170ce9=_0x32c658,_0x5b5035=this[_0x170ce9(0xe1)][_0x170ce9(0x195)]();for(let _0x152daf=_0x5b5035[_0x170ce9(0x138)]-0x1;_0x152daf>=0x0;_0x152daf--){const _0x4de55d=_0x5b5035[_0x152daf];if(!this[_0x170ce9(0x196)][_0x170ce9(0x150)](_0x4de55d))return _0x4de55d[_0x170ce9(0xcb)]+0x1-this[_0x170ce9(0x14f)];}return 0x0;}constructor(_0x3b6c8f){const _0x2b41ef=_0x32c658;if(super(_0x3b6c8f),this[_0x2b41ef(0x14f)]=0x0,this[_0x2b41ef(0x145)]=null,this[_0x2b41ef(0xe1)]=new _0x1ac4f2(),this[_0x2b41ef(0x1b6)][_0x2b41ef(0x147)][_0x2b41ef(0x17c)](_0x2b41ef(0xcf),{}),this[_0x2b41ef(0x118)]=this[_0x2b41ef(0x1b6)][_0x2b41ef(0x147)][_0x2b41ef(0x1ba)](_0x2b41ef(0x1a0)),!this[_0x2b41ef(0x118)])throw new _0xb522b5(_0x2b41ef(0x14b),this);const _0x451e59=_0x3b6c8f[_0x2b41ef(0x147)][_0x2b41ef(0x1ba)](_0x2b41ef(0x19d))||_0x113c89;this[_0x2b41ef(0x100)]=new l[(_0x2b41ef(0x10e))](_0x451e59,this[_0x2b41ef(0x118)]),this[_0x2b41ef(0x11c)]=this[_0x2b41ef(0x1b6)][_0x2b41ef(0x1bb)][_0x2b41ef(0x111)],this[_0x2b41ef(0x176)]=new _0x149fba(),this[_0x2b41ef(0x14a)]=[],this[_0x2b41ef(0xce)]=new WeakSet(),this[_0x2b41ef(0xff)]=new Set(),this[_0x2b41ef(0x169)](_0x2b41ef(0x1ad),!0x1),this[_0x2b41ef(0x169)](_0x2b41ef(0x127),!0x1),this[_0x2b41ef(0xed)]=null,this[_0x2b41ef(0x10d)]=!0x1,this[_0x2b41ef(0x1ab)]=null,this[_0x2b41ef(0x13c)]=0x12c,this[_0x2b41ef(0xc4)]=this[_0x2b41ef(0x13c)],this[_0x2b41ef(0xd3)]=null,this[_0x2b41ef(0x196)]=new WeakSet(),this[_0x2b41ef(0x17b)]=new X(this[_0x2b41ef(0x196)]);}[_0x32c658(0x116)](){const _0x23a032=_0x32c658,_0x243d22=this[_0x23a032(0x1b6)],_0x30174a=_0x243d22[_0x23a032(0x1be)][_0x23a032(0x1ba)](_0x433f22),_0xa052ea=_0x243d22[_0x23a032(0x1be)][_0x23a032(0x1ba)](_0x4128c4);this[_0x23a032(0x165)](_0x30174a,_0x23a032(0x12c),(_0x4962ef,_0x542fda)=>{const _0x49ae25=_0x23a032,_0x174119=_0x542fda[0x0];_0x174119[_0x49ae25(0x193)]&&(_0x4962ef[_0x49ae25(0x15b)]=_0x30174a[_0x49ae25(0x1c0)](_0x174119[_0x49ae25(0x193)]),_0x4962ef[_0x49ae25(0x181)]()),null===_0x174119[_0x49ae25(0x193)]&&(_0x4962ef[_0x49ae25(0x15b)]=null,_0x4962ef[_0x49ae25(0x181)]());},{'priority':_0x23a032(0x189)}),this[_0x23a032(0x165)](_0x243d22[_0x23a032(0x1bb)][_0x23a032(0x111)][_0x23a032(0xf0)],_0x23a032(0x12a),(_0xd7a3aa,_0x19e97c)=>{const _0x4f8fc7=_0x23a032;_0x19e97c[_0x4f8fc7(0x13d)]&&this[_0x4f8fc7(0x157)]();}),this[_0x23a032(0x165)](_0x243d22[_0x23a032(0x1af)][_0x23a032(0x16f)],_0x23a032(0xc7),()=>{const _0x3f1404=_0x23a032;this[_0x3f1404(0x157)]();}),this[_0x23a032(0xd4)](),_0x243d22[_0x23a032(0x1bb)]['on'](_0x23a032(0xf3),(_0x207deb,_0x45dda9)=>{const _0x56d5de=_0x23a032,_0x149136=_0x45dda9[0x0];_0x149136[_0x56d5de(0x180)]&&(this[_0x56d5de(0x173)](_0x149136),this[_0x56d5de(0x1b5)]()&&this[_0x56d5de(0x151)]());}),this[_0x23a032(0x107)](),this[_0x23a032(0x128)](_0x23a032(0x17a))['to'](_0xa052ea,_0x23a032(0x16d),this,_0x23a032(0x127),(_0x3af92c,_0x4fe60a)=>_0x23a032(0x19a)===_0x3af92c&&!_0x4fe60a),this['on'](_0x23a032(0xcc),()=>{const _0x151e37=_0x23a032;this[_0x151e37(0x17a)]?_0x243d22[_0x151e37(0x16c)](_0x151e37(0xfe)):_0x243d22[_0x151e37(0x144)](_0x151e37(0xfe));}),this[_0x23a032(0x17a)]?_0x243d22[_0x23a032(0x16c)](_0x23a032(0xfe)):_0x243d22[_0x23a032(0x144)](_0x23a032(0xfe)),this[_0x23a032(0x169)](_0x23a032(0xe3),!0x1);}async[_0x32c658(0xdb)](){const _0x2e6791=_0x32c658,_0x3f953c=this[_0x2e6791(0x1b6)][_0x2e6791(0x1be)][_0x2e6791(0x1ba)](_0x5886e0),_0x3bd197=this[_0x2e6791(0x1b6)][_0x2e6791(0x1be)][_0x2e6791(0x1ba)](_0x4128c4);try{this[_0x2e6791(0x1ad)]=!0x0,_0x3f953c[_0x2e6791(0x1a9)](this[_0x2e6791(0x118)]);const _0xb8a50b=await this[_0x2e6791(0x100)][_0x2e6791(0xdb)](_0x3bd197[_0x2e6791(0x19b)],this[_0x2e6791(0x187)]);await this[_0x2e6791(0x190)](_0xb8a50b)&&(this[_0x2e6791(0x1ad)]=!0x1,this[_0x2e6791(0x12e)]());const _0xbd0441=await this[_0x2e6791(0x100)][_0x2e6791(0x11f)]();_0x3f953c[_0x2e6791(0x1c2)](this[_0x2e6791(0x118)],_0xbd0441),this[_0x2e6791(0x125)](),this[_0x2e6791(0xe3)]=!0x0;}catch(_0x4be736){if(function(_0x59ce5c){const _0x3c88dd=_0x2e6791;return _0x3c88dd(0xd5)===_0x59ce5c[_0x3c88dd(0xd6)];}(_0x4be736)&&this[_0x2e6791(0x145)])await this[_0x2e6791(0xea)]();else{if(function(_0x209ddd){const _0x5ef073=_0x2e6791;return _0x5ef073(0x13a)===_0x209ddd[_0x5ef073(0xd6)];}(_0x4be736)){const _0x4a6e97=_0x2d7f16(this[_0x2e6791(0x1b6)][_0x2e6791(0x1b0)],_0x2e6791(0x106));this[_0x2e6791(0x122)](_0x4a6e97);}else{if(!(_0x4be736 instanceof J))throw _0x4be736;this[_0x2e6791(0x122)]();}}}}[_0x32c658(0xbc)](){const _0x4f4800=_0x32c658,_0x35e235=this[_0x4f4800(0x1b6)][_0x4f4800(0x1be)][_0x4f4800(0x1ba)](_0x4128c4),_0x3173cb=this[_0x4f4800(0x1b6)][_0x4f4800(0x1be)][_0x4f4800(0x1ba)](_0x5886e0);this[_0x4f4800(0x1b6)][_0x4f4800(0x144)](_0x4f4800(0x14d)),_0x3173cb[_0x4f4800(0xd1)][_0x4f4800(0x150)](this[_0x4f4800(0x118)])&&_0x3173cb[_0x4f4800(0x1a9)](this[_0x4f4800(0x118)]),_0x35e235[_0x4f4800(0x19c)](this),this[_0x4f4800(0xc1)](),super[_0x4f4800(0xbc)]();}async[_0x32c658(0x190)](_0x1edfae){const _0x20f2eb=_0x32c658;if(this[_0x20f2eb(0x145)]!==_0x1edfae[_0x20f2eb(0x145)]&&this[_0x20f2eb(0xd3)]!==_0x1edfae[_0x20f2eb(0x148)])throw new J();return this[_0x20f2eb(0x145)]=_0x1edfae[_0x20f2eb(0x145)],this[_0x20f2eb(0x18c)]([],{..._0x1edfae,'wereChangesApplied':!0x1,'data':_0x1edfae[_0x20f2eb(0x17e)]},_0x20f2eb(0xdb));}async[_0x32c658(0xd8)](_0x2fe915,_0xd6990a=!0x1){const _0x3edf93=_0x32c658,{connection:_0x1a8fee}=this[_0x3edf93(0x1b6)][_0x3edf93(0x1be)][_0x3edf93(0x1ba)](_0x4128c4);l[_0x3edf93(0x10e)][_0x3edf93(0x11f)](_0x1a8fee,this[_0x3edf93(0x118)])[_0x3edf93(0x192)](_0x44ed82=>this[_0x3edf93(0x1b1)](_0x44ed82))[_0x3edf93(0x16e)](_0x1f83aa=>{const _0x2c7203=_0x3edf93;this[_0x2c7203(0x158)](_0x2c7203(0x18e),_0x1f83aa);}),this[_0x3edf93(0x165)](this[_0x3edf93(0x100)],_0x3edf93(0x115),this[_0x3edf93(0x154)][_0x3edf93(0x128)](this)),this[_0x3edf93(0x165)](this[_0x3edf93(0x100)],_0x3edf93(0x136),(_0x3ef38e,_0x304c62)=>{const _0x27e72f=_0x3edf93;this[_0x27e72f(0x158)](_0x27e72f(0x10f),_0x304c62);}),this[_0x3edf93(0x165)](this[_0x3edf93(0x100)],_0x3edf93(0x142),()=>{const _0xc39615=_0x3edf93;this[_0xc39615(0xe3)]=!0x1;});const _0x4f99da=this[_0x3edf93(0x17b)][_0x3edf93(0x183)](_0x2fe915);this[_0x3edf93(0x1ad)]=!0x0;const _0xe05e75=await this[_0x3edf93(0x100)][_0x3edf93(0xfc)](_0x1a8fee,this[_0x3edf93(0xdf)](_0x2fe915),_0x4f99da);if(this[_0x3edf93(0x145)]=_0xe05e75[_0x3edf93(0x145)],_0xd6990a){if(!_0xe05e75[_0x3edf93(0x15d)])return void this[_0x3edf93(0x122)]();this[_0x3edf93(0x1ad)]=!0x1,this[_0x3edf93(0x12e)](),this[_0x3edf93(0xe1)][_0x3edf93(0x131)](),this[_0x3edf93(0x14f)]=_0xe05e75[_0x3edf93(0x11a)],this[_0x3edf93(0xe1)][_0x3edf93(0x179)]=this[_0x3edf93(0x14f)],await this[_0x3edf93(0x18c)](_0x2fe915,_0xe05e75,_0x3edf93(0x139));}else await this[_0x3edf93(0x1a4)](_0xe05e75,_0x2fe915);this[_0x3edf93(0x125)](),this[_0x3edf93(0xe3)]=!0x0;}[_0x32c658(0x125)](){const _0xbcd3b2=_0x32c658,_0x266b6f=this[_0xbcd3b2(0x1b6)][_0xbcd3b2(0x1be)][_0xbcd3b2(0x1ba)](_0x5886e0),_0x535ef5=this[_0xbcd3b2(0x1b6)][_0xbcd3b2(0x1be)][_0xbcd3b2(0x1ba)](_0x40141b),_0x29e69b=_0x266b6f[_0xbcd3b2(0xd1)][_0xbcd3b2(0x1ba)](this[_0xbcd3b2(0x118)]);_0x29e69b&&_0x29e69b[_0xbcd3b2(0x138)]>0x1?_0x535ef5[_0xbcd3b2(0x175)]():this[_0xbcd3b2(0x165)](_0x266b6f,_0xbcd3b2(0xbe)+this[_0xbcd3b2(0x118)],()=>{const _0x5de513=_0xbcd3b2;0x2===_0x266b6f[_0x5de513(0xd1)][_0x5de513(0x1ba)](this[_0x5de513(0x118)])[_0x5de513(0x138)]&&_0x535ef5[_0x5de513(0x175)]();});}async[_0x32c658(0x154)](_0x533b6a,_0x2f25b8,_0x4d3aa3,_0x570f7c){const _0xc96d7b=_0x32c658;if(!this[_0xc96d7b(0x1ad)]&&this[_0xc96d7b(0x11c)][_0xc96d7b(0x179)]==_0x2f25b8){const _0x5e57dc=this[_0xc96d7b(0x149)](_0x4d3aa3,_0x570f7c);await this[_0xc96d7b(0x199)](_0x5e57dc),this[_0xc96d7b(0x194)](_0x5e57dc,_0x2f25b8,_0x4d3aa3[_0xc96d7b(0x148)])||this[_0xc96d7b(0x158)](_0xc96d7b(0x109));}}async[_0x32c658(0xea)](){const _0x2e54be=_0x32c658;this[_0x2e54be(0xc1)]();const {locale:_0x2bb9fd}=this[_0x2e54be(0x1b6)];let _0x42d379;try{_0x42d379=await this[_0x2e54be(0x100)][_0x2e54be(0x105)]();}catch(_0x4d46fe){const _0x474dd1=_0x2d7f16(_0x2bb9fd,_0x2e54be(0x1bf));return void this[_0x2e54be(0x122)](_0x474dd1);}const _0x52ecdf=_0x42d379[_0x2e54be(0x1a5)]||_0x42d379[_0x2e54be(0x137)];if(this[_0x2e54be(0xd3)]===_0x52ecdf[_0x2e54be(0x148)])await this[_0x2e54be(0xd8)](this[_0x2e54be(0x1b6)][_0x2e54be(0x1bb)][_0x2e54be(0x111)][_0x2e54be(0x10b)][_0x2e54be(0x195)](),!0x0);else{const _0x437ada=_0x2d7f16(_0x2bb9fd,_0x2e54be(0x174));this[_0x2e54be(0x122)](_0x437ada);}}[_0x32c658(0xc1)](){const _0x37752b=_0x32c658;this[_0x37752b(0x100)][_0x37752b(0x113)](),this[_0x37752b(0x14a)]=[],clearTimeout(this[_0x37752b(0x1ab)]),this[_0x37752b(0x185)](this[_0x37752b(0x100)]);}[_0x32c658(0x1b1)](_0x46217f){const _0x3de842=_0x32c658,_0x4e09ec=this[_0x3de842(0x1b6)][_0x3de842(0x1be)][_0x3de842(0x1ba)](_0x5886e0);this[_0x3de842(0x165)](_0x4e09ec,_0x3de842(0xbe)+this[_0x3de842(0x118)],(_0x4de298,{session:_0x49eb55})=>{const _0x40bfab=_0x3de842;if(_0x49eb55['id']===_0x4e09ec[_0x40bfab(0xd9)]){_0x4de298[_0x40bfab(0x1aa)]();const _0x38ae82=this[_0x40bfab(0x1b6)][_0x40bfab(0x1be)][_0x40bfab(0x150)](_0x40bfab(0xf4))&&this[_0x40bfab(0x1b6)][_0x40bfab(0x1be)][_0x40bfab(0x1ba)](_0x40bfab(0xf4));let _0x473bdd=_0x49eb55[_0x40bfab(0x1ae)];_0x38ae82&&_0x38ae82[_0x40bfab(0x161)]&&(_0x473bdd=_0x473bdd[_0x40bfab(0x166)](_0x522134=>_0x40bfab(0x171)!==_0x522134)),this[_0x40bfab(0x1b6)][_0x40bfab(0x1be)][_0x40bfab(0x1ba)](_0x40bfab(0xe0))[_0x40bfab(0xc0)](_0x473bdd,this[_0x40bfab(0x118)]);}}),_0x4e09ec[_0x3de842(0x1c2)](this[_0x3de842(0x118)],_0x46217f);}[_0x32c658(0xd4)](){const _0x10789d=_0x32c658,_0xaeef0a=this[_0x10789d(0x1b6)][_0x10789d(0x17e)][_0x10789d(0x169)];this[_0x10789d(0x1b6)][_0x10789d(0x17e)][_0x10789d(0x169)]=(..._0xde1718)=>{const _0x18c65a=_0x10789d;if(!_0xde1718[_0xde1718[_0x18c65a(0x138)]-0x1][_0x18c65a(0x141)])throw new _0xb522b5(_0x18c65a(0x18a),this);_0xaeef0a[_0x18c65a(0xe6)](this[_0x18c65a(0x1b6)][_0x18c65a(0x17e)],_0xde1718);};}[_0x32c658(0x107)](){const _0x4bbceb=_0x32c658;this[_0x4bbceb(0x1b6)][_0x4bbceb(0x17e)]['on'](_0x4bbceb(0x116),(_0x2ddb11,[_0x5c1876])=>{const _0x53a0b0=_0x4bbceb;if(this[_0x53a0b0(0x11c)][_0x53a0b0(0x179)])throw new _0xb522b5(_0x53a0b0(0x1c1),this);_0x2ddb11[_0x53a0b0(0x181)](),this[_0x53a0b0(0x15f)]();const _0xae9ef4=this[_0x53a0b0(0x1b6)][_0x53a0b0(0x147)][_0x53a0b0(0x1ba)](_0x53a0b0(0x1ac)),_0x50178b=this[_0x53a0b0(0xf9)](_0x5c1876,_0xae9ef4);0x0==_0x50178b[_0x53a0b0(0x138)]&&_0x50178b[_0x53a0b0(0x178)](new _0x2f4649(0x0)),_0x2ddb11[_0x53a0b0(0x15b)]=this[_0x53a0b0(0xd8)](_0x50178b)[_0x53a0b0(0x192)](()=>{const _0x57a9a4=_0x53a0b0;this[_0x57a9a4(0x1b6)][_0x57a9a4(0x1be)][_0x57a9a4(0x1ba)](_0x4128c4)[_0x57a9a4(0xca)](this),this[_0x57a9a4(0x1b6)][_0x57a9a4(0x17e)][_0x57a9a4(0xe4)](_0x57a9a4(0x167));})[_0x53a0b0(0x16e)](_0x1bc71b=>this[_0x53a0b0(0x158)](_0x53a0b0(0xe8),_0x1bc71b))[_0x53a0b0(0x12f)](()=>this[_0x53a0b0(0x12e)]());},{'priority':_0x4bbceb(0x189)}),this[_0x4bbceb(0x1b6)]['on'](_0x4bbceb(0x153),async(_0x39b874,[_0xd0c34,_0x242ed8])=>{const _0x891d19=_0x4bbceb;_0x39b874[_0x891d19(0x181)]();const _0x394fbf=this[_0x891d19(0x1b6)][_0x891d19(0x1bb)][_0x891d19(0x111)][_0x891d19(0x135)](_0xd0c34);if(!this[_0x891d19(0xff)][_0x891d19(0x150)](_0xd0c34)){const _0x45b256=_0x242ed8&&_0x242ed8[_0x891d19(0x17e)]?_0x242ed8[_0x891d19(0x17e)]:'',_0x2adf1f=_0x242ed8&&_0x242ed8[_0x891d19(0xc9)]?_0x242ed8[_0x891d19(0xc9)]:{};await this[_0x891d19(0x191)](_0xd0c34,_0x45b256,_0x2adf1f);}this[_0x891d19(0x1b6)][_0x891d19(0x1bb)][_0x891d19(0xcd)]({'isUndoable':!0x1},()=>{const _0x3d26e9=_0x891d19;_0x394fbf[_0x3d26e9(0x14e)]=!0x0,this[_0x3d26e9(0x1b6)][_0x3d26e9(0x1bb)][_0x3d26e9(0x111)][_0x3d26e9(0x15c)][_0x3d26e9(0x164)](_0x394fbf);});},{'priority':_0x4bbceb(0x189)});}async[_0x32c658(0x199)](_0x37e8ec){const _0x2770ca=_0x32c658,_0x5d0b34=this[_0x2770ca(0x1b6)][_0x2770ca(0x1be)][_0x2770ca(0x1ba)](_0x433f22),{connection:_0x3863e2}=this[_0x2770ca(0x1b6)][_0x2770ca(0x1be)][_0x2770ca(0x1ba)](_0x4128c4),_0x3d2e63=new Set();for(const _0x1af75d of _0x37e8ec){const _0x17051a=_0x1af75d[_0x2770ca(0x193)];_0x17051a&&!_0x5d0b34[_0x2770ca(0x1c0)](_0x17051a)&&_0x3d2e63[_0x2770ca(0x124)](_0x17051a);}if(0x0===_0x3d2e63[_0x2770ca(0x16a)])return;const _0x185748=await _0x1af6df[_0x2770ca(0x146)](_0x3863e2,Array[_0x2770ca(0xf8)](_0x3d2e63));for(const _0x382524 of _0x185748)_0x5d0b34[_0x2770ca(0x1c0)](_0x382524['id'])||_0x5d0b34[_0x2770ca(0x17f)](_0x382524);}[_0x32c658(0xf9)](_0x33bb38,_0x44bcb3={}){const _0x1bdb41=_0x32c658,_0x139bce=this[_0x1bdb41(0x1b6)][_0x1bdb41(0x1bb)],_0x35f768=[];let _0x20757a=0x0;const _0x55642a=_0x1bdb41(0x13e)==typeof _0x33bb38?{'main':_0x33bb38}:_0x33bb38;for(const _0x338720 of Object[_0x1bdb41(0x140)](_0x55642a)){if(!this[_0x1bdb41(0x11c)][_0x1bdb41(0x15e)][_0x1bdb41(0x150)](_0x338720))throw new _0xb522b5(_0x1bdb41(0x12b),this);const _0x453302=this[_0x1bdb41(0x1b6)][_0x1bdb41(0x17e)][_0x1bdb41(0xd7)](_0x55642a[_0x338720]),_0x4c7513=this[_0x1bdb41(0x11c)][_0x1bdb41(0x135)](_0x338720),_0x4dec48=new _0x2817d8(_0x139bce[_0x1bdb41(0x1a6)](_0x4c7513,0x0),_0x453302,_0x20757a++);_0x35f768[_0x1bdb41(0x178)](_0x4dec48);for(const [_0x4f61c4,_0x5dc02d]of _0x453302[_0x1bdb41(0x1bc)]){const _0x56cc48=_0x139bce[_0x1bdb41(0x172)](_0x139bce[_0x1bdb41(0x103)](_0x4c7513,_0x5dc02d[_0x1bdb41(0x160)][_0x1bdb41(0xfb)][_0x1bdb41(0x1a1)]()),_0x139bce[_0x1bdb41(0x103)](_0x4c7513,_0x5dc02d[_0x1bdb41(0x168)][_0x1bdb41(0xfb)][_0x1bdb41(0x1a1)]())),_0x2436c3=new _0x307164(_0x4f61c4,null,_0x56cc48,_0x139bce[_0x1bdb41(0x1bc)],!0x0,_0x20757a++);_0x35f768[_0x1bdb41(0x178)](_0x2436c3);}}if(_0x44bcb3)for(const [_0x39ef58,_0x52ca4d]of Object[_0x1bdb41(0x11b)](_0x44bcb3)){const _0x40c49f=_0x139bce[_0x1bdb41(0x111)][_0x1bdb41(0x135)](_0x39ef58);if(!_0x40c49f)throw new _0xb522b5(_0x1bdb41(0xe5),null);for(const [_0x2abb0b,_0x5df6b5]of Object[_0x1bdb41(0x11b)](_0x52ca4d))if(null!==_0x5df6b5){const _0x1a419d=new _0x592043(_0x40c49f,_0x2abb0b,null,_0x5df6b5,_0x20757a++);_0x35f768[_0x1bdb41(0x178)](_0x1a419d);}}return _0x35f768;}async[_0x32c658(0x191)](_0x50689b,_0x919a72,_0x4a95e1){const _0x3dffa8=_0x32c658;this[_0x3dffa8(0xf9)]({[_0x50689b]:_0x919a72},{[_0x50689b]:_0x4a95e1})[_0x3dffa8(0xee)]((_0x5ddf78,_0x192d92)=>{const _0x2ee5f6=_0x3dffa8;_0x5ddf78[_0x2ee5f6(0xcb)]=this[_0x2ee5f6(0x11c)][_0x2ee5f6(0x179)]+_0x192d92,_0x5ddf78[_0x2ee5f6(0x134)]=!0x0,this[_0x2ee5f6(0x173)](_0x5ddf78);}),this[_0x3dffa8(0x151)](),await this[_0x3dffa8(0x102)]();}async[_0x32c658(0x1a4)](_0x3a3787,_0x3523d0){const _0x2d5074=_0x32c658;let _0x224695;this[_0x2d5074(0x14f)]=_0x3a3787[_0x2d5074(0x11a)];const _0x2a25bb=_0x3a3787[_0x2d5074(0x15d)]&&!_0x3a3787[_0x2d5074(0x188)],_0x479642=_0x2a25bb?0x0:_0x3a3787[_0x2d5074(0x17e)][_0x2d5074(0xcb)];if(_0x3523d0[_0x2d5074(0xee)](_0x8ecb5=>{const _0x49f6f1=_0x2d5074;_0x8ecb5[_0x49f6f1(0x134)]=!0x0,_0x8ecb5[_0x49f6f1(0x177)]=_0x3a3787[_0x49f6f1(0x197)],_0x8ecb5[_0x49f6f1(0x193)]=null;}),_0x2a25bb)_0x224695=_0x3523d0,this[_0x2d5074(0x17d)](_0x224695,_0x2a25bb);else{if(_0x3a3787[_0x2d5074(0x188)]){const _0x390165=this[_0x2d5074(0xf9)](_0x3a3787[_0x2d5074(0x188)]);this[_0x2d5074(0x11c)][_0x2d5074(0x10b)][_0x2d5074(0x179)]=-_0x390165[_0x2d5074(0x138)],_0x390165[_0x2d5074(0xee)](_0x1fed77=>{const _0xfc69c2=_0x2d5074;_0x1fed77[_0xfc69c2(0xcb)]-=_0x390165[_0xfc69c2(0x138)],_0x1fed77[_0xfc69c2(0x177)]=_0x3a3787[_0xfc69c2(0x197)],_0x1fed77[_0xfc69c2(0x134)]=!0x0,_0x1fed77[_0xfc69c2(0x193)]=null;}),this[_0x2d5074(0x17d)](_0x390165,!0x0),this[_0x2d5074(0xe1)][_0x2d5074(0x179)]=-_0x390165[_0x2d5074(0x138)]+this[_0x2d5074(0x14f)],this[_0x2d5074(0xec)](_0x390165);}this[_0x2d5074(0x11c)][_0x2d5074(0x10b)][_0x2d5074(0x179)]=_0x479642,_0x224695=this[_0x2d5074(0x149)](_0x3a3787[_0x2d5074(0x17e)],_0x3a3787[_0x2d5074(0x110)]),await this[_0x2d5074(0x199)](_0x224695),this[_0x2d5074(0x17d)](_0x224695,_0x2a25bb);}_0x3a3787[_0x2d5074(0x148)]&&(this[_0x2d5074(0x17b)][_0x2d5074(0x159)](_0x224695,_0x3a3787[_0x2d5074(0x148)]),this[_0x2d5074(0xd3)]=_0x3a3787[_0x2d5074(0x148)]),this[_0x2d5074(0xe1)][_0x2d5074(0x179)]=_0x479642+this[_0x2d5074(0x14f)],this[_0x2d5074(0xec)](_0x224695),_0x3523d0[_0x2d5074(0x166)](_0x45ef2a=>{const _0x37d4aa=_0x2d5074,_0x4f68b4=this[_0x37d4aa(0x13f)](_0x45ef2a);return _0x4f68b4&&!this[_0x37d4aa(0xff)][_0x37d4aa(0x150)](_0x4f68b4);})[_0x2d5074(0xee)]((_0x4b2070,_0x1a5d9d)=>{const _0x2d920d=_0x2d5074;_0x4b2070[_0x2d920d(0xcb)]=this[_0x2d920d(0x11c)][_0x2d920d(0x179)]+_0x1a5d9d,this[_0x2d920d(0x173)](_0x4b2070);}),this[_0x2d5074(0x1b5)]()?(this[_0x2d5074(0xc4)]=0x0,this[_0x2d5074(0x151)](!0x0),await this[_0x2d5074(0x102)]()):(this[_0x2d5074(0x1ad)]=!0x1,this[_0x2d5074(0x12e)]());}[_0x32c658(0x158)](_0x3bfc3b,_0x1b15cd){const _0x1bb86d=_0x32c658,_0x5770ee=_0x1b15cd&&_0x1b15cd[_0x1bb86d(0xdd)];if(_0x5770ee&&_0x5770ee[_0x1bb86d(0x1b8)](_0x1bb86d(0xbd)))throw _0x1b15cd;const _0x2f0a05=this[_0x1bb86d(0x1b6)][_0x1bb86d(0x1be)][_0x1bb86d(0x1ba)](_0x4128c4);throw this[_0x1bb86d(0x1ad)]=!0x0,_0x2f0a05[_0x1bb86d(0x113)](),this[_0x1bb86d(0x1b6)][_0x1bb86d(0x144)](_0x1bb86d(0x119)),new _0xb522b5(_0x3bfc3b,this[_0x1bb86d(0x1b6)],_0x5770ee?{'originalError':_0x5770ee}:void 0x0);}[_0x32c658(0x173)](_0x5bcb06){const _0x2297c0=_0x32c658;this[_0x2297c0(0xce)][_0x2297c0(0x150)](_0x5bcb06)||(this[_0x2297c0(0xce)][_0x2297c0(0x124)](_0x5bcb06),this[_0x2297c0(0x14a)][_0x2297c0(0x178)](_0x5bcb06),this[_0x2297c0(0xed)]||_0x2297c0(0x130)==_0x5bcb06[_0x2297c0(0x1bd)]&&!_0x5bcb06[_0x2297c0(0xfa)]||this[_0x2297c0(0x15f)]());}[_0x32c658(0x151)](_0x5b0932=!0x1){const _0x5e0118=_0x32c658;!_0x5b0932&&this[_0x5e0118(0x1ad)]||(this[_0x5e0118(0x1ad)]=!0x0,clearTimeout(this[_0x5e0118(0x1ab)]),this[_0x5e0118(0x1ab)]=setTimeout(()=>{const _0x43fc23=_0x5e0118;this[_0x43fc23(0xe9)]()[_0x43fc23(0x192)](_0x18463f=>{const _0x227ad5=_0x43fc23;_0x18463f&&(this[_0x227ad5(0x12e)](),this[_0x227ad5(0x1ad)]=!0x1);})[_0x43fc23(0x16e)](_0x54f502=>{const _0x228350=_0x43fc23;this[_0x228350(0x12e)](),this[_0x228350(0x1ad)]=!0x1,function(_0x20a719){const _0x3d9eaa=_0x228350;return _0x20a719[_0x3d9eaa(0xdd)][_0x3d9eaa(0x1b8)](_0x3d9eaa(0x1b9))||_0x20a719[_0x3d9eaa(0xdd)][_0x3d9eaa(0x1b8)](_0x3d9eaa(0x1a2))||_0x20a719[_0x3d9eaa(0xdd)][_0x3d9eaa(0x1b8)](_0x3d9eaa(0x170));}(_0x54f502)||this[_0x228350(0x158)](_0x54f502[_0x228350(0xdd)],_0x54f502);});},this[_0x5e0118(0xc4)]));}[_0x32c658(0x102)](){return new Promise(_0x5c9639=>{const _0x27ed2a=_0x26fd;this['on'](_0x27ed2a(0xda),()=>{_0x5c9639();});});}async[_0x32c658(0xe9)](){const _0x2e230e=_0x32c658,_0x17c132=this[_0x2e230e(0x1b6)][_0x2e230e(0x1be)][_0x2e230e(0x1ba)](_0x40141b);if(this[_0x2e230e(0x16b)]()&&(_0x17c132[_0x2e230e(0x175)](),this[_0x2e230e(0x10d)]=!0x1),!this[_0x2e230e(0x1b5)]())return!0x0;const _0x3a5046=[...this[_0x2e230e(0x14a)]];for(const _0x5461dd of _0x3a5046)_0x5461dd[_0x2e230e(0x11e)]=this[_0x2e230e(0x11c)][_0x2e230e(0x10b)][_0x2e230e(0x114)](_0x5461dd);const _0x186d32=this[_0x2e230e(0x17b)][_0x2e230e(0x183)](_0x3a5046),_0x3de8cd=K++,_0x57e1ba=this[_0x2e230e(0xdf)](_0x3a5046),_0x1b1adf=await this[_0x2e230e(0x100)][_0x2e230e(0x120)](_0x57e1ba,_0x57e1ba[_0x2e230e(0xcb)],_0x186d32);try{return await this[_0x2e230e(0x18c)](_0x3a5046,_0x1b1adf,_0x3de8cd);}catch(_0x4f4442){return this[_0x2e230e(0x158)](_0x2e230e(0xc2),_0x4f4442);}}async[_0x32c658(0x18c)](_0x19f016,_0x376464,_0x14e532){const _0x31d933=_0x32c658;if(_0x31d933(0x136)in _0x376464)throw _0x376464[_0x31d933(0x136)];let _0x4f0ebf=!0x1;if(_0x376464[_0x31d933(0x15d)]){_0x376464[_0x31d933(0x148)]&&(this[_0x31d933(0xd3)]=_0x376464[_0x31d933(0x148)]),this[_0x31d933(0x14a)]=this[_0x31d933(0x14a)][_0x31d933(0x166)](_0x1b844a=>!_0x19f016[_0x31d933(0x12d)](_0x1b844a));for(const _0x4fa07c of _0x19f016)_0x4fa07c[_0x31d933(0x177)]=_0x31d933(0xfd)in _0x376464&&_0x376464[_0x31d933(0xfd)]||void 0x0;Q(_0x19f016,_0x376464[_0x31d933(0x179)]-_0x19f016[_0x31d933(0x138)]),this[_0x31d933(0xec)](_0x19f016);const _0x1a90c5=_0x19f016[_0x31d933(0x166)](_0x23609e=>{const _0x578335=_0x31d933;if(!_0x23609e[_0x578335(0x134)])return!0x1;const _0x91a461=this[_0x578335(0x13f)](_0x23609e);return _0x91a461&&!this[_0x578335(0xff)][_0x578335(0x150)](_0x91a461);});Q(_0x1a90c5,this[_0x31d933(0x11c)][_0x31d933(0x179)]),this[_0x31d933(0x17d)](_0x1a90c5),_0x4f0ebf=!0x0,this[_0x31d933(0xc4)]=this[_0x31d933(0x13c)];}else{const _0x1e2c08=this[_0x31d933(0x149)](_0x376464[_0x31d933(0x17e)],_0x376464[_0x31d933(0x110)])[_0x31d933(0x166)](_0x33c558=>_0x33c558[_0x31d933(0xcb)]>=this[_0x31d933(0x184)]);_0x1e2c08[_0x31d933(0xee)](_0x2fac8e=>this[_0x31d933(0x19e)](_0x2fac8e)),this[_0x31d933(0x14a)]=this[_0x31d933(0x14a)][_0x31d933(0x166)](_0x160ede=>!_0x160ede[_0x31d933(0x134)]||!this[_0x31d933(0xff)][_0x31d933(0x150)](this[_0x31d933(0x13f)](_0x160ede))),this[_0x31d933(0x14a)][_0x31d933(0x138)]&&Q(this[_0x31d933(0x14a)],this[_0x31d933(0x14a)][0x0][_0x31d933(0xcb)]),await this[_0x31d933(0x199)](_0x1e2c08),_0x4f0ebf=this[_0x31d933(0x194)](_0x1e2c08,_0x376464[_0x31d933(0x179)],_0x376464[_0x31d933(0x148)]),this[_0x31d933(0xc4)]=Math[_0x31d933(0x162)](this[_0x31d933(0xc4)]/0x2);}return _0x4f0ebf?!this[_0x31d933(0x1b5)]()||(this[_0x31d933(0x151)](!0x0),!0x1):this[_0x31d933(0x158)](_0x31d933(0x18d));}[_0x32c658(0x194)](_0x340d48,_0xb37eca,_0x29707b){const _0x563c8c=_0x32c658;try{const _0x27fcc1={'document':this[_0x563c8c(0x11c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x50c535,operationsB:_0x2c7879,originalOperations:_0x2897e3}=_0x2d6a3c(_0x340d48,this[_0x563c8c(0x14a)],_0x27fcc1);Q(_0x50c535,this[_0x563c8c(0x11c)][_0x563c8c(0x179)]),Q(_0x2c7879,_0xb37eca);for(const _0x341b67 of _0x50c535){const _0x23f46a=_0x2897e3[_0x563c8c(0x1ba)](_0x341b67);_0x341b67[_0x563c8c(0x193)]=_0x23f46a?_0x23f46a[_0x563c8c(0x193)]:null;}_0x29707b&&(this[_0x563c8c(0x17b)][_0x563c8c(0x159)](_0x340d48,_0x29707b),this[_0x563c8c(0xd3)]=_0x29707b),this[_0x563c8c(0x14a)]=[..._0x2c7879],this[_0x563c8c(0x17d)](_0x50c535),this[_0x563c8c(0xec)](_0x340d48);}catch(_0x17785e){return console[_0x563c8c(0x136)](_0x17785e),!0x1;}return!0x0;}[_0x32c658(0x17d)](_0x2f54b7,_0x4fb095=!0x1){const _0x19050f=_0x32c658;this[_0x19050f(0x1b6)][_0x19050f(0x1bb)][_0x19050f(0xcd)]({'isUndoable':!0x1,'isLocal':!0x1},_0x34f7a1=>{const _0xa72e36=_0x19050f;for(const _0x1c3462 of _0x2f54b7)this[_0xa72e36(0xce)][_0xa72e36(0x124)](_0x1c3462),this[_0xa72e36(0x19e)](_0x1c3462),_0x34f7a1[_0xa72e36(0xc6)][_0xa72e36(0x15a)](_0x1c3462),this[_0xa72e36(0x1b6)][_0xa72e36(0x1bb)][_0xa72e36(0xf3)](_0x1c3462);});}[_0x32c658(0x19e)](_0x904667){const _0x4d1b63=_0x32c658,_0x5816c6=this[_0x4d1b63(0x13f)](_0x904667);_0x5816c6&&this[_0x4d1b63(0xff)][_0x4d1b63(0x124)](_0x5816c6);}[_0x32c658(0x13f)](_0x505570){const _0x479aa6=_0x32c658;let _0x5e9c18,_0x2031bf;switch(_0x505570[_0x479aa6(0x1bd)]){case _0x479aa6(0x198):_0x5e9c18=_0x505570[_0x479aa6(0xf5)][_0x479aa6(0x121)];break;case _0x479aa6(0x130):if(_0x2031bf=_0x505570[_0x479aa6(0x163)],!_0x2031bf)return null;_0x5e9c18=_0x2031bf[_0x479aa6(0x121)];break;case _0x479aa6(0xde):_0x5e9c18=_0x505570[_0x479aa6(0x121)];break;case _0x479aa6(0xf6):_0x5e9c18=_0x505570[_0x479aa6(0x104)];break;case _0x479aa6(0x186):_0x5e9c18=_0x505570[_0x479aa6(0x18b)][_0x479aa6(0x121)];break;default:return null;}return _0x5e9c18[_0x479aa6(0x18f)];}[_0x32c658(0xec)](_0x520e5a){const _0xcd8e47=_0x32c658;_0x520e5a[_0xcd8e47(0xee)](_0x4212eb=>{const _0x458ccc=_0xcd8e47,_0x45d2d0=_0x4212eb[_0x458ccc(0x10a)]();_0x45d2d0[_0x458ccc(0x193)]=_0x4212eb[_0x458ccc(0x193)],_0x45d2d0[_0x458ccc(0x134)]=!!_0x4212eb[_0x458ccc(0x134)],_0x45d2d0[_0x458ccc(0x177)]=_0x4212eb[_0x458ccc(0x177)],_0x45d2d0[_0x458ccc(0xcb)]+=this[_0x458ccc(0x14f)],_0x4212eb[_0x458ccc(0x1b2)]&&this[_0x458ccc(0x196)][_0x458ccc(0x124)](_0x45d2d0),this[_0x458ccc(0xe1)][_0x458ccc(0x15a)](_0x45d2d0);});}[_0x32c658(0x122)](_0x51546a){const _0x4769ad=_0x32c658,_0x4d9aff=this[_0x4769ad(0x1b6)][_0x4769ad(0x1be)][_0x4769ad(0x1ba)](_0x4769ad(0xbb)),_0x5149d4=this[_0x4769ad(0x1b6)][_0x4769ad(0x1b0)];_0x51546a||(_0x51546a=_0x2d7f16(_0x5149d4,_0x4769ad(0x108))),_0x4d9aff[_0x4769ad(0xeb)](_0x51546a,{'title':_0x2d7f16(_0x5149d4,_0x4769ad(0x1a7)),'namespace':_0x4769ad(0x1a8)}),this[_0x4769ad(0x127)]=!0x0,clearTimeout(this[_0x4769ad(0x1ab)]),this[_0x4769ad(0x14a)]=[],this[_0x4769ad(0x1b6)][_0x4769ad(0x1be)][_0x4769ad(0x1ba)](_0x4128c4)[_0x4769ad(0x113)]();}[_0x32c658(0x15f)](){const _0x13d789=_0x32c658;this[_0x13d789(0xed)]||(this[_0x13d789(0xed)]=this[_0x13d789(0x1b6)][_0x13d789(0x1be)][_0x13d789(0x1ba)](_0x19f290)[_0x13d789(0x124)](_0x2d7f16(this[_0x13d789(0x1b6)][_0x13d789(0x1b0)],_0x13d789(0xdc))));}[_0x32c658(0x12e)](){const _0x4f5c84=_0x32c658;this[_0x4f5c84(0xed)]&&(this[_0x4f5c84(0x1b6)][_0x4f5c84(0x1be)][_0x4f5c84(0x1ba)](_0x19f290)[_0x4f5c84(0xd0)](this[_0x4f5c84(0xed)]),this[_0x4f5c84(0xed)]=null);}[_0x32c658(0xdf)](_0x1f1c35){const _0xb073dc=_0x32c658,_0x3c696f=_0x1f1c35[_0xb073dc(0x126)](_0x4d2911=>_0x4d2911[_0xb073dc(0x11d)]());return this[_0xb073dc(0x176)][_0xb073dc(0xf7)](_0x3c696f);}[_0x32c658(0x149)](_0x15c3d7,_0x26fa91){const _0x45b59a=_0x32c658;return this[_0x45b59a(0x176)][_0x45b59a(0x156)](_0x15c3d7)[_0x45b59a(0x126)]((_0x520e85,_0x21f393)=>{const _0x814ebb=_0x45b59a,_0x185f38=_0x814ebb(0x116)==_0x26fa91[_0x21f393][_0x814ebb(0x1bd)];if(_0x814ebb(0xf1)==_0x520e85[_0x814ebb(0xc3)]){const _0x127413=_0x520e85[_0x814ebb(0xf5)][_0x814ebb(0x121)];!this[_0x814ebb(0x11c)][_0x814ebb(0x135)](_0x127413)&&(this[_0x814ebb(0x11c)][_0x814ebb(0xf2)](_0x814ebb(0x123),_0x127413)[_0x814ebb(0x13b)]=!0x1);}const _0x262870=_0x26f46a[_0x814ebb(0xbf)](_0x520e85,this[_0x814ebb(0x11c)]);return _0x262870[_0x814ebb(0x11e)]=_0x520e85[_0x814ebb(0x11e)],_0x262870[_0x814ebb(0x134)]=_0x185f38,_0x262870[_0x814ebb(0x193)]=_0x185f38?null:_0x26fa91[_0x21f393][_0x814ebb(0x101)],_0x262870[_0x814ebb(0x1b2)]=_0x814ebb(0xe2)===_0x26fa91[_0x21f393][_0x814ebb(0x1bd)],_0x262870[_0x814ebb(0x177)]=_0x26fa91[_0x21f393][_0x814ebb(0x177)],_0x262870;});}[_0x32c658(0x157)](){const _0x1e5f89=_0x32c658;this[_0x1e5f89(0x10d)]=!0x0,this[_0x1e5f89(0x16b)]()?this[_0x1e5f89(0x151)]():this[_0x1e5f89(0x10d)]=!0x1;}[_0x32c658(0x16b)](){const _0xeac20=_0x32c658,_0xae5f18=this[_0xeac20(0x1b6)][_0xeac20(0x1be)][_0xeac20(0x1ba)](_0x5886e0)[_0xeac20(0xd1)][_0xeac20(0x1ba)](this[_0xeac20(0x118)]);return!this[_0xeac20(0x1b6)][_0xeac20(0x132)]&&!!_0xae5f18&&_0xae5f18[_0xeac20(0x138)]>0x1&&this[_0xeac20(0x10d)];}[_0x32c658(0x1b5)](){const _0x386596=_0x32c658;return this[_0x386596(0x14a)][_0x386596(0x138)]>0x0||this[_0x386596(0x16b)]();}}l[_0x32c658(0x10e)]=_0x5023cb;export default l;class J extends Error{}function _0x26fd(_0x39c37f,_0x40bf9e){const _0x36eddb=_0x36ed();return _0x26fd=function(_0x26fd8a,_0x576328){_0x26fd8a=_0x26fd8a-0xbb;let _0x2f619c=_0x36eddb[_0x26fd8a];return _0x2f619c;},_0x26fd(_0x39c37f,_0x40bf9e);}function Q(_0x2bbe0d,_0x53b22b){const _0x3b2069=_0x32c658;for(const _0x5986ad of _0x2bbe0d)_0x5986ad[_0x3b2069(0xcb)]=_0x53b22b++;}class X{constructor(_0xbb541c){const _0x4d7518=_0x32c658;this[_0x4d7518(0x182)]=_0xbb541c,this[_0x4d7518(0x19f)]=new WeakMap();}[_0x32c658(0x183)](_0x3fee57){const _0x11330c=_0x32c658;let _0x54bad9=_0x3fee57[_0x11330c(0x138)];for(;_0x54bad9--;){const _0x2547f6=_0x3fee57[_0x54bad9];if(!this[_0x11330c(0x182)][_0x11330c(0x150)](_0x2547f6)){if(!this[_0x11330c(0x19f)][_0x11330c(0x150)](_0x2547f6)){const _0x25aa3d=_0x4ca5da()[_0x11330c(0x1a1)](0x1,0x12);this[_0x11330c(0x19f)][_0x11330c(0x169)](_0x2547f6,_0x25aa3d);}return this[_0x11330c(0x19f)][_0x11330c(0x1ba)](_0x2547f6);}}}[_0x32c658(0x159)](_0x1c2a18,_0x4a91fa){const _0x45b932=_0x32c658;if(!_0x4a91fa)return;let _0x33b603=_0x1c2a18[_0x45b932(0x138)];for(;_0x33b603--;){const _0x4fc829=_0x1c2a18[_0x33b603];this[_0x45b932(0x182)][_0x45b932(0x150)](_0x4fc829)||this[_0x45b932(0x19f)][_0x45b932(0x169)](_0x4fc829,_0x4a91fa);}}}function _0x36ed(){const _0x3ed6b8=['isEnabled','round','newRange','_bufferRootLoad','listenTo','filter','ready','end','set','size','_shouldSendSelectionUpdate','disableReadOnlyMode','state','catch','view','cloud-services-internal-error:\x20Request\x20timeout.','document:write','createRange','_saveOperationInBuffer','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.','createUserMarkerOperations','_compressor','createdAt','push','version','_isEditingAllowed','_operationIdentifier','define','_applyOperationsSet','data','addUser','isDocumentOperation','stop','_ignoredOperations','getIdOfTheLastOperation','_lastServerVersion','stopListening','move','lastSyncVersion','initData','high','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','targetPosition','_handleServerResponse','realtimecollaborationclient-handleserverresponse','realtimecollaborationclient-init-session-connection-error','rootName','_handleReconnectionResponse','_loadRoot','then','_authorId','_handleExternalOperations','getOperations','_disconnectionOperations','sessionCreatedAt','insert','_fetchMissingUsers','connected','connection','removeFromReconnectionStack','cloudServices.bundleVersion','_addKnownRoot','_operationToId','collaboration.channelId','slice','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','RealTimeCollaborationClient','_handleInitialConnectionData','currentDocumentSession','createPositionAt','Synchronization\x20issue','real-time-collaboration','unregister','off','_sendBufferedOperationsDelayId','rootsAttributes','_isPendingUpdate','permissions','editing','locale','_initSessionsHandling','_isDisconnection','13037592HHpaOH','91397LpLVXl','_shouldSendUpdate','editor','cloudDocumentVersion','startsWith','cloud-services-internal-error:\x20Not\x20connected.','get','model','markers','type','plugins','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getUser','realtimecollaborationclient-init-document-already-initialized','register','Notification','destroy','realtimecollaborationclient','sessionAdd:','fromJSON','setPermissions','_disconnectService','realtimecollaborationclient-sendbufferedoperations','__className','_currentBufferDelay','22HZdzFZ','batch','change:hasDomSelection','4NDeFRm','attributes','addToReconnectionStack','baseVersion','change:_isEditingAllowed','enqueueChange','_knownOperations','collaboration','remove','channelSessions','105138DRyeZQ','_lastSyncedOperationId','_initThrowingOnDataSet','404','code','parse','_connectService','mySessionId','change:_isPendingUpdate','reconnect','PENDING_ACTION_SENDING_DATA','message','addRootAttribute','_compressOperations','Permissions','serverHistory','cs:removeUser','_isConnected','fire','multi-root-editor-root-attributes-no-root','apply','12xupRnP','realtimecollaborationclient-init-connection-failed','_sendBufferedOperations','_connectAfterSessionHasBeenFlushed','showWarning','_updateServerHistory','_pendingAction','forEach','pluginName','selection','InsertOperation','createRoot','applyOperation','CommentsOnly','position','addRoot','compress','from','_getOperationsFromInitData','affectsData','path','connect','lastOperationAcceptedAt','rtc-offline','_knownRootNames','_service','userId','_waitUntilSynced','createPositionFromPath','affectedSelectable','getDocumentDetails','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_setUpDataInit','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.','realtimecollaborationclient-init-service-incorrect-server-operation','clone','history','18520eufAhN','_hasSelectionChanged','CollaborativeEditingService','realtimecollaborationclient-init-service-internal-error','metadata','document','217PWJWIg','disconnect','isUndoneOperation','operationsReceived','init','62510ckgSQI','_channelId','realtimecollaborationclient-error','offset','entries','_document','toJSON','wasUndone','getConnectedSessions','sendOperations','root','_handleReconnectionError','$root','add','_handleSendingSelectionMarkers','map','_hasSynchronizationProblem','bind','isOfficialPlugin','change:range','realtimecollaborationclient-init-non-existent-root','getOperationAuthor','includes','_clearPendingAction','finally','marker','reset','isReadOnly','isPremiumPlugin','_isInit','getRoot','error','lastDocumentSession','length','reconnection:\x20flushed\x20session','409','_isAttached','_baseBufferDelay','directChange','string','_getAffectedRoot','keys','suppressErrorInCollaboration','disconnected','970440QReBtj','enableReadOnlyMode','sessionId','getMany','config','lastOperationId','_decompressOperations','_bufferedOperations','collaboration-missing-channelid','27gezzQm','rtc-destroyed','_isLoaded','_offset','has','_sendBufferedOperationsDelayed','requires','loadRoot','_handleReceivedOperations','1257504nzuxYi','decompress','_refreshUserSelectionMarkers','_crash','setIdForTheLastOperation','addOperation','return','differ','wereChangesApplied','roots','_setPendingAction','start'];_0x36ed=function(){return _0x3ed6b8;};return _0x36ed();}
|
|
23
|
+
const _0x3eb630=_0x4344;(function(_0x413f8d,_0x2d5df9){const _0x1927ed=_0x4344,_0xc979cf=_0x413f8d();while(!![]){try{const _0x269e33=-parseInt(_0x1927ed(0x14a))/0x1*(parseInt(_0x1927ed(0x10d))/0x2)+parseInt(_0x1927ed(0x200))/0x3+-parseInt(_0x1927ed(0x1f0))/0x4*(-parseInt(_0x1927ed(0x1aa))/0x5)+parseInt(_0x1927ed(0x11d))/0x6*(parseInt(_0x1927ed(0x1b3))/0x7)+parseInt(_0x1927ed(0x193))/0x8*(-parseInt(_0x1927ed(0x150))/0x9)+parseInt(_0x1927ed(0x1a7))/0xa*(-parseInt(_0x1927ed(0x1e8))/0xb)+-parseInt(_0x1927ed(0x10b))/0xc*(-parseInt(_0x1927ed(0x136))/0xd);if(_0x269e33===_0x2d5df9)break;else _0xc979cf['push'](_0xc979cf['shift']());}catch(_0x1b4386){_0xc979cf['push'](_0xc979cf['shift']());}}}(_0x1f28,0x87d0b));import{Plugin as _0x437e27,PendingActions as _0x5dfb4d}from'ckeditor5/src/core.js';import{CKEditorError as _0x434af5,version as _0xf29b3d,uid as _0x5293bf}from'ckeditor5/src/utils.js';import{Notification as _0x47b99a}from'ckeditor5/src/ui.js';import{transformSets as _0x33c7f5,NoOperation as _0x34f3de,InsertOperation as _0x2e2ad2,MarkerOperation as _0x214fb7,RootAttributeOperation as _0xc5bada,OperationFactory as _0x4d34d0,History as _0x1acf40}from'ckeditor5/src/engine.js';import _0x257d19 from'./websocketgateway.js';function _0x4344(_0x47e98b,_0x3728b7){const _0x1f2808=_0x1f28();return _0x4344=function(_0x434415,_0x57d730){_0x434415=_0x434415-0x109;let _0x39ca5c=_0x1f2808[_0x434415];return _0x39ca5c;},_0x4344(_0x47e98b,_0x3728b7);}import _0xa4f279 from'./sessions.js';import _0x94c737 from'./usermarkers.js';import{getTranslation as _0x1b1b51}from'../common-translations.js';import{Compressor as _0x4cbc46}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x41416e}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5500a2,CollaborativeEditingService as _0x348209}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x437e27{static get[_0x3eb630(0x11f)](){return[_0x257d19,_0xa4f279,_0x94c737,_0x5dfb4d,_0x41416e,_0x47b99a];}static get[_0x3eb630(0x1d6)](){const _0x3da288=_0x3eb630;return _0x3da288(0x1b5);}static get[_0x3eb630(0x1d0)](){return!0x0;}static get[_0x3eb630(0x1a6)](){return!0x0;}get[_0x3eb630(0x190)](){const _0x15b5e0=_0x3eb630;return this[_0x15b5e0(0x1ee)]+this[_0x15b5e0(0x1c4)];}get[_0x3eb630(0x1ee)](){const _0x23b6f8=_0x3eb630;return this[_0x23b6f8(0x138)][_0x23b6f8(0x1f1)]-this[_0x23b6f8(0x1c4)];}get[_0x3eb630(0x172)](){const _0x102c91=_0x3eb630,_0x347932=this[_0x102c91(0x138)][_0x102c91(0x12c)]();for(let _0x3ecb0e=_0x347932[_0x102c91(0x144)]-0x1;_0x3ecb0e>=0x0;_0x3ecb0e--){const _0x2fb419=_0x347932[_0x3ecb0e];if(!this[_0x102c91(0x111)][_0x102c91(0x1ce)](_0x2fb419))return _0x2fb419[_0x102c91(0x158)]+0x1-this[_0x102c91(0x1c4)];}return 0x0;}constructor(_0x25fed9){const _0x1d6721=_0x3eb630;if(super(_0x25fed9),this[_0x1d6721(0x1c4)]=0x0,this[_0x1d6721(0x15b)]=null,this[_0x1d6721(0x138)]=new _0x1acf40(),this[_0x1d6721(0x1c5)][_0x1d6721(0x133)][_0x1d6721(0x1f7)](_0x1d6721(0x19c),{}),this[_0x1d6721(0x166)]=this[_0x1d6721(0x1c5)][_0x1d6721(0x133)][_0x1d6721(0x175)](_0x1d6721(0x12f)),!this[_0x1d6721(0x166)])throw new _0x434af5(_0x1d6721(0x1ae),this);const _0x38de94=_0x25fed9[_0x1d6721(0x133)][_0x1d6721(0x175)](_0x1d6721(0x1fd))||_0xf29b3d;this[_0x1d6721(0x1c9)]=new l[(_0x1d6721(0x171))](_0x38de94,this[_0x1d6721(0x166)]),this[_0x1d6721(0x1fc)]=this[_0x1d6721(0x1c5)][_0x1d6721(0x185)][_0x1d6721(0x13e)],this[_0x1d6721(0x135)]=new _0x4cbc46(),this[_0x1d6721(0x125)]=[],this[_0x1d6721(0x195)]=new WeakSet(),this[_0x1d6721(0x1c6)]=new Set(),this[_0x1d6721(0x1da)](_0x1d6721(0x10c),!0x1),this[_0x1d6721(0x1da)](_0x1d6721(0x15c),!0x1),this[_0x1d6721(0x155)]=null,this[_0x1d6721(0x167)]=!0x1,this[_0x1d6721(0x1f4)]=null,this[_0x1d6721(0x1c1)]=0x12c,this[_0x1d6721(0x11b)]=this[_0x1d6721(0x1c1)],this[_0x1d6721(0x112)]=null,this[_0x1d6721(0x111)]=new WeakSet(),this[_0x1d6721(0x13f)]=new X(this[_0x1d6721(0x111)]);}[_0x3eb630(0x123)](){const _0x1e2128=_0x3eb630,_0x2d0717=this[_0x1e2128(0x1c5)],_0x3a2f98=_0x2d0717[_0x1e2128(0x194)][_0x1e2128(0x175)](_0x41416e),_0x8e6adf=_0x2d0717[_0x1e2128(0x194)][_0x1e2128(0x175)](_0x257d19);this[_0x1e2128(0x13d)](_0x3a2f98,_0x1e2128(0x12a),(_0x82cdbc,_0x1cea3e)=>{const _0xb6b00=_0x1e2128,_0x62ed99=_0x1cea3e[0x0];_0x62ed99[_0xb6b00(0x121)]&&(_0x82cdbc[_0xb6b00(0x11a)]=_0x3a2f98[_0xb6b00(0x1dc)](_0x62ed99[_0xb6b00(0x121)]),_0x82cdbc[_0xb6b00(0x165)]()),null===_0x62ed99[_0xb6b00(0x121)]&&(_0x82cdbc[_0xb6b00(0x11a)]=null,_0x82cdbc[_0xb6b00(0x165)]());},{'priority':_0x1e2128(0x173)}),this[_0x1e2128(0x13d)](_0x2d0717[_0x1e2128(0x185)][_0x1e2128(0x13e)][_0x1e2128(0x142)],_0x1e2128(0x1c8),(_0x10b71a,_0x47823e)=>{const _0x814e1b=_0x1e2128;_0x47823e[_0x814e1b(0x161)]&&this[_0x814e1b(0x1fe)]();}),this[_0x1e2128(0x13d)](_0x2d0717[_0x1e2128(0x18f)][_0x1e2128(0x1db)],_0x1e2128(0x189),()=>{const _0x3396bb=_0x1e2128;this[_0x3396bb(0x1fe)]();}),this[_0x1e2128(0x20a)](),_0x2d0717[_0x1e2128(0x185)]['on'](_0x1e2128(0x20b),(_0x21f3c1,_0x3ff0b8)=>{const _0x416811=_0x1e2128,_0x1a52b9=_0x3ff0b8[0x0];_0x1a52b9[_0x416811(0x211)]&&(this[_0x416811(0x177)](_0x1a52b9),this[_0x416811(0x1b4)]()&&this[_0x416811(0x1b8)]());}),this[_0x1e2128(0x1a0)](),this[_0x1e2128(0x16a)](_0x1e2128(0x180))['to'](_0x8e6adf,_0x1e2128(0x109),this,_0x1e2128(0x15c),(_0x6572ff,_0x106e54)=>_0x1e2128(0x209)===_0x6572ff&&!_0x106e54),this['on'](_0x1e2128(0x176),()=>{const _0x53e5de=_0x1e2128;this[_0x53e5de(0x180)]?_0x2d0717[_0x53e5de(0x1e4)](_0x53e5de(0x202)):_0x2d0717[_0x53e5de(0x199)](_0x53e5de(0x202));}),this[_0x1e2128(0x180)]?_0x2d0717[_0x1e2128(0x1e4)](_0x1e2128(0x202)):_0x2d0717[_0x1e2128(0x199)](_0x1e2128(0x202)),this[_0x1e2128(0x1da)](_0x1e2128(0x1a4),!0x1);}async[_0x3eb630(0x12d)](){const _0x4a2f6e=_0x3eb630,_0xbd571b=this[_0x4a2f6e(0x1c5)][_0x4a2f6e(0x194)][_0x4a2f6e(0x175)](_0xa4f279),_0x1296c7=this[_0x4a2f6e(0x1c5)][_0x4a2f6e(0x194)][_0x4a2f6e(0x175)](_0x257d19);try{this[_0x4a2f6e(0x10c)]=!0x0,_0xbd571b[_0x4a2f6e(0x149)](this[_0x4a2f6e(0x166)]);const _0x27072e=await this[_0x4a2f6e(0x1c9)][_0x4a2f6e(0x12d)](_0x1296c7[_0x4a2f6e(0x14e)],this[_0x4a2f6e(0x172)]);await this[_0x4a2f6e(0x163)](_0x27072e)&&(this[_0x4a2f6e(0x10c)]=!0x1,this[_0x4a2f6e(0x168)]());const _0x28ec9=await this[_0x4a2f6e(0x1c9)][_0x4a2f6e(0x17b)]();_0xbd571b[_0x4a2f6e(0x1a5)](this[_0x4a2f6e(0x166)],_0x28ec9),this[_0x4a2f6e(0x1ed)](),this[_0x4a2f6e(0x1a4)]=!0x0;}catch(_0x4aff1b){if(function(_0x504b40){const _0x4ec605=_0x4a2f6e;return _0x4ec605(0x18d)===_0x504b40[_0x4ec605(0x147)];}(_0x4aff1b)&&this[_0x4a2f6e(0x15b)])await this[_0x4a2f6e(0x19f)]();else{if(function(_0x199e02){const _0xecfad=_0x4a2f6e;return _0xecfad(0x1b9)===_0x199e02[_0xecfad(0x147)];}(_0x4aff1b)){const _0x14c34d=_0x1b1b51(this[_0x4a2f6e(0x1c5)][_0x4a2f6e(0x1ec)],_0x4a2f6e(0x1a3));this[_0x4a2f6e(0x1d9)](_0x14c34d);}else{if(!(_0x4aff1b instanceof J))throw _0x4aff1b;this[_0x4a2f6e(0x1d9)]();}}}}[_0x3eb630(0x141)](){const _0x5e0e66=_0x3eb630,_0x52630d=this[_0x5e0e66(0x1c5)][_0x5e0e66(0x194)][_0x5e0e66(0x175)](_0x257d19),_0x315614=this[_0x5e0e66(0x1c5)][_0x5e0e66(0x194)][_0x5e0e66(0x175)](_0xa4f279);this[_0x5e0e66(0x1c5)][_0x5e0e66(0x199)](_0x5e0e66(0x17e)),_0x315614[_0x5e0e66(0x153)][_0x5e0e66(0x1ce)](this[_0x5e0e66(0x166)])&&_0x315614[_0x5e0e66(0x149)](this[_0x5e0e66(0x166)]),_0x52630d[_0x5e0e66(0x1f3)](this),this[_0x5e0e66(0x1e3)](),super[_0x5e0e66(0x141)]();}async[_0x3eb630(0x163)](_0x5cbb28){const _0x10fd5e=_0x3eb630;if(this[_0x10fd5e(0x15b)]!==_0x5cbb28[_0x10fd5e(0x15b)]&&this[_0x10fd5e(0x112)]!==_0x5cbb28[_0x10fd5e(0x140)])throw new J();return this[_0x10fd5e(0x15b)]=_0x5cbb28[_0x10fd5e(0x15b)],this[_0x10fd5e(0x15f)]([],{..._0x5cbb28,'wereChangesApplied':!0x1,'data':_0x5cbb28[_0x10fd5e(0x126)]},_0x10fd5e(0x12d));}async[_0x3eb630(0x192)](_0x20195e,_0x1eb3b7=!0x1){const _0x208d95=_0x3eb630,{connection:_0x44eba2}=this[_0x208d95(0x1c5)][_0x208d95(0x194)][_0x208d95(0x175)](_0x257d19);l[_0x208d95(0x171)][_0x208d95(0x17b)](_0x44eba2,this[_0x208d95(0x166)])[_0x208d95(0x115)](_0x501ef9=>this[_0x208d95(0x181)](_0x501ef9))[_0x208d95(0x13a)](_0x1b276a=>{const _0x225120=_0x208d95;this[_0x225120(0x131)](_0x225120(0x178),_0x1b276a);}),this[_0x208d95(0x13d)](this[_0x208d95(0x1c9)],_0x208d95(0x124),this[_0x208d95(0x1f2)][_0x208d95(0x16a)](this)),this[_0x208d95(0x13d)](this[_0x208d95(0x1c9)],_0x208d95(0x207),(_0x118af1,_0x5f26b5)=>{const _0x3f0e17=_0x208d95;this[_0x3f0e17(0x131)](_0x3f0e17(0x187),_0x5f26b5);}),this[_0x208d95(0x13d)](this[_0x208d95(0x1c9)],_0x208d95(0x10f),()=>{const _0x2c1aa4=_0x208d95;this[_0x2c1aa4(0x1a4)]=!0x1;});const _0x2664c4=this[_0x208d95(0x13f)][_0x208d95(0x15a)](_0x20195e);this[_0x208d95(0x10c)]=!0x0;const _0x301423=await this[_0x208d95(0x1c9)][_0x208d95(0x151)](_0x44eba2,this[_0x208d95(0x198)](_0x20195e),_0x2664c4);if(this[_0x208d95(0x15b)]=_0x301423[_0x208d95(0x15b)],_0x1eb3b7){if(!_0x301423[_0x208d95(0x1c2)])return void this[_0x208d95(0x1d9)]();this[_0x208d95(0x10c)]=!0x1,this[_0x208d95(0x168)](),this[_0x208d95(0x138)][_0x208d95(0x1ca)](),this[_0x208d95(0x1c4)]=_0x301423[_0x208d95(0x12b)],this[_0x208d95(0x138)][_0x208d95(0x1f1)]=this[_0x208d95(0x1c4)],await this[_0x208d95(0x15f)](_0x20195e,_0x301423,_0x208d95(0x16b));}else await this[_0x208d95(0x191)](_0x301423,_0x20195e);this[_0x208d95(0x1ed)](),this[_0x208d95(0x1a4)]=!0x0;}[_0x3eb630(0x1ed)](){const _0x43aa59=_0x3eb630,_0x2b0bb3=this[_0x43aa59(0x1c5)][_0x43aa59(0x194)][_0x43aa59(0x175)](_0xa4f279),_0xa6379=this[_0x43aa59(0x1c5)][_0x43aa59(0x194)][_0x43aa59(0x175)](_0x94c737),_0x33224b=_0x2b0bb3[_0x43aa59(0x153)][_0x43aa59(0x175)](this[_0x43aa59(0x166)]);_0x33224b&&_0x33224b[_0x43aa59(0x144)]>0x1?_0xa6379[_0x43aa59(0x10a)]():this[_0x43aa59(0x13d)](_0x2b0bb3,_0x43aa59(0x14c)+this[_0x43aa59(0x166)],()=>{const _0x2b981f=_0x43aa59;0x2===_0x2b0bb3[_0x2b981f(0x153)][_0x2b981f(0x175)](this[_0x2b981f(0x166)])[_0x2b981f(0x144)]&&_0xa6379[_0x2b981f(0x10a)]();});}async[_0x3eb630(0x1f2)](_0x4e97fa,_0x326f1b,_0x1a4365,_0x5edf0e){const _0x5e79e8=_0x3eb630;if(!this[_0x5e79e8(0x10c)]&&this[_0x5e79e8(0x1fc)][_0x5e79e8(0x1f1)]==_0x326f1b){const _0x54a96b=this[_0x5e79e8(0x1d8)](_0x1a4365,_0x5edf0e);await this[_0x5e79e8(0x174)](_0x54a96b),this[_0x5e79e8(0x1e2)](_0x54a96b,_0x326f1b,_0x1a4365[_0x5e79e8(0x140)])||this[_0x5e79e8(0x131)](_0x5e79e8(0x146));}}async[_0x3eb630(0x19f)](){const _0xb4fe93=_0x3eb630;this[_0xb4fe93(0x1e3)]();const {locale:_0x20a1cf}=this[_0xb4fe93(0x1c5)];let _0x5de346;try{_0x5de346=await this[_0xb4fe93(0x1c9)][_0xb4fe93(0x120)]();}catch(_0x378948){const _0x5155d6=_0x1b1b51(_0x20a1cf,_0xb4fe93(0x188));return void this[_0xb4fe93(0x1d9)](_0x5155d6);}const _0x17313d=_0x5de346[_0xb4fe93(0x113)]||_0x5de346[_0xb4fe93(0x1e1)];if(this[_0xb4fe93(0x112)]===_0x17313d[_0xb4fe93(0x140)])await this[_0xb4fe93(0x192)](this[_0xb4fe93(0x1c5)][_0xb4fe93(0x185)][_0xb4fe93(0x13e)][_0xb4fe93(0x20e)][_0xb4fe93(0x12c)](),!0x0);else{const _0xd712f6=_0x1b1b51(_0x20a1cf,_0xb4fe93(0x139));this[_0xb4fe93(0x1d9)](_0xd712f6);}}[_0x3eb630(0x1e3)](){const _0x39ed81=_0x3eb630;this[_0x39ed81(0x1c9)][_0x39ed81(0x204)](),this[_0x39ed81(0x125)]=[],clearTimeout(this[_0x39ed81(0x1f4)]),this[_0x39ed81(0x20d)](this[_0x39ed81(0x1c9)]);}[_0x3eb630(0x181)](_0x3ddb7f){const _0x8341ac=_0x3eb630,_0x3757f2=this[_0x8341ac(0x1c5)][_0x8341ac(0x194)][_0x8341ac(0x175)](_0xa4f279);this[_0x8341ac(0x13d)](_0x3757f2,_0x8341ac(0x14c)+this[_0x8341ac(0x166)],(_0x6f98d9,{session:_0xc0c258})=>{const _0x19b7eb=_0x8341ac;if(_0xc0c258['id']===_0x3757f2[_0x19b7eb(0x1a1)]){_0x6f98d9[_0x19b7eb(0x129)]();const _0x426241=this[_0x19b7eb(0x1c5)][_0x19b7eb(0x194)][_0x19b7eb(0x1ce)](_0x19b7eb(0x152))&&this[_0x19b7eb(0x1c5)][_0x19b7eb(0x194)][_0x19b7eb(0x175)](_0x19b7eb(0x152));let _0x121183=_0xc0c258[_0x19b7eb(0x1b7)];_0x426241&&_0x426241[_0x19b7eb(0x1bb)]&&(_0x121183=_0x121183[_0x19b7eb(0x128)](_0x5009ae=>_0x19b7eb(0x1c3)!==_0x5009ae)),this[_0x19b7eb(0x1c5)][_0x19b7eb(0x194)][_0x19b7eb(0x175)](_0x19b7eb(0x1d4))[_0x19b7eb(0x201)](_0x121183,this[_0x19b7eb(0x166)]);}}),_0x3757f2[_0x8341ac(0x1a5)](this[_0x8341ac(0x166)],_0x3ddb7f);}[_0x3eb630(0x20a)](){const _0x433ca8=_0x3eb630,_0x9bcbf5=this[_0x433ca8(0x1c5)][_0x433ca8(0x126)][_0x433ca8(0x1da)];this[_0x433ca8(0x1c5)][_0x433ca8(0x126)][_0x433ca8(0x1da)]=(..._0x53a41d)=>{const _0x1301c7=_0x433ca8;if(!_0x53a41d[_0x53a41d[_0x1301c7(0x144)]-0x1][_0x1301c7(0x137)])throw new _0x434af5(_0x1301c7(0x1df),this);_0x9bcbf5[_0x1301c7(0x1d5)](this[_0x1301c7(0x1c5)][_0x1301c7(0x126)],_0x53a41d);};}[_0x3eb630(0x1a0)](){const _0xfd3713=_0x3eb630;this[_0xfd3713(0x1c5)][_0xfd3713(0x126)]['on'](_0xfd3713(0x123),(_0x354f15,[_0x829f53])=>{const _0x1e505f=_0xfd3713;if(this[_0x1e505f(0x1fc)][_0x1e505f(0x1f1)])throw new _0x434af5(_0x1e505f(0x1e7),this);_0x354f15[_0x1e505f(0x165)](),this[_0x1e505f(0x11e)]();const _0x43cf18=this[_0x1e505f(0x1c5)][_0x1e505f(0x133)][_0x1e505f(0x175)](_0x1e505f(0x17d)),_0x3cc106=this[_0x1e505f(0x1fb)](_0x829f53,_0x43cf18);0x0==_0x3cc106[_0x1e505f(0x144)]&&_0x3cc106[_0x1e505f(0x15d)](new _0x34f3de(0x0)),_0x354f15[_0x1e505f(0x11a)]=this[_0x1e505f(0x192)](_0x3cc106)[_0x1e505f(0x115)](()=>{const _0x4a9323=_0x1e505f;this[_0x4a9323(0x1c5)][_0x4a9323(0x194)][_0x4a9323(0x175)](_0x257d19)[_0x4a9323(0x1b2)](this),this[_0x4a9323(0x1c5)][_0x4a9323(0x126)][_0x4a9323(0x184)](_0x4a9323(0x159));})[_0x1e505f(0x13a)](_0x20940e=>this[_0x1e505f(0x131)](_0x1e505f(0x186),_0x20940e))[_0x1e505f(0x1bc)](()=>this[_0x1e505f(0x168)]());},{'priority':_0xfd3713(0x173)}),this[_0xfd3713(0x1c5)]['on'](_0xfd3713(0x12e),async(_0x474bbf,[_0x24f41b,_0x4af505])=>{const _0x5f9029=_0xfd3713;_0x474bbf[_0x5f9029(0x165)]();const _0x3f4782=this[_0x5f9029(0x1c5)][_0x5f9029(0x185)][_0x5f9029(0x13e)][_0x5f9029(0x170)](_0x24f41b);if(!this[_0x5f9029(0x1c6)][_0x5f9029(0x1ce)](_0x24f41b)){const _0x13131b=_0x4af505&&_0x4af505[_0x5f9029(0x126)]?_0x4af505[_0x5f9029(0x126)]:'',_0x591603=_0x4af505&&_0x4af505[_0x5f9029(0x11c)]?_0x4af505[_0x5f9029(0x11c)]:{};await this[_0x5f9029(0x13b)](_0x24f41b,_0x13131b,_0x591603);}this[_0x5f9029(0x1c5)][_0x5f9029(0x185)][_0x5f9029(0x157)]({'isUndoable':!0x1},()=>{const _0x2429b2=_0x5f9029;_0x3f4782[_0x2429b2(0x1e6)]=!0x0,this[_0x2429b2(0x1c5)][_0x2429b2(0x185)][_0x2429b2(0x13e)][_0x2429b2(0x19e)][_0x2429b2(0x1a8)](_0x3f4782);});},{'priority':_0xfd3713(0x173)});}async[_0x3eb630(0x174)](_0x29c47d){const _0xed53c5=_0x3eb630,_0x53986d=this[_0xed53c5(0x1c5)][_0xed53c5(0x194)][_0xed53c5(0x175)](_0x41416e),{connection:_0x3dfa07}=this[_0xed53c5(0x1c5)][_0xed53c5(0x194)][_0xed53c5(0x175)](_0x257d19),_0x131158=new Set();for(const _0xab9bb7 of _0x29c47d){const _0x4d9f88=_0xab9bb7[_0xed53c5(0x121)];_0x4d9f88&&!_0x53986d[_0xed53c5(0x1dc)](_0x4d9f88)&&_0x131158[_0xed53c5(0x1f6)](_0x4d9f88);}if(0x0===_0x131158[_0xed53c5(0x1af)])return;const _0x5b01af=await _0x5500a2[_0xed53c5(0x18b)](_0x3dfa07,Array[_0xed53c5(0x210)](_0x131158));for(const _0x3a43d3 of _0x5b01af)_0x53986d[_0xed53c5(0x1dc)](_0x3a43d3['id'])||_0x53986d[_0xed53c5(0x1be)](_0x3a43d3);}[_0x3eb630(0x1fb)](_0x582e50,_0x2284ce={}){const _0x5305f1=_0x3eb630,_0x28254c=this[_0x5305f1(0x1c5)][_0x5305f1(0x185)],_0xb03230=[];let _0x1555ed=0x0;const _0x3930a1=_0x5305f1(0x1d2)==typeof _0x582e50?{'main':_0x582e50}:_0x582e50;for(const _0x38ddf8 of Object[_0x5305f1(0x20f)](_0x3930a1)){if(!this[_0x5305f1(0x1fc)][_0x5305f1(0x1f5)][_0x5305f1(0x1ce)](_0x38ddf8))throw new _0x434af5(_0x5305f1(0x164),this);const _0x244ce0=this[_0x5305f1(0x1c5)][_0x5305f1(0x126)][_0x5305f1(0x16d)](_0x3930a1[_0x38ddf8]),_0x4612da=this[_0x5305f1(0x1fc)][_0x5305f1(0x170)](_0x38ddf8),_0x59d6d1=new _0x2e2ad2(_0x28254c[_0x5305f1(0x14d)](_0x4612da,0x0),_0x244ce0,_0x1555ed++);_0xb03230[_0x5305f1(0x15d)](_0x59d6d1);for(const [_0x3ae0b3,_0x4d68ae]of _0x244ce0[_0x5305f1(0x1bd)]){const _0x148986=_0x28254c[_0x5305f1(0x117)](_0x28254c[_0x5305f1(0x10e)](_0x4612da,_0x4d68ae[_0x5305f1(0x1cb)][_0x5305f1(0x14f)][_0x5305f1(0x1b0)]()),_0x28254c[_0x5305f1(0x10e)](_0x4612da,_0x4d68ae[_0x5305f1(0x169)][_0x5305f1(0x14f)][_0x5305f1(0x1b0)]())),_0x3a46e8=new _0x214fb7(_0x3ae0b3,null,_0x148986,_0x28254c[_0x5305f1(0x1bd)],!0x0,_0x1555ed++);_0xb03230[_0x5305f1(0x15d)](_0x3a46e8);}}if(_0x2284ce)for(const [_0x447507,_0x31428a]of Object[_0x5305f1(0x110)](_0x2284ce)){const _0x2ad4f5=_0x28254c[_0x5305f1(0x13e)][_0x5305f1(0x170)](_0x447507);if(!_0x2ad4f5)throw new _0x434af5(_0x5305f1(0x1cc),null);for(const [_0x22c7c8,_0x368657]of Object[_0x5305f1(0x110)](_0x31428a))if(null!==_0x368657){const _0x518ac3=new _0xc5bada(_0x2ad4f5,_0x22c7c8,null,_0x368657,_0x1555ed++);_0xb03230[_0x5305f1(0x15d)](_0x518ac3);}}return _0xb03230;}async[_0x3eb630(0x13b)](_0xb63566,_0x576203,_0x2fb90c){const _0x20ad5e=_0x3eb630;this[_0x20ad5e(0x1fb)]({[_0xb63566]:_0x576203},{[_0xb63566]:_0x2fb90c})[_0x20ad5e(0x1c7)]((_0x330713,_0x5adec6)=>{const _0x44b1e1=_0x20ad5e;_0x330713[_0x44b1e1(0x158)]=this[_0x44b1e1(0x1fc)][_0x44b1e1(0x1f1)]+_0x5adec6,_0x330713[_0x44b1e1(0x18a)]=!0x0,this[_0x44b1e1(0x177)](_0x330713);}),this[_0x20ad5e(0x1b8)](),await this[_0x20ad5e(0x160)]();}async[_0x3eb630(0x191)](_0x43f608,_0x2846f8){const _0x25efd5=_0x3eb630;let _0x3c6bc6;this[_0x25efd5(0x1c4)]=_0x43f608[_0x25efd5(0x12b)];const _0x3e8329=_0x43f608[_0x25efd5(0x1c2)]&&!_0x43f608[_0x25efd5(0x197)],_0x101abf=_0x3e8329?0x0:_0x43f608[_0x25efd5(0x126)][_0x25efd5(0x158)];if(_0x2846f8[_0x25efd5(0x1c7)](_0x4376b8=>{const _0x2faad2=_0x25efd5;_0x4376b8[_0x2faad2(0x18a)]=!0x0,_0x4376b8[_0x2faad2(0x19b)]=_0x43f608[_0x2faad2(0x1eb)],_0x4376b8[_0x2faad2(0x121)]=null;}),_0x3e8329)_0x3c6bc6=_0x2846f8,this[_0x25efd5(0x1e9)](_0x3c6bc6,_0x3e8329);else{if(_0x43f608[_0x25efd5(0x197)]){const _0x1ffae0=this[_0x25efd5(0x1fb)](_0x43f608[_0x25efd5(0x197)]);this[_0x25efd5(0x1fc)][_0x25efd5(0x20e)][_0x25efd5(0x1f1)]=-_0x1ffae0[_0x25efd5(0x144)],_0x1ffae0[_0x25efd5(0x1c7)](_0x2143bb=>{const _0x591a18=_0x25efd5;_0x2143bb[_0x591a18(0x158)]-=_0x1ffae0[_0x591a18(0x144)],_0x2143bb[_0x591a18(0x19b)]=_0x43f608[_0x591a18(0x1eb)],_0x2143bb[_0x591a18(0x18a)]=!0x0,_0x2143bb[_0x591a18(0x121)]=null;}),this[_0x25efd5(0x1e9)](_0x1ffae0,!0x0),this[_0x25efd5(0x138)][_0x25efd5(0x1f1)]=-_0x1ffae0[_0x25efd5(0x144)]+this[_0x25efd5(0x1c4)],this[_0x25efd5(0x17c)](_0x1ffae0);}this[_0x25efd5(0x1fc)][_0x25efd5(0x20e)][_0x25efd5(0x1f1)]=_0x101abf,_0x3c6bc6=this[_0x25efd5(0x1d8)](_0x43f608[_0x25efd5(0x126)],_0x43f608[_0x25efd5(0x1fa)]),await this[_0x25efd5(0x174)](_0x3c6bc6),this[_0x25efd5(0x1e9)](_0x3c6bc6,_0x3e8329);}_0x43f608[_0x25efd5(0x140)]&&(this[_0x25efd5(0x13f)][_0x25efd5(0x114)](_0x3c6bc6,_0x43f608[_0x25efd5(0x140)]),this[_0x25efd5(0x112)]=_0x43f608[_0x25efd5(0x140)]),this[_0x25efd5(0x138)][_0x25efd5(0x1f1)]=_0x101abf+this[_0x25efd5(0x1c4)],this[_0x25efd5(0x17c)](_0x3c6bc6),_0x2846f8[_0x25efd5(0x128)](_0x271848=>{const _0xdb1c0c=_0x25efd5,_0x340382=this[_0xdb1c0c(0x1f9)](_0x271848);return _0x340382&&!this[_0xdb1c0c(0x1c6)][_0xdb1c0c(0x1ce)](_0x340382);})[_0x25efd5(0x1c7)]((_0x504070,_0x2d4f3d)=>{const _0x326a48=_0x25efd5;_0x504070[_0x326a48(0x158)]=this[_0x326a48(0x1fc)][_0x326a48(0x1f1)]+_0x2d4f3d,this[_0x326a48(0x177)](_0x504070);}),this[_0x25efd5(0x1b4)]()?(this[_0x25efd5(0x11b)]=0x0,this[_0x25efd5(0x1b8)](!0x0),await this[_0x25efd5(0x160)]()):(this[_0x25efd5(0x10c)]=!0x1,this[_0x25efd5(0x168)]());}[_0x3eb630(0x131)](_0x17a3b2,_0x572e7d){const _0x1d3b32=_0x3eb630,_0x19ebe2=_0x572e7d&&_0x572e7d[_0x1d3b32(0x16f)];if(_0x19ebe2&&_0x19ebe2[_0x1d3b32(0x15e)](_0x1d3b32(0x156)))throw _0x572e7d;const _0x5d8c08=this[_0x1d3b32(0x1c5)][_0x1d3b32(0x194)][_0x1d3b32(0x175)](_0x257d19);throw this[_0x1d3b32(0x10c)]=!0x0,_0x5d8c08[_0x1d3b32(0x204)](),this[_0x1d3b32(0x1c5)][_0x1d3b32(0x199)](_0x1d3b32(0x162)),new _0x434af5(_0x17a3b2,this[_0x1d3b32(0x1c5)],_0x19ebe2?{'originalError':_0x19ebe2}:void 0x0);}[_0x3eb630(0x177)](_0x133150){const _0x83fb5f=_0x3eb630;this[_0x83fb5f(0x195)][_0x83fb5f(0x1ce)](_0x133150)||(this[_0x83fb5f(0x195)][_0x83fb5f(0x1f6)](_0x133150),this[_0x83fb5f(0x125)][_0x83fb5f(0x15d)](_0x133150),this[_0x83fb5f(0x155)]||_0x83fb5f(0x116)==_0x133150[_0x83fb5f(0x1ff)]&&!_0x133150[_0x83fb5f(0x14b)]||this[_0x83fb5f(0x11e)]());}[_0x3eb630(0x1b8)](_0x26644f=!0x1){const _0x31d8ad=_0x3eb630;!_0x26644f&&this[_0x31d8ad(0x10c)]||(this[_0x31d8ad(0x10c)]=!0x0,clearTimeout(this[_0x31d8ad(0x1f4)]),this[_0x31d8ad(0x1f4)]=setTimeout(()=>{const _0x1d202d=_0x31d8ad;this[_0x1d202d(0x1de)]()[_0x1d202d(0x115)](_0x30e110=>{const _0x53d6cb=_0x1d202d;_0x30e110&&(this[_0x53d6cb(0x168)](),this[_0x53d6cb(0x10c)]=!0x1);})[_0x1d202d(0x13a)](_0x2e500f=>{const _0x4534d7=_0x1d202d;this[_0x4534d7(0x168)](),this[_0x4534d7(0x10c)]=!0x1,function(_0x531e18){const _0x40aa15=_0x4534d7;return _0x531e18[_0x40aa15(0x16f)][_0x40aa15(0x15e)](_0x40aa15(0x145))||_0x531e18[_0x40aa15(0x16f)][_0x40aa15(0x15e)](_0x40aa15(0x1dd))||_0x531e18[_0x40aa15(0x16f)][_0x40aa15(0x15e)](_0x40aa15(0x1a2));}(_0x2e500f)||this[_0x4534d7(0x131)](_0x2e500f[_0x4534d7(0x16f)],_0x2e500f);});},this[_0x31d8ad(0x11b)]));}[_0x3eb630(0x160)](){return new Promise(_0x31aaf7=>{const _0x3f5fa3=_0x4344;this['on'](_0x3f5fa3(0x1f8),()=>{_0x31aaf7();});});}async[_0x3eb630(0x1de)](){const _0x36f173=_0x3eb630,_0x48a893=this[_0x36f173(0x1c5)][_0x36f173(0x194)][_0x36f173(0x175)](_0x94c737);if(this[_0x36f173(0x20c)]()&&(_0x48a893[_0x36f173(0x10a)](),this[_0x36f173(0x167)]=!0x1),!this[_0x36f173(0x1b4)]())return!0x0;const _0x29e585=[...this[_0x36f173(0x125)]];for(const _0x10f5e5 of _0x29e585)_0x10f5e5[_0x36f173(0x148)]=this[_0x36f173(0x1fc)][_0x36f173(0x20e)][_0x36f173(0x1ab)](_0x10f5e5);const _0x2b7394=this[_0x36f173(0x13f)][_0x36f173(0x15a)](_0x29e585),_0x47246e=K++,_0x5ad83e=this[_0x36f173(0x198)](_0x29e585),_0x11fd1b=await this[_0x36f173(0x1c9)][_0x36f173(0x1cf)](_0x5ad83e,_0x5ad83e[_0x36f173(0x158)],_0x2b7394);try{return await this[_0x36f173(0x15f)](_0x29e585,_0x11fd1b,_0x47246e);}catch(_0x382d23){return this[_0x36f173(0x131)](_0x36f173(0x1d1),_0x382d23);}}async[_0x3eb630(0x15f)](_0x276c05,_0x398975,_0x247602){const _0x359b58=_0x3eb630;if(_0x359b58(0x207)in _0x398975)throw _0x398975[_0x359b58(0x207)];let _0x2283b4=!0x1;if(_0x398975[_0x359b58(0x1c2)]){_0x398975[_0x359b58(0x140)]&&(this[_0x359b58(0x112)]=_0x398975[_0x359b58(0x140)]),this[_0x359b58(0x125)]=this[_0x359b58(0x125)][_0x359b58(0x128)](_0x5be67d=>!_0x276c05[_0x359b58(0x206)](_0x5be67d));for(const _0x37804c of _0x276c05)_0x37804c[_0x359b58(0x19b)]=_0x359b58(0x130)in _0x398975&&_0x398975[_0x359b58(0x130)]||void 0x0;Q(_0x276c05,_0x398975[_0x359b58(0x1f1)]-_0x276c05[_0x359b58(0x144)]),this[_0x359b58(0x17c)](_0x276c05);const _0x5dd5de=_0x276c05[_0x359b58(0x128)](_0x2bf9be=>{const _0x4d67cc=_0x359b58;if(!_0x2bf9be[_0x4d67cc(0x18a)])return!0x1;const _0x51fec4=this[_0x4d67cc(0x1f9)](_0x2bf9be);return _0x51fec4&&!this[_0x4d67cc(0x1c6)][_0x4d67cc(0x1ce)](_0x51fec4);});Q(_0x5dd5de,this[_0x359b58(0x1fc)][_0x359b58(0x1f1)]),this[_0x359b58(0x1e9)](_0x5dd5de),_0x2283b4=!0x0,this[_0x359b58(0x11b)]=this[_0x359b58(0x1c1)];}else{const _0x2ccf13=this[_0x359b58(0x1d8)](_0x398975[_0x359b58(0x126)],_0x398975[_0x359b58(0x1fa)])[_0x359b58(0x128)](_0x20f33b=>_0x20f33b[_0x359b58(0x158)]>=this[_0x359b58(0x1ee)]);_0x2ccf13[_0x359b58(0x1c7)](_0x391589=>this[_0x359b58(0x1ad)](_0x391589)),this[_0x359b58(0x125)]=this[_0x359b58(0x125)][_0x359b58(0x128)](_0x417a4d=>!_0x417a4d[_0x359b58(0x18a)]||!this[_0x359b58(0x1c6)][_0x359b58(0x1ce)](this[_0x359b58(0x1f9)](_0x417a4d))),this[_0x359b58(0x125)][_0x359b58(0x144)]&&Q(this[_0x359b58(0x125)],this[_0x359b58(0x125)][0x0][_0x359b58(0x158)]),await this[_0x359b58(0x174)](_0x2ccf13),_0x2283b4=this[_0x359b58(0x1e2)](_0x2ccf13,_0x398975[_0x359b58(0x1f1)],_0x398975[_0x359b58(0x140)]),this[_0x359b58(0x11b)]=Math[_0x359b58(0x182)](this[_0x359b58(0x11b)]/0x2);}return _0x2283b4?!this[_0x359b58(0x1b4)]()||(this[_0x359b58(0x1b8)](!0x0),!0x1):this[_0x359b58(0x131)](_0x359b58(0x19d));}[_0x3eb630(0x1e2)](_0x5cd002,_0x3a5c2e,_0x503f46){const _0x508fa7=_0x3eb630;try{const _0x48f6c7={'document':this[_0x508fa7(0x1fc)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x44386f,operationsB:_0x44e6d3,originalOperations:_0x37e336}=_0x33c7f5(_0x5cd002,this[_0x508fa7(0x125)],_0x48f6c7);Q(_0x44386f,this[_0x508fa7(0x1fc)][_0x508fa7(0x1f1)]),Q(_0x44e6d3,_0x3a5c2e);for(const _0x508c65 of _0x44386f){const _0x2ae092=_0x37e336[_0x508fa7(0x175)](_0x508c65);_0x508c65[_0x508fa7(0x121)]=_0x2ae092?_0x2ae092[_0x508fa7(0x121)]:null;}_0x503f46&&(this[_0x508fa7(0x13f)][_0x508fa7(0x114)](_0x5cd002,_0x503f46),this[_0x508fa7(0x112)]=_0x503f46),this[_0x508fa7(0x125)]=[..._0x44e6d3],this[_0x508fa7(0x1e9)](_0x44386f),this[_0x508fa7(0x17c)](_0x5cd002);}catch(_0x1cc67d){return console[_0x508fa7(0x207)](_0x1cc67d),!0x1;}return!0x0;}[_0x3eb630(0x1e9)](_0x19d4c7,_0x59d73=!0x1){const _0xe2774a=_0x3eb630;this[_0xe2774a(0x1c5)][_0xe2774a(0x185)][_0xe2774a(0x157)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3658dd=>{const _0x55dda9=_0xe2774a;for(const _0x1ddcaf of _0x19d4c7)this[_0x55dda9(0x195)][_0x55dda9(0x1f6)](_0x1ddcaf),this[_0x55dda9(0x1ad)](_0x1ddcaf),_0x3658dd[_0x55dda9(0x1ea)][_0x55dda9(0x19a)](_0x1ddcaf),this[_0x55dda9(0x1c5)][_0x55dda9(0x185)][_0x55dda9(0x20b)](_0x1ddcaf);});}[_0x3eb630(0x1ad)](_0x45c5fd){const _0x5ec5a4=_0x3eb630,_0x24f719=this[_0x5ec5a4(0x1f9)](_0x45c5fd);_0x24f719&&this[_0x5ec5a4(0x1c6)][_0x5ec5a4(0x1f6)](_0x24f719);}[_0x3eb630(0x1f9)](_0x4289da){const _0x31db15=_0x3eb630;let _0x4690bf,_0x13ab16;switch(_0x4289da[_0x31db15(0x1ff)]){case _0x31db15(0x127):_0x4690bf=_0x4289da[_0x31db15(0x18e)][_0x31db15(0x16c)];break;case _0x31db15(0x116):if(_0x13ab16=_0x4289da[_0x31db15(0x122)],!_0x13ab16)return null;_0x4690bf=_0x13ab16[_0x31db15(0x16c)];break;case _0x31db15(0x1ac):_0x4690bf=_0x4289da[_0x31db15(0x16c)];break;case _0x31db15(0x17f):_0x4690bf=_0x4289da[_0x31db15(0x179)];break;case _0x31db15(0x1d7):_0x4690bf=_0x4289da[_0x31db15(0x132)][_0x31db15(0x16c)];break;default:return null;}return _0x4690bf[_0x31db15(0x183)];}[_0x3eb630(0x17c)](_0x4921eb){const _0x3e1981=_0x3eb630;_0x4921eb[_0x3e1981(0x1c7)](_0x4c4160=>{const _0x222d49=_0x3e1981,_0xdbe304=_0x4c4160[_0x222d49(0x134)]();_0xdbe304[_0x222d49(0x121)]=_0x4c4160[_0x222d49(0x121)],_0xdbe304[_0x222d49(0x18a)]=!!_0x4c4160[_0x222d49(0x18a)],_0xdbe304[_0x222d49(0x19b)]=_0x4c4160[_0x222d49(0x19b)],_0xdbe304[_0x222d49(0x158)]+=this[_0x222d49(0x1c4)],_0x4c4160[_0x222d49(0x1e5)]&&this[_0x222d49(0x111)][_0x222d49(0x1f6)](_0xdbe304),this[_0x222d49(0x138)][_0x222d49(0x19a)](_0xdbe304);});}[_0x3eb630(0x1d9)](_0x48ecc6){const _0x60a529=_0x3eb630,_0x3010e0=this[_0x60a529(0x1c5)][_0x60a529(0x194)][_0x60a529(0x175)](_0x60a529(0x13c)),_0x456cc9=this[_0x60a529(0x1c5)][_0x60a529(0x1ec)];_0x48ecc6||(_0x48ecc6=_0x1b1b51(_0x456cc9,_0x60a529(0x1ba))),_0x3010e0[_0x60a529(0x17a)](_0x48ecc6,{'title':_0x1b1b51(_0x456cc9,_0x60a529(0x16e)),'namespace':_0x60a529(0x118)}),this[_0x60a529(0x15c)]=!0x0,clearTimeout(this[_0x60a529(0x1f4)]),this[_0x60a529(0x125)]=[],this[_0x60a529(0x1c5)][_0x60a529(0x194)][_0x60a529(0x175)](_0x257d19)[_0x60a529(0x204)]();}[_0x3eb630(0x11e)](){const _0x2dcd11=_0x3eb630;this[_0x2dcd11(0x155)]||(this[_0x2dcd11(0x155)]=this[_0x2dcd11(0x1c5)][_0x2dcd11(0x194)][_0x2dcd11(0x175)](_0x5dfb4d)[_0x2dcd11(0x1f6)](_0x1b1b51(this[_0x2dcd11(0x1c5)][_0x2dcd11(0x1ec)],_0x2dcd11(0x1e0))));}[_0x3eb630(0x168)](){const _0x22c82b=_0x3eb630;this[_0x22c82b(0x155)]&&(this[_0x22c82b(0x1c5)][_0x22c82b(0x194)][_0x22c82b(0x175)](_0x5dfb4d)[_0x22c82b(0x196)](this[_0x22c82b(0x155)]),this[_0x22c82b(0x155)]=null);}[_0x3eb630(0x198)](_0x1aa92e){const _0x1ecbf3=_0x3eb630,_0x39ce2a=_0x1aa92e[_0x1ecbf3(0x1a9)](_0x5717e7=>_0x5717e7[_0x1ecbf3(0x208)]());return this[_0x1ecbf3(0x135)][_0x1ecbf3(0x1cd)](_0x39ce2a);}[_0x3eb630(0x1d8)](_0xaf4a61,_0x55a2ec){const _0x43146f=_0x3eb630;return this[_0x43146f(0x135)][_0x43146f(0x205)](_0xaf4a61)[_0x43146f(0x1a9)]((_0x52c8d1,_0x3f85cb)=>{const _0x69b111=_0x43146f,_0x2babfe=_0x69b111(0x123)==_0x55a2ec[_0x3f85cb][_0x69b111(0x1ff)];if(_0x69b111(0x154)==_0x52c8d1[_0x69b111(0x143)]){const _0x2da672=_0x52c8d1[_0x69b111(0x18e)][_0x69b111(0x16c)];!this[_0x69b111(0x1fc)][_0x69b111(0x170)](_0x2da672)&&(this[_0x69b111(0x1fc)][_0x69b111(0x18c)](_0x69b111(0x1bf),_0x2da672)[_0x69b111(0x1c0)]=!0x1);}const _0x22f6bd=_0x4d34d0[_0x69b111(0x203)](_0x52c8d1,this[_0x69b111(0x1fc)]);return _0x22f6bd[_0x69b111(0x148)]=_0x52c8d1[_0x69b111(0x148)],_0x22f6bd[_0x69b111(0x18a)]=_0x2babfe,_0x22f6bd[_0x69b111(0x121)]=_0x2babfe?null:_0x55a2ec[_0x3f85cb][_0x69b111(0x119)],_0x22f6bd[_0x69b111(0x1e5)]=_0x69b111(0x1d3)===_0x55a2ec[_0x3f85cb][_0x69b111(0x1ff)],_0x22f6bd[_0x69b111(0x19b)]=_0x55a2ec[_0x3f85cb][_0x69b111(0x19b)],_0x22f6bd;});}[_0x3eb630(0x1fe)](){const _0x27e4aa=_0x3eb630;this[_0x27e4aa(0x167)]=!0x0,this[_0x27e4aa(0x20c)]()?this[_0x27e4aa(0x1b8)]():this[_0x27e4aa(0x167)]=!0x1;}[_0x3eb630(0x20c)](){const _0x179526=_0x3eb630,_0x34bf92=this[_0x179526(0x1c5)][_0x179526(0x194)][_0x179526(0x175)](_0xa4f279)[_0x179526(0x153)][_0x179526(0x175)](this[_0x179526(0x166)]);return!this[_0x179526(0x1c5)][_0x179526(0x1b6)]&&!!_0x34bf92&&_0x34bf92[_0x179526(0x144)]>0x1&&this[_0x179526(0x167)];}[_0x3eb630(0x1b4)](){const _0x34f40e=_0x3eb630;return this[_0x34f40e(0x125)][_0x34f40e(0x144)]>0x0||this[_0x34f40e(0x20c)]();}}l[_0x3eb630(0x171)]=_0x348209;export default l;class J extends Error{}function Q(_0x319b58,_0x564a03){const _0x56bb8d=_0x3eb630;for(const _0x427489 of _0x319b58)_0x427489[_0x56bb8d(0x158)]=_0x564a03++;}function _0x1f28(){const _0x25d028=['off','getOperationAuthor','offset','getOperations','reconnect','loadRoot','collaboration.channelId','lastOperationAcceptedAt','_crash','targetPosition','config','clone','_compressor','13eMSIMX','suppressErrorInCollaboration','serverHistory','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.','catch','_loadRoot','Notification','listenTo','document','_operationIdentifier','lastOperationId','destroy','selection','__className','length','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-init-service-incorrect-server-operation','code','wasUndone','unregister','1UjZzKp','affectsData','sessionAdd:','createPositionAt','connection','path','486117hcHSVt','connect','CommentsOnly','channelSessions','InsertOperation','_pendingAction','realtimecollaborationclient','enqueueChange','baseVersion','ready','getIdOfTheLastOperation','sessionId','_hasSynchronizationProblem','push','startsWith','_handleServerResponse','_waitUntilSynced','directChange','realtimecollaborationclient-error','_handleReconnectionResponse','realtimecollaborationclient-init-non-existent-root','stop','_channelId','_hasSelectionChanged','_clearPendingAction','end','bind','reconnection:\x20flushed\x20session','root','parse','Synchronization\x20issue','message','getRoot','CollaborativeEditingService','lastSyncVersion','high','_fetchMissingUsers','get','change:_isEditingAllowed','_saveOperationInBuffer','realtimecollaborationclient-init-session-connection-error','affectedSelectable','showWarning','getConnectedSessions','_updateServerHistory','rootsAttributes','rtc-destroyed','addRoot','_isEditingAllowed','_initSessionsHandling','round','rootName','fire','model','realtimecollaborationclient-init-connection-failed','realtimecollaborationclient-init-service-internal-error','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','change:hasDomSelection','_isInit','getMany','createRoot','404','position','editing','cloudDocumentVersion','_handleInitialConnectionData','_connectService','104ZKTMKS','plugins','_knownOperations','remove','initData','_compressOperations','enableReadOnlyMode','addOperation','createdAt','collaboration','realtimecollaborationclient-handleserverresponse','differ','_connectAfterSessionHasBeenFlushed','_setUpDataInit','mySessionId','cloud-services-internal-error:\x20Request\x20timeout.','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isConnected','register','isPremiumPlugin','39880XlqRKh','_bufferRootLoad','map','224735REaIpS','isUndoneOperation','addRootAttribute','_addKnownRoot','collaboration-missing-channelid','size','slice','_operationToId','addToReconnectionStack','283703ERnkLe','_shouldSendUpdate','RealTimeCollaborationClient','isReadOnly','permissions','_sendBufferedOperationsDelayed','409','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.','isEnabled','finally','markers','addUser','$root','_isAttached','_baseBufferDelay','wereChangesApplied','document:write','_offset','editor','_knownRootNames','forEach','change:range','_service','reset','start','multi-root-editor-root-attributes-no-root','compress','has','sendOperations','isOfficialPlugin','realtimecollaborationclient-sendbufferedoperations','string','cs:removeUser','Permissions','apply','pluginName','move','_decompressOperations','_handleReconnectionError','set','view','getUser','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_sendBufferedOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','PENDING_ACTION_SENDING_DATA','lastDocumentSession','_handleExternalOperations','_disconnectService','disableReadOnlyMode','_isDisconnection','_isLoaded','realtimecollaborationclient-init-document-already-initialized','1771plWHQS','_applyOperationsSet','batch','sessionCreatedAt','locale','_handleSendingSelectionMarkers','_lastServerVersion','_ignoredOperations','88hRbcNY','version','_handleReceivedOperations','removeFromReconnectionStack','_sendBufferedOperationsDelayId','roots','add','define','change:_isPendingUpdate','_getAffectedRoot','metadata','_getOperationsFromInitData','_document','cloudServices.bundleVersion','_refreshUserSelectionMarkers','type','1947708lGbjlI','setPermissions','rtc-offline','fromJSON','disconnect','decompress','includes','error','toJSON','connected','_initThrowingOnDataSet','applyOperation','_shouldSendSelectionUpdate','stopListening','history','keys','from','isDocumentOperation','state','createUserMarkerOperations','5531388Nwwckm','_isPendingUpdate','1693894PGMuEh','createPositionFromPath','disconnected','entries','_disconnectionOperations','_lastSyncedOperationId','currentDocumentSession','setIdForTheLastOperation','then','marker','createRange','real-time-collaboration','userId','return','_currentBufferDelay','attributes','96PDfisL','_setPendingAction','requires','getDocumentDetails','_authorId','newRange','init','operationsReceived','_bufferedOperations','data','insert','filter'];_0x1f28=function(){return _0x25d028;};return _0x1f28();}class X{constructor(_0x12edd9){const _0x4dcf29=_0x3eb630;this[_0x4dcf29(0x1ef)]=_0x12edd9,this[_0x4dcf29(0x1b1)]=new WeakMap();}[_0x3eb630(0x15a)](_0x5ecfb7){const _0x303565=_0x3eb630;let _0x2cc55a=_0x5ecfb7[_0x303565(0x144)];for(;_0x2cc55a--;){const _0x4c27f8=_0x5ecfb7[_0x2cc55a];if(!this[_0x303565(0x1ef)][_0x303565(0x1ce)](_0x4c27f8)){if(!this[_0x303565(0x1b1)][_0x303565(0x1ce)](_0x4c27f8)){const _0x1f8896=_0x5293bf()[_0x303565(0x1b0)](0x1,0x12);this[_0x303565(0x1b1)][_0x303565(0x1da)](_0x4c27f8,_0x1f8896);}return this[_0x303565(0x1b1)][_0x303565(0x175)](_0x4c27f8);}}}[_0x3eb630(0x114)](_0x5f2e60,_0x3d9d42){const _0x40a08a=_0x3eb630;if(!_0x3d9d42)return;let _0xc41d6d=_0x5f2e60[_0x40a08a(0x144)];for(;_0xc41d6d--;){const _0x50fcfd=_0x5f2e60[_0xc41d6d];this[_0x40a08a(0x1ef)][_0x40a08a(0x1ce)](_0x50fcfd)||this[_0x40a08a(0x1b1)][_0x40a08a(0x1da)](_0x50fcfd,_0x3d9d42);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x348354=_0x6e35;function _0x6e35(_0x46d683,_0x391429){const _0x101b81=_0x101b();return _0x6e35=function(_0x6e35c,_0x165031){_0x6e35c=_0x6e35c-0x125;let _0x4cfc74=_0x101b81[_0x6e35c];return _0x4cfc74;},_0x6e35(_0x46d683,_0x391429);}(function(_0x2992fa,_0x75513b){const _0xd05da6=_0x6e35,_0xb1dc9e=_0x2992fa();while(!![]){try{const _0x44710a=parseInt(_0xd05da6(0x149))/0x1+-parseInt(_0xd05da6(0x142))/0x2*(-parseInt(_0xd05da6(0x159))/0x3)+parseInt(_0xd05da6(0x139))/0x4+parseInt(_0xd05da6(0x13d))/0x5+parseInt(_0xd05da6(0x14b))/0x6+parseInt(_0xd05da6(0x126))/0x7*(-parseInt(_0xd05da6(0x15a))/0x8)+-parseInt(_0xd05da6(0x141))/0x9*(parseInt(_0xd05da6(0x144))/0xa);if(_0x44710a===_0x75513b)break;else _0xb1dc9e['push'](_0xb1dc9e['shift']());}catch(_0x3c8e9a){_0xb1dc9e['push'](_0xb1dc9e['shift']());}}}(_0x101b,0x70cbe));import{ContextPlugin as _0x46ee98}from'ckeditor5/src/core.js';import{Collection as _0x573b23,CKEditorError as _0x1ba8a3}from'ckeditor5/src/utils.js';import _0x495c96 from'./websocketgateway.js';function _0x101b(){const _0x4b8e95=['9422541zYVxUT','2hvDvpS','stopListening','10CsZDmt','delete','_handleSessionRemove','change:state','sessionId','178100KJRloc','pluginName','1700310ycCmOv','forEach','remove','orderNumber','addUser','listenTo','has','register','defineMe','sessionAdd:','connection','_users','clear','values','126303jfVNxc','6584XJcUug','_uniqueUsersCount','_createUser','add','fire','context','Sessions','state','allConnectedUsers','getUserSessions','511ywnmmU','isOfficialPlugin','channelConnectedUsers','unregister','sessions-unregister-not-exist','connected','isPremiumPlugin','mySessionId','plugins','size','assign','channelSessions','get','set','_registeredSessions','init','sessions-register-already-registered','getUser','getUserBySessionId','3300616YiAbMq','_handleSessionAdd','requires','getUserRole','1201510rXqauh','isMe','user','role'];_0x101b=function(){return _0x4b8e95;};return _0x101b();}import{Users as _0x152862}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x46ee98{static get[_0x348354(0x14a)](){const _0x381ab8=_0x348354;return _0x381ab8(0x160);}static get[_0x348354(0x127)](){return!0x0;}static get[_0x348354(0x12c)](){return!0x0;}static get[_0x348354(0x13b)](){return[_0x495c96,_0x152862];}constructor(_0x3e793d){const _0x45e28e=_0x348354;super(_0x3e793d),this[_0x45e28e(0x131)]=new Map(),this[_0x45e28e(0x128)]=new Map(),this[_0x45e28e(0x162)]=new _0x573b23(),this[_0x45e28e(0x134)]=new Map(),this[_0x45e28e(0x15b)]=0x0,this[_0x45e28e(0x156)]=this[_0x45e28e(0x15f)][_0x45e28e(0x12e)][_0x45e28e(0x132)](_0x152862);}[_0x348354(0x135)](){const _0x481a66=_0x348354,_0x322b80=this[_0x481a66(0x15f)][_0x481a66(0x12e)][_0x481a66(0x132)](_0x495c96);this[_0x481a66(0x150)](_0x322b80,_0x481a66(0x147),(_0x533bdd,_0x4dcac6,_0x4d3d38)=>{const _0x462132=_0x481a66;if(_0x462132(0x12b)!==_0x4d3d38)this[_0x462132(0x131)][_0x462132(0x14c)](_0x2dc78e=>_0x2dc78e[_0x462132(0x157)]()),this[_0x462132(0x128)][_0x462132(0x14c)](_0x5ca316=>_0x5ca316[_0x462132(0x157)]()),this[_0x462132(0x162)][_0x462132(0x157)]();else{for(const [_0x4be0a9,_0x101979]of this[_0x462132(0x134)])for(const _0x4e8728 of _0x101979)this[_0x462132(0x13a)](_0x4be0a9,_0x4e8728);}}),this[_0x481a66(0x15c)](_0x322b80[_0x481a66(0x155)]['me'],!0x0);}[_0x348354(0x152)](_0x2ce86d,_0x224d84){const _0x189cb5=_0x348354;if(this[_0x189cb5(0x134)][_0x189cb5(0x151)](_0x2ce86d))throw new _0x1ba8a3(_0x189cb5(0x136),null,{'channelId':_0x2ce86d});this[_0x189cb5(0x134)][_0x189cb5(0x133)](_0x2ce86d,_0x224d84),this[_0x189cb5(0x131)][_0x189cb5(0x133)](_0x2ce86d,new _0x573b23()),this[_0x189cb5(0x128)][_0x189cb5(0x133)](_0x2ce86d,new _0x573b23()),this[_0x189cb5(0x150)](_0x224d84,_0x189cb5(0x15d),(_0x114aaa,_0xd0a60b)=>this[_0x189cb5(0x13a)](_0x2ce86d,_0xd0a60b)),this[_0x189cb5(0x150)](_0x224d84,_0x189cb5(0x14d),(_0x181dba,_0x18ef62)=>this[_0x189cb5(0x146)](_0x2ce86d,_0x18ef62));for(const _0x3e6118 of _0x224d84)this[_0x189cb5(0x13a)](_0x2ce86d,_0x3e6118);}[_0x348354(0x129)](_0x3a313e){const _0x529f80=_0x348354;if(!this[_0x529f80(0x134)][_0x529f80(0x151)](_0x3a313e))throw new _0x1ba8a3(_0x529f80(0x12a),null,{'channelId':_0x3a313e});const _0x3564c8=this[_0x529f80(0x134)][_0x529f80(0x132)](_0x3a313e);this[_0x529f80(0x143)](_0x3564c8);for(const _0x1b4e53 of _0x3564c8)_0x529f80(0x12b)===this[_0x529f80(0x15f)][_0x529f80(0x12e)][_0x529f80(0x132)](_0x495c96)[_0x529f80(0x161)]&&this[_0x529f80(0x146)](_0x3a313e,_0x1b4e53);this[_0x529f80(0x134)][_0x529f80(0x145)](_0x3a313e),this[_0x529f80(0x131)][_0x529f80(0x145)](_0x3a313e),this[_0x529f80(0x128)][_0x529f80(0x145)](_0x3a313e);}get[_0x348354(0x12d)](){const _0x4446e5=_0x348354;return this[_0x4446e5(0x15f)][_0x4446e5(0x12e)][_0x4446e5(0x132)](_0x495c96)[_0x4446e5(0x155)][_0x4446e5(0x148)];}[_0x348354(0x138)](_0xc5c86d){const _0x13c912=_0x348354;for(const _0xc2d80e of this[_0x13c912(0x131)][_0x13c912(0x158)]())for(const _0x5005be of _0xc2d80e)if(_0x5005be['id']===_0xc5c86d)return _0x5005be[_0x13c912(0x13f)];}[_0x348354(0x125)](_0x1f2dfe,_0x113106){const _0x34d419=_0x348354,_0x28f421=_0x113106?[this[_0x34d419(0x131)][_0x34d419(0x132)](_0x113106)]:this[_0x34d419(0x131)][_0x34d419(0x158)](),_0x426138=new Set();for(const _0x14bf5f of _0x28f421)for(const _0x369bfd of _0x14bf5f)_0x369bfd[_0x34d419(0x13f)]['id']===_0x1f2dfe['id']&&_0x426138[_0x34d419(0x15d)](_0x369bfd['id']);return _0x426138;}[_0x348354(0x13c)](_0x469583){const _0x35101f=_0x348354;for(const _0x21d48d of this[_0x35101f(0x131)][_0x35101f(0x158)]())for(const _0x429872 of _0x21d48d)if(_0x429872[_0x35101f(0x13f)]===_0x469583)return _0x429872[_0x35101f(0x140)];}[_0x348354(0x13a)](_0x125d09,_0x5af5f1){const _0x5bae32=_0x348354;if(_0x5bae32(0x12b)!==this[_0x5bae32(0x15f)][_0x5bae32(0x12e)][_0x5bae32(0x132)](_0x495c96)[_0x5bae32(0x161)])return;const _0x46832f=_0x5af5f1[_0x5bae32(0x13f)],_0x1b5fa7=this[_0x5bae32(0x156)][_0x5bae32(0x137)](_0x46832f['id'])||this[_0x5bae32(0x15c)](_0x46832f),_0x13ffe7=Object[_0x5bae32(0x130)]({},_0x5af5f1,{'user':_0x1b5fa7});this[_0x5bae32(0x131)][_0x5bae32(0x132)](_0x125d09)[_0x5bae32(0x15d)](_0x13ffe7);const _0x26ec26=this[_0x5bae32(0x128)][_0x5bae32(0x132)](_0x125d09);_0x26ec26[_0x5bae32(0x151)](_0x1b5fa7['id'])||_0x26ec26[_0x5bae32(0x15d)](_0x1b5fa7),this[_0x5bae32(0x162)][_0x5bae32(0x151)](_0x1b5fa7['id'])||this[_0x5bae32(0x162)][_0x5bae32(0x15d)](_0x1b5fa7,_0x1b5fa7[_0x5bae32(0x13e)]?0x0:void 0x0),this[_0x5bae32(0x15e)](_0x5bae32(0x154)+_0x125d09,{'channelId':_0x125d09,'session':_0x13ffe7});}[_0x348354(0x146)](_0x90cdad,_0x1061d2){const _0x32a5ac=_0x348354;if(_0x32a5ac(0x12b)!==this[_0x32a5ac(0x15f)][_0x32a5ac(0x12e)][_0x32a5ac(0x132)](_0x495c96)[_0x32a5ac(0x161)])return;const _0x17caf4=this[_0x32a5ac(0x128)][_0x32a5ac(0x132)](_0x90cdad),_0x5a3d86=_0x1061d2[_0x32a5ac(0x13f)];_0x5a3d86['id']&&(this[_0x32a5ac(0x131)][_0x32a5ac(0x132)](_0x90cdad)[_0x32a5ac(0x14d)](_0x1061d2['id']),_0x17caf4[_0x32a5ac(0x151)](_0x5a3d86['id'])&&!this[_0x32a5ac(0x125)](_0x5a3d86,_0x90cdad)[_0x32a5ac(0x12f)]&&_0x17caf4[_0x32a5ac(0x14d)](_0x5a3d86['id']),this[_0x32a5ac(0x162)][_0x32a5ac(0x132)](_0x5a3d86['id'])&&!this[_0x32a5ac(0x125)](_0x5a3d86)[_0x32a5ac(0x12f)]&&this[_0x32a5ac(0x162)][_0x32a5ac(0x14d)](_0x5a3d86['id']));}[_0x348354(0x15c)](_0x243f60,_0x5cd334){const _0x214872=_0x348354,_0x49c6f6=this[_0x214872(0x156)][_0x214872(0x14f)](_0x243f60);return _0x5cd334&&this[_0x214872(0x156)][_0x214872(0x153)](_0x243f60['id']),_0x49c6f6[_0x214872(0x14e)]=this[_0x214872(0x15b)]++,_0x49c6f6;}}
|