@ckeditor/ckeditor5-real-time-collaboration 46.0.1-alpha.8 → 46.0.1-alpha.9
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 +2 -2
- package/dist/index.js +6 -6
- package/package.json +14 -14
- 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/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "46.0.1-alpha.
|
|
3
|
+
"version": "46.0.1-alpha.9",
|
|
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.0",
|
|
50
|
-
"@ckeditor/ckeditor5-cloud-services": "46.0.1-alpha.
|
|
51
|
-
"@ckeditor/ckeditor5-comments": "46.0.1-alpha.
|
|
52
|
-
"@ckeditor/ckeditor5-core": "46.0.1-alpha.
|
|
53
|
-
"@ckeditor/ckeditor5-editor-multi-root": "46.0.1-alpha.
|
|
54
|
-
"@ckeditor/ckeditor5-engine": "46.0.1-alpha.
|
|
55
|
-
"@ckeditor/ckeditor5-operations-compressor": "46.0.1-alpha.
|
|
56
|
-
"@ckeditor/ckeditor5-revision-history": "46.0.1-alpha.
|
|
57
|
-
"@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.
|
|
58
|
-
"@ckeditor/ckeditor5-track-changes": "46.0.1-alpha.
|
|
59
|
-
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.
|
|
60
|
-
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.
|
|
61
|
-
"ckeditor5": "46.0.1-alpha.
|
|
62
|
-
"ckeditor5-collaboration": "46.0.1-alpha.
|
|
50
|
+
"@ckeditor/ckeditor5-cloud-services": "46.0.1-alpha.9",
|
|
51
|
+
"@ckeditor/ckeditor5-comments": "46.0.1-alpha.9",
|
|
52
|
+
"@ckeditor/ckeditor5-core": "46.0.1-alpha.9",
|
|
53
|
+
"@ckeditor/ckeditor5-editor-multi-root": "46.0.1-alpha.9",
|
|
54
|
+
"@ckeditor/ckeditor5-engine": "46.0.1-alpha.9",
|
|
55
|
+
"@ckeditor/ckeditor5-operations-compressor": "46.0.1-alpha.9",
|
|
56
|
+
"@ckeditor/ckeditor5-revision-history": "46.0.1-alpha.9",
|
|
57
|
+
"@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.9",
|
|
58
|
+
"@ckeditor/ckeditor5-track-changes": "46.0.1-alpha.9",
|
|
59
|
+
"@ckeditor/ckeditor5-ui": "46.0.1-alpha.9",
|
|
60
|
+
"@ckeditor/ckeditor5-utils": "46.0.1-alpha.9",
|
|
61
|
+
"ckeditor5": "46.0.1-alpha.9",
|
|
62
|
+
"ckeditor5-collaboration": "46.0.1-alpha.9",
|
|
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
|
|
23
|
+
const _0x5127df=_0x24f4;(function(_0x78018a,_0x5c0e83){const _0x2a9c6a=_0x24f4,_0x4a93a4=_0x78018a();while(!![]){try{const _0x55d8ea=-parseInt(_0x2a9c6a(0x17d))/0x1*(parseInt(_0x2a9c6a(0x17a))/0x2)+parseInt(_0x2a9c6a(0x18e))/0x3*(-parseInt(_0x2a9c6a(0x18d))/0x4)+parseInt(_0x2a9c6a(0x189))/0x5*(-parseInt(_0x2a9c6a(0x174))/0x6)+-parseInt(_0x2a9c6a(0x181))/0x7*(parseInt(_0x2a9c6a(0x17c))/0x8)+parseInt(_0x2a9c6a(0x18a))/0x9+parseInt(_0x2a9c6a(0x17b))/0xa*(parseInt(_0x2a9c6a(0x188))/0xb)+parseInt(_0x2a9c6a(0x176))/0xc;if(_0x55d8ea===_0x5c0e83)break;else _0x4a93a4['push'](_0x4a93a4['shift']());}catch(_0x2bad20){_0x4a93a4['push'](_0x4a93a4['shift']());}}}(_0x3829,0x5faf5));import{ListItemView as _0x4e352b}from'ckeditor5/src/ui.js';function _0x24f4(_0x20aee8,_0x1a011d){const _0x3829d5=_0x3829();return _0x24f4=function(_0x24f4f1,_0x3067cd){_0x24f4f1=_0x24f4f1-0x172;let _0x509f4c=_0x3829d5[_0x24f4f1];return _0x509f4c;},_0x24f4(_0x20aee8,_0x1a011d);}import{UserView as _0x29c81f}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x4e352b{[_0x5127df(0x187)];constructor(_0x5ead65,_0x2ddea0,_0x8d6949){const _0x12a4d6=_0x5127df;super(_0x5ead65);const _0x1d5d45=this[_0x12a4d6(0x186)];this[_0x12a4d6(0x187)]=new _0x29c81f(_0x5ead65,_0x2ddea0);const _0x50e486={'tag':'li','attributes':{'class':['ck',_0x12a4d6(0x179)],'tabindex':-0x1,'role':_0x12a4d6(0x184),'aria-label':_0x2ddea0[_0x12a4d6(0x17e)]},'children':[this[_0x12a4d6(0x187)],{'tag':_0x12a4d6(0x18f),'attributes':{'class':['ck',_0x12a4d6(0x173)]},'children':[{'text':_0x2ddea0[_0x12a4d6(0x17e)]}]},{'tag':_0x12a4d6(0x18f),'attributes':{'class':['ck',_0x12a4d6(0x180),_0x2ddea0[_0x12a4d6(0x172)][_0x12a4d6(0x182)]()],'aria-hidden':_0x12a4d6(0x183)}}]};_0x8d6949&&(_0x50e486[_0x12a4d6(0x175)]=_0x12a4d6(0x185),_0x50e486['on']={'click':_0x1d5d45['to'](()=>this[_0x12a4d6(0x177)](_0x12a4d6(0x178)))}),this[_0x12a4d6(0x18c)](_0x50e486);}[_0x5127df(0x17f)](){const _0x4b3d60=_0x5127df;this[_0x4b3d60(0x18b)][_0x4b3d60(0x17f)]();}}function _0x3829(){const _0x364de3=['32710GwUwgC','1592OgRQNw','338573WKuisu','name','focus','ck-presence-list__marker','24878VoVIMY','getBackgroundColorClass','true','presentation','button','bindTemplate','userView','363Nirlzl','11785JeorCL','2228814PMUucW','element','setTemplate','8qUMoam','67539sXvAOA','span','color','ck-user__full-name','1674etAoyp','tag','21417408bbZMZc','fire','execute','ck-presence-list__dropdown-list-item','2aZigzT'];_0x3829=function(){return _0x364de3;};return _0x3829();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x592292=_0x29ca;function _0x2a4c(){const _0x208456=['checkIfScrollable','ck-reset','842412Lbvtsx','resize','contains','bindTemplate','clientHeight','element','1325732vVYQBa','scrollHeight','Connected\x20users\x20list\x20dropdown\x20menu','1VjPyue','658479qGkyCd','innerHeight','max','.ck-presence-list__list','1372952bGTWef','1249150cVWfLb','application','ck-presence-list__dropdown-list','18jvFvDe','fire','ariaLabel','ck-list','window','4658880FPJStH','ck-presence-list__dropdown-list-wrapper_scrollable','listenTo','render','role','.ck-balloon-panel_with-arrow','listWrapperView','presencelist:hide','div','change','ck-presence-list__dropdown-list-wrapper','_isScrollable','setTemplate','ariaLabelledBy','items','querySelector','9898290xpLZbp','relatedTarget','set'];_0x2a4c=function(){return _0x208456;};return _0x2a4c();}(function(_0x3fb40a,_0x4e3102){const _0x32e55d=_0x29ca,_0x1d129b=_0x3fb40a();while(!![]){try{const _0x23fe5d=-parseInt(_0x32e55d(0xb2))/0x1*(parseInt(_0x32e55d(0xaf))/0x2)+-parseInt(_0x32e55d(0xb3))/0x3+parseInt(_0x32e55d(0xd5))/0x4+-parseInt(_0x32e55d(0xb8))/0x5*(-parseInt(_0x32e55d(0xbb))/0x6)+-parseInt(_0x32e55d(0xb7))/0x7+-parseInt(_0x32e55d(0xc0))/0x8+parseInt(_0x32e55d(0xd0))/0x9;if(_0x23fe5d===_0x4e3102)break;else _0x1d129b['push'](_0x1d129b['shift']());}catch(_0x440787){_0x1d129b['push'](_0x1d129b['shift']());}}}(_0x2a4c,0x616c8));import{ListView as _0x5daddf,View as _0x50f884}from'ckeditor5/src/ui.js';function _0x29ca(_0x4964b0,_0x41367c){const _0x2a4cca=_0x2a4c();return _0x29ca=function(_0x29ca8f,_0x57a115){_0x29ca8f=_0x29ca8f-0xaf;let _0x472e76=_0x2a4cca[_0x29ca8f];return _0x472e76;},_0x29ca(_0x4964b0,_0x41367c);}import{global as _0x14bb78}from'ckeditor5/src/utils.js';import{getTranslation as _0x2c7315}from'../../common-translations.js';export class PresenceDropdownListView extends _0x50f884{[_0x592292(0xc6)];constructor(_0x44698e,_0x254e9d){const _0x28f039=_0x592292;super(_0x44698e);const _0x581b68=this[_0x28f039(0xd8)];this[_0x28f039(0xc6)]=new PresenceDropdownListWrapperView(_0x44698e,_0x254e9d),this[_0x28f039(0xcc)]({'tag':_0x28f039(0xc8),'attributes':{'tabindex':-0x1,'role':_0x28f039(0xb9),'class':['ck',_0x28f039(0xba)],'aria-label':_0x2c7315(_0x44698e,_0x28f039(0xb1))},'children':[this[_0x28f039(0xc6)]],'on':{'mouseleave':_0x581b68['to'](_0x43ca49=>{const _0x7685c2=_0x28f039,_0x4f59a4=_0x43ca49,_0xfba15=document[_0x7685c2(0xcf)](_0x7685c2(0xb6)),_0x3aab02=document[_0x7685c2(0xcf)](_0x7685c2(0xc5));_0xfba15?.[_0x7685c2(0xd7)](_0x4f59a4[_0x7685c2(0xd1)])||_0x3aab02?.[_0x7685c2(0xd7)](_0x4f59a4[_0x7685c2(0xd1)])||this[_0x7685c2(0xbc)](_0x7685c2(0xc7));})}});}}export class PresenceDropdownListWrapperView extends _0x5daddf{constructor(_0x492c05,_0x41e77c){const _0x18c6a5=_0x592292;super(_0x492c05);const _0x5ae082=this[_0x18c6a5(0xd8)];this[_0x18c6a5(0xd2)](_0x18c6a5(0xcb),!0x1),this[_0x18c6a5(0xcc)]({'tag':_0x41e77c?_0x18c6a5(0xc8):'ul','attributes':{'class':['ck',_0x18c6a5(0xd4),_0x18c6a5(0xbe),_0x18c6a5(0xca),_0x5ae082['if'](_0x18c6a5(0xcb),_0x18c6a5(0xc1))],'role':_0x5ae082['to'](_0x18c6a5(0xc4)),'aria-label':_0x5ae082['to'](_0x18c6a5(0xbd)),'aria-labelledby':_0x5ae082['to'](_0x18c6a5(0xcd))},'children':this[_0x18c6a5(0xce)]}),this[_0x18c6a5(0xc2)](_0x14bb78[_0x18c6a5(0xbf)],_0x18c6a5(0xd6),()=>this[_0x18c6a5(0xd3)]()),this[_0x18c6a5(0xce)]['on'](_0x18c6a5(0xc9),()=>this[_0x18c6a5(0xd3)]());}[_0x592292(0xc3)](){const _0x45b505=_0x592292;super[_0x45b505(0xc3)](),this[_0x45b505(0xd3)]();}[_0x592292(0xd3)](){const _0x130641=_0x592292,_0x7118d8=this[_0x130641(0xda)];_0x7118d8&&(this[_0x130641(0xcb)]=Math[_0x130641(0xb5)](_0x7118d8[_0x130641(0xb0)],_0x7118d8[_0x130641(0xd9)])>0.8*window[_0x130641(0xb4)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x485368=_0x253b;function _0x4da9(){const _0x5c8fcb=['ck-presence-list__list-item__tooltip','6786275iEDQsP','template','true','440198DUrhqf','tag','452PgTmsQ','277123hvqirs','userView','name','4vDEmaW','div','8533768Dpwera','set','setTemplate','tooltipPosition','markerView','ck-presence-list__list-item','color','21228eteSTb','70SryVOP','text','ck-presence-list__marker','execute','button','bindTemplate','span','698844hoFCKn','fire','isFocusable','6759909VOElpL','getBackgroundColorClass','35LMpsvD','listitem','hasTooltip'];_0x4da9=function(){return _0x5c8fcb;};return _0x4da9();}(function(_0x1069e3,_0xf02d5d){const _0xc40ad8=_0x253b,_0x3935e3=_0x1069e3();while(!![]){try{const _0x23fe0c=parseInt(_0xc40ad8(0x14a))/0x1+parseInt(_0xc40ad8(0x14c))/0x2*(parseInt(_0xc40ad8(0x159))/0x3)+parseInt(_0xc40ad8(0x150))/0x4*(parseInt(_0xc40ad8(0x147))/0x5)+parseInt(_0xc40ad8(0x13e))/0x6*(-parseInt(_0xc40ad8(0x143))/0x7)+-parseInt(_0xc40ad8(0x152))/0x8+-parseInt(_0xc40ad8(0x141))/0x9+-parseInt(_0xc40ad8(0x15a))/0xa*(parseInt(_0xc40ad8(0x14d))/0xb);if(_0x23fe0c===_0xf02d5d)break;else _0x3935e3['push'](_0x3935e3['shift']());}catch(_0x520e01){_0x3935e3['push'](_0x3935e3['shift']());}}}(_0x4da9,0xc8376));function _0x253b(_0x4fa7ad,_0x431a49){const _0x4da97d=_0x4da9();return _0x253b=function(_0x253be0,_0x1a355a){_0x253be0=_0x253be0-0x13a;let _0x7a26a6=_0x4da97d[_0x253be0];return _0x7a26a6;},_0x253b(_0x4fa7ad,_0x431a49);}import{LabelView as _0x5f4240,View as _0x3d804e}from'ckeditor5/src/ui.js';import{UserView as _0x59577f}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x3d804e{[_0x485368(0x14e)];[_0x485368(0x156)];constructor(_0x404710,_0x1a4951,_0x4b96a9){const _0x1ae81f=_0x485368;super(_0x404710);const _0x5f4b9e=this[_0x1ae81f(0x13c)];this[_0x1ae81f(0x153)](_0x1ae81f(0x140),!0x1),this[_0x1ae81f(0x153)](_0x1ae81f(0x145),!0x0),this[_0x1ae81f(0x153)](_0x1ae81f(0x155),''),this[_0x1ae81f(0x14e)]=new _0x59577f(_0x404710,_0x1a4951),this[_0x1ae81f(0x156)]=new ot(_0x404710,_0x1a4951);const _0x44a583=new _0x5f4240(_0x404710);_0x44a583[_0x1ae81f(0x148)][_0x1ae81f(0x14b)]=_0x1ae81f(0x13d),_0x44a583[_0x1ae81f(0x15b)]=_0x1a4951[_0x1ae81f(0x14f)];const _0x2ccc54={'tag':_0x1ae81f(0x151),'attributes':{'class':['ck',_0x1ae81f(0x157)],'role':_0x1ae81f(0x144),'tabindex':_0x5f4b9e['to'](_0x1ae81f(0x140),_0x5d55a6=>!!_0x5d55a6&&0x0),'aria-labelledby':_0x44a583['id'],'data-cke-tooltip-text':this[_0x1ae81f(0x14e)][_0x1ae81f(0x14f)],'data-cke-tooltip-position':_0x5f4b9e['to'](_0x1ae81f(0x155)),'data-cke-tooltip-disabled':_0x5f4b9e['to'](_0x1ae81f(0x145),_0xd0d43d=>!_0xd0d43d),'data-cke-tooltip-class':_0x1ae81f(0x146)},'children':[this[_0x1ae81f(0x14e)],this[_0x1ae81f(0x156)],_0x44a583]};_0x4b96a9&&(_0x2ccc54[_0x1ae81f(0x14b)]=_0x1ae81f(0x13b),_0x2ccc54['on']={'click':_0x5f4b9e['to'](()=>this[_0x1ae81f(0x13f)](_0x1ae81f(0x13a)))}),this[_0x1ae81f(0x154)](_0x2ccc54);}}class ot extends _0x3d804e{constructor(_0x553402,_0x5a3740){const _0x25b10d=_0x485368;super(_0x553402),this[_0x25b10d(0x154)]({'tag':_0x25b10d(0x13d),'attributes':{'class':['ck',_0x25b10d(0x15c),_0x5a3740[_0x25b10d(0x158)][_0x25b10d(0x142)]()],'aria-hidden':_0x25b10d(0x149)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x34278e=_0x4916;(function(_0x3a034f,_0x16c0bc){const _0x2643a2=_0x4916,_0x5f0b6b=_0x3a034f();while(!![]){try{const _0x1e9e05=parseInt(_0x2643a2(0x14b))/0x1*(parseInt(_0x2643a2(0x15d))/0x2)+-parseInt(_0x2643a2(0x15e))/0x3*(parseInt(_0x2643a2(0x152))/0x4)+parseInt(_0x2643a2(0x164))/0x5+parseInt(_0x2643a2(0x14c))/0x6+-parseInt(_0x2643a2(0x148))/0x7*(-parseInt(_0x2643a2(0x156))/0x8)+parseInt(_0x2643a2(0x14f))/0x9+-parseInt(_0x2643a2(0x15b))/0xa;if(_0x1e9e05===_0x16c0bc)break;else _0x5f0b6b['push'](_0x5f0b6b['shift']());}catch(_0x3bcaf0){_0x5f0b6b['push'](_0x5f0b6b['shift']());}}}(_0x492b,0x5d7d2));import{View as _0x2fffac}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3229f1}from'ckeditor5/src/utils.js';import{getTranslation as _0x5f26d7}from'../../common-translations.js';function _0x4916(_0x5f3a64,_0xb4b98e){const _0x492b48=_0x492b();return _0x4916=function(_0x491613,_0x4bcdcb){_0x491613=_0x491613-0x143;let _0x65759=_0x492b48[_0x491613];return _0x65759;},_0x4916(_0x5f3a64,_0xb4b98e);}export class PresenceInlineListView extends _0x2fffac{[_0x34278e(0x14d)];[_0x34278e(0x168)];constructor(_0x3fb57b){const _0x128f24=_0x34278e;super(_0x3fb57b);const _0x248604=this[_0x128f24(0x149)];this[_0x128f24(0x14d)]=this[_0x128f24(0x153)](),this[_0x128f24(0x168)]=new _0x3229f1(),this[_0x128f24(0x167)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x128f24(0x15f)]({'tag':_0x128f24(0x151),'attributes':{'aria-haspopup':_0x248604['if'](_0x128f24(0x162)),'aria-expanded':_0x248604['to'](_0x128f24(0x150),_0x149259=>this[_0x128f24(0x162)]&&String(_0x149259)),'aria-label':_0x248604['to'](_0x128f24(0x162),_0x4d4567=>_0x5f26d7(_0x3fb57b,_0x4d4567?_0x128f24(0x14a):_0x128f24(0x144))),'role':_0x128f24(0x154),'tabindex':_0x248604['to'](_0x128f24(0x162),_0x59e5d1=>!!_0x59e5d1&&0x0),'class':['ck',_0x128f24(0x146)]},'children':this[_0x128f24(0x14d)],'on':{'mouseenter':_0x248604['to'](()=>this[_0x128f24(0x15a)](_0x128f24(0x163))),'mouseleave':_0x248604['to'](_0x3f62e7=>{const _0x442b85=_0x128f24,_0xb38744=_0x3f62e7,_0x3e7a93=document[_0x442b85(0x155)](_0x442b85(0x157)),_0x2d4113=document[_0x442b85(0x155)](_0x442b85(0x14e));_0x3e7a93?.[_0x442b85(0x143)](_0xb38744[_0x442b85(0x160)])||_0x2d4113?.[_0x442b85(0x143)](_0xb38744[_0x442b85(0x160)])||this[_0x442b85(0x15a)](_0x442b85(0x147));})}}),this['on'](_0x128f24(0x158),(_0x20137b,_0x34595c,_0x12882c)=>{const _0x4f01a2=_0x128f24;this[_0x4f01a2(0x169)]&&(_0x12882c?this[_0x4f01a2(0x169)][_0x4f01a2(0x159)](_0x4f01a2(0x15c),String(this[_0x4f01a2(0x150)])):this[_0x4f01a2(0x169)][_0x4f01a2(0x161)](_0x4f01a2(0x15c)));});}[_0x34278e(0x165)](){const _0x484cc6=_0x34278e;this[_0x484cc6(0x169)][_0x484cc6(0x165)]();}[_0x34278e(0x145)](){const _0x5df6f4=_0x34278e;super[_0x5df6f4(0x145)](),this[_0x5df6f4(0x168)][_0x5df6f4(0x166)](this[_0x5df6f4(0x169)]);}}function _0x492b(){const _0x32273f=['items','.ck-balloon-panel_with-arrow','2139219gtaUer','isExpanded','div','4GMhsCf','createCollection','list','querySelector','1384RmWoUe','.ck-presence-list__dropdown-list','change:hasPopup','setAttribute','fire','10105560WxOZLX','aria-expanded','2CWPaWi','378330ZZJmld','setTemplate','relatedTarget','removeAttribute','hasPopup','presencelist:show','1466710LQNTbI','focus','listenTo','set','keystrokes','element','contains','Connected\x20users\x20list','render','ck-presence-list__list','presencelist:hide','10206URlCUt','bindTemplate','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','360250xAWqgY','2256474yCDaww'];_0x492b=function(){return _0x32273f;};return _0x492b();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x5aa15a)());[_0x281a0b(0x1a1)];[_0x281a0b(0x130)];[_0x281a0b(0x1d6)];[_0x281a0b(0xdb)];[_0x281a0b(0x14b)];[_0x281a0b(0x155)];[_0x281a0b(0x147)];[_0x281a0b(0x109)];[_0x281a0b(0x187)];[_0x281a0b(0x12d)];[_0x281a0b(0x1d4)];[_0x281a0b(0x1a3)];[_0x281a0b(0x19b)];[_0x281a0b(0xf2)];[_0x281a0b(0x1bd)];[_0x281a0b(0x10c)];[_0x281a0b(0x1c3)];[_0x281a0b(0x10d)];static get[_0x281a0b(0x161)](){return[_0x5ae451,_0x49063d,_0x1c52a1,_0x5b0a3a,_0x598df0,_0x27a93a];}static get[_0x281a0b(0x18c)](){const _0x1477da=_0x281a0b;return _0x1477da(0x1bb);}static get[_0x281a0b(0xdc)](){return!0x0;}static get[_0x281a0b(0xf5)](){return!0x0;}get[_0x281a0b(0x16b)](){const _0x15ceba=_0x281a0b;return this[_0x15ceba(0x12a)]+this[_0x15ceba(0x1a1)];}get[_0x281a0b(0x12a)](){const _0x449bc5=_0x281a0b;return this[_0x449bc5(0x1d6)][_0x449bc5(0x183)]-this[_0x449bc5(0x1a1)];}get[_0x281a0b(0x15e)](){const _0x4a122e=_0x281a0b,_0x51a0fe=this[_0x4a122e(0x1d6)][_0x4a122e(0x13e)]();for(let _0x51b710=_0x51a0fe[_0x4a122e(0x119)]-0x1;_0x51b710>=0x0;_0x51b710--){const _0x165b3d=_0x51a0fe[_0x51b710];if(!this[_0x4a122e(0x1c3)][_0x4a122e(0x10e)](_0x165b3d))return _0x165b3d[_0x4a122e(0x192)]+0x1-this[_0x4a122e(0x1a1)];}return 0x0;}constructor(_0x2213cf){const _0x3cc37a=_0x281a0b;if(super(_0x2213cf),this[_0x3cc37a(0x1a1)]=0x0,this[_0x3cc37a(0x130)]=null,this[_0x3cc37a(0x1d6)]=new _0x2f7364(),this[_0x3cc37a(0x17c)][_0x3cc37a(0xea)][_0x3cc37a(0x171)](_0x3cc37a(0x177),{}),this[_0x3cc37a(0xdb)]=this[_0x3cc37a(0x17c)][_0x3cc37a(0xea)][_0x3cc37a(0xef)](_0x3cc37a(0xe4)),!this[_0x3cc37a(0xdb)])throw new _0x1d9fc8(_0x3cc37a(0x1b4),this);const _0xc2fbb1=_0x2213cf[_0x3cc37a(0xea)][_0x3cc37a(0xef)](_0x3cc37a(0xfc))||_0x17ab1f;this[_0x3cc37a(0x14b)]=new l[(_0x3cc37a(0x143))](_0xc2fbb1,this[_0x3cc37a(0xdb)]),this[_0x3cc37a(0x155)]=this[_0x3cc37a(0x17c)][_0x3cc37a(0xfb)][_0x3cc37a(0x180)],this[_0x3cc37a(0x147)]=new _0x48e339(),this[_0x3cc37a(0x109)]=[],this[_0x3cc37a(0x187)]=new WeakSet(),this[_0x3cc37a(0x12d)]=new Set(),this[_0x3cc37a(0x184)](_0x3cc37a(0x116),!0x1),this[_0x3cc37a(0x184)](_0x3cc37a(0x162),!0x1),this[_0x3cc37a(0x1d4)]=null,this[_0x3cc37a(0x1a3)]=!0x1,this[_0x3cc37a(0x19b)]=null,this[_0x3cc37a(0xf2)]=0x12c,this[_0x3cc37a(0x1bd)]=this[_0x3cc37a(0xf2)],this[_0x3cc37a(0x10c)]=null,this[_0x3cc37a(0x1c3)]=new WeakSet(),this[_0x3cc37a(0x10d)]=new J(this[_0x3cc37a(0x1c3)]);}[_0x281a0b(0x1c5)](){const _0x2518d8=_0x281a0b,_0x50879a=this[_0x2518d8(0x17c)],_0x41bb82=_0x50879a[_0x2518d8(0x1c0)][_0x2518d8(0xef)](_0x598df0),_0x3dd45d=_0x50879a[_0x2518d8(0x1c0)][_0x2518d8(0xef)](_0x5ae451);this[_0x2518d8(0x15f)](_0x41bb82,_0x2518d8(0x138),(_0x106f90,_0x37ff67)=>{const _0x374cd2=_0x2518d8,_0x517c10=_0x37ff67[0x0];_0x517c10[_0x374cd2(0x1d5)]&&(_0x106f90[_0x374cd2(0x1cc)]=_0x41bb82[_0x374cd2(0x18a)](_0x517c10[_0x374cd2(0x1d5)]),_0x106f90[_0x374cd2(0x156)]()),null===_0x517c10[_0x374cd2(0x1d5)]&&(_0x106f90[_0x374cd2(0x1cc)]=null,_0x106f90[_0x374cd2(0x156)]());},{'priority':_0x2518d8(0xe9)}),this[_0x2518d8(0x15f)](_0x50879a[_0x2518d8(0xfb)][_0x2518d8(0x180)][_0x2518d8(0x1d7)],_0x2518d8(0x158),(_0x1aa127,_0x55fe1f)=>{const _0x55fdf7=_0x2518d8;_0x55fe1f[_0x55fdf7(0x10b)]&&this[_0x55fdf7(0x1d9)]();}),this[_0x2518d8(0x15f)](_0x50879a[_0x2518d8(0x163)][_0x2518d8(0x191)],_0x2518d8(0x142),()=>{const _0x5011a8=_0x2518d8;this[_0x5011a8(0x1d9)]();}),this[_0x2518d8(0x1b3)](),_0x50879a[_0x2518d8(0xfb)]['on'](_0x2518d8(0x1cd),(_0x20843b,_0x47611e)=>{const _0x597fe1=_0x2518d8,_0x4fa9a4=_0x47611e[0x0];_0x4fa9a4[_0x597fe1(0xed)]&&(this[_0x597fe1(0xe0)](_0x4fa9a4),this[_0x597fe1(0x16f)]()&&this[_0x597fe1(0x19e)]());}),this[_0x2518d8(0x172)](),this[_0x2518d8(0x17e)](_0x2518d8(0x182))['to'](_0x3dd45d,_0x2518d8(0x11b),this,_0x2518d8(0x162),(_0x36b901,_0x4e132c)=>_0x2518d8(0x1aa)===_0x36b901&&!_0x4e132c),this['on'](_0x2518d8(0x114),()=>{const _0x20be86=_0x2518d8;this[_0x20be86(0x182)]?_0x50879a[_0x20be86(0x148)](_0x20be86(0x16c)):_0x50879a[_0x20be86(0x146)](_0x20be86(0x16c));}),this[_0x2518d8(0x182)]?_0x50879a[_0x2518d8(0x148)](_0x2518d8(0x16c)):_0x50879a[_0x2518d8(0x146)](_0x2518d8(0x16c)),this[_0x2518d8(0x184)](_0x2518d8(0x15b),!0x1);}async[_0x281a0b(0x11c)](){const _0xf0fbde=_0x281a0b,_0x1a0b99=this[_0xf0fbde(0x17c)][_0xf0fbde(0x1c0)][_0xf0fbde(0xef)](_0x49063d),_0x55079b=this[_0xf0fbde(0x17c)][_0xf0fbde(0x1c0)][_0xf0fbde(0xef)](_0x5ae451);try{this[_0xf0fbde(0x116)]=!0x0,_0x1a0b99[_0xf0fbde(0xec)](this[_0xf0fbde(0xdb)]);const _0x3e0a71=await this[_0xf0fbde(0x14b)][_0xf0fbde(0x11c)](_0x55079b[_0xf0fbde(0x18d)],this[_0xf0fbde(0x15e)]);await this[_0xf0fbde(0x1af)](_0x3e0a71)&&(this[_0xf0fbde(0x116)]=!0x1,this[_0xf0fbde(0x141)]());const _0x2955f6=await this[_0xf0fbde(0x14b)][_0xf0fbde(0xe1)]();_0x1a0b99[_0xf0fbde(0x14a)](this[_0xf0fbde(0xdb)],_0x2955f6),this[_0xf0fbde(0x100)](),this[_0xf0fbde(0x15b)]=!0x0;}catch(_0x55bf56){if(function(_0x28fb5f){const _0x4e5ace=_0xf0fbde;return _0x4e5ace(0x198)===_0x28fb5f[_0x4e5ace(0xee)];}(_0x55bf56)&&this[_0xf0fbde(0x130)])await this[_0xf0fbde(0x1b7)]();else{if(function(_0x2a26d5){const _0x4f1f7c=_0xf0fbde;return _0x4f1f7c(0x14f)===_0x2a26d5[_0x4f1f7c(0xee)];}(_0x55bf56)){const _0x132846=_0x501ffb(this[_0xf0fbde(0x17c)][_0xf0fbde(0x1dd)],_0xf0fbde(0x13a));this[_0xf0fbde(0x15a)](_0x132846);}else{if(!(_0x55bf56 instanceof $))throw _0x55bf56;this[_0xf0fbde(0x15a)]();}}}}[_0x281a0b(0x129)](){const _0x3f0f13=_0x281a0b,_0x3c3d4f=this[_0x3f0f13(0x17c)][_0x3f0f13(0x1c0)][_0x3f0f13(0xef)](_0x5ae451),_0x5cedc2=this[_0x3f0f13(0x17c)][_0x3f0f13(0x1c0)][_0x3f0f13(0xef)](_0x49063d);this[_0x3f0f13(0x17c)][_0x3f0f13(0x146)](_0x3f0f13(0x1da)),_0x5cedc2[_0x3f0f13(0x178)][_0x3f0f13(0x10e)](this[_0x3f0f13(0xdb)])&&_0x5cedc2[_0x3f0f13(0xec)](this[_0x3f0f13(0xdb)]),_0x3c3d4f[_0x3f0f13(0xfd)](this),this[_0x3f0f13(0xdf)](),super[_0x3f0f13(0x129)]();}async[_0x281a0b(0x1af)](_0x266553){const _0x42e1b6=_0x281a0b;if(this[_0x42e1b6(0x130)]!==_0x266553[_0x42e1b6(0x130)]&&this[_0x42e1b6(0x10c)]!==_0x266553[_0x42e1b6(0x197)])throw new $();return this[_0x42e1b6(0x130)]=_0x266553[_0x42e1b6(0x130)],this[_0x42e1b6(0x16d)]([],{..._0x266553,'wereChangesApplied':!0x1,'data':_0x266553[_0x42e1b6(0xe7)]},_0x42e1b6(0x11c));}async[_0x281a0b(0x1cf)](_0x3fdbfc,_0x42e87c=!0x1){const _0x27e42f=_0x281a0b,{connection:_0xdc8e2e}=this[_0x27e42f(0x17c)][_0x27e42f(0x1c0)][_0x27e42f(0xef)](_0x5ae451);l[_0x27e42f(0x143)][_0x27e42f(0xe1)](_0xdc8e2e,this[_0x27e42f(0xdb)])[_0x27e42f(0x170)](_0x47dba4=>this[_0x27e42f(0x128)](_0x47dba4))[_0x27e42f(0x121)](_0xbbb5e8=>{const _0xd8144a=_0x27e42f;this[_0xd8144a(0xe5)](_0xd8144a(0x1a2),_0xbbb5e8);}),this[_0x27e42f(0x15f)](this[_0x27e42f(0x14b)],_0x27e42f(0x120),this[_0x27e42f(0x1ca)][_0x27e42f(0x17e)](this)),this[_0x27e42f(0x15f)](this[_0x27e42f(0x14b)],_0x27e42f(0x139),(_0x56fda2,_0x12bcf2)=>{const _0x280184=_0x27e42f;this[_0x280184(0xe5)](_0x280184(0x135),_0x12bcf2);}),this[_0x27e42f(0x15f)](this[_0x27e42f(0x14b)],_0x27e42f(0x117),()=>{const _0x5c12ba=_0x27e42f;this[_0x5c12ba(0x15b)]=!0x1;});const _0x1d7857=this[_0x27e42f(0x10d)][_0x27e42f(0x1ad)](_0x3fdbfc);this[_0x27e42f(0x116)]=!0x0;const _0x1f9bf8=await this[_0x27e42f(0x14b)][_0x27e42f(0x101)](_0xdc8e2e,this[_0x27e42f(0x1b8)](_0x3fdbfc),_0x1d7857);if(this[_0x27e42f(0x130)]=_0x1f9bf8[_0x27e42f(0x130)],_0x42e87c){if(!_0x1f9bf8[_0x27e42f(0x113)])return void this[_0x27e42f(0x15a)]();this[_0x27e42f(0x116)]=!0x1,this[_0x27e42f(0x141)](),this[_0x27e42f(0x1d6)][_0x27e42f(0x102)](),this[_0x27e42f(0x1a1)]=_0x1f9bf8[_0x27e42f(0x17b)],this[_0x27e42f(0x1d6)][_0x27e42f(0x183)]=this[_0x27e42f(0x1a1)],await this[_0x27e42f(0x16d)](_0x3fdbfc,_0x1f9bf8,_0x27e42f(0x188));}else await this[_0x27e42f(0x153)](_0x1f9bf8,_0x3fdbfc);this[_0x27e42f(0x100)](),this[_0x27e42f(0x15b)]=!0x0;}[_0x281a0b(0x100)](){const _0x51d9d1=_0x281a0b,_0x23c119=this[_0x51d9d1(0x17c)][_0x51d9d1(0x1c0)][_0x51d9d1(0xef)](_0x49063d),_0x4e5f3a=this[_0x51d9d1(0x17c)][_0x51d9d1(0x1c0)][_0x51d9d1(0xef)](_0x1c52a1),_0x5d5c69=_0x23c119[_0x51d9d1(0x178)][_0x51d9d1(0xef)](this[_0x51d9d1(0xdb)]);_0x5d5c69&&_0x5d5c69[_0x51d9d1(0x119)]>0x1?_0x4e5f3a[_0x51d9d1(0x1c6)]():this[_0x51d9d1(0x15f)](_0x23c119,_0x51d9d1(0x105)+this[_0x51d9d1(0xdb)],()=>{const _0x503307=_0x51d9d1;0x2===_0x23c119[_0x503307(0x178)][_0x503307(0xef)](this[_0x503307(0xdb)])[_0x503307(0x119)]&&_0x4e5f3a[_0x503307(0x1c6)]();});}async[_0x281a0b(0x1ca)](_0x83b5b5,_0xdbe172,_0x4f6735,_0x4f4de9){const _0xfbce35=_0x281a0b;if(!this[_0xfbce35(0x116)]&&this[_0xfbce35(0x155)][_0xfbce35(0x183)]==_0xdbe172){const _0xc1d7d9=this[_0xfbce35(0x127)](_0x4f6735,_0x4f4de9);await this[_0xfbce35(0x159)](_0xc1d7d9),this[_0xfbce35(0x17d)](_0xc1d7d9,_0xdbe172,_0x4f6735[_0xfbce35(0x197)])||this[_0xfbce35(0xe5)](_0xfbce35(0x132));}}async[_0x281a0b(0x1b7)](){const _0x475eab=_0x281a0b;this[_0x475eab(0xdf)]();const {locale:_0x2b08e5}=this[_0x475eab(0x17c)];let _0x414585;try{_0x414585=await this[_0x475eab(0x14b)][_0x475eab(0x14e)]();}catch{const _0x624bc8=_0x501ffb(_0x2b08e5,_0x475eab(0x18f));return void this[_0x475eab(0x15a)](_0x624bc8);}const _0x3e376f=_0x414585[_0x475eab(0xe8)]||_0x414585[_0x475eab(0x1c1)];if(this[_0x475eab(0x10c)]!==_0x3e376f[_0x475eab(0x197)]){const _0x31efb4=_0x501ffb(_0x2b08e5,_0x475eab(0x134));return void this[_0x475eab(0x15a)](_0x31efb4);}await this[_0x475eab(0x1cf)](this[_0x475eab(0x17c)][_0x475eab(0xfb)][_0x475eab(0x180)][_0x475eab(0x19c)][_0x475eab(0x13e)](),!0x0);}[_0x281a0b(0xdf)](){const _0x1b1fa7=_0x281a0b;this[_0x1b1fa7(0x14b)][_0x1b1fa7(0xff)](),this[_0x1b1fa7(0x109)]=[],clearTimeout(this[_0x1b1fa7(0x19b)]),this[_0x1b1fa7(0x11d)](this[_0x1b1fa7(0x14b)]);}[_0x281a0b(0x128)](_0x42e08c){const _0x2c604e=_0x281a0b,_0x57b5f1=this[_0x2c604e(0x17c)][_0x2c604e(0x1c0)][_0x2c604e(0xef)](_0x49063d);this[_0x2c604e(0x15f)](_0x57b5f1,_0x2c604e(0x105)+this[_0x2c604e(0xdb)],(_0x1208ca,{session:_0x341bdf})=>{const _0x17b5bf=_0x2c604e;if(_0x341bdf['id']===_0x57b5f1[_0x17b5bf(0xd7)]){_0x1208ca[_0x17b5bf(0x1c7)]();const _0x18d479=this[_0x17b5bf(0x17c)][_0x17b5bf(0x1c0)][_0x17b5bf(0x10e)](_0x17b5bf(0x19d))&&this[_0x17b5bf(0x17c)][_0x17b5bf(0x1c0)][_0x17b5bf(0xef)](_0x17b5bf(0x19d));let _0x3812c5=_0x341bdf[_0x17b5bf(0xeb)];_0x18d479&&_0x18d479[_0x17b5bf(0x137)]&&(_0x3812c5=_0x3812c5[_0x17b5bf(0x145)](_0x58d85a=>_0x17b5bf(0x17a)!==_0x58d85a)),this[_0x17b5bf(0x17c)][_0x17b5bf(0x1c0)][_0x17b5bf(0xef)](_0x17b5bf(0x12f))[_0x17b5bf(0x115)](_0x3812c5,this[_0x17b5bf(0xdb)]);}}),_0x57b5f1[_0x2c604e(0x14a)](this[_0x2c604e(0xdb)],_0x42e08c);}[_0x281a0b(0x1b3)](){const _0x166de0=_0x281a0b,_0x10a9e6=this[_0x166de0(0x17c)][_0x166de0(0xe7)][_0x166de0(0x184)];this[_0x166de0(0x17c)][_0x166de0(0xe7)][_0x166de0(0x184)]=(..._0x39a12b)=>{const _0x9b7b59=_0x166de0;if(!_0x39a12b[_0x39a12b[_0x9b7b59(0x119)]-0x1][_0x9b7b59(0x1cb)])throw new _0x1d9fc8(_0x9b7b59(0x1d2),this);_0x10a9e6[_0x9b7b59(0x1c2)](this[_0x9b7b59(0x17c)][_0x9b7b59(0xe7)],_0x39a12b);};}[_0x281a0b(0x172)](){const _0x26083a=_0x281a0b;this[_0x26083a(0x17c)][_0x26083a(0xe7)]['on'](_0x26083a(0x1c5),(_0xe6c051,[_0x3e836f])=>{const _0x1dad34=_0x26083a;if(this[_0x1dad34(0x155)][_0x1dad34(0x183)])throw new _0x1d9fc8(_0x1dad34(0x106),this);_0xe6c051[_0x1dad34(0x156)](),this[_0x1dad34(0x19f)]();const _0x30248b=this[_0x1dad34(0x17c)][_0x1dad34(0xea)][_0x1dad34(0xef)](_0x1dad34(0x125)),_0xe37339=this[_0x1dad34(0x13b)](_0x3e836f,_0x30248b);0x0==_0xe37339[_0x1dad34(0x119)]&&_0xe37339[_0x1dad34(0x1db)](new _0x598329(0x0)),_0xe6c051[_0x1dad34(0x1cc)]=this[_0x1dad34(0x1cf)](_0xe37339)[_0x1dad34(0x170)](()=>{const _0x37bfe4=_0x1dad34;this[_0x37bfe4(0x17c)][_0x37bfe4(0x1c0)][_0x37bfe4(0xef)](_0x5ae451)[_0x37bfe4(0xf3)](this),this[_0x37bfe4(0x17c)][_0x37bfe4(0xe7)][_0x37bfe4(0x194)](_0x37bfe4(0x181));})[_0x1dad34(0x121)](_0x1f2747=>this[_0x1dad34(0xe5)](_0x1dad34(0x11a),_0x1f2747))[_0x1dad34(0x157)](()=>this[_0x1dad34(0x141)]());},{'priority':_0x26083a(0xe9)}),this[_0x26083a(0x17c)]['on'](_0x26083a(0x1d0),async(_0x7b1a09,[_0x4733d7,_0x2edd7c])=>{const _0x3d47f8=_0x26083a;_0x7b1a09[_0x3d47f8(0x156)]();const _0x4aef96=this[_0x3d47f8(0x17c)][_0x3d47f8(0xfb)][_0x3d47f8(0x180)][_0x3d47f8(0x199)](_0x4733d7);if(!this[_0x3d47f8(0x12d)][_0x3d47f8(0x10e)](_0x4733d7)){const _0x13db56=_0x2edd7c&&_0x2edd7c[_0x3d47f8(0xe7)]?_0x2edd7c[_0x3d47f8(0xe7)]:'',_0x3f6ba7=_0x2edd7c&&_0x2edd7c[_0x3d47f8(0xde)]?_0x2edd7c[_0x3d47f8(0xde)]:{};await this[_0x3d47f8(0x1c9)](_0x4733d7,_0x13db56,_0x3f6ba7);}this[_0x3d47f8(0x17c)][_0x3d47f8(0xfb)][_0x3d47f8(0x150)]({'isUndoable':!0x1},()=>{const _0x2443a5=_0x3d47f8;_0x4aef96[_0x2443a5(0xf6)]=!0x0,this[_0x2443a5(0x17c)][_0x2443a5(0xfb)][_0x2443a5(0x180)][_0x2443a5(0x111)][_0x2443a5(0x1a9)](_0x4aef96);});},{'priority':_0x26083a(0xe9)});}async[_0x281a0b(0x159)](_0x5f1b58){const _0x512c3e=_0x281a0b,_0x18d909=this[_0x512c3e(0x17c)][_0x512c3e(0x1c0)][_0x512c3e(0xef)](_0x598df0),{connection:_0x2dc1d8}=this[_0x512c3e(0x17c)][_0x512c3e(0x1c0)][_0x512c3e(0xef)](_0x5ae451),_0x21199c=new Set();for(const _0x5afdf5 of _0x5f1b58){const _0x1f78b4=_0x5afdf5[_0x512c3e(0x1d5)];_0x1f78b4&&!_0x18d909[_0x512c3e(0x18a)](_0x1f78b4)&&_0x21199c[_0x512c3e(0xe3)](_0x1f78b4);}if(0x0===_0x21199c[_0x512c3e(0x1dc)])return;const _0x3c1e86=await _0x3decfe[_0x512c3e(0x173)](_0x2dc1d8,Array[_0x512c3e(0x1b9)](_0x21199c));for(const _0x23e3d8 of _0x3c1e86)_0x18d909[_0x512c3e(0x18a)](_0x23e3d8['id'])||_0x18d909[_0x512c3e(0x112)](_0x23e3d8);}[_0x281a0b(0x13b)](_0x3f3a10,_0x2eaf3b={}){const _0x91b7dd=_0x281a0b,_0x45cbb6=this[_0x91b7dd(0x17c)][_0x91b7dd(0xfb)],_0x2f076f=[];let _0x3f746d=0x0;const _0x31bc9f=_0x91b7dd(0x1ba)==typeof _0x3f3a10?{'main':_0x3f3a10}:_0x3f3a10;for(const _0x15c00d of Object[_0x91b7dd(0x144)](_0x31bc9f)){if(!this[_0x91b7dd(0x155)][_0x91b7dd(0x1d1)][_0x91b7dd(0x10e)](_0x15c00d))throw new _0x1d9fc8(_0x91b7dd(0x108),this);const _0x1b39b0=this[_0x91b7dd(0x17c)][_0x91b7dd(0xe7)][_0x91b7dd(0x14d)](_0x31bc9f[_0x15c00d]),_0x1f352c=this[_0x91b7dd(0x155)][_0x91b7dd(0x199)](_0x15c00d),_0x4a95c1=new _0x140f37(_0x45cbb6[_0x91b7dd(0x15d)](_0x1f352c,0x0),_0x1b39b0,_0x3f746d++);_0x2f076f[_0x91b7dd(0x1db)](_0x4a95c1);for(const [_0x53e89e,_0x5a8baa]of _0x1b39b0[_0x91b7dd(0x1d8)]){const _0x150a3a=_0x45cbb6[_0x91b7dd(0x1ce)](_0x45cbb6[_0x91b7dd(0xda)](_0x1f352c,_0x5a8baa[_0x91b7dd(0x18b)][_0x91b7dd(0x122)][_0x91b7dd(0x110)]()),_0x45cbb6[_0x91b7dd(0xda)](_0x1f352c,_0x5a8baa[_0x91b7dd(0xf0)][_0x91b7dd(0x122)][_0x91b7dd(0x110)]())),_0x1b43a3=new _0x55a2f6(_0x53e89e,null,_0x150a3a,_0x45cbb6[_0x91b7dd(0x1d8)],!0x0,_0x3f746d++);_0x2f076f[_0x91b7dd(0x1db)](_0x1b43a3);}}if(_0x2eaf3b)for(const [_0x44c49a,_0x3c11a0]of Object[_0x91b7dd(0x160)](_0x2eaf3b)){const _0x770f74=_0x45cbb6[_0x91b7dd(0x180)][_0x91b7dd(0x199)](_0x44c49a);if(!_0x770f74)throw new _0x1d9fc8(_0x91b7dd(0x1be),null);for(const [_0x38ab35,_0x5cd1ff]of Object[_0x91b7dd(0x160)](_0x3c11a0))if(null!==_0x5cd1ff){const _0x2b226a=new _0x1fc31e(_0x770f74,_0x38ab35,null,_0x5cd1ff,_0x3f746d++);_0x2f076f[_0x91b7dd(0x1db)](_0x2b226a);}}return _0x2f076f;}async[_0x281a0b(0x1c9)](_0x1c142c,_0x15adcf,_0x149491){const _0x255c58=_0x281a0b;this[_0x255c58(0x13b)]({[_0x1c142c]:_0x15adcf},{[_0x1c142c]:_0x149491})[_0x255c58(0x176)]((_0x1f36d2,_0x3f0fad)=>{const _0x5cd056=_0x255c58;_0x1f36d2[_0x5cd056(0x192)]=this[_0x5cd056(0x155)][_0x5cd056(0x183)]+_0x3f0fad,_0x1f36d2[_0x5cd056(0x189)]=!0x0,this[_0x5cd056(0xe0)](_0x1f36d2);}),this[_0x255c58(0x19e)](),await this[_0x255c58(0x1a0)]();}async[_0x281a0b(0x153)](_0x41ec36,_0x24e18f){const _0x116628=_0x281a0b;let _0x56594a;this[_0x116628(0x1a1)]=_0x41ec36[_0x116628(0x17b)];const _0x98ef4a=_0x41ec36[_0x116628(0x113)]&&!_0x41ec36[_0x116628(0x1ab)],_0x536901=_0x98ef4a?0x0:_0x41ec36[_0x116628(0xe7)][_0x116628(0x192)];if(_0x24e18f[_0x116628(0x176)](_0x4425af=>{const _0x194c1a=_0x116628;_0x4425af[_0x194c1a(0x189)]=!0x0,_0x4425af[_0x194c1a(0x12e)]=_0x41ec36[_0x194c1a(0xf1)],_0x4425af[_0x194c1a(0x1d5)]=null;}),_0x98ef4a)_0x56594a=_0x24e18f,this[_0x116628(0x140)](_0x56594a,_0x98ef4a);else{if(_0x41ec36[_0x116628(0x1ab)]){const _0x18b4f3=this[_0x116628(0x13b)](_0x41ec36[_0x116628(0x1ab)]);this[_0x116628(0x155)][_0x116628(0x19c)][_0x116628(0x183)]=-_0x18b4f3[_0x116628(0x119)],_0x18b4f3[_0x116628(0x176)](_0x489204=>{const _0xe90259=_0x116628;_0x489204[_0xe90259(0x192)]-=_0x18b4f3[_0xe90259(0x119)],_0x489204[_0xe90259(0x12e)]=_0x41ec36[_0xe90259(0xf1)],_0x489204[_0xe90259(0x189)]=!0x0,_0x489204[_0xe90259(0x1d5)]=null;}),this[_0x116628(0x140)](_0x18b4f3,!0x0),this[_0x116628(0x1d6)][_0x116628(0x183)]=-_0x18b4f3[_0x116628(0x119)]+this[_0x116628(0x1a1)],this[_0x116628(0x136)](_0x18b4f3);}this[_0x116628(0x155)][_0x116628(0x19c)][_0x116628(0x183)]=_0x536901,_0x56594a=this[_0x116628(0x127)](_0x41ec36[_0x116628(0xe7)],_0x41ec36[_0x116628(0x1d3)]),await this[_0x116628(0x159)](_0x56594a),this[_0x116628(0x140)](_0x56594a,_0x98ef4a);}_0x41ec36[_0x116628(0x197)]&&(this[_0x116628(0x10d)][_0x116628(0x154)](_0x56594a,_0x41ec36[_0x116628(0x197)]),this[_0x116628(0x10c)]=_0x41ec36[_0x116628(0x197)]),this[_0x116628(0x1d6)][_0x116628(0x183)]=_0x536901+this[_0x116628(0x1a1)],this[_0x116628(0x136)](_0x56594a),_0x24e18f[_0x116628(0x145)](_0x2faa41=>{const _0x39a7c5=_0x116628,_0x17b92f=this[_0x39a7c5(0x13d)](_0x2faa41);return _0x17b92f&&!this[_0x39a7c5(0x12d)][_0x39a7c5(0x10e)](_0x17b92f);})[_0x116628(0x176)]((_0x40176c,_0x5e9727)=>{const _0x4f3f7c=_0x116628;_0x40176c[_0x4f3f7c(0x192)]=this[_0x4f3f7c(0x155)][_0x4f3f7c(0x183)]+_0x5e9727,this[_0x4f3f7c(0xe0)](_0x40176c);}),this[_0x116628(0x16f)]()?(this[_0x116628(0x1bd)]=0x0,this[_0x116628(0x19e)](!0x0),await this[_0x116628(0x1a0)]()):(this[_0x116628(0x116)]=!0x1,this[_0x116628(0x141)]());}[_0x281a0b(0xe5)](_0x1acf79,_0x3354c4){const _0x29bfd4=_0x281a0b,_0x21860f=_0x3354c4&&_0x3354c4[_0x29bfd4(0x179)];if(_0x21860f&&_0x21860f[_0x29bfd4(0x186)](_0x29bfd4(0x174)))throw _0x3354c4;const _0x4c47ea=this[_0x29bfd4(0x17c)][_0x29bfd4(0x1c0)][_0x29bfd4(0xef)](_0x5ae451);throw this[_0x29bfd4(0x116)]=!0x0,_0x4c47ea[_0x29bfd4(0xff)](),this[_0x29bfd4(0x17c)][_0x29bfd4(0x146)](_0x29bfd4(0xf8)),new _0x1d9fc8(_0x1acf79,this[_0x29bfd4(0x17c)],_0x21860f?{'originalError':_0x21860f}:void 0x0);}[_0x281a0b(0xe0)](_0xefa26a){const _0x31ee0b=_0x281a0b;this[_0x31ee0b(0x187)][_0x31ee0b(0x10e)](_0xefa26a)||(this[_0x31ee0b(0x187)][_0x31ee0b(0xe3)](_0xefa26a),this[_0x31ee0b(0x109)][_0x31ee0b(0x1db)](_0xefa26a),this[_0x31ee0b(0x1d4)]||_0x31ee0b(0x104)==_0xefa26a[_0x31ee0b(0x195)]&&!_0xefa26a[_0x31ee0b(0x152)]||this[_0x31ee0b(0x19f)]());}[_0x281a0b(0x19e)](_0x311175=!0x1){const _0x1c089d=_0x281a0b;!_0x311175&&this[_0x1c089d(0x116)]||(this[_0x1c089d(0x116)]=!0x0,clearTimeout(this[_0x1c089d(0x19b)]),this[_0x1c089d(0x19b)]=setTimeout(()=>{const _0x2a2904=_0x1c089d;this[_0x2a2904(0x185)]()[_0x2a2904(0x170)](_0xc020cd=>{const _0x3b8f89=_0x2a2904;_0xc020cd&&(this[_0x3b8f89(0x141)](),this[_0x3b8f89(0x116)]=!0x1);})[_0x2a2904(0x121)](_0x24f906=>{const _0x89ade4=_0x2a2904;this[_0x89ade4(0x141)](),this[_0x89ade4(0x116)]=!0x1,function(_0x28603c){const _0x8de0ef=_0x89ade4;return _0x28603c[_0x8de0ef(0x179)][_0x8de0ef(0x186)](_0x8de0ef(0x124))||_0x28603c[_0x8de0ef(0x179)][_0x8de0ef(0x186)](_0x8de0ef(0x18e))||_0x28603c[_0x8de0ef(0x179)][_0x8de0ef(0x186)](_0x8de0ef(0x1bf));}(_0x24f906)||this[_0x89ade4(0xe5)](_0x24f906[_0x89ade4(0x179)],_0x24f906);});},this[_0x1c089d(0x1bd)]));}[_0x281a0b(0x1a0)](){return new Promise(_0x58af8b=>{const _0x22563d=_0x220c;this['on'](_0x22563d(0x175),()=>{_0x58af8b();});});}async[_0x281a0b(0x185)](){const _0x3ef723=_0x281a0b,_0x588b2e=this[_0x3ef723(0x17c)][_0x3ef723(0x1c0)][_0x3ef723(0xef)](_0x1c52a1);if(this[_0x3ef723(0x164)]()&&(_0x588b2e[_0x3ef723(0x1c6)](),this[_0x3ef723(0x1a3)]=!0x1),!this[_0x3ef723(0x16f)]())return!0x0;const _0xc95622=[...this[_0x3ef723(0x109)]];for(const _0x1c1048 of _0xc95622)_0x1c1048[_0x3ef723(0x166)]=this[_0x3ef723(0x155)][_0x3ef723(0x19c)][_0x3ef723(0x10a)](_0x1c1048);const _0x4ad74a=this[_0x3ef723(0x10d)][_0x3ef723(0x1ad)](_0xc95622),_0x4eef6b=G++,_0xeee1fe=this[_0x3ef723(0x1b8)](_0xc95622),_0x1a63a2=await this[_0x3ef723(0x14b)][_0x3ef723(0x15c)](_0xeee1fe,_0xeee1fe[_0x3ef723(0x192)],_0x4ad74a);try{return await this[_0x3ef723(0x16d)](_0xc95622,_0x1a63a2,_0x4eef6b);}catch(_0x51eedb){return this[_0x3ef723(0xe5)](_0x3ef723(0xfe),_0x51eedb);}}async[_0x281a0b(0x16d)](_0x5c4841,_0x4e9542,_0x1735e7){const _0x1974c6=_0x281a0b;if(_0x1974c6(0x139)in _0x4e9542)throw _0x4e9542[_0x1974c6(0x139)];let _0x288440=!0x1;if(_0x4e9542[_0x1974c6(0x113)]){_0x4e9542[_0x1974c6(0x197)]&&(this[_0x1974c6(0x10c)]=_0x4e9542[_0x1974c6(0x197)]),this[_0x1974c6(0x109)]=this[_0x1974c6(0x109)][_0x1974c6(0x145)](_0x433968=>!_0x5c4841[_0x1974c6(0x16a)](_0x433968));for(const _0x52131d of _0x5c4841)_0x52131d[_0x1974c6(0x12e)]=_0x1974c6(0x1b5)in _0x4e9542&&_0x4e9542[_0x1974c6(0x1b5)]||void 0x0;K(_0x5c4841,_0x4e9542[_0x1974c6(0x183)]-_0x5c4841[_0x1974c6(0x119)]),this[_0x1974c6(0x136)](_0x5c4841);const _0xafcf51=_0x5c4841[_0x1974c6(0x145)](_0x39f6a3=>{const _0x3b2112=_0x1974c6;if(!_0x39f6a3[_0x3b2112(0x189)])return!0x1;const _0x308631=this[_0x3b2112(0x13d)](_0x39f6a3);return _0x308631&&!this[_0x3b2112(0x12d)][_0x3b2112(0x10e)](_0x308631);});K(_0xafcf51,this[_0x1974c6(0x155)][_0x1974c6(0x183)]),this[_0x1974c6(0x140)](_0xafcf51),_0x288440=!0x0,this[_0x1974c6(0x1bd)]=this[_0x1974c6(0xf2)];}else{const _0x1bf9db=this[_0x1974c6(0x127)](_0x4e9542[_0x1974c6(0xe7)],_0x4e9542[_0x1974c6(0x1d3)])[_0x1974c6(0x145)](_0x42de5b=>_0x42de5b[_0x1974c6(0x192)]>=this[_0x1974c6(0x12a)]);_0x1bf9db[_0x1974c6(0x176)](_0x1943b5=>this[_0x1974c6(0xf9)](_0x1943b5)),this[_0x1974c6(0x109)]=this[_0x1974c6(0x109)][_0x1974c6(0x145)](_0x56b729=>!_0x56b729[_0x1974c6(0x189)]||!this[_0x1974c6(0x12d)][_0x1974c6(0x10e)](this[_0x1974c6(0x13d)](_0x56b729))),this[_0x1974c6(0x109)][_0x1974c6(0x119)]&&K(this[_0x1974c6(0x109)],this[_0x1974c6(0x109)][0x0][_0x1974c6(0x192)]),await this[_0x1974c6(0x159)](_0x1bf9db),_0x288440=this[_0x1974c6(0x17d)](_0x1bf9db,_0x4e9542[_0x1974c6(0x183)],_0x4e9542[_0x1974c6(0x197)]),this[_0x1974c6(0x1bd)]=Math[_0x1974c6(0x151)](this[_0x1974c6(0x1bd)]/0x2);}return _0x288440?!this[_0x1974c6(0x16f)]()||(this[_0x1974c6(0x19e)](!0x0),!0x1):this[_0x1974c6(0xe5)](_0x1974c6(0x11e));}[_0x281a0b(0x17d)](_0x25ef60,_0x1359f2,_0x452129){const _0x8bbf5e=_0x281a0b;try{const _0x50b19f={'document':this[_0x8bbf5e(0x155)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1abb1f,operationsB:_0x930203,originalOperations:_0x421d72}=_0x262c90(_0x25ef60,this[_0x8bbf5e(0x109)],_0x50b19f);K(_0x1abb1f,this[_0x8bbf5e(0x155)][_0x8bbf5e(0x183)]),K(_0x930203,_0x1359f2);for(const _0x109d20 of _0x1abb1f){const _0x446858=_0x421d72[_0x8bbf5e(0xef)](_0x109d20);_0x109d20[_0x8bbf5e(0x1d5)]=_0x446858?_0x446858[_0x8bbf5e(0x1d5)]:null;}_0x452129&&(this[_0x8bbf5e(0x10d)][_0x8bbf5e(0x154)](_0x25ef60,_0x452129),this[_0x8bbf5e(0x10c)]=_0x452129),this[_0x8bbf5e(0x109)]=[..._0x930203],this[_0x8bbf5e(0x140)](_0x1abb1f),this[_0x8bbf5e(0x136)](_0x25ef60);}catch(_0x312385){return console[_0x8bbf5e(0x139)](_0x312385),!0x1;}return!0x0;}[_0x281a0b(0x140)](_0x27046a,_0x4eee9f=!0x1){const _0x1b6906=_0x281a0b;this[_0x1b6906(0x17c)][_0x1b6906(0xfb)][_0x1b6906(0x150)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4e4166=>{const _0x2e9c29=_0x1b6906;for(const _0x45ddbb of _0x27046a)this[_0x2e9c29(0x187)][_0x2e9c29(0xe3)](_0x45ddbb),this[_0x2e9c29(0xf9)](_0x45ddbb),_0x4e4166[_0x2e9c29(0x168)][_0x2e9c29(0x17f)](_0x45ddbb),this[_0x2e9c29(0x17c)][_0x2e9c29(0xfb)][_0x2e9c29(0x1cd)](_0x45ddbb);});}[_0x281a0b(0xf9)](_0xee05f6){const _0x2ab823=_0x281a0b,_0x420a1c=this[_0x2ab823(0x13d)](_0xee05f6);_0x420a1c&&this[_0x2ab823(0x12d)][_0x2ab823(0xe3)](_0x420a1c);}[_0x281a0b(0x13d)](_0x32dd31){const _0x2578ce=_0x281a0b;let _0x2d6e2c,_0x458bbe;switch(_0x32dd31[_0x2578ce(0x195)]){case _0x2578ce(0x1a5):_0x2d6e2c=_0x32dd31[_0x2578ce(0x1a7)][_0x2578ce(0x1ae)];break;case _0x2578ce(0x104):if(_0x458bbe=_0x32dd31[_0x2578ce(0x1a4)],!_0x458bbe)return null;_0x2d6e2c=_0x458bbe[_0x2578ce(0x1ae)];break;case _0x2578ce(0x1bc):_0x2d6e2c=_0x32dd31[_0x2578ce(0x1ae)];break;case _0x2578ce(0x1b6):_0x2d6e2c=_0x32dd31[_0x2578ce(0x13c)];break;case _0x2578ce(0x167):_0x2d6e2c=_0x32dd31[_0x2578ce(0xe2)][_0x2578ce(0x1ae)];break;default:return null;}return _0x2d6e2c[_0x2578ce(0x1b2)];}[_0x281a0b(0x136)](_0x35f208){const _0x4fc39c=_0x281a0b;_0x35f208[_0x4fc39c(0x176)](_0x5ed892=>{const _0x32e942=_0x4fc39c,_0x66d32=_0x5ed892[_0x32e942(0x11f)]();_0x66d32[_0x32e942(0x1d5)]=_0x5ed892[_0x32e942(0x1d5)],_0x66d32[_0x32e942(0x189)]=!!_0x5ed892[_0x32e942(0x189)],_0x66d32[_0x32e942(0x12e)]=_0x5ed892[_0x32e942(0x12e)],_0x66d32[_0x32e942(0x192)]+=this[_0x32e942(0x1a1)],_0x5ed892[_0x32e942(0x131)]&&this[_0x32e942(0x1c3)][_0x32e942(0xe3)](_0x66d32),this[_0x32e942(0x1d6)][_0x32e942(0x17f)](_0x66d32);});}[_0x281a0b(0x15a)](_0x131153){const _0x18546c=_0x281a0b,_0x43a256=this[_0x18546c(0x17c)][_0x18546c(0x1c0)][_0x18546c(0xef)](_0x18546c(0x107)),_0x5da425=this[_0x18546c(0x17c)][_0x18546c(0x1dd)];_0x131153||(_0x131153=_0x501ffb(_0x5da425,_0x18546c(0x1ac))),_0x43a256[_0x18546c(0x149)](_0x131153,{'title':_0x501ffb(_0x5da425,_0x18546c(0x169)),'namespace':_0x18546c(0x16e)}),this[_0x18546c(0x162)]=!0x0,clearTimeout(this[_0x18546c(0x19b)]),this[_0x18546c(0x109)]=[],this[_0x18546c(0x17c)][_0x18546c(0x1c0)][_0x18546c(0xef)](_0x5ae451)[_0x18546c(0xff)]();}[_0x281a0b(0x19f)](){const _0x206df7=_0x281a0b;this[_0x206df7(0x1d4)]||(this[_0x206df7(0x1d4)]=this[_0x206df7(0x17c)][_0x206df7(0x1c0)][_0x206df7(0xef)](_0x5b0a3a)[_0x206df7(0xe3)](_0x501ffb(this[_0x206df7(0x17c)][_0x206df7(0x1dd)],_0x206df7(0x1b0))));}[_0x281a0b(0x141)](){const _0x57548c=_0x281a0b;this[_0x57548c(0x1d4)]&&(this[_0x57548c(0x17c)][_0x57548c(0x1c0)][_0x57548c(0xef)](_0x5b0a3a)[_0x57548c(0xf7)](this[_0x57548c(0x1d4)]),this[_0x57548c(0x1d4)]=null);}[_0x281a0b(0x1b8)](_0x6de5ee){const _0x2047c0=_0x281a0b,_0x33aef5=_0x6de5ee[_0x2047c0(0x1a8)](_0x5783c5=>_0x5783c5[_0x2047c0(0x13f)]());return this[_0x2047c0(0x147)][_0x2047c0(0x190)](_0x33aef5);}[_0x281a0b(0x127)](_0x113070,_0x1aaae3){const _0x267bb1=_0x281a0b;return this[_0x267bb1(0x147)][_0x267bb1(0x118)](_0x113070)[_0x267bb1(0x1a8)]((_0x597841,_0x2a2b7d)=>{const _0x5058c3=_0x267bb1,_0x27b83f=_0x5058c3(0x1c5)==_0x1aaae3[_0x2a2b7d][_0x5058c3(0x195)];if(_0x5058c3(0x165)==_0x597841[_0x5058c3(0xdd)]){const _0x482723=_0x597841[_0x5058c3(0x1a7)][_0x5058c3(0x1ae)];!this[_0x5058c3(0x155)][_0x5058c3(0x199)](_0x482723)&&(this[_0x5058c3(0x155)][_0x5058c3(0x1c8)](_0x5058c3(0xf4),_0x482723)[_0x5058c3(0x12b)]=!0x1);}const _0x278f62=_0x40d72f[_0x5058c3(0x123)](_0x597841,this[_0x5058c3(0x155)]);return _0x278f62[_0x5058c3(0x166)]=_0x597841[_0x5058c3(0x166)],_0x278f62[_0x5058c3(0x189)]=_0x27b83f,_0x278f62[_0x5058c3(0x1d5)]=_0x27b83f?null:_0x1aaae3[_0x2a2b7d][_0x5058c3(0x103)],_0x278f62[_0x5058c3(0x131)]=_0x5058c3(0x126)===_0x1aaae3[_0x2a2b7d][_0x5058c3(0x195)],_0x278f62[_0x5058c3(0x12e)]=_0x1aaae3[_0x2a2b7d][_0x5058c3(0x12e)],_0x278f62;});}[_0x281a0b(0x1d9)](){const _0xd8a378=_0x281a0b;this[_0xd8a378(0x1a3)]=!0x0,this[_0xd8a378(0x164)]()?this[_0xd8a378(0x19e)]():this[_0xd8a378(0x1a3)]=!0x1;}[_0x281a0b(0x164)](){const _0x4dbcee=_0x281a0b,_0x368ea7=this[_0x4dbcee(0x17c)][_0x4dbcee(0x1c0)][_0x4dbcee(0xef)](_0x49063d)[_0x4dbcee(0x178)][_0x4dbcee(0xef)](this[_0x4dbcee(0xdb)]);return!this[_0x4dbcee(0x17c)][_0x4dbcee(0x1a6)]&&!!_0x368ea7&&_0x368ea7[_0x4dbcee(0x119)]>0x1&&this[_0x4dbcee(0x1a3)];}[_0x281a0b(0x16f)](){const _0x2a5e9b=_0x281a0b;return this[_0x2a5e9b(0x109)][_0x2a5e9b(0x119)]>0x0||this[_0x2a5e9b(0x164)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x48b5f4,_0x4c47ee){const _0x4146a5=_0x281a0b;for(const _0x3f1236 of _0x48b5f4)_0x3f1236[_0x4146a5(0x192)]=_0x4c47ee++;}class J{[_0x281a0b(0xd8)];[_0x281a0b(0x133)];constructor(_0x44db63){const _0x4e0ad3=_0x281a0b;this[_0x4e0ad3(0xd8)]=_0x44db63,this[_0x4e0ad3(0x133)]=new WeakMap();}[_0x281a0b(0x1ad)](_0x1610ee){const _0x2b32c6=_0x281a0b;let _0x1289e4=_0x1610ee[_0x2b32c6(0x119)];for(;_0x1289e4--;){const _0x1cd148=_0x1610ee[_0x1289e4];if(!this[_0x2b32c6(0xd8)][_0x2b32c6(0x10e)](_0x1cd148)){if(!this[_0x2b32c6(0x133)][_0x2b32c6(0x10e)](_0x1cd148)){const _0x5a1659=_0x5b7d9a()[_0x2b32c6(0x110)](0x1,0x12);this[_0x2b32c6(0x133)][_0x2b32c6(0x184)](_0x1cd148,_0x5a1659);}return this[_0x2b32c6(0x133)][_0x2b32c6(0xef)](_0x1cd148);}}}[_0x281a0b(0x154)](_0x2b7bfa,_0x2ade9c){const _0x4f6803=_0x281a0b;if(!_0x2ade9c)return;let _0xf72c21=_0x2b7bfa[_0x4f6803(0x119)];for(;_0xf72c21--;){const _0x125fab=_0x2b7bfa[_0xf72c21];this[_0x4f6803(0xd8)][_0x4f6803(0x10e)](_0x125fab)||this[_0x4f6803(0x133)][_0x4f6803(0x184)](_0x125fab,_0x2ade9c);}}}
|
|
23
|
+
const _0x3abe2c=_0xb3cd;(function(_0x17acba,_0x14b0b4){const _0x887776=_0xb3cd,_0x5d6a28=_0x17acba();while(!![]){try{const _0xa4f113=parseInt(_0x887776(0x1b4))/0x1*(-parseInt(_0x887776(0x20c))/0x2)+-parseInt(_0x887776(0x1df))/0x3+-parseInt(_0x887776(0x278))/0x4+parseInt(_0x887776(0x1c4))/0x5*(parseInt(_0x887776(0x1de))/0x6)+-parseInt(_0x887776(0x20a))/0x7+-parseInt(_0x887776(0x27a))/0x8*(-parseInt(_0x887776(0x290))/0x9)+parseInt(_0x887776(0x282))/0xa*(parseInt(_0x887776(0x1f9))/0xb);if(_0xa4f113===_0x14b0b4)break;else _0x5d6a28['push'](_0x5d6a28['shift']());}catch(_0xe069fc){_0x5d6a28['push'](_0x5d6a28['shift']());}}}(_0x4d74,0x847ea));import{Plugin as _0x236759,PendingActions as _0x23aa24}from'ckeditor5/src/core.js';import{CKEditorError as _0x439548,version as _0x1678f4,uid as _0x4feefc}from'ckeditor5/src/utils.js';import{Notification as _0x56108a}from'ckeditor5/src/ui.js';function _0xb3cd(_0x53452c,_0x30af12){const _0x4d74e6=_0x4d74();return _0xb3cd=function(_0xb3cd86,_0x1337d1){_0xb3cd86=_0xb3cd86-0x1a8;let _0xcb8e6d=_0x4d74e6[_0xb3cd86];return _0xcb8e6d;},_0xb3cd(_0x53452c,_0x30af12);}import{transformOperationSets as _0xde2f7b,NoOperation as _0x3b9292,InsertOperation as _0x1ea9ed,MarkerOperation as _0x5ea9ef,RootAttributeOperation as _0x2d80ce,OperationFactory as _0x5c3a24,History as _0x246aa4}from'ckeditor5/src/engine.js';function _0x4d74(){const _0x157f74=['cloud-services-internal-error:\x20Request\x20timeout.','message','marker','_refreshUserSelectionMarkers','Permissions','position','getDocumentDetails','createUserMarkerOperations','getMany','enableReadOnlyMode','addUser','getConnectedSessions','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','targetPosition','initData','Synchronization\x20issue','set','addOperation','createRoot','_fetchMissingUsers','createPositionFromPath','real-time-collaboration','_bufferRootLoad','_clearPendingAction','isPremiumPlugin','_shouldSendSelectionUpdate','createPositionAt','sessionId','InsertOperation','addRoot','round','reconnect','reset','addToReconnectionStack','map','807LupPyI','_authorId','_sendBufferedOperations','lastDocumentSession','move','affectedSelectable','plugins','listenTo','lastOperationAcceptedAt','add','_connectService','entries','_isInit','RealTimeCollaborationClient','_isPendingUpdate','_handleReconnectionError','1335SZptMY','off','locale','wereChangesApplied','markers','requires','_disconnectService','clone','getIdOfTheLastOperation','multi-root-editor-root-attributes-no-root','realtimecollaborationclient-sendbufferedoperations','slice','_channelId','_crash','startsWith','realtimecollaborationclient-init-connection-failed','register','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','end','$root','_applyOperationsSet','destroy','offset','rootsAttributes','sessionAdd:','_baseBufferDelay','5298IpInna','3079608WoaKto','realtimecollaborationclient-handleserverresponse','_isLoaded','realtimecollaborationclient-init-service-internal-error','catch','404','Notification','_lastServerVersion','currentDocumentSession','_waitUntilSynced','collaboration-missing-channelid','addRootAttribute','rtc-destroyed','_hasSelectionChanged','connection','compress','path','lastOperationId','_compressor','getUser','_getAffectedRoot','showWarning','then','wasUndone','setIdForTheLastOperation','fromJSON','28440456JCcWYW','removeFromReconnectionStack','parse','_lastSyncedOperationId','_handleServerResponse','realtimecollaborationclient-error','includes','_operationIdentifier','disableReadOnlyMode','realtimecollaborationclient-init-session-connection-error','__className','permissions','createdAt','realtimecollaborationclient-init-service-incorrect-server-operation','_service','batch','unregister','3892224FfhRcC','has','2242kevVqf','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','stop','_shouldSendUpdate','length','version','roots','stopListening','define','string','realtimecollaborationclient','suppressErrorInCollaboration','_handleInitialConnectionData','_compressOperations','getOperations','from','pluginName','editor','_isAttached','_sendBufferedOperationsDelayed','_operationToId','root','keys','differ','newRange','get','getOperationAuthor','_knownOperations','operationsReceived','config','getRoot','change:hasDomSelection','history','isUndoneOperation','code','isDocumentOperation','metadata','userId','cloudDocumentVersion','_handleSendingSelectionMarkers','model','cloud-services-internal-error:\x20Not\x20connected.','rootName','_connectAfterSessionHasBeenFlushed','_pendingAction','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.','isOfficialPlugin','_getOperationsFromInitData','change:_isPendingUpdate','high','insert','_isEditingAllowed','return','applyOperation','_disconnectionOperations','isEnabled','view','apply','realtimecollaborationclient-init-non-existent-root','loadRoot','directChange','_offset','data','ready','channelSessions','_document','connect','setPermissions','init','bind','editing','state','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_updateServerHistory','sendOperations','sessionCreatedAt','enqueueChange','_bufferedOperations','serverHistory','_handleReceivedOperations','affectsData','error','push','_handleExternalOperations','_saveOperationInBuffer','_hasSynchronizationProblem','decompress','remove','rtc-offline','baseVersion','connected','lastSyncVersion','toJSON','_initSessionsHandling','_sendBufferedOperationsDelayId','409','_addKnownRoot','start','collaboration.channelId','_handleReconnectionResponse','CommentsOnly','disconnect','cloudServices.bundleVersion','reconnection:\x20flushed\x20session','forEach','document:write','type','disconnected','2582664eOtQOr','cs:removeUser','48lWQiCq','isReadOnly','change:_isEditingAllowed','realtimecollaborationclient-init-document-already-initialized','document','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.','_currentBufferDelay','PENDING_ACTION_SENDING_DATA','10FJJGfW','_ignoredOperations','attributes','fire','createRange','mySessionId','_setPendingAction','_initThrowingOnDataSet','_loadRoot','_isDisconnection','_isConnected','_knownRootNames','collaboration','filter','1281483lKicHu','selection','size','_setUpDataInit','CollaborativeEditingService','change:range','finally','_decompressOperations'];_0x4d74=function(){return _0x157f74;};return _0x4d74();}import{WebSocketGateway as _0x5c43bc}from'./websocketgateway.js';import{Sessions as _0x47403e}from'./sessions.js';import{UserMarkers as _0x50211f}from'./usermarkers.js';import{getTranslation as _0x45734c}from'../common-translations.js';import{Compressor as _0x4ebd40}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2ed45e}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x53b797,CollaborativeEditingService as _0x11441f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;class l extends _0x236759{static [_0x3abe2c(0x294)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x11441f)());[_0x3abe2c(0x249)];[_0x3abe2c(0x1ac)];[_0x3abe2c(0x25a)];[_0x3abe2c(0x1d0)];[_0x3abe2c(0x207)];[_0x3abe2c(0x24d)];[_0x3abe2c(0x1f1)];[_0x3abe2c(0x259)];[_0x3abe2c(0x227)];[_0x3abe2c(0x28d)];[_0x3abe2c(0x238)];[_0x3abe2c(0x1ec)];[_0x3abe2c(0x26a)];[_0x3abe2c(0x1dd)];[_0x3abe2c(0x280)];[_0x3abe2c(0x1fc)];[_0x3abe2c(0x242)];[_0x3abe2c(0x200)];static get[_0x3abe2c(0x1c9)](){return[_0x5c43bc,_0x47403e,_0x50211f,_0x23aa24,_0x2ed45e,_0x56108a];}static get[_0x3abe2c(0x21c)](){const _0x14e5b0=_0x3abe2c;return _0x14e5b0(0x1c1);}static get[_0x3abe2c(0x23a)](){return!0x0;}static get[_0x3abe2c(0x1a9)](){return!0x0;}get[_0x3abe2c(0x232)](){const _0x5ef91e=_0x3abe2c;return this[_0x5ef91e(0x1e6)]+this[_0x5ef91e(0x249)];}get[_0x3abe2c(0x1e6)](){const _0x466e9d=_0x3abe2c;return this[_0x466e9d(0x25a)][_0x466e9d(0x211)]-this[_0x466e9d(0x249)];}get[_0x3abe2c(0x267)](){const _0x6706e3=_0x3abe2c,_0x5ce778=this[_0x6706e3(0x25a)][_0x6706e3(0x21a)]();for(let _0x19ddc6=_0x5ce778[_0x6706e3(0x210)]-0x1;_0x19ddc6>=0x0;_0x19ddc6--){const _0x113e2f=_0x5ce778[_0x19ddc6];if(!this[_0x6706e3(0x242)][_0x6706e3(0x20b)](_0x113e2f))return _0x113e2f[_0x6706e3(0x265)]+0x1-this[_0x6706e3(0x249)];}return 0x0;}constructor(_0x43cef7){const _0x466464=_0x3abe2c;if(super(_0x43cef7),this[_0x466464(0x249)]=0x0,this[_0x466464(0x1ac)]=null,this[_0x466464(0x25a)]=new _0x246aa4(),this[_0x466464(0x21d)][_0x466464(0x229)][_0x466464(0x214)](_0x466464(0x28e),{}),this[_0x466464(0x1d0)]=this[_0x466464(0x21d)][_0x466464(0x229)][_0x466464(0x225)](_0x466464(0x26e)),!this[_0x466464(0x1d0)])throw new _0x439548(_0x466464(0x1e9),this);const _0x5716ab=_0x43cef7[_0x466464(0x229)][_0x466464(0x225)](_0x466464(0x272))||_0x1678f4;this[_0x466464(0x207)]=new l[(_0x466464(0x294))](_0x5716ab,this[_0x466464(0x1d0)]),this[_0x466464(0x24d)]=this[_0x466464(0x21d)][_0x466464(0x234)][_0x466464(0x27e)],this[_0x466464(0x1f1)]=new _0x4ebd40(),this[_0x466464(0x259)]=[],this[_0x466464(0x227)]=new WeakSet(),this[_0x466464(0x28d)]=new Set(),this[_0x466464(0x2a8)](_0x466464(0x1c2),!0x1),this[_0x466464(0x2a8)](_0x466464(0x261),!0x1),this[_0x466464(0x238)]=null,this[_0x466464(0x1ec)]=!0x1,this[_0x466464(0x26a)]=null,this[_0x466464(0x1dd)]=0x12c,this[_0x466464(0x280)]=this[_0x466464(0x1dd)],this[_0x466464(0x1fc)]=null,this[_0x466464(0x242)]=new WeakSet(),this[_0x466464(0x200)]=new Z(this[_0x466464(0x242)]);}[_0x3abe2c(0x250)](){const _0x55c514=_0x3abe2c,_0x513de5=this[_0x55c514(0x21d)],_0xdc3a59=_0x513de5[_0x55c514(0x1ba)][_0x55c514(0x225)](_0x2ed45e),_0x6ba0f9=_0x513de5[_0x55c514(0x1ba)][_0x55c514(0x225)](_0x5c43bc);this[_0x55c514(0x1bb)](_0xdc3a59,_0x55c514(0x226),(_0x5f09d1,_0x20d39a)=>{const _0x5b68c5=_0x55c514,_0x1df39f=_0x20d39a[0x0];_0x1df39f[_0x5b68c5(0x1b5)]&&(_0x5f09d1[_0x5b68c5(0x240)]=_0xdc3a59[_0x5b68c5(0x1f2)](_0x1df39f[_0x5b68c5(0x1b5)]),_0x5f09d1[_0x5b68c5(0x20e)]()),null===_0x1df39f[_0x5b68c5(0x1b5)]&&(_0x5f09d1[_0x5b68c5(0x240)]=null,_0x5f09d1[_0x5b68c5(0x20e)]());},{'priority':_0x55c514(0x23d)}),this[_0x55c514(0x1bb)](_0x513de5[_0x55c514(0x234)][_0x55c514(0x27e)][_0x55c514(0x291)],_0x55c514(0x295),(_0x57497d,_0x338af8)=>{const _0x503d4b=_0x55c514;_0x338af8[_0x503d4b(0x248)]&&this[_0x503d4b(0x29b)]();}),this[_0x55c514(0x1bb)](_0x513de5[_0x55c514(0x252)][_0x55c514(0x244)],_0x55c514(0x22b),()=>{const _0x36f7fd=_0x55c514;this[_0x36f7fd(0x29b)]();}),this[_0x55c514(0x289)](),_0x513de5[_0x55c514(0x234)]['on'](_0x55c514(0x241),(_0x21a95c,_0x49c841)=>{const _0x12bf7f=_0x55c514,_0x5c61ef=_0x49c841[0x0];_0x5c61ef[_0x12bf7f(0x22f)]&&(this[_0x12bf7f(0x260)](_0x5c61ef),this[_0x12bf7f(0x20f)]()&&this[_0x12bf7f(0x21f)]());}),this[_0x55c514(0x293)](),this[_0x55c514(0x251)](_0x55c514(0x23f))['to'](_0x6ba0f9,_0x55c514(0x253),this,_0x55c514(0x261),(_0x5a2a13,_0x52937c)=>_0x55c514(0x266)===_0x5a2a13&&!_0x52937c),this['on'](_0x55c514(0x27c),()=>{const _0x58dc50=_0x55c514;this[_0x58dc50(0x23f)]?_0x513de5[_0x58dc50(0x201)](_0x58dc50(0x264)):_0x513de5[_0x58dc50(0x2a1)](_0x58dc50(0x264));}),this[_0x55c514(0x23f)]?_0x513de5[_0x55c514(0x201)](_0x55c514(0x264)):_0x513de5[_0x55c514(0x2a1)](_0x55c514(0x264)),this[_0x55c514(0x2a8)](_0x55c514(0x28c),!0x1);}async[_0x3abe2c(0x1b0)](){const _0x53a9a8=_0x3abe2c,_0x363edd=this[_0x53a9a8(0x21d)][_0x53a9a8(0x1ba)][_0x53a9a8(0x225)](_0x47403e),_0x39db35=this[_0x53a9a8(0x21d)][_0x53a9a8(0x1ba)][_0x53a9a8(0x225)](_0x5c43bc);try{this[_0x53a9a8(0x1c2)]=!0x0,_0x363edd[_0x53a9a8(0x209)](this[_0x53a9a8(0x1d0)]);const _0x117c7f=await this[_0x53a9a8(0x207)][_0x53a9a8(0x1b0)](_0x39db35[_0x53a9a8(0x1ed)],this[_0x53a9a8(0x267)]);await this[_0x53a9a8(0x26f)](_0x117c7f)&&(this[_0x53a9a8(0x1c2)]=!0x1,this[_0x53a9a8(0x1a8)]());const _0x210bc1=await this[_0x53a9a8(0x207)][_0x53a9a8(0x2a3)]();_0x363edd[_0x53a9a8(0x1d4)](this[_0x53a9a8(0x1d0)],_0x210bc1),this[_0x53a9a8(0x233)](),this[_0x53a9a8(0x28c)]=!0x0;}catch(_0x28b6e7){if(function(_0x3c5e31){const _0x540b0b=_0x53a9a8;return _0x540b0b(0x1e4)===_0x3c5e31[_0x540b0b(0x22e)];}(_0x28b6e7)&&this[_0x53a9a8(0x1ac)])await this[_0x53a9a8(0x237)]();else{if(function(_0x3e7c76){const _0x900632=_0x53a9a8;return _0x900632(0x26b)===_0x3e7c76[_0x900632(0x22e)];}(_0x28b6e7)){const _0x2392c1=_0x45734c(this[_0x53a9a8(0x21d)][_0x53a9a8(0x1c6)],_0x53a9a8(0x254));this[_0x53a9a8(0x1c3)](_0x2392c1);}else{if(!(_0x28b6e7 instanceof X))throw _0x28b6e7;this[_0x53a9a8(0x1c3)]();}}}}[_0x3abe2c(0x1d9)](){const _0x21a849=_0x3abe2c,_0x102b5c=this[_0x21a849(0x21d)][_0x21a849(0x1ba)][_0x21a849(0x225)](_0x5c43bc),_0x101b50=this[_0x21a849(0x21d)][_0x21a849(0x1ba)][_0x21a849(0x225)](_0x47403e);this[_0x21a849(0x21d)][_0x21a849(0x2a1)](_0x21a849(0x1eb)),_0x101b50[_0x21a849(0x24c)][_0x21a849(0x20b)](this[_0x21a849(0x1d0)])&&_0x101b50[_0x21a849(0x209)](this[_0x21a849(0x1d0)]),_0x102b5c[_0x21a849(0x1fa)](this),this[_0x21a849(0x1ca)](),super[_0x21a849(0x1d9)]();}async[_0x3abe2c(0x26f)](_0x440de0){const _0x1869ef=_0x3abe2c;if(this[_0x1869ef(0x1ac)]!==_0x440de0[_0x1869ef(0x1ac)]&&this[_0x1869ef(0x1fc)]!==_0x440de0[_0x1869ef(0x1f0)])throw new X();return this[_0x1869ef(0x1ac)]=_0x440de0[_0x1869ef(0x1ac)],this[_0x1869ef(0x1fd)]([],{..._0x440de0,'wereChangesApplied':!0x1,'data':_0x440de0[_0x1869ef(0x24a)]},_0x1869ef(0x1b0));}async[_0x3abe2c(0x1be)](_0xace604,_0xe37450=!0x1){const _0x21aaa7=_0x3abe2c,{connection:_0x32b24d}=this[_0x21aaa7(0x21d)][_0x21aaa7(0x1ba)][_0x21aaa7(0x225)](_0x5c43bc);l[_0x21aaa7(0x294)][_0x21aaa7(0x2a3)](_0x32b24d,this[_0x21aaa7(0x1d0)])[_0x21aaa7(0x1f5)](_0x13c315=>this[_0x21aaa7(0x269)](_0x13c315))[_0x21aaa7(0x1e3)](_0x51f739=>{const _0x26df9a=_0x21aaa7;this[_0x26df9a(0x1d1)](_0x26df9a(0x202),_0x51f739);}),this[_0x21aaa7(0x1bb)](this[_0x21aaa7(0x207)],_0x21aaa7(0x228),this[_0x21aaa7(0x25b)][_0x21aaa7(0x251)](this)),this[_0x21aaa7(0x1bb)](this[_0x21aaa7(0x207)],_0x21aaa7(0x25d),(_0x3c3764,_0x46d28f)=>{const _0x2125e8=_0x21aaa7;this[_0x2125e8(0x1d1)](_0x2125e8(0x1e2),_0x46d28f);}),this[_0x21aaa7(0x1bb)](this[_0x21aaa7(0x207)],_0x21aaa7(0x277),()=>{const _0xdd7d71=_0x21aaa7;this[_0xdd7d71(0x28c)]=!0x1;});const _0x2b2fee=this[_0x21aaa7(0x200)][_0x21aaa7(0x1cc)](_0xace604);this[_0x21aaa7(0x1c2)]=!0x0;const _0x44ea09=await this[_0x21aaa7(0x207)][_0x21aaa7(0x24e)](_0x32b24d,this[_0x21aaa7(0x219)](_0xace604),_0x2b2fee);if(this[_0x21aaa7(0x1ac)]=_0x44ea09[_0x21aaa7(0x1ac)],_0xe37450){if(!_0x44ea09[_0x21aaa7(0x1c7)])return void this[_0x21aaa7(0x1c3)]();this[_0x21aaa7(0x1c2)]=!0x1,this[_0x21aaa7(0x1a8)](),this[_0x21aaa7(0x25a)][_0x21aaa7(0x1b1)](),this[_0x21aaa7(0x249)]=_0x44ea09[_0x21aaa7(0x1da)],this[_0x21aaa7(0x25a)][_0x21aaa7(0x211)]=this[_0x21aaa7(0x249)],await this[_0x21aaa7(0x1fd)](_0xace604,_0x44ea09,_0x21aaa7(0x273));}else await this[_0x21aaa7(0x218)](_0x44ea09,_0xace604);this[_0x21aaa7(0x233)](),this[_0x21aaa7(0x28c)]=!0x0;}[_0x3abe2c(0x233)](){const _0x83c22e=_0x3abe2c,_0x544ab6=this[_0x83c22e(0x21d)][_0x83c22e(0x1ba)][_0x83c22e(0x225)](_0x47403e),_0x1fe14b=this[_0x83c22e(0x21d)][_0x83c22e(0x1ba)][_0x83c22e(0x225)](_0x50211f),_0x548c2f=_0x544ab6[_0x83c22e(0x24c)][_0x83c22e(0x225)](this[_0x83c22e(0x1d0)]);_0x548c2f&&_0x548c2f[_0x83c22e(0x210)]>0x1?_0x1fe14b[_0x83c22e(0x29f)]():this[_0x83c22e(0x1bb)](_0x544ab6,_0x83c22e(0x1dc)+this[_0x83c22e(0x1d0)],()=>{const _0x405e6f=_0x83c22e;0x2===_0x544ab6[_0x405e6f(0x24c)][_0x405e6f(0x225)](this[_0x405e6f(0x1d0)])[_0x405e6f(0x210)]&&_0x1fe14b[_0x405e6f(0x29f)]();});}async[_0x3abe2c(0x25b)](_0xfd15d2,_0x3be768,_0x58f409,_0x495131){const _0x55a3c6=_0x3abe2c;if(!this[_0x55a3c6(0x1c2)]&&this[_0x55a3c6(0x24d)][_0x55a3c6(0x211)]==_0x3be768){const _0x99606=this[_0x55a3c6(0x297)](_0x58f409,_0x495131);await this[_0x55a3c6(0x2ab)](_0x99606),this[_0x55a3c6(0x25f)](_0x99606,_0x3be768,_0x58f409[_0x55a3c6(0x1f0)])||this[_0x55a3c6(0x1d1)](_0x55a3c6(0x206));}}async[_0x3abe2c(0x237)](){const _0x3cb8f4=_0x3abe2c;this[_0x3cb8f4(0x1ca)]();const {locale:_0x5abca2}=this[_0x3cb8f4(0x21d)];let _0x1a0668;try{_0x1a0668=await this[_0x3cb8f4(0x207)][_0x3cb8f4(0x29e)]();}catch{const _0x5391ad=_0x45734c(_0x5abca2,_0x3cb8f4(0x20d));return void this[_0x3cb8f4(0x1c3)](_0x5391ad);}const _0x10ddd2=_0x1a0668[_0x3cb8f4(0x1e7)]||_0x1a0668[_0x3cb8f4(0x1b7)];if(this[_0x3cb8f4(0x1fc)]!==_0x10ddd2[_0x3cb8f4(0x1f0)]){const _0x18d4cf=_0x45734c(_0x5abca2,_0x3cb8f4(0x239));return void this[_0x3cb8f4(0x1c3)](_0x18d4cf);}await this[_0x3cb8f4(0x1be)](this[_0x3cb8f4(0x21d)][_0x3cb8f4(0x234)][_0x3cb8f4(0x27e)][_0x3cb8f4(0x22c)][_0x3cb8f4(0x21a)](),!0x0);}[_0x3abe2c(0x1ca)](){const _0x109c01=_0x3abe2c;this[_0x109c01(0x207)][_0x109c01(0x271)](),this[_0x109c01(0x259)]=[],clearTimeout(this[_0x109c01(0x26a)]),this[_0x109c01(0x213)](this[_0x109c01(0x207)]);}[_0x3abe2c(0x269)](_0x369f9c){const _0x416f0a=_0x3abe2c,_0x4b17aa=this[_0x416f0a(0x21d)][_0x416f0a(0x1ba)][_0x416f0a(0x225)](_0x47403e);this[_0x416f0a(0x1bb)](_0x4b17aa,_0x416f0a(0x1dc)+this[_0x416f0a(0x1d0)],(_0x366dc6,{session:_0xe9d8b3})=>{const _0x5c9ce2=_0x416f0a;if(_0xe9d8b3['id']===_0x4b17aa[_0x5c9ce2(0x287)]){_0x366dc6[_0x5c9ce2(0x1c5)]();const _0x19c2e7=this[_0x5c9ce2(0x21d)][_0x5c9ce2(0x1ba)][_0x5c9ce2(0x20b)](_0x5c9ce2(0x270))&&this[_0x5c9ce2(0x21d)][_0x5c9ce2(0x1ba)][_0x5c9ce2(0x225)](_0x5c9ce2(0x270));let _0x23f32a=_0xe9d8b3[_0x5c9ce2(0x204)];_0x19c2e7&&_0x19c2e7[_0x5c9ce2(0x243)]&&(_0x23f32a=_0x23f32a[_0x5c9ce2(0x28f)](_0x30be11=>_0x5c9ce2(0x275)!==_0x30be11)),this[_0x5c9ce2(0x21d)][_0x5c9ce2(0x1ba)][_0x5c9ce2(0x225)](_0x5c9ce2(0x29c))[_0x5c9ce2(0x24f)](_0x23f32a,this[_0x5c9ce2(0x1d0)]);}}),_0x4b17aa[_0x416f0a(0x1d4)](this[_0x416f0a(0x1d0)],_0x369f9c);}[_0x3abe2c(0x289)](){const _0x41efa8=_0x3abe2c,_0x1dbffe=this[_0x41efa8(0x21d)][_0x41efa8(0x24a)][_0x41efa8(0x2a8)];this[_0x41efa8(0x21d)][_0x41efa8(0x24a)][_0x41efa8(0x2a8)]=(..._0x50f18a)=>{const _0x2bfa28=_0x41efa8;if(!_0x50f18a[_0x50f18a[_0x2bfa28(0x210)]-0x1][_0x2bfa28(0x217)])throw new _0x439548(_0x2bfa28(0x1d5),this);_0x1dbffe[_0x2bfa28(0x245)](this[_0x2bfa28(0x21d)][_0x2bfa28(0x24a)],_0x50f18a);};}[_0x3abe2c(0x293)](){const _0x2b8182=_0x3abe2c;this[_0x2b8182(0x21d)][_0x2b8182(0x24a)]['on'](_0x2b8182(0x250),(_0x5d8c8c,[_0x5968d6])=>{const _0x3dca9a=_0x2b8182;if(this[_0x3dca9a(0x24d)][_0x3dca9a(0x211)])throw new _0x439548(_0x3dca9a(0x27d),this);_0x5d8c8c[_0x3dca9a(0x20e)](),this[_0x3dca9a(0x288)]();const _0x478937=this[_0x3dca9a(0x21d)][_0x3dca9a(0x229)][_0x3dca9a(0x225)](_0x3dca9a(0x1db)),_0x31959c=this[_0x3dca9a(0x23b)](_0x5968d6,_0x478937);0x0==_0x31959c[_0x3dca9a(0x210)]&&_0x31959c[_0x3dca9a(0x25e)](new _0x3b9292(0x0)),_0x5d8c8c[_0x3dca9a(0x240)]=this[_0x3dca9a(0x1be)](_0x31959c)[_0x3dca9a(0x1f5)](()=>{const _0x145cff=_0x3dca9a;this[_0x145cff(0x21d)][_0x145cff(0x1ba)][_0x145cff(0x225)](_0x5c43bc)[_0x145cff(0x1b2)](this),this[_0x145cff(0x21d)][_0x145cff(0x24a)][_0x145cff(0x285)](_0x145cff(0x24b));})[_0x3dca9a(0x1e3)](_0x40071f=>this[_0x3dca9a(0x1d1)](_0x3dca9a(0x1d3),_0x40071f))[_0x3dca9a(0x296)](()=>this[_0x3dca9a(0x1a8)]());},{'priority':_0x2b8182(0x23d)}),this[_0x2b8182(0x21d)]['on'](_0x2b8182(0x247),async(_0x53ee5d,[_0x246300,_0x2d6cca])=>{const _0x21c3f2=_0x2b8182;_0x53ee5d[_0x21c3f2(0x20e)]();const _0x241303=this[_0x21c3f2(0x21d)][_0x21c3f2(0x234)][_0x21c3f2(0x27e)][_0x21c3f2(0x22a)](_0x246300);if(!this[_0x21c3f2(0x28d)][_0x21c3f2(0x20b)](_0x246300)){const _0x12a3c1=_0x2d6cca&&_0x2d6cca[_0x21c3f2(0x24a)]?_0x2d6cca[_0x21c3f2(0x24a)]:'',_0x302613=_0x2d6cca&&_0x2d6cca[_0x21c3f2(0x284)]?_0x2d6cca[_0x21c3f2(0x284)]:{};await this[_0x21c3f2(0x28a)](_0x246300,_0x12a3c1,_0x302613);}this[_0x21c3f2(0x21d)][_0x21c3f2(0x234)][_0x21c3f2(0x258)]({'isUndoable':!0x1},()=>{const _0x1eb596=_0x21c3f2;_0x241303[_0x1eb596(0x1e1)]=!0x0,this[_0x1eb596(0x21d)][_0x1eb596(0x234)][_0x1eb596(0x27e)][_0x1eb596(0x223)][_0x1eb596(0x2ae)](_0x241303);});},{'priority':_0x2b8182(0x23d)});}async[_0x3abe2c(0x2ab)](_0x13cd3d){const _0x3a2d7a=_0x3abe2c,_0x5dca63=this[_0x3a2d7a(0x21d)][_0x3a2d7a(0x1ba)][_0x3a2d7a(0x225)](_0x2ed45e),{connection:_0x3aa1b4}=this[_0x3a2d7a(0x21d)][_0x3a2d7a(0x1ba)][_0x3a2d7a(0x225)](_0x5c43bc),_0x1eb301=new Set();for(const _0x5d4b4a of _0x13cd3d){const _0x2e84fc=_0x5d4b4a[_0x3a2d7a(0x1b5)];_0x2e84fc&&!_0x5dca63[_0x3a2d7a(0x1f2)](_0x2e84fc)&&_0x1eb301[_0x3a2d7a(0x1bd)](_0x2e84fc);}if(0x0===_0x1eb301[_0x3a2d7a(0x292)])return;const _0x57373a=await _0x53b797[_0x3a2d7a(0x2a0)](_0x3aa1b4,Array[_0x3a2d7a(0x21b)](_0x1eb301));for(const _0x16c319 of _0x57373a)_0x5dca63[_0x3a2d7a(0x1f2)](_0x16c319['id'])||_0x5dca63[_0x3a2d7a(0x2a2)](_0x16c319);}[_0x3abe2c(0x23b)](_0x5bfca8,_0x1fc850={}){const _0x153ef2=_0x3abe2c,_0x3728d7=this[_0x153ef2(0x21d)][_0x153ef2(0x234)],_0x890649=[];let _0x581f3b=0x0;const _0x5d2754=_0x153ef2(0x215)==typeof _0x5bfca8?{'main':_0x5bfca8}:_0x5bfca8;for(const _0x177e81 of Object[_0x153ef2(0x222)](_0x5d2754)){if(!this[_0x153ef2(0x24d)][_0x153ef2(0x212)][_0x153ef2(0x20b)](_0x177e81))throw new _0x439548(_0x153ef2(0x246),this);const _0x181f9d=this[_0x153ef2(0x21d)][_0x153ef2(0x24a)][_0x153ef2(0x1fb)](_0x5d2754[_0x177e81]),_0x195d13=this[_0x153ef2(0x24d)][_0x153ef2(0x22a)](_0x177e81),_0x5dee7e=new _0x1ea9ed(_0x3728d7[_0x153ef2(0x1ab)](_0x195d13,0x0),_0x181f9d,_0x581f3b++);_0x890649[_0x153ef2(0x25e)](_0x5dee7e);for(const [_0x2cbc63,_0x126ee9]of _0x181f9d[_0x153ef2(0x1c8)]){const _0xeb62b5=_0x3728d7[_0x153ef2(0x286)](_0x3728d7[_0x153ef2(0x2ac)](_0x195d13,_0x126ee9[_0x153ef2(0x26d)][_0x153ef2(0x1ef)][_0x153ef2(0x1cf)]()),_0x3728d7[_0x153ef2(0x2ac)](_0x195d13,_0x126ee9[_0x153ef2(0x1d6)][_0x153ef2(0x1ef)][_0x153ef2(0x1cf)]())),_0xa8e87f=new _0x5ea9ef(_0x2cbc63,null,_0xeb62b5,_0x3728d7[_0x153ef2(0x1c8)],!0x0,_0x581f3b++);_0x890649[_0x153ef2(0x25e)](_0xa8e87f);}}if(_0x1fc850)for(const [_0x58298f,_0x5bc727]of Object[_0x153ef2(0x1bf)](_0x1fc850)){const _0x132a91=_0x3728d7[_0x153ef2(0x27e)][_0x153ef2(0x22a)](_0x58298f);if(!_0x132a91)throw new _0x439548(_0x153ef2(0x1cd),null);for(const [_0xfaa17e,_0x3cb1e6]of Object[_0x153ef2(0x1bf)](_0x5bc727))if(null!==_0x3cb1e6){const _0x48d1b7=new _0x2d80ce(_0x132a91,_0xfaa17e,null,_0x3cb1e6,_0x581f3b++);_0x890649[_0x153ef2(0x25e)](_0x48d1b7);}}return _0x890649;}async[_0x3abe2c(0x28a)](_0x112b7a,_0x2a30f1,_0x4319a0){const _0x19bdee=_0x3abe2c;this[_0x19bdee(0x23b)]({[_0x112b7a]:_0x2a30f1},{[_0x112b7a]:_0x4319a0})[_0x19bdee(0x274)]((_0x2267b9,_0x35c1b8)=>{const _0x172d74=_0x19bdee;_0x2267b9[_0x172d74(0x265)]=this[_0x172d74(0x24d)][_0x172d74(0x211)]+_0x35c1b8,_0x2267b9[_0x172d74(0x1c0)]=!0x0,this[_0x172d74(0x260)](_0x2267b9);}),this[_0x19bdee(0x21f)](),await this[_0x19bdee(0x1e8)]();}async[_0x3abe2c(0x218)](_0x19e050,_0x52355a){const _0x33f2d9=_0x3abe2c;let _0x149a77;this[_0x33f2d9(0x249)]=_0x19e050[_0x33f2d9(0x1da)];const _0x288b5b=_0x19e050[_0x33f2d9(0x1c7)]&&!_0x19e050[_0x33f2d9(0x2a6)],_0x525148=_0x288b5b?0x0:_0x19e050[_0x33f2d9(0x24a)][_0x33f2d9(0x265)];if(_0x52355a[_0x33f2d9(0x274)](_0x1b400e=>{const _0x3bbbd5=_0x33f2d9;_0x1b400e[_0x3bbbd5(0x1c0)]=!0x0,_0x1b400e[_0x3bbbd5(0x205)]=_0x19e050[_0x3bbbd5(0x257)],_0x1b400e[_0x3bbbd5(0x1b5)]=null;}),_0x288b5b)_0x149a77=_0x52355a,this[_0x33f2d9(0x1d8)](_0x149a77,_0x288b5b);else{if(_0x19e050[_0x33f2d9(0x2a6)]){const _0x39a089=this[_0x33f2d9(0x23b)](_0x19e050[_0x33f2d9(0x2a6)]);this[_0x33f2d9(0x24d)][_0x33f2d9(0x22c)][_0x33f2d9(0x211)]=-_0x39a089[_0x33f2d9(0x210)],_0x39a089[_0x33f2d9(0x274)](_0x34b2e7=>{const _0x565c79=_0x33f2d9;_0x34b2e7[_0x565c79(0x265)]-=_0x39a089[_0x565c79(0x210)],_0x34b2e7[_0x565c79(0x205)]=_0x19e050[_0x565c79(0x257)],_0x34b2e7[_0x565c79(0x1c0)]=!0x0,_0x34b2e7[_0x565c79(0x1b5)]=null;}),this[_0x33f2d9(0x1d8)](_0x39a089,!0x0),this[_0x33f2d9(0x25a)][_0x33f2d9(0x211)]=-_0x39a089[_0x33f2d9(0x210)]+this[_0x33f2d9(0x249)],this[_0x33f2d9(0x255)](_0x39a089);}this[_0x33f2d9(0x24d)][_0x33f2d9(0x22c)][_0x33f2d9(0x211)]=_0x525148,_0x149a77=this[_0x33f2d9(0x297)](_0x19e050[_0x33f2d9(0x24a)],_0x19e050[_0x33f2d9(0x230)]),await this[_0x33f2d9(0x2ab)](_0x149a77),this[_0x33f2d9(0x1d8)](_0x149a77,_0x288b5b);}_0x19e050[_0x33f2d9(0x1f0)]&&(this[_0x33f2d9(0x200)][_0x33f2d9(0x1f7)](_0x149a77,_0x19e050[_0x33f2d9(0x1f0)]),this[_0x33f2d9(0x1fc)]=_0x19e050[_0x33f2d9(0x1f0)]),this[_0x33f2d9(0x25a)][_0x33f2d9(0x211)]=_0x525148+this[_0x33f2d9(0x249)],this[_0x33f2d9(0x255)](_0x149a77),_0x52355a[_0x33f2d9(0x28f)](_0x1610a5=>{const _0x3bc182=_0x33f2d9,_0x2d3d6f=this[_0x3bc182(0x1f3)](_0x1610a5);return _0x2d3d6f&&!this[_0x3bc182(0x28d)][_0x3bc182(0x20b)](_0x2d3d6f);})[_0x33f2d9(0x274)]((_0xd68e7d,_0x40568a)=>{const _0x8b5147=_0x33f2d9;_0xd68e7d[_0x8b5147(0x265)]=this[_0x8b5147(0x24d)][_0x8b5147(0x211)]+_0x40568a,this[_0x8b5147(0x260)](_0xd68e7d);}),this[_0x33f2d9(0x20f)]()?(this[_0x33f2d9(0x280)]=0x0,this[_0x33f2d9(0x21f)](!0x0),await this[_0x33f2d9(0x1e8)]()):(this[_0x33f2d9(0x1c2)]=!0x1,this[_0x33f2d9(0x1a8)]());}[_0x3abe2c(0x1d1)](_0x34a4c7,_0xc8a367){const _0x115548=_0x3abe2c,_0x271c9f=_0xc8a367&&_0xc8a367[_0x115548(0x299)];if(_0x271c9f&&_0x271c9f[_0x115548(0x1d2)](_0x115548(0x216)))throw _0xc8a367;const _0x1716af=this[_0x115548(0x21d)][_0x115548(0x1ba)][_0x115548(0x225)](_0x5c43bc);throw this[_0x115548(0x1c2)]=!0x0,_0x1716af[_0x115548(0x271)](),this[_0x115548(0x21d)][_0x115548(0x2a1)](_0x115548(0x1fe)),new _0x439548(_0x34a4c7,this[_0x115548(0x21d)],_0x271c9f?{'originalError':_0x271c9f}:void 0x0);}[_0x3abe2c(0x260)](_0x253d79){const _0x1a7e74=_0x3abe2c;this[_0x1a7e74(0x227)][_0x1a7e74(0x20b)](_0x253d79)||(this[_0x1a7e74(0x227)][_0x1a7e74(0x1bd)](_0x253d79),this[_0x1a7e74(0x259)][_0x1a7e74(0x25e)](_0x253d79),this[_0x1a7e74(0x238)]||_0x1a7e74(0x29a)==_0x253d79[_0x1a7e74(0x276)]&&!_0x253d79[_0x1a7e74(0x25c)]||this[_0x1a7e74(0x288)]());}[_0x3abe2c(0x21f)](_0x482777=!0x1){const _0x122a54=_0x3abe2c;!_0x482777&&this[_0x122a54(0x1c2)]||(this[_0x122a54(0x1c2)]=!0x0,clearTimeout(this[_0x122a54(0x26a)]),this[_0x122a54(0x26a)]=setTimeout(()=>{const _0xe75b4d=_0x122a54;this[_0xe75b4d(0x1b6)]()[_0xe75b4d(0x1f5)](_0x22be92=>{const _0x5a0f09=_0xe75b4d;_0x22be92&&(this[_0x5a0f09(0x1a8)](),this[_0x5a0f09(0x1c2)]=!0x1);})[_0xe75b4d(0x1e3)](_0x501e66=>{const _0x5a5268=_0xe75b4d;this[_0x5a5268(0x1a8)](),this[_0x5a5268(0x1c2)]=!0x1,function(_0x1a513d){const _0x2b0847=_0x5a5268;return _0x1a513d[_0x2b0847(0x299)][_0x2b0847(0x1d2)](_0x2b0847(0x235))||_0x1a513d[_0x2b0847(0x299)][_0x2b0847(0x1d2)](_0x2b0847(0x2a4))||_0x1a513d[_0x2b0847(0x299)][_0x2b0847(0x1d2)](_0x2b0847(0x298));}(_0x501e66)||this[_0x5a5268(0x1d1)](_0x501e66[_0x5a5268(0x299)],_0x501e66);});},this[_0x122a54(0x280)]));}[_0x3abe2c(0x1e8)](){return new Promise(_0x4bb30b=>{const _0x3da690=_0xb3cd;this['on'](_0x3da690(0x23c),()=>{_0x4bb30b();});});}async[_0x3abe2c(0x1b6)](){const _0x1ea39f=_0x3abe2c,_0x2d52f4=this[_0x1ea39f(0x21d)][_0x1ea39f(0x1ba)][_0x1ea39f(0x225)](_0x50211f);if(this[_0x1ea39f(0x1aa)]()&&(_0x2d52f4[_0x1ea39f(0x29f)](),this[_0x1ea39f(0x1ec)]=!0x1),!this[_0x1ea39f(0x20f)]())return!0x0;const _0x529f99=[...this[_0x1ea39f(0x259)]];for(const _0x3bac74 of _0x529f99)_0x3bac74[_0x1ea39f(0x1f6)]=this[_0x1ea39f(0x24d)][_0x1ea39f(0x22c)][_0x1ea39f(0x22d)](_0x3bac74);const _0x3b501a=this[_0x1ea39f(0x200)][_0x1ea39f(0x1cc)](_0x529f99),_0x449679=Q++,_0x3c9358=this[_0x1ea39f(0x219)](_0x529f99),_0x14766d=await this[_0x1ea39f(0x207)][_0x1ea39f(0x256)](_0x3c9358,_0x3c9358[_0x1ea39f(0x265)],_0x3b501a);try{return await this[_0x1ea39f(0x1fd)](_0x529f99,_0x14766d,_0x449679);}catch(_0x3c83cc){return this[_0x1ea39f(0x1d1)](_0x1ea39f(0x1ce),_0x3c83cc);}}async[_0x3abe2c(0x1fd)](_0x512c39,_0x4286c8,_0x32336a){const _0x2046a1=_0x3abe2c;if(_0x2046a1(0x25d)in _0x4286c8)throw _0x4286c8[_0x2046a1(0x25d)];let _0x37c489=!0x1;if(_0x4286c8[_0x2046a1(0x1c7)]){_0x4286c8[_0x2046a1(0x1f0)]&&(this[_0x2046a1(0x1fc)]=_0x4286c8[_0x2046a1(0x1f0)]),this[_0x2046a1(0x259)]=this[_0x2046a1(0x259)][_0x2046a1(0x28f)](_0x59b3b2=>!_0x512c39[_0x2046a1(0x1ff)](_0x59b3b2));for(const _0x3af3b9 of _0x512c39)_0x3af3b9[_0x2046a1(0x205)]=_0x2046a1(0x1bc)in _0x4286c8&&_0x4286c8[_0x2046a1(0x1bc)]||void 0x0;Y(_0x512c39,_0x4286c8[_0x2046a1(0x211)]-_0x512c39[_0x2046a1(0x210)]),this[_0x2046a1(0x255)](_0x512c39);const _0x30ba8c=_0x512c39[_0x2046a1(0x28f)](_0x17c1ae=>{const _0x5c4d64=_0x2046a1;if(!_0x17c1ae[_0x5c4d64(0x1c0)])return!0x1;const _0x904ca7=this[_0x5c4d64(0x1f3)](_0x17c1ae);return _0x904ca7&&!this[_0x5c4d64(0x28d)][_0x5c4d64(0x20b)](_0x904ca7);});Y(_0x30ba8c,this[_0x2046a1(0x24d)][_0x2046a1(0x211)]),this[_0x2046a1(0x1d8)](_0x30ba8c),_0x37c489=!0x0,this[_0x2046a1(0x280)]=this[_0x2046a1(0x1dd)];}else{const _0x4d25dd=this[_0x2046a1(0x297)](_0x4286c8[_0x2046a1(0x24a)],_0x4286c8[_0x2046a1(0x230)])[_0x2046a1(0x28f)](_0x3d67f=>_0x3d67f[_0x2046a1(0x265)]>=this[_0x2046a1(0x1e6)]);_0x4d25dd[_0x2046a1(0x274)](_0x551c91=>this[_0x2046a1(0x26c)](_0x551c91)),this[_0x2046a1(0x259)]=this[_0x2046a1(0x259)][_0x2046a1(0x28f)](_0x11be6f=>!_0x11be6f[_0x2046a1(0x1c0)]||!this[_0x2046a1(0x28d)][_0x2046a1(0x20b)](this[_0x2046a1(0x1f3)](_0x11be6f))),this[_0x2046a1(0x259)][_0x2046a1(0x210)]&&Y(this[_0x2046a1(0x259)],this[_0x2046a1(0x259)][0x0][_0x2046a1(0x265)]),await this[_0x2046a1(0x2ab)](_0x4d25dd),_0x37c489=this[_0x2046a1(0x25f)](_0x4d25dd,_0x4286c8[_0x2046a1(0x211)],_0x4286c8[_0x2046a1(0x1f0)]),this[_0x2046a1(0x280)]=Math[_0x2046a1(0x1af)](this[_0x2046a1(0x280)]/0x2);}return _0x37c489?!this[_0x2046a1(0x20f)]()||(this[_0x2046a1(0x21f)](!0x0),!0x1):this[_0x2046a1(0x1d1)](_0x2046a1(0x1e0));}[_0x3abe2c(0x25f)](_0x4cbaf6,_0x523b89,_0x1bf94b){const _0x154437=_0x3abe2c;try{const _0x2ab2ff={'document':this[_0x154437(0x24d)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1bbedf,operationsB:_0x1f1f27,originalOperations:_0x29bf81}=_0xde2f7b(_0x4cbaf6,this[_0x154437(0x259)],_0x2ab2ff);Y(_0x1bbedf,this[_0x154437(0x24d)][_0x154437(0x211)]),Y(_0x1f1f27,_0x523b89);for(const _0x3be4f3 of _0x1bbedf){const _0x2a7812=_0x29bf81[_0x154437(0x225)](_0x3be4f3);_0x3be4f3[_0x154437(0x1b5)]=_0x2a7812?_0x2a7812[_0x154437(0x1b5)]:null;}_0x1bf94b&&(this[_0x154437(0x200)][_0x154437(0x1f7)](_0x4cbaf6,_0x1bf94b),this[_0x154437(0x1fc)]=_0x1bf94b),this[_0x154437(0x259)]=[..._0x1f1f27],this[_0x154437(0x1d8)](_0x1bbedf),this[_0x154437(0x255)](_0x4cbaf6);}catch(_0x4f455e){return console[_0x154437(0x25d)](_0x4f455e),!0x1;}return!0x0;}[_0x3abe2c(0x1d8)](_0x3a7882,_0x145fb2=!0x1){const _0x1f6299=_0x3abe2c;this[_0x1f6299(0x21d)][_0x1f6299(0x234)][_0x1f6299(0x258)]({'isUndoable':!0x1,'isLocal':!0x1},_0x55351e=>{const _0x5b9a04=_0x1f6299;for(const _0x2c8ab8 of _0x3a7882)this[_0x5b9a04(0x227)][_0x5b9a04(0x1bd)](_0x2c8ab8),this[_0x5b9a04(0x26c)](_0x2c8ab8),_0x55351e[_0x5b9a04(0x208)][_0x5b9a04(0x2a9)](_0x2c8ab8),this[_0x5b9a04(0x21d)][_0x5b9a04(0x234)][_0x5b9a04(0x241)](_0x2c8ab8);});}[_0x3abe2c(0x26c)](_0x4c3725){const _0x2cb91c=_0x3abe2c,_0x5bbdeb=this[_0x2cb91c(0x1f3)](_0x4c3725);_0x5bbdeb&&this[_0x2cb91c(0x28d)][_0x2cb91c(0x1bd)](_0x5bbdeb);}[_0x3abe2c(0x1f3)](_0x2bc86d){const _0x100ae4=_0x3abe2c;let _0x2427f1,_0x2e7574;switch(_0x2bc86d[_0x100ae4(0x276)]){case _0x100ae4(0x23e):_0x2427f1=_0x2bc86d[_0x100ae4(0x29d)][_0x100ae4(0x221)];break;case _0x100ae4(0x29a):if(_0x2e7574=_0x2bc86d[_0x100ae4(0x224)],!_0x2e7574)return null;_0x2427f1=_0x2e7574[_0x100ae4(0x221)];break;case _0x100ae4(0x1ea):_0x2427f1=_0x2bc86d[_0x100ae4(0x221)];break;case _0x100ae4(0x1ae):_0x2427f1=_0x2bc86d[_0x100ae4(0x1b9)];break;case _0x100ae4(0x1b8):_0x2427f1=_0x2bc86d[_0x100ae4(0x2a5)][_0x100ae4(0x221)];break;default:return null;}return _0x2427f1[_0x100ae4(0x236)];}[_0x3abe2c(0x255)](_0xd36cf6){const _0x39fab0=_0x3abe2c;_0xd36cf6[_0x39fab0(0x274)](_0x55dcdb=>{const _0x49ab8a=_0x39fab0,_0x211e65=_0x55dcdb[_0x49ab8a(0x1cb)]();_0x211e65[_0x49ab8a(0x1b5)]=_0x55dcdb[_0x49ab8a(0x1b5)],_0x211e65[_0x49ab8a(0x1c0)]=!!_0x55dcdb[_0x49ab8a(0x1c0)],_0x211e65[_0x49ab8a(0x205)]=_0x55dcdb[_0x49ab8a(0x205)],_0x211e65[_0x49ab8a(0x265)]+=this[_0x49ab8a(0x249)],_0x55dcdb[_0x49ab8a(0x28b)]&&this[_0x49ab8a(0x242)][_0x49ab8a(0x1bd)](_0x211e65),this[_0x49ab8a(0x25a)][_0x49ab8a(0x2a9)](_0x211e65);});}[_0x3abe2c(0x1c3)](_0x1435cc){const _0x538d25=_0x3abe2c,_0x38e9bf=this[_0x538d25(0x21d)][_0x538d25(0x1ba)][_0x538d25(0x225)](_0x538d25(0x1e5)),_0x44d2e0=this[_0x538d25(0x21d)][_0x538d25(0x1c6)];_0x1435cc||(_0x1435cc=_0x45734c(_0x44d2e0,_0x538d25(0x27f))),_0x38e9bf[_0x538d25(0x1f4)](_0x1435cc,{'title':_0x45734c(_0x44d2e0,_0x538d25(0x2a7)),'namespace':_0x538d25(0x2ad)}),this[_0x538d25(0x261)]=!0x0,clearTimeout(this[_0x538d25(0x26a)]),this[_0x538d25(0x259)]=[],this[_0x538d25(0x21d)][_0x538d25(0x1ba)][_0x538d25(0x225)](_0x5c43bc)[_0x538d25(0x271)]();}[_0x3abe2c(0x288)](){const _0x276a5f=_0x3abe2c;this[_0x276a5f(0x238)]||(this[_0x276a5f(0x238)]=this[_0x276a5f(0x21d)][_0x276a5f(0x1ba)][_0x276a5f(0x225)](_0x23aa24)[_0x276a5f(0x1bd)](_0x45734c(this[_0x276a5f(0x21d)][_0x276a5f(0x1c6)],_0x276a5f(0x281))));}[_0x3abe2c(0x1a8)](){const _0x3558e4=_0x3abe2c;this[_0x3558e4(0x238)]&&(this[_0x3558e4(0x21d)][_0x3558e4(0x1ba)][_0x3558e4(0x225)](_0x23aa24)[_0x3558e4(0x263)](this[_0x3558e4(0x238)]),this[_0x3558e4(0x238)]=null);}[_0x3abe2c(0x219)](_0x438a2f){const _0x282a5a=_0x3abe2c,_0xb1fc86=_0x438a2f[_0x282a5a(0x1b3)](_0x36445a=>_0x36445a[_0x282a5a(0x268)]());return this[_0x282a5a(0x1f1)][_0x282a5a(0x1ee)](_0xb1fc86);}[_0x3abe2c(0x297)](_0x54abc0,_0x16204f){const _0x473e80=_0x3abe2c;return this[_0x473e80(0x1f1)][_0x473e80(0x262)](_0x54abc0)[_0x473e80(0x1b3)]((_0x285795,_0x3b83f9)=>{const _0x54b70c=_0x473e80,_0x1b4389=_0x54b70c(0x250)==_0x16204f[_0x3b83f9][_0x54b70c(0x276)];if(_0x54b70c(0x1ad)==_0x285795[_0x54b70c(0x203)]){const _0x193b0f=_0x285795[_0x54b70c(0x29d)][_0x54b70c(0x221)];!this[_0x54b70c(0x24d)][_0x54b70c(0x22a)](_0x193b0f)&&(this[_0x54b70c(0x24d)][_0x54b70c(0x2aa)](_0x54b70c(0x1d7),_0x193b0f)[_0x54b70c(0x21e)]=!0x1);}const _0x367803=_0x5c3a24[_0x54b70c(0x1f8)](_0x285795,this[_0x54b70c(0x24d)]);return _0x367803[_0x54b70c(0x1f6)]=_0x285795[_0x54b70c(0x1f6)],_0x367803[_0x54b70c(0x1c0)]=_0x1b4389,_0x367803[_0x54b70c(0x1b5)]=_0x1b4389?null:_0x16204f[_0x3b83f9][_0x54b70c(0x231)],_0x367803[_0x54b70c(0x28b)]=_0x54b70c(0x279)===_0x16204f[_0x3b83f9][_0x54b70c(0x276)],_0x367803[_0x54b70c(0x205)]=_0x16204f[_0x3b83f9][_0x54b70c(0x205)],_0x367803;});}[_0x3abe2c(0x29b)](){const _0x3dced3=_0x3abe2c;this[_0x3dced3(0x1ec)]=!0x0,this[_0x3dced3(0x1aa)]()?this[_0x3dced3(0x21f)]():this[_0x3dced3(0x1ec)]=!0x1;}[_0x3abe2c(0x1aa)](){const _0x490564=_0x3abe2c,_0x19a49a=this[_0x490564(0x21d)][_0x490564(0x1ba)][_0x490564(0x225)](_0x47403e)[_0x490564(0x24c)][_0x490564(0x225)](this[_0x490564(0x1d0)]);return!this[_0x490564(0x21d)][_0x490564(0x27b)]&&!!_0x19a49a&&_0x19a49a[_0x490564(0x210)]>0x1&&this[_0x490564(0x1ec)];}[_0x3abe2c(0x20f)](){const _0x3f69e8=_0x3abe2c;return this[_0x3f69e8(0x259)][_0x3f69e8(0x210)]>0x0||this[_0x3f69e8(0x1aa)]();}}export{l as RealTimeCollaborationClient};class X extends Error{}function Y(_0x50c89a,_0x2ef787){const _0x403fb7=_0x3abe2c;for(const _0x3a5eb4 of _0x50c89a)_0x3a5eb4[_0x403fb7(0x265)]=_0x2ef787++;}class Z{[_0x3abe2c(0x283)];[_0x3abe2c(0x220)];constructor(_0x301db3){const _0x44033a=_0x3abe2c;this[_0x44033a(0x283)]=_0x301db3,this[_0x44033a(0x220)]=new WeakMap();}[_0x3abe2c(0x1cc)](_0x5939ec){const _0x2480e7=_0x3abe2c;let _0x3f3140=_0x5939ec[_0x2480e7(0x210)];for(;_0x3f3140--;){const _0x2682d1=_0x5939ec[_0x3f3140];if(!this[_0x2480e7(0x283)][_0x2480e7(0x20b)](_0x2682d1)){if(!this[_0x2480e7(0x220)][_0x2480e7(0x20b)](_0x2682d1)){const _0x3c2916=_0x4feefc()[_0x2480e7(0x1cf)](0x1,0x12);this[_0x2480e7(0x220)][_0x2480e7(0x2a8)](_0x2682d1,_0x3c2916);}return this[_0x2480e7(0x220)][_0x2480e7(0x225)](_0x2682d1);}}}[_0x3abe2c(0x1f7)](_0x847837,_0x1ce17d){const _0x51ace6=_0x3abe2c;if(!_0x1ce17d)return;let _0x4d12d6=_0x847837[_0x51ace6(0x210)];for(;_0x4d12d6--;){const _0x30a6c2=_0x847837[_0x4d12d6];this[_0x51ace6(0x283)][_0x51ace6(0x20b)](_0x30a6c2)||this[_0x51ace6(0x220)][_0x51ace6(0x2a8)](_0x30a6c2,_0x1ce17d);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4bc435=_0x2a79;(function(_0x2b1e66,_0x5ec2cc){const _0x39f39c=_0x2a79,_0xdf7b07=_0x2b1e66();while(!![]){try{const _0x5f07ca=parseInt(_0x39f39c(0xef))/0x1*(-parseInt(_0x39f39c(0xae))/0x2)+-parseInt(_0x39f39c(0x10c))/0x3*(parseInt(_0x39f39c(0xe9))/0x4)+parseInt(_0x39f39c(0xfb))/0x5+-parseInt(_0x39f39c(0xab))/0x6+parseInt(_0x39f39c(0xb1))/0x7*(parseInt(_0x39f39c(0x113))/0x8)+parseInt(_0x39f39c(0xed))/0x9+parseInt(_0x39f39c(0xad))/0xa*(parseInt(_0x39f39c(0xc1))/0xb);if(_0x5f07ca===_0x5ec2cc)break;else _0xdf7b07['push'](_0xdf7b07['shift']());}catch(_0x124b58){_0xdf7b07['push'](_0xdf7b07['shift']());}}}(_0xa79f,0x65597));function _0x2a79(_0x40369b,_0x2c2451){const _0xa79fa3=_0xa79f();return _0x2a79=function(_0x2a7992,_0x351ada){_0x2a7992=_0x2a7992-0x9e;let _0x3d88ab=_0xa79fa3[_0x2a7992];return _0x3d88ab;},_0x2a79(_0x40369b,_0x2c2451);}function _0xa79f(){const _0x5baa00=['newRange','Escape','getPositions','isLimit','innerHTML','nodeAfter','spellcheck','orderNumber','rootName','$graveyard','ck-user__marker-tooltip','mouseenter','updateMarker','3608580gCdrVJ','getStart','610OhgQKS','40146xMkWam','markerToElement','hasContent','4592oZckYe','isDocumentOperation','getRange','for','data-session-id','destroy','plugins','pluginName','UserMarkers','change','fromRange','ck-user__marker\x20','view','removeMarker','color','toRange','198363Zofeak','end','markerToHighlight','addEventListener','textContent','add','isSimilar','highest','reconvertMarker','isObject','stopListening','hasDomSelection','getAttribute','createElement','editor','parent','set','marker','start','update:user:range','checkChild','render','commands','schema','tableCell','deletionPosition','requires','getMarkerClass','batch','enqueueChange','afterInit','change:range','createUserMarkerOperations','getNearestSelectionRange','keydown','addMarker','size','startsWith','ck-user__marker_hovered','markerRange','97524qQbtoT','userPositionMarker','root','undo','409518fQSfLE','getUserBySessionId','18vCSHlh','markerNameToElements','createUIElement','element','listenTo','getSelectionClass','removeClass','oldRange','remove','span','$text','contenteditable','633680BUxvrW','toDomElement','_createdBatches','setCustomProperty','setAttribute','editing','ck-user__selection','getCustomProperty','user:','conversion','user:position','init','model','markerName','createRange','editingDowncast','selection','36qrqnEk','type','mouseleave','delete','_domEmitter','isInline','user:range:','4856gRIQOH','getContainedElement','user:range','name','getFirstRange','isOfficialPlugin','isPremiumPlugin','detach','classList','applyOperation','mySessionId','isCollapsed','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','mapper','false','document','has','get','clear','split','user:position:','outerHTML','markers'];_0xa79f=function(){return _0x5baa00;};return _0xa79f();}import{Plugin as _0x4f7945}from'ckeditor5/src/core.js';import{global as _0x35c56a,DomEmitterMixin as _0x23f6ab}from'ckeditor5/src/utils.js';import{Sessions as _0x5e84f6}from'./sessions.js';import{ModelLiveRange as _0x1b5a24}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x4f7945{[_0x4bc435(0x110)]=new(_0x23f6ab())();static get[_0x4bc435(0xdb)](){return[_0x5e84f6];}static get[_0x4bc435(0xb8)](){const _0x56ceb0=_0x4bc435;return _0x56ceb0(0xb9);}static get[_0x4bc435(0x118)](){return!0x0;}static get[_0x4bc435(0x119)](){return!0x0;}[_0x4bc435(0x106)](){const _0x5b0d24=_0x4bc435,_0xadeeb9=this[_0x5b0d24(0xcf)],_0x4f549a=_0xadeeb9[_0x5b0d24(0xb7)][_0x5b0d24(0x124)](_0x5e84f6);_0xadeeb9[_0x5b0d24(0x104)][_0x5b0d24(0xb4)](_0x5b0d24(0x10a))[_0x5b0d24(0xaf)]({'model':_0x5b0d24(0x105),'view':(_0x2ecb44,{writer:_0x268fe1})=>function(_0x2b2c7c,_0x5cefbd,_0x2c4bbc,_0x3e30de){const _0x29eba3=_0x5b0d24,_0x503526=_0x2b2c7c[_0x29eba3(0x108)][_0x29eba3(0x126)](':')[0x2],_0xc52e96=_0x2c4bbc[_0x29eba3(0xee)](_0x503526);if(!_0xc52e96||_0x503526===_0x2c4bbc[_0x29eba3(0x11d)])return;if(!_0x3e30de[_0x29eba3(0x107)][_0x29eba3(0xd8)][_0x29eba3(0xd5)](_0x2b2c7c[_0x29eba3(0xe8)][_0x29eba3(0xd3)],_0x29eba3(0xf9)))return;const _0x1ef5a8={'class':_0x29eba3(0xbc)+_0xc52e96[_0x29eba3(0xbf)][_0x29eba3(0xdc)](),'data-name':_0xc52e96[_0x29eba3(0x116)],'data-session-id':_0x503526},_0x480f67=_0x3e30de[_0x29eba3(0x107)][_0x29eba3(0x129)][_0x29eba3(0x124)](_0x2b2c7c[_0x29eba3(0x108)]),_0x5826c4=_0x480f67[_0x29eba3(0xac)](),_0x1c7b5a=_0x5826c4[_0x29eba3(0xa3)],_0x5648ae=_0x3e30de[_0x29eba3(0x107)][_0x29eba3(0xd8)];if(_0x1c7b5a&&_0x5648ae[_0x29eba3(0xca)](_0x1c7b5a)&&_0x5648ae[_0x29eba3(0x111)](_0x1c7b5a)&&!_0x3e30de[_0x29eba3(0x107)][_0x29eba3(0x129)][_0x29eba3(0x124)](_0x29eba3(0x112)+_0x503526)[_0x29eba3(0xb3)]()[_0x29eba3(0x11e)])return;const _0x54b423=_0x5826c4[_0x29eba3(0xd0)];return _0x3e30de[_0x29eba3(0x107)][_0x29eba3(0xd8)][_0x29eba3(0xa1)](_0x54b423)&&!_0x3e30de[_0x29eba3(0x107)][_0x29eba3(0xb0)](_0x54b423)&&(_0x1ef5a8[_0x29eba3(0xfa)]=!0x1),function(_0x181753,_0x846d82,_0x13126d){const _0x499800=_0x29eba3,_0x1123ad=_0x181753[_0x499800(0xf1)](_0x499800(0xf8),_0x846d82);return _0x181753[_0x499800(0xfe)](_0x499800(0xea),!0x0,_0x1123ad),_0x1123ad[_0x499800(0xd6)]=function(_0x36811a){const _0x2671de=_0x499800,_0x36dcd7=this[_0x2671de(0xfc)](_0x36811a),_0x2bb32f=document[_0x2671de(0xce)](_0x2671de(0xf8));return _0x2bb32f[_0x2671de(0x11b)][_0x2671de(0xc6)](_0x2671de(0xa8)),_0x2bb32f[_0x2671de(0xff)](_0x2671de(0xfa),_0x2671de(0x121)),_0x2bb32f[_0x2671de(0xff)](_0x2671de(0xa4),_0x2671de(0x121)),_0x2bb32f[_0x2671de(0xc5)]=_0x13126d[_0x2671de(0x116)],_0x36dcd7[_0x2671de(0xa2)]=_0x2671de(0x11f)+_0x2bb32f[_0x2671de(0x128)]+'',_0x36dcd7[_0x2671de(0xc4)](_0x2671de(0xa9),()=>{const _0x5bf8e4=_0x2671de;_0x36dcd7[_0x5bf8e4(0x11b)][_0x5bf8e4(0xc6)](_0x5bf8e4(0xe7));}),_0x36dcd7[_0x2671de(0xc4)](_0x2671de(0x10e),()=>{const _0x3f148b=_0x2671de;_0x36dcd7[_0x3f148b(0x11b)][_0x3f148b(0xf7)](_0x3f148b(0xe7));}),_0x36dcd7;},_0x1123ad[_0x499800(0xc7)]=function(_0x5506fd){const _0x3c3d15=_0x499800;return!(!this[_0x3c3d15(0x102)](_0x3c3d15(0xea))||!_0x5506fd[_0x3c3d15(0x102)](_0x3c3d15(0xea))||this[_0x3c3d15(0xcd)](_0x3c3d15(0xb5))!=_0x5506fd[_0x3c3d15(0xcd)](_0x3c3d15(0xb5)));},_0x1123ad;}(_0x5cefbd,_0x1ef5a8,_0xc52e96);}(_0x2ecb44,_0x268fe1,_0x4f549a,_0xadeeb9)}),_0xadeeb9[_0x5b0d24(0x104)][_0x5b0d24(0xb4)](_0x5b0d24(0x10a))[_0x5b0d24(0xc3)]({'model':_0x5b0d24(0x115),'view':_0x554ff5=>function(_0x23460a,_0xb79891){const _0x18e6a3=_0x5b0d24,_0xeab782=_0x23460a[_0x18e6a3(0x108)][_0x18e6a3(0x126)](':')[0x2];if(_0xeab782===_0xb79891[_0x18e6a3(0x11d)])return null;const _0x560783=_0xb79891[_0x18e6a3(0xee)](_0xeab782);if(!_0x560783)return{'id':_0xeab782,'classes':[]};return{'id':_0xeab782,'classes':[_0x18e6a3(0x101),_0x560783[_0x18e6a3(0xbf)][_0x18e6a3(0xf4)]()],'attributes':{'data-session-id':_0xeab782},'priority':0x7d0+_0x560783[_0x18e6a3(0xa5)]};}(_0x554ff5,_0x4f549a)}),function(_0x5f3564){const _0x1433de=_0x5b0d24,_0x50a02c=_0x5f3564[_0x1433de(0x107)],_0x39a467=new Map(),_0x3967c2=_0x5f3564[_0x1433de(0xb7)][_0x1433de(0x124)](_0x5e84f6);_0x50a02c[_0x1433de(0x129)]['on'](_0x1433de(0xd4),(_0x22e046,_0x55e5fc,_0x43453d,_0x3ed9eb)=>{const _0x6c2b31=_0x1433de;if(!_0x3ed9eb&&_0x39a467[_0x6c2b31(0x124)](_0x55e5fc[_0x6c2b31(0x116)]))return _0x39a467[_0x6c2b31(0x124)](_0x55e5fc[_0x6c2b31(0x116)])[_0x6c2b31(0x11a)](),void _0x39a467[_0x6c2b31(0x10f)](_0x55e5fc[_0x6c2b31(0x116)]);const _0x1030e0=_0x55e5fc[_0x6c2b31(0x116)][_0x6c2b31(0x126)](':')[0x2];if(_0x1030e0===_0x3967c2[_0x6c2b31(0x11d)])return;const _0x8b21f9=_0x6c2b31(0x127)+_0x1030e0;_0x50a02c[_0x6c2b31(0x129)][_0x6c2b31(0x123)](_0x8b21f9)&&_0x5f3564[_0x6c2b31(0x100)][_0x6c2b31(0xc9)](_0x8b21f9),_0x55e5fc['on'](_0x6c2b31(0xe0),(_0x218c2a,_0x5a0851,_0x3da77b)=>{const _0x1551ed=_0x6c2b31;if(_0x1551ed(0xa7)!=_0x5a0851[_0x1551ed(0xeb)][_0x1551ed(0xa6)]&&_0x1551ed(0xa7)==_0x55e5fc[_0x1551ed(0xb3)]()[_0x1551ed(0xeb)][_0x1551ed(0xa6)]&&!_0x39a467[_0x1551ed(0x123)](_0x55e5fc[_0x1551ed(0x116)])){const _0x1ada3c=_0x50a02c[_0x1551ed(0xd8)][_0x1551ed(0xe2)](_0x3da77b[_0x1551ed(0xda)]);if(_0x1ada3c){const _0x3610a2=_0x1b5a24[_0x1551ed(0xbb)](_0x1ada3c);_0x39a467[_0x1551ed(0xd1)](_0x55e5fc[_0x1551ed(0x116)],_0x3610a2),_0x3610a2['on'](_0x1551ed(0xe0),(_0x56a9e3,_0x2771ab,_0x20c0f5)=>{const _0x388893=_0x1551ed;if(_0x388893(0xa7)==_0x3610a2[_0x388893(0xeb)][_0x388893(0xa6)]){const _0x49099e=_0x50a02c[_0x388893(0xd8)][_0x388893(0xe2)](_0x20c0f5[_0x388893(0xda)]);_0x49099e?(_0x3610a2[_0x388893(0xd3)]=_0x49099e[_0x388893(0xd3)],_0x3610a2[_0x388893(0xc2)]=_0x49099e[_0x388893(0xc2)]):(_0x39a467[_0x388893(0x10f)](_0x55e5fc[_0x388893(0x116)]),_0x3610a2[_0x388893(0x11a)]());}});}}});}),_0x50a02c[_0x1433de(0x122)]['on'](_0x1433de(0xba),()=>{const _0x449546=_0x1433de;_0x39a467[_0x449546(0xe5)]>0x0&&_0x50a02c[_0x449546(0xde)]({'isUndoable':!0x1},_0x129ba5=>{const _0x3aa3b9=_0x449546;for(const [_0x1e8fa3,_0x35ea3a]of _0x39a467)_0x3aa3b9(0xa7)==_0x50a02c[_0x3aa3b9(0x129)][_0x3aa3b9(0x124)](_0x1e8fa3)[_0x3aa3b9(0xb3)]()[_0x3aa3b9(0xeb)][_0x3aa3b9(0xa6)]&&(Z(_0x1e8fa3[_0x3aa3b9(0x126)](':')[0x2],_0x35ea3a[_0x3aa3b9(0xc0)](),_0x50a02c,_0x129ba5),_0x35ea3a[_0x3aa3b9(0x11a)]());_0x39a467[_0x3aa3b9(0x125)]();});});}(_0xadeeb9),this[_0x5b0d24(0x110)][_0x5b0d24(0xf3)](_0x35c56a[_0x5b0d24(0x122)],_0x5b0d24(0xe3),(_0x4c87c1,{key:_0x4d9802})=>{const _0x20e313=_0x5b0d24;_0x20e313(0x9f)===_0x4d9802&&function(_0x53dbf2){const _0x380142=_0x20e313;_0x53dbf2[_0x380142(0x100)][_0x380142(0xbd)][_0x380142(0xba)](_0x557588=>{const _0x103976=_0x380142;for(const _0x10b9c2 of _0x53dbf2[_0x103976(0x107)][_0x103976(0x129)]){if(!_0x10b9c2[_0x103976(0x116)][_0x103976(0xe6)](_0x103976(0x105)))continue;const _0x20f660=_0x53dbf2[_0x103976(0x100)][_0x103976(0x120)][_0x103976(0xf0)](_0x10b9c2[_0x103976(0x116)]);if(_0x20f660){for(const _0x51447e of _0x20f660)_0x557588[_0x103976(0xf5)](_0x103976(0xe7),_0x51447e);}}});}(_0xadeeb9);},{'useCapture':!0x0});}[_0x4bc435(0xdf)](){const _0x338bc5=_0x4bc435,_0x4469fe=this[_0x338bc5(0xcf)],_0x5b2ae9=_0x4469fe[_0x338bc5(0xd7)][_0x338bc5(0x124)](_0x338bc5(0xec));_0x5b2ae9&&_0x4469fe[_0x338bc5(0x107)]['on'](_0x338bc5(0x11c),(_0x12ad5e,_0x40415c)=>{const _0x143916=_0x338bc5,_0x446606=_0x40415c[0x0];if(!_0x446606[_0x143916(0xb2)])return;if(_0x143916(0xd2)!=_0x446606[_0x143916(0x10d)]||!_0x446606[_0x143916(0x116)][_0x143916(0xe6)](_0x143916(0x103)))return;const _0x3eabd7=_0x446606[_0x143916(0xdd)];_0x5b2ae9[_0x143916(0xfd)][_0x143916(0x123)](_0x3eabd7)&&(_0x446606[_0x143916(0x9e)]=_0x446606[_0x143916(0xf6)]?_0x4469fe[_0x143916(0x107)][_0x143916(0x109)](_0x446606[_0x143916(0xf6)][_0x143916(0xd3)],_0x446606[_0x143916(0xf6)][_0x143916(0xc2)]):null);},{'priority':_0x338bc5(0xc8)});}[_0x4bc435(0xb6)](){const _0x3f3a49=_0x4bc435;return this[_0x3f3a49(0x110)][_0x3f3a49(0xcb)](),super[_0x3f3a49(0xb6)]();}[_0x4bc435(0xe1)](){const _0x3965ec=_0x4bc435,_0x44b3e4=this[_0x3965ec(0xcf)],_0x2542b2=_0x44b3e4[_0x3965ec(0x107)][_0x3965ec(0x122)],_0x45cd0b=_0x44b3e4[_0x3965ec(0xb7)][_0x3965ec(0x124)](_0x5e84f6);_0x44b3e4[_0x3965ec(0x107)][_0x3965ec(0xde)]({'isUndoable':!0x1},_0xc2807f=>{const _0x153d05=_0x3965ec,_0x353bac=_0x153d05(0x112)+_0x45cd0b[_0x153d05(0x11d)],_0x22e1af=_0x153d05(0x127)+_0x45cd0b[_0x153d05(0x11d)],_0x2a8738=_0x44b3e4[_0x153d05(0x107)][_0x153d05(0x129)][_0x153d05(0x123)](_0x353bac);_0x44b3e4[_0x153d05(0x100)][_0x153d05(0xbd)][_0x153d05(0xcc)]?Z(_0x45cd0b[_0x153d05(0x11d)],_0x2542b2[_0x153d05(0x10b)][_0x153d05(0x117)](),_0x44b3e4[_0x153d05(0x107)],_0xc2807f):_0x2a8738&&(_0xc2807f[_0x153d05(0xbe)](_0x353bac),_0xc2807f[_0x153d05(0xbe)](_0x22e1af));});}}function Z(_0x402ce6,_0x4f06cf,_0x812b2d,_0x1e63fd){const _0x4dc5ef=_0x4bc435,_0x43a39b=_0x4dc5ef(0x112)+_0x402ce6,_0x5e315a=_0x4dc5ef(0x127)+_0x402ce6,_0x487d67=_0x4f06cf[_0x4dc5ef(0x114)]();let _0x2079cd=_0x4f06cf[_0x4dc5ef(0xd3)];if(_0x487d67&&_0x487d67['is'](_0x4dc5ef(0xf2),_0x4dc5ef(0xd9))){const _0x34a2c9=function(_0x479902,_0x20c0fd){const _0x11383b=_0x4dc5ef;for(const _0x215d5a of _0x479902[_0x11383b(0xa0)]())if(_0x20c0fd[_0x11383b(0xd8)][_0x11383b(0xd5)](_0x215d5a,_0x11383b(0xf9)))return _0x215d5a;}(_0x4f06cf,_0x812b2d);_0x34a2c9&&(_0x2079cd=_0x34a2c9,_0x4f06cf=_0x1e63fd[_0x4dc5ef(0x109)](_0x2079cd));}const _0x54a76f=_0x1e63fd[_0x4dc5ef(0x109)](_0x2079cd);_0x812b2d[_0x4dc5ef(0x129)][_0x4dc5ef(0x123)](_0x43a39b)?(_0x1e63fd[_0x4dc5ef(0xaa)](_0x43a39b,{'range':_0x4f06cf}),_0x1e63fd[_0x4dc5ef(0xaa)](_0x5e315a,{'range':_0x54a76f})):(_0x1e63fd[_0x4dc5ef(0xe4)](_0x43a39b,{'range':_0x4f06cf,'usingOperation':!0x0}),_0x1e63fd[_0x4dc5ef(0xe4)](_0x5e315a,{'range':_0x54a76f,'usingOperation':!0x0}));}
|
|
23
|
+
const _0xa89c7d=_0x1744;(function(_0x34e0ee,_0x2dac8a){const _0x226bc4=_0x1744,_0xce1d05=_0x34e0ee();while(!![]){try{const _0x291519=parseInt(_0x226bc4(0x101))/0x1+-parseInt(_0x226bc4(0x124))/0x2*(parseInt(_0x226bc4(0xd9))/0x3)+parseInt(_0x226bc4(0xcb))/0x4+-parseInt(_0x226bc4(0xfc))/0x5+parseInt(_0x226bc4(0xd2))/0x6+parseInt(_0x226bc4(0xf9))/0x7*(-parseInt(_0x226bc4(0x147))/0x8)+parseInt(_0x226bc4(0x12c))/0x9;if(_0x291519===_0x2dac8a)break;else _0xce1d05['push'](_0xce1d05['shift']());}catch(_0x5e08b2){_0xce1d05['push'](_0xce1d05['shift']());}}}(_0xc3cb,0xe5d80));import{Plugin as _0x388000}from'ckeditor5/src/core.js';function _0x1744(_0x5714b3,_0x23159){const _0xc3cb16=_0xc3cb();return _0x1744=function(_0x17446,_0x55a0a3){_0x17446=_0x17446-0xbf;let _0x4559b5=_0xc3cb16[_0x17446];return _0x4559b5;},_0x1744(_0x5714b3,_0x23159);}import{global as _0x41b905,DomEmitterMixin as _0x308af3}from'ckeditor5/src/utils.js';import{Sessions as _0x510e40}from'./sessions.js';import{ModelLiveRange as _0x326467}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x388000{[_0xa89c7d(0x11c)]=new(_0x308af3())();static get[_0xa89c7d(0x105)](){return[_0x510e40];}static get[_0xa89c7d(0xbf)](){const _0x3a503f=_0xa89c7d;return _0x3a503f(0x13a);}static get[_0xa89c7d(0x121)](){return!0x0;}static get[_0xa89c7d(0xd1)](){return!0x0;}[_0xa89c7d(0xc4)](){const _0x4bd8c9=_0xa89c7d,_0x263c5c=this[_0x4bd8c9(0x13f)],_0x307cae=_0x263c5c[_0x4bd8c9(0x115)][_0x4bd8c9(0xf4)](_0x510e40);_0x263c5c[_0x4bd8c9(0x130)][_0x4bd8c9(0x114)](_0x4bd8c9(0x110))[_0x4bd8c9(0x123)]({'model':_0x4bd8c9(0x134),'view':(_0x1e5b74,{writer:_0x4631b3})=>function(_0x59a166,_0x2c7524,_0x1e19df,_0x3867d2){const _0x4ee4bd=_0x4bd8c9,_0x39840b=_0x59a166[_0x4ee4bd(0x128)][_0x4ee4bd(0xfa)](':')[0x2],_0x14d724=_0x1e19df[_0x4ee4bd(0xe8)](_0x39840b);if(!_0x14d724||_0x39840b===_0x1e19df[_0x4ee4bd(0xf5)])return;if(!_0x3867d2[_0x4ee4bd(0x129)][_0x4ee4bd(0xf1)][_0x4ee4bd(0xd0)](_0x59a166[_0x4ee4bd(0x12a)][_0x4ee4bd(0x103)],_0x4ee4bd(0xef)))return;const _0x303d1f={'class':_0x4ee4bd(0xe5)+_0x14d724[_0x4ee4bd(0xe7)][_0x4ee4bd(0x12e)](),'data-name':_0x14d724[_0x4ee4bd(0x148)],'data-session-id':_0x39840b},_0x1bcb9e=_0x3867d2[_0x4ee4bd(0x129)][_0x4ee4bd(0x120)][_0x4ee4bd(0xf4)](_0x59a166[_0x4ee4bd(0x128)]),_0x140894=_0x1bcb9e[_0x4ee4bd(0xed)](),_0x17f8fd=_0x140894[_0x4ee4bd(0xd5)],_0xa104d7=_0x3867d2[_0x4ee4bd(0x129)][_0x4ee4bd(0xf1)];if(_0x17f8fd&&_0xa104d7[_0x4ee4bd(0x126)](_0x17f8fd)&&_0xa104d7[_0x4ee4bd(0x131)](_0x17f8fd)&&!_0x3867d2[_0x4ee4bd(0x129)][_0x4ee4bd(0x120)][_0x4ee4bd(0xf4)](_0x4ee4bd(0x138)+_0x39840b)[_0x4ee4bd(0xc5)]()[_0x4ee4bd(0x111)])return;const _0x454873=_0x140894[_0x4ee4bd(0xde)];return _0x3867d2[_0x4ee4bd(0x129)][_0x4ee4bd(0xf1)][_0x4ee4bd(0xc3)](_0x454873)&&!_0x3867d2[_0x4ee4bd(0x129)][_0x4ee4bd(0xc8)](_0x454873)&&(_0x303d1f[_0x4ee4bd(0xc0)]=!0x1),function(_0x78cfe6,_0x52008d,_0x416f10){const _0x6f5953=_0x4ee4bd,_0x334d93=_0x78cfe6[_0x6f5953(0x102)](_0x6f5953(0x10e),_0x52008d);return _0x78cfe6[_0x6f5953(0xee)](_0x6f5953(0xe0),!0x0,_0x334d93),_0x334d93[_0x6f5953(0x113)]=function(_0x25559f){const _0x462f79=_0x6f5953,_0x58b572=this[_0x462f79(0xeb)](_0x25559f),_0x421a08=document[_0x462f79(0x104)](_0x462f79(0x10e));return _0x421a08[_0x462f79(0x122)][_0x462f79(0x136)](_0x462f79(0xdc)),_0x421a08[_0x462f79(0x125)](_0x462f79(0xc0),_0x462f79(0xe4)),_0x421a08[_0x462f79(0x125)](_0x462f79(0xfe),_0x462f79(0xe4)),_0x421a08[_0x462f79(0xc7)]=_0x416f10[_0x462f79(0x148)],_0x58b572[_0x462f79(0x11a)]=_0x462f79(0xda)+_0x421a08[_0x462f79(0x117)]+'',_0x58b572[_0x462f79(0xcd)](_0x462f79(0xf0),()=>{const _0x59d760=_0x462f79;_0x58b572[_0x59d760(0x122)][_0x59d760(0x136)](_0x59d760(0xe1));}),_0x58b572[_0x462f79(0xcd)](_0x462f79(0xe3),()=>{const _0x5f5a95=_0x462f79;_0x58b572[_0x5f5a95(0x122)][_0x5f5a95(0xc6)](_0x5f5a95(0xe1));}),_0x58b572;},_0x334d93[_0x6f5953(0xf6)]=function(_0x5063cb){const _0x997dad=_0x6f5953;return!(!this[_0x997dad(0x12f)](_0x997dad(0xe0))||!_0x5063cb[_0x997dad(0x12f)](_0x997dad(0xe0))||this[_0x997dad(0x145)](_0x997dad(0x13d))!=_0x5063cb[_0x997dad(0x145)](_0x997dad(0x13d)));},_0x334d93;}(_0x2c7524,_0x303d1f,_0x14d724);}(_0x1e5b74,_0x4631b3,_0x307cae,_0x263c5c)}),_0x263c5c[_0x4bd8c9(0x130)][_0x4bd8c9(0x114)](_0x4bd8c9(0x110))[_0x4bd8c9(0xd4)]({'model':_0x4bd8c9(0xcf),'view':_0x7b1f5f=>function(_0x53fd42,_0x53bb88){const _0x2c9e79=_0x4bd8c9,_0x18b041=_0x53fd42[_0x2c9e79(0x128)][_0x2c9e79(0xfa)](':')[0x2];if(_0x18b041===_0x53bb88[_0x2c9e79(0xf5)])return null;const _0x18ea34=_0x53bb88[_0x2c9e79(0xe8)](_0x18b041);if(!_0x18ea34)return{'id':_0x18b041,'classes':[]};return{'id':_0x18b041,'classes':[_0x2c9e79(0x139),_0x18ea34[_0x2c9e79(0xe7)][_0x2c9e79(0x112)]()],'attributes':{'data-session-id':_0x18b041},'priority':0x7d0+_0x18ea34[_0x2c9e79(0x146)]};}(_0x7b1f5f,_0x307cae)}),function(_0x2a3609){const _0x3329f8=_0x4bd8c9,_0x2042f6=_0x2a3609[_0x3329f8(0x129)],_0x2af273=new Map(),_0x70262f=_0x2a3609[_0x3329f8(0x115)][_0x3329f8(0xf4)](_0x510e40);_0x2042f6[_0x3329f8(0x120)]['on'](_0x3329f8(0x10a),(_0x13faf7,_0x2446ef,_0x3278eb,_0x2b6596)=>{const _0x5d0b51=_0x3329f8;if(!_0x2b6596&&_0x2af273[_0x5d0b51(0xf4)](_0x2446ef[_0x5d0b51(0x148)]))return _0x2af273[_0x5d0b51(0xf4)](_0x2446ef[_0x5d0b51(0x148)])[_0x5d0b51(0xdd)](),void _0x2af273[_0x5d0b51(0x13c)](_0x2446ef[_0x5d0b51(0x148)]);const _0x389edc=_0x2446ef[_0x5d0b51(0x148)][_0x5d0b51(0xfa)](':')[0x2];if(_0x389edc===_0x70262f[_0x5d0b51(0xf5)])return;const _0x3fd72c=_0x5d0b51(0xd7)+_0x389edc;_0x2042f6[_0x5d0b51(0x120)][_0x5d0b51(0x140)](_0x3fd72c)&&_0x2a3609[_0x5d0b51(0x10b)][_0x5d0b51(0xd3)](_0x3fd72c),_0x2446ef['on'](_0x5d0b51(0x10c),(_0x17698c,_0x4627d2,_0x44ca3f)=>{const _0x1b4e73=_0x5d0b51;if(_0x1b4e73(0xf8)!=_0x4627d2[_0x1b4e73(0xe9)][_0x1b4e73(0xdb)]&&_0x1b4e73(0xf8)==_0x2446ef[_0x1b4e73(0xc5)]()[_0x1b4e73(0xe9)][_0x1b4e73(0xdb)]&&!_0x2af273[_0x1b4e73(0x140)](_0x2446ef[_0x1b4e73(0x148)])){const _0x3b1f56=_0x2042f6[_0x1b4e73(0xf1)][_0x1b4e73(0x142)](_0x44ca3f[_0x1b4e73(0x106)]);if(_0x3b1f56){const _0x17608d=_0x326467[_0x1b4e73(0xfb)](_0x3b1f56);_0x2af273[_0x1b4e73(0xff)](_0x2446ef[_0x1b4e73(0x148)],_0x17608d),_0x17608d['on'](_0x1b4e73(0x10c),(_0x5dac96,_0x2b85de,_0x549d64)=>{const _0x13c4a1=_0x1b4e73;if(_0x13c4a1(0xf8)==_0x17608d[_0x13c4a1(0xe9)][_0x13c4a1(0xdb)]){const _0x1ba4b3=_0x2042f6[_0x13c4a1(0xf1)][_0x13c4a1(0x142)](_0x549d64[_0x13c4a1(0x106)]);_0x1ba4b3?(_0x17608d[_0x13c4a1(0x103)]=_0x1ba4b3[_0x13c4a1(0x103)],_0x17608d[_0x13c4a1(0xec)]=_0x1ba4b3[_0x13c4a1(0xec)]):(_0x2af273[_0x13c4a1(0x13c)](_0x2446ef[_0x13c4a1(0x148)]),_0x17608d[_0x13c4a1(0xdd)]());}});}}});}),_0x2042f6[_0x3329f8(0x132)]['on'](_0x3329f8(0x11f),()=>{const _0x1bc20a=_0x3329f8;_0x2af273[_0x1bc20a(0x141)]>0x0&&_0x2042f6[_0x1bc20a(0x135)]({'isUndoable':!0x1},_0x4d1616=>{const _0x414172=_0x1bc20a;for(const [_0x4d74bf,_0x62151d]of _0x2af273)_0x414172(0xf8)==_0x2042f6[_0x414172(0x120)][_0x414172(0xf4)](_0x4d74bf)[_0x414172(0xc5)]()[_0x414172(0xe9)][_0x414172(0xdb)]&&(te(_0x4d74bf[_0x414172(0xfa)](':')[0x2],_0x62151d[_0x414172(0xea)](),_0x2042f6,_0x4d1616),_0x62151d[_0x414172(0xdd)]());_0x2af273[_0x414172(0xf3)]();});});}(_0x263c5c),this[_0x4bd8c9(0x11c)][_0x4bd8c9(0x11e)](_0x41b905[_0x4bd8c9(0x132)],_0x4bd8c9(0x13e),(_0x1a63ee,{key:_0x3b9c62})=>{const _0x2f69d8=_0x4bd8c9;_0x2f69d8(0xe6)===_0x3b9c62&&function(_0x346513){const _0x6d0ea8=_0x2f69d8;_0x346513[_0x6d0ea8(0x10b)][_0x6d0ea8(0x116)][_0x6d0ea8(0x11f)](_0x3cffb0=>{const _0x404ef8=_0x6d0ea8;for(const _0x2e3784 of _0x346513[_0x404ef8(0x129)][_0x404ef8(0x120)]){if(!_0x2e3784[_0x404ef8(0x148)][_0x404ef8(0x11b)](_0x404ef8(0x134)))continue;const _0xef4dd7=_0x346513[_0x404ef8(0x10b)][_0x404ef8(0x137)][_0x404ef8(0x109)](_0x2e3784[_0x404ef8(0x148)]);if(_0xef4dd7){for(const _0xef8719 of _0xef4dd7)_0x3cffb0[_0x404ef8(0xc2)](_0x404ef8(0xe1),_0xef8719);}}});}(_0x263c5c);},{'useCapture':!0x0});}[_0xa89c7d(0x12b)](){const _0x1d8fc6=_0xa89c7d,_0x49a350=this[_0x1d8fc6(0x13f)],_0x2bd4f9=_0x49a350[_0x1d8fc6(0xc9)][_0x1d8fc6(0xf4)](_0x1d8fc6(0x10f));_0x2bd4f9&&_0x49a350[_0x1d8fc6(0x129)]['on'](_0x1d8fc6(0xdf),(_0x201854,_0x1a826f)=>{const _0x56b5b1=_0x1d8fc6,_0x71ab7=_0x1a826f[0x0];if(!_0x71ab7[_0x56b5b1(0x119)])return;if(_0x56b5b1(0x118)!=_0x71ab7[_0x56b5b1(0x133)]||!_0x71ab7[_0x56b5b1(0x148)][_0x56b5b1(0x11b)](_0x56b5b1(0x11d)))return;const _0xb60487=_0x71ab7[_0x56b5b1(0x13b)];_0x2bd4f9[_0x56b5b1(0x143)][_0x56b5b1(0x140)](_0xb60487)&&(_0x71ab7[_0x56b5b1(0xc1)]=_0x71ab7[_0x56b5b1(0xfd)]?_0x49a350[_0x56b5b1(0x129)][_0x56b5b1(0xcc)](_0x71ab7[_0x56b5b1(0xfd)][_0x56b5b1(0x103)],_0x71ab7[_0x56b5b1(0xfd)][_0x56b5b1(0xec)]):null);},{'priority':_0x1d8fc6(0xf7)});}[_0xa89c7d(0xce)](){const _0x58a83e=_0xa89c7d;return this[_0x58a83e(0x11c)][_0x58a83e(0xd8)](),super[_0x58a83e(0xce)]();}[_0xa89c7d(0x144)](){const _0x2111a3=_0xa89c7d,_0x465a23=this[_0x2111a3(0x13f)],_0x44ee09=_0x465a23[_0x2111a3(0x129)][_0x2111a3(0x132)],_0xaf5033=_0x465a23[_0x2111a3(0x115)][_0x2111a3(0xf4)](_0x510e40);_0x465a23[_0x2111a3(0x129)][_0x2111a3(0x135)]({'isUndoable':!0x1},_0x5560b0=>{const _0x5224f0=_0x2111a3,_0x279c80=_0x5224f0(0x138)+_0xaf5033[_0x5224f0(0xf5)],_0x3859ed=_0x5224f0(0xd7)+_0xaf5033[_0x5224f0(0xf5)],_0x1b2313=_0x465a23[_0x5224f0(0x129)][_0x5224f0(0x120)][_0x5224f0(0x140)](_0x279c80);_0x465a23[_0x5224f0(0x10b)][_0x5224f0(0x116)][_0x5224f0(0x107)]?te(_0xaf5033[_0x5224f0(0xf5)],_0x44ee09[_0x5224f0(0x100)][_0x5224f0(0xd6)](),_0x465a23[_0x5224f0(0x129)],_0x5560b0):_0x1b2313&&(_0x5560b0[_0x5224f0(0x10d)](_0x279c80),_0x5560b0[_0x5224f0(0x10d)](_0x3859ed));});}}function te(_0x59b1c1,_0x31709f,_0x48b4ab,_0x164c0f){const _0x5961a7=_0xa89c7d,_0x214948=_0x5961a7(0x138)+_0x59b1c1,_0x5abba4=_0x5961a7(0xd7)+_0x59b1c1,_0x307256=_0x31709f[_0x5961a7(0x12d)]();let _0x20ff55=_0x31709f[_0x5961a7(0x103)];if(_0x307256&&_0x307256['is'](_0x5961a7(0x127),_0x5961a7(0xf2))){const _0x576b24=function(_0x30204a,_0x329b26){const _0x2fac10=_0x5961a7;for(const _0x1ede42 of _0x30204a[_0x2fac10(0x108)]())if(_0x329b26[_0x2fac10(0xf1)][_0x2fac10(0xd0)](_0x1ede42,_0x2fac10(0xef)))return _0x1ede42;}(_0x31709f,_0x48b4ab);_0x576b24&&(_0x20ff55=_0x576b24,_0x31709f=_0x164c0f[_0x5961a7(0xcc)](_0x20ff55));}const _0x12dd43=_0x164c0f[_0x5961a7(0xcc)](_0x20ff55);_0x48b4ab[_0x5961a7(0x120)][_0x5961a7(0x140)](_0x214948)?(_0x164c0f[_0x5961a7(0xca)](_0x214948,{'range':_0x31709f}),_0x164c0f[_0x5961a7(0xca)](_0x5abba4,{'range':_0x12dd43})):(_0x164c0f[_0x5961a7(0xe2)](_0x214948,{'range':_0x31709f,'usingOperation':!0x0}),_0x164c0f[_0x5961a7(0xe2)](_0x5abba4,{'range':_0x12dd43,'usingOperation':!0x0}));}function _0xc3cb(){const _0x21ebf5=['createUserMarkerOperations','getAttribute','orderNumber','605784RDleWm','name','pluginName','contenteditable','newRange','removeClass','isLimit','init','getRange','remove','textContent','hasContent','commands','updateMarker','6187364CDlpif','createRange','addEventListener','destroy','user:range','checkChild','isPremiumPlugin','6945360wuJpoa','reconvertMarker','markerToHighlight','nodeAfter','getFirstRange','user:position:','stopListening','392529VcGcFf','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','rootName','ck-user__marker-tooltip','detach','parent','applyOperation','userPositionMarker','ck-user__marker_hovered','addMarker','mouseleave','false','ck-user__marker\x20','Escape','color','getUserBySessionId','root','toRange','toDomElement','end','getStart','setCustomProperty','$text','mouseenter','schema','tableCell','clear','get','mySessionId','isSimilar','highest','$graveyard','91dgZQfL','split','fromRange','3881865KZTGnl','oldRange','spellcheck','set','selection','802703uoKYIx','createUIElement','start','createElement','requires','deletionPosition','hasDomSelection','getPositions','markerNameToElements','update:user:range','editing','change:range','removeMarker','span','undo','editingDowncast','isCollapsed','getSelectionClass','render','for','plugins','view','outerHTML','marker','isDocumentOperation','innerHTML','startsWith','_domEmitter','user:','listenTo','change','markers','isOfficialPlugin','classList','markerToElement','18KJpcdS','setAttribute','isObject','element','markerName','model','markerRange','afterInit','3354255xILfGJ','getContainedElement','getMarkerClass','getCustomProperty','conversion','isInline','document','type','user:position','enqueueChange','add','mapper','user:range:','ck-user__selection','UserMarkers','batch','delete','data-session-id','keydown','editor','has','size','getNearestSelectionRange','_createdBatches'];_0xc3cb=function(){return _0x21ebf5;};return _0xc3cb();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>
|
|
23
|
+
const _0x278007=_0x4fea;(function(_0x34a24b,_0x3b913c){const _0x2da63e=_0x4fea,_0x2d8e72=_0x34a24b();while(!![]){try{const _0x5d4f17=-parseInt(_0x2da63e(0xc4))/0x1*(-parseInt(_0x2da63e(0xbb))/0x2)+-parseInt(_0x2da63e(0xcb))/0x3+parseInt(_0x2da63e(0xd6))/0x4+-parseInt(_0x2da63e(0xd4))/0x5+-parseInt(_0x2da63e(0xae))/0x6*(parseInt(_0x2da63e(0xc0))/0x7)+-parseInt(_0x2da63e(0xa8))/0x8+parseInt(_0x2da63e(0xe4))/0x9*(parseInt(_0x2da63e(0xd9))/0xa);if(_0x5d4f17===_0x3b913c)break;else _0x2d8e72['push'](_0x2d8e72['shift']());}catch(_0x20e621){_0x2d8e72['push'](_0x2d8e72['shift']());}}}(_0x1efb,0x21f46));import{ContextPlugin as _0x23a38b}from'ckeditor5/src/core.js';function _0x1efb(){const _0x371f32=['offline','config','13igKRaK','cloudservices-init','Connected\x20users\x20limit\x20exceeded','delete','DISCONNECTED','isOfficialPlugin','reconnect','793407oreNhA','define','cloudservices-reconnection-error','websocketgateway-missing-websocket-url','from','websocketgateway-plugin-already-registered','_reconnect','constructor','_reconnectionStack','380850JzcHAl','connection','173852OCwTsm','_domEmitter','removeFromReconnectionStack','875970mlnzXj','connect','CONNECTED','connected','online','then','WebSocketGateway','isPremiumPlugin','CloudServices','websocketgateway-invalid-plugin-interface','requires','45JpPnmL','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','_shouldPluginsReconnect','real-time-collaboration','cloudServices.requestTimeout','set','addToReconnectionStack','bind','webSocketUrl','showWarning','context','change:me','plugins','function','1139240JjRaea','_isBrowserOffline','disconnect','pluginName','code','CONNECTING','713226bOAakr','init','add','error','cloudServices.connectionTimeout','limitExceeded','has','stopListening','all','destroy','state','token','listenTo','39930AFKdbt','isInReconnectionStack','catch','websocketgateway-missing-token','get','7adTSri','initialReconnectionInterval'];_0x1efb=function(){return _0x371f32;};return _0x1efb();}import{DomEmitterMixin as _0x589403,CKEditorError as _0x3c3087}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5b8d1a,WEB_SOCKET_GATEWAY_STATES as _0x203bdd}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x2ff692}from'ckeditor5/src/ui.js';class n extends _0x23a38b{static [_0x278007(0xdf)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x5b8d1a)());static [_0x278007(0xc1)]=0x3e8;[_0x278007(0xd5)];[_0x278007(0xd3)];[_0x278007(0x9c)];[_0x278007(0xd7)];static get[_0x278007(0xe3)](){const _0x337b90=_0x278007;return[_0x337b90(0xe1),_0x2ff692];}static get[_0x278007(0xab)](){const _0x2e94d1=_0x278007;return _0x2e94d1(0xdf);}static get[_0x278007(0xc9)](){return!0x0;}static get[_0x278007(0xe0)](){return!0x0;}constructor(_0x1bd252){const _0x2b2a9f=_0x278007;super(_0x1bd252),this[_0x2b2a9f(0x9f)](_0x2b2a9f(0xb8),_0x203bdd[_0x2b2a9f(0xdb)]),this[_0x2b2a9f(0x9f)](_0x2b2a9f(0xa9),!0x1),this[_0x2b2a9f(0xd3)]=new Set(),this[_0x2b2a9f(0x9c)]=!0x1,this[_0x2b2a9f(0xd7)]=new(_0x589403())();}[_0x278007(0xaf)](){const _0x2e3eb6=_0x278007,_0x339ab7=this[_0x2e3eb6(0xa4)],_0x135922=_0x339ab7[_0x2e3eb6(0xa6)][_0x2e3eb6(0xbf)](_0x2e3eb6(0xe1)),_0x4c93ed=_0x339ab7[_0x2e3eb6(0xa6)][_0x2e3eb6(0xbf)](_0x2ff692);if(!_0x135922[_0x2e3eb6(0xb9)])throw new _0x3c3087(_0x2e3eb6(0xbe),this);if(!_0x135922[_0x2e3eb6(0xa2)])throw new _0x3c3087(_0x2e3eb6(0xce),this);return this[_0x2e3eb6(0xd7)][_0x2e3eb6(0xba)](window,_0x2e3eb6(0xc2),()=>this[_0x2e3eb6(0xa9)]=!0x0),this[_0x2e3eb6(0xd7)][_0x2e3eb6(0xba)](window,_0x2e3eb6(0xdd),()=>this[_0x2e3eb6(0xa9)]=!0x1),this[_0x2e3eb6(0xa4)][_0x2e3eb6(0xc3)][_0x2e3eb6(0xcc)](_0x2e3eb6(0xb2),0xa),this[_0x2e3eb6(0xa4)][_0x2e3eb6(0xc3)][_0x2e3eb6(0xcc)](_0x2e3eb6(0x9e),0x14),n[_0x2e3eb6(0xdf)][_0x2e3eb6(0xda)](_0x135922[_0x2e3eb6(0xb9)],_0x135922[_0x2e3eb6(0xa2)],{'timeout':0x3e8*this[_0x2e3eb6(0xa4)][_0x2e3eb6(0xc3)][_0x2e3eb6(0xbf)](_0x2e3eb6(0xb2)),'requestTimeout':0x3e8*this[_0x2e3eb6(0xa4)][_0x2e3eb6(0xc3)][_0x2e3eb6(0xbf)](_0x2e3eb6(0x9e))})[_0x2e3eb6(0xde)](_0x5e8301=>{const _0x9b9cec=_0x2e3eb6;if(this[_0x9b9cec(0xd5)]=_0x5e8301,this[_0x9b9cec(0xa1)](_0x9b9cec(0xb8))['to'](_0x5e8301,_0x9b9cec(0xb8),this,_0x9b9cec(0xa9),(_0x418e79,_0x242133)=>(_0x9b9cec(0xdc)!==_0x418e79&&(this[_0x9b9cec(0x9c)]=!0x0),_0x242133||_0x418e79!==_0x203bdd[_0x9b9cec(0xdb)]?_0x203bdd[_0x9b9cec(0xc8)]:this[_0x9b9cec(0xb8)]==_0x203bdd[_0x9b9cec(0xc8)]&&this[_0x9b9cec(0x9c)]?(this[_0x9b9cec(0x9c)]=!0x1,this[_0x9b9cec(0xd1)](),_0x203bdd[_0x9b9cec(0xad)]):_0x203bdd[_0x9b9cec(0xdb)])),this[_0x9b9cec(0xd5)]['on'](_0x9b9cec(0xb1),(_0x3c2db2,_0x42a8ad)=>{const _0x5b7018=_0x9b9cec;if(_0x5b7018(0xb3)!==_0x42a8ad[_0x5b7018(0xac)])throw console[_0x5b7018(0xb1)](_0x42a8ad),new _0x3c3087(_0x5b7018(0xc5),null,{'originalError':_0x42a8ad});_0x4c93ed[_0x5b7018(0xa3)](_0x5b7018(0xe5),{'title':_0x5b7018(0xc6),'namespace':_0x5b7018(0x9d)});}),!_0x5e8301['me'])return new Promise(_0xe0bb91=>_0x5e8301['on'](_0x9b9cec(0xa5),_0xe0bb91));})[_0x2e3eb6(0xbd)](_0x3e49d1=>{const _0x19e6ed=_0x2e3eb6;throw console[_0x19e6ed(0xb1)](_0x3e49d1),new _0x3c3087(_0x19e6ed(0xc5),null,{'originalError':_0x3e49d1});});}[_0x278007(0xa0)](_0x2351a7){const _0x274752=_0x278007;if(_0x274752(0xa7)!=typeof _0x2351a7[_0x274752(0xca)])throw new _0x3c3087(_0x274752(0xe2),this);if(this[_0x274752(0xbc)](_0x2351a7))throw new _0x3c3087(_0x274752(0xd0),this,{'name':_0x2351a7[_0x274752(0xd2)][_0x274752(0xab)]});this[_0x274752(0xd3)][_0x274752(0xb0)](_0x2351a7);}[_0x278007(0xd8)](_0x119ab1){const _0x42b8aa=_0x278007;this[_0x42b8aa(0xd3)][_0x42b8aa(0xc7)](_0x119ab1);}[_0x278007(0xbc)](_0x1c6e7e){const _0x45d152=_0x278007;return this[_0x45d152(0xd3)][_0x45d152(0xb4)](_0x1c6e7e);}[_0x278007(0xd1)](){const _0x3feca4=_0x278007;return this[_0x3feca4(0xd5)][_0x3feca4(0xca)]()[_0x3feca4(0xde)](()=>Promise[_0x3feca4(0xb6)](Array[_0x3feca4(0xcf)](this[_0x3feca4(0xd3)],_0x9b7991=>_0x9b7991[_0x3feca4(0xca)]())))[_0x3feca4(0xde)](()=>this[_0x3feca4(0xb8)]=_0x203bdd[_0x3feca4(0xdb)])[_0x3feca4(0xbd)](_0x11fac4=>{const _0x15197a=_0x3feca4;throw console[_0x15197a(0xb1)](_0x11fac4),new _0x3c3087(_0x15197a(0xcd),this[_0x15197a(0xa4)]);});}[_0x278007(0xaa)](){const _0x4a058e=_0x278007;this[_0x4a058e(0xd5)]&&this[_0x4a058e(0xd5)][_0x4a058e(0xaa)](),this[_0x4a058e(0xb8)]=_0x203bdd[_0x4a058e(0xc8)],this[_0x4a058e(0xd7)][_0x4a058e(0xb5)]();}[_0x278007(0xb7)](){const _0x6ad9e1=_0x278007;this[_0x6ad9e1(0xaa)](),super[_0x6ad9e1(0xb7)]();}}function _0x4fea(_0x3d6ccc,_0x56cbd3){const _0x1efbcf=_0x1efb();return _0x4fea=function(_0x4fea43,_0x1712f0){_0x4fea43=_0x4fea43-0x9c;let _0x2a1731=_0x1efbcf[_0x4fea43];return _0x2a1731;},_0x4fea(_0x3d6ccc,_0x56cbd3);}export{n as WebSocketGateway};
|