@ckeditor/ckeditor5-real-time-collaboration 47.0.0-alpha.3 → 47.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/package.json +14 -14
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "47.0.0-alpha.
|
|
3
|
+
"version": "47.0.0-alpha.4",
|
|
4
4
|
"description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -47,19 +47,19 @@
|
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@ckeditor/ckeditor-cloud-services-collaboration": "53.0.1",
|
|
50
|
-
"@ckeditor/ckeditor5-cloud-services": "47.0.0-alpha.
|
|
51
|
-
"@ckeditor/ckeditor5-comments": "47.0.0-alpha.
|
|
52
|
-
"@ckeditor/ckeditor5-core": "47.0.0-alpha.
|
|
53
|
-
"@ckeditor/ckeditor5-editor-multi-root": "47.0.0-alpha.
|
|
54
|
-
"@ckeditor/ckeditor5-engine": "47.0.0-alpha.
|
|
55
|
-
"@ckeditor/ckeditor5-operations-compressor": "47.0.0-alpha.
|
|
56
|
-
"@ckeditor/ckeditor5-revision-history": "47.0.0-alpha.
|
|
57
|
-
"@ckeditor/ckeditor5-theme-lark": "47.0.0-alpha.
|
|
58
|
-
"@ckeditor/ckeditor5-track-changes": "47.0.0-alpha.
|
|
59
|
-
"@ckeditor/ckeditor5-ui": "47.0.0-alpha.
|
|
60
|
-
"@ckeditor/ckeditor5-utils": "47.0.0-alpha.
|
|
61
|
-
"ckeditor5": "47.0.0-alpha.
|
|
62
|
-
"ckeditor5-collaboration": "47.0.0-alpha.
|
|
50
|
+
"@ckeditor/ckeditor5-cloud-services": "47.0.0-alpha.4",
|
|
51
|
+
"@ckeditor/ckeditor5-comments": "47.0.0-alpha.4",
|
|
52
|
+
"@ckeditor/ckeditor5-core": "47.0.0-alpha.4",
|
|
53
|
+
"@ckeditor/ckeditor5-editor-multi-root": "47.0.0-alpha.4",
|
|
54
|
+
"@ckeditor/ckeditor5-engine": "47.0.0-alpha.4",
|
|
55
|
+
"@ckeditor/ckeditor5-operations-compressor": "47.0.0-alpha.4",
|
|
56
|
+
"@ckeditor/ckeditor5-revision-history": "47.0.0-alpha.4",
|
|
57
|
+
"@ckeditor/ckeditor5-theme-lark": "47.0.0-alpha.4",
|
|
58
|
+
"@ckeditor/ckeditor5-track-changes": "47.0.0-alpha.4",
|
|
59
|
+
"@ckeditor/ckeditor5-ui": "47.0.0-alpha.4",
|
|
60
|
+
"@ckeditor/ckeditor5-utils": "47.0.0-alpha.4",
|
|
61
|
+
"ckeditor5": "47.0.0-alpha.4",
|
|
62
|
+
"ckeditor5-collaboration": "47.0.0-alpha.4",
|
|
63
63
|
"es-toolkit": "1.39.5"
|
|
64
64
|
},
|
|
65
65
|
"types": "src/index.d.ts",
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x515929=_0x2ec1;(function(_0x423542,_0xfb10ea){const _0x31bc31=_0x2ec1,_0x2588a9=_0x423542();while(!![]){try{const _0x5a2e67=parseInt(_0x31bc31(0x127))/0x1+parseInt(_0x31bc31(0x131))/0x2*(-parseInt(_0x31bc31(0x125))/0x3)+-parseInt(_0x31bc31(0x11b))/0x4+-parseInt(_0x31bc31(0x14f))/0x5+parseInt(_0x31bc31(0x15b))/0x6+-parseInt(_0x31bc31(0x140))/0x7*(-parseInt(_0x31bc31(0x10c))/0x8)+parseInt(_0x31bc31(0x165))/0x9*(parseInt(_0x31bc31(0x144))/0xa);if(_0x5a2e67===_0xfb10ea)break;else _0x2588a9['push'](_0x2588a9['shift']());}catch(_0x3eb954){_0x2588a9['push'](_0x2588a9['shift']());}}}(_0x9dd5,0xbad75));import{ContextPlugin as _0xbe470d}from'ckeditor5/src/core.js';import{CKEditorError as _0x194baa,Collection as _0x1324f4}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x4afe8b,BalloonPanelView as _0x25a447,BodyCollection as _0x2278e5}from'ckeditor5/src/ui.js';import{isElement as _0x5d241c}from'es-toolkit/compat';import{Sessions as _0x55604f}from'../realtimecollaborativeediting/sessions.js';function _0x2ec1(_0x368004,_0x3d121e){const _0x9dd526=_0x9dd5();return _0x2ec1=function(_0x2ec15f,_0x39d939){_0x2ec15f=_0x2ec15f-0x10a;let _0x51bc28=_0x9dd526[_0x2ec15f];return _0x51bc28;},_0x2ec1(_0x368004,_0x3d121e);}function _0x9dd5(){const _0x51930b=['filter','select','_allConnectedUsers','pin','focus','remove','activeElement','textarea','init','476LCZizk','presenceList.collapseAt','render','offsetHeight','10JUMuMZ','detachFromDom','bind','isOfficialPlugin','button','isRendered','context','ck\x20ck-presence-list__balloon','pluginName','isPremiumPlugin','set','1860945VfCarH','_handleUserRemove','presenceList.container','allConnectedUsers','join','bindTo','_createView','usersCount',':not([disabled]):not([tabindex=\x22-1\x22])','keystrokes','_bodyCollection','listenTo','6355590CzVPIm','tabIndex','currentDisplayedUsers','requires','[contenteditable]','checkIfScrollable','content','isCollapsed','execute','number','5184351TRWjYm','indexOf','PresenceListUI','locale','hideDropdown','presencelist-collapseat-invalid-format','querySelectorAll','isExpanded','define','appendChild','presenceDropdownView','length','presencelist:show','get','find','Tab','isFocusable','attachToDom','107312wmxVUL','Esc','presencelist:hide','add','view','config','presenceList','isVisible','sort','presenceList.displayMe','onClick','change:isFocused','items','body','focusTracker','3623016EVHnAs','_handleUserAdd','element','min','displayMe','map','[tabindex]','using','plugins','unpin','993jZjOPV','isMe','155802ammzXM','presencelist-missing-container','input','hasTooltip','from','reverse','Enter','counterView','Shift+Tab','inlineListView','3988OhHuUx','balloonPanelView','showDropdown','destroy','class','offsetWidth'];_0x9dd5=function(){return _0x51930b;};return _0x9dd5();}import{PresenceListView as _0xb4c624}from'./view/presencelistview.js';import{PresenceCounterView as _0x4a0907}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x5eb68d}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x237c46}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x2380d5}from'./view/presenceinlinelistitemview.js';const U={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0xbe470d{[_0x515929(0x15d)];[_0x515929(0x132)];[_0x515929(0x110)];[_0x515929(0x16f)];[_0x515929(0x159)]=null;static get[_0x515929(0x14c)](){const _0x5b9da9=_0x515929;return _0x5b9da9(0x167);}static get[_0x515929(0x147)](){return!0x0;}static get[_0x515929(0x14d)](){return!0x0;}constructor(_0x4fe83a){const _0x15a45a=_0x515929;super(_0x4fe83a),this[_0x15a45a(0x14a)][_0x15a45a(0x111)][_0x15a45a(0x16d)](_0x15a45a(0x112),U);const _0x56621e=_0x4fe83a[_0x15a45a(0x111)][_0x15a45a(0x172)](_0x15a45a(0x141));if(_0x15a45a(0x164)!=typeof _0x56621e)throw new _0x194baa(_0x15a45a(0x16a),this);if(_0x56621e<0x1)throw new _0x194baa(_0x15a45a(0x16a),this);this[_0x15a45a(0x139)]=this[_0x15a45a(0x14a)][_0x15a45a(0x123)][_0x15a45a(0x172)](_0x55604f)[_0x15a45a(0x152)],this[_0x15a45a(0x14e)](_0x15a45a(0x156),0x0),this[_0x15a45a(0x15d)]=new _0x1324f4(),this[_0x15a45a(0x132)]=new _0x25a447(),this[_0x15a45a(0x132)][_0x15a45a(0x135)]=_0x15a45a(0x14b),this[_0x15a45a(0x110)]=this[_0x15a45a(0x155)](),this[_0x15a45a(0x16f)]=void 0x0;}static get[_0x515929(0x15e)](){return[_0x55604f];}[_0x515929(0x13f)](){const _0x2c3dff=_0x515929;for(const _0x5d8e9e of this[_0x2c3dff(0x139)])this[_0x2c3dff(0x11c)](_0x5d8e9e);this[_0x2c3dff(0x15a)](this[_0x2c3dff(0x139)],_0x2c3dff(0x10f),(_0x4dd1af,_0x3c0e20)=>{const _0x322c2d=_0x2c3dff;this[_0x322c2d(0x11c)](_0x3c0e20);}),this[_0x2c3dff(0x15a)](this[_0x2c3dff(0x139)],_0x2c3dff(0x13c),(_0x46745b,_0x413d6f)=>{const _0x2a35c9=_0x2c3dff;this[_0x2a35c9(0x150)](_0x413d6f);});}[_0x515929(0x155)](){const _0x5e528c=_0x515929,_0x63293a=this[_0x5e528c(0x14a)],_0x1b0709=new _0xb4c624(this[_0x5e528c(0x14a)][_0x5e528c(0x168)],this[_0x5e528c(0x14a)][_0x5e528c(0x111)][_0x5e528c(0x172)](_0x5e528c(0x141))),_0x9c0838=this[_0x5e528c(0x132)];if(!_0x5d241c(_0x63293a[_0x5e528c(0x111)][_0x5e528c(0x172)](_0x5e528c(0x151))))throw new _0x194baa(_0x5e528c(0x128),this);return _0x1b0709[_0x5e528c(0x12e)][_0x5e528c(0x146)](_0x5e528c(0x156))['to'](this),_0x1b0709[_0x5e528c(0x146)](_0x5e528c(0x162))['to'](this,_0x5e528c(0x156),_0x2a5119=>{const _0x43a355=_0x5e528c,{collapseAt:_0xdf4dc8}=_0x63293a[_0x43a355(0x111)][_0x43a355(0x172)](_0x43a355(0x112)),_0x109157=_0x2a5119>=_0xdf4dc8;if(_0x109157&&!_0x1b0709[_0x43a355(0x130)][_0x43a355(0x118)][_0x43a355(0x173)](_0x304f09=>_0x304f09 instanceof _0x4a0907)){const _0x38bbf2=this[_0x43a355(0x14a)][_0x43a355(0x111)][_0x43a355(0x172)](_0x43a355(0x141))-0x1;this[_0x43a355(0x15d)][_0x43a355(0x170)]==_0x38bbf2&&this[_0x43a355(0x15d)][_0x43a355(0x170)]>0x1&&this[_0x43a355(0x15d)][_0x43a355(0x13c)](this[_0x43a355(0x15d)][_0x43a355(0x170)]-0x1),_0x1b0709[_0x43a355(0x130)][_0x43a355(0x118)][_0x43a355(0x10f)](_0x1b0709[_0x43a355(0x12e)]);}return _0x109157||this[_0x43a355(0x169)](),_0x109157;}),_0x1b0709[_0x5e528c(0x130)][_0x5e528c(0x118)][_0x5e528c(0x154)](this[_0x5e528c(0x15d)])[_0x5e528c(0x122)](_0x512076=>{const _0x1a78e0=_0x5e528c,_0x2cf600=_0x63293a[_0x1a78e0(0x111)][_0x1a78e0(0x172)](_0x1a78e0(0x112)),_0x1e1072=new _0x2380d5(_0x63293a[_0x1a78e0(0x168)],_0x512076,!!_0x2cf600[_0x1a78e0(0x116)]);return _0x1e1072[_0x1a78e0(0x146)](_0x1a78e0(0x12a))['to'](_0x1b0709,_0x1a78e0(0x162),_0x493ab7=>!_0x493ab7),_0x1e1072[_0x1a78e0(0x146)](_0x1a78e0(0x10a))['to'](_0x1b0709,_0x1a78e0(0x162),_0x3f8f3f=>!_0x3f8f3f),_0x2cf600[_0x1a78e0(0x116)]&&this[_0x1a78e0(0x15a)](_0x1e1072,_0x1a78e0(0x163),()=>{const _0x353618=_0x1a78e0;this[_0x353618(0x110)][_0x353618(0x162)]||_0x2cf600[_0x353618(0x116)](_0x512076,_0x1e1072[_0x353618(0x11d)]);}),_0x1e1072;}),this[_0x5e528c(0x15a)](_0x1b0709[_0x5e528c(0x130)],_0x5e528c(0x171),()=>{const _0x1a60c1=_0x5e528c;this[_0x1a60c1(0x110)][_0x1a60c1(0x162)]&&this[_0x1a60c1(0x133)]();}),this[_0x5e528c(0x15a)](_0x1b0709[_0x5e528c(0x130)],_0x5e528c(0x10e),()=>{const _0x5b0baf=_0x5e528c;this[_0x5b0baf(0x16f)]&&this[_0x5b0baf(0x169)]();}),_0x1b0709[_0x5e528c(0x130)][_0x5e528c(0x158)][_0x5e528c(0x14e)](_0x5e528c(0x12d),(_0x33777e,_0x21532e)=>{const _0x476ba0=_0x5e528c;this[_0x476ba0(0x110)][_0x476ba0(0x162)]&&(this[_0x476ba0(0x133)](),_0x21532e());}),_0x1b0709[_0x5e528c(0x142)](),_0x9c0838[_0x5e528c(0x142)](),_0x4afe8b({'emitter':_0x1b0709,'activator':()=>_0x9c0838[_0x5e528c(0x113)],'contextElements':[_0x9c0838[_0x5e528c(0x11d)],_0x1b0709[_0x5e528c(0x130)][_0x5e528c(0x11d)]],'callback':()=>this[_0x5e528c(0x169)]()}),_0x63293a[_0x5e528c(0x111)][_0x5e528c(0x172)](_0x5e528c(0x151))[_0x5e528c(0x16e)](_0x1b0709[_0x5e528c(0x11d)]),this[_0x5e528c(0x159)]=new _0x2278e5(this[_0x5e528c(0x14a)][_0x5e528c(0x168)]),this[_0x5e528c(0x159)][_0x5e528c(0x10b)](),this[_0x5e528c(0x159)][_0x5e528c(0x10f)](this[_0x5e528c(0x132)]),_0x1b0709;}[_0x515929(0x11c)](_0x4753fb){const _0x4434ce=_0x515929;if(!this[_0x4434ce(0x14a)][_0x4434ce(0x111)][_0x4434ce(0x172)](_0x4434ce(0x115))&&_0x4753fb[_0x4434ce(0x126)])return;const _0x29fc31=this[_0x4434ce(0x14a)][_0x4434ce(0x111)][_0x4434ce(0x172)](_0x4434ce(0x141))-0x1;for(this[_0x4434ce(0x156)]++;this[_0x4434ce(0x15d)][_0x4434ce(0x170)]>=_0x29fc31-(this[_0x4434ce(0x110)][_0x4434ce(0x162)]?0x1:0x0)&&this[_0x4434ce(0x15d)][_0x4434ce(0x170)]>0x1;)this[_0x4434ce(0x15d)][_0x4434ce(0x13c)](0x1);const _0x26edb0=_0x4753fb[_0x4434ce(0x126)]?0x0:this[_0x4434ce(0x15d)][_0x4434ce(0x170)];this[_0x4434ce(0x15d)][_0x4434ce(0x10f)](_0x4753fb,_0x26edb0);}[_0x515929(0x150)](_0x1917fd){const _0x54fda5=_0x515929;this[_0x54fda5(0x156)]--;const {collapseAt:_0x4b71a2}=this[_0x54fda5(0x14a)][_0x54fda5(0x111)][_0x54fda5(0x172)](_0x54fda5(0x112)),_0x5c97a8=this[_0x54fda5(0x156)]>=_0x4b71a2;if(this[_0x54fda5(0x15d)][_0x54fda5(0x172)](_0x1917fd['id']))this[_0x54fda5(0x15d)][_0x54fda5(0x13c)](_0x1917fd['id']);else{if(_0x5c97a8&&this[_0x54fda5(0x15d)][_0x54fda5(0x170)]+0x1===_0x4b71a2-0x1)return;}if(this[_0x54fda5(0x15d)][_0x54fda5(0x170)]+(_0x5c97a8?0x1:0x0)<this[_0x54fda5(0x156)]){for(const _0x1e7067 of Array[_0x54fda5(0x12b)](this[_0x54fda5(0x139)])[_0x54fda5(0x12c)]())if(!this[_0x54fda5(0x15d)][_0x54fda5(0x172)](_0x1e7067['id'])&&(this[_0x54fda5(0x15d)][_0x54fda5(0x10f)](_0x1e7067,Math[_0x54fda5(0x11e)](this[_0x54fda5(0x15d)][_0x54fda5(0x170)]-(_0x5c97a8?0x1:0x0),0x1)),this[_0x54fda5(0x15d)][_0x54fda5(0x170)]+(_0x5c97a8?0x1:0x0)===_0x4b71a2-0x1))return;}}[_0x515929(0x133)](){const _0x5d94df=_0x515929;if(this[_0x5d94df(0x16f)])return;const _0x2ce437=this[_0x5d94df(0x14a)][_0x5d94df(0x111)][_0x5d94df(0x172)](_0x5d94df(0x112));this[_0x5d94df(0x16f)]=new _0x5eb68d(this[_0x5d94df(0x14a)][_0x5d94df(0x168)],!!_0x2ce437[_0x5d94df(0x116)]),this[_0x5d94df(0x110)][_0x5d94df(0x130)][_0x5d94df(0x16c)]=!0x0,this[_0x5d94df(0x15a)](this[_0x5d94df(0x16f)],_0x5d94df(0x10e),()=>{const _0x120aef=_0x5d94df;this[_0x120aef(0x16f)]&&this[_0x120aef(0x169)]();});const {listWrapperView:_0x3d9486}=this[_0x5d94df(0x16f)];_0x3d9486[_0x5d94df(0x118)][_0x5d94df(0x154)](this[_0x5d94df(0x139)])[_0x5d94df(0x122)](_0x1f94db=>{const _0x1f6bed=_0x5d94df;if(!_0x2ce437[_0x1f6bed(0x11f)]&&_0x1f94db[_0x1f6bed(0x126)])return null;const _0x5d47c8=new _0x237c46(this[_0x1f6bed(0x14a)][_0x1f6bed(0x168)],_0x1f94db,!!_0x2ce437[_0x1f6bed(0x116)]);return _0x2ce437[_0x1f6bed(0x116)]&&this[_0x1f6bed(0x15a)](_0x5d47c8,_0x1f6bed(0x163),()=>{const _0x5eb7f7=_0x1f6bed;_0x2ce437[_0x5eb7f7(0x116)](_0x1f94db,_0x5d47c8[_0x5eb7f7(0x11d)]);}),_0x5d47c8;}),this[_0x5d94df(0x132)][_0x5d94df(0x161)][_0x5d94df(0x10f)](this[_0x5d94df(0x16f)]),this[_0x5d94df(0x132)][_0x5d94df(0x13a)]({'target':this[_0x5d94df(0x110)][_0x5d94df(0x130)][_0x5d94df(0x11d)]}),_0x3d9486[_0x5d94df(0x13b)](),_0x3d9486[_0x5d94df(0x160)]();const _0x6c8e2a=(_0x436f7f,_0x3107ff)=>{const _0xe14c75=_0x5d94df;this[_0xe14c75(0x169)](),this[_0xe14c75(0x110)][_0xe14c75(0x130)][_0xe14c75(0x13b)](),_0x3107ff();};_0x3d9486[_0x5d94df(0x158)][_0x5d94df(0x14e)](_0x5d94df(0x10d),_0x6c8e2a),_0x3d9486[_0x5d94df(0x158)][_0x5d94df(0x14e)](_0x5d94df(0x12f),_0x6c8e2a),_0x3d9486[_0x5d94df(0x158)][_0x5d94df(0x14e)](_0x5d94df(0x174),(_0x4820e0,_0x302c40)=>{const _0x85b29c=_0x5d94df;!function(_0x2f021a){const _0x255d48=_0x2ec1,_0x5aed68=['a',_0x255d48(0x148),_0x255d48(0x129),_0x255d48(0x138),_0x255d48(0x13e),_0x255d48(0x121),_0x255d48(0x15f)][_0x255d48(0x120)](_0x15f454=>_0x15f454+_0x255d48(0x157))[_0x255d48(0x153)](','),_0x4e9759=[...document[_0x255d48(0x119)][_0x255d48(0x16b)](_0x5aed68)][_0x255d48(0x137)](_0x40d90a=>_0x40d90a===document[_0x255d48(0x13d)]||_0x40d90a[_0x255d48(0x136)]+_0x40d90a[_0x255d48(0x143)]>0x0)[_0x255d48(0x114)]((_0x3e00cd,_0x3e1901)=>(_0x3e00cd[_0x255d48(0x15c)]||0x0)-(_0x3e1901[_0x255d48(0x15c)]||0x0)),_0x74e8b7=_0x4e9759[_0x255d48(0x166)](_0x2f021a),_0x15416c=_0x4e9759[(_0x74e8b7+0x1)%_0x4e9759[_0x255d48(0x170)]];_0x15416c&&_0x15416c[_0x255d48(0x13b)]();}(this[_0x85b29c(0x110)][_0x85b29c(0x11d)]),this[_0x85b29c(0x169)](),_0x302c40();}),_0x3d9486[_0x5d94df(0x11a)][_0x5d94df(0x10f)](this[_0x5d94df(0x110)][_0x5d94df(0x11d)]),_0x3d9486[_0x5d94df(0x11a)]['on'](_0x5d94df(0x117),(_0x26ceb8,_0x3ce89a,_0x1498cb)=>{const _0x5b6f26=_0x5d94df;_0x1498cb||this[_0x5b6f26(0x169)]();});}[_0x515929(0x169)](){const _0x1f0ef5=_0x515929;this[_0x1f0ef5(0x16f)]&&(this[_0x1f0ef5(0x110)][_0x1f0ef5(0x130)][_0x1f0ef5(0x16c)]=!0x1,this[_0x1f0ef5(0x132)][_0x1f0ef5(0x124)](),this[_0x1f0ef5(0x132)][_0x1f0ef5(0x161)][_0x1f0ef5(0x13c)](this[_0x1f0ef5(0x16f)]),this[_0x1f0ef5(0x16f)][_0x1f0ef5(0x134)](),this[_0x1f0ef5(0x16f)]=void 0x0);}[_0x515929(0x134)](){const _0x1f410a=_0x515929;super[_0x1f410a(0x134)](),this[_0x1f410a(0x110)]&&this[_0x1f410a(0x110)][_0x1f410a(0x149)]&&this[_0x1f410a(0x110)][_0x1f410a(0x134)](),this[_0x1f410a(0x159)]&&(this[_0x1f410a(0x159)][_0x1f410a(0x145)](),this[_0x1f410a(0x159)][_0x1f410a(0x134)](),this[_0x1f410a(0x159)]=null);}}
|
|
23
|
+
const _0x3aab1c=_0x5acb;(function(_0x5e12ab,_0xae88e9){const _0x17b44a=_0x5acb,_0x3c9801=_0x5e12ab();while(!![]){try{const _0x3a5d7b=-parseInt(_0x17b44a(0x195))/0x1+-parseInt(_0x17b44a(0x188))/0x2*(-parseInt(_0x17b44a(0x1c8))/0x3)+parseInt(_0x17b44a(0x1a0))/0x4*(parseInt(_0x17b44a(0x190))/0x5)+parseInt(_0x17b44a(0x17d))/0x6+-parseInt(_0x17b44a(0x1d4))/0x7*(-parseInt(_0x17b44a(0x184))/0x8)+parseInt(_0x17b44a(0x177))/0x9+-parseInt(_0x17b44a(0x1dd))/0xa*(parseInt(_0x17b44a(0x1de))/0xb);if(_0x3a5d7b===_0xae88e9)break;else _0x3c9801['push'](_0x3c9801['shift']());}catch(_0x4d336e){_0x3c9801['push'](_0x3c9801['shift']());}}}(_0x5f23,0x37e9b));import{ContextPlugin as _0x41a8f1}from'ckeditor5/src/core.js';import{CKEditorError as _0x1143c2,Collection as _0x5275f5}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x2bb11e,BalloonPanelView as _0x119daf,BodyCollection as _0x291f49}from'ckeditor5/src/ui.js';import{isElement as _0x40d1a0}from'es-toolkit/compat';import{Sessions as _0x26c724}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x118365}from'./view/presencelistview.js';import{PresenceCounterView as _0x2b780e}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x5b1608}from'./view/presencedropdownlistview.js';function _0x5acb(_0x37d2ed,_0x13f3d6){const _0x5f2388=_0x5f23();return _0x5acb=function(_0x5acbda,_0x1ced25){_0x5acbda=_0x5acbda-0x175;let _0x2d3a3a=_0x5f2388[_0x5acbda];return _0x2d3a3a;},_0x5acb(_0x37d2ed,_0x13f3d6);}import{PresenceDropdownListItemView as _0x318697}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0xabe405}from'./view/presenceinlinelistitemview.js';function _0x5f23(){const _0x1ef725=['balloonPanelView','checkIfScrollable','execute','isCollapsed','indexOf','232923zDxJcf','presenceList','listenTo','inlineListView','bind',':not([disabled]):not([tabindex=\x22-1\x22])','focus','isFocusable','currentDisplayedUsers','Shift+Tab','keystrokes','_handleUserAdd','7LWABrm','min','_allConnectedUsers','hideDropdown','onClick','hasTooltip','class','bindTo','input','14543950ofOPhr','11inkAxK','change:isFocused','presencelist:hide','items','element','3966579OzNuTI','showDropdown','activeElement','locale','isMe','render','1197222HtSImq','plugins','isOfficialPlugin','requires','usersCount','pin','presencelist:show','3571944ckeRAL','button','set','remove','6CQdPZy','using','Tab','offsetWidth','[tabindex]','presenceList.displayMe','allConnectedUsers','view','40GwASwN','sort','offsetHeight','from','pluginName','80494sfBSPJ','isExpanded','displayMe','presenceList.container','counterView','config','tabIndex','get','number','attachToDom','Enter','222112QZsLqC','length','Esc','detachFromDom','define','isVisible','presenceDropdownView','reverse','focusTracker','PresenceListUI','_createView','appendChild','presenceList.collapseAt','unpin','isPremiumPlugin','textarea','init','isRendered','content','context','_handleUserRemove','[contenteditable]','map','join','querySelectorAll','ck\x20ck-presence-list__balloon','_bodyCollection','destroy','presencelist-missing-container','filter','body','select','presencelist-collapseat-invalid-format','add','find'];_0x5f23=function(){return _0x1ef725;};return _0x5f23();}const x={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x41a8f1{[_0x3aab1c(0x1d0)];[_0x3aab1c(0x1c3)];[_0x3aab1c(0x18f)];[_0x3aab1c(0x1a6)];[_0x3aab1c(0x1ba)]=null;static get[_0x3aab1c(0x194)](){const _0x189eb4=_0x3aab1c;return _0x189eb4(0x1a9);}static get[_0x3aab1c(0x17f)](){return!0x0;}static get[_0x3aab1c(0x1ae)](){return!0x0;}constructor(_0x4f61ea){const _0x33982d=_0x3aab1c;super(_0x4f61ea),this[_0x33982d(0x1b3)][_0x33982d(0x19a)][_0x33982d(0x1a4)](_0x33982d(0x1c9),x);const _0x29db06=_0x4f61ea[_0x33982d(0x19a)][_0x33982d(0x19c)](_0x33982d(0x1ac));if(_0x33982d(0x19d)!=typeof _0x29db06)throw new _0x1143c2(_0x33982d(0x1c0),this);if(_0x29db06<0x1)throw new _0x1143c2(_0x33982d(0x1c0),this);this[_0x33982d(0x1d6)]=this[_0x33982d(0x1b3)][_0x33982d(0x17e)][_0x33982d(0x19c)](_0x26c724)[_0x33982d(0x18e)],this[_0x33982d(0x186)](_0x33982d(0x181),0x0),this[_0x33982d(0x1d0)]=new _0x5275f5(),this[_0x33982d(0x1c3)]=new _0x119daf(),this[_0x33982d(0x1c3)][_0x33982d(0x1da)]=_0x33982d(0x1b9),this[_0x33982d(0x18f)]=this[_0x33982d(0x1aa)](),this[_0x33982d(0x1a6)]=void 0x0;}static get[_0x3aab1c(0x180)](){return[_0x26c724];}[_0x3aab1c(0x1b0)](){const _0xcc9fa9=_0x3aab1c;for(const _0x20fcfb of this[_0xcc9fa9(0x1d6)])this[_0xcc9fa9(0x1d3)](_0x20fcfb);this[_0xcc9fa9(0x1ca)](this[_0xcc9fa9(0x1d6)],_0xcc9fa9(0x1c1),(_0x4ffa4a,_0x4ca829)=>{const _0xe6d3d2=_0xcc9fa9;this[_0xe6d3d2(0x1d3)](_0x4ca829);}),this[_0xcc9fa9(0x1ca)](this[_0xcc9fa9(0x1d6)],_0xcc9fa9(0x187),(_0x5595d5,_0x30e242)=>{const _0x1cccdb=_0xcc9fa9;this[_0x1cccdb(0x1b4)](_0x30e242);});}[_0x3aab1c(0x1aa)](){const _0x5624ae=_0x3aab1c,_0x2f22bd=this[_0x5624ae(0x1b3)],_0x41916b=new _0x118365(this[_0x5624ae(0x1b3)][_0x5624ae(0x17a)],this[_0x5624ae(0x1b3)][_0x5624ae(0x19a)][_0x5624ae(0x19c)](_0x5624ae(0x1ac))),_0x1d937d=this[_0x5624ae(0x1c3)];if(!_0x40d1a0(_0x2f22bd[_0x5624ae(0x19a)][_0x5624ae(0x19c)](_0x5624ae(0x198))))throw new _0x1143c2(_0x5624ae(0x1bc),this);return _0x41916b[_0x5624ae(0x199)][_0x5624ae(0x1cc)](_0x5624ae(0x181))['to'](this),_0x41916b[_0x5624ae(0x1cc)](_0x5624ae(0x1c6))['to'](this,_0x5624ae(0x181),_0x201771=>{const _0x207588=_0x5624ae,{collapseAt:_0x157c6a}=_0x2f22bd[_0x207588(0x19a)][_0x207588(0x19c)](_0x207588(0x1c9)),_0x4525b9=_0x201771>=_0x157c6a;if(_0x4525b9&&!_0x41916b[_0x207588(0x1cb)][_0x207588(0x175)][_0x207588(0x1c2)](_0x23ea99=>_0x23ea99 instanceof _0x2b780e)){const _0xba050e=this[_0x207588(0x1b3)][_0x207588(0x19a)][_0x207588(0x19c)](_0x207588(0x1ac))-0x1;this[_0x207588(0x1d0)][_0x207588(0x1a1)]==_0xba050e&&this[_0x207588(0x1d0)][_0x207588(0x1a1)]>0x1&&this[_0x207588(0x1d0)][_0x207588(0x187)](this[_0x207588(0x1d0)][_0x207588(0x1a1)]-0x1),_0x41916b[_0x207588(0x1cb)][_0x207588(0x175)][_0x207588(0x1c1)](_0x41916b[_0x207588(0x199)]);}return _0x4525b9||this[_0x207588(0x1d7)](),_0x4525b9;}),_0x41916b[_0x5624ae(0x1cb)][_0x5624ae(0x175)][_0x5624ae(0x1db)](this[_0x5624ae(0x1d0)])[_0x5624ae(0x189)](_0x1a3bfa=>{const _0x224521=_0x5624ae,_0x3ec23c=_0x2f22bd[_0x224521(0x19a)][_0x224521(0x19c)](_0x224521(0x1c9)),_0x277449=new _0xabe405(_0x2f22bd[_0x224521(0x17a)],_0x1a3bfa,!!_0x3ec23c[_0x224521(0x1d8)]);return _0x277449[_0x224521(0x1cc)](_0x224521(0x1d9))['to'](_0x41916b,_0x224521(0x1c6),_0x292c75=>!_0x292c75),_0x277449[_0x224521(0x1cc)](_0x224521(0x1cf))['to'](_0x41916b,_0x224521(0x1c6),_0x1f44f8=>!_0x1f44f8),_0x3ec23c[_0x224521(0x1d8)]&&this[_0x224521(0x1ca)](_0x277449,_0x224521(0x1c5),()=>{const _0xfe1086=_0x224521;this[_0xfe1086(0x18f)][_0xfe1086(0x1c6)]||_0x3ec23c[_0xfe1086(0x1d8)](_0x1a3bfa,_0x277449[_0xfe1086(0x176)]);}),_0x277449;}),this[_0x5624ae(0x1ca)](_0x41916b[_0x5624ae(0x1cb)],_0x5624ae(0x183),()=>{const _0x24d919=_0x5624ae;this[_0x24d919(0x18f)][_0x24d919(0x1c6)]&&this[_0x24d919(0x178)]();}),this[_0x5624ae(0x1ca)](_0x41916b[_0x5624ae(0x1cb)],_0x5624ae(0x1e0),()=>{const _0x314fae=_0x5624ae;this[_0x314fae(0x1a6)]&&this[_0x314fae(0x1d7)]();}),_0x41916b[_0x5624ae(0x1cb)][_0x5624ae(0x1d2)][_0x5624ae(0x186)](_0x5624ae(0x19f),(_0x10afdd,_0x58d660)=>{const _0x4aefc4=_0x5624ae;this[_0x4aefc4(0x18f)][_0x4aefc4(0x1c6)]&&(this[_0x4aefc4(0x178)](),_0x58d660());}),_0x41916b[_0x5624ae(0x17c)](),_0x1d937d[_0x5624ae(0x17c)](),_0x2bb11e({'emitter':_0x41916b,'activator':()=>_0x1d937d[_0x5624ae(0x1a5)],'contextElements':[_0x1d937d[_0x5624ae(0x176)],_0x41916b[_0x5624ae(0x1cb)][_0x5624ae(0x176)]],'callback':()=>this[_0x5624ae(0x1d7)]()}),_0x2f22bd[_0x5624ae(0x19a)][_0x5624ae(0x19c)](_0x5624ae(0x198))[_0x5624ae(0x1ab)](_0x41916b[_0x5624ae(0x176)]),this[_0x5624ae(0x1ba)]=new _0x291f49(this[_0x5624ae(0x1b3)][_0x5624ae(0x17a)]),this[_0x5624ae(0x1ba)][_0x5624ae(0x19e)](),this[_0x5624ae(0x1ba)][_0x5624ae(0x1c1)](this[_0x5624ae(0x1c3)]),_0x41916b;}[_0x3aab1c(0x1d3)](_0x71dafd){const _0x48436c=_0x3aab1c;if(!this[_0x48436c(0x1b3)][_0x48436c(0x19a)][_0x48436c(0x19c)](_0x48436c(0x18d))&&_0x71dafd[_0x48436c(0x17b)])return;const _0x4a2ad6=this[_0x48436c(0x1b3)][_0x48436c(0x19a)][_0x48436c(0x19c)](_0x48436c(0x1ac))-0x1;for(this[_0x48436c(0x181)]++;this[_0x48436c(0x1d0)][_0x48436c(0x1a1)]>=_0x4a2ad6-(this[_0x48436c(0x18f)][_0x48436c(0x1c6)]?0x1:0x0)&&this[_0x48436c(0x1d0)][_0x48436c(0x1a1)]>0x1;)this[_0x48436c(0x1d0)][_0x48436c(0x187)](0x1);const _0x1910e3=_0x71dafd[_0x48436c(0x17b)]?0x0:this[_0x48436c(0x1d0)][_0x48436c(0x1a1)];this[_0x48436c(0x1d0)][_0x48436c(0x1c1)](_0x71dafd,_0x1910e3);}[_0x3aab1c(0x1b4)](_0x192cb7){const _0x3ebb1e=_0x3aab1c;this[_0x3ebb1e(0x181)]--;const {collapseAt:_0x2ce72b}=this[_0x3ebb1e(0x1b3)][_0x3ebb1e(0x19a)][_0x3ebb1e(0x19c)](_0x3ebb1e(0x1c9)),_0x2de340=this[_0x3ebb1e(0x181)]>=_0x2ce72b;if(this[_0x3ebb1e(0x1d0)][_0x3ebb1e(0x19c)](_0x192cb7['id']))this[_0x3ebb1e(0x1d0)][_0x3ebb1e(0x187)](_0x192cb7['id']);else{if(_0x2de340&&this[_0x3ebb1e(0x1d0)][_0x3ebb1e(0x1a1)]+0x1===_0x2ce72b-0x1)return;}if(this[_0x3ebb1e(0x1d0)][_0x3ebb1e(0x1a1)]+(_0x2de340?0x1:0x0)<this[_0x3ebb1e(0x181)]){for(const _0x13fdf3 of Array[_0x3ebb1e(0x193)](this[_0x3ebb1e(0x1d6)])[_0x3ebb1e(0x1a7)]())if(!this[_0x3ebb1e(0x1d0)][_0x3ebb1e(0x19c)](_0x13fdf3['id'])&&(this[_0x3ebb1e(0x1d0)][_0x3ebb1e(0x1c1)](_0x13fdf3,Math[_0x3ebb1e(0x1d5)](this[_0x3ebb1e(0x1d0)][_0x3ebb1e(0x1a1)]-(_0x2de340?0x1:0x0),0x1)),this[_0x3ebb1e(0x1d0)][_0x3ebb1e(0x1a1)]+(_0x2de340?0x1:0x0)===_0x2ce72b-0x1))return;}}[_0x3aab1c(0x178)](){const _0xed961f=_0x3aab1c;if(this[_0xed961f(0x1a6)])return;const _0x5e0718=this[_0xed961f(0x1b3)][_0xed961f(0x19a)][_0xed961f(0x19c)](_0xed961f(0x1c9));this[_0xed961f(0x1a6)]=new _0x5b1608(this[_0xed961f(0x1b3)][_0xed961f(0x17a)],!!_0x5e0718[_0xed961f(0x1d8)]),this[_0xed961f(0x18f)][_0xed961f(0x1cb)][_0xed961f(0x196)]=!0x0,this[_0xed961f(0x1ca)](this[_0xed961f(0x1a6)],_0xed961f(0x1e0),()=>{const _0x455a81=_0xed961f;this[_0x455a81(0x1a6)]&&this[_0x455a81(0x1d7)]();});const {listWrapperView:_0x21a6b3}=this[_0xed961f(0x1a6)];_0x21a6b3[_0xed961f(0x175)][_0xed961f(0x1db)](this[_0xed961f(0x1d6)])[_0xed961f(0x189)](_0x152166=>{const _0x437535=_0xed961f;if(!_0x5e0718[_0x437535(0x197)]&&_0x152166[_0x437535(0x17b)])return null;const _0x33d438=new _0x318697(this[_0x437535(0x1b3)][_0x437535(0x17a)],_0x152166,!!_0x5e0718[_0x437535(0x1d8)]);return _0x5e0718[_0x437535(0x1d8)]&&this[_0x437535(0x1ca)](_0x33d438,_0x437535(0x1c5),()=>{const _0x28c9db=_0x437535;_0x5e0718[_0x28c9db(0x1d8)](_0x152166,_0x33d438[_0x28c9db(0x176)]);}),_0x33d438;}),this[_0xed961f(0x1c3)][_0xed961f(0x1b2)][_0xed961f(0x1c1)](this[_0xed961f(0x1a6)]),this[_0xed961f(0x1c3)][_0xed961f(0x182)]({'target':this[_0xed961f(0x18f)][_0xed961f(0x1cb)][_0xed961f(0x176)]}),_0x21a6b3[_0xed961f(0x1ce)](),_0x21a6b3[_0xed961f(0x1c4)]();const _0x426ea6=(_0x22d8cc,_0x3cd887)=>{const _0x4f1a8c=_0xed961f;this[_0x4f1a8c(0x1d7)](),this[_0x4f1a8c(0x18f)][_0x4f1a8c(0x1cb)][_0x4f1a8c(0x1ce)](),_0x3cd887();};_0x21a6b3[_0xed961f(0x1d2)][_0xed961f(0x186)](_0xed961f(0x1a2),_0x426ea6),_0x21a6b3[_0xed961f(0x1d2)][_0xed961f(0x186)](_0xed961f(0x1d1),_0x426ea6),_0x21a6b3[_0xed961f(0x1d2)][_0xed961f(0x186)](_0xed961f(0x18a),(_0x386a59,_0x2f173b)=>{const _0x39a6c2=_0xed961f;!function(_0x52979a){const _0x2d485c=_0x5acb,_0x3c5a09=['a',_0x2d485c(0x185),_0x2d485c(0x1dc),_0x2d485c(0x1bf),_0x2d485c(0x1af),_0x2d485c(0x18c),_0x2d485c(0x1b5)][_0x2d485c(0x1b6)](_0x1363e8=>_0x1363e8+_0x2d485c(0x1cd))[_0x2d485c(0x1b7)](','),_0x535360=[...document[_0x2d485c(0x1be)][_0x2d485c(0x1b8)](_0x3c5a09)][_0x2d485c(0x1bd)](_0x5eb535=>_0x5eb535===document[_0x2d485c(0x179)]||_0x5eb535[_0x2d485c(0x18b)]+_0x5eb535[_0x2d485c(0x192)]>0x0)[_0x2d485c(0x191)]((_0x1da420,_0x2e55e0)=>(_0x1da420[_0x2d485c(0x19b)]||0x0)-(_0x2e55e0[_0x2d485c(0x19b)]||0x0)),_0x284473=_0x535360[_0x2d485c(0x1c7)](_0x52979a),_0x4c6476=_0x535360[(_0x284473+0x1)%_0x535360[_0x2d485c(0x1a1)]];_0x4c6476&&_0x4c6476[_0x2d485c(0x1ce)]();}(this[_0x39a6c2(0x18f)][_0x39a6c2(0x176)]),this[_0x39a6c2(0x1d7)](),_0x2f173b();}),_0x21a6b3[_0xed961f(0x1a8)][_0xed961f(0x1c1)](this[_0xed961f(0x18f)][_0xed961f(0x176)]),_0x21a6b3[_0xed961f(0x1a8)]['on'](_0xed961f(0x1df),(_0x5a903c,_0x461edd,_0x31d702)=>{const _0x27d152=_0xed961f;_0x31d702||this[_0x27d152(0x1d7)]();});}[_0x3aab1c(0x1d7)](){const _0x1d3412=_0x3aab1c;this[_0x1d3412(0x1a6)]&&(this[_0x1d3412(0x18f)][_0x1d3412(0x1cb)][_0x1d3412(0x196)]=!0x1,this[_0x1d3412(0x1c3)][_0x1d3412(0x1ad)](),this[_0x1d3412(0x1c3)][_0x1d3412(0x1b2)][_0x1d3412(0x187)](this[_0x1d3412(0x1a6)]),this[_0x1d3412(0x1a6)][_0x1d3412(0x1bb)](),this[_0x1d3412(0x1a6)]=void 0x0);}[_0x3aab1c(0x1bb)](){const _0x5f370e=_0x3aab1c;super[_0x5f370e(0x1bb)](),this[_0x5f370e(0x18f)]&&this[_0x5f370e(0x18f)][_0x5f370e(0x1b1)]&&this[_0x5f370e(0x18f)][_0x5f370e(0x1bb)](),this[_0x5f370e(0x1ba)]&&(this[_0x5f370e(0x1ba)][_0x5f370e(0x1a3)](),this[_0x5f370e(0x1ba)][_0x5f370e(0x1bb)](),this[_0x5f370e(0x1ba)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5861(_0x4c67b4,_0x5cadb0){const _0x17fafd=_0x17fa();return _0x5861=function(_0x58617c,_0x1323b3){_0x58617c=_0x58617c-0x168;let _0x473e19=_0x17fafd[_0x58617c];return _0x473e19;},_0x5861(_0x4c67b4,_0x5cadb0);}const _0x136307=_0x5861;(function(_0x40378d,_0xf7ffa8){const _0x447035=_0x5861,_0x2b1b16=_0x40378d();while(!![]){try{const _0x2ecbe2=parseInt(_0x447035(0x174))/0x1+parseInt(_0x447035(0x173))/0x2+-parseInt(_0x447035(0x180))/0x3+-parseInt(_0x447035(0x170))/0x4+-parseInt(_0x447035(0x171))/0x5+-parseInt(_0x447035(0x172))/0x6*(parseInt(_0x447035(0x168))/0x7)+parseInt(_0x447035(0x17a))/0x8;if(_0x2ecbe2===_0xf7ffa8)break;else _0x2b1b16['push'](_0x2b1b16['shift']());}catch(_0x3c273d){_0x2b1b16['push'](_0x2b1b16['shift']());}}}(_0x17fa,0x4b7dc));import{ListItemView as _0x55b545}from'ckeditor5/src/ui.js';import{UserView as _0x4a1483}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x17fa(){const _0x40fc26=['fire','61062EPRXYF','tag','93772ljXGno','element','color','focus','true','setTemplate','button','getBackgroundColorClass','234728VqEcva','1320405vWtzbQ','198fbSmqK','540882oATerK','262011YpYOgC','execute','presentation','ck-user__full-name','userView','ck-presence-list__marker','4495560wDklZu','bindTemplate','ck-presence-list__dropdown-list-item','span','name'];_0x17fa=function(){return _0x40fc26;};return _0x17fa();}export class PresenceDropdownListItemView extends _0x55b545{[_0x136307(0x178)];constructor(_0x1d5040,_0x450f19,_0x10deee){const _0x187713=_0x136307;super(_0x1d5040);const _0xe5f2fd=this[_0x187713(0x17b)];this[_0x187713(0x178)]=new _0x4a1483(_0x1d5040,_0x450f19);const _0x25b248={'tag':'li','attributes':{'class':['ck',_0x187713(0x17c)],'tabindex':-0x1,'role':_0x187713(0x176),'aria-label':_0x450f19[_0x187713(0x17e)]},'children':[this[_0x187713(0x178)],{'tag':_0x187713(0x17d),'attributes':{'class':['ck',_0x187713(0x177)]},'children':[{'text':_0x450f19[_0x187713(0x17e)]}]},{'tag':_0x187713(0x17d),'attributes':{'class':['ck',_0x187713(0x179),_0x450f19[_0x187713(0x16a)][_0x187713(0x16f)]()],'aria-hidden':_0x187713(0x16c)}}]};_0x10deee&&(_0x25b248[_0x187713(0x181)]=_0x187713(0x16e),_0x25b248['on']={'click':_0xe5f2fd['to'](()=>this[_0x187713(0x17f)](_0x187713(0x175)))}),this[_0x187713(0x16d)](_0x25b248);}[_0x136307(0x16b)](){const _0x59b4e6=_0x136307;this[_0x59b4e6(0x169)][_0x59b4e6(0x16b)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2380da=_0x179c;function _0x13f1(){const _0x32c910=['165uVqHHs','_isScrollable','innerHeight','resize','2396478AznpoD','role','div','change','window','267564LdokpJ','ck-reset','2776PzSNIY','setTemplate','.ck-balloon-panel_with-arrow','227511GmvpHX','3794484HIDBVb','relatedTarget','ck-presence-list__dropdown-list-wrapper','ck-presence-list__dropdown-list-wrapper_scrollable','clientHeight','ck-presence-list__dropdown-list','max','bindTemplate','4uhYCoi','10791TfoyvE','scrollHeight','listenTo','412924xVVzOR','contains','2308230cISBTG','presencelist:hide','application','querySelector','ck-list','ariaLabel','listWrapperView','ariaLabelledBy','checkIfScrollable','.ck-presence-list__list','items','element','set','fire','Connected\x20users\x20list\x20dropdown\x20menu','render'];_0x13f1=function(){return _0x32c910;};return _0x13f1();}(function(_0xc381be,_0x271873){const _0x12e984=_0x179c,_0x2239cf=_0xc381be();while(!![]){try{const _0x342931=-parseInt(_0x12e984(0x177))/0x1+parseInt(_0x12e984(0x184))/0x2+parseInt(_0x12e984(0x178))/0x3*(parseInt(_0x12e984(0x180))/0x4)+parseInt(_0x12e984(0x169))/0x5*(-parseInt(_0x12e984(0x172))/0x6)+parseInt(_0x12e984(0x16d))/0x7+-parseInt(_0x12e984(0x174))/0x8*(-parseInt(_0x12e984(0x181))/0x9)+parseInt(_0x12e984(0x186))/0xa;if(_0x342931===_0x271873)break;else _0x2239cf['push'](_0x2239cf['shift']());}catch(_0x1f2707){_0x2239cf['push'](_0x2239cf['shift']());}}}(_0x13f1,0xb9e3f));import{ListView as _0x50d122,View as _0x5de20d}from'ckeditor5/src/ui.js';import{global as _0x2b2f16}from'ckeditor5/src/utils.js';import{getTranslation as _0x5acf8a}from'../../common-translations.js';function _0x179c(_0x2506a5,_0x29b43e){const _0x13f184=_0x13f1();return _0x179c=function(_0x179c2a,_0x28db14){_0x179c2a=_0x179c2a-0x15a;let _0x33957b=_0x13f184[_0x179c2a];return _0x33957b;},_0x179c(_0x2506a5,_0x29b43e);}export class PresenceDropdownListView extends _0x5de20d{[_0x2380da(0x15f)];constructor(_0x4a516e,_0x572f90){const _0x41739c=_0x2380da;super(_0x4a516e);const _0x29eb4e=this[_0x41739c(0x17f)];this[_0x41739c(0x15f)]=new PresenceDropdownListWrapperView(_0x4a516e,_0x572f90),this[_0x41739c(0x175)]({'tag':_0x41739c(0x16f),'attributes':{'tabindex':-0x1,'role':_0x41739c(0x15b),'class':['ck',_0x41739c(0x17d)],'aria-label':_0x5acf8a(_0x4a516e,_0x41739c(0x167))},'children':[this[_0x41739c(0x15f)]],'on':{'mouseleave':_0x29eb4e['to'](_0x4714f2=>{const _0x751658=_0x41739c,_0x119c66=_0x4714f2,_0x3b2dc5=document[_0x751658(0x15c)](_0x751658(0x162)),_0x167fe7=document[_0x751658(0x15c)](_0x751658(0x176));_0x3b2dc5?.[_0x751658(0x185)](_0x119c66[_0x751658(0x179)])||_0x167fe7?.[_0x751658(0x185)](_0x119c66[_0x751658(0x179)])||this[_0x751658(0x166)](_0x751658(0x15a));})}});}}export class PresenceDropdownListWrapperView extends _0x50d122{constructor(_0xdb578f,_0x336fd0){const _0x3ff059=_0x2380da;super(_0xdb578f);const _0x456a32=this[_0x3ff059(0x17f)];this[_0x3ff059(0x165)](_0x3ff059(0x16a),!0x1),this[_0x3ff059(0x175)]({'tag':_0x336fd0?_0x3ff059(0x16f):'ul','attributes':{'class':['ck',_0x3ff059(0x173),_0x3ff059(0x15d),_0x3ff059(0x17a),_0x456a32['if'](_0x3ff059(0x16a),_0x3ff059(0x17b))],'role':_0x456a32['to'](_0x3ff059(0x16e)),'aria-label':_0x456a32['to'](_0x3ff059(0x15e)),'aria-labelledby':_0x456a32['to'](_0x3ff059(0x160))},'children':this[_0x3ff059(0x163)]}),this[_0x3ff059(0x183)](_0x2b2f16[_0x3ff059(0x171)],_0x3ff059(0x16c),()=>this[_0x3ff059(0x161)]()),this[_0x3ff059(0x163)]['on'](_0x3ff059(0x170),()=>this[_0x3ff059(0x161)]());}[_0x2380da(0x168)](){const _0x2bee0b=_0x2380da;super[_0x2bee0b(0x168)](),this[_0x2bee0b(0x161)]();}[_0x2380da(0x161)](){const _0x2e8a24=_0x2380da,_0x1263b3=this[_0x2e8a24(0x164)];_0x1263b3&&(this[_0x2e8a24(0x16a)]=Math[_0x2e8a24(0x17e)](_0x1263b3[_0x2e8a24(0x182)],_0x1263b3[_0x2e8a24(0x17c)])>0.8*window[_0x2e8a24(0x16b)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x35b49c=_0x5cd5;(function(_0x9d78f5,_0x1739cc){const _0x49855c=_0x5cd5,_0x38c2ab=_0x9d78f5();while(!![]){try{const _0x1c63d0=-parseInt(_0x49855c(0xcf))/0x1+parseInt(_0x49855c(0xd8))/0x2+parseInt(_0x49855c(0xd2))/0x3*(parseInt(_0x49855c(0xcd))/0x4)+parseInt(_0x49855c(0xde))/0x5*(parseInt(_0x49855c(0xe8))/0x6)+parseInt(_0x49855c(0xeb))/0x7*(parseInt(_0x49855c(0xcb))/0x8)+-parseInt(_0x49855c(0xce))/0x9+parseInt(_0x49855c(0xdf))/0xa;if(_0x1c63d0===_0x1739cc)break;else _0x38c2ab['push'](_0x38c2ab['shift']());}catch(_0x53c87c){_0x38c2ab['push'](_0x38c2ab['shift']());}}}(_0x11de,0xb6555));import{LabelView as _0x1292f7,View as _0x47a0c8}from'ckeditor5/src/ui.js';import{UserView as _0x302a0b}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x47a0c8{[_0x35b49c(0xe2)];[_0x35b49c(0xd4)];constructor(_0x116eb9,_0x31be85,_0x43ff3f){const _0x5422ae=_0x35b49c;super(_0x116eb9);const _0x4004c4=this[_0x5422ae(0xda)];this[_0x5422ae(0xe9)](_0x5422ae(0xdd),!0x1),this[_0x5422ae(0xe9)](_0x5422ae(0xea),!0x0),this[_0x5422ae(0xe9)](_0x5422ae(0xd5),''),this[_0x5422ae(0xe2)]=new _0x302a0b(_0x116eb9,_0x31be85),this[_0x5422ae(0xd4)]=new nt(_0x116eb9,_0x31be85);const _0x351493=new _0x1292f7(_0x116eb9);_0x351493[_0x5422ae(0xe7)][_0x5422ae(0xd1)]=_0x5422ae(0xcc),_0x351493[_0x5422ae(0xe3)]=_0x31be85[_0x5422ae(0xe1)];const _0x1c28a1={'tag':_0x5422ae(0xd7),'attributes':{'class':['ck',_0x5422ae(0xe6)],'role':_0x5422ae(0xd6),'tabindex':_0x4004c4['to'](_0x5422ae(0xdd),_0x49344b=>!!_0x49344b&&0x0),'aria-labelledby':_0x351493['id'],'data-cke-tooltip-text':this[_0x5422ae(0xe2)][_0x5422ae(0xe1)],'data-cke-tooltip-position':_0x4004c4['to'](_0x5422ae(0xd5)),'data-cke-tooltip-disabled':_0x4004c4['to'](_0x5422ae(0xea),_0x47bbf8=>!_0x47bbf8),'data-cke-tooltip-class':_0x5422ae(0xe4)},'children':[this[_0x5422ae(0xe2)],this[_0x5422ae(0xd4)],_0x351493]};_0x43ff3f&&(_0x1c28a1[_0x5422ae(0xd1)]=_0x5422ae(0xd3),_0x1c28a1['on']={'click':_0x4004c4['to'](()=>this[_0x5422ae(0xec)](_0x5422ae(0xdc)))}),this[_0x5422ae(0xe5)](_0x1c28a1);}}class nt extends _0x47a0c8{constructor(_0x48b34d,_0x26a0ea){const _0x1b67e7=_0x35b49c;super(_0x48b34d),this[_0x1b67e7(0xe5)]({'tag':_0x1b67e7(0xcc),'attributes':{'class':['ck',_0x1b67e7(0xd0),_0x26a0ea[_0x1b67e7(0xe0)][_0x1b67e7(0xd9)]()],'aria-hidden':_0x1b67e7(0xdb)}});}}function _0x5cd5(_0x448b46,_0x2916de){const _0x11de19=_0x11de();return _0x5cd5=function(_0x5cd50f,_0x4e2e77){_0x5cd50f=_0x5cd50f-0xcb;let _0x214b41=_0x11de19[_0x5cd50f];return _0x214b41;},_0x5cd5(_0x448b46,_0x2916de);}function _0x11de(){const _0x444c67=['2227183sWANFI','fire','8siCukW','span','2150816IErBoo','12932451ymHjhF','905645cmvjyd','ck-presence-list__marker','tag','3atiTcL','button','markerView','tooltipPosition','listitem','div','55708ZOhjnk','getBackgroundColorClass','bindTemplate','true','execute','isFocusable','5GMmQtD','17172330bfuLwp','color','name','userView','text','ck-presence-list__list-item__tooltip','setTemplate','ck-presence-list__list-item','template','2930766sMJNSh','set','hasTooltip'];_0x11de=function(){return _0x444c67;};return _0x11de();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5431(_0x3d1ecb,_0x318bcf){const _0x3b3d81=_0x3b3d();return _0x5431=function(_0x54314a,_0x2873a7){_0x54314a=_0x54314a-0x1a0;let _0x2dbfcf=_0x3b3d81[_0x54314a];return _0x2dbfcf;},_0x5431(_0x3d1ecb,_0x318bcf);}const _0x2a0cc5=_0x5431;(function(_0x1c125a,_0x4792d1){const _0x1a02c6=_0x5431,_0xc40b8c=_0x1c125a();while(!![]){try{const _0xc2ecb9=parseInt(_0x1a02c6(0x1a1))/0x1*(-parseInt(_0x1a02c6(0x1a3))/0x2)+parseInt(_0x1a02c6(0x1c5))/0x3*(-parseInt(_0x1a02c6(0x1b6))/0x4)+parseInt(_0x1a02c6(0x1b4))/0x5+-parseInt(_0x1a02c6(0x1ab))/0x6+parseInt(_0x1a02c6(0x1c4))/0x7*(parseInt(_0x1a02c6(0x1b1))/0x8)+-parseInt(_0x1a02c6(0x1c8))/0x9*(parseInt(_0x1a02c6(0x1a8))/0xa)+parseInt(_0x1a02c6(0x1a6))/0xb*(parseInt(_0x1a02c6(0x1b5))/0xc);if(_0xc2ecb9===_0x4792d1)break;else _0xc40b8c['push'](_0xc40b8c['shift']());}catch(_0x1c3126){_0xc40b8c['push'](_0xc40b8c['shift']());}}}(_0x3b3d,0x82818));import{View as _0x4fb6c1}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x4ef676}from'ckeditor5/src/utils.js';function _0x3b3d(){const _0x1ab052=['.ck-presence-list__dropdown-list','list','element','6296KuRdZv','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','isExpanded','997110gFmiZI','183684yEbLep','297588hbaUhr','render','focus','createCollection','setTemplate','querySelector','ck-presence-list__list','Connected\x20users\x20list','.ck-balloon-panel_with-arrow','setAttribute','change:hasPopup','relatedTarget','keystrokes','fire','3913obeIgg','9Qwemth','items','contains','720wOtlUL','removeAttribute','417883OZAJQA','listenTo','4hGuvrp','hasPopup','aria-expanded','913uteGLC','presencelist:hide','18820ZEmIIv','div','presencelist:show','994602BQOHxv','set','bindTemplate'];_0x3b3d=function(){return _0x1ab052;};return _0x3b3d();}import{getTranslation as _0x3d3a6a}from'../../common-translations.js';export class PresenceInlineListView extends _0x4fb6c1{[_0x2a0cc5(0x1c6)];[_0x2a0cc5(0x1c2)];constructor(_0x38ad50){const _0x5d06bb=_0x2a0cc5;super(_0x38ad50);const _0x5adcf3=this[_0x5d06bb(0x1ad)];this[_0x5d06bb(0x1c6)]=this[_0x5d06bb(0x1b9)](),this[_0x5d06bb(0x1c2)]=new _0x4ef676(),this[_0x5d06bb(0x1ac)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x5d06bb(0x1ba)]({'tag':_0x5d06bb(0x1a9),'attributes':{'aria-haspopup':_0x5adcf3['if'](_0x5d06bb(0x1a4)),'aria-expanded':_0x5adcf3['to'](_0x5d06bb(0x1b3),_0x297df6=>this[_0x5d06bb(0x1a4)]&&String(_0x297df6)),'aria-label':_0x5adcf3['to'](_0x5d06bb(0x1a4),_0x4e09a3=>_0x3d3a6a(_0x38ad50,_0x4e09a3?_0x5d06bb(0x1b2):_0x5d06bb(0x1bd))),'role':_0x5d06bb(0x1af),'tabindex':_0x5adcf3['to'](_0x5d06bb(0x1a4),_0x4e2795=>!!_0x4e2795&&0x0),'class':['ck',_0x5d06bb(0x1bc)]},'children':this[_0x5d06bb(0x1c6)],'on':{'mouseenter':_0x5adcf3['to'](()=>this[_0x5d06bb(0x1c3)](_0x5d06bb(0x1aa))),'mouseleave':_0x5adcf3['to'](_0x369dba=>{const _0x5405b9=_0x5d06bb,_0x306a1c=_0x369dba,_0x5e7f44=document[_0x5405b9(0x1bb)](_0x5405b9(0x1ae)),_0x572479=document[_0x5405b9(0x1bb)](_0x5405b9(0x1be));_0x5e7f44?.[_0x5405b9(0x1c7)](_0x306a1c[_0x5405b9(0x1c1)])||_0x572479?.[_0x5405b9(0x1c7)](_0x306a1c[_0x5405b9(0x1c1)])||this[_0x5405b9(0x1c3)](_0x5405b9(0x1a7));})}}),this['on'](_0x5d06bb(0x1c0),(_0x106d39,_0x466f26,_0x445f73)=>{const _0x15e62b=_0x5d06bb;this[_0x15e62b(0x1b0)]&&(_0x445f73?this[_0x15e62b(0x1b0)][_0x15e62b(0x1bf)](_0x15e62b(0x1a5),String(this[_0x15e62b(0x1b3)])):this[_0x15e62b(0x1b0)][_0x15e62b(0x1a0)](_0x15e62b(0x1a5)));});}[_0x2a0cc5(0x1b8)](){const _0x2e4a53=_0x2a0cc5;this[_0x2e4a53(0x1b0)][_0x2e4a53(0x1b8)]();}[_0x2a0cc5(0x1b7)](){const _0xbdc0ad=_0x2a0cc5;super[_0xbdc0ad(0x1b7)](),this[_0xbdc0ad(0x1c2)][_0xbdc0ad(0x1a2)](this[_0xbdc0ad(0x1b0)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2392a4=_0x5141;function _0x5482(){const _0x2bd7c9=['set','9481066TWIBOE','10950gKFTnx','counterView','1712910cfVrGb','items','bindTemplate','isCollapsed','523237cPrqDR','ck-presence-list--collapsed','541848XdezBo','25408fNsdTb','hasPopup','316bbrkqi','ck-rounded-corners','ck-presence-list','2799GMTvGg','change','2843769xinUcC','first','listenTo','bind','locale','ck-reset','setTemplate','inlineListView','div','tooltipPosition'];_0x5482=function(){return _0x2bd7c9;};return _0x5482();}(function(_0x3d5209,_0x3fa3f1){const _0x26a7a2=_0x5141,_0x5cfdae=_0x3d5209();while(!![]){try{const _0x6c33d8=-parseInt(_0x26a7a2(0x114))/0x1+-parseInt(_0x26a7a2(0x116))/0x2+-parseInt(_0x26a7a2(0x11e))/0x3+-parseInt(_0x26a7a2(0x119))/0x4*(parseInt(_0x26a7a2(0x12a))/0x5)+parseInt(_0x26a7a2(0x12c))/0x6+parseInt(_0x26a7a2(0x129))/0x7+-parseInt(_0x26a7a2(0x117))/0x8*(-parseInt(_0x26a7a2(0x11c))/0x9);if(_0x6c33d8===_0x3fa3f1)break;else _0x5cfdae['push'](_0x5cfdae['shift']());}catch(_0x54bc4d){_0x5cfdae['push'](_0x5cfdae['shift']());}}}(_0x5482,0xadf75));function _0x5141(_0x4329ef,_0x722097){const _0x5482f0=_0x5482();return _0x5141=function(_0x514189,_0x27c1d8){_0x514189=_0x514189-0x112;let _0x3fcad3=_0x5482f0[_0x514189];return _0x3fcad3;},_0x5141(_0x4329ef,_0x722097);}import{View as _0x481d5f}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x488fd3}from'./presencecounterview.js';import{PresenceInlineListView as _0x5d0974}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x481d5f{[_0x2392a4(0x12b)];[_0x2392a4(0x125)];constructor(_0x31f0a8,_0x532610=0x6){const _0x1118d1=_0x2392a4;super(_0x31f0a8);const _0xaeed7d=this[_0x1118d1(0x112)];this[_0x1118d1(0x128)](_0x1118d1(0x113),!0x0),this[_0x1118d1(0x12b)]=new _0x488fd3(this[_0x1118d1(0x122)],_0x532610),this[_0x1118d1(0x125)]=new _0x5d0974(_0x31f0a8),this[_0x1118d1(0x125)][_0x1118d1(0x121)](_0x1118d1(0x118))['to'](this,_0x1118d1(0x113)),this[_0x1118d1(0x120)](this[_0x1118d1(0x125)][_0x1118d1(0x12d)],_0x1118d1(0x11d),()=>{const _0xb26589=_0x1118d1;for(const _0x2cb293 of this[_0xb26589(0x125)][_0xb26589(0x12d)])_0x2cb293[_0xb26589(0x127)]='s';this[_0xb26589(0x125)][_0xb26589(0x12d)][_0xb26589(0x11f)]&&(this[_0xb26589(0x125)][_0xb26589(0x12d)][_0xb26589(0x11f)][_0xb26589(0x127)]='se');}),this[_0x1118d1(0x124)]({'tag':_0x1118d1(0x126),'attributes':{'class':['ck',_0x1118d1(0x11b),_0x1118d1(0x123),_0x1118d1(0x11a),_0xaeed7d['if'](_0x1118d1(0x113),_0x1118d1(0x115))]},'children':[this[_0x1118d1(0x125)]]});}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0xaa6fd3)());[_0x8b009f(0x179)];static get[_0x8b009f(0x17b)](){const _0x2a4636=_0x8b009f;return[_0x2e22bf,_0x2a4636(0x15f),_0x1d01ce,_0x4d130b];}static get[_0x8b009f(0x145)](){const _0x280f1c=_0x8b009f;return _0x280f1c(0x198);}static get[_0x8b009f(0x163)](){return!0x0;}static get[_0x8b009f(0x161)](){return!0x0;}constructor(_0x283f8a){const _0x246b85=_0x8b009f;super(_0x283f8a),this[_0x246b85(0x179)]=new Map();}async[_0x8b009f(0x19c)](){const _0x339eb9=_0x8b009f,_0x33217b=this[_0x339eb9(0x19a)],_0x5a4aa7=_0x33217b[_0x339eb9(0x16c)][_0x339eb9(0x168)](_0x339eb9(0x15f));if(_0x33217b[_0x339eb9(0x16c)][_0x339eb9(0x168)](_0x2e22bf)[_0x339eb9(0x18f)](this),_0x5a4aa7[_0x339eb9(0x140)]={'addCommentThread':async({channelId:_0x18251a,threadId:_0xa7e39f,comments:_0x4ed555,resolvedAt:_0x509f08,resolvedBy:_0x319f17,context:_0x4050ca,attributes:_0xbd5e8d})=>{const _0x2c3e8b=_0x339eb9,_0x314a4f=await this[_0x2c3e8b(0x153)](_0x18251a)[_0x2c3e8b(0x15e)]({'commentThreadId':_0xa7e39f,'comments':_0x4ed555[_0x2c3e8b(0x16b)](_0x14ecfc=>function(_0x13bfca,_0x4e5eae,_0x39f068){const _0x521e5d=_0x2c3e8b;return{'commentThreadId':_0x39f068,'commentId':_0x13bfca[_0x521e5d(0x184)],'userId':_0x13bfca[_0x521e5d(0x191)],'content':_0x13bfca[_0x521e5d(0x178)],'documentId':_0x4e5eae,'createdAt':_0x13bfca[_0x521e5d(0x157)],'attributes':_0x13bfca[_0x521e5d(0x183)]||{}};}(_0x14ecfc,_0x18251a,_0xa7e39f)),'resolvedAt':_0x509f08,'resolvedBy':_0x319f17,'context':_0x4050ca,'attributes':_0xbd5e8d})[_0x2c3e8b(0x13d)](A);return{'threadId':_0x314a4f[_0x2c3e8b(0x152)],'comments':_0x314a4f[_0x2c3e8b(0x192)]};},'getCommentThread':async({channelId:_0x5269a7,threadId:_0xce38a1})=>{const _0x55511f=_0x339eb9,_0x7c8815=await this[_0x55511f(0x153)](_0x5269a7)[_0x55511f(0x15d)](_0xce38a1)[_0x55511f(0x13d)](f)[_0x55511f(0x13d)](A);return _0x7c8815?_0x7c8815[_0x55511f(0x165)]?null:(await this[_0x55511f(0x14c)]([_0x7c8815]),{'threadId':_0x7c8815[_0x55511f(0x152)],'comments':_0x7c8815[_0x55511f(0x192)][_0x55511f(0x16b)](p),'context':_0x7c8815[_0x55511f(0x19a)],'resolvedAt':_0x7c8815[_0x55511f(0x166)],'resolvedBy':_0x7c8815[_0x55511f(0x185)],'attributes':_0x7c8815[_0x55511f(0x183)]||{}}):null;},'updateCommentThread':async({channelId:_0x4e655c,threadId:_0x40d3ca,context:_0xd4f939,unlinkedAt:_0x71b25d,attributes:_0x4407f9})=>this[_0x339eb9(0x153)](_0x4e655c)[_0x339eb9(0x144)]({'commentThreadId':_0x40d3ca,'context':_0xd4f939,'attributes':_0x4407f9,'unlinkedAt':_0x71b25d})[_0x339eb9(0x13d)](f)[_0x339eb9(0x13d)](A),'resolveCommentThread':async({channelId:_0x2e4344,threadId:_0x2e88c0})=>{const _0x2d9b76=_0x339eb9,_0x4bacdf=await this[_0x2d9b76(0x153)](_0x2e4344)[_0x2d9b76(0x169)](_0x2e88c0)[_0x2d9b76(0x13d)](f)[_0x2d9b76(0x13d)](A);return{'threadId':_0x4bacdf[_0x2d9b76(0x152)],'resolvedAt':_0x4bacdf[_0x2d9b76(0x166)],'resolvedBy':_0x4bacdf[_0x2d9b76(0x185)]};},'reopenCommentThread':async({channelId:_0x155a7d,threadId:_0x43c43f})=>this[_0x339eb9(0x153)](_0x155a7d)[_0x339eb9(0x150)](_0x43c43f)[_0x339eb9(0x13d)](f)[_0x339eb9(0x13d)](A),'removeCommentThread':({channelId:_0x207a4d,threadId:_0x30bc9e})=>this[_0x339eb9(0x153)](_0x207a4d)[_0x339eb9(0x188)](_0x30bc9e)[_0x339eb9(0x13d)](f)[_0x339eb9(0x13d)](A),'addComment':({channelId:_0x4289c0,threadId:_0x5df978,commentId:_0x14c1af,content:_0x1149ca,attributes:_0x4e08fd})=>this[_0x339eb9(0x153)](_0x4289c0)[_0x339eb9(0x148)](_0x5df978,_0x14c1af,_0x1149ca,_0x4e08fd)[_0x339eb9(0x13d)](A),'updateComment':({channelId:_0x1b7710,threadId:_0x4c9b1f,commentId:_0x3ec659,content:_0x257828,attributes:_0x7b16ac})=>this[_0x339eb9(0x153)](_0x1b7710)[_0x339eb9(0x197)](_0x4c9b1f,_0x3ec659,_0x257828,_0x7b16ac)[_0x339eb9(0x13d)](f)[_0x339eb9(0x13d)](A),'removeComment':({channelId:_0x4f864e,threadId:_0x402e0e,commentId:_0x4be5ce})=>this[_0x339eb9(0x153)](_0x4f864e)[_0x339eb9(0x172)](_0x402e0e,_0x4be5ce)[_0x339eb9(0x13d)](f)[_0x339eb9(0x13d)](A)},_0x33217b instanceof _0x117b73){const _0x46646f=_0x33217b[_0x339eb9(0x17f)][_0x339eb9(0x168)](_0x339eb9(0x189)),_0x5b5272=_0x33217b[_0x339eb9(0x16c)][_0x339eb9(0x168)](_0x1d01ce);await this[_0x339eb9(0x147)](_0x46646f);const _0x476a6a=await this[_0x339eb9(0x179)][_0x339eb9(0x168)](_0x46646f)[_0x339eb9(0x14f)]();this[_0x339eb9(0x187)](_0x5b5272,_0x339eb9(0x13b)+_0x46646f,(_0x1cd8fe,{session:_0x4572f9})=>{const _0x576af0=_0x339eb9;_0x4572f9['id']===_0x5b5272[_0x576af0(0x19d)]&&(_0x1cd8fe[_0x576af0(0x19f)](),this[_0x576af0(0x19a)][_0x576af0(0x16c)][_0x576af0(0x168)](_0x576af0(0x174))[_0x576af0(0x186)](_0x4572f9[_0x576af0(0x15a)],_0x46646f));}),_0x5b5272[_0x339eb9(0x190)](_0x46646f,_0x476a6a);}}async[_0x8b009f(0x147)](_0x243436){const _0x3028de=_0x8b009f;if(this[_0x3028de(0x179)][_0x3028de(0x176)](_0x243436))throw new _0x499b01(_0x3028de(0x17a),null,{'channelId':_0x243436});const _0x5beb9f=this[_0x3028de(0x19a)][_0x3028de(0x16c)][_0x3028de(0x168)](_0x3028de(0x15f)),_0x30d948=new CloudServicesCommentsAdapter[(_0x3028de(0x177))](_0x243436);this[_0x3028de(0x179)][_0x3028de(0x18b)](_0x243436,_0x30d948),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x158),(_0x101ca0,_0x285b58)=>{const _0x4637d8=_0x3028de,{commentThreadId:_0x26f80c,documentId:_0x5736f3,context:_0x1552bb,attributes:_0xfcdd7b,resolvedAt:_0x540251,resolvedBy:_0x5e5bf1,comments:_0x791c23}=_0x285b58;_0x5beb9f[_0x4637d8(0x15d)](_0x26f80c)||_0x5beb9f[_0x4637d8(0x15e)]({'threadId':_0x26f80c,'channelId':_0x5736f3,'comments':_0x791c23?_0x791c23[_0x4637d8(0x16b)](p):[],'context':_0x1552bb,'attributes':_0xfcdd7b,'resolvedAt':_0x540251,'resolvedBy':_0x5e5bf1,'isFromAdapter':!0x0});}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x18e),(_0xa19ece,{commentThreadId:_0x51ac6d,documentId:_0x31b754,context:_0x2e7a99,unlinkedAt:_0x259e20,attributes:_0x102355})=>{const _0x45414a=_0x3028de;_0x5beb9f[_0x45414a(0x15d)](_0x51ac6d)&&_0x5beb9f[_0x45414a(0x144)]({'threadId':_0x51ac6d,'channelId':_0x31b754,'context':_0x2e7a99,'unlinkedAt':_0x259e20,'attributes':_0x102355,'isFromAdapter':!0x0});}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x180),(_0xe8d552,{commentThreadId:_0x548ea0,resolvedBy:_0x494891,resolvedAt:_0x4d6c98})=>{const _0x3b8986=_0x3028de,_0x342b1a=_0x5beb9f[_0x3b8986(0x15d)](_0x548ea0);_0x342b1a&&_0x342b1a[_0x3b8986(0x18c)]({'resolvedBy':_0x494891,'resolvedAt':_0x4d6c98,'isFromAdapter':!0x0});}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x155),(_0x5ddae3,{commentThreadId:_0x13a7a6})=>{const _0x1c3b9d=_0x3028de,_0x45526a=_0x5beb9f[_0x1c3b9d(0x15d)](_0x13a7a6);_0x45526a&&_0x45526a[_0x1c3b9d(0x19b)]({'isFromAdapter':!0x0});}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x196),(_0x26f259,{commentThreadId:_0x1cd709})=>{const _0x4b0025=_0x3028de,_0x5efb60=_0x5beb9f[_0x4b0025(0x15d)](_0x1cd709);_0x5efb60&&_0x5efb60[_0x4b0025(0x199)]({'isFromAdapter':!0x0});}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x13a),(_0x42626b,_0x131afc)=>{const _0x36f140=_0x3028de,_0x9edc7a=_0x131afc[_0x36f140(0x152)],_0x318d80=_0x5beb9f[_0x36f140(0x15d)](_0x9edc7a);_0x318d80&&_0x318d80[_0x36f140(0x148)]({...p(_0x131afc),'isFromAdapter':!0x0});}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x16a),(_0x14747e,{commentThreadId:_0x5a3cfb,commentId:_0x57e873,content:_0x1127e7,attributes:_0x1a5a5f})=>{const _0x170557=_0x3028de,_0x3cf4a1=_0x5beb9f[_0x170557(0x15d)](_0x5a3cfb);if(_0x3cf4a1){const _0x582c58=_0x3cf4a1[_0x170557(0x17d)](_0x57e873);_0x582c58&&_0x582c58[_0x170557(0x149)]({'content':_0x1127e7,'attributes':_0x1a5a5f,'isFromAdapter':!0x0});}}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x14d),(_0x4410d1,{commentThreadId:_0x3c7b3b,commentId:_0x50f084})=>{const _0x6f95f9=_0x3028de,_0x42c762=_0x5beb9f[_0x6f95f9(0x15d)](_0x3c7b3b);if(_0x42c762){const _0x323a3a=_0x42c762[_0x6f95f9(0x17d)](_0x50f084);_0x323a3a&&_0x323a3a[_0x6f95f9(0x199)]({'isFromAdapter':!0x0});}}),await this[_0x3028de(0x193)](_0x243436);}[_0x8b009f(0x167)](){const _0x52492e=_0x8b009f;if(this[_0x52492e(0x19a)]instanceof _0x117b73){const _0x400552=this[_0x52492e(0x19a)][_0x52492e(0x17f)][_0x52492e(0x168)](_0x52492e(0x189));this[_0x52492e(0x16d)](_0x400552);}}[_0x8b009f(0x16d)](_0x2f2005){const _0x3831c0=_0x8b009f;if(!this[_0x3831c0(0x179)][_0x3831c0(0x176)](_0x2f2005))throw new _0x499b01(_0x3831c0(0x164),null,{'channelId':_0x2f2005});this[_0x3831c0(0x153)](_0x2f2005)[_0x3831c0(0x17c)](),this[_0x3831c0(0x179)][_0x3831c0(0x15c)](_0x2f2005);}async[_0x8b009f(0x181)](){const _0x15cc01=_0x8b009f;for(const _0xe0f6a1 of this[_0x15cc01(0x179)][_0x15cc01(0x13f)]())await this[_0x15cc01(0x193)](_0xe0f6a1);if(this[_0x15cc01(0x19a)]instanceof _0x117b73){const _0x4f501a=this[_0x15cc01(0x19a)][_0x15cc01(0x17f)][_0x15cc01(0x168)](_0x15cc01(0x189)),_0x5d205d=this[_0x15cc01(0x19a)][_0x15cc01(0x16c)][_0x15cc01(0x168)](_0x1d01ce);_0x5d205d[_0x15cc01(0x15b)](_0x4f501a);const _0x2683ff=await this[_0x15cc01(0x179)][_0x15cc01(0x168)](_0x4f501a)[_0x15cc01(0x14f)]();_0x5d205d[_0x15cc01(0x190)](_0x4f501a,_0x2683ff);}}async[_0x8b009f(0x193)](_0x2740a5){const _0x4340b5=_0x8b009f,{connection:_0x21bbef}=this[_0x4340b5(0x19a)][_0x4340b5(0x16c)][_0x4340b5(0x168)](_0x2e22bf),_0x3b40e4=this[_0x4340b5(0x19a)][_0x4340b5(0x16c)][_0x4340b5(0x168)](_0x4340b5(0x15f)),_0x5c08e2=this[_0x4340b5(0x179)][_0x4340b5(0x168)](_0x2740a5),_0x3815d6=await _0x5c08e2[_0x4340b5(0x162)](_0x21bbef);await this[_0x4340b5(0x14c)](_0x3815d6);const _0x5ebf24=new Set(Array[_0x4340b5(0x143)](_0x3b40e4[_0x4340b5(0x142)]({'channelId':_0x2740a5}),_0x3600ea=>_0x3600ea['id']));for(const _0x47f8f7 of _0x3815d6)_0x47f8f7[_0x4340b5(0x165)]||_0x5ebf24[_0x4340b5(0x15c)](_0x47f8f7[_0x4340b5(0x152)]);for(const _0x18d0b9 of _0x5ebf24)_0x3b40e4[_0x4340b5(0x15d)](_0x18d0b9)[_0x4340b5(0x199)]({'isFromAdapter':!0x0});for(const _0xaef681 of _0x3815d6){let _0x253814=_0x3b40e4[_0x4340b5(0x15d)](_0xaef681[_0x4340b5(0x152)]);const {commentThreadId:_0x2019c3,context:_0x565ac4,attributes:_0x28eb78,resolvedBy:_0x315d86,resolvedAt:_0x526b3a,unlinkedAt:_0x3412fa,deletedAt:_0xa7df86}=_0xaef681;if(_0xa7df86)continue;_0x253814||(_0x253814=_0x3b40e4[_0x4340b5(0x15e)]({'channelId':_0x2740a5,'threadId':_0x2019c3,'context':_0x565ac4,'attributes':_0x28eb78||{},'resolvedBy':_0x315d86,'resolvedAt':_0x526b3a,'unlinkedAt':_0x3412fa,'isFromAdapter':!0x0}));const _0x5b54fe=new Set(Array[_0x4340b5(0x143)](_0x253814[_0x4340b5(0x192)],_0x47564f=>_0x47564f['id']));for(const _0x4aedf9 of _0xaef681[_0x4340b5(0x192)])_0x5b54fe[_0x4340b5(0x15c)](_0x4aedf9[_0x4340b5(0x184)]);for(const _0x1991ee of _0x5b54fe)_0x253814[_0x4340b5(0x17d)](_0x1991ee)[_0x4340b5(0x199)]({'isFromAdapter':!0x0});for(const _0x36b309 of _0xaef681[_0x4340b5(0x192)]){const _0x185d98=_0x253814[_0x4340b5(0x17d)](_0x36b309[_0x4340b5(0x184)]);_0x185d98?_0x185d98[_0x4340b5(0x178)]!==_0x36b309[_0x4340b5(0x178)]&&_0x185d98[_0x4340b5(0x149)]({'content':_0x36b309[_0x4340b5(0x178)],'isFromAdapter':!0x0}):_0x253814[_0x4340b5(0x148)](Object[_0x4340b5(0x171)](p(_0x36b309),{'isFromAdapter':!0x0}));}}}[_0x8b009f(0x153)](_0x15b7b4){const _0x108bf4=_0x8b009f;if(!this[_0x108bf4(0x179)][_0x108bf4(0x176)](_0x15b7b4))throw new _0x499b01(_0x108bf4(0x159),null,{'channelId':_0x15b7b4});return this[_0x108bf4(0x179)][_0x108bf4(0x168)](_0x15b7b4);}async[_0x8b009f(0x14c)](_0x5e04a4){const _0x10772e=_0x8b009f,_0x18c130=this[_0x10772e(0x19a)][_0x10772e(0x16c)][_0x10772e(0x168)](_0x4d130b),{connection:_0x24e702}=this[_0x10772e(0x19a)][_0x10772e(0x16c)][_0x10772e(0x168)](_0x2e22bf),_0x5b636f=new Set();for(const {resolvedBy:_0x11279c,comments:_0x5b5245}of _0x5e04a4){_0x11279c&&!_0x18c130[_0x10772e(0x18a)](_0x11279c)&&_0x5b636f[_0x10772e(0x146)](_0x11279c);for(const {userId:_0x44f605}of _0x5b5245)_0x18c130[_0x10772e(0x18a)](_0x44f605)||_0x5b636f[_0x10772e(0x146)](_0x44f605);}if(0x0===_0x5b636f[_0x10772e(0x195)])return;const _0x49c0c2=await _0x1fdb28[_0x10772e(0x175)](_0x24e702,Array[_0x10772e(0x143)](_0x5b636f));for(const _0x24a3ca of _0x49c0c2)_0x18c130[_0x10772e(0x18a)](_0x24a3ca['id'])||_0x18c130[_0x10772e(0x141)](_0x24a3ca);}}async function f(_0x3c9033){const _0x2b7b6a=_0x8b009f;if(_0x2b7b6a(0x13e)!==_0x3c9033[_0x2b7b6a(0x160)])throw _0x3c9033;}function A(_0xb551f0){const _0x17d4ee=_0x8b009f;if((_0x45a5f7=_0xb551f0)[_0x17d4ee(0x16f)][_0x17d4ee(0x154)](_0x17d4ee(0x14b))||_0x45a5f7[_0x17d4ee(0x16f)][_0x17d4ee(0x154)](_0x17d4ee(0x173))||_0x45a5f7[_0x17d4ee(0x16f)][_0x17d4ee(0x154)](_0x17d4ee(0x16e)))return new Promise(()=>{});var _0x45a5f7;throw _0xb551f0;}function p(_0x445bdc){const _0x35726f=_0x8b009f;return{'threadId':_0x445bdc[_0x35726f(0x152)],'commentId':_0x445bdc[_0x35726f(0x184)],'content':_0x445bdc[_0x35726f(0x178)],'createdAt':_0x445bdc[_0x35726f(0x157)],'authorId':_0x445bdc[_0x35726f(0x14a)],'attributes':_0x445bdc[_0x35726f(0x183)]||{}};}
|
|
23
|
+
const _0x598ece=_0x4a1c;(function(_0x18de39,_0x215fd7){const _0xed1476=_0x4a1c,_0x2e6243=_0x18de39();while(!![]){try{const _0x400fe6=-parseInt(_0xed1476(0xbc))/0x1+-parseInt(_0xed1476(0xb3))/0x2+-parseInt(_0xed1476(0xed))/0x3+-parseInt(_0xed1476(0xc5))/0x4+parseInt(_0xed1476(0xb1))/0x5+-parseInt(_0xed1476(0xea))/0x6+parseInt(_0xed1476(0xbe))/0x7*(parseInt(_0xed1476(0xe0))/0x8);if(_0x400fe6===_0x215fd7)break;else _0x2e6243['push'](_0x2e6243['shift']());}catch(_0x4b6cb3){_0x2e6243['push'](_0x2e6243['shift']());}}}(_0x5e84,0x91c86));import{Context as _0xf41a5,ContextPlugin as _0x3122d7}from'ckeditor5/src/core.js';import{CKEditorError as _0xfeff57}from'ckeditor5/src/utils.js';function _0x4a1c(_0x373bdb,_0x37fa8b){const _0x5e84da=_0x5e84();return _0x4a1c=function(_0x4a1c6b,_0x4c43be){_0x4a1c6b=_0x4a1c6b-0xb0;let _0x12920b=_0x5e84da[_0x4a1c6b];return _0x12920b;},_0x4a1c(_0x373bdb,_0x37fa8b);}import{Users as _0x1fe59c}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x37d12f,User as _0x38997e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x2700ea}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x273f6b}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x3122d7{static [_0x598ece(0xba)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x37d12f)());[_0x598ece(0x111)];static get[_0x598ece(0xf5)](){const _0x180f4f=_0x598ece;return[_0x2700ea,_0x180f4f(0x112),_0x273f6b,_0x1fe59c];}static get[_0x598ece(0xde)](){const _0x5b29fc=_0x598ece;return _0x5b29fc(0x108);}static get[_0x598ece(0xb5)](){return!0x0;}static get[_0x598ece(0xce)](){return!0x0;}constructor(_0x3761a1){const _0x4f5518=_0x598ece;super(_0x3761a1),this[_0x4f5518(0x111)]=new Map();}async[_0x598ece(0xc0)](){const _0x5a55ae=_0x598ece,_0x37412d=this[_0x5a55ae(0xfe)],_0x32eba4=_0x37412d[_0x5a55ae(0x10e)][_0x5a55ae(0xc4)](_0x5a55ae(0x112));if(_0x37412d[_0x5a55ae(0x10e)][_0x5a55ae(0xc4)](_0x2700ea)[_0x5a55ae(0x10a)](this),_0x32eba4[_0x5a55ae(0xd8)]={'addCommentThread':async({channelId:_0x38ecfd,threadId:_0x3529eb,comments:_0x15044d,resolvedAt:_0x77d61a,resolvedBy:_0x17050d,context:_0x3226e1,attributes:_0x4ee21e})=>{const _0x5e6798=_0x5a55ae,_0x1ee694=await this[_0x5e6798(0xb2)](_0x38ecfd)[_0x5e6798(0x10d)]({'commentThreadId':_0x3529eb,'comments':_0x15044d[_0x5e6798(0xc2)](_0x3262e8=>function(_0x2e4378,_0x3948c0,_0x26e223){const _0x32ebbd=_0x5e6798;return{'commentThreadId':_0x26e223,'commentId':_0x2e4378[_0x32ebbd(0xd1)],'userId':_0x2e4378[_0x32ebbd(0xd3)],'content':_0x2e4378[_0x32ebbd(0xb6)],'documentId':_0x3948c0,'createdAt':_0x2e4378[_0x32ebbd(0xdd)],'attributes':_0x2e4378[_0x32ebbd(0xe5)]||{}};}(_0x3262e8,_0x38ecfd,_0x3529eb)),'resolvedAt':_0x77d61a,'resolvedBy':_0x17050d,'context':_0x3226e1,'attributes':_0x4ee21e})[_0x5e6798(0xd5)](tt);return{'threadId':_0x1ee694[_0x5e6798(0xdb)],'comments':_0x1ee694[_0x5e6798(0xee)]};},'getCommentThread':async({channelId:_0x485dfe,threadId:_0x3834a5})=>{const _0x4b072d=_0x5a55ae,_0x38027d=await this[_0x4b072d(0xb2)](_0x485dfe)[_0x4b072d(0xe9)](_0x3834a5)[_0x4b072d(0xd5)](Z)[_0x4b072d(0xd5)](tt);return _0x38027d?_0x38027d[_0x4b072d(0xe1)]?null:(await this[_0x4b072d(0xfc)]([_0x38027d]),{'threadId':_0x38027d[_0x4b072d(0xdb)],'comments':_0x38027d[_0x4b072d(0xee)][_0x4b072d(0xc2)](et),'context':_0x38027d[_0x4b072d(0xfe)],'resolvedAt':_0x38027d[_0x4b072d(0xf1)],'resolvedBy':_0x38027d[_0x4b072d(0xd7)],'attributes':_0x38027d[_0x4b072d(0xe5)]||{}}):null;},'updateCommentThread':async({channelId:_0x5f3d36,threadId:_0x2d7cc5,context:_0x8faa2f,unlinkedAt:_0x5491d6,attributes:_0xba7b6c})=>this[_0x5a55ae(0xb2)](_0x5f3d36)[_0x5a55ae(0xda)]({'commentThreadId':_0x2d7cc5,'context':_0x8faa2f,'attributes':_0xba7b6c,'unlinkedAt':_0x5491d6})[_0x5a55ae(0xd5)](Z)[_0x5a55ae(0xd5)](tt),'resolveCommentThread':async({channelId:_0x5035b9,threadId:_0x2cbdbe})=>{const _0x2ecebd=_0x5a55ae,_0x48e170=await this[_0x2ecebd(0xb2)](_0x5035b9)[_0x2ecebd(0xbb)](_0x2cbdbe)[_0x2ecebd(0xd5)](Z)[_0x2ecebd(0xd5)](tt);return{'threadId':_0x48e170[_0x2ecebd(0xdb)],'resolvedAt':_0x48e170[_0x2ecebd(0xf1)],'resolvedBy':_0x48e170[_0x2ecebd(0xd7)]};},'reopenCommentThread':async({channelId:_0x4b8693,threadId:_0x3d135a})=>this[_0x5a55ae(0xb2)](_0x4b8693)[_0x5a55ae(0xeb)](_0x3d135a)[_0x5a55ae(0xd5)](Z)[_0x5a55ae(0xd5)](tt),'removeCommentThread':({channelId:_0x31438e,threadId:_0x22580b})=>this[_0x5a55ae(0xb2)](_0x31438e)[_0x5a55ae(0x106)](_0x22580b)[_0x5a55ae(0xd5)](Z)[_0x5a55ae(0xd5)](tt),'addComment':({channelId:_0x30792d,threadId:_0x118ea4,commentId:_0x518758,content:_0x3f01c0,attributes:_0x4de534})=>this[_0x5a55ae(0xb2)](_0x30792d)[_0x5a55ae(0xdc)](_0x118ea4,_0x518758,_0x3f01c0,_0x4de534)[_0x5a55ae(0xd5)](tt),'updateComment':({channelId:_0xd2305d,threadId:_0x124407,commentId:_0x42ddfc,content:_0x1f87cc,attributes:_0x3b7770})=>this[_0x5a55ae(0xb2)](_0xd2305d)[_0x5a55ae(0xc3)](_0x124407,_0x42ddfc,_0x1f87cc,_0x3b7770)[_0x5a55ae(0xd5)](Z)[_0x5a55ae(0xd5)](tt),'removeComment':({channelId:_0x2dac44,threadId:_0x2ed6ad,commentId:_0x135e12})=>this[_0x5a55ae(0xb2)](_0x2dac44)[_0x5a55ae(0xf2)](_0x2ed6ad,_0x135e12)[_0x5a55ae(0xd5)](Z)[_0x5a55ae(0xd5)](tt)},_0x37412d instanceof _0xf41a5){const _0x133c67=_0x37412d[_0x5a55ae(0xb8)][_0x5a55ae(0xc4)](_0x5a55ae(0xd0)),_0x1530b7=_0x37412d[_0x5a55ae(0x10e)][_0x5a55ae(0xc4)](_0x273f6b);await this[_0x5a55ae(0xdf)](_0x133c67);const _0x1820c2=await this[_0x5a55ae(0x111)][_0x5a55ae(0xc4)](_0x133c67)[_0x5a55ae(0xe6)]();this[_0x5a55ae(0xec)](_0x1530b7,_0x5a55ae(0x101)+_0x133c67,(_0x481899,{session:_0x3ab9bb})=>{const _0x22384e=_0x5a55ae;_0x3ab9bb['id']===_0x1530b7[_0x22384e(0x107)]&&(_0x481899[_0x22384e(0xb0)](),this[_0x22384e(0xfe)][_0x22384e(0x10e)][_0x22384e(0xc4)](_0x22384e(0x110))[_0x22384e(0xc6)](_0x3ab9bb[_0x22384e(0xc1)],_0x133c67));}),_0x1530b7[_0x5a55ae(0xf6)](_0x133c67,_0x1820c2);}}async[_0x598ece(0xdf)](_0x184300){const _0x5a2887=_0x598ece;if(this[_0x5a2887(0x111)][_0x5a2887(0xf3)](_0x184300))throw new _0xfeff57(_0x5a2887(0xf9),null,{'channelId':_0x184300});const _0x3f8c00=this[_0x5a2887(0xfe)][_0x5a2887(0x10e)][_0x5a2887(0xc4)](_0x5a2887(0x112)),_0x210259=new CloudServicesCommentsAdapter[(_0x5a2887(0xba))](_0x184300);this[_0x5a2887(0x111)][_0x5a2887(0xca)](_0x184300,_0x210259),this[_0x5a2887(0xec)](_0x210259,_0x5a2887(0xc7),(_0x49c55d,_0x251e2d)=>{const _0x5184e1=_0x5a2887,{commentThreadId:_0x2462e2,documentId:_0x2104a1,context:_0x7f8688,attributes:_0x5e8440,resolvedAt:_0x276f8f,resolvedBy:_0x4d5a01,comments:_0xfdacdc}=_0x251e2d;_0x3f8c00[_0x5184e1(0xe9)](_0x2462e2)||_0x3f8c00[_0x5184e1(0x10d)]({'threadId':_0x2462e2,'channelId':_0x2104a1,'comments':_0xfdacdc?_0xfdacdc[_0x5184e1(0xc2)](et):[],'context':_0x7f8688,'attributes':_0x5e8440,'resolvedAt':_0x276f8f,'resolvedBy':_0x4d5a01,'isFromAdapter':!0x0});}),this[_0x5a2887(0xec)](_0x210259,_0x5a2887(0x10c),(_0x108826,{commentThreadId:_0x35c02c,documentId:_0x5d6d4b,context:_0x5b6eb6,unlinkedAt:_0x33bbae,attributes:_0x12be7c})=>{const _0x398525=_0x5a2887;_0x3f8c00[_0x398525(0xe9)](_0x35c02c)&&_0x3f8c00[_0x398525(0xda)]({'threadId':_0x35c02c,'channelId':_0x5d6d4b,'context':_0x5b6eb6,'unlinkedAt':_0x33bbae,'attributes':_0x12be7c,'isFromAdapter':!0x0});}),this[_0x5a2887(0xec)](_0x210259,_0x5a2887(0x103),(_0x36547c,{commentThreadId:_0x55a0bb,resolvedBy:_0x2ccb25,resolvedAt:_0x3a1601})=>{const _0x4c7b7a=_0x5a2887,_0x29f8db=_0x3f8c00[_0x4c7b7a(0xe9)](_0x55a0bb);_0x29f8db&&_0x29f8db[_0x4c7b7a(0xb4)]({'resolvedBy':_0x2ccb25,'resolvedAt':_0x3a1601,'isFromAdapter':!0x0});}),this[_0x5a2887(0xec)](_0x210259,_0x5a2887(0xf8),(_0x17ea2c,{commentThreadId:_0x35a787})=>{const _0x3d3271=_0x5a2887,_0x50eba2=_0x3f8c00[_0x3d3271(0xe9)](_0x35a787);_0x50eba2&&_0x50eba2[_0x3d3271(0x100)]({'isFromAdapter':!0x0});}),this[_0x5a2887(0xec)](_0x210259,_0x5a2887(0xff),(_0x1ff4a8,{commentThreadId:_0x232861})=>{const _0x1283c1=_0x5a2887,_0x14b24f=_0x3f8c00[_0x1283c1(0xe9)](_0x232861);_0x14b24f&&_0x14b24f[_0x1283c1(0x105)]({'isFromAdapter':!0x0});}),this[_0x5a2887(0xec)](_0x210259,_0x5a2887(0xf4),(_0x1d1123,_0x5c24a0)=>{const _0x4f02b1=_0x5a2887,_0xc3e3d5=_0x5c24a0[_0x4f02b1(0xdb)],_0x5651fb=_0x3f8c00[_0x4f02b1(0xe9)](_0xc3e3d5);_0x5651fb&&_0x5651fb[_0x4f02b1(0xdc)]({...et(_0x5c24a0),'isFromAdapter':!0x0});}),this[_0x5a2887(0xec)](_0x210259,_0x5a2887(0xc8),(_0x479ddf,{commentThreadId:_0x387681,commentId:_0x41f729,content:_0x445be3,attributes:_0x125dda})=>{const _0x248f0d=_0x5a2887,_0x3c982d=_0x3f8c00[_0x248f0d(0xe9)](_0x387681);if(_0x3c982d){const _0x5d57ec=_0x3c982d[_0x248f0d(0xe3)](_0x41f729);_0x5d57ec&&_0x5d57ec[_0x248f0d(0xd4)]({'content':_0x445be3,'attributes':_0x125dda,'isFromAdapter':!0x0});}}),this[_0x5a2887(0xec)](_0x210259,_0x5a2887(0xef),(_0x5e5cd0,{commentThreadId:_0x42028f,commentId:_0x4e4bc4})=>{const _0x129de8=_0x5a2887,_0x36ddaf=_0x3f8c00[_0x129de8(0xe9)](_0x42028f);if(_0x36ddaf){const _0x38a0bb=_0x36ddaf[_0x129de8(0xe3)](_0x4e4bc4);_0x38a0bb&&_0x38a0bb[_0x129de8(0x105)]({'isFromAdapter':!0x0});}}),await this[_0x5a2887(0xfa)](_0x184300);}[_0x598ece(0xe4)](){const _0x3e3e36=_0x598ece;if(this[_0x3e3e36(0xfe)]instanceof _0xf41a5){const _0x2ccf9a=this[_0x3e3e36(0xfe)][_0x3e3e36(0xb8)][_0x3e3e36(0xc4)](_0x3e3e36(0xd0));this[_0x3e3e36(0xcf)](_0x2ccf9a);}}[_0x598ece(0xcf)](_0x5e2f3c){const _0x8f055c=_0x598ece;if(!this[_0x8f055c(0x111)][_0x8f055c(0xf3)](_0x5e2f3c))throw new _0xfeff57(_0x8f055c(0xbd),null,{'channelId':_0x5e2f3c});this[_0x8f055c(0xb2)](_0x5e2f3c)[_0x8f055c(0xb9)](),this[_0x8f055c(0x111)][_0x8f055c(0xf7)](_0x5e2f3c);}async[_0x598ece(0xd9)](){const _0x334c77=_0x598ece;for(const _0x8c323 of this[_0x334c77(0x111)][_0x334c77(0xcc)]())await this[_0x334c77(0xfa)](_0x8c323);if(this[_0x334c77(0xfe)]instanceof _0xf41a5){const _0x4a5026=this[_0x334c77(0xfe)][_0x334c77(0xb8)][_0x334c77(0xc4)](_0x334c77(0xd0)),_0x3900c0=this[_0x334c77(0xfe)][_0x334c77(0x10e)][_0x334c77(0xc4)](_0x273f6b);_0x3900c0[_0x334c77(0xe7)](_0x4a5026);const _0x3fa55f=await this[_0x334c77(0x111)][_0x334c77(0xc4)](_0x4a5026)[_0x334c77(0xe6)]();_0x3900c0[_0x334c77(0xf6)](_0x4a5026,_0x3fa55f);}}async[_0x598ece(0xfa)](_0x2615ff){const _0x54258c=_0x598ece,{connection:_0x1ce357}=this[_0x54258c(0xfe)][_0x54258c(0x10e)][_0x54258c(0xc4)](_0x2700ea),_0x309109=this[_0x54258c(0xfe)][_0x54258c(0x10e)][_0x54258c(0xc4)](_0x54258c(0x112)),_0xd71605=this[_0x54258c(0x111)][_0x54258c(0xc4)](_0x2615ff),_0x500c95=await _0xd71605[_0x54258c(0x113)](_0x1ce357);await this[_0x54258c(0xfc)](_0x500c95);const _0x301d2a=new Set(Array[_0x54258c(0xfb)](_0x309109[_0x54258c(0xcd)]({'channelId':_0x2615ff}),_0x5d5eef=>_0x5d5eef['id']));for(const _0x2a167b of _0x500c95)_0x2a167b[_0x54258c(0xe1)]||_0x301d2a[_0x54258c(0xf7)](_0x2a167b[_0x54258c(0xdb)]);for(const _0x205bd0 of _0x301d2a)_0x309109[_0x54258c(0xe9)](_0x205bd0)[_0x54258c(0x105)]({'isFromAdapter':!0x0});for(const _0x30c86c of _0x500c95){let _0x831599=_0x309109[_0x54258c(0xe9)](_0x30c86c[_0x54258c(0xdb)]);const {commentThreadId:_0x54465f,context:_0x386e7a,attributes:_0x4efa11,resolvedBy:_0x2c1fc9,resolvedAt:_0x100ca7,unlinkedAt:_0x5b5a5d,deletedAt:_0x1e8c77}=_0x30c86c;if(_0x1e8c77)continue;_0x831599||(_0x831599=_0x309109[_0x54258c(0x10d)]({'channelId':_0x2615ff,'threadId':_0x54465f,'context':_0x386e7a,'attributes':_0x4efa11||{},'resolvedBy':_0x2c1fc9,'resolvedAt':_0x100ca7,'unlinkedAt':_0x5b5a5d,'isFromAdapter':!0x0}));const _0x1a692f=new Set(Array[_0x54258c(0xfb)](_0x831599[_0x54258c(0xee)],_0x355bf8=>_0x355bf8['id']));for(const _0x4eab1b of _0x30c86c[_0x54258c(0xee)])_0x1a692f[_0x54258c(0xf7)](_0x4eab1b[_0x54258c(0xd1)]);for(const _0x3ae809 of _0x1a692f)_0x831599[_0x54258c(0xe3)](_0x3ae809)[_0x54258c(0x105)]({'isFromAdapter':!0x0});for(const _0x37e759 of _0x30c86c[_0x54258c(0xee)]){const _0x33e59c=_0x831599[_0x54258c(0xe3)](_0x37e759[_0x54258c(0xd1)]);_0x33e59c?_0x33e59c[_0x54258c(0xb6)]!==_0x37e759[_0x54258c(0xb6)]&&_0x33e59c[_0x54258c(0xd4)]({'content':_0x37e759[_0x54258c(0xb6)],'isFromAdapter':!0x0}):_0x831599[_0x54258c(0xdc)](Object[_0x54258c(0xe2)](et(_0x37e759),{'isFromAdapter':!0x0}));}}}[_0x598ece(0xb2)](_0x1f1856){const _0x4f3660=_0x598ece;if(!this[_0x4f3660(0x111)][_0x4f3660(0xf3)](_0x1f1856))throw new _0xfeff57(_0x4f3660(0xbf),null,{'channelId':_0x1f1856});return this[_0x4f3660(0x111)][_0x4f3660(0xc4)](_0x1f1856);}async[_0x598ece(0xfc)](_0x1fc971){const _0x5128d6=_0x598ece,_0x3cc3ae=this[_0x5128d6(0xfe)][_0x5128d6(0x10e)][_0x5128d6(0xc4)](_0x1fe59c),{connection:_0x233bdb}=this[_0x5128d6(0xfe)][_0x5128d6(0x10e)][_0x5128d6(0xc4)](_0x2700ea),_0x293a0c=new Set();for(const {resolvedBy:_0x41660d,comments:_0x4c8856}of _0x1fc971){_0x41660d&&!_0x3cc3ae[_0x5128d6(0x104)](_0x41660d)&&_0x293a0c[_0x5128d6(0xc9)](_0x41660d);for(const {userId:_0x1c3a66}of _0x4c8856)_0x3cc3ae[_0x5128d6(0x104)](_0x1c3a66)||_0x293a0c[_0x5128d6(0xc9)](_0x1c3a66);}if(0x0===_0x293a0c[_0x5128d6(0xcb)])return;const _0x1534b1=await _0x38997e[_0x5128d6(0x10b)](_0x233bdb,Array[_0x5128d6(0xfb)](_0x293a0c));for(const _0x394749 of _0x1534b1)_0x3cc3ae[_0x5128d6(0x104)](_0x394749['id'])||_0x3cc3ae[_0x5128d6(0xe8)](_0x394749);}}async function Z(_0xe6ace){const _0xd1b885=_0x598ece;if(_0xd1b885(0x109)!==_0xe6ace[_0xd1b885(0xfd)])throw _0xe6ace;}function _0x5e84(){const _0x39bde3=['plugins','startsWith','Permissions','_services','CommentsRepository','connect','off','243095TzlWJL','_getService','2337324uMCEqy','resolve','isOfficialPlugin','content','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','config','disconnect','CommentsService','resolveCommentThread','862593gzaKxi','cloudservicescommentsadapter-disconnect-not-exist','770bUDalW','cloudservicescommentsadapter-service-not-exist','init','permissions','map','updateComment','get','3986808ELWLpz','setPermissions','commentThreadAdded','commentUpdated','add','set','size','keys','getCommentThreads','isPremiumPlugin','_terminateService','collaboration.channelId','commentId','userId','authorId','update','catch','cloud-services-internal-error:\x20Request\x20timeout.','resolvedBy','adapter','reconnect','updateCommentThread','commentThreadId','addComment','createdAt','pluginName','_setUpService','373936efnJGW','deletedAt','assign','getComment','destroy','attributes','getConnectedSessions','unregister','addUser','getCommentThread','6417408UAcAjt','reopenCommentThread','listenTo','1486764vwPDXp','comments','commentRemoved','message','resolvedAt','removeComment','has','commentAdded','requires','register','delete','commentThreadReopened','cloudservicescommentsadapter-connect-already-connected','_connectService','from','_fetchMissingUsersForThreads','code','context','commentThreadRemoved','reopen','sessionAdd:','cloud-services-internal-error:\x20Not\x20connected.','commentThreadResolved','getUser','remove','removeCommentThread','mySessionId','CloudServicesCommentsAdapter','404','addToReconnectionStack','getMany','commentThreadUpdated','addCommentThread'];_0x5e84=function(){return _0x39bde3;};return _0x5e84();}function tt(_0x492cf3){const _0x1a123a=_0x598ece;if((_0x146c69=_0x492cf3)[_0x1a123a(0xf0)][_0x1a123a(0x10f)](_0x1a123a(0xb7))||_0x146c69[_0x1a123a(0xf0)][_0x1a123a(0x10f)](_0x1a123a(0x102))||_0x146c69[_0x1a123a(0xf0)][_0x1a123a(0x10f)](_0x1a123a(0xd6)))return new Promise(()=>{});var _0x146c69;throw _0x492cf3;}function et(_0x207342){const _0xa68ac9=_0x598ece;return{'threadId':_0x207342[_0xa68ac9(0xdb)],'commentId':_0x207342[_0xa68ac9(0xd1)],'content':_0x207342[_0xa68ac9(0xb6)],'createdAt':_0x207342[_0xa68ac9(0xdd)],'authorId':_0x207342[_0xa68ac9(0xd2)],'attributes':_0x207342[_0xa68ac9(0xe5)]||{}};}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
((()=>_0x502c3a)());[_0xae5d04(0x29a)];[_0xae5d04(0x1fe)];[_0xae5d04(0x1b3)];[_0xae5d04(0x21c)];[_0xae5d04(0x263)];[_0xae5d04(0x20d)];[_0xae5d04(0x24f)];[_0xae5d04(0x294)];[_0xae5d04(0x221)];[_0xae5d04(0x1c1)];[_0xae5d04(0x248)];[_0xae5d04(0x250)];[_0xae5d04(0x1f5)];[_0xae5d04(0x26f)];[_0xae5d04(0x1e9)];[_0xae5d04(0x23a)];[_0xae5d04(0x222)];[_0xae5d04(0x257)];static get[_0xae5d04(0x22c)](){return[_0x40c7a1,_0x15de0c,_0x37687c,_0x17ac66,_0xdb823b,_0x49998b];}static get[_0xae5d04(0x210)](){const _0x26250c=_0xae5d04;return _0x26250c(0x1e8);}static get[_0xae5d04(0x28b)](){return!0x0;}static get[_0xae5d04(0x1e2)](){return!0x0;}get[_0xae5d04(0x280)](){const _0x198ed2=_0xae5d04;return this[_0x198ed2(0x2b7)]+this[_0x198ed2(0x29a)];}get[_0xae5d04(0x2b7)](){const _0x539bb5=_0xae5d04;return this[_0x539bb5(0x1b3)][_0x539bb5(0x293)]-this[_0x539bb5(0x29a)];}get[_0xae5d04(0x227)](){const _0x525d72=_0xae5d04,_0x372c70=this[_0x525d72(0x1b3)][_0x525d72(0x20e)]();for(let _0x3e4a5e=_0x372c70[_0x525d72(0x1cc)]-0x1;_0x3e4a5e>=0x0;_0x3e4a5e--){const _0x4c3fa1=_0x372c70[_0x3e4a5e];if(!this[_0x525d72(0x222)][_0x525d72(0x25e)](_0x4c3fa1))return _0x4c3fa1[_0x525d72(0x284)]+0x1-this[_0x525d72(0x29a)];}return 0x0;}constructor(_0x27fe3f){const _0x3a2d86=_0xae5d04;if(super(_0x27fe3f),this[_0x3a2d86(0x29a)]=0x0,this[_0x3a2d86(0x1fe)]=null,this[_0x3a2d86(0x1b3)]=new _0x490248(),this[_0x3a2d86(0x243)][_0x3a2d86(0x1f7)][_0x3a2d86(0x29c)](_0x3a2d86(0x1d8),{}),this[_0x3a2d86(0x21c)]=this[_0x3a2d86(0x243)][_0x3a2d86(0x1f7)][_0x3a2d86(0x201)](_0x3a2d86(0x2ad)),!this[_0x3a2d86(0x21c)])throw new _0x1ccadc(_0x3a2d86(0x1b1),this);const _0x1545aa=_0x27fe3f[_0x3a2d86(0x1f7)][_0x3a2d86(0x201)](_0x3a2d86(0x22b))||_0x39eb69;this[_0x3a2d86(0x263)]=new RealTimeCollaborationClient[(_0x3a2d86(0x1d6))](_0x1545aa,this[_0x3a2d86(0x21c)]),this[_0x3a2d86(0x20d)]=this[_0x3a2d86(0x243)][_0x3a2d86(0x1bd)][_0x3a2d86(0x27e)],this[_0x3a2d86(0x24f)]=new _0x2307aa(),this[_0x3a2d86(0x294)]=[],this[_0x3a2d86(0x221)]=new WeakSet(),this[_0x3a2d86(0x1c1)]=new Set(),this[_0x3a2d86(0x24e)](_0x3a2d86(0x20b),!0x1),this[_0x3a2d86(0x24e)](_0x3a2d86(0x239),!0x1),this[_0x3a2d86(0x248)]=null,this[_0x3a2d86(0x250)]=!0x1,this[_0x3a2d86(0x1f5)]=null,this[_0x3a2d86(0x26f)]=0x12c,this[_0x3a2d86(0x1e9)]=this[_0x3a2d86(0x26f)],this[_0x3a2d86(0x23a)]=null,this[_0x3a2d86(0x222)]=new WeakSet(),this[_0x3a2d86(0x257)]=new J(this[_0x3a2d86(0x222)]);}[_0xae5d04(0x220)](){const _0x4e3921=_0xae5d04,_0x437a90=this[_0x4e3921(0x243)],_0x289ede=_0x437a90[_0x4e3921(0x208)][_0x4e3921(0x201)](_0xdb823b),_0x1eb045=_0x437a90[_0x4e3921(0x208)][_0x4e3921(0x201)](_0x40c7a1);this[_0x4e3921(0x268)](_0x289ede,_0x4e3921(0x273),(_0x5b1d3b,_0x3e6a63)=>{const _0x38c740=_0x4e3921,_0x401e3b=_0x3e6a63[0x0];_0x401e3b[_0x38c740(0x1c4)]&&(_0x5b1d3b[_0x38c740(0x1b2)]=_0x289ede[_0x38c740(0x224)](_0x401e3b[_0x38c740(0x1c4)]),_0x5b1d3b[_0x38c740(0x290)]()),null===_0x401e3b[_0x38c740(0x1c4)]&&(_0x5b1d3b[_0x38c740(0x1b2)]=null,_0x5b1d3b[_0x38c740(0x290)]());},{'priority':_0x4e3921(0x206)}),this[_0x4e3921(0x268)](_0x437a90[_0x4e3921(0x1bd)][_0x4e3921(0x27e)][_0x4e3921(0x1f4)],_0x4e3921(0x298),(_0x28399b,_0x17a3c8)=>{const _0x5f27f0=_0x4e3921;_0x17a3c8[_0x5f27f0(0x211)]&&this[_0x5f27f0(0x1b5)]();}),this[_0x4e3921(0x268)](_0x437a90[_0x4e3921(0x1f9)][_0x4e3921(0x1c8)],_0x4e3921(0x27b),()=>{const _0x544c63=_0x4e3921;this[_0x544c63(0x1b5)]();}),this[_0x4e3921(0x240)](),_0x437a90[_0x4e3921(0x1bd)]['on'](_0x4e3921(0x2ac),(_0xc8f4e0,_0x36750c)=>{const _0x232927=_0x4e3921,_0x2204b4=_0x36750c[0x0];_0x2204b4[_0x232927(0x223)]&&(this[_0x232927(0x1bf)](_0x2204b4),this[_0x232927(0x1e6)]()&&this[_0x232927(0x229)]());}),this[_0x4e3921(0x242)](),this[_0x4e3921(0x1fd)](_0x4e3921(0x214))['to'](_0x1eb045,_0x4e3921(0x21e),this,_0x4e3921(0x239),(_0x5d177a,_0x581846)=>_0x4e3921(0x299)===_0x5d177a&&!_0x581846),this['on'](_0x4e3921(0x1f0),()=>{const _0x5a1ad2=_0x4e3921;this[_0x5a1ad2(0x214)]?_0x437a90[_0x5a1ad2(0x1fc)](_0x5a1ad2(0x1ed)):_0x437a90[_0x5a1ad2(0x253)](_0x5a1ad2(0x1ed));}),this[_0x4e3921(0x214)]?_0x437a90[_0x4e3921(0x1fc)](_0x4e3921(0x1ed)):_0x437a90[_0x4e3921(0x253)](_0x4e3921(0x1ed)),this[_0x4e3921(0x24e)](_0x4e3921(0x2b1),!0x1);}async[_0xae5d04(0x1cd)](){const _0xb1d85c=_0xae5d04,_0x421abe=this[_0xb1d85c(0x243)][_0xb1d85c(0x208)][_0xb1d85c(0x201)](_0x15de0c),_0x41b515=this[_0xb1d85c(0x243)][_0xb1d85c(0x208)][_0xb1d85c(0x201)](_0x40c7a1);try{this[_0xb1d85c(0x20b)]=!0x0,_0x421abe[_0xb1d85c(0x1f8)](this[_0xb1d85c(0x21c)]);const _0x29e654=await this[_0xb1d85c(0x263)][_0xb1d85c(0x1cd)](_0x41b515[_0xb1d85c(0x204)],this[_0xb1d85c(0x227)]);await this[_0xb1d85c(0x1dd)](_0x29e654)&&(this[_0xb1d85c(0x20b)]=!0x1,this[_0xb1d85c(0x1d4)]());const _0x220c53=await this[_0xb1d85c(0x263)][_0xb1d85c(0x1ec)]();_0x421abe[_0xb1d85c(0x23e)](this[_0xb1d85c(0x21c)],_0x220c53),this[_0xb1d85c(0x289)](),this[_0xb1d85c(0x2b1)]=!0x0;}catch(_0x554f03){if(function(_0x50d859){const _0x57431f=_0xb1d85c;return _0x57431f(0x2a3)===_0x50d859[_0x57431f(0x2b5)];}(_0x554f03)&&this[_0xb1d85c(0x1fe)])await this[_0xb1d85c(0x1fa)]();else{if(function(_0x3333ea){const _0x476461=_0xb1d85c;return _0x476461(0x28d)===_0x3333ea[_0x476461(0x2b5)];}(_0x554f03)){const _0xcb75d4=_0x267250(this[_0xb1d85c(0x243)][_0xb1d85c(0x274)],_0xb1d85c(0x22a));this[_0xb1d85c(0x2a1)](_0xcb75d4);}else{if(!(_0x554f03 instanceof $))throw _0x554f03;this[_0xb1d85c(0x2a1)]();}}}}[_0xae5d04(0x252)](){const _0x1c48e7=_0xae5d04,_0x2d6bd6=this[_0x1c48e7(0x243)][_0x1c48e7(0x208)][_0x1c48e7(0x201)](_0x40c7a1),_0x63fb7e=this[_0x1c48e7(0x243)][_0x1c48e7(0x208)][_0x1c48e7(0x201)](_0x15de0c);this[_0x1c48e7(0x243)][_0x1c48e7(0x253)](_0x1c48e7(0x270)),_0x63fb7e[_0x1c48e7(0x236)][_0x1c48e7(0x25e)](this[_0x1c48e7(0x21c)])&&_0x63fb7e[_0x1c48e7(0x1f8)](this[_0x1c48e7(0x21c)]),_0x2d6bd6[_0x1c48e7(0x23d)](this),this[_0x1c48e7(0x26d)](),super[_0x1c48e7(0x252)]();}async[_0xae5d04(0x1dd)](_0x5c6ec9){const _0x1da294=_0xae5d04;if(this[_0x1da294(0x1fe)]!==_0x5c6ec9[_0x1da294(0x1fe)]&&this[_0x1da294(0x23a)]!==_0x5c6ec9[_0x1da294(0x1ce)])throw new $();return this[_0x1da294(0x1fe)]=_0x5c6ec9[_0x1da294(0x1fe)],this[_0x1da294(0x26b)]([],{..._0x5c6ec9,'wereChangesApplied':!0x1,'data':_0x5c6ec9[_0x1da294(0x27f)]},_0x1da294(0x1cd));}async[_0xae5d04(0x1d1)](_0x53b7a,_0x58bc1a=!0x1){const _0x1fa513=_0xae5d04,{connection:_0x19f3d4}=this[_0x1fa513(0x243)][_0x1fa513(0x208)][_0x1fa513(0x201)](_0x40c7a1);RealTimeCollaborationClient[_0x1fa513(0x1d6)][_0x1fa513(0x1ec)](_0x19f3d4,this[_0x1fa513(0x21c)])[_0x1fa513(0x2a0)](_0x32a857=>this[_0x1fa513(0x25f)](_0x32a857))[_0x1fa513(0x2b2)](_0x754a2c=>{const _0x414f78=_0x1fa513;this[_0x414f78(0x2a4)](_0x414f78(0x1ba),_0x754a2c);}),this[_0x1fa513(0x268)](this[_0x1fa513(0x263)],_0x1fa513(0x21d),this[_0x1fa513(0x28e)][_0x1fa513(0x1fd)](this)),this[_0x1fa513(0x268)](this[_0x1fa513(0x263)],_0x1fa513(0x256),(_0xaa21ac,_0x96ab06)=>{const _0x17e89c=_0x1fa513;this[_0x17e89c(0x2a4)](_0x17e89c(0x1e4),_0x96ab06);}),this[_0x1fa513(0x268)](this[_0x1fa513(0x263)],_0x1fa513(0x212),()=>{const _0x20c49f=_0x1fa513;this[_0x20c49f(0x2b1)]=!0x1;});const _0x5ce470=this[_0x1fa513(0x257)][_0x1fa513(0x21f)](_0x53b7a);this[_0x1fa513(0x20b)]=!0x0;const _0x274017=await this[_0x1fa513(0x263)][_0x1fa513(0x265)](_0x19f3d4,this[_0x1fa513(0x233)](_0x53b7a),_0x5ce470);if(this[_0x1fa513(0x1fe)]=_0x274017[_0x1fa513(0x1fe)],_0x58bc1a){if(!_0x274017[_0x1fa513(0x1db)])return void this[_0x1fa513(0x2a1)]();this[_0x1fa513(0x20b)]=!0x1,this[_0x1fa513(0x1d4)](),this[_0x1fa513(0x1b3)][_0x1fa513(0x1d5)](),this[_0x1fa513(0x29a)]=_0x274017[_0x1fa513(0x1e7)],this[_0x1fa513(0x1b3)][_0x1fa513(0x293)]=this[_0x1fa513(0x29a)],await this[_0x1fa513(0x26b)](_0x53b7a,_0x274017,_0x1fa513(0x260));}else await this[_0x1fa513(0x1da)](_0x274017,_0x53b7a);this[_0x1fa513(0x289)](),this[_0x1fa513(0x2b1)]=!0x0;}[_0xae5d04(0x289)](){const _0x23d04d=_0xae5d04,_0x575fd6=this[_0x23d04d(0x243)][_0x23d04d(0x208)][_0x23d04d(0x201)](_0x15de0c),_0x26e930=this[_0x23d04d(0x243)][_0x23d04d(0x208)][_0x23d04d(0x201)](_0x37687c),_0x22e646=_0x575fd6[_0x23d04d(0x236)][_0x23d04d(0x201)](this[_0x23d04d(0x21c)]);_0x22e646&&_0x22e646[_0x23d04d(0x1cc)]>0x1?_0x26e930[_0x23d04d(0x1dc)]():this[_0x23d04d(0x268)](_0x575fd6,_0x23d04d(0x205)+this[_0x23d04d(0x21c)],()=>{const _0x7f3a0d=_0x23d04d;0x2===_0x575fd6[_0x7f3a0d(0x236)][_0x7f3a0d(0x201)](this[_0x7f3a0d(0x21c)])[_0x7f3a0d(0x1cc)]&&_0x26e930[_0x7f3a0d(0x1dc)]();});}async[_0xae5d04(0x28e)](_0x4e7c2a,_0x57961b,_0x1e6ddd,_0x157d0f){const _0x47d1ba=_0xae5d04;if(!this[_0x47d1ba(0x20b)]&&this[_0x47d1ba(0x20d)][_0x47d1ba(0x293)]==_0x57961b){const _0x3636f9=this[_0x47d1ba(0x1d7)](_0x1e6ddd,_0x157d0f);await this[_0x47d1ba(0x23c)](_0x3636f9),this[_0x47d1ba(0x285)](_0x3636f9,_0x57961b,_0x1e6ddd[_0x47d1ba(0x1ce)])||this[_0x47d1ba(0x2a4)](_0x47d1ba(0x20f));}}async[_0xae5d04(0x1fa)](){const _0x237d3e=_0xae5d04;this[_0x237d3e(0x26d)]();const {locale:_0x2ac06f}=this[_0x237d3e(0x243)];let _0x4acc49;try{_0x4acc49=await this[_0x237d3e(0x263)][_0x237d3e(0x262)]();}catch{const _0x3379f6=_0x267250(_0x2ac06f,_0x237d3e(0x241));return void this[_0x237d3e(0x2a1)](_0x3379f6);}const _0x2f8e67=_0x4acc49[_0x237d3e(0x1df)]||_0x4acc49[_0x237d3e(0x237)];if(this[_0x237d3e(0x23a)]!==_0x2f8e67[_0x237d3e(0x1ce)]){const _0x5c34cb=_0x267250(_0x2ac06f,_0x237d3e(0x254));return void this[_0x237d3e(0x2a1)](_0x5c34cb);}await this[_0x237d3e(0x1d1)](this[_0x237d3e(0x243)][_0x237d3e(0x1bd)][_0x237d3e(0x27e)][_0x237d3e(0x1f3)][_0x237d3e(0x20e)](),!0x0);}[_0xae5d04(0x26d)](){const _0x2df982=_0xae5d04;this[_0x2df982(0x263)][_0x2df982(0x291)](),this[_0x2df982(0x294)]=[],clearTimeout(this[_0x2df982(0x1f5)]),this[_0x2df982(0x1f2)](this[_0x2df982(0x263)]);}[_0xae5d04(0x25f)](_0x206383){const _0x2a7b97=_0xae5d04,_0x228e63=this[_0x2a7b97(0x243)][_0x2a7b97(0x208)][_0x2a7b97(0x201)](_0x15de0c);this[_0x2a7b97(0x268)](_0x228e63,_0x2a7b97(0x205)+this[_0x2a7b97(0x21c)],(_0x246e01,{session:_0x54b8f8})=>{const _0x253e1f=_0x2a7b97;if(_0x54b8f8['id']===_0x228e63[_0x253e1f(0x1cf)]){_0x246e01[_0x253e1f(0x275)]();const _0x42b50c=this[_0x253e1f(0x243)][_0x253e1f(0x208)][_0x253e1f(0x25e)](_0x253e1f(0x26c))&&this[_0x253e1f(0x243)][_0x253e1f(0x208)][_0x253e1f(0x201)](_0x253e1f(0x26c));let _0x3dde81=_0x54b8f8[_0x253e1f(0x1ee)];_0x42b50c&&_0x42b50c[_0x253e1f(0x295)]&&(_0x3dde81=_0x3dde81[_0x253e1f(0x1d9)](_0x4417e4=>_0x253e1f(0x22d)!==_0x4417e4)),this[_0x253e1f(0x243)][_0x253e1f(0x208)][_0x253e1f(0x201)](_0x253e1f(0x1ca))[_0x253e1f(0x29d)](_0x3dde81,this[_0x253e1f(0x21c)]);}}),_0x228e63[_0x2a7b97(0x23e)](this[_0x2a7b97(0x21c)],_0x206383);}[_0xae5d04(0x240)](){const _0x58bdbb=_0xae5d04,_0x27dd0c=this[_0x58bdbb(0x243)][_0x58bdbb(0x27f)][_0x58bdbb(0x24e)];this[_0x58bdbb(0x243)][_0x58bdbb(0x27f)][_0x58bdbb(0x24e)]=(..._0x3b8e99)=>{const _0x3dfad6=_0x58bdbb;if(!_0x3b8e99[_0x3b8e99[_0x3dfad6(0x1cc)]-0x1][_0x3dfad6(0x1d3)])throw new _0x1ccadc(_0x3dfad6(0x1e3),this);_0x27dd0c[_0x3dfad6(0x23f)](this[_0x3dfad6(0x243)][_0x3dfad6(0x27f)],_0x3b8e99);};}[_0xae5d04(0x242)](){const _0x1fc008=_0xae5d04;this[_0x1fc008(0x243)][_0x1fc008(0x27f)]['on'](_0x1fc008(0x220),(_0x17c073,[_0x283d22])=>{const _0x529e0d=_0x1fc008;if(this[_0x529e0d(0x20d)][_0x529e0d(0x293)])throw new _0x1ccadc(_0x529e0d(0x2a2),this);_0x17c073[_0x529e0d(0x290)](),this[_0x529e0d(0x22f)]();const _0x413694=this[_0x529e0d(0x243)][_0x529e0d(0x1f7)][_0x529e0d(0x201)](_0x529e0d(0x286)),_0x17b52d=this[_0x529e0d(0x2aa)](_0x283d22,_0x413694);0x0==_0x17b52d[_0x529e0d(0x1cc)]&&_0x17b52d[_0x529e0d(0x2b6)](new _0x1d2a5b(0x0)),_0x17c073[_0x529e0d(0x1b2)]=this[_0x529e0d(0x1d1)](_0x17b52d)[_0x529e0d(0x2a0)](()=>{const _0x244a4c=_0x529e0d;this[_0x244a4c(0x243)][_0x244a4c(0x208)][_0x244a4c(0x201)](_0x40c7a1)[_0x244a4c(0x266)](this),this[_0x244a4c(0x243)][_0x244a4c(0x27f)][_0x244a4c(0x282)](_0x244a4c(0x1f1));})[_0x529e0d(0x2b2)](_0x2389cf=>this[_0x529e0d(0x2a4)](_0x529e0d(0x27d),_0x2389cf))[_0x529e0d(0x278)](()=>this[_0x529e0d(0x1d4)]());},{'priority':_0x1fc008(0x206)}),this[_0x1fc008(0x243)]['on'](_0x1fc008(0x271),async(_0x15a7f1,[_0x14548d,_0x4a40cc])=>{const _0x415ab9=_0x1fc008;_0x15a7f1[_0x415ab9(0x290)]();const _0x3c2207=this[_0x415ab9(0x243)][_0x415ab9(0x1bd)][_0x415ab9(0x27e)][_0x415ab9(0x21a)](_0x14548d);if(!this[_0x415ab9(0x1c1)][_0x415ab9(0x25e)](_0x14548d)){const _0x218d2d=_0x4a40cc&&_0x4a40cc[_0x415ab9(0x27f)]?_0x4a40cc[_0x415ab9(0x27f)]:'',_0xbe2f1f=_0x4a40cc&&_0x4a40cc[_0x415ab9(0x1f6)]?_0x4a40cc[_0x415ab9(0x1f6)]:{};await this[_0x415ab9(0x2ab)](_0x14548d,_0x218d2d,_0xbe2f1f);}this[_0x415ab9(0x243)][_0x415ab9(0x1bd)][_0x415ab9(0x281)]({'isUndoable':!0x1},()=>{const _0x5e6722=_0x415ab9;_0x3c2207[_0x5e6722(0x1b8)]=!0x0,this[_0x5e6722(0x243)][_0x5e6722(0x1bd)][_0x5e6722(0x27e)][_0x5e6722(0x24b)][_0x5e6722(0x209)](_0x3c2207);});},{'priority':_0x1fc008(0x206)});}async[_0xae5d04(0x23c)](_0xa945e8){const _0x4988fe=_0xae5d04,_0x17ba62=this[_0x4988fe(0x243)][_0x4988fe(0x208)][_0x4988fe(0x201)](_0xdb823b),{connection:_0x55e69a}=this[_0x4988fe(0x243)][_0x4988fe(0x208)][_0x4988fe(0x201)](_0x40c7a1),_0x2dd066=new Set();for(const _0x4a2301 of _0xa945e8){const _0x4cb678=_0x4a2301[_0x4988fe(0x1c4)];_0x4cb678&&!_0x17ba62[_0x4988fe(0x224)](_0x4cb678)&&_0x2dd066[_0x4988fe(0x2b0)](_0x4cb678);}if(0x0===_0x2dd066[_0x4988fe(0x1bb)])return;const _0x2af212=await _0x3e4434[_0x4988fe(0x296)](_0x55e69a,Array[_0x4988fe(0x25b)](_0x2dd066));for(const _0x1a3ad8 of _0x2af212)_0x17ba62[_0x4988fe(0x224)](_0x1a3ad8['id'])||_0x17ba62[_0x4988fe(0x297)](_0x1a3ad8);}[_0xae5d04(0x2aa)](_0x2d2af0,_0x1d2e54={}){const _0x2611c9=_0xae5d04,_0x1711a6=this[_0x2611c9(0x243)][_0x2611c9(0x1bd)],_0x2e5eff=[];let _0x582368=0x0;const _0x59c384=_0x2611c9(0x215)==typeof _0x2d2af0?{'main':_0x2d2af0}:_0x2d2af0;for(const _0x181c64 of Object[_0x2611c9(0x28c)](_0x59c384)){if(!this[_0x2611c9(0x20d)][_0x2611c9(0x277)][_0x2611c9(0x25e)](_0x181c64))throw new _0x1ccadc(_0x2611c9(0x1b7),this);const _0x449ec5=this[_0x2611c9(0x243)][_0x2611c9(0x27f)][_0x2611c9(0x276)](_0x59c384[_0x181c64]),_0x2aea24=this[_0x2611c9(0x20d)][_0x2611c9(0x21a)](_0x181c64),_0x3fdf58=new _0x18a46c(_0x1711a6[_0x2611c9(0x292)](_0x2aea24,0x0),_0x449ec5,_0x582368++);_0x2e5eff[_0x2611c9(0x2b6)](_0x3fdf58);for(const [_0x557097,_0x24edb0]of _0x449ec5[_0x2611c9(0x28a)]){const _0x339105=_0x1711a6[_0x2611c9(0x1fb)](_0x1711a6[_0x2611c9(0x1d0)](_0x2aea24,_0x24edb0[_0x2611c9(0x1ff)][_0x2611c9(0x200)][_0x2611c9(0x228)]()),_0x1711a6[_0x2611c9(0x1d0)](_0x2aea24,_0x24edb0[_0x2611c9(0x203)][_0x2611c9(0x200)][_0x2611c9(0x228)]())),_0x3f7dc3=new _0x4941be(_0x557097,null,_0x339105,_0x1711a6[_0x2611c9(0x28a)],!0x0,_0x582368++);_0x2e5eff[_0x2611c9(0x2b6)](_0x3f7dc3);}}if(_0x1d2e54)for(const [_0x5e1a1b,_0x5bcbe6]of Object[_0x2611c9(0x2ae)](_0x1d2e54)){const _0x55d531=_0x1711a6[_0x2611c9(0x27e)][_0x2611c9(0x21a)](_0x5e1a1b);if(!_0x55d531)throw new _0x1ccadc(_0x2611c9(0x202),null);for(const [_0xdf4dbd,_0x310fdf]of Object[_0x2611c9(0x2ae)](_0x5bcbe6))if(null!==_0x310fdf){const _0x581c6=new _0x59ce1b(_0x55d531,_0xdf4dbd,null,_0x310fdf,_0x582368++);_0x2e5eff[_0x2611c9(0x2b6)](_0x581c6);}}return _0x2e5eff;}async[_0xae5d04(0x2ab)](_0x42e5f0,_0x2142b1,_0x11cba5){const _0x1ae817=_0xae5d04;this[_0x1ae817(0x2aa)]({[_0x42e5f0]:_0x2142b1},{[_0x42e5f0]:_0x11cba5})[_0x1ae817(0x216)]((_0xc5f5c2,_0x55541f)=>{const _0x88d3e=_0x1ae817;_0xc5f5c2[_0x88d3e(0x284)]=this[_0x88d3e(0x20d)][_0x88d3e(0x293)]+_0x55541f,_0xc5f5c2[_0x88d3e(0x1c3)]=!0x0,this[_0x88d3e(0x1bf)](_0xc5f5c2);}),this[_0x1ae817(0x229)](),await this[_0x1ae817(0x272)]();}async[_0xae5d04(0x1da)](_0x15357e,_0x2faf6e){const _0x4b26ab=_0xae5d04;let _0x4006db;this[_0x4b26ab(0x29a)]=_0x15357e[_0x4b26ab(0x1e7)];const _0x33b8c3=_0x15357e[_0x4b26ab(0x1db)]&&!_0x15357e[_0x4b26ab(0x1c5)],_0x14eb3e=_0x33b8c3?0x0:_0x15357e[_0x4b26ab(0x27f)][_0x4b26ab(0x284)];if(_0x2faf6e[_0x4b26ab(0x216)](_0x3fe791=>{const _0x26dbf1=_0x4b26ab;_0x3fe791[_0x26dbf1(0x1c3)]=!0x0,_0x3fe791[_0x26dbf1(0x230)]=_0x15357e[_0x26dbf1(0x226)],_0x3fe791[_0x26dbf1(0x1c4)]=null;}),_0x33b8c3)_0x4006db=_0x2faf6e,this[_0x4b26ab(0x25a)](_0x4006db,_0x33b8c3);else{if(_0x15357e[_0x4b26ab(0x1c5)]){const _0x9638c3=this[_0x4b26ab(0x2aa)](_0x15357e[_0x4b26ab(0x1c5)]);this[_0x4b26ab(0x20d)][_0x4b26ab(0x1f3)][_0x4b26ab(0x293)]=-_0x9638c3[_0x4b26ab(0x1cc)],_0x9638c3[_0x4b26ab(0x216)](_0x5642c5=>{const _0x2fd8b2=_0x4b26ab;_0x5642c5[_0x2fd8b2(0x284)]-=_0x9638c3[_0x2fd8b2(0x1cc)],_0x5642c5[_0x2fd8b2(0x230)]=_0x15357e[_0x2fd8b2(0x226)],_0x5642c5[_0x2fd8b2(0x1c3)]=!0x0,_0x5642c5[_0x2fd8b2(0x1c4)]=null;}),this[_0x4b26ab(0x25a)](_0x9638c3,!0x0),this[_0x4b26ab(0x1b3)][_0x4b26ab(0x293)]=-_0x9638c3[_0x4b26ab(0x1cc)]+this[_0x4b26ab(0x29a)],this[_0x4b26ab(0x1c0)](_0x9638c3);}this[_0x4b26ab(0x20d)][_0x4b26ab(0x1f3)][_0x4b26ab(0x293)]=_0x14eb3e,_0x4006db=this[_0x4b26ab(0x1d7)](_0x15357e[_0x4b26ab(0x27f)],_0x15357e[_0x4b26ab(0x234)]),await this[_0x4b26ab(0x23c)](_0x4006db),this[_0x4b26ab(0x25a)](_0x4006db,_0x33b8c3);}_0x15357e[_0x4b26ab(0x1ce)]&&(this[_0x4b26ab(0x257)][_0x4b26ab(0x231)](_0x4006db,_0x15357e[_0x4b26ab(0x1ce)]),this[_0x4b26ab(0x23a)]=_0x15357e[_0x4b26ab(0x1ce)]),this[_0x4b26ab(0x1b3)][_0x4b26ab(0x293)]=_0x14eb3e+this[_0x4b26ab(0x29a)],this[_0x4b26ab(0x1c0)](_0x4006db),_0x2faf6e[_0x4b26ab(0x1d9)](_0xec158a=>{const _0x2cc321=_0x4b26ab,_0x5c6dfe=this[_0x2cc321(0x232)](_0xec158a);return _0x5c6dfe&&!this[_0x2cc321(0x1c1)][_0x2cc321(0x25e)](_0x5c6dfe);})[_0x4b26ab(0x216)]((_0x2e89a4,_0x581231)=>{const _0x57401e=_0x4b26ab;_0x2e89a4[_0x57401e(0x284)]=this[_0x57401e(0x20d)][_0x57401e(0x293)]+_0x581231,this[_0x57401e(0x1bf)](_0x2e89a4);}),this[_0x4b26ab(0x1e6)]()?(this[_0x4b26ab(0x1e9)]=0x0,this[_0x4b26ab(0x229)](!0x0),await this[_0x4b26ab(0x272)]()):(this[_0x4b26ab(0x20b)]=!0x1,this[_0x4b26ab(0x1d4)]());}[_0xae5d04(0x2a4)](_0x51e4e0,_0x5b2148){const _0x583787=_0xae5d04,_0x16a5ba=_0x5b2148&&_0x5b2148[_0x583787(0x1d2)];if(_0x16a5ba&&_0x16a5ba[_0x583787(0x28f)](_0x583787(0x20a)))throw _0x5b2148;const _0xe3eaf1=this[_0x583787(0x243)][_0x583787(0x208)][_0x583787(0x201)](_0x40c7a1);throw this[_0x583787(0x20b)]=!0x0,_0xe3eaf1[_0x583787(0x291)](),this[_0x583787(0x243)][_0x583787(0x253)](_0x583787(0x29b)),new _0x1ccadc(_0x51e4e0,this[_0x583787(0x243)],_0x16a5ba?{'originalError':_0x16a5ba}:void 0x0);}[_0xae5d04(0x1bf)](_0x54b54b){const _0x11df2b=_0xae5d04;this[_0x11df2b(0x221)][_0x11df2b(0x25e)](_0x54b54b)||(this[_0x11df2b(0x221)][_0x11df2b(0x2b0)](_0x54b54b),this[_0x11df2b(0x294)][_0x11df2b(0x2b6)](_0x54b54b),this[_0x11df2b(0x248)]||_0x11df2b(0x1b6)==_0x54b54b[_0x11df2b(0x1be)]&&!_0x54b54b[_0x11df2b(0x264)]||this[_0x11df2b(0x22f)]());}[_0xae5d04(0x229)](_0x4c7d26=!0x1){const _0x2c71b8=_0xae5d04;!_0x4c7d26&&this[_0x2c71b8(0x20b)]||(this[_0x2c71b8(0x20b)]=!0x0,clearTimeout(this[_0x2c71b8(0x1f5)]),this[_0x2c71b8(0x1f5)]=setTimeout(()=>{const _0xdd24c7=_0x2c71b8;this[_0xdd24c7(0x1b9)]()[_0xdd24c7(0x2a0)](_0x4000c2=>{const _0x1e2637=_0xdd24c7;_0x4000c2&&(this[_0x1e2637(0x1d4)](),this[_0x1e2637(0x20b)]=!0x1);})[_0xdd24c7(0x2b2)](_0x4e38c7=>{const _0x21198f=_0xdd24c7;this[_0x21198f(0x1d4)](),this[_0x21198f(0x20b)]=!0x1,function(_0x11652a){const _0x2d6609=_0x21198f;return _0x11652a[_0x2d6609(0x1d2)][_0x2d6609(0x28f)](_0x2d6609(0x23b))||_0x11652a[_0x2d6609(0x1d2)][_0x2d6609(0x28f)](_0x2d6609(0x261))||_0x11652a[_0x2d6609(0x1d2)][_0x2d6609(0x28f)](_0x2d6609(0x25d));}(_0x4e38c7)||this[_0x21198f(0x2a4)](_0x4e38c7[_0x21198f(0x1d2)],_0x4e38c7);});},this[_0x2c71b8(0x1e9)]));}[_0xae5d04(0x272)](){return new Promise(_0xb08141=>{const _0x45f6da=_0x53ec;this['on'](_0x45f6da(0x219),()=>{_0xb08141();});});}async[_0xae5d04(0x1b9)](){const _0x488dfb=_0xae5d04,_0x19fb11=this[_0x488dfb(0x243)][_0x488dfb(0x208)][_0x488dfb(0x201)](_0x37687c);if(this[_0x488dfb(0x225)]()&&(_0x19fb11[_0x488dfb(0x1dc)](),this[_0x488dfb(0x250)]=!0x1),!this[_0x488dfb(0x1e6)]())return!0x0;const _0x539500=[...this[_0x488dfb(0x294)]];for(const _0x5517b5 of _0x539500)_0x5517b5[_0x488dfb(0x21b)]=this[_0x488dfb(0x20d)][_0x488dfb(0x1f3)][_0x488dfb(0x249)](_0x5517b5);const _0x11b096=this[_0x488dfb(0x257)][_0x488dfb(0x21f)](_0x539500),_0x22b521=G++,_0x12a228=this[_0x488dfb(0x233)](_0x539500),_0x3c9ad8=await this[_0x488dfb(0x263)][_0x488dfb(0x1e0)](_0x12a228,_0x12a228[_0x488dfb(0x284)],_0x11b096);try{return await this[_0x488dfb(0x26b)](_0x539500,_0x3c9ad8,_0x22b521);}catch(_0x1cb206){return this[_0x488dfb(0x2a4)](_0x488dfb(0x1c7),_0x1cb206);}}async[_0xae5d04(0x26b)](_0x53edba,_0x23cff3,_0x55b693){const _0x175891=_0xae5d04;if(_0x175891(0x256)in _0x23cff3)throw _0x23cff3[_0x175891(0x256)];let _0x3eb3f9=!0x1;if(_0x23cff3[_0x175891(0x1db)]){_0x23cff3[_0x175891(0x1ce)]&&(this[_0x175891(0x23a)]=_0x23cff3[_0x175891(0x1ce)]),this[_0x175891(0x294)]=this[_0x175891(0x294)][_0x175891(0x1d9)](_0x4e9ccb=>!_0x53edba[_0x175891(0x2b4)](_0x4e9ccb));for(const _0x451cc4 of _0x53edba)_0x451cc4[_0x175891(0x230)]=_0x175891(0x259)in _0x23cff3&&_0x23cff3[_0x175891(0x259)]||void 0x0;K(_0x53edba,_0x23cff3[_0x175891(0x293)]-_0x53edba[_0x175891(0x1cc)]),this[_0x175891(0x1c0)](_0x53edba);const _0x2f21ee=_0x53edba[_0x175891(0x1d9)](_0x379bb1=>{const _0x4ce54b=_0x175891;if(!_0x379bb1[_0x4ce54b(0x1c3)])return!0x1;const _0x4a13c6=this[_0x4ce54b(0x232)](_0x379bb1);return _0x4a13c6&&!this[_0x4ce54b(0x1c1)][_0x4ce54b(0x25e)](_0x4a13c6);});K(_0x2f21ee,this[_0x175891(0x20d)][_0x175891(0x293)]),this[_0x175891(0x25a)](_0x2f21ee),_0x3eb3f9=!0x0,this[_0x175891(0x1e9)]=this[_0x175891(0x26f)];}else{const _0xc9382c=this[_0x175891(0x1d7)](_0x23cff3[_0x175891(0x27f)],_0x23cff3[_0x175891(0x234)])[_0x175891(0x1d9)](_0xe9bbc2=>_0xe9bbc2[_0x175891(0x284)]>=this[_0x175891(0x2b7)]);_0xc9382c[_0x175891(0x216)](_0x39a785=>this[_0x175891(0x218)](_0x39a785)),this[_0x175891(0x294)]=this[_0x175891(0x294)][_0x175891(0x1d9)](_0x5750f7=>!_0x5750f7[_0x175891(0x1c3)]||!this[_0x175891(0x1c1)][_0x175891(0x25e)](this[_0x175891(0x232)](_0x5750f7))),this[_0x175891(0x294)][_0x175891(0x1cc)]&&K(this[_0x175891(0x294)],this[_0x175891(0x294)][0x0][_0x175891(0x284)]),await this[_0x175891(0x23c)](_0xc9382c),_0x3eb3f9=this[_0x175891(0x285)](_0xc9382c,_0x23cff3[_0x175891(0x293)],_0x23cff3[_0x175891(0x1ce)]),this[_0x175891(0x1e9)]=Math[_0x175891(0x1de)](this[_0x175891(0x1e9)]/0x2);}return _0x3eb3f9?!this[_0x175891(0x1e6)]()||(this[_0x175891(0x229)](!0x0),!0x1):this[_0x175891(0x2a4)](_0x175891(0x235));}[_0xae5d04(0x285)](_0x460769,_0x3b6370,_0x546269){const _0x5f0424=_0xae5d04;try{const _0xd0a245={'document':this[_0x5f0424(0x20d)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3e4fb4,operationsB:_0x267f9f,originalOperations:_0x1ec8d8}=_0x12954f(_0x460769,this[_0x5f0424(0x294)],_0xd0a245);K(_0x3e4fb4,this[_0x5f0424(0x20d)][_0x5f0424(0x293)]),K(_0x267f9f,_0x3b6370);for(const _0x14201b of _0x3e4fb4){const _0x5c9d40=_0x1ec8d8[_0x5f0424(0x201)](_0x14201b);_0x14201b[_0x5f0424(0x1c4)]=_0x5c9d40?_0x5c9d40[_0x5f0424(0x1c4)]:null;}_0x546269&&(this[_0x5f0424(0x257)][_0x5f0424(0x231)](_0x460769,_0x546269),this[_0x5f0424(0x23a)]=_0x546269),this[_0x5f0424(0x294)]=[..._0x267f9f],this[_0x5f0424(0x25a)](_0x3e4fb4),this[_0x5f0424(0x1c0)](_0x460769);}catch(_0x5c60df){return console[_0x5f0424(0x256)](_0x5c60df),!0x1;}return!0x0;}[_0xae5d04(0x25a)](_0x296b45,_0x3d9135=!0x1){const _0x24e913=_0xae5d04;this[_0x24e913(0x243)][_0x24e913(0x1bd)][_0x24e913(0x281)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4f20f4=>{const _0x272496=_0x24e913;for(const _0x14e2fe of _0x296b45)this[_0x272496(0x221)][_0x272496(0x2b0)](_0x14e2fe),this[_0x272496(0x218)](_0x14e2fe),_0x4f20f4[_0x272496(0x245)][_0x272496(0x27a)](_0x14e2fe),this[_0x272496(0x243)][_0x272496(0x1bd)][_0x272496(0x2ac)](_0x14e2fe);});}[_0xae5d04(0x218)](_0x59482f){const _0x2c64d6=_0xae5d04,_0x17324c=this[_0x2c64d6(0x232)](_0x59482f);_0x17324c&&this[_0x2c64d6(0x1c1)][_0x2c64d6(0x2b0)](_0x17324c);}[_0xae5d04(0x232)](_0x5bd2e4){const _0x16c7a6=_0xae5d04;let _0x334bb7,_0x257252;switch(_0x5bd2e4[_0x16c7a6(0x1be)]){case _0x16c7a6(0x1bc):_0x334bb7=_0x5bd2e4[_0x16c7a6(0x2a8)][_0x16c7a6(0x29f)];break;case _0x16c7a6(0x1b6):if(_0x257252=_0x5bd2e4[_0x16c7a6(0x2a9)],!_0x257252)return null;_0x334bb7=_0x257252[_0x16c7a6(0x29f)];break;case _0x16c7a6(0x26e):_0x334bb7=_0x5bd2e4[_0x16c7a6(0x29f)];break;case _0x16c7a6(0x1c2):_0x334bb7=_0x5bd2e4[_0x16c7a6(0x213)];break;case _0x16c7a6(0x255):_0x334bb7=_0x5bd2e4[_0x16c7a6(0x246)][_0x16c7a6(0x29f)];break;default:return null;}return _0x334bb7[_0x16c7a6(0x247)];}[_0xae5d04(0x1c0)](_0x2c54c7){const _0x4969e6=_0xae5d04;_0x2c54c7[_0x4969e6(0x216)](_0x401ba0=>{const _0x5ed543=_0x4969e6,_0x33f09a=_0x401ba0[_0x5ed543(0x217)]();_0x33f09a[_0x5ed543(0x1c4)]=_0x401ba0[_0x5ed543(0x1c4)],_0x33f09a[_0x5ed543(0x1c3)]=!!_0x401ba0[_0x5ed543(0x1c3)],_0x33f09a[_0x5ed543(0x230)]=_0x401ba0[_0x5ed543(0x230)],_0x33f09a[_0x5ed543(0x284)]+=this[_0x5ed543(0x29a)],_0x401ba0[_0x5ed543(0x27c)]&&this[_0x5ed543(0x222)][_0x5ed543(0x2b0)](_0x33f09a),this[_0x5ed543(0x1b3)][_0x5ed543(0x27a)](_0x33f09a);});}[_0xae5d04(0x2a1)](_0x9d9531){const _0x223857=_0xae5d04,_0x4c6bf8=this[_0x223857(0x243)][_0x223857(0x208)][_0x223857(0x201)](_0x223857(0x25c)),_0x300d23=this[_0x223857(0x243)][_0x223857(0x274)];_0x9d9531||(_0x9d9531=_0x267250(_0x300d23,_0x223857(0x24c))),_0x4c6bf8[_0x223857(0x1c6)](_0x9d9531,{'title':_0x267250(_0x300d23,_0x223857(0x2a5)),'namespace':_0x223857(0x238)}),this[_0x223857(0x239)]=!0x0,clearTimeout(this[_0x223857(0x1f5)]),this[_0x223857(0x294)]=[],this[_0x223857(0x243)][_0x223857(0x208)][_0x223857(0x201)](_0x40c7a1)[_0x223857(0x291)]();}[_0xae5d04(0x22f)](){const _0x43e269=_0xae5d04;this[_0x43e269(0x248)]||(this[_0x43e269(0x248)]=this[_0x43e269(0x243)][_0x43e269(0x208)][_0x43e269(0x201)](_0x17ac66)[_0x43e269(0x2b0)](_0x267250(this[_0x43e269(0x243)][_0x43e269(0x274)],_0x43e269(0x207))));}[_0xae5d04(0x1d4)](){const _0xf0695=_0xae5d04;this[_0xf0695(0x248)]&&(this[_0xf0695(0x243)][_0xf0695(0x208)][_0xf0695(0x201)](_0x17ac66)[_0xf0695(0x1b4)](this[_0xf0695(0x248)]),this[_0xf0695(0x248)]=null);}[_0xae5d04(0x233)](_0x18e967){const _0x21f2f6=_0xae5d04,_0x201be0=_0x18e967[_0x21f2f6(0x251)](_0x523b69=>_0x523b69[_0x21f2f6(0x24d)]());return this[_0x21f2f6(0x24f)][_0x21f2f6(0x2b3)](_0x201be0);}[_0xae5d04(0x1d7)](_0x48269b,_0x2dac56){const _0x38e333=_0xae5d04;return this[_0x38e333(0x24f)][_0x38e333(0x29e)](_0x48269b)[_0x38e333(0x251)]((_0x56dfe6,_0x29a0c9)=>{const _0x94cea4=_0x38e333,_0x46207d=_0x94cea4(0x220)==_0x2dac56[_0x29a0c9][_0x94cea4(0x1be)];if(_0x94cea4(0x1e5)==_0x56dfe6[_0x94cea4(0x24a)]){const _0x2a7db1=_0x56dfe6[_0x94cea4(0x2a8)][_0x94cea4(0x29f)];!this[_0x94cea4(0x20d)][_0x94cea4(0x21a)](_0x2a7db1)&&(this[_0x94cea4(0x20d)][_0x94cea4(0x244)](_0x94cea4(0x22e),_0x2a7db1)[_0x94cea4(0x2a7)]=!0x1);}const _0x579bb5=_0x363f33[_0x94cea4(0x1e1)](_0x56dfe6,this[_0x94cea4(0x20d)]);return _0x579bb5[_0x94cea4(0x21b)]=_0x56dfe6[_0x94cea4(0x21b)],_0x579bb5[_0x94cea4(0x1c3)]=_0x46207d,_0x579bb5[_0x94cea4(0x1c4)]=_0x46207d?null:_0x2dac56[_0x29a0c9][_0x94cea4(0x1c9)],_0x579bb5[_0x94cea4(0x27c)]=_0x94cea4(0x1ef)===_0x2dac56[_0x29a0c9][_0x94cea4(0x1be)],_0x579bb5[_0x94cea4(0x230)]=_0x2dac56[_0x29a0c9][_0x94cea4(0x230)],_0x579bb5;});}[_0xae5d04(0x1b5)](){const _0xbac294=_0xae5d04;this[_0xbac294(0x250)]=!0x0,this[_0xbac294(0x225)]()?this[_0xbac294(0x229)]():this[_0xbac294(0x250)]=!0x1;}[_0xae5d04(0x225)](){const _0x4da7b8=_0xae5d04,_0x903dae=this[_0x4da7b8(0x243)][_0x4da7b8(0x208)][_0x4da7b8(0x201)](_0x15de0c)[_0x4da7b8(0x236)][_0x4da7b8(0x201)](this[_0x4da7b8(0x21c)]);return!this[_0x4da7b8(0x243)][_0x4da7b8(0x1eb)]&&!!_0x903dae&&_0x903dae[_0x4da7b8(0x1cc)]>0x1&&this[_0x4da7b8(0x250)];}[_0xae5d04(0x1e6)](){const _0x49def1=_0xae5d04;return this[_0x49def1(0x294)][_0x49def1(0x1cc)]>0x0||this[_0x49def1(0x225)]();}}class $ extends Error{}function K(_0x290962,_0x379039){const _0x10edb9=_0xae5d04;for(const _0x2a7f79 of _0x290962)_0x2a7f79[_0x10edb9(0x284)]=_0x379039++;}class J{[_0xae5d04(0x287)];[_0xae5d04(0x1ea)];constructor(_0x1b2e56){const _0x5704b3=_0xae5d04;this[_0x5704b3(0x287)]=_0x1b2e56,this[_0x5704b3(0x1ea)]=new WeakMap();}[_0xae5d04(0x21f)](_0x21fd54){const _0x5e5795=_0xae5d04;let _0x4e5644=_0x21fd54[_0x5e5795(0x1cc)];for(;_0x4e5644--;){const _0x196394=_0x21fd54[_0x4e5644];if(!this[_0x5e5795(0x287)][_0x5e5795(0x25e)](_0x196394)){if(!this[_0x5e5795(0x1ea)][_0x5e5795(0x25e)](_0x196394)){const _0x3ca47e=_0x56aaff()[_0x5e5795(0x228)](0x1,0x12);this[_0x5e5795(0x1ea)][_0x5e5795(0x24e)](_0x196394,_0x3ca47e);}return this[_0x5e5795(0x1ea)][_0x5e5795(0x201)](_0x196394);}}}[_0xae5d04(0x231)](_0xb57ba2,_0x582cd4){const _0x44edc1=_0xae5d04;if(!_0x582cd4)return;let _0x3160ba=_0xb57ba2[_0x44edc1(0x1cc)];for(;_0x3160ba--;){const _0x268ca0=_0xb57ba2[_0x3160ba];this[_0x44edc1(0x287)][_0x44edc1(0x25e)](_0x268ca0)||this[_0x44edc1(0x1ea)][_0x44edc1(0x24e)](_0x268ca0,_0x582cd4);}}}
|
|
23
|
+
const _0x1f672e=_0x3364;function _0x3048(){const _0x3a8dda=['editing','push','_handleInitialConnectionData','add','404','realtimecollaborationclient-init-connection-failed','_isLoaded','_connectAfterSessionHasBeenFlushed','connection','_hasSelectionChanged','change:_isEditingAllowed','_offset','createPositionAt','define','getUser','_operationIdentifier','from','init','change:hasDomSelection','version','map','enableReadOnlyMode','getOperations','apply','getDocumentDetails','off','rootsAttributes','13509736KTXCHm','root','addRootAttribute','createRange','marker','addToReconnectionStack','RealTimeCollaborationClient','removeFromReconnectionStack','requires','getOperationAuthor','_initSessionsHandling','170lDuBdl','_currentBufferDelay','_isDisconnection','userId','_loadRoot','_compressOperations','unregister','_shouldSendSelectionUpdate','clone','collaboration.channelId','rootName','toJSON','state','realtimecollaborationclient-init-document-already-initialized','2ahnVFi','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','parse','return','roots','lastOperationId','move','disconnect','size','differ','_handleReceivedOperations','multi-root-editor-root-attributes-no-root','_disconnectionOperations','plugins','_service','_sendBufferedOperations','length','isOfficialPlugin','_bufferRootLoad','_getOperationsFromInitData','fire','baseVersion','lastOperationAcceptedAt','affectedSelectable','applyOperation','_knownOperations','cs:removeUser','sessionCreatedAt','startsWith','high','7agpePM','model','CollaborativeEditingService','set','config','_operationToId','_isPendingUpdate','loadRoot','connected','sessionAdd:','pluginName','_compressor','76550AtZtbg','realtimecollaborationclient-init-service-incorrect-server-operation','realtimecollaborationclient-sendbufferedoperations','_setPendingAction','60056128PGxRMw','_shouldSendUpdate','change:_isPendingUpdate','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','get','includes','reconnection:\x20flushed\x20session','429201jIqFDy','suppressErrorInCollaboration','newRange','InsertOperation','createRoot','setPermissions','channelSessions','document:write','_handleExternalOperations','locale','_setUpDataInit','batch','markers','Notification','_disconnectService','createUserMarkerOperations','setIdForTheLastOperation','showWarning','_addKnownRoot','rtc-offline','real-time-collaboration','filter','cloudDocumentVersion','_sendBufferedOperationsDelayed','view','isEnabled','_crash','string','734178rclRTZ','editor','_isAttached','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.','getRoot','_knownRootNames','_lastServerVersion','disconnected','cloudServices.bundleVersion','error','_lastSyncedOperationId','_updateServerHistory','permissions','currentDocumentSession','_connectService','bind','isDocumentOperation','getMany','_refreshUserSelectionMarkers','finally','has','end','_document','_saveOperationInBuffer','isReadOnly','document','_initThrowingOnDataSet','isPremiumPlugin','20NuPrLW','_handleServerResponse','initData','reconnect','_isEditingAllowed','connect','Synchronization\x20issue','addOperation','isUndoneOperation','message','_pendingAction','then','getConnectedSessions','type','_clearPendingAction','realtimecollaborationclient-error','keys','createdAt','_hasSynchronizationProblem','PENDING_ACTION_SENDING_DATA','round','createPositionFromPath','remove','stop','directChange','change:range','listenTo','enqueueChange','realtimecollaborationclient-init-non-existent-root','_sendBufferedOperationsDelayId','rtc-destroyed','lastSyncVersion','history','realtimecollaborationclient-init-session-connection-error','mySessionId','register','fromJSON','compress','collaboration-missing-channelid','Permissions','ready','disableReadOnlyMode','_handleReconnectionError','start','wasUndone','code','_channelId','operationsReceived','stopListening','10593048JfBiyR','addUser','cloud-services-internal-error:\x20Not\x20connected.','sessionId','realtimecollaborationclient-init-service-internal-error','attributes','_fetchMissingUsers','insert','destroy','decompress','targetPosition','realtimecollaborationclient','selection','CommentsOnly','offset','_bufferedOperations','path','metadata','serverHistory','data','reset','_applyOperationsSet','catch','cloud-services-internal-error:\x20Request\x20timeout.','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.','_authorId','_baseBufferDelay','4071570BrOYXx','_isConnected','affectsData','addRoot','slice','lastDocumentSession','409','_ignoredOperations','position','_isInit','_handleReconnectionResponse','realtimecollaborationclient-handleserverresponse','entries','collaboration','wereChangesApplied','_handleSendingSelectionMarkers','forEach','__className','$root','_decompressOperations','sendOperations','_waitUntilSynced','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getIdOfTheLastOperation','_getAffectedRoot'];_0x3048=function(){return _0x3a8dda;};return _0x3048();}(function(_0x1c8054,_0x17b636){const _0x4c2a8e=_0x3364,_0x171c99=_0x1c8054();while(!![]){try{const _0x50d84c=-parseInt(_0x4c2a8e(0x14f))/0x1*(-parseInt(_0x4c2a8e(0xfe))/0x2)+parseInt(_0x4c2a8e(0x1b7))/0x3+parseInt(_0x4c2a8e(0x16b))/0x4*(parseInt(_0x4c2a8e(0x128))/0x5)+parseInt(_0x4c2a8e(0x19c))/0x6+-parseInt(_0x4c2a8e(0x11c))/0x7*(-parseInt(_0x4c2a8e(0xe5))/0x8)+-parseInt(_0x4c2a8e(0x133))/0x9*(-parseInt(_0x4c2a8e(0xf0))/0xa)+-parseInt(_0x4c2a8e(0x12c))/0xb;if(_0x50d84c===_0x17b636)break;else _0x171c99['push'](_0x171c99['shift']());}catch(_0x1a0ff8){_0x171c99['push'](_0x171c99['shift']());}}}(_0x3048,0xed998));import{Plugin as _0x10ce20,PendingActions as _0x4dc2d3}from'ckeditor5/src/core.js';import{CKEditorError as _0x2189cc,version as _0xbdc4fc,uid as _0x53b76d}from'ckeditor5/src/utils.js';import{Notification as _0x1572d7}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x453938,NoOperation as _0xbd2d50,InsertOperation as _0x439d07,MarkerOperation as _0x24f8e4,RootAttributeOperation as _0x17c10a,OperationFactory as _0x24071f,History as _0x278e34}from'ckeditor5/src/engine.js';function _0x3364(_0x42b85c,_0xf89813){const _0x30481=_0x3048();return _0x3364=function(_0x3364c5,_0x5771d7){_0x3364c5=_0x3364c5-0xe2;let _0x43c983=_0x30481[_0x3364c5];return _0x43c983;},_0x3364(_0x42b85c,_0xf89813);}import{WebSocketGateway as _0x3d4717}from'./websocketgateway.js';import{Sessions as _0x535cae}from'./sessions.js';import{UserMarkers as _0x2d78d8}from'./usermarkers.js';import{getTranslation as _0x517c5f}from'../common-translations.js';import{Compressor as _0x141668}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x12e512}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x31fbaa,CollaborativeEditingService as _0x38c551}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;export class RealTimeCollaborationClient extends _0x10ce20{static [_0x1f672e(0x11e)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x38c551)());[_0x1f672e(0x1dc)];[_0x1f672e(0x19f)];[_0x1f672e(0x1ae)];[_0x1f672e(0x199)];[_0x1f672e(0x10c)];[_0x1f672e(0x165)];[_0x1f672e(0x127)];[_0x1f672e(0x1ab)];[_0x1f672e(0x117)];[_0x1f672e(0x154)];[_0x1f672e(0x175)];[_0x1f672e(0x1da)];[_0x1f672e(0x188)];[_0x1f672e(0x1b6)];[_0x1f672e(0xf1)];[_0x1f672e(0x159)];[_0x1f672e(0x10a)];[_0x1f672e(0x1e0)];static get[_0x1f672e(0xed)](){return[_0x3d4717,_0x535cae,_0x2d78d8,_0x4dc2d3,_0x12e512,_0x1572d7];}static get[_0x1f672e(0x126)](){const _0x2e381f=_0x1f672e;return _0x2e381f(0xeb);}static get[_0x1f672e(0x10f)](){return!0x0;}static get[_0x1f672e(0x16a)](){return!0x0;}get[_0x1f672e(0x149)](){const _0x3e93ef=_0x1f672e;return this[_0x3e93ef(0x155)]+this[_0x3e93ef(0x1dc)];}get[_0x1f672e(0x155)](){const _0x202d41=_0x1f672e;return this[_0x202d41(0x1ae)][_0x202d41(0x1e4)]-this[_0x202d41(0x1dc)];}get[_0x1f672e(0x18a)](){const _0x4e06f9=_0x1f672e,_0x585214=this[_0x4e06f9(0x1ae)][_0x4e06f9(0x1e7)]();for(let _0x5edcd1=_0x585214[_0x4e06f9(0x10e)]-0x1;_0x5edcd1>=0x0;_0x5edcd1--){const _0x25ed12=_0x585214[_0x5edcd1];if(!this[_0x4e06f9(0x10a)][_0x4e06f9(0x163)](_0x25ed12))return _0x25ed12[_0x4e06f9(0x113)]+0x1-this[_0x4e06f9(0x1dc)];}return 0x0;}constructor(_0x431f2f){const _0x1135d1=_0x1f672e;if(super(_0x431f2f),this[_0x1135d1(0x1dc)]=0x0,this[_0x1135d1(0x19f)]=null,this[_0x1135d1(0x1ae)]=new _0x278e34(),this[_0x1135d1(0x150)][_0x1135d1(0x120)][_0x1135d1(0x1de)](_0x1135d1(0x1c4),{}),this[_0x1135d1(0x199)]=this[_0x1135d1(0x150)][_0x1135d1(0x120)][_0x1135d1(0x130)](_0x1135d1(0xf9)),!this[_0x1135d1(0x199)])throw new _0x2189cc(_0x1135d1(0x191),this);const _0x4b9265=_0x431f2f[_0x1135d1(0x120)][_0x1135d1(0x130)](_0x1135d1(0x157))||_0xbdc4fc;this[_0x1135d1(0x10c)]=new RealTimeCollaborationClient[(_0x1135d1(0x11e))](_0x4b9265,this[_0x1135d1(0x199)]),this[_0x1135d1(0x165)]=this[_0x1135d1(0x150)][_0x1135d1(0x11d)][_0x1135d1(0x168)],this[_0x1135d1(0x127)]=new _0x141668(),this[_0x1135d1(0x1ab)]=[],this[_0x1135d1(0x117)]=new WeakSet(),this[_0x1135d1(0x154)]=new Set(),this[_0x1135d1(0x11f)](_0x1135d1(0x122),!0x1),this[_0x1135d1(0x11f)](_0x1135d1(0x17d),!0x1),this[_0x1135d1(0x175)]=null,this[_0x1135d1(0x1da)]=!0x1,this[_0x1135d1(0x188)]=null,this[_0x1135d1(0x1b6)]=0x12c,this[_0x1135d1(0xf1)]=this[_0x1135d1(0x1b6)],this[_0x1135d1(0x159)]=null,this[_0x1135d1(0x10a)]=new WeakSet(),this[_0x1135d1(0x1e0)]=new F(this[_0x1135d1(0x10a)]);}[_0x1f672e(0x1e2)](){const _0x3cbb44=_0x1f672e,_0xce5f5d=this[_0x3cbb44(0x150)],_0x39af83=_0xce5f5d[_0x3cbb44(0x10b)][_0x3cbb44(0x130)](_0x12e512),_0xafb2b=_0xce5f5d[_0x3cbb44(0x10b)][_0x3cbb44(0x130)](_0x3d4717);this[_0x3cbb44(0x185)](_0x39af83,_0x3cbb44(0xee),(_0x703be0,_0x4a4095)=>{const _0x334d67=_0x3cbb44,_0x57a316=_0x4a4095[0x0];_0x57a316[_0x334d67(0x1b5)]&&(_0x703be0[_0x334d67(0x101)]=_0x39af83[_0x334d67(0x1df)](_0x57a316[_0x334d67(0x1b5)]),_0x703be0[_0x334d67(0x182)]()),null===_0x57a316[_0x334d67(0x1b5)]&&(_0x703be0[_0x334d67(0x101)]=null,_0x703be0[_0x334d67(0x182)]());},{'priority':_0x3cbb44(0x11b)}),this[_0x3cbb44(0x185)](_0xce5f5d[_0x3cbb44(0x11d)][_0x3cbb44(0x168)][_0x3cbb44(0x1a8)],_0x3cbb44(0x184),(_0x4b27c8,_0x500ed7)=>{const _0x4e6636=_0x3cbb44;_0x500ed7[_0x4e6636(0x183)]&&this[_0x4e6636(0x161)]();}),this[_0x3cbb44(0x185)](_0xce5f5d[_0x3cbb44(0x1d1)][_0x3cbb44(0x14b)],_0x3cbb44(0x1e3),()=>{const _0x1cccf2=_0x3cbb44;this[_0x1cccf2(0x161)]();}),this[_0x3cbb44(0x169)](),_0xce5f5d[_0x3cbb44(0x11d)]['on'](_0x3cbb44(0x116),(_0x52b935,_0x44a2a4)=>{const _0x3dc80a=_0x3cbb44,_0x5eb696=_0x44a2a4[0x0];_0x5eb696[_0x3dc80a(0x15f)]&&(this[_0x3dc80a(0x166)](_0x5eb696),this[_0x3dc80a(0x12d)]()&&this[_0x3dc80a(0x14a)]());}),this[_0x3cbb44(0x13d)](),this[_0x3cbb44(0x15e)](_0x3cbb44(0x16f))['to'](_0xafb2b,_0x3cbb44(0xfc),this,_0x3cbb44(0x17d),(_0x165176,_0x28826e)=>_0x3cbb44(0x124)===_0x165176&&!_0x28826e),this['on'](_0x3cbb44(0x1db),()=>{const _0x58d123=_0x3cbb44;this[_0x58d123(0x16f)]?_0xce5f5d[_0x58d123(0x194)](_0x58d123(0x146)):_0xce5f5d[_0x58d123(0x1e6)](_0x58d123(0x146));}),this[_0x3cbb44(0x16f)]?_0xce5f5d[_0x3cbb44(0x194)](_0x3cbb44(0x146)):_0xce5f5d[_0x3cbb44(0x1e6)](_0x3cbb44(0x146)),this[_0x3cbb44(0x11f)](_0x3cbb44(0x1b8),!0x1);}async[_0x1f672e(0x16e)](){const _0x3abda4=_0x1f672e,_0x5bea7b=this[_0x3abda4(0x150)][_0x3abda4(0x10b)][_0x3abda4(0x130)](_0x535cae),_0xbc7455=this[_0x3abda4(0x150)][_0x3abda4(0x10b)][_0x3abda4(0x130)](_0x3d4717);try{this[_0x3abda4(0x122)]=!0x0,_0x5bea7b[_0x3abda4(0xf6)](this[_0x3abda4(0x199)]);const _0x16d49e=await this[_0x3abda4(0x10c)][_0x3abda4(0x16e)](_0xbc7455[_0x3abda4(0x1d9)],this[_0x3abda4(0x18a)]);await this[_0x3abda4(0x1c1)](_0x16d49e)&&(this[_0x3abda4(0x122)]=!0x1,this[_0x3abda4(0x179)]());const _0x371956=await this[_0x3abda4(0x10c)][_0x3abda4(0x177)]();_0x5bea7b[_0x3abda4(0x18e)](this[_0x3abda4(0x199)],_0x371956),this[_0x3abda4(0x1c6)](),this[_0x3abda4(0x1b8)]=!0x0;}catch(_0x5d499e){if(function(_0x2d0244){const _0x16ced2=_0x3abda4;return _0x16ced2(0x1d5)===_0x2d0244[_0x16ced2(0x198)];}(_0x5d499e)&&this[_0x3abda4(0x19f)])await this[_0x3abda4(0x1d8)]();else{if(function(_0x400a8f){const _0x4f9e68=_0x3abda4;return _0x4f9e68(0x1bd)===_0x400a8f[_0x4f9e68(0x198)];}(_0x5d499e)){const _0x5a950c=_0x517c5f(this[_0x3abda4(0x150)][_0x3abda4(0x13c)],_0x3abda4(0xff));this[_0x3abda4(0x195)](_0x5a950c);}else{if(!(_0x5d499e instanceof V))throw _0x5d499e;this[_0x3abda4(0x195)]();}}}}[_0x1f672e(0x1a4)](){const _0x4ad77a=_0x1f672e,_0x74ef32=this[_0x4ad77a(0x150)][_0x4ad77a(0x10b)][_0x4ad77a(0x130)](_0x3d4717),_0x18cdc1=this[_0x4ad77a(0x150)][_0x4ad77a(0x10b)][_0x4ad77a(0x130)](_0x535cae);this[_0x4ad77a(0x150)][_0x4ad77a(0x1e6)](_0x4ad77a(0x189)),_0x18cdc1[_0x4ad77a(0x139)][_0x4ad77a(0x163)](this[_0x4ad77a(0x199)])&&_0x18cdc1[_0x4ad77a(0xf6)](this[_0x4ad77a(0x199)]),_0x74ef32[_0x4ad77a(0xec)](this),this[_0x4ad77a(0x141)](),super[_0x4ad77a(0x1a4)]();}async[_0x1f672e(0x1c1)](_0xe10a03){const _0x329197=_0x1f672e;if(this[_0x329197(0x19f)]!==_0xe10a03[_0x329197(0x19f)]&&this[_0x329197(0x159)]!==_0xe10a03[_0x329197(0x103)])throw new V();return this[_0x329197(0x19f)]=_0xe10a03[_0x329197(0x19f)],this[_0x329197(0x16c)]([],{..._0xe10a03,'wereChangesApplied':!0x1,'data':_0xe10a03[_0x329197(0x1af)]},_0x329197(0x16e));}async[_0x1f672e(0x15d)](_0x29abb8,_0xef52fa=!0x1){const _0x24bef9=_0x1f672e,{connection:_0x48ef1d}=this[_0x24bef9(0x150)][_0x24bef9(0x10b)][_0x24bef9(0x130)](_0x3d4717);RealTimeCollaborationClient[_0x24bef9(0x11e)][_0x24bef9(0x177)](_0x48ef1d,this[_0x24bef9(0x199)])[_0x24bef9(0x176)](_0x3bb863=>this[_0x24bef9(0xef)](_0x3bb863))[_0x24bef9(0x1b2)](_0x4f932c=>{const _0x5bbd1c=_0x24bef9;this[_0x5bbd1c(0x14d)](_0x5bbd1c(0x18c),_0x4f932c);}),this[_0x24bef9(0x185)](this[_0x24bef9(0x10c)],_0x24bef9(0x19a),this[_0x24bef9(0x108)][_0x24bef9(0x15e)](this)),this[_0x24bef9(0x185)](this[_0x24bef9(0x10c)],_0x24bef9(0x158),(_0x58b727,_0xbc03ec)=>{const _0x4ef054=_0x24bef9;this[_0x4ef054(0x14d)](_0x4ef054(0x1a0),_0xbc03ec);}),this[_0x24bef9(0x185)](this[_0x24bef9(0x10c)],_0x24bef9(0x156),()=>{const _0xbd2451=_0x24bef9;this[_0xbd2451(0x1b8)]=!0x1;});const _0x1fdb0d=this[_0x24bef9(0x1e0)][_0x24bef9(0x1cf)](_0x29abb8);this[_0x24bef9(0x122)]=!0x0;const _0x1b7295=await this[_0x24bef9(0x10c)][_0x24bef9(0x170)](_0x48ef1d,this[_0x24bef9(0xf5)](_0x29abb8),_0x1fdb0d);if(this[_0x24bef9(0x19f)]=_0x1b7295[_0x24bef9(0x19f)],_0xef52fa){if(!_0x1b7295[_0x24bef9(0x1c5)])return void this[_0x24bef9(0x195)]();this[_0x24bef9(0x122)]=!0x1,this[_0x24bef9(0x179)](),this[_0x24bef9(0x1ae)][_0x24bef9(0x1b0)](),this[_0x24bef9(0x1dc)]=_0x1b7295[_0x24bef9(0x1aa)],this[_0x24bef9(0x1ae)][_0x24bef9(0x1e4)]=this[_0x24bef9(0x1dc)],await this[_0x24bef9(0x16c)](_0x29abb8,_0x1b7295,_0x24bef9(0x132));}else await this[_0x24bef9(0x1d3)](_0x1b7295,_0x29abb8);this[_0x24bef9(0x1c6)](),this[_0x24bef9(0x1b8)]=!0x0;}[_0x1f672e(0x1c6)](){const _0x2144a6=_0x1f672e,_0x42883a=this[_0x2144a6(0x150)][_0x2144a6(0x10b)][_0x2144a6(0x130)](_0x535cae),_0xf8c7f0=this[_0x2144a6(0x150)][_0x2144a6(0x10b)][_0x2144a6(0x130)](_0x2d78d8),_0x544a34=_0x42883a[_0x2144a6(0x139)][_0x2144a6(0x130)](this[_0x2144a6(0x199)]);_0x544a34&&_0x544a34[_0x2144a6(0x10e)]>0x1?_0xf8c7f0[_0x2144a6(0x142)]():this[_0x2144a6(0x185)](_0x42883a,_0x2144a6(0x125)+this[_0x2144a6(0x199)],()=>{const _0x50eef6=_0x2144a6;0x2===_0x42883a[_0x50eef6(0x139)][_0x50eef6(0x130)](this[_0x50eef6(0x199)])[_0x50eef6(0x10e)]&&_0xf8c7f0[_0x50eef6(0x142)]();});}async[_0x1f672e(0x108)](_0x21605f,_0x5cf047,_0x5909c9,_0x27bd24){const _0x42cc3c=_0x1f672e;if(!this[_0x42cc3c(0x122)]&&this[_0x42cc3c(0x165)][_0x42cc3c(0x1e4)]==_0x5cf047){const _0x13cadc=this[_0x42cc3c(0x1ca)](_0x5909c9,_0x27bd24);await this[_0x42cc3c(0x1a2)](_0x13cadc),this[_0x42cc3c(0x13b)](_0x13cadc,_0x5cf047,_0x5909c9[_0x42cc3c(0x103)])||this[_0x42cc3c(0x14d)](_0x42cc3c(0x129));}}async[_0x1f672e(0x1d8)](){const _0xa75800=_0x1f672e;this[_0xa75800(0x141)]();const {locale:_0x284b5a}=this[_0xa75800(0x150)];let _0x2a0765;try{_0x2a0765=await this[_0xa75800(0x10c)][_0xa75800(0xe2)]();}catch{const _0x357d86=_0x517c5f(_0x284b5a,_0xa75800(0x1ce));return void this[_0xa75800(0x195)](_0x357d86);}const _0x3f2daa=_0x2a0765[_0xa75800(0x15c)]||_0x2a0765[_0xa75800(0x1bc)];if(this[_0xa75800(0x159)]!==_0x3f2daa[_0xa75800(0x103)]){const _0x4efe70=_0x517c5f(_0x284b5a,_0xa75800(0x1b4));return void this[_0xa75800(0x195)](_0x4efe70);}await this[_0xa75800(0x15d)](this[_0xa75800(0x150)][_0xa75800(0x11d)][_0xa75800(0x168)][_0xa75800(0x18b)][_0xa75800(0x1e7)](),!0x0);}[_0x1f672e(0x141)](){const _0x226660=_0x1f672e;this[_0x226660(0x10c)][_0x226660(0x105)](),this[_0x226660(0x1ab)]=[],clearTimeout(this[_0x226660(0x188)]),this[_0x226660(0x19b)](this[_0x226660(0x10c)]);}[_0x1f672e(0xef)](_0x1e74c9){const _0x1b2728=_0x1f672e,_0x5959af=this[_0x1b2728(0x150)][_0x1b2728(0x10b)][_0x1b2728(0x130)](_0x535cae);this[_0x1b2728(0x185)](_0x5959af,_0x1b2728(0x125)+this[_0x1b2728(0x199)],(_0xf2c4d6,{session:_0x3cbefc})=>{const _0x565669=_0x1b2728;if(_0x3cbefc['id']===_0x5959af[_0x565669(0x18d)]){_0xf2c4d6[_0x565669(0xe3)]();const _0x27951b=this[_0x565669(0x150)][_0x565669(0x10b)][_0x565669(0x163)](_0x565669(0x1a9))&&this[_0x565669(0x150)][_0x565669(0x10b)][_0x565669(0x130)](_0x565669(0x1a9));let _0xe0922e=_0x3cbefc[_0x565669(0x15b)];_0x27951b&&_0x27951b[_0x565669(0x14c)]&&(_0xe0922e=_0xe0922e[_0x565669(0x148)](_0x4d59e3=>_0x565669(0x13a)!==_0x4d59e3)),this[_0x565669(0x150)][_0x565669(0x10b)][_0x565669(0x130)](_0x565669(0x192))[_0x565669(0x138)](_0xe0922e,this[_0x565669(0x199)]);}}),_0x5959af[_0x1b2728(0x18e)](this[_0x1b2728(0x199)],_0x1e74c9);}[_0x1f672e(0x169)](){const _0x550a91=_0x1f672e,_0x38397a=this[_0x550a91(0x150)][_0x550a91(0x1af)][_0x550a91(0x11f)];this[_0x550a91(0x150)][_0x550a91(0x1af)][_0x550a91(0x11f)]=(..._0x19692f)=>{const _0x2de8b2=_0x550a91;if(!_0x19692f[_0x19692f[_0x2de8b2(0x10e)]-0x1][_0x2de8b2(0x134)])throw new _0x2189cc(_0x2de8b2(0x12f),this);_0x38397a[_0x2de8b2(0x1e8)](this[_0x2de8b2(0x150)][_0x2de8b2(0x1af)],_0x19692f);};}[_0x1f672e(0x13d)](){const _0x252c8c=_0x1f672e;this[_0x252c8c(0x150)][_0x252c8c(0x1af)]['on'](_0x252c8c(0x1e2),(_0x5e9a7e,[_0x1a662e])=>{const _0x9dde19=_0x252c8c;if(this[_0x9dde19(0x165)][_0x9dde19(0x1e4)])throw new _0x2189cc(_0x9dde19(0xfd),this);_0x5e9a7e[_0x9dde19(0x182)](),this[_0x9dde19(0x12b)]();const _0x3be56a=this[_0x9dde19(0x150)][_0x9dde19(0x120)][_0x9dde19(0x130)](_0x9dde19(0xe4)),_0xc1f866=this[_0x9dde19(0x111)](_0x1a662e,_0x3be56a);0x0==_0xc1f866[_0x9dde19(0x10e)]&&_0xc1f866[_0x9dde19(0x1d2)](new _0xbd2d50(0x0)),_0x5e9a7e[_0x9dde19(0x101)]=this[_0x9dde19(0x15d)](_0xc1f866)[_0x9dde19(0x176)](()=>{const _0x2fcd48=_0x9dde19;this[_0x2fcd48(0x150)][_0x2fcd48(0x10b)][_0x2fcd48(0x130)](_0x3d4717)[_0x2fcd48(0xea)](this),this[_0x2fcd48(0x150)][_0x2fcd48(0x1af)][_0x2fcd48(0x112)](_0x2fcd48(0x193));})[_0x9dde19(0x1b2)](_0x211394=>this[_0x9dde19(0x14d)](_0x9dde19(0x1d6),_0x211394))[_0x9dde19(0x162)](()=>this[_0x9dde19(0x179)]());},{'priority':_0x252c8c(0x11b)}),this[_0x252c8c(0x150)]['on'](_0x252c8c(0x123),async(_0x5adf53,[_0x949001,_0x5ee89a])=>{const _0x30771d=_0x252c8c;_0x5adf53[_0x30771d(0x182)]();const _0x153cfc=this[_0x30771d(0x150)][_0x30771d(0x11d)][_0x30771d(0x168)][_0x30771d(0x153)](_0x949001);if(!this[_0x30771d(0x154)][_0x30771d(0x163)](_0x949001)){const _0x371464=_0x5ee89a&&_0x5ee89a[_0x30771d(0x1af)]?_0x5ee89a[_0x30771d(0x1af)]:'',_0x57538f=_0x5ee89a&&_0x5ee89a[_0x30771d(0x1a1)]?_0x5ee89a[_0x30771d(0x1a1)]:{};await this[_0x30771d(0xf4)](_0x949001,_0x371464,_0x57538f);}this[_0x30771d(0x150)][_0x30771d(0x11d)][_0x30771d(0x186)]({'isUndoable':!0x1},()=>{const _0x41b8fa=_0x30771d;_0x153cfc[_0x41b8fa(0x1d7)]=!0x0,this[_0x41b8fa(0x150)][_0x41b8fa(0x11d)][_0x41b8fa(0x168)][_0x41b8fa(0x107)][_0x41b8fa(0x110)](_0x153cfc);});},{'priority':_0x252c8c(0x11b)});}async[_0x1f672e(0x1a2)](_0x592a37){const _0x2ce762=_0x1f672e,_0x568802=this[_0x2ce762(0x150)][_0x2ce762(0x10b)][_0x2ce762(0x130)](_0x12e512),{connection:_0x2dac35}=this[_0x2ce762(0x150)][_0x2ce762(0x10b)][_0x2ce762(0x130)](_0x3d4717),_0x385e74=new Set();for(const _0x3ea9d7 of _0x592a37){const _0xf36898=_0x3ea9d7[_0x2ce762(0x1b5)];_0xf36898&&!_0x568802[_0x2ce762(0x1df)](_0xf36898)&&_0x385e74[_0x2ce762(0x1d4)](_0xf36898);}if(0x0===_0x385e74[_0x2ce762(0x106)])return;const _0x668a17=await _0x31fbaa[_0x2ce762(0x160)](_0x2dac35,Array[_0x2ce762(0x1e1)](_0x385e74));for(const _0x468832 of _0x668a17)_0x568802[_0x2ce762(0x1df)](_0x468832['id'])||_0x568802[_0x2ce762(0x19d)](_0x468832);}[_0x1f672e(0x111)](_0x1d195a,_0x3a0423={}){const _0x55e8d9=_0x1f672e,_0x542a52=this[_0x55e8d9(0x150)][_0x55e8d9(0x11d)],_0x4ce19e=[];let _0x10c273=0x0;const _0x1b76f9=_0x55e8d9(0x14e)==typeof _0x1d195a?{'main':_0x1d195a}:_0x1d195a;for(const _0x3500cf of Object[_0x55e8d9(0x17b)](_0x1b76f9)){if(!this[_0x55e8d9(0x165)][_0x55e8d9(0x102)][_0x55e8d9(0x163)](_0x3500cf))throw new _0x2189cc(_0x55e8d9(0x187),this);const _0x161f80=this[_0x55e8d9(0x150)][_0x55e8d9(0x1af)][_0x55e8d9(0x100)](_0x1b76f9[_0x3500cf]),_0x1543bc=this[_0x55e8d9(0x165)][_0x55e8d9(0x153)](_0x3500cf),_0x481bdf=new _0x439d07(_0x542a52[_0x55e8d9(0x1dd)](_0x1543bc,0x0),_0x161f80,_0x10c273++);_0x4ce19e[_0x55e8d9(0x1d2)](_0x481bdf);for(const [_0x29c32b,_0x4c50be]of _0x161f80[_0x55e8d9(0x13f)]){const _0x4dc8d3=_0x542a52[_0x55e8d9(0xe8)](_0x542a52[_0x55e8d9(0x180)](_0x1543bc,_0x4c50be[_0x55e8d9(0x196)][_0x55e8d9(0x1ac)][_0x55e8d9(0x1bb)]()),_0x542a52[_0x55e8d9(0x180)](_0x1543bc,_0x4c50be[_0x55e8d9(0x164)][_0x55e8d9(0x1ac)][_0x55e8d9(0x1bb)]())),_0x27075b=new _0x24f8e4(_0x29c32b,null,_0x4dc8d3,_0x542a52[_0x55e8d9(0x13f)],!0x0,_0x10c273++);_0x4ce19e[_0x55e8d9(0x1d2)](_0x27075b);}}if(_0x3a0423)for(const [_0x4b3984,_0x1790ef]of Object[_0x55e8d9(0x1c3)](_0x3a0423)){const _0x4002dd=_0x542a52[_0x55e8d9(0x168)][_0x55e8d9(0x153)](_0x4b3984);if(!_0x4002dd)throw new _0x2189cc(_0x55e8d9(0x109),null);for(const [_0x42162a,_0x5e252a]of Object[_0x55e8d9(0x1c3)](_0x1790ef))if(null!==_0x5e252a){const _0x52ed30=new _0x17c10a(_0x4002dd,_0x42162a,null,_0x5e252a,_0x10c273++);_0x4ce19e[_0x55e8d9(0x1d2)](_0x52ed30);}}return _0x4ce19e;}async[_0x1f672e(0xf4)](_0x2830e4,_0x2229ca,_0x23d185){const _0x2e3a26=_0x1f672e;this[_0x2e3a26(0x111)]({[_0x2830e4]:_0x2229ca},{[_0x2830e4]:_0x23d185})[_0x2e3a26(0x1c7)]((_0x4b1b86,_0x1a22b9)=>{const _0x1cfdaa=_0x2e3a26;_0x4b1b86[_0x1cfdaa(0x113)]=this[_0x1cfdaa(0x165)][_0x1cfdaa(0x1e4)]+_0x1a22b9,_0x4b1b86[_0x1cfdaa(0x1c0)]=!0x0,this[_0x1cfdaa(0x166)](_0x4b1b86);}),this[_0x2e3a26(0x14a)](),await this[_0x2e3a26(0x1cc)]();}async[_0x1f672e(0x1d3)](_0x41ca51,_0x1d3d53){const _0x1277ba=_0x1f672e;let _0x38822a;this[_0x1277ba(0x1dc)]=_0x41ca51[_0x1277ba(0x1aa)];const _0x22d18f=_0x41ca51[_0x1277ba(0x1c5)]&&!_0x41ca51[_0x1277ba(0x16d)],_0x39832b=_0x22d18f?0x0:_0x41ca51[_0x1277ba(0x1af)][_0x1277ba(0x113)];if(_0x1d3d53[_0x1277ba(0x1c7)](_0x1017f2=>{const _0x4dd308=_0x1277ba;_0x1017f2[_0x4dd308(0x1c0)]=!0x0,_0x1017f2[_0x4dd308(0x17c)]=_0x41ca51[_0x4dd308(0x119)],_0x1017f2[_0x4dd308(0x1b5)]=null;}),_0x22d18f)_0x38822a=_0x1d3d53,this[_0x1277ba(0x1b1)](_0x38822a,_0x22d18f);else{if(_0x41ca51[_0x1277ba(0x16d)]){const _0x867f30=this[_0x1277ba(0x111)](_0x41ca51[_0x1277ba(0x16d)]);this[_0x1277ba(0x165)][_0x1277ba(0x18b)][_0x1277ba(0x1e4)]=-_0x867f30[_0x1277ba(0x10e)],_0x867f30[_0x1277ba(0x1c7)](_0x58e1e8=>{const _0x14fefc=_0x1277ba;_0x58e1e8[_0x14fefc(0x113)]-=_0x867f30[_0x14fefc(0x10e)],_0x58e1e8[_0x14fefc(0x17c)]=_0x41ca51[_0x14fefc(0x119)],_0x58e1e8[_0x14fefc(0x1c0)]=!0x0,_0x58e1e8[_0x14fefc(0x1b5)]=null;}),this[_0x1277ba(0x1b1)](_0x867f30,!0x0),this[_0x1277ba(0x1ae)][_0x1277ba(0x1e4)]=-_0x867f30[_0x1277ba(0x10e)]+this[_0x1277ba(0x1dc)],this[_0x1277ba(0x15a)](_0x867f30);}this[_0x1277ba(0x165)][_0x1277ba(0x18b)][_0x1277ba(0x1e4)]=_0x39832b,_0x38822a=this[_0x1277ba(0x1ca)](_0x41ca51[_0x1277ba(0x1af)],_0x41ca51[_0x1277ba(0x1ad)]),await this[_0x1277ba(0x1a2)](_0x38822a),this[_0x1277ba(0x1b1)](_0x38822a,_0x22d18f);}_0x41ca51[_0x1277ba(0x103)]&&(this[_0x1277ba(0x1e0)][_0x1277ba(0x143)](_0x38822a,_0x41ca51[_0x1277ba(0x103)]),this[_0x1277ba(0x159)]=_0x41ca51[_0x1277ba(0x103)]),this[_0x1277ba(0x1ae)][_0x1277ba(0x1e4)]=_0x39832b+this[_0x1277ba(0x1dc)],this[_0x1277ba(0x15a)](_0x38822a),_0x1d3d53[_0x1277ba(0x148)](_0x317d6a=>{const _0xc4a369=_0x1277ba,_0x56c0a6=this[_0xc4a369(0x1d0)](_0x317d6a);return _0x56c0a6&&!this[_0xc4a369(0x154)][_0xc4a369(0x163)](_0x56c0a6);})[_0x1277ba(0x1c7)]((_0x17c353,_0x9bef13)=>{const _0x82f2d4=_0x1277ba;_0x17c353[_0x82f2d4(0x113)]=this[_0x82f2d4(0x165)][_0x82f2d4(0x1e4)]+_0x9bef13,this[_0x82f2d4(0x166)](_0x17c353);}),this[_0x1277ba(0x12d)]()?(this[_0x1277ba(0xf1)]=0x0,this[_0x1277ba(0x14a)](!0x0),await this[_0x1277ba(0x1cc)]()):(this[_0x1277ba(0x122)]=!0x1,this[_0x1277ba(0x179)]());}[_0x1f672e(0x14d)](_0x2fb976,_0xbb0966){const _0xe12668=_0x1f672e,_0x2da306=_0xbb0966&&_0xbb0966[_0xe12668(0x174)];if(_0x2da306&&_0x2da306[_0xe12668(0x11a)](_0xe12668(0x1a7)))throw _0xbb0966;const _0x427d45=this[_0xe12668(0x150)][_0xe12668(0x10b)][_0xe12668(0x130)](_0x3d4717);throw this[_0xe12668(0x122)]=!0x0,_0x427d45[_0xe12668(0x105)](),this[_0xe12668(0x150)][_0xe12668(0x1e6)](_0xe12668(0x17a)),new _0x2189cc(_0x2fb976,this[_0xe12668(0x150)],_0x2da306?{'originalError':_0x2da306}:void 0x0);}[_0x1f672e(0x166)](_0x18cb21){const _0x4154e4=_0x1f672e;this[_0x4154e4(0x117)][_0x4154e4(0x163)](_0x18cb21)||(this[_0x4154e4(0x117)][_0x4154e4(0x1d4)](_0x18cb21),this[_0x4154e4(0x1ab)][_0x4154e4(0x1d2)](_0x18cb21),this[_0x4154e4(0x175)]||_0x4154e4(0xe9)==_0x18cb21[_0x4154e4(0x178)]&&!_0x18cb21[_0x4154e4(0x1b9)]||this[_0x4154e4(0x12b)]());}[_0x1f672e(0x14a)](_0xa6d4ab=!0x1){const _0x18224c=_0x1f672e;!_0xa6d4ab&&this[_0x18224c(0x122)]||(this[_0x18224c(0x122)]=!0x0,clearTimeout(this[_0x18224c(0x188)]),this[_0x18224c(0x188)]=setTimeout(()=>{const _0x25ce50=_0x18224c;this[_0x25ce50(0x10d)]()[_0x25ce50(0x176)](_0x38d425=>{const _0x5c7fd7=_0x25ce50;_0x38d425&&(this[_0x5c7fd7(0x179)](),this[_0x5c7fd7(0x122)]=!0x1);})[_0x25ce50(0x1b2)](_0xfc28bb=>{const _0x49de36=_0x25ce50;this[_0x49de36(0x179)](),this[_0x49de36(0x122)]=!0x1,function(_0x2c84f7){const _0x10deee=_0x49de36;return _0x2c84f7[_0x10deee(0x174)][_0x10deee(0x11a)](_0x10deee(0x19e))||_0x2c84f7[_0x10deee(0x174)][_0x10deee(0x11a)](_0x10deee(0x1cd))||_0x2c84f7[_0x10deee(0x174)][_0x10deee(0x11a)](_0x10deee(0x1b3));}(_0xfc28bb)||this[_0x49de36(0x14d)](_0xfc28bb[_0x49de36(0x174)],_0xfc28bb);});},this[_0x18224c(0xf1)]));}[_0x1f672e(0x1cc)](){return new Promise(_0x312d72=>{const _0x174566=_0x3364;this['on'](_0x174566(0x12e),()=>{_0x312d72();});});}async[_0x1f672e(0x10d)](){const _0x30fba9=_0x1f672e,_0x15389b=this[_0x30fba9(0x150)][_0x30fba9(0x10b)][_0x30fba9(0x130)](_0x2d78d8);if(this[_0x30fba9(0xf7)]()&&(_0x15389b[_0x30fba9(0x142)](),this[_0x30fba9(0x1da)]=!0x1),!this[_0x30fba9(0x12d)]())return!0x0;const _0x356777=[...this[_0x30fba9(0x1ab)]];for(const _0x73dc32 of _0x356777)_0x73dc32[_0x30fba9(0x197)]=this[_0x30fba9(0x165)][_0x30fba9(0x18b)][_0x30fba9(0x173)](_0x73dc32);const _0x5cf36b=this[_0x30fba9(0x1e0)][_0x30fba9(0x1cf)](_0x356777),_0x29862c=H++,_0x3b86a9=this[_0x30fba9(0xf5)](_0x356777),_0x2010ad=await this[_0x30fba9(0x10c)][_0x30fba9(0x1cb)](_0x3b86a9,_0x3b86a9[_0x30fba9(0x113)],_0x5cf36b);try{return await this[_0x30fba9(0x16c)](_0x356777,_0x2010ad,_0x29862c);}catch(_0x3e831c){return this[_0x30fba9(0x14d)](_0x30fba9(0x12a),_0x3e831c);}}async[_0x1f672e(0x16c)](_0x880a7f,_0x4d3485,_0x2694b9){const _0x48f875=_0x1f672e;if(_0x48f875(0x158)in _0x4d3485)throw _0x4d3485[_0x48f875(0x158)];let _0x597976=!0x1;if(_0x4d3485[_0x48f875(0x1c5)]){_0x4d3485[_0x48f875(0x103)]&&(this[_0x48f875(0x159)]=_0x4d3485[_0x48f875(0x103)]),this[_0x48f875(0x1ab)]=this[_0x48f875(0x1ab)][_0x48f875(0x148)](_0x215552=>!_0x880a7f[_0x48f875(0x131)](_0x215552));for(const _0x57afcf of _0x880a7f)_0x57afcf[_0x48f875(0x17c)]=_0x48f875(0x114)in _0x4d3485&&_0x4d3485[_0x48f875(0x114)]||void 0x0;W(_0x880a7f,_0x4d3485[_0x48f875(0x1e4)]-_0x880a7f[_0x48f875(0x10e)]),this[_0x48f875(0x15a)](_0x880a7f);const _0x237035=_0x880a7f[_0x48f875(0x148)](_0x53f523=>{const _0x564d8e=_0x48f875;if(!_0x53f523[_0x564d8e(0x1c0)])return!0x1;const _0x511e55=this[_0x564d8e(0x1d0)](_0x53f523);return _0x511e55&&!this[_0x564d8e(0x154)][_0x564d8e(0x163)](_0x511e55);});W(_0x237035,this[_0x48f875(0x165)][_0x48f875(0x1e4)]),this[_0x48f875(0x1b1)](_0x237035),_0x597976=!0x0,this[_0x48f875(0xf1)]=this[_0x48f875(0x1b6)];}else{const _0xad311a=this[_0x48f875(0x1ca)](_0x4d3485[_0x48f875(0x1af)],_0x4d3485[_0x48f875(0x1ad)])[_0x48f875(0x148)](_0x120f11=>_0x120f11[_0x48f875(0x113)]>=this[_0x48f875(0x155)]);_0xad311a[_0x48f875(0x1c7)](_0x5b3b25=>this[_0x48f875(0x145)](_0x5b3b25)),this[_0x48f875(0x1ab)]=this[_0x48f875(0x1ab)][_0x48f875(0x148)](_0xd7f91c=>!_0xd7f91c[_0x48f875(0x1c0)]||!this[_0x48f875(0x154)][_0x48f875(0x163)](this[_0x48f875(0x1d0)](_0xd7f91c))),this[_0x48f875(0x1ab)][_0x48f875(0x10e)]&&W(this[_0x48f875(0x1ab)],this[_0x48f875(0x1ab)][0x0][_0x48f875(0x113)]),await this[_0x48f875(0x1a2)](_0xad311a),_0x597976=this[_0x48f875(0x13b)](_0xad311a,_0x4d3485[_0x48f875(0x1e4)],_0x4d3485[_0x48f875(0x103)]),this[_0x48f875(0xf1)]=Math[_0x48f875(0x17f)](this[_0x48f875(0xf1)]/0x2);}return _0x597976?!this[_0x48f875(0x12d)]()||(this[_0x48f875(0x14a)](!0x0),!0x1):this[_0x48f875(0x14d)](_0x48f875(0x1c2));}[_0x1f672e(0x13b)](_0x10e08a,_0x3501d4,_0x460c16){const _0x24c04f=_0x1f672e;try{const _0x13db7={'document':this[_0x24c04f(0x165)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x32f098,operationsB:_0x512472,originalOperations:_0xa177ca}=_0x453938(_0x10e08a,this[_0x24c04f(0x1ab)],_0x13db7);W(_0x32f098,this[_0x24c04f(0x165)][_0x24c04f(0x1e4)]),W(_0x512472,_0x3501d4);for(const _0x23c687 of _0x32f098){const _0x513e7f=_0xa177ca[_0x24c04f(0x130)](_0x23c687);_0x23c687[_0x24c04f(0x1b5)]=_0x513e7f?_0x513e7f[_0x24c04f(0x1b5)]:null;}_0x460c16&&(this[_0x24c04f(0x1e0)][_0x24c04f(0x143)](_0x10e08a,_0x460c16),this[_0x24c04f(0x159)]=_0x460c16),this[_0x24c04f(0x1ab)]=[..._0x512472],this[_0x24c04f(0x1b1)](_0x32f098),this[_0x24c04f(0x15a)](_0x10e08a);}catch(_0x2b4523){return console[_0x24c04f(0x158)](_0x2b4523),!0x1;}return!0x0;}[_0x1f672e(0x1b1)](_0x3704e6,_0xf824e0=!0x1){const _0x285240=_0x1f672e;this[_0x285240(0x150)][_0x285240(0x11d)][_0x285240(0x186)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4f8e77=>{const _0x112c54=_0x285240;for(const _0x26da50 of _0x3704e6)this[_0x112c54(0x117)][_0x112c54(0x1d4)](_0x26da50),this[_0x112c54(0x145)](_0x26da50),_0x4f8e77[_0x112c54(0x13e)][_0x112c54(0x172)](_0x26da50),this[_0x112c54(0x150)][_0x112c54(0x11d)][_0x112c54(0x116)](_0x26da50);});}[_0x1f672e(0x145)](_0x386da4){const _0x18fdf6=_0x1f672e,_0x1641d8=this[_0x18fdf6(0x1d0)](_0x386da4);_0x1641d8&&this[_0x18fdf6(0x154)][_0x18fdf6(0x1d4)](_0x1641d8);}[_0x1f672e(0x1d0)](_0x3f7658){const _0x5ade07=_0x1f672e;let _0x40b4ad,_0x81d09e;switch(_0x3f7658[_0x5ade07(0x178)]){case _0x5ade07(0x1a3):_0x40b4ad=_0x3f7658[_0x5ade07(0x1bf)][_0x5ade07(0xe6)];break;case _0x5ade07(0xe9):if(_0x81d09e=_0x3f7658[_0x5ade07(0x135)],!_0x81d09e)return null;_0x40b4ad=_0x81d09e[_0x5ade07(0xe6)];break;case _0x5ade07(0xe7):_0x40b4ad=_0x3f7658[_0x5ade07(0xe6)];break;case _0x5ade07(0x1ba):_0x40b4ad=_0x3f7658[_0x5ade07(0x115)];break;case _0x5ade07(0x104):_0x40b4ad=_0x3f7658[_0x5ade07(0x1a6)][_0x5ade07(0xe6)];break;default:return null;}return _0x40b4ad[_0x5ade07(0xfa)];}[_0x1f672e(0x15a)](_0x3bbeed){const _0x2bf92d=_0x1f672e;_0x3bbeed[_0x2bf92d(0x1c7)](_0x4b9f0d=>{const _0x41467e=_0x2bf92d,_0x3e872c=_0x4b9f0d[_0x41467e(0xf8)]();_0x3e872c[_0x41467e(0x1b5)]=_0x4b9f0d[_0x41467e(0x1b5)],_0x3e872c[_0x41467e(0x1c0)]=!!_0x4b9f0d[_0x41467e(0x1c0)],_0x3e872c[_0x41467e(0x17c)]=_0x4b9f0d[_0x41467e(0x17c)],_0x3e872c[_0x41467e(0x113)]+=this[_0x41467e(0x1dc)],_0x4b9f0d[_0x41467e(0xf2)]&&this[_0x41467e(0x10a)][_0x41467e(0x1d4)](_0x3e872c),this[_0x41467e(0x1ae)][_0x41467e(0x172)](_0x3e872c);});}[_0x1f672e(0x195)](_0x12be4b){const _0x521a2f=_0x1f672e,_0x3778a0=this[_0x521a2f(0x150)][_0x521a2f(0x10b)][_0x521a2f(0x130)](_0x521a2f(0x140)),_0x16e656=this[_0x521a2f(0x150)][_0x521a2f(0x13c)];_0x12be4b||(_0x12be4b=_0x517c5f(_0x16e656,_0x521a2f(0x152))),_0x3778a0[_0x521a2f(0x144)](_0x12be4b,{'title':_0x517c5f(_0x16e656,_0x521a2f(0x171)),'namespace':_0x521a2f(0x147)}),this[_0x521a2f(0x17d)]=!0x0,clearTimeout(this[_0x521a2f(0x188)]),this[_0x521a2f(0x1ab)]=[],this[_0x521a2f(0x150)][_0x521a2f(0x10b)][_0x521a2f(0x130)](_0x3d4717)[_0x521a2f(0x105)]();}[_0x1f672e(0x12b)](){const _0x455168=_0x1f672e;this[_0x455168(0x175)]||(this[_0x455168(0x175)]=this[_0x455168(0x150)][_0x455168(0x10b)][_0x455168(0x130)](_0x4dc2d3)[_0x455168(0x1d4)](_0x517c5f(this[_0x455168(0x150)][_0x455168(0x13c)],_0x455168(0x17e))));}[_0x1f672e(0x179)](){const _0x24bffd=_0x1f672e;this[_0x24bffd(0x175)]&&(this[_0x24bffd(0x150)][_0x24bffd(0x10b)][_0x24bffd(0x130)](_0x4dc2d3)[_0x24bffd(0x181)](this[_0x24bffd(0x175)]),this[_0x24bffd(0x175)]=null);}[_0x1f672e(0xf5)](_0xc84d2f){const _0x19a186=_0x1f672e,_0x2e1895=_0xc84d2f[_0x19a186(0x1e5)](_0x22ff87=>_0x22ff87[_0x19a186(0xfb)]());return this[_0x19a186(0x127)][_0x19a186(0x190)](_0x2e1895);}[_0x1f672e(0x1ca)](_0x532ff0,_0x22ca8f){const _0x5b3734=_0x1f672e;return this[_0x5b3734(0x127)][_0x5b3734(0x1a5)](_0x532ff0)[_0x5b3734(0x1e5)]((_0x26a347,_0x1cab1a)=>{const _0x220d18=_0x5b3734,_0x4359d6=_0x220d18(0x1e2)==_0x22ca8f[_0x1cab1a][_0x220d18(0x178)];if(_0x220d18(0x136)==_0x26a347[_0x220d18(0x1c8)]){const _0x520a5d=_0x26a347[_0x220d18(0x1bf)][_0x220d18(0xe6)];!this[_0x220d18(0x165)][_0x220d18(0x153)](_0x520a5d)&&(this[_0x220d18(0x165)][_0x220d18(0x137)](_0x220d18(0x1c9),_0x520a5d)[_0x220d18(0x151)]=!0x1);}const _0x14ae31=_0x24071f[_0x220d18(0x18f)](_0x26a347,this[_0x220d18(0x165)]);return _0x14ae31[_0x220d18(0x197)]=_0x26a347[_0x220d18(0x197)],_0x14ae31[_0x220d18(0x1c0)]=_0x4359d6,_0x14ae31[_0x220d18(0x1b5)]=_0x4359d6?null:_0x22ca8f[_0x1cab1a][_0x220d18(0xf3)],_0x14ae31[_0x220d18(0xf2)]=_0x220d18(0x118)===_0x22ca8f[_0x1cab1a][_0x220d18(0x178)],_0x14ae31[_0x220d18(0x17c)]=_0x22ca8f[_0x1cab1a][_0x220d18(0x17c)],_0x14ae31;});}[_0x1f672e(0x161)](){const _0x6074ee=_0x1f672e;this[_0x6074ee(0x1da)]=!0x0,this[_0x6074ee(0xf7)]()?this[_0x6074ee(0x14a)]():this[_0x6074ee(0x1da)]=!0x1;}[_0x1f672e(0xf7)](){const _0x10d0ca=_0x1f672e,_0x1277f7=this[_0x10d0ca(0x150)][_0x10d0ca(0x10b)][_0x10d0ca(0x130)](_0x535cae)[_0x10d0ca(0x139)][_0x10d0ca(0x130)](this[_0x10d0ca(0x199)]);return!this[_0x10d0ca(0x150)][_0x10d0ca(0x167)]&&!!_0x1277f7&&_0x1277f7[_0x10d0ca(0x10e)]>0x1&&this[_0x10d0ca(0x1da)];}[_0x1f672e(0x12d)](){const _0xe21adc=_0x1f672e;return this[_0xe21adc(0x1ab)][_0xe21adc(0x10e)]>0x0||this[_0xe21adc(0xf7)]();}}class V extends Error{}function W(_0x16324e,_0x55dca4){const _0x31e38c=_0x1f672e;for(const _0x339e12 of _0x16324e)_0x339e12[_0x31e38c(0x113)]=_0x55dca4++;}class F{[_0x1f672e(0x1be)];[_0x1f672e(0x121)];constructor(_0x5355fc){const _0x505e49=_0x1f672e;this[_0x505e49(0x1be)]=_0x5355fc,this[_0x505e49(0x121)]=new WeakMap();}[_0x1f672e(0x1cf)](_0x2f8a4d){const _0x2dfc69=_0x1f672e;let _0x20d400=_0x2f8a4d[_0x2dfc69(0x10e)];for(;_0x20d400--;){const _0x41e716=_0x2f8a4d[_0x20d400];if(!this[_0x2dfc69(0x1be)][_0x2dfc69(0x163)](_0x41e716)){if(!this[_0x2dfc69(0x121)][_0x2dfc69(0x163)](_0x41e716)){const _0x3c1ce7=_0x53b76d()[_0x2dfc69(0x1bb)](0x1,0x12);this[_0x2dfc69(0x121)][_0x2dfc69(0x11f)](_0x41e716,_0x3c1ce7);}return this[_0x2dfc69(0x121)][_0x2dfc69(0x130)](_0x41e716);}}}[_0x1f672e(0x143)](_0x1e45cb,_0xcd96e){const _0x4b3481=_0x1f672e;if(!_0xcd96e)return;let _0x532428=_0x1e45cb[_0x4b3481(0x10e)];for(;_0x532428--;){const _0xc80951=_0x1e45cb[_0x532428];this[_0x4b3481(0x1be)][_0x4b3481(0x163)](_0xc80951)||this[_0x4b3481(0x121)][_0x4b3481(0x11f)](_0xc80951,_0xcd96e);}}}
|