@ckeditor/ckeditor5-real-time-collaboration 45.0.0-alpha.10 → 45.0.0-alpha.11
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/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "45.0.0-alpha.
|
|
3
|
+
"version": "45.0.0-alpha.11",
|
|
4
4
|
"description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -47,19 +47,19 @@
|
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@ckeditor/ckeditor-cloud-services-collaboration": "52.7.0",
|
|
50
|
-
"@ckeditor/ckeditor5-cloud-services": "45.0.0-alpha.
|
|
51
|
-
"@ckeditor/ckeditor5-comments": "45.0.0-alpha.
|
|
52
|
-
"@ckeditor/ckeditor5-core": "45.0.0-alpha.
|
|
53
|
-
"@ckeditor/ckeditor5-editor-multi-root": "45.0.0-alpha.
|
|
54
|
-
"@ckeditor/ckeditor5-engine": "45.0.0-alpha.
|
|
55
|
-
"@ckeditor/ckeditor5-operations-compressor": "45.0.0-alpha.
|
|
56
|
-
"@ckeditor/ckeditor5-revision-history": "45.0.0-alpha.
|
|
57
|
-
"@ckeditor/ckeditor5-theme-lark": "45.0.0-alpha.
|
|
58
|
-
"@ckeditor/ckeditor5-track-changes": "45.0.0-alpha.
|
|
59
|
-
"@ckeditor/ckeditor5-ui": "45.0.0-alpha.
|
|
60
|
-
"@ckeditor/ckeditor5-utils": "45.0.0-alpha.
|
|
61
|
-
"ckeditor5": "45.0.0-alpha.
|
|
62
|
-
"ckeditor5-collaboration": "45.0.0-alpha.
|
|
50
|
+
"@ckeditor/ckeditor5-cloud-services": "45.0.0-alpha.11",
|
|
51
|
+
"@ckeditor/ckeditor5-comments": "45.0.0-alpha.11",
|
|
52
|
+
"@ckeditor/ckeditor5-core": "45.0.0-alpha.11",
|
|
53
|
+
"@ckeditor/ckeditor5-editor-multi-root": "45.0.0-alpha.11",
|
|
54
|
+
"@ckeditor/ckeditor5-engine": "45.0.0-alpha.11",
|
|
55
|
+
"@ckeditor/ckeditor5-operations-compressor": "45.0.0-alpha.11",
|
|
56
|
+
"@ckeditor/ckeditor5-revision-history": "45.0.0-alpha.11",
|
|
57
|
+
"@ckeditor/ckeditor5-theme-lark": "45.0.0-alpha.11",
|
|
58
|
+
"@ckeditor/ckeditor5-track-changes": "45.0.0-alpha.11",
|
|
59
|
+
"@ckeditor/ckeditor5-ui": "45.0.0-alpha.11",
|
|
60
|
+
"@ckeditor/ckeditor5-utils": "45.0.0-alpha.11",
|
|
61
|
+
"ckeditor5": "45.0.0-alpha.11",
|
|
62
|
+
"ckeditor5-collaboration": "45.0.0-alpha.11",
|
|
63
63
|
"es-toolkit": "1.32.0"
|
|
64
64
|
},
|
|
65
65
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2f3d(_0x31cb00,_0x4f723f){const _0x1ccdc9=_0x1ccd();return _0x2f3d=function(_0x2f3d0b,_0x75fbc2){_0x2f3d0b=_0x2f3d0b-0x129;let _0x2af143=_0x1ccdc9[_0x2f3d0b];return _0x2af143;},_0x2f3d(_0x31cb00,_0x4f723f);}const _0x40225f=_0x2f3d;function _0x1ccd(){const _0x3af8fd=['listenTo','presencelist-missing-container','_handleUserAdd','querySelectorAll','view','button','_bodyCollection','isPremiumPlugin','isExpanded','checkIfScrollable','presencelist:hide','sort','length','hideDropdown','class','items','config','focusTracker','locale','_handleUserRemove','from','reverse','number','add','inlineListView','_createView','render','presenceList.displayMe','textarea','[contenteditable]','attachToDom','presenceList','change:isFocused','define','isCollapsed','_allConnectedUsers','activeElement','balloonPanelView','136251sdqLwK','destroy','content','remove','init','1103996rfxRyi','isOfficialPlugin','counterView','select','offsetWidth','plugins','set','allConnectedUsers','presencelist:show','element','unpin','map','keystrokes','context','isFocusable','presenceList.container','tabIndex','find','bindTo','Shift+Tab','2130055TLBPHs','presenceList.collapseAt','pin','isRendered','isMe','Tab','execute','detachFromDom','presencelist-collapseat-invalid-format','96ZSciBk','Esc','presenceDropdownView','ck\x20ck-presence-list__balloon','PresenceListUI','onClick','showDropdown','join','filter','usersCount','body','min','displayMe','Enter','238553AfqdjW','pluginName','1250265YInasc','indexOf','[tabindex]','isVisible','input','using','appendChild','offsetHeight','currentDisplayedUsers',':not([disabled]):not([tabindex=\x22-1\x22])','1920688fDXfYy','requires','bind','get','331303ifTpgr','hasTooltip','200eIMBuF','focus'];_0x1ccd=function(){return _0x3af8fd;};return _0x1ccd();}(function(_0x2209c6,_0xcee037){const _0x451ac8=_0x2f3d,_0xb274db=_0x2209c6();while(!![]){try{const _0xe99cb0=parseInt(_0x451ac8(0x144))/0x1+-parseInt(_0x451ac8(0x173))/0x2+parseInt(_0x451ac8(0x136))/0x3+-parseInt(_0x451ac8(0x140))/0x4+parseInt(_0x451ac8(0x187))/0x5+-parseInt(_0x451ac8(0x190))/0x6*(-parseInt(_0x451ac8(0x134))/0x7)+parseInt(_0x451ac8(0x146))/0x8*(-parseInt(_0x451ac8(0x16e))/0x9);if(_0xe99cb0===_0xcee037)break;else _0xb274db['push'](_0xb274db['shift']());}catch(_0x17ca7f){_0xb274db['push'](_0xb274db['shift']());}}}(_0x1ccd,0x4b5d0));import{ContextPlugin as _0x145ba8}from'ckeditor5/src/core.js';import{CKEditorError as _0x1633d0,Collection as _0x296b4e}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x506f7b,BalloonPanelView as _0x244f68,BodyCollection as _0x48715f}from'ckeditor5/src/ui.js';import{isElement as _0x5af3e7}from'es-toolkit/compat';import _0x3c7b0c from'../realtimecollaborativeediting/sessions.js';import _0x3f97c8 from'./view/presencelistview.js';import _0x105a7a from'./view/presencecounterview.js';import _0x951ddb from'./view/presencedropdownlistview.js';import _0x3a2356 from'./view/presencedropdownlistitemview.js';import _0x48f2f3 from'./view/presenceinlinelistitemview.js';const rt={'collapseAt':0x6,'displayMe':!0x0};export default class r extends _0x145ba8{[_0x40225f(0x13e)];[_0x40225f(0x16d)];[_0x40225f(0x14c)];[_0x40225f(0x192)];[_0x40225f(0x14e)]=null;static get[_0x40225f(0x135)](){const _0x316c30=_0x40225f;return _0x316c30(0x12a);}static get[_0x40225f(0x174)](){return!0x0;}static get[_0x40225f(0x14f)](){return!0x0;}constructor(_0x2821bf){const _0x2a6b64=_0x40225f;super(_0x2821bf),this[_0x2a6b64(0x180)][_0x2a6b64(0x158)][_0x2a6b64(0x169)](_0x2a6b64(0x167),rt);const _0x448bf6=_0x2821bf[_0x2a6b64(0x158)][_0x2a6b64(0x143)](_0x2a6b64(0x188));if(_0x2a6b64(0x15e)!=typeof _0x448bf6)throw new _0x1633d0(_0x2a6b64(0x18f),this);if(_0x448bf6<0x1)throw new _0x1633d0(_0x2a6b64(0x18f),this);this[_0x2a6b64(0x16b)]=this[_0x2a6b64(0x180)][_0x2a6b64(0x178)][_0x2a6b64(0x143)](_0x3c7b0c)[_0x2a6b64(0x17a)],this[_0x2a6b64(0x179)](_0x2a6b64(0x12f),0x0),this[_0x2a6b64(0x13e)]=new _0x296b4e(),this[_0x2a6b64(0x16d)]=new _0x244f68(),this[_0x2a6b64(0x16d)][_0x2a6b64(0x156)]=_0x2a6b64(0x129),this[_0x2a6b64(0x14c)]=this[_0x2a6b64(0x161)](),this[_0x2a6b64(0x192)]=void 0x0;}static get[_0x40225f(0x141)](){return[_0x3c7b0c];}[_0x40225f(0x172)](){const _0x51a722=_0x40225f;for(const _0x1c1ffc of this[_0x51a722(0x16b)])this[_0x51a722(0x14a)](_0x1c1ffc);this[_0x51a722(0x148)](this[_0x51a722(0x16b)],_0x51a722(0x15f),(_0x126833,_0xf5c855)=>{const _0x450897=_0x51a722;this[_0x450897(0x14a)](_0xf5c855);}),this[_0x51a722(0x148)](this[_0x51a722(0x16b)],_0x51a722(0x171),(_0x401e16,_0x1a358a)=>{const _0x1f4836=_0x51a722;this[_0x1f4836(0x15b)](_0x1a358a);});}[_0x40225f(0x161)](){const _0xacb906=_0x40225f,_0x2066fa=this[_0xacb906(0x180)],_0x24b776=new _0x3f97c8(this[_0xacb906(0x180)][_0xacb906(0x15a)],this[_0xacb906(0x180)][_0xacb906(0x158)][_0xacb906(0x143)](_0xacb906(0x188))),_0x9f75d=this[_0xacb906(0x16d)];if(!_0x5af3e7(_0x2066fa[_0xacb906(0x158)][_0xacb906(0x143)](_0xacb906(0x182))))throw new _0x1633d0(_0xacb906(0x149),this);return _0x24b776[_0xacb906(0x175)][_0xacb906(0x142)](_0xacb906(0x12f))['to'](this),_0x24b776[_0xacb906(0x142)](_0xacb906(0x16a))['to'](this,_0xacb906(0x12f),_0x2fe0ff=>{const _0x591135=_0xacb906,{collapseAt:_0x32cb45}=_0x2066fa[_0x591135(0x158)][_0x591135(0x143)](_0x591135(0x167)),_0x39bb6a=_0x2fe0ff>=_0x32cb45;if(_0x39bb6a&&!_0x24b776[_0x591135(0x160)][_0x591135(0x157)][_0x591135(0x184)](_0x460d2a=>_0x460d2a instanceof _0x105a7a)){const _0x231760=this[_0x591135(0x180)][_0x591135(0x158)][_0x591135(0x143)](_0x591135(0x188))-0x1;this[_0x591135(0x13e)][_0x591135(0x154)]==_0x231760&&this[_0x591135(0x13e)][_0x591135(0x154)]>0x1&&this[_0x591135(0x13e)][_0x591135(0x171)](this[_0x591135(0x13e)][_0x591135(0x154)]-0x1),_0x24b776[_0x591135(0x160)][_0x591135(0x157)][_0x591135(0x15f)](_0x24b776[_0x591135(0x175)]);}return _0x39bb6a||this[_0x591135(0x155)](),_0x39bb6a;}),_0x24b776[_0xacb906(0x160)][_0xacb906(0x157)][_0xacb906(0x185)](this[_0xacb906(0x13e)])[_0xacb906(0x13b)](_0x58ea11=>{const _0x29cfb3=_0xacb906,_0x3c2ad4=_0x2066fa[_0x29cfb3(0x158)][_0x29cfb3(0x143)](_0x29cfb3(0x167)),_0x57bdf5=new _0x48f2f3(_0x2066fa[_0x29cfb3(0x15a)],_0x58ea11,!!_0x3c2ad4[_0x29cfb3(0x12b)]);return _0x57bdf5[_0x29cfb3(0x142)](_0x29cfb3(0x145))['to'](_0x24b776,_0x29cfb3(0x16a),_0x441a33=>!_0x441a33),_0x57bdf5[_0x29cfb3(0x142)](_0x29cfb3(0x181))['to'](_0x24b776,_0x29cfb3(0x16a),_0x48bb1=>!_0x48bb1),_0x3c2ad4[_0x29cfb3(0x12b)]&&this[_0x29cfb3(0x148)](_0x57bdf5,_0x29cfb3(0x18d),()=>{const _0x449726=_0x29cfb3;this[_0x449726(0x14c)][_0x449726(0x16a)]||_0x3c2ad4[_0x449726(0x12b)](_0x58ea11,_0x57bdf5[_0x449726(0x17c)]);}),_0x57bdf5;}),this[_0xacb906(0x148)](_0x24b776[_0xacb906(0x160)],_0xacb906(0x17b),()=>{const _0x2b276a=_0xacb906;this[_0x2b276a(0x14c)][_0x2b276a(0x16a)]&&this[_0x2b276a(0x12c)]();}),this[_0xacb906(0x148)](_0x24b776[_0xacb906(0x160)],_0xacb906(0x152),()=>{const _0x8307de=_0xacb906;this[_0x8307de(0x192)]&&this[_0x8307de(0x155)]();}),_0x24b776[_0xacb906(0x160)][_0xacb906(0x17f)][_0xacb906(0x179)](_0xacb906(0x133),(_0x2dfee9,_0x3546a8)=>{const _0x5b7cb0=_0xacb906;this[_0x5b7cb0(0x14c)][_0x5b7cb0(0x16a)]&&(this[_0x5b7cb0(0x12c)](),_0x3546a8());}),_0x24b776[_0xacb906(0x162)](),_0x9f75d[_0xacb906(0x162)](),_0x506f7b({'emitter':_0x24b776,'activator':()=>_0x9f75d[_0xacb906(0x139)],'contextElements':[_0x9f75d[_0xacb906(0x17c)],_0x24b776[_0xacb906(0x160)][_0xacb906(0x17c)]],'callback':()=>this[_0xacb906(0x155)]()}),_0x2066fa[_0xacb906(0x158)][_0xacb906(0x143)](_0xacb906(0x182))[_0xacb906(0x13c)](_0x24b776[_0xacb906(0x17c)]),this[_0xacb906(0x14e)]=new _0x48715f(this[_0xacb906(0x180)][_0xacb906(0x15a)]),this[_0xacb906(0x14e)][_0xacb906(0x166)](),this[_0xacb906(0x14e)][_0xacb906(0x15f)](this[_0xacb906(0x16d)]),_0x24b776;}[_0x40225f(0x14a)](_0x3fa111){const _0x331fbd=_0x40225f;if(!this[_0x331fbd(0x180)][_0x331fbd(0x158)][_0x331fbd(0x143)](_0x331fbd(0x163))&&_0x3fa111[_0x331fbd(0x18b)])return;const _0x31c822=this[_0x331fbd(0x180)][_0x331fbd(0x158)][_0x331fbd(0x143)](_0x331fbd(0x188))-0x1;for(this[_0x331fbd(0x12f)]++;this[_0x331fbd(0x13e)][_0x331fbd(0x154)]>=_0x31c822-(this[_0x331fbd(0x14c)][_0x331fbd(0x16a)]?0x1:0x0)&&this[_0x331fbd(0x13e)][_0x331fbd(0x154)]>0x1;)this[_0x331fbd(0x13e)][_0x331fbd(0x171)](0x1);const _0x3c5834=_0x3fa111[_0x331fbd(0x18b)]?0x0:this[_0x331fbd(0x13e)][_0x331fbd(0x154)];this[_0x331fbd(0x13e)][_0x331fbd(0x15f)](_0x3fa111,_0x3c5834);}[_0x40225f(0x15b)](_0x1373f6){const _0x420c5d=_0x40225f;this[_0x420c5d(0x12f)]--;const {collapseAt:_0x1975d9}=this[_0x420c5d(0x180)][_0x420c5d(0x158)][_0x420c5d(0x143)](_0x420c5d(0x167)),_0x4e7498=this[_0x420c5d(0x12f)]>=_0x1975d9;if(this[_0x420c5d(0x13e)][_0x420c5d(0x143)](_0x1373f6['id']))this[_0x420c5d(0x13e)][_0x420c5d(0x171)](_0x1373f6['id']);else{if(_0x4e7498&&this[_0x420c5d(0x13e)][_0x420c5d(0x154)]+0x1===_0x1975d9-0x1)return;}if(this[_0x420c5d(0x13e)][_0x420c5d(0x154)]+(_0x4e7498?0x1:0x0)<this[_0x420c5d(0x12f)]){for(const _0x26425b of Array[_0x420c5d(0x15c)](this[_0x420c5d(0x16b)])[_0x420c5d(0x15d)]())if(!this[_0x420c5d(0x13e)][_0x420c5d(0x143)](_0x26425b['id'])&&(this[_0x420c5d(0x13e)][_0x420c5d(0x15f)](_0x26425b,Math[_0x420c5d(0x131)](this[_0x420c5d(0x13e)][_0x420c5d(0x154)]-(_0x4e7498?0x1:0x0),0x1)),this[_0x420c5d(0x13e)][_0x420c5d(0x154)]+(_0x4e7498?0x1:0x0)===_0x1975d9-0x1))return;}}[_0x40225f(0x12c)](){const _0x17acff=_0x40225f;if(this[_0x17acff(0x192)])return;const _0x5df2b7=this[_0x17acff(0x180)][_0x17acff(0x158)][_0x17acff(0x143)](_0x17acff(0x167));this[_0x17acff(0x192)]=new _0x951ddb(this[_0x17acff(0x180)][_0x17acff(0x15a)],!!_0x5df2b7[_0x17acff(0x12b)]),this[_0x17acff(0x14c)][_0x17acff(0x160)][_0x17acff(0x150)]=!0x0,this[_0x17acff(0x148)](this[_0x17acff(0x192)],_0x17acff(0x152),()=>{const _0x281884=_0x17acff;this[_0x281884(0x192)]&&this[_0x281884(0x155)]();});const {listWrapperView:_0x242379}=this[_0x17acff(0x192)];_0x242379[_0x17acff(0x157)][_0x17acff(0x185)](this[_0x17acff(0x16b)])[_0x17acff(0x13b)](_0x1ea565=>{const _0x58a793=_0x17acff;if(!_0x5df2b7[_0x58a793(0x132)]&&_0x1ea565[_0x58a793(0x18b)])return null;const _0x3381b2=new _0x3a2356(this[_0x58a793(0x180)][_0x58a793(0x15a)],_0x1ea565,!!_0x5df2b7[_0x58a793(0x12b)]);return _0x5df2b7[_0x58a793(0x12b)]&&this[_0x58a793(0x148)](_0x3381b2,_0x58a793(0x18d),()=>{const _0x3f943b=_0x58a793;_0x5df2b7[_0x3f943b(0x12b)](_0x1ea565,_0x3381b2[_0x3f943b(0x17c)]);}),_0x3381b2;}),this[_0x17acff(0x16d)][_0x17acff(0x170)][_0x17acff(0x15f)](this[_0x17acff(0x192)]),this[_0x17acff(0x16d)][_0x17acff(0x189)]({'target':this[_0x17acff(0x14c)][_0x17acff(0x160)][_0x17acff(0x17c)]}),_0x242379[_0x17acff(0x147)](),_0x242379[_0x17acff(0x151)]();const _0x3d9903=(_0x5c6944,_0x465cc8)=>{const _0x23f87d=_0x17acff;this[_0x23f87d(0x155)](),this[_0x23f87d(0x14c)][_0x23f87d(0x160)][_0x23f87d(0x147)](),_0x465cc8();};_0x242379[_0x17acff(0x17f)][_0x17acff(0x179)](_0x17acff(0x191),_0x3d9903),_0x242379[_0x17acff(0x17f)][_0x17acff(0x179)](_0x17acff(0x186),_0x3d9903),_0x242379[_0x17acff(0x17f)][_0x17acff(0x179)](_0x17acff(0x18c),(_0x4d48d2,_0x544a96)=>{const _0x2815f3=_0x17acff;!function(_0x4d4361){const _0x42326c=_0x2f3d,_0x2b9317=['a',_0x42326c(0x14d),_0x42326c(0x13a),_0x42326c(0x176),_0x42326c(0x164),_0x42326c(0x138),_0x42326c(0x165)][_0x42326c(0x17e)](_0x38df72=>_0x38df72+_0x42326c(0x13f))[_0x42326c(0x12d)](','),_0x2e245a=[...document[_0x42326c(0x130)][_0x42326c(0x14b)](_0x2b9317)][_0x42326c(0x12e)](_0x42b67d=>_0x42b67d===document[_0x42326c(0x16c)]||_0x42b67d[_0x42326c(0x177)]+_0x42b67d[_0x42326c(0x13d)]>0x0)[_0x42326c(0x153)]((_0xf7bb22,_0x5596c2)=>(_0xf7bb22[_0x42326c(0x183)]||0x0)-(_0x5596c2[_0x42326c(0x183)]||0x0)),_0x3d2f92=_0x2e245a[_0x42326c(0x137)](_0x4d4361),_0x220b39=_0x2e245a[(_0x3d2f92+0x1)%_0x2e245a[_0x42326c(0x154)]];_0x220b39&&_0x220b39[_0x42326c(0x147)]();}(this[_0x2815f3(0x14c)][_0x2815f3(0x17c)]),this[_0x2815f3(0x155)](),_0x544a96();}),_0x242379[_0x17acff(0x159)][_0x17acff(0x15f)](this[_0x17acff(0x14c)][_0x17acff(0x17c)]),_0x242379[_0x17acff(0x159)]['on'](_0x17acff(0x168),(_0x354fb9,_0x455ada,_0x14a447)=>{const _0x3cd47e=_0x17acff;_0x14a447||this[_0x3cd47e(0x155)]();});}[_0x40225f(0x155)](){const _0x31208f=_0x40225f;this[_0x31208f(0x192)]&&(this[_0x31208f(0x14c)][_0x31208f(0x160)][_0x31208f(0x150)]=!0x1,this[_0x31208f(0x16d)][_0x31208f(0x17d)](),this[_0x31208f(0x16d)][_0x31208f(0x170)][_0x31208f(0x171)](this[_0x31208f(0x192)]),this[_0x31208f(0x192)][_0x31208f(0x16f)](),this[_0x31208f(0x192)]=void 0x0);}[_0x40225f(0x16f)](){const _0x1bef7c=_0x40225f;super[_0x1bef7c(0x16f)](),this[_0x1bef7c(0x14c)]&&this[_0x1bef7c(0x14c)][_0x1bef7c(0x18a)]&&this[_0x1bef7c(0x14c)][_0x1bef7c(0x16f)](),this[_0x1bef7c(0x14e)]&&(this[_0x1bef7c(0x14e)][_0x1bef7c(0x18e)](),this[_0x1bef7c(0x14e)][_0x1bef7c(0x16f)](),this[_0x1bef7c(0x14e)]=null);}}
|
|
23
|
+
const _0x1d838c=_0x2ad1;(function(_0x5eedd5,_0x5a8f0d){const _0x1464d0=_0x2ad1,_0x4e8612=_0x5eedd5();while(!![]){try{const _0x4f449d=-parseInt(_0x1464d0(0x112))/0x1*(-parseInt(_0x1464d0(0xfd))/0x2)+-parseInt(_0x1464d0(0xb5))/0x3+-parseInt(_0x1464d0(0x119))/0x4+parseInt(_0x1464d0(0xcd))/0x5+parseInt(_0x1464d0(0xef))/0x6+-parseInt(_0x1464d0(0xf7))/0x7*(-parseInt(_0x1464d0(0xca))/0x8)+-parseInt(_0x1464d0(0xc0))/0x9;if(_0x4f449d===_0x5a8f0d)break;else _0x4e8612['push'](_0x4e8612['shift']());}catch(_0x476c22){_0x4e8612['push'](_0x4e8612['shift']());}}}(_0x3aaf,0xaa93d));import{ContextPlugin as _0x39ae5f}from'ckeditor5/src/core.js';import{CKEditorError as _0xbc1994,Collection as _0x3dc16c}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x908a9,BalloonPanelView as _0x5b6d2c,BodyCollection as _0x56f821}from'ckeditor5/src/ui.js';import{isElement as _0x1c1c19}from'es-toolkit/compat';function _0x2ad1(_0x4f80c1,_0x3e8773){const _0x3aafee=_0x3aaf();return _0x2ad1=function(_0x2ad15d,_0x16c92e){_0x2ad15d=_0x2ad15d-0xb4;let _0x1128f1=_0x3aafee[_0x2ad15d];return _0x1128f1;},_0x2ad1(_0x4f80c1,_0x3e8773);}import _0x3eb8c5 from'../realtimecollaborativeediting/sessions.js';import _0x752490 from'./view/presencelistview.js';import _0x1694a7 from'./view/presencecounterview.js';import _0x296a28 from'./view/presencedropdownlistview.js';import _0x3f6eeb from'./view/presencedropdownlistitemview.js';function _0x3aaf(){const _0x28d024=['appendChild','render','_handleUserRemove','execute','inlineListView','content','init','listenTo','isExpanded','attachToDom','pin','_bodyCollection','from','detachFromDom','querySelectorAll','get','Tab','presenceList.collapseAt','presencelist:show','tabIndex','1WpTRGU','usersCount','using','input','remove','[tabindex]','requires','461888sHWhvy','textarea','currentDisplayedUsers','change:isFocused','bindTo','counterView','3305724kgjvBc','PresenceListUI','filter','hasTooltip','length','plugins','Shift+Tab','bind','class','isMe','presencelist-missing-container','4821705jaVPwP','allConnectedUsers','pluginName','presenceList.displayMe','min','presenceDropdownView','isPremiumPlugin','displayMe','keystrokes','_allConnectedUsers','320rknatZ','isOfficialPlugin','map','1832500fJMUOJ','presenceList.container','body','isFocusable','unpin','presencelist-collapseat-invalid-format','checkIfScrollable','isCollapsed','offsetHeight','_handleUserAdd','context','Esc','_createView','element','select','activeElement','items','offsetWidth','[contenteditable]','presenceList','define',':not([disabled]):not([tabindex=\x22-1\x22])','isVisible','focusTracker','reverse','sort','isRendered','button','onClick','Enter','destroy','config','focus','hideDropdown','4378506CGZqxW','locale','indexOf','add','number','view','presencelist:hide','join','110621kQllMN','ck\x20ck-presence-list__balloon','balloonPanelView','find','showDropdown','set','1446878KGlfhB'];_0x3aaf=function(){return _0x28d024;};return _0x3aaf();}import _0x2985c4 from'./view/presenceinlinelistitemview.js';const ct={'collapseAt':0x6,'displayMe':!0x0};export default class r extends _0x39ae5f{[_0x1d838c(0x11b)];[_0x1d838c(0xf9)];[_0x1d838c(0xf4)];[_0x1d838c(0xc5)];[_0x1d838c(0x109)]=null;static get[_0x1d838c(0xc2)](){const _0x2a103d=_0x1d838c;return _0x2a103d(0xb6);}static get[_0x1d838c(0xcb)](){return!0x0;}static get[_0x1d838c(0xc6)](){return!0x0;}constructor(_0x1c0c74){const _0x121faf=_0x1d838c;super(_0x1c0c74),this[_0x121faf(0xd7)][_0x121faf(0xec)][_0x121faf(0xe1)](_0x121faf(0xe0),ct);const _0xcfdd4e=_0x1c0c74[_0x121faf(0xec)][_0x121faf(0x10d)](_0x121faf(0x10f));if(_0x121faf(0xf3)!=typeof _0xcfdd4e)throw new _0xbc1994(_0x121faf(0xd2),this);if(_0xcfdd4e<0x1)throw new _0xbc1994(_0x121faf(0xd2),this);this[_0x121faf(0xc9)]=this[_0x121faf(0xd7)][_0x121faf(0xba)][_0x121faf(0x10d)](_0x3eb8c5)[_0x121faf(0xc1)],this[_0x121faf(0xfc)](_0x121faf(0x113),0x0),this[_0x121faf(0x11b)]=new _0x3dc16c(),this[_0x121faf(0xf9)]=new _0x5b6d2c(),this[_0x121faf(0xf9)][_0x121faf(0xbd)]=_0x121faf(0xf8),this[_0x121faf(0xf4)]=this[_0x121faf(0xd9)](),this[_0x121faf(0xc5)]=void 0x0;}static get[_0x1d838c(0x118)](){return[_0x3eb8c5];}[_0x1d838c(0x104)](){const _0x4dc7c7=_0x1d838c;for(const _0x376230 of this[_0x4dc7c7(0xc9)])this[_0x4dc7c7(0xd6)](_0x376230);this[_0x4dc7c7(0x105)](this[_0x4dc7c7(0xc9)],_0x4dc7c7(0xf2),(_0x504dd8,_0xec7d7e)=>{const _0x1c7816=_0x4dc7c7;this[_0x1c7816(0xd6)](_0xec7d7e);}),this[_0x4dc7c7(0x105)](this[_0x4dc7c7(0xc9)],_0x4dc7c7(0x116),(_0x49298a,_0x52e9c1)=>{const _0x473942=_0x4dc7c7;this[_0x473942(0x100)](_0x52e9c1);});}[_0x1d838c(0xd9)](){const _0x303c9a=_0x1d838c,_0x3f906f=this[_0x303c9a(0xd7)],_0x3952b2=new _0x752490(this[_0x303c9a(0xd7)][_0x303c9a(0xf0)],this[_0x303c9a(0xd7)][_0x303c9a(0xec)][_0x303c9a(0x10d)](_0x303c9a(0x10f))),_0x1c8b42=this[_0x303c9a(0xf9)];if(!_0x1c1c19(_0x3f906f[_0x303c9a(0xec)][_0x303c9a(0x10d)](_0x303c9a(0xce))))throw new _0xbc1994(_0x303c9a(0xbf),this);return _0x3952b2[_0x303c9a(0xb4)][_0x303c9a(0xbc)](_0x303c9a(0x113))['to'](this),_0x3952b2[_0x303c9a(0xbc)](_0x303c9a(0xd4))['to'](this,_0x303c9a(0x113),_0x176c54=>{const _0x56c4d8=_0x303c9a,{collapseAt:_0x5d6e4f}=_0x3f906f[_0x56c4d8(0xec)][_0x56c4d8(0x10d)](_0x56c4d8(0xe0)),_0x10aa86=_0x176c54>=_0x5d6e4f;if(_0x10aa86&&!_0x3952b2[_0x56c4d8(0x102)][_0x56c4d8(0xdd)][_0x56c4d8(0xfa)](_0x1591a9=>_0x1591a9 instanceof _0x1694a7)){const _0xfc28b9=this[_0x56c4d8(0xd7)][_0x56c4d8(0xec)][_0x56c4d8(0x10d)](_0x56c4d8(0x10f))-0x1;this[_0x56c4d8(0x11b)][_0x56c4d8(0xb9)]==_0xfc28b9&&this[_0x56c4d8(0x11b)][_0x56c4d8(0xb9)]>0x1&&this[_0x56c4d8(0x11b)][_0x56c4d8(0x116)](this[_0x56c4d8(0x11b)][_0x56c4d8(0xb9)]-0x1),_0x3952b2[_0x56c4d8(0x102)][_0x56c4d8(0xdd)][_0x56c4d8(0xf2)](_0x3952b2[_0x56c4d8(0xb4)]);}return _0x10aa86||this[_0x56c4d8(0xee)](),_0x10aa86;}),_0x3952b2[_0x303c9a(0x102)][_0x303c9a(0xdd)][_0x303c9a(0x11d)](this[_0x303c9a(0x11b)])[_0x303c9a(0x114)](_0x4f792c=>{const _0x57bda5=_0x303c9a,_0x517e19=_0x3f906f[_0x57bda5(0xec)][_0x57bda5(0x10d)](_0x57bda5(0xe0)),_0x593828=new _0x2985c4(_0x3f906f[_0x57bda5(0xf0)],_0x4f792c,!!_0x517e19[_0x57bda5(0xe9)]);return _0x593828[_0x57bda5(0xbc)](_0x57bda5(0xb8))['to'](_0x3952b2,_0x57bda5(0xd4),_0x4f584a=>!_0x4f584a),_0x593828[_0x57bda5(0xbc)](_0x57bda5(0xd0))['to'](_0x3952b2,_0x57bda5(0xd4),_0x1cd73f=>!_0x1cd73f),_0x517e19[_0x57bda5(0xe9)]&&this[_0x57bda5(0x105)](_0x593828,_0x57bda5(0x101),()=>{const _0x25e95e=_0x57bda5;this[_0x25e95e(0xf4)][_0x25e95e(0xd4)]||_0x517e19[_0x25e95e(0xe9)](_0x4f792c,_0x593828[_0x25e95e(0xda)]);}),_0x593828;}),this[_0x303c9a(0x105)](_0x3952b2[_0x303c9a(0x102)],_0x303c9a(0x110),()=>{const _0x5b437b=_0x303c9a;this[_0x5b437b(0xf4)][_0x5b437b(0xd4)]&&this[_0x5b437b(0xfb)]();}),this[_0x303c9a(0x105)](_0x3952b2[_0x303c9a(0x102)],_0x303c9a(0xf5),()=>{const _0x1e3575=_0x303c9a;this[_0x1e3575(0xc5)]&&this[_0x1e3575(0xee)]();}),_0x3952b2[_0x303c9a(0x102)][_0x303c9a(0xc8)][_0x303c9a(0xfc)](_0x303c9a(0xea),(_0x2a7799,_0x417562)=>{const _0x5dbfd5=_0x303c9a;this[_0x5dbfd5(0xf4)][_0x5dbfd5(0xd4)]&&(this[_0x5dbfd5(0xfb)](),_0x417562());}),_0x3952b2[_0x303c9a(0xff)](),_0x1c8b42[_0x303c9a(0xff)](),_0x908a9({'emitter':_0x3952b2,'activator':()=>_0x1c8b42[_0x303c9a(0xe3)],'contextElements':[_0x1c8b42[_0x303c9a(0xda)],_0x3952b2[_0x303c9a(0x102)][_0x303c9a(0xda)]],'callback':()=>this[_0x303c9a(0xee)]()}),_0x3f906f[_0x303c9a(0xec)][_0x303c9a(0x10d)](_0x303c9a(0xce))[_0x303c9a(0xfe)](_0x3952b2[_0x303c9a(0xda)]),this[_0x303c9a(0x109)]=new _0x56f821(this[_0x303c9a(0xd7)][_0x303c9a(0xf0)]),this[_0x303c9a(0x109)][_0x303c9a(0x107)](),this[_0x303c9a(0x109)][_0x303c9a(0xf2)](this[_0x303c9a(0xf9)]),_0x3952b2;}[_0x1d838c(0xd6)](_0x257366){const _0x24962c=_0x1d838c;if(!this[_0x24962c(0xd7)][_0x24962c(0xec)][_0x24962c(0x10d)](_0x24962c(0xc3))&&_0x257366[_0x24962c(0xbe)])return;const _0x5ee32b=this[_0x24962c(0xd7)][_0x24962c(0xec)][_0x24962c(0x10d)](_0x24962c(0x10f))-0x1;for(this[_0x24962c(0x113)]++;this[_0x24962c(0x11b)][_0x24962c(0xb9)]>=_0x5ee32b-(this[_0x24962c(0xf4)][_0x24962c(0xd4)]?0x1:0x0)&&this[_0x24962c(0x11b)][_0x24962c(0xb9)]>0x1;)this[_0x24962c(0x11b)][_0x24962c(0x116)](0x1);const _0x29d51e=_0x257366[_0x24962c(0xbe)]?0x0:this[_0x24962c(0x11b)][_0x24962c(0xb9)];this[_0x24962c(0x11b)][_0x24962c(0xf2)](_0x257366,_0x29d51e);}[_0x1d838c(0x100)](_0x35fbf0){const _0x49593b=_0x1d838c;this[_0x49593b(0x113)]--;const {collapseAt:_0x530360}=this[_0x49593b(0xd7)][_0x49593b(0xec)][_0x49593b(0x10d)](_0x49593b(0xe0)),_0x3f49c8=this[_0x49593b(0x113)]>=_0x530360;if(this[_0x49593b(0x11b)][_0x49593b(0x10d)](_0x35fbf0['id']))this[_0x49593b(0x11b)][_0x49593b(0x116)](_0x35fbf0['id']);else{if(_0x3f49c8&&this[_0x49593b(0x11b)][_0x49593b(0xb9)]+0x1===_0x530360-0x1)return;}if(this[_0x49593b(0x11b)][_0x49593b(0xb9)]+(_0x3f49c8?0x1:0x0)<this[_0x49593b(0x113)]){for(const _0x334259 of Array[_0x49593b(0x10a)](this[_0x49593b(0xc9)])[_0x49593b(0xe5)]())if(!this[_0x49593b(0x11b)][_0x49593b(0x10d)](_0x334259['id'])&&(this[_0x49593b(0x11b)][_0x49593b(0xf2)](_0x334259,Math[_0x49593b(0xc4)](this[_0x49593b(0x11b)][_0x49593b(0xb9)]-(_0x3f49c8?0x1:0x0),0x1)),this[_0x49593b(0x11b)][_0x49593b(0xb9)]+(_0x3f49c8?0x1:0x0)===_0x530360-0x1))return;}}[_0x1d838c(0xfb)](){const _0x541da0=_0x1d838c;if(this[_0x541da0(0xc5)])return;const _0x31a276=this[_0x541da0(0xd7)][_0x541da0(0xec)][_0x541da0(0x10d)](_0x541da0(0xe0));this[_0x541da0(0xc5)]=new _0x296a28(this[_0x541da0(0xd7)][_0x541da0(0xf0)],!!_0x31a276[_0x541da0(0xe9)]),this[_0x541da0(0xf4)][_0x541da0(0x102)][_0x541da0(0x106)]=!0x0,this[_0x541da0(0x105)](this[_0x541da0(0xc5)],_0x541da0(0xf5),()=>{const _0x38f687=_0x541da0;this[_0x38f687(0xc5)]&&this[_0x38f687(0xee)]();});const {listWrapperView:_0x2bed8a}=this[_0x541da0(0xc5)];_0x2bed8a[_0x541da0(0xdd)][_0x541da0(0x11d)](this[_0x541da0(0xc9)])[_0x541da0(0x114)](_0x4567f7=>{const _0x1dee7d=_0x541da0;if(!_0x31a276[_0x1dee7d(0xc7)]&&_0x4567f7[_0x1dee7d(0xbe)])return null;const _0x27e43b=new _0x3f6eeb(this[_0x1dee7d(0xd7)][_0x1dee7d(0xf0)],_0x4567f7,!!_0x31a276[_0x1dee7d(0xe9)]);return _0x31a276[_0x1dee7d(0xe9)]&&this[_0x1dee7d(0x105)](_0x27e43b,_0x1dee7d(0x101),()=>{const _0x369202=_0x1dee7d;_0x31a276[_0x369202(0xe9)](_0x4567f7,_0x27e43b[_0x369202(0xda)]);}),_0x27e43b;}),this[_0x541da0(0xf9)][_0x541da0(0x103)][_0x541da0(0xf2)](this[_0x541da0(0xc5)]),this[_0x541da0(0xf9)][_0x541da0(0x108)]({'target':this[_0x541da0(0xf4)][_0x541da0(0x102)][_0x541da0(0xda)]}),_0x2bed8a[_0x541da0(0xed)](),_0x2bed8a[_0x541da0(0xd3)]();const _0x419c6f=(_0xae5ff7,_0x1c1119)=>{const _0x5ddf41=_0x541da0;this[_0x5ddf41(0xee)](),this[_0x5ddf41(0xf4)][_0x5ddf41(0x102)][_0x5ddf41(0xed)](),_0x1c1119();};_0x2bed8a[_0x541da0(0xc8)][_0x541da0(0xfc)](_0x541da0(0xd8),_0x419c6f),_0x2bed8a[_0x541da0(0xc8)][_0x541da0(0xfc)](_0x541da0(0xbb),_0x419c6f),_0x2bed8a[_0x541da0(0xc8)][_0x541da0(0xfc)](_0x541da0(0x10e),(_0x6f7e64,_0x150584)=>{const _0xbb3979=_0x541da0;!function(_0x5b0ca3){const _0x49c952=_0x2ad1,_0x3b64fc=['a',_0x49c952(0xe8),_0x49c952(0x115),_0x49c952(0xdb),_0x49c952(0x11a),_0x49c952(0x117),_0x49c952(0xdf)][_0x49c952(0xcc)](_0x1959f0=>_0x1959f0+_0x49c952(0xe2))[_0x49c952(0xf6)](','),_0x508cf4=[...document[_0x49c952(0xcf)][_0x49c952(0x10c)](_0x3b64fc)][_0x49c952(0xb7)](_0x37c8ae=>_0x37c8ae===document[_0x49c952(0xdc)]||_0x37c8ae[_0x49c952(0xde)]+_0x37c8ae[_0x49c952(0xd5)]>0x0)[_0x49c952(0xe6)]((_0x2fc61c,_0x1b3f64)=>(_0x2fc61c[_0x49c952(0x111)]||0x0)-(_0x1b3f64[_0x49c952(0x111)]||0x0)),_0x274c99=_0x508cf4[_0x49c952(0xf1)](_0x5b0ca3),_0x33a37e=_0x508cf4[(_0x274c99+0x1)%_0x508cf4[_0x49c952(0xb9)]];_0x33a37e&&_0x33a37e[_0x49c952(0xed)]();}(this[_0xbb3979(0xf4)][_0xbb3979(0xda)]),this[_0xbb3979(0xee)](),_0x150584();}),_0x2bed8a[_0x541da0(0xe4)][_0x541da0(0xf2)](this[_0x541da0(0xf4)][_0x541da0(0xda)]),_0x2bed8a[_0x541da0(0xe4)]['on'](_0x541da0(0x11c),(_0x346a08,_0x478f5e,_0x497f06)=>{const _0x54adaa=_0x541da0;_0x497f06||this[_0x54adaa(0xee)]();});}[_0x1d838c(0xee)](){const _0x244296=_0x1d838c;this[_0x244296(0xc5)]&&(this[_0x244296(0xf4)][_0x244296(0x102)][_0x244296(0x106)]=!0x1,this[_0x244296(0xf9)][_0x244296(0xd1)](),this[_0x244296(0xf9)][_0x244296(0x103)][_0x244296(0x116)](this[_0x244296(0xc5)]),this[_0x244296(0xc5)][_0x244296(0xeb)](),this[_0x244296(0xc5)]=void 0x0);}[_0x1d838c(0xeb)](){const _0x1ee5f6=_0x1d838c;super[_0x1ee5f6(0xeb)](),this[_0x1ee5f6(0xf4)]&&this[_0x1ee5f6(0xf4)][_0x1ee5f6(0xe7)]&&this[_0x1ee5f6(0xf4)][_0x1ee5f6(0xeb)](),this[_0x1ee5f6(0x109)]&&(this[_0x1ee5f6(0x109)][_0x1ee5f6(0x10b)](),this[_0x1ee5f6(0x109)][_0x1ee5f6(0xeb)](),this[_0x1ee5f6(0x109)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3bd4(){const _0x56b75c=['349930uEfUlr','listitem','usersCount','145vSNNKU','10816nQwAWZ','2238383sWUmdm','205008FNxchq','483580eXHyTL','set','4614GeQhbS','ck-presence-list__users-counter','setTemplate','div','_collapseAt','isHidden','268167OxpiYP','toString','ck-presence-list__users-counter__text','bindTemplate','ck-presence-list__list-item','ck-presence-list__counter--hidden','117RiohBr','bind'];_0x3bd4=function(){return _0x56b75c;};return _0x3bd4();}function _0xd7d7(_0x2d500e,_0x58c5aa){const _0x3bd481=_0x3bd4();return _0xd7d7=function(_0xd7d781,_0x120716){_0xd7d781=_0xd7d781-0x109;let _0x3a3354=_0x3bd481[_0xd7d781];return _0x3a3354;},_0xd7d7(_0x2d500e,_0x58c5aa);}const _0x4de82c=_0xd7d7;(function(_0x5d2a36,_0x2b8380){const _0x181fa3=_0xd7d7,_0x5bd51e=_0x5d2a36();while(!![]){try{const _0x148029=-parseInt(_0x181fa3(0x11f))/0x1+parseInt(_0x181fa3(0x11b))/0x2+parseInt(_0x181fa3(0x113))/0x3+-parseInt(_0x181fa3(0x10b))/0x4+parseInt(_0x181fa3(0x11e))/0x5*(parseInt(_0x181fa3(0x10d))/0x6)+-parseInt(_0x181fa3(0x109))/0x7+parseInt(_0x181fa3(0x10a))/0x8*(parseInt(_0x181fa3(0x119))/0x9);if(_0x148029===_0x2b8380)break;else _0x5bd51e['push'](_0x5bd51e['shift']());}catch(_0x308622){_0x5bd51e['push'](_0x5bd51e['shift']());}}}(_0x3bd4,0x29179));import{View as _0xcf2b8}from'ckeditor5/src/ui.js';export default class rt extends _0xcf2b8{[_0x4de82c(0x111)];constructor(_0x24c3ae,_0x52e649=0x6){const _0x29c880=_0x4de82c;super(_0x24c3ae);const _0x4ddb03=this[_0x29c880(0x116)];this[_0x29c880(0x10c)](_0x29c880(0x112),!0x0),this[_0x29c880(0x10c)](_0x29c880(0x11d),0x0),this[_0x29c880(0x111)]=_0x52e649,this[_0x29c880(0x11a)](_0x29c880(0x112))['to'](this,_0x29c880(0x11d),_0x574158=>_0x574158<_0x52e649),this[_0x29c880(0x10f)]({'tag':_0x29c880(0x110),'attributes':{'class':['ck',_0x29c880(0x117),_0x4ddb03['if'](_0x29c880(0x112),_0x29c880(0x118))],'role':_0x29c880(0x11c)},'children':[{'tag':_0x29c880(0x110),'attributes':{'class':['ck',_0x29c880(0x10e)]},'children':[{'tag':_0x29c880(0x110),'attributes':{'class':['ck',_0x29c880(0x115)]},'children':[{'text':_0x4ddb03['to'](_0x29c880(0x11d),_0x39ea38=>'+'+(_0x39ea38-this[_0x29c880(0x111)]+0x2)[_0x29c880(0x114)]())}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5017(){const _0x3671d0=['8kYsvMn','button','3287601Mrirrw','span','777LNIhOz','tag','9IsGUyq','2338520IUbHTN','921136NpIafu','true','execute','setTemplate','userView','ck-user__full-name','fire','color','presentation','getBackgroundColorClass','379280BrbgQc','bindTemplate','ck-presence-list__dropdown-list-item','34842haUooA','478700aevenz','1049717qgGIXM','element','focus','name','ck-presence-list__marker'];_0x5017=function(){return _0x3671d0;};return _0x5017();}const _0x33c98a=_0x2c7c;(function(_0x2ec045,_0x4c35cb){const _0x2309e0=_0x2c7c,_0x5c4e10=_0x2ec045();while(!![]){try{const _0x5e9107=-parseInt(_0x2309e0(0x189))/0x1+parseInt(_0x2309e0(0x179))/0x2+parseInt(_0x2309e0(0x174))/0x3+-parseInt(_0x2309e0(0x172))/0x4*(-parseInt(_0x2309e0(0x184))/0x5)+parseInt(_0x2309e0(0x187))/0x6*(-parseInt(_0x2309e0(0x176))/0x7)+parseInt(_0x2309e0(0x17a))/0x8*(-parseInt(_0x2309e0(0x178))/0x9)+parseInt(_0x2309e0(0x188))/0xa;if(_0x5e9107===_0x4c35cb)break;else _0x5c4e10['push'](_0x5c4e10['shift']());}catch(_0x4196e5){_0x5c4e10['push'](_0x5c4e10['shift']());}}}(_0x5017,0x9ffa9));import{ListItemView as _0x58b0ae}from'ckeditor5/src/ui.js';function _0x2c7c(_0xff50bd,_0x33912c){const _0x5017c6=_0x5017();return _0x2c7c=function(_0x2c7c00,_0x225996){_0x2c7c00=_0x2c7c00-0x16f;let _0x57b77d=_0x5017c6[_0x2c7c00];return _0x57b77d;},_0x2c7c(_0xff50bd,_0x33912c);}import{UserView as _0x5a9c98}from'ckeditor5-collaboration/src/collaboration-core.js';export default class nt extends _0x58b0ae{[_0x33c98a(0x17e)];constructor(_0x447865,_0x59687b,_0x10425c){const _0x2f15b2=_0x33c98a;super(_0x447865);const _0x4b04cf=this[_0x2f15b2(0x185)];this[_0x2f15b2(0x17e)]=new _0x5a9c98(_0x447865,_0x59687b);const _0x8665fb={'tag':'li','attributes':{'class':['ck',_0x2f15b2(0x186)],'tabindex':-0x1,'role':_0x2f15b2(0x182),'aria-label':_0x59687b[_0x2f15b2(0x170)]},'children':[this[_0x2f15b2(0x17e)],{'tag':_0x2f15b2(0x175),'attributes':{'class':['ck',_0x2f15b2(0x17f)]},'children':[{'text':_0x59687b[_0x2f15b2(0x170)]}]},{'tag':_0x2f15b2(0x175),'attributes':{'class':['ck',_0x2f15b2(0x171),_0x59687b[_0x2f15b2(0x181)][_0x2f15b2(0x183)]()],'aria-hidden':_0x2f15b2(0x17b)}}]};_0x10425c&&(_0x8665fb[_0x2f15b2(0x177)]=_0x2f15b2(0x173),_0x8665fb['on']={'click':_0x4b04cf['to'](()=>this[_0x2f15b2(0x180)](_0x2f15b2(0x17c)))}),this[_0x2f15b2(0x17d)](_0x8665fb);}[_0x33c98a(0x16f)](){const _0x6edf4a=_0x33c98a;this[_0x6edf4a(0x18a)][_0x6edf4a(0x16f)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x37fac6=_0x24c2;(function(_0x427e82,_0x3c6500){const _0x5df82e=_0x24c2,_0x2ed659=_0x427e82();while(!![]){try{const _0x4401e2=parseInt(_0x5df82e(0x139))/0x1*(parseInt(_0x5df82e(0x14b))/0x2)+parseInt(_0x5df82e(0x12d))/0x3*(parseInt(_0x5df82e(0x125))/0x4)+-parseInt(_0x5df82e(0x13f))/0x5*(parseInt(_0x5df82e(0x138))/0x6)+parseInt(_0x5df82e(0x133))/0x7*(-parseInt(_0x5df82e(0x13d))/0x8)+-parseInt(_0x5df82e(0x143))/0x9*(-parseInt(_0x5df82e(0x12b))/0xa)+-parseInt(_0x5df82e(0x137))/0xb*(-parseInt(_0x5df82e(0x14a))/0xc)+-parseInt(_0x5df82e(0x11f))/0xd;if(_0x4401e2===_0x3c6500)break;else _0x2ed659['push'](_0x2ed659['shift']());}catch(_0x262dbf){_0x2ed659['push'](_0x2ed659['shift']());}}}(_0x17b4,0x8f800));import{ListView as _0x2152d4,View as _0x2397ae}from'ckeditor5/src/ui.js';import{global as _0x49d236}from'ckeditor5/src/utils.js';import{getTranslation as _0x42b760}from'../../common-translations.js';export default class ht extends _0x2397ae{[_0x37fac6(0x145)];constructor(_0x416e24,_0x3b54ec){const _0x37763f=_0x37fac6;super(_0x416e24);const _0x531848=this[_0x37763f(0x121)];this[_0x37763f(0x145)]=new PresenceDropdownListWrapperView(_0x416e24,_0x3b54ec),this[_0x37763f(0x149)]({'tag':_0x37763f(0x12f),'attributes':{'tabindex':-0x1,'role':_0x37763f(0x146),'class':['ck',_0x37763f(0x131)],'aria-label':_0x42b760(_0x416e24,_0x37763f(0x129))},'children':[this[_0x37763f(0x145)]],'on':{'mouseleave':_0x531848['to'](_0x5eeee0=>{const _0x424f83=_0x37763f,_0x442e3a=_0x5eeee0,_0x16b6b2=document[_0x424f83(0x11e)](_0x424f83(0x134)),_0x822665=document[_0x424f83(0x11e)](_0x424f83(0x13c));_0x16b6b2?.[_0x424f83(0x13e)](_0x442e3a[_0x424f83(0x142)])||_0x822665?.[_0x424f83(0x13e)](_0x442e3a[_0x424f83(0x142)])||this[_0x424f83(0x12e)](_0x424f83(0x13a));})}});}}function _0x24c2(_0x2d8081,_0xa05f7d){const _0x17b45b=_0x17b4();return _0x24c2=function(_0x24c237,_0xd5357d){_0x24c237=_0x24c237-0x11e;let _0x9f262e=_0x17b45b[_0x24c237];return _0x9f262e;},_0x24c2(_0x2d8081,_0xa05f7d);}function _0x17b4(){const _0x5bd732=['role','querySelector','29021980DUSuYf','ck-reset','bindTemplate','render','element','items','3057640fXoWwd','max','_isScrollable','resize','Connected\x20users\x20list\x20dropdown\x20menu','window','10xfiotB','change','3RUfFfZ','fire','div','listenTo','ck-presence-list__dropdown-list','ck-presence-list__dropdown-list-wrapper','77fSPzWW','.ck-presence-list__list','ck-list','scrollHeight','10845857BpseDD','972822CJahBK','3ulrESe','presencelist:hide','checkIfScrollable','.ck-balloon-panel_with-arrow','230024UPMHZL','contains','5sfTMfc','set','ck-presence-list__dropdown-list-wrapper_scrollable','relatedTarget','5656050MznufL','innerHeight','listWrapperView','application','ariaLabel','ariaLabelledBy','setTemplate','12ghzUgT','613206YpLVcB','clientHeight'];_0x17b4=function(){return _0x5bd732;};return _0x17b4();}export class PresenceDropdownListWrapperView extends _0x2152d4{constructor(_0x4145ba,_0x3426c2){const _0xff698=_0x37fac6;super(_0x4145ba);const _0x6a587d=this[_0xff698(0x121)];this[_0xff698(0x140)](_0xff698(0x127),!0x1),this[_0xff698(0x149)]({'tag':_0x3426c2?_0xff698(0x12f):'ul','attributes':{'class':['ck',_0xff698(0x120),_0xff698(0x135),_0xff698(0x132),_0x6a587d['if'](_0xff698(0x127),_0xff698(0x141))],'role':_0x6a587d['to'](_0xff698(0x14d)),'aria-label':_0x6a587d['to'](_0xff698(0x147)),'aria-labelledby':_0x6a587d['to'](_0xff698(0x148))},'children':this[_0xff698(0x124)]}),this[_0xff698(0x130)](_0x49d236[_0xff698(0x12a)],_0xff698(0x128),()=>this[_0xff698(0x13b)]()),this[_0xff698(0x124)]['on'](_0xff698(0x12c),()=>this[_0xff698(0x13b)]());}[_0x37fac6(0x122)](){const _0x3b5a32=_0x37fac6;super[_0x3b5a32(0x122)](),this[_0x3b5a32(0x13b)]();}[_0x37fac6(0x13b)](){const _0x319392=_0x37fac6,_0x532647=this[_0x319392(0x123)];_0x532647&&(this[_0x319392(0x127)]=Math[_0x319392(0x126)](_0x532647[_0x319392(0x136)],_0x532647[_0x319392(0x14c)])>0.8*window[_0x319392(0x144)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x598830=_0x457f;(function(_0x32b35d,_0x457ae8){const _0x1761ee=_0x457f,_0x413042=_0x32b35d();while(!![]){try{const _0x245996=-parseInt(_0x1761ee(0xb5))/0x1+parseInt(_0x1761ee(0xbf))/0x2+-parseInt(_0x1761ee(0xb0))/0x3+-parseInt(_0x1761ee(0xac))/0x4+-parseInt(_0x1761ee(0xa8))/0x5+-parseInt(_0x1761ee(0xa2))/0x6*(-parseInt(_0x1761ee(0xb3))/0x7)+parseInt(_0x1761ee(0xba))/0x8;if(_0x245996===_0x457ae8)break;else _0x413042['push'](_0x413042['shift']());}catch(_0x52f32b){_0x413042['push'](_0x413042['shift']());}}}(_0x6c36,0x5d691));import{LabelView as _0x2a0f45,View as _0x37d4a8}from'ckeditor5/src/ui.js';import{UserView as _0x23be7a}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ot extends _0x37d4a8{[_0x598830(0xa9)];[_0x598830(0xb2)];constructor(_0x3dd0e8,_0x3c9e8b,_0x32e711){const _0x47963e=_0x598830;super(_0x3dd0e8);const _0x438ef7=this[_0x47963e(0xb7)];this[_0x47963e(0xaf)](_0x47963e(0xa6),!0x1),this[_0x47963e(0xaf)](_0x47963e(0xbc),!0x0),this[_0x47963e(0xaf)](_0x47963e(0xae),''),this[_0x47963e(0xa9)]=new _0x23be7a(_0x3dd0e8,_0x3c9e8b),this[_0x47963e(0xb2)]=new dt(_0x3dd0e8,_0x3c9e8b);const _0x49dbb5=new _0x2a0f45(_0x3dd0e8);_0x49dbb5[_0x47963e(0xa7)][_0x47963e(0xa1)]=_0x47963e(0xad),_0x49dbb5[_0x47963e(0xa4)]=_0x3c9e8b[_0x47963e(0xbd)];const _0x10a4b1={'tag':_0x47963e(0xa3),'attributes':{'class':['ck',_0x47963e(0xb1)],'role':_0x47963e(0xbb),'tabindex':_0x438ef7['to'](_0x47963e(0xa6),_0x2bc3ac=>!!_0x2bc3ac&&0x0),'aria-labelledby':_0x49dbb5['id'],'data-cke-tooltip-text':this[_0x47963e(0xa9)][_0x47963e(0xbd)],'data-cke-tooltip-position':_0x438ef7['to'](_0x47963e(0xae)),'data-cke-tooltip-disabled':_0x438ef7['to'](_0x47963e(0xbc),_0x87e823=>!_0x87e823),'data-cke-tooltip-class':_0x47963e(0xb6)},'children':[this[_0x47963e(0xa9)],this[_0x47963e(0xb2)],_0x49dbb5]};_0x32e711&&(_0x10a4b1[_0x47963e(0xa1)]=_0x47963e(0xaa),_0x10a4b1['on']={'click':_0x438ef7['to'](()=>this[_0x47963e(0xb9)](_0x47963e(0xbe)))}),this[_0x47963e(0xb8)](_0x10a4b1);}}function _0x6c36(){const _0x2740b4=['setTemplate','fire','7963008FQSUIP','listitem','hasTooltip','name','execute','1087574ImDDFV','color','tag','39474GerkdU','div','text','getBackgroundColorClass','isFocusable','template','1787050hvOjjK','userView','button','true','1935660wrlQQB','span','tooltipPosition','set','1661526mxDnYj','ck-presence-list__list-item','markerView','777VAggDp','ck-presence-list__marker','491656ztFeol','ck-presence-list__list-item__tooltip','bindTemplate'];_0x6c36=function(){return _0x2740b4;};return _0x6c36();}function _0x457f(_0x55e72c,_0x2a303f){const _0x6c363c=_0x6c36();return _0x457f=function(_0x457f70,_0x45adce){_0x457f70=_0x457f70-0xa1;let _0x14d6d1=_0x6c363c[_0x457f70];return _0x14d6d1;},_0x457f(_0x55e72c,_0x2a303f);}class dt extends _0x37d4a8{constructor(_0x52d819,_0x157b4f){const _0x13f7e6=_0x598830;super(_0x52d819),this[_0x13f7e6(0xb8)]({'tag':_0x13f7e6(0xad),'attributes':{'class':['ck',_0x13f7e6(0xb4),_0x157b4f[_0x13f7e6(0xc0)][_0x13f7e6(0xa5)]()],'aria-hidden':_0x13f7e6(0xab)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41c74a=_0x189d;(function(_0x2f221e,_0x7424){const _0x12a32b=_0x189d,_0x1a0567=_0x2f221e();while(!![]){try{const _0x520b35=parseInt(_0x12a32b(0xef))/0x1*(parseInt(_0x12a32b(0xf3))/0x2)+parseInt(_0x12a32b(0x106))/0x3*(-parseInt(_0x12a32b(0x100))/0x4)+parseInt(_0x12a32b(0xfd))/0x5*(-parseInt(_0x12a32b(0xf5))/0x6)+parseInt(_0x12a32b(0x105))/0x7*(-parseInt(_0x12a32b(0x102))/0x8)+-parseInt(_0x12a32b(0xf8))/0x9+parseInt(_0x12a32b(0xf1))/0xa+parseInt(_0x12a32b(0xea))/0xb;if(_0x520b35===_0x7424)break;else _0x1a0567['push'](_0x1a0567['shift']());}catch(_0x115e2b){_0x1a0567['push'](_0x1a0567['shift']());}}}(_0x512f,0x84b5a));import{View as _0x4b04c9}from'ckeditor5/src/ui.js';import _0x2e52fd from'./presencecounterview.js';import _0x20a47e from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x189d(_0xf6f710,_0x5b4c49){const _0x512fc5=_0x512f();return _0x189d=function(_0x189d9f,_0xb6175a){_0x189d9f=_0x189d9f-0xea;let _0x5aa81b=_0x512fc5[_0x189d9f];return _0x5aa81b;},_0x189d(_0xf6f710,_0x5b4c49);}export default class et extends _0x4b04c9{[_0x41c74a(0xed)];[_0x41c74a(0xf9)];constructor(_0x283b9f,_0x44a1d6=0x6){const _0x6025a9=_0x41c74a;super(_0x283b9f);const _0x404bc1=this[_0x6025a9(0xf6)];this[_0x6025a9(0x101)](_0x6025a9(0xfa),!0x0),this[_0x6025a9(0xed)]=new _0x2e52fd(this[_0x6025a9(0xf2)],_0x44a1d6),this[_0x6025a9(0xf9)]=new _0x20a47e(_0x283b9f),this[_0x6025a9(0xf9)][_0x6025a9(0xfc)](_0x6025a9(0xeb))['to'](this,_0x6025a9(0xfa)),this[_0x6025a9(0xec)](this[_0x6025a9(0xf9)][_0x6025a9(0xf7)],_0x6025a9(0xf0),()=>{const _0x5797e=_0x6025a9;for(const _0x14f83d of this[_0x5797e(0xf9)][_0x5797e(0xf7)])_0x14f83d[_0x5797e(0x104)]='s';this[_0x5797e(0xf9)][_0x5797e(0xf7)][_0x5797e(0xff)]&&(this[_0x5797e(0xf9)][_0x5797e(0xf7)][_0x5797e(0xff)][_0x5797e(0x104)]='se');}),this[_0x6025a9(0xfb)]({'tag':_0x6025a9(0xf4),'attributes':{'class':['ck',_0x6025a9(0xee),_0x6025a9(0x107),_0x6025a9(0x103),_0x404bc1['if'](_0x6025a9(0xfa),_0x6025a9(0xfe))]},'children':[this[_0x6025a9(0xf9)]]});}}function _0x512f(){const _0x3124fc=['22342csPHLL','div','23694FHIGZE','bindTemplate','items','3402063Yzxfuo','inlineListView','isCollapsed','setTemplate','bind','1190XzUWuc','ck-presence-list--collapsed','first','212CZESjv','set','8kXEpBH','ck-rounded-corners','tooltipPosition','5638059TVPeuC','57093TKWZzQ','ck-reset','30738422RCaohb','hasPopup','listenTo','counterView','ck-presence-list','23heyIGt','change','6241920YMLrwc','locale'];_0x512f=function(){return _0x3124fc;};return _0x512f();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x5baaac)());[_0x3631c7(0x1d4)];[_0x3631c7(0x1af)];[_0x3631c7(0x1df)];[_0x3631c7(0x176)];static get[_0x3631c7(0x1b4)](){const _0x4da774=_0x3631c7;return[_0x35866e,_0x1286f1,_0x4da774(0x198),_0x28f7e9,_0x42717a];}static get[_0x3631c7(0x1c9)](){const _0x2f57d2=_0x3631c7;return _0x2f57d2(0x1d9);}static get[_0x3631c7(0x179)](){return!0x0;}static get[_0x3631c7(0x1c5)](){return!0x0;}constructor(_0x3257c4){const _0x12e463=_0x3631c7;super(_0x3257c4);const _0x57db26=this[_0x12e463(0x1ab)][_0x12e463(0x18f)][_0x12e463(0x1b8)](_0x12e463(0x1a0));this[_0x12e463(0x1d4)]=null,this[_0x12e463(0x1af)]=this[_0x12e463(0x1ab)][_0x12e463(0x19a)][_0x12e463(0x1b8)](_0x12e463(0x185)),this[_0x12e463(0x1df)]=new u[(_0x12e463(0x1bf))](_0x57db26);}async[_0x3631c7(0x17b)](){const _0x29143e=_0x3631c7,_0x1a3d23=this[_0x29143e(0x1ab)][_0x29143e(0x19a)][_0x29143e(0x1b8)](_0x1286f1),_0xf33538=_0x1a3d23[_0x29143e(0x1b0)],_0x606194=this[_0x29143e(0x1ab)][_0x29143e(0x19a)][_0x29143e(0x1b8)](_0x35866e);this[_0x29143e(0x1af)][_0x29143e(0x1ae)]({'history':_0xf33538,'getLatestVersion':()=>this[_0x29143e(0x1da)](),'getCurrentRevisionId':()=>_0x1a3d23[_0x29143e(0x17c)]});const _0x2f2855=this[_0x29143e(0x1ab)][_0x29143e(0x18f)][_0x29143e(0x1b8)](_0x29143e(0x193))||_0x4cda94,_0x553c43=await _0x319854[_0x29143e(0x19c)](_0x606194[_0x29143e(0x191)],_0x2f2855);this[_0x29143e(0x1ab)][_0x29143e(0x19a)][_0x29143e(0x1b8)](_0x29143e(0x198))[_0x29143e(0x192)]={'getRevision':async({revisionId:_0x268f5a})=>(await this[_0x29143e(0x1d8)](),await this[_0x29143e(0x1df)][_0x29143e(0x1bd)](_0x268f5a)),'updateRevisions':async _0x295065=>{const _0x12fbe1=_0x29143e;await this[_0x12fbe1(0x1d8)]();const _0x40f420=this[_0x12fbe1(0x1af)][_0x12fbe1(0x199)];if(_0x553c43&&0x1===_0x295065[_0x12fbe1(0x1de)]&&_0x295065[0x0]['id']===_0x40f420['id'])return _0x295065;for(const _0x4112b8 of _0x295065)_0x4112b8['id']===_0x40f420['id']&&(_0x4112b8[_0x12fbe1(0x1b6)]=_0x4112b8[_0x12fbe1(0x1cc)]===_0x4112b8[_0x12fbe1(0x1dc)]);return this[_0x12fbe1(0x1df)][_0x12fbe1(0x197)](_0x295065,this[_0x12fbe1(0x1d4)])[_0x12fbe1(0x1cd)](_0x2fd11c=>(this[_0x12fbe1(0x1d4)]=_0x2fd11c,_0x295065))[_0x12fbe1(0x1bb)](_0x5154f5=>{const _0x41764b=_0x12fbe1;if(ct(_0x5154f5)||_0x41764b(0x1b1)===_0x5154f5[_0x41764b(0x182)]&&void 0x0!==_0x5154f5[_0x41764b(0x1bc)][_0x41764b(0x1c1)]){for(const _0x6ab13a of _0x295065){!this[_0x41764b(0x1af)][_0x41764b(0x177)][_0x41764b(0x1bd)](_0x6ab13a['id'])||this[_0x41764b(0x1af)][_0x41764b(0x1c8)](_0x6ab13a['id'],_0x6ab13a,!0x1);}if(ct(_0x5154f5))throw _0x5154f5;return _0x295065;}throw _0x5154f5;});}},this[_0x29143e(0x1d6)](this[_0x29143e(0x1df)],_0x29143e(0x17f),(_0x53d15f,{revisionsData:_0x333f4c,requestId:_0x3159cf})=>{const _0x4877cb=_0x29143e;Math[_0x4877cb(0x178)](..._0x333f4c[_0x4877cb(0x1aa)](_0x13c280=>_0x13c280[_0x4877cb(0x1dc)]))>this[_0x4877cb(0x194)]()-0x1?this[_0x4877cb(0x1da)]()[_0x4877cb(0x1cd)](()=>{const _0x36930c=_0x4877cb;this[_0x36930c(0x190)](_0x333f4c,_0x3159cf);}):this[_0x4877cb(0x190)](_0x333f4c,_0x3159cf);});const {revisions:_0x37a73e,requestId:_0x383914}=await this[_0x29143e(0x1df)][_0x29143e(0x184)](_0x606194[_0x29143e(0x191)]);_0x606194[_0x29143e(0x1be)](this),this[_0x29143e(0x1d4)]=_0x383914,await this[_0x29143e(0x17e)](_0x37a73e);for(const _0x17286b of _0x37a73e)this[_0x29143e(0x1af)][_0x29143e(0x1e1)](_0x17286b);this[_0x29143e(0x1d6)](_0x1a3d23,_0x29143e(0x1d2),(_0x3db5c8,_0x5772a3,_0x5f4a3c)=>{const _0x3aaa42=_0x29143e;_0x5f4a3c&&(this[_0x3aaa42(0x176)]=_0x1a3d23[_0x3aaa42(0x1e3)],_0x3db5c8[_0x3aaa42(0x18c)]());}),this[_0x29143e(0x1af)][_0x29143e(0x1b9)](_0x29143e(0x1e2))['to'](_0x606194,_0x29143e(0x1dd),_0x6395bd=>_0x6395bd===_0x596461[_0x29143e(0x1e0)]);}async[_0x3631c7(0x1cf)](){const _0x3bf747=_0x3631c7,_0x411413=this[_0x3bf747(0x1ab)][_0x3bf747(0x19a)][_0x3bf747(0x1b8)](_0x35866e),_0x10df0e=this[_0x3bf747(0x1ab)][_0x3bf747(0x19a)][_0x3bf747(0x1b8)](_0x1286f1),_0x493651=async()=>{const _0x312b09=_0x3bf747,_0x225c86=this[_0x312b09(0x1af)][_0x312b09(0x199)],_0x271a6d=_0x225c86['id'],_0x56d1a9=_0x271a6d!==_0x10df0e[_0x312b09(0x17c)];if(_0x56d1a9){const _0x142b1c=_0x10df0e[_0x312b09(0x1e3)]-this[_0x312b09(0x176)],_0x1fdc5e=this[_0x312b09(0x194)]();this[_0x312b09(0x1af)][_0x312b09(0x1a1)][_0x312b09(0x1b2)]();if(_0x225c86[_0x312b09(0x1dc)]+_0x142b1c!==_0x1fdc5e){const _0x15893f=_0x225c86[_0x312b09(0x1cc)]+_0x142b1c,_0x5544fb=this[_0x312b09(0x1ab)][_0x312b09(0x19a)][_0x312b09(0x1b8)](_0x42717a),_0x20af6d=this[_0x312b09(0x1af)][_0x312b09(0x18e)]({'revision':_0x225c86,'from':_0x15893f,'to':_0x1fdc5e});_0x20af6d['id']=_0x225c86['id'];const _0x2484b4=_0x20af6d[_0x312b09(0x17a)][_0x312b09(0x1aa)](_0x3d8afc=>_0x5544fb[_0x312b09(0x1d5)](_0x3d8afc));_0x225c86[_0x312b09(0x19f)]({..._0x20af6d,'authors':_0x2484b4},!0x0),this[_0x312b09(0x1af)][_0x312b09(0x1c8)](_0x225c86['id'],_0x20af6d,!0x0);}this[_0x312b09(0x1af)][_0x312b09(0x1b7)]=_0x1fdc5e,(_0x225c86[_0x312b09(0x1dc)]===_0x225c86[_0x312b09(0x1cc)]&&!this[_0x312b09(0x1af)][_0x312b09(0x1b5)][_0x312b09(0x1c7)](_0x271a6d)&&this[_0x312b09(0x1af)][_0x312b09(0x177)][_0x312b09(0x1a5)][_0x312b09(0x18a)](_0x271a6d),this[_0x312b09(0x1af)][_0x312b09(0x1ac)](_0x1fdc5e));}const {revisions:_0x225e19,requestId:_0x5a5187}=await this[_0x312b09(0x1df)][_0x312b09(0x1cf)](_0x411413[_0x312b09(0x191)],this[_0x312b09(0x1d4)]);_0x56d1a9&&_0x225e19[_0x312b09(0x1de)]>0x0?_0x10df0e[_0x312b09(0x1ca)]():(await this[_0x312b09(0x17e)](_0x225e19),this[_0x312b09(0x190)](_0x225e19,_0x5a5187),this[_0x312b09(0x1af)][_0x312b09(0x17d)]());};return _0x10df0e[_0x3bf747(0x1db)]?_0x493651():new Promise((_0x146578,_0x3d1cb0)=>{const _0x51c451=_0x3bf747;_0x10df0e[_0x51c451(0x181)](_0x51c451(0x1d2),()=>{const _0xfffa78=_0x51c451;_0x493651()[_0xfffa78(0x1cd)](_0x146578)[_0xfffa78(0x1bb)](_0x3d1cb0);});});}[_0x3631c7(0x1a2)](){const _0x3b8607=_0x3631c7;super[_0x3b8607(0x1a2)]();}async[_0x3631c7(0x1d8)](){const _0x956f54=_0x3631c7;this[_0x956f54(0x1df)][_0x956f54(0x19b)]||await new Promise(_0x50bc5a=>{const _0x5160a8=_0x956f54;this[_0x5160a8(0x1d6)](this[_0x5160a8(0x1df)],_0x5160a8(0x171),_0x40bd86=>{const _0x4c05e0=_0x5160a8;_0x40bd86[_0x4c05e0(0x18c)](),_0x50bc5a();});});}[_0x3631c7(0x194)](){const _0x721db2=_0x3631c7,_0x1b9a20=this[_0x721db2(0x1ab)][_0x721db2(0x19a)][_0x721db2(0x1b8)](_0x1286f1)[_0x721db2(0x1b0)][_0x721db2(0x1ba)]()[_0x721db2(0x1c6)]();for(const _0x1f5c28 of _0x1b9a20)if(_0x721db2(0x180)!==_0x1f5c28[_0x721db2(0x1d7)]||_0x1f5c28[_0x721db2(0x16e)])return _0x1f5c28[_0x721db2(0x173)]+0x1;}[_0x3631c7(0x1da)](){const _0x11786a=_0x3631c7,_0x7db375=this[_0x11786a(0x1ab)][_0x11786a(0x19a)][_0x11786a(0x1b8)](_0x1286f1);return new Promise(_0x32d223=>{const _0x385c7d=_0x11786a;_0x7db375[_0x385c7d(0x1c0)]?_0x7db375[_0x385c7d(0x181)](_0x385c7d(0x189),()=>{const _0x33b052=_0x385c7d;_0x32d223(this[_0x33b052(0x194)]());}):_0x32d223(this[_0x385c7d(0x194)]());});}[_0x3631c7(0x190)](_0x11902a,_0xfd0faa){const _0x210996=_0x3631c7,_0x55810d=this[_0x210996(0x1af)][_0x210996(0x177)];this[_0x210996(0x1d4)]=_0xfd0faa;for(const _0x43de35 of _0x11902a){const _0x5c1cd8=_0x55810d[_0x210996(0x1bd)](_0x43de35['id']);if(_0x5c1cd8){if((_0x43de35[_0x210996(0x1cc)]||_0x43de35[_0x210996(0x1dc)])&&(_0x43de35[_0x210996(0x1c4)]=null),_0x5c1cd8===this[_0x210996(0x1af)][_0x210996(0x199)]){const _0x530005=Math[_0x210996(0x178)](_0x5c1cd8[_0x210996(0x1dc)],_0x43de35[_0x210996(0x1dc)]),_0x2d2758=Math[_0x210996(0x178)](_0x5c1cd8[_0x210996(0x1cc)],_0x43de35[_0x210996(0x1cc)]);let _0x28eb63;_0x5c1cd8[_0x210996(0x1dc)]===_0x43de35[_0x210996(0x1dc)]&&_0x5c1cd8[_0x210996(0x1cc)]===_0x43de35[_0x210996(0x1cc)]?(_0x28eb63=!0x0,this[_0x210996(0x188)](_0x43de35)):_0x43de35[_0x210996(0x1dc)]===_0x530005&&_0x43de35[_0x210996(0x1cc)]===_0x2d2758?_0x28eb63=!0x1:(_0x5c1cd8[_0x210996(0x1dc)]===_0x530005&&_0x5c1cd8[_0x210996(0x1cc)]===_0x2d2758||this[_0x210996(0x174)]({'revision':_0x5c1cd8,'from':_0x2d2758,'to':_0x530005}),_0x28eb63=!0x0),_0x28eb63&&(delete _0x43de35[_0x210996(0x1cc)],delete _0x43de35[_0x210996(0x1dc)],delete _0x43de35[_0x210996(0x1c4)],delete _0x43de35[_0x210996(0x1cb)],delete _0x43de35[_0x210996(0x17a)]);}this[_0x210996(0x1af)][_0x210996(0x1d0)](_0x43de35),this[_0x210996(0x188)](_0x43de35);}else this[_0x210996(0x1af)][_0x210996(0x1e1)](_0x43de35);}const _0x2c9682=_0x55810d[_0x210996(0x1a4)]();_0x2c9682[_0x210996(0x1c6)]();for(let _0x5c89d5=0x0;_0x5c89d5<_0x2c9682[_0x210996(0x1de)]-0x1;_0x5c89d5++){const _0x55e988=_0x2c9682[_0x5c89d5],_0x4b265e=_0x2c9682[_0x5c89d5+0x1];if(_0x55e988[_0x210996(0x1cc)]<_0x4b265e[_0x210996(0x1dc)]){const _0x55724f=_0x4b265e[_0x210996(0x1dc)],_0x5cab56=Math[_0x210996(0x178)](_0x55724f,_0x55e988[_0x210996(0x1dc)]);this[_0x210996(0x174)]({'revision':_0x55e988,'from':_0x55724f,'to':_0x5cab56});}}}[_0x3631c7(0x174)]({revision:_0x5bf6e9,from:_0x57f741,to:_0x196a77}={}){const _0x243c9c=_0x3631c7,_0x1411fa=this[_0x243c9c(0x1ab)][_0x243c9c(0x19a)][_0x243c9c(0x1b8)](_0x42717a),_0x249728=this[_0x243c9c(0x1af)][_0x243c9c(0x18e)]({'revision':_0x5bf6e9,'from':_0x57f741,'to':_0x196a77});_0x249728[_0x243c9c(0x1b3)]=_0x249728[_0x243c9c(0x17a)][_0x243c9c(0x1aa)](_0x3a1ca9=>_0x1411fa[_0x243c9c(0x1d5)](_0x3a1ca9)),_0x5bf6e9[_0x243c9c(0x19f)](_0x249728);}[_0x3631c7(0x188)](_0x588cda){const _0x57da51=_0x3631c7,_0x198fe7={};_0x198fe7['id']=_0x588cda['id'];for(const _0x4a2e4e of Object[_0x57da51(0x16f)](_0x588cda))'id'!==_0x4a2e4e&&(_0x198fe7[_0x4a2e4e]=void 0x0);this[_0x57da51(0x1af)][_0x57da51(0x1c8)](_0x198fe7['id'],_0x198fe7,!0x0);}async[_0x3631c7(0x17e)](_0x24c067){const _0x3885b5=_0x3631c7,_0x3b397c=this[_0x3885b5(0x1ab)][_0x3885b5(0x19a)][_0x3885b5(0x1b8)](_0x42717a),{connection:_0x1935de}=this[_0x3885b5(0x1ab)][_0x3885b5(0x19a)][_0x3885b5(0x1b8)](_0x35866e),_0x5cfffd=new Set();for(const _0x5cd591 of _0x24c067){for(const _0x41461b of _0x5cd591[_0x3885b5(0x17a)])_0x21d821(_0x41461b);_0x5cd591[_0x3885b5(0x19d)]&&_0x21d821(_0x5cd591[_0x3885b5(0x19d)]);}if(0x0===_0x5cfffd[_0x3885b5(0x172)])return;const _0x4a5bba=await _0x5bc503[_0x3885b5(0x1ad)](_0x1935de,Array[_0x3885b5(0x1a3)](_0x5cfffd));for(const _0x6a5d4e of _0x4a5bba)_0x3b397c[_0x3885b5(0x1d5)](_0x6a5d4e['id'])||_0x3b397c[_0x3885b5(0x170)](_0x6a5d4e);function _0x21d821(_0x9817a9){const _0x3778fa=_0x3885b5;_0x3b397c[_0x3778fa(0x1d5)](_0x9817a9)||_0x5cfffd[_0x3778fa(0x187)](_0x9817a9);}}}export default u;function ct(_0x352b0a){const _0x4b3717=_0x3631c7;return _0x352b0a[_0x4b3717(0x19e)][_0x4b3717(0x1a8)](_0x4b3717(0x1d3))||_0x352b0a[_0x4b3717(0x19e)][_0x4b3717(0x1a8)](_0x4b3717(0x1a9))||_0x352b0a[_0x4b3717(0x19e)][_0x4b3717(0x1a8)](_0x4b3717(0x196));}
|
|
23
|
+
const _0x4e2e84=_0xc5d0;(function(_0x24ea3c,_0x543483){const _0x3aecdf=_0xc5d0,_0x27797b=_0x24ea3c();while(!![]){try{const _0x4c92a3=parseInt(_0x3aecdf(0x15b))/0x1*(parseInt(_0x3aecdf(0x141))/0x2)+-parseInt(_0x3aecdf(0x14d))/0x3*(parseInt(_0x3aecdf(0x16a))/0x4)+parseInt(_0x3aecdf(0x149))/0x5+-parseInt(_0x3aecdf(0x17a))/0x6+-parseInt(_0x3aecdf(0x193))/0x7+-parseInt(_0x3aecdf(0x14f))/0x8*(-parseInt(_0x3aecdf(0x192))/0x9)+parseInt(_0x3aecdf(0x162))/0xa*(parseInt(_0x3aecdf(0x16c))/0xb);if(_0x4c92a3===_0x543483)break;else _0x27797b['push'](_0x27797b['shift']());}catch(_0x29dbd5){_0x27797b['push'](_0x27797b['shift']());}}}(_0x2bc8,0xebc1e));import{Plugin as _0x1d1d2b}from'ckeditor5/src/core.js';import{version as _0x597eae}from'ckeditor5/src/utils.js';import{Users as _0x239676}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2bc8(){const _0x20ce82=['fromVersion','_handleReconnectionError','serverHistory','bind','map','24048xVoeeN','6299650cDwIgc','connected','toVersion','authors','_isConnected','data','reverse','repository','change:_isPendingUpdate','change:_isConnected','_fetchMissingUsers','getUser','setSource','get','remove','baseVersion','reconnect','has','then','_revisionDataBuilder','CONNECTED','RevisionHistory','CloudServicesRevisionHistoryAdapter','size','destroy','diffData','addUser','_bufferedUpdates','requires','_createCurrentRevision','code','config','creatorId','isEmptyCurrent','_getLatestVersionFromServerOperations','2FvFVYd','isBundleUploaded','revisionsUpdated','getRevisions','_preventResendingRevisionData','_oldOffset','updateRevisions','_isPendingUpdate','7967225HKqKQX','message','createdAt','once','3843414ImEnzw','400','1776CwLByY','isOfficialPlugin','buildRevisionData','connection','_waitForServiceReady','isPremiumPlugin','from','off','reInit','sessionId','_lastRequestId','RevisionTracker','1723459VjFnhG','keys','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_revisionHistoryService','addToReconnectionStack','_revisions','wrongRequestId','11310FbCysv','type','addRevisionData','RevisionHistoryService','getMany','startsWith','getRevision','getOperations','4sQPscG','isConnected','6402WfrRtg','adapter','setRevisionData','cloud-services-internal-error:\x20Request\x20timeout.','_bufferUpdate','cloud-services-internal-error:\x20Not\x20connected.','currentRevision','pluginName','sendBufferedUpdates','_getLatestVersion','cloudServices.bundleVersion','_startingVersion','init','listenTo','8529480YXbePe','length','connect','max','_revisionTracker','affectsData','_offset','_update','isEnabled','editor','collaboration.channelId','add','_fixRevision','state','catch','_handleRevisionsUpdate','marker','plugins','authorsIds'];_0x2bc8=function(){return _0x20ce82;};return _0x2bc8();}import _0x493bba from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x1f42d2 from'../realtimecollaborativeediting/websocketgateway.js';function _0xc5d0(_0x312d7a,_0x13e256){const _0x2bc8c2=_0x2bc8();return _0xc5d0=function(_0xc5d0b,_0x2525f4){_0xc5d0b=_0xc5d0b-0x12b;let _0x124bb2=_0x2bc8c2[_0xc5d0b];return _0x124bb2;},_0xc5d0(_0x312d7a,_0x13e256);}import _0x4da65d from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x447ac8,RevisionHistoryService as _0x45e31a,User as _0x24e74a,WEB_SOCKET_GATEWAY_STATES as _0x16391c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x1d1d2b{static [_0x4e2e84(0x165)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x45e31a)());[_0x4e2e84(0x159)];[_0x4e2e84(0x17e)];[_0x4e2e84(0x15e)];[_0x4e2e84(0x146)];static get[_0x4e2e84(0x13a)](){const _0x41573f=_0x4e2e84;return[_0x1f42d2,_0x493bba,_0x41573f(0x133),_0x4da65d,_0x239676];}static get[_0x4e2e84(0x173)](){const _0x568dc9=_0x4e2e84;return _0x568dc9(0x134);}static get[_0x4e2e84(0x150)](){return!0x0;}static get[_0x4e2e84(0x154)](){return!0x0;}constructor(_0x3dee8e){const _0x44d60d=_0x4e2e84;super(_0x3dee8e);const _0x51c763=this[_0x44d60d(0x183)][_0x44d60d(0x13d)][_0x44d60d(0x12b)](_0x44d60d(0x184));this[_0x44d60d(0x159)]=null,this[_0x44d60d(0x17e)]=this[_0x44d60d(0x183)][_0x44d60d(0x18b)][_0x44d60d(0x12b)](_0x44d60d(0x15a)),this[_0x44d60d(0x15e)]=new u[(_0x44d60d(0x165))](_0x51c763);}async[_0x4e2e84(0x178)](){const _0x540609=_0x4e2e84,_0x58be17=this[_0x540609(0x183)][_0x540609(0x18b)][_0x540609(0x12b)](_0x493bba),_0x3131bd=_0x58be17[_0x540609(0x18f)],_0x492001=this[_0x540609(0x183)][_0x540609(0x18b)][_0x540609(0x12b)](_0x1f42d2);this[_0x540609(0x17e)][_0x540609(0x19f)]({'history':_0x3131bd,'getLatestVersion':()=>this[_0x540609(0x175)](),'getCurrentRevisionId':()=>_0x58be17[_0x540609(0x158)]});const _0x5996d8=this[_0x540609(0x183)][_0x540609(0x13d)][_0x540609(0x12b)](_0x540609(0x176))||_0x597eae,_0x2101e7=await _0x447ac8[_0x540609(0x142)](_0x492001[_0x540609(0x152)],_0x5996d8);this[_0x540609(0x183)][_0x540609(0x18b)][_0x540609(0x12b)](_0x540609(0x133))[_0x540609(0x16d)]={'getRevision':async({revisionId:_0x11c3b9})=>(await this[_0x540609(0x153)](),await this[_0x540609(0x15e)][_0x540609(0x168)](_0x11c3b9)),'updateRevisions':async _0x1dc5e2=>{const _0x43e801=_0x540609;await this[_0x43e801(0x153)]();const _0x2fd1ef=this[_0x43e801(0x17e)][_0x43e801(0x172)];if(_0x2101e7&&0x1===_0x1dc5e2[_0x43e801(0x17b)]&&_0x1dc5e2[0x0]['id']===_0x2fd1ef['id'])return _0x1dc5e2;for(const _0x41e015 of _0x1dc5e2)_0x41e015['id']===_0x2fd1ef['id']&&(_0x41e015[_0x43e801(0x13f)]=_0x41e015[_0x43e801(0x18d)]===_0x41e015[_0x43e801(0x195)]);return this[_0x43e801(0x15e)][_0x43e801(0x147)](_0x1dc5e2,this[_0x43e801(0x159)])[_0x43e801(0x130)](_0x275f59=>(this[_0x43e801(0x159)]=_0x275f59,_0x1dc5e2))[_0x43e801(0x188)](_0x54100b=>{const _0x17329b=_0x43e801;if(Q(_0x54100b)||_0x17329b(0x14e)===_0x54100b[_0x17329b(0x13c)]&&void 0x0!==_0x54100b[_0x17329b(0x198)][_0x17329b(0x161)]){for(const _0x2b5b3c of _0x1dc5e2){!this[_0x17329b(0x17e)][_0x17329b(0x19a)][_0x17329b(0x168)](_0x2b5b3c['id'])||this[_0x17329b(0x17e)][_0x17329b(0x170)](_0x2b5b3c['id'],_0x2b5b3c,!0x1);}if(Q(_0x54100b))throw _0x54100b;return _0x1dc5e2;}throw _0x54100b;});}},this[_0x540609(0x179)](this[_0x540609(0x15e)],_0x540609(0x143),(_0x16a9c4,{revisionsData:_0x590ab7,requestId:_0x2a0678})=>{const _0x26e405=_0x540609;Math[_0x26e405(0x17d)](..._0x590ab7[_0x26e405(0x191)](_0x5649b8=>_0x5649b8[_0x26e405(0x195)]))>this[_0x26e405(0x140)]()-0x1?this[_0x26e405(0x175)]()[_0x26e405(0x130)](()=>{const _0x3b22b2=_0x26e405;this[_0x3b22b2(0x189)](_0x590ab7,_0x2a0678);}):this[_0x26e405(0x189)](_0x590ab7,_0x2a0678);});const {revisions:_0x58c558,requestId:_0x59eb06}=await this[_0x540609(0x15e)][_0x540609(0x17c)](_0x492001[_0x540609(0x152)]);_0x492001[_0x540609(0x15f)](this),this[_0x540609(0x159)]=_0x59eb06,await this[_0x540609(0x19d)](_0x58c558);for(const _0x58290d of _0x58c558)this[_0x540609(0x17e)][_0x540609(0x164)](_0x58290d);this[_0x540609(0x179)](_0x58be17,_0x540609(0x19c),(_0x88a6ee,_0x4dee27,_0x509843)=>{const _0x4ca9fc=_0x540609;_0x509843&&(this[_0x4ca9fc(0x146)]=_0x58be17[_0x4ca9fc(0x180)],_0x88a6ee[_0x4ca9fc(0x156)]());}),this[_0x540609(0x17e)][_0x540609(0x190)](_0x540609(0x182))['to'](_0x492001,_0x540609(0x187),_0x28039f=>_0x28039f===_0x16391c[_0x540609(0x132)]);}async[_0x4e2e84(0x12e)](){const _0x58941c=_0x4e2e84,_0x5c12ab=this[_0x58941c(0x183)][_0x58941c(0x18b)][_0x58941c(0x12b)](_0x1f42d2),_0x14b774=this[_0x58941c(0x183)][_0x58941c(0x18b)][_0x58941c(0x12b)](_0x493bba),_0x550ee6=async()=>{const _0x9ad833=_0x58941c,_0x22ea2e=this[_0x9ad833(0x17e)][_0x9ad833(0x172)],_0x31e221=_0x22ea2e['id'],_0x4165ab=_0x31e221!==_0x14b774[_0x9ad833(0x158)];if(_0x4165ab){const _0x2f892a=_0x14b774[_0x9ad833(0x180)]-this[_0x9ad833(0x146)],_0x1185ff=this[_0x9ad833(0x140)]();this[_0x9ad833(0x17e)][_0x9ad833(0x131)][_0x9ad833(0x157)]();if(_0x22ea2e[_0x9ad833(0x195)]+_0x2f892a!==_0x1185ff){const _0x594e84=_0x22ea2e[_0x9ad833(0x18d)]+_0x2f892a,_0x107fe9=this[_0x9ad833(0x183)][_0x9ad833(0x18b)][_0x9ad833(0x12b)](_0x239676),_0x397118=this[_0x9ad833(0x17e)][_0x9ad833(0x151)]({'revision':_0x22ea2e,'from':_0x594e84,'to':_0x1185ff});_0x397118['id']=_0x22ea2e['id'];const _0x198eff=_0x397118[_0x9ad833(0x18c)][_0x9ad833(0x191)](_0x356d93=>_0x107fe9[_0x9ad833(0x19e)](_0x356d93));_0x22ea2e[_0x9ad833(0x181)]({..._0x397118,'authors':_0x198eff},!0x0),this[_0x9ad833(0x17e)][_0x9ad833(0x170)](_0x22ea2e['id'],_0x397118,!0x0);}this[_0x9ad833(0x17e)][_0x9ad833(0x177)]=_0x1185ff,(_0x22ea2e[_0x9ad833(0x195)]===_0x22ea2e[_0x9ad833(0x18d)]&&!this[_0x9ad833(0x17e)][_0x9ad833(0x139)][_0x9ad833(0x12f)](_0x31e221)&&this[_0x9ad833(0x17e)][_0x9ad833(0x19a)][_0x9ad833(0x160)][_0x9ad833(0x12c)](_0x31e221),this[_0x9ad833(0x17e)][_0x9ad833(0x13b)](_0x1185ff));}const {revisions:_0x200064,requestId:_0x591127}=await this[_0x9ad833(0x15e)][_0x9ad833(0x12e)](_0x5c12ab[_0x9ad833(0x152)],this[_0x9ad833(0x159)]);_0x4165ab&&_0x200064[_0x9ad833(0x17b)]>0x0?_0x14b774[_0x9ad833(0x18e)]():(await this[_0x9ad833(0x19d)](_0x200064),this[_0x9ad833(0x189)](_0x200064,_0x591127),this[_0x9ad833(0x17e)][_0x9ad833(0x174)]());};return _0x14b774[_0x58941c(0x197)]?_0x550ee6():new Promise((_0x8df500,_0x340c45)=>{const _0x9c33e4=_0x58941c;_0x14b774[_0x9c33e4(0x14c)](_0x9c33e4(0x19c),()=>{const _0x32725e=_0x9c33e4;_0x550ee6()[_0x32725e(0x130)](_0x8df500)[_0x32725e(0x188)](_0x340c45);});});}[_0x4e2e84(0x136)](){const _0x4f9162=_0x4e2e84;super[_0x4f9162(0x136)]();}async[_0x4e2e84(0x153)](){const _0x1f2217=_0x4e2e84;this[_0x1f2217(0x15e)][_0x1f2217(0x16b)]||await new Promise(_0xe303=>{const _0x4cdd66=_0x1f2217;this[_0x4cdd66(0x179)](this[_0x4cdd66(0x15e)],_0x4cdd66(0x194),_0x2912e1=>{const _0x2236ee=_0x4cdd66;_0x2912e1[_0x2236ee(0x156)](),_0xe303();});});}[_0x4e2e84(0x140)](){const _0x41ae5e=_0x4e2e84,_0x1b144d=this[_0x41ae5e(0x183)][_0x41ae5e(0x18b)][_0x41ae5e(0x12b)](_0x493bba)[_0x41ae5e(0x18f)][_0x41ae5e(0x169)]()[_0x41ae5e(0x199)]();for(const _0x3f9f3d of _0x1b144d)if(_0x41ae5e(0x18a)!==_0x3f9f3d[_0x41ae5e(0x163)]||_0x3f9f3d[_0x41ae5e(0x17f)])return _0x3f9f3d[_0x41ae5e(0x12d)]+0x1;}[_0x4e2e84(0x175)](){const _0x1f56c9=_0x4e2e84,_0x1e1ed2=this[_0x1f56c9(0x183)][_0x1f56c9(0x18b)][_0x1f56c9(0x12b)](_0x493bba);return new Promise(_0x373112=>{const _0x3481eb=_0x1f56c9;_0x1e1ed2[_0x3481eb(0x148)]?_0x1e1ed2[_0x3481eb(0x14c)](_0x3481eb(0x19b),()=>{const _0x1541ef=_0x3481eb;_0x373112(this[_0x1541ef(0x140)]());}):_0x373112(this[_0x3481eb(0x140)]());});}[_0x4e2e84(0x189)](_0x5bc481,_0x324cb4){const _0x453254=_0x4e2e84,_0x1e7369=this[_0x453254(0x17e)][_0x453254(0x19a)];this[_0x453254(0x159)]=_0x324cb4;for(const _0x52a6c3 of _0x5bc481){const _0x6e60c3=_0x1e7369[_0x453254(0x168)](_0x52a6c3['id']);if(_0x6e60c3){if((_0x52a6c3[_0x453254(0x18d)]||_0x52a6c3[_0x453254(0x195)])&&(_0x52a6c3[_0x453254(0x137)]=null),_0x6e60c3===this[_0x453254(0x17e)][_0x453254(0x172)]){const _0x892f70=Math[_0x453254(0x17d)](_0x6e60c3[_0x453254(0x195)],_0x52a6c3[_0x453254(0x195)]),_0x469bc7=Math[_0x453254(0x17d)](_0x6e60c3[_0x453254(0x18d)],_0x52a6c3[_0x453254(0x18d)]);let _0x5af819;_0x6e60c3[_0x453254(0x195)]===_0x52a6c3[_0x453254(0x195)]&&_0x6e60c3[_0x453254(0x18d)]===_0x52a6c3[_0x453254(0x18d)]?(_0x5af819=!0x0,this[_0x453254(0x145)](_0x52a6c3)):_0x52a6c3[_0x453254(0x195)]===_0x892f70&&_0x52a6c3[_0x453254(0x18d)]===_0x469bc7?_0x5af819=!0x1:(_0x6e60c3[_0x453254(0x195)]===_0x892f70&&_0x6e60c3[_0x453254(0x18d)]===_0x469bc7||this[_0x453254(0x186)]({'revision':_0x6e60c3,'from':_0x469bc7,'to':_0x892f70}),_0x5af819=!0x0),_0x5af819&&(delete _0x52a6c3[_0x453254(0x18d)],delete _0x52a6c3[_0x453254(0x195)],delete _0x52a6c3[_0x453254(0x137)],delete _0x52a6c3[_0x453254(0x14b)],delete _0x52a6c3[_0x453254(0x18c)]);}this[_0x453254(0x17e)][_0x453254(0x16e)](_0x52a6c3),this[_0x453254(0x145)](_0x52a6c3);}else this[_0x453254(0x17e)][_0x453254(0x164)](_0x52a6c3);}const _0x1a7123=_0x1e7369[_0x453254(0x144)]();_0x1a7123[_0x453254(0x199)]();for(let _0x7e195f=0x0;_0x7e195f<_0x1a7123[_0x453254(0x17b)]-0x1;_0x7e195f++){const _0x2caf71=_0x1a7123[_0x7e195f],_0x586948=_0x1a7123[_0x7e195f+0x1];if(_0x2caf71[_0x453254(0x18d)]<_0x586948[_0x453254(0x195)]){const _0x440dd3=_0x586948[_0x453254(0x195)],_0x510b36=Math[_0x453254(0x17d)](_0x440dd3,_0x2caf71[_0x453254(0x195)]);this[_0x453254(0x186)]({'revision':_0x2caf71,'from':_0x440dd3,'to':_0x510b36});}}}[_0x4e2e84(0x186)]({revision:_0x22b32c,from:_0x5f3126,to:_0xf19989}={}){const _0x11c62d=_0x4e2e84,_0x7a3ec6=this[_0x11c62d(0x183)][_0x11c62d(0x18b)][_0x11c62d(0x12b)](_0x239676),_0x129648=this[_0x11c62d(0x17e)][_0x11c62d(0x151)]({'revision':_0x22b32c,'from':_0x5f3126,'to':_0xf19989});_0x129648[_0x11c62d(0x196)]=_0x129648[_0x11c62d(0x18c)][_0x11c62d(0x191)](_0x2424b6=>_0x7a3ec6[_0x11c62d(0x19e)](_0x2424b6)),_0x22b32c[_0x11c62d(0x181)](_0x129648);}[_0x4e2e84(0x145)](_0x463baf){const _0x76b817=_0x4e2e84,_0x112467={};_0x112467['id']=_0x463baf['id'];for(const _0x27f617 of Object[_0x76b817(0x15c)](_0x463baf))'id'!==_0x27f617&&(_0x112467[_0x27f617]=void 0x0);this[_0x76b817(0x17e)][_0x76b817(0x170)](_0x112467['id'],_0x112467,!0x0);}async[_0x4e2e84(0x19d)](_0x5bc1df){const _0x5caac0=_0x4e2e84,_0x5d211e=this[_0x5caac0(0x183)][_0x5caac0(0x18b)][_0x5caac0(0x12b)](_0x239676),{connection:_0x1a659b}=this[_0x5caac0(0x183)][_0x5caac0(0x18b)][_0x5caac0(0x12b)](_0x1f42d2),_0x1a4fe9=new Set();for(const _0x1cd884 of _0x5bc1df){for(const _0x520b15 of _0x1cd884[_0x5caac0(0x18c)])_0x55f0cd(_0x520b15);_0x1cd884[_0x5caac0(0x13e)]&&_0x55f0cd(_0x1cd884[_0x5caac0(0x13e)]);}if(0x0===_0x1a4fe9[_0x5caac0(0x135)])return;const _0x4afa9f=await _0x24e74a[_0x5caac0(0x166)](_0x1a659b,Array[_0x5caac0(0x155)](_0x1a4fe9));for(const _0x398848 of _0x4afa9f)_0x5d211e[_0x5caac0(0x19e)](_0x398848['id'])||_0x5d211e[_0x5caac0(0x138)](_0x398848);function _0x55f0cd(_0x5534ba){const _0xae63d5=_0x5caac0;_0x5d211e[_0xae63d5(0x19e)](_0x5534ba)||_0x1a4fe9[_0xae63d5(0x185)](_0x5534ba);}}}export default u;function Q(_0x523180){const _0x1a7a9e=_0x4e2e84;return _0x523180[_0x1a7a9e(0x14a)][_0x1a7a9e(0x167)](_0x1a7a9e(0x15d))||_0x523180[_0x1a7a9e(0x14a)][_0x1a7a9e(0x167)](_0x1a7a9e(0x171))||_0x523180[_0x1a7a9e(0x14a)][_0x1a7a9e(0x167)](_0x1a7a9e(0x16f));}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x585441=_0x559c;function _0x559c(_0x3773e2,_0x46bfca){const _0x13608e=_0x1360();return _0x559c=function(_0x559cc7,_0x5db312){_0x559cc7=_0x559cc7-0x1eb;let _0x379c06=_0x13608e[_0x559cc7];return _0x379c06;},_0x559c(_0x3773e2,_0x46bfca);}(function(_0x28d3d6,_0x2ccaae){const _0x496fe8=_0x559c,_0x3c2a19=_0x28d3d6();while(!![]){try{const _0x29a3e9=-parseInt(_0x496fe8(0x229))/0x1*(-parseInt(_0x496fe8(0x1eb))/0x2)+parseInt(_0x496fe8(0x221))/0x3+-parseInt(_0x496fe8(0x1ff))/0x4+parseInt(_0x496fe8(0x219))/0x5*(parseInt(_0x496fe8(0x209))/0x6)+parseInt(_0x496fe8(0x208))/0x7*(-parseInt(_0x496fe8(0x203))/0x8)+-parseInt(_0x496fe8(0x218))/0x9+-parseInt(_0x496fe8(0x1f1))/0xa*(parseInt(_0x496fe8(0x20b))/0xb);if(_0x29a3e9===_0x2ccaae)break;else _0x3c2a19['push'](_0x3c2a19['shift']());}catch(_0xe7adca){_0x3c2a19['push'](_0x3c2a19['shift']());}}}(_0x1360,0x6c725));import{Plugin as _0x4a9aed}from'ckeditor5/src/core.js';import{User as _0x56c14f,TrackChangesService as _0x28652a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x1766a1 from'../realtimecollaborativeediting/websocketgateway.js';function _0x1360(){const _0x2fca1e=['1eHwfdv','_saved','data','1544760clPrRX','type','reconnect','update','cloud-services-internal-error:\x20Not\x20connected.','connect','5340WNKddA','suggestionUpdated','delete','adapter','open','addUser','connection','config','isOfficialPlugin','_fetchMissingUsersForThreads','TrackChangesService','get','find','message','1561684PyOrnQ','addToReconnectionStack','TrackChangesEditing','from','46504aJfuDP','originalSuggestionId','requires','listenTo','isPremiumPlugin','49hNgswo','36kIQlgv','plugins','5049zcXHNp','hasSuggestion','set','getMany','_bufferedRequests','connected','collaboration.channelId','catch','off','addSuggestionData','then','attributes','size','3435048zqQFZm','423955hbxoCb','add','_trackChangesService','CloudServicesTrackChangesAdapter','state','_waitForServiceReady','values','getSuggestion','662883tYpgRU','init','pluginName','getUser','isConnected','startsWith','editor','cloud-services-internal-error:\x20Request\x20timeout.'];_0x1360=function(){return _0x2fca1e;};return _0x1360();}import _0x350772 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x1f3157}from'ckeditor5-collaboration/src/collaboration-core.js';class f extends _0x4a9aed{static [_0x585441(0x1fb)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x28652a)());[_0x585441(0x20f)];[_0x585441(0x21b)];static get[_0x585441(0x205)](){const _0x1918d3=_0x585441;return[_0x350772,_0x1918d3(0x201),_0x1766a1];}static get[_0x585441(0x223)](){const _0x291598=_0x585441;return _0x291598(0x21c);}static get[_0x585441(0x1f9)](){return!0x0;}static get[_0x585441(0x207)](){return!0x0;}constructor(_0xe6a9e3){const _0xcde39e=_0x585441;super(_0xe6a9e3);const _0x1ecd03=this[_0xcde39e(0x227)][_0xcde39e(0x1f8)][_0xcde39e(0x1fc)](_0xcde39e(0x211));this[_0xcde39e(0x20f)]=new Map(),this[_0xcde39e(0x21b)]=new f[(_0xcde39e(0x1fb))](_0x1ecd03);}[_0x585441(0x222)](){const _0x207964=_0x585441,_0x45cf20=this[_0x207964(0x227)][_0x207964(0x20a)][_0x207964(0x1fc)](_0x1766a1),_0x174cb4=this[_0x207964(0x227)][_0x207964(0x20a)][_0x207964(0x1fc)](_0x207964(0x201));return _0x174cb4[_0x207964(0x1f4)]={'getSuggestion':async _0x13ef49=>{const _0x39dac2=_0x207964;await this[_0x39dac2(0x21e)]();const _0x46bb5e=await this[_0x39dac2(0x21b)][_0x39dac2(0x1fc)](_0x13ef49)[_0x39dac2(0x212)](w);return await this[_0x39dac2(0x1fa)]([_0x46bb5e]),_0x46bb5e;},'addSuggestion':async({id:_0x2f1628,type:_0x1f1393,data:_0x5abc26,originalSuggestionId:_0x24190c,attributes:_0x980fcd})=>{const _0x212488=_0x207964;await this[_0x212488(0x21e)]();const _0x450314={'id':_0x2f1628,'type':_0x1f1393,'data':_0x5abc26,'originalSuggestionId':_0x24190c,'attributes':_0x980fcd},_0x38f423=await this[_0x212488(0x21b)][_0x212488(0x21a)](_0x2f1628,_0x1f1393,_0x5abc26,_0x24190c,_0x980fcd)[_0x212488(0x212)](_0x1a3305=>{if(Q(_0x1a3305))return new Promise(_0x32e25a=>{const _0x184f59=_0x559c;this[_0x184f59(0x20f)][_0x184f59(0x20d)](_0x2f1628,{'resolve':_0x32e25a,'suggestionData':_0x450314});});throw _0x1a3305;});return this[_0x212488(0x20f)][_0x212488(0x1f3)](_0x2f1628),_0x38f423;},'updateSuggestion':async(_0x4f0e46,_0x3154f0)=>{const _0x35ccab=_0x207964;if(await this[_0x35ccab(0x21e)](),_0x35ccab(0x1f5)!==_0x3154f0[_0x35ccab(0x21d)])return this[_0x35ccab(0x21b)][_0x35ccab(0x1ee)](_0x4f0e46,_0x3154f0)[_0x35ccab(0x212)](w);}},this[_0x207964(0x206)](this[_0x207964(0x21b)],_0x207964(0x1f2),(_0x55067c,_0x11cb3b)=>{const _0x44536f=_0x207964;_0x174cb4[_0x44536f(0x20c)](_0x11cb3b['id'])&&(_0x174cb4[_0x44536f(0x220)](_0x11cb3b['id'])[_0x44536f(0x216)]=_0x11cb3b[_0x44536f(0x216)]);}),this[_0x207964(0x21b)][_0x207964(0x1f0)](_0x45cf20[_0x207964(0x1f7)])[_0x207964(0x215)](_0x2af2a5=>(_0x45cf20[_0x207964(0x200)](this),this[_0x207964(0x1fa)](_0x2af2a5)[_0x207964(0x215)](()=>{const _0x43dc0f=_0x207964;for(const _0x3b0229 of _0x2af2a5){_0x174cb4[_0x43dc0f(0x214)](_0x3b0229)[_0x43dc0f(0x22a)]=!0x0;}})));}async[_0x585441(0x1ed)](){const _0x523ca7=_0x585441,_0x5022d5=this[_0x523ca7(0x227)][_0x523ca7(0x20a)][_0x523ca7(0x1fc)](_0x523ca7(0x201)),{connection:_0x567a93}=this[_0x523ca7(0x227)][_0x523ca7(0x20a)][_0x523ca7(0x1fc)](_0x1766a1),_0x26dc81=await this[_0x523ca7(0x21b)][_0x523ca7(0x1f0)](_0x567a93);await this[_0x523ca7(0x1fa)](_0x26dc81);for(const {suggestionData:_0x1e9ab3,resolve:_0x37fe20}of this[_0x523ca7(0x20f)][_0x523ca7(0x21f)]()){let _0x56b8e4=_0x26dc81[_0x523ca7(0x1fd)](_0x4e773a=>_0x4e773a['id']===_0x1e9ab3['id']);_0x56b8e4||(_0x56b8e4=await this[_0x523ca7(0x21b)][_0x523ca7(0x21a)](_0x1e9ab3['id'],_0x1e9ab3[_0x523ca7(0x1ec)],_0x1e9ab3[_0x523ca7(0x22b)],_0x1e9ab3[_0x523ca7(0x204)])),_0x37fe20(_0x56b8e4);}for(const _0x258ed6 of _0x26dc81)_0x5022d5[_0x523ca7(0x20c)](_0x258ed6['id'])||_0x5022d5[_0x523ca7(0x214)](_0x258ed6);}async[_0x585441(0x21e)](){const _0x3382d0=_0x585441;this[_0x3382d0(0x21b)][_0x3382d0(0x225)]||await new Promise(_0x1624aa=>{const _0x4f9400=_0x3382d0;this[_0x4f9400(0x206)](this[_0x4f9400(0x21b)],_0x4f9400(0x210),_0x12f326=>{const _0x405fa2=_0x4f9400;_0x12f326[_0x405fa2(0x213)](),_0x1624aa();});});}async[_0x585441(0x1fa)](_0x44f227){const _0x5b23d0=_0x585441,_0x42e0f6=this[_0x5b23d0(0x227)][_0x5b23d0(0x20a)][_0x5b23d0(0x1fc)](_0x1f3157),{connection:_0x116599}=this[_0x5b23d0(0x227)][_0x5b23d0(0x20a)][_0x5b23d0(0x1fc)](_0x1766a1),_0x2862e9=new Set();for(const {authorId:_0x342442}of _0x44f227)_0x42e0f6[_0x5b23d0(0x224)](_0x342442)||_0x2862e9[_0x5b23d0(0x21a)](_0x342442);if(0x0===_0x2862e9[_0x5b23d0(0x217)])return;const _0x2f01d8=await _0x56c14f[_0x5b23d0(0x20e)](_0x116599,Array[_0x5b23d0(0x202)](_0x2862e9));for(const _0x41f195 of _0x2f01d8)_0x42e0f6[_0x5b23d0(0x224)](_0x41f195['id'])||_0x42e0f6[_0x5b23d0(0x1f6)](_0x41f195);}}export default f;function w(_0x115469){if(Q(_0x115469))return new Promise(()=>{});throw _0x115469;}function Q(_0x15f29c){const _0x4cc66e=_0x585441;return _0x15f29c[_0x4cc66e(0x1fe)][_0x4cc66e(0x226)](_0x4cc66e(0x1ef))||_0x15f29c[_0x4cc66e(0x1fe)][_0x4cc66e(0x226)](_0x4cc66e(0x228));}
|