@ckeditor/ckeditor5-real-time-collaboration 45.0.0-alpha.3 → 45.0.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +14 -14
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.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": "45.0.0-alpha.
|
|
3
|
+
"version": "45.0.0-alpha.5",
|
|
4
4
|
"description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -47,19 +47,19 @@
|
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@ckeditor/ckeditor-cloud-services-collaboration": "52.7.0",
|
|
50
|
-
"@ckeditor/ckeditor5-cloud-services": "45.0.0-alpha.
|
|
51
|
-
"@ckeditor/ckeditor5-comments": "45.0.0-alpha.
|
|
52
|
-
"@ckeditor/ckeditor5-core": "45.0.0-alpha.
|
|
53
|
-
"@ckeditor/ckeditor5-editor-multi-root": "45.0.0-alpha.
|
|
54
|
-
"@ckeditor/ckeditor5-engine": "45.0.0-alpha.
|
|
55
|
-
"@ckeditor/ckeditor5-operations-compressor": "45.0.0-alpha.
|
|
56
|
-
"@ckeditor/ckeditor5-revision-history": "45.0.0-alpha.
|
|
57
|
-
"@ckeditor/ckeditor5-theme-lark": "45.0.0-alpha.
|
|
58
|
-
"@ckeditor/ckeditor5-track-changes": "45.0.0-alpha.
|
|
59
|
-
"@ckeditor/ckeditor5-ui": "45.0.0-alpha.
|
|
60
|
-
"@ckeditor/ckeditor5-utils": "45.0.0-alpha.
|
|
61
|
-
"ckeditor5": "45.0.0-alpha.
|
|
62
|
-
"ckeditor5-collaboration": "45.0.0-alpha.
|
|
50
|
+
"@ckeditor/ckeditor5-cloud-services": "45.0.0-alpha.5",
|
|
51
|
+
"@ckeditor/ckeditor5-comments": "45.0.0-alpha.5",
|
|
52
|
+
"@ckeditor/ckeditor5-core": "45.0.0-alpha.5",
|
|
53
|
+
"@ckeditor/ckeditor5-editor-multi-root": "45.0.0-alpha.5",
|
|
54
|
+
"@ckeditor/ckeditor5-engine": "45.0.0-alpha.5",
|
|
55
|
+
"@ckeditor/ckeditor5-operations-compressor": "45.0.0-alpha.5",
|
|
56
|
+
"@ckeditor/ckeditor5-revision-history": "45.0.0-alpha.5",
|
|
57
|
+
"@ckeditor/ckeditor5-theme-lark": "45.0.0-alpha.5",
|
|
58
|
+
"@ckeditor/ckeditor5-track-changes": "45.0.0-alpha.5",
|
|
59
|
+
"@ckeditor/ckeditor5-ui": "45.0.0-alpha.5",
|
|
60
|
+
"@ckeditor/ckeditor5-utils": "45.0.0-alpha.5",
|
|
61
|
+
"ckeditor5": "45.0.0-alpha.5",
|
|
62
|
+
"ckeditor5-collaboration": "45.0.0-alpha.5",
|
|
63
63
|
"es-toolkit": "1.32.0"
|
|
64
64
|
},
|
|
65
65
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x68bd93=_0x1d96;(function(_0x47d750,_0x2e7ae2){const _0x514b69=_0x1d96,_0xf7c818=_0x47d750();while(!![]){try{const _0x3d390d=parseInt(_0x514b69(0x118))/0x1*(-parseInt(_0x514b69(0x13d))/0x2)+-parseInt(_0x514b69(0x100))/0x3+-parseInt(_0x514b69(0x136))/0x4*(parseInt(_0x514b69(0x13f))/0x5)+-parseInt(_0x514b69(0x11c))/0x6+-parseInt(_0x514b69(0xfd))/0x7*(-parseInt(_0x514b69(0x11f))/0x8)+-parseInt(_0x514b69(0x12b))/0x9+-parseInt(_0x514b69(0x151))/0xa*(-parseInt(_0x514b69(0xf8))/0xb);if(_0x3d390d===_0x2e7ae2)break;else _0xf7c818['push'](_0xf7c818['shift']());}catch(_0x1b6d3d){_0xf7c818['push'](_0xf7c818['shift']());}}}(_0x5175,0x77eaf));import{ContextPlugin as _0x3e1846}from'ckeditor5/src/core.js';import{CKEditorError as _0x47a098,Collection as _0x46555e}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x4e3fe5,BalloonPanelView as _0x2e9e97,BodyCollection as _0x3e7469}from'ckeditor5/src/ui.js';import{isElement as _0x239b5a}from'es-toolkit/compat';import _0x4b9002 from'../realtimecollaborativeediting/sessions.js';import _0x534c26 from'./view/presencelistview.js';import _0x9a50c9 from'./view/presencecounterview.js';function _0x1d96(_0x5e770c,_0x28af4c){const _0x517578=_0x5175();return _0x1d96=function(_0x1d96b7,_0x59070e){_0x1d96b7=_0x1d96b7-0xee;let _0x293b0e=_0x517578[_0x1d96b7];return _0x293b0e;},_0x1d96(_0x5e770c,_0x28af4c);}function _0x5175(){const _0x416788=['currentDisplayedUsers','textarea','pin','from','destroy','isRendered','plugins','view','listenTo','isCollapsed','body','isOfficialPlugin','Shift+Tab','_handleUserRemove','filter','config','items','inlineListView','28368439FBsJcU','unpin','bindTo','counterView','button','7cIltHY','focusTracker','reverse','2684856kBvxFO','number','offsetHeight','using','find','isMe','[contenteditable]','presenceList.container','detachFromDom','join','class','activeElement','appendChild','isFocusable','attachToDom','change:isFocused','keystrokes','bind','add','get','_handleUserAdd','element','Enter','presencelist:hide','4jmUHTV','displayMe','indexOf','context','5784732DXofsw','length','usersCount','574456KiTPRv','allConnectedUsers','_bodyCollection','render','showDropdown','offsetWidth','ck\x20ck-presence-list__balloon','presencelist:show','isVisible','requires','hideDropdown','presenceList.collapseAt','508707gqlRtQ','isPremiumPlugin','Esc',':not([disabled]):not([tabindex=\x22-1\x22])','init','remove','min','isExpanded','presenceList.displayMe','_allConnectedUsers','locale','99248IdRbBg','PresenceListUI','set','define','presenceList','Tab','pluginName','59958mNRUQZ','balloonPanelView','25joicrv','content','focus','_createView','hasTooltip','presencelist-missing-container','input','[tabindex]','tabIndex','presenceDropdownView','presencelist-collapseat-invalid-format','checkIfScrollable','querySelectorAll','select','sort','map','execute','onClick','10aiJkct'];_0x5175=function(){return _0x416788;};return _0x5175();}import _0x4202a2 from'./view/presencedropdownlistview.js';import _0x33e182 from'./view/presencedropdownlistitemview.js';import _0x3f2374 from'./view/presenceinlinelistitemview.js';const C={'collapseAt':0x6,'displayMe':!0x0};export default class r extends _0x3e1846{[_0x68bd93(0x152)];[_0x68bd93(0x13e)];[_0x68bd93(0x159)];[_0x68bd93(0x148)];[_0x68bd93(0x121)]=null;static get[_0x68bd93(0x13c)](){const _0x48dac0=_0x68bd93;return _0x48dac0(0x137);}static get[_0x68bd93(0xf1)](){return!0x0;}static get[_0x68bd93(0x12c)](){return!0x0;}constructor(_0x22ffd9){const _0x2717f2=_0x68bd93;super(_0x22ffd9),this[_0x2717f2(0x11b)][_0x2717f2(0xf5)][_0x2717f2(0x139)](_0x2717f2(0x13a),C);const _0x345263=_0x22ffd9[_0x2717f2(0xf5)][_0x2717f2(0x113)](_0x2717f2(0x12a));if(_0x2717f2(0x101)!=typeof _0x345263)throw new _0x47a098(_0x2717f2(0x149),this);if(_0x345263<0x1)throw new _0x47a098(_0x2717f2(0x149),this);this[_0x2717f2(0x134)]=this[_0x2717f2(0x11b)][_0x2717f2(0x158)][_0x2717f2(0x113)](_0x4b9002)[_0x2717f2(0x120)],this[_0x2717f2(0x138)](_0x2717f2(0x11e),0x0),this[_0x2717f2(0x152)]=new _0x46555e(),this[_0x2717f2(0x13e)]=new _0x2e9e97(),this[_0x2717f2(0x13e)][_0x2717f2(0x10a)]=_0x2717f2(0x125),this[_0x2717f2(0x159)]=this[_0x2717f2(0x142)](),this[_0x2717f2(0x148)]=void 0x0;}static get[_0x68bd93(0x128)](){return[_0x4b9002];}[_0x68bd93(0x12f)](){const _0x18a42b=_0x68bd93;for(const _0x5aa45e of this[_0x18a42b(0x134)])this[_0x18a42b(0x114)](_0x5aa45e);this[_0x18a42b(0xee)](this[_0x18a42b(0x134)],_0x18a42b(0x112),(_0x56ba7b,_0x5374af)=>{const _0x2298d5=_0x18a42b;this[_0x2298d5(0x114)](_0x5374af);}),this[_0x18a42b(0xee)](this[_0x18a42b(0x134)],_0x18a42b(0x130),(_0x54dbb6,_0x5a8ffc)=>{const _0x18e8a9=_0x18a42b;this[_0x18e8a9(0xf3)](_0x5a8ffc);});}[_0x68bd93(0x142)](){const _0xa92078=_0x68bd93,_0x3b4223=this[_0xa92078(0x11b)],_0x2b4ebb=new _0x534c26(this[_0xa92078(0x11b)][_0xa92078(0x135)],this[_0xa92078(0x11b)][_0xa92078(0xf5)][_0xa92078(0x113)](_0xa92078(0x12a))),_0x58c187=this[_0xa92078(0x13e)];if(!_0x239b5a(_0x3b4223[_0xa92078(0xf5)][_0xa92078(0x113)](_0xa92078(0x107))))throw new _0x47a098(_0xa92078(0x144),this);return _0x2b4ebb[_0xa92078(0xfb)][_0xa92078(0x111)](_0xa92078(0x11e))['to'](this),_0x2b4ebb[_0xa92078(0x111)](_0xa92078(0xef))['to'](this,_0xa92078(0x11e),_0x3843bf=>{const _0x3248ce=_0xa92078,{collapseAt:_0x1b000c}=_0x3b4223[_0x3248ce(0xf5)][_0x3248ce(0x113)](_0x3248ce(0x13a)),_0x26701e=_0x3843bf>=_0x1b000c;if(_0x26701e&&!_0x2b4ebb[_0x3248ce(0xf7)][_0x3248ce(0xf6)][_0x3248ce(0x104)](_0x1641e7=>_0x1641e7 instanceof _0x9a50c9)){const _0x40487b=this[_0x3248ce(0x11b)][_0x3248ce(0xf5)][_0x3248ce(0x113)](_0x3248ce(0x12a))-0x1;this[_0x3248ce(0x152)][_0x3248ce(0x11d)]==_0x40487b&&this[_0x3248ce(0x152)][_0x3248ce(0x11d)]>0x1&&this[_0x3248ce(0x152)][_0x3248ce(0x130)](this[_0x3248ce(0x152)][_0x3248ce(0x11d)]-0x1),_0x2b4ebb[_0x3248ce(0xf7)][_0x3248ce(0xf6)][_0x3248ce(0x112)](_0x2b4ebb[_0x3248ce(0xfb)]);}return _0x26701e||this[_0x3248ce(0x129)](),_0x26701e;}),_0x2b4ebb[_0xa92078(0xf7)][_0xa92078(0xf6)][_0xa92078(0xfa)](this[_0xa92078(0x152)])[_0xa92078(0x103)](_0x1e1789=>{const _0xa61127=_0xa92078,_0x45f0f2=_0x3b4223[_0xa61127(0xf5)][_0xa61127(0x113)](_0xa61127(0x13a)),_0x42a961=new _0x3f2374(_0x3b4223[_0xa61127(0x135)],_0x1e1789,!!_0x45f0f2[_0xa61127(0x150)]);return _0x42a961[_0xa61127(0x111)](_0xa61127(0x143))['to'](_0x2b4ebb,_0xa61127(0xef),_0x4de5ab=>!_0x4de5ab),_0x42a961[_0xa61127(0x111)](_0xa61127(0x10d))['to'](_0x2b4ebb,_0xa61127(0xef),_0xb15371=>!_0xb15371),_0x45f0f2[_0xa61127(0x150)]&&this[_0xa61127(0xee)](_0x42a961,_0xa61127(0x14f),()=>{const _0xd82b9e=_0xa61127;this[_0xd82b9e(0x159)][_0xd82b9e(0xef)]||_0x45f0f2[_0xd82b9e(0x150)](_0x1e1789,_0x42a961[_0xd82b9e(0x115)]);}),_0x42a961;}),this[_0xa92078(0xee)](_0x2b4ebb[_0xa92078(0xf7)],_0xa92078(0x126),()=>{const _0x57a9f2=_0xa92078;this[_0x57a9f2(0x159)][_0x57a9f2(0xef)]&&this[_0x57a9f2(0x123)]();}),this[_0xa92078(0xee)](_0x2b4ebb[_0xa92078(0xf7)],_0xa92078(0x117),()=>{const _0xec1df6=_0xa92078;this[_0xec1df6(0x148)]&&this[_0xec1df6(0x129)]();}),_0x2b4ebb[_0xa92078(0xf7)][_0xa92078(0x110)][_0xa92078(0x138)](_0xa92078(0x116),(_0x5839ab,_0x1e88bd)=>{const _0x250ad0=_0xa92078;this[_0x250ad0(0x159)][_0x250ad0(0xef)]&&(this[_0x250ad0(0x123)](),_0x1e88bd());}),_0x2b4ebb[_0xa92078(0x122)](),_0x58c187[_0xa92078(0x122)](),_0x4e3fe5({'emitter':_0x2b4ebb,'activator':()=>_0x58c187[_0xa92078(0x127)],'contextElements':[_0x58c187[_0xa92078(0x115)],_0x2b4ebb[_0xa92078(0xf7)][_0xa92078(0x115)]],'callback':()=>this[_0xa92078(0x129)]()}),_0x3b4223[_0xa92078(0xf5)][_0xa92078(0x113)](_0xa92078(0x107))[_0xa92078(0x10c)](_0x2b4ebb[_0xa92078(0x115)]),this[_0xa92078(0x121)]=new _0x3e7469(this[_0xa92078(0x11b)][_0xa92078(0x135)]),this[_0xa92078(0x121)][_0xa92078(0x10e)](),this[_0xa92078(0x121)][_0xa92078(0x112)](this[_0xa92078(0x13e)]),_0x2b4ebb;}[_0x68bd93(0x114)](_0x10a6c5){const _0x3f4515=_0x68bd93;if(!this[_0x3f4515(0x11b)][_0x3f4515(0xf5)][_0x3f4515(0x113)](_0x3f4515(0x133))&&_0x10a6c5[_0x3f4515(0x105)])return;const _0x9639a1=this[_0x3f4515(0x11b)][_0x3f4515(0xf5)][_0x3f4515(0x113)](_0x3f4515(0x12a))-0x1;for(this[_0x3f4515(0x11e)]++;this[_0x3f4515(0x152)][_0x3f4515(0x11d)]>=_0x9639a1-(this[_0x3f4515(0x159)][_0x3f4515(0xef)]?0x1:0x0)&&this[_0x3f4515(0x152)][_0x3f4515(0x11d)]>0x1;)this[_0x3f4515(0x152)][_0x3f4515(0x130)](0x1);const _0x3e427c=_0x10a6c5[_0x3f4515(0x105)]?0x0:this[_0x3f4515(0x152)][_0x3f4515(0x11d)];this[_0x3f4515(0x152)][_0x3f4515(0x112)](_0x10a6c5,_0x3e427c);}[_0x68bd93(0xf3)](_0x81c8b2){const _0x258c59=_0x68bd93;this[_0x258c59(0x11e)]--;const {collapseAt:_0x5e075b}=this[_0x258c59(0x11b)][_0x258c59(0xf5)][_0x258c59(0x113)](_0x258c59(0x13a)),_0x1cd63d=this[_0x258c59(0x11e)]>=_0x5e075b;if(this[_0x258c59(0x152)][_0x258c59(0x113)](_0x81c8b2['id']))this[_0x258c59(0x152)][_0x258c59(0x130)](_0x81c8b2['id']);else{if(_0x1cd63d&&this[_0x258c59(0x152)][_0x258c59(0x11d)]+0x1===_0x5e075b-0x1)return;}if(this[_0x258c59(0x152)][_0x258c59(0x11d)]+(_0x1cd63d?0x1:0x0)<this[_0x258c59(0x11e)]){for(const _0x45a0ce of Array[_0x258c59(0x155)](this[_0x258c59(0x134)])[_0x258c59(0xff)]())if(!this[_0x258c59(0x152)][_0x258c59(0x113)](_0x45a0ce['id'])&&(this[_0x258c59(0x152)][_0x258c59(0x112)](_0x45a0ce,Math[_0x258c59(0x131)](this[_0x258c59(0x152)][_0x258c59(0x11d)]-(_0x1cd63d?0x1:0x0),0x1)),this[_0x258c59(0x152)][_0x258c59(0x11d)]+(_0x1cd63d?0x1:0x0)===_0x5e075b-0x1))return;}}[_0x68bd93(0x123)](){const _0xa4b361=_0x68bd93;if(this[_0xa4b361(0x148)])return;const _0x4f83e8=this[_0xa4b361(0x11b)][_0xa4b361(0xf5)][_0xa4b361(0x113)](_0xa4b361(0x13a));this[_0xa4b361(0x148)]=new _0x4202a2(this[_0xa4b361(0x11b)][_0xa4b361(0x135)],!!_0x4f83e8[_0xa4b361(0x150)]),this[_0xa4b361(0x159)][_0xa4b361(0xf7)][_0xa4b361(0x132)]=!0x0,this[_0xa4b361(0xee)](this[_0xa4b361(0x148)],_0xa4b361(0x117),()=>{const _0x463068=_0xa4b361;this[_0x463068(0x148)]&&this[_0x463068(0x129)]();});const {listWrapperView:_0xbef7b2}=this[_0xa4b361(0x148)];_0xbef7b2[_0xa4b361(0xf6)][_0xa4b361(0xfa)](this[_0xa4b361(0x134)])[_0xa4b361(0x103)](_0x2dc38b=>{const _0x367888=_0xa4b361;if(!_0x4f83e8[_0x367888(0x119)]&&_0x2dc38b[_0x367888(0x105)])return null;const _0x5b3b2d=new _0x33e182(this[_0x367888(0x11b)][_0x367888(0x135)],_0x2dc38b,!!_0x4f83e8[_0x367888(0x150)]);return _0x4f83e8[_0x367888(0x150)]&&this[_0x367888(0xee)](_0x5b3b2d,_0x367888(0x14f),()=>{const _0x302f8f=_0x367888;_0x4f83e8[_0x302f8f(0x150)](_0x2dc38b,_0x5b3b2d[_0x302f8f(0x115)]);}),_0x5b3b2d;}),this[_0xa4b361(0x13e)][_0xa4b361(0x140)][_0xa4b361(0x112)](this[_0xa4b361(0x148)]),this[_0xa4b361(0x13e)][_0xa4b361(0x154)]({'target':this[_0xa4b361(0x159)][_0xa4b361(0xf7)][_0xa4b361(0x115)]}),_0xbef7b2[_0xa4b361(0x141)](),_0xbef7b2[_0xa4b361(0x14a)]();const _0x1768b1=(_0x179232,_0x1cb649)=>{const _0xc32220=_0xa4b361;this[_0xc32220(0x129)](),this[_0xc32220(0x159)][_0xc32220(0xf7)][_0xc32220(0x141)](),_0x1cb649();};_0xbef7b2[_0xa4b361(0x110)][_0xa4b361(0x138)](_0xa4b361(0x12d),_0x1768b1),_0xbef7b2[_0xa4b361(0x110)][_0xa4b361(0x138)](_0xa4b361(0xf2),_0x1768b1),_0xbef7b2[_0xa4b361(0x110)][_0xa4b361(0x138)](_0xa4b361(0x13b),(_0x14bc6c,_0x18eada)=>{const _0x566bb1=_0xa4b361;!function(_0x267db2){const _0x4dda17=_0x1d96,_0x4f061a=['a',_0x4dda17(0xfc),_0x4dda17(0x145),_0x4dda17(0x14c),_0x4dda17(0x153),_0x4dda17(0x146),_0x4dda17(0x106)][_0x4dda17(0x14e)](_0x4e928c=>_0x4e928c+_0x4dda17(0x12e))[_0x4dda17(0x109)](','),_0x42dc8b=[...document[_0x4dda17(0xf0)][_0x4dda17(0x14b)](_0x4f061a)][_0x4dda17(0xf4)](_0xdd5713=>_0xdd5713===document[_0x4dda17(0x10b)]||_0xdd5713[_0x4dda17(0x124)]+_0xdd5713[_0x4dda17(0x102)]>0x0)[_0x4dda17(0x14d)]((_0x2fd22a,_0x58ca90)=>(_0x2fd22a[_0x4dda17(0x147)]||0x0)-(_0x58ca90[_0x4dda17(0x147)]||0x0)),_0x53bf30=_0x42dc8b[_0x4dda17(0x11a)](_0x267db2),_0x19519a=_0x42dc8b[(_0x53bf30+0x1)%_0x42dc8b[_0x4dda17(0x11d)]];_0x19519a&&_0x19519a[_0x4dda17(0x141)]();}(this[_0x566bb1(0x159)][_0x566bb1(0x115)]),this[_0x566bb1(0x129)](),_0x18eada();}),_0xbef7b2[_0xa4b361(0xfe)][_0xa4b361(0x112)](this[_0xa4b361(0x159)][_0xa4b361(0x115)]),_0xbef7b2[_0xa4b361(0xfe)]['on'](_0xa4b361(0x10f),(_0x3893b0,_0x470f66,_0x2d48c0)=>{const _0x371819=_0xa4b361;_0x2d48c0||this[_0x371819(0x129)]();});}[_0x68bd93(0x129)](){const _0x237ca6=_0x68bd93;this[_0x237ca6(0x148)]&&(this[_0x237ca6(0x159)][_0x237ca6(0xf7)][_0x237ca6(0x132)]=!0x1,this[_0x237ca6(0x13e)][_0x237ca6(0xf9)](),this[_0x237ca6(0x13e)][_0x237ca6(0x140)][_0x237ca6(0x130)](this[_0x237ca6(0x148)]),this[_0x237ca6(0x148)][_0x237ca6(0x156)](),this[_0x237ca6(0x148)]=void 0x0);}[_0x68bd93(0x156)](){const _0xe76b8f=_0x68bd93;super[_0xe76b8f(0x156)](),this[_0xe76b8f(0x159)]&&this[_0xe76b8f(0x159)][_0xe76b8f(0x157)]&&this[_0xe76b8f(0x159)][_0xe76b8f(0x156)](),this[_0xe76b8f(0x121)]&&(this[_0xe76b8f(0x121)][_0xe76b8f(0x108)](),this[_0xe76b8f(0x121)][_0xe76b8f(0x156)](),this[_0xe76b8f(0x121)]=null);}}
|
|
23
|
+
const _0x20cce7=_0x2cdd;(function(_0x2bca5b,_0x100403){const _0x2a6604=_0x2cdd,_0x4b1802=_0x2bca5b();while(!![]){try{const _0x2fc399=parseInt(_0x2a6604(0x1a5))/0x1+-parseInt(_0x2a6604(0x1f3))/0x2*(parseInt(_0x2a6604(0x1a0))/0x3)+parseInt(_0x2a6604(0x1d5))/0x4+parseInt(_0x2a6604(0x1f2))/0x5*(-parseInt(_0x2a6604(0x1ad))/0x6)+-parseInt(_0x2a6604(0x1dd))/0x7*(parseInt(_0x2a6604(0x19d))/0x8)+-parseInt(_0x2a6604(0x190))/0x9*(-parseInt(_0x2a6604(0x1df))/0xa)+-parseInt(_0x2a6604(0x1a2))/0xb;if(_0x2fc399===_0x100403)break;else _0x4b1802['push'](_0x4b1802['shift']());}catch(_0xfee28){_0x4b1802['push'](_0x4b1802['shift']());}}}(_0x7491,0x69867));import{ContextPlugin as _0x561d4f}from'ckeditor5/src/core.js';import{CKEditorError as _0x4d01d3,Collection as _0x36b345}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x43402b,BalloonPanelView as _0x44706d,BodyCollection as _0x528999}from'ckeditor5/src/ui.js';import{isElement as _0x5e0766}from'es-toolkit/compat';import _0x154dea from'../realtimecollaborativeediting/sessions.js';import _0x489440 from'./view/presencelistview.js';import _0xe57bbe from'./view/presencecounterview.js';import _0x2cdb27 from'./view/presencedropdownlistview.js';import _0x5047 from'./view/presencedropdownlistitemview.js';import _0x3c42ee from'./view/presenceinlinelistitemview.js';const E={'collapseAt':0x6,'displayMe':!0x0};function _0x2cdd(_0x5db8af,_0x3c0317){const _0x74910d=_0x7491();return _0x2cdd=function(_0x2cddb8,_0x10fff5){_0x2cddb8=_0x2cddb8-0x189;let _0x568805=_0x74910d[_0x2cddb8];return _0x568805;},_0x2cdd(_0x5db8af,_0x3c0317);}export default class r extends _0x561d4f{[_0x20cce7(0x1e3)];[_0x20cce7(0x1b8)];[_0x20cce7(0x1b9)];[_0x20cce7(0x1a8)];[_0x20cce7(0x1c6)]=null;static get[_0x20cce7(0x1e2)](){const _0x2d0ef1=_0x20cce7;return _0x2d0ef1(0x1d3);}static get[_0x20cce7(0x18c)](){return!0x0;}static get[_0x20cce7(0x197)](){return!0x0;}constructor(_0xcc84af){const _0x78a6f7=_0x20cce7;super(_0xcc84af),this[_0x78a6f7(0x1a3)][_0x78a6f7(0x19b)][_0x78a6f7(0x1b4)](_0x78a6f7(0x1b0),E);const _0x18226b=_0xcc84af[_0x78a6f7(0x19b)][_0x78a6f7(0x1d6)](_0x78a6f7(0x1ce));if(_0x78a6f7(0x1d9)!=typeof _0x18226b)throw new _0x4d01d3(_0x78a6f7(0x191),this);if(_0x18226b<0x1)throw new _0x4d01d3(_0x78a6f7(0x191),this);this[_0x78a6f7(0x1b6)]=this[_0x78a6f7(0x1a3)][_0x78a6f7(0x1dc)][_0x78a6f7(0x1d6)](_0x154dea)[_0x78a6f7(0x199)],this[_0x78a6f7(0x1be)](_0x78a6f7(0x1f4),0x0),this[_0x78a6f7(0x1e3)]=new _0x36b345(),this[_0x78a6f7(0x1b8)]=new _0x44706d(),this[_0x78a6f7(0x1b8)][_0x78a6f7(0x1a6)]=_0x78a6f7(0x1de),this[_0x78a6f7(0x1b9)]=this[_0x78a6f7(0x18b)](),this[_0x78a6f7(0x1a8)]=void 0x0;}static get[_0x20cce7(0x1c3)](){return[_0x154dea];}[_0x20cce7(0x1ed)](){const _0x4d2352=_0x20cce7;for(const _0x324534 of this[_0x4d2352(0x1b6)])this[_0x4d2352(0x1c8)](_0x324534);this[_0x4d2352(0x19c)](this[_0x4d2352(0x1b6)],_0x4d2352(0x1ba),(_0x35ffdd,_0x5cd6d1)=>{const _0x1099fc=_0x4d2352;this[_0x1099fc(0x1c8)](_0x5cd6d1);}),this[_0x4d2352(0x19c)](this[_0x4d2352(0x1b6)],_0x4d2352(0x1d0),(_0x431a7b,_0x559a5f)=>{const _0x9283b1=_0x4d2352;this[_0x9283b1(0x1d7)](_0x559a5f);});}[_0x20cce7(0x18b)](){const _0x3c664f=_0x20cce7,_0x2e8fc8=this[_0x3c664f(0x1a3)],_0x1a1f2c=new _0x489440(this[_0x3c664f(0x1a3)][_0x3c664f(0x18a)],this[_0x3c664f(0x1a3)][_0x3c664f(0x19b)][_0x3c664f(0x1d6)](_0x3c664f(0x1ce))),_0x1e0145=this[_0x3c664f(0x1b8)];if(!_0x5e0766(_0x2e8fc8[_0x3c664f(0x19b)][_0x3c664f(0x1d6)](_0x3c664f(0x1d8))))throw new _0x4d01d3(_0x3c664f(0x1a4),this);return _0x1a1f2c[_0x3c664f(0x18f)][_0x3c664f(0x1ae)](_0x3c664f(0x1f4))['to'](this),_0x1a1f2c[_0x3c664f(0x1ae)](_0x3c664f(0x196))['to'](this,_0x3c664f(0x1f4),_0x44aa9d=>{const _0x263587=_0x3c664f,{collapseAt:_0x1f18fa}=_0x2e8fc8[_0x263587(0x19b)][_0x263587(0x1d6)](_0x263587(0x1b0)),_0x2fc772=_0x44aa9d>=_0x1f18fa;if(_0x2fc772&&!_0x1a1f2c[_0x263587(0x1f1)][_0x263587(0x1d2)][_0x263587(0x1c4)](_0x5b0fca=>_0x5b0fca instanceof _0xe57bbe)){const _0x24d027=this[_0x263587(0x1a3)][_0x263587(0x19b)][_0x263587(0x1d6)](_0x263587(0x1ce))-0x1;this[_0x263587(0x1e3)][_0x263587(0x1b3)]==_0x24d027&&this[_0x263587(0x1e3)][_0x263587(0x1b3)]>0x1&&this[_0x263587(0x1e3)][_0x263587(0x1d0)](this[_0x263587(0x1e3)][_0x263587(0x1b3)]-0x1),_0x1a1f2c[_0x263587(0x1f1)][_0x263587(0x1d2)][_0x263587(0x1ba)](_0x1a1f2c[_0x263587(0x18f)]);}return _0x2fc772||this[_0x263587(0x1c7)](),_0x2fc772;}),_0x1a1f2c[_0x3c664f(0x1f1)][_0x3c664f(0x1d2)][_0x3c664f(0x19e)](this[_0x3c664f(0x1e3)])[_0x3c664f(0x1c2)](_0x227a7b=>{const _0x528dbf=_0x3c664f,_0x2937a8=_0x2e8fc8[_0x528dbf(0x19b)][_0x528dbf(0x1d6)](_0x528dbf(0x1b0)),_0x16c449=new _0x3c42ee(_0x2e8fc8[_0x528dbf(0x18a)],_0x227a7b,!!_0x2937a8[_0x528dbf(0x192)]);return _0x16c449[_0x528dbf(0x1ae)](_0x528dbf(0x1c5))['to'](_0x1a1f2c,_0x528dbf(0x196),_0x267280=>!_0x267280),_0x16c449[_0x528dbf(0x1ae)](_0x528dbf(0x1bd))['to'](_0x1a1f2c,_0x528dbf(0x196),_0x4e8da4=>!_0x4e8da4),_0x2937a8[_0x528dbf(0x192)]&&this[_0x528dbf(0x19c)](_0x16c449,_0x528dbf(0x195),()=>{const _0x2b9e71=_0x528dbf;this[_0x2b9e71(0x1b9)][_0x2b9e71(0x196)]||_0x2937a8[_0x2b9e71(0x192)](_0x227a7b,_0x16c449[_0x2b9e71(0x1db)]);}),_0x16c449;}),this[_0x3c664f(0x19c)](_0x1a1f2c[_0x3c664f(0x1f1)],_0x3c664f(0x1d1),()=>{const _0x671394=_0x3c664f;this[_0x671394(0x1b9)][_0x671394(0x196)]&&this[_0x671394(0x198)]();}),this[_0x3c664f(0x19c)](_0x1a1f2c[_0x3c664f(0x1f1)],_0x3c664f(0x1ee),()=>{const _0x1b68a1=_0x3c664f;this[_0x1b68a1(0x1a8)]&&this[_0x1b68a1(0x1c7)]();}),_0x1a1f2c[_0x3c664f(0x1f1)][_0x3c664f(0x1bb)][_0x3c664f(0x1be)](_0x3c664f(0x1e1),(_0x4a5210,_0xe5dd71)=>{const _0x471055=_0x3c664f;this[_0x471055(0x1b9)][_0x471055(0x196)]&&(this[_0x471055(0x198)](),_0xe5dd71());}),_0x1a1f2c[_0x3c664f(0x1da)](),_0x1e0145[_0x3c664f(0x1da)](),_0x43402b({'emitter':_0x1a1f2c,'activator':()=>_0x1e0145[_0x3c664f(0x1af)],'contextElements':[_0x1e0145[_0x3c664f(0x1db)],_0x1a1f2c[_0x3c664f(0x1f1)][_0x3c664f(0x1db)]],'callback':()=>this[_0x3c664f(0x1c7)]()}),_0x2e8fc8[_0x3c664f(0x19b)][_0x3c664f(0x1d6)](_0x3c664f(0x1d8))[_0x3c664f(0x1c0)](_0x1a1f2c[_0x3c664f(0x1db)]),this[_0x3c664f(0x1c6)]=new _0x528999(this[_0x3c664f(0x1a3)][_0x3c664f(0x18a)]),this[_0x3c664f(0x1c6)][_0x3c664f(0x1a7)](),this[_0x3c664f(0x1c6)][_0x3c664f(0x1ba)](this[_0x3c664f(0x1b8)]),_0x1a1f2c;}[_0x20cce7(0x1c8)](_0x4ff3fb){const _0x51b471=_0x20cce7;if(!this[_0x51b471(0x1a3)][_0x51b471(0x19b)][_0x51b471(0x1d6)](_0x51b471(0x1e8))&&_0x4ff3fb[_0x51b471(0x1ea)])return;const _0x466ad7=this[_0x51b471(0x1a3)][_0x51b471(0x19b)][_0x51b471(0x1d6)](_0x51b471(0x1ce))-0x1;for(this[_0x51b471(0x1f4)]++;this[_0x51b471(0x1e3)][_0x51b471(0x1b3)]>=_0x466ad7-(this[_0x51b471(0x1b9)][_0x51b471(0x196)]?0x1:0x0)&&this[_0x51b471(0x1e3)][_0x51b471(0x1b3)]>0x1;)this[_0x51b471(0x1e3)][_0x51b471(0x1d0)](0x1);const _0x55ca2e=_0x4ff3fb[_0x51b471(0x1ea)]?0x0:this[_0x51b471(0x1e3)][_0x51b471(0x1b3)];this[_0x51b471(0x1e3)][_0x51b471(0x1ba)](_0x4ff3fb,_0x55ca2e);}[_0x20cce7(0x1d7)](_0x203b6a){const _0x9d1f17=_0x20cce7;this[_0x9d1f17(0x1f4)]--;const {collapseAt:_0x4f56df}=this[_0x9d1f17(0x1a3)][_0x9d1f17(0x19b)][_0x9d1f17(0x1d6)](_0x9d1f17(0x1b0)),_0x2e18a8=this[_0x9d1f17(0x1f4)]>=_0x4f56df;if(this[_0x9d1f17(0x1e3)][_0x9d1f17(0x1d6)](_0x203b6a['id']))this[_0x9d1f17(0x1e3)][_0x9d1f17(0x1d0)](_0x203b6a['id']);else{if(_0x2e18a8&&this[_0x9d1f17(0x1e3)][_0x9d1f17(0x1b3)]+0x1===_0x4f56df-0x1)return;}if(this[_0x9d1f17(0x1e3)][_0x9d1f17(0x1b3)]+(_0x2e18a8?0x1:0x0)<this[_0x9d1f17(0x1f4)]){for(const _0x141a63 of Array[_0x9d1f17(0x1eb)](this[_0x9d1f17(0x1b6)])[_0x9d1f17(0x193)]())if(!this[_0x9d1f17(0x1e3)][_0x9d1f17(0x1d6)](_0x141a63['id'])&&(this[_0x9d1f17(0x1e3)][_0x9d1f17(0x1ba)](_0x141a63,Math[_0x9d1f17(0x19a)](this[_0x9d1f17(0x1e3)][_0x9d1f17(0x1b3)]-(_0x2e18a8?0x1:0x0),0x1)),this[_0x9d1f17(0x1e3)][_0x9d1f17(0x1b3)]+(_0x2e18a8?0x1:0x0)===_0x4f56df-0x1))return;}}[_0x20cce7(0x198)](){const _0x2ae146=_0x20cce7;if(this[_0x2ae146(0x1a8)])return;const _0xd806d7=this[_0x2ae146(0x1a3)][_0x2ae146(0x19b)][_0x2ae146(0x1d6)](_0x2ae146(0x1b0));this[_0x2ae146(0x1a8)]=new _0x2cdb27(this[_0x2ae146(0x1a3)][_0x2ae146(0x18a)],!!_0xd806d7[_0x2ae146(0x192)]),this[_0x2ae146(0x1b9)][_0x2ae146(0x1f1)][_0x2ae146(0x1bf)]=!0x0,this[_0x2ae146(0x19c)](this[_0x2ae146(0x1a8)],_0x2ae146(0x1ee),()=>{const _0x451c24=_0x2ae146;this[_0x451c24(0x1a8)]&&this[_0x451c24(0x1c7)]();});const {listWrapperView:_0x486112}=this[_0x2ae146(0x1a8)];_0x486112[_0x2ae146(0x1d2)][_0x2ae146(0x19e)](this[_0x2ae146(0x1b6)])[_0x2ae146(0x1c2)](_0x49ae62=>{const _0x57f1e9=_0x2ae146;if(!_0xd806d7[_0x57f1e9(0x1e5)]&&_0x49ae62[_0x57f1e9(0x1ea)])return null;const _0x5ca202=new _0x5047(this[_0x57f1e9(0x1a3)][_0x57f1e9(0x18a)],_0x49ae62,!!_0xd806d7[_0x57f1e9(0x192)]);return _0xd806d7[_0x57f1e9(0x192)]&&this[_0x57f1e9(0x19c)](_0x5ca202,_0x57f1e9(0x195),()=>{const _0x3b6c75=_0x57f1e9;_0xd806d7[_0x3b6c75(0x192)](_0x49ae62,_0x5ca202[_0x3b6c75(0x1db)]);}),_0x5ca202;}),this[_0x2ae146(0x1b8)][_0x2ae146(0x1b7)][_0x2ae146(0x1ba)](this[_0x2ae146(0x1a8)]),this[_0x2ae146(0x1b8)][_0x2ae146(0x19f)]({'target':this[_0x2ae146(0x1b9)][_0x2ae146(0x1f1)][_0x2ae146(0x1db)]}),_0x486112[_0x2ae146(0x189)](),_0x486112[_0x2ae146(0x194)]();const _0x1fa00e=(_0x3144bb,_0x5395fb)=>{const _0x410cf3=_0x2ae146;this[_0x410cf3(0x1c7)](),this[_0x410cf3(0x1b9)][_0x410cf3(0x1f1)][_0x410cf3(0x189)](),_0x5395fb();};_0x486112[_0x2ae146(0x1bb)][_0x2ae146(0x1be)](_0x2ae146(0x1e7),_0x1fa00e),_0x486112[_0x2ae146(0x1bb)][_0x2ae146(0x1be)](_0x2ae146(0x18e),_0x1fa00e),_0x486112[_0x2ae146(0x1bb)][_0x2ae146(0x1be)](_0x2ae146(0x1ef),(_0x2cda3f,_0x357134)=>{const _0x13cb74=_0x2ae146;!function(_0x3520c1){const _0x416260=_0x2cdd,_0x1fa06b=['a',_0x416260(0x1bc),_0x416260(0x18d),_0x416260(0x1e4),_0x416260(0x1b2),_0x416260(0x1ec),_0x416260(0x1b5)][_0x416260(0x1aa)](_0x33d3c8=>_0x33d3c8+_0x416260(0x1c9))[_0x416260(0x1ca)](','),_0x59121f=[...document[_0x416260(0x1cb)][_0x416260(0x1ab)](_0x1fa06b)][_0x416260(0x1a9)](_0x579a5a=>_0x579a5a===document[_0x416260(0x1a1)]||_0x579a5a[_0x416260(0x1f0)]+_0x579a5a[_0x416260(0x1ac)]>0x0)[_0x416260(0x1c1)]((_0x29e988,_0x45b3bf)=>(_0x29e988[_0x416260(0x1e9)]||0x0)-(_0x45b3bf[_0x416260(0x1e9)]||0x0)),_0x1cf9a8=_0x59121f[_0x416260(0x1cd)](_0x3520c1),_0x2796e6=_0x59121f[(_0x1cf9a8+0x1)%_0x59121f[_0x416260(0x1b3)]];_0x2796e6&&_0x2796e6[_0x416260(0x189)]();}(this[_0x13cb74(0x1b9)][_0x13cb74(0x1db)]),this[_0x13cb74(0x1c7)](),_0x357134();}),_0x486112[_0x2ae146(0x1cf)][_0x2ae146(0x1ba)](this[_0x2ae146(0x1b9)][_0x2ae146(0x1db)]),_0x486112[_0x2ae146(0x1cf)]['on'](_0x2ae146(0x1b1),(_0x5a708c,_0xf4f78d,_0x24a8dc)=>{const _0x1b32fa=_0x2ae146;_0x24a8dc||this[_0x1b32fa(0x1c7)]();});}[_0x20cce7(0x1c7)](){const _0x4e4e02=_0x20cce7;this[_0x4e4e02(0x1a8)]&&(this[_0x4e4e02(0x1b9)][_0x4e4e02(0x1f1)][_0x4e4e02(0x1bf)]=!0x1,this[_0x4e4e02(0x1b8)][_0x4e4e02(0x1d4)](),this[_0x4e4e02(0x1b8)][_0x4e4e02(0x1b7)][_0x4e4e02(0x1d0)](this[_0x4e4e02(0x1a8)]),this[_0x4e4e02(0x1a8)][_0x4e4e02(0x1e6)](),this[_0x4e4e02(0x1a8)]=void 0x0);}[_0x20cce7(0x1e6)](){const _0x3754c5=_0x20cce7;super[_0x3754c5(0x1e6)](),this[_0x3754c5(0x1b9)]&&this[_0x3754c5(0x1b9)][_0x3754c5(0x1e0)]&&this[_0x3754c5(0x1b9)][_0x3754c5(0x1e6)](),this[_0x3754c5(0x1c6)]&&(this[_0x3754c5(0x1c6)][_0x3754c5(0x1cc)](),this[_0x3754c5(0x1c6)][_0x3754c5(0x1e6)](),this[_0x3754c5(0x1c6)]=null);}}function _0x7491(){const _0x109e66=['presenceList','change:isFocused','textarea','length','define','[contenteditable]','_allConnectedUsers','content','balloonPanelView','view','add','keystrokes','button','isFocusable','set','isExpanded','appendChild','sort','using','requires','find','hasTooltip','_bodyCollection','hideDropdown','_handleUserAdd',':not([disabled]):not([tabindex=\x22-1\x22])','join','body','detachFromDom','indexOf','presenceList.collapseAt','focusTracker','remove','presencelist:show','items','PresenceListUI','unpin','3043428YlSHwz','get','_handleUserRemove','presenceList.container','number','render','element','plugins','61901hHSRuQ','ck\x20ck-presence-list__balloon','110890vAedNy','isRendered','Enter','pluginName','currentDisplayedUsers','select','displayMe','destroy','Esc','presenceList.displayMe','tabIndex','isMe','from','[tabindex]','init','presencelist:hide','Tab','offsetWidth','inlineListView','995npgToz','10NcdJfO','usersCount','focus','locale','_createView','isOfficialPlugin','input','Shift+Tab','counterView','675jnzMdh','presencelist-collapseat-invalid-format','onClick','reverse','checkIfScrollable','execute','isCollapsed','isPremiumPlugin','showDropdown','allConnectedUsers','min','config','listenTo','696SBzItF','bindTo','pin','145149VYisHZ','activeElement','3436763nTCZtQ','context','presencelist-missing-container','775711KxERMc','class','attachToDom','presenceDropdownView','filter','map','querySelectorAll','offsetHeight','18462hxYpRN','bind','isVisible'];_0x7491=function(){return _0x109e66;};return _0x7491();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x163c(){const _0x484251=['listitem','ck-presence-list__counter--hidden','80277KAqcpK','_collapseAt','toString','ck-presence-list__users-counter','8451128nIsEBB','set','ck-presence-list__users-counter__text','8YSatCR','419301luIYRL','bind','72126TSEhDu','ck-presence-list__list-item','13703899KrVjdl','7372375ZtWVlL','setTemplate','8623932UvDSNh','div','usersCount','24eTGLRz','7cUxzrS','190YTnxlc','bindTemplate','isHidden','6YaqqTP'];_0x163c=function(){return _0x484251;};return _0x163c();}const _0x4fe832=_0x38c7;(function(_0x1740fc,_0x6e2776){const _0x38581d=_0x38c7,_0x54d243=_0x1740fc();while(!![]){try{const _0x470239=parseInt(_0x38581d(0x19c))/0x1*(parseInt(_0x38581d(0x194))/0x2)+parseInt(_0x38581d(0x18a))/0x3*(parseInt(_0x38581d(0x189))/0x4)+-parseInt(_0x38581d(0x18f))/0x5*(parseInt(_0x38581d(0x199))/0x6)+-parseInt(_0x38581d(0x195))/0x7*(parseInt(_0x38581d(0x186))/0x8)+parseInt(_0x38581d(0x18c))/0x9*(parseInt(_0x38581d(0x196))/0xa)+parseInt(_0x38581d(0x18e))/0xb+parseInt(_0x38581d(0x191))/0xc;if(_0x470239===_0x6e2776)break;else _0x54d243['push'](_0x54d243['shift']());}catch(_0x35f395){_0x54d243['push'](_0x54d243['shift']());}}}(_0x163c,0xca538));import{View as _0x58977d}from'ckeditor5/src/ui.js';function _0x38c7(_0x64c30,_0x3ebba3){const _0x163c64=_0x163c();return _0x38c7=function(_0x38c73b,_0x92438b){_0x38c73b=_0x38c73b-0x183;let _0x44eda0=_0x163c64[_0x38c73b];return _0x44eda0;},_0x38c7(_0x64c30,_0x3ebba3);}export default class P extends _0x58977d{[_0x4fe832(0x183)];constructor(_0x22e23c,_0x336221=0x6){const _0x58b9a5=_0x4fe832;super(_0x22e23c);const _0xc29c76=this[_0x58b9a5(0x197)];this[_0x58b9a5(0x187)](_0x58b9a5(0x198),!0x0),this[_0x58b9a5(0x187)](_0x58b9a5(0x193),0x0),this[_0x58b9a5(0x183)]=_0x336221,this[_0x58b9a5(0x18b)](_0x58b9a5(0x198))['to'](this,_0x58b9a5(0x193),_0x52bb92=>_0x52bb92<_0x336221),this[_0x58b9a5(0x190)]({'tag':_0x58b9a5(0x192),'attributes':{'class':['ck',_0x58b9a5(0x18d),_0xc29c76['if'](_0x58b9a5(0x198),_0x58b9a5(0x19b))],'role':_0x58b9a5(0x19a)},'children':[{'tag':_0x58b9a5(0x192),'attributes':{'class':['ck',_0x58b9a5(0x185)]},'children':[{'tag':_0x58b9a5(0x192),'attributes':{'class':['ck',_0x58b9a5(0x188)]},'children':[{'text':_0xc29c76['to'](_0x58b9a5(0x193),_0x2e1c92=>'+'+(_0x2e1c92-this[_0x58b9a5(0x183)]+0x2)[_0x58b9a5(0x184)]())}]}]}]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x481175=_0x3b1a;(function(_0x5f4211,_0x1c996f){const _0x16d3b4=_0x3b1a,_0x364875=_0x5f4211();while(!![]){try{const _0x2a5751=parseInt(_0x16d3b4(0x141))/0x1+-parseInt(_0x16d3b4(0x13f))/0x2+parseInt(_0x16d3b4(0x140))/0x3+-parseInt(_0x16d3b4(0x14c))/0x4*(-parseInt(_0x16d3b4(0x139))/0x5)+-parseInt(_0x16d3b4(0x13c))/0x6+-parseInt(_0x16d3b4(0x14b))/0x7*(-parseInt(_0x16d3b4(0x14f))/0x8)+-parseInt(_0x16d3b4(0x13e))/0x9;if(_0x2a5751===_0x1c996f)break;else _0x364875['push'](_0x364875['shift']());}catch(_0x490ccd){_0x364875['push'](_0x364875['shift']());}}}(_0x324a,0x7e3de));function _0x324a(){const _0x3e1c0f=['ck-user__full-name','focus','span','fire','bindTemplate','presentation','7iPOqKj','316BOqbFK','getBackgroundColorClass','true','3032336ZruAdu','ck-presence-list__marker','ck-presence-list__dropdown-list-item','color','element','55780rLnppi','setTemplate','button','427914OjQqAG','userView','4332879xvDJCm','1064834VVbgGk','710343qcmJUk','105106KyaVcg','tag','execute','name'];_0x324a=function(){return _0x3e1c0f;};return _0x324a();}import{ListItemView as _0x22774a}from'ckeditor5/src/ui.js';import{UserView as _0x17c849}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3b1a(_0x1f3205,_0x3918cc){const _0x324a74=_0x324a();return _0x3b1a=function(_0x3b1a2e,_0xee81b6){_0x3b1a2e=_0x3b1a2e-0x135;let _0x2021b7=_0x324a74[_0x3b1a2e];return _0x2021b7;},_0x3b1a(_0x1f3205,_0x3918cc);}export default class U extends _0x22774a{[_0x481175(0x13d)];constructor(_0xc808e,_0x5d8a70,_0x11d10d){const _0x28c48d=_0x481175;super(_0xc808e);const _0x13fbe4=this[_0x28c48d(0x149)];this[_0x28c48d(0x13d)]=new _0x17c849(_0xc808e,_0x5d8a70);const _0x322527={'tag':'li','attributes':{'class':['ck',_0x28c48d(0x136)],'tabindex':-0x1,'role':_0x28c48d(0x14a),'aria-label':_0x5d8a70[_0x28c48d(0x144)]},'children':[this[_0x28c48d(0x13d)],{'tag':_0x28c48d(0x147),'attributes':{'class':['ck',_0x28c48d(0x145)]},'children':[{'text':_0x5d8a70[_0x28c48d(0x144)]}]},{'tag':_0x28c48d(0x147),'attributes':{'class':['ck',_0x28c48d(0x135),_0x5d8a70[_0x28c48d(0x137)][_0x28c48d(0x14d)]()],'aria-hidden':_0x28c48d(0x14e)}}]};_0x11d10d&&(_0x322527[_0x28c48d(0x142)]=_0x28c48d(0x13b),_0x322527['on']={'click':_0x13fbe4['to'](()=>this[_0x28c48d(0x148)](_0x28c48d(0x143)))}),this[_0x28c48d(0x13a)](_0x322527);}[_0x481175(0x146)](){const _0x3a664b=_0x481175;this[_0x3a664b(0x138)][_0x3a664b(0x146)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x31ef(){const _0x118c28=['ck-presence-list__dropdown-list-wrapper_scrollable','140FocURo','application','bindTemplate','ariaLabelledBy','6sAxnVr','ck-list','ariaLabel','items','max','1974985ptcjEu','_isScrollable','ck-reset','ck-presence-list__dropdown-list-wrapper','119416KYzyMp','155824LYhMiy','9HfWDuI','scrollHeight','element','render','window','presencelist:hide','role','clientHeight','div','.ck-presence-list__list','fire','set','111684qhxOLe','checkIfScrollable','relatedTarget','1757010hlrxyC','ck-presence-list__dropdown-list','4OsMTUi','906KHEBzx','listenTo','.ck-balloon-panel_with-arrow','listWrapperView','change','querySelector','2901206nYUfYX','contains','Connected\x20users\x20list\x20dropdown\x20menu','setTemplate','innerHeight','resize'];_0x31ef=function(){return _0x118c28;};return _0x31ef();}const _0x2d5641=_0x32cf;function _0x32cf(_0x1ec229,_0x4c13cb){const _0x31efa4=_0x31ef();return _0x32cf=function(_0x32cf43,_0x44a47e){_0x32cf43=_0x32cf43-0x16d;let _0x1c725d=_0x31efa4[_0x32cf43];return _0x1c725d;},_0x32cf(_0x1ec229,_0x4c13cb);}(function(_0xa6ca6a,_0x236aed){const _0x3ba51c=_0x32cf,_0x12dc9c=_0xa6ca6a();while(!![]){try{const _0xcdd23a=parseInt(_0x3ba51c(0x183))/0x1*(parseInt(_0x3ba51c(0x17a))/0x2)+-parseInt(_0x3ba51c(0x197))/0x3*(-parseInt(_0x3ba51c(0x196))/0x4)+parseInt(_0x3ba51c(0x17f))/0x5+parseInt(_0x3ba51c(0x191))/0x6+-parseInt(_0x3ba51c(0x176))/0x7*(parseInt(_0x3ba51c(0x184))/0x8)+-parseInt(_0x3ba51c(0x185))/0x9*(-parseInt(_0x3ba51c(0x194))/0xa)+-parseInt(_0x3ba51c(0x16f))/0xb;if(_0xcdd23a===_0x236aed)break;else _0x12dc9c['push'](_0x12dc9c['shift']());}catch(_0x3e90e1){_0x12dc9c['push'](_0x12dc9c['shift']());}}}(_0x31ef,0x47e9c));import{ListView as _0x3fde48,View as _0x3760c6}from'ckeditor5/src/ui.js';import{global as _0x1f25be}from'ckeditor5/src/utils.js';import{getTranslation as _0x39b6c4}from'../../common-translations.js';export default class D extends _0x3760c6{[_0x2d5641(0x19a)];constructor(_0x346841,_0x4ce2a7){const _0x8c4744=_0x2d5641;super(_0x346841);const _0x5d38e8=this[_0x8c4744(0x178)];this[_0x8c4744(0x19a)]=new PresenceDropdownListWrapperView(_0x346841,_0x4ce2a7),this[_0x8c4744(0x172)]({'tag':_0x8c4744(0x18d),'attributes':{'tabindex':-0x1,'role':_0x8c4744(0x177),'class':['ck',_0x8c4744(0x195)],'aria-label':_0x39b6c4(_0x346841,_0x8c4744(0x171))},'children':[this[_0x8c4744(0x19a)]],'on':{'mouseleave':_0x5d38e8['to'](_0x4f1859=>{const _0x122870=_0x8c4744,_0x55be8e=_0x4f1859,_0xdadbb4=document[_0x122870(0x16e)](_0x122870(0x18e)),_0xeb4c88=document[_0x122870(0x16e)](_0x122870(0x199));_0xdadbb4?.[_0x122870(0x170)](_0x55be8e[_0x122870(0x193)])||_0xeb4c88?.[_0x122870(0x170)](_0x55be8e[_0x122870(0x193)])||this[_0x122870(0x18f)](_0x122870(0x18a));})}});}}export class PresenceDropdownListWrapperView extends _0x3fde48{constructor(_0x336689,_0x3bd278){const _0x270500=_0x2d5641;super(_0x336689);const _0x57c110=this[_0x270500(0x178)];this[_0x270500(0x190)](_0x270500(0x180),!0x1),this[_0x270500(0x172)]({'tag':_0x3bd278?_0x270500(0x18d):'ul','attributes':{'class':['ck',_0x270500(0x181),_0x270500(0x17b),_0x270500(0x182),_0x57c110['if'](_0x270500(0x180),_0x270500(0x175))],'role':_0x57c110['to'](_0x270500(0x18b)),'aria-label':_0x57c110['to'](_0x270500(0x17c)),'aria-labelledby':_0x57c110['to'](_0x270500(0x179))},'children':this[_0x270500(0x17d)]}),this[_0x270500(0x198)](_0x1f25be[_0x270500(0x189)],_0x270500(0x174),()=>this[_0x270500(0x192)]()),this[_0x270500(0x17d)]['on'](_0x270500(0x16d),()=>this[_0x270500(0x192)]());}[_0x2d5641(0x188)](){const _0x40d264=_0x2d5641;super[_0x40d264(0x188)](),this[_0x40d264(0x192)]();}[_0x2d5641(0x192)](){const _0x5cd23c=_0x2d5641,_0x400ce4=this[_0x5cd23c(0x187)];_0x400ce4&&(this[_0x5cd23c(0x180)]=Math[_0x5cd23c(0x17e)](_0x400ce4[_0x5cd23c(0x186)],_0x400ce4[_0x5cd23c(0x18c)])>0.8*window[_0x5cd23c(0x173)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4cd93f=_0x4acc;function _0x4acc(_0x5b6dd3,_0x3613a6){const _0x57ec37=_0x57ec();return _0x4acc=function(_0x4acc04,_0x179ee2){_0x4acc04=_0x4acc04-0x12b;let _0xa0e63f=_0x57ec37[_0x4acc04];return _0xa0e63f;},_0x4acc(_0x5b6dd3,_0x3613a6);}(function(_0x3cd51f,_0x2c9316){const _0x2c1d2f=_0x4acc,_0x4f85a3=_0x3cd51f();while(!![]){try{const _0x767c72=-parseInt(_0x2c1d2f(0x13c))/0x1*(-parseInt(_0x2c1d2f(0x139))/0x2)+-parseInt(_0x2c1d2f(0x144))/0x3+parseInt(_0x2c1d2f(0x131))/0x4*(-parseInt(_0x2c1d2f(0x14a))/0x5)+parseInt(_0x2c1d2f(0x137))/0x6+-parseInt(_0x2c1d2f(0x149))/0x7+parseInt(_0x2c1d2f(0x12d))/0x8*(-parseInt(_0x2c1d2f(0x135))/0x9)+-parseInt(_0x2c1d2f(0x134))/0xa*(-parseInt(_0x2c1d2f(0x136))/0xb);if(_0x767c72===_0x2c9316)break;else _0x4f85a3['push'](_0x4f85a3['shift']());}catch(_0x349a67){_0x4f85a3['push'](_0x4f85a3['shift']());}}}(_0x57ec,0x78b3d));import{LabelView as _0x12d960,View as _0x1458d0}from'ckeditor5/src/ui.js';import{UserView as _0x3ec01b}from'ckeditor5-collaboration/src/collaboration-core.js';export default class V extends _0x1458d0{[_0x4cd93f(0x13d)];[_0x4cd93f(0x146)];constructor(_0x2709f4,_0x5abc96,_0x4c2198){const _0x562744=_0x4cd93f;super(_0x2709f4);const _0x12eae3=this[_0x562744(0x13e)];this[_0x562744(0x12e)](_0x562744(0x12f),!0x1),this[_0x562744(0x12e)](_0x562744(0x12c),!0x0),this[_0x562744(0x12e)](_0x562744(0x14b),''),this[_0x562744(0x13d)]=new _0x3ec01b(_0x2709f4,_0x5abc96),this[_0x562744(0x146)]=new at(_0x2709f4,_0x5abc96);const _0x191a89=new _0x12d960(_0x2709f4);_0x191a89[_0x562744(0x14d)][_0x562744(0x141)]=_0x562744(0x12b),_0x191a89[_0x562744(0x140)]=_0x5abc96[_0x562744(0x145)];const _0x59a526={'tag':_0x562744(0x14c),'attributes':{'class':['ck',_0x562744(0x147)],'role':_0x562744(0x133),'tabindex':_0x12eae3['to'](_0x562744(0x12f),_0x42f2a6=>!!_0x42f2a6&&0x0),'aria-labelledby':_0x191a89['id'],'data-cke-tooltip-text':this[_0x562744(0x13d)][_0x562744(0x145)],'data-cke-tooltip-position':_0x12eae3['to'](_0x562744(0x14b)),'data-cke-tooltip-disabled':_0x12eae3['to'](_0x562744(0x12c),_0x433c64=>!_0x433c64),'data-cke-tooltip-class':_0x562744(0x143)},'children':[this[_0x562744(0x13d)],this[_0x562744(0x146)],_0x191a89]};_0x4c2198&&(_0x59a526[_0x562744(0x141)]=_0x562744(0x138),_0x59a526['on']={'click':_0x12eae3['to'](()=>this[_0x562744(0x132)](_0x562744(0x142)))}),this[_0x562744(0x13b)](_0x59a526);}}function _0x57ec(){const _0xbd91ae=['hasTooltip','8952asIdgm','set','isFocusable','true','36964ppBxUs','fire','listitem','10oIknOL','891hPcERU','15327763zPkhhX','2965266ffOlpB','button','34OzBJrE','getBackgroundColorClass','setTemplate','14627zyWJAv','userView','bindTemplate','ck-presence-list__marker','text','tag','execute','ck-presence-list__list-item__tooltip','1712451cjsvEK','name','markerView','ck-presence-list__list-item','color','6398721eOKBAz','25twSRsa','tooltipPosition','div','template','span'];_0x57ec=function(){return _0xbd91ae;};return _0x57ec();}class at extends _0x1458d0{constructor(_0x56ccd8,_0x11ad44){const _0x5bf347=_0x4cd93f;super(_0x56ccd8),this[_0x5bf347(0x13b)]({'tag':_0x5bf347(0x12b),'attributes':{'class':['ck',_0x5bf347(0x13f),_0x11ad44[_0x5bf347(0x148)][_0x5bf347(0x13a)]()],'aria-hidden':_0x5bf347(0x130)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x48da(){const _0x27d4b8=['contains','20710GaCqda','hasPopup','85716LaMFQE','331416xzYcZJ','element','2775176UyFPfj','setAttribute','3671740MBHZwp','div','presencelist:hide','322992tHydtm','createCollection','aria-expanded','keystrokes','listenTo','render','setTemplate','24ZWZYwW','1359657WAedYM','relatedTarget','Connected\x20users\x20list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','querySelector','fire','isExpanded','.ck-presence-list__dropdown-list','focus','presencelist:show','list','21VuUwRq','420gSpUMx','removeAttribute','items','ck-presence-list__list','bindTemplate','change:hasPopup','.ck-balloon-panel_with-arrow','set'];_0x48da=function(){return _0x27d4b8;};return _0x48da();}const _0x15704d=_0x5457;(function(_0x64e50a,_0xcb549c){const _0x4c980e=_0x5457,_0x21ba88=_0x64e50a();while(!![]){try{const _0x544b54=parseInt(_0x4c980e(0x186))/0x1+parseInt(_0x4c980e(0x18d))/0x2*(parseInt(_0x4c980e(0x1a5))/0x3)+parseInt(_0x4c980e(0x19a))/0x4*(-parseInt(_0x4c980e(0x1a3))/0x5)+-parseInt(_0x4c980e(0x1a6))/0x6*(-parseInt(_0x4c980e(0x199))/0x7)+parseInt(_0x4c980e(0x181))/0x8+-parseInt(_0x4c980e(0x18e))/0x9+-parseInt(_0x4c980e(0x183))/0xa;if(_0x544b54===_0xcb549c)break;else _0x21ba88['push'](_0x21ba88['shift']());}catch(_0x48c059){_0x21ba88['push'](_0x21ba88['shift']());}}}(_0x48da,0x37018));import{View as _0x446177}from'ckeditor5/src/ui.js';function _0x5457(_0x38c33c,_0x3671b2){const _0x48da23=_0x48da();return _0x5457=function(_0x5457d7,_0x280365){_0x5457d7=_0x5457d7-0x180;let _0x5f1255=_0x48da23[_0x5457d7];return _0x5f1255;},_0x5457(_0x38c33c,_0x3671b2);}import{KeystrokeHandler as _0x3e9fbe}from'ckeditor5/src/utils.js';import{getTranslation as _0x27587b}from'../../common-translations.js';export default class ts extends _0x446177{[_0x15704d(0x19c)];[_0x15704d(0x189)];constructor(_0x56c82e){const _0x45799b=_0x15704d;super(_0x56c82e);const _0x5125b7=this[_0x45799b(0x19e)];this[_0x45799b(0x19c)]=this[_0x45799b(0x187)](),this[_0x45799b(0x189)]=new _0x3e9fbe(),this[_0x45799b(0x1a1)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x45799b(0x18c)]({'tag':_0x45799b(0x184),'attributes':{'aria-haspopup':_0x5125b7['if'](_0x45799b(0x1a4)),'aria-expanded':_0x5125b7['to'](_0x45799b(0x194),_0x421cef=>this[_0x45799b(0x1a4)]&&String(_0x421cef)),'aria-label':_0x5125b7['to'](_0x45799b(0x1a4),_0x3a6024=>_0x27587b(_0x56c82e,_0x3a6024?_0x45799b(0x191):_0x45799b(0x190))),'role':_0x45799b(0x198),'tabindex':_0x5125b7['to'](_0x45799b(0x1a4),_0x2c21d9=>!!_0x2c21d9&&0x0),'class':['ck',_0x45799b(0x19d)]},'children':this[_0x45799b(0x19c)],'on':{'mouseenter':_0x5125b7['to'](()=>this[_0x45799b(0x193)](_0x45799b(0x197))),'mouseleave':_0x5125b7['to'](_0x51d6ba=>{const _0x5f01d4=_0x45799b,_0xe9cfb7=_0x51d6ba,_0x36cf77=document[_0x5f01d4(0x192)](_0x5f01d4(0x195)),_0x1d4720=document[_0x5f01d4(0x192)](_0x5f01d4(0x1a0));_0x36cf77?.[_0x5f01d4(0x1a2)](_0xe9cfb7[_0x5f01d4(0x18f)])||_0x1d4720?.[_0x5f01d4(0x1a2)](_0xe9cfb7[_0x5f01d4(0x18f)])||this[_0x5f01d4(0x193)](_0x5f01d4(0x185));})}}),this['on'](_0x45799b(0x19f),(_0x10a56b,_0x1be4fa,_0x3f6c0c)=>{const _0x46661d=_0x45799b;this[_0x46661d(0x180)]&&(_0x3f6c0c?this[_0x46661d(0x180)][_0x46661d(0x182)](_0x46661d(0x188),String(this[_0x46661d(0x194)])):this[_0x46661d(0x180)][_0x46661d(0x19b)](_0x46661d(0x188)));});}[_0x15704d(0x196)](){const _0x181121=_0x15704d;this[_0x181121(0x180)][_0x181121(0x196)]();}[_0x15704d(0x18b)](){const _0x2a1dac=_0x15704d;super[_0x2a1dac(0x18b)](),this[_0x2a1dac(0x189)][_0x2a1dac(0x18a)](this[_0x2a1dac(0x180)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c4cbe=_0x9618;(function(_0x38625c,_0x20e649){const _0x101a1a=_0x9618,_0x59599b=_0x38625c();while(!![]){try{const _0x4d60f9=parseInt(_0x101a1a(0x1bb))/0x1*(parseInt(_0x101a1a(0x1a0))/0x2)+-parseInt(_0x101a1a(0x1a6))/0x3*(-parseInt(_0x101a1a(0x1ba))/0x4)+parseInt(_0x101a1a(0x1b5))/0x5*(parseInt(_0x101a1a(0x1ae))/0x6)+-parseInt(_0x101a1a(0x1aa))/0x7*(parseInt(_0x101a1a(0x1a9))/0x8)+parseInt(_0x101a1a(0x19e))/0x9+-parseInt(_0x101a1a(0x1a8))/0xa+-parseInt(_0x101a1a(0x1a2))/0xb*(-parseInt(_0x101a1a(0x1b8))/0xc);if(_0x4d60f9===_0x20e649)break;else _0x59599b['push'](_0x59599b['shift']());}catch(_0x13e2e3){_0x59599b['push'](_0x59599b['shift']());}}}(_0x4f4c,0x7a2a5));import{View as _0x20cdfe}from'ckeditor5/src/ui.js';function _0x9618(_0x4fdcc2,_0x1693df){const _0x4f4cf4=_0x4f4c();return _0x9618=function(_0x961892,_0x3573b3){_0x961892=_0x961892-0x19d;let _0x5ddeb1=_0x4f4cf4[_0x961892];return _0x5ddeb1;},_0x9618(_0x4fdcc2,_0x1693df);}function _0x4f4c(){const _0x55ad28=['ck-reset','17746jYGGZz','hasPopup','248237EbVHxK','ck-rounded-corners','div','bindTemplate','22047pmpNGs','bind','7623610VGLRsj','904Yvrzfb','44681ViwFyc','items','isCollapsed','ck-presence-list','60798ZxChuB','change','tooltipPosition','inlineListView','counterView','first','ck-presence-list--collapsed','10qazDHX','setTemplate','listenTo','408tGQKYl','locale','4EwhvJc','30nFWXqh','set','8306514dTxIkY'];_0x4f4c=function(){return _0x55ad28;};return _0x4f4c();}import _0x390a10 from'./presencecounterview.js';import _0x48c511 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class _ extends _0x20cdfe{[_0x3c4cbe(0x1b2)];[_0x3c4cbe(0x1b1)];constructor(_0x185341,_0x1808b4=0x6){const _0x2d980a=_0x3c4cbe;super(_0x185341);const _0x3c3be3=this[_0x2d980a(0x1a5)];this[_0x2d980a(0x19d)](_0x2d980a(0x1ac),!0x0),this[_0x2d980a(0x1b2)]=new _0x390a10(this[_0x2d980a(0x1b9)],_0x1808b4),this[_0x2d980a(0x1b1)]=new _0x48c511(_0x185341),this[_0x2d980a(0x1b1)][_0x2d980a(0x1a7)](_0x2d980a(0x1a1))['to'](this,_0x2d980a(0x1ac)),this[_0x2d980a(0x1b7)](this[_0x2d980a(0x1b1)][_0x2d980a(0x1ab)],_0x2d980a(0x1af),()=>{const _0x5e5042=_0x2d980a;for(const _0x3fa3e3 of this[_0x5e5042(0x1b1)][_0x5e5042(0x1ab)])_0x3fa3e3[_0x5e5042(0x1b0)]='s';this[_0x5e5042(0x1b1)][_0x5e5042(0x1ab)][_0x5e5042(0x1b3)]&&(this[_0x5e5042(0x1b1)][_0x5e5042(0x1ab)][_0x5e5042(0x1b3)][_0x5e5042(0x1b0)]='se');}),this[_0x2d980a(0x1b6)]({'tag':_0x2d980a(0x1a4),'attributes':{'class':['ck',_0x2d980a(0x1ad),_0x2d980a(0x19f),_0x2d980a(0x1a3),_0x3c3be3['if'](_0x2d980a(0x1ac),_0x2d980a(0x1b4))]},'children':[this[_0x2d980a(0x1b1)]]});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x1a6617)());[_0x5431de(0x9d)];static get[_0x5431de(0x92)](){const _0x2a584b=_0x5431de;return[_0x3bfa6e,_0x2a584b(0xc6),_0x4c1590,_0x2c6e6a];}static get[_0x5431de(0x96)](){const _0x2d713e=_0x5431de;return _0x2d713e(0x79);}static get[_0x5431de(0xcc)](){return!0x0;}static get[_0x5431de(0xc2)](){return!0x0;}constructor(_0xb3ca4e){const _0x579b6d=_0x5431de;super(_0xb3ca4e),this[_0x579b6d(0x9d)]=new Map();}async[_0x5431de(0x7f)](){const _0xf5d1e5=_0x5431de,_0x3ab107=this[_0xf5d1e5(0x8f)],_0x16a3b5=_0x3ab107[_0xf5d1e5(0x94)][_0xf5d1e5(0x7a)](_0xf5d1e5(0xc6));if(_0x3ab107[_0xf5d1e5(0x94)][_0xf5d1e5(0x7a)](_0x3bfa6e)[_0xf5d1e5(0x9b)](this),_0x16a3b5[_0xf5d1e5(0x85)]={'addCommentThread':async({channelId:_0xa45b3d,threadId:_0x354006,comments:_0x27b290,resolvedAt:_0x5aba63,resolvedBy:_0x33b830,context:_0x127548,attributes:_0x5d70e3})=>{const _0x45a9d7=_0xf5d1e5,_0x19d8b8=await this[_0x45a9d7(0x9f)](_0xa45b3d)[_0x45a9d7(0xa8)]({'commentThreadId':_0x354006,'comments':_0x27b290[_0x45a9d7(0x69)](_0x4e4c0c=>function(_0x3c88d5,_0x351f28,_0x11af4a){const _0x56840f=_0x45a9d7;return{'commentThreadId':_0x11af4a,'commentId':_0x3c88d5[_0x56840f(0x89)],'userId':_0x3c88d5[_0x56840f(0x6b)],'content':_0x3c88d5[_0x56840f(0x74)],'documentId':_0x351f28,'createdAt':_0x3c88d5[_0x56840f(0x82)],'attributes':_0x3c88d5[_0x56840f(0x84)]||{}};}(_0x4e4c0c,_0xa45b3d,_0x354006)),'resolvedAt':_0x5aba63,'resolvedBy':_0x33b830,'context':_0x127548,'attributes':_0x5d70e3})[_0x45a9d7(0x97)](rt);return{'threadId':_0x19d8b8[_0x45a9d7(0xad)],'comments':_0x19d8b8[_0x45a9d7(0x6d)]};},'getCommentThread':async({channelId:_0x3aecf8,threadId:_0x42d437})=>{const _0x3577fe=_0xf5d1e5,_0x79152f=await this[_0x3577fe(0x9f)](_0x3aecf8)[_0x3577fe(0xcb)](_0x42d437)[_0x3577fe(0x97)](rt);return _0x79152f[_0x3577fe(0xac)]?null:(await this[_0x3577fe(0x9c)]([_0x79152f]),{'threadId':_0x79152f[_0x3577fe(0xad)],'comments':_0x79152f[_0x3577fe(0x6d)][_0x3577fe(0x69)](ct),'context':_0x79152f[_0x3577fe(0x8f)],'resolvedAt':_0x79152f[_0x3577fe(0x8a)],'resolvedBy':_0x79152f[_0x3577fe(0xbf)],'attributes':_0x79152f[_0x3577fe(0x84)]||{}});},'updateCommentThread':async({channelId:_0x2ae6f3,threadId:_0x25a8db,context:_0x5c2cc2,unlinkedAt:_0xe4aed8,attributes:_0x353380})=>this[_0xf5d1e5(0x9f)](_0x2ae6f3)[_0xf5d1e5(0xb6)]({'commentThreadId':_0x25a8db,'context':_0x5c2cc2,'attributes':_0x353380,'unlinkedAt':_0xe4aed8})[_0xf5d1e5(0x97)](nt)[_0xf5d1e5(0x97)](rt),'resolveCommentThread':async({channelId:_0x1a5262,threadId:_0x20a882})=>{const _0x5e9383=_0xf5d1e5,_0x18d15d=await this[_0x5e9383(0x9f)](_0x1a5262)[_0x5e9383(0xc3)](_0x20a882)[_0x5e9383(0x97)](nt)[_0x5e9383(0x97)](rt);return{'threadId':_0x18d15d[_0x5e9383(0xad)],'resolvedAt':_0x18d15d[_0x5e9383(0x8a)],'resolvedBy':_0x18d15d[_0x5e9383(0xbf)]};},'reopenCommentThread':async({channelId:_0x127d25,threadId:_0x2aead9})=>this[_0xf5d1e5(0x9f)](_0x127d25)[_0xf5d1e5(0x6f)](_0x2aead9)[_0xf5d1e5(0x97)](nt)[_0xf5d1e5(0x97)](rt),'removeCommentThread':({channelId:_0x2c9139,threadId:_0x476b4e})=>this[_0xf5d1e5(0x9f)](_0x2c9139)[_0xf5d1e5(0x88)](_0x476b4e)[_0xf5d1e5(0x97)](nt)[_0xf5d1e5(0x97)](rt),'addComment':({channelId:_0x241332,threadId:_0x57a88f,commentId:_0x3dda93,content:_0x2b66ba,attributes:_0x4cbd7d})=>this[_0xf5d1e5(0x9f)](_0x241332)[_0xf5d1e5(0x8d)](_0x57a88f,_0x3dda93,_0x2b66ba,_0x4cbd7d)[_0xf5d1e5(0x97)](rt),'updateComment':({channelId:_0x5eb647,threadId:_0x1f9207,commentId:_0x2f2e23,content:_0x3a44c3,attributes:_0x47d44e})=>this[_0xf5d1e5(0x9f)](_0x5eb647)[_0xf5d1e5(0xc4)](_0x1f9207,_0x2f2e23,_0x3a44c3,_0x47d44e)[_0xf5d1e5(0x97)](nt)[_0xf5d1e5(0x97)](rt),'removeComment':({channelId:_0x1699e3,threadId:_0x2a9cdd,commentId:_0x37f9de})=>this[_0xf5d1e5(0x9f)](_0x1699e3)[_0xf5d1e5(0xc1)](_0x2a9cdd,_0x37f9de)[_0xf5d1e5(0x97)](nt)[_0xf5d1e5(0x97)](rt)},_0x3ab107 instanceof _0x50880e){const _0x1aaa4c=_0x3ab107[_0xf5d1e5(0x9e)][_0xf5d1e5(0x7a)](_0xf5d1e5(0x83)),_0xb60ead=_0x3ab107[_0xf5d1e5(0x94)][_0xf5d1e5(0x7a)](_0x4c1590);await this[_0xf5d1e5(0xc8)](_0x1aaa4c);const _0x223c47=await this[_0xf5d1e5(0x9d)][_0xf5d1e5(0x7a)](_0x1aaa4c)[_0xf5d1e5(0xa5)]();this[_0xf5d1e5(0x71)](_0xb60ead,_0xf5d1e5(0x66)+_0x1aaa4c,(_0x27d6d9,{session:_0x43dfe0})=>{const _0x59a2ee=_0xf5d1e5;_0x43dfe0['id']===_0xb60ead[_0x59a2ee(0xbe)]&&(_0x27d6d9[_0x59a2ee(0xc7)](),this[_0x59a2ee(0x8f)][_0x59a2ee(0x94)][_0x59a2ee(0x7a)](_0x59a2ee(0x93))[_0x59a2ee(0xc9)](_0x43dfe0[_0x59a2ee(0xbb)],_0x1aaa4c));}),_0xb60ead[_0xf5d1e5(0x6e)](_0x1aaa4c,_0x223c47);}}async[_0x5431de(0xc8)](_0x405c85){const _0x50bd8e=_0x5431de;if(this[_0x50bd8e(0x9d)][_0x50bd8e(0xae)](_0x405c85))throw new _0x2e8a1c(_0x50bd8e(0xb5),null,{'channelId':_0x405c85});const _0x16e76b=this[_0x50bd8e(0x8f)][_0x50bd8e(0x94)][_0x50bd8e(0x7a)](_0x50bd8e(0xc6)),_0x101157=new a[(_0x50bd8e(0x72))](_0x405c85);this[_0x50bd8e(0x9d)][_0x50bd8e(0xb1)](_0x405c85,_0x101157),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0x6c),(_0x249832,_0x3689e4)=>{const _0x32a7e1=_0x50bd8e,{commentThreadId:_0x379c40,documentId:_0x191a93,context:_0x433ea1,attributes:_0x2b9385,resolvedAt:_0x548541,resolvedBy:_0x42efff,comments:_0x4f0ba9}=_0x3689e4;_0x16e76b[_0x32a7e1(0xcb)](_0x379c40)||_0x16e76b[_0x32a7e1(0xa8)]({'threadId':_0x379c40,'channelId':_0x191a93,'comments':_0x4f0ba9?_0x4f0ba9[_0x32a7e1(0x69)](ct):[],'context':_0x433ea1,'attributes':_0x2b9385,'resolvedAt':_0x548541,'resolvedBy':_0x42efff,'isFromAdapter':!0x0});}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0xb8),(_0x23db2d,{commentThreadId:_0x45d454,documentId:_0x2244bb,context:_0x54205f,unlinkedAt:_0x508223,attributes:_0x53f0c0})=>{const _0x234eae=_0x50bd8e;_0x16e76b[_0x234eae(0xcb)](_0x45d454)&&_0x16e76b[_0x234eae(0xb6)]({'threadId':_0x45d454,'channelId':_0x2244bb,'context':_0x54205f,'unlinkedAt':_0x508223,'attributes':_0x53f0c0,'isFromAdapter':!0x0});}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0xb0),(_0x28e4e0,{commentThreadId:_0xfe1dfd,resolvedBy:_0x4b1f96,resolvedAt:_0x4638f7})=>{const _0xc12010=_0x50bd8e,_0x5f349f=_0x16e76b[_0xc12010(0xcb)](_0xfe1dfd);_0x5f349f&&_0x5f349f[_0xc12010(0xb7)]({'resolvedBy':_0x4b1f96,'resolvedAt':_0x4638f7,'isFromAdapter':!0x0});}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0x76),(_0x191082,{commentThreadId:_0x4ad8e3})=>{const _0x420e10=_0x50bd8e,_0x249939=_0x16e76b[_0x420e10(0xcb)](_0x4ad8e3);_0x249939&&_0x249939[_0x420e10(0xa7)]({'isFromAdapter':!0x0});}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0xa3),(_0x3f9198,{commentThreadId:_0x228373})=>{const _0x57fd23=_0x50bd8e,_0x33d63d=_0x16e76b[_0x57fd23(0xcb)](_0x228373);_0x33d63d&&_0x33d63d[_0x57fd23(0xbd)]({'isFromAdapter':!0x0});}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0x99),(_0x26478e,_0x34a08d)=>{const _0xae0c4d=_0x50bd8e,_0x5d7709=_0x34a08d[_0xae0c4d(0xad)],_0x2bf61a=_0x16e76b[_0xae0c4d(0xcb)](_0x5d7709);_0x2bf61a&&_0x2bf61a[_0xae0c4d(0x8d)]({...ct(_0x34a08d),'isFromAdapter':!0x0});}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0x65),(_0x297f3c,{commentThreadId:_0x4adb66,commentId:_0x5272ee,content:_0x5f05ce,attributes:_0x207e4d})=>{const _0x409e3c=_0x50bd8e,_0x46c283=_0x16e76b[_0x409e3c(0xcb)](_0x4adb66);if(_0x46c283){const _0x53d472=_0x46c283[_0x409e3c(0xba)](_0x5272ee);_0x53d472&&_0x53d472[_0x409e3c(0xa0)]({'content':_0x5f05ce,'attributes':_0x207e4d,'isFromAdapter':!0x0});}}),this[_0x50bd8e(0x71)](_0x101157,_0x50bd8e(0xb3),(_0x4021bb,{commentThreadId:_0x2c0df3,commentId:_0x321a5b})=>{const _0x469007=_0x50bd8e,_0x535277=_0x16e76b[_0x469007(0xcb)](_0x2c0df3);if(_0x535277){const _0x143a04=_0x535277[_0x469007(0xba)](_0x321a5b);_0x143a04&&_0x143a04[_0x469007(0xbd)]({'isFromAdapter':!0x0});}}),await this[_0x50bd8e(0x91)](_0x405c85);}[_0x5431de(0xc0)](){const _0x3f41b8=_0x5431de;if(this[_0x3f41b8(0x8f)]instanceof _0x50880e){const _0x5df333=this[_0x3f41b8(0x8f)][_0x3f41b8(0x9e)][_0x3f41b8(0x7a)](_0x3f41b8(0x83));this[_0x3f41b8(0xa2)](_0x5df333);}}[_0x5431de(0xa2)](_0x19fa29){const _0x495cc1=_0x5431de;if(!this[_0x495cc1(0x9d)][_0x495cc1(0xae)](_0x19fa29))throw new _0x2e8a1c(_0x495cc1(0x67),null,{'channelId':_0x19fa29});this[_0x495cc1(0x9f)](_0x19fa29)[_0x495cc1(0xab)](),this[_0x495cc1(0x9d)][_0x495cc1(0xa9)](_0x19fa29);}async[_0x5431de(0xbc)](){const _0x2325cf=_0x5431de;for(const _0xeffe82 of this[_0x2325cf(0x9d)][_0x2325cf(0x86)]())await this[_0x2325cf(0x91)](_0xeffe82);if(this[_0x2325cf(0x8f)]instanceof _0x50880e){const _0x5c59f1=this[_0x2325cf(0x8f)][_0x2325cf(0x9e)][_0x2325cf(0x7a)](_0x2325cf(0x83)),_0x1f5cb8=this[_0x2325cf(0x8f)][_0x2325cf(0x94)][_0x2325cf(0x7a)](_0x4c1590);_0x1f5cb8[_0x2325cf(0xb9)](_0x5c59f1);const _0x2ad69d=await this[_0x2325cf(0x9d)][_0x2325cf(0x7a)](_0x5c59f1)[_0x2325cf(0xa5)]();_0x1f5cb8[_0x2325cf(0x6e)](_0x5c59f1,_0x2ad69d);}}async[_0x5431de(0x91)](_0x17eed2){const _0x3dd2b0=_0x5431de,{connection:_0x4c92ae}=this[_0x3dd2b0(0x8f)][_0x3dd2b0(0x94)][_0x3dd2b0(0x7a)](_0x3bfa6e),_0x17a85b=this[_0x3dd2b0(0x8f)][_0x3dd2b0(0x94)][_0x3dd2b0(0x7a)](_0x3dd2b0(0xc6)),_0x98f9b4=this[_0x3dd2b0(0x9d)][_0x3dd2b0(0x7a)](_0x17eed2),_0x21ee07=await _0x98f9b4[_0x3dd2b0(0x98)](_0x4c92ae);await this[_0x3dd2b0(0x9c)](_0x21ee07);const _0x2aec38=new Set(Array[_0x3dd2b0(0x77)](_0x17a85b[_0x3dd2b0(0xa6)]({'channelId':_0x17eed2}),_0x2e3f6e=>_0x2e3f6e['id']));for(const _0x465ea6 of _0x21ee07)_0x465ea6[_0x3dd2b0(0xac)]||_0x2aec38[_0x3dd2b0(0xa9)](_0x465ea6[_0x3dd2b0(0xad)]);for(const _0x11dcaf of _0x2aec38)_0x17a85b[_0x3dd2b0(0xcb)](_0x11dcaf)[_0x3dd2b0(0xbd)]({'isFromAdapter':!0x0});for(const _0x4305c5 of _0x21ee07){let _0x4b76da=_0x17a85b[_0x3dd2b0(0xcb)](_0x4305c5[_0x3dd2b0(0xad)]);const {commentThreadId:_0x2289c7,context:_0x17e679,attributes:_0x33be14,resolvedBy:_0x536d01,resolvedAt:_0x25449d,unlinkedAt:_0x4d7436,deletedAt:_0x350776}=_0x4305c5;if(_0x350776)continue;_0x4b76da||(_0x4b76da=_0x17a85b[_0x3dd2b0(0xa8)]({'channelId':_0x17eed2,'threadId':_0x2289c7,'context':_0x17e679,'attributes':_0x33be14||{},'resolvedBy':_0x536d01,'resolvedAt':_0x25449d,'unlinkedAt':_0x4d7436,'isFromAdapter':!0x0}));const _0x523458=new Set(Array[_0x3dd2b0(0x77)](_0x4b76da[_0x3dd2b0(0x6d)],_0x2b6111=>_0x2b6111['id']));for(const _0x4c2712 of _0x4305c5[_0x3dd2b0(0x6d)])_0x523458[_0x3dd2b0(0xa9)](_0x4c2712[_0x3dd2b0(0x89)]);for(const _0x39712b of _0x523458)_0x4b76da[_0x3dd2b0(0xba)](_0x39712b)[_0x3dd2b0(0xbd)]({'isFromAdapter':!0x0});for(const _0x151b02 of _0x4305c5[_0x3dd2b0(0x6d)]){const _0xf18df5=_0x4b76da[_0x3dd2b0(0xba)](_0x151b02[_0x3dd2b0(0x89)]);_0xf18df5?_0xf18df5[_0x3dd2b0(0x74)]!==_0x151b02[_0x3dd2b0(0x74)]&&_0xf18df5[_0x3dd2b0(0xa0)]({'content':_0x151b02[_0x3dd2b0(0x74)],'isFromAdapter':!0x0}):_0x4b76da[_0x3dd2b0(0x8d)](Object[_0x3dd2b0(0xaf)](ct(_0x151b02),{'isFromAdapter':!0x0}));}}}[_0x5431de(0x9f)](_0x46bb83){const _0x3544d1=_0x5431de;if(!this[_0x3544d1(0x9d)][_0x3544d1(0xae)](_0x46bb83))throw new _0x2e8a1c(_0x3544d1(0xb4),null,{'channelId':_0x46bb83});return this[_0x3544d1(0x9d)][_0x3544d1(0x7a)](_0x46bb83);}async[_0x5431de(0x9c)](_0x135919){const _0x3cb638=_0x5431de,_0x30d7e5=this[_0x3cb638(0x8f)][_0x3cb638(0x94)][_0x3cb638(0x7a)](_0x2c6e6a),{connection:_0x50f2f2}=this[_0x3cb638(0x8f)][_0x3cb638(0x94)][_0x3cb638(0x7a)](_0x3bfa6e),_0xae7f68=new Set();for(const {resolvedBy:_0x304a7a,comments:_0xe25b6a}of _0x135919){_0x304a7a&&!_0x30d7e5[_0x3cb638(0x87)](_0x304a7a)&&_0xae7f68[_0x3cb638(0xa4)](_0x304a7a);for(const {userId:_0x4afcfd}of _0xe25b6a)_0x30d7e5[_0x3cb638(0x87)](_0x4afcfd)||_0xae7f68[_0x3cb638(0xa4)](_0x4afcfd);}if(0x0===_0xae7f68[_0x3cb638(0x95)])return;const _0x2603c9=await _0x530e41[_0x3cb638(0x64)](_0x50f2f2,Array[_0x3cb638(0x77)](_0xae7f68));for(const _0x101de0 of _0x2603c9)_0x30d7e5[_0x3cb638(0x87)](_0x101de0['id'])||_0x30d7e5[_0x3cb638(0x90)](_0x101de0);}}export default a;function _0x32e5(){const _0x2e7f7e=['keys','getUser','removeCommentThread','commentId','resolvedAt','719260HljRYC','userId','addComment','message','context','addUser','_connectService','requires','Permissions','plugins','size','pluginName','catch','connect','commentAdded','973jNtFXw','addToReconnectionStack','_fetchMissingUsersForThreads','_services','config','_getService','update','19270kIxeIX','_terminateService','commentThreadRemoved','add','getConnectedSessions','getCommentThreads','reopen','addCommentThread','delete','8eAjjVr','disconnect','deletedAt','commentThreadId','has','assign','commentThreadResolved','set','664294elXhFX','commentRemoved','cloudservicescommentsadapter-service-not-exist','cloudservicescommentsadapter-connect-already-connected','updateCommentThread','resolve','commentThreadUpdated','unregister','getComment','permissions','reconnect','remove','mySessionId','resolvedBy','destroy','removeComment','isPremiumPlugin','resolveCommentThread','updateComment','startsWith','CommentsRepository','off','_setUpService','setPermissions','29588XYTtCj','getCommentThread','isOfficialPlugin','getMany','commentUpdated','sessionAdd:','cloudservicescommentsadapter-disconnect-not-exist','6hlEGWX','map','1132851lHoMLG','authorId','commentThreadAdded','comments','register','reopenCommentThread','1746FgqSuH','listenTo','CommentsService','cloud-services-internal-error:\x20Not\x20connected.','content','code','commentThreadReopened','from','4629537ozseCL','CloudServicesCommentsAdapter','get','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','1956UrciNI','404','59192dyglxI','init','1CGNAEa','cloud-services-internal-error:\x20Request\x20timeout.','createdAt','collaboration.channelId','attributes','adapter'];_0x32e5=function(){return _0x2e7f7e;};return _0x32e5();}async function nt(_0x32e02d){const _0x5c054b=_0x5431de;if(_0x5c054b(0x7d)!==_0x32e02d[_0x5c054b(0x75)])throw _0x32e02d;}function rt(_0x4059bf){const _0x1f16bb=_0x5431de;if((_0x1938d7=_0x4059bf)[_0x1f16bb(0x8e)][_0x1f16bb(0xc5)](_0x1f16bb(0x7b))||_0x1938d7[_0x1f16bb(0x8e)][_0x1f16bb(0xc5)](_0x1f16bb(0x73))||_0x1938d7[_0x1f16bb(0x8e)][_0x1f16bb(0xc5)](_0x1f16bb(0x81)))return new Promise(()=>{});var _0x1938d7;throw _0x4059bf;}function ct(_0x417046){const _0xd983c8=_0x5431de;return{'threadId':_0x417046[_0xd983c8(0xad)],'commentId':_0x417046[_0xd983c8(0x89)],'content':_0x417046[_0xd983c8(0x74)],'createdAt':_0x417046[_0xd983c8(0x82)],'authorId':_0x417046[_0xd983c8(0x8c)],'attributes':_0x417046[_0xd983c8(0x84)]||{}};}
|
|
23
|
+
function _0x5759(){const _0x5aad1f=['keys','size','removeCommentThread','init','reopenCommentThread','assign','connect','createdAt','commentAdded','73833fpeVkT','pluginName','commentThreadReopened','commentRemoved','context','32ItJhlE','commentThreadId','unregister','resolve','500315fsgqIn','setPermissions','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','removeComment','addToReconnectionStack','7aEnjrU','get','resolvedAt','cloud-services-internal-error:\x20Not\x20connected.','message','resolvedBy','update','getUser','getCommentThreads','reopen','_connectService','cloud-services-internal-error:\x20Request\x20timeout.','cloudservicescommentsadapter-disconnect-not-exist','attributes','_services','commentThreadResolved','set','comments','userId','authorId','getConnectedSessions','_fetchMissingUsersForThreads','isOfficialPlugin','3039690ZTFWnF','CloudServicesCommentsAdapter','adapter','commentThreadRemoved','getMany','commentThreadAdded','Permissions','map','170736AWhjFG','disconnect','CommentsService','delete','commentThreadUpdated','deletedAt','_terminateService','from','register','collaboration.channelId','updateComment','addComment','4857fKutUO','getCommentThread','sessionAdd:','updateCommentThread','code','cloudservicescommentsadapter-service-not-exist','CommentsRepository','resolveCommentThread','requires','getComment','destroy','cloudservicescommentsadapter-connect-already-connected','config','content','73190KzyOPd','addCommentThread','off','99pqdFHF','addUser','218fscbqG','remove','_setUpService','_getService','listenTo','commentUpdated','1841096maXxIH','permissions','catch','startsWith','reconnect','404','has','isPremiumPlugin','mySessionId','add','plugins','commentId','54eKwiWh'];_0x5759=function(){return _0x5aad1f;};return _0x5759();}const _0x44e834=_0x5b1c;(function(_0x40eb31,_0x274648){const _0xc2f657=_0x5b1c,_0x458fb9=_0x40eb31();while(!![]){try{const _0x4a3369=-parseInt(_0xc2f657(0x159))/0x1+parseInt(_0xc2f657(0x13d))/0x2*(-parseInt(_0xc2f657(0x12a))/0x3)+-parseInt(_0xc2f657(0x15e))/0x4*(parseInt(_0xc2f657(0x162))/0x5)+-parseInt(_0xc2f657(0x116))/0x6*(-parseInt(_0xc2f657(0x167))/0x7)+parseInt(_0xc2f657(0x143))/0x8*(parseInt(_0xc2f657(0x14f))/0x9)+parseInt(_0xc2f657(0x138))/0xa*(parseInt(_0xc2f657(0x13b))/0xb)+parseInt(_0xc2f657(0x11e))/0xc;if(_0x4a3369===_0x274648)break;else _0x458fb9['push'](_0x458fb9['shift']());}catch(_0x6d8c37){_0x458fb9['push'](_0x458fb9['shift']());}}}(_0x5759,0xdfcf8));import{Context as _0x356e28,ContextPlugin as _0xc28c3c}from'ckeditor5/src/core.js';import{CKEditorError as _0x25e4da}from'ckeditor5/src/utils.js';import{Users as _0x3a4610}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5952f0,User as _0x560b93}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x5a20a4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x4d5ee6 from'../realtimecollaborativeediting/sessions.js';function _0x5b1c(_0x5defcf,_0x31c0fb){const _0x5759b9=_0x5759();return _0x5b1c=function(_0x5b1c69,_0x2bee84){_0x5b1c69=_0x5b1c69-0x114;let _0x257ed2=_0x5759b9[_0x5b1c69];return _0x257ed2;},_0x5b1c(_0x5defcf,_0x31c0fb);}class a extends _0xc28c3c{static [_0x44e834(0x120)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x5952f0)());[_0x44e834(0x175)];static get[_0x44e834(0x132)](){const _0x3cad74=_0x44e834;return[_0x5a20a4,_0x3cad74(0x130),_0x4d5ee6,_0x3a4610];}static get[_0x44e834(0x15a)](){const _0x2ebb65=_0x44e834;return _0x2ebb65(0x117);}static get[_0x44e834(0x115)](){return!0x0;}static get[_0x44e834(0x14a)](){return!0x0;}constructor(_0x3cb23d){const _0x25a0fc=_0x44e834;super(_0x3cb23d),this[_0x25a0fc(0x175)]=new Map();}async[_0x44e834(0x153)](){const _0x224296=_0x44e834,_0x458498=this[_0x224296(0x15d)],_0x324976=_0x458498[_0x224296(0x14d)][_0x224296(0x168)](_0x224296(0x130));if(_0x458498[_0x224296(0x14d)][_0x224296(0x168)](_0x5a20a4)[_0x224296(0x166)](this),_0x324976[_0x224296(0x118)]={'addCommentThread':async({channelId:_0x23d72a,threadId:_0x19a333,comments:_0x17285e,resolvedAt:_0x31e777,resolvedBy:_0x5d4505,context:_0x208ef,attributes:_0x41637c})=>{const _0x107a7c=_0x224296,_0x341fc2=await this[_0x107a7c(0x140)](_0x23d72a)[_0x107a7c(0x139)]({'commentThreadId':_0x19a333,'comments':_0x17285e[_0x107a7c(0x11d)](_0x3bba54=>function(_0x5b27c8,_0x2c4b4e,_0x7abd03){const _0x4e89c1=_0x107a7c;return{'commentThreadId':_0x7abd03,'commentId':_0x5b27c8[_0x4e89c1(0x14e)],'userId':_0x5b27c8[_0x4e89c1(0x17a)],'content':_0x5b27c8[_0x4e89c1(0x137)],'documentId':_0x2c4b4e,'createdAt':_0x5b27c8[_0x4e89c1(0x157)],'attributes':_0x5b27c8[_0x4e89c1(0x174)]||{}};}(_0x3bba54,_0x23d72a,_0x19a333)),'resolvedAt':_0x31e777,'resolvedBy':_0x5d4505,'context':_0x208ef,'attributes':_0x41637c})[_0x107a7c(0x145)](w);return{'threadId':_0x341fc2[_0x107a7c(0x15f)],'comments':_0x341fc2[_0x107a7c(0x178)]};},'getCommentThread':async({channelId:_0x23c12c,threadId:_0x4fa052})=>{const _0x4d1327=_0x224296,_0x3c74ba=await this[_0x4d1327(0x140)](_0x23c12c)[_0x4d1327(0x12b)](_0x4fa052)[_0x4d1327(0x145)](w);return _0x3c74ba[_0x4d1327(0x123)]?null:(await this[_0x4d1327(0x114)]([_0x3c74ba]),{'threadId':_0x3c74ba[_0x4d1327(0x15f)],'comments':_0x3c74ba[_0x4d1327(0x178)][_0x4d1327(0x11d)](b),'context':_0x3c74ba[_0x4d1327(0x15d)],'resolvedAt':_0x3c74ba[_0x4d1327(0x169)],'resolvedBy':_0x3c74ba[_0x4d1327(0x16c)],'attributes':_0x3c74ba[_0x4d1327(0x174)]||{}});},'updateCommentThread':async({channelId:_0x4e4399,threadId:_0x3bffd6,context:_0x243902,unlinkedAt:_0x20ed55,attributes:_0x4cc339})=>this[_0x224296(0x140)](_0x4e4399)[_0x224296(0x12d)]({'commentThreadId':_0x3bffd6,'context':_0x243902,'attributes':_0x4cc339,'unlinkedAt':_0x20ed55})[_0x224296(0x145)](y)[_0x224296(0x145)](w),'resolveCommentThread':async({channelId:_0x2e36ad,threadId:_0x1241de})=>{const _0xa578ef=_0x224296,_0x345d49=await this[_0xa578ef(0x140)](_0x2e36ad)[_0xa578ef(0x131)](_0x1241de)[_0xa578ef(0x145)](y)[_0xa578ef(0x145)](w);return{'threadId':_0x345d49[_0xa578ef(0x15f)],'resolvedAt':_0x345d49[_0xa578ef(0x169)],'resolvedBy':_0x345d49[_0xa578ef(0x16c)]};},'reopenCommentThread':async({channelId:_0x2cc1b3,threadId:_0x3665be})=>this[_0x224296(0x140)](_0x2cc1b3)[_0x224296(0x154)](_0x3665be)[_0x224296(0x145)](y)[_0x224296(0x145)](w),'removeCommentThread':({channelId:_0x2f5d75,threadId:_0x28d153})=>this[_0x224296(0x140)](_0x2f5d75)[_0x224296(0x152)](_0x28d153)[_0x224296(0x145)](y)[_0x224296(0x145)](w),'addComment':({channelId:_0x24fdf7,threadId:_0x491db5,commentId:_0x29f4d2,content:_0x34de09,attributes:_0x330a3c})=>this[_0x224296(0x140)](_0x24fdf7)[_0x224296(0x129)](_0x491db5,_0x29f4d2,_0x34de09,_0x330a3c)[_0x224296(0x145)](w),'updateComment':({channelId:_0x16d905,threadId:_0x17de98,commentId:_0x4bd8c5,content:_0x421d1b,attributes:_0x5e1280})=>this[_0x224296(0x140)](_0x16d905)[_0x224296(0x128)](_0x17de98,_0x4bd8c5,_0x421d1b,_0x5e1280)[_0x224296(0x145)](y)[_0x224296(0x145)](w),'removeComment':({channelId:_0xce61f1,threadId:_0x156370,commentId:_0x2715c6})=>this[_0x224296(0x140)](_0xce61f1)[_0x224296(0x165)](_0x156370,_0x2715c6)[_0x224296(0x145)](y)[_0x224296(0x145)](w)},_0x458498 instanceof _0x356e28){const _0x4d19ff=_0x458498[_0x224296(0x136)][_0x224296(0x168)](_0x224296(0x127)),_0x4c1be1=_0x458498[_0x224296(0x14d)][_0x224296(0x168)](_0x4d5ee6);await this[_0x224296(0x13f)](_0x4d19ff);const _0x348fa7=await this[_0x224296(0x175)][_0x224296(0x168)](_0x4d19ff)[_0x224296(0x17b)]();this[_0x224296(0x141)](_0x4c1be1,_0x224296(0x12c)+_0x4d19ff,(_0x4cd8cc,{session:_0x31a90a})=>{const _0x18bbfc=_0x224296;_0x31a90a['id']===_0x4c1be1[_0x18bbfc(0x14b)]&&(_0x4cd8cc[_0x18bbfc(0x13a)](),this[_0x18bbfc(0x15d)][_0x18bbfc(0x14d)][_0x18bbfc(0x168)](_0x18bbfc(0x11c))[_0x18bbfc(0x163)](_0x31a90a[_0x18bbfc(0x144)],_0x4d19ff));}),_0x4c1be1[_0x224296(0x126)](_0x4d19ff,_0x348fa7);}}async[_0x44e834(0x13f)](_0x147f7b){const _0x1f3a2a=_0x44e834;if(this[_0x1f3a2a(0x175)][_0x1f3a2a(0x149)](_0x147f7b))throw new _0x25e4da(_0x1f3a2a(0x135),null,{'channelId':_0x147f7b});const _0x488f40=this[_0x1f3a2a(0x15d)][_0x1f3a2a(0x14d)][_0x1f3a2a(0x168)](_0x1f3a2a(0x130)),_0x20f36a=new a[(_0x1f3a2a(0x120))](_0x147f7b);this[_0x1f3a2a(0x175)][_0x1f3a2a(0x177)](_0x147f7b,_0x20f36a),this[_0x1f3a2a(0x141)](_0x20f36a,_0x1f3a2a(0x11b),(_0x2a15a2,_0x3b8f6a)=>{const _0x261f1c=_0x1f3a2a,{commentThreadId:_0x3dd752,documentId:_0x339b9c,context:_0x419fba,attributes:_0x59e20c,resolvedAt:_0x2dfb6e,resolvedBy:_0x3084ef,comments:_0x5e5de6}=_0x3b8f6a;_0x488f40[_0x261f1c(0x12b)](_0x3dd752)||_0x488f40[_0x261f1c(0x139)]({'threadId':_0x3dd752,'channelId':_0x339b9c,'comments':_0x5e5de6?_0x5e5de6[_0x261f1c(0x11d)](b):[],'context':_0x419fba,'attributes':_0x59e20c,'resolvedAt':_0x2dfb6e,'resolvedBy':_0x3084ef,'isFromAdapter':!0x0});}),this[_0x1f3a2a(0x141)](_0x20f36a,_0x1f3a2a(0x122),(_0x465eb8,{commentThreadId:_0x26dbb8,documentId:_0x57584a,context:_0x20d99b,unlinkedAt:_0xf8a669,attributes:_0xd2822f})=>{const _0x317b57=_0x1f3a2a;_0x488f40[_0x317b57(0x12b)](_0x26dbb8)&&_0x488f40[_0x317b57(0x12d)]({'threadId':_0x26dbb8,'channelId':_0x57584a,'context':_0x20d99b,'unlinkedAt':_0xf8a669,'attributes':_0xd2822f,'isFromAdapter':!0x0});}),this[_0x1f3a2a(0x141)](_0x20f36a,_0x1f3a2a(0x176),(_0x50fdd7,{commentThreadId:_0xd55b5c,resolvedBy:_0x193b3e,resolvedAt:_0x89048b})=>{const _0x104956=_0x1f3a2a,_0x3b4422=_0x488f40[_0x104956(0x12b)](_0xd55b5c);_0x3b4422&&_0x3b4422[_0x104956(0x161)]({'resolvedBy':_0x193b3e,'resolvedAt':_0x89048b,'isFromAdapter':!0x0});}),this[_0x1f3a2a(0x141)](_0x20f36a,_0x1f3a2a(0x15b),(_0x44b719,{commentThreadId:_0x3cc177})=>{const _0x40f64f=_0x1f3a2a,_0x419bcb=_0x488f40[_0x40f64f(0x12b)](_0x3cc177);_0x419bcb&&_0x419bcb[_0x40f64f(0x170)]({'isFromAdapter':!0x0});}),this[_0x1f3a2a(0x141)](_0x20f36a,_0x1f3a2a(0x119),(_0x1858b7,{commentThreadId:_0x13255d})=>{const _0x2f4715=_0x1f3a2a,_0x46eda9=_0x488f40[_0x2f4715(0x12b)](_0x13255d);_0x46eda9&&_0x46eda9[_0x2f4715(0x13e)]({'isFromAdapter':!0x0});}),this[_0x1f3a2a(0x141)](_0x20f36a,_0x1f3a2a(0x158),(_0x1bb1b0,_0x4ff736)=>{const _0x3b056a=_0x1f3a2a,_0x180e2f=_0x4ff736[_0x3b056a(0x15f)],_0x1e0a7c=_0x488f40[_0x3b056a(0x12b)](_0x180e2f);_0x1e0a7c&&_0x1e0a7c[_0x3b056a(0x129)]({...b(_0x4ff736),'isFromAdapter':!0x0});}),this[_0x1f3a2a(0x141)](_0x20f36a,_0x1f3a2a(0x142),(_0x55a58f,{commentThreadId:_0x3ef6c4,commentId:_0x4aff17,content:_0x28d75e,attributes:_0x465e4e})=>{const _0x2dcb04=_0x1f3a2a,_0x13865d=_0x488f40[_0x2dcb04(0x12b)](_0x3ef6c4);if(_0x13865d){const _0x6b663c=_0x13865d[_0x2dcb04(0x133)](_0x4aff17);_0x6b663c&&_0x6b663c[_0x2dcb04(0x16d)]({'content':_0x28d75e,'attributes':_0x465e4e,'isFromAdapter':!0x0});}}),this[_0x1f3a2a(0x141)](_0x20f36a,_0x1f3a2a(0x15c),(_0x1298cf,{commentThreadId:_0x4b379c,commentId:_0x58d6af})=>{const _0x28a710=_0x1f3a2a,_0x483efb=_0x488f40[_0x28a710(0x12b)](_0x4b379c);if(_0x483efb){const _0x3ea242=_0x483efb[_0x28a710(0x133)](_0x58d6af);_0x3ea242&&_0x3ea242[_0x28a710(0x13e)]({'isFromAdapter':!0x0});}}),await this[_0x1f3a2a(0x171)](_0x147f7b);}[_0x44e834(0x134)](){const _0x25d762=_0x44e834;if(this[_0x25d762(0x15d)]instanceof _0x356e28){const _0x1c4332=this[_0x25d762(0x15d)][_0x25d762(0x136)][_0x25d762(0x168)](_0x25d762(0x127));this[_0x25d762(0x124)](_0x1c4332);}}[_0x44e834(0x124)](_0x548908){const _0x2f6c9f=_0x44e834;if(!this[_0x2f6c9f(0x175)][_0x2f6c9f(0x149)](_0x548908))throw new _0x25e4da(_0x2f6c9f(0x173),null,{'channelId':_0x548908});this[_0x2f6c9f(0x140)](_0x548908)[_0x2f6c9f(0x11f)](),this[_0x2f6c9f(0x175)][_0x2f6c9f(0x121)](_0x548908);}async[_0x44e834(0x147)](){const _0x28d27d=_0x44e834;for(const _0xa7221f of this[_0x28d27d(0x175)][_0x28d27d(0x150)]())await this[_0x28d27d(0x171)](_0xa7221f);if(this[_0x28d27d(0x15d)]instanceof _0x356e28){const _0x2f690e=this[_0x28d27d(0x15d)][_0x28d27d(0x136)][_0x28d27d(0x168)](_0x28d27d(0x127)),_0xf04f76=this[_0x28d27d(0x15d)][_0x28d27d(0x14d)][_0x28d27d(0x168)](_0x4d5ee6);_0xf04f76[_0x28d27d(0x160)](_0x2f690e);const _0x187ec8=await this[_0x28d27d(0x175)][_0x28d27d(0x168)](_0x2f690e)[_0x28d27d(0x17b)]();_0xf04f76[_0x28d27d(0x126)](_0x2f690e,_0x187ec8);}}async[_0x44e834(0x171)](_0x189528){const _0x58e9a5=_0x44e834,{connection:_0x3e08fe}=this[_0x58e9a5(0x15d)][_0x58e9a5(0x14d)][_0x58e9a5(0x168)](_0x5a20a4),_0x4e6b7a=this[_0x58e9a5(0x15d)][_0x58e9a5(0x14d)][_0x58e9a5(0x168)](_0x58e9a5(0x130)),_0x5c43c0=this[_0x58e9a5(0x175)][_0x58e9a5(0x168)](_0x189528),_0x18a3a9=await _0x5c43c0[_0x58e9a5(0x156)](_0x3e08fe);await this[_0x58e9a5(0x114)](_0x18a3a9);const _0x258808=new Set(Array[_0x58e9a5(0x125)](_0x4e6b7a[_0x58e9a5(0x16f)]({'channelId':_0x189528}),_0x5b3eb3=>_0x5b3eb3['id']));for(const _0x3996c9 of _0x18a3a9)_0x3996c9[_0x58e9a5(0x123)]||_0x258808[_0x58e9a5(0x121)](_0x3996c9[_0x58e9a5(0x15f)]);for(const _0x180ec3 of _0x258808)_0x4e6b7a[_0x58e9a5(0x12b)](_0x180ec3)[_0x58e9a5(0x13e)]({'isFromAdapter':!0x0});for(const _0x34c79e of _0x18a3a9){let _0x470717=_0x4e6b7a[_0x58e9a5(0x12b)](_0x34c79e[_0x58e9a5(0x15f)]);const {commentThreadId:_0xa6e8aa,context:_0x444958,attributes:_0x1edd0f,resolvedBy:_0x464ecb,resolvedAt:_0xccf807,unlinkedAt:_0x3049ed,deletedAt:_0x44c011}=_0x34c79e;if(_0x44c011)continue;_0x470717||(_0x470717=_0x4e6b7a[_0x58e9a5(0x139)]({'channelId':_0x189528,'threadId':_0xa6e8aa,'context':_0x444958,'attributes':_0x1edd0f||{},'resolvedBy':_0x464ecb,'resolvedAt':_0xccf807,'unlinkedAt':_0x3049ed,'isFromAdapter':!0x0}));const _0x1dd8c8=new Set(Array[_0x58e9a5(0x125)](_0x470717[_0x58e9a5(0x178)],_0x35ed0d=>_0x35ed0d['id']));for(const _0x451096 of _0x34c79e[_0x58e9a5(0x178)])_0x1dd8c8[_0x58e9a5(0x121)](_0x451096[_0x58e9a5(0x14e)]);for(const _0x5b9aed of _0x1dd8c8)_0x470717[_0x58e9a5(0x133)](_0x5b9aed)[_0x58e9a5(0x13e)]({'isFromAdapter':!0x0});for(const _0x543966 of _0x34c79e[_0x58e9a5(0x178)]){const _0x32c9f8=_0x470717[_0x58e9a5(0x133)](_0x543966[_0x58e9a5(0x14e)]);_0x32c9f8?_0x32c9f8[_0x58e9a5(0x137)]!==_0x543966[_0x58e9a5(0x137)]&&_0x32c9f8[_0x58e9a5(0x16d)]({'content':_0x543966[_0x58e9a5(0x137)],'isFromAdapter':!0x0}):_0x470717[_0x58e9a5(0x129)](Object[_0x58e9a5(0x155)](b(_0x543966),{'isFromAdapter':!0x0}));}}}[_0x44e834(0x140)](_0x2efac6){const _0x542e6a=_0x44e834;if(!this[_0x542e6a(0x175)][_0x542e6a(0x149)](_0x2efac6))throw new _0x25e4da(_0x542e6a(0x12f),null,{'channelId':_0x2efac6});return this[_0x542e6a(0x175)][_0x542e6a(0x168)](_0x2efac6);}async[_0x44e834(0x114)](_0x12a1a8){const _0xd1195b=_0x44e834,_0x59b0d9=this[_0xd1195b(0x15d)][_0xd1195b(0x14d)][_0xd1195b(0x168)](_0x3a4610),{connection:_0x22d749}=this[_0xd1195b(0x15d)][_0xd1195b(0x14d)][_0xd1195b(0x168)](_0x5a20a4),_0x407865=new Set();for(const {resolvedBy:_0x742f93,comments:_0x161537}of _0x12a1a8){_0x742f93&&!_0x59b0d9[_0xd1195b(0x16e)](_0x742f93)&&_0x407865[_0xd1195b(0x14c)](_0x742f93);for(const {userId:_0x33e7e6}of _0x161537)_0x59b0d9[_0xd1195b(0x16e)](_0x33e7e6)||_0x407865[_0xd1195b(0x14c)](_0x33e7e6);}if(0x0===_0x407865[_0xd1195b(0x151)])return;const _0x861b52=await _0x560b93[_0xd1195b(0x11a)](_0x22d749,Array[_0xd1195b(0x125)](_0x407865));for(const _0x1a10de of _0x861b52)_0x59b0d9[_0xd1195b(0x16e)](_0x1a10de['id'])||_0x59b0d9[_0xd1195b(0x13c)](_0x1a10de);}}export default a;async function y(_0x731018){const _0x32a63f=_0x44e834;if(_0x32a63f(0x148)!==_0x731018[_0x32a63f(0x12e)])throw _0x731018;}function w(_0x1cda2c){const _0x30040b=_0x44e834;if((_0x1d786f=_0x1cda2c)[_0x30040b(0x16b)][_0x30040b(0x146)](_0x30040b(0x164))||_0x1d786f[_0x30040b(0x16b)][_0x30040b(0x146)](_0x30040b(0x16a))||_0x1d786f[_0x30040b(0x16b)][_0x30040b(0x146)](_0x30040b(0x172)))return new Promise(()=>{});var _0x1d786f;throw _0x1cda2c;}function b(_0x2633d3){const _0x1458b4=_0x44e834;return{'threadId':_0x2633d3[_0x1458b4(0x15f)],'commentId':_0x2633d3[_0x1458b4(0x14e)],'content':_0x2633d3[_0x1458b4(0x137)],'createdAt':_0x2633d3[_0x1458b4(0x157)],'authorId':_0x2633d3[_0x1458b4(0x179)],'attributes':_0x2633d3[_0x1458b4(0x174)]||{}};}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
((()=>_0x33608a)());[_0x3836e8(0x23a)];[_0x3836e8(0x2e5)];[_0x3836e8(0x2cc)];[_0x3836e8(0x292)];[_0x3836e8(0x2a8)];[_0x3836e8(0x2ec)];[_0x3836e8(0x2e0)];[_0x3836e8(0x2a9)];[_0x3836e8(0x250)];[_0x3836e8(0x28c)];[_0x3836e8(0x26f)];[_0x3836e8(0x22e)];[_0x3836e8(0x2f0)];[_0x3836e8(0x211)];[_0x3836e8(0x278)];[_0x3836e8(0x239)];[_0x3836e8(0x237)];[_0x3836e8(0x249)];static get[_0x3836e8(0x22c)](){return[_0x1d7677,_0x2dc5aa,_0x809ba3,_0x2c0db0,_0x257107,_0x506bfd];}static get[_0x3836e8(0x216)](){const _0xc4ad9e=_0x3836e8;return _0xc4ad9e(0x202);}static get[_0x3836e8(0x1f4)](){return!0x0;}static get[_0x3836e8(0x27b)](){return!0x0;}get[_0x3836e8(0x285)](){const _0x888cd3=_0x3836e8;return this[_0x888cd3(0x209)]+this[_0x888cd3(0x23a)];}get[_0x3836e8(0x209)](){const _0x14e9d6=_0x3836e8;return this[_0x14e9d6(0x2cc)][_0x14e9d6(0x1f8)]-this[_0x14e9d6(0x23a)];}get[_0x3836e8(0x2ef)](){const _0x4f1d57=_0x3836e8,_0x2c721d=this[_0x4f1d57(0x2cc)][_0x4f1d57(0x26b)]();for(let _0x466e8a=_0x2c721d[_0x4f1d57(0x2d7)]-0x1;_0x466e8a>=0x0;_0x466e8a--){const _0x2ab71b=_0x2c721d[_0x466e8a];if(!this[_0x4f1d57(0x237)][_0x4f1d57(0x1fe)](_0x2ab71b))return _0x2ab71b[_0x4f1d57(0x222)]+0x1-this[_0x4f1d57(0x23a)];}return 0x0;}constructor(_0x39d082){const _0x24ae73=_0x3836e8;if(super(_0x39d082),this[_0x24ae73(0x23a)]=0x0,this[_0x24ae73(0x2e5)]=null,this[_0x24ae73(0x2cc)]=new _0x5bffd0(),this[_0x24ae73(0x2ca)][_0x24ae73(0x2ea)][_0x24ae73(0x2f7)](_0x24ae73(0x263),{}),this[_0x24ae73(0x292)]=this[_0x24ae73(0x2ca)][_0x24ae73(0x2ea)][_0x24ae73(0x288)](_0x24ae73(0x210)),!this[_0x24ae73(0x292)])throw new _0x423683(_0x24ae73(0x2cd),this);const _0x2c56e8=_0x39d082[_0x24ae73(0x2ea)][_0x24ae73(0x288)](_0x24ae73(0x21c))||_0x255450;this[_0x24ae73(0x2a8)]=new l[(_0x24ae73(0x293))](_0x2c56e8,this[_0x24ae73(0x292)]),this[_0x24ae73(0x2ec)]=this[_0x24ae73(0x2ca)][_0x24ae73(0x2b3)][_0x24ae73(0x2b4)],this[_0x24ae73(0x2e0)]=new _0x283b01(),this[_0x24ae73(0x2a9)]=[],this[_0x24ae73(0x250)]=new WeakSet(),this[_0x24ae73(0x28c)]=new Set(),this[_0x24ae73(0x23f)](_0x24ae73(0x1fb),!0x1),this[_0x24ae73(0x23f)](_0x24ae73(0x2ae),!0x1),this[_0x24ae73(0x26f)]=null,this[_0x24ae73(0x22e)]=!0x1,this[_0x24ae73(0x2f0)]=null,this[_0x24ae73(0x211)]=0x12c,this[_0x24ae73(0x278)]=this[_0x24ae73(0x211)],this[_0x24ae73(0x239)]=null,this[_0x24ae73(0x237)]=new WeakSet(),this[_0x24ae73(0x249)]=new $(this[_0x24ae73(0x237)]);}[_0x3836e8(0x248)](){const _0x3df52b=_0x3836e8,_0x2d90a9=this[_0x3df52b(0x2ca)],_0x48dcd2=_0x2d90a9[_0x3df52b(0x29b)][_0x3df52b(0x288)](_0x257107),_0x56d16f=_0x2d90a9[_0x3df52b(0x29b)][_0x3df52b(0x288)](_0x1d7677);this[_0x3df52b(0x1ff)](_0x48dcd2,_0x3df52b(0x220),(_0x32243a,_0x345126)=>{const _0x4d3157=_0x3df52b,_0x4be499=_0x345126[0x0];_0x4be499[_0x4d3157(0x29f)]&&(_0x32243a[_0x4d3157(0x2f3)]=_0x48dcd2[_0x4d3157(0x2f1)](_0x4be499[_0x4d3157(0x29f)]),_0x32243a[_0x4d3157(0x2a0)]()),null===_0x4be499[_0x4d3157(0x29f)]&&(_0x32243a[_0x4d3157(0x2f3)]=null,_0x32243a[_0x4d3157(0x2a0)]());},{'priority':_0x3df52b(0x26e)}),this[_0x3df52b(0x1ff)](_0x2d90a9[_0x3df52b(0x2b3)][_0x3df52b(0x2b4)][_0x3df52b(0x22d)],_0x3df52b(0x23c),(_0x2cd034,_0xf62726)=>{const _0x2fdc0e=_0x3df52b;_0xf62726[_0x2fdc0e(0x2d5)]&&this[_0x2fdc0e(0x214)]();}),this[_0x3df52b(0x1ff)](_0x2d90a9[_0x3df52b(0x29d)][_0x3df52b(0x2ba)],_0x3df52b(0x21d),()=>{const _0x51078f=_0x3df52b;this[_0x51078f(0x214)]();}),this[_0x3df52b(0x1fd)](),_0x2d90a9[_0x3df52b(0x2b3)]['on'](_0x3df52b(0x1f3),(_0x4416ff,_0x203da8)=>{const _0x201882=_0x3df52b,_0x22d529=_0x203da8[0x0];_0x22d529[_0x201882(0x20e)]&&(this[_0x201882(0x223)](_0x22d529),this[_0x201882(0x287)]()&&this[_0x201882(0x24f)]());}),this[_0x3df52b(0x2d9)](),this[_0x3df52b(0x286)](_0x3df52b(0x241))['to'](_0x56d16f,_0x3df52b(0x289),this,_0x3df52b(0x2ae),(_0x31e0b9,_0x5f120d)=>_0x3df52b(0x2a5)===_0x31e0b9&&!_0x5f120d),this['on'](_0x3df52b(0x203),()=>{const _0x294887=_0x3df52b;this[_0x294887(0x241)]?_0x2d90a9[_0x294887(0x236)](_0x294887(0x212)):_0x2d90a9[_0x294887(0x264)](_0x294887(0x212));}),this[_0x3df52b(0x241)]?_0x2d90a9[_0x3df52b(0x236)](_0x3df52b(0x212)):_0x2d90a9[_0x3df52b(0x264)](_0x3df52b(0x212)),this[_0x3df52b(0x23f)](_0x3df52b(0x2e6),!0x1);}async[_0x3836e8(0x2d4)](){const _0x221b72=_0x3836e8,_0x59b0de=this[_0x221b72(0x2ca)][_0x221b72(0x29b)][_0x221b72(0x288)](_0x2dc5aa),_0x31e9f8=this[_0x221b72(0x2ca)][_0x221b72(0x29b)][_0x221b72(0x288)](_0x1d7677);try{this[_0x221b72(0x1fb)]=!0x0,_0x59b0de[_0x221b72(0x260)](this[_0x221b72(0x292)]);const _0x10b039=await this[_0x221b72(0x2a8)][_0x221b72(0x2d4)](_0x31e9f8[_0x221b72(0x252)],this[_0x221b72(0x2ef)]);await this[_0x221b72(0x297)](_0x10b039)&&(this[_0x221b72(0x1fb)]=!0x1,this[_0x221b72(0x2d3)]());const _0x11c62d=await this[_0x221b72(0x2a8)][_0x221b72(0x247)]();_0x59b0de[_0x221b72(0x265)](this[_0x221b72(0x292)],_0x11c62d),this[_0x221b72(0x2de)](),this[_0x221b72(0x2e6)]=!0x0;}catch(_0x37331e){if(function(_0x5199d1){const _0xa4b4c=_0x221b72;return _0xa4b4c(0x2bd)===_0x5199d1[_0xa4b4c(0x2b0)];}(_0x37331e)&&this[_0x221b72(0x2e5)])await this[_0x221b72(0x230)]();else{if(function(_0xbaf031){const _0x346382=_0x221b72;return _0x346382(0x26a)===_0xbaf031[_0x346382(0x2b0)];}(_0x37331e)){const _0xd6d54e=_0x4e6e58(this[_0x221b72(0x2ca)][_0x221b72(0x226)],_0x221b72(0x2b1));this[_0x221b72(0x272)](_0xd6d54e);}else{if(!(_0x37331e instanceof q))throw _0x37331e;this[_0x221b72(0x272)]();}}}}[_0x3836e8(0x2e4)](){const _0xa2d3e8=_0x3836e8,_0x25eca7=this[_0xa2d3e8(0x2ca)][_0xa2d3e8(0x29b)][_0xa2d3e8(0x288)](_0x1d7677),_0x40a4c8=this[_0xa2d3e8(0x2ca)][_0xa2d3e8(0x29b)][_0xa2d3e8(0x288)](_0x2dc5aa);this[_0xa2d3e8(0x2ca)][_0xa2d3e8(0x264)](_0xa2d3e8(0x2ac)),_0x40a4c8[_0xa2d3e8(0x24a)][_0xa2d3e8(0x1fe)](this[_0xa2d3e8(0x292)])&&_0x40a4c8[_0xa2d3e8(0x260)](this[_0xa2d3e8(0x292)]),_0x25eca7[_0xa2d3e8(0x20d)](this),this[_0xa2d3e8(0x25e)](),super[_0xa2d3e8(0x2e4)]();}async[_0x3836e8(0x297)](_0x52895c){const _0x4137f7=_0x3836e8;if(this[_0x4137f7(0x2e5)]!==_0x52895c[_0x4137f7(0x2e5)]&&this[_0x4137f7(0x239)]!==_0x52895c[_0x4137f7(0x2a3)])throw new q();return this[_0x4137f7(0x2e5)]=_0x52895c[_0x4137f7(0x2e5)],this[_0x4137f7(0x267)]([],{..._0x52895c,'wereChangesApplied':!0x1,'data':_0x52895c[_0x4137f7(0x280)]},_0x4137f7(0x2d4));}async[_0x3836e8(0x24e)](_0x4162a9,_0x26f9c5=!0x1){const _0x3e6ade=_0x3836e8,{connection:_0x5099f0}=this[_0x3e6ade(0x2ca)][_0x3e6ade(0x29b)][_0x3e6ade(0x288)](_0x1d7677);l[_0x3e6ade(0x293)][_0x3e6ade(0x247)](_0x5099f0,this[_0x3e6ade(0x292)])[_0x3e6ade(0x208)](_0xb64768=>this[_0x3e6ade(0x2f6)](_0xb64768))[_0x3e6ade(0x2b7)](_0x3e589c=>{const _0x210fa2=_0x3e6ade;this[_0x210fa2(0x257)](_0x210fa2(0x24b),_0x3e589c);}),this[_0x3e6ade(0x1ff)](this[_0x3e6ade(0x2a8)],_0x3e6ade(0x25a),this[_0x3e6ade(0x2d8)][_0x3e6ade(0x286)](this)),this[_0x3e6ade(0x1ff)](this[_0x3e6ade(0x2a8)],_0x3e6ade(0x21a),(_0x24ebb0,_0x21dcd8)=>{const _0x45cdf7=_0x3e6ade;this[_0x45cdf7(0x257)](_0x45cdf7(0x205),_0x21dcd8);}),this[_0x3e6ade(0x1ff)](this[_0x3e6ade(0x2a8)],_0x3e6ade(0x294),()=>{const _0x30ef6e=_0x3e6ade;this[_0x30ef6e(0x2e6)]=!0x1;});const _0x501723=this[_0x3e6ade(0x249)][_0x3e6ade(0x2a2)](_0x4162a9);this[_0x3e6ade(0x1fb)]=!0x0;const _0x2f366c=await this[_0x3e6ade(0x2a8)][_0x3e6ade(0x2e3)](_0x5099f0,this[_0x3e6ade(0x27a)](_0x4162a9),_0x501723);if(this[_0x3e6ade(0x2e5)]=_0x2f366c[_0x3e6ade(0x2e5)],_0x26f9c5){if(!_0x2f366c[_0x3e6ade(0x281)])return void this[_0x3e6ade(0x272)]();this[_0x3e6ade(0x1fb)]=!0x1,this[_0x3e6ade(0x2d3)](),this[_0x3e6ade(0x2cc)][_0x3e6ade(0x234)](),this[_0x3e6ade(0x23a)]=_0x2f366c[_0x3e6ade(0x276)],this[_0x3e6ade(0x2cc)][_0x3e6ade(0x1f8)]=this[_0x3e6ade(0x23a)],await this[_0x3e6ade(0x267)](_0x4162a9,_0x2f366c,_0x3e6ade(0x1f6));}else await this[_0x3e6ade(0x254)](_0x2f366c,_0x4162a9);this[_0x3e6ade(0x2de)](),this[_0x3e6ade(0x2e6)]=!0x0;}[_0x3836e8(0x2de)](){const _0x513a97=_0x3836e8,_0x567b9d=this[_0x513a97(0x2ca)][_0x513a97(0x29b)][_0x513a97(0x288)](_0x2dc5aa),_0xbd5ae9=this[_0x513a97(0x2ca)][_0x513a97(0x29b)][_0x513a97(0x288)](_0x809ba3),_0xadc683=_0x567b9d[_0x513a97(0x24a)][_0x513a97(0x288)](this[_0x513a97(0x292)]);_0xadc683&&_0xadc683[_0x513a97(0x2d7)]>0x1?_0xbd5ae9[_0x513a97(0x253)]():this[_0x513a97(0x1ff)](_0x567b9d,_0x513a97(0x246)+this[_0x513a97(0x292)],()=>{const _0x2b9f66=_0x513a97;0x2===_0x567b9d[_0x2b9f66(0x24a)][_0x2b9f66(0x288)](this[_0x2b9f66(0x292)])[_0x2b9f66(0x2d7)]&&_0xbd5ae9[_0x2b9f66(0x253)]();});}async[_0x3836e8(0x2d8)](_0x31b042,_0x5aa532,_0x496308,_0x28796c){const _0x284eb4=_0x3836e8;if(!this[_0x284eb4(0x1fb)]&&this[_0x284eb4(0x2ec)][_0x284eb4(0x1f8)]==_0x5aa532){const _0x395d26=this[_0x284eb4(0x2c0)](_0x496308,_0x28796c);await this[_0x284eb4(0x207)](_0x395d26),this[_0x284eb4(0x2e9)](_0x395d26,_0x5aa532,_0x496308[_0x284eb4(0x2a3)])||this[_0x284eb4(0x257)](_0x284eb4(0x283));}}async[_0x3836e8(0x230)](){const _0x4a381b=_0x3836e8;this[_0x4a381b(0x25e)]();const {locale:_0x271bc5}=this[_0x4a381b(0x2ca)];let _0x48d12c;try{_0x48d12c=await this[_0x4a381b(0x2a8)][_0x4a381b(0x26c)]();}catch(_0x3ef10d){const _0x23418b=_0x4e6e58(_0x271bc5,_0x4a381b(0x2c6));return void this[_0x4a381b(0x272)](_0x23418b);}const _0x57a3c0=_0x48d12c[_0x4a381b(0x1f7)]||_0x48d12c[_0x4a381b(0x240)];if(this[_0x4a381b(0x239)]===_0x57a3c0[_0x4a381b(0x2a3)])await this[_0x4a381b(0x24e)](this[_0x4a381b(0x2ca)][_0x4a381b(0x2b3)][_0x4a381b(0x2b4)][_0x4a381b(0x256)][_0x4a381b(0x26b)](),!0x0);else{const _0x4c3e5e=_0x4e6e58(_0x271bc5,_0x4a381b(0x27c));this[_0x4a381b(0x272)](_0x4c3e5e);}}[_0x3836e8(0x25e)](){const _0x49838e=_0x3836e8;this[_0x49838e(0x2a8)][_0x49838e(0x24d)](),this[_0x49838e(0x2a9)]=[],clearTimeout(this[_0x49838e(0x2f0)]),this[_0x49838e(0x2e1)](this[_0x49838e(0x2a8)]);}[_0x3836e8(0x2f6)](_0x415bab){const _0x305c2e=_0x3836e8,_0x21f52a=this[_0x305c2e(0x2ca)][_0x305c2e(0x29b)][_0x305c2e(0x288)](_0x2dc5aa);this[_0x305c2e(0x1ff)](_0x21f52a,_0x305c2e(0x246)+this[_0x305c2e(0x292)],(_0x382f51,{session:_0x5a4837})=>{const _0x1a8736=_0x305c2e;if(_0x5a4837['id']===_0x21f52a[_0x1a8736(0x20a)]){_0x382f51[_0x1a8736(0x2bf)]();const _0x28a8c8=this[_0x1a8736(0x2ca)][_0x1a8736(0x29b)][_0x1a8736(0x1fe)](_0x1a8736(0x29c))&&this[_0x1a8736(0x2ca)][_0x1a8736(0x29b)][_0x1a8736(0x288)](_0x1a8736(0x29c));let _0x15b6ad=_0x5a4837[_0x1a8736(0x266)];_0x28a8c8&&_0x28a8c8[_0x1a8736(0x2a7)]&&(_0x15b6ad=_0x15b6ad[_0x1a8736(0x227)](_0x4909b2=>_0x1a8736(0x233)!==_0x4909b2)),this[_0x1a8736(0x2ca)][_0x1a8736(0x29b)][_0x1a8736(0x288)](_0x1a8736(0x2e8))[_0x1a8736(0x28e)](_0x15b6ad,this[_0x1a8736(0x292)]);}}),_0x21f52a[_0x305c2e(0x265)](this[_0x305c2e(0x292)],_0x415bab);}[_0x3836e8(0x1fd)](){const _0x1f4c2e=_0x3836e8,_0x12f4e1=this[_0x1f4c2e(0x2ca)][_0x1f4c2e(0x280)][_0x1f4c2e(0x23f)];this[_0x1f4c2e(0x2ca)][_0x1f4c2e(0x280)][_0x1f4c2e(0x23f)]=(..._0x42a21a)=>{const _0x171b1a=_0x1f4c2e;if(!_0x42a21a[_0x42a21a[_0x171b1a(0x2d7)]-0x1][_0x171b1a(0x284)])throw new _0x423683(_0x171b1a(0x2eb),this);_0x12f4e1[_0x171b1a(0x243)](this[_0x171b1a(0x2ca)][_0x171b1a(0x280)],_0x42a21a);};}[_0x3836e8(0x2d9)](){const _0x53f579=_0x3836e8;this[_0x53f579(0x2ca)][_0x53f579(0x280)]['on'](_0x53f579(0x248),(_0x1e901b,[_0x1ee770])=>{const _0x203563=_0x53f579;if(this[_0x203563(0x2ec)][_0x203563(0x1f8)])throw new _0x423683(_0x203563(0x2b8),this);_0x1e901b[_0x203563(0x2a0)](),this[_0x203563(0x28a)]();const _0xf1236=this[_0x203563(0x2ca)][_0x203563(0x2ea)][_0x203563(0x288)](_0x203563(0x200)),_0x17cc07=this[_0x203563(0x235)](_0x1ee770,_0xf1236);0x0==_0x17cc07[_0x203563(0x2d7)]&&_0x17cc07[_0x203563(0x20c)](new _0xd0826b(0x0)),_0x1e901b[_0x203563(0x2f3)]=this[_0x203563(0x24e)](_0x17cc07)[_0x203563(0x208)](()=>{const _0x379297=_0x203563;this[_0x379297(0x2ca)][_0x379297(0x29b)][_0x379297(0x288)](_0x1d7677)[_0x379297(0x2a6)](this),this[_0x379297(0x2ca)][_0x379297(0x280)][_0x379297(0x232)](_0x379297(0x29a));})[_0x203563(0x2b7)](_0x2d0085=>this[_0x203563(0x257)](_0x203563(0x21b),_0x2d0085))[_0x203563(0x277)](()=>this[_0x203563(0x2d3)]());},{'priority':_0x53f579(0x26e)}),this[_0x53f579(0x2ca)]['on'](_0x53f579(0x2c9),async(_0x372bbc,[_0x442372,_0x5b29c0])=>{const _0x4dfaa8=_0x53f579;_0x372bbc[_0x4dfaa8(0x2a0)]();const _0x15bc18=this[_0x4dfaa8(0x2ca)][_0x4dfaa8(0x2b3)][_0x4dfaa8(0x2b4)][_0x4dfaa8(0x215)](_0x442372);if(!this[_0x4dfaa8(0x28c)][_0x4dfaa8(0x1fe)](_0x442372)){const _0x25785a=_0x5b29c0&&_0x5b29c0[_0x4dfaa8(0x280)]?_0x5b29c0[_0x4dfaa8(0x280)]:'',_0x543c42=_0x5b29c0&&_0x5b29c0[_0x4dfaa8(0x274)]?_0x5b29c0[_0x4dfaa8(0x274)]:{};await this[_0x4dfaa8(0x2da)](_0x442372,_0x25785a,_0x543c42);}this[_0x4dfaa8(0x2ca)][_0x4dfaa8(0x2b3)][_0x4dfaa8(0x251)]({'isUndoable':!0x1},()=>{const _0x41e2ed=_0x4dfaa8;_0x15bc18[_0x41e2ed(0x279)]=!0x0,this[_0x41e2ed(0x2ca)][_0x41e2ed(0x2b3)][_0x41e2ed(0x2b4)][_0x41e2ed(0x228)][_0x41e2ed(0x25c)](_0x15bc18);});},{'priority':_0x53f579(0x26e)});}async[_0x3836e8(0x207)](_0x318d64){const _0x43d3b2=_0x3836e8,_0x3b2e35=this[_0x43d3b2(0x2ca)][_0x43d3b2(0x29b)][_0x43d3b2(0x288)](_0x257107),{connection:_0x23318b}=this[_0x43d3b2(0x2ca)][_0x43d3b2(0x29b)][_0x43d3b2(0x288)](_0x1d7677),_0x30d699=new Set();for(const _0x1187b4 of _0x318d64){const _0x2806b0=_0x1187b4[_0x43d3b2(0x29f)];_0x2806b0&&!_0x3b2e35[_0x43d3b2(0x2f1)](_0x2806b0)&&_0x30d699[_0x43d3b2(0x2dd)](_0x2806b0);}if(0x0===_0x30d699[_0x43d3b2(0x2f4)])return;const _0x4f0cb4=await _0x144546[_0x43d3b2(0x2ee)](_0x23318b,Array[_0x43d3b2(0x23b)](_0x30d699));for(const _0x14747b of _0x4f0cb4)_0x3b2e35[_0x43d3b2(0x2f1)](_0x14747b['id'])||_0x3b2e35[_0x43d3b2(0x29e)](_0x14747b);}[_0x3836e8(0x235)](_0x11c06b,_0x4dae2e={}){const _0x2c1512=_0x3836e8,_0x5cb9cf=this[_0x2c1512(0x2ca)][_0x2c1512(0x2b3)],_0x3b07a9=[];let _0x4661a3=0x0;const _0x1f00e5=_0x2c1512(0x2c5)==typeof _0x11c06b?{'main':_0x11c06b}:_0x11c06b;for(const _0x4f05c5 of Object[_0x2c1512(0x2ad)](_0x1f00e5)){if(!this[_0x2c1512(0x2ec)][_0x2c1512(0x20f)][_0x2c1512(0x1fe)](_0x4f05c5))throw new _0x423683(_0x2c1512(0x2b9),this);const _0x5413f6=this[_0x2c1512(0x2ca)][_0x2c1512(0x280)][_0x2c1512(0x21f)](_0x1f00e5[_0x4f05c5]),_0x1532ad=this[_0x2c1512(0x2ec)][_0x2c1512(0x215)](_0x4f05c5),_0x156804=new _0x4b7983(_0x5cb9cf[_0x2c1512(0x269)](_0x1532ad,0x0),_0x5413f6,_0x4661a3++);_0x3b07a9[_0x2c1512(0x20c)](_0x156804);for(const [_0x5268a2,_0x17ba03]of _0x5413f6[_0x2c1512(0x1fa)]){const _0xf41630=_0x5cb9cf[_0x2c1512(0x2be)](_0x5cb9cf[_0x2c1512(0x2e2)](_0x1532ad,_0x17ba03[_0x2c1512(0x299)][_0x2c1512(0x23d)][_0x2c1512(0x295)]()),_0x5cb9cf[_0x2c1512(0x2e2)](_0x1532ad,_0x17ba03[_0x2c1512(0x28b)][_0x2c1512(0x23d)][_0x2c1512(0x295)]())),_0x35d083=new _0x6115ec(_0x5268a2,null,_0xf41630,_0x5cb9cf[_0x2c1512(0x1fa)],!0x0,_0x4661a3++);_0x3b07a9[_0x2c1512(0x20c)](_0x35d083);}}if(_0x4dae2e)for(const [_0x3c18f3,_0x435998]of Object[_0x2c1512(0x22f)](_0x4dae2e)){const _0x4c7ce0=_0x5cb9cf[_0x2c1512(0x2b4)][_0x2c1512(0x215)](_0x3c18f3);if(!_0x4c7ce0)throw new _0x423683(_0x2c1512(0x290),null);for(const [_0x384d7f,_0x2aebe7]of Object[_0x2c1512(0x22f)](_0x435998))if(null!==_0x2aebe7){const _0x4da706=new _0x2aa5f3(_0x4c7ce0,_0x384d7f,null,_0x2aebe7,_0x4661a3++);_0x3b07a9[_0x2c1512(0x20c)](_0x4da706);}}return _0x3b07a9;}async[_0x3836e8(0x2da)](_0x2fe8cc,_0x445f49,_0x56da74){const _0x3f9f12=_0x3836e8;this[_0x3f9f12(0x235)]({[_0x2fe8cc]:_0x445f49},{[_0x2fe8cc]:_0x56da74})[_0x3f9f12(0x238)]((_0x1a5680,_0x26c5fc)=>{const _0x258860=_0x3f9f12;_0x1a5680[_0x258860(0x222)]=this[_0x258860(0x2ec)][_0x258860(0x1f8)]+_0x26c5fc,_0x1a5680[_0x258860(0x2d2)]=!0x0,this[_0x258860(0x223)](_0x1a5680);}),this[_0x3f9f12(0x24f)](),await this[_0x3f9f12(0x2cb)]();}async[_0x3836e8(0x254)](_0x3c4b43,_0x1e9450){const _0x40d0f5=_0x3836e8;let _0x178e1e;this[_0x40d0f5(0x23a)]=_0x3c4b43[_0x40d0f5(0x276)];const _0x240cbd=_0x3c4b43[_0x40d0f5(0x281)]&&!_0x3c4b43[_0x40d0f5(0x225)],_0x560133=_0x240cbd?0x0:_0x3c4b43[_0x40d0f5(0x280)][_0x40d0f5(0x222)];if(_0x1e9450[_0x40d0f5(0x238)](_0x40e994=>{const _0x584131=_0x40d0f5;_0x40e994[_0x584131(0x2d2)]=!0x0,_0x40e994[_0x584131(0x229)]=_0x3c4b43[_0x584131(0x298)],_0x40e994[_0x584131(0x29f)]=null;}),_0x240cbd)_0x178e1e=_0x1e9450,this[_0x40d0f5(0x275)](_0x178e1e,_0x240cbd);else{if(_0x3c4b43[_0x40d0f5(0x225)]){const _0x19e0d9=this[_0x40d0f5(0x235)](_0x3c4b43[_0x40d0f5(0x225)]);this[_0x40d0f5(0x2ec)][_0x40d0f5(0x256)][_0x40d0f5(0x1f8)]=-_0x19e0d9[_0x40d0f5(0x2d7)],_0x19e0d9[_0x40d0f5(0x238)](_0x17df93=>{const _0x3d1400=_0x40d0f5;_0x17df93[_0x3d1400(0x222)]-=_0x19e0d9[_0x3d1400(0x2d7)],_0x17df93[_0x3d1400(0x229)]=_0x3c4b43[_0x3d1400(0x298)],_0x17df93[_0x3d1400(0x2d2)]=!0x0,_0x17df93[_0x3d1400(0x29f)]=null;}),this[_0x40d0f5(0x275)](_0x19e0d9,!0x0),this[_0x40d0f5(0x2cc)][_0x40d0f5(0x1f8)]=-_0x19e0d9[_0x40d0f5(0x2d7)]+this[_0x40d0f5(0x23a)],this[_0x40d0f5(0x26d)](_0x19e0d9);}this[_0x40d0f5(0x2ec)][_0x40d0f5(0x256)][_0x40d0f5(0x1f8)]=_0x560133,_0x178e1e=this[_0x40d0f5(0x2c0)](_0x3c4b43[_0x40d0f5(0x280)],_0x3c4b43[_0x40d0f5(0x2a4)]),await this[_0x40d0f5(0x207)](_0x178e1e),this[_0x40d0f5(0x275)](_0x178e1e,_0x240cbd);}_0x3c4b43[_0x40d0f5(0x2a3)]&&(this[_0x40d0f5(0x249)][_0x40d0f5(0x245)](_0x178e1e,_0x3c4b43[_0x40d0f5(0x2a3)]),this[_0x40d0f5(0x239)]=_0x3c4b43[_0x40d0f5(0x2a3)]),this[_0x40d0f5(0x2cc)][_0x40d0f5(0x1f8)]=_0x560133+this[_0x40d0f5(0x23a)],this[_0x40d0f5(0x26d)](_0x178e1e),_0x1e9450[_0x40d0f5(0x227)](_0x31435a=>{const _0x154b2b=_0x40d0f5,_0x27d1b3=this[_0x154b2b(0x28f)](_0x31435a);return _0x27d1b3&&!this[_0x154b2b(0x28c)][_0x154b2b(0x1fe)](_0x27d1b3);})[_0x40d0f5(0x238)]((_0x4313e7,_0x4c4df6)=>{const _0x12b57b=_0x40d0f5;_0x4313e7[_0x12b57b(0x222)]=this[_0x12b57b(0x2ec)][_0x12b57b(0x1f8)]+_0x4c4df6,this[_0x12b57b(0x223)](_0x4313e7);}),this[_0x40d0f5(0x287)]()?(this[_0x40d0f5(0x278)]=0x0,this[_0x40d0f5(0x24f)](!0x0),await this[_0x40d0f5(0x2cb)]()):(this[_0x40d0f5(0x1fb)]=!0x1,this[_0x40d0f5(0x2d3)]());}[_0x3836e8(0x257)](_0x4bc63f,_0x188152){const _0x23e75d=_0x3836e8,_0x1f4c05=_0x188152&&_0x188152[_0x23e75d(0x2b6)];if(_0x1f4c05&&_0x1f4c05[_0x23e75d(0x2c7)](_0x23e75d(0x28d)))throw _0x188152;const _0x22f78e=this[_0x23e75d(0x2ca)][_0x23e75d(0x29b)][_0x23e75d(0x288)](_0x1d7677);throw this[_0x23e75d(0x1fb)]=!0x0,_0x22f78e[_0x23e75d(0x24d)](),this[_0x23e75d(0x2ca)][_0x23e75d(0x264)](_0x23e75d(0x2c8)),new _0x423683(_0x4bc63f,this[_0x23e75d(0x2ca)],_0x1f4c05?{'originalError':_0x1f4c05}:void 0x0);}[_0x3836e8(0x223)](_0x17cf11){const _0x4ad3af=_0x3836e8;this[_0x4ad3af(0x250)][_0x4ad3af(0x1fe)](_0x17cf11)||(this[_0x4ad3af(0x250)][_0x4ad3af(0x2dd)](_0x17cf11),this[_0x4ad3af(0x2a9)][_0x4ad3af(0x20c)](_0x17cf11),this[_0x4ad3af(0x26f)]||_0x4ad3af(0x206)==_0x17cf11[_0x4ad3af(0x25b)]&&!_0x17cf11[_0x4ad3af(0x22b)]||this[_0x4ad3af(0x28a)]());}[_0x3836e8(0x24f)](_0x22f0bd=!0x1){const _0x35c944=_0x3836e8;!_0x22f0bd&&this[_0x35c944(0x1fb)]||(this[_0x35c944(0x1fb)]=!0x0,clearTimeout(this[_0x35c944(0x2f0)]),this[_0x35c944(0x2f0)]=setTimeout(()=>{const _0x588d33=_0x35c944;this[_0x588d33(0x2aa)]()[_0x588d33(0x208)](_0x3e0da8=>{const _0x5aca96=_0x588d33;_0x3e0da8&&(this[_0x5aca96(0x2d3)](),this[_0x5aca96(0x1fb)]=!0x1);})[_0x588d33(0x2b7)](_0x4e0c47=>{const _0x4b0fc3=_0x588d33;this[_0x4b0fc3(0x2d3)](),this[_0x4b0fc3(0x1fb)]=!0x1,function(_0xd736a){const _0x574424=_0x4b0fc3;return _0xd736a[_0x574424(0x2b6)][_0x574424(0x2c7)](_0x574424(0x261))||_0xd736a[_0x574424(0x2b6)][_0x574424(0x2c7)](_0x574424(0x258))||_0xd736a[_0x574424(0x2b6)][_0x574424(0x2c7)](_0x574424(0x23e));}(_0x4e0c47)||this[_0x4b0fc3(0x257)](_0x4e0c47[_0x4b0fc3(0x2b6)],_0x4e0c47);});},this[_0x35c944(0x278)]));}[_0x3836e8(0x2cb)](){return new Promise(_0xc7b85d=>{const _0x54f397=_0x1b1b;this['on'](_0x54f397(0x2d6),()=>{_0xc7b85d();});});}async[_0x3836e8(0x2aa)](){const _0xbdcdc8=_0x3836e8,_0x2cde6b=this[_0xbdcdc8(0x2ca)][_0xbdcdc8(0x29b)][_0xbdcdc8(0x288)](_0x809ba3);if(this[_0xbdcdc8(0x2c2)]()&&(_0x2cde6b[_0xbdcdc8(0x253)](),this[_0xbdcdc8(0x22e)]=!0x1),!this[_0xbdcdc8(0x287)]())return!0x0;const _0x177ea3=[...this[_0xbdcdc8(0x2a9)]];for(const _0x5ab697 of _0x177ea3)_0x5ab697[_0xbdcdc8(0x296)]=this[_0xbdcdc8(0x2ec)][_0xbdcdc8(0x256)][_0xbdcdc8(0x2d1)](_0x5ab697);const _0x2d6725=this[_0xbdcdc8(0x249)][_0xbdcdc8(0x2a2)](_0x177ea3),_0x2f767a=F++,_0x2cfaae=this[_0xbdcdc8(0x27a)](_0x177ea3),_0x53624e=await this[_0xbdcdc8(0x2a8)][_0xbdcdc8(0x2af)](_0x2cfaae,_0x2cfaae[_0xbdcdc8(0x222)],_0x2d6725);try{return await this[_0xbdcdc8(0x267)](_0x177ea3,_0x53624e,_0x2f767a);}catch(_0x4573c2){return this[_0xbdcdc8(0x257)](_0xbdcdc8(0x2e7),_0x4573c2);}}async[_0x3836e8(0x267)](_0x205b74,_0x1ba4d0,_0x5cc235){const _0x24e16a=_0x3836e8;if(_0x24e16a(0x21a)in _0x1ba4d0)throw _0x1ba4d0[_0x24e16a(0x21a)];let _0x3dd7f9=!0x1;if(_0x1ba4d0[_0x24e16a(0x281)]){_0x1ba4d0[_0x24e16a(0x2a3)]&&(this[_0x24e16a(0x239)]=_0x1ba4d0[_0x24e16a(0x2a3)]),this[_0x24e16a(0x2a9)]=this[_0x24e16a(0x2a9)][_0x24e16a(0x227)](_0x1d134b=>!_0x205b74[_0x24e16a(0x2ce)](_0x1d134b));for(const _0x3cf743 of _0x205b74)_0x3cf743[_0x24e16a(0x229)]=_0x24e16a(0x244)in _0x1ba4d0&&_0x1ba4d0[_0x24e16a(0x244)]||void 0x0;G(_0x205b74,_0x1ba4d0[_0x24e16a(0x1f8)]-_0x205b74[_0x24e16a(0x2d7)]),this[_0x24e16a(0x26d)](_0x205b74);const _0x3266e7=_0x205b74[_0x24e16a(0x227)](_0x5ee524=>{const _0x5c9ab3=_0x24e16a;if(!_0x5ee524[_0x5c9ab3(0x2d2)])return!0x1;const _0x5d2d46=this[_0x5c9ab3(0x28f)](_0x5ee524);return _0x5d2d46&&!this[_0x5c9ab3(0x28c)][_0x5c9ab3(0x1fe)](_0x5d2d46);});G(_0x3266e7,this[_0x24e16a(0x2ec)][_0x24e16a(0x1f8)]),this[_0x24e16a(0x275)](_0x3266e7),_0x3dd7f9=!0x0,this[_0x24e16a(0x278)]=this[_0x24e16a(0x211)];}else{const _0x11fe7c=this[_0x24e16a(0x2c0)](_0x1ba4d0[_0x24e16a(0x280)],_0x1ba4d0[_0x24e16a(0x2a4)])[_0x24e16a(0x227)](_0x30dafa=>_0x30dafa[_0x24e16a(0x222)]>=this[_0x24e16a(0x209)]);_0x11fe7c[_0x24e16a(0x238)](_0x5c097d=>this[_0x24e16a(0x2bb)](_0x5c097d)),this[_0x24e16a(0x2a9)]=this[_0x24e16a(0x2a9)][_0x24e16a(0x227)](_0x5dde54=>!_0x5dde54[_0x24e16a(0x2d2)]||!this[_0x24e16a(0x28c)][_0x24e16a(0x1fe)](this[_0x24e16a(0x28f)](_0x5dde54))),this[_0x24e16a(0x2a9)][_0x24e16a(0x2d7)]&&G(this[_0x24e16a(0x2a9)],this[_0x24e16a(0x2a9)][0x0][_0x24e16a(0x222)]),await this[_0x24e16a(0x207)](_0x11fe7c),_0x3dd7f9=this[_0x24e16a(0x2e9)](_0x11fe7c,_0x1ba4d0[_0x24e16a(0x1f8)],_0x1ba4d0[_0x24e16a(0x2a3)]),this[_0x24e16a(0x278)]=Math[_0x24e16a(0x2db)](this[_0x24e16a(0x278)]/0x2);}return _0x3dd7f9?!this[_0x24e16a(0x287)]()||(this[_0x24e16a(0x24f)](!0x0),!0x1):this[_0x24e16a(0x257)](_0x24e16a(0x27e));}[_0x3836e8(0x2e9)](_0x46b4c5,_0x53f06d,_0x2cf260){const _0x23ab5f=_0x3836e8;try{const _0x27f32a={'document':this[_0x23ab5f(0x2ec)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x25a15d,operationsB:_0x583277,originalOperations:_0x2d4917}=_0x4b6ef6(_0x46b4c5,this[_0x23ab5f(0x2a9)],_0x27f32a);G(_0x25a15d,this[_0x23ab5f(0x2ec)][_0x23ab5f(0x1f8)]),G(_0x583277,_0x53f06d);for(const _0x3e940a of _0x25a15d){const _0x1d9583=_0x2d4917[_0x23ab5f(0x288)](_0x3e940a);_0x3e940a[_0x23ab5f(0x29f)]=_0x1d9583?_0x1d9583[_0x23ab5f(0x29f)]:null;}_0x2cf260&&(this[_0x23ab5f(0x249)][_0x23ab5f(0x245)](_0x46b4c5,_0x2cf260),this[_0x23ab5f(0x239)]=_0x2cf260),this[_0x23ab5f(0x2a9)]=[..._0x583277],this[_0x23ab5f(0x275)](_0x25a15d),this[_0x23ab5f(0x26d)](_0x46b4c5);}catch(_0x2dddab){return console[_0x23ab5f(0x21a)](_0x2dddab),!0x1;}return!0x0;}[_0x3836e8(0x275)](_0x34ffd2,_0x553e87=!0x1){const _0x446552=_0x3836e8;this[_0x446552(0x2ca)][_0x446552(0x2b3)][_0x446552(0x251)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5e1040=>{const _0x46b146=_0x446552;for(const _0x36b894 of _0x34ffd2)this[_0x46b146(0x250)][_0x46b146(0x2dd)](_0x36b894),this[_0x46b146(0x2bb)](_0x36b894),_0x5e1040[_0x46b146(0x2d0)][_0x46b146(0x1f9)](_0x36b894),this[_0x46b146(0x2ca)][_0x46b146(0x2b3)][_0x46b146(0x1f3)](_0x36b894);});}[_0x3836e8(0x2bb)](_0xfdb5a7){const _0x4d99eb=_0x3836e8,_0x523a9a=this[_0x4d99eb(0x28f)](_0xfdb5a7);_0x523a9a&&this[_0x4d99eb(0x28c)][_0x4d99eb(0x2dd)](_0x523a9a);}[_0x3836e8(0x28f)](_0x28f84a){const _0x2223b5=_0x3836e8;let _0x2f885e,_0x1f79c7;switch(_0x28f84a[_0x2223b5(0x25b)]){case _0x2223b5(0x218):_0x2f885e=_0x28f84a[_0x2223b5(0x2df)][_0x2223b5(0x1f2)];break;case _0x2223b5(0x206):if(_0x1f79c7=_0x28f84a[_0x2223b5(0x273)],!_0x1f79c7)return null;_0x2f885e=_0x1f79c7[_0x2223b5(0x1f2)];break;case _0x2223b5(0x2bc):_0x2f885e=_0x28f84a[_0x2223b5(0x1f2)];break;case _0x2223b5(0x2ed):_0x2f885e=_0x28f84a[_0x2223b5(0x25f)];break;case _0x2223b5(0x1f1):_0x2f885e=_0x28f84a[_0x2223b5(0x1f5)][_0x2223b5(0x1f2)];break;default:return null;}return _0x2f885e[_0x2223b5(0x217)];}[_0x3836e8(0x26d)](_0x441fe3){const _0x1b6752=_0x3836e8;_0x441fe3[_0x1b6752(0x238)](_0xaf4420=>{const _0x4dd61a=_0x1b6752,_0x36c04a=_0xaf4420[_0x4dd61a(0x2ab)]();_0x36c04a[_0x4dd61a(0x29f)]=_0xaf4420[_0x4dd61a(0x29f)],_0x36c04a[_0x4dd61a(0x2d2)]=!!_0xaf4420[_0x4dd61a(0x2d2)],_0x36c04a[_0x4dd61a(0x229)]=_0xaf4420[_0x4dd61a(0x229)],_0x36c04a[_0x4dd61a(0x222)]+=this[_0x4dd61a(0x23a)],_0xaf4420[_0x4dd61a(0x27f)]&&this[_0x4dd61a(0x237)][_0x4dd61a(0x2dd)](_0x36c04a),this[_0x4dd61a(0x2cc)][_0x4dd61a(0x1f9)](_0x36c04a);});}[_0x3836e8(0x272)](_0x4559db){const _0x4df5d5=_0x3836e8,_0x18873e=this[_0x4df5d5(0x2ca)][_0x4df5d5(0x29b)][_0x4df5d5(0x288)](_0x4df5d5(0x262)),_0x5ed2f3=this[_0x4df5d5(0x2ca)][_0x4df5d5(0x226)];_0x4559db||(_0x4559db=_0x4e6e58(_0x5ed2f3,_0x4df5d5(0x2cf))),_0x18873e[_0x4df5d5(0x282)](_0x4559db,{'title':_0x4e6e58(_0x5ed2f3,_0x4df5d5(0x259)),'namespace':_0x4df5d5(0x2f2)}),this[_0x4df5d5(0x2ae)]=!0x0,clearTimeout(this[_0x4df5d5(0x2f0)]),this[_0x4df5d5(0x2a9)]=[],this[_0x4df5d5(0x2ca)][_0x4df5d5(0x29b)][_0x4df5d5(0x288)](_0x1d7677)[_0x4df5d5(0x24d)]();}[_0x3836e8(0x28a)](){const _0x4b8843=_0x3836e8;this[_0x4b8843(0x26f)]||(this[_0x4b8843(0x26f)]=this[_0x4b8843(0x2ca)][_0x4b8843(0x29b)][_0x4b8843(0x288)](_0x2c0db0)[_0x4b8843(0x2dd)](_0x4e6e58(this[_0x4b8843(0x2ca)][_0x4b8843(0x226)],_0x4b8843(0x2c1))));}[_0x3836e8(0x2d3)](){const _0x5a3769=_0x3836e8;this[_0x5a3769(0x26f)]&&(this[_0x5a3769(0x2ca)][_0x5a3769(0x29b)][_0x5a3769(0x288)](_0x2c0db0)[_0x5a3769(0x24c)](this[_0x5a3769(0x26f)]),this[_0x5a3769(0x26f)]=null);}[_0x3836e8(0x27a)](_0x240f99){const _0x4cdb4f=_0x3836e8,_0xc57f89=_0x240f99[_0x4cdb4f(0x1fc)](_0x4807f5=>_0x4807f5[_0x4cdb4f(0x231)]());return this[_0x4cdb4f(0x2e0)][_0x4cdb4f(0x2c3)](_0xc57f89);}[_0x3836e8(0x2c0)](_0x2bccd7,_0x362176){const _0x430ae9=_0x3836e8;return this[_0x430ae9(0x2e0)][_0x430ae9(0x2c4)](_0x2bccd7)[_0x430ae9(0x1fc)]((_0x3425ad,_0x4637c2)=>{const _0x3309b0=_0x430ae9,_0x3475a2=_0x3309b0(0x248)==_0x362176[_0x4637c2][_0x3309b0(0x25b)];if(_0x3309b0(0x21e)==_0x3425ad[_0x3309b0(0x219)]){const _0x4a6808=_0x3425ad[_0x3309b0(0x2df)][_0x3309b0(0x1f2)];!this[_0x3309b0(0x2ec)][_0x3309b0(0x215)](_0x4a6808)&&(this[_0x3309b0(0x2ec)][_0x3309b0(0x213)](_0x3309b0(0x20b),_0x4a6808)[_0x3309b0(0x242)]=!0x1);}const _0x492914=_0x21590b[_0x3309b0(0x291)](_0x3425ad,this[_0x3309b0(0x2ec)]);return _0x492914[_0x3309b0(0x296)]=_0x3425ad[_0x3309b0(0x296)],_0x492914[_0x3309b0(0x2d2)]=_0x3475a2,_0x492914[_0x3309b0(0x29f)]=_0x3475a2?null:_0x362176[_0x4637c2][_0x3309b0(0x27d)],_0x492914[_0x3309b0(0x27f)]=_0x3309b0(0x25d)===_0x362176[_0x4637c2][_0x3309b0(0x25b)],_0x492914[_0x3309b0(0x229)]=_0x362176[_0x4637c2][_0x3309b0(0x229)],_0x492914;});}[_0x3836e8(0x214)](){const _0x2ff4d2=_0x3836e8;this[_0x2ff4d2(0x22e)]=!0x0,this[_0x2ff4d2(0x2c2)]()?this[_0x2ff4d2(0x24f)]():this[_0x2ff4d2(0x22e)]=!0x1;}[_0x3836e8(0x2c2)](){const _0x1246ef=_0x3836e8,_0x159463=this[_0x1246ef(0x2ca)][_0x1246ef(0x29b)][_0x1246ef(0x288)](_0x2dc5aa)[_0x1246ef(0x24a)][_0x1246ef(0x288)](this[_0x1246ef(0x292)]);return!this[_0x1246ef(0x2ca)][_0x1246ef(0x255)]&&!!_0x159463&&_0x159463[_0x1246ef(0x2d7)]>0x1&&this[_0x1246ef(0x22e)];}[_0x3836e8(0x287)](){const _0x1169de=_0x3836e8;return this[_0x1169de(0x2a9)][_0x1169de(0x2d7)]>0x0||this[_0x1169de(0x2c2)]();}}export default l;class q extends Error{}function G(_0x5a1472,_0x40c3f2){const _0x2684e3=_0x3836e8;for(const _0x6f4fe1 of _0x5a1472)_0x6f4fe1[_0x2684e3(0x222)]=_0x40c3f2++;}function _0x4db2(){const _0xc01e77=['parse','getOperationAuthor','6XXokmw','baseVersion','_saveOperationInBuffer','2hDZiKv','initData','locale','filter','differ','createdAt','229265ulSJoS','affectsData','requires','selection','_hasSelectionChanged','entries','_connectAfterSessionHasBeenFlushed','toJSON','fire','document:write','reset','_getOperationsFromInitData','disableReadOnlyMode','_disconnectionOperations','forEach','_lastSyncedOperationId','_offset','from','change:range','path','cloud-services-internal-error:\x20Request\x20timeout.','set','lastDocumentSession','_isEditingAllowed','_isAttached','apply','lastOperationAcceptedAt','setIdForTheLastOperation','sessionAdd:','getConnectedSessions','init','_operationIdentifier','channelSessions','realtimecollaborationclient-init-session-connection-error','remove','disconnect','_connectService','_sendBufferedOperationsDelayed','_knownOperations','enqueueChange','connection','createUserMarkerOperations','_handleInitialConnectionData','isReadOnly','history','_crash','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','Synchronization\x20issue','operationsReceived','type','_bufferRootLoad','cs:removeUser','_disconnectService','affectedSelectable','unregister','cloud-services-internal-error:\x20Not\x20connected.','Notification','collaboration','enableReadOnlyMode','register','permissions','_handleServerResponse','436932JEndjY','createPositionAt','409','getOperations','getDocumentDetails','_updateServerHistory','high','_pendingAction','2134490yxfZoX','14wGNdZI','_handleReconnectionError','newRange','attributes','_applyOperationsSet','offset','finally','_currentBufferDelay','_isLoaded','_compressOperations','isPremiumPlugin','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.','userId','realtimecollaborationclient-handleserverresponse','_isDisconnection','data','wereChangesApplied','showWarning','realtimecollaborationclient-init-service-incorrect-server-operation','suppressErrorInCollaboration','cloudDocumentVersion','bind','_shouldSendUpdate','get','state','_setPendingAction','end','_knownRootNames','realtimecollaborationclient','setPermissions','_getAffectedRoot','multi-root-editor-root-attributes-no-root','fromJSON','_channelId','CollaborativeEditingService','disconnected','slice','wasUndone','_handleReconnectionResponse','sessionCreatedAt','start','ready','plugins','CommentsOnly','editing','addUser','_authorId','stop','1494648ftzpqK','getIdOfTheLastOperation','lastOperationId','metadata','connected','addToReconnectionStack','isEnabled','_service','_bufferedOperations','_sendBufferedOperations','clone','rtc-destroyed','keys','_hasSynchronizationProblem','sendOperations','code','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','732429kVTDvD','model','document','_ignoredOperations','message','catch','realtimecollaborationclient-init-document-already-initialized','realtimecollaborationclient-init-non-existent-root','view','_addKnownRoot','addRootAttribute','404','createRange','off','_decompressOperations','PENDING_ACTION_SENDING_DATA','_shouldSendSelectionUpdate','compress','decompress','string','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','startsWith','realtimecollaborationclient-error','loadRoot','editor','_waitUntilSynced','serverHistory','collaboration-missing-channelid','includes','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.','batch','isUndoneOperation','_isInit','_clearPendingAction','reconnect','directChange','change:_isPendingUpdate','length','_handleReceivedOperations','_setUpDataInit','_loadRoot','round','30Jldizs','add','_handleSendingSelectionMarkers','position','_compressor','stopListening','createPositionFromPath','connect','destroy','sessionId','_isConnected','realtimecollaborationclient-sendbufferedoperations','Permissions','_handleExternalOperations','config','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_document','addRoot','getMany','lastSyncVersion','_sendBufferedOperationsDelayId','getUser','real-time-collaboration','return','size','795978DtQChs','_initSessionsHandling','define','move','root','applyOperation','isOfficialPlugin','targetPosition','reconnection:\x20flushed\x20session','currentDocumentSession','version','addOperation','markers','_isPendingUpdate','map','_initThrowingOnDataSet','has','listenTo','rootsAttributes','_operationToId','RealTimeCollaborationClient','change:_isEditingAllowed','5318852JwRNmm','realtimecollaborationclient-init-service-internal-error','marker','_fetchMissingUsers','then','_lastServerVersion','mySessionId','$root','push','removeFromReconnectionStack','isDocumentOperation','roots','collaboration.channelId','_baseBufferDelay','rtc-offline','createRoot','_refreshUserSelectionMarkers','getRoot','pluginName','rootName','insert','__className','error','realtimecollaborationclient-init-connection-failed','cloudServices.bundleVersion','change:hasDomSelection','InsertOperation'];_0x4db2=function(){return _0xc01e77;};return _0x4db2();}class ${[_0x3836e8(0x2b5)];[_0x3836e8(0x201)];constructor(_0x3a0431){const _0x3e7b22=_0x3836e8;this[_0x3e7b22(0x2b5)]=_0x3a0431,this[_0x3e7b22(0x201)]=new WeakMap();}[_0x3836e8(0x2a2)](_0xe2508a){const _0x3acd2a=_0x3836e8;let _0xdc4364=_0xe2508a[_0x3acd2a(0x2d7)];for(;_0xdc4364--;){const _0xfafaad=_0xe2508a[_0xdc4364];if(!this[_0x3acd2a(0x2b5)][_0x3acd2a(0x1fe)](_0xfafaad)){if(!this[_0x3acd2a(0x201)][_0x3acd2a(0x1fe)](_0xfafaad)){const _0x206a81=_0xe7ab06()[_0x3acd2a(0x295)](0x1,0x12);this[_0x3acd2a(0x201)][_0x3acd2a(0x23f)](_0xfafaad,_0x206a81);}return this[_0x3acd2a(0x201)][_0x3acd2a(0x288)](_0xfafaad);}}}[_0x3836e8(0x245)](_0x53891e,_0x1ebe1b){const _0x55439a=_0x3836e8;if(!_0x1ebe1b)return;let _0xa1c75a=_0x53891e[_0x55439a(0x2d7)];for(;_0xa1c75a--;){const _0x3286d4=_0x53891e[_0xa1c75a];this[_0x55439a(0x2b5)][_0x55439a(0x1fe)](_0x3286d4)||this[_0x55439a(0x201)][_0x55439a(0x23f)](_0x3286d4,_0x1ebe1b);}}}
|
|
23
|
+
function _0x45f9(){const _0x1dd303=['RealTimeCollaborationClient','_bufferRootLoad','locale','realtimecollaborationclient-handleserverresponse','stop','_bufferedOperations','error','260229xrGDsk','editing','Synchronization\x20issue','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.','listenTo','filter','_isAttached','toJSON','directChange','realtimecollaborationclient-init-non-existent-root','_isConnected','code','finally','_addKnownRoot','define','model','reconnection:\x20flushed\x20session','targetPosition','_channelId','_disconnectionOperations','off','createUserMarkerOperations','change:range','rootName','_handleSendingSelectionMarkers','createPositionFromPath','rootsAttributes','newRange','string','realtimecollaborationclient','addRootAttribute','_currentBufferDelay','document:write','_service','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_initSessionsHandling','connected','_knownOperations','suppressErrorInCollaboration','CommentsOnly','initData','realtimecollaborationclient-init-document-already-initialized','_handleReconnectionResponse','compress','_shouldSendSelectionUpdate','lastDocumentSession','affectsData','forEach','_handleExternalOperations','bind','currentDocumentSession','_shouldSendUpdate','register','createRoot','roots','_compressor','_operationToId','getConnectedSessions','editor','_isDisconnection','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','8GukcxQ','markers','lastSyncVersion','_sendBufferedOperationsDelayed','_handleServerResponse','slice','realtimecollaborationclient-sendbufferedoperations','PENDING_ACTION_SENDING_DATA','destroy','differ','change:hasDomSelection','realtimecollaborationclient-init-session-connection-error','includes','_clearPendingAction','_offset','decompress','apply','cloudDocumentVersion','size','start','showWarning','_decompressOperations','applyOperation','affectedSelectable','_connectAfterSessionHasBeenFlushed','1602202xYQJuA','length','catch','_hasSynchronizationProblem','rtc-destroyed','removeFromReconnectionStack','reconnect','getUser','parse','_compressOperations','Notification','_handleInitialConnectionData','sessionAdd:','$root','409','_connectService','_baseBufferDelay','attributes','isPremiumPlugin','type','cloud-services-internal-error:\x20Not\x20connected.','return','remove','addToReconnectionStack','has','addUser','end','cloudServices.bundleVersion','version','_knownRootNames','disableReadOnlyMode','add','InsertOperation','stopListening','_updateServerHistory','collaboration','collaboration.channelId','connect','_ignoredOperations','data','_getOperationsFromInitData','multi-root-editor-root-attributes-no-root','lastOperationId','Permissions','requires','offset','unregister','getRoot','404','3896166wqScOs','getOperationAuthor','plugins','_setUpDataInit','lastOperationAcceptedAt','map','CollaborativeEditingService','isOfficialPlugin','change:_isPendingUpdate','_pendingAction','realtimecollaborationclient-init-service-incorrect-server-operation','cs:removeUser','state','permissions','realtimecollaborationclient-init-service-internal-error','get','_sendBufferedOperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','metadata','_isPendingUpdate','createRange','realtimecollaborationclient-init-connection-failed','createPositionAt','_disconnectService','_fetchMissingUsers','wasUndone','reset','path','_isLoaded','entries','_getAffectedRoot','7662123WAqVhm','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_isInit','wereChangesApplied','getMany','isUndoneOperation','real-time-collaboration','sendOperations','loadRoot','baseVersion','_authorId','insert','_handleReceivedOperations','push','3592252CsdmML','realtimecollaborationclient-error','isReadOnly','getDocumentDetails','view','_document','getIdOfTheLastOperation','_sendBufferedOperationsDelayId','channelSessions','userId','16gQHIdx','_initThrowingOnDataSet','sessionCreatedAt','rtc-offline','isDocumentOperation','_isEditingAllowed','ready','high','move','set','config','_lastSyncedOperationId','sessionId','374109fkUVvW','isEnabled','fire','_refreshUserSelectionMarkers','disconnected','connection','collaboration-missing-channelid','_handleReconnectionError','batch','clone','setPermissions','history','startsWith','_setPendingAction','addOperation','disconnect','serverHistory','fromJSON','then','_crash','_lastServerVersion','selection','change:_isEditingAllowed','from','init','_waitUntilSynced','operationsReceived','pluginName','mySessionId','addRoot','_saveOperationInBuffer','enableReadOnlyMode','_hasSelectionChanged','round','message','document','keys','setIdForTheLastOperation','marker','cloud-services-internal-error:\x20Request\x20timeout.','_applyOperationsSet','__className','position','getOperations','createdAt','1757545wJYgiu','root','_loadRoot','enqueueChange','_operationIdentifier','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.'];_0x45f9=function(){return _0x1dd303;};return _0x45f9();}const _0x257c21=_0x2fe9;(function(_0x5d35e3,_0x4720f4){const _0x3c5535=_0x2fe9,_0x1594a7=_0x5d35e3();while(!![]){try{const _0x798204=parseInt(_0x3c5535(0x198))/0x1+-parseInt(_0x3c5535(0x151))/0x2*(-parseInt(_0x3c5535(0x15e))/0x3)+parseInt(_0x3c5535(0x147))/0x4+-parseInt(_0x3c5535(0x18b))/0x5+-parseInt(_0x3c5535(0x11a))/0x6+parseInt(_0x3c5535(0xe9))/0x7+-parseInt(_0x3c5535(0xd0))/0x8*(parseInt(_0x3c5535(0x139))/0x9);if(_0x798204===_0x4720f4)break;else _0x1594a7['push'](_0x1594a7['shift']());}catch(_0xf499a6){_0x1594a7['push'](_0x1594a7['shift']());}}}(_0x45f9,0x82069));import{Plugin as _0x4e7fff,PendingActions as _0x10be10}from'ckeditor5/src/core.js';import{CKEditorError as _0x331196,version as _0x2f097,uid as _0x6ddd65}from'ckeditor5/src/utils.js';import{Notification as _0x1c411f}from'ckeditor5/src/ui.js';import{transformSets as _0x4adb24,NoOperation as _0x123937,InsertOperation as _0x23ff36,MarkerOperation as _0x10fa71,RootAttributeOperation as _0x966fff,OperationFactory as _0x2c72da,History as _0x111989}from'ckeditor5/src/engine.js';import _0x181154 from'./websocketgateway.js';import _0x27458b from'./sessions.js';import _0x1021b6 from'./usermarkers.js';import{getTranslation as _0x451038}from'../common-translations.js';import{Compressor as _0x2cd0e2}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xc8359}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x27efcd,CollaborativeEditingService as _0x6863df}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;class l extends _0x4e7fff{static [_0x257c21(0x120)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x6863df)());[_0x257c21(0xde)];[_0x257c21(0x15d)];[_0x257c21(0x16e)];[_0x257c21(0x1aa)];[_0x257c21(0x1b9)];[_0x257c21(0x14c)];[_0x257c21(0xca)];[_0x257c21(0x196)];[_0x257c21(0x1bd)];[_0x257c21(0x106)];[_0x257c21(0x123)];[_0x257c21(0x17e)];[_0x257c21(0x14e)];[_0x257c21(0xf9)];[_0x257c21(0x1b7)];[_0x257c21(0x15c)];[_0x257c21(0x1ab)];[_0x257c21(0x18f)];static get[_0x257c21(0x115)](){return[_0x181154,_0x27458b,_0x1021b6,_0x10be10,_0xc8359,_0x1c411f];}static get[_0x257c21(0x179)](){const _0x11ce23=_0x257c21;return _0x11ce23(0x191);}static get[_0x257c21(0x121)](){return!0x0;}static get[_0x257c21(0xfb)](){return!0x0;}get[_0x257c21(0xe1)](){const _0x16e920=_0x257c21;return this[_0x16e920(0x172)]+this[_0x16e920(0xde)];}get[_0x257c21(0x172)](){const _0x5461d7=_0x257c21;return this[_0x5461d7(0x16e)][_0x5461d7(0x105)]-this[_0x5461d7(0xde)];}get[_0x257c21(0xd2)](){const _0x257609=_0x257c21,_0x2d5155=this[_0x257609(0x16e)][_0x257609(0x189)]();for(let _0x4d8055=_0x2d5155[_0x257609(0xea)]-0x1;_0x4d8055>=0x0;_0x4d8055--){const _0x218e26=_0x2d5155[_0x4d8055];if(!this[_0x257609(0x1ab)][_0x257609(0x101)](_0x218e26))return _0x218e26[_0x257609(0x142)]+0x1-this[_0x257609(0xde)];}return 0x0;}constructor(_0x2d774e){const _0x1d9be6=_0x257c21;if(super(_0x2d774e),this[_0x1d9be6(0xde)]=0x0,this[_0x1d9be6(0x15d)]=null,this[_0x1d9be6(0x16e)]=new _0x111989(),this[_0x1d9be6(0xcd)][_0x1d9be6(0x15b)][_0x1d9be6(0x1a6)](_0x1d9be6(0x10c),{}),this[_0x1d9be6(0x1aa)]=this[_0x1d9be6(0xcd)][_0x1d9be6(0x15b)][_0x1d9be6(0x129)](_0x1d9be6(0x10d)),!this[_0x1d9be6(0x1aa)])throw new _0x331196(_0x1d9be6(0x164),this);const _0x5b2d2a=_0x2d774e[_0x1d9be6(0x15b)][_0x1d9be6(0x129)](_0x1d9be6(0x104))||_0x2f097;this[_0x1d9be6(0x1b9)]=new l[(_0x1d9be6(0x120))](_0x5b2d2a,this[_0x1d9be6(0x1aa)]),this[_0x1d9be6(0x14c)]=this[_0x1d9be6(0xcd)][_0x1d9be6(0x1a7)][_0x1d9be6(0x181)],this[_0x1d9be6(0xca)]=new _0x2cd0e2(),this[_0x1d9be6(0x196)]=[],this[_0x1d9be6(0x1bd)]=new WeakSet(),this[_0x1d9be6(0x106)]=new Set(),this[_0x1d9be6(0x15a)](_0x1d9be6(0x12d),!0x1),this[_0x1d9be6(0x15a)](_0x1d9be6(0xec),!0x1),this[_0x1d9be6(0x123)]=null,this[_0x1d9be6(0x17e)]=!0x1,this[_0x1d9be6(0x14e)]=null,this[_0x1d9be6(0xf9)]=0x12c,this[_0x1d9be6(0x1b7)]=this[_0x1d9be6(0xf9)],this[_0x1d9be6(0x15c)]=null,this[_0x1d9be6(0x1ab)]=new WeakSet(),this[_0x1d9be6(0x18f)]=new Y(this[_0x1d9be6(0x1ab)]);}[_0x257c21(0x176)](){const _0x329b42=_0x257c21,_0x521dbf=this[_0x329b42(0xcd)],_0xae3128=_0x521dbf[_0x329b42(0x11c)][_0x329b42(0x129)](_0xc8359),_0x5914a5=_0x521dbf[_0x329b42(0x11c)][_0x329b42(0x129)](_0x181154);this[_0x329b42(0x19c)](_0xae3128,_0x329b42(0x11b),(_0x5b968a,_0x309a0d)=>{const _0xb3fc00=_0x329b42,_0x206e74=_0x309a0d[0x0];_0x206e74[_0xb3fc00(0x143)]&&(_0x5b968a[_0xb3fc00(0xfe)]=_0xae3128[_0xb3fc00(0xf0)](_0x206e74[_0xb3fc00(0x143)]),_0x5b968a[_0xb3fc00(0x195)]()),null===_0x206e74[_0xb3fc00(0x143)]&&(_0x5b968a[_0xb3fc00(0xfe)]=null,_0x5b968a[_0xb3fc00(0x195)]());},{'priority':_0x329b42(0x158)}),this[_0x329b42(0x19c)](_0x521dbf[_0x329b42(0x1a7)][_0x329b42(0x181)][_0x329b42(0x173)],_0x329b42(0x1ae),(_0x32f43d,_0x5a0047)=>{const _0x3915c2=_0x329b42;_0x5a0047[_0x3915c2(0x1a0)]&&this[_0x3915c2(0x161)]();}),this[_0x329b42(0x19c)](_0x521dbf[_0x329b42(0x199)][_0x329b42(0x14b)],_0x329b42(0xda),()=>{const _0x311c2c=_0x329b42;this[_0x311c2c(0x161)]();}),this[_0x329b42(0x152)](),_0x521dbf[_0x329b42(0x1a7)]['on'](_0x329b42(0xe6),(_0x5b5da1,_0x1c36bc)=>{const _0x26d59d=_0x329b42,_0x34e37a=_0x1c36bc[0x0];_0x34e37a[_0x26d59d(0x155)]&&(this[_0x26d59d(0x17c)](_0x34e37a),this[_0x26d59d(0xc6)]()&&this[_0x26d59d(0xd3)]());}),this[_0x329b42(0x11d)](),this[_0x329b42(0xc4)](_0x329b42(0x156))['to'](_0x5914a5,_0x329b42(0x126),this,_0x329b42(0xec),(_0x4c7204,_0x4a1572)=>_0x329b42(0x1bc)===_0x4c7204&&!_0x4a1572),this['on'](_0x329b42(0x174),()=>{const _0x823519=_0x329b42;this[_0x823519(0x156)]?_0x521dbf[_0x823519(0x107)](_0x823519(0x154)):_0x521dbf[_0x823519(0x17d)](_0x823519(0x154));}),this[_0x329b42(0x156)]?_0x521dbf[_0x329b42(0x107)](_0x329b42(0x154)):_0x521dbf[_0x329b42(0x17d)](_0x329b42(0x154)),this[_0x329b42(0x15a)](_0x329b42(0x1a2),!0x1);}async[_0x257c21(0xef)](){const _0x220a2b=_0x257c21,_0x1e86da=this[_0x220a2b(0xcd)][_0x220a2b(0x11c)][_0x220a2b(0x129)](_0x27458b),_0x4bc5f6=this[_0x220a2b(0xcd)][_0x220a2b(0x11c)][_0x220a2b(0x129)](_0x181154);try{this[_0x220a2b(0x12d)]=!0x0,_0x1e86da[_0x220a2b(0x117)](this[_0x220a2b(0x1aa)]);const _0x3036fa=await this[_0x220a2b(0x1b9)][_0x220a2b(0xef)](_0x4bc5f6[_0x220a2b(0x163)],this[_0x220a2b(0xd2)]);await this[_0x220a2b(0xbd)](_0x3036fa)&&(this[_0x220a2b(0x12d)]=!0x1,this[_0x220a2b(0xdd)]());const _0x3b5923=await this[_0x220a2b(0x1b9)][_0x220a2b(0xcc)]();_0x1e86da[_0x220a2b(0xc7)](this[_0x220a2b(0x1aa)],_0x3b5923),this[_0x220a2b(0x1b0)](),this[_0x220a2b(0x1a2)]=!0x0;}catch(_0x42a5c0){if(function(_0x2a040b){const _0x52520b=_0x220a2b;return _0x52520b(0x119)===_0x2a040b[_0x52520b(0x1a3)];}(_0x42a5c0)&&this[_0x220a2b(0x15d)])await this[_0x220a2b(0xe8)]();else{if(function(_0x464040){const _0x2292fd=_0x220a2b;return _0x2292fd(0xf7)===_0x464040[_0x2292fd(0x1a3)];}(_0x42a5c0)){const _0x2478b2=_0x451038(this[_0x220a2b(0xcd)][_0x220a2b(0x193)],_0x220a2b(0xcf));this[_0x220a2b(0x165)](_0x2478b2);}else{if(!(_0x42a5c0 instanceof Q))throw _0x42a5c0;this[_0x220a2b(0x165)]();}}}}[_0x257c21(0xd8)](){const _0x250c57=_0x257c21,_0x28bdca=this[_0x250c57(0xcd)][_0x250c57(0x11c)][_0x250c57(0x129)](_0x181154),_0x5123c5=this[_0x250c57(0xcd)][_0x250c57(0x11c)][_0x250c57(0x129)](_0x27458b);this[_0x250c57(0xcd)][_0x250c57(0x17d)](_0x250c57(0xed)),_0x5123c5[_0x250c57(0x14f)][_0x250c57(0x101)](this[_0x250c57(0x1aa)])&&_0x5123c5[_0x250c57(0x117)](this[_0x250c57(0x1aa)]),_0x28bdca[_0x250c57(0xee)](this),this[_0x250c57(0x131)](),super[_0x250c57(0xd8)]();}async[_0x257c21(0xbd)](_0x3157d0){const _0x50f24d=_0x257c21;if(this[_0x50f24d(0x15d)]!==_0x3157d0[_0x50f24d(0x15d)]&&this[_0x50f24d(0x15c)]!==_0x3157d0[_0x50f24d(0x113)])throw new Q();return this[_0x50f24d(0x15d)]=_0x3157d0[_0x50f24d(0x15d)],this[_0x50f24d(0xd4)]([],{..._0x3157d0,'wereChangesApplied':!0x1,'data':_0x3157d0[_0x50f24d(0x110)]},_0x50f24d(0xef));}async[_0x257c21(0xf8)](_0x49527d,_0x375e7e=!0x1){const _0x5b86be=_0x257c21,{connection:_0x2c397b}=this[_0x5b86be(0xcd)][_0x5b86be(0x11c)][_0x5b86be(0x129)](_0x181154);l[_0x5b86be(0x120)][_0x5b86be(0xcc)](_0x2c397b,this[_0x5b86be(0x1aa)])[_0x5b86be(0x170)](_0x392a0e=>this[_0x5b86be(0x1bb)](_0x392a0e))[_0x5b86be(0xeb)](_0x323388=>{const _0x1eac78=_0x5b86be;this[_0x1eac78(0x171)](_0x1eac78(0xdb),_0x323388);}),this[_0x5b86be(0x19c)](this[_0x5b86be(0x1b9)],_0x5b86be(0x178),this[_0x5b86be(0x145)][_0x5b86be(0xc4)](this)),this[_0x5b86be(0x19c)](this[_0x5b86be(0x1b9)],_0x5b86be(0x197),(_0x3cd563,_0x57b6a3)=>{const _0x5e23b2=_0x5b86be;this[_0x5e23b2(0x171)](_0x5e23b2(0x128),_0x57b6a3);}),this[_0x5b86be(0x19c)](this[_0x5b86be(0x1b9)],_0x5b86be(0x162),()=>{const _0x3ae0c0=_0x5b86be;this[_0x3ae0c0(0x1a2)]=!0x1;});const _0xedfaa2=this[_0x5b86be(0x18f)][_0x5b86be(0x14d)](_0x49527d);this[_0x5b86be(0x12d)]=!0x0;const _0x1855e2=await this[_0x5b86be(0x1b9)][_0x5b86be(0x10e)](_0x2c397b,this[_0x5b86be(0xf2)](_0x49527d),_0xedfaa2);if(this[_0x5b86be(0x15d)]=_0x1855e2[_0x5b86be(0x15d)],_0x375e7e){if(!_0x1855e2[_0x5b86be(0x13c)])return void this[_0x5b86be(0x165)]();this[_0x5b86be(0x12d)]=!0x1,this[_0x5b86be(0xdd)](),this[_0x5b86be(0x16e)][_0x5b86be(0x134)](),this[_0x5b86be(0xde)]=_0x1855e2[_0x5b86be(0x116)],this[_0x5b86be(0x16e)][_0x5b86be(0x105)]=this[_0x5b86be(0xde)],await this[_0x5b86be(0xd4)](_0x49527d,_0x1855e2,_0x5b86be(0x1a8));}else await this[_0x5b86be(0xf4)](_0x1855e2,_0x49527d);this[_0x5b86be(0x1b0)](),this[_0x5b86be(0x1a2)]=!0x0;}[_0x257c21(0x1b0)](){const _0x51fda3=_0x257c21,_0xa949da=this[_0x51fda3(0xcd)][_0x51fda3(0x11c)][_0x51fda3(0x129)](_0x27458b),_0x16be42=this[_0x51fda3(0xcd)][_0x51fda3(0x11c)][_0x51fda3(0x129)](_0x1021b6),_0xd078be=_0xa949da[_0x51fda3(0x14f)][_0x51fda3(0x129)](this[_0x51fda3(0x1aa)]);_0xd078be&&_0xd078be[_0x51fda3(0xea)]>0x1?_0x16be42[_0x51fda3(0x1ad)]():this[_0x51fda3(0x19c)](_0xa949da,_0x51fda3(0xf5)+this[_0x51fda3(0x1aa)],()=>{const _0x3e41c5=_0x51fda3;0x2===_0xa949da[_0x3e41c5(0x14f)][_0x3e41c5(0x129)](this[_0x3e41c5(0x1aa)])[_0x3e41c5(0xea)]&&_0x16be42[_0x3e41c5(0x1ad)]();});}async[_0x257c21(0x145)](_0x4b5077,_0x514725,_0x542ab7,_0x70fec0){const _0x4202e3=_0x257c21;if(!this[_0x4202e3(0x12d)]&&this[_0x4202e3(0x14c)][_0x4202e3(0x105)]==_0x514725){const _0x4f2707=this[_0x4202e3(0xe5)](_0x542ab7,_0x70fec0);await this[_0x4202e3(0x132)](_0x4f2707),this[_0x4202e3(0xc3)](_0x4f2707,_0x514725,_0x542ab7[_0x4202e3(0x113)])||this[_0x4202e3(0x171)](_0x4202e3(0x124));}}async[_0x257c21(0xe8)](){const _0x2c17ac=_0x257c21;this[_0x2c17ac(0x131)]();const {locale:_0x1bea11}=this[_0x2c17ac(0xcd)];let _0x3b4477;try{_0x3b4477=await this[_0x2c17ac(0x1b9)][_0x2c17ac(0x14a)]();}catch(_0x4b843c){const _0x417141=_0x451038(_0x1bea11,_0x2c17ac(0x1ba));return void this[_0x2c17ac(0x165)](_0x417141);}const _0x531c66=_0x3b4477[_0x2c17ac(0xc5)]||_0x3b4477[_0x2c17ac(0xc0)];if(this[_0x2c17ac(0x15c)]===_0x531c66[_0x2c17ac(0x113)])await this[_0x2c17ac(0xf8)](this[_0x2c17ac(0xcd)][_0x2c17ac(0x1a7)][_0x2c17ac(0x181)][_0x2c17ac(0x169)][_0x2c17ac(0x189)](),!0x0);else{const _0x1df9b0=_0x451038(_0x1bea11,_0x2c17ac(0x19b));this[_0x2c17ac(0x165)](_0x1df9b0);}}[_0x257c21(0x131)](){const _0x127125=_0x257c21;this[_0x127125(0x1b9)][_0x127125(0x16d)](),this[_0x127125(0x196)]=[],clearTimeout(this[_0x127125(0x14e)]),this[_0x127125(0x10a)](this[_0x127125(0x1b9)]);}[_0x257c21(0x1bb)](_0x23681a){const _0x431a37=_0x257c21,_0x41db48=this[_0x431a37(0xcd)][_0x431a37(0x11c)][_0x431a37(0x129)](_0x27458b);this[_0x431a37(0x19c)](_0x41db48,_0x431a37(0xf5)+this[_0x431a37(0x1aa)],(_0x1f0f09,{session:_0x5106b9})=>{const _0x50a0ae=_0x431a37;if(_0x5106b9['id']===_0x41db48[_0x50a0ae(0x17a)]){_0x1f0f09[_0x50a0ae(0x1ac)]();const _0x2ef7ad=this[_0x50a0ae(0xcd)][_0x50a0ae(0x11c)][_0x50a0ae(0x101)](_0x50a0ae(0x1bf))&&this[_0x50a0ae(0xcd)][_0x50a0ae(0x11c)][_0x50a0ae(0x129)](_0x50a0ae(0x1bf));let _0x53bd5d=_0x5106b9[_0x50a0ae(0x127)];_0x2ef7ad&&_0x2ef7ad[_0x50a0ae(0x15f)]&&(_0x53bd5d=_0x53bd5d[_0x50a0ae(0x19d)](_0x5e4476=>_0x50a0ae(0x1b8)!==_0x5e4476)),this[_0x50a0ae(0xcd)][_0x50a0ae(0x11c)][_0x50a0ae(0x129)](_0x50a0ae(0x114))[_0x50a0ae(0x168)](_0x53bd5d,this[_0x50a0ae(0x1aa)]);}}),_0x41db48[_0x431a37(0xc7)](this[_0x431a37(0x1aa)],_0x23681a);}[_0x257c21(0x152)](){const _0x40b793=_0x257c21,_0x1d9ef2=this[_0x40b793(0xcd)][_0x40b793(0x110)][_0x40b793(0x15a)];this[_0x40b793(0xcd)][_0x40b793(0x110)][_0x40b793(0x15a)]=(..._0x344483)=>{const _0x33c58a=_0x40b793;if(!_0x344483[_0x344483[_0x33c58a(0xea)]-0x1][_0x33c58a(0x1be)])throw new _0x331196(_0x33c58a(0x13a),this);_0x1d9ef2[_0x33c58a(0xe0)](this[_0x33c58a(0xcd)][_0x33c58a(0x110)],_0x344483);};}[_0x257c21(0x11d)](){const _0x58188b=_0x257c21;this[_0x58188b(0xcd)][_0x58188b(0x110)]['on'](_0x58188b(0x176),(_0x37344e,[_0x31c8e9])=>{const _0x4dee94=_0x58188b;if(this[_0x4dee94(0x14c)][_0x4dee94(0x105)])throw new _0x331196(_0x4dee94(0x1c1),this);_0x37344e[_0x4dee94(0x195)](),this[_0x4dee94(0x16b)]();const _0x4fde6f=this[_0x4dee94(0xcd)][_0x4dee94(0x15b)][_0x4dee94(0x129)](_0x4dee94(0x1b2)),_0x5dec1d=this[_0x4dee94(0x111)](_0x31c8e9,_0x4fde6f);0x0==_0x5dec1d[_0x4dee94(0xea)]&&_0x5dec1d[_0x4dee94(0x146)](new _0x123937(0x0)),_0x37344e[_0x4dee94(0xfe)]=this[_0x4dee94(0xf8)](_0x5dec1d)[_0x4dee94(0x170)](()=>{const _0x2601c4=_0x4dee94;this[_0x2601c4(0xcd)][_0x2601c4(0x11c)][_0x2601c4(0x129)](_0x181154)[_0x2601c4(0x100)](this),this[_0x2601c4(0xcd)][_0x2601c4(0x110)][_0x2601c4(0x160)](_0x2601c4(0x157));})[_0x4dee94(0xeb)](_0x3f43d5=>this[_0x4dee94(0x171)](_0x4dee94(0x12f),_0x3f43d5))[_0x4dee94(0x1a4)](()=>this[_0x4dee94(0xdd)]());},{'priority':_0x58188b(0x158)}),this[_0x58188b(0xcd)]['on'](_0x58188b(0x141),async(_0x1de76f,[_0x402592,_0x33ed2a])=>{const _0x104478=_0x58188b;_0x1de76f[_0x104478(0x195)]();const _0x548bb4=this[_0x104478(0xcd)][_0x104478(0x1a7)][_0x104478(0x181)][_0x104478(0x118)](_0x402592);if(!this[_0x104478(0x106)][_0x104478(0x101)](_0x402592)){const _0x5142ce=_0x33ed2a&&_0x33ed2a[_0x104478(0x110)]?_0x33ed2a[_0x104478(0x110)]:'',_0x10e277=_0x33ed2a&&_0x33ed2a[_0x104478(0xfa)]?_0x33ed2a[_0x104478(0xfa)]:{};await this[_0x104478(0x18d)](_0x402592,_0x5142ce,_0x10e277);}this[_0x104478(0xcd)][_0x104478(0x1a7)][_0x104478(0x18e)]({'isUndoable':!0x1},()=>{const _0x553087=_0x104478;_0x548bb4[_0x553087(0x136)]=!0x0,this[_0x553087(0xcd)][_0x553087(0x1a7)][_0x553087(0x181)][_0x553087(0xd9)][_0x553087(0x192)](_0x548bb4);});},{'priority':_0x58188b(0x158)});}async[_0x257c21(0x132)](_0x435f3a){const _0x115d2a=_0x257c21,_0xe23294=this[_0x115d2a(0xcd)][_0x115d2a(0x11c)][_0x115d2a(0x129)](_0xc8359),{connection:_0x567ef5}=this[_0x115d2a(0xcd)][_0x115d2a(0x11c)][_0x115d2a(0x129)](_0x181154),_0x128040=new Set();for(const _0x8c7b90 of _0x435f3a){const _0x57520f=_0x8c7b90[_0x115d2a(0x143)];_0x57520f&&!_0xe23294[_0x115d2a(0xf0)](_0x57520f)&&_0x128040[_0x115d2a(0x108)](_0x57520f);}if(0x0===_0x128040[_0x115d2a(0xe2)])return;const _0x44facd=await _0x27efcd[_0x115d2a(0x13d)](_0x567ef5,Array[_0x115d2a(0x175)](_0x128040));for(const _0x40e4b6 of _0x44facd)_0xe23294[_0x115d2a(0xf0)](_0x40e4b6['id'])||_0xe23294[_0x115d2a(0x102)](_0x40e4b6);}[_0x257c21(0x111)](_0x1f94a3,_0x2e5ac8={}){const _0x1b2537=_0x257c21,_0x1eb638=this[_0x1b2537(0xcd)][_0x1b2537(0x1a7)],_0x5e5c05=[];let _0x5ccda6=0x0;const _0x24dda4=_0x1b2537(0x1b4)==typeof _0x1f94a3?{'main':_0x1f94a3}:_0x1f94a3;for(const _0x25d4a6 of Object[_0x1b2537(0x182)](_0x24dda4)){if(!this[_0x1b2537(0x14c)][_0x1b2537(0xc9)][_0x1b2537(0x101)](_0x25d4a6))throw new _0x331196(_0x1b2537(0x1a1),this);const _0x5c063c=this[_0x1b2537(0xcd)][_0x1b2537(0x110)][_0x1b2537(0xf1)](_0x24dda4[_0x25d4a6]),_0x4d9633=this[_0x1b2537(0x14c)][_0x1b2537(0x118)](_0x25d4a6),_0x44f9d0=new _0x23ff36(_0x1eb638[_0x1b2537(0x130)](_0x4d9633,0x0),_0x5c063c,_0x5ccda6++);_0x5e5c05[_0x1b2537(0x146)](_0x44f9d0);for(const [_0x4ec03f,_0x215404]of _0x5c063c[_0x1b2537(0xd1)]){const _0x12bafa=_0x1eb638[_0x1b2537(0x12e)](_0x1eb638[_0x1b2537(0x1b1)](_0x4d9633,_0x215404[_0x1b2537(0xe3)][_0x1b2537(0x135)][_0x1b2537(0xd5)]()),_0x1eb638[_0x1b2537(0x1b1)](_0x4d9633,_0x215404[_0x1b2537(0x103)][_0x1b2537(0x135)][_0x1b2537(0xd5)]())),_0x127e95=new _0x10fa71(_0x4ec03f,null,_0x12bafa,_0x1eb638[_0x1b2537(0xd1)],!0x0,_0x5ccda6++);_0x5e5c05[_0x1b2537(0x146)](_0x127e95);}}if(_0x2e5ac8)for(const [_0x4becdb,_0x28efc5]of Object[_0x1b2537(0x137)](_0x2e5ac8)){const _0x3c5879=_0x1eb638[_0x1b2537(0x181)][_0x1b2537(0x118)](_0x4becdb);if(!_0x3c5879)throw new _0x331196(_0x1b2537(0x112),null);for(const [_0x2f7c4c,_0x2a76a4]of Object[_0x1b2537(0x137)](_0x28efc5))if(null!==_0x2a76a4){const _0x131e00=new _0x966fff(_0x3c5879,_0x2f7c4c,null,_0x2a76a4,_0x5ccda6++);_0x5e5c05[_0x1b2537(0x146)](_0x131e00);}}return _0x5e5c05;}async[_0x257c21(0x18d)](_0x26cdf0,_0x7fee4a,_0x213613){const _0x41e70a=_0x257c21;this[_0x41e70a(0x111)]({[_0x26cdf0]:_0x7fee4a},{[_0x26cdf0]:_0x213613})[_0x41e70a(0xc2)]((_0x40f1aa,_0x48f0c8)=>{const _0x30cb38=_0x41e70a;_0x40f1aa[_0x30cb38(0x142)]=this[_0x30cb38(0x14c)][_0x30cb38(0x105)]+_0x48f0c8,_0x40f1aa[_0x30cb38(0x13b)]=!0x0,this[_0x30cb38(0x17c)](_0x40f1aa);}),this[_0x41e70a(0xd3)](),await this[_0x41e70a(0x177)]();}async[_0x257c21(0xf4)](_0x235513,_0x53987c){const _0x189508=_0x257c21;let _0x342c32;this[_0x189508(0xde)]=_0x235513[_0x189508(0x116)];const _0x8391f6=_0x235513[_0x189508(0x13c)]&&!_0x235513[_0x189508(0x1c0)],_0x7e94a0=_0x8391f6?0x0:_0x235513[_0x189508(0x110)][_0x189508(0x142)];if(_0x53987c[_0x189508(0xc2)](_0x36c08f=>{const _0x4273d7=_0x189508;_0x36c08f[_0x4273d7(0x13b)]=!0x0,_0x36c08f[_0x4273d7(0x18a)]=_0x235513[_0x4273d7(0x153)],_0x36c08f[_0x4273d7(0x143)]=null;}),_0x8391f6)_0x342c32=_0x53987c,this[_0x189508(0x186)](_0x342c32,_0x8391f6);else{if(_0x235513[_0x189508(0x1c0)]){const _0x48dc59=this[_0x189508(0x111)](_0x235513[_0x189508(0x1c0)]);this[_0x189508(0x14c)][_0x189508(0x169)][_0x189508(0x105)]=-_0x48dc59[_0x189508(0xea)],_0x48dc59[_0x189508(0xc2)](_0x432076=>{const _0x3cbfed=_0x189508;_0x432076[_0x3cbfed(0x142)]-=_0x48dc59[_0x3cbfed(0xea)],_0x432076[_0x3cbfed(0x18a)]=_0x235513[_0x3cbfed(0x153)],_0x432076[_0x3cbfed(0x13b)]=!0x0,_0x432076[_0x3cbfed(0x143)]=null;}),this[_0x189508(0x186)](_0x48dc59,!0x0),this[_0x189508(0x16e)][_0x189508(0x105)]=-_0x48dc59[_0x189508(0xea)]+this[_0x189508(0xde)],this[_0x189508(0x10b)](_0x48dc59);}this[_0x189508(0x14c)][_0x189508(0x169)][_0x189508(0x105)]=_0x7e94a0,_0x342c32=this[_0x189508(0xe5)](_0x235513[_0x189508(0x110)],_0x235513[_0x189508(0x12c)]),await this[_0x189508(0x132)](_0x342c32),this[_0x189508(0x186)](_0x342c32,_0x8391f6);}_0x235513[_0x189508(0x113)]&&(this[_0x189508(0x18f)][_0x189508(0x183)](_0x342c32,_0x235513[_0x189508(0x113)]),this[_0x189508(0x15c)]=_0x235513[_0x189508(0x113)]),this[_0x189508(0x16e)][_0x189508(0x105)]=_0x7e94a0+this[_0x189508(0xde)],this[_0x189508(0x10b)](_0x342c32),_0x53987c[_0x189508(0x19d)](_0x509bad=>{const _0x5e3942=_0x189508,_0x28c60b=this[_0x5e3942(0x138)](_0x509bad);return _0x28c60b&&!this[_0x5e3942(0x106)][_0x5e3942(0x101)](_0x28c60b);})[_0x189508(0xc2)]((_0x45bdb0,_0x487bee)=>{const _0x138794=_0x189508;_0x45bdb0[_0x138794(0x142)]=this[_0x138794(0x14c)][_0x138794(0x105)]+_0x487bee,this[_0x138794(0x17c)](_0x45bdb0);}),this[_0x189508(0xc6)]()?(this[_0x189508(0x1b7)]=0x0,this[_0x189508(0xd3)](!0x0),await this[_0x189508(0x177)]()):(this[_0x189508(0x12d)]=!0x1,this[_0x189508(0xdd)]());}[_0x257c21(0x171)](_0x290756,_0xf59530){const _0x4a1817=_0x257c21,_0xf5a40d=_0xf59530&&_0xf59530[_0x4a1817(0x180)];if(_0xf5a40d&&_0xf5a40d[_0x4a1817(0x16a)](_0x4a1817(0x1b5)))throw _0xf59530;const _0xcb7bdc=this[_0x4a1817(0xcd)][_0x4a1817(0x11c)][_0x4a1817(0x129)](_0x181154);throw this[_0x4a1817(0x12d)]=!0x0,_0xcb7bdc[_0x4a1817(0x16d)](),this[_0x4a1817(0xcd)][_0x4a1817(0x17d)](_0x4a1817(0x148)),new _0x331196(_0x290756,this[_0x4a1817(0xcd)],_0xf5a40d?{'originalError':_0xf5a40d}:void 0x0);}[_0x257c21(0x17c)](_0x44481a){const _0x8feb00=_0x257c21;this[_0x8feb00(0x1bd)][_0x8feb00(0x101)](_0x44481a)||(this[_0x8feb00(0x1bd)][_0x8feb00(0x108)](_0x44481a),this[_0x8feb00(0x196)][_0x8feb00(0x146)](_0x44481a),this[_0x8feb00(0x123)]||_0x8feb00(0x184)==_0x44481a[_0x8feb00(0xfc)]&&!_0x44481a[_0x8feb00(0xc1)]||this[_0x8feb00(0x16b)]());}[_0x257c21(0xd3)](_0x418b39=!0x1){const _0x2fa797=_0x257c21;!_0x418b39&&this[_0x2fa797(0x12d)]||(this[_0x2fa797(0x12d)]=!0x0,clearTimeout(this[_0x2fa797(0x14e)]),this[_0x2fa797(0x14e)]=setTimeout(()=>{const _0x2dfdf4=_0x2fa797;this[_0x2dfdf4(0x12a)]()[_0x2dfdf4(0x170)](_0x52c908=>{const _0x1db993=_0x2dfdf4;_0x52c908&&(this[_0x1db993(0xdd)](),this[_0x1db993(0x12d)]=!0x1);})[_0x2dfdf4(0xeb)](_0x499564=>{const _0x15d244=_0x2dfdf4;this[_0x15d244(0xdd)](),this[_0x15d244(0x12d)]=!0x1,function(_0x135521){const _0x5d52ff=_0x15d244;return _0x135521[_0x5d52ff(0x180)][_0x5d52ff(0x16a)](_0x5d52ff(0xfd))||_0x135521[_0x5d52ff(0x180)][_0x5d52ff(0x16a)](_0x5d52ff(0x12b))||_0x135521[_0x5d52ff(0x180)][_0x5d52ff(0x16a)](_0x5d52ff(0x185));}(_0x499564)||this[_0x15d244(0x171)](_0x499564[_0x15d244(0x180)],_0x499564);});},this[_0x2fa797(0x1b7)]));}[_0x257c21(0x177)](){return new Promise(_0x241b50=>{const _0xa7c377=_0x2fe9;this['on'](_0xa7c377(0x122),()=>{_0x241b50();});});}async[_0x257c21(0x12a)](){const _0x3cd139=_0x257c21,_0x35c264=this[_0x3cd139(0xcd)][_0x3cd139(0x11c)][_0x3cd139(0x129)](_0x1021b6);if(this[_0x3cd139(0xbf)]()&&(_0x35c264[_0x3cd139(0x1ad)](),this[_0x3cd139(0x17e)]=!0x1),!this[_0x3cd139(0xc6)]())return!0x0;const _0xe8367a=[...this[_0x3cd139(0x196)]];for(const _0x49f27f of _0xe8367a)_0x49f27f[_0x3cd139(0x133)]=this[_0x3cd139(0x14c)][_0x3cd139(0x169)][_0x3cd139(0x13e)](_0x49f27f);const _0x363c31=this[_0x3cd139(0x18f)][_0x3cd139(0x14d)](_0xe8367a),_0x73cd15=J++,_0x3a023f=this[_0x3cd139(0xf2)](_0xe8367a),_0x54f0ad=await this[_0x3cd139(0x1b9)][_0x3cd139(0x140)](_0x3a023f,_0x3a023f[_0x3cd139(0x142)],_0x363c31);try{return await this[_0x3cd139(0xd4)](_0xe8367a,_0x54f0ad,_0x73cd15);}catch(_0xf69dad){return this[_0x3cd139(0x171)](_0x3cd139(0xd6),_0xf69dad);}}async[_0x257c21(0xd4)](_0x36a6b3,_0x1a80b8,_0x5d72f1){const _0x263467=_0x257c21;if(_0x263467(0x197)in _0x1a80b8)throw _0x1a80b8[_0x263467(0x197)];let _0x5dbec3=!0x1;if(_0x1a80b8[_0x263467(0x13c)]){_0x1a80b8[_0x263467(0x113)]&&(this[_0x263467(0x15c)]=_0x1a80b8[_0x263467(0x113)]),this[_0x263467(0x196)]=this[_0x263467(0x196)][_0x263467(0x19d)](_0x4b8d67=>!_0x36a6b3[_0x263467(0xdc)](_0x4b8d67));for(const _0x40b671 of _0x36a6b3)_0x40b671[_0x263467(0x18a)]=_0x263467(0x11e)in _0x1a80b8&&_0x1a80b8[_0x263467(0x11e)]||void 0x0;X(_0x36a6b3,_0x1a80b8[_0x263467(0x105)]-_0x36a6b3[_0x263467(0xea)]),this[_0x263467(0x10b)](_0x36a6b3);const _0x570c9c=_0x36a6b3[_0x263467(0x19d)](_0x3a6523=>{const _0x35f1b5=_0x263467;if(!_0x3a6523[_0x35f1b5(0x13b)])return!0x1;const _0x11a2f8=this[_0x35f1b5(0x138)](_0x3a6523);return _0x11a2f8&&!this[_0x35f1b5(0x106)][_0x35f1b5(0x101)](_0x11a2f8);});X(_0x570c9c,this[_0x263467(0x14c)][_0x263467(0x105)]),this[_0x263467(0x186)](_0x570c9c),_0x5dbec3=!0x0,this[_0x263467(0x1b7)]=this[_0x263467(0xf9)];}else{const _0x15b84a=this[_0x263467(0xe5)](_0x1a80b8[_0x263467(0x110)],_0x1a80b8[_0x263467(0x12c)])[_0x263467(0x19d)](_0x1b9e9c=>_0x1b9e9c[_0x263467(0x142)]>=this[_0x263467(0x172)]);_0x15b84a[_0x263467(0xc2)](_0x3761cd=>this[_0x263467(0x1a5)](_0x3761cd)),this[_0x263467(0x196)]=this[_0x263467(0x196)][_0x263467(0x19d)](_0x2886ee=>!_0x2886ee[_0x263467(0x13b)]||!this[_0x263467(0x106)][_0x263467(0x101)](this[_0x263467(0x138)](_0x2886ee))),this[_0x263467(0x196)][_0x263467(0xea)]&&X(this[_0x263467(0x196)],this[_0x263467(0x196)][0x0][_0x263467(0x142)]),await this[_0x263467(0x132)](_0x15b84a),_0x5dbec3=this[_0x263467(0xc3)](_0x15b84a,_0x1a80b8[_0x263467(0x105)],_0x1a80b8[_0x263467(0x113)]),this[_0x263467(0x1b7)]=Math[_0x263467(0x17f)](this[_0x263467(0x1b7)]/0x2);}return _0x5dbec3?!this[_0x263467(0xc6)]()||(this[_0x263467(0xd3)](!0x0),!0x1):this[_0x263467(0x171)](_0x263467(0x194));}[_0x257c21(0xc3)](_0x1a109f,_0x2e699c,_0x56352d){const _0x160f82=_0x257c21;try{const _0x251a14={'document':this[_0x160f82(0x14c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2a2523,operationsB:_0x1713e0,originalOperations:_0x1f857d}=_0x4adb24(_0x1a109f,this[_0x160f82(0x196)],_0x251a14);X(_0x2a2523,this[_0x160f82(0x14c)][_0x160f82(0x105)]),X(_0x1713e0,_0x2e699c);for(const _0x556d7f of _0x2a2523){const _0x24439c=_0x1f857d[_0x160f82(0x129)](_0x556d7f);_0x556d7f[_0x160f82(0x143)]=_0x24439c?_0x24439c[_0x160f82(0x143)]:null;}_0x56352d&&(this[_0x160f82(0x18f)][_0x160f82(0x183)](_0x1a109f,_0x56352d),this[_0x160f82(0x15c)]=_0x56352d),this[_0x160f82(0x196)]=[..._0x1713e0],this[_0x160f82(0x186)](_0x2a2523),this[_0x160f82(0x10b)](_0x1a109f);}catch(_0x468060){return console[_0x160f82(0x197)](_0x468060),!0x1;}return!0x0;}[_0x257c21(0x186)](_0x2c3081,_0x36df67=!0x1){const _0x982f4e=_0x257c21;this[_0x982f4e(0xcd)][_0x982f4e(0x1a7)][_0x982f4e(0x18e)]({'isUndoable':!0x1,'isLocal':!0x1},_0x55423b=>{const _0xdba38a=_0x982f4e;for(const _0x4365ff of _0x2c3081)this[_0xdba38a(0x1bd)][_0xdba38a(0x108)](_0x4365ff),this[_0xdba38a(0x1a5)](_0x4365ff),_0x55423b[_0xdba38a(0x166)][_0xdba38a(0x16c)](_0x4365ff),this[_0xdba38a(0xcd)][_0xdba38a(0x1a7)][_0xdba38a(0xe6)](_0x4365ff);});}[_0x257c21(0x1a5)](_0x19ee6c){const _0x4f6112=_0x257c21,_0x2c43d8=this[_0x4f6112(0x138)](_0x19ee6c);_0x2c43d8&&this[_0x4f6112(0x106)][_0x4f6112(0x108)](_0x2c43d8);}[_0x257c21(0x138)](_0x303763){const _0x2353ab=_0x257c21;let _0xd12e92,_0xb6d638;switch(_0x303763[_0x2353ab(0xfc)]){case _0x2353ab(0x144):_0xd12e92=_0x303763[_0x2353ab(0x188)][_0x2353ab(0x18c)];break;case _0x2353ab(0x184):if(_0xb6d638=_0x303763[_0x2353ab(0x1b3)],!_0xb6d638)return null;_0xd12e92=_0xb6d638[_0x2353ab(0x18c)];break;case _0x2353ab(0x1b6):_0xd12e92=_0x303763[_0x2353ab(0x18c)];break;case _0x2353ab(0x17b):_0xd12e92=_0x303763[_0x2353ab(0xe7)];break;case _0x2353ab(0x159):_0xd12e92=_0x303763[_0x2353ab(0x1a9)][_0x2353ab(0x18c)];break;default:return null;}return _0xd12e92[_0x2353ab(0x1af)];}[_0x257c21(0x10b)](_0x37520b){const _0x43c496=_0x257c21;_0x37520b[_0x43c496(0xc2)](_0x1d6b92=>{const _0x1d9df8=_0x43c496,_0x2f26af=_0x1d6b92[_0x1d9df8(0x167)]();_0x2f26af[_0x1d9df8(0x143)]=_0x1d6b92[_0x1d9df8(0x143)],_0x2f26af[_0x1d9df8(0x13b)]=!!_0x1d6b92[_0x1d9df8(0x13b)],_0x2f26af[_0x1d9df8(0x18a)]=_0x1d6b92[_0x1d9df8(0x18a)],_0x2f26af[_0x1d9df8(0x142)]+=this[_0x1d9df8(0xde)],_0x1d6b92[_0x1d9df8(0xce)]&&this[_0x1d9df8(0x1ab)][_0x1d9df8(0x108)](_0x2f26af),this[_0x1d9df8(0x16e)][_0x1d9df8(0x16c)](_0x2f26af);});}[_0x257c21(0x165)](_0xeaa190){const _0x8d31a6=_0x257c21,_0x3d3e97=this[_0x8d31a6(0xcd)][_0x8d31a6(0x11c)][_0x8d31a6(0x129)](_0x8d31a6(0xf3)),_0x587a1e=this[_0x8d31a6(0xcd)][_0x8d31a6(0x193)];_0xeaa190||(_0xeaa190=_0x451038(_0x587a1e,_0x8d31a6(0x190))),_0x3d3e97[_0x8d31a6(0xe4)](_0xeaa190,{'title':_0x451038(_0x587a1e,_0x8d31a6(0x19a)),'namespace':_0x8d31a6(0x13f)}),this[_0x8d31a6(0xec)]=!0x0,clearTimeout(this[_0x8d31a6(0x14e)]),this[_0x8d31a6(0x196)]=[],this[_0x8d31a6(0xcd)][_0x8d31a6(0x11c)][_0x8d31a6(0x129)](_0x181154)[_0x8d31a6(0x16d)]();}[_0x257c21(0x16b)](){const _0x4187a1=_0x257c21;this[_0x4187a1(0x123)]||(this[_0x4187a1(0x123)]=this[_0x4187a1(0xcd)][_0x4187a1(0x11c)][_0x4187a1(0x129)](_0x10be10)[_0x4187a1(0x108)](_0x451038(this[_0x4187a1(0xcd)][_0x4187a1(0x193)],_0x4187a1(0xd7))));}[_0x257c21(0xdd)](){const _0x5b9b45=_0x257c21;this[_0x5b9b45(0x123)]&&(this[_0x5b9b45(0xcd)][_0x5b9b45(0x11c)][_0x5b9b45(0x129)](_0x10be10)[_0x5b9b45(0xff)](this[_0x5b9b45(0x123)]),this[_0x5b9b45(0x123)]=null);}[_0x257c21(0xf2)](_0x95659a){const _0x36af60=_0x257c21,_0x2be44c=_0x95659a[_0x36af60(0x11f)](_0x5296d6=>_0x5296d6[_0x36af60(0x19f)]());return this[_0x36af60(0xca)][_0x36af60(0xbe)](_0x2be44c);}[_0x257c21(0xe5)](_0x5d8d62,_0x2b1a5f){const _0x3a8e0f=_0x257c21;return this[_0x3a8e0f(0xca)][_0x3a8e0f(0xdf)](_0x5d8d62)[_0x3a8e0f(0x11f)]((_0x5d4669,_0x4def29)=>{const _0x2292b9=_0x3a8e0f,_0x10fe1f=_0x2292b9(0x176)==_0x2b1a5f[_0x4def29][_0x2292b9(0xfc)];if(_0x2292b9(0x109)==_0x5d4669[_0x2292b9(0x187)]){const _0x1d1b31=_0x5d4669[_0x2292b9(0x188)][_0x2292b9(0x18c)];!this[_0x2292b9(0x14c)][_0x2292b9(0x118)](_0x1d1b31)&&(this[_0x2292b9(0x14c)][_0x2292b9(0xc8)](_0x2292b9(0xf6),_0x1d1b31)[_0x2292b9(0x19e)]=!0x1);}const _0x161727=_0x2c72da[_0x2292b9(0x16f)](_0x5d4669,this[_0x2292b9(0x14c)]);return _0x161727[_0x2292b9(0x133)]=_0x5d4669[_0x2292b9(0x133)],_0x161727[_0x2292b9(0x13b)]=_0x10fe1f,_0x161727[_0x2292b9(0x143)]=_0x10fe1f?null:_0x2b1a5f[_0x4def29][_0x2292b9(0x150)],_0x161727[_0x2292b9(0xce)]=_0x2292b9(0x125)===_0x2b1a5f[_0x4def29][_0x2292b9(0xfc)],_0x161727[_0x2292b9(0x18a)]=_0x2b1a5f[_0x4def29][_0x2292b9(0x18a)],_0x161727;});}[_0x257c21(0x161)](){const _0x1fc14b=_0x257c21;this[_0x1fc14b(0x17e)]=!0x0,this[_0x1fc14b(0xbf)]()?this[_0x1fc14b(0xd3)]():this[_0x1fc14b(0x17e)]=!0x1;}[_0x257c21(0xbf)](){const _0x45d203=_0x257c21,_0x372d4d=this[_0x45d203(0xcd)][_0x45d203(0x11c)][_0x45d203(0x129)](_0x27458b)[_0x45d203(0x14f)][_0x45d203(0x129)](this[_0x45d203(0x1aa)]);return!this[_0x45d203(0xcd)][_0x45d203(0x149)]&&!!_0x372d4d&&_0x372d4d[_0x45d203(0xea)]>0x1&&this[_0x45d203(0x17e)];}[_0x257c21(0xc6)](){const _0x2c94c8=_0x257c21;return this[_0x2c94c8(0x196)][_0x2c94c8(0xea)]>0x0||this[_0x2c94c8(0xbf)]();}}export default l;class Q extends Error{}function _0x2fe9(_0x2e315c,_0x88caba){const _0x45f97d=_0x45f9();return _0x2fe9=function(_0x2fe958,_0x49a0f){_0x2fe958=_0x2fe958-0xbd;let _0x4cb12d=_0x45f97d[_0x2fe958];return _0x4cb12d;},_0x2fe9(_0x2e315c,_0x88caba);}function X(_0x5606cc,_0x21ea3c){const _0xe3b962=_0x257c21;for(const _0x4ba304 of _0x5606cc)_0x4ba304[_0xe3b962(0x142)]=_0x21ea3c++;}class Y{[_0x257c21(0x10f)];[_0x257c21(0xcb)];constructor(_0x356663){const _0x4c2bc9=_0x257c21;this[_0x4c2bc9(0x10f)]=_0x356663,this[_0x4c2bc9(0xcb)]=new WeakMap();}[_0x257c21(0x14d)](_0x40d213){const _0xe43f4d=_0x257c21;let _0xea1b44=_0x40d213[_0xe43f4d(0xea)];for(;_0xea1b44--;){const _0x9193d3=_0x40d213[_0xea1b44];if(!this[_0xe43f4d(0x10f)][_0xe43f4d(0x101)](_0x9193d3)){if(!this[_0xe43f4d(0xcb)][_0xe43f4d(0x101)](_0x9193d3)){const _0x2da535=_0x6ddd65()[_0xe43f4d(0xd5)](0x1,0x12);this[_0xe43f4d(0xcb)][_0xe43f4d(0x15a)](_0x9193d3,_0x2da535);}return this[_0xe43f4d(0xcb)][_0xe43f4d(0x129)](_0x9193d3);}}}[_0x257c21(0x183)](_0x104cf0,_0x4a925d){const _0x225ccf=_0x257c21;if(!_0x4a925d)return;let _0x35dfcc=_0x104cf0[_0x225ccf(0xea)];for(;_0x35dfcc--;){const _0x5f82af=_0x104cf0[_0x35dfcc];this[_0x225ccf(0x10f)][_0x225ccf(0x101)](_0x5f82af)||this[_0x225ccf(0xcb)][_0x225ccf(0x15a)](_0x5f82af,_0x4a925d);}}}
|