@ckeditor/ckeditor5-real-time-collaboration 47.2.0-alpha.4 → 47.2.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.2.0-alpha.
|
|
3
|
+
"version": "47.2.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.2.0-alpha.
|
|
51
|
-
"@ckeditor/ckeditor5-comments": "47.2.0-alpha.
|
|
52
|
-
"@ckeditor/ckeditor5-core": "47.2.0-alpha.
|
|
53
|
-
"@ckeditor/ckeditor5-editor-multi-root": "47.2.0-alpha.
|
|
54
|
-
"@ckeditor/ckeditor5-engine": "47.2.0-alpha.
|
|
55
|
-
"@ckeditor/ckeditor5-operations-compressor": "47.2.0-alpha.
|
|
56
|
-
"@ckeditor/ckeditor5-revision-history": "47.2.0-alpha.
|
|
57
|
-
"@ckeditor/ckeditor5-theme-lark": "47.2.0-alpha.
|
|
58
|
-
"@ckeditor/ckeditor5-track-changes": "47.2.0-alpha.
|
|
59
|
-
"@ckeditor/ckeditor5-ui": "47.2.0-alpha.
|
|
60
|
-
"@ckeditor/ckeditor5-utils": "47.2.0-alpha.
|
|
61
|
-
"ckeditor5": "47.2.0-alpha.
|
|
62
|
-
"ckeditor5-collaboration": "47.2.0-alpha.
|
|
50
|
+
"@ckeditor/ckeditor5-cloud-services": "47.2.0-alpha.5",
|
|
51
|
+
"@ckeditor/ckeditor5-comments": "47.2.0-alpha.5",
|
|
52
|
+
"@ckeditor/ckeditor5-core": "47.2.0-alpha.5",
|
|
53
|
+
"@ckeditor/ckeditor5-editor-multi-root": "47.2.0-alpha.5",
|
|
54
|
+
"@ckeditor/ckeditor5-engine": "47.2.0-alpha.5",
|
|
55
|
+
"@ckeditor/ckeditor5-operations-compressor": "47.2.0-alpha.5",
|
|
56
|
+
"@ckeditor/ckeditor5-revision-history": "47.2.0-alpha.5",
|
|
57
|
+
"@ckeditor/ckeditor5-theme-lark": "47.2.0-alpha.5",
|
|
58
|
+
"@ckeditor/ckeditor5-track-changes": "47.2.0-alpha.5",
|
|
59
|
+
"@ckeditor/ckeditor5-ui": "47.2.0-alpha.5",
|
|
60
|
+
"@ckeditor/ckeditor5-utils": "47.2.0-alpha.5",
|
|
61
|
+
"ckeditor5": "47.2.0-alpha.5",
|
|
62
|
+
"ckeditor5-collaboration": "47.2.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
|
-
const _0x5e4bc5=_0x13ac;(function(_0xd7acef,_0x1586b8){const _0x3d083b=_0x13ac,_0x80dc7=_0xd7acef();while(!![]){try{const _0x11b816=-parseInt(_0x3d083b(0x1c8))/0x1*(-parseInt(_0x3d083b(0x1bf))/0x2)+-parseInt(_0x3d083b(0x1e1))/0x3*(parseInt(_0x3d083b(0x1b4))/0x4)+-parseInt(_0x3d083b(0x1e5))/0x5*(parseInt(_0x3d083b(0x205))/0x6)+-parseInt(_0x3d083b(0x1f4))/0x7+-parseInt(_0x3d083b(0x1f1))/0x8+parseInt(_0x3d083b(0x1dd))/0x9*(parseInt(_0x3d083b(0x1f2))/0xa)+parseInt(_0x3d083b(0x1e7))/0xb*(-parseInt(_0x3d083b(0x209))/0xc);if(_0x11b816===_0x1586b8)break;else _0x80dc7['push'](_0x80dc7['shift']());}catch(_0x24e330){_0x80dc7['push'](_0x80dc7['shift']());}}}(_0x63a7,0x8fa32));import{ContextPlugin as _0x1dfc8f}from'ckeditor5/src/core.js';import{CKEditorError as _0x5746ca,Collection as _0x70edc4}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x2e4599,BalloonPanelView as _0x1fc832,BodyCollection as _0x1e15e5}from'ckeditor5/src/ui.js';import{isElement as _0x4a3b93}from'es-toolkit/compat';import{Sessions as _0x26ae5b}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x3c6b3f}from'./view/presencelistview.js';import{PresenceCounterView as _0xdd4070}from'./view/presencecounterview.js';function _0x13ac(_0x234a4b,_0x24c12b){const _0x63a73c=_0x63a7();return _0x13ac=function(_0x13ac1a,_0x361231){_0x13ac1a=_0x13ac1a-0x1a8;let _0x58ab9e=_0x63a73c[_0x13ac1a];return _0x58ab9e;},_0x13ac(_0x234a4b,_0x24c12b);}import{PresenceDropdownListView as _0x2aa3d0}from'./view/presencedropdownlistview.js';function _0x63a7(){const _0x1c2d8d=['Tab','find','add','destroy','_bodyCollection','keystrokes','from','min','[tabindex]','render','_handleUserRemove','body','Enter','set','[contenteditable]','8oKgzfn','button','length','plugins','init','focus','isExpanded','querySelectorAll','bindTo','filter','define','470362PYZKhi','isMe','element','balloonPanelView','presencelist-collapseat-invalid-format','join','focusTracker','pluginName','presenceDropdownView','1fXGryX','bind','presencelist:hide','currentDisplayedUsers','context','get','inlineListView','sort','presencelist:show','presenceList.collapseAt','isOfficialPlugin','Esc','presencelist-missing-container','unpin','number','offsetWidth','isFocusable','appendChild','_createView','usersCount','PresenceListUI','12105OyCHtr','counterView','listenTo','view','122874LKoYuq','Shift+Tab','map','_handleUserAdd','10jaBLjy','detachFromDom','9460cFtwZS','checkIfScrollable','remove','hasTooltip','activeElement','textarea',':not([disabled]):not([tabindex=\x22-1\x22])','pin','select','attachToDom','72648ehcyWe','8290QQNftz','execute','837963nLIayI','items','config','presenceList.container','displayMe','offsetHeight','isCollapsed','content','input','isPremiumPlugin','presenceList.displayMe','showDropdown','requires','presenceList','_allConnectedUsers','using','ck\x20ck-presence-list__balloon','249906lJFxdQ','indexOf','locale','class','6528VUtijb','change:isFocused','isRendered','allConnectedUsers','tabIndex','reverse','onClick','isVisible','hideDropdown'];_0x63a7=function(){return _0x1c2d8d;};return _0x63a7();}import{PresenceDropdownListItemView as _0x55c8ea}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0xa0151c}from'./view/presenceinlinelistitemview.js';const x={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x1dfc8f{[_0x5e4bc5(0x1cb)];[_0x5e4bc5(0x1c2)];[_0x5e4bc5(0x1e0)];[_0x5e4bc5(0x1c7)];[_0x5e4bc5(0x1a9)]=null;static get[_0x5e4bc5(0x1c6)](){const _0x554ec5=_0x5e4bc5;return _0x554ec5(0x1dc);}static get[_0x5e4bc5(0x1d2)](){return!0x0;}static get[_0x5e4bc5(0x1fd)](){return!0x0;}constructor(_0xc638f6){const _0x1ecdfa=_0x5e4bc5;super(_0xc638f6),this[_0x1ecdfa(0x1cc)][_0x1ecdfa(0x1f6)][_0x1ecdfa(0x1be)](_0x1ecdfa(0x201),x);const _0x221f5c=_0xc638f6[_0x1ecdfa(0x1f6)][_0x1ecdfa(0x1cd)](_0x1ecdfa(0x1d1));if(_0x1ecdfa(0x1d6)!=typeof _0x221f5c)throw new _0x5746ca(_0x1ecdfa(0x1c3),this);if(_0x221f5c<0x1)throw new _0x5746ca(_0x1ecdfa(0x1c3),this);this[_0x1ecdfa(0x202)]=this[_0x1ecdfa(0x1cc)][_0x1ecdfa(0x1b7)][_0x1ecdfa(0x1cd)](_0x26ae5b)[_0x1ecdfa(0x20c)],this[_0x1ecdfa(0x1b2)](_0x1ecdfa(0x1db),0x0),this[_0x1ecdfa(0x1cb)]=new _0x70edc4(),this[_0x1ecdfa(0x1c2)]=new _0x1fc832(),this[_0x1ecdfa(0x1c2)][_0x1ecdfa(0x208)]=_0x1ecdfa(0x204),this[_0x1ecdfa(0x1e0)]=this[_0x1ecdfa(0x1da)](),this[_0x1ecdfa(0x1c7)]=void 0x0;}static get[_0x5e4bc5(0x200)](){return[_0x26ae5b];}[_0x5e4bc5(0x1b8)](){const _0x30207a=_0x5e4bc5;for(const _0x3cff87 of this[_0x30207a(0x202)])this[_0x30207a(0x1e4)](_0x3cff87);this[_0x30207a(0x1df)](this[_0x30207a(0x202)],_0x30207a(0x214),(_0xbc30bb,_0x4e6979)=>{const _0x55320b=_0x30207a;this[_0x55320b(0x1e4)](_0x4e6979);}),this[_0x30207a(0x1df)](this[_0x30207a(0x202)],_0x30207a(0x1e9),(_0x388967,_0x120032)=>{const _0x1ec2d9=_0x30207a;this[_0x1ec2d9(0x1af)](_0x120032);});}[_0x5e4bc5(0x1da)](){const _0x4bcd2c=_0x5e4bc5,_0x256b17=this[_0x4bcd2c(0x1cc)],_0xb7e1cc=new _0x3c6b3f(this[_0x4bcd2c(0x1cc)][_0x4bcd2c(0x207)],this[_0x4bcd2c(0x1cc)][_0x4bcd2c(0x1f6)][_0x4bcd2c(0x1cd)](_0x4bcd2c(0x1d1))),_0x4b635c=this[_0x4bcd2c(0x1c2)];if(!_0x4a3b93(_0x256b17[_0x4bcd2c(0x1f6)][_0x4bcd2c(0x1cd)](_0x4bcd2c(0x1f7))))throw new _0x5746ca(_0x4bcd2c(0x1d4),this);return _0xb7e1cc[_0x4bcd2c(0x1de)][_0x4bcd2c(0x1c9)](_0x4bcd2c(0x1db))['to'](this),_0xb7e1cc[_0x4bcd2c(0x1c9)](_0x4bcd2c(0x1fa))['to'](this,_0x4bcd2c(0x1db),_0x117c33=>{const _0x49a606=_0x4bcd2c,{collapseAt:_0x1f6af1}=_0x256b17[_0x49a606(0x1f6)][_0x49a606(0x1cd)](_0x49a606(0x201)),_0x2cd5ed=_0x117c33>=_0x1f6af1;if(_0x2cd5ed&&!_0xb7e1cc[_0x49a606(0x1ce)][_0x49a606(0x1f5)][_0x49a606(0x213)](_0x135003=>_0x135003 instanceof _0xdd4070)){const _0x303bea=this[_0x49a606(0x1cc)][_0x49a606(0x1f6)][_0x49a606(0x1cd)](_0x49a606(0x1d1))-0x1;this[_0x49a606(0x1cb)][_0x49a606(0x1b6)]==_0x303bea&&this[_0x49a606(0x1cb)][_0x49a606(0x1b6)]>0x1&&this[_0x49a606(0x1cb)][_0x49a606(0x1e9)](this[_0x49a606(0x1cb)][_0x49a606(0x1b6)]-0x1),_0xb7e1cc[_0x49a606(0x1ce)][_0x49a606(0x1f5)][_0x49a606(0x214)](_0xb7e1cc[_0x49a606(0x1de)]);}return _0x2cd5ed||this[_0x49a606(0x211)](),_0x2cd5ed;}),_0xb7e1cc[_0x4bcd2c(0x1ce)][_0x4bcd2c(0x1f5)][_0x4bcd2c(0x1bc)](this[_0x4bcd2c(0x1cb)])[_0x4bcd2c(0x203)](_0x2a9842=>{const _0x9060b4=_0x4bcd2c,_0x469d70=_0x256b17[_0x9060b4(0x1f6)][_0x9060b4(0x1cd)](_0x9060b4(0x201)),_0x44a0ad=new _0xa0151c(_0x256b17[_0x9060b4(0x207)],_0x2a9842,!!_0x469d70[_0x9060b4(0x20f)]);return _0x44a0ad[_0x9060b4(0x1c9)](_0x9060b4(0x1ea))['to'](_0xb7e1cc,_0x9060b4(0x1fa),_0x95a6fe=>!_0x95a6fe),_0x44a0ad[_0x9060b4(0x1c9)](_0x9060b4(0x1d8))['to'](_0xb7e1cc,_0x9060b4(0x1fa),_0x566e0c=>!_0x566e0c),_0x469d70[_0x9060b4(0x20f)]&&this[_0x9060b4(0x1df)](_0x44a0ad,_0x9060b4(0x1f3),()=>{const _0x466640=_0x9060b4;this[_0x466640(0x1e0)][_0x466640(0x1fa)]||_0x469d70[_0x466640(0x20f)](_0x2a9842,_0x44a0ad[_0x466640(0x1c1)]);}),_0x44a0ad;}),this[_0x4bcd2c(0x1df)](_0xb7e1cc[_0x4bcd2c(0x1ce)],_0x4bcd2c(0x1d0),()=>{const _0x160c49=_0x4bcd2c;this[_0x160c49(0x1e0)][_0x160c49(0x1fa)]&&this[_0x160c49(0x1ff)]();}),this[_0x4bcd2c(0x1df)](_0xb7e1cc[_0x4bcd2c(0x1ce)],_0x4bcd2c(0x1ca),()=>{const _0x2fcb76=_0x4bcd2c;this[_0x2fcb76(0x1c7)]&&this[_0x2fcb76(0x211)]();}),_0xb7e1cc[_0x4bcd2c(0x1ce)][_0x4bcd2c(0x1aa)][_0x4bcd2c(0x1b2)](_0x4bcd2c(0x1b1),(_0x19d578,_0x21e5ee)=>{const _0x1e09f3=_0x4bcd2c;this[_0x1e09f3(0x1e0)][_0x1e09f3(0x1fa)]&&(this[_0x1e09f3(0x1ff)](),_0x21e5ee());}),_0xb7e1cc[_0x4bcd2c(0x1ae)](),_0x4b635c[_0x4bcd2c(0x1ae)](),_0x2e4599({'emitter':_0xb7e1cc,'activator':()=>_0x4b635c[_0x4bcd2c(0x210)],'contextElements':[_0x4b635c[_0x4bcd2c(0x1c1)],_0xb7e1cc[_0x4bcd2c(0x1ce)][_0x4bcd2c(0x1c1)]],'callback':()=>this[_0x4bcd2c(0x211)]()}),_0x256b17[_0x4bcd2c(0x1f6)][_0x4bcd2c(0x1cd)](_0x4bcd2c(0x1f7))[_0x4bcd2c(0x1d9)](_0xb7e1cc[_0x4bcd2c(0x1c1)]),this[_0x4bcd2c(0x1a9)]=new _0x1e15e5(this[_0x4bcd2c(0x1cc)][_0x4bcd2c(0x207)]),this[_0x4bcd2c(0x1a9)][_0x4bcd2c(0x1f0)](),this[_0x4bcd2c(0x1a9)][_0x4bcd2c(0x214)](this[_0x4bcd2c(0x1c2)]),_0xb7e1cc;}[_0x5e4bc5(0x1e4)](_0x5a1f8f){const _0x4a143c=_0x5e4bc5;if(!this[_0x4a143c(0x1cc)][_0x4a143c(0x1f6)][_0x4a143c(0x1cd)](_0x4a143c(0x1fe))&&_0x5a1f8f[_0x4a143c(0x1c0)])return;const _0xf3b8a=this[_0x4a143c(0x1cc)][_0x4a143c(0x1f6)][_0x4a143c(0x1cd)](_0x4a143c(0x1d1))-0x1;for(this[_0x4a143c(0x1db)]++;this[_0x4a143c(0x1cb)][_0x4a143c(0x1b6)]>=_0xf3b8a-(this[_0x4a143c(0x1e0)][_0x4a143c(0x1fa)]?0x1:0x0)&&this[_0x4a143c(0x1cb)][_0x4a143c(0x1b6)]>0x1;)this[_0x4a143c(0x1cb)][_0x4a143c(0x1e9)](0x1);const _0x213efc=_0x5a1f8f[_0x4a143c(0x1c0)]?0x0:this[_0x4a143c(0x1cb)][_0x4a143c(0x1b6)];this[_0x4a143c(0x1cb)][_0x4a143c(0x214)](_0x5a1f8f,_0x213efc);}[_0x5e4bc5(0x1af)](_0x13172b){const _0x2f2431=_0x5e4bc5;this[_0x2f2431(0x1db)]--;const {collapseAt:_0x2728a6}=this[_0x2f2431(0x1cc)][_0x2f2431(0x1f6)][_0x2f2431(0x1cd)](_0x2f2431(0x201)),_0x3c7643=this[_0x2f2431(0x1db)]>=_0x2728a6;if(this[_0x2f2431(0x1cb)][_0x2f2431(0x1cd)](_0x13172b['id']))this[_0x2f2431(0x1cb)][_0x2f2431(0x1e9)](_0x13172b['id']);else{if(_0x3c7643&&this[_0x2f2431(0x1cb)][_0x2f2431(0x1b6)]+0x1===_0x2728a6-0x1)return;}if(this[_0x2f2431(0x1cb)][_0x2f2431(0x1b6)]+(_0x3c7643?0x1:0x0)<this[_0x2f2431(0x1db)]){for(const _0x399e75 of Array[_0x2f2431(0x1ab)](this[_0x2f2431(0x202)])[_0x2f2431(0x20e)]())if(!this[_0x2f2431(0x1cb)][_0x2f2431(0x1cd)](_0x399e75['id'])&&(this[_0x2f2431(0x1cb)][_0x2f2431(0x214)](_0x399e75,Math[_0x2f2431(0x1ac)](this[_0x2f2431(0x1cb)][_0x2f2431(0x1b6)]-(_0x3c7643?0x1:0x0),0x1)),this[_0x2f2431(0x1cb)][_0x2f2431(0x1b6)]+(_0x3c7643?0x1:0x0)===_0x2728a6-0x1))return;}}[_0x5e4bc5(0x1ff)](){const _0x1d9be0=_0x5e4bc5;if(this[_0x1d9be0(0x1c7)])return;const _0x412a87=this[_0x1d9be0(0x1cc)][_0x1d9be0(0x1f6)][_0x1d9be0(0x1cd)](_0x1d9be0(0x201));this[_0x1d9be0(0x1c7)]=new _0x2aa3d0(this[_0x1d9be0(0x1cc)][_0x1d9be0(0x207)],!!_0x412a87[_0x1d9be0(0x20f)]),this[_0x1d9be0(0x1e0)][_0x1d9be0(0x1ce)][_0x1d9be0(0x1ba)]=!0x0,this[_0x1d9be0(0x1df)](this[_0x1d9be0(0x1c7)],_0x1d9be0(0x1ca),()=>{const _0x40fcea=_0x1d9be0;this[_0x40fcea(0x1c7)]&&this[_0x40fcea(0x211)]();});const {listWrapperView:_0x2ea82d}=this[_0x1d9be0(0x1c7)];_0x2ea82d[_0x1d9be0(0x1f5)][_0x1d9be0(0x1bc)](this[_0x1d9be0(0x202)])[_0x1d9be0(0x203)](_0x36e27c=>{const _0x4f7349=_0x1d9be0;if(!_0x412a87[_0x4f7349(0x1f8)]&&_0x36e27c[_0x4f7349(0x1c0)])return null;const _0x3abab9=new _0x55c8ea(this[_0x4f7349(0x1cc)][_0x4f7349(0x207)],_0x36e27c,!!_0x412a87[_0x4f7349(0x20f)]);return _0x412a87[_0x4f7349(0x20f)]&&this[_0x4f7349(0x1df)](_0x3abab9,_0x4f7349(0x1f3),()=>{const _0x3d920c=_0x4f7349;_0x412a87[_0x3d920c(0x20f)](_0x36e27c,_0x3abab9[_0x3d920c(0x1c1)]);}),_0x3abab9;}),this[_0x1d9be0(0x1c2)][_0x1d9be0(0x1fb)][_0x1d9be0(0x214)](this[_0x1d9be0(0x1c7)]),this[_0x1d9be0(0x1c2)][_0x1d9be0(0x1ee)]({'target':this[_0x1d9be0(0x1e0)][_0x1d9be0(0x1ce)][_0x1d9be0(0x1c1)]}),_0x2ea82d[_0x1d9be0(0x1b9)](),_0x2ea82d[_0x1d9be0(0x1e8)]();const _0x4b00f5=(_0x5e07dd,_0x4af14f)=>{const _0x25b5c3=_0x1d9be0;this[_0x25b5c3(0x211)](),this[_0x25b5c3(0x1e0)][_0x25b5c3(0x1ce)][_0x25b5c3(0x1b9)](),_0x4af14f();};_0x2ea82d[_0x1d9be0(0x1aa)][_0x1d9be0(0x1b2)](_0x1d9be0(0x1d3),_0x4b00f5),_0x2ea82d[_0x1d9be0(0x1aa)][_0x1d9be0(0x1b2)](_0x1d9be0(0x1e2),_0x4b00f5),_0x2ea82d[_0x1d9be0(0x1aa)][_0x1d9be0(0x1b2)](_0x1d9be0(0x212),(_0x4bab14,_0x470dff)=>{const _0xd9fb9c=_0x1d9be0;!function(_0x1dfd2f){const _0x593018=_0x13ac,_0x35fdb1=['a',_0x593018(0x1b5),_0x593018(0x1fc),_0x593018(0x1ef),_0x593018(0x1ec),_0x593018(0x1ad),_0x593018(0x1b3)][_0x593018(0x1e3)](_0x17db06=>_0x17db06+_0x593018(0x1ed))[_0x593018(0x1c4)](','),_0x11e80e=[...document[_0x593018(0x1b0)][_0x593018(0x1bb)](_0x35fdb1)][_0x593018(0x1bd)](_0x263f9a=>_0x263f9a===document[_0x593018(0x1eb)]||_0x263f9a[_0x593018(0x1d7)]+_0x263f9a[_0x593018(0x1f9)]>0x0)[_0x593018(0x1cf)]((_0x2b0245,_0xf81ab3)=>(_0x2b0245[_0x593018(0x20d)]||0x0)-(_0xf81ab3[_0x593018(0x20d)]||0x0)),_0x1dfb6b=_0x11e80e[_0x593018(0x206)](_0x1dfd2f),_0x4010f7=_0x11e80e[(_0x1dfb6b+0x1)%_0x11e80e[_0x593018(0x1b6)]];_0x4010f7&&_0x4010f7[_0x593018(0x1b9)]();}(this[_0xd9fb9c(0x1e0)][_0xd9fb9c(0x1c1)]),this[_0xd9fb9c(0x211)](),_0x470dff();}),_0x2ea82d[_0x1d9be0(0x1c5)][_0x1d9be0(0x214)](this[_0x1d9be0(0x1e0)][_0x1d9be0(0x1c1)]),_0x2ea82d[_0x1d9be0(0x1c5)]['on'](_0x1d9be0(0x20a),(_0x5db58c,_0x5b0cca,_0xfb7832)=>{const _0x360c0d=_0x1d9be0;_0xfb7832||this[_0x360c0d(0x211)]();});}[_0x5e4bc5(0x211)](){const _0x36165b=_0x5e4bc5;this[_0x36165b(0x1c7)]&&(this[_0x36165b(0x1e0)][_0x36165b(0x1ce)][_0x36165b(0x1ba)]=!0x1,this[_0x36165b(0x1c2)][_0x36165b(0x1d5)](),this[_0x36165b(0x1c2)][_0x36165b(0x1fb)][_0x36165b(0x1e9)](this[_0x36165b(0x1c7)]),this[_0x36165b(0x1c7)][_0x36165b(0x1a8)](),this[_0x36165b(0x1c7)]=void 0x0);}[_0x5e4bc5(0x1a8)](){const _0x44e1a0=_0x5e4bc5;super[_0x44e1a0(0x1a8)](),this[_0x44e1a0(0x1e0)]&&this[_0x44e1a0(0x1e0)][_0x44e1a0(0x20b)]&&this[_0x44e1a0(0x1e0)][_0x44e1a0(0x1a8)](),this[_0x44e1a0(0x1a9)]&&(this[_0x44e1a0(0x1a9)][_0x44e1a0(0x1e6)](),this[_0x44e1a0(0x1a9)][_0x44e1a0(0x1a8)](),this[_0x44e1a0(0x1a9)]=null);}}
|
|
23
|
+
const _0x30c104=_0x5ce9;(function(_0x602d2b,_0x3352ec){const _0x1aedaf=_0x5ce9,_0x4cb6d8=_0x602d2b();while(!![]){try{const _0x426862=parseInt(_0x1aedaf(0x16c))/0x1*(parseInt(_0x1aedaf(0x16d))/0x2)+parseInt(_0x1aedaf(0x193))/0x3+-parseInt(_0x1aedaf(0x1a5))/0x4*(-parseInt(_0x1aedaf(0x160))/0x5)+-parseInt(_0x1aedaf(0x19d))/0x6+-parseInt(_0x1aedaf(0x185))/0x7*(parseInt(_0x1aedaf(0x16e))/0x8)+parseInt(_0x1aedaf(0x17c))/0x9+-parseInt(_0x1aedaf(0x1a4))/0xa;if(_0x426862===_0x3352ec)break;else _0x4cb6d8['push'](_0x4cb6d8['shift']());}catch(_0x4cd64b){_0x4cb6d8['push'](_0x4cb6d8['shift']());}}}(_0x4b86,0x72358));import{ContextPlugin as _0x2c8e15}from'ckeditor5/src/core.js';import{CKEditorError as _0x5c65bd,Collection as _0xe0a915}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x26a1b1,BalloonPanelView as _0x1547f9,BodyCollection as _0x2b81db}from'ckeditor5/src/ui.js';import{isElement as _0x4b05db}from'es-toolkit/compat';import{Sessions as _0x179e54}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x25425}from'./view/presencelistview.js';import{PresenceCounterView as _0xa2ea4f}from'./view/presencecounterview.js';function _0x5ce9(_0x113b4b,_0xed6b54){const _0x4b8608=_0x4b86();return _0x5ce9=function(_0x5ce9eb,_0x5005be){_0x5ce9eb=_0x5ce9eb-0x148;let _0x337123=_0x4b8608[_0x5ce9eb];return _0x337123;},_0x5ce9(_0x113b4b,_0xed6b54);}import{PresenceDropdownListView as _0x419e48}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x1624db}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x5f26aa}from'./view/presenceinlinelistitemview.js';const D={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x2c8e15{[_0x30c104(0x157)];[_0x30c104(0x151)];[_0x30c104(0x181)];[_0x30c104(0x148)];[_0x30c104(0x14f)]=null;static get[_0x30c104(0x1a2)](){const _0x17f045=_0x30c104;return _0x17f045(0x189);}static get[_0x30c104(0x14e)](){return!0x0;}static get[_0x30c104(0x1a6)](){return!0x0;}constructor(_0x2a54d1){const _0x502f9e=_0x30c104;super(_0x2a54d1),this[_0x502f9e(0x18e)][_0x502f9e(0x17b)][_0x502f9e(0x18d)](_0x502f9e(0x1ab),D);const _0xfb5bac=_0x2a54d1[_0x502f9e(0x17b)][_0x502f9e(0x1a8)](_0x502f9e(0x175));if(_0x502f9e(0x167)!=typeof _0xfb5bac)throw new _0x5c65bd(_0x502f9e(0x159),this);if(_0xfb5bac<0x1)throw new _0x5c65bd(_0x502f9e(0x159),this);this[_0x502f9e(0x1a0)]=this[_0x502f9e(0x18e)][_0x502f9e(0x198)][_0x502f9e(0x1a8)](_0x179e54)[_0x502f9e(0x19b)],this[_0x502f9e(0x161)](_0x502f9e(0x17a),0x0),this[_0x502f9e(0x157)]=new _0xe0a915(),this[_0x502f9e(0x151)]=new _0x1547f9(),this[_0x502f9e(0x151)][_0x502f9e(0x15a)]=_0x502f9e(0x190),this[_0x502f9e(0x181)]=this[_0x502f9e(0x162)](),this[_0x502f9e(0x148)]=void 0x0;}static get[_0x30c104(0x149)](){return[_0x179e54];}[_0x30c104(0x14d)](){const _0x215674=_0x30c104;for(const _0x426cee of this[_0x215674(0x1a0)])this[_0x215674(0x194)](_0x426cee);this[_0x215674(0x15c)](this[_0x215674(0x1a0)],_0x215674(0x177),(_0x305352,_0x5e2f2c)=>{const _0x347b89=_0x215674;this[_0x347b89(0x194)](_0x5e2f2c);}),this[_0x215674(0x15c)](this[_0x215674(0x1a0)],_0x215674(0x182),(_0x3cb3e4,_0x2df635)=>{const _0x2c7dbf=_0x215674;this[_0x2c7dbf(0x14c)](_0x2df635);});}[_0x30c104(0x162)](){const _0x506583=_0x30c104,_0x47c16d=this[_0x506583(0x18e)],_0x26763e=new _0x25425(this[_0x506583(0x18e)][_0x506583(0x168)],this[_0x506583(0x18e)][_0x506583(0x17b)][_0x506583(0x1a8)](_0x506583(0x175))),_0xd5a33=this[_0x506583(0x151)];if(!_0x4b05db(_0x47c16d[_0x506583(0x17b)][_0x506583(0x1a8)](_0x506583(0x165))))throw new _0x5c65bd(_0x506583(0x184),this);return _0x26763e[_0x506583(0x171)][_0x506583(0x1a3)](_0x506583(0x17a))['to'](this),_0x26763e[_0x506583(0x1a3)](_0x506583(0x1ae))['to'](this,_0x506583(0x17a),_0x3a06e5=>{const _0x482803=_0x506583,{collapseAt:_0x40823e}=_0x47c16d[_0x482803(0x17b)][_0x482803(0x1a8)](_0x482803(0x1ab)),_0x4ae777=_0x3a06e5>=_0x40823e;if(_0x4ae777&&!_0x26763e[_0x482803(0x152)][_0x482803(0x156)][_0x482803(0x14b)](_0x2dc7b1=>_0x2dc7b1 instanceof _0xa2ea4f)){const _0xea84ad=this[_0x482803(0x18e)][_0x482803(0x17b)][_0x482803(0x1a8)](_0x482803(0x175))-0x1;this[_0x482803(0x157)][_0x482803(0x163)]==_0xea84ad&&this[_0x482803(0x157)][_0x482803(0x163)]>0x1&&this[_0x482803(0x157)][_0x482803(0x182)](this[_0x482803(0x157)][_0x482803(0x163)]-0x1),_0x26763e[_0x482803(0x152)][_0x482803(0x156)][_0x482803(0x177)](_0x26763e[_0x482803(0x171)]);}return _0x4ae777||this[_0x482803(0x196)](),_0x4ae777;}),_0x26763e[_0x506583(0x152)][_0x506583(0x156)][_0x506583(0x176)](this[_0x506583(0x157)])[_0x506583(0x178)](_0x4529f0=>{const _0x2fa5ad=_0x506583,_0x264de1=_0x47c16d[_0x2fa5ad(0x17b)][_0x2fa5ad(0x1a8)](_0x2fa5ad(0x1ab)),_0x7f175e=new _0x5f26aa(_0x47c16d[_0x2fa5ad(0x168)],_0x4529f0,!!_0x264de1[_0x2fa5ad(0x15b)]);return _0x7f175e[_0x2fa5ad(0x1a3)](_0x2fa5ad(0x173))['to'](_0x26763e,_0x2fa5ad(0x1ae),_0x4d846d=>!_0x4d846d),_0x7f175e[_0x2fa5ad(0x1a3)](_0x2fa5ad(0x18f))['to'](_0x26763e,_0x2fa5ad(0x1ae),_0x46cdfb=>!_0x46cdfb),_0x264de1[_0x2fa5ad(0x15b)]&&this[_0x2fa5ad(0x15c)](_0x7f175e,_0x2fa5ad(0x15e),()=>{const _0x2474b4=_0x2fa5ad;this[_0x2474b4(0x181)][_0x2474b4(0x1ae)]||_0x264de1[_0x2474b4(0x15b)](_0x4529f0,_0x7f175e[_0x2474b4(0x17f)]);}),_0x7f175e;}),this[_0x506583(0x15c)](_0x26763e[_0x506583(0x152)],_0x506583(0x19c),()=>{const _0x5800c1=_0x506583;this[_0x5800c1(0x181)][_0x5800c1(0x1ae)]&&this[_0x5800c1(0x164)]();}),this[_0x506583(0x15c)](_0x26763e[_0x506583(0x152)],_0x506583(0x14a),()=>{const _0x318068=_0x506583;this[_0x318068(0x148)]&&this[_0x318068(0x196)]();}),_0x26763e[_0x506583(0x152)][_0x506583(0x1a7)][_0x506583(0x161)](_0x506583(0x199),(_0x1b5901,_0x307e08)=>{const _0x3e2bd7=_0x506583;this[_0x3e2bd7(0x181)][_0x3e2bd7(0x1ae)]&&(this[_0x3e2bd7(0x164)](),_0x307e08());}),_0x26763e[_0x506583(0x195)](),_0xd5a33[_0x506583(0x195)](),_0x26a1b1({'emitter':_0x26763e,'activator':()=>_0xd5a33[_0x506583(0x1b1)],'contextElements':[_0xd5a33[_0x506583(0x17f)],_0x26763e[_0x506583(0x152)][_0x506583(0x17f)]],'callback':()=>this[_0x506583(0x196)]()}),_0x47c16d[_0x506583(0x17b)][_0x506583(0x1a8)](_0x506583(0x165))[_0x506583(0x1ac)](_0x26763e[_0x506583(0x17f)]),this[_0x506583(0x14f)]=new _0x2b81db(this[_0x506583(0x18e)][_0x506583(0x168)]),this[_0x506583(0x14f)][_0x506583(0x15d)](),this[_0x506583(0x14f)][_0x506583(0x177)](this[_0x506583(0x151)]),_0x26763e;}[_0x30c104(0x194)](_0x350416){const _0x1779c9=_0x30c104;if(!this[_0x1779c9(0x18e)][_0x1779c9(0x17b)][_0x1779c9(0x1a8)](_0x1779c9(0x155))&&_0x350416[_0x1779c9(0x16a)])return;const _0x6587d6=this[_0x1779c9(0x18e)][_0x1779c9(0x17b)][_0x1779c9(0x1a8)](_0x1779c9(0x175))-0x1;for(this[_0x1779c9(0x17a)]++;this[_0x1779c9(0x157)][_0x1779c9(0x163)]>=_0x6587d6-(this[_0x1779c9(0x181)][_0x1779c9(0x1ae)]?0x1:0x0)&&this[_0x1779c9(0x157)][_0x1779c9(0x163)]>0x1;)this[_0x1779c9(0x157)][_0x1779c9(0x182)](0x1);const _0x129ac1=_0x350416[_0x1779c9(0x16a)]?0x0:this[_0x1779c9(0x157)][_0x1779c9(0x163)];this[_0x1779c9(0x157)][_0x1779c9(0x177)](_0x350416,_0x129ac1);}[_0x30c104(0x14c)](_0x2acb73){const _0x2d230f=_0x30c104;this[_0x2d230f(0x17a)]--;const {collapseAt:_0x44a8d7}=this[_0x2d230f(0x18e)][_0x2d230f(0x17b)][_0x2d230f(0x1a8)](_0x2d230f(0x1ab)),_0xbc8d51=this[_0x2d230f(0x17a)]>=_0x44a8d7;if(this[_0x2d230f(0x157)][_0x2d230f(0x1a8)](_0x2acb73['id']))this[_0x2d230f(0x157)][_0x2d230f(0x182)](_0x2acb73['id']);else{if(_0xbc8d51&&this[_0x2d230f(0x157)][_0x2d230f(0x163)]+0x1===_0x44a8d7-0x1)return;}if(this[_0x2d230f(0x157)][_0x2d230f(0x163)]+(_0xbc8d51?0x1:0x0)<this[_0x2d230f(0x17a)]){for(const _0x4c79a8 of Array[_0x2d230f(0x166)](this[_0x2d230f(0x1a0)])[_0x2d230f(0x174)]())if(!this[_0x2d230f(0x157)][_0x2d230f(0x1a8)](_0x4c79a8['id'])&&(this[_0x2d230f(0x157)][_0x2d230f(0x177)](_0x4c79a8,Math[_0x2d230f(0x18b)](this[_0x2d230f(0x157)][_0x2d230f(0x163)]-(_0xbc8d51?0x1:0x0),0x1)),this[_0x2d230f(0x157)][_0x2d230f(0x163)]+(_0xbc8d51?0x1:0x0)===_0x44a8d7-0x1))return;}}[_0x30c104(0x164)](){const _0x357301=_0x30c104;if(this[_0x357301(0x148)])return;const _0x5a3ee8=this[_0x357301(0x18e)][_0x357301(0x17b)][_0x357301(0x1a8)](_0x357301(0x1ab));this[_0x357301(0x148)]=new _0x419e48(this[_0x357301(0x18e)][_0x357301(0x168)],!!_0x5a3ee8[_0x357301(0x15b)]),this[_0x357301(0x181)][_0x357301(0x152)][_0x357301(0x197)]=!0x0,this[_0x357301(0x15c)](this[_0x357301(0x148)],_0x357301(0x14a),()=>{const _0x247f3f=_0x357301;this[_0x247f3f(0x148)]&&this[_0x247f3f(0x196)]();});const {listWrapperView:_0x2e802a}=this[_0x357301(0x148)];_0x2e802a[_0x357301(0x156)][_0x357301(0x176)](this[_0x357301(0x1a0)])[_0x357301(0x178)](_0xaf8b16=>{const _0x48a3ef=_0x357301;if(!_0x5a3ee8[_0x48a3ef(0x1ad)]&&_0xaf8b16[_0x48a3ef(0x16a)])return null;const _0x5c83e6=new _0x1624db(this[_0x48a3ef(0x18e)][_0x48a3ef(0x168)],_0xaf8b16,!!_0x5a3ee8[_0x48a3ef(0x15b)]);return _0x5a3ee8[_0x48a3ef(0x15b)]&&this[_0x48a3ef(0x15c)](_0x5c83e6,_0x48a3ef(0x15e),()=>{const _0x16aa63=_0x48a3ef;_0x5a3ee8[_0x16aa63(0x15b)](_0xaf8b16,_0x5c83e6[_0x16aa63(0x17f)]);}),_0x5c83e6;}),this[_0x357301(0x151)][_0x357301(0x15f)][_0x357301(0x177)](this[_0x357301(0x148)]),this[_0x357301(0x151)][_0x357301(0x187)]({'target':this[_0x357301(0x181)][_0x357301(0x152)][_0x357301(0x17f)]}),_0x2e802a[_0x357301(0x153)](),_0x2e802a[_0x357301(0x18a)]();const _0x2decbc=(_0xe9b749,_0x4a4fe3)=>{const _0x411f46=_0x357301;this[_0x411f46(0x196)](),this[_0x411f46(0x181)][_0x411f46(0x152)][_0x411f46(0x153)](),_0x4a4fe3();};_0x2e802a[_0x357301(0x1a7)][_0x357301(0x161)](_0x357301(0x172),_0x2decbc),_0x2e802a[_0x357301(0x1a7)][_0x357301(0x161)](_0x357301(0x19e),_0x2decbc),_0x2e802a[_0x357301(0x1a7)][_0x357301(0x161)](_0x357301(0x179),(_0x2cede8,_0x12f0dc)=>{const _0x2a2556=_0x357301;!function(_0x2c0b4d){const _0x5a8b13=_0x5ce9,_0x101d6d=['a',_0x5a8b13(0x1b2),_0x5a8b13(0x1aa),_0x5a8b13(0x1af),_0x5a8b13(0x191),_0x5a8b13(0x180),_0x5a8b13(0x1a1)][_0x5a8b13(0x188)](_0x572e40=>_0x572e40+_0x5a8b13(0x183))[_0x5a8b13(0x19a)](','),_0x4950ca=[...document[_0x5a8b13(0x19f)][_0x5a8b13(0x1a9)](_0x101d6d)][_0x5a8b13(0x169)](_0x4a3939=>_0x4a3939===document[_0x5a8b13(0x186)]||_0x4a3939[_0x5a8b13(0x17d)]+_0x4a3939[_0x5a8b13(0x158)]>0x0)[_0x5a8b13(0x192)]((_0x1230b0,_0x2bf2f0)=>(_0x1230b0[_0x5a8b13(0x154)]||0x0)-(_0x2bf2f0[_0x5a8b13(0x154)]||0x0)),_0x3b2003=_0x4950ca[_0x5a8b13(0x16f)](_0x2c0b4d),_0x10bfca=_0x4950ca[(_0x3b2003+0x1)%_0x4950ca[_0x5a8b13(0x163)]];_0x10bfca&&_0x10bfca[_0x5a8b13(0x153)]();}(this[_0x2a2556(0x181)][_0x2a2556(0x17f)]),this[_0x2a2556(0x196)](),_0x12f0dc();}),_0x2e802a[_0x357301(0x18c)][_0x357301(0x177)](this[_0x357301(0x181)][_0x357301(0x17f)]),_0x2e802a[_0x357301(0x18c)]['on'](_0x357301(0x170),(_0x595464,_0x25e193,_0x22d77e)=>{const _0x45aedf=_0x357301;_0x22d77e||this[_0x45aedf(0x196)]();});}[_0x30c104(0x196)](){const _0x3bc8bd=_0x30c104;this[_0x3bc8bd(0x148)]&&(this[_0x3bc8bd(0x181)][_0x3bc8bd(0x152)][_0x3bc8bd(0x197)]=!0x1,this[_0x3bc8bd(0x151)][_0x3bc8bd(0x150)](),this[_0x3bc8bd(0x151)][_0x3bc8bd(0x15f)][_0x3bc8bd(0x182)](this[_0x3bc8bd(0x148)]),this[_0x3bc8bd(0x148)][_0x3bc8bd(0x16b)](),this[_0x3bc8bd(0x148)]=void 0x0);}[_0x30c104(0x16b)](){const _0x330c45=_0x30c104;super[_0x330c45(0x16b)](),this[_0x330c45(0x181)]&&this[_0x330c45(0x181)][_0x330c45(0x17e)]&&this[_0x330c45(0x181)][_0x330c45(0x16b)](),this[_0x330c45(0x14f)]&&(this[_0x330c45(0x14f)][_0x330c45(0x1b0)](),this[_0x330c45(0x14f)][_0x330c45(0x16b)](),this[_0x330c45(0x14f)]=null);}}function _0x4b86(){const _0x537c57=['hideDropdown','isExpanded','plugins','Enter','join','allConnectedUsers','presencelist:show','1928514ETVSsS','Shift+Tab','body','_allConnectedUsers','[contenteditable]','pluginName','bind','13752910Lhyyss','52MjUQsr','isPremiumPlugin','keystrokes','get','querySelectorAll','input','presenceList','appendChild','displayMe','isCollapsed','select','detachFromDom','isVisible','button','presenceDropdownView','requires','presencelist:hide','find','_handleUserRemove','init','isOfficialPlugin','_bodyCollection','unpin','balloonPanelView','inlineListView','focus','tabIndex','presenceList.displayMe','items','currentDisplayedUsers','offsetHeight','presencelist-collapseat-invalid-format','class','onClick','listenTo','attachToDom','execute','content','297320RnhXNP','set','_createView','length','showDropdown','presenceList.container','from','number','locale','filter','isMe','destroy','12377dvAoaj','84ckVKId','8VoXRqz','indexOf','change:isFocused','counterView','Esc','hasTooltip','reverse','presenceList.collapseAt','bindTo','add','using','Tab','usersCount','config','7306083wklOSj','offsetWidth','isRendered','element','[tabindex]','view','remove',':not([disabled]):not([tabindex=\x22-1\x22])','presencelist-missing-container','698642iTJmYE','activeElement','pin','map','PresenceListUI','checkIfScrollable','min','focusTracker','define','context','isFocusable','ck\x20ck-presence-list__balloon','textarea','sort','478989Wucllu','_handleUserAdd','render'];_0x4b86=function(){return _0x537c57;};return _0x4b86();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2242cb=_0x2ff3;(function(_0xc829d4,_0xc48719){const _0x52acbf=_0x2ff3,_0x2f63a7=_0xc829d4();while(!![]){try{const _0x676da3=parseInt(_0x52acbf(0x162))/0x1*(parseInt(_0x52acbf(0x163))/0x2)+parseInt(_0x52acbf(0x16c))/0x3*(parseInt(_0x52acbf(0x169))/0x4)+-parseInt(_0x52acbf(0x16b))/0x5*(parseInt(_0x52acbf(0x175))/0x6)+parseInt(_0x52acbf(0x168))/0x7+-parseInt(_0x52acbf(0x167))/0x8*(parseInt(_0x52acbf(0x173))/0x9)+-parseInt(_0x52acbf(0x15f))/0xa+parseInt(_0x52acbf(0x15d))/0xb;if(_0x676da3===_0xc48719)break;else _0x2f63a7['push'](_0x2f63a7['shift']());}catch(_0x135131){_0x2f63a7['push'](_0x2f63a7['shift']());}}}(_0x5f23,0x45846));import{ListItemView as _0x2cf7fb}from'ckeditor5/src/ui.js';import{UserView as _0x4878ca}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5f23(){const _0x4f5fb7=['9oSUuqP','span','6tFSDGI','userView','true','tag','color','315062EVVqmQ','name','1988880DNCitX','ck-user__full-name','element','963kGDuXW','638sLdTtN','setTemplate','bindTemplate','ck-presence-list__marker','2472136NGJuZb','1389297jaYpph','20168PToFHg','button','977215bYSxJT','270KxOpYw','focus','fire','presentation','getBackgroundColorClass','ck-presence-list__dropdown-list-item','execute'];_0x5f23=function(){return _0x4f5fb7;};return _0x5f23();}function _0x2ff3(_0x5b918e,_0x141698){const _0x5f23a5=_0x5f23();return _0x2ff3=function(_0x2ff36d,_0x3787c0){_0x2ff36d=_0x2ff36d-0x15b;let _0x40765b=_0x5f23a5[_0x2ff36d];return _0x40765b;},_0x2ff3(_0x5b918e,_0x141698);}export class PresenceDropdownListItemView extends _0x2cf7fb{[_0x2242cb(0x176)];constructor(_0x4cff5d,_0x311622,_0xa7e302){const _0x349c9e=_0x2242cb;super(_0x4cff5d);const _0x3ade64=this[_0x349c9e(0x165)];this[_0x349c9e(0x176)]=new _0x4878ca(_0x4cff5d,_0x311622);const _0x58fd4c={'tag':'li','attributes':{'class':['ck',_0x349c9e(0x171)],'tabindex':-0x1,'role':_0x349c9e(0x16f),'aria-label':_0x311622[_0x349c9e(0x15e)]},'children':[this[_0x349c9e(0x176)],{'tag':_0x349c9e(0x174),'attributes':{'class':['ck',_0x349c9e(0x160)]},'children':[{'text':_0x311622[_0x349c9e(0x15e)]}]},{'tag':_0x349c9e(0x174),'attributes':{'class':['ck',_0x349c9e(0x166),_0x311622[_0x349c9e(0x15c)][_0x349c9e(0x170)]()],'aria-hidden':_0x349c9e(0x177)}}]};_0xa7e302&&(_0x58fd4c[_0x349c9e(0x15b)]=_0x349c9e(0x16a),_0x58fd4c['on']={'click':_0x3ade64['to'](()=>this[_0x349c9e(0x16e)](_0x349c9e(0x172)))}),this[_0x349c9e(0x164)](_0x58fd4c);}[_0x2242cb(0x16d)](){const _0x21dc9f=_0x2242cb;this[_0x21dc9f(0x161)][_0x21dc9f(0x16d)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1b9c68=_0x28f2;(function(_0x52ba57,_0x1fbf29){const _0x4cf14d=_0x28f2,_0x3286d5=_0x52ba57();while(!![]){try{const _0x4db679=-parseInt(_0x4cf14d(0x129))/0x1+parseInt(_0x4cf14d(0x11b))/0x2*(parseInt(_0x4cf14d(0x11c))/0x3)+parseInt(_0x4cf14d(0x131))/0x4+-parseInt(_0x4cf14d(0x12e))/0x5+-parseInt(_0x4cf14d(0x12d))/0x6+-parseInt(_0x4cf14d(0x123))/0x7+parseInt(_0x4cf14d(0x13b))/0x8*(parseInt(_0x4cf14d(0x12c))/0x9);if(_0x4db679===_0x1fbf29)break;else _0x3286d5['push'](_0x3286d5['shift']());}catch(_0x38281d){_0x3286d5['push'](_0x3286d5['shift']());}}}(_0x47fb,0x363e2));import{ListView as _0x32273d,View as _0x3ead43}from'ckeditor5/src/ui.js';import{global as _0x22bbc2}from'ckeditor5/src/utils.js';import{getTranslation as _0x32e4c6}from'../../common-translations.js';function _0x28f2(_0x455ceb,_0x2bf419){const _0x47fbaf=_0x47fb();return _0x28f2=function(_0x28f29d,_0x4534de){_0x28f29d=_0x28f29d-0x114;let _0xcda2cc=_0x47fbaf[_0x28f29d];return _0xcda2cc;},_0x28f2(_0x455ceb,_0x2bf419);}export class PresenceDropdownListView extends _0x3ead43{[_0x1b9c68(0x124)];constructor(_0x53a73c,_0x1161f1){const _0x296639=_0x1b9c68;super(_0x53a73c);const _0x4c7c3b=this[_0x296639(0x125)];this[_0x296639(0x124)]=new PresenceDropdownListWrapperView(_0x53a73c,_0x1161f1),this[_0x296639(0x13c)]({'tag':_0x296639(0x117),'attributes':{'tabindex':-0x1,'role':_0x296639(0x132),'class':['ck',_0x296639(0x139)],'aria-label':_0x32e4c6(_0x53a73c,_0x296639(0x127))},'children':[this[_0x296639(0x124)]],'on':{'mouseleave':_0x4c7c3b['to'](_0x14d520=>{const _0x403804=_0x296639,_0x21fad7=_0x14d520,_0x496cd4=document[_0x403804(0x12f)](_0x403804(0x13e)),_0x242a0d=document[_0x403804(0x12f)](_0x403804(0x136));_0x496cd4?.[_0x403804(0x122)](_0x21fad7[_0x403804(0x11a)])||_0x242a0d?.[_0x403804(0x122)](_0x21fad7[_0x403804(0x11a)])||this[_0x403804(0x116)](_0x403804(0x120));})}});}}function _0x47fb(){const _0x24114f=['ck-presence-list__dropdown-list-wrapper_scrollable','contains','2749271tBoUGP','listWrapperView','bindTemplate','resize','Connected\x20users\x20list\x20dropdown\x20menu','max','329547bAgfpi','ariaLabel','innerHeight','9091179JfspPL','377868HRGqQg','1025005ZVnzcr','querySelector','scrollHeight','715704eEifVr','application','render','window','set','.ck-balloon-panel_with-arrow','listenTo','ariaLabelledBy','ck-presence-list__dropdown-list','element','8QYfzhP','setTemplate','_isScrollable','.ck-presence-list__list','ck-presence-list__dropdown-list-wrapper','ck-list','ck-reset','fire','div','role','items','relatedTarget','100pfPjeO','1404EdxauE','change','clientHeight','checkIfScrollable','presencelist:hide'];_0x47fb=function(){return _0x24114f;};return _0x47fb();}export class PresenceDropdownListWrapperView extends _0x32273d{constructor(_0x220cfb,_0x34050c){const _0x104def=_0x1b9c68;super(_0x220cfb);const _0x6f82d9=this[_0x104def(0x125)];this[_0x104def(0x135)](_0x104def(0x13d),!0x1),this[_0x104def(0x13c)]({'tag':_0x34050c?_0x104def(0x117):'ul','attributes':{'class':['ck',_0x104def(0x115),_0x104def(0x114),_0x104def(0x13f),_0x6f82d9['if'](_0x104def(0x13d),_0x104def(0x121))],'role':_0x6f82d9['to'](_0x104def(0x118)),'aria-label':_0x6f82d9['to'](_0x104def(0x12a)),'aria-labelledby':_0x6f82d9['to'](_0x104def(0x138))},'children':this[_0x104def(0x119)]}),this[_0x104def(0x137)](_0x22bbc2[_0x104def(0x134)],_0x104def(0x126),()=>this[_0x104def(0x11f)]()),this[_0x104def(0x119)]['on'](_0x104def(0x11d),()=>this[_0x104def(0x11f)]());}[_0x1b9c68(0x133)](){const _0x362ddb=_0x1b9c68;super[_0x362ddb(0x133)](),this[_0x362ddb(0x11f)]();}[_0x1b9c68(0x11f)](){const _0x1b7a3b=_0x1b9c68,_0x376025=this[_0x1b7a3b(0x13a)];_0x376025&&(this[_0x1b7a3b(0x13d)]=Math[_0x1b7a3b(0x128)](_0x376025[_0x1b7a3b(0x130)],_0x376025[_0x1b7a3b(0x11e)])>0.8*window[_0x1b7a3b(0x12b)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x303a62=_0x48e0;(function(_0x2193f7,_0x333598){const _0x320029=_0x48e0,_0x58c15a=_0x2193f7();while(!![]){try{const _0x4aaa05=-parseInt(_0x320029(0x1a4))/0x1+-parseInt(_0x320029(0x1b2))/0x2+parseInt(_0x320029(0x1b8))/0x3+-parseInt(_0x320029(0x1ad))/0x4+parseInt(_0x320029(0x1a2))/0x5+-parseInt(_0x320029(0x1b0))/0x6*(-parseInt(_0x320029(0x1c1))/0x7)+parseInt(_0x320029(0x1b3))/0x8;if(_0x4aaa05===_0x333598)break;else _0x58c15a['push'](_0x58c15a['shift']());}catch(_0x397ee1){_0x58c15a['push'](_0x58c15a['shift']());}}}(_0x33e6,0x799d4));import{LabelView as _0x4eefa7,View as _0x53b88a}from'ckeditor5/src/ui.js';function _0x33e6(){const _0x104a93=['markerView','div','button','ck-presence-list__marker','true','listitem','bindTemplate','template','343xHjune','1366845WqWGud','ck-presence-list__list-item__tooltip','382709MgDsiJ','execute','name','ck-presence-list__list-item','span','isFocusable','hasTooltip','getBackgroundColorClass','fire','1820904AOnGGP','set','color','50874BhZFdQ','setTemplate','794292IrMDcp','7231784DUVQZp','tooltipPosition','text','userView','tag','421200waVcum'];_0x33e6=function(){return _0x104a93;};return _0x33e6();}import{UserView as _0x5c7e4a}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x53b88a{[_0x303a62(0x1b6)];[_0x303a62(0x1b9)];constructor(_0x2289ad,_0x2006f6,_0x5e973c){const _0x1419cd=_0x303a62;super(_0x2289ad);const _0x582330=this[_0x1419cd(0x1bf)];this[_0x1419cd(0x1ae)](_0x1419cd(0x1a9),!0x1),this[_0x1419cd(0x1ae)](_0x1419cd(0x1aa),!0x0),this[_0x1419cd(0x1ae)](_0x1419cd(0x1b4),''),this[_0x1419cd(0x1b6)]=new _0x5c7e4a(_0x2289ad,_0x2006f6),this[_0x1419cd(0x1b9)]=new ct(_0x2289ad,_0x2006f6);const _0x1d2040=new _0x4eefa7(_0x2289ad);_0x1d2040[_0x1419cd(0x1c0)][_0x1419cd(0x1b7)]=_0x1419cd(0x1a8),_0x1d2040[_0x1419cd(0x1b5)]=_0x2006f6[_0x1419cd(0x1a6)];const _0x5cd2ae={'tag':_0x1419cd(0x1ba),'attributes':{'class':['ck',_0x1419cd(0x1a7)],'role':_0x1419cd(0x1be),'tabindex':_0x582330['to'](_0x1419cd(0x1a9),_0x2b20d6=>!!_0x2b20d6&&0x0),'aria-labelledby':_0x1d2040['id'],'data-cke-tooltip-text':this[_0x1419cd(0x1b6)][_0x1419cd(0x1a6)],'data-cke-tooltip-position':_0x582330['to'](_0x1419cd(0x1b4)),'data-cke-tooltip-disabled':_0x582330['to'](_0x1419cd(0x1aa),_0x5e662e=>!_0x5e662e),'data-cke-tooltip-class':_0x1419cd(0x1a3)},'children':[this[_0x1419cd(0x1b6)],this[_0x1419cd(0x1b9)],_0x1d2040]};_0x5e973c&&(_0x5cd2ae[_0x1419cd(0x1b7)]=_0x1419cd(0x1bb),_0x5cd2ae['on']={'click':_0x582330['to'](()=>this[_0x1419cd(0x1ac)](_0x1419cd(0x1a5)))}),this[_0x1419cd(0x1b1)](_0x5cd2ae);}}function _0x48e0(_0x174549,_0x49b946){const _0x33e639=_0x33e6();return _0x48e0=function(_0x48e083,_0x1c76a0){_0x48e083=_0x48e083-0x1a2;let _0x268a8b=_0x33e639[_0x48e083];return _0x268a8b;},_0x48e0(_0x174549,_0x49b946);}class ct extends _0x53b88a{constructor(_0x2b77a7,_0x11ebfa){const _0x4def3e=_0x303a62;super(_0x2b77a7),this[_0x4def3e(0x1b1)]({'tag':_0x4def3e(0x1a8),'attributes':{'class':['ck',_0x4def3e(0x1bc),_0x11ebfa[_0x4def3e(0x1af)][_0x4def3e(0x1ab)]()],'aria-hidden':_0x4def3e(0x1bd)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x329c69=_0x34c1;(function(_0x244a09,_0x3589a5){const _0x3ca77d=_0x34c1,_0x30e428=_0x244a09();while(!![]){try{const _0x4b4634=parseInt(_0x3ca77d(0xa8))/0x1+parseInt(_0x3ca77d(0xbf))/0x2+-parseInt(_0x3ca77d(0xc0))/0x3*(parseInt(_0x3ca77d(0x9b))/0x4)+-parseInt(_0x3ca77d(0xa7))/0x5+parseInt(_0x3ca77d(0x9e))/0x6*(-parseInt(_0x3ca77d(0xb2))/0x7)+parseInt(_0x3ca77d(0xaa))/0x8*(parseInt(_0x3ca77d(0xba))/0x9)+parseInt(_0x3ca77d(0xb0))/0xa;if(_0x4b4634===_0x3589a5)break;else _0x30e428['push'](_0x30e428['shift']());}catch(_0x2254d6){_0x30e428['push'](_0x30e428['shift']());}}}(_0x21df,0x79e71));import{View as _0x4e4fc5}from'ckeditor5/src/ui.js';function _0x34c1(_0x367331,_0x4b3948){const _0x21df86=_0x21df();return _0x34c1=function(_0x34c15c,_0x329791){_0x34c15c=_0x34c15c-0x9b;let _0x5cd35e=_0x21df86[_0x34c15c];return _0x5cd35e;},_0x34c1(_0x367331,_0x4b3948);}import{KeystrokeHandler as _0x7e1acf}from'ckeditor5/src/utils.js';import{getTranslation as _0x54fc91}from'../../common-translations.js';export class PresenceInlineListView extends _0x4e4fc5{[_0x329c69(0xb8)];[_0x329c69(0xb6)];constructor(_0x496b03){const _0x5630d0=_0x329c69;super(_0x496b03);const _0x403aa5=this[_0x5630d0(0xb5)];this[_0x5630d0(0xb8)]=this[_0x5630d0(0xa3)](),this[_0x5630d0(0xb6)]=new _0x7e1acf(),this[_0x5630d0(0xa6)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x5630d0(0xb4)]({'tag':_0x5630d0(0xa0),'attributes':{'aria-haspopup':_0x403aa5['if'](_0x5630d0(0xbe)),'aria-expanded':_0x403aa5['to'](_0x5630d0(0xb1),_0x3b9e81=>this[_0x5630d0(0xbe)]&&String(_0x3b9e81)),'aria-label':_0x403aa5['to'](_0x5630d0(0xbe),_0x30da6c=>_0x54fc91(_0x496b03,_0x30da6c?_0x5630d0(0xab):_0x5630d0(0x9f))),'role':_0x5630d0(0xa9),'tabindex':_0x403aa5['to'](_0x5630d0(0xbe),_0x247514=>!!_0x247514&&0x0),'class':['ck',_0x5630d0(0xa5)]},'children':this[_0x5630d0(0xb8)],'on':{'mouseenter':_0x403aa5['to'](()=>this[_0x5630d0(0xa4)](_0x5630d0(0xbb))),'mouseleave':_0x403aa5['to'](_0x264f81=>{const _0x167ed9=_0x5630d0,_0x94ee=_0x264f81,_0x5c7755=document[_0x167ed9(0xb9)](_0x167ed9(0xad)),_0x43dfb3=document[_0x167ed9(0xb9)](_0x167ed9(0x9d));_0x5c7755?.[_0x167ed9(0xa2)](_0x94ee[_0x167ed9(0x9c)])||_0x43dfb3?.[_0x167ed9(0xa2)](_0x94ee[_0x167ed9(0x9c)])||this[_0x167ed9(0xa4)](_0x167ed9(0xbd));})}}),this['on'](_0x5630d0(0xac),(_0x1b32bc,_0x3061de,_0x355539)=>{const _0x54774e=_0x5630d0;this[_0x54774e(0xaf)]&&(_0x355539?this[_0x54774e(0xaf)][_0x54774e(0xb3)](_0x54774e(0xa1),String(this[_0x54774e(0xb1)])):this[_0x54774e(0xaf)][_0x54774e(0xbc)](_0x54774e(0xa1)));});}[_0x329c69(0xae)](){const _0x3c4ad8=_0x329c69;this[_0x3c4ad8(0xaf)][_0x3c4ad8(0xae)]();}[_0x329c69(0xc1)](){const _0xb52ee1=_0x329c69;super[_0xb52ee1(0xc1)](),this[_0xb52ee1(0xb6)][_0xb52ee1(0xb7)](this[_0xb52ee1(0xaf)]);}}function _0x21df(){const _0xe80163=['presencelist:hide','hasPopup','1831338PQpYoP','2101617tsnPOE','render','4QHWZTg','relatedTarget','.ck-balloon-panel_with-arrow','43110GmMIyA','Connected\x20users\x20list','div','aria-expanded','contains','createCollection','fire','ck-presence-list__list','set','4473075BUYvga','364294aSbsFE','list','8QUNXsl','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','change:hasPopup','.ck-presence-list__dropdown-list','focus','element','10550920JxFiWQ','isExpanded','889uHRdQR','setAttribute','setTemplate','bindTemplate','keystrokes','listenTo','items','querySelector','6047163wARaQe','presencelist:show','removeAttribute'];_0x21df=function(){return _0xe80163;};return _0x21df();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16c184=_0x1519;(function(_0x15d67e,_0xb6ff3b){const _0xaeed82=_0x1519,_0xe6afc5=_0x15d67e();while(!![]){try{const _0x3105bf=-parseInt(_0xaeed82(0x193))/0x1+-parseInt(_0xaeed82(0x1ab))/0x2+parseInt(_0xaeed82(0x1a1))/0x3+parseInt(_0xaeed82(0x195))/0x4+parseInt(_0xaeed82(0x1a7))/0x5*(-parseInt(_0xaeed82(0x19e))/0x6)+parseInt(_0xaeed82(0x196))/0x7*(-parseInt(_0xaeed82(0x19c))/0x8)+parseInt(_0xaeed82(0x1a8))/0x9*(parseInt(_0xaeed82(0x197))/0xa);if(_0x3105bf===_0xb6ff3b)break;else _0xe6afc5['push'](_0xe6afc5['shift']());}catch(_0x53e281){_0xe6afc5['push'](_0xe6afc5['shift']());}}}(_0x4ab6,0x3460b));import{View as _0xe5960c}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x38d113}from'./presencecounterview.js';import{PresenceInlineListView as _0x51f62c}from'./presenceinlinelistview.js';function _0x1519(_0x3c26e4,_0x2292fb){const _0x4ab677=_0x4ab6();return _0x1519=function(_0x15197c,_0x3b441a){_0x15197c=_0x15197c-0x18f;let _0x3c906c=_0x4ab677[_0x15197c];return _0x3c906c;},_0x1519(_0x3c26e4,_0x2292fb);}function _0x4ab6(){const _0x497cc2=['449704hAHzXd','counterView','6jomRwC','items','tooltipPosition','189177KnUXzM','bindTemplate','ck-presence-list--collapsed','listenTo','set','inlineListView','1556835JjolGe','603wCRuex','first','ck-reset','4208OpbiEj','ck-rounded-corners','bind','isCollapsed','ck-presence-list','373636AuDbYA','setTemplate','402864SkmMiC','7cVEKEB','118520KIeXqn','div','change','locale','hasPopup'];_0x4ab6=function(){return _0x497cc2;};return _0x4ab6();}import'../../../theme/presencelist.css';export class PresenceListView extends _0xe5960c{[_0x16c184(0x19d)];[_0x16c184(0x1a6)];constructor(_0xb51ba,_0x4a39d6=0x6){const _0x387a1d=_0x16c184;super(_0xb51ba);const _0x539ec3=this[_0x387a1d(0x1a2)];this[_0x387a1d(0x1a5)](_0x387a1d(0x191),!0x0),this[_0x387a1d(0x19d)]=new _0x38d113(this[_0x387a1d(0x19a)],_0x4a39d6),this[_0x387a1d(0x1a6)]=new _0x51f62c(_0xb51ba),this[_0x387a1d(0x1a6)][_0x387a1d(0x190)](_0x387a1d(0x19b))['to'](this,_0x387a1d(0x191)),this[_0x387a1d(0x1a4)](this[_0x387a1d(0x1a6)][_0x387a1d(0x19f)],_0x387a1d(0x199),()=>{const _0x196072=_0x387a1d;for(const _0x5c5c97 of this[_0x196072(0x1a6)][_0x196072(0x19f)])_0x5c5c97[_0x196072(0x1a0)]='s';this[_0x196072(0x1a6)][_0x196072(0x19f)][_0x196072(0x1a9)]&&(this[_0x196072(0x1a6)][_0x196072(0x19f)][_0x196072(0x1a9)][_0x196072(0x1a0)]='se');}),this[_0x387a1d(0x194)]({'tag':_0x387a1d(0x198),'attributes':{'class':['ck',_0x387a1d(0x192),_0x387a1d(0x1aa),_0x387a1d(0x18f),_0x539ec3['if'](_0x387a1d(0x191),_0x387a1d(0x1a3))]},'children':[this[_0x387a1d(0x1a6)]]});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x3b3db5)());[_0x49ccac(0x1f9)];static get[_0x49ccac(0x1d4)](){const _0x1e775c=_0x49ccac;return[_0x13a8eb,_0x1e775c(0x1ee),_0x423b45,_0x384de9];}static get[_0x49ccac(0x1cd)](){const _0x3a654f=_0x49ccac;return _0x3a654f(0x1ac);}static get[_0x49ccac(0x1de)](){return!0x0;}static get[_0x49ccac(0x1ea)](){return!0x0;}constructor(_0x3b473a){const _0x3df89b=_0x49ccac;super(_0x3b473a),this[_0x3df89b(0x1f9)]=new Map();}async[_0x49ccac(0x1d2)](){const _0x4846f2=_0x49ccac,_0x4ea9a9=this[_0x4846f2(0x1b5)],_0x5ade0e=_0x4ea9a9[_0x4846f2(0x1be)][_0x4846f2(0x1ca)](_0x4846f2(0x1ee));if(_0x4ea9a9[_0x4846f2(0x1be)][_0x4846f2(0x1ca)](_0x13a8eb)[_0x4846f2(0x1d1)](this),_0x5ade0e[_0x4846f2(0x1d5)]={'addCommentThread':async({channelId:_0x48c0a4,threadId:_0x15cfa9,comments:_0x9d8be2,resolvedAt:_0x2cd263,resolvedBy:_0x14f59a,context:_0x3e2fd9,attributes:_0x330155})=>{const _0x41707d=_0x4846f2,_0x5c805c=await this[_0x41707d(0x1e9)](_0x48c0a4)[_0x41707d(0x1ad)]({'commentThreadId':_0x15cfa9,'comments':_0x9d8be2[_0x41707d(0x1fa)](_0x4e89cd=>function(_0x1d9bda,_0x1cee98,_0x95d952){const _0x3d3d42=_0x41707d;return{'commentThreadId':_0x95d952,'commentId':_0x1d9bda[_0x3d3d42(0x1b4)],'userId':_0x1d9bda[_0x3d3d42(0x1a5)],'content':_0x1d9bda[_0x3d3d42(0x1e0)],'documentId':_0x1cee98,'createdAt':_0x1d9bda[_0x3d3d42(0x1bd)],'attributes':_0x1d9bda[_0x3d3d42(0x208)]||{}};}(_0x4e89cd,_0x48c0a4,_0x15cfa9)),'resolvedAt':_0x2cd263,'resolvedBy':_0x14f59a,'context':_0x3e2fd9,'attributes':_0x330155})[_0x41707d(0x1c7)](k);return{'threadId':_0x5c805c[_0x41707d(0x202)],'comments':_0x5c805c[_0x41707d(0x1af)]};},'getCommentThread':async({channelId:_0x41973f,threadId:_0x257c95})=>{const _0xefcabf=_0x4846f2,_0x3a2a68=await this[_0xefcabf(0x1e9)](_0x41973f)[_0xefcabf(0x1ff)](_0x257c95)[_0xefcabf(0x1c7)](F)[_0xefcabf(0x1c7)](k);return _0x3a2a68?_0x3a2a68[_0xefcabf(0x1b2)]?null:(await this[_0xefcabf(0x1f2)]([_0x3a2a68]),{'threadId':_0x3a2a68[_0xefcabf(0x202)],'comments':_0x3a2a68[_0xefcabf(0x1af)][_0xefcabf(0x1fa)](S),'context':_0x3a2a68[_0xefcabf(0x1b5)],'resolvedAt':_0x3a2a68[_0xefcabf(0x1bb)],'resolvedBy':_0x3a2a68[_0xefcabf(0x1e7)],'attributes':_0x3a2a68[_0xefcabf(0x208)]||{}}):null;},'updateCommentThread':async({channelId:_0x116ce2,threadId:_0x6a6671,context:_0x78443e,unlinkedAt:_0x59d0fa,attributes:_0x34acb3})=>this[_0x4846f2(0x1e9)](_0x116ce2)[_0x4846f2(0x1e1)]({'commentThreadId':_0x6a6671,'context':_0x78443e,'attributes':_0x34acb3,'unlinkedAt':_0x59d0fa})[_0x4846f2(0x1c7)](F)[_0x4846f2(0x1c7)](k),'resolveCommentThread':async({channelId:_0x2367a7,threadId:_0x77ddac})=>{const _0x12db32=_0x4846f2,_0x30e406=await this[_0x12db32(0x1e9)](_0x2367a7)[_0x12db32(0x1e2)](_0x77ddac)[_0x12db32(0x1c7)](F)[_0x12db32(0x1c7)](k);return{'threadId':_0x30e406[_0x12db32(0x202)],'resolvedAt':_0x30e406[_0x12db32(0x1bb)],'resolvedBy':_0x30e406[_0x12db32(0x1e7)]};},'reopenCommentThread':async({channelId:_0x2943ea,threadId:_0xba6a04})=>this[_0x4846f2(0x1e9)](_0x2943ea)[_0x4846f2(0x1b6)](_0xba6a04)[_0x4846f2(0x1c7)](F)[_0x4846f2(0x1c7)](k),'removeCommentThread':({channelId:_0x4f16ce,threadId:_0x3bf9e4})=>this[_0x4846f2(0x1e9)](_0x4f16ce)[_0x4846f2(0x1c4)](_0x3bf9e4)[_0x4846f2(0x1c7)](F)[_0x4846f2(0x1c7)](k),'addComment':({channelId:_0xed42b5,threadId:_0x11b381,commentId:_0x21695f,content:_0x36fdda,attributes:_0x9ce59e})=>this[_0x4846f2(0x1e9)](_0xed42b5)[_0x4846f2(0x1eb)](_0x11b381,_0x21695f,_0x36fdda,_0x9ce59e)[_0x4846f2(0x1c7)](k),'updateComment':({channelId:_0x23b521,threadId:_0x4bdd51,commentId:_0x392237,content:_0x2bea3f,attributes:_0x8f8fed})=>this[_0x4846f2(0x1e9)](_0x23b521)[_0x4846f2(0x1ec)](_0x4bdd51,_0x392237,_0x2bea3f,_0x8f8fed)[_0x4846f2(0x1c7)](F)[_0x4846f2(0x1c7)](k),'removeComment':({channelId:_0xa33da5,threadId:_0x3c7a52,commentId:_0xa8efa5})=>this[_0x4846f2(0x1e9)](_0xa33da5)[_0x4846f2(0x1f5)](_0x3c7a52,_0xa8efa5)[_0x4846f2(0x1c7)](F)[_0x4846f2(0x1c7)](k)},_0x4ea9a9 instanceof _0x5a0a34){const _0x5c7c25=_0x4ea9a9[_0x4846f2(0x1e8)][_0x4846f2(0x1ca)](_0x4846f2(0x1a9)),_0x13d611=_0x4ea9a9[_0x4846f2(0x1be)][_0x4846f2(0x1ca)](_0x423b45);await this[_0x4846f2(0x1bf)](_0x5c7c25);const _0xc39414=await this[_0x4846f2(0x1f9)][_0x4846f2(0x1ca)](_0x5c7c25)[_0x4846f2(0x1f8)]();this[_0x4846f2(0x1ab)](_0x13d611,_0x4846f2(0x1e6)+_0x5c7c25,(_0x4e0245,{session:_0x14ef2e})=>{const _0x10cf60=_0x4846f2;_0x14ef2e['id']===_0x13d611[_0x10cf60(0x1aa)]&&(_0x4e0245[_0x10cf60(0x1c1)](),this[_0x10cf60(0x1b5)][_0x10cf60(0x1be)][_0x10cf60(0x1ca)](_0x10cf60(0x1c3))[_0x10cf60(0x1fd)](_0x14ef2e[_0x10cf60(0x1f0)],_0x5c7c25));}),_0x13d611[_0x4846f2(0x1c5)](_0x5c7c25,_0xc39414);}}async[_0x49ccac(0x1bf)](_0x3c0baf){const _0x58a8f8=_0x49ccac;if(this[_0x58a8f8(0x1f9)][_0x58a8f8(0x1a7)](_0x3c0baf))throw new _0x1836ed(_0x58a8f8(0x1ba),null,{'channelId':_0x3c0baf});const _0x389668=this[_0x58a8f8(0x1b5)][_0x58a8f8(0x1be)][_0x58a8f8(0x1ca)](_0x58a8f8(0x1ee)),_0x420942=new CloudServicesCommentsAdapter[(_0x58a8f8(0x1d9))](_0x3c0baf);this[_0x58a8f8(0x1f9)][_0x58a8f8(0x1b0)](_0x3c0baf,_0x420942),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x201),(_0x5df879,_0x52ad87)=>{const _0x1a077c=_0x58a8f8,{commentThreadId:_0x21aa1c,documentId:_0x326db5,context:_0x424c4d,attributes:_0x2ad92b,resolvedAt:_0x4dc0e1,resolvedBy:_0x529a12,comments:_0xdba8a4}=_0x52ad87;_0x389668[_0x1a077c(0x1ff)](_0x21aa1c)||_0x389668[_0x1a077c(0x1ad)]({'threadId':_0x21aa1c,'channelId':_0x326db5,'comments':_0xdba8a4?_0xdba8a4[_0x1a077c(0x1fa)](S):[],'context':_0x424c4d,'attributes':_0x2ad92b,'resolvedAt':_0x4dc0e1,'resolvedBy':_0x529a12,'isFromAdapter':!0x0});}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1ef),(_0x4f3b7b,{commentThreadId:_0x4633ba,documentId:_0x567f58,context:_0x2385ca,unlinkedAt:_0x1bea3f,attributes:_0x476c94})=>{const _0xfec5b4=_0x58a8f8;_0x389668[_0xfec5b4(0x1ff)](_0x4633ba)&&_0x389668[_0xfec5b4(0x1e1)]({'threadId':_0x4633ba,'channelId':_0x567f58,'context':_0x2385ca,'unlinkedAt':_0x1bea3f,'attributes':_0x476c94,'isFromAdapter':!0x0});}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1c6),(_0x2cf98c,{commentThreadId:_0x3f29e6,resolvedBy:_0x256490,resolvedAt:_0x23f681})=>{const _0x455eed=_0x58a8f8,_0x51a489=_0x389668[_0x455eed(0x1ff)](_0x3f29e6);_0x51a489&&_0x51a489[_0x455eed(0x206)]({'resolvedBy':_0x256490,'resolvedAt':_0x23f681,'isFromAdapter':!0x0});}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1df),(_0xdaf1ae,{commentThreadId:_0x477a1f})=>{const _0x5aa881=_0x58a8f8,_0x160ab9=_0x389668[_0x5aa881(0x1ff)](_0x477a1f);_0x160ab9&&_0x160ab9[_0x5aa881(0x1b9)]({'isFromAdapter':!0x0});}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1d8),(_0xba2485,{commentThreadId:_0x113044})=>{const _0x228083=_0x58a8f8,_0x7c5b2f=_0x389668[_0x228083(0x1ff)](_0x113044);_0x7c5b2f&&_0x7c5b2f[_0x228083(0x1b7)]({'isFromAdapter':!0x0});}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1ce),(_0x4d6474,_0x32bf64)=>{const _0x18f13f=_0x58a8f8,_0x9dd678=_0x32bf64[_0x18f13f(0x202)],_0x407db6=_0x389668[_0x18f13f(0x1ff)](_0x9dd678);_0x407db6&&_0x407db6[_0x18f13f(0x1eb)]({...S(_0x32bf64),'isFromAdapter':!0x0});}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1e3),(_0x38a37f,{commentThreadId:_0x4db8c1,commentId:_0x44e1ff,content:_0x6295bb,attributes:_0x1df101})=>{const _0x2b3a43=_0x58a8f8,_0x358393=_0x389668[_0x2b3a43(0x1ff)](_0x4db8c1);if(_0x358393){const _0x1d9be1=_0x358393[_0x2b3a43(0x1cf)](_0x44e1ff);_0x1d9be1&&_0x1d9be1[_0x2b3a43(0x1f3)]({'content':_0x6295bb,'attributes':_0x1df101,'isFromAdapter':!0x0});}}),this[_0x58a8f8(0x1ab)](_0x420942,_0x58a8f8(0x1c0),(_0x21f672,{commentThreadId:_0x2f2c82,commentId:_0x2f7614})=>{const _0x22c69e=_0x58a8f8,_0xc702bd=_0x389668[_0x22c69e(0x1ff)](_0x2f2c82);if(_0xc702bd){const _0x14f8f0=_0xc702bd[_0x22c69e(0x1cf)](_0x2f7614);_0x14f8f0&&_0x14f8f0[_0x22c69e(0x1b7)]({'isFromAdapter':!0x0});}}),await this[_0x58a8f8(0x1ae)](_0x3c0baf);}[_0x49ccac(0x204)](){const _0x6272ff=_0x49ccac;if(this[_0x6272ff(0x1b5)]instanceof _0x5a0a34){const _0x366a09=this[_0x6272ff(0x1b5)][_0x6272ff(0x1e8)][_0x6272ff(0x1ca)](_0x6272ff(0x1a9));this[_0x6272ff(0x1f6)](_0x366a09);}}[_0x49ccac(0x1f6)](_0x5c687f){const _0x3c9313=_0x49ccac;if(!this[_0x3c9313(0x1f9)][_0x3c9313(0x1a7)](_0x5c687f))throw new _0x1836ed(_0x3c9313(0x1f7),null,{'channelId':_0x5c687f});this[_0x3c9313(0x1e9)](_0x5c687f)[_0x3c9313(0x1b1)](),this[_0x3c9313(0x1f9)][_0x3c9313(0x1d6)](_0x5c687f);}async[_0x49ccac(0x1fc)](){const _0x1a6aa2=_0x49ccac;for(const _0x4dff77 of this[_0x1a6aa2(0x1f9)][_0x1a6aa2(0x207)]())await this[_0x1a6aa2(0x1ae)](_0x4dff77);if(this[_0x1a6aa2(0x1b5)]instanceof _0x5a0a34){const _0x40880e=this[_0x1a6aa2(0x1b5)][_0x1a6aa2(0x1e8)][_0x1a6aa2(0x1ca)](_0x1a6aa2(0x1a9)),_0x184f6d=this[_0x1a6aa2(0x1b5)][_0x1a6aa2(0x1be)][_0x1a6aa2(0x1ca)](_0x423b45);_0x184f6d[_0x1a6aa2(0x200)](_0x40880e);const _0x5d6483=await this[_0x1a6aa2(0x1f9)][_0x1a6aa2(0x1ca)](_0x40880e)[_0x1a6aa2(0x1f8)]();_0x184f6d[_0x1a6aa2(0x1c5)](_0x40880e,_0x5d6483);}}async[_0x49ccac(0x1ae)](_0x2cfb8d){const _0x5a7c1e=_0x49ccac,{connection:_0xed1e8b}=this[_0x5a7c1e(0x1b5)][_0x5a7c1e(0x1be)][_0x5a7c1e(0x1ca)](_0x13a8eb),_0x30e5c6=this[_0x5a7c1e(0x1b5)][_0x5a7c1e(0x1be)][_0x5a7c1e(0x1ca)](_0x5a7c1e(0x1ee)),_0x28c8ef=this[_0x5a7c1e(0x1f9)][_0x5a7c1e(0x1ca)](_0x2cfb8d),_0x13256c=await _0x28c8ef[_0x5a7c1e(0x1dd)](_0xed1e8b);await this[_0x5a7c1e(0x1f2)](_0x13256c);const _0x222cd9=new Set(Array[_0x5a7c1e(0x1cc)](_0x30e5c6[_0x5a7c1e(0x1dc)]({'channelId':_0x2cfb8d}),_0x156faf=>_0x156faf['id']));for(const _0x1b6de3 of _0x13256c)_0x1b6de3[_0x5a7c1e(0x1b2)]||_0x222cd9[_0x5a7c1e(0x1d6)](_0x1b6de3[_0x5a7c1e(0x202)]);for(const _0x237912 of _0x222cd9)_0x30e5c6[_0x5a7c1e(0x1ff)](_0x237912)[_0x5a7c1e(0x1b7)]({'isFromAdapter':!0x0});for(const _0x1e655d of _0x13256c){let _0x5096ae=_0x30e5c6[_0x5a7c1e(0x1ff)](_0x1e655d[_0x5a7c1e(0x202)]);const {commentThreadId:_0x31c6dd,context:_0x257325,attributes:_0x1f4a97,resolvedBy:_0x4e8294,resolvedAt:_0x4d8c9d,unlinkedAt:_0xa3023c,deletedAt:_0x4b9d36}=_0x1e655d;if(_0x4b9d36)continue;_0x5096ae||(_0x5096ae=_0x30e5c6[_0x5a7c1e(0x1ad)]({'channelId':_0x2cfb8d,'threadId':_0x31c6dd,'context':_0x257325,'attributes':_0x1f4a97||{},'resolvedBy':_0x4e8294,'resolvedAt':_0x4d8c9d,'unlinkedAt':_0xa3023c,'isFromAdapter':!0x0}));const _0x5027ec=new Set(Array[_0x5a7c1e(0x1cc)](_0x5096ae[_0x5a7c1e(0x1af)],_0x4feda9=>_0x4feda9['id']));for(const _0x350dca of _0x1e655d[_0x5a7c1e(0x1af)])_0x5027ec[_0x5a7c1e(0x1d6)](_0x350dca[_0x5a7c1e(0x1b4)]);for(const _0x552733 of _0x5027ec)_0x5096ae[_0x5a7c1e(0x1cf)](_0x552733)[_0x5a7c1e(0x1b7)]({'isFromAdapter':!0x0});for(const _0x4ffba9 of _0x1e655d[_0x5a7c1e(0x1af)]){const _0x16cae7=_0x5096ae[_0x5a7c1e(0x1cf)](_0x4ffba9[_0x5a7c1e(0x1b4)]);_0x16cae7?_0x16cae7[_0x5a7c1e(0x1e0)]!==_0x4ffba9[_0x5a7c1e(0x1e0)]&&_0x16cae7[_0x5a7c1e(0x1f3)]({'content':_0x4ffba9[_0x5a7c1e(0x1e0)],'isFromAdapter':!0x0}):_0x5096ae[_0x5a7c1e(0x1eb)](Object[_0x5a7c1e(0x1d3)](S(_0x4ffba9),{'isFromAdapter':!0x0}));}}}[_0x49ccac(0x1e9)](_0x104a1b){const _0x6b8799=_0x49ccac;if(!this[_0x6b8799(0x1f9)][_0x6b8799(0x1a7)](_0x104a1b))throw new _0x1836ed(_0x6b8799(0x205),null,{'channelId':_0x104a1b});return this[_0x6b8799(0x1f9)][_0x6b8799(0x1ca)](_0x104a1b);}async[_0x49ccac(0x1f2)](_0x368ff9){const _0x5e4587=_0x49ccac,_0x508957=this[_0x5e4587(0x1b5)][_0x5e4587(0x1be)][_0x5e4587(0x1ca)](_0x384de9),{connection:_0x1d59dd}=this[_0x5e4587(0x1b5)][_0x5e4587(0x1be)][_0x5e4587(0x1ca)](_0x13a8eb),_0x49a3e4=new Set();for(const {resolvedBy:_0x270340,comments:_0x40cd80}of _0x368ff9){_0x270340&&!_0x508957[_0x5e4587(0x1e5)](_0x270340)&&_0x49a3e4[_0x5e4587(0x1f1)](_0x270340);for(const {userId:_0x5df6cd}of _0x40cd80)_0x508957[_0x5e4587(0x1e5)](_0x5df6cd)||_0x49a3e4[_0x5e4587(0x1f1)](_0x5df6cd);}if(0x0===_0x49a3e4[_0x5e4587(0x1c9)])return;const _0x306bbe=await _0x4907ac[_0x5e4587(0x1ed)](_0x1d59dd,Array[_0x5e4587(0x1cc)](_0x49a3e4));for(const _0x3e46e0 of _0x306bbe)_0x508957[_0x5e4587(0x1e5)](_0x3e46e0['id'])||_0x508957[_0x5e4587(0x1fe)](_0x3e46e0);}}async function F(_0x63dedf){const _0x49b67c=_0x49ccac;if(_0x49b67c(0x1a6)!==_0x63dedf[_0x49b67c(0x1a8)])throw _0x63dedf;}function k(_0x2652ef){const _0x2c007c=_0x49ccac;if((_0x357a0e=_0x2652ef)[_0x2c007c(0x1f4)][_0x2c007c(0x1c2)](_0x2c007c(0x1c8))||_0x357a0e[_0x2c007c(0x1f4)][_0x2c007c(0x1c2)](_0x2c007c(0x1b3))||_0x357a0e[_0x2c007c(0x1f4)][_0x2c007c(0x1c2)](_0x2c007c(0x1db)))return new Promise(()=>{});var _0x357a0e;throw _0x2652ef;}function S(_0x4bdc29){const _0x2374bc=_0x49ccac;return{'threadId':_0x4bdc29[_0x2374bc(0x202)],'commentId':_0x4bdc29[_0x2374bc(0x1b4)],'content':_0x4bdc29[_0x2374bc(0x1e0)],'createdAt':_0x4bdc29[_0x2374bc(0x1bd)],'authorId':_0x4bdc29[_0x2374bc(0x203)],'attributes':_0x4bdc29[_0x2374bc(0x208)]||{}};}
|
|
23
|
+
const _0x12cc2f=_0x5c79;(function(_0x4962f4,_0x2eaba6){const _0x51f7a8=_0x5c79,_0x5d721f=_0x4962f4();while(!![]){try{const _0x3754dc=-parseInt(_0x51f7a8(0x1e9))/0x1*(-parseInt(_0x51f7a8(0x1a7))/0x2)+parseInt(_0x51f7a8(0x1dc))/0x3*(parseInt(_0x51f7a8(0x1d5))/0x4)+parseInt(_0x51f7a8(0x1a8))/0x5*(parseInt(_0x51f7a8(0x1c2))/0x6)+parseInt(_0x51f7a8(0x1e4))/0x7+parseInt(_0x51f7a8(0x197))/0x8+-parseInt(_0x51f7a8(0x198))/0x9*(parseInt(_0x51f7a8(0x1be))/0xa)+parseInt(_0x51f7a8(0x1ac))/0xb*(-parseInt(_0x51f7a8(0x1ee))/0xc);if(_0x3754dc===_0x2eaba6)break;else _0x5d721f['push'](_0x5d721f['shift']());}catch(_0x11c510){_0x5d721f['push'](_0x5d721f['shift']());}}}(_0x2416,0x549b6));import{Context as _0x145262,ContextPlugin as _0x106e66}from'ckeditor5/src/core.js';import{CKEditorError as _0x2d11b1}from'ckeditor5/src/utils.js';import{Users as _0x2b92ca}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x29e0ad,User as _0x25743b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1f55cb}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x57278a}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x106e66{static [_0x12cc2f(0x1cd)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x29e0ad)());[_0x12cc2f(0x1e2)];static get[_0x12cc2f(0x1b0)](){const _0x22036f=_0x12cc2f;return[_0x1f55cb,_0x22036f(0x1e0),_0x57278a,_0x2b92ca];}static get[_0x12cc2f(0x1b7)](){const _0x197a86=_0x12cc2f;return _0x197a86(0x1cb);}static get[_0x12cc2f(0x1c1)](){return!0x0;}static get[_0x12cc2f(0x1b2)](){return!0x0;}constructor(_0x3e5753){const _0x3fc63d=_0x12cc2f;super(_0x3e5753),this[_0x3fc63d(0x1e2)]=new Map();}async[_0x12cc2f(0x1b1)](){const _0x3160ca=_0x12cc2f,_0x178e62=this[_0x3160ca(0x1aa)],_0x22e310=_0x178e62[_0x3160ca(0x1ad)][_0x3160ca(0x1a3)](_0x3160ca(0x1e0));if(_0x178e62[_0x3160ca(0x1ad)][_0x3160ca(0x1a3)](_0x1f55cb)[_0x3160ca(0x1d3)](this),_0x22e310[_0x3160ca(0x1b9)]={'addCommentThread':async({channelId:_0x3a6fca,threadId:_0x1dae85,comments:_0x2e64db,resolvedAt:_0x274e74,resolvedBy:_0x120f5b,context:_0x5264d5,attributes:_0x73d414})=>{const _0x391cab=_0x3160ca,_0x2dd835=await this[_0x391cab(0x19e)](_0x3a6fca)[_0x391cab(0x1ed)]({'commentThreadId':_0x1dae85,'comments':_0x2e64db[_0x391cab(0x1d2)](_0x4797ae=>function(_0x527074,_0x167523,_0x935387){const _0x1c9afc=_0x391cab;return{'commentThreadId':_0x935387,'commentId':_0x527074[_0x1c9afc(0x1c5)],'userId':_0x527074[_0x1c9afc(0x1d9)],'content':_0x527074[_0x1c9afc(0x1b5)],'documentId':_0x167523,'createdAt':_0x527074[_0x1c9afc(0x1c3)],'attributes':_0x527074[_0x1c9afc(0x1d6)]||{}};}(_0x4797ae,_0x3a6fca,_0x1dae85)),'resolvedAt':_0x274e74,'resolvedBy':_0x120f5b,'context':_0x5264d5,'attributes':_0x73d414})[_0x391cab(0x196)](T);return{'threadId':_0x2dd835[_0x391cab(0x1f2)],'comments':_0x2dd835[_0x391cab(0x1db)]};},'getCommentThread':async({channelId:_0x4ebef5,threadId:_0x276e90})=>{const _0x33b410=_0x3160ca,_0x38589a=await this[_0x33b410(0x19e)](_0x4ebef5)[_0x33b410(0x1a0)](_0x276e90)[_0x33b410(0x196)](ot)[_0x33b410(0x196)](T);return _0x38589a?_0x38589a[_0x33b410(0x1e7)]?null:(await this[_0x33b410(0x1de)]([_0x38589a]),{'threadId':_0x38589a[_0x33b410(0x1f2)],'comments':_0x38589a[_0x33b410(0x1db)][_0x33b410(0x1d2)](nt),'context':_0x38589a[_0x33b410(0x1aa)],'resolvedAt':_0x38589a[_0x33b410(0x1c8)],'resolvedBy':_0x38589a[_0x33b410(0x1b4)],'attributes':_0x38589a[_0x33b410(0x1d6)]||{}}):null;},'updateCommentThread':async({channelId:_0x553667,threadId:_0x34dde0,context:_0xae47d1,unlinkedAt:_0x1b67c5,attributes:_0x47dc85})=>this[_0x3160ca(0x19e)](_0x553667)[_0x3160ca(0x1c6)]({'commentThreadId':_0x34dde0,'context':_0xae47d1,'attributes':_0x47dc85,'unlinkedAt':_0x1b67c5})[_0x3160ca(0x196)](ot)[_0x3160ca(0x196)](T),'resolveCommentThread':async({channelId:_0x463efd,threadId:_0x28fad5})=>{const _0x41bb5a=_0x3160ca,_0x2c494f=await this[_0x41bb5a(0x19e)](_0x463efd)[_0x41bb5a(0x1af)](_0x28fad5)[_0x41bb5a(0x196)](ot)[_0x41bb5a(0x196)](T);return{'threadId':_0x2c494f[_0x41bb5a(0x1f2)],'resolvedAt':_0x2c494f[_0x41bb5a(0x1c8)],'resolvedBy':_0x2c494f[_0x41bb5a(0x1b4)]};},'reopenCommentThread':async({channelId:_0x4cd26b,threadId:_0x190bb2})=>this[_0x3160ca(0x19e)](_0x4cd26b)[_0x3160ca(0x1c0)](_0x190bb2)[_0x3160ca(0x196)](ot)[_0x3160ca(0x196)](T),'removeCommentThread':({channelId:_0x1b76b1,threadId:_0x37c8c0})=>this[_0x3160ca(0x19e)](_0x1b76b1)[_0x3160ca(0x1c4)](_0x37c8c0)[_0x3160ca(0x196)](ot)[_0x3160ca(0x196)](T),'addComment':({channelId:_0x5b895f,threadId:_0xbe8819,commentId:_0x3e339d,content:_0x40b0d2,attributes:_0x11455e})=>this[_0x3160ca(0x19e)](_0x5b895f)[_0x3160ca(0x1ae)](_0xbe8819,_0x3e339d,_0x40b0d2,_0x11455e)[_0x3160ca(0x196)](T),'updateComment':({channelId:_0x57c3a3,threadId:_0x39b642,commentId:_0x35bc5e,content:_0x7bdbac,attributes:_0x4d8ac9})=>this[_0x3160ca(0x19e)](_0x57c3a3)[_0x3160ca(0x1a6)](_0x39b642,_0x35bc5e,_0x7bdbac,_0x4d8ac9)[_0x3160ca(0x196)](ot)[_0x3160ca(0x196)](T),'removeComment':({channelId:_0x49bfe1,threadId:_0x2abab3,commentId:_0x1619ed})=>this[_0x3160ca(0x19e)](_0x49bfe1)[_0x3160ca(0x1b8)](_0x2abab3,_0x1619ed)[_0x3160ca(0x196)](ot)[_0x3160ca(0x196)](T)},_0x178e62 instanceof _0x145262){const _0x462829=_0x178e62[_0x3160ca(0x1a5)][_0x3160ca(0x1a3)](_0x3160ca(0x1c9)),_0x58568b=_0x178e62[_0x3160ca(0x1ad)][_0x3160ca(0x1a3)](_0x57278a);await this[_0x3160ca(0x1f1)](_0x462829);const _0x1fa04a=await this[_0x3160ca(0x1e2)][_0x3160ca(0x1a3)](_0x462829)[_0x3160ca(0x1ab)]();this[_0x3160ca(0x1e5)](_0x58568b,_0x3160ca(0x1a1)+_0x462829,(_0x4ed55c,{session:_0x1e3a50})=>{const _0x43ba8d=_0x3160ca;_0x1e3a50['id']===_0x58568b[_0x43ba8d(0x1ef)]&&(_0x4ed55c[_0x43ba8d(0x1eb)](),this[_0x43ba8d(0x1aa)][_0x43ba8d(0x1ad)][_0x43ba8d(0x1a3)](_0x43ba8d(0x1bc))[_0x43ba8d(0x1d4)](_0x1e3a50[_0x43ba8d(0x1e8)],_0x462829));}),_0x58568b[_0x3160ca(0x19f)](_0x462829,_0x1fa04a);}}async[_0x12cc2f(0x1f1)](_0x145c52){const _0x4a60af=_0x12cc2f;if(this[_0x4a60af(0x1e2)][_0x4a60af(0x1d0)](_0x145c52))throw new _0x2d11b1(_0x4a60af(0x1a2),null,{'channelId':_0x145c52});const _0x42d956=this[_0x4a60af(0x1aa)][_0x4a60af(0x1ad)][_0x4a60af(0x1a3)](_0x4a60af(0x1e0)),_0x55f729=new CloudServicesCommentsAdapter[(_0x4a60af(0x1cd))](_0x145c52);this[_0x4a60af(0x1e2)][_0x4a60af(0x1f9)](_0x145c52,_0x55f729),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1ca),(_0x28bb6e,_0x1be6c1)=>{const _0x3b2f3f=_0x4a60af,{commentThreadId:_0x24723c,documentId:_0x2f2cd1,context:_0xf2cdaa,attributes:_0x4c60c7,resolvedAt:_0x397c36,resolvedBy:_0x15f6c8,comments:_0x376ccc}=_0x1be6c1;_0x42d956[_0x3b2f3f(0x1a0)](_0x24723c)||_0x42d956[_0x3b2f3f(0x1ed)]({'threadId':_0x24723c,'channelId':_0x2f2cd1,'comments':_0x376ccc?_0x376ccc[_0x3b2f3f(0x1d2)](nt):[],'context':_0xf2cdaa,'attributes':_0x4c60c7,'resolvedAt':_0x397c36,'resolvedBy':_0x15f6c8,'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1ba),(_0x4d1be6,{commentThreadId:_0x586a52,documentId:_0x11f972,context:_0x342a01,unlinkedAt:_0x159130,attributes:_0x8301f4})=>{const _0x4fb87a=_0x4a60af;_0x42d956[_0x4fb87a(0x1a0)](_0x586a52)&&_0x42d956[_0x4fb87a(0x1c6)]({'threadId':_0x586a52,'channelId':_0x11f972,'context':_0x342a01,'unlinkedAt':_0x159130,'attributes':_0x8301f4,'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1bb),(_0x5030eb,{commentThreadId:_0x15ece0,resolvedBy:_0x496958,resolvedAt:_0x3102f5})=>{const _0x5aba55=_0x4a60af,_0x3ad6ac=_0x42d956[_0x5aba55(0x1a0)](_0x15ece0);_0x3ad6ac&&_0x3ad6ac[_0x5aba55(0x1d8)]({'resolvedBy':_0x496958,'resolvedAt':_0x3102f5,'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1d7),(_0x1d99a7,{commentThreadId:_0x16abd5})=>{const _0xb8be06=_0x4a60af,_0x425809=_0x42d956[_0xb8be06(0x1a0)](_0x16abd5);_0x425809&&_0x425809[_0xb8be06(0x19a)]({'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1c7),(_0x4f560c,{commentThreadId:_0x3adce6})=>{const _0x570e5a=_0x4a60af,_0x510a3e=_0x42d956[_0x570e5a(0x1a0)](_0x3adce6);_0x510a3e&&_0x510a3e[_0x570e5a(0x1f6)]({'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1d1),(_0x465d92,_0x5f54d6)=>{const _0x3f9109=_0x4a60af,_0x21122a=_0x5f54d6[_0x3f9109(0x1f2)],_0x1f99c1=_0x42d956[_0x3f9109(0x1a0)](_0x21122a);_0x1f99c1&&_0x1f99c1[_0x3f9109(0x1ae)]({...nt(_0x5f54d6),'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1f5),(_0xfabae8,{commentThreadId:_0x3ddabe,commentId:_0xa8e2f4,content:_0x17cc00,attributes:_0x1c2379})=>{const _0x976435=_0x4a60af,_0x4afda7=_0x42d956[_0x976435(0x1a0)](_0x3ddabe);if(_0x4afda7){const _0x1a391f=_0x4afda7[_0x976435(0x1e6)](_0xa8e2f4);_0x1a391f&&_0x1a391f[_0x976435(0x1ea)]({'content':_0x17cc00,'attributes':_0x1c2379,'isFromAdapter':!0x0});}}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1ec),(_0x42b5a0,{commentThreadId:_0x7b7638,commentId:_0x2bfe32})=>{const _0x2fa286=_0x4a60af,_0x2439ed=_0x42d956[_0x2fa286(0x1a0)](_0x7b7638);if(_0x2439ed){const _0x563991=_0x2439ed[_0x2fa286(0x1e6)](_0x2bfe32);_0x563991&&_0x563991[_0x2fa286(0x1f6)]({'isFromAdapter':!0x0});}}),await this[_0x4a60af(0x1bd)](_0x145c52);}[_0x12cc2f(0x1f8)](){const _0x55b5d4=_0x12cc2f;if(this[_0x55b5d4(0x1aa)]instanceof _0x145262){const _0x2b5a9a=this[_0x55b5d4(0x1aa)][_0x55b5d4(0x1a5)][_0x55b5d4(0x1a3)](_0x55b5d4(0x1c9));this[_0x55b5d4(0x1a4)](_0x2b5a9a);}}[_0x12cc2f(0x1a4)](_0x308d88){const _0x4cb6d3=_0x12cc2f;if(!this[_0x4cb6d3(0x1e2)][_0x4cb6d3(0x1d0)](_0x308d88))throw new _0x2d11b1(_0x4cb6d3(0x1e1),null,{'channelId':_0x308d88});this[_0x4cb6d3(0x19e)](_0x308d88)[_0x4cb6d3(0x1f0)](),this[_0x4cb6d3(0x1e2)][_0x4cb6d3(0x1b3)](_0x308d88);}async[_0x12cc2f(0x1da)](){const _0x3d00cf=_0x12cc2f;for(const _0x3fa53f of this[_0x3d00cf(0x1e2)][_0x3d00cf(0x1df)]())await this[_0x3d00cf(0x1bd)](_0x3fa53f);if(this[_0x3d00cf(0x1aa)]instanceof _0x145262){const _0x2de5c7=this[_0x3d00cf(0x1aa)][_0x3d00cf(0x1a5)][_0x3d00cf(0x1a3)](_0x3d00cf(0x1c9)),_0x2b96b9=this[_0x3d00cf(0x1aa)][_0x3d00cf(0x1ad)][_0x3d00cf(0x1a3)](_0x57278a);_0x2b96b9[_0x3d00cf(0x1fb)](_0x2de5c7);const _0x4b115e=await this[_0x3d00cf(0x1e2)][_0x3d00cf(0x1a3)](_0x2de5c7)[_0x3d00cf(0x1ab)]();_0x2b96b9[_0x3d00cf(0x19f)](_0x2de5c7,_0x4b115e);}}async[_0x12cc2f(0x1bd)](_0x3ec7f3){const _0x2f265a=_0x12cc2f,{connection:_0xe891ca}=this[_0x2f265a(0x1aa)][_0x2f265a(0x1ad)][_0x2f265a(0x1a3)](_0x1f55cb),_0xe5fe0b=this[_0x2f265a(0x1aa)][_0x2f265a(0x1ad)][_0x2f265a(0x1a3)](_0x2f265a(0x1e0)),_0x2b4bd0=this[_0x2f265a(0x1e2)][_0x2f265a(0x1a3)](_0x3ec7f3),_0x1075f2=await _0x2b4bd0[_0x2f265a(0x1bf)](_0xe891ca);await this[_0x2f265a(0x1de)](_0x1075f2);const _0x2db2cf=new Set(Array[_0x2f265a(0x1e3)](_0xe5fe0b[_0x2f265a(0x19d)]({'channelId':_0x3ec7f3}),_0x54b2bf=>_0x54b2bf['id']));for(const _0x58dd33 of _0x1075f2)_0x58dd33[_0x2f265a(0x1e7)]||_0x2db2cf[_0x2f265a(0x1b3)](_0x58dd33[_0x2f265a(0x1f2)]);for(const _0x300fc9 of _0x2db2cf)_0xe5fe0b[_0x2f265a(0x1a0)](_0x300fc9)[_0x2f265a(0x1f6)]({'isFromAdapter':!0x0});for(const _0x4c9d85 of _0x1075f2){let _0xa88618=_0xe5fe0b[_0x2f265a(0x1a0)](_0x4c9d85[_0x2f265a(0x1f2)]);const {commentThreadId:_0x582712,context:_0x4d93e9,attributes:_0x431159,resolvedBy:_0x2bb1f2,resolvedAt:_0x513159,unlinkedAt:_0x537466,deletedAt:_0x362b6e}=_0x4c9d85;if(_0x362b6e)continue;_0xa88618||(_0xa88618=_0xe5fe0b[_0x2f265a(0x1ed)]({'channelId':_0x3ec7f3,'threadId':_0x582712,'context':_0x4d93e9,'attributes':_0x431159||{},'resolvedBy':_0x2bb1f2,'resolvedAt':_0x513159,'unlinkedAt':_0x537466,'isFromAdapter':!0x0}));const _0xfcce28=new Set(Array[_0x2f265a(0x1e3)](_0xa88618[_0x2f265a(0x1db)],_0x105ac3=>_0x105ac3['id']));for(const _0x3637f1 of _0x4c9d85[_0x2f265a(0x1db)])_0xfcce28[_0x2f265a(0x1b3)](_0x3637f1[_0x2f265a(0x1c5)]);for(const _0x2609b4 of _0xfcce28)_0xa88618[_0x2f265a(0x1e6)](_0x2609b4)[_0x2f265a(0x1f6)]({'isFromAdapter':!0x0});for(const _0x4d85d8 of _0x4c9d85[_0x2f265a(0x1db)]){const _0x49e1b3=_0xa88618[_0x2f265a(0x1e6)](_0x4d85d8[_0x2f265a(0x1c5)]);_0x49e1b3?_0x49e1b3[_0x2f265a(0x1b5)]!==_0x4d85d8[_0x2f265a(0x1b5)]&&_0x49e1b3[_0x2f265a(0x1ea)]({'content':_0x4d85d8[_0x2f265a(0x1b5)],'isFromAdapter':!0x0}):_0xa88618[_0x2f265a(0x1ae)](Object[_0x2f265a(0x1f4)](nt(_0x4d85d8),{'isFromAdapter':!0x0}));}}}[_0x12cc2f(0x19e)](_0x251e7d){const _0x209090=_0x12cc2f;if(!this[_0x209090(0x1e2)][_0x209090(0x1d0)](_0x251e7d))throw new _0x2d11b1(_0x209090(0x1dd),null,{'channelId':_0x251e7d});return this[_0x209090(0x1e2)][_0x209090(0x1a3)](_0x251e7d);}async[_0x12cc2f(0x1de)](_0x2d12b8){const _0x3b0284=_0x12cc2f,_0x2ffb80=this[_0x3b0284(0x1aa)][_0x3b0284(0x1ad)][_0x3b0284(0x1a3)](_0x2b92ca),{connection:_0x164385}=this[_0x3b0284(0x1aa)][_0x3b0284(0x1ad)][_0x3b0284(0x1a3)](_0x1f55cb),_0x25f58b=new Set();for(const {resolvedBy:_0x2bc11d,comments:_0x12446f}of _0x2d12b8){_0x2bc11d&&!_0x2ffb80[_0x3b0284(0x199)](_0x2bc11d)&&_0x25f58b[_0x3b0284(0x194)](_0x2bc11d);for(const {userId:_0x3baf33}of _0x12446f)_0x2ffb80[_0x3b0284(0x199)](_0x3baf33)||_0x25f58b[_0x3b0284(0x194)](_0x3baf33);}if(0x0===_0x25f58b[_0x3b0284(0x19c)])return;const _0x5e0284=await _0x25743b[_0x3b0284(0x1f7)](_0x164385,Array[_0x3b0284(0x1e3)](_0x25f58b));for(const _0x4a2c83 of _0x5e0284)_0x2ffb80[_0x3b0284(0x199)](_0x4a2c83['id'])||_0x2ffb80[_0x3b0284(0x195)](_0x4a2c83);}}async function ot(_0x266ae9){const _0x5d6cf9=_0x12cc2f;if(_0x5d6cf9(0x1f3)!==_0x266ae9[_0x5d6cf9(0x1ce)])throw _0x266ae9;}function _0x5c79(_0x147ce4,_0x1169de){const _0x241659=_0x2416();return _0x5c79=function(_0x5c7985,_0x3551f3){_0x5c7985=_0x5c7985-0x194;let _0x512e4d=_0x241659[_0x5c7985];return _0x512e4d;},_0x5c79(_0x147ce4,_0x1169de);}function T(_0x1c18f6){const _0x2992d5=_0x12cc2f;if((_0x560dee=_0x1c18f6)[_0x2992d5(0x19b)][_0x2992d5(0x1cc)](_0x2992d5(0x1b6))||_0x560dee[_0x2992d5(0x19b)][_0x2992d5(0x1cc)](_0x2992d5(0x1a9))||_0x560dee[_0x2992d5(0x19b)][_0x2992d5(0x1cc)](_0x2992d5(0x1fa)))return new Promise(()=>{});var _0x560dee;throw _0x1c18f6;}function _0x2416(){const _0x135db6=['reconnect','comments','15CBOASa','cloudservicescommentsadapter-service-not-exist','_fetchMissingUsersForThreads','keys','CommentsRepository','cloudservicescommentsadapter-disconnect-not-exist','_services','from','1106175iWoXBv','listenTo','getComment','deletedAt','permissions','5sDOfEu','update','off','commentRemoved','addCommentThread','24QXmoLN','mySessionId','disconnect','_setUpService','commentThreadId','404','assign','commentUpdated','remove','getMany','destroy','set','cloud-services-internal-error:\x20Request\x20timeout.','unregister','add','addUser','catch','4952376EyoKQB','41931tmFPeN','getUser','reopen','message','size','getCommentThreads','_getService','register','getCommentThread','sessionAdd:','cloudservicescommentsadapter-connect-already-connected','get','_terminateService','config','updateComment','147844KARQUX','16510DujPFJ','cloud-services-internal-error:\x20Not\x20connected.','context','getConnectedSessions','8995393SgSpNt','plugins','addComment','resolveCommentThread','requires','init','isPremiumPlugin','delete','resolvedBy','content','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','pluginName','removeComment','adapter','commentThreadUpdated','commentThreadResolved','Permissions','_connectService','50BmOaGV','connect','reopenCommentThread','isOfficialPlugin','1182yOnIie','createdAt','removeCommentThread','commentId','updateCommentThread','commentThreadRemoved','resolvedAt','collaboration.channelId','commentThreadAdded','CloudServicesCommentsAdapter','startsWith','CommentsService','code','userId','has','commentAdded','map','addToReconnectionStack','setPermissions','166556KqeouF','attributes','commentThreadReopened','resolve','authorId'];_0x2416=function(){return _0x135db6;};return _0x2416();}function nt(_0x57141e){const _0x289aec=_0x12cc2f;return{'threadId':_0x57141e[_0x289aec(0x1f2)],'commentId':_0x57141e[_0x289aec(0x1c5)],'content':_0x57141e[_0x289aec(0x1b5)],'createdAt':_0x57141e[_0x289aec(0x1c3)],'authorId':_0x57141e[_0x289aec(0x1cf)],'attributes':_0x57141e[_0x289aec(0x1d6)]||{}};}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x1f63ec)());[_0x298827(0xfa)];[_0x298827(0x165)];[_0x298827(0x153)];[_0x298827(0x1cd)];[_0x298827(0xee)];[_0x298827(0x157)];[_0x298827(0xc9)];[_0x298827(0x13b)];[_0x298827(0x1c2)];[_0x298827(0x196)];[_0x298827(0x17f)];[_0x298827(0x111)];[_0x298827(0x178)];[_0x298827(0x18a)];[_0x298827(0x176)];[_0x298827(0x158)];[_0x298827(0x144)];[_0x298827(0x106)];static get[_0x298827(0x15c)](){return[_0x50ca4f,_0x33a942,_0x57b63e,_0x5ebdf4,_0x4e6cae,_0x1d80c4];}static get[_0x298827(0x184)](){const _0xa290ec=_0x298827;return _0xa290ec(0xf4);}static get[_0x298827(0xfd)](){return!0x0;}static get[_0x298827(0x17a)](){return!0x0;}get[_0x298827(0x1bd)](){const _0x56eb80=_0x298827;return this[_0x56eb80(0x16d)]+this[_0x56eb80(0xfa)];}get[_0x298827(0x16d)](){const _0x6c0301=_0x298827;return this[_0x6c0301(0x153)][_0x6c0301(0x12c)]-this[_0x6c0301(0xfa)];}get[_0x298827(0x18c)](){const _0x1c411b=_0x298827,_0x8852e5=this[_0x1c411b(0x153)][_0x1c411b(0x1be)]();for(let _0x3debf=_0x8852e5[_0x1c411b(0x193)]-0x1;_0x3debf>=0x0;_0x3debf--){const _0x3b965d=_0x8852e5[_0x3debf];if(!this[_0x1c411b(0x144)][_0x1c411b(0x11b)](_0x3b965d))return _0x3b965d[_0x1c411b(0xde)]+0x1-this[_0x1c411b(0xfa)];}return 0x0;}constructor(_0x416a10){const _0x395314=_0x298827;if(super(_0x416a10),this[_0x395314(0xfa)]=0x0,this[_0x395314(0x165)]=null,this[_0x395314(0x153)]=new _0x56f613(),this[_0x395314(0xd8)][_0x395314(0x18d)][_0x395314(0x18f)](_0x395314(0x19f),{}),this[_0x395314(0x1cd)]=this[_0x395314(0xd8)][_0x395314(0x18d)][_0x395314(0x149)](_0x395314(0x171)),!this[_0x395314(0x1cd)])throw new _0x401e17(_0x395314(0xcf),this);const _0x1ee832=_0x416a10[_0x395314(0x18d)][_0x395314(0x149)](_0x395314(0xd0))||_0x162174;this[_0x395314(0xee)]=new RealTimeCollaborationClient[(_0x395314(0x124))](_0x1ee832,this[_0x395314(0x1cd)]),this[_0x395314(0x157)]=this[_0x395314(0xd8)][_0x395314(0x146)][_0x395314(0x17e)],this[_0x395314(0xc9)]=new _0x5e70fd(),this[_0x395314(0x13b)]=[],this[_0x395314(0x1c2)]=new WeakSet(),this[_0x395314(0x196)]=new Set(),this[_0x395314(0x143)](_0x395314(0x1a2),!0x1),this[_0x395314(0x143)](_0x395314(0x132),!0x1),this[_0x395314(0x17f)]=null,this[_0x395314(0x111)]=!0x1,this[_0x395314(0x178)]=null,this[_0x395314(0x18a)]=0x12c,this[_0x395314(0x176)]=this[_0x395314(0x18a)],this[_0x395314(0x158)]=null,this[_0x395314(0x144)]=new WeakSet(),this[_0x395314(0x106)]=new J(this[_0x395314(0x144)]);}[_0x298827(0x1cb)](){const _0xc040fa=_0x298827,_0x1ebb9d=this[_0xc040fa(0xd8)],_0x278530=_0x1ebb9d[_0xc040fa(0x195)][_0xc040fa(0x149)](_0x4e6cae),_0x4d23a2=_0x1ebb9d[_0xc040fa(0x195)][_0xc040fa(0x149)](_0x50ca4f);this[_0xc040fa(0x1b1)](_0x278530,_0xc040fa(0x1b6),(_0x4e98e3,_0x176b4d)=>{const _0x10294b=_0xc040fa,_0x5771a1=_0x176b4d[0x0];_0x5771a1[_0x10294b(0xfe)]&&(_0x4e98e3[_0x10294b(0x1bb)]=_0x278530[_0x10294b(0x12e)](_0x5771a1[_0x10294b(0xfe)]),_0x4e98e3[_0x10294b(0x166)]()),null===_0x5771a1[_0x10294b(0xfe)]&&(_0x4e98e3[_0x10294b(0x1bb)]=null,_0x4e98e3[_0x10294b(0x166)]());},{'priority':_0xc040fa(0x1ac)}),this[_0xc040fa(0x1b1)](_0x1ebb9d[_0xc040fa(0x146)][_0xc040fa(0x17e)][_0xc040fa(0x180)],_0xc040fa(0x1a8),(_0x24190b,_0x4d7fa6)=>{const _0x2924cf=_0xc040fa;_0x4d7fa6[_0x2924cf(0x10b)]&&this[_0x2924cf(0x14b)]();}),this[_0xc040fa(0x1b1)](_0x1ebb9d[_0xc040fa(0x14f)][_0xc040fa(0xf3)],_0xc040fa(0x1cc),()=>{const _0x1f9eb7=_0xc040fa;this[_0x1f9eb7(0x14b)]();}),this[_0xc040fa(0x141)](),_0x1ebb9d[_0xc040fa(0x146)]['on'](_0xc040fa(0x14d),(_0x5b5c0d,_0x18639a)=>{const _0x34399a=_0xc040fa,_0x1ef625=_0x18639a[0x0];_0x1ef625[_0x34399a(0xfb)]&&(this[_0x34399a(0x167)](_0x1ef625),this[_0x34399a(0x16e)]()&&this[_0x34399a(0x1a4)]());}),this[_0xc040fa(0xe6)](),this[_0xc040fa(0x1bc)](_0xc040fa(0x13e))['to'](_0x4d23a2,_0xc040fa(0xf2),this,_0xc040fa(0x132),(_0x5f5119,_0x4afaa8)=>_0xc040fa(0x1a1)===_0x5f5119&&!_0x4afaa8),this['on'](_0xc040fa(0x138),()=>{const _0x229b00=_0xc040fa;this[_0x229b00(0x13e)]?_0x1ebb9d[_0x229b00(0x131)](_0x229b00(0x164)):_0x1ebb9d[_0x229b00(0x181)](_0x229b00(0x164));}),this[_0xc040fa(0x13e)]?_0x1ebb9d[_0xc040fa(0x131)](_0xc040fa(0x164)):_0x1ebb9d[_0xc040fa(0x181)](_0xc040fa(0x164)),this[_0xc040fa(0x143)](_0xc040fa(0x105),!0x1);}async[_0x298827(0x197)](){const _0x4e35b9=_0x298827,_0x49392c=this[_0x4e35b9(0xd8)][_0x4e35b9(0x195)][_0x4e35b9(0x149)](_0x33a942),_0x3a8cc0=this[_0x4e35b9(0xd8)][_0x4e35b9(0x195)][_0x4e35b9(0x149)](_0x50ca4f);try{this[_0x4e35b9(0x1a2)]=!0x0,_0x49392c[_0x4e35b9(0xe4)](this[_0x4e35b9(0x1cd)]);const _0x22b566=await this[_0x4e35b9(0xee)][_0x4e35b9(0x197)](_0x3a8cc0[_0x4e35b9(0x13c)],this[_0x4e35b9(0x18c)]);await this[_0x4e35b9(0x156)](_0x22b566)&&(this[_0x4e35b9(0x1a2)]=!0x1,this[_0x4e35b9(0x115)]());const _0x21dd42=await this[_0x4e35b9(0xee)][_0x4e35b9(0xed)]();_0x49392c[_0x4e35b9(0x133)](this[_0x4e35b9(0x1cd)],_0x21dd42),this[_0x4e35b9(0x112)](),this[_0x4e35b9(0x105)]=!0x0;}catch(_0x40ee12){if(function(_0x39da31){const _0x52b08e=_0x4e35b9;return _0x52b08e(0x11e)===_0x39da31[_0x52b08e(0x10f)];}(_0x40ee12)&&this[_0x4e35b9(0x165)])await this[_0x4e35b9(0x1b8)]();else{if(function(_0x2bb39c){const _0x3546fd=_0x4e35b9;return _0x3546fd(0x120)===_0x2bb39c[_0x3546fd(0x10f)];}(_0x40ee12)){const _0x3e7f2a=_0x53794(this[_0x4e35b9(0xd8)][_0x4e35b9(0x10c)],_0x4e35b9(0x183));this[_0x4e35b9(0x1c6)](_0x3e7f2a);}else{if(!(_0x40ee12 instanceof $))throw _0x40ee12;this[_0x4e35b9(0x1c6)]();}}}}[_0x298827(0x13d)](){const _0x10acb1=_0x298827,_0x1b2c5e=this[_0x10acb1(0xd8)][_0x10acb1(0x195)][_0x10acb1(0x149)](_0x50ca4f),_0x3a1aab=this[_0x10acb1(0xd8)][_0x10acb1(0x195)][_0x10acb1(0x149)](_0x33a942);this[_0x10acb1(0xd8)][_0x10acb1(0x181)](_0x10acb1(0xeb)),_0x3a1aab[_0x10acb1(0xfc)][_0x10acb1(0x11b)](this[_0x10acb1(0x1cd)])&&_0x3a1aab[_0x10acb1(0xe4)](this[_0x10acb1(0x1cd)]),_0x1b2c5e[_0x10acb1(0x189)](this),this[_0x10acb1(0x199)](),super[_0x10acb1(0x13d)]();}async[_0x298827(0x156)](_0x411c78){const _0x4af6d4=_0x298827;if(this[_0x4af6d4(0x165)]!==_0x411c78[_0x4af6d4(0x165)]&&this[_0x4af6d4(0x158)]!==_0x411c78[_0x4af6d4(0x117)])throw new $();return this[_0x4af6d4(0x165)]=_0x411c78[_0x4af6d4(0x165)],this[_0x4af6d4(0x1bf)]([],{..._0x411c78,'wereChangesApplied':!0x1,'data':_0x411c78[_0x4af6d4(0xe1)]},_0x4af6d4(0x197));}async[_0x298827(0xea)](_0x18dd74,_0x488a6f=!0x1){const _0x4335a6=_0x298827,{connection:_0x59a28b}=this[_0x4335a6(0xd8)][_0x4335a6(0x195)][_0x4335a6(0x149)](_0x50ca4f);RealTimeCollaborationClient[_0x4335a6(0x124)][_0x4335a6(0xed)](_0x59a28b,this[_0x4335a6(0x1cd)])[_0x4335a6(0x101)](_0x44742a=>this[_0x4335a6(0x127)](_0x44742a))[_0x4335a6(0xd3)](_0x201397=>{const _0x508101=_0x4335a6;this[_0x508101(0x17d)](_0x508101(0xdf),_0x201397);}),this[_0x4335a6(0x1b1)](this[_0x4335a6(0xee)],_0x4335a6(0xf7),this[_0x4335a6(0x155)][_0x4335a6(0x1bc)](this)),this[_0x4335a6(0x1b1)](this[_0x4335a6(0xee)],_0x4335a6(0x15d),(_0x2cb99f,_0x49613d)=>{const _0x6f9ccb=_0x4335a6;this[_0x6f9ccb(0x17d)](_0x6f9ccb(0x152),_0x49613d);}),this[_0x4335a6(0x1b1)](this[_0x4335a6(0xee)],_0x4335a6(0x134),()=>{const _0x1ca917=_0x4335a6;this[_0x1ca917(0x105)]=!0x1;});const _0x1c3cbf=this[_0x4335a6(0x106)][_0x4335a6(0xf8)](_0x18dd74);this[_0x4335a6(0x1a2)]=!0x0;const _0x1639bf=await this[_0x4335a6(0xee)][_0x4335a6(0xdb)](_0x59a28b,this[_0x4335a6(0x188)](_0x18dd74),_0x1c3cbf);if(this[_0x4335a6(0x165)]=_0x1639bf[_0x4335a6(0x165)],_0x488a6f){if(!_0x1639bf[_0x4335a6(0xe2)])return void this[_0x4335a6(0x1c6)]();this[_0x4335a6(0x1a2)]=!0x1,this[_0x4335a6(0x115)](),this[_0x4335a6(0x153)][_0x4335a6(0x12d)](),this[_0x4335a6(0xfa)]=_0x1639bf[_0x4335a6(0x107)],this[_0x4335a6(0x153)][_0x4335a6(0x12c)]=this[_0x4335a6(0xfa)],await this[_0x4335a6(0x1bf)](_0x18dd74,_0x1639bf,_0x4335a6(0x145));}else await this[_0x4335a6(0x15e)](_0x1639bf,_0x18dd74);this[_0x4335a6(0x112)](),this[_0x4335a6(0x105)]=!0x0;}[_0x298827(0x112)](){const _0x6a8d20=_0x298827,_0x1c9e45=this[_0x6a8d20(0xd8)][_0x6a8d20(0x195)][_0x6a8d20(0x149)](_0x33a942),_0x14685a=this[_0x6a8d20(0xd8)][_0x6a8d20(0x195)][_0x6a8d20(0x149)](_0x57b63e),_0x5a40aa=_0x1c9e45[_0x6a8d20(0xfc)][_0x6a8d20(0x149)](this[_0x6a8d20(0x1cd)]);_0x5a40aa&&_0x5a40aa[_0x6a8d20(0x193)]>0x1?_0x14685a[_0x6a8d20(0x142)]():this[_0x6a8d20(0x1b1)](_0x1c9e45,_0x6a8d20(0x1c0)+this[_0x6a8d20(0x1cd)],()=>{const _0x4b9ddb=_0x6a8d20;0x2===_0x1c9e45[_0x4b9ddb(0xfc)][_0x4b9ddb(0x149)](this[_0x4b9ddb(0x1cd)])[_0x4b9ddb(0x193)]&&_0x14685a[_0x4b9ddb(0x142)]();});}async[_0x298827(0x155)](_0x26992d,_0x4de62b,_0x43ddcc,_0x1dabbe){const _0x453624=_0x298827;if(!this[_0x453624(0x1a2)]&&this[_0x453624(0x157)][_0x453624(0x12c)]==_0x4de62b){const _0x2b7c0e=this[_0x453624(0x1a3)](_0x43ddcc,_0x1dabbe);await this[_0x453624(0x16b)](_0x2b7c0e),this[_0x453624(0x100)](_0x2b7c0e,_0x4de62b,_0x43ddcc[_0x453624(0x117)])||this[_0x453624(0x17d)](_0x453624(0x1aa));}}async[_0x298827(0x1b8)](){const _0x196f78=_0x298827;this[_0x196f78(0x199)]();const {locale:_0x52e426}=this[_0x196f78(0xd8)];let _0x595044;try{_0x595044=await this[_0x196f78(0xee)][_0x196f78(0x109)]();}catch{const _0x1f4bdb=_0x53794(_0x52e426,_0x196f78(0xf5));return void this[_0x196f78(0x1c6)](_0x1f4bdb);}const _0x324376=_0x595044[_0x196f78(0xd2)]||_0x595044[_0x196f78(0x19d)];if(this[_0x196f78(0x158)]!==_0x324376[_0x196f78(0x117)]){const _0xc5a495=_0x53794(_0x52e426,_0x196f78(0x1ae));return void this[_0x196f78(0x1c6)](_0xc5a495);}await this[_0x196f78(0xea)](this[_0x196f78(0xd8)][_0x196f78(0x146)][_0x196f78(0x17e)][_0x196f78(0xec)][_0x196f78(0x1be)](),!0x0);}[_0x298827(0x199)](){const _0x1d2717=_0x298827;this[_0x1d2717(0xee)][_0x1d2717(0x177)](),this[_0x1d2717(0x13b)]=[],clearTimeout(this[_0x1d2717(0x178)]),this[_0x1d2717(0x137)](this[_0x1d2717(0xee)]);}[_0x298827(0x127)](_0x5ab1a7){const _0x4320e0=_0x298827,_0x55c06f=this[_0x4320e0(0xd8)][_0x4320e0(0x195)][_0x4320e0(0x149)](_0x33a942);this[_0x4320e0(0x1b1)](_0x55c06f,_0x4320e0(0x1c0)+this[_0x4320e0(0x1cd)],(_0x29fd05,{session:_0x1b3bb5})=>{const _0x569215=_0x4320e0;if(_0x1b3bb5['id']===_0x55c06f[_0x569215(0x192)]){_0x29fd05[_0x569215(0x135)]();const _0x12da4c=this[_0x569215(0xd8)][_0x569215(0x195)][_0x569215(0x11b)](_0x569215(0x1a6))&&this[_0x569215(0xd8)][_0x569215(0x195)][_0x569215(0x149)](_0x569215(0x1a6));let _0x589cc2=_0x1b3bb5[_0x569215(0x16a)];_0x12da4c&&_0x12da4c[_0x569215(0x173)]&&(_0x589cc2=_0x589cc2[_0x569215(0x12b)](_0xd211fd=>_0x569215(0x161)!==_0xd211fd)),this[_0x569215(0xd8)][_0x569215(0x195)][_0x569215(0x149)](_0x569215(0x169))[_0x569215(0x182)](_0x589cc2,this[_0x569215(0x1cd)]);}}),_0x55c06f[_0x4320e0(0x133)](this[_0x4320e0(0x1cd)],_0x5ab1a7);}[_0x298827(0x141)](){const _0x5a4aef=_0x298827,_0x5dbd85=this[_0x5a4aef(0xd8)][_0x5a4aef(0xe1)][_0x5a4aef(0x143)];this[_0x5a4aef(0xd8)][_0x5a4aef(0xe1)][_0x5a4aef(0x143)]=(..._0x2318b1)=>{const _0x12d362=_0x5a4aef;if(!_0x2318b1[_0x2318b1[_0x12d362(0x193)]-0x1][_0x12d362(0x15f)])throw new _0x401e17(_0x12d362(0x190),this);_0x5dbd85[_0x12d362(0x19c)](this[_0x12d362(0xd8)][_0x12d362(0xe1)],_0x2318b1);};}[_0x298827(0xe6)](){const _0x431725=_0x298827;this[_0x431725(0xd8)][_0x431725(0xe1)]['on'](_0x431725(0x1cb),(_0x32c8c9,[_0x38f189])=>{const _0x1f5d88=_0x431725;if(this[_0x1f5d88(0x157)][_0x1f5d88(0x12c)])throw new _0x401e17(_0x1f5d88(0x126),this);_0x32c8c9[_0x1f5d88(0x166)](),this[_0x1f5d88(0xe3)]();const _0x47f2e2=this[_0x1f5d88(0xd8)][_0x1f5d88(0x18d)][_0x1f5d88(0x149)](_0x1f5d88(0x1c8)),_0x27ce2c=this[_0x1f5d88(0x11f)](_0x38f189,_0x47f2e2);0x0==_0x27ce2c[_0x1f5d88(0x193)]&&_0x27ce2c[_0x1f5d88(0x15b)](new _0x164433(0x0)),_0x32c8c9[_0x1f5d88(0x1bb)]=this[_0x1f5d88(0xea)](_0x27ce2c)[_0x1f5d88(0x101)](()=>{const _0x4ceb1e=_0x1f5d88;this[_0x4ceb1e(0xd8)][_0x4ceb1e(0x195)][_0x4ceb1e(0x149)](_0x50ca4f)[_0x4ceb1e(0xe5)](this),this[_0x4ceb1e(0xd8)][_0x4ceb1e(0xe1)][_0x4ceb1e(0xd4)](_0x4ceb1e(0x10a));})[_0x1f5d88(0xd3)](_0x5dc13e=>this[_0x1f5d88(0x17d)](_0x1f5d88(0x14c),_0x5dc13e))[_0x1f5d88(0x147)](()=>this[_0x1f5d88(0x115)]());},{'priority':_0x431725(0x1ac)}),this[_0x431725(0xd8)]['on'](_0x431725(0x17b),async(_0x1df247,[_0x11922e,_0x2c4346])=>{const _0x548ace=_0x431725;_0x1df247[_0x548ace(0x166)]();const _0x23ecd7=this[_0x548ace(0xd8)][_0x548ace(0x146)][_0x548ace(0x17e)][_0x548ace(0xe0)](_0x11922e);if(!this[_0x548ace(0x196)][_0x548ace(0x11b)](_0x11922e)){const _0x532cb2=_0x2c4346&&_0x2c4346[_0x548ace(0xe1)]?_0x2c4346[_0x548ace(0xe1)]:'',_0x3976e4=_0x2c4346&&_0x2c4346[_0x548ace(0x139)]?_0x2c4346[_0x548ace(0x139)]:{};await this[_0x548ace(0x154)](_0x11922e,_0x532cb2,_0x3976e4);}this[_0x548ace(0xd8)][_0x548ace(0x146)][_0x548ace(0x130)]({'isUndoable':!0x1},()=>{const _0x569a1e=_0x548ace;_0x23ecd7[_0x569a1e(0x16f)]=!0x0,this[_0x569a1e(0xd8)][_0x569a1e(0x146)][_0x569a1e(0x17e)][_0x569a1e(0x113)][_0x569a1e(0x1b3)](_0x23ecd7);});},{'priority':_0x431725(0x1ac)});}async[_0x298827(0x16b)](_0x51f1f8){const _0xdd68e9=_0x298827,_0x43ac5d=this[_0xdd68e9(0xd8)][_0xdd68e9(0x195)][_0xdd68e9(0x149)](_0x4e6cae),{connection:_0x26bd9b}=this[_0xdd68e9(0xd8)][_0xdd68e9(0x195)][_0xdd68e9(0x149)](_0x50ca4f),_0xb9898=new Set();for(const _0x20ac95 of _0x51f1f8){const _0x589552=_0x20ac95[_0xdd68e9(0xfe)];_0x589552&&!_0x43ac5d[_0xdd68e9(0x12e)](_0x589552)&&_0xb9898[_0xdd68e9(0xf6)](_0x589552);}if(0x0===_0xb9898[_0xdd68e9(0xce)])return;const _0x47fe55=await _0x42a46c[_0xdd68e9(0x116)](_0x26bd9b,Array[_0xdd68e9(0x168)](_0xb9898));for(const _0x28752a of _0x47fe55)_0x43ac5d[_0xdd68e9(0x12e)](_0x28752a['id'])||_0x43ac5d[_0xdd68e9(0x129)](_0x28752a);}[_0x298827(0x11f)](_0x55a931,_0x5d845f={}){const _0x3c81c2=_0x298827,_0x259d62=this[_0x3c81c2(0xd8)][_0x3c81c2(0x146)],_0x1b947c=[];let _0x3b0c80=0x0;const _0x5490e0=_0x3c81c2(0x1b2)==typeof _0x55a931?{'main':_0x55a931}:_0x55a931;for(const _0x240999 of Object[_0x3c81c2(0x12a)](_0x5490e0)){if(!this[_0x3c81c2(0x157)][_0x3c81c2(0x17c)][_0x3c81c2(0x11b)](_0x240999))throw new _0x401e17(_0x3c81c2(0xf9),this);const _0x4ea413=this[_0x3c81c2(0xd8)][_0x3c81c2(0xe1)][_0x3c81c2(0xca)](_0x5490e0[_0x240999]),_0x2b9a58=this[_0x3c81c2(0x157)][_0x3c81c2(0xe0)](_0x240999),_0x1970e2=new _0x57377d(_0x259d62[_0x3c81c2(0x1ca)](_0x2b9a58,0x0),_0x4ea413,_0x3b0c80++);_0x1b947c[_0x3c81c2(0x15b)](_0x1970e2);for(const [_0x31a97b,_0x46ce67]of _0x4ea413[_0x3c81c2(0xe7)]){const _0x48d6fe=_0x259d62[_0x3c81c2(0xdd)](_0x259d62[_0x3c81c2(0xef)](_0x2b9a58,_0x46ce67[_0x3c81c2(0xd7)][_0x3c81c2(0x11a)][_0x3c81c2(0x148)]()),_0x259d62[_0x3c81c2(0xef)](_0x2b9a58,_0x46ce67[_0x3c81c2(0xd1)][_0x3c81c2(0x11a)][_0x3c81c2(0x148)]())),_0x1cfbf1=new _0x282766(_0x31a97b,null,_0x48d6fe,_0x259d62[_0x3c81c2(0xe7)],!0x0,_0x3b0c80++);_0x1b947c[_0x3c81c2(0x15b)](_0x1cfbf1);}}if(_0x5d845f)for(const [_0x48273a,_0x37d9b1]of Object[_0x3c81c2(0x186)](_0x5d845f)){const _0x456685=_0x259d62[_0x3c81c2(0x17e)][_0x3c81c2(0xe0)](_0x48273a);if(!_0x456685)throw new _0x401e17(_0x3c81c2(0x15a),null);for(const [_0x35c577,_0xe6884e]of Object[_0x3c81c2(0x186)](_0x37d9b1))if(null!==_0xe6884e){const _0x106946=new _0x4afce1(_0x456685,_0x35c577,null,_0xe6884e,_0x3b0c80++);_0x1b947c[_0x3c81c2(0x15b)](_0x106946);}}return _0x1b947c;}async[_0x298827(0x154)](_0x27a18b,_0x4e1a55,_0xd54924){const _0x5189fa=_0x298827;this[_0x5189fa(0x11f)]({[_0x27a18b]:_0x4e1a55},{[_0x27a18b]:_0xd54924})[_0x5189fa(0x1b9)]((_0x369025,_0x441115)=>{const _0x11113d=_0x5189fa;_0x369025[_0x11113d(0xde)]=this[_0x11113d(0x157)][_0x11113d(0x12c)]+_0x441115,_0x369025[_0x11113d(0x140)]=!0x0,this[_0x11113d(0x167)](_0x369025);}),this[_0x5189fa(0x1a4)](),await this[_0x5189fa(0x174)]();}async[_0x298827(0x15e)](_0x3784a4,_0xf36d46){const _0x535191=_0x298827;let _0x15092e;this[_0x535191(0xfa)]=_0x3784a4[_0x535191(0x107)];const _0x3b12f0=_0x3784a4[_0x535191(0xe2)]&&!_0x3784a4[_0x535191(0x119)],_0x15c2b4=_0x3b12f0?0x0:_0x3784a4[_0x535191(0xe1)][_0x535191(0xde)];if(_0xf36d46[_0x535191(0x1b9)](_0xe26f94=>{const _0x138401=_0x535191;_0xe26f94[_0x138401(0x140)]=!0x0,_0xe26f94[_0x138401(0x1c7)]=_0x3784a4[_0x138401(0x136)],_0xe26f94[_0x138401(0xfe)]=null;}),_0x3b12f0)_0x15092e=_0xf36d46,this[_0x535191(0x12f)](_0x15092e,_0x3b12f0);else{if(_0x3784a4[_0x535191(0x119)]){const _0x3d3943=this[_0x535191(0x11f)](_0x3784a4[_0x535191(0x119)]);this[_0x535191(0x157)][_0x535191(0xec)][_0x535191(0x12c)]=-_0x3d3943[_0x535191(0x193)],_0x3d3943[_0x535191(0x1b9)](_0x3c7f35=>{const _0x39d983=_0x535191;_0x3c7f35[_0x39d983(0xde)]-=_0x3d3943[_0x39d983(0x193)],_0x3c7f35[_0x39d983(0x1c7)]=_0x3784a4[_0x39d983(0x136)],_0x3c7f35[_0x39d983(0x140)]=!0x0,_0x3c7f35[_0x39d983(0xfe)]=null;}),this[_0x535191(0x12f)](_0x3d3943,!0x0),this[_0x535191(0x153)][_0x535191(0x12c)]=-_0x3d3943[_0x535191(0x193)]+this[_0x535191(0xfa)],this[_0x535191(0x1ad)](_0x3d3943);}this[_0x535191(0x157)][_0x535191(0xec)][_0x535191(0x12c)]=_0x15c2b4,_0x15092e=this[_0x535191(0x1a3)](_0x3784a4[_0x535191(0xe1)],_0x3784a4[_0x535191(0xcd)]),await this[_0x535191(0x16b)](_0x15092e),this[_0x535191(0x12f)](_0x15092e,_0x3b12f0);}_0x3784a4[_0x535191(0x117)]&&(this[_0x535191(0x106)][_0x535191(0xcb)](_0x15092e,_0x3784a4[_0x535191(0x117)]),this[_0x535191(0x158)]=_0x3784a4[_0x535191(0x117)]),this[_0x535191(0x153)][_0x535191(0x12c)]=_0x15c2b4+this[_0x535191(0xfa)],this[_0x535191(0x1ad)](_0x15092e),_0xf36d46[_0x535191(0x12b)](_0x4951a5=>{const _0x2242ee=_0x535191,_0x10ec1a=this[_0x2242ee(0x185)](_0x4951a5);return _0x10ec1a&&!this[_0x2242ee(0x196)][_0x2242ee(0x11b)](_0x10ec1a);})[_0x535191(0x1b9)]((_0x5eb8fa,_0x95ea87)=>{const _0x15c55f=_0x535191;_0x5eb8fa[_0x15c55f(0xde)]=this[_0x15c55f(0x157)][_0x15c55f(0x12c)]+_0x95ea87,this[_0x15c55f(0x167)](_0x5eb8fa);}),this[_0x535191(0x16e)]()?(this[_0x535191(0x176)]=0x0,this[_0x535191(0x1a4)](!0x0),await this[_0x535191(0x174)]()):(this[_0x535191(0x1a2)]=!0x1,this[_0x535191(0x115)]());}[_0x298827(0x17d)](_0x43cfe9,_0x4e8da8){const _0x48e847=_0x298827,_0x534f7a=_0x4e8da8&&_0x4e8da8[_0x48e847(0x121)];if(_0x534f7a&&_0x534f7a[_0x48e847(0x1c3)](_0x48e847(0x14a)))throw _0x4e8da8;const _0x155136=this[_0x48e847(0xd8)][_0x48e847(0x195)][_0x48e847(0x149)](_0x50ca4f);throw this[_0x48e847(0x1a2)]=!0x0,_0x155136[_0x48e847(0x177)](),this[_0x48e847(0xd8)][_0x48e847(0x181)](_0x48e847(0x118)),new _0x401e17(_0x43cfe9,this[_0x48e847(0xd8)],_0x534f7a?{'originalError':_0x534f7a}:void 0x0);}[_0x298827(0x167)](_0xf559ce){const _0x33f2ec=_0x298827;this[_0x33f2ec(0x1c2)][_0x33f2ec(0x11b)](_0xf559ce)||(this[_0x33f2ec(0x1c2)][_0x33f2ec(0xf6)](_0xf559ce),this[_0x33f2ec(0x13b)][_0x33f2ec(0x15b)](_0xf559ce),this[_0x33f2ec(0x17f)]||_0x33f2ec(0xe8)==_0xf559ce[_0x33f2ec(0x163)]&&!_0xf559ce[_0x33f2ec(0x1af)]||this[_0x33f2ec(0xe3)]());}[_0x298827(0x1a4)](_0x536ebb=!0x1){const _0x572838=_0x298827;!_0x536ebb&&this[_0x572838(0x1a2)]||(this[_0x572838(0x1a2)]=!0x0,clearTimeout(this[_0x572838(0x178)]),this[_0x572838(0x178)]=setTimeout(()=>{const _0x523d05=_0x572838;this[_0x523d05(0x160)]()[_0x523d05(0x101)](_0x2a20dd=>{const _0x120c77=_0x523d05;_0x2a20dd&&(this[_0x120c77(0x115)](),this[_0x120c77(0x1a2)]=!0x1);})[_0x523d05(0xd3)](_0x5652a4=>{const _0x32aaec=_0x523d05;this[_0x32aaec(0x115)](),this[_0x32aaec(0x1a2)]=!0x1,function(_0x40802d){const _0x20a701=_0x32aaec;return _0x40802d[_0x20a701(0x121)][_0x20a701(0x1c3)](_0x20a701(0x114))||_0x40802d[_0x20a701(0x121)][_0x20a701(0x1c3)](_0x20a701(0x125))||_0x40802d[_0x20a701(0x121)][_0x20a701(0x1c3)](_0x20a701(0x175));}(_0x5652a4)||this[_0x32aaec(0x17d)](_0x5652a4[_0x32aaec(0x121)],_0x5652a4);});},this[_0x572838(0x176)]));}[_0x298827(0x174)](){return new Promise(_0x15a136=>{const _0x4cbbd5=_0x3480;this['on'](_0x4cbbd5(0x19e),()=>{_0x15a136();});});}async[_0x298827(0x160)](){const _0x4a0a4f=_0x298827,_0x1909f8=this[_0x4a0a4f(0xd8)][_0x4a0a4f(0x195)][_0x4a0a4f(0x149)](_0x57b63e);if(this[_0x4a0a4f(0x1b4)]()&&(_0x1909f8[_0x4a0a4f(0x142)](),this[_0x4a0a4f(0x111)]=!0x1),!this[_0x4a0a4f(0x16e)]())return!0x0;const _0x14b041=[...this[_0x4a0a4f(0x13b)]];for(const _0x27d88c of _0x14b041)_0x27d88c[_0x4a0a4f(0x19b)]=this[_0x4a0a4f(0x157)][_0x4a0a4f(0xec)][_0x4a0a4f(0xe9)](_0x27d88c);const _0x41de2b=this[_0x4a0a4f(0x106)][_0x4a0a4f(0xf8)](_0x14b041),_0x3ed92f=G++,_0x54052c=this[_0x4a0a4f(0x188)](_0x14b041),_0x410dad=await this[_0x4a0a4f(0xee)][_0x4a0a4f(0x1ba)](_0x54052c,_0x54052c[_0x4a0a4f(0xde)],_0x41de2b);try{return await this[_0x4a0a4f(0x1bf)](_0x14b041,_0x410dad,_0x3ed92f);}catch(_0x20b79b){return this[_0x4a0a4f(0x17d)](_0x4a0a4f(0x172),_0x20b79b);}}async[_0x298827(0x1bf)](_0x44f07c,_0x5cd2e9,_0x102dbf){const _0x30dcb8=_0x298827;if(_0x30dcb8(0x15d)in _0x5cd2e9)throw _0x5cd2e9[_0x30dcb8(0x15d)];let _0x4b63a5=!0x1;if(_0x5cd2e9[_0x30dcb8(0xe2)]){_0x5cd2e9[_0x30dcb8(0x117)]&&(this[_0x30dcb8(0x158)]=_0x5cd2e9[_0x30dcb8(0x117)]),this[_0x30dcb8(0x13b)]=this[_0x30dcb8(0x13b)][_0x30dcb8(0x12b)](_0xf82e4b=>!_0x44f07c[_0x30dcb8(0x1c9)](_0xf82e4b));for(const _0x289192 of _0x44f07c)_0x289192[_0x30dcb8(0x1c7)]=_0x30dcb8(0xd9)in _0x5cd2e9&&_0x5cd2e9[_0x30dcb8(0xd9)]||void 0x0;K(_0x44f07c,_0x5cd2e9[_0x30dcb8(0x12c)]-_0x44f07c[_0x30dcb8(0x193)]),this[_0x30dcb8(0x1ad)](_0x44f07c);const _0x2b7e19=_0x44f07c[_0x30dcb8(0x12b)](_0x53221a=>{const _0x474056=_0x30dcb8;if(!_0x53221a[_0x474056(0x140)])return!0x1;const _0xad3dbe=this[_0x474056(0x185)](_0x53221a);return _0xad3dbe&&!this[_0x474056(0x196)][_0x474056(0x11b)](_0xad3dbe);});K(_0x2b7e19,this[_0x30dcb8(0x157)][_0x30dcb8(0x12c)]),this[_0x30dcb8(0x12f)](_0x2b7e19),_0x4b63a5=!0x0,this[_0x30dcb8(0x176)]=this[_0x30dcb8(0x18a)];}else{const _0x1550b9=this[_0x30dcb8(0x1a3)](_0x5cd2e9[_0x30dcb8(0xe1)],_0x5cd2e9[_0x30dcb8(0xcd)])[_0x30dcb8(0x12b)](_0x5af321=>_0x5af321[_0x30dcb8(0xde)]>=this[_0x30dcb8(0x16d)]);_0x1550b9[_0x30dcb8(0x1b9)](_0x1729de=>this[_0x30dcb8(0x11d)](_0x1729de)),this[_0x30dcb8(0x13b)]=this[_0x30dcb8(0x13b)][_0x30dcb8(0x12b)](_0x372e22=>!_0x372e22[_0x30dcb8(0x140)]||!this[_0x30dcb8(0x196)][_0x30dcb8(0x11b)](this[_0x30dcb8(0x185)](_0x372e22))),this[_0x30dcb8(0x13b)][_0x30dcb8(0x193)]&&K(this[_0x30dcb8(0x13b)],this[_0x30dcb8(0x13b)][0x0][_0x30dcb8(0xde)]),await this[_0x30dcb8(0x16b)](_0x1550b9),_0x4b63a5=this[_0x30dcb8(0x100)](_0x1550b9,_0x5cd2e9[_0x30dcb8(0x12c)],_0x5cd2e9[_0x30dcb8(0x117)]),this[_0x30dcb8(0x176)]=Math[_0x30dcb8(0xda)](this[_0x30dcb8(0x176)]/0x2);}return _0x4b63a5?!this[_0x30dcb8(0x16e)]()||(this[_0x30dcb8(0x1a4)](!0x0),!0x1):this[_0x30dcb8(0x17d)](_0x30dcb8(0xd5));}[_0x298827(0x100)](_0x561a57,_0x5644ad,_0x1583c2){const _0x55d735=_0x298827;try{const _0x3ebf0e={'document':this[_0x55d735(0x157)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1734bc,operationsB:_0x343570,originalOperations:_0x207c0d}=_0xdb339c(_0x561a57,this[_0x55d735(0x13b)],_0x3ebf0e);K(_0x1734bc,this[_0x55d735(0x157)][_0x55d735(0x12c)]),K(_0x343570,_0x5644ad);for(const _0x3c0a82 of _0x1734bc){const _0x3e8c7f=_0x207c0d[_0x55d735(0x149)](_0x3c0a82);_0x3c0a82[_0x55d735(0xfe)]=_0x3e8c7f?_0x3e8c7f[_0x55d735(0xfe)]:null;}_0x1583c2&&(this[_0x55d735(0x106)][_0x55d735(0xcb)](_0x561a57,_0x1583c2),this[_0x55d735(0x158)]=_0x1583c2),this[_0x55d735(0x13b)]=[..._0x343570],this[_0x55d735(0x12f)](_0x1734bc),this[_0x55d735(0x1ad)](_0x561a57);}catch(_0x1e0ddb){return console[_0x55d735(0x15d)](_0x1e0ddb),!0x1;}return!0x0;}[_0x298827(0x12f)](_0x402908,_0x55cf86=!0x1){const _0x13412a=_0x298827;this[_0x13412a(0xd8)][_0x13412a(0x146)][_0x13412a(0x130)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4f2583=>{const _0x1178dd=_0x13412a;for(const _0x4c5e99 of _0x402908)this[_0x1178dd(0x1c2)][_0x1178dd(0xf6)](_0x4c5e99),this[_0x1178dd(0x11d)](_0x4c5e99),_0x4f2583[_0x1178dd(0x1c5)][_0x1178dd(0x13a)](_0x4c5e99),this[_0x1178dd(0xd8)][_0x1178dd(0x146)][_0x1178dd(0x14d)](_0x4c5e99);});}[_0x298827(0x11d)](_0x2c5f66){const _0x597129=_0x298827,_0x20bb8d=this[_0x597129(0x185)](_0x2c5f66);_0x20bb8d&&this[_0x597129(0x196)][_0x597129(0xf6)](_0x20bb8d);}[_0x298827(0x185)](_0x5f205d){const _0x50f734=_0x298827;let _0x59fbf8,_0x211579;switch(_0x5f205d[_0x50f734(0x163)]){case _0x50f734(0x198):_0x59fbf8=_0x5f205d[_0x50f734(0x10d)][_0x50f734(0x1a5)];break;case _0x50f734(0xe8):if(_0x211579=_0x5f205d[_0x50f734(0xdc)],!_0x211579)return null;_0x59fbf8=_0x211579[_0x50f734(0x1a5)];break;case _0x50f734(0x1ab):_0x59fbf8=_0x5f205d[_0x50f734(0x1a5)];break;case _0x50f734(0x151):_0x59fbf8=_0x5f205d[_0x50f734(0xd6)];break;case _0x50f734(0x11c):_0x59fbf8=_0x5f205d[_0x50f734(0x18b)][_0x50f734(0x1a5)];break;default:return null;}return _0x59fbf8[_0x50f734(0x1a7)];}[_0x298827(0x1ad)](_0x305830){const _0x771fe7=_0x298827;_0x305830[_0x771fe7(0x1b9)](_0x2d0e5a=>{const _0x2981f0=_0x771fe7,_0x67cd1c=_0x2d0e5a[_0x2981f0(0xcc)]();_0x67cd1c[_0x2981f0(0xfe)]=_0x2d0e5a[_0x2981f0(0xfe)],_0x67cd1c[_0x2981f0(0x140)]=!!_0x2d0e5a[_0x2981f0(0x140)],_0x67cd1c[_0x2981f0(0x1c7)]=_0x2d0e5a[_0x2981f0(0x1c7)],_0x67cd1c[_0x2981f0(0xde)]+=this[_0x2981f0(0xfa)],_0x2d0e5a[_0x2981f0(0xff)]&&this[_0x2981f0(0x144)][_0x2981f0(0xf6)](_0x67cd1c),this[_0x2981f0(0x153)][_0x2981f0(0x13a)](_0x67cd1c);});}[_0x298827(0x1c6)](_0x110191){const _0x3cf7a6=_0x298827,_0x17ea03=this[_0x3cf7a6(0xd8)][_0x3cf7a6(0x195)][_0x3cf7a6(0x149)](_0x3cf7a6(0x18e)),_0x56b125=this[_0x3cf7a6(0xd8)][_0x3cf7a6(0x10c)];_0x110191||(_0x110191=_0x53794(_0x56b125,_0x3cf7a6(0x1b5))),_0x17ea03[_0x3cf7a6(0xf0)](_0x110191,{'title':_0x53794(_0x56b125,_0x3cf7a6(0x1c4)),'namespace':_0x3cf7a6(0x103)}),this[_0x3cf7a6(0x132)]=!0x0,clearTimeout(this[_0x3cf7a6(0x178)]),this[_0x3cf7a6(0x13b)]=[],this[_0x3cf7a6(0xd8)][_0x3cf7a6(0x195)][_0x3cf7a6(0x149)](_0x50ca4f)[_0x3cf7a6(0x177)]();}[_0x298827(0xe3)](){const _0x1c20cb=_0x298827;this[_0x1c20cb(0x17f)]||(this[_0x1c20cb(0x17f)]=this[_0x1c20cb(0xd8)][_0x1c20cb(0x195)][_0x1c20cb(0x149)](_0x5ebdf4)[_0x1c20cb(0xf6)](_0x53794(this[_0x1c20cb(0xd8)][_0x1c20cb(0x10c)],_0x1c20cb(0x13f))));}[_0x298827(0x115)](){const _0x4145de=_0x298827;this[_0x4145de(0x17f)]&&(this[_0x4145de(0xd8)][_0x4145de(0x195)][_0x4145de(0x149)](_0x5ebdf4)[_0x4145de(0xf1)](this[_0x4145de(0x17f)]),this[_0x4145de(0x17f)]=null);}[_0x298827(0x188)](_0x3a480f){const _0x521361=_0x298827,_0xf9c466=_0x3a480f[_0x521361(0x128)](_0x3d9b7e=>_0x3d9b7e[_0x521361(0x108)]());return this[_0x521361(0xc9)][_0x521361(0x1a9)](_0xf9c466);}[_0x298827(0x1a3)](_0x1fa276,_0x4482fd){const _0x354f0a=_0x298827;return this[_0x354f0a(0xc9)][_0x354f0a(0x110)](_0x1fa276)[_0x354f0a(0x128)]((_0x400cae,_0x5ba327)=>{const _0x4cb470=_0x354f0a,_0x5be476=_0x4cb470(0x1cb)==_0x4482fd[_0x5ba327][_0x4cb470(0x163)];if(_0x4cb470(0x1b0)==_0x400cae[_0x4cb470(0x150)]){const _0x9a9d3f=_0x400cae[_0x4cb470(0x10d)][_0x4cb470(0x1a5)];!this[_0x4cb470(0x157)][_0x4cb470(0xe0)](_0x9a9d3f)&&(this[_0x4cb470(0x157)][_0x4cb470(0x14e)](_0x4cb470(0x170),_0x9a9d3f)[_0x4cb470(0x102)]=!0x1);}const _0x17b29b=_0x11a091[_0x4cb470(0x1c1)](_0x400cae,this[_0x4cb470(0x157)]);return _0x17b29b[_0x4cb470(0x19b)]=_0x400cae[_0x4cb470(0x19b)],_0x17b29b[_0x4cb470(0x140)]=_0x5be476,_0x17b29b[_0x4cb470(0xfe)]=_0x5be476?null:_0x4482fd[_0x5ba327][_0x4cb470(0x123)],_0x17b29b[_0x4cb470(0xff)]=_0x4cb470(0x16c)===_0x4482fd[_0x5ba327][_0x4cb470(0x163)],_0x17b29b[_0x4cb470(0x1c7)]=_0x4482fd[_0x5ba327][_0x4cb470(0x1c7)],_0x17b29b;});}[_0x298827(0x14b)](){const _0x4d56c2=_0x298827;this[_0x4d56c2(0x111)]=!0x0,this[_0x4d56c2(0x1b4)]()?this[_0x4d56c2(0x1a4)]():this[_0x4d56c2(0x111)]=!0x1;}[_0x298827(0x1b4)](){const _0x5b226a=_0x298827,_0x27a377=this[_0x5b226a(0xd8)][_0x5b226a(0x195)][_0x5b226a(0x149)](_0x33a942)[_0x5b226a(0xfc)][_0x5b226a(0x149)](this[_0x5b226a(0x1cd)]);return!this[_0x5b226a(0xd8)][_0x5b226a(0x104)]&&!!_0x27a377&&_0x27a377[_0x5b226a(0x193)]>0x1&&this[_0x5b226a(0x111)];}[_0x298827(0x16e)](){const _0x2c98fe=_0x298827;return this[_0x2c98fe(0x13b)][_0x2c98fe(0x193)]>0x0||this[_0x2c98fe(0x1b4)]();}}class $ extends Error{}function K(_0x313052,_0x4a3520){const _0x28c46c=_0x298827;for(const _0x434f47 of _0x313052)_0x434f47[_0x28c46c(0xde)]=_0x4a3520++;}class J{[_0x298827(0x1a0)];[_0x298827(0x194)];constructor(_0x3610e3){const _0x312a5a=_0x298827;this[_0x312a5a(0x1a0)]=_0x3610e3,this[_0x312a5a(0x194)]=new WeakMap();}[_0x298827(0xf8)](_0x506318){const _0x2fa26d=_0x298827;let _0x3299f7=_0x506318[_0x2fa26d(0x193)];for(;_0x3299f7--;){const _0x33a196=_0x506318[_0x3299f7];if(!this[_0x2fa26d(0x1a0)][_0x2fa26d(0x11b)](_0x33a196)){if(!this[_0x2fa26d(0x194)][_0x2fa26d(0x11b)](_0x33a196)){const _0x511b1b=_0x2fee4f()[_0x2fa26d(0x148)](0x1,0x12);this[_0x2fa26d(0x194)][_0x2fa26d(0x143)](_0x33a196,_0x511b1b);}return this[_0x2fa26d(0x194)][_0x2fa26d(0x149)](_0x33a196);}}}[_0x298827(0xcb)](_0x12103f,_0x43f001){const _0x5ba696=_0x298827;if(!_0x43f001)return;let _0x5979a9=_0x12103f[_0x5ba696(0x193)];for(;_0x5979a9--;){const _0xd25cf=_0x12103f[_0x5979a9];this[_0x5ba696(0x1a0)][_0x5ba696(0x11b)](_0xd25cf)||this[_0x5ba696(0x194)][_0x5ba696(0x143)](_0xd25cf,_0x43f001);}}}
|
|
23
|
+
const _0x590804=_0x3fe2;(function(_0x4a283a,_0x5b07c9){const _0x5b5650=_0x3fe2,_0x415190=_0x4a283a();while(!![]){try{const _0x3b7493=-parseInt(_0x5b5650(0x16b))/0x1+parseInt(_0x5b5650(0x1a3))/0x2+-parseInt(_0x5b5650(0x149))/0x3*(parseInt(_0x5b5650(0x1fc))/0x4)+-parseInt(_0x5b5650(0x144))/0x5+-parseInt(_0x5b5650(0x1ea))/0x6*(-parseInt(_0x5b5650(0x135))/0x7)+parseInt(_0x5b5650(0x1a9))/0x8+-parseInt(_0x5b5650(0x18e))/0x9*(-parseInt(_0x5b5650(0x1c5))/0xa);if(_0x3b7493===_0x5b07c9)break;else _0x415190['push'](_0x415190['shift']());}catch(_0x19c3aa){_0x415190['push'](_0x415190['shift']());}}}(_0x2b74,0x2a99a));import{Plugin as _0xae537,PendingActions as _0x49a0ed}from'ckeditor5/src/core.js';import{CKEditorError as _0x1bac0b,version as _0x389919,uid as _0x30271c}from'ckeditor5/src/utils.js';import{Notification as _0x2a6059}from'ckeditor5/src/ui.js';function _0x2b74(){const _0x3d92be=['_offset','addRoot','addToReconnectionStack','root','init','path','_isPendingUpdate','start','_shouldSendSelectionUpdate','createRoot','_sendBufferedOperations','isOfficialPlugin','createPositionFromPath','_crash','removeFromReconnectionStack','3260dpOaYU','lastDocumentSession','setIdForTheLastOperation','_addKnownRoot','fire','_fetchMissingUsers','cs:removeUser','connect','collaboration.channelId','locale','_operationIdentifier','realtimecollaborationclient-init-service-incorrect-server-operation','showWarning','permissions','__className','_updateServerHistory','config','_saveOperationInBuffer','model','directChange','_operationToId','affectedSelectable','createUserMarkerOperations','listenTo','_handleServerResponse','_disconnectionOperations','_sendBufferedOperationsDelayId','message','_ignoredOperations','includes','document','enableReadOnlyMode','connected','Permissions','isEnabled','getConnectedSessions','finally','111252FZhlXj','history','marker','getOperationAuthor','_bufferRootLoad','PENDING_ACTION_SENDING_DATA','lastOperationId','$root','markers','return','sessionId','_currentBufferDelay','lastOperationAcceptedAt','createdAt','then','applyOperation','_handleReconnectionResponse','move','2216zzMAss','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.','affectsData','addOperation','operationsReceived','keys','clone','map','offset','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_setUpDataInit','stopListening','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.','multi-root-editor-root-attributes-no-root','parse','enqueueChange','newRange','addUser','toJSON','realtimecollaborationclient-init-non-existent-root','off','string','get','round','_lastServerVersion','suppressErrorInCollaboration','apply','change:hasDomSelection','connection','batch','_refreshUserSelectionMarkers','InsertOperation','collaboration','_waitUntilSynced','pluginName','CommentsOnly','_handleInitialConnectionData','view','_handleReceivedOperations','_authorId','loadRoot','_lastSyncedOperationId','lastSyncVersion','_handleReconnectionError','push','rtc-offline','cloudServices.bundleVersion','editor','_isAttached','real-time-collaboration','realtimecollaborationclient-init-session-connection-error','getOperations','set','_getOperationsFromInitData','roots','size','reset','_bufferedOperations','_isEditingAllowed','realtimecollaborationclient-init-document-already-initialized','insert','createRange','getRoot','119TbhShY','requires','realtimecollaborationclient','slice','catch','state','Notification','_baseBufferDelay','addRootAttribute','_isConnected','wasUndone','length','baseVersion','realtimecollaborationclient-init-service-internal-error','document:write','1597805ZDPCqn','_isInit','_handleSendingSelectionMarkers','sendOperations','_service','840RbYBGo','_isLoaded','userId','fromJSON','_compressor','isDocumentOperation','channelSessions','_handleExternalOperations','unregister','getUser','createPositionAt','reconnect','_getAffectedRoot','_document','isPremiumPlugin','cloud-services-internal-error:\x20Not\x20connected.','_loadRoot','_knownRootNames','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','realtimecollaborationclient-handleserverresponse','_hasSynchronizationProblem','_shouldSendUpdate','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','plugins','_initSessionsHandling','forEach','reconnection:\x20flushed\x20session','RealTimeCollaborationClient','stop','_isDisconnection','cloudDocumentVersion','startsWith','metadata','serverHistory','340495UQXjXH','from','differ','realtimecollaborationclient-sendbufferedoperations','_pendingAction','filter','sessionCreatedAt','realtimecollaborationclient-error','has','bind','high','initData','mySessionId','add','realtimecollaborationclient-init-connection-failed','CollaborativeEditingService','error','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','editing','_clearPendingAction','_knownOperations','_initThrowingOnDataSet','selection','rootName','_connectService','compress','attributes','_decompressOperations','rootsAttributes','wereChangesApplied','_disconnectService','sessionAdd:','_connectAfterSessionHasBeenFlushed','disconnected','_compressOperations','7758cxKYWz','decompress','version','change:_isPendingUpdate','disableReadOnlyMode','409','register','change:range','change:_isEditingAllowed','_channelId','getMany','destroy','remove','currentDocumentSession','rtc-destroyed','_sendBufferedOperationsDelayed','type','setPermissions','disconnect','entries','ready','512086xOEEkw','_hasSelectionChanged','code','isUndoneOperation','data','cloud-services-internal-error:\x20Request\x20timeout.','1099176piBVFD','_setPendingAction','define','end','getDocumentDetails','collaboration-missing-channelid','_applyOperationsSet','getIdOfTheLastOperation','targetPosition','position','Synchronization\x20issue','isReadOnly','404'];_0x2b74=function(){return _0x3d92be;};return _0x2b74();}import{transformOperationSets as _0x35f1db,NoOperation as _0x1125de,InsertOperation as _0x4953d9,MarkerOperation as _0x4b8200,RootAttributeOperation as _0x17c96e,OperationFactory as _0x35c5f8,History as _0x32dcfb}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1edf6e}from'./websocketgateway.js';import{Sessions as _0xeca481}from'./sessions.js';import{UserMarkers as _0xa483d3}from'./usermarkers.js';import{getTranslation as _0x59d0a9}from'../common-translations.js';import{Compressor as _0x1cfd92}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2dabef}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2a10b0,CollaborativeEditingService as _0x692b6a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let $=0x1;function _0x3fe2(_0x1a4f8c,_0x3ba2fa){const _0x2b744f=_0x2b74();return _0x3fe2=function(_0x3fe283,_0x5d6bbf){_0x3fe283=_0x3fe283-0x102;let _0x169b62=_0x2b744f[_0x3fe283];return _0x169b62;},_0x3fe2(_0x1a4f8c,_0x3ba2fa);}export class RealTimeCollaborationClient extends _0xae537{static [_0x590804(0x17a)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x692b6a)());[_0x590804(0x1b6)];[_0x590804(0x1f4)];[_0x590804(0x16a)];[_0x590804(0x197)];[_0x590804(0x148)];[_0x590804(0x156)];[_0x590804(0x14d)];[_0x590804(0x12f)];[_0x590804(0x17f)];[_0x590804(0x15a)];[_0x590804(0x16f)];[_0x590804(0x1a4)];[_0x590804(0x1df)];[_0x590804(0x13c)];[_0x590804(0x1f5)];[_0x590804(0x11f)];[_0x590804(0x1de)];[_0x590804(0x1cf)];static get[_0x590804(0x136)](){return[_0x1edf6e,_0xeca481,_0xa483d3,_0x49a0ed,_0x2dabef,_0x2a6059];}static get[_0x590804(0x118)](){const _0x35e37c=_0x590804;return _0x35e37c(0x164);}static get[_0x590804(0x1c1)](){return!0x0;}static get[_0x590804(0x157)](){return!0x0;}get[_0x590804(0x167)](){const _0x19e900=_0x590804;return this[_0x19e900(0x10e)]+this[_0x19e900(0x1b6)];}get[_0x590804(0x10e)](){const _0x16732d=_0x590804;return this[_0x16732d(0x16a)][_0x16732d(0x190)]-this[_0x16732d(0x1b6)];}get[_0x590804(0x120)](){const _0x578248=_0x590804,_0x4a338a=this[_0x578248(0x16a)][_0x578248(0x129)]();for(let _0x2ce4ce=_0x4a338a[_0x578248(0x140)]-0x1;_0x2ce4ce>=0x0;_0x2ce4ce--){const _0x3fa6ef=_0x4a338a[_0x2ce4ce];if(!this[_0x578248(0x1de)][_0x578248(0x173)](_0x3fa6ef))return _0x3fa6ef[_0x578248(0x141)]+0x1-this[_0x578248(0x1b6)];}return 0x0;}constructor(_0x63c3ea){const _0x29a79a=_0x590804;if(super(_0x63c3ea),this[_0x29a79a(0x1b6)]=0x0,this[_0x29a79a(0x1f4)]=null,this[_0x29a79a(0x16a)]=new _0x32dcfb(),this[_0x29a79a(0x125)][_0x29a79a(0x1d5)][_0x29a79a(0x1ab)](_0x29a79a(0x116),{}),this[_0x29a79a(0x197)]=this[_0x29a79a(0x125)][_0x29a79a(0x1d5)][_0x29a79a(0x10c)](_0x29a79a(0x1cd)),!this[_0x29a79a(0x197)])throw new _0x1bac0b(_0x29a79a(0x1ae),this);const _0x56f147=_0x63c3ea[_0x29a79a(0x1d5)][_0x29a79a(0x10c)](_0x29a79a(0x124))||_0x389919;this[_0x29a79a(0x148)]=new RealTimeCollaborationClient[(_0x29a79a(0x17a))](_0x56f147,this[_0x29a79a(0x197)]),this[_0x29a79a(0x156)]=this[_0x29a79a(0x125)][_0x29a79a(0x1d7)][_0x29a79a(0x1e3)],this[_0x29a79a(0x14d)]=new _0x1cfd92(),this[_0x29a79a(0x12f)]=[],this[_0x29a79a(0x17f)]=new WeakSet(),this[_0x29a79a(0x15a)]=new Set(),this[_0x29a79a(0x12a)](_0x29a79a(0x1bc),!0x1),this[_0x29a79a(0x12a)](_0x29a79a(0x15d),!0x1),this[_0x29a79a(0x16f)]=null,this[_0x29a79a(0x1a4)]=!0x1,this[_0x29a79a(0x1df)]=null,this[_0x29a79a(0x13c)]=0x12c,this[_0x29a79a(0x1f5)]=this[_0x29a79a(0x13c)],this[_0x29a79a(0x11f)]=null,this[_0x29a79a(0x1de)]=new WeakSet(),this[_0x29a79a(0x1cf)]=new Q(this[_0x29a79a(0x1de)]);}[_0x590804(0x1ba)](){const _0x52a63f=_0x590804,_0x3b678e=this[_0x52a63f(0x125)],_0x43f254=_0x3b678e[_0x52a63f(0x160)][_0x52a63f(0x10c)](_0x2dabef),_0x5d74fb=_0x3b678e[_0x52a63f(0x160)][_0x52a63f(0x10c)](_0x1edf6e);this[_0x52a63f(0x1dc)](_0x43f254,_0x52a63f(0x1ed),(_0x5be822,_0x1dae5f)=>{const _0x399914=_0x52a63f,_0xe1ac98=_0x1dae5f[0x0];_0xe1ac98[_0x399914(0x11d)]&&(_0x5be822[_0x399914(0x1f3)]=_0x43f254[_0x399914(0x152)](_0xe1ac98[_0x399914(0x11d)]),_0x5be822[_0x399914(0x165)]()),null===_0xe1ac98[_0x399914(0x11d)]&&(_0x5be822[_0x399914(0x1f3)]=null,_0x5be822[_0x399914(0x165)]());},{'priority':_0x52a63f(0x175)}),this[_0x52a63f(0x1dc)](_0x3b678e[_0x52a63f(0x1d7)][_0x52a63f(0x1e3)][_0x52a63f(0x181)],_0x52a63f(0x195),(_0x2e9d0a,_0x4ebb8e)=>{const _0x48220d=_0x52a63f;_0x4ebb8e[_0x48220d(0x1d8)]&&this[_0x48220d(0x114)]();}),this[_0x52a63f(0x1dc)](_0x3b678e[_0x52a63f(0x17d)][_0x52a63f(0x11b)],_0x52a63f(0x111),()=>{const _0x284ed0=_0x52a63f;this[_0x284ed0(0x114)]();}),this[_0x52a63f(0x180)](),_0x3b678e[_0x52a63f(0x1d7)]['on'](_0x52a63f(0x1f9),(_0x19112d,_0x90da9)=>{const _0x186cf9=_0x52a63f,_0x2ee087=_0x90da9[0x0];_0x2ee087[_0x186cf9(0x14e)]&&(this[_0x186cf9(0x1d6)](_0x2ee087),this[_0x186cf9(0x15e)]()&&this[_0x186cf9(0x19d)]());}),this[_0x52a63f(0x206)](),this[_0x52a63f(0x174)](_0x52a63f(0x130))['to'](_0x5d74fb,_0x52a63f(0x13a),this,_0x52a63f(0x15d),(_0x14cb4b,_0x26928e)=>_0x52a63f(0x1e5)===_0x14cb4b&&!_0x26928e),this['on'](_0x52a63f(0x196),()=>{const _0xba03d7=_0x52a63f;this[_0xba03d7(0x130)]?_0x3b678e[_0xba03d7(0x192)](_0xba03d7(0x123)):_0x3b678e[_0xba03d7(0x1e4)](_0xba03d7(0x123));}),this[_0x52a63f(0x130)]?_0x3b678e[_0x52a63f(0x192)](_0x52a63f(0x123)):_0x3b678e[_0x52a63f(0x1e4)](_0x52a63f(0x123)),this[_0x52a63f(0x12a)](_0x52a63f(0x13e),!0x1);}async[_0x590804(0x154)](){const _0x3fc9b1=_0x590804,_0x7c0be7=this[_0x3fc9b1(0x125)][_0x3fc9b1(0x160)][_0x3fc9b1(0x10c)](_0xeca481),_0x24c73a=this[_0x3fc9b1(0x125)][_0x3fc9b1(0x160)][_0x3fc9b1(0x10c)](_0x1edf6e);try{this[_0x3fc9b1(0x1bc)]=!0x0,_0x7c0be7[_0x3fc9b1(0x151)](this[_0x3fc9b1(0x197)]);const _0x52e229=await this[_0x3fc9b1(0x148)][_0x3fc9b1(0x154)](_0x24c73a[_0x3fc9b1(0x112)],this[_0x3fc9b1(0x120)]);await this[_0x3fc9b1(0x1fa)](_0x52e229)&&(this[_0x3fc9b1(0x1bc)]=!0x1,this[_0x3fc9b1(0x17e)]());const _0x57b19a=await this[_0x3fc9b1(0x148)][_0x3fc9b1(0x1e8)]();_0x7c0be7[_0x3fc9b1(0x194)](this[_0x3fc9b1(0x197)],_0x57b19a),this[_0x3fc9b1(0x146)](),this[_0x3fc9b1(0x13e)]=!0x0;}catch(_0x269d1c){if(function(_0x430da0){const _0x419557=_0x3fc9b1;return _0x419557(0x1b5)===_0x430da0[_0x419557(0x1a5)];}(_0x269d1c)&&this[_0x3fc9b1(0x1f4)])await this[_0x3fc9b1(0x18b)]();else{if(function(_0x2dcbcb){const _0x341e28=_0x3fc9b1;return _0x341e28(0x193)===_0x2dcbcb[_0x341e28(0x1a5)];}(_0x269d1c)){const _0x4be191=_0x59d0a9(this[_0x3fc9b1(0x125)][_0x3fc9b1(0x1ce)],_0x3fc9b1(0x17c));this[_0x3fc9b1(0x121)](_0x4be191);}else{if(!(_0x269d1c instanceof K))throw _0x269d1c;this[_0x3fc9b1(0x121)]();}}}}[_0x590804(0x199)](){const _0x455d5d=_0x590804,_0x7e050c=this[_0x455d5d(0x125)][_0x455d5d(0x160)][_0x455d5d(0x10c)](_0x1edf6e),_0x892a5a=this[_0x455d5d(0x125)][_0x455d5d(0x160)][_0x455d5d(0x10c)](_0xeca481);this[_0x455d5d(0x125)][_0x455d5d(0x1e4)](_0x455d5d(0x19c)),_0x892a5a[_0x455d5d(0x14f)][_0x455d5d(0x173)](this[_0x455d5d(0x197)])&&_0x892a5a[_0x455d5d(0x151)](this[_0x455d5d(0x197)]),_0x7e050c[_0x455d5d(0x1c4)](this),this[_0x455d5d(0x189)](),super[_0x455d5d(0x199)]();}async[_0x590804(0x1fa)](_0x3958ee){const _0x49fdbb=_0x590804;if(this[_0x49fdbb(0x1f4)]!==_0x3958ee[_0x49fdbb(0x1f4)]&&this[_0x49fdbb(0x11f)]!==_0x3958ee[_0x49fdbb(0x1f0)])throw new K();return this[_0x49fdbb(0x1f4)]=_0x3958ee[_0x49fdbb(0x1f4)],this[_0x49fdbb(0x1dd)]([],{..._0x3958ee,'wereChangesApplied':!0x1,'data':_0x3958ee[_0x49fdbb(0x1a7)]},_0x49fdbb(0x154));}async[_0x590804(0x183)](_0x10d52f,_0x43c71e=!0x1){const _0x586869=_0x590804,{connection:_0x111a4c}=this[_0x586869(0x125)][_0x586869(0x160)][_0x586869(0x10c)](_0x1edf6e);RealTimeCollaborationClient[_0x586869(0x17a)][_0x586869(0x1e8)](_0x111a4c,this[_0x586869(0x197)])[_0x586869(0x1f8)](_0x3292b0=>this[_0x586869(0x161)](_0x3292b0))[_0x586869(0x139)](_0x495af1=>{const _0xc6a947=_0x586869;this[_0xc6a947(0x1c3)](_0xc6a947(0x128),_0x495af1);}),this[_0x586869(0x1dc)](this[_0x586869(0x148)],_0x586869(0x200),this[_0x586869(0x11c)][_0x586869(0x174)](this)),this[_0x586869(0x1dc)](this[_0x586869(0x148)],_0x586869(0x17b),(_0x2b87fe,_0x57eaa2)=>{const _0x26b1fd=_0x586869;this[_0x26b1fd(0x1c3)](_0x26b1fd(0x142),_0x57eaa2);}),this[_0x586869(0x1dc)](this[_0x586869(0x148)],_0x586869(0x18c),()=>{const _0x3a1bd5=_0x586869;this[_0x3a1bd5(0x13e)]=!0x1;});const _0x49af8f=this[_0x586869(0x1cf)][_0x586869(0x1b0)](_0x10d52f);this[_0x586869(0x1bc)]=!0x0;const _0x4cb415=await this[_0x586869(0x148)][_0x586869(0x1cc)](_0x111a4c,this[_0x586869(0x18d)](_0x10d52f),_0x49af8f);if(this[_0x586869(0x1f4)]=_0x4cb415[_0x586869(0x1f4)],_0x43c71e){if(!_0x4cb415[_0x586869(0x188)])return void this[_0x586869(0x121)]();this[_0x586869(0x1bc)]=!0x1,this[_0x586869(0x17e)](),this[_0x586869(0x16a)][_0x586869(0x12e)](),this[_0x586869(0x1b6)]=_0x4cb415[_0x586869(0x204)],this[_0x586869(0x16a)][_0x586869(0x190)]=this[_0x586869(0x1b6)],await this[_0x586869(0x1dd)](_0x10d52f,_0x4cb415,_0x586869(0x163));}else await this[_0x586869(0x11a)](_0x4cb415,_0x10d52f);this[_0x586869(0x146)](),this[_0x586869(0x13e)]=!0x0;}[_0x590804(0x146)](){const _0x2033e4=_0x590804,_0x5b7bae=this[_0x2033e4(0x125)][_0x2033e4(0x160)][_0x2033e4(0x10c)](_0xeca481),_0x2f5d78=this[_0x2033e4(0x125)][_0x2033e4(0x160)][_0x2033e4(0x10c)](_0xa483d3),_0x2ce7b7=_0x5b7bae[_0x2033e4(0x14f)][_0x2033e4(0x10c)](this[_0x2033e4(0x197)]);_0x2ce7b7&&_0x2ce7b7[_0x2033e4(0x140)]>0x1?_0x2f5d78[_0x2033e4(0x1db)]():this[_0x2033e4(0x1dc)](_0x5b7bae,_0x2033e4(0x18a)+this[_0x2033e4(0x197)],()=>{const _0x108c7d=_0x2033e4;0x2===_0x5b7bae[_0x108c7d(0x14f)][_0x108c7d(0x10c)](this[_0x108c7d(0x197)])[_0x108c7d(0x140)]&&_0x2f5d78[_0x108c7d(0x1db)]();});}async[_0x590804(0x11c)](_0x413075,_0x53f579,_0x7ce15b,_0x247496){const _0x571221=_0x590804;if(!this[_0x571221(0x1bc)]&&this[_0x571221(0x156)][_0x571221(0x190)]==_0x53f579){const _0x1fe920=this[_0x571221(0x186)](_0x7ce15b,_0x247496);await this[_0x571221(0x1ca)](_0x1fe920),this[_0x571221(0x150)](_0x1fe920,_0x53f579,_0x7ce15b[_0x571221(0x1f0)])||this[_0x571221(0x1c3)](_0x571221(0x1d0));}}async[_0x590804(0x18b)](){const _0x307ead=_0x590804;this[_0x307ead(0x189)]();const {locale:_0x10c35d}=this[_0x307ead(0x125)];let _0x58ef9f;try{_0x58ef9f=await this[_0x307ead(0x148)][_0x307ead(0x1ad)]();}catch{const _0x4f69dd=_0x59d0a9(_0x10c35d,_0x307ead(0x15f));return void this[_0x307ead(0x121)](_0x4f69dd);}const _0x580566=_0x58ef9f[_0x307ead(0x19b)]||_0x58ef9f[_0x307ead(0x1c6)];if(this[_0x307ead(0x11f)]!==_0x580566[_0x307ead(0x1f0)]){const _0x1bb0a0=_0x59d0a9(_0x10c35d,_0x307ead(0x102));return void this[_0x307ead(0x121)](_0x1bb0a0);}await this[_0x307ead(0x183)](this[_0x307ead(0x125)][_0x307ead(0x1d7)][_0x307ead(0x1e3)][_0x307ead(0x1eb)][_0x307ead(0x129)](),!0x0);}[_0x590804(0x189)](){const _0x162734=_0x590804;this[_0x162734(0x148)][_0x162734(0x1a0)](),this[_0x162734(0x12f)]=[],clearTimeout(this[_0x162734(0x1df)]),this[_0x162734(0x207)](this[_0x162734(0x148)]);}[_0x590804(0x161)](_0x5eec31){const _0x5bd437=_0x590804,_0x3e1180=this[_0x5bd437(0x125)][_0x5bd437(0x160)][_0x5bd437(0x10c)](_0xeca481);this[_0x5bd437(0x1dc)](_0x3e1180,_0x5bd437(0x18a)+this[_0x5bd437(0x197)],(_0x4c0dcd,{session:_0x411808})=>{const _0x164c15=_0x5bd437;if(_0x411808['id']===_0x3e1180[_0x164c15(0x177)]){_0x4c0dcd[_0x164c15(0x10a)]();const _0x3e8bd8=this[_0x164c15(0x125)][_0x164c15(0x160)][_0x164c15(0x173)](_0x164c15(0x119))&&this[_0x164c15(0x125)][_0x164c15(0x160)][_0x164c15(0x10c)](_0x164c15(0x119));let _0x34c421=_0x411808[_0x164c15(0x1d2)];_0x3e8bd8&&_0x3e8bd8[_0x164c15(0x1e7)]&&(_0x34c421=_0x34c421[_0x164c15(0x170)](_0x3a4e9c=>_0x164c15(0x143)!==_0x3a4e9c)),this[_0x164c15(0x125)][_0x164c15(0x160)][_0x164c15(0x10c)](_0x164c15(0x1e6))[_0x164c15(0x19f)](_0x34c421,this[_0x164c15(0x197)]);}}),_0x3e1180[_0x5bd437(0x194)](this[_0x5bd437(0x197)],_0x5eec31);}[_0x590804(0x180)](){const _0x20b12e=_0x590804,_0x4368db=this[_0x20b12e(0x125)][_0x20b12e(0x1a7)][_0x20b12e(0x12a)];this[_0x20b12e(0x125)][_0x20b12e(0x1a7)][_0x20b12e(0x12a)]=(..._0x3dd32e)=>{const _0x469f8f=_0x20b12e;if(!_0x3dd32e[_0x3dd32e[_0x469f8f(0x140)]-0x1][_0x469f8f(0x10f)])throw new _0x1bac0b(_0x469f8f(0x205),this);_0x4368db[_0x469f8f(0x110)](this[_0x469f8f(0x125)][_0x469f8f(0x1a7)],_0x3dd32e);};}[_0x590804(0x206)](){const _0x243d5b=_0x590804;this[_0x243d5b(0x125)][_0x243d5b(0x1a7)]['on'](_0x243d5b(0x1ba),(_0x2d3b7e,[_0x3a9ca4])=>{const _0x2586d6=_0x243d5b;if(this[_0x2586d6(0x156)][_0x2586d6(0x190)])throw new _0x1bac0b(_0x2586d6(0x131),this);_0x2d3b7e[_0x2586d6(0x165)](),this[_0x2586d6(0x1aa)]();const _0x4d79cc=this[_0x2586d6(0x125)][_0x2586d6(0x1d5)][_0x2586d6(0x10c)](_0x2586d6(0x187)),_0x513dbc=this[_0x2586d6(0x12b)](_0x3a9ca4,_0x4d79cc);0x0==_0x513dbc[_0x2586d6(0x140)]&&_0x513dbc[_0x2586d6(0x122)](new _0x1125de(0x0)),_0x2d3b7e[_0x2586d6(0x1f3)]=this[_0x2586d6(0x183)](_0x513dbc)[_0x2586d6(0x1f8)](()=>{const _0x50a469=_0x2586d6;this[_0x50a469(0x125)][_0x50a469(0x160)][_0x50a469(0x10c)](_0x1edf6e)[_0x50a469(0x1b8)](this),this[_0x50a469(0x125)][_0x50a469(0x1a7)][_0x50a469(0x1c9)](_0x50a469(0x1a2));})[_0x2586d6(0x139)](_0x2d28e9=>this[_0x2586d6(0x1c3)](_0x2586d6(0x179),_0x2d28e9))[_0x2586d6(0x1e9)](()=>this[_0x2586d6(0x17e)]());},{'priority':_0x243d5b(0x175)}),this[_0x243d5b(0x125)]['on'](_0x243d5b(0x11e),async(_0x39be0e,[_0x4d76a3,_0x229c46])=>{const _0x327ed7=_0x243d5b;_0x39be0e[_0x327ed7(0x165)]();const _0xf90078=this[_0x327ed7(0x125)][_0x327ed7(0x1d7)][_0x327ed7(0x1e3)][_0x327ed7(0x134)](_0x4d76a3);if(!this[_0x327ed7(0x15a)][_0x327ed7(0x173)](_0x4d76a3)){const _0x3bb19c=_0x229c46&&_0x229c46[_0x327ed7(0x1a7)]?_0x229c46[_0x327ed7(0x1a7)]:'',_0x319aac=_0x229c46&&_0x229c46[_0x327ed7(0x185)]?_0x229c46[_0x327ed7(0x185)]:{};await this[_0x327ed7(0x159)](_0x4d76a3,_0x3bb19c,_0x319aac);}this[_0x327ed7(0x125)][_0x327ed7(0x1d7)][_0x327ed7(0x105)]({'isUndoable':!0x1},()=>{const _0x449962=_0x327ed7;_0xf90078[_0x449962(0x14a)]=!0x0,this[_0x449962(0x125)][_0x449962(0x1d7)][_0x449962(0x1e3)][_0x449962(0x16d)][_0x449962(0x1ee)](_0xf90078);});},{'priority':_0x243d5b(0x175)});}async[_0x590804(0x1ca)](_0x49363c){const _0x1d8dbe=_0x590804,_0x5619c7=this[_0x1d8dbe(0x125)][_0x1d8dbe(0x160)][_0x1d8dbe(0x10c)](_0x2dabef),{connection:_0x43df5f}=this[_0x1d8dbe(0x125)][_0x1d8dbe(0x160)][_0x1d8dbe(0x10c)](_0x1edf6e),_0x4845cd=new Set();for(const _0x228f58 of _0x49363c){const _0x2685e1=_0x228f58[_0x1d8dbe(0x11d)];_0x2685e1&&!_0x5619c7[_0x1d8dbe(0x152)](_0x2685e1)&&_0x4845cd[_0x1d8dbe(0x178)](_0x2685e1);}if(0x0===_0x4845cd[_0x1d8dbe(0x12d)])return;const _0x2046ea=await _0x2a10b0[_0x1d8dbe(0x198)](_0x43df5f,Array[_0x1d8dbe(0x16c)](_0x4845cd));for(const _0x3b4458 of _0x2046ea)_0x5619c7[_0x1d8dbe(0x152)](_0x3b4458['id'])||_0x5619c7[_0x1d8dbe(0x107)](_0x3b4458);}[_0x590804(0x12b)](_0x51e2fa,_0x41fb50={}){const _0x243a7f=_0x590804,_0x36ef7a=this[_0x243a7f(0x125)][_0x243a7f(0x1d7)],_0x2520a1=[];let _0x4d8e74=0x0;const _0x4822eb=_0x243a7f(0x10b)==typeof _0x51e2fa?{'main':_0x51e2fa}:_0x51e2fa;for(const _0x4c410f of Object[_0x243a7f(0x201)](_0x4822eb)){if(!this[_0x243a7f(0x156)][_0x243a7f(0x12c)][_0x243a7f(0x173)](_0x4c410f))throw new _0x1bac0b(_0x243a7f(0x109),this);const _0x4d7b96=this[_0x243a7f(0x125)][_0x243a7f(0x1a7)][_0x243a7f(0x104)](_0x4822eb[_0x4c410f]),_0xdc51b4=this[_0x243a7f(0x156)][_0x243a7f(0x134)](_0x4c410f),_0x46c900=new _0x4953d9(_0x36ef7a[_0x243a7f(0x153)](_0xdc51b4,0x0),_0x4d7b96,_0x4d8e74++);_0x2520a1[_0x243a7f(0x122)](_0x46c900);for(const [_0x3c87eb,_0x3087cc]of _0x4d7b96[_0x243a7f(0x1f2)]){const _0xe84c6=_0x36ef7a[_0x243a7f(0x133)](_0x36ef7a[_0x243a7f(0x1c2)](_0xdc51b4,_0x3087cc[_0x243a7f(0x1bd)][_0x243a7f(0x1bb)][_0x243a7f(0x138)]()),_0x36ef7a[_0x243a7f(0x1c2)](_0xdc51b4,_0x3087cc[_0x243a7f(0x1ac)][_0x243a7f(0x1bb)][_0x243a7f(0x138)]())),_0x4a40db=new _0x4b8200(_0x3c87eb,null,_0xe84c6,_0x36ef7a[_0x243a7f(0x1f2)],!0x0,_0x4d8e74++);_0x2520a1[_0x243a7f(0x122)](_0x4a40db);}}if(_0x41fb50)for(const [_0x20b159,_0x3cb5bb]of Object[_0x243a7f(0x1a1)](_0x41fb50)){const _0x22ced9=_0x36ef7a[_0x243a7f(0x1e3)][_0x243a7f(0x134)](_0x20b159);if(!_0x22ced9)throw new _0x1bac0b(_0x243a7f(0x103),null);for(const [_0x1ca34b,_0x471cc3]of Object[_0x243a7f(0x1a1)](_0x3cb5bb))if(null!==_0x471cc3){const _0x5e75c1=new _0x17c96e(_0x22ced9,_0x1ca34b,null,_0x471cc3,_0x4d8e74++);_0x2520a1[_0x243a7f(0x122)](_0x5e75c1);}}return _0x2520a1;}async[_0x590804(0x159)](_0x26bcb3,_0x790fa3,_0x270499){const _0x4abf54=_0x590804;this[_0x4abf54(0x12b)]({[_0x26bcb3]:_0x790fa3},{[_0x26bcb3]:_0x270499})[_0x4abf54(0x162)]((_0x9d9c7c,_0x1ed303)=>{const _0x3cce17=_0x4abf54;_0x9d9c7c[_0x3cce17(0x141)]=this[_0x3cce17(0x156)][_0x3cce17(0x190)]+_0x1ed303,_0x9d9c7c[_0x3cce17(0x145)]=!0x0,this[_0x3cce17(0x1d6)](_0x9d9c7c);}),this[_0x4abf54(0x19d)](),await this[_0x4abf54(0x117)]();}async[_0x590804(0x11a)](_0x1351d9,_0x36efa){const _0x3984bb=_0x590804;let _0x4ff1af;this[_0x3984bb(0x1b6)]=_0x1351d9[_0x3984bb(0x204)];const _0x541d49=_0x1351d9[_0x3984bb(0x188)]&&!_0x1351d9[_0x3984bb(0x176)],_0xa966c0=_0x541d49?0x0:_0x1351d9[_0x3984bb(0x1a7)][_0x3984bb(0x141)];if(_0x36efa[_0x3984bb(0x162)](_0x4079e3=>{const _0x293d6c=_0x3984bb;_0x4079e3[_0x293d6c(0x145)]=!0x0,_0x4079e3[_0x293d6c(0x1f7)]=_0x1351d9[_0x293d6c(0x171)],_0x4079e3[_0x293d6c(0x11d)]=null;}),_0x541d49)_0x4ff1af=_0x36efa,this[_0x3984bb(0x1af)](_0x4ff1af,_0x541d49);else{if(_0x1351d9[_0x3984bb(0x176)]){const _0x326a00=this[_0x3984bb(0x12b)](_0x1351d9[_0x3984bb(0x176)]);this[_0x3984bb(0x156)][_0x3984bb(0x1eb)][_0x3984bb(0x190)]=-_0x326a00[_0x3984bb(0x140)],_0x326a00[_0x3984bb(0x162)](_0x4e1b6e=>{const _0x160efd=_0x3984bb;_0x4e1b6e[_0x160efd(0x141)]-=_0x326a00[_0x160efd(0x140)],_0x4e1b6e[_0x160efd(0x1f7)]=_0x1351d9[_0x160efd(0x171)],_0x4e1b6e[_0x160efd(0x145)]=!0x0,_0x4e1b6e[_0x160efd(0x11d)]=null;}),this[_0x3984bb(0x1af)](_0x326a00,!0x0),this[_0x3984bb(0x16a)][_0x3984bb(0x190)]=-_0x326a00[_0x3984bb(0x140)]+this[_0x3984bb(0x1b6)],this[_0x3984bb(0x1d4)](_0x326a00);}this[_0x3984bb(0x156)][_0x3984bb(0x1eb)][_0x3984bb(0x190)]=_0xa966c0,_0x4ff1af=this[_0x3984bb(0x186)](_0x1351d9[_0x3984bb(0x1a7)],_0x1351d9[_0x3984bb(0x169)]),await this[_0x3984bb(0x1ca)](_0x4ff1af),this[_0x3984bb(0x1af)](_0x4ff1af,_0x541d49);}_0x1351d9[_0x3984bb(0x1f0)]&&(this[_0x3984bb(0x1cf)][_0x3984bb(0x1c7)](_0x4ff1af,_0x1351d9[_0x3984bb(0x1f0)]),this[_0x3984bb(0x11f)]=_0x1351d9[_0x3984bb(0x1f0)]),this[_0x3984bb(0x16a)][_0x3984bb(0x190)]=_0xa966c0+this[_0x3984bb(0x1b6)],this[_0x3984bb(0x1d4)](_0x4ff1af),_0x36efa[_0x3984bb(0x170)](_0x2a00ab=>{const _0x11e6bd=_0x3984bb,_0x5b019b=this[_0x11e6bd(0x155)](_0x2a00ab);return _0x5b019b&&!this[_0x11e6bd(0x15a)][_0x11e6bd(0x173)](_0x5b019b);})[_0x3984bb(0x162)]((_0x3fddb1,_0x308d88)=>{const _0x2bf9a7=_0x3984bb;_0x3fddb1[_0x2bf9a7(0x141)]=this[_0x2bf9a7(0x156)][_0x2bf9a7(0x190)]+_0x308d88,this[_0x2bf9a7(0x1d6)](_0x3fddb1);}),this[_0x3984bb(0x15e)]()?(this[_0x3984bb(0x1f5)]=0x0,this[_0x3984bb(0x19d)](!0x0),await this[_0x3984bb(0x117)]()):(this[_0x3984bb(0x1bc)]=!0x1,this[_0x3984bb(0x17e)]());}[_0x590804(0x1c3)](_0x2d3598,_0x3fb864){const _0x5c552c=_0x590804,_0x332218=_0x3fb864&&_0x3fb864[_0x5c552c(0x1e0)];if(_0x332218&&_0x332218[_0x5c552c(0x168)](_0x5c552c(0x137)))throw _0x3fb864;const _0x2a7d02=this[_0x5c552c(0x125)][_0x5c552c(0x160)][_0x5c552c(0x10c)](_0x1edf6e);throw this[_0x5c552c(0x1bc)]=!0x0,_0x2a7d02[_0x5c552c(0x1a0)](),this[_0x5c552c(0x125)][_0x5c552c(0x1e4)](_0x5c552c(0x172)),new _0x1bac0b(_0x2d3598,this[_0x5c552c(0x125)],_0x332218?{'originalError':_0x332218}:void 0x0);}[_0x590804(0x1d6)](_0x4c4300){const _0x556e78=_0x590804;this[_0x556e78(0x17f)][_0x556e78(0x173)](_0x4c4300)||(this[_0x556e78(0x17f)][_0x556e78(0x178)](_0x4c4300),this[_0x556e78(0x12f)][_0x556e78(0x122)](_0x4c4300),this[_0x556e78(0x16f)]||_0x556e78(0x1ec)==_0x4c4300[_0x556e78(0x19e)]&&!_0x4c4300[_0x556e78(0x1fe)]||this[_0x556e78(0x1aa)]());}[_0x590804(0x19d)](_0x408bf6=!0x1){const _0x2804c4=_0x590804;!_0x408bf6&&this[_0x2804c4(0x1bc)]||(this[_0x2804c4(0x1bc)]=!0x0,clearTimeout(this[_0x2804c4(0x1df)]),this[_0x2804c4(0x1df)]=setTimeout(()=>{const _0x1646eb=_0x2804c4;this[_0x1646eb(0x1c0)]()[_0x1646eb(0x1f8)](_0x345538=>{const _0x2772f9=_0x1646eb;_0x345538&&(this[_0x2772f9(0x17e)](),this[_0x2772f9(0x1bc)]=!0x1);})[_0x1646eb(0x139)](_0x5b8c9e=>{const _0x46a333=_0x1646eb;this[_0x46a333(0x17e)](),this[_0x46a333(0x1bc)]=!0x1,function(_0x13be63){const _0x38909a=_0x46a333;return _0x13be63[_0x38909a(0x1e0)][_0x38909a(0x168)](_0x38909a(0x158))||_0x13be63[_0x38909a(0x1e0)][_0x38909a(0x168)](_0x38909a(0x15b))||_0x13be63[_0x38909a(0x1e0)][_0x38909a(0x168)](_0x38909a(0x1a8));}(_0x5b8c9e)||this[_0x46a333(0x1c3)](_0x5b8c9e[_0x46a333(0x1e0)],_0x5b8c9e);});},this[_0x2804c4(0x1f5)]));}[_0x590804(0x117)](){return new Promise(_0x35c8ca=>{const _0x57f25d=_0x3fe2;this['on'](_0x57f25d(0x191),()=>{_0x35c8ca();});});}async[_0x590804(0x1c0)](){const _0x1aef71=_0x590804,_0x17f0a5=this[_0x1aef71(0x125)][_0x1aef71(0x160)][_0x1aef71(0x10c)](_0xa483d3);if(this[_0x1aef71(0x1be)]()&&(_0x17f0a5[_0x1aef71(0x1db)](),this[_0x1aef71(0x1a4)]=!0x1),!this[_0x1aef71(0x15e)]())return!0x0;const _0x384823=[...this[_0x1aef71(0x12f)]];for(const _0x132f9f of _0x384823)_0x132f9f[_0x1aef71(0x13f)]=this[_0x1aef71(0x156)][_0x1aef71(0x1eb)][_0x1aef71(0x1a6)](_0x132f9f);const _0x50604d=this[_0x1aef71(0x1cf)][_0x1aef71(0x1b0)](_0x384823),_0x4de396=$++,_0x4208ab=this[_0x1aef71(0x18d)](_0x384823),_0x196efa=await this[_0x1aef71(0x148)][_0x1aef71(0x147)](_0x4208ab,_0x4208ab[_0x1aef71(0x141)],_0x50604d);try{return await this[_0x1aef71(0x1dd)](_0x384823,_0x196efa,_0x4de396);}catch(_0x448cf5){return this[_0x1aef71(0x1c3)](_0x1aef71(0x16e),_0x448cf5);}}async[_0x590804(0x1dd)](_0x585bee,_0x4d04f9,_0x220f92){const _0x502794=_0x590804;if(_0x502794(0x17b)in _0x4d04f9)throw _0x4d04f9[_0x502794(0x17b)];let _0x3bfcda=!0x1;if(_0x4d04f9[_0x502794(0x188)]){_0x4d04f9[_0x502794(0x1f0)]&&(this[_0x502794(0x11f)]=_0x4d04f9[_0x502794(0x1f0)]),this[_0x502794(0x12f)]=this[_0x502794(0x12f)][_0x502794(0x170)](_0x1acd1f=>!_0x585bee[_0x502794(0x1e2)](_0x1acd1f));for(const _0x3cfa10 of _0x585bee)_0x3cfa10[_0x502794(0x1f7)]=_0x502794(0x1f6)in _0x4d04f9&&_0x4d04f9[_0x502794(0x1f6)]||void 0x0;J(_0x585bee,_0x4d04f9[_0x502794(0x190)]-_0x585bee[_0x502794(0x140)]),this[_0x502794(0x1d4)](_0x585bee);const _0x1bd875=_0x585bee[_0x502794(0x170)](_0x31a70a=>{const _0x2ec47a=_0x502794;if(!_0x31a70a[_0x2ec47a(0x145)])return!0x1;const _0xd0ebd4=this[_0x2ec47a(0x155)](_0x31a70a);return _0xd0ebd4&&!this[_0x2ec47a(0x15a)][_0x2ec47a(0x173)](_0xd0ebd4);});J(_0x1bd875,this[_0x502794(0x156)][_0x502794(0x190)]),this[_0x502794(0x1af)](_0x1bd875),_0x3bfcda=!0x0,this[_0x502794(0x1f5)]=this[_0x502794(0x13c)];}else{const _0x2075ad=this[_0x502794(0x186)](_0x4d04f9[_0x502794(0x1a7)],_0x4d04f9[_0x502794(0x169)])[_0x502794(0x170)](_0x25946f=>_0x25946f[_0x502794(0x141)]>=this[_0x502794(0x10e)]);_0x2075ad[_0x502794(0x162)](_0xf44d43=>this[_0x502794(0x1c8)](_0xf44d43)),this[_0x502794(0x12f)]=this[_0x502794(0x12f)][_0x502794(0x170)](_0x415a0d=>!_0x415a0d[_0x502794(0x145)]||!this[_0x502794(0x15a)][_0x502794(0x173)](this[_0x502794(0x155)](_0x415a0d))),this[_0x502794(0x12f)][_0x502794(0x140)]&&J(this[_0x502794(0x12f)],this[_0x502794(0x12f)][0x0][_0x502794(0x141)]),await this[_0x502794(0x1ca)](_0x2075ad),_0x3bfcda=this[_0x502794(0x150)](_0x2075ad,_0x4d04f9[_0x502794(0x190)],_0x4d04f9[_0x502794(0x1f0)]),this[_0x502794(0x1f5)]=Math[_0x502794(0x10d)](this[_0x502794(0x1f5)]/0x2);}return _0x3bfcda?!this[_0x502794(0x15e)]()||(this[_0x502794(0x19d)](!0x0),!0x1):this[_0x502794(0x1c3)](_0x502794(0x15c));}[_0x590804(0x150)](_0x35079c,_0x4a4d3a,_0x4aaeb8){const _0x4f942a=_0x590804;try{const _0x2d32c5={'document':this[_0x4f942a(0x156)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1fc690,operationsB:_0x3c5b56,originalOperations:_0x219033}=_0x35f1db(_0x35079c,this[_0x4f942a(0x12f)],_0x2d32c5);J(_0x1fc690,this[_0x4f942a(0x156)][_0x4f942a(0x190)]),J(_0x3c5b56,_0x4a4d3a);for(const _0x179f61 of _0x1fc690){const _0x2e5f67=_0x219033[_0x4f942a(0x10c)](_0x179f61);_0x179f61[_0x4f942a(0x11d)]=_0x2e5f67?_0x2e5f67[_0x4f942a(0x11d)]:null;}_0x4aaeb8&&(this[_0x4f942a(0x1cf)][_0x4f942a(0x1c7)](_0x35079c,_0x4aaeb8),this[_0x4f942a(0x11f)]=_0x4aaeb8),this[_0x4f942a(0x12f)]=[..._0x3c5b56],this[_0x4f942a(0x1af)](_0x1fc690),this[_0x4f942a(0x1d4)](_0x35079c);}catch(_0x1eaaa0){return console[_0x4f942a(0x17b)](_0x1eaaa0),!0x1;}return!0x0;}[_0x590804(0x1af)](_0x361bbf,_0x54269b=!0x1){const _0x3f60e0=_0x590804;this[_0x3f60e0(0x125)][_0x3f60e0(0x1d7)][_0x3f60e0(0x105)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4178bf=>{const _0x4a0cec=_0x3f60e0;for(const _0x4b4f09 of _0x361bbf)this[_0x4a0cec(0x17f)][_0x4a0cec(0x178)](_0x4b4f09),this[_0x4a0cec(0x1c8)](_0x4b4f09),_0x4178bf[_0x4a0cec(0x113)][_0x4a0cec(0x1ff)](_0x4b4f09),this[_0x4a0cec(0x125)][_0x4a0cec(0x1d7)][_0x4a0cec(0x1f9)](_0x4b4f09);});}[_0x590804(0x1c8)](_0x5c343c){const _0xf5f52a=_0x590804,_0x40ccef=this[_0xf5f52a(0x155)](_0x5c343c);_0x40ccef&&this[_0xf5f52a(0x15a)][_0xf5f52a(0x178)](_0x40ccef);}[_0x590804(0x155)](_0x3d4936){const _0x336850=_0x590804;let _0x2e6372,_0x1a7c6b;switch(_0x3d4936[_0x336850(0x19e)]){case _0x336850(0x132):_0x2e6372=_0x3d4936[_0x336850(0x1b2)][_0x336850(0x1b9)];break;case _0x336850(0x1ec):if(_0x1a7c6b=_0x3d4936[_0x336850(0x106)],!_0x1a7c6b)return null;_0x2e6372=_0x1a7c6b[_0x336850(0x1b9)];break;case _0x336850(0x13d):_0x2e6372=_0x3d4936[_0x336850(0x1b9)];break;case _0x336850(0x1b7):_0x2e6372=_0x3d4936[_0x336850(0x1da)];break;case _0x336850(0x1fb):_0x2e6372=_0x3d4936[_0x336850(0x1b1)][_0x336850(0x1b9)];break;default:return null;}return _0x2e6372[_0x336850(0x182)];}[_0x590804(0x1d4)](_0x135b53){const _0x43842a=_0x590804;_0x135b53[_0x43842a(0x162)](_0x37db43=>{const _0xb1badd=_0x43842a,_0x42874d=_0x37db43[_0xb1badd(0x202)]();_0x42874d[_0xb1badd(0x11d)]=_0x37db43[_0xb1badd(0x11d)],_0x42874d[_0xb1badd(0x145)]=!!_0x37db43[_0xb1badd(0x145)],_0x42874d[_0xb1badd(0x1f7)]=_0x37db43[_0xb1badd(0x1f7)],_0x42874d[_0xb1badd(0x141)]+=this[_0xb1badd(0x1b6)],_0x37db43[_0xb1badd(0x166)]&&this[_0xb1badd(0x1de)][_0xb1badd(0x178)](_0x42874d),this[_0xb1badd(0x16a)][_0xb1badd(0x1ff)](_0x42874d);});}[_0x590804(0x121)](_0x4fa33a){const _0x24c35c=_0x590804,_0x2832d4=this[_0x24c35c(0x125)][_0x24c35c(0x160)][_0x24c35c(0x10c)](_0x24c35c(0x13b)),_0x5e119a=this[_0x24c35c(0x125)][_0x24c35c(0x1ce)];_0x4fa33a||(_0x4fa33a=_0x59d0a9(_0x5e119a,_0x24c35c(0x1fd))),_0x2832d4[_0x24c35c(0x1d1)](_0x4fa33a,{'title':_0x59d0a9(_0x5e119a,_0x24c35c(0x1b3)),'namespace':_0x24c35c(0x127)}),this[_0x24c35c(0x15d)]=!0x0,clearTimeout(this[_0x24c35c(0x1df)]),this[_0x24c35c(0x12f)]=[],this[_0x24c35c(0x125)][_0x24c35c(0x160)][_0x24c35c(0x10c)](_0x1edf6e)[_0x24c35c(0x1a0)]();}[_0x590804(0x1aa)](){const _0x95218f=_0x590804;this[_0x95218f(0x16f)]||(this[_0x95218f(0x16f)]=this[_0x95218f(0x125)][_0x95218f(0x160)][_0x95218f(0x10c)](_0x49a0ed)[_0x95218f(0x178)](_0x59d0a9(this[_0x95218f(0x125)][_0x95218f(0x1ce)],_0x95218f(0x1ef))));}[_0x590804(0x17e)](){const _0x90abae=_0x590804;this[_0x90abae(0x16f)]&&(this[_0x90abae(0x125)][_0x90abae(0x160)][_0x90abae(0x10c)](_0x49a0ed)[_0x90abae(0x19a)](this[_0x90abae(0x16f)]),this[_0x90abae(0x16f)]=null);}[_0x590804(0x18d)](_0x2eca0d){const _0x4da08e=_0x590804,_0x202ede=_0x2eca0d[_0x4da08e(0x203)](_0xc24c64=>_0xc24c64[_0x4da08e(0x108)]());return this[_0x4da08e(0x14d)][_0x4da08e(0x184)](_0x202ede);}[_0x590804(0x186)](_0x607a8e,_0x53d189){const _0x2e5641=_0x590804;return this[_0x2e5641(0x14d)][_0x2e5641(0x18f)](_0x607a8e)[_0x2e5641(0x203)]((_0x3144d0,_0x34b416)=>{const _0x2de2c2=_0x2e5641,_0x29657c=_0x2de2c2(0x1ba)==_0x53d189[_0x34b416][_0x2de2c2(0x19e)];if(_0x2de2c2(0x115)==_0x3144d0[_0x2de2c2(0x1d3)]){const _0x5430d3=_0x3144d0[_0x2de2c2(0x1b2)][_0x2de2c2(0x1b9)];!this[_0x2de2c2(0x156)][_0x2de2c2(0x134)](_0x5430d3)&&(this[_0x2de2c2(0x156)][_0x2de2c2(0x1bf)](_0x2de2c2(0x1f1),_0x5430d3)[_0x2de2c2(0x126)]=!0x1);}const _0x212347=_0x35c5f8[_0x2de2c2(0x14c)](_0x3144d0,this[_0x2de2c2(0x156)]);return _0x212347[_0x2de2c2(0x13f)]=_0x3144d0[_0x2de2c2(0x13f)],_0x212347[_0x2de2c2(0x145)]=_0x29657c,_0x212347[_0x2de2c2(0x11d)]=_0x29657c?null:_0x53d189[_0x34b416][_0x2de2c2(0x14b)],_0x212347[_0x2de2c2(0x166)]=_0x2de2c2(0x1cb)===_0x53d189[_0x34b416][_0x2de2c2(0x19e)],_0x212347[_0x2de2c2(0x1f7)]=_0x53d189[_0x34b416][_0x2de2c2(0x1f7)],_0x212347;});}[_0x590804(0x114)](){const _0x30414d=_0x590804;this[_0x30414d(0x1a4)]=!0x0,this[_0x30414d(0x1be)]()?this[_0x30414d(0x19d)]():this[_0x30414d(0x1a4)]=!0x1;}[_0x590804(0x1be)](){const _0x4fc48e=_0x590804,_0x42489e=this[_0x4fc48e(0x125)][_0x4fc48e(0x160)][_0x4fc48e(0x10c)](_0xeca481)[_0x4fc48e(0x14f)][_0x4fc48e(0x10c)](this[_0x4fc48e(0x197)]);return!this[_0x4fc48e(0x125)][_0x4fc48e(0x1b4)]&&!!_0x42489e&&_0x42489e[_0x4fc48e(0x140)]>0x1&&this[_0x4fc48e(0x1a4)];}[_0x590804(0x15e)](){const _0x1ebaae=_0x590804;return this[_0x1ebaae(0x12f)][_0x1ebaae(0x140)]>0x0||this[_0x1ebaae(0x1be)]();}}class K extends Error{}function J(_0x28d2b4,_0x109307){const _0x199eb9=_0x590804;for(const _0x40ddb8 of _0x28d2b4)_0x40ddb8[_0x199eb9(0x141)]=_0x109307++;}class Q{[_0x590804(0x1e1)];[_0x590804(0x1d9)];constructor(_0x5c6a5b){const _0x3182f6=_0x590804;this[_0x3182f6(0x1e1)]=_0x5c6a5b,this[_0x3182f6(0x1d9)]=new WeakMap();}[_0x590804(0x1b0)](_0x2e51cd){const _0x2e2c48=_0x590804;let _0xb58305=_0x2e51cd[_0x2e2c48(0x140)];for(;_0xb58305--;){const _0x4a9084=_0x2e51cd[_0xb58305];if(!this[_0x2e2c48(0x1e1)][_0x2e2c48(0x173)](_0x4a9084)){if(!this[_0x2e2c48(0x1d9)][_0x2e2c48(0x173)](_0x4a9084)){const _0x87685f=_0x30271c()[_0x2e2c48(0x138)](0x1,0x12);this[_0x2e2c48(0x1d9)][_0x2e2c48(0x12a)](_0x4a9084,_0x87685f);}return this[_0x2e2c48(0x1d9)][_0x2e2c48(0x10c)](_0x4a9084);}}}[_0x590804(0x1c7)](_0x242df5,_0x20834d){const _0x42549b=_0x590804;if(!_0x20834d)return;let _0x2f8167=_0x242df5[_0x42549b(0x140)];for(;_0x2f8167--;){const _0xb93ac8=_0x242df5[_0x2f8167];this[_0x42549b(0x1e1)][_0x42549b(0x173)](_0xb93ac8)||this[_0x42549b(0x1d9)][_0x42549b(0x12a)](_0xb93ac8,_0x20834d);}}}
|