@ckeditor/ckeditor5-real-time-collaboration 46.0.1-alpha.2 → 46.0.1-alpha.3

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.2",
3
+ "version": "46.0.1-alpha.3",
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.2",
51
- "@ckeditor/ckeditor5-comments": "46.0.1-alpha.2",
52
- "@ckeditor/ckeditor5-core": "46.0.1-alpha.2",
53
- "@ckeditor/ckeditor5-editor-multi-root": "46.0.1-alpha.2",
54
- "@ckeditor/ckeditor5-engine": "46.0.1-alpha.2",
55
- "@ckeditor/ckeditor5-operations-compressor": "46.0.1-alpha.2",
56
- "@ckeditor/ckeditor5-revision-history": "46.0.1-alpha.2",
57
- "@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.2",
58
- "@ckeditor/ckeditor5-track-changes": "46.0.1-alpha.2",
59
- "@ckeditor/ckeditor5-ui": "46.0.1-alpha.2",
60
- "@ckeditor/ckeditor5-utils": "46.0.1-alpha.2",
61
- "ckeditor5": "46.0.1-alpha.2",
62
- "ckeditor5-collaboration": "46.0.1-alpha.2",
50
+ "@ckeditor/ckeditor5-cloud-services": "46.0.1-alpha.3",
51
+ "@ckeditor/ckeditor5-comments": "46.0.1-alpha.3",
52
+ "@ckeditor/ckeditor5-core": "46.0.1-alpha.3",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "46.0.1-alpha.3",
54
+ "@ckeditor/ckeditor5-engine": "46.0.1-alpha.3",
55
+ "@ckeditor/ckeditor5-operations-compressor": "46.0.1-alpha.3",
56
+ "@ckeditor/ckeditor5-revision-history": "46.0.1-alpha.3",
57
+ "@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.3",
58
+ "@ckeditor/ckeditor5-track-changes": "46.0.1-alpha.3",
59
+ "@ckeditor/ckeditor5-ui": "46.0.1-alpha.3",
60
+ "@ckeditor/ckeditor5-utils": "46.0.1-alpha.3",
61
+ "ckeditor5": "46.0.1-alpha.3",
62
+ "ckeditor5-collaboration": "46.0.1-alpha.3",
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 _0x1f8d5f=_0x333c;function _0x333c(_0x2a0357,_0x14c802){const _0x18bbd2=_0x18bb();return _0x333c=function(_0x333c2e,_0x2e6a94){_0x333c2e=_0x333c2e-0x176;let _0x510848=_0x18bbd2[_0x333c2e];return _0x510848;},_0x333c(_0x2a0357,_0x14c802);}(function(_0x3bd026,_0x53a32a){const _0x5a9b24=_0x333c,_0x11b196=_0x3bd026();while(!![]){try{const _0x4f62d8=parseInt(_0x5a9b24(0x1d0))/0x1+parseInt(_0x5a9b24(0x1a8))/0x2+parseInt(_0x5a9b24(0x19b))/0x3*(parseInt(_0x5a9b24(0x17a))/0x4)+parseInt(_0x5a9b24(0x1b5))/0x5*(-parseInt(_0x5a9b24(0x1c4))/0x6)+parseInt(_0x5a9b24(0x19a))/0x7+-parseInt(_0x5a9b24(0x1d3))/0x8+-parseInt(_0x5a9b24(0x1c9))/0x9;if(_0x4f62d8===_0x53a32a)break;else _0x11b196['push'](_0x11b196['shift']());}catch(_0x53252a){_0x11b196['push'](_0x11b196['shift']());}}}(_0x18bb,0xc38cd));import{ContextPlugin as _0xc9fa3}from'ckeditor5/src/core.js';import{CKEditorError as _0x19d808,Collection as _0x54794a}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x1f6b74,BalloonPanelView as _0x5a94c4,BodyCollection as _0x508a46}from'ckeditor5/src/ui.js';import{isElement as _0x151dc4}from'es-toolkit/compat';import{Sessions as _0x3b6ee8}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x51cf94}from'./view/presencelistview.js';import{PresenceCounterView as _0x4055ec}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x537525}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x558ef3}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x436ae7}from'./view/presenceinlinelistitemview.js';function _0x18bb(){const _0x323a06=['presenceList.displayMe','textarea','_allConnectedUsers','1264183oRCYee','pluginName','presenceList.collapseAt','8370640wVLPuW','isCollapsed','isExpanded','hideDropdown','isVisible','presenceList.container','presenceList','querySelectorAll','bind','input','requires','config','detachFromDom','destroy','Enter','tabIndex','Shift+Tab','1328PmJRDj','length','set','isMe','presenceDropdownView',':not([disabled]):not([tabindex=\x22-1\x22])','body','items','map','_createView','pin','init','isFocusable','presencelist-collapseat-invalid-format','presencelist:show','onClick','attachToDom','bindTo','allConnectedUsers','_handleUserAdd','offsetHeight','presencelist-missing-container','isOfficialPlugin','counterView','offsetWidth','number','currentDisplayedUsers','define','balloonPanelView','context','plugins','Esc','8186563KCVlFM','2679FNllwP','button','change:isFocused','reverse','remove','displayMe','ck\x20ck-presence-list__balloon','[tabindex]','appendChild','usersCount','keystrokes','locale','execute','179176VMDbvg','_handleUserRemove','sort','presencelist:hide','find','filter','inlineListView','min','render','indexOf','unpin','from','isRendered','813840kfxwlm','add','activeElement','[contenteditable]','class','listenTo','view','hasTooltip','PresenceListUI','get','isPremiumPlugin','focusTracker','content','_bodyCollection','checkIfScrollable','24OAytTx','using','showDropdown','join','focus','2892429UrDBUE','Tab','select','element'];_0x18bb=function(){return _0x323a06;};return _0x18bb();}const x={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0xc9fa3{[_0x1f8d5f(0x194)];[_0x1f8d5f(0x196)];[_0x1f8d5f(0x1bb)];[_0x1f8d5f(0x17e)];[_0x1f8d5f(0x1c2)]=null;static get[_0x1f8d5f(0x1d1)](){const _0x1e0222=_0x1f8d5f;return _0x1e0222(0x1bd);}static get[_0x1f8d5f(0x190)](){return!0x0;}static get[_0x1f8d5f(0x1bf)](){return!0x0;}constructor(_0x5e2d53){const _0x1d7f7e=_0x1f8d5f;super(_0x5e2d53),this[_0x1d7f7e(0x197)][_0x1d7f7e(0x1de)][_0x1d7f7e(0x195)](_0x1d7f7e(0x1d9),x);const _0x57b1ca=_0x5e2d53[_0x1d7f7e(0x1de)][_0x1d7f7e(0x1be)](_0x1d7f7e(0x1d2));if(_0x1d7f7e(0x193)!=typeof _0x57b1ca)throw new _0x19d808(_0x1d7f7e(0x187),this);if(_0x57b1ca<0x1)throw new _0x19d808(_0x1d7f7e(0x187),this);this[_0x1d7f7e(0x1cf)]=this[_0x1d7f7e(0x197)][_0x1d7f7e(0x198)][_0x1d7f7e(0x1be)](_0x3b6ee8)[_0x1d7f7e(0x18c)],this[_0x1d7f7e(0x17c)](_0x1d7f7e(0x1a4),0x0),this[_0x1d7f7e(0x194)]=new _0x54794a(),this[_0x1d7f7e(0x196)]=new _0x5a94c4(),this[_0x1d7f7e(0x196)][_0x1d7f7e(0x1b9)]=_0x1d7f7e(0x1a1),this[_0x1d7f7e(0x1bb)]=this[_0x1d7f7e(0x183)](),this[_0x1d7f7e(0x17e)]=void 0x0;}static get[_0x1f8d5f(0x1dd)](){return[_0x3b6ee8];}[_0x1f8d5f(0x185)](){const _0x4ee85a=_0x1f8d5f;for(const _0x5bcbe3 of this[_0x4ee85a(0x1cf)])this[_0x4ee85a(0x18d)](_0x5bcbe3);this[_0x4ee85a(0x1ba)](this[_0x4ee85a(0x1cf)],_0x4ee85a(0x1b6),(_0x222d6c,_0x3862a5)=>{const _0x2ff78e=_0x4ee85a;this[_0x2ff78e(0x18d)](_0x3862a5);}),this[_0x4ee85a(0x1ba)](this[_0x4ee85a(0x1cf)],_0x4ee85a(0x19f),(_0x4df4fd,_0x381f19)=>{const _0x5f3b6f=_0x4ee85a;this[_0x5f3b6f(0x1a9)](_0x381f19);});}[_0x1f8d5f(0x183)](){const _0x6aa9ff=_0x1f8d5f,_0x2a7198=this[_0x6aa9ff(0x197)],_0x1d9c81=new _0x51cf94(this[_0x6aa9ff(0x197)][_0x6aa9ff(0x1a6)],this[_0x6aa9ff(0x197)][_0x6aa9ff(0x1de)][_0x6aa9ff(0x1be)](_0x6aa9ff(0x1d2))),_0x2ac895=this[_0x6aa9ff(0x196)];if(!_0x151dc4(_0x2a7198[_0x6aa9ff(0x1de)][_0x6aa9ff(0x1be)](_0x6aa9ff(0x1d8))))throw new _0x19d808(_0x6aa9ff(0x18f),this);return _0x1d9c81[_0x6aa9ff(0x191)][_0x6aa9ff(0x1db)](_0x6aa9ff(0x1a4))['to'](this),_0x1d9c81[_0x6aa9ff(0x1db)](_0x6aa9ff(0x1d4))['to'](this,_0x6aa9ff(0x1a4),_0x3b4f27=>{const _0x11c661=_0x6aa9ff,{collapseAt:_0xeb76bb}=_0x2a7198[_0x11c661(0x1de)][_0x11c661(0x1be)](_0x11c661(0x1d9)),_0x1bd121=_0x3b4f27>=_0xeb76bb;if(_0x1bd121&&!_0x1d9c81[_0x11c661(0x1ae)][_0x11c661(0x181)][_0x11c661(0x1ac)](_0x17770b=>_0x17770b instanceof _0x4055ec)){const _0x1a02ce=this[_0x11c661(0x197)][_0x11c661(0x1de)][_0x11c661(0x1be)](_0x11c661(0x1d2))-0x1;this[_0x11c661(0x194)][_0x11c661(0x17b)]==_0x1a02ce&&this[_0x11c661(0x194)][_0x11c661(0x17b)]>0x1&&this[_0x11c661(0x194)][_0x11c661(0x19f)](this[_0x11c661(0x194)][_0x11c661(0x17b)]-0x1),_0x1d9c81[_0x11c661(0x1ae)][_0x11c661(0x181)][_0x11c661(0x1b6)](_0x1d9c81[_0x11c661(0x191)]);}return _0x1bd121||this[_0x11c661(0x1d6)](),_0x1bd121;}),_0x1d9c81[_0x6aa9ff(0x1ae)][_0x6aa9ff(0x181)][_0x6aa9ff(0x18b)](this[_0x6aa9ff(0x194)])[_0x6aa9ff(0x1c5)](_0x3cc509=>{const _0x165753=_0x6aa9ff,_0x4eac5b=_0x2a7198[_0x165753(0x1de)][_0x165753(0x1be)](_0x165753(0x1d9)),_0x484ea1=new _0x436ae7(_0x2a7198[_0x165753(0x1a6)],_0x3cc509,!!_0x4eac5b[_0x165753(0x189)]);return _0x484ea1[_0x165753(0x1db)](_0x165753(0x1bc))['to'](_0x1d9c81,_0x165753(0x1d4),_0x2da3c4=>!_0x2da3c4),_0x484ea1[_0x165753(0x1db)](_0x165753(0x186))['to'](_0x1d9c81,_0x165753(0x1d4),_0x4d38b2=>!_0x4d38b2),_0x4eac5b[_0x165753(0x189)]&&this[_0x165753(0x1ba)](_0x484ea1,_0x165753(0x1a7),()=>{const _0x3b4448=_0x165753;this[_0x3b4448(0x1bb)][_0x3b4448(0x1d4)]||_0x4eac5b[_0x3b4448(0x189)](_0x3cc509,_0x484ea1[_0x3b4448(0x1cc)]);}),_0x484ea1;}),this[_0x6aa9ff(0x1ba)](_0x1d9c81[_0x6aa9ff(0x1ae)],_0x6aa9ff(0x188),()=>{const _0x6beafd=_0x6aa9ff;this[_0x6beafd(0x1bb)][_0x6beafd(0x1d4)]&&this[_0x6beafd(0x1c6)]();}),this[_0x6aa9ff(0x1ba)](_0x1d9c81[_0x6aa9ff(0x1ae)],_0x6aa9ff(0x1ab),()=>{const _0x540155=_0x6aa9ff;this[_0x540155(0x17e)]&&this[_0x540155(0x1d6)]();}),_0x1d9c81[_0x6aa9ff(0x1ae)][_0x6aa9ff(0x1a5)][_0x6aa9ff(0x17c)](_0x6aa9ff(0x177),(_0x295a03,_0x26e46a)=>{const _0x44a0b8=_0x6aa9ff;this[_0x44a0b8(0x1bb)][_0x44a0b8(0x1d4)]&&(this[_0x44a0b8(0x1c6)](),_0x26e46a());}),_0x1d9c81[_0x6aa9ff(0x1b0)](),_0x2ac895[_0x6aa9ff(0x1b0)](),_0x1f6b74({'emitter':_0x1d9c81,'activator':()=>_0x2ac895[_0x6aa9ff(0x1d7)],'contextElements':[_0x2ac895[_0x6aa9ff(0x1cc)],_0x1d9c81[_0x6aa9ff(0x1ae)][_0x6aa9ff(0x1cc)]],'callback':()=>this[_0x6aa9ff(0x1d6)]()}),_0x2a7198[_0x6aa9ff(0x1de)][_0x6aa9ff(0x1be)](_0x6aa9ff(0x1d8))[_0x6aa9ff(0x1a3)](_0x1d9c81[_0x6aa9ff(0x1cc)]),this[_0x6aa9ff(0x1c2)]=new _0x508a46(this[_0x6aa9ff(0x197)][_0x6aa9ff(0x1a6)]),this[_0x6aa9ff(0x1c2)][_0x6aa9ff(0x18a)](),this[_0x6aa9ff(0x1c2)][_0x6aa9ff(0x1b6)](this[_0x6aa9ff(0x196)]),_0x1d9c81;}[_0x1f8d5f(0x18d)](_0x577c9c){const _0x563544=_0x1f8d5f;if(!this[_0x563544(0x197)][_0x563544(0x1de)][_0x563544(0x1be)](_0x563544(0x1cd))&&_0x577c9c[_0x563544(0x17d)])return;const _0x150e3b=this[_0x563544(0x197)][_0x563544(0x1de)][_0x563544(0x1be)](_0x563544(0x1d2))-0x1;for(this[_0x563544(0x1a4)]++;this[_0x563544(0x194)][_0x563544(0x17b)]>=_0x150e3b-(this[_0x563544(0x1bb)][_0x563544(0x1d4)]?0x1:0x0)&&this[_0x563544(0x194)][_0x563544(0x17b)]>0x1;)this[_0x563544(0x194)][_0x563544(0x19f)](0x1);const _0xf9643b=_0x577c9c[_0x563544(0x17d)]?0x0:this[_0x563544(0x194)][_0x563544(0x17b)];this[_0x563544(0x194)][_0x563544(0x1b6)](_0x577c9c,_0xf9643b);}[_0x1f8d5f(0x1a9)](_0x45709a){const _0x2c4da1=_0x1f8d5f;this[_0x2c4da1(0x1a4)]--;const {collapseAt:_0x5cb1b3}=this[_0x2c4da1(0x197)][_0x2c4da1(0x1de)][_0x2c4da1(0x1be)](_0x2c4da1(0x1d9)),_0xfb07cb=this[_0x2c4da1(0x1a4)]>=_0x5cb1b3;if(this[_0x2c4da1(0x194)][_0x2c4da1(0x1be)](_0x45709a['id']))this[_0x2c4da1(0x194)][_0x2c4da1(0x19f)](_0x45709a['id']);else{if(_0xfb07cb&&this[_0x2c4da1(0x194)][_0x2c4da1(0x17b)]+0x1===_0x5cb1b3-0x1)return;}if(this[_0x2c4da1(0x194)][_0x2c4da1(0x17b)]+(_0xfb07cb?0x1:0x0)<this[_0x2c4da1(0x1a4)]){for(const _0x24cca7 of Array[_0x2c4da1(0x1b3)](this[_0x2c4da1(0x1cf)])[_0x2c4da1(0x19e)]())if(!this[_0x2c4da1(0x194)][_0x2c4da1(0x1be)](_0x24cca7['id'])&&(this[_0x2c4da1(0x194)][_0x2c4da1(0x1b6)](_0x24cca7,Math[_0x2c4da1(0x1af)](this[_0x2c4da1(0x194)][_0x2c4da1(0x17b)]-(_0xfb07cb?0x1:0x0),0x1)),this[_0x2c4da1(0x194)][_0x2c4da1(0x17b)]+(_0xfb07cb?0x1:0x0)===_0x5cb1b3-0x1))return;}}[_0x1f8d5f(0x1c6)](){const _0x18dbda=_0x1f8d5f;if(this[_0x18dbda(0x17e)])return;const _0x39a352=this[_0x18dbda(0x197)][_0x18dbda(0x1de)][_0x18dbda(0x1be)](_0x18dbda(0x1d9));this[_0x18dbda(0x17e)]=new _0x537525(this[_0x18dbda(0x197)][_0x18dbda(0x1a6)],!!_0x39a352[_0x18dbda(0x189)]),this[_0x18dbda(0x1bb)][_0x18dbda(0x1ae)][_0x18dbda(0x1d5)]=!0x0,this[_0x18dbda(0x1ba)](this[_0x18dbda(0x17e)],_0x18dbda(0x1ab),()=>{const _0x433019=_0x18dbda;this[_0x433019(0x17e)]&&this[_0x433019(0x1d6)]();});const {listWrapperView:_0x47cb26}=this[_0x18dbda(0x17e)];_0x47cb26[_0x18dbda(0x181)][_0x18dbda(0x18b)](this[_0x18dbda(0x1cf)])[_0x18dbda(0x1c5)](_0x532ac0=>{const _0x231941=_0x18dbda;if(!_0x39a352[_0x231941(0x1a0)]&&_0x532ac0[_0x231941(0x17d)])return null;const _0x4219dd=new _0x558ef3(this[_0x231941(0x197)][_0x231941(0x1a6)],_0x532ac0,!!_0x39a352[_0x231941(0x189)]);return _0x39a352[_0x231941(0x189)]&&this[_0x231941(0x1ba)](_0x4219dd,_0x231941(0x1a7),()=>{const _0x53dbe0=_0x231941;_0x39a352[_0x53dbe0(0x189)](_0x532ac0,_0x4219dd[_0x53dbe0(0x1cc)]);}),_0x4219dd;}),this[_0x18dbda(0x196)][_0x18dbda(0x1c1)][_0x18dbda(0x1b6)](this[_0x18dbda(0x17e)]),this[_0x18dbda(0x196)][_0x18dbda(0x184)]({'target':this[_0x18dbda(0x1bb)][_0x18dbda(0x1ae)][_0x18dbda(0x1cc)]}),_0x47cb26[_0x18dbda(0x1c8)](),_0x47cb26[_0x18dbda(0x1c3)]();const _0x46c24d=(_0x2cf93d,_0x44e24b)=>{const _0x3035d6=_0x18dbda;this[_0x3035d6(0x1d6)](),this[_0x3035d6(0x1bb)][_0x3035d6(0x1ae)][_0x3035d6(0x1c8)](),_0x44e24b();};_0x47cb26[_0x18dbda(0x1a5)][_0x18dbda(0x17c)](_0x18dbda(0x199),_0x46c24d),_0x47cb26[_0x18dbda(0x1a5)][_0x18dbda(0x17c)](_0x18dbda(0x179),_0x46c24d),_0x47cb26[_0x18dbda(0x1a5)][_0x18dbda(0x17c)](_0x18dbda(0x1ca),(_0x208920,_0xd88f60)=>{const _0x57564=_0x18dbda;!function(_0x2e0482){const _0x54851f=_0x333c,_0x5c02b7=['a',_0x54851f(0x19c),_0x54851f(0x1dc),_0x54851f(0x1cb),_0x54851f(0x1ce),_0x54851f(0x1a2),_0x54851f(0x1b8)][_0x54851f(0x182)](_0x2a737e=>_0x2a737e+_0x54851f(0x17f))[_0x54851f(0x1c7)](','),_0x2bfd14=[...document[_0x54851f(0x180)][_0x54851f(0x1da)](_0x5c02b7)][_0x54851f(0x1ad)](_0x9f2f4f=>_0x9f2f4f===document[_0x54851f(0x1b7)]||_0x9f2f4f[_0x54851f(0x192)]+_0x9f2f4f[_0x54851f(0x18e)]>0x0)[_0x54851f(0x1aa)]((_0x1c8bd7,_0x1622b1)=>(_0x1c8bd7[_0x54851f(0x178)]||0x0)-(_0x1622b1[_0x54851f(0x178)]||0x0)),_0xd9d2e0=_0x2bfd14[_0x54851f(0x1b1)](_0x2e0482),_0x2be1ec=_0x2bfd14[(_0xd9d2e0+0x1)%_0x2bfd14[_0x54851f(0x17b)]];_0x2be1ec&&_0x2be1ec[_0x54851f(0x1c8)]();}(this[_0x57564(0x1bb)][_0x57564(0x1cc)]),this[_0x57564(0x1d6)](),_0xd88f60();}),_0x47cb26[_0x18dbda(0x1c0)][_0x18dbda(0x1b6)](this[_0x18dbda(0x1bb)][_0x18dbda(0x1cc)]),_0x47cb26[_0x18dbda(0x1c0)]['on'](_0x18dbda(0x19d),(_0xe44cbc,_0x653e1c,_0x2768e3)=>{const _0x3b762e=_0x18dbda;_0x2768e3||this[_0x3b762e(0x1d6)]();});}[_0x1f8d5f(0x1d6)](){const _0xf7b39f=_0x1f8d5f;this[_0xf7b39f(0x17e)]&&(this[_0xf7b39f(0x1bb)][_0xf7b39f(0x1ae)][_0xf7b39f(0x1d5)]=!0x1,this[_0xf7b39f(0x196)][_0xf7b39f(0x1b2)](),this[_0xf7b39f(0x196)][_0xf7b39f(0x1c1)][_0xf7b39f(0x19f)](this[_0xf7b39f(0x17e)]),this[_0xf7b39f(0x17e)][_0xf7b39f(0x176)](),this[_0xf7b39f(0x17e)]=void 0x0);}[_0x1f8d5f(0x176)](){const _0x4d668b=_0x1f8d5f;super[_0x4d668b(0x176)](),this[_0x4d668b(0x1bb)]&&this[_0x4d668b(0x1bb)][_0x4d668b(0x1b4)]&&this[_0x4d668b(0x1bb)][_0x4d668b(0x176)](),this[_0x4d668b(0x1c2)]&&(this[_0x4d668b(0x1c2)][_0x4d668b(0x1df)](),this[_0x4d668b(0x1c2)][_0x4d668b(0x176)](),this[_0x4d668b(0x1c2)]=null);}}
23
+ const _0xbfc03b=_0x1b40;(function(_0x505331,_0x5cbed5){const _0x44e439=_0x1b40,_0xf1de09=_0x505331();while(!![]){try{const _0x1e1e0c=-parseInt(_0x44e439(0x1be))/0x1*(-parseInt(_0x44e439(0x19f))/0x2)+-parseInt(_0x44e439(0x1d5))/0x3+-parseInt(_0x44e439(0x1c9))/0x4+-parseInt(_0x44e439(0x193))/0x5+-parseInt(_0x44e439(0x1c1))/0x6+-parseInt(_0x44e439(0x1ac))/0x7+-parseInt(_0x44e439(0x1da))/0x8*(-parseInt(_0x44e439(0x19e))/0x9);if(_0x1e1e0c===_0x5cbed5)break;else _0xf1de09['push'](_0xf1de09['shift']());}catch(_0x14bafb){_0xf1de09['push'](_0xf1de09['shift']());}}}(_0x4330,0xf1996));import{ContextPlugin as _0x3a5034}from'ckeditor5/src/core.js';import{CKEditorError as _0x320c26,Collection as _0x3ca8e6}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x290636,BalloonPanelView as _0x613399,BodyCollection as _0x581ebc}from'ckeditor5/src/ui.js';import{isElement as _0x31f86c}from'es-toolkit/compat';import{Sessions as _0x4b2ec4}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0xbca69c}from'./view/presencelistview.js';import{PresenceCounterView as _0x485d13}from'./view/presencecounterview.js';function _0x4330(){const _0x2764cf=['execute','isRendered','showDropdown','Tab','plugins','10937955wnILvS','remove','Enter','items','reverse','init','render','_handleUserRemove','ck\x20ck-presence-list__balloon','textarea','requires','inlineListView','bind','attachToDom','from','counterView','_bodyCollection','get','739448lIjveW','usersCount','bindTo','2071194jXueFQ','set','select','class','focus','presenceDropdownView','currentDisplayedUsers','_createView','5920536XzVnkQ','focusTracker','presencelist-missing-container','isExpanded','hideDropdown','allConnectedUsers','presenceList.container','[tabindex]','sort','offsetWidth','body','Esc','2167647oArmNS','pin','[contenteditable]','button',':not([disabled]):not([tabindex=\x22-1\x22])','36241192ECRqfq','isMe','displayMe','offsetHeight','map','element','detachFromDom','config','balloonPanelView','view','querySelectorAll','tabIndex','unpin','isCollapsed','join','hasTooltip','appendChild','change:isFocused','Shift+Tab','checkIfScrollable','isOfficialPlugin','using','define','add','keystrokes','length','activeElement','context','_handleUserAdd','indexOf','pluginName','find','presencelist-collapseat-invalid-format','destroy','presencelist:hide','847800DjhUFx','min','presencelist:show','isVisible','filter','locale','number','presenceList.displayMe','listenTo','PresenceListUI','isFocusable','9JWvIXm','2fSEfIU','input','presenceList','isPremiumPlugin','content','_allConnectedUsers','presenceList.collapseAt','onClick'];_0x4330=function(){return _0x2764cf;};return _0x4330();}import{PresenceDropdownListView as _0x2a8bab}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x29294c}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x338071}from'./view/presenceinlinelistitemview.js';function _0x1b40(_0x2e49a2,_0x19156c){const _0x4330ea=_0x4330();return _0x1b40=function(_0x1b406f,_0x30617d){_0x1b406f=_0x1b406f-0x188;let _0x54d354=_0x4330ea[_0x1b406f];return _0x54d354;},_0x1b40(_0x2e49a2,_0x19156c);}const U={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x3a5034{[_0xbfc03b(0x1c7)];[_0xbfc03b(0x1e2)];[_0xbfc03b(0x1e3)];[_0xbfc03b(0x1c6)];[_0xbfc03b(0x1bc)]=null;static get[_0xbfc03b(0x18e)](){const _0x3f0812=_0xbfc03b;return _0x3f0812(0x19c);}static get[_0xbfc03b(0x1ee)](){return!0x0;}static get[_0xbfc03b(0x1a2)](){return!0x0;}constructor(_0x37f1af){const _0x2c1c32=_0xbfc03b;super(_0x37f1af),this[_0x2c1c32(0x18b)][_0x2c1c32(0x1e1)][_0x2c1c32(0x1f0)](_0x2c1c32(0x1a1),U);const _0x651550=_0x37f1af[_0x2c1c32(0x1e1)][_0x2c1c32(0x1bd)](_0x2c1c32(0x1a5));if(_0x2c1c32(0x199)!=typeof _0x651550)throw new _0x320c26(_0x2c1c32(0x190),this);if(_0x651550<0x1)throw new _0x320c26(_0x2c1c32(0x190),this);this[_0x2c1c32(0x1a4)]=this[_0x2c1c32(0x18b)][_0x2c1c32(0x1ab)][_0x2c1c32(0x1bd)](_0x4b2ec4)[_0x2c1c32(0x1ce)],this[_0x2c1c32(0x1c2)](_0x2c1c32(0x1bf),0x0),this[_0x2c1c32(0x1c7)]=new _0x3ca8e6(),this[_0x2c1c32(0x1e2)]=new _0x613399(),this[_0x2c1c32(0x1e2)][_0x2c1c32(0x1c4)]=_0x2c1c32(0x1b4),this[_0x2c1c32(0x1e3)]=this[_0x2c1c32(0x1c8)](),this[_0x2c1c32(0x1c6)]=void 0x0;}static get[_0xbfc03b(0x1b6)](){return[_0x4b2ec4];}[_0xbfc03b(0x1b1)](){const _0xa3642d=_0xbfc03b;for(const _0x1cf28c of this[_0xa3642d(0x1a4)])this[_0xa3642d(0x18c)](_0x1cf28c);this[_0xa3642d(0x19b)](this[_0xa3642d(0x1a4)],_0xa3642d(0x1f1),(_0x36025b,_0x2840a2)=>{const _0x2b4328=_0xa3642d;this[_0x2b4328(0x18c)](_0x2840a2);}),this[_0xa3642d(0x19b)](this[_0xa3642d(0x1a4)],_0xa3642d(0x1ad),(_0x5062da,_0xea7ed0)=>{const _0x3d2ed7=_0xa3642d;this[_0x3d2ed7(0x1b3)](_0xea7ed0);});}[_0xbfc03b(0x1c8)](){const _0x63cca=_0xbfc03b,_0x2ea8bb=this[_0x63cca(0x18b)],_0x10ad74=new _0xbca69c(this[_0x63cca(0x18b)][_0x63cca(0x198)],this[_0x63cca(0x18b)][_0x63cca(0x1e1)][_0x63cca(0x1bd)](_0x63cca(0x1a5))),_0x4403f7=this[_0x63cca(0x1e2)];if(!_0x31f86c(_0x2ea8bb[_0x63cca(0x1e1)][_0x63cca(0x1bd)](_0x63cca(0x1cf))))throw new _0x320c26(_0x63cca(0x1cb),this);return _0x10ad74[_0x63cca(0x1bb)][_0x63cca(0x1b8)](_0x63cca(0x1bf))['to'](this),_0x10ad74[_0x63cca(0x1b8)](_0x63cca(0x1e7))['to'](this,_0x63cca(0x1bf),_0x2e46dd=>{const _0x218238=_0x63cca,{collapseAt:_0x3e83eb}=_0x2ea8bb[_0x218238(0x1e1)][_0x218238(0x1bd)](_0x218238(0x1a1)),_0x5339c5=_0x2e46dd>=_0x3e83eb;if(_0x5339c5&&!_0x10ad74[_0x218238(0x1b7)][_0x218238(0x1af)][_0x218238(0x18f)](_0x9e09a9=>_0x9e09a9 instanceof _0x485d13)){const _0x2a37ef=this[_0x218238(0x18b)][_0x218238(0x1e1)][_0x218238(0x1bd)](_0x218238(0x1a5))-0x1;this[_0x218238(0x1c7)][_0x218238(0x189)]==_0x2a37ef&&this[_0x218238(0x1c7)][_0x218238(0x189)]>0x1&&this[_0x218238(0x1c7)][_0x218238(0x1ad)](this[_0x218238(0x1c7)][_0x218238(0x189)]-0x1),_0x10ad74[_0x218238(0x1b7)][_0x218238(0x1af)][_0x218238(0x1f1)](_0x10ad74[_0x218238(0x1bb)]);}return _0x5339c5||this[_0x218238(0x1cd)](),_0x5339c5;}),_0x10ad74[_0x63cca(0x1b7)][_0x63cca(0x1af)][_0x63cca(0x1c0)](this[_0x63cca(0x1c7)])[_0x63cca(0x1ef)](_0x109cf4=>{const _0x449a20=_0x63cca,_0xb1fa6a=_0x2ea8bb[_0x449a20(0x1e1)][_0x449a20(0x1bd)](_0x449a20(0x1a1)),_0xdb835f=new _0x338071(_0x2ea8bb[_0x449a20(0x198)],_0x109cf4,!!_0xb1fa6a[_0x449a20(0x1a6)]);return _0xdb835f[_0x449a20(0x1b8)](_0x449a20(0x1e9))['to'](_0x10ad74,_0x449a20(0x1e7),_0x383c86=>!_0x383c86),_0xdb835f[_0x449a20(0x1b8)](_0x449a20(0x19d))['to'](_0x10ad74,_0x449a20(0x1e7),_0x587295=>!_0x587295),_0xb1fa6a[_0x449a20(0x1a6)]&&this[_0x449a20(0x19b)](_0xdb835f,_0x449a20(0x1a7),()=>{const _0x51b2df=_0x449a20;this[_0x51b2df(0x1e3)][_0x51b2df(0x1e7)]||_0xb1fa6a[_0x51b2df(0x1a6)](_0x109cf4,_0xdb835f[_0x51b2df(0x1df)]);}),_0xdb835f;}),this[_0x63cca(0x19b)](_0x10ad74[_0x63cca(0x1b7)],_0x63cca(0x195),()=>{const _0x12b213=_0x63cca;this[_0x12b213(0x1e3)][_0x12b213(0x1e7)]&&this[_0x12b213(0x1a9)]();}),this[_0x63cca(0x19b)](_0x10ad74[_0x63cca(0x1b7)],_0x63cca(0x192),()=>{const _0x3c133b=_0x63cca;this[_0x3c133b(0x1c6)]&&this[_0x3c133b(0x1cd)]();}),_0x10ad74[_0x63cca(0x1b7)][_0x63cca(0x188)][_0x63cca(0x1c2)](_0x63cca(0x1ae),(_0x43ee7d,_0x5dccf3)=>{const _0x66897b=_0x63cca;this[_0x66897b(0x1e3)][_0x66897b(0x1e7)]&&(this[_0x66897b(0x1a9)](),_0x5dccf3());}),_0x10ad74[_0x63cca(0x1b2)](),_0x4403f7[_0x63cca(0x1b2)](),_0x290636({'emitter':_0x10ad74,'activator':()=>_0x4403f7[_0x63cca(0x196)],'contextElements':[_0x4403f7[_0x63cca(0x1df)],_0x10ad74[_0x63cca(0x1b7)][_0x63cca(0x1df)]],'callback':()=>this[_0x63cca(0x1cd)]()}),_0x2ea8bb[_0x63cca(0x1e1)][_0x63cca(0x1bd)](_0x63cca(0x1cf))[_0x63cca(0x1ea)](_0x10ad74[_0x63cca(0x1df)]),this[_0x63cca(0x1bc)]=new _0x581ebc(this[_0x63cca(0x18b)][_0x63cca(0x198)]),this[_0x63cca(0x1bc)][_0x63cca(0x1b9)](),this[_0x63cca(0x1bc)][_0x63cca(0x1f1)](this[_0x63cca(0x1e2)]),_0x10ad74;}[_0xbfc03b(0x18c)](_0x5505b7){const _0x1ac7fa=_0xbfc03b;if(!this[_0x1ac7fa(0x18b)][_0x1ac7fa(0x1e1)][_0x1ac7fa(0x1bd)](_0x1ac7fa(0x19a))&&_0x5505b7[_0x1ac7fa(0x1db)])return;const _0x205dde=this[_0x1ac7fa(0x18b)][_0x1ac7fa(0x1e1)][_0x1ac7fa(0x1bd)](_0x1ac7fa(0x1a5))-0x1;for(this[_0x1ac7fa(0x1bf)]++;this[_0x1ac7fa(0x1c7)][_0x1ac7fa(0x189)]>=_0x205dde-(this[_0x1ac7fa(0x1e3)][_0x1ac7fa(0x1e7)]?0x1:0x0)&&this[_0x1ac7fa(0x1c7)][_0x1ac7fa(0x189)]>0x1;)this[_0x1ac7fa(0x1c7)][_0x1ac7fa(0x1ad)](0x1);const _0x44b330=_0x5505b7[_0x1ac7fa(0x1db)]?0x0:this[_0x1ac7fa(0x1c7)][_0x1ac7fa(0x189)];this[_0x1ac7fa(0x1c7)][_0x1ac7fa(0x1f1)](_0x5505b7,_0x44b330);}[_0xbfc03b(0x1b3)](_0x566f0c){const _0x1a836b=_0xbfc03b;this[_0x1a836b(0x1bf)]--;const {collapseAt:_0x881226}=this[_0x1a836b(0x18b)][_0x1a836b(0x1e1)][_0x1a836b(0x1bd)](_0x1a836b(0x1a1)),_0x3ac6ee=this[_0x1a836b(0x1bf)]>=_0x881226;if(this[_0x1a836b(0x1c7)][_0x1a836b(0x1bd)](_0x566f0c['id']))this[_0x1a836b(0x1c7)][_0x1a836b(0x1ad)](_0x566f0c['id']);else{if(_0x3ac6ee&&this[_0x1a836b(0x1c7)][_0x1a836b(0x189)]+0x1===_0x881226-0x1)return;}if(this[_0x1a836b(0x1c7)][_0x1a836b(0x189)]+(_0x3ac6ee?0x1:0x0)<this[_0x1a836b(0x1bf)]){for(const _0x2951f1 of Array[_0x1a836b(0x1ba)](this[_0x1a836b(0x1a4)])[_0x1a836b(0x1b0)]())if(!this[_0x1a836b(0x1c7)][_0x1a836b(0x1bd)](_0x2951f1['id'])&&(this[_0x1a836b(0x1c7)][_0x1a836b(0x1f1)](_0x2951f1,Math[_0x1a836b(0x194)](this[_0x1a836b(0x1c7)][_0x1a836b(0x189)]-(_0x3ac6ee?0x1:0x0),0x1)),this[_0x1a836b(0x1c7)][_0x1a836b(0x189)]+(_0x3ac6ee?0x1:0x0)===_0x881226-0x1))return;}}[_0xbfc03b(0x1a9)](){const _0x5b786c=_0xbfc03b;if(this[_0x5b786c(0x1c6)])return;const _0x287cd6=this[_0x5b786c(0x18b)][_0x5b786c(0x1e1)][_0x5b786c(0x1bd)](_0x5b786c(0x1a1));this[_0x5b786c(0x1c6)]=new _0x2a8bab(this[_0x5b786c(0x18b)][_0x5b786c(0x198)],!!_0x287cd6[_0x5b786c(0x1a6)]),this[_0x5b786c(0x1e3)][_0x5b786c(0x1b7)][_0x5b786c(0x1cc)]=!0x0,this[_0x5b786c(0x19b)](this[_0x5b786c(0x1c6)],_0x5b786c(0x192),()=>{const _0x198de7=_0x5b786c;this[_0x198de7(0x1c6)]&&this[_0x198de7(0x1cd)]();});const {listWrapperView:_0x4106f7}=this[_0x5b786c(0x1c6)];_0x4106f7[_0x5b786c(0x1af)][_0x5b786c(0x1c0)](this[_0x5b786c(0x1a4)])[_0x5b786c(0x1ef)](_0x24236c=>{const _0xb10b74=_0x5b786c;if(!_0x287cd6[_0xb10b74(0x1dc)]&&_0x24236c[_0xb10b74(0x1db)])return null;const _0xa9a6e8=new _0x29294c(this[_0xb10b74(0x18b)][_0xb10b74(0x198)],_0x24236c,!!_0x287cd6[_0xb10b74(0x1a6)]);return _0x287cd6[_0xb10b74(0x1a6)]&&this[_0xb10b74(0x19b)](_0xa9a6e8,_0xb10b74(0x1a7),()=>{const _0x373dda=_0xb10b74;_0x287cd6[_0x373dda(0x1a6)](_0x24236c,_0xa9a6e8[_0x373dda(0x1df)]);}),_0xa9a6e8;}),this[_0x5b786c(0x1e2)][_0x5b786c(0x1a3)][_0x5b786c(0x1f1)](this[_0x5b786c(0x1c6)]),this[_0x5b786c(0x1e2)][_0x5b786c(0x1d6)]({'target':this[_0x5b786c(0x1e3)][_0x5b786c(0x1b7)][_0x5b786c(0x1df)]}),_0x4106f7[_0x5b786c(0x1c5)](),_0x4106f7[_0x5b786c(0x1ed)]();const _0x5bc69e=(_0x407796,_0x3f9110)=>{const _0x92a50a=_0x5b786c;this[_0x92a50a(0x1cd)](),this[_0x92a50a(0x1e3)][_0x92a50a(0x1b7)][_0x92a50a(0x1c5)](),_0x3f9110();};_0x4106f7[_0x5b786c(0x188)][_0x5b786c(0x1c2)](_0x5b786c(0x1d4),_0x5bc69e),_0x4106f7[_0x5b786c(0x188)][_0x5b786c(0x1c2)](_0x5b786c(0x1ec),_0x5bc69e),_0x4106f7[_0x5b786c(0x188)][_0x5b786c(0x1c2)](_0x5b786c(0x1aa),(_0x5e9701,_0x184422)=>{const _0x250f78=_0x5b786c;!function(_0x684ee1){const _0x286068=_0x1b40,_0x2f8c99=['a',_0x286068(0x1d8),_0x286068(0x1a0),_0x286068(0x1c3),_0x286068(0x1b5),_0x286068(0x1d0),_0x286068(0x1d7)][_0x286068(0x1de)](_0x1db938=>_0x1db938+_0x286068(0x1d9))[_0x286068(0x1e8)](','),_0x3402ce=[...document[_0x286068(0x1d3)][_0x286068(0x1e4)](_0x2f8c99)][_0x286068(0x197)](_0x455956=>_0x455956===document[_0x286068(0x18a)]||_0x455956[_0x286068(0x1d2)]+_0x455956[_0x286068(0x1dd)]>0x0)[_0x286068(0x1d1)]((_0x56d44a,_0x402a39)=>(_0x56d44a[_0x286068(0x1e5)]||0x0)-(_0x402a39[_0x286068(0x1e5)]||0x0)),_0x382975=_0x3402ce[_0x286068(0x18d)](_0x684ee1),_0x284337=_0x3402ce[(_0x382975+0x1)%_0x3402ce[_0x286068(0x189)]];_0x284337&&_0x284337[_0x286068(0x1c5)]();}(this[_0x250f78(0x1e3)][_0x250f78(0x1df)]),this[_0x250f78(0x1cd)](),_0x184422();}),_0x4106f7[_0x5b786c(0x1ca)][_0x5b786c(0x1f1)](this[_0x5b786c(0x1e3)][_0x5b786c(0x1df)]),_0x4106f7[_0x5b786c(0x1ca)]['on'](_0x5b786c(0x1eb),(_0x24d380,_0x271b74,_0x542125)=>{const _0x4b1098=_0x5b786c;_0x542125||this[_0x4b1098(0x1cd)]();});}[_0xbfc03b(0x1cd)](){const _0x547268=_0xbfc03b;this[_0x547268(0x1c6)]&&(this[_0x547268(0x1e3)][_0x547268(0x1b7)][_0x547268(0x1cc)]=!0x1,this[_0x547268(0x1e2)][_0x547268(0x1e6)](),this[_0x547268(0x1e2)][_0x547268(0x1a3)][_0x547268(0x1ad)](this[_0x547268(0x1c6)]),this[_0x547268(0x1c6)][_0x547268(0x191)](),this[_0x547268(0x1c6)]=void 0x0);}[_0xbfc03b(0x191)](){const _0x15ba69=_0xbfc03b;super[_0x15ba69(0x191)](),this[_0x15ba69(0x1e3)]&&this[_0x15ba69(0x1e3)][_0x15ba69(0x1a8)]&&this[_0x15ba69(0x1e3)][_0x15ba69(0x191)](),this[_0x15ba69(0x1bc)]&&(this[_0x15ba69(0x1bc)][_0x15ba69(0x1e0)](),this[_0x15ba69(0x1bc)][_0x15ba69(0x191)](),this[_0x15ba69(0x1bc)]=null);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e5e63=_0xd341;(function(_0xcea1c7,_0x489db8){const _0x2f519f=_0xd341,_0x2617a8=_0xcea1c7();while(!![]){try{const _0x5d9d02=parseInt(_0x2f519f(0x1d5))/0x1*(-parseInt(_0x2f519f(0x1e9))/0x2)+parseInt(_0x2f519f(0x1ef))/0x3+-parseInt(_0x2f519f(0x1d7))/0x4*(-parseInt(_0x2f519f(0x1d4))/0x5)+parseInt(_0x2f519f(0x1da))/0x6*(-parseInt(_0x2f519f(0x1e6))/0x7)+parseInt(_0x2f519f(0x1d8))/0x8+parseInt(_0x2f519f(0x1ec))/0x9*(parseInt(_0x2f519f(0x1d9))/0xa)+-parseInt(_0x2f519f(0x1df))/0xb;if(_0x5d9d02===_0x489db8)break;else _0x2617a8['push'](_0x2617a8['shift']());}catch(_0x354195){_0x2617a8['push'](_0x2617a8['shift']());}}}(_0x1689,0xe1848));function _0x1689(){const _0x538e3f=['tag','execute','26556310yNRcJJ','fire','ck-presence-list__dropdown-list-item','userView','focus','color','presentation','496321EzuHmR','true','bindTemplate','2505628aLTGcm','getBackgroundColorClass','button','18IhbFVQ','element','name','1617765kbvHHi','setTemplate','15CdksbJ','1mHsmsd','ck-user__full-name','2146120fYXLlF','9040896MDhVEC','9040540DoXlAb','42dmcnds','span','ck-presence-list__marker'];_0x1689=function(){return _0x538e3f;};return _0x1689();}import{ListItemView as _0x364187}from'ckeditor5/src/ui.js';function _0xd341(_0x1e1f0e,_0x40e32c){const _0x168986=_0x1689();return _0xd341=function(_0xd34123,_0x3081fa){_0xd34123=_0xd34123-0x1d3;let _0x5f0403=_0x168986[_0xd34123];return _0x5f0403;},_0xd341(_0x1e1f0e,_0x40e32c);}import{UserView as _0x3c2259}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x364187{[_0x4e5e63(0x1e2)];constructor(_0x3b102f,_0x344197,_0x36b473){const _0x14df5e=_0x4e5e63;super(_0x3b102f);const _0x2cb023=this[_0x14df5e(0x1e8)];this[_0x14df5e(0x1e2)]=new _0x3c2259(_0x3b102f,_0x344197);const _0x57ce4f={'tag':'li','attributes':{'class':['ck',_0x14df5e(0x1e1)],'tabindex':-0x1,'role':_0x14df5e(0x1e5),'aria-label':_0x344197[_0x14df5e(0x1ee)]},'children':[this[_0x14df5e(0x1e2)],{'tag':_0x14df5e(0x1db),'attributes':{'class':['ck',_0x14df5e(0x1d6)]},'children':[{'text':_0x344197[_0x14df5e(0x1ee)]}]},{'tag':_0x14df5e(0x1db),'attributes':{'class':['ck',_0x14df5e(0x1dc),_0x344197[_0x14df5e(0x1e4)][_0x14df5e(0x1ea)]()],'aria-hidden':_0x14df5e(0x1e7)}}]};_0x36b473&&(_0x57ce4f[_0x14df5e(0x1dd)]=_0x14df5e(0x1eb),_0x57ce4f['on']={'click':_0x2cb023['to'](()=>this[_0x14df5e(0x1e0)](_0x14df5e(0x1de)))}),this[_0x14df5e(0x1d3)](_0x57ce4f);}[_0x4e5e63(0x1e3)](){const _0x26622e=_0x4e5e63;this[_0x26622e(0x1ed)][_0x26622e(0x1e3)]();}}
23
+ const _0x2cac17=_0x3cee;function _0x1a5d(){const _0x347c6d=['button','718505qkXyXt','userView','color','setTemplate','28RXxoYy','presentation','6492QTVjfA','ck-presence-list__dropdown-list-item','321810ooPxmK','7993773MLcHoN','element','bindTemplate','fire','449700ZvXKQO','tag','true','316452rzrbgI','ck-user__full-name','execute','2148680ESTLgA','ck-presence-list__marker','focus','90607OeKAEu','48FgYQKd','175osbQsJ','20QlSksM','getBackgroundColorClass','name','span'];_0x1a5d=function(){return _0x347c6d;};return _0x1a5d();}(function(_0x3d4f4e,_0x3481df){const _0x4f16fb=_0x3cee,_0x11d885=_0x3d4f4e();while(!![]){try{const _0x26227c=-parseInt(_0x4f16fb(0x189))/0x1+parseInt(_0x4f16fb(0x191))/0x2+-parseInt(_0x4f16fb(0x1a0))/0x3*(parseInt(_0x4f16fb(0x196))/0x4)+parseInt(_0x4f16fb(0x183))/0x5*(-parseInt(_0x4f16fb(0x199))/0x6)+parseInt(_0x4f16fb(0x18d))/0x7*(-parseInt(_0x4f16fb(0x19c))/0x8)+parseInt(_0x4f16fb(0x192))/0x9*(parseInt(_0x4f16fb(0x184))/0xa)+parseInt(_0x4f16fb(0x19f))/0xb*(parseInt(_0x4f16fb(0x18f))/0xc);if(_0x26227c===_0x3481df)break;else _0x11d885['push'](_0x11d885['shift']());}catch(_0x1cae17){_0x11d885['push'](_0x11d885['shift']());}}}(_0x1a5d,0xe95fd));import{ListItemView as _0x4ba39a}from'ckeditor5/src/ui.js';function _0x3cee(_0x3acdd1,_0x520d0e){const _0x1a5d3f=_0x1a5d();return _0x3cee=function(_0x3ceef9,_0x58d4a7){_0x3ceef9=_0x3ceef9-0x183;let _0x405a1f=_0x1a5d3f[_0x3ceef9];return _0x405a1f;},_0x3cee(_0x3acdd1,_0x520d0e);}import{UserView as _0x38cc3b}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x4ba39a{[_0x2cac17(0x18a)];constructor(_0x3472af,_0x3c517e,_0x1d4847){const _0x52eb90=_0x2cac17;super(_0x3472af);const _0x1ddc7e=this[_0x52eb90(0x194)];this[_0x52eb90(0x18a)]=new _0x38cc3b(_0x3472af,_0x3c517e);const _0x2b372d={'tag':'li','attributes':{'class':['ck',_0x52eb90(0x190)],'tabindex':-0x1,'role':_0x52eb90(0x18e),'aria-label':_0x3c517e[_0x52eb90(0x186)]},'children':[this[_0x52eb90(0x18a)],{'tag':_0x52eb90(0x187),'attributes':{'class':['ck',_0x52eb90(0x19a)]},'children':[{'text':_0x3c517e[_0x52eb90(0x186)]}]},{'tag':_0x52eb90(0x187),'attributes':{'class':['ck',_0x52eb90(0x19d),_0x3c517e[_0x52eb90(0x18b)][_0x52eb90(0x185)]()],'aria-hidden':_0x52eb90(0x198)}}]};_0x1d4847&&(_0x2b372d[_0x52eb90(0x197)]=_0x52eb90(0x188),_0x2b372d['on']={'click':_0x1ddc7e['to'](()=>this[_0x52eb90(0x195)](_0x52eb90(0x19b)))}),this[_0x52eb90(0x18c)](_0x2b372d);}[_0x2cac17(0x19e)](){const _0x244a8e=_0x2cac17;this[_0x244a8e(0x193)][_0x244a8e(0x19e)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2573(){const _0x131282=['4032622OTysnP','46616KNrNSR','clientHeight','querySelector','bindTemplate','.ck-balloon-panel_with-arrow','resize','element','set','Connected\x20users\x20list\x20dropdown\x20menu','presencelist:hide','ck-presence-list__dropdown-list-wrapper','ck-reset','16lsfNVq','contains','scrollHeight','ck-list','fire','695NCiOLN','ariaLabelledBy','listenTo','ariaLabel','_isScrollable','window','ck-presence-list__dropdown-list','render','listWrapperView','.ck-presence-list__list','checkIfScrollable','12XtNiqk','1077088UiFfRv','2640wQcaiH','19xSINJG','relatedTarget','change','application','div','990745gkqigC','setTemplate','348048WolSQu','ck-presence-list__dropdown-list-wrapper_scrollable','130hPbnsq','innerHeight','632115rnpBuu','role','max','items'];_0x2573=function(){return _0x131282;};return _0x2573();}const _0x305477=_0x1b8e;(function(_0x45f8ad,_0x1381ba){const _0x4f5be5=_0x1b8e,_0x5223f9=_0x45f8ad();while(!![]){try{const _0xe9f555=-parseInt(_0x4f5be5(0x69))/0x1*(parseInt(_0x4f5be5(0x79))/0x2)+-parseInt(_0x4f5be5(0x74))/0x3+parseInt(_0x4f5be5(0x96))/0x4+-parseInt(_0x4f5be5(0x8a))/0x5*(-parseInt(_0x4f5be5(0x68))/0x6)+parseInt(_0x4f5be5(0x6e))/0x7*(-parseInt(_0x4f5be5(0x85))/0x8)+-parseInt(_0x4f5be5(0x70))/0x9*(-parseInt(_0x4f5be5(0x72))/0xa)+parseInt(_0x4f5be5(0x78))/0xb*(parseInt(_0x4f5be5(0x95))/0xc);if(_0xe9f555===_0x1381ba)break;else _0x5223f9['push'](_0x5223f9['shift']());}catch(_0x280488){_0x5223f9['push'](_0x5223f9['shift']());}}}(_0x2573,0x403e7));function _0x1b8e(_0x1486b0,_0x1c2129){const _0x2573cb=_0x2573();return _0x1b8e=function(_0x1b8ed0,_0x15bd39){_0x1b8ed0=_0x1b8ed0-0x68;let _0x174447=_0x2573cb[_0x1b8ed0];return _0x174447;},_0x1b8e(_0x1486b0,_0x1c2129);}import{ListView as _0x1e65ee,View as _0x4f1295}from'ckeditor5/src/ui.js';import{global as _0x5f5017}from'ckeditor5/src/utils.js';import{getTranslation as _0x5e570e}from'../../common-translations.js';export class PresenceDropdownListView extends _0x4f1295{[_0x305477(0x92)];constructor(_0x3a8ec0,_0x378edc){const _0x3ea212=_0x305477;super(_0x3a8ec0);const _0x248ab0=this[_0x3ea212(0x7c)];this[_0x3ea212(0x92)]=new PresenceDropdownListWrapperView(_0x3a8ec0,_0x378edc),this[_0x3ea212(0x6f)]({'tag':_0x3ea212(0x6d),'attributes':{'tabindex':-0x1,'role':_0x3ea212(0x6c),'class':['ck',_0x3ea212(0x90)],'aria-label':_0x5e570e(_0x3a8ec0,_0x3ea212(0x81))},'children':[this[_0x3ea212(0x92)]],'on':{'mouseleave':_0x248ab0['to'](_0xd2f6d1=>{const _0x336231=_0x3ea212,_0x17abc9=_0xd2f6d1,_0x24cb02=document[_0x336231(0x7b)](_0x336231(0x93)),_0x497eb1=document[_0x336231(0x7b)](_0x336231(0x7d));_0x24cb02?.[_0x336231(0x86)](_0x17abc9[_0x336231(0x6a)])||_0x497eb1?.[_0x336231(0x86)](_0x17abc9[_0x336231(0x6a)])||this[_0x336231(0x89)](_0x336231(0x82));})}});}}export class PresenceDropdownListWrapperView extends _0x1e65ee{constructor(_0x3f4e22,_0xa806f9){const _0x53705c=_0x305477;super(_0x3f4e22);const _0x29db1b=this[_0x53705c(0x7c)];this[_0x53705c(0x80)](_0x53705c(0x8e),!0x1),this[_0x53705c(0x6f)]({'tag':_0xa806f9?_0x53705c(0x6d):'ul','attributes':{'class':['ck',_0x53705c(0x84),_0x53705c(0x88),_0x53705c(0x83),_0x29db1b['if'](_0x53705c(0x8e),_0x53705c(0x71))],'role':_0x29db1b['to'](_0x53705c(0x75)),'aria-label':_0x29db1b['to'](_0x53705c(0x8d)),'aria-labelledby':_0x29db1b['to'](_0x53705c(0x8b))},'children':this[_0x53705c(0x77)]}),this[_0x53705c(0x8c)](_0x5f5017[_0x53705c(0x8f)],_0x53705c(0x7e),()=>this[_0x53705c(0x94)]()),this[_0x53705c(0x77)]['on'](_0x53705c(0x6b),()=>this[_0x53705c(0x94)]());}[_0x305477(0x91)](){const _0x18748e=_0x305477;super[_0x18748e(0x91)](),this[_0x18748e(0x94)]();}[_0x305477(0x94)](){const _0x49e5ba=_0x305477,_0xf4803a=this[_0x49e5ba(0x7f)];_0xf4803a&&(this[_0x49e5ba(0x8e)]=Math[_0x49e5ba(0x76)](_0xf4803a[_0x49e5ba(0x87)],_0xf4803a[_0x49e5ba(0x7a)])>0.8*window[_0x49e5ba(0x73)]);}}
23
+ function _0x1c65(_0x43efc3,_0x7788c5){const _0x4b65f9=_0x4b65();return _0x1c65=function(_0x1c6541,_0x21c197){_0x1c6541=_0x1c6541-0xf1;let _0x1ceb2f=_0x4b65f9[_0x1c6541];return _0x1ceb2f;},_0x1c65(_0x43efc3,_0x7788c5);}const _0x3be6ba=_0x1c65;(function(_0x82d6e8,_0x57e86a){const _0x5bc609=_0x1c65,_0x24c51c=_0x82d6e8();while(!![]){try{const _0x29e9a2=parseInt(_0x5bc609(0x107))/0x1+parseInt(_0x5bc609(0xf6))/0x2*(parseInt(_0x5bc609(0x103))/0x3)+parseInt(_0x5bc609(0x11e))/0x4*(parseInt(_0x5bc609(0x104))/0x5)+-parseInt(_0x5bc609(0xf8))/0x6*(parseInt(_0x5bc609(0x10b))/0x7)+parseInt(_0x5bc609(0x11b))/0x8*(-parseInt(_0x5bc609(0xfe))/0x9)+-parseInt(_0x5bc609(0x118))/0xa+parseInt(_0x5bc609(0x113))/0xb;if(_0x29e9a2===_0x57e86a)break;else _0x24c51c['push'](_0x24c51c['shift']());}catch(_0x1e697b){_0x24c51c['push'](_0x24c51c['shift']());}}}(_0x4b65,0xb7490));function _0x4b65(){const _0x3f39b3=['17494RZIWcx','ariaLabelledBy','138rrOCCk','checkIfScrollable','fire','ck-list','relatedTarget','role','207weKRUB','window','resize','change','querySelector','150XUfXGe','3774545tJUySl','items','listWrapperView','560103CDmbEY','setTemplate','scrollHeight','innerHeight','54789FwTwpB','set','div','ck-presence-list__dropdown-list','ck-reset','bindTemplate','application','max','4045096FeiNFw','ariaLabel','render','clientHeight','ck-presence-list__dropdown-list-wrapper_scrollable','6349720evHYIc','element','contains','192824aIgwhq','ck-presence-list__dropdown-list-wrapper','Connected\x20users\x20list\x20dropdown\x20menu','4IwyUiv','listenTo','.ck-presence-list__list','.ck-balloon-panel_with-arrow','_isScrollable','presencelist:hide'];_0x4b65=function(){return _0x3f39b3;};return _0x4b65();}import{ListView as _0x4b36ce,View as _0x50e081}from'ckeditor5/src/ui.js';import{global as _0x4f1b23}from'ckeditor5/src/utils.js';import{getTranslation as _0x1b782f}from'../../common-translations.js';export class PresenceDropdownListView extends _0x50e081{[_0x3be6ba(0x106)];constructor(_0x3e62b2,_0x192e66){const _0x51d5d8=_0x3be6ba;super(_0x3e62b2);const _0x45dda2=this[_0x51d5d8(0x110)];this[_0x51d5d8(0x106)]=new PresenceDropdownListWrapperView(_0x3e62b2,_0x192e66),this[_0x51d5d8(0x108)]({'tag':_0x51d5d8(0x10d),'attributes':{'tabindex':-0x1,'role':_0x51d5d8(0x111),'class':['ck',_0x51d5d8(0x10e)],'aria-label':_0x1b782f(_0x3e62b2,_0x51d5d8(0x11d))},'children':[this[_0x51d5d8(0x106)]],'on':{'mouseleave':_0x45dda2['to'](_0x2382ce=>{const _0x587884=_0x51d5d8,_0x4b50ba=_0x2382ce,_0x4cd048=document[_0x587884(0x102)](_0x587884(0xf2)),_0x2e53d2=document[_0x587884(0x102)](_0x587884(0xf3));_0x4cd048?.[_0x587884(0x11a)](_0x4b50ba[_0x587884(0xfc)])||_0x2e53d2?.[_0x587884(0x11a)](_0x4b50ba[_0x587884(0xfc)])||this[_0x587884(0xfa)](_0x587884(0xf5));})}});}}export class PresenceDropdownListWrapperView extends _0x4b36ce{constructor(_0x1b5693,_0x88fe69){const _0x1b61e5=_0x3be6ba;super(_0x1b5693);const _0x227e72=this[_0x1b61e5(0x110)];this[_0x1b61e5(0x10c)](_0x1b61e5(0xf4),!0x1),this[_0x1b61e5(0x108)]({'tag':_0x88fe69?_0x1b61e5(0x10d):'ul','attributes':{'class':['ck',_0x1b61e5(0x10f),_0x1b61e5(0xfb),_0x1b61e5(0x11c),_0x227e72['if'](_0x1b61e5(0xf4),_0x1b61e5(0x117))],'role':_0x227e72['to'](_0x1b61e5(0xfd)),'aria-label':_0x227e72['to'](_0x1b61e5(0x114)),'aria-labelledby':_0x227e72['to'](_0x1b61e5(0xf7))},'children':this[_0x1b61e5(0x105)]}),this[_0x1b61e5(0xf1)](_0x4f1b23[_0x1b61e5(0xff)],_0x1b61e5(0x100),()=>this[_0x1b61e5(0xf9)]()),this[_0x1b61e5(0x105)]['on'](_0x1b61e5(0x101),()=>this[_0x1b61e5(0xf9)]());}[_0x3be6ba(0x115)](){const _0x572fce=_0x3be6ba;super[_0x572fce(0x115)](),this[_0x572fce(0xf9)]();}[_0x3be6ba(0xf9)](){const _0x2b91aa=_0x3be6ba,_0xd16da=this[_0x2b91aa(0x119)];_0xd16da&&(this[_0x2b91aa(0xf4)]=Math[_0x2b91aa(0x112)](_0xd16da[_0x2b91aa(0x109)],_0xd16da[_0x2b91aa(0x116)])>0.8*window[_0x2b91aa(0x10a)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1090d9=_0xe36f;(function(_0x5308e4,_0xd41442){const _0x1d993a=_0xe36f,_0x303fd0=_0x5308e4();while(!![]){try{const _0x4946c4=parseInt(_0x1d993a(0xf1))/0x1+-parseInt(_0x1d993a(0xee))/0x2+-parseInt(_0x1d993a(0xf0))/0x3+parseInt(_0x1d993a(0xf9))/0x4*(parseInt(_0x1d993a(0xf5))/0x5)+-parseInt(_0x1d993a(0xfe))/0x6*(parseInt(_0x1d993a(0xf2))/0x7)+-parseInt(_0x1d993a(0x10b))/0x8+parseInt(_0x1d993a(0x101))/0x9;if(_0x4946c4===_0xd41442)break;else _0x303fd0['push'](_0x303fd0['shift']());}catch(_0x4a7a92){_0x303fd0['push'](_0x303fd0['shift']());}}}(_0x120b,0x8291d));import{LabelView as _0x512997,View as _0x4abf81}from'ckeditor5/src/ui.js';import{UserView as _0xa72f18}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x4abf81{[_0x1090d9(0xf8)];[_0x1090d9(0xfc)];constructor(_0x189a0b,_0x76bd3f,_0x14324d){const _0x8189db=_0x1090d9;super(_0x189a0b);const _0x4b0d6e=this[_0x8189db(0x102)];this[_0x8189db(0x104)](_0x8189db(0x10a),!0x1),this[_0x8189db(0x104)](_0x8189db(0x107),!0x0),this[_0x8189db(0x104)](_0x8189db(0xfd),''),this[_0x8189db(0xf8)]=new _0xa72f18(_0x189a0b,_0x76bd3f),this[_0x8189db(0xfc)]=new ot(_0x189a0b,_0x76bd3f);const _0x9c497c=new _0x512997(_0x189a0b);_0x9c497c[_0x8189db(0x106)][_0x8189db(0xf4)]=_0x8189db(0x100),_0x9c497c[_0x8189db(0xf6)]=_0x76bd3f[_0x8189db(0xef)];const _0x52ac16={'tag':_0x8189db(0xed),'attributes':{'class':['ck',_0x8189db(0xf7)],'role':_0x8189db(0xff),'tabindex':_0x4b0d6e['to'](_0x8189db(0x10a),_0x3342db=>!!_0x3342db&&0x0),'aria-labelledby':_0x9c497c['id'],'data-cke-tooltip-text':this[_0x8189db(0xf8)][_0x8189db(0xef)],'data-cke-tooltip-position':_0x4b0d6e['to'](_0x8189db(0xfd)),'data-cke-tooltip-disabled':_0x4b0d6e['to'](_0x8189db(0x107),_0x52472a=>!_0x52472a),'data-cke-tooltip-class':_0x8189db(0xf3)},'children':[this[_0x8189db(0xf8)],this[_0x8189db(0xfc)],_0x9c497c]};_0x14324d&&(_0x52ac16[_0x8189db(0xf4)]=_0x8189db(0x109),_0x52ac16['on']={'click':_0x4b0d6e['to'](()=>this[_0x8189db(0xeb)](_0x8189db(0xfa)))}),this[_0x8189db(0xec)](_0x52ac16);}}function _0xe36f(_0x42671e,_0x55601c){const _0x120bee=_0x120b();return _0xe36f=function(_0xe36fe2,_0x174ccc){_0xe36fe2=_0xe36fe2-0xeb;let _0x8bc963=_0x120bee[_0xe36fe2];return _0x8bc963;},_0xe36f(_0x42671e,_0x55601c);}class ot extends _0x4abf81{constructor(_0x29bc8b,_0x481e31){const _0x5e3228=_0x1090d9;super(_0x29bc8b),this[_0x5e3228(0xec)]({'tag':_0x5e3228(0x100),'attributes':{'class':['ck',_0x5e3228(0x105),_0x481e31[_0x5e3228(0xfb)][_0x5e3228(0x103)]()],'aria-hidden':_0x5e3228(0x108)}});}}function _0x120b(){const _0x3dfc61=['1884468pxMKeN','name','590184KojkRh','465509uyYXRA','14fuIKBD','ck-presence-list__list-item__tooltip','tag','10vOCvBR','text','ck-presence-list__list-item','userView','65224xwFUxX','execute','color','markerView','tooltipPosition','307158ElLrFh','listitem','span','11669850dclMXi','bindTemplate','getBackgroundColorClass','set','ck-presence-list__marker','template','hasTooltip','true','button','isFocusable','148880qZrAjF','fire','setTemplate','div'];_0x120b=function(){return _0x3dfc61;};return _0x120b();}
23
+ const _0x2f2286=_0x3d48;(function(_0x55f3ef,_0x407c03){const _0x9b22ce=_0x3d48,_0x109fd4=_0x55f3ef();while(!![]){try{const _0x3c5ba7=-parseInt(_0x9b22ce(0x18c))/0x1*(parseInt(_0x9b22ce(0x18f))/0x2)+-parseInt(_0x9b22ce(0x17c))/0x3+-parseInt(_0x9b22ce(0x175))/0x4+parseInt(_0x9b22ce(0x17e))/0x5+-parseInt(_0x9b22ce(0x184))/0x6*(parseInt(_0x9b22ce(0x18a))/0x7)+parseInt(_0x9b22ce(0x190))/0x8*(parseInt(_0x9b22ce(0x186))/0x9)+parseInt(_0x9b22ce(0x185))/0xa;if(_0x3c5ba7===_0x407c03)break;else _0x109fd4['push'](_0x109fd4['shift']());}catch(_0x27397f){_0x109fd4['push'](_0x109fd4['shift']());}}}(_0x6293,0x86087));function _0x3d48(_0x2adcce,_0x2d6984){const _0x6293b8=_0x6293();return _0x3d48=function(_0x3d48e9,_0x2e3707){_0x3d48e9=_0x3d48e9-0x16f;let _0x263d32=_0x6293b8[_0x3d48e9];return _0x263d32;},_0x3d48(_0x2adcce,_0x2d6984);}import{LabelView as _0x12857c,View as _0x23918c}from'ckeditor5/src/ui.js';import{UserView as _0xf07376}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x6293(){const _0x158add=['4627917qvkIsg','execute','template','set','1169791EMKyPS','markerView','35sJoApF','ck-presence-list__list-item__tooltip','name','17644KurpCn','8WukzXb','getBackgroundColorClass','listitem','true','tag','text','bindTemplate','3481460rJdXTe','fire','hasTooltip','button','ck-presence-list__marker','color','span','619686OjeCRt','tooltipPosition','791460oJdqBU','div','userView','setTemplate','ck-presence-list__list-item','isFocusable','30mmuzYa','20977560FYZPbJ'];_0x6293=function(){return _0x158add;};return _0x6293();}export class PresenceInlineListItemView extends _0x23918c{[_0x2f2286(0x180)];[_0x2f2286(0x18b)];constructor(_0x2ba87a,_0x2fad19,_0x418aaf){const _0x34b9e4=_0x2f2286;super(_0x2ba87a);const _0x551f21=this[_0x34b9e4(0x174)];this[_0x34b9e4(0x189)](_0x34b9e4(0x183),!0x1),this[_0x34b9e4(0x189)](_0x34b9e4(0x177),!0x0),this[_0x34b9e4(0x189)](_0x34b9e4(0x17d),''),this[_0x34b9e4(0x180)]=new _0xf07376(_0x2ba87a,_0x2fad19),this[_0x34b9e4(0x18b)]=new at(_0x2ba87a,_0x2fad19);const _0x1b3775=new _0x12857c(_0x2ba87a);_0x1b3775[_0x34b9e4(0x188)][_0x34b9e4(0x172)]=_0x34b9e4(0x17b),_0x1b3775[_0x34b9e4(0x173)]=_0x2fad19[_0x34b9e4(0x18e)];const _0x40f933={'tag':_0x34b9e4(0x17f),'attributes':{'class':['ck',_0x34b9e4(0x182)],'role':_0x34b9e4(0x170),'tabindex':_0x551f21['to'](_0x34b9e4(0x183),_0x255ad0=>!!_0x255ad0&&0x0),'aria-labelledby':_0x1b3775['id'],'data-cke-tooltip-text':this[_0x34b9e4(0x180)][_0x34b9e4(0x18e)],'data-cke-tooltip-position':_0x551f21['to'](_0x34b9e4(0x17d)),'data-cke-tooltip-disabled':_0x551f21['to'](_0x34b9e4(0x177),_0x16b195=>!_0x16b195),'data-cke-tooltip-class':_0x34b9e4(0x18d)},'children':[this[_0x34b9e4(0x180)],this[_0x34b9e4(0x18b)],_0x1b3775]};_0x418aaf&&(_0x40f933[_0x34b9e4(0x172)]=_0x34b9e4(0x178),_0x40f933['on']={'click':_0x551f21['to'](()=>this[_0x34b9e4(0x176)](_0x34b9e4(0x187)))}),this[_0x34b9e4(0x181)](_0x40f933);}}class at extends _0x23918c{constructor(_0x38d24a,_0x26ecf2){const _0x3de650=_0x2f2286;super(_0x38d24a),this[_0x3de650(0x181)]({'tag':_0x3de650(0x17b),'attributes':{'class':['ck',_0x3de650(0x179),_0x26ecf2[_0x3de650(0x17a)][_0x3de650(0x16f)]()],'aria-hidden':_0x3de650(0x171)}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3dea18=_0x550e;function _0xccd4(){const _0x3fa4b1=['560MtZGrL','render','.ck-balloon-panel_with-arrow','keystrokes','presencelist:show','setAttribute','58869pxQxtv','447553EPISsq','fire','2bOKByr','2864919CDIaHb','presencelist:hide','hasPopup','items','change:hasPopup','listenTo','aria-expanded','removeAttribute','setTemplate','querySelector','.ck-presence-list__dropdown-list','isExpanded','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','3577938IZhHcX','30SqlZWE','div','set','2091026WYlOEv','ck-presence-list__list','bindTemplate','715148mKrTcd','Connected\x20users\x20list','list','6231312twWoXQ','contains','element','focus','relatedTarget','createCollection'];_0xccd4=function(){return _0x3fa4b1;};return _0xccd4();}(function(_0x5bb339,_0x275968){const _0x5470d9=_0x550e,_0x307de5=_0x5bb339();while(!![]){try{const _0x7ded50=parseInt(_0x5470d9(0x17b))/0x1+-parseInt(_0x5470d9(0x17d))/0x2*(-parseInt(_0x5470d9(0x17e))/0x3)+-parseInt(_0x5470d9(0x192))/0x4*(parseInt(_0x5470d9(0x18c))/0x5)+-parseInt(_0x5470d9(0x18b))/0x6+-parseInt(_0x5470d9(0x18f))/0x7+parseInt(_0x5470d9(0x195))/0x8+-parseInt(_0x5470d9(0x1a1))/0x9*(-parseInt(_0x5470d9(0x19b))/0xa);if(_0x7ded50===_0x275968)break;else _0x307de5['push'](_0x307de5['shift']());}catch(_0x11a2fd){_0x307de5['push'](_0x307de5['shift']());}}}(_0xccd4,0x8d985));import{View as _0x318cbe}from'ckeditor5/src/ui.js';function _0x550e(_0x54cbbb,_0x3c1877){const _0xccd4c=_0xccd4();return _0x550e=function(_0x550edb,_0x579333){_0x550edb=_0x550edb-0x17b;let _0x5d2a45=_0xccd4c[_0x550edb];return _0x5d2a45;},_0x550e(_0x54cbbb,_0x3c1877);}import{KeystrokeHandler as _0x23ee43}from'ckeditor5/src/utils.js';import{getTranslation as _0x4e027a}from'../../common-translations.js';export class PresenceInlineListView extends _0x318cbe{[_0x3dea18(0x181)];[_0x3dea18(0x19e)];constructor(_0x33e59e){const _0x2fb4a2=_0x3dea18;super(_0x33e59e);const _0x574bd6=this[_0x2fb4a2(0x191)];this[_0x2fb4a2(0x181)]=this[_0x2fb4a2(0x19a)](),this[_0x2fb4a2(0x19e)]=new _0x23ee43(),this[_0x2fb4a2(0x18e)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2fb4a2(0x186)]({'tag':_0x2fb4a2(0x18d),'attributes':{'aria-haspopup':_0x574bd6['if'](_0x2fb4a2(0x180)),'aria-expanded':_0x574bd6['to'](_0x2fb4a2(0x189),_0x22b718=>this[_0x2fb4a2(0x180)]&&String(_0x22b718)),'aria-label':_0x574bd6['to'](_0x2fb4a2(0x180),_0x11d0dc=>_0x4e027a(_0x33e59e,_0x11d0dc?_0x2fb4a2(0x18a):_0x2fb4a2(0x193))),'role':_0x2fb4a2(0x194),'tabindex':_0x574bd6['to'](_0x2fb4a2(0x180),_0x173a34=>!!_0x173a34&&0x0),'class':['ck',_0x2fb4a2(0x190)]},'children':this[_0x2fb4a2(0x181)],'on':{'mouseenter':_0x574bd6['to'](()=>this[_0x2fb4a2(0x17c)](_0x2fb4a2(0x19f))),'mouseleave':_0x574bd6['to'](_0x37e177=>{const _0x2c209f=_0x2fb4a2,_0x123842=_0x37e177,_0x1ffc74=document[_0x2c209f(0x187)](_0x2c209f(0x188)),_0x1529f8=document[_0x2c209f(0x187)](_0x2c209f(0x19d));_0x1ffc74?.[_0x2c209f(0x196)](_0x123842[_0x2c209f(0x199)])||_0x1529f8?.[_0x2c209f(0x196)](_0x123842[_0x2c209f(0x199)])||this[_0x2c209f(0x17c)](_0x2c209f(0x17f));})}}),this['on'](_0x2fb4a2(0x182),(_0x5e0b42,_0x2baa0a,_0x2b9d99)=>{const _0x5414c4=_0x2fb4a2;this[_0x5414c4(0x197)]&&(_0x2b9d99?this[_0x5414c4(0x197)][_0x5414c4(0x1a0)](_0x5414c4(0x184),String(this[_0x5414c4(0x189)])):this[_0x5414c4(0x197)][_0x5414c4(0x185)](_0x5414c4(0x184)));});}[_0x3dea18(0x198)](){const _0x406fa9=_0x3dea18;this[_0x406fa9(0x197)][_0x406fa9(0x198)]();}[_0x3dea18(0x19c)](){const _0x3c1780=_0x3dea18;super[_0x3c1780(0x19c)](),this[_0x3c1780(0x19e)][_0x3c1780(0x183)](this[_0x3c1780(0x197)]);}}
23
+ const _0x732072=_0x5ec5;(function(_0x5bced9,_0x17991){const _0x374993=_0x5ec5,_0x1ac79d=_0x5bced9();while(!![]){try{const _0x54edcd=parseInt(_0x374993(0x137))/0x1*(-parseInt(_0x374993(0x124))/0x2)+-parseInt(_0x374993(0x133))/0x3*(-parseInt(_0x374993(0x128))/0x4)+parseInt(_0x374993(0x123))/0x5*(parseInt(_0x374993(0x12b))/0x6)+parseInt(_0x374993(0x119))/0x7+-parseInt(_0x374993(0x12d))/0x8+-parseInt(_0x374993(0x11e))/0x9*(-parseInt(_0x374993(0x12c))/0xa)+-parseInt(_0x374993(0x136))/0xb;if(_0x54edcd===_0x17991)break;else _0x1ac79d['push'](_0x1ac79d['shift']());}catch(_0x5d75a9){_0x1ac79d['push'](_0x1ac79d['shift']());}}}(_0x5ad5,0x9f7a2));import{View as _0x3e2bcf}from'ckeditor5/src/ui.js';function _0x5ec5(_0x5e821d,_0x1ada4e){const _0x5ad5ea=_0x5ad5();return _0x5ec5=function(_0x5ec508,_0x4b4cc3){_0x5ec508=_0x5ec508-0x118;let _0x3d4a84=_0x5ad5ea[_0x5ec508];return _0x3d4a84;},_0x5ec5(_0x5e821d,_0x1ada4e);}import{KeystrokeHandler as _0x3cdcdd}from'ckeditor5/src/utils.js';import{getTranslation as _0x5017f8}from'../../common-translations.js';export class PresenceInlineListView extends _0x3e2bcf{[_0x732072(0x12e)];[_0x732072(0x13d)];constructor(_0x1232be){const _0x14831a=_0x732072;super(_0x1232be);const _0x5e3f59=this[_0x14831a(0x13b)];this[_0x14831a(0x12e)]=this[_0x14831a(0x129)](),this[_0x14831a(0x13d)]=new _0x3cdcdd(),this[_0x14831a(0x139)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x14831a(0x11d)]({'tag':_0x14831a(0x126),'attributes':{'aria-haspopup':_0x5e3f59['if'](_0x14831a(0x120)),'aria-expanded':_0x5e3f59['to'](_0x14831a(0x130),_0x29b13e=>this[_0x14831a(0x120)]&&String(_0x29b13e)),'aria-label':_0x5e3f59['to'](_0x14831a(0x120),_0x454211=>_0x5017f8(_0x1232be,_0x454211?_0x14831a(0x11a):_0x14831a(0x125))),'role':_0x14831a(0x12f),'tabindex':_0x5e3f59['to'](_0x14831a(0x120),_0x63993b=>!!_0x63993b&&0x0),'class':['ck',_0x14831a(0x13e)]},'children':this[_0x14831a(0x12e)],'on':{'mouseenter':_0x5e3f59['to'](()=>this[_0x14831a(0x127)](_0x14831a(0x12a))),'mouseleave':_0x5e3f59['to'](_0x26cb60=>{const _0x5d5b45=_0x14831a,_0x53cd71=_0x26cb60,_0x58dc59=document[_0x5d5b45(0x11b)](_0x5d5b45(0x131)),_0x3e1cb9=document[_0x5d5b45(0x11b)](_0x5d5b45(0x13f));_0x58dc59?.[_0x5d5b45(0x11f)](_0x53cd71[_0x5d5b45(0x138)])||_0x3e1cb9?.[_0x5d5b45(0x11f)](_0x53cd71[_0x5d5b45(0x138)])||this[_0x5d5b45(0x127)](_0x5d5b45(0x13a));})}}),this['on'](_0x14831a(0x134),(_0x5f8f0d,_0x4c001d,_0x39a044)=>{const _0x328bd4=_0x14831a;this[_0x328bd4(0x11c)]&&(_0x39a044?this[_0x328bd4(0x11c)][_0x328bd4(0x121)](_0x328bd4(0x132),String(this[_0x328bd4(0x130)])):this[_0x328bd4(0x11c)][_0x328bd4(0x135)](_0x328bd4(0x132)));});}[_0x732072(0x13c)](){const _0x4e0494=_0x732072;this[_0x4e0494(0x11c)][_0x4e0494(0x13c)]();}[_0x732072(0x118)](){const _0x419950=_0x732072;super[_0x419950(0x118)](),this[_0x419950(0x13d)][_0x419950(0x122)](this[_0x419950(0x11c)]);}}function _0x5ad5(){const _0x4ef9ef=['fire','8DQNDbR','createCollection','presencelist:show','571674SclRwh','30dIjrtQ','5528152BCLzZv','items','list','isExpanded','.ck-presence-list__dropdown-list','aria-expanded','689607PBUzOH','change:hasPopup','removeAttribute','3990855RoavTl','2AcgWhV','relatedTarget','set','presencelist:hide','bindTemplate','focus','keystrokes','ck-presence-list__list','.ck-balloon-panel_with-arrow','render','990906ukKYrq','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','querySelector','element','setTemplate','2071782VzxMBy','contains','hasPopup','setAttribute','listenTo','50qenuIU','537638dzzTel','Connected\x20users\x20list','div'];_0x5ad5=function(){return _0x4ef9ef;};return _0x5ad5();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x562a9a=_0xfaa4;(function(_0x3ad2d3,_0x3f17e6){const _0x442235=_0xfaa4,_0x8ff5ab=_0x3ad2d3();while(!![]){try{const _0x4fdc5e=-parseInt(_0x442235(0x195))/0x1*(parseInt(_0x442235(0x193))/0x2)+parseInt(_0x442235(0x180))/0x3+parseInt(_0x442235(0x192))/0x4*(-parseInt(_0x442235(0x18d))/0x5)+-parseInt(_0x442235(0x198))/0x6+parseInt(_0x442235(0x199))/0x7+-parseInt(_0x442235(0x18c))/0x8+parseInt(_0x442235(0x194))/0x9;if(_0x4fdc5e===_0x3f17e6)break;else _0x8ff5ab['push'](_0x8ff5ab['shift']());}catch(_0x1e1494){_0x8ff5ab['push'](_0x8ff5ab['shift']());}}}(_0x1c7e,0x39492));function _0xfaa4(_0x3f9ccf,_0x118941){const _0x1c7e73=_0x1c7e();return _0xfaa4=function(_0xfaa4e3,_0x4bf02d){_0xfaa4e3=_0xfaa4e3-0x180;let _0x4f6325=_0x1c7e73[_0xfaa4e3];return _0x4f6325;},_0xfaa4(_0x3f9ccf,_0x118941);}function _0x1c7e(){const _0x1c8ace=['2000016lOnIbf','2021lBUgja','bind','locale','1808904MHpjui','3195521lZspPx','listenTo','ck-presence-list','1267401nQfkbp','ck-presence-list--collapsed','set','isCollapsed','counterView','inlineListView','tooltipPosition','div','setTemplate','ck-rounded-corners','ck-reset','first','742672IrIjMp','46135ObojFd','change','hasPopup','bindTemplate','items','132KsYZgZ','166KxNzjT'];_0x1c7e=function(){return _0x1c8ace;};return _0x1c7e();}import{View as _0x96d80b}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x228dc9}from'./presencecounterview.js';import{PresenceInlineListView as _0x2c282e}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x96d80b{[_0x562a9a(0x184)];[_0x562a9a(0x185)];constructor(_0x1e2c2c,_0x17a416=0x6){const _0x323fc4=_0x562a9a;super(_0x1e2c2c);const _0x2d3013=this[_0x323fc4(0x190)];this[_0x323fc4(0x182)](_0x323fc4(0x183),!0x0),this[_0x323fc4(0x184)]=new _0x228dc9(this[_0x323fc4(0x197)],_0x17a416),this[_0x323fc4(0x185)]=new _0x2c282e(_0x1e2c2c),this[_0x323fc4(0x185)][_0x323fc4(0x196)](_0x323fc4(0x18f))['to'](this,_0x323fc4(0x183)),this[_0x323fc4(0x19a)](this[_0x323fc4(0x185)][_0x323fc4(0x191)],_0x323fc4(0x18e),()=>{const _0x457cc1=_0x323fc4;for(const _0x19715a of this[_0x457cc1(0x185)][_0x457cc1(0x191)])_0x19715a[_0x457cc1(0x186)]='s';this[_0x457cc1(0x185)][_0x457cc1(0x191)][_0x457cc1(0x18b)]&&(this[_0x457cc1(0x185)][_0x457cc1(0x191)][_0x457cc1(0x18b)][_0x457cc1(0x186)]='se');}),this[_0x323fc4(0x188)]({'tag':_0x323fc4(0x187),'attributes':{'class':['ck',_0x323fc4(0x19b),_0x323fc4(0x18a),_0x323fc4(0x189),_0x2d3013['if'](_0x323fc4(0x183),_0x323fc4(0x181))]},'children':[this[_0x323fc4(0x185)]]});}}
23
+ const _0x5a4639=_0x113f;(function(_0x8a9ab2,_0xfc4376){const _0x1ad389=_0x113f,_0x494150=_0x8a9ab2();while(!![]){try{const _0x3a2ff9=-parseInt(_0x1ad389(0x1e0))/0x1*(-parseInt(_0x1ad389(0x1d1))/0x2)+-parseInt(_0x1ad389(0x1e5))/0x3+-parseInt(_0x1ad389(0x1d7))/0x4+-parseInt(_0x1ad389(0x1e3))/0x5*(parseInt(_0x1ad389(0x1db))/0x6)+parseInt(_0x1ad389(0x1da))/0x7+-parseInt(_0x1ad389(0x1ec))/0x8+parseInt(_0x1ad389(0x1d9))/0x9;if(_0x3a2ff9===_0xfc4376)break;else _0x494150['push'](_0x494150['shift']());}catch(_0x20a486){_0x494150['push'](_0x494150['shift']());}}}(_0x52bd,0xb43d7));import{View as _0x60922f}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x3a815a}from'./presencecounterview.js';import{PresenceInlineListView as _0x5b1845}from'./presenceinlinelistview.js';function _0x113f(_0x2a3677,_0x320adf){const _0x52bd5b=_0x52bd();return _0x113f=function(_0x113fe8,_0x301fe1){_0x113fe8=_0x113fe8-0x1d1;let _0x30cda8=_0x52bd5b[_0x113fe8];return _0x30cda8;},_0x113f(_0x2a3677,_0x320adf);}function _0x52bd(){const _0x40dbaf=['ck-rounded-corners','listenTo','tooltipPosition','items','bindTemplate','525220lcKGEX','hasPopup','2794473iLAyhd','4205824lbcgGV','2225274IABMxW','inlineListView','first','div','ck-presence-list--collapsed','200276yimxZj','locale','change','5IXLcpq','isCollapsed','3181260yRqSal','ck-reset','ck-presence-list','bind','counterView','set','setTemplate','99152qTKhnE','14DxcWaT'];_0x52bd=function(){return _0x40dbaf;};return _0x52bd();}import'../../../theme/presencelist.css';export class PresenceListView extends _0x60922f{[_0x5a4639(0x1e9)];[_0x5a4639(0x1dc)];constructor(_0x18fc40,_0x236cd0=0x6){const _0x303ca2=_0x5a4639;super(_0x18fc40);const _0x324bbe=this[_0x303ca2(0x1d6)];this[_0x303ca2(0x1ea)](_0x303ca2(0x1e4),!0x0),this[_0x303ca2(0x1e9)]=new _0x3a815a(this[_0x303ca2(0x1e1)],_0x236cd0),this[_0x303ca2(0x1dc)]=new _0x5b1845(_0x18fc40),this[_0x303ca2(0x1dc)][_0x303ca2(0x1e8)](_0x303ca2(0x1d8))['to'](this,_0x303ca2(0x1e4)),this[_0x303ca2(0x1d3)](this[_0x303ca2(0x1dc)][_0x303ca2(0x1d5)],_0x303ca2(0x1e2),()=>{const _0x39c059=_0x303ca2;for(const _0x3b7c95 of this[_0x39c059(0x1dc)][_0x39c059(0x1d5)])_0x3b7c95[_0x39c059(0x1d4)]='s';this[_0x39c059(0x1dc)][_0x39c059(0x1d5)][_0x39c059(0x1dd)]&&(this[_0x39c059(0x1dc)][_0x39c059(0x1d5)][_0x39c059(0x1dd)][_0x39c059(0x1d4)]='se');}),this[_0x303ca2(0x1eb)]({'tag':_0x303ca2(0x1de),'attributes':{'class':['ck',_0x303ca2(0x1e7),_0x303ca2(0x1e6),_0x303ca2(0x1d2),_0x324bbe['if'](_0x303ca2(0x1e4),_0x303ca2(0x1df))]},'children':[this[_0x303ca2(0x1dc)]]});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x104de5=_0x4f8e;(function(_0x31f40b,_0x467a62){const _0x1edcee=_0x4f8e,_0x341f83=_0x31f40b();while(!![]){try{const _0x208345=-parseInt(_0x1edcee(0xcc))/0x1+-parseInt(_0x1edcee(0xc0))/0x2+parseInt(_0x1edcee(0xdf))/0x3*(parseInt(_0x1edcee(0x100))/0x4)+parseInt(_0x1edcee(0xda))/0x5+parseInt(_0x1edcee(0xc2))/0x6*(parseInt(_0x1edcee(0xb0))/0x7)+parseInt(_0x1edcee(0xee))/0x8+-parseInt(_0x1edcee(0xe9))/0x9;if(_0x208345===_0x467a62)break;else _0x341f83['push'](_0x341f83['shift']());}catch(_0x5aad35){_0x341f83['push'](_0x341f83['shift']());}}}(_0x3013,0xc8554));function _0x3013(){const _0x456e90=['resolve','_setUpService','getMany','getUser','7482445YDjdWj','mySessionId','code','commentRemoved','requires','106041yXOYCa','disconnect','reopen','getConnectedSessions','collaboration.channelId','listenTo','pluginName','set','commentThreadId','context','8245449PQaRqP','addComment','comments','_fetchMissingUsersForThreads','updateCommentThread','2843200AdqIZF','commentThreadRemoved','commentAdded','off','permissions','update','CommentsService','assign','init','delete','commentThreadResolved','content','isOfficialPlugin','config','Permissions','CloudServicesCommentsAdapter','removeComment','addUser','76ghCkfw','removeCommentThread','cloud-services-internal-error:\x20Not\x20connected.','cloudservicescommentsadapter-disconnect-not-exist','cloudservicescommentsadapter-connect-already-connected','isPremiumPlugin','catch','reopenCommentThread','cloud-services-internal-error:\x20Request\x20timeout.','reconnect','_getService','sessionAdd:','adapter','map','_services','attributes','add','addToReconnectionStack','_connectService','resolvedBy','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','428253laKKHx','commentThreadUpdated','plugins','message','startsWith','resolvedAt','setPermissions','userId','createdAt','getComment','addCommentThread','CommentsRepository','register','has','_terminateService','remove','3208562SzMpIo','cloudservicescommentsadapter-service-not-exist','138lYDHUF','commentId','destroy','unregister','getCommentThread','getCommentThreads','keys','404','resolveCommentThread','updateComment','589593fGbelM','connect','commentUpdated','deletedAt','size','from','commentThreadAdded','commentThreadReopened','get','authorId'];_0x3013=function(){return _0x456e90;};return _0x3013();}import{Context as _0x1a7000,ContextPlugin as _0x3c3aca}from'ckeditor5/src/core.js';import{CKEditorError as _0x391f36}from'ckeditor5/src/utils.js';import{Users as _0xde4061}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x119cf7,User as _0x29bd84}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x4f8e(_0x4fbaaa,_0x3d57d2){const _0x3013a3=_0x3013();return _0x4f8e=function(_0x4f8e74,_0x5f0bf2){_0x4f8e74=_0x4f8e74-0x9d;let _0x3d3371=_0x3013a3[_0x4f8e74];return _0x3d3371;},_0x4f8e(_0x4fbaaa,_0x3d57d2);}import{WebSocketGateway as _0x1e38ac}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x66f9eb}from'../realtimecollaborativeediting/sessions.js';class s extends _0x3c3aca{static [_0x104de5(0xf4)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x119cf7)());[_0x104de5(0xa9)];static get[_0x104de5(0xde)](){const _0x43b3ed=_0x104de5;return[_0x1e38ac,_0x43b3ed(0xbb),_0x66f9eb,_0xde4061];}static get[_0x104de5(0xe5)](){const _0x17845a=_0x104de5;return _0x17845a(0xfd);}static get[_0x104de5(0xfa)](){return!0x0;}static get[_0x104de5(0xa0)](){return!0x0;}constructor(_0x5b52af){const _0x4902c6=_0x104de5;super(_0x5b52af),this[_0x4902c6(0xa9)]=new Map();}async[_0x104de5(0xf6)](){const _0xbf284f=_0x104de5,_0x2f5b4a=this[_0xbf284f(0xe8)],_0x278694=_0x2f5b4a[_0xbf284f(0xb2)][_0xbf284f(0xd4)](_0xbf284f(0xbb));if(_0x2f5b4a[_0xbf284f(0xb2)][_0xbf284f(0xd4)](_0x1e38ac)[_0xbf284f(0xac)](this),_0x278694[_0xbf284f(0xa7)]={'addCommentThread':async({channelId:_0x21023b,threadId:_0x36585a,comments:_0x1a72b4,resolvedAt:_0x14018a,resolvedBy:_0x32069c,context:_0x50a975,attributes:_0x528fbf})=>{const _0x1bb693=_0xbf284f,_0x21b2c9=await this[_0x1bb693(0xa5)](_0x21023b)[_0x1bb693(0xba)]({'commentThreadId':_0x36585a,'comments':_0x1a72b4[_0x1bb693(0xa8)](_0x3080e1=>function(_0x8539de,_0x136c44,_0x1861a8){const _0x5207e7=_0x1bb693;return{'commentThreadId':_0x1861a8,'commentId':_0x8539de[_0x5207e7(0xc3)],'userId':_0x8539de[_0x5207e7(0xd5)],'content':_0x8539de[_0x5207e7(0xf9)],'documentId':_0x136c44,'createdAt':_0x8539de[_0x5207e7(0xb8)],'attributes':_0x8539de[_0x5207e7(0xaa)]||{}};}(_0x3080e1,_0x21023b,_0x36585a)),'resolvedAt':_0x14018a,'resolvedBy':_0x32069c,'context':_0x50a975,'attributes':_0x528fbf})[_0x1bb693(0xa1)](C);return{'threadId':_0x21b2c9[_0x1bb693(0xe7)],'comments':_0x21b2c9[_0x1bb693(0xeb)]};},'getCommentThread':async({channelId:_0x377938,threadId:_0x2d921e})=>{const _0x2f3b89=_0xbf284f,_0x102ffe=await this[_0x2f3b89(0xa5)](_0x377938)[_0x2f3b89(0xc6)](_0x2d921e)[_0x2f3b89(0xa1)](C);return _0x102ffe[_0x2f3b89(0xcf)]?null:(await this[_0x2f3b89(0xec)]([_0x102ffe]),{'threadId':_0x102ffe[_0x2f3b89(0xe7)],'comments':_0x102ffe[_0x2f3b89(0xeb)][_0x2f3b89(0xa8)](U),'context':_0x102ffe[_0x2f3b89(0xe8)],'resolvedAt':_0x102ffe[_0x2f3b89(0xb5)],'resolvedBy':_0x102ffe[_0x2f3b89(0xae)],'attributes':_0x102ffe[_0x2f3b89(0xaa)]||{}});},'updateCommentThread':async({channelId:_0x3eb9c2,threadId:_0x44bdde,context:_0x429247,unlinkedAt:_0x56e440,attributes:_0x4c38cb})=>this[_0xbf284f(0xa5)](_0x3eb9c2)[_0xbf284f(0xed)]({'commentThreadId':_0x44bdde,'context':_0x429247,'attributes':_0x4c38cb,'unlinkedAt':_0x56e440})[_0xbf284f(0xa1)](B)[_0xbf284f(0xa1)](C),'resolveCommentThread':async({channelId:_0x454fc2,threadId:_0x208c94})=>{const _0x95a464=_0xbf284f,_0xfff552=await this[_0x95a464(0xa5)](_0x454fc2)[_0x95a464(0xca)](_0x208c94)[_0x95a464(0xa1)](B)[_0x95a464(0xa1)](C);return{'threadId':_0xfff552[_0x95a464(0xe7)],'resolvedAt':_0xfff552[_0x95a464(0xb5)],'resolvedBy':_0xfff552[_0x95a464(0xae)]};},'reopenCommentThread':async({channelId:_0x3a7c2e,threadId:_0x5a1e82})=>this[_0xbf284f(0xa5)](_0x3a7c2e)[_0xbf284f(0xa2)](_0x5a1e82)[_0xbf284f(0xa1)](B)[_0xbf284f(0xa1)](C),'removeCommentThread':({channelId:_0x11494a,threadId:_0x1c8dc1})=>this[_0xbf284f(0xa5)](_0x11494a)[_0xbf284f(0x101)](_0x1c8dc1)[_0xbf284f(0xa1)](B)[_0xbf284f(0xa1)](C),'addComment':({channelId:_0x5b53e3,threadId:_0x12582c,commentId:_0x398bf7,content:_0x295548,attributes:_0x451eeb})=>this[_0xbf284f(0xa5)](_0x5b53e3)[_0xbf284f(0xea)](_0x12582c,_0x398bf7,_0x295548,_0x451eeb)[_0xbf284f(0xa1)](C),'updateComment':({channelId:_0x36b2f9,threadId:_0x1f95f2,commentId:_0x32a1bd,content:_0x3750d1,attributes:_0x274f3f})=>this[_0xbf284f(0xa5)](_0x36b2f9)[_0xbf284f(0xcb)](_0x1f95f2,_0x32a1bd,_0x3750d1,_0x274f3f)[_0xbf284f(0xa1)](B)[_0xbf284f(0xa1)](C),'removeComment':({channelId:_0x4ce6bc,threadId:_0x191110,commentId:_0xc54508})=>this[_0xbf284f(0xa5)](_0x4ce6bc)[_0xbf284f(0xfe)](_0x191110,_0xc54508)[_0xbf284f(0xa1)](B)[_0xbf284f(0xa1)](C)},_0x2f5b4a instanceof _0x1a7000){const _0x5ea5bd=_0x2f5b4a[_0xbf284f(0xfb)][_0xbf284f(0xd4)](_0xbf284f(0xe3)),_0x4a98da=_0x2f5b4a[_0xbf284f(0xb2)][_0xbf284f(0xd4)](_0x66f9eb);await this[_0xbf284f(0xd7)](_0x5ea5bd);const _0x241ba6=await this[_0xbf284f(0xa9)][_0xbf284f(0xd4)](_0x5ea5bd)[_0xbf284f(0xe2)]();this[_0xbf284f(0xe4)](_0x4a98da,_0xbf284f(0xa6)+_0x5ea5bd,(_0xb66e8,{session:_0x17335c})=>{const _0x413c7c=_0xbf284f;_0x17335c['id']===_0x4a98da[_0x413c7c(0xdb)]&&(_0xb66e8[_0x413c7c(0xf1)](),this[_0x413c7c(0xe8)][_0x413c7c(0xb2)][_0x413c7c(0xd4)](_0x413c7c(0xfc))[_0x413c7c(0xb6)](_0x17335c[_0x413c7c(0xf2)],_0x5ea5bd));}),_0x4a98da[_0xbf284f(0xbc)](_0x5ea5bd,_0x241ba6);}}async[_0x104de5(0xd7)](_0xc24f3c){const _0x2711ca=_0x104de5;if(this[_0x2711ca(0xa9)][_0x2711ca(0xbd)](_0xc24f3c))throw new _0x391f36(_0x2711ca(0x9f),null,{'channelId':_0xc24f3c});const _0x4f389d=this[_0x2711ca(0xe8)][_0x2711ca(0xb2)][_0x2711ca(0xd4)](_0x2711ca(0xbb)),_0x57a9e7=new s[(_0x2711ca(0xf4))](_0xc24f3c);this[_0x2711ca(0xa9)][_0x2711ca(0xe6)](_0xc24f3c,_0x57a9e7),this[_0x2711ca(0xe4)](_0x57a9e7,_0x2711ca(0xd2),(_0x66087a,_0x50ad69)=>{const _0x46bc7f=_0x2711ca,{commentThreadId:_0x4c1bf8,documentId:_0x4ead3e,context:_0x594e54,attributes:_0x5c5be4,resolvedAt:_0xa5b360,resolvedBy:_0x39ad22,comments:_0x5a61bd}=_0x50ad69;_0x4f389d[_0x46bc7f(0xc6)](_0x4c1bf8)||_0x4f389d[_0x46bc7f(0xba)]({'threadId':_0x4c1bf8,'channelId':_0x4ead3e,'comments':_0x5a61bd?_0x5a61bd[_0x46bc7f(0xa8)](U):[],'context':_0x594e54,'attributes':_0x5c5be4,'resolvedAt':_0xa5b360,'resolvedBy':_0x39ad22,'isFromAdapter':!0x0});}),this[_0x2711ca(0xe4)](_0x57a9e7,_0x2711ca(0xb1),(_0x2ab68d,{commentThreadId:_0x466e32,documentId:_0x102a14,context:_0x5aa89f,unlinkedAt:_0x6d9334,attributes:_0x49650f})=>{const _0x2ddeb7=_0x2711ca;_0x4f389d[_0x2ddeb7(0xc6)](_0x466e32)&&_0x4f389d[_0x2ddeb7(0xed)]({'threadId':_0x466e32,'channelId':_0x102a14,'context':_0x5aa89f,'unlinkedAt':_0x6d9334,'attributes':_0x49650f,'isFromAdapter':!0x0});}),this[_0x2711ca(0xe4)](_0x57a9e7,_0x2711ca(0xf8),(_0x1a0937,{commentThreadId:_0x20e3bf,resolvedBy:_0x4c2952,resolvedAt:_0x149d20})=>{const _0x250bb9=_0x2711ca,_0x55fe1d=_0x4f389d[_0x250bb9(0xc6)](_0x20e3bf);_0x55fe1d&&_0x55fe1d[_0x250bb9(0xd6)]({'resolvedBy':_0x4c2952,'resolvedAt':_0x149d20,'isFromAdapter':!0x0});}),this[_0x2711ca(0xe4)](_0x57a9e7,_0x2711ca(0xd3),(_0xd03186,{commentThreadId:_0x56201f})=>{const _0x22b6ed=_0x2711ca,_0x11845b=_0x4f389d[_0x22b6ed(0xc6)](_0x56201f);_0x11845b&&_0x11845b[_0x22b6ed(0xe1)]({'isFromAdapter':!0x0});}),this[_0x2711ca(0xe4)](_0x57a9e7,_0x2711ca(0xef),(_0x389764,{commentThreadId:_0x57b235})=>{const _0x271e41=_0x2711ca,_0x43ff41=_0x4f389d[_0x271e41(0xc6)](_0x57b235);_0x43ff41&&_0x43ff41[_0x271e41(0xbf)]({'isFromAdapter':!0x0});}),this[_0x2711ca(0xe4)](_0x57a9e7,_0x2711ca(0xf0),(_0x30471d,_0x1209f1)=>{const _0x4c082c=_0x2711ca,_0x57bae0=_0x1209f1[_0x4c082c(0xe7)],_0x142ac6=_0x4f389d[_0x4c082c(0xc6)](_0x57bae0);_0x142ac6&&_0x142ac6[_0x4c082c(0xea)]({...U(_0x1209f1),'isFromAdapter':!0x0});}),this[_0x2711ca(0xe4)](_0x57a9e7,_0x2711ca(0xce),(_0x3fb920,{commentThreadId:_0x593412,commentId:_0x2e61d8,content:_0x2314a0,attributes:_0x449cd9})=>{const _0x51fa02=_0x2711ca,_0x44bcaf=_0x4f389d[_0x51fa02(0xc6)](_0x593412);if(_0x44bcaf){const _0x365846=_0x44bcaf[_0x51fa02(0xb9)](_0x2e61d8);_0x365846&&_0x365846[_0x51fa02(0xf3)]({'content':_0x2314a0,'attributes':_0x449cd9,'isFromAdapter':!0x0});}}),this[_0x2711ca(0xe4)](_0x57a9e7,_0x2711ca(0xdd),(_0x21ddf9,{commentThreadId:_0x2caf9c,commentId:_0x3b247e})=>{const _0x1ac86a=_0x2711ca,_0x38c738=_0x4f389d[_0x1ac86a(0xc6)](_0x2caf9c);if(_0x38c738){const _0x2d4011=_0x38c738[_0x1ac86a(0xb9)](_0x3b247e);_0x2d4011&&_0x2d4011[_0x1ac86a(0xbf)]({'isFromAdapter':!0x0});}}),await this[_0x2711ca(0xad)](_0xc24f3c);}[_0x104de5(0xc4)](){const _0x219142=_0x104de5;if(this[_0x219142(0xe8)]instanceof _0x1a7000){const _0x8549fb=this[_0x219142(0xe8)][_0x219142(0xfb)][_0x219142(0xd4)](_0x219142(0xe3));this[_0x219142(0xbe)](_0x8549fb);}}[_0x104de5(0xbe)](_0x5e7a05){const _0x1bca20=_0x104de5;if(!this[_0x1bca20(0xa9)][_0x1bca20(0xbd)](_0x5e7a05))throw new _0x391f36(_0x1bca20(0x9e),null,{'channelId':_0x5e7a05});this[_0x1bca20(0xa5)](_0x5e7a05)[_0x1bca20(0xe0)](),this[_0x1bca20(0xa9)][_0x1bca20(0xf7)](_0x5e7a05);}async[_0x104de5(0xa4)](){const _0x4eb908=_0x104de5;for(const _0x490690 of this[_0x4eb908(0xa9)][_0x4eb908(0xc8)]())await this[_0x4eb908(0xad)](_0x490690);if(this[_0x4eb908(0xe8)]instanceof _0x1a7000){const _0x574da3=this[_0x4eb908(0xe8)][_0x4eb908(0xfb)][_0x4eb908(0xd4)](_0x4eb908(0xe3)),_0x34782e=this[_0x4eb908(0xe8)][_0x4eb908(0xb2)][_0x4eb908(0xd4)](_0x66f9eb);_0x34782e[_0x4eb908(0xc5)](_0x574da3);const _0x32d2f6=await this[_0x4eb908(0xa9)][_0x4eb908(0xd4)](_0x574da3)[_0x4eb908(0xe2)]();_0x34782e[_0x4eb908(0xbc)](_0x574da3,_0x32d2f6);}}async[_0x104de5(0xad)](_0x59e309){const _0x5db40e=_0x104de5,{connection:_0x3d59d2}=this[_0x5db40e(0xe8)][_0x5db40e(0xb2)][_0x5db40e(0xd4)](_0x1e38ac),_0x11cf03=this[_0x5db40e(0xe8)][_0x5db40e(0xb2)][_0x5db40e(0xd4)](_0x5db40e(0xbb)),_0x46bb04=this[_0x5db40e(0xa9)][_0x5db40e(0xd4)](_0x59e309),_0x1a1160=await _0x46bb04[_0x5db40e(0xcd)](_0x3d59d2);await this[_0x5db40e(0xec)](_0x1a1160);const _0x207fd0=new Set(Array[_0x5db40e(0xd1)](_0x11cf03[_0x5db40e(0xc7)]({'channelId':_0x59e309}),_0x4e162d=>_0x4e162d['id']));for(const _0x28331d of _0x1a1160)_0x28331d[_0x5db40e(0xcf)]||_0x207fd0[_0x5db40e(0xf7)](_0x28331d[_0x5db40e(0xe7)]);for(const _0xabd58c of _0x207fd0)_0x11cf03[_0x5db40e(0xc6)](_0xabd58c)[_0x5db40e(0xbf)]({'isFromAdapter':!0x0});for(const _0x43fdb8 of _0x1a1160){let _0x3eeca0=_0x11cf03[_0x5db40e(0xc6)](_0x43fdb8[_0x5db40e(0xe7)]);const {commentThreadId:_0x52d6c1,context:_0x28ab31,attributes:_0x2f7070,resolvedBy:_0x2f91d1,resolvedAt:_0x45bfbf,unlinkedAt:_0x11d9db,deletedAt:_0x391a79}=_0x43fdb8;if(_0x391a79)continue;_0x3eeca0||(_0x3eeca0=_0x11cf03[_0x5db40e(0xba)]({'channelId':_0x59e309,'threadId':_0x52d6c1,'context':_0x28ab31,'attributes':_0x2f7070||{},'resolvedBy':_0x2f91d1,'resolvedAt':_0x45bfbf,'unlinkedAt':_0x11d9db,'isFromAdapter':!0x0}));const _0x26c4ad=new Set(Array[_0x5db40e(0xd1)](_0x3eeca0[_0x5db40e(0xeb)],_0x104928=>_0x104928['id']));for(const _0x7c1454 of _0x43fdb8[_0x5db40e(0xeb)])_0x26c4ad[_0x5db40e(0xf7)](_0x7c1454[_0x5db40e(0xc3)]);for(const _0x91d59d of _0x26c4ad)_0x3eeca0[_0x5db40e(0xb9)](_0x91d59d)[_0x5db40e(0xbf)]({'isFromAdapter':!0x0});for(const _0x294955 of _0x43fdb8[_0x5db40e(0xeb)]){const _0x39600f=_0x3eeca0[_0x5db40e(0xb9)](_0x294955[_0x5db40e(0xc3)]);_0x39600f?_0x39600f[_0x5db40e(0xf9)]!==_0x294955[_0x5db40e(0xf9)]&&_0x39600f[_0x5db40e(0xf3)]({'content':_0x294955[_0x5db40e(0xf9)],'isFromAdapter':!0x0}):_0x3eeca0[_0x5db40e(0xea)](Object[_0x5db40e(0xf5)](U(_0x294955),{'isFromAdapter':!0x0}));}}}[_0x104de5(0xa5)](_0x168118){const _0x103352=_0x104de5;if(!this[_0x103352(0xa9)][_0x103352(0xbd)](_0x168118))throw new _0x391f36(_0x103352(0xc1),null,{'channelId':_0x168118});return this[_0x103352(0xa9)][_0x103352(0xd4)](_0x168118);}async[_0x104de5(0xec)](_0x4cf187){const _0x50a568=_0x104de5,_0x3b3df3=this[_0x50a568(0xe8)][_0x50a568(0xb2)][_0x50a568(0xd4)](_0xde4061),{connection:_0x1509cc}=this[_0x50a568(0xe8)][_0x50a568(0xb2)][_0x50a568(0xd4)](_0x1e38ac),_0x5f4e1d=new Set();for(const {resolvedBy:_0x3ca39d,comments:_0x56ad01}of _0x4cf187){_0x3ca39d&&!_0x3b3df3[_0x50a568(0xd9)](_0x3ca39d)&&_0x5f4e1d[_0x50a568(0xab)](_0x3ca39d);for(const {userId:_0x21ed5b}of _0x56ad01)_0x3b3df3[_0x50a568(0xd9)](_0x21ed5b)||_0x5f4e1d[_0x50a568(0xab)](_0x21ed5b);}if(0x0===_0x5f4e1d[_0x50a568(0xd0)])return;const _0x53d417=await _0x29bd84[_0x50a568(0xd8)](_0x1509cc,Array[_0x50a568(0xd1)](_0x5f4e1d));for(const _0x55690c of _0x53d417)_0x3b3df3[_0x50a568(0xd9)](_0x55690c['id'])||_0x3b3df3[_0x50a568(0xff)](_0x55690c);}}export{s as CloudServicesCommentsAdapter};async function B(_0x1e78f2){const _0x263e09=_0x104de5;if(_0x263e09(0xc9)!==_0x1e78f2[_0x263e09(0xdc)])throw _0x1e78f2;}function C(_0x3d3dcb){const _0x5cdc1b=_0x104de5;if((_0x1137e6=_0x3d3dcb)[_0x5cdc1b(0xb3)][_0x5cdc1b(0xb4)](_0x5cdc1b(0xaf))||_0x1137e6[_0x5cdc1b(0xb3)][_0x5cdc1b(0xb4)](_0x5cdc1b(0x9d))||_0x1137e6[_0x5cdc1b(0xb3)][_0x5cdc1b(0xb4)](_0x5cdc1b(0xa3)))return new Promise(()=>{});var _0x1137e6;throw _0x3d3dcb;}function U(_0x22ed29){const _0x1188cd=_0x104de5;return{'threadId':_0x22ed29[_0x1188cd(0xe7)],'commentId':_0x22ed29[_0x1188cd(0xc3)],'content':_0x22ed29[_0x1188cd(0xf9)],'createdAt':_0x22ed29[_0x1188cd(0xb8)],'authorId':_0x22ed29[_0x1188cd(0xb7)],'attributes':_0x22ed29[_0x1188cd(0xaa)]||{}};}
23
+ const _0x36719e=_0x21e5;(function(_0x36fc57,_0x123b09){const _0xb8e87=_0x21e5,_0x1d2da0=_0x36fc57();while(!![]){try{const _0x4744fb=parseInt(_0xb8e87(0x217))/0x1*(parseInt(_0xb8e87(0x209))/0x2)+-parseInt(_0xb8e87(0x21f))/0x3*(-parseInt(_0xb8e87(0x22f))/0x4)+parseInt(_0xb8e87(0x237))/0x5*(-parseInt(_0xb8e87(0x224))/0x6)+-parseInt(_0xb8e87(0x200))/0x7+parseInt(_0xb8e87(0x223))/0x8+-parseInt(_0xb8e87(0x206))/0x9*(parseInt(_0xb8e87(0x23d))/0xa)+-parseInt(_0xb8e87(0x240))/0xb*(parseInt(_0xb8e87(0x1ff))/0xc);if(_0x4744fb===_0x123b09)break;else _0x1d2da0['push'](_0x1d2da0['shift']());}catch(_0x4695c9){_0x1d2da0['push'](_0x1d2da0['shift']());}}}(_0x2e6b,0x1cb31));import{Context as _0x24a958,ContextPlugin as _0xdeba2d}from'ckeditor5/src/core.js';import{CKEditorError as _0x18cbd9}from'ckeditor5/src/utils.js';import{Users as _0xa7afd6}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x58b088,User as _0x32e914}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5c2b68}from'../realtimecollaborativeediting/websocketgateway.js';function _0x2e6b(){const _0x31fb25=['reopen','60890DfLeyd','updateCommentThread','unregister','commentThreadRemoved','commentThreadResolved','getComment','30WDfSjh','addUser','authorId','99ZxrTkl','cloud-services-internal-error:\x20Not\x20connected.','deletedAt','cloudservicescommentsadapter-connect-already-connected','assign','resolvedAt','getUser','map','delete','plugins','_connectService','set','addComment','commentUpdated','size','getMany','404','getConnectedSessions','resolveCommentThread','connect','_setUpService','updateComment','collaboration.channelId','catch','content','disconnect','isOfficialPlugin','keys','init','register','attributes','setPermissions','adapter','removeComment','config','_fetchMissingUsersForThreads','commentAdded','commentThreadReopened','cloudservicescommentsadapter-service-not-exist','35616yRURlQ','10808wtPbLB','getCommentThreads','userId','sessionAdd:','commentRemoved','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','210069QmSqsy','commentThreadUpdated','commentThreadId','22ODpPyI','startsWith','update','getCommentThread','add','comments','permissions','resolve','CommentsRepository','resolvedBy','addToReconnectionStack','CommentsService','context','_getService','2391ESJNKM','remove','addCommentThread','from','code','_terminateService','listenTo','pluginName','2721XhvYfL','get','createdAt','commentId','638176WkLeKF','42tKgIsc','commentThreadAdded','requires','cloudservicescommentsadapter-disconnect-not-exist','isPremiumPlugin','removeCommentThread','mySessionId','cloud-services-internal-error:\x20Request\x20timeout.','reconnect','_services','CloudServicesCommentsAdapter','860mYmBkp','message','reopenCommentThread','has','Permissions','destroy','off'];_0x2e6b=function(){return _0x31fb25;};return _0x2e6b();}import{Sessions as _0x46f592}from'../realtimecollaborativeediting/sessions.js';class s extends _0xdeba2d{static [_0x36719e(0x214)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x58b088)());[_0x36719e(0x22d)];static get[_0x36719e(0x226)](){const _0x260ec1=_0x36719e;return[_0x5c2b68,_0x260ec1(0x211),_0x46f592,_0xa7afd6];}static get[_0x36719e(0x21e)](){const _0x3698d7=_0x36719e;return _0x3698d7(0x22e);}static get[_0x36719e(0x1f2)](){return!0x0;}static get[_0x36719e(0x228)](){return!0x0;}constructor(_0x36fc9b){const _0x301554=_0x36719e;super(_0x36fc9b),this[_0x301554(0x22d)]=new Map();}async[_0x36719e(0x1f4)](){const _0x255197=_0x36719e,_0x31d221=this[_0x255197(0x215)],_0x5829d2=_0x31d221[_0x255197(0x249)][_0x255197(0x220)](_0x255197(0x211));if(_0x31d221[_0x255197(0x249)][_0x255197(0x220)](_0x5c2b68)[_0x255197(0x213)](this),_0x5829d2[_0x255197(0x1f8)]={'addCommentThread':async({channelId:_0x39eb4b,threadId:_0x3b4734,comments:_0x46c914,resolvedAt:_0x22f02e,resolvedBy:_0x354a84,context:_0x4dad6c,attributes:_0x35b914})=>{const _0x2ad26f=_0x255197,_0x5c7ab1=await this[_0x2ad26f(0x216)](_0x39eb4b)[_0x2ad26f(0x219)]({'commentThreadId':_0x3b4734,'comments':_0x46c914[_0x2ad26f(0x247)](_0x16e9bd=>function(_0x4bbc98,_0x48a813,_0x55ae6b){const _0x132d2a=_0x2ad26f;return{'commentThreadId':_0x55ae6b,'commentId':_0x4bbc98[_0x132d2a(0x222)],'userId':_0x4bbc98[_0x132d2a(0x23f)],'content':_0x4bbc98[_0x132d2a(0x1f0)],'documentId':_0x48a813,'createdAt':_0x4bbc98[_0x132d2a(0x221)],'attributes':_0x4bbc98[_0x132d2a(0x1f6)]||{}};}(_0x16e9bd,_0x39eb4b,_0x3b4734)),'resolvedAt':_0x22f02e,'resolvedBy':_0x354a84,'context':_0x4dad6c,'attributes':_0x35b914})[_0x2ad26f(0x1ef)](A);return{'threadId':_0x5c7ab1[_0x2ad26f(0x208)],'comments':_0x5c7ab1[_0x2ad26f(0x20e)]};},'getCommentThread':async({channelId:_0x5f3061,threadId:_0x5dbd9a})=>{const _0xcf51fc=_0x255197,_0x500d82=await this[_0xcf51fc(0x216)](_0x5f3061)[_0xcf51fc(0x20c)](_0x5dbd9a)[_0xcf51fc(0x1ef)](A);return _0x500d82[_0xcf51fc(0x242)]?null:(await this[_0xcf51fc(0x1fb)]([_0x500d82]),{'threadId':_0x500d82[_0xcf51fc(0x208)],'comments':_0x500d82[_0xcf51fc(0x20e)][_0xcf51fc(0x247)](p),'context':_0x500d82[_0xcf51fc(0x215)],'resolvedAt':_0x500d82[_0xcf51fc(0x245)],'resolvedBy':_0x500d82[_0xcf51fc(0x212)],'attributes':_0x500d82[_0xcf51fc(0x1f6)]||{}});},'updateCommentThread':async({channelId:_0x30d459,threadId:_0x30f71a,context:_0x3c79f6,unlinkedAt:_0x523c14,attributes:_0x3e5122})=>this[_0x255197(0x216)](_0x30d459)[_0x255197(0x238)]({'commentThreadId':_0x30f71a,'context':_0x3c79f6,'attributes':_0x3e5122,'unlinkedAt':_0x523c14})[_0x255197(0x1ef)](v)[_0x255197(0x1ef)](A),'resolveCommentThread':async({channelId:_0x108110,threadId:_0x35286a})=>{const _0x5992f1=_0x255197,_0x4ae520=await this[_0x5992f1(0x216)](_0x108110)[_0x5992f1(0x1ea)](_0x35286a)[_0x5992f1(0x1ef)](v)[_0x5992f1(0x1ef)](A);return{'threadId':_0x4ae520[_0x5992f1(0x208)],'resolvedAt':_0x4ae520[_0x5992f1(0x245)],'resolvedBy':_0x4ae520[_0x5992f1(0x212)]};},'reopenCommentThread':async({channelId:_0xf0ef75,threadId:_0x19f456})=>this[_0x255197(0x216)](_0xf0ef75)[_0x255197(0x231)](_0x19f456)[_0x255197(0x1ef)](v)[_0x255197(0x1ef)](A),'removeCommentThread':({channelId:_0x2c0ae7,threadId:_0x3b8131})=>this[_0x255197(0x216)](_0x2c0ae7)[_0x255197(0x229)](_0x3b8131)[_0x255197(0x1ef)](v)[_0x255197(0x1ef)](A),'addComment':({channelId:_0x2a0700,threadId:_0xb45512,commentId:_0x1981cb,content:_0x2822c1,attributes:_0x1fce3f})=>this[_0x255197(0x216)](_0x2a0700)[_0x255197(0x24c)](_0xb45512,_0x1981cb,_0x2822c1,_0x1fce3f)[_0x255197(0x1ef)](A),'updateComment':({channelId:_0xf883ff,threadId:_0x50e842,commentId:_0x519611,content:_0x9f4dd9,attributes:_0x5119a5})=>this[_0x255197(0x216)](_0xf883ff)[_0x255197(0x1ed)](_0x50e842,_0x519611,_0x9f4dd9,_0x5119a5)[_0x255197(0x1ef)](v)[_0x255197(0x1ef)](A),'removeComment':({channelId:_0x525af8,threadId:_0x1b2e82,commentId:_0x2a44f1})=>this[_0x255197(0x216)](_0x525af8)[_0x255197(0x1f9)](_0x1b2e82,_0x2a44f1)[_0x255197(0x1ef)](v)[_0x255197(0x1ef)](A)},_0x31d221 instanceof _0x24a958){const _0x3949c9=_0x31d221[_0x255197(0x1fa)][_0x255197(0x220)](_0x255197(0x1ee)),_0xb3d683=_0x31d221[_0x255197(0x249)][_0x255197(0x220)](_0x46f592);await this[_0x255197(0x1ec)](_0x3949c9);const _0x5c28de=await this[_0x255197(0x22d)][_0x255197(0x220)](_0x3949c9)[_0x255197(0x1e9)]();this[_0x255197(0x21d)](_0xb3d683,_0x255197(0x203)+_0x3949c9,(_0x10a7f5,{session:_0x10e0c2})=>{const _0x3d9f74=_0x255197;_0x10e0c2['id']===_0xb3d683[_0x3d9f74(0x22a)]&&(_0x10a7f5[_0x3d9f74(0x235)](),this[_0x3d9f74(0x215)][_0x3d9f74(0x249)][_0x3d9f74(0x220)](_0x3d9f74(0x233))[_0x3d9f74(0x1f7)](_0x10e0c2[_0x3d9f74(0x20f)],_0x3949c9));}),_0xb3d683[_0x255197(0x1f5)](_0x3949c9,_0x5c28de);}}async[_0x36719e(0x1ec)](_0xb79498){const _0x7e1f94=_0x36719e;if(this[_0x7e1f94(0x22d)][_0x7e1f94(0x232)](_0xb79498))throw new _0x18cbd9(_0x7e1f94(0x243),null,{'channelId':_0xb79498});const _0x396bae=this[_0x7e1f94(0x215)][_0x7e1f94(0x249)][_0x7e1f94(0x220)](_0x7e1f94(0x211)),_0x214295=new s[(_0x7e1f94(0x214))](_0xb79498);this[_0x7e1f94(0x22d)][_0x7e1f94(0x24b)](_0xb79498,_0x214295),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x225),(_0x2c7627,_0x38e4f4)=>{const _0x1b8958=_0x7e1f94,{commentThreadId:_0x2f986c,documentId:_0x596e26,context:_0xba2b5b,attributes:_0x145351,resolvedAt:_0x5792c2,resolvedBy:_0x13667,comments:_0x1793e1}=_0x38e4f4;_0x396bae[_0x1b8958(0x20c)](_0x2f986c)||_0x396bae[_0x1b8958(0x219)]({'threadId':_0x2f986c,'channelId':_0x596e26,'comments':_0x1793e1?_0x1793e1[_0x1b8958(0x247)](p):[],'context':_0xba2b5b,'attributes':_0x145351,'resolvedAt':_0x5792c2,'resolvedBy':_0x13667,'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x207),(_0x37f002,{commentThreadId:_0x3e6be0,documentId:_0x199086,context:_0x570f03,unlinkedAt:_0x210398,attributes:_0x307ae7})=>{const _0x528c0a=_0x7e1f94;_0x396bae[_0x528c0a(0x20c)](_0x3e6be0)&&_0x396bae[_0x528c0a(0x238)]({'threadId':_0x3e6be0,'channelId':_0x199086,'context':_0x570f03,'unlinkedAt':_0x210398,'attributes':_0x307ae7,'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x23b),(_0x2c944d,{commentThreadId:_0x12984a,resolvedBy:_0x58512b,resolvedAt:_0x43b76d})=>{const _0x32adda=_0x7e1f94,_0x3c16e4=_0x396bae[_0x32adda(0x20c)](_0x12984a);_0x3c16e4&&_0x3c16e4[_0x32adda(0x210)]({'resolvedBy':_0x58512b,'resolvedAt':_0x43b76d,'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x1fd),(_0x5ffd78,{commentThreadId:_0x128d65})=>{const _0x3ca243=_0x7e1f94,_0x133118=_0x396bae[_0x3ca243(0x20c)](_0x128d65);_0x133118&&_0x133118[_0x3ca243(0x236)]({'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x23a),(_0xd02963,{commentThreadId:_0x539ec1})=>{const _0x2515da=_0x7e1f94,_0x4a8a25=_0x396bae[_0x2515da(0x20c)](_0x539ec1);_0x4a8a25&&_0x4a8a25[_0x2515da(0x218)]({'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x1fc),(_0x5cda7d,_0x57cb8d)=>{const _0x48ee42=_0x7e1f94,_0x2b6dc0=_0x57cb8d[_0x48ee42(0x208)],_0x3ea7ae=_0x396bae[_0x48ee42(0x20c)](_0x2b6dc0);_0x3ea7ae&&_0x3ea7ae[_0x48ee42(0x24c)]({...p(_0x57cb8d),'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x24d),(_0x56fcf4,{commentThreadId:_0x2e1eb2,commentId:_0x3055ad,content:_0x5115cb,attributes:_0x4b5498})=>{const _0x2eb6f0=_0x7e1f94,_0x24b364=_0x396bae[_0x2eb6f0(0x20c)](_0x2e1eb2);if(_0x24b364){const _0x278aee=_0x24b364[_0x2eb6f0(0x23c)](_0x3055ad);_0x278aee&&_0x278aee[_0x2eb6f0(0x20b)]({'content':_0x5115cb,'attributes':_0x4b5498,'isFromAdapter':!0x0});}}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x204),(_0x478c96,{commentThreadId:_0x4edb65,commentId:_0x37ae9d})=>{const _0x38dfdb=_0x7e1f94,_0x4239b2=_0x396bae[_0x38dfdb(0x20c)](_0x4edb65);if(_0x4239b2){const _0x48c7e1=_0x4239b2[_0x38dfdb(0x23c)](_0x37ae9d);_0x48c7e1&&_0x48c7e1[_0x38dfdb(0x218)]({'isFromAdapter':!0x0});}}),await this[_0x7e1f94(0x24a)](_0xb79498);}[_0x36719e(0x234)](){const _0x189248=_0x36719e;if(this[_0x189248(0x215)]instanceof _0x24a958){const _0x333891=this[_0x189248(0x215)][_0x189248(0x1fa)][_0x189248(0x220)](_0x189248(0x1ee));this[_0x189248(0x21c)](_0x333891);}}[_0x36719e(0x21c)](_0x27fba5){const _0x1937d3=_0x36719e;if(!this[_0x1937d3(0x22d)][_0x1937d3(0x232)](_0x27fba5))throw new _0x18cbd9(_0x1937d3(0x227),null,{'channelId':_0x27fba5});this[_0x1937d3(0x216)](_0x27fba5)[_0x1937d3(0x1f1)](),this[_0x1937d3(0x22d)][_0x1937d3(0x248)](_0x27fba5);}async[_0x36719e(0x22c)](){const _0x45dc07=_0x36719e;for(const _0x531fc0 of this[_0x45dc07(0x22d)][_0x45dc07(0x1f3)]())await this[_0x45dc07(0x24a)](_0x531fc0);if(this[_0x45dc07(0x215)]instanceof _0x24a958){const _0x171021=this[_0x45dc07(0x215)][_0x45dc07(0x1fa)][_0x45dc07(0x220)](_0x45dc07(0x1ee)),_0x279ddc=this[_0x45dc07(0x215)][_0x45dc07(0x249)][_0x45dc07(0x220)](_0x46f592);_0x279ddc[_0x45dc07(0x239)](_0x171021);const _0x1e17b5=await this[_0x45dc07(0x22d)][_0x45dc07(0x220)](_0x171021)[_0x45dc07(0x1e9)]();_0x279ddc[_0x45dc07(0x1f5)](_0x171021,_0x1e17b5);}}async[_0x36719e(0x24a)](_0x17f4c7){const _0x49d0a7=_0x36719e,{connection:_0x4c9d93}=this[_0x49d0a7(0x215)][_0x49d0a7(0x249)][_0x49d0a7(0x220)](_0x5c2b68),_0x3db33d=this[_0x49d0a7(0x215)][_0x49d0a7(0x249)][_0x49d0a7(0x220)](_0x49d0a7(0x211)),_0x32a5c5=this[_0x49d0a7(0x22d)][_0x49d0a7(0x220)](_0x17f4c7),_0x69c840=await _0x32a5c5[_0x49d0a7(0x1eb)](_0x4c9d93);await this[_0x49d0a7(0x1fb)](_0x69c840);const _0x1731e8=new Set(Array[_0x49d0a7(0x21a)](_0x3db33d[_0x49d0a7(0x201)]({'channelId':_0x17f4c7}),_0x300a0d=>_0x300a0d['id']));for(const _0x41aee1 of _0x69c840)_0x41aee1[_0x49d0a7(0x242)]||_0x1731e8[_0x49d0a7(0x248)](_0x41aee1[_0x49d0a7(0x208)]);for(const _0xebb27 of _0x1731e8)_0x3db33d[_0x49d0a7(0x20c)](_0xebb27)[_0x49d0a7(0x218)]({'isFromAdapter':!0x0});for(const _0x34500c of _0x69c840){let _0x13f7df=_0x3db33d[_0x49d0a7(0x20c)](_0x34500c[_0x49d0a7(0x208)]);const {commentThreadId:_0x2af6c9,context:_0x418221,attributes:_0x46c4e5,resolvedBy:_0x479299,resolvedAt:_0xa181b1,unlinkedAt:_0x3fc922,deletedAt:_0x101dc5}=_0x34500c;if(_0x101dc5)continue;_0x13f7df||(_0x13f7df=_0x3db33d[_0x49d0a7(0x219)]({'channelId':_0x17f4c7,'threadId':_0x2af6c9,'context':_0x418221,'attributes':_0x46c4e5||{},'resolvedBy':_0x479299,'resolvedAt':_0xa181b1,'unlinkedAt':_0x3fc922,'isFromAdapter':!0x0}));const _0x2e823a=new Set(Array[_0x49d0a7(0x21a)](_0x13f7df[_0x49d0a7(0x20e)],_0x241a58=>_0x241a58['id']));for(const _0x4701f9 of _0x34500c[_0x49d0a7(0x20e)])_0x2e823a[_0x49d0a7(0x248)](_0x4701f9[_0x49d0a7(0x222)]);for(const _0x44de6c of _0x2e823a)_0x13f7df[_0x49d0a7(0x23c)](_0x44de6c)[_0x49d0a7(0x218)]({'isFromAdapter':!0x0});for(const _0x466f01 of _0x34500c[_0x49d0a7(0x20e)]){const _0x15c609=_0x13f7df[_0x49d0a7(0x23c)](_0x466f01[_0x49d0a7(0x222)]);_0x15c609?_0x15c609[_0x49d0a7(0x1f0)]!==_0x466f01[_0x49d0a7(0x1f0)]&&_0x15c609[_0x49d0a7(0x20b)]({'content':_0x466f01[_0x49d0a7(0x1f0)],'isFromAdapter':!0x0}):_0x13f7df[_0x49d0a7(0x24c)](Object[_0x49d0a7(0x244)](p(_0x466f01),{'isFromAdapter':!0x0}));}}}[_0x36719e(0x216)](_0x47672c){const _0x3d4adf=_0x36719e;if(!this[_0x3d4adf(0x22d)][_0x3d4adf(0x232)](_0x47672c))throw new _0x18cbd9(_0x3d4adf(0x1fe),null,{'channelId':_0x47672c});return this[_0x3d4adf(0x22d)][_0x3d4adf(0x220)](_0x47672c);}async[_0x36719e(0x1fb)](_0x2ecbf5){const _0x29561b=_0x36719e,_0x5bba47=this[_0x29561b(0x215)][_0x29561b(0x249)][_0x29561b(0x220)](_0xa7afd6),{connection:_0x15146f}=this[_0x29561b(0x215)][_0x29561b(0x249)][_0x29561b(0x220)](_0x5c2b68),_0x33bd8d=new Set();for(const {resolvedBy:_0x21d167,comments:_0xb10ef1}of _0x2ecbf5){_0x21d167&&!_0x5bba47[_0x29561b(0x246)](_0x21d167)&&_0x33bd8d[_0x29561b(0x20d)](_0x21d167);for(const {userId:_0x42e3fc}of _0xb10ef1)_0x5bba47[_0x29561b(0x246)](_0x42e3fc)||_0x33bd8d[_0x29561b(0x20d)](_0x42e3fc);}if(0x0===_0x33bd8d[_0x29561b(0x1e6)])return;const _0x2c9525=await _0x32e914[_0x29561b(0x1e7)](_0x15146f,Array[_0x29561b(0x21a)](_0x33bd8d));for(const _0x8bccf of _0x2c9525)_0x5bba47[_0x29561b(0x246)](_0x8bccf['id'])||_0x5bba47[_0x29561b(0x23e)](_0x8bccf);}}export{s as CloudServicesCommentsAdapter};async function v(_0x39cea7){const _0x470f70=_0x36719e;if(_0x470f70(0x1e8)!==_0x39cea7[_0x470f70(0x21b)])throw _0x39cea7;}function A(_0x92ee4){const _0x3c7f7b=_0x36719e;if((_0x30918b=_0x92ee4)[_0x3c7f7b(0x230)][_0x3c7f7b(0x20a)](_0x3c7f7b(0x205))||_0x30918b[_0x3c7f7b(0x230)][_0x3c7f7b(0x20a)](_0x3c7f7b(0x241))||_0x30918b[_0x3c7f7b(0x230)][_0x3c7f7b(0x20a)](_0x3c7f7b(0x22b)))return new Promise(()=>{});var _0x30918b;throw _0x92ee4;}function _0x21e5(_0x376a59,_0x123784){const _0x2e6bbd=_0x2e6b();return _0x21e5=function(_0x21e52c,_0x2c42d5){_0x21e52c=_0x21e52c-0x1e6;let _0x477f23=_0x2e6bbd[_0x21e52c];return _0x477f23;},_0x21e5(_0x376a59,_0x123784);}function p(_0x16e977){const _0x5679c8=_0x36719e;return{'threadId':_0x16e977[_0x5679c8(0x208)],'commentId':_0x16e977[_0x5679c8(0x222)],'content':_0x16e977[_0x5679c8(0x1f0)],'createdAt':_0x16e977[_0x5679c8(0x221)],'authorId':_0x16e977[_0x5679c8(0x202)],'attributes':_0x16e977[_0x5679c8(0x1f6)]||{}};}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x980336=_0x1b6a;(function(_0x50042a,_0x31f013){const _0x46680a=_0x1b6a,_0x1de989=_0x50042a();while(!![]){try{const _0x39691e=-parseInt(_0x46680a(0x122))/0x1*(-parseInt(_0x46680a(0x1b7))/0x2)+parseInt(_0x46680a(0x17f))/0x3+parseInt(_0x46680a(0x148))/0x4*(-parseInt(_0x46680a(0x162))/0x5)+-parseInt(_0x46680a(0x1de))/0x6+parseInt(_0x46680a(0x1af))/0x7+parseInt(_0x46680a(0x171))/0x8*(parseInt(_0x46680a(0x1a2))/0x9)+-parseInt(_0x46680a(0x13a))/0xa*(parseInt(_0x46680a(0x204))/0xb);if(_0x39691e===_0x31f013)break;else _0x1de989['push'](_0x1de989['shift']());}catch(_0x3982c1){_0x1de989['push'](_0x1de989['shift']());}}}(_0x4dcb,0xac91d));import{Plugin as _0x1ca9f7,PendingActions as _0x5e3c28}from'ckeditor5/src/core.js';import{CKEditorError as _0x43e1c2,version as _0x3ca235,uid as _0x4c34ba}from'ckeditor5/src/utils.js';import{Notification as _0x458fd3}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x344f50,NoOperation as _0x1c9742,InsertOperation as _0x45c472,MarkerOperation as _0x1af574,RootAttributeOperation as _0xd59741,OperationFactory as _0x4fa64a,History as _0x438fcc}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1cc2c1}from'./websocketgateway.js';function _0x1b6a(_0x1edeb6,_0x922f00){const _0x4dcbc8=_0x4dcb();return _0x1b6a=function(_0x1b6a29,_0x4da6af){_0x1b6a29=_0x1b6a29-0xfe;let _0x234a91=_0x4dcbc8[_0x1b6a29];return _0x234a91;},_0x1b6a(_0x1edeb6,_0x922f00);}import{Sessions as _0x358490}from'./sessions.js';import{UserMarkers as _0x20cfdf}from'./usermarkers.js';import{getTranslation as _0x134411}from'../common-translations.js';import{Compressor as _0xc93cee}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xfec9fd}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x35cc0d,CollaborativeEditingService as _0xefe054}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let X=0x1;class l extends _0x1ca9f7{static [_0x980336(0x1e2)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0xefe054)());[_0x980336(0x1d5)];[_0x980336(0x195)];[_0x980336(0x182)];[_0x980336(0x1c0)];[_0x980336(0x172)];[_0x980336(0x1c7)];[_0x980336(0x129)];[_0x980336(0x120)];[_0x980336(0x133)];[_0x980336(0x13f)];[_0x980336(0x1d0)];[_0x980336(0x1c3)];[_0x980336(0x158)];[_0x980336(0x1e0)];[_0x980336(0x14e)];[_0x980336(0x19a)];[_0x980336(0x115)];[_0x980336(0x150)];static get[_0x980336(0x1b4)](){return[_0x1cc2c1,_0x358490,_0x20cfdf,_0x5e3c28,_0xfec9fd,_0x458fd3];}static get[_0x980336(0x145)](){const _0x3467a7=_0x980336;return _0x3467a7(0x1a4);}static get[_0x980336(0x18c)](){return!0x0;}static get[_0x980336(0x1db)](){return!0x0;}get[_0x980336(0x105)](){const _0x228175=_0x980336;return this[_0x228175(0x1bb)]+this[_0x228175(0x1d5)];}get[_0x980336(0x1bb)](){const _0x5561b0=_0x980336;return this[_0x5561b0(0x182)][_0x5561b0(0x156)]-this[_0x5561b0(0x1d5)];}get[_0x980336(0x152)](){const _0x3cfcf5=_0x980336,_0x247747=this[_0x3cfcf5(0x182)][_0x3cfcf5(0x1b8)]();for(let _0x1b3933=_0x247747[_0x3cfcf5(0x134)]-0x1;_0x1b3933>=0x0;_0x1b3933--){const _0xe3eaee=_0x247747[_0x1b3933];if(!this[_0x3cfcf5(0x115)][_0x3cfcf5(0x1cd)](_0xe3eaee))return _0xe3eaee[_0x3cfcf5(0x16d)]+0x1-this[_0x3cfcf5(0x1d5)];}return 0x0;}constructor(_0x565d6c){const _0x225099=_0x980336;if(super(_0x565d6c),this[_0x225099(0x1d5)]=0x0,this[_0x225099(0x195)]=null,this[_0x225099(0x182)]=new _0x438fcc(),this[_0x225099(0x113)][_0x225099(0x1da)][_0x225099(0x16a)](_0x225099(0x10c),{}),this[_0x225099(0x1c0)]=this[_0x225099(0x113)][_0x225099(0x1da)][_0x225099(0x1f0)](_0x225099(0x1ad)),!this[_0x225099(0x1c0)])throw new _0x43e1c2(_0x225099(0x141),this);const _0x1e3f2f=_0x565d6c[_0x225099(0x1da)][_0x225099(0x1f0)](_0x225099(0x149))||_0x3ca235;this[_0x225099(0x172)]=new l[(_0x225099(0x1e2))](_0x1e3f2f,this[_0x225099(0x1c0)]),this[_0x225099(0x1c7)]=this[_0x225099(0x113)][_0x225099(0x166)][_0x225099(0x1b2)],this[_0x225099(0x129)]=new _0xc93cee(),this[_0x225099(0x120)]=[],this[_0x225099(0x133)]=new WeakSet(),this[_0x225099(0x13f)]=new Set(),this[_0x225099(0x15b)](_0x225099(0x127),!0x1),this[_0x225099(0x15b)](_0x225099(0x200),!0x1),this[_0x225099(0x1d0)]=null,this[_0x225099(0x1c3)]=!0x1,this[_0x225099(0x158)]=null,this[_0x225099(0x1e0)]=0x12c,this[_0x225099(0x14e)]=this[_0x225099(0x1e0)],this[_0x225099(0x19a)]=null,this[_0x225099(0x115)]=new WeakSet(),this[_0x225099(0x150)]=new tt(this[_0x225099(0x115)]);}[_0x980336(0x128)](){const _0x5df68a=_0x980336,_0x5a5549=this[_0x5df68a(0x113)],_0x4f1473=_0x5a5549[_0x5df68a(0x1be)][_0x5df68a(0x1f0)](_0xfec9fd),_0xb760a9=_0x5a5549[_0x5df68a(0x1be)][_0x5df68a(0x1f0)](_0x1cc2c1);this[_0x5df68a(0x177)](_0x4f1473,_0x5df68a(0x19e),(_0x401e5a,_0x2d4933)=>{const _0x1b745a=_0x5df68a,_0x586d98=_0x2d4933[0x0];_0x586d98[_0x1b745a(0x18e)]&&(_0x401e5a[_0x1b745a(0x14d)]=_0x4f1473[_0x1b745a(0x140)](_0x586d98[_0x1b745a(0x18e)]),_0x401e5a[_0x1b745a(0x1c9)]()),null===_0x586d98[_0x1b745a(0x18e)]&&(_0x401e5a[_0x1b745a(0x14d)]=null,_0x401e5a[_0x1b745a(0x1c9)]());},{'priority':_0x5df68a(0x1ba)}),this[_0x5df68a(0x177)](_0x5a5549[_0x5df68a(0x166)][_0x5df68a(0x1b2)][_0x5df68a(0x1bc)],_0x5df68a(0x11c),(_0xef0e3a,_0x295151)=>{const _0xd2dbb1=_0x5df68a;_0x295151[_0xd2dbb1(0x19c)]&&this[_0xd2dbb1(0x136)]();}),this[_0x5df68a(0x177)](_0x5a5549[_0x5df68a(0x1a8)][_0x5df68a(0x19d)],_0x5df68a(0x103),()=>{const _0x445451=_0x5df68a;this[_0x445451(0x136)]();}),this[_0x5df68a(0x15e)](),_0x5a5549[_0x5df68a(0x166)]['on'](_0x5df68a(0x169),(_0x434964,_0x4633b2)=>{const _0x2aa273=_0x5df68a,_0x22b9a5=_0x4633b2[0x0];_0x22b9a5[_0x2aa273(0x1b0)]&&(this[_0x2aa273(0x1ec)](_0x22b9a5),this[_0x2aa273(0x1d6)]()&&this[_0x2aa273(0x191)]());}),this[_0x5df68a(0x154)](),this[_0x5df68a(0x1e5)](_0x5df68a(0x163))['to'](_0xb760a9,_0x5df68a(0x124),this,_0x5df68a(0x200),(_0xbb2c53,_0x4cfbde)=>_0x5df68a(0x178)===_0xbb2c53&&!_0x4cfbde),this['on'](_0x5df68a(0x176),()=>{const _0x18bc42=_0x5df68a;this[_0x18bc42(0x163)]?_0x5a5549[_0x18bc42(0x126)](_0x18bc42(0x131)):_0x5a5549[_0x18bc42(0x14a)](_0x18bc42(0x131));}),this[_0x5df68a(0x163)]?_0x5a5549[_0x5df68a(0x126)](_0x5df68a(0x131)):_0x5a5549[_0x5df68a(0x14a)](_0x5df68a(0x131)),this[_0x5df68a(0x15b)](_0x5df68a(0x1f1),!0x1);}async[_0x980336(0x1e3)](){const _0x1e2fa5=_0x980336,_0x459550=this[_0x1e2fa5(0x113)][_0x1e2fa5(0x1be)][_0x1e2fa5(0x1f0)](_0x358490),_0x2cac9b=this[_0x1e2fa5(0x113)][_0x1e2fa5(0x1be)][_0x1e2fa5(0x1f0)](_0x1cc2c1);try{this[_0x1e2fa5(0x127)]=!0x0,_0x459550[_0x1e2fa5(0x15f)](this[_0x1e2fa5(0x1c0)]);const _0x5d94c3=await this[_0x1e2fa5(0x172)][_0x1e2fa5(0x1e3)](_0x2cac9b[_0x1e2fa5(0x108)],this[_0x1e2fa5(0x152)]);await this[_0x1e2fa5(0x10a)](_0x5d94c3)&&(this[_0x1e2fa5(0x127)]=!0x1,this[_0x1e2fa5(0x185)]());const _0x1a4fbc=await this[_0x1e2fa5(0x172)][_0x1e2fa5(0x1bf)]();_0x459550[_0x1e2fa5(0x1f6)](this[_0x1e2fa5(0x1c0)],_0x1a4fbc),this[_0x1e2fa5(0x1ea)](),this[_0x1e2fa5(0x1f1)]=!0x0;}catch(_0x309f55){if(function(_0x4f1970){const _0x826163=_0x1e2fa5;return _0x826163(0x1a6)===_0x4f1970[_0x826163(0x17e)];}(_0x309f55)&&this[_0x1e2fa5(0x195)])await this[_0x1e2fa5(0x1d1)]();else{if(function(_0x325271){const _0x94afc=_0x1e2fa5;return _0x94afc(0x1c4)===_0x325271[_0x94afc(0x17e)];}(_0x309f55)){const _0x2ad8fd=_0x134411(this[_0x1e2fa5(0x113)][_0x1e2fa5(0x193)],_0x1e2fa5(0x1ef));this[_0x1e2fa5(0x138)](_0x2ad8fd);}else{if(!(_0x309f55 instanceof Y))throw _0x309f55;this[_0x1e2fa5(0x138)]();}}}}[_0x980336(0x19f)](){const _0x391d44=_0x980336,_0x43dd4f=this[_0x391d44(0x113)][_0x391d44(0x1be)][_0x391d44(0x1f0)](_0x1cc2c1),_0x451ea9=this[_0x391d44(0x113)][_0x391d44(0x1be)][_0x391d44(0x1f0)](_0x358490);this[_0x391d44(0x113)][_0x391d44(0x14a)](_0x391d44(0x174)),_0x451ea9[_0x391d44(0x1bd)][_0x391d44(0x1cd)](this[_0x391d44(0x1c0)])&&_0x451ea9[_0x391d44(0x15f)](this[_0x391d44(0x1c0)]),_0x43dd4f[_0x391d44(0x1f8)](this),this[_0x391d44(0x11d)](),super[_0x391d44(0x19f)]();}async[_0x980336(0x10a)](_0x985d21){const _0x369354=_0x980336;if(this[_0x369354(0x195)]!==_0x985d21[_0x369354(0x195)]&&this[_0x369354(0x19a)]!==_0x985d21[_0x369354(0x190)])throw new Y();return this[_0x369354(0x195)]=_0x985d21[_0x369354(0x195)],this[_0x369354(0x201)]([],{..._0x985d21,'wereChangesApplied':!0x1,'data':_0x985d21[_0x369354(0x111)]},_0x369354(0x1e3));}async[_0x980336(0x1b1)](_0x4ad07d,_0x59fde8=!0x1){const _0x23ceeb=_0x980336,{connection:_0x559dd7}=this[_0x23ceeb(0x113)][_0x23ceeb(0x1be)][_0x23ceeb(0x1f0)](_0x1cc2c1);l[_0x23ceeb(0x1e2)][_0x23ceeb(0x1bf)](_0x559dd7,this[_0x23ceeb(0x1c0)])[_0x23ceeb(0x19b)](_0x454fcd=>this[_0x23ceeb(0x1d2)](_0x454fcd))[_0x23ceeb(0x1e8)](_0x204a2=>{const _0x21fc5f=_0x23ceeb;this[_0x21fc5f(0x181)](_0x21fc5f(0x14c),_0x204a2);}),this[_0x23ceeb(0x177)](this[_0x23ceeb(0x172)],_0x23ceeb(0x197),this[_0x23ceeb(0x1fb)][_0x23ceeb(0x1e5)](this)),this[_0x23ceeb(0x177)](this[_0x23ceeb(0x172)],_0x23ceeb(0x1a1),(_0x3cd908,_0x355b50)=>{const _0x4a4e32=_0x23ceeb;this[_0x4a4e32(0x181)](_0x4a4e32(0x12b),_0x355b50);}),this[_0x23ceeb(0x177)](this[_0x23ceeb(0x172)],_0x23ceeb(0x164),()=>{const _0x36549b=_0x23ceeb;this[_0x36549b(0x1f1)]=!0x1;});const _0x18372e=this[_0x23ceeb(0x150)][_0x23ceeb(0x13d)](_0x4ad07d);this[_0x23ceeb(0x127)]=!0x0;const _0x2d20d3=await this[_0x23ceeb(0x172)][_0x23ceeb(0x1cb)](_0x559dd7,this[_0x23ceeb(0x104)](_0x4ad07d),_0x18372e);if(this[_0x23ceeb(0x195)]=_0x2d20d3[_0x23ceeb(0x195)],_0x59fde8){if(!_0x2d20d3[_0x23ceeb(0x1ab)])return void this[_0x23ceeb(0x138)]();this[_0x23ceeb(0x127)]=!0x1,this[_0x23ceeb(0x185)](),this[_0x23ceeb(0x182)][_0x23ceeb(0x116)](),this[_0x23ceeb(0x1d5)]=_0x2d20d3[_0x23ceeb(0x202)],this[_0x23ceeb(0x182)][_0x23ceeb(0x156)]=this[_0x23ceeb(0x1d5)],await this[_0x23ceeb(0x201)](_0x4ad07d,_0x2d20d3,_0x23ceeb(0x1dc));}else await this[_0x23ceeb(0x1dd)](_0x2d20d3,_0x4ad07d);this[_0x23ceeb(0x1ea)](),this[_0x23ceeb(0x1f1)]=!0x0;}[_0x980336(0x1ea)](){const _0xcef1a4=_0x980336,_0x388867=this[_0xcef1a4(0x113)][_0xcef1a4(0x1be)][_0xcef1a4(0x1f0)](_0x358490),_0x203eaf=this[_0xcef1a4(0x113)][_0xcef1a4(0x1be)][_0xcef1a4(0x1f0)](_0x20cfdf),_0x42708d=_0x388867[_0xcef1a4(0x1bd)][_0xcef1a4(0x1f0)](this[_0xcef1a4(0x1c0)]);_0x42708d&&_0x42708d[_0xcef1a4(0x134)]>0x1?_0x203eaf[_0xcef1a4(0xff)]():this[_0xcef1a4(0x177)](_0x388867,_0xcef1a4(0x198)+this[_0xcef1a4(0x1c0)],()=>{const _0x38752a=_0xcef1a4;0x2===_0x388867[_0x38752a(0x1bd)][_0x38752a(0x1f0)](this[_0x38752a(0x1c0)])[_0x38752a(0x134)]&&_0x203eaf[_0x38752a(0xff)]();});}async[_0x980336(0x1fb)](_0x5a911a,_0x165550,_0x567d6a,_0x4c3b4a){const _0x304078=_0x980336;if(!this[_0x304078(0x127)]&&this[_0x304078(0x1c7)][_0x304078(0x156)]==_0x165550){const _0x2fcef3=this[_0x304078(0x184)](_0x567d6a,_0x4c3b4a);await this[_0x304078(0x18d)](_0x2fcef3),this[_0x304078(0x1b3)](_0x2fcef3,_0x165550,_0x567d6a[_0x304078(0x190)])||this[_0x304078(0x181)](_0x304078(0x1a7));}}async[_0x980336(0x1d1)](){const _0x4d5e72=_0x980336;this[_0x4d5e72(0x11d)]();const {locale:_0x21f47e}=this[_0x4d5e72(0x113)];let _0x3bb8fb;try{_0x3bb8fb=await this[_0x4d5e72(0x172)][_0x4d5e72(0x1f4)]();}catch{const _0xf356e2=_0x134411(_0x21f47e,_0x4d5e72(0x1fe));return void this[_0x4d5e72(0x138)](_0xf356e2);}const _0xf84caa=_0x3bb8fb[_0x4d5e72(0x1fc)]||_0x3bb8fb[_0x4d5e72(0x1d9)];if(this[_0x4d5e72(0x19a)]!==_0xf84caa[_0x4d5e72(0x190)]){const _0x113e49=_0x134411(_0x21f47e,_0x4d5e72(0x192));return void this[_0x4d5e72(0x138)](_0x113e49);}await this[_0x4d5e72(0x1b1)](this[_0x4d5e72(0x113)][_0x4d5e72(0x166)][_0x4d5e72(0x1b2)][_0x4d5e72(0x1cf)][_0x4d5e72(0x1b8)](),!0x0);}[_0x980336(0x11d)](){const _0x46a8e7=_0x980336;this[_0x46a8e7(0x172)][_0x46a8e7(0x106)](),this[_0x46a8e7(0x120)]=[],clearTimeout(this[_0x46a8e7(0x158)]),this[_0x46a8e7(0x199)](this[_0x46a8e7(0x172)]);}[_0x980336(0x1d2)](_0x4c73ac){const _0x4a75d3=_0x980336,_0x366e0e=this[_0x4a75d3(0x113)][_0x4a75d3(0x1be)][_0x4a75d3(0x1f0)](_0x358490);this[_0x4a75d3(0x177)](_0x366e0e,_0x4a75d3(0x198)+this[_0x4a75d3(0x1c0)],(_0x506322,{session:_0x441248})=>{const _0x4cd62f=_0x4a75d3;if(_0x441248['id']===_0x366e0e[_0x4cd62f(0x12c)]){_0x506322[_0x4cd62f(0x1e4)]();const _0x461c66=this[_0x4cd62f(0x113)][_0x4cd62f(0x1be)][_0x4cd62f(0x1cd)](_0x4cd62f(0x159))&&this[_0x4cd62f(0x113)][_0x4cd62f(0x1be)][_0x4cd62f(0x1f0)](_0x4cd62f(0x159));let _0x46aca4=_0x441248[_0x4cd62f(0x13e)];_0x461c66&&_0x461c66[_0x4cd62f(0x180)]&&(_0x46aca4=_0x46aca4[_0x4cd62f(0x13c)](_0x3ae347=>_0x4cd62f(0x10d)!==_0x3ae347)),this[_0x4cd62f(0x113)][_0x4cd62f(0x1be)][_0x4cd62f(0x1f0)](_0x4cd62f(0x1b5))[_0x4cd62f(0x11a)](_0x46aca4,this[_0x4cd62f(0x1c0)]);}}),_0x366e0e[_0x4a75d3(0x1f6)](this[_0x4a75d3(0x1c0)],_0x4c73ac);}[_0x980336(0x15e)](){const _0x379d4f=_0x980336,_0x513f45=this[_0x379d4f(0x113)][_0x379d4f(0x111)][_0x379d4f(0x15b)];this[_0x379d4f(0x113)][_0x379d4f(0x111)][_0x379d4f(0x15b)]=(..._0x48d820)=>{const _0x6a0a3=_0x379d4f;if(!_0x48d820[_0x48d820[_0x6a0a3(0x134)]-0x1][_0x6a0a3(0x1d4)])throw new _0x43e1c2(_0x6a0a3(0x16b),this);_0x513f45[_0x6a0a3(0x125)](this[_0x6a0a3(0x113)][_0x6a0a3(0x111)],_0x48d820);};}[_0x980336(0x154)](){const _0x17f32a=_0x980336;this[_0x17f32a(0x113)][_0x17f32a(0x111)]['on'](_0x17f32a(0x128),(_0x73db06,[_0x1a2afe])=>{const _0x3f9627=_0x17f32a;if(this[_0x3f9627(0x1c7)][_0x3f9627(0x156)])throw new _0x43e1c2(_0x3f9627(0x1eb),this);_0x73db06[_0x3f9627(0x1c9)](),this[_0x3f9627(0x110)]();const _0x4fcd15=this[_0x3f9627(0x113)][_0x3f9627(0x1da)][_0x3f9627(0x1f0)](_0x3f9627(0x135)),_0x892858=this[_0x3f9627(0x102)](_0x1a2afe,_0x4fcd15);0x0==_0x892858[_0x3f9627(0x134)]&&_0x892858[_0x3f9627(0x119)](new _0x1c9742(0x0)),_0x73db06[_0x3f9627(0x14d)]=this[_0x3f9627(0x1b1)](_0x892858)[_0x3f9627(0x19b)](()=>{const _0x365da9=_0x3f9627;this[_0x365da9(0x113)][_0x365da9(0x1be)][_0x365da9(0x1f0)](_0x1cc2c1)[_0x365da9(0x11f)](this),this[_0x365da9(0x113)][_0x365da9(0x111)][_0x365da9(0x1ee)](_0x365da9(0x194));})[_0x3f9627(0x1e8)](_0x48c702=>this[_0x3f9627(0x181)](_0x3f9627(0x12f),_0x48c702))[_0x3f9627(0x112)](()=>this[_0x3f9627(0x185)]());},{'priority':_0x17f32a(0x1ba)}),this[_0x17f32a(0x113)]['on'](_0x17f32a(0x1d3),async(_0x44357b,[_0x4287e5,_0x32af7a])=>{const _0x2ac3d7=_0x17f32a;_0x44357b[_0x2ac3d7(0x1c9)]();const _0x323832=this[_0x2ac3d7(0x113)][_0x2ac3d7(0x166)][_0x2ac3d7(0x1b2)][_0x2ac3d7(0x1b6)](_0x4287e5);if(!this[_0x2ac3d7(0x13f)][_0x2ac3d7(0x1cd)](_0x4287e5)){const _0x530030=_0x32af7a&&_0x32af7a[_0x2ac3d7(0x111)]?_0x32af7a[_0x2ac3d7(0x111)]:'',_0x15a352=_0x32af7a&&_0x32af7a[_0x2ac3d7(0x1e1)]?_0x32af7a[_0x2ac3d7(0x1e1)]:{};await this[_0x2ac3d7(0x15a)](_0x4287e5,_0x530030,_0x15a352);}this[_0x2ac3d7(0x113)][_0x2ac3d7(0x166)][_0x2ac3d7(0x1c6)]({'isUndoable':!0x1},()=>{const _0x4c95d1=_0x2ac3d7;_0x323832[_0x4c95d1(0x188)]=!0x0,this[_0x4c95d1(0x113)][_0x4c95d1(0x166)][_0x4c95d1(0x1b2)][_0x4c95d1(0x114)][_0x4c95d1(0x1c5)](_0x323832);});},{'priority':_0x17f32a(0x1ba)});}async[_0x980336(0x18d)](_0x139dad){const _0x568da8=_0x980336,_0x252e99=this[_0x568da8(0x113)][_0x568da8(0x1be)][_0x568da8(0x1f0)](_0xfec9fd),{connection:_0x3657ff}=this[_0x568da8(0x113)][_0x568da8(0x1be)][_0x568da8(0x1f0)](_0x1cc2c1),_0x2cd6dd=new Set();for(const _0x150e35 of _0x139dad){const _0x3f41f1=_0x150e35[_0x568da8(0x18e)];_0x3f41f1&&!_0x252e99[_0x568da8(0x140)](_0x3f41f1)&&_0x2cd6dd[_0x568da8(0x1d7)](_0x3f41f1);}if(0x0===_0x2cd6dd[_0x568da8(0x173)])return;const _0x174a37=await _0x35cc0d[_0x568da8(0x17a)](_0x3657ff,Array[_0x568da8(0x1f2)](_0x2cd6dd));for(const _0x1e58b2 of _0x174a37)_0x252e99[_0x568da8(0x140)](_0x1e58b2['id'])||_0x252e99[_0x568da8(0x12d)](_0x1e58b2);}[_0x980336(0x102)](_0x23be5e,_0xf77b89={}){const _0x581a7a=_0x980336,_0x38d6fa=this[_0x581a7a(0x113)][_0x581a7a(0x166)],_0x13da94=[];let _0x2b7f5d=0x0;const _0x42135a=_0x581a7a(0x1a9)==typeof _0x23be5e?{'main':_0x23be5e}:_0x23be5e;for(const _0x5a953a of Object[_0x581a7a(0x137)](_0x42135a)){if(!this[_0x581a7a(0x1c7)][_0x581a7a(0x101)][_0x581a7a(0x1cd)](_0x5a953a))throw new _0x43e1c2(_0x581a7a(0x1e6),this);const _0x4c60f0=this[_0x581a7a(0x113)][_0x581a7a(0x111)][_0x581a7a(0x139)](_0x42135a[_0x5a953a]),_0x20aa4b=this[_0x581a7a(0x1c7)][_0x581a7a(0x1b6)](_0x5a953a),_0x5d4f19=new _0x45c472(_0x38d6fa[_0x581a7a(0x12a)](_0x20aa4b,0x0),_0x4c60f0,_0x2b7f5d++);_0x13da94[_0x581a7a(0x119)](_0x5d4f19);for(const [_0x165a73,_0x44702e]of _0x4c60f0[_0x581a7a(0x1ce)]){const _0x24c5f1=_0x38d6fa[_0x581a7a(0x1fa)](_0x38d6fa[_0x581a7a(0x143)](_0x20aa4b,_0x44702e[_0x581a7a(0x1df)][_0x581a7a(0x1ed)][_0x581a7a(0x1c8)]()),_0x38d6fa[_0x581a7a(0x143)](_0x20aa4b,_0x44702e[_0x581a7a(0x1b9)][_0x581a7a(0x1ed)][_0x581a7a(0x1c8)]())),_0x1adfe7=new _0x1af574(_0x165a73,null,_0x24c5f1,_0x38d6fa[_0x581a7a(0x1ce)],!0x0,_0x2b7f5d++);_0x13da94[_0x581a7a(0x119)](_0x1adfe7);}}if(_0xf77b89)for(const [_0x3a5bb6,_0x53e840]of Object[_0x581a7a(0x144)](_0xf77b89)){const _0x43e048=_0x38d6fa[_0x581a7a(0x1b2)][_0x581a7a(0x1b6)](_0x3a5bb6);if(!_0x43e048)throw new _0x43e1c2(_0x581a7a(0x18f),null);for(const [_0x553fdf,_0x4b25d4]of Object[_0x581a7a(0x144)](_0x53e840))if(null!==_0x4b25d4){const _0x55ada0=new _0xd59741(_0x43e048,_0x553fdf,null,_0x4b25d4,_0x2b7f5d++);_0x13da94[_0x581a7a(0x119)](_0x55ada0);}}return _0x13da94;}async[_0x980336(0x15a)](_0x557e84,_0x1023c3,_0x3f2427){const _0xe53198=_0x980336;this[_0xe53198(0x102)]({[_0x557e84]:_0x1023c3},{[_0x557e84]:_0x3f2427})[_0xe53198(0x179)]((_0x13838f,_0x5acdbc)=>{const _0x18a1a5=_0xe53198;_0x13838f[_0x18a1a5(0x16d)]=this[_0x18a1a5(0x1c7)][_0x18a1a5(0x156)]+_0x5acdbc,_0x13838f[_0x18a1a5(0x167)]=!0x0,this[_0x18a1a5(0x1ec)](_0x13838f);}),this[_0xe53198(0x191)](),await this[_0xe53198(0x16e)]();}async[_0x980336(0x1dd)](_0x318d0a,_0x446cd7){const _0xd5c3a4=_0x980336;let _0x255d9f;this[_0xd5c3a4(0x1d5)]=_0x318d0a[_0xd5c3a4(0x202)];const _0x981da1=_0x318d0a[_0xd5c3a4(0x1ab)]&&!_0x318d0a[_0xd5c3a4(0x18b)],_0x2cf2e5=_0x981da1?0x0:_0x318d0a[_0xd5c3a4(0x111)][_0xd5c3a4(0x16d)];if(_0x446cd7[_0xd5c3a4(0x179)](_0x3571f0=>{const _0x50c734=_0xd5c3a4;_0x3571f0[_0x50c734(0x167)]=!0x0,_0x3571f0[_0x50c734(0x1c2)]=_0x318d0a[_0x50c734(0x107)],_0x3571f0[_0x50c734(0x18e)]=null;}),_0x981da1)_0x255d9f=_0x446cd7,this[_0xd5c3a4(0x161)](_0x255d9f,_0x981da1);else{if(_0x318d0a[_0xd5c3a4(0x18b)]){const _0x2509a5=this[_0xd5c3a4(0x102)](_0x318d0a[_0xd5c3a4(0x18b)]);this[_0xd5c3a4(0x1c7)][_0xd5c3a4(0x1cf)][_0xd5c3a4(0x156)]=-_0x2509a5[_0xd5c3a4(0x134)],_0x2509a5[_0xd5c3a4(0x179)](_0x3bc29b=>{const _0x2e9890=_0xd5c3a4;_0x3bc29b[_0x2e9890(0x16d)]-=_0x2509a5[_0x2e9890(0x134)],_0x3bc29b[_0x2e9890(0x1c2)]=_0x318d0a[_0x2e9890(0x107)],_0x3bc29b[_0x2e9890(0x167)]=!0x0,_0x3bc29b[_0x2e9890(0x18e)]=null;}),this[_0xd5c3a4(0x161)](_0x2509a5,!0x0),this[_0xd5c3a4(0x182)][_0xd5c3a4(0x156)]=-_0x2509a5[_0xd5c3a4(0x134)]+this[_0xd5c3a4(0x1d5)],this[_0xd5c3a4(0x121)](_0x2509a5);}this[_0xd5c3a4(0x1c7)][_0xd5c3a4(0x1cf)][_0xd5c3a4(0x156)]=_0x2cf2e5,_0x255d9f=this[_0xd5c3a4(0x184)](_0x318d0a[_0xd5c3a4(0x111)],_0x318d0a[_0xd5c3a4(0x1f3)]),await this[_0xd5c3a4(0x18d)](_0x255d9f),this[_0xd5c3a4(0x161)](_0x255d9f,_0x981da1);}_0x318d0a[_0xd5c3a4(0x190)]&&(this[_0xd5c3a4(0x150)][_0xd5c3a4(0x1ff)](_0x255d9f,_0x318d0a[_0xd5c3a4(0x190)]),this[_0xd5c3a4(0x19a)]=_0x318d0a[_0xd5c3a4(0x190)]),this[_0xd5c3a4(0x182)][_0xd5c3a4(0x156)]=_0x2cf2e5+this[_0xd5c3a4(0x1d5)],this[_0xd5c3a4(0x121)](_0x255d9f),_0x446cd7[_0xd5c3a4(0x13c)](_0x34a136=>{const _0x9bdb62=_0xd5c3a4,_0x1ac34f=this[_0x9bdb62(0xfe)](_0x34a136);return _0x1ac34f&&!this[_0x9bdb62(0x13f)][_0x9bdb62(0x1cd)](_0x1ac34f);})[_0xd5c3a4(0x179)]((_0x27f842,_0xad8469)=>{const _0x307414=_0xd5c3a4;_0x27f842[_0x307414(0x16d)]=this[_0x307414(0x1c7)][_0x307414(0x156)]+_0xad8469,this[_0x307414(0x1ec)](_0x27f842);}),this[_0xd5c3a4(0x1d6)]()?(this[_0xd5c3a4(0x14e)]=0x0,this[_0xd5c3a4(0x191)](!0x0),await this[_0xd5c3a4(0x16e)]()):(this[_0xd5c3a4(0x127)]=!0x1,this[_0xd5c3a4(0x185)]());}[_0x980336(0x181)](_0x149050,_0x54ddf){const _0x121700=_0x980336,_0x684bea=_0x54ddf&&_0x54ddf[_0x121700(0x16c)];if(_0x684bea&&_0x684bea[_0x121700(0x168)](_0x121700(0x1e7)))throw _0x54ddf;const _0x208f59=this[_0x121700(0x113)][_0x121700(0x1be)][_0x121700(0x1f0)](_0x1cc2c1);throw this[_0x121700(0x127)]=!0x0,_0x208f59[_0x121700(0x106)](),this[_0x121700(0x113)][_0x121700(0x14a)](_0x121700(0x183)),new _0x43e1c2(_0x149050,this[_0x121700(0x113)],_0x684bea?{'originalError':_0x684bea}:void 0x0);}[_0x980336(0x1ec)](_0x23afb7){const _0x323755=_0x980336;this[_0x323755(0x133)][_0x323755(0x1cd)](_0x23afb7)||(this[_0x323755(0x133)][_0x323755(0x1d7)](_0x23afb7),this[_0x323755(0x120)][_0x323755(0x119)](_0x23afb7),this[_0x323755(0x1d0)]||_0x323755(0x14f)==_0x23afb7[_0x323755(0x10f)]&&!_0x23afb7[_0x323755(0x155)]||this[_0x323755(0x110)]());}[_0x980336(0x191)](_0x27864a=!0x1){const _0x51be87=_0x980336;!_0x27864a&&this[_0x51be87(0x127)]||(this[_0x51be87(0x127)]=!0x0,clearTimeout(this[_0x51be87(0x158)]),this[_0x51be87(0x158)]=setTimeout(()=>{const _0x371dd7=_0x51be87;this[_0x371dd7(0x146)]()[_0x371dd7(0x19b)](_0x1ed71d=>{const _0x524e64=_0x371dd7;_0x1ed71d&&(this[_0x524e64(0x185)](),this[_0x524e64(0x127)]=!0x1);})[_0x371dd7(0x1e8)](_0x410233=>{const _0x160587=_0x371dd7;this[_0x160587(0x185)](),this[_0x160587(0x127)]=!0x1,function(_0x34f9bc){const _0x405e23=_0x160587;return _0x34f9bc[_0x405e23(0x16c)][_0x405e23(0x168)](_0x405e23(0x130))||_0x34f9bc[_0x405e23(0x16c)][_0x405e23(0x168)](_0x405e23(0x11b))||_0x34f9bc[_0x405e23(0x16c)][_0x405e23(0x168)](_0x405e23(0x17c));}(_0x410233)||this[_0x160587(0x181)](_0x410233[_0x160587(0x16c)],_0x410233);});},this[_0x51be87(0x14e)]));}[_0x980336(0x16e)](){return new Promise(_0x5d4d57=>{const _0x5d6249=_0x1b6a;this['on'](_0x5d6249(0x203),()=>{_0x5d4d57();});});}async[_0x980336(0x146)](){const _0x2c7100=_0x980336,_0x34bbe2=this[_0x2c7100(0x113)][_0x2c7100(0x1be)][_0x2c7100(0x1f0)](_0x20cfdf);if(this[_0x2c7100(0x1d8)]()&&(_0x34bbe2[_0x2c7100(0xff)](),this[_0x2c7100(0x1c3)]=!0x1),!this[_0x2c7100(0x1d6)]())return!0x0;const _0x244816=[...this[_0x2c7100(0x120)]];for(const _0xf0261e of _0x244816)_0xf0261e[_0x2c7100(0x17b)]=this[_0x2c7100(0x1c7)][_0x2c7100(0x1cf)][_0x2c7100(0x1ae)](_0xf0261e);const _0x18dcfc=this[_0x2c7100(0x150)][_0x2c7100(0x13d)](_0x244816),_0x27fda3=X++,_0x21ddec=this[_0x2c7100(0x104)](_0x244816),_0x5b97c0=await this[_0x2c7100(0x172)][_0x2c7100(0x10b)](_0x21ddec,_0x21ddec[_0x2c7100(0x16d)],_0x18dcfc);try{return await this[_0x2c7100(0x201)](_0x244816,_0x5b97c0,_0x27fda3);}catch(_0x2b84bc){return this[_0x2c7100(0x181)](_0x2c7100(0x186),_0x2b84bc);}}async[_0x980336(0x201)](_0xa7e71e,_0x424a0e,_0x5449e3){const _0x3c12c0=_0x980336;if(_0x3c12c0(0x1a1)in _0x424a0e)throw _0x424a0e[_0x3c12c0(0x1a1)];let _0x769a1e=!0x1;if(_0x424a0e[_0x3c12c0(0x1ab)]){_0x424a0e[_0x3c12c0(0x190)]&&(this[_0x3c12c0(0x19a)]=_0x424a0e[_0x3c12c0(0x190)]),this[_0x3c12c0(0x120)]=this[_0x3c12c0(0x120)][_0x3c12c0(0x13c)](_0x9d09f3=>!_0xa7e71e[_0x3c12c0(0x1c1)](_0x9d09f3));for(const _0xfdc4e9 of _0xa7e71e)_0xfdc4e9[_0x3c12c0(0x1c2)]=_0x3c12c0(0x151)in _0x424a0e&&_0x424a0e[_0x3c12c0(0x151)]||void 0x0;Z(_0xa7e71e,_0x424a0e[_0x3c12c0(0x156)]-_0xa7e71e[_0x3c12c0(0x134)]),this[_0x3c12c0(0x121)](_0xa7e71e);const _0x2950c0=_0xa7e71e[_0x3c12c0(0x13c)](_0x558686=>{const _0x496f25=_0x3c12c0;if(!_0x558686[_0x496f25(0x167)])return!0x1;const _0x522b70=this[_0x496f25(0xfe)](_0x558686);return _0x522b70&&!this[_0x496f25(0x13f)][_0x496f25(0x1cd)](_0x522b70);});Z(_0x2950c0,this[_0x3c12c0(0x1c7)][_0x3c12c0(0x156)]),this[_0x3c12c0(0x161)](_0x2950c0),_0x769a1e=!0x0,this[_0x3c12c0(0x14e)]=this[_0x3c12c0(0x1e0)];}else{const _0x385cd3=this[_0x3c12c0(0x184)](_0x424a0e[_0x3c12c0(0x111)],_0x424a0e[_0x3c12c0(0x1f3)])[_0x3c12c0(0x13c)](_0x550261=>_0x550261[_0x3c12c0(0x16d)]>=this[_0x3c12c0(0x1bb)]);_0x385cd3[_0x3c12c0(0x179)](_0x4b293e=>this[_0x3c12c0(0x1aa)](_0x4b293e)),this[_0x3c12c0(0x120)]=this[_0x3c12c0(0x120)][_0x3c12c0(0x13c)](_0x512d15=>!_0x512d15[_0x3c12c0(0x167)]||!this[_0x3c12c0(0x13f)][_0x3c12c0(0x1cd)](this[_0x3c12c0(0xfe)](_0x512d15))),this[_0x3c12c0(0x120)][_0x3c12c0(0x134)]&&Z(this[_0x3c12c0(0x120)],this[_0x3c12c0(0x120)][0x0][_0x3c12c0(0x16d)]),await this[_0x3c12c0(0x18d)](_0x385cd3),_0x769a1e=this[_0x3c12c0(0x1b3)](_0x385cd3,_0x424a0e[_0x3c12c0(0x156)],_0x424a0e[_0x3c12c0(0x190)]),this[_0x3c12c0(0x14e)]=Math[_0x3c12c0(0x196)](this[_0x3c12c0(0x14e)]/0x2);}return _0x769a1e?!this[_0x3c12c0(0x1d6)]()||(this[_0x3c12c0(0x191)](!0x0),!0x1):this[_0x3c12c0(0x181)](_0x3c12c0(0x132));}[_0x980336(0x1b3)](_0x4747e5,_0x1fcdae,_0x3067f6){const _0x57b2a2=_0x980336;try{const _0x51748e={'document':this[_0x57b2a2(0x1c7)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x275622,operationsB:_0x1dc06c,originalOperations:_0x5e11dc}=_0x344f50(_0x4747e5,this[_0x57b2a2(0x120)],_0x51748e);Z(_0x275622,this[_0x57b2a2(0x1c7)][_0x57b2a2(0x156)]),Z(_0x1dc06c,_0x1fcdae);for(const _0x3e6ad3 of _0x275622){const _0x222252=_0x5e11dc[_0x57b2a2(0x1f0)](_0x3e6ad3);_0x3e6ad3[_0x57b2a2(0x18e)]=_0x222252?_0x222252[_0x57b2a2(0x18e)]:null;}_0x3067f6&&(this[_0x57b2a2(0x150)][_0x57b2a2(0x1ff)](_0x4747e5,_0x3067f6),this[_0x57b2a2(0x19a)]=_0x3067f6),this[_0x57b2a2(0x120)]=[..._0x1dc06c],this[_0x57b2a2(0x161)](_0x275622),this[_0x57b2a2(0x121)](_0x4747e5);}catch(_0x412e79){return console[_0x57b2a2(0x1a1)](_0x412e79),!0x1;}return!0x0;}[_0x980336(0x161)](_0x44993c,_0x20bb2d=!0x1){const _0x46da81=_0x980336;this[_0x46da81(0x113)][_0x46da81(0x166)][_0x46da81(0x1c6)]({'isUndoable':!0x1,'isLocal':!0x1},_0x215b28=>{const _0x43da95=_0x46da81;for(const _0x5819d8 of _0x44993c)this[_0x43da95(0x133)][_0x43da95(0x1d7)](_0x5819d8),this[_0x43da95(0x1aa)](_0x5819d8),_0x215b28[_0x43da95(0x10e)][_0x43da95(0x157)](_0x5819d8),this[_0x43da95(0x113)][_0x43da95(0x166)][_0x43da95(0x169)](_0x5819d8);});}[_0x980336(0x1aa)](_0x1cc096){const _0x279e0c=_0x980336,_0x480a23=this[_0x279e0c(0xfe)](_0x1cc096);_0x480a23&&this[_0x279e0c(0x13f)][_0x279e0c(0x1d7)](_0x480a23);}[_0x980336(0xfe)](_0x50f92a){const _0x46a2d2=_0x980336;let _0xd5b227,_0x4f581f;switch(_0x50f92a[_0x46a2d2(0x10f)]){case _0x46a2d2(0x123):_0xd5b227=_0x50f92a[_0x46a2d2(0x1ac)][_0x46a2d2(0x109)];break;case _0x46a2d2(0x14f):if(_0x4f581f=_0x50f92a[_0x46a2d2(0x100)],!_0x4f581f)return null;_0xd5b227=_0x4f581f[_0x46a2d2(0x109)];break;case _0x46a2d2(0x11e):_0xd5b227=_0x50f92a[_0x46a2d2(0x109)];break;case _0x46a2d2(0x15d):_0xd5b227=_0x50f92a[_0x46a2d2(0x1fd)];break;case _0x46a2d2(0x1f9):_0xd5b227=_0x50f92a[_0x46a2d2(0x170)][_0x46a2d2(0x109)];break;default:return null;}return _0xd5b227[_0x46a2d2(0x16f)];}[_0x980336(0x121)](_0x46f43b){const _0x48c634=_0x980336;_0x46f43b[_0x48c634(0x179)](_0x3a6bc6=>{const _0x5e4422=_0x48c634,_0x418581=_0x3a6bc6[_0x5e4422(0x13b)]();_0x418581[_0x5e4422(0x18e)]=_0x3a6bc6[_0x5e4422(0x18e)],_0x418581[_0x5e4422(0x167)]=!!_0x3a6bc6[_0x5e4422(0x167)],_0x418581[_0x5e4422(0x1c2)]=_0x3a6bc6[_0x5e4422(0x1c2)],_0x418581[_0x5e4422(0x16d)]+=this[_0x5e4422(0x1d5)],_0x3a6bc6[_0x5e4422(0x117)]&&this[_0x5e4422(0x115)][_0x5e4422(0x1d7)](_0x418581),this[_0x5e4422(0x182)][_0x5e4422(0x157)](_0x418581);});}[_0x980336(0x138)](_0x4164cb){const _0x5bacfa=_0x980336,_0x5b3951=this[_0x5bacfa(0x113)][_0x5bacfa(0x1be)][_0x5bacfa(0x1f0)](_0x5bacfa(0x1cc)),_0x32b1b6=this[_0x5bacfa(0x113)][_0x5bacfa(0x193)];_0x4164cb||(_0x4164cb=_0x134411(_0x32b1b6,_0x5bacfa(0x18a))),_0x5b3951[_0x5bacfa(0x175)](_0x4164cb,{'title':_0x134411(_0x32b1b6,_0x5bacfa(0x1f7)),'namespace':_0x5bacfa(0x14b)}),this[_0x5bacfa(0x200)]=!0x0,clearTimeout(this[_0x5bacfa(0x158)]),this[_0x5bacfa(0x120)]=[],this[_0x5bacfa(0x113)][_0x5bacfa(0x1be)][_0x5bacfa(0x1f0)](_0x1cc2c1)[_0x5bacfa(0x106)]();}[_0x980336(0x110)](){const _0x3fa15a=_0x980336;this[_0x3fa15a(0x1d0)]||(this[_0x3fa15a(0x1d0)]=this[_0x3fa15a(0x113)][_0x3fa15a(0x1be)][_0x3fa15a(0x1f0)](_0x5e3c28)[_0x3fa15a(0x1d7)](_0x134411(this[_0x3fa15a(0x113)][_0x3fa15a(0x193)],_0x3fa15a(0x118))));}[_0x980336(0x185)](){const _0xef4621=_0x980336;this[_0xef4621(0x1d0)]&&(this[_0xef4621(0x113)][_0xef4621(0x1be)][_0xef4621(0x1f0)](_0x5e3c28)[_0xef4621(0x147)](this[_0xef4621(0x1d0)]),this[_0xef4621(0x1d0)]=null);}[_0x980336(0x104)](_0x2c6e0f){const _0x37e311=_0x980336,_0x34514a=_0x2c6e0f[_0x37e311(0x142)](_0x51730f=>_0x51730f[_0x37e311(0x1a5)]());return this[_0x37e311(0x129)][_0x37e311(0x1e9)](_0x34514a);}[_0x980336(0x184)](_0x575b37,_0xde39e1){const _0x1a412c=_0x980336;return this[_0x1a412c(0x129)][_0x1a412c(0x1f5)](_0x575b37)[_0x1a412c(0x142)]((_0x5102c5,_0x136ea1)=>{const _0x582b4f=_0x1a412c,_0xa94831=_0x582b4f(0x128)==_0xde39e1[_0x136ea1][_0x582b4f(0x10f)];if(_0x582b4f(0x1ca)==_0x5102c5[_0x582b4f(0x1a0)]){const _0x187f7c=_0x5102c5[_0x582b4f(0x1ac)][_0x582b4f(0x109)];!this[_0x582b4f(0x1c7)][_0x582b4f(0x1b6)](_0x187f7c)&&(this[_0x582b4f(0x1c7)][_0x582b4f(0x15c)](_0x582b4f(0x165),_0x187f7c)[_0x582b4f(0x160)]=!0x1);}const _0x65a463=_0x4fa64a[_0x582b4f(0x153)](_0x5102c5,this[_0x582b4f(0x1c7)]);return _0x65a463[_0x582b4f(0x17b)]=_0x5102c5[_0x582b4f(0x17b)],_0x65a463[_0x582b4f(0x167)]=_0xa94831,_0x65a463[_0x582b4f(0x18e)]=_0xa94831?null:_0xde39e1[_0x136ea1][_0x582b4f(0x1a3)],_0x65a463[_0x582b4f(0x117)]=_0x582b4f(0x189)===_0xde39e1[_0x136ea1][_0x582b4f(0x10f)],_0x65a463[_0x582b4f(0x1c2)]=_0xde39e1[_0x136ea1][_0x582b4f(0x1c2)],_0x65a463;});}[_0x980336(0x136)](){const _0x4cc0ce=_0x980336;this[_0x4cc0ce(0x1c3)]=!0x0,this[_0x4cc0ce(0x1d8)]()?this[_0x4cc0ce(0x191)]():this[_0x4cc0ce(0x1c3)]=!0x1;}[_0x980336(0x1d8)](){const _0x4ed5db=_0x980336,_0x5cd150=this[_0x4ed5db(0x113)][_0x4ed5db(0x1be)][_0x4ed5db(0x1f0)](_0x358490)[_0x4ed5db(0x1bd)][_0x4ed5db(0x1f0)](this[_0x4ed5db(0x1c0)]);return!this[_0x4ed5db(0x113)][_0x4ed5db(0x17d)]&&!!_0x5cd150&&_0x5cd150[_0x4ed5db(0x134)]>0x1&&this[_0x4ed5db(0x1c3)];}[_0x980336(0x1d6)](){const _0x2ea5ee=_0x980336;return this[_0x2ea5ee(0x120)][_0x2ea5ee(0x134)]>0x0||this[_0x2ea5ee(0x1d8)]();}}export{l as RealTimeCollaborationClient};class Y extends Error{}function Z(_0x146232,_0x3ef52e){const _0x117c05=_0x980336;for(const _0x14d068 of _0x146232)_0x14d068[_0x117c05(0x16d)]=_0x3ef52e++;}function _0x4dcb(){const _0x18268e=['document:write','batch','type','_setPendingAction','data','finally','editor','differ','_disconnectionOperations','reset','_isDisconnection','PENDING_ACTION_SENDING_DATA','push','setPermissions','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','change:range','_disconnectService','addRootAttribute','addToReconnectionStack','_bufferedOperations','_updateServerHistory','520502jlTfNF','insert','state','apply','disableReadOnlyMode','_isPendingUpdate','init','_compressor','createPositionAt','realtimecollaborationclient-init-service-internal-error','mySessionId','addUser','_ignoredOperations','realtimecollaborationclient-init-connection-failed','cloud-services-internal-error:\x20Not\x20connected.','rtc-offline','realtimecollaborationclient-handleserverresponse','_knownOperations','length','rootsAttributes','_refreshUserSelectionMarkers','keys','_handleReconnectionError','parse','1160pnvnpA','clone','filter','getIdOfTheLastOperation','permissions','_knownRootNames','getUser','collaboration-missing-channelid','map','createPositionFromPath','entries','pluginName','_sendBufferedOperations','remove','4ggGeXy','cloudServices.bundleVersion','enableReadOnlyMode','real-time-collaboration','realtimecollaborationclient-init-session-connection-error','return','_currentBufferDelay','marker','_operationIdentifier','lastOperationAcceptedAt','lastSyncVersion','fromJSON','_setUpDataInit','affectsData','version','addOperation','_sendBufferedOperationsDelayId','CommentsOnly','_loadRoot','set','createRoot','addRoot','_initThrowingOnDataSet','unregister','_isAttached','_applyOperationsSet','4429880BhZBQN','_isEditingAllowed','disconnected','$root','model','_isInit','startsWith','applyOperation','define','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','message','baseVersion','_waitUntilSynced','rootName','targetPosition','2332488jdekmS','_service','size','rtc-destroyed','showWarning','change:_isEditingAllowed','listenTo','connected','forEach','getMany','wasUndone','cloud-services-internal-error:\x20Request\x20timeout.','isReadOnly','code','3144597xihlNS','isEnabled','_crash','serverHistory','realtimecollaborationclient-error','_decompressOperations','_clearPendingAction','realtimecollaborationclient-sendbufferedoperations','_operationToId','_isLoaded','cs:removeUser','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.','initData','isOfficialPlugin','_fetchMissingUsers','_authorId','multi-root-editor-root-attributes-no-root','lastOperationId','_sendBufferedOperationsDelayed','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.','locale','ready','sessionId','round','operationsReceived','sessionAdd:','stopListening','_lastSyncedOperationId','then','directChange','view','getOperationAuthor','destroy','__className','error','18HwUAJg','userId','RealTimeCollaborationClient','toJSON','404','realtimecollaborationclient-init-service-incorrect-server-operation','editing','string','_addKnownRoot','wereChangesApplied','position','collaboration.channelId','isUndoneOperation','851858zaAlGP','isDocumentOperation','_connectService','document','_handleExternalOperations','requires','Permissions','getRoot','4RgTptI','getOperations','end','high','_lastServerVersion','selection','channelSessions','plugins','getConnectedSessions','_channelId','includes','createdAt','_hasSelectionChanged','409','_bufferRootLoad','enqueueChange','_document','slice','stop','InsertOperation','connect','Notification','has','markers','history','_pendingAction','_connectAfterSessionHasBeenFlushed','_initSessionsHandling','loadRoot','suppressErrorInCollaboration','_offset','_shouldSendUpdate','add','_shouldSendSelectionUpdate','lastDocumentSession','config','isPremiumPlugin','reconnection:\x20flushed\x20session','_handleInitialConnectionData','554820HbWiME','start','_baseBufferDelay','attributes','CollaborativeEditingService','reconnect','off','bind','realtimecollaborationclient-init-non-existent-root','realtimecollaborationclient','catch','compress','_handleSendingSelectionMarkers','realtimecollaborationclient-init-document-already-initialized','_saveOperationInBuffer','path','fire','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','get','_isConnected','from','metadata','getDocumentDetails','decompress','register','Synchronization\x20issue','removeFromReconnectionStack','move','createRange','_handleReceivedOperations','currentDocumentSession','affectedSelectable','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','setIdForTheLastOperation','_hasSynchronizationProblem','_handleServerResponse','offset','change:_isPendingUpdate','105138JAPFNj','_getAffectedRoot','createUserMarkerOperations','newRange','roots','_getOperationsFromInitData','change:hasDomSelection','_compressOperations','cloudDocumentVersion','disconnect','sessionCreatedAt','connection','root','_handleReconnectionResponse','sendOperations','collaboration'];_0x4dcb=function(){return _0x18268e;};return _0x4dcb();}class tt{[_0x980336(0x12e)];[_0x980336(0x187)];constructor(_0x46bb96){const _0xb7719d=_0x980336;this[_0xb7719d(0x12e)]=_0x46bb96,this[_0xb7719d(0x187)]=new WeakMap();}[_0x980336(0x13d)](_0x4f862e){const _0xdd013c=_0x980336;let _0x227fe6=_0x4f862e[_0xdd013c(0x134)];for(;_0x227fe6--;){const _0x24e58c=_0x4f862e[_0x227fe6];if(!this[_0xdd013c(0x12e)][_0xdd013c(0x1cd)](_0x24e58c)){if(!this[_0xdd013c(0x187)][_0xdd013c(0x1cd)](_0x24e58c)){const _0x3c4752=_0x4c34ba()[_0xdd013c(0x1c8)](0x1,0x12);this[_0xdd013c(0x187)][_0xdd013c(0x15b)](_0x24e58c,_0x3c4752);}return this[_0xdd013c(0x187)][_0xdd013c(0x1f0)](_0x24e58c);}}}[_0x980336(0x1ff)](_0x26e234,_0x894f3c){const _0x2e86ae=_0x980336;if(!_0x894f3c)return;let _0x3220ae=_0x26e234[_0x2e86ae(0x134)];for(;_0x3220ae--;){const _0x5e3d30=_0x26e234[_0x3220ae];this[_0x2e86ae(0x12e)][_0x2e86ae(0x1cd)](_0x5e3d30)||this[_0x2e86ae(0x187)][_0x2e86ae(0x15b)](_0x5e3d30,_0x894f3c);}}}
23
+ const _0x411596=_0x33a6;(function(_0x554c52,_0xffcf5){const _0x4060c5=_0x33a6,_0x5d9d20=_0x554c52();while(!![]){try{const _0x27d8f1=parseInt(_0x4060c5(0x171))/0x1*(parseInt(_0x4060c5(0x1bb))/0x2)+parseInt(_0x4060c5(0x1ce))/0x3+-parseInt(_0x4060c5(0xf2))/0x4+-parseInt(_0x4060c5(0xe9))/0x5*(-parseInt(_0x4060c5(0xf7))/0x6)+-parseInt(_0x4060c5(0x11c))/0x7*(parseInt(_0x4060c5(0x145))/0x8)+parseInt(_0x4060c5(0x126))/0x9+-parseInt(_0x4060c5(0x11e))/0xa;if(_0x27d8f1===_0xffcf5)break;else _0x5d9d20['push'](_0x5d9d20['shift']());}catch(_0x55c9e2){_0x5d9d20['push'](_0x5d9d20['shift']());}}}(_0x44e9,0x31991));import{Plugin as _0x3779f5,PendingActions as _0x5b0028}from'ckeditor5/src/core.js';import{CKEditorError as _0x3ae1f5,version as _0x47dc87,uid as _0x6dd842}from'ckeditor5/src/utils.js';import{Notification as _0x37c4b7}from'ckeditor5/src/ui.js';import{transformOperationSets as _0xc6afd8,NoOperation as _0x2cd4f2,InsertOperation as _0x41ee47,MarkerOperation as _0x44513d,RootAttributeOperation as _0x5820cf,OperationFactory as _0x512198,History as _0x21df63}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x23dc93}from'./websocketgateway.js';import{Sessions as _0x5f02dd}from'./sessions.js';import{UserMarkers as _0xdb7e5c}from'./usermarkers.js';import{getTranslation as _0x486252}from'../common-translations.js';import{Compressor as _0x3f8a4c}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5a8075}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xc5ad92,CollaborativeEditingService as _0x69e252}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;class l extends _0x3779f5{static [_0x411596(0xd5)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x69e252)());[_0x411596(0xfb)];[_0x411596(0x132)];[_0x411596(0x141)];[_0x411596(0x118)];[_0x411596(0xe2)];[_0x411596(0xe1)];[_0x411596(0x1d5)];[_0x411596(0x105)];[_0x411596(0x161)];[_0x411596(0x1ae)];[_0x411596(0x1b9)];[_0x411596(0x1c3)];[_0x411596(0xe3)];[_0x411596(0x1bd)];[_0x411596(0xe8)];[_0x411596(0x1a8)];[_0x411596(0x185)];[_0x411596(0x133)];static get[_0x411596(0x151)](){return[_0x23dc93,_0x5f02dd,_0xdb7e5c,_0x5b0028,_0x5a8075,_0x37c4b7];}static get[_0x411596(0x1c4)](){const _0x3cbf5b=_0x411596;return _0x3cbf5b(0x154);}static get[_0x411596(0x18e)](){return!0x0;}static get[_0x411596(0x17d)](){return!0x0;}get[_0x411596(0x193)](){const _0x429bc8=_0x411596;return this[_0x429bc8(0x102)]+this[_0x429bc8(0xfb)];}get[_0x411596(0x102)](){const _0x24de92=_0x411596;return this[_0x24de92(0x141)][_0x24de92(0xf0)]-this[_0x24de92(0xfb)];}get[_0x411596(0x155)](){const _0x46bd4c=_0x411596,_0x34b2a2=this[_0x46bd4c(0x141)][_0x46bd4c(0x11b)]();for(let _0x538a5f=_0x34b2a2[_0x46bd4c(0x19c)]-0x1;_0x538a5f>=0x0;_0x538a5f--){const _0x44ba6f=_0x34b2a2[_0x538a5f];if(!this[_0x46bd4c(0x185)][_0x46bd4c(0xfe)](_0x44ba6f))return _0x44ba6f[_0x46bd4c(0x17c)]+0x1-this[_0x46bd4c(0xfb)];}return 0x0;}constructor(_0x2a5b76){const _0x17d0f9=_0x411596;if(super(_0x2a5b76),this[_0x17d0f9(0xfb)]=0x0,this[_0x17d0f9(0x132)]=null,this[_0x17d0f9(0x141)]=new _0x21df63(),this[_0x17d0f9(0x1d4)][_0x17d0f9(0x12c)][_0x17d0f9(0x1a3)](_0x17d0f9(0x18f),{}),this[_0x17d0f9(0x118)]=this[_0x17d0f9(0x1d4)][_0x17d0f9(0x12c)][_0x17d0f9(0x16d)](_0x17d0f9(0xe6)),!this[_0x17d0f9(0x118)])throw new _0x3ae1f5(_0x17d0f9(0x15e),this);const _0x5d0b91=_0x2a5b76[_0x17d0f9(0x12c)][_0x17d0f9(0x16d)](_0x17d0f9(0x16f))||_0x47dc87;this[_0x17d0f9(0xe2)]=new l[(_0x17d0f9(0xd5))](_0x5d0b91,this[_0x17d0f9(0x118)]),this[_0x17d0f9(0xe1)]=this[_0x17d0f9(0x1d4)][_0x17d0f9(0x14d)][_0x17d0f9(0x189)],this[_0x17d0f9(0x1d5)]=new _0x3f8a4c(),this[_0x17d0f9(0x105)]=[],this[_0x17d0f9(0x161)]=new WeakSet(),this[_0x17d0f9(0x1ae)]=new Set(),this[_0x17d0f9(0x110)](_0x17d0f9(0x1a4),!0x1),this[_0x17d0f9(0x110)](_0x17d0f9(0xf5),!0x1),this[_0x17d0f9(0x1b9)]=null,this[_0x17d0f9(0x1c3)]=!0x1,this[_0x17d0f9(0xe3)]=null,this[_0x17d0f9(0x1bd)]=0x12c,this[_0x17d0f9(0xe8)]=this[_0x17d0f9(0x1bd)],this[_0x17d0f9(0x1a8)]=null,this[_0x17d0f9(0x185)]=new WeakSet(),this[_0x17d0f9(0x133)]=new J(this[_0x17d0f9(0x185)]);}[_0x411596(0x1bc)](){const _0x2296f1=_0x411596,_0x2b33e4=this[_0x2296f1(0x1d4)],_0x344758=_0x2b33e4[_0x2296f1(0x191)][_0x2296f1(0x16d)](_0x5a8075),_0x61dca7=_0x2b33e4[_0x2296f1(0x191)][_0x2296f1(0x16d)](_0x23dc93);this[_0x2296f1(0x16a)](_0x344758,_0x2296f1(0x157),(_0x3f1ec8,_0x10f480)=>{const _0x3a4ceb=_0x2296f1,_0x2c49af=_0x10f480[0x0];_0x2c49af[_0x3a4ceb(0x188)]&&(_0x3f1ec8[_0x3a4ceb(0x15c)]=_0x344758[_0x3a4ceb(0x142)](_0x2c49af[_0x3a4ceb(0x188)]),_0x3f1ec8[_0x3a4ceb(0x130)]()),null===_0x2c49af[_0x3a4ceb(0x188)]&&(_0x3f1ec8[_0x3a4ceb(0x15c)]=null,_0x3f1ec8[_0x3a4ceb(0x130)]());},{'priority':_0x2296f1(0x149)}),this[_0x2296f1(0x16a)](_0x2b33e4[_0x2296f1(0x14d)][_0x2296f1(0x189)][_0x2296f1(0x101)],_0x2296f1(0x16b),(_0x1e6c67,_0x46e6c4)=>{const _0x3c6831=_0x2296f1;_0x46e6c4[_0x3c6831(0x13f)]&&this[_0x3c6831(0x183)]();}),this[_0x2296f1(0x16a)](_0x2b33e4[_0x2296f1(0x12f)][_0x2296f1(0x1d1)],_0x2296f1(0x1cd),()=>{const _0x4fc395=_0x2296f1;this[_0x4fc395(0x183)]();}),this[_0x2296f1(0x11a)](),_0x2b33e4[_0x2296f1(0x14d)]['on'](_0x2296f1(0xdc),(_0x4a7473,_0x449a18)=>{const _0x4b3060=_0x2296f1,_0x561017=_0x449a18[0x0];_0x561017[_0x4b3060(0x1c8)]&&(this[_0x4b3060(0x18b)](_0x561017),this[_0x4b3060(0x119)]()&&this[_0x4b3060(0x1d2)]());}),this[_0x2296f1(0x124)](),this[_0x2296f1(0x116)](_0x2296f1(0xe5))['to'](_0x61dca7,_0x2296f1(0x108),this,_0x2296f1(0xf5),(_0x55a3aa,_0x19a547)=>_0x2296f1(0x173)===_0x55a3aa&&!_0x19a547),this['on'](_0x2296f1(0x128),()=>{const _0x1d6658=_0x2296f1;this[_0x1d6658(0xe5)]?_0x2b33e4[_0x1d6658(0x168)](_0x1d6658(0xf4)):_0x2b33e4[_0x1d6658(0x160)](_0x1d6658(0xf4));}),this[_0x2296f1(0xe5)]?_0x2b33e4[_0x2296f1(0x168)](_0x2296f1(0xf4)):_0x2b33e4[_0x2296f1(0x160)](_0x2296f1(0xf4)),this[_0x2296f1(0x110)](_0x2296f1(0x165),!0x1);}async[_0x411596(0x146)](){const _0x4c60ae=_0x411596,_0x2b3732=this[_0x4c60ae(0x1d4)][_0x4c60ae(0x191)][_0x4c60ae(0x16d)](_0x5f02dd),_0x5761a0=this[_0x4c60ae(0x1d4)][_0x4c60ae(0x191)][_0x4c60ae(0x16d)](_0x23dc93);try{this[_0x4c60ae(0x1a4)]=!0x0,_0x2b3732[_0x4c60ae(0xea)](this[_0x4c60ae(0x118)]);const _0x1c8f5b=await this[_0x4c60ae(0xe2)][_0x4c60ae(0x146)](_0x5761a0[_0x4c60ae(0x163)],this[_0x4c60ae(0x155)]);await this[_0x4c60ae(0xd4)](_0x1c8f5b)&&(this[_0x4c60ae(0x1a4)]=!0x1,this[_0x4c60ae(0x16e)]());const _0xde675d=await this[_0x4c60ae(0xe2)][_0x4c60ae(0x162)]();_0x2b3732[_0x4c60ae(0x15d)](this[_0x4c60ae(0x118)],_0xde675d),this[_0x4c60ae(0x139)](),this[_0x4c60ae(0x165)]=!0x0;}catch(_0x2fdda8){if(function(_0xb978a9){const _0x36ddd9=_0x4c60ae;return _0x36ddd9(0x170)===_0xb978a9[_0x36ddd9(0x1ca)];}(_0x2fdda8)&&this[_0x4c60ae(0x132)])await this[_0x4c60ae(0x106)]();else{if(function(_0x510f6f){const _0x3ecd2a=_0x4c60ae;return _0x3ecd2a(0x187)===_0x510f6f[_0x3ecd2a(0x1ca)];}(_0x2fdda8)){const _0xc41f4b=_0x486252(this[_0x4c60ae(0x1d4)][_0x4c60ae(0x1b2)],_0x4c60ae(0x15b));this[_0x4c60ae(0x1a6)](_0xc41f4b);}else{if(!(_0x2fdda8 instanceof $))throw _0x2fdda8;this[_0x4c60ae(0x1a6)]();}}}}[_0x411596(0xda)](){const _0x345081=_0x411596,_0x359773=this[_0x345081(0x1d4)][_0x345081(0x191)][_0x345081(0x16d)](_0x23dc93),_0x1149d9=this[_0x345081(0x1d4)][_0x345081(0x191)][_0x345081(0x16d)](_0x5f02dd);this[_0x345081(0x1d4)][_0x345081(0x160)](_0x345081(0x186)),_0x1149d9[_0x345081(0xd8)][_0x345081(0xfe)](this[_0x345081(0x118)])&&_0x1149d9[_0x345081(0xea)](this[_0x345081(0x118)]),_0x359773[_0x345081(0x192)](this),this[_0x345081(0x121)](),super[_0x345081(0xda)]();}async[_0x411596(0xd4)](_0x4f9bc6){const _0xc59e8e=_0x411596;if(this[_0xc59e8e(0x132)]!==_0x4f9bc6[_0xc59e8e(0x132)]&&this[_0xc59e8e(0x1a8)]!==_0x4f9bc6[_0xc59e8e(0x111)])throw new $();return this[_0xc59e8e(0x132)]=_0x4f9bc6[_0xc59e8e(0x132)],this[_0xc59e8e(0x1b0)]([],{..._0x4f9bc6,'wereChangesApplied':!0x1,'data':_0x4f9bc6[_0xc59e8e(0x144)]},_0xc59e8e(0x146));}async[_0x411596(0x1b3)](_0x32f26e,_0x56dd9e=!0x1){const _0x2756ee=_0x411596,{connection:_0x44d00a}=this[_0x2756ee(0x1d4)][_0x2756ee(0x191)][_0x2756ee(0x16d)](_0x23dc93);l[_0x2756ee(0xd5)][_0x2756ee(0x162)](_0x44d00a,this[_0x2756ee(0x118)])[_0x2756ee(0x1aa)](_0x25710c=>this[_0x2756ee(0x112)](_0x25710c))[_0x2756ee(0x14c)](_0x2803aa=>{const _0x2f9baa=_0x2756ee;this[_0x2f9baa(0xf8)](_0x2f9baa(0x1ba),_0x2803aa);}),this[_0x2756ee(0x16a)](this[_0x2756ee(0xe2)],_0x2756ee(0x17f),this[_0x2756ee(0x1d3)][_0x2756ee(0x116)](this)),this[_0x2756ee(0x16a)](this[_0x2756ee(0xe2)],_0x2756ee(0x10a),(_0x7140de,_0x188c93)=>{const _0x5dade1=_0x2756ee;this[_0x5dade1(0xf8)](_0x5dade1(0xee),_0x188c93);}),this[_0x2756ee(0x16a)](this[_0x2756ee(0xe2)],_0x2756ee(0x10d),()=>{const _0x1910e0=_0x2756ee;this[_0x1910e0(0x165)]=!0x1;});const _0x1052b4=this[_0x2756ee(0x133)][_0x2756ee(0x137)](_0x32f26e);this[_0x2756ee(0x1a4)]=!0x0;const _0x1d20af=await this[_0x2756ee(0xe2)][_0x2756ee(0xe4)](_0x44d00a,this[_0x2756ee(0xe7)](_0x32f26e),_0x1052b4);if(this[_0x2756ee(0x132)]=_0x1d20af[_0x2756ee(0x132)],_0x56dd9e){if(!_0x1d20af[_0x2756ee(0xdb)])return void this[_0x2756ee(0x1a6)]();this[_0x2756ee(0x1a4)]=!0x1,this[_0x2756ee(0x16e)](),this[_0x2756ee(0x141)][_0x2756ee(0xf6)](),this[_0x2756ee(0xfb)]=_0x1d20af[_0x2756ee(0x18d)],this[_0x2756ee(0x141)][_0x2756ee(0xf0)]=this[_0x2756ee(0xfb)],await this[_0x2756ee(0x1b0)](_0x32f26e,_0x1d20af,_0x2756ee(0x117));}else await this[_0x2756ee(0x107)](_0x1d20af,_0x32f26e);this[_0x2756ee(0x139)](),this[_0x2756ee(0x165)]=!0x0;}[_0x411596(0x139)](){const _0xe43e71=_0x411596,_0x4d3626=this[_0xe43e71(0x1d4)][_0xe43e71(0x191)][_0xe43e71(0x16d)](_0x5f02dd),_0x27af82=this[_0xe43e71(0x1d4)][_0xe43e71(0x191)][_0xe43e71(0x16d)](_0xdb7e5c),_0x173d78=_0x4d3626[_0xe43e71(0xd8)][_0xe43e71(0x16d)](this[_0xe43e71(0x118)]);_0x173d78&&_0x173d78[_0xe43e71(0x19c)]>0x1?_0x27af82[_0xe43e71(0x1bf)]():this[_0xe43e71(0x16a)](_0x4d3626,_0xe43e71(0x127)+this[_0xe43e71(0x118)],()=>{const _0x4cc806=_0xe43e71;0x2===_0x4d3626[_0x4cc806(0xd8)][_0x4cc806(0x16d)](this[_0x4cc806(0x118)])[_0x4cc806(0x19c)]&&_0x27af82[_0x4cc806(0x1bf)]();});}async[_0x411596(0x1d3)](_0x274442,_0x4dd3b3,_0x23919d,_0x5918f4){const _0x398c5e=_0x411596;if(!this[_0x398c5e(0x1a4)]&&this[_0x398c5e(0xe1)][_0x398c5e(0xf0)]==_0x4dd3b3){const _0x11911a=this[_0x398c5e(0x14a)](_0x23919d,_0x5918f4);await this[_0x398c5e(0x1b4)](_0x11911a),this[_0x398c5e(0x12e)](_0x11911a,_0x4dd3b3,_0x23919d[_0x398c5e(0x111)])||this[_0x398c5e(0xf8)](_0x398c5e(0x19f));}}async[_0x411596(0x106)](){const _0x19521d=_0x411596;this[_0x19521d(0x121)]();const {locale:_0x48c05f}=this[_0x19521d(0x1d4)];let _0x2b19b1;try{_0x2b19b1=await this[_0x19521d(0xe2)][_0x19521d(0x167)]();}catch{const _0x26e660=_0x486252(_0x48c05f,_0x19521d(0x1a1));return void this[_0x19521d(0x1a6)](_0x26e660);}const _0x49d32a=_0x2b19b1[_0x19521d(0x12d)]||_0x2b19b1[_0x19521d(0x177)];if(this[_0x19521d(0x1a8)]!==_0x49d32a[_0x19521d(0x111)]){const _0x19be08=_0x486252(_0x48c05f,_0x19521d(0x148));return void this[_0x19521d(0x1a6)](_0x19be08);}await this[_0x19521d(0x1b3)](this[_0x19521d(0x1d4)][_0x19521d(0x14d)][_0x19521d(0x189)][_0x19521d(0x15a)][_0x19521d(0x11b)](),!0x0);}[_0x411596(0x121)](){const _0x215155=_0x411596;this[_0x215155(0xe2)][_0x215155(0xf9)](),this[_0x215155(0x105)]=[],clearTimeout(this[_0x215155(0xe3)]),this[_0x215155(0xd6)](this[_0x215155(0xe2)]);}[_0x411596(0x112)](_0x488072){const _0x15636d=_0x411596,_0x2017c8=this[_0x15636d(0x1d4)][_0x15636d(0x191)][_0x15636d(0x16d)](_0x5f02dd);this[_0x15636d(0x16a)](_0x2017c8,_0x15636d(0x127)+this[_0x15636d(0x118)],(_0x140024,{session:_0x515605})=>{const _0x45b793=_0x15636d;if(_0x515605['id']===_0x2017c8[_0x45b793(0x1cb)]){_0x140024[_0x45b793(0x1c0)]();const _0x33b93a=this[_0x45b793(0x1d4)][_0x45b793(0x191)][_0x45b793(0xfe)](_0x45b793(0x182))&&this[_0x45b793(0x1d4)][_0x45b793(0x191)][_0x45b793(0x16d)](_0x45b793(0x182));let _0x19bcae=_0x515605[_0x45b793(0xd3)];_0x33b93a&&_0x33b93a[_0x45b793(0xd9)]&&(_0x19bcae=_0x19bcae[_0x45b793(0x114)](_0x500301=>_0x45b793(0x13e)!==_0x500301)),this[_0x45b793(0x1d4)][_0x45b793(0x191)][_0x45b793(0x16d)](_0x45b793(0x1c9))[_0x45b793(0x104)](_0x19bcae,this[_0x45b793(0x118)]);}}),_0x2017c8[_0x15636d(0x15d)](this[_0x15636d(0x118)],_0x488072);}[_0x411596(0x11a)](){const _0x2fb9c8=_0x411596,_0x14f03c=this[_0x2fb9c8(0x1d4)][_0x2fb9c8(0x144)][_0x2fb9c8(0x110)];this[_0x2fb9c8(0x1d4)][_0x2fb9c8(0x144)][_0x2fb9c8(0x110)]=(..._0xb1208c)=>{const _0x10faf8=_0x2fb9c8;if(!_0xb1208c[_0xb1208c[_0x10faf8(0x19c)]-0x1][_0x10faf8(0x1ad)])throw new _0x3ae1f5(_0x10faf8(0x169),this);_0x14f03c[_0x10faf8(0x10c)](this[_0x10faf8(0x1d4)][_0x10faf8(0x144)],_0xb1208c);};}[_0x411596(0x124)](){const _0x1d70ef=_0x411596;this[_0x1d70ef(0x1d4)][_0x1d70ef(0x144)]['on'](_0x1d70ef(0x1bc),(_0x1e0c1a,[_0x1e6e4f])=>{const _0x2f0cac=_0x1d70ef;if(this[_0x2f0cac(0xe1)][_0x2f0cac(0xf0)])throw new _0x3ae1f5(_0x2f0cac(0xf1),this);_0x1e0c1a[_0x2f0cac(0x130)](),this[_0x2f0cac(0x10e)]();const _0x5adff7=this[_0x2f0cac(0x1d4)][_0x2f0cac(0x12c)][_0x2f0cac(0x16d)](_0x2f0cac(0x153)),_0xe699a4=this[_0x2f0cac(0x109)](_0x1e6e4f,_0x5adff7);0x0==_0xe699a4[_0x2f0cac(0x19c)]&&_0xe699a4[_0x2f0cac(0x180)](new _0x2cd4f2(0x0)),_0x1e0c1a[_0x2f0cac(0x15c)]=this[_0x2f0cac(0x1b3)](_0xe699a4)[_0x2f0cac(0x1aa)](()=>{const _0xad8876=_0x2f0cac;this[_0xad8876(0x1d4)][_0xad8876(0x191)][_0xad8876(0x16d)](_0x23dc93)[_0xad8876(0x1cc)](this),this[_0xad8876(0x1d4)][_0xad8876(0x144)][_0xad8876(0x1c7)](_0xad8876(0xeb));})[_0x2f0cac(0x14c)](_0x3c14d1=>this[_0x2f0cac(0xf8)](_0x2f0cac(0x11d),_0x3c14d1))[_0x2f0cac(0x18a)](()=>this[_0x2f0cac(0x16e)]());},{'priority':_0x1d70ef(0x149)}),this[_0x1d70ef(0x1d4)]['on'](_0x1d70ef(0x1a5),async(_0x5351ad,[_0x152bd7,_0x5def86])=>{const _0x56d511=_0x1d70ef;_0x5351ad[_0x56d511(0x130)]();const _0x59f10d=this[_0x56d511(0x1d4)][_0x56d511(0x14d)][_0x56d511(0x189)][_0x56d511(0x13b)](_0x152bd7);if(!this[_0x56d511(0x1ae)][_0x56d511(0xfe)](_0x152bd7)){const _0x2900c1=_0x5def86&&_0x5def86[_0x56d511(0x144)]?_0x5def86[_0x56d511(0x144)]:'',_0x129b0f=_0x5def86&&_0x5def86[_0x56d511(0x1b8)]?_0x5def86[_0x56d511(0x1b8)]:{};await this[_0x56d511(0x1ac)](_0x152bd7,_0x2900c1,_0x129b0f);}this[_0x56d511(0x1d4)][_0x56d511(0x14d)][_0x56d511(0x1a9)]({'isUndoable':!0x1},()=>{const _0x1b8f0d=_0x56d511;_0x59f10d[_0x1b8f0d(0x166)]=!0x0,this[_0x1b8f0d(0x1d4)][_0x1b8f0d(0x14d)][_0x1b8f0d(0x189)][_0x1b8f0d(0x178)][_0x1b8f0d(0x1af)](_0x59f10d);});},{'priority':_0x1d70ef(0x149)});}async[_0x411596(0x1b4)](_0xb34cc9){const _0x31f730=_0x411596,_0x5a1a22=this[_0x31f730(0x1d4)][_0x31f730(0x191)][_0x31f730(0x16d)](_0x5a8075),{connection:_0x58cfc5}=this[_0x31f730(0x1d4)][_0x31f730(0x191)][_0x31f730(0x16d)](_0x23dc93),_0x489dad=new Set();for(const _0x4865a1 of _0xb34cc9){const _0x33c09b=_0x4865a1[_0x31f730(0x188)];_0x33c09b&&!_0x5a1a22[_0x31f730(0x142)](_0x33c09b)&&_0x489dad[_0x31f730(0x1b7)](_0x33c09b);}if(0x0===_0x489dad[_0x31f730(0x179)])return;const _0x423abc=await _0xc5ad92[_0x31f730(0x1d0)](_0x58cfc5,Array[_0x31f730(0x113)](_0x489dad));for(const _0x1fdcb2 of _0x423abc)_0x5a1a22[_0x31f730(0x142)](_0x1fdcb2['id'])||_0x5a1a22[_0x31f730(0x13d)](_0x1fdcb2);}[_0x411596(0x109)](_0x156656,_0x4485ae={}){const _0x110b6c=_0x411596,_0x13b3f1=this[_0x110b6c(0x1d4)][_0x110b6c(0x14d)],_0x358ba7=[];let _0x4c4118=0x0;const _0x2d6c8f=_0x110b6c(0x174)==typeof _0x156656?{'main':_0x156656}:_0x156656;for(const _0x905466 of Object[_0x110b6c(0x136)](_0x2d6c8f)){if(!this[_0x110b6c(0xe1)][_0x110b6c(0xd7)][_0x110b6c(0xfe)](_0x905466))throw new _0x3ae1f5(_0x110b6c(0x150),this);const _0x4ba83a=this[_0x110b6c(0x1d4)][_0x110b6c(0x144)][_0x110b6c(0x19a)](_0x2d6c8f[_0x905466]),_0x1fa9e5=this[_0x110b6c(0xe1)][_0x110b6c(0x13b)](_0x905466),_0x30a835=new _0x41ee47(_0x13b3f1[_0x110b6c(0x1c6)](_0x1fa9e5,0x0),_0x4ba83a,_0x4c4118++);_0x358ba7[_0x110b6c(0x180)](_0x30a835);for(const [_0x220586,_0x3c3341]of _0x4ba83a[_0x110b6c(0x134)]){const _0x150bfd=_0x13b3f1[_0x110b6c(0x199)](_0x13b3f1[_0x110b6c(0x147)](_0x1fa9e5,_0x3c3341[_0x110b6c(0xff)][_0x110b6c(0x129)][_0x110b6c(0x172)]()),_0x13b3f1[_0x110b6c(0x147)](_0x1fa9e5,_0x3c3341[_0x110b6c(0x115)][_0x110b6c(0x129)][_0x110b6c(0x172)]())),_0x184d89=new _0x44513d(_0x220586,null,_0x150bfd,_0x13b3f1[_0x110b6c(0x134)],!0x0,_0x4c4118++);_0x358ba7[_0x110b6c(0x180)](_0x184d89);}}if(_0x4485ae)for(const [_0x5bc2ba,_0x5ba869]of Object[_0x110b6c(0x1ab)](_0x4485ae)){const _0x46c515=_0x13b3f1[_0x110b6c(0x189)][_0x110b6c(0x13b)](_0x5bc2ba);if(!_0x46c515)throw new _0x3ae1f5(_0x110b6c(0x195),null);for(const [_0x4b62e3,_0x2c2021]of Object[_0x110b6c(0x1ab)](_0x5ba869))if(null!==_0x2c2021){const _0x490a9a=new _0x5820cf(_0x46c515,_0x4b62e3,null,_0x2c2021,_0x4c4118++);_0x358ba7[_0x110b6c(0x180)](_0x490a9a);}}return _0x358ba7;}async[_0x411596(0x1ac)](_0x209095,_0x1a765c,_0x4cfca2){const _0x4ff834=_0x411596;this[_0x4ff834(0x109)]({[_0x209095]:_0x1a765c},{[_0x209095]:_0x4cfca2})[_0x4ff834(0x156)]((_0x54878d,_0x37e95d)=>{const _0x3895ae=_0x4ff834;_0x54878d[_0x3895ae(0x17c)]=this[_0x3895ae(0xe1)][_0x3895ae(0xf0)]+_0x37e95d,_0x54878d[_0x3895ae(0xdd)]=!0x0,this[_0x3895ae(0x18b)](_0x54878d);}),this[_0x4ff834(0x1d2)](),await this[_0x4ff834(0x140)]();}async[_0x411596(0x107)](_0x5e352a,_0x12f1b7){const _0x41d783=_0x411596;let _0xdf7c5a;this[_0x41d783(0xfb)]=_0x5e352a[_0x41d783(0x18d)];const _0x4214de=_0x5e352a[_0x41d783(0xdb)]&&!_0x5e352a[_0x41d783(0x143)],_0xe53bda=_0x4214de?0x0:_0x5e352a[_0x41d783(0x144)][_0x41d783(0x17c)];if(_0x12f1b7[_0x41d783(0x156)](_0x172f0a=>{const _0xe2efe1=_0x41d783;_0x172f0a[_0xe2efe1(0xdd)]=!0x0,_0x172f0a[_0xe2efe1(0x12b)]=_0x5e352a[_0xe2efe1(0x196)],_0x172f0a[_0xe2efe1(0x188)]=null;}),_0x4214de)_0xdf7c5a=_0x12f1b7,this[_0x41d783(0x1c2)](_0xdf7c5a,_0x4214de);else{if(_0x5e352a[_0x41d783(0x143)]){const _0x4c08dd=this[_0x41d783(0x109)](_0x5e352a[_0x41d783(0x143)]);this[_0x41d783(0xe1)][_0x41d783(0x15a)][_0x41d783(0xf0)]=-_0x4c08dd[_0x41d783(0x19c)],_0x4c08dd[_0x41d783(0x156)](_0x3b0ec3=>{const _0x4c6132=_0x41d783;_0x3b0ec3[_0x4c6132(0x17c)]-=_0x4c08dd[_0x4c6132(0x19c)],_0x3b0ec3[_0x4c6132(0x12b)]=_0x5e352a[_0x4c6132(0x196)],_0x3b0ec3[_0x4c6132(0xdd)]=!0x0,_0x3b0ec3[_0x4c6132(0x188)]=null;}),this[_0x41d783(0x1c2)](_0x4c08dd,!0x0),this[_0x41d783(0x141)][_0x41d783(0xf0)]=-_0x4c08dd[_0x41d783(0x19c)]+this[_0x41d783(0xfb)],this[_0x41d783(0x16c)](_0x4c08dd);}this[_0x41d783(0xe1)][_0x41d783(0x15a)][_0x41d783(0xf0)]=_0xe53bda,_0xdf7c5a=this[_0x41d783(0x14a)](_0x5e352a[_0x41d783(0x144)],_0x5e352a[_0x41d783(0x10f)]),await this[_0x41d783(0x1b4)](_0xdf7c5a),this[_0x41d783(0x1c2)](_0xdf7c5a,_0x4214de);}_0x5e352a[_0x41d783(0x111)]&&(this[_0x41d783(0x133)][_0x41d783(0x184)](_0xdf7c5a,_0x5e352a[_0x41d783(0x111)]),this[_0x41d783(0x1a8)]=_0x5e352a[_0x41d783(0x111)]),this[_0x41d783(0x141)][_0x41d783(0xf0)]=_0xe53bda+this[_0x41d783(0xfb)],this[_0x41d783(0x16c)](_0xdf7c5a),_0x12f1b7[_0x41d783(0x114)](_0x8846ed=>{const _0x55172f=_0x41d783,_0x22c305=this[_0x55172f(0x11f)](_0x8846ed);return _0x22c305&&!this[_0x55172f(0x1ae)][_0x55172f(0xfe)](_0x22c305);})[_0x41d783(0x156)]((_0x1d51d5,_0x219188)=>{const _0x4dffdc=_0x41d783;_0x1d51d5[_0x4dffdc(0x17c)]=this[_0x4dffdc(0xe1)][_0x4dffdc(0xf0)]+_0x219188,this[_0x4dffdc(0x18b)](_0x1d51d5);}),this[_0x41d783(0x119)]()?(this[_0x41d783(0xe8)]=0x0,this[_0x41d783(0x1d2)](!0x0),await this[_0x41d783(0x140)]()):(this[_0x41d783(0x1a4)]=!0x1,this[_0x41d783(0x16e)]());}[_0x411596(0xf8)](_0x152b47,_0xf58407){const _0x4ae2c6=_0x411596,_0x3def9d=_0xf58407&&_0xf58407[_0x4ae2c6(0x198)];if(_0x3def9d&&_0x3def9d[_0x4ae2c6(0x138)](_0x4ae2c6(0x164)))throw _0xf58407;const _0xab7333=this[_0x4ae2c6(0x1d4)][_0x4ae2c6(0x191)][_0x4ae2c6(0x16d)](_0x23dc93);throw this[_0x4ae2c6(0x1a4)]=!0x0,_0xab7333[_0x4ae2c6(0xf9)](),this[_0x4ae2c6(0x1d4)][_0x4ae2c6(0x160)](_0x4ae2c6(0x18c)),new _0x3ae1f5(_0x152b47,this[_0x4ae2c6(0x1d4)],_0x3def9d?{'originalError':_0x3def9d}:void 0x0);}[_0x411596(0x18b)](_0xb904d7){const _0x10a662=_0x411596;this[_0x10a662(0x161)][_0x10a662(0xfe)](_0xb904d7)||(this[_0x10a662(0x161)][_0x10a662(0x1b7)](_0xb904d7),this[_0x10a662(0x105)][_0x10a662(0x180)](_0xb904d7),this[_0x10a662(0x1b9)]||_0x10a662(0x17e)==_0xb904d7[_0x10a662(0x13a)]&&!_0xb904d7[_0x10a662(0xfd)]||this[_0x10a662(0x10e)]());}[_0x411596(0x1d2)](_0x932aa7=!0x1){const _0x2763fe=_0x411596;!_0x932aa7&&this[_0x2763fe(0x1a4)]||(this[_0x2763fe(0x1a4)]=!0x0,clearTimeout(this[_0x2763fe(0xe3)]),this[_0x2763fe(0xe3)]=setTimeout(()=>{const _0x5c045a=_0x2763fe;this[_0x5c045a(0x13c)]()[_0x5c045a(0x1aa)](_0xcdda6f=>{const _0x483a44=_0x5c045a;_0xcdda6f&&(this[_0x483a44(0x16e)](),this[_0x483a44(0x1a4)]=!0x1);})[_0x5c045a(0x14c)](_0xb2c34e=>{const _0x2f06d5=_0x5c045a;this[_0x2f06d5(0x16e)](),this[_0x2f06d5(0x1a4)]=!0x1,function(_0x53681a){const _0x359bd5=_0x2f06d5;return _0x53681a[_0x359bd5(0x198)][_0x359bd5(0x138)](_0x359bd5(0x135))||_0x53681a[_0x359bd5(0x198)][_0x359bd5(0x138)](_0x359bd5(0x100))||_0x53681a[_0x359bd5(0x198)][_0x359bd5(0x138)](_0x359bd5(0x175));}(_0xb2c34e)||this[_0x2f06d5(0xf8)](_0xb2c34e[_0x2f06d5(0x198)],_0xb2c34e);});},this[_0x2763fe(0xe8)]));}[_0x411596(0x140)](){return new Promise(_0x267d05=>{const _0xa54719=_0x33a6;this['on'](_0xa54719(0xd2),()=>{_0x267d05();});});}async[_0x411596(0x13c)](){const _0x1fdfb4=_0x411596,_0x305dca=this[_0x1fdfb4(0x1d4)][_0x1fdfb4(0x191)][_0x1fdfb4(0x16d)](_0xdb7e5c);if(this[_0x1fdfb4(0x131)]()&&(_0x305dca[_0x1fdfb4(0x1bf)](),this[_0x1fdfb4(0x1c3)]=!0x1),!this[_0x1fdfb4(0x119)]())return!0x0;const _0x53523c=[...this[_0x1fdfb4(0x105)]];for(const _0x461eb2 of _0x53523c)_0x461eb2[_0x1fdfb4(0x125)]=this[_0x1fdfb4(0xe1)][_0x1fdfb4(0x15a)][_0x1fdfb4(0x197)](_0x461eb2);const _0xcade1c=this[_0x1fdfb4(0x133)][_0x1fdfb4(0x137)](_0x53523c),_0x2167e3=G++,_0x144554=this[_0x1fdfb4(0xe7)](_0x53523c),_0x1cc31d=await this[_0x1fdfb4(0xe2)][_0x1fdfb4(0x19d)](_0x144554,_0x144554[_0x1fdfb4(0x17c)],_0xcade1c);try{return await this[_0x1fdfb4(0x1b0)](_0x53523c,_0x1cc31d,_0x2167e3);}catch(_0x2eebc2){return this[_0x1fdfb4(0xf8)](_0x1fdfb4(0x1a7),_0x2eebc2);}}async[_0x411596(0x1b0)](_0x41c281,_0x705eb6,_0x19e17b){const _0x23b6cd=_0x411596;if(_0x23b6cd(0x10a)in _0x705eb6)throw _0x705eb6[_0x23b6cd(0x10a)];let _0x4d116c=!0x1;if(_0x705eb6[_0x23b6cd(0xdb)]){_0x705eb6[_0x23b6cd(0x111)]&&(this[_0x23b6cd(0x1a8)]=_0x705eb6[_0x23b6cd(0x111)]),this[_0x23b6cd(0x105)]=this[_0x23b6cd(0x105)][_0x23b6cd(0x114)](_0x1e5d80=>!_0x41c281[_0x23b6cd(0x1cf)](_0x1e5d80));for(const _0x2490ea of _0x41c281)_0x2490ea[_0x23b6cd(0x12b)]=_0x23b6cd(0x1b5)in _0x705eb6&&_0x705eb6[_0x23b6cd(0x1b5)]||void 0x0;K(_0x41c281,_0x705eb6[_0x23b6cd(0xf0)]-_0x41c281[_0x23b6cd(0x19c)]),this[_0x23b6cd(0x16c)](_0x41c281);const _0x332b75=_0x41c281[_0x23b6cd(0x114)](_0x3d55e6=>{const _0x3f1dc1=_0x23b6cd;if(!_0x3d55e6[_0x3f1dc1(0xdd)])return!0x1;const _0x31dff4=this[_0x3f1dc1(0x11f)](_0x3d55e6);return _0x31dff4&&!this[_0x3f1dc1(0x1ae)][_0x3f1dc1(0xfe)](_0x31dff4);});K(_0x332b75,this[_0x23b6cd(0xe1)][_0x23b6cd(0xf0)]),this[_0x23b6cd(0x1c2)](_0x332b75),_0x4d116c=!0x0,this[_0x23b6cd(0xe8)]=this[_0x23b6cd(0x1bd)];}else{const _0x493882=this[_0x23b6cd(0x14a)](_0x705eb6[_0x23b6cd(0x144)],_0x705eb6[_0x23b6cd(0x10f)])[_0x23b6cd(0x114)](_0x2cc54e=>_0x2cc54e[_0x23b6cd(0x17c)]>=this[_0x23b6cd(0x102)]);_0x493882[_0x23b6cd(0x156)](_0x3372cf=>this[_0x23b6cd(0xef)](_0x3372cf)),this[_0x23b6cd(0x105)]=this[_0x23b6cd(0x105)][_0x23b6cd(0x114)](_0x572643=>!_0x572643[_0x23b6cd(0xdd)]||!this[_0x23b6cd(0x1ae)][_0x23b6cd(0xfe)](this[_0x23b6cd(0x11f)](_0x572643))),this[_0x23b6cd(0x105)][_0x23b6cd(0x19c)]&&K(this[_0x23b6cd(0x105)],this[_0x23b6cd(0x105)][0x0][_0x23b6cd(0x17c)]),await this[_0x23b6cd(0x1b4)](_0x493882),_0x4d116c=this[_0x23b6cd(0x12e)](_0x493882,_0x705eb6[_0x23b6cd(0xf0)],_0x705eb6[_0x23b6cd(0x111)]),this[_0x23b6cd(0xe8)]=Math[_0x23b6cd(0x14b)](this[_0x23b6cd(0xe8)]/0x2);}return _0x4d116c?!this[_0x23b6cd(0x119)]()||(this[_0x23b6cd(0x1d2)](!0x0),!0x1):this[_0x23b6cd(0xf8)](_0x23b6cd(0xd1));}[_0x411596(0x12e)](_0xc48946,_0x55eb14,_0x70b69f){const _0x31712d=_0x411596;try{const _0xf5f7af={'document':this[_0x31712d(0xe1)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x14b71b,operationsB:_0xdc6b65,originalOperations:_0x2de2d1}=_0xc6afd8(_0xc48946,this[_0x31712d(0x105)],_0xf5f7af);K(_0x14b71b,this[_0x31712d(0xe1)][_0x31712d(0xf0)]),K(_0xdc6b65,_0x55eb14);for(const _0x755855 of _0x14b71b){const _0x1e4de2=_0x2de2d1[_0x31712d(0x16d)](_0x755855);_0x755855[_0x31712d(0x188)]=_0x1e4de2?_0x1e4de2[_0x31712d(0x188)]:null;}_0x70b69f&&(this[_0x31712d(0x133)][_0x31712d(0x184)](_0xc48946,_0x70b69f),this[_0x31712d(0x1a8)]=_0x70b69f),this[_0x31712d(0x105)]=[..._0xdc6b65],this[_0x31712d(0x1c2)](_0x14b71b),this[_0x31712d(0x16c)](_0xc48946);}catch(_0x3931d3){return console[_0x31712d(0x10a)](_0x3931d3),!0x1;}return!0x0;}[_0x411596(0x1c2)](_0x2831f8,_0x48d414=!0x1){const _0x32d1d1=_0x411596;this[_0x32d1d1(0x1d4)][_0x32d1d1(0x14d)][_0x32d1d1(0x1a9)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4a0b0f=>{const _0x4604cf=_0x32d1d1;for(const _0x2c5d8f of _0x2831f8)this[_0x4604cf(0x161)][_0x4604cf(0x1b7)](_0x2c5d8f),this[_0x4604cf(0xef)](_0x2c5d8f),_0x4a0b0f[_0x4604cf(0x194)][_0x4604cf(0x1c1)](_0x2c5d8f),this[_0x4604cf(0x1d4)][_0x4604cf(0x14d)][_0x4604cf(0xdc)](_0x2c5d8f);});}[_0x411596(0xef)](_0x7442b1){const _0x3f7f9d=_0x411596,_0x31e858=this[_0x3f7f9d(0x11f)](_0x7442b1);_0x31e858&&this[_0x3f7f9d(0x1ae)][_0x3f7f9d(0x1b7)](_0x31e858);}[_0x411596(0x11f)](_0x3639c4){const _0x9e35bd=_0x411596;let _0x154485,_0x2a8934;switch(_0x3639c4[_0x9e35bd(0x13a)]){case _0x9e35bd(0xe0):_0x154485=_0x3639c4[_0x9e35bd(0x14e)][_0x9e35bd(0x15f)];break;case _0x9e35bd(0x17e):if(_0x2a8934=_0x3639c4[_0x9e35bd(0xfc)],!_0x2a8934)return null;_0x154485=_0x2a8934[_0x9e35bd(0x15f)];break;case _0x9e35bd(0x152):_0x154485=_0x3639c4[_0x9e35bd(0x15f)];break;case _0x9e35bd(0x176):_0x154485=_0x3639c4[_0x9e35bd(0x1a2)];break;case _0x9e35bd(0x158):_0x154485=_0x3639c4[_0x9e35bd(0x181)][_0x9e35bd(0x15f)];break;default:return null;}return _0x154485[_0x9e35bd(0x103)];}[_0x411596(0x16c)](_0x9a64a2){const _0xf48121=_0x411596;_0x9a64a2[_0xf48121(0x156)](_0x3c155c=>{const _0x521ae1=_0xf48121,_0x3b0e0e=_0x3c155c[_0x521ae1(0x14f)]();_0x3b0e0e[_0x521ae1(0x188)]=_0x3c155c[_0x521ae1(0x188)],_0x3b0e0e[_0x521ae1(0xdd)]=!!_0x3c155c[_0x521ae1(0xdd)],_0x3b0e0e[_0x521ae1(0x12b)]=_0x3c155c[_0x521ae1(0x12b)],_0x3b0e0e[_0x521ae1(0x17c)]+=this[_0x521ae1(0xfb)],_0x3c155c[_0x521ae1(0x1d6)]&&this[_0x521ae1(0x185)][_0x521ae1(0x1b7)](_0x3b0e0e),this[_0x521ae1(0x141)][_0x521ae1(0x1c1)](_0x3b0e0e);});}[_0x411596(0x1a6)](_0x2cf1d6){const _0x343cca=_0x411596,_0x20a244=this[_0x343cca(0x1d4)][_0x343cca(0x191)][_0x343cca(0x16d)](_0x343cca(0xed)),_0x4ed4d7=this[_0x343cca(0x1d4)][_0x343cca(0x1b2)];_0x2cf1d6||(_0x2cf1d6=_0x486252(_0x4ed4d7,_0x343cca(0x123))),_0x20a244[_0x343cca(0xde)](_0x2cf1d6,{'title':_0x486252(_0x4ed4d7,_0x343cca(0x1b6)),'namespace':_0x343cca(0x1b1)}),this[_0x343cca(0xf5)]=!0x0,clearTimeout(this[_0x343cca(0xe3)]),this[_0x343cca(0x105)]=[],this[_0x343cca(0x1d4)][_0x343cca(0x191)][_0x343cca(0x16d)](_0x23dc93)[_0x343cca(0xf9)]();}[_0x411596(0x10e)](){const _0xe1f86d=_0x411596;this[_0xe1f86d(0x1b9)]||(this[_0xe1f86d(0x1b9)]=this[_0xe1f86d(0x1d4)][_0xe1f86d(0x191)][_0xe1f86d(0x16d)](_0x5b0028)[_0xe1f86d(0x1b7)](_0x486252(this[_0xe1f86d(0x1d4)][_0xe1f86d(0x1b2)],_0xe1f86d(0x12a))));}[_0x411596(0x16e)](){const _0x2adaf6=_0x411596;this[_0x2adaf6(0x1b9)]&&(this[_0x2adaf6(0x1d4)][_0x2adaf6(0x191)][_0x2adaf6(0x16d)](_0x5b0028)[_0x2adaf6(0xec)](this[_0x2adaf6(0x1b9)]),this[_0x2adaf6(0x1b9)]=null);}[_0x411596(0xe7)](_0x456719){const _0x10f902=_0x411596,_0x10cbb9=_0x456719[_0x10f902(0x17b)](_0x27ccf4=>_0x27ccf4[_0x10f902(0x1c5)]());return this[_0x10f902(0x1d5)][_0x10f902(0xdf)](_0x10cbb9);}[_0x411596(0x14a)](_0xfdd660,_0x30530d){const _0x302b3e=_0x411596;return this[_0x302b3e(0x1d5)][_0x302b3e(0x122)](_0xfdd660)[_0x302b3e(0x17b)]((_0x3a7e6f,_0x570085)=>{const _0x1bdd14=_0x302b3e,_0x2dcd72=_0x1bdd14(0x1bc)==_0x30530d[_0x570085][_0x1bdd14(0x13a)];if(_0x1bdd14(0x190)==_0x3a7e6f[_0x1bdd14(0xfa)]){const _0x206d77=_0x3a7e6f[_0x1bdd14(0x14e)][_0x1bdd14(0x15f)];!this[_0x1bdd14(0xe1)][_0x1bdd14(0x13b)](_0x206d77)&&(this[_0x1bdd14(0xe1)][_0x1bdd14(0x1a0)](_0x1bdd14(0x1be),_0x206d77)[_0x1bdd14(0x19b)]=!0x1);}const _0x3e8f99=_0x512198[_0x1bdd14(0x10b)](_0x3a7e6f,this[_0x1bdd14(0xe1)]);return _0x3e8f99[_0x1bdd14(0x125)]=_0x3a7e6f[_0x1bdd14(0x125)],_0x3e8f99[_0x1bdd14(0xdd)]=_0x2dcd72,_0x3e8f99[_0x1bdd14(0x188)]=_0x2dcd72?null:_0x30530d[_0x570085][_0x1bdd14(0x120)],_0x3e8f99[_0x1bdd14(0x1d6)]=_0x1bdd14(0xf3)===_0x30530d[_0x570085][_0x1bdd14(0x13a)],_0x3e8f99[_0x1bdd14(0x12b)]=_0x30530d[_0x570085][_0x1bdd14(0x12b)],_0x3e8f99;});}[_0x411596(0x183)](){const _0x207535=_0x411596;this[_0x207535(0x1c3)]=!0x0,this[_0x207535(0x131)]()?this[_0x207535(0x1d2)]():this[_0x207535(0x1c3)]=!0x1;}[_0x411596(0x131)](){const _0x1d37a2=_0x411596,_0x39905e=this[_0x1d37a2(0x1d4)][_0x1d37a2(0x191)][_0x1d37a2(0x16d)](_0x5f02dd)[_0x1d37a2(0xd8)][_0x1d37a2(0x16d)](this[_0x1d37a2(0x118)]);return!this[_0x1d37a2(0x1d4)][_0x1d37a2(0x17a)]&&!!_0x39905e&&_0x39905e[_0x1d37a2(0x19c)]>0x1&&this[_0x1d37a2(0x1c3)];}[_0x411596(0x119)](){const _0xf9f741=_0x411596;return this[_0xf9f741(0x105)][_0xf9f741(0x19c)]>0x0||this[_0xf9f741(0x131)]();}}function _0x33a6(_0xecb929,_0x4661e4){const _0x44e9f6=_0x44e9();return _0x33a6=function(_0x33a64b,_0x51df91){_0x33a64b=_0x33a64b-0xd1;let _0x1e0fb6=_0x44e9f6[_0x33a64b];return _0x1e0fb6;},_0x33a6(_0xecb929,_0x4661e4);}export{l as RealTimeCollaborationClient};function _0x44e9(){const _0x40ebdf=['get','_clearPendingAction','cloudServices.bundleVersion','404','370313LQZAbg','slice','connected','string','cloud-services-internal-error:\x20Request\x20timeout.','addRoot','lastDocumentSession','differ','size','isReadOnly','map','baseVersion','isPremiumPlugin','marker','operationsReceived','push','targetPosition','CommentsOnly','_refreshUserSelectionMarkers','setIdForTheLastOperation','_disconnectionOperations','rtc-destroyed','409','_authorId','document','finally','_saveOperationInBuffer','realtimecollaborationclient-error','offset','isOfficialPlugin','collaboration','InsertOperation','plugins','removeFromReconnectionStack','cloudDocumentVersion','batch','multi-root-editor-root-attributes-no-root','sessionCreatedAt','isUndoneOperation','message','createRange','parse','_isAttached','length','sendOperations','_ignoredOperations','realtimecollaborationclient-init-service-incorrect-server-operation','createRoot','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','affectedSelectable','define','_isPendingUpdate','loadRoot','_handleReconnectionError','realtimecollaborationclient-sendbufferedoperations','_lastSyncedOperationId','enqueueChange','then','entries','_loadRoot','suppressErrorInCollaboration','_knownRootNames','_bufferRootLoad','_handleServerResponse','real-time-collaboration','locale','_connectService','_fetchMissingUsers','lastOperationAcceptedAt','Synchronization\x20issue','add','attributes','_pendingAction','realtimecollaborationclient-init-session-connection-error','2pmuXOD','init','_baseBufferDelay','$root','createUserMarkerOperations','off','addOperation','_applyOperationsSet','_hasSelectionChanged','pluginName','toJSON','createPositionAt','fire','isDocumentOperation','Permissions','code','mySessionId','addToReconnectionStack','change:hasDomSelection','573114AcGpqp','includes','getMany','view','_sendBufferedOperationsDelayed','_handleReceivedOperations','editor','_compressor','_isDisconnection','realtimecollaborationclient-handleserverresponse','change:_isPendingUpdate','permissions','_handleReconnectionResponse','CollaborativeEditingService','stopListening','roots','channelSessions','isEnabled','destroy','wereChangesApplied','applyOperation','_isInit','showWarning','compress','insert','_document','_service','_sendBufferedOperationsDelayId','connect','_isEditingAllowed','collaboration.channelId','_compressOperations','_currentBufferDelay','214325ghoWRa','unregister','ready','remove','Notification','realtimecollaborationclient-init-service-internal-error','_addKnownRoot','version','realtimecollaborationclient-init-document-already-initialized','128624bYVxUo','cs:removeUser','rtc-offline','_hasSynchronizationProblem','reset','6BDlopg','_crash','disconnect','__className','_offset','newRange','affectsData','has','start','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','selection','_lastServerVersion','rootName','setPermissions','_bufferedOperations','_connectAfterSessionHasBeenFlushed','_handleInitialConnectionData','state','_getOperationsFromInitData','error','fromJSON','apply','disconnected','_setPendingAction','metadata','set','lastOperationId','_initSessionsHandling','from','filter','end','bind','reconnection:\x20flushed\x20session','_channelId','_shouldSendUpdate','_initThrowingOnDataSet','getOperations','89061SmiIIV','realtimecollaborationclient-init-connection-failed','3115820nuDUsY','_getAffectedRoot','userId','_disconnectService','decompress','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.','_setUpDataInit','wasUndone','2804778vtYtBu','sessionAdd:','change:_isEditingAllowed','path','PENDING_ACTION_SENDING_DATA','createdAt','config','currentDocumentSession','_handleExternalOperations','editing','stop','_shouldSendSelectionUpdate','sessionId','_operationIdentifier','markers','cloud-services-internal-error:\x20Not\x20connected.','keys','getIdOfTheLastOperation','startsWith','_handleSendingSelectionMarkers','type','getRoot','_sendBufferedOperations','addUser','document:write','directChange','_waitUntilSynced','serverHistory','getUser','initData','data','232FwJuDp','reconnect','createPositionFromPath','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.','high','_decompressOperations','round','catch','model','position','clone','realtimecollaborationclient-init-non-existent-root','requires','addRootAttribute','rootsAttributes','RealTimeCollaborationClient','lastSyncVersion','forEach','getOperationAuthor','move','_operationToId','history','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','return','register','collaboration-missing-channelid','root','enableReadOnlyMode','_knownOperations','getConnectedSessions','connection','realtimecollaborationclient','_isConnected','_isLoaded','getDocumentDetails','disableReadOnlyMode','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','listenTo','change:range','_updateServerHistory'];_0x44e9=function(){return _0x40ebdf;};return _0x44e9();}class $ extends Error{}function K(_0x120ecf,_0x5f79f8){const _0x428a06=_0x411596;for(const _0x1b0b5d of _0x120ecf)_0x1b0b5d[_0x428a06(0x17c)]=_0x5f79f8++;}class J{[_0x411596(0x19e)];[_0x411596(0x159)];constructor(_0x2d060d){const _0x2570ed=_0x411596;this[_0x2570ed(0x19e)]=_0x2d060d,this[_0x2570ed(0x159)]=new WeakMap();}[_0x411596(0x137)](_0x491bc3){const _0x165f93=_0x411596;let _0x4d8f1c=_0x491bc3[_0x165f93(0x19c)];for(;_0x4d8f1c--;){const _0x37221b=_0x491bc3[_0x4d8f1c];if(!this[_0x165f93(0x19e)][_0x165f93(0xfe)](_0x37221b)){if(!this[_0x165f93(0x159)][_0x165f93(0xfe)](_0x37221b)){const _0x5a1f18=_0x6dd842()[_0x165f93(0x172)](0x1,0x12);this[_0x165f93(0x159)][_0x165f93(0x110)](_0x37221b,_0x5a1f18);}return this[_0x165f93(0x159)][_0x165f93(0x16d)](_0x37221b);}}}[_0x411596(0x184)](_0x410efc,_0x2f4dd1){const _0x32223e=_0x411596;if(!_0x2f4dd1)return;let _0xda4d25=_0x410efc[_0x32223e(0x19c)];for(;_0xda4d25--;){const _0x22e4b0=_0x410efc[_0xda4d25];this[_0x32223e(0x19e)][_0x32223e(0xfe)](_0x22e4b0)||this[_0x32223e(0x159)][_0x32223e(0x110)](_0x22e4b0,_0x2f4dd1);}}}