@ckeditor/ckeditor5-real-time-collaboration 47.3.0-alpha.4 → 47.3.0-alpha.5
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/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- 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": "47.3.0-alpha.
|
|
3
|
+
"version": "47.3.0-alpha.5",
|
|
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": "53.0.1",
|
|
50
|
-
"@ckeditor/ckeditor5-cloud-services": "47.3.0-alpha.
|
|
51
|
-
"@ckeditor/ckeditor5-comments": "47.3.0-alpha.
|
|
52
|
-
"@ckeditor/ckeditor5-core": "47.3.0-alpha.
|
|
53
|
-
"@ckeditor/ckeditor5-editor-multi-root": "47.3.0-alpha.
|
|
54
|
-
"@ckeditor/ckeditor5-engine": "47.3.0-alpha.
|
|
55
|
-
"@ckeditor/ckeditor5-operations-compressor": "47.3.0-alpha.
|
|
56
|
-
"@ckeditor/ckeditor5-revision-history": "47.3.0-alpha.
|
|
57
|
-
"@ckeditor/ckeditor5-theme-lark": "47.3.0-alpha.
|
|
58
|
-
"@ckeditor/ckeditor5-track-changes": "47.3.0-alpha.
|
|
59
|
-
"@ckeditor/ckeditor5-ui": "47.3.0-alpha.
|
|
60
|
-
"@ckeditor/ckeditor5-utils": "47.3.0-alpha.
|
|
61
|
-
"ckeditor5": "47.3.0-alpha.
|
|
62
|
-
"ckeditor5-collaboration": "47.3.0-alpha.
|
|
50
|
+
"@ckeditor/ckeditor5-cloud-services": "47.3.0-alpha.5",
|
|
51
|
+
"@ckeditor/ckeditor5-comments": "47.3.0-alpha.5",
|
|
52
|
+
"@ckeditor/ckeditor5-core": "47.3.0-alpha.5",
|
|
53
|
+
"@ckeditor/ckeditor5-editor-multi-root": "47.3.0-alpha.5",
|
|
54
|
+
"@ckeditor/ckeditor5-engine": "47.3.0-alpha.5",
|
|
55
|
+
"@ckeditor/ckeditor5-operations-compressor": "47.3.0-alpha.5",
|
|
56
|
+
"@ckeditor/ckeditor5-revision-history": "47.3.0-alpha.5",
|
|
57
|
+
"@ckeditor/ckeditor5-theme-lark": "47.3.0-alpha.5",
|
|
58
|
+
"@ckeditor/ckeditor5-track-changes": "47.3.0-alpha.5",
|
|
59
|
+
"@ckeditor/ckeditor5-ui": "47.3.0-alpha.5",
|
|
60
|
+
"@ckeditor/ckeditor5-utils": "47.3.0-alpha.5",
|
|
61
|
+
"ckeditor5": "47.3.0-alpha.5",
|
|
62
|
+
"ckeditor5-collaboration": "47.3.0-alpha.5",
|
|
63
63
|
"es-toolkit": "1.39.5"
|
|
64
64
|
},
|
|
65
65
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5767(){const _0x59f149=['textarea','change:isFocused','presencelist-collapseat-invalid-format','locale','presencelist:hide','pin','indexOf','offsetHeight','config','inlineListView','13011030lmSkLN','onClick','isRendered','execute','button','reverse','_createView','isMe','context','listenTo','365214fHOIdM','usersCount','select',':not([disabled]):not([tabindex=\x22-1\x22])','[contenteditable]','_bodyCollection','from','isExpanded','presenceList','define','min','requires','offsetWidth','presenceList.collapseAt','items','presencelist-missing-container','6420294giuIjl','Enter','bindTo','using','set','find','render','isPremiumPlugin','5167195VLhkey','plugins','_handleUserAdd','bind','element','balloonPanelView','ck\x20ck-presence-list__balloon','attachToDom','isFocusable','focus','_allConnectedUsers','Tab','view','class','body','PresenceListUI','unpin','presenceList.displayMe','remove','1895048gBSLQv','showDropdown','presenceDropdownView','querySelectorAll','7saNnvj','activeElement','[tabindex]','input','allConnectedUsers','presenceList.container','length','add','appendChild','content','get','12251488UcgeKb','destroy','pluginName','isCollapsed','currentDisplayedUsers','Esc','init','detachFromDom','join','5863240qXUrzt','presencelist:show','hideDropdown','Shift+Tab','hasTooltip','focusTracker','_handleUserRemove','number','counterView','sort','isVisible','map','2mePEQY','keystrokes','checkIfScrollable','5PvftFy','10UzmsDe','tabIndex','isOfficialPlugin','displayMe','filter'];_0x5767=function(){return _0x59f149;};return _0x5767();}const _0x20bad2=_0x1216;(function(_0x419b4d,_0x48289a){const _0x15fb43=_0x1216,_0x592427=_0x419b4d();while(!![]){try{const _0x188bf6=parseInt(_0x15fb43(0x189))/0x1*(parseInt(_0x15fb43(0x1ad))/0x2)+-parseInt(_0x15fb43(0x15e))/0x3+-parseInt(_0x15fb43(0x1a1))/0x4*(parseInt(_0x15fb43(0x1b0))/0x5)+parseInt(_0x15fb43(0x16e))/0x6+-parseInt(_0x15fb43(0x18d))/0x7*(-parseInt(_0x15fb43(0x198))/0x8)+-parseInt(_0x15fb43(0x154))/0x9+-parseInt(_0x15fb43(0x1b1))/0xa*(parseInt(_0x15fb43(0x176))/0xb);if(_0x188bf6===_0x48289a)break;else _0x592427['push'](_0x592427['shift']());}catch(_0x1dfe4c){_0x592427['push'](_0x592427['shift']());}}}(_0x5767,0xf2922));import{ContextPlugin as _0x2f22ef}from'ckeditor5/src/core.js';import{CKEditorError as _0xea2371,Collection as _0x1ae4e8}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x5b389b,BalloonPanelView as _0x5477c1,BodyCollection as _0x30058b}from'ckeditor5/src/ui.js';function _0x1216(_0x110a7d,_0x4f4bc4){const _0x5767e0=_0x5767();return _0x1216=function(_0x12166a,_0x1b4081){_0x12166a=_0x12166a-0x149;let _0x7f18dc=_0x5767e0[_0x12166a];return _0x7f18dc;},_0x1216(_0x110a7d,_0x4f4bc4);}import{isElement as _0x53b05a}from'es-toolkit/compat';import{Sessions as _0x124b69}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x503a00}from'./view/presencelistview.js';import{PresenceCounterView as _0x1f6761}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x2cc26f}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x4c092a}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x4ff279}from'./view/presenceinlinelistitemview.js';const st={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x2f22ef{[_0x20bad2(0x19c)];[_0x20bad2(0x17b)];[_0x20bad2(0x182)];[_0x20bad2(0x18b)];[_0x20bad2(0x163)]=null;static get[_0x20bad2(0x19a)](){const _0x295708=_0x20bad2;return _0x295708(0x185);}static get[_0x20bad2(0x1b3)](){return!0x0;}static get[_0x20bad2(0x175)](){return!0x0;}constructor(_0x564e7e){const _0x478a71=_0x20bad2;super(_0x564e7e),this[_0x478a71(0x15c)][_0x478a71(0x152)][_0x478a71(0x167)](_0x478a71(0x166),st);const _0x45fd70=_0x564e7e[_0x478a71(0x152)][_0x478a71(0x197)](_0x478a71(0x16b));if(_0x478a71(0x1a8)!=typeof _0x45fd70)throw new _0xea2371(_0x478a71(0x14c),this);if(_0x45fd70<0x1)throw new _0xea2371(_0x478a71(0x14c),this);this[_0x478a71(0x180)]=this[_0x478a71(0x15c)][_0x478a71(0x177)][_0x478a71(0x197)](_0x124b69)[_0x478a71(0x191)],this[_0x478a71(0x172)](_0x478a71(0x15f),0x0),this[_0x478a71(0x19c)]=new _0x1ae4e8(),this[_0x478a71(0x17b)]=new _0x5477c1(),this[_0x478a71(0x17b)][_0x478a71(0x183)]=_0x478a71(0x17c),this[_0x478a71(0x182)]=this[_0x478a71(0x15a)](),this[_0x478a71(0x18b)]=void 0x0;}static get[_0x20bad2(0x169)](){return[_0x124b69];}[_0x20bad2(0x19e)](){const _0x3905f4=_0x20bad2;for(const _0x15fb46 of this[_0x3905f4(0x180)])this[_0x3905f4(0x178)](_0x15fb46);this[_0x3905f4(0x15d)](this[_0x3905f4(0x180)],_0x3905f4(0x194),(_0x2a000f,_0x5a4558)=>{const _0x1f61eb=_0x3905f4;this[_0x1f61eb(0x178)](_0x5a4558);}),this[_0x3905f4(0x15d)](this[_0x3905f4(0x180)],_0x3905f4(0x188),(_0x2eb89e,_0x3728c4)=>{const _0x27fd17=_0x3905f4;this[_0x27fd17(0x1a7)](_0x3728c4);});}[_0x20bad2(0x15a)](){const _0x58978c=_0x20bad2,_0x25d835=this[_0x58978c(0x15c)],_0x52e125=new _0x503a00(this[_0x58978c(0x15c)][_0x58978c(0x14d)],this[_0x58978c(0x15c)][_0x58978c(0x152)][_0x58978c(0x197)](_0x58978c(0x16b))),_0x32f6b9=this[_0x58978c(0x17b)];if(!_0x53b05a(_0x25d835[_0x58978c(0x152)][_0x58978c(0x197)](_0x58978c(0x192))))throw new _0xea2371(_0x58978c(0x16d),this);return _0x52e125[_0x58978c(0x1a9)][_0x58978c(0x179)](_0x58978c(0x15f))['to'](this),_0x52e125[_0x58978c(0x179)](_0x58978c(0x19b))['to'](this,_0x58978c(0x15f),_0x9d5e34=>{const _0x1a94c=_0x58978c,{collapseAt:_0x54e2f6}=_0x25d835[_0x1a94c(0x152)][_0x1a94c(0x197)](_0x1a94c(0x166)),_0x563de0=_0x9d5e34>=_0x54e2f6;if(_0x563de0&&!_0x52e125[_0x1a94c(0x153)][_0x1a94c(0x16c)][_0x1a94c(0x173)](_0x3dce65=>_0x3dce65 instanceof _0x1f6761)){const _0x54879b=this[_0x1a94c(0x15c)][_0x1a94c(0x152)][_0x1a94c(0x197)](_0x1a94c(0x16b))-0x1;this[_0x1a94c(0x19c)][_0x1a94c(0x193)]==_0x54879b&&this[_0x1a94c(0x19c)][_0x1a94c(0x193)]>0x1&&this[_0x1a94c(0x19c)][_0x1a94c(0x188)](this[_0x1a94c(0x19c)][_0x1a94c(0x193)]-0x1),_0x52e125[_0x1a94c(0x153)][_0x1a94c(0x16c)][_0x1a94c(0x194)](_0x52e125[_0x1a94c(0x1a9)]);}return _0x563de0||this[_0x1a94c(0x1a3)](),_0x563de0;}),_0x52e125[_0x58978c(0x153)][_0x58978c(0x16c)][_0x58978c(0x170)](this[_0x58978c(0x19c)])[_0x58978c(0x171)](_0x41677a=>{const _0x26779d=_0x58978c,_0x16d506=_0x25d835[_0x26779d(0x152)][_0x26779d(0x197)](_0x26779d(0x166)),_0x4115b5=new _0x4ff279(_0x25d835[_0x26779d(0x14d)],_0x41677a,!!_0x16d506[_0x26779d(0x155)]);return _0x4115b5[_0x26779d(0x179)](_0x26779d(0x1a5))['to'](_0x52e125,_0x26779d(0x19b),_0x15a9e4=>!_0x15a9e4),_0x4115b5[_0x26779d(0x179)](_0x26779d(0x17e))['to'](_0x52e125,_0x26779d(0x19b),_0x50d313=>!_0x50d313),_0x16d506[_0x26779d(0x155)]&&this[_0x26779d(0x15d)](_0x4115b5,_0x26779d(0x157),()=>{const _0x13a41c=_0x26779d;this[_0x13a41c(0x182)][_0x13a41c(0x19b)]||_0x16d506[_0x13a41c(0x155)](_0x41677a,_0x4115b5[_0x13a41c(0x17a)]);}),_0x4115b5;}),this[_0x58978c(0x15d)](_0x52e125[_0x58978c(0x153)],_0x58978c(0x1a2),()=>{const _0xd9e6fb=_0x58978c;this[_0xd9e6fb(0x182)][_0xd9e6fb(0x19b)]&&this[_0xd9e6fb(0x18a)]();}),this[_0x58978c(0x15d)](_0x52e125[_0x58978c(0x153)],_0x58978c(0x14e),()=>{const _0x204393=_0x58978c;this[_0x204393(0x18b)]&&this[_0x204393(0x1a3)]();}),_0x52e125[_0x58978c(0x153)][_0x58978c(0x1ae)][_0x58978c(0x172)](_0x58978c(0x16f),(_0x4c4694,_0x587520)=>{const _0x37f36f=_0x58978c;this[_0x37f36f(0x182)][_0x37f36f(0x19b)]&&(this[_0x37f36f(0x18a)](),_0x587520());}),_0x52e125[_0x58978c(0x174)](),_0x32f6b9[_0x58978c(0x174)](),_0x5b389b({'emitter':_0x52e125,'activator':()=>_0x32f6b9[_0x58978c(0x1ab)],'contextElements':[_0x32f6b9[_0x58978c(0x17a)],_0x52e125[_0x58978c(0x153)][_0x58978c(0x17a)]],'callback':()=>this[_0x58978c(0x1a3)]()}),_0x25d835[_0x58978c(0x152)][_0x58978c(0x197)](_0x58978c(0x192))[_0x58978c(0x195)](_0x52e125[_0x58978c(0x17a)]),this[_0x58978c(0x163)]=new _0x30058b(this[_0x58978c(0x15c)][_0x58978c(0x14d)]),this[_0x58978c(0x163)][_0x58978c(0x17d)](),this[_0x58978c(0x163)][_0x58978c(0x194)](this[_0x58978c(0x17b)]),_0x52e125;}[_0x20bad2(0x178)](_0x186941){const _0x460d1d=_0x20bad2;if(!this[_0x460d1d(0x15c)][_0x460d1d(0x152)][_0x460d1d(0x197)](_0x460d1d(0x187))&&_0x186941[_0x460d1d(0x15b)])return;const _0x2bc0b9=this[_0x460d1d(0x15c)][_0x460d1d(0x152)][_0x460d1d(0x197)](_0x460d1d(0x16b))-0x1;for(this[_0x460d1d(0x15f)]++;this[_0x460d1d(0x19c)][_0x460d1d(0x193)]>=_0x2bc0b9-(this[_0x460d1d(0x182)][_0x460d1d(0x19b)]?0x1:0x0)&&this[_0x460d1d(0x19c)][_0x460d1d(0x193)]>0x1;)this[_0x460d1d(0x19c)][_0x460d1d(0x188)](0x1);const _0x544fcb=_0x186941[_0x460d1d(0x15b)]?0x0:this[_0x460d1d(0x19c)][_0x460d1d(0x193)];this[_0x460d1d(0x19c)][_0x460d1d(0x194)](_0x186941,_0x544fcb);}[_0x20bad2(0x1a7)](_0x1b8f8a){const _0x455113=_0x20bad2;this[_0x455113(0x15f)]--;const {collapseAt:_0x2495de}=this[_0x455113(0x15c)][_0x455113(0x152)][_0x455113(0x197)](_0x455113(0x166)),_0x56ded4=this[_0x455113(0x15f)]>=_0x2495de;if(this[_0x455113(0x19c)][_0x455113(0x197)](_0x1b8f8a['id']))this[_0x455113(0x19c)][_0x455113(0x188)](_0x1b8f8a['id']);else{if(_0x56ded4&&this[_0x455113(0x19c)][_0x455113(0x193)]+0x1===_0x2495de-0x1)return;}if(this[_0x455113(0x19c)][_0x455113(0x193)]+(_0x56ded4?0x1:0x0)<this[_0x455113(0x15f)]){for(const _0x325969 of Array[_0x455113(0x164)](this[_0x455113(0x180)])[_0x455113(0x159)]())if(!this[_0x455113(0x19c)][_0x455113(0x197)](_0x325969['id'])&&(this[_0x455113(0x19c)][_0x455113(0x194)](_0x325969,Math[_0x455113(0x168)](this[_0x455113(0x19c)][_0x455113(0x193)]-(_0x56ded4?0x1:0x0),0x1)),this[_0x455113(0x19c)][_0x455113(0x193)]+(_0x56ded4?0x1:0x0)===_0x2495de-0x1))return;}}[_0x20bad2(0x18a)](){const _0x3fea98=_0x20bad2;if(this[_0x3fea98(0x18b)])return;const _0xe30a7c=this[_0x3fea98(0x15c)][_0x3fea98(0x152)][_0x3fea98(0x197)](_0x3fea98(0x166));this[_0x3fea98(0x18b)]=new _0x2cc26f(this[_0x3fea98(0x15c)][_0x3fea98(0x14d)],!!_0xe30a7c[_0x3fea98(0x155)]),this[_0x3fea98(0x182)][_0x3fea98(0x153)][_0x3fea98(0x165)]=!0x0,this[_0x3fea98(0x15d)](this[_0x3fea98(0x18b)],_0x3fea98(0x14e),()=>{const _0x210d9e=_0x3fea98;this[_0x210d9e(0x18b)]&&this[_0x210d9e(0x1a3)]();});const {listWrapperView:_0xea3cd4}=this[_0x3fea98(0x18b)];_0xea3cd4[_0x3fea98(0x16c)][_0x3fea98(0x170)](this[_0x3fea98(0x180)])[_0x3fea98(0x171)](_0x239359=>{const _0x1814b8=_0x3fea98;if(!_0xe30a7c[_0x1814b8(0x1b4)]&&_0x239359[_0x1814b8(0x15b)])return null;const _0x38303e=new _0x4c092a(this[_0x1814b8(0x15c)][_0x1814b8(0x14d)],_0x239359,!!_0xe30a7c[_0x1814b8(0x155)]);return _0xe30a7c[_0x1814b8(0x155)]&&this[_0x1814b8(0x15d)](_0x38303e,_0x1814b8(0x157),()=>{const _0x2d36f1=_0x1814b8;_0xe30a7c[_0x2d36f1(0x155)](_0x239359,_0x38303e[_0x2d36f1(0x17a)]);}),_0x38303e;}),this[_0x3fea98(0x17b)][_0x3fea98(0x196)][_0x3fea98(0x194)](this[_0x3fea98(0x18b)]),this[_0x3fea98(0x17b)][_0x3fea98(0x14f)]({'target':this[_0x3fea98(0x182)][_0x3fea98(0x153)][_0x3fea98(0x17a)]}),_0xea3cd4[_0x3fea98(0x17f)](),_0xea3cd4[_0x3fea98(0x1af)]();const _0x31161b=(_0x1459f7,_0x44152d)=>{const _0x3baceb=_0x3fea98;this[_0x3baceb(0x1a3)](),this[_0x3baceb(0x182)][_0x3baceb(0x153)][_0x3baceb(0x17f)](),_0x44152d();};_0xea3cd4[_0x3fea98(0x1ae)][_0x3fea98(0x172)](_0x3fea98(0x19d),_0x31161b),_0xea3cd4[_0x3fea98(0x1ae)][_0x3fea98(0x172)](_0x3fea98(0x1a4),_0x31161b),_0xea3cd4[_0x3fea98(0x1ae)][_0x3fea98(0x172)](_0x3fea98(0x181),(_0x289aa5,_0x40b64c)=>{const _0x1ae186=_0x3fea98;!function(_0x51a824){const _0x24bf3d=_0x1216,_0x5d84df=['a',_0x24bf3d(0x158),_0x24bf3d(0x190),_0x24bf3d(0x160),_0x24bf3d(0x14a),_0x24bf3d(0x18f),_0x24bf3d(0x162)][_0x24bf3d(0x1ac)](_0xe230d3=>_0xe230d3+_0x24bf3d(0x161))[_0x24bf3d(0x1a0)](','),_0x4dc727=[...document[_0x24bf3d(0x184)][_0x24bf3d(0x18c)](_0x5d84df)][_0x24bf3d(0x149)](_0x1185bb=>_0x1185bb===document[_0x24bf3d(0x18e)]||_0x1185bb[_0x24bf3d(0x16a)]+_0x1185bb[_0x24bf3d(0x151)]>0x0)[_0x24bf3d(0x1aa)]((_0x5594c9,_0x529d90)=>(_0x5594c9[_0x24bf3d(0x1b2)]||0x0)-(_0x529d90[_0x24bf3d(0x1b2)]||0x0)),_0x499441=_0x4dc727[_0x24bf3d(0x150)](_0x51a824),_0x50355e=_0x4dc727[(_0x499441+0x1)%_0x4dc727[_0x24bf3d(0x193)]];_0x50355e&&_0x50355e[_0x24bf3d(0x17f)]();}(this[_0x1ae186(0x182)][_0x1ae186(0x17a)]),this[_0x1ae186(0x1a3)](),_0x40b64c();}),_0xea3cd4[_0x3fea98(0x1a6)][_0x3fea98(0x194)](this[_0x3fea98(0x182)][_0x3fea98(0x17a)]),_0xea3cd4[_0x3fea98(0x1a6)]['on'](_0x3fea98(0x14b),(_0x74732e,_0x1281ce,_0x241a61)=>{const _0x41aa30=_0x3fea98;_0x241a61||this[_0x41aa30(0x1a3)]();});}[_0x20bad2(0x1a3)](){const _0x2de60b=_0x20bad2;this[_0x2de60b(0x18b)]&&(this[_0x2de60b(0x182)][_0x2de60b(0x153)][_0x2de60b(0x165)]=!0x1,this[_0x2de60b(0x17b)][_0x2de60b(0x186)](),this[_0x2de60b(0x17b)][_0x2de60b(0x196)][_0x2de60b(0x188)](this[_0x2de60b(0x18b)]),this[_0x2de60b(0x18b)][_0x2de60b(0x199)](),this[_0x2de60b(0x18b)]=void 0x0);}[_0x20bad2(0x199)](){const _0x483ed2=_0x20bad2;super[_0x483ed2(0x199)](),this[_0x483ed2(0x182)]&&this[_0x483ed2(0x182)][_0x483ed2(0x156)]&&this[_0x483ed2(0x182)][_0x483ed2(0x199)](),this[_0x483ed2(0x163)]&&(this[_0x483ed2(0x163)][_0x483ed2(0x19f)](),this[_0x483ed2(0x163)][_0x483ed2(0x199)](),this[_0x483ed2(0x163)]=null);}}
|
|
23
|
+
function _0xc5af(_0x250361,_0xcd253e){const _0xe762f0=_0xe762();return _0xc5af=function(_0xc5af81,_0x1d3238){_0xc5af81=_0xc5af81-0x1bc;let _0x2be93b=_0xe762f0[_0xc5af81];return _0x2be93b;},_0xc5af(_0x250361,_0xcd253e);}const _0x24a08a=_0xc5af;(function(_0x100c64,_0x1067cd){const _0x264fcc=_0xc5af,_0x166f5e=_0x100c64();while(!![]){try{const _0x54958d=parseInt(_0x264fcc(0x216))/0x1*(-parseInt(_0x264fcc(0x1f7))/0x2)+parseInt(_0x264fcc(0x1f8))/0x3+parseInt(_0x264fcc(0x1c5))/0x4*(-parseInt(_0x264fcc(0x200))/0x5)+-parseInt(_0x264fcc(0x20e))/0x6*(-parseInt(_0x264fcc(0x201))/0x7)+parseInt(_0x264fcc(0x1e4))/0x8*(-parseInt(_0x264fcc(0x1cb))/0x9)+-parseInt(_0x264fcc(0x225))/0xa*(-parseInt(_0x264fcc(0x208))/0xb)+parseInt(_0x264fcc(0x1e3))/0xc;if(_0x54958d===_0x1067cd)break;else _0x166f5e['push'](_0x166f5e['shift']());}catch(_0x956314){_0x166f5e['push'](_0x166f5e['shift']());}}}(_0xe762,0x802a5));import{ContextPlugin as _0x4a0069}from'ckeditor5/src/core.js';import{CKEditorError as _0x4cccab,Collection as _0x484299}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x4d791e,BalloonPanelView as _0x2c7abd,BodyCollection as _0x365e0d}from'ckeditor5/src/ui.js';import{isElement as _0x5c78bb}from'es-toolkit/compat';import{Sessions as _0x24d803}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x5add6e}from'./view/presencelistview.js';import{PresenceCounterView as _0x550274}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0xc9ae19}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x12cacf}from'./view/presencedropdownlistitemview.js';function _0xe762(){const _0x15685c=['usersCount','isVisible','context','using','displayMe','number','define','presencelist-collapseat-invalid-format','isMe','get','join','_handleUserRemove','presenceList','class','presencelist-missing-container','36646hOmyDQ','1558893JeQAiW','[contenteditable]','attachToDom','content','change:isFocused','textarea','remove','sort','10495GXqwMJ','2000831dmZvLH','showDropdown','execute','tabIndex','activeElement','reverse','hideDropdown','66kzXVsY','inlineListView','find','Shift+Tab','Esc','select','6DDQqVJ','isFocusable','bind','detachFromDom','from','presencelist:hide','isOfficialPlugin','render','19GNCeuT','init','indexOf','querySelectorAll','filter','isCollapsed','pluginName','allConnectedUsers','add','plugins','map','_createView','isExpanded','listenTo','presencelist:show','6850eTtMqv','presenceList.displayMe','balloonPanelView','bindTo','focusTracker','appendChild','view','ck\x20ck-presence-list__balloon','input','focus','presenceDropdownView','pin','currentDisplayedUsers','1604VyvaMi','offsetWidth','presenceList.container','config','set','Enter','4167lGfYOZ','onClick','_allConnectedUsers','counterView','[tabindex]','isPremiumPlugin','PresenceListUI','Tab','length','_handleUserAdd','body','button','presenceList.collapseAt','checkIfScrollable','hasTooltip',':not([disabled]):not([tabindex=\x22-1\x22])','offsetHeight','locale','element','items','isRendered','destroy','requires','_bodyCollection','16046472tqiunL','7464ZELqZV','min','keystrokes','unpin'];_0xe762=function(){return _0x15685c;};return _0xe762();}import{PresenceInlineListItemView as _0x570c3a}from'./view/presenceinlinelistitemview.js';const x={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x4a0069{[_0x24a08a(0x1c4)];[_0x24a08a(0x227)];[_0x24a08a(0x1be)];[_0x24a08a(0x1c2)];[_0x24a08a(0x1e2)]=null;static get[_0x24a08a(0x21c)](){const _0x4935ba=_0x24a08a;return _0x4935ba(0x1d1);}static get[_0x24a08a(0x214)](){return!0x0;}static get[_0x24a08a(0x1d0)](){return!0x0;}constructor(_0x2017c0){const _0x113fd1=_0x24a08a;super(_0x2017c0),this[_0x113fd1(0x1ea)][_0x113fd1(0x1c8)][_0x113fd1(0x1ee)](_0x113fd1(0x1f4),x);const _0xf3d447=_0x2017c0[_0x113fd1(0x1c8)][_0x113fd1(0x1f1)](_0x113fd1(0x1d7));if(_0x113fd1(0x1ed)!=typeof _0xf3d447)throw new _0x4cccab(_0x113fd1(0x1ef),this);if(_0xf3d447<0x1)throw new _0x4cccab(_0x113fd1(0x1ef),this);this[_0x113fd1(0x1cd)]=this[_0x113fd1(0x1ea)][_0x113fd1(0x21f)][_0x113fd1(0x1f1)](_0x24d803)[_0x113fd1(0x21d)],this[_0x113fd1(0x1c9)](_0x113fd1(0x1e8),0x0),this[_0x113fd1(0x1c4)]=new _0x484299(),this[_0x113fd1(0x227)]=new _0x2c7abd(),this[_0x113fd1(0x227)][_0x113fd1(0x1f5)]=_0x113fd1(0x1bf),this[_0x113fd1(0x1be)]=this[_0x113fd1(0x221)](),this[_0x113fd1(0x1c2)]=void 0x0;}static get[_0x24a08a(0x1e1)](){return[_0x24d803];}[_0x24a08a(0x217)](){const _0x522e5c=_0x24a08a;for(const _0x53b141 of this[_0x522e5c(0x1cd)])this[_0x522e5c(0x1d4)](_0x53b141);this[_0x522e5c(0x223)](this[_0x522e5c(0x1cd)],_0x522e5c(0x21e),(_0x1596c5,_0x5d210d)=>{const _0xce9c8=_0x522e5c;this[_0xce9c8(0x1d4)](_0x5d210d);}),this[_0x522e5c(0x223)](this[_0x522e5c(0x1cd)],_0x522e5c(0x1fe),(_0x10f3b5,_0x119d32)=>{const _0x2907d5=_0x522e5c;this[_0x2907d5(0x1f3)](_0x119d32);});}[_0x24a08a(0x221)](){const _0x19441e=_0x24a08a,_0x8f00b5=this[_0x19441e(0x1ea)],_0x36ff35=new _0x5add6e(this[_0x19441e(0x1ea)][_0x19441e(0x1dc)],this[_0x19441e(0x1ea)][_0x19441e(0x1c8)][_0x19441e(0x1f1)](_0x19441e(0x1d7))),_0x5f1487=this[_0x19441e(0x227)];if(!_0x5c78bb(_0x8f00b5[_0x19441e(0x1c8)][_0x19441e(0x1f1)](_0x19441e(0x1c7))))throw new _0x4cccab(_0x19441e(0x1f6),this);return _0x36ff35[_0x19441e(0x1ce)][_0x19441e(0x210)](_0x19441e(0x1e8))['to'](this),_0x36ff35[_0x19441e(0x210)](_0x19441e(0x21b))['to'](this,_0x19441e(0x1e8),_0x3e8f6c=>{const _0x4b25cd=_0x19441e,{collapseAt:_0x1c4d9c}=_0x8f00b5[_0x4b25cd(0x1c8)][_0x4b25cd(0x1f1)](_0x4b25cd(0x1f4)),_0x1f3df9=_0x3e8f6c>=_0x1c4d9c;if(_0x1f3df9&&!_0x36ff35[_0x4b25cd(0x209)][_0x4b25cd(0x1de)][_0x4b25cd(0x20a)](_0x106ec3=>_0x106ec3 instanceof _0x550274)){const _0x5a2686=this[_0x4b25cd(0x1ea)][_0x4b25cd(0x1c8)][_0x4b25cd(0x1f1)](_0x4b25cd(0x1d7))-0x1;this[_0x4b25cd(0x1c4)][_0x4b25cd(0x1d3)]==_0x5a2686&&this[_0x4b25cd(0x1c4)][_0x4b25cd(0x1d3)]>0x1&&this[_0x4b25cd(0x1c4)][_0x4b25cd(0x1fe)](this[_0x4b25cd(0x1c4)][_0x4b25cd(0x1d3)]-0x1),_0x36ff35[_0x4b25cd(0x209)][_0x4b25cd(0x1de)][_0x4b25cd(0x21e)](_0x36ff35[_0x4b25cd(0x1ce)]);}return _0x1f3df9||this[_0x4b25cd(0x207)](),_0x1f3df9;}),_0x36ff35[_0x19441e(0x209)][_0x19441e(0x1de)][_0x19441e(0x228)](this[_0x19441e(0x1c4)])[_0x19441e(0x1eb)](_0x373776=>{const _0x1e0146=_0x19441e,_0x34ca12=_0x8f00b5[_0x1e0146(0x1c8)][_0x1e0146(0x1f1)](_0x1e0146(0x1f4)),_0x28e7f1=new _0x570c3a(_0x8f00b5[_0x1e0146(0x1dc)],_0x373776,!!_0x34ca12[_0x1e0146(0x1cc)]);return _0x28e7f1[_0x1e0146(0x210)](_0x1e0146(0x1d9))['to'](_0x36ff35,_0x1e0146(0x21b),_0x435e43=>!_0x435e43),_0x28e7f1[_0x1e0146(0x210)](_0x1e0146(0x20f))['to'](_0x36ff35,_0x1e0146(0x21b),_0x4dbe4b=>!_0x4dbe4b),_0x34ca12[_0x1e0146(0x1cc)]&&this[_0x1e0146(0x223)](_0x28e7f1,_0x1e0146(0x203),()=>{const _0x5d76e8=_0x1e0146;this[_0x5d76e8(0x1be)][_0x5d76e8(0x21b)]||_0x34ca12[_0x5d76e8(0x1cc)](_0x373776,_0x28e7f1[_0x5d76e8(0x1dd)]);}),_0x28e7f1;}),this[_0x19441e(0x223)](_0x36ff35[_0x19441e(0x209)],_0x19441e(0x224),()=>{const _0x3c5dad=_0x19441e;this[_0x3c5dad(0x1be)][_0x3c5dad(0x21b)]&&this[_0x3c5dad(0x202)]();}),this[_0x19441e(0x223)](_0x36ff35[_0x19441e(0x209)],_0x19441e(0x213),()=>{const _0x2e6e87=_0x19441e;this[_0x2e6e87(0x1c2)]&&this[_0x2e6e87(0x207)]();}),_0x36ff35[_0x19441e(0x209)][_0x19441e(0x1e6)][_0x19441e(0x1c9)](_0x19441e(0x1ca),(_0x56035b,_0x19ab18)=>{const _0x4e447d=_0x19441e;this[_0x4e447d(0x1be)][_0x4e447d(0x21b)]&&(this[_0x4e447d(0x202)](),_0x19ab18());}),_0x36ff35[_0x19441e(0x215)](),_0x5f1487[_0x19441e(0x215)](),_0x4d791e({'emitter':_0x36ff35,'activator':()=>_0x5f1487[_0x19441e(0x1e9)],'contextElements':[_0x5f1487[_0x19441e(0x1dd)],_0x36ff35[_0x19441e(0x209)][_0x19441e(0x1dd)]],'callback':()=>this[_0x19441e(0x207)]()}),_0x8f00b5[_0x19441e(0x1c8)][_0x19441e(0x1f1)](_0x19441e(0x1c7))[_0x19441e(0x1bd)](_0x36ff35[_0x19441e(0x1dd)]),this[_0x19441e(0x1e2)]=new _0x365e0d(this[_0x19441e(0x1ea)][_0x19441e(0x1dc)]),this[_0x19441e(0x1e2)][_0x19441e(0x1fa)](),this[_0x19441e(0x1e2)][_0x19441e(0x21e)](this[_0x19441e(0x227)]),_0x36ff35;}[_0x24a08a(0x1d4)](_0x38efab){const _0xdafc1f=_0x24a08a;if(!this[_0xdafc1f(0x1ea)][_0xdafc1f(0x1c8)][_0xdafc1f(0x1f1)](_0xdafc1f(0x226))&&_0x38efab[_0xdafc1f(0x1f0)])return;const _0x2d0213=this[_0xdafc1f(0x1ea)][_0xdafc1f(0x1c8)][_0xdafc1f(0x1f1)](_0xdafc1f(0x1d7))-0x1;for(this[_0xdafc1f(0x1e8)]++;this[_0xdafc1f(0x1c4)][_0xdafc1f(0x1d3)]>=_0x2d0213-(this[_0xdafc1f(0x1be)][_0xdafc1f(0x21b)]?0x1:0x0)&&this[_0xdafc1f(0x1c4)][_0xdafc1f(0x1d3)]>0x1;)this[_0xdafc1f(0x1c4)][_0xdafc1f(0x1fe)](0x1);const _0x186af5=_0x38efab[_0xdafc1f(0x1f0)]?0x0:this[_0xdafc1f(0x1c4)][_0xdafc1f(0x1d3)];this[_0xdafc1f(0x1c4)][_0xdafc1f(0x21e)](_0x38efab,_0x186af5);}[_0x24a08a(0x1f3)](_0x5a4c2c){const _0x37c4f0=_0x24a08a;this[_0x37c4f0(0x1e8)]--;const {collapseAt:_0x1e034e}=this[_0x37c4f0(0x1ea)][_0x37c4f0(0x1c8)][_0x37c4f0(0x1f1)](_0x37c4f0(0x1f4)),_0x1ec2ef=this[_0x37c4f0(0x1e8)]>=_0x1e034e;if(this[_0x37c4f0(0x1c4)][_0x37c4f0(0x1f1)](_0x5a4c2c['id']))this[_0x37c4f0(0x1c4)][_0x37c4f0(0x1fe)](_0x5a4c2c['id']);else{if(_0x1ec2ef&&this[_0x37c4f0(0x1c4)][_0x37c4f0(0x1d3)]+0x1===_0x1e034e-0x1)return;}if(this[_0x37c4f0(0x1c4)][_0x37c4f0(0x1d3)]+(_0x1ec2ef?0x1:0x0)<this[_0x37c4f0(0x1e8)]){for(const _0xc351a4 of Array[_0x37c4f0(0x212)](this[_0x37c4f0(0x1cd)])[_0x37c4f0(0x206)]())if(!this[_0x37c4f0(0x1c4)][_0x37c4f0(0x1f1)](_0xc351a4['id'])&&(this[_0x37c4f0(0x1c4)][_0x37c4f0(0x21e)](_0xc351a4,Math[_0x37c4f0(0x1e5)](this[_0x37c4f0(0x1c4)][_0x37c4f0(0x1d3)]-(_0x1ec2ef?0x1:0x0),0x1)),this[_0x37c4f0(0x1c4)][_0x37c4f0(0x1d3)]+(_0x1ec2ef?0x1:0x0)===_0x1e034e-0x1))return;}}[_0x24a08a(0x202)](){const _0xc19355=_0x24a08a;if(this[_0xc19355(0x1c2)])return;const _0x3ea221=this[_0xc19355(0x1ea)][_0xc19355(0x1c8)][_0xc19355(0x1f1)](_0xc19355(0x1f4));this[_0xc19355(0x1c2)]=new _0xc9ae19(this[_0xc19355(0x1ea)][_0xc19355(0x1dc)],!!_0x3ea221[_0xc19355(0x1cc)]),this[_0xc19355(0x1be)][_0xc19355(0x209)][_0xc19355(0x222)]=!0x0,this[_0xc19355(0x223)](this[_0xc19355(0x1c2)],_0xc19355(0x213),()=>{const _0x146053=_0xc19355;this[_0x146053(0x1c2)]&&this[_0x146053(0x207)]();});const {listWrapperView:_0x137f53}=this[_0xc19355(0x1c2)];_0x137f53[_0xc19355(0x1de)][_0xc19355(0x228)](this[_0xc19355(0x1cd)])[_0xc19355(0x1eb)](_0x436c6a=>{const _0x1cce0f=_0xc19355;if(!_0x3ea221[_0x1cce0f(0x1ec)]&&_0x436c6a[_0x1cce0f(0x1f0)])return null;const _0x1125cf=new _0x12cacf(this[_0x1cce0f(0x1ea)][_0x1cce0f(0x1dc)],_0x436c6a,!!_0x3ea221[_0x1cce0f(0x1cc)]);return _0x3ea221[_0x1cce0f(0x1cc)]&&this[_0x1cce0f(0x223)](_0x1125cf,_0x1cce0f(0x203),()=>{const _0x48e626=_0x1cce0f;_0x3ea221[_0x48e626(0x1cc)](_0x436c6a,_0x1125cf[_0x48e626(0x1dd)]);}),_0x1125cf;}),this[_0xc19355(0x227)][_0xc19355(0x1fb)][_0xc19355(0x21e)](this[_0xc19355(0x1c2)]),this[_0xc19355(0x227)][_0xc19355(0x1c3)]({'target':this[_0xc19355(0x1be)][_0xc19355(0x209)][_0xc19355(0x1dd)]}),_0x137f53[_0xc19355(0x1c1)](),_0x137f53[_0xc19355(0x1d8)]();const _0x5f30bd=(_0x443d66,_0xe1991d)=>{const _0x4655f8=_0xc19355;this[_0x4655f8(0x207)](),this[_0x4655f8(0x1be)][_0x4655f8(0x209)][_0x4655f8(0x1c1)](),_0xe1991d();};_0x137f53[_0xc19355(0x1e6)][_0xc19355(0x1c9)](_0xc19355(0x20c),_0x5f30bd),_0x137f53[_0xc19355(0x1e6)][_0xc19355(0x1c9)](_0xc19355(0x20b),_0x5f30bd),_0x137f53[_0xc19355(0x1e6)][_0xc19355(0x1c9)](_0xc19355(0x1d2),(_0xbfefef,_0x2985df)=>{const _0x4cc705=_0xc19355;!function(_0x550200){const _0x2f4935=_0xc5af,_0x11f50c=['a',_0x2f4935(0x1d6),_0x2f4935(0x1c0),_0x2f4935(0x20d),_0x2f4935(0x1fd),_0x2f4935(0x1cf),_0x2f4935(0x1f9)][_0x2f4935(0x220)](_0x4687b0=>_0x4687b0+_0x2f4935(0x1da))[_0x2f4935(0x1f2)](','),_0x3c3343=[...document[_0x2f4935(0x1d5)][_0x2f4935(0x219)](_0x11f50c)][_0x2f4935(0x21a)](_0x4be29b=>_0x4be29b===document[_0x2f4935(0x205)]||_0x4be29b[_0x2f4935(0x1c6)]+_0x4be29b[_0x2f4935(0x1db)]>0x0)[_0x2f4935(0x1ff)]((_0x3cce41,_0x548e45)=>(_0x3cce41[_0x2f4935(0x204)]||0x0)-(_0x548e45[_0x2f4935(0x204)]||0x0)),_0x26aa2c=_0x3c3343[_0x2f4935(0x218)](_0x550200),_0x3a07ab=_0x3c3343[(_0x26aa2c+0x1)%_0x3c3343[_0x2f4935(0x1d3)]];_0x3a07ab&&_0x3a07ab[_0x2f4935(0x1c1)]();}(this[_0x4cc705(0x1be)][_0x4cc705(0x1dd)]),this[_0x4cc705(0x207)](),_0x2985df();}),_0x137f53[_0xc19355(0x1bc)][_0xc19355(0x21e)](this[_0xc19355(0x1be)][_0xc19355(0x1dd)]),_0x137f53[_0xc19355(0x1bc)]['on'](_0xc19355(0x1fc),(_0x22dff2,_0x5d2dcb,_0x140743)=>{const _0x540e2e=_0xc19355;_0x140743||this[_0x540e2e(0x207)]();});}[_0x24a08a(0x207)](){const _0x10a595=_0x24a08a;this[_0x10a595(0x1c2)]&&(this[_0x10a595(0x1be)][_0x10a595(0x209)][_0x10a595(0x222)]=!0x1,this[_0x10a595(0x227)][_0x10a595(0x1e7)](),this[_0x10a595(0x227)][_0x10a595(0x1fb)][_0x10a595(0x1fe)](this[_0x10a595(0x1c2)]),this[_0x10a595(0x1c2)][_0x10a595(0x1e0)](),this[_0x10a595(0x1c2)]=void 0x0);}[_0x24a08a(0x1e0)](){const _0x5edd56=_0x24a08a;super[_0x5edd56(0x1e0)](),this[_0x5edd56(0x1be)]&&this[_0x5edd56(0x1be)][_0x5edd56(0x1df)]&&this[_0x5edd56(0x1be)][_0x5edd56(0x1e0)](),this[_0x5edd56(0x1e2)]&&(this[_0x5edd56(0x1e2)][_0x5edd56(0x211)](),this[_0x5edd56(0x1e2)][_0x5edd56(0x1e0)](),this[_0x5edd56(0x1e2)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4273(_0x1fc9b5,_0x1f1fa4){const _0x321822=_0x3218();return _0x4273=function(_0x42730c,_0x5ad332){_0x42730c=_0x42730c-0x174;let _0x539cc4=_0x321822[_0x42730c];return _0x539cc4;},_0x4273(_0x1fc9b5,_0x1f1fa4);}const _0x363811=_0x4273;(function(_0x611c93,_0x33f28d){const _0x85c34d=_0x4273,_0x36a91c=_0x611c93();while(!![]){try{const _0x36c2fe=parseInt(_0x85c34d(0x175))/0x1+-parseInt(_0x85c34d(0x17d))/0x2+parseInt(_0x85c34d(0x186))/0x3+-parseInt(_0x85c34d(0x18b))/0x4*(parseInt(_0x85c34d(0x17b))/0x5)+-parseInt(_0x85c34d(0x189))/0x6*(parseInt(_0x85c34d(0x17c))/0x7)+parseInt(_0x85c34d(0x18e))/0x8*(-parseInt(_0x85c34d(0x185))/0x9)+parseInt(_0x85c34d(0x176))/0xa;if(_0x36c2fe===_0x33f28d)break;else _0x36a91c['push'](_0x36a91c['shift']());}catch(_0x501b7c){_0x36a91c['push'](_0x36a91c['shift']());}}}(_0x3218,0x3a65d));import{ListItemView as _0x4a821b}from'ckeditor5/src/ui.js';import{UserView as _0x236820}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x4a821b{[_0x363811(0x17a)];constructor(_0x5ba7fc,_0x3466ac,_0x3a1fda){const _0x357c9c=_0x363811;super(_0x5ba7fc);const _0x4caaa3=this[_0x357c9c(0x184)];this[_0x357c9c(0x17a)]=new _0x236820(_0x5ba7fc,_0x3466ac);const _0x3b0106={'tag':'li','attributes':{'class':['ck',_0x357c9c(0x179)],'tabindex':-0x1,'role':_0x357c9c(0x18a),'aria-label':_0x3466ac[_0x357c9c(0x182)]},'children':[this[_0x357c9c(0x17a)],{'tag':_0x357c9c(0x187),'attributes':{'class':['ck',_0x357c9c(0x18c)]},'children':[{'text':_0x3466ac[_0x357c9c(0x182)]}]},{'tag':_0x357c9c(0x187),'attributes':{'class':['ck',_0x357c9c(0x188),_0x3466ac[_0x357c9c(0x183)][_0x357c9c(0x181)]()],'aria-hidden':_0x357c9c(0x178)}}]};_0x3a1fda&&(_0x3b0106[_0x357c9c(0x18d)]=_0x357c9c(0x18f),_0x3b0106['on']={'click':_0x4caaa3['to'](()=>this[_0x357c9c(0x180)](_0x357c9c(0x177)))}),this[_0x357c9c(0x17f)](_0x3b0106);}[_0x363811(0x174)](){const _0x4eeaa7=_0x363811;this[_0x4eeaa7(0x17e)][_0x4eeaa7(0x174)]();}}function _0x3218(){const _0x56d05b=['425560zqWzrB','3210460EBUZde','execute','true','ck-presence-list__dropdown-list-item','userView','80jnZwwa','1175650IERjCG','809648LCIycx','element','setTemplate','fire','getBackgroundColorClass','name','color','bindTemplate','51993MxTCTU','1339098dVyUQB','span','ck-presence-list__marker','6HDSYvN','presentation','59144NDzRWs','ck-user__full-name','tag','200mqJdGk','button','focus'];_0x3218=function(){return _0x56d05b;};return _0x3218();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1cd8(_0x5c5003,_0xfe49d7){const _0x1f507a=_0x1f50();return _0x1cd8=function(_0x1cd8b3,_0x4e0bcf){_0x1cd8b3=_0x1cd8b3-0x15a;let _0x204660=_0x1f507a[_0x1cd8b3];return _0x204660;},_0x1cd8(_0x5c5003,_0xfe49d7);}const _0x4492a5=_0x1cd8;(function(_0x167670,_0x196379){const _0x10f5dd=_0x1cd8,_0x568570=_0x167670();while(!![]){try{const _0x5502aa=parseInt(_0x10f5dd(0x183))/0x1+-parseInt(_0x10f5dd(0x16b))/0x2+parseInt(_0x10f5dd(0x15e))/0x3+parseInt(_0x10f5dd(0x163))/0x4+-parseInt(_0x10f5dd(0x15f))/0x5+-parseInt(_0x10f5dd(0x17d))/0x6*(parseInt(_0x10f5dd(0x172))/0x7)+parseInt(_0x10f5dd(0x173))/0x8;if(_0x5502aa===_0x196379)break;else _0x568570['push'](_0x568570['shift']());}catch(_0x5d80be){_0x568570['push'](_0x568570['shift']());}}}(_0x1f50,0x54292));import{ListView as _0x483e39,View as _0x1c12be}from'ckeditor5/src/ui.js';import{global as _0x42fbf2}from'ckeditor5/src/utils.js';function _0x1f50(){const _0x450759=['listenTo','items','7tWQRfS','4140576dUoaSd','scrollHeight','checkIfScrollable','contains','change','ck-presence-list__dropdown-list-wrapper_scrollable','_isScrollable','presencelist:hide','set','ck-presence-list__dropdown-list','4072494WCKxaV','listWrapperView','ck-reset','.ck-presence-list__list','setTemplate','clientHeight','204939bzUDKW','render','div','relatedTarget','window','role','1898076IuXvLP','1238370aUaIPz','ariaLabel','querySelector','max','1685404bTgIwA','element','application','.ck-balloon-panel_with-arrow','bindTemplate','innerHeight','Connected\x20users\x20list\x20dropdown\x20menu','fire','1010818KwoLTe','ariaLabelledBy','resize','ck-presence-list__dropdown-list-wrapper','ck-list'];_0x1f50=function(){return _0x450759;};return _0x1f50();}import{getTranslation as _0xe9c086}from'../../common-translations.js';export class PresenceDropdownListView extends _0x1c12be{[_0x4492a5(0x17e)];constructor(_0x20e48a,_0x139939){const _0x5d0ac9=_0x4492a5;super(_0x20e48a);const _0x5ce2c4=this[_0x5d0ac9(0x167)];this[_0x5d0ac9(0x17e)]=new PresenceDropdownListWrapperView(_0x20e48a,_0x139939),this[_0x5d0ac9(0x181)]({'tag':_0x5d0ac9(0x15a),'attributes':{'tabindex':-0x1,'role':_0x5d0ac9(0x165),'class':['ck',_0x5d0ac9(0x17c)],'aria-label':_0xe9c086(_0x20e48a,_0x5d0ac9(0x169))},'children':[this[_0x5d0ac9(0x17e)]],'on':{'mouseleave':_0x5ce2c4['to'](_0x286b26=>{const _0x2ab7cf=_0x5d0ac9,_0x24424c=_0x286b26,_0x50bcb8=document[_0x2ab7cf(0x161)](_0x2ab7cf(0x180)),_0x8af94a=document[_0x2ab7cf(0x161)](_0x2ab7cf(0x166));_0x50bcb8?.[_0x2ab7cf(0x176)](_0x24424c[_0x2ab7cf(0x15b)])||_0x8af94a?.[_0x2ab7cf(0x176)](_0x24424c[_0x2ab7cf(0x15b)])||this[_0x2ab7cf(0x16a)](_0x2ab7cf(0x17a));})}});}}export class PresenceDropdownListWrapperView extends _0x483e39{constructor(_0x2d063e,_0x3eb2c6){const _0xbe1e7c=_0x4492a5;super(_0x2d063e);const _0x30e1ec=this[_0xbe1e7c(0x167)];this[_0xbe1e7c(0x17b)](_0xbe1e7c(0x179),!0x1),this[_0xbe1e7c(0x181)]({'tag':_0x3eb2c6?_0xbe1e7c(0x15a):'ul','attributes':{'class':['ck',_0xbe1e7c(0x17f),_0xbe1e7c(0x16f),_0xbe1e7c(0x16e),_0x30e1ec['if'](_0xbe1e7c(0x179),_0xbe1e7c(0x178))],'role':_0x30e1ec['to'](_0xbe1e7c(0x15d)),'aria-label':_0x30e1ec['to'](_0xbe1e7c(0x160)),'aria-labelledby':_0x30e1ec['to'](_0xbe1e7c(0x16c))},'children':this[_0xbe1e7c(0x171)]}),this[_0xbe1e7c(0x170)](_0x42fbf2[_0xbe1e7c(0x15c)],_0xbe1e7c(0x16d),()=>this[_0xbe1e7c(0x175)]()),this[_0xbe1e7c(0x171)]['on'](_0xbe1e7c(0x177),()=>this[_0xbe1e7c(0x175)]());}[_0x4492a5(0x184)](){const _0x25abaa=_0x4492a5;super[_0x25abaa(0x184)](),this[_0x25abaa(0x175)]();}[_0x4492a5(0x175)](){const _0x45b2f3=_0x4492a5,_0x3686e9=this[_0x45b2f3(0x164)];_0x3686e9&&(this[_0x45b2f3(0x179)]=Math[_0x45b2f3(0x162)](_0x3686e9[_0x45b2f3(0x174)],_0x3686e9[_0x45b2f3(0x182)])>0.8*window[_0x45b2f3(0x168)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e2b69=_0x539e;function _0x539e(_0x17d247,_0x45fc9c){const _0x745a98=_0x745a();return _0x539e=function(_0x539eaa,_0x2f985c){_0x539eaa=_0x539eaa-0xff;let _0x27cabd=_0x745a98[_0x539eaa];return _0x27cabd;},_0x539e(_0x17d247,_0x45fc9c);}(function(_0x2e50f8,_0x16d39d){const _0x1b7901=_0x539e,_0x2f652d=_0x2e50f8();while(!![]){try{const _0x143670=-parseInt(_0x1b7901(0x10c))/0x1*(-parseInt(_0x1b7901(0x105))/0x2)+-parseInt(_0x1b7901(0x11c))/0x3+-parseInt(_0x1b7901(0x104))/0x4+-parseInt(_0x1b7901(0x111))/0x5+-parseInt(_0x1b7901(0x101))/0x6+-parseInt(_0x1b7901(0xff))/0x7+-parseInt(_0x1b7901(0x117))/0x8*(-parseInt(_0x1b7901(0x114))/0x9);if(_0x143670===_0x16d39d)break;else _0x2f652d['push'](_0x2f652d['shift']());}catch(_0x549ed6){_0x2f652d['push'](_0x2f652d['shift']());}}}(_0x745a,0xb2ddd));import{LabelView as _0x43b0f0,View as _0x29f6a8}from'ckeditor5/src/ui.js';function _0x745a(){const _0x13427d=['469136IOkgYL','ck-presence-list__list-item','set','listitem','button','1839060ZRDofn','tag','ck-presence-list__list-item__tooltip','21738231MpUzLr','execute','fire','8XWYuos','isFocusable','name','userView','template','1910076xoMyGH','ck-presence-list__marker','bindTemplate','span','4667999GTrzHm','markerView','2677914ygteen','tooltipPosition','color','136712dDrIQv','2bBvQXt','getBackgroundColorClass','setTemplate','true','text','hasTooltip','div'];_0x745a=function(){return _0x13427d;};return _0x745a();}import{UserView as _0x192613}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x29f6a8{[_0x3e2b69(0x11a)];[_0x3e2b69(0x100)];constructor(_0x5938d6,_0x171cde,_0x21c4ee){const _0x44688c=_0x3e2b69;super(_0x5938d6);const _0x10323f=this[_0x44688c(0x11e)];this[_0x44688c(0x10e)](_0x44688c(0x118),!0x1),this[_0x44688c(0x10e)](_0x44688c(0x10a),!0x0),this[_0x44688c(0x10e)](_0x44688c(0x102),''),this[_0x44688c(0x11a)]=new _0x192613(_0x5938d6,_0x171cde),this[_0x44688c(0x100)]=new lt(_0x5938d6,_0x171cde);const _0x4270ed=new _0x43b0f0(_0x5938d6);_0x4270ed[_0x44688c(0x11b)][_0x44688c(0x112)]=_0x44688c(0x11f),_0x4270ed[_0x44688c(0x109)]=_0x171cde[_0x44688c(0x119)];const _0x362e6a={'tag':_0x44688c(0x10b),'attributes':{'class':['ck',_0x44688c(0x10d)],'role':_0x44688c(0x10f),'tabindex':_0x10323f['to'](_0x44688c(0x118),_0x290c0a=>!!_0x290c0a&&0x0),'aria-labelledby':_0x4270ed['id'],'data-cke-tooltip-text':this[_0x44688c(0x11a)][_0x44688c(0x119)],'data-cke-tooltip-position':_0x10323f['to'](_0x44688c(0x102)),'data-cke-tooltip-disabled':_0x10323f['to'](_0x44688c(0x10a),_0x7dd30a=>!_0x7dd30a),'data-cke-tooltip-class':_0x44688c(0x113)},'children':[this[_0x44688c(0x11a)],this[_0x44688c(0x100)],_0x4270ed]};_0x21c4ee&&(_0x362e6a[_0x44688c(0x112)]=_0x44688c(0x110),_0x362e6a['on']={'click':_0x10323f['to'](()=>this[_0x44688c(0x116)](_0x44688c(0x115)))}),this[_0x44688c(0x107)](_0x362e6a);}}class lt extends _0x29f6a8{constructor(_0x4bfa51,_0x2dba95){const _0x14f12b=_0x3e2b69;super(_0x4bfa51),this[_0x14f12b(0x107)]({'tag':_0x14f12b(0x11f),'attributes':{'class':['ck',_0x14f12b(0x11d),_0x2dba95[_0x14f12b(0x103)][_0x14f12b(0x106)]()],'aria-hidden':_0x14f12b(0x108)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xb43d(_0x4727d8,_0x4eef7f){const _0x2f1e23=_0x2f1e();return _0xb43d=function(_0xb43d43,_0x3ae032){_0xb43d43=_0xb43d43-0xca;let _0x4c9614=_0x2f1e23[_0xb43d43];return _0x4c9614;},_0xb43d(_0x4727d8,_0x4eef7f);}const _0x394620=_0xb43d;(function(_0x22310a,_0x50eb28){const _0x4c51e9=_0xb43d,_0x54d718=_0x22310a();while(!![]){try{const _0x142196=-parseInt(_0x4c51e9(0xd8))/0x1*(parseInt(_0x4c51e9(0xd3))/0x2)+-parseInt(_0x4c51e9(0xca))/0x3*(parseInt(_0x4c51e9(0xdf))/0x4)+parseInt(_0x4c51e9(0xd4))/0x5*(parseInt(_0x4c51e9(0xcf))/0x6)+parseInt(_0x4c51e9(0xdd))/0x7*(parseInt(_0x4c51e9(0xec))/0x8)+-parseInt(_0x4c51e9(0xe4))/0x9+parseInt(_0x4c51e9(0xf0))/0xa+parseInt(_0x4c51e9(0xef))/0xb;if(_0x142196===_0x50eb28)break;else _0x54d718['push'](_0x54d718['shift']());}catch(_0x2bc21d){_0x54d718['push'](_0x54d718['shift']());}}}(_0x2f1e,0xaa0b3));function _0x2f1e(){const _0x3a3cdd=['presencelist:hide','27010390zpAJCx','12758000lAlawQ','render','3tmtHnP','removeAttribute','listenTo','setAttribute','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','947616lOkeLI','change:hasPopup','hasPopup','fire','2Hdmlgb','10RjWjjU','relatedTarget','items','.ck-balloon-panel_with-arrow','1205197vnDjHk','contains','aria-expanded','div','keystrokes','973jRowNS','ck-presence-list__list','4096564oivRwW','set','isExpanded','setTemplate','Connected\x20users\x20list','10370898GpRbmG','bindTemplate','.ck-presence-list__dropdown-list','querySelector','createCollection','focus','list','element','1784pMJFVS','presencelist:show'];_0x2f1e=function(){return _0x3a3cdd;};return _0x2f1e();}import{View as _0x178831}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5420c5}from'ckeditor5/src/utils.js';import{getTranslation as _0x43bbb9}from'../../common-translations.js';export class PresenceInlineListView extends _0x178831{[_0x394620(0xd6)];[_0x394620(0xdc)];constructor(_0x51373b){const _0x3210d2=_0x394620;super(_0x51373b);const _0x905dcb=this[_0x3210d2(0xe5)];this[_0x3210d2(0xd6)]=this[_0x3210d2(0xe8)](),this[_0x3210d2(0xdc)]=new _0x5420c5(),this[_0x3210d2(0xe0)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x3210d2(0xe2)]({'tag':_0x3210d2(0xdb),'attributes':{'aria-haspopup':_0x905dcb['if'](_0x3210d2(0xd1)),'aria-expanded':_0x905dcb['to'](_0x3210d2(0xe1),_0x3e6b64=>this[_0x3210d2(0xd1)]&&String(_0x3e6b64)),'aria-label':_0x905dcb['to'](_0x3210d2(0xd1),_0x17debe=>_0x43bbb9(_0x51373b,_0x17debe?_0x3210d2(0xce):_0x3210d2(0xe3))),'role':_0x3210d2(0xea),'tabindex':_0x905dcb['to'](_0x3210d2(0xd1),_0x4248a8=>!!_0x4248a8&&0x0),'class':['ck',_0x3210d2(0xde)]},'children':this[_0x3210d2(0xd6)],'on':{'mouseenter':_0x905dcb['to'](()=>this[_0x3210d2(0xd2)](_0x3210d2(0xed))),'mouseleave':_0x905dcb['to'](_0xf1cd55=>{const _0xcf725e=_0x3210d2,_0xe9df28=_0xf1cd55,_0x34809d=document[_0xcf725e(0xe7)](_0xcf725e(0xe6)),_0x127548=document[_0xcf725e(0xe7)](_0xcf725e(0xd7));_0x34809d?.[_0xcf725e(0xd9)](_0xe9df28[_0xcf725e(0xd5)])||_0x127548?.[_0xcf725e(0xd9)](_0xe9df28[_0xcf725e(0xd5)])||this[_0xcf725e(0xd2)](_0xcf725e(0xee));})}}),this['on'](_0x3210d2(0xd0),(_0xa8828a,_0x550e9b,_0x2d35f6)=>{const _0x3ba175=_0x3210d2;this[_0x3ba175(0xeb)]&&(_0x2d35f6?this[_0x3ba175(0xeb)][_0x3ba175(0xcd)](_0x3ba175(0xda),String(this[_0x3ba175(0xe1)])):this[_0x3ba175(0xeb)][_0x3ba175(0xcb)](_0x3ba175(0xda)));});}[_0x394620(0xe9)](){const _0x13329d=_0x394620;this[_0x13329d(0xeb)][_0x13329d(0xe9)]();}[_0x394620(0xf1)](){const _0x36533a=_0x394620;super[_0x36533a(0xf1)](),this[_0x36533a(0xdc)][_0x36533a(0xcc)](this[_0x36533a(0xeb)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x35cf9e=_0x43a9;function _0x531e(){const _0x37042f=['7mRXciV','507870xMlAFv','set','5JoZkma','32IkhKlf','first','hasPopup','26370gieLFm','setTemplate','4452140FtAQpM','1078781AZakdC','isCollapsed','ck-presence-list','bind','div','bindTemplate','11772XHjZei','ck-reset','counterView','items','1922370LSqCUv','inlineListView','locale','tooltipPosition','4DRcntO','listenTo','change','2731768HQhZbT','ck-rounded-corners','ck-presence-list--collapsed'];_0x531e=function(){return _0x37042f;};return _0x531e();}(function(_0x44b3c0,_0x380301){const _0xaabe42=_0x43a9,_0xa9a1ac=_0x44b3c0();while(!![]){try{const _0x4969df=parseInt(_0xaabe42(0x7e))/0x1*(-parseInt(_0xaabe42(0x76))/0x2)+-parseInt(_0xaabe42(0x6d))/0x3*(parseInt(_0xaabe42(0x88))/0x4)+-parseInt(_0xaabe42(0x87))/0x5*(-parseInt(_0xaabe42(0x7a))/0x6)+parseInt(_0xaabe42(0x84))/0x7*(-parseInt(_0xaabe42(0x81))/0x8)+parseInt(_0xaabe42(0x85))/0x9+parseInt(_0xaabe42(0x6f))/0xa+-parseInt(_0xaabe42(0x70))/0xb;if(_0x4969df===_0x380301)break;else _0xa9a1ac['push'](_0xa9a1ac['shift']());}catch(_0x2702ae){_0xa9a1ac['push'](_0xa9a1ac['shift']());}}}(_0x531e,0x46779));import{View as _0x471b2c}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x34c2a9}from'./presencecounterview.js';function _0x43a9(_0x1ffefa,_0x483e62){const _0x531eab=_0x531e();return _0x43a9=function(_0x43a9c1,_0x1e46c2){_0x43a9c1=_0x43a9c1-0x6b;let _0x3e3f7e=_0x531eab[_0x43a9c1];return _0x3e3f7e;},_0x43a9(_0x1ffefa,_0x483e62);}import{PresenceInlineListView as _0x1c8cac}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x471b2c{[_0x35cf9e(0x78)];[_0x35cf9e(0x7b)];constructor(_0x3e51a0,_0x215398=0x6){const _0x3f191f=_0x35cf9e;super(_0x3e51a0);const _0x52f780=this[_0x3f191f(0x75)];this[_0x3f191f(0x86)](_0x3f191f(0x71),!0x0),this[_0x3f191f(0x78)]=new _0x34c2a9(this[_0x3f191f(0x7c)],_0x215398),this[_0x3f191f(0x7b)]=new _0x1c8cac(_0x3e51a0),this[_0x3f191f(0x7b)][_0x3f191f(0x73)](_0x3f191f(0x6c))['to'](this,_0x3f191f(0x71)),this[_0x3f191f(0x7f)](this[_0x3f191f(0x7b)][_0x3f191f(0x79)],_0x3f191f(0x80),()=>{const _0x5edcb3=_0x3f191f;for(const _0x2ae487 of this[_0x5edcb3(0x7b)][_0x5edcb3(0x79)])_0x2ae487[_0x5edcb3(0x7d)]='s';this[_0x5edcb3(0x7b)][_0x5edcb3(0x79)][_0x5edcb3(0x6b)]&&(this[_0x5edcb3(0x7b)][_0x5edcb3(0x79)][_0x5edcb3(0x6b)][_0x5edcb3(0x7d)]='se');}),this[_0x3f191f(0x6e)]({'tag':_0x3f191f(0x74),'attributes':{'class':['ck',_0x3f191f(0x72),_0x3f191f(0x77),_0x3f191f(0x82),_0x52f780['if'](_0x3f191f(0x71),_0x3f191f(0x83))]},'children':[this[_0x3f191f(0x7b)]]});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x2b1ba9)());[_0x5ec08a(0x120)];static get[_0x5ec08a(0x11e)](){const _0x49de7d=_0x5ec08a;return[_0x2c6b5d,_0x49de7d(0x12e),_0x5a4184,_0x26eca7];}static get[_0x5ec08a(0xda)](){const _0x5abdfe=_0x5ec08a;return _0x5abdfe(0x11c);}static get[_0x5ec08a(0x122)](){return!0x0;}static get[_0x5ec08a(0xea)](){return!0x0;}constructor(_0x28c225){const _0x2b035a=_0x5ec08a;super(_0x28c225),this[_0x2b035a(0x120)]=new Map();}async[_0x5ec08a(0xf9)](){const _0x4c2a2e=_0x5ec08a,_0x2b1646=this[_0x4c2a2e(0xdb)],_0x26c3f6=_0x2b1646[_0x4c2a2e(0x13a)][_0x4c2a2e(0xdc)](_0x4c2a2e(0x12e));if(_0x2b1646[_0x4c2a2e(0x13a)][_0x4c2a2e(0xdc)](_0x2c6b5d)[_0x4c2a2e(0x113)](this),_0x26c3f6[_0x4c2a2e(0x107)]={'addCommentThread':async({channelId:_0x56496a,threadId:_0x49beb8,comments:_0x1a4578,resolvedAt:_0x156e35,resolvedBy:_0x4e07b4,context:_0x1647fe,attributes:_0x5197ba})=>{const _0x1689b9=_0x4c2a2e,_0x18a5ef=await this[_0x1689b9(0x135)](_0x56496a)[_0x1689b9(0x12d)]({'commentThreadId':_0x49beb8,'comments':_0x1a4578[_0x1689b9(0xf8)](_0x34145d=>function(_0x5050d2,_0x50c48e,_0x66f96f){const _0x41728f=_0x1689b9;return{'commentThreadId':_0x66f96f,'commentId':_0x5050d2[_0x41728f(0xed)],'userId':_0x5050d2[_0x41728f(0x127)],'content':_0x5050d2[_0x41728f(0xe0)],'documentId':_0x50c48e,'createdAt':_0x5050d2[_0x41728f(0x105)],'attributes':_0x5050d2[_0x41728f(0x10a)]||{}};}(_0x34145d,_0x56496a,_0x49beb8)),'resolvedAt':_0x156e35,'resolvedBy':_0x4e07b4,'context':_0x1647fe,'attributes':_0x5197ba})[_0x1689b9(0xe5)](A);return{'threadId':_0x18a5ef[_0x1689b9(0x114)],'comments':_0x18a5ef[_0x1689b9(0x10d)]};},'getCommentThread':async({channelId:_0x3afd88,threadId:_0x50d891})=>{const _0x50352f=_0x4c2a2e,_0x45f5aa=await this[_0x50352f(0x135)](_0x3afd88)[_0x50352f(0xee)](_0x50d891)[_0x50352f(0xe5)](f)[_0x50352f(0xe5)](A);return _0x45f5aa?_0x45f5aa[_0x50352f(0x10e)]?null:(await this[_0x50352f(0x126)]([_0x45f5aa]),{'threadId':_0x45f5aa[_0x50352f(0x114)],'comments':_0x45f5aa[_0x50352f(0x10d)][_0x50352f(0xf8)](p),'context':_0x45f5aa[_0x50352f(0xdb)],'resolvedAt':_0x45f5aa[_0x50352f(0x121)],'resolvedBy':_0x45f5aa[_0x50352f(0x101)],'attributes':_0x45f5aa[_0x50352f(0x10a)]||{}}):null;},'updateCommentThread':async({channelId:_0x4a0e60,threadId:_0x5784fb,context:_0x1b0b2d,unlinkedAt:_0x110d67,attributes:_0x11622c})=>this[_0x4c2a2e(0x135)](_0x4a0e60)[_0x4c2a2e(0x136)]({'commentThreadId':_0x5784fb,'context':_0x1b0b2d,'attributes':_0x11622c,'unlinkedAt':_0x110d67})[_0x4c2a2e(0xe5)](f)[_0x4c2a2e(0xe5)](A),'resolveCommentThread':async({channelId:_0x4a5105,threadId:_0x1d3546})=>{const _0x286106=_0x4c2a2e,_0x3c3d56=await this[_0x286106(0x135)](_0x4a5105)[_0x286106(0x12c)](_0x1d3546)[_0x286106(0xe5)](f)[_0x286106(0xe5)](A);return{'threadId':_0x3c3d56[_0x286106(0x114)],'resolvedAt':_0x3c3d56[_0x286106(0x121)],'resolvedBy':_0x3c3d56[_0x286106(0x101)]};},'reopenCommentThread':async({channelId:_0xc084c7,threadId:_0x365685})=>this[_0x4c2a2e(0x135)](_0xc084c7)[_0x4c2a2e(0x111)](_0x365685)[_0x4c2a2e(0xe5)](f)[_0x4c2a2e(0xe5)](A),'removeCommentThread':({channelId:_0x35ea71,threadId:_0x56371c})=>this[_0x4c2a2e(0x135)](_0x35ea71)[_0x4c2a2e(0x11a)](_0x56371c)[_0x4c2a2e(0xe5)](f)[_0x4c2a2e(0xe5)](A),'addComment':({channelId:_0x470c2b,threadId:_0x4ceb23,commentId:_0x274aac,content:_0x5caf45,attributes:_0x32cf72})=>this[_0x4c2a2e(0x135)](_0x470c2b)[_0x4c2a2e(0x13b)](_0x4ceb23,_0x274aac,_0x5caf45,_0x32cf72)[_0x4c2a2e(0xe5)](A),'updateComment':({channelId:_0x470648,threadId:_0x62303a,commentId:_0x38030b,content:_0x1b8f2d,attributes:_0x382ff8})=>this[_0x4c2a2e(0x135)](_0x470648)[_0x4c2a2e(0xeb)](_0x62303a,_0x38030b,_0x1b8f2d,_0x382ff8)[_0x4c2a2e(0xe5)](f)[_0x4c2a2e(0xe5)](A),'removeComment':({channelId:_0x3803c5,threadId:_0x3d33c9,commentId:_0x146e11})=>this[_0x4c2a2e(0x135)](_0x3803c5)[_0x4c2a2e(0x132)](_0x3d33c9,_0x146e11)[_0x4c2a2e(0xe5)](f)[_0x4c2a2e(0xe5)](A)},_0x2b1646 instanceof _0x55f2b0){const _0x2673f8=_0x2b1646[_0x4c2a2e(0x11b)][_0x4c2a2e(0xdc)](_0x4c2a2e(0xf4)),_0x5b5a30=_0x2b1646[_0x4c2a2e(0x13a)][_0x4c2a2e(0xdc)](_0x5a4184);await this[_0x4c2a2e(0x112)](_0x2673f8);const _0x27914d=await this[_0x4c2a2e(0x120)][_0x4c2a2e(0xdc)](_0x2673f8)[_0x4c2a2e(0x130)]();this[_0x4c2a2e(0xf6)](_0x5b5a30,_0x4c2a2e(0x129)+_0x2673f8,(_0x48c9e3,{session:_0x5b3c0e})=>{const _0x2fef75=_0x4c2a2e;_0x5b3c0e['id']===_0x5b5a30[_0x2fef75(0xfb)]&&(_0x48c9e3[_0x2fef75(0xe3)](),this[_0x2fef75(0xdb)][_0x2fef75(0x13a)][_0x2fef75(0xdc)](_0x2fef75(0x13d))[_0x2fef75(0xdd)](_0x5b3c0e[_0x2fef75(0xef)],_0x2673f8));}),_0x5b5a30[_0x4c2a2e(0x117)](_0x2673f8,_0x27914d);}}async[_0x5ec08a(0x112)](_0x11495f){const _0x51eb1d=_0x5ec08a;if(this[_0x51eb1d(0x120)][_0x51eb1d(0xfe)](_0x11495f))throw new _0x29dc15(_0x51eb1d(0xfc),null,{'channelId':_0x11495f});const _0x39f386=this[_0x51eb1d(0xdb)][_0x51eb1d(0x13a)][_0x51eb1d(0xdc)](_0x51eb1d(0x12e)),_0x9918ea=new CloudServicesCommentsAdapter[(_0x51eb1d(0x134))](_0x11495f);this[_0x51eb1d(0x120)][_0x51eb1d(0x103)](_0x11495f,_0x9918ea),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0x124),(_0x94023e,_0x164dcf)=>{const _0x421ab4=_0x51eb1d,{commentThreadId:_0xf9fecc,documentId:_0xdf7c9c,context:_0x18e257,attributes:_0x93d1ba,resolvedAt:_0x8fce37,resolvedBy:_0xb875a5,comments:_0x2a9031}=_0x164dcf;_0x39f386[_0x421ab4(0xee)](_0xf9fecc)||_0x39f386[_0x421ab4(0x12d)]({'threadId':_0xf9fecc,'channelId':_0xdf7c9c,'comments':_0x2a9031?_0x2a9031[_0x421ab4(0xf8)](p):[],'context':_0x18e257,'attributes':_0x93d1ba,'resolvedAt':_0x8fce37,'resolvedBy':_0xb875a5,'isFromAdapter':!0x0});}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0xe7),(_0x3a784e,{commentThreadId:_0x305520,documentId:_0x74c78,context:_0x4cbd7e,unlinkedAt:_0x5ccb59,attributes:_0x604051})=>{const _0x59592f=_0x51eb1d;_0x39f386[_0x59592f(0xee)](_0x305520)&&_0x39f386[_0x59592f(0x136)]({'threadId':_0x305520,'channelId':_0x74c78,'context':_0x4cbd7e,'unlinkedAt':_0x5ccb59,'attributes':_0x604051,'isFromAdapter':!0x0});}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0x12a),(_0x4bd26c,{commentThreadId:_0x385491,resolvedBy:_0x145b76,resolvedAt:_0x515337})=>{const _0x371391=_0x51eb1d,_0x47c141=_0x39f386[_0x371391(0xee)](_0x385491);_0x47c141&&_0x47c141[_0x371391(0x133)]({'resolvedBy':_0x145b76,'resolvedAt':_0x515337,'isFromAdapter':!0x0});}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0x11d),(_0x231ded,{commentThreadId:_0x5660c4})=>{const _0x1f9ab7=_0x51eb1d,_0x16c685=_0x39f386[_0x1f9ab7(0xee)](_0x5660c4);_0x16c685&&_0x16c685[_0x1f9ab7(0xe8)]({'isFromAdapter':!0x0});}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0xde),(_0x2f600a,{commentThreadId:_0x25f62b})=>{const _0x2e7e53=_0x51eb1d,_0x12ad53=_0x39f386[_0x2e7e53(0xee)](_0x25f62b);_0x12ad53&&_0x12ad53[_0x2e7e53(0xe2)]({'isFromAdapter':!0x0});}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0x10b),(_0x1c1725,_0x3f7e57)=>{const _0x77a3f3=_0x51eb1d,_0x959d2b=_0x3f7e57[_0x77a3f3(0x114)],_0x41155e=_0x39f386[_0x77a3f3(0xee)](_0x959d2b);_0x41155e&&_0x41155e[_0x77a3f3(0x13b)]({...p(_0x3f7e57),'isFromAdapter':!0x0});}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0xe6),(_0xc87cbd,{commentThreadId:_0x105b6d,commentId:_0x19dab9,content:_0x5ab047,attributes:_0x58ee1d})=>{const _0xf567c7=_0x51eb1d,_0x2b3cad=_0x39f386[_0xf567c7(0xee)](_0x105b6d);if(_0x2b3cad){const _0x376a96=_0x2b3cad[_0xf567c7(0x137)](_0x19dab9);_0x376a96&&_0x376a96[_0xf567c7(0xe4)]({'content':_0x5ab047,'attributes':_0x58ee1d,'isFromAdapter':!0x0});}}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0xf1),(_0x40eb38,{commentThreadId:_0x396656,commentId:_0x51e11d})=>{const _0x41ad0e=_0x51eb1d,_0x515993=_0x39f386[_0x41ad0e(0xee)](_0x396656);if(_0x515993){const _0xb18af2=_0x515993[_0x41ad0e(0x137)](_0x51e11d);_0xb18af2&&_0xb18af2[_0x41ad0e(0xe2)]({'isFromAdapter':!0x0});}}),await this[_0x51eb1d(0x100)](_0x11495f);}[_0x5ec08a(0x104)](){const _0x86471b=_0x5ec08a;if(this[_0x86471b(0xdb)]instanceof _0x55f2b0){const _0x7b1e52=this[_0x86471b(0xdb)][_0x86471b(0x11b)][_0x86471b(0xdc)](_0x86471b(0xf4));this[_0x86471b(0x108)](_0x7b1e52);}}[_0x5ec08a(0x108)](_0x225066){const _0x130067=_0x5ec08a;if(!this[_0x130067(0x120)][_0x130067(0xfe)](_0x225066))throw new _0x29dc15(_0x130067(0x13c),null,{'channelId':_0x225066});this[_0x130067(0x135)](_0x225066)[_0x130067(0x116)](),this[_0x130067(0x120)][_0x130067(0x10f)](_0x225066);}async[_0x5ec08a(0x125)](){const _0x3bdd0a=_0x5ec08a;for(const _0x40592c of this[_0x3bdd0a(0x120)][_0x3bdd0a(0x102)]())await this[_0x3bdd0a(0x100)](_0x40592c);if(this[_0x3bdd0a(0xdb)]instanceof _0x55f2b0){const _0x59cff5=this[_0x3bdd0a(0xdb)][_0x3bdd0a(0x11b)][_0x3bdd0a(0xdc)](_0x3bdd0a(0xf4)),_0x357399=this[_0x3bdd0a(0xdb)][_0x3bdd0a(0x13a)][_0x3bdd0a(0xdc)](_0x5a4184);_0x357399[_0x3bdd0a(0x109)](_0x59cff5);const _0x497ba6=await this[_0x3bdd0a(0x120)][_0x3bdd0a(0xdc)](_0x59cff5)[_0x3bdd0a(0x130)]();_0x357399[_0x3bdd0a(0x117)](_0x59cff5,_0x497ba6);}}async[_0x5ec08a(0x100)](_0x44f062){const _0x2c81db=_0x5ec08a,{connection:_0x44cc2e}=this[_0x2c81db(0xdb)][_0x2c81db(0x13a)][_0x2c81db(0xdc)](_0x2c6b5d),_0x20c4aa=this[_0x2c81db(0xdb)][_0x2c81db(0x13a)][_0x2c81db(0xdc)](_0x2c81db(0x12e)),_0x2d149e=this[_0x2c81db(0x120)][_0x2c81db(0xdc)](_0x44f062),_0x5e72d3=await _0x2d149e[_0x2c81db(0x115)](_0x44cc2e);await this[_0x2c81db(0x126)](_0x5e72d3);const _0x4fb2df=new Set(Array[_0x2c81db(0xf5)](_0x20c4aa[_0x2c81db(0x119)]({'channelId':_0x44f062}),_0x5cc970=>_0x5cc970['id']));for(const _0x5b8169 of _0x5e72d3)_0x5b8169[_0x2c81db(0x10e)]||_0x4fb2df[_0x2c81db(0x10f)](_0x5b8169[_0x2c81db(0x114)]);for(const _0x29d021 of _0x4fb2df)_0x20c4aa[_0x2c81db(0xee)](_0x29d021)[_0x2c81db(0xe2)]({'isFromAdapter':!0x0});for(const _0x5c3f17 of _0x5e72d3){let _0x9f2b96=_0x20c4aa[_0x2c81db(0xee)](_0x5c3f17[_0x2c81db(0x114)]);const {commentThreadId:_0x56b261,context:_0x95227,attributes:_0x199e0c,resolvedBy:_0x4c9f2c,resolvedAt:_0x3e3eb5,unlinkedAt:_0x1a1485,deletedAt:_0x10c159}=_0x5c3f17;if(_0x10c159)continue;_0x9f2b96||(_0x9f2b96=_0x20c4aa[_0x2c81db(0x12d)]({'channelId':_0x44f062,'threadId':_0x56b261,'context':_0x95227,'attributes':_0x199e0c||{},'resolvedBy':_0x4c9f2c,'resolvedAt':_0x3e3eb5,'unlinkedAt':_0x1a1485,'isFromAdapter':!0x0}));const _0x4bf2a0=new Set(Array[_0x2c81db(0xf5)](_0x9f2b96[_0x2c81db(0x10d)],_0x1eee77=>_0x1eee77['id']));for(const _0x57c105 of _0x5c3f17[_0x2c81db(0x10d)])_0x4bf2a0[_0x2c81db(0x10f)](_0x57c105[_0x2c81db(0xed)]);for(const _0x1d0e6b of _0x4bf2a0)_0x9f2b96[_0x2c81db(0x137)](_0x1d0e6b)[_0x2c81db(0xe2)]({'isFromAdapter':!0x0});for(const _0x400b79 of _0x5c3f17[_0x2c81db(0x10d)]){const _0x5d69b2=_0x9f2b96[_0x2c81db(0x137)](_0x400b79[_0x2c81db(0xed)]);_0x5d69b2?_0x5d69b2[_0x2c81db(0xe0)]!==_0x400b79[_0x2c81db(0xe0)]&&_0x5d69b2[_0x2c81db(0xe4)]({'content':_0x400b79[_0x2c81db(0xe0)],'isFromAdapter':!0x0}):_0x9f2b96[_0x2c81db(0x13b)](Object[_0x2c81db(0xf0)](p(_0x400b79),{'isFromAdapter':!0x0}));}}}[_0x5ec08a(0x135)](_0x19bc6){const _0x23e917=_0x5ec08a;if(!this[_0x23e917(0x120)][_0x23e917(0xfe)](_0x19bc6))throw new _0x29dc15(_0x23e917(0x13f),null,{'channelId':_0x19bc6});return this[_0x23e917(0x120)][_0x23e917(0xdc)](_0x19bc6);}async[_0x5ec08a(0x126)](_0x478375){const _0x3e194e=_0x5ec08a,_0x4f5ad3=this[_0x3e194e(0xdb)][_0x3e194e(0x13a)][_0x3e194e(0xdc)](_0x26eca7),{connection:_0x4232e2}=this[_0x3e194e(0xdb)][_0x3e194e(0x13a)][_0x3e194e(0xdc)](_0x2c6b5d),_0x17ed9a=new Set();for(const {resolvedBy:_0x5c3967,comments:_0x48d8df}of _0x478375){_0x5c3967&&!_0x4f5ad3[_0x3e194e(0x118)](_0x5c3967)&&_0x17ed9a[_0x3e194e(0xf3)](_0x5c3967);for(const {userId:_0x43c9ee}of _0x48d8df)_0x4f5ad3[_0x3e194e(0x118)](_0x43c9ee)||_0x17ed9a[_0x3e194e(0xf3)](_0x43c9ee);}if(0x0===_0x17ed9a[_0x3e194e(0x131)])return;const _0x4aff38=await _0x5bb7eb[_0x3e194e(0x128)](_0x4232e2,Array[_0x3e194e(0xf5)](_0x17ed9a));for(const _0x245db3 of _0x4aff38)_0x4f5ad3[_0x3e194e(0x118)](_0x245db3['id'])||_0x4f5ad3[_0x3e194e(0x139)](_0x245db3);}}async function f(_0x4849d3){const _0x5b01ad=_0x5ec08a;if(_0x5b01ad(0xe9)!==_0x4849d3[_0x5b01ad(0xff)])throw _0x4849d3;}function A(_0x29773e){const _0x591b8d=_0x5ec08a;if((_0x1ac001=_0x29773e)[_0x591b8d(0x10c)][_0x591b8d(0x12b)](_0x591b8d(0x13e))||_0x1ac001[_0x591b8d(0x10c)][_0x591b8d(0x12b)](_0x591b8d(0x123))||_0x1ac001[_0x591b8d(0x10c)][_0x591b8d(0x12b)](_0x591b8d(0x12f)))return new Promise(()=>{});var _0x1ac001;throw _0x29773e;}function _0x48b8(){const _0x439c79=['12283944vfqxZo','_services','resolvedAt','isOfficialPlugin','cloud-services-internal-error:\x20Not\x20connected.','commentThreadAdded','reconnect','_fetchMissingUsersForThreads','authorId','getMany','sessionAdd:','commentThreadResolved','startsWith','resolveCommentThread','addCommentThread','CommentsRepository','cloud-services-internal-error:\x20Request\x20timeout.','getConnectedSessions','size','removeComment','resolve','CommentsService','_getService','updateCommentThread','getComment','2629728zgkRzB','addUser','plugins','addComment','cloudservicescommentsadapter-disconnect-not-exist','Permissions','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','cloudservicescommentsadapter-service-not-exist','3TBvREu','pluginName','context','get','setPermissions','commentThreadRemoved','1880yeiNhz','content','7PfvDkh','remove','off','update','catch','commentUpdated','commentThreadUpdated','reopen','404','isPremiumPlugin','updateComment','602892FTGwyS','commentId','getCommentThread','permissions','assign','commentRemoved','3149352xHNAII','add','collaboration.channelId','from','listenTo','50312416ELXUfB','map','init','1215246zCqSkw','mySessionId','cloudservicescommentsadapter-connect-already-connected','10jpbtIL','has','code','_connectService','resolvedBy','keys','set','destroy','createdAt','10aNxmUf','adapter','_terminateService','unregister','attributes','commentAdded','message','comments','deletedAt','delete','userId','reopenCommentThread','_setUpService','addToReconnectionStack','commentThreadId','connect','disconnect','register','getUser','getCommentThreads','removeCommentThread','config','CloudServicesCommentsAdapter','commentThreadReopened','requires'];_0x48b8=function(){return _0x439c79;};return _0x48b8();}function p(_0x3cbd49){const _0x5e0e4d=_0x5ec08a;return{'threadId':_0x3cbd49[_0x5e0e4d(0x114)],'commentId':_0x3cbd49[_0x5e0e4d(0xed)],'content':_0x3cbd49[_0x5e0e4d(0xe0)],'createdAt':_0x3cbd49[_0x5e0e4d(0x105)],'authorId':_0x3cbd49[_0x5e0e4d(0x110)],'attributes':_0x3cbd49[_0x5e0e4d(0x10a)]||{}};}
|
|
23
|
+
const _0x395a89=_0x5986;function _0x5986(_0x4ec580,_0x597b4e){const _0x5be6f4=_0x5be6();return _0x5986=function(_0x598628,_0x241353){_0x598628=_0x598628-0x14d;let _0x1319a5=_0x5be6f4[_0x598628];return _0x1319a5;},_0x5986(_0x4ec580,_0x597b4e);}(function(_0x551cda,_0x332721){const _0x5f323d=_0x5986,_0x324280=_0x551cda();while(!![]){try{const _0x39a8c2=-parseInt(_0x5f323d(0x19c))/0x1+parseInt(_0x5f323d(0x19d))/0x2*(parseInt(_0x5f323d(0x16b))/0x3)+-parseInt(_0x5f323d(0x15b))/0x4*(-parseInt(_0x5f323d(0x18c))/0x5)+parseInt(_0x5f323d(0x19b))/0x6*(parseInt(_0x5f323d(0x16f))/0x7)+parseInt(_0x5f323d(0x17a))/0x8*(parseInt(_0x5f323d(0x153))/0x9)+parseInt(_0x5f323d(0x170))/0xa*(-parseInt(_0x5f323d(0x15c))/0xb)+parseInt(_0x5f323d(0x18d))/0xc*(-parseInt(_0x5f323d(0x1ac))/0xd);if(_0x39a8c2===_0x332721)break;else _0x324280['push'](_0x324280['shift']());}catch(_0x223b38){_0x324280['push'](_0x324280['shift']());}}}(_0x5be6,0x3d882));import{Context as _0x4a82c1,ContextPlugin as _0x282924}from'ckeditor5/src/core.js';import{CKEditorError as _0x5e5b48}from'ckeditor5/src/utils.js';import{Users as _0x1c0558}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x3e7882,User as _0x446602}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0xcbbf97}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x440716}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x282924{static [_0x395a89(0x19e)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x3e7882)());[_0x395a89(0x152)];static get[_0x395a89(0x18b)](){const _0x370855=_0x395a89;return[_0xcbbf97,_0x370855(0x191),_0x440716,_0x1c0558];}static get[_0x395a89(0x1a1)](){const _0x532588=_0x395a89;return _0x532588(0x164);}static get[_0x395a89(0x1a7)](){return!0x0;}static get[_0x395a89(0x154)](){return!0x0;}constructor(_0x5928f9){const _0x3d2ed2=_0x395a89;super(_0x5928f9),this[_0x3d2ed2(0x152)]=new Map();}async[_0x395a89(0x182)](){const _0x24bb37=_0x395a89,_0x468bf6=this[_0x24bb37(0x16d)],_0x1bf06d=_0x468bf6[_0x24bb37(0x159)][_0x24bb37(0x14e)](_0x24bb37(0x191));if(_0x468bf6[_0x24bb37(0x159)][_0x24bb37(0x14e)](_0xcbbf97)[_0x24bb37(0x192)](this),_0x1bf06d[_0x24bb37(0x1a0)]={'addCommentThread':async({channelId:_0x5abfc8,threadId:_0x3fdbdb,comments:_0x89f7e6,resolvedAt:_0x3d0430,resolvedBy:_0x26a527,context:_0x4f626b,attributes:_0x448ca4})=>{const _0x15a1db=_0x24bb37,_0x26e6c9=await this[_0x15a1db(0x17d)](_0x5abfc8)[_0x15a1db(0x190)]({'commentThreadId':_0x3fdbdb,'comments':_0x89f7e6[_0x15a1db(0x19a)](_0x99e15d=>function(_0x37ae0c,_0x38650d,_0xb08707){const _0x364abb=_0x15a1db;return{'commentThreadId':_0xb08707,'commentId':_0x37ae0c[_0x364abb(0x15f)],'userId':_0x37ae0c[_0x364abb(0x1b3)],'content':_0x37ae0c[_0x364abb(0x178)],'documentId':_0x38650d,'createdAt':_0x37ae0c[_0x364abb(0x177)],'attributes':_0x37ae0c[_0x364abb(0x16a)]||{}};}(_0x99e15d,_0x5abfc8,_0x3fdbdb)),'resolvedAt':_0x3d0430,'resolvedBy':_0x26a527,'context':_0x4f626b,'attributes':_0x448ca4})[_0x15a1db(0x1b5)](nt);return{'threadId':_0x26e6c9[_0x15a1db(0x174)],'comments':_0x26e6c9[_0x15a1db(0x15a)]};},'getCommentThread':async({channelId:_0x536324,threadId:_0x43c3f4})=>{const _0x25056b=_0x24bb37,_0x25c7d9=await this[_0x25056b(0x17d)](_0x536324)[_0x25056b(0x14d)](_0x43c3f4)[_0x25056b(0x1b5)](ot)[_0x25056b(0x1b5)](nt);return _0x25c7d9?_0x25c7d9[_0x25056b(0x18e)]?null:(await this[_0x25056b(0x16e)]([_0x25c7d9]),{'threadId':_0x25c7d9[_0x25056b(0x174)],'comments':_0x25c7d9[_0x25056b(0x15a)][_0x25056b(0x19a)](st),'context':_0x25c7d9[_0x25056b(0x16d)],'resolvedAt':_0x25c7d9[_0x25056b(0x1ad)],'resolvedBy':_0x25c7d9[_0x25056b(0x17f)],'attributes':_0x25c7d9[_0x25056b(0x16a)]||{}}):null;},'updateCommentThread':async({channelId:_0x24a62e,threadId:_0x52aeac,context:_0x436f91,unlinkedAt:_0x487fd8,attributes:_0x3c7bfd})=>this[_0x24bb37(0x17d)](_0x24a62e)[_0x24bb37(0x175)]({'commentThreadId':_0x52aeac,'context':_0x436f91,'attributes':_0x3c7bfd,'unlinkedAt':_0x487fd8})[_0x24bb37(0x1b5)](ot)[_0x24bb37(0x1b5)](nt),'resolveCommentThread':async({channelId:_0x582a4c,threadId:_0x15c76d})=>{const _0xb56ea=_0x24bb37,_0x270fc6=await this[_0xb56ea(0x17d)](_0x582a4c)[_0xb56ea(0x19f)](_0x15c76d)[_0xb56ea(0x1b5)](ot)[_0xb56ea(0x1b5)](nt);return{'threadId':_0x270fc6[_0xb56ea(0x174)],'resolvedAt':_0x270fc6[_0xb56ea(0x1ad)],'resolvedBy':_0x270fc6[_0xb56ea(0x17f)]};},'reopenCommentThread':async({channelId:_0x3a181b,threadId:_0x244362})=>this[_0x24bb37(0x17d)](_0x3a181b)[_0x24bb37(0x17c)](_0x244362)[_0x24bb37(0x1b5)](ot)[_0x24bb37(0x1b5)](nt),'removeCommentThread':({channelId:_0x481f29,threadId:_0x14ff52})=>this[_0x24bb37(0x17d)](_0x481f29)[_0x24bb37(0x1b1)](_0x14ff52)[_0x24bb37(0x1b5)](ot)[_0x24bb37(0x1b5)](nt),'addComment':({channelId:_0x6e8a59,threadId:_0x24104d,commentId:_0x5f45d0,content:_0x4200f5,attributes:_0x4cffc7})=>this[_0x24bb37(0x17d)](_0x6e8a59)[_0x24bb37(0x165)](_0x24104d,_0x5f45d0,_0x4200f5,_0x4cffc7)[_0x24bb37(0x1b5)](nt),'updateComment':({channelId:_0x45eaad,threadId:_0xd93de3,commentId:_0xfe510a,content:_0x5176c2,attributes:_0x5999a9})=>this[_0x24bb37(0x17d)](_0x45eaad)[_0x24bb37(0x1a8)](_0xd93de3,_0xfe510a,_0x5176c2,_0x5999a9)[_0x24bb37(0x1b5)](ot)[_0x24bb37(0x1b5)](nt),'removeComment':({channelId:_0x5a3953,threadId:_0x570790,commentId:_0x11dd33})=>this[_0x24bb37(0x17d)](_0x5a3953)[_0x24bb37(0x199)](_0x570790,_0x11dd33)[_0x24bb37(0x1b5)](ot)[_0x24bb37(0x1b5)](nt)},_0x468bf6 instanceof _0x4a82c1){const _0x379dca=_0x468bf6[_0x24bb37(0x194)][_0x24bb37(0x14e)](_0x24bb37(0x166)),_0x49b7ba=_0x468bf6[_0x24bb37(0x159)][_0x24bb37(0x14e)](_0x440716);await this[_0x24bb37(0x193)](_0x379dca);const _0x12205c=await this[_0x24bb37(0x152)][_0x24bb37(0x14e)](_0x379dca)[_0x24bb37(0x172)]();this[_0x24bb37(0x150)](_0x49b7ba,_0x24bb37(0x17e)+_0x379dca,(_0x534518,{session:_0xfead6f})=>{const _0xd1cd2d=_0x24bb37;_0xfead6f['id']===_0x49b7ba[_0xd1cd2d(0x1b0)]&&(_0x534518[_0xd1cd2d(0x18f)](),this[_0xd1cd2d(0x16d)][_0xd1cd2d(0x159)][_0xd1cd2d(0x14e)](_0xd1cd2d(0x157))[_0xd1cd2d(0x17b)](_0xfead6f[_0xd1cd2d(0x176)],_0x379dca));}),_0x49b7ba[_0x24bb37(0x1ae)](_0x379dca,_0x12205c);}}async[_0x395a89(0x193)](_0x1c54ca){const _0x553ba0=_0x395a89;if(this[_0x553ba0(0x152)][_0x553ba0(0x18a)](_0x1c54ca))throw new _0x5e5b48(_0x553ba0(0x14f),null,{'channelId':_0x1c54ca});const _0x2aa4af=this[_0x553ba0(0x16d)][_0x553ba0(0x159)][_0x553ba0(0x14e)](_0x553ba0(0x191)),_0x5625a0=new CloudServicesCommentsAdapter[(_0x553ba0(0x19e))](_0x1c54ca);this[_0x553ba0(0x152)][_0x553ba0(0x16c)](_0x1c54ca,_0x5625a0),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x1a3),(_0x4be659,_0x472b8a)=>{const _0x397506=_0x553ba0,{commentThreadId:_0x5658c6,documentId:_0x3ce62a,context:_0x474965,attributes:_0x39be7a,resolvedAt:_0x1e9ac9,resolvedBy:_0x1f0ba7,comments:_0x4446a4}=_0x472b8a;_0x2aa4af[_0x397506(0x14d)](_0x5658c6)||_0x2aa4af[_0x397506(0x190)]({'threadId':_0x5658c6,'channelId':_0x3ce62a,'comments':_0x4446a4?_0x4446a4[_0x397506(0x19a)](st):[],'context':_0x474965,'attributes':_0x39be7a,'resolvedAt':_0x1e9ac9,'resolvedBy':_0x1f0ba7,'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x160),(_0x1d7000,{commentThreadId:_0x5a5fd0,documentId:_0x3aecc5,context:_0x412292,unlinkedAt:_0x5f1ade,attributes:_0x26856a})=>{const _0xd3c2f8=_0x553ba0;_0x2aa4af[_0xd3c2f8(0x14d)](_0x5a5fd0)&&_0x2aa4af[_0xd3c2f8(0x175)]({'threadId':_0x5a5fd0,'channelId':_0x3aecc5,'context':_0x412292,'unlinkedAt':_0x5f1ade,'attributes':_0x26856a,'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x151),(_0x1bae88,{commentThreadId:_0x55667b,resolvedBy:_0x687b58,resolvedAt:_0x1f1424})=>{const _0x1bd897=_0x553ba0,_0x23da21=_0x2aa4af[_0x1bd897(0x14d)](_0x55667b);_0x23da21&&_0x23da21[_0x1bd897(0x15d)]({'resolvedBy':_0x687b58,'resolvedAt':_0x1f1424,'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x162),(_0x51b7bc,{commentThreadId:_0x1b82a3})=>{const _0x58f5c9=_0x553ba0,_0x45c7d7=_0x2aa4af[_0x58f5c9(0x14d)](_0x1b82a3);_0x45c7d7&&_0x45c7d7[_0x58f5c9(0x163)]({'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x1a5),(_0x37654c,{commentThreadId:_0x246d46})=>{const _0x50b145=_0x553ba0,_0x5d3a0c=_0x2aa4af[_0x50b145(0x14d)](_0x246d46);_0x5d3a0c&&_0x5d3a0c[_0x50b145(0x195)]({'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x179),(_0x32670a,_0x4663ef)=>{const _0x3f55e3=_0x553ba0,_0x2cc9a4=_0x4663ef[_0x3f55e3(0x174)],_0x239b93=_0x2aa4af[_0x3f55e3(0x14d)](_0x2cc9a4);_0x239b93&&_0x239b93[_0x3f55e3(0x165)]({...st(_0x4663ef),'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x1af),(_0x261924,{commentThreadId:_0x9a4e2b,commentId:_0x538786,content:_0x1a7435,attributes:_0x3e3ca7})=>{const _0x161424=_0x553ba0,_0xf5e3f4=_0x2aa4af[_0x161424(0x14d)](_0x9a4e2b);if(_0xf5e3f4){const _0x62c3ba=_0xf5e3f4[_0x161424(0x1a4)](_0x538786);_0x62c3ba&&_0x62c3ba[_0x161424(0x169)]({'content':_0x1a7435,'attributes':_0x3e3ca7,'isFromAdapter':!0x0});}}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x168),(_0xd68f1f,{commentThreadId:_0x5e5444,commentId:_0x200a97})=>{const _0x2b1841=_0x553ba0,_0x151225=_0x2aa4af[_0x2b1841(0x14d)](_0x5e5444);if(_0x151225){const _0x1ff815=_0x151225[_0x2b1841(0x1a4)](_0x200a97);_0x1ff815&&_0x1ff815[_0x2b1841(0x195)]({'isFromAdapter':!0x0});}}),await this[_0x553ba0(0x156)](_0x1c54ca);}[_0x395a89(0x1a2)](){const _0x38ee87=_0x395a89;if(this[_0x38ee87(0x16d)]instanceof _0x4a82c1){const _0x2fbb2a=this[_0x38ee87(0x16d)][_0x38ee87(0x194)][_0x38ee87(0x14e)](_0x38ee87(0x166));this[_0x38ee87(0x1b4)](_0x2fbb2a);}}[_0x395a89(0x1b4)](_0x22d196){const _0x2f785e=_0x395a89;if(!this[_0x2f785e(0x152)][_0x2f785e(0x18a)](_0x22d196))throw new _0x5e5b48(_0x2f785e(0x155),null,{'channelId':_0x22d196});this[_0x2f785e(0x17d)](_0x22d196)[_0x2f785e(0x183)](),this[_0x2f785e(0x152)][_0x2f785e(0x185)](_0x22d196);}async[_0x395a89(0x167)](){const _0x131d73=_0x395a89;for(const _0x381c54 of this[_0x131d73(0x152)][_0x131d73(0x181)]())await this[_0x131d73(0x156)](_0x381c54);if(this[_0x131d73(0x16d)]instanceof _0x4a82c1){const _0x57e68a=this[_0x131d73(0x16d)][_0x131d73(0x194)][_0x131d73(0x14e)](_0x131d73(0x166)),_0x40478a=this[_0x131d73(0x16d)][_0x131d73(0x159)][_0x131d73(0x14e)](_0x440716);_0x40478a[_0x131d73(0x180)](_0x57e68a);const _0x19e611=await this[_0x131d73(0x152)][_0x131d73(0x14e)](_0x57e68a)[_0x131d73(0x172)]();_0x40478a[_0x131d73(0x1ae)](_0x57e68a,_0x19e611);}}async[_0x395a89(0x156)](_0x4c17f1){const _0x2b41bf=_0x395a89,{connection:_0x893182}=this[_0x2b41bf(0x16d)][_0x2b41bf(0x159)][_0x2b41bf(0x14e)](_0xcbbf97),_0x4bd74b=this[_0x2b41bf(0x16d)][_0x2b41bf(0x159)][_0x2b41bf(0x14e)](_0x2b41bf(0x191)),_0x5d441c=this[_0x2b41bf(0x152)][_0x2b41bf(0x14e)](_0x4c17f1),_0x2e557c=await _0x5d441c[_0x2b41bf(0x1aa)](_0x893182);await this[_0x2b41bf(0x16e)](_0x2e557c);const _0x5ca0c5=new Set(Array[_0x2b41bf(0x188)](_0x4bd74b[_0x2b41bf(0x173)]({'channelId':_0x4c17f1}),_0x3f1fae=>_0x3f1fae['id']));for(const _0x98b52b of _0x2e557c)_0x98b52b[_0x2b41bf(0x18e)]||_0x5ca0c5[_0x2b41bf(0x185)](_0x98b52b[_0x2b41bf(0x174)]);for(const _0x42b04f of _0x5ca0c5)_0x4bd74b[_0x2b41bf(0x14d)](_0x42b04f)[_0x2b41bf(0x195)]({'isFromAdapter':!0x0});for(const _0x469753 of _0x2e557c){let _0x19d35c=_0x4bd74b[_0x2b41bf(0x14d)](_0x469753[_0x2b41bf(0x174)]);const {commentThreadId:_0x32aed6,context:_0x398e35,attributes:_0xb94970,resolvedBy:_0x4443be,resolvedAt:_0x474150,unlinkedAt:_0x385c3b,deletedAt:_0x35e33b}=_0x469753;if(_0x35e33b)continue;_0x19d35c||(_0x19d35c=_0x4bd74b[_0x2b41bf(0x190)]({'channelId':_0x4c17f1,'threadId':_0x32aed6,'context':_0x398e35,'attributes':_0xb94970||{},'resolvedBy':_0x4443be,'resolvedAt':_0x474150,'unlinkedAt':_0x385c3b,'isFromAdapter':!0x0}));const _0x5eecf2=new Set(Array[_0x2b41bf(0x188)](_0x19d35c[_0x2b41bf(0x15a)],_0x3c9cf9=>_0x3c9cf9['id']));for(const _0x33eae5 of _0x469753[_0x2b41bf(0x15a)])_0x5eecf2[_0x2b41bf(0x185)](_0x33eae5[_0x2b41bf(0x15f)]);for(const _0x14287e of _0x5eecf2)_0x19d35c[_0x2b41bf(0x1a4)](_0x14287e)[_0x2b41bf(0x195)]({'isFromAdapter':!0x0});for(const _0x1d50e8 of _0x469753[_0x2b41bf(0x15a)]){const _0x3b2a71=_0x19d35c[_0x2b41bf(0x1a4)](_0x1d50e8[_0x2b41bf(0x15f)]);_0x3b2a71?_0x3b2a71[_0x2b41bf(0x178)]!==_0x1d50e8[_0x2b41bf(0x178)]&&_0x3b2a71[_0x2b41bf(0x169)]({'content':_0x1d50e8[_0x2b41bf(0x178)],'isFromAdapter':!0x0}):_0x19d35c[_0x2b41bf(0x165)](Object[_0x2b41bf(0x171)](st(_0x1d50e8),{'isFromAdapter':!0x0}));}}}[_0x395a89(0x17d)](_0x4b4426){const _0x58647f=_0x395a89;if(!this[_0x58647f(0x152)][_0x58647f(0x18a)](_0x4b4426))throw new _0x5e5b48(_0x58647f(0x1a9),null,{'channelId':_0x4b4426});return this[_0x58647f(0x152)][_0x58647f(0x14e)](_0x4b4426);}async[_0x395a89(0x16e)](_0xb7098e){const _0x51d47f=_0x395a89,_0x247010=this[_0x51d47f(0x16d)][_0x51d47f(0x159)][_0x51d47f(0x14e)](_0x1c0558),{connection:_0x46ee7b}=this[_0x51d47f(0x16d)][_0x51d47f(0x159)][_0x51d47f(0x14e)](_0xcbbf97),_0x1f47f3=new Set();for(const {resolvedBy:_0x2f9408,comments:_0x5d0e03}of _0xb7098e){_0x2f9408&&!_0x247010[_0x51d47f(0x186)](_0x2f9408)&&_0x1f47f3[_0x51d47f(0x184)](_0x2f9408);for(const {userId:_0x522194}of _0x5d0e03)_0x247010[_0x51d47f(0x186)](_0x522194)||_0x1f47f3[_0x51d47f(0x184)](_0x522194);}if(0x0===_0x1f47f3[_0x51d47f(0x197)])return;const _0x1b49e0=await _0x446602[_0x51d47f(0x158)](_0x46ee7b,Array[_0x51d47f(0x188)](_0x1f47f3));for(const _0x5860cf of _0x1b49e0)_0x247010[_0x51d47f(0x186)](_0x5860cf['id'])||_0x247010[_0x51d47f(0x189)](_0x5860cf);}}async function ot(_0x9ab7cd){const _0x3db1cc=_0x395a89;if(_0x3db1cc(0x187)!==_0x9ab7cd[_0x3db1cc(0x198)])throw _0x9ab7cd;}function nt(_0xcf907d){const _0x3757a5=_0x395a89;if((_0x434f56=_0xcf907d)[_0x3757a5(0x1a6)][_0x3757a5(0x161)](_0x3757a5(0x1b2))||_0x434f56[_0x3757a5(0x1a6)][_0x3757a5(0x161)](_0x3757a5(0x196))||_0x434f56[_0x3757a5(0x1a6)][_0x3757a5(0x161)](_0x3757a5(0x1ab)))return new Promise(()=>{});var _0x434f56;throw _0xcf907d;}function st(_0xcf2fe6){const _0x17bc7a=_0x395a89;return{'threadId':_0xcf2fe6[_0x17bc7a(0x174)],'commentId':_0xcf2fe6[_0x17bc7a(0x15f)],'content':_0xcf2fe6[_0x17bc7a(0x178)],'createdAt':_0xcf2fe6[_0x17bc7a(0x177)],'authorId':_0xcf2fe6[_0x17bc7a(0x15e)],'attributes':_0xcf2fe6[_0x17bc7a(0x16a)]||{}};}function _0x5be6(){const _0x4460b5=['cloudservicescommentsadapter-disconnect-not-exist','_connectService','Permissions','getMany','plugins','comments','4DeWjml','253AFmClv','resolve','userId','commentId','commentThreadUpdated','startsWith','commentThreadReopened','reopen','CloudServicesCommentsAdapter','addComment','collaboration.channelId','reconnect','commentRemoved','update','attributes','3eBTeli','set','context','_fetchMissingUsersForThreads','132433weqRWr','91710RNtCad','assign','getConnectedSessions','getCommentThreads','commentThreadId','updateCommentThread','permissions','createdAt','content','commentAdded','3179672sWKRix','setPermissions','reopenCommentThread','_getService','sessionAdd:','resolvedBy','unregister','keys','init','disconnect','add','delete','getUser','404','from','addUser','has','requires','1242090gbLxXO','217440hypLOR','deletedAt','off','addCommentThread','CommentsRepository','addToReconnectionStack','_setUpService','config','remove','cloud-services-internal-error:\x20Not\x20connected.','size','code','removeComment','map','150DOEYXV','171550CvEaUd','952050LJhRKp','CommentsService','resolveCommentThread','adapter','pluginName','destroy','commentThreadAdded','getComment','commentThreadRemoved','message','isOfficialPlugin','updateComment','cloudservicescommentsadapter-service-not-exist','connect','cloud-services-internal-error:\x20Request\x20timeout.','689jiBssx','resolvedAt','register','commentUpdated','mySessionId','removeCommentThread','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','authorId','_terminateService','catch','getCommentThread','get','cloudservicescommentsadapter-connect-already-connected','listenTo','commentThreadResolved','_services','9DnqGuK','isPremiumPlugin'];_0x5be6=function(){return _0x4460b5;};return _0x5be6();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0xe75a60)());[_0x3d8f8b(0x1cf)];[_0x3d8f8b(0x18c)];[_0x3d8f8b(0x1bf)];[_0x3d8f8b(0x1c3)];[_0x3d8f8b(0x131)];[_0x3d8f8b(0x10b)];[_0x3d8f8b(0x150)];[_0x3d8f8b(0x1b2)];[_0x3d8f8b(0xe3)];[_0x3d8f8b(0xfe)];[_0x3d8f8b(0x16b)];[_0x3d8f8b(0xfc)];[_0x3d8f8b(0x160)];[_0x3d8f8b(0x1a0)];[_0x3d8f8b(0xf6)];[_0x3d8f8b(0x1a8)];[_0x3d8f8b(0x1c9)];[_0x3d8f8b(0xf4)];static get[_0x3d8f8b(0xe4)](){return[_0x7cf06c,_0xb047bd,_0xd27be6,_0x385c22,_0x300e02,_0x25d720];}static get[_0x3d8f8b(0x1b3)](){const _0xc2ed9f=_0x3d8f8b;return _0xc2ed9f(0x122);}static get[_0x3d8f8b(0xe7)](){return!0x0;}static get[_0x3d8f8b(0x180)](){return!0x0;}get[_0x3d8f8b(0x182)](){const _0x239ee5=_0x3d8f8b;return this[_0x239ee5(0x1b9)]+this[_0x239ee5(0x1cf)];}get[_0x3d8f8b(0x1b9)](){const _0x2e85da=_0x3d8f8b;return this[_0x2e85da(0x1bf)][_0x2e85da(0x12f)]-this[_0x2e85da(0x1cf)];}get[_0x3d8f8b(0x189)](){const _0x140762=_0x3d8f8b,_0x2b0fc1=this[_0x140762(0x1bf)][_0x140762(0x13f)]();for(let _0x56ff01=_0x2b0fc1[_0x140762(0x186)]-0x1;_0x56ff01>=0x0;_0x56ff01--){const _0x48f83b=_0x2b0fc1[_0x56ff01];if(!this[_0x140762(0x1c9)][_0x140762(0x161)](_0x48f83b))return _0x48f83b[_0x140762(0x143)]+0x1-this[_0x140762(0x1cf)];}return 0x0;}constructor(_0x553557){const _0x2113e0=_0x3d8f8b;if(super(_0x553557),this[_0x2113e0(0x1cf)]=0x0,this[_0x2113e0(0x18c)]=null,this[_0x2113e0(0x1bf)]=new _0x98509(),this[_0x2113e0(0x1cd)][_0x2113e0(0x101)][_0x2113e0(0x111)](_0x2113e0(0x1da),{}),this[_0x2113e0(0x1c3)]=this[_0x2113e0(0x1cd)][_0x2113e0(0x101)][_0x2113e0(0x141)](_0x2113e0(0x17c)),!this[_0x2113e0(0x1c3)])throw new _0x4744ca(_0x2113e0(0x11d),this);const _0x3299db=_0x553557[_0x2113e0(0x101)][_0x2113e0(0x141)](_0x2113e0(0xed))||_0x1e19df;this[_0x2113e0(0x131)]=new RealTimeCollaborationClient[(_0x2113e0(0x171))](_0x3299db,this[_0x2113e0(0x1c3)]),this[_0x2113e0(0x10b)]=this[_0x2113e0(0x1cd)][_0x2113e0(0x120)][_0x2113e0(0x167)],this[_0x2113e0(0x150)]=new _0x427176(),this[_0x2113e0(0x1b2)]=[],this[_0x2113e0(0xe3)]=new WeakSet(),this[_0x2113e0(0xfe)]=new Set(),this[_0x2113e0(0x135)](_0x2113e0(0x118),!0x1),this[_0x2113e0(0x135)](_0x2113e0(0x19c),!0x1),this[_0x2113e0(0x16b)]=null,this[_0x2113e0(0xfc)]=!0x1,this[_0x2113e0(0x160)]=null,this[_0x2113e0(0x1a0)]=0x12c,this[_0x2113e0(0xf6)]=this[_0x2113e0(0x1a0)],this[_0x2113e0(0x1a8)]=null,this[_0x2113e0(0x1c9)]=new WeakSet(),this[_0x2113e0(0xf4)]=new M(this[_0x2113e0(0x1c9)]);}[_0x3d8f8b(0x1d9)](){const _0x26a669=_0x3d8f8b,_0x29c8ea=this[_0x26a669(0x1cd)],_0x28c5e5=_0x29c8ea[_0x26a669(0xf8)][_0x26a669(0x141)](_0x300e02),_0x33eec7=_0x29c8ea[_0x26a669(0xf8)][_0x26a669(0x141)](_0x7cf06c);this[_0x26a669(0x170)](_0x28c5e5,_0x26a669(0x18f),(_0x537824,_0x5aa091)=>{const _0x3a19b4=_0x26a669,_0x883fe1=_0x5aa091[0x0];_0x883fe1[_0x3a19b4(0x116)]&&(_0x537824[_0x3a19b4(0x109)]=_0x28c5e5[_0x3a19b4(0x173)](_0x883fe1[_0x3a19b4(0x116)]),_0x537824[_0x3a19b4(0x199)]()),null===_0x883fe1[_0x3a19b4(0x116)]&&(_0x537824[_0x3a19b4(0x109)]=null,_0x537824[_0x3a19b4(0x199)]());},{'priority':_0x26a669(0x190)}),this[_0x26a669(0x170)](_0x29c8ea[_0x26a669(0x120)][_0x26a669(0x167)][_0x26a669(0x126)],_0x26a669(0x105),(_0x17a701,_0x368f7e)=>{const _0x963b21=_0x26a669;_0x368f7e[_0x963b21(0x12c)]&&this[_0x963b21(0x1b5)]();}),this[_0x26a669(0x170)](_0x29c8ea[_0x26a669(0xfd)][_0x26a669(0x1ae)],_0x26a669(0x158),()=>{const _0x17c825=_0x26a669;this[_0x17c825(0x1b5)]();}),this[_0x26a669(0x1de)](),_0x29c8ea[_0x26a669(0x120)]['on'](_0x26a669(0x1dd),(_0x432a35,_0x4622e0)=>{const _0x3bba59=_0x26a669,_0x395508=_0x4622e0[0x0];_0x395508[_0x3bba59(0x1b0)]&&(this[_0x3bba59(0x155)](_0x395508),this[_0x3bba59(0x102)]()&&this[_0x3bba59(0x166)]());}),this[_0x26a669(0x10d)](),this[_0x26a669(0x13a)](_0x26a669(0x178))['to'](_0x33eec7,_0x26a669(0x139),this,_0x26a669(0x19c),(_0x5878d3,_0xc59bef)=>_0x26a669(0x17b)===_0x5878d3&&!_0xc59bef),this['on'](_0x26a669(0x133),()=>{const _0x2e1c13=_0x26a669;this[_0x2e1c13(0x178)]?_0x29c8ea[_0x2e1c13(0x19e)](_0x2e1c13(0xe0)):_0x29c8ea[_0x2e1c13(0x172)](_0x2e1c13(0xe0));}),this[_0x26a669(0x178)]?_0x29c8ea[_0x26a669(0x19e)](_0x26a669(0xe0)):_0x29c8ea[_0x26a669(0x172)](_0x26a669(0xe0)),this[_0x26a669(0x135)](_0x26a669(0x153),!0x1);}async[_0x3d8f8b(0x164)](){const _0x2f96e0=_0x3d8f8b,_0x2d9382=this[_0x2f96e0(0x1cd)][_0x2f96e0(0xf8)][_0x2f96e0(0x141)](_0xb047bd),_0x17ab2d=this[_0x2f96e0(0x1cd)][_0x2f96e0(0xf8)][_0x2f96e0(0x141)](_0x7cf06c);try{this[_0x2f96e0(0x118)]=!0x0,_0x2d9382[_0x2f96e0(0xe6)](this[_0x2f96e0(0x1c3)]);const _0x2c7f7e=await this[_0x2f96e0(0x131)][_0x2f96e0(0x164)](_0x17ab2d[_0x2f96e0(0x100)],this[_0x2f96e0(0x189)]);await this[_0x2f96e0(0x12a)](_0x2c7f7e)&&(this[_0x2f96e0(0x118)]=!0x1,this[_0x2f96e0(0x162)]());const _0x442ffc=await this[_0x2f96e0(0x131)][_0x2f96e0(0x1d0)]();_0x2d9382[_0x2f96e0(0x114)](this[_0x2f96e0(0x1c3)],_0x442ffc),this[_0x2f96e0(0x1cc)](),this[_0x2f96e0(0x153)]=!0x0;}catch(_0x34ed2d){if(function(_0x4356ae){const _0x49b398=_0x2f96e0;return _0x49b398(0x12b)===_0x4356ae[_0x49b398(0x184)];}(_0x34ed2d)&&this[_0x2f96e0(0x18c)])await this[_0x2f96e0(0xe1)]();else{if(function(_0x50ed75){const _0x34fbe9=_0x2f96e0;return _0x34fbe9(0x1e0)===_0x50ed75[_0x34fbe9(0x184)];}(_0x34ed2d)){const _0x2ada15=_0x475a1c(this[_0x2f96e0(0x1cd)][_0x2f96e0(0x14a)],_0x2f96e0(0x1c4));this[_0x2f96e0(0x103)](_0x2ada15);}else{if(!(_0x34ed2d instanceof B))throw _0x34ed2d;this[_0x2f96e0(0x103)]();}}}}[_0x3d8f8b(0x168)](){const _0x1b5dc2=_0x3d8f8b,_0x5f5438=this[_0x1b5dc2(0x1cd)][_0x1b5dc2(0xf8)][_0x1b5dc2(0x141)](_0x7cf06c),_0x3714c5=this[_0x1b5dc2(0x1cd)][_0x1b5dc2(0xf8)][_0x1b5dc2(0x141)](_0xb047bd);this[_0x1b5dc2(0x1cd)][_0x1b5dc2(0x172)](_0x1b5dc2(0xe8)),_0x3714c5[_0x1b5dc2(0x14c)][_0x1b5dc2(0x161)](this[_0x1b5dc2(0x1c3)])&&_0x3714c5[_0x1b5dc2(0xe6)](this[_0x1b5dc2(0x1c3)]),_0x5f5438[_0x1b5dc2(0xf5)](this),this[_0x1b5dc2(0x17e)](),super[_0x1b5dc2(0x168)]();}async[_0x3d8f8b(0x12a)](_0x447204){const _0x148467=_0x3d8f8b;if(this[_0x148467(0x18c)]!==_0x447204[_0x148467(0x18c)]&&this[_0x148467(0x1a8)]!==_0x447204[_0x148467(0x13c)])throw new B();return this[_0x148467(0x18c)]=_0x447204[_0x148467(0x18c)],this[_0x148467(0x10f)]([],{..._0x447204,'wereChangesApplied':!0x1,'data':_0x447204[_0x148467(0x144)]},_0x148467(0x164));}async[_0x3d8f8b(0x18e)](_0x558d71,_0x2fa718=!0x1){const _0x45e902=_0x3d8f8b,{connection:_0x12dc79}=this[_0x45e902(0x1cd)][_0x45e902(0xf8)][_0x45e902(0x141)](_0x7cf06c);RealTimeCollaborationClient[_0x45e902(0x171)][_0x45e902(0x1d0)](_0x12dc79,this[_0x45e902(0x1c3)])[_0x45e902(0x15f)](_0x345a95=>this[_0x45e902(0x125)](_0x345a95))[_0x45e902(0x1a9)](_0x59e1e7=>{const _0x884de5=_0x45e902;this[_0x884de5(0x142)](_0x884de5(0x1e1),_0x59e1e7);}),this[_0x45e902(0x170)](this[_0x45e902(0x131)],_0x45e902(0x149),this[_0x45e902(0x181)][_0x45e902(0x13a)](this)),this[_0x45e902(0x170)](this[_0x45e902(0x131)],_0x45e902(0x198),(_0x16b8c7,_0x65b2ed)=>{const _0x1883fd=_0x45e902;this[_0x1883fd(0x142)](_0x1883fd(0x112),_0x65b2ed);}),this[_0x45e902(0x170)](this[_0x45e902(0x131)],_0x45e902(0xf3),()=>{const _0x458be9=_0x45e902;this[_0x458be9(0x153)]=!0x1;});const _0x57b200=this[_0x45e902(0xf4)][_0x45e902(0x14f)](_0x558d71);this[_0x45e902(0x118)]=!0x0;const _0x19de1f=await this[_0x45e902(0x131)][_0x45e902(0x148)](_0x12dc79,this[_0x45e902(0x107)](_0x558d71),_0x57b200);if(this[_0x45e902(0x18c)]=_0x19de1f[_0x45e902(0x18c)],_0x2fa718){if(!_0x19de1f[_0x45e902(0xf2)])return void this[_0x45e902(0x103)]();this[_0x45e902(0x118)]=!0x1,this[_0x45e902(0x162)](),this[_0x45e902(0x1bf)][_0x45e902(0x1c0)](),this[_0x45e902(0x1cf)]=_0x19de1f[_0x45e902(0x1db)],this[_0x45e902(0x1bf)][_0x45e902(0x12f)]=this[_0x45e902(0x1cf)],await this[_0x45e902(0x10f)](_0x558d71,_0x19de1f,_0x45e902(0xe5));}else await this[_0x45e902(0x194)](_0x19de1f,_0x558d71);this[_0x45e902(0x1cc)](),this[_0x45e902(0x153)]=!0x0;}[_0x3d8f8b(0x1cc)](){const _0x27de59=_0x3d8f8b,_0x27bc5a=this[_0x27de59(0x1cd)][_0x27de59(0xf8)][_0x27de59(0x141)](_0xb047bd),_0x3889e5=this[_0x27de59(0x1cd)][_0x27de59(0xf8)][_0x27de59(0x141)](_0xd27be6),_0x3a5289=_0x27bc5a[_0x27de59(0x14c)][_0x27de59(0x141)](this[_0x27de59(0x1c3)]);_0x3a5289&&_0x3a5289[_0x27de59(0x186)]>0x1?_0x3889e5[_0x27de59(0x1b1)]():this[_0x27de59(0x170)](_0x27bc5a,_0x27de59(0x154)+this[_0x27de59(0x1c3)],()=>{const _0x5e6340=_0x27de59;0x2===_0x27bc5a[_0x5e6340(0x14c)][_0x5e6340(0x141)](this[_0x5e6340(0x1c3)])[_0x5e6340(0x186)]&&_0x3889e5[_0x5e6340(0x1b1)]();});}async[_0x3d8f8b(0x181)](_0x45ade7,_0x16b249,_0x407ca9,_0x1f4636){const _0x114e0a=_0x3d8f8b;if(!this[_0x114e0a(0x118)]&&this[_0x114e0a(0x10b)][_0x114e0a(0x12f)]==_0x16b249){const _0x278b13=this[_0x114e0a(0x14d)](_0x407ca9,_0x1f4636);await this[_0x114e0a(0x147)](_0x278b13),this[_0x114e0a(0x192)](_0x278b13,_0x16b249,_0x407ca9[_0x114e0a(0x13c)])||this[_0x114e0a(0x142)](_0x114e0a(0x163));}}async[_0x3d8f8b(0xe1)](){const _0x1a2fcf=_0x3d8f8b;this[_0x1a2fcf(0x17e)]();const {locale:_0x350605}=this[_0x1a2fcf(0x1cd)];let _0x3a19c3;try{_0x3a19c3=await this[_0x1a2fcf(0x131)][_0x1a2fcf(0x193)]();}catch{const _0xdf792c=_0x475a1c(_0x350605,_0x1a2fcf(0x137));return void this[_0x1a2fcf(0x103)](_0xdf792c);}const _0x4fe705=_0x3a19c3[_0x1a2fcf(0x113)]||_0x3a19c3[_0x1a2fcf(0x1c5)];if(this[_0x1a2fcf(0x1a8)]!==_0x4fe705[_0x1a2fcf(0x13c)]){const _0x68d9f9=_0x475a1c(_0x350605,_0x1a2fcf(0x1c7));return void this[_0x1a2fcf(0x103)](_0x68d9f9);}await this[_0x1a2fcf(0x18e)](this[_0x1a2fcf(0x1cd)][_0x1a2fcf(0x120)][_0x1a2fcf(0x167)][_0x1a2fcf(0x1e2)][_0x1a2fcf(0x13f)](),!0x0);}[_0x3d8f8b(0x17e)](){const _0x253e10=_0x3d8f8b;this[_0x253e10(0x131)][_0x253e10(0x196)](),this[_0x253e10(0x1b2)]=[],clearTimeout(this[_0x253e10(0x160)]),this[_0x253e10(0x16d)](this[_0x253e10(0x131)]);}[_0x3d8f8b(0x125)](_0x5e9f87){const _0x3cc2b1=_0x3d8f8b,_0x288a5e=this[_0x3cc2b1(0x1cd)][_0x3cc2b1(0xf8)][_0x3cc2b1(0x141)](_0xb047bd);this[_0x3cc2b1(0x170)](_0x288a5e,_0x3cc2b1(0x154)+this[_0x3cc2b1(0x1c3)],(_0x12c75a,{session:_0x18ca49})=>{const _0x34641f=_0x3cc2b1;if(_0x18ca49['id']===_0x288a5e[_0x34641f(0x1d5)]){_0x12c75a[_0x34641f(0x1d7)]();const _0x374423=this[_0x34641f(0x1cd)][_0x34641f(0xf8)][_0x34641f(0x161)](_0x34641f(0x132))&&this[_0x34641f(0x1cd)][_0x34641f(0xf8)][_0x34641f(0x141)](_0x34641f(0x132));let _0x5315ae=_0x18ca49[_0x34641f(0x13e)];_0x374423&&_0x374423[_0x34641f(0x1ca)]&&(_0x5315ae=_0x5315ae[_0x34641f(0xfb)](_0x3be036=>_0x34641f(0x15a)!==_0x3be036)),this[_0x34641f(0x1cd)][_0x34641f(0xf8)][_0x34641f(0x141)](_0x34641f(0x15c))[_0x34641f(0x18d)](_0x5315ae,this[_0x34641f(0x1c3)]);}}),_0x288a5e[_0x3cc2b1(0x114)](this[_0x3cc2b1(0x1c3)],_0x5e9f87);}[_0x3d8f8b(0x1de)](){const _0x2b08b7=_0x3d8f8b,_0x40a98c=this[_0x2b08b7(0x1cd)][_0x2b08b7(0x144)][_0x2b08b7(0x135)];this[_0x2b08b7(0x1cd)][_0x2b08b7(0x144)][_0x2b08b7(0x135)]=(..._0x2bc841)=>{const _0xf6e740=_0x2b08b7;if(!_0x2bc841[_0x2bc841[_0xf6e740(0x186)]-0x1][_0xf6e740(0x123)])throw new _0x4744ca(_0xf6e740(0xf9),this);_0x40a98c[_0xf6e740(0x1ab)](this[_0xf6e740(0x1cd)][_0xf6e740(0x144)],_0x2bc841);};}[_0x3d8f8b(0x10d)](){const _0x47942f=_0x3d8f8b;this[_0x47942f(0x1cd)][_0x47942f(0x144)]['on'](_0x47942f(0x1d9),(_0x33ca0b,[_0x443b41])=>{const _0x40f653=_0x47942f;if(this[_0x40f653(0x10b)][_0x40f653(0x12f)])throw new _0x4744ca(_0x40f653(0x16a),this);_0x33ca0b[_0x40f653(0x199)](),this[_0x40f653(0x1d2)]();const _0xbf3b0=this[_0x40f653(0x1cd)][_0x40f653(0x101)][_0x40f653(0x141)](_0x40f653(0x169)),_0x50384a=this[_0x40f653(0x19b)](_0x443b41,_0xbf3b0);0x0==_0x50384a[_0x40f653(0x186)]&&_0x50384a[_0x40f653(0x1d1)](new _0x2ebb10(0x0)),_0x33ca0b[_0x40f653(0x109)]=this[_0x40f653(0x18e)](_0x50384a)[_0x40f653(0x15f)](()=>{const _0xce6e7c=_0x40f653;this[_0xce6e7c(0x1cd)][_0xce6e7c(0xf8)][_0xce6e7c(0x141)](_0x7cf06c)[_0xce6e7c(0x117)](this),this[_0xce6e7c(0x1cd)][_0xce6e7c(0x144)][_0xce6e7c(0x18a)](_0xce6e7c(0x197));})[_0x40f653(0x1a9)](_0x1add8b=>this[_0x40f653(0x142)](_0x40f653(0x183),_0x1add8b))[_0x40f653(0x1e3)](()=>this[_0x40f653(0x162)]());},{'priority':_0x47942f(0x190)}),this[_0x47942f(0x1cd)]['on'](_0x47942f(0x12d),async(_0x4f9463,[_0x30f522,_0x11c928])=>{const _0x40e015=_0x47942f;_0x4f9463[_0x40e015(0x199)]();const _0x2866fe=this[_0x40e015(0x1cd)][_0x40e015(0x120)][_0x40e015(0x167)][_0x40e015(0x195)](_0x30f522);if(!this[_0x40e015(0xfe)][_0x40e015(0x161)](_0x30f522)){const _0x1d037b=_0x11c928&&_0x11c928[_0x40e015(0x144)]?_0x11c928[_0x40e015(0x144)]:'',_0x4394e4=_0x11c928&&_0x11c928[_0x40e015(0x1df)]?_0x11c928[_0x40e015(0x1df)]:{};await this[_0x40e015(0x1bb)](_0x30f522,_0x1d037b,_0x4394e4);}this[_0x40e015(0x1cd)][_0x40e015(0x120)][_0x40e015(0x1dc)]({'isUndoable':!0x1},()=>{const _0x5de44b=_0x40e015;_0x2866fe[_0x5de44b(0x187)]=!0x0,this[_0x5de44b(0x1cd)][_0x5de44b(0x120)][_0x5de44b(0x167)][_0x5de44b(0x108)][_0x5de44b(0x146)](_0x2866fe);});},{'priority':_0x47942f(0x190)});}async[_0x3d8f8b(0x147)](_0x397669){const _0x541bbf=_0x3d8f8b,_0x55d6a5=this[_0x541bbf(0x1cd)][_0x541bbf(0xf8)][_0x541bbf(0x141)](_0x300e02),{connection:_0x469fd5}=this[_0x541bbf(0x1cd)][_0x541bbf(0xf8)][_0x541bbf(0x141)](_0x7cf06c),_0x1ea92b=new Set();for(const _0x46f9f7 of _0x397669){const _0x1ddcfc=_0x46f9f7[_0x541bbf(0x116)];_0x1ddcfc&&!_0x55d6a5[_0x541bbf(0x173)](_0x1ddcfc)&&_0x1ea92b[_0x541bbf(0x177)](_0x1ddcfc);}if(0x0===_0x1ea92b[_0x541bbf(0x130)])return;const _0xdeb472=await _0x59b63a[_0x541bbf(0x1d8)](_0x469fd5,Array[_0x541bbf(0x1c1)](_0x1ea92b));for(const _0x206528 of _0xdeb472)_0x55d6a5[_0x541bbf(0x173)](_0x206528['id'])||_0x55d6a5[_0x541bbf(0xff)](_0x206528);}[_0x3d8f8b(0x19b)](_0x26bfc4,_0x13754d={}){const _0x10745e=_0x3d8f8b,_0x146bd3=this[_0x10745e(0x1cd)][_0x10745e(0x120)],_0x5d777b=[];let _0x35616f=0x0;const _0x4d3a66=_0x10745e(0x16f)==typeof _0x26bfc4?{'main':_0x26bfc4}:_0x26bfc4;for(const _0x5dc6d1 of Object[_0x10745e(0x1a1)](_0x4d3a66)){if(!this[_0x10745e(0x10b)][_0x10745e(0x1a2)][_0x10745e(0x161)](_0x5dc6d1))throw new _0x4744ca(_0x10745e(0x1ad),this);const _0x2657c6=this[_0x10745e(0x1cd)][_0x10745e(0x144)][_0x10745e(0x17d)](_0x4d3a66[_0x5dc6d1]),_0x321ef6=this[_0x10745e(0x10b)][_0x10745e(0x195)](_0x5dc6d1),_0x1aa9a4=new _0x45f472(_0x146bd3[_0x10745e(0x1b4)](_0x321ef6,0x0),_0x2657c6,_0x35616f++);_0x5d777b[_0x10745e(0x1d1)](_0x1aa9a4);for(const [_0xdfbccb,_0x1dd843]of _0x2657c6[_0x10745e(0x11f)]){const _0x51e2be=_0x146bd3[_0x10745e(0x1af)](_0x146bd3[_0x10745e(0x1d6)](_0x321ef6,_0x1dd843[_0x10745e(0x1c6)][_0x10745e(0x10c)][_0x10745e(0xf0)]()),_0x146bd3[_0x10745e(0x1d6)](_0x321ef6,_0x1dd843[_0x10745e(0x1cb)][_0x10745e(0x10c)][_0x10745e(0xf0)]())),_0x159530=new _0x30b704(_0xdfbccb,null,_0x51e2be,_0x146bd3[_0x10745e(0x11f)],!0x0,_0x35616f++);_0x5d777b[_0x10745e(0x1d1)](_0x159530);}}if(_0x13754d)for(const [_0x2bb6fa,_0x31361d]of Object[_0x10745e(0x1bc)](_0x13754d)){const _0x3b38f8=_0x146bd3[_0x10745e(0x167)][_0x10745e(0x195)](_0x2bb6fa);if(!_0x3b38f8)throw new _0x4744ca(_0x10745e(0x104),null);for(const [_0x19005e,_0x203801]of Object[_0x10745e(0x1bc)](_0x31361d))if(null!==_0x203801){const _0x1eb6fe=new _0xa16b61(_0x3b38f8,_0x19005e,null,_0x203801,_0x35616f++);_0x5d777b[_0x10745e(0x1d1)](_0x1eb6fe);}}return _0x5d777b;}async[_0x3d8f8b(0x1bb)](_0x19917a,_0x47f81c,_0x2d2909){const _0x260de3=_0x3d8f8b;this[_0x260de3(0x19b)]({[_0x19917a]:_0x47f81c},{[_0x19917a]:_0x2d2909})[_0x260de3(0xec)]((_0x3d41f8,_0x368923)=>{const _0x2d4031=_0x260de3;_0x3d41f8[_0x2d4031(0x143)]=this[_0x2d4031(0x10b)][_0x2d4031(0x12f)]+_0x368923,_0x3d41f8[_0x2d4031(0x1be)]=!0x0,this[_0x2d4031(0x155)](_0x3d41f8);}),this[_0x260de3(0x166)](),await this[_0x260de3(0x1a5)]();}async[_0x3d8f8b(0x194)](_0xfcfb0e,_0x54a18a){const _0x45e7d7=_0x3d8f8b;let _0x1de11a;this[_0x45e7d7(0x1cf)]=_0xfcfb0e[_0x45e7d7(0x1db)];const _0x59eb73=_0xfcfb0e[_0x45e7d7(0xf2)]&&!_0xfcfb0e[_0x45e7d7(0x10a)],_0x3e7ce4=_0x59eb73?0x0:_0xfcfb0e[_0x45e7d7(0x144)][_0x45e7d7(0x143)];if(_0x54a18a[_0x45e7d7(0xec)](_0x2c7e04=>{const _0x881ae2=_0x45e7d7;_0x2c7e04[_0x881ae2(0x1be)]=!0x0,_0x2c7e04[_0x881ae2(0x175)]=_0xfcfb0e[_0x881ae2(0x16e)],_0x2c7e04[_0x881ae2(0x116)]=null;}),_0x59eb73)_0x1de11a=_0x54a18a,this[_0x45e7d7(0x1b6)](_0x1de11a,_0x59eb73);else{if(_0xfcfb0e[_0x45e7d7(0x10a)]){const _0x5c8acb=this[_0x45e7d7(0x19b)](_0xfcfb0e[_0x45e7d7(0x10a)]);this[_0x45e7d7(0x10b)][_0x45e7d7(0x1e2)][_0x45e7d7(0x12f)]=-_0x5c8acb[_0x45e7d7(0x186)],_0x5c8acb[_0x45e7d7(0xec)](_0x114c91=>{const _0x2d042b=_0x45e7d7;_0x114c91[_0x2d042b(0x143)]-=_0x5c8acb[_0x2d042b(0x186)],_0x114c91[_0x2d042b(0x175)]=_0xfcfb0e[_0x2d042b(0x16e)],_0x114c91[_0x2d042b(0x1be)]=!0x0,_0x114c91[_0x2d042b(0x116)]=null;}),this[_0x45e7d7(0x1b6)](_0x5c8acb,!0x0),this[_0x45e7d7(0x1bf)][_0x45e7d7(0x12f)]=-_0x5c8acb[_0x45e7d7(0x186)]+this[_0x45e7d7(0x1cf)],this[_0x45e7d7(0x15b)](_0x5c8acb);}this[_0x45e7d7(0x10b)][_0x45e7d7(0x1e2)][_0x45e7d7(0x12f)]=_0x3e7ce4,_0x1de11a=this[_0x45e7d7(0x14d)](_0xfcfb0e[_0x45e7d7(0x144)],_0xfcfb0e[_0x45e7d7(0x157)]),await this[_0x45e7d7(0x147)](_0x1de11a),this[_0x45e7d7(0x1b6)](_0x1de11a,_0x59eb73);}_0xfcfb0e[_0x45e7d7(0x13c)]&&(this[_0x45e7d7(0xf4)][_0x45e7d7(0x151)](_0x1de11a,_0xfcfb0e[_0x45e7d7(0x13c)]),this[_0x45e7d7(0x1a8)]=_0xfcfb0e[_0x45e7d7(0x13c)]),this[_0x45e7d7(0x1bf)][_0x45e7d7(0x12f)]=_0x3e7ce4+this[_0x45e7d7(0x1cf)],this[_0x45e7d7(0x15b)](_0x1de11a),_0x54a18a[_0x45e7d7(0xfb)](_0x3ff18b=>{const _0x233c5d=_0x45e7d7,_0xaf73c1=this[_0x233c5d(0x1a6)](_0x3ff18b);return _0xaf73c1&&!this[_0x233c5d(0xfe)][_0x233c5d(0x161)](_0xaf73c1);})[_0x45e7d7(0xec)]((_0x23364d,_0x421392)=>{const _0x8974a5=_0x45e7d7;_0x23364d[_0x8974a5(0x143)]=this[_0x8974a5(0x10b)][_0x8974a5(0x12f)]+_0x421392,this[_0x8974a5(0x155)](_0x23364d);}),this[_0x45e7d7(0x102)]()?(this[_0x45e7d7(0xf6)]=0x0,this[_0x45e7d7(0x166)](!0x0),await this[_0x45e7d7(0x1a5)]()):(this[_0x45e7d7(0x118)]=!0x1,this[_0x45e7d7(0x162)]());}[_0x3d8f8b(0x142)](_0x64be37,_0x16a470){const _0x2937f4=_0x3d8f8b,_0xcc777=_0x16a470&&_0x16a470[_0x2937f4(0x106)];if(_0xcc777&&_0xcc777[_0x2937f4(0x115)](_0x2937f4(0x159)))throw _0x16a470;const _0x2a6960=this[_0x2937f4(0x1cd)][_0x2937f4(0xf8)][_0x2937f4(0x141)](_0x7cf06c);throw this[_0x2937f4(0x118)]=!0x0,_0x2a6960[_0x2937f4(0x196)](),this[_0x2937f4(0x1cd)][_0x2937f4(0x172)](_0x2937f4(0x11b)),new _0x4744ca(_0x64be37,this[_0x2937f4(0x1cd)],_0xcc777?{'originalError':_0xcc777}:void 0x0);}[_0x3d8f8b(0x155)](_0x532557){const _0x3e6767=_0x3d8f8b;this[_0x3e6767(0xe3)][_0x3e6767(0x161)](_0x532557)||(this[_0x3e6767(0xe3)][_0x3e6767(0x177)](_0x532557),this[_0x3e6767(0x1b2)][_0x3e6767(0x1d1)](_0x532557),this[_0x3e6767(0x16b)]||_0x3e6767(0x10e)==_0x532557[_0x3e6767(0x145)]&&!_0x532557[_0x3e6767(0xeb)]||this[_0x3e6767(0x1d2)]());}[_0x3d8f8b(0x166)](_0x5d9320=!0x1){const _0x2c0eee=_0x3d8f8b;!_0x5d9320&&this[_0x2c0eee(0x118)]||(this[_0x2c0eee(0x118)]=!0x0,clearTimeout(this[_0x2c0eee(0x160)]),this[_0x2c0eee(0x160)]=setTimeout(()=>{const _0x2b2950=_0x2c0eee;this[_0x2b2950(0xfa)]()[_0x2b2950(0x15f)](_0xfe2e19=>{const _0x47184e=_0x2b2950;_0xfe2e19&&(this[_0x47184e(0x162)](),this[_0x47184e(0x118)]=!0x1);})[_0x2b2950(0x1a9)](_0x401cd2=>{const _0x23895c=_0x2b2950;this[_0x23895c(0x162)](),this[_0x23895c(0x118)]=!0x1,function(_0x17c409){const _0x180305=_0x23895c;return _0x17c409[_0x180305(0x106)][_0x180305(0x115)](_0x180305(0x11a))||_0x17c409[_0x180305(0x106)][_0x180305(0x115)](_0x180305(0x16c))||_0x17c409[_0x180305(0x106)][_0x180305(0x115)](_0x180305(0x124));}(_0x401cd2)||this[_0x23895c(0x142)](_0x401cd2[_0x23895c(0x106)],_0x401cd2);});},this[_0x2c0eee(0xf6)]));}[_0x3d8f8b(0x1a5)](){return new Promise(_0x10cd64=>{const _0x3cb719=_0x390b;this['on'](_0x3cb719(0x152),()=>{_0x10cd64();});});}async[_0x3d8f8b(0xfa)](){const _0x41b057=_0x3d8f8b,_0x53d4c0=this[_0x41b057(0x1cd)][_0x41b057(0xf8)][_0x41b057(0x141)](_0xd27be6);if(this[_0x41b057(0x11c)]()&&(_0x53d4c0[_0x41b057(0x1b1)](),this[_0x41b057(0xfc)]=!0x1),!this[_0x41b057(0x102)]())return!0x0;const _0xace0e1=[...this[_0x41b057(0x1b2)]];for(const _0x486a06 of _0xace0e1)_0x486a06[_0x41b057(0x140)]=this[_0x41b057(0x10b)][_0x41b057(0x1e2)][_0x41b057(0x1c8)](_0x486a06);const _0x5c6846=this[_0x41b057(0xf4)][_0x41b057(0x14f)](_0xace0e1),_0x150561=N++,_0x2f3320=this[_0x41b057(0x107)](_0xace0e1),_0x5400bc=await this[_0x41b057(0x131)][_0x41b057(0x176)](_0x2f3320,_0x2f3320[_0x41b057(0x143)],_0x5c6846);try{return await this[_0x41b057(0x10f)](_0xace0e1,_0x5400bc,_0x150561);}catch(_0x1217e8){return this[_0x41b057(0x142)](_0x41b057(0x127),_0x1217e8);}}async[_0x3d8f8b(0x10f)](_0x90cf4e,_0xe6af37,_0x1bf75a){const _0x12d02b=_0x3d8f8b;if(_0x12d02b(0x198)in _0xe6af37)throw _0xe6af37[_0x12d02b(0x198)];let _0x1d604b=!0x1;if(_0xe6af37[_0x12d02b(0xf2)]){_0xe6af37[_0x12d02b(0x13c)]&&(this[_0x12d02b(0x1a8)]=_0xe6af37[_0x12d02b(0x13c)]),this[_0x12d02b(0x1b2)]=this[_0x12d02b(0x1b2)][_0x12d02b(0xfb)](_0x5cc39b=>!_0x90cf4e[_0x12d02b(0x129)](_0x5cc39b));for(const _0x165f94 of _0x90cf4e)_0x165f94[_0x12d02b(0x175)]=_0x12d02b(0x15e)in _0xe6af37&&_0xe6af37[_0x12d02b(0x15e)]||void 0x0;x(_0x90cf4e,_0xe6af37[_0x12d02b(0x12f)]-_0x90cf4e[_0x12d02b(0x186)]),this[_0x12d02b(0x15b)](_0x90cf4e);const _0x154abd=_0x90cf4e[_0x12d02b(0xfb)](_0xfa16cf=>{const _0x15350b=_0x12d02b;if(!_0xfa16cf[_0x15350b(0x1be)])return!0x1;const _0x135063=this[_0x15350b(0x1a6)](_0xfa16cf);return _0x135063&&!this[_0x15350b(0xfe)][_0x15350b(0x161)](_0x135063);});x(_0x154abd,this[_0x12d02b(0x10b)][_0x12d02b(0x12f)]),this[_0x12d02b(0x1b6)](_0x154abd),_0x1d604b=!0x0,this[_0x12d02b(0xf6)]=this[_0x12d02b(0x1a0)];}else{const _0x30020c=this[_0x12d02b(0x14d)](_0xe6af37[_0x12d02b(0x144)],_0xe6af37[_0x12d02b(0x157)])[_0x12d02b(0xfb)](_0x3e8682=>_0x3e8682[_0x12d02b(0x143)]>=this[_0x12d02b(0x1b9)]);_0x30020c[_0x12d02b(0xec)](_0xe9a392=>this[_0x12d02b(0x128)](_0xe9a392)),this[_0x12d02b(0x1b2)]=this[_0x12d02b(0x1b2)][_0x12d02b(0xfb)](_0x336b1b=>!_0x336b1b[_0x12d02b(0x1be)]||!this[_0x12d02b(0xfe)][_0x12d02b(0x161)](this[_0x12d02b(0x1a6)](_0x336b1b))),this[_0x12d02b(0x1b2)][_0x12d02b(0x186)]&&x(this[_0x12d02b(0x1b2)],this[_0x12d02b(0x1b2)][0x0][_0x12d02b(0x143)]),await this[_0x12d02b(0x147)](_0x30020c),_0x1d604b=this[_0x12d02b(0x192)](_0x30020c,_0xe6af37[_0x12d02b(0x12f)],_0xe6af37[_0x12d02b(0x13c)]),this[_0x12d02b(0xf6)]=Math[_0x12d02b(0x14e)](this[_0x12d02b(0xf6)]/0x2);}return _0x1d604b?!this[_0x12d02b(0x102)]()||(this[_0x12d02b(0x166)](!0x0),!0x1):this[_0x12d02b(0x142)](_0x12d02b(0x18b));}[_0x3d8f8b(0x192)](_0x4653fc,_0x25672d,_0x29d454){const _0x51369a=_0x3d8f8b;try{const _0x220121={'document':this[_0x51369a(0x10b)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x254725,operationsB:_0x1daf70,originalOperations:_0x4d2653}=_0x5e5f4f(_0x4653fc,this[_0x51369a(0x1b2)],_0x220121);x(_0x254725,this[_0x51369a(0x10b)][_0x51369a(0x12f)]),x(_0x1daf70,_0x25672d);for(const _0x116fa0 of _0x254725){const _0x1ad6de=_0x4d2653[_0x51369a(0x141)](_0x116fa0);_0x116fa0[_0x51369a(0x116)]=_0x1ad6de?_0x1ad6de[_0x51369a(0x116)]:null;}_0x29d454&&(this[_0x51369a(0xf4)][_0x51369a(0x151)](_0x4653fc,_0x29d454),this[_0x51369a(0x1a8)]=_0x29d454),this[_0x51369a(0x1b2)]=[..._0x1daf70],this[_0x51369a(0x1b6)](_0x254725),this[_0x51369a(0x15b)](_0x4653fc);}catch(_0x4278b7){return console[_0x51369a(0x198)](_0x4278b7),!0x1;}return!0x0;}[_0x3d8f8b(0x1b6)](_0x27dcbc,_0x4c72cd=!0x1){const _0x3024f9=_0x3d8f8b;this[_0x3024f9(0x1cd)][_0x3024f9(0x120)][_0x3024f9(0x1dc)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2e4a65=>{const _0x4b74b4=_0x3024f9;for(const _0x4160b1 of _0x27dcbc)this[_0x4b74b4(0xe3)][_0x4b74b4(0x177)](_0x4160b1),this[_0x4b74b4(0x128)](_0x4160b1),_0x2e4a65[_0x4b74b4(0x1b7)][_0x4b74b4(0xe9)](_0x4160b1),this[_0x4b74b4(0x1cd)][_0x4b74b4(0x120)][_0x4b74b4(0x1dd)](_0x4160b1);});}[_0x3d8f8b(0x128)](_0x3464ec){const _0x3c58f4=_0x3d8f8b,_0xa482e7=this[_0x3c58f4(0x1a6)](_0x3464ec);_0xa482e7&&this[_0x3c58f4(0xfe)][_0x3c58f4(0x177)](_0xa482e7);}[_0x3d8f8b(0x1a6)](_0x3f85ff){const _0x330517=_0x3d8f8b;let _0x58d40a,_0xe48730;switch(_0x3f85ff[_0x330517(0x145)]){case _0x330517(0x138):_0x58d40a=_0x3f85ff[_0x330517(0x188)][_0x330517(0x1b8)];break;case _0x330517(0x10e):if(_0xe48730=_0x3f85ff[_0x330517(0x1d4)],!_0xe48730)return null;_0x58d40a=_0xe48730[_0x330517(0x1b8)];break;case _0x330517(0x136):_0x58d40a=_0x3f85ff[_0x330517(0x1b8)];break;case _0x330517(0x1c2):_0x58d40a=_0x3f85ff[_0x330517(0x1bd)];break;case _0x330517(0x191):_0x58d40a=_0x3f85ff[_0x330517(0xf7)][_0x330517(0x1b8)];break;default:return null;}return _0x58d40a[_0x330517(0x13b)];}[_0x3d8f8b(0x15b)](_0x387e68){const _0x57f33a=_0x3d8f8b;_0x387e68[_0x57f33a(0xec)](_0x5002e4=>{const _0x10c950=_0x57f33a,_0x381d1a=_0x5002e4[_0x10c950(0x13d)]();_0x381d1a[_0x10c950(0x116)]=_0x5002e4[_0x10c950(0x116)],_0x381d1a[_0x10c950(0x1be)]=!!_0x5002e4[_0x10c950(0x1be)],_0x381d1a[_0x10c950(0x175)]=_0x5002e4[_0x10c950(0x175)],_0x381d1a[_0x10c950(0x143)]+=this[_0x10c950(0x1cf)],_0x5002e4[_0x10c950(0xf1)]&&this[_0x10c950(0x1c9)][_0x10c950(0x177)](_0x381d1a),this[_0x10c950(0x1bf)][_0x10c950(0xe9)](_0x381d1a);});}[_0x3d8f8b(0x103)](_0x57fe56){const _0x4aedf0=_0x3d8f8b,_0x385f53=this[_0x4aedf0(0x1cd)][_0x4aedf0(0xf8)][_0x4aedf0(0x141)](_0x4aedf0(0xef)),_0x1410b4=this[_0x4aedf0(0x1cd)][_0x4aedf0(0x14a)];_0x57fe56||(_0x57fe56=_0x475a1c(_0x1410b4,_0x4aedf0(0x19d))),_0x385f53[_0x4aedf0(0x11e)](_0x57fe56,{'title':_0x475a1c(_0x1410b4,_0x4aedf0(0xee)),'namespace':_0x4aedf0(0x1ce)}),this[_0x4aedf0(0x19c)]=!0x0,clearTimeout(this[_0x4aedf0(0x160)]),this[_0x4aedf0(0x1b2)]=[],this[_0x4aedf0(0x1cd)][_0x4aedf0(0xf8)][_0x4aedf0(0x141)](_0x7cf06c)[_0x4aedf0(0x196)]();}[_0x3d8f8b(0x1d2)](){const _0x5114f8=_0x3d8f8b;this[_0x5114f8(0x16b)]||(this[_0x5114f8(0x16b)]=this[_0x5114f8(0x1cd)][_0x5114f8(0xf8)][_0x5114f8(0x141)](_0x385c22)[_0x5114f8(0x177)](_0x475a1c(this[_0x5114f8(0x1cd)][_0x5114f8(0x14a)],_0x5114f8(0x19a))));}[_0x3d8f8b(0x162)](){const _0x38bf56=_0x3d8f8b;this[_0x38bf56(0x16b)]&&(this[_0x38bf56(0x1cd)][_0x38bf56(0xf8)][_0x38bf56(0x141)](_0x385c22)[_0x38bf56(0x119)](this[_0x38bf56(0x16b)]),this[_0x38bf56(0x16b)]=null);}[_0x3d8f8b(0x107)](_0xdb2d78){const _0x49b9ee=_0x3d8f8b,_0x314f3f=_0xdb2d78[_0x49b9ee(0x174)](_0x59f763=>_0x59f763[_0x49b9ee(0x121)]());return this[_0x49b9ee(0x150)][_0x49b9ee(0x1ba)](_0x314f3f);}[_0x3d8f8b(0x14d)](_0x5877b7,_0x3c1718){const _0x2f1ab8=_0x3d8f8b;return this[_0x2f1ab8(0x150)][_0x2f1ab8(0x1d3)](_0x5877b7)[_0x2f1ab8(0x174)]((_0x5a0ace,_0x1374d6)=>{const _0x4408cb=_0x2f1ab8,_0x31d328=_0x4408cb(0x1d9)==_0x3c1718[_0x1374d6][_0x4408cb(0x145)];if(_0x4408cb(0x17f)==_0x5a0ace[_0x4408cb(0x1a3)]){const _0x36ca85=_0x5a0ace[_0x4408cb(0x188)][_0x4408cb(0x1b8)];!this[_0x4408cb(0x10b)][_0x4408cb(0x195)](_0x36ca85)&&(this[_0x4408cb(0x10b)][_0x4408cb(0x1aa)](_0x4408cb(0x14b),_0x36ca85)[_0x4408cb(0x1ac)]=!0x1);}const _0x45e773=_0x49d088[_0x4408cb(0x110)](_0x5a0ace,this[_0x4408cb(0x10b)]);return _0x45e773[_0x4408cb(0x140)]=_0x5a0ace[_0x4408cb(0x140)],_0x45e773[_0x4408cb(0x1be)]=_0x31d328,_0x45e773[_0x4408cb(0x116)]=_0x31d328?null:_0x3c1718[_0x1374d6][_0x4408cb(0x134)],_0x45e773[_0x4408cb(0xf1)]=_0x4408cb(0xe2)===_0x3c1718[_0x1374d6][_0x4408cb(0x145)],_0x45e773[_0x4408cb(0x175)]=_0x3c1718[_0x1374d6][_0x4408cb(0x175)],_0x45e773;});}[_0x3d8f8b(0x1b5)](){const _0x31beeb=_0x3d8f8b;this[_0x31beeb(0xfc)]=!0x0,this[_0x31beeb(0x11c)]()?this[_0x31beeb(0x166)]():this[_0x31beeb(0xfc)]=!0x1;}[_0x3d8f8b(0x11c)](){const _0x5ef92b=_0x3d8f8b,_0x318569=this[_0x5ef92b(0x1cd)][_0x5ef92b(0xf8)][_0x5ef92b(0x141)](_0xb047bd)[_0x5ef92b(0x14c)][_0x5ef92b(0x141)](this[_0x5ef92b(0x1c3)]);return!this[_0x5ef92b(0x1cd)][_0x5ef92b(0xea)]&&!!_0x318569&&_0x318569[_0x5ef92b(0x186)]>0x1&&this[_0x5ef92b(0xfc)];}[_0x3d8f8b(0x102)](){const _0x39ec0f=_0x3d8f8b;return this[_0x39ec0f(0x1b2)][_0x39ec0f(0x186)]>0x0||this[_0x39ec0f(0x11c)]();}}class B extends Error{}function _0x390b(_0x9a98c0,_0x38f23c){const _0x503cfd=_0x503c();return _0x390b=function(_0x390b0e,_0x3dfc6c){_0x390b0e=_0x390b0e-0xe0;let _0x418ab7=_0x503cfd[_0x390b0e];return _0x418ab7;},_0x390b(_0x9a98c0,_0x38f23c);}function x(_0x3426a5,_0x300b8b){const _0x309557=_0x3d8f8b;for(const _0xab4f95 of _0x3426a5)_0xab4f95[_0x309557(0x143)]=_0x300b8b++;}class M{[_0x3d8f8b(0x185)];[_0x3d8f8b(0x19f)];constructor(_0x27e534){const _0x693d62=_0x3d8f8b;this[_0x693d62(0x185)]=_0x27e534,this[_0x693d62(0x19f)]=new WeakMap();}[_0x3d8f8b(0x14f)](_0x4481ee){const _0x1e8571=_0x3d8f8b;let _0x3b7e0b=_0x4481ee[_0x1e8571(0x186)];for(;_0x3b7e0b--;){const _0x17a648=_0x4481ee[_0x3b7e0b];if(!this[_0x1e8571(0x185)][_0x1e8571(0x161)](_0x17a648)){if(!this[_0x1e8571(0x19f)][_0x1e8571(0x161)](_0x17a648)){const _0xc57e49=_0x4134d()[_0x1e8571(0xf0)](0x1,0x12);this[_0x1e8571(0x19f)][_0x1e8571(0x135)](_0x17a648,_0xc57e49);}return this[_0x1e8571(0x19f)][_0x1e8571(0x141)](_0x17a648);}}}[_0x3d8f8b(0x151)](_0x3a7f1f,_0xbb590f){const _0x37f658=_0x3d8f8b;if(!_0xbb590f)return;let _0x1daacf=_0x3a7f1f[_0x37f658(0x186)];for(;_0x1daacf--;){const _0x3b16ba=_0x3a7f1f[_0x1daacf];this[_0x37f658(0x185)][_0x37f658(0x161)](_0x3b16ba)||this[_0x37f658(0x19f)][_0x37f658(0x135)](_0x3b16ba,_0xbb590f);}}}
|
|
23
|
+
const _0x3182f5=_0x5b2d;function _0x5b2d(_0x19cfb9,_0x4cf455){const _0x546266=_0x5462();return _0x5b2d=function(_0x5b2da0,_0x2291d3){_0x5b2da0=_0x5b2da0-0x193;let _0x4ca7dc=_0x546266[_0x5b2da0];return _0x4ca7dc;},_0x5b2d(_0x19cfb9,_0x4cf455);}(function(_0x22be42,_0x13d7a1){const _0x10da80=_0x5b2d,_0x9b76b2=_0x22be42();while(!![]){try{const _0x5cce72=parseInt(_0x10da80(0x1e3))/0x1*(-parseInt(_0x10da80(0x26a))/0x2)+-parseInt(_0x10da80(0x1e5))/0x3+-parseInt(_0x10da80(0x212))/0x4*(parseInt(_0x10da80(0x253))/0x5)+parseInt(_0x10da80(0x226))/0x6*(parseInt(_0x10da80(0x1a7))/0x7)+-parseInt(_0x10da80(0x20b))/0x8+-parseInt(_0x10da80(0x271))/0x9+-parseInt(_0x10da80(0x233))/0xa*(-parseInt(_0x10da80(0x1ef))/0xb);if(_0x5cce72===_0x13d7a1)break;else _0x9b76b2['push'](_0x9b76b2['shift']());}catch(_0x84cba4){_0x9b76b2['push'](_0x9b76b2['shift']());}}}(_0x5462,0xa0756));import{Plugin as _0x562e47,PendingActions as _0x46d007}from'ckeditor5/src/core.js';import{CKEditorError as _0x3be5a2,version as _0x23bb04,uid as _0x1a3efb}from'ckeditor5/src/utils.js';import{Notification as _0x3c6c18}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3d47f4,NoOperation as _0x3acab2,InsertOperation as _0x3aff7d,MarkerOperation as _0x9ab32,RootAttributeOperation as _0x3cdcd9,OperationFactory as _0x2643fb,History as _0x5dcdaf}from'ckeditor5/src/engine.js';function _0x5462(){const _0x57d036=['_crash','showWarning','realtimecollaborationclient-init-service-internal-error','getUser','_hasSelectionChanged','lastOperationId','decompress','marker','_setPendingAction','cloud-services-internal-error:\x20Not\x20connected.','wasUndone','userId','_applyOperationsSet','409','516344UffPEi','_refreshUserSelectionMarkers','_operationIdentifier','_connectService','_clearPendingAction','connect','realtimecollaborationclient-init-document-already-initialized','22220eEnEYH','affectedSelectable','isEnabled','insert','stop','high','_initSessionsHandling','sendOperations','clone','realtimecollaborationclient-init-non-existent-root','collaboration.channelId','CollaborativeEditingService','lastSyncVersion','parse','Notification','cs:removeUser','_connectAfterSessionHasBeenFlushed','404','isReadOnly','suppressErrorInCollaboration','38706FNOdet','unregister','startsWith','currentDocumentSession','push','realtimecollaborationclient-sendbufferedoperations','model','add','_waitUntilSynced','_handleReconnectionError','sessionCreatedAt','PENDING_ACTION_SENDING_DATA','isPremiumPlugin','1330gGzJDi','connection','createRange','serverHistory','_operationToId','data','connected','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.','_handleServerResponse','_hasSynchronizationProblem','_lastSyncedOperationId','_decompressOperations','_fetchMissingUsers','_isDisconnection','realtimecollaborationclient-init-connection-failed','_isPendingUpdate','getOperationAuthor','_getOperationsFromInitData','_bufferedOperations','map','set','_offset','_compressOperations','enableReadOnlyMode','reconnection:\x20flushed\x20session','loadRoot','permissions','_service','bind','document:write','_isLoaded','fire','115vyCPaA','reconnect','realtimecollaborationclient','baseVersion','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_saveOperationInBuffer','realtimecollaborationclient-init-service-incorrect-server-operation','fromJSON','disableReadOnlyMode','config','return','_isAttached','start','_document','getRoot','change:hasDomSelection','initData','removeFromReconnectionStack','compress','_updateServerHistory','cloud-services-internal-error:\x20Request\x20timeout.','getDocumentDetails','_sendBufferedOperationsDelayId','22xFRrQw','includes','apply','cloudServices.bundleVersion','newRange','_handleExternalOperations','root','6195897rIYrTK','mySessionId','view','rtc-offline','_compressor','slice','createUserMarkerOperations','CommentsOnly','from','isOfficialPlugin','then','destroy','createPositionFromPath','init','_initThrowingOnDataSet','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','toJSON','addOperation','length','plugins','off','history','addUser','cloudDocumentVersion','listenTo','_shouldSendSelectionUpdate','wereChangesApplied','addRootAttribute','selection','size','Synchronization\x20issue','has','stopListening','disconnect','_lastServerVersion','isUndoneOperation','createPositionAt','editor','setIdForTheLastOperation','getOperations','getIdOfTheLastOperation','version','locale','RealTimeCollaborationClient','realtimecollaborationclient-error','_ignoredOperations','enqueueChange','real-time-collaboration','message','metadata','_sendBufferedOperations','sessionAdd:','state','__className','lastOperationAcceptedAt','_knownOperations','position','define','batch','_getAffectedRoot','addRoot','1127rrKuRg','forEach','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','path','_knownRootNames','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','ready','_isEditingAllowed','multi-root-editor-root-attributes-no-root','_handleInitialConnectionData','_handleSendingSelectionMarkers','editing','InsertOperation','_baseBufferDelay','change:_isEditingAllowed','Permissions','requires','realtimecollaborationclient-handleserverresponse','offset','_shouldSendUpdate','register','_setUpDataInit','collaboration-missing-channelid','_disconnectionOperations','get','sessionId','round','string','_handleReceivedOperations','operationsReceived','_sendBufferedOperationsDelayed','keys','markers','directChange','createRoot','reset','_isConnected','move','getMany','rootsAttributes','document','remove','_currentBufferDelay','_channelId','end','attributes','error','disconnected','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.','rtc-destroyed','finally','pluginName','_bufferRootLoad','_authorId','targetPosition','realtimecollaborationclient-init-session-connection-error','filter','applyOperation','_isInit','$root','9885PKLamv','differ','1862052TLCPSl','roots','channelSessions','createdAt','change:range','_disconnectService','entries','affectsData','_handleReconnectionResponse','lastDocumentSession','101629BFHXQj','getConnectedSessions','_pendingAction','catch','code','isDocumentOperation','collaboration','type','addToReconnectionStack','setPermissions','rootName','change:_isPendingUpdate','_addKnownRoot','_loadRoot'];_0x5462=function(){return _0x57d036;};return _0x5462();}import{WebSocketGateway as _0x539b14}from'./websocketgateway.js';import{Sessions as _0x1a2418}from'./sessions.js';import{UserMarkers as _0x40942f}from'./usermarkers.js';import{getTranslation as _0x4e7cd5}from'../common-translations.js';import{Compressor as _0x503de4}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2a01f7}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xb723dc,CollaborativeEditingService as _0x3f6b18}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;export class RealTimeCollaborationClient extends _0x562e47{static [_0x3182f5(0x21d)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x3f6b18)());[_0x3182f5(0x248)];[_0x3182f5(0x1c0)];[_0x3182f5(0x236)];[_0x3182f5(0x1d2)];[_0x3182f5(0x24e)];[_0x3182f5(0x260)];[_0x3182f5(0x275)];[_0x3182f5(0x245)];[_0x3182f5(0x1a1)];[_0x3182f5(0x1ab)];[_0x3182f5(0x1f1)];[_0x3182f5(0x201)];[_0x3182f5(0x269)];[_0x3182f5(0x1b4)];[_0x3182f5(0x1d1)];[_0x3182f5(0x23d)];[_0x3182f5(0x1be)];[_0x3182f5(0x20d)];static get[_0x3182f5(0x1b7)](){return[_0x539b14,_0x1a2418,_0x40942f,_0x46d007,_0x2a01f7,_0x3c6c18];}static get[_0x3182f5(0x1da)](){const _0xd736d7=_0x3182f5;return _0xd736d7(0x195);}static get[_0x3182f5(0x27a)](){return!0x0;}static get[_0x3182f5(0x232)](){return!0x0;}get[_0x3182f5(0x288)](){const _0xb764d2=_0x3182f5;return this[_0xb764d2(0x293)]+this[_0xb764d2(0x248)];}get[_0x3182f5(0x293)](){const _0xa5c1aa=_0x3182f5;return this[_0xa5c1aa(0x236)][_0xa5c1aa(0x193)]-this[_0xa5c1aa(0x248)];}get[_0x3182f5(0x21e)](){const _0x361363=_0x3182f5,_0x165451=this[_0x361363(0x236)][_0x361363(0x298)]();for(let _0x20a2e7=_0x165451[_0x361363(0x283)]-0x1;_0x20a2e7>=0x0;_0x20a2e7--){const _0x4e30cb=_0x165451[_0x20a2e7];if(!this[_0x361363(0x1be)][_0x361363(0x290)](_0x4e30cb))return _0x4e30cb[_0x361363(0x256)]+0x1-this[_0x361363(0x248)];}return 0x0;}constructor(_0x32d680){const _0x4507e0=_0x3182f5;if(super(_0x32d680),this[_0x4507e0(0x248)]=0x0,this[_0x4507e0(0x1c0)]=null,this[_0x4507e0(0x236)]=new _0x5dcdaf(),this[_0x4507e0(0x296)][_0x4507e0(0x25c)][_0x4507e0(0x1a3)](_0x4507e0(0x1f5),{}),this[_0x4507e0(0x1d2)]=this[_0x4507e0(0x296)][_0x4507e0(0x25c)][_0x4507e0(0x1bf)](_0x4507e0(0x21c)),!this[_0x4507e0(0x1d2)])throw new _0x3be5a2(_0x4507e0(0x1bd),this);const _0xfb8c26=_0x32d680[_0x4507e0(0x25c)][_0x4507e0(0x1bf)](_0x4507e0(0x26d))||_0x23bb04;this[_0x4507e0(0x24e)]=new RealTimeCollaborationClient[(_0x4507e0(0x21d))](_0xfb8c26,this[_0x4507e0(0x1d2)]),this[_0x4507e0(0x260)]=this[_0x4507e0(0x296)][_0x4507e0(0x22c)][_0x4507e0(0x1cf)],this[_0x4507e0(0x275)]=new _0x503de4(),this[_0x4507e0(0x245)]=[],this[_0x4507e0(0x1a1)]=new WeakSet(),this[_0x4507e0(0x1ab)]=new Set(),this[_0x4507e0(0x247)](_0x4507e0(0x242),!0x1),this[_0x4507e0(0x247)](_0x4507e0(0x23c),!0x1),this[_0x4507e0(0x1f1)]=null,this[_0x4507e0(0x201)]=!0x1,this[_0x4507e0(0x269)]=null,this[_0x4507e0(0x1b4)]=0x12c,this[_0x4507e0(0x1d1)]=this[_0x4507e0(0x1b4)],this[_0x4507e0(0x23d)]=null,this[_0x4507e0(0x1be)]=new WeakSet(),this[_0x4507e0(0x20d)]=new F(this[_0x4507e0(0x1be)]);}[_0x3182f5(0x27e)](){const _0x3b6f82=_0x3182f5,_0x5ebc62=this[_0x3b6f82(0x296)],_0x55e151=_0x5ebc62[_0x3b6f82(0x284)][_0x3b6f82(0x1bf)](_0x2a01f7),_0x2e8398=_0x5ebc62[_0x3b6f82(0x284)][_0x3b6f82(0x1bf)](_0x539b14);this[_0x3b6f82(0x289)](_0x55e151,_0x3b6f82(0x243),(_0x197d3f,_0x1a2c3d)=>{const _0x18d6ae=_0x3b6f82,_0x28574b=_0x1a2c3d[0x0];_0x28574b[_0x18d6ae(0x1dc)]&&(_0x197d3f[_0x18d6ae(0x25d)]=_0x55e151[_0x18d6ae(0x200)](_0x28574b[_0x18d6ae(0x1dc)]),_0x197d3f[_0x18d6ae(0x216)]()),null===_0x28574b[_0x18d6ae(0x1dc)]&&(_0x197d3f[_0x18d6ae(0x25d)]=null,_0x197d3f[_0x18d6ae(0x216)]());},{'priority':_0x3b6f82(0x217)}),this[_0x3b6f82(0x289)](_0x5ebc62[_0x3b6f82(0x22c)][_0x3b6f82(0x1cf)][_0x3b6f82(0x28d)],_0x3b6f82(0x1e9),(_0x49aff6,_0x486403)=>{const _0x5b44f1=_0x3b6f82;_0x486403[_0x5b44f1(0x1c8)]&&this[_0x5b44f1(0x20c)]();}),this[_0x3b6f82(0x289)](_0x5ebc62[_0x3b6f82(0x1b2)][_0x3b6f82(0x273)],_0x3b6f82(0x262),()=>{const _0x28a98e=_0x3b6f82;this[_0x28a98e(0x20c)]();}),this[_0x3b6f82(0x27f)](),_0x5ebc62[_0x3b6f82(0x22c)]['on'](_0x3b6f82(0x1e0),(_0x35e5c6,_0x5ea908)=>{const _0x3168ef=_0x3b6f82,_0x4dd7c6=_0x5ea908[0x0];_0x4dd7c6[_0x3168ef(0x1f4)]&&(this[_0x3168ef(0x258)](_0x4dd7c6),this[_0x3168ef(0x1ba)]()&&this[_0x3168ef(0x1c5)]());}),this[_0x3b6f82(0x1bc)](),this[_0x3b6f82(0x24f)](_0x3b6f82(0x1ae))['to'](_0x2e8398,_0x3b6f82(0x19e),this,_0x3b6f82(0x23c),(_0xdb5e04,_0x537a96)=>_0x3b6f82(0x239)===_0xdb5e04&&!_0x537a96),this['on'](_0x3b6f82(0x1b5),()=>{const _0x49280f=_0x3b6f82;this[_0x49280f(0x1ae)]?_0x5ebc62[_0x49280f(0x25b)](_0x49280f(0x274)):_0x5ebc62[_0x49280f(0x24a)](_0x49280f(0x274));}),this[_0x3b6f82(0x1ae)]?_0x5ebc62[_0x3b6f82(0x25b)](_0x3b6f82(0x274)):_0x5ebc62[_0x3b6f82(0x24a)](_0x3b6f82(0x274)),this[_0x3b6f82(0x247)](_0x3b6f82(0x1cb),!0x1);}async[_0x3182f5(0x254)](){const _0x1246ae=_0x3182f5,_0x4c2f8b=this[_0x1246ae(0x296)][_0x1246ae(0x284)][_0x1246ae(0x1bf)](_0x1a2418),_0x2522b8=this[_0x1246ae(0x296)][_0x1246ae(0x284)][_0x1246ae(0x1bf)](_0x539b14);try{this[_0x1246ae(0x242)]=!0x0,_0x4c2f8b[_0x1246ae(0x227)](this[_0x1246ae(0x1d2)]);const _0x17bd5d=await this[_0x1246ae(0x24e)][_0x1246ae(0x254)](_0x2522b8[_0x1246ae(0x234)],this[_0x1246ae(0x21e)]);await this[_0x1246ae(0x1ed)](_0x17bd5d)&&(this[_0x1246ae(0x242)]=!0x1,this[_0x1246ae(0x20f)]());const _0x2a0913=await this[_0x1246ae(0x24e)][_0x1246ae(0x1f0)]();_0x4c2f8b[_0x1246ae(0x1bb)](this[_0x1246ae(0x1d2)],_0x2a0913),this[_0x1246ae(0x1b1)](),this[_0x1246ae(0x1cb)]=!0x0;}catch(_0x4023cc){if(function(_0x4a3b1f){const _0x3e707c=_0x1246ae;return _0x3e707c(0x223)===_0x4a3b1f[_0x3e707c(0x1f3)];}(_0x4023cc)&&this[_0x1246ae(0x1c0)])await this[_0x1246ae(0x222)]();else{if(function(_0x259e01){const _0x2bcc8c=_0x1246ae;return _0x2bcc8c(0x20a)===_0x259e01[_0x2bcc8c(0x1f3)];}(_0x4023cc)){const _0x27df2c=_0x4e7cd5(this[_0x1246ae(0x296)][_0x1246ae(0x194)],_0x1246ae(0x1a9));this[_0x1246ae(0x22f)](_0x27df2c);}else{if(!(_0x4023cc instanceof V))throw _0x4023cc;this[_0x1246ae(0x22f)]();}}}}[_0x3182f5(0x27c)](){const _0x3c6a1a=_0x3182f5,_0x2299c2=this[_0x3c6a1a(0x296)][_0x3c6a1a(0x284)][_0x3c6a1a(0x1bf)](_0x539b14),_0x2f6f31=this[_0x3c6a1a(0x296)][_0x3c6a1a(0x284)][_0x3c6a1a(0x1bf)](_0x1a2418);this[_0x3c6a1a(0x296)][_0x3c6a1a(0x24a)](_0x3c6a1a(0x1d8)),_0x2f6f31[_0x3c6a1a(0x1e7)][_0x3c6a1a(0x290)](this[_0x3c6a1a(0x1d2)])&&_0x2f6f31[_0x3c6a1a(0x227)](this[_0x3c6a1a(0x1d2)]),_0x2299c2[_0x3c6a1a(0x264)](this),this[_0x3c6a1a(0x1ea)](),super[_0x3c6a1a(0x27c)]();}async[_0x3182f5(0x1ed)](_0x1e8977){const _0x2cafaf=_0x3182f5;if(this[_0x2cafaf(0x1c0)]!==_0x1e8977[_0x2cafaf(0x1c0)]&&this[_0x2cafaf(0x23d)]!==_0x1e8977[_0x2cafaf(0x202)])throw new V();return this[_0x2cafaf(0x1c0)]=_0x1e8977[_0x2cafaf(0x1c0)],this[_0x2cafaf(0x23b)]([],{..._0x1e8977,'wereChangesApplied':!0x1,'data':_0x1e8977[_0x2cafaf(0x238)]},_0x2cafaf(0x254));}async[_0x3182f5(0x20e)](_0x27ef8e,_0x4179a0=!0x1){const _0x186560=_0x3182f5,{connection:_0x10c0eb}=this[_0x186560(0x296)][_0x186560(0x284)][_0x186560(0x1bf)](_0x539b14);RealTimeCollaborationClient[_0x186560(0x21d)][_0x186560(0x1f0)](_0x10c0eb,this[_0x186560(0x1d2)])[_0x186560(0x27b)](_0x4591e4=>this[_0x186560(0x218)](_0x4591e4))[_0x186560(0x1f2)](_0x511a67=>{const _0x53e22d=_0x186560;this[_0x53e22d(0x1fd)](_0x53e22d(0x1de),_0x511a67);}),this[_0x186560(0x289)](this[_0x186560(0x24e)],_0x186560(0x1c4),this[_0x186560(0x1c3)][_0x186560(0x24f)](this)),this[_0x186560(0x289)](this[_0x186560(0x24e)],_0x186560(0x1d5),(_0x4d5a9a,_0x3f9baa)=>{const _0x55c038=_0x186560;this[_0x55c038(0x1fd)](_0x55c038(0x1ff),_0x3f9baa);}),this[_0x186560(0x289)](this[_0x186560(0x24e)],_0x186560(0x1d6),()=>{const _0x1153c7=_0x186560;this[_0x1153c7(0x1cb)]=!0x1;});const _0x344c35=this[_0x186560(0x20d)][_0x186560(0x299)](_0x27ef8e);this[_0x186560(0x242)]=!0x0;const _0x38d0e3=await this[_0x186560(0x24e)][_0x186560(0x210)](_0x10c0eb,this[_0x186560(0x249)](_0x27ef8e),_0x344c35);if(this[_0x186560(0x1c0)]=_0x38d0e3[_0x186560(0x1c0)],_0x4179a0){if(!_0x38d0e3[_0x186560(0x28b)])return void this[_0x186560(0x22f)]();this[_0x186560(0x242)]=!0x1,this[_0x186560(0x20f)](),this[_0x186560(0x236)][_0x186560(0x1ca)](),this[_0x186560(0x248)]=_0x38d0e3[_0x186560(0x1b9)],this[_0x186560(0x236)][_0x186560(0x193)]=this[_0x186560(0x248)],await this[_0x186560(0x23b)](_0x27ef8e,_0x38d0e3,_0x186560(0x24b));}else await this[_0x186560(0x1b0)](_0x38d0e3,_0x27ef8e);this[_0x186560(0x1b1)](),this[_0x186560(0x1cb)]=!0x0;}[_0x3182f5(0x1b1)](){const _0x56c61f=_0x3182f5,_0x44c3f3=this[_0x56c61f(0x296)][_0x56c61f(0x284)][_0x56c61f(0x1bf)](_0x1a2418),_0x4a9e65=this[_0x56c61f(0x296)][_0x56c61f(0x284)][_0x56c61f(0x1bf)](_0x40942f),_0x340670=_0x44c3f3[_0x56c61f(0x1e7)][_0x56c61f(0x1bf)](this[_0x56c61f(0x1d2)]);_0x340670&&_0x340670[_0x56c61f(0x283)]>0x1?_0x4a9e65[_0x56c61f(0x277)]():this[_0x56c61f(0x289)](_0x44c3f3,_0x56c61f(0x19d)+this[_0x56c61f(0x1d2)],()=>{const _0x3ece57=_0x56c61f;0x2===_0x44c3f3[_0x3ece57(0x1e7)][_0x3ece57(0x1bf)](this[_0x3ece57(0x1d2)])[_0x3ece57(0x283)]&&_0x4a9e65[_0x3ece57(0x277)]();});}async[_0x3182f5(0x1c3)](_0x555600,_0xe0c993,_0xd667f9,_0x178c34){const _0x4c4a3d=_0x3182f5;if(!this[_0x4c4a3d(0x242)]&&this[_0x4c4a3d(0x260)][_0x4c4a3d(0x193)]==_0xe0c993){const _0x5ccee5=this[_0x4c4a3d(0x23e)](_0xd667f9,_0x178c34);await this[_0x4c4a3d(0x23f)](_0x5ccee5),this[_0x4c4a3d(0x26f)](_0x5ccee5,_0xe0c993,_0xd667f9[_0x4c4a3d(0x202)])||this[_0x4c4a3d(0x1fd)](_0x4c4a3d(0x259));}}async[_0x3182f5(0x222)](){const _0x58de0c=_0x3182f5;this[_0x58de0c(0x1ea)]();const {locale:_0x139f41}=this[_0x58de0c(0x296)];let _0x1c37aa;try{_0x1c37aa=await this[_0x58de0c(0x24e)][_0x58de0c(0x268)]();}catch{const _0x2b699f=_0x4e7cd5(_0x139f41,_0x58de0c(0x280));return void this[_0x58de0c(0x22f)](_0x2b699f);}const _0x9a331=_0x1c37aa[_0x58de0c(0x229)]||_0x1c37aa[_0x58de0c(0x1ee)];if(this[_0x58de0c(0x23d)]!==_0x9a331[_0x58de0c(0x202)]){const _0x196b2c=_0x4e7cd5(_0x139f41,_0x58de0c(0x1d7));return void this[_0x58de0c(0x22f)](_0x196b2c);}await this[_0x58de0c(0x20e)](this[_0x58de0c(0x296)][_0x58de0c(0x22c)][_0x58de0c(0x1cf)][_0x58de0c(0x286)][_0x58de0c(0x298)](),!0x0);}[_0x3182f5(0x1ea)](){const _0x320835=_0x3182f5;this[_0x320835(0x24e)][_0x320835(0x292)](),this[_0x320835(0x245)]=[],clearTimeout(this[_0x320835(0x269)]),this[_0x320835(0x291)](this[_0x320835(0x24e)]);}[_0x3182f5(0x218)](_0x3b16c2){const _0x1a8080=_0x3182f5,_0x26f90=this[_0x1a8080(0x296)][_0x1a8080(0x284)][_0x1a8080(0x1bf)](_0x1a2418);this[_0x1a8080(0x289)](_0x26f90,_0x1a8080(0x19d)+this[_0x1a8080(0x1d2)],(_0x564ffd,{session:_0x26555d})=>{const _0x143832=_0x1a8080;if(_0x26555d['id']===_0x26f90[_0x143832(0x272)]){_0x564ffd[_0x143832(0x285)]();const _0x5929a3=this[_0x143832(0x296)][_0x143832(0x284)][_0x143832(0x290)](_0x143832(0x278))&&this[_0x143832(0x296)][_0x143832(0x284)][_0x143832(0x1bf)](_0x143832(0x278));let _0x272b55=_0x26555d[_0x143832(0x24d)];_0x5929a3&&_0x5929a3[_0x143832(0x214)]&&(_0x272b55=_0x272b55[_0x143832(0x1df)](_0x4ee6b8=>_0x143832(0x250)!==_0x4ee6b8)),this[_0x143832(0x296)][_0x143832(0x284)][_0x143832(0x1bf)](_0x143832(0x1b6))[_0x143832(0x1f8)](_0x272b55,this[_0x143832(0x1d2)]);}}),_0x26f90[_0x1a8080(0x1bb)](this[_0x1a8080(0x1d2)],_0x3b16c2);}[_0x3182f5(0x27f)](){const _0x146c7d=_0x3182f5,_0x2e3775=this[_0x146c7d(0x296)][_0x146c7d(0x238)][_0x146c7d(0x247)];this[_0x146c7d(0x296)][_0x146c7d(0x238)][_0x146c7d(0x247)]=(..._0x5c6a92)=>{const _0x54f6ac=_0x146c7d;if(!_0x5c6a92[_0x5c6a92[_0x54f6ac(0x283)]-0x1][_0x54f6ac(0x225)])throw new _0x3be5a2(_0x54f6ac(0x257),this);_0x2e3775[_0x54f6ac(0x26c)](this[_0x54f6ac(0x296)][_0x54f6ac(0x238)],_0x5c6a92);};}[_0x3182f5(0x1bc)](){const _0x276812=_0x3182f5;this[_0x276812(0x296)][_0x276812(0x238)]['on'](_0x276812(0x27e),(_0x401cbe,[_0x4a4b8f])=>{const _0x2c1bb9=_0x276812;if(this[_0x2c1bb9(0x260)][_0x2c1bb9(0x193)])throw new _0x3be5a2(_0x2c1bb9(0x211),this);_0x401cbe[_0x2c1bb9(0x216)](),this[_0x2c1bb9(0x205)]();const _0x5555bb=this[_0x2c1bb9(0x296)][_0x2c1bb9(0x25c)][_0x2c1bb9(0x1bf)](_0x2c1bb9(0x1ce)),_0x1e4f63=this[_0x2c1bb9(0x244)](_0x4a4b8f,_0x5555bb);0x0==_0x1e4f63[_0x2c1bb9(0x283)]&&_0x1e4f63[_0x2c1bb9(0x22a)](new _0x3acab2(0x0)),_0x401cbe[_0x2c1bb9(0x25d)]=this[_0x2c1bb9(0x20e)](_0x1e4f63)[_0x2c1bb9(0x27b)](()=>{const _0x38bb86=_0x2c1bb9;this[_0x38bb86(0x296)][_0x38bb86(0x284)][_0x38bb86(0x1bf)](_0x539b14)[_0x38bb86(0x1f7)](this),this[_0x38bb86(0x296)][_0x38bb86(0x238)][_0x38bb86(0x252)](_0x38bb86(0x1ad));})[_0x2c1bb9(0x1f2)](_0x103068=>this[_0x2c1bb9(0x1fd)](_0x2c1bb9(0x241),_0x103068))[_0x2c1bb9(0x1d9)](()=>this[_0x2c1bb9(0x20f)]());},{'priority':_0x276812(0x217)}),this[_0x276812(0x296)]['on'](_0x276812(0x24c),async(_0xc74787,[_0x2b9ac4,_0x278fc1])=>{const _0x54d303=_0x276812;_0xc74787[_0x54d303(0x216)]();const _0x4321e3=this[_0x54d303(0x296)][_0x54d303(0x22c)][_0x54d303(0x1cf)][_0x54d303(0x261)](_0x2b9ac4);if(!this[_0x54d303(0x1ab)][_0x54d303(0x290)](_0x2b9ac4)){const _0x37d52=_0x278fc1&&_0x278fc1[_0x54d303(0x238)]?_0x278fc1[_0x54d303(0x238)]:'',_0x225f9a=_0x278fc1&&_0x278fc1[_0x54d303(0x1d4)]?_0x278fc1[_0x54d303(0x1d4)]:{};await this[_0x54d303(0x1fc)](_0x2b9ac4,_0x37d52,_0x225f9a);}this[_0x54d303(0x296)][_0x54d303(0x22c)][_0x54d303(0x198)]({'isUndoable':!0x1},()=>{const _0x2f8ecd=_0x54d303;_0x4321e3[_0x2f8ecd(0x251)]=!0x0,this[_0x2f8ecd(0x296)][_0x2f8ecd(0x22c)][_0x2f8ecd(0x1cf)][_0x2f8ecd(0x1e4)][_0x2f8ecd(0x1db)](_0x4321e3);});},{'priority':_0x276812(0x217)});}async[_0x3182f5(0x23f)](_0x24b4e7){const _0x18228=_0x3182f5,_0x44b22d=this[_0x18228(0x296)][_0x18228(0x284)][_0x18228(0x1bf)](_0x2a01f7),{connection:_0x6932b5}=this[_0x18228(0x296)][_0x18228(0x284)][_0x18228(0x1bf)](_0x539b14),_0x5e6fe0=new Set();for(const _0x26db2d of _0x24b4e7){const _0x16f424=_0x26db2d[_0x18228(0x1dc)];_0x16f424&&!_0x44b22d[_0x18228(0x200)](_0x16f424)&&_0x5e6fe0[_0x18228(0x22d)](_0x16f424);}if(0x0===_0x5e6fe0[_0x18228(0x28e)])return;const _0x554fcf=await _0xb723dc[_0x18228(0x1cd)](_0x6932b5,Array[_0x18228(0x279)](_0x5e6fe0));for(const _0x59ca6c of _0x554fcf)_0x44b22d[_0x18228(0x200)](_0x59ca6c['id'])||_0x44b22d[_0x18228(0x287)](_0x59ca6c);}[_0x3182f5(0x244)](_0x19dd66,_0x3e8f29={}){const _0x4ae48b=_0x3182f5,_0x68b489=this[_0x4ae48b(0x296)][_0x4ae48b(0x22c)],_0x1e4c41=[];let _0x201cbd=0x0;const _0x19d9ac=_0x4ae48b(0x1c2)==typeof _0x19dd66?{'main':_0x19dd66}:_0x19dd66;for(const _0x3deb76 of Object[_0x4ae48b(0x1c6)](_0x19d9ac)){if(!this[_0x4ae48b(0x260)][_0x4ae48b(0x1e6)][_0x4ae48b(0x290)](_0x3deb76))throw new _0x3be5a2(_0x4ae48b(0x21b),this);const _0x4c257b=this[_0x4ae48b(0x296)][_0x4ae48b(0x238)][_0x4ae48b(0x21f)](_0x19d9ac[_0x3deb76]),_0x47e052=this[_0x4ae48b(0x260)][_0x4ae48b(0x261)](_0x3deb76),_0x3e0c2a=new _0x3aff7d(_0x68b489[_0x4ae48b(0x295)](_0x47e052,0x0),_0x4c257b,_0x201cbd++);_0x1e4c41[_0x4ae48b(0x22a)](_0x3e0c2a);for(const [_0x50cfee,_0x8602d8]of _0x4c257b[_0x4ae48b(0x1c7)]){const _0x2bd6cb=_0x68b489[_0x4ae48b(0x235)](_0x68b489[_0x4ae48b(0x27d)](_0x47e052,_0x8602d8[_0x4ae48b(0x25f)][_0x4ae48b(0x1aa)][_0x4ae48b(0x276)]()),_0x68b489[_0x4ae48b(0x27d)](_0x47e052,_0x8602d8[_0x4ae48b(0x1d3)][_0x4ae48b(0x1aa)][_0x4ae48b(0x276)]())),_0x1d976e=new _0x9ab32(_0x50cfee,null,_0x2bd6cb,_0x68b489[_0x4ae48b(0x1c7)],!0x0,_0x201cbd++);_0x1e4c41[_0x4ae48b(0x22a)](_0x1d976e);}}if(_0x3e8f29)for(const [_0x381f7f,_0x37db0c]of Object[_0x4ae48b(0x1eb)](_0x3e8f29)){const _0x2ce717=_0x68b489[_0x4ae48b(0x1cf)][_0x4ae48b(0x261)](_0x381f7f);if(!_0x2ce717)throw new _0x3be5a2(_0x4ae48b(0x1af),null);for(const [_0x10e8c1,_0x28fea5]of Object[_0x4ae48b(0x1eb)](_0x37db0c))if(null!==_0x28fea5){const _0x555b9d=new _0x3cdcd9(_0x2ce717,_0x10e8c1,null,_0x28fea5,_0x201cbd++);_0x1e4c41[_0x4ae48b(0x22a)](_0x555b9d);}}return _0x1e4c41;}async[_0x3182f5(0x1fc)](_0x41e2db,_0xf24f16,_0x59a46f){const _0x2ccd52=_0x3182f5;this[_0x2ccd52(0x244)]({[_0x41e2db]:_0xf24f16},{[_0x41e2db]:_0x59a46f})[_0x2ccd52(0x1a8)]((_0x1d8e94,_0x310db5)=>{const _0x29327e=_0x2ccd52;_0x1d8e94[_0x29327e(0x256)]=this[_0x29327e(0x260)][_0x29327e(0x193)]+_0x310db5,_0x1d8e94[_0x29327e(0x1e1)]=!0x0,this[_0x29327e(0x258)](_0x1d8e94);}),this[_0x2ccd52(0x1c5)](),await this[_0x2ccd52(0x22e)]();}async[_0x3182f5(0x1b0)](_0x2a5ea4,_0x307346){const _0x17a8e9=_0x3182f5;let _0x4db944;this[_0x17a8e9(0x248)]=_0x2a5ea4[_0x17a8e9(0x1b9)];const _0x5b5ff5=_0x2a5ea4[_0x17a8e9(0x28b)]&&!_0x2a5ea4[_0x17a8e9(0x263)],_0x16ee2d=_0x5b5ff5?0x0:_0x2a5ea4[_0x17a8e9(0x238)][_0x17a8e9(0x256)];if(_0x307346[_0x17a8e9(0x1a8)](_0x2b6dd4=>{const _0x1991c9=_0x17a8e9;_0x2b6dd4[_0x1991c9(0x1e1)]=!0x0,_0x2b6dd4[_0x1991c9(0x1e8)]=_0x2a5ea4[_0x1991c9(0x230)],_0x2b6dd4[_0x1991c9(0x1dc)]=null;}),_0x5b5ff5)_0x4db944=_0x307346,this[_0x17a8e9(0x209)](_0x4db944,_0x5b5ff5);else{if(_0x2a5ea4[_0x17a8e9(0x263)]){const _0x2896b9=this[_0x17a8e9(0x244)](_0x2a5ea4[_0x17a8e9(0x263)]);this[_0x17a8e9(0x260)][_0x17a8e9(0x286)][_0x17a8e9(0x193)]=-_0x2896b9[_0x17a8e9(0x283)],_0x2896b9[_0x17a8e9(0x1a8)](_0x2a3166=>{const _0x3c7687=_0x17a8e9;_0x2a3166[_0x3c7687(0x256)]-=_0x2896b9[_0x3c7687(0x283)],_0x2a3166[_0x3c7687(0x1e8)]=_0x2a5ea4[_0x3c7687(0x230)],_0x2a3166[_0x3c7687(0x1e1)]=!0x0,_0x2a3166[_0x3c7687(0x1dc)]=null;}),this[_0x17a8e9(0x209)](_0x2896b9,!0x0),this[_0x17a8e9(0x236)][_0x17a8e9(0x193)]=-_0x2896b9[_0x17a8e9(0x283)]+this[_0x17a8e9(0x248)],this[_0x17a8e9(0x266)](_0x2896b9);}this[_0x17a8e9(0x260)][_0x17a8e9(0x286)][_0x17a8e9(0x193)]=_0x16ee2d,_0x4db944=this[_0x17a8e9(0x23e)](_0x2a5ea4[_0x17a8e9(0x238)],_0x2a5ea4[_0x17a8e9(0x19b)]),await this[_0x17a8e9(0x23f)](_0x4db944),this[_0x17a8e9(0x209)](_0x4db944,_0x5b5ff5);}_0x2a5ea4[_0x17a8e9(0x202)]&&(this[_0x17a8e9(0x20d)][_0x17a8e9(0x297)](_0x4db944,_0x2a5ea4[_0x17a8e9(0x202)]),this[_0x17a8e9(0x23d)]=_0x2a5ea4[_0x17a8e9(0x202)]),this[_0x17a8e9(0x236)][_0x17a8e9(0x193)]=_0x16ee2d+this[_0x17a8e9(0x248)],this[_0x17a8e9(0x266)](_0x4db944),_0x307346[_0x17a8e9(0x1df)](_0x415222=>{const _0x2eb2a7=_0x17a8e9,_0x5bb3a0=this[_0x2eb2a7(0x1a5)](_0x415222);return _0x5bb3a0&&!this[_0x2eb2a7(0x1ab)][_0x2eb2a7(0x290)](_0x5bb3a0);})[_0x17a8e9(0x1a8)]((_0x186a3b,_0xea0f5)=>{const _0x12b485=_0x17a8e9;_0x186a3b[_0x12b485(0x256)]=this[_0x12b485(0x260)][_0x12b485(0x193)]+_0xea0f5,this[_0x12b485(0x258)](_0x186a3b);}),this[_0x17a8e9(0x1ba)]()?(this[_0x17a8e9(0x1d1)]=0x0,this[_0x17a8e9(0x1c5)](!0x0),await this[_0x17a8e9(0x22e)]()):(this[_0x17a8e9(0x242)]=!0x1,this[_0x17a8e9(0x20f)]());}[_0x3182f5(0x1fd)](_0x58bdfa,_0xead500){const _0x236db5=_0x3182f5,_0x3068f4=_0xead500&&_0xead500[_0x236db5(0x19a)];if(_0x3068f4&&_0x3068f4[_0x236db5(0x228)](_0x236db5(0x255)))throw _0xead500;const _0x1647e4=this[_0x236db5(0x296)][_0x236db5(0x284)][_0x236db5(0x1bf)](_0x539b14);throw this[_0x236db5(0x242)]=!0x0,_0x1647e4[_0x236db5(0x292)](),this[_0x236db5(0x296)][_0x236db5(0x24a)](_0x236db5(0x196)),new _0x3be5a2(_0x58bdfa,this[_0x236db5(0x296)],_0x3068f4?{'originalError':_0x3068f4}:void 0x0);}[_0x3182f5(0x258)](_0x467af3){const _0x5a7e71=_0x3182f5;this[_0x5a7e71(0x1a1)][_0x5a7e71(0x290)](_0x467af3)||(this[_0x5a7e71(0x1a1)][_0x5a7e71(0x22d)](_0x467af3),this[_0x5a7e71(0x245)][_0x5a7e71(0x22a)](_0x467af3),this[_0x5a7e71(0x1f1)]||_0x5a7e71(0x204)==_0x467af3[_0x5a7e71(0x1f6)]&&!_0x467af3[_0x5a7e71(0x1ec)]||this[_0x5a7e71(0x205)]());}[_0x3182f5(0x1c5)](_0x32bc48=!0x1){const _0x6210e=_0x3182f5;!_0x32bc48&&this[_0x6210e(0x242)]||(this[_0x6210e(0x242)]=!0x0,clearTimeout(this[_0x6210e(0x269)]),this[_0x6210e(0x269)]=setTimeout(()=>{const _0x1378bf=_0x6210e;this[_0x1378bf(0x19c)]()[_0x1378bf(0x27b)](_0x2eecdb=>{const _0x5527e9=_0x1378bf;_0x2eecdb&&(this[_0x5527e9(0x20f)](),this[_0x5527e9(0x242)]=!0x1);})[_0x1378bf(0x1f2)](_0x5ccd41=>{const _0x543b19=_0x1378bf;this[_0x543b19(0x20f)](),this[_0x543b19(0x242)]=!0x1,function(_0x14623f){const _0x41cfe0=_0x543b19;return _0x14623f[_0x41cfe0(0x19a)][_0x41cfe0(0x228)](_0x41cfe0(0x206))||_0x14623f[_0x41cfe0(0x19a)][_0x41cfe0(0x228)](_0x41cfe0(0x1ac))||_0x14623f[_0x41cfe0(0x19a)][_0x41cfe0(0x228)](_0x41cfe0(0x267));}(_0x5ccd41)||this[_0x543b19(0x1fd)](_0x5ccd41[_0x543b19(0x19a)],_0x5ccd41);});},this[_0x6210e(0x1d1)]));}[_0x3182f5(0x22e)](){return new Promise(_0x4cc80f=>{const _0x5bd90c=_0x5b2d;this['on'](_0x5bd90c(0x1fa),()=>{_0x4cc80f();});});}async[_0x3182f5(0x19c)](){const _0x4d25f3=_0x3182f5,_0x501a97=this[_0x4d25f3(0x296)][_0x4d25f3(0x284)][_0x4d25f3(0x1bf)](_0x40942f);if(this[_0x4d25f3(0x28a)]()&&(_0x501a97[_0x4d25f3(0x277)](),this[_0x4d25f3(0x201)]=!0x1),!this[_0x4d25f3(0x1ba)]())return!0x0;const _0x3cd61d=[...this[_0x4d25f3(0x245)]];for(const _0xd17e97 of _0x3cd61d)_0xd17e97[_0x4d25f3(0x207)]=this[_0x4d25f3(0x260)][_0x4d25f3(0x286)][_0x4d25f3(0x294)](_0xd17e97);const _0x19bd59=this[_0x4d25f3(0x20d)][_0x4d25f3(0x299)](_0x3cd61d),_0x111f95=H++,_0x2fa9bc=this[_0x4d25f3(0x249)](_0x3cd61d),_0x41a1a3=await this[_0x4d25f3(0x24e)][_0x4d25f3(0x219)](_0x2fa9bc,_0x2fa9bc[_0x4d25f3(0x256)],_0x19bd59);try{return await this[_0x4d25f3(0x23b)](_0x3cd61d,_0x41a1a3,_0x111f95);}catch(_0x409043){return this[_0x4d25f3(0x1fd)](_0x4d25f3(0x22b),_0x409043);}}async[_0x3182f5(0x23b)](_0x10b45d,_0x16095c,_0x22a6a0){const _0x572031=_0x3182f5;if(_0x572031(0x1d5)in _0x16095c)throw _0x16095c[_0x572031(0x1d5)];let _0x30f4a9=!0x1;if(_0x16095c[_0x572031(0x28b)]){_0x16095c[_0x572031(0x202)]&&(this[_0x572031(0x23d)]=_0x16095c[_0x572031(0x202)]),this[_0x572031(0x245)]=this[_0x572031(0x245)][_0x572031(0x1df)](_0x234b3f=>!_0x10b45d[_0x572031(0x26b)](_0x234b3f));for(const _0x7698fa of _0x10b45d)_0x7698fa[_0x572031(0x1e8)]=_0x572031(0x1a0)in _0x16095c&&_0x16095c[_0x572031(0x1a0)]||void 0x0;W(_0x10b45d,_0x16095c[_0x572031(0x193)]-_0x10b45d[_0x572031(0x283)]),this[_0x572031(0x266)](_0x10b45d);const _0x2b550d=_0x10b45d[_0x572031(0x1df)](_0x50c98e=>{const _0x4903cf=_0x572031;if(!_0x50c98e[_0x4903cf(0x1e1)])return!0x1;const _0x4a118b=this[_0x4903cf(0x1a5)](_0x50c98e);return _0x4a118b&&!this[_0x4903cf(0x1ab)][_0x4903cf(0x290)](_0x4a118b);});W(_0x2b550d,this[_0x572031(0x260)][_0x572031(0x193)]),this[_0x572031(0x209)](_0x2b550d),_0x30f4a9=!0x0,this[_0x572031(0x1d1)]=this[_0x572031(0x1b4)];}else{const _0x31316e=this[_0x572031(0x23e)](_0x16095c[_0x572031(0x238)],_0x16095c[_0x572031(0x19b)])[_0x572031(0x1df)](_0x563042=>_0x563042[_0x572031(0x256)]>=this[_0x572031(0x293)]);_0x31316e[_0x572031(0x1a8)](_0xd1a494=>this[_0x572031(0x1fb)](_0xd1a494)),this[_0x572031(0x245)]=this[_0x572031(0x245)][_0x572031(0x1df)](_0x55ed07=>!_0x55ed07[_0x572031(0x1e1)]||!this[_0x572031(0x1ab)][_0x572031(0x290)](this[_0x572031(0x1a5)](_0x55ed07))),this[_0x572031(0x245)][_0x572031(0x283)]&&W(this[_0x572031(0x245)],this[_0x572031(0x245)][0x0][_0x572031(0x256)]),await this[_0x572031(0x23f)](_0x31316e),_0x30f4a9=this[_0x572031(0x26f)](_0x31316e,_0x16095c[_0x572031(0x193)],_0x16095c[_0x572031(0x202)]),this[_0x572031(0x1d1)]=Math[_0x572031(0x1c1)](this[_0x572031(0x1d1)]/0x2);}return _0x30f4a9?!this[_0x572031(0x1ba)]()||(this[_0x572031(0x1c5)](!0x0),!0x1):this[_0x572031(0x1fd)](_0x572031(0x1b8));}[_0x3182f5(0x26f)](_0x14f7c4,_0x3de5ad,_0x1aab56){const _0x56cab6=_0x3182f5;try{const _0x2d2843={'document':this[_0x56cab6(0x260)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2aabd4,operationsB:_0xb4cc5e,originalOperations:_0x1a0ac6}=_0x3d47f4(_0x14f7c4,this[_0x56cab6(0x245)],_0x2d2843);W(_0x2aabd4,this[_0x56cab6(0x260)][_0x56cab6(0x193)]),W(_0xb4cc5e,_0x3de5ad);for(const _0x53e548 of _0x2aabd4){const _0x16fe10=_0x1a0ac6[_0x56cab6(0x1bf)](_0x53e548);_0x53e548[_0x56cab6(0x1dc)]=_0x16fe10?_0x16fe10[_0x56cab6(0x1dc)]:null;}_0x1aab56&&(this[_0x56cab6(0x20d)][_0x56cab6(0x297)](_0x14f7c4,_0x1aab56),this[_0x56cab6(0x23d)]=_0x1aab56),this[_0x56cab6(0x245)]=[..._0xb4cc5e],this[_0x56cab6(0x209)](_0x2aabd4),this[_0x56cab6(0x266)](_0x14f7c4);}catch(_0x42c424){return console[_0x56cab6(0x1d5)](_0x42c424),!0x1;}return!0x0;}[_0x3182f5(0x209)](_0x3666d8,_0x30c717=!0x1){const _0xdd4d51=_0x3182f5;this[_0xdd4d51(0x296)][_0xdd4d51(0x22c)][_0xdd4d51(0x198)]({'isUndoable':!0x1,'isLocal':!0x1},_0x450601=>{const _0x5869ea=_0xdd4d51;for(const _0x42d87d of _0x3666d8)this[_0x5869ea(0x1a1)][_0x5869ea(0x22d)](_0x42d87d),this[_0x5869ea(0x1fb)](_0x42d87d),_0x450601[_0x5869ea(0x1a4)][_0x5869ea(0x282)](_0x42d87d),this[_0x5869ea(0x296)][_0x5869ea(0x22c)][_0x5869ea(0x1e0)](_0x42d87d);});}[_0x3182f5(0x1fb)](_0xadb1c3){const _0xda9da6=_0x3182f5,_0xb1e023=this[_0xda9da6(0x1a5)](_0xadb1c3);_0xb1e023&&this[_0xda9da6(0x1ab)][_0xda9da6(0x22d)](_0xb1e023);}[_0x3182f5(0x1a5)](_0x16e467){const _0x4cf12e=_0x3182f5;let _0xa0d589,_0x298cc2;switch(_0x16e467[_0x4cf12e(0x1f6)]){case _0x4cf12e(0x215):_0xa0d589=_0x16e467[_0x4cf12e(0x1a2)][_0x4cf12e(0x270)];break;case _0x4cf12e(0x204):if(_0x298cc2=_0x16e467[_0x4cf12e(0x26e)],!_0x298cc2)return null;_0xa0d589=_0x298cc2[_0x4cf12e(0x270)];break;case _0x4cf12e(0x28c):_0xa0d589=_0x16e467[_0x4cf12e(0x270)];break;case _0x4cf12e(0x1a6):_0xa0d589=_0x16e467[_0x4cf12e(0x213)];break;case _0x4cf12e(0x1cc):_0xa0d589=_0x16e467[_0x4cf12e(0x1dd)][_0x4cf12e(0x270)];break;default:return null;}return _0xa0d589[_0x4cf12e(0x1f9)];}[_0x3182f5(0x266)](_0x1a45d6){const _0x5cba4f=_0x3182f5;_0x1a45d6[_0x5cba4f(0x1a8)](_0x28d9f3=>{const _0x2c8e04=_0x5cba4f,_0x2b5b3f=_0x28d9f3[_0x2c8e04(0x21a)]();_0x2b5b3f[_0x2c8e04(0x1dc)]=_0x28d9f3[_0x2c8e04(0x1dc)],_0x2b5b3f[_0x2c8e04(0x1e1)]=!!_0x28d9f3[_0x2c8e04(0x1e1)],_0x2b5b3f[_0x2c8e04(0x1e8)]=_0x28d9f3[_0x2c8e04(0x1e8)],_0x2b5b3f[_0x2c8e04(0x256)]+=this[_0x2c8e04(0x248)],_0x28d9f3[_0x2c8e04(0x240)]&&this[_0x2c8e04(0x1be)][_0x2c8e04(0x22d)](_0x2b5b3f),this[_0x2c8e04(0x236)][_0x2c8e04(0x282)](_0x2b5b3f);});}[_0x3182f5(0x22f)](_0x135e28){const _0x2833d4=_0x3182f5,_0x163ea9=this[_0x2833d4(0x296)][_0x2833d4(0x284)][_0x2833d4(0x1bf)](_0x2833d4(0x220)),_0xcf9ccb=this[_0x2833d4(0x296)][_0x2833d4(0x194)];_0x135e28||(_0x135e28=_0x4e7cd5(_0xcf9ccb,_0x2833d4(0x23a))),_0x163ea9[_0x2833d4(0x1fe)](_0x135e28,{'title':_0x4e7cd5(_0xcf9ccb,_0x2833d4(0x28f)),'namespace':_0x2833d4(0x199)}),this[_0x2833d4(0x23c)]=!0x0,clearTimeout(this[_0x2833d4(0x269)]),this[_0x2833d4(0x245)]=[],this[_0x2833d4(0x296)][_0x2833d4(0x284)][_0x2833d4(0x1bf)](_0x539b14)[_0x2833d4(0x292)]();}[_0x3182f5(0x205)](){const _0x236d1a=_0x3182f5;this[_0x236d1a(0x1f1)]||(this[_0x236d1a(0x1f1)]=this[_0x236d1a(0x296)][_0x236d1a(0x284)][_0x236d1a(0x1bf)](_0x46d007)[_0x236d1a(0x22d)](_0x4e7cd5(this[_0x236d1a(0x296)][_0x236d1a(0x194)],_0x236d1a(0x231))));}[_0x3182f5(0x20f)](){const _0x311e26=_0x3182f5;this[_0x311e26(0x1f1)]&&(this[_0x311e26(0x296)][_0x311e26(0x284)][_0x311e26(0x1bf)](_0x46d007)[_0x311e26(0x1d0)](this[_0x311e26(0x1f1)]),this[_0x311e26(0x1f1)]=null);}[_0x3182f5(0x249)](_0x1c0fac){const _0xacc555=_0x3182f5,_0xd71b48=_0x1c0fac[_0xacc555(0x246)](_0x321814=>_0x321814[_0xacc555(0x281)]());return this[_0xacc555(0x275)][_0xacc555(0x265)](_0xd71b48);}[_0x3182f5(0x23e)](_0x529f43,_0x2b40f3){const _0x167a18=_0x3182f5;return this[_0x167a18(0x275)][_0x167a18(0x203)](_0x529f43)[_0x167a18(0x246)]((_0x1dbda1,_0x54cceb)=>{const _0x44866b=_0x167a18,_0x306f38=_0x44866b(0x27e)==_0x2b40f3[_0x54cceb][_0x44866b(0x1f6)];if(_0x44866b(0x1b3)==_0x1dbda1[_0x44866b(0x19f)]){const _0x11e75d=_0x1dbda1[_0x44866b(0x1a2)][_0x44866b(0x270)];!this[_0x44866b(0x260)][_0x44866b(0x261)](_0x11e75d)&&(this[_0x44866b(0x260)][_0x44866b(0x1c9)](_0x44866b(0x1e2),_0x11e75d)[_0x44866b(0x25e)]=!0x1);}const _0x25f9a5=_0x2643fb[_0x44866b(0x25a)](_0x1dbda1,this[_0x44866b(0x260)]);return _0x25f9a5[_0x44866b(0x207)]=_0x1dbda1[_0x44866b(0x207)],_0x25f9a5[_0x44866b(0x1e1)]=_0x306f38,_0x25f9a5[_0x44866b(0x1dc)]=_0x306f38?null:_0x2b40f3[_0x54cceb][_0x44866b(0x208)],_0x25f9a5[_0x44866b(0x240)]=_0x44866b(0x221)===_0x2b40f3[_0x54cceb][_0x44866b(0x1f6)],_0x25f9a5[_0x44866b(0x1e8)]=_0x2b40f3[_0x54cceb][_0x44866b(0x1e8)],_0x25f9a5;});}[_0x3182f5(0x20c)](){const _0x56bf84=_0x3182f5;this[_0x56bf84(0x201)]=!0x0,this[_0x56bf84(0x28a)]()?this[_0x56bf84(0x1c5)]():this[_0x56bf84(0x201)]=!0x1;}[_0x3182f5(0x28a)](){const _0x4c8c39=_0x3182f5,_0x490458=this[_0x4c8c39(0x296)][_0x4c8c39(0x284)][_0x4c8c39(0x1bf)](_0x1a2418)[_0x4c8c39(0x1e7)][_0x4c8c39(0x1bf)](this[_0x4c8c39(0x1d2)]);return!this[_0x4c8c39(0x296)][_0x4c8c39(0x224)]&&!!_0x490458&&_0x490458[_0x4c8c39(0x283)]>0x1&&this[_0x4c8c39(0x201)];}[_0x3182f5(0x1ba)](){const _0x58a347=_0x3182f5;return this[_0x58a347(0x245)][_0x58a347(0x283)]>0x0||this[_0x58a347(0x28a)]();}}class V extends Error{}function W(_0x962fa4,_0x5caac2){const _0x1c109a=_0x3182f5;for(const _0x5dbeae of _0x962fa4)_0x5dbeae[_0x1c109a(0x256)]=_0x5caac2++;}class F{[_0x3182f5(0x197)];[_0x3182f5(0x237)];constructor(_0x473a2e){const _0xfc9c50=_0x3182f5;this[_0xfc9c50(0x197)]=_0x473a2e,this[_0xfc9c50(0x237)]=new WeakMap();}[_0x3182f5(0x299)](_0x404c4a){const _0x1f34ab=_0x3182f5;let _0x457248=_0x404c4a[_0x1f34ab(0x283)];for(;_0x457248--;){const _0x98eb18=_0x404c4a[_0x457248];if(!this[_0x1f34ab(0x197)][_0x1f34ab(0x290)](_0x98eb18)){if(!this[_0x1f34ab(0x237)][_0x1f34ab(0x290)](_0x98eb18)){const _0x585635=_0x1a3efb()[_0x1f34ab(0x276)](0x1,0x12);this[_0x1f34ab(0x237)][_0x1f34ab(0x247)](_0x98eb18,_0x585635);}return this[_0x1f34ab(0x237)][_0x1f34ab(0x1bf)](_0x98eb18);}}}[_0x3182f5(0x297)](_0x4ad709,_0x5806c7){const _0x3389bc=_0x3182f5;if(!_0x5806c7)return;let _0x19a11e=_0x4ad709[_0x3389bc(0x283)];for(;_0x19a11e--;){const _0x41b764=_0x4ad709[_0x19a11e];this[_0x3389bc(0x197)][_0x3389bc(0x290)](_0x41b764)||this[_0x3389bc(0x237)][_0x3389bc(0x247)](_0x41b764,_0x5806c7);}}}
|