@ckeditor/ckeditor5-real-time-collaboration 46.0.1-alpha.6 → 46.0.1-alpha.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-real-time-collaboration",
3
- "version": "46.0.1-alpha.6",
3
+ "version": "46.0.1-alpha.7",
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.6",
51
- "@ckeditor/ckeditor5-comments": "46.0.1-alpha.6",
52
- "@ckeditor/ckeditor5-core": "46.0.1-alpha.6",
53
- "@ckeditor/ckeditor5-editor-multi-root": "46.0.1-alpha.6",
54
- "@ckeditor/ckeditor5-engine": "46.0.1-alpha.6",
55
- "@ckeditor/ckeditor5-operations-compressor": "46.0.1-alpha.6",
56
- "@ckeditor/ckeditor5-revision-history": "46.0.1-alpha.6",
57
- "@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.6",
58
- "@ckeditor/ckeditor5-track-changes": "46.0.1-alpha.6",
59
- "@ckeditor/ckeditor5-ui": "46.0.1-alpha.6",
60
- "@ckeditor/ckeditor5-utils": "46.0.1-alpha.6",
61
- "ckeditor5": "46.0.1-alpha.6",
62
- "ckeditor5-collaboration": "46.0.1-alpha.6",
50
+ "@ckeditor/ckeditor5-cloud-services": "46.0.1-alpha.7",
51
+ "@ckeditor/ckeditor5-comments": "46.0.1-alpha.7",
52
+ "@ckeditor/ckeditor5-core": "46.0.1-alpha.7",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "46.0.1-alpha.7",
54
+ "@ckeditor/ckeditor5-engine": "46.0.1-alpha.7",
55
+ "@ckeditor/ckeditor5-operations-compressor": "46.0.1-alpha.7",
56
+ "@ckeditor/ckeditor5-revision-history": "46.0.1-alpha.7",
57
+ "@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.7",
58
+ "@ckeditor/ckeditor5-track-changes": "46.0.1-alpha.7",
59
+ "@ckeditor/ckeditor5-ui": "46.0.1-alpha.7",
60
+ "@ckeditor/ckeditor5-utils": "46.0.1-alpha.7",
61
+ "ckeditor5": "46.0.1-alpha.7",
62
+ "ckeditor5-collaboration": "46.0.1-alpha.7",
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 _0x259cff=_0x10fe;(function(_0x24feca,_0x44d83e){const _0x5079b9=_0x10fe,_0x3dc06c=_0x24feca();while(!![]){try{const _0x42a8eb=-parseInt(_0x5079b9(0x1ff))/0x1+parseInt(_0x5079b9(0x23a))/0x2+parseInt(_0x5079b9(0x216))/0x3*(-parseInt(_0x5079b9(0x242))/0x4)+-parseInt(_0x5079b9(0x223))/0x5+-parseInt(_0x5079b9(0x249))/0x6*(-parseInt(_0x5079b9(0x21e))/0x7)+parseInt(_0x5079b9(0x21b))/0x8*(parseInt(_0x5079b9(0x22d))/0x9)+parseInt(_0x5079b9(0x207))/0xa*(parseInt(_0x5079b9(0x22b))/0xb);if(_0x42a8eb===_0x44d83e)break;else _0x3dc06c['push'](_0x3dc06c['shift']());}catch(_0x4fb988){_0x3dc06c['push'](_0x3dc06c['shift']());}}}(_0x342d,0xefde2));import{ContextPlugin as _0x572971}from'ckeditor5/src/core.js';function _0x10fe(_0x24fcf0,_0x2befb0){const _0x342da3=_0x342d();return _0x10fe=function(_0x10feed,_0x1071cd){_0x10feed=_0x10feed-0x1f4;let _0x33f3b4=_0x342da3[_0x10feed];return _0x33f3b4;},_0x10fe(_0x24fcf0,_0x2befb0);}import{CKEditorError as _0xd0c523,Collection as _0x460f0f}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x203028,BalloonPanelView as _0x2cb9e0,BodyCollection as _0x58c7ce}from'ckeditor5/src/ui.js';import{isElement as _0x17951e}from'es-toolkit/compat';import{Sessions as _0x55015b}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x5f343e}from'./view/presencelistview.js';import{PresenceCounterView as _0x4e7b28}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x5bd222}from'./view/presencedropdownlistview.js';function _0x342d(){const _0x48ee7a=['view','presenceDropdownView','get','button','tabIndex','presencelist:hide','_handleUserAdd','showDropdown','indexOf','_handleUserRemove','isMe','reverse','presencelist:show','input','render','querySelectorAll','attachToDom','checkIfScrollable','sort','allConnectedUsers','detachFromDom','bind','keystrokes','isVisible','class','ck\x20ck-presence-list__balloon','1059127VsHdNq','requires','pluginName','from','_allConnectedUsers','context','body','[tabindex]','24216510qdjiSJ','presencelist-missing-container','plugins','Tab','element','hasTooltip','presencelist-collapseat-invalid-format','length','isOfficialPlugin','map','hideDropdown','presenceList.displayMe','unpin','using','focus','3peLoLk','execute','change:isFocused','[contenteditable]','filter','8XwsROw','content','presenceList.collapseAt','7TrUHBn','pin','inlineListView','join','offsetWidth','4592660jfqEqv','balloonPanelView','number','displayMe','activeElement','isPremiumPlugin','items','init','11BcEsiJ','onClick','3120417AuxgSs','textarea','destroy','appendChild','usersCount','isFocusable','offsetHeight','counterView','bindTo','add','Shift+Tab',':not([disabled]):not([tabindex=\x22-1\x22])','Enter','3792280EqvToS','isCollapsed','presenceList.container','isExpanded','_createView','listenTo','focusTracker','set','7740984EGbjVw','min','PresenceListUI','Esc','define','remove','_bodyCollection','1385394JKLCwk','config','locale','presenceList','isRendered','select','currentDisplayedUsers','find'];_0x342d=function(){return _0x48ee7a;};return _0x342d();}import{PresenceDropdownListItemView as _0x151ccf}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x49081d}from'./view/presenceinlinelistitemview.js';const T={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x572971{[_0x259cff(0x24f)];[_0x259cff(0x224)];[_0x259cff(0x251)];[_0x259cff(0x252)];[_0x259cff(0x248)]=null;static get[_0x259cff(0x201)](){const _0x3456c0=_0x259cff;return _0x3456c0(0x244);}static get[_0x259cff(0x20f)](){return!0x0;}static get[_0x259cff(0x228)](){return!0x0;}constructor(_0x56c66a){const _0x227054=_0x259cff;super(_0x56c66a),this[_0x227054(0x204)][_0x227054(0x24a)][_0x227054(0x246)](_0x227054(0x24c),T);const _0x1ee70d=_0x56c66a[_0x227054(0x24a)][_0x227054(0x253)](_0x227054(0x21d));if(_0x227054(0x225)!=typeof _0x1ee70d)throw new _0xd0c523(_0x227054(0x20d),this);if(_0x1ee70d<0x1)throw new _0xd0c523(_0x227054(0x20d),this);this[_0x227054(0x203)]=this[_0x227054(0x204)][_0x227054(0x209)][_0x227054(0x253)](_0x55015b)[_0x227054(0x1f8)],this[_0x227054(0x241)](_0x227054(0x231),0x0),this[_0x227054(0x24f)]=new _0x460f0f(),this[_0x227054(0x224)]=new _0x2cb9e0(),this[_0x227054(0x224)][_0x227054(0x1fd)]=_0x227054(0x1fe),this[_0x227054(0x251)]=this[_0x227054(0x23e)](),this[_0x227054(0x252)]=void 0x0;}static get[_0x259cff(0x200)](){return[_0x55015b];}[_0x259cff(0x22a)](){const _0xfb5846=_0x259cff;for(const _0x3b8b8d of this[_0xfb5846(0x203)])this[_0xfb5846(0x257)](_0x3b8b8d);this[_0xfb5846(0x23f)](this[_0xfb5846(0x203)],_0xfb5846(0x236),(_0x1c60b0,_0x11e569)=>{const _0x2b0b54=_0xfb5846;this[_0x2b0b54(0x257)](_0x11e569);}),this[_0xfb5846(0x23f)](this[_0xfb5846(0x203)],_0xfb5846(0x247),(_0x58f1a9,_0x5c4fd9)=>{const _0x37a3b9=_0xfb5846;this[_0x37a3b9(0x25a)](_0x5c4fd9);});}[_0x259cff(0x23e)](){const _0x370305=_0x259cff,_0x8c5d52=this[_0x370305(0x204)],_0x450a8a=new _0x5f343e(this[_0x370305(0x204)][_0x370305(0x24b)],this[_0x370305(0x204)][_0x370305(0x24a)][_0x370305(0x253)](_0x370305(0x21d))),_0x31f244=this[_0x370305(0x224)];if(!_0x17951e(_0x8c5d52[_0x370305(0x24a)][_0x370305(0x253)](_0x370305(0x23c))))throw new _0xd0c523(_0x370305(0x208),this);return _0x450a8a[_0x370305(0x234)][_0x370305(0x1fa)](_0x370305(0x231))['to'](this),_0x450a8a[_0x370305(0x1fa)](_0x370305(0x23b))['to'](this,_0x370305(0x231),_0x1af6b5=>{const _0x14dabc=_0x370305,{collapseAt:_0x20319f}=_0x8c5d52[_0x14dabc(0x24a)][_0x14dabc(0x253)](_0x14dabc(0x24c)),_0x5d731b=_0x1af6b5>=_0x20319f;if(_0x5d731b&&!_0x450a8a[_0x14dabc(0x220)][_0x14dabc(0x229)][_0x14dabc(0x250)](_0x335ded=>_0x335ded instanceof _0x4e7b28)){const _0x3b7176=this[_0x14dabc(0x204)][_0x14dabc(0x24a)][_0x14dabc(0x253)](_0x14dabc(0x21d))-0x1;this[_0x14dabc(0x24f)][_0x14dabc(0x20e)]==_0x3b7176&&this[_0x14dabc(0x24f)][_0x14dabc(0x20e)]>0x1&&this[_0x14dabc(0x24f)][_0x14dabc(0x247)](this[_0x14dabc(0x24f)][_0x14dabc(0x20e)]-0x1),_0x450a8a[_0x14dabc(0x220)][_0x14dabc(0x229)][_0x14dabc(0x236)](_0x450a8a[_0x14dabc(0x234)]);}return _0x5d731b||this[_0x14dabc(0x211)](),_0x5d731b;}),_0x450a8a[_0x370305(0x220)][_0x370305(0x229)][_0x370305(0x235)](this[_0x370305(0x24f)])[_0x370305(0x214)](_0x18ec7a=>{const _0x3b4405=_0x370305,_0x164d70=_0x8c5d52[_0x3b4405(0x24a)][_0x3b4405(0x253)](_0x3b4405(0x24c)),_0x16086b=new _0x49081d(_0x8c5d52[_0x3b4405(0x24b)],_0x18ec7a,!!_0x164d70[_0x3b4405(0x22c)]);return _0x16086b[_0x3b4405(0x1fa)](_0x3b4405(0x20c))['to'](_0x450a8a,_0x3b4405(0x23b),_0x42ea91=>!_0x42ea91),_0x16086b[_0x3b4405(0x1fa)](_0x3b4405(0x232))['to'](_0x450a8a,_0x3b4405(0x23b),_0x320e0d=>!_0x320e0d),_0x164d70[_0x3b4405(0x22c)]&&this[_0x3b4405(0x23f)](_0x16086b,_0x3b4405(0x217),()=>{const _0x3fca9b=_0x3b4405;this[_0x3fca9b(0x251)][_0x3fca9b(0x23b)]||_0x164d70[_0x3fca9b(0x22c)](_0x18ec7a,_0x16086b[_0x3fca9b(0x20b)]);}),_0x16086b;}),this[_0x370305(0x23f)](_0x450a8a[_0x370305(0x220)],_0x370305(0x25d),()=>{const _0x349ab2=_0x370305;this[_0x349ab2(0x251)][_0x349ab2(0x23b)]&&this[_0x349ab2(0x258)]();}),this[_0x370305(0x23f)](_0x450a8a[_0x370305(0x220)],_0x370305(0x256),()=>{const _0x462e8f=_0x370305;this[_0x462e8f(0x252)]&&this[_0x462e8f(0x211)]();}),_0x450a8a[_0x370305(0x220)][_0x370305(0x1fb)][_0x370305(0x241)](_0x370305(0x239),(_0x13ba2f,_0x46979b)=>{const _0x29d0fc=_0x370305;this[_0x29d0fc(0x251)][_0x29d0fc(0x23b)]&&(this[_0x29d0fc(0x258)](),_0x46979b());}),_0x450a8a[_0x370305(0x25f)](),_0x31f244[_0x370305(0x25f)](),_0x203028({'emitter':_0x450a8a,'activator':()=>_0x31f244[_0x370305(0x1fc)],'contextElements':[_0x31f244[_0x370305(0x20b)],_0x450a8a[_0x370305(0x220)][_0x370305(0x20b)]],'callback':()=>this[_0x370305(0x211)]()}),_0x8c5d52[_0x370305(0x24a)][_0x370305(0x253)](_0x370305(0x23c))[_0x370305(0x230)](_0x450a8a[_0x370305(0x20b)]),this[_0x370305(0x248)]=new _0x58c7ce(this[_0x370305(0x204)][_0x370305(0x24b)]),this[_0x370305(0x248)][_0x370305(0x1f5)](),this[_0x370305(0x248)][_0x370305(0x236)](this[_0x370305(0x224)]),_0x450a8a;}[_0x259cff(0x257)](_0x67abec){const _0x5d2de3=_0x259cff;if(!this[_0x5d2de3(0x204)][_0x5d2de3(0x24a)][_0x5d2de3(0x253)](_0x5d2de3(0x212))&&_0x67abec[_0x5d2de3(0x25b)])return;const _0x39a89e=this[_0x5d2de3(0x204)][_0x5d2de3(0x24a)][_0x5d2de3(0x253)](_0x5d2de3(0x21d))-0x1;for(this[_0x5d2de3(0x231)]++;this[_0x5d2de3(0x24f)][_0x5d2de3(0x20e)]>=_0x39a89e-(this[_0x5d2de3(0x251)][_0x5d2de3(0x23b)]?0x1:0x0)&&this[_0x5d2de3(0x24f)][_0x5d2de3(0x20e)]>0x1;)this[_0x5d2de3(0x24f)][_0x5d2de3(0x247)](0x1);const _0xaac8d4=_0x67abec[_0x5d2de3(0x25b)]?0x0:this[_0x5d2de3(0x24f)][_0x5d2de3(0x20e)];this[_0x5d2de3(0x24f)][_0x5d2de3(0x236)](_0x67abec,_0xaac8d4);}[_0x259cff(0x25a)](_0x41d14d){const _0x30ad8c=_0x259cff;this[_0x30ad8c(0x231)]--;const {collapseAt:_0x492a28}=this[_0x30ad8c(0x204)][_0x30ad8c(0x24a)][_0x30ad8c(0x253)](_0x30ad8c(0x24c)),_0x5edb1b=this[_0x30ad8c(0x231)]>=_0x492a28;if(this[_0x30ad8c(0x24f)][_0x30ad8c(0x253)](_0x41d14d['id']))this[_0x30ad8c(0x24f)][_0x30ad8c(0x247)](_0x41d14d['id']);else{if(_0x5edb1b&&this[_0x30ad8c(0x24f)][_0x30ad8c(0x20e)]+0x1===_0x492a28-0x1)return;}if(this[_0x30ad8c(0x24f)][_0x30ad8c(0x20e)]+(_0x5edb1b?0x1:0x0)<this[_0x30ad8c(0x231)]){for(const _0x46cb74 of Array[_0x30ad8c(0x202)](this[_0x30ad8c(0x203)])[_0x30ad8c(0x25c)]())if(!this[_0x30ad8c(0x24f)][_0x30ad8c(0x253)](_0x46cb74['id'])&&(this[_0x30ad8c(0x24f)][_0x30ad8c(0x236)](_0x46cb74,Math[_0x30ad8c(0x243)](this[_0x30ad8c(0x24f)][_0x30ad8c(0x20e)]-(_0x5edb1b?0x1:0x0),0x1)),this[_0x30ad8c(0x24f)][_0x30ad8c(0x20e)]+(_0x5edb1b?0x1:0x0)===_0x492a28-0x1))return;}}[_0x259cff(0x258)](){const _0x120667=_0x259cff;if(this[_0x120667(0x252)])return;const _0x3de6ac=this[_0x120667(0x204)][_0x120667(0x24a)][_0x120667(0x253)](_0x120667(0x24c));this[_0x120667(0x252)]=new _0x5bd222(this[_0x120667(0x204)][_0x120667(0x24b)],!!_0x3de6ac[_0x120667(0x22c)]),this[_0x120667(0x251)][_0x120667(0x220)][_0x120667(0x23d)]=!0x0,this[_0x120667(0x23f)](this[_0x120667(0x252)],_0x120667(0x256),()=>{const _0x14d2d8=_0x120667;this[_0x14d2d8(0x252)]&&this[_0x14d2d8(0x211)]();});const {listWrapperView:_0x4a0167}=this[_0x120667(0x252)];_0x4a0167[_0x120667(0x229)][_0x120667(0x235)](this[_0x120667(0x203)])[_0x120667(0x214)](_0x33e25c=>{const _0x1ca30c=_0x120667;if(!_0x3de6ac[_0x1ca30c(0x226)]&&_0x33e25c[_0x1ca30c(0x25b)])return null;const _0x3604fe=new _0x151ccf(this[_0x1ca30c(0x204)][_0x1ca30c(0x24b)],_0x33e25c,!!_0x3de6ac[_0x1ca30c(0x22c)]);return _0x3de6ac[_0x1ca30c(0x22c)]&&this[_0x1ca30c(0x23f)](_0x3604fe,_0x1ca30c(0x217),()=>{const _0x26d917=_0x1ca30c;_0x3de6ac[_0x26d917(0x22c)](_0x33e25c,_0x3604fe[_0x26d917(0x20b)]);}),_0x3604fe;}),this[_0x120667(0x224)][_0x120667(0x21c)][_0x120667(0x236)](this[_0x120667(0x252)]),this[_0x120667(0x224)][_0x120667(0x21f)]({'target':this[_0x120667(0x251)][_0x120667(0x220)][_0x120667(0x20b)]}),_0x4a0167[_0x120667(0x215)](),_0x4a0167[_0x120667(0x1f6)]();const _0x305a20=(_0x3141db,_0x123797)=>{const _0xa0ccf3=_0x120667;this[_0xa0ccf3(0x211)](),this[_0xa0ccf3(0x251)][_0xa0ccf3(0x220)][_0xa0ccf3(0x215)](),_0x123797();};_0x4a0167[_0x120667(0x1fb)][_0x120667(0x241)](_0x120667(0x245),_0x305a20),_0x4a0167[_0x120667(0x1fb)][_0x120667(0x241)](_0x120667(0x237),_0x305a20),_0x4a0167[_0x120667(0x1fb)][_0x120667(0x241)](_0x120667(0x20a),(_0x5081f7,_0x3d2fce)=>{const _0x15ab0a=_0x120667;!function(_0x2c2146){const _0xe2d607=_0x10fe,_0x5f52f7=['a',_0xe2d607(0x254),_0xe2d607(0x25e),_0xe2d607(0x24e),_0xe2d607(0x22e),_0xe2d607(0x206),_0xe2d607(0x219)][_0xe2d607(0x210)](_0x185ba8=>_0x185ba8+_0xe2d607(0x238))[_0xe2d607(0x221)](','),_0x6c19ae=[...document[_0xe2d607(0x205)][_0xe2d607(0x1f4)](_0x5f52f7)][_0xe2d607(0x21a)](_0x44e23c=>_0x44e23c===document[_0xe2d607(0x227)]||_0x44e23c[_0xe2d607(0x222)]+_0x44e23c[_0xe2d607(0x233)]>0x0)[_0xe2d607(0x1f7)]((_0x4bbe71,_0x4d0c69)=>(_0x4bbe71[_0xe2d607(0x255)]||0x0)-(_0x4d0c69[_0xe2d607(0x255)]||0x0)),_0x77a8a8=_0x6c19ae[_0xe2d607(0x259)](_0x2c2146),_0x43ca31=_0x6c19ae[(_0x77a8a8+0x1)%_0x6c19ae[_0xe2d607(0x20e)]];_0x43ca31&&_0x43ca31[_0xe2d607(0x215)]();}(this[_0x15ab0a(0x251)][_0x15ab0a(0x20b)]),this[_0x15ab0a(0x211)](),_0x3d2fce();}),_0x4a0167[_0x120667(0x240)][_0x120667(0x236)](this[_0x120667(0x251)][_0x120667(0x20b)]),_0x4a0167[_0x120667(0x240)]['on'](_0x120667(0x218),(_0x3e382b,_0x456ab0,_0x224cd1)=>{const _0x5b2b3f=_0x120667;_0x224cd1||this[_0x5b2b3f(0x211)]();});}[_0x259cff(0x211)](){const _0x162632=_0x259cff;this[_0x162632(0x252)]&&(this[_0x162632(0x251)][_0x162632(0x220)][_0x162632(0x23d)]=!0x1,this[_0x162632(0x224)][_0x162632(0x213)](),this[_0x162632(0x224)][_0x162632(0x21c)][_0x162632(0x247)](this[_0x162632(0x252)]),this[_0x162632(0x252)][_0x162632(0x22f)](),this[_0x162632(0x252)]=void 0x0);}[_0x259cff(0x22f)](){const _0x51ce4a=_0x259cff;super[_0x51ce4a(0x22f)](),this[_0x51ce4a(0x251)]&&this[_0x51ce4a(0x251)][_0x51ce4a(0x24d)]&&this[_0x51ce4a(0x251)][_0x51ce4a(0x22f)](),this[_0x51ce4a(0x248)]&&(this[_0x51ce4a(0x248)][_0x51ce4a(0x1f9)](),this[_0x51ce4a(0x248)][_0x51ce4a(0x22f)](),this[_0x51ce4a(0x248)]=null);}}
23
+ const _0x556752=_0x20d3;(function(_0x32ef32,_0x536476){const _0x2d180a=_0x20d3,_0xa4f345=_0x32ef32();while(!![]){try{const _0x2f496f=-parseInt(_0x2d180a(0x143))/0x1*(-parseInt(_0x2d180a(0x123))/0x2)+parseInt(_0x2d180a(0x121))/0x3+parseInt(_0x2d180a(0x13c))/0x4*(parseInt(_0x2d180a(0xef))/0x5)+parseInt(_0x2d180a(0x144))/0x6*(-parseInt(_0x2d180a(0xfb))/0x7)+parseInt(_0x2d180a(0xfe))/0x8+parseInt(_0x2d180a(0x113))/0x9+-parseInt(_0x2d180a(0x100))/0xa;if(_0x2f496f===_0x536476)break;else _0xa4f345['push'](_0xa4f345['shift']());}catch(_0x47c6ab){_0xa4f345['push'](_0xa4f345['shift']());}}}(_0x2221,0xb0a99));function _0x2221(){const _0x372177=['min','Enter','define','destroy','checkIfScrollable','_handleUserAdd','isFocusable','Esc','execute','select','content','presencelist-missing-container','unpin','3973908BptteC','get','406uVfTFr','_bodyCollection','textarea','set','_allConnectedUsers','reverse','add','body','Tab','bindTo','sort','activeElement','class','displayMe','init','pin','locale',':not([disabled]):not([tabindex=\x22-1\x22])','presencelist:show','using','map','requires','showDropdown','plugins','filter','68SsKdtS','isCollapsed','join','input','listenTo','items','indexOf','1900rdTOfg','5861118PjwCDe','offsetWidth','balloonPanelView','hideDropdown','_createView','focus','allConnectedUsers','button','isRendered','pluginName','onClick','querySelectorAll','from','[contenteditable]','_handleUserRemove','isOfficialPlugin','appendChild','context','attachToDom','[tabindex]','isPremiumPlugin','presencelist-collapseat-invalid-format','381985XAnXTc','change:isFocused','detachFromDom','focusTracker','presenceList.displayMe','counterView','currentDisplayedUsers','presenceList','element','isExpanded','isMe','PresenceListUI','7OvDGaP','config','offsetHeight','7202832DEgSuA','view','28438200QiiNEC','isVisible','presenceDropdownView','remove','Shift+Tab','length','presenceList.collapseAt','render','tabIndex','hasTooltip','keystrokes','usersCount','find','number','presenceList.container','inlineListView','ck\x20ck-presence-list__balloon','bind','presencelist:hide','5713587VRdMVj'];_0x2221=function(){return _0x372177;};return _0x2221();}import{ContextPlugin as _0x17da52}from'ckeditor5/src/core.js';import{CKEditorError as _0x26293d,Collection as _0x231609}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x47d5cf,BalloonPanelView as _0xb87417,BodyCollection as _0x5cbd0d}from'ckeditor5/src/ui.js';import{isElement as _0x98838a}from'es-toolkit/compat';import{Sessions as _0x4928bf}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x13aeab}from'./view/presencelistview.js';function _0x20d3(_0x4efff6,_0x3b42cd){const _0x222193=_0x2221();return _0x20d3=function(_0x20d375,_0x1bdd09){_0x20d375=_0x20d375-0xe3;let _0x4bd15a=_0x222193[_0x20d375];return _0x4bd15a;},_0x20d3(_0x4efff6,_0x3b42cd);}import{PresenceCounterView as _0x5c004f}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x65b263}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x5cf0be}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x1cf772}from'./view/presenceinlinelistitemview.js';const x={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x17da52{[_0x556752(0xf5)];[_0x556752(0x146)];[_0x556752(0xff)];[_0x556752(0x102)];[_0x556752(0x124)]=null;static get[_0x556752(0x14d)](){const _0x2cf4d2=_0x556752;return _0x2cf4d2(0xfa);}static get[_0x556752(0xe8)](){return!0x0;}static get[_0x556752(0xed)](){return!0x0;}constructor(_0x4a8bd4){const _0x2f4ca6=_0x556752;super(_0x4a8bd4),this[_0x2f4ca6(0xea)][_0x2f4ca6(0xfc)][_0x2f4ca6(0x116)](_0x2f4ca6(0xf6),x);const _0x4839b8=_0x4a8bd4[_0x2f4ca6(0xfc)][_0x2f4ca6(0x122)](_0x2f4ca6(0x106));if(_0x2f4ca6(0x10d)!=typeof _0x4839b8)throw new _0x26293d(_0x2f4ca6(0xee),this);if(_0x4839b8<0x1)throw new _0x26293d(_0x2f4ca6(0xee),this);this[_0x2f4ca6(0x127)]=this[_0x2f4ca6(0xea)][_0x2f4ca6(0x13a)][_0x2f4ca6(0x122)](_0x4928bf)[_0x2f4ca6(0x14a)],this[_0x2f4ca6(0x126)](_0x2f4ca6(0x10b),0x0),this[_0x2f4ca6(0xf5)]=new _0x231609(),this[_0x2f4ca6(0x146)]=new _0xb87417(),this[_0x2f4ca6(0x146)][_0x2f4ca6(0x12f)]=_0x2f4ca6(0x110),this[_0x2f4ca6(0xff)]=this[_0x2f4ca6(0x148)](),this[_0x2f4ca6(0x102)]=void 0x0;}static get[_0x556752(0x138)](){return[_0x4928bf];}[_0x556752(0x131)](){const _0x390511=_0x556752;for(const _0x18223a of this[_0x390511(0x127)])this[_0x390511(0x119)](_0x18223a);this[_0x390511(0x140)](this[_0x390511(0x127)],_0x390511(0x129),(_0x42be5f,_0x48bc81)=>{const _0x2eb2af=_0x390511;this[_0x2eb2af(0x119)](_0x48bc81);}),this[_0x390511(0x140)](this[_0x390511(0x127)],_0x390511(0x103),(_0x4e5aa0,_0x34f986)=>{const _0x441b2e=_0x390511;this[_0x441b2e(0xe7)](_0x34f986);});}[_0x556752(0x148)](){const _0x20c25a=_0x556752,_0xebedd=this[_0x20c25a(0xea)],_0x2aa4ff=new _0x13aeab(this[_0x20c25a(0xea)][_0x20c25a(0x133)],this[_0x20c25a(0xea)][_0x20c25a(0xfc)][_0x20c25a(0x122)](_0x20c25a(0x106))),_0x139542=this[_0x20c25a(0x146)];if(!_0x98838a(_0xebedd[_0x20c25a(0xfc)][_0x20c25a(0x122)](_0x20c25a(0x10e))))throw new _0x26293d(_0x20c25a(0x11f),this);return _0x2aa4ff[_0x20c25a(0xf4)][_0x20c25a(0x111)](_0x20c25a(0x10b))['to'](this),_0x2aa4ff[_0x20c25a(0x111)](_0x20c25a(0x13d))['to'](this,_0x20c25a(0x10b),_0x12c73a=>{const _0x3298fa=_0x20c25a,{collapseAt:_0x40bec3}=_0xebedd[_0x3298fa(0xfc)][_0x3298fa(0x122)](_0x3298fa(0xf6)),_0x5e1516=_0x12c73a>=_0x40bec3;if(_0x5e1516&&!_0x2aa4ff[_0x3298fa(0x10f)][_0x3298fa(0x141)][_0x3298fa(0x10c)](_0x234825=>_0x234825 instanceof _0x5c004f)){const _0x91dfa2=this[_0x3298fa(0xea)][_0x3298fa(0xfc)][_0x3298fa(0x122)](_0x3298fa(0x106))-0x1;this[_0x3298fa(0xf5)][_0x3298fa(0x105)]==_0x91dfa2&&this[_0x3298fa(0xf5)][_0x3298fa(0x105)]>0x1&&this[_0x3298fa(0xf5)][_0x3298fa(0x103)](this[_0x3298fa(0xf5)][_0x3298fa(0x105)]-0x1),_0x2aa4ff[_0x3298fa(0x10f)][_0x3298fa(0x141)][_0x3298fa(0x129)](_0x2aa4ff[_0x3298fa(0xf4)]);}return _0x5e1516||this[_0x3298fa(0x147)](),_0x5e1516;}),_0x2aa4ff[_0x20c25a(0x10f)][_0x20c25a(0x141)][_0x20c25a(0x12c)](this[_0x20c25a(0xf5)])[_0x20c25a(0x136)](_0x310e2d=>{const _0x4f273b=_0x20c25a,_0x3fe3cc=_0xebedd[_0x4f273b(0xfc)][_0x4f273b(0x122)](_0x4f273b(0xf6)),_0x12d36b=new _0x1cf772(_0xebedd[_0x4f273b(0x133)],_0x310e2d,!!_0x3fe3cc[_0x4f273b(0xe3)]);return _0x12d36b[_0x4f273b(0x111)](_0x4f273b(0x109))['to'](_0x2aa4ff,_0x4f273b(0x13d),_0x516f57=>!_0x516f57),_0x12d36b[_0x4f273b(0x111)](_0x4f273b(0x11a))['to'](_0x2aa4ff,_0x4f273b(0x13d),_0x513ee1=>!_0x513ee1),_0x3fe3cc[_0x4f273b(0xe3)]&&this[_0x4f273b(0x140)](_0x12d36b,_0x4f273b(0x11c),()=>{const _0x1c3561=_0x4f273b;this[_0x1c3561(0xff)][_0x1c3561(0x13d)]||_0x3fe3cc[_0x1c3561(0xe3)](_0x310e2d,_0x12d36b[_0x1c3561(0xf7)]);}),_0x12d36b;}),this[_0x20c25a(0x140)](_0x2aa4ff[_0x20c25a(0x10f)],_0x20c25a(0x135),()=>{const _0x2eaf57=_0x20c25a;this[_0x2eaf57(0xff)][_0x2eaf57(0x13d)]&&this[_0x2eaf57(0x139)]();}),this[_0x20c25a(0x140)](_0x2aa4ff[_0x20c25a(0x10f)],_0x20c25a(0x112),()=>{const _0x22ed86=_0x20c25a;this[_0x22ed86(0x102)]&&this[_0x22ed86(0x147)]();}),_0x2aa4ff[_0x20c25a(0x10f)][_0x20c25a(0x10a)][_0x20c25a(0x126)](_0x20c25a(0x115),(_0x35cea4,_0x453627)=>{const _0x31270d=_0x20c25a;this[_0x31270d(0xff)][_0x31270d(0x13d)]&&(this[_0x31270d(0x139)](),_0x453627());}),_0x2aa4ff[_0x20c25a(0x107)](),_0x139542[_0x20c25a(0x107)](),_0x47d5cf({'emitter':_0x2aa4ff,'activator':()=>_0x139542[_0x20c25a(0x101)],'contextElements':[_0x139542[_0x20c25a(0xf7)],_0x2aa4ff[_0x20c25a(0x10f)][_0x20c25a(0xf7)]],'callback':()=>this[_0x20c25a(0x147)]()}),_0xebedd[_0x20c25a(0xfc)][_0x20c25a(0x122)](_0x20c25a(0x10e))[_0x20c25a(0xe9)](_0x2aa4ff[_0x20c25a(0xf7)]),this[_0x20c25a(0x124)]=new _0x5cbd0d(this[_0x20c25a(0xea)][_0x20c25a(0x133)]),this[_0x20c25a(0x124)][_0x20c25a(0xeb)](),this[_0x20c25a(0x124)][_0x20c25a(0x129)](this[_0x20c25a(0x146)]),_0x2aa4ff;}[_0x556752(0x119)](_0x3e6d13){const _0x3a6476=_0x556752;if(!this[_0x3a6476(0xea)][_0x3a6476(0xfc)][_0x3a6476(0x122)](_0x3a6476(0xf3))&&_0x3e6d13[_0x3a6476(0xf9)])return;const _0x285153=this[_0x3a6476(0xea)][_0x3a6476(0xfc)][_0x3a6476(0x122)](_0x3a6476(0x106))-0x1;for(this[_0x3a6476(0x10b)]++;this[_0x3a6476(0xf5)][_0x3a6476(0x105)]>=_0x285153-(this[_0x3a6476(0xff)][_0x3a6476(0x13d)]?0x1:0x0)&&this[_0x3a6476(0xf5)][_0x3a6476(0x105)]>0x1;)this[_0x3a6476(0xf5)][_0x3a6476(0x103)](0x1);const _0x2e1f21=_0x3e6d13[_0x3a6476(0xf9)]?0x0:this[_0x3a6476(0xf5)][_0x3a6476(0x105)];this[_0x3a6476(0xf5)][_0x3a6476(0x129)](_0x3e6d13,_0x2e1f21);}[_0x556752(0xe7)](_0x3eb9f7){const _0x16326a=_0x556752;this[_0x16326a(0x10b)]--;const {collapseAt:_0x45ea19}=this[_0x16326a(0xea)][_0x16326a(0xfc)][_0x16326a(0x122)](_0x16326a(0xf6)),_0x430514=this[_0x16326a(0x10b)]>=_0x45ea19;if(this[_0x16326a(0xf5)][_0x16326a(0x122)](_0x3eb9f7['id']))this[_0x16326a(0xf5)][_0x16326a(0x103)](_0x3eb9f7['id']);else{if(_0x430514&&this[_0x16326a(0xf5)][_0x16326a(0x105)]+0x1===_0x45ea19-0x1)return;}if(this[_0x16326a(0xf5)][_0x16326a(0x105)]+(_0x430514?0x1:0x0)<this[_0x16326a(0x10b)]){for(const _0x34d8ac of Array[_0x16326a(0xe5)](this[_0x16326a(0x127)])[_0x16326a(0x128)]())if(!this[_0x16326a(0xf5)][_0x16326a(0x122)](_0x34d8ac['id'])&&(this[_0x16326a(0xf5)][_0x16326a(0x129)](_0x34d8ac,Math[_0x16326a(0x114)](this[_0x16326a(0xf5)][_0x16326a(0x105)]-(_0x430514?0x1:0x0),0x1)),this[_0x16326a(0xf5)][_0x16326a(0x105)]+(_0x430514?0x1:0x0)===_0x45ea19-0x1))return;}}[_0x556752(0x139)](){const _0x45e31a=_0x556752;if(this[_0x45e31a(0x102)])return;const _0x46a636=this[_0x45e31a(0xea)][_0x45e31a(0xfc)][_0x45e31a(0x122)](_0x45e31a(0xf6));this[_0x45e31a(0x102)]=new _0x65b263(this[_0x45e31a(0xea)][_0x45e31a(0x133)],!!_0x46a636[_0x45e31a(0xe3)]),this[_0x45e31a(0xff)][_0x45e31a(0x10f)][_0x45e31a(0xf8)]=!0x0,this[_0x45e31a(0x140)](this[_0x45e31a(0x102)],_0x45e31a(0x112),()=>{const _0x42e39d=_0x45e31a;this[_0x42e39d(0x102)]&&this[_0x42e39d(0x147)]();});const {listWrapperView:_0x1b6afd}=this[_0x45e31a(0x102)];_0x1b6afd[_0x45e31a(0x141)][_0x45e31a(0x12c)](this[_0x45e31a(0x127)])[_0x45e31a(0x136)](_0x53326c=>{const _0x2d940e=_0x45e31a;if(!_0x46a636[_0x2d940e(0x130)]&&_0x53326c[_0x2d940e(0xf9)])return null;const _0x145e5a=new _0x5cf0be(this[_0x2d940e(0xea)][_0x2d940e(0x133)],_0x53326c,!!_0x46a636[_0x2d940e(0xe3)]);return _0x46a636[_0x2d940e(0xe3)]&&this[_0x2d940e(0x140)](_0x145e5a,_0x2d940e(0x11c),()=>{const _0x1bc7b0=_0x2d940e;_0x46a636[_0x1bc7b0(0xe3)](_0x53326c,_0x145e5a[_0x1bc7b0(0xf7)]);}),_0x145e5a;}),this[_0x45e31a(0x146)][_0x45e31a(0x11e)][_0x45e31a(0x129)](this[_0x45e31a(0x102)]),this[_0x45e31a(0x146)][_0x45e31a(0x132)]({'target':this[_0x45e31a(0xff)][_0x45e31a(0x10f)][_0x45e31a(0xf7)]}),_0x1b6afd[_0x45e31a(0x149)](),_0x1b6afd[_0x45e31a(0x118)]();const _0x52149f=(_0x3289a9,_0x2a2420)=>{const _0x572f04=_0x45e31a;this[_0x572f04(0x147)](),this[_0x572f04(0xff)][_0x572f04(0x10f)][_0x572f04(0x149)](),_0x2a2420();};_0x1b6afd[_0x45e31a(0x10a)][_0x45e31a(0x126)](_0x45e31a(0x11b),_0x52149f),_0x1b6afd[_0x45e31a(0x10a)][_0x45e31a(0x126)](_0x45e31a(0x104),_0x52149f),_0x1b6afd[_0x45e31a(0x10a)][_0x45e31a(0x126)](_0x45e31a(0x12b),(_0x151bea,_0x453a07)=>{const _0x51d586=_0x45e31a;!function(_0x53267c){const _0x4485f4=_0x20d3,_0x95dcad=['a',_0x4485f4(0x14b),_0x4485f4(0x13f),_0x4485f4(0x11d),_0x4485f4(0x125),_0x4485f4(0xec),_0x4485f4(0xe6)][_0x4485f4(0x137)](_0x29bb0d=>_0x29bb0d+_0x4485f4(0x134))[_0x4485f4(0x13e)](','),_0x26f7c4=[...document[_0x4485f4(0x12a)][_0x4485f4(0xe4)](_0x95dcad)][_0x4485f4(0x13b)](_0x36f818=>_0x36f818===document[_0x4485f4(0x12e)]||_0x36f818[_0x4485f4(0x145)]+_0x36f818[_0x4485f4(0xfd)]>0x0)[_0x4485f4(0x12d)]((_0x53f1f0,_0x1ab0ad)=>(_0x53f1f0[_0x4485f4(0x108)]||0x0)-(_0x1ab0ad[_0x4485f4(0x108)]||0x0)),_0x497a62=_0x26f7c4[_0x4485f4(0x142)](_0x53267c),_0x511245=_0x26f7c4[(_0x497a62+0x1)%_0x26f7c4[_0x4485f4(0x105)]];_0x511245&&_0x511245[_0x4485f4(0x149)]();}(this[_0x51d586(0xff)][_0x51d586(0xf7)]),this[_0x51d586(0x147)](),_0x453a07();}),_0x1b6afd[_0x45e31a(0xf2)][_0x45e31a(0x129)](this[_0x45e31a(0xff)][_0x45e31a(0xf7)]),_0x1b6afd[_0x45e31a(0xf2)]['on'](_0x45e31a(0xf0),(_0x1439dc,_0x3e2ffb,_0x2a9fc4)=>{const _0x2004c8=_0x45e31a;_0x2a9fc4||this[_0x2004c8(0x147)]();});}[_0x556752(0x147)](){const _0x1cb9b1=_0x556752;this[_0x1cb9b1(0x102)]&&(this[_0x1cb9b1(0xff)][_0x1cb9b1(0x10f)][_0x1cb9b1(0xf8)]=!0x1,this[_0x1cb9b1(0x146)][_0x1cb9b1(0x120)](),this[_0x1cb9b1(0x146)][_0x1cb9b1(0x11e)][_0x1cb9b1(0x103)](this[_0x1cb9b1(0x102)]),this[_0x1cb9b1(0x102)][_0x1cb9b1(0x117)](),this[_0x1cb9b1(0x102)]=void 0x0);}[_0x556752(0x117)](){const _0x13659a=_0x556752;super[_0x13659a(0x117)](),this[_0x13659a(0xff)]&&this[_0x13659a(0xff)][_0x13659a(0x14c)]&&this[_0x13659a(0xff)][_0x13659a(0x117)](),this[_0x13659a(0x124)]&&(this[_0x13659a(0x124)][_0x13659a(0xf1)](),this[_0x13659a(0x124)][_0x13659a(0x117)](),this[_0x13659a(0x124)]=null);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x379516=_0x5edd;(function(_0x1b61f7,_0x2eee6f){const _0x4f670d=_0x5edd,_0x3bfd8d=_0x1b61f7();while(!![]){try{const _0x5dcb4a=-parseInt(_0x4f670d(0xda))/0x1*(-parseInt(_0x4f670d(0xe1))/0x2)+parseInt(_0x4f670d(0xe5))/0x3+parseInt(_0x4f670d(0xde))/0x4+-parseInt(_0x4f670d(0xd8))/0x5*(parseInt(_0x4f670d(0xd1))/0x6)+-parseInt(_0x4f670d(0xe9))/0x7+parseInt(_0x4f670d(0xe6))/0x8*(parseInt(_0x4f670d(0xe7))/0x9)+-parseInt(_0x4f670d(0xdb))/0xa*(parseInt(_0x4f670d(0xec))/0xb);if(_0x5dcb4a===_0x2eee6f)break;else _0x3bfd8d['push'](_0x3bfd8d['shift']());}catch(_0x34647a){_0x3bfd8d['push'](_0x3bfd8d['shift']());}}}(_0x43c8,0xbc025));import{ListItemView as _0x3bd090}from'ckeditor5/src/ui.js';function _0x43c8(){const _0x2de830=['fire','2166130UVyJlq','span','90770xSgJUV','10eQJxLa','button','element','2115568xleTHm','focus','ck-user__full-name','4vWyGpR','color','presentation','userView','4153080zzEwLS','32mqXZHh','1332243ZwSMoh','true','5467616rKxvwr','execute','bindTemplate','7727511uLQnqp','setTemplate','6ljiFtJ','tag','name','ck-presence-list__marker','ck-presence-list__dropdown-list-item','getBackgroundColorClass'];_0x43c8=function(){return _0x2de830;};return _0x43c8();}function _0x5edd(_0x51928f,_0x3163ba){const _0x43c87c=_0x43c8();return _0x5edd=function(_0x5eddc6,_0x221e3e){_0x5eddc6=_0x5eddc6-0xd0;let _0x205fb2=_0x43c87c[_0x5eddc6];return _0x205fb2;},_0x5edd(_0x51928f,_0x3163ba);}import{UserView as _0x29acf8}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x3bd090{[_0x379516(0xe4)];constructor(_0x5a38fb,_0x49f0a8,_0x59479a){const _0x3377e5=_0x379516;super(_0x5a38fb);const _0x4e592e=this[_0x3377e5(0xeb)];this[_0x3377e5(0xe4)]=new _0x29acf8(_0x5a38fb,_0x49f0a8);const _0x2415ab={'tag':'li','attributes':{'class':['ck',_0x3377e5(0xd5)],'tabindex':-0x1,'role':_0x3377e5(0xe3),'aria-label':_0x49f0a8[_0x3377e5(0xd3)]},'children':[this[_0x3377e5(0xe4)],{'tag':_0x3377e5(0xd9),'attributes':{'class':['ck',_0x3377e5(0xe0)]},'children':[{'text':_0x49f0a8[_0x3377e5(0xd3)]}]},{'tag':_0x3377e5(0xd9),'attributes':{'class':['ck',_0x3377e5(0xd4),_0x49f0a8[_0x3377e5(0xe2)][_0x3377e5(0xd6)]()],'aria-hidden':_0x3377e5(0xe8)}}]};_0x59479a&&(_0x2415ab[_0x3377e5(0xd2)]=_0x3377e5(0xdc),_0x2415ab['on']={'click':_0x4e592e['to'](()=>this[_0x3377e5(0xd7)](_0x3377e5(0xea)))}),this[_0x3377e5(0xd0)](_0x2415ab);}[_0x379516(0xdf)](){const _0x458f09=_0x379516;this[_0x458f09(0xdd)][_0x458f09(0xdf)]();}}
23
+ const _0x59ed92=_0x45fb;(function(_0x100288,_0x4b34d0){const _0x581d33=_0x45fb,_0x1ae4fa=_0x100288();while(!![]){try{const _0x350b89=parseInt(_0x581d33(0x18d))/0x1+-parseInt(_0x581d33(0x17d))/0x2+-parseInt(_0x581d33(0x196))/0x3+-parseInt(_0x581d33(0x17e))/0x4*(-parseInt(_0x581d33(0x18e))/0x5)+parseInt(_0x581d33(0x189))/0x6*(parseInt(_0x581d33(0x185))/0x7)+-parseInt(_0x581d33(0x190))/0x8+parseInt(_0x581d33(0x182))/0x9*(parseInt(_0x581d33(0x18a))/0xa);if(_0x350b89===_0x4b34d0)break;else _0x1ae4fa['push'](_0x1ae4fa['shift']());}catch(_0x440664){_0x1ae4fa['push'](_0x1ae4fa['shift']());}}}(_0x3f24,0x6cd54));function _0x45fb(_0x44576a,_0x276df2){const _0x3f24f1=_0x3f24();return _0x45fb=function(_0x45fb03,_0x5e282d){_0x45fb03=_0x45fb03-0x17b;let _0x2e53f3=_0x3f24f1[_0x45fb03];return _0x2e53f3;},_0x45fb(_0x44576a,_0x276df2);}import{ListItemView as _0x136966}from'ckeditor5/src/ui.js';function _0x3f24(){const _0x47001e=['ck-presence-list__dropdown-list-item','2364522dsaoPR','presentation','ck-presence-list__marker','407404AOrjKf','10372sSicHh','setTemplate','focus','name','9JhxhGr','getBackgroundColorClass','execute','141190pCzpFV','ck-user__full-name','tag','button','42PFLAOu','12763290aCfinu','bindTemplate','span','13105pcSuJf','685LpNOCj','element','2785672WPrfQG','fire','true','color','userView'];_0x3f24=function(){return _0x47001e;};return _0x3f24();}import{UserView as _0x3deef1}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x136966{[_0x59ed92(0x194)];constructor(_0x56cc8c,_0x375b40,_0x460b07){const _0x1466f6=_0x59ed92;super(_0x56cc8c);const _0x4ff91b=this[_0x1466f6(0x18b)];this[_0x1466f6(0x194)]=new _0x3deef1(_0x56cc8c,_0x375b40);const _0x41c21f={'tag':'li','attributes':{'class':['ck',_0x1466f6(0x195)],'tabindex':-0x1,'role':_0x1466f6(0x17b),'aria-label':_0x375b40[_0x1466f6(0x181)]},'children':[this[_0x1466f6(0x194)],{'tag':_0x1466f6(0x18c),'attributes':{'class':['ck',_0x1466f6(0x186)]},'children':[{'text':_0x375b40[_0x1466f6(0x181)]}]},{'tag':_0x1466f6(0x18c),'attributes':{'class':['ck',_0x1466f6(0x17c),_0x375b40[_0x1466f6(0x193)][_0x1466f6(0x183)]()],'aria-hidden':_0x1466f6(0x192)}}]};_0x460b07&&(_0x41c21f[_0x1466f6(0x187)]=_0x1466f6(0x188),_0x41c21f['on']={'click':_0x4ff91b['to'](()=>this[_0x1466f6(0x191)](_0x1466f6(0x184)))}),this[_0x1466f6(0x17f)](_0x41c21f);}[_0x59ed92(0x180)](){const _0x501580=_0x59ed92;this[_0x501580(0x18f)][_0x501580(0x180)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5ab2(){const _0x4a2bca=['ariaLabel','listWrapperView','querySelector','relatedTarget','.ck-balloon-panel_with-arrow','resize','Connected\x20users\x20list\x20dropdown\x20menu','max','1656420SYyxNA','4069092OOAmLc','change','listenTo','546285DPFBmb','4638476XDsKNF','render','626333phMafN','scrollHeight','5121494EqJiOD','ck-presence-list__dropdown-list','.ck-presence-list__list','presencelist:hide','559060tFYYXQ','role','bindTemplate','ariaLabelledBy','setTemplate','innerHeight','items','div','ck-presence-list__dropdown-list-wrapper','fire','ck-reset','element','window','contains','_isScrollable','ck-list','ck-presence-list__dropdown-list-wrapper_scrollable','clientHeight','application','set','checkIfScrollable'];_0x5ab2=function(){return _0x4a2bca;};return _0x5ab2();}const _0x389a2e=_0x1835;(function(_0x40f0aa,_0x467f9b){const _0x1fb454=_0x1835,_0x28b373=_0x40f0aa();while(!![]){try{const _0x3d9c90=parseInt(_0x1fb454(0x134))/0x1+-parseInt(_0x1fb454(0x157))/0x2+-parseInt(_0x1fb454(0x15b))/0x3+parseInt(_0x1fb454(0x132))/0x4+-parseInt(_0x1fb454(0x13a))/0x5+-parseInt(_0x1fb454(0x158))/0x6+parseInt(_0x1fb454(0x136))/0x7;if(_0x3d9c90===_0x467f9b)break;else _0x28b373['push'](_0x28b373['shift']());}catch(_0x33e5b1){_0x28b373['push'](_0x28b373['shift']());}}}(_0x5ab2,0xaf1ef));import{ListView as _0x229297,View as _0x5b17b1}from'ckeditor5/src/ui.js';import{global as _0x412cf8}from'ckeditor5/src/utils.js';function _0x1835(_0x59c3d1,_0x690c1){const _0x5ab2ea=_0x5ab2();return _0x1835=function(_0x1835b5,_0x111d50){_0x1835b5=_0x1835b5-0x132;let _0x3b82d2=_0x5ab2ea[_0x1835b5];return _0x3b82d2;},_0x1835(_0x59c3d1,_0x690c1);}import{getTranslation as _0x2e6aa4}from'../../common-translations.js';export class PresenceDropdownListView extends _0x5b17b1{[_0x389a2e(0x150)];constructor(_0x225bf7,_0x512ebc){const _0x1b08d9=_0x389a2e;super(_0x225bf7);const _0x2ee5f3=this[_0x1b08d9(0x13c)];this[_0x1b08d9(0x150)]=new PresenceDropdownListWrapperView(_0x225bf7,_0x512ebc),this[_0x1b08d9(0x13e)]({'tag':_0x1b08d9(0x141),'attributes':{'tabindex':-0x1,'role':_0x1b08d9(0x14c),'class':['ck',_0x1b08d9(0x137)],'aria-label':_0x2e6aa4(_0x225bf7,_0x1b08d9(0x155))},'children':[this[_0x1b08d9(0x150)]],'on':{'mouseleave':_0x2ee5f3['to'](_0x386395=>{const _0x497a59=_0x1b08d9,_0x21adab=_0x386395,_0x23cb29=document[_0x497a59(0x151)](_0x497a59(0x138)),_0x4157ea=document[_0x497a59(0x151)](_0x497a59(0x153));_0x23cb29?.[_0x497a59(0x147)](_0x21adab[_0x497a59(0x152)])||_0x4157ea?.[_0x497a59(0x147)](_0x21adab[_0x497a59(0x152)])||this[_0x497a59(0x143)](_0x497a59(0x139));})}});}}export class PresenceDropdownListWrapperView extends _0x229297{constructor(_0x961da7,_0x4fa14f){const _0x5e96d1=_0x389a2e;super(_0x961da7);const _0x50b71a=this[_0x5e96d1(0x13c)];this[_0x5e96d1(0x14d)](_0x5e96d1(0x148),!0x1),this[_0x5e96d1(0x13e)]({'tag':_0x4fa14f?_0x5e96d1(0x141):'ul','attributes':{'class':['ck',_0x5e96d1(0x144),_0x5e96d1(0x149),_0x5e96d1(0x142),_0x50b71a['if'](_0x5e96d1(0x148),_0x5e96d1(0x14a))],'role':_0x50b71a['to'](_0x5e96d1(0x13b)),'aria-label':_0x50b71a['to'](_0x5e96d1(0x14f)),'aria-labelledby':_0x50b71a['to'](_0x5e96d1(0x13d))},'children':this[_0x5e96d1(0x140)]}),this[_0x5e96d1(0x15a)](_0x412cf8[_0x5e96d1(0x146)],_0x5e96d1(0x154),()=>this[_0x5e96d1(0x14e)]()),this[_0x5e96d1(0x140)]['on'](_0x5e96d1(0x159),()=>this[_0x5e96d1(0x14e)]());}[_0x389a2e(0x133)](){const _0xf7b718=_0x389a2e;super[_0xf7b718(0x133)](),this[_0xf7b718(0x14e)]();}[_0x389a2e(0x14e)](){const _0xe9d59=_0x389a2e,_0x4d9828=this[_0xe9d59(0x145)];_0x4d9828&&(this[_0xe9d59(0x148)]=Math[_0xe9d59(0x156)](_0x4d9828[_0xe9d59(0x135)],_0x4d9828[_0xe9d59(0x14b)])>0.8*window[_0xe9d59(0x13f)]);}}
23
+ const _0x52db7e=_0x193d;function _0x4a66(){const _0x2635e5=['max','5075345vorIMH','listWrapperView','ck-presence-list__dropdown-list','listenTo','Connected\x20users\x20list\x20dropdown\x20menu','15855704ntmvmJ','1211224LyncJi','application','227924QZzmEx','element','fire','checkIfScrollable','ck-presence-list__dropdown-list-wrapper','ck-list','ck-presence-list__dropdown-list-wrapper_scrollable','12IPPTkZ','presencelist:hide','setTemplate','.ck-presence-list__list','contains','bindTemplate','_isScrollable','1368486vDryPk','.ck-balloon-panel_with-arrow','div','render','clientHeight','querySelector','resize','role','ck-reset','469668lGWyHs','128149vUvdHF','ariaLabelledBy','change','innerHeight','relatedTarget','items','scrollHeight','set','ariaLabel','window'];_0x4a66=function(){return _0x2635e5;};return _0x4a66();}(function(_0x2fbe16,_0x18c84e){const _0x57b2da=_0x193d,_0x59f13c=_0x2fbe16();while(!![]){try{const _0x58ecb3=parseInt(_0x57b2da(0x190))/0x1+parseInt(_0x57b2da(0x192))/0x2+parseInt(_0x57b2da(0x1a0))/0x3+-parseInt(_0x57b2da(0x17e))/0x4+parseInt(_0x57b2da(0x18a))/0x5+parseInt(_0x57b2da(0x199))/0x6*(-parseInt(_0x57b2da(0x17f))/0x7)+-parseInt(_0x57b2da(0x18f))/0x8;if(_0x58ecb3===_0x18c84e)break;else _0x59f13c['push'](_0x59f13c['shift']());}catch(_0x5e3965){_0x59f13c['push'](_0x59f13c['shift']());}}}(_0x4a66,0xa13c7));import{ListView as _0x40020f,View as _0x53221b}from'ckeditor5/src/ui.js';import{global as _0x26647b}from'ckeditor5/src/utils.js';import{getTranslation as _0x5b0d33}from'../../common-translations.js';export class PresenceDropdownListView extends _0x53221b{[_0x52db7e(0x18b)];constructor(_0x141767,_0x45fbdb){const _0x445e5e=_0x52db7e;super(_0x141767);const _0x558069=this[_0x445e5e(0x19e)];this[_0x445e5e(0x18b)]=new PresenceDropdownListWrapperView(_0x141767,_0x45fbdb),this[_0x445e5e(0x19b)]({'tag':_0x445e5e(0x1a2),'attributes':{'tabindex':-0x1,'role':_0x445e5e(0x191),'class':['ck',_0x445e5e(0x18c)],'aria-label':_0x5b0d33(_0x141767,_0x445e5e(0x18e))},'children':[this[_0x445e5e(0x18b)]],'on':{'mouseleave':_0x558069['to'](_0x31e4fc=>{const _0x4bad0b=_0x445e5e,_0x3dd20f=_0x31e4fc,_0x2a5240=document[_0x4bad0b(0x1a5)](_0x4bad0b(0x19c)),_0x45472d=document[_0x4bad0b(0x1a5)](_0x4bad0b(0x1a1));_0x2a5240?.[_0x4bad0b(0x19d)](_0x3dd20f[_0x4bad0b(0x183)])||_0x45472d?.[_0x4bad0b(0x19d)](_0x3dd20f[_0x4bad0b(0x183)])||this[_0x4bad0b(0x194)](_0x4bad0b(0x19a));})}});}}function _0x193d(_0x2ca9a7,_0x3263f5){const _0x4a6686=_0x4a66();return _0x193d=function(_0x193d96,_0x20193a){_0x193d96=_0x193d96-0x17c;let _0x54069a=_0x4a6686[_0x193d96];return _0x54069a;},_0x193d(_0x2ca9a7,_0x3263f5);}export class PresenceDropdownListWrapperView extends _0x40020f{constructor(_0x34403a,_0x53b650){const _0x3a5994=_0x52db7e;super(_0x34403a);const _0x4bf509=this[_0x3a5994(0x19e)];this[_0x3a5994(0x186)](_0x3a5994(0x19f),!0x1),this[_0x3a5994(0x19b)]({'tag':_0x53b650?_0x3a5994(0x1a2):'ul','attributes':{'class':['ck',_0x3a5994(0x17d),_0x3a5994(0x197),_0x3a5994(0x196),_0x4bf509['if'](_0x3a5994(0x19f),_0x3a5994(0x198))],'role':_0x4bf509['to'](_0x3a5994(0x17c)),'aria-label':_0x4bf509['to'](_0x3a5994(0x187)),'aria-labelledby':_0x4bf509['to'](_0x3a5994(0x180))},'children':this[_0x3a5994(0x184)]}),this[_0x3a5994(0x18d)](_0x26647b[_0x3a5994(0x188)],_0x3a5994(0x1a6),()=>this[_0x3a5994(0x195)]()),this[_0x3a5994(0x184)]['on'](_0x3a5994(0x181),()=>this[_0x3a5994(0x195)]());}[_0x52db7e(0x1a3)](){const _0x500f00=_0x52db7e;super[_0x500f00(0x1a3)](),this[_0x500f00(0x195)]();}[_0x52db7e(0x195)](){const _0x2d02b4=_0x52db7e,_0x143aae=this[_0x2d02b4(0x193)];_0x143aae&&(this[_0x2d02b4(0x19f)]=Math[_0x2d02b4(0x189)](_0x143aae[_0x2d02b4(0x185)],_0x143aae[_0x2d02b4(0x1a4)])>0.8*window[_0x2d02b4(0x182)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9295d=_0x5532;function _0x5532(_0x1d602a,_0x24cfc5){const _0x3070f7=_0x3070();return _0x5532=function(_0x5532ea,_0x51f42f){_0x5532ea=_0x5532ea-0x159;let _0x509991=_0x3070f7[_0x5532ea];return _0x509991;},_0x5532(_0x1d602a,_0x24cfc5);}(function(_0x3af759,_0x4c59b1){const _0x2f7cae=_0x5532,_0x22b1d2=_0x3af759();while(!![]){try{const _0x16b364=-parseInt(_0x2f7cae(0x170))/0x1*(-parseInt(_0x2f7cae(0x173))/0x2)+-parseInt(_0x2f7cae(0x159))/0x3+-parseInt(_0x2f7cae(0x175))/0x4+-parseInt(_0x2f7cae(0x16d))/0x5+parseInt(_0x2f7cae(0x15f))/0x6*(parseInt(_0x2f7cae(0x16e))/0x7)+-parseInt(_0x2f7cae(0x174))/0x8*(parseInt(_0x2f7cae(0x16f))/0x9)+parseInt(_0x2f7cae(0x172))/0xa;if(_0x16b364===_0x4c59b1)break;else _0x22b1d2['push'](_0x22b1d2['shift']());}catch(_0x715d81){_0x22b1d2['push'](_0x22b1d2['shift']());}}}(_0x3070,0x7a722));import{LabelView as _0x482ed3,View as _0x4177d6}from'ckeditor5/src/ui.js';function _0x3070(){const _0x4768fb=['ck-presence-list__list-item__tooltip','true','2203335olGuqt','tooltipPosition','set','bindTemplate','tag','fire','6Ecoqzs','color','button','ck-presence-list__list-item','execute','isFocusable','name','text','listitem','template','hasTooltip','div','getBackgroundColorClass','span','3498180PIwhmI','4502057FPDVOK','3609ptbpGV','7MmgLiI','userView','18219150Nskegk','17374ShAPWs','7656XkMGNZ','825996jRXOVN','markerView','ck-presence-list__marker','setTemplate'];_0x3070=function(){return _0x4768fb;};return _0x3070();}import{UserView as _0x585660}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x4177d6{[_0x9295d(0x171)];[_0x9295d(0x176)];constructor(_0x3898bf,_0x14f0a1,_0xa4f2a6){const _0x2fd9d9=_0x9295d;super(_0x3898bf);const _0x3f66f4=this[_0x2fd9d9(0x15c)];this[_0x2fd9d9(0x15b)](_0x2fd9d9(0x164),!0x1),this[_0x2fd9d9(0x15b)](_0x2fd9d9(0x169),!0x0),this[_0x2fd9d9(0x15b)](_0x2fd9d9(0x15a),''),this[_0x2fd9d9(0x171)]=new _0x585660(_0x3898bf,_0x14f0a1),this[_0x2fd9d9(0x176)]=new ot(_0x3898bf,_0x14f0a1);const _0x3f3ef2=new _0x482ed3(_0x3898bf);_0x3f3ef2[_0x2fd9d9(0x168)][_0x2fd9d9(0x15d)]=_0x2fd9d9(0x16c),_0x3f3ef2[_0x2fd9d9(0x166)]=_0x14f0a1[_0x2fd9d9(0x165)];const _0x1778a5={'tag':_0x2fd9d9(0x16a),'attributes':{'class':['ck',_0x2fd9d9(0x162)],'role':_0x2fd9d9(0x167),'tabindex':_0x3f66f4['to'](_0x2fd9d9(0x164),_0x342d1f=>!!_0x342d1f&&0x0),'aria-labelledby':_0x3f3ef2['id'],'data-cke-tooltip-text':this[_0x2fd9d9(0x171)][_0x2fd9d9(0x165)],'data-cke-tooltip-position':_0x3f66f4['to'](_0x2fd9d9(0x15a)),'data-cke-tooltip-disabled':_0x3f66f4['to'](_0x2fd9d9(0x169),_0x27382d=>!_0x27382d),'data-cke-tooltip-class':_0x2fd9d9(0x179)},'children':[this[_0x2fd9d9(0x171)],this[_0x2fd9d9(0x176)],_0x3f3ef2]};_0xa4f2a6&&(_0x1778a5[_0x2fd9d9(0x15d)]=_0x2fd9d9(0x161),_0x1778a5['on']={'click':_0x3f66f4['to'](()=>this[_0x2fd9d9(0x15e)](_0x2fd9d9(0x163)))}),this[_0x2fd9d9(0x178)](_0x1778a5);}}class ot extends _0x4177d6{constructor(_0x5b2fb3,_0x2d877a){const _0x494b27=_0x9295d;super(_0x5b2fb3),this[_0x494b27(0x178)]({'tag':_0x494b27(0x16c),'attributes':{'class':['ck',_0x494b27(0x177),_0x2d877a[_0x494b27(0x160)][_0x494b27(0x16b)]()],'aria-hidden':_0x494b27(0x17a)}});}}
23
+ const _0x396bc6=_0xb5df;(function(_0x78e3e3,_0x5c0bc7){const _0x19e2f2=_0xb5df,_0x616df9=_0x78e3e3();while(!![]){try{const _0x36c137=parseInt(_0x19e2f2(0x129))/0x1+-parseInt(_0x19e2f2(0x125))/0x2+-parseInt(_0x19e2f2(0x141))/0x3*(-parseInt(_0x19e2f2(0x131))/0x4)+parseInt(_0x19e2f2(0x127))/0x5*(-parseInt(_0x19e2f2(0x12b))/0x6)+parseInt(_0x19e2f2(0x135))/0x7+-parseInt(_0x19e2f2(0x139))/0x8*(parseInt(_0x19e2f2(0x130))/0x9)+-parseInt(_0x19e2f2(0x12c))/0xa*(-parseInt(_0x19e2f2(0x13e))/0xb);if(_0x36c137===_0x5c0bc7)break;else _0x616df9['push'](_0x616df9['shift']());}catch(_0x5dd61d){_0x616df9['push'](_0x616df9['shift']());}}}(_0x257c,0xbdb0e));function _0xb5df(_0x357711,_0x3956fe){const _0x257c92=_0x257c();return _0xb5df=function(_0xb5df3b,_0x23715d){_0xb5df3b=_0xb5df3b-0x123;let _0x23ab2f=_0x257c92[_0xb5df3b];return _0x23ab2f;},_0xb5df(_0x357711,_0x3956fe);}import{LabelView as _0x347bfe,View as _0x3e9cd6}from'ckeditor5/src/ui.js';import{UserView as _0x489bf9}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x3e9cd6{[_0x396bc6(0x138)];[_0x396bc6(0x13c)];constructor(_0x230e68,_0xb9ced2,_0x475512){const _0x10f233=_0x396bc6;super(_0x230e68);const _0x3e5de9=this[_0x10f233(0x13d)];this[_0x10f233(0x144)](_0x10f233(0x124),!0x1),this[_0x10f233(0x144)](_0x10f233(0x12f),!0x0),this[_0x10f233(0x144)](_0x10f233(0x128),''),this[_0x10f233(0x138)]=new _0x489bf9(_0x230e68,_0xb9ced2),this[_0x10f233(0x13c)]=new lt(_0x230e68,_0xb9ced2);const _0x179eb3=new _0x347bfe(_0x230e68);_0x179eb3[_0x10f233(0x13b)][_0x10f233(0x12e)]=_0x10f233(0x12a),_0x179eb3[_0x10f233(0x143)]=_0xb9ced2[_0x10f233(0x133)];const _0x2942e9={'tag':_0x10f233(0x142),'attributes':{'class':['ck',_0x10f233(0x123)],'role':_0x10f233(0x132),'tabindex':_0x3e5de9['to'](_0x10f233(0x124),_0x27adbb=>!!_0x27adbb&&0x0),'aria-labelledby':_0x179eb3['id'],'data-cke-tooltip-text':this[_0x10f233(0x138)][_0x10f233(0x133)],'data-cke-tooltip-position':_0x3e5de9['to'](_0x10f233(0x128)),'data-cke-tooltip-disabled':_0x3e5de9['to'](_0x10f233(0x12f),_0x387cd0=>!_0x387cd0),'data-cke-tooltip-class':_0x10f233(0x13f)},'children':[this[_0x10f233(0x138)],this[_0x10f233(0x13c)],_0x179eb3]};_0x475512&&(_0x2942e9[_0x10f233(0x12e)]=_0x10f233(0x136),_0x2942e9['on']={'click':_0x3e5de9['to'](()=>this[_0x10f233(0x126)](_0x10f233(0x134)))}),this[_0x10f233(0x13a)](_0x2942e9);}}class lt extends _0x3e9cd6{constructor(_0x34f562,_0x5d6c9b){const _0x478f5a=_0x396bc6;super(_0x34f562),this[_0x478f5a(0x13a)]({'tag':_0x478f5a(0x12a),'attributes':{'class':['ck',_0x478f5a(0x140),_0x5d6c9b[_0x478f5a(0x145)][_0x478f5a(0x12d)]()],'aria-hidden':_0x478f5a(0x137)}});}}function _0x257c(){const _0x530039=['2755902jhWvOi','fire','35VvalVE','tooltipPosition','930195JbFyua','span','1197348RuSxrF','30tdpDnc','getBackgroundColorClass','tag','hasTooltip','477oBjSti','284MkpvnZ','listitem','name','execute','8117305csAADW','button','true','userView','60232yfQQKq','setTemplate','template','markerView','bindTemplate','2097007FSrthz','ck-presence-list__list-item__tooltip','ck-presence-list__marker','54471VyHcVr','div','text','set','color','ck-presence-list__list-item','isFocusable'];_0x257c=function(){return _0x530039;};return _0x257c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3bf9b8=_0x1027;(function(_0x541312,_0x47fa60){const _0x197f10=_0x1027,_0x2e3f06=_0x541312();while(!![]){try{const _0x51fc33=-parseInt(_0x197f10(0x207))/0x1+-parseInt(_0x197f10(0x20d))/0x2*(parseInt(_0x197f10(0x211))/0x3)+-parseInt(_0x197f10(0x212))/0x4+-parseInt(_0x197f10(0x1f8))/0x5*(-parseInt(_0x197f10(0x213))/0x6)+-parseInt(_0x197f10(0x1f1))/0x7*(-parseInt(_0x197f10(0x1f6))/0x8)+parseInt(_0x197f10(0x1ff))/0x9*(-parseInt(_0x197f10(0x206))/0xa)+parseInt(_0x197f10(0x217))/0xb;if(_0x51fc33===_0x47fa60)break;else _0x2e3f06['push'](_0x2e3f06['shift']());}catch(_0x1241ed){_0x2e3f06['push'](_0x2e3f06['shift']());}}}(_0x24e4,0x6c370));import{View as _0x365884}from'ckeditor5/src/ui.js';function _0x1027(_0x1ae3cd,_0x281774){const _0x24e403=_0x24e4();return _0x1027=function(_0x10271d,_0x331fde){_0x10271d=_0x10271d-0x1f1;let _0x509ced=_0x24e403[_0x10271d];return _0x509ced;},_0x1027(_0x1ae3cd,_0x281774);}import{KeystrokeHandler as _0x32ee86}from'ckeditor5/src/utils.js';import{getTranslation as _0x540351}from'../../common-translations.js';export class PresenceInlineListView extends _0x365884{[_0x3bf9b8(0x1fb)];[_0x3bf9b8(0x215)];constructor(_0x4a30ca){const _0x4af3c5=_0x3bf9b8;super(_0x4a30ca);const _0x1591bb=this[_0x4af3c5(0x200)];this[_0x4af3c5(0x1fb)]=this[_0x4af3c5(0x208)](),this[_0x4af3c5(0x215)]=new _0x32ee86(),this[_0x4af3c5(0x1f5)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4af3c5(0x216)]({'tag':_0x4af3c5(0x1fa),'attributes':{'aria-haspopup':_0x1591bb['if'](_0x4af3c5(0x210)),'aria-expanded':_0x1591bb['to'](_0x4af3c5(0x1f7),_0x133476=>this[_0x4af3c5(0x210)]&&String(_0x133476)),'aria-label':_0x1591bb['to'](_0x4af3c5(0x210),_0x54125e=>_0x540351(_0x4a30ca,_0x54125e?_0x4af3c5(0x204):_0x4af3c5(0x20c))),'role':_0x4af3c5(0x20b),'tabindex':_0x1591bb['to'](_0x4af3c5(0x210),_0x5c390d=>!!_0x5c390d&&0x0),'class':['ck',_0x4af3c5(0x203)]},'children':this[_0x4af3c5(0x1fb)],'on':{'mouseenter':_0x1591bb['to'](()=>this[_0x4af3c5(0x201)](_0x4af3c5(0x205))),'mouseleave':_0x1591bb['to'](_0x239e62=>{const _0x279073=_0x4af3c5,_0xe160c4=_0x239e62,_0x1dedce=document[_0x279073(0x20e)](_0x279073(0x209)),_0x2186e4=document[_0x279073(0x20e)](_0x279073(0x1f9));_0x1dedce?.[_0x279073(0x1f3)](_0xe160c4[_0x279073(0x1fd)])||_0x2186e4?.[_0x279073(0x1f3)](_0xe160c4[_0x279073(0x1fd)])||this[_0x279073(0x201)](_0x279073(0x20f));})}}),this['on'](_0x4af3c5(0x1f2),(_0x23e418,_0x1eeea0,_0x2068ee)=>{const _0x4c752f=_0x4af3c5;this[_0x4c752f(0x1fc)]&&(_0x2068ee?this[_0x4c752f(0x1fc)][_0x4c752f(0x1f4)](_0x4c752f(0x218),String(this[_0x4c752f(0x1f7)])):this[_0x4c752f(0x1fc)][_0x4c752f(0x1fe)](_0x4c752f(0x218)));});}[_0x3bf9b8(0x214)](){const _0x20f5cf=_0x3bf9b8;this[_0x20f5cf(0x1fc)][_0x20f5cf(0x214)]();}[_0x3bf9b8(0x20a)](){const _0x5a918f=_0x3bf9b8;super[_0x5a918f(0x20a)](),this[_0x5a918f(0x215)][_0x5a918f(0x202)](this[_0x5a918f(0x1fc)]);}}function _0x24e4(){const _0x168acb=['div','items','element','relatedTarget','removeAttribute','480357odtaHm','bindTemplate','fire','listenTo','ck-presence-list__list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','presencelist:show','30rSGsmz','521730uoclGw','createCollection','.ck-presence-list__dropdown-list','render','list','Connected\x20users\x20list','11630pYRfPU','querySelector','presencelist:hide','hasPopup','177vopCWZ','1712216FbzteS','6askvim','focus','keystrokes','setTemplate','18400932FCJniX','aria-expanded','169617zgtTiq','change:hasPopup','contains','setAttribute','set','8GzZLVI','isExpanded','995965VEsPAV','.ck-balloon-panel_with-arrow'];_0x24e4=function(){return _0x168acb;};return _0x24e4();}
23
+ const _0x529e6f=_0x14d7;function _0x14d7(_0x5c198c,_0x454100){const _0x3d82fb=_0x3d82();return _0x14d7=function(_0x14d7b2,_0x12954c){_0x14d7b2=_0x14d7b2-0x1b6;let _0x3ec928=_0x3d82fb[_0x14d7b2];return _0x3ec928;},_0x14d7(_0x5c198c,_0x454100);}(function(_0x362d38,_0x376626){const _0x2cd4f3=_0x14d7,_0xb9da1c=_0x362d38();while(!![]){try{const _0x376cd8=parseInt(_0x2cd4f3(0x1be))/0x1+-parseInt(_0x2cd4f3(0x1d6))/0x2*(parseInt(_0x2cd4f3(0x1d9))/0x3)+parseInt(_0x2cd4f3(0x1b6))/0x4+parseInt(_0x2cd4f3(0x1bb))/0x5*(-parseInt(_0x2cd4f3(0x1ca))/0x6)+parseInt(_0x2cd4f3(0x1d3))/0x7+parseInt(_0x2cd4f3(0x1bf))/0x8*(-parseInt(_0x2cd4f3(0x1cb))/0x9)+parseInt(_0x2cd4f3(0x1c4))/0xa;if(_0x376cd8===_0x376626)break;else _0xb9da1c['push'](_0xb9da1c['shift']());}catch(_0x3cc956){_0xb9da1c['push'](_0xb9da1c['shift']());}}}(_0x3d82,0x18d54));import{View as _0x44cb44}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5c81cd}from'ckeditor5/src/utils.js';import{getTranslation as _0x5a587f}from'../../common-translations.js';function _0x3d82(){const _0x572205=['removeAttribute','createCollection','isExpanded','element','6wqxUrc','6093SYVcTv','presencelist:show','div','presencelist:hide','setAttribute','render','change:hasPopup','fire','791266bZuOXM','listenTo','relatedTarget','73130FEQkLV','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','querySelector','3KpJmgJ','contains','set','items','380772CgRfeD','bindTemplate','setTemplate','.ck-balloon-panel_with-arrow','keystrokes','605755FBTZPo','Connected\x20users\x20list','ck-presence-list__list','117847tkDToZ','2328lLAsCf','.ck-presence-list__dropdown-list','list','aria-expanded','focus','1303610jhoabk','hasPopup'];_0x3d82=function(){return _0x572205;};return _0x3d82();}export class PresenceInlineListView extends _0x44cb44{[_0x529e6f(0x1dc)];[_0x529e6f(0x1ba)];constructor(_0x20c66a){const _0x237590=_0x529e6f;super(_0x20c66a);const _0x4fb7e3=this[_0x237590(0x1b7)];this[_0x237590(0x1dc)]=this[_0x237590(0x1c7)](),this[_0x237590(0x1ba)]=new _0x5c81cd(),this[_0x237590(0x1db)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x237590(0x1b8)]({'tag':_0x237590(0x1cd),'attributes':{'aria-haspopup':_0x4fb7e3['if'](_0x237590(0x1c5)),'aria-expanded':_0x4fb7e3['to'](_0x237590(0x1c8),_0x394505=>this[_0x237590(0x1c5)]&&String(_0x394505)),'aria-label':_0x4fb7e3['to'](_0x237590(0x1c5),_0x2c5393=>_0x5a587f(_0x20c66a,_0x2c5393?_0x237590(0x1d7):_0x237590(0x1bc))),'role':_0x237590(0x1c1),'tabindex':_0x4fb7e3['to'](_0x237590(0x1c5),_0xa26dd=>!!_0xa26dd&&0x0),'class':['ck',_0x237590(0x1bd)]},'children':this[_0x237590(0x1dc)],'on':{'mouseenter':_0x4fb7e3['to'](()=>this[_0x237590(0x1d2)](_0x237590(0x1cc))),'mouseleave':_0x4fb7e3['to'](_0x466c66=>{const _0x39036d=_0x237590,_0x53d7b0=_0x466c66,_0x2f6264=document[_0x39036d(0x1d8)](_0x39036d(0x1c0)),_0x5430a3=document[_0x39036d(0x1d8)](_0x39036d(0x1b9));_0x2f6264?.[_0x39036d(0x1da)](_0x53d7b0[_0x39036d(0x1d5)])||_0x5430a3?.[_0x39036d(0x1da)](_0x53d7b0[_0x39036d(0x1d5)])||this[_0x39036d(0x1d2)](_0x39036d(0x1ce));})}}),this['on'](_0x237590(0x1d1),(_0x4f796b,_0x3ddfa6,_0x5d11ae)=>{const _0x71d9aa=_0x237590;this[_0x71d9aa(0x1c9)]&&(_0x5d11ae?this[_0x71d9aa(0x1c9)][_0x71d9aa(0x1cf)](_0x71d9aa(0x1c2),String(this[_0x71d9aa(0x1c8)])):this[_0x71d9aa(0x1c9)][_0x71d9aa(0x1c6)](_0x71d9aa(0x1c2)));});}[_0x529e6f(0x1c3)](){const _0xdfed69=_0x529e6f;this[_0xdfed69(0x1c9)][_0xdfed69(0x1c3)]();}[_0x529e6f(0x1d0)](){const _0x15a3b4=_0x529e6f;super[_0x15a3b4(0x1d0)](),this[_0x15a3b4(0x1ba)][_0x15a3b4(0x1d4)](this[_0x15a3b4(0x1c9)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x214548=_0x1378;(function(_0xebcbe8,_0x279902){const _0x221f4c=_0x1378,_0xa1a72a=_0xebcbe8();while(!![]){try{const _0x3c4ff2=parseInt(_0x221f4c(0x88))/0x1*(parseInt(_0x221f4c(0x8a))/0x2)+parseInt(_0x221f4c(0x81))/0x3+parseInt(_0x221f4c(0x7f))/0x4*(-parseInt(_0x221f4c(0x72))/0x5)+-parseInt(_0x221f4c(0x8d))/0x6+-parseInt(_0x221f4c(0x7d))/0x7*(parseInt(_0x221f4c(0x73))/0x8)+-parseInt(_0x221f4c(0x78))/0x9*(parseInt(_0x221f4c(0x83))/0xa)+parseInt(_0x221f4c(0x70))/0xb;if(_0x3c4ff2===_0x279902)break;else _0xa1a72a['push'](_0xa1a72a['shift']());}catch(_0x5ee8a3){_0xa1a72a['push'](_0xa1a72a['shift']());}}}(_0x3489,0xac13f));function _0x3489(){const _0xc68727=['48372XFtcwS','set','30490utHsMl','isCollapsed','tooltipPosition','ck-presence-list--collapsed','counterView','965VsiKZe','div','2502acpwrZ','inlineListView','ck-reset','3169710Mmxxlp','18674557yjsIAk','change','184665nZLCJf','63808yqcTOV','items','bind','listenTo','locale','3213ORXPgQ','ck-rounded-corners','ck-presence-list','hasPopup','setTemplate','364TpRYJJ','first','20pFmXFG','bindTemplate'];_0x3489=function(){return _0xc68727;};return _0x3489();}import{View as _0x554b41}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x1f5c8e}from'./presencecounterview.js';function _0x1378(_0x49585c,_0x1d21ef){const _0x348945=_0x3489();return _0x1378=function(_0x137891,_0x9c584d){_0x137891=_0x137891-0x70;let _0x1f2cde=_0x348945[_0x137891];return _0x1f2cde;},_0x1378(_0x49585c,_0x1d21ef);}import{PresenceInlineListView as _0xb9c5ab}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x554b41{[_0x214548(0x87)];[_0x214548(0x8b)];constructor(_0x18778f,_0x49c3c7=0x6){const _0x5a4e10=_0x214548;super(_0x18778f);const _0x5f2ca0=this[_0x5a4e10(0x80)];this[_0x5a4e10(0x82)](_0x5a4e10(0x84),!0x0),this[_0x5a4e10(0x87)]=new _0x1f5c8e(this[_0x5a4e10(0x77)],_0x49c3c7),this[_0x5a4e10(0x8b)]=new _0xb9c5ab(_0x18778f),this[_0x5a4e10(0x8b)][_0x5a4e10(0x75)](_0x5a4e10(0x7b))['to'](this,_0x5a4e10(0x84)),this[_0x5a4e10(0x76)](this[_0x5a4e10(0x8b)][_0x5a4e10(0x74)],_0x5a4e10(0x71),()=>{const _0x3bf1d8=_0x5a4e10;for(const _0x17e254 of this[_0x3bf1d8(0x8b)][_0x3bf1d8(0x74)])_0x17e254[_0x3bf1d8(0x85)]='s';this[_0x3bf1d8(0x8b)][_0x3bf1d8(0x74)][_0x3bf1d8(0x7e)]&&(this[_0x3bf1d8(0x8b)][_0x3bf1d8(0x74)][_0x3bf1d8(0x7e)][_0x3bf1d8(0x85)]='se');}),this[_0x5a4e10(0x7c)]({'tag':_0x5a4e10(0x89),'attributes':{'class':['ck',_0x5a4e10(0x7a),_0x5a4e10(0x8c),_0x5a4e10(0x79),_0x5f2ca0['if'](_0x5a4e10(0x84),_0x5a4e10(0x86))]},'children':[this[_0x5a4e10(0x8b)]]});}}
23
+ function _0x5890(){const _0x1eba42=['3487240OnFLYe','bindTemplate','inlineListView','4017530VzCTEU','counterView','ck-presence-list--collapsed','locale','bind','isCollapsed','2xLGsvN','14988RpsGEI','change','first','ck-reset','ck-rounded-corners','9EOihwy','5701619OhERtO','1400098QvGoNy','items','228asYigt','listenTo','66269ZBNybm','set','1650xKCtwR','hasPopup','div','tooltipPosition','34869UPnJvb','ck-presence-list','setTemplate','12dPdzsU'];_0x5890=function(){return _0x1eba42;};return _0x5890();}const _0x77bc62=_0x104a;function _0x104a(_0x94e63c,_0x4d4fe4){const _0x58900b=_0x5890();return _0x104a=function(_0x104acf,_0x3d7e25){_0x104acf=_0x104acf-0x1c9;let _0x2518f2=_0x58900b[_0x104acf];return _0x2518f2;},_0x104a(_0x94e63c,_0x4d4fe4);}(function(_0xc29a53,_0x4a24b6){const _0x600f3f=_0x104a,_0x4ed4d0=_0xc29a53();while(!![]){try{const _0x50538a=parseInt(_0x600f3f(0x1d7))/0x1*(-parseInt(_0x600f3f(0x1cb))/0x2)+-parseInt(_0x600f3f(0x1dd))/0x3*(-parseInt(_0x600f3f(0x1d5))/0x4)+parseInt(_0x600f3f(0x1d9))/0x5*(-parseInt(_0x600f3f(0x1cc))/0x6)+parseInt(_0x600f3f(0x1d3))/0x7+-parseInt(_0x600f3f(0x1e1))/0x8+parseInt(_0x600f3f(0x1d1))/0x9*(parseInt(_0x600f3f(0x1e4))/0xa)+parseInt(_0x600f3f(0x1d2))/0xb*(parseInt(_0x600f3f(0x1e0))/0xc);if(_0x50538a===_0x4a24b6)break;else _0x4ed4d0['push'](_0x4ed4d0['shift']());}catch(_0x259263){_0x4ed4d0['push'](_0x4ed4d0['shift']());}}}(_0x5890,0x6f59d));import{View as _0x1859fc}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x353772}from'./presencecounterview.js';import{PresenceInlineListView as _0x167fd3}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x1859fc{[_0x77bc62(0x1e5)];[_0x77bc62(0x1e3)];constructor(_0x554f3d,_0x44d341=0x6){const _0x7dbc26=_0x77bc62;super(_0x554f3d);const _0x4d2af4=this[_0x7dbc26(0x1e2)];this[_0x7dbc26(0x1d8)](_0x7dbc26(0x1ca),!0x0),this[_0x7dbc26(0x1e5)]=new _0x353772(this[_0x7dbc26(0x1e7)],_0x44d341),this[_0x7dbc26(0x1e3)]=new _0x167fd3(_0x554f3d),this[_0x7dbc26(0x1e3)][_0x7dbc26(0x1c9)](_0x7dbc26(0x1da))['to'](this,_0x7dbc26(0x1ca)),this[_0x7dbc26(0x1d6)](this[_0x7dbc26(0x1e3)][_0x7dbc26(0x1d4)],_0x7dbc26(0x1cd),()=>{const _0x3ec4c9=_0x7dbc26;for(const _0x454cec of this[_0x3ec4c9(0x1e3)][_0x3ec4c9(0x1d4)])_0x454cec[_0x3ec4c9(0x1dc)]='s';this[_0x3ec4c9(0x1e3)][_0x3ec4c9(0x1d4)][_0x3ec4c9(0x1ce)]&&(this[_0x3ec4c9(0x1e3)][_0x3ec4c9(0x1d4)][_0x3ec4c9(0x1ce)][_0x3ec4c9(0x1dc)]='se');}),this[_0x7dbc26(0x1df)]({'tag':_0x7dbc26(0x1db),'attributes':{'class':['ck',_0x7dbc26(0x1de),_0x7dbc26(0x1cf),_0x7dbc26(0x1d0),_0x4d2af4['if'](_0x7dbc26(0x1ca),_0x7dbc26(0x1e6))]},'children':[this[_0x7dbc26(0x1e3)]]});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b648d=_0x4c8a;(function(_0x46abf4,_0x567ebe){const _0x2b5eb5=_0x4c8a,_0x98033f=_0x46abf4();while(!![]){try{const _0x39617a=-parseInt(_0x2b5eb5(0x1d5))/0x1+parseInt(_0x2b5eb5(0x1eb))/0x2*(parseInt(_0x2b5eb5(0x206))/0x3)+parseInt(_0x2b5eb5(0x1c4))/0x4+parseInt(_0x2b5eb5(0x1f9))/0x5+parseInt(_0x2b5eb5(0x1ce))/0x6+-parseInt(_0x2b5eb5(0x1d1))/0x7+-parseInt(_0x2b5eb5(0x1bb))/0x8*(parseInt(_0x2b5eb5(0x1e0))/0x9);if(_0x39617a===_0x567ebe)break;else _0x98033f['push'](_0x98033f['shift']());}catch(_0x4794ff){_0x98033f['push'](_0x98033f['shift']());}}}(_0x4f42,0x71309));import{Context as _0x38def4,ContextPlugin as _0x26c4ee}from'ckeditor5/src/core.js';import{CKEditorError as _0x3ae507}from'ckeditor5/src/utils.js';import{Users as _0x35473c}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x45edf4,User as _0x552a61}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x2fc56a}from'../realtimecollaborativeediting/websocketgateway.js';function _0x4f42(){const _0x4062d1=['requires','getComment','404','set','CommentsRepository','has','assign','mySessionId','removeComment','deletedAt','size','adapter','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','3746810uNMMLE','register','getCommentThreads','resolvedAt','cloudservicescommentsadapter-disconnect-not-exist','setPermissions','addToReconnectionStack','commentRemoved','commentThreadAdded','resolve','_fetchMissingUsersForThreads','commentThreadId','listenTo','3UcbnKJ','resolveCommentThread','createdAt','authorId','commentId','reopen','add','_connectService','getCommentThread','context','addComment','reconnect','code','cloudservicescommentsadapter-connect-already-connected','_getService','cloud-services-internal-error:\x20Request\x20timeout.','plugins','init','catch','commentThreadRemoved','config','updateCommentThread','Permissions','getMany','destroy','keys','24xJkNRv','commentThreadResolved','comments','cloud-services-internal-error:\x20Not\x20connected.','addUser','collaboration.channelId','message','updateComment','permissions','3542676cjSUEM','disconnect','get','from','commentThreadUpdated','resolvedBy','commentThreadReopened','_terminateService','removeCommentThread','unregister','5317980uJVbII','connect','cloudservicescommentsadapter-service-not-exist','6405259SVBkUo','startsWith','addCommentThread','isOfficialPlugin','789273XaNnPk','CloudServicesCommentsAdapter','remove','reopenCommentThread','_setUpService','commentAdded','CommentsService','isPremiumPlugin','attributes','sessionAdd:','content','3236157QFqMmV','_services','getUser','delete','pluginName','off','update','userId','getConnectedSessions','commentUpdated','map','1450586ktVLmc'];_0x4f42=function(){return _0x4062d1;};return _0x4f42();}import{Sessions as _0x5a4ac1}from'../realtimecollaborativeediting/sessions.js';class s extends _0x26c4ee{static [_0x3b648d(0x1db)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x45edf4)());[_0x3b648d(0x1e1)];static get[_0x3b648d(0x1ec)](){const _0x51eb9a=_0x3b648d;return[_0x2fc56a,_0x51eb9a(0x1f0),_0x5a4ac1,_0x35473c];}static get[_0x3b648d(0x1e4)](){const _0x1997cb=_0x3b648d;return _0x1997cb(0x1d6);}static get[_0x3b648d(0x1d4)](){return!0x0;}static get[_0x3b648d(0x1dc)](){return!0x0;}constructor(_0xa1cfc7){const _0x615e50=_0x3b648d;super(_0xa1cfc7),this[_0x615e50(0x1e1)]=new Map();}async[_0x3b648d(0x1b2)](){const _0x4dc7e6=_0x3b648d,_0x5e7d11=this[_0x4dc7e6(0x20f)],_0x44d88c=_0x5e7d11[_0x4dc7e6(0x216)][_0x4dc7e6(0x1c6)](_0x4dc7e6(0x1f0));if(_0x5e7d11[_0x4dc7e6(0x216)][_0x4dc7e6(0x1c6)](_0x2fc56a)[_0x4dc7e6(0x1ff)](this),_0x44d88c[_0x4dc7e6(0x1f7)]={'addCommentThread':async({channelId:_0x111aff,threadId:_0x422ae2,comments:_0x1e703a,resolvedAt:_0x24e315,resolvedBy:_0x9b3f98,context:_0x337872,attributes:_0x2298ec})=>{const _0xf99c09=_0x4dc7e6,_0x43686d=await this[_0xf99c09(0x214)](_0x111aff)[_0xf99c09(0x1d3)]({'commentThreadId':_0x422ae2,'comments':_0x1e703a[_0xf99c09(0x1ea)](_0x36e15f=>function(_0x1de3a5,_0x492774,_0x384d9b){const _0xa647ce=_0xf99c09;return{'commentThreadId':_0x384d9b,'commentId':_0x1de3a5[_0xa647ce(0x20a)],'userId':_0x1de3a5[_0xa647ce(0x209)],'content':_0x1de3a5[_0xa647ce(0x1df)],'documentId':_0x492774,'createdAt':_0x1de3a5[_0xa647ce(0x208)],'attributes':_0x1de3a5[_0xa647ce(0x1dd)]||{}};}(_0x36e15f,_0x111aff,_0x422ae2)),'resolvedAt':_0x24e315,'resolvedBy':_0x9b3f98,'context':_0x337872,'attributes':_0x2298ec})[_0xf99c09(0x1b3)](A);return{'threadId':_0x43686d[_0xf99c09(0x204)],'comments':_0x43686d[_0xf99c09(0x1bd)]};},'getCommentThread':async({channelId:_0x154ff9,threadId:_0x582bbe})=>{const _0x5088fc=_0x4dc7e6,_0x37c699=await this[_0x5088fc(0x214)](_0x154ff9)[_0x5088fc(0x20e)](_0x582bbe)[_0x5088fc(0x1b3)](A);return _0x37c699[_0x5088fc(0x1f5)]?null:(await this[_0x5088fc(0x203)]([_0x37c699]),{'threadId':_0x37c699[_0x5088fc(0x204)],'comments':_0x37c699[_0x5088fc(0x1bd)][_0x5088fc(0x1ea)](p),'context':_0x37c699[_0x5088fc(0x20f)],'resolvedAt':_0x37c699[_0x5088fc(0x1fc)],'resolvedBy':_0x37c699[_0x5088fc(0x1c9)],'attributes':_0x37c699[_0x5088fc(0x1dd)]||{}});},'updateCommentThread':async({channelId:_0x4c7156,threadId:_0x4c5082,context:_0x5da6b7,unlinkedAt:_0x48e4d0,attributes:_0x1a526e})=>this[_0x4dc7e6(0x214)](_0x4c7156)[_0x4dc7e6(0x1b6)]({'commentThreadId':_0x4c5082,'context':_0x5da6b7,'attributes':_0x1a526e,'unlinkedAt':_0x48e4d0})[_0x4dc7e6(0x1b3)](v)[_0x4dc7e6(0x1b3)](A),'resolveCommentThread':async({channelId:_0x56842d,threadId:_0x365b3f})=>{const _0x47eea5=_0x4dc7e6,_0x27601e=await this[_0x47eea5(0x214)](_0x56842d)[_0x47eea5(0x207)](_0x365b3f)[_0x47eea5(0x1b3)](v)[_0x47eea5(0x1b3)](A);return{'threadId':_0x27601e[_0x47eea5(0x204)],'resolvedAt':_0x27601e[_0x47eea5(0x1fc)],'resolvedBy':_0x27601e[_0x47eea5(0x1c9)]};},'reopenCommentThread':async({channelId:_0x3b62ef,threadId:_0x273e86})=>this[_0x4dc7e6(0x214)](_0x3b62ef)[_0x4dc7e6(0x1d8)](_0x273e86)[_0x4dc7e6(0x1b3)](v)[_0x4dc7e6(0x1b3)](A),'removeCommentThread':({channelId:_0x4ef33d,threadId:_0x1b6b40})=>this[_0x4dc7e6(0x214)](_0x4ef33d)[_0x4dc7e6(0x1cc)](_0x1b6b40)[_0x4dc7e6(0x1b3)](v)[_0x4dc7e6(0x1b3)](A),'addComment':({channelId:_0x2fdff8,threadId:_0xd468ec,commentId:_0x5bd704,content:_0x2c3ccc,attributes:_0x132678})=>this[_0x4dc7e6(0x214)](_0x2fdff8)[_0x4dc7e6(0x210)](_0xd468ec,_0x5bd704,_0x2c3ccc,_0x132678)[_0x4dc7e6(0x1b3)](A),'updateComment':({channelId:_0x1f14a6,threadId:_0xa29225,commentId:_0x8f0aed,content:_0x245fa9,attributes:_0x3b180c})=>this[_0x4dc7e6(0x214)](_0x1f14a6)[_0x4dc7e6(0x1c2)](_0xa29225,_0x8f0aed,_0x245fa9,_0x3b180c)[_0x4dc7e6(0x1b3)](v)[_0x4dc7e6(0x1b3)](A),'removeComment':({channelId:_0x3119f1,threadId:_0x488a5a,commentId:_0x2ef6a2})=>this[_0x4dc7e6(0x214)](_0x3119f1)[_0x4dc7e6(0x1f4)](_0x488a5a,_0x2ef6a2)[_0x4dc7e6(0x1b3)](v)[_0x4dc7e6(0x1b3)](A)},_0x5e7d11 instanceof _0x38def4){const _0x1f68ee=_0x5e7d11[_0x4dc7e6(0x1b5)][_0x4dc7e6(0x1c6)](_0x4dc7e6(0x1c0)),_0x56d537=_0x5e7d11[_0x4dc7e6(0x216)][_0x4dc7e6(0x1c6)](_0x5a4ac1);await this[_0x4dc7e6(0x1d9)](_0x1f68ee);const _0x40a298=await this[_0x4dc7e6(0x1e1)][_0x4dc7e6(0x1c6)](_0x1f68ee)[_0x4dc7e6(0x1e8)]();this[_0x4dc7e6(0x205)](_0x56d537,_0x4dc7e6(0x1de)+_0x1f68ee,(_0x335d9e,{session:_0x434f76})=>{const _0x1ae117=_0x4dc7e6;_0x434f76['id']===_0x56d537[_0x1ae117(0x1f3)]&&(_0x335d9e[_0x1ae117(0x1e5)](),this[_0x1ae117(0x20f)][_0x1ae117(0x216)][_0x1ae117(0x1c6)](_0x1ae117(0x1b7))[_0x1ae117(0x1fe)](_0x434f76[_0x1ae117(0x1c3)],_0x1f68ee));}),_0x56d537[_0x4dc7e6(0x1fa)](_0x1f68ee,_0x40a298);}}async[_0x3b648d(0x1d9)](_0x3c28de){const _0x5761de=_0x3b648d;if(this[_0x5761de(0x1e1)][_0x5761de(0x1f1)](_0x3c28de))throw new _0x3ae507(_0x5761de(0x213),null,{'channelId':_0x3c28de});const _0x15700f=this[_0x5761de(0x20f)][_0x5761de(0x216)][_0x5761de(0x1c6)](_0x5761de(0x1f0)),_0x575074=new s[(_0x5761de(0x1db))](_0x3c28de);this[_0x5761de(0x1e1)][_0x5761de(0x1ef)](_0x3c28de,_0x575074),this[_0x5761de(0x205)](_0x575074,_0x5761de(0x201),(_0x43f368,_0x1a503a)=>{const _0x260d11=_0x5761de,{commentThreadId:_0x542992,documentId:_0x322f22,context:_0x36311,attributes:_0x559713,resolvedAt:_0x322473,resolvedBy:_0x2485c4,comments:_0x829e06}=_0x1a503a;_0x15700f[_0x260d11(0x20e)](_0x542992)||_0x15700f[_0x260d11(0x1d3)]({'threadId':_0x542992,'channelId':_0x322f22,'comments':_0x829e06?_0x829e06[_0x260d11(0x1ea)](p):[],'context':_0x36311,'attributes':_0x559713,'resolvedAt':_0x322473,'resolvedBy':_0x2485c4,'isFromAdapter':!0x0});}),this[_0x5761de(0x205)](_0x575074,_0x5761de(0x1c8),(_0x2f41bd,{commentThreadId:_0x545703,documentId:_0x50b04a,context:_0x570bc8,unlinkedAt:_0x24e83a,attributes:_0x529ce1})=>{const _0x15e1df=_0x5761de;_0x15700f[_0x15e1df(0x20e)](_0x545703)&&_0x15700f[_0x15e1df(0x1b6)]({'threadId':_0x545703,'channelId':_0x50b04a,'context':_0x570bc8,'unlinkedAt':_0x24e83a,'attributes':_0x529ce1,'isFromAdapter':!0x0});}),this[_0x5761de(0x205)](_0x575074,_0x5761de(0x1bc),(_0x28d5ba,{commentThreadId:_0x16ccf,resolvedBy:_0xd4ff83,resolvedAt:_0x9097e2})=>{const _0x10f0e8=_0x5761de,_0x4580c6=_0x15700f[_0x10f0e8(0x20e)](_0x16ccf);_0x4580c6&&_0x4580c6[_0x10f0e8(0x202)]({'resolvedBy':_0xd4ff83,'resolvedAt':_0x9097e2,'isFromAdapter':!0x0});}),this[_0x5761de(0x205)](_0x575074,_0x5761de(0x1ca),(_0x228d51,{commentThreadId:_0x10d3b9})=>{const _0x39072b=_0x5761de,_0x581eaf=_0x15700f[_0x39072b(0x20e)](_0x10d3b9);_0x581eaf&&_0x581eaf[_0x39072b(0x20b)]({'isFromAdapter':!0x0});}),this[_0x5761de(0x205)](_0x575074,_0x5761de(0x1b4),(_0x4be6a1,{commentThreadId:_0x11c3be})=>{const _0x53b936=_0x5761de,_0x548131=_0x15700f[_0x53b936(0x20e)](_0x11c3be);_0x548131&&_0x548131[_0x53b936(0x1d7)]({'isFromAdapter':!0x0});}),this[_0x5761de(0x205)](_0x575074,_0x5761de(0x1da),(_0x783c96,_0x391e97)=>{const _0x3f045c=_0x5761de,_0x5a91d8=_0x391e97[_0x3f045c(0x204)],_0x19d022=_0x15700f[_0x3f045c(0x20e)](_0x5a91d8);_0x19d022&&_0x19d022[_0x3f045c(0x210)]({...p(_0x391e97),'isFromAdapter':!0x0});}),this[_0x5761de(0x205)](_0x575074,_0x5761de(0x1e9),(_0x22956c,{commentThreadId:_0xdfe1e,commentId:_0xac5d02,content:_0x179bf9,attributes:_0xffaf60})=>{const _0x35168a=_0x5761de,_0x19e8d6=_0x15700f[_0x35168a(0x20e)](_0xdfe1e);if(_0x19e8d6){const _0x27c552=_0x19e8d6[_0x35168a(0x1ed)](_0xac5d02);_0x27c552&&_0x27c552[_0x35168a(0x1e6)]({'content':_0x179bf9,'attributes':_0xffaf60,'isFromAdapter':!0x0});}}),this[_0x5761de(0x205)](_0x575074,_0x5761de(0x200),(_0x1f3a13,{commentThreadId:_0x23ca49,commentId:_0x5127b4})=>{const _0x1802cf=_0x5761de,_0x342daf=_0x15700f[_0x1802cf(0x20e)](_0x23ca49);if(_0x342daf){const _0x4c5694=_0x342daf[_0x1802cf(0x1ed)](_0x5127b4);_0x4c5694&&_0x4c5694[_0x1802cf(0x1d7)]({'isFromAdapter':!0x0});}}),await this[_0x5761de(0x20d)](_0x3c28de);}[_0x3b648d(0x1b9)](){const _0x366fcb=_0x3b648d;if(this[_0x366fcb(0x20f)]instanceof _0x38def4){const _0x470575=this[_0x366fcb(0x20f)][_0x366fcb(0x1b5)][_0x366fcb(0x1c6)](_0x366fcb(0x1c0));this[_0x366fcb(0x1cb)](_0x470575);}}[_0x3b648d(0x1cb)](_0x42900a){const _0x2bc36d=_0x3b648d;if(!this[_0x2bc36d(0x1e1)][_0x2bc36d(0x1f1)](_0x42900a))throw new _0x3ae507(_0x2bc36d(0x1fd),null,{'channelId':_0x42900a});this[_0x2bc36d(0x214)](_0x42900a)[_0x2bc36d(0x1c5)](),this[_0x2bc36d(0x1e1)][_0x2bc36d(0x1e3)](_0x42900a);}async[_0x3b648d(0x211)](){const _0x3f4d4c=_0x3b648d;for(const _0x2c2110 of this[_0x3f4d4c(0x1e1)][_0x3f4d4c(0x1ba)]())await this[_0x3f4d4c(0x20d)](_0x2c2110);if(this[_0x3f4d4c(0x20f)]instanceof _0x38def4){const _0x7e0ea5=this[_0x3f4d4c(0x20f)][_0x3f4d4c(0x1b5)][_0x3f4d4c(0x1c6)](_0x3f4d4c(0x1c0)),_0x52721c=this[_0x3f4d4c(0x20f)][_0x3f4d4c(0x216)][_0x3f4d4c(0x1c6)](_0x5a4ac1);_0x52721c[_0x3f4d4c(0x1cd)](_0x7e0ea5);const _0xd0ac2a=await this[_0x3f4d4c(0x1e1)][_0x3f4d4c(0x1c6)](_0x7e0ea5)[_0x3f4d4c(0x1e8)]();_0x52721c[_0x3f4d4c(0x1fa)](_0x7e0ea5,_0xd0ac2a);}}async[_0x3b648d(0x20d)](_0x4db965){const _0x19f8a7=_0x3b648d,{connection:_0x26c68b}=this[_0x19f8a7(0x20f)][_0x19f8a7(0x216)][_0x19f8a7(0x1c6)](_0x2fc56a),_0x3ef027=this[_0x19f8a7(0x20f)][_0x19f8a7(0x216)][_0x19f8a7(0x1c6)](_0x19f8a7(0x1f0)),_0x5e9234=this[_0x19f8a7(0x1e1)][_0x19f8a7(0x1c6)](_0x4db965),_0x22e13a=await _0x5e9234[_0x19f8a7(0x1cf)](_0x26c68b);await this[_0x19f8a7(0x203)](_0x22e13a);const _0x27a7be=new Set(Array[_0x19f8a7(0x1c7)](_0x3ef027[_0x19f8a7(0x1fb)]({'channelId':_0x4db965}),_0x171504=>_0x171504['id']));for(const _0x564ad2 of _0x22e13a)_0x564ad2[_0x19f8a7(0x1f5)]||_0x27a7be[_0x19f8a7(0x1e3)](_0x564ad2[_0x19f8a7(0x204)]);for(const _0x1e2eef of _0x27a7be)_0x3ef027[_0x19f8a7(0x20e)](_0x1e2eef)[_0x19f8a7(0x1d7)]({'isFromAdapter':!0x0});for(const _0x30801f of _0x22e13a){let _0x1f82e0=_0x3ef027[_0x19f8a7(0x20e)](_0x30801f[_0x19f8a7(0x204)]);const {commentThreadId:_0x17880b,context:_0x5da2d5,attributes:_0x4d63ca,resolvedBy:_0x3090a0,resolvedAt:_0x15a428,unlinkedAt:_0x131575,deletedAt:_0xf6b280}=_0x30801f;if(_0xf6b280)continue;_0x1f82e0||(_0x1f82e0=_0x3ef027[_0x19f8a7(0x1d3)]({'channelId':_0x4db965,'threadId':_0x17880b,'context':_0x5da2d5,'attributes':_0x4d63ca||{},'resolvedBy':_0x3090a0,'resolvedAt':_0x15a428,'unlinkedAt':_0x131575,'isFromAdapter':!0x0}));const _0x49c475=new Set(Array[_0x19f8a7(0x1c7)](_0x1f82e0[_0x19f8a7(0x1bd)],_0x172463=>_0x172463['id']));for(const _0x4950e8 of _0x30801f[_0x19f8a7(0x1bd)])_0x49c475[_0x19f8a7(0x1e3)](_0x4950e8[_0x19f8a7(0x20a)]);for(const _0x7a4116 of _0x49c475)_0x1f82e0[_0x19f8a7(0x1ed)](_0x7a4116)[_0x19f8a7(0x1d7)]({'isFromAdapter':!0x0});for(const _0x314f52 of _0x30801f[_0x19f8a7(0x1bd)]){const _0x12b4e7=_0x1f82e0[_0x19f8a7(0x1ed)](_0x314f52[_0x19f8a7(0x20a)]);_0x12b4e7?_0x12b4e7[_0x19f8a7(0x1df)]!==_0x314f52[_0x19f8a7(0x1df)]&&_0x12b4e7[_0x19f8a7(0x1e6)]({'content':_0x314f52[_0x19f8a7(0x1df)],'isFromAdapter':!0x0}):_0x1f82e0[_0x19f8a7(0x210)](Object[_0x19f8a7(0x1f2)](p(_0x314f52),{'isFromAdapter':!0x0}));}}}[_0x3b648d(0x214)](_0xaad679){const _0x47b8a9=_0x3b648d;if(!this[_0x47b8a9(0x1e1)][_0x47b8a9(0x1f1)](_0xaad679))throw new _0x3ae507(_0x47b8a9(0x1d0),null,{'channelId':_0xaad679});return this[_0x47b8a9(0x1e1)][_0x47b8a9(0x1c6)](_0xaad679);}async[_0x3b648d(0x203)](_0x173771){const _0x10ad92=_0x3b648d,_0x594fb3=this[_0x10ad92(0x20f)][_0x10ad92(0x216)][_0x10ad92(0x1c6)](_0x35473c),{connection:_0x210b53}=this[_0x10ad92(0x20f)][_0x10ad92(0x216)][_0x10ad92(0x1c6)](_0x2fc56a),_0x21d4a9=new Set();for(const {resolvedBy:_0xbad402,comments:_0x162fb1}of _0x173771){_0xbad402&&!_0x594fb3[_0x10ad92(0x1e2)](_0xbad402)&&_0x21d4a9[_0x10ad92(0x20c)](_0xbad402);for(const {userId:_0x4a60d6}of _0x162fb1)_0x594fb3[_0x10ad92(0x1e2)](_0x4a60d6)||_0x21d4a9[_0x10ad92(0x20c)](_0x4a60d6);}if(0x0===_0x21d4a9[_0x10ad92(0x1f6)])return;const _0x4389c7=await _0x552a61[_0x10ad92(0x1b8)](_0x210b53,Array[_0x10ad92(0x1c7)](_0x21d4a9));for(const _0x51022b of _0x4389c7)_0x594fb3[_0x10ad92(0x1e2)](_0x51022b['id'])||_0x594fb3[_0x10ad92(0x1bf)](_0x51022b);}}export{s as CloudServicesCommentsAdapter};async function v(_0x1483cc){const _0x2df383=_0x3b648d;if(_0x2df383(0x1ee)!==_0x1483cc[_0x2df383(0x212)])throw _0x1483cc;}function A(_0xc51267){const _0x16836b=_0x3b648d;if((_0x3f2a15=_0xc51267)[_0x16836b(0x1c1)][_0x16836b(0x1d2)](_0x16836b(0x1f8))||_0x3f2a15[_0x16836b(0x1c1)][_0x16836b(0x1d2)](_0x16836b(0x1be))||_0x3f2a15[_0x16836b(0x1c1)][_0x16836b(0x1d2)](_0x16836b(0x215)))return new Promise(()=>{});var _0x3f2a15;throw _0xc51267;}function _0x4c8a(_0x4d02a5,_0x41d5f6){const _0x4f4201=_0x4f42();return _0x4c8a=function(_0x4c8a97,_0x2992ec){_0x4c8a97=_0x4c8a97-0x1b2;let _0x409a5f=_0x4f4201[_0x4c8a97];return _0x409a5f;},_0x4c8a(_0x4d02a5,_0x41d5f6);}function p(_0x4c4f85){const _0x1bc8c7=_0x3b648d;return{'threadId':_0x4c4f85[_0x1bc8c7(0x204)],'commentId':_0x4c4f85[_0x1bc8c7(0x20a)],'content':_0x4c4f85[_0x1bc8c7(0x1df)],'createdAt':_0x4c4f85[_0x1bc8c7(0x208)],'authorId':_0x4c4f85[_0x1bc8c7(0x1e7)],'attributes':_0x4c4f85[_0x1bc8c7(0x1dd)]||{}};}
23
+ const _0xd8dfbe=_0x201c;(function(_0x52913c,_0xd840d8){const _0x45a3fb=_0x201c,_0x55961b=_0x52913c();while(!![]){try{const _0x56677b=parseInt(_0x45a3fb(0xd2))/0x1*(-parseInt(_0x45a3fb(0xe9))/0x2)+parseInt(_0x45a3fb(0xdf))/0x3*(-parseInt(_0x45a3fb(0xe1))/0x4)+-parseInt(_0x45a3fb(0xb3))/0x5*(parseInt(_0x45a3fb(0xc8))/0x6)+parseInt(_0x45a3fb(0xc4))/0x7+-parseInt(_0x45a3fb(0xc9))/0x8*(-parseInt(_0x45a3fb(0xa0))/0x9)+parseInt(_0x45a3fb(0x9f))/0xa*(-parseInt(_0x45a3fb(0xae))/0xb)+parseInt(_0x45a3fb(0xaa))/0xc;if(_0x56677b===_0xd840d8)break;else _0x55961b['push'](_0x55961b['shift']());}catch(_0x55644f){_0x55961b['push'](_0x55961b['shift']());}}}(_0x2b43,0xe4666));import{Context as _0x3f8c10,ContextPlugin as _0x3b71fe}from'ckeditor5/src/core.js';function _0x2b43(){const _0x38f0dd=['cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','message','content','comments','removeCommentThread','cloudservicescommentsadapter-connect-already-connected','isOfficialPlugin','commentThreadRemoved','assign','resolvedBy','10149220NNmAuf','9VJYppm','404','map','isPremiumPlugin','adapter','listenTo','_fetchMissingUsersForThreads','catch','CommentsRepository','reopenCommentThread','55864104YMFrpY','plugins','resolvedAt','addUser','11rzAarU','CommentsService','startsWith','getCommentThreads','addCommentThread','2365agOabq','disconnect','sessionAdd:','size','unregister','updateCommentThread','resolve','pluginName','destroy','commentUpdated','has','off','setPermissions','_connectService','deletedAt','getCommentThread','userId','386239aPZmvy','code','commentRemoved','commentThreadResolved','15366xMXjFX','222752qCouOh','collaboration.channelId','cloudservicescommentsadapter-service-not-exist','attributes','keys','mySessionId','cloudservicescommentsadapter-disconnect-not-exist','remove','context','41xZnlmU','requires','from','cloud-services-internal-error:\x20Not\x20connected.','getUser','config','connect','getMany','addComment','init','register','CloudServicesCommentsAdapter','set','6SVCrYr','resolveCommentThread','1899836nQWFfh','_getService','getComment','_terminateService','permissions','createdAt','delete','reconnect','30568PeKBPY','updateComment','getConnectedSessions','commentId','update','_setUpService','Permissions','commentAdded','removeComment','addToReconnectionStack','authorId','commentThreadAdded','cloud-services-internal-error:\x20Request\x20timeout.','add','_services','commentThreadUpdated','commentThreadId','reopen','commentThreadReopened','get'];_0x2b43=function(){return _0x38f0dd;};return _0x2b43();}import{CKEditorError as _0x3f68c6}from'ckeditor5/src/utils.js';import{Users as _0x300da8}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x446357,User as _0x595538}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1c6b68}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x111e70}from'../realtimecollaborativeediting/sessions.js';class s extends _0x3b71fe{static [_0xd8dfbe(0xaf)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x446357)());[_0xd8dfbe(0xf7)];static get[_0xd8dfbe(0xd3)](){const _0x53dd05=_0xd8dfbe;return[_0x1c6b68,_0x53dd05(0xa8),_0x111e70,_0x300da8];}static get[_0xd8dfbe(0xba)](){const _0x5aff13=_0xd8dfbe;return _0x5aff13(0xdd);}static get[_0xd8dfbe(0x9b)](){return!0x0;}static get[_0xd8dfbe(0xa3)](){return!0x0;}constructor(_0xc4626a){const _0xfe19d7=_0xd8dfbe;super(_0xc4626a),this[_0xfe19d7(0xf7)]=new Map();}async[_0xd8dfbe(0xdb)](){const _0x4acd8f=_0xd8dfbe,_0x106fae=this[_0x4acd8f(0xd1)],_0x4af312=_0x106fae[_0x4acd8f(0xab)][_0x4acd8f(0xfc)](_0x4acd8f(0xa8));if(_0x106fae[_0x4acd8f(0xab)][_0x4acd8f(0xfc)](_0x1c6b68)[_0x4acd8f(0xf2)](this),_0x4af312[_0x4acd8f(0xa4)]={'addCommentThread':async({channelId:_0x2adae4,threadId:_0x481469,comments:_0x2a7330,resolvedAt:_0x14afc3,resolvedBy:_0x594c4f,context:_0x343faf,attributes:_0x455ad8})=>{const _0x193f91=_0x4acd8f,_0x4d1750=await this[_0x193f91(0xe2)](_0x2adae4)[_0x193f91(0xb2)]({'commentThreadId':_0x481469,'comments':_0x2a7330[_0x193f91(0xa2)](_0x4e6d25=>function(_0x5c4e88,_0x3f70f3,_0x4ccdd1){const _0x23d997=_0x193f91;return{'commentThreadId':_0x4ccdd1,'commentId':_0x5c4e88[_0x23d997(0xec)],'userId':_0x5c4e88[_0x23d997(0xf3)],'content':_0x5c4e88[_0x23d997(0x97)],'documentId':_0x3f70f3,'createdAt':_0x5c4e88[_0x23d997(0xe6)],'attributes':_0x5c4e88[_0x23d997(0xcc)]||{}};}(_0x4e6d25,_0x2adae4,_0x481469)),'resolvedAt':_0x14afc3,'resolvedBy':_0x594c4f,'context':_0x343faf,'attributes':_0x455ad8})[_0x193f91(0xa7)](it);return{'threadId':_0x4d1750[_0x193f91(0xf9)],'comments':_0x4d1750[_0x193f91(0x98)]};},'getCommentThread':async({channelId:_0x1249a7,threadId:_0x3ee850})=>{const _0x274893=_0x4acd8f,_0x585d19=await this[_0x274893(0xe2)](_0x1249a7)[_0x274893(0xc2)](_0x3ee850)[_0x274893(0xa7)](it);return _0x585d19[_0x274893(0xc1)]?null:(await this[_0x274893(0xa6)]([_0x585d19]),{'threadId':_0x585d19[_0x274893(0xf9)],'comments':_0x585d19[_0x274893(0x98)][_0x274893(0xa2)](st),'context':_0x585d19[_0x274893(0xd1)],'resolvedAt':_0x585d19[_0x274893(0xac)],'resolvedBy':_0x585d19[_0x274893(0x9e)],'attributes':_0x585d19[_0x274893(0xcc)]||{}});},'updateCommentThread':async({channelId:_0x1042db,threadId:_0x1bac32,context:_0x5c7c3d,unlinkedAt:_0x1d044d,attributes:_0x328fa8})=>this[_0x4acd8f(0xe2)](_0x1042db)[_0x4acd8f(0xb8)]({'commentThreadId':_0x1bac32,'context':_0x5c7c3d,'attributes':_0x328fa8,'unlinkedAt':_0x1d044d})[_0x4acd8f(0xa7)](nt)[_0x4acd8f(0xa7)](it),'resolveCommentThread':async({channelId:_0xfb3d8c,threadId:_0x46c7df})=>{const _0x4f94c9=_0x4acd8f,_0xba3332=await this[_0x4f94c9(0xe2)](_0xfb3d8c)[_0x4f94c9(0xe0)](_0x46c7df)[_0x4f94c9(0xa7)](nt)[_0x4f94c9(0xa7)](it);return{'threadId':_0xba3332[_0x4f94c9(0xf9)],'resolvedAt':_0xba3332[_0x4f94c9(0xac)],'resolvedBy':_0xba3332[_0x4f94c9(0x9e)]};},'reopenCommentThread':async({channelId:_0x4e8910,threadId:_0x11d21e})=>this[_0x4acd8f(0xe2)](_0x4e8910)[_0x4acd8f(0xa9)](_0x11d21e)[_0x4acd8f(0xa7)](nt)[_0x4acd8f(0xa7)](it),'removeCommentThread':({channelId:_0x1cf5b5,threadId:_0x46e243})=>this[_0x4acd8f(0xe2)](_0x1cf5b5)[_0x4acd8f(0x99)](_0x46e243)[_0x4acd8f(0xa7)](nt)[_0x4acd8f(0xa7)](it),'addComment':({channelId:_0xcd0018,threadId:_0x2b62ae,commentId:_0x57ca9e,content:_0x54f29b,attributes:_0x214f19})=>this[_0x4acd8f(0xe2)](_0xcd0018)[_0x4acd8f(0xda)](_0x2b62ae,_0x57ca9e,_0x54f29b,_0x214f19)[_0x4acd8f(0xa7)](it),'updateComment':({channelId:_0x255161,threadId:_0x2874ce,commentId:_0x8a8315,content:_0x2432f4,attributes:_0x488860})=>this[_0x4acd8f(0xe2)](_0x255161)[_0x4acd8f(0xea)](_0x2874ce,_0x8a8315,_0x2432f4,_0x488860)[_0x4acd8f(0xa7)](nt)[_0x4acd8f(0xa7)](it),'removeComment':({channelId:_0x13a8dd,threadId:_0x4c97bb,commentId:_0x116790})=>this[_0x4acd8f(0xe2)](_0x13a8dd)[_0x4acd8f(0xf1)](_0x4c97bb,_0x116790)[_0x4acd8f(0xa7)](nt)[_0x4acd8f(0xa7)](it)},_0x106fae instanceof _0x3f8c10){const _0x1464ce=_0x106fae[_0x4acd8f(0xd7)][_0x4acd8f(0xfc)](_0x4acd8f(0xca)),_0x5d1325=_0x106fae[_0x4acd8f(0xab)][_0x4acd8f(0xfc)](_0x111e70);await this[_0x4acd8f(0xee)](_0x1464ce);const _0x2e75b9=await this[_0x4acd8f(0xf7)][_0x4acd8f(0xfc)](_0x1464ce)[_0x4acd8f(0xeb)]();this[_0x4acd8f(0xa5)](_0x5d1325,_0x4acd8f(0xb5)+_0x1464ce,(_0xc61686,{session:_0x7ce8ec})=>{const _0x3cef4a=_0x4acd8f;_0x7ce8ec['id']===_0x5d1325[_0x3cef4a(0xce)]&&(_0xc61686[_0x3cef4a(0xbe)](),this[_0x3cef4a(0xd1)][_0x3cef4a(0xab)][_0x3cef4a(0xfc)](_0x3cef4a(0xef))[_0x3cef4a(0xbf)](_0x7ce8ec[_0x3cef4a(0xe5)],_0x1464ce));}),_0x5d1325[_0x4acd8f(0xdc)](_0x1464ce,_0x2e75b9);}}async[_0xd8dfbe(0xee)](_0x10f20a){const _0x3991e7=_0xd8dfbe;if(this[_0x3991e7(0xf7)][_0x3991e7(0xbd)](_0x10f20a))throw new _0x3f68c6(_0x3991e7(0x9a),null,{'channelId':_0x10f20a});const _0x195ba3=this[_0x3991e7(0xd1)][_0x3991e7(0xab)][_0x3991e7(0xfc)](_0x3991e7(0xa8)),_0x3dcf37=new s[(_0x3991e7(0xaf))](_0x10f20a);this[_0x3991e7(0xf7)][_0x3991e7(0xde)](_0x10f20a,_0x3dcf37),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xf4),(_0x1143c3,_0x195eb4)=>{const _0x4a0673=_0x3991e7,{commentThreadId:_0x559805,documentId:_0x160024,context:_0x10bbc5,attributes:_0x1cba9d,resolvedAt:_0x211fa8,resolvedBy:_0x370256,comments:_0x412311}=_0x195eb4;_0x195ba3[_0x4a0673(0xc2)](_0x559805)||_0x195ba3[_0x4a0673(0xb2)]({'threadId':_0x559805,'channelId':_0x160024,'comments':_0x412311?_0x412311[_0x4a0673(0xa2)](st):[],'context':_0x10bbc5,'attributes':_0x1cba9d,'resolvedAt':_0x211fa8,'resolvedBy':_0x370256,'isFromAdapter':!0x0});}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xf8),(_0x4db06e,{commentThreadId:_0x44f0bf,documentId:_0x45a3a1,context:_0x3453af,unlinkedAt:_0x8a6823,attributes:_0x3aa39e})=>{const _0x57f128=_0x3991e7;_0x195ba3[_0x57f128(0xc2)](_0x44f0bf)&&_0x195ba3[_0x57f128(0xb8)]({'threadId':_0x44f0bf,'channelId':_0x45a3a1,'context':_0x3453af,'unlinkedAt':_0x8a6823,'attributes':_0x3aa39e,'isFromAdapter':!0x0});}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xc7),(_0x3971d4,{commentThreadId:_0xd7ad83,resolvedBy:_0x41a27a,resolvedAt:_0x57d8d6})=>{const _0x14f5c6=_0x3991e7,_0x20081e=_0x195ba3[_0x14f5c6(0xc2)](_0xd7ad83);_0x20081e&&_0x20081e[_0x14f5c6(0xb9)]({'resolvedBy':_0x41a27a,'resolvedAt':_0x57d8d6,'isFromAdapter':!0x0});}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xfb),(_0x534f5d,{commentThreadId:_0x5a709a})=>{const _0x1d72a5=_0x3991e7,_0x4b3d14=_0x195ba3[_0x1d72a5(0xc2)](_0x5a709a);_0x4b3d14&&_0x4b3d14[_0x1d72a5(0xfa)]({'isFromAdapter':!0x0});}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0x9c),(_0x34819c,{commentThreadId:_0x3bc3e2})=>{const _0x13791e=_0x3991e7,_0x2df891=_0x195ba3[_0x13791e(0xc2)](_0x3bc3e2);_0x2df891&&_0x2df891[_0x13791e(0xd0)]({'isFromAdapter':!0x0});}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xf0),(_0x2863c0,_0x473615)=>{const _0x1cf171=_0x3991e7,_0xa2533f=_0x473615[_0x1cf171(0xf9)],_0x4e3bae=_0x195ba3[_0x1cf171(0xc2)](_0xa2533f);_0x4e3bae&&_0x4e3bae[_0x1cf171(0xda)]({...st(_0x473615),'isFromAdapter':!0x0});}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xbc),(_0x296c09,{commentThreadId:_0x106713,commentId:_0x239db0,content:_0xf4fce8,attributes:_0x20cbb4})=>{const _0x57742c=_0x3991e7,_0x361437=_0x195ba3[_0x57742c(0xc2)](_0x106713);if(_0x361437){const _0x13fee3=_0x361437[_0x57742c(0xe3)](_0x239db0);_0x13fee3&&_0x13fee3[_0x57742c(0xed)]({'content':_0xf4fce8,'attributes':_0x20cbb4,'isFromAdapter':!0x0});}}),this[_0x3991e7(0xa5)](_0x3dcf37,_0x3991e7(0xc6),(_0x42ef9b,{commentThreadId:_0x3ba3f0,commentId:_0x33ec2c})=>{const _0x4b3f32=_0x3991e7,_0x49cda5=_0x195ba3[_0x4b3f32(0xc2)](_0x3ba3f0);if(_0x49cda5){const _0x31ca66=_0x49cda5[_0x4b3f32(0xe3)](_0x33ec2c);_0x31ca66&&_0x31ca66[_0x4b3f32(0xd0)]({'isFromAdapter':!0x0});}}),await this[_0x3991e7(0xc0)](_0x10f20a);}[_0xd8dfbe(0xbb)](){const _0x22e893=_0xd8dfbe;if(this[_0x22e893(0xd1)]instanceof _0x3f8c10){const _0x1da7fc=this[_0x22e893(0xd1)][_0x22e893(0xd7)][_0x22e893(0xfc)](_0x22e893(0xca));this[_0x22e893(0xe4)](_0x1da7fc);}}[_0xd8dfbe(0xe4)](_0x2181b1){const _0x3a9394=_0xd8dfbe;if(!this[_0x3a9394(0xf7)][_0x3a9394(0xbd)](_0x2181b1))throw new _0x3f68c6(_0x3a9394(0xcf),null,{'channelId':_0x2181b1});this[_0x3a9394(0xe2)](_0x2181b1)[_0x3a9394(0xb4)](),this[_0x3a9394(0xf7)][_0x3a9394(0xe7)](_0x2181b1);}async[_0xd8dfbe(0xe8)](){const _0x554dcc=_0xd8dfbe;for(const _0x448a80 of this[_0x554dcc(0xf7)][_0x554dcc(0xcd)]())await this[_0x554dcc(0xc0)](_0x448a80);if(this[_0x554dcc(0xd1)]instanceof _0x3f8c10){const _0x1108a9=this[_0x554dcc(0xd1)][_0x554dcc(0xd7)][_0x554dcc(0xfc)](_0x554dcc(0xca)),_0x1ea3ab=this[_0x554dcc(0xd1)][_0x554dcc(0xab)][_0x554dcc(0xfc)](_0x111e70);_0x1ea3ab[_0x554dcc(0xb7)](_0x1108a9);const _0x5192fc=await this[_0x554dcc(0xf7)][_0x554dcc(0xfc)](_0x1108a9)[_0x554dcc(0xeb)]();_0x1ea3ab[_0x554dcc(0xdc)](_0x1108a9,_0x5192fc);}}async[_0xd8dfbe(0xc0)](_0x275f3a){const _0x2ec8aa=_0xd8dfbe,{connection:_0x193933}=this[_0x2ec8aa(0xd1)][_0x2ec8aa(0xab)][_0x2ec8aa(0xfc)](_0x1c6b68),_0x530f94=this[_0x2ec8aa(0xd1)][_0x2ec8aa(0xab)][_0x2ec8aa(0xfc)](_0x2ec8aa(0xa8)),_0x53c102=this[_0x2ec8aa(0xf7)][_0x2ec8aa(0xfc)](_0x275f3a),_0x1bd758=await _0x53c102[_0x2ec8aa(0xd8)](_0x193933);await this[_0x2ec8aa(0xa6)](_0x1bd758);const _0x5ca2a2=new Set(Array[_0x2ec8aa(0xd4)](_0x530f94[_0x2ec8aa(0xb1)]({'channelId':_0x275f3a}),_0x188d9f=>_0x188d9f['id']));for(const _0x596735 of _0x1bd758)_0x596735[_0x2ec8aa(0xc1)]||_0x5ca2a2[_0x2ec8aa(0xe7)](_0x596735[_0x2ec8aa(0xf9)]);for(const _0x1fb9b1 of _0x5ca2a2)_0x530f94[_0x2ec8aa(0xc2)](_0x1fb9b1)[_0x2ec8aa(0xd0)]({'isFromAdapter':!0x0});for(const _0x504958 of _0x1bd758){let _0x59a5c6=_0x530f94[_0x2ec8aa(0xc2)](_0x504958[_0x2ec8aa(0xf9)]);const {commentThreadId:_0x255ab7,context:_0x1769ed,attributes:_0x1f155c,resolvedBy:_0x2b548d,resolvedAt:_0x6aabec,unlinkedAt:_0x422ce3,deletedAt:_0x31a43d}=_0x504958;if(_0x31a43d)continue;_0x59a5c6||(_0x59a5c6=_0x530f94[_0x2ec8aa(0xb2)]({'channelId':_0x275f3a,'threadId':_0x255ab7,'context':_0x1769ed,'attributes':_0x1f155c||{},'resolvedBy':_0x2b548d,'resolvedAt':_0x6aabec,'unlinkedAt':_0x422ce3,'isFromAdapter':!0x0}));const _0x439ca5=new Set(Array[_0x2ec8aa(0xd4)](_0x59a5c6[_0x2ec8aa(0x98)],_0x542d7a=>_0x542d7a['id']));for(const _0xd3a586 of _0x504958[_0x2ec8aa(0x98)])_0x439ca5[_0x2ec8aa(0xe7)](_0xd3a586[_0x2ec8aa(0xec)]);for(const _0x2d8129 of _0x439ca5)_0x59a5c6[_0x2ec8aa(0xe3)](_0x2d8129)[_0x2ec8aa(0xd0)]({'isFromAdapter':!0x0});for(const _0x1a2afb of _0x504958[_0x2ec8aa(0x98)]){const _0x5056dd=_0x59a5c6[_0x2ec8aa(0xe3)](_0x1a2afb[_0x2ec8aa(0xec)]);_0x5056dd?_0x5056dd[_0x2ec8aa(0x97)]!==_0x1a2afb[_0x2ec8aa(0x97)]&&_0x5056dd[_0x2ec8aa(0xed)]({'content':_0x1a2afb[_0x2ec8aa(0x97)],'isFromAdapter':!0x0}):_0x59a5c6[_0x2ec8aa(0xda)](Object[_0x2ec8aa(0x9d)](st(_0x1a2afb),{'isFromAdapter':!0x0}));}}}[_0xd8dfbe(0xe2)](_0x371da2){const _0x3e2180=_0xd8dfbe;if(!this[_0x3e2180(0xf7)][_0x3e2180(0xbd)](_0x371da2))throw new _0x3f68c6(_0x3e2180(0xcb),null,{'channelId':_0x371da2});return this[_0x3e2180(0xf7)][_0x3e2180(0xfc)](_0x371da2);}async[_0xd8dfbe(0xa6)](_0x1f73fb){const _0x2f41e5=_0xd8dfbe,_0x3b8176=this[_0x2f41e5(0xd1)][_0x2f41e5(0xab)][_0x2f41e5(0xfc)](_0x300da8),{connection:_0x4c8cec}=this[_0x2f41e5(0xd1)][_0x2f41e5(0xab)][_0x2f41e5(0xfc)](_0x1c6b68),_0x2b3d8d=new Set();for(const {resolvedBy:_0x3057d3,comments:_0x407b6f}of _0x1f73fb){_0x3057d3&&!_0x3b8176[_0x2f41e5(0xd6)](_0x3057d3)&&_0x2b3d8d[_0x2f41e5(0xf6)](_0x3057d3);for(const {userId:_0x3ed13a}of _0x407b6f)_0x3b8176[_0x2f41e5(0xd6)](_0x3ed13a)||_0x2b3d8d[_0x2f41e5(0xf6)](_0x3ed13a);}if(0x0===_0x2b3d8d[_0x2f41e5(0xb6)])return;const _0x2e830f=await _0x595538[_0x2f41e5(0xd9)](_0x4c8cec,Array[_0x2f41e5(0xd4)](_0x2b3d8d));for(const _0x1735a6 of _0x2e830f)_0x3b8176[_0x2f41e5(0xd6)](_0x1735a6['id'])||_0x3b8176[_0x2f41e5(0xad)](_0x1735a6);}}export{s as CloudServicesCommentsAdapter};function _0x201c(_0x1e38fb,_0xe0bed4){const _0x2b43ff=_0x2b43();return _0x201c=function(_0x201c2e,_0x22f16d){_0x201c2e=_0x201c2e-0x97;let _0x42bceb=_0x2b43ff[_0x201c2e];return _0x42bceb;},_0x201c(_0x1e38fb,_0xe0bed4);}async function nt(_0x131994){const _0x20b02e=_0xd8dfbe;if(_0x20b02e(0xa1)!==_0x131994[_0x20b02e(0xc5)])throw _0x131994;}function it(_0x547727){const _0x543e60=_0xd8dfbe;if((_0x12737c=_0x547727)[_0x543e60(0xfe)][_0x543e60(0xb0)](_0x543e60(0xfd))||_0x12737c[_0x543e60(0xfe)][_0x543e60(0xb0)](_0x543e60(0xd5))||_0x12737c[_0x543e60(0xfe)][_0x543e60(0xb0)](_0x543e60(0xf5)))return new Promise(()=>{});var _0x12737c;throw _0x547727;}function st(_0xcff636){const _0x1a8183=_0xd8dfbe;return{'threadId':_0xcff636[_0x1a8183(0xf9)],'commentId':_0xcff636[_0x1a8183(0xec)],'content':_0xcff636[_0x1a8183(0x97)],'createdAt':_0xcff636[_0x1a8183(0xe6)],'authorId':_0xcff636[_0x1a8183(0xc3)],'attributes':_0xcff636[_0x1a8183(0xcc)]||{}};}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbad4cf=_0x48c2;(function(_0x411913,_0x3328ed){const _0x13f46d=_0x48c2,_0x44ee6c=_0x411913();while(!![]){try{const _0xefefee=parseInt(_0x13f46d(0x1c8))/0x1+-parseInt(_0x13f46d(0x203))/0x2*(parseInt(_0x13f46d(0x206))/0x3)+parseInt(_0x13f46d(0x1e2))/0x4*(parseInt(_0x13f46d(0x1d6))/0x5)+-parseInt(_0x13f46d(0x1c6))/0x6*(-parseInt(_0x13f46d(0x189))/0x7)+-parseInt(_0x13f46d(0x173))/0x8+-parseInt(_0x13f46d(0x156))/0x9*(-parseInt(_0x13f46d(0x196))/0xa)+-parseInt(_0x13f46d(0x1ed))/0xb;if(_0xefefee===_0x3328ed)break;else _0x44ee6c['push'](_0x44ee6c['shift']());}catch(_0x170006){_0x44ee6c['push'](_0x44ee6c['shift']());}}}(_0x1c32,0x89e37));import{Plugin as _0x543271,PendingActions as _0x23109d}from'ckeditor5/src/core.js';import{CKEditorError as _0x18c474,version as _0x62e24a,uid as _0x3e5e60}from'ckeditor5/src/utils.js';import{Notification as _0x4e1e22}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x551b4a,NoOperation as _0x50dfea,InsertOperation as _0x20e510,MarkerOperation as _0x4184ab,RootAttributeOperation as _0x40ccf7,OperationFactory as _0x4e7542,History as _0x2c180a}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x81604}from'./websocketgateway.js';import{Sessions as _0x144506}from'./sessions.js';function _0x48c2(_0xc3a67d,_0x4261b6){const _0x1c32b8=_0x1c32();return _0x48c2=function(_0x48c27c,_0x5dac54){_0x48c27c=_0x48c27c-0x100;let _0x26133d=_0x1c32b8[_0x48c27c];return _0x26133d;},_0x48c2(_0xc3a67d,_0x4261b6);}import{UserMarkers as _0x11133b}from'./usermarkers.js';import{getTranslation as _0x5db92b}from'../common-translations.js';import{Compressor as _0x5ce3be}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x4d338}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4fee68,CollaborativeEditingService as _0xa9e4a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let X=0x1;class l extends _0x543271{static [_0xbad4cf(0x1ea)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0xa9e4a)());[_0xbad4cf(0x1b6)];[_0xbad4cf(0x193)];[_0xbad4cf(0x175)];[_0xbad4cf(0x150)];[_0xbad4cf(0x127)];[_0xbad4cf(0x100)];[_0xbad4cf(0x178)];[_0xbad4cf(0x1af)];[_0xbad4cf(0x1fe)];[_0xbad4cf(0x1c3)];[_0xbad4cf(0x1cc)];[_0xbad4cf(0x188)];[_0xbad4cf(0x10d)];[_0xbad4cf(0x1a6)];[_0xbad4cf(0x12c)];[_0xbad4cf(0x160)];[_0xbad4cf(0x1d0)];[_0xbad4cf(0x1da)];static get[_0xbad4cf(0x1b3)](){return[_0x81604,_0x144506,_0x11133b,_0x23109d,_0x4d338,_0x4e1e22];}static get[_0xbad4cf(0x1ac)](){const _0x42e27a=_0xbad4cf;return _0x42e27a(0x106);}static get[_0xbad4cf(0x153)](){return!0x0;}static get[_0xbad4cf(0x135)](){return!0x0;}get[_0xbad4cf(0x1fc)](){const _0x295125=_0xbad4cf;return this[_0x295125(0x123)]+this[_0x295125(0x1b6)];}get[_0xbad4cf(0x123)](){const _0x59b898=_0xbad4cf;return this[_0x59b898(0x175)][_0x59b898(0x1c1)]-this[_0x59b898(0x1b6)];}get[_0xbad4cf(0x17a)](){const _0x5ea697=_0xbad4cf,_0x44ebed=this[_0x5ea697(0x175)][_0x5ea697(0x1b4)]();for(let _0x220f7d=_0x44ebed[_0x5ea697(0x1a8)]-0x1;_0x220f7d>=0x0;_0x220f7d--){const _0x540346=_0x44ebed[_0x220f7d];if(!this[_0x5ea697(0x1d0)][_0x5ea697(0x172)](_0x540346))return _0x540346[_0x5ea697(0x1a9)]+0x1-this[_0x5ea697(0x1b6)];}return 0x0;}constructor(_0x586fe9){const _0x523405=_0xbad4cf;if(super(_0x586fe9),this[_0x523405(0x1b6)]=0x0,this[_0x523405(0x193)]=null,this[_0x523405(0x175)]=new _0x2c180a(),this[_0x523405(0x198)][_0x523405(0x201)][_0x523405(0x110)](_0x523405(0x190),{}),this[_0x523405(0x150)]=this[_0x523405(0x198)][_0x523405(0x201)][_0x523405(0x1f4)](_0x523405(0x1d9)),!this[_0x523405(0x150)])throw new _0x18c474(_0x523405(0x13e),this);const _0x2089d3=_0x586fe9[_0x523405(0x201)][_0x523405(0x1f4)](_0x523405(0x146))||_0x62e24a;this[_0x523405(0x127)]=new l[(_0x523405(0x1ea))](_0x2089d3,this[_0x523405(0x150)]),this[_0x523405(0x100)]=this[_0x523405(0x198)][_0x523405(0x16d)][_0x523405(0x109)],this[_0x523405(0x178)]=new _0x5ce3be(),this[_0x523405(0x1af)]=[],this[_0x523405(0x1fe)]=new WeakSet(),this[_0x523405(0x1c3)]=new Set(),this[_0x523405(0x1ad)](_0x523405(0x192),!0x1),this[_0x523405(0x1ad)](_0x523405(0x17e),!0x1),this[_0x523405(0x1cc)]=null,this[_0x523405(0x188)]=!0x1,this[_0x523405(0x10d)]=null,this[_0x523405(0x1a6)]=0x12c,this[_0x523405(0x12c)]=this[_0x523405(0x1a6)],this[_0x523405(0x160)]=null,this[_0x523405(0x1d0)]=new WeakSet(),this[_0x523405(0x1da)]=new tt(this[_0x523405(0x1d0)]);}[_0xbad4cf(0x19e)](){const _0x104f2b=_0xbad4cf,_0x1cc630=this[_0x104f2b(0x198)],_0x38159e=_0x1cc630[_0x104f2b(0x1e3)][_0x104f2b(0x1f4)](_0x4d338),_0xde302b=_0x1cc630[_0x104f2b(0x1e3)][_0x104f2b(0x1f4)](_0x81604);this[_0x104f2b(0x1d8)](_0x38159e,_0x104f2b(0x1d4),(_0xa6250,_0x4962a0)=>{const _0x40399c=_0x104f2b,_0x4e9eb7=_0x4962a0[0x0];_0x4e9eb7[_0x40399c(0x157)]&&(_0xa6250[_0x40399c(0x136)]=_0x38159e[_0x40399c(0x1cb)](_0x4e9eb7[_0x40399c(0x157)]),_0xa6250[_0x40399c(0x205)]()),null===_0x4e9eb7[_0x40399c(0x157)]&&(_0xa6250[_0x40399c(0x136)]=null,_0xa6250[_0x40399c(0x205)]());},{'priority':_0x104f2b(0x1a7)}),this[_0x104f2b(0x1d8)](_0x1cc630[_0x104f2b(0x16d)][_0x104f2b(0x109)][_0x104f2b(0x18b)],_0x104f2b(0x199),(_0x1d55a3,_0x9c3186)=>{const _0x52380c=_0x104f2b;_0x9c3186[_0x52380c(0x16a)]&&this[_0x52380c(0x1d3)]();}),this[_0x104f2b(0x1d8)](_0x1cc630[_0x104f2b(0x1aa)][_0x104f2b(0x1e5)],_0x104f2b(0x122),()=>{const _0x843c7f=_0x104f2b;this[_0x843c7f(0x1d3)]();}),this[_0x104f2b(0x166)](),_0x1cc630[_0x104f2b(0x16d)]['on'](_0x104f2b(0x12d),(_0x3fda7f,_0x1342f6)=>{const _0x2feed2=_0x104f2b,_0x5bd11a=_0x1342f6[0x0];_0x5bd11a[_0x2feed2(0x1df)]&&(this[_0x2feed2(0x16c)](_0x5bd11a),this[_0x2feed2(0x120)]()&&this[_0x2feed2(0x14c)]());}),this[_0x104f2b(0x1d1)](),this[_0x104f2b(0x1cf)](_0x104f2b(0x17f))['to'](_0xde302b,_0x104f2b(0x183),this,_0x104f2b(0x17e),(_0x331eed,_0x5bd527)=>_0x104f2b(0x18d)===_0x331eed&&!_0x5bd527),this['on'](_0x104f2b(0x1c0),()=>{const _0x430ee4=_0x104f2b;this[_0x430ee4(0x17f)]?_0x1cc630[_0x430ee4(0x1ba)](_0x430ee4(0x1ee)):_0x1cc630[_0x430ee4(0x159)](_0x430ee4(0x1ee));}),this[_0x104f2b(0x17f)]?_0x1cc630[_0x104f2b(0x1ba)](_0x104f2b(0x1ee)):_0x1cc630[_0x104f2b(0x159)](_0x104f2b(0x1ee)),this[_0x104f2b(0x1ad)](_0x104f2b(0x1ab),!0x1);}async[_0xbad4cf(0x107)](){const _0x4730b4=_0xbad4cf,_0x3a565b=this[_0x4730b4(0x198)][_0x4730b4(0x1e3)][_0x4730b4(0x1f4)](_0x144506),_0x13e9a8=this[_0x4730b4(0x198)][_0x4730b4(0x1e3)][_0x4730b4(0x1f4)](_0x81604);try{this[_0x4730b4(0x192)]=!0x0,_0x3a565b[_0x4730b4(0x105)](this[_0x4730b4(0x150)]);const _0x5f1440=await this[_0x4730b4(0x127)][_0x4730b4(0x107)](_0x13e9a8[_0x4730b4(0x1fa)],this[_0x4730b4(0x17a)]);await this[_0x4730b4(0x143)](_0x5f1440)&&(this[_0x4730b4(0x192)]=!0x1,this[_0x4730b4(0x1c9)]());const _0x257b77=await this[_0x4730b4(0x127)][_0x4730b4(0x17d)]();_0x3a565b[_0x4730b4(0x1ce)](this[_0x4730b4(0x150)],_0x257b77),this[_0x4730b4(0x14a)](),this[_0x4730b4(0x1ab)]=!0x0;}catch(_0x36c58b){if(function(_0x279e39){const _0x572db9=_0x4730b4;return _0x572db9(0x125)===_0x279e39[_0x572db9(0x19f)];}(_0x36c58b)&&this[_0x4730b4(0x193)])await this[_0x4730b4(0x103)]();else{if(function(_0x1931e9){const _0x611508=_0x4730b4;return _0x611508(0x171)===_0x1931e9[_0x611508(0x19f)];}(_0x36c58b)){const _0x3dafef=_0x5db92b(this[_0x4730b4(0x198)][_0x4730b4(0x149)],_0x4730b4(0x163));this[_0x4730b4(0x191)](_0x3dafef);}else{if(!(_0x36c58b instanceof Y))throw _0x36c58b;this[_0x4730b4(0x191)]();}}}}[_0xbad4cf(0x182)](){const _0x4f0bcf=_0xbad4cf,_0x547eec=this[_0x4f0bcf(0x198)][_0x4f0bcf(0x1e3)][_0x4f0bcf(0x1f4)](_0x81604),_0x564ebc=this[_0x4f0bcf(0x198)][_0x4f0bcf(0x1e3)][_0x4f0bcf(0x1f4)](_0x144506);this[_0x4f0bcf(0x198)][_0x4f0bcf(0x159)](_0x4f0bcf(0x121)),_0x564ebc[_0x4f0bcf(0x1d2)][_0x4f0bcf(0x172)](this[_0x4f0bcf(0x150)])&&_0x564ebc[_0x4f0bcf(0x105)](this[_0x4f0bcf(0x150)]),_0x547eec[_0x4f0bcf(0x1f0)](this),this[_0x4f0bcf(0x129)](),super[_0x4f0bcf(0x182)]();}async[_0xbad4cf(0x143)](_0x96ae9e){const _0x49ae06=_0xbad4cf;if(this[_0x49ae06(0x193)]!==_0x96ae9e[_0x49ae06(0x193)]&&this[_0x49ae06(0x160)]!==_0x96ae9e[_0x49ae06(0x14b)])throw new Y();return this[_0x49ae06(0x193)]=_0x96ae9e[_0x49ae06(0x193)],this[_0x49ae06(0x1c4)]([],{..._0x96ae9e,'wereChangesApplied':!0x1,'data':_0x96ae9e[_0x49ae06(0x147)]},_0x49ae06(0x107));}async[_0xbad4cf(0x181)](_0x4841d0,_0x2a3c46=!0x1){const _0x1e3f5f=_0xbad4cf,{connection:_0x56ab52}=this[_0x1e3f5f(0x198)][_0x1e3f5f(0x1e3)][_0x1e3f5f(0x1f4)](_0x81604);l[_0x1e3f5f(0x1ea)][_0x1e3f5f(0x17d)](_0x56ab52,this[_0x1e3f5f(0x150)])[_0x1e3f5f(0x165)](_0x58a1a2=>this[_0x1e3f5f(0x15f)](_0x58a1a2))[_0x1e3f5f(0x126)](_0x55a3dc=>{const _0x53afcd=_0x1e3f5f;this[_0x53afcd(0x1dc)](_0x53afcd(0x12e),_0x55a3dc);}),this[_0x1e3f5f(0x1d8)](this[_0x1e3f5f(0x127)],_0x1e3f5f(0x161),this[_0x1e3f5f(0x11e)][_0x1e3f5f(0x1cf)](this)),this[_0x1e3f5f(0x1d8)](this[_0x1e3f5f(0x127)],_0x1e3f5f(0x154),(_0x22d253,_0x4fa5eb)=>{const _0xaf3261=_0x1e3f5f;this[_0xaf3261(0x1dc)](_0xaf3261(0x1ae),_0x4fa5eb);}),this[_0x1e3f5f(0x1d8)](this[_0x1e3f5f(0x127)],_0x1e3f5f(0x1eb),()=>{const _0x303357=_0x1e3f5f;this[_0x303357(0x1ab)]=!0x1;});const _0x53e8d8=this[_0x1e3f5f(0x1da)][_0x1e3f5f(0x133)](_0x4841d0);this[_0x1e3f5f(0x192)]=!0x0;const _0x1a5fdd=await this[_0x1e3f5f(0x127)][_0x1e3f5f(0x1e1)](_0x56ab52,this[_0x1e3f5f(0x10f)](_0x4841d0),_0x53e8d8);if(this[_0x1e3f5f(0x193)]=_0x1a5fdd[_0x1e3f5f(0x193)],_0x2a3c46){if(!_0x1a5fdd[_0x1e3f5f(0x1ef)])return void this[_0x1e3f5f(0x191)]();this[_0x1e3f5f(0x192)]=!0x1,this[_0x1e3f5f(0x1c9)](),this[_0x1e3f5f(0x175)][_0x1e3f5f(0x1ca)](),this[_0x1e3f5f(0x1b6)]=_0x1a5fdd[_0x1e3f5f(0x101)],this[_0x1e3f5f(0x175)][_0x1e3f5f(0x1c1)]=this[_0x1e3f5f(0x1b6)],await this[_0x1e3f5f(0x1c4)](_0x4841d0,_0x1a5fdd,_0x1e3f5f(0x15b));}else await this[_0x1e3f5f(0x137)](_0x1a5fdd,_0x4841d0);this[_0x1e3f5f(0x14a)](),this[_0x1e3f5f(0x1ab)]=!0x0;}[_0xbad4cf(0x14a)](){const _0x5002e2=_0xbad4cf,_0x205869=this[_0x5002e2(0x198)][_0x5002e2(0x1e3)][_0x5002e2(0x1f4)](_0x144506),_0x374b19=this[_0x5002e2(0x198)][_0x5002e2(0x1e3)][_0x5002e2(0x1f4)](_0x11133b),_0x5ba0bf=_0x205869[_0x5002e2(0x1d2)][_0x5002e2(0x1f4)](this[_0x5002e2(0x150)]);_0x5ba0bf&&_0x5ba0bf[_0x5002e2(0x1a8)]>0x1?_0x374b19[_0x5002e2(0x19b)]():this[_0x5002e2(0x1d8)](_0x205869,_0x5002e2(0x1de)+this[_0x5002e2(0x150)],()=>{const _0x1c5ac5=_0x5002e2;0x2===_0x205869[_0x1c5ac5(0x1d2)][_0x1c5ac5(0x1f4)](this[_0x1c5ac5(0x150)])[_0x1c5ac5(0x1a8)]&&_0x374b19[_0x1c5ac5(0x19b)]();});}async[_0xbad4cf(0x11e)](_0xedfbcd,_0x5a0d95,_0x8108c4,_0x3b561a){const _0x479d18=_0xbad4cf;if(!this[_0x479d18(0x192)]&&this[_0x479d18(0x100)][_0x479d18(0x1c1)]==_0x5a0d95){const _0x58b3ec=this[_0x479d18(0x10e)](_0x8108c4,_0x3b561a);await this[_0x479d18(0x1ff)](_0x58b3ec),this[_0x479d18(0x130)](_0x58b3ec,_0x5a0d95,_0x8108c4[_0x479d18(0x14b)])||this[_0x479d18(0x1dc)](_0x479d18(0x16f));}}async[_0xbad4cf(0x103)](){const _0x1bacb5=_0xbad4cf;this[_0x1bacb5(0x129)]();const {locale:_0x36ef0a}=this[_0x1bacb5(0x198)];let _0x171bd2;try{_0x171bd2=await this[_0x1bacb5(0x127)][_0x1bacb5(0x1e8)]();}catch{const _0x31604f=_0x5db92b(_0x36ef0a,_0x1bacb5(0x1f3));return void this[_0x1bacb5(0x191)](_0x31604f);}const _0x469666=_0x171bd2[_0x1bacb5(0x1b8)]||_0x171bd2[_0x1bacb5(0x19c)];if(this[_0x1bacb5(0x160)]!==_0x469666[_0x1bacb5(0x14b)]){const _0x4a11f2=_0x5db92b(_0x36ef0a,_0x1bacb5(0x15a));return void this[_0x1bacb5(0x191)](_0x4a11f2);}await this[_0x1bacb5(0x181)](this[_0x1bacb5(0x198)][_0x1bacb5(0x16d)][_0x1bacb5(0x109)][_0x1bacb5(0x104)][_0x1bacb5(0x1b4)](),!0x0);}[_0xbad4cf(0x129)](){const _0x321086=_0xbad4cf;this[_0x321086(0x127)][_0x321086(0x1f9)](),this[_0x321086(0x1af)]=[],clearTimeout(this[_0x321086(0x10d)]),this[_0x321086(0x13d)](this[_0x321086(0x127)]);}[_0xbad4cf(0x15f)](_0x39bb2b){const _0x4b162e=_0xbad4cf,_0x31ad9e=this[_0x4b162e(0x198)][_0x4b162e(0x1e3)][_0x4b162e(0x1f4)](_0x144506);this[_0x4b162e(0x1d8)](_0x31ad9e,_0x4b162e(0x1de)+this[_0x4b162e(0x150)],(_0x7cdf19,{session:_0x34ff7b})=>{const _0x1c7420=_0x4b162e;if(_0x34ff7b['id']===_0x31ad9e[_0x1c7420(0x168)]){_0x7cdf19[_0x1c7420(0x1e7)]();const _0x3cfbe6=this[_0x1c7420(0x198)][_0x1c7420(0x1e3)][_0x1c7420(0x172)](_0x1c7420(0x111))&&this[_0x1c7420(0x198)][_0x1c7420(0x1e3)][_0x1c7420(0x1f4)](_0x1c7420(0x111));let _0x1235cb=_0x34ff7b[_0x1c7420(0x1f7)];_0x3cfbe6&&_0x3cfbe6[_0x1c7420(0x1d5)]&&(_0x1235cb=_0x1235cb[_0x1c7420(0x108)](_0x5d2c39=>_0x1c7420(0x10c)!==_0x5d2c39)),this[_0x1c7420(0x198)][_0x1c7420(0x1e3)][_0x1c7420(0x1f4)](_0x1c7420(0x115))[_0x1c7420(0x1c5)](_0x1235cb,this[_0x1c7420(0x150)]);}}),_0x31ad9e[_0x4b162e(0x1ce)](this[_0x4b162e(0x150)],_0x39bb2b);}[_0xbad4cf(0x166)](){const _0x3d7192=_0xbad4cf,_0x6d3bf3=this[_0x3d7192(0x198)][_0x3d7192(0x147)][_0x3d7192(0x1ad)];this[_0x3d7192(0x198)][_0x3d7192(0x147)][_0x3d7192(0x1ad)]=(..._0x31d2cd)=>{const _0x35757c=_0x3d7192;if(!_0x31d2cd[_0x31d2cd[_0x35757c(0x1a8)]-0x1][_0x35757c(0x197)])throw new _0x18c474(_0x35757c(0x134),this);_0x6d3bf3[_0x35757c(0x12f)](this[_0x35757c(0x198)][_0x35757c(0x147)],_0x31d2cd);};}[_0xbad4cf(0x1d1)](){const _0x1483b3=_0xbad4cf;this[_0x1483b3(0x198)][_0x1483b3(0x147)]['on'](_0x1483b3(0x19e),(_0x409aa3,[_0x288b7f])=>{const _0x22f9cc=_0x1483b3;if(this[_0x22f9cc(0x100)][_0x22f9cc(0x1c1)])throw new _0x18c474(_0x22f9cc(0x195),this);_0x409aa3[_0x22f9cc(0x205)](),this[_0x22f9cc(0x200)]();const _0x53fabf=this[_0x22f9cc(0x198)][_0x22f9cc(0x201)][_0x22f9cc(0x1f4)](_0x22f9cc(0x102)),_0x2c1043=this[_0x22f9cc(0x1e6)](_0x288b7f,_0x53fabf);0x0==_0x2c1043[_0x22f9cc(0x1a8)]&&_0x2c1043[_0x22f9cc(0x186)](new _0x50dfea(0x0)),_0x409aa3[_0x22f9cc(0x136)]=this[_0x22f9cc(0x181)](_0x2c1043)[_0x22f9cc(0x165)](()=>{const _0x5c9b81=_0x22f9cc;this[_0x5c9b81(0x198)][_0x5c9b81(0x1e3)][_0x5c9b81(0x1f4)](_0x81604)[_0x5c9b81(0x128)](this),this[_0x5c9b81(0x198)][_0x5c9b81(0x147)][_0x5c9b81(0x1bf)](_0x5c9b81(0x1b5));})[_0x22f9cc(0x126)](_0x1c786a=>this[_0x22f9cc(0x1dc)](_0x22f9cc(0x141),_0x1c786a))[_0x22f9cc(0x15c)](()=>this[_0x22f9cc(0x1c9)]());},{'priority':_0x1483b3(0x1a7)}),this[_0x1483b3(0x198)]['on'](_0x1483b3(0x162),async(_0x4c588b,[_0x457054,_0x4f28bb])=>{const _0x22a726=_0x1483b3;_0x4c588b[_0x22a726(0x205)]();const _0x12b3db=this[_0x22a726(0x198)][_0x22a726(0x16d)][_0x22a726(0x109)][_0x22a726(0x1d7)](_0x457054);if(!this[_0x22a726(0x1c3)][_0x22a726(0x172)](_0x457054)){const _0x1a8207=_0x4f28bb&&_0x4f28bb[_0x22a726(0x147)]?_0x4f28bb[_0x22a726(0x147)]:'',_0x16dcf8=_0x4f28bb&&_0x4f28bb[_0x22a726(0x1a1)]?_0x4f28bb[_0x22a726(0x1a1)]:{};await this[_0x22a726(0x14f)](_0x457054,_0x1a8207,_0x16dcf8);}this[_0x22a726(0x198)][_0x22a726(0x16d)][_0x22a726(0x176)]({'isUndoable':!0x1},()=>{const _0x51fb84=_0x22a726;_0x12b3db[_0x51fb84(0x1b9)]=!0x0,this[_0x51fb84(0x198)][_0x51fb84(0x16d)][_0x51fb84(0x109)][_0x51fb84(0x18a)][_0x51fb84(0x1db)](_0x12b3db);});},{'priority':_0x1483b3(0x1a7)});}async[_0xbad4cf(0x1ff)](_0x3a7f44){const _0x5ea440=_0xbad4cf,_0x1d1857=this[_0x5ea440(0x198)][_0x5ea440(0x1e3)][_0x5ea440(0x1f4)](_0x4d338),{connection:_0x6dced0}=this[_0x5ea440(0x198)][_0x5ea440(0x1e3)][_0x5ea440(0x1f4)](_0x81604),_0x135cd6=new Set();for(const _0x21a379 of _0x3a7f44){const _0x2c38e0=_0x21a379[_0x5ea440(0x157)];_0x2c38e0&&!_0x1d1857[_0x5ea440(0x1cb)](_0x2c38e0)&&_0x135cd6[_0x5ea440(0x119)](_0x2c38e0);}if(0x0===_0x135cd6[_0x5ea440(0x145)])return;const _0x53499e=await _0x4fee68[_0x5ea440(0x10b)](_0x6dced0,Array[_0x5ea440(0x180)](_0x135cd6));for(const _0x42c6c4 of _0x53499e)_0x1d1857[_0x5ea440(0x1cb)](_0x42c6c4['id'])||_0x1d1857[_0x5ea440(0x174)](_0x42c6c4);}[_0xbad4cf(0x1e6)](_0x38f95a,_0x2b2b17={}){const _0x659fec=_0xbad4cf,_0x2db4c6=this[_0x659fec(0x198)][_0x659fec(0x16d)],_0x178e6b=[];let _0x4cf673=0x0;const _0x4824c8=_0x659fec(0x1e0)==typeof _0x38f95a?{'main':_0x38f95a}:_0x38f95a;for(const _0x33d646 of Object[_0x659fec(0x155)](_0x4824c8)){if(!this[_0x659fec(0x100)][_0x659fec(0x204)][_0x659fec(0x172)](_0x33d646))throw new _0x18c474(_0x659fec(0x118),this);const _0x251ff9=this[_0x659fec(0x198)][_0x659fec(0x147)][_0x659fec(0x144)](_0x4824c8[_0x33d646]),_0xefdb36=this[_0x659fec(0x100)][_0x659fec(0x1d7)](_0x33d646),_0x90a6f4=new _0x20e510(_0x2db4c6[_0x659fec(0x12a)](_0xefdb36,0x0),_0x251ff9,_0x4cf673++);_0x178e6b[_0x659fec(0x186)](_0x90a6f4);for(const [_0x541d50,_0x3db19f]of _0x251ff9[_0x659fec(0x142)]){const _0x3efb7b=_0x2db4c6[_0x659fec(0x194)](_0x2db4c6[_0x659fec(0x13f)](_0xefdb36,_0x3db19f[_0x659fec(0x14e)][_0x659fec(0x11a)][_0x659fec(0x1dd)]()),_0x2db4c6[_0x659fec(0x13f)](_0xefdb36,_0x3db19f[_0x659fec(0x10a)][_0x659fec(0x11a)][_0x659fec(0x1dd)]())),_0x4d2847=new _0x4184ab(_0x541d50,null,_0x3efb7b,_0x2db4c6[_0x659fec(0x142)],!0x0,_0x4cf673++);_0x178e6b[_0x659fec(0x186)](_0x4d2847);}}if(_0x2b2b17)for(const [_0x20acd2,_0x4cefa1]of Object[_0x659fec(0x13a)](_0x2b2b17)){const _0x48a375=_0x2db4c6[_0x659fec(0x109)][_0x659fec(0x1d7)](_0x20acd2);if(!_0x48a375)throw new _0x18c474(_0x659fec(0x1f2),null);for(const [_0x47efa1,_0x4da70d]of Object[_0x659fec(0x13a)](_0x4cefa1))if(null!==_0x4da70d){const _0x932e63=new _0x40ccf7(_0x48a375,_0x47efa1,null,_0x4da70d,_0x4cf673++);_0x178e6b[_0x659fec(0x186)](_0x932e63);}}return _0x178e6b;}async[_0xbad4cf(0x14f)](_0x4e248f,_0x494af7,_0x345f58){const _0x4832b6=_0xbad4cf;this[_0x4832b6(0x1e6)]({[_0x4e248f]:_0x494af7},{[_0x4e248f]:_0x345f58})[_0x4832b6(0x117)]((_0x4f80a3,_0x31296b)=>{const _0x3de2a4=_0x4832b6;_0x4f80a3[_0x3de2a4(0x1a9)]=this[_0x3de2a4(0x100)][_0x3de2a4(0x1c1)]+_0x31296b,_0x4f80a3[_0x3de2a4(0x16e)]=!0x0,this[_0x3de2a4(0x16c)](_0x4f80a3);}),this[_0x4832b6(0x14c)](),await this[_0x4832b6(0x14d)]();}async[_0xbad4cf(0x137)](_0x23b8a8,_0x52d32c){const _0x5288ce=_0xbad4cf;let _0x11faae;this[_0x5288ce(0x1b6)]=_0x23b8a8[_0x5288ce(0x101)];const _0x14483b=_0x23b8a8[_0x5288ce(0x1ef)]&&!_0x23b8a8[_0x5288ce(0x19d)],_0x2e2c8c=_0x14483b?0x0:_0x23b8a8[_0x5288ce(0x147)][_0x5288ce(0x1a9)];if(_0x52d32c[_0x5288ce(0x117)](_0x421778=>{const _0xb4af59=_0x5288ce;_0x421778[_0xb4af59(0x16e)]=!0x0,_0x421778[_0xb4af59(0x15e)]=_0x23b8a8[_0xb4af59(0x202)],_0x421778[_0xb4af59(0x157)]=null;}),_0x14483b)_0x11faae=_0x52d32c,this[_0x5288ce(0x13b)](_0x11faae,_0x14483b);else{if(_0x23b8a8[_0x5288ce(0x19d)]){const _0x1ce086=this[_0x5288ce(0x1e6)](_0x23b8a8[_0x5288ce(0x19d)]);this[_0x5288ce(0x100)][_0x5288ce(0x104)][_0x5288ce(0x1c1)]=-_0x1ce086[_0x5288ce(0x1a8)],_0x1ce086[_0x5288ce(0x117)](_0x3392f0=>{const _0x437a4c=_0x5288ce;_0x3392f0[_0x437a4c(0x1a9)]-=_0x1ce086[_0x437a4c(0x1a8)],_0x3392f0[_0x437a4c(0x15e)]=_0x23b8a8[_0x437a4c(0x202)],_0x3392f0[_0x437a4c(0x16e)]=!0x0,_0x3392f0[_0x437a4c(0x157)]=null;}),this[_0x5288ce(0x13b)](_0x1ce086,!0x0),this[_0x5288ce(0x175)][_0x5288ce(0x1c1)]=-_0x1ce086[_0x5288ce(0x1a8)]+this[_0x5288ce(0x1b6)],this[_0x5288ce(0x169)](_0x1ce086);}this[_0x5288ce(0x100)][_0x5288ce(0x104)][_0x5288ce(0x1c1)]=_0x2e2c8c,_0x11faae=this[_0x5288ce(0x10e)](_0x23b8a8[_0x5288ce(0x147)],_0x23b8a8[_0x5288ce(0x15d)]),await this[_0x5288ce(0x1ff)](_0x11faae),this[_0x5288ce(0x13b)](_0x11faae,_0x14483b);}_0x23b8a8[_0x5288ce(0x14b)]&&(this[_0x5288ce(0x1da)][_0x5288ce(0x187)](_0x11faae,_0x23b8a8[_0x5288ce(0x14b)]),this[_0x5288ce(0x160)]=_0x23b8a8[_0x5288ce(0x14b)]),this[_0x5288ce(0x175)][_0x5288ce(0x1c1)]=_0x2e2c8c+this[_0x5288ce(0x1b6)],this[_0x5288ce(0x169)](_0x11faae),_0x52d32c[_0x5288ce(0x108)](_0x5157fa=>{const _0x15b2ab=_0x5288ce,_0x272f36=this[_0x15b2ab(0x116)](_0x5157fa);return _0x272f36&&!this[_0x15b2ab(0x1c3)][_0x15b2ab(0x172)](_0x272f36);})[_0x5288ce(0x117)]((_0xe1ccce,_0x10f8e6)=>{const _0x240555=_0x5288ce;_0xe1ccce[_0x240555(0x1a9)]=this[_0x240555(0x100)][_0x240555(0x1c1)]+_0x10f8e6,this[_0x240555(0x16c)](_0xe1ccce);}),this[_0x5288ce(0x120)]()?(this[_0x5288ce(0x12c)]=0x0,this[_0x5288ce(0x14c)](!0x0),await this[_0x5288ce(0x14d)]()):(this[_0x5288ce(0x192)]=!0x1,this[_0x5288ce(0x1c9)]());}[_0xbad4cf(0x1dc)](_0x2db3ff,_0x154e43){const _0x4d4bf2=_0xbad4cf,_0x34b7c2=_0x154e43&&_0x154e43[_0x4d4bf2(0x1f6)];if(_0x34b7c2&&_0x34b7c2[_0x4d4bf2(0x177)](_0x4d4bf2(0x158)))throw _0x154e43;const _0x4f3c57=this[_0x4d4bf2(0x198)][_0x4d4bf2(0x1e3)][_0x4d4bf2(0x1f4)](_0x81604);throw this[_0x4d4bf2(0x192)]=!0x0,_0x4f3c57[_0x4d4bf2(0x1f9)](),this[_0x4d4bf2(0x198)][_0x4d4bf2(0x159)](_0x4d4bf2(0x13c)),new _0x18c474(_0x2db3ff,this[_0x4d4bf2(0x198)],_0x34b7c2?{'originalError':_0x34b7c2}:void 0x0);}[_0xbad4cf(0x16c)](_0x1d7615){const _0x37df4e=_0xbad4cf;this[_0x37df4e(0x1fe)][_0x37df4e(0x172)](_0x1d7615)||(this[_0x37df4e(0x1fe)][_0x37df4e(0x119)](_0x1d7615),this[_0x37df4e(0x1af)][_0x37df4e(0x186)](_0x1d7615),this[_0x37df4e(0x1cc)]||_0x37df4e(0x179)==_0x1d7615[_0x37df4e(0x151)]&&!_0x1d7615[_0x37df4e(0x114)]||this[_0x37df4e(0x200)]());}[_0xbad4cf(0x14c)](_0xaa9370=!0x1){const _0x5d2267=_0xbad4cf;!_0xaa9370&&this[_0x5d2267(0x192)]||(this[_0x5d2267(0x192)]=!0x0,clearTimeout(this[_0x5d2267(0x10d)]),this[_0x5d2267(0x10d)]=setTimeout(()=>{const _0x344ee6=_0x5d2267;this[_0x344ee6(0x1f8)]()[_0x344ee6(0x165)](_0x31109d=>{const _0x47c6fb=_0x344ee6;_0x31109d&&(this[_0x47c6fb(0x1c9)](),this[_0x47c6fb(0x192)]=!0x1);})[_0x344ee6(0x126)](_0x46a25c=>{const _0x50cbb3=_0x344ee6;this[_0x50cbb3(0x1c9)](),this[_0x50cbb3(0x192)]=!0x1,function(_0x5a5032){const _0x3bbfce=_0x50cbb3;return _0x5a5032[_0x3bbfce(0x1f6)][_0x3bbfce(0x177)](_0x3bbfce(0x1b0))||_0x5a5032[_0x3bbfce(0x1f6)][_0x3bbfce(0x177)](_0x3bbfce(0x11b))||_0x5a5032[_0x3bbfce(0x1f6)][_0x3bbfce(0x177)](_0x3bbfce(0x1a2));}(_0x46a25c)||this[_0x50cbb3(0x1dc)](_0x46a25c[_0x50cbb3(0x1f6)],_0x46a25c);});},this[_0x5d2267(0x12c)]));}[_0xbad4cf(0x14d)](){return new Promise(_0x54b359=>{const _0x250578=_0x48c2;this['on'](_0x250578(0x1be),()=>{_0x54b359();});});}async[_0xbad4cf(0x1f8)](){const _0x1c7fd2=_0xbad4cf,_0x54a421=this[_0x1c7fd2(0x198)][_0x1c7fd2(0x1e3)][_0x1c7fd2(0x1f4)](_0x11133b);if(this[_0x1c7fd2(0x17c)]()&&(_0x54a421[_0x1c7fd2(0x19b)](),this[_0x1c7fd2(0x188)]=!0x1),!this[_0x1c7fd2(0x120)]())return!0x0;const _0x3bc4c8=[...this[_0x1c7fd2(0x1af)]];for(const _0x1a4078 of _0x3bc4c8)_0x1a4078[_0x1c7fd2(0x1bb)]=this[_0x1c7fd2(0x100)][_0x1c7fd2(0x104)][_0x1c7fd2(0x1a0)](_0x1a4078);const _0x51a959=this[_0x1c7fd2(0x1da)][_0x1c7fd2(0x133)](_0x3bc4c8),_0x734c30=X++,_0x508f4d=this[_0x1c7fd2(0x10f)](_0x3bc4c8),_0x44fa4b=await this[_0x1c7fd2(0x127)][_0x1c7fd2(0x1c2)](_0x508f4d,_0x508f4d[_0x1c7fd2(0x1a9)],_0x51a959);try{return await this[_0x1c7fd2(0x1c4)](_0x3bc4c8,_0x44fa4b,_0x734c30);}catch(_0x4c67dc){return this[_0x1c7fd2(0x1dc)](_0x1c7fd2(0x1a5),_0x4c67dc);}}async[_0xbad4cf(0x1c4)](_0x18c0c7,_0x4cff46,_0x3ac421){const _0x13495c=_0xbad4cf;if(_0x13495c(0x154)in _0x4cff46)throw _0x4cff46[_0x13495c(0x154)];let _0x3beb62=!0x1;if(_0x4cff46[_0x13495c(0x1ef)]){_0x4cff46[_0x13495c(0x14b)]&&(this[_0x13495c(0x160)]=_0x4cff46[_0x13495c(0x14b)]),this[_0x13495c(0x1af)]=this[_0x13495c(0x1af)][_0x13495c(0x108)](_0xd8eeed=>!_0x18c0c7[_0x13495c(0x19a)](_0xd8eeed));for(const _0x198680 of _0x18c0c7)_0x198680[_0x13495c(0x15e)]=_0x13495c(0x140)in _0x4cff46&&_0x4cff46[_0x13495c(0x140)]||void 0x0;Z(_0x18c0c7,_0x4cff46[_0x13495c(0x1c1)]-_0x18c0c7[_0x13495c(0x1a8)]),this[_0x13495c(0x169)](_0x18c0c7);const _0x1bf389=_0x18c0c7[_0x13495c(0x108)](_0x106ec0=>{const _0x1d4b4e=_0x13495c;if(!_0x106ec0[_0x1d4b4e(0x16e)])return!0x1;const _0x298b83=this[_0x1d4b4e(0x116)](_0x106ec0);return _0x298b83&&!this[_0x1d4b4e(0x1c3)][_0x1d4b4e(0x172)](_0x298b83);});Z(_0x1bf389,this[_0x13495c(0x100)][_0x13495c(0x1c1)]),this[_0x13495c(0x13b)](_0x1bf389),_0x3beb62=!0x0,this[_0x13495c(0x12c)]=this[_0x13495c(0x1a6)];}else{const _0x2475d9=this[_0x13495c(0x10e)](_0x4cff46[_0x13495c(0x147)],_0x4cff46[_0x13495c(0x15d)])[_0x13495c(0x108)](_0x4905d1=>_0x4905d1[_0x13495c(0x1a9)]>=this[_0x13495c(0x123)]);_0x2475d9[_0x13495c(0x117)](_0x3b8692=>this[_0x13495c(0x1cd)](_0x3b8692)),this[_0x13495c(0x1af)]=this[_0x13495c(0x1af)][_0x13495c(0x108)](_0x508602=>!_0x508602[_0x13495c(0x16e)]||!this[_0x13495c(0x1c3)][_0x13495c(0x172)](this[_0x13495c(0x116)](_0x508602))),this[_0x13495c(0x1af)][_0x13495c(0x1a8)]&&Z(this[_0x13495c(0x1af)],this[_0x13495c(0x1af)][0x0][_0x13495c(0x1a9)]),await this[_0x13495c(0x1ff)](_0x2475d9),_0x3beb62=this[_0x13495c(0x130)](_0x2475d9,_0x4cff46[_0x13495c(0x1c1)],_0x4cff46[_0x13495c(0x14b)]),this[_0x13495c(0x12c)]=Math[_0x13495c(0x1b1)](this[_0x13495c(0x12c)]/0x2);}return _0x3beb62?!this[_0x13495c(0x120)]()||(this[_0x13495c(0x14c)](!0x0),!0x1):this[_0x13495c(0x1dc)](_0x13495c(0x1e9));}[_0xbad4cf(0x130)](_0x47e431,_0x41d34a,_0x2fadc5){const _0x22dee1=_0xbad4cf;try{const _0x48b1dc={'document':this[_0x22dee1(0x100)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x352338,operationsB:_0x3dca5f,originalOperations:_0x2eb9f3}=_0x551b4a(_0x47e431,this[_0x22dee1(0x1af)],_0x48b1dc);Z(_0x352338,this[_0x22dee1(0x100)][_0x22dee1(0x1c1)]),Z(_0x3dca5f,_0x41d34a);for(const _0x27cec of _0x352338){const _0x4f0960=_0x2eb9f3[_0x22dee1(0x1f4)](_0x27cec);_0x27cec[_0x22dee1(0x157)]=_0x4f0960?_0x4f0960[_0x22dee1(0x157)]:null;}_0x2fadc5&&(this[_0x22dee1(0x1da)][_0x22dee1(0x187)](_0x47e431,_0x2fadc5),this[_0x22dee1(0x160)]=_0x2fadc5),this[_0x22dee1(0x1af)]=[..._0x3dca5f],this[_0x22dee1(0x13b)](_0x352338),this[_0x22dee1(0x169)](_0x47e431);}catch(_0x5065c0){return console[_0x22dee1(0x154)](_0x5065c0),!0x1;}return!0x0;}[_0xbad4cf(0x13b)](_0x16fc9e,_0x326ff6=!0x1){const _0x4b6420=_0xbad4cf;this[_0x4b6420(0x198)][_0x4b6420(0x16d)][_0x4b6420(0x176)]({'isUndoable':!0x1,'isLocal':!0x1},_0x32d989=>{const _0x4d1464=_0x4b6420;for(const _0xb54107 of _0x16fc9e)this[_0x4d1464(0x1fe)][_0x4d1464(0x119)](_0xb54107),this[_0x4d1464(0x1cd)](_0xb54107),_0x32d989[_0x4d1464(0x124)][_0x4d1464(0x1a4)](_0xb54107),this[_0x4d1464(0x198)][_0x4d1464(0x16d)][_0x4d1464(0x12d)](_0xb54107);});}[_0xbad4cf(0x1cd)](_0x335323){const _0x2d80da=_0xbad4cf,_0x59fe4a=this[_0x2d80da(0x116)](_0x335323);_0x59fe4a&&this[_0x2d80da(0x1c3)][_0x2d80da(0x119)](_0x59fe4a);}[_0xbad4cf(0x116)](_0x5a754b){const _0x39c630=_0xbad4cf;let _0x5218bc,_0x636175;switch(_0x5a754b[_0x39c630(0x151)]){case _0x39c630(0x164):_0x5218bc=_0x5a754b[_0x39c630(0x1bc)][_0x39c630(0x18e)];break;case _0x39c630(0x179):if(_0x636175=_0x5a754b[_0x39c630(0x18f)],!_0x636175)return null;_0x5218bc=_0x636175[_0x39c630(0x18e)];break;case _0x39c630(0x11f):_0x5218bc=_0x5a754b[_0x39c630(0x18e)];break;case _0x39c630(0x1b7):_0x5218bc=_0x5a754b[_0x39c630(0x185)];break;case _0x39c630(0x17b):_0x5218bc=_0x5a754b[_0x39c630(0x152)][_0x39c630(0x18e)];break;default:return null;}return _0x5218bc[_0x39c630(0x148)];}[_0xbad4cf(0x169)](_0x3c957a){const _0x4fadbb=_0xbad4cf;_0x3c957a[_0x4fadbb(0x117)](_0xf9b76d=>{const _0x3c5da4=_0x4fadbb,_0x158e0c=_0xf9b76d[_0x3c5da4(0x12b)]();_0x158e0c[_0x3c5da4(0x157)]=_0xf9b76d[_0x3c5da4(0x157)],_0x158e0c[_0x3c5da4(0x16e)]=!!_0xf9b76d[_0x3c5da4(0x16e)],_0x158e0c[_0x3c5da4(0x15e)]=_0xf9b76d[_0x3c5da4(0x15e)],_0x158e0c[_0x3c5da4(0x1a9)]+=this[_0x3c5da4(0x1b6)],_0xf9b76d[_0x3c5da4(0x1c7)]&&this[_0x3c5da4(0x1d0)][_0x3c5da4(0x119)](_0x158e0c),this[_0x3c5da4(0x175)][_0x3c5da4(0x1a4)](_0x158e0c);});}[_0xbad4cf(0x191)](_0x4220d9){const _0x11cfaf=_0xbad4cf,_0xc8a6c2=this[_0x11cfaf(0x198)][_0x11cfaf(0x1e3)][_0x11cfaf(0x1f4)](_0x11cfaf(0x11d)),_0x4d5a2c=this[_0x11cfaf(0x198)][_0x11cfaf(0x149)];_0x4220d9||(_0x4220d9=_0x5db92b(_0x4d5a2c,_0x11cfaf(0x1f5))),_0xc8a6c2[_0x11cfaf(0x1fd)](_0x4220d9,{'title':_0x5db92b(_0x4d5a2c,_0x11cfaf(0x1fb)),'namespace':_0x11cfaf(0x16b)}),this[_0x11cfaf(0x17e)]=!0x0,clearTimeout(this[_0x11cfaf(0x10d)]),this[_0x11cfaf(0x1af)]=[],this[_0x11cfaf(0x198)][_0x11cfaf(0x1e3)][_0x11cfaf(0x1f4)](_0x81604)[_0x11cfaf(0x1f9)]();}[_0xbad4cf(0x200)](){const _0x570af7=_0xbad4cf;this[_0x570af7(0x1cc)]||(this[_0x570af7(0x1cc)]=this[_0x570af7(0x198)][_0x570af7(0x1e3)][_0x570af7(0x1f4)](_0x23109d)[_0x570af7(0x119)](_0x5db92b(this[_0x570af7(0x198)][_0x570af7(0x149)],_0x570af7(0x1ec))));}[_0xbad4cf(0x1c9)](){const _0x2a65f4=_0xbad4cf;this[_0x2a65f4(0x1cc)]&&(this[_0x2a65f4(0x198)][_0x2a65f4(0x1e3)][_0x2a65f4(0x1f4)](_0x23109d)[_0x2a65f4(0x11c)](this[_0x2a65f4(0x1cc)]),this[_0x2a65f4(0x1cc)]=null);}[_0xbad4cf(0x10f)](_0x3d6244){const _0x2fb5ff=_0xbad4cf,_0x6192be=_0x3d6244[_0x2fb5ff(0x112)](_0x33e36f=>_0x33e36f[_0x2fb5ff(0x138)]());return this[_0x2fb5ff(0x178)][_0x2fb5ff(0x18c)](_0x6192be);}[_0xbad4cf(0x10e)](_0x138134,_0x5eb68c){const _0x36b6f8=_0xbad4cf;return this[_0x36b6f8(0x178)][_0x36b6f8(0x167)](_0x138134)[_0x36b6f8(0x112)]((_0x2ed6f4,_0x246c7e)=>{const _0x40c5a8=_0x36b6f8,_0x196e98=_0x40c5a8(0x19e)==_0x5eb68c[_0x246c7e][_0x40c5a8(0x151)];if(_0x40c5a8(0x1bd)==_0x2ed6f4[_0x40c5a8(0x132)]){const _0x77af29=_0x2ed6f4[_0x40c5a8(0x1bc)][_0x40c5a8(0x18e)];!this[_0x40c5a8(0x100)][_0x40c5a8(0x1d7)](_0x77af29)&&(this[_0x40c5a8(0x100)][_0x40c5a8(0x170)](_0x40c5a8(0x131),_0x77af29)[_0x40c5a8(0x1a3)]=!0x1);}const _0x2a24f7=_0x4e7542[_0x40c5a8(0x139)](_0x2ed6f4,this[_0x40c5a8(0x100)]);return _0x2a24f7[_0x40c5a8(0x1bb)]=_0x2ed6f4[_0x40c5a8(0x1bb)],_0x2a24f7[_0x40c5a8(0x16e)]=_0x196e98,_0x2a24f7[_0x40c5a8(0x157)]=_0x196e98?null:_0x5eb68c[_0x246c7e][_0x40c5a8(0x113)],_0x2a24f7[_0x40c5a8(0x1c7)]=_0x40c5a8(0x184)===_0x5eb68c[_0x246c7e][_0x40c5a8(0x151)],_0x2a24f7[_0x40c5a8(0x15e)]=_0x5eb68c[_0x246c7e][_0x40c5a8(0x15e)],_0x2a24f7;});}[_0xbad4cf(0x1d3)](){const _0x4a693d=_0xbad4cf;this[_0x4a693d(0x188)]=!0x0,this[_0x4a693d(0x17c)]()?this[_0x4a693d(0x14c)]():this[_0x4a693d(0x188)]=!0x1;}[_0xbad4cf(0x17c)](){const _0x324c06=_0xbad4cf,_0x3cf01c=this[_0x324c06(0x198)][_0x324c06(0x1e3)][_0x324c06(0x1f4)](_0x144506)[_0x324c06(0x1d2)][_0x324c06(0x1f4)](this[_0x324c06(0x150)]);return!this[_0x324c06(0x198)][_0x324c06(0x1b2)]&&!!_0x3cf01c&&_0x3cf01c[_0x324c06(0x1a8)]>0x1&&this[_0x324c06(0x188)];}[_0xbad4cf(0x120)](){const _0x32cb5f=_0xbad4cf;return this[_0x32cb5f(0x1af)][_0x32cb5f(0x1a8)]>0x0||this[_0x32cb5f(0x17c)]();}}export{l as RealTimeCollaborationClient};class Y extends Error{}function Z(_0x67e408,_0x3393a7){const _0x52fbd4=_0xbad4cf;for(const _0x30adc8 of _0x67e408)_0x30adc8[_0x52fbd4(0x1a9)]=_0x3393a7++;}function _0x1c32(){const _0x45648f=['selection','compress','connected','root','newRange','collaboration','_handleReconnectionError','_isPendingUpdate','sessionId','createRange','realtimecollaborationclient-init-document-already-initialized','2511170KkEvRY','suppressErrorInCollaboration','editor','change:range','includes','createUserMarkerOperations','lastDocumentSession','initData','init','code','isUndoneOperation','attributes','cloud-services-internal-error:\x20Request\x20timeout.','_isAttached','addOperation','realtimecollaborationclient-sendbufferedoperations','_baseBufferDelay','high','length','baseVersion','editing','_isConnected','pluginName','set','realtimecollaborationclient-init-service-internal-error','_bufferedOperations','cloud-services-internal-error:\x20Not\x20connected.','round','isReadOnly','requires','getOperations','ready','_offset','addRoot','currentDocumentSession','_isLoaded','disableReadOnlyMode','wasUndone','position','InsertOperation','change:_isPendingUpdate','fire','change:_isEditingAllowed','version','sendOperations','_knownRootNames','_handleServerResponse','setPermissions','2932068iMdRvA','_isDisconnection','579181BENIwl','_clearPendingAction','reset','getUser','_pendingAction','_addKnownRoot','register','bind','_disconnectionOperations','_setUpDataInit','channelSessions','_refreshUserSelectionMarkers','getOperationAuthor','isEnabled','100GEvhuN','getRoot','listenTo','collaboration.channelId','_operationIdentifier','_bufferRootLoad','_crash','slice','sessionAdd:','isDocumentOperation','string','connect','201136SELDcu','plugins','_operationToId','view','_getOperationsFromInitData','off','getDocumentDetails','realtimecollaborationclient-handleserverresponse','CollaborativeEditingService','disconnected','PENDING_ACTION_SENDING_DATA','15921070mFKEdT','rtc-offline','wereChangesApplied','removeFromReconnectionStack','_ignoredOperations','multi-root-editor-root-attributes-no-root','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','get','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.','message','permissions','_sendBufferedOperations','disconnect','connection','Synchronization\x20issue','cloudDocumentVersion','showWarning','_knownOperations','_fetchMissingUsers','_setPendingAction','config','sessionCreatedAt','73556klWaFw','roots','stop','48OGbjcE','_document','offset','rootsAttributes','_connectAfterSessionHasBeenFlushed','history','unregister','RealTimeCollaborationClient','reconnect','filter','document','end','getMany','document:write','_sendBufferedOperationsDelayId','_decompressOperations','_compressOperations','define','CommentsOnly','map','userId','affectsData','Permissions','_getAffectedRoot','forEach','realtimecollaborationclient-init-non-existent-root','add','path','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','remove','Notification','_handleReceivedOperations','addRootAttribute','_shouldSendUpdate','rtc-destroyed','change:hasDomSelection','_lastServerVersion','batch','404','catch','_service','addToReconnectionStack','_disconnectService','createPositionAt','clone','_currentBufferDelay','applyOperation','realtimecollaborationclient-init-session-connection-error','apply','_handleExternalOperations','$root','__className','getIdOfTheLastOperation','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','isPremiumPlugin','return','_handleInitialConnectionData','toJSON','fromJSON','entries','_applyOperationsSet','realtimecollaborationclient-error','stopListening','collaboration-missing-channelid','createPositionFromPath','lastOperationAcceptedAt','realtimecollaborationclient-init-connection-failed','markers','_handleReconnectionResponse','parse','size','cloudServices.bundleVersion','data','rootName','locale','_handleSendingSelectionMarkers','lastOperationId','_sendBufferedOperationsDelayed','_waitUntilSynced','start','_loadRoot','_channelId','type','targetPosition','isOfficialPlugin','error','keys','9CTJeFd','_authorId','realtimecollaborationclient','enableReadOnlyMode','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.','reconnection:\x20flushed\x20session','finally','metadata','createdAt','_initSessionsHandling','_lastSyncedOperationId','operationsReceived','loadRoot','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','insert','then','_initThrowingOnDataSet','decompress','mySessionId','_updateServerHistory','directChange','real-time-collaboration','_saveOperationInBuffer','model','_isInit','realtimecollaborationclient-init-service-incorrect-server-operation','createRoot','409','has','1701800JnIYLx','addUser','serverHistory','enqueueChange','startsWith','_compressor','marker','lastSyncVersion','move','_shouldSendSelectionUpdate','getConnectedSessions','_hasSynchronizationProblem','_isEditingAllowed','from','_connectService','destroy','state','cs:removeUser','affectedSelectable','push','setIdForTheLastOperation','_hasSelectionChanged','14lagbeL','differ'];_0x1c32=function(){return _0x45648f;};return _0x1c32();}class tt{[_0xbad4cf(0x1f1)];[_0xbad4cf(0x1e4)];constructor(_0x5ce2b2){const _0x3d760d=_0xbad4cf;this[_0x3d760d(0x1f1)]=_0x5ce2b2,this[_0x3d760d(0x1e4)]=new WeakMap();}[_0xbad4cf(0x133)](_0x2bc7cd){const _0x50398b=_0xbad4cf;let _0x242545=_0x2bc7cd[_0x50398b(0x1a8)];for(;_0x242545--;){const _0x2d2930=_0x2bc7cd[_0x242545];if(!this[_0x50398b(0x1f1)][_0x50398b(0x172)](_0x2d2930)){if(!this[_0x50398b(0x1e4)][_0x50398b(0x172)](_0x2d2930)){const _0x1c5875=_0x3e5e60()[_0x50398b(0x1dd)](0x1,0x12);this[_0x50398b(0x1e4)][_0x50398b(0x1ad)](_0x2d2930,_0x1c5875);}return this[_0x50398b(0x1e4)][_0x50398b(0x1f4)](_0x2d2930);}}}[_0xbad4cf(0x187)](_0x139057,_0x41c201){const _0x4e8050=_0xbad4cf;if(!_0x41c201)return;let _0x3903ab=_0x139057[_0x4e8050(0x1a8)];for(;_0x3903ab--;){const _0x332c97=_0x139057[_0x3903ab];this[_0x4e8050(0x1f1)][_0x4e8050(0x172)](_0x332c97)||this[_0x4e8050(0x1e4)][_0x4e8050(0x1ad)](_0x332c97,_0x41c201);}}}
23
+ const _0x50b64d=_0x160f;(function(_0x1e2276,_0x5472b5){const _0x2dacae=_0x160f,_0x9f1ce8=_0x1e2276();while(!![]){try{const _0x36a219=parseInt(_0x2dacae(0x16f))/0x1*(-parseInt(_0x2dacae(0x157))/0x2)+-parseInt(_0x2dacae(0xba))/0x3*(parseInt(_0x2dacae(0xd2))/0x4)+-parseInt(_0x2dacae(0x86))/0x5*(parseInt(_0x2dacae(0x137))/0x6)+-parseInt(_0x2dacae(0x87))/0x7+parseInt(_0x2dacae(0x139))/0x8*(parseInt(_0x2dacae(0xd3))/0x9)+parseInt(_0x2dacae(0xbd))/0xa+parseInt(_0x2dacae(0x164))/0xb;if(_0x36a219===_0x5472b5)break;else _0x9f1ce8['push'](_0x9f1ce8['shift']());}catch(_0x3067cf){_0x9f1ce8['push'](_0x9f1ce8['shift']());}}}(_0x478f,0x9b091));import{Plugin as _0x5d8bc5,PendingActions as _0x485d5f}from'ckeditor5/src/core.js';import{CKEditorError as _0x1f33d7,version as _0x464c47,uid as _0x596176}from'ckeditor5/src/utils.js';import{Notification as _0x216b94}from'ckeditor5/src/ui.js';function _0x478f(){const _0x102293=['startsWith','addToReconnectionStack','Synchronization\x20issue','applyOperation','path','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.','state','_waitUntilSynced','editing','disconnected','change:_isEditingAllowed','permissions','disconnect','version','getIdOfTheLastOperation','CollaborativeEditingService','_isPendingUpdate','409','off','collaboration-missing-channelid','stopListening','locale','_crash','realtimecollaborationclient','markers','getOperations','createdAt','_offset','_channelId','connection','apply','enqueueChange','_isConnected','setPermissions','getDocumentDetails','createPositionFromPath','rootName','_sendBufferedOperationsDelayId','affectedSelectable','_handleServerResponse','finally','reset','addUser','_applyOperationsSet','_clearPendingAction','_decompressOperations','map','define','sessionCreatedAt','clone','_lastSyncedOperationId','userId','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.','push','_service','lastOperationAcceptedAt','move','rtc-destroyed','createRange','collaboration.channelId','realtimecollaborationclient-error','126PJRsuX','_shouldSendUpdate','1016bEKtzU','_connectService','collaboration','setIdForTheLastOperation','sessionId','register','_knownOperations','change:range','change:hasDomSelection','remove','addRoot','realtimecollaborationclient-init-document-already-initialized','set','_disconnectionOperations','_isInit','_handleReconnectionError','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','affectsData','entries','start','Notification','size','cloudDocumentVersion','parse','removeFromReconnectionStack','currentDocumentSession','_addKnownRoot','requires','_compressOperations','catch','1939188tvJqFF','newRange','_handleReceivedOperations','metadata','_updateServerHistory','_isLoaded','realtimecollaborationclient-init-service-incorrect-server-operation','_compressor','404','RealTimeCollaborationClient','get','_isEditingAllowed','directChange','30395673jetlsn','offset','_loadRoot','realtimecollaborationclient-init-service-internal-error','getMany','forEach','error','_bufferRootLoad','_ignoredOperations','_setUpDataInit','isUndoneOperation','1NoAXKB','disableReadOnlyMode','_pendingAction','config','realtimecollaborationclient-init-non-existent-root','showWarning','model','root','differ','_hasSynchronizationProblem','marker','fromJSON','getConnectedSessions','isEnabled','sendOperations','lastDocumentSession','_handleExternalOperations','_sendBufferedOperations','bind','fire','_document','high','realtimecollaborationclient-handleserverresponse','_refreshUserSelectionMarkers','pluginName','cs:removeUser','multi-root-editor-root-attributes-no-root','PENDING_ACTION_SENDING_DATA','lastOperationId','CommentsOnly','300505JdXMrh','1263311cfJwJy','__className','Permissions','_operationIdentifier','has','suppressErrorInCollaboration','from','connected','_baseBufferDelay','position','isReadOnly','_connectAfterSessionHasBeenFlushed','view','data','serverHistory','_setPendingAction','isDocumentOperation','_initSessionsHandling','includes','filter','isOfficialPlugin','connect','realtimecollaborationclient-init-session-connection-error','then','_operationToId','targetPosition','add','plugins','InsertOperation','isPremiumPlugin','ready','init','_hasSelectionChanged','_fetchMissingUsers','_handleReconnectionResponse','toJSON','realtimecollaborationclient-sendbufferedoperations','sessionAdd:','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','code','type','_handleSendingSelectionMarkers','createRoot','rtc-offline','realtimecollaborationclient-init-connection-failed','insert','_getAffectedRoot','operationsReceived','cloud-services-internal-error:\x20Request\x20timeout.','roots','document:write','2514723UxsiWB','end','wereChangesApplied','2159390efNWJN','reconnection:\x20flushed\x20session','_currentBufferDelay','real-time-collaboration','addOperation','wasUndone','_bufferedOperations','keys','_sendBufferedOperationsDelayed','$root','_isDisconnection','_getOperationsFromInitData','rootsAttributes','initData','_knownRootNames','slice','compress','enableReadOnlyMode','editor','decompress','lastSyncVersion','4Pabsjb','64224CmYkMw','mySessionId','stop','string','history','listenTo','addRootAttribute','_handleInitialConnectionData','change:_isPendingUpdate','_authorId','attributes','_isAttached','batch','_disconnectService','baseVersion','unregister','cloudServices.bundleVersion','_lastServerVersion','channelSessions','_saveOperationInBuffer','getRoot','createPositionAt','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','loadRoot','cloud-services-internal-error:\x20Not\x20connected.','selection','document','length','reconnect','return','_initThrowingOnDataSet','getUser','destroy','createUserMarkerOperations','getOperationAuthor','round','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','message','_shouldSendSelectionUpdate'];_0x478f=function(){return _0x102293;};return _0x478f();}function _0x160f(_0x1de1bb,_0x1330c8){const _0x478fd7=_0x478f();return _0x160f=function(_0x160f01,_0x5bd529){_0x160f01=_0x160f01-0x73;let _0x54494c=_0x478fd7[_0x160f01];return _0x54494c;},_0x160f(_0x1de1bb,_0x1330c8);}import{transformOperationSets as _0x3f1854,NoOperation as _0x2ab932,InsertOperation as _0x171d3d,MarkerOperation as _0x2173be,RootAttributeOperation as _0x761e99,OperationFactory as _0x97632e,History as _0xb8e312}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x505a49}from'./websocketgateway.js';import{Sessions as _0x3da466}from'./sessions.js';import{UserMarkers as _0x277e2b}from'./usermarkers.js';import{getTranslation as _0x580bf5}from'../common-translations.js';import{Compressor as _0x375590}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1d200b}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x241ed5,CollaborativeEditingService as _0x3d553b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;class l extends _0x5d8bc5{static [_0x50b64d(0x109)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3d553b)());[_0x50b64d(0x115)];[_0x50b64d(0x13d)];[_0x50b64d(0x95)];[_0x50b64d(0x116)];[_0x50b64d(0x130)];[_0x50b64d(0x7c)];[_0x50b64d(0x15e)];[_0x50b64d(0xc3)];[_0x50b64d(0x13f)];[_0x50b64d(0xcb)];[_0x50b64d(0x171)];[_0x50b64d(0xa7)];[_0x50b64d(0x11f)];[_0x50b64d(0x8f)];[_0x50b64d(0xbf)];[_0x50b64d(0x12c)];[_0x50b64d(0x146)];[_0x50b64d(0x8a)];static get[_0x50b64d(0x154)](){return[_0x505a49,_0x3da466,_0x277e2b,_0x485d5f,_0x1d200b,_0x216b94];}static get[_0x50b64d(0x80)](){const _0x90e980=_0x50b64d;return _0x90e980(0x160);}static get[_0x50b64d(0x9b)](){return!0x0;}static get[_0x50b64d(0xa4)](){return!0x0;}get[_0x50b64d(0x14f)](){const _0x420483=_0x50b64d;return this[_0x420483(0xe4)]+this[_0x420483(0x115)];}get[_0x50b64d(0xe4)](){const _0x5e43c1=_0x50b64d;return this[_0x5e43c1(0x95)][_0x5e43c1(0x107)]-this[_0x5e43c1(0x115)];}get[_0x50b64d(0xd1)](){const _0x3b45e9=_0x50b64d,_0x2057ab=this[_0x3b45e9(0x95)][_0x3b45e9(0x113)]();for(let _0x57d090=_0x2057ab[_0x3b45e9(0xee)]-0x1;_0x57d090>=0x0;_0x57d090--){const _0x13cb90=_0x2057ab[_0x57d090];if(!this[_0x3b45e9(0x146)][_0x3b45e9(0x8b)](_0x13cb90))return _0x13cb90[_0x3b45e9(0xe1)]+0x1-this[_0x3b45e9(0x115)];}return 0x0;}constructor(_0x249792){const _0x17b3ec=_0x50b64d;if(super(_0x249792),this[_0x17b3ec(0x115)]=0x0,this[_0x17b3ec(0x13d)]=null,this[_0x17b3ec(0x95)]=new _0xb8e312(),this[_0x17b3ec(0xcf)][_0x17b3ec(0x172)][_0x17b3ec(0x129)](_0x17b3ec(0x13b),{}),this[_0x17b3ec(0x116)]=this[_0x17b3ec(0xcf)][_0x17b3ec(0x172)][_0x17b3ec(0x161)](_0x17b3ec(0x135)),!this[_0x17b3ec(0x116)])throw new _0x1f33d7(_0x17b3ec(0x10d),this);const _0xc738f6=_0x249792[_0x17b3ec(0x172)][_0x17b3ec(0x161)](_0x17b3ec(0xe3))||_0x464c47;this[_0x17b3ec(0x130)]=new l[(_0x17b3ec(0x109))](_0xc738f6,this[_0x17b3ec(0x116)]),this[_0x17b3ec(0x7c)]=this[_0x17b3ec(0xcf)][_0x17b3ec(0x175)][_0x17b3ec(0xed)],this[_0x17b3ec(0x15e)]=new _0x375590(),this[_0x17b3ec(0xc3)]=[],this[_0x17b3ec(0x13f)]=new WeakSet(),this[_0x17b3ec(0xcb)]=new Set(),this[_0x17b3ec(0x145)](_0x17b3ec(0x10a),!0x1),this[_0x17b3ec(0x145)](_0x17b3ec(0x178),!0x1),this[_0x17b3ec(0x171)]=null,this[_0x17b3ec(0xa7)]=!0x1,this[_0x17b3ec(0x11f)]=null,this[_0x17b3ec(0x8f)]=0x12c,this[_0x17b3ec(0xbf)]=this[_0x17b3ec(0x8f)],this[_0x17b3ec(0x12c)]=null,this[_0x17b3ec(0x146)]=new WeakSet(),this[_0x17b3ec(0x8a)]=new F(this[_0x17b3ec(0x146)]);}[_0x50b64d(0xa6)](){const _0x5e2b85=_0x50b64d,_0x226bb6=this[_0x5e2b85(0xcf)],_0x333b5b=_0x226bb6[_0x5e2b85(0xa2)][_0x5e2b85(0x161)](_0x1d200b),_0x168370=_0x226bb6[_0x5e2b85(0xa2)][_0x5e2b85(0x161)](_0x505a49);this[_0x5e2b85(0xd8)](_0x333b5b,_0x5e2b85(0xf5),(_0x3721cc,_0x5f045d)=>{const _0x152cab=_0x5e2b85,_0x493857=_0x5f045d[0x0];_0x493857[_0x152cab(0xdc)]&&(_0x3721cc[_0x152cab(0xf0)]=_0x333b5b[_0x152cab(0xf2)](_0x493857[_0x152cab(0xdc)]),_0x3721cc[_0x152cab(0xd5)]()),null===_0x493857[_0x152cab(0xdc)]&&(_0x3721cc[_0x152cab(0xf0)]=null,_0x3721cc[_0x152cab(0xd5)]());},{'priority':_0x5e2b85(0x7d)}),this[_0x5e2b85(0xd8)](_0x226bb6[_0x5e2b85(0x175)][_0x5e2b85(0xed)][_0x5e2b85(0xec)],_0x5e2b85(0x140),(_0x627b74,_0x3ca1ed)=>{const _0x59f66f=_0x5e2b85;_0x3ca1ed[_0x59f66f(0x163)]&&this[_0x59f66f(0x7f)]();}),this[_0x5e2b85(0xd8)](_0x226bb6[_0x5e2b85(0x102)][_0x5e2b85(0x93)],_0x5e2b85(0x141),()=>{const _0x26b94c=_0x5e2b85;this[_0x26b94c(0x7f)]();}),this[_0x5e2b85(0xf1)](),_0x226bb6[_0x5e2b85(0x175)]['on'](_0x5e2b85(0xfd),(_0x363a72,_0x29ce4b)=>{const _0x51d520=_0x5e2b85,_0x5c459b=_0x29ce4b[0x0];_0x5c459b[_0x51d520(0x97)]&&(this[_0x51d520(0xe6)](_0x5c459b),this[_0x51d520(0x138)]()&&this[_0x51d520(0xc5)]());}),this[_0x5e2b85(0x16d)](),this[_0x5e2b85(0x7a)](_0x5e2b85(0x162))['to'](_0x168370,_0x5e2b85(0x100),this,_0x5e2b85(0x178),(_0x5472c3,_0x38a519)=>_0x5e2b85(0x8e)===_0x5472c3&&!_0x38a519),this['on'](_0x5e2b85(0x104),()=>{const _0x30d3dc=_0x5e2b85;this[_0x30d3dc(0x162)]?_0x226bb6[_0x30d3dc(0x170)](_0x30d3dc(0xb2)):_0x226bb6[_0x30d3dc(0xce)](_0x30d3dc(0xb2));}),this[_0x5e2b85(0x162)]?_0x226bb6[_0x5e2b85(0x170)](_0x5e2b85(0xb2)):_0x226bb6[_0x5e2b85(0xce)](_0x5e2b85(0xb2)),this[_0x5e2b85(0x145)](_0x5e2b85(0x11a),!0x1);}async[_0x50b64d(0xef)](){const _0x50b1c0=_0x50b64d,_0x7fb608=this[_0x50b1c0(0xcf)][_0x50b1c0(0xa2)][_0x50b1c0(0x161)](_0x3da466),_0x1342f6=this[_0x50b1c0(0xcf)][_0x50b1c0(0xa2)][_0x50b1c0(0x161)](_0x505a49);try{this[_0x50b1c0(0x10a)]=!0x0,_0x7fb608[_0x50b1c0(0xe2)](this[_0x50b1c0(0x116)]);const _0x56a30a=await this[_0x50b1c0(0x130)][_0x50b1c0(0xef)](_0x1342f6[_0x50b1c0(0x117)],this[_0x50b1c0(0xd1)]);await this[_0x50b1c0(0xa9)](_0x56a30a)&&(this[_0x50b1c0(0x10a)]=!0x1,this[_0x50b1c0(0x126)]());const _0x4944f1=await this[_0x50b1c0(0x130)][_0x50b1c0(0x74)]();_0x7fb608[_0x50b1c0(0x13e)](this[_0x50b1c0(0x116)],_0x4944f1),this[_0x50b1c0(0xb0)](),this[_0x50b1c0(0x11a)]=!0x0;}catch(_0x3cac4a){if(function(_0x517ea6){const _0x5429b7=_0x50b1c0;return _0x5429b7(0x15f)===_0x517ea6[_0x5429b7(0xae)];}(_0x3cac4a)&&this[_0x50b1c0(0x13d)])await this[_0x50b1c0(0x92)]();else{if(function(_0x102954){const _0x146f36=_0x50b1c0;return _0x146f36(0x10b)===_0x102954[_0x146f36(0xae)];}(_0x3cac4a)){const _0x485b9d=_0x580bf5(this[_0x50b1c0(0xcf)][_0x50b1c0(0x10f)],_0x50b1c0(0xad));this[_0x50b1c0(0x148)](_0x485b9d);}else{if(!(_0x3cac4a instanceof V))throw _0x3cac4a;this[_0x50b1c0(0x148)]();}}}}[_0x50b64d(0xf3)](){const _0x147594=_0x50b64d,_0x4f4ac5=this[_0x147594(0xcf)][_0x147594(0xa2)][_0x147594(0x161)](_0x505a49),_0x42f953=this[_0x147594(0xcf)][_0x147594(0xa2)][_0x147594(0x161)](_0x3da466);this[_0x147594(0xcf)][_0x147594(0xce)](_0x147594(0x133)),_0x42f953[_0x147594(0xe5)][_0x147594(0x8b)](this[_0x147594(0x116)])&&_0x42f953[_0x147594(0xe2)](this[_0x147594(0x116)]),_0x4f4ac5[_0x147594(0x151)](this),this[_0x147594(0xe0)](),super[_0x147594(0xf3)]();}async[_0x50b64d(0xa9)](_0x1f98b4){const _0x60c54=_0x50b64d;if(this[_0x60c54(0x13d)]!==_0x1f98b4[_0x60c54(0x13d)]&&this[_0x60c54(0x12c)]!==_0x1f98b4[_0x60c54(0x84)])throw new V();return this[_0x60c54(0x13d)]=_0x1f98b4[_0x60c54(0x13d)],this[_0x60c54(0x121)]([],{..._0x1f98b4,'wereChangesApplied':!0x1,'data':_0x1f98b4[_0x60c54(0x94)]},_0x60c54(0xef));}async[_0x50b64d(0x13a)](_0x3ce52c,_0x36d431=!0x1){const _0x569c34=_0x50b64d,{connection:_0x5c7589}=this[_0x569c34(0xcf)][_0x569c34(0xa2)][_0x569c34(0x161)](_0x505a49);l[_0x569c34(0x109)][_0x569c34(0x74)](_0x5c7589,this[_0x569c34(0x116)])[_0x569c34(0x9e)](_0x2f1a50=>this[_0x569c34(0x98)](_0x2f1a50))[_0x569c34(0x156)](_0x5a2a4e=>{const _0x2940c7=_0x569c34;this[_0x2940c7(0x110)](_0x2940c7(0x9d),_0x5a2a4e);}),this[_0x569c34(0xd8)](this[_0x569c34(0x130)],_0x569c34(0xb6),this[_0x569c34(0x159)][_0x569c34(0x7a)](this)),this[_0x569c34(0xd8)](this[_0x569c34(0x130)],_0x569c34(0x16a),(_0x2d1028,_0x5600fd)=>{const _0x1f7002=_0x569c34;this[_0x1f7002(0x110)](_0x1f7002(0x167),_0x5600fd);}),this[_0x569c34(0xd8)](this[_0x569c34(0x130)],_0x569c34(0x103),()=>{const _0x18f2e3=_0x569c34;this[_0x18f2e3(0x11a)]=!0x1;});const _0x3b280c=this[_0x569c34(0x8a)][_0x569c34(0x108)](_0x3ce52c);this[_0x569c34(0x10a)]=!0x0;const _0x278b29=await this[_0x569c34(0x130)][_0x569c34(0x9c)](_0x5c7589,this[_0x569c34(0x155)](_0x3ce52c),_0x3b280c);if(this[_0x569c34(0x13d)]=_0x278b29[_0x569c34(0x13d)],_0x36d431){if(!_0x278b29[_0x569c34(0xbc)])return void this[_0x569c34(0x148)]();this[_0x569c34(0x10a)]=!0x1,this[_0x569c34(0x126)](),this[_0x569c34(0x95)][_0x569c34(0x123)](),this[_0x569c34(0x115)]=_0x278b29[_0x569c34(0x165)],this[_0x569c34(0x95)][_0x569c34(0x107)]=this[_0x569c34(0x115)],await this[_0x569c34(0x121)](_0x3ce52c,_0x278b29,_0x569c34(0xbe));}else await this[_0x569c34(0xda)](_0x278b29,_0x3ce52c);this[_0x569c34(0xb0)](),this[_0x569c34(0x11a)]=!0x0;}[_0x50b64d(0xb0)](){const _0x35ce07=_0x50b64d,_0x5f1d67=this[_0x35ce07(0xcf)][_0x35ce07(0xa2)][_0x35ce07(0x161)](_0x3da466),_0x56c165=this[_0x35ce07(0xcf)][_0x35ce07(0xa2)][_0x35ce07(0x161)](_0x277e2b),_0x27cac9=_0x5f1d67[_0x35ce07(0xe5)][_0x35ce07(0x161)](this[_0x35ce07(0x116)]);_0x27cac9&&_0x27cac9[_0x35ce07(0xee)]>0x1?_0x56c165[_0x35ce07(0xf4)]():this[_0x35ce07(0xd8)](_0x5f1d67,_0x35ce07(0xac)+this[_0x35ce07(0x116)],()=>{const _0x4f0df6=_0x35ce07;0x2===_0x5f1d67[_0x4f0df6(0xe5)][_0x4f0df6(0x161)](this[_0x4f0df6(0x116)])[_0x4f0df6(0xee)]&&_0x56c165[_0x4f0df6(0xf4)]();});}async[_0x50b64d(0x159)](_0xb481df,_0x1b357c,_0x414256,_0x29b1e7){const _0x52ab6b=_0x50b64d;if(!this[_0x52ab6b(0x10a)]&&this[_0x52ab6b(0x7c)][_0x52ab6b(0x107)]==_0x1b357c){const _0x1305dd=this[_0x52ab6b(0x127)](_0x414256,_0x29b1e7);await this[_0x52ab6b(0xa8)](_0x1305dd),this[_0x52ab6b(0x78)](_0x1305dd,_0x1b357c,_0x414256[_0x52ab6b(0x84)])||this[_0x52ab6b(0x110)](_0x52ab6b(0x15d));}}async[_0x50b64d(0x92)](){const _0x4569cc=_0x50b64d;this[_0x4569cc(0xe0)]();const {locale:_0x4c25d9}=this[_0x4569cc(0xcf)];let _0x3bb644;try{_0x3bb644=await this[_0x4569cc(0x130)][_0x4569cc(0x11c)]();}catch{const _0x15552f=_0x580bf5(_0x4c25d9,_0x4569cc(0xe9));return void this[_0x4569cc(0x148)](_0x15552f);}const _0x51b2e0=_0x3bb644[_0x4569cc(0x152)]||_0x3bb644[_0x4569cc(0x77)];if(this[_0x4569cc(0x12c)]!==_0x51b2e0[_0x4569cc(0x84)]){const _0x409891=_0x580bf5(_0x4c25d9,_0x4569cc(0xff));return void this[_0x4569cc(0x148)](_0x409891);}await this[_0x4569cc(0x13a)](this[_0x4569cc(0xcf)][_0x4569cc(0x175)][_0x4569cc(0xed)][_0x4569cc(0xd7)][_0x4569cc(0x113)](),!0x0);}[_0x50b64d(0xe0)](){const _0x13ea54=_0x50b64d;this[_0x13ea54(0x130)][_0x13ea54(0x106)](),this[_0x13ea54(0xc3)]=[],clearTimeout(this[_0x13ea54(0x11f)]),this[_0x13ea54(0x10e)](this[_0x13ea54(0x130)]);}[_0x50b64d(0x98)](_0x3bff8f){const _0x15133e=_0x50b64d,_0x1a993d=this[_0x15133e(0xcf)][_0x15133e(0xa2)][_0x15133e(0x161)](_0x3da466);this[_0x15133e(0xd8)](_0x1a993d,_0x15133e(0xac)+this[_0x15133e(0x116)],(_0x47f16c,{session:_0x3eb1e6})=>{const _0xc7fab1=_0x15133e;if(_0x3eb1e6['id']===_0x1a993d[_0xc7fab1(0xd4)]){_0x47f16c[_0xc7fab1(0x10c)]();const _0x1f201e=this[_0xc7fab1(0xcf)][_0xc7fab1(0xa2)][_0xc7fab1(0x8b)](_0xc7fab1(0x85))&&this[_0xc7fab1(0xcf)][_0xc7fab1(0xa2)][_0xc7fab1(0x161)](_0xc7fab1(0x85));let _0xf7786a=_0x3eb1e6[_0xc7fab1(0x105)];_0x1f201e&&_0x1f201e[_0xc7fab1(0x75)]&&(_0xf7786a=_0xf7786a[_0xc7fab1(0x9a)](_0x47dd12=>_0xc7fab1(0xb9)!==_0x47dd12)),this[_0xc7fab1(0xcf)][_0xc7fab1(0xa2)][_0xc7fab1(0x161)](_0xc7fab1(0x89))[_0xc7fab1(0x11b)](_0xf7786a,this[_0xc7fab1(0x116)]);}}),_0x1a993d[_0x15133e(0x13e)](this[_0x15133e(0x116)],_0x3bff8f);}[_0x50b64d(0xf1)](){const _0x145daf=_0x50b64d,_0xbd4ba1=this[_0x145daf(0xcf)][_0x145daf(0x94)][_0x145daf(0x145)];this[_0x145daf(0xcf)][_0x145daf(0x94)][_0x145daf(0x145)]=(..._0x18add2)=>{const _0xda18b3=_0x145daf;if(!_0x18add2[_0x18add2[_0xda18b3(0xee)]-0x1][_0xda18b3(0x8c)])throw new _0x1f33d7(_0xda18b3(0xf7),this);_0xbd4ba1[_0xda18b3(0x118)](this[_0xda18b3(0xcf)][_0xda18b3(0x94)],_0x18add2);};}[_0x50b64d(0x16d)](){const _0x59e121=_0x50b64d;this[_0x59e121(0xcf)][_0x59e121(0x94)]['on'](_0x59e121(0xa6),(_0x48a46f,[_0x45d36d])=>{const _0x3810df=_0x59e121;if(this[_0x3810df(0x7c)][_0x3810df(0x107)])throw new _0x1f33d7(_0x3810df(0x144),this);_0x48a46f[_0x3810df(0xd5)](),this[_0x3810df(0x96)]();const _0x561412=this[_0x3810df(0xcf)][_0x3810df(0x172)][_0x3810df(0x161)](_0x3810df(0xc9)),_0x2129a6=this[_0x3810df(0xc8)](_0x45d36d,_0x561412);0x0==_0x2129a6[_0x3810df(0xee)]&&_0x2129a6[_0x3810df(0x12f)](new _0x2ab932(0x0)),_0x48a46f[_0x3810df(0xf0)]=this[_0x3810df(0x13a)](_0x2129a6)[_0x3810df(0x9e)](()=>{const _0x1657c7=_0x3810df;this[_0x1657c7(0xcf)][_0x1657c7(0xa2)][_0x1657c7(0x161)](_0x505a49)[_0x1657c7(0xfb)](this),this[_0x1657c7(0xcf)][_0x1657c7(0x94)][_0x1657c7(0x7b)](_0x1657c7(0xa5));})[_0x3810df(0x156)](_0x15b799=>this[_0x3810df(0x110)](_0x3810df(0xb3),_0x15b799))[_0x3810df(0x122)](()=>this[_0x3810df(0x126)]());},{'priority':_0x59e121(0x7d)}),this[_0x59e121(0xcf)]['on'](_0x59e121(0xea),async(_0x1cf667,[_0x19ed78,_0x513b66])=>{const _0x4b7bbe=_0x59e121;_0x1cf667[_0x4b7bbe(0xd5)]();const _0x366a50=this[_0x4b7bbe(0xcf)][_0x4b7bbe(0x175)][_0x4b7bbe(0xed)][_0x4b7bbe(0xe7)](_0x19ed78);if(!this[_0x4b7bbe(0xcb)][_0x4b7bbe(0x8b)](_0x19ed78)){const _0x12ec73=_0x513b66&&_0x513b66[_0x4b7bbe(0x94)]?_0x513b66[_0x4b7bbe(0x94)]:'',_0x54479f=_0x513b66&&_0x513b66[_0x4b7bbe(0xdd)]?_0x513b66[_0x4b7bbe(0xdd)]:{};await this[_0x4b7bbe(0x166)](_0x19ed78,_0x12ec73,_0x54479f);}this[_0x4b7bbe(0xcf)][_0x4b7bbe(0x175)][_0x4b7bbe(0x119)]({'isUndoable':!0x1},()=>{const _0x31efa5=_0x4b7bbe;_0x366a50[_0x31efa5(0x15c)]=!0x0,this[_0x31efa5(0xcf)][_0x31efa5(0x175)][_0x31efa5(0xed)][_0x31efa5(0x177)][_0x31efa5(0x16b)](_0x366a50);});},{'priority':_0x59e121(0x7d)});}async[_0x50b64d(0xa8)](_0x3bfc67){const _0x59aedf=_0x50b64d,_0x5b77a7=this[_0x59aedf(0xcf)][_0x59aedf(0xa2)][_0x59aedf(0x161)](_0x1d200b),{connection:_0x22f8fb}=this[_0x59aedf(0xcf)][_0x59aedf(0xa2)][_0x59aedf(0x161)](_0x505a49),_0x44b201=new Set();for(const _0x366482 of _0x3bfc67){const _0x21687f=_0x366482[_0x59aedf(0xdc)];_0x21687f&&!_0x5b77a7[_0x59aedf(0xf2)](_0x21687f)&&_0x44b201[_0x59aedf(0xa1)](_0x21687f);}if(0x0===_0x44b201[_0x59aedf(0x14e)])return;const _0x47bbd0=await _0x241ed5[_0x59aedf(0x168)](_0x22f8fb,Array[_0x59aedf(0x8d)](_0x44b201));for(const _0x50f21e of _0x47bbd0)_0x5b77a7[_0x59aedf(0xf2)](_0x50f21e['id'])||_0x5b77a7[_0x59aedf(0x124)](_0x50f21e);}[_0x50b64d(0xc8)](_0x3bb3c4,_0x2151f6={}){const _0x226f1d=_0x50b64d,_0x24b1a8=this[_0x226f1d(0xcf)][_0x226f1d(0x175)],_0x423666=[];let _0x260108=0x0;const _0x390e98=_0x226f1d(0xd6)==typeof _0x3bb3c4?{'main':_0x3bb3c4}:_0x3bb3c4;for(const _0x38abb6 of Object[_0x226f1d(0xc4)](_0x390e98)){if(!this[_0x226f1d(0x7c)][_0x226f1d(0xb8)][_0x226f1d(0x8b)](_0x38abb6))throw new _0x1f33d7(_0x226f1d(0x173),this);const _0x438f8e=this[_0x226f1d(0xcf)][_0x226f1d(0x94)][_0x226f1d(0x150)](_0x390e98[_0x38abb6]),_0x3e6692=this[_0x226f1d(0x7c)][_0x226f1d(0xe7)](_0x38abb6),_0x2a1a52=new _0x171d3d(_0x24b1a8[_0x226f1d(0xe8)](_0x3e6692,0x0),_0x438f8e,_0x260108++);_0x423666[_0x226f1d(0x12f)](_0x2a1a52);for(const [_0x5208b5,_0x45bfa9]of _0x438f8e[_0x226f1d(0x112)]){const _0x5102cb=_0x24b1a8[_0x226f1d(0x134)](_0x24b1a8[_0x226f1d(0x11d)](_0x3e6692,_0x45bfa9[_0x226f1d(0x14c)][_0x226f1d(0xfe)][_0x226f1d(0xcc)]()),_0x24b1a8[_0x226f1d(0x11d)](_0x3e6692,_0x45bfa9[_0x226f1d(0xbb)][_0x226f1d(0xfe)][_0x226f1d(0xcc)]())),_0x188ab4=new _0x2173be(_0x5208b5,null,_0x5102cb,_0x24b1a8[_0x226f1d(0x112)],!0x0,_0x260108++);_0x423666[_0x226f1d(0x12f)](_0x188ab4);}}if(_0x2151f6)for(const [_0x1ab184,_0x57ca1d]of Object[_0x226f1d(0x14b)](_0x2151f6)){const _0x51e000=_0x24b1a8[_0x226f1d(0xed)][_0x226f1d(0xe7)](_0x1ab184);if(!_0x51e000)throw new _0x1f33d7(_0x226f1d(0x82),null);for(const [_0x4d271c,_0x4c45bd]of Object[_0x226f1d(0x14b)](_0x57ca1d))if(null!==_0x4c45bd){const _0x794d0c=new _0x761e99(_0x51e000,_0x4d271c,null,_0x4c45bd,_0x260108++);_0x423666[_0x226f1d(0x12f)](_0x794d0c);}}return _0x423666;}async[_0x50b64d(0x166)](_0x3a88ce,_0x3824e9,_0x36c619){const _0x40659d=_0x50b64d;this[_0x40659d(0xc8)]({[_0x3a88ce]:_0x3824e9},{[_0x3a88ce]:_0x36c619})[_0x40659d(0x169)]((_0x55d377,_0x571535)=>{const _0x2aab4a=_0x40659d;_0x55d377[_0x2aab4a(0xe1)]=this[_0x2aab4a(0x7c)][_0x2aab4a(0x107)]+_0x571535,_0x55d377[_0x2aab4a(0x147)]=!0x0,this[_0x2aab4a(0xe6)](_0x55d377);}),this[_0x40659d(0xc5)](),await this[_0x40659d(0x101)]();}async[_0x50b64d(0xda)](_0x16824f,_0x367bde){const _0x3f7aa0=_0x50b64d;let _0xe3f218;this[_0x3f7aa0(0x115)]=_0x16824f[_0x3f7aa0(0x165)];const _0x74e4ec=_0x16824f[_0x3f7aa0(0xbc)]&&!_0x16824f[_0x3f7aa0(0xca)],_0xce304c=_0x74e4ec?0x0:_0x16824f[_0x3f7aa0(0x94)][_0x3f7aa0(0xe1)];if(_0x367bde[_0x3f7aa0(0x169)](_0x4df473=>{const _0x4f43e7=_0x3f7aa0;_0x4df473[_0x4f43e7(0x147)]=!0x0,_0x4df473[_0x4f43e7(0x114)]=_0x16824f[_0x4f43e7(0x12a)],_0x4df473[_0x4f43e7(0xdc)]=null;}),_0x74e4ec)_0xe3f218=_0x367bde,this[_0x3f7aa0(0x125)](_0xe3f218,_0x74e4ec);else{if(_0x16824f[_0x3f7aa0(0xca)]){const _0x3dd0c7=this[_0x3f7aa0(0xc8)](_0x16824f[_0x3f7aa0(0xca)]);this[_0x3f7aa0(0x7c)][_0x3f7aa0(0xd7)][_0x3f7aa0(0x107)]=-_0x3dd0c7[_0x3f7aa0(0xee)],_0x3dd0c7[_0x3f7aa0(0x169)](_0x10ed19=>{const _0x18b77b=_0x3f7aa0;_0x10ed19[_0x18b77b(0xe1)]-=_0x3dd0c7[_0x18b77b(0xee)],_0x10ed19[_0x18b77b(0x114)]=_0x16824f[_0x18b77b(0x12a)],_0x10ed19[_0x18b77b(0x147)]=!0x0,_0x10ed19[_0x18b77b(0xdc)]=null;}),this[_0x3f7aa0(0x125)](_0x3dd0c7,!0x0),this[_0x3f7aa0(0x95)][_0x3f7aa0(0x107)]=-_0x3dd0c7[_0x3f7aa0(0xee)]+this[_0x3f7aa0(0x115)],this[_0x3f7aa0(0x15b)](_0x3dd0c7);}this[_0x3f7aa0(0x7c)][_0x3f7aa0(0xd7)][_0x3f7aa0(0x107)]=_0xce304c,_0xe3f218=this[_0x3f7aa0(0x127)](_0x16824f[_0x3f7aa0(0x94)],_0x16824f[_0x3f7aa0(0x15a)]),await this[_0x3f7aa0(0xa8)](_0xe3f218),this[_0x3f7aa0(0x125)](_0xe3f218,_0x74e4ec);}_0x16824f[_0x3f7aa0(0x84)]&&(this[_0x3f7aa0(0x8a)][_0x3f7aa0(0x13c)](_0xe3f218,_0x16824f[_0x3f7aa0(0x84)]),this[_0x3f7aa0(0x12c)]=_0x16824f[_0x3f7aa0(0x84)]),this[_0x3f7aa0(0x95)][_0x3f7aa0(0x107)]=_0xce304c+this[_0x3f7aa0(0x115)],this[_0x3f7aa0(0x15b)](_0xe3f218),_0x367bde[_0x3f7aa0(0x9a)](_0x47f971=>{const _0x593b0b=_0x3f7aa0,_0x8a3813=this[_0x593b0b(0xb5)](_0x47f971);return _0x8a3813&&!this[_0x593b0b(0xcb)][_0x593b0b(0x8b)](_0x8a3813);})[_0x3f7aa0(0x169)]((_0x2f5e63,_0x198329)=>{const _0x37db94=_0x3f7aa0;_0x2f5e63[_0x37db94(0xe1)]=this[_0x37db94(0x7c)][_0x37db94(0x107)]+_0x198329,this[_0x37db94(0xe6)](_0x2f5e63);}),this[_0x3f7aa0(0x138)]()?(this[_0x3f7aa0(0xbf)]=0x0,this[_0x3f7aa0(0xc5)](!0x0),await this[_0x3f7aa0(0x101)]()):(this[_0x3f7aa0(0x10a)]=!0x1,this[_0x3f7aa0(0x126)]());}[_0x50b64d(0x110)](_0x3410c7,_0x1ab3be){const _0x48d830=_0x50b64d,_0x264c15=_0x1ab3be&&_0x1ab3be[_0x48d830(0xf8)];if(_0x264c15&&_0x264c15[_0x48d830(0xfa)](_0x48d830(0x111)))throw _0x1ab3be;const _0x288a53=this[_0x48d830(0xcf)][_0x48d830(0xa2)][_0x48d830(0x161)](_0x505a49);throw this[_0x48d830(0x10a)]=!0x0,_0x288a53[_0x48d830(0x106)](),this[_0x48d830(0xcf)][_0x48d830(0xce)](_0x48d830(0x136)),new _0x1f33d7(_0x3410c7,this[_0x48d830(0xcf)],_0x264c15?{'originalError':_0x264c15}:void 0x0);}[_0x50b64d(0xe6)](_0x5a6b22){const _0x14266e=_0x50b64d;this[_0x14266e(0x13f)][_0x14266e(0x8b)](_0x5a6b22)||(this[_0x14266e(0x13f)][_0x14266e(0xa1)](_0x5a6b22),this[_0x14266e(0xc3)][_0x14266e(0x12f)](_0x5a6b22),this[_0x14266e(0x171)]||_0x14266e(0x179)==_0x5a6b22[_0x14266e(0xaf)]&&!_0x5a6b22[_0x14266e(0x14a)]||this[_0x14266e(0x96)]());}[_0x50b64d(0xc5)](_0x1f708d=!0x1){const _0xdab37=_0x50b64d;!_0x1f708d&&this[_0xdab37(0x10a)]||(this[_0xdab37(0x10a)]=!0x0,clearTimeout(this[_0xdab37(0x11f)]),this[_0xdab37(0x11f)]=setTimeout(()=>{const _0x16c69d=_0xdab37;this[_0x16c69d(0x79)]()[_0x16c69d(0x9e)](_0x440dbe=>{const _0xd4751f=_0x16c69d;_0x440dbe&&(this[_0xd4751f(0x126)](),this[_0xd4751f(0x10a)]=!0x1);})[_0x16c69d(0x156)](_0x1035b2=>{const _0x42c725=_0x16c69d;this[_0x42c725(0x126)](),this[_0x42c725(0x10a)]=!0x1,function(_0x2ad383){const _0x4e0e0b=_0x42c725;return _0x2ad383[_0x4e0e0b(0xf8)][_0x4e0e0b(0xfa)](_0x4e0e0b(0xeb))||_0x2ad383[_0x4e0e0b(0xf8)][_0x4e0e0b(0xfa)](_0x4e0e0b(0x149))||_0x2ad383[_0x4e0e0b(0xf8)][_0x4e0e0b(0xfa)](_0x4e0e0b(0xb7));}(_0x1035b2)||this[_0x42c725(0x110)](_0x1035b2[_0x42c725(0xf8)],_0x1035b2);});},this[_0xdab37(0xbf)]));}[_0x50b64d(0x101)](){return new Promise(_0x546442=>{const _0x2d018a=_0x160f;this['on'](_0x2d018a(0xdb),()=>{_0x546442();});});}async[_0x50b64d(0x79)](){const _0x31ada8=_0x50b64d,_0x24b423=this[_0x31ada8(0xcf)][_0x31ada8(0xa2)][_0x31ada8(0x161)](_0x277e2b);if(this[_0x31ada8(0xf9)]()&&(_0x24b423[_0x31ada8(0xf4)](),this[_0x31ada8(0xa7)]=!0x1),!this[_0x31ada8(0x138)]())return!0x0;const _0x387f34=[...this[_0x31ada8(0xc3)]];for(const _0x5b1bca of _0x387f34)_0x5b1bca[_0x31ada8(0xc2)]=this[_0x31ada8(0x7c)][_0x31ada8(0xd7)][_0x31ada8(0x16e)](_0x5b1bca);const _0x27c4ad=this[_0x31ada8(0x8a)][_0x31ada8(0x108)](_0x387f34),_0x5c6582=H++,_0x8b9242=this[_0x31ada8(0x155)](_0x387f34),_0x2a1e54=await this[_0x31ada8(0x130)][_0x31ada8(0x76)](_0x8b9242,_0x8b9242[_0x31ada8(0xe1)],_0x27c4ad);try{return await this[_0x31ada8(0x121)](_0x387f34,_0x2a1e54,_0x5c6582);}catch(_0x23ed5a){return this[_0x31ada8(0x110)](_0x31ada8(0xab),_0x23ed5a);}}async[_0x50b64d(0x121)](_0x55933a,_0x13ce26,_0x27ed9d){const _0xb17864=_0x50b64d;if(_0xb17864(0x16a)in _0x13ce26)throw _0x13ce26[_0xb17864(0x16a)];let _0x38b778=!0x1;if(_0x13ce26[_0xb17864(0xbc)]){_0x13ce26[_0xb17864(0x84)]&&(this[_0xb17864(0x12c)]=_0x13ce26[_0xb17864(0x84)]),this[_0xb17864(0xc3)]=this[_0xb17864(0xc3)][_0xb17864(0x9a)](_0x18c911=>!_0x55933a[_0xb17864(0x99)](_0x18c911));for(const _0x45b9e5 of _0x55933a)_0x45b9e5[_0xb17864(0x114)]=_0xb17864(0x131)in _0x13ce26&&_0x13ce26[_0xb17864(0x131)]||void 0x0;W(_0x55933a,_0x13ce26[_0xb17864(0x107)]-_0x55933a[_0xb17864(0xee)]),this[_0xb17864(0x15b)](_0x55933a);const _0x18d459=_0x55933a[_0xb17864(0x9a)](_0x54bfde=>{const _0xa7447=_0xb17864;if(!_0x54bfde[_0xa7447(0x147)])return!0x1;const _0x50d7c0=this[_0xa7447(0xb5)](_0x54bfde);return _0x50d7c0&&!this[_0xa7447(0xcb)][_0xa7447(0x8b)](_0x50d7c0);});W(_0x18d459,this[_0xb17864(0x7c)][_0xb17864(0x107)]),this[_0xb17864(0x125)](_0x18d459),_0x38b778=!0x0,this[_0xb17864(0xbf)]=this[_0xb17864(0x8f)];}else{const _0x4d9ff6=this[_0xb17864(0x127)](_0x13ce26[_0xb17864(0x94)],_0x13ce26[_0xb17864(0x15a)])[_0xb17864(0x9a)](_0x3d6bd2=>_0x3d6bd2[_0xb17864(0xe1)]>=this[_0xb17864(0xe4)]);_0x4d9ff6[_0xb17864(0x169)](_0x268f52=>this[_0xb17864(0x153)](_0x268f52)),this[_0xb17864(0xc3)]=this[_0xb17864(0xc3)][_0xb17864(0x9a)](_0x573736=>!_0x573736[_0xb17864(0x147)]||!this[_0xb17864(0xcb)][_0xb17864(0x8b)](this[_0xb17864(0xb5)](_0x573736))),this[_0xb17864(0xc3)][_0xb17864(0xee)]&&W(this[_0xb17864(0xc3)],this[_0xb17864(0xc3)][0x0][_0xb17864(0xe1)]),await this[_0xb17864(0xa8)](_0x4d9ff6),_0x38b778=this[_0xb17864(0x78)](_0x4d9ff6,_0x13ce26[_0xb17864(0x107)],_0x13ce26[_0xb17864(0x84)]),this[_0xb17864(0xbf)]=Math[_0xb17864(0xf6)](this[_0xb17864(0xbf)]/0x2);}return _0x38b778?!this[_0xb17864(0x138)]()||(this[_0xb17864(0xc5)](!0x0),!0x1):this[_0xb17864(0x110)](_0xb17864(0x7e));}[_0x50b64d(0x78)](_0x57554b,_0x231526,_0x4873fb){const _0x4e3aec=_0x50b64d;try{const _0x5a357c={'document':this[_0x4e3aec(0x7c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xbba6a3,operationsB:_0x478f39,originalOperations:_0x1128db}=_0x3f1854(_0x57554b,this[_0x4e3aec(0xc3)],_0x5a357c);W(_0xbba6a3,this[_0x4e3aec(0x7c)][_0x4e3aec(0x107)]),W(_0x478f39,_0x231526);for(const _0xbf0d39 of _0xbba6a3){const _0x5937e1=_0x1128db[_0x4e3aec(0x161)](_0xbf0d39);_0xbf0d39[_0x4e3aec(0xdc)]=_0x5937e1?_0x5937e1[_0x4e3aec(0xdc)]:null;}_0x4873fb&&(this[_0x4e3aec(0x8a)][_0x4e3aec(0x13c)](_0x57554b,_0x4873fb),this[_0x4e3aec(0x12c)]=_0x4873fb),this[_0x4e3aec(0xc3)]=[..._0x478f39],this[_0x4e3aec(0x125)](_0xbba6a3),this[_0x4e3aec(0x15b)](_0x57554b);}catch(_0x3cec8b){return console[_0x4e3aec(0x16a)](_0x3cec8b),!0x1;}return!0x0;}[_0x50b64d(0x125)](_0x3bd984,_0x1a6c99=!0x1){const _0xd7f5ec=_0x50b64d;this[_0xd7f5ec(0xcf)][_0xd7f5ec(0x175)][_0xd7f5ec(0x119)]({'isUndoable':!0x1,'isLocal':!0x1},_0x25d238=>{const _0x10a893=_0xd7f5ec;for(const _0x466c6d of _0x3bd984)this[_0x10a893(0x13f)][_0x10a893(0xa1)](_0x466c6d),this[_0x10a893(0x153)](_0x466c6d),_0x25d238[_0x10a893(0xdf)][_0x10a893(0xc1)](_0x466c6d),this[_0x10a893(0xcf)][_0x10a893(0x175)][_0x10a893(0xfd)](_0x466c6d);});}[_0x50b64d(0x153)](_0x597f84){const _0x1d753c=_0x50b64d,_0x4c0da2=this[_0x1d753c(0xb5)](_0x597f84);_0x4c0da2&&this[_0x1d753c(0xcb)][_0x1d753c(0xa1)](_0x4c0da2);}[_0x50b64d(0xb5)](_0x46c187){const _0x2e173d=_0x50b64d;let _0x118b29,_0x33fbc4;switch(_0x46c187[_0x2e173d(0xaf)]){case _0x2e173d(0xb4):_0x118b29=_0x46c187[_0x2e173d(0x90)][_0x2e173d(0x176)];break;case _0x2e173d(0x179):if(_0x33fbc4=_0x46c187[_0x2e173d(0x158)],!_0x33fbc4)return null;_0x118b29=_0x33fbc4[_0x2e173d(0x176)];break;case _0x2e173d(0xd9):_0x118b29=_0x46c187[_0x2e173d(0x176)];break;case _0x2e173d(0x143):_0x118b29=_0x46c187[_0x2e173d(0x120)];break;case _0x2e173d(0x132):_0x118b29=_0x46c187[_0x2e173d(0xa0)][_0x2e173d(0x176)];break;default:return null;}return _0x118b29[_0x2e173d(0x11e)];}[_0x50b64d(0x15b)](_0x398345){const _0x565fb7=_0x50b64d;_0x398345[_0x565fb7(0x169)](_0x3a41ec=>{const _0x27ed8d=_0x565fb7,_0x541583=_0x3a41ec[_0x27ed8d(0x12b)]();_0x541583[_0x27ed8d(0xdc)]=_0x3a41ec[_0x27ed8d(0xdc)],_0x541583[_0x27ed8d(0x147)]=!!_0x3a41ec[_0x27ed8d(0x147)],_0x541583[_0x27ed8d(0x114)]=_0x3a41ec[_0x27ed8d(0x114)],_0x541583[_0x27ed8d(0xe1)]+=this[_0x27ed8d(0x115)],_0x3a41ec[_0x27ed8d(0xc7)]&&this[_0x27ed8d(0x146)][_0x27ed8d(0xa1)](_0x541583),this[_0x27ed8d(0x95)][_0x27ed8d(0xc1)](_0x541583);});}[_0x50b64d(0x148)](_0x369692){const _0x1a13f6=_0x50b64d,_0xf81c4=this[_0x1a13f6(0xcf)][_0x1a13f6(0xa2)][_0x1a13f6(0x161)](_0x1a13f6(0x14d)),_0x4f4a6f=this[_0x1a13f6(0xcf)][_0x1a13f6(0x10f)];_0x369692||(_0x369692=_0x580bf5(_0x4f4a6f,_0x1a13f6(0x12e))),_0xf81c4[_0x1a13f6(0x174)](_0x369692,{'title':_0x580bf5(_0x4f4a6f,_0x1a13f6(0xfc)),'namespace':_0x1a13f6(0xc0)}),this[_0x1a13f6(0x178)]=!0x0,clearTimeout(this[_0x1a13f6(0x11f)]),this[_0x1a13f6(0xc3)]=[],this[_0x1a13f6(0xcf)][_0x1a13f6(0xa2)][_0x1a13f6(0x161)](_0x505a49)[_0x1a13f6(0x106)]();}[_0x50b64d(0x96)](){const _0x23615a=_0x50b64d;this[_0x23615a(0x171)]||(this[_0x23615a(0x171)]=this[_0x23615a(0xcf)][_0x23615a(0xa2)][_0x23615a(0x161)](_0x485d5f)[_0x23615a(0xa1)](_0x580bf5(this[_0x23615a(0xcf)][_0x23615a(0x10f)],_0x23615a(0x83))));}[_0x50b64d(0x126)](){const _0x358991=_0x50b64d;this[_0x358991(0x171)]&&(this[_0x358991(0xcf)][_0x358991(0xa2)][_0x358991(0x161)](_0x485d5f)[_0x358991(0x142)](this[_0x358991(0x171)]),this[_0x358991(0x171)]=null);}[_0x50b64d(0x155)](_0x10310a){const _0xa94e54=_0x50b64d,_0x128daf=_0x10310a[_0xa94e54(0x128)](_0x47ff76=>_0x47ff76[_0xa94e54(0xaa)]());return this[_0xa94e54(0x15e)][_0xa94e54(0xcd)](_0x128daf);}[_0x50b64d(0x127)](_0x21171d,_0xe9d365){const _0x681826=_0x50b64d;return this[_0x681826(0x15e)][_0x681826(0xd0)](_0x21171d)[_0x681826(0x128)]((_0x58f826,_0x15414b)=>{const _0x126ec2=_0x681826,_0x448fe4=_0x126ec2(0xa6)==_0xe9d365[_0x15414b][_0x126ec2(0xaf)];if(_0x126ec2(0xa3)==_0x58f826[_0x126ec2(0x88)]){const _0x26459a=_0x58f826[_0x126ec2(0x90)][_0x126ec2(0x176)];!this[_0x126ec2(0x7c)][_0x126ec2(0xe7)](_0x26459a)&&(this[_0x126ec2(0x7c)][_0x126ec2(0xb1)](_0x126ec2(0xc6),_0x26459a)[_0x126ec2(0xde)]=!0x1);}const _0x219ce7=_0x97632e[_0x126ec2(0x73)](_0x58f826,this[_0x126ec2(0x7c)]);return _0x219ce7[_0x126ec2(0xc2)]=_0x58f826[_0x126ec2(0xc2)],_0x219ce7[_0x126ec2(0x147)]=_0x448fe4,_0x219ce7[_0x126ec2(0xdc)]=_0x448fe4?null:_0xe9d365[_0x15414b][_0x126ec2(0x12d)],_0x219ce7[_0x126ec2(0xc7)]=_0x126ec2(0x81)===_0xe9d365[_0x15414b][_0x126ec2(0xaf)],_0x219ce7[_0x126ec2(0x114)]=_0xe9d365[_0x15414b][_0x126ec2(0x114)],_0x219ce7;});}[_0x50b64d(0x7f)](){const _0x3ebc93=_0x50b64d;this[_0x3ebc93(0xa7)]=!0x0,this[_0x3ebc93(0xf9)]()?this[_0x3ebc93(0xc5)]():this[_0x3ebc93(0xa7)]=!0x1;}[_0x50b64d(0xf9)](){const _0x6a9e49=_0x50b64d,_0x2547ee=this[_0x6a9e49(0xcf)][_0x6a9e49(0xa2)][_0x6a9e49(0x161)](_0x3da466)[_0x6a9e49(0xe5)][_0x6a9e49(0x161)](this[_0x6a9e49(0x116)]);return!this[_0x6a9e49(0xcf)][_0x6a9e49(0x91)]&&!!_0x2547ee&&_0x2547ee[_0x6a9e49(0xee)]>0x1&&this[_0x6a9e49(0xa7)];}[_0x50b64d(0x138)](){const _0x13bfbd=_0x50b64d;return this[_0x13bfbd(0xc3)][_0x13bfbd(0xee)]>0x0||this[_0x13bfbd(0xf9)]();}}export{l as RealTimeCollaborationClient};class V extends Error{}function W(_0x37e302,_0x3a3200){const _0xbcccd3=_0x50b64d;for(const _0x5c244e of _0x37e302)_0x5c244e[_0xbcccd3(0xe1)]=_0x3a3200++;}class F{[_0x50b64d(0x16c)];[_0x50b64d(0x9f)];constructor(_0x52131d){const _0xd3cd27=_0x50b64d;this[_0xd3cd27(0x16c)]=_0x52131d,this[_0xd3cd27(0x9f)]=new WeakMap();}[_0x50b64d(0x108)](_0x17dcd5){const _0x40fd2e=_0x50b64d;let _0x6a943c=_0x17dcd5[_0x40fd2e(0xee)];for(;_0x6a943c--;){const _0x197db4=_0x17dcd5[_0x6a943c];if(!this[_0x40fd2e(0x16c)][_0x40fd2e(0x8b)](_0x197db4)){if(!this[_0x40fd2e(0x9f)][_0x40fd2e(0x8b)](_0x197db4)){const _0xbcc439=_0x596176()[_0x40fd2e(0xcc)](0x1,0x12);this[_0x40fd2e(0x9f)][_0x40fd2e(0x145)](_0x197db4,_0xbcc439);}return this[_0x40fd2e(0x9f)][_0x40fd2e(0x161)](_0x197db4);}}}[_0x50b64d(0x13c)](_0x22d570,_0xd76513){const _0x753336=_0x50b64d;if(!_0xd76513)return;let _0x2adab5=_0x22d570[_0x753336(0xee)];for(;_0x2adab5--;){const _0x19cf58=_0x22d570[_0x2adab5];this[_0x753336(0x16c)][_0x753336(0x8b)](_0x19cf58)||this[_0x753336(0x9f)][_0x753336(0x145)](_0x19cf58,_0xd76513);}}}