@ckeditor/ckeditor5-real-time-collaboration 46.1.1-alpha.1 → 46.1.1-alpha.2
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": "46.1.1-alpha.
|
|
3
|
+
"version": "46.1.1-alpha.2",
|
|
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": "46.1.1-alpha.
|
|
51
|
-
"@ckeditor/ckeditor5-comments": "46.1.1-alpha.
|
|
52
|
-
"@ckeditor/ckeditor5-core": "46.1.1-alpha.
|
|
53
|
-
"@ckeditor/ckeditor5-editor-multi-root": "46.1.1-alpha.
|
|
54
|
-
"@ckeditor/ckeditor5-engine": "46.1.1-alpha.
|
|
55
|
-
"@ckeditor/ckeditor5-operations-compressor": "46.1.1-alpha.
|
|
56
|
-
"@ckeditor/ckeditor5-revision-history": "46.1.1-alpha.
|
|
57
|
-
"@ckeditor/ckeditor5-theme-lark": "46.1.1-alpha.
|
|
58
|
-
"@ckeditor/ckeditor5-track-changes": "46.1.1-alpha.
|
|
59
|
-
"@ckeditor/ckeditor5-ui": "46.1.1-alpha.
|
|
60
|
-
"@ckeditor/ckeditor5-utils": "46.1.1-alpha.
|
|
61
|
-
"ckeditor5": "46.1.1-alpha.
|
|
62
|
-
"ckeditor5-collaboration": "46.1.1-alpha.
|
|
50
|
+
"@ckeditor/ckeditor5-cloud-services": "46.1.1-alpha.2",
|
|
51
|
+
"@ckeditor/ckeditor5-comments": "46.1.1-alpha.2",
|
|
52
|
+
"@ckeditor/ckeditor5-core": "46.1.1-alpha.2",
|
|
53
|
+
"@ckeditor/ckeditor5-editor-multi-root": "46.1.1-alpha.2",
|
|
54
|
+
"@ckeditor/ckeditor5-engine": "46.1.1-alpha.2",
|
|
55
|
+
"@ckeditor/ckeditor5-operations-compressor": "46.1.1-alpha.2",
|
|
56
|
+
"@ckeditor/ckeditor5-revision-history": "46.1.1-alpha.2",
|
|
57
|
+
"@ckeditor/ckeditor5-theme-lark": "46.1.1-alpha.2",
|
|
58
|
+
"@ckeditor/ckeditor5-track-changes": "46.1.1-alpha.2",
|
|
59
|
+
"@ckeditor/ckeditor5-ui": "46.1.1-alpha.2",
|
|
60
|
+
"@ckeditor/ckeditor5-utils": "46.1.1-alpha.2",
|
|
61
|
+
"ckeditor5": "46.1.1-alpha.2",
|
|
62
|
+
"ckeditor5-collaboration": "46.1.1-alpha.2",
|
|
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 _0x4704d1=_0x1607;(function(_0x26d15f,_0x4a6809){const _0x5b7d86=_0x1607,_0x5b5e73=_0x26d15f();while(!![]){try{const _0x1bb638=-parseInt(_0x5b7d86(0x159))/0x1*(parseInt(_0x5b7d86(0x129))/0x2)+-parseInt(_0x5b7d86(0x15a))/0x3*(-parseInt(_0x5b7d86(0x11d))/0x4)+parseInt(_0x5b7d86(0xfd))/0x5*(parseInt(_0x5b7d86(0xff))/0x6)+parseInt(_0x5b7d86(0x11a))/0x7*(-parseInt(_0x5b7d86(0x137))/0x8)+-parseInt(_0x5b7d86(0x148))/0x9*(-parseInt(_0x5b7d86(0x127))/0xa)+parseInt(_0x5b7d86(0x123))/0xb*(parseInt(_0x5b7d86(0x133))/0xc)+-parseInt(_0x5b7d86(0xf8))/0xd*(-parseInt(_0x5b7d86(0x11e))/0xe);if(_0x1bb638===_0x4a6809)break;else _0x5b5e73['push'](_0x5b5e73['shift']());}catch(_0x4c3f24){_0x5b5e73['push'](_0x5b5e73['shift']());}}}(_0x3616,0xee19b));import{ContextPlugin as _0x55f321}from'ckeditor5/src/core.js';function _0x1607(_0x1c1542,_0xa466f6){const _0x36169e=_0x3616();return _0x1607=function(_0x1607ae,_0x4f9598){_0x1607ae=_0x1607ae-0xf0;let _0x182c9d=_0x36169e[_0x1607ae];return _0x182c9d;},_0x1607(_0x1c1542,_0xa466f6);}import{CKEditorError as _0x13d7f1,Collection as _0x4e04ef}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x2b9d99,BalloonPanelView as _0xa07dc6,BodyCollection as _0x39607f}from'ckeditor5/src/ui.js';import{isElement as _0x31aa02}from'es-toolkit/compat';function _0x3616(){const _0x2c6b8f=['pin','10TAebZT','isRendered','687334Tadqvz','presencelist-missing-container','_bodyCollection','min','presencelist:show','destroy','counterView','isCollapsed','plugins','presenceList.container','12kYVNzp','bind','view','_createView','8968UJOflG','reverse','balloonPanelView','isMe','config','button','usersCount','filter','context','isOfficialPlugin','select','Esc','isVisible','querySelectorAll','Shift+Tab','presencelist-collapseat-invalid-format','define','6580449hWWuSA','body','detachFromDom','currentDisplayedUsers','change:isFocused','number','onClick','from','sort','bindTo','checkIfScrollable','appendChild','input','allConnectedUsers','tabIndex','presenceList','attachToDom','1aXWcJH','813oOLEkC','get','presenceList.displayMe','init','find','requires','join','set','presenceDropdownView','[contenteditable]','remove','render','map','5477030rumeJq','Enter','presenceList.collapseAt','element','textarea','911550zSwfPE','[tabindex]','24dgEQqZ','keystrokes','unpin','using','isPremiumPlugin','offsetHeight','items','pluginName','ck\x20ck-presence-list__balloon','hideDropdown','Tab','presencelist:hide','PresenceListUI','offsetWidth','content','showDropdown','isFocusable','class','activeElement','focusTracker','execute','displayMe','_allConnectedUsers','listenTo','indexOf','_handleUserRemove','isExpanded','10409BhPpld','locale','hasTooltip','7356sVQziC','14GEpwFT',':not([disabled]):not([tabindex=\x22-1\x22])','length','focus','_handleUserAdd','6663503WKKNVf','inlineListView','add'];_0x3616=function(){return _0x2c6b8f;};return _0x3616();}import{Sessions as _0x3390d3}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0xbea274}from'./view/presencelistview.js';import{PresenceCounterView as _0x571032}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x251c21}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0xe63281}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x36d1d4}from'./view/presenceinlinelistitemview.js';const st={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x55f321{[_0x4704d1(0x14b)];[_0x4704d1(0x139)];[_0x4704d1(0x135)];[_0x4704d1(0xf3)];[_0x4704d1(0x12b)]=null;static get[_0x4704d1(0x106)](){const _0x12892c=_0x4704d1;return _0x12892c(0x10b);}static get[_0x4704d1(0x140)](){return!0x0;}static get[_0x4704d1(0x103)](){return!0x0;}constructor(_0x4ce849){const _0x5e8a55=_0x4704d1;super(_0x4ce849),this[_0x5e8a55(0x13f)][_0x5e8a55(0x13b)][_0x5e8a55(0x147)](_0x5e8a55(0x157),st);const _0x95bcef=_0x4ce849[_0x5e8a55(0x13b)][_0x5e8a55(0x15b)](_0x5e8a55(0xfa));if(_0x5e8a55(0x14d)!=typeof _0x95bcef)throw new _0x13d7f1(_0x5e8a55(0x146),this);if(_0x95bcef<0x1)throw new _0x13d7f1(_0x5e8a55(0x146),this);this[_0x5e8a55(0x115)]=this[_0x5e8a55(0x13f)][_0x5e8a55(0x131)][_0x5e8a55(0x15b)](_0x3390d3)[_0x5e8a55(0x155)],this[_0x5e8a55(0xf2)](_0x5e8a55(0x13d),0x0),this[_0x5e8a55(0x14b)]=new _0x4e04ef(),this[_0x5e8a55(0x139)]=new _0xa07dc6(),this[_0x5e8a55(0x139)][_0x5e8a55(0x110)]=_0x5e8a55(0x107),this[_0x5e8a55(0x135)]=this[_0x5e8a55(0x136)](),this[_0x5e8a55(0xf3)]=void 0x0;}static get[_0x4704d1(0xf0)](){return[_0x3390d3];}[_0x4704d1(0x15d)](){const _0x17305e=_0x4704d1;for(const _0x33e1d7 of this[_0x17305e(0x115)])this[_0x17305e(0x122)](_0x33e1d7);this[_0x17305e(0x116)](this[_0x17305e(0x115)],_0x17305e(0x125),(_0x4633cc,_0xd38cbb)=>{const _0x2f1908=_0x17305e;this[_0x2f1908(0x122)](_0xd38cbb);}),this[_0x17305e(0x116)](this[_0x17305e(0x115)],_0x17305e(0xf5),(_0x1bb15e,_0x31ff20)=>{const _0x421233=_0x17305e;this[_0x421233(0x118)](_0x31ff20);});}[_0x4704d1(0x136)](){const _0x45063f=_0x4704d1,_0x2ac4af=this[_0x45063f(0x13f)],_0x137b4d=new _0xbea274(this[_0x45063f(0x13f)][_0x45063f(0x11b)],this[_0x45063f(0x13f)][_0x45063f(0x13b)][_0x45063f(0x15b)](_0x45063f(0xfa))),_0x44fb40=this[_0x45063f(0x139)];if(!_0x31aa02(_0x2ac4af[_0x45063f(0x13b)][_0x45063f(0x15b)](_0x45063f(0x132))))throw new _0x13d7f1(_0x45063f(0x12a),this);return _0x137b4d[_0x45063f(0x12f)][_0x45063f(0x134)](_0x45063f(0x13d))['to'](this),_0x137b4d[_0x45063f(0x134)](_0x45063f(0x130))['to'](this,_0x45063f(0x13d),_0xabe969=>{const _0x45bc5b=_0x45063f,{collapseAt:_0x3904c2}=_0x2ac4af[_0x45bc5b(0x13b)][_0x45bc5b(0x15b)](_0x45bc5b(0x157)),_0x459c46=_0xabe969>=_0x3904c2;if(_0x459c46&&!_0x137b4d[_0x45bc5b(0x124)][_0x45bc5b(0x105)][_0x45bc5b(0x15e)](_0x32d11c=>_0x32d11c instanceof _0x571032)){const _0x4593d7=this[_0x45bc5b(0x13f)][_0x45bc5b(0x13b)][_0x45bc5b(0x15b)](_0x45bc5b(0xfa))-0x1;this[_0x45bc5b(0x14b)][_0x45bc5b(0x120)]==_0x4593d7&&this[_0x45bc5b(0x14b)][_0x45bc5b(0x120)]>0x1&&this[_0x45bc5b(0x14b)][_0x45bc5b(0xf5)](this[_0x45bc5b(0x14b)][_0x45bc5b(0x120)]-0x1),_0x137b4d[_0x45bc5b(0x124)][_0x45bc5b(0x105)][_0x45bc5b(0x125)](_0x137b4d[_0x45bc5b(0x12f)]);}return _0x459c46||this[_0x45bc5b(0x108)](),_0x459c46;}),_0x137b4d[_0x45063f(0x124)][_0x45063f(0x105)][_0x45063f(0x151)](this[_0x45063f(0x14b)])[_0x45063f(0x102)](_0x1c9693=>{const _0x3ff1e9=_0x45063f,_0x1b797a=_0x2ac4af[_0x3ff1e9(0x13b)][_0x3ff1e9(0x15b)](_0x3ff1e9(0x157)),_0x2c6d1f=new _0x36d1d4(_0x2ac4af[_0x3ff1e9(0x11b)],_0x1c9693,!!_0x1b797a[_0x3ff1e9(0x14e)]);return _0x2c6d1f[_0x3ff1e9(0x134)](_0x3ff1e9(0x11c))['to'](_0x137b4d,_0x3ff1e9(0x130),_0x136fa2=>!_0x136fa2),_0x2c6d1f[_0x3ff1e9(0x134)](_0x3ff1e9(0x10f))['to'](_0x137b4d,_0x3ff1e9(0x130),_0x4a08fe=>!_0x4a08fe),_0x1b797a[_0x3ff1e9(0x14e)]&&this[_0x3ff1e9(0x116)](_0x2c6d1f,_0x3ff1e9(0x113),()=>{const _0x195b08=_0x3ff1e9;this[_0x195b08(0x135)][_0x195b08(0x130)]||_0x1b797a[_0x195b08(0x14e)](_0x1c9693,_0x2c6d1f[_0x195b08(0xfb)]);}),_0x2c6d1f;}),this[_0x45063f(0x116)](_0x137b4d[_0x45063f(0x124)],_0x45063f(0x12d),()=>{const _0x192d21=_0x45063f;this[_0x192d21(0x135)][_0x192d21(0x130)]&&this[_0x192d21(0x10e)]();}),this[_0x45063f(0x116)](_0x137b4d[_0x45063f(0x124)],_0x45063f(0x10a),()=>{const _0x1f9087=_0x45063f;this[_0x1f9087(0xf3)]&&this[_0x1f9087(0x108)]();}),_0x137b4d[_0x45063f(0x124)][_0x45063f(0x100)][_0x45063f(0xf2)](_0x45063f(0xf9),(_0x2c77e2,_0x542d60)=>{const _0x28c5fb=_0x45063f;this[_0x28c5fb(0x135)][_0x28c5fb(0x130)]&&(this[_0x28c5fb(0x10e)](),_0x542d60());}),_0x137b4d[_0x45063f(0xf6)](),_0x44fb40[_0x45063f(0xf6)](),_0x2b9d99({'emitter':_0x137b4d,'activator':()=>_0x44fb40[_0x45063f(0x143)],'contextElements':[_0x44fb40[_0x45063f(0xfb)],_0x137b4d[_0x45063f(0x124)][_0x45063f(0xfb)]],'callback':()=>this[_0x45063f(0x108)]()}),_0x2ac4af[_0x45063f(0x13b)][_0x45063f(0x15b)](_0x45063f(0x132))[_0x45063f(0x153)](_0x137b4d[_0x45063f(0xfb)]),this[_0x45063f(0x12b)]=new _0x39607f(this[_0x45063f(0x13f)][_0x45063f(0x11b)]),this[_0x45063f(0x12b)][_0x45063f(0x158)](),this[_0x45063f(0x12b)][_0x45063f(0x125)](this[_0x45063f(0x139)]),_0x137b4d;}[_0x4704d1(0x122)](_0x290433){const _0x35f96f=_0x4704d1;if(!this[_0x35f96f(0x13f)][_0x35f96f(0x13b)][_0x35f96f(0x15b)](_0x35f96f(0x15c))&&_0x290433[_0x35f96f(0x13a)])return;const _0x406597=this[_0x35f96f(0x13f)][_0x35f96f(0x13b)][_0x35f96f(0x15b)](_0x35f96f(0xfa))-0x1;for(this[_0x35f96f(0x13d)]++;this[_0x35f96f(0x14b)][_0x35f96f(0x120)]>=_0x406597-(this[_0x35f96f(0x135)][_0x35f96f(0x130)]?0x1:0x0)&&this[_0x35f96f(0x14b)][_0x35f96f(0x120)]>0x1;)this[_0x35f96f(0x14b)][_0x35f96f(0xf5)](0x1);const _0x2c1b22=_0x290433[_0x35f96f(0x13a)]?0x0:this[_0x35f96f(0x14b)][_0x35f96f(0x120)];this[_0x35f96f(0x14b)][_0x35f96f(0x125)](_0x290433,_0x2c1b22);}[_0x4704d1(0x118)](_0x47a834){const _0x4cf2f1=_0x4704d1;this[_0x4cf2f1(0x13d)]--;const {collapseAt:_0x4c784a}=this[_0x4cf2f1(0x13f)][_0x4cf2f1(0x13b)][_0x4cf2f1(0x15b)](_0x4cf2f1(0x157)),_0x5c3f0e=this[_0x4cf2f1(0x13d)]>=_0x4c784a;if(this[_0x4cf2f1(0x14b)][_0x4cf2f1(0x15b)](_0x47a834['id']))this[_0x4cf2f1(0x14b)][_0x4cf2f1(0xf5)](_0x47a834['id']);else{if(_0x5c3f0e&&this[_0x4cf2f1(0x14b)][_0x4cf2f1(0x120)]+0x1===_0x4c784a-0x1)return;}if(this[_0x4cf2f1(0x14b)][_0x4cf2f1(0x120)]+(_0x5c3f0e?0x1:0x0)<this[_0x4cf2f1(0x13d)]){for(const _0x1148f0 of Array[_0x4cf2f1(0x14f)](this[_0x4cf2f1(0x115)])[_0x4cf2f1(0x138)]())if(!this[_0x4cf2f1(0x14b)][_0x4cf2f1(0x15b)](_0x1148f0['id'])&&(this[_0x4cf2f1(0x14b)][_0x4cf2f1(0x125)](_0x1148f0,Math[_0x4cf2f1(0x12c)](this[_0x4cf2f1(0x14b)][_0x4cf2f1(0x120)]-(_0x5c3f0e?0x1:0x0),0x1)),this[_0x4cf2f1(0x14b)][_0x4cf2f1(0x120)]+(_0x5c3f0e?0x1:0x0)===_0x4c784a-0x1))return;}}[_0x4704d1(0x10e)](){const _0x1a67b0=_0x4704d1;if(this[_0x1a67b0(0xf3)])return;const _0x101569=this[_0x1a67b0(0x13f)][_0x1a67b0(0x13b)][_0x1a67b0(0x15b)](_0x1a67b0(0x157));this[_0x1a67b0(0xf3)]=new _0x251c21(this[_0x1a67b0(0x13f)][_0x1a67b0(0x11b)],!!_0x101569[_0x1a67b0(0x14e)]),this[_0x1a67b0(0x135)][_0x1a67b0(0x124)][_0x1a67b0(0x119)]=!0x0,this[_0x1a67b0(0x116)](this[_0x1a67b0(0xf3)],_0x1a67b0(0x10a),()=>{const _0x2c4e62=_0x1a67b0;this[_0x2c4e62(0xf3)]&&this[_0x2c4e62(0x108)]();});const {listWrapperView:_0x2b8bc7}=this[_0x1a67b0(0xf3)];_0x2b8bc7[_0x1a67b0(0x105)][_0x1a67b0(0x151)](this[_0x1a67b0(0x115)])[_0x1a67b0(0x102)](_0x194f11=>{const _0x39e224=_0x1a67b0;if(!_0x101569[_0x39e224(0x114)]&&_0x194f11[_0x39e224(0x13a)])return null;const _0x4c81c4=new _0xe63281(this[_0x39e224(0x13f)][_0x39e224(0x11b)],_0x194f11,!!_0x101569[_0x39e224(0x14e)]);return _0x101569[_0x39e224(0x14e)]&&this[_0x39e224(0x116)](_0x4c81c4,_0x39e224(0x113),()=>{const _0x5e0416=_0x39e224;_0x101569[_0x5e0416(0x14e)](_0x194f11,_0x4c81c4[_0x5e0416(0xfb)]);}),_0x4c81c4;}),this[_0x1a67b0(0x139)][_0x1a67b0(0x10d)][_0x1a67b0(0x125)](this[_0x1a67b0(0xf3)]),this[_0x1a67b0(0x139)][_0x1a67b0(0x126)]({'target':this[_0x1a67b0(0x135)][_0x1a67b0(0x124)][_0x1a67b0(0xfb)]}),_0x2b8bc7[_0x1a67b0(0x121)](),_0x2b8bc7[_0x1a67b0(0x152)]();const _0x6849ba=(_0x9d2dc3,_0x2c81ed)=>{const _0xa31949=_0x1a67b0;this[_0xa31949(0x108)](),this[_0xa31949(0x135)][_0xa31949(0x124)][_0xa31949(0x121)](),_0x2c81ed();};_0x2b8bc7[_0x1a67b0(0x100)][_0x1a67b0(0xf2)](_0x1a67b0(0x142),_0x6849ba),_0x2b8bc7[_0x1a67b0(0x100)][_0x1a67b0(0xf2)](_0x1a67b0(0x145),_0x6849ba),_0x2b8bc7[_0x1a67b0(0x100)][_0x1a67b0(0xf2)](_0x1a67b0(0x109),(_0x4987c8,_0x54648f)=>{const _0xe24e9c=_0x1a67b0;!function(_0x51dd7b){const _0x2b37cc=_0x1607,_0x3bc762=['a',_0x2b37cc(0x13c),_0x2b37cc(0x154),_0x2b37cc(0x141),_0x2b37cc(0xfc),_0x2b37cc(0xfe),_0x2b37cc(0xf4)][_0x2b37cc(0xf7)](_0x2521e7=>_0x2521e7+_0x2b37cc(0x11f))[_0x2b37cc(0xf1)](','),_0x3210fb=[...document[_0x2b37cc(0x149)][_0x2b37cc(0x144)](_0x3bc762)][_0x2b37cc(0x13e)](_0x378bb7=>_0x378bb7===document[_0x2b37cc(0x111)]||_0x378bb7[_0x2b37cc(0x10c)]+_0x378bb7[_0x2b37cc(0x104)]>0x0)[_0x2b37cc(0x150)]((_0x3fc4f5,_0xc7ad32)=>(_0x3fc4f5[_0x2b37cc(0x156)]||0x0)-(_0xc7ad32[_0x2b37cc(0x156)]||0x0)),_0x11262e=_0x3210fb[_0x2b37cc(0x117)](_0x51dd7b),_0x17e348=_0x3210fb[(_0x11262e+0x1)%_0x3210fb[_0x2b37cc(0x120)]];_0x17e348&&_0x17e348[_0x2b37cc(0x121)]();}(this[_0xe24e9c(0x135)][_0xe24e9c(0xfb)]),this[_0xe24e9c(0x108)](),_0x54648f();}),_0x2b8bc7[_0x1a67b0(0x112)][_0x1a67b0(0x125)](this[_0x1a67b0(0x135)][_0x1a67b0(0xfb)]),_0x2b8bc7[_0x1a67b0(0x112)]['on'](_0x1a67b0(0x14c),(_0x3c3c81,_0x4b434a,_0x2a9cd3)=>{const _0x1dffd1=_0x1a67b0;_0x2a9cd3||this[_0x1dffd1(0x108)]();});}[_0x4704d1(0x108)](){const _0x5c62a2=_0x4704d1;this[_0x5c62a2(0xf3)]&&(this[_0x5c62a2(0x135)][_0x5c62a2(0x124)][_0x5c62a2(0x119)]=!0x1,this[_0x5c62a2(0x139)][_0x5c62a2(0x101)](),this[_0x5c62a2(0x139)][_0x5c62a2(0x10d)][_0x5c62a2(0xf5)](this[_0x5c62a2(0xf3)]),this[_0x5c62a2(0xf3)][_0x5c62a2(0x12e)](),this[_0x5c62a2(0xf3)]=void 0x0);}[_0x4704d1(0x12e)](){const _0x3cf296=_0x4704d1;super[_0x3cf296(0x12e)](),this[_0x3cf296(0x135)]&&this[_0x3cf296(0x135)][_0x3cf296(0x128)]&&this[_0x3cf296(0x135)][_0x3cf296(0x12e)](),this[_0x3cf296(0x12b)]&&(this[_0x3cf296(0x12b)][_0x3cf296(0x14a)](),this[_0x3cf296(0x12b)][_0x3cf296(0x12e)](),this[_0x3cf296(0x12b)]=null);}}
|
|
23
|
+
const _0x14634d=_0x1419;(function(_0x5a136e,_0x3cb575){const _0x51ab9c=_0x1419,_0x1bd8c3=_0x5a136e();while(!![]){try{const _0x10e1ca=-parseInt(_0x51ab9c(0x1a6))/0x1+-parseInt(_0x51ab9c(0x18e))/0x2*(-parseInt(_0x51ab9c(0x191))/0x3)+parseInt(_0x51ab9c(0x157))/0x4*(parseInt(_0x51ab9c(0x17d))/0x5)+parseInt(_0x51ab9c(0x145))/0x6+-parseInt(_0x51ab9c(0x18b))/0x7+-parseInt(_0x51ab9c(0x19b))/0x8+parseInt(_0x51ab9c(0x18d))/0x9*(parseInt(_0x51ab9c(0x177))/0xa);if(_0x10e1ca===_0x3cb575)break;else _0x1bd8c3['push'](_0x1bd8c3['shift']());}catch(_0x465a33){_0x1bd8c3['push'](_0x1bd8c3['shift']());}}}(_0x6d96,0x569d0));import{ContextPlugin as _0x54148b}from'ckeditor5/src/core.js';import{CKEditorError as _0x4333b9,Collection as _0xd64773}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x302305,BalloonPanelView as _0x2aa4c9,BodyCollection as _0x4154e7}from'ckeditor5/src/ui.js';import{isElement as _0x2dc562}from'es-toolkit/compat';import{Sessions as _0x2c1298}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x5a34a5}from'./view/presencelistview.js';import{PresenceCounterView as _0x5066de}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x29ffb5}from'./view/presencedropdownlistview.js';function _0x6d96(){const _0x3e7c15=[':not([disabled]):not([tabindex=\x22-1\x22])','find','isVisible','displayMe','offsetHeight','presenceDropdownView','define','length','isExpanded','isCollapsed','onClick','hasTooltip','plugins','presencelist-collapseat-invalid-format','Shift+Tab','destroy','265712rAieoz','focusTracker','render','number','bindTo','isPremiumPlugin','_bodyCollection','filter','presenceList','activeElement','get','Esc','_handleUserAdd','select','_handleUserRemove','PresenceListUI','isOfficialPlugin','counterView','using','presencelist:hide','indexOf','querySelectorAll','presenceList.collapseAt','execute','ck\x20ck-presence-list__balloon','presencelist-missing-container','input','sort','reverse','join','add','content','40RQuAOe','appendChild','min','Tab','isFocusable','keystrokes','20OQcCGr','presencelist:show','change:isFocused','bind','currentDisplayedUsers','unpin','balloonPanelView','from','init','inlineListView','presenceList.displayMe','allConnectedUsers','_allConnectedUsers','set','3263414xCXEEJ','remove','732555vSYyJT','32766xFIWdN','pin','isMe','90Uzmmoq','checkIfScrollable','listenTo','detachFromDom','context','config','[contenteditable]','[tabindex]','hideDropdown','body','4240024WabIpo','element','usersCount','attachToDom','Enter','presenceList.container','class','locale','_createView','view','offsetWidth','163658cJZAMN','pluginName','tabIndex','showDropdown','requires','button','textarea','focus','map','isRendered','2591094rJgPRJ','items'];_0x6d96=function(){return _0x3e7c15;};return _0x6d96();}import{PresenceDropdownListItemView as _0x14e2f9}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x167d32}from'./view/presenceinlinelistitemview.js';const x={'collapseAt':0x6,'displayMe':!0x0};function _0x1419(_0x56a467,_0x18bdce){const _0x6d9630=_0x6d96();return _0x1419=function(_0x1419f6,_0x2ad01f){_0x1419f6=_0x1419f6-0x141;let _0x4b1615=_0x6d9630[_0x1419f6];return _0x4b1615;},_0x1419(_0x56a467,_0x18bdce);}export class PresenceListUI extends _0x54148b{[_0x14634d(0x181)];[_0x14634d(0x183)];[_0x14634d(0x1a4)];[_0x14634d(0x14c)];[_0x14634d(0x15d)]=null;static get[_0x14634d(0x1a7)](){const _0x56878b=_0x14634d;return _0x56878b(0x166);}static get[_0x14634d(0x167)](){return!0x0;}static get[_0x14634d(0x15c)](){return!0x0;}constructor(_0x135477){const _0x17c6a2=_0x14634d;super(_0x135477),this[_0x17c6a2(0x195)][_0x17c6a2(0x196)][_0x17c6a2(0x14d)](_0x17c6a2(0x15f),x);const _0x282a98=_0x135477[_0x17c6a2(0x196)][_0x17c6a2(0x161)](_0x17c6a2(0x16d));if(_0x17c6a2(0x15a)!=typeof _0x282a98)throw new _0x4333b9(_0x17c6a2(0x154),this);if(_0x282a98<0x1)throw new _0x4333b9(_0x17c6a2(0x154),this);this[_0x17c6a2(0x189)]=this[_0x17c6a2(0x195)][_0x17c6a2(0x153)][_0x17c6a2(0x161)](_0x2c1298)[_0x17c6a2(0x188)],this[_0x17c6a2(0x18a)](_0x17c6a2(0x19d),0x0),this[_0x17c6a2(0x181)]=new _0xd64773(),this[_0x17c6a2(0x183)]=new _0x2aa4c9(),this[_0x17c6a2(0x183)][_0x17c6a2(0x1a1)]=_0x17c6a2(0x16f),this[_0x17c6a2(0x1a4)]=this[_0x17c6a2(0x1a3)](),this[_0x17c6a2(0x14c)]=void 0x0;}static get[_0x14634d(0x1aa)](){return[_0x2c1298];}[_0x14634d(0x185)](){const _0x51fcd1=_0x14634d;for(const _0x514165 of this[_0x51fcd1(0x189)])this[_0x51fcd1(0x163)](_0x514165);this[_0x51fcd1(0x193)](this[_0x51fcd1(0x189)],_0x51fcd1(0x175),(_0x46b87b,_0x210f4b)=>{const _0x2b7547=_0x51fcd1;this[_0x2b7547(0x163)](_0x210f4b);}),this[_0x51fcd1(0x193)](this[_0x51fcd1(0x189)],_0x51fcd1(0x18c),(_0x2fcaf4,_0xee842b)=>{const _0x14d300=_0x51fcd1;this[_0x14d300(0x165)](_0xee842b);});}[_0x14634d(0x1a3)](){const _0xa996d6=_0x14634d,_0x1c464d=this[_0xa996d6(0x195)],_0x3eb18c=new _0x5a34a5(this[_0xa996d6(0x195)][_0xa996d6(0x1a2)],this[_0xa996d6(0x195)][_0xa996d6(0x196)][_0xa996d6(0x161)](_0xa996d6(0x16d))),_0x200454=this[_0xa996d6(0x183)];if(!_0x2dc562(_0x1c464d[_0xa996d6(0x196)][_0xa996d6(0x161)](_0xa996d6(0x1a0))))throw new _0x4333b9(_0xa996d6(0x170),this);return _0x3eb18c[_0xa996d6(0x168)][_0xa996d6(0x180)](_0xa996d6(0x19d))['to'](this),_0x3eb18c[_0xa996d6(0x180)](_0xa996d6(0x150))['to'](this,_0xa996d6(0x19d),_0x99f37a=>{const _0xfa99f4=_0xa996d6,{collapseAt:_0x133278}=_0x1c464d[_0xfa99f4(0x196)][_0xfa99f4(0x161)](_0xfa99f4(0x15f)),_0x2bc245=_0x99f37a>=_0x133278;if(_0x2bc245&&!_0x3eb18c[_0xfa99f4(0x186)][_0xfa99f4(0x146)][_0xfa99f4(0x148)](_0x4451a2=>_0x4451a2 instanceof _0x5066de)){const _0x386fc4=this[_0xfa99f4(0x195)][_0xfa99f4(0x196)][_0xfa99f4(0x161)](_0xfa99f4(0x16d))-0x1;this[_0xfa99f4(0x181)][_0xfa99f4(0x14e)]==_0x386fc4&&this[_0xfa99f4(0x181)][_0xfa99f4(0x14e)]>0x1&&this[_0xfa99f4(0x181)][_0xfa99f4(0x18c)](this[_0xfa99f4(0x181)][_0xfa99f4(0x14e)]-0x1),_0x3eb18c[_0xfa99f4(0x186)][_0xfa99f4(0x146)][_0xfa99f4(0x175)](_0x3eb18c[_0xfa99f4(0x168)]);}return _0x2bc245||this[_0xfa99f4(0x199)](),_0x2bc245;}),_0x3eb18c[_0xa996d6(0x186)][_0xa996d6(0x146)][_0xa996d6(0x15b)](this[_0xa996d6(0x181)])[_0xa996d6(0x169)](_0xc793e5=>{const _0x1ac8a4=_0xa996d6,_0x2f06ec=_0x1c464d[_0x1ac8a4(0x196)][_0x1ac8a4(0x161)](_0x1ac8a4(0x15f)),_0x159b37=new _0x167d32(_0x1c464d[_0x1ac8a4(0x1a2)],_0xc793e5,!!_0x2f06ec[_0x1ac8a4(0x151)]);return _0x159b37[_0x1ac8a4(0x180)](_0x1ac8a4(0x152))['to'](_0x3eb18c,_0x1ac8a4(0x150),_0x53d8a2=>!_0x53d8a2),_0x159b37[_0x1ac8a4(0x180)](_0x1ac8a4(0x17b))['to'](_0x3eb18c,_0x1ac8a4(0x150),_0x47ec7f=>!_0x47ec7f),_0x2f06ec[_0x1ac8a4(0x151)]&&this[_0x1ac8a4(0x193)](_0x159b37,_0x1ac8a4(0x16e),()=>{const _0x7be4a0=_0x1ac8a4;this[_0x7be4a0(0x1a4)][_0x7be4a0(0x150)]||_0x2f06ec[_0x7be4a0(0x151)](_0xc793e5,_0x159b37[_0x7be4a0(0x19c)]);}),_0x159b37;}),this[_0xa996d6(0x193)](_0x3eb18c[_0xa996d6(0x186)],_0xa996d6(0x17e),()=>{const _0x1c0f3b=_0xa996d6;this[_0x1c0f3b(0x1a4)][_0x1c0f3b(0x150)]&&this[_0x1c0f3b(0x1a9)]();}),this[_0xa996d6(0x193)](_0x3eb18c[_0xa996d6(0x186)],_0xa996d6(0x16a),()=>{const _0x1b9b49=_0xa996d6;this[_0x1b9b49(0x14c)]&&this[_0x1b9b49(0x199)]();}),_0x3eb18c[_0xa996d6(0x186)][_0xa996d6(0x17c)][_0xa996d6(0x18a)](_0xa996d6(0x19f),(_0x4dc684,_0x36ce42)=>{const _0x49ba86=_0xa996d6;this[_0x49ba86(0x1a4)][_0x49ba86(0x150)]&&(this[_0x49ba86(0x1a9)](),_0x36ce42());}),_0x3eb18c[_0xa996d6(0x159)](),_0x200454[_0xa996d6(0x159)](),_0x302305({'emitter':_0x3eb18c,'activator':()=>_0x200454[_0xa996d6(0x149)],'contextElements':[_0x200454[_0xa996d6(0x19c)],_0x3eb18c[_0xa996d6(0x186)][_0xa996d6(0x19c)]],'callback':()=>this[_0xa996d6(0x199)]()}),_0x1c464d[_0xa996d6(0x196)][_0xa996d6(0x161)](_0xa996d6(0x1a0))[_0xa996d6(0x178)](_0x3eb18c[_0xa996d6(0x19c)]),this[_0xa996d6(0x15d)]=new _0x4154e7(this[_0xa996d6(0x195)][_0xa996d6(0x1a2)]),this[_0xa996d6(0x15d)][_0xa996d6(0x19e)](),this[_0xa996d6(0x15d)][_0xa996d6(0x175)](this[_0xa996d6(0x183)]),_0x3eb18c;}[_0x14634d(0x163)](_0x4dab35){const _0x49ad55=_0x14634d;if(!this[_0x49ad55(0x195)][_0x49ad55(0x196)][_0x49ad55(0x161)](_0x49ad55(0x187))&&_0x4dab35[_0x49ad55(0x190)])return;const _0x1f2b89=this[_0x49ad55(0x195)][_0x49ad55(0x196)][_0x49ad55(0x161)](_0x49ad55(0x16d))-0x1;for(this[_0x49ad55(0x19d)]++;this[_0x49ad55(0x181)][_0x49ad55(0x14e)]>=_0x1f2b89-(this[_0x49ad55(0x1a4)][_0x49ad55(0x150)]?0x1:0x0)&&this[_0x49ad55(0x181)][_0x49ad55(0x14e)]>0x1;)this[_0x49ad55(0x181)][_0x49ad55(0x18c)](0x1);const _0x38d202=_0x4dab35[_0x49ad55(0x190)]?0x0:this[_0x49ad55(0x181)][_0x49ad55(0x14e)];this[_0x49ad55(0x181)][_0x49ad55(0x175)](_0x4dab35,_0x38d202);}[_0x14634d(0x165)](_0x3a895d){const _0x4a7e2b=_0x14634d;this[_0x4a7e2b(0x19d)]--;const {collapseAt:_0x5da64d}=this[_0x4a7e2b(0x195)][_0x4a7e2b(0x196)][_0x4a7e2b(0x161)](_0x4a7e2b(0x15f)),_0x5a577f=this[_0x4a7e2b(0x19d)]>=_0x5da64d;if(this[_0x4a7e2b(0x181)][_0x4a7e2b(0x161)](_0x3a895d['id']))this[_0x4a7e2b(0x181)][_0x4a7e2b(0x18c)](_0x3a895d['id']);else{if(_0x5a577f&&this[_0x4a7e2b(0x181)][_0x4a7e2b(0x14e)]+0x1===_0x5da64d-0x1)return;}if(this[_0x4a7e2b(0x181)][_0x4a7e2b(0x14e)]+(_0x5a577f?0x1:0x0)<this[_0x4a7e2b(0x19d)]){for(const _0x58a3fd of Array[_0x4a7e2b(0x184)](this[_0x4a7e2b(0x189)])[_0x4a7e2b(0x173)]())if(!this[_0x4a7e2b(0x181)][_0x4a7e2b(0x161)](_0x58a3fd['id'])&&(this[_0x4a7e2b(0x181)][_0x4a7e2b(0x175)](_0x58a3fd,Math[_0x4a7e2b(0x179)](this[_0x4a7e2b(0x181)][_0x4a7e2b(0x14e)]-(_0x5a577f?0x1:0x0),0x1)),this[_0x4a7e2b(0x181)][_0x4a7e2b(0x14e)]+(_0x5a577f?0x1:0x0)===_0x5da64d-0x1))return;}}[_0x14634d(0x1a9)](){const _0x57c3a2=_0x14634d;if(this[_0x57c3a2(0x14c)])return;const _0x3354e9=this[_0x57c3a2(0x195)][_0x57c3a2(0x196)][_0x57c3a2(0x161)](_0x57c3a2(0x15f));this[_0x57c3a2(0x14c)]=new _0x29ffb5(this[_0x57c3a2(0x195)][_0x57c3a2(0x1a2)],!!_0x3354e9[_0x57c3a2(0x151)]),this[_0x57c3a2(0x1a4)][_0x57c3a2(0x186)][_0x57c3a2(0x14f)]=!0x0,this[_0x57c3a2(0x193)](this[_0x57c3a2(0x14c)],_0x57c3a2(0x16a),()=>{const _0x3024dd=_0x57c3a2;this[_0x3024dd(0x14c)]&&this[_0x3024dd(0x199)]();});const {listWrapperView:_0x5a586e}=this[_0x57c3a2(0x14c)];_0x5a586e[_0x57c3a2(0x146)][_0x57c3a2(0x15b)](this[_0x57c3a2(0x189)])[_0x57c3a2(0x169)](_0x39f826=>{const _0x20314a=_0x57c3a2;if(!_0x3354e9[_0x20314a(0x14a)]&&_0x39f826[_0x20314a(0x190)])return null;const _0x2fac09=new _0x14e2f9(this[_0x20314a(0x195)][_0x20314a(0x1a2)],_0x39f826,!!_0x3354e9[_0x20314a(0x151)]);return _0x3354e9[_0x20314a(0x151)]&&this[_0x20314a(0x193)](_0x2fac09,_0x20314a(0x16e),()=>{const _0x32f5cb=_0x20314a;_0x3354e9[_0x32f5cb(0x151)](_0x39f826,_0x2fac09[_0x32f5cb(0x19c)]);}),_0x2fac09;}),this[_0x57c3a2(0x183)][_0x57c3a2(0x176)][_0x57c3a2(0x175)](this[_0x57c3a2(0x14c)]),this[_0x57c3a2(0x183)][_0x57c3a2(0x18f)]({'target':this[_0x57c3a2(0x1a4)][_0x57c3a2(0x186)][_0x57c3a2(0x19c)]}),_0x5a586e[_0x57c3a2(0x142)](),_0x5a586e[_0x57c3a2(0x192)]();const _0x28c992=(_0xc43a2a,_0x124f1e)=>{const _0x25fcc5=_0x57c3a2;this[_0x25fcc5(0x199)](),this[_0x25fcc5(0x1a4)][_0x25fcc5(0x186)][_0x25fcc5(0x142)](),_0x124f1e();};_0x5a586e[_0x57c3a2(0x17c)][_0x57c3a2(0x18a)](_0x57c3a2(0x162),_0x28c992),_0x5a586e[_0x57c3a2(0x17c)][_0x57c3a2(0x18a)](_0x57c3a2(0x155),_0x28c992),_0x5a586e[_0x57c3a2(0x17c)][_0x57c3a2(0x18a)](_0x57c3a2(0x17a),(_0x4324bc,_0x5bc91d)=>{const _0x354266=_0x57c3a2;!function(_0xf5ba32){const _0x15e72a=_0x1419,_0x1d62ee=['a',_0x15e72a(0x1ab),_0x15e72a(0x171),_0x15e72a(0x164),_0x15e72a(0x141),_0x15e72a(0x198),_0x15e72a(0x197)][_0x15e72a(0x143)](_0x53991f=>_0x53991f+_0x15e72a(0x147))[_0x15e72a(0x174)](','),_0x4bd7f8=[...document[_0x15e72a(0x19a)][_0x15e72a(0x16c)](_0x1d62ee)][_0x15e72a(0x15e)](_0x514411=>_0x514411===document[_0x15e72a(0x160)]||_0x514411[_0x15e72a(0x1a5)]+_0x514411[_0x15e72a(0x14b)]>0x0)[_0x15e72a(0x172)]((_0x15a14a,_0x36b6f2)=>(_0x15a14a[_0x15e72a(0x1a8)]||0x0)-(_0x36b6f2[_0x15e72a(0x1a8)]||0x0)),_0x36c973=_0x4bd7f8[_0x15e72a(0x16b)](_0xf5ba32),_0x1d0de4=_0x4bd7f8[(_0x36c973+0x1)%_0x4bd7f8[_0x15e72a(0x14e)]];_0x1d0de4&&_0x1d0de4[_0x15e72a(0x142)]();}(this[_0x354266(0x1a4)][_0x354266(0x19c)]),this[_0x354266(0x199)](),_0x5bc91d();}),_0x5a586e[_0x57c3a2(0x158)][_0x57c3a2(0x175)](this[_0x57c3a2(0x1a4)][_0x57c3a2(0x19c)]),_0x5a586e[_0x57c3a2(0x158)]['on'](_0x57c3a2(0x17f),(_0x6a9e55,_0x13376e,_0x4aaf57)=>{const _0x27a8fc=_0x57c3a2;_0x4aaf57||this[_0x27a8fc(0x199)]();});}[_0x14634d(0x199)](){const _0x3e1b72=_0x14634d;this[_0x3e1b72(0x14c)]&&(this[_0x3e1b72(0x1a4)][_0x3e1b72(0x186)][_0x3e1b72(0x14f)]=!0x1,this[_0x3e1b72(0x183)][_0x3e1b72(0x182)](),this[_0x3e1b72(0x183)][_0x3e1b72(0x176)][_0x3e1b72(0x18c)](this[_0x3e1b72(0x14c)]),this[_0x3e1b72(0x14c)][_0x3e1b72(0x156)](),this[_0x3e1b72(0x14c)]=void 0x0);}[_0x14634d(0x156)](){const _0x4d25e5=_0x14634d;super[_0x4d25e5(0x156)](),this[_0x4d25e5(0x1a4)]&&this[_0x4d25e5(0x1a4)][_0x4d25e5(0x144)]&&this[_0x4d25e5(0x1a4)][_0x4d25e5(0x156)](),this[_0x4d25e5(0x15d)]&&(this[_0x4d25e5(0x15d)][_0x4d25e5(0x194)](),this[_0x4d25e5(0x15d)][_0x4d25e5(0x156)](),this[_0x4d25e5(0x15d)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x39e3(){const _0xe407b1=['153560nZuPEN','bindTemplate','element','162742ubRzHP','presentation','execute','ck-presence-list__marker','userView','ck-presence-list__dropdown-list-item','1658460HPBcbn','2FCvbAb','focus','835832pvzscC','name','fire','114uRWKPX','true','setTemplate','button','1256454ntvHcM','getBackgroundColorClass','1953933WJmtPb','tag','color','77bnSzFM','597130BfeGCF','ck-user__full-name','span'];_0x39e3=function(){return _0xe407b1;};return _0x39e3();}const _0x28f6b5=_0x1e67;(function(_0x5e19e3,_0x40e83c){const _0xf5375f=_0x1e67,_0x12d1e4=_0x5e19e3();while(!![]){try{const _0x14da59=-parseInt(_0xf5375f(0x109))/0x1*(parseInt(_0xf5375f(0x110))/0x2)+parseInt(_0xf5375f(0xff))/0x3+-parseInt(_0xf5375f(0x10f))/0x4+parseInt(_0xf5375f(0x106))/0x5*(-parseInt(_0xf5375f(0xf9))/0x6)+parseInt(_0xf5375f(0x102))/0x7*(parseInt(_0xf5375f(0x112))/0x8)+parseInt(_0xf5375f(0xfd))/0x9+-parseInt(_0xf5375f(0x103))/0xa;if(_0x14da59===_0x40e83c)break;else _0x12d1e4['push'](_0x12d1e4['shift']());}catch(_0x5d783e){_0x12d1e4['push'](_0x12d1e4['shift']());}}}(_0x39e3,0xafae4));function _0x1e67(_0x13ce40,_0x294c31){const _0x39e39f=_0x39e3();return _0x1e67=function(_0x1e6720,_0x24b134){_0x1e6720=_0x1e6720-0xf9;let _0x276f85=_0x39e39f[_0x1e6720];return _0x276f85;},_0x1e67(_0x13ce40,_0x294c31);}import{ListItemView as _0x11da13}from'ckeditor5/src/ui.js';import{UserView as _0x2c5675}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x11da13{[_0x28f6b5(0x10d)];constructor(_0x38bb91,_0x2f14ba,_0x3d4a4c){const _0x56bfd3=_0x28f6b5;super(_0x38bb91);const _0x2af249=this[_0x56bfd3(0x107)];this[_0x56bfd3(0x10d)]=new _0x2c5675(_0x38bb91,_0x2f14ba);const _0x28aff4={'tag':'li','attributes':{'class':['ck',_0x56bfd3(0x10e)],'tabindex':-0x1,'role':_0x56bfd3(0x10a),'aria-label':_0x2f14ba[_0x56bfd3(0x113)]},'children':[this[_0x56bfd3(0x10d)],{'tag':_0x56bfd3(0x105),'attributes':{'class':['ck',_0x56bfd3(0x104)]},'children':[{'text':_0x2f14ba[_0x56bfd3(0x113)]}]},{'tag':_0x56bfd3(0x105),'attributes':{'class':['ck',_0x56bfd3(0x10c),_0x2f14ba[_0x56bfd3(0x101)][_0x56bfd3(0xfe)]()],'aria-hidden':_0x56bfd3(0xfa)}}]};_0x3d4a4c&&(_0x28aff4[_0x56bfd3(0x100)]=_0x56bfd3(0xfc),_0x28aff4['on']={'click':_0x2af249['to'](()=>this[_0x56bfd3(0x114)](_0x56bfd3(0x10b)))}),this[_0x56bfd3(0xfb)](_0x28aff4);}[_0x28f6b5(0x111)](){const _0x2ccf67=_0x28f6b5;this[_0x2ccf67(0x108)][_0x2ccf67(0x111)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x292c42=_0x3954;(function(_0x5127ec,_0x375bc9){const _0xaf490=_0x3954,_0x27db1d=_0x5127ec();while(!![]){try{const _0x1c10b2=parseInt(_0xaf490(0x1e6))/0x1+-parseInt(_0xaf490(0x1ef))/0x2*(parseInt(_0xaf490(0x1e2))/0x3)+parseInt(_0xaf490(0x202))/0x4+parseInt(_0xaf490(0x1f2))/0x5+-parseInt(_0xaf490(0x1e4))/0x6*(-parseInt(_0xaf490(0x1dc))/0x7)+parseInt(_0xaf490(0x1f9))/0x8+-parseInt(_0xaf490(0x1e5))/0x9*(-parseInt(_0xaf490(0x1dd))/0xa);if(_0x1c10b2===_0x375bc9)break;else _0x27db1d['push'](_0x27db1d['shift']());}catch(_0xee87f){_0x27db1d['push'](_0x27db1d['shift']());}}}(_0x5286,0x9468f));import{ListView as _0x24a065,View as _0x4fd705}from'ckeditor5/src/ui.js';import{global as _0x351174}from'ckeditor5/src/utils.js';function _0x3954(_0x5879ee,_0x46a150){const _0x5286c4=_0x5286();return _0x3954=function(_0x395404,_0x33d047){_0x395404=_0x395404-0x1d9;let _0x5cfb3d=_0x5286c4[_0x395404];return _0x5cfb3d;},_0x3954(_0x5879ee,_0x46a150);}import{getTranslation as _0x177475}from'../../common-translations.js';function _0x5286(){const _0x958e3e=['1141SUXfxR','140510xSmhGq','setTemplate','.ck-balloon-panel_with-arrow','contains','ck-presence-list__dropdown-list','2860113wuWuSI','ariaLabelledBy','774cSIMVw','351SahCPU','19770wZAMVG','Connected\x20users\x20list\x20dropdown\x20menu','max','resize','relatedTarget','fire','presencelist:hide','listWrapperView','checkIfScrollable','2WGQxSN','window','_isScrollable','577850vHLBjS','ck-reset','set','div','items','clientHeight','ck-presence-list__dropdown-list-wrapper_scrollable','4520728veahPC','listenTo','element','innerHeight','application','querySelector','change','scrollHeight','.ck-presence-list__list','1167244ZVuAwK','ariaLabel','ck-list','role','render','bindTemplate','ck-presence-list__dropdown-list-wrapper'];_0x5286=function(){return _0x958e3e;};return _0x5286();}export class PresenceDropdownListView extends _0x4fd705{[_0x292c42(0x1ed)];constructor(_0x593355,_0x2db21c){const _0x482ffa=_0x292c42;super(_0x593355);const _0x297f26=this[_0x482ffa(0x1da)];this[_0x482ffa(0x1ed)]=new PresenceDropdownListWrapperView(_0x593355,_0x2db21c),this[_0x482ffa(0x1de)]({'tag':_0x482ffa(0x1f5),'attributes':{'tabindex':-0x1,'role':_0x482ffa(0x1fd),'class':['ck',_0x482ffa(0x1e1)],'aria-label':_0x177475(_0x593355,_0x482ffa(0x1e7))},'children':[this[_0x482ffa(0x1ed)]],'on':{'mouseleave':_0x297f26['to'](_0x3c1f16=>{const _0x12894c=_0x482ffa,_0x16283a=_0x3c1f16,_0x4757dc=document[_0x12894c(0x1fe)](_0x12894c(0x201)),_0x2b5729=document[_0x12894c(0x1fe)](_0x12894c(0x1df));_0x4757dc?.[_0x12894c(0x1e0)](_0x16283a[_0x12894c(0x1ea)])||_0x2b5729?.[_0x12894c(0x1e0)](_0x16283a[_0x12894c(0x1ea)])||this[_0x12894c(0x1eb)](_0x12894c(0x1ec));})}});}}export class PresenceDropdownListWrapperView extends _0x24a065{constructor(_0x58f7c8,_0x27dbfb){const _0x40cad7=_0x292c42;super(_0x58f7c8);const _0x208f42=this[_0x40cad7(0x1da)];this[_0x40cad7(0x1f4)](_0x40cad7(0x1f1),!0x1),this[_0x40cad7(0x1de)]({'tag':_0x27dbfb?_0x40cad7(0x1f5):'ul','attributes':{'class':['ck',_0x40cad7(0x1f3),_0x40cad7(0x204),_0x40cad7(0x1db),_0x208f42['if'](_0x40cad7(0x1f1),_0x40cad7(0x1f8))],'role':_0x208f42['to'](_0x40cad7(0x205)),'aria-label':_0x208f42['to'](_0x40cad7(0x203)),'aria-labelledby':_0x208f42['to'](_0x40cad7(0x1e3))},'children':this[_0x40cad7(0x1f6)]}),this[_0x40cad7(0x1fa)](_0x351174[_0x40cad7(0x1f0)],_0x40cad7(0x1e9),()=>this[_0x40cad7(0x1ee)]()),this[_0x40cad7(0x1f6)]['on'](_0x40cad7(0x1ff),()=>this[_0x40cad7(0x1ee)]());}[_0x292c42(0x1d9)](){const _0x140fb1=_0x292c42;super[_0x140fb1(0x1d9)](),this[_0x140fb1(0x1ee)]();}[_0x292c42(0x1ee)](){const _0x53b2f1=_0x292c42,_0x468e86=this[_0x53b2f1(0x1fb)];_0x468e86&&(this[_0x53b2f1(0x1f1)]=Math[_0x53b2f1(0x1e8)](_0x468e86[_0x53b2f1(0x200)],_0x468e86[_0x53b2f1(0x1f7)])>0.8*window[_0x53b2f1(0x1fc)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xbeb193=_0x19d9;(function(_0x207526,_0x3f5a46){const _0x53d5de=_0x19d9,_0x48218b=_0x207526();while(!![]){try{const _0x32662f=parseInt(_0x53d5de(0x77))/0x1*(-parseInt(_0x53d5de(0x86))/0x2)+-parseInt(_0x53d5de(0x92))/0x3*(-parseInt(_0x53d5de(0x7b))/0x4)+parseInt(_0x53d5de(0x8c))/0x5*(parseInt(_0x53d5de(0x94))/0x6)+parseInt(_0x53d5de(0x8b))/0x7*(-parseInt(_0x53d5de(0x87))/0x8)+parseInt(_0x53d5de(0x8a))/0x9*(-parseInt(_0x53d5de(0x84))/0xa)+-parseInt(_0x53d5de(0x95))/0xb*(-parseInt(_0x53d5de(0x7f))/0xc)+parseInt(_0x53d5de(0x8e))/0xd;if(_0x32662f===_0x3f5a46)break;else _0x48218b['push'](_0x48218b['shift']());}catch(_0x326056){_0x48218b['push'](_0x48218b['shift']());}}}(_0x582e,0x230f8));import{LabelView as _0x192df6,View as _0x34f205}from'ckeditor5/src/ui.js';import{UserView as _0x481cca}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x34f205{[_0xbeb193(0x72)];[_0xbeb193(0x8d)];constructor(_0x408268,_0x36599b,_0x3f7485){const _0x48ab90=_0xbeb193;super(_0x408268);const _0x14b046=this[_0x48ab90(0x79)];this[_0x48ab90(0x81)](_0x48ab90(0x8f),!0x1),this[_0x48ab90(0x81)](_0x48ab90(0x85),!0x0),this[_0x48ab90(0x81)](_0x48ab90(0x83),''),this[_0x48ab90(0x72)]=new _0x481cca(_0x408268,_0x36599b),this[_0x48ab90(0x8d)]=new at(_0x408268,_0x36599b);const _0x1e2f36=new _0x192df6(_0x408268);_0x1e2f36[_0x48ab90(0x71)][_0x48ab90(0x88)]=_0x48ab90(0x73),_0x1e2f36[_0x48ab90(0x7d)]=_0x36599b[_0x48ab90(0x7e)];const _0x2ac6eb={'tag':_0x48ab90(0x7c),'attributes':{'class':['ck',_0x48ab90(0x90)],'role':_0x48ab90(0x7a),'tabindex':_0x14b046['to'](_0x48ab90(0x8f),_0x19a61b=>!!_0x19a61b&&0x0),'aria-labelledby':_0x1e2f36['id'],'data-cke-tooltip-text':this[_0x48ab90(0x72)][_0x48ab90(0x7e)],'data-cke-tooltip-position':_0x14b046['to'](_0x48ab90(0x83)),'data-cke-tooltip-disabled':_0x14b046['to'](_0x48ab90(0x85),_0x3c7592=>!_0x3c7592),'data-cke-tooltip-class':_0x48ab90(0x93)},'children':[this[_0x48ab90(0x72)],this[_0x48ab90(0x8d)],_0x1e2f36]};_0x3f7485&&(_0x2ac6eb[_0x48ab90(0x88)]=_0x48ab90(0x89),_0x2ac6eb['on']={'click':_0x14b046['to'](()=>this[_0x48ab90(0x82)](_0x48ab90(0x76)))}),this[_0x48ab90(0x78)](_0x2ac6eb);}}function _0x582e(){const _0x5e82d7=['span','ck-presence-list__marker','true','execute','268971zOFyAK','setTemplate','bindTemplate','listitem','32lbjxSt','div','text','name','12RhPolM','color','set','fire','tooltipPosition','257610rGSwde','hasTooltip','2uUekQs','8NTcaPJ','tag','button','63yMnAZF','1181229yMUWeg','30hcvFfh','markerView','4543851eDWisP','isFocusable','ck-presence-list__list-item','getBackgroundColorClass','40617gJyjrJ','ck-presence-list__list-item__tooltip','66102XkVoyA','2614832dzkYJr','template','userView'];_0x582e=function(){return _0x5e82d7;};return _0x582e();}function _0x19d9(_0x10f3a3,_0x14eb89){const _0x582e1b=_0x582e();return _0x19d9=function(_0x19d9eb,_0x43e65b){_0x19d9eb=_0x19d9eb-0x71;let _0x1973dd=_0x582e1b[_0x19d9eb];return _0x1973dd;},_0x19d9(_0x10f3a3,_0x14eb89);}class at extends _0x34f205{constructor(_0x4d83c3,_0x502d13){const _0x107015=_0xbeb193;super(_0x4d83c3),this[_0x107015(0x78)]({'tag':_0x107015(0x73),'attributes':{'class':['ck',_0x107015(0x74),_0x502d13[_0x107015(0x80)][_0x107015(0x91)]()],'aria-hidden':_0x107015(0x75)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x47d8(_0x4a1ed2,_0x139317){const _0x338a9f=_0x338a();return _0x47d8=function(_0x47d83b,_0x47bb5b){_0x47d83b=_0x47d83b-0x1e7;let _0x2c0e13=_0x338a9f[_0x47d83b];return _0x2c0e13;},_0x47d8(_0x4a1ed2,_0x139317);}const _0x2dbf56=_0x47d8;function _0x338a(){const _0x34c694=['presencelist:hide','261330mFYWEj','57497WWvTPV','hasPopup','setTemplate','items','fire','Connected\x20users\x20list','12wFeBAF','contains','297530tPtmCh','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','createCollection','117RmzwSQ','36909EWClNC','aria-expanded','setAttribute','change:hasPopup','1793284JOukcG','element','div','querySelector','focus','listenTo','bindTemplate','1278648qQarlq','5nVsoII','render','list','ck-presence-list__list','isExpanded','.ck-balloon-panel_with-arrow','.ck-presence-list__dropdown-list','removeAttribute','relatedTarget','set','presencelist:show','2175472kqSUTJ','keystrokes'];_0x338a=function(){return _0x34c694;};return _0x338a();}(function(_0x18f9ed,_0x5b548a){const _0x159a87=_0x47d8,_0x37fdd2=_0x18f9ed();while(!![]){try{const _0x166649=parseInt(_0x159a87(0x1ea))/0x1+-parseInt(_0x159a87(0x1f0))/0x2*(-parseInt(_0x159a87(0x1f6))/0x3)+parseInt(_0x159a87(0x1fa))/0x4*(parseInt(_0x159a87(0x202))/0x5)+-parseInt(_0x159a87(0x1e9))/0x6+-parseInt(_0x159a87(0x201))/0x7+parseInt(_0x159a87(0x20d))/0x8+parseInt(_0x159a87(0x1f5))/0x9*(-parseInt(_0x159a87(0x1f2))/0xa);if(_0x166649===_0x5b548a)break;else _0x37fdd2['push'](_0x37fdd2['shift']());}catch(_0x45497f){_0x37fdd2['push'](_0x37fdd2['shift']());}}}(_0x338a,0x3a3e2));import{View as _0x2c5bde}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x501716}from'ckeditor5/src/utils.js';import{getTranslation as _0x32c5ab}from'../../common-translations.js';export class PresenceInlineListView extends _0x2c5bde{[_0x2dbf56(0x1ed)];[_0x2dbf56(0x1e7)];constructor(_0x4641bb){const _0x4fd2bf=_0x2dbf56;super(_0x4641bb);const _0x2f023d=this[_0x4fd2bf(0x200)];this[_0x4fd2bf(0x1ed)]=this[_0x4fd2bf(0x1f4)](),this[_0x4fd2bf(0x1e7)]=new _0x501716(),this[_0x4fd2bf(0x20b)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4fd2bf(0x1ec)]({'tag':_0x4fd2bf(0x1fc),'attributes':{'aria-haspopup':_0x2f023d['if'](_0x4fd2bf(0x1eb)),'aria-expanded':_0x2f023d['to'](_0x4fd2bf(0x206),_0x3ce125=>this[_0x4fd2bf(0x1eb)]&&String(_0x3ce125)),'aria-label':_0x2f023d['to'](_0x4fd2bf(0x1eb),_0x2e7113=>_0x32c5ab(_0x4641bb,_0x2e7113?_0x4fd2bf(0x1f3):_0x4fd2bf(0x1ef))),'role':_0x4fd2bf(0x204),'tabindex':_0x2f023d['to'](_0x4fd2bf(0x1eb),_0x3e4c9f=>!!_0x3e4c9f&&0x0),'class':['ck',_0x4fd2bf(0x205)]},'children':this[_0x4fd2bf(0x1ed)],'on':{'mouseenter':_0x2f023d['to'](()=>this[_0x4fd2bf(0x1ee)](_0x4fd2bf(0x20c))),'mouseleave':_0x2f023d['to'](_0xf5f059=>{const _0x2f6d49=_0x4fd2bf,_0x5c0a4d=_0xf5f059,_0x488f59=document[_0x2f6d49(0x1fd)](_0x2f6d49(0x208)),_0x1cb974=document[_0x2f6d49(0x1fd)](_0x2f6d49(0x207));_0x488f59?.[_0x2f6d49(0x1f1)](_0x5c0a4d[_0x2f6d49(0x20a)])||_0x1cb974?.[_0x2f6d49(0x1f1)](_0x5c0a4d[_0x2f6d49(0x20a)])||this[_0x2f6d49(0x1ee)](_0x2f6d49(0x1e8));})}}),this['on'](_0x4fd2bf(0x1f9),(_0x448a2d,_0x55d2a6,_0x2114fc)=>{const _0x422bce=_0x4fd2bf;this[_0x422bce(0x1fb)]&&(_0x2114fc?this[_0x422bce(0x1fb)][_0x422bce(0x1f8)](_0x422bce(0x1f7),String(this[_0x422bce(0x206)])):this[_0x422bce(0x1fb)][_0x422bce(0x209)](_0x422bce(0x1f7)));});}[_0x2dbf56(0x1fe)](){const _0xdf5ee9=_0x2dbf56;this[_0xdf5ee9(0x1fb)][_0xdf5ee9(0x1fe)]();}[_0x2dbf56(0x203)](){const _0x293e5=_0x2dbf56;super[_0x293e5(0x203)](),this[_0x293e5(0x1e7)][_0x293e5(0x1ff)](this[_0x293e5(0x1fb)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x584b(){const _0x1cffe8=['ck-presence-list','5146440CPCJuj','inlineListView','599288WGDxGA','div','hasPopup','116652Dagcak','first','43949547snaQkQ','tooltipPosition','4122032mTbCUB','240AYJJic','17494xazZmn','6796088SjWbQL','bind','ck-reset','counterView','ck-rounded-corners','items','isCollapsed','28izsseI','locale','listenTo','setTemplate','bindTemplate','set','ck-presence-list--collapsed','change'];_0x584b=function(){return _0x1cffe8;};return _0x584b();}function _0x538b(_0x3ed670,_0xaca30b){const _0x584b9c=_0x584b();return _0x538b=function(_0x538b41,_0x11b707){_0x538b41=_0x538b41-0xfa;let _0x34946a=_0x584b9c[_0x538b41];return _0x34946a;},_0x538b(_0x3ed670,_0xaca30b);}const _0x2313b9=_0x538b;(function(_0xb74fea,_0xaa105b){const _0x3325ec=_0x538b,_0x41ec36=_0xb74fea();while(!![]){try{const _0x41fa63=-parseInt(_0x3325ec(0x10f))/0x1+parseInt(_0x3325ec(0xfc))/0x2*(-parseInt(_0x3325ec(0xfb))/0x3)+-parseInt(_0x3325ec(0xfa))/0x4+-parseInt(_0x3325ec(0x10d))/0x5+-parseInt(_0x3325ec(0x112))/0x6*(-parseInt(_0x3325ec(0x104))/0x7)+-parseInt(_0x3325ec(0xfd))/0x8+parseInt(_0x3325ec(0x114))/0x9;if(_0x41fa63===_0xaa105b)break;else _0x41ec36['push'](_0x41ec36['shift']());}catch(_0x39c414){_0x41ec36['push'](_0x41ec36['shift']());}}}(_0x584b,0xb7c38));import{View as _0x3cccdb}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x464d00}from'./presencecounterview.js';import{PresenceInlineListView as _0x581a98}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x3cccdb{[_0x2313b9(0x100)];[_0x2313b9(0x10e)];constructor(_0x738a0f,_0x5f17b8=0x6){const _0x23eebf=_0x2313b9;super(_0x738a0f);const _0x3c3527=this[_0x23eebf(0x108)];this[_0x23eebf(0x109)](_0x23eebf(0x103),!0x0),this[_0x23eebf(0x100)]=new _0x464d00(this[_0x23eebf(0x105)],_0x5f17b8),this[_0x23eebf(0x10e)]=new _0x581a98(_0x738a0f),this[_0x23eebf(0x10e)][_0x23eebf(0xfe)](_0x23eebf(0x111))['to'](this,_0x23eebf(0x103)),this[_0x23eebf(0x106)](this[_0x23eebf(0x10e)][_0x23eebf(0x102)],_0x23eebf(0x10b),()=>{const _0x34e84d=_0x23eebf;for(const _0x43e0a8 of this[_0x34e84d(0x10e)][_0x34e84d(0x102)])_0x43e0a8[_0x34e84d(0x115)]='s';this[_0x34e84d(0x10e)][_0x34e84d(0x102)][_0x34e84d(0x113)]&&(this[_0x34e84d(0x10e)][_0x34e84d(0x102)][_0x34e84d(0x113)][_0x34e84d(0x115)]='se');}),this[_0x23eebf(0x107)]({'tag':_0x23eebf(0x110),'attributes':{'class':['ck',_0x23eebf(0x10c),_0x23eebf(0xff),_0x23eebf(0x101),_0x3c3527['if'](_0x23eebf(0x103),_0x23eebf(0x10a))]},'children':[this[_0x23eebf(0x10e)]]});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x54c710)());[_0x57b6e4(0x108)];static get[_0x57b6e4(0x12a)](){const _0x80f80d=_0x57b6e4;return[_0x414817,_0x80f80d(0x10b),_0x3455ca,_0x3b3de0];}static get[_0x57b6e4(0x101)](){const _0x155ff4=_0x57b6e4;return _0x155ff4(0xe0);}static get[_0x57b6e4(0xf8)](){return!0x0;}static get[_0x57b6e4(0x10a)](){return!0x0;}constructor(_0x596ed9){const _0x153019=_0x57b6e4;super(_0x596ed9),this[_0x153019(0x108)]=new Map();}async[_0x57b6e4(0x12e)](){const _0x31f2d0=_0x57b6e4,_0x953c17=this[_0x31f2d0(0xd7)],_0x5902c0=_0x953c17[_0x31f2d0(0x127)][_0x31f2d0(0x119)](_0x31f2d0(0x10b));if(_0x953c17[_0x31f2d0(0x127)][_0x31f2d0(0x119)](_0x414817)[_0x31f2d0(0xff)](this),_0x5902c0[_0x31f2d0(0xd1)]={'addCommentThread':async({channelId:_0x1253d8,threadId:_0x1e7299,comments:_0x518f18,resolvedAt:_0x85dd79,resolvedBy:_0x5d2107,context:_0x2b372e,attributes:_0x198caf})=>{const _0x3411f8=_0x31f2d0,_0x3e658f=await this[_0x3411f8(0x11d)](_0x1253d8)[_0x3411f8(0xe2)]({'commentThreadId':_0x1e7299,'comments':_0x518f18[_0x3411f8(0xdf)](_0x111995=>function(_0x5f4c33,_0xe7f031,_0x427d0c){const _0x206f28=_0x3411f8;return{'commentThreadId':_0x427d0c,'commentId':_0x5f4c33[_0x206f28(0x11c)],'userId':_0x5f4c33[_0x206f28(0x133)],'content':_0x5f4c33[_0x206f28(0x10f)],'documentId':_0xe7f031,'createdAt':_0x5f4c33[_0x206f28(0xf5)],'attributes':_0x5f4c33[_0x206f28(0x134)]||{}};}(_0x111995,_0x1253d8,_0x1e7299)),'resolvedAt':_0x85dd79,'resolvedBy':_0x5d2107,'context':_0x2b372e,'attributes':_0x198caf})[_0x3411f8(0x122)](A);return{'threadId':_0x3e658f[_0x3411f8(0xd5)],'comments':_0x3e658f[_0x3411f8(0xe9)]};},'getCommentThread':async({channelId:_0x3a0093,threadId:_0x4171ea})=>{const _0x1c9547=_0x31f2d0,_0x5e7073=await this[_0x1c9547(0x11d)](_0x3a0093)[_0x1c9547(0xde)](_0x4171ea)[_0x1c9547(0x122)](v)[_0x1c9547(0x122)](A);return _0x5e7073?_0x5e7073[_0x1c9547(0xed)]?null:(await this[_0x1c9547(0xfd)]([_0x5e7073]),{'threadId':_0x5e7073[_0x1c9547(0xd5)],'comments':_0x5e7073[_0x1c9547(0xe9)][_0x1c9547(0xdf)](p),'context':_0x5e7073[_0x1c9547(0xd7)],'resolvedAt':_0x5e7073[_0x1c9547(0x137)],'resolvedBy':_0x5e7073[_0x1c9547(0x12f)],'attributes':_0x5e7073[_0x1c9547(0x134)]||{}}):null;},'updateCommentThread':async({channelId:_0xcce808,threadId:_0x1cba90,context:_0x3ed99f,unlinkedAt:_0x12df12,attributes:_0xa923bf})=>this[_0x31f2d0(0x11d)](_0xcce808)[_0x31f2d0(0xd8)]({'commentThreadId':_0x1cba90,'context':_0x3ed99f,'attributes':_0xa923bf,'unlinkedAt':_0x12df12})[_0x31f2d0(0x122)](v)[_0x31f2d0(0x122)](A),'resolveCommentThread':async({channelId:_0x3de05e,threadId:_0x7aa300})=>{const _0x5e29cc=_0x31f2d0,_0x34190e=await this[_0x5e29cc(0x11d)](_0x3de05e)[_0x5e29cc(0x111)](_0x7aa300)[_0x5e29cc(0x122)](v)[_0x5e29cc(0x122)](A);return{'threadId':_0x34190e[_0x5e29cc(0xd5)],'resolvedAt':_0x34190e[_0x5e29cc(0x137)],'resolvedBy':_0x34190e[_0x5e29cc(0x12f)]};},'reopenCommentThread':async({channelId:_0x5a5c5b,threadId:_0x5771d0})=>this[_0x31f2d0(0x11d)](_0x5a5c5b)[_0x31f2d0(0xf1)](_0x5771d0)[_0x31f2d0(0x122)](v)[_0x31f2d0(0x122)](A),'removeCommentThread':({channelId:_0x37aa89,threadId:_0x3d8f31})=>this[_0x31f2d0(0x11d)](_0x37aa89)[_0x31f2d0(0x102)](_0x3d8f31)[_0x31f2d0(0x122)](v)[_0x31f2d0(0x122)](A),'addComment':({channelId:_0x5ebe7c,threadId:_0x523101,commentId:_0x32b58e,content:_0x37da5e,attributes:_0x3bcc08})=>this[_0x31f2d0(0x11d)](_0x5ebe7c)[_0x31f2d0(0x120)](_0x523101,_0x32b58e,_0x37da5e,_0x3bcc08)[_0x31f2d0(0x122)](A),'updateComment':({channelId:_0x3e81fc,threadId:_0x551386,commentId:_0x5a98f3,content:_0x57af30,attributes:_0x4f2f1f})=>this[_0x31f2d0(0x11d)](_0x3e81fc)[_0x31f2d0(0x117)](_0x551386,_0x5a98f3,_0x57af30,_0x4f2f1f)[_0x31f2d0(0x122)](v)[_0x31f2d0(0x122)](A),'removeComment':({channelId:_0x3a7564,threadId:_0xce83be,commentId:_0x2c2e7b})=>this[_0x31f2d0(0x11d)](_0x3a7564)[_0x31f2d0(0x121)](_0xce83be,_0x2c2e7b)[_0x31f2d0(0x122)](v)[_0x31f2d0(0x122)](A)},_0x953c17 instanceof _0x1c03e2){const _0x2c5ff7=_0x953c17[_0x31f2d0(0x112)][_0x31f2d0(0x119)](_0x31f2d0(0xdc)),_0x1e31df=_0x953c17[_0x31f2d0(0x127)][_0x31f2d0(0x119)](_0x3455ca);await this[_0x31f2d0(0xfc)](_0x2c5ff7);const _0x3a1e76=await this[_0x31f2d0(0x108)][_0x31f2d0(0x119)](_0x2c5ff7)[_0x31f2d0(0xfb)]();this[_0x31f2d0(0xeb)](_0x1e31df,_0x31f2d0(0x124)+_0x2c5ff7,(_0x1724dc,{session:_0xfe18ba})=>{const _0x418591=_0x31f2d0;_0xfe18ba['id']===_0x1e31df[_0x418591(0x107)]&&(_0x1724dc[_0x418591(0x118)](),this[_0x418591(0xd7)][_0x418591(0x127)][_0x418591(0x119)](_0x418591(0xf6))[_0x418591(0x105)](_0xfe18ba[_0x418591(0x103)],_0x2c5ff7));}),_0x1e31df[_0x31f2d0(0xf0)](_0x2c5ff7,_0x3a1e76);}}async[_0x57b6e4(0xfc)](_0x1df496){const _0x21075d=_0x57b6e4;if(this[_0x21075d(0x108)][_0x21075d(0x128)](_0x1df496))throw new _0x2abcb1(_0x21075d(0xef),null,{'channelId':_0x1df496});const _0x26edc2=this[_0x21075d(0xd7)][_0x21075d(0x127)][_0x21075d(0x119)](_0x21075d(0x10b)),_0x1f90c8=new s[(_0x21075d(0xf4))](_0x1df496);this[_0x21075d(0x108)][_0x21075d(0x11a)](_0x1df496,_0x1f90c8),this[_0x21075d(0xeb)](_0x1f90c8,_0x21075d(0x10c),(_0x2960ad,_0x6d09a0)=>{const _0x298fae=_0x21075d,{commentThreadId:_0x2bb4a0,documentId:_0x1dbfcd,context:_0x4392d8,attributes:_0x595c9e,resolvedAt:_0x4f36b0,resolvedBy:_0x3dd55a,comments:_0x5cac88}=_0x6d09a0;_0x26edc2[_0x298fae(0xde)](_0x2bb4a0)||_0x26edc2[_0x298fae(0xe2)]({'threadId':_0x2bb4a0,'channelId':_0x1dbfcd,'comments':_0x5cac88?_0x5cac88[_0x298fae(0xdf)](p):[],'context':_0x4392d8,'attributes':_0x595c9e,'resolvedAt':_0x4f36b0,'resolvedBy':_0x3dd55a,'isFromAdapter':!0x0});}),this[_0x21075d(0xeb)](_0x1f90c8,_0x21075d(0xe1),(_0x182287,{commentThreadId:_0x1f0c1e,documentId:_0x382e19,context:_0x4509a1,unlinkedAt:_0x31fc47,attributes:_0x24d335})=>{const _0x1ee6d2=_0x21075d;_0x26edc2[_0x1ee6d2(0xde)](_0x1f0c1e)&&_0x26edc2[_0x1ee6d2(0xd8)]({'threadId':_0x1f0c1e,'channelId':_0x382e19,'context':_0x4509a1,'unlinkedAt':_0x31fc47,'attributes':_0x24d335,'isFromAdapter':!0x0});}),this[_0x21075d(0xeb)](_0x1f90c8,_0x21075d(0xfa),(_0x57ba05,{commentThreadId:_0x415de2,resolvedBy:_0x28e811,resolvedAt:_0x5524f5})=>{const _0x5541be=_0x21075d,_0x51ea7e=_0x26edc2[_0x5541be(0xde)](_0x415de2);_0x51ea7e&&_0x51ea7e[_0x5541be(0x100)]({'resolvedBy':_0x28e811,'resolvedAt':_0x5524f5,'isFromAdapter':!0x0});}),this[_0x21075d(0xeb)](_0x1f90c8,_0x21075d(0xe4),(_0x891e98,{commentThreadId:_0x330cb})=>{const _0x54e7ef=_0x21075d,_0x3eb61b=_0x26edc2[_0x54e7ef(0xde)](_0x330cb);_0x3eb61b&&_0x3eb61b[_0x54e7ef(0xe5)]({'isFromAdapter':!0x0});}),this[_0x21075d(0xeb)](_0x1f90c8,_0x21075d(0x10d),(_0xb4ab6b,{commentThreadId:_0x39c0b8})=>{const _0xe01851=_0x21075d,_0x13af14=_0x26edc2[_0xe01851(0xde)](_0x39c0b8);_0x13af14&&_0x13af14[_0xe01851(0xf3)]({'isFromAdapter':!0x0});}),this[_0x21075d(0xeb)](_0x1f90c8,_0x21075d(0x12b),(_0x3991ea,_0x472123)=>{const _0x33dd46=_0x21075d,_0x5f225b=_0x472123[_0x33dd46(0xd5)],_0x29f30a=_0x26edc2[_0x33dd46(0xde)](_0x5f225b);_0x29f30a&&_0x29f30a[_0x33dd46(0x120)]({...p(_0x472123),'isFromAdapter':!0x0});}),this[_0x21075d(0xeb)](_0x1f90c8,_0x21075d(0xec),(_0x1ec7a5,{commentThreadId:_0x460282,commentId:_0x157471,content:_0x4a26d2,attributes:_0x328835})=>{const _0x21f7cc=_0x21075d,_0xcb9bed=_0x26edc2[_0x21f7cc(0xde)](_0x460282);if(_0xcb9bed){const _0x23da36=_0xcb9bed[_0x21f7cc(0x131)](_0x157471);_0x23da36&&_0x23da36[_0x21f7cc(0xdd)]({'content':_0x4a26d2,'attributes':_0x328835,'isFromAdapter':!0x0});}}),this[_0x21075d(0xeb)](_0x1f90c8,_0x21075d(0xfe),(_0x59f054,{commentThreadId:_0x1ad7ce,commentId:_0x56ec2d})=>{const _0x2ae685=_0x21075d,_0x28d233=_0x26edc2[_0x2ae685(0xde)](_0x1ad7ce);if(_0x28d233){const _0x358afb=_0x28d233[_0x2ae685(0x131)](_0x56ec2d);_0x358afb&&_0x358afb[_0x2ae685(0xf3)]({'isFromAdapter':!0x0});}}),await this[_0x21075d(0xf9)](_0x1df496);}[_0x57b6e4(0x130)](){const _0x5a7744=_0x57b6e4;if(this[_0x5a7744(0xd7)]instanceof _0x1c03e2){const _0x273d4d=this[_0x5a7744(0xd7)][_0x5a7744(0x112)][_0x5a7744(0x119)](_0x5a7744(0xdc));this[_0x5a7744(0x110)](_0x273d4d);}}[_0x57b6e4(0x110)](_0x140eb6){const _0x313684=_0x57b6e4;if(!this[_0x313684(0x108)][_0x313684(0x128)](_0x140eb6))throw new _0x2abcb1(_0x313684(0xd3),null,{'channelId':_0x140eb6});this[_0x313684(0x11d)](_0x140eb6)[_0x313684(0x109)](),this[_0x313684(0x108)][_0x313684(0xe3)](_0x140eb6);}async[_0x57b6e4(0xee)](){const _0xe63cd4=_0x57b6e4;for(const _0x573a4a of this[_0xe63cd4(0x108)][_0xe63cd4(0xd6)]())await this[_0xe63cd4(0xf9)](_0x573a4a);if(this[_0xe63cd4(0xd7)]instanceof _0x1c03e2){const _0x3b6380=this[_0xe63cd4(0xd7)][_0xe63cd4(0x112)][_0xe63cd4(0x119)](_0xe63cd4(0xdc)),_0x25f5ff=this[_0xe63cd4(0xd7)][_0xe63cd4(0x127)][_0xe63cd4(0x119)](_0x3455ca);_0x25f5ff[_0xe63cd4(0x115)](_0x3b6380);const _0x76f668=await this[_0xe63cd4(0x108)][_0xe63cd4(0x119)](_0x3b6380)[_0xe63cd4(0xfb)]();_0x25f5ff[_0xe63cd4(0xf0)](_0x3b6380,_0x76f668);}}async[_0x57b6e4(0xf9)](_0x2d4751){const _0x365967=_0x57b6e4,{connection:_0x36a4be}=this[_0x365967(0xd7)][_0x365967(0x127)][_0x365967(0x119)](_0x414817),_0xd4fb01=this[_0x365967(0xd7)][_0x365967(0x127)][_0x365967(0x119)](_0x365967(0x10b)),_0x367a5d=this[_0x365967(0x108)][_0x365967(0x119)](_0x2d4751),_0x50fcad=await _0x367a5d[_0x365967(0xea)](_0x36a4be);await this[_0x365967(0xfd)](_0x50fcad);const _0x1a67bb=new Set(Array[_0x365967(0xe6)](_0xd4fb01[_0x365967(0x138)]({'channelId':_0x2d4751}),_0x53be1c=>_0x53be1c['id']));for(const _0x9971c5 of _0x50fcad)_0x9971c5[_0x365967(0xed)]||_0x1a67bb[_0x365967(0xe3)](_0x9971c5[_0x365967(0xd5)]);for(const _0x439aca of _0x1a67bb)_0xd4fb01[_0x365967(0xde)](_0x439aca)[_0x365967(0xf3)]({'isFromAdapter':!0x0});for(const _0x11f8cf of _0x50fcad){let _0x1ac755=_0xd4fb01[_0x365967(0xde)](_0x11f8cf[_0x365967(0xd5)]);const {commentThreadId:_0xaf93af,context:_0x326c1c,attributes:_0x54153f,resolvedBy:_0x40ebb9,resolvedAt:_0xf2b4bd,unlinkedAt:_0x4d84b9,deletedAt:_0x1ab01f}=_0x11f8cf;if(_0x1ab01f)continue;_0x1ac755||(_0x1ac755=_0xd4fb01[_0x365967(0xe2)]({'channelId':_0x2d4751,'threadId':_0xaf93af,'context':_0x326c1c,'attributes':_0x54153f||{},'resolvedBy':_0x40ebb9,'resolvedAt':_0xf2b4bd,'unlinkedAt':_0x4d84b9,'isFromAdapter':!0x0}));const _0x3ada4c=new Set(Array[_0x365967(0xe6)](_0x1ac755[_0x365967(0xe9)],_0x2909fc=>_0x2909fc['id']));for(const _0x15bb34 of _0x11f8cf[_0x365967(0xe9)])_0x3ada4c[_0x365967(0xe3)](_0x15bb34[_0x365967(0x11c)]);for(const _0x20b3ba of _0x3ada4c)_0x1ac755[_0x365967(0x131)](_0x20b3ba)[_0x365967(0xf3)]({'isFromAdapter':!0x0});for(const _0x29b6df of _0x11f8cf[_0x365967(0xe9)]){const _0x28f6f8=_0x1ac755[_0x365967(0x131)](_0x29b6df[_0x365967(0x11c)]);_0x28f6f8?_0x28f6f8[_0x365967(0x10f)]!==_0x29b6df[_0x365967(0x10f)]&&_0x28f6f8[_0x365967(0xdd)]({'content':_0x29b6df[_0x365967(0x10f)],'isFromAdapter':!0x0}):_0x1ac755[_0x365967(0x120)](Object[_0x365967(0xd2)](p(_0x29b6df),{'isFromAdapter':!0x0}));}}}[_0x57b6e4(0x11d)](_0x42b91e){const _0x1eb259=_0x57b6e4;if(!this[_0x1eb259(0x108)][_0x1eb259(0x128)](_0x42b91e))throw new _0x2abcb1(_0x1eb259(0x136),null,{'channelId':_0x42b91e});return this[_0x1eb259(0x108)][_0x1eb259(0x119)](_0x42b91e);}async[_0x57b6e4(0xfd)](_0x2c50db){const _0x2a9832=_0x57b6e4,_0x573f1b=this[_0x2a9832(0xd7)][_0x2a9832(0x127)][_0x2a9832(0x119)](_0x3b3de0),{connection:_0x495aeb}=this[_0x2a9832(0xd7)][_0x2a9832(0x127)][_0x2a9832(0x119)](_0x414817),_0x2c8736=new Set();for(const {resolvedBy:_0x1536ac,comments:_0x2fc423}of _0x2c50db){_0x1536ac&&!_0x573f1b[_0x2a9832(0x129)](_0x1536ac)&&_0x2c8736[_0x2a9832(0x12d)](_0x1536ac);for(const {userId:_0x7826c8}of _0x2fc423)_0x573f1b[_0x2a9832(0x129)](_0x7826c8)||_0x2c8736[_0x2a9832(0x12d)](_0x7826c8);}if(0x0===_0x2c8736[_0x2a9832(0xe8)])return;const _0x3784f9=await _0x53dc51[_0x2a9832(0x11b)](_0x495aeb,Array[_0x2a9832(0xe6)](_0x2c8736));for(const _0x1cdf82 of _0x3784f9)_0x573f1b[_0x2a9832(0x129)](_0x1cdf82['id'])||_0x573f1b[_0x2a9832(0x126)](_0x1cdf82);}}export{s as CloudServicesCommentsAdapter};async function v(_0x1d3803){const _0x41f4dd=_0x57b6e4;if(_0x41f4dd(0x106)!==_0x1d3803[_0x41f4dd(0x12c)])throw _0x1d3803;}function A(_0x87caf3){const _0x14b522=_0x57b6e4;if((_0xf1bd33=_0x87caf3)[_0x14b522(0x11e)][_0x14b522(0x123)](_0x14b522(0xda))||_0xf1bd33[_0x14b522(0x11e)][_0x14b522(0x123)](_0x14b522(0x125))||_0xf1bd33[_0x14b522(0x11e)][_0x14b522(0x123)](_0x14b522(0xf2)))return new Promise(()=>{});var _0xf1bd33;throw _0x87caf3;}function p(_0x10e5b4){const _0x4088d1=_0x57b6e4;return{'threadId':_0x10e5b4[_0x4088d1(0xd5)],'commentId':_0x10e5b4[_0x4088d1(0x11c)],'content':_0x10e5b4[_0x4088d1(0x10f)],'createdAt':_0x10e5b4[_0x4088d1(0xf5)],'authorId':_0x10e5b4[_0x4088d1(0x135)],'attributes':_0x10e5b4[_0x4088d1(0x134)]||{}};}
|
|
23
|
+
const _0x4c11a4=_0x2d2f;(function(_0x14ad2d,_0xf1af45){const _0x5376be=_0x2d2f,_0x122b9d=_0x14ad2d();while(!![]){try{const _0xf4b5fe=-parseInt(_0x5376be(0x1a6))/0x1*(parseInt(_0x5376be(0x1b6))/0x2)+-parseInt(_0x5376be(0x1ca))/0x3*(parseInt(_0x5376be(0x18e))/0x4)+-parseInt(_0x5376be(0x1d2))/0x5*(parseInt(_0x5376be(0x1af))/0x6)+-parseInt(_0x5376be(0x186))/0x7*(-parseInt(_0x5376be(0x195))/0x8)+parseInt(_0x5376be(0x1cf))/0x9+parseInt(_0x5376be(0x198))/0xa*(-parseInt(_0x5376be(0x191))/0xb)+parseInt(_0x5376be(0x1d9))/0xc*(parseInt(_0x5376be(0x1a4))/0xd);if(_0xf4b5fe===_0xf1af45)break;else _0x122b9d['push'](_0x122b9d['shift']());}catch(_0x27ed40){_0x122b9d['push'](_0x122b9d['shift']());}}}(_0x297a,0xe2042));import{Context as _0x3ecf2c,ContextPlugin as _0x14c6d2}from'ckeditor5/src/core.js';import{CKEditorError as _0x19e6b2}from'ckeditor5/src/utils.js';import{Users as _0x35c914}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1079ed,User as _0x3f1ef5}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x12c0df}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x12938f}from'../realtimecollaborativeediting/sessions.js';function _0x297a(){const _0x54c59e=['context','addCommentThread','permissions','comments','addComment','addUser','isOfficialPlugin','6178652LbZxvF','size','reopenCommentThread','22pYDxwY','commentThreadUpdated','map','resolvedBy','5768NtyNNx','mySessionId','addToReconnectionStack','4054110hzErHW','createdAt','getComment','reconnect','connect','content','commentThreadResolved','removeCommentThread','pluginName','from','commentThreadAdded','off','7711301xNSWlS','destroy','5TbSBKk','Permissions','_getService','_connectService','update','404','_terminateService','delete','_fetchMissingUsersForThreads','252024OVNosj','_setUpService','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','catch','commentThreadReopened','startsWith','listenTo','371904msFVGv','updateComment','commentRemoved','cloudservicescommentsadapter-connect-already-connected','register','unregister','removeComment','resolvedAt','getConnectedSessions','remove','getCommentThread','CommentsRepository','keys','commentUpdated','userId','commentThreadRemoved','set','authorId','commentAdded','isPremiumPlugin','3kkiWSb','CloudServicesCommentsAdapter','disconnect','cloudservicescommentsadapter-service-not-exist','getUser','7550757zeRCSQ','reopen','cloud-services-internal-error:\x20Not\x20connected.','5SFvBAh','cloud-services-internal-error:\x20Request\x20timeout.','attributes','code','_services','resolve','adapter','36ziraSl','plugins','getCommentThreads','init','setPermissions','resolveCommentThread','deletedAt','cloudservicescommentsadapter-disconnect-not-exist','commentId','add','collaboration.channelId','getMany','updateCommentThread','message','CommentsService','get','assign','has','config','requires','commentThreadId','sessionAdd:','15869MYXLot'];_0x297a=function(){return _0x54c59e;};return _0x297a();}class s extends _0x14c6d2{static [_0x4c11a4(0x1e7)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x1079ed)());[_0x4c11a4(0x1d6)];static get[_0x4c11a4(0x1ec)](){const _0x2d6ff5=_0x4c11a4;return[_0x12c0df,_0x2d6ff5(0x1c1),_0x12938f,_0x35c914];}static get[_0x4c11a4(0x1a0)](){const _0x514fa8=_0x4c11a4;return _0x514fa8(0x1cb);}static get[_0x4c11a4(0x18d)](){return!0x0;}static get[_0x4c11a4(0x1c9)](){return!0x0;}constructor(_0x472e84){const _0x583f71=_0x4c11a4;super(_0x472e84),this[_0x583f71(0x1d6)]=new Map();}async[_0x4c11a4(0x1dc)](){const _0x5bc408=_0x4c11a4,_0x1d6101=this[_0x5bc408(0x187)],_0x3ead90=_0x1d6101[_0x5bc408(0x1da)][_0x5bc408(0x1e8)](_0x5bc408(0x1c1));if(_0x1d6101[_0x5bc408(0x1da)][_0x5bc408(0x1e8)](_0x12c0df)[_0x5bc408(0x197)](this),_0x3ead90[_0x5bc408(0x1d8)]={'addCommentThread':async({channelId:_0x97a2a1,threadId:_0x26d34d,comments:_0x8dc9bb,resolvedAt:_0x5bded5,resolvedBy:_0x1dc136,context:_0x176bcf,attributes:_0x580dc4})=>{const _0x3e2f71=_0x5bc408,_0x565841=await this[_0x3e2f71(0x1a8)](_0x97a2a1)[_0x3e2f71(0x188)]({'commentThreadId':_0x26d34d,'comments':_0x8dc9bb[_0x3e2f71(0x193)](_0x3cab4e=>function(_0x30d33b,_0x18672b,_0x342a41){const _0x5c5b5e=_0x3e2f71;return{'commentThreadId':_0x342a41,'commentId':_0x30d33b[_0x5c5b5e(0x1e1)],'userId':_0x30d33b[_0x5c5b5e(0x1c7)],'content':_0x30d33b[_0x5c5b5e(0x19d)],'documentId':_0x18672b,'createdAt':_0x30d33b[_0x5c5b5e(0x199)],'attributes':_0x30d33b[_0x5c5b5e(0x1d4)]||{}};}(_0x3cab4e,_0x97a2a1,_0x26d34d)),'resolvedAt':_0x5bded5,'resolvedBy':_0x1dc136,'context':_0x176bcf,'attributes':_0x580dc4})[_0x3e2f71(0x1b2)](k);return{'threadId':_0x565841[_0x3e2f71(0x1ed)],'comments':_0x565841[_0x3e2f71(0x18a)]};},'getCommentThread':async({channelId:_0x25e755,threadId:_0x19cac5})=>{const _0x10516b=_0x5bc408,_0xe3e452=await this[_0x10516b(0x1a8)](_0x25e755)[_0x10516b(0x1c0)](_0x19cac5)[_0x10516b(0x1b2)](F)[_0x10516b(0x1b2)](k);return _0xe3e452?_0xe3e452[_0x10516b(0x1df)]?null:(await this[_0x10516b(0x1ae)]([_0xe3e452]),{'threadId':_0xe3e452[_0x10516b(0x1ed)],'comments':_0xe3e452[_0x10516b(0x18a)][_0x10516b(0x193)](B),'context':_0xe3e452[_0x10516b(0x187)],'resolvedAt':_0xe3e452[_0x10516b(0x1bd)],'resolvedBy':_0xe3e452[_0x10516b(0x194)],'attributes':_0xe3e452[_0x10516b(0x1d4)]||{}}):null;},'updateCommentThread':async({channelId:_0x1f7758,threadId:_0x1b8f56,context:_0x297d93,unlinkedAt:_0x4a3454,attributes:_0x2eee5f})=>this[_0x5bc408(0x1a8)](_0x1f7758)[_0x5bc408(0x1e5)]({'commentThreadId':_0x1b8f56,'context':_0x297d93,'attributes':_0x2eee5f,'unlinkedAt':_0x4a3454})[_0x5bc408(0x1b2)](F)[_0x5bc408(0x1b2)](k),'resolveCommentThread':async({channelId:_0x434d4e,threadId:_0x18f339})=>{const _0x34e89f=_0x5bc408,_0x3eb80a=await this[_0x34e89f(0x1a8)](_0x434d4e)[_0x34e89f(0x1de)](_0x18f339)[_0x34e89f(0x1b2)](F)[_0x34e89f(0x1b2)](k);return{'threadId':_0x3eb80a[_0x34e89f(0x1ed)],'resolvedAt':_0x3eb80a[_0x34e89f(0x1bd)],'resolvedBy':_0x3eb80a[_0x34e89f(0x194)]};},'reopenCommentThread':async({channelId:_0x125c8f,threadId:_0x120e63})=>this[_0x5bc408(0x1a8)](_0x125c8f)[_0x5bc408(0x190)](_0x120e63)[_0x5bc408(0x1b2)](F)[_0x5bc408(0x1b2)](k),'removeCommentThread':({channelId:_0x4c9e9a,threadId:_0x4b2cc0})=>this[_0x5bc408(0x1a8)](_0x4c9e9a)[_0x5bc408(0x19f)](_0x4b2cc0)[_0x5bc408(0x1b2)](F)[_0x5bc408(0x1b2)](k),'addComment':({channelId:_0x1f459c,threadId:_0x257465,commentId:_0x534cc1,content:_0x520a41,attributes:_0x38a96a})=>this[_0x5bc408(0x1a8)](_0x1f459c)[_0x5bc408(0x18b)](_0x257465,_0x534cc1,_0x520a41,_0x38a96a)[_0x5bc408(0x1b2)](k),'updateComment':({channelId:_0x36d43d,threadId:_0x4f01c6,commentId:_0x3cc426,content:_0x4dcc3a,attributes:_0xf17cce})=>this[_0x5bc408(0x1a8)](_0x36d43d)[_0x5bc408(0x1b7)](_0x4f01c6,_0x3cc426,_0x4dcc3a,_0xf17cce)[_0x5bc408(0x1b2)](F)[_0x5bc408(0x1b2)](k),'removeComment':({channelId:_0x31543e,threadId:_0x23fb6e,commentId:_0x294db6})=>this[_0x5bc408(0x1a8)](_0x31543e)[_0x5bc408(0x1bc)](_0x23fb6e,_0x294db6)[_0x5bc408(0x1b2)](F)[_0x5bc408(0x1b2)](k)},_0x1d6101 instanceof _0x3ecf2c){const _0x2c427b=_0x1d6101[_0x5bc408(0x1eb)][_0x5bc408(0x1e8)](_0x5bc408(0x1e3)),_0x4b0a7b=_0x1d6101[_0x5bc408(0x1da)][_0x5bc408(0x1e8)](_0x12938f);await this[_0x5bc408(0x1b0)](_0x2c427b);const _0x3e96f4=await this[_0x5bc408(0x1d6)][_0x5bc408(0x1e8)](_0x2c427b)[_0x5bc408(0x1be)]();this[_0x5bc408(0x1b5)](_0x4b0a7b,_0x5bc408(0x1ee)+_0x2c427b,(_0x274cfd,{session:_0x2d9e4f})=>{const _0x4e2809=_0x5bc408;_0x2d9e4f['id']===_0x4b0a7b[_0x4e2809(0x196)]&&(_0x274cfd[_0x4e2809(0x1a3)](),this[_0x4e2809(0x187)][_0x4e2809(0x1da)][_0x4e2809(0x1e8)](_0x4e2809(0x1a7))[_0x4e2809(0x1dd)](_0x2d9e4f[_0x4e2809(0x189)],_0x2c427b));}),_0x4b0a7b[_0x5bc408(0x1ba)](_0x2c427b,_0x3e96f4);}}async[_0x4c11a4(0x1b0)](_0xa7dee7){const _0x592a61=_0x4c11a4;if(this[_0x592a61(0x1d6)][_0x592a61(0x1ea)](_0xa7dee7))throw new _0x19e6b2(_0x592a61(0x1b9),null,{'channelId':_0xa7dee7});const _0x497364=this[_0x592a61(0x187)][_0x592a61(0x1da)][_0x592a61(0x1e8)](_0x592a61(0x1c1)),_0x492d16=new s[(_0x592a61(0x1e7))](_0xa7dee7);this[_0x592a61(0x1d6)][_0x592a61(0x1c6)](_0xa7dee7,_0x492d16),this[_0x592a61(0x1b5)](_0x492d16,_0x592a61(0x1a2),(_0x18adc8,_0x5a202c)=>{const _0x595bc4=_0x592a61,{commentThreadId:_0x5364d9,documentId:_0x2fa986,context:_0x210d1a,attributes:_0x2f5476,resolvedAt:_0x4bef71,resolvedBy:_0x5c86fa,comments:_0x323d1b}=_0x5a202c;_0x497364[_0x595bc4(0x1c0)](_0x5364d9)||_0x497364[_0x595bc4(0x188)]({'threadId':_0x5364d9,'channelId':_0x2fa986,'comments':_0x323d1b?_0x323d1b[_0x595bc4(0x193)](B):[],'context':_0x210d1a,'attributes':_0x2f5476,'resolvedAt':_0x4bef71,'resolvedBy':_0x5c86fa,'isFromAdapter':!0x0});}),this[_0x592a61(0x1b5)](_0x492d16,_0x592a61(0x192),(_0x548661,{commentThreadId:_0x14edb1,documentId:_0x2fb4b7,context:_0x2bf9e6,unlinkedAt:_0x1c2da7,attributes:_0x1828c0})=>{const _0xe38a38=_0x592a61;_0x497364[_0xe38a38(0x1c0)](_0x14edb1)&&_0x497364[_0xe38a38(0x1e5)]({'threadId':_0x14edb1,'channelId':_0x2fb4b7,'context':_0x2bf9e6,'unlinkedAt':_0x1c2da7,'attributes':_0x1828c0,'isFromAdapter':!0x0});}),this[_0x592a61(0x1b5)](_0x492d16,_0x592a61(0x19e),(_0x49b83d,{commentThreadId:_0x4e0fdd,resolvedBy:_0x4d0651,resolvedAt:_0x2582ad})=>{const _0x3a7f0f=_0x592a61,_0x317ec7=_0x497364[_0x3a7f0f(0x1c0)](_0x4e0fdd);_0x317ec7&&_0x317ec7[_0x3a7f0f(0x1d7)]({'resolvedBy':_0x4d0651,'resolvedAt':_0x2582ad,'isFromAdapter':!0x0});}),this[_0x592a61(0x1b5)](_0x492d16,_0x592a61(0x1b3),(_0x4841a5,{commentThreadId:_0x59828f})=>{const _0x3dfcf1=_0x592a61,_0xe6b25e=_0x497364[_0x3dfcf1(0x1c0)](_0x59828f);_0xe6b25e&&_0xe6b25e[_0x3dfcf1(0x1d0)]({'isFromAdapter':!0x0});}),this[_0x592a61(0x1b5)](_0x492d16,_0x592a61(0x1c5),(_0x48a0f6,{commentThreadId:_0x27a3c6})=>{const _0x3476d8=_0x592a61,_0x4793d2=_0x497364[_0x3476d8(0x1c0)](_0x27a3c6);_0x4793d2&&_0x4793d2[_0x3476d8(0x1bf)]({'isFromAdapter':!0x0});}),this[_0x592a61(0x1b5)](_0x492d16,_0x592a61(0x1c8),(_0x34568e,_0x360c75)=>{const _0x42d099=_0x592a61,_0x32c57e=_0x360c75[_0x42d099(0x1ed)],_0x34e9b7=_0x497364[_0x42d099(0x1c0)](_0x32c57e);_0x34e9b7&&_0x34e9b7[_0x42d099(0x18b)]({...B(_0x360c75),'isFromAdapter':!0x0});}),this[_0x592a61(0x1b5)](_0x492d16,_0x592a61(0x1c3),(_0x3bd2b9,{commentThreadId:_0x21a349,commentId:_0x5cb704,content:_0xeb543b,attributes:_0x5ec6ba})=>{const _0x45a134=_0x592a61,_0x5d5268=_0x497364[_0x45a134(0x1c0)](_0x21a349);if(_0x5d5268){const _0x3d9911=_0x5d5268[_0x45a134(0x19a)](_0x5cb704);_0x3d9911&&_0x3d9911[_0x45a134(0x1aa)]({'content':_0xeb543b,'attributes':_0x5ec6ba,'isFromAdapter':!0x0});}}),this[_0x592a61(0x1b5)](_0x492d16,_0x592a61(0x1b8),(_0x25b299,{commentThreadId:_0x358f62,commentId:_0x310823})=>{const _0x1e4f44=_0x592a61,_0x4ffda8=_0x497364[_0x1e4f44(0x1c0)](_0x358f62);if(_0x4ffda8){const _0x26cc4d=_0x4ffda8[_0x1e4f44(0x19a)](_0x310823);_0x26cc4d&&_0x26cc4d[_0x1e4f44(0x1bf)]({'isFromAdapter':!0x0});}}),await this[_0x592a61(0x1a9)](_0xa7dee7);}[_0x4c11a4(0x1a5)](){const _0x198d65=_0x4c11a4;if(this[_0x198d65(0x187)]instanceof _0x3ecf2c){const _0x5f1ee7=this[_0x198d65(0x187)][_0x198d65(0x1eb)][_0x198d65(0x1e8)](_0x198d65(0x1e3));this[_0x198d65(0x1ac)](_0x5f1ee7);}}[_0x4c11a4(0x1ac)](_0x3eee46){const _0x5f24cf=_0x4c11a4;if(!this[_0x5f24cf(0x1d6)][_0x5f24cf(0x1ea)](_0x3eee46))throw new _0x19e6b2(_0x5f24cf(0x1e0),null,{'channelId':_0x3eee46});this[_0x5f24cf(0x1a8)](_0x3eee46)[_0x5f24cf(0x1cc)](),this[_0x5f24cf(0x1d6)][_0x5f24cf(0x1ad)](_0x3eee46);}async[_0x4c11a4(0x19b)](){const _0x2d7283=_0x4c11a4;for(const _0x565dd9 of this[_0x2d7283(0x1d6)][_0x2d7283(0x1c2)]())await this[_0x2d7283(0x1a9)](_0x565dd9);if(this[_0x2d7283(0x187)]instanceof _0x3ecf2c){const _0x2549bc=this[_0x2d7283(0x187)][_0x2d7283(0x1eb)][_0x2d7283(0x1e8)](_0x2d7283(0x1e3)),_0x14fab1=this[_0x2d7283(0x187)][_0x2d7283(0x1da)][_0x2d7283(0x1e8)](_0x12938f);_0x14fab1[_0x2d7283(0x1bb)](_0x2549bc);const _0x31acf3=await this[_0x2d7283(0x1d6)][_0x2d7283(0x1e8)](_0x2549bc)[_0x2d7283(0x1be)]();_0x14fab1[_0x2d7283(0x1ba)](_0x2549bc,_0x31acf3);}}async[_0x4c11a4(0x1a9)](_0x34458b){const _0x3e5a7f=_0x4c11a4,{connection:_0x5ae2fa}=this[_0x3e5a7f(0x187)][_0x3e5a7f(0x1da)][_0x3e5a7f(0x1e8)](_0x12c0df),_0x45a04b=this[_0x3e5a7f(0x187)][_0x3e5a7f(0x1da)][_0x3e5a7f(0x1e8)](_0x3e5a7f(0x1c1)),_0x2703cb=this[_0x3e5a7f(0x1d6)][_0x3e5a7f(0x1e8)](_0x34458b),_0x43075f=await _0x2703cb[_0x3e5a7f(0x19c)](_0x5ae2fa);await this[_0x3e5a7f(0x1ae)](_0x43075f);const _0x1cf98a=new Set(Array[_0x3e5a7f(0x1a1)](_0x45a04b[_0x3e5a7f(0x1db)]({'channelId':_0x34458b}),_0x2347bb=>_0x2347bb['id']));for(const _0x4a8e1a of _0x43075f)_0x4a8e1a[_0x3e5a7f(0x1df)]||_0x1cf98a[_0x3e5a7f(0x1ad)](_0x4a8e1a[_0x3e5a7f(0x1ed)]);for(const _0x280b98 of _0x1cf98a)_0x45a04b[_0x3e5a7f(0x1c0)](_0x280b98)[_0x3e5a7f(0x1bf)]({'isFromAdapter':!0x0});for(const _0x4b5861 of _0x43075f){let _0x4248ac=_0x45a04b[_0x3e5a7f(0x1c0)](_0x4b5861[_0x3e5a7f(0x1ed)]);const {commentThreadId:_0x4bb7a7,context:_0xe802bf,attributes:_0x4efd04,resolvedBy:_0x4d832f,resolvedAt:_0x2f8dd4,unlinkedAt:_0xa1c3af,deletedAt:_0x51e507}=_0x4b5861;if(_0x51e507)continue;_0x4248ac||(_0x4248ac=_0x45a04b[_0x3e5a7f(0x188)]({'channelId':_0x34458b,'threadId':_0x4bb7a7,'context':_0xe802bf,'attributes':_0x4efd04||{},'resolvedBy':_0x4d832f,'resolvedAt':_0x2f8dd4,'unlinkedAt':_0xa1c3af,'isFromAdapter':!0x0}));const _0x13a668=new Set(Array[_0x3e5a7f(0x1a1)](_0x4248ac[_0x3e5a7f(0x18a)],_0x2f289e=>_0x2f289e['id']));for(const _0x14409f of _0x4b5861[_0x3e5a7f(0x18a)])_0x13a668[_0x3e5a7f(0x1ad)](_0x14409f[_0x3e5a7f(0x1e1)]);for(const _0x192f6d of _0x13a668)_0x4248ac[_0x3e5a7f(0x19a)](_0x192f6d)[_0x3e5a7f(0x1bf)]({'isFromAdapter':!0x0});for(const _0x5734 of _0x4b5861[_0x3e5a7f(0x18a)]){const _0x2a7da9=_0x4248ac[_0x3e5a7f(0x19a)](_0x5734[_0x3e5a7f(0x1e1)]);_0x2a7da9?_0x2a7da9[_0x3e5a7f(0x19d)]!==_0x5734[_0x3e5a7f(0x19d)]&&_0x2a7da9[_0x3e5a7f(0x1aa)]({'content':_0x5734[_0x3e5a7f(0x19d)],'isFromAdapter':!0x0}):_0x4248ac[_0x3e5a7f(0x18b)](Object[_0x3e5a7f(0x1e9)](B(_0x5734),{'isFromAdapter':!0x0}));}}}[_0x4c11a4(0x1a8)](_0x4ad5c0){const _0x366835=_0x4c11a4;if(!this[_0x366835(0x1d6)][_0x366835(0x1ea)](_0x4ad5c0))throw new _0x19e6b2(_0x366835(0x1cd),null,{'channelId':_0x4ad5c0});return this[_0x366835(0x1d6)][_0x366835(0x1e8)](_0x4ad5c0);}async[_0x4c11a4(0x1ae)](_0x50b0ba){const _0x3eb27d=_0x4c11a4,_0x279ad4=this[_0x3eb27d(0x187)][_0x3eb27d(0x1da)][_0x3eb27d(0x1e8)](_0x35c914),{connection:_0x2bdbee}=this[_0x3eb27d(0x187)][_0x3eb27d(0x1da)][_0x3eb27d(0x1e8)](_0x12c0df),_0x27b43d=new Set();for(const {resolvedBy:_0x290b02,comments:_0x57765c}of _0x50b0ba){_0x290b02&&!_0x279ad4[_0x3eb27d(0x1ce)](_0x290b02)&&_0x27b43d[_0x3eb27d(0x1e2)](_0x290b02);for(const {userId:_0x197d59}of _0x57765c)_0x279ad4[_0x3eb27d(0x1ce)](_0x197d59)||_0x27b43d[_0x3eb27d(0x1e2)](_0x197d59);}if(0x0===_0x27b43d[_0x3eb27d(0x18f)])return;const _0x32960d=await _0x3f1ef5[_0x3eb27d(0x1e4)](_0x2bdbee,Array[_0x3eb27d(0x1a1)](_0x27b43d));for(const _0x5410f3 of _0x32960d)_0x279ad4[_0x3eb27d(0x1ce)](_0x5410f3['id'])||_0x279ad4[_0x3eb27d(0x18c)](_0x5410f3);}}export{s as CloudServicesCommentsAdapter};function _0x2d2f(_0x2a6a47,_0x23cf8b){const _0x297ae5=_0x297a();return _0x2d2f=function(_0x2d2f0b,_0x2b0f43){_0x2d2f0b=_0x2d2f0b-0x186;let _0x3121b9=_0x297ae5[_0x2d2f0b];return _0x3121b9;},_0x2d2f(_0x2a6a47,_0x23cf8b);}async function F(_0x51b852){const _0x462842=_0x4c11a4;if(_0x462842(0x1ab)!==_0x51b852[_0x462842(0x1d5)])throw _0x51b852;}function k(_0x2085b0){const _0x3b069a=_0x4c11a4;if((_0x12d7df=_0x2085b0)[_0x3b069a(0x1e6)][_0x3b069a(0x1b4)](_0x3b069a(0x1b1))||_0x12d7df[_0x3b069a(0x1e6)][_0x3b069a(0x1b4)](_0x3b069a(0x1d1))||_0x12d7df[_0x3b069a(0x1e6)][_0x3b069a(0x1b4)](_0x3b069a(0x1d3)))return new Promise(()=>{});var _0x12d7df;throw _0x2085b0;}function B(_0x240ee3){const _0x5d68a5=_0x4c11a4;return{'threadId':_0x240ee3[_0x5d68a5(0x1ed)],'commentId':_0x240ee3[_0x5d68a5(0x1e1)],'content':_0x240ee3[_0x5d68a5(0x19d)],'createdAt':_0x240ee3[_0x5d68a5(0x199)],'authorId':_0x240ee3[_0x5d68a5(0x1c4)],'attributes':_0x240ee3[_0x5d68a5(0x1d4)]||{}};}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x2ecac0)());[_0x41fd7a(0xd0)];[_0x41fd7a(0x15c)];[_0x41fd7a(0x129)];[_0x41fd7a(0x112)];[_0x41fd7a(0xba)];[_0x41fd7a(0x184)];[_0x41fd7a(0x10d)];[_0x41fd7a(0x9f)];[_0x41fd7a(0x9d)];[_0x41fd7a(0xe8)];[_0x41fd7a(0xb9)];[_0x41fd7a(0x105)];[_0x41fd7a(0xf3)];[_0x41fd7a(0x135)];[_0x41fd7a(0x11c)];[_0x41fd7a(0x186)];[_0x41fd7a(0x19c)];[_0x41fd7a(0x179)];static get[_0x41fd7a(0x150)](){return[_0x4dce2f,_0x5bc9a6,_0x2bb55b,_0x414f14,_0x3f41ff,_0x37874a];}static get[_0x41fd7a(0xc8)](){const _0x580b9f=_0x41fd7a;return _0x580b9f(0x11a);}static get[_0x41fd7a(0x187)](){return!0x0;}static get[_0x41fd7a(0x12d)](){return!0x0;}get[_0x41fd7a(0x144)](){const _0x59106c=_0x41fd7a;return this[_0x59106c(0x155)]+this[_0x59106c(0xd0)];}get[_0x41fd7a(0x155)](){const _0x44a976=_0x41fd7a;return this[_0x44a976(0x129)][_0x44a976(0x153)]-this[_0x44a976(0xd0)];}get[_0x41fd7a(0x143)](){const _0x46d399=_0x41fd7a,_0x3d03ac=this[_0x46d399(0x129)][_0x46d399(0x9e)]();for(let _0x4004dc=_0x3d03ac[_0x46d399(0x188)]-0x1;_0x4004dc>=0x0;_0x4004dc--){const _0x518c2d=_0x3d03ac[_0x4004dc];if(!this[_0x46d399(0x19c)][_0x46d399(0x146)](_0x518c2d))return _0x518c2d[_0x46d399(0x163)]+0x1-this[_0x46d399(0xd0)];}return 0x0;}constructor(_0x3114f0){const _0x230c7f=_0x41fd7a;if(super(_0x3114f0),this[_0x230c7f(0xd0)]=0x0,this[_0x230c7f(0x15c)]=null,this[_0x230c7f(0x129)]=new _0x661d03(),this[_0x230c7f(0xa7)][_0x230c7f(0xfc)][_0x230c7f(0xcd)](_0x230c7f(0x15a),{}),this[_0x230c7f(0x112)]=this[_0x230c7f(0xa7)][_0x230c7f(0xfc)][_0x230c7f(0xe5)](_0x230c7f(0x160)),!this[_0x230c7f(0x112)])throw new _0x196d64(_0x230c7f(0x172),this);const _0x10b27a=_0x3114f0[_0x230c7f(0xfc)][_0x230c7f(0xe5)](_0x230c7f(0x11e))||_0x7d8c79;this[_0x230c7f(0xba)]=new l[(_0x230c7f(0xa6))](_0x10b27a,this[_0x230c7f(0x112)]),this[_0x230c7f(0x184)]=this[_0x230c7f(0xa7)][_0x230c7f(0x116)][_0x230c7f(0x10e)],this[_0x230c7f(0x10d)]=new _0x29649e(),this[_0x230c7f(0x9f)]=[],this[_0x230c7f(0x9d)]=new WeakSet(),this[_0x230c7f(0xe8)]=new Set(),this[_0x230c7f(0x122)](_0x230c7f(0xb5),!0x1),this[_0x230c7f(0x122)](_0x230c7f(0xb4),!0x1),this[_0x230c7f(0xb9)]=null,this[_0x230c7f(0x105)]=!0x1,this[_0x230c7f(0xf3)]=null,this[_0x230c7f(0x135)]=0x12c,this[_0x230c7f(0x11c)]=this[_0x230c7f(0x135)],this[_0x230c7f(0x186)]=null,this[_0x230c7f(0x19c)]=new WeakSet(),this[_0x230c7f(0x179)]=new M(this[_0x230c7f(0x19c)]);}[_0x41fd7a(0x151)](){const _0x14ca33=_0x41fd7a,_0x2332d1=this[_0x14ca33(0xa7)],_0x11446e=_0x2332d1[_0x14ca33(0xd6)][_0x14ca33(0xe5)](_0x3f41ff),_0x4478f8=_0x2332d1[_0x14ca33(0xd6)][_0x14ca33(0xe5)](_0x4dce2f);this[_0x14ca33(0x132)](_0x11446e,_0x14ca33(0xc5),(_0x2b9883,_0xa2f97b)=>{const _0x5dfe4e=_0x14ca33,_0x6107ba=_0xa2f97b[0x0];_0x6107ba[_0x5dfe4e(0x16d)]&&(_0x2b9883[_0x5dfe4e(0x149)]=_0x11446e[_0x5dfe4e(0x17d)](_0x6107ba[_0x5dfe4e(0x16d)]),_0x2b9883[_0x5dfe4e(0xac)]()),null===_0x6107ba[_0x5dfe4e(0x16d)]&&(_0x2b9883[_0x5dfe4e(0x149)]=null,_0x2b9883[_0x5dfe4e(0xac)]());},{'priority':_0x14ca33(0x130)}),this[_0x14ca33(0x132)](_0x2332d1[_0x14ca33(0x116)][_0x14ca33(0x10e)][_0x14ca33(0xee)],_0x14ca33(0xb2),(_0x435612,_0x1212f5)=>{const _0x4d530c=_0x14ca33;_0x1212f5[_0x4d530c(0xca)]&&this[_0x4d530c(0x13a)]();}),this[_0x14ca33(0x132)](_0x2332d1[_0x14ca33(0x171)][_0x14ca33(0xb6)],_0x14ca33(0xc1),()=>{const _0x42b49a=_0x14ca33;this[_0x42b49a(0x13a)]();}),this[_0x14ca33(0x182)](),_0x2332d1[_0x14ca33(0x116)]['on'](_0x14ca33(0x14f),(_0x43b4f8,_0x3e9968)=>{const _0x552746=_0x14ca33,_0x295c47=_0x3e9968[0x0];_0x295c47[_0x552746(0xfb)]&&(this[_0x552746(0x14b)](_0x295c47),this[_0x552746(0x11b)]()&&this[_0x552746(0x168)]());}),this[_0x14ca33(0xe2)](),this[_0x14ca33(0x128)](_0x14ca33(0x17a))['to'](_0x4478f8,_0x14ca33(0xea),this,_0x14ca33(0xb4),(_0x186578,_0x278011)=>_0x14ca33(0x106)===_0x186578&&!_0x278011),this['on'](_0x14ca33(0x190),()=>{const _0x89aafd=_0x14ca33;this[_0x89aafd(0x17a)]?_0x2332d1[_0x89aafd(0x18b)](_0x89aafd(0xd2)):_0x2332d1[_0x89aafd(0xaa)](_0x89aafd(0xd2));}),this[_0x14ca33(0x17a)]?_0x2332d1[_0x14ca33(0x18b)](_0x14ca33(0xd2)):_0x2332d1[_0x14ca33(0xaa)](_0x14ca33(0xd2)),this[_0x14ca33(0x122)](_0x14ca33(0x17e),!0x1);}async[_0x41fd7a(0xb8)](){const _0x36526a=_0x41fd7a,_0xd1aab7=this[_0x36526a(0xa7)][_0x36526a(0xd6)][_0x36526a(0xe5)](_0x5bc9a6),_0x27e21a=this[_0x36526a(0xa7)][_0x36526a(0xd6)][_0x36526a(0xe5)](_0x4dce2f);try{this[_0x36526a(0xb5)]=!0x0,_0xd1aab7[_0x36526a(0x115)](this[_0x36526a(0x112)]);const _0x3f1de3=await this[_0x36526a(0xba)][_0x36526a(0xb8)](_0x27e21a[_0x36526a(0x142)],this[_0x36526a(0x143)]);await this[_0x36526a(0xc9)](_0x3f1de3)&&(this[_0x36526a(0xb5)]=!0x1,this[_0x36526a(0xd8)]());const _0x506334=await this[_0x36526a(0xba)][_0x36526a(0xf5)]();_0xd1aab7[_0x36526a(0x14d)](this[_0x36526a(0x112)],_0x506334),this[_0x36526a(0x16b)](),this[_0x36526a(0x17e)]=!0x0;}catch(_0x3216a6){if(function(_0x13f731){const _0x4cd0e6=_0x36526a;return _0x4cd0e6(0x14a)===_0x13f731[_0x4cd0e6(0x99)];}(_0x3216a6)&&this[_0x36526a(0x15c)])await this[_0x36526a(0x147)]();else{if(function(_0x4219e2){const _0x592456=_0x36526a;return _0x592456(0xda)===_0x4219e2[_0x592456(0x99)];}(_0x3216a6)){const _0x5638f6=_0x63c980(this[_0x36526a(0xa7)][_0x36526a(0xc0)],_0x36526a(0x101));this[_0x36526a(0xbd)](_0x5638f6);}else{if(!(_0x3216a6 instanceof B))throw _0x3216a6;this[_0x36526a(0xbd)]();}}}}[_0x41fd7a(0xc2)](){const _0x496cd0=_0x41fd7a,_0x14ae51=this[_0x496cd0(0xa7)][_0x496cd0(0xd6)][_0x496cd0(0xe5)](_0x4dce2f),_0x58d3fc=this[_0x496cd0(0xa7)][_0x496cd0(0xd6)][_0x496cd0(0xe5)](_0x5bc9a6);this[_0x496cd0(0xa7)][_0x496cd0(0xaa)](_0x496cd0(0x191)),_0x58d3fc[_0x496cd0(0xa9)][_0x496cd0(0x146)](this[_0x496cd0(0x112)])&&_0x58d3fc[_0x496cd0(0x115)](this[_0x496cd0(0x112)]),_0x14ae51[_0x496cd0(0xa1)](this),this[_0x496cd0(0x103)](),super[_0x496cd0(0xc2)]();}async[_0x41fd7a(0xc9)](_0x4b768a){const _0x32bf75=_0x41fd7a;if(this[_0x32bf75(0x15c)]!==_0x4b768a[_0x32bf75(0x15c)]&&this[_0x32bf75(0x186)]!==_0x4b768a[_0x32bf75(0xfa)])throw new B();return this[_0x32bf75(0x15c)]=_0x4b768a[_0x32bf75(0x15c)],this[_0x32bf75(0xe1)]([],{..._0x4b768a,'wereChangesApplied':!0x1,'data':_0x4b768a[_0x32bf75(0x102)]},_0x32bf75(0xb8));}async[_0x41fd7a(0x173)](_0x384791,_0xa5f6ad=!0x1){const _0x1b9c23=_0x41fd7a,{connection:_0x1be234}=this[_0x1b9c23(0xa7)][_0x1b9c23(0xd6)][_0x1b9c23(0xe5)](_0x4dce2f);l[_0x1b9c23(0xa6)][_0x1b9c23(0xf5)](_0x1be234,this[_0x1b9c23(0x112)])[_0x1b9c23(0xef)](_0x4d5474=>this[_0x1b9c23(0x121)](_0x4d5474))[_0x1b9c23(0xa2)](_0x41c455=>{const _0x4787a0=_0x1b9c23;this[_0x4787a0(0x98)](_0x4787a0(0x113),_0x41c455);}),this[_0x1b9c23(0x132)](this[_0x1b9c23(0xba)],_0x1b9c23(0xae),this[_0x1b9c23(0xfe)][_0x1b9c23(0x128)](this)),this[_0x1b9c23(0x132)](this[_0x1b9c23(0xba)],_0x1b9c23(0xf8),(_0x517349,_0x5df01b)=>{const _0x5b733f=_0x1b9c23;this[_0x5b733f(0x98)](_0x5b733f(0x18d),_0x5df01b);}),this[_0x1b9c23(0x132)](this[_0x1b9c23(0xba)],_0x1b9c23(0x176),()=>{const _0x36a5ed=_0x1b9c23;this[_0x36a5ed(0x17e)]=!0x1;});const _0x3f1934=this[_0x1b9c23(0x179)][_0x1b9c23(0x13e)](_0x384791);this[_0x1b9c23(0xb5)]=!0x0;const _0x890866=await this[_0x1b9c23(0xba)][_0x1b9c23(0xb7)](_0x1be234,this[_0x1b9c23(0xdf)](_0x384791),_0x3f1934);if(this[_0x1b9c23(0x15c)]=_0x890866[_0x1b9c23(0x15c)],_0xa5f6ad){if(!_0x890866[_0x1b9c23(0x145)])return void this[_0x1b9c23(0xbd)]();this[_0x1b9c23(0xb5)]=!0x1,this[_0x1b9c23(0xd8)](),this[_0x1b9c23(0x129)][_0x1b9c23(0xa3)](),this[_0x1b9c23(0xd0)]=_0x890866[_0x1b9c23(0x196)],this[_0x1b9c23(0x129)][_0x1b9c23(0x153)]=this[_0x1b9c23(0xd0)],await this[_0x1b9c23(0xe1)](_0x384791,_0x890866,_0x1b9c23(0x10c));}else await this[_0x1b9c23(0xa0)](_0x890866,_0x384791);this[_0x1b9c23(0x16b)](),this[_0x1b9c23(0x17e)]=!0x0;}[_0x41fd7a(0x16b)](){const _0x403322=_0x41fd7a,_0x7dd5a9=this[_0x403322(0xa7)][_0x403322(0xd6)][_0x403322(0xe5)](_0x5bc9a6),_0x2d705c=this[_0x403322(0xa7)][_0x403322(0xd6)][_0x403322(0xe5)](_0x2bb55b),_0x5e082f=_0x7dd5a9[_0x403322(0xa9)][_0x403322(0xe5)](this[_0x403322(0x112)]);_0x5e082f&&_0x5e082f[_0x403322(0x188)]>0x1?_0x2d705c[_0x403322(0xdb)]():this[_0x403322(0x132)](_0x7dd5a9,_0x403322(0x139)+this[_0x403322(0x112)],()=>{const _0x599911=_0x403322;0x2===_0x7dd5a9[_0x599911(0xa9)][_0x599911(0xe5)](this[_0x599911(0x112)])[_0x599911(0x188)]&&_0x2d705c[_0x599911(0xdb)]();});}async[_0x41fd7a(0xfe)](_0x9700d7,_0x38ac99,_0x157fba,_0xab44da){const _0x1166bd=_0x41fd7a;if(!this[_0x1166bd(0xb5)]&&this[_0x1166bd(0x184)][_0x1166bd(0x153)]==_0x38ac99){const _0x57cdf0=this[_0x1166bd(0x111)](_0x157fba,_0xab44da);await this[_0x1166bd(0xcb)](_0x57cdf0),this[_0x1166bd(0x148)](_0x57cdf0,_0x38ac99,_0x157fba[_0x1166bd(0xfa)])||this[_0x1166bd(0x98)](_0x1166bd(0xf7));}}async[_0x41fd7a(0x147)](){const _0x1ae30e=_0x41fd7a;this[_0x1ae30e(0x103)]();const {locale:_0x107776}=this[_0x1ae30e(0xa7)];let _0x46087a;try{_0x46087a=await this[_0x1ae30e(0xba)][_0x1ae30e(0x16e)]();}catch{const _0x310fee=_0x63c980(_0x107776,_0x1ae30e(0xf4));return void this[_0x1ae30e(0xbd)](_0x310fee);}const _0x395910=_0x46087a[_0x1ae30e(0xce)]||_0x46087a[_0x1ae30e(0xed)];if(this[_0x1ae30e(0x186)]!==_0x395910[_0x1ae30e(0xfa)]){const _0x5dbd92=_0x63c980(_0x107776,_0x1ae30e(0xf0));return void this[_0x1ae30e(0xbd)](_0x5dbd92);}await this[_0x1ae30e(0x173)](this[_0x1ae30e(0xa7)][_0x1ae30e(0x116)][_0x1ae30e(0x10e)][_0x1ae30e(0xa8)][_0x1ae30e(0x9e)](),!0x0);}[_0x41fd7a(0x103)](){const _0x2ed2a1=_0x41fd7a;this[_0x2ed2a1(0xba)][_0x2ed2a1(0x158)](),this[_0x2ed2a1(0x9f)]=[],clearTimeout(this[_0x2ed2a1(0xf3)]),this[_0x2ed2a1(0x17c)](this[_0x2ed2a1(0xba)]);}[_0x41fd7a(0x121)](_0xdd032c){const _0x46b10a=_0x41fd7a,_0x4631b0=this[_0x46b10a(0xa7)][_0x46b10a(0xd6)][_0x46b10a(0xe5)](_0x5bc9a6);this[_0x46b10a(0x132)](_0x4631b0,_0x46b10a(0x139)+this[_0x46b10a(0x112)],(_0x294323,{session:_0x500e0f})=>{const _0x29c0af=_0x46b10a;if(_0x500e0f['id']===_0x4631b0[_0x29c0af(0x19a)]){_0x294323[_0x29c0af(0x141)]();const _0x5b8112=this[_0x29c0af(0xa7)][_0x29c0af(0xd6)][_0x29c0af(0x146)](_0x29c0af(0xf9))&&this[_0x29c0af(0xa7)][_0x29c0af(0xd6)][_0x29c0af(0xe5)](_0x29c0af(0xf9));let _0x2ab0c9=_0x500e0f[_0x29c0af(0x175)];_0x5b8112&&_0x5b8112[_0x29c0af(0x19d)]&&(_0x2ab0c9=_0x2ab0c9[_0x29c0af(0x181)](_0x500d52=>_0x29c0af(0x174)!==_0x500d52)),this[_0x29c0af(0xa7)][_0x29c0af(0xd6)][_0x29c0af(0xe5)](_0x29c0af(0x12e))[_0x29c0af(0xff)](_0x2ab0c9,this[_0x29c0af(0x112)]);}}),_0x4631b0[_0x46b10a(0x14d)](this[_0x46b10a(0x112)],_0xdd032c);}[_0x41fd7a(0x182)](){const _0x1bc410=_0x41fd7a,_0x363e43=this[_0x1bc410(0xa7)][_0x1bc410(0x102)][_0x1bc410(0x122)];this[_0x1bc410(0xa7)][_0x1bc410(0x102)][_0x1bc410(0x122)]=(..._0x4cec41)=>{const _0x268de4=_0x1bc410;if(!_0x4cec41[_0x4cec41[_0x268de4(0x188)]-0x1][_0x268de4(0xeb)])throw new _0x196d64(_0x268de4(0x12b),this);_0x363e43[_0x268de4(0xc4)](this[_0x268de4(0xa7)][_0x268de4(0x102)],_0x4cec41);};}[_0x41fd7a(0xe2)](){const _0x427981=_0x41fd7a;this[_0x427981(0xa7)][_0x427981(0x102)]['on'](_0x427981(0x151),(_0x5b4971,[_0x456cb4])=>{const _0x2bfbb2=_0x427981;if(this[_0x2bfbb2(0x184)][_0x2bfbb2(0x153)])throw new _0x196d64(_0x2bfbb2(0x12c),this);_0x5b4971[_0x2bfbb2(0xac)](),this[_0x2bfbb2(0xc6)]();const _0x102c4e=this[_0x2bfbb2(0xa7)][_0x2bfbb2(0xfc)][_0x2bfbb2(0xe5)](_0x2bfbb2(0x100)),_0x2c2b37=this[_0x2bfbb2(0x185)](_0x456cb4,_0x102c4e);0x0==_0x2c2b37[_0x2bfbb2(0x188)]&&_0x2c2b37[_0x2bfbb2(0x16c)](new _0x3ff557(0x0)),_0x5b4971[_0x2bfbb2(0x149)]=this[_0x2bfbb2(0x173)](_0x2c2b37)[_0x2bfbb2(0xef)](()=>{const _0x3786f9=_0x2bfbb2;this[_0x3786f9(0xa7)][_0x3786f9(0xd6)][_0x3786f9(0xe5)](_0x4dce2f)[_0x3786f9(0x137)](this),this[_0x3786f9(0xa7)][_0x3786f9(0x102)][_0x3786f9(0x118)](_0x3786f9(0x169));})[_0x2bfbb2(0xa2)](_0x12e509=>this[_0x2bfbb2(0x98)](_0x2bfbb2(0xf1),_0x12e509))[_0x2bfbb2(0x108)](()=>this[_0x2bfbb2(0xd8)]());},{'priority':_0x427981(0x130)}),this[_0x427981(0xa7)]['on'](_0x427981(0x192),async(_0x2e4f15,[_0x512c07,_0x16d8b3])=>{const _0x30fb8c=_0x427981;_0x2e4f15[_0x30fb8c(0xac)]();const _0x4d4b22=this[_0x30fb8c(0xa7)][_0x30fb8c(0x116)][_0x30fb8c(0x10e)][_0x30fb8c(0xe7)](_0x512c07);if(!this[_0x30fb8c(0xe8)][_0x30fb8c(0x146)](_0x512c07)){const _0x425c68=_0x16d8b3&&_0x16d8b3[_0x30fb8c(0x102)]?_0x16d8b3[_0x30fb8c(0x102)]:'',_0x543f26=_0x16d8b3&&_0x16d8b3[_0x30fb8c(0x14c)]?_0x16d8b3[_0x30fb8c(0x14c)]:{};await this[_0x30fb8c(0x162)](_0x512c07,_0x425c68,_0x543f26);}this[_0x30fb8c(0xa7)][_0x30fb8c(0x116)][_0x30fb8c(0x178)]({'isUndoable':!0x1},()=>{const _0x2cd39f=_0x30fb8c;_0x4d4b22[_0x2cd39f(0xc7)]=!0x0,this[_0x2cd39f(0xa7)][_0x2cd39f(0x116)][_0x2cd39f(0x10e)][_0x2cd39f(0x140)][_0x2cd39f(0x104)](_0x4d4b22);});},{'priority':_0x427981(0x130)});}async[_0x41fd7a(0xcb)](_0x48fa43){const _0x5f3b4b=_0x41fd7a,_0x33991d=this[_0x5f3b4b(0xa7)][_0x5f3b4b(0xd6)][_0x5f3b4b(0xe5)](_0x3f41ff),{connection:_0x581cc9}=this[_0x5f3b4b(0xa7)][_0x5f3b4b(0xd6)][_0x5f3b4b(0xe5)](_0x4dce2f),_0x1baade=new Set();for(const _0xeb3a05 of _0x48fa43){const _0x5550d6=_0xeb3a05[_0x5f3b4b(0x16d)];_0x5550d6&&!_0x33991d[_0x5f3b4b(0x17d)](_0x5550d6)&&_0x1baade[_0x5f3b4b(0xcc)](_0x5550d6);}if(0x0===_0x1baade[_0x5f3b4b(0x17b)])return;const _0x425dca=await _0x45652e[_0x5f3b4b(0xbf)](_0x581cc9,Array[_0x5f3b4b(0xb1)](_0x1baade));for(const _0x11e0da of _0x425dca)_0x33991d[_0x5f3b4b(0x17d)](_0x11e0da['id'])||_0x33991d[_0x5f3b4b(0x10f)](_0x11e0da);}[_0x41fd7a(0x185)](_0x11da4a,_0x43ee62={}){const _0x17a497=_0x41fd7a,_0x4a6b53=this[_0x17a497(0xa7)][_0x17a497(0x116)],_0x2763f5=[];let _0x331694=0x0;const _0x4d1900=_0x17a497(0x134)==typeof _0x11da4a?{'main':_0x11da4a}:_0x11da4a;for(const _0x598130 of Object[_0x17a497(0x11d)](_0x4d1900)){if(!this[_0x17a497(0x184)][_0x17a497(0xa5)][_0x17a497(0x146)](_0x598130))throw new _0x196d64(_0x17a497(0x159),this);const _0x1ccd86=this[_0x17a497(0xa7)][_0x17a497(0x102)][_0x17a497(0x193)](_0x4d1900[_0x598130]),_0x168655=this[_0x17a497(0x184)][_0x17a497(0xe7)](_0x598130),_0x47ff75=new _0x56aa64(_0x4a6b53[_0x17a497(0xcf)](_0x168655,0x0),_0x1ccd86,_0x331694++);_0x2763f5[_0x17a497(0x16c)](_0x47ff75);for(const [_0x44370c,_0x1ea9ed]of _0x1ccd86[_0x17a497(0x15d)]){const _0x42229b=_0x4a6b53[_0x17a497(0xa4)](_0x4a6b53[_0x17a497(0x17f)](_0x168655,_0x1ea9ed[_0x17a497(0x14e)][_0x17a497(0xab)][_0x17a497(0x15e)]()),_0x4a6b53[_0x17a497(0x17f)](_0x168655,_0x1ea9ed[_0x17a497(0x18a)][_0x17a497(0xab)][_0x17a497(0x15e)]())),_0x223b15=new _0x1bc67b(_0x44370c,null,_0x42229b,_0x4a6b53[_0x17a497(0x15d)],!0x0,_0x331694++);_0x2763f5[_0x17a497(0x16c)](_0x223b15);}}if(_0x43ee62)for(const [_0x2d8f31,_0x4afa6c]of Object[_0x17a497(0xd4)](_0x43ee62)){const _0x1d9476=_0x4a6b53[_0x17a497(0x10e)][_0x17a497(0xe7)](_0x2d8f31);if(!_0x1d9476)throw new _0x196d64(_0x17a497(0x11f),null);for(const [_0x37c8aa,_0x4e3e92]of Object[_0x17a497(0xd4)](_0x4afa6c))if(null!==_0x4e3e92){const _0x12638f=new _0x1f57c7(_0x1d9476,_0x37c8aa,null,_0x4e3e92,_0x331694++);_0x2763f5[_0x17a497(0x16c)](_0x12638f);}}return _0x2763f5;}async[_0x41fd7a(0x162)](_0xd4b380,_0x2b6d6f,_0x542f40){const _0x279110=_0x41fd7a;this[_0x279110(0x185)]({[_0xd4b380]:_0x2b6d6f},{[_0xd4b380]:_0x542f40})[_0x279110(0xbc)]((_0xa04d44,_0x506ce0)=>{const _0x166940=_0x279110;_0xa04d44[_0x166940(0x163)]=this[_0x166940(0x184)][_0x166940(0x153)]+_0x506ce0,_0xa04d44[_0x166940(0x15b)]=!0x0,this[_0x166940(0x14b)](_0xa04d44);}),this[_0x279110(0x168)](),await this[_0x279110(0x131)]();}async[_0x41fd7a(0xa0)](_0x233509,_0x51139b){const _0x1c26db=_0x41fd7a;let _0x34ebf2;this[_0x1c26db(0xd0)]=_0x233509[_0x1c26db(0x196)];const _0x238920=_0x233509[_0x1c26db(0x145)]&&!_0x233509[_0x1c26db(0x9a)],_0x145088=_0x238920?0x0:_0x233509[_0x1c26db(0x102)][_0x1c26db(0x163)];if(_0x51139b[_0x1c26db(0xbc)](_0x5d1a32=>{const _0x57aa88=_0x1c26db;_0x5d1a32[_0x57aa88(0x15b)]=!0x0,_0x5d1a32[_0x57aa88(0xad)]=_0x233509[_0x57aa88(0x165)],_0x5d1a32[_0x57aa88(0x16d)]=null;}),_0x238920)_0x34ebf2=_0x51139b,this[_0x1c26db(0xec)](_0x34ebf2,_0x238920);else{if(_0x233509[_0x1c26db(0x9a)]){const _0x4e3fcb=this[_0x1c26db(0x185)](_0x233509[_0x1c26db(0x9a)]);this[_0x1c26db(0x184)][_0x1c26db(0xa8)][_0x1c26db(0x153)]=-_0x4e3fcb[_0x1c26db(0x188)],_0x4e3fcb[_0x1c26db(0xbc)](_0x10b643=>{const _0x4c0eee=_0x1c26db;_0x10b643[_0x4c0eee(0x163)]-=_0x4e3fcb[_0x4c0eee(0x188)],_0x10b643[_0x4c0eee(0xad)]=_0x233509[_0x4c0eee(0x165)],_0x10b643[_0x4c0eee(0x15b)]=!0x0,_0x10b643[_0x4c0eee(0x16d)]=null;}),this[_0x1c26db(0xec)](_0x4e3fcb,!0x0),this[_0x1c26db(0x129)][_0x1c26db(0x153)]=-_0x4e3fcb[_0x1c26db(0x188)]+this[_0x1c26db(0xd0)],this[_0x1c26db(0x164)](_0x4e3fcb);}this[_0x1c26db(0x184)][_0x1c26db(0xa8)][_0x1c26db(0x153)]=_0x145088,_0x34ebf2=this[_0x1c26db(0x111)](_0x233509[_0x1c26db(0x102)],_0x233509[_0x1c26db(0x195)]),await this[_0x1c26db(0xcb)](_0x34ebf2),this[_0x1c26db(0xec)](_0x34ebf2,_0x238920);}_0x233509[_0x1c26db(0xfa)]&&(this[_0x1c26db(0x179)][_0x1c26db(0x13d)](_0x34ebf2,_0x233509[_0x1c26db(0xfa)]),this[_0x1c26db(0x186)]=_0x233509[_0x1c26db(0xfa)]),this[_0x1c26db(0x129)][_0x1c26db(0x153)]=_0x145088+this[_0x1c26db(0xd0)],this[_0x1c26db(0x164)](_0x34ebf2),_0x51139b[_0x1c26db(0x181)](_0x590040=>{const _0x548a7e=_0x1c26db,_0x4a56fa=this[_0x548a7e(0x126)](_0x590040);return _0x4a56fa&&!this[_0x548a7e(0xe8)][_0x548a7e(0x146)](_0x4a56fa);})[_0x1c26db(0xbc)]((_0x552c10,_0x5d3025)=>{const _0x2c83dd=_0x1c26db;_0x552c10[_0x2c83dd(0x163)]=this[_0x2c83dd(0x184)][_0x2c83dd(0x153)]+_0x5d3025,this[_0x2c83dd(0x14b)](_0x552c10);}),this[_0x1c26db(0x11b)]()?(this[_0x1c26db(0x11c)]=0x0,this[_0x1c26db(0x168)](!0x0),await this[_0x1c26db(0x131)]()):(this[_0x1c26db(0xb5)]=!0x1,this[_0x1c26db(0xd8)]());}[_0x41fd7a(0x98)](_0x3c49d8,_0x142e99){const _0x29868b=_0x41fd7a,_0x2f5498=_0x142e99&&_0x142e99[_0x29868b(0x125)];if(_0x2f5498&&_0x2f5498[_0x29868b(0xfd)](_0x29868b(0xbb)))throw _0x142e99;const _0x4a2dd9=this[_0x29868b(0xa7)][_0x29868b(0xd6)][_0x29868b(0xe5)](_0x4dce2f);throw this[_0x29868b(0xb5)]=!0x0,_0x4a2dd9[_0x29868b(0x158)](),this[_0x29868b(0xa7)][_0x29868b(0xaa)](_0x29868b(0x177)),new _0x196d64(_0x3c49d8,this[_0x29868b(0xa7)],_0x2f5498?{'originalError':_0x2f5498}:void 0x0);}[_0x41fd7a(0x14b)](_0x4080f7){const _0x1e7095=_0x41fd7a;this[_0x1e7095(0x9d)][_0x1e7095(0x146)](_0x4080f7)||(this[_0x1e7095(0x9d)][_0x1e7095(0xcc)](_0x4080f7),this[_0x1e7095(0x9f)][_0x1e7095(0x16c)](_0x4080f7),this[_0x1e7095(0xb9)]||_0x1e7095(0x197)==_0x4080f7[_0x1e7095(0x180)]&&!_0x4080f7[_0x1e7095(0x12a)]||this[_0x1e7095(0xc6)]());}[_0x41fd7a(0x168)](_0xb34521=!0x1){const _0x243bc1=_0x41fd7a;!_0xb34521&&this[_0x243bc1(0xb5)]||(this[_0x243bc1(0xb5)]=!0x0,clearTimeout(this[_0x243bc1(0xf3)]),this[_0x243bc1(0xf3)]=setTimeout(()=>{const _0x43c759=_0x243bc1;this[_0x43c759(0x117)]()[_0x43c759(0xef)](_0x4bdc17=>{const _0x5f4b12=_0x43c759;_0x4bdc17&&(this[_0x5f4b12(0xd8)](),this[_0x5f4b12(0xb5)]=!0x1);})[_0x43c759(0xa2)](_0x58126e=>{const _0x2d755c=_0x43c759;this[_0x2d755c(0xd8)](),this[_0x2d755c(0xb5)]=!0x1,function(_0x454c79){const _0x943fce=_0x2d755c;return _0x454c79[_0x943fce(0x125)][_0x943fce(0xfd)](_0x943fce(0xe9))||_0x454c79[_0x943fce(0x125)][_0x943fce(0xfd)](_0x943fce(0x18f))||_0x454c79[_0x943fce(0x125)][_0x943fce(0xfd)](_0x943fce(0xb0));}(_0x58126e)||this[_0x2d755c(0x98)](_0x58126e[_0x2d755c(0x125)],_0x58126e);});},this[_0x243bc1(0x11c)]));}[_0x41fd7a(0x131)](){return new Promise(_0x4bafa4=>{const _0x1dd04a=_0xf394;this['on'](_0x1dd04a(0x18e),()=>{_0x4bafa4();});});}async[_0x41fd7a(0x117)](){const _0x23b2ea=_0x41fd7a,_0xefffa1=this[_0x23b2ea(0xa7)][_0x23b2ea(0xd6)][_0x23b2ea(0xe5)](_0x2bb55b);if(this[_0x23b2ea(0x16a)]()&&(_0xefffa1[_0x23b2ea(0xdb)](),this[_0x23b2ea(0x105)]=!0x1),!this[_0x23b2ea(0x11b)]())return!0x0;const _0xe75639=[...this[_0x23b2ea(0x9f)]];for(const _0x2eb00a of _0xe75639)_0x2eb00a[_0x23b2ea(0xe0)]=this[_0x23b2ea(0x184)][_0x23b2ea(0xa8)][_0x23b2ea(0x120)](_0x2eb00a);const _0x273f63=this[_0x23b2ea(0x179)][_0x23b2ea(0x13e)](_0xe75639),_0x1c8ae1=N++,_0x35d77c=this[_0x23b2ea(0xdf)](_0xe75639),_0x3dae3e=await this[_0x23b2ea(0xba)][_0x23b2ea(0xd7)](_0x35d77c,_0x35d77c[_0x23b2ea(0x163)],_0x273f63);try{return await this[_0x23b2ea(0xe1)](_0xe75639,_0x3dae3e,_0x1c8ae1);}catch(_0x311b80){return this[_0x23b2ea(0x98)](_0x23b2ea(0x13c),_0x311b80);}}async[_0x41fd7a(0xe1)](_0x4ba32c,_0x3e31f5,_0x35308f){const _0x2929fb=_0x41fd7a;if(_0x2929fb(0xf8)in _0x3e31f5)throw _0x3e31f5[_0x2929fb(0xf8)];let _0x4d2fc8=!0x1;if(_0x3e31f5[_0x2929fb(0x145)]){_0x3e31f5[_0x2929fb(0xfa)]&&(this[_0x2929fb(0x186)]=_0x3e31f5[_0x2929fb(0xfa)]),this[_0x2929fb(0x9f)]=this[_0x2929fb(0x9f)][_0x2929fb(0x181)](_0x33a878=>!_0x4ba32c[_0x2929fb(0xf6)](_0x33a878));for(const _0x2e9cf1 of _0x4ba32c)_0x2e9cf1[_0x2929fb(0xad)]=_0x2929fb(0x119)in _0x3e31f5&&_0x3e31f5[_0x2929fb(0x119)]||void 0x0;x(_0x4ba32c,_0x3e31f5[_0x2929fb(0x153)]-_0x4ba32c[_0x2929fb(0x188)]),this[_0x2929fb(0x164)](_0x4ba32c);const _0x1a4ab7=_0x4ba32c[_0x2929fb(0x181)](_0x2cc98b=>{const _0x2189de=_0x2929fb;if(!_0x2cc98b[_0x2189de(0x15b)])return!0x1;const _0x4a6fbc=this[_0x2189de(0x126)](_0x2cc98b);return _0x4a6fbc&&!this[_0x2189de(0xe8)][_0x2189de(0x146)](_0x4a6fbc);});x(_0x1a4ab7,this[_0x2929fb(0x184)][_0x2929fb(0x153)]),this[_0x2929fb(0xec)](_0x1a4ab7),_0x4d2fc8=!0x0,this[_0x2929fb(0x11c)]=this[_0x2929fb(0x135)];}else{const _0x40e6bb=this[_0x2929fb(0x111)](_0x3e31f5[_0x2929fb(0x102)],_0x3e31f5[_0x2929fb(0x195)])[_0x2929fb(0x181)](_0x6a5fed=>_0x6a5fed[_0x2929fb(0x163)]>=this[_0x2929fb(0x155)]);_0x40e6bb[_0x2929fb(0xbc)](_0x1cb113=>this[_0x2929fb(0x152)](_0x1cb113)),this[_0x2929fb(0x9f)]=this[_0x2929fb(0x9f)][_0x2929fb(0x181)](_0xcb1677=>!_0xcb1677[_0x2929fb(0x15b)]||!this[_0x2929fb(0xe8)][_0x2929fb(0x146)](this[_0x2929fb(0x126)](_0xcb1677))),this[_0x2929fb(0x9f)][_0x2929fb(0x188)]&&x(this[_0x2929fb(0x9f)],this[_0x2929fb(0x9f)][0x0][_0x2929fb(0x163)]),await this[_0x2929fb(0xcb)](_0x40e6bb),_0x4d2fc8=this[_0x2929fb(0x148)](_0x40e6bb,_0x3e31f5[_0x2929fb(0x153)],_0x3e31f5[_0x2929fb(0xfa)]),this[_0x2929fb(0x11c)]=Math[_0x2929fb(0x199)](this[_0x2929fb(0x11c)]/0x2);}return _0x4d2fc8?!this[_0x2929fb(0x11b)]()||(this[_0x2929fb(0x168)](!0x0),!0x1):this[_0x2929fb(0x98)](_0x2929fb(0x110));}[_0x41fd7a(0x148)](_0x32d1da,_0x1dc36c,_0x21faaf){const _0x45a625=_0x41fd7a;try{const _0x52baea={'document':this[_0x45a625(0x184)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x84629d,operationsB:_0x355f69,originalOperations:_0x2fa469}=_0x14c196(_0x32d1da,this[_0x45a625(0x9f)],_0x52baea);x(_0x84629d,this[_0x45a625(0x184)][_0x45a625(0x153)]),x(_0x355f69,_0x1dc36c);for(const _0x5bcf6a of _0x84629d){const _0x24790c=_0x2fa469[_0x45a625(0xe5)](_0x5bcf6a);_0x5bcf6a[_0x45a625(0x16d)]=_0x24790c?_0x24790c[_0x45a625(0x16d)]:null;}_0x21faaf&&(this[_0x45a625(0x179)][_0x45a625(0x13d)](_0x32d1da,_0x21faaf),this[_0x45a625(0x186)]=_0x21faaf),this[_0x45a625(0x9f)]=[..._0x355f69],this[_0x45a625(0xec)](_0x84629d),this[_0x45a625(0x164)](_0x32d1da);}catch(_0x252f1d){return console[_0x45a625(0xf8)](_0x252f1d),!0x1;}return!0x0;}[_0x41fd7a(0xec)](_0x33b65f,_0x536804=!0x1){const _0xd7c9=_0x41fd7a;this[_0xd7c9(0xa7)][_0xd7c9(0x116)][_0xd7c9(0x178)]({'isUndoable':!0x1,'isLocal':!0x1},_0x99912b=>{const _0x303d3d=_0xd7c9;for(const _0x104db1 of _0x33b65f)this[_0x303d3d(0x9d)][_0x303d3d(0xcc)](_0x104db1),this[_0x303d3d(0x152)](_0x104db1),_0x99912b[_0x303d3d(0x123)][_0x303d3d(0x19b)](_0x104db1),this[_0x303d3d(0xa7)][_0x303d3d(0x116)][_0x303d3d(0x14f)](_0x104db1);});}[_0x41fd7a(0x152)](_0x4e910e){const _0xe5d8f6=_0x41fd7a,_0x430428=this[_0xe5d8f6(0x126)](_0x4e910e);_0x430428&&this[_0xe5d8f6(0xe8)][_0xe5d8f6(0xcc)](_0x430428);}[_0x41fd7a(0x126)](_0x1cba0e){const _0x305601=_0x41fd7a;let _0xfa69b7,_0x799762;switch(_0x1cba0e[_0x305601(0x180)]){case _0x305601(0x170):_0xfa69b7=_0x1cba0e[_0x305601(0xb3)][_0x305601(0xd1)];break;case _0x305601(0x197):if(_0x799762=_0x1cba0e[_0x305601(0x127)],!_0x799762)return null;_0xfa69b7=_0x799762[_0x305601(0xd1)];break;case _0x305601(0xe4):_0xfa69b7=_0x1cba0e[_0x305601(0xd1)];break;case _0x305601(0x12f):_0xfa69b7=_0x1cba0e[_0x305601(0x16f)];break;case _0x305601(0x167):_0xfa69b7=_0x1cba0e[_0x305601(0x183)][_0x305601(0xd1)];break;default:return null;}return _0xfa69b7[_0x305601(0xbe)];}[_0x41fd7a(0x164)](_0x2457ea){const _0xa85aaf=_0x41fd7a;_0x2457ea[_0xa85aaf(0xbc)](_0x50923b=>{const _0x127364=_0xa85aaf,_0x2e6fce=_0x50923b[_0x127364(0x18c)]();_0x2e6fce[_0x127364(0x16d)]=_0x50923b[_0x127364(0x16d)],_0x2e6fce[_0x127364(0x15b)]=!!_0x50923b[_0x127364(0x15b)],_0x2e6fce[_0x127364(0xad)]=_0x50923b[_0x127364(0xad)],_0x2e6fce[_0x127364(0x163)]+=this[_0x127364(0xd0)],_0x50923b[_0x127364(0xf2)]&&this[_0x127364(0x19c)][_0x127364(0xcc)](_0x2e6fce),this[_0x127364(0x129)][_0x127364(0x19b)](_0x2e6fce);});}[_0x41fd7a(0xbd)](_0x4c5725){const _0x47ca88=_0x41fd7a,_0x57835a=this[_0x47ca88(0xa7)][_0x47ca88(0xd6)][_0x47ca88(0xe5)](_0x47ca88(0xd3)),_0xb9682f=this[_0x47ca88(0xa7)][_0x47ca88(0xc0)];_0x4c5725||(_0x4c5725=_0x63c980(_0xb9682f,_0x47ca88(0x157))),_0x57835a[_0x47ca88(0x13f)](_0x4c5725,{'title':_0x63c980(_0xb9682f,_0x47ca88(0x198)),'namespace':_0x47ca88(0xd9)}),this[_0x47ca88(0xb4)]=!0x0,clearTimeout(this[_0x47ca88(0xf3)]),this[_0x47ca88(0x9f)]=[],this[_0x47ca88(0xa7)][_0x47ca88(0xd6)][_0x47ca88(0xe5)](_0x4dce2f)[_0x47ca88(0x158)]();}[_0x41fd7a(0xc6)](){const _0x2face1=_0x41fd7a;this[_0x2face1(0xb9)]||(this[_0x2face1(0xb9)]=this[_0x2face1(0xa7)][_0x2face1(0xd6)][_0x2face1(0xe5)](_0x414f14)[_0x2face1(0xcc)](_0x63c980(this[_0x2face1(0xa7)][_0x2face1(0xc0)],_0x2face1(0xe6))));}[_0x41fd7a(0xd8)](){const _0x7e2dbe=_0x41fd7a;this[_0x7e2dbe(0xb9)]&&(this[_0x7e2dbe(0xa7)][_0x7e2dbe(0xd6)][_0x7e2dbe(0xe5)](_0x414f14)[_0x7e2dbe(0x107)](this[_0x7e2dbe(0xb9)]),this[_0x7e2dbe(0xb9)]=null);}[_0x41fd7a(0xdf)](_0x5ec82b){const _0x50c73f=_0x41fd7a,_0x17f83c=_0x5ec82b[_0x50c73f(0x114)](_0x5c957c=>_0x5c957c[_0x50c73f(0x133)]());return this[_0x50c73f(0x10d)][_0x50c73f(0xdd)](_0x17f83c);}[_0x41fd7a(0x111)](_0x2581e2,_0x2291d9){const _0xb266fd=_0x41fd7a;return this[_0xb266fd(0x10d)][_0xb266fd(0x194)](_0x2581e2)[_0xb266fd(0x114)]((_0x3ce677,_0x29f0da)=>{const _0x59bd10=_0xb266fd,_0x1f1ed3=_0x59bd10(0x151)==_0x2291d9[_0x29f0da][_0x59bd10(0x180)];if(_0x59bd10(0x156)==_0x3ce677[_0x59bd10(0x9c)]){const _0x55eb98=_0x3ce677[_0x59bd10(0xb3)][_0x59bd10(0xd1)];!this[_0x59bd10(0x184)][_0x59bd10(0xe7)](_0x55eb98)&&(this[_0x59bd10(0x184)][_0x59bd10(0xaf)](_0x59bd10(0xde),_0x55eb98)[_0x59bd10(0x138)]=!0x1);}const _0x2d876c=_0xdee5c8[_0x59bd10(0x124)](_0x3ce677,this[_0x59bd10(0x184)]);return _0x2d876c[_0x59bd10(0xe0)]=_0x3ce677[_0x59bd10(0xe0)],_0x2d876c[_0x59bd10(0x15b)]=_0x1f1ed3,_0x2d876c[_0x59bd10(0x16d)]=_0x1f1ed3?null:_0x2291d9[_0x29f0da][_0x59bd10(0x166)],_0x2d876c[_0x59bd10(0xf2)]=_0x59bd10(0x10b)===_0x2291d9[_0x29f0da][_0x59bd10(0x180)],_0x2d876c[_0x59bd10(0xad)]=_0x2291d9[_0x29f0da][_0x59bd10(0xad)],_0x2d876c;});}[_0x41fd7a(0x13a)](){const _0x471188=_0x41fd7a;this[_0x471188(0x105)]=!0x0,this[_0x471188(0x16a)]()?this[_0x471188(0x168)]():this[_0x471188(0x105)]=!0x1;}[_0x41fd7a(0x16a)](){const _0xd4d3cc=_0x41fd7a,_0x110a97=this[_0xd4d3cc(0xa7)][_0xd4d3cc(0xd6)][_0xd4d3cc(0xe5)](_0x5bc9a6)[_0xd4d3cc(0xa9)][_0xd4d3cc(0xe5)](this[_0xd4d3cc(0x112)]);return!this[_0xd4d3cc(0xa7)][_0xd4d3cc(0x10a)]&&!!_0x110a97&&_0x110a97[_0xd4d3cc(0x188)]>0x1&&this[_0xd4d3cc(0x105)];}[_0x41fd7a(0x11b)](){const _0xeef684=_0x41fd7a;return this[_0xeef684(0x9f)][_0xeef684(0x188)]>0x0||this[_0xeef684(0x16a)]();}}export{l as RealTimeCollaborationClient};class B extends Error{}function x(_0x22b92d,_0x4b2b3c){const _0x5257dc=_0x41fd7a;for(const _0x1f516e of _0x22b92d)_0x1f516e[_0x5257dc(0x163)]=_0x4b2b3c++;}class M{[_0x41fd7a(0x136)];[_0x41fd7a(0x109)];constructor(_0x1044a3){const _0x15166d=_0x41fd7a;this[_0x15166d(0x136)]=_0x1044a3,this[_0x15166d(0x109)]=new WeakMap();}[_0x41fd7a(0x13e)](_0x2ade00){const _0x1f5254=_0x41fd7a;let _0x52c0ac=_0x2ade00[_0x1f5254(0x188)];for(;_0x52c0ac--;){const _0x562185=_0x2ade00[_0x52c0ac];if(!this[_0x1f5254(0x136)][_0x1f5254(0x146)](_0x562185)){if(!this[_0x1f5254(0x109)][_0x1f5254(0x146)](_0x562185)){const _0x3a5c0e=_0x127c6d()[_0x1f5254(0x15e)](0x1,0x12);this[_0x1f5254(0x109)][_0x1f5254(0x122)](_0x562185,_0x3a5c0e);}return this[_0x1f5254(0x109)][_0x1f5254(0xe5)](_0x562185);}}}[_0x41fd7a(0x13d)](_0x3c43b4,_0x157e4c){const _0x213e10=_0x41fd7a;if(!_0x157e4c)return;let _0x40b44f=_0x3c43b4[_0x213e10(0x188)];for(;_0x40b44f--;){const _0x1ab7b0=_0x3c43b4[_0x40b44f];this[_0x213e10(0x136)][_0x213e10(0x146)](_0x1ab7b0)||this[_0x213e10(0x109)][_0x213e10(0x122)](_0x1ab7b0,_0x157e4c);}}}
|
|
23
|
+
const _0x1d0e15=_0x1b4d;(function(_0x24de2b,_0x99adf){const _0x304f88=_0x1b4d,_0xb43c=_0x24de2b();while(!![]){try{const _0x11be68=parseInt(_0x304f88(0x19e))/0x1+parseInt(_0x304f88(0x21f))/0x2*(-parseInt(_0x304f88(0x1a4))/0x3)+-parseInt(_0x304f88(0x20e))/0x4+parseInt(_0x304f88(0x26f))/0x5*(-parseInt(_0x304f88(0x1fd))/0x6)+parseInt(_0x304f88(0x19a))/0x7+-parseInt(_0x304f88(0x1dd))/0x8+-parseInt(_0x304f88(0x259))/0x9*(-parseInt(_0x304f88(0x1ba))/0xa);if(_0x11be68===_0x99adf)break;else _0xb43c['push'](_0xb43c['shift']());}catch(_0x234dd3){_0xb43c['push'](_0xb43c['shift']());}}}(_0x3dd7,0xf25cd));import{Plugin as _0x3dc91f,PendingActions as _0x243eed}from'ckeditor5/src/core.js';import{CKEditorError as _0x18ae33,version as _0x7f2517,uid as _0x1b5c84}from'ckeditor5/src/utils.js';import{Notification as _0x1133f7}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x514618,NoOperation as _0x3dcf23,InsertOperation as _0x57da47,MarkerOperation as _0x426096,RootAttributeOperation as _0x3c4730,OperationFactory as _0x1629a3,History as _0xcfbd47}from'ckeditor5/src/engine.js';function _0x3dd7(){const _0x2e977d=['cloudDocumentVersion','get','forEach','data','_isAttached','sessionAdd:','rootsAttributes','_loadRoot','realtimecollaborationclient-init-connection-failed','sendOperations','removeFromReconnectionStack','affectsData','_updateServerHistory','pluginName','_getOperationsFromInitData','2466528VnjAED','rtc-destroyed','_channelId','affectedSelectable','PENDING_ACTION_SENDING_DATA','disableReadOnlyMode','getDocumentDetails','_handleSendingSelectionMarkers','_refreshUserSelectionMarkers','type','_bufferRootLoad','connection','requires','_setUpDataInit','getRoot','disconnect','round','isOfficialPlugin','realtimecollaborationclient','wasUndone','_addKnownRoot','_clearPendingAction','_disconnectService','getOperations','directChange','path','from','_pendingAction','change:hasDomSelection','realtimecollaborationclient-init-session-connection-error','remove','cloud-services-internal-error:\x20Not\x20connected.','getUser','clone','wereChangesApplied','add','_disconnectionOperations','_isEditingAllowed','view','history','parse','_handleReconnectionError','Permissions','_handleInitialConnectionData','_initSessionsHandling','InsertOperation','define','newRange','code','addToReconnectionStack','CollaborativeEditingService','initData','createUserMarkerOperations','message','applyOperation','apply','loadRoot','addRootAttribute','44883GBjAKj','multi-root-editor-root-attributes-no-root','end','off','_operationIdentifier','_isInit','CommentsOnly','startsWith','init','editing','Synchronization\x20issue','isDocumentOperation','insert','locale','_isLoaded','__className','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','addOperation','listenTo','sessionId','_initThrowingOnDataSet','75qwHPff','realtimecollaborationclient-error','realtimecollaborationclient-init-non-existent-root','move','createPositionFromPath','reconnect','fire','real-time-collaboration','collaboration','stop','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.','getMany','_lastServerVersion','_connectService','reset','realtimecollaborationclient-sendbufferedoperations','ready','return','push','document:write','connected','batch','realtimecollaborationclient-init-document-already-initialized','_sendBufferedOperations','has','operationsReceived','model','rtc-offline','_service','finally','metadata','_hasSelectionChanged','_handleExternalOperations','version','cloudServices.bundleVersion','_authorId','collaboration.channelId','_fetchMissingUsers','getConnectedSessions','_isConnected','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.','sessionCreatedAt','createRoot','channelSessions','toJSON','stopListening','addUser','lastDocumentSession','connect','611576GfZemu','_applyOperationsSet','cs:removeUser','state','1641186FCDPYx','_lastSyncedOperationId','setIdForTheLastOperation','bind','cloud-services-internal-error:\x20Request\x20timeout.','_currentBufferDelay','3kzPUUZ','root','getIdOfTheLastOperation','compress','lastOperationId','RealTimeCollaborationClient','realtimecollaborationclient-init-service-internal-error','differ','plugins','enableReadOnlyMode','includes','enqueueChange','error','isUndoneOperation','editor','_waitUntilSynced','realtimecollaborationclient-init-service-incorrect-server-operation','_shouldSendUpdate','_crash','then','setPermissions','targetPosition','5030TCKvgh','_decompressOperations','409','_hasSynchronizationProblem','reconnection:\x20flushed\x20session','entries','_isPendingUpdate','_sendBufferedOperationsDelayId','_compressOperations','string','serverHistory','baseVersion','getOperationAuthor','change:range','catch','showWarning','_compressor','addRoot','$root','_getAffectedRoot','lastSyncVersion','permissions','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_document','userId','realtimecollaborationclient-handleserverresponse','position','suppressErrorInCollaboration','slice','markers','_isDisconnection','high','mySessionId','selection','map','3348552cSBsdt','lastOperationAcceptedAt','isEnabled','disconnected','attributes','_knownOperations','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','start','register','_connectAfterSessionHasBeenFlushed','set','createRange','Notification','_setPendingAction','size','fromJSON','filter','createPositionAt','_offset','404','_ignoredOperations','destroy','_saveOperationInBuffer','change:_isEditingAllowed','_handleReconnectionResponse','offset','marker','_shouldSendSelectionUpdate','roots','change:_isPendingUpdate','isReadOnly','unregister','571398MRKVfQ','document','_handleReceivedOperations','collaboration-missing-channelid','keys','rootName','_knownRootNames','createdAt','_baseBufferDelay','config','_operationToId','decompress','_bufferedOperations','currentDocumentSession','isPremiumPlugin','length','_sendBufferedOperationsDelayed','655880FLXBYx','_handleServerResponse'];_0x3dd7=function(){return _0x2e977d;};return _0x3dd7();}import{WebSocketGateway as _0xd4b253}from'./websocketgateway.js';import{Sessions as _0x57dd5b}from'./sessions.js';import{UserMarkers as _0x374c6d}from'./usermarkers.js';import{getTranslation as _0x392d5a}from'../common-translations.js';import{Compressor as _0x3509c1}from'@ckeditor/ckeditor5-operations-compressor';function _0x1b4d(_0x33942f,_0x2f1f4b){const _0x3dd78a=_0x3dd7();return _0x1b4d=function(_0x1b4d1a,_0x4f175e){_0x1b4d1a=_0x1b4d1a-0x199;let _0x873669=_0x3dd78a[_0x1b4d1a];return _0x873669;},_0x1b4d(_0x33942f,_0x2f1f4b);}import{Users as _0x14e331}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x391365,CollaborativeEditingService as _0x322258}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;class l extends _0x3dc91f{static [_0x1d0e15(0x251)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x322258)());[_0x1d0e15(0x1ef)];[_0x1d0e15(0x26d)];[_0x1d0e15(0x1c4)];[_0x1d0e15(0x221)];[_0x1d0e15(0x28b)];[_0x1d0e15(0x1d1)];[_0x1d0e15(0x1ca)];[_0x1d0e15(0x209)];[_0x1d0e15(0x1e2)];[_0x1d0e15(0x203)];[_0x1d0e15(0x23a)];[_0x1d0e15(0x28e)];[_0x1d0e15(0x1c1)];[_0x1d0e15(0x205)];[_0x1d0e15(0x1a3)];[_0x1d0e15(0x19f)];[_0x1d0e15(0x243)];[_0x1d0e15(0x25d)];static get[_0x1d0e15(0x22b)](){return[_0xd4b253,_0x57dd5b,_0x374c6d,_0x243eed,_0x14e331,_0x1133f7];}static get[_0x1d0e15(0x21d)](){const _0x4698af=_0x1d0e15;return _0x4698af(0x1a9);}static get[_0x1d0e15(0x230)](){return!0x0;}static get[_0x1d0e15(0x20b)](){return!0x0;}get[_0x1d0e15(0x210)](){const _0x521e8c=_0x1d0e15;return this[_0x521e8c(0x27b)]+this[_0x521e8c(0x1ef)];}get[_0x1d0e15(0x27b)](){const _0x2055df=_0x1d0e15;return this[_0x2055df(0x1c4)][_0x2055df(0x290)]-this[_0x2055df(0x1ef)];}get[_0x1d0e15(0x1ce)](){const _0x323ead=_0x1d0e15,_0x54d09b=this[_0x323ead(0x1c4)][_0x323ead(0x236)]();for(let _0x59d845=_0x54d09b[_0x323ead(0x20c)]-0x1;_0x59d845>=0x0;_0x59d845--){const _0x305b9d=_0x54d09b[_0x59d845];if(!this[_0x323ead(0x243)][_0x323ead(0x287)](_0x305b9d))return _0x305b9d[_0x323ead(0x1c5)]+0x1-this[_0x323ead(0x1ef)];}return 0x0;}constructor(_0x4e137f){const _0x3794dd=_0x1d0e15;if(super(_0x4e137f),this[_0x3794dd(0x1ef)]=0x0,this[_0x3794dd(0x26d)]=null,this[_0x3794dd(0x1c4)]=new _0xcfbd47(),this[_0x3794dd(0x1b2)][_0x3794dd(0x206)][_0x3794dd(0x24d)](_0x3794dd(0x277),{}),this[_0x3794dd(0x221)]=this[_0x3794dd(0x1b2)][_0x3794dd(0x206)][_0x3794dd(0x211)](_0x3794dd(0x293)),!this[_0x3794dd(0x221)])throw new _0x18ae33(_0x3794dd(0x200),this);const _0x26c1ff=_0x4e137f[_0x3794dd(0x206)][_0x3794dd(0x211)](_0x3794dd(0x291))||_0x7f2517;this[_0x3794dd(0x28b)]=new l[(_0x3794dd(0x251))](_0x26c1ff,this[_0x3794dd(0x221)]),this[_0x3794dd(0x1d1)]=this[_0x3794dd(0x1b2)][_0x3794dd(0x289)][_0x3794dd(0x1fe)],this[_0x3794dd(0x1ca)]=new _0x3509c1(),this[_0x3794dd(0x209)]=[],this[_0x3794dd(0x1e2)]=new WeakSet(),this[_0x3794dd(0x203)]=new Set(),this[_0x3794dd(0x1e7)](_0x3794dd(0x1c0),!0x1),this[_0x3794dd(0x1e7)](_0x3794dd(0x1bd),!0x1),this[_0x3794dd(0x23a)]=null,this[_0x3794dd(0x28e)]=!0x1,this[_0x3794dd(0x1c1)]=null,this[_0x3794dd(0x205)]=0x12c,this[_0x3794dd(0x1a3)]=this[_0x3794dd(0x205)],this[_0x3794dd(0x19f)]=null,this[_0x3794dd(0x243)]=new WeakSet(),this[_0x3794dd(0x25d)]=new J(this[_0x3794dd(0x243)]);}[_0x1d0e15(0x261)](){const _0x4ef3eb=_0x1d0e15,_0x4b96a4=this[_0x4ef3eb(0x1b2)],_0x25472b=_0x4b96a4[_0x4ef3eb(0x1ac)][_0x4ef3eb(0x211)](_0x14e331),_0x40efc8=_0x4b96a4[_0x4ef3eb(0x1ac)][_0x4ef3eb(0x211)](_0xd4b253);this[_0x4ef3eb(0x26c)](_0x25472b,_0x4ef3eb(0x1c6),(_0x1c485f,_0x4aa1a1)=>{const _0x2c2f53=_0x4ef3eb,_0x4a5335=_0x4aa1a1[0x0];_0x4a5335[_0x2c2f53(0x292)]&&(_0x1c485f[_0x2c2f53(0x280)]=_0x25472b[_0x2c2f53(0x23f)](_0x4a5335[_0x2c2f53(0x292)]),_0x1c485f[_0x2c2f53(0x278)]()),null===_0x4a5335[_0x2c2f53(0x292)]&&(_0x1c485f[_0x2c2f53(0x280)]=null,_0x1c485f[_0x2c2f53(0x278)]());},{'priority':_0x4ef3eb(0x1d9)}),this[_0x4ef3eb(0x26c)](_0x4b96a4[_0x4ef3eb(0x289)][_0x4ef3eb(0x1fe)][_0x4ef3eb(0x1db)],_0x4ef3eb(0x1c7),(_0x31473b,_0x1da2af)=>{const _0x4847a4=_0x4ef3eb;_0x1da2af[_0x4847a4(0x237)]&&this[_0x4847a4(0x227)]();}),this[_0x4ef3eb(0x26c)](_0x4b96a4[_0x4ef3eb(0x262)][_0x4ef3eb(0x245)],_0x4ef3eb(0x23b),()=>{const _0x263304=_0x4ef3eb;this[_0x263304(0x227)]();}),this[_0x4ef3eb(0x26e)](),_0x4b96a4[_0x4ef3eb(0x289)]['on'](_0x4ef3eb(0x255),(_0x155538,_0x24432f)=>{const _0x237934=_0x4ef3eb,_0xe63b55=_0x24432f[0x0];_0xe63b55[_0x237934(0x264)]&&(this[_0x237934(0x1f3)](_0xe63b55),this[_0x237934(0x1b5)]()&&this[_0x237934(0x20d)]());}),this[_0x4ef3eb(0x22c)](),this[_0x4ef3eb(0x1a1)](_0x4ef3eb(0x244))['to'](_0x40efc8,_0x4ef3eb(0x19d),this,_0x4ef3eb(0x1bd),(_0x58841e,_0x44930d)=>_0x4ef3eb(0x283)===_0x58841e&&!_0x44930d),this['on'](_0x4ef3eb(0x1f4),()=>{const _0x3126fa=_0x4ef3eb;this[_0x3126fa(0x244)]?_0x4b96a4[_0x3126fa(0x224)](_0x3126fa(0x28a)):_0x4b96a4[_0x3126fa(0x1ad)](_0x3126fa(0x28a));}),this[_0x4ef3eb(0x244)]?_0x4b96a4[_0x4ef3eb(0x224)](_0x4ef3eb(0x28a)):_0x4b96a4[_0x4ef3eb(0x1ad)](_0x4ef3eb(0x28a)),this[_0x4ef3eb(0x1e7)](_0x4ef3eb(0x296),!0x1);}async[_0x1d0e15(0x274)](){const _0x67adb=_0x1d0e15,_0x515025=this[_0x67adb(0x1b2)][_0x67adb(0x1ac)][_0x67adb(0x211)](_0x57dd5b),_0x4242ac=this[_0x67adb(0x1b2)][_0x67adb(0x1ac)][_0x67adb(0x211)](_0xd4b253);try{this[_0x67adb(0x1c0)]=!0x0,_0x515025[_0x67adb(0x1fc)](this[_0x67adb(0x221)]);const _0x39dd4b=await this[_0x67adb(0x28b)][_0x67adb(0x274)](_0x4242ac[_0x67adb(0x22a)],this[_0x67adb(0x1ce)]);await this[_0x67adb(0x1f5)](_0x39dd4b)&&(this[_0x67adb(0x1c0)]=!0x1,this[_0x67adb(0x234)]());const _0x36c3ee=await this[_0x67adb(0x28b)][_0x67adb(0x295)]();_0x515025[_0x67adb(0x1e5)](this[_0x67adb(0x221)],_0x36c3ee),this[_0x67adb(0x226)](),this[_0x67adb(0x296)]=!0x0;}catch(_0x30515e){if(function(_0x23036d){const _0x1b9186=_0x67adb;return _0x1b9186(0x1f0)===_0x23036d[_0x1b9186(0x24f)];}(_0x30515e)&&this[_0x67adb(0x26d)])await this[_0x67adb(0x1e6)]();else{if(function(_0x1bd711){const _0x56ef46=_0x67adb;return _0x56ef46(0x1bc)===_0x1bd711[_0x56ef46(0x24f)];}(_0x30515e)){const _0x2f52e3=_0x392d5a(this[_0x67adb(0x1b2)][_0x67adb(0x266)],_0x67adb(0x1d0));this[_0x67adb(0x248)](_0x2f52e3);}else{if(!(_0x30515e instanceof $))throw _0x30515e;this[_0x67adb(0x248)]();}}}}[_0x1d0e15(0x1f2)](){const _0x148854=_0x1d0e15,_0x2a50ca=this[_0x148854(0x1b2)][_0x148854(0x1ac)][_0x148854(0x211)](_0xd4b253),_0x32662a=this[_0x148854(0x1b2)][_0x148854(0x1ac)][_0x148854(0x211)](_0x57dd5b);this[_0x148854(0x1b2)][_0x148854(0x1ad)](_0x148854(0x220)),_0x32662a[_0x148854(0x29a)][_0x148854(0x287)](this[_0x148854(0x221)])&&_0x32662a[_0x148854(0x1fc)](this[_0x148854(0x221)]),_0x2a50ca[_0x148854(0x21a)](this),this[_0x148854(0x235)](),super[_0x148854(0x1f2)]();}async[_0x1d0e15(0x1f5)](_0x3df276){const _0x4e904f=_0x1d0e15;if(this[_0x4e904f(0x26d)]!==_0x3df276[_0x4e904f(0x26d)]&&this[_0x4e904f(0x19f)]!==_0x3df276[_0x4e904f(0x1a8)])throw new $();return this[_0x4e904f(0x26d)]=_0x3df276[_0x4e904f(0x26d)],this[_0x4e904f(0x20f)]([],{..._0x3df276,'wereChangesApplied':!0x1,'data':_0x3df276[_0x4e904f(0x213)]},_0x4e904f(0x274));}async[_0x1d0e15(0x27c)](_0x306923,_0x57d81b=!0x1){const _0x253ee2=_0x1d0e15,{connection:_0x20fe91}=this[_0x253ee2(0x1b2)][_0x253ee2(0x1ac)][_0x253ee2(0x211)](_0xd4b253);l[_0x253ee2(0x251)][_0x253ee2(0x295)](_0x20fe91,this[_0x253ee2(0x221)])[_0x253ee2(0x1b7)](_0xb692da=>this[_0x253ee2(0x24b)](_0xb692da))[_0x253ee2(0x1c8)](_0x2d6399=>{const _0x1670b8=_0x253ee2;this[_0x1670b8(0x1b6)](_0x1670b8(0x23c),_0x2d6399);}),this[_0x253ee2(0x26c)](this[_0x253ee2(0x28b)],_0x253ee2(0x288),this[_0x253ee2(0x1ff)][_0x253ee2(0x1a1)](this)),this[_0x253ee2(0x26c)](this[_0x253ee2(0x28b)],_0x253ee2(0x1b0),(_0x685e09,_0x150ad6)=>{const _0x23892d=_0x253ee2;this[_0x23892d(0x1b6)](_0x23892d(0x1aa),_0x150ad6);}),this[_0x253ee2(0x26c)](this[_0x253ee2(0x28b)],_0x253ee2(0x1e0),()=>{const _0x523dbd=_0x253ee2;this[_0x523dbd(0x296)]=!0x1;});const _0x226081=this[_0x253ee2(0x25d)][_0x253ee2(0x1a6)](_0x306923);this[_0x253ee2(0x1c0)]=!0x0;const _0x386a28=await this[_0x253ee2(0x28b)][_0x253ee2(0x199)](_0x20fe91,this[_0x253ee2(0x1c2)](_0x306923),_0x226081);if(this[_0x253ee2(0x26d)]=_0x386a28[_0x253ee2(0x26d)],_0x57d81b){if(!_0x386a28[_0x253ee2(0x241)])return void this[_0x253ee2(0x248)]();this[_0x253ee2(0x1c0)]=!0x1,this[_0x253ee2(0x234)](),this[_0x253ee2(0x1c4)][_0x253ee2(0x27d)](),this[_0x253ee2(0x1ef)]=_0x386a28[_0x253ee2(0x1f6)],this[_0x253ee2(0x1c4)][_0x253ee2(0x290)]=this[_0x253ee2(0x1ef)],await this[_0x253ee2(0x20f)](_0x306923,_0x386a28,_0x253ee2(0x1be));}else await this[_0x253ee2(0x24a)](_0x386a28,_0x306923);this[_0x253ee2(0x226)](),this[_0x253ee2(0x296)]=!0x0;}[_0x1d0e15(0x226)](){const _0x4febad=_0x1d0e15,_0x3b0290=this[_0x4febad(0x1b2)][_0x4febad(0x1ac)][_0x4febad(0x211)](_0x57dd5b),_0x44e425=this[_0x4febad(0x1b2)][_0x4febad(0x1ac)][_0x4febad(0x211)](_0x374c6d),_0x5305e2=_0x3b0290[_0x4febad(0x29a)][_0x4febad(0x211)](this[_0x4febad(0x221)]);_0x5305e2&&_0x5305e2[_0x4febad(0x20c)]>0x1?_0x44e425[_0x4febad(0x253)]():this[_0x4febad(0x26c)](_0x3b0290,_0x4febad(0x215)+this[_0x4febad(0x221)],()=>{const _0x2b97df=_0x4febad;0x2===_0x3b0290[_0x2b97df(0x29a)][_0x2b97df(0x211)](this[_0x2b97df(0x221)])[_0x2b97df(0x20c)]&&_0x44e425[_0x2b97df(0x253)]();});}async[_0x1d0e15(0x1ff)](_0xfe5d37,_0x587823,_0x3a7088,_0x4baf8c){const _0x5e2271=_0x1d0e15;if(!this[_0x5e2271(0x1c0)]&&this[_0x5e2271(0x1d1)][_0x5e2271(0x290)]==_0x587823){const _0x5c832b=this[_0x5e2271(0x1bb)](_0x3a7088,_0x4baf8c);await this[_0x5e2271(0x294)](_0x5c832b),this[_0x5e2271(0x28f)](_0x5c832b,_0x587823,_0x3a7088[_0x5e2271(0x1a8)])||this[_0x5e2271(0x1b6)](_0x5e2271(0x1b4));}}async[_0x1d0e15(0x1e6)](){const _0x57e614=_0x1d0e15;this[_0x57e614(0x235)]();const {locale:_0x47a4b2}=this[_0x57e614(0x1b2)];let _0x38b337;try{_0x38b337=await this[_0x57e614(0x28b)][_0x57e614(0x225)]();}catch{const _0x314e1e=_0x392d5a(_0x47a4b2,_0x57e614(0x1e3));return void this[_0x57e614(0x248)](_0x314e1e);}const _0x3ff22f=_0x38b337[_0x57e614(0x20a)]||_0x38b337[_0x57e614(0x29e)];if(this[_0x57e614(0x19f)]!==_0x3ff22f[_0x57e614(0x1a8)]){const _0x413c57=_0x392d5a(_0x47a4b2,_0x57e614(0x297));return void this[_0x57e614(0x248)](_0x413c57);}await this[_0x57e614(0x27c)](this[_0x57e614(0x1b2)][_0x57e614(0x289)][_0x57e614(0x1fe)][_0x57e614(0x246)][_0x57e614(0x236)](),!0x0);}[_0x1d0e15(0x235)](){const _0x20bef1=_0x1d0e15;this[_0x20bef1(0x28b)][_0x20bef1(0x22e)](),this[_0x20bef1(0x209)]=[],clearTimeout(this[_0x20bef1(0x1c1)]),this[_0x20bef1(0x29c)](this[_0x20bef1(0x28b)]);}[_0x1d0e15(0x24b)](_0x4f4de3){const _0x547512=_0x1d0e15,_0x37b275=this[_0x547512(0x1b2)][_0x547512(0x1ac)][_0x547512(0x211)](_0x57dd5b);this[_0x547512(0x26c)](_0x37b275,_0x547512(0x215)+this[_0x547512(0x221)],(_0x2f962e,{session:_0x4b6e87})=>{const _0x384f0d=_0x547512;if(_0x4b6e87['id']===_0x37b275[_0x384f0d(0x1da)]){_0x2f962e[_0x384f0d(0x25c)]();const _0x29c1b0=this[_0x384f0d(0x1b2)][_0x384f0d(0x1ac)][_0x384f0d(0x287)](_0x384f0d(0x25f))&&this[_0x384f0d(0x1b2)][_0x384f0d(0x1ac)][_0x384f0d(0x211)](_0x384f0d(0x25f));let _0x50f83b=_0x4b6e87[_0x384f0d(0x1cf)];_0x29c1b0&&_0x29c1b0[_0x384f0d(0x1df)]&&(_0x50f83b=_0x50f83b[_0x384f0d(0x1ed)](_0x10bf69=>_0x384f0d(0x282)!==_0x10bf69)),this[_0x384f0d(0x1b2)][_0x384f0d(0x1ac)][_0x384f0d(0x211)](_0x384f0d(0x249))[_0x384f0d(0x1b8)](_0x50f83b,this[_0x384f0d(0x221)]);}}),_0x37b275[_0x547512(0x1e5)](this[_0x547512(0x221)],_0x4f4de3);}[_0x1d0e15(0x26e)](){const _0x5f0027=_0x1d0e15,_0x113e91=this[_0x5f0027(0x1b2)][_0x5f0027(0x213)][_0x5f0027(0x1e7)];this[_0x5f0027(0x1b2)][_0x5f0027(0x213)][_0x5f0027(0x1e7)]=(..._0x186fa6)=>{const _0x4240d6=_0x5f0027;if(!_0x186fa6[_0x186fa6[_0x4240d6(0x20c)]-0x1][_0x4240d6(0x1d5)])throw new _0x18ae33(_0x4240d6(0x26a),this);_0x113e91[_0x4240d6(0x256)](this[_0x4240d6(0x1b2)][_0x4240d6(0x213)],_0x186fa6);};}[_0x1d0e15(0x22c)](){const _0x39e554=_0x1d0e15;this[_0x39e554(0x1b2)][_0x39e554(0x213)]['on'](_0x39e554(0x261),(_0xa221b2,[_0x9273f7])=>{const _0x27b0e3=_0x39e554;if(this[_0x27b0e3(0x1d1)][_0x27b0e3(0x290)])throw new _0x18ae33(_0x27b0e3(0x285),this);_0xa221b2[_0x27b0e3(0x278)](),this[_0x27b0e3(0x1ea)]();const _0x34a641=this[_0x27b0e3(0x1b2)][_0x27b0e3(0x206)][_0x27b0e3(0x211)](_0x27b0e3(0x216)),_0x5f3532=this[_0x27b0e3(0x21e)](_0x9273f7,_0x34a641);0x0==_0x5f3532[_0x27b0e3(0x20c)]&&_0x5f3532[_0x27b0e3(0x281)](new _0x3dcf23(0x0)),_0xa221b2[_0x27b0e3(0x280)]=this[_0x27b0e3(0x27c)](_0x5f3532)[_0x27b0e3(0x1b7)](()=>{const _0x1985ec=_0x27b0e3;this[_0x1985ec(0x1b2)][_0x1985ec(0x1ac)][_0x1985ec(0x211)](_0xd4b253)[_0x1985ec(0x250)](this),this[_0x1985ec(0x1b2)][_0x1985ec(0x213)][_0x1985ec(0x275)](_0x1985ec(0x27f));})[_0x27b0e3(0x1c8)](_0x1c205e=>this[_0x27b0e3(0x1b6)](_0x27b0e3(0x218),_0x1c205e))[_0x27b0e3(0x28c)](()=>this[_0x27b0e3(0x234)]());},{'priority':_0x39e554(0x1d9)}),this[_0x39e554(0x1b2)]['on'](_0x39e554(0x257),async(_0x542aca,[_0x30228e,_0x2edcc0])=>{const _0x5ce075=_0x39e554;_0x542aca[_0x5ce075(0x278)]();const _0x537417=this[_0x5ce075(0x1b2)][_0x5ce075(0x289)][_0x5ce075(0x1fe)][_0x5ce075(0x22d)](_0x30228e);if(!this[_0x5ce075(0x203)][_0x5ce075(0x287)](_0x30228e)){const _0xf0057c=_0x2edcc0&&_0x2edcc0[_0x5ce075(0x213)]?_0x2edcc0[_0x5ce075(0x213)]:'',_0x52c723=_0x2edcc0&&_0x2edcc0[_0x5ce075(0x1e1)]?_0x2edcc0[_0x5ce075(0x1e1)]:{};await this[_0x5ce075(0x217)](_0x30228e,_0xf0057c,_0x52c723);}this[_0x5ce075(0x1b2)][_0x5ce075(0x289)][_0x5ce075(0x1af)]({'isUndoable':!0x1},()=>{const _0x3485f8=_0x5ce075;_0x537417[_0x3485f8(0x267)]=!0x0,this[_0x3485f8(0x1b2)][_0x3485f8(0x289)][_0x3485f8(0x1fe)][_0x3485f8(0x1ab)][_0x3485f8(0x229)](_0x537417);});},{'priority':_0x39e554(0x1d9)});}async[_0x1d0e15(0x294)](_0xaa6aae){const _0x437d9e=_0x1d0e15,_0x197e1b=this[_0x437d9e(0x1b2)][_0x437d9e(0x1ac)][_0x437d9e(0x211)](_0x14e331),{connection:_0x4f3768}=this[_0x437d9e(0x1b2)][_0x437d9e(0x1ac)][_0x437d9e(0x211)](_0xd4b253),_0x59911e=new Set();for(const _0x3ea7fd of _0xaa6aae){const _0x17fb3b=_0x3ea7fd[_0x437d9e(0x292)];_0x17fb3b&&!_0x197e1b[_0x437d9e(0x23f)](_0x17fb3b)&&_0x59911e[_0x437d9e(0x242)](_0x17fb3b);}if(0x0===_0x59911e[_0x437d9e(0x1eb)])return;const _0x3b15a9=await _0x391365[_0x437d9e(0x27a)](_0x4f3768,Array[_0x437d9e(0x239)](_0x59911e));for(const _0x44ebae of _0x3b15a9)_0x197e1b[_0x437d9e(0x23f)](_0x44ebae['id'])||_0x197e1b[_0x437d9e(0x29d)](_0x44ebae);}[_0x1d0e15(0x21e)](_0x1d576a,_0x3af6c6={}){const _0xbcaa92=_0x1d0e15,_0x8cc79a=this[_0xbcaa92(0x1b2)][_0xbcaa92(0x289)],_0x4971bf=[];let _0x2a1be1=0x0;const _0x25782f=_0xbcaa92(0x1c3)==typeof _0x1d576a?{'main':_0x1d576a}:_0x1d576a;for(const _0x3edbce of Object[_0xbcaa92(0x201)](_0x25782f)){if(!this[_0xbcaa92(0x1d1)][_0xbcaa92(0x1f9)][_0xbcaa92(0x287)](_0x3edbce))throw new _0x18ae33(_0xbcaa92(0x271),this);const _0x623fa3=this[_0xbcaa92(0x1b2)][_0xbcaa92(0x213)][_0xbcaa92(0x247)](_0x25782f[_0x3edbce]),_0x49c552=this[_0xbcaa92(0x1d1)][_0xbcaa92(0x22d)](_0x3edbce),_0x3ea8fe=new _0x57da47(_0x8cc79a[_0xbcaa92(0x1ee)](_0x49c552,0x0),_0x623fa3,_0x2a1be1++);_0x4971bf[_0xbcaa92(0x281)](_0x3ea8fe);for(const [_0x4f2e20,_0x4bd3bf]of _0x623fa3[_0xbcaa92(0x1d7)]){const _0x3c29ac=_0x8cc79a[_0xbcaa92(0x1e8)](_0x8cc79a[_0xbcaa92(0x273)](_0x49c552,_0x4bd3bf[_0xbcaa92(0x1e4)][_0xbcaa92(0x238)][_0xbcaa92(0x1d6)]()),_0x8cc79a[_0xbcaa92(0x273)](_0x49c552,_0x4bd3bf[_0xbcaa92(0x25b)][_0xbcaa92(0x238)][_0xbcaa92(0x1d6)]())),_0x52c1dd=new _0x426096(_0x4f2e20,null,_0x3c29ac,_0x8cc79a[_0xbcaa92(0x1d7)],!0x0,_0x2a1be1++);_0x4971bf[_0xbcaa92(0x281)](_0x52c1dd);}}if(_0x3af6c6)for(const [_0x478ffb,_0x5ec917]of Object[_0xbcaa92(0x1bf)](_0x3af6c6)){const _0x949832=_0x8cc79a[_0xbcaa92(0x1fe)][_0xbcaa92(0x22d)](_0x478ffb);if(!_0x949832)throw new _0x18ae33(_0xbcaa92(0x25a),null);for(const [_0x902b7f,_0x2c9594]of Object[_0xbcaa92(0x1bf)](_0x5ec917))if(null!==_0x2c9594){const _0x23cb78=new _0x3c4730(_0x949832,_0x902b7f,null,_0x2c9594,_0x2a1be1++);_0x4971bf[_0xbcaa92(0x281)](_0x23cb78);}}return _0x4971bf;}async[_0x1d0e15(0x217)](_0x4e8525,_0xf8dd68,_0x176332){const _0x27c0a3=_0x1d0e15;this[_0x27c0a3(0x21e)]({[_0x4e8525]:_0xf8dd68},{[_0x4e8525]:_0x176332})[_0x27c0a3(0x212)]((_0x52b729,_0x429364)=>{const _0x4e7f60=_0x27c0a3;_0x52b729[_0x4e7f60(0x1c5)]=this[_0x4e7f60(0x1d1)][_0x4e7f60(0x290)]+_0x429364,_0x52b729[_0x4e7f60(0x25e)]=!0x0,this[_0x4e7f60(0x1f3)](_0x52b729);}),this[_0x27c0a3(0x20d)](),await this[_0x27c0a3(0x1b3)]();}async[_0x1d0e15(0x24a)](_0x2c6f60,_0x3af356){const _0x1033a8=_0x1d0e15;let _0x210c20;this[_0x1033a8(0x1ef)]=_0x2c6f60[_0x1033a8(0x1f6)];const _0x1506b5=_0x2c6f60[_0x1033a8(0x241)]&&!_0x2c6f60[_0x1033a8(0x252)],_0x267e34=_0x1506b5?0x0:_0x2c6f60[_0x1033a8(0x213)][_0x1033a8(0x1c5)];if(_0x3af356[_0x1033a8(0x212)](_0x319844=>{const _0x30fa92=_0x1033a8;_0x319844[_0x30fa92(0x25e)]=!0x0,_0x319844[_0x30fa92(0x204)]=_0x2c6f60[_0x30fa92(0x298)],_0x319844[_0x30fa92(0x292)]=null;}),_0x1506b5)_0x210c20=_0x3af356,this[_0x1033a8(0x19b)](_0x210c20,_0x1506b5);else{if(_0x2c6f60[_0x1033a8(0x252)]){const _0x27a47c=this[_0x1033a8(0x21e)](_0x2c6f60[_0x1033a8(0x252)]);this[_0x1033a8(0x1d1)][_0x1033a8(0x246)][_0x1033a8(0x290)]=-_0x27a47c[_0x1033a8(0x20c)],_0x27a47c[_0x1033a8(0x212)](_0x48c346=>{const _0x1fa24d=_0x1033a8;_0x48c346[_0x1fa24d(0x1c5)]-=_0x27a47c[_0x1fa24d(0x20c)],_0x48c346[_0x1fa24d(0x204)]=_0x2c6f60[_0x1fa24d(0x298)],_0x48c346[_0x1fa24d(0x25e)]=!0x0,_0x48c346[_0x1fa24d(0x292)]=null;}),this[_0x1033a8(0x19b)](_0x27a47c,!0x0),this[_0x1033a8(0x1c4)][_0x1033a8(0x290)]=-_0x27a47c[_0x1033a8(0x20c)]+this[_0x1033a8(0x1ef)],this[_0x1033a8(0x21c)](_0x27a47c);}this[_0x1033a8(0x1d1)][_0x1033a8(0x246)][_0x1033a8(0x290)]=_0x267e34,_0x210c20=this[_0x1033a8(0x1bb)](_0x2c6f60[_0x1033a8(0x213)],_0x2c6f60[_0x1033a8(0x28d)]),await this[_0x1033a8(0x294)](_0x210c20),this[_0x1033a8(0x19b)](_0x210c20,_0x1506b5);}_0x2c6f60[_0x1033a8(0x1a8)]&&(this[_0x1033a8(0x25d)][_0x1033a8(0x1a0)](_0x210c20,_0x2c6f60[_0x1033a8(0x1a8)]),this[_0x1033a8(0x19f)]=_0x2c6f60[_0x1033a8(0x1a8)]),this[_0x1033a8(0x1c4)][_0x1033a8(0x290)]=_0x267e34+this[_0x1033a8(0x1ef)],this[_0x1033a8(0x21c)](_0x210c20),_0x3af356[_0x1033a8(0x1ed)](_0x1f389c=>{const _0x5db52e=_0x1033a8,_0x58ed46=this[_0x5db52e(0x1cd)](_0x1f389c);return _0x58ed46&&!this[_0x5db52e(0x203)][_0x5db52e(0x287)](_0x58ed46);})[_0x1033a8(0x212)]((_0x4aed72,_0x5c5fa7)=>{const _0x107920=_0x1033a8;_0x4aed72[_0x107920(0x1c5)]=this[_0x107920(0x1d1)][_0x107920(0x290)]+_0x5c5fa7,this[_0x107920(0x1f3)](_0x4aed72);}),this[_0x1033a8(0x1b5)]()?(this[_0x1033a8(0x1a3)]=0x0,this[_0x1033a8(0x20d)](!0x0),await this[_0x1033a8(0x1b3)]()):(this[_0x1033a8(0x1c0)]=!0x1,this[_0x1033a8(0x234)]());}[_0x1d0e15(0x1b6)](_0x1662ba,_0x38947c){const _0x35acb2=_0x1d0e15,_0x1592bc=_0x38947c&&_0x38947c[_0x35acb2(0x254)];if(_0x1592bc&&_0x1592bc[_0x35acb2(0x260)](_0x35acb2(0x231)))throw _0x38947c;const _0x3a83cf=this[_0x35acb2(0x1b2)][_0x35acb2(0x1ac)][_0x35acb2(0x211)](_0xd4b253);throw this[_0x35acb2(0x1c0)]=!0x0,_0x3a83cf[_0x35acb2(0x22e)](),this[_0x35acb2(0x1b2)][_0x35acb2(0x1ad)](_0x35acb2(0x270)),new _0x18ae33(_0x1662ba,this[_0x35acb2(0x1b2)],_0x1592bc?{'originalError':_0x1592bc}:void 0x0);}[_0x1d0e15(0x1f3)](_0x174258){const _0x3d244f=_0x1d0e15;this[_0x3d244f(0x1e2)][_0x3d244f(0x287)](_0x174258)||(this[_0x3d244f(0x1e2)][_0x3d244f(0x242)](_0x174258),this[_0x3d244f(0x209)][_0x3d244f(0x281)](_0x174258),this[_0x3d244f(0x23a)]||_0x3d244f(0x1f7)==_0x174258[_0x3d244f(0x228)]&&!_0x174258[_0x3d244f(0x21b)]||this[_0x3d244f(0x1ea)]());}[_0x1d0e15(0x20d)](_0x139050=!0x1){const _0x2bafc4=_0x1d0e15;!_0x139050&&this[_0x2bafc4(0x1c0)]||(this[_0x2bafc4(0x1c0)]=!0x0,clearTimeout(this[_0x2bafc4(0x1c1)]),this[_0x2bafc4(0x1c1)]=setTimeout(()=>{const _0x5af990=_0x2bafc4;this[_0x5af990(0x286)]()[_0x5af990(0x1b7)](_0xa6e0ee=>{const _0x37b5ad=_0x5af990;_0xa6e0ee&&(this[_0x37b5ad(0x234)](),this[_0x37b5ad(0x1c0)]=!0x1);})[_0x5af990(0x1c8)](_0x518dc1=>{const _0x4de939=_0x5af990;this[_0x4de939(0x234)](),this[_0x4de939(0x1c0)]=!0x1,function(_0x515b50){const _0x18aec5=_0x4de939;return _0x515b50[_0x18aec5(0x254)][_0x18aec5(0x260)](_0x18aec5(0x23e))||_0x515b50[_0x18aec5(0x254)][_0x18aec5(0x260)](_0x18aec5(0x269))||_0x515b50[_0x18aec5(0x254)][_0x18aec5(0x260)](_0x18aec5(0x1a2));}(_0x518dc1)||this[_0x4de939(0x1b6)](_0x518dc1[_0x4de939(0x254)],_0x518dc1);});},this[_0x2bafc4(0x1a3)]));}[_0x1d0e15(0x1b3)](){return new Promise(_0xfb386c=>{const _0x57fbfd=_0x1b4d;this['on'](_0x57fbfd(0x1fa),()=>{_0xfb386c();});});}async[_0x1d0e15(0x286)](){const _0x41c24=_0x1d0e15,_0x58f8af=this[_0x41c24(0x1b2)][_0x41c24(0x1ac)][_0x41c24(0x211)](_0x374c6d);if(this[_0x41c24(0x1f8)]()&&(_0x58f8af[_0x41c24(0x253)](),this[_0x41c24(0x28e)]=!0x1),!this[_0x41c24(0x1b5)]())return!0x0;const _0x36a74f=[...this[_0x41c24(0x209)]];for(const _0x15264f of _0x36a74f)_0x15264f[_0x41c24(0x232)]=this[_0x41c24(0x1d1)][_0x41c24(0x246)][_0x41c24(0x1b1)](_0x15264f);const _0xa37e75=this[_0x41c24(0x25d)][_0x41c24(0x1a6)](_0x36a74f),_0x5989b6=G++,_0x2d2cf5=this[_0x41c24(0x1c2)](_0x36a74f),_0x396045=await this[_0x41c24(0x28b)][_0x41c24(0x219)](_0x2d2cf5,_0x2d2cf5[_0x41c24(0x1c5)],_0xa37e75);try{return await this[_0x41c24(0x20f)](_0x36a74f,_0x396045,_0x5989b6);}catch(_0x51532e){return this[_0x41c24(0x1b6)](_0x41c24(0x27e),_0x51532e);}}async[_0x1d0e15(0x20f)](_0x8e7ea5,_0x4f5817,_0x56a973){const _0x535b83=_0x1d0e15;if(_0x535b83(0x1b0)in _0x4f5817)throw _0x4f5817[_0x535b83(0x1b0)];let _0x51a8de=!0x1;if(_0x4f5817[_0x535b83(0x241)]){_0x4f5817[_0x535b83(0x1a8)]&&(this[_0x535b83(0x19f)]=_0x4f5817[_0x535b83(0x1a8)]),this[_0x535b83(0x209)]=this[_0x535b83(0x209)][_0x535b83(0x1ed)](_0x58c401=>!_0x8e7ea5[_0x535b83(0x1ae)](_0x58c401));for(const _0x1b45ed of _0x8e7ea5)_0x1b45ed[_0x535b83(0x204)]=_0x535b83(0x1de)in _0x4f5817&&_0x4f5817[_0x535b83(0x1de)]||void 0x0;K(_0x8e7ea5,_0x4f5817[_0x535b83(0x290)]-_0x8e7ea5[_0x535b83(0x20c)]),this[_0x535b83(0x21c)](_0x8e7ea5);const _0x5d8a19=_0x8e7ea5[_0x535b83(0x1ed)](_0x1557bf=>{const _0x49a260=_0x535b83;if(!_0x1557bf[_0x49a260(0x25e)])return!0x1;const _0x5f1613=this[_0x49a260(0x1cd)](_0x1557bf);return _0x5f1613&&!this[_0x49a260(0x203)][_0x49a260(0x287)](_0x5f1613);});K(_0x5d8a19,this[_0x535b83(0x1d1)][_0x535b83(0x290)]),this[_0x535b83(0x19b)](_0x5d8a19),_0x51a8de=!0x0,this[_0x535b83(0x1a3)]=this[_0x535b83(0x205)];}else{const _0x226ec6=this[_0x535b83(0x1bb)](_0x4f5817[_0x535b83(0x213)],_0x4f5817[_0x535b83(0x28d)])[_0x535b83(0x1ed)](_0x378482=>_0x378482[_0x535b83(0x1c5)]>=this[_0x535b83(0x27b)]);_0x226ec6[_0x535b83(0x212)](_0x8af895=>this[_0x535b83(0x233)](_0x8af895)),this[_0x535b83(0x209)]=this[_0x535b83(0x209)][_0x535b83(0x1ed)](_0x4adb8c=>!_0x4adb8c[_0x535b83(0x25e)]||!this[_0x535b83(0x203)][_0x535b83(0x287)](this[_0x535b83(0x1cd)](_0x4adb8c))),this[_0x535b83(0x209)][_0x535b83(0x20c)]&&K(this[_0x535b83(0x209)],this[_0x535b83(0x209)][0x0][_0x535b83(0x1c5)]),await this[_0x535b83(0x294)](_0x226ec6),_0x51a8de=this[_0x535b83(0x28f)](_0x226ec6,_0x4f5817[_0x535b83(0x290)],_0x4f5817[_0x535b83(0x1a8)]),this[_0x535b83(0x1a3)]=Math[_0x535b83(0x22f)](this[_0x535b83(0x1a3)]/0x2);}return _0x51a8de?!this[_0x535b83(0x1b5)]()||(this[_0x535b83(0x20d)](!0x0),!0x1):this[_0x535b83(0x1b6)](_0x535b83(0x1d3));}[_0x1d0e15(0x28f)](_0x3b51c1,_0x2752b7,_0x58a500){const _0x42c144=_0x1d0e15;try{const _0x4dae35={'document':this[_0x42c144(0x1d1)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x26c3c2,operationsB:_0x13b383,originalOperations:_0x2beb5e}=_0x514618(_0x3b51c1,this[_0x42c144(0x209)],_0x4dae35);K(_0x26c3c2,this[_0x42c144(0x1d1)][_0x42c144(0x290)]),K(_0x13b383,_0x2752b7);for(const _0x459337 of _0x26c3c2){const _0x223433=_0x2beb5e[_0x42c144(0x211)](_0x459337);_0x459337[_0x42c144(0x292)]=_0x223433?_0x223433[_0x42c144(0x292)]:null;}_0x58a500&&(this[_0x42c144(0x25d)][_0x42c144(0x1a0)](_0x3b51c1,_0x58a500),this[_0x42c144(0x19f)]=_0x58a500),this[_0x42c144(0x209)]=[..._0x13b383],this[_0x42c144(0x19b)](_0x26c3c2),this[_0x42c144(0x21c)](_0x3b51c1);}catch(_0x442479){return console[_0x42c144(0x1b0)](_0x442479),!0x1;}return!0x0;}[_0x1d0e15(0x19b)](_0x16c90a,_0x5ee2be=!0x1){const _0x5bd952=_0x1d0e15;this[_0x5bd952(0x1b2)][_0x5bd952(0x289)][_0x5bd952(0x1af)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4f410a=>{const _0x3e06b1=_0x5bd952;for(const _0xd29d51 of _0x16c90a)this[_0x3e06b1(0x1e2)][_0x3e06b1(0x242)](_0xd29d51),this[_0x3e06b1(0x233)](_0xd29d51),_0x4f410a[_0x3e06b1(0x284)][_0x3e06b1(0x26b)](_0xd29d51),this[_0x3e06b1(0x1b2)][_0x3e06b1(0x289)][_0x3e06b1(0x255)](_0xd29d51);});}[_0x1d0e15(0x233)](_0x136441){const _0x3a3ef4=_0x1d0e15,_0x44c36f=this[_0x3a3ef4(0x1cd)](_0x136441);_0x44c36f&&this[_0x3a3ef4(0x203)][_0x3a3ef4(0x242)](_0x44c36f);}[_0x1d0e15(0x1cd)](_0x20f69c){const _0x12b95c=_0x1d0e15;let _0x4d672a,_0x1ecf99;switch(_0x20f69c[_0x12b95c(0x228)]){case _0x12b95c(0x265):_0x4d672a=_0x20f69c[_0x12b95c(0x1d4)][_0x12b95c(0x1a5)];break;case _0x12b95c(0x1f7):if(_0x1ecf99=_0x20f69c[_0x12b95c(0x24e)],!_0x1ecf99)return null;_0x4d672a=_0x1ecf99[_0x12b95c(0x1a5)];break;case _0x12b95c(0x258):_0x4d672a=_0x20f69c[_0x12b95c(0x1a5)];break;case _0x12b95c(0x1cb):_0x4d672a=_0x20f69c[_0x12b95c(0x222)];break;case _0x12b95c(0x272):_0x4d672a=_0x20f69c[_0x12b95c(0x1b9)][_0x12b95c(0x1a5)];break;default:return null;}return _0x4d672a[_0x12b95c(0x202)];}[_0x1d0e15(0x21c)](_0x5adf97){const _0x46507c=_0x1d0e15;_0x5adf97[_0x46507c(0x212)](_0x5212aa=>{const _0x8e6a46=_0x46507c,_0x395464=_0x5212aa[_0x8e6a46(0x240)]();_0x395464[_0x8e6a46(0x292)]=_0x5212aa[_0x8e6a46(0x292)],_0x395464[_0x8e6a46(0x25e)]=!!_0x5212aa[_0x8e6a46(0x25e)],_0x395464[_0x8e6a46(0x204)]=_0x5212aa[_0x8e6a46(0x204)],_0x395464[_0x8e6a46(0x1c5)]+=this[_0x8e6a46(0x1ef)],_0x5212aa[_0x8e6a46(0x1d8)]&&this[_0x8e6a46(0x243)][_0x8e6a46(0x242)](_0x395464),this[_0x8e6a46(0x1c4)][_0x8e6a46(0x26b)](_0x395464);});}[_0x1d0e15(0x248)](_0x13166b){const _0x5ad5f4=_0x1d0e15,_0x363c42=this[_0x5ad5f4(0x1b2)][_0x5ad5f4(0x1ac)][_0x5ad5f4(0x211)](_0x5ad5f4(0x1e9)),_0x2a29bc=this[_0x5ad5f4(0x1b2)][_0x5ad5f4(0x266)];_0x13166b||(_0x13166b=_0x392d5a(_0x2a29bc,_0x5ad5f4(0x279))),_0x363c42[_0x5ad5f4(0x1c9)](_0x13166b,{'title':_0x392d5a(_0x2a29bc,_0x5ad5f4(0x263)),'namespace':_0x5ad5f4(0x276)}),this[_0x5ad5f4(0x1bd)]=!0x0,clearTimeout(this[_0x5ad5f4(0x1c1)]),this[_0x5ad5f4(0x209)]=[],this[_0x5ad5f4(0x1b2)][_0x5ad5f4(0x1ac)][_0x5ad5f4(0x211)](_0xd4b253)[_0x5ad5f4(0x22e)]();}[_0x1d0e15(0x1ea)](){const _0x4e351d=_0x1d0e15;this[_0x4e351d(0x23a)]||(this[_0x4e351d(0x23a)]=this[_0x4e351d(0x1b2)][_0x4e351d(0x1ac)][_0x4e351d(0x211)](_0x243eed)[_0x4e351d(0x242)](_0x392d5a(this[_0x4e351d(0x1b2)][_0x4e351d(0x266)],_0x4e351d(0x223))));}[_0x1d0e15(0x234)](){const _0x158022=_0x1d0e15;this[_0x158022(0x23a)]&&(this[_0x158022(0x1b2)][_0x158022(0x1ac)][_0x158022(0x211)](_0x243eed)[_0x158022(0x23d)](this[_0x158022(0x23a)]),this[_0x158022(0x23a)]=null);}[_0x1d0e15(0x1c2)](_0x5331c5){const _0x492b8e=_0x1d0e15,_0x3f6d81=_0x5331c5[_0x492b8e(0x1dc)](_0x3f6618=>_0x3f6618[_0x492b8e(0x29b)]());return this[_0x492b8e(0x1ca)][_0x492b8e(0x1a7)](_0x3f6d81);}[_0x1d0e15(0x1bb)](_0x3abc0d,_0x213914){const _0x26148c=_0x1d0e15;return this[_0x26148c(0x1ca)][_0x26148c(0x208)](_0x3abc0d)[_0x26148c(0x1dc)]((_0x1c77d6,_0x314f2a)=>{const _0x5cf71c=_0x26148c,_0x160f5a=_0x5cf71c(0x261)==_0x213914[_0x314f2a][_0x5cf71c(0x228)];if(_0x5cf71c(0x24c)==_0x1c77d6[_0x5cf71c(0x268)]){const _0x12759f=_0x1c77d6[_0x5cf71c(0x1d4)][_0x5cf71c(0x1a5)];!this[_0x5cf71c(0x1d1)][_0x5cf71c(0x22d)](_0x12759f)&&(this[_0x5cf71c(0x1d1)][_0x5cf71c(0x299)](_0x5cf71c(0x1cc),_0x12759f)[_0x5cf71c(0x214)]=!0x1);}const _0x5cd2dc=_0x1629a3[_0x5cf71c(0x1ec)](_0x1c77d6,this[_0x5cf71c(0x1d1)]);return _0x5cd2dc[_0x5cf71c(0x232)]=_0x1c77d6[_0x5cf71c(0x232)],_0x5cd2dc[_0x5cf71c(0x25e)]=_0x160f5a,_0x5cd2dc[_0x5cf71c(0x292)]=_0x160f5a?null:_0x213914[_0x314f2a][_0x5cf71c(0x1d2)],_0x5cd2dc[_0x5cf71c(0x1d8)]=_0x5cf71c(0x19c)===_0x213914[_0x314f2a][_0x5cf71c(0x228)],_0x5cd2dc[_0x5cf71c(0x204)]=_0x213914[_0x314f2a][_0x5cf71c(0x204)],_0x5cd2dc;});}[_0x1d0e15(0x227)](){const _0x3d9ff5=_0x1d0e15;this[_0x3d9ff5(0x28e)]=!0x0,this[_0x3d9ff5(0x1f8)]()?this[_0x3d9ff5(0x20d)]():this[_0x3d9ff5(0x28e)]=!0x1;}[_0x1d0e15(0x1f8)](){const _0x542934=_0x1d0e15,_0x289bee=this[_0x542934(0x1b2)][_0x542934(0x1ac)][_0x542934(0x211)](_0x57dd5b)[_0x542934(0x29a)][_0x542934(0x211)](this[_0x542934(0x221)]);return!this[_0x542934(0x1b2)][_0x542934(0x1fb)]&&!!_0x289bee&&_0x289bee[_0x542934(0x20c)]>0x1&&this[_0x542934(0x28e)];}[_0x1d0e15(0x1b5)](){const _0x3d6a5d=_0x1d0e15;return this[_0x3d6a5d(0x209)][_0x3d6a5d(0x20c)]>0x0||this[_0x3d6a5d(0x1f8)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x32ab20,_0x168f44){const _0x5c158d=_0x1d0e15;for(const _0x4efdfb of _0x32ab20)_0x4efdfb[_0x5c158d(0x1c5)]=_0x168f44++;}class J{[_0x1d0e15(0x1f1)];[_0x1d0e15(0x207)];constructor(_0x4144be){const _0x6d9bce=_0x1d0e15;this[_0x6d9bce(0x1f1)]=_0x4144be,this[_0x6d9bce(0x207)]=new WeakMap();}[_0x1d0e15(0x1a6)](_0x31d5a4){const _0x5bdd30=_0x1d0e15;let _0x4c73ec=_0x31d5a4[_0x5bdd30(0x20c)];for(;_0x4c73ec--;){const _0x388945=_0x31d5a4[_0x4c73ec];if(!this[_0x5bdd30(0x1f1)][_0x5bdd30(0x287)](_0x388945)){if(!this[_0x5bdd30(0x207)][_0x5bdd30(0x287)](_0x388945)){const _0x4efbba=_0x1b5c84()[_0x5bdd30(0x1d6)](0x1,0x12);this[_0x5bdd30(0x207)][_0x5bdd30(0x1e7)](_0x388945,_0x4efbba);}return this[_0x5bdd30(0x207)][_0x5bdd30(0x211)](_0x388945);}}}[_0x1d0e15(0x1a0)](_0x4260d5,_0x5b0ceb){const _0x58ee41=_0x1d0e15;if(!_0x5b0ceb)return;let _0xf4972f=_0x4260d5[_0x58ee41(0x20c)];for(;_0xf4972f--;){const _0x227ef2=_0x4260d5[_0xf4972f];this[_0x58ee41(0x1f1)][_0x58ee41(0x287)](_0x227ef2)||this[_0x58ee41(0x207)][_0x58ee41(0x1e7)](_0x227ef2,_0x5b0ceb);}}}
|