@ckeditor/ckeditor5-real-time-collaboration 47.2.0-alpha.3 → 47.2.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +14 -14
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.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/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.4",
|
|
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.4",
|
|
51
|
+
"@ckeditor/ckeditor5-comments": "47.2.0-alpha.4",
|
|
52
|
+
"@ckeditor/ckeditor5-core": "47.2.0-alpha.4",
|
|
53
|
+
"@ckeditor/ckeditor5-editor-multi-root": "47.2.0-alpha.4",
|
|
54
|
+
"@ckeditor/ckeditor5-engine": "47.2.0-alpha.4",
|
|
55
|
+
"@ckeditor/ckeditor5-operations-compressor": "47.2.0-alpha.4",
|
|
56
|
+
"@ckeditor/ckeditor5-revision-history": "47.2.0-alpha.4",
|
|
57
|
+
"@ckeditor/ckeditor5-theme-lark": "47.2.0-alpha.4",
|
|
58
|
+
"@ckeditor/ckeditor5-track-changes": "47.2.0-alpha.4",
|
|
59
|
+
"@ckeditor/ckeditor5-ui": "47.2.0-alpha.4",
|
|
60
|
+
"@ckeditor/ckeditor5-utils": "47.2.0-alpha.4",
|
|
61
|
+
"ckeditor5": "47.2.0-alpha.4",
|
|
62
|
+
"ckeditor5-collaboration": "47.2.0-alpha.4",
|
|
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 _0x23f4e6=_0x13d6;(function(_0x8afe27,_0x45aa0b){const _0x140e33=_0x13d6,_0x4cf233=_0x8afe27();while(!![]){try{const _0x1a3093=-parseInt(_0x140e33(0x1e6))/0x1*(-parseInt(_0x140e33(0x1c6))/0x2)+parseInt(_0x140e33(0x1da))/0x3+parseInt(_0x140e33(0x20d))/0x4+parseInt(_0x140e33(0x204))/0x5+-parseInt(_0x140e33(0x1c3))/0x6+parseInt(_0x140e33(0x221))/0x7*(-parseInt(_0x140e33(0x1c5))/0x8)+-parseInt(_0x140e33(0x20f))/0x9*(parseInt(_0x140e33(0x1f5))/0xa);if(_0x1a3093===_0x45aa0b)break;else _0x4cf233['push'](_0x4cf233['shift']());}catch(_0x4ae9b1){_0x4cf233['push'](_0x4cf233['shift']());}}}(_0x1bc6,0xeeffa));import{ContextPlugin as _0x335f1a}from'ckeditor5/src/core.js';import{CKEditorError as _0x500a9a,Collection as _0x1a7cb5}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x2f1308,BalloonPanelView as _0x2873b0,BodyCollection as _0x220fb1}from'ckeditor5/src/ui.js';import{isElement as _0x13ed1a}from'es-toolkit/compat';import{Sessions as _0x7b4c54}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x1d6ad3}from'./view/presencelistview.js';import{PresenceCounterView as _0x189ca6}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x1ce91c}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x1c6f32}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x48ac54}from'./view/presenceinlinelistitemview.js';const U={'collapseAt':0x6,'displayMe':!0x0};function _0x1bc6(){const _0x32e23f=['querySelectorAll','usersCount','presenceList.container','button','3673284gktvRA','Esc','43656iXlrZp','491482rRquFZ','counterView','unpin','items','currentDisplayedUsers','view','balloonPanelView','select','execute','destroy','isVisible',':not([disabled]):not([tabindex=\x22-1\x22])','min','focus','isFocusable','onClick','init','find','listenTo','filter','243969XtfkWo','locale','presenceDropdownView','displayMe','input','_allConnectedUsers','keystrokes','ck\x20ck-presence-list__balloon','presenceList.collapseAt','isCollapsed','set','sort','5DewpDC','isMe','number','textarea','isPremiumPlugin','pluginName','map','presenceList.displayMe','config','allConnectedUsers','add','presencelist:hide','pin','element','focusTracker','210wsOoQm','tabIndex','offsetHeight','detachFromDom','Tab','presencelist-collapseat-invalid-format','change:isFocused','PresenceListUI','hasTooltip','reverse','_handleUserAdd','attachToDom','class','hideDropdown','isExpanded','3146360tybgEV','plugins','from','remove','indexOf','body','content','context','_handleUserRemove','6697688UfdCAg','Shift+Tab','307863ZvmXFl','[tabindex]','offsetWidth','inlineListView','presencelist:show','get','isRendered','bindTo','_bodyCollection','isOfficialPlugin','[contenteditable]','_createView','presencelist-missing-container','activeElement','length','requires','checkIfScrollable','using','1673jbZzlr','showDropdown','presenceList','appendChild','render','Enter','join','bind','define'];_0x1bc6=function(){return _0x32e23f;};return _0x1bc6();}function _0x13d6(_0x1defe5,_0x1cfc63){const _0x1bc61e=_0x1bc6();return _0x13d6=function(_0x13d61e,_0x308656){_0x13d61e=_0x13d61e-0x1c1;let _0x2cacb5=_0x1bc61e[_0x13d61e];return _0x2cacb5;},_0x13d6(_0x1defe5,_0x1cfc63);}export class PresenceListUI extends _0x335f1a{[_0x23f4e6(0x1ca)];[_0x23f4e6(0x1cc)];[_0x23f4e6(0x1cb)];[_0x23f4e6(0x1dc)];[_0x23f4e6(0x217)]=null;static get[_0x23f4e6(0x1eb)](){const _0x4c884d=_0x23f4e6;return _0x4c884d(0x1fc);}static get[_0x23f4e6(0x218)](){return!0x0;}static get[_0x23f4e6(0x1ea)](){return!0x0;}constructor(_0x58d593){const _0x583314=_0x23f4e6;super(_0x58d593),this[_0x583314(0x20b)][_0x583314(0x1ee)][_0x583314(0x229)](_0x583314(0x223),U);const _0x473897=_0x58d593[_0x583314(0x1ee)][_0x583314(0x214)](_0x583314(0x1e2));if(_0x583314(0x1e8)!=typeof _0x473897)throw new _0x500a9a(_0x583314(0x1fa),this);if(_0x473897<0x1)throw new _0x500a9a(_0x583314(0x1fa),this);this[_0x583314(0x1df)]=this[_0x583314(0x20b)][_0x583314(0x205)][_0x583314(0x214)](_0x7b4c54)[_0x583314(0x1ef)],this[_0x583314(0x1e4)](_0x583314(0x22b),0x0),this[_0x583314(0x1ca)]=new _0x1a7cb5(),this[_0x583314(0x1cc)]=new _0x2873b0(),this[_0x583314(0x1cc)][_0x583314(0x201)]=_0x583314(0x1e1),this[_0x583314(0x1cb)]=this[_0x583314(0x21a)](),this[_0x583314(0x1dc)]=void 0x0;}static get[_0x23f4e6(0x21e)](){return[_0x7b4c54];}[_0x23f4e6(0x1d6)](){const _0x40ab22=_0x23f4e6;for(const _0x39b14f of this[_0x40ab22(0x1df)])this[_0x40ab22(0x1ff)](_0x39b14f);this[_0x40ab22(0x1d8)](this[_0x40ab22(0x1df)],_0x40ab22(0x1f0),(_0x18cf40,_0x14beee)=>{const _0xc58f7=_0x40ab22;this[_0xc58f7(0x1ff)](_0x14beee);}),this[_0x40ab22(0x1d8)](this[_0x40ab22(0x1df)],_0x40ab22(0x207),(_0xb08ee4,_0x1bcac4)=>{const _0x55e006=_0x40ab22;this[_0x55e006(0x20c)](_0x1bcac4);});}[_0x23f4e6(0x21a)](){const _0x277702=_0x23f4e6,_0x52b4c6=this[_0x277702(0x20b)],_0x4cbfca=new _0x1d6ad3(this[_0x277702(0x20b)][_0x277702(0x1db)],this[_0x277702(0x20b)][_0x277702(0x1ee)][_0x277702(0x214)](_0x277702(0x1e2))),_0x57c700=this[_0x277702(0x1cc)];if(!_0x13ed1a(_0x52b4c6[_0x277702(0x1ee)][_0x277702(0x214)](_0x277702(0x1c1))))throw new _0x500a9a(_0x277702(0x21b),this);return _0x4cbfca[_0x277702(0x1c7)][_0x277702(0x228)](_0x277702(0x22b))['to'](this),_0x4cbfca[_0x277702(0x228)](_0x277702(0x1e3))['to'](this,_0x277702(0x22b),_0x1861f3=>{const _0x45221c=_0x277702,{collapseAt:_0x1150c2}=_0x52b4c6[_0x45221c(0x1ee)][_0x45221c(0x214)](_0x45221c(0x223)),_0x5c8798=_0x1861f3>=_0x1150c2;if(_0x5c8798&&!_0x4cbfca[_0x45221c(0x212)][_0x45221c(0x1c9)][_0x45221c(0x1d7)](_0x41e0ff=>_0x41e0ff instanceof _0x189ca6)){const _0x36b13d=this[_0x45221c(0x20b)][_0x45221c(0x1ee)][_0x45221c(0x214)](_0x45221c(0x1e2))-0x1;this[_0x45221c(0x1ca)][_0x45221c(0x21d)]==_0x36b13d&&this[_0x45221c(0x1ca)][_0x45221c(0x21d)]>0x1&&this[_0x45221c(0x1ca)][_0x45221c(0x207)](this[_0x45221c(0x1ca)][_0x45221c(0x21d)]-0x1),_0x4cbfca[_0x45221c(0x212)][_0x45221c(0x1c9)][_0x45221c(0x1f0)](_0x4cbfca[_0x45221c(0x1c7)]);}return _0x5c8798||this[_0x45221c(0x202)](),_0x5c8798;}),_0x4cbfca[_0x277702(0x212)][_0x277702(0x1c9)][_0x277702(0x216)](this[_0x277702(0x1ca)])[_0x277702(0x220)](_0x2549d9=>{const _0x4f0d58=_0x277702,_0x158c0d=_0x52b4c6[_0x4f0d58(0x1ee)][_0x4f0d58(0x214)](_0x4f0d58(0x223)),_0x430894=new _0x48ac54(_0x52b4c6[_0x4f0d58(0x1db)],_0x2549d9,!!_0x158c0d[_0x4f0d58(0x1d5)]);return _0x430894[_0x4f0d58(0x228)](_0x4f0d58(0x1fd))['to'](_0x4cbfca,_0x4f0d58(0x1e3),_0x1cdd94=>!_0x1cdd94),_0x430894[_0x4f0d58(0x228)](_0x4f0d58(0x1d4))['to'](_0x4cbfca,_0x4f0d58(0x1e3),_0x261d7b=>!_0x261d7b),_0x158c0d[_0x4f0d58(0x1d5)]&&this[_0x4f0d58(0x1d8)](_0x430894,_0x4f0d58(0x1ce),()=>{const _0x378d73=_0x4f0d58;this[_0x378d73(0x1cb)][_0x378d73(0x1e3)]||_0x158c0d[_0x378d73(0x1d5)](_0x2549d9,_0x430894[_0x378d73(0x1f3)]);}),_0x430894;}),this[_0x277702(0x1d8)](_0x4cbfca[_0x277702(0x212)],_0x277702(0x213),()=>{const _0x46dfdf=_0x277702;this[_0x46dfdf(0x1cb)][_0x46dfdf(0x1e3)]&&this[_0x46dfdf(0x222)]();}),this[_0x277702(0x1d8)](_0x4cbfca[_0x277702(0x212)],_0x277702(0x1f1),()=>{const _0xa85af2=_0x277702;this[_0xa85af2(0x1dc)]&&this[_0xa85af2(0x202)]();}),_0x4cbfca[_0x277702(0x212)][_0x277702(0x1e0)][_0x277702(0x1e4)](_0x277702(0x226),(_0x42d6d6,_0x168cde)=>{const _0xd4d644=_0x277702;this[_0xd4d644(0x1cb)][_0xd4d644(0x1e3)]&&(this[_0xd4d644(0x222)](),_0x168cde());}),_0x4cbfca[_0x277702(0x225)](),_0x57c700[_0x277702(0x225)](),_0x2f1308({'emitter':_0x4cbfca,'activator':()=>_0x57c700[_0x277702(0x1d0)],'contextElements':[_0x57c700[_0x277702(0x1f3)],_0x4cbfca[_0x277702(0x212)][_0x277702(0x1f3)]],'callback':()=>this[_0x277702(0x202)]()}),_0x52b4c6[_0x277702(0x1ee)][_0x277702(0x214)](_0x277702(0x1c1))[_0x277702(0x224)](_0x4cbfca[_0x277702(0x1f3)]),this[_0x277702(0x217)]=new _0x220fb1(this[_0x277702(0x20b)][_0x277702(0x1db)]),this[_0x277702(0x217)][_0x277702(0x200)](),this[_0x277702(0x217)][_0x277702(0x1f0)](this[_0x277702(0x1cc)]),_0x4cbfca;}[_0x23f4e6(0x1ff)](_0x5a8c6e){const _0x836fc7=_0x23f4e6;if(!this[_0x836fc7(0x20b)][_0x836fc7(0x1ee)][_0x836fc7(0x214)](_0x836fc7(0x1ed))&&_0x5a8c6e[_0x836fc7(0x1e7)])return;const _0x4f3772=this[_0x836fc7(0x20b)][_0x836fc7(0x1ee)][_0x836fc7(0x214)](_0x836fc7(0x1e2))-0x1;for(this[_0x836fc7(0x22b)]++;this[_0x836fc7(0x1ca)][_0x836fc7(0x21d)]>=_0x4f3772-(this[_0x836fc7(0x1cb)][_0x836fc7(0x1e3)]?0x1:0x0)&&this[_0x836fc7(0x1ca)][_0x836fc7(0x21d)]>0x1;)this[_0x836fc7(0x1ca)][_0x836fc7(0x207)](0x1);const _0x153593=_0x5a8c6e[_0x836fc7(0x1e7)]?0x0:this[_0x836fc7(0x1ca)][_0x836fc7(0x21d)];this[_0x836fc7(0x1ca)][_0x836fc7(0x1f0)](_0x5a8c6e,_0x153593);}[_0x23f4e6(0x20c)](_0x3cef73){const _0x3a9a98=_0x23f4e6;this[_0x3a9a98(0x22b)]--;const {collapseAt:_0x570df8}=this[_0x3a9a98(0x20b)][_0x3a9a98(0x1ee)][_0x3a9a98(0x214)](_0x3a9a98(0x223)),_0x4262bf=this[_0x3a9a98(0x22b)]>=_0x570df8;if(this[_0x3a9a98(0x1ca)][_0x3a9a98(0x214)](_0x3cef73['id']))this[_0x3a9a98(0x1ca)][_0x3a9a98(0x207)](_0x3cef73['id']);else{if(_0x4262bf&&this[_0x3a9a98(0x1ca)][_0x3a9a98(0x21d)]+0x1===_0x570df8-0x1)return;}if(this[_0x3a9a98(0x1ca)][_0x3a9a98(0x21d)]+(_0x4262bf?0x1:0x0)<this[_0x3a9a98(0x22b)]){for(const _0x5616ee of Array[_0x3a9a98(0x206)](this[_0x3a9a98(0x1df)])[_0x3a9a98(0x1fe)]())if(!this[_0x3a9a98(0x1ca)][_0x3a9a98(0x214)](_0x5616ee['id'])&&(this[_0x3a9a98(0x1ca)][_0x3a9a98(0x1f0)](_0x5616ee,Math[_0x3a9a98(0x1d2)](this[_0x3a9a98(0x1ca)][_0x3a9a98(0x21d)]-(_0x4262bf?0x1:0x0),0x1)),this[_0x3a9a98(0x1ca)][_0x3a9a98(0x21d)]+(_0x4262bf?0x1:0x0)===_0x570df8-0x1))return;}}[_0x23f4e6(0x222)](){const _0x2fce56=_0x23f4e6;if(this[_0x2fce56(0x1dc)])return;const _0x3a3634=this[_0x2fce56(0x20b)][_0x2fce56(0x1ee)][_0x2fce56(0x214)](_0x2fce56(0x223));this[_0x2fce56(0x1dc)]=new _0x1ce91c(this[_0x2fce56(0x20b)][_0x2fce56(0x1db)],!!_0x3a3634[_0x2fce56(0x1d5)]),this[_0x2fce56(0x1cb)][_0x2fce56(0x212)][_0x2fce56(0x203)]=!0x0,this[_0x2fce56(0x1d8)](this[_0x2fce56(0x1dc)],_0x2fce56(0x1f1),()=>{const _0x260150=_0x2fce56;this[_0x260150(0x1dc)]&&this[_0x260150(0x202)]();});const {listWrapperView:_0x337102}=this[_0x2fce56(0x1dc)];_0x337102[_0x2fce56(0x1c9)][_0x2fce56(0x216)](this[_0x2fce56(0x1df)])[_0x2fce56(0x220)](_0x46b360=>{const _0x479892=_0x2fce56;if(!_0x3a3634[_0x479892(0x1dd)]&&_0x46b360[_0x479892(0x1e7)])return null;const _0x55262b=new _0x1c6f32(this[_0x479892(0x20b)][_0x479892(0x1db)],_0x46b360,!!_0x3a3634[_0x479892(0x1d5)]);return _0x3a3634[_0x479892(0x1d5)]&&this[_0x479892(0x1d8)](_0x55262b,_0x479892(0x1ce),()=>{const _0x160aa5=_0x479892;_0x3a3634[_0x160aa5(0x1d5)](_0x46b360,_0x55262b[_0x160aa5(0x1f3)]);}),_0x55262b;}),this[_0x2fce56(0x1cc)][_0x2fce56(0x20a)][_0x2fce56(0x1f0)](this[_0x2fce56(0x1dc)]),this[_0x2fce56(0x1cc)][_0x2fce56(0x1f2)]({'target':this[_0x2fce56(0x1cb)][_0x2fce56(0x212)][_0x2fce56(0x1f3)]}),_0x337102[_0x2fce56(0x1d3)](),_0x337102[_0x2fce56(0x21f)]();const _0xe29d89=(_0x29eb4f,_0x4deec3)=>{const _0xc8c76b=_0x2fce56;this[_0xc8c76b(0x202)](),this[_0xc8c76b(0x1cb)][_0xc8c76b(0x212)][_0xc8c76b(0x1d3)](),_0x4deec3();};_0x337102[_0x2fce56(0x1e0)][_0x2fce56(0x1e4)](_0x2fce56(0x1c4),_0xe29d89),_0x337102[_0x2fce56(0x1e0)][_0x2fce56(0x1e4)](_0x2fce56(0x20e),_0xe29d89),_0x337102[_0x2fce56(0x1e0)][_0x2fce56(0x1e4)](_0x2fce56(0x1f9),(_0xc55468,_0xa1b50c)=>{const _0x3508c1=_0x2fce56;!function(_0xc0bd6f){const _0x2ae468=_0x13d6,_0x24dcb3=['a',_0x2ae468(0x1c2),_0x2ae468(0x1de),_0x2ae468(0x1cd),_0x2ae468(0x1e9),_0x2ae468(0x210),_0x2ae468(0x219)][_0x2ae468(0x1ec)](_0x343151=>_0x343151+_0x2ae468(0x1d1))[_0x2ae468(0x227)](','),_0x43a27c=[...document[_0x2ae468(0x209)][_0x2ae468(0x22a)](_0x24dcb3)][_0x2ae468(0x1d9)](_0x2a9228=>_0x2a9228===document[_0x2ae468(0x21c)]||_0x2a9228[_0x2ae468(0x211)]+_0x2a9228[_0x2ae468(0x1f7)]>0x0)[_0x2ae468(0x1e5)]((_0x3d46e2,_0x28639e)=>(_0x3d46e2[_0x2ae468(0x1f6)]||0x0)-(_0x28639e[_0x2ae468(0x1f6)]||0x0)),_0x213507=_0x43a27c[_0x2ae468(0x208)](_0xc0bd6f),_0x1cb95a=_0x43a27c[(_0x213507+0x1)%_0x43a27c[_0x2ae468(0x21d)]];_0x1cb95a&&_0x1cb95a[_0x2ae468(0x1d3)]();}(this[_0x3508c1(0x1cb)][_0x3508c1(0x1f3)]),this[_0x3508c1(0x202)](),_0xa1b50c();}),_0x337102[_0x2fce56(0x1f4)][_0x2fce56(0x1f0)](this[_0x2fce56(0x1cb)][_0x2fce56(0x1f3)]),_0x337102[_0x2fce56(0x1f4)]['on'](_0x2fce56(0x1fb),(_0x4f3167,_0xeb594d,_0x1ace50)=>{const _0x341281=_0x2fce56;_0x1ace50||this[_0x341281(0x202)]();});}[_0x23f4e6(0x202)](){const _0x4413be=_0x23f4e6;this[_0x4413be(0x1dc)]&&(this[_0x4413be(0x1cb)][_0x4413be(0x212)][_0x4413be(0x203)]=!0x1,this[_0x4413be(0x1cc)][_0x4413be(0x1c8)](),this[_0x4413be(0x1cc)][_0x4413be(0x20a)][_0x4413be(0x207)](this[_0x4413be(0x1dc)]),this[_0x4413be(0x1dc)][_0x4413be(0x1cf)](),this[_0x4413be(0x1dc)]=void 0x0);}[_0x23f4e6(0x1cf)](){const _0x503273=_0x23f4e6;super[_0x503273(0x1cf)](),this[_0x503273(0x1cb)]&&this[_0x503273(0x1cb)][_0x503273(0x215)]&&this[_0x503273(0x1cb)][_0x503273(0x1cf)](),this[_0x503273(0x217)]&&(this[_0x503273(0x217)][_0x503273(0x1f8)](),this[_0x503273(0x217)][_0x503273(0x1cf)](),this[_0x503273(0x217)]=null);}}
|
|
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);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x23e4(_0x3f2de8,_0x6c104f){const _0x277151=_0x2771();return _0x23e4=function(_0x23e470,_0x2edef6){_0x23e470=_0x23e470-0x103;let _0x2fb7a8=_0x277151[_0x23e470];return _0x2fb7a8;},_0x23e4(_0x3f2de8,_0x6c104f);}const _0x40369f=_0x23e4;(function(_0x23add5,_0x140c94){const _0x2ab23e=_0x23e4,_0x283bb2=_0x23add5();while(!![]){try{const _0x2b6f6c=parseInt(_0x2ab23e(0x129))/0x1+-parseInt(_0x2ab23e(0x125))/0x2+-parseInt(_0x2ab23e(0x127))/0x3*(-parseInt(_0x2ab23e(0x11a))/0x4)+-parseInt(_0x2ab23e(0x111))/0x5+-parseInt(_0x2ab23e(0x107))/0x6+-parseInt(_0x2ab23e(0x110))/0x7*(parseInt(_0x2ab23e(0x123))/0x8)+parseInt(_0x2ab23e(0x126))/0x9;if(_0x2b6f6c===_0x140c94)break;else _0x283bb2['push'](_0x283bb2['shift']());}catch(_0x4a4331){_0x283bb2['push'](_0x283bb2['shift']());}}}(_0x2771,0xf25a8));import{ListView as _0x54c9f8,View as _0x331969}from'ckeditor5/src/ui.js';import{global as _0x51907f}from'ckeditor5/src/utils.js';import{getTranslation as _0x4a58f5}from'../../common-translations.js';export class PresenceDropdownListView extends _0x331969{[_0x40369f(0x10b)];constructor(_0x1b50a0,_0x34b4c7){const _0x15488d=_0x40369f;super(_0x1b50a0);const _0x19b777=this[_0x15488d(0x113)];this[_0x15488d(0x10b)]=new PresenceDropdownListWrapperView(_0x1b50a0,_0x34b4c7),this[_0x15488d(0x118)]({'tag':_0x15488d(0x120),'attributes':{'tabindex':-0x1,'role':_0x15488d(0x12e),'class':['ck',_0x15488d(0x117)],'aria-label':_0x4a58f5(_0x1b50a0,_0x15488d(0x10d))},'children':[this[_0x15488d(0x10b)]],'on':{'mouseleave':_0x19b777['to'](_0x2edceb=>{const _0x54aaeb=_0x15488d,_0x46397e=_0x2edceb,_0x15c58f=document[_0x54aaeb(0x10a)](_0x54aaeb(0x104)),_0x108be8=document[_0x54aaeb(0x10a)](_0x54aaeb(0x103));_0x15c58f?.[_0x54aaeb(0x105)](_0x46397e[_0x54aaeb(0x115)])||_0x108be8?.[_0x54aaeb(0x105)](_0x46397e[_0x54aaeb(0x115)])||this[_0x54aaeb(0x106)](_0x54aaeb(0x128));})}});}}function _0x2771(){const _0x41f0ec=['contains','fire','7065378vRdfTI','ariaLabelledBy','role','querySelector','listWrapperView','max','Connected\x20users\x20list\x20dropdown\x20menu','innerHeight','element','252XPvRPt','1664975uYsmky','ck-reset','bindTemplate','set','relatedTarget','ck-list','ck-presence-list__dropdown-list','setTemplate','_isScrollable','4KPfFTS','items','listenTo','window','render','checkIfScrollable','div','ck-presence-list__dropdown-list-wrapper','clientHeight','253192ROrMsa','ariaLabel','3066466NqAVMb','39157920lwuCjz','532704opZPiX','presencelist:hide','647387WLqAFR','ck-presence-list__dropdown-list-wrapper_scrollable','change','resize','scrollHeight','application','.ck-balloon-panel_with-arrow','.ck-presence-list__list'];_0x2771=function(){return _0x41f0ec;};return _0x2771();}export class PresenceDropdownListWrapperView extends _0x54c9f8{constructor(_0x53f994,_0x168408){const _0x175283=_0x40369f;super(_0x53f994);const _0x1219c1=this[_0x175283(0x113)];this[_0x175283(0x114)](_0x175283(0x119),!0x1),this[_0x175283(0x118)]({'tag':_0x168408?_0x175283(0x120):'ul','attributes':{'class':['ck',_0x175283(0x112),_0x175283(0x116),_0x175283(0x121),_0x1219c1['if'](_0x175283(0x119),_0x175283(0x12a))],'role':_0x1219c1['to'](_0x175283(0x109)),'aria-label':_0x1219c1['to'](_0x175283(0x124)),'aria-labelledby':_0x1219c1['to'](_0x175283(0x108))},'children':this[_0x175283(0x11b)]}),this[_0x175283(0x11c)](_0x51907f[_0x175283(0x11d)],_0x175283(0x12c),()=>this[_0x175283(0x11f)]()),this[_0x175283(0x11b)]['on'](_0x175283(0x12b),()=>this[_0x175283(0x11f)]());}[_0x40369f(0x11e)](){const _0xa22406=_0x40369f;super[_0xa22406(0x11e)](),this[_0xa22406(0x11f)]();}[_0x40369f(0x11f)](){const _0x3c5a2c=_0x40369f,_0x5c834e=this[_0x3c5a2c(0x10f)];_0x5c834e&&(this[_0x3c5a2c(0x119)]=Math[_0x3c5a2c(0x10c)](_0x5c834e[_0x3c5a2c(0x12d)],_0x5c834e[_0x3c5a2c(0x122)])>0.8*window[_0x3c5a2c(0x10e)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x548f22=_0x53c4;(function(_0x1fc120,_0x5b0f79){const _0x30ade1=_0x53c4,_0x3aa1b0=_0x1fc120();while(!![]){try{const _0x404d9f=parseInt(_0x30ade1(0x212))/0x1*(parseInt(_0x30ade1(0x1f6))/0x2)+parseInt(_0x30ade1(0x20e))/0x3+parseInt(_0x30ade1(0x218))/0x4*(parseInt(_0x30ade1(0x211))/0x5)+parseInt(_0x30ade1(0x205))/0x6+parseInt(_0x30ade1(0x210))/0x7*(-parseInt(_0x30ade1(0x1ff))/0x8)+parseInt(_0x30ade1(0x1f2))/0x9*(-parseInt(_0x30ade1(0x1f7))/0xa)+parseInt(_0x30ade1(0x1fd))/0xb*(-parseInt(_0x30ade1(0x207))/0xc);if(_0x404d9f===_0x5b0f79)break;else _0x3aa1b0['push'](_0x3aa1b0['shift']());}catch(_0x348632){_0x3aa1b0['push'](_0x3aa1b0['shift']());}}}(_0x30a3,0xe017a));import{View as _0x4da6d2}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x349a06}from'ckeditor5/src/utils.js';function _0x53c4(_0x52fffc,_0x1f4e2e){const _0x30a3e3=_0x30a3();return _0x53c4=function(_0x53c4c6,_0x249822){_0x53c4c6=_0x53c4c6-0x1f0;let _0x2857e5=_0x30a3e3[_0x53c4c6];return _0x2857e5;},_0x53c4(_0x52fffc,_0x1f4e2e);}import{getTranslation as _0x504c4c}from'../../common-translations.js';export class PresenceInlineListView extends _0x4da6d2{[_0x548f22(0x20c)];[_0x548f22(0x214)];constructor(_0x28d78e){const _0x594592=_0x548f22;super(_0x28d78e);const _0x21f8ca=this[_0x594592(0x1fc)];this[_0x594592(0x20c)]=this[_0x594592(0x1f9)](),this[_0x594592(0x214)]=new _0x349a06(),this[_0x594592(0x1fa)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x594592(0x1f0)]({'tag':_0x594592(0x201),'attributes':{'aria-haspopup':_0x21f8ca['if'](_0x594592(0x1fb)),'aria-expanded':_0x21f8ca['to'](_0x594592(0x206),_0x18421=>this[_0x594592(0x1fb)]&&String(_0x18421)),'aria-label':_0x21f8ca['to'](_0x594592(0x1fb),_0x32b10e=>_0x504c4c(_0x28d78e,_0x32b10e?_0x594592(0x216):_0x594592(0x204))),'role':_0x594592(0x203),'tabindex':_0x21f8ca['to'](_0x594592(0x1fb),_0x435c6a=>!!_0x435c6a&&0x0),'class':['ck',_0x594592(0x20b)]},'children':this[_0x594592(0x20c)],'on':{'mouseenter':_0x21f8ca['to'](()=>this[_0x594592(0x1f5)](_0x594592(0x209))),'mouseleave':_0x21f8ca['to'](_0x282292=>{const _0x1a8319=_0x594592,_0x446da0=_0x282292,_0x1ea8f9=document[_0x1a8319(0x20d)](_0x1a8319(0x208)),_0x7601bb=document[_0x1a8319(0x20d)](_0x1a8319(0x20f));_0x1ea8f9?.[_0x1a8319(0x20a)](_0x446da0[_0x1a8319(0x1f1)])||_0x7601bb?.[_0x1a8319(0x20a)](_0x446da0[_0x1a8319(0x1f1)])||this[_0x1a8319(0x1f5)](_0x1a8319(0x1f4));})}}),this['on'](_0x594592(0x215),(_0x508a41,_0x5c94e9,_0x5ac8eb)=>{const _0x4c0098=_0x594592;this[_0x4c0098(0x202)]&&(_0x5ac8eb?this[_0x4c0098(0x202)][_0x4c0098(0x1fe)](_0x4c0098(0x200),String(this[_0x4c0098(0x206)])):this[_0x4c0098(0x202)][_0x4c0098(0x1f8)](_0x4c0098(0x200)));});}[_0x548f22(0x213)](){const _0x2128e6=_0x548f22;this[_0x2128e6(0x202)][_0x2128e6(0x213)]();}[_0x548f22(0x1f3)](){const _0x38cc39=_0x548f22;super[_0x38cc39(0x1f3)](),this[_0x38cc39(0x214)][_0x38cc39(0x217)](this[_0x38cc39(0x202)]);}}function _0x30a3(){const _0x5e9958=['bindTemplate','20427OfgiSW','setAttribute','134984GIXfGs','aria-expanded','div','element','list','Connected\x20users\x20list','2032020wngfHz','isExpanded','6108FnEmKg','.ck-presence-list__dropdown-list','presencelist:show','contains','ck-presence-list__list','items','querySelector','4816416KliYcA','.ck-balloon-panel_with-arrow','147xBpLaj','2136405pucMFX','368813yFCicG','focus','keystrokes','change:hasPopup','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','listenTo','8DpMdqT','setTemplate','relatedTarget','63iFfldw','render','presencelist:hide','fire','2KmiwBv','1357270PbVtcL','removeAttribute','createCollection','set','hasPopup'];_0x30a3=function(){return _0x5e9958;};return _0x30a3();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24d4b5=_0x2a19;(function(_0x9d7a64,_0x32f5bd){const _0x4c1ba9=_0x2a19,_0x421f72=_0x9d7a64();while(!![]){try{const _0x379c46=parseInt(_0x4c1ba9(0x128))/0x1+parseInt(_0x4c1ba9(0x12d))/0x2+-parseInt(_0x4c1ba9(0x12a))/0x3+-parseInt(_0x4c1ba9(0x134))/0x4*(-parseInt(_0x4c1ba9(0x12c))/0x5)+-parseInt(_0x4c1ba9(0x12e))/0x6*(parseInt(_0x4c1ba9(0x12f))/0x7)+parseInt(_0x4c1ba9(0x139))/0x8+-parseInt(_0x4c1ba9(0x126))/0x9*(-parseInt(_0x4c1ba9(0x125))/0xa);if(_0x379c46===_0x32f5bd)break;else _0x421f72['push'](_0x421f72['shift']());}catch(_0x3bce01){_0x421f72['push'](_0x421f72['shift']());}}}(_0x3e16,0xe02fb));function _0x3e16(){const _0x3ca67c=['2313xUUvtu','bind','419663bxNDrH','first','1863573cYckwr','change','98355OvRGCQ','890344BbJpeD','2627652zPTuht','28RkNeJb','inlineListView','ck-presence-list--collapsed','tooltipPosition','locale','84YdnWNw','items','ck-reset','div','listenTo','12041688MDxusR','setTemplate','ck-rounded-corners','hasPopup','counterView','ck-presence-list','bindTemplate','set','isCollapsed','19770FkyHrU'];_0x3e16=function(){return _0x3ca67c;};return _0x3e16();}import{View as _0x4da0f9}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x18b6d1}from'./presencecounterview.js';import{PresenceInlineListView as _0x5f0ead}from'./presenceinlinelistview.js';function _0x2a19(_0x16473c,_0x442bd3){const _0x3e1658=_0x3e16();return _0x2a19=function(_0x2a1977,_0x20c531){_0x2a1977=_0x2a1977-0x121;let _0x24ecad=_0x3e1658[_0x2a1977];return _0x24ecad;},_0x2a19(_0x16473c,_0x442bd3);}import'../../../theme/presencelist.css';export class PresenceListView extends _0x4da0f9{[_0x24d4b5(0x13d)];[_0x24d4b5(0x130)];constructor(_0x5cffc8,_0x563199=0x6){const _0x3260f9=_0x24d4b5;super(_0x5cffc8);const _0x333c1a=this[_0x3260f9(0x122)];this[_0x3260f9(0x123)](_0x3260f9(0x124),!0x0),this[_0x3260f9(0x13d)]=new _0x18b6d1(this[_0x3260f9(0x133)],_0x563199),this[_0x3260f9(0x130)]=new _0x5f0ead(_0x5cffc8),this[_0x3260f9(0x130)][_0x3260f9(0x127)](_0x3260f9(0x13c))['to'](this,_0x3260f9(0x124)),this[_0x3260f9(0x138)](this[_0x3260f9(0x130)][_0x3260f9(0x135)],_0x3260f9(0x12b),()=>{const _0x557cbe=_0x3260f9;for(const _0x6fa69b of this[_0x557cbe(0x130)][_0x557cbe(0x135)])_0x6fa69b[_0x557cbe(0x132)]='s';this[_0x557cbe(0x130)][_0x557cbe(0x135)][_0x557cbe(0x129)]&&(this[_0x557cbe(0x130)][_0x557cbe(0x135)][_0x557cbe(0x129)][_0x557cbe(0x132)]='se');}),this[_0x3260f9(0x13a)]({'tag':_0x3260f9(0x137),'attributes':{'class':['ck',_0x3260f9(0x121),_0x3260f9(0x136),_0x3260f9(0x13b),_0x333c1a['if'](_0x3260f9(0x124),_0x3260f9(0x131))]},'children':[this[_0x3260f9(0x130)]]});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x391a17)());[_0x6194f(0x100)];static get[_0x6194f(0x10a)](){const _0x38e956=_0x6194f;return[_0x4fd9a5,_0x38e956(0xf9),_0x131f70,_0x212e63];}static get[_0x6194f(0x101)](){const _0x483305=_0x6194f;return _0x483305(0x119);}static get[_0x6194f(0x10b)](){return!0x0;}static get[_0x6194f(0x103)](){return!0x0;}constructor(_0x9bc6d6){const _0x46df29=_0x6194f;super(_0x9bc6d6),this[_0x46df29(0x100)]=new Map();}async[_0x6194f(0x122)](){const _0x4eb4d7=_0x6194f,_0x3dd91c=this[_0x4eb4d7(0x110)],_0x150355=_0x3dd91c[_0x4eb4d7(0x137)][_0x4eb4d7(0x128)](_0x4eb4d7(0xf9));if(_0x3dd91c[_0x4eb4d7(0x137)][_0x4eb4d7(0x128)](_0x4fd9a5)[_0x4eb4d7(0x108)](this),_0x150355[_0x4eb4d7(0x10c)]={'addCommentThread':async({channelId:_0x4c53ae,threadId:_0x53ea9d,comments:_0x3c1756,resolvedAt:_0x218479,resolvedBy:_0x53fd2b,context:_0x33fe70,attributes:_0x551911})=>{const _0x1998c4=_0x4eb4d7,_0x1624b3=await this[_0x1998c4(0xf7)](_0x4c53ae)[_0x1998c4(0xf3)]({'commentThreadId':_0x53ea9d,'comments':_0x3c1756[_0x1998c4(0xf1)](_0x3ca6a2=>function(_0x41824d,_0x2270e6,_0x24d50b){const _0x3871b6=_0x1998c4;return{'commentThreadId':_0x24d50b,'commentId':_0x41824d[_0x3871b6(0xec)],'userId':_0x41824d[_0x3871b6(0x134)],'content':_0x41824d[_0x3871b6(0x13e)],'documentId':_0x2270e6,'createdAt':_0x41824d[_0x3871b6(0x13d)],'attributes':_0x41824d[_0x3871b6(0x126)]||{}};}(_0x3ca6a2,_0x4c53ae,_0x53ea9d)),'resolvedAt':_0x218479,'resolvedBy':_0x53fd2b,'context':_0x33fe70,'attributes':_0x551911})[_0x1998c4(0x135)](A);return{'threadId':_0x1624b3[_0x1998c4(0xf2)],'comments':_0x1624b3[_0x1998c4(0x12a)]};},'getCommentThread':async({channelId:_0x388394,threadId:_0xda2258})=>{const _0x517d8b=_0x4eb4d7,_0x7bba60=await this[_0x517d8b(0xf7)](_0x388394)[_0x517d8b(0xed)](_0xda2258)[_0x517d8b(0x135)](f)[_0x517d8b(0x135)](A);return _0x7bba60?_0x7bba60[_0x517d8b(0xf4)]?null:(await this[_0x517d8b(0xe2)]([_0x7bba60]),{'threadId':_0x7bba60[_0x517d8b(0xf2)],'comments':_0x7bba60[_0x517d8b(0x12a)][_0x517d8b(0xf1)](p),'context':_0x7bba60[_0x517d8b(0x110)],'resolvedAt':_0x7bba60[_0x517d8b(0x109)],'resolvedBy':_0x7bba60[_0x517d8b(0x140)],'attributes':_0x7bba60[_0x517d8b(0x126)]||{}}):null;},'updateCommentThread':async({channelId:_0x5732b3,threadId:_0x137072,context:_0x44de1b,unlinkedAt:_0x5e73e5,attributes:_0x391344})=>this[_0x4eb4d7(0xf7)](_0x5732b3)[_0x4eb4d7(0x105)]({'commentThreadId':_0x137072,'context':_0x44de1b,'attributes':_0x391344,'unlinkedAt':_0x5e73e5})[_0x4eb4d7(0x135)](f)[_0x4eb4d7(0x135)](A),'resolveCommentThread':async({channelId:_0x4eb94b,threadId:_0x34f247})=>{const _0x3b80ec=_0x4eb4d7,_0x58856a=await this[_0x3b80ec(0xf7)](_0x4eb94b)[_0x3b80ec(0xe0)](_0x34f247)[_0x3b80ec(0x135)](f)[_0x3b80ec(0x135)](A);return{'threadId':_0x58856a[_0x3b80ec(0xf2)],'resolvedAt':_0x58856a[_0x3b80ec(0x109)],'resolvedBy':_0x58856a[_0x3b80ec(0x140)]};},'reopenCommentThread':async({channelId:_0x465633,threadId:_0x1efee5})=>this[_0x4eb4d7(0xf7)](_0x465633)[_0x4eb4d7(0x13c)](_0x1efee5)[_0x4eb4d7(0x135)](f)[_0x4eb4d7(0x135)](A),'removeCommentThread':({channelId:_0x4d23db,threadId:_0x42a74f})=>this[_0x4eb4d7(0xf7)](_0x4d23db)[_0x4eb4d7(0xe4)](_0x42a74f)[_0x4eb4d7(0x135)](f)[_0x4eb4d7(0x135)](A),'addComment':({channelId:_0x81eec9,threadId:_0x32efd4,commentId:_0x5231c1,content:_0x37edf3,attributes:_0x215de1})=>this[_0x4eb4d7(0xf7)](_0x81eec9)[_0x4eb4d7(0x123)](_0x32efd4,_0x5231c1,_0x37edf3,_0x215de1)[_0x4eb4d7(0x135)](A),'updateComment':({channelId:_0x1999e8,threadId:_0x1448c9,commentId:_0xfca54f,content:_0x16e818,attributes:_0x4976e3})=>this[_0x4eb4d7(0xf7)](_0x1999e8)[_0x4eb4d7(0xfc)](_0x1448c9,_0xfca54f,_0x16e818,_0x4976e3)[_0x4eb4d7(0x135)](f)[_0x4eb4d7(0x135)](A),'removeComment':({channelId:_0x2240d1,threadId:_0x380836,commentId:_0x318704})=>this[_0x4eb4d7(0xf7)](_0x2240d1)[_0x4eb4d7(0x130)](_0x380836,_0x318704)[_0x4eb4d7(0x135)](f)[_0x4eb4d7(0x135)](A)},_0x3dd91c instanceof _0x42e05c){const _0x2cfdb3=_0x3dd91c[_0x4eb4d7(0x124)][_0x4eb4d7(0x128)](_0x4eb4d7(0x11f)),_0x41f3ff=_0x3dd91c[_0x4eb4d7(0x137)][_0x4eb4d7(0x128)](_0x131f70);await this[_0x4eb4d7(0xef)](_0x2cfdb3);const _0x1ccb48=await this[_0x4eb4d7(0x100)][_0x4eb4d7(0x128)](_0x2cfdb3)[_0x4eb4d7(0x13a)]();this[_0x4eb4d7(0x133)](_0x41f3ff,_0x4eb4d7(0x120)+_0x2cfdb3,(_0x2456bc,{session:_0x5785fa})=>{const _0x4beda5=_0x4eb4d7;_0x5785fa['id']===_0x41f3ff[_0x4beda5(0x102)]&&(_0x2456bc[_0x4beda5(0x141)](),this[_0x4beda5(0x110)][_0x4beda5(0x137)][_0x4beda5(0x128)](_0x4beda5(0x10d))[_0x4beda5(0x143)](_0x5785fa[_0x4beda5(0x117)],_0x2cfdb3));}),_0x41f3ff[_0x4eb4d7(0xee)](_0x2cfdb3,_0x1ccb48);}}async[_0x6194f(0xef)](_0xf43e15){const _0x5d5ca2=_0x6194f;if(this[_0x5d5ca2(0x100)][_0x5d5ca2(0xe3)](_0xf43e15))throw new _0x588e9f(_0x5d5ca2(0xe6),null,{'channelId':_0xf43e15});const _0x2d1de2=this[_0x5d5ca2(0x110)][_0x5d5ca2(0x137)][_0x5d5ca2(0x128)](_0x5d5ca2(0xf9)),_0x56f367=new CloudServicesCommentsAdapter[(_0x5d5ca2(0x115))](_0xf43e15);this[_0x5d5ca2(0x100)][_0x5d5ca2(0x12d)](_0xf43e15,_0x56f367),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0x146),(_0x493e94,_0x5e7f7d)=>{const _0x2d14d0=_0x5d5ca2,{commentThreadId:_0x49bdf7,documentId:_0x2a7501,context:_0x5477b1,attributes:_0x1391bb,resolvedAt:_0x1b1c4b,resolvedBy:_0x4b8155,comments:_0x2521fd}=_0x5e7f7d;_0x2d1de2[_0x2d14d0(0xed)](_0x49bdf7)||_0x2d1de2[_0x2d14d0(0xf3)]({'threadId':_0x49bdf7,'channelId':_0x2a7501,'comments':_0x2521fd?_0x2521fd[_0x2d14d0(0xf1)](p):[],'context':_0x5477b1,'attributes':_0x1391bb,'resolvedAt':_0x1b1c4b,'resolvedBy':_0x4b8155,'isFromAdapter':!0x0});}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0x125),(_0x274451,{commentThreadId:_0x4c323a,documentId:_0x56064e,context:_0x2d724e,unlinkedAt:_0x421d69,attributes:_0x394524})=>{const _0x2bf5d0=_0x5d5ca2;_0x2d1de2[_0x2bf5d0(0xed)](_0x4c323a)&&_0x2d1de2[_0x2bf5d0(0x105)]({'threadId':_0x4c323a,'channelId':_0x56064e,'context':_0x2d724e,'unlinkedAt':_0x421d69,'attributes':_0x394524,'isFromAdapter':!0x0});}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0x129),(_0x2ea8a2,{commentThreadId:_0x390f6c,resolvedBy:_0x3d34a5,resolvedAt:_0x5654fa})=>{const _0x3afbd5=_0x5d5ca2,_0x192e3a=_0x2d1de2[_0x3afbd5(0xed)](_0x390f6c);_0x192e3a&&_0x192e3a[_0x3afbd5(0x121)]({'resolvedBy':_0x3d34a5,'resolvedAt':_0x5654fa,'isFromAdapter':!0x0});}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0x139),(_0x2de464,{commentThreadId:_0x52e631})=>{const _0x57c819=_0x5d5ca2,_0x2aa7e7=_0x2d1de2[_0x57c819(0xed)](_0x52e631);_0x2aa7e7&&_0x2aa7e7[_0x57c819(0x11e)]({'isFromAdapter':!0x0});}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0xf5),(_0x6a74b1,{commentThreadId:_0x11c6cc})=>{const _0x18619d=_0x5d5ca2,_0x436657=_0x2d1de2[_0x18619d(0xed)](_0x11c6cc);_0x436657&&_0x436657[_0x18619d(0xfd)]({'isFromAdapter':!0x0});}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0xdf),(_0x1eb955,_0x9bc3df)=>{const _0x55093a=_0x5d5ca2,_0x4197ee=_0x9bc3df[_0x55093a(0xf2)],_0x53ff74=_0x2d1de2[_0x55093a(0xed)](_0x4197ee);_0x53ff74&&_0x53ff74[_0x55093a(0x123)]({...p(_0x9bc3df),'isFromAdapter':!0x0});}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0x11a),(_0x8c097d,{commentThreadId:_0x5bdb64,commentId:_0x272aa3,content:_0x44e45c,attributes:_0x104659})=>{const _0x3901f7=_0x5d5ca2,_0x1fbc0e=_0x2d1de2[_0x3901f7(0xed)](_0x5bdb64);if(_0x1fbc0e){const _0xaaeb3b=_0x1fbc0e[_0x3901f7(0xfa)](_0x272aa3);_0xaaeb3b&&_0xaaeb3b[_0x3901f7(0x114)]({'content':_0x44e45c,'attributes':_0x104659,'isFromAdapter':!0x0});}}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0xde),(_0x2bf5b8,{commentThreadId:_0x2c6db1,commentId:_0x5791eb})=>{const _0x1ba496=_0x5d5ca2,_0x3a71ec=_0x2d1de2[_0x1ba496(0xed)](_0x2c6db1);if(_0x3a71ec){const _0x10e32b=_0x3a71ec[_0x1ba496(0xfa)](_0x5791eb);_0x10e32b&&_0x10e32b[_0x1ba496(0xfd)]({'isFromAdapter':!0x0});}}),await this[_0x5d5ca2(0xea)](_0xf43e15);}[_0x6194f(0xe5)](){const _0x57e73e=_0x6194f;if(this[_0x57e73e(0x110)]instanceof _0x42e05c){const _0x28d13b=this[_0x57e73e(0x110)][_0x57e73e(0x124)][_0x57e73e(0x128)](_0x57e73e(0x11f));this[_0x57e73e(0xe1)](_0x28d13b);}}[_0x6194f(0xe1)](_0x1a1737){const _0xad9930=_0x6194f;if(!this[_0xad9930(0x100)][_0xad9930(0xe3)](_0x1a1737))throw new _0x588e9f(_0xad9930(0x118),null,{'channelId':_0x1a1737});this[_0xad9930(0xf7)](_0x1a1737)[_0xad9930(0x104)](),this[_0xad9930(0x100)][_0xad9930(0x144)](_0x1a1737);}async[_0x6194f(0x12b)](){const _0x249eca=_0x6194f;for(const _0x304d1e of this[_0x249eca(0x100)][_0x249eca(0x13f)]())await this[_0x249eca(0xea)](_0x304d1e);if(this[_0x249eca(0x110)]instanceof _0x42e05c){const _0x3f942e=this[_0x249eca(0x110)][_0x249eca(0x124)][_0x249eca(0x128)](_0x249eca(0x11f)),_0x57ca8f=this[_0x249eca(0x110)][_0x249eca(0x137)][_0x249eca(0x128)](_0x131f70);_0x57ca8f[_0x249eca(0x11c)](_0x3f942e);const _0x5de17e=await this[_0x249eca(0x100)][_0x249eca(0x128)](_0x3f942e)[_0x249eca(0x13a)]();_0x57ca8f[_0x249eca(0xee)](_0x3f942e,_0x5de17e);}}async[_0x6194f(0xea)](_0xe6de3c){const _0x227cae=_0x6194f,{connection:_0x5f4b48}=this[_0x227cae(0x110)][_0x227cae(0x137)][_0x227cae(0x128)](_0x4fd9a5),_0x5118c7=this[_0x227cae(0x110)][_0x227cae(0x137)][_0x227cae(0x128)](_0x227cae(0xf9)),_0x33f778=this[_0x227cae(0x100)][_0x227cae(0x128)](_0xe6de3c),_0x3a7781=await _0x33f778[_0x227cae(0xfe)](_0x5f4b48);await this[_0x227cae(0xe2)](_0x3a7781);const _0x55d371=new Set(Array[_0x227cae(0x116)](_0x5118c7[_0x227cae(0xf0)]({'channelId':_0xe6de3c}),_0xae03d3=>_0xae03d3['id']));for(const _0x287a76 of _0x3a7781)_0x287a76[_0x227cae(0xf4)]||_0x55d371[_0x227cae(0x144)](_0x287a76[_0x227cae(0xf2)]);for(const _0x1dce68 of _0x55d371)_0x5118c7[_0x227cae(0xed)](_0x1dce68)[_0x227cae(0xfd)]({'isFromAdapter':!0x0});for(const _0x14150c of _0x3a7781){let _0x27addd=_0x5118c7[_0x227cae(0xed)](_0x14150c[_0x227cae(0xf2)]);const {commentThreadId:_0x29b6c0,context:_0x464a17,attributes:_0x5f3c4b,resolvedBy:_0x6c0ddb,resolvedAt:_0x5ccd71,unlinkedAt:_0x15fa96,deletedAt:_0x399f63}=_0x14150c;if(_0x399f63)continue;_0x27addd||(_0x27addd=_0x5118c7[_0x227cae(0xf3)]({'channelId':_0xe6de3c,'threadId':_0x29b6c0,'context':_0x464a17,'attributes':_0x5f3c4b||{},'resolvedBy':_0x6c0ddb,'resolvedAt':_0x5ccd71,'unlinkedAt':_0x15fa96,'isFromAdapter':!0x0}));const _0x35641d=new Set(Array[_0x227cae(0x116)](_0x27addd[_0x227cae(0x12a)],_0x2e9a63=>_0x2e9a63['id']));for(const _0x1cd3a3 of _0x14150c[_0x227cae(0x12a)])_0x35641d[_0x227cae(0x144)](_0x1cd3a3[_0x227cae(0xec)]);for(const _0x50cce0 of _0x35641d)_0x27addd[_0x227cae(0xfa)](_0x50cce0)[_0x227cae(0xfd)]({'isFromAdapter':!0x0});for(const _0x5c4fac of _0x14150c[_0x227cae(0x12a)]){const _0x548307=_0x27addd[_0x227cae(0xfa)](_0x5c4fac[_0x227cae(0xec)]);_0x548307?_0x548307[_0x227cae(0x13e)]!==_0x5c4fac[_0x227cae(0x13e)]&&_0x548307[_0x227cae(0x114)]({'content':_0x5c4fac[_0x227cae(0x13e)],'isFromAdapter':!0x0}):_0x27addd[_0x227cae(0x123)](Object[_0x227cae(0x138)](p(_0x5c4fac),{'isFromAdapter':!0x0}));}}}[_0x6194f(0xf7)](_0x27358d){const _0xd0bb60=_0x6194f;if(!this[_0xd0bb60(0x100)][_0xd0bb60(0xe3)](_0x27358d))throw new _0x588e9f(_0xd0bb60(0x145),null,{'channelId':_0x27358d});return this[_0xd0bb60(0x100)][_0xd0bb60(0x128)](_0x27358d);}async[_0x6194f(0xe2)](_0x47dac6){const _0x221461=_0x6194f,_0x421829=this[_0x221461(0x110)][_0x221461(0x137)][_0x221461(0x128)](_0x212e63),{connection:_0x9d9b70}=this[_0x221461(0x110)][_0x221461(0x137)][_0x221461(0x128)](_0x4fd9a5),_0x48a9a2=new Set();for(const {resolvedBy:_0x2ef729,comments:_0x2edc68}of _0x47dac6){_0x2ef729&&!_0x421829[_0x221461(0xe7)](_0x2ef729)&&_0x48a9a2[_0x221461(0xf6)](_0x2ef729);for(const {userId:_0x357ef6}of _0x2edc68)_0x421829[_0x221461(0xe7)](_0x357ef6)||_0x48a9a2[_0x221461(0xf6)](_0x357ef6);}if(0x0===_0x48a9a2[_0x221461(0x12f)])return;const _0x4e4742=await _0x3b1dd4[_0x221461(0x10f)](_0x9d9b70,Array[_0x221461(0x116)](_0x48a9a2));for(const _0x5af294 of _0x4e4742)_0x421829[_0x221461(0xe7)](_0x5af294['id'])||_0x421829[_0x221461(0x132)](_0x5af294);}}async function f(_0xf300b4){const _0xa79a3c=_0x6194f;if(_0xa79a3c(0x13b)!==_0xf300b4[_0xa79a3c(0x113)])throw _0xf300b4;}function _0x32b9(){const _0x35fb1a=['commentThreadResolved','comments','reconnect','cloud-services-internal-error:\x20Request\x20timeout.','set','2740593sOSOjb','size','removeComment','8FEVniR','addUser','listenTo','authorId','catch','1990EWDOSf','plugins','assign','commentThreadReopened','getConnectedSessions','404','reopenCommentThread','createdAt','content','keys','resolvedBy','off','261JwVQhd','setPermissions','delete','cloudservicescommentsadapter-service-not-exist','commentThreadAdded','commentRemoved','commentAdded','resolveCommentThread','_terminateService','_fetchMissingUsersForThreads','has','removeCommentThread','destroy','cloudservicescommentsadapter-connect-already-connected','getUser','message','userId','_connectService','3396218flDfmy','commentId','getCommentThread','register','_setUpService','getCommentThreads','map','commentThreadId','addCommentThread','deletedAt','commentThreadRemoved','add','_getService','58021JhBKWh','CommentsRepository','getComment','213910bWrBYT','updateComment','remove','connect','18NwlIaP','_services','pluginName','mySessionId','isPremiumPlugin','disconnect','updateCommentThread','92444zuPULd','startsWith','addToReconnectionStack','resolvedAt','requires','isOfficialPlugin','adapter','Permissions','413872bXqNkg','getMany','context','1690OYVVur','cloud-services-internal-error:\x20Not\x20connected.','code','update','CommentsService','from','permissions','cloudservicescommentsadapter-disconnect-not-exist','CloudServicesCommentsAdapter','commentUpdated','437964APPKcI','unregister','148IhlSZg','reopen','collaboration.channelId','sessionAdd:','resolve','init','addComment','config','commentThreadUpdated','attributes','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','get'];_0x32b9=function(){return _0x35fb1a;};return _0x32b9();}function _0x29da(_0x37c1ae,_0x26be0d){const _0x32b951=_0x32b9();return _0x29da=function(_0x29da65,_0x476ccf){_0x29da65=_0x29da65-0xde;let _0xa0bbbe=_0x32b951[_0x29da65];return _0xa0bbbe;},_0x29da(_0x37c1ae,_0x26be0d);}function A(_0x15ec91){const _0x354c2d=_0x6194f;if((_0x2fbc18=_0x15ec91)[_0x354c2d(0xe8)][_0x354c2d(0x107)](_0x354c2d(0x127))||_0x2fbc18[_0x354c2d(0xe8)][_0x354c2d(0x107)](_0x354c2d(0x112))||_0x2fbc18[_0x354c2d(0xe8)][_0x354c2d(0x107)](_0x354c2d(0x12c)))return new Promise(()=>{});var _0x2fbc18;throw _0x15ec91;}function p(_0x2a6602){const _0x1d7e97=_0x6194f;return{'threadId':_0x2a6602[_0x1d7e97(0xf2)],'commentId':_0x2a6602[_0x1d7e97(0xec)],'content':_0x2a6602[_0x1d7e97(0x13e)],'createdAt':_0x2a6602[_0x1d7e97(0x13d)],'authorId':_0x2a6602[_0x1d7e97(0xe9)],'attributes':_0x2a6602[_0x1d7e97(0x126)]||{}};}
|
|
23
|
+
const _0x49ccac=_0x3736;(function(_0x101132,_0x2bfbc3){const _0x24cd09=_0x3736,_0x163f4b=_0x101132();while(!![]){try{const _0x108972=-parseInt(_0x24cd09(0x1e4))/0x1+-parseInt(_0x24cd09(0x1d0))/0x2+parseInt(_0x24cd09(0x1bc))/0x3+-parseInt(_0x24cd09(0x1d7))/0x4+parseInt(_0x24cd09(0x1b8))/0x5*(parseInt(_0x24cd09(0x1cb))/0x6)+-parseInt(_0x24cd09(0x1fb))/0x7+parseInt(_0x24cd09(0x1da))/0x8;if(_0x108972===_0x2bfbc3)break;else _0x163f4b['push'](_0x163f4b['shift']());}catch(_0x5eec9c){_0x163f4b['push'](_0x163f4b['shift']());}}}(_0x5ee1,0x6673e));import{Context as _0x5a0a34,ContextPlugin as _0x54a041}from'ckeditor5/src/core.js';import{CKEditorError as _0x1836ed}from'ckeditor5/src/utils.js';function _0x5ee1(){const _0x2ecf46=['size','get','21282ZVkDRo','from','pluginName','commentAdded','getComment','356212SVexjC','addToReconnectionStack','init','assign','requires','adapter','delete','1721204dOBkIl','commentThreadRemoved','CommentsService','2636352wLfahz','cloud-services-internal-error:\x20Request\x20timeout.','getCommentThreads','connect','isOfficialPlugin','commentThreadReopened','content','updateCommentThread','resolveCommentThread','commentUpdated','522282BIalVY','getUser','sessionAdd:','resolvedBy','config','_getService','isPremiumPlugin','addComment','updateComment','getMany','CommentsRepository','commentThreadUpdated','permissions','add','_fetchMissingUsersForThreads','update','message','removeComment','_terminateService','cloudservicescommentsadapter-disconnect-not-exist','getConnectedSessions','_services','map','1053500KtyKhd','reconnect','setPermissions','addUser','getCommentThread','unregister','commentThreadAdded','commentThreadId','userId','destroy','cloudservicescommentsadapter-service-not-exist','resolve','keys','attributes','authorId','404','has','code','collaboration.channelId','mySessionId','listenTo','CloudServicesCommentsAdapter','addCommentThread','_connectService','comments','set','disconnect','deletedAt','cloud-services-internal-error:\x20Not\x20connected.','commentId','context','reopenCommentThread','remove','790fmrJXy','reopen','cloudservicescommentsadapter-connect-already-connected','resolvedAt','2432595RWKsVK','createdAt','plugins','_setUpService','commentRemoved','off','startsWith','Permissions','removeCommentThread','register','commentThreadResolved','catch','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.'];_0x5ee1=function(){return _0x2ecf46;};return _0x5ee1();}import{Users as _0x384de9}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x3b3db5,User as _0x4907ac}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x13a8eb}from'../realtimecollaborativeediting/websocketgateway.js';function _0x3736(_0x523943,_0x4cb6ef){const _0x5ee170=_0x5ee1();return _0x3736=function(_0x373656,_0x337ef7){_0x373656=_0x373656-0x1a5;let _0x2a339e=_0x5ee170[_0x373656];return _0x2a339e;},_0x3736(_0x523943,_0x4cb6ef);}import{Sessions as _0x423b45}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x54a041{static [_0x49ccac(0x1d9)]=/* #__PURE__ -- @preserve */
|
|
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)]||{}};}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x237970)());[_0x871a24(0x2a9)];[_0x871a24(0x22c)];[_0x871a24(0x287)];[_0x871a24(0x1e8)];[_0x871a24(0x296)];[_0x871a24(0x1d2)];[_0x871a24(0x29f)];[_0x871a24(0x20c)];[_0x871a24(0x225)];[_0x871a24(0x259)];[_0x871a24(0x23e)];[_0x871a24(0x25b)];[_0x871a24(0x2a1)];[_0x871a24(0x258)];[_0x871a24(0x226)];[_0x871a24(0x1f1)];[_0x871a24(0x26b)];[_0x871a24(0x293)];static get[_0x871a24(0x255)](){return[_0x534013,_0x4673cc,_0x2ee7b8,_0x5595c2,_0x45e896,_0xb778a4];}static get[_0x871a24(0x294)](){const _0x4d7a91=_0x871a24;return _0x4d7a91(0x281);}static get[_0x871a24(0x25c)](){return!0x0;}static get[_0x871a24(0x1c8)](){return!0x0;}get[_0x871a24(0x278)](){const _0x963aa1=_0x871a24;return this[_0x963aa1(0x1c3)]+this[_0x963aa1(0x2a9)];}get[_0x871a24(0x1c3)](){const _0x325f87=_0x871a24;return this[_0x325f87(0x287)][_0x325f87(0x27e)]-this[_0x325f87(0x2a9)];}get[_0x871a24(0x271)](){const _0x2cfbba=_0x871a24,_0x5a9c44=this[_0x2cfbba(0x287)][_0x2cfbba(0x238)]();for(let _0x2e64c7=_0x5a9c44[_0x2cfbba(0x233)]-0x1;_0x2e64c7>=0x0;_0x2e64c7--){const _0x51aaf1=_0x5a9c44[_0x2e64c7];if(!this[_0x2cfbba(0x26b)][_0x2cfbba(0x231)](_0x51aaf1))return _0x51aaf1[_0x2cfbba(0x299)]+0x1-this[_0x2cfbba(0x2a9)];}return 0x0;}constructor(_0x1e308c){const _0x57c6af=_0x871a24;if(super(_0x1e308c),this[_0x57c6af(0x2a9)]=0x0,this[_0x57c6af(0x22c)]=null,this[_0x57c6af(0x287)]=new _0x532880(),this[_0x57c6af(0x1ad)][_0x57c6af(0x291)][_0x57c6af(0x224)](_0x57c6af(0x284),{}),this[_0x57c6af(0x1e8)]=this[_0x57c6af(0x1ad)][_0x57c6af(0x291)][_0x57c6af(0x262)](_0x57c6af(0x292)),!this[_0x57c6af(0x1e8)])throw new _0x2c13c3(_0x57c6af(0x1cf),this);const _0x27ec5f=_0x1e308c[_0x57c6af(0x291)][_0x57c6af(0x262)](_0x57c6af(0x1b7))||_0x21c985;this[_0x57c6af(0x296)]=new RealTimeCollaborationClient[(_0x57c6af(0x1fc))](_0x27ec5f,this[_0x57c6af(0x1e8)]),this[_0x57c6af(0x1d2)]=this[_0x57c6af(0x1ad)][_0x57c6af(0x223)][_0x57c6af(0x24a)],this[_0x57c6af(0x29f)]=new _0x38ed00(),this[_0x57c6af(0x20c)]=[],this[_0x57c6af(0x225)]=new WeakSet(),this[_0x57c6af(0x259)]=new Set(),this[_0x57c6af(0x239)](_0x57c6af(0x1f8),!0x1),this[_0x57c6af(0x239)](_0x57c6af(0x1a9),!0x1),this[_0x57c6af(0x23e)]=null,this[_0x57c6af(0x25b)]=!0x1,this[_0x57c6af(0x2a1)]=null,this[_0x57c6af(0x258)]=0x12c,this[_0x57c6af(0x226)]=this[_0x57c6af(0x258)],this[_0x57c6af(0x1f1)]=null,this[_0x57c6af(0x26b)]=new WeakSet(),this[_0x57c6af(0x293)]=new J(this[_0x57c6af(0x26b)]);}[_0x871a24(0x1ce)](){const _0x1d1900=_0x871a24,_0x34a7d2=this[_0x1d1900(0x1ad)],_0x58e9d0=_0x34a7d2[_0x1d1900(0x1b6)][_0x1d1900(0x262)](_0x45e896),_0x5f3c14=_0x34a7d2[_0x1d1900(0x1b6)][_0x1d1900(0x262)](_0x534013);this[_0x1d1900(0x21c)](_0x58e9d0,_0x1d1900(0x1f7),(_0xfb5d35,_0x9199c3)=>{const _0x491a49=_0x1d1900,_0x33758a=_0x9199c3[0x0];_0x33758a[_0x491a49(0x286)]&&(_0xfb5d35[_0x491a49(0x201)]=_0x58e9d0[_0x491a49(0x274)](_0x33758a[_0x491a49(0x286)]),_0xfb5d35[_0x491a49(0x1b2)]()),null===_0x33758a[_0x491a49(0x286)]&&(_0xfb5d35[_0x491a49(0x201)]=null,_0xfb5d35[_0x491a49(0x1b2)]());},{'priority':_0x1d1900(0x1cb)}),this[_0x1d1900(0x21c)](_0x34a7d2[_0x1d1900(0x223)][_0x1d1900(0x24a)][_0x1d1900(0x1d7)],_0x1d1900(0x29c),(_0x2c403b,_0x2ffabf)=>{const _0x3daa41=_0x1d1900;_0x2ffabf[_0x3daa41(0x241)]&&this[_0x3daa41(0x1d9)]();}),this[_0x1d1900(0x21c)](_0x34a7d2[_0x1d1900(0x1d1)][_0x1d1900(0x279)],_0x1d1900(0x1f4),()=>{const _0x1fafca=_0x1d1900;this[_0x1fafca(0x1d9)]();}),this[_0x1d1900(0x242)](),_0x34a7d2[_0x1d1900(0x223)]['on'](_0x1d1900(0x257),(_0x58bce2,_0x4b7451)=>{const _0x30e7ed=_0x1d1900,_0x147cd3=_0x4b7451[0x0];_0x147cd3[_0x30e7ed(0x27b)]&&(this[_0x30e7ed(0x288)](_0x147cd3),this[_0x30e7ed(0x1e1)]()&&this[_0x30e7ed(0x1d3)]());}),this[_0x1d1900(0x1e4)](),this[_0x1d1900(0x246)](_0x1d1900(0x217))['to'](_0x5f3c14,_0x1d1900(0x1fd),this,_0x1d1900(0x1a9),(_0x365b15,_0x1109f9)=>_0x1d1900(0x23f)===_0x365b15&&!_0x1109f9),this['on'](_0x1d1900(0x208),()=>{const _0x21493a=_0x1d1900;this[_0x21493a(0x217)]?_0x34a7d2[_0x21493a(0x228)](_0x21493a(0x218)):_0x34a7d2[_0x21493a(0x253)](_0x21493a(0x218));}),this[_0x1d1900(0x217)]?_0x34a7d2[_0x1d1900(0x228)](_0x1d1900(0x218)):_0x34a7d2[_0x1d1900(0x253)](_0x1d1900(0x218)),this[_0x1d1900(0x239)](_0x1d1900(0x254),!0x1);}async[_0x871a24(0x26a)](){const _0x5d3b2a=_0x871a24,_0x303f70=this[_0x5d3b2a(0x1ad)][_0x5d3b2a(0x1b6)][_0x5d3b2a(0x262)](_0x4673cc),_0x560a37=this[_0x5d3b2a(0x1ad)][_0x5d3b2a(0x1b6)][_0x5d3b2a(0x262)](_0x534013);try{this[_0x5d3b2a(0x1f8)]=!0x0,_0x303f70[_0x5d3b2a(0x266)](this[_0x5d3b2a(0x1e8)]);const _0x2a65cf=await this[_0x5d3b2a(0x296)][_0x5d3b2a(0x26a)](_0x560a37[_0x5d3b2a(0x1ae)],this[_0x5d3b2a(0x271)]);await this[_0x5d3b2a(0x1aa)](_0x2a65cf)&&(this[_0x5d3b2a(0x1f8)]=!0x1,this[_0x5d3b2a(0x1fb)]());const _0x10ec0f=await this[_0x5d3b2a(0x296)][_0x5d3b2a(0x20a)]();_0x303f70[_0x5d3b2a(0x200)](this[_0x5d3b2a(0x1e8)],_0x10ec0f),this[_0x5d3b2a(0x1d4)](),this[_0x5d3b2a(0x254)]=!0x0;}catch(_0x4461e3){if(function(_0x2f1420){const _0x15c9eb=_0x5d3b2a;return _0x15c9eb(0x29a)===_0x2f1420[_0x15c9eb(0x25d)];}(_0x4461e3)&&this[_0x5d3b2a(0x22c)])await this[_0x5d3b2a(0x260)]();else{if(function(_0x494b45){const _0xb6061e=_0x5d3b2a;return _0xb6061e(0x1c2)===_0x494b45[_0xb6061e(0x25d)];}(_0x4461e3)){const _0x866aa1=_0x5efe23(this[_0x5d3b2a(0x1ad)][_0x5d3b2a(0x20e)],_0x5d3b2a(0x2a8));this[_0x5d3b2a(0x229)](_0x866aa1);}else{if(!(_0x4461e3 instanceof $))throw _0x4461e3;this[_0x5d3b2a(0x229)]();}}}}[_0x871a24(0x268)](){const _0x5cd9c9=_0x871a24,_0x49f4e1=this[_0x5cd9c9(0x1ad)][_0x5cd9c9(0x1b6)][_0x5cd9c9(0x262)](_0x534013),_0x30960b=this[_0x5cd9c9(0x1ad)][_0x5cd9c9(0x1b6)][_0x5cd9c9(0x262)](_0x4673cc);this[_0x5cd9c9(0x1ad)][_0x5cd9c9(0x253)](_0x5cd9c9(0x1d8)),_0x30960b[_0x5cd9c9(0x265)][_0x5cd9c9(0x231)](this[_0x5cd9c9(0x1e8)])&&_0x30960b[_0x5cd9c9(0x266)](this[_0x5cd9c9(0x1e8)]),_0x49f4e1[_0x5cd9c9(0x252)](this),this[_0x5cd9c9(0x1f0)](),super[_0x5cd9c9(0x268)]();}async[_0x871a24(0x1aa)](_0x1e6677){const _0x30bb73=_0x871a24;if(this[_0x30bb73(0x22c)]!==_0x1e6677[_0x30bb73(0x22c)]&&this[_0x30bb73(0x1f1)]!==_0x1e6677[_0x30bb73(0x1c4)])throw new $();return this[_0x30bb73(0x22c)]=_0x1e6677[_0x30bb73(0x22c)],this[_0x30bb73(0x20b)]([],{..._0x1e6677,'wereChangesApplied':!0x1,'data':_0x1e6677[_0x30bb73(0x222)]},_0x30bb73(0x26a));}async[_0x871a24(0x28b)](_0x516c67,_0x3c6056=!0x1){const _0x407a86=_0x871a24,{connection:_0x29889b}=this[_0x407a86(0x1ad)][_0x407a86(0x1b6)][_0x407a86(0x262)](_0x534013);RealTimeCollaborationClient[_0x407a86(0x1fc)][_0x407a86(0x20a)](_0x29889b,this[_0x407a86(0x1e8)])[_0x407a86(0x21a)](_0xbd5304=>this[_0x407a86(0x240)](_0xbd5304))[_0x407a86(0x213)](_0xe26c33=>{const _0x56b978=_0x407a86;this[_0x56b978(0x1be)](_0x56b978(0x23c),_0xe26c33);}),this[_0x407a86(0x21c)](this[_0x407a86(0x296)],_0x407a86(0x267),this[_0x407a86(0x22d)][_0x407a86(0x246)](this)),this[_0x407a86(0x21c)](this[_0x407a86(0x296)],_0x407a86(0x1c7),(_0xe88036,_0x316bc6)=>{const _0x177a14=_0x407a86;this[_0x177a14(0x1be)](_0x177a14(0x202),_0x316bc6);}),this[_0x407a86(0x21c)](this[_0x407a86(0x296)],_0x407a86(0x1d5),()=>{const _0x2c083b=_0x407a86;this[_0x2c083b(0x254)]=!0x1;});const _0x17e367=this[_0x407a86(0x293)][_0x407a86(0x1ca)](_0x516c67);this[_0x407a86(0x1f8)]=!0x0;const _0x115e89=await this[_0x407a86(0x296)][_0x407a86(0x1bf)](_0x29889b,this[_0x407a86(0x277)](_0x516c67),_0x17e367);if(this[_0x407a86(0x22c)]=_0x115e89[_0x407a86(0x22c)],_0x3c6056){if(!_0x115e89[_0x407a86(0x204)])return void this[_0x407a86(0x229)]();this[_0x407a86(0x1f8)]=!0x1,this[_0x407a86(0x1fb)](),this[_0x407a86(0x287)][_0x407a86(0x1ac)](),this[_0x407a86(0x2a9)]=_0x115e89[_0x407a86(0x24f)],this[_0x407a86(0x287)][_0x407a86(0x27e)]=this[_0x407a86(0x2a9)],await this[_0x407a86(0x20b)](_0x516c67,_0x115e89,_0x407a86(0x1ef));}else await this[_0x407a86(0x20f)](_0x115e89,_0x516c67);this[_0x407a86(0x1d4)](),this[_0x407a86(0x254)]=!0x0;}[_0x871a24(0x1d4)](){const _0x4930b2=_0x871a24,_0x512cb1=this[_0x4930b2(0x1ad)][_0x4930b2(0x1b6)][_0x4930b2(0x262)](_0x4673cc),_0x158d7c=this[_0x4930b2(0x1ad)][_0x4930b2(0x1b6)][_0x4930b2(0x262)](_0x2ee7b8),_0x105ecf=_0x512cb1[_0x4930b2(0x265)][_0x4930b2(0x262)](this[_0x4930b2(0x1e8)]);_0x105ecf&&_0x105ecf[_0x4930b2(0x233)]>0x1?_0x158d7c[_0x4930b2(0x22b)]():this[_0x4930b2(0x21c)](_0x512cb1,_0x4930b2(0x1a8)+this[_0x4930b2(0x1e8)],()=>{const _0x1cc914=_0x4930b2;0x2===_0x512cb1[_0x1cc914(0x265)][_0x1cc914(0x262)](this[_0x1cc914(0x1e8)])[_0x1cc914(0x233)]&&_0x158d7c[_0x1cc914(0x22b)]();});}async[_0x871a24(0x22d)](_0x4ba0ab,_0x1764b9,_0x29a3d5,_0x3aedf1){const _0x135fa7=_0x871a24;if(!this[_0x135fa7(0x1f8)]&&this[_0x135fa7(0x1d2)][_0x135fa7(0x27e)]==_0x1764b9){const _0x44618b=this[_0x135fa7(0x214)](_0x29a3d5,_0x3aedf1);await this[_0x135fa7(0x1b9)](_0x44618b),this[_0x135fa7(0x270)](_0x44618b,_0x1764b9,_0x29a3d5[_0x135fa7(0x1c4)])||this[_0x135fa7(0x1be)](_0x135fa7(0x1ff));}}async[_0x871a24(0x260)](){const _0xb6c545=_0x871a24;this[_0xb6c545(0x1f0)]();const {locale:_0xe9c237}=this[_0xb6c545(0x1ad)];let _0x3e3d93;try{_0x3e3d93=await this[_0xb6c545(0x296)][_0xb6c545(0x28c)]();}catch{const _0x121e38=_0x5efe23(_0xe9c237,_0xb6c545(0x21f));return void this[_0xb6c545(0x229)](_0x121e38);}const _0x11fcb2=_0x3e3d93[_0xb6c545(0x234)]||_0x3e3d93[_0xb6c545(0x209)];if(this[_0xb6c545(0x1f1)]!==_0x11fcb2[_0xb6c545(0x1c4)]){const _0x38b15f=_0x5efe23(_0xe9c237,_0xb6c545(0x29e));return void this[_0xb6c545(0x229)](_0x38b15f);}await this[_0xb6c545(0x28b)](this[_0xb6c545(0x1ad)][_0xb6c545(0x223)][_0xb6c545(0x24a)][_0xb6c545(0x205)][_0xb6c545(0x238)](),!0x0);}[_0x871a24(0x1f0)](){const _0x2f9d01=_0x871a24;this[_0x2f9d01(0x296)][_0x2f9d01(0x27a)](),this[_0x2f9d01(0x20c)]=[],clearTimeout(this[_0x2f9d01(0x2a1)]),this[_0x2f9d01(0x249)](this[_0x2f9d01(0x296)]);}[_0x871a24(0x240)](_0x2fc5ca){const _0x246b6f=_0x871a24,_0x449f0f=this[_0x246b6f(0x1ad)][_0x246b6f(0x1b6)][_0x246b6f(0x262)](_0x4673cc);this[_0x246b6f(0x21c)](_0x449f0f,_0x246b6f(0x1a8)+this[_0x246b6f(0x1e8)],(_0x3c950b,{session:_0x52f56c})=>{const _0x4b4a1b=_0x246b6f;if(_0x52f56c['id']===_0x449f0f[_0x4b4a1b(0x243)]){_0x3c950b[_0x4b4a1b(0x24e)]();const _0x2f7b4b=this[_0x4b4a1b(0x1ad)][_0x4b4a1b(0x1b6)][_0x4b4a1b(0x231)](_0x4b4a1b(0x1e5))&&this[_0x4b4a1b(0x1ad)][_0x4b4a1b(0x1b6)][_0x4b4a1b(0x262)](_0x4b4a1b(0x1e5));let _0x5b2f8d=_0x52f56c[_0x4b4a1b(0x27f)];_0x2f7b4b&&_0x2f7b4b[_0x4b4a1b(0x211)]&&(_0x5b2f8d=_0x5b2f8d[_0x4b4a1b(0x251)](_0x466f49=>_0x4b4a1b(0x1ab)!==_0x466f49)),this[_0x4b4a1b(0x1ad)][_0x4b4a1b(0x1b6)][_0x4b4a1b(0x262)](_0x4b4a1b(0x1c6))[_0x4b4a1b(0x220)](_0x5b2f8d,this[_0x4b4a1b(0x1e8)]);}}),_0x449f0f[_0x246b6f(0x200)](this[_0x246b6f(0x1e8)],_0x2fc5ca);}[_0x871a24(0x242)](){const _0x3389d2=_0x871a24,_0x4cc02d=this[_0x3389d2(0x1ad)][_0x3389d2(0x222)][_0x3389d2(0x239)];this[_0x3389d2(0x1ad)][_0x3389d2(0x222)][_0x3389d2(0x239)]=(..._0x94ca75)=>{const _0x3d6279=_0x3389d2;if(!_0x94ca75[_0x94ca75[_0x3d6279(0x233)]-0x1][_0x3d6279(0x1ec)])throw new _0x2c13c3(_0x3d6279(0x221),this);_0x4cc02d[_0x3d6279(0x1d6)](this[_0x3d6279(0x1ad)][_0x3d6279(0x222)],_0x94ca75);};}[_0x871a24(0x1e4)](){const _0x28a47c=_0x871a24;this[_0x28a47c(0x1ad)][_0x28a47c(0x222)]['on'](_0x28a47c(0x1ce),(_0x32ff13,[_0x37a79e])=>{const _0x14b0eb=_0x28a47c;if(this[_0x14b0eb(0x1d2)][_0x14b0eb(0x27e)])throw new _0x2c13c3(_0x14b0eb(0x2aa),this);_0x32ff13[_0x14b0eb(0x1b2)](),this[_0x14b0eb(0x1b3)]();const _0x539a6b=this[_0x14b0eb(0x1ad)][_0x14b0eb(0x291)][_0x14b0eb(0x262)](_0x14b0eb(0x297)),_0x15ab76=this[_0x14b0eb(0x276)](_0x37a79e,_0x539a6b);0x0==_0x15ab76[_0x14b0eb(0x233)]&&_0x15ab76[_0x14b0eb(0x256)](new _0x290d08(0x0)),_0x32ff13[_0x14b0eb(0x201)]=this[_0x14b0eb(0x28b)](_0x15ab76)[_0x14b0eb(0x21a)](()=>{const _0x107d60=_0x14b0eb;this[_0x107d60(0x1ad)][_0x107d60(0x1b6)][_0x107d60(0x262)](_0x534013)[_0x107d60(0x1df)](this),this[_0x107d60(0x1ad)][_0x107d60(0x222)][_0x107d60(0x1f2)](_0x107d60(0x25f));})[_0x14b0eb(0x213)](_0x1d9563=>this[_0x14b0eb(0x1be)](_0x14b0eb(0x1b8),_0x1d9563))[_0x14b0eb(0x1f9)](()=>this[_0x14b0eb(0x1fb)]());},{'priority':_0x28a47c(0x1cb)}),this[_0x28a47c(0x1ad)]['on'](_0x28a47c(0x1de),async(_0x504c1c,[_0x225b48,_0x41cd3d])=>{const _0x5e92ac=_0x28a47c;_0x504c1c[_0x5e92ac(0x1b2)]();const _0x56fa35=this[_0x5e92ac(0x1ad)][_0x5e92ac(0x223)][_0x5e92ac(0x24a)][_0x5e92ac(0x206)](_0x225b48);if(!this[_0x5e92ac(0x259)][_0x5e92ac(0x231)](_0x225b48)){const _0x1ba659=_0x41cd3d&&_0x41cd3d[_0x5e92ac(0x222)]?_0x41cd3d[_0x5e92ac(0x222)]:'',_0x48af94=_0x41cd3d&&_0x41cd3d[_0x5e92ac(0x295)]?_0x41cd3d[_0x5e92ac(0x295)]:{};await this[_0x5e92ac(0x22a)](_0x225b48,_0x1ba659,_0x48af94);}this[_0x5e92ac(0x1ad)][_0x5e92ac(0x223)][_0x5e92ac(0x2a4)]({'isUndoable':!0x1},()=>{const _0x47aebb=_0x5e92ac;_0x56fa35[_0x47aebb(0x1eb)]=!0x0,this[_0x47aebb(0x1ad)][_0x47aebb(0x223)][_0x47aebb(0x24a)][_0x47aebb(0x263)][_0x47aebb(0x236)](_0x56fa35);});},{'priority':_0x28a47c(0x1cb)});}async[_0x871a24(0x1b9)](_0x4cd2a5){const _0x331e7c=_0x871a24,_0x537b10=this[_0x331e7c(0x1ad)][_0x331e7c(0x1b6)][_0x331e7c(0x262)](_0x45e896),{connection:_0x2a37c0}=this[_0x331e7c(0x1ad)][_0x331e7c(0x1b6)][_0x331e7c(0x262)](_0x534013),_0x55c570=new Set();for(const _0x171ab1 of _0x4cd2a5){const _0x524962=_0x171ab1[_0x331e7c(0x286)];_0x524962&&!_0x537b10[_0x331e7c(0x274)](_0x524962)&&_0x55c570[_0x331e7c(0x1ee)](_0x524962);}if(0x0===_0x55c570[_0x331e7c(0x1bb)])return;const _0x1329ea=await _0x37047c[_0x331e7c(0x2a0)](_0x2a37c0,Array[_0x331e7c(0x1f5)](_0x55c570));for(const _0x16596c of _0x1329ea)_0x537b10[_0x331e7c(0x274)](_0x16596c['id'])||_0x537b10[_0x331e7c(0x28d)](_0x16596c);}[_0x871a24(0x276)](_0x422ce8,_0x4db5fd={}){const _0x42d649=_0x871a24,_0x4291cd=this[_0x42d649(0x1ad)][_0x42d649(0x223)],_0x1fb599=[];let _0x4dc656=0x0;const _0x242d33=_0x42d649(0x1fa)==typeof _0x422ce8?{'main':_0x422ce8}:_0x422ce8;for(const _0x7ae85b of Object[_0x42d649(0x207)](_0x242d33)){if(!this[_0x42d649(0x1d2)][_0x42d649(0x232)][_0x42d649(0x231)](_0x7ae85b))throw new _0x2c13c3(_0x42d649(0x23a),this);const _0x36d6b7=this[_0x42d649(0x1ad)][_0x42d649(0x222)][_0x42d649(0x1b0)](_0x242d33[_0x7ae85b]),_0x4e0705=this[_0x42d649(0x1d2)][_0x42d649(0x206)](_0x7ae85b),_0x100281=new _0x2be817(_0x4291cd[_0x42d649(0x290)](_0x4e0705,0x0),_0x36d6b7,_0x4dc656++);_0x1fb599[_0x42d649(0x256)](_0x100281);for(const [_0x465763,_0x23474f]of _0x36d6b7[_0x42d649(0x2a7)]){const _0xe3bfc1=_0x4291cd[_0x42d649(0x21e)](_0x4291cd[_0x42d649(0x26c)](_0x4e0705,_0x23474f[_0x42d649(0x219)][_0x42d649(0x1da)][_0x42d649(0x289)]()),_0x4291cd[_0x42d649(0x26c)](_0x4e0705,_0x23474f[_0x42d649(0x21b)][_0x42d649(0x1da)][_0x42d649(0x289)]())),_0x19cec5=new _0x1d1b48(_0x465763,null,_0xe3bfc1,_0x4291cd[_0x42d649(0x2a7)],!0x0,_0x4dc656++);_0x1fb599[_0x42d649(0x256)](_0x19cec5);}}if(_0x4db5fd)for(const [_0x21fc72,_0x45cbc1]of Object[_0x42d649(0x298)](_0x4db5fd)){const _0x5a9c56=_0x4291cd[_0x42d649(0x24a)][_0x42d649(0x206)](_0x21fc72);if(!_0x5a9c56)throw new _0x2c13c3(_0x42d649(0x1ba),null);for(const [_0x4264a1,_0xdb92c6]of Object[_0x42d649(0x298)](_0x45cbc1))if(null!==_0xdb92c6){const _0x713af5=new _0x77c3c7(_0x5a9c56,_0x4264a1,null,_0xdb92c6,_0x4dc656++);_0x1fb599[_0x42d649(0x256)](_0x713af5);}}return _0x1fb599;}async[_0x871a24(0x22a)](_0x3a8798,_0x467943,_0x13fdc1){const _0x367c60=_0x871a24;this[_0x367c60(0x276)]({[_0x3a8798]:_0x467943},{[_0x3a8798]:_0x13fdc1})[_0x367c60(0x2ab)]((_0x2518f2,_0x2c335e)=>{const _0x239855=_0x367c60;_0x2518f2[_0x239855(0x299)]=this[_0x239855(0x1d2)][_0x239855(0x27e)]+_0x2c335e,_0x2518f2[_0x239855(0x227)]=!0x0,this[_0x239855(0x288)](_0x2518f2);}),this[_0x367c60(0x1d3)](),await this[_0x367c60(0x244)]();}async[_0x871a24(0x20f)](_0x176da0,_0x30b370){const _0x4bf423=_0x871a24;let _0x4d6ef6;this[_0x4bf423(0x2a9)]=_0x176da0[_0x4bf423(0x24f)];const _0x3c2426=_0x176da0[_0x4bf423(0x204)]&&!_0x176da0[_0x4bf423(0x1c5)],_0x2b6fdc=_0x3c2426?0x0:_0x176da0[_0x4bf423(0x222)][_0x4bf423(0x299)];if(_0x30b370[_0x4bf423(0x2ab)](_0x5760ec=>{const _0x3b62e3=_0x4bf423;_0x5760ec[_0x3b62e3(0x227)]=!0x0,_0x5760ec[_0x3b62e3(0x26e)]=_0x176da0[_0x3b62e3(0x273)],_0x5760ec[_0x3b62e3(0x286)]=null;}),_0x3c2426)_0x4d6ef6=_0x30b370,this[_0x4bf423(0x1e0)](_0x4d6ef6,_0x3c2426);else{if(_0x176da0[_0x4bf423(0x1c5)]){const _0x822101=this[_0x4bf423(0x276)](_0x176da0[_0x4bf423(0x1c5)]);this[_0x4bf423(0x1d2)][_0x4bf423(0x205)][_0x4bf423(0x27e)]=-_0x822101[_0x4bf423(0x233)],_0x822101[_0x4bf423(0x2ab)](_0x13d8d8=>{const _0x47319b=_0x4bf423;_0x13d8d8[_0x47319b(0x299)]-=_0x822101[_0x47319b(0x233)],_0x13d8d8[_0x47319b(0x26e)]=_0x176da0[_0x47319b(0x273)],_0x13d8d8[_0x47319b(0x227)]=!0x0,_0x13d8d8[_0x47319b(0x286)]=null;}),this[_0x4bf423(0x1e0)](_0x822101,!0x0),this[_0x4bf423(0x287)][_0x4bf423(0x27e)]=-_0x822101[_0x4bf423(0x233)]+this[_0x4bf423(0x2a9)],this[_0x4bf423(0x23d)](_0x822101);}this[_0x4bf423(0x1d2)][_0x4bf423(0x205)][_0x4bf423(0x27e)]=_0x2b6fdc,_0x4d6ef6=this[_0x4bf423(0x214)](_0x176da0[_0x4bf423(0x222)],_0x176da0[_0x4bf423(0x24d)]),await this[_0x4bf423(0x1b9)](_0x4d6ef6),this[_0x4bf423(0x1e0)](_0x4d6ef6,_0x3c2426);}_0x176da0[_0x4bf423(0x1c4)]&&(this[_0x4bf423(0x293)][_0x4bf423(0x2a6)](_0x4d6ef6,_0x176da0[_0x4bf423(0x1c4)]),this[_0x4bf423(0x1f1)]=_0x176da0[_0x4bf423(0x1c4)]),this[_0x4bf423(0x287)][_0x4bf423(0x27e)]=_0x2b6fdc+this[_0x4bf423(0x2a9)],this[_0x4bf423(0x23d)](_0x4d6ef6),_0x30b370[_0x4bf423(0x251)](_0x26a18e=>{const _0x5012d2=_0x4bf423,_0x25978b=this[_0x5012d2(0x1db)](_0x26a18e);return _0x25978b&&!this[_0x5012d2(0x259)][_0x5012d2(0x231)](_0x25978b);})[_0x4bf423(0x2ab)]((_0x326e8f,_0xea95ef)=>{const _0x150d71=_0x4bf423;_0x326e8f[_0x150d71(0x299)]=this[_0x150d71(0x1d2)][_0x150d71(0x27e)]+_0xea95ef,this[_0x150d71(0x288)](_0x326e8f);}),this[_0x4bf423(0x1e1)]()?(this[_0x4bf423(0x226)]=0x0,this[_0x4bf423(0x1d3)](!0x0),await this[_0x4bf423(0x244)]()):(this[_0x4bf423(0x1f8)]=!0x1,this[_0x4bf423(0x1fb)]());}[_0x871a24(0x1be)](_0x35f434,_0x5ed0e9){const _0x2956e9=_0x871a24,_0x2a1e35=_0x5ed0e9&&_0x5ed0e9[_0x2956e9(0x29d)];if(_0x2a1e35&&_0x2a1e35[_0x2956e9(0x237)](_0x2956e9(0x1af)))throw _0x5ed0e9;const _0x1e61f2=this[_0x2956e9(0x1ad)][_0x2956e9(0x1b6)][_0x2956e9(0x262)](_0x534013);throw this[_0x2956e9(0x1f8)]=!0x0,_0x1e61f2[_0x2956e9(0x27a)](),this[_0x2956e9(0x1ad)][_0x2956e9(0x253)](_0x2956e9(0x212)),new _0x2c13c3(_0x35f434,this[_0x2956e9(0x1ad)],_0x2a1e35?{'originalError':_0x2a1e35}:void 0x0);}[_0x871a24(0x288)](_0x2970cd){const _0x370633=_0x871a24;this[_0x370633(0x225)][_0x370633(0x231)](_0x2970cd)||(this[_0x370633(0x225)][_0x370633(0x1ee)](_0x2970cd),this[_0x370633(0x20c)][_0x370633(0x256)](_0x2970cd),this[_0x370633(0x23e)]||_0x370633(0x216)==_0x2970cd[_0x370633(0x25a)]&&!_0x2970cd[_0x370633(0x264)]||this[_0x370633(0x1b3)]());}[_0x871a24(0x1d3)](_0x32510b=!0x1){const _0x500592=_0x871a24;!_0x32510b&&this[_0x500592(0x1f8)]||(this[_0x500592(0x1f8)]=!0x0,clearTimeout(this[_0x500592(0x2a1)]),this[_0x500592(0x2a1)]=setTimeout(()=>{const _0x2b7242=_0x500592;this[_0x2b7242(0x27d)]()[_0x2b7242(0x21a)](_0x5b7248=>{const _0xd7002d=_0x2b7242;_0x5b7248&&(this[_0xd7002d(0x1fb)](),this[_0xd7002d(0x1f8)]=!0x1);})[_0x2b7242(0x213)](_0x9eeecb=>{const _0x2c3140=_0x2b7242;this[_0x2c3140(0x1fb)](),this[_0x2c3140(0x1f8)]=!0x1,function(_0x1a21dd){const _0x325df0=_0x2c3140;return _0x1a21dd[_0x325df0(0x29d)][_0x325df0(0x237)](_0x325df0(0x250))||_0x1a21dd[_0x325df0(0x29d)][_0x325df0(0x237)](_0x325df0(0x1c1))||_0x1a21dd[_0x325df0(0x29d)][_0x325df0(0x237)](_0x325df0(0x1bd));}(_0x9eeecb)||this[_0x2c3140(0x1be)](_0x9eeecb[_0x2c3140(0x29d)],_0x9eeecb);});},this[_0x500592(0x226)]));}[_0x871a24(0x244)](){return new Promise(_0x64d34c=>{const _0x34d51c=_0x716e;this['on'](_0x34d51c(0x1e2),()=>{_0x64d34c();});});}async[_0x871a24(0x27d)](){const _0x352496=_0x871a24,_0x421c4e=this[_0x352496(0x1ad)][_0x352496(0x1b6)][_0x352496(0x262)](_0x2ee7b8);if(this[_0x352496(0x27c)]()&&(_0x421c4e[_0x352496(0x22b)](),this[_0x352496(0x25b)]=!0x1),!this[_0x352496(0x1e1)]())return!0x0;const _0x5b48bc=[...this[_0x352496(0x20c)]];for(const _0x5736b1 of _0x5b48bc)_0x5736b1[_0x352496(0x1f3)]=this[_0x352496(0x1d2)][_0x352496(0x205)][_0x352496(0x28a)](_0x5736b1);const _0x2fc3f2=this[_0x352496(0x293)][_0x352496(0x1ca)](_0x5b48bc),_0x23bf65=G++,_0xd7365d=this[_0x352496(0x277)](_0x5b48bc),_0x16b9ce=await this[_0x352496(0x296)][_0x352496(0x2ac)](_0xd7365d,_0xd7365d[_0x352496(0x299)],_0x2fc3f2);try{return await this[_0x352496(0x20b)](_0x5b48bc,_0x16b9ce,_0x23bf65);}catch(_0x3ac05d){return this[_0x352496(0x1be)](_0x352496(0x275),_0x3ac05d);}}async[_0x871a24(0x20b)](_0x44d56e,_0x171e8d,_0x3a12d9){const _0x5c9808=_0x871a24;if(_0x5c9808(0x1c7)in _0x171e8d)throw _0x171e8d[_0x5c9808(0x1c7)];let _0x2ab5ea=!0x1;if(_0x171e8d[_0x5c9808(0x204)]){_0x171e8d[_0x5c9808(0x1c4)]&&(this[_0x5c9808(0x1f1)]=_0x171e8d[_0x5c9808(0x1c4)]),this[_0x5c9808(0x20c)]=this[_0x5c9808(0x20c)][_0x5c9808(0x251)](_0x4263f7=>!_0x44d56e[_0x5c9808(0x269)](_0x4263f7));for(const _0x595040 of _0x44d56e)_0x595040[_0x5c9808(0x26e)]=_0x5c9808(0x24c)in _0x171e8d&&_0x171e8d[_0x5c9808(0x24c)]||void 0x0;K(_0x44d56e,_0x171e8d[_0x5c9808(0x27e)]-_0x44d56e[_0x5c9808(0x233)]),this[_0x5c9808(0x23d)](_0x44d56e);const _0x5e23f0=_0x44d56e[_0x5c9808(0x251)](_0x47af75=>{const _0x3ab45f=_0x5c9808;if(!_0x47af75[_0x3ab45f(0x227)])return!0x1;const _0x37da29=this[_0x3ab45f(0x1db)](_0x47af75);return _0x37da29&&!this[_0x3ab45f(0x259)][_0x3ab45f(0x231)](_0x37da29);});K(_0x5e23f0,this[_0x5c9808(0x1d2)][_0x5c9808(0x27e)]),this[_0x5c9808(0x1e0)](_0x5e23f0),_0x2ab5ea=!0x0,this[_0x5c9808(0x226)]=this[_0x5c9808(0x258)];}else{const _0x1926cf=this[_0x5c9808(0x214)](_0x171e8d[_0x5c9808(0x222)],_0x171e8d[_0x5c9808(0x24d)])[_0x5c9808(0x251)](_0x12fe4f=>_0x12fe4f[_0x5c9808(0x299)]>=this[_0x5c9808(0x1c3)]);_0x1926cf[_0x5c9808(0x2ab)](_0x62a4ec=>this[_0x5c9808(0x1e7)](_0x62a4ec)),this[_0x5c9808(0x20c)]=this[_0x5c9808(0x20c)][_0x5c9808(0x251)](_0x328d22=>!_0x328d22[_0x5c9808(0x227)]||!this[_0x5c9808(0x259)][_0x5c9808(0x231)](this[_0x5c9808(0x1db)](_0x328d22))),this[_0x5c9808(0x20c)][_0x5c9808(0x233)]&&K(this[_0x5c9808(0x20c)],this[_0x5c9808(0x20c)][0x0][_0x5c9808(0x299)]),await this[_0x5c9808(0x1b9)](_0x1926cf),_0x2ab5ea=this[_0x5c9808(0x270)](_0x1926cf,_0x171e8d[_0x5c9808(0x27e)],_0x171e8d[_0x5c9808(0x1c4)]),this[_0x5c9808(0x226)]=Math[_0x5c9808(0x20d)](this[_0x5c9808(0x226)]/0x2);}return _0x2ab5ea?!this[_0x5c9808(0x1e1)]()||(this[_0x5c9808(0x1d3)](!0x0),!0x1):this[_0x5c9808(0x1be)](_0x5c9808(0x1f6));}[_0x871a24(0x270)](_0x5761b4,_0x43d1a1,_0x319e26){const _0x5a6bab=_0x871a24;try{const _0x444dff={'document':this[_0x5a6bab(0x1d2)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1f4bcd,operationsB:_0x5aa56f,originalOperations:_0x539b33}=_0x51d210(_0x5761b4,this[_0x5a6bab(0x20c)],_0x444dff);K(_0x1f4bcd,this[_0x5a6bab(0x1d2)][_0x5a6bab(0x27e)]),K(_0x5aa56f,_0x43d1a1);for(const _0x1b01b9 of _0x1f4bcd){const _0x5bc49f=_0x539b33[_0x5a6bab(0x262)](_0x1b01b9);_0x1b01b9[_0x5a6bab(0x286)]=_0x5bc49f?_0x5bc49f[_0x5a6bab(0x286)]:null;}_0x319e26&&(this[_0x5a6bab(0x293)][_0x5a6bab(0x2a6)](_0x5761b4,_0x319e26),this[_0x5a6bab(0x1f1)]=_0x319e26),this[_0x5a6bab(0x20c)]=[..._0x5aa56f],this[_0x5a6bab(0x1e0)](_0x1f4bcd),this[_0x5a6bab(0x23d)](_0x5761b4);}catch(_0x202d42){return console[_0x5a6bab(0x1c7)](_0x202d42),!0x1;}return!0x0;}[_0x871a24(0x1e0)](_0x5eb712,_0x577ba1=!0x1){const _0x3f738e=_0x871a24;this[_0x3f738e(0x1ad)][_0x3f738e(0x223)][_0x3f738e(0x2a4)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4a658b=>{const _0x2b8381=_0x3f738e;for(const _0x5baccf of _0x5eb712)this[_0x2b8381(0x225)][_0x2b8381(0x1ee)](_0x5baccf),this[_0x2b8381(0x1e7)](_0x5baccf),_0x4a658b[_0x2b8381(0x26f)][_0x2b8381(0x248)](_0x5baccf),this[_0x2b8381(0x1ad)][_0x2b8381(0x223)][_0x2b8381(0x257)](_0x5baccf);});}[_0x871a24(0x1e7)](_0x343543){const _0x563a96=_0x871a24,_0x437fd6=this[_0x563a96(0x1db)](_0x343543);_0x437fd6&&this[_0x563a96(0x259)][_0x563a96(0x1ee)](_0x437fd6);}[_0x871a24(0x1db)](_0x5edc9b){const _0x5b9151=_0x871a24;let _0x275801,_0x1e4a22;switch(_0x5edc9b[_0x5b9151(0x25a)]){case _0x5b9151(0x2a5):_0x275801=_0x5edc9b[_0x5b9151(0x21d)][_0x5b9151(0x1dd)];break;case _0x5b9151(0x216):if(_0x1e4a22=_0x5edc9b[_0x5b9151(0x1dc)],!_0x1e4a22)return null;_0x275801=_0x1e4a22[_0x5b9151(0x1dd)];break;case _0x5b9151(0x1e6):_0x275801=_0x5edc9b[_0x5b9151(0x1dd)];break;case _0x5b9151(0x215):_0x275801=_0x5edc9b[_0x5b9151(0x23b)];break;case _0x5b9151(0x272):_0x275801=_0x5edc9b[_0x5b9151(0x1b1)][_0x5b9151(0x1dd)];break;default:return null;}return _0x275801[_0x5b9151(0x245)];}[_0x871a24(0x23d)](_0xc6ce5e){const _0x215364=_0x871a24;_0xc6ce5e[_0x215364(0x2ab)](_0x45b376=>{const _0x2a70b6=_0x215364,_0x44b517=_0x45b376[_0x2a70b6(0x1e3)]();_0x44b517[_0x2a70b6(0x286)]=_0x45b376[_0x2a70b6(0x286)],_0x44b517[_0x2a70b6(0x227)]=!!_0x45b376[_0x2a70b6(0x227)],_0x44b517[_0x2a70b6(0x26e)]=_0x45b376[_0x2a70b6(0x26e)],_0x44b517[_0x2a70b6(0x299)]+=this[_0x2a70b6(0x2a9)],_0x45b376[_0x2a70b6(0x1b5)]&&this[_0x2a70b6(0x26b)][_0x2a70b6(0x1ee)](_0x44b517),this[_0x2a70b6(0x287)][_0x2a70b6(0x248)](_0x44b517);});}[_0x871a24(0x229)](_0xcceb8f){const _0x422d43=_0x871a24,_0x430cc1=this[_0x422d43(0x1ad)][_0x422d43(0x1b6)][_0x422d43(0x262)](_0x422d43(0x230)),_0x5a0ef8=this[_0x422d43(0x1ad)][_0x422d43(0x20e)];_0xcceb8f||(_0xcceb8f=_0x5efe23(_0x5a0ef8,_0x422d43(0x2a3))),_0x430cc1[_0x422d43(0x1e9)](_0xcceb8f,{'title':_0x5efe23(_0x5a0ef8,_0x422d43(0x283)),'namespace':_0x422d43(0x247)}),this[_0x422d43(0x1a9)]=!0x0,clearTimeout(this[_0x422d43(0x2a1)]),this[_0x422d43(0x20c)]=[],this[_0x422d43(0x1ad)][_0x422d43(0x1b6)][_0x422d43(0x262)](_0x534013)[_0x422d43(0x27a)]();}[_0x871a24(0x1b3)](){const _0x234cb8=_0x871a24;this[_0x234cb8(0x23e)]||(this[_0x234cb8(0x23e)]=this[_0x234cb8(0x1ad)][_0x234cb8(0x1b6)][_0x234cb8(0x262)](_0x5595c2)[_0x234cb8(0x1ee)](_0x5efe23(this[_0x234cb8(0x1ad)][_0x234cb8(0x20e)],_0x234cb8(0x1d0))));}[_0x871a24(0x1fb)](){const _0xef095=_0x871a24;this[_0xef095(0x23e)]&&(this[_0xef095(0x1ad)][_0xef095(0x1b6)][_0xef095(0x262)](_0x5595c2)[_0xef095(0x1c9)](this[_0xef095(0x23e)]),this[_0xef095(0x23e)]=null);}[_0x871a24(0x277)](_0x27225b){const _0x21d94a=_0x871a24,_0x39c0cb=_0x27225b[_0x21d94a(0x28f)](_0x7b9eef=>_0x7b9eef[_0x21d94a(0x1b4)]());return this[_0x21d94a(0x29f)][_0x21d94a(0x1cc)](_0x39c0cb);}[_0x871a24(0x214)](_0x38ee06,_0x4921bd){const _0x41e2e6=_0x871a24;return this[_0x41e2e6(0x29f)][_0x41e2e6(0x1bc)](_0x38ee06)[_0x41e2e6(0x28f)]((_0x20543d,_0x729e04)=>{const _0x158a69=_0x41e2e6,_0x5092d7=_0x158a69(0x1ce)==_0x4921bd[_0x729e04][_0x158a69(0x25a)];if(_0x158a69(0x1cd)==_0x20543d[_0x158a69(0x28e)]){const _0xa989f1=_0x20543d[_0x158a69(0x21d)][_0x158a69(0x1dd)];!this[_0x158a69(0x1d2)][_0x158a69(0x206)](_0xa989f1)&&(this[_0x158a69(0x1d2)][_0x158a69(0x1c0)](_0x158a69(0x22e),_0xa989f1)[_0x158a69(0x285)]=!0x1);}const _0x35517f=_0x1157e7[_0x158a69(0x261)](_0x20543d,this[_0x158a69(0x1d2)]);return _0x35517f[_0x158a69(0x1f3)]=_0x20543d[_0x158a69(0x1f3)],_0x35517f[_0x158a69(0x227)]=_0x5092d7,_0x35517f[_0x158a69(0x286)]=_0x5092d7?null:_0x4921bd[_0x729e04][_0x158a69(0x1ea)],_0x35517f[_0x158a69(0x1b5)]=_0x158a69(0x280)===_0x4921bd[_0x729e04][_0x158a69(0x25a)],_0x35517f[_0x158a69(0x26e)]=_0x4921bd[_0x729e04][_0x158a69(0x26e)],_0x35517f;});}[_0x871a24(0x1d9)](){const _0x456f57=_0x871a24;this[_0x456f57(0x25b)]=!0x0,this[_0x456f57(0x27c)]()?this[_0x456f57(0x1d3)]():this[_0x456f57(0x25b)]=!0x1;}[_0x871a24(0x27c)](){const _0x5052f8=_0x871a24,_0xcc60ae=this[_0x5052f8(0x1ad)][_0x5052f8(0x1b6)][_0x5052f8(0x262)](_0x4673cc)[_0x5052f8(0x265)][_0x5052f8(0x262)](this[_0x5052f8(0x1e8)]);return!this[_0x5052f8(0x1ad)][_0x5052f8(0x22f)]&&!!_0xcc60ae&&_0xcc60ae[_0x5052f8(0x233)]>0x1&&this[_0x5052f8(0x25b)];}[_0x871a24(0x1e1)](){const _0x16e58e=_0x871a24;return this[_0x16e58e(0x20c)][_0x16e58e(0x233)]>0x0||this[_0x16e58e(0x27c)]();}}class $ extends Error{}function K(_0x887b06,_0x1700bf){const _0x3ca6e0=_0x871a24;for(const _0x472910 of _0x887b06)_0x472910[_0x3ca6e0(0x299)]=_0x1700bf++;}class J{[_0x871a24(0x24b)];[_0x871a24(0x25e)];constructor(_0x49a08e){const _0x8e7baf=_0x871a24;this[_0x8e7baf(0x24b)]=_0x49a08e,this[_0x8e7baf(0x25e)]=new WeakMap();}[_0x871a24(0x1ca)](_0x523b23){const _0x4ba894=_0x871a24;let _0xf6893d=_0x523b23[_0x4ba894(0x233)];for(;_0xf6893d--;){const _0x1e5813=_0x523b23[_0xf6893d];if(!this[_0x4ba894(0x24b)][_0x4ba894(0x231)](_0x1e5813)){if(!this[_0x4ba894(0x25e)][_0x4ba894(0x231)](_0x1e5813)){const _0x4ada2c=_0x4c4926()[_0x4ba894(0x289)](0x1,0x12);this[_0x4ba894(0x25e)][_0x4ba894(0x239)](_0x1e5813,_0x4ada2c);}return this[_0x4ba894(0x25e)][_0x4ba894(0x262)](_0x1e5813);}}}[_0x871a24(0x2a6)](_0xa12be9,_0xab4bd4){const _0xac3fef=_0x871a24;if(!_0xab4bd4)return;let _0x52e902=_0xa12be9[_0xac3fef(0x233)];for(;_0x52e902--;){const _0x12e1d3=_0xa12be9[_0x52e902];this[_0xac3fef(0x24b)][_0xac3fef(0x231)](_0x12e1d3)||this[_0xac3fef(0x25e)][_0xac3fef(0x239)](_0x12e1d3,_0xab4bd4);}}}
|
|
23
|
+
const _0x298827=_0x3480;(function(_0xd3c1bc,_0x33c054){const _0x44a857=_0x3480,_0x11a8a0=_0xd3c1bc();while(!![]){try{const _0x119b31=-parseInt(_0x44a857(0x19a))/0x1*(-parseInt(_0x44a857(0x10e))/0x2)+parseInt(_0x44a857(0x1b7))/0x3+-parseInt(_0x44a857(0x159))/0x4+parseInt(_0x44a857(0x179))/0x5+parseInt(_0x44a857(0x122))/0x6+-parseInt(_0x44a857(0x162))/0x7+-parseInt(_0x44a857(0x191))/0x8*(parseInt(_0x44a857(0x187))/0x9);if(_0x119b31===_0x33c054)break;else _0x11a8a0['push'](_0x11a8a0['shift']());}catch(_0x1fd493){_0x11a8a0['push'](_0x11a8a0['shift']());}}}(_0x45ff,0x74387));import{Plugin as _0x2fd581,PendingActions as _0x5ebdf4}from'ckeditor5/src/core.js';function _0x45ff(){const _0x19c7ee=['_connectService','rtc-destroyed','history','getConnectedSessions','_service','createPositionFromPath','showWarning','remove','state','view','RealTimeCollaborationClient','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','add','operationsReceived','getIdOfTheLastOperation','realtimecollaborationclient-init-non-existent-root','_offset','isDocumentOperation','channelSessions','isOfficialPlugin','_authorId','_isDisconnection','_handleExternalOperations','then','_isAttached','real-time-collaboration','isReadOnly','_isConnected','_operationIdentifier','offset','toJSON','getDocumentDetails','ready','directChange','locale','position','2OviXYl','code','decompress','_hasSelectionChanged','_handleSendingSelectionMarkers','differ','cloud-services-internal-error:\x20Not\x20connected.','_clearPendingAction','getMany','lastOperationId','realtimecollaborationclient-error','initData','path','has','move','_addKnownRoot','404','_getOperationsFromInitData','409','message','5542110eUZbZu','userId','CollaborativeEditingService','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','realtimecollaborationclient-init-document-already-initialized','_initSessionsHandling','map','addUser','keys','filter','version','reset','getUser','_applyOperationsSet','enqueueChange','disableReadOnlyMode','_hasSynchronizationProblem','register','disconnected','off','sessionCreatedAt','stopListening','change:_isEditingAllowed','attributes','addOperation','_bufferedOperations','connection','destroy','_isEditingAllowed','PENDING_ACTION_SENDING_DATA','_isInit','_initThrowingOnDataSet','createUserMarkerOperations','set','_disconnectionOperations','reconnection:\x20flushed\x20session','model','finally','slice','get','realtimecollaborationclient','_refreshUserSelectionMarkers','realtimecollaborationclient-init-connection-failed','applyOperation','createRoot','editing','__className','addRoot','realtimecollaborationclient-init-service-internal-error','serverHistory','_loadRoot','_handleReceivedOperations','_handleReconnectionResponse','_document','_lastSyncedOperationId','2093264UyDMfE','multi-root-editor-root-attributes-no-root','push','requires','error','_handleInitialConnectionData','suppressErrorInCollaboration','_sendBufferedOperations','document:write','6090413ADPYwy','type','rtc-offline','sessionId','stop','_saveOperationInBuffer','from','Permissions','permissions','_fetchMissingUsers','cs:removeUser','_lastServerVersion','_shouldSendUpdate','_isLoaded','$root','collaboration.channelId','realtimecollaborationclient-sendbufferedoperations','isEnabled','_waitUntilSynced','cloud-services-internal-error:\x20Request\x20timeout.','_currentBufferDelay','disconnect','_sendBufferedOperationsDelayId','1849445CiQjpU','isPremiumPlugin','loadRoot','roots','_crash','document','_pendingAction','selection','enableReadOnlyMode','setPermissions','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','pluginName','_getAffectedRoot','entries','3663iktwwP','_compressOperations','removeFromReconnectionStack','_baseBufferDelay','targetPosition','lastSyncVersion','config','Notification','define','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','2168DcbPWs','mySessionId','length','_operationToId','plugins','_knownRootNames','reconnect','insert','_disconnectService','285267IqsJkS','wasUndone','apply','lastDocumentSession','change:_isPendingUpdate','collaboration','_ignoredOperations','connected','_isPendingUpdate','_decompressOperations','_sendBufferedOperationsDelayed','root','CommentsOnly','rootName','change:range','compress','realtimecollaborationclient-init-service-incorrect-server-operation','addRootAttribute','high','_updateServerHistory','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.','affectsData','InsertOperation','listenTo','string','_bufferRootLoad','_shouldSendSelectionUpdate','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.','getOperationAuthor','1202610OGyWhW','_connectAfterSessionHasBeenFlushed','forEach','sendOperations','return','bind','cloudDocumentVersion','getOperations','_handleServerResponse','sessionAdd:','fromJSON','_knownOperations','startsWith','Synchronization\x20issue','batch','_handleReconnectionError','createdAt','rootsAttributes','includes','createPositionAt','init','change:hasDomSelection','_channelId','_compressor','parse','setIdForTheLastOperation','clone','metadata','size','collaboration-missing-channelid','cloudServices.bundleVersion','end','currentDocumentSession','catch','fire','realtimecollaborationclient-handleserverresponse','affectedSelectable','start','editor','lastOperationAcceptedAt','round','connect','newRange','createRange','baseVersion','realtimecollaborationclient-init-session-connection-error','getRoot','data','wereChangesApplied','_setPendingAction','unregister','addToReconnectionStack','_setUpDataInit','markers','marker','isUndoneOperation'];_0x45ff=function(){return _0x19c7ee;};return _0x45ff();}import{CKEditorError as _0x401e17,version as _0x162174,uid as _0x2fee4f}from'ckeditor5/src/utils.js';import{Notification as _0x1d80c4}from'ckeditor5/src/ui.js';import{transformOperationSets as _0xdb339c,NoOperation as _0x164433,InsertOperation as _0x57377d,MarkerOperation as _0x282766,RootAttributeOperation as _0x4afce1,OperationFactory as _0x11a091,History as _0x56f613}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x50ca4f}from'./websocketgateway.js';import{Sessions as _0x33a942}from'./sessions.js';function _0x3480(_0x31ef01,_0x2ec90f){const _0x45ffea=_0x45ff();return _0x3480=function(_0x348072,_0xe44d50){_0x348072=_0x348072-0xc9;let _0x1aa8d3=_0x45ffea[_0x348072];return _0x1aa8d3;},_0x3480(_0x31ef01,_0x2ec90f);}import{UserMarkers as _0x57b63e}from'./usermarkers.js';import{getTranslation as _0x53794}from'../common-translations.js';import{Compressor as _0x5e70fd}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x4e6cae}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x42a46c,CollaborativeEditingService as _0x1f63ec}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x2fd581{static [_0x298827(0x124)]=/* #__PURE__ -- @preserve */
|
|
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);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c095e=_0x4ace;(function(_0x118e49,_0x204966){const _0x5b8378=_0x4ace,_0x22227e=_0x118e49();while(!![]){try{const _0x306da1=parseInt(_0x5b8378(0xff))/0x1+-parseInt(_0x5b8378(0xfe))/0x2+parseInt(_0x5b8378(0xf5))/0x3+-parseInt(_0x5b8378(0xf0))/0x4+parseInt(_0x5b8378(0x11f))/0x5*(parseInt(_0x5b8378(0xf4))/0x6)+-parseInt(_0x5b8378(0x126))/0x7*(parseInt(_0x5b8378(0xf6))/0x8)+-parseInt(_0x5b8378(0x122))/0x9*(-parseInt(_0x5b8378(0x116))/0xa);if(_0x306da1===_0x204966)break;else _0x22227e['push'](_0x22227e['shift']());}catch(_0x3e1bb9){_0x22227e['push'](_0x22227e['shift']());}}}(_0x121b,0x97cf2));import{ContextPlugin as _0x48048f}from'ckeditor5/src/core.js';import{Collection as _0x2d4651,CKEditorError as _0x4c3e27}from'ckeditor5/src/utils.js';function _0x4ace(_0x54b9f7,_0x46b2d5){const _0x121bda=_0x121b();return _0x4ace=function(_0x4aced6,_0x12682d){_0x4aced6=_0x4aced6-0xee;let _0x3a5705=_0x121bda[_0x4aced6];return _0x3a5705;},_0x4ace(_0x54b9f7,_0x46b2d5);}import{WebSocketGateway as _0x38afb0}from'./websocketgateway.js';function _0x121b(){const _0x5e7d95=['connection','67205SnMFXN','sessions-unregister-not-exist','channelConnectedUsers','226422LHvoHm','hiddenInPresenceList','values','stopListening','21OhHaWw','getUserSessions','getUserRole','state','clear','_handleSessionRemove','_uniqueUsersCount','get','unregister','3761388MniRnH','role','assign','mySessionId','12ANBGCR','2124099MdwUaW','1919408KSpcjX','Sessions','getUser','has','plugins','channelSessions','size','sessionId','51398JgdjqW','38081OQHCNy','isOfficialPlugin','sessionAdd:','fire','isMe','connected','init','allConnectedUsers','isPremiumPlugin','addUser','register','delete','_registeredSessions','_handleSessionAdd','sessions-register-already-registered','pluginName','_createUser','add','remove','requires','defineMe','getUserBySessionId','context','610vodpje','_users','set','user','forEach','change:state','listenTo','orderNumber'];_0x121b=function(){return _0x5e7d95;};return _0x121b();}import{Users as _0x637149}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x48048f{[_0x5c095e(0xfb)];[_0x5c095e(0x121)];[_0x5c095e(0x106)];[_0x5c095e(0x10b)];[_0x5c095e(0x12c)];[_0x5c095e(0x117)];static get[_0x5c095e(0x10e)](){const _0xe72231=_0x5c095e;return _0xe72231(0xf7);}static get[_0x5c095e(0x100)](){return!0x0;}static get[_0x5c095e(0x107)](){return!0x0;}static get[_0x5c095e(0x112)](){return[_0x38afb0,_0x637149];}constructor(_0x4d9f0d){const _0x23cd71=_0x5c095e;super(_0x4d9f0d),this[_0x23cd71(0xfb)]=new Map(),this[_0x23cd71(0x121)]=new Map(),this[_0x23cd71(0x106)]=new _0x2d4651(),this[_0x23cd71(0x10b)]=new Map(),this[_0x23cd71(0x12c)]=0x0,this[_0x23cd71(0x117)]=this[_0x23cd71(0x115)][_0x23cd71(0xfa)][_0x23cd71(0xee)](_0x637149);}[_0x5c095e(0x105)](){const _0x4c0c16=_0x5c095e,_0x312586=this[_0x4c0c16(0x115)][_0x4c0c16(0xfa)][_0x4c0c16(0xee)](_0x38afb0);this[_0x4c0c16(0x11c)](_0x312586,_0x4c0c16(0x11b),(_0x3e3a93,_0x8e6396,_0x2a627f)=>{const _0x347fbb=_0x4c0c16;if(_0x347fbb(0x104)!==_0x2a627f)this[_0x347fbb(0xfb)][_0x347fbb(0x11a)](_0x40358b=>_0x40358b[_0x347fbb(0x12a)]()),this[_0x347fbb(0x121)][_0x347fbb(0x11a)](_0x16a846=>_0x16a846[_0x347fbb(0x12a)]()),this[_0x347fbb(0x106)][_0x347fbb(0x12a)]();else{for(const [_0x4e009f,_0x2bdd79]of this[_0x347fbb(0x10b)])for(const _0x33469f of _0x2bdd79)this[_0x347fbb(0x10c)](_0x4e009f,_0x33469f);}}),this[_0x4c0c16(0x10f)](_0x312586[_0x4c0c16(0x11e)]['me'],!0x0);}[_0x5c095e(0x109)](_0x55009d,_0x254d44){const _0xb79e3e=_0x5c095e;if(this[_0xb79e3e(0x10b)][_0xb79e3e(0xf9)](_0x55009d))throw new _0x4c3e27(_0xb79e3e(0x10d),null,{'channelId':_0x55009d});this[_0xb79e3e(0x10b)][_0xb79e3e(0x118)](_0x55009d,_0x254d44),this[_0xb79e3e(0xfb)][_0xb79e3e(0x118)](_0x55009d,new _0x2d4651()),this[_0xb79e3e(0x121)][_0xb79e3e(0x118)](_0x55009d,new _0x2d4651()),this[_0xb79e3e(0x11c)](_0x254d44,_0xb79e3e(0x110),(_0x1ea439,_0x4e0d45)=>this[_0xb79e3e(0x10c)](_0x55009d,_0x4e0d45)),this[_0xb79e3e(0x11c)](_0x254d44,_0xb79e3e(0x111),(_0x3875ae,_0x16f227)=>this[_0xb79e3e(0x12b)](_0x55009d,_0x16f227));for(const _0xb4ccee of _0x254d44)this[_0xb79e3e(0x10c)](_0x55009d,_0xb4ccee);}[_0x5c095e(0xef)](_0x290b3b){const _0x59e744=_0x5c095e;if(!this[_0x59e744(0x10b)][_0x59e744(0xf9)](_0x290b3b))throw new _0x4c3e27(_0x59e744(0x120),null,{'channelId':_0x290b3b});const _0x46568f=this[_0x59e744(0x10b)][_0x59e744(0xee)](_0x290b3b);this[_0x59e744(0x125)](_0x46568f);for(const _0x54600b of _0x46568f)_0x59e744(0x104)===this[_0x59e744(0x115)][_0x59e744(0xfa)][_0x59e744(0xee)](_0x38afb0)[_0x59e744(0x129)]&&this[_0x59e744(0x12b)](_0x290b3b,_0x54600b);this[_0x59e744(0x10b)][_0x59e744(0x10a)](_0x290b3b),this[_0x59e744(0xfb)][_0x59e744(0x10a)](_0x290b3b),this[_0x59e744(0x121)][_0x59e744(0x10a)](_0x290b3b);}get[_0x5c095e(0xf3)](){const _0x99e215=_0x5c095e;return this[_0x99e215(0x115)][_0x99e215(0xfa)][_0x99e215(0xee)](_0x38afb0)[_0x99e215(0x11e)][_0x99e215(0xfd)];}[_0x5c095e(0x114)](_0xe6a92f){const _0x59e45a=_0x5c095e;for(const _0x22d98b of this[_0x59e45a(0xfb)][_0x59e45a(0x124)]())for(const _0x1026be of _0x22d98b)if(_0x1026be['id']===_0xe6a92f)return _0x1026be[_0x59e45a(0x119)];}[_0x5c095e(0x127)](_0x55ebd5,_0x5ab7f6){const _0x19c71f=_0x5c095e,_0x1f1a41=_0x5ab7f6?[this[_0x19c71f(0xfb)][_0x19c71f(0xee)](_0x5ab7f6)]:this[_0x19c71f(0xfb)][_0x19c71f(0x124)](),_0x260111=new Set();for(const _0x4532b6 of _0x1f1a41)for(const _0x59626d of _0x4532b6)_0x59626d[_0x19c71f(0x119)]['id']===_0x55ebd5['id']&&_0x260111[_0x19c71f(0x110)](_0x59626d['id']);return _0x260111;}[_0x5c095e(0x128)](_0x4959a4){const _0x4c8be3=_0x5c095e;for(const _0x17015b of this[_0x4c8be3(0xfb)][_0x4c8be3(0x124)]())for(const _0x10b560 of _0x17015b)if(_0x10b560[_0x4c8be3(0x119)]===_0x4959a4)return _0x10b560[_0x4c8be3(0xf1)];}[_0x5c095e(0x10c)](_0x3be893,_0x26b030){const _0x5a44b3=_0x5c095e;if(_0x5a44b3(0x104)!==this[_0x5a44b3(0x115)][_0x5a44b3(0xfa)][_0x5a44b3(0xee)](_0x38afb0)[_0x5a44b3(0x129)])return;const _0x72d6ff=_0x26b030[_0x5a44b3(0x119)],_0x7ecb18=this[_0x5a44b3(0x117)][_0x5a44b3(0xf8)](_0x72d6ff['id'])||this[_0x5a44b3(0x10f)](_0x72d6ff),_0x33d3de=Object[_0x5a44b3(0xf2)]({},_0x26b030,{'user':_0x7ecb18});if(this[_0x5a44b3(0xfb)][_0x5a44b3(0xee)](_0x3be893)[_0x5a44b3(0x110)](_0x33d3de),!_0x72d6ff[_0x5a44b3(0x123)]){const _0x37ba37=this[_0x5a44b3(0x121)][_0x5a44b3(0xee)](_0x3be893);_0x37ba37[_0x5a44b3(0xf9)](_0x7ecb18['id'])||_0x37ba37[_0x5a44b3(0x110)](_0x7ecb18),this[_0x5a44b3(0x106)][_0x5a44b3(0xf9)](_0x7ecb18['id'])||_0x72d6ff[_0x5a44b3(0x123)]||this[_0x5a44b3(0x106)][_0x5a44b3(0x110)](_0x7ecb18,_0x7ecb18[_0x5a44b3(0x103)]?0x0:void 0x0);}this[_0x5a44b3(0x102)](_0x5a44b3(0x101)+_0x3be893,{'channelId':_0x3be893,'session':_0x33d3de});}[_0x5c095e(0x12b)](_0x55ebcc,_0x51d24d){const _0x3a9a23=_0x5c095e;if(_0x3a9a23(0x104)!==this[_0x3a9a23(0x115)][_0x3a9a23(0xfa)][_0x3a9a23(0xee)](_0x38afb0)[_0x3a9a23(0x129)])return;const _0xfc32ca=this[_0x3a9a23(0x121)][_0x3a9a23(0xee)](_0x55ebcc),_0x5e76c2=_0x51d24d[_0x3a9a23(0x119)];_0x5e76c2['id']&&(this[_0x3a9a23(0xfb)][_0x3a9a23(0xee)](_0x55ebcc)[_0x3a9a23(0x111)](_0x51d24d['id']),_0xfc32ca[_0x3a9a23(0xf9)](_0x5e76c2['id'])&&!this[_0x3a9a23(0x127)](_0x5e76c2,_0x55ebcc)[_0x3a9a23(0xfc)]&&_0xfc32ca[_0x3a9a23(0x111)](_0x5e76c2['id']),this[_0x3a9a23(0x106)][_0x3a9a23(0xee)](_0x5e76c2['id'])&&!this[_0x3a9a23(0x127)](_0x5e76c2)[_0x3a9a23(0xfc)]&&this[_0x3a9a23(0x106)][_0x3a9a23(0x111)](_0x5e76c2['id']));}[_0x5c095e(0x10f)](_0x41f462,_0x51428d){const _0x61154=_0x5c095e,_0x4fc5a0=this[_0x61154(0x117)][_0x61154(0x108)](_0x41f462);return _0x51428d&&this[_0x61154(0x117)][_0x61154(0x113)](_0x41f462['id']),_0x4fc5a0[_0x61154(0x11d)]=this[_0x61154(0x12c)]++,_0x4fc5a0;}}
|