@ckeditor/ckeditor5-real-time-collaboration 47.2.0-alpha.7 → 47.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +14 -14
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "47.2.0
|
|
3
|
+
"version": "47.2.0",
|
|
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
|
|
51
|
-
"@ckeditor/ckeditor5-comments": "47.2.0
|
|
52
|
-
"@ckeditor/ckeditor5-core": "47.2.0
|
|
53
|
-
"@ckeditor/ckeditor5-editor-multi-root": "47.2.0
|
|
54
|
-
"@ckeditor/ckeditor5-engine": "47.2.0
|
|
55
|
-
"@ckeditor/ckeditor5-operations-compressor": "47.2.0
|
|
56
|
-
"@ckeditor/ckeditor5-revision-history": "47.2.0
|
|
57
|
-
"@ckeditor/ckeditor5-theme-lark": "47.2.0
|
|
58
|
-
"@ckeditor/ckeditor5-track-changes": "47.2.0
|
|
59
|
-
"@ckeditor/ckeditor5-ui": "47.2.0
|
|
60
|
-
"@ckeditor/ckeditor5-utils": "47.2.0
|
|
61
|
-
"ckeditor5": "47.2.0
|
|
62
|
-
"ckeditor5-collaboration": "47.2.0
|
|
50
|
+
"@ckeditor/ckeditor5-cloud-services": "47.2.0",
|
|
51
|
+
"@ckeditor/ckeditor5-comments": "47.2.0",
|
|
52
|
+
"@ckeditor/ckeditor5-core": "47.2.0",
|
|
53
|
+
"@ckeditor/ckeditor5-editor-multi-root": "47.2.0",
|
|
54
|
+
"@ckeditor/ckeditor5-engine": "47.2.0",
|
|
55
|
+
"@ckeditor/ckeditor5-operations-compressor": "47.2.0",
|
|
56
|
+
"@ckeditor/ckeditor5-revision-history": "47.2.0",
|
|
57
|
+
"@ckeditor/ckeditor5-theme-lark": "47.2.0",
|
|
58
|
+
"@ckeditor/ckeditor5-track-changes": "47.2.0",
|
|
59
|
+
"@ckeditor/ckeditor5-ui": "47.2.0",
|
|
60
|
+
"@ckeditor/ckeditor5-utils": "47.2.0",
|
|
61
|
+
"ckeditor5": "47.2.0",
|
|
62
|
+
"ckeditor5-collaboration": "47.2.0",
|
|
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 _0x2e1fcf=_0x1427;(function(_0x4e5e8c,_0x5b28d4){const _0x1f94e8=_0x1427,_0x13515a=_0x4e5e8c();while(!![]){try{const _0x26625a=-parseInt(_0x1f94e8(0xd4))/0x1+parseInt(_0x1f94e8(0xfd))/0x2*(-parseInt(_0x1f94e8(0x102))/0x3)+-parseInt(_0x1f94e8(0xd8))/0x4+parseInt(_0x1f94e8(0x114))/0x5*(parseInt(_0x1f94e8(0xe7))/0x6)+-parseInt(_0x1f94e8(0xff))/0x7*(-parseInt(_0x1f94e8(0xe4))/0x8)+parseInt(_0x1f94e8(0x128))/0x9*(parseInt(_0x1f94e8(0x11d))/0xa)+-parseInt(_0x1f94e8(0x124))/0xb;if(_0x26625a===_0x5b28d4)break;else _0x13515a['push'](_0x13515a['shift']());}catch(_0x5f3e76){_0x13515a['push'](_0x13515a['shift']());}}}(_0x52bc,0x96b8d));import{ContextPlugin as _0x16bf62}from'ckeditor5/src/core.js';import{CKEditorError as _0x58ee3d,Collection as _0xbccf3f}from'ckeditor5/src/utils.js';function _0x52bc(){const _0x2191f8=['368665bNobma','_handleUserAdd','querySelectorAll','destroy','785164ZlbfqG','isPremiumPlugin','allConnectedUsers','locale','from','attachToDom','unpin','bind','_createView','pluginName','reverse','ck\x20ck-presence-list__balloon','6533672hPMwpg','content','presenceDropdownView','707946lXMZOU','isExpanded','pin','inlineListView','detachFromDom','onClick','presencelist-collapseat-invalid-format','Esc','hasTooltip','define','config','textarea','bindTo','sort','displayMe','hideDropdown','isOfficialPlugin','input','appendChild','presencelist-missing-container','select','length','628GpnTir','plugins','7jTzAxP','body','button','486TiCZOC','activeElement','offsetHeight','change:isFocused','_bodyCollection','isMe','execute','listenTo','presenceList.displayMe','isCollapsed','offsetWidth','showDropdown','view','get','class','[tabindex]','focusTracker','counterView','35eEIFNO','isFocusable','Enter','add','_allConnectedUsers','currentDisplayedUsers','Shift+Tab','min','presenceList.container','5410JqzIpx','keystrokes','tabIndex','join','map','balloonPanelView','render','7366546FOMSWy','presencelist:hide','items','using','4329LerSXI','presencelist:show','init','context','find','set','isRendered','_handleUserRemove','focus','PresenceListUI','presenceList.collapseAt','requires','element','isVisible','remove','number','presenceList','usersCount','Tab','filter','checkIfScrollable','indexOf','[contenteditable]',':not([disabled]):not([tabindex=\x22-1\x22])'];_0x52bc=function(){return _0x2191f8;};return _0x52bc();}import{clickOutsideHandler as _0x504689,BalloonPanelView as _0x2ca350,BodyCollection as _0x42b340}from'ckeditor5/src/ui.js';import{isElement as _0x53a68e}from'es-toolkit/compat';import{Sessions as _0x147912}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x1eea2a}from'./view/presencelistview.js';import{PresenceCounterView as _0x27cba1}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x3a2753}from'./view/presencedropdownlistview.js';function _0x1427(_0x33d7cd,_0x33e6cd){const _0x52bcd4=_0x52bc();return _0x1427=function(_0x14271b,_0x3c55e3){_0x14271b=_0x14271b-0xc3;let _0x638619=_0x52bcd4[_0x14271b];return _0x638619;},_0x1427(_0x33d7cd,_0x33e6cd);}import{PresenceDropdownListItemView as _0xf3d933}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x22635f}from'./view/presenceinlinelistitemview.js';const x={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x16bf62{[_0x2e1fcf(0x119)];[_0x2e1fcf(0x122)];[_0x2e1fcf(0x10e)];[_0x2e1fcf(0xe6)];[_0x2e1fcf(0x106)]=null;static get[_0x2e1fcf(0xe1)](){const _0x5350b1=_0x2e1fcf;return _0x5350b1(0xc5);}static get[_0x2e1fcf(0xf7)](){return!0x0;}static get[_0x2e1fcf(0xd9)](){return!0x0;}constructor(_0x1029f2){const _0x32915b=_0x2e1fcf;super(_0x1029f2),this[_0x32915b(0x12b)][_0x32915b(0xf1)][_0x32915b(0xf0)](_0x32915b(0xcc),x);const _0x3d020a=_0x1029f2[_0x32915b(0xf1)][_0x32915b(0x10f)](_0x32915b(0xc6));if(_0x32915b(0xcb)!=typeof _0x3d020a)throw new _0x58ee3d(_0x32915b(0xed),this);if(_0x3d020a<0x1)throw new _0x58ee3d(_0x32915b(0xed),this);this[_0x32915b(0x118)]=this[_0x32915b(0x12b)][_0x32915b(0xfe)][_0x32915b(0x10f)](_0x147912)[_0x32915b(0xda)],this[_0x32915b(0x12d)](_0x32915b(0xcd),0x0),this[_0x32915b(0x119)]=new _0xbccf3f(),this[_0x32915b(0x122)]=new _0x2ca350(),this[_0x32915b(0x122)][_0x32915b(0x110)]=_0x32915b(0xe3),this[_0x32915b(0x10e)]=this[_0x32915b(0xe0)](),this[_0x32915b(0xe6)]=void 0x0;}static get[_0x2e1fcf(0xc7)](){return[_0x147912];}[_0x2e1fcf(0x12a)](){const _0x589fea=_0x2e1fcf;for(const _0x238317 of this[_0x589fea(0x118)])this[_0x589fea(0xd5)](_0x238317);this[_0x589fea(0x109)](this[_0x589fea(0x118)],_0x589fea(0x117),(_0x31a765,_0x2d7acf)=>{const _0x2bb035=_0x589fea;this[_0x2bb035(0xd5)](_0x2d7acf);}),this[_0x589fea(0x109)](this[_0x589fea(0x118)],_0x589fea(0xca),(_0x4fff01,_0x428578)=>{const _0x15fbbc=_0x589fea;this[_0x15fbbc(0xc3)](_0x428578);});}[_0x2e1fcf(0xe0)](){const _0x53a1e8=_0x2e1fcf,_0x20fc7f=this[_0x53a1e8(0x12b)],_0x3ac227=new _0x1eea2a(this[_0x53a1e8(0x12b)][_0x53a1e8(0xdb)],this[_0x53a1e8(0x12b)][_0x53a1e8(0xf1)][_0x53a1e8(0x10f)](_0x53a1e8(0xc6))),_0x5863ff=this[_0x53a1e8(0x122)];if(!_0x53a68e(_0x20fc7f[_0x53a1e8(0xf1)][_0x53a1e8(0x10f)](_0x53a1e8(0x11c))))throw new _0x58ee3d(_0x53a1e8(0xfa),this);return _0x3ac227[_0x53a1e8(0x113)][_0x53a1e8(0xdf)](_0x53a1e8(0xcd))['to'](this),_0x3ac227[_0x53a1e8(0xdf)](_0x53a1e8(0x10b))['to'](this,_0x53a1e8(0xcd),_0x2feeee=>{const _0x26b545=_0x53a1e8,{collapseAt:_0x47c7c2}=_0x20fc7f[_0x26b545(0xf1)][_0x26b545(0x10f)](_0x26b545(0xcc)),_0x1766da=_0x2feeee>=_0x47c7c2;if(_0x1766da&&!_0x3ac227[_0x26b545(0xea)][_0x26b545(0x126)][_0x26b545(0x12c)](_0x3222a4=>_0x3222a4 instanceof _0x27cba1)){const _0x50221e=this[_0x26b545(0x12b)][_0x26b545(0xf1)][_0x26b545(0x10f)](_0x26b545(0xc6))-0x1;this[_0x26b545(0x119)][_0x26b545(0xfc)]==_0x50221e&&this[_0x26b545(0x119)][_0x26b545(0xfc)]>0x1&&this[_0x26b545(0x119)][_0x26b545(0xca)](this[_0x26b545(0x119)][_0x26b545(0xfc)]-0x1),_0x3ac227[_0x26b545(0xea)][_0x26b545(0x126)][_0x26b545(0x117)](_0x3ac227[_0x26b545(0x113)]);}return _0x1766da||this[_0x26b545(0xf6)](),_0x1766da;}),_0x3ac227[_0x53a1e8(0xea)][_0x53a1e8(0x126)][_0x53a1e8(0xf3)](this[_0x53a1e8(0x119)])[_0x53a1e8(0x127)](_0x38df2c=>{const _0x571f5f=_0x53a1e8,_0x1368a3=_0x20fc7f[_0x571f5f(0xf1)][_0x571f5f(0x10f)](_0x571f5f(0xcc)),_0x33b270=new _0x22635f(_0x20fc7f[_0x571f5f(0xdb)],_0x38df2c,!!_0x1368a3[_0x571f5f(0xec)]);return _0x33b270[_0x571f5f(0xdf)](_0x571f5f(0xef))['to'](_0x3ac227,_0x571f5f(0x10b),_0x366d71=>!_0x366d71),_0x33b270[_0x571f5f(0xdf)](_0x571f5f(0x115))['to'](_0x3ac227,_0x571f5f(0x10b),_0x8364f=>!_0x8364f),_0x1368a3[_0x571f5f(0xec)]&&this[_0x571f5f(0x109)](_0x33b270,_0x571f5f(0x108),()=>{const _0x3414f6=_0x571f5f;this[_0x3414f6(0x10e)][_0x3414f6(0x10b)]||_0x1368a3[_0x3414f6(0xec)](_0x38df2c,_0x33b270[_0x3414f6(0xc8)]);}),_0x33b270;}),this[_0x53a1e8(0x109)](_0x3ac227[_0x53a1e8(0xea)],_0x53a1e8(0x129),()=>{const _0x359c11=_0x53a1e8;this[_0x359c11(0x10e)][_0x359c11(0x10b)]&&this[_0x359c11(0x10d)]();}),this[_0x53a1e8(0x109)](_0x3ac227[_0x53a1e8(0xea)],_0x53a1e8(0x125),()=>{const _0x1408db=_0x53a1e8;this[_0x1408db(0xe6)]&&this[_0x1408db(0xf6)]();}),_0x3ac227[_0x53a1e8(0xea)][_0x53a1e8(0x11e)][_0x53a1e8(0x12d)](_0x53a1e8(0x116),(_0x97e1be,_0x208064)=>{const _0x2b3ac7=_0x53a1e8;this[_0x2b3ac7(0x10e)][_0x2b3ac7(0x10b)]&&(this[_0x2b3ac7(0x10d)](),_0x208064());}),_0x3ac227[_0x53a1e8(0x123)](),_0x5863ff[_0x53a1e8(0x123)](),_0x504689({'emitter':_0x3ac227,'activator':()=>_0x5863ff[_0x53a1e8(0xc9)],'contextElements':[_0x5863ff[_0x53a1e8(0xc8)],_0x3ac227[_0x53a1e8(0xea)][_0x53a1e8(0xc8)]],'callback':()=>this[_0x53a1e8(0xf6)]()}),_0x20fc7f[_0x53a1e8(0xf1)][_0x53a1e8(0x10f)](_0x53a1e8(0x11c))[_0x53a1e8(0xf9)](_0x3ac227[_0x53a1e8(0xc8)]),this[_0x53a1e8(0x106)]=new _0x42b340(this[_0x53a1e8(0x12b)][_0x53a1e8(0xdb)]),this[_0x53a1e8(0x106)][_0x53a1e8(0xdd)](),this[_0x53a1e8(0x106)][_0x53a1e8(0x117)](this[_0x53a1e8(0x122)]),_0x3ac227;}[_0x2e1fcf(0xd5)](_0x319143){const _0x4cd0c2=_0x2e1fcf;if(!this[_0x4cd0c2(0x12b)][_0x4cd0c2(0xf1)][_0x4cd0c2(0x10f)](_0x4cd0c2(0x10a))&&_0x319143[_0x4cd0c2(0x107)])return;const _0x21e009=this[_0x4cd0c2(0x12b)][_0x4cd0c2(0xf1)][_0x4cd0c2(0x10f)](_0x4cd0c2(0xc6))-0x1;for(this[_0x4cd0c2(0xcd)]++;this[_0x4cd0c2(0x119)][_0x4cd0c2(0xfc)]>=_0x21e009-(this[_0x4cd0c2(0x10e)][_0x4cd0c2(0x10b)]?0x1:0x0)&&this[_0x4cd0c2(0x119)][_0x4cd0c2(0xfc)]>0x1;)this[_0x4cd0c2(0x119)][_0x4cd0c2(0xca)](0x1);const _0x5132db=_0x319143[_0x4cd0c2(0x107)]?0x0:this[_0x4cd0c2(0x119)][_0x4cd0c2(0xfc)];this[_0x4cd0c2(0x119)][_0x4cd0c2(0x117)](_0x319143,_0x5132db);}[_0x2e1fcf(0xc3)](_0x53399d){const _0x55778b=_0x2e1fcf;this[_0x55778b(0xcd)]--;const {collapseAt:_0x3cf8de}=this[_0x55778b(0x12b)][_0x55778b(0xf1)][_0x55778b(0x10f)](_0x55778b(0xcc)),_0x1ce5e5=this[_0x55778b(0xcd)]>=_0x3cf8de;if(this[_0x55778b(0x119)][_0x55778b(0x10f)](_0x53399d['id']))this[_0x55778b(0x119)][_0x55778b(0xca)](_0x53399d['id']);else{if(_0x1ce5e5&&this[_0x55778b(0x119)][_0x55778b(0xfc)]+0x1===_0x3cf8de-0x1)return;}if(this[_0x55778b(0x119)][_0x55778b(0xfc)]+(_0x1ce5e5?0x1:0x0)<this[_0x55778b(0xcd)]){for(const _0x2d4ad2 of Array[_0x55778b(0xdc)](this[_0x55778b(0x118)])[_0x55778b(0xe2)]())if(!this[_0x55778b(0x119)][_0x55778b(0x10f)](_0x2d4ad2['id'])&&(this[_0x55778b(0x119)][_0x55778b(0x117)](_0x2d4ad2,Math[_0x55778b(0x11b)](this[_0x55778b(0x119)][_0x55778b(0xfc)]-(_0x1ce5e5?0x1:0x0),0x1)),this[_0x55778b(0x119)][_0x55778b(0xfc)]+(_0x1ce5e5?0x1:0x0)===_0x3cf8de-0x1))return;}}[_0x2e1fcf(0x10d)](){const _0x59d11e=_0x2e1fcf;if(this[_0x59d11e(0xe6)])return;const _0x23f346=this[_0x59d11e(0x12b)][_0x59d11e(0xf1)][_0x59d11e(0x10f)](_0x59d11e(0xcc));this[_0x59d11e(0xe6)]=new _0x3a2753(this[_0x59d11e(0x12b)][_0x59d11e(0xdb)],!!_0x23f346[_0x59d11e(0xec)]),this[_0x59d11e(0x10e)][_0x59d11e(0xea)][_0x59d11e(0xe8)]=!0x0,this[_0x59d11e(0x109)](this[_0x59d11e(0xe6)],_0x59d11e(0x125),()=>{const _0x56e174=_0x59d11e;this[_0x56e174(0xe6)]&&this[_0x56e174(0xf6)]();});const {listWrapperView:_0x9e7fcb}=this[_0x59d11e(0xe6)];_0x9e7fcb[_0x59d11e(0x126)][_0x59d11e(0xf3)](this[_0x59d11e(0x118)])[_0x59d11e(0x127)](_0x1b2e97=>{const _0x4b9fb2=_0x59d11e;if(!_0x23f346[_0x4b9fb2(0xf5)]&&_0x1b2e97[_0x4b9fb2(0x107)])return null;const _0x3f436c=new _0xf3d933(this[_0x4b9fb2(0x12b)][_0x4b9fb2(0xdb)],_0x1b2e97,!!_0x23f346[_0x4b9fb2(0xec)]);return _0x23f346[_0x4b9fb2(0xec)]&&this[_0x4b9fb2(0x109)](_0x3f436c,_0x4b9fb2(0x108),()=>{const _0x484df6=_0x4b9fb2;_0x23f346[_0x484df6(0xec)](_0x1b2e97,_0x3f436c[_0x484df6(0xc8)]);}),_0x3f436c;}),this[_0x59d11e(0x122)][_0x59d11e(0xe5)][_0x59d11e(0x117)](this[_0x59d11e(0xe6)]),this[_0x59d11e(0x122)][_0x59d11e(0xe9)]({'target':this[_0x59d11e(0x10e)][_0x59d11e(0xea)][_0x59d11e(0xc8)]}),_0x9e7fcb[_0x59d11e(0xc4)](),_0x9e7fcb[_0x59d11e(0xd0)]();const _0x5cf2a8=(_0x4c6e47,_0xe7bd22)=>{const _0x4df08c=_0x59d11e;this[_0x4df08c(0xf6)](),this[_0x4df08c(0x10e)][_0x4df08c(0xea)][_0x4df08c(0xc4)](),_0xe7bd22();};_0x9e7fcb[_0x59d11e(0x11e)][_0x59d11e(0x12d)](_0x59d11e(0xee),_0x5cf2a8),_0x9e7fcb[_0x59d11e(0x11e)][_0x59d11e(0x12d)](_0x59d11e(0x11a),_0x5cf2a8),_0x9e7fcb[_0x59d11e(0x11e)][_0x59d11e(0x12d)](_0x59d11e(0xce),(_0x233a10,_0x477df9)=>{const _0x14524c=_0x59d11e;!function(_0x46501b){const _0x18e8ba=_0x1427,_0x4b4de6=['a',_0x18e8ba(0x101),_0x18e8ba(0xf8),_0x18e8ba(0xfb),_0x18e8ba(0xf2),_0x18e8ba(0x111),_0x18e8ba(0xd2)][_0x18e8ba(0x121)](_0x432c1a=>_0x432c1a+_0x18e8ba(0xd3))[_0x18e8ba(0x120)](','),_0x4c8349=[...document[_0x18e8ba(0x100)][_0x18e8ba(0xd6)](_0x4b4de6)][_0x18e8ba(0xcf)](_0x36c5a1=>_0x36c5a1===document[_0x18e8ba(0x103)]||_0x36c5a1[_0x18e8ba(0x10c)]+_0x36c5a1[_0x18e8ba(0x104)]>0x0)[_0x18e8ba(0xf4)]((_0x2bf471,_0x325a7e)=>(_0x2bf471[_0x18e8ba(0x11f)]||0x0)-(_0x325a7e[_0x18e8ba(0x11f)]||0x0)),_0x199835=_0x4c8349[_0x18e8ba(0xd1)](_0x46501b),_0x25c7f5=_0x4c8349[(_0x199835+0x1)%_0x4c8349[_0x18e8ba(0xfc)]];_0x25c7f5&&_0x25c7f5[_0x18e8ba(0xc4)]();}(this[_0x14524c(0x10e)][_0x14524c(0xc8)]),this[_0x14524c(0xf6)](),_0x477df9();}),_0x9e7fcb[_0x59d11e(0x112)][_0x59d11e(0x117)](this[_0x59d11e(0x10e)][_0x59d11e(0xc8)]),_0x9e7fcb[_0x59d11e(0x112)]['on'](_0x59d11e(0x105),(_0x1bd33b,_0x531226,_0x1b1ad4)=>{const _0xf3377c=_0x59d11e;_0x1b1ad4||this[_0xf3377c(0xf6)]();});}[_0x2e1fcf(0xf6)](){const _0x27c23b=_0x2e1fcf;this[_0x27c23b(0xe6)]&&(this[_0x27c23b(0x10e)][_0x27c23b(0xea)][_0x27c23b(0xe8)]=!0x1,this[_0x27c23b(0x122)][_0x27c23b(0xde)](),this[_0x27c23b(0x122)][_0x27c23b(0xe5)][_0x27c23b(0xca)](this[_0x27c23b(0xe6)]),this[_0x27c23b(0xe6)][_0x27c23b(0xd7)](),this[_0x27c23b(0xe6)]=void 0x0);}[_0x2e1fcf(0xd7)](){const _0xe435cb=_0x2e1fcf;super[_0xe435cb(0xd7)](),this[_0xe435cb(0x10e)]&&this[_0xe435cb(0x10e)][_0xe435cb(0x12e)]&&this[_0xe435cb(0x10e)][_0xe435cb(0xd7)](),this[_0xe435cb(0x106)]&&(this[_0xe435cb(0x106)][_0xe435cb(0xeb)](),this[_0xe435cb(0x106)][_0xe435cb(0xd7)](),this[_0xe435cb(0x106)]=null);}}
|
|
23
|
+
const _0x11d730=_0x2773;(function(_0x3b5335,_0x44022c){const _0x571a1b=_0x2773,_0x4aeb57=_0x3b5335();while(!![]){try{const _0x3eb90b=parseInt(_0x571a1b(0xef))/0x1+parseInt(_0x571a1b(0xe5))/0x2*(-parseInt(_0x571a1b(0x12c))/0x3)+parseInt(_0x571a1b(0x11e))/0x4*(-parseInt(_0x571a1b(0x107))/0x5)+-parseInt(_0x571a1b(0xd4))/0x6+-parseInt(_0x571a1b(0xf5))/0x7+-parseInt(_0x571a1b(0x131))/0x8+parseInt(_0x571a1b(0x10b))/0x9*(parseInt(_0x571a1b(0x102))/0xa);if(_0x3eb90b===_0x44022c)break;else _0x4aeb57['push'](_0x4aeb57['shift']());}catch(_0xae3759){_0x4aeb57['push'](_0x4aeb57['shift']());}}}(_0x3086,0x50147));import{ContextPlugin as _0x14f23c}from'ckeditor5/src/core.js';import{CKEditorError as _0x21d02a,Collection as _0x3562d2}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0xa66a35,BalloonPanelView as _0x470a68,BodyCollection as _0x5f5919}from'ckeditor5/src/ui.js';import{isElement as _0x721983}from'es-toolkit/compat';import{Sessions as _0x206766}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x4be64d}from'./view/presencelistview.js';import{PresenceCounterView as _0x2c4ec2}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x278370}from'./view/presencedropdownlistview.js';function _0x2773(_0x28259f,_0x534d9f){const _0x3086e0=_0x3086();return _0x2773=function(_0x2773e1,_0x5791c1){_0x2773e1=_0x2773e1-0xca;let _0x40c454=_0x3086e0[_0x2773e1];return _0x40c454;},_0x2773(_0x28259f,_0x534d9f);}import{PresenceDropdownListItemView as _0xe76fa4}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x2547f2}from'./view/presenceinlinelistitemview.js';function _0x3086(){const _0x2e5ee7=['items','hasTooltip','tabIndex','bindTo','remove','isRendered','offsetHeight','sort','5173670KSaYQJ','execute','inlineListView','currentDisplayedUsers','plugins','27515dfyDsn','keystrokes','presencelist:hide','_handleUserAdd','18ulIXiy','join','isVisible','define','get','isCollapsed','isMe','from','_bodyCollection','bind','[contenteditable]','presencelist:show','onClick','body','isPremiumPlugin','using','config','context','locale','28iHuyge','usersCount','pluginName','presenceList.displayMe','showDropdown','isFocusable','isExpanded','Shift+Tab','activeElement','presenceList.collapseAt','map','_createView','displayMe','change:isFocused','3MfBLeZ','set','presenceDropdownView','querySelectorAll','ck\x20ck-presence-list__balloon','3085680pZEMlQ','presenceList.container','allConnectedUsers','button','filter','view','reverse','requires','_allConnectedUsers','add','focus','detachFromDom','class','indexOf','549792JQmDHO','number','checkIfScrollable','Enter','isOfficialPlugin','Esc','presencelist-collapseat-invalid-format','focusTracker','select','length','content','input','destroy','presenceList','counterView','attachToDom','Tab','561880vXlDxr','PresenceListUI','find','unpin','element','appendChild','render','textarea','[tabindex]','_handleUserRemove','452867egmIgd','hideDropdown','min','offsetWidth','init',':not([disabled]):not([tabindex=\x22-1\x22])','2539537oHYjGz','listenTo','pin','presencelist-missing-container','balloonPanelView'];_0x3086=function(){return _0x2e5ee7;};return _0x3086();}const U={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x14f23c{[_0x11d730(0x105)];[_0x11d730(0xf9)];[_0x11d730(0xcb)];[_0x11d730(0x12e)];[_0x11d730(0x113)]=null;static get[_0x11d730(0x120)](){const _0x77a14f=_0x11d730;return _0x77a14f(0xe6);}static get[_0x11d730(0xd8)](){return!0x0;}static get[_0x11d730(0x119)](){return!0x0;}constructor(_0x1913f8){const _0xed66a6=_0x11d730;super(_0x1913f8),this[_0xed66a6(0x11c)][_0xed66a6(0x11b)][_0xed66a6(0x10e)](_0xed66a6(0xe1),U);const _0x373a6d=_0x1913f8[_0xed66a6(0x11b)][_0xed66a6(0x10f)](_0xed66a6(0x127));if(_0xed66a6(0xd5)!=typeof _0x373a6d)throw new _0x21d02a(_0xed66a6(0xda),this);if(_0x373a6d<0x1)throw new _0x21d02a(_0xed66a6(0xda),this);this[_0xed66a6(0xce)]=this[_0xed66a6(0x11c)][_0xed66a6(0x106)][_0xed66a6(0x10f)](_0x206766)[_0xed66a6(0x133)],this[_0xed66a6(0x12d)](_0xed66a6(0x11f),0x0),this[_0xed66a6(0x105)]=new _0x3562d2(),this[_0xed66a6(0xf9)]=new _0x470a68(),this[_0xed66a6(0xf9)][_0xed66a6(0xd2)]=_0xed66a6(0x130),this[_0xed66a6(0xcb)]=this[_0xed66a6(0x129)](),this[_0xed66a6(0x12e)]=void 0x0;}static get[_0x11d730(0xcd)](){return[_0x206766];}[_0x11d730(0xf3)](){const _0x90eeab=_0x11d730;for(const _0x1fbcfe of this[_0x90eeab(0xce)])this[_0x90eeab(0x10a)](_0x1fbcfe);this[_0x90eeab(0xf6)](this[_0x90eeab(0xce)],_0x90eeab(0xcf),(_0x55d653,_0x4bd930)=>{const _0x2451a2=_0x90eeab;this[_0x2451a2(0x10a)](_0x4bd930);}),this[_0x90eeab(0xf6)](this[_0x90eeab(0xce)],_0x90eeab(0xfe),(_0x172d71,_0x2e0315)=>{const _0x276637=_0x90eeab;this[_0x276637(0xee)](_0x2e0315);});}[_0x11d730(0x129)](){const _0xc5f024=_0x11d730,_0x7998b8=this[_0xc5f024(0x11c)],_0x1d39c5=new _0x4be64d(this[_0xc5f024(0x11c)][_0xc5f024(0x11d)],this[_0xc5f024(0x11c)][_0xc5f024(0x11b)][_0xc5f024(0x10f)](_0xc5f024(0x127))),_0x28cc95=this[_0xc5f024(0xf9)];if(!_0x721983(_0x7998b8[_0xc5f024(0x11b)][_0xc5f024(0x10f)](_0xc5f024(0x132))))throw new _0x21d02a(_0xc5f024(0xf8),this);return _0x1d39c5[_0xc5f024(0xe2)][_0xc5f024(0x114)](_0xc5f024(0x11f))['to'](this),_0x1d39c5[_0xc5f024(0x114)](_0xc5f024(0x110))['to'](this,_0xc5f024(0x11f),_0x341750=>{const _0x3475f3=_0xc5f024,{collapseAt:_0x37da02}=_0x7998b8[_0x3475f3(0x11b)][_0x3475f3(0x10f)](_0x3475f3(0xe1)),_0x46a70f=_0x341750>=_0x37da02;if(_0x46a70f&&!_0x1d39c5[_0x3475f3(0x104)][_0x3475f3(0xfa)][_0x3475f3(0xe7)](_0x57ebfa=>_0x57ebfa instanceof _0x2c4ec2)){const _0x55f4c2=this[_0x3475f3(0x11c)][_0x3475f3(0x11b)][_0x3475f3(0x10f)](_0x3475f3(0x127))-0x1;this[_0x3475f3(0x105)][_0x3475f3(0xdd)]==_0x55f4c2&&this[_0x3475f3(0x105)][_0x3475f3(0xdd)]>0x1&&this[_0x3475f3(0x105)][_0x3475f3(0xfe)](this[_0x3475f3(0x105)][_0x3475f3(0xdd)]-0x1),_0x1d39c5[_0x3475f3(0x104)][_0x3475f3(0xfa)][_0x3475f3(0xcf)](_0x1d39c5[_0x3475f3(0xe2)]);}return _0x46a70f||this[_0x3475f3(0xf0)](),_0x46a70f;}),_0x1d39c5[_0xc5f024(0x104)][_0xc5f024(0xfa)][_0xc5f024(0xfd)](this[_0xc5f024(0x105)])[_0xc5f024(0x11a)](_0x4c430b=>{const _0x5494cd=_0xc5f024,_0x51bd40=_0x7998b8[_0x5494cd(0x11b)][_0x5494cd(0x10f)](_0x5494cd(0xe1)),_0x3f7040=new _0x2547f2(_0x7998b8[_0x5494cd(0x11d)],_0x4c430b,!!_0x51bd40[_0x5494cd(0x117)]);return _0x3f7040[_0x5494cd(0x114)](_0x5494cd(0xfb))['to'](_0x1d39c5,_0x5494cd(0x110),_0x351e98=>!_0x351e98),_0x3f7040[_0x5494cd(0x114)](_0x5494cd(0x123))['to'](_0x1d39c5,_0x5494cd(0x110),_0x4e0f3f=>!_0x4e0f3f),_0x51bd40[_0x5494cd(0x117)]&&this[_0x5494cd(0xf6)](_0x3f7040,_0x5494cd(0x103),()=>{const _0x24a525=_0x5494cd;this[_0x24a525(0xcb)][_0x24a525(0x110)]||_0x51bd40[_0x24a525(0x117)](_0x4c430b,_0x3f7040[_0x24a525(0xe9)]);}),_0x3f7040;}),this[_0xc5f024(0xf6)](_0x1d39c5[_0xc5f024(0x104)],_0xc5f024(0x116),()=>{const _0x462fa6=_0xc5f024;this[_0x462fa6(0xcb)][_0x462fa6(0x110)]&&this[_0x462fa6(0x122)]();}),this[_0xc5f024(0xf6)](_0x1d39c5[_0xc5f024(0x104)],_0xc5f024(0x109),()=>{const _0x17ffca=_0xc5f024;this[_0x17ffca(0x12e)]&&this[_0x17ffca(0xf0)]();}),_0x1d39c5[_0xc5f024(0x104)][_0xc5f024(0x108)][_0xc5f024(0x12d)](_0xc5f024(0xd7),(_0x35ba12,_0x275032)=>{const _0x199e64=_0xc5f024;this[_0x199e64(0xcb)][_0x199e64(0x110)]&&(this[_0x199e64(0x122)](),_0x275032());}),_0x1d39c5[_0xc5f024(0xeb)](),_0x28cc95[_0xc5f024(0xeb)](),_0xa66a35({'emitter':_0x1d39c5,'activator':()=>_0x28cc95[_0xc5f024(0x10d)],'contextElements':[_0x28cc95[_0xc5f024(0xe9)],_0x1d39c5[_0xc5f024(0x104)][_0xc5f024(0xe9)]],'callback':()=>this[_0xc5f024(0xf0)]()}),_0x7998b8[_0xc5f024(0x11b)][_0xc5f024(0x10f)](_0xc5f024(0x132))[_0xc5f024(0xea)](_0x1d39c5[_0xc5f024(0xe9)]),this[_0xc5f024(0x113)]=new _0x5f5919(this[_0xc5f024(0x11c)][_0xc5f024(0x11d)]),this[_0xc5f024(0x113)][_0xc5f024(0xe3)](),this[_0xc5f024(0x113)][_0xc5f024(0xcf)](this[_0xc5f024(0xf9)]),_0x1d39c5;}[_0x11d730(0x10a)](_0x46d9e2){const _0x5bc538=_0x11d730;if(!this[_0x5bc538(0x11c)][_0x5bc538(0x11b)][_0x5bc538(0x10f)](_0x5bc538(0x121))&&_0x46d9e2[_0x5bc538(0x111)])return;const _0xc579af=this[_0x5bc538(0x11c)][_0x5bc538(0x11b)][_0x5bc538(0x10f)](_0x5bc538(0x127))-0x1;for(this[_0x5bc538(0x11f)]++;this[_0x5bc538(0x105)][_0x5bc538(0xdd)]>=_0xc579af-(this[_0x5bc538(0xcb)][_0x5bc538(0x110)]?0x1:0x0)&&this[_0x5bc538(0x105)][_0x5bc538(0xdd)]>0x1;)this[_0x5bc538(0x105)][_0x5bc538(0xfe)](0x1);const _0x2a0a1f=_0x46d9e2[_0x5bc538(0x111)]?0x0:this[_0x5bc538(0x105)][_0x5bc538(0xdd)];this[_0x5bc538(0x105)][_0x5bc538(0xcf)](_0x46d9e2,_0x2a0a1f);}[_0x11d730(0xee)](_0x58d9ec){const _0x35f9b3=_0x11d730;this[_0x35f9b3(0x11f)]--;const {collapseAt:_0x515039}=this[_0x35f9b3(0x11c)][_0x35f9b3(0x11b)][_0x35f9b3(0x10f)](_0x35f9b3(0xe1)),_0x7d1a13=this[_0x35f9b3(0x11f)]>=_0x515039;if(this[_0x35f9b3(0x105)][_0x35f9b3(0x10f)](_0x58d9ec['id']))this[_0x35f9b3(0x105)][_0x35f9b3(0xfe)](_0x58d9ec['id']);else{if(_0x7d1a13&&this[_0x35f9b3(0x105)][_0x35f9b3(0xdd)]+0x1===_0x515039-0x1)return;}if(this[_0x35f9b3(0x105)][_0x35f9b3(0xdd)]+(_0x7d1a13?0x1:0x0)<this[_0x35f9b3(0x11f)]){for(const _0x4491c8 of Array[_0x35f9b3(0x112)](this[_0x35f9b3(0xce)])[_0x35f9b3(0xcc)]())if(!this[_0x35f9b3(0x105)][_0x35f9b3(0x10f)](_0x4491c8['id'])&&(this[_0x35f9b3(0x105)][_0x35f9b3(0xcf)](_0x4491c8,Math[_0x35f9b3(0xf1)](this[_0x35f9b3(0x105)][_0x35f9b3(0xdd)]-(_0x7d1a13?0x1:0x0),0x1)),this[_0x35f9b3(0x105)][_0x35f9b3(0xdd)]+(_0x7d1a13?0x1:0x0)===_0x515039-0x1))return;}}[_0x11d730(0x122)](){const _0x408ac3=_0x11d730;if(this[_0x408ac3(0x12e)])return;const _0x10ef01=this[_0x408ac3(0x11c)][_0x408ac3(0x11b)][_0x408ac3(0x10f)](_0x408ac3(0xe1));this[_0x408ac3(0x12e)]=new _0x278370(this[_0x408ac3(0x11c)][_0x408ac3(0x11d)],!!_0x10ef01[_0x408ac3(0x117)]),this[_0x408ac3(0xcb)][_0x408ac3(0x104)][_0x408ac3(0x124)]=!0x0,this[_0x408ac3(0xf6)](this[_0x408ac3(0x12e)],_0x408ac3(0x109),()=>{const _0x5ba496=_0x408ac3;this[_0x5ba496(0x12e)]&&this[_0x5ba496(0xf0)]();});const {listWrapperView:_0x2e03fc}=this[_0x408ac3(0x12e)];_0x2e03fc[_0x408ac3(0xfa)][_0x408ac3(0xfd)](this[_0x408ac3(0xce)])[_0x408ac3(0x11a)](_0x12cc08=>{const _0xff63f0=_0x408ac3;if(!_0x10ef01[_0xff63f0(0x12a)]&&_0x12cc08[_0xff63f0(0x111)])return null;const _0x23e5c7=new _0xe76fa4(this[_0xff63f0(0x11c)][_0xff63f0(0x11d)],_0x12cc08,!!_0x10ef01[_0xff63f0(0x117)]);return _0x10ef01[_0xff63f0(0x117)]&&this[_0xff63f0(0xf6)](_0x23e5c7,_0xff63f0(0x103),()=>{const _0x5c590a=_0xff63f0;_0x10ef01[_0x5c590a(0x117)](_0x12cc08,_0x23e5c7[_0x5c590a(0xe9)]);}),_0x23e5c7;}),this[_0x408ac3(0xf9)][_0x408ac3(0xde)][_0x408ac3(0xcf)](this[_0x408ac3(0x12e)]),this[_0x408ac3(0xf9)][_0x408ac3(0xf7)]({'target':this[_0x408ac3(0xcb)][_0x408ac3(0x104)][_0x408ac3(0xe9)]}),_0x2e03fc[_0x408ac3(0xd0)](),_0x2e03fc[_0x408ac3(0xd6)]();const _0x4d2028=(_0x42e055,_0x485b87)=>{const _0x32c8eb=_0x408ac3;this[_0x32c8eb(0xf0)](),this[_0x32c8eb(0xcb)][_0x32c8eb(0x104)][_0x32c8eb(0xd0)](),_0x485b87();};_0x2e03fc[_0x408ac3(0x108)][_0x408ac3(0x12d)](_0x408ac3(0xd9),_0x4d2028),_0x2e03fc[_0x408ac3(0x108)][_0x408ac3(0x12d)](_0x408ac3(0x125),_0x4d2028),_0x2e03fc[_0x408ac3(0x108)][_0x408ac3(0x12d)](_0x408ac3(0xe4),(_0x8555b6,_0x45c68f)=>{const _0x1233f0=_0x408ac3;!function(_0x403c2a){const _0x6ae117=_0x2773,_0x2bae5a=['a',_0x6ae117(0x134),_0x6ae117(0xdf),_0x6ae117(0xdc),_0x6ae117(0xec),_0x6ae117(0xed),_0x6ae117(0x115)][_0x6ae117(0x128)](_0x767b6a=>_0x767b6a+_0x6ae117(0xf4))[_0x6ae117(0x10c)](','),_0x163414=[...document[_0x6ae117(0x118)][_0x6ae117(0x12f)](_0x2bae5a)][_0x6ae117(0xca)](_0x411ea2=>_0x411ea2===document[_0x6ae117(0x126)]||_0x411ea2[_0x6ae117(0xf2)]+_0x411ea2[_0x6ae117(0x100)]>0x0)[_0x6ae117(0x101)]((_0x3ebce8,_0x5274ff)=>(_0x3ebce8[_0x6ae117(0xfc)]||0x0)-(_0x5274ff[_0x6ae117(0xfc)]||0x0)),_0xd13d4=_0x163414[_0x6ae117(0xd3)](_0x403c2a),_0x419f1f=_0x163414[(_0xd13d4+0x1)%_0x163414[_0x6ae117(0xdd)]];_0x419f1f&&_0x419f1f[_0x6ae117(0xd0)]();}(this[_0x1233f0(0xcb)][_0x1233f0(0xe9)]),this[_0x1233f0(0xf0)](),_0x45c68f();}),_0x2e03fc[_0x408ac3(0xdb)][_0x408ac3(0xcf)](this[_0x408ac3(0xcb)][_0x408ac3(0xe9)]),_0x2e03fc[_0x408ac3(0xdb)]['on'](_0x408ac3(0x12b),(_0x3e8ed3,_0x3b2467,_0x16514e)=>{const _0x305bde=_0x408ac3;_0x16514e||this[_0x305bde(0xf0)]();});}[_0x11d730(0xf0)](){const _0x5a74c2=_0x11d730;this[_0x5a74c2(0x12e)]&&(this[_0x5a74c2(0xcb)][_0x5a74c2(0x104)][_0x5a74c2(0x124)]=!0x1,this[_0x5a74c2(0xf9)][_0x5a74c2(0xe8)](),this[_0x5a74c2(0xf9)][_0x5a74c2(0xde)][_0x5a74c2(0xfe)](this[_0x5a74c2(0x12e)]),this[_0x5a74c2(0x12e)][_0x5a74c2(0xe0)](),this[_0x5a74c2(0x12e)]=void 0x0);}[_0x11d730(0xe0)](){const _0x2353b3=_0x11d730;super[_0x2353b3(0xe0)](),this[_0x2353b3(0xcb)]&&this[_0x2353b3(0xcb)][_0x2353b3(0xff)]&&this[_0x2353b3(0xcb)][_0x2353b3(0xe0)](),this[_0x2353b3(0x113)]&&(this[_0x2353b3(0x113)][_0x2353b3(0xd1)](),this[_0x2353b3(0x113)][_0x2353b3(0xe0)](),this[_0x2353b3(0x113)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x50b655=_0x35ac;(function(_0x4dc513,_0x15328f){const _0x2b1873=_0x35ac,_0x76205a=_0x4dc513();while(!![]){try{const _0x1ba2b0=parseInt(_0x2b1873(0x1a2))/0x1+parseInt(_0x2b1873(0x1a1))/0x2+-parseInt(_0x2b1873(0x1b6))/0x3*(-parseInt(_0x2b1873(0x19d))/0x4)+-parseInt(_0x2b1873(0x1a8))/0x5*(parseInt(_0x2b1873(0x19c))/0x6)+parseInt(_0x2b1873(0x1ab))/0x7+-parseInt(_0x2b1873(0x1a0))/0x8*(-parseInt(_0x2b1873(0x1a7))/0x9)+parseInt(_0x2b1873(0x1b4))/0xa*(-parseInt(_0x2b1873(0x1ae))/0xb);if(_0x1ba2b0===_0x15328f)break;else _0x76205a['push'](_0x76205a['shift']());}catch(_0x2df303){_0x76205a['push'](_0x76205a['shift']());}}}(_0x13cb,0xedc1c));import{ListItemView as _0x5a3cd3}from'ckeditor5/src/ui.js';function _0x35ac(_0x569aef,_0x16a7f3){const _0x13cb0e=_0x13cb();return _0x35ac=function(_0x35aca8,_0x1ce973){_0x35aca8=_0x35aca8-0x19a;let _0x348ad7=_0x13cb0e[_0x35aca8];return _0x348ad7;},_0x35ac(_0x569aef,_0x16a7f3);}function _0x13cb(){const _0x3fb8fa=['element','30oXuAxS','4wRZJKL','name','span','56zyPACP','3535532EnOlQj','1581155ziudlc','tag','true','userView','setTemplate','122031ZwehZf','1898660OgOUEt','bindTemplate','execute','2034487GzkXyj','getBackgroundColorClass','color','28687703sWTtdX','fire','ck-presence-list__dropdown-list-item','button','ck-user__full-name','focus','10djgDRj','ck-presence-list__marker','5238030ZXfaZY','presentation'];_0x13cb=function(){return _0x3fb8fa;};return _0x13cb();}import{UserView as _0x345610}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x5a3cd3{[_0x50b655(0x1a5)];constructor(_0x2d7385,_0x35d71c,_0x4f8b37){const _0x1c37e0=_0x50b655;super(_0x2d7385);const _0xd98e3a=this[_0x1c37e0(0x1a9)];this[_0x1c37e0(0x1a5)]=new _0x345610(_0x2d7385,_0x35d71c);const _0x2992d7={'tag':'li','attributes':{'class':['ck',_0x1c37e0(0x1b0)],'tabindex':-0x1,'role':_0x1c37e0(0x19a),'aria-label':_0x35d71c[_0x1c37e0(0x19e)]},'children':[this[_0x1c37e0(0x1a5)],{'tag':_0x1c37e0(0x19f),'attributes':{'class':['ck',_0x1c37e0(0x1b2)]},'children':[{'text':_0x35d71c[_0x1c37e0(0x19e)]}]},{'tag':_0x1c37e0(0x19f),'attributes':{'class':['ck',_0x1c37e0(0x1b5),_0x35d71c[_0x1c37e0(0x1ad)][_0x1c37e0(0x1ac)]()],'aria-hidden':_0x1c37e0(0x1a4)}}]};_0x4f8b37&&(_0x2992d7[_0x1c37e0(0x1a3)]=_0x1c37e0(0x1b1),_0x2992d7['on']={'click':_0xd98e3a['to'](()=>this[_0x1c37e0(0x1af)](_0x1c37e0(0x1aa)))}),this[_0x1c37e0(0x1a6)](_0x2992d7);}[_0x50b655(0x1b3)](){const _0x549900=_0x50b655;this[_0x549900(0x19b)][_0x549900(0x1b3)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3bd54d=_0x4bea;(function(_0x2187fd,_0x22f02f){const _0x2282d0=_0x4bea,_0x32a700=_0x2187fd();while(!![]){try{const _0x3b91e3=-parseInt(_0x2282d0(0x1cc))/0x1*(-parseInt(_0x2282d0(0x1a8))/0x2)+-parseInt(_0x2282d0(0x1b1))/0x3*(parseInt(_0x2282d0(0x1b6))/0x4)+parseInt(_0x2282d0(0x1b2))/0x5*(-parseInt(_0x2282d0(0x1c7))/0x6)+parseInt(_0x2282d0(0x1ae))/0x7+parseInt(_0x2282d0(0x1bb))/0x8*(-parseInt(_0x2282d0(0x1bc))/0x9)+parseInt(_0x2282d0(0x1ce))/0xa*(-parseInt(_0x2282d0(0x1c2))/0xb)+parseInt(_0x2282d0(0x1a1))/0xc;if(_0x3b91e3===_0x22f02f)break;else _0x32a700['push'](_0x32a700['shift']());}catch(_0x56d97e){_0x32a700['push'](_0x32a700['shift']());}}}(_0x3cf7,0x69d3f));import{ListView as _0x55335c,View as _0x4a199b}from'ckeditor5/src/ui.js';import{global as _0x3cd13f}from'ckeditor5/src/utils.js';function _0x3cf7(){const _0x4c1c6b=['bindTemplate','.ck-presence-list__list','presencelist:hide','items','div','264WClVNo','element','role','setTemplate','.ck-balloon-panel_with-arrow','102738fIJzok','fire','_isScrollable','application','window','1pvvwzD','ck-presence-list__dropdown-list','94870RxWorw','ck-list','16726068IztcFG','listenTo','resize','checkIfScrollable','ck-presence-list__dropdown-list-wrapper','contains','set','603754ymAHWB','render','max','innerHeight','listWrapperView','ariaLabelledBy','5694801ZAEPGh','Connected\x20users\x20list\x20dropdown\x20menu','ck-reset','3xJONIN','50KdKGRx','querySelector','ck-presence-list__dropdown-list-wrapper_scrollable','scrollHeight','3281624XBALhz','ariaLabel','clientHeight','change','relatedTarget','61176QnUQdJ','1008OFyUSD'];_0x3cf7=function(){return _0x4c1c6b;};return _0x3cf7();}function _0x4bea(_0x560336,_0x141084){const _0x3cf717=_0x3cf7();return _0x4bea=function(_0x4bea74,_0x251c45){_0x4bea74=_0x4bea74-0x1a1;let _0x3eafaa=_0x3cf717[_0x4bea74];return _0x3eafaa;},_0x4bea(_0x560336,_0x141084);}import{getTranslation as _0x47c2c1}from'../../common-translations.js';export class PresenceDropdownListView extends _0x4a199b{[_0x3bd54d(0x1ac)];constructor(_0x27d455,_0x1f5921){const _0x54d71b=_0x3bd54d;super(_0x27d455);const _0x2d205b=this[_0x54d71b(0x1bd)];this[_0x54d71b(0x1ac)]=new PresenceDropdownListWrapperView(_0x27d455,_0x1f5921),this[_0x54d71b(0x1c5)]({'tag':_0x54d71b(0x1c1),'attributes':{'tabindex':-0x1,'role':_0x54d71b(0x1ca),'class':['ck',_0x54d71b(0x1cd)],'aria-label':_0x47c2c1(_0x27d455,_0x54d71b(0x1af))},'children':[this[_0x54d71b(0x1ac)]],'on':{'mouseleave':_0x2d205b['to'](_0x44536c=>{const _0x4d198d=_0x54d71b,_0x747be1=_0x44536c,_0x1d59a2=document[_0x4d198d(0x1b3)](_0x4d198d(0x1be)),_0x3aa167=document[_0x4d198d(0x1b3)](_0x4d198d(0x1c6));_0x1d59a2?.[_0x4d198d(0x1a6)](_0x747be1[_0x4d198d(0x1ba)])||_0x3aa167?.[_0x4d198d(0x1a6)](_0x747be1[_0x4d198d(0x1ba)])||this[_0x4d198d(0x1c8)](_0x4d198d(0x1bf));})}});}}export class PresenceDropdownListWrapperView extends _0x55335c{constructor(_0x1a2658,_0x529de2){const _0x68fb10=_0x3bd54d;super(_0x1a2658);const _0x9c113d=this[_0x68fb10(0x1bd)];this[_0x68fb10(0x1a7)](_0x68fb10(0x1c9),!0x1),this[_0x68fb10(0x1c5)]({'tag':_0x529de2?_0x68fb10(0x1c1):'ul','attributes':{'class':['ck',_0x68fb10(0x1b0),_0x68fb10(0x1cf),_0x68fb10(0x1a5),_0x9c113d['if'](_0x68fb10(0x1c9),_0x68fb10(0x1b4))],'role':_0x9c113d['to'](_0x68fb10(0x1c4)),'aria-label':_0x9c113d['to'](_0x68fb10(0x1b7)),'aria-labelledby':_0x9c113d['to'](_0x68fb10(0x1ad))},'children':this[_0x68fb10(0x1c0)]}),this[_0x68fb10(0x1a2)](_0x3cd13f[_0x68fb10(0x1cb)],_0x68fb10(0x1a3),()=>this[_0x68fb10(0x1a4)]()),this[_0x68fb10(0x1c0)]['on'](_0x68fb10(0x1b9),()=>this[_0x68fb10(0x1a4)]());}[_0x3bd54d(0x1a9)](){const _0x2d46b6=_0x3bd54d;super[_0x2d46b6(0x1a9)](),this[_0x2d46b6(0x1a4)]();}[_0x3bd54d(0x1a4)](){const _0x142a99=_0x3bd54d,_0x3f38b6=this[_0x142a99(0x1c3)];_0x3f38b6&&(this[_0x142a99(0x1c9)]=Math[_0x142a99(0x1aa)](_0x3f38b6[_0x142a99(0x1b5)],_0x3f38b6[_0x142a99(0x1b8)])>0.8*window[_0x142a99(0x1ab)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f7926=_0x34ca;(function(_0x598c12,_0x34af2){const _0x633d55=_0x34ca,_0x2f6e8f=_0x598c12();while(!![]){try{const _0x4c917d=-parseInt(_0x633d55(0x1f0))/0x1*(parseInt(_0x633d55(0x1f2))/0x2)+-parseInt(_0x633d55(0x1e3))/0x3+-parseInt(_0x633d55(0x1d6))/0x4*(parseInt(_0x633d55(0x1db))/0x5)+parseInt(_0x633d55(0x1f1))/0x6*(-parseInt(_0x633d55(0x1cf))/0x7)+parseInt(_0x633d55(0x1e6))/0x8*(parseInt(_0x633d55(0x1e7))/0x9)+parseInt(_0x633d55(0x1da))/0xa*(-parseInt(_0x633d55(0x1d5))/0xb)+parseInt(_0x633d55(0x1d9))/0xc*(parseInt(_0x633d55(0x1e4))/0xd);if(_0x4c917d===_0x34af2)break;else _0x2f6e8f['push'](_0x2f6e8f['shift']());}catch(_0x382bf9){_0x2f6e8f['push'](_0x2f6e8f['shift']());}}}(_0x3924,0x41921));function _0x34ca(_0x3e07d0,_0x2c2e54){const _0x392475=_0x3924();return _0x34ca=function(_0x34cacd,_0x476a5d){_0x34cacd=_0x34cacd-0x1cf;let _0x51150b=_0x392475[_0x34cacd];return _0x51150b;},_0x34ca(_0x3e07d0,_0x2c2e54);}import{LabelView as _0x4fbb62,View as _0x1e8f79}from'ckeditor5/src/ui.js';import{UserView as _0x430308}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x1e8f79{[_0x2f7926(0x1d4)];[_0x2f7926(0x1d3)];constructor(_0x57a26a,_0x8554cd,_0x1cf409){const _0x21ab1c=_0x2f7926;super(_0x57a26a);const _0x10c07d=this[_0x21ab1c(0x1ea)];this[_0x21ab1c(0x1e2)](_0x21ab1c(0x1e1),!0x1),this[_0x21ab1c(0x1e2)](_0x21ab1c(0x1ef),!0x0),this[_0x21ab1c(0x1e2)](_0x21ab1c(0x1de),''),this[_0x21ab1c(0x1d4)]=new _0x430308(_0x57a26a,_0x8554cd),this[_0x21ab1c(0x1d3)]=new ot(_0x57a26a,_0x8554cd);const _0x45d980=new _0x4fbb62(_0x57a26a);_0x45d980[_0x21ab1c(0x1d1)][_0x21ab1c(0x1e8)]=_0x21ab1c(0x1dc),_0x45d980[_0x21ab1c(0x1d8)]=_0x8554cd[_0x21ab1c(0x1d0)];const _0x9550b4={'tag':_0x21ab1c(0x1d7),'attributes':{'class':['ck',_0x21ab1c(0x1f3)],'role':_0x21ab1c(0x1dd),'tabindex':_0x10c07d['to'](_0x21ab1c(0x1e1),_0x133858=>!!_0x133858&&0x0),'aria-labelledby':_0x45d980['id'],'data-cke-tooltip-text':this[_0x21ab1c(0x1d4)][_0x21ab1c(0x1d0)],'data-cke-tooltip-position':_0x10c07d['to'](_0x21ab1c(0x1de)),'data-cke-tooltip-disabled':_0x10c07d['to'](_0x21ab1c(0x1ef),_0x5a12b4=>!_0x5a12b4),'data-cke-tooltip-class':_0x21ab1c(0x1e0)},'children':[this[_0x21ab1c(0x1d4)],this[_0x21ab1c(0x1d3)],_0x45d980]};_0x1cf409&&(_0x9550b4[_0x21ab1c(0x1e8)]=_0x21ab1c(0x1ec),_0x9550b4['on']={'click':_0x10c07d['to'](()=>this[_0x21ab1c(0x1ed)](_0x21ab1c(0x1df)))}),this[_0x21ab1c(0x1d2)](_0x9550b4);}}function _0x3924(){const _0x300e84=['span','listitem','tooltipPosition','execute','ck-presence-list__list-item__tooltip','isFocusable','set','740067mPijUZ','13MhtdMs','ck-presence-list__marker','1016KTDMuT','1683OWDliH','tag','color','bindTemplate','true','button','fire','getBackgroundColorClass','hasTooltip','175694CDHDYT','540neDwFa','4lsyQfo','ck-presence-list__list-item','15617XhuGJt','name','template','setTemplate','markerView','userView','5607954qMGzXy','3140APPPVc','div','text','22617348mQPINm','10enMEDv','2110PnHUbA'];_0x3924=function(){return _0x300e84;};return _0x3924();}class ot extends _0x1e8f79{constructor(_0x5bf36d,_0x17ca24){const _0x226506=_0x2f7926;super(_0x5bf36d),this[_0x226506(0x1d2)]({'tag':_0x226506(0x1dc),'attributes':{'class':['ck',_0x226506(0x1e5),_0x17ca24[_0x226506(0x1e9)][_0x226506(0x1ee)]()],'aria-hidden':_0x226506(0x1eb)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4b6c59=_0x42b8;(function(_0x49b0e1,_0x31c9fd){const _0x1b9ba5=_0x42b8,_0x4b6b29=_0x49b0e1();while(!![]){try{const _0x1588ae=-parseInt(_0x1b9ba5(0x15b))/0x1+parseInt(_0x1b9ba5(0x15f))/0x2*(-parseInt(_0x1b9ba5(0x163))/0x3)+parseInt(_0x1b9ba5(0x160))/0x4*(-parseInt(_0x1b9ba5(0x17a))/0x5)+parseInt(_0x1b9ba5(0x175))/0x6*(-parseInt(_0x1b9ba5(0x16d))/0x7)+-parseInt(_0x1b9ba5(0x159))/0x8+parseInt(_0x1b9ba5(0x16f))/0x9*(-parseInt(_0x1b9ba5(0x170))/0xa)+parseInt(_0x1b9ba5(0x158))/0xb*(parseInt(_0x1b9ba5(0x176))/0xc);if(_0x1588ae===_0x31c9fd)break;else _0x4b6b29['push'](_0x4b6b29['shift']());}catch(_0x40a7e4){_0x4b6b29['push'](_0x4b6b29['shift']());}}}(_0x2869,0x3ce64));import{View as _0x569ce6}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3d2edd}from'ckeditor5/src/utils.js';function _0x42b8(_0x21444b,_0x27d15e){const _0x2869fc=_0x2869();return _0x42b8=function(_0x42b81a,_0x232c1f){_0x42b81a=_0x42b81a-0x156;let _0x215848=_0x2869fc[_0x42b81a];return _0x215848;},_0x42b8(_0x21444b,_0x27d15e);}import{getTranslation as _0x262591}from'../../common-translations.js';function _0x2869(){const _0x5571fb=['set','Connected\x20users\x20list','aria-expanded','listenTo','21589183zQnAdO','3532136DYIGYG','createCollection','423819EacDuV','querySelector','hasPopup','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','26FxzzBa','144UeIuCz','removeAttribute','setAttribute','111696OwMEYH','.ck-presence-list__dropdown-list','change:hasPopup','element','presencelist:show','setTemplate','keystrokes','isExpanded','focus','fire','49sWxiCX','render','9UEfEdG','1716290AXLDXY','list','.ck-balloon-panel_with-arrow','contains','items','128232vcxNSb','12ApIZdQ','div','relatedTarget','bindTemplate','5920wVdbTo','ck-presence-list__list','presencelist:hide'];_0x2869=function(){return _0x5571fb;};return _0x2869();}export class PresenceInlineListView extends _0x569ce6{[_0x4b6c59(0x174)];[_0x4b6c59(0x169)];constructor(_0x151fec){const _0x1f96a6=_0x4b6c59;super(_0x151fec);const _0x5e3981=this[_0x1f96a6(0x179)];this[_0x1f96a6(0x174)]=this[_0x1f96a6(0x15a)](),this[_0x1f96a6(0x169)]=new _0x3d2edd(),this[_0x1f96a6(0x17d)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x1f96a6(0x168)]({'tag':_0x1f96a6(0x177),'attributes':{'aria-haspopup':_0x5e3981['if'](_0x1f96a6(0x15d)),'aria-expanded':_0x5e3981['to'](_0x1f96a6(0x16a),_0x3b08db=>this[_0x1f96a6(0x15d)]&&String(_0x3b08db)),'aria-label':_0x5e3981['to'](_0x1f96a6(0x15d),_0x3ee40a=>_0x262591(_0x151fec,_0x3ee40a?_0x1f96a6(0x15e):_0x1f96a6(0x17e))),'role':_0x1f96a6(0x171),'tabindex':_0x5e3981['to'](_0x1f96a6(0x15d),_0x4fd615=>!!_0x4fd615&&0x0),'class':['ck',_0x1f96a6(0x17b)]},'children':this[_0x1f96a6(0x174)],'on':{'mouseenter':_0x5e3981['to'](()=>this[_0x1f96a6(0x16c)](_0x1f96a6(0x167))),'mouseleave':_0x5e3981['to'](_0x2672aa=>{const _0x20be86=_0x1f96a6,_0x1348e5=_0x2672aa,_0x9559e5=document[_0x20be86(0x15c)](_0x20be86(0x164)),_0x1f7fa5=document[_0x20be86(0x15c)](_0x20be86(0x172));_0x9559e5?.[_0x20be86(0x173)](_0x1348e5[_0x20be86(0x178)])||_0x1f7fa5?.[_0x20be86(0x173)](_0x1348e5[_0x20be86(0x178)])||this[_0x20be86(0x16c)](_0x20be86(0x17c));})}}),this['on'](_0x1f96a6(0x165),(_0x1bd0bc,_0x32efed,_0x1d2625)=>{const _0x550059=_0x1f96a6;this[_0x550059(0x166)]&&(_0x1d2625?this[_0x550059(0x166)][_0x550059(0x162)](_0x550059(0x156),String(this[_0x550059(0x16a)])):this[_0x550059(0x166)][_0x550059(0x161)](_0x550059(0x156)));});}[_0x4b6c59(0x16b)](){const _0x1b1c54=_0x4b6c59;this[_0x1b1c54(0x166)][_0x1b1c54(0x16b)]();}[_0x4b6c59(0x16e)](){const _0x39ff1e=_0x4b6c59;super[_0x39ff1e(0x16e)](),this[_0x39ff1e(0x169)][_0x39ff1e(0x157)](this[_0x39ff1e(0x166)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x2705(){const _0x134484=['inlineListView','listenTo','16070211pEGonX','ck-reset','set','ck-rounded-corners','first','div','4305684vadKcQ','isCollapsed','16818AbWULW','setTemplate','bindTemplate','bind','tooltipPosition','change','1210056RfDUry','ck-presence-list','2890944VswLGt','7aiKHCW','hasPopup','2418580QuJWFd','locale','items','1647905dtrqRq','ck-presence-list--collapsed','54RunaTY','counterView'];_0x2705=function(){return _0x134484;};return _0x2705();}const _0x3d381e=_0x1b9f;(function(_0x9794,_0x5eec21){const _0x4bdfe8=_0x1b9f,_0x255635=_0x9794();while(!![]){try{const _0x25e532=-parseInt(_0x4bdfe8(0x13b))/0x1*(-parseInt(_0x4bdfe8(0x12f))/0x2)+parseInt(_0x4bdfe8(0x125))/0x3+parseInt(_0x4bdfe8(0x12a))/0x4+parseInt(_0x4bdfe8(0x12d))/0x5+parseInt(_0x4bdfe8(0x139))/0x6*(parseInt(_0x4bdfe8(0x128))/0x7)+-parseInt(_0x4bdfe8(0x127))/0x8+-parseInt(_0x4bdfe8(0x133))/0x9;if(_0x25e532===_0x5eec21)break;else _0x255635['push'](_0x255635['shift']());}catch(_0x235a4d){_0x255635['push'](_0x255635['shift']());}}}(_0x2705,0x5875b));function _0x1b9f(_0xcffe93,_0x599185){const _0x27057f=_0x2705();return _0x1b9f=function(_0x1b9f3a,_0x1f65f0){_0x1b9f3a=_0x1b9f3a-0x123;let _0x484fc8=_0x27057f[_0x1b9f3a];return _0x484fc8;},_0x1b9f(_0xcffe93,_0x599185);}import{View as _0x509ac1}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x430e05}from'./presencecounterview.js';import{PresenceInlineListView as _0x3faf26}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x509ac1{[_0x3d381e(0x130)];[_0x3d381e(0x131)];constructor(_0x1fada4,_0x5c4207=0x6){const _0x3720d7=_0x3d381e;super(_0x1fada4);const _0x21d2a4=this[_0x3720d7(0x13d)];this[_0x3720d7(0x135)](_0x3720d7(0x13a),!0x0),this[_0x3720d7(0x130)]=new _0x430e05(this[_0x3720d7(0x12b)],_0x5c4207),this[_0x3720d7(0x131)]=new _0x3faf26(_0x1fada4),this[_0x3720d7(0x131)][_0x3720d7(0x13e)](_0x3720d7(0x129))['to'](this,_0x3720d7(0x13a)),this[_0x3720d7(0x132)](this[_0x3720d7(0x131)][_0x3720d7(0x12c)],_0x3720d7(0x124),()=>{const _0x2c848c=_0x3720d7;for(const _0x48a5c8 of this[_0x2c848c(0x131)][_0x2c848c(0x12c)])_0x48a5c8[_0x2c848c(0x123)]='s';this[_0x2c848c(0x131)][_0x2c848c(0x12c)][_0x2c848c(0x137)]&&(this[_0x2c848c(0x131)][_0x2c848c(0x12c)][_0x2c848c(0x137)][_0x2c848c(0x123)]='se');}),this[_0x3720d7(0x13c)]({'tag':_0x3720d7(0x138),'attributes':{'class':['ck',_0x3720d7(0x126),_0x3720d7(0x134),_0x3720d7(0x136),_0x21d2a4['if'](_0x3720d7(0x13a),_0x3720d7(0x12e))]},'children':[this[_0x3720d7(0x131)]]});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x451b9b)());[_0x148c5d(0x151)];static get[_0x148c5d(0x114)](){const _0x32b641=_0x148c5d;return[_0x47d15c,_0x32b641(0x137),_0x46de8c,_0x5582b6];}static get[_0x148c5d(0x11f)](){const _0x48cbd6=_0x148c5d;return _0x48cbd6(0x16d);}static get[_0x148c5d(0x13e)](){return!0x0;}static get[_0x148c5d(0x12f)](){return!0x0;}constructor(_0x100d72){const _0x560761=_0x148c5d;super(_0x100d72),this[_0x560761(0x151)]=new Map();}async[_0x148c5d(0x141)](){const _0x82ac5f=_0x148c5d,_0x54c857=this[_0x82ac5f(0x164)],_0x3b1ac6=_0x54c857[_0x82ac5f(0x16a)][_0x82ac5f(0x14b)](_0x82ac5f(0x137));if(_0x54c857[_0x82ac5f(0x16a)][_0x82ac5f(0x14b)](_0x47d15c)[_0x82ac5f(0x167)](this),_0x3b1ac6[_0x82ac5f(0x155)]={'addCommentThread':async({channelId:_0x8263e3,threadId:_0x574314,comments:_0xd0b59c,resolvedAt:_0x2fc4d0,resolvedBy:_0x4330d8,context:_0x4de3fc,attributes:_0x51d860})=>{const _0x430e1a=_0x82ac5f,_0x539af5=await this[_0x430e1a(0x168)](_0x8263e3)[_0x430e1a(0x115)]({'commentThreadId':_0x574314,'comments':_0xd0b59c[_0x430e1a(0x12d)](_0x30f53d=>function(_0x1808a1,_0x1a9923,_0x2afcea){const _0x4ae5c1=_0x430e1a;return{'commentThreadId':_0x2afcea,'commentId':_0x1808a1[_0x4ae5c1(0x12e)],'userId':_0x1808a1[_0x4ae5c1(0x14d)],'content':_0x1808a1[_0x4ae5c1(0x16e)],'documentId':_0x1a9923,'createdAt':_0x1808a1[_0x4ae5c1(0x153)],'attributes':_0x1808a1[_0x4ae5c1(0x13b)]||{}};}(_0x30f53d,_0x8263e3,_0x574314)),'resolvedAt':_0x2fc4d0,'resolvedBy':_0x4330d8,'context':_0x4de3fc,'attributes':_0x51d860})[_0x430e1a(0x156)](nt);return{'threadId':_0x539af5[_0x430e1a(0x16f)],'comments':_0x539af5[_0x430e1a(0x150)]};},'getCommentThread':async({channelId:_0x57f2d6,threadId:_0xd4a39e})=>{const _0x575da4=_0x82ac5f,_0x4914ea=await this[_0x575da4(0x168)](_0x57f2d6)[_0x575da4(0x140)](_0xd4a39e)[_0x575da4(0x156)](ot)[_0x575da4(0x156)](nt);return _0x4914ea?_0x4914ea[_0x575da4(0x138)]?null:(await this[_0x575da4(0x122)]([_0x4914ea]),{'threadId':_0x4914ea[_0x575da4(0x16f)],'comments':_0x4914ea[_0x575da4(0x150)][_0x575da4(0x12d)](st),'context':_0x4914ea[_0x575da4(0x164)],'resolvedAt':_0x4914ea[_0x575da4(0x158)],'resolvedBy':_0x4914ea[_0x575da4(0x10f)],'attributes':_0x4914ea[_0x575da4(0x13b)]||{}}):null;},'updateCommentThread':async({channelId:_0x3a66b8,threadId:_0x2b2f14,context:_0xa2d439,unlinkedAt:_0x5be112,attributes:_0x291090})=>this[_0x82ac5f(0x168)](_0x3a66b8)[_0x82ac5f(0x139)]({'commentThreadId':_0x2b2f14,'context':_0xa2d439,'attributes':_0x291090,'unlinkedAt':_0x5be112})[_0x82ac5f(0x156)](ot)[_0x82ac5f(0x156)](nt),'resolveCommentThread':async({channelId:_0x48e067,threadId:_0x1a2fa6})=>{const _0x26bafb=_0x82ac5f,_0x193910=await this[_0x26bafb(0x168)](_0x48e067)[_0x26bafb(0x117)](_0x1a2fa6)[_0x26bafb(0x156)](ot)[_0x26bafb(0x156)](nt);return{'threadId':_0x193910[_0x26bafb(0x16f)],'resolvedAt':_0x193910[_0x26bafb(0x158)],'resolvedBy':_0x193910[_0x26bafb(0x10f)]};},'reopenCommentThread':async({channelId:_0x156acf,threadId:_0x47be64})=>this[_0x82ac5f(0x168)](_0x156acf)[_0x82ac5f(0x160)](_0x47be64)[_0x82ac5f(0x156)](ot)[_0x82ac5f(0x156)](nt),'removeCommentThread':({channelId:_0x576617,threadId:_0x53aeab})=>this[_0x82ac5f(0x168)](_0x576617)[_0x82ac5f(0x16b)](_0x53aeab)[_0x82ac5f(0x156)](ot)[_0x82ac5f(0x156)](nt),'addComment':({channelId:_0x1b090c,threadId:_0x3c8a56,commentId:_0x5c217c,content:_0x54d93c,attributes:_0x54841b})=>this[_0x82ac5f(0x168)](_0x1b090c)[_0x82ac5f(0x127)](_0x3c8a56,_0x5c217c,_0x54d93c,_0x54841b)[_0x82ac5f(0x156)](nt),'updateComment':({channelId:_0x29f481,threadId:_0x16be1c,commentId:_0x1d44e7,content:_0x4dbe88,attributes:_0x459e14})=>this[_0x82ac5f(0x168)](_0x29f481)[_0x82ac5f(0x142)](_0x16be1c,_0x1d44e7,_0x4dbe88,_0x459e14)[_0x82ac5f(0x156)](ot)[_0x82ac5f(0x156)](nt),'removeComment':({channelId:_0x57f709,threadId:_0x55cf1d,commentId:_0x5be17d})=>this[_0x82ac5f(0x168)](_0x57f709)[_0x82ac5f(0x172)](_0x55cf1d,_0x5be17d)[_0x82ac5f(0x156)](ot)[_0x82ac5f(0x156)](nt)},_0x54c857 instanceof _0x586157){const _0x33ec17=_0x54c857[_0x82ac5f(0x170)][_0x82ac5f(0x14b)](_0x82ac5f(0x171)),_0x2102c=_0x54c857[_0x82ac5f(0x16a)][_0x82ac5f(0x14b)](_0x46de8c);await this[_0x82ac5f(0x14f)](_0x33ec17);const _0x27075b=await this[_0x82ac5f(0x151)][_0x82ac5f(0x14b)](_0x33ec17)[_0x82ac5f(0x110)]();this[_0x82ac5f(0x15e)](_0x2102c,_0x82ac5f(0x147)+_0x33ec17,(_0x2d069e,{session:_0x3c8b74})=>{const _0x29a351=_0x82ac5f;_0x3c8b74['id']===_0x2102c[_0x29a351(0x11b)]&&(_0x2d069e[_0x29a351(0x169)](),this[_0x29a351(0x164)][_0x29a351(0x16a)][_0x29a351(0x14b)](_0x29a351(0x14e))[_0x29a351(0x149)](_0x3c8b74[_0x29a351(0x166)],_0x33ec17));}),_0x2102c[_0x82ac5f(0x15b)](_0x33ec17,_0x27075b);}}async[_0x148c5d(0x14f)](_0x1b478b){const _0x67073c=_0x148c5d;if(this[_0x67073c(0x151)][_0x67073c(0x159)](_0x1b478b))throw new _0x256971(_0x67073c(0x13a),null,{'channelId':_0x1b478b});const _0x13dcc7=this[_0x67073c(0x164)][_0x67073c(0x16a)][_0x67073c(0x14b)](_0x67073c(0x137)),_0x4fef11=new CloudServicesCommentsAdapter[(_0x67073c(0x146))](_0x1b478b);this[_0x67073c(0x151)][_0x67073c(0x134)](_0x1b478b,_0x4fef11),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x135),(_0x1f21c1,_0xcb9d69)=>{const _0x42f509=_0x67073c,{commentThreadId:_0x515eac,documentId:_0x33cd17,context:_0x58e5c4,attributes:_0x55b0d0,resolvedAt:_0x2f9bd0,resolvedBy:_0x5b0e23,comments:_0x27add1}=_0xcb9d69;_0x13dcc7[_0x42f509(0x140)](_0x515eac)||_0x13dcc7[_0x42f509(0x115)]({'threadId':_0x515eac,'channelId':_0x33cd17,'comments':_0x27add1?_0x27add1[_0x42f509(0x12d)](st):[],'context':_0x58e5c4,'attributes':_0x55b0d0,'resolvedAt':_0x2f9bd0,'resolvedBy':_0x5b0e23,'isFromAdapter':!0x0});}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x126),(_0x492861,{commentThreadId:_0x2fdeb8,documentId:_0x240d59,context:_0x3bdf87,unlinkedAt:_0x41b0b0,attributes:_0x12dd79})=>{const _0x4eeca9=_0x67073c;_0x13dcc7[_0x4eeca9(0x140)](_0x2fdeb8)&&_0x13dcc7[_0x4eeca9(0x139)]({'threadId':_0x2fdeb8,'channelId':_0x240d59,'context':_0x3bdf87,'unlinkedAt':_0x41b0b0,'attributes':_0x12dd79,'isFromAdapter':!0x0});}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x125),(_0x25d273,{commentThreadId:_0x23716c,resolvedBy:_0x273954,resolvedAt:_0x205ed1})=>{const _0x17ff32=_0x67073c,_0x121915=_0x13dcc7[_0x17ff32(0x140)](_0x23716c);_0x121915&&_0x121915[_0x17ff32(0x132)]({'resolvedBy':_0x273954,'resolvedAt':_0x205ed1,'isFromAdapter':!0x0});}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x136),(_0x488fbf,{commentThreadId:_0x36d2a3})=>{const _0x45db3f=_0x67073c,_0x5e8e95=_0x13dcc7[_0x45db3f(0x140)](_0x36d2a3);_0x5e8e95&&_0x5e8e95[_0x45db3f(0x148)]({'isFromAdapter':!0x0});}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x116),(_0x590ffe,{commentThreadId:_0x248276})=>{const _0x49b20f=_0x67073c,_0x45dbd5=_0x13dcc7[_0x49b20f(0x140)](_0x248276);_0x45dbd5&&_0x45dbd5[_0x49b20f(0x128)]({'isFromAdapter':!0x0});}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x165),(_0x2cb9d5,_0x214607)=>{const _0x5f52be=_0x67073c,_0x1560f3=_0x214607[_0x5f52be(0x16f)],_0x489e93=_0x13dcc7[_0x5f52be(0x140)](_0x1560f3);_0x489e93&&_0x489e93[_0x5f52be(0x127)]({...st(_0x214607),'isFromAdapter':!0x0});}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x113),(_0x420010,{commentThreadId:_0x5c241c,commentId:_0x54dbd9,content:_0x195c14,attributes:_0x1b5ef3})=>{const _0x1b7431=_0x67073c,_0x3df7a3=_0x13dcc7[_0x1b7431(0x140)](_0x5c241c);if(_0x3df7a3){const _0x510fe3=_0x3df7a3[_0x1b7431(0x133)](_0x54dbd9);_0x510fe3&&_0x510fe3[_0x1b7431(0x118)]({'content':_0x195c14,'attributes':_0x1b5ef3,'isFromAdapter':!0x0});}}),this[_0x67073c(0x15e)](_0x4fef11,_0x67073c(0x161),(_0xf3c19f,{commentThreadId:_0x558bcd,commentId:_0x33ba6f})=>{const _0x25b962=_0x67073c,_0x13150a=_0x13dcc7[_0x25b962(0x140)](_0x558bcd);if(_0x13150a){const _0x3b5652=_0x13150a[_0x25b962(0x133)](_0x33ba6f);_0x3b5652&&_0x3b5652[_0x25b962(0x128)]({'isFromAdapter':!0x0});}}),await this[_0x67073c(0x121)](_0x1b478b);}[_0x148c5d(0x14a)](){const _0x2259c0=_0x148c5d;if(this[_0x2259c0(0x164)]instanceof _0x586157){const _0xbd07fd=this[_0x2259c0(0x164)][_0x2259c0(0x170)][_0x2259c0(0x14b)](_0x2259c0(0x171));this[_0x2259c0(0x11c)](_0xbd07fd);}}[_0x148c5d(0x11c)](_0x34f6c6){const _0x1ae28e=_0x148c5d;if(!this[_0x1ae28e(0x151)][_0x1ae28e(0x159)](_0x34f6c6))throw new _0x256971(_0x1ae28e(0x123),null,{'channelId':_0x34f6c6});this[_0x1ae28e(0x168)](_0x34f6c6)[_0x1ae28e(0x11d)](),this[_0x1ae28e(0x151)][_0x1ae28e(0x131)](_0x34f6c6);}async[_0x148c5d(0x13f)](){const _0x2be89a=_0x148c5d;for(const _0x4e860f of this[_0x2be89a(0x151)][_0x2be89a(0x15f)]())await this[_0x2be89a(0x121)](_0x4e860f);if(this[_0x2be89a(0x164)]instanceof _0x586157){const _0x297b83=this[_0x2be89a(0x164)][_0x2be89a(0x170)][_0x2be89a(0x14b)](_0x2be89a(0x171)),_0x781559=this[_0x2be89a(0x164)][_0x2be89a(0x16a)][_0x2be89a(0x14b)](_0x46de8c);_0x781559[_0x2be89a(0x119)](_0x297b83);const _0xc593fc=await this[_0x2be89a(0x151)][_0x2be89a(0x14b)](_0x297b83)[_0x2be89a(0x110)]();_0x781559[_0x2be89a(0x15b)](_0x297b83,_0xc593fc);}}async[_0x148c5d(0x121)](_0x44f2e1){const _0xf2a3e8=_0x148c5d,{connection:_0x430f6d}=this[_0xf2a3e8(0x164)][_0xf2a3e8(0x16a)][_0xf2a3e8(0x14b)](_0x47d15c),_0x42e5e5=this[_0xf2a3e8(0x164)][_0xf2a3e8(0x16a)][_0xf2a3e8(0x14b)](_0xf2a3e8(0x137)),_0x5f59bf=this[_0xf2a3e8(0x151)][_0xf2a3e8(0x14b)](_0x44f2e1),_0x27ce05=await _0x5f59bf[_0xf2a3e8(0x15a)](_0x430f6d);await this[_0xf2a3e8(0x122)](_0x27ce05);const _0x26e34c=new Set(Array[_0xf2a3e8(0x15c)](_0x42e5e5[_0xf2a3e8(0x157)]({'channelId':_0x44f2e1}),_0x161bf2=>_0x161bf2['id']));for(const _0x3152a9 of _0x27ce05)_0x3152a9[_0xf2a3e8(0x138)]||_0x26e34c[_0xf2a3e8(0x131)](_0x3152a9[_0xf2a3e8(0x16f)]);for(const _0x21f495 of _0x26e34c)_0x42e5e5[_0xf2a3e8(0x140)](_0x21f495)[_0xf2a3e8(0x128)]({'isFromAdapter':!0x0});for(const _0x105bdd of _0x27ce05){let _0x531573=_0x42e5e5[_0xf2a3e8(0x140)](_0x105bdd[_0xf2a3e8(0x16f)]);const {commentThreadId:_0x51cc76,context:_0x5d05bc,attributes:_0x43c486,resolvedBy:_0x20151c,resolvedAt:_0x5a758a,unlinkedAt:_0x1fb7ff,deletedAt:_0x8b1b9}=_0x105bdd;if(_0x8b1b9)continue;_0x531573||(_0x531573=_0x42e5e5[_0xf2a3e8(0x115)]({'channelId':_0x44f2e1,'threadId':_0x51cc76,'context':_0x5d05bc,'attributes':_0x43c486||{},'resolvedBy':_0x20151c,'resolvedAt':_0x5a758a,'unlinkedAt':_0x1fb7ff,'isFromAdapter':!0x0}));const _0x106420=new Set(Array[_0xf2a3e8(0x15c)](_0x531573[_0xf2a3e8(0x150)],_0x2640a4=>_0x2640a4['id']));for(const _0x4af37f of _0x105bdd[_0xf2a3e8(0x150)])_0x106420[_0xf2a3e8(0x131)](_0x4af37f[_0xf2a3e8(0x12e)]);for(const _0x51e189 of _0x106420)_0x531573[_0xf2a3e8(0x133)](_0x51e189)[_0xf2a3e8(0x128)]({'isFromAdapter':!0x0});for(const _0x1b8aae of _0x105bdd[_0xf2a3e8(0x150)]){const _0x24ebea=_0x531573[_0xf2a3e8(0x133)](_0x1b8aae[_0xf2a3e8(0x12e)]);_0x24ebea?_0x24ebea[_0xf2a3e8(0x16e)]!==_0x1b8aae[_0xf2a3e8(0x16e)]&&_0x24ebea[_0xf2a3e8(0x118)]({'content':_0x1b8aae[_0xf2a3e8(0x16e)],'isFromAdapter':!0x0}):_0x531573[_0xf2a3e8(0x127)](Object[_0xf2a3e8(0x14c)](st(_0x1b8aae),{'isFromAdapter':!0x0}));}}}[_0x148c5d(0x168)](_0x55a6aa){const _0x498b57=_0x148c5d;if(!this[_0x498b57(0x151)][_0x498b57(0x159)](_0x55a6aa))throw new _0x256971(_0x498b57(0x143),null,{'channelId':_0x55a6aa});return this[_0x498b57(0x151)][_0x498b57(0x14b)](_0x55a6aa);}async[_0x148c5d(0x122)](_0x3f05f6){const _0x376a92=_0x148c5d,_0x19134f=this[_0x376a92(0x164)][_0x376a92(0x16a)][_0x376a92(0x14b)](_0x5582b6),{connection:_0x5de252}=this[_0x376a92(0x164)][_0x376a92(0x16a)][_0x376a92(0x14b)](_0x47d15c),_0x55bd9e=new Set();for(const {resolvedBy:_0x13e9ab,comments:_0x27db20}of _0x3f05f6){_0x13e9ab&&!_0x19134f[_0x376a92(0x13d)](_0x13e9ab)&&_0x55bd9e[_0x376a92(0x12c)](_0x13e9ab);for(const {userId:_0x5e2070}of _0x27db20)_0x19134f[_0x376a92(0x13d)](_0x5e2070)||_0x55bd9e[_0x376a92(0x12c)](_0x5e2070);}if(0x0===_0x55bd9e[_0x376a92(0x11e)])return;const _0x1ac21e=await _0x338c8f[_0x376a92(0x120)](_0x5de252,Array[_0x376a92(0x15c)](_0x55bd9e));for(const _0x4af791 of _0x1ac21e)_0x19134f[_0x376a92(0x13d)](_0x4af791['id'])||_0x19134f[_0x376a92(0x16c)](_0x4af791);}}function _0x39dc(_0x10ba23,_0x8e71af){const _0x412f60=_0x412f();return _0x39dc=function(_0x39dccf,_0x5f0aa5){_0x39dccf=_0x39dccf-0x10d;let _0x23ac78=_0x412f60[_0x39dccf];return _0x23ac78;},_0x39dc(_0x10ba23,_0x8e71af);}async function ot(_0x2c7c4b){const _0x2fcb1c=_0x148c5d;if(_0x2fcb1c(0x13c)!==_0x2c7c4b[_0x2fcb1c(0x15d)])throw _0x2c7c4b;}function nt(_0x28c0a4){const _0x147ace=_0x148c5d;if((_0xb01fe3=_0x28c0a4)[_0x147ace(0x12b)][_0x147ace(0x12a)](_0x147ace(0x162))||_0xb01fe3[_0x147ace(0x12b)][_0x147ace(0x12a)](_0x147ace(0x130))||_0xb01fe3[_0x147ace(0x12b)][_0x147ace(0x12a)](_0x147ace(0x129)))return new Promise(()=>{});var _0xb01fe3;throw _0x28c0a4;}function st(_0x4f3fd){const _0x23abc5=_0x148c5d;return{'threadId':_0x4f3fd[_0x23abc5(0x16f)],'commentId':_0x4f3fd[_0x23abc5(0x12e)],'content':_0x4f3fd[_0x23abc5(0x16e)],'createdAt':_0x4f3fd[_0x23abc5(0x153)],'authorId':_0x4f3fd[_0x23abc5(0x10e)],'attributes':_0x4f3fd[_0x23abc5(0x13b)]||{}};}
|
|
23
|
+
function _0x51e7(_0x19a218,_0x458674){const _0x51b10b=_0x51b1();return _0x51e7=function(_0x51e7e9,_0x26b179){_0x51e7e9=_0x51e7e9-0xe7;let _0x3ab57c=_0x51b10b[_0x51e7e9];return _0x3ab57c;},_0x51e7(_0x19a218,_0x458674);}const _0x3bd69d=_0x51e7;(function(_0x1a62fc,_0x38ad52){const _0x452a05=_0x51e7,_0x1bd7f9=_0x1a62fc();while(!![]){try{const _0x4b34f5=parseInt(_0x452a05(0x103))/0x1*(parseInt(_0x452a05(0x14a))/0x2)+parseInt(_0x452a05(0x147))/0x3+-parseInt(_0x452a05(0x145))/0x4+parseInt(_0x452a05(0x139))/0x5+parseInt(_0x452a05(0xf6))/0x6+-parseInt(_0x452a05(0x11c))/0x7*(parseInt(_0x452a05(0x10b))/0x8)+parseInt(_0x452a05(0x125))/0x9*(-parseInt(_0x452a05(0x130))/0xa);if(_0x4b34f5===_0x38ad52)break;else _0x1bd7f9['push'](_0x1bd7f9['shift']());}catch(_0x3de114){_0x1bd7f9['push'](_0x1bd7f9['shift']());}}}(_0x51b1,0x954c8));import{Context as _0x344782,ContextPlugin as _0x38d9bb}from'ckeditor5/src/core.js';function _0x51b1(){const _0x1fe40f=['unregister','5928066pUQrOI','cloudservicescommentsadapter-disconnect-not-exist','requires','has','content','sessionAdd:','commentThreadRemoved','context','resolvedAt','getUser','userId','Permissions','addUser','237Dfeayz','map','getComment','removeCommentThread','commentThreadId','404','startsWith','destroy','3576hwxOFY','delete','addToReconnectionStack','cloudservicescommentsadapter-connect-already-connected','connect','code','plugins','resolve','commentUpdated','CommentsService','message','_connectService','_setUpService','resolvedBy','listenTo','getCommentThreads','disconnect','3444VfsMyf','register','reconnect','commentThreadResolved','_getService','size','isPremiumPlugin','updateCommentThread','add','190089ZgxlCh','createdAt','mySessionId','init','cloud-services-internal-error:\x20Not\x20connected.','deletedAt','removeComment','setPermissions','set','remove','_fetchMissingUsersForThreads','380GMDpte','resolveCommentThread','getCommentThread','CommentsRepository','addComment','from','pluginName','collaboration.channelId','commentRemoved','521180ijWTYs','isOfficialPlugin','commentThreadReopened','CloudServicesCommentsAdapter','get','catch','commentId','commentAdded','config','_services','reopenCommentThread','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','1666764sFDfHy','keys','146664HXectQ','updateComment','addCommentThread','7676DpaaYA','cloudservicescommentsadapter-service-not-exist','commentThreadUpdated','commentThreadAdded','authorId','off','attributes','cloud-services-internal-error:\x20Request\x20timeout.','permissions','reopen','getConnectedSessions','getMany','assign','update','adapter','comments','_terminateService'];_0x51b1=function(){return _0x1fe40f;};return _0x51b1();}import{CKEditorError as _0x4e2a7d}from'ckeditor5/src/utils.js';import{Users as _0x31686f}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1c75a1,User as _0x414445}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x24a6b6}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5d43e3}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x38d9bb{static [_0x3bd69d(0x114)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x1c75a1)());[_0x3bd69d(0x142)];static get[_0x3bd69d(0xf8)](){const _0x51e9de=_0x3bd69d;return[_0x24a6b6,_0x51e9de(0x133),_0x5d43e3,_0x31686f];}static get[_0x3bd69d(0x136)](){const _0x39be5b=_0x3bd69d;return _0x39be5b(0x13c);}static get[_0x3bd69d(0x13a)](){return!0x0;}static get[_0x3bd69d(0x122)](){return!0x0;}constructor(_0x5a88dd){const _0x54a8aa=_0x3bd69d;super(_0x5a88dd),this[_0x54a8aa(0x142)]=new Map();}async[_0x3bd69d(0x128)](){const _0x5296a8=_0x3bd69d,_0x477998=this[_0x5296a8(0xfd)],_0x17125d=_0x477998[_0x5296a8(0x111)][_0x5296a8(0x13d)](_0x5296a8(0x133));if(_0x477998[_0x5296a8(0x111)][_0x5296a8(0x13d)](_0x24a6b6)[_0x5296a8(0x10d)](this),_0x17125d[_0x5296a8(0xf2)]={'addCommentThread':async({channelId:_0x1ef9c7,threadId:_0x4b3c41,comments:_0x39b67b,resolvedAt:_0x1db26d,resolvedBy:_0x37d432,context:_0x170ac6,attributes:_0x1807e6})=>{const _0x14816c=_0x5296a8,_0x2c6f3d=await this[_0x14816c(0x120)](_0x1ef9c7)[_0x14816c(0x149)]({'commentThreadId':_0x4b3c41,'comments':_0x39b67b[_0x14816c(0x104)](_0x42825d=>function(_0x2261bd,_0x2381c9,_0x18fc51){const _0x407eb5=_0x14816c;return{'commentThreadId':_0x18fc51,'commentId':_0x2261bd[_0x407eb5(0x13f)],'userId':_0x2261bd[_0x407eb5(0xe8)],'content':_0x2261bd[_0x407eb5(0xfa)],'documentId':_0x2381c9,'createdAt':_0x2261bd[_0x407eb5(0x126)],'attributes':_0x2261bd[_0x407eb5(0xea)]||{}};}(_0x42825d,_0x1ef9c7,_0x4b3c41)),'resolvedAt':_0x1db26d,'resolvedBy':_0x37d432,'context':_0x170ac6,'attributes':_0x1807e6})[_0x14816c(0x13e)](A);return{'threadId':_0x2c6f3d[_0x14816c(0x107)],'comments':_0x2c6f3d[_0x14816c(0xf3)]};},'getCommentThread':async({channelId:_0x2cedc0,threadId:_0x151db8})=>{const _0x73cceb=_0x5296a8,_0x560626=await this[_0x73cceb(0x120)](_0x2cedc0)[_0x73cceb(0x132)](_0x151db8)[_0x73cceb(0x13e)](f)[_0x73cceb(0x13e)](A);return _0x560626?_0x560626[_0x73cceb(0x12a)]?null:(await this[_0x73cceb(0x12f)]([_0x560626]),{'threadId':_0x560626[_0x73cceb(0x107)],'comments':_0x560626[_0x73cceb(0xf3)][_0x73cceb(0x104)](p),'context':_0x560626[_0x73cceb(0xfd)],'resolvedAt':_0x560626[_0x73cceb(0xfe)],'resolvedBy':_0x560626[_0x73cceb(0x118)],'attributes':_0x560626[_0x73cceb(0xea)]||{}}):null;},'updateCommentThread':async({channelId:_0x56a187,threadId:_0x5d9d5c,context:_0x62124e,unlinkedAt:_0x3bfe04,attributes:_0x9f8b49})=>this[_0x5296a8(0x120)](_0x56a187)[_0x5296a8(0x123)]({'commentThreadId':_0x5d9d5c,'context':_0x62124e,'attributes':_0x9f8b49,'unlinkedAt':_0x3bfe04})[_0x5296a8(0x13e)](f)[_0x5296a8(0x13e)](A),'resolveCommentThread':async({channelId:_0x348364,threadId:_0x53a14f})=>{const _0x4fac27=_0x5296a8,_0x5716bc=await this[_0x4fac27(0x120)](_0x348364)[_0x4fac27(0x131)](_0x53a14f)[_0x4fac27(0x13e)](f)[_0x4fac27(0x13e)](A);return{'threadId':_0x5716bc[_0x4fac27(0x107)],'resolvedAt':_0x5716bc[_0x4fac27(0xfe)],'resolvedBy':_0x5716bc[_0x4fac27(0x118)]};},'reopenCommentThread':async({channelId:_0x123267,threadId:_0x2e9bb6})=>this[_0x5296a8(0x120)](_0x123267)[_0x5296a8(0x143)](_0x2e9bb6)[_0x5296a8(0x13e)](f)[_0x5296a8(0x13e)](A),'removeCommentThread':({channelId:_0x46c34b,threadId:_0x1749b1})=>this[_0x5296a8(0x120)](_0x46c34b)[_0x5296a8(0x106)](_0x1749b1)[_0x5296a8(0x13e)](f)[_0x5296a8(0x13e)](A),'addComment':({channelId:_0x5269a8,threadId:_0x5b699c,commentId:_0x546f18,content:_0x2aadd9,attributes:_0x2aca57})=>this[_0x5296a8(0x120)](_0x5269a8)[_0x5296a8(0x134)](_0x5b699c,_0x546f18,_0x2aadd9,_0x2aca57)[_0x5296a8(0x13e)](A),'updateComment':({channelId:_0xc0fa58,threadId:_0x3239f5,commentId:_0x47bbea,content:_0xa5386b,attributes:_0x9fb5d8})=>this[_0x5296a8(0x120)](_0xc0fa58)[_0x5296a8(0x148)](_0x3239f5,_0x47bbea,_0xa5386b,_0x9fb5d8)[_0x5296a8(0x13e)](f)[_0x5296a8(0x13e)](A),'removeComment':({channelId:_0x279471,threadId:_0x2f0751,commentId:_0x2d07cf})=>this[_0x5296a8(0x120)](_0x279471)[_0x5296a8(0x12b)](_0x2f0751,_0x2d07cf)[_0x5296a8(0x13e)](f)[_0x5296a8(0x13e)](A)},_0x477998 instanceof _0x344782){const _0x29f6f2=_0x477998[_0x5296a8(0x141)][_0x5296a8(0x13d)](_0x5296a8(0x137)),_0x25f429=_0x477998[_0x5296a8(0x111)][_0x5296a8(0x13d)](_0x5d43e3);await this[_0x5296a8(0x117)](_0x29f6f2);const _0x20bcf2=await this[_0x5296a8(0x142)][_0x5296a8(0x13d)](_0x29f6f2)[_0x5296a8(0xee)]();this[_0x5296a8(0x119)](_0x25f429,_0x5296a8(0xfb)+_0x29f6f2,(_0x42dfe0,{session:_0x1d052a})=>{const _0x2c696c=_0x5296a8;_0x1d052a['id']===_0x25f429[_0x2c696c(0x127)]&&(_0x42dfe0[_0x2c696c(0xe9)](),this[_0x2c696c(0xfd)][_0x2c696c(0x111)][_0x2c696c(0x13d)](_0x2c696c(0x101))[_0x2c696c(0x12c)](_0x1d052a[_0x2c696c(0xec)],_0x29f6f2));}),_0x25f429[_0x5296a8(0x11d)](_0x29f6f2,_0x20bcf2);}}async[_0x3bd69d(0x117)](_0x1c7b12){const _0x1c8130=_0x3bd69d;if(this[_0x1c8130(0x142)][_0x1c8130(0xf9)](_0x1c7b12))throw new _0x4e2a7d(_0x1c8130(0x10e),null,{'channelId':_0x1c7b12});const _0x363716=this[_0x1c8130(0xfd)][_0x1c8130(0x111)][_0x1c8130(0x13d)](_0x1c8130(0x133)),_0x41c76e=new CloudServicesCommentsAdapter[(_0x1c8130(0x114))](_0x1c7b12);this[_0x1c8130(0x142)][_0x1c8130(0x12d)](_0x1c7b12,_0x41c76e),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0xe7),(_0x387f1e,_0x1660c2)=>{const _0x16f583=_0x1c8130,{commentThreadId:_0x1bcdae,documentId:_0x2841b8,context:_0x14f500,attributes:_0x2f5e90,resolvedAt:_0x28cc9d,resolvedBy:_0x5650d8,comments:_0x26ea41}=_0x1660c2;_0x363716[_0x16f583(0x132)](_0x1bcdae)||_0x363716[_0x16f583(0x149)]({'threadId':_0x1bcdae,'channelId':_0x2841b8,'comments':_0x26ea41?_0x26ea41[_0x16f583(0x104)](p):[],'context':_0x14f500,'attributes':_0x2f5e90,'resolvedAt':_0x28cc9d,'resolvedBy':_0x5650d8,'isFromAdapter':!0x0});}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0x14c),(_0x1e9196,{commentThreadId:_0x550efa,documentId:_0x2fbcc0,context:_0x440e7d,unlinkedAt:_0x371aae,attributes:_0x1e02bb})=>{const _0x362222=_0x1c8130;_0x363716[_0x362222(0x132)](_0x550efa)&&_0x363716[_0x362222(0x123)]({'threadId':_0x550efa,'channelId':_0x2fbcc0,'context':_0x440e7d,'unlinkedAt':_0x371aae,'attributes':_0x1e02bb,'isFromAdapter':!0x0});}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0x11f),(_0x11002c,{commentThreadId:_0x490bf8,resolvedBy:_0x396d04,resolvedAt:_0x5645c9})=>{const _0x1af9ce=_0x1c8130,_0x1cc616=_0x363716[_0x1af9ce(0x132)](_0x490bf8);_0x1cc616&&_0x1cc616[_0x1af9ce(0x112)]({'resolvedBy':_0x396d04,'resolvedAt':_0x5645c9,'isFromAdapter':!0x0});}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0x13b),(_0x3040c4,{commentThreadId:_0x3cf082})=>{const _0x59642e=_0x1c8130,_0x2410d0=_0x363716[_0x59642e(0x132)](_0x3cf082);_0x2410d0&&_0x2410d0[_0x59642e(0xed)]({'isFromAdapter':!0x0});}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0xfc),(_0x319a30,{commentThreadId:_0x4ecd48})=>{const _0x200793=_0x1c8130,_0x399fb6=_0x363716[_0x200793(0x132)](_0x4ecd48);_0x399fb6&&_0x399fb6[_0x200793(0x12e)]({'isFromAdapter':!0x0});}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0x140),(_0x362e5a,_0x1afeb0)=>{const _0x28f314=_0x1c8130,_0x570af1=_0x1afeb0[_0x28f314(0x107)],_0x2b9639=_0x363716[_0x28f314(0x132)](_0x570af1);_0x2b9639&&_0x2b9639[_0x28f314(0x134)]({...p(_0x1afeb0),'isFromAdapter':!0x0});}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0x113),(_0x4ed053,{commentThreadId:_0x42fd93,commentId:_0x56a55f,content:_0xf4dfff,attributes:_0x39863d})=>{const _0x4b52e3=_0x1c8130,_0x3134b2=_0x363716[_0x4b52e3(0x132)](_0x42fd93);if(_0x3134b2){const _0x113ed5=_0x3134b2[_0x4b52e3(0x105)](_0x56a55f);_0x113ed5&&_0x113ed5[_0x4b52e3(0xf1)]({'content':_0xf4dfff,'attributes':_0x39863d,'isFromAdapter':!0x0});}}),this[_0x1c8130(0x119)](_0x41c76e,_0x1c8130(0x138),(_0x17c224,{commentThreadId:_0x245828,commentId:_0x5b4404})=>{const _0xe9534f=_0x1c8130,_0x451e42=_0x363716[_0xe9534f(0x132)](_0x245828);if(_0x451e42){const _0x4abb65=_0x451e42[_0xe9534f(0x105)](_0x5b4404);_0x4abb65&&_0x4abb65[_0xe9534f(0x12e)]({'isFromAdapter':!0x0});}}),await this[_0x1c8130(0x116)](_0x1c7b12);}[_0x3bd69d(0x10a)](){const _0x5bd9af=_0x3bd69d;if(this[_0x5bd9af(0xfd)]instanceof _0x344782){const _0x24dc06=this[_0x5bd9af(0xfd)][_0x5bd9af(0x141)][_0x5bd9af(0x13d)](_0x5bd9af(0x137));this[_0x5bd9af(0xf4)](_0x24dc06);}}[_0x3bd69d(0xf4)](_0x3dbb18){const _0x16a4c3=_0x3bd69d;if(!this[_0x16a4c3(0x142)][_0x16a4c3(0xf9)](_0x3dbb18))throw new _0x4e2a7d(_0x16a4c3(0xf7),null,{'channelId':_0x3dbb18});this[_0x16a4c3(0x120)](_0x3dbb18)[_0x16a4c3(0x11b)](),this[_0x16a4c3(0x142)][_0x16a4c3(0x10c)](_0x3dbb18);}async[_0x3bd69d(0x11e)](){const _0x1a4f70=_0x3bd69d;for(const _0x3f6888 of this[_0x1a4f70(0x142)][_0x1a4f70(0x146)]())await this[_0x1a4f70(0x116)](_0x3f6888);if(this[_0x1a4f70(0xfd)]instanceof _0x344782){const _0x527982=this[_0x1a4f70(0xfd)][_0x1a4f70(0x141)][_0x1a4f70(0x13d)](_0x1a4f70(0x137)),_0x414e2a=this[_0x1a4f70(0xfd)][_0x1a4f70(0x111)][_0x1a4f70(0x13d)](_0x5d43e3);_0x414e2a[_0x1a4f70(0xf5)](_0x527982);const _0x2b69af=await this[_0x1a4f70(0x142)][_0x1a4f70(0x13d)](_0x527982)[_0x1a4f70(0xee)]();_0x414e2a[_0x1a4f70(0x11d)](_0x527982,_0x2b69af);}}async[_0x3bd69d(0x116)](_0x48584e){const _0x2762e8=_0x3bd69d,{connection:_0x42d080}=this[_0x2762e8(0xfd)][_0x2762e8(0x111)][_0x2762e8(0x13d)](_0x24a6b6),_0x4d456e=this[_0x2762e8(0xfd)][_0x2762e8(0x111)][_0x2762e8(0x13d)](_0x2762e8(0x133)),_0x1fc18d=this[_0x2762e8(0x142)][_0x2762e8(0x13d)](_0x48584e),_0x312d4f=await _0x1fc18d[_0x2762e8(0x10f)](_0x42d080);await this[_0x2762e8(0x12f)](_0x312d4f);const _0x322251=new Set(Array[_0x2762e8(0x135)](_0x4d456e[_0x2762e8(0x11a)]({'channelId':_0x48584e}),_0x18cf25=>_0x18cf25['id']));for(const _0x57a672 of _0x312d4f)_0x57a672[_0x2762e8(0x12a)]||_0x322251[_0x2762e8(0x10c)](_0x57a672[_0x2762e8(0x107)]);for(const _0x1be492 of _0x322251)_0x4d456e[_0x2762e8(0x132)](_0x1be492)[_0x2762e8(0x12e)]({'isFromAdapter':!0x0});for(const _0x1bd37c of _0x312d4f){let _0x17f6d9=_0x4d456e[_0x2762e8(0x132)](_0x1bd37c[_0x2762e8(0x107)]);const {commentThreadId:_0x576215,context:_0x5858b2,attributes:_0x278936,resolvedBy:_0x4a18f2,resolvedAt:_0x4c00b0,unlinkedAt:_0x4f43e7,deletedAt:_0x439f9c}=_0x1bd37c;if(_0x439f9c)continue;_0x17f6d9||(_0x17f6d9=_0x4d456e[_0x2762e8(0x149)]({'channelId':_0x48584e,'threadId':_0x576215,'context':_0x5858b2,'attributes':_0x278936||{},'resolvedBy':_0x4a18f2,'resolvedAt':_0x4c00b0,'unlinkedAt':_0x4f43e7,'isFromAdapter':!0x0}));const _0x681a31=new Set(Array[_0x2762e8(0x135)](_0x17f6d9[_0x2762e8(0xf3)],_0x5a23e6=>_0x5a23e6['id']));for(const _0x3c4a80 of _0x1bd37c[_0x2762e8(0xf3)])_0x681a31[_0x2762e8(0x10c)](_0x3c4a80[_0x2762e8(0x13f)]);for(const _0x34d05c of _0x681a31)_0x17f6d9[_0x2762e8(0x105)](_0x34d05c)[_0x2762e8(0x12e)]({'isFromAdapter':!0x0});for(const _0x20dd93 of _0x1bd37c[_0x2762e8(0xf3)]){const _0x56cd0b=_0x17f6d9[_0x2762e8(0x105)](_0x20dd93[_0x2762e8(0x13f)]);_0x56cd0b?_0x56cd0b[_0x2762e8(0xfa)]!==_0x20dd93[_0x2762e8(0xfa)]&&_0x56cd0b[_0x2762e8(0xf1)]({'content':_0x20dd93[_0x2762e8(0xfa)],'isFromAdapter':!0x0}):_0x17f6d9[_0x2762e8(0x134)](Object[_0x2762e8(0xf0)](p(_0x20dd93),{'isFromAdapter':!0x0}));}}}[_0x3bd69d(0x120)](_0x37b235){const _0xfca8b5=_0x3bd69d;if(!this[_0xfca8b5(0x142)][_0xfca8b5(0xf9)](_0x37b235))throw new _0x4e2a7d(_0xfca8b5(0x14b),null,{'channelId':_0x37b235});return this[_0xfca8b5(0x142)][_0xfca8b5(0x13d)](_0x37b235);}async[_0x3bd69d(0x12f)](_0x8656c5){const _0x221f73=_0x3bd69d,_0x1cadf=this[_0x221f73(0xfd)][_0x221f73(0x111)][_0x221f73(0x13d)](_0x31686f),{connection:_0x448069}=this[_0x221f73(0xfd)][_0x221f73(0x111)][_0x221f73(0x13d)](_0x24a6b6),_0x57b37d=new Set();for(const {resolvedBy:_0x231a29,comments:_0xa07d36}of _0x8656c5){_0x231a29&&!_0x1cadf[_0x221f73(0xff)](_0x231a29)&&_0x57b37d[_0x221f73(0x124)](_0x231a29);for(const {userId:_0x6c5f6b}of _0xa07d36)_0x1cadf[_0x221f73(0xff)](_0x6c5f6b)||_0x57b37d[_0x221f73(0x124)](_0x6c5f6b);}if(0x0===_0x57b37d[_0x221f73(0x121)])return;const _0x354978=await _0x414445[_0x221f73(0xef)](_0x448069,Array[_0x221f73(0x135)](_0x57b37d));for(const _0x29aec3 of _0x354978)_0x1cadf[_0x221f73(0xff)](_0x29aec3['id'])||_0x1cadf[_0x221f73(0x102)](_0x29aec3);}}async function f(_0x18baa9){const _0x34d914=_0x3bd69d;if(_0x34d914(0x108)!==_0x18baa9[_0x34d914(0x110)])throw _0x18baa9;}function A(_0x57cdc9){const _0x22e5cc=_0x3bd69d;if((_0x2f8b47=_0x57cdc9)[_0x22e5cc(0x115)][_0x22e5cc(0x109)](_0x22e5cc(0x144))||_0x2f8b47[_0x22e5cc(0x115)][_0x22e5cc(0x109)](_0x22e5cc(0x129))||_0x2f8b47[_0x22e5cc(0x115)][_0x22e5cc(0x109)](_0x22e5cc(0xeb)))return new Promise(()=>{});var _0x2f8b47;throw _0x57cdc9;}function p(_0x31bb50){const _0x475c7a=_0x3bd69d;return{'threadId':_0x31bb50[_0x475c7a(0x107)],'commentId':_0x31bb50[_0x475c7a(0x13f)],'content':_0x31bb50[_0x475c7a(0xfa)],'createdAt':_0x31bb50[_0x475c7a(0x126)],'authorId':_0x31bb50[_0x475c7a(0x100)],'attributes':_0x31bb50[_0x475c7a(0xea)]||{}};}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x90ae82)());[_0x311249(0x12c)];[_0x311249(0xc8)];[_0x311249(0x13a)];[_0x311249(0x140)];[_0x311249(0x18a)];[_0x311249(0x194)];[_0x311249(0xfb)];[_0x311249(0x179)];[_0x311249(0xa2)];[_0x311249(0xf7)];[_0x311249(0xcf)];[_0x311249(0xc2)];[_0x311249(0xc5)];[_0x311249(0x9b)];[_0x311249(0xea)];[_0x311249(0x15c)];[_0x311249(0xaf)];[_0x311249(0xfa)];static get[_0x311249(0xf8)](){return[_0x1a0ccc,_0x51b161,_0x50f671,_0x2c5b7c,_0x22875c,_0x44c26d];}static get[_0x311249(0x97)](){const _0x54555f=_0x311249;return _0x54555f(0xeb);}static get[_0x311249(0x181)](){return!0x0;}static get[_0x311249(0x18b)](){return!0x0;}get[_0x311249(0x12f)](){const _0x37b070=_0x311249;return this[_0x37b070(0xa7)]+this[_0x37b070(0x12c)];}get[_0x311249(0xa7)](){const _0x44d196=_0x311249;return this[_0x44d196(0x13a)][_0x44d196(0x117)]-this[_0x44d196(0x12c)];}get[_0x311249(0xba)](){const _0x290b08=_0x311249,_0x24682f=this[_0x290b08(0x13a)][_0x290b08(0x17f)]();for(let _0x240069=_0x24682f[_0x290b08(0x143)]-0x1;_0x240069>=0x0;_0x240069--){const _0x437a53=_0x24682f[_0x240069];if(!this[_0x290b08(0xaf)][_0x290b08(0x144)](_0x437a53))return _0x437a53[_0x290b08(0x137)]+0x1-this[_0x290b08(0x12c)];}return 0x0;}constructor(_0x480c7f){const _0x56cb7c=_0x311249;if(super(_0x480c7f),this[_0x56cb7c(0x12c)]=0x0,this[_0x56cb7c(0xc8)]=null,this[_0x56cb7c(0x13a)]=new _0x412bb2(),this[_0x56cb7c(0x90)][_0x56cb7c(0x14e)][_0x56cb7c(0x100)](_0x56cb7c(0x185),{}),this[_0x56cb7c(0x140)]=this[_0x56cb7c(0x90)][_0x56cb7c(0x14e)][_0x56cb7c(0x9e)](_0x56cb7c(0x128)),!this[_0x56cb7c(0x140)])throw new _0x40c897(_0x56cb7c(0xee),this);const _0x241489=_0x480c7f[_0x56cb7c(0x14e)][_0x56cb7c(0x9e)](_0x56cb7c(0xc4))||_0x203da6;this[_0x56cb7c(0x18a)]=new RealTimeCollaborationClient[(_0x56cb7c(0xac))](_0x241489,this[_0x56cb7c(0x140)]),this[_0x56cb7c(0x194)]=this[_0x56cb7c(0x90)][_0x56cb7c(0x116)][_0x56cb7c(0x138)],this[_0x56cb7c(0xfb)]=new _0x49fb01(),this[_0x56cb7c(0x179)]=[],this[_0x56cb7c(0xa2)]=new WeakSet(),this[_0x56cb7c(0xf7)]=new Set(),this[_0x56cb7c(0x16f)](_0x56cb7c(0x91),!0x1),this[_0x56cb7c(0x16f)](_0x56cb7c(0x121),!0x1),this[_0x56cb7c(0xcf)]=null,this[_0x56cb7c(0xc2)]=!0x1,this[_0x56cb7c(0xc5)]=null,this[_0x56cb7c(0x9b)]=0x12c,this[_0x56cb7c(0xea)]=this[_0x56cb7c(0x9b)],this[_0x56cb7c(0x15c)]=null,this[_0x56cb7c(0xaf)]=new WeakSet(),this[_0x56cb7c(0xfa)]=new K(this[_0x56cb7c(0xaf)]);}[_0x311249(0xe6)](){const _0x4f953e=_0x311249,_0x5054be=this[_0x4f953e(0x90)],_0xf2592=_0x5054be[_0x4f953e(0x193)][_0x4f953e(0x9e)](_0x22875c),_0x275a44=_0x5054be[_0x4f953e(0x193)][_0x4f953e(0x9e)](_0x1a0ccc);this[_0x4f953e(0x15a)](_0xf2592,_0x4f953e(0xbd),(_0x1e86f1,_0x4d54bc)=>{const _0x2e8f28=_0x4f953e,_0x53fec3=_0x4d54bc[0x0];_0x53fec3[_0x2e8f28(0xc9)]&&(_0x1e86f1[_0x2e8f28(0x115)]=_0xf2592[_0x2e8f28(0x9f)](_0x53fec3[_0x2e8f28(0xc9)]),_0x1e86f1[_0x2e8f28(0xbb)]()),null===_0x53fec3[_0x2e8f28(0xc9)]&&(_0x1e86f1[_0x2e8f28(0x115)]=null,_0x1e86f1[_0x2e8f28(0xbb)]());},{'priority':_0x4f953e(0x164)}),this[_0x4f953e(0x15a)](_0x5054be[_0x4f953e(0x116)][_0x4f953e(0x138)][_0x4f953e(0xb3)],_0x4f953e(0x156),(_0x2eb4e4,_0x5d8a07)=>{const _0x1b27da=_0x4f953e;_0x5d8a07[_0x1b27da(0xc6)]&&this[_0x1b27da(0xd4)]();}),this[_0x4f953e(0x15a)](_0x5054be[_0x4f953e(0x14c)][_0x4f953e(0x13b)],_0x4f953e(0xf9),()=>{const _0x28b3e0=_0x4f953e;this[_0x28b3e0(0xd4)]();}),this[_0x4f953e(0x11a)](),_0x5054be[_0x4f953e(0x116)]['on'](_0x4f953e(0x93),(_0x1d8927,_0x51310e)=>{const _0x1bfb38=_0x4f953e,_0x41352a=_0x51310e[0x0];_0x41352a[_0x1bfb38(0x119)]&&(this[_0x1bfb38(0x142)](_0x41352a),this[_0x1bfb38(0xb6)]()&&this[_0x1bfb38(0x111)]());}),this[_0x4f953e(0x16a)](),this[_0x4f953e(0xa3)](_0x4f953e(0x16d))['to'](_0x275a44,_0x4f953e(0x170),this,_0x4f953e(0x121),(_0x42024a,_0x295cf9)=>_0x4f953e(0x180)===_0x42024a&&!_0x295cf9),this['on'](_0x4f953e(0x12e),()=>{const _0xbf5c9=_0x4f953e;this[_0xbf5c9(0x16d)]?_0x5054be[_0xbf5c9(0x184)](_0xbf5c9(0x125)):_0x5054be[_0xbf5c9(0xfe)](_0xbf5c9(0x125));}),this[_0x4f953e(0x16d)]?_0x5054be[_0x4f953e(0x184)](_0x4f953e(0x125)):_0x5054be[_0x4f953e(0xfe)](_0x4f953e(0x125)),this[_0x4f953e(0x16f)](_0x4f953e(0x13c),!0x1);}async[_0x311249(0xf1)](){const _0x4a1ae9=_0x311249,_0x5cdaff=this[_0x4a1ae9(0x90)][_0x4a1ae9(0x193)][_0x4a1ae9(0x9e)](_0x51b161),_0x285deb=this[_0x4a1ae9(0x90)][_0x4a1ae9(0x193)][_0x4a1ae9(0x9e)](_0x1a0ccc);try{this[_0x4a1ae9(0x91)]=!0x0,_0x5cdaff[_0x4a1ae9(0xd9)](this[_0x4a1ae9(0x140)]);const _0x2aa23a=await this[_0x4a1ae9(0x18a)][_0x4a1ae9(0xf1)](_0x285deb[_0x4a1ae9(0x122)],this[_0x4a1ae9(0xba)]);await this[_0x4a1ae9(0x190)](_0x2aa23a)&&(this[_0x4a1ae9(0x91)]=!0x1,this[_0x4a1ae9(0xd1)]());const _0x1f9df4=await this[_0x4a1ae9(0x18a)][_0x4a1ae9(0x13e)]();_0x5cdaff[_0x4a1ae9(0x94)](this[_0x4a1ae9(0x140)],_0x1f9df4),this[_0x4a1ae9(0x108)](),this[_0x4a1ae9(0x13c)]=!0x0;}catch(_0x235e3e){if(function(_0x40f2b4){const _0x34fbe0=_0x4a1ae9;return _0x34fbe0(0xb5)===_0x40f2b4[_0x34fbe0(0x163)];}(_0x235e3e)&&this[_0x4a1ae9(0xc8)])await this[_0x4a1ae9(0xc7)]();else{if(function(_0x5db7bd){const _0x5a1407=_0x4a1ae9;return _0x5a1407(0xd0)===_0x5db7bd[_0x5a1407(0x163)];}(_0x235e3e)){const _0x1d1cd4=_0x367e81(this[_0x4a1ae9(0x90)][_0x4a1ae9(0xe3)],_0x4a1ae9(0x14b));this[_0x4a1ae9(0x12d)](_0x1d1cd4);}else{if(!(_0x235e3e instanceof G))throw _0x235e3e;this[_0x4a1ae9(0x12d)]();}}}}[_0x311249(0xc1)](){const _0x1e4465=_0x311249,_0x27af6a=this[_0x1e4465(0x90)][_0x1e4465(0x193)][_0x1e4465(0x9e)](_0x1a0ccc),_0x385171=this[_0x1e4465(0x90)][_0x1e4465(0x193)][_0x1e4465(0x9e)](_0x51b161);this[_0x1e4465(0x90)][_0x1e4465(0xfe)](_0x1e4465(0x113)),_0x385171[_0x1e4465(0x132)][_0x1e4465(0x144)](this[_0x1e4465(0x140)])&&_0x385171[_0x1e4465(0xd9)](this[_0x1e4465(0x140)]),_0x27af6a[_0x1e4465(0x162)](this),this[_0x1e4465(0xbe)](),super[_0x1e4465(0xc1)]();}async[_0x311249(0x190)](_0xd96533){const _0x462fee=_0x311249;if(this[_0x462fee(0xc8)]!==_0xd96533[_0x462fee(0xc8)]&&this[_0x462fee(0x15c)]!==_0xd96533[_0x462fee(0x10a)])throw new G();return this[_0x462fee(0xc8)]=_0xd96533[_0x462fee(0xc8)],this[_0x462fee(0x18c)]([],{..._0xd96533,'wereChangesApplied':!0x1,'data':_0xd96533[_0x462fee(0x10d)]},_0x462fee(0xf1));}async[_0x311249(0x12a)](_0x41ef15,_0x3a1124=!0x1){const _0x5a6dd4=_0x311249,{connection:_0x5b891b}=this[_0x5a6dd4(0x90)][_0x5a6dd4(0x193)][_0x5a6dd4(0x9e)](_0x1a0ccc);RealTimeCollaborationClient[_0x5a6dd4(0xac)][_0x5a6dd4(0x13e)](_0x5b891b,this[_0x5a6dd4(0x140)])[_0x5a6dd4(0x103)](_0x55187b=>this[_0x5a6dd4(0x123)](_0x55187b))[_0x5a6dd4(0xfc)](_0x40be2f=>{const _0x250331=_0x5a6dd4;this[_0x250331(0xde)](_0x250331(0x152),_0x40be2f);}),this[_0x5a6dd4(0x15a)](this[_0x5a6dd4(0x18a)],_0x5a6dd4(0x174),this[_0x5a6dd4(0xa5)][_0x5a6dd4(0xa3)](this)),this[_0x5a6dd4(0x15a)](this[_0x5a6dd4(0x18a)],_0x5a6dd4(0x10f),(_0xc5461a,_0x4cb630)=>{const _0x1c3279=_0x5a6dd4;this[_0x1c3279(0xde)](_0x1c3279(0xbc),_0x4cb630);}),this[_0x5a6dd4(0x15a)](this[_0x5a6dd4(0x18a)],_0x5a6dd4(0xf2),()=>{const _0x39ccb1=_0x5a6dd4;this[_0x39ccb1(0x13c)]=!0x1;});const _0x34a57c=this[_0x5a6dd4(0xfa)][_0x5a6dd4(0x104)](_0x41ef15);this[_0x5a6dd4(0x91)]=!0x0;const _0x47db6d=await this[_0x5a6dd4(0x18a)][_0x5a6dd4(0x171)](_0x5b891b,this[_0x5a6dd4(0x13f)](_0x41ef15),_0x34a57c);if(this[_0x5a6dd4(0xc8)]=_0x47db6d[_0x5a6dd4(0xc8)],_0x3a1124){if(!_0x47db6d[_0x5a6dd4(0xc3)])return void this[_0x5a6dd4(0x12d)]();this[_0x5a6dd4(0x91)]=!0x1,this[_0x5a6dd4(0xd1)](),this[_0x5a6dd4(0x13a)][_0x5a6dd4(0x172)](),this[_0x5a6dd4(0x12c)]=_0x47db6d[_0x5a6dd4(0x176)],this[_0x5a6dd4(0x13a)][_0x5a6dd4(0x117)]=this[_0x5a6dd4(0x12c)],await this[_0x5a6dd4(0x18c)](_0x41ef15,_0x47db6d,_0x5a6dd4(0x139));}else await this[_0x5a6dd4(0x112)](_0x47db6d,_0x41ef15);this[_0x5a6dd4(0x108)](),this[_0x5a6dd4(0x13c)]=!0x0;}[_0x311249(0x108)](){const _0x509a6e=_0x311249,_0xe3c925=this[_0x509a6e(0x90)][_0x509a6e(0x193)][_0x509a6e(0x9e)](_0x51b161),_0x18fca4=this[_0x509a6e(0x90)][_0x509a6e(0x193)][_0x509a6e(0x9e)](_0x50f671),_0x2d3c9e=_0xe3c925[_0x509a6e(0x132)][_0x509a6e(0x9e)](this[_0x509a6e(0x140)]);_0x2d3c9e&&_0x2d3c9e[_0x509a6e(0x143)]>0x1?_0x18fca4[_0x509a6e(0xdc)]():this[_0x509a6e(0x15a)](_0xe3c925,_0x509a6e(0xca)+this[_0x509a6e(0x140)],()=>{const _0x56e032=_0x509a6e;0x2===_0xe3c925[_0x56e032(0x132)][_0x56e032(0x9e)](this[_0x56e032(0x140)])[_0x56e032(0x143)]&&_0x18fca4[_0x56e032(0xdc)]();});}async[_0x311249(0xa5)](_0x2ac99c,_0x5a9734,_0x207153,_0x43b9ea){const _0x32de56=_0x311249;if(!this[_0x32de56(0x91)]&&this[_0x32de56(0x194)][_0x32de56(0x117)]==_0x5a9734){const _0x155919=this[_0x32de56(0x16b)](_0x207153,_0x43b9ea);await this[_0x32de56(0xaa)](_0x155919),this[_0x32de56(0x92)](_0x155919,_0x5a9734,_0x207153[_0x32de56(0x10a)])||this[_0x32de56(0xde)](_0x32de56(0x153));}}async[_0x311249(0xc7)](){const _0x35f820=_0x311249;this[_0x35f820(0xbe)]();const {locale:_0x16d588}=this[_0x35f820(0x90)];let _0x44ad7c;try{_0x44ad7c=await this[_0x35f820(0x18a)][_0x35f820(0xdd)]();}catch{const _0x483ec8=_0x367e81(_0x16d588,_0x35f820(0x189));return void this[_0x35f820(0x12d)](_0x483ec8);}const _0x318e68=_0x44ad7c[_0x35f820(0xc0)]||_0x44ad7c[_0x35f820(0x99)];if(this[_0x35f820(0x15c)]!==_0x318e68[_0x35f820(0x10a)]){const _0x250ccf=_0x367e81(_0x16d588,_0x35f820(0xcd));return void this[_0x35f820(0x12d)](_0x250ccf);}await this[_0x35f820(0x12a)](this[_0x35f820(0x90)][_0x35f820(0x116)][_0x35f820(0x138)][_0x35f820(0x169)][_0x35f820(0x17f)](),!0x0);}[_0x311249(0xbe)](){const _0x15f274=_0x311249;this[_0x15f274(0x18a)][_0x15f274(0xb8)](),this[_0x15f274(0x179)]=[],clearTimeout(this[_0x15f274(0xc5)]),this[_0x15f274(0x114)](this[_0x15f274(0x18a)]);}[_0x311249(0x123)](_0x301278){const _0x20a423=_0x311249,_0xa16174=this[_0x20a423(0x90)][_0x20a423(0x193)][_0x20a423(0x9e)](_0x51b161);this[_0x20a423(0x15a)](_0xa16174,_0x20a423(0xca)+this[_0x20a423(0x140)],(_0xe3351f,{session:_0x5011fa})=>{const _0x3995f4=_0x20a423;if(_0x5011fa['id']===_0xa16174[_0x3995f4(0x173)]){_0xe3351f[_0x3995f4(0x175)]();const _0x3be41d=this[_0x3995f4(0x90)][_0x3995f4(0x193)][_0x3995f4(0x144)](_0x3995f4(0xce))&&this[_0x3995f4(0x90)][_0x3995f4(0x193)][_0x3995f4(0x9e)](_0x3995f4(0xce));let _0x20797b=_0x5011fa[_0x3995f4(0x9d)];_0x3be41d&&_0x3be41d[_0x3995f4(0xd7)]&&(_0x20797b=_0x20797b[_0x3995f4(0x110)](_0x1608ac=>_0x3995f4(0x16e)!==_0x1608ac)),this[_0x3995f4(0x90)][_0x3995f4(0x193)][_0x3995f4(0x9e)](_0x3995f4(0xe9))[_0x3995f4(0xe8)](_0x20797b,this[_0x3995f4(0x140)]);}}),_0xa16174[_0x20a423(0x94)](this[_0x20a423(0x140)],_0x301278);}[_0x311249(0x11a)](){const _0x437c4c=_0x311249,_0x4da5e4=this[_0x437c4c(0x90)][_0x437c4c(0x10d)][_0x437c4c(0x16f)];this[_0x437c4c(0x90)][_0x437c4c(0x10d)][_0x437c4c(0x16f)]=(..._0x5b70b9)=>{const _0x39ec23=_0x437c4c;if(!_0x5b70b9[_0x5b70b9[_0x39ec23(0x143)]-0x1][_0x39ec23(0xbf)])throw new _0x40c897(_0x39ec23(0x9a),this);_0x4da5e4[_0x39ec23(0x182)](this[_0x39ec23(0x90)][_0x39ec23(0x10d)],_0x5b70b9);};}[_0x311249(0x16a)](){const _0x2f6aba=_0x311249;this[_0x2f6aba(0x90)][_0x2f6aba(0x10d)]['on'](_0x2f6aba(0xe6),(_0x333ec3,[_0xc65d0a])=>{const _0x4f43de=_0x2f6aba;if(this[_0x4f43de(0x194)][_0x4f43de(0x117)])throw new _0x40c897(_0x4f43de(0xa8),this);_0x333ec3[_0x4f43de(0xbb)](),this[_0x4f43de(0x168)]();const _0x303a39=this[_0x4f43de(0x90)][_0x4f43de(0x14e)][_0x4f43de(0x9e)](_0x4f43de(0x187)),_0x51b59b=this[_0x4f43de(0xdb)](_0xc65d0a,_0x303a39);0x0==_0x51b59b[_0x4f43de(0x143)]&&_0x51b59b[_0x4f43de(0xad)](new _0x2057d4(0x0)),_0x333ec3[_0x4f43de(0x115)]=this[_0x4f43de(0x12a)](_0x51b59b)[_0x4f43de(0x103)](()=>{const _0x2d2194=_0x4f43de;this[_0x2d2194(0x90)][_0x2d2194(0x193)][_0x2d2194(0x9e)](_0x1a0ccc)[_0x2d2194(0x10c)](this),this[_0x2d2194(0x90)][_0x2d2194(0x10d)][_0x2d2194(0xe5)](_0x2d2194(0xa4));})[_0x4f43de(0xfc)](_0x24ba24=>this[_0x4f43de(0xde)](_0x4f43de(0xb9),_0x24ba24))[_0x4f43de(0x15e)](()=>this[_0x4f43de(0xd1)]());},{'priority':_0x2f6aba(0x164)}),this[_0x2f6aba(0x90)]['on'](_0x2f6aba(0xb2),async(_0x5e0978,[_0x1ce4d5,_0x39cacc])=>{const _0x444ad8=_0x2f6aba;_0x5e0978[_0x444ad8(0xbb)]();const _0x638654=this[_0x444ad8(0x90)][_0x444ad8(0x116)][_0x444ad8(0x138)][_0x444ad8(0x11c)](_0x1ce4d5);if(!this[_0x444ad8(0xf7)][_0x444ad8(0x144)](_0x1ce4d5)){const _0x39c3bf=_0x39cacc&&_0x39cacc[_0x444ad8(0x10d)]?_0x39cacc[_0x444ad8(0x10d)]:'',_0x326203=_0x39cacc&&_0x39cacc[_0x444ad8(0x102)]?_0x39cacc[_0x444ad8(0x102)]:{};await this[_0x444ad8(0x191)](_0x1ce4d5,_0x39c3bf,_0x326203);}this[_0x444ad8(0x90)][_0x444ad8(0x116)][_0x444ad8(0x13d)]({'isUndoable':!0x1},()=>{const _0x2473cc=_0x444ad8;_0x638654[_0x2473cc(0xa6)]=!0x0,this[_0x2473cc(0x90)][_0x2473cc(0x116)][_0x2473cc(0x138)][_0x2473cc(0x129)][_0x2473cc(0xe4)](_0x638654);});},{'priority':_0x2f6aba(0x164)});}async[_0x311249(0xaa)](_0x17c43b){const _0x2a9aeb=_0x311249,_0x422cb6=this[_0x2a9aeb(0x90)][_0x2a9aeb(0x193)][_0x2a9aeb(0x9e)](_0x22875c),{connection:_0x3811c5}=this[_0x2a9aeb(0x90)][_0x2a9aeb(0x193)][_0x2a9aeb(0x9e)](_0x1a0ccc),_0xe5ad55=new Set();for(const _0x31d0a6 of _0x17c43b){const _0xe31689=_0x31d0a6[_0x2a9aeb(0xc9)];_0xe31689&&!_0x422cb6[_0x2a9aeb(0x9f)](_0xe31689)&&_0xe5ad55[_0x2a9aeb(0xa1)](_0xe31689);}if(0x0===_0xe5ad55[_0x2a9aeb(0xf5)])return;const _0x1a18bd=await _0x22719e[_0x2a9aeb(0x11f)](_0x3811c5,Array[_0x2a9aeb(0xf0)](_0xe5ad55));for(const _0x19d513 of _0x1a18bd)_0x422cb6[_0x2a9aeb(0x9f)](_0x19d513['id'])||_0x422cb6[_0x2a9aeb(0xf6)](_0x19d513);}[_0x311249(0xdb)](_0x250d8a,_0xf8f522={}){const _0x54df52=_0x311249,_0xe0ee2b=this[_0x54df52(0x90)][_0x54df52(0x116)],_0x1fbca6=[];let _0x53d946=0x0;const _0x55e40d=_0x54df52(0x155)==typeof _0x250d8a?{'main':_0x250d8a}:_0x250d8a;for(const _0x5015db of Object[_0x54df52(0xfd)](_0x55e40d)){if(!this[_0x54df52(0x194)][_0x54df52(0x136)][_0x54df52(0x144)](_0x5015db))throw new _0x40c897(_0x54df52(0x148),this);const _0x5bf517=this[_0x54df52(0x90)][_0x54df52(0x10d)][_0x54df52(0xda)](_0x55e40d[_0x5015db]),_0x1a6d15=this[_0x54df52(0x194)][_0x54df52(0x11c)](_0x5015db),_0x5de782=new _0x183675(_0xe0ee2b[_0x54df52(0x17d)](_0x1a6d15,0x0),_0x5bf517,_0x53d946++);_0x1fbca6[_0x54df52(0xad)](_0x5de782);for(const [_0x9bfe3e,_0x3fc626]of _0x5bf517[_0x54df52(0x105)]){const _0x590383=_0xe0ee2b[_0x54df52(0xec)](_0xe0ee2b[_0x54df52(0x177)](_0x1a6d15,_0x3fc626[_0x54df52(0xb0)][_0x54df52(0x16c)][_0x54df52(0xe1)]()),_0xe0ee2b[_0x54df52(0x177)](_0x1a6d15,_0x3fc626[_0x54df52(0x167)][_0x54df52(0x16c)][_0x54df52(0xe1)]())),_0x34a7b6=new _0x99ed8f(_0x9bfe3e,null,_0x590383,_0xe0ee2b[_0x54df52(0x105)],!0x0,_0x53d946++);_0x1fbca6[_0x54df52(0xad)](_0x34a7b6);}}if(_0xf8f522)for(const [_0xc258ff,_0x28e646]of Object[_0x54df52(0x188)](_0xf8f522)){const _0x795b4d=_0xe0ee2b[_0x54df52(0x138)][_0x54df52(0x11c)](_0xc258ff);if(!_0x795b4d)throw new _0x40c897(_0x54df52(0x192),null);for(const [_0x37aabd,_0x5b1704]of Object[_0x54df52(0x188)](_0x28e646))if(null!==_0x5b1704){const _0x147bf0=new _0x3e23b1(_0x795b4d,_0x37aabd,null,_0x5b1704,_0x53d946++);_0x1fbca6[_0x54df52(0xad)](_0x147bf0);}}return _0x1fbca6;}async[_0x311249(0x191)](_0x5126d9,_0x557a3d,_0x402f94){const _0x462c23=_0x311249;this[_0x462c23(0xdb)]({[_0x5126d9]:_0x557a3d},{[_0x5126d9]:_0x402f94})[_0x462c23(0x166)]((_0x484719,_0x149403)=>{const _0x50f6bd=_0x462c23;_0x484719[_0x50f6bd(0x137)]=this[_0x50f6bd(0x194)][_0x50f6bd(0x117)]+_0x149403,_0x484719[_0x50f6bd(0x9c)]=!0x0,this[_0x50f6bd(0x142)](_0x484719);}),this[_0x462c23(0x111)](),await this[_0x462c23(0x160)]();}async[_0x311249(0x112)](_0x3d4a35,_0x381e68){const _0x14d99b=_0x311249;let _0x12ddc5;this[_0x14d99b(0x12c)]=_0x3d4a35[_0x14d99b(0x176)];const _0x107209=_0x3d4a35[_0x14d99b(0xc3)]&&!_0x3d4a35[_0x14d99b(0x17a)],_0x293fb2=_0x107209?0x0:_0x3d4a35[_0x14d99b(0x10d)][_0x14d99b(0x137)];if(_0x381e68[_0x14d99b(0x166)](_0x2d1aaa=>{const _0x4de3ac=_0x14d99b;_0x2d1aaa[_0x4de3ac(0x9c)]=!0x0,_0x2d1aaa[_0x4de3ac(0x12b)]=_0x3d4a35[_0x4de3ac(0xe7)],_0x2d1aaa[_0x4de3ac(0xc9)]=null;}),_0x107209)_0x12ddc5=_0x381e68,this[_0x14d99b(0x150)](_0x12ddc5,_0x107209);else{if(_0x3d4a35[_0x14d99b(0x17a)]){const _0xad9179=this[_0x14d99b(0xdb)](_0x3d4a35[_0x14d99b(0x17a)]);this[_0x14d99b(0x194)][_0x14d99b(0x169)][_0x14d99b(0x117)]=-_0xad9179[_0x14d99b(0x143)],_0xad9179[_0x14d99b(0x166)](_0x23e0fd=>{const _0x258f15=_0x14d99b;_0x23e0fd[_0x258f15(0x137)]-=_0xad9179[_0x258f15(0x143)],_0x23e0fd[_0x258f15(0x12b)]=_0x3d4a35[_0x258f15(0xe7)],_0x23e0fd[_0x258f15(0x9c)]=!0x0,_0x23e0fd[_0x258f15(0xc9)]=null;}),this[_0x14d99b(0x150)](_0xad9179,!0x0),this[_0x14d99b(0x13a)][_0x14d99b(0x117)]=-_0xad9179[_0x14d99b(0x143)]+this[_0x14d99b(0x12c)],this[_0x14d99b(0x146)](_0xad9179);}this[_0x14d99b(0x194)][_0x14d99b(0x169)][_0x14d99b(0x117)]=_0x293fb2,_0x12ddc5=this[_0x14d99b(0x16b)](_0x3d4a35[_0x14d99b(0x10d)],_0x3d4a35[_0x14d99b(0xd5)]),await this[_0x14d99b(0xaa)](_0x12ddc5),this[_0x14d99b(0x150)](_0x12ddc5,_0x107209);}_0x3d4a35[_0x14d99b(0x10a)]&&(this[_0x14d99b(0xfa)][_0x14d99b(0x126)](_0x12ddc5,_0x3d4a35[_0x14d99b(0x10a)]),this[_0x14d99b(0x15c)]=_0x3d4a35[_0x14d99b(0x10a)]),this[_0x14d99b(0x13a)][_0x14d99b(0x117)]=_0x293fb2+this[_0x14d99b(0x12c)],this[_0x14d99b(0x146)](_0x12ddc5),_0x381e68[_0x14d99b(0x110)](_0x392402=>{const _0x17c3fd=_0x14d99b,_0x3f643c=this[_0x17c3fd(0x127)](_0x392402);return _0x3f643c&&!this[_0x17c3fd(0xf7)][_0x17c3fd(0x144)](_0x3f643c);})[_0x14d99b(0x166)]((_0x8a780c,_0x103569)=>{const _0x4601cb=_0x14d99b;_0x8a780c[_0x4601cb(0x137)]=this[_0x4601cb(0x194)][_0x4601cb(0x117)]+_0x103569,this[_0x4601cb(0x142)](_0x8a780c);}),this[_0x14d99b(0xb6)]()?(this[_0x14d99b(0xea)]=0x0,this[_0x14d99b(0x111)](!0x0),await this[_0x14d99b(0x160)]()):(this[_0x14d99b(0x91)]=!0x1,this[_0x14d99b(0xd1)]());}[_0x311249(0xde)](_0x2c98dd,_0x167303){const _0x13e048=_0x311249,_0x59c6be=_0x167303&&_0x167303[_0x13e048(0x178)];if(_0x59c6be&&_0x59c6be[_0x13e048(0xf4)](_0x13e048(0x96)))throw _0x167303;const _0x498c55=this[_0x13e048(0x90)][_0x13e048(0x193)][_0x13e048(0x9e)](_0x1a0ccc);throw this[_0x13e048(0x91)]=!0x0,_0x498c55[_0x13e048(0xb8)](),this[_0x13e048(0x90)][_0x13e048(0xfe)](_0x13e048(0xcb)),new _0x40c897(_0x2c98dd,this[_0x13e048(0x90)],_0x59c6be?{'originalError':_0x59c6be}:void 0x0);}[_0x311249(0x142)](_0x54bf4f){const _0x4024a8=_0x311249;this[_0x4024a8(0xa2)][_0x4024a8(0x144)](_0x54bf4f)||(this[_0x4024a8(0xa2)][_0x4024a8(0xa1)](_0x54bf4f),this[_0x4024a8(0x179)][_0x4024a8(0xad)](_0x54bf4f),this[_0x4024a8(0xcf)]||_0x4024a8(0x18e)==_0x54bf4f[_0x4024a8(0x151)]&&!_0x54bf4f[_0x4024a8(0x15b)]||this[_0x4024a8(0x168)]());}[_0x311249(0x111)](_0x1febc8=!0x1){const _0xfe3bf5=_0x311249;!_0x1febc8&&this[_0xfe3bf5(0x91)]||(this[_0xfe3bf5(0x91)]=!0x0,clearTimeout(this[_0xfe3bf5(0xc5)]),this[_0xfe3bf5(0xc5)]=setTimeout(()=>{const _0x353d1e=_0xfe3bf5;this[_0x353d1e(0x98)]()[_0x353d1e(0x103)](_0x541a1a=>{const _0x885fe1=_0x353d1e;_0x541a1a&&(this[_0x885fe1(0xd1)](),this[_0x885fe1(0x91)]=!0x1);})[_0x353d1e(0xfc)](_0x2db93d=>{const _0x4264e2=_0x353d1e;this[_0x4264e2(0xd1)](),this[_0x4264e2(0x91)]=!0x1,function(_0x3e276b){const _0x30a0ec=_0x4264e2;return _0x3e276b[_0x30a0ec(0x178)][_0x30a0ec(0xf4)](_0x30a0ec(0x10b))||_0x3e276b[_0x30a0ec(0x178)][_0x30a0ec(0xf4)](_0x30a0ec(0xd3))||_0x3e276b[_0x30a0ec(0x178)][_0x30a0ec(0xf4)](_0x30a0ec(0x18f));}(_0x2db93d)||this[_0x4264e2(0xde)](_0x2db93d[_0x4264e2(0x178)],_0x2db93d);});},this[_0xfe3bf5(0xea)]));}[_0x311249(0x160)](){return new Promise(_0x39940a=>{const _0x242463=_0x1fad;this['on'](_0x242463(0x141),()=>{_0x39940a();});});}async[_0x311249(0x98)](){const _0x4b3cf2=_0x311249,_0x3ccde9=this[_0x4b3cf2(0x90)][_0x4b3cf2(0x193)][_0x4b3cf2(0x9e)](_0x50f671);if(this[_0x4b3cf2(0xe0)]()&&(_0x3ccde9[_0x4b3cf2(0xdc)](),this[_0x4b3cf2(0xc2)]=!0x1),!this[_0x4b3cf2(0xb6)]())return!0x0;const _0x3e5d85=[...this[_0x4b3cf2(0x179)]];for(const _0x4a4523 of _0x3e5d85)_0x4a4523[_0x4b3cf2(0x195)]=this[_0x4b3cf2(0x194)][_0x4b3cf2(0x169)][_0x4b3cf2(0x14d)](_0x4a4523);const _0x2a619b=this[_0x4b3cf2(0xfa)][_0x4b3cf2(0x104)](_0x3e5d85),_0x3fa8ae=q++,_0x5b4c63=this[_0x4b3cf2(0x13f)](_0x3e5d85),_0x5e58cf=await this[_0x4b3cf2(0x18a)][_0x4b3cf2(0x134)](_0x5b4c63,_0x5b4c63[_0x4b3cf2(0x137)],_0x2a619b);try{return await this[_0x4b3cf2(0x18c)](_0x3e5d85,_0x5e58cf,_0x3fa8ae);}catch(_0x3fabb7){return this[_0x4b3cf2(0xde)](_0x4b3cf2(0xa9),_0x3fabb7);}}async[_0x311249(0x18c)](_0x43e9e4,_0x1d98e8,_0x1873d7){const _0x2a216c=_0x311249;if(_0x2a216c(0x10f)in _0x1d98e8)throw _0x1d98e8[_0x2a216c(0x10f)];let _0x29d7f4=!0x1;if(_0x1d98e8[_0x2a216c(0xc3)]){_0x1d98e8[_0x2a216c(0x10a)]&&(this[_0x2a216c(0x15c)]=_0x1d98e8[_0x2a216c(0x10a)]),this[_0x2a216c(0x179)]=this[_0x2a216c(0x179)][_0x2a216c(0x110)](_0x400578=>!_0x43e9e4[_0x2a216c(0x15f)](_0x400578));for(const _0x63e4ab of _0x43e9e4)_0x63e4ab[_0x2a216c(0x12b)]=_0x2a216c(0x133)in _0x1d98e8&&_0x1d98e8[_0x2a216c(0x133)]||void 0x0;$(_0x43e9e4,_0x1d98e8[_0x2a216c(0x117)]-_0x43e9e4[_0x2a216c(0x143)]),this[_0x2a216c(0x146)](_0x43e9e4);const _0x26e81d=_0x43e9e4[_0x2a216c(0x110)](_0x3993b3=>{const _0x1591dc=_0x2a216c;if(!_0x3993b3[_0x1591dc(0x9c)])return!0x1;const _0x529096=this[_0x1591dc(0x127)](_0x3993b3);return _0x529096&&!this[_0x1591dc(0xf7)][_0x1591dc(0x144)](_0x529096);});$(_0x26e81d,this[_0x2a216c(0x194)][_0x2a216c(0x117)]),this[_0x2a216c(0x150)](_0x26e81d),_0x29d7f4=!0x0,this[_0x2a216c(0xea)]=this[_0x2a216c(0x9b)];}else{const _0x122316=this[_0x2a216c(0x16b)](_0x1d98e8[_0x2a216c(0x10d)],_0x1d98e8[_0x2a216c(0xd5)])[_0x2a216c(0x110)](_0x1e86cb=>_0x1e86cb[_0x2a216c(0x137)]>=this[_0x2a216c(0xa7)]);_0x122316[_0x2a216c(0x166)](_0x316fed=>this[_0x2a216c(0x120)](_0x316fed)),this[_0x2a216c(0x179)]=this[_0x2a216c(0x179)][_0x2a216c(0x110)](_0x5b7652=>!_0x5b7652[_0x2a216c(0x9c)]||!this[_0x2a216c(0xf7)][_0x2a216c(0x144)](this[_0x2a216c(0x127)](_0x5b7652))),this[_0x2a216c(0x179)][_0x2a216c(0x143)]&&$(this[_0x2a216c(0x179)],this[_0x2a216c(0x179)][0x0][_0x2a216c(0x137)]),await this[_0x2a216c(0xaa)](_0x122316),_0x29d7f4=this[_0x2a216c(0x92)](_0x122316,_0x1d98e8[_0x2a216c(0x117)],_0x1d98e8[_0x2a216c(0x10a)]),this[_0x2a216c(0xea)]=Math[_0x2a216c(0x149)](this[_0x2a216c(0xea)]/0x2);}return _0x29d7f4?!this[_0x2a216c(0xb6)]()||(this[_0x2a216c(0x111)](!0x0),!0x1):this[_0x2a216c(0xde)](_0x2a216c(0xb7));}[_0x311249(0x92)](_0x1666e5,_0x17fda9,_0x366b34){const _0x3c7c34=_0x311249;try{const _0x2a834f={'document':this[_0x3c7c34(0x194)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x16edff,operationsB:_0x473d79,originalOperations:_0x2d0967}=_0x58c5c9(_0x1666e5,this[_0x3c7c34(0x179)],_0x2a834f);$(_0x16edff,this[_0x3c7c34(0x194)][_0x3c7c34(0x117)]),$(_0x473d79,_0x17fda9);for(const _0x4d861d of _0x16edff){const _0xd18bf9=_0x2d0967[_0x3c7c34(0x9e)](_0x4d861d);_0x4d861d[_0x3c7c34(0xc9)]=_0xd18bf9?_0xd18bf9[_0x3c7c34(0xc9)]:null;}_0x366b34&&(this[_0x3c7c34(0xfa)][_0x3c7c34(0x126)](_0x1666e5,_0x366b34),this[_0x3c7c34(0x15c)]=_0x366b34),this[_0x3c7c34(0x179)]=[..._0x473d79],this[_0x3c7c34(0x150)](_0x16edff),this[_0x3c7c34(0x146)](_0x1666e5);}catch(_0x2e04cf){return console[_0x3c7c34(0x10f)](_0x2e04cf),!0x1;}return!0x0;}[_0x311249(0x150)](_0x1213f7,_0x1e53e2=!0x1){const _0xe61c3=_0x311249;this[_0xe61c3(0x90)][_0xe61c3(0x116)][_0xe61c3(0x13d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x15a61a=>{const _0x4e5540=_0xe61c3;for(const _0x10033b of _0x1213f7)this[_0x4e5540(0xa2)][_0x4e5540(0xa1)](_0x10033b),this[_0x4e5540(0x120)](_0x10033b),_0x15a61a[_0x4e5540(0x17b)][_0x4e5540(0x10e)](_0x10033b),this[_0x4e5540(0x90)][_0x4e5540(0x116)][_0x4e5540(0x93)](_0x10033b);});}[_0x311249(0x120)](_0x189b43){const _0x1b9122=_0x311249,_0x412c2e=this[_0x1b9122(0x127)](_0x189b43);_0x412c2e&&this[_0x1b9122(0xf7)][_0x1b9122(0xa1)](_0x412c2e);}[_0x311249(0x127)](_0x381fe1){const _0x52f361=_0x311249;let _0x1097b8,_0x226dd1;switch(_0x381fe1[_0x52f361(0x151)]){case _0x52f361(0x106):_0x1097b8=_0x381fe1[_0x52f361(0x154)][_0x52f361(0x135)];break;case _0x52f361(0x18e):if(_0x226dd1=_0x381fe1[_0x52f361(0x11e)],!_0x226dd1)return null;_0x1097b8=_0x226dd1[_0x52f361(0x135)];break;case _0x52f361(0xb4):_0x1097b8=_0x381fe1[_0x52f361(0x135)];break;case _0x52f361(0x147):_0x1097b8=_0x381fe1[_0x52f361(0x15d)];break;case _0x52f361(0xff):_0x1097b8=_0x381fe1[_0x52f361(0xd8)][_0x52f361(0x135)];break;default:return null;}return _0x1097b8[_0x52f361(0x109)];}[_0x311249(0x146)](_0x511e17){const _0x296480=_0x311249;_0x511e17[_0x296480(0x166)](_0x459a25=>{const _0x254f45=_0x296480,_0x330c6c=_0x459a25[_0x254f45(0x131)]();_0x330c6c[_0x254f45(0xc9)]=_0x459a25[_0x254f45(0xc9)],_0x330c6c[_0x254f45(0x9c)]=!!_0x459a25[_0x254f45(0x9c)],_0x330c6c[_0x254f45(0x12b)]=_0x459a25[_0x254f45(0x12b)],_0x330c6c[_0x254f45(0x137)]+=this[_0x254f45(0x12c)],_0x459a25[_0x254f45(0xdf)]&&this[_0x254f45(0xaf)][_0x254f45(0xa1)](_0x330c6c),this[_0x254f45(0x13a)][_0x254f45(0x10e)](_0x330c6c);});}[_0x311249(0x12d)](_0x3359b2){const _0x427b68=_0x311249,_0xdcf7c4=this[_0x427b68(0x90)][_0x427b68(0x193)][_0x427b68(0x9e)](_0x427b68(0xae)),_0x2a65f2=this[_0x427b68(0x90)][_0x427b68(0xe3)];_0x3359b2||(_0x3359b2=_0x367e81(_0x2a65f2,_0x427b68(0xd6))),_0xdcf7c4[_0x427b68(0xcc)](_0x3359b2,{'title':_0x367e81(_0x2a65f2,_0x427b68(0xb1)),'namespace':_0x427b68(0x107)}),this[_0x427b68(0x121)]=!0x0,clearTimeout(this[_0x427b68(0xc5)]),this[_0x427b68(0x179)]=[],this[_0x427b68(0x90)][_0x427b68(0x193)][_0x427b68(0x9e)](_0x1a0ccc)[_0x427b68(0xb8)]();}[_0x311249(0x168)](){const _0x245bb9=_0x311249;this[_0x245bb9(0xcf)]||(this[_0x245bb9(0xcf)]=this[_0x245bb9(0x90)][_0x245bb9(0x193)][_0x245bb9(0x9e)](_0x2c5b7c)[_0x245bb9(0xa1)](_0x367e81(this[_0x245bb9(0x90)][_0x245bb9(0xe3)],_0x245bb9(0x14a))));}[_0x311249(0xd1)](){const _0x5c0341=_0x311249;this[_0x5c0341(0xcf)]&&(this[_0x5c0341(0x90)][_0x5c0341(0x193)][_0x5c0341(0x9e)](_0x2c5b7c)[_0x5c0341(0xab)](this[_0x5c0341(0xcf)]),this[_0x5c0341(0xcf)]=null);}[_0x311249(0x13f)](_0x268977){const _0x43f326=_0x311249,_0x1bbbcf=_0x268977[_0x43f326(0x183)](_0xbc9ac5=>_0xbc9ac5[_0x43f326(0x124)]());return this[_0x43f326(0xfb)][_0x43f326(0x118)](_0x1bbbcf);}[_0x311249(0x16b)](_0x10ee54,_0xdfe8e){const _0xbb6223=_0x311249;return this[_0xbb6223(0xfb)][_0xbb6223(0x159)](_0x10ee54)[_0xbb6223(0x183)]((_0x1badb4,_0x40a968)=>{const _0x4662aa=_0xbb6223,_0x2b3b2d=_0x4662aa(0xe6)==_0xdfe8e[_0x40a968][_0x4662aa(0x151)];if(_0x4662aa(0x186)==_0x1badb4[_0x4662aa(0x11b)]){const _0x23333d=_0x1badb4[_0x4662aa(0x154)][_0x4662aa(0x135)];!this[_0x4662aa(0x194)][_0x4662aa(0x11c)](_0x23333d)&&(this[_0x4662aa(0x194)][_0x4662aa(0x158)](_0x4662aa(0x130),_0x23333d)[_0x4662aa(0x101)]=!0x1);}const _0x2ddc38=_0x404ae6[_0x4662aa(0x11d)](_0x1badb4,this[_0x4662aa(0x194)]);return _0x2ddc38[_0x4662aa(0x195)]=_0x1badb4[_0x4662aa(0x195)],_0x2ddc38[_0x4662aa(0x9c)]=_0x2b3b2d,_0x2ddc38[_0x4662aa(0xc9)]=_0x2b3b2d?null:_0xdfe8e[_0x40a968][_0x4662aa(0x161)],_0x2ddc38[_0x4662aa(0xdf)]=_0x4662aa(0xed)===_0xdfe8e[_0x40a968][_0x4662aa(0x151)],_0x2ddc38[_0x4662aa(0x12b)]=_0xdfe8e[_0x40a968][_0x4662aa(0x12b)],_0x2ddc38;});}[_0x311249(0xd4)](){const _0x27cf1c=_0x311249;this[_0x27cf1c(0xc2)]=!0x0,this[_0x27cf1c(0xe0)]()?this[_0x27cf1c(0x111)]():this[_0x27cf1c(0xc2)]=!0x1;}[_0x311249(0xe0)](){const _0x3083b1=_0x311249,_0x11094a=this[_0x3083b1(0x90)][_0x3083b1(0x193)][_0x3083b1(0x9e)](_0x51b161)[_0x3083b1(0x132)][_0x3083b1(0x9e)](this[_0x3083b1(0x140)]);return!this[_0x3083b1(0x90)][_0x3083b1(0x165)]&&!!_0x11094a&&_0x11094a[_0x3083b1(0x143)]>0x1&&this[_0x3083b1(0xc2)];}[_0x311249(0xb6)](){const _0x5571cd=_0x311249;return this[_0x5571cd(0x179)][_0x5571cd(0x143)]>0x0||this[_0x5571cd(0xe0)]();}}class G extends Error{}function $(_0x2a6750,_0x310970){const _0x26901d=_0x311249;for(const _0x148649 of _0x2a6750)_0x148649[_0x26901d(0x137)]=_0x310970++;}class K{[_0x311249(0xd2)];[_0x311249(0x95)];constructor(_0x5281b7){const _0x1044eb=_0x311249;this[_0x1044eb(0xd2)]=_0x5281b7,this[_0x1044eb(0x95)]=new WeakMap();}[_0x311249(0x104)](_0x34cbc6){const _0x3f6d38=_0x311249;let _0x43156e=_0x34cbc6[_0x3f6d38(0x143)];for(;_0x43156e--;){const _0x5059a8=_0x34cbc6[_0x43156e];if(!this[_0x3f6d38(0xd2)][_0x3f6d38(0x144)](_0x5059a8)){if(!this[_0x3f6d38(0x95)][_0x3f6d38(0x144)](_0x5059a8)){const _0x27daf6=_0x3b35a5()[_0x3f6d38(0xe1)](0x1,0x12);this[_0x3f6d38(0x95)][_0x3f6d38(0x16f)](_0x5059a8,_0x27daf6);}return this[_0x3f6d38(0x95)][_0x3f6d38(0x9e)](_0x5059a8);}}}[_0x311249(0x126)](_0x56e76f,_0x226713){const _0x433e39=_0x311249;if(!_0x226713)return;let _0x1982c0=_0x56e76f[_0x433e39(0x143)];for(;_0x1982c0--;){const _0x4dc1a4=_0x56e76f[_0x1982c0];this[_0x433e39(0xd2)][_0x433e39(0x144)](_0x4dc1a4)||this[_0x433e39(0x95)][_0x433e39(0x16f)](_0x4dc1a4,_0x226713);}}}
|
|
23
|
+
const _0x108ca0=_0x207e;(function(_0x193372,_0x16721d){const _0x111fdc=_0x207e,_0x2f9d7e=_0x193372();while(!![]){try{const _0x458a24=-parseInt(_0x111fdc(0x23c))/0x1+-parseInt(_0x111fdc(0x214))/0x2*(parseInt(_0x111fdc(0x191))/0x3)+-parseInt(_0x111fdc(0x1d4))/0x4*(-parseInt(_0x111fdc(0x228))/0x5)+parseInt(_0x111fdc(0x1ab))/0x6*(parseInt(_0x111fdc(0x1ca))/0x7)+-parseInt(_0x111fdc(0x192))/0x8+parseInt(_0x111fdc(0x1c4))/0x9+-parseInt(_0x111fdc(0x201))/0xa*(-parseInt(_0x111fdc(0x1f7))/0xb);if(_0x458a24===_0x16721d)break;else _0x2f9d7e['push'](_0x2f9d7e['shift']());}catch(_0xc6b52d){_0x2f9d7e['push'](_0x2f9d7e['shift']());}}}(_0x5093,0x4be38));import{Plugin as _0x2276b9,PendingActions as _0x2f8d61}from'ckeditor5/src/core.js';import{CKEditorError as _0x45d589,version as _0x314ad3,uid as _0xd2597f}from'ckeditor5/src/utils.js';import{Notification as _0x5d33da}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x195ca6,NoOperation as _0x553543,InsertOperation as _0x452d13,MarkerOperation as _0x4fb063,RootAttributeOperation as _0x2b7478,OperationFactory as _0xd850f9,History as _0x4e2a25}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x219d60}from'./websocketgateway.js';import{Sessions as _0x3b1d4f}from'./sessions.js';import{UserMarkers as _0x11d344}from'./usermarkers.js';import{getTranslation as _0x4a912a}from'../common-translations.js';import{Compressor as _0x320b72}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x914714}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xb62880,CollaborativeEditingService as _0x339b93}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x207e(_0x1532cb,_0x11fd61){const _0x509325=_0x5093();return _0x207e=function(_0x207e48,_0x553ce2){_0x207e48=_0x207e48-0x191;let _0x511b02=_0x509325[_0x207e48];return _0x511b02;},_0x207e(_0x1532cb,_0x11fd61);}let X=0x1;export class RealTimeCollaborationClient extends _0x2276b9{static [_0x108ca0(0x1f1)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x339b93)());[_0x108ca0(0x22f)];[_0x108ca0(0x19a)];[_0x108ca0(0x21a)];[_0x108ca0(0x22c)];[_0x108ca0(0x240)];[_0x108ca0(0x1b9)];[_0x108ca0(0x238)];[_0x108ca0(0x20f)];[_0x108ca0(0x219)];[_0x108ca0(0x21f)];[_0x108ca0(0x1e6)];[_0x108ca0(0x1a5)];[_0x108ca0(0x1af)];[_0x108ca0(0x1c5)];[_0x108ca0(0x1b7)];[_0x108ca0(0x277)];[_0x108ca0(0x256)];[_0x108ca0(0x1b6)];static get[_0x108ca0(0x1e2)](){return[_0x219d60,_0x3b1d4f,_0x11d344,_0x2f8d61,_0x914714,_0x5d33da];}static get[_0x108ca0(0x19f)](){const _0xd00951=_0x108ca0;return _0xd00951(0x21c);}static get[_0x108ca0(0x283)](){return!0x0;}static get[_0x108ca0(0x1d7)](){return!0x0;}get[_0x108ca0(0x24e)](){const _0x517493=_0x108ca0;return this[_0x517493(0x1b4)]+this[_0x517493(0x22f)];}get[_0x108ca0(0x1b4)](){const _0x51bfd2=_0x108ca0;return this[_0x51bfd2(0x21a)][_0x51bfd2(0x1e9)]-this[_0x51bfd2(0x22f)];}get[_0x108ca0(0x1b0)](){const _0x51a3fe=_0x108ca0,_0x47cc28=this[_0x51a3fe(0x21a)][_0x51a3fe(0x1d1)]();for(let _0x254f88=_0x47cc28[_0x51a3fe(0x282)]-0x1;_0x254f88>=0x0;_0x254f88--){const _0x47492e=_0x47cc28[_0x254f88];if(!this[_0x51a3fe(0x256)][_0x51a3fe(0x1bd)](_0x47492e))return _0x47492e[_0x51a3fe(0x1c6)]+0x1-this[_0x51a3fe(0x22f)];}return 0x0;}constructor(_0x356d3f){const _0x318b12=_0x108ca0;if(super(_0x356d3f),this[_0x318b12(0x22f)]=0x0,this[_0x318b12(0x19a)]=null,this[_0x318b12(0x21a)]=new _0x4e2a25(),this[_0x318b12(0x212)][_0x318b12(0x25b)][_0x318b12(0x1bb)](_0x318b12(0x24a),{}),this[_0x318b12(0x22c)]=this[_0x318b12(0x212)][_0x318b12(0x25b)][_0x318b12(0x1be)](_0x318b12(0x195)),!this[_0x318b12(0x22c)])throw new _0x45d589(_0x318b12(0x279),this);const _0x2631b5=_0x356d3f[_0x318b12(0x25b)][_0x318b12(0x1be)](_0x318b12(0x259))||_0x314ad3;this[_0x318b12(0x240)]=new RealTimeCollaborationClient[(_0x318b12(0x1f1))](_0x2631b5,this[_0x318b12(0x22c)]),this[_0x318b12(0x1b9)]=this[_0x318b12(0x212)][_0x318b12(0x278)][_0x318b12(0x28a)],this[_0x318b12(0x238)]=new _0x320b72(),this[_0x318b12(0x20f)]=[],this[_0x318b12(0x219)]=new WeakSet(),this[_0x318b12(0x21f)]=new Set(),this[_0x318b12(0x286)](_0x318b12(0x234),!0x1),this[_0x318b12(0x286)](_0x318b12(0x1ed),!0x1),this[_0x318b12(0x1e6)]=null,this[_0x318b12(0x1a5)]=!0x1,this[_0x318b12(0x1af)]=null,this[_0x318b12(0x1c5)]=0x12c,this[_0x318b12(0x1b7)]=this[_0x318b12(0x1c5)],this[_0x318b12(0x277)]=null,this[_0x318b12(0x256)]=new WeakSet(),this[_0x318b12(0x1b6)]=new tt(this[_0x318b12(0x256)]);}[_0x108ca0(0x215)](){const _0x4c11e7=_0x108ca0,_0x3cd487=this[_0x4c11e7(0x212)],_0x2e8ffc=_0x3cd487[_0x4c11e7(0x224)][_0x4c11e7(0x1be)](_0x914714),_0x495805=_0x3cd487[_0x4c11e7(0x224)][_0x4c11e7(0x1be)](_0x219d60);this[_0x4c11e7(0x276)](_0x2e8ffc,_0x4c11e7(0x1df),(_0x23cbf4,_0x3b0f9a)=>{const _0x2056bd=_0x4c11e7,_0x43de34=_0x3b0f9a[0x0];_0x43de34[_0x2056bd(0x21e)]&&(_0x23cbf4[_0x2056bd(0x216)]=_0x2e8ffc[_0x2056bd(0x24b)](_0x43de34[_0x2056bd(0x21e)]),_0x23cbf4[_0x2056bd(0x1a9)]()),null===_0x43de34[_0x2056bd(0x21e)]&&(_0x23cbf4[_0x2056bd(0x216)]=null,_0x23cbf4[_0x2056bd(0x1a9)]());},{'priority':_0x4c11e7(0x1d2)}),this[_0x4c11e7(0x276)](_0x3cd487[_0x4c11e7(0x278)][_0x4c11e7(0x28a)][_0x4c11e7(0x207)],_0x4c11e7(0x265),(_0x2278ff,_0x1dd389)=>{const _0x2ca455=_0x4c11e7;_0x1dd389[_0x2ca455(0x1cd)]&&this[_0x2ca455(0x22e)]();}),this[_0x4c11e7(0x276)](_0x3cd487[_0x4c11e7(0x20b)][_0x4c11e7(0x297)],_0x4c11e7(0x1ea),()=>{const _0x20420e=_0x4c11e7;this[_0x20420e(0x22e)]();}),this[_0x4c11e7(0x239)](),_0x3cd487[_0x4c11e7(0x278)]['on'](_0x4c11e7(0x1e4),(_0xc1e91e,_0x5ed802)=>{const _0x303330=_0x4c11e7,_0x1c10f4=_0x5ed802[0x0];_0x1c10f4[_0x303330(0x1cb)]&&(this[_0x303330(0x1f3)](_0x1c10f4),this[_0x303330(0x1c3)]()&&this[_0x303330(0x1f0)]());}),this[_0x4c11e7(0x246)](),this[_0x4c11e7(0x266)](_0x4c11e7(0x1e8))['to'](_0x495805,_0x4c11e7(0x1c9),this,_0x4c11e7(0x1ed),(_0x105fdf,_0x3d1b55)=>_0x4c11e7(0x292)===_0x105fdf&&!_0x3d1b55),this['on'](_0x4c11e7(0x27d),()=>{const _0x442744=_0x4c11e7;this[_0x442744(0x1e8)]?_0x3cd487[_0x442744(0x22a)](_0x442744(0x20e)):_0x3cd487[_0x442744(0x26c)](_0x442744(0x20e));}),this[_0x4c11e7(0x1e8)]?_0x3cd487[_0x4c11e7(0x22a)](_0x4c11e7(0x20e)):_0x3cd487[_0x4c11e7(0x26c)](_0x4c11e7(0x20e)),this[_0x4c11e7(0x286)](_0x4c11e7(0x1ac),!0x1);}async[_0x108ca0(0x1f8)](){const _0x1755f5=_0x108ca0,_0xf08220=this[_0x1755f5(0x212)][_0x1755f5(0x224)][_0x1755f5(0x1be)](_0x3b1d4f),_0xe6549b=this[_0x1755f5(0x212)][_0x1755f5(0x224)][_0x1755f5(0x1be)](_0x219d60);try{this[_0x1755f5(0x234)]=!0x0,_0xf08220[_0x1755f5(0x25c)](this[_0x1755f5(0x22c)]);const _0x21eb42=await this[_0x1755f5(0x240)][_0x1755f5(0x1f8)](_0xe6549b[_0x1755f5(0x281)],this[_0x1755f5(0x1b0)]);await this[_0x1755f5(0x21b)](_0x21eb42)&&(this[_0x1755f5(0x234)]=!0x1,this[_0x1755f5(0x204)]());const _0x25267d=await this[_0x1755f5(0x240)][_0x1755f5(0x1e7)]();_0xf08220[_0x1755f5(0x1ce)](this[_0x1755f5(0x22c)],_0x25267d),this[_0x1755f5(0x25e)](),this[_0x1755f5(0x1ac)]=!0x0;}catch(_0x145024){if(function(_0x3819d9){const _0x11f7cf=_0x1755f5;return _0x11f7cf(0x202)===_0x3819d9[_0x11f7cf(0x296)];}(_0x145024)&&this[_0x1755f5(0x19a)])await this[_0x1755f5(0x1b1)]();else{if(function(_0x347ec0){const _0xb2cb98=_0x1755f5;return _0xb2cb98(0x245)===_0x347ec0[_0xb2cb98(0x296)];}(_0x145024)){const _0x785761=_0x4a912a(this[_0x1755f5(0x212)][_0x1755f5(0x288)],_0x1755f5(0x227));this[_0x1755f5(0x28f)](_0x785761);}else{if(!(_0x145024 instanceof Y))throw _0x145024;this[_0x1755f5(0x28f)]();}}}}[_0x108ca0(0x1a3)](){const _0xd67df6=_0x108ca0,_0x153f92=this[_0xd67df6(0x212)][_0xd67df6(0x224)][_0xd67df6(0x1be)](_0x219d60),_0x492be2=this[_0xd67df6(0x212)][_0xd67df6(0x224)][_0xd67df6(0x1be)](_0x3b1d4f);this[_0xd67df6(0x212)][_0xd67df6(0x26c)](_0xd67df6(0x26f)),_0x492be2[_0xd67df6(0x1db)][_0xd67df6(0x1bd)](this[_0xd67df6(0x22c)])&&_0x492be2[_0xd67df6(0x25c)](this[_0xd67df6(0x22c)]),_0x153f92[_0xd67df6(0x275)](this),this[_0xd67df6(0x24f)](),super[_0xd67df6(0x1a3)]();}async[_0x108ca0(0x21b)](_0x22ef8d){const _0x518d20=_0x108ca0;if(this[_0x518d20(0x19a)]!==_0x22ef8d[_0x518d20(0x19a)]&&this[_0x518d20(0x277)]!==_0x22ef8d[_0x518d20(0x230)])throw new Y();return this[_0x518d20(0x19a)]=_0x22ef8d[_0x518d20(0x19a)],this[_0x518d20(0x1a2)]([],{..._0x22ef8d,'wereChangesApplied':!0x1,'data':_0x22ef8d[_0x518d20(0x1c2)]},_0x518d20(0x1f8));}async[_0x108ca0(0x1f2)](_0x590e03,_0x4b6976=!0x1){const _0xcf5279=_0x108ca0,{connection:_0x38c6a9}=this[_0xcf5279(0x212)][_0xcf5279(0x224)][_0xcf5279(0x1be)](_0x219d60);RealTimeCollaborationClient[_0xcf5279(0x1f1)][_0xcf5279(0x1e7)](_0x38c6a9,this[_0xcf5279(0x22c)])[_0xcf5279(0x257)](_0x1c1925=>this[_0xcf5279(0x24d)](_0x1c1925))[_0xcf5279(0x23b)](_0x5d0591=>{const _0x2c37b2=_0xcf5279;this[_0x2c37b2(0x1e0)](_0x2c37b2(0x23e),_0x5d0591);}),this[_0xcf5279(0x276)](this[_0xcf5279(0x240)],_0xcf5279(0x19e),this[_0xcf5279(0x272)][_0xcf5279(0x266)](this)),this[_0xcf5279(0x276)](this[_0xcf5279(0x240)],_0xcf5279(0x295),(_0x1670bf,_0x24e950)=>{const _0x18570f=_0xcf5279;this[_0x18570f(0x1e0)](_0x18570f(0x27b),_0x24e950);}),this[_0xcf5279(0x276)](this[_0xcf5279(0x240)],_0xcf5279(0x217),()=>{const _0x56f8be=_0xcf5279;this[_0x56f8be(0x1ac)]=!0x1;});const _0x4f2ea5=this[_0xcf5279(0x1b6)][_0xcf5279(0x1a0)](_0x590e03);this[_0xcf5279(0x234)]=!0x0;const _0x4de543=await this[_0xcf5279(0x240)][_0xcf5279(0x25a)](_0x38c6a9,this[_0xcf5279(0x1fe)](_0x590e03),_0x4f2ea5);if(this[_0xcf5279(0x19a)]=_0x4de543[_0xcf5279(0x19a)],_0x4b6976){if(!_0x4de543[_0xcf5279(0x194)])return void this[_0xcf5279(0x28f)]();this[_0xcf5279(0x234)]=!0x1,this[_0xcf5279(0x204)](),this[_0xcf5279(0x21a)][_0xcf5279(0x248)](),this[_0xcf5279(0x22f)]=_0x4de543[_0xcf5279(0x221)],this[_0xcf5279(0x21a)][_0xcf5279(0x1e9)]=this[_0xcf5279(0x22f)],await this[_0xcf5279(0x1a2)](_0x590e03,_0x4de543,_0xcf5279(0x1e3));}else await this[_0xcf5279(0x269)](_0x4de543,_0x590e03);this[_0xcf5279(0x25e)](),this[_0xcf5279(0x1ac)]=!0x0;}[_0x108ca0(0x25e)](){const _0x6d61d4=_0x108ca0,_0x1a629c=this[_0x6d61d4(0x212)][_0x6d61d4(0x224)][_0x6d61d4(0x1be)](_0x3b1d4f),_0xe7bc73=this[_0x6d61d4(0x212)][_0x6d61d4(0x224)][_0x6d61d4(0x1be)](_0x11d344),_0x3521a6=_0x1a629c[_0x6d61d4(0x1db)][_0x6d61d4(0x1be)](this[_0x6d61d4(0x22c)]);_0x3521a6&&_0x3521a6[_0x6d61d4(0x282)]>0x1?_0xe7bc73[_0x6d61d4(0x1a1)]():this[_0x6d61d4(0x276)](_0x1a629c,_0x6d61d4(0x236)+this[_0x6d61d4(0x22c)],()=>{const _0x724773=_0x6d61d4;0x2===_0x1a629c[_0x724773(0x1db)][_0x724773(0x1be)](this[_0x724773(0x22c)])[_0x724773(0x282)]&&_0xe7bc73[_0x724773(0x1a1)]();});}async[_0x108ca0(0x272)](_0x4b3fe0,_0x2b6f97,_0x32d8c8,_0x443944){const _0x1bdf46=_0x108ca0;if(!this[_0x1bdf46(0x234)]&&this[_0x1bdf46(0x1b9)][_0x1bdf46(0x1e9)]==_0x2b6f97){const _0x2ae1cb=this[_0x1bdf46(0x1d8)](_0x32d8c8,_0x443944);await this[_0x1bdf46(0x222)](_0x2ae1cb),this[_0x1bdf46(0x1fb)](_0x2ae1cb,_0x2b6f97,_0x32d8c8[_0x1bdf46(0x230)])||this[_0x1bdf46(0x1e0)](_0x1bdf46(0x1a7));}}async[_0x108ca0(0x1b1)](){const _0x59d440=_0x108ca0;this[_0x59d440(0x24f)]();const {locale:_0x14b81e}=this[_0x59d440(0x212)];let _0x58a0d7;try{_0x58a0d7=await this[_0x59d440(0x240)][_0x59d440(0x27f)]();}catch{const _0x523174=_0x4a912a(_0x14b81e,_0x59d440(0x253));return void this[_0x59d440(0x28f)](_0x523174);}const _0x3a842b=_0x58a0d7[_0x59d440(0x232)]||_0x58a0d7[_0x59d440(0x21d)];if(this[_0x59d440(0x277)]!==_0x3a842b[_0x59d440(0x230)]){const _0x119d4f=_0x4a912a(_0x14b81e,_0x59d440(0x258));return void this[_0x59d440(0x28f)](_0x119d4f);}await this[_0x59d440(0x1f2)](this[_0x59d440(0x212)][_0x59d440(0x278)][_0x59d440(0x28a)][_0x59d440(0x26b)][_0x59d440(0x1d1)](),!0x0);}[_0x108ca0(0x24f)](){const _0x5bd513=_0x108ca0;this[_0x5bd513(0x240)][_0x5bd513(0x1d6)](),this[_0x5bd513(0x20f)]=[],clearTimeout(this[_0x5bd513(0x1af)]),this[_0x5bd513(0x1ff)](this[_0x5bd513(0x240)]);}[_0x108ca0(0x24d)](_0x1b3f11){const _0x1dbf33=_0x108ca0,_0x2d0ed2=this[_0x1dbf33(0x212)][_0x1dbf33(0x224)][_0x1dbf33(0x1be)](_0x3b1d4f);this[_0x1dbf33(0x276)](_0x2d0ed2,_0x1dbf33(0x236)+this[_0x1dbf33(0x22c)],(_0x59ee36,{session:_0x4d8c7c})=>{const _0x2d6178=_0x1dbf33;if(_0x4d8c7c['id']===_0x2d0ed2[_0x2d6178(0x250)]){_0x59ee36[_0x2d6178(0x223)]();const _0x416cc0=this[_0x2d6178(0x212)][_0x2d6178(0x224)][_0x2d6178(0x1bd)](_0x2d6178(0x20d))&&this[_0x2d6178(0x212)][_0x2d6178(0x224)][_0x2d6178(0x1be)](_0x2d6178(0x20d));let _0x256c1e=_0x4d8c7c[_0x2d6178(0x209)];_0x416cc0&&_0x416cc0[_0x2d6178(0x1c1)]&&(_0x256c1e=_0x256c1e[_0x2d6178(0x1dc)](_0x2ab153=>_0x2d6178(0x23a)!==_0x2ab153)),this[_0x2d6178(0x212)][_0x2d6178(0x224)][_0x2d6178(0x1be)](_0x2d6178(0x23f))[_0x2d6178(0x1d5)](_0x256c1e,this[_0x2d6178(0x22c)]);}}),_0x2d0ed2[_0x1dbf33(0x1ce)](this[_0x1dbf33(0x22c)],_0x1b3f11);}[_0x108ca0(0x239)](){const _0x4ded23=_0x108ca0,_0x5ce893=this[_0x4ded23(0x212)][_0x4ded23(0x1c2)][_0x4ded23(0x286)];this[_0x4ded23(0x212)][_0x4ded23(0x1c2)][_0x4ded23(0x286)]=(..._0x291d02)=>{const _0x3f6648=_0x4ded23;if(!_0x291d02[_0x291d02[_0x3f6648(0x282)]-0x1][_0x3f6648(0x1bf)])throw new _0x45d589(_0x3f6648(0x284),this);_0x5ce893[_0x3f6648(0x254)](this[_0x3f6648(0x212)][_0x3f6648(0x1c2)],_0x291d02);};}[_0x108ca0(0x246)](){const _0x36fc67=_0x108ca0;this[_0x36fc67(0x212)][_0x36fc67(0x1c2)]['on'](_0x36fc67(0x215),(_0x3c145b,[_0x99b451])=>{const _0x34e324=_0x36fc67;if(this[_0x34e324(0x1b9)][_0x34e324(0x1e9)])throw new _0x45d589(_0x34e324(0x271),this);_0x3c145b[_0x34e324(0x1a9)](),this[_0x34e324(0x1e1)]();const _0x19745d=this[_0x34e324(0x212)][_0x34e324(0x25b)][_0x34e324(0x1be)](_0x34e324(0x1b8)),_0x30f651=this[_0x34e324(0x285)](_0x99b451,_0x19745d);0x0==_0x30f651[_0x34e324(0x282)]&&_0x30f651[_0x34e324(0x263)](new _0x553543(0x0)),_0x3c145b[_0x34e324(0x216)]=this[_0x34e324(0x1f2)](_0x30f651)[_0x34e324(0x257)](()=>{const _0x1961f9=_0x34e324;this[_0x1961f9(0x212)][_0x1961f9(0x224)][_0x1961f9(0x1be)](_0x219d60)[_0x1961f9(0x200)](this),this[_0x1961f9(0x212)][_0x1961f9(0x1c2)][_0x1961f9(0x28c)](_0x1961f9(0x210));})[_0x34e324(0x23b)](_0x5cc00b=>this[_0x34e324(0x1e0)](_0x34e324(0x231),_0x5cc00b))[_0x34e324(0x1da)](()=>this[_0x34e324(0x204)]());},{'priority':_0x36fc67(0x1d2)}),this[_0x36fc67(0x212)]['on'](_0x36fc67(0x1ad),async(_0x74f709,[_0x35f71f,_0xe44095])=>{const _0xa29ad2=_0x36fc67;_0x74f709[_0xa29ad2(0x1a9)]();const _0x5ae485=this[_0xa29ad2(0x212)][_0xa29ad2(0x278)][_0xa29ad2(0x28a)][_0xa29ad2(0x274)](_0x35f71f);if(!this[_0xa29ad2(0x21f)][_0xa29ad2(0x1bd)](_0x35f71f)){const _0x104519=_0xe44095&&_0xe44095[_0xa29ad2(0x1c2)]?_0xe44095[_0xa29ad2(0x1c2)]:'',_0x839911=_0xe44095&&_0xe44095[_0xa29ad2(0x1a4)]?_0xe44095[_0xa29ad2(0x1a4)]:{};await this[_0xa29ad2(0x241)](_0x35f71f,_0x104519,_0x839911);}this[_0xa29ad2(0x212)][_0xa29ad2(0x278)][_0xa29ad2(0x23d)]({'isUndoable':!0x1},()=>{const _0x52b112=_0xa29ad2;_0x5ae485[_0x52b112(0x1f5)]=!0x0,this[_0x52b112(0x212)][_0x52b112(0x278)][_0x52b112(0x28a)][_0x52b112(0x1b3)][_0x52b112(0x1ba)](_0x5ae485);});},{'priority':_0x36fc67(0x1d2)});}async[_0x108ca0(0x222)](_0x1c687a){const _0xc063cc=_0x108ca0,_0x24cc6d=this[_0xc063cc(0x212)][_0xc063cc(0x224)][_0xc063cc(0x1be)](_0x914714),{connection:_0x41f347}=this[_0xc063cc(0x212)][_0xc063cc(0x224)][_0xc063cc(0x1be)](_0x219d60),_0x168d6c=new Set();for(const _0x31f217 of _0x1c687a){const _0x5cb640=_0x31f217[_0xc063cc(0x21e)];_0x5cb640&&!_0x24cc6d[_0xc063cc(0x24b)](_0x5cb640)&&_0x168d6c[_0xc063cc(0x1aa)](_0x5cb640);}if(0x0===_0x168d6c[_0xc063cc(0x247)])return;const _0x343b6a=await _0xb62880[_0xc063cc(0x27e)](_0x41f347,Array[_0xc063cc(0x211)](_0x168d6c));for(const _0x4732d8 of _0x343b6a)_0x24cc6d[_0xc063cc(0x24b)](_0x4732d8['id'])||_0x24cc6d[_0xc063cc(0x196)](_0x4732d8);}[_0x108ca0(0x285)](_0x330914,_0xce6ae4={}){const _0x462758=_0x108ca0,_0x3765d4=this[_0x462758(0x212)][_0x462758(0x278)],_0xb33c29=[];let _0xbd3332=0x0;const _0x4ca6ac=_0x462758(0x198)==typeof _0x330914?{'main':_0x330914}:_0x330914;for(const _0x48321a of Object[_0x462758(0x25d)](_0x4ca6ac)){if(!this[_0x462758(0x1b9)][_0x462758(0x226)][_0x462758(0x1bd)](_0x48321a))throw new _0x45d589(_0x462758(0x267),this);const _0x59b17c=this[_0x462758(0x212)][_0x462758(0x1c2)][_0x462758(0x1e5)](_0x4ca6ac[_0x48321a]),_0xa642ca=this[_0x462758(0x1b9)][_0x462758(0x274)](_0x48321a),_0x97c4a6=new _0x452d13(_0x3765d4[_0x462758(0x287)](_0xa642ca,0x0),_0x59b17c,_0xbd3332++);_0xb33c29[_0x462758(0x263)](_0x97c4a6);for(const [_0x404fb7,_0x5005c2]of _0x59b17c[_0x462758(0x19b)]){const _0x55cb7c=_0x3765d4[_0x462758(0x193)](_0x3765d4[_0x462758(0x20a)](_0xa642ca,_0x5005c2[_0x462758(0x1ef)][_0x462758(0x233)][_0x462758(0x220)]()),_0x3765d4[_0x462758(0x20a)](_0xa642ca,_0x5005c2[_0x462758(0x268)][_0x462758(0x233)][_0x462758(0x220)]())),_0x3945ec=new _0x4fb063(_0x404fb7,null,_0x55cb7c,_0x3765d4[_0x462758(0x19b)],!0x0,_0xbd3332++);_0xb33c29[_0x462758(0x263)](_0x3945ec);}}if(_0xce6ae4)for(const [_0x57abaf,_0x501bc8]of Object[_0x462758(0x24c)](_0xce6ae4)){const _0x1bac7b=_0x3765d4[_0x462758(0x28a)][_0x462758(0x274)](_0x57abaf);if(!_0x1bac7b)throw new _0x45d589(_0x462758(0x1f6),null);for(const [_0x576cde,_0x5507c1]of Object[_0x462758(0x24c)](_0x501bc8))if(null!==_0x5507c1){const _0x32db8e=new _0x2b7478(_0x1bac7b,_0x576cde,null,_0x5507c1,_0xbd3332++);_0xb33c29[_0x462758(0x263)](_0x32db8e);}}return _0xb33c29;}async[_0x108ca0(0x241)](_0x2d61fb,_0x30e780,_0x10d3fc){const _0x5f3447=_0x108ca0;this[_0x5f3447(0x285)]({[_0x2d61fb]:_0x30e780},{[_0x2d61fb]:_0x10d3fc})[_0x5f3447(0x26e)]((_0x1f7a34,_0x2ed0c1)=>{const _0x43e259=_0x5f3447;_0x1f7a34[_0x43e259(0x1c6)]=this[_0x43e259(0x1b9)][_0x43e259(0x1e9)]+_0x2ed0c1,_0x1f7a34[_0x43e259(0x19d)]=!0x0,this[_0x43e259(0x1f3)](_0x1f7a34);}),this[_0x5f3447(0x1f0)](),await this[_0x5f3447(0x206)]();}async[_0x108ca0(0x269)](_0x459c13,_0x347503){const _0x2d7018=_0x108ca0;let _0x5a6335;this[_0x2d7018(0x22f)]=_0x459c13[_0x2d7018(0x221)];const _0x152d91=_0x459c13[_0x2d7018(0x194)]&&!_0x459c13[_0x2d7018(0x1d0)],_0x1a55e9=_0x152d91?0x0:_0x459c13[_0x2d7018(0x1c2)][_0x2d7018(0x1c6)];if(_0x347503[_0x2d7018(0x26e)](_0x3ecbb7=>{const _0x309fcf=_0x2d7018;_0x3ecbb7[_0x309fcf(0x19d)]=!0x0,_0x3ecbb7[_0x309fcf(0x26d)]=_0x459c13[_0x309fcf(0x260)],_0x3ecbb7[_0x309fcf(0x21e)]=null;}),_0x152d91)_0x5a6335=_0x347503,this[_0x2d7018(0x1d9)](_0x5a6335,_0x152d91);else{if(_0x459c13[_0x2d7018(0x1d0)]){const _0x58b9b7=this[_0x2d7018(0x285)](_0x459c13[_0x2d7018(0x1d0)]);this[_0x2d7018(0x1b9)][_0x2d7018(0x26b)][_0x2d7018(0x1e9)]=-_0x58b9b7[_0x2d7018(0x282)],_0x58b9b7[_0x2d7018(0x26e)](_0x3c7958=>{const _0x5b1919=_0x2d7018;_0x3c7958[_0x5b1919(0x1c6)]-=_0x58b9b7[_0x5b1919(0x282)],_0x3c7958[_0x5b1919(0x26d)]=_0x459c13[_0x5b1919(0x260)],_0x3c7958[_0x5b1919(0x19d)]=!0x0,_0x3c7958[_0x5b1919(0x21e)]=null;}),this[_0x2d7018(0x1d9)](_0x58b9b7,!0x0),this[_0x2d7018(0x21a)][_0x2d7018(0x1e9)]=-_0x58b9b7[_0x2d7018(0x282)]+this[_0x2d7018(0x22f)],this[_0x2d7018(0x1c8)](_0x58b9b7);}this[_0x2d7018(0x1b9)][_0x2d7018(0x26b)][_0x2d7018(0x1e9)]=_0x1a55e9,_0x5a6335=this[_0x2d7018(0x1d8)](_0x459c13[_0x2d7018(0x1c2)],_0x459c13[_0x2d7018(0x1bc)]),await this[_0x2d7018(0x222)](_0x5a6335),this[_0x2d7018(0x1d9)](_0x5a6335,_0x152d91);}_0x459c13[_0x2d7018(0x230)]&&(this[_0x2d7018(0x1b6)][_0x2d7018(0x225)](_0x5a6335,_0x459c13[_0x2d7018(0x230)]),this[_0x2d7018(0x277)]=_0x459c13[_0x2d7018(0x230)]),this[_0x2d7018(0x21a)][_0x2d7018(0x1e9)]=_0x1a55e9+this[_0x2d7018(0x22f)],this[_0x2d7018(0x1c8)](_0x5a6335),_0x347503[_0x2d7018(0x1dc)](_0x33f0b4=>{const _0x4619c8=_0x2d7018,_0x315f22=this[_0x4619c8(0x1cc)](_0x33f0b4);return _0x315f22&&!this[_0x4619c8(0x21f)][_0x4619c8(0x1bd)](_0x315f22);})[_0x2d7018(0x26e)]((_0x32b4cc,_0x593129)=>{const _0x334450=_0x2d7018;_0x32b4cc[_0x334450(0x1c6)]=this[_0x334450(0x1b9)][_0x334450(0x1e9)]+_0x593129,this[_0x334450(0x1f3)](_0x32b4cc);}),this[_0x2d7018(0x1c3)]()?(this[_0x2d7018(0x1b7)]=0x0,this[_0x2d7018(0x1f0)](!0x0),await this[_0x2d7018(0x206)]()):(this[_0x2d7018(0x234)]=!0x1,this[_0x2d7018(0x204)]());}[_0x108ca0(0x1e0)](_0x606aa5,_0x2cbc63){const _0x23113e=_0x108ca0,_0x2979d2=_0x2cbc63&&_0x2cbc63[_0x23113e(0x1de)];if(_0x2979d2&&_0x2979d2[_0x23113e(0x28e)](_0x23113e(0x242)))throw _0x2cbc63;const _0x280102=this[_0x23113e(0x212)][_0x23113e(0x224)][_0x23113e(0x1be)](_0x219d60);throw this[_0x23113e(0x234)]=!0x0,_0x280102[_0x23113e(0x1d6)](),this[_0x23113e(0x212)][_0x23113e(0x26c)](_0x23113e(0x28b)),new _0x45d589(_0x606aa5,this[_0x23113e(0x212)],_0x2979d2?{'originalError':_0x2979d2}:void 0x0);}[_0x108ca0(0x1f3)](_0x1360d6){const _0x254bdb=_0x108ca0;this[_0x254bdb(0x219)][_0x254bdb(0x1bd)](_0x1360d6)||(this[_0x254bdb(0x219)][_0x254bdb(0x1aa)](_0x1360d6),this[_0x254bdb(0x20f)][_0x254bdb(0x263)](_0x1360d6),this[_0x254bdb(0x1e6)]||_0x254bdb(0x1ec)==_0x1360d6[_0x254bdb(0x26a)]&&!_0x1360d6[_0x254bdb(0x294)]||this[_0x254bdb(0x1e1)]());}[_0x108ca0(0x1f0)](_0x5cc766=!0x1){const _0x7dba9b=_0x108ca0;!_0x5cc766&&this[_0x7dba9b(0x234)]||(this[_0x7dba9b(0x234)]=!0x0,clearTimeout(this[_0x7dba9b(0x1af)]),this[_0x7dba9b(0x1af)]=setTimeout(()=>{const _0xf15320=_0x7dba9b;this[_0xf15320(0x22d)]()[_0xf15320(0x257)](_0x315750=>{const _0x2c3218=_0xf15320;_0x315750&&(this[_0x2c3218(0x204)](),this[_0x2c3218(0x234)]=!0x1);})[_0xf15320(0x23b)](_0x51db2f=>{const _0xa9084d=_0xf15320;this[_0xa9084d(0x204)](),this[_0xa9084d(0x234)]=!0x1,function(_0x2113c8){const _0x3a8b02=_0xa9084d;return _0x2113c8[_0x3a8b02(0x1de)][_0x3a8b02(0x28e)](_0x3a8b02(0x19c))||_0x2113c8[_0x3a8b02(0x1de)][_0x3a8b02(0x28e)](_0x3a8b02(0x252))||_0x2113c8[_0x3a8b02(0x1de)][_0x3a8b02(0x28e)](_0x3a8b02(0x22b));}(_0x51db2f)||this[_0xa9084d(0x1e0)](_0x51db2f[_0xa9084d(0x1de)],_0x51db2f);});},this[_0x7dba9b(0x1b7)]));}[_0x108ca0(0x206)](){return new Promise(_0x1fa57d=>{const _0x4821c8=_0x207e;this['on'](_0x4821c8(0x199),()=>{_0x1fa57d();});});}async[_0x108ca0(0x22d)](){const _0x38767b=_0x108ca0,_0x30ef6a=this[_0x38767b(0x212)][_0x38767b(0x224)][_0x38767b(0x1be)](_0x11d344);if(this[_0x38767b(0x249)]()&&(_0x30ef6a[_0x38767b(0x1a1)](),this[_0x38767b(0x1a5)]=!0x1),!this[_0x38767b(0x1c3)]())return!0x0;const _0x2a2483=[...this[_0x38767b(0x20f)]];for(const _0x50e4f2 of _0x2a2483)_0x50e4f2[_0x38767b(0x213)]=this[_0x38767b(0x1b9)][_0x38767b(0x26b)][_0x38767b(0x197)](_0x50e4f2);const _0x44bcc6=this[_0x38767b(0x1b6)][_0x38767b(0x1a0)](_0x2a2483),_0x5acc8d=X++,_0x5a5429=this[_0x38767b(0x1fe)](_0x2a2483),_0x11fc3d=await this[_0x38767b(0x240)][_0x38767b(0x1fa)](_0x5a5429,_0x5a5429[_0x38767b(0x1c6)],_0x44bcc6);try{return await this[_0x38767b(0x1a2)](_0x2a2483,_0x11fc3d,_0x5acc8d);}catch(_0xa56adb){return this[_0x38767b(0x1e0)](_0x38767b(0x1f9),_0xa56adb);}}async[_0x108ca0(0x1a2)](_0x5067af,_0x4ad972,_0x184e15){const _0x349123=_0x108ca0;if(_0x349123(0x295)in _0x4ad972)throw _0x4ad972[_0x349123(0x295)];let _0x397e18=!0x1;if(_0x4ad972[_0x349123(0x194)]){_0x4ad972[_0x349123(0x230)]&&(this[_0x349123(0x277)]=_0x4ad972[_0x349123(0x230)]),this[_0x349123(0x20f)]=this[_0x349123(0x20f)][_0x349123(0x1dc)](_0x1f4530=>!_0x5067af[_0x349123(0x243)](_0x1f4530));for(const _0x1e0009 of _0x5067af)_0x1e0009[_0x349123(0x26d)]=_0x349123(0x1b2)in _0x4ad972&&_0x4ad972[_0x349123(0x1b2)]||void 0x0;Z(_0x5067af,_0x4ad972[_0x349123(0x1e9)]-_0x5067af[_0x349123(0x282)]),this[_0x349123(0x1c8)](_0x5067af);const _0x260a02=_0x5067af[_0x349123(0x1dc)](_0x4810c3=>{const _0x35b1e0=_0x349123;if(!_0x4810c3[_0x35b1e0(0x19d)])return!0x1;const _0x1b2395=this[_0x35b1e0(0x1cc)](_0x4810c3);return _0x1b2395&&!this[_0x35b1e0(0x21f)][_0x35b1e0(0x1bd)](_0x1b2395);});Z(_0x260a02,this[_0x349123(0x1b9)][_0x349123(0x1e9)]),this[_0x349123(0x1d9)](_0x260a02),_0x397e18=!0x0,this[_0x349123(0x1b7)]=this[_0x349123(0x1c5)];}else{const _0x1897b7=this[_0x349123(0x1d8)](_0x4ad972[_0x349123(0x1c2)],_0x4ad972[_0x349123(0x1bc)])[_0x349123(0x1dc)](_0x3fe833=>_0x3fe833[_0x349123(0x1c6)]>=this[_0x349123(0x1b4)]);_0x1897b7[_0x349123(0x26e)](_0x1e1f2c=>this[_0x349123(0x1c0)](_0x1e1f2c)),this[_0x349123(0x20f)]=this[_0x349123(0x20f)][_0x349123(0x1dc)](_0xab8f70=>!_0xab8f70[_0x349123(0x19d)]||!this[_0x349123(0x21f)][_0x349123(0x1bd)](this[_0x349123(0x1cc)](_0xab8f70))),this[_0x349123(0x20f)][_0x349123(0x282)]&&Z(this[_0x349123(0x20f)],this[_0x349123(0x20f)][0x0][_0x349123(0x1c6)]),await this[_0x349123(0x222)](_0x1897b7),_0x397e18=this[_0x349123(0x1fb)](_0x1897b7,_0x4ad972[_0x349123(0x1e9)],_0x4ad972[_0x349123(0x230)]),this[_0x349123(0x1b7)]=Math[_0x349123(0x264)](this[_0x349123(0x1b7)]/0x2);}return _0x397e18?!this[_0x349123(0x1c3)]()||(this[_0x349123(0x1f0)](!0x0),!0x1):this[_0x349123(0x1e0)](_0x349123(0x28d));}[_0x108ca0(0x1fb)](_0x3c5085,_0x1c63a3,_0x355882){const _0x803417=_0x108ca0;try{const _0x28d177={'document':this[_0x803417(0x1b9)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xd7a663,operationsB:_0x102646,originalOperations:_0x3799d3}=_0x195ca6(_0x3c5085,this[_0x803417(0x20f)],_0x28d177);Z(_0xd7a663,this[_0x803417(0x1b9)][_0x803417(0x1e9)]),Z(_0x102646,_0x1c63a3);for(const _0x2aa3d2 of _0xd7a663){const _0x1dc5a1=_0x3799d3[_0x803417(0x1be)](_0x2aa3d2);_0x2aa3d2[_0x803417(0x21e)]=_0x1dc5a1?_0x1dc5a1[_0x803417(0x21e)]:null;}_0x355882&&(this[_0x803417(0x1b6)][_0x803417(0x225)](_0x3c5085,_0x355882),this[_0x803417(0x277)]=_0x355882),this[_0x803417(0x20f)]=[..._0x102646],this[_0x803417(0x1d9)](_0xd7a663),this[_0x803417(0x1c8)](_0x3c5085);}catch(_0x4948c8){return console[_0x803417(0x295)](_0x4948c8),!0x1;}return!0x0;}[_0x108ca0(0x1d9)](_0x559918,_0x52c260=!0x1){const _0x40e6f1=_0x108ca0;this[_0x40e6f1(0x212)][_0x40e6f1(0x278)][_0x40e6f1(0x23d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x55b2b0=>{const _0x24f5f0=_0x40e6f1;for(const _0x3cf344 of _0x559918)this[_0x24f5f0(0x219)][_0x24f5f0(0x1aa)](_0x3cf344),this[_0x24f5f0(0x1c0)](_0x3cf344),_0x55b2b0[_0x24f5f0(0x1cf)][_0x24f5f0(0x1dd)](_0x3cf344),this[_0x24f5f0(0x212)][_0x24f5f0(0x278)][_0x24f5f0(0x1e4)](_0x3cf344);});}[_0x108ca0(0x1c0)](_0xb956c5){const _0x3b212b=_0x108ca0,_0x498465=this[_0x3b212b(0x1cc)](_0xb956c5);_0x498465&&this[_0x3b212b(0x21f)][_0x3b212b(0x1aa)](_0x498465);}[_0x108ca0(0x1cc)](_0x399ae2){const _0x870418=_0x108ca0;let _0x6cafc9,_0x267bc3;switch(_0x399ae2[_0x870418(0x26a)]){case _0x870418(0x280):_0x6cafc9=_0x399ae2[_0x870418(0x251)][_0x870418(0x1fc)];break;case _0x870418(0x1ec):if(_0x267bc3=_0x399ae2[_0x870418(0x255)],!_0x267bc3)return null;_0x6cafc9=_0x267bc3[_0x870418(0x1fc)];break;case _0x870418(0x290):_0x6cafc9=_0x399ae2[_0x870418(0x1fc)];break;case _0x870418(0x1a8):_0x6cafc9=_0x399ae2[_0x870418(0x289)];break;case _0x870418(0x20c):_0x6cafc9=_0x399ae2[_0x870418(0x27a)][_0x870418(0x1fc)];break;default:return null;}return _0x6cafc9[_0x870418(0x218)];}[_0x108ca0(0x1c8)](_0x326dc9){const _0x3897b6=_0x108ca0;_0x326dc9[_0x3897b6(0x26e)](_0x504f1d=>{const _0xbafa6f=_0x3897b6,_0x23bbfa=_0x504f1d[_0xbafa6f(0x270)]();_0x23bbfa[_0xbafa6f(0x21e)]=_0x504f1d[_0xbafa6f(0x21e)],_0x23bbfa[_0xbafa6f(0x19d)]=!!_0x504f1d[_0xbafa6f(0x19d)],_0x23bbfa[_0xbafa6f(0x26d)]=_0x504f1d[_0xbafa6f(0x26d)],_0x23bbfa[_0xbafa6f(0x1c6)]+=this[_0xbafa6f(0x22f)],_0x504f1d[_0xbafa6f(0x208)]&&this[_0xbafa6f(0x256)][_0xbafa6f(0x1aa)](_0x23bbfa),this[_0xbafa6f(0x21a)][_0xbafa6f(0x1dd)](_0x23bbfa);});}[_0x108ca0(0x28f)](_0x3f0ce9){const _0x445c42=_0x108ca0,_0x47ec4e=this[_0x445c42(0x212)][_0x445c42(0x224)][_0x445c42(0x1be)](_0x445c42(0x27c)),_0x559106=this[_0x445c42(0x212)][_0x445c42(0x288)];_0x3f0ce9||(_0x3f0ce9=_0x4a912a(_0x559106,_0x445c42(0x1d3))),_0x47ec4e[_0x445c42(0x244)](_0x3f0ce9,{'title':_0x4a912a(_0x559106,_0x445c42(0x1c7)),'namespace':_0x445c42(0x25f)}),this[_0x445c42(0x1ed)]=!0x0,clearTimeout(this[_0x445c42(0x1af)]),this[_0x445c42(0x20f)]=[],this[_0x445c42(0x212)][_0x445c42(0x224)][_0x445c42(0x1be)](_0x219d60)[_0x445c42(0x1d6)]();}[_0x108ca0(0x1e1)](){const _0x47e7d4=_0x108ca0;this[_0x47e7d4(0x1e6)]||(this[_0x47e7d4(0x1e6)]=this[_0x47e7d4(0x212)][_0x47e7d4(0x224)][_0x47e7d4(0x1be)](_0x2f8d61)[_0x47e7d4(0x1aa)](_0x4a912a(this[_0x47e7d4(0x212)][_0x47e7d4(0x288)],_0x47e7d4(0x1b5))));}[_0x108ca0(0x204)](){const _0x3a6297=_0x108ca0;this[_0x3a6297(0x1e6)]&&(this[_0x3a6297(0x212)][_0x3a6297(0x224)][_0x3a6297(0x1be)](_0x2f8d61)[_0x3a6297(0x291)](this[_0x3a6297(0x1e6)]),this[_0x3a6297(0x1e6)]=null);}[_0x108ca0(0x1fe)](_0x50b92d){const _0x32014e=_0x108ca0,_0x576e90=_0x50b92d[_0x32014e(0x261)](_0x4880fb=>_0x4880fb[_0x32014e(0x1a6)]());return this[_0x32014e(0x238)][_0x32014e(0x237)](_0x576e90);}[_0x108ca0(0x1d8)](_0x3fd621,_0x2e323c){const _0xae4fa6=_0x108ca0;return this[_0xae4fa6(0x238)][_0xae4fa6(0x1fd)](_0x3fd621)[_0xae4fa6(0x261)]((_0x4707b8,_0x4cb5bc)=>{const _0x7acbfb=_0xae4fa6,_0x551846=_0x7acbfb(0x215)==_0x2e323c[_0x4cb5bc][_0x7acbfb(0x26a)];if(_0x7acbfb(0x203)==_0x4707b8[_0x7acbfb(0x205)]){const _0x1a78e9=_0x4707b8[_0x7acbfb(0x251)][_0x7acbfb(0x1fc)];!this[_0x7acbfb(0x1b9)][_0x7acbfb(0x274)](_0x1a78e9)&&(this[_0x7acbfb(0x1b9)][_0x7acbfb(0x1eb)](_0x7acbfb(0x273),_0x1a78e9)[_0x7acbfb(0x1f4)]=!0x1);}const _0x431677=_0xd850f9[_0x7acbfb(0x229)](_0x4707b8,this[_0x7acbfb(0x1b9)]);return _0x431677[_0x7acbfb(0x213)]=_0x4707b8[_0x7acbfb(0x213)],_0x431677[_0x7acbfb(0x19d)]=_0x551846,_0x431677[_0x7acbfb(0x21e)]=_0x551846?null:_0x2e323c[_0x4cb5bc][_0x7acbfb(0x235)],_0x431677[_0x7acbfb(0x208)]=_0x7acbfb(0x1ae)===_0x2e323c[_0x4cb5bc][_0x7acbfb(0x26a)],_0x431677[_0x7acbfb(0x26d)]=_0x2e323c[_0x4cb5bc][_0x7acbfb(0x26d)],_0x431677;});}[_0x108ca0(0x22e)](){const _0x455009=_0x108ca0;this[_0x455009(0x1a5)]=!0x0,this[_0x455009(0x249)]()?this[_0x455009(0x1f0)]():this[_0x455009(0x1a5)]=!0x1;}[_0x108ca0(0x249)](){const _0x48c636=_0x108ca0,_0x11784b=this[_0x48c636(0x212)][_0x48c636(0x224)][_0x48c636(0x1be)](_0x3b1d4f)[_0x48c636(0x1db)][_0x48c636(0x1be)](this[_0x48c636(0x22c)]);return!this[_0x48c636(0x212)][_0x48c636(0x1ee)]&&!!_0x11784b&&_0x11784b[_0x48c636(0x282)]>0x1&&this[_0x48c636(0x1a5)];}[_0x108ca0(0x1c3)](){const _0x418184=_0x108ca0;return this[_0x418184(0x20f)][_0x418184(0x282)]>0x0||this[_0x418184(0x249)]();}}class Y extends Error{}function _0x5093(){const _0x13525f=['_sendBufferedOperations','_refreshUserSelectionMarkers','_offset','lastOperationId','realtimecollaborationclient-init-connection-failed','currentDocumentSession','path','_isPendingUpdate','userId','sessionAdd:','compress','_compressor','_initThrowingOnDataSet','document:write','catch','333899LZYFcC','enqueueChange','realtimecollaborationclient-init-session-connection-error','Permissions','_service','_loadRoot','realtimecollaborationclient','includes','showWarning','409','_setUpDataInit','size','reset','_shouldSendSelectionUpdate','collaboration','getUser','entries','_initSessionsHandling','cloudDocumentVersion','_disconnectService','mySessionId','position','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','apply','newRange','_disconnectionOperations','then','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.','cloudServices.bundleVersion','connect','config','unregister','keys','_handleSendingSelectionMarkers','real-time-collaboration','sessionCreatedAt','map','_operationToId','push','round','change:range','bind','realtimecollaborationclient-init-non-existent-root','end','_handleInitialConnectionData','type','history','enableReadOnlyMode','createdAt','forEach','rtc-destroyed','clone','realtimecollaborationclient-init-document-already-initialized','_handleReceivedOperations','$root','getRoot','removeFromReconnectionStack','listenTo','_lastSyncedOperationId','model','collaboration-missing-channelid','targetPosition','realtimecollaborationclient-init-service-internal-error','Notification','change:_isEditingAllowed','getMany','getDocumentDetails','insert','connection','length','isOfficialPlugin','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_getOperationsFromInitData','set','createPositionAt','locale','affectedSelectable','document','realtimecollaborationclient-error','fire','realtimecollaborationclient-handleserverresponse','startsWith','_handleReconnectionError','addRootAttribute','remove','connected','_ignoredOperations','affectsData','error','code','view','1629tcljbv','2031640qEXrLA','createRange','wereChangesApplied','collaboration.channelId','addUser','isUndoneOperation','string','change:_isPendingUpdate','sessionId','markers','cloud-services-internal-error:\x20Not\x20connected.','_isInit','operationsReceived','pluginName','getIdOfTheLastOperation','createUserMarkerOperations','_handleServerResponse','destroy','attributes','_hasSelectionChanged','toJSON','realtimecollaborationclient-init-service-incorrect-server-operation','addRoot','stop','add','467358FUbbkE','_isConnected','loadRoot','cs:removeUser','_sendBufferedOperationsDelayId','lastSyncVersion','_connectAfterSessionHasBeenFlushed','lastOperationAcceptedAt','differ','_lastServerVersion','PENDING_ACTION_SENDING_DATA','_operationIdentifier','_currentBufferDelay','rootsAttributes','_document','_bufferRootLoad','define','metadata','has','get','suppressErrorInCollaboration','_addKnownRoot','isEnabled','data','_shouldSendUpdate','2424600JleGKH','_baseBufferDelay','baseVersion','Synchronization\x20issue','_updateServerHistory','state','28mKzClT','isDocumentOperation','_getAffectedRoot','directChange','register','batch','initData','getOperations','high','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.','236baMYGy','setPermissions','disconnect','isPremiumPlugin','_decompressOperations','_applyOperationsSet','finally','channelSessions','filter','addOperation','message','getOperationAuthor','_crash','_setPendingAction','requires','reconnection:\x20flushed\x20session','applyOperation','parse','_pendingAction','getConnectedSessions','_isEditingAllowed','version','change:hasDomSelection','createRoot','marker','_hasSynchronizationProblem','isReadOnly','start','_sendBufferedOperationsDelayed','CollaborativeEditingService','_connectService','_saveOperationInBuffer','_isAttached','_isLoaded','multi-root-editor-root-attributes-no-root','9300621CKjpWa','reconnect','realtimecollaborationclient-sendbufferedoperations','sendOperations','_handleExternalOperations','root','decompress','_compressOperations','stopListening','addToReconnectionStack','10yQptnU','404','InsertOperation','_clearPendingAction','__className','_waitUntilSynced','selection','_isDisconnection','permissions','createPositionFromPath','editing','move','CommentsOnly','rtc-offline','_bufferedOperations','ready','from','editor','wasUndone','1992uFSSmp','init','return','disconnected','rootName','_knownOperations','serverHistory','_handleReconnectionResponse','RealTimeCollaborationClient','lastDocumentSession','_authorId','_knownRootNames','slice','offset','_fetchMissingUsers','off','plugins','setIdForTheLastOperation','roots','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','1105QgRYwG','fromJSON','disableReadOnlyMode','cloud-services-internal-error:\x20Request\x20timeout.','_channelId'];_0x5093=function(){return _0x13525f;};return _0x5093();}function Z(_0x5d71a4,_0x38ab64){const _0x13577a=_0x108ca0;for(const _0x516c7e of _0x5d71a4)_0x516c7e[_0x13577a(0x1c6)]=_0x38ab64++;}class tt{[_0x108ca0(0x293)];[_0x108ca0(0x262)];constructor(_0x86d975){const _0x2d028f=_0x108ca0;this[_0x2d028f(0x293)]=_0x86d975,this[_0x2d028f(0x262)]=new WeakMap();}[_0x108ca0(0x1a0)](_0x7641ac){const _0x173a06=_0x108ca0;let _0x3aea28=_0x7641ac[_0x173a06(0x282)];for(;_0x3aea28--;){const _0x2c6c8b=_0x7641ac[_0x3aea28];if(!this[_0x173a06(0x293)][_0x173a06(0x1bd)](_0x2c6c8b)){if(!this[_0x173a06(0x262)][_0x173a06(0x1bd)](_0x2c6c8b)){const _0x14891f=_0xd2597f()[_0x173a06(0x220)](0x1,0x12);this[_0x173a06(0x262)][_0x173a06(0x286)](_0x2c6c8b,_0x14891f);}return this[_0x173a06(0x262)][_0x173a06(0x1be)](_0x2c6c8b);}}}[_0x108ca0(0x225)](_0x583845,_0x1be79b){const _0x128bca=_0x108ca0;if(!_0x1be79b)return;let _0x2d60a8=_0x583845[_0x128bca(0x282)];for(;_0x2d60a8--;){const _0x4647e8=_0x583845[_0x2d60a8];this[_0x128bca(0x293)][_0x128bca(0x1bd)](_0x4647e8)||this[_0x128bca(0x262)][_0x128bca(0x286)](_0x4647e8,_0x1be79b);}}}
|