@ckeditor/ckeditor5-real-time-collaboration 47.2.0-alpha.3 → 47.2.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-real-time-collaboration",
3
- "version": "47.2.0-alpha.3",
3
+ "version": "47.2.0-alpha.5",
4
4
  "description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -47,19 +47,19 @@
47
47
  ],
48
48
  "dependencies": {
49
49
  "@ckeditor/ckeditor-cloud-services-collaboration": "53.0.1",
50
- "@ckeditor/ckeditor5-cloud-services": "47.2.0-alpha.3",
51
- "@ckeditor/ckeditor5-comments": "47.2.0-alpha.3",
52
- "@ckeditor/ckeditor5-core": "47.2.0-alpha.3",
53
- "@ckeditor/ckeditor5-editor-multi-root": "47.2.0-alpha.3",
54
- "@ckeditor/ckeditor5-engine": "47.2.0-alpha.3",
55
- "@ckeditor/ckeditor5-operations-compressor": "47.2.0-alpha.3",
56
- "@ckeditor/ckeditor5-revision-history": "47.2.0-alpha.3",
57
- "@ckeditor/ckeditor5-theme-lark": "47.2.0-alpha.3",
58
- "@ckeditor/ckeditor5-track-changes": "47.2.0-alpha.3",
59
- "@ckeditor/ckeditor5-ui": "47.2.0-alpha.3",
60
- "@ckeditor/ckeditor5-utils": "47.2.0-alpha.3",
61
- "ckeditor5": "47.2.0-alpha.3",
62
- "ckeditor5-collaboration": "47.2.0-alpha.3",
50
+ "@ckeditor/ckeditor5-cloud-services": "47.2.0-alpha.5",
51
+ "@ckeditor/ckeditor5-comments": "47.2.0-alpha.5",
52
+ "@ckeditor/ckeditor5-core": "47.2.0-alpha.5",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "47.2.0-alpha.5",
54
+ "@ckeditor/ckeditor5-engine": "47.2.0-alpha.5",
55
+ "@ckeditor/ckeditor5-operations-compressor": "47.2.0-alpha.5",
56
+ "@ckeditor/ckeditor5-revision-history": "47.2.0-alpha.5",
57
+ "@ckeditor/ckeditor5-theme-lark": "47.2.0-alpha.5",
58
+ "@ckeditor/ckeditor5-track-changes": "47.2.0-alpha.5",
59
+ "@ckeditor/ckeditor5-ui": "47.2.0-alpha.5",
60
+ "@ckeditor/ckeditor5-utils": "47.2.0-alpha.5",
61
+ "ckeditor5": "47.2.0-alpha.5",
62
+ "ckeditor5-collaboration": "47.2.0-alpha.5",
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 _0x23f4e6=_0x13d6;(function(_0x8afe27,_0x45aa0b){const _0x140e33=_0x13d6,_0x4cf233=_0x8afe27();while(!![]){try{const _0x1a3093=-parseInt(_0x140e33(0x1e6))/0x1*(-parseInt(_0x140e33(0x1c6))/0x2)+parseInt(_0x140e33(0x1da))/0x3+parseInt(_0x140e33(0x20d))/0x4+parseInt(_0x140e33(0x204))/0x5+-parseInt(_0x140e33(0x1c3))/0x6+parseInt(_0x140e33(0x221))/0x7*(-parseInt(_0x140e33(0x1c5))/0x8)+-parseInt(_0x140e33(0x20f))/0x9*(parseInt(_0x140e33(0x1f5))/0xa);if(_0x1a3093===_0x45aa0b)break;else _0x4cf233['push'](_0x4cf233['shift']());}catch(_0x4ae9b1){_0x4cf233['push'](_0x4cf233['shift']());}}}(_0x1bc6,0xeeffa));import{ContextPlugin as _0x335f1a}from'ckeditor5/src/core.js';import{CKEditorError as _0x500a9a,Collection as _0x1a7cb5}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x2f1308,BalloonPanelView as _0x2873b0,BodyCollection as _0x220fb1}from'ckeditor5/src/ui.js';import{isElement as _0x13ed1a}from'es-toolkit/compat';import{Sessions as _0x7b4c54}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x1d6ad3}from'./view/presencelistview.js';import{PresenceCounterView as _0x189ca6}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x1ce91c}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x1c6f32}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x48ac54}from'./view/presenceinlinelistitemview.js';const U={'collapseAt':0x6,'displayMe':!0x0};function _0x1bc6(){const _0x32e23f=['querySelectorAll','usersCount','presenceList.container','button','3673284gktvRA','Esc','43656iXlrZp','491482rRquFZ','counterView','unpin','items','currentDisplayedUsers','view','balloonPanelView','select','execute','destroy','isVisible',':not([disabled]):not([tabindex=\x22-1\x22])','min','focus','isFocusable','onClick','init','find','listenTo','filter','243969XtfkWo','locale','presenceDropdownView','displayMe','input','_allConnectedUsers','keystrokes','ck\x20ck-presence-list__balloon','presenceList.collapseAt','isCollapsed','set','sort','5DewpDC','isMe','number','textarea','isPremiumPlugin','pluginName','map','presenceList.displayMe','config','allConnectedUsers','add','presencelist:hide','pin','element','focusTracker','210wsOoQm','tabIndex','offsetHeight','detachFromDom','Tab','presencelist-collapseat-invalid-format','change:isFocused','PresenceListUI','hasTooltip','reverse','_handleUserAdd','attachToDom','class','hideDropdown','isExpanded','3146360tybgEV','plugins','from','remove','indexOf','body','content','context','_handleUserRemove','6697688UfdCAg','Shift+Tab','307863ZvmXFl','[tabindex]','offsetWidth','inlineListView','presencelist:show','get','isRendered','bindTo','_bodyCollection','isOfficialPlugin','[contenteditable]','_createView','presencelist-missing-container','activeElement','length','requires','checkIfScrollable','using','1673jbZzlr','showDropdown','presenceList','appendChild','render','Enter','join','bind','define'];_0x1bc6=function(){return _0x32e23f;};return _0x1bc6();}function _0x13d6(_0x1defe5,_0x1cfc63){const _0x1bc61e=_0x1bc6();return _0x13d6=function(_0x13d61e,_0x308656){_0x13d61e=_0x13d61e-0x1c1;let _0x2cacb5=_0x1bc61e[_0x13d61e];return _0x2cacb5;},_0x13d6(_0x1defe5,_0x1cfc63);}export class PresenceListUI extends _0x335f1a{[_0x23f4e6(0x1ca)];[_0x23f4e6(0x1cc)];[_0x23f4e6(0x1cb)];[_0x23f4e6(0x1dc)];[_0x23f4e6(0x217)]=null;static get[_0x23f4e6(0x1eb)](){const _0x4c884d=_0x23f4e6;return _0x4c884d(0x1fc);}static get[_0x23f4e6(0x218)](){return!0x0;}static get[_0x23f4e6(0x1ea)](){return!0x0;}constructor(_0x58d593){const _0x583314=_0x23f4e6;super(_0x58d593),this[_0x583314(0x20b)][_0x583314(0x1ee)][_0x583314(0x229)](_0x583314(0x223),U);const _0x473897=_0x58d593[_0x583314(0x1ee)][_0x583314(0x214)](_0x583314(0x1e2));if(_0x583314(0x1e8)!=typeof _0x473897)throw new _0x500a9a(_0x583314(0x1fa),this);if(_0x473897<0x1)throw new _0x500a9a(_0x583314(0x1fa),this);this[_0x583314(0x1df)]=this[_0x583314(0x20b)][_0x583314(0x205)][_0x583314(0x214)](_0x7b4c54)[_0x583314(0x1ef)],this[_0x583314(0x1e4)](_0x583314(0x22b),0x0),this[_0x583314(0x1ca)]=new _0x1a7cb5(),this[_0x583314(0x1cc)]=new _0x2873b0(),this[_0x583314(0x1cc)][_0x583314(0x201)]=_0x583314(0x1e1),this[_0x583314(0x1cb)]=this[_0x583314(0x21a)](),this[_0x583314(0x1dc)]=void 0x0;}static get[_0x23f4e6(0x21e)](){return[_0x7b4c54];}[_0x23f4e6(0x1d6)](){const _0x40ab22=_0x23f4e6;for(const _0x39b14f of this[_0x40ab22(0x1df)])this[_0x40ab22(0x1ff)](_0x39b14f);this[_0x40ab22(0x1d8)](this[_0x40ab22(0x1df)],_0x40ab22(0x1f0),(_0x18cf40,_0x14beee)=>{const _0xc58f7=_0x40ab22;this[_0xc58f7(0x1ff)](_0x14beee);}),this[_0x40ab22(0x1d8)](this[_0x40ab22(0x1df)],_0x40ab22(0x207),(_0xb08ee4,_0x1bcac4)=>{const _0x55e006=_0x40ab22;this[_0x55e006(0x20c)](_0x1bcac4);});}[_0x23f4e6(0x21a)](){const _0x277702=_0x23f4e6,_0x52b4c6=this[_0x277702(0x20b)],_0x4cbfca=new _0x1d6ad3(this[_0x277702(0x20b)][_0x277702(0x1db)],this[_0x277702(0x20b)][_0x277702(0x1ee)][_0x277702(0x214)](_0x277702(0x1e2))),_0x57c700=this[_0x277702(0x1cc)];if(!_0x13ed1a(_0x52b4c6[_0x277702(0x1ee)][_0x277702(0x214)](_0x277702(0x1c1))))throw new _0x500a9a(_0x277702(0x21b),this);return _0x4cbfca[_0x277702(0x1c7)][_0x277702(0x228)](_0x277702(0x22b))['to'](this),_0x4cbfca[_0x277702(0x228)](_0x277702(0x1e3))['to'](this,_0x277702(0x22b),_0x1861f3=>{const _0x45221c=_0x277702,{collapseAt:_0x1150c2}=_0x52b4c6[_0x45221c(0x1ee)][_0x45221c(0x214)](_0x45221c(0x223)),_0x5c8798=_0x1861f3>=_0x1150c2;if(_0x5c8798&&!_0x4cbfca[_0x45221c(0x212)][_0x45221c(0x1c9)][_0x45221c(0x1d7)](_0x41e0ff=>_0x41e0ff instanceof _0x189ca6)){const _0x36b13d=this[_0x45221c(0x20b)][_0x45221c(0x1ee)][_0x45221c(0x214)](_0x45221c(0x1e2))-0x1;this[_0x45221c(0x1ca)][_0x45221c(0x21d)]==_0x36b13d&&this[_0x45221c(0x1ca)][_0x45221c(0x21d)]>0x1&&this[_0x45221c(0x1ca)][_0x45221c(0x207)](this[_0x45221c(0x1ca)][_0x45221c(0x21d)]-0x1),_0x4cbfca[_0x45221c(0x212)][_0x45221c(0x1c9)][_0x45221c(0x1f0)](_0x4cbfca[_0x45221c(0x1c7)]);}return _0x5c8798||this[_0x45221c(0x202)](),_0x5c8798;}),_0x4cbfca[_0x277702(0x212)][_0x277702(0x1c9)][_0x277702(0x216)](this[_0x277702(0x1ca)])[_0x277702(0x220)](_0x2549d9=>{const _0x4f0d58=_0x277702,_0x158c0d=_0x52b4c6[_0x4f0d58(0x1ee)][_0x4f0d58(0x214)](_0x4f0d58(0x223)),_0x430894=new _0x48ac54(_0x52b4c6[_0x4f0d58(0x1db)],_0x2549d9,!!_0x158c0d[_0x4f0d58(0x1d5)]);return _0x430894[_0x4f0d58(0x228)](_0x4f0d58(0x1fd))['to'](_0x4cbfca,_0x4f0d58(0x1e3),_0x1cdd94=>!_0x1cdd94),_0x430894[_0x4f0d58(0x228)](_0x4f0d58(0x1d4))['to'](_0x4cbfca,_0x4f0d58(0x1e3),_0x261d7b=>!_0x261d7b),_0x158c0d[_0x4f0d58(0x1d5)]&&this[_0x4f0d58(0x1d8)](_0x430894,_0x4f0d58(0x1ce),()=>{const _0x378d73=_0x4f0d58;this[_0x378d73(0x1cb)][_0x378d73(0x1e3)]||_0x158c0d[_0x378d73(0x1d5)](_0x2549d9,_0x430894[_0x378d73(0x1f3)]);}),_0x430894;}),this[_0x277702(0x1d8)](_0x4cbfca[_0x277702(0x212)],_0x277702(0x213),()=>{const _0x46dfdf=_0x277702;this[_0x46dfdf(0x1cb)][_0x46dfdf(0x1e3)]&&this[_0x46dfdf(0x222)]();}),this[_0x277702(0x1d8)](_0x4cbfca[_0x277702(0x212)],_0x277702(0x1f1),()=>{const _0xa85af2=_0x277702;this[_0xa85af2(0x1dc)]&&this[_0xa85af2(0x202)]();}),_0x4cbfca[_0x277702(0x212)][_0x277702(0x1e0)][_0x277702(0x1e4)](_0x277702(0x226),(_0x42d6d6,_0x168cde)=>{const _0xd4d644=_0x277702;this[_0xd4d644(0x1cb)][_0xd4d644(0x1e3)]&&(this[_0xd4d644(0x222)](),_0x168cde());}),_0x4cbfca[_0x277702(0x225)](),_0x57c700[_0x277702(0x225)](),_0x2f1308({'emitter':_0x4cbfca,'activator':()=>_0x57c700[_0x277702(0x1d0)],'contextElements':[_0x57c700[_0x277702(0x1f3)],_0x4cbfca[_0x277702(0x212)][_0x277702(0x1f3)]],'callback':()=>this[_0x277702(0x202)]()}),_0x52b4c6[_0x277702(0x1ee)][_0x277702(0x214)](_0x277702(0x1c1))[_0x277702(0x224)](_0x4cbfca[_0x277702(0x1f3)]),this[_0x277702(0x217)]=new _0x220fb1(this[_0x277702(0x20b)][_0x277702(0x1db)]),this[_0x277702(0x217)][_0x277702(0x200)](),this[_0x277702(0x217)][_0x277702(0x1f0)](this[_0x277702(0x1cc)]),_0x4cbfca;}[_0x23f4e6(0x1ff)](_0x5a8c6e){const _0x836fc7=_0x23f4e6;if(!this[_0x836fc7(0x20b)][_0x836fc7(0x1ee)][_0x836fc7(0x214)](_0x836fc7(0x1ed))&&_0x5a8c6e[_0x836fc7(0x1e7)])return;const _0x4f3772=this[_0x836fc7(0x20b)][_0x836fc7(0x1ee)][_0x836fc7(0x214)](_0x836fc7(0x1e2))-0x1;for(this[_0x836fc7(0x22b)]++;this[_0x836fc7(0x1ca)][_0x836fc7(0x21d)]>=_0x4f3772-(this[_0x836fc7(0x1cb)][_0x836fc7(0x1e3)]?0x1:0x0)&&this[_0x836fc7(0x1ca)][_0x836fc7(0x21d)]>0x1;)this[_0x836fc7(0x1ca)][_0x836fc7(0x207)](0x1);const _0x153593=_0x5a8c6e[_0x836fc7(0x1e7)]?0x0:this[_0x836fc7(0x1ca)][_0x836fc7(0x21d)];this[_0x836fc7(0x1ca)][_0x836fc7(0x1f0)](_0x5a8c6e,_0x153593);}[_0x23f4e6(0x20c)](_0x3cef73){const _0x3a9a98=_0x23f4e6;this[_0x3a9a98(0x22b)]--;const {collapseAt:_0x570df8}=this[_0x3a9a98(0x20b)][_0x3a9a98(0x1ee)][_0x3a9a98(0x214)](_0x3a9a98(0x223)),_0x4262bf=this[_0x3a9a98(0x22b)]>=_0x570df8;if(this[_0x3a9a98(0x1ca)][_0x3a9a98(0x214)](_0x3cef73['id']))this[_0x3a9a98(0x1ca)][_0x3a9a98(0x207)](_0x3cef73['id']);else{if(_0x4262bf&&this[_0x3a9a98(0x1ca)][_0x3a9a98(0x21d)]+0x1===_0x570df8-0x1)return;}if(this[_0x3a9a98(0x1ca)][_0x3a9a98(0x21d)]+(_0x4262bf?0x1:0x0)<this[_0x3a9a98(0x22b)]){for(const _0x5616ee of Array[_0x3a9a98(0x206)](this[_0x3a9a98(0x1df)])[_0x3a9a98(0x1fe)]())if(!this[_0x3a9a98(0x1ca)][_0x3a9a98(0x214)](_0x5616ee['id'])&&(this[_0x3a9a98(0x1ca)][_0x3a9a98(0x1f0)](_0x5616ee,Math[_0x3a9a98(0x1d2)](this[_0x3a9a98(0x1ca)][_0x3a9a98(0x21d)]-(_0x4262bf?0x1:0x0),0x1)),this[_0x3a9a98(0x1ca)][_0x3a9a98(0x21d)]+(_0x4262bf?0x1:0x0)===_0x570df8-0x1))return;}}[_0x23f4e6(0x222)](){const _0x2fce56=_0x23f4e6;if(this[_0x2fce56(0x1dc)])return;const _0x3a3634=this[_0x2fce56(0x20b)][_0x2fce56(0x1ee)][_0x2fce56(0x214)](_0x2fce56(0x223));this[_0x2fce56(0x1dc)]=new _0x1ce91c(this[_0x2fce56(0x20b)][_0x2fce56(0x1db)],!!_0x3a3634[_0x2fce56(0x1d5)]),this[_0x2fce56(0x1cb)][_0x2fce56(0x212)][_0x2fce56(0x203)]=!0x0,this[_0x2fce56(0x1d8)](this[_0x2fce56(0x1dc)],_0x2fce56(0x1f1),()=>{const _0x260150=_0x2fce56;this[_0x260150(0x1dc)]&&this[_0x260150(0x202)]();});const {listWrapperView:_0x337102}=this[_0x2fce56(0x1dc)];_0x337102[_0x2fce56(0x1c9)][_0x2fce56(0x216)](this[_0x2fce56(0x1df)])[_0x2fce56(0x220)](_0x46b360=>{const _0x479892=_0x2fce56;if(!_0x3a3634[_0x479892(0x1dd)]&&_0x46b360[_0x479892(0x1e7)])return null;const _0x55262b=new _0x1c6f32(this[_0x479892(0x20b)][_0x479892(0x1db)],_0x46b360,!!_0x3a3634[_0x479892(0x1d5)]);return _0x3a3634[_0x479892(0x1d5)]&&this[_0x479892(0x1d8)](_0x55262b,_0x479892(0x1ce),()=>{const _0x160aa5=_0x479892;_0x3a3634[_0x160aa5(0x1d5)](_0x46b360,_0x55262b[_0x160aa5(0x1f3)]);}),_0x55262b;}),this[_0x2fce56(0x1cc)][_0x2fce56(0x20a)][_0x2fce56(0x1f0)](this[_0x2fce56(0x1dc)]),this[_0x2fce56(0x1cc)][_0x2fce56(0x1f2)]({'target':this[_0x2fce56(0x1cb)][_0x2fce56(0x212)][_0x2fce56(0x1f3)]}),_0x337102[_0x2fce56(0x1d3)](),_0x337102[_0x2fce56(0x21f)]();const _0xe29d89=(_0x29eb4f,_0x4deec3)=>{const _0xc8c76b=_0x2fce56;this[_0xc8c76b(0x202)](),this[_0xc8c76b(0x1cb)][_0xc8c76b(0x212)][_0xc8c76b(0x1d3)](),_0x4deec3();};_0x337102[_0x2fce56(0x1e0)][_0x2fce56(0x1e4)](_0x2fce56(0x1c4),_0xe29d89),_0x337102[_0x2fce56(0x1e0)][_0x2fce56(0x1e4)](_0x2fce56(0x20e),_0xe29d89),_0x337102[_0x2fce56(0x1e0)][_0x2fce56(0x1e4)](_0x2fce56(0x1f9),(_0xc55468,_0xa1b50c)=>{const _0x3508c1=_0x2fce56;!function(_0xc0bd6f){const _0x2ae468=_0x13d6,_0x24dcb3=['a',_0x2ae468(0x1c2),_0x2ae468(0x1de),_0x2ae468(0x1cd),_0x2ae468(0x1e9),_0x2ae468(0x210),_0x2ae468(0x219)][_0x2ae468(0x1ec)](_0x343151=>_0x343151+_0x2ae468(0x1d1))[_0x2ae468(0x227)](','),_0x43a27c=[...document[_0x2ae468(0x209)][_0x2ae468(0x22a)](_0x24dcb3)][_0x2ae468(0x1d9)](_0x2a9228=>_0x2a9228===document[_0x2ae468(0x21c)]||_0x2a9228[_0x2ae468(0x211)]+_0x2a9228[_0x2ae468(0x1f7)]>0x0)[_0x2ae468(0x1e5)]((_0x3d46e2,_0x28639e)=>(_0x3d46e2[_0x2ae468(0x1f6)]||0x0)-(_0x28639e[_0x2ae468(0x1f6)]||0x0)),_0x213507=_0x43a27c[_0x2ae468(0x208)](_0xc0bd6f),_0x1cb95a=_0x43a27c[(_0x213507+0x1)%_0x43a27c[_0x2ae468(0x21d)]];_0x1cb95a&&_0x1cb95a[_0x2ae468(0x1d3)]();}(this[_0x3508c1(0x1cb)][_0x3508c1(0x1f3)]),this[_0x3508c1(0x202)](),_0xa1b50c();}),_0x337102[_0x2fce56(0x1f4)][_0x2fce56(0x1f0)](this[_0x2fce56(0x1cb)][_0x2fce56(0x1f3)]),_0x337102[_0x2fce56(0x1f4)]['on'](_0x2fce56(0x1fb),(_0x4f3167,_0xeb594d,_0x1ace50)=>{const _0x341281=_0x2fce56;_0x1ace50||this[_0x341281(0x202)]();});}[_0x23f4e6(0x202)](){const _0x4413be=_0x23f4e6;this[_0x4413be(0x1dc)]&&(this[_0x4413be(0x1cb)][_0x4413be(0x212)][_0x4413be(0x203)]=!0x1,this[_0x4413be(0x1cc)][_0x4413be(0x1c8)](),this[_0x4413be(0x1cc)][_0x4413be(0x20a)][_0x4413be(0x207)](this[_0x4413be(0x1dc)]),this[_0x4413be(0x1dc)][_0x4413be(0x1cf)](),this[_0x4413be(0x1dc)]=void 0x0);}[_0x23f4e6(0x1cf)](){const _0x503273=_0x23f4e6;super[_0x503273(0x1cf)](),this[_0x503273(0x1cb)]&&this[_0x503273(0x1cb)][_0x503273(0x215)]&&this[_0x503273(0x1cb)][_0x503273(0x1cf)](),this[_0x503273(0x217)]&&(this[_0x503273(0x217)][_0x503273(0x1f8)](),this[_0x503273(0x217)][_0x503273(0x1cf)](),this[_0x503273(0x217)]=null);}}
23
+ const _0x30c104=_0x5ce9;(function(_0x602d2b,_0x3352ec){const _0x1aedaf=_0x5ce9,_0x4cb6d8=_0x602d2b();while(!![]){try{const _0x426862=parseInt(_0x1aedaf(0x16c))/0x1*(parseInt(_0x1aedaf(0x16d))/0x2)+parseInt(_0x1aedaf(0x193))/0x3+-parseInt(_0x1aedaf(0x1a5))/0x4*(-parseInt(_0x1aedaf(0x160))/0x5)+-parseInt(_0x1aedaf(0x19d))/0x6+-parseInt(_0x1aedaf(0x185))/0x7*(parseInt(_0x1aedaf(0x16e))/0x8)+parseInt(_0x1aedaf(0x17c))/0x9+-parseInt(_0x1aedaf(0x1a4))/0xa;if(_0x426862===_0x3352ec)break;else _0x4cb6d8['push'](_0x4cb6d8['shift']());}catch(_0x4cd64b){_0x4cb6d8['push'](_0x4cb6d8['shift']());}}}(_0x4b86,0x72358));import{ContextPlugin as _0x2c8e15}from'ckeditor5/src/core.js';import{CKEditorError as _0x5c65bd,Collection as _0xe0a915}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x26a1b1,BalloonPanelView as _0x1547f9,BodyCollection as _0x2b81db}from'ckeditor5/src/ui.js';import{isElement as _0x4b05db}from'es-toolkit/compat';import{Sessions as _0x179e54}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x25425}from'./view/presencelistview.js';import{PresenceCounterView as _0xa2ea4f}from'./view/presencecounterview.js';function _0x5ce9(_0x113b4b,_0xed6b54){const _0x4b8608=_0x4b86();return _0x5ce9=function(_0x5ce9eb,_0x5005be){_0x5ce9eb=_0x5ce9eb-0x148;let _0x337123=_0x4b8608[_0x5ce9eb];return _0x337123;},_0x5ce9(_0x113b4b,_0xed6b54);}import{PresenceDropdownListView as _0x419e48}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x1624db}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x5f26aa}from'./view/presenceinlinelistitemview.js';const D={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x2c8e15{[_0x30c104(0x157)];[_0x30c104(0x151)];[_0x30c104(0x181)];[_0x30c104(0x148)];[_0x30c104(0x14f)]=null;static get[_0x30c104(0x1a2)](){const _0x17f045=_0x30c104;return _0x17f045(0x189);}static get[_0x30c104(0x14e)](){return!0x0;}static get[_0x30c104(0x1a6)](){return!0x0;}constructor(_0x2a54d1){const _0x502f9e=_0x30c104;super(_0x2a54d1),this[_0x502f9e(0x18e)][_0x502f9e(0x17b)][_0x502f9e(0x18d)](_0x502f9e(0x1ab),D);const _0xfb5bac=_0x2a54d1[_0x502f9e(0x17b)][_0x502f9e(0x1a8)](_0x502f9e(0x175));if(_0x502f9e(0x167)!=typeof _0xfb5bac)throw new _0x5c65bd(_0x502f9e(0x159),this);if(_0xfb5bac<0x1)throw new _0x5c65bd(_0x502f9e(0x159),this);this[_0x502f9e(0x1a0)]=this[_0x502f9e(0x18e)][_0x502f9e(0x198)][_0x502f9e(0x1a8)](_0x179e54)[_0x502f9e(0x19b)],this[_0x502f9e(0x161)](_0x502f9e(0x17a),0x0),this[_0x502f9e(0x157)]=new _0xe0a915(),this[_0x502f9e(0x151)]=new _0x1547f9(),this[_0x502f9e(0x151)][_0x502f9e(0x15a)]=_0x502f9e(0x190),this[_0x502f9e(0x181)]=this[_0x502f9e(0x162)](),this[_0x502f9e(0x148)]=void 0x0;}static get[_0x30c104(0x149)](){return[_0x179e54];}[_0x30c104(0x14d)](){const _0x215674=_0x30c104;for(const _0x426cee of this[_0x215674(0x1a0)])this[_0x215674(0x194)](_0x426cee);this[_0x215674(0x15c)](this[_0x215674(0x1a0)],_0x215674(0x177),(_0x305352,_0x5e2f2c)=>{const _0x347b89=_0x215674;this[_0x347b89(0x194)](_0x5e2f2c);}),this[_0x215674(0x15c)](this[_0x215674(0x1a0)],_0x215674(0x182),(_0x3cb3e4,_0x2df635)=>{const _0x2c7dbf=_0x215674;this[_0x2c7dbf(0x14c)](_0x2df635);});}[_0x30c104(0x162)](){const _0x506583=_0x30c104,_0x47c16d=this[_0x506583(0x18e)],_0x26763e=new _0x25425(this[_0x506583(0x18e)][_0x506583(0x168)],this[_0x506583(0x18e)][_0x506583(0x17b)][_0x506583(0x1a8)](_0x506583(0x175))),_0xd5a33=this[_0x506583(0x151)];if(!_0x4b05db(_0x47c16d[_0x506583(0x17b)][_0x506583(0x1a8)](_0x506583(0x165))))throw new _0x5c65bd(_0x506583(0x184),this);return _0x26763e[_0x506583(0x171)][_0x506583(0x1a3)](_0x506583(0x17a))['to'](this),_0x26763e[_0x506583(0x1a3)](_0x506583(0x1ae))['to'](this,_0x506583(0x17a),_0x3a06e5=>{const _0x482803=_0x506583,{collapseAt:_0x40823e}=_0x47c16d[_0x482803(0x17b)][_0x482803(0x1a8)](_0x482803(0x1ab)),_0x4ae777=_0x3a06e5>=_0x40823e;if(_0x4ae777&&!_0x26763e[_0x482803(0x152)][_0x482803(0x156)][_0x482803(0x14b)](_0x2dc7b1=>_0x2dc7b1 instanceof _0xa2ea4f)){const _0xea84ad=this[_0x482803(0x18e)][_0x482803(0x17b)][_0x482803(0x1a8)](_0x482803(0x175))-0x1;this[_0x482803(0x157)][_0x482803(0x163)]==_0xea84ad&&this[_0x482803(0x157)][_0x482803(0x163)]>0x1&&this[_0x482803(0x157)][_0x482803(0x182)](this[_0x482803(0x157)][_0x482803(0x163)]-0x1),_0x26763e[_0x482803(0x152)][_0x482803(0x156)][_0x482803(0x177)](_0x26763e[_0x482803(0x171)]);}return _0x4ae777||this[_0x482803(0x196)](),_0x4ae777;}),_0x26763e[_0x506583(0x152)][_0x506583(0x156)][_0x506583(0x176)](this[_0x506583(0x157)])[_0x506583(0x178)](_0x4529f0=>{const _0x2fa5ad=_0x506583,_0x264de1=_0x47c16d[_0x2fa5ad(0x17b)][_0x2fa5ad(0x1a8)](_0x2fa5ad(0x1ab)),_0x7f175e=new _0x5f26aa(_0x47c16d[_0x2fa5ad(0x168)],_0x4529f0,!!_0x264de1[_0x2fa5ad(0x15b)]);return _0x7f175e[_0x2fa5ad(0x1a3)](_0x2fa5ad(0x173))['to'](_0x26763e,_0x2fa5ad(0x1ae),_0x4d846d=>!_0x4d846d),_0x7f175e[_0x2fa5ad(0x1a3)](_0x2fa5ad(0x18f))['to'](_0x26763e,_0x2fa5ad(0x1ae),_0x46cdfb=>!_0x46cdfb),_0x264de1[_0x2fa5ad(0x15b)]&&this[_0x2fa5ad(0x15c)](_0x7f175e,_0x2fa5ad(0x15e),()=>{const _0x2474b4=_0x2fa5ad;this[_0x2474b4(0x181)][_0x2474b4(0x1ae)]||_0x264de1[_0x2474b4(0x15b)](_0x4529f0,_0x7f175e[_0x2474b4(0x17f)]);}),_0x7f175e;}),this[_0x506583(0x15c)](_0x26763e[_0x506583(0x152)],_0x506583(0x19c),()=>{const _0x5800c1=_0x506583;this[_0x5800c1(0x181)][_0x5800c1(0x1ae)]&&this[_0x5800c1(0x164)]();}),this[_0x506583(0x15c)](_0x26763e[_0x506583(0x152)],_0x506583(0x14a),()=>{const _0x318068=_0x506583;this[_0x318068(0x148)]&&this[_0x318068(0x196)]();}),_0x26763e[_0x506583(0x152)][_0x506583(0x1a7)][_0x506583(0x161)](_0x506583(0x199),(_0x1b5901,_0x307e08)=>{const _0x3e2bd7=_0x506583;this[_0x3e2bd7(0x181)][_0x3e2bd7(0x1ae)]&&(this[_0x3e2bd7(0x164)](),_0x307e08());}),_0x26763e[_0x506583(0x195)](),_0xd5a33[_0x506583(0x195)](),_0x26a1b1({'emitter':_0x26763e,'activator':()=>_0xd5a33[_0x506583(0x1b1)],'contextElements':[_0xd5a33[_0x506583(0x17f)],_0x26763e[_0x506583(0x152)][_0x506583(0x17f)]],'callback':()=>this[_0x506583(0x196)]()}),_0x47c16d[_0x506583(0x17b)][_0x506583(0x1a8)](_0x506583(0x165))[_0x506583(0x1ac)](_0x26763e[_0x506583(0x17f)]),this[_0x506583(0x14f)]=new _0x2b81db(this[_0x506583(0x18e)][_0x506583(0x168)]),this[_0x506583(0x14f)][_0x506583(0x15d)](),this[_0x506583(0x14f)][_0x506583(0x177)](this[_0x506583(0x151)]),_0x26763e;}[_0x30c104(0x194)](_0x350416){const _0x1779c9=_0x30c104;if(!this[_0x1779c9(0x18e)][_0x1779c9(0x17b)][_0x1779c9(0x1a8)](_0x1779c9(0x155))&&_0x350416[_0x1779c9(0x16a)])return;const _0x6587d6=this[_0x1779c9(0x18e)][_0x1779c9(0x17b)][_0x1779c9(0x1a8)](_0x1779c9(0x175))-0x1;for(this[_0x1779c9(0x17a)]++;this[_0x1779c9(0x157)][_0x1779c9(0x163)]>=_0x6587d6-(this[_0x1779c9(0x181)][_0x1779c9(0x1ae)]?0x1:0x0)&&this[_0x1779c9(0x157)][_0x1779c9(0x163)]>0x1;)this[_0x1779c9(0x157)][_0x1779c9(0x182)](0x1);const _0x129ac1=_0x350416[_0x1779c9(0x16a)]?0x0:this[_0x1779c9(0x157)][_0x1779c9(0x163)];this[_0x1779c9(0x157)][_0x1779c9(0x177)](_0x350416,_0x129ac1);}[_0x30c104(0x14c)](_0x2acb73){const _0x2d230f=_0x30c104;this[_0x2d230f(0x17a)]--;const {collapseAt:_0x44a8d7}=this[_0x2d230f(0x18e)][_0x2d230f(0x17b)][_0x2d230f(0x1a8)](_0x2d230f(0x1ab)),_0xbc8d51=this[_0x2d230f(0x17a)]>=_0x44a8d7;if(this[_0x2d230f(0x157)][_0x2d230f(0x1a8)](_0x2acb73['id']))this[_0x2d230f(0x157)][_0x2d230f(0x182)](_0x2acb73['id']);else{if(_0xbc8d51&&this[_0x2d230f(0x157)][_0x2d230f(0x163)]+0x1===_0x44a8d7-0x1)return;}if(this[_0x2d230f(0x157)][_0x2d230f(0x163)]+(_0xbc8d51?0x1:0x0)<this[_0x2d230f(0x17a)]){for(const _0x4c79a8 of Array[_0x2d230f(0x166)](this[_0x2d230f(0x1a0)])[_0x2d230f(0x174)]())if(!this[_0x2d230f(0x157)][_0x2d230f(0x1a8)](_0x4c79a8['id'])&&(this[_0x2d230f(0x157)][_0x2d230f(0x177)](_0x4c79a8,Math[_0x2d230f(0x18b)](this[_0x2d230f(0x157)][_0x2d230f(0x163)]-(_0xbc8d51?0x1:0x0),0x1)),this[_0x2d230f(0x157)][_0x2d230f(0x163)]+(_0xbc8d51?0x1:0x0)===_0x44a8d7-0x1))return;}}[_0x30c104(0x164)](){const _0x357301=_0x30c104;if(this[_0x357301(0x148)])return;const _0x5a3ee8=this[_0x357301(0x18e)][_0x357301(0x17b)][_0x357301(0x1a8)](_0x357301(0x1ab));this[_0x357301(0x148)]=new _0x419e48(this[_0x357301(0x18e)][_0x357301(0x168)],!!_0x5a3ee8[_0x357301(0x15b)]),this[_0x357301(0x181)][_0x357301(0x152)][_0x357301(0x197)]=!0x0,this[_0x357301(0x15c)](this[_0x357301(0x148)],_0x357301(0x14a),()=>{const _0x247f3f=_0x357301;this[_0x247f3f(0x148)]&&this[_0x247f3f(0x196)]();});const {listWrapperView:_0x2e802a}=this[_0x357301(0x148)];_0x2e802a[_0x357301(0x156)][_0x357301(0x176)](this[_0x357301(0x1a0)])[_0x357301(0x178)](_0xaf8b16=>{const _0x48a3ef=_0x357301;if(!_0x5a3ee8[_0x48a3ef(0x1ad)]&&_0xaf8b16[_0x48a3ef(0x16a)])return null;const _0x5c83e6=new _0x1624db(this[_0x48a3ef(0x18e)][_0x48a3ef(0x168)],_0xaf8b16,!!_0x5a3ee8[_0x48a3ef(0x15b)]);return _0x5a3ee8[_0x48a3ef(0x15b)]&&this[_0x48a3ef(0x15c)](_0x5c83e6,_0x48a3ef(0x15e),()=>{const _0x16aa63=_0x48a3ef;_0x5a3ee8[_0x16aa63(0x15b)](_0xaf8b16,_0x5c83e6[_0x16aa63(0x17f)]);}),_0x5c83e6;}),this[_0x357301(0x151)][_0x357301(0x15f)][_0x357301(0x177)](this[_0x357301(0x148)]),this[_0x357301(0x151)][_0x357301(0x187)]({'target':this[_0x357301(0x181)][_0x357301(0x152)][_0x357301(0x17f)]}),_0x2e802a[_0x357301(0x153)](),_0x2e802a[_0x357301(0x18a)]();const _0x2decbc=(_0xe9b749,_0x4a4fe3)=>{const _0x411f46=_0x357301;this[_0x411f46(0x196)](),this[_0x411f46(0x181)][_0x411f46(0x152)][_0x411f46(0x153)](),_0x4a4fe3();};_0x2e802a[_0x357301(0x1a7)][_0x357301(0x161)](_0x357301(0x172),_0x2decbc),_0x2e802a[_0x357301(0x1a7)][_0x357301(0x161)](_0x357301(0x19e),_0x2decbc),_0x2e802a[_0x357301(0x1a7)][_0x357301(0x161)](_0x357301(0x179),(_0x2cede8,_0x12f0dc)=>{const _0x2a2556=_0x357301;!function(_0x2c0b4d){const _0x5a8b13=_0x5ce9,_0x101d6d=['a',_0x5a8b13(0x1b2),_0x5a8b13(0x1aa),_0x5a8b13(0x1af),_0x5a8b13(0x191),_0x5a8b13(0x180),_0x5a8b13(0x1a1)][_0x5a8b13(0x188)](_0x572e40=>_0x572e40+_0x5a8b13(0x183))[_0x5a8b13(0x19a)](','),_0x4950ca=[...document[_0x5a8b13(0x19f)][_0x5a8b13(0x1a9)](_0x101d6d)][_0x5a8b13(0x169)](_0x4a3939=>_0x4a3939===document[_0x5a8b13(0x186)]||_0x4a3939[_0x5a8b13(0x17d)]+_0x4a3939[_0x5a8b13(0x158)]>0x0)[_0x5a8b13(0x192)]((_0x1230b0,_0x2bf2f0)=>(_0x1230b0[_0x5a8b13(0x154)]||0x0)-(_0x2bf2f0[_0x5a8b13(0x154)]||0x0)),_0x3b2003=_0x4950ca[_0x5a8b13(0x16f)](_0x2c0b4d),_0x10bfca=_0x4950ca[(_0x3b2003+0x1)%_0x4950ca[_0x5a8b13(0x163)]];_0x10bfca&&_0x10bfca[_0x5a8b13(0x153)]();}(this[_0x2a2556(0x181)][_0x2a2556(0x17f)]),this[_0x2a2556(0x196)](),_0x12f0dc();}),_0x2e802a[_0x357301(0x18c)][_0x357301(0x177)](this[_0x357301(0x181)][_0x357301(0x17f)]),_0x2e802a[_0x357301(0x18c)]['on'](_0x357301(0x170),(_0x595464,_0x25e193,_0x22d77e)=>{const _0x45aedf=_0x357301;_0x22d77e||this[_0x45aedf(0x196)]();});}[_0x30c104(0x196)](){const _0x3bc8bd=_0x30c104;this[_0x3bc8bd(0x148)]&&(this[_0x3bc8bd(0x181)][_0x3bc8bd(0x152)][_0x3bc8bd(0x197)]=!0x1,this[_0x3bc8bd(0x151)][_0x3bc8bd(0x150)](),this[_0x3bc8bd(0x151)][_0x3bc8bd(0x15f)][_0x3bc8bd(0x182)](this[_0x3bc8bd(0x148)]),this[_0x3bc8bd(0x148)][_0x3bc8bd(0x16b)](),this[_0x3bc8bd(0x148)]=void 0x0);}[_0x30c104(0x16b)](){const _0x330c45=_0x30c104;super[_0x330c45(0x16b)](),this[_0x330c45(0x181)]&&this[_0x330c45(0x181)][_0x330c45(0x17e)]&&this[_0x330c45(0x181)][_0x330c45(0x16b)](),this[_0x330c45(0x14f)]&&(this[_0x330c45(0x14f)][_0x330c45(0x1b0)](),this[_0x330c45(0x14f)][_0x330c45(0x16b)](),this[_0x330c45(0x14f)]=null);}}function _0x4b86(){const _0x537c57=['hideDropdown','isExpanded','plugins','Enter','join','allConnectedUsers','presencelist:show','1928514ETVSsS','Shift+Tab','body','_allConnectedUsers','[contenteditable]','pluginName','bind','13752910Lhyyss','52MjUQsr','isPremiumPlugin','keystrokes','get','querySelectorAll','input','presenceList','appendChild','displayMe','isCollapsed','select','detachFromDom','isVisible','button','presenceDropdownView','requires','presencelist:hide','find','_handleUserRemove','init','isOfficialPlugin','_bodyCollection','unpin','balloonPanelView','inlineListView','focus','tabIndex','presenceList.displayMe','items','currentDisplayedUsers','offsetHeight','presencelist-collapseat-invalid-format','class','onClick','listenTo','attachToDom','execute','content','297320RnhXNP','set','_createView','length','showDropdown','presenceList.container','from','number','locale','filter','isMe','destroy','12377dvAoaj','84ckVKId','8VoXRqz','indexOf','change:isFocused','counterView','Esc','hasTooltip','reverse','presenceList.collapseAt','bindTo','add','using','Tab','usersCount','config','7306083wklOSj','offsetWidth','isRendered','element','[tabindex]','view','remove',':not([disabled]):not([tabindex=\x22-1\x22])','presencelist-missing-container','698642iTJmYE','activeElement','pin','map','PresenceListUI','checkIfScrollable','min','focusTracker','define','context','isFocusable','ck\x20ck-presence-list__balloon','textarea','sort','478989Wucllu','_handleUserAdd','render'];_0x4b86=function(){return _0x537c57;};return _0x4b86();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x441ffa=_0x7152;function _0x7152(_0x6af5c7,_0x108304){const _0x1bd91f=_0x1bd9();return _0x7152=function(_0x715272,_0x11daaa){_0x715272=_0x715272-0xfe;let _0x3b7372=_0x1bd91f[_0x715272];return _0x3b7372;},_0x7152(_0x6af5c7,_0x108304);}(function(_0x25c2f3,_0x125684){const _0x47fd54=_0x7152,_0x1d5fb4=_0x25c2f3();while(!![]){try{const _0x2fcffd=parseInt(_0x47fd54(0x104))/0x1*(parseInt(_0x47fd54(0x100))/0x2)+parseInt(_0x47fd54(0x109))/0x3*(parseInt(_0x47fd54(0x106))/0x4)+parseInt(_0x47fd54(0xff))/0x5*(-parseInt(_0x47fd54(0x10a))/0x6)+parseInt(_0x47fd54(0x113))/0x7+parseInt(_0x47fd54(0x108))/0x8+-parseInt(_0x47fd54(0x101))/0x9*(parseInt(_0x47fd54(0x112))/0xa)+-parseInt(_0x47fd54(0x10d))/0xb;if(_0x2fcffd===_0x125684)break;else _0x1d5fb4['push'](_0x1d5fb4['shift']());}catch(_0x1d54a7){_0x1d5fb4['push'](_0x1d5fb4['shift']());}}}(_0x1bd9,0xa28d5));import{ListItemView as _0x135387}from'ckeditor5/src/ui.js';import{UserView as _0x11c80d}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x135387{[_0x441ffa(0x115)];constructor(_0x1ad396,_0x9ba690,_0x41ad20){const _0x5beab5=_0x441ffa;super(_0x1ad396);const _0x40304f=this[_0x5beab5(0x10c)];this[_0x5beab5(0x115)]=new _0x11c80d(_0x1ad396,_0x9ba690);const _0xabab23={'tag':'li','attributes':{'class':['ck',_0x5beab5(0x10f)],'tabindex':-0x1,'role':_0x5beab5(0x105),'aria-label':_0x9ba690[_0x5beab5(0xfe)]},'children':[this[_0x5beab5(0x115)],{'tag':_0x5beab5(0x111),'attributes':{'class':['ck',_0x5beab5(0x117)]},'children':[{'text':_0x9ba690[_0x5beab5(0xfe)]}]},{'tag':_0x5beab5(0x111),'attributes':{'class':['ck',_0x5beab5(0x10e),_0x9ba690[_0x5beab5(0x110)][_0x5beab5(0x10b)]()],'aria-hidden':_0x5beab5(0x103)}}]};_0x41ad20&&(_0xabab23[_0x5beab5(0x107)]=_0x5beab5(0x118),_0xabab23['on']={'click':_0x40304f['to'](()=>this[_0x5beab5(0x102)](_0x5beab5(0x119)))}),this[_0x5beab5(0x114)](_0xabab23);}[_0x441ffa(0x116)](){const _0x461a47=_0x441ffa;this[_0x461a47(0x11a)][_0x461a47(0x116)]();}}function _0x1bd9(){const _0x28bd58=['element','name','205XsPkBQ','1124UTkBuf','5409MQUtAe','fire','true','1058kRytGv','presentation','116IbVzEp','tag','6507104roblks','38046MRGtjE','115704oQQPVj','getBackgroundColorClass','bindTemplate','886248lLWLpG','ck-presence-list__marker','ck-presence-list__dropdown-list-item','color','span','18790nqMusR','6233794YuKVwR','setTemplate','userView','focus','ck-user__full-name','button','execute'];_0x1bd9=function(){return _0x28bd58;};return _0x1bd9();}
23
+ const _0x2242cb=_0x2ff3;(function(_0xc829d4,_0xc48719){const _0x52acbf=_0x2ff3,_0x2f63a7=_0xc829d4();while(!![]){try{const _0x676da3=parseInt(_0x52acbf(0x162))/0x1*(parseInt(_0x52acbf(0x163))/0x2)+parseInt(_0x52acbf(0x16c))/0x3*(parseInt(_0x52acbf(0x169))/0x4)+-parseInt(_0x52acbf(0x16b))/0x5*(parseInt(_0x52acbf(0x175))/0x6)+parseInt(_0x52acbf(0x168))/0x7+-parseInt(_0x52acbf(0x167))/0x8*(parseInt(_0x52acbf(0x173))/0x9)+-parseInt(_0x52acbf(0x15f))/0xa+parseInt(_0x52acbf(0x15d))/0xb;if(_0x676da3===_0xc48719)break;else _0x2f63a7['push'](_0x2f63a7['shift']());}catch(_0x135131){_0x2f63a7['push'](_0x2f63a7['shift']());}}}(_0x5f23,0x45846));import{ListItemView as _0x2cf7fb}from'ckeditor5/src/ui.js';import{UserView as _0x4878ca}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5f23(){const _0x4f5fb7=['9oSUuqP','span','6tFSDGI','userView','true','tag','color','315062EVVqmQ','name','1988880DNCitX','ck-user__full-name','element','963kGDuXW','638sLdTtN','setTemplate','bindTemplate','ck-presence-list__marker','2472136NGJuZb','1389297jaYpph','20168PToFHg','button','977215bYSxJT','270KxOpYw','focus','fire','presentation','getBackgroundColorClass','ck-presence-list__dropdown-list-item','execute'];_0x5f23=function(){return _0x4f5fb7;};return _0x5f23();}function _0x2ff3(_0x5b918e,_0x141698){const _0x5f23a5=_0x5f23();return _0x2ff3=function(_0x2ff36d,_0x3787c0){_0x2ff36d=_0x2ff36d-0x15b;let _0x40765b=_0x5f23a5[_0x2ff36d];return _0x40765b;},_0x2ff3(_0x5b918e,_0x141698);}export class PresenceDropdownListItemView extends _0x2cf7fb{[_0x2242cb(0x176)];constructor(_0x4cff5d,_0x311622,_0xa7e302){const _0x349c9e=_0x2242cb;super(_0x4cff5d);const _0x3ade64=this[_0x349c9e(0x165)];this[_0x349c9e(0x176)]=new _0x4878ca(_0x4cff5d,_0x311622);const _0x58fd4c={'tag':'li','attributes':{'class':['ck',_0x349c9e(0x171)],'tabindex':-0x1,'role':_0x349c9e(0x16f),'aria-label':_0x311622[_0x349c9e(0x15e)]},'children':[this[_0x349c9e(0x176)],{'tag':_0x349c9e(0x174),'attributes':{'class':['ck',_0x349c9e(0x160)]},'children':[{'text':_0x311622[_0x349c9e(0x15e)]}]},{'tag':_0x349c9e(0x174),'attributes':{'class':['ck',_0x349c9e(0x166),_0x311622[_0x349c9e(0x15c)][_0x349c9e(0x170)]()],'aria-hidden':_0x349c9e(0x177)}}]};_0xa7e302&&(_0x58fd4c[_0x349c9e(0x15b)]=_0x349c9e(0x16a),_0x58fd4c['on']={'click':_0x3ade64['to'](()=>this[_0x349c9e(0x16e)](_0x349c9e(0x172)))}),this[_0x349c9e(0x164)](_0x58fd4c);}[_0x2242cb(0x16d)](){const _0x21dc9f=_0x2242cb;this[_0x21dc9f(0x161)][_0x21dc9f(0x16d)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d5873=_0x3bb2;(function(_0x28d6a8,_0x3431b4){const _0xf63213=_0x3bb2,_0x404bec=_0x28d6a8();while(!![]){try{const _0x519da8=-parseInt(_0xf63213(0x20f))/0x1*(parseInt(_0xf63213(0x1e8))/0x2)+parseInt(_0xf63213(0x208))/0x3+parseInt(_0xf63213(0x203))/0x4*(parseInt(_0xf63213(0x1fd))/0x5)+parseInt(_0xf63213(0x1f7))/0x6*(-parseInt(_0xf63213(0x1ec))/0x7)+parseInt(_0xf63213(0x1f3))/0x8*(parseInt(_0xf63213(0x1e9))/0x9)+-parseInt(_0xf63213(0x1f1))/0xa+-parseInt(_0xf63213(0x1f2))/0xb;if(_0x519da8===_0x3431b4)break;else _0x404bec['push'](_0x404bec['shift']());}catch(_0x496c9a){_0x404bec['push'](_0x404bec['shift']());}}}(_0x1e04,0x82a19));function _0x3bb2(_0x26493d,_0x419876){const _0x1e04f4=_0x1e04();return _0x3bb2=function(_0x3bb230,_0x11ec39){_0x3bb230=_0x3bb230-0x1e3;let _0x3acb87=_0x1e04f4[_0x3bb230];return _0x3acb87;},_0x3bb2(_0x26493d,_0x419876);}import{ListView as _0x2c26df,View as _0x52ca27}from'ckeditor5/src/ui.js';function _0x1e04(){const _0x130c2e=['resize','_isScrollable','.ck-presence-list__list','14NZaOGD','3351771HnYVXL','items','ck-presence-list__dropdown-list','18501iLTStv','clientHeight','application','bindTemplate','Connected\x20users\x20list\x20dropdown\x20menu','3683160qfAvYn','9462728UkToJD','8QTGZaU','presencelist:hide','ck-list','ck-presence-list__dropdown-list-wrapper','90GMSglM','render','fire','querySelector','scrollHeight','.ck-balloon-panel_with-arrow','4638245oogVVc','max','checkIfScrollable','ck-presence-list__dropdown-list-wrapper_scrollable','contains','role','4rQLHWc','relatedTarget','div','ariaLabelledBy','element','3128676ZMWpeb','ck-reset','innerHeight','listWrapperView','set','window','setTemplate','77098hQOfUC','ariaLabel','listenTo','change'];_0x1e04=function(){return _0x130c2e;};return _0x1e04();}import{global as _0x3305fb}from'ckeditor5/src/utils.js';import{getTranslation as _0x3562c0}from'../../common-translations.js';export class PresenceDropdownListView extends _0x52ca27{[_0x5d5873(0x20b)];constructor(_0x465b1b,_0x239b8a){const _0x45240d=_0x5d5873;super(_0x465b1b);const _0x1523b7=this[_0x45240d(0x1ef)];this[_0x45240d(0x20b)]=new PresenceDropdownListWrapperView(_0x465b1b,_0x239b8a),this[_0x45240d(0x20e)]({'tag':_0x45240d(0x205),'attributes':{'tabindex':-0x1,'role':_0x45240d(0x1ee),'class':['ck',_0x45240d(0x1eb)],'aria-label':_0x3562c0(_0x465b1b,_0x45240d(0x1f0))},'children':[this[_0x45240d(0x20b)]],'on':{'mouseleave':_0x1523b7['to'](_0x581037=>{const _0x172e04=_0x45240d,_0x2385b1=_0x581037,_0x16af15=document[_0x172e04(0x1fa)](_0x172e04(0x1e7)),_0x176e67=document[_0x172e04(0x1fa)](_0x172e04(0x1fc));_0x16af15?.[_0x172e04(0x201)](_0x2385b1[_0x172e04(0x204)])||_0x176e67?.[_0x172e04(0x201)](_0x2385b1[_0x172e04(0x204)])||this[_0x172e04(0x1f9)](_0x172e04(0x1f4));})}});}}export class PresenceDropdownListWrapperView extends _0x2c26df{constructor(_0x37615c,_0x3015cf){const _0x1e4e87=_0x5d5873;super(_0x37615c);const _0x5659e7=this[_0x1e4e87(0x1ef)];this[_0x1e4e87(0x20c)](_0x1e4e87(0x1e6),!0x1),this[_0x1e4e87(0x20e)]({'tag':_0x3015cf?_0x1e4e87(0x205):'ul','attributes':{'class':['ck',_0x1e4e87(0x209),_0x1e4e87(0x1f5),_0x1e4e87(0x1f6),_0x5659e7['if'](_0x1e4e87(0x1e6),_0x1e4e87(0x200))],'role':_0x5659e7['to'](_0x1e4e87(0x202)),'aria-label':_0x5659e7['to'](_0x1e4e87(0x210)),'aria-labelledby':_0x5659e7['to'](_0x1e4e87(0x206))},'children':this[_0x1e4e87(0x1ea)]}),this[_0x1e4e87(0x1e3)](_0x3305fb[_0x1e4e87(0x20d)],_0x1e4e87(0x1e5),()=>this[_0x1e4e87(0x1ff)]()),this[_0x1e4e87(0x1ea)]['on'](_0x1e4e87(0x1e4),()=>this[_0x1e4e87(0x1ff)]());}[_0x5d5873(0x1f8)](){const _0x12455d=_0x5d5873;super[_0x12455d(0x1f8)](),this[_0x12455d(0x1ff)]();}[_0x5d5873(0x1ff)](){const _0xf8ca2d=_0x5d5873,_0x273f72=this[_0xf8ca2d(0x207)];_0x273f72&&(this[_0xf8ca2d(0x1e6)]=Math[_0xf8ca2d(0x1fe)](_0x273f72[_0xf8ca2d(0x1fb)],_0x273f72[_0xf8ca2d(0x1ed)])>0.8*window[_0xf8ca2d(0x20a)]);}}
23
+ const _0x1b9c68=_0x28f2;(function(_0x52ba57,_0x1fbf29){const _0x4cf14d=_0x28f2,_0x3286d5=_0x52ba57();while(!![]){try{const _0x4db679=-parseInt(_0x4cf14d(0x129))/0x1+parseInt(_0x4cf14d(0x11b))/0x2*(parseInt(_0x4cf14d(0x11c))/0x3)+parseInt(_0x4cf14d(0x131))/0x4+-parseInt(_0x4cf14d(0x12e))/0x5+-parseInt(_0x4cf14d(0x12d))/0x6+-parseInt(_0x4cf14d(0x123))/0x7+parseInt(_0x4cf14d(0x13b))/0x8*(parseInt(_0x4cf14d(0x12c))/0x9);if(_0x4db679===_0x1fbf29)break;else _0x3286d5['push'](_0x3286d5['shift']());}catch(_0x38281d){_0x3286d5['push'](_0x3286d5['shift']());}}}(_0x47fb,0x363e2));import{ListView as _0x32273d,View as _0x3ead43}from'ckeditor5/src/ui.js';import{global as _0x22bbc2}from'ckeditor5/src/utils.js';import{getTranslation as _0x32e4c6}from'../../common-translations.js';function _0x28f2(_0x455ceb,_0x2bf419){const _0x47fbaf=_0x47fb();return _0x28f2=function(_0x28f29d,_0x4534de){_0x28f29d=_0x28f29d-0x114;let _0xcda2cc=_0x47fbaf[_0x28f29d];return _0xcda2cc;},_0x28f2(_0x455ceb,_0x2bf419);}export class PresenceDropdownListView extends _0x3ead43{[_0x1b9c68(0x124)];constructor(_0x53a73c,_0x1161f1){const _0x296639=_0x1b9c68;super(_0x53a73c);const _0x4c7c3b=this[_0x296639(0x125)];this[_0x296639(0x124)]=new PresenceDropdownListWrapperView(_0x53a73c,_0x1161f1),this[_0x296639(0x13c)]({'tag':_0x296639(0x117),'attributes':{'tabindex':-0x1,'role':_0x296639(0x132),'class':['ck',_0x296639(0x139)],'aria-label':_0x32e4c6(_0x53a73c,_0x296639(0x127))},'children':[this[_0x296639(0x124)]],'on':{'mouseleave':_0x4c7c3b['to'](_0x14d520=>{const _0x403804=_0x296639,_0x21fad7=_0x14d520,_0x496cd4=document[_0x403804(0x12f)](_0x403804(0x13e)),_0x242a0d=document[_0x403804(0x12f)](_0x403804(0x136));_0x496cd4?.[_0x403804(0x122)](_0x21fad7[_0x403804(0x11a)])||_0x242a0d?.[_0x403804(0x122)](_0x21fad7[_0x403804(0x11a)])||this[_0x403804(0x116)](_0x403804(0x120));})}});}}function _0x47fb(){const _0x24114f=['ck-presence-list__dropdown-list-wrapper_scrollable','contains','2749271tBoUGP','listWrapperView','bindTemplate','resize','Connected\x20users\x20list\x20dropdown\x20menu','max','329547bAgfpi','ariaLabel','innerHeight','9091179JfspPL','377868HRGqQg','1025005ZVnzcr','querySelector','scrollHeight','715704eEifVr','application','render','window','set','.ck-balloon-panel_with-arrow','listenTo','ariaLabelledBy','ck-presence-list__dropdown-list','element','8QYfzhP','setTemplate','_isScrollable','.ck-presence-list__list','ck-presence-list__dropdown-list-wrapper','ck-list','ck-reset','fire','div','role','items','relatedTarget','100pfPjeO','1404EdxauE','change','clientHeight','checkIfScrollable','presencelist:hide'];_0x47fb=function(){return _0x24114f;};return _0x47fb();}export class PresenceDropdownListWrapperView extends _0x32273d{constructor(_0x220cfb,_0x34050c){const _0x104def=_0x1b9c68;super(_0x220cfb);const _0x6f82d9=this[_0x104def(0x125)];this[_0x104def(0x135)](_0x104def(0x13d),!0x1),this[_0x104def(0x13c)]({'tag':_0x34050c?_0x104def(0x117):'ul','attributes':{'class':['ck',_0x104def(0x115),_0x104def(0x114),_0x104def(0x13f),_0x6f82d9['if'](_0x104def(0x13d),_0x104def(0x121))],'role':_0x6f82d9['to'](_0x104def(0x118)),'aria-label':_0x6f82d9['to'](_0x104def(0x12a)),'aria-labelledby':_0x6f82d9['to'](_0x104def(0x138))},'children':this[_0x104def(0x119)]}),this[_0x104def(0x137)](_0x22bbc2[_0x104def(0x134)],_0x104def(0x126),()=>this[_0x104def(0x11f)]()),this[_0x104def(0x119)]['on'](_0x104def(0x11d),()=>this[_0x104def(0x11f)]());}[_0x1b9c68(0x133)](){const _0x362ddb=_0x1b9c68;super[_0x362ddb(0x133)](),this[_0x362ddb(0x11f)]();}[_0x1b9c68(0x11f)](){const _0x1b7a3b=_0x1b9c68,_0x376025=this[_0x1b7a3b(0x13a)];_0x376025&&(this[_0x1b7a3b(0x13d)]=Math[_0x1b7a3b(0x128)](_0x376025[_0x1b7a3b(0x130)],_0x376025[_0x1b7a3b(0x11e)])>0.8*window[_0x1b7a3b(0x12b)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x168acb=_0x1bd2;(function(_0x54cd4a,_0xec86b8){const _0x39b553=_0x1bd2,_0x38e94b=_0x54cd4a();while(!![]){try{const _0x3c519f=-parseInt(_0x39b553(0xb0))/0x1*(-parseInt(_0x39b553(0xa4))/0x2)+parseInt(_0x39b553(0xbe))/0x3+parseInt(_0x39b553(0xa0))/0x4+parseInt(_0x39b553(0xa9))/0x5+parseInt(_0x39b553(0xb7))/0x6*(-parseInt(_0x39b553(0xbb))/0x7)+-parseInt(_0x39b553(0xa6))/0x8+-parseInt(_0x39b553(0xa2))/0x9*(parseInt(_0x39b553(0xbd))/0xa);if(_0x3c519f===_0xec86b8)break;else _0x38e94b['push'](_0x38e94b['shift']());}catch(_0x1e8cad){_0x38e94b['push'](_0x38e94b['shift']());}}}(_0x37a8,0xc374b));import{LabelView as _0x16d0dd,View as _0x2e9da6}from'ckeditor5/src/ui.js';import{UserView as _0x2921ae}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x37a8(){const _0x372496=['6077368olJnax','ck-presence-list__list-item','41643KNOLAt','setTemplate','4EEVsdW','text','5658688PTtnKi','hasTooltip','true','3839010UCmulK','template','fire','bindTemplate','button','ck-presence-list__list-item__tooltip','tag','108323yzFEWc','listitem','name','set','markerView','userView','execute','462uqxsiw','div','getBackgroundColorClass','tooltipPosition','18739iNEzMk','span','2230PoVUVz','726249rzktZU','color','isFocusable','ck-presence-list__marker'];_0x37a8=function(){return _0x372496;};return _0x37a8();}export class PresenceInlineListItemView extends _0x2e9da6{[_0x168acb(0xb5)];[_0x168acb(0xb4)];constructor(_0x31ea7b,_0x4c9bb3,_0x26d266){const _0x4a2a30=_0x168acb;super(_0x31ea7b);const _0x541a44=this[_0x4a2a30(0xac)];this[_0x4a2a30(0xb3)](_0x4a2a30(0x9e),!0x1),this[_0x4a2a30(0xb3)](_0x4a2a30(0xa7),!0x0),this[_0x4a2a30(0xb3)](_0x4a2a30(0xba),''),this[_0x4a2a30(0xb5)]=new _0x2921ae(_0x31ea7b,_0x4c9bb3),this[_0x4a2a30(0xb4)]=new at(_0x31ea7b,_0x4c9bb3);const _0x4084d3=new _0x16d0dd(_0x31ea7b);_0x4084d3[_0x4a2a30(0xaa)][_0x4a2a30(0xaf)]=_0x4a2a30(0xbc),_0x4084d3[_0x4a2a30(0xa5)]=_0x4c9bb3[_0x4a2a30(0xb2)];const _0x569a20={'tag':_0x4a2a30(0xb8),'attributes':{'class':['ck',_0x4a2a30(0xa1)],'role':_0x4a2a30(0xb1),'tabindex':_0x541a44['to'](_0x4a2a30(0x9e),_0x38a798=>!!_0x38a798&&0x0),'aria-labelledby':_0x4084d3['id'],'data-cke-tooltip-text':this[_0x4a2a30(0xb5)][_0x4a2a30(0xb2)],'data-cke-tooltip-position':_0x541a44['to'](_0x4a2a30(0xba)),'data-cke-tooltip-disabled':_0x541a44['to'](_0x4a2a30(0xa7),_0x576312=>!_0x576312),'data-cke-tooltip-class':_0x4a2a30(0xae)},'children':[this[_0x4a2a30(0xb5)],this[_0x4a2a30(0xb4)],_0x4084d3]};_0x26d266&&(_0x569a20[_0x4a2a30(0xaf)]=_0x4a2a30(0xad),_0x569a20['on']={'click':_0x541a44['to'](()=>this[_0x4a2a30(0xab)](_0x4a2a30(0xb6)))}),this[_0x4a2a30(0xa3)](_0x569a20);}}function _0x1bd2(_0x554d1c,_0x2778e5){const _0x37a8b0=_0x37a8();return _0x1bd2=function(_0x1bd2f9,_0x28e7a0){_0x1bd2f9=_0x1bd2f9-0x9e;let _0x30660c=_0x37a8b0[_0x1bd2f9];return _0x30660c;},_0x1bd2(_0x554d1c,_0x2778e5);}class at extends _0x2e9da6{constructor(_0x5b025d,_0x4bf73a){const _0x5be94f=_0x168acb;super(_0x5b025d),this[_0x5be94f(0xa3)]({'tag':_0x5be94f(0xbc),'attributes':{'class':['ck',_0x5be94f(0x9f),_0x4bf73a[_0x5be94f(0xbf)][_0x5be94f(0xb9)]()],'aria-hidden':_0x5be94f(0xa8)}});}}
23
+ const _0x303a62=_0x48e0;(function(_0x2193f7,_0x333598){const _0x320029=_0x48e0,_0x58c15a=_0x2193f7();while(!![]){try{const _0x4aaa05=-parseInt(_0x320029(0x1a4))/0x1+-parseInt(_0x320029(0x1b2))/0x2+parseInt(_0x320029(0x1b8))/0x3+-parseInt(_0x320029(0x1ad))/0x4+parseInt(_0x320029(0x1a2))/0x5+-parseInt(_0x320029(0x1b0))/0x6*(-parseInt(_0x320029(0x1c1))/0x7)+parseInt(_0x320029(0x1b3))/0x8;if(_0x4aaa05===_0x333598)break;else _0x58c15a['push'](_0x58c15a['shift']());}catch(_0x397ee1){_0x58c15a['push'](_0x58c15a['shift']());}}}(_0x33e6,0x799d4));import{LabelView as _0x4eefa7,View as _0x53b88a}from'ckeditor5/src/ui.js';function _0x33e6(){const _0x104a93=['markerView','div','button','ck-presence-list__marker','true','listitem','bindTemplate','template','343xHjune','1366845WqWGud','ck-presence-list__list-item__tooltip','382709MgDsiJ','execute','name','ck-presence-list__list-item','span','isFocusable','hasTooltip','getBackgroundColorClass','fire','1820904AOnGGP','set','color','50874BhZFdQ','setTemplate','794292IrMDcp','7231784DUVQZp','tooltipPosition','text','userView','tag','421200waVcum'];_0x33e6=function(){return _0x104a93;};return _0x33e6();}import{UserView as _0x5c7e4a}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x53b88a{[_0x303a62(0x1b6)];[_0x303a62(0x1b9)];constructor(_0x2289ad,_0x2006f6,_0x5e973c){const _0x1419cd=_0x303a62;super(_0x2289ad);const _0x582330=this[_0x1419cd(0x1bf)];this[_0x1419cd(0x1ae)](_0x1419cd(0x1a9),!0x1),this[_0x1419cd(0x1ae)](_0x1419cd(0x1aa),!0x0),this[_0x1419cd(0x1ae)](_0x1419cd(0x1b4),''),this[_0x1419cd(0x1b6)]=new _0x5c7e4a(_0x2289ad,_0x2006f6),this[_0x1419cd(0x1b9)]=new ct(_0x2289ad,_0x2006f6);const _0x1d2040=new _0x4eefa7(_0x2289ad);_0x1d2040[_0x1419cd(0x1c0)][_0x1419cd(0x1b7)]=_0x1419cd(0x1a8),_0x1d2040[_0x1419cd(0x1b5)]=_0x2006f6[_0x1419cd(0x1a6)];const _0x5cd2ae={'tag':_0x1419cd(0x1ba),'attributes':{'class':['ck',_0x1419cd(0x1a7)],'role':_0x1419cd(0x1be),'tabindex':_0x582330['to'](_0x1419cd(0x1a9),_0x2b20d6=>!!_0x2b20d6&&0x0),'aria-labelledby':_0x1d2040['id'],'data-cke-tooltip-text':this[_0x1419cd(0x1b6)][_0x1419cd(0x1a6)],'data-cke-tooltip-position':_0x582330['to'](_0x1419cd(0x1b4)),'data-cke-tooltip-disabled':_0x582330['to'](_0x1419cd(0x1aa),_0x5e662e=>!_0x5e662e),'data-cke-tooltip-class':_0x1419cd(0x1a3)},'children':[this[_0x1419cd(0x1b6)],this[_0x1419cd(0x1b9)],_0x1d2040]};_0x5e973c&&(_0x5cd2ae[_0x1419cd(0x1b7)]=_0x1419cd(0x1bb),_0x5cd2ae['on']={'click':_0x582330['to'](()=>this[_0x1419cd(0x1ac)](_0x1419cd(0x1a5)))}),this[_0x1419cd(0x1b1)](_0x5cd2ae);}}function _0x48e0(_0x174549,_0x49b946){const _0x33e639=_0x33e6();return _0x48e0=function(_0x48e083,_0x1c76a0){_0x48e083=_0x48e083-0x1a2;let _0x268a8b=_0x33e639[_0x48e083];return _0x268a8b;},_0x48e0(_0x174549,_0x49b946);}class ct extends _0x53b88a{constructor(_0x2b77a7,_0x11ebfa){const _0x4def3e=_0x303a62;super(_0x2b77a7),this[_0x4def3e(0x1b1)]({'tag':_0x4def3e(0x1a8),'attributes':{'class':['ck',_0x4def3e(0x1bc),_0x11ebfa[_0x4def3e(0x1af)][_0x4def3e(0x1ab)]()],'aria-hidden':_0x4def3e(0x1bd)}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b0a17=_0x137c;function _0x137c(_0x41dac7,_0xdd96a5){const _0x3c3e22=_0x3c3e();return _0x137c=function(_0x137c51,_0x214b7f){_0x137c51=_0x137c51-0x1be;let _0x21e385=_0x3c3e22[_0x137c51];return _0x21e385;},_0x137c(_0x41dac7,_0xdd96a5);}(function(_0x50d4fc,_0x4cc6ab){const _0x23c692=_0x137c,_0x1b4b4f=_0x50d4fc();while(!![]){try{const _0x1e2d14=-parseInt(_0x23c692(0x1e1))/0x1*(parseInt(_0x23c692(0x1d9))/0x2)+-parseInt(_0x23c692(0x1c0))/0x3*(-parseInt(_0x23c692(0x1e0))/0x4)+parseInt(_0x23c692(0x1cd))/0x5*(-parseInt(_0x23c692(0x1ce))/0x6)+parseInt(_0x23c692(0x1d8))/0x7+-parseInt(_0x23c692(0x1cb))/0x8+-parseInt(_0x23c692(0x1c7))/0x9*(-parseInt(_0x23c692(0x1c4))/0xa)+-parseInt(_0x23c692(0x1d1))/0xb*(-parseInt(_0x23c692(0x1c3))/0xc);if(_0x1e2d14===_0x4cc6ab)break;else _0x1b4b4f['push'](_0x1b4b4f['shift']());}catch(_0x5cdb2d){_0x1b4b4f['push'](_0x1b4b4f['shift']());}}}(_0x3c3e,0xd6bd2));function _0x3c3e(){const _0x5bd3e0=['408ZGmMKM','1910dRkpsT','bindTemplate','hasPopup','71091feEKqL','fire','removeAttribute','element','1172800jwAivo','.ck-balloon-panel_with-arrow','10WBshiM','3732732UTCPSw','.ck-presence-list__dropdown-list','contains','144474LqGVjO','ck-presence-list__list','presencelist:hide','focus','createCollection','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','relatedTarget','2950304QdmqlT','62DJhTAo','change:hasPopup','aria-expanded','render','listenTo','presencelist:show','set','28aVTVvS','55391PkBcOO','keystrokes','isExpanded','setAttribute','items','querySelector','list','setTemplate','690342DjPlpX','div','Connected\x20users\x20list'];_0x3c3e=function(){return _0x5bd3e0;};return _0x3c3e();}import{View as _0x410ff4}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5f0dd7}from'ckeditor5/src/utils.js';import{getTranslation as _0x28e016}from'../../common-translations.js';export class PresenceInlineListView extends _0x410ff4{[_0x1b0a17(0x1e5)];[_0x1b0a17(0x1e2)];constructor(_0xfedc8c){const _0x36f4d6=_0x1b0a17;super(_0xfedc8c);const _0x49d5dc=this[_0x36f4d6(0x1c5)];this[_0x36f4d6(0x1e5)]=this[_0x36f4d6(0x1d5)](),this[_0x36f4d6(0x1e2)]=new _0x5f0dd7(),this[_0x36f4d6(0x1df)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x36f4d6(0x1bf)]({'tag':_0x36f4d6(0x1c1),'attributes':{'aria-haspopup':_0x49d5dc['if'](_0x36f4d6(0x1c6)),'aria-expanded':_0x49d5dc['to'](_0x36f4d6(0x1e3),_0x2be721=>this[_0x36f4d6(0x1c6)]&&String(_0x2be721)),'aria-label':_0x49d5dc['to'](_0x36f4d6(0x1c6),_0x501387=>_0x28e016(_0xfedc8c,_0x501387?_0x36f4d6(0x1d6):_0x36f4d6(0x1c2))),'role':_0x36f4d6(0x1be),'tabindex':_0x49d5dc['to'](_0x36f4d6(0x1c6),_0x313abc=>!!_0x313abc&&0x0),'class':['ck',_0x36f4d6(0x1d2)]},'children':this[_0x36f4d6(0x1e5)],'on':{'mouseenter':_0x49d5dc['to'](()=>this[_0x36f4d6(0x1c8)](_0x36f4d6(0x1de))),'mouseleave':_0x49d5dc['to'](_0x178b87=>{const _0x4e098e=_0x36f4d6,_0x54220d=_0x178b87,_0x5b3c7b=document[_0x4e098e(0x1e6)](_0x4e098e(0x1cf)),_0x4be981=document[_0x4e098e(0x1e6)](_0x4e098e(0x1cc));_0x5b3c7b?.[_0x4e098e(0x1d0)](_0x54220d[_0x4e098e(0x1d7)])||_0x4be981?.[_0x4e098e(0x1d0)](_0x54220d[_0x4e098e(0x1d7)])||this[_0x4e098e(0x1c8)](_0x4e098e(0x1d3));})}}),this['on'](_0x36f4d6(0x1da),(_0x45c0df,_0x78045d,_0x15822c)=>{const _0x215282=_0x36f4d6;this[_0x215282(0x1ca)]&&(_0x15822c?this[_0x215282(0x1ca)][_0x215282(0x1e4)](_0x215282(0x1db),String(this[_0x215282(0x1e3)])):this[_0x215282(0x1ca)][_0x215282(0x1c9)](_0x215282(0x1db)));});}[_0x1b0a17(0x1d4)](){const _0x202785=_0x1b0a17;this[_0x202785(0x1ca)][_0x202785(0x1d4)]();}[_0x1b0a17(0x1dc)](){const _0x25b2c9=_0x1b0a17;super[_0x25b2c9(0x1dc)](),this[_0x25b2c9(0x1e2)][_0x25b2c9(0x1dd)](this[_0x25b2c9(0x1ca)]);}}
23
+ const _0x329c69=_0x34c1;(function(_0x244a09,_0x3589a5){const _0x3ca77d=_0x34c1,_0x30e428=_0x244a09();while(!![]){try{const _0x4b4634=parseInt(_0x3ca77d(0xa8))/0x1+parseInt(_0x3ca77d(0xbf))/0x2+-parseInt(_0x3ca77d(0xc0))/0x3*(parseInt(_0x3ca77d(0x9b))/0x4)+-parseInt(_0x3ca77d(0xa7))/0x5+parseInt(_0x3ca77d(0x9e))/0x6*(-parseInt(_0x3ca77d(0xb2))/0x7)+parseInt(_0x3ca77d(0xaa))/0x8*(parseInt(_0x3ca77d(0xba))/0x9)+parseInt(_0x3ca77d(0xb0))/0xa;if(_0x4b4634===_0x3589a5)break;else _0x30e428['push'](_0x30e428['shift']());}catch(_0x2254d6){_0x30e428['push'](_0x30e428['shift']());}}}(_0x21df,0x79e71));import{View as _0x4e4fc5}from'ckeditor5/src/ui.js';function _0x34c1(_0x367331,_0x4b3948){const _0x21df86=_0x21df();return _0x34c1=function(_0x34c15c,_0x329791){_0x34c15c=_0x34c15c-0x9b;let _0x5cd35e=_0x21df86[_0x34c15c];return _0x5cd35e;},_0x34c1(_0x367331,_0x4b3948);}import{KeystrokeHandler as _0x7e1acf}from'ckeditor5/src/utils.js';import{getTranslation as _0x54fc91}from'../../common-translations.js';export class PresenceInlineListView extends _0x4e4fc5{[_0x329c69(0xb8)];[_0x329c69(0xb6)];constructor(_0x496b03){const _0x5630d0=_0x329c69;super(_0x496b03);const _0x403aa5=this[_0x5630d0(0xb5)];this[_0x5630d0(0xb8)]=this[_0x5630d0(0xa3)](),this[_0x5630d0(0xb6)]=new _0x7e1acf(),this[_0x5630d0(0xa6)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x5630d0(0xb4)]({'tag':_0x5630d0(0xa0),'attributes':{'aria-haspopup':_0x403aa5['if'](_0x5630d0(0xbe)),'aria-expanded':_0x403aa5['to'](_0x5630d0(0xb1),_0x3b9e81=>this[_0x5630d0(0xbe)]&&String(_0x3b9e81)),'aria-label':_0x403aa5['to'](_0x5630d0(0xbe),_0x30da6c=>_0x54fc91(_0x496b03,_0x30da6c?_0x5630d0(0xab):_0x5630d0(0x9f))),'role':_0x5630d0(0xa9),'tabindex':_0x403aa5['to'](_0x5630d0(0xbe),_0x247514=>!!_0x247514&&0x0),'class':['ck',_0x5630d0(0xa5)]},'children':this[_0x5630d0(0xb8)],'on':{'mouseenter':_0x403aa5['to'](()=>this[_0x5630d0(0xa4)](_0x5630d0(0xbb))),'mouseleave':_0x403aa5['to'](_0x264f81=>{const _0x167ed9=_0x5630d0,_0x94ee=_0x264f81,_0x5c7755=document[_0x167ed9(0xb9)](_0x167ed9(0xad)),_0x43dfb3=document[_0x167ed9(0xb9)](_0x167ed9(0x9d));_0x5c7755?.[_0x167ed9(0xa2)](_0x94ee[_0x167ed9(0x9c)])||_0x43dfb3?.[_0x167ed9(0xa2)](_0x94ee[_0x167ed9(0x9c)])||this[_0x167ed9(0xa4)](_0x167ed9(0xbd));})}}),this['on'](_0x5630d0(0xac),(_0x1b32bc,_0x3061de,_0x355539)=>{const _0x54774e=_0x5630d0;this[_0x54774e(0xaf)]&&(_0x355539?this[_0x54774e(0xaf)][_0x54774e(0xb3)](_0x54774e(0xa1),String(this[_0x54774e(0xb1)])):this[_0x54774e(0xaf)][_0x54774e(0xbc)](_0x54774e(0xa1)));});}[_0x329c69(0xae)](){const _0x3c4ad8=_0x329c69;this[_0x3c4ad8(0xaf)][_0x3c4ad8(0xae)]();}[_0x329c69(0xc1)](){const _0xb52ee1=_0x329c69;super[_0xb52ee1(0xc1)](),this[_0xb52ee1(0xb6)][_0xb52ee1(0xb7)](this[_0xb52ee1(0xaf)]);}}function _0x21df(){const _0xe80163=['presencelist:hide','hasPopup','1831338PQpYoP','2101617tsnPOE','render','4QHWZTg','relatedTarget','.ck-balloon-panel_with-arrow','43110GmMIyA','Connected\x20users\x20list','div','aria-expanded','contains','createCollection','fire','ck-presence-list__list','set','4473075BUYvga','364294aSbsFE','list','8QUNXsl','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','change:hasPopup','.ck-presence-list__dropdown-list','focus','element','10550920JxFiWQ','isExpanded','889uHRdQR','setAttribute','setTemplate','bindTemplate','keystrokes','listenTo','items','querySelector','6047163wARaQe','presencelist:show','removeAttribute'];_0x21df=function(){return _0xe80163;};return _0x21df();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2164bb=_0x3b9c;(function(_0x4cce4f,_0x4d14f9){const _0x8c5b32=_0x3b9c,_0x37e8fe=_0x4cce4f();while(!![]){try{const _0x3f73be=parseInt(_0x8c5b32(0x1b1))/0x1+-parseInt(_0x8c5b32(0x1bf))/0x2*(-parseInt(_0x8c5b32(0x1ad))/0x3)+parseInt(_0x8c5b32(0x1c1))/0x4+parseInt(_0x8c5b32(0x1b2))/0x5*(-parseInt(_0x8c5b32(0x1c4))/0x6)+parseInt(_0x8c5b32(0x1c6))/0x7*(parseInt(_0x8c5b32(0x1ac))/0x8)+-parseInt(_0x8c5b32(0x1be))/0x9*(-parseInt(_0x8c5b32(0x1b9))/0xa)+parseInt(_0x8c5b32(0x1c3))/0xb*(-parseInt(_0x8c5b32(0x1b5))/0xc);if(_0x3f73be===_0x4d14f9)break;else _0x37e8fe['push'](_0x37e8fe['shift']());}catch(_0x5a4da3){_0x37e8fe['push'](_0x37e8fe['shift']());}}}(_0x4053,0x73a51));function _0x3b9c(_0x22e345,_0x280cb2){const _0x4053f8=_0x4053();return _0x3b9c=function(_0x3b9cb6,_0x134a5c){_0x3b9cb6=_0x3b9cb6-0x1a9;let _0x47e387=_0x4053f8[_0x3b9cb6];return _0x47e387;},_0x3b9c(_0x22e345,_0x280cb2);}import{View as _0x1dcbe8}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x59cff4}from'./presencecounterview.js';import{PresenceInlineListView as _0x2aca5d}from'./presenceinlinelistview.js';function _0x4053(){const _0x433ada=['setTemplate','hasPopup','inlineListView','ck-presence-list','108ArdGkb','196VPmloy','bindTemplate','689372OKedKL','first','291401GsbHGI','54HUSqRh','locale','70SCHoBY','div','tooltipPosition','ck-presence-list--collapsed','listenTo','58856hBJJHl','10929dtjwJS','bind','ck-reset','counterView','180854YkSjrW','248670enbIKx','change','items','24BZwwdf','isCollapsed','set','ck-rounded-corners','158740wKLrYa'];_0x4053=function(){return _0x433ada;};return _0x4053();}import'../../../theme/presencelist.css';export class PresenceListView extends _0x1dcbe8{[_0x2164bb(0x1b0)];[_0x2164bb(0x1bc)];constructor(_0x4463ce,_0x5d4d29=0x6){const _0x3d34c6=_0x2164bb;super(_0x4463ce);const _0x3bc4d5=this[_0x3d34c6(0x1c0)];this[_0x3d34c6(0x1b7)](_0x3d34c6(0x1b6),!0x0),this[_0x3d34c6(0x1b0)]=new _0x59cff4(this[_0x3d34c6(0x1c5)],_0x5d4d29),this[_0x3d34c6(0x1bc)]=new _0x2aca5d(_0x4463ce),this[_0x3d34c6(0x1bc)][_0x3d34c6(0x1ae)](_0x3d34c6(0x1bb))['to'](this,_0x3d34c6(0x1b6)),this[_0x3d34c6(0x1ab)](this[_0x3d34c6(0x1bc)][_0x3d34c6(0x1b4)],_0x3d34c6(0x1b3),()=>{const _0x553afc=_0x3d34c6;for(const _0x549148 of this[_0x553afc(0x1bc)][_0x553afc(0x1b4)])_0x549148[_0x553afc(0x1a9)]='s';this[_0x553afc(0x1bc)][_0x553afc(0x1b4)][_0x553afc(0x1c2)]&&(this[_0x553afc(0x1bc)][_0x553afc(0x1b4)][_0x553afc(0x1c2)][_0x553afc(0x1a9)]='se');}),this[_0x3d34c6(0x1ba)]({'tag':_0x3d34c6(0x1c7),'attributes':{'class':['ck',_0x3d34c6(0x1bd),_0x3d34c6(0x1af),_0x3d34c6(0x1b8),_0x3bc4d5['if'](_0x3d34c6(0x1b6),_0x3d34c6(0x1aa))]},'children':[this[_0x3d34c6(0x1bc)]]});}}
23
+ const _0x16c184=_0x1519;(function(_0x15d67e,_0xb6ff3b){const _0xaeed82=_0x1519,_0xe6afc5=_0x15d67e();while(!![]){try{const _0x3105bf=-parseInt(_0xaeed82(0x193))/0x1+-parseInt(_0xaeed82(0x1ab))/0x2+parseInt(_0xaeed82(0x1a1))/0x3+parseInt(_0xaeed82(0x195))/0x4+parseInt(_0xaeed82(0x1a7))/0x5*(-parseInt(_0xaeed82(0x19e))/0x6)+parseInt(_0xaeed82(0x196))/0x7*(-parseInt(_0xaeed82(0x19c))/0x8)+parseInt(_0xaeed82(0x1a8))/0x9*(parseInt(_0xaeed82(0x197))/0xa);if(_0x3105bf===_0xb6ff3b)break;else _0xe6afc5['push'](_0xe6afc5['shift']());}catch(_0x53e281){_0xe6afc5['push'](_0xe6afc5['shift']());}}}(_0x4ab6,0x3460b));import{View as _0xe5960c}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x38d113}from'./presencecounterview.js';import{PresenceInlineListView as _0x51f62c}from'./presenceinlinelistview.js';function _0x1519(_0x3c26e4,_0x2292fb){const _0x4ab677=_0x4ab6();return _0x1519=function(_0x15197c,_0x3b441a){_0x15197c=_0x15197c-0x18f;let _0x3c906c=_0x4ab677[_0x15197c];return _0x3c906c;},_0x1519(_0x3c26e4,_0x2292fb);}function _0x4ab6(){const _0x497cc2=['449704hAHzXd','counterView','6jomRwC','items','tooltipPosition','189177KnUXzM','bindTemplate','ck-presence-list--collapsed','listenTo','set','inlineListView','1556835JjolGe','603wCRuex','first','ck-reset','4208OpbiEj','ck-rounded-corners','bind','isCollapsed','ck-presence-list','373636AuDbYA','setTemplate','402864SkmMiC','7cVEKEB','118520KIeXqn','div','change','locale','hasPopup'];_0x4ab6=function(){return _0x497cc2;};return _0x4ab6();}import'../../../theme/presencelist.css';export class PresenceListView extends _0xe5960c{[_0x16c184(0x19d)];[_0x16c184(0x1a6)];constructor(_0xb51ba,_0x4a39d6=0x6){const _0x387a1d=_0x16c184;super(_0xb51ba);const _0x539ec3=this[_0x387a1d(0x1a2)];this[_0x387a1d(0x1a5)](_0x387a1d(0x191),!0x0),this[_0x387a1d(0x19d)]=new _0x38d113(this[_0x387a1d(0x19a)],_0x4a39d6),this[_0x387a1d(0x1a6)]=new _0x51f62c(_0xb51ba),this[_0x387a1d(0x1a6)][_0x387a1d(0x190)](_0x387a1d(0x19b))['to'](this,_0x387a1d(0x191)),this[_0x387a1d(0x1a4)](this[_0x387a1d(0x1a6)][_0x387a1d(0x19f)],_0x387a1d(0x199),()=>{const _0x196072=_0x387a1d;for(const _0x5c5c97 of this[_0x196072(0x1a6)][_0x196072(0x19f)])_0x5c5c97[_0x196072(0x1a0)]='s';this[_0x196072(0x1a6)][_0x196072(0x19f)][_0x196072(0x1a9)]&&(this[_0x196072(0x1a6)][_0x196072(0x19f)][_0x196072(0x1a9)][_0x196072(0x1a0)]='se');}),this[_0x387a1d(0x194)]({'tag':_0x387a1d(0x198),'attributes':{'class':['ck',_0x387a1d(0x192),_0x387a1d(0x1aa),_0x387a1d(0x18f),_0x539ec3['if'](_0x387a1d(0x191),_0x387a1d(0x1a3))]},'children':[this[_0x387a1d(0x1a6)]]});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6194f=_0x29da;(function(_0x3da51b,_0x19539e){const _0xf08e70=_0x29da,_0x28118d=_0x3da51b();while(!![]){try{const _0x4ebad0=parseInt(_0xf08e70(0xf8))/0x1*(parseInt(_0xf08e70(0x131))/0x2)+-parseInt(_0xf08e70(0x12e))/0x3+-parseInt(_0xf08e70(0x11d))/0x4*(parseInt(_0xf08e70(0xfb))/0x5)+parseInt(_0xf08e70(0xff))/0x6*(-parseInt(_0xf08e70(0xeb))/0x7)+-parseInt(_0xf08e70(0x10e))/0x8*(-parseInt(_0xf08e70(0x142))/0x9)+parseInt(_0xf08e70(0x136))/0xa*(-parseInt(_0xf08e70(0x106))/0xb)+parseInt(_0xf08e70(0x11b))/0xc*(parseInt(_0xf08e70(0x111))/0xd);if(_0x4ebad0===_0x19539e)break;else _0x28118d['push'](_0x28118d['shift']());}catch(_0x387460){_0x28118d['push'](_0x28118d['shift']());}}}(_0x32b9,0xd0275));import{Context as _0x42e05c,ContextPlugin as _0x308cc3}from'ckeditor5/src/core.js';import{CKEditorError as _0x588e9f}from'ckeditor5/src/utils.js';import{Users as _0x212e63}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x391a17,User as _0x3b1dd4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4fd9a5}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x131f70}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x308cc3{static [_0x6194f(0x115)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x391a17)());[_0x6194f(0x100)];static get[_0x6194f(0x10a)](){const _0x38e956=_0x6194f;return[_0x4fd9a5,_0x38e956(0xf9),_0x131f70,_0x212e63];}static get[_0x6194f(0x101)](){const _0x483305=_0x6194f;return _0x483305(0x119);}static get[_0x6194f(0x10b)](){return!0x0;}static get[_0x6194f(0x103)](){return!0x0;}constructor(_0x9bc6d6){const _0x46df29=_0x6194f;super(_0x9bc6d6),this[_0x46df29(0x100)]=new Map();}async[_0x6194f(0x122)](){const _0x4eb4d7=_0x6194f,_0x3dd91c=this[_0x4eb4d7(0x110)],_0x150355=_0x3dd91c[_0x4eb4d7(0x137)][_0x4eb4d7(0x128)](_0x4eb4d7(0xf9));if(_0x3dd91c[_0x4eb4d7(0x137)][_0x4eb4d7(0x128)](_0x4fd9a5)[_0x4eb4d7(0x108)](this),_0x150355[_0x4eb4d7(0x10c)]={'addCommentThread':async({channelId:_0x4c53ae,threadId:_0x53ea9d,comments:_0x3c1756,resolvedAt:_0x218479,resolvedBy:_0x53fd2b,context:_0x33fe70,attributes:_0x551911})=>{const _0x1998c4=_0x4eb4d7,_0x1624b3=await this[_0x1998c4(0xf7)](_0x4c53ae)[_0x1998c4(0xf3)]({'commentThreadId':_0x53ea9d,'comments':_0x3c1756[_0x1998c4(0xf1)](_0x3ca6a2=>function(_0x41824d,_0x2270e6,_0x24d50b){const _0x3871b6=_0x1998c4;return{'commentThreadId':_0x24d50b,'commentId':_0x41824d[_0x3871b6(0xec)],'userId':_0x41824d[_0x3871b6(0x134)],'content':_0x41824d[_0x3871b6(0x13e)],'documentId':_0x2270e6,'createdAt':_0x41824d[_0x3871b6(0x13d)],'attributes':_0x41824d[_0x3871b6(0x126)]||{}};}(_0x3ca6a2,_0x4c53ae,_0x53ea9d)),'resolvedAt':_0x218479,'resolvedBy':_0x53fd2b,'context':_0x33fe70,'attributes':_0x551911})[_0x1998c4(0x135)](A);return{'threadId':_0x1624b3[_0x1998c4(0xf2)],'comments':_0x1624b3[_0x1998c4(0x12a)]};},'getCommentThread':async({channelId:_0x388394,threadId:_0xda2258})=>{const _0x517d8b=_0x4eb4d7,_0x7bba60=await this[_0x517d8b(0xf7)](_0x388394)[_0x517d8b(0xed)](_0xda2258)[_0x517d8b(0x135)](f)[_0x517d8b(0x135)](A);return _0x7bba60?_0x7bba60[_0x517d8b(0xf4)]?null:(await this[_0x517d8b(0xe2)]([_0x7bba60]),{'threadId':_0x7bba60[_0x517d8b(0xf2)],'comments':_0x7bba60[_0x517d8b(0x12a)][_0x517d8b(0xf1)](p),'context':_0x7bba60[_0x517d8b(0x110)],'resolvedAt':_0x7bba60[_0x517d8b(0x109)],'resolvedBy':_0x7bba60[_0x517d8b(0x140)],'attributes':_0x7bba60[_0x517d8b(0x126)]||{}}):null;},'updateCommentThread':async({channelId:_0x5732b3,threadId:_0x137072,context:_0x44de1b,unlinkedAt:_0x5e73e5,attributes:_0x391344})=>this[_0x4eb4d7(0xf7)](_0x5732b3)[_0x4eb4d7(0x105)]({'commentThreadId':_0x137072,'context':_0x44de1b,'attributes':_0x391344,'unlinkedAt':_0x5e73e5})[_0x4eb4d7(0x135)](f)[_0x4eb4d7(0x135)](A),'resolveCommentThread':async({channelId:_0x4eb94b,threadId:_0x34f247})=>{const _0x3b80ec=_0x4eb4d7,_0x58856a=await this[_0x3b80ec(0xf7)](_0x4eb94b)[_0x3b80ec(0xe0)](_0x34f247)[_0x3b80ec(0x135)](f)[_0x3b80ec(0x135)](A);return{'threadId':_0x58856a[_0x3b80ec(0xf2)],'resolvedAt':_0x58856a[_0x3b80ec(0x109)],'resolvedBy':_0x58856a[_0x3b80ec(0x140)]};},'reopenCommentThread':async({channelId:_0x465633,threadId:_0x1efee5})=>this[_0x4eb4d7(0xf7)](_0x465633)[_0x4eb4d7(0x13c)](_0x1efee5)[_0x4eb4d7(0x135)](f)[_0x4eb4d7(0x135)](A),'removeCommentThread':({channelId:_0x4d23db,threadId:_0x42a74f})=>this[_0x4eb4d7(0xf7)](_0x4d23db)[_0x4eb4d7(0xe4)](_0x42a74f)[_0x4eb4d7(0x135)](f)[_0x4eb4d7(0x135)](A),'addComment':({channelId:_0x81eec9,threadId:_0x32efd4,commentId:_0x5231c1,content:_0x37edf3,attributes:_0x215de1})=>this[_0x4eb4d7(0xf7)](_0x81eec9)[_0x4eb4d7(0x123)](_0x32efd4,_0x5231c1,_0x37edf3,_0x215de1)[_0x4eb4d7(0x135)](A),'updateComment':({channelId:_0x1999e8,threadId:_0x1448c9,commentId:_0xfca54f,content:_0x16e818,attributes:_0x4976e3})=>this[_0x4eb4d7(0xf7)](_0x1999e8)[_0x4eb4d7(0xfc)](_0x1448c9,_0xfca54f,_0x16e818,_0x4976e3)[_0x4eb4d7(0x135)](f)[_0x4eb4d7(0x135)](A),'removeComment':({channelId:_0x2240d1,threadId:_0x380836,commentId:_0x318704})=>this[_0x4eb4d7(0xf7)](_0x2240d1)[_0x4eb4d7(0x130)](_0x380836,_0x318704)[_0x4eb4d7(0x135)](f)[_0x4eb4d7(0x135)](A)},_0x3dd91c instanceof _0x42e05c){const _0x2cfdb3=_0x3dd91c[_0x4eb4d7(0x124)][_0x4eb4d7(0x128)](_0x4eb4d7(0x11f)),_0x41f3ff=_0x3dd91c[_0x4eb4d7(0x137)][_0x4eb4d7(0x128)](_0x131f70);await this[_0x4eb4d7(0xef)](_0x2cfdb3);const _0x1ccb48=await this[_0x4eb4d7(0x100)][_0x4eb4d7(0x128)](_0x2cfdb3)[_0x4eb4d7(0x13a)]();this[_0x4eb4d7(0x133)](_0x41f3ff,_0x4eb4d7(0x120)+_0x2cfdb3,(_0x2456bc,{session:_0x5785fa})=>{const _0x4beda5=_0x4eb4d7;_0x5785fa['id']===_0x41f3ff[_0x4beda5(0x102)]&&(_0x2456bc[_0x4beda5(0x141)](),this[_0x4beda5(0x110)][_0x4beda5(0x137)][_0x4beda5(0x128)](_0x4beda5(0x10d))[_0x4beda5(0x143)](_0x5785fa[_0x4beda5(0x117)],_0x2cfdb3));}),_0x41f3ff[_0x4eb4d7(0xee)](_0x2cfdb3,_0x1ccb48);}}async[_0x6194f(0xef)](_0xf43e15){const _0x5d5ca2=_0x6194f;if(this[_0x5d5ca2(0x100)][_0x5d5ca2(0xe3)](_0xf43e15))throw new _0x588e9f(_0x5d5ca2(0xe6),null,{'channelId':_0xf43e15});const _0x2d1de2=this[_0x5d5ca2(0x110)][_0x5d5ca2(0x137)][_0x5d5ca2(0x128)](_0x5d5ca2(0xf9)),_0x56f367=new CloudServicesCommentsAdapter[(_0x5d5ca2(0x115))](_0xf43e15);this[_0x5d5ca2(0x100)][_0x5d5ca2(0x12d)](_0xf43e15,_0x56f367),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0x146),(_0x493e94,_0x5e7f7d)=>{const _0x2d14d0=_0x5d5ca2,{commentThreadId:_0x49bdf7,documentId:_0x2a7501,context:_0x5477b1,attributes:_0x1391bb,resolvedAt:_0x1b1c4b,resolvedBy:_0x4b8155,comments:_0x2521fd}=_0x5e7f7d;_0x2d1de2[_0x2d14d0(0xed)](_0x49bdf7)||_0x2d1de2[_0x2d14d0(0xf3)]({'threadId':_0x49bdf7,'channelId':_0x2a7501,'comments':_0x2521fd?_0x2521fd[_0x2d14d0(0xf1)](p):[],'context':_0x5477b1,'attributes':_0x1391bb,'resolvedAt':_0x1b1c4b,'resolvedBy':_0x4b8155,'isFromAdapter':!0x0});}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0x125),(_0x274451,{commentThreadId:_0x4c323a,documentId:_0x56064e,context:_0x2d724e,unlinkedAt:_0x421d69,attributes:_0x394524})=>{const _0x2bf5d0=_0x5d5ca2;_0x2d1de2[_0x2bf5d0(0xed)](_0x4c323a)&&_0x2d1de2[_0x2bf5d0(0x105)]({'threadId':_0x4c323a,'channelId':_0x56064e,'context':_0x2d724e,'unlinkedAt':_0x421d69,'attributes':_0x394524,'isFromAdapter':!0x0});}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0x129),(_0x2ea8a2,{commentThreadId:_0x390f6c,resolvedBy:_0x3d34a5,resolvedAt:_0x5654fa})=>{const _0x3afbd5=_0x5d5ca2,_0x192e3a=_0x2d1de2[_0x3afbd5(0xed)](_0x390f6c);_0x192e3a&&_0x192e3a[_0x3afbd5(0x121)]({'resolvedBy':_0x3d34a5,'resolvedAt':_0x5654fa,'isFromAdapter':!0x0});}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0x139),(_0x2de464,{commentThreadId:_0x52e631})=>{const _0x57c819=_0x5d5ca2,_0x2aa7e7=_0x2d1de2[_0x57c819(0xed)](_0x52e631);_0x2aa7e7&&_0x2aa7e7[_0x57c819(0x11e)]({'isFromAdapter':!0x0});}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0xf5),(_0x6a74b1,{commentThreadId:_0x11c6cc})=>{const _0x18619d=_0x5d5ca2,_0x436657=_0x2d1de2[_0x18619d(0xed)](_0x11c6cc);_0x436657&&_0x436657[_0x18619d(0xfd)]({'isFromAdapter':!0x0});}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0xdf),(_0x1eb955,_0x9bc3df)=>{const _0x55093a=_0x5d5ca2,_0x4197ee=_0x9bc3df[_0x55093a(0xf2)],_0x53ff74=_0x2d1de2[_0x55093a(0xed)](_0x4197ee);_0x53ff74&&_0x53ff74[_0x55093a(0x123)]({...p(_0x9bc3df),'isFromAdapter':!0x0});}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0x11a),(_0x8c097d,{commentThreadId:_0x5bdb64,commentId:_0x272aa3,content:_0x44e45c,attributes:_0x104659})=>{const _0x3901f7=_0x5d5ca2,_0x1fbc0e=_0x2d1de2[_0x3901f7(0xed)](_0x5bdb64);if(_0x1fbc0e){const _0xaaeb3b=_0x1fbc0e[_0x3901f7(0xfa)](_0x272aa3);_0xaaeb3b&&_0xaaeb3b[_0x3901f7(0x114)]({'content':_0x44e45c,'attributes':_0x104659,'isFromAdapter':!0x0});}}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0xde),(_0x2bf5b8,{commentThreadId:_0x2c6db1,commentId:_0x5791eb})=>{const _0x1ba496=_0x5d5ca2,_0x3a71ec=_0x2d1de2[_0x1ba496(0xed)](_0x2c6db1);if(_0x3a71ec){const _0x10e32b=_0x3a71ec[_0x1ba496(0xfa)](_0x5791eb);_0x10e32b&&_0x10e32b[_0x1ba496(0xfd)]({'isFromAdapter':!0x0});}}),await this[_0x5d5ca2(0xea)](_0xf43e15);}[_0x6194f(0xe5)](){const _0x57e73e=_0x6194f;if(this[_0x57e73e(0x110)]instanceof _0x42e05c){const _0x28d13b=this[_0x57e73e(0x110)][_0x57e73e(0x124)][_0x57e73e(0x128)](_0x57e73e(0x11f));this[_0x57e73e(0xe1)](_0x28d13b);}}[_0x6194f(0xe1)](_0x1a1737){const _0xad9930=_0x6194f;if(!this[_0xad9930(0x100)][_0xad9930(0xe3)](_0x1a1737))throw new _0x588e9f(_0xad9930(0x118),null,{'channelId':_0x1a1737});this[_0xad9930(0xf7)](_0x1a1737)[_0xad9930(0x104)](),this[_0xad9930(0x100)][_0xad9930(0x144)](_0x1a1737);}async[_0x6194f(0x12b)](){const _0x249eca=_0x6194f;for(const _0x304d1e of this[_0x249eca(0x100)][_0x249eca(0x13f)]())await this[_0x249eca(0xea)](_0x304d1e);if(this[_0x249eca(0x110)]instanceof _0x42e05c){const _0x3f942e=this[_0x249eca(0x110)][_0x249eca(0x124)][_0x249eca(0x128)](_0x249eca(0x11f)),_0x57ca8f=this[_0x249eca(0x110)][_0x249eca(0x137)][_0x249eca(0x128)](_0x131f70);_0x57ca8f[_0x249eca(0x11c)](_0x3f942e);const _0x5de17e=await this[_0x249eca(0x100)][_0x249eca(0x128)](_0x3f942e)[_0x249eca(0x13a)]();_0x57ca8f[_0x249eca(0xee)](_0x3f942e,_0x5de17e);}}async[_0x6194f(0xea)](_0xe6de3c){const _0x227cae=_0x6194f,{connection:_0x5f4b48}=this[_0x227cae(0x110)][_0x227cae(0x137)][_0x227cae(0x128)](_0x4fd9a5),_0x5118c7=this[_0x227cae(0x110)][_0x227cae(0x137)][_0x227cae(0x128)](_0x227cae(0xf9)),_0x33f778=this[_0x227cae(0x100)][_0x227cae(0x128)](_0xe6de3c),_0x3a7781=await _0x33f778[_0x227cae(0xfe)](_0x5f4b48);await this[_0x227cae(0xe2)](_0x3a7781);const _0x55d371=new Set(Array[_0x227cae(0x116)](_0x5118c7[_0x227cae(0xf0)]({'channelId':_0xe6de3c}),_0xae03d3=>_0xae03d3['id']));for(const _0x287a76 of _0x3a7781)_0x287a76[_0x227cae(0xf4)]||_0x55d371[_0x227cae(0x144)](_0x287a76[_0x227cae(0xf2)]);for(const _0x1dce68 of _0x55d371)_0x5118c7[_0x227cae(0xed)](_0x1dce68)[_0x227cae(0xfd)]({'isFromAdapter':!0x0});for(const _0x14150c of _0x3a7781){let _0x27addd=_0x5118c7[_0x227cae(0xed)](_0x14150c[_0x227cae(0xf2)]);const {commentThreadId:_0x29b6c0,context:_0x464a17,attributes:_0x5f3c4b,resolvedBy:_0x6c0ddb,resolvedAt:_0x5ccd71,unlinkedAt:_0x15fa96,deletedAt:_0x399f63}=_0x14150c;if(_0x399f63)continue;_0x27addd||(_0x27addd=_0x5118c7[_0x227cae(0xf3)]({'channelId':_0xe6de3c,'threadId':_0x29b6c0,'context':_0x464a17,'attributes':_0x5f3c4b||{},'resolvedBy':_0x6c0ddb,'resolvedAt':_0x5ccd71,'unlinkedAt':_0x15fa96,'isFromAdapter':!0x0}));const _0x35641d=new Set(Array[_0x227cae(0x116)](_0x27addd[_0x227cae(0x12a)],_0x2e9a63=>_0x2e9a63['id']));for(const _0x1cd3a3 of _0x14150c[_0x227cae(0x12a)])_0x35641d[_0x227cae(0x144)](_0x1cd3a3[_0x227cae(0xec)]);for(const _0x50cce0 of _0x35641d)_0x27addd[_0x227cae(0xfa)](_0x50cce0)[_0x227cae(0xfd)]({'isFromAdapter':!0x0});for(const _0x5c4fac of _0x14150c[_0x227cae(0x12a)]){const _0x548307=_0x27addd[_0x227cae(0xfa)](_0x5c4fac[_0x227cae(0xec)]);_0x548307?_0x548307[_0x227cae(0x13e)]!==_0x5c4fac[_0x227cae(0x13e)]&&_0x548307[_0x227cae(0x114)]({'content':_0x5c4fac[_0x227cae(0x13e)],'isFromAdapter':!0x0}):_0x27addd[_0x227cae(0x123)](Object[_0x227cae(0x138)](p(_0x5c4fac),{'isFromAdapter':!0x0}));}}}[_0x6194f(0xf7)](_0x27358d){const _0xd0bb60=_0x6194f;if(!this[_0xd0bb60(0x100)][_0xd0bb60(0xe3)](_0x27358d))throw new _0x588e9f(_0xd0bb60(0x145),null,{'channelId':_0x27358d});return this[_0xd0bb60(0x100)][_0xd0bb60(0x128)](_0x27358d);}async[_0x6194f(0xe2)](_0x47dac6){const _0x221461=_0x6194f,_0x421829=this[_0x221461(0x110)][_0x221461(0x137)][_0x221461(0x128)](_0x212e63),{connection:_0x9d9b70}=this[_0x221461(0x110)][_0x221461(0x137)][_0x221461(0x128)](_0x4fd9a5),_0x48a9a2=new Set();for(const {resolvedBy:_0x2ef729,comments:_0x2edc68}of _0x47dac6){_0x2ef729&&!_0x421829[_0x221461(0xe7)](_0x2ef729)&&_0x48a9a2[_0x221461(0xf6)](_0x2ef729);for(const {userId:_0x357ef6}of _0x2edc68)_0x421829[_0x221461(0xe7)](_0x357ef6)||_0x48a9a2[_0x221461(0xf6)](_0x357ef6);}if(0x0===_0x48a9a2[_0x221461(0x12f)])return;const _0x4e4742=await _0x3b1dd4[_0x221461(0x10f)](_0x9d9b70,Array[_0x221461(0x116)](_0x48a9a2));for(const _0x5af294 of _0x4e4742)_0x421829[_0x221461(0xe7)](_0x5af294['id'])||_0x421829[_0x221461(0x132)](_0x5af294);}}async function f(_0xf300b4){const _0xa79a3c=_0x6194f;if(_0xa79a3c(0x13b)!==_0xf300b4[_0xa79a3c(0x113)])throw _0xf300b4;}function _0x32b9(){const _0x35fb1a=['commentThreadResolved','comments','reconnect','cloud-services-internal-error:\x20Request\x20timeout.','set','2740593sOSOjb','size','removeComment','8FEVniR','addUser','listenTo','authorId','catch','1990EWDOSf','plugins','assign','commentThreadReopened','getConnectedSessions','404','reopenCommentThread','createdAt','content','keys','resolvedBy','off','261JwVQhd','setPermissions','delete','cloudservicescommentsadapter-service-not-exist','commentThreadAdded','commentRemoved','commentAdded','resolveCommentThread','_terminateService','_fetchMissingUsersForThreads','has','removeCommentThread','destroy','cloudservicescommentsadapter-connect-already-connected','getUser','message','userId','_connectService','3396218flDfmy','commentId','getCommentThread','register','_setUpService','getCommentThreads','map','commentThreadId','addCommentThread','deletedAt','commentThreadRemoved','add','_getService','58021JhBKWh','CommentsRepository','getComment','213910bWrBYT','updateComment','remove','connect','18NwlIaP','_services','pluginName','mySessionId','isPremiumPlugin','disconnect','updateCommentThread','92444zuPULd','startsWith','addToReconnectionStack','resolvedAt','requires','isOfficialPlugin','adapter','Permissions','413872bXqNkg','getMany','context','1690OYVVur','cloud-services-internal-error:\x20Not\x20connected.','code','update','CommentsService','from','permissions','cloudservicescommentsadapter-disconnect-not-exist','CloudServicesCommentsAdapter','commentUpdated','437964APPKcI','unregister','148IhlSZg','reopen','collaboration.channelId','sessionAdd:','resolve','init','addComment','config','commentThreadUpdated','attributes','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','get'];_0x32b9=function(){return _0x35fb1a;};return _0x32b9();}function _0x29da(_0x37c1ae,_0x26be0d){const _0x32b951=_0x32b9();return _0x29da=function(_0x29da65,_0x476ccf){_0x29da65=_0x29da65-0xde;let _0xa0bbbe=_0x32b951[_0x29da65];return _0xa0bbbe;},_0x29da(_0x37c1ae,_0x26be0d);}function A(_0x15ec91){const _0x354c2d=_0x6194f;if((_0x2fbc18=_0x15ec91)[_0x354c2d(0xe8)][_0x354c2d(0x107)](_0x354c2d(0x127))||_0x2fbc18[_0x354c2d(0xe8)][_0x354c2d(0x107)](_0x354c2d(0x112))||_0x2fbc18[_0x354c2d(0xe8)][_0x354c2d(0x107)](_0x354c2d(0x12c)))return new Promise(()=>{});var _0x2fbc18;throw _0x15ec91;}function p(_0x2a6602){const _0x1d7e97=_0x6194f;return{'threadId':_0x2a6602[_0x1d7e97(0xf2)],'commentId':_0x2a6602[_0x1d7e97(0xec)],'content':_0x2a6602[_0x1d7e97(0x13e)],'createdAt':_0x2a6602[_0x1d7e97(0x13d)],'authorId':_0x2a6602[_0x1d7e97(0xe9)],'attributes':_0x2a6602[_0x1d7e97(0x126)]||{}};}
23
+ const _0x12cc2f=_0x5c79;(function(_0x4962f4,_0x2eaba6){const _0x51f7a8=_0x5c79,_0x5d721f=_0x4962f4();while(!![]){try{const _0x3754dc=-parseInt(_0x51f7a8(0x1e9))/0x1*(-parseInt(_0x51f7a8(0x1a7))/0x2)+parseInt(_0x51f7a8(0x1dc))/0x3*(parseInt(_0x51f7a8(0x1d5))/0x4)+parseInt(_0x51f7a8(0x1a8))/0x5*(parseInt(_0x51f7a8(0x1c2))/0x6)+parseInt(_0x51f7a8(0x1e4))/0x7+parseInt(_0x51f7a8(0x197))/0x8+-parseInt(_0x51f7a8(0x198))/0x9*(parseInt(_0x51f7a8(0x1be))/0xa)+parseInt(_0x51f7a8(0x1ac))/0xb*(-parseInt(_0x51f7a8(0x1ee))/0xc);if(_0x3754dc===_0x2eaba6)break;else _0x5d721f['push'](_0x5d721f['shift']());}catch(_0x11c510){_0x5d721f['push'](_0x5d721f['shift']());}}}(_0x2416,0x549b6));import{Context as _0x145262,ContextPlugin as _0x106e66}from'ckeditor5/src/core.js';import{CKEditorError as _0x2d11b1}from'ckeditor5/src/utils.js';import{Users as _0x2b92ca}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x29e0ad,User as _0x25743b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1f55cb}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x57278a}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x106e66{static [_0x12cc2f(0x1cd)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x29e0ad)());[_0x12cc2f(0x1e2)];static get[_0x12cc2f(0x1b0)](){const _0x22036f=_0x12cc2f;return[_0x1f55cb,_0x22036f(0x1e0),_0x57278a,_0x2b92ca];}static get[_0x12cc2f(0x1b7)](){const _0x197a86=_0x12cc2f;return _0x197a86(0x1cb);}static get[_0x12cc2f(0x1c1)](){return!0x0;}static get[_0x12cc2f(0x1b2)](){return!0x0;}constructor(_0x3e5753){const _0x3fc63d=_0x12cc2f;super(_0x3e5753),this[_0x3fc63d(0x1e2)]=new Map();}async[_0x12cc2f(0x1b1)](){const _0x3160ca=_0x12cc2f,_0x178e62=this[_0x3160ca(0x1aa)],_0x22e310=_0x178e62[_0x3160ca(0x1ad)][_0x3160ca(0x1a3)](_0x3160ca(0x1e0));if(_0x178e62[_0x3160ca(0x1ad)][_0x3160ca(0x1a3)](_0x1f55cb)[_0x3160ca(0x1d3)](this),_0x22e310[_0x3160ca(0x1b9)]={'addCommentThread':async({channelId:_0x3a6fca,threadId:_0x1dae85,comments:_0x2e64db,resolvedAt:_0x274e74,resolvedBy:_0x120f5b,context:_0x5264d5,attributes:_0x73d414})=>{const _0x391cab=_0x3160ca,_0x2dd835=await this[_0x391cab(0x19e)](_0x3a6fca)[_0x391cab(0x1ed)]({'commentThreadId':_0x1dae85,'comments':_0x2e64db[_0x391cab(0x1d2)](_0x4797ae=>function(_0x527074,_0x167523,_0x935387){const _0x1c9afc=_0x391cab;return{'commentThreadId':_0x935387,'commentId':_0x527074[_0x1c9afc(0x1c5)],'userId':_0x527074[_0x1c9afc(0x1d9)],'content':_0x527074[_0x1c9afc(0x1b5)],'documentId':_0x167523,'createdAt':_0x527074[_0x1c9afc(0x1c3)],'attributes':_0x527074[_0x1c9afc(0x1d6)]||{}};}(_0x4797ae,_0x3a6fca,_0x1dae85)),'resolvedAt':_0x274e74,'resolvedBy':_0x120f5b,'context':_0x5264d5,'attributes':_0x73d414})[_0x391cab(0x196)](T);return{'threadId':_0x2dd835[_0x391cab(0x1f2)],'comments':_0x2dd835[_0x391cab(0x1db)]};},'getCommentThread':async({channelId:_0x4ebef5,threadId:_0x276e90})=>{const _0x33b410=_0x3160ca,_0x38589a=await this[_0x33b410(0x19e)](_0x4ebef5)[_0x33b410(0x1a0)](_0x276e90)[_0x33b410(0x196)](ot)[_0x33b410(0x196)](T);return _0x38589a?_0x38589a[_0x33b410(0x1e7)]?null:(await this[_0x33b410(0x1de)]([_0x38589a]),{'threadId':_0x38589a[_0x33b410(0x1f2)],'comments':_0x38589a[_0x33b410(0x1db)][_0x33b410(0x1d2)](nt),'context':_0x38589a[_0x33b410(0x1aa)],'resolvedAt':_0x38589a[_0x33b410(0x1c8)],'resolvedBy':_0x38589a[_0x33b410(0x1b4)],'attributes':_0x38589a[_0x33b410(0x1d6)]||{}}):null;},'updateCommentThread':async({channelId:_0x553667,threadId:_0x34dde0,context:_0xae47d1,unlinkedAt:_0x1b67c5,attributes:_0x47dc85})=>this[_0x3160ca(0x19e)](_0x553667)[_0x3160ca(0x1c6)]({'commentThreadId':_0x34dde0,'context':_0xae47d1,'attributes':_0x47dc85,'unlinkedAt':_0x1b67c5})[_0x3160ca(0x196)](ot)[_0x3160ca(0x196)](T),'resolveCommentThread':async({channelId:_0x463efd,threadId:_0x28fad5})=>{const _0x41bb5a=_0x3160ca,_0x2c494f=await this[_0x41bb5a(0x19e)](_0x463efd)[_0x41bb5a(0x1af)](_0x28fad5)[_0x41bb5a(0x196)](ot)[_0x41bb5a(0x196)](T);return{'threadId':_0x2c494f[_0x41bb5a(0x1f2)],'resolvedAt':_0x2c494f[_0x41bb5a(0x1c8)],'resolvedBy':_0x2c494f[_0x41bb5a(0x1b4)]};},'reopenCommentThread':async({channelId:_0x4cd26b,threadId:_0x190bb2})=>this[_0x3160ca(0x19e)](_0x4cd26b)[_0x3160ca(0x1c0)](_0x190bb2)[_0x3160ca(0x196)](ot)[_0x3160ca(0x196)](T),'removeCommentThread':({channelId:_0x1b76b1,threadId:_0x37c8c0})=>this[_0x3160ca(0x19e)](_0x1b76b1)[_0x3160ca(0x1c4)](_0x37c8c0)[_0x3160ca(0x196)](ot)[_0x3160ca(0x196)](T),'addComment':({channelId:_0x5b895f,threadId:_0xbe8819,commentId:_0x3e339d,content:_0x40b0d2,attributes:_0x11455e})=>this[_0x3160ca(0x19e)](_0x5b895f)[_0x3160ca(0x1ae)](_0xbe8819,_0x3e339d,_0x40b0d2,_0x11455e)[_0x3160ca(0x196)](T),'updateComment':({channelId:_0x57c3a3,threadId:_0x39b642,commentId:_0x35bc5e,content:_0x7bdbac,attributes:_0x4d8ac9})=>this[_0x3160ca(0x19e)](_0x57c3a3)[_0x3160ca(0x1a6)](_0x39b642,_0x35bc5e,_0x7bdbac,_0x4d8ac9)[_0x3160ca(0x196)](ot)[_0x3160ca(0x196)](T),'removeComment':({channelId:_0x49bfe1,threadId:_0x2abab3,commentId:_0x1619ed})=>this[_0x3160ca(0x19e)](_0x49bfe1)[_0x3160ca(0x1b8)](_0x2abab3,_0x1619ed)[_0x3160ca(0x196)](ot)[_0x3160ca(0x196)](T)},_0x178e62 instanceof _0x145262){const _0x462829=_0x178e62[_0x3160ca(0x1a5)][_0x3160ca(0x1a3)](_0x3160ca(0x1c9)),_0x58568b=_0x178e62[_0x3160ca(0x1ad)][_0x3160ca(0x1a3)](_0x57278a);await this[_0x3160ca(0x1f1)](_0x462829);const _0x1fa04a=await this[_0x3160ca(0x1e2)][_0x3160ca(0x1a3)](_0x462829)[_0x3160ca(0x1ab)]();this[_0x3160ca(0x1e5)](_0x58568b,_0x3160ca(0x1a1)+_0x462829,(_0x4ed55c,{session:_0x1e3a50})=>{const _0x43ba8d=_0x3160ca;_0x1e3a50['id']===_0x58568b[_0x43ba8d(0x1ef)]&&(_0x4ed55c[_0x43ba8d(0x1eb)](),this[_0x43ba8d(0x1aa)][_0x43ba8d(0x1ad)][_0x43ba8d(0x1a3)](_0x43ba8d(0x1bc))[_0x43ba8d(0x1d4)](_0x1e3a50[_0x43ba8d(0x1e8)],_0x462829));}),_0x58568b[_0x3160ca(0x19f)](_0x462829,_0x1fa04a);}}async[_0x12cc2f(0x1f1)](_0x145c52){const _0x4a60af=_0x12cc2f;if(this[_0x4a60af(0x1e2)][_0x4a60af(0x1d0)](_0x145c52))throw new _0x2d11b1(_0x4a60af(0x1a2),null,{'channelId':_0x145c52});const _0x42d956=this[_0x4a60af(0x1aa)][_0x4a60af(0x1ad)][_0x4a60af(0x1a3)](_0x4a60af(0x1e0)),_0x55f729=new CloudServicesCommentsAdapter[(_0x4a60af(0x1cd))](_0x145c52);this[_0x4a60af(0x1e2)][_0x4a60af(0x1f9)](_0x145c52,_0x55f729),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1ca),(_0x28bb6e,_0x1be6c1)=>{const _0x3b2f3f=_0x4a60af,{commentThreadId:_0x24723c,documentId:_0x2f2cd1,context:_0xf2cdaa,attributes:_0x4c60c7,resolvedAt:_0x397c36,resolvedBy:_0x15f6c8,comments:_0x376ccc}=_0x1be6c1;_0x42d956[_0x3b2f3f(0x1a0)](_0x24723c)||_0x42d956[_0x3b2f3f(0x1ed)]({'threadId':_0x24723c,'channelId':_0x2f2cd1,'comments':_0x376ccc?_0x376ccc[_0x3b2f3f(0x1d2)](nt):[],'context':_0xf2cdaa,'attributes':_0x4c60c7,'resolvedAt':_0x397c36,'resolvedBy':_0x15f6c8,'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1ba),(_0x4d1be6,{commentThreadId:_0x586a52,documentId:_0x11f972,context:_0x342a01,unlinkedAt:_0x159130,attributes:_0x8301f4})=>{const _0x4fb87a=_0x4a60af;_0x42d956[_0x4fb87a(0x1a0)](_0x586a52)&&_0x42d956[_0x4fb87a(0x1c6)]({'threadId':_0x586a52,'channelId':_0x11f972,'context':_0x342a01,'unlinkedAt':_0x159130,'attributes':_0x8301f4,'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1bb),(_0x5030eb,{commentThreadId:_0x15ece0,resolvedBy:_0x496958,resolvedAt:_0x3102f5})=>{const _0x5aba55=_0x4a60af,_0x3ad6ac=_0x42d956[_0x5aba55(0x1a0)](_0x15ece0);_0x3ad6ac&&_0x3ad6ac[_0x5aba55(0x1d8)]({'resolvedBy':_0x496958,'resolvedAt':_0x3102f5,'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1d7),(_0x1d99a7,{commentThreadId:_0x16abd5})=>{const _0xb8be06=_0x4a60af,_0x425809=_0x42d956[_0xb8be06(0x1a0)](_0x16abd5);_0x425809&&_0x425809[_0xb8be06(0x19a)]({'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1c7),(_0x4f560c,{commentThreadId:_0x3adce6})=>{const _0x570e5a=_0x4a60af,_0x510a3e=_0x42d956[_0x570e5a(0x1a0)](_0x3adce6);_0x510a3e&&_0x510a3e[_0x570e5a(0x1f6)]({'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1d1),(_0x465d92,_0x5f54d6)=>{const _0x3f9109=_0x4a60af,_0x21122a=_0x5f54d6[_0x3f9109(0x1f2)],_0x1f99c1=_0x42d956[_0x3f9109(0x1a0)](_0x21122a);_0x1f99c1&&_0x1f99c1[_0x3f9109(0x1ae)]({...nt(_0x5f54d6),'isFromAdapter':!0x0});}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1f5),(_0xfabae8,{commentThreadId:_0x3ddabe,commentId:_0xa8e2f4,content:_0x17cc00,attributes:_0x1c2379})=>{const _0x976435=_0x4a60af,_0x4afda7=_0x42d956[_0x976435(0x1a0)](_0x3ddabe);if(_0x4afda7){const _0x1a391f=_0x4afda7[_0x976435(0x1e6)](_0xa8e2f4);_0x1a391f&&_0x1a391f[_0x976435(0x1ea)]({'content':_0x17cc00,'attributes':_0x1c2379,'isFromAdapter':!0x0});}}),this[_0x4a60af(0x1e5)](_0x55f729,_0x4a60af(0x1ec),(_0x42b5a0,{commentThreadId:_0x7b7638,commentId:_0x2bfe32})=>{const _0x2fa286=_0x4a60af,_0x2439ed=_0x42d956[_0x2fa286(0x1a0)](_0x7b7638);if(_0x2439ed){const _0x563991=_0x2439ed[_0x2fa286(0x1e6)](_0x2bfe32);_0x563991&&_0x563991[_0x2fa286(0x1f6)]({'isFromAdapter':!0x0});}}),await this[_0x4a60af(0x1bd)](_0x145c52);}[_0x12cc2f(0x1f8)](){const _0x55b5d4=_0x12cc2f;if(this[_0x55b5d4(0x1aa)]instanceof _0x145262){const _0x2b5a9a=this[_0x55b5d4(0x1aa)][_0x55b5d4(0x1a5)][_0x55b5d4(0x1a3)](_0x55b5d4(0x1c9));this[_0x55b5d4(0x1a4)](_0x2b5a9a);}}[_0x12cc2f(0x1a4)](_0x308d88){const _0x4cb6d3=_0x12cc2f;if(!this[_0x4cb6d3(0x1e2)][_0x4cb6d3(0x1d0)](_0x308d88))throw new _0x2d11b1(_0x4cb6d3(0x1e1),null,{'channelId':_0x308d88});this[_0x4cb6d3(0x19e)](_0x308d88)[_0x4cb6d3(0x1f0)](),this[_0x4cb6d3(0x1e2)][_0x4cb6d3(0x1b3)](_0x308d88);}async[_0x12cc2f(0x1da)](){const _0x3d00cf=_0x12cc2f;for(const _0x3fa53f of this[_0x3d00cf(0x1e2)][_0x3d00cf(0x1df)]())await this[_0x3d00cf(0x1bd)](_0x3fa53f);if(this[_0x3d00cf(0x1aa)]instanceof _0x145262){const _0x2de5c7=this[_0x3d00cf(0x1aa)][_0x3d00cf(0x1a5)][_0x3d00cf(0x1a3)](_0x3d00cf(0x1c9)),_0x2b96b9=this[_0x3d00cf(0x1aa)][_0x3d00cf(0x1ad)][_0x3d00cf(0x1a3)](_0x57278a);_0x2b96b9[_0x3d00cf(0x1fb)](_0x2de5c7);const _0x4b115e=await this[_0x3d00cf(0x1e2)][_0x3d00cf(0x1a3)](_0x2de5c7)[_0x3d00cf(0x1ab)]();_0x2b96b9[_0x3d00cf(0x19f)](_0x2de5c7,_0x4b115e);}}async[_0x12cc2f(0x1bd)](_0x3ec7f3){const _0x2f265a=_0x12cc2f,{connection:_0xe891ca}=this[_0x2f265a(0x1aa)][_0x2f265a(0x1ad)][_0x2f265a(0x1a3)](_0x1f55cb),_0xe5fe0b=this[_0x2f265a(0x1aa)][_0x2f265a(0x1ad)][_0x2f265a(0x1a3)](_0x2f265a(0x1e0)),_0x2b4bd0=this[_0x2f265a(0x1e2)][_0x2f265a(0x1a3)](_0x3ec7f3),_0x1075f2=await _0x2b4bd0[_0x2f265a(0x1bf)](_0xe891ca);await this[_0x2f265a(0x1de)](_0x1075f2);const _0x2db2cf=new Set(Array[_0x2f265a(0x1e3)](_0xe5fe0b[_0x2f265a(0x19d)]({'channelId':_0x3ec7f3}),_0x54b2bf=>_0x54b2bf['id']));for(const _0x58dd33 of _0x1075f2)_0x58dd33[_0x2f265a(0x1e7)]||_0x2db2cf[_0x2f265a(0x1b3)](_0x58dd33[_0x2f265a(0x1f2)]);for(const _0x300fc9 of _0x2db2cf)_0xe5fe0b[_0x2f265a(0x1a0)](_0x300fc9)[_0x2f265a(0x1f6)]({'isFromAdapter':!0x0});for(const _0x4c9d85 of _0x1075f2){let _0xa88618=_0xe5fe0b[_0x2f265a(0x1a0)](_0x4c9d85[_0x2f265a(0x1f2)]);const {commentThreadId:_0x582712,context:_0x4d93e9,attributes:_0x431159,resolvedBy:_0x2bb1f2,resolvedAt:_0x513159,unlinkedAt:_0x537466,deletedAt:_0x362b6e}=_0x4c9d85;if(_0x362b6e)continue;_0xa88618||(_0xa88618=_0xe5fe0b[_0x2f265a(0x1ed)]({'channelId':_0x3ec7f3,'threadId':_0x582712,'context':_0x4d93e9,'attributes':_0x431159||{},'resolvedBy':_0x2bb1f2,'resolvedAt':_0x513159,'unlinkedAt':_0x537466,'isFromAdapter':!0x0}));const _0xfcce28=new Set(Array[_0x2f265a(0x1e3)](_0xa88618[_0x2f265a(0x1db)],_0x105ac3=>_0x105ac3['id']));for(const _0x3637f1 of _0x4c9d85[_0x2f265a(0x1db)])_0xfcce28[_0x2f265a(0x1b3)](_0x3637f1[_0x2f265a(0x1c5)]);for(const _0x2609b4 of _0xfcce28)_0xa88618[_0x2f265a(0x1e6)](_0x2609b4)[_0x2f265a(0x1f6)]({'isFromAdapter':!0x0});for(const _0x4d85d8 of _0x4c9d85[_0x2f265a(0x1db)]){const _0x49e1b3=_0xa88618[_0x2f265a(0x1e6)](_0x4d85d8[_0x2f265a(0x1c5)]);_0x49e1b3?_0x49e1b3[_0x2f265a(0x1b5)]!==_0x4d85d8[_0x2f265a(0x1b5)]&&_0x49e1b3[_0x2f265a(0x1ea)]({'content':_0x4d85d8[_0x2f265a(0x1b5)],'isFromAdapter':!0x0}):_0xa88618[_0x2f265a(0x1ae)](Object[_0x2f265a(0x1f4)](nt(_0x4d85d8),{'isFromAdapter':!0x0}));}}}[_0x12cc2f(0x19e)](_0x251e7d){const _0x209090=_0x12cc2f;if(!this[_0x209090(0x1e2)][_0x209090(0x1d0)](_0x251e7d))throw new _0x2d11b1(_0x209090(0x1dd),null,{'channelId':_0x251e7d});return this[_0x209090(0x1e2)][_0x209090(0x1a3)](_0x251e7d);}async[_0x12cc2f(0x1de)](_0x2d12b8){const _0x3b0284=_0x12cc2f,_0x2ffb80=this[_0x3b0284(0x1aa)][_0x3b0284(0x1ad)][_0x3b0284(0x1a3)](_0x2b92ca),{connection:_0x164385}=this[_0x3b0284(0x1aa)][_0x3b0284(0x1ad)][_0x3b0284(0x1a3)](_0x1f55cb),_0x25f58b=new Set();for(const {resolvedBy:_0x2bc11d,comments:_0x12446f}of _0x2d12b8){_0x2bc11d&&!_0x2ffb80[_0x3b0284(0x199)](_0x2bc11d)&&_0x25f58b[_0x3b0284(0x194)](_0x2bc11d);for(const {userId:_0x3baf33}of _0x12446f)_0x2ffb80[_0x3b0284(0x199)](_0x3baf33)||_0x25f58b[_0x3b0284(0x194)](_0x3baf33);}if(0x0===_0x25f58b[_0x3b0284(0x19c)])return;const _0x5e0284=await _0x25743b[_0x3b0284(0x1f7)](_0x164385,Array[_0x3b0284(0x1e3)](_0x25f58b));for(const _0x4a2c83 of _0x5e0284)_0x2ffb80[_0x3b0284(0x199)](_0x4a2c83['id'])||_0x2ffb80[_0x3b0284(0x195)](_0x4a2c83);}}async function ot(_0x266ae9){const _0x5d6cf9=_0x12cc2f;if(_0x5d6cf9(0x1f3)!==_0x266ae9[_0x5d6cf9(0x1ce)])throw _0x266ae9;}function _0x5c79(_0x147ce4,_0x1169de){const _0x241659=_0x2416();return _0x5c79=function(_0x5c7985,_0x3551f3){_0x5c7985=_0x5c7985-0x194;let _0x512e4d=_0x241659[_0x5c7985];return _0x512e4d;},_0x5c79(_0x147ce4,_0x1169de);}function T(_0x1c18f6){const _0x2992d5=_0x12cc2f;if((_0x560dee=_0x1c18f6)[_0x2992d5(0x19b)][_0x2992d5(0x1cc)](_0x2992d5(0x1b6))||_0x560dee[_0x2992d5(0x19b)][_0x2992d5(0x1cc)](_0x2992d5(0x1a9))||_0x560dee[_0x2992d5(0x19b)][_0x2992d5(0x1cc)](_0x2992d5(0x1fa)))return new Promise(()=>{});var _0x560dee;throw _0x1c18f6;}function _0x2416(){const _0x135db6=['reconnect','comments','15CBOASa','cloudservicescommentsadapter-service-not-exist','_fetchMissingUsersForThreads','keys','CommentsRepository','cloudservicescommentsadapter-disconnect-not-exist','_services','from','1106175iWoXBv','listenTo','getComment','deletedAt','permissions','5sDOfEu','update','off','commentRemoved','addCommentThread','24QXmoLN','mySessionId','disconnect','_setUpService','commentThreadId','404','assign','commentUpdated','remove','getMany','destroy','set','cloud-services-internal-error:\x20Request\x20timeout.','unregister','add','addUser','catch','4952376EyoKQB','41931tmFPeN','getUser','reopen','message','size','getCommentThreads','_getService','register','getCommentThread','sessionAdd:','cloudservicescommentsadapter-connect-already-connected','get','_terminateService','config','updateComment','147844KARQUX','16510DujPFJ','cloud-services-internal-error:\x20Not\x20connected.','context','getConnectedSessions','8995393SgSpNt','plugins','addComment','resolveCommentThread','requires','init','isPremiumPlugin','delete','resolvedBy','content','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','pluginName','removeComment','adapter','commentThreadUpdated','commentThreadResolved','Permissions','_connectService','50BmOaGV','connect','reopenCommentThread','isOfficialPlugin','1182yOnIie','createdAt','removeCommentThread','commentId','updateCommentThread','commentThreadRemoved','resolvedAt','collaboration.channelId','commentThreadAdded','CloudServicesCommentsAdapter','startsWith','CommentsService','code','userId','has','commentAdded','map','addToReconnectionStack','setPermissions','166556KqeouF','attributes','commentThreadReopened','resolve','authorId'];_0x2416=function(){return _0x135db6;};return _0x2416();}function nt(_0x57141e){const _0x289aec=_0x12cc2f;return{'threadId':_0x57141e[_0x289aec(0x1f2)],'commentId':_0x57141e[_0x289aec(0x1c5)],'content':_0x57141e[_0x289aec(0x1b5)],'createdAt':_0x57141e[_0x289aec(0x1c3)],'authorId':_0x57141e[_0x289aec(0x1cf)],'attributes':_0x57141e[_0x289aec(0x1d6)]||{}};}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x871a24=_0x716e;(function(_0x5956da,_0x9222ad){const _0x103820=_0x716e,_0x38918e=_0x5956da();while(!![]){try{const _0x262fab=-parseInt(_0x103820(0x235))/0x1+-parseInt(_0x103820(0x29b))/0x2+-parseInt(_0x103820(0x26d))/0x3+-parseInt(_0x103820(0x1ed))/0x4*(-parseInt(_0x103820(0x1fe))/0x5)+-parseInt(_0x103820(0x210))/0x6+-parseInt(_0x103820(0x282))/0x7*(-parseInt(_0x103820(0x203))/0x8)+parseInt(_0x103820(0x2a2))/0x9;if(_0x262fab===_0x9222ad)break;else _0x38918e['push'](_0x38918e['shift']());}catch(_0x250283){_0x38918e['push'](_0x38918e['shift']());}}}(_0x537e,0xcb6d4));import{Plugin as _0x1dea64,PendingActions as _0x5595c2}from'ckeditor5/src/core.js';import{CKEditorError as _0x2c13c3,version as _0x21c985,uid as _0x4c4926}from'ckeditor5/src/utils.js';function _0x716e(_0x294493,_0x396f0d){const _0x537e3b=_0x537e();return _0x716e=function(_0x716e3a,_0x15eea0){_0x716e3a=_0x716e3a-0x1a8;let _0x4a45fe=_0x537e3b[_0x716e3a];return _0x4a45fe;},_0x716e(_0x294493,_0x396f0d);}import{Notification as _0xb778a4}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x51d210,NoOperation as _0x290d08,InsertOperation as _0x2be817,MarkerOperation as _0x1d1b48,RootAttributeOperation as _0x77c3c7,OperationFactory as _0x1157e7,History as _0x532880}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x534013}from'./websocketgateway.js';import{Sessions as _0x4673cc}from'./sessions.js';import{UserMarkers as _0x2ee7b8}from'./usermarkers.js';import{getTranslation as _0x5efe23}from'../common-translations.js';import{Compressor as _0x38ed00}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x45e896}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x37047c,CollaborativeEditingService as _0x237970}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;function _0x537e(){const _0x250ce7=['addOperation','stopListening','document','_ignoredOperations','lastOperationAcceptedAt','metadata','off','offset','cloud-services-internal-error:\x20Not\x20connected.','filter','removeFromReconnectionStack','enableReadOnlyMode','_isConnected','requires','push','applyOperation','_baseBufferDelay','_knownRootNames','type','_hasSelectionChanged','isOfficialPlugin','code','_operationToId','ready','_connectAfterSessionHasBeenFlushed','fromJSON','get','differ','affectsData','channelSessions','unregister','operationsReceived','destroy','includes','reconnect','_disconnectionOperations','createPositionFromPath','4753332DkNNPR','createdAt','batch','_handleExternalOperations','lastSyncVersion','move','sessionCreatedAt','getUser','realtimecollaborationclient-sendbufferedoperations','_getOperationsFromInitData','_compressOperations','cloudDocumentVersion','view','disconnect','isDocumentOperation','_shouldSendSelectionUpdate','_sendBufferedOperations','version','permissions','cs:removeUser','RealTimeCollaborationClient','7ZjULhB','Synchronization\x20issue','collaboration','_isAttached','_authorId','serverHistory','_saveOperationInBuffer','slice','isUndoneOperation','_connectService','getDocumentDetails','addUser','__className','map','createPositionAt','config','collaboration.channelId','_operationIdentifier','pluginName','attributes','_service','rootsAttributes','entries','baseVersion','404','2001610RKmRiI','change:range','message','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.','_compressor','getMany','_sendBufferedOperationsDelayId','24779709IFQvuK','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.','enqueueChange','insert','setIdForTheLastOperation','markers','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_offset','realtimecollaborationclient-init-document-already-initialized','forEach','sendOperations','sessionAdd:','_hasSynchronizationProblem','_handleReconnectionResponse','document:write','reset','editor','connection','realtimecollaborationclient','parse','targetPosition','stop','_setPendingAction','toJSON','_isDisconnection','plugins','cloudServices.bundleVersion','realtimecollaborationclient-init-connection-failed','_fetchMissingUsers','multi-root-editor-root-attributes-no-root','size','decompress','cloud-services-internal-error:\x20Request\x20timeout.','_crash','connect','createRoot','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','409','_lastServerVersion','lastOperationId','initData','Permissions','error','isPremiumPlugin','remove','getIdOfTheLastOperation','high','compress','InsertOperation','init','collaboration-missing-channelid','PENDING_ACTION_SENDING_DATA','editing','_document','_sendBufferedOperationsDelayed','_handleSendingSelectionMarkers','disconnected','apply','selection','rtc-destroyed','_refreshUserSelectionMarkers','path','_getAffectedRoot','newRange','root','loadRoot','addToReconnectionStack','_applyOperationsSet','_shouldSendUpdate','change:_isPendingUpdate','clone','_setUpDataInit','CommentsOnly','addRootAttribute','_addKnownRoot','_channelId','showWarning','userId','_isLoaded','suppressErrorInCollaboration','1556VCWIVo','add','reconnection:\x20flushed\x20session','_disconnectService','_lastSyncedOperationId','fire','wasUndone','change:hasDomSelection','from','realtimecollaborationclient-handleserverresponse','getOperationAuthor','_isPendingUpdate','finally','string','_clearPendingAction','CollaborativeEditingService','state','6590BFfqRO','realtimecollaborationclient-init-service-incorrect-server-operation','register','return','realtimecollaborationclient-init-service-internal-error','12296408mJwgyP','wereChangesApplied','history','getRoot','keys','change:_isEditingAllowed','lastDocumentSession','getConnectedSessions','_handleServerResponse','_bufferedOperations','round','locale','_handleInitialConnectionData','7752504kBPDNC','isEnabled','realtimecollaborationclient-error','catch','_decompressOperations','addRoot','marker','_isEditingAllowed','rtc-offline','start','then','end','listenTo','position','createRange','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','setPermissions','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','data','model','define','_knownOperations','_currentBufferDelay','_isInit','disableReadOnlyMode','_handleReconnectionError','_loadRoot','createUserMarkerOperations','sessionId','_handleReceivedOperations','$root','isReadOnly','Notification','has','roots','length','currentDocumentSession','92485NiLICm','_bufferRootLoad','startsWith','getOperations','set','realtimecollaborationclient-init-non-existent-root','affectedSelectable','realtimecollaborationclient-init-session-connection-error','_updateServerHistory','_pendingAction','connected','_initSessionsHandling','directChange','_initThrowingOnDataSet','mySessionId','_waitUntilSynced','rootName','bind','real-time-collaboration'];_0x537e=function(){return _0x250ce7;};return _0x537e();}export class RealTimeCollaborationClient extends _0x1dea64{static [_0x871a24(0x1fc)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x237970)());[_0x871a24(0x2a9)];[_0x871a24(0x22c)];[_0x871a24(0x287)];[_0x871a24(0x1e8)];[_0x871a24(0x296)];[_0x871a24(0x1d2)];[_0x871a24(0x29f)];[_0x871a24(0x20c)];[_0x871a24(0x225)];[_0x871a24(0x259)];[_0x871a24(0x23e)];[_0x871a24(0x25b)];[_0x871a24(0x2a1)];[_0x871a24(0x258)];[_0x871a24(0x226)];[_0x871a24(0x1f1)];[_0x871a24(0x26b)];[_0x871a24(0x293)];static get[_0x871a24(0x255)](){return[_0x534013,_0x4673cc,_0x2ee7b8,_0x5595c2,_0x45e896,_0xb778a4];}static get[_0x871a24(0x294)](){const _0x4d7a91=_0x871a24;return _0x4d7a91(0x281);}static get[_0x871a24(0x25c)](){return!0x0;}static get[_0x871a24(0x1c8)](){return!0x0;}get[_0x871a24(0x278)](){const _0x963aa1=_0x871a24;return this[_0x963aa1(0x1c3)]+this[_0x963aa1(0x2a9)];}get[_0x871a24(0x1c3)](){const _0x325f87=_0x871a24;return this[_0x325f87(0x287)][_0x325f87(0x27e)]-this[_0x325f87(0x2a9)];}get[_0x871a24(0x271)](){const _0x2cfbba=_0x871a24,_0x5a9c44=this[_0x2cfbba(0x287)][_0x2cfbba(0x238)]();for(let _0x2e64c7=_0x5a9c44[_0x2cfbba(0x233)]-0x1;_0x2e64c7>=0x0;_0x2e64c7--){const _0x51aaf1=_0x5a9c44[_0x2e64c7];if(!this[_0x2cfbba(0x26b)][_0x2cfbba(0x231)](_0x51aaf1))return _0x51aaf1[_0x2cfbba(0x299)]+0x1-this[_0x2cfbba(0x2a9)];}return 0x0;}constructor(_0x1e308c){const _0x57c6af=_0x871a24;if(super(_0x1e308c),this[_0x57c6af(0x2a9)]=0x0,this[_0x57c6af(0x22c)]=null,this[_0x57c6af(0x287)]=new _0x532880(),this[_0x57c6af(0x1ad)][_0x57c6af(0x291)][_0x57c6af(0x224)](_0x57c6af(0x284),{}),this[_0x57c6af(0x1e8)]=this[_0x57c6af(0x1ad)][_0x57c6af(0x291)][_0x57c6af(0x262)](_0x57c6af(0x292)),!this[_0x57c6af(0x1e8)])throw new _0x2c13c3(_0x57c6af(0x1cf),this);const _0x27ec5f=_0x1e308c[_0x57c6af(0x291)][_0x57c6af(0x262)](_0x57c6af(0x1b7))||_0x21c985;this[_0x57c6af(0x296)]=new RealTimeCollaborationClient[(_0x57c6af(0x1fc))](_0x27ec5f,this[_0x57c6af(0x1e8)]),this[_0x57c6af(0x1d2)]=this[_0x57c6af(0x1ad)][_0x57c6af(0x223)][_0x57c6af(0x24a)],this[_0x57c6af(0x29f)]=new _0x38ed00(),this[_0x57c6af(0x20c)]=[],this[_0x57c6af(0x225)]=new WeakSet(),this[_0x57c6af(0x259)]=new Set(),this[_0x57c6af(0x239)](_0x57c6af(0x1f8),!0x1),this[_0x57c6af(0x239)](_0x57c6af(0x1a9),!0x1),this[_0x57c6af(0x23e)]=null,this[_0x57c6af(0x25b)]=!0x1,this[_0x57c6af(0x2a1)]=null,this[_0x57c6af(0x258)]=0x12c,this[_0x57c6af(0x226)]=this[_0x57c6af(0x258)],this[_0x57c6af(0x1f1)]=null,this[_0x57c6af(0x26b)]=new WeakSet(),this[_0x57c6af(0x293)]=new J(this[_0x57c6af(0x26b)]);}[_0x871a24(0x1ce)](){const _0x1d1900=_0x871a24,_0x34a7d2=this[_0x1d1900(0x1ad)],_0x58e9d0=_0x34a7d2[_0x1d1900(0x1b6)][_0x1d1900(0x262)](_0x45e896),_0x5f3c14=_0x34a7d2[_0x1d1900(0x1b6)][_0x1d1900(0x262)](_0x534013);this[_0x1d1900(0x21c)](_0x58e9d0,_0x1d1900(0x1f7),(_0xfb5d35,_0x9199c3)=>{const _0x491a49=_0x1d1900,_0x33758a=_0x9199c3[0x0];_0x33758a[_0x491a49(0x286)]&&(_0xfb5d35[_0x491a49(0x201)]=_0x58e9d0[_0x491a49(0x274)](_0x33758a[_0x491a49(0x286)]),_0xfb5d35[_0x491a49(0x1b2)]()),null===_0x33758a[_0x491a49(0x286)]&&(_0xfb5d35[_0x491a49(0x201)]=null,_0xfb5d35[_0x491a49(0x1b2)]());},{'priority':_0x1d1900(0x1cb)}),this[_0x1d1900(0x21c)](_0x34a7d2[_0x1d1900(0x223)][_0x1d1900(0x24a)][_0x1d1900(0x1d7)],_0x1d1900(0x29c),(_0x2c403b,_0x2ffabf)=>{const _0x3daa41=_0x1d1900;_0x2ffabf[_0x3daa41(0x241)]&&this[_0x3daa41(0x1d9)]();}),this[_0x1d1900(0x21c)](_0x34a7d2[_0x1d1900(0x1d1)][_0x1d1900(0x279)],_0x1d1900(0x1f4),()=>{const _0x1fafca=_0x1d1900;this[_0x1fafca(0x1d9)]();}),this[_0x1d1900(0x242)](),_0x34a7d2[_0x1d1900(0x223)]['on'](_0x1d1900(0x257),(_0x58bce2,_0x4b7451)=>{const _0x30e7ed=_0x1d1900,_0x147cd3=_0x4b7451[0x0];_0x147cd3[_0x30e7ed(0x27b)]&&(this[_0x30e7ed(0x288)](_0x147cd3),this[_0x30e7ed(0x1e1)]()&&this[_0x30e7ed(0x1d3)]());}),this[_0x1d1900(0x1e4)](),this[_0x1d1900(0x246)](_0x1d1900(0x217))['to'](_0x5f3c14,_0x1d1900(0x1fd),this,_0x1d1900(0x1a9),(_0x365b15,_0x1109f9)=>_0x1d1900(0x23f)===_0x365b15&&!_0x1109f9),this['on'](_0x1d1900(0x208),()=>{const _0x21493a=_0x1d1900;this[_0x21493a(0x217)]?_0x34a7d2[_0x21493a(0x228)](_0x21493a(0x218)):_0x34a7d2[_0x21493a(0x253)](_0x21493a(0x218));}),this[_0x1d1900(0x217)]?_0x34a7d2[_0x1d1900(0x228)](_0x1d1900(0x218)):_0x34a7d2[_0x1d1900(0x253)](_0x1d1900(0x218)),this[_0x1d1900(0x239)](_0x1d1900(0x254),!0x1);}async[_0x871a24(0x26a)](){const _0x5d3b2a=_0x871a24,_0x303f70=this[_0x5d3b2a(0x1ad)][_0x5d3b2a(0x1b6)][_0x5d3b2a(0x262)](_0x4673cc),_0x560a37=this[_0x5d3b2a(0x1ad)][_0x5d3b2a(0x1b6)][_0x5d3b2a(0x262)](_0x534013);try{this[_0x5d3b2a(0x1f8)]=!0x0,_0x303f70[_0x5d3b2a(0x266)](this[_0x5d3b2a(0x1e8)]);const _0x2a65cf=await this[_0x5d3b2a(0x296)][_0x5d3b2a(0x26a)](_0x560a37[_0x5d3b2a(0x1ae)],this[_0x5d3b2a(0x271)]);await this[_0x5d3b2a(0x1aa)](_0x2a65cf)&&(this[_0x5d3b2a(0x1f8)]=!0x1,this[_0x5d3b2a(0x1fb)]());const _0x10ec0f=await this[_0x5d3b2a(0x296)][_0x5d3b2a(0x20a)]();_0x303f70[_0x5d3b2a(0x200)](this[_0x5d3b2a(0x1e8)],_0x10ec0f),this[_0x5d3b2a(0x1d4)](),this[_0x5d3b2a(0x254)]=!0x0;}catch(_0x4461e3){if(function(_0x2f1420){const _0x15c9eb=_0x5d3b2a;return _0x15c9eb(0x29a)===_0x2f1420[_0x15c9eb(0x25d)];}(_0x4461e3)&&this[_0x5d3b2a(0x22c)])await this[_0x5d3b2a(0x260)]();else{if(function(_0x494b45){const _0xb6061e=_0x5d3b2a;return _0xb6061e(0x1c2)===_0x494b45[_0xb6061e(0x25d)];}(_0x4461e3)){const _0x866aa1=_0x5efe23(this[_0x5d3b2a(0x1ad)][_0x5d3b2a(0x20e)],_0x5d3b2a(0x2a8));this[_0x5d3b2a(0x229)](_0x866aa1);}else{if(!(_0x4461e3 instanceof $))throw _0x4461e3;this[_0x5d3b2a(0x229)]();}}}}[_0x871a24(0x268)](){const _0x5cd9c9=_0x871a24,_0x49f4e1=this[_0x5cd9c9(0x1ad)][_0x5cd9c9(0x1b6)][_0x5cd9c9(0x262)](_0x534013),_0x30960b=this[_0x5cd9c9(0x1ad)][_0x5cd9c9(0x1b6)][_0x5cd9c9(0x262)](_0x4673cc);this[_0x5cd9c9(0x1ad)][_0x5cd9c9(0x253)](_0x5cd9c9(0x1d8)),_0x30960b[_0x5cd9c9(0x265)][_0x5cd9c9(0x231)](this[_0x5cd9c9(0x1e8)])&&_0x30960b[_0x5cd9c9(0x266)](this[_0x5cd9c9(0x1e8)]),_0x49f4e1[_0x5cd9c9(0x252)](this),this[_0x5cd9c9(0x1f0)](),super[_0x5cd9c9(0x268)]();}async[_0x871a24(0x1aa)](_0x1e6677){const _0x30bb73=_0x871a24;if(this[_0x30bb73(0x22c)]!==_0x1e6677[_0x30bb73(0x22c)]&&this[_0x30bb73(0x1f1)]!==_0x1e6677[_0x30bb73(0x1c4)])throw new $();return this[_0x30bb73(0x22c)]=_0x1e6677[_0x30bb73(0x22c)],this[_0x30bb73(0x20b)]([],{..._0x1e6677,'wereChangesApplied':!0x1,'data':_0x1e6677[_0x30bb73(0x222)]},_0x30bb73(0x26a));}async[_0x871a24(0x28b)](_0x516c67,_0x3c6056=!0x1){const _0x407a86=_0x871a24,{connection:_0x29889b}=this[_0x407a86(0x1ad)][_0x407a86(0x1b6)][_0x407a86(0x262)](_0x534013);RealTimeCollaborationClient[_0x407a86(0x1fc)][_0x407a86(0x20a)](_0x29889b,this[_0x407a86(0x1e8)])[_0x407a86(0x21a)](_0xbd5304=>this[_0x407a86(0x240)](_0xbd5304))[_0x407a86(0x213)](_0xe26c33=>{const _0x56b978=_0x407a86;this[_0x56b978(0x1be)](_0x56b978(0x23c),_0xe26c33);}),this[_0x407a86(0x21c)](this[_0x407a86(0x296)],_0x407a86(0x267),this[_0x407a86(0x22d)][_0x407a86(0x246)](this)),this[_0x407a86(0x21c)](this[_0x407a86(0x296)],_0x407a86(0x1c7),(_0xe88036,_0x316bc6)=>{const _0x177a14=_0x407a86;this[_0x177a14(0x1be)](_0x177a14(0x202),_0x316bc6);}),this[_0x407a86(0x21c)](this[_0x407a86(0x296)],_0x407a86(0x1d5),()=>{const _0x2c083b=_0x407a86;this[_0x2c083b(0x254)]=!0x1;});const _0x17e367=this[_0x407a86(0x293)][_0x407a86(0x1ca)](_0x516c67);this[_0x407a86(0x1f8)]=!0x0;const _0x115e89=await this[_0x407a86(0x296)][_0x407a86(0x1bf)](_0x29889b,this[_0x407a86(0x277)](_0x516c67),_0x17e367);if(this[_0x407a86(0x22c)]=_0x115e89[_0x407a86(0x22c)],_0x3c6056){if(!_0x115e89[_0x407a86(0x204)])return void this[_0x407a86(0x229)]();this[_0x407a86(0x1f8)]=!0x1,this[_0x407a86(0x1fb)](),this[_0x407a86(0x287)][_0x407a86(0x1ac)](),this[_0x407a86(0x2a9)]=_0x115e89[_0x407a86(0x24f)],this[_0x407a86(0x287)][_0x407a86(0x27e)]=this[_0x407a86(0x2a9)],await this[_0x407a86(0x20b)](_0x516c67,_0x115e89,_0x407a86(0x1ef));}else await this[_0x407a86(0x20f)](_0x115e89,_0x516c67);this[_0x407a86(0x1d4)](),this[_0x407a86(0x254)]=!0x0;}[_0x871a24(0x1d4)](){const _0x4930b2=_0x871a24,_0x512cb1=this[_0x4930b2(0x1ad)][_0x4930b2(0x1b6)][_0x4930b2(0x262)](_0x4673cc),_0x158d7c=this[_0x4930b2(0x1ad)][_0x4930b2(0x1b6)][_0x4930b2(0x262)](_0x2ee7b8),_0x105ecf=_0x512cb1[_0x4930b2(0x265)][_0x4930b2(0x262)](this[_0x4930b2(0x1e8)]);_0x105ecf&&_0x105ecf[_0x4930b2(0x233)]>0x1?_0x158d7c[_0x4930b2(0x22b)]():this[_0x4930b2(0x21c)](_0x512cb1,_0x4930b2(0x1a8)+this[_0x4930b2(0x1e8)],()=>{const _0x1cc914=_0x4930b2;0x2===_0x512cb1[_0x1cc914(0x265)][_0x1cc914(0x262)](this[_0x1cc914(0x1e8)])[_0x1cc914(0x233)]&&_0x158d7c[_0x1cc914(0x22b)]();});}async[_0x871a24(0x22d)](_0x4ba0ab,_0x1764b9,_0x29a3d5,_0x3aedf1){const _0x135fa7=_0x871a24;if(!this[_0x135fa7(0x1f8)]&&this[_0x135fa7(0x1d2)][_0x135fa7(0x27e)]==_0x1764b9){const _0x44618b=this[_0x135fa7(0x214)](_0x29a3d5,_0x3aedf1);await this[_0x135fa7(0x1b9)](_0x44618b),this[_0x135fa7(0x270)](_0x44618b,_0x1764b9,_0x29a3d5[_0x135fa7(0x1c4)])||this[_0x135fa7(0x1be)](_0x135fa7(0x1ff));}}async[_0x871a24(0x260)](){const _0xb6c545=_0x871a24;this[_0xb6c545(0x1f0)]();const {locale:_0xe9c237}=this[_0xb6c545(0x1ad)];let _0x3e3d93;try{_0x3e3d93=await this[_0xb6c545(0x296)][_0xb6c545(0x28c)]();}catch{const _0x121e38=_0x5efe23(_0xe9c237,_0xb6c545(0x21f));return void this[_0xb6c545(0x229)](_0x121e38);}const _0x11fcb2=_0x3e3d93[_0xb6c545(0x234)]||_0x3e3d93[_0xb6c545(0x209)];if(this[_0xb6c545(0x1f1)]!==_0x11fcb2[_0xb6c545(0x1c4)]){const _0x38b15f=_0x5efe23(_0xe9c237,_0xb6c545(0x29e));return void this[_0xb6c545(0x229)](_0x38b15f);}await this[_0xb6c545(0x28b)](this[_0xb6c545(0x1ad)][_0xb6c545(0x223)][_0xb6c545(0x24a)][_0xb6c545(0x205)][_0xb6c545(0x238)](),!0x0);}[_0x871a24(0x1f0)](){const _0x2f9d01=_0x871a24;this[_0x2f9d01(0x296)][_0x2f9d01(0x27a)](),this[_0x2f9d01(0x20c)]=[],clearTimeout(this[_0x2f9d01(0x2a1)]),this[_0x2f9d01(0x249)](this[_0x2f9d01(0x296)]);}[_0x871a24(0x240)](_0x2fc5ca){const _0x246b6f=_0x871a24,_0x449f0f=this[_0x246b6f(0x1ad)][_0x246b6f(0x1b6)][_0x246b6f(0x262)](_0x4673cc);this[_0x246b6f(0x21c)](_0x449f0f,_0x246b6f(0x1a8)+this[_0x246b6f(0x1e8)],(_0x3c950b,{session:_0x52f56c})=>{const _0x4b4a1b=_0x246b6f;if(_0x52f56c['id']===_0x449f0f[_0x4b4a1b(0x243)]){_0x3c950b[_0x4b4a1b(0x24e)]();const _0x2f7b4b=this[_0x4b4a1b(0x1ad)][_0x4b4a1b(0x1b6)][_0x4b4a1b(0x231)](_0x4b4a1b(0x1e5))&&this[_0x4b4a1b(0x1ad)][_0x4b4a1b(0x1b6)][_0x4b4a1b(0x262)](_0x4b4a1b(0x1e5));let _0x5b2f8d=_0x52f56c[_0x4b4a1b(0x27f)];_0x2f7b4b&&_0x2f7b4b[_0x4b4a1b(0x211)]&&(_0x5b2f8d=_0x5b2f8d[_0x4b4a1b(0x251)](_0x466f49=>_0x4b4a1b(0x1ab)!==_0x466f49)),this[_0x4b4a1b(0x1ad)][_0x4b4a1b(0x1b6)][_0x4b4a1b(0x262)](_0x4b4a1b(0x1c6))[_0x4b4a1b(0x220)](_0x5b2f8d,this[_0x4b4a1b(0x1e8)]);}}),_0x449f0f[_0x246b6f(0x200)](this[_0x246b6f(0x1e8)],_0x2fc5ca);}[_0x871a24(0x242)](){const _0x3389d2=_0x871a24,_0x4cc02d=this[_0x3389d2(0x1ad)][_0x3389d2(0x222)][_0x3389d2(0x239)];this[_0x3389d2(0x1ad)][_0x3389d2(0x222)][_0x3389d2(0x239)]=(..._0x94ca75)=>{const _0x3d6279=_0x3389d2;if(!_0x94ca75[_0x94ca75[_0x3d6279(0x233)]-0x1][_0x3d6279(0x1ec)])throw new _0x2c13c3(_0x3d6279(0x221),this);_0x4cc02d[_0x3d6279(0x1d6)](this[_0x3d6279(0x1ad)][_0x3d6279(0x222)],_0x94ca75);};}[_0x871a24(0x1e4)](){const _0x28a47c=_0x871a24;this[_0x28a47c(0x1ad)][_0x28a47c(0x222)]['on'](_0x28a47c(0x1ce),(_0x32ff13,[_0x37a79e])=>{const _0x14b0eb=_0x28a47c;if(this[_0x14b0eb(0x1d2)][_0x14b0eb(0x27e)])throw new _0x2c13c3(_0x14b0eb(0x2aa),this);_0x32ff13[_0x14b0eb(0x1b2)](),this[_0x14b0eb(0x1b3)]();const _0x539a6b=this[_0x14b0eb(0x1ad)][_0x14b0eb(0x291)][_0x14b0eb(0x262)](_0x14b0eb(0x297)),_0x15ab76=this[_0x14b0eb(0x276)](_0x37a79e,_0x539a6b);0x0==_0x15ab76[_0x14b0eb(0x233)]&&_0x15ab76[_0x14b0eb(0x256)](new _0x290d08(0x0)),_0x32ff13[_0x14b0eb(0x201)]=this[_0x14b0eb(0x28b)](_0x15ab76)[_0x14b0eb(0x21a)](()=>{const _0x107d60=_0x14b0eb;this[_0x107d60(0x1ad)][_0x107d60(0x1b6)][_0x107d60(0x262)](_0x534013)[_0x107d60(0x1df)](this),this[_0x107d60(0x1ad)][_0x107d60(0x222)][_0x107d60(0x1f2)](_0x107d60(0x25f));})[_0x14b0eb(0x213)](_0x1d9563=>this[_0x14b0eb(0x1be)](_0x14b0eb(0x1b8),_0x1d9563))[_0x14b0eb(0x1f9)](()=>this[_0x14b0eb(0x1fb)]());},{'priority':_0x28a47c(0x1cb)}),this[_0x28a47c(0x1ad)]['on'](_0x28a47c(0x1de),async(_0x504c1c,[_0x225b48,_0x41cd3d])=>{const _0x5e92ac=_0x28a47c;_0x504c1c[_0x5e92ac(0x1b2)]();const _0x56fa35=this[_0x5e92ac(0x1ad)][_0x5e92ac(0x223)][_0x5e92ac(0x24a)][_0x5e92ac(0x206)](_0x225b48);if(!this[_0x5e92ac(0x259)][_0x5e92ac(0x231)](_0x225b48)){const _0x1ba659=_0x41cd3d&&_0x41cd3d[_0x5e92ac(0x222)]?_0x41cd3d[_0x5e92ac(0x222)]:'',_0x48af94=_0x41cd3d&&_0x41cd3d[_0x5e92ac(0x295)]?_0x41cd3d[_0x5e92ac(0x295)]:{};await this[_0x5e92ac(0x22a)](_0x225b48,_0x1ba659,_0x48af94);}this[_0x5e92ac(0x1ad)][_0x5e92ac(0x223)][_0x5e92ac(0x2a4)]({'isUndoable':!0x1},()=>{const _0x47aebb=_0x5e92ac;_0x56fa35[_0x47aebb(0x1eb)]=!0x0,this[_0x47aebb(0x1ad)][_0x47aebb(0x223)][_0x47aebb(0x24a)][_0x47aebb(0x263)][_0x47aebb(0x236)](_0x56fa35);});},{'priority':_0x28a47c(0x1cb)});}async[_0x871a24(0x1b9)](_0x4cd2a5){const _0x331e7c=_0x871a24,_0x537b10=this[_0x331e7c(0x1ad)][_0x331e7c(0x1b6)][_0x331e7c(0x262)](_0x45e896),{connection:_0x2a37c0}=this[_0x331e7c(0x1ad)][_0x331e7c(0x1b6)][_0x331e7c(0x262)](_0x534013),_0x55c570=new Set();for(const _0x171ab1 of _0x4cd2a5){const _0x524962=_0x171ab1[_0x331e7c(0x286)];_0x524962&&!_0x537b10[_0x331e7c(0x274)](_0x524962)&&_0x55c570[_0x331e7c(0x1ee)](_0x524962);}if(0x0===_0x55c570[_0x331e7c(0x1bb)])return;const _0x1329ea=await _0x37047c[_0x331e7c(0x2a0)](_0x2a37c0,Array[_0x331e7c(0x1f5)](_0x55c570));for(const _0x16596c of _0x1329ea)_0x537b10[_0x331e7c(0x274)](_0x16596c['id'])||_0x537b10[_0x331e7c(0x28d)](_0x16596c);}[_0x871a24(0x276)](_0x422ce8,_0x4db5fd={}){const _0x42d649=_0x871a24,_0x4291cd=this[_0x42d649(0x1ad)][_0x42d649(0x223)],_0x1fb599=[];let _0x4dc656=0x0;const _0x242d33=_0x42d649(0x1fa)==typeof _0x422ce8?{'main':_0x422ce8}:_0x422ce8;for(const _0x7ae85b of Object[_0x42d649(0x207)](_0x242d33)){if(!this[_0x42d649(0x1d2)][_0x42d649(0x232)][_0x42d649(0x231)](_0x7ae85b))throw new _0x2c13c3(_0x42d649(0x23a),this);const _0x36d6b7=this[_0x42d649(0x1ad)][_0x42d649(0x222)][_0x42d649(0x1b0)](_0x242d33[_0x7ae85b]),_0x4e0705=this[_0x42d649(0x1d2)][_0x42d649(0x206)](_0x7ae85b),_0x100281=new _0x2be817(_0x4291cd[_0x42d649(0x290)](_0x4e0705,0x0),_0x36d6b7,_0x4dc656++);_0x1fb599[_0x42d649(0x256)](_0x100281);for(const [_0x465763,_0x23474f]of _0x36d6b7[_0x42d649(0x2a7)]){const _0xe3bfc1=_0x4291cd[_0x42d649(0x21e)](_0x4291cd[_0x42d649(0x26c)](_0x4e0705,_0x23474f[_0x42d649(0x219)][_0x42d649(0x1da)][_0x42d649(0x289)]()),_0x4291cd[_0x42d649(0x26c)](_0x4e0705,_0x23474f[_0x42d649(0x21b)][_0x42d649(0x1da)][_0x42d649(0x289)]())),_0x19cec5=new _0x1d1b48(_0x465763,null,_0xe3bfc1,_0x4291cd[_0x42d649(0x2a7)],!0x0,_0x4dc656++);_0x1fb599[_0x42d649(0x256)](_0x19cec5);}}if(_0x4db5fd)for(const [_0x21fc72,_0x45cbc1]of Object[_0x42d649(0x298)](_0x4db5fd)){const _0x5a9c56=_0x4291cd[_0x42d649(0x24a)][_0x42d649(0x206)](_0x21fc72);if(!_0x5a9c56)throw new _0x2c13c3(_0x42d649(0x1ba),null);for(const [_0x4264a1,_0xdb92c6]of Object[_0x42d649(0x298)](_0x45cbc1))if(null!==_0xdb92c6){const _0x713af5=new _0x77c3c7(_0x5a9c56,_0x4264a1,null,_0xdb92c6,_0x4dc656++);_0x1fb599[_0x42d649(0x256)](_0x713af5);}}return _0x1fb599;}async[_0x871a24(0x22a)](_0x3a8798,_0x467943,_0x13fdc1){const _0x367c60=_0x871a24;this[_0x367c60(0x276)]({[_0x3a8798]:_0x467943},{[_0x3a8798]:_0x13fdc1})[_0x367c60(0x2ab)]((_0x2518f2,_0x2c335e)=>{const _0x239855=_0x367c60;_0x2518f2[_0x239855(0x299)]=this[_0x239855(0x1d2)][_0x239855(0x27e)]+_0x2c335e,_0x2518f2[_0x239855(0x227)]=!0x0,this[_0x239855(0x288)](_0x2518f2);}),this[_0x367c60(0x1d3)](),await this[_0x367c60(0x244)]();}async[_0x871a24(0x20f)](_0x176da0,_0x30b370){const _0x4bf423=_0x871a24;let _0x4d6ef6;this[_0x4bf423(0x2a9)]=_0x176da0[_0x4bf423(0x24f)];const _0x3c2426=_0x176da0[_0x4bf423(0x204)]&&!_0x176da0[_0x4bf423(0x1c5)],_0x2b6fdc=_0x3c2426?0x0:_0x176da0[_0x4bf423(0x222)][_0x4bf423(0x299)];if(_0x30b370[_0x4bf423(0x2ab)](_0x5760ec=>{const _0x3b62e3=_0x4bf423;_0x5760ec[_0x3b62e3(0x227)]=!0x0,_0x5760ec[_0x3b62e3(0x26e)]=_0x176da0[_0x3b62e3(0x273)],_0x5760ec[_0x3b62e3(0x286)]=null;}),_0x3c2426)_0x4d6ef6=_0x30b370,this[_0x4bf423(0x1e0)](_0x4d6ef6,_0x3c2426);else{if(_0x176da0[_0x4bf423(0x1c5)]){const _0x822101=this[_0x4bf423(0x276)](_0x176da0[_0x4bf423(0x1c5)]);this[_0x4bf423(0x1d2)][_0x4bf423(0x205)][_0x4bf423(0x27e)]=-_0x822101[_0x4bf423(0x233)],_0x822101[_0x4bf423(0x2ab)](_0x13d8d8=>{const _0x47319b=_0x4bf423;_0x13d8d8[_0x47319b(0x299)]-=_0x822101[_0x47319b(0x233)],_0x13d8d8[_0x47319b(0x26e)]=_0x176da0[_0x47319b(0x273)],_0x13d8d8[_0x47319b(0x227)]=!0x0,_0x13d8d8[_0x47319b(0x286)]=null;}),this[_0x4bf423(0x1e0)](_0x822101,!0x0),this[_0x4bf423(0x287)][_0x4bf423(0x27e)]=-_0x822101[_0x4bf423(0x233)]+this[_0x4bf423(0x2a9)],this[_0x4bf423(0x23d)](_0x822101);}this[_0x4bf423(0x1d2)][_0x4bf423(0x205)][_0x4bf423(0x27e)]=_0x2b6fdc,_0x4d6ef6=this[_0x4bf423(0x214)](_0x176da0[_0x4bf423(0x222)],_0x176da0[_0x4bf423(0x24d)]),await this[_0x4bf423(0x1b9)](_0x4d6ef6),this[_0x4bf423(0x1e0)](_0x4d6ef6,_0x3c2426);}_0x176da0[_0x4bf423(0x1c4)]&&(this[_0x4bf423(0x293)][_0x4bf423(0x2a6)](_0x4d6ef6,_0x176da0[_0x4bf423(0x1c4)]),this[_0x4bf423(0x1f1)]=_0x176da0[_0x4bf423(0x1c4)]),this[_0x4bf423(0x287)][_0x4bf423(0x27e)]=_0x2b6fdc+this[_0x4bf423(0x2a9)],this[_0x4bf423(0x23d)](_0x4d6ef6),_0x30b370[_0x4bf423(0x251)](_0x26a18e=>{const _0x5012d2=_0x4bf423,_0x25978b=this[_0x5012d2(0x1db)](_0x26a18e);return _0x25978b&&!this[_0x5012d2(0x259)][_0x5012d2(0x231)](_0x25978b);})[_0x4bf423(0x2ab)]((_0x326e8f,_0xea95ef)=>{const _0x150d71=_0x4bf423;_0x326e8f[_0x150d71(0x299)]=this[_0x150d71(0x1d2)][_0x150d71(0x27e)]+_0xea95ef,this[_0x150d71(0x288)](_0x326e8f);}),this[_0x4bf423(0x1e1)]()?(this[_0x4bf423(0x226)]=0x0,this[_0x4bf423(0x1d3)](!0x0),await this[_0x4bf423(0x244)]()):(this[_0x4bf423(0x1f8)]=!0x1,this[_0x4bf423(0x1fb)]());}[_0x871a24(0x1be)](_0x35f434,_0x5ed0e9){const _0x2956e9=_0x871a24,_0x2a1e35=_0x5ed0e9&&_0x5ed0e9[_0x2956e9(0x29d)];if(_0x2a1e35&&_0x2a1e35[_0x2956e9(0x237)](_0x2956e9(0x1af)))throw _0x5ed0e9;const _0x1e61f2=this[_0x2956e9(0x1ad)][_0x2956e9(0x1b6)][_0x2956e9(0x262)](_0x534013);throw this[_0x2956e9(0x1f8)]=!0x0,_0x1e61f2[_0x2956e9(0x27a)](),this[_0x2956e9(0x1ad)][_0x2956e9(0x253)](_0x2956e9(0x212)),new _0x2c13c3(_0x35f434,this[_0x2956e9(0x1ad)],_0x2a1e35?{'originalError':_0x2a1e35}:void 0x0);}[_0x871a24(0x288)](_0x2970cd){const _0x370633=_0x871a24;this[_0x370633(0x225)][_0x370633(0x231)](_0x2970cd)||(this[_0x370633(0x225)][_0x370633(0x1ee)](_0x2970cd),this[_0x370633(0x20c)][_0x370633(0x256)](_0x2970cd),this[_0x370633(0x23e)]||_0x370633(0x216)==_0x2970cd[_0x370633(0x25a)]&&!_0x2970cd[_0x370633(0x264)]||this[_0x370633(0x1b3)]());}[_0x871a24(0x1d3)](_0x32510b=!0x1){const _0x500592=_0x871a24;!_0x32510b&&this[_0x500592(0x1f8)]||(this[_0x500592(0x1f8)]=!0x0,clearTimeout(this[_0x500592(0x2a1)]),this[_0x500592(0x2a1)]=setTimeout(()=>{const _0x2b7242=_0x500592;this[_0x2b7242(0x27d)]()[_0x2b7242(0x21a)](_0x5b7248=>{const _0xd7002d=_0x2b7242;_0x5b7248&&(this[_0xd7002d(0x1fb)](),this[_0xd7002d(0x1f8)]=!0x1);})[_0x2b7242(0x213)](_0x9eeecb=>{const _0x2c3140=_0x2b7242;this[_0x2c3140(0x1fb)](),this[_0x2c3140(0x1f8)]=!0x1,function(_0x1a21dd){const _0x325df0=_0x2c3140;return _0x1a21dd[_0x325df0(0x29d)][_0x325df0(0x237)](_0x325df0(0x250))||_0x1a21dd[_0x325df0(0x29d)][_0x325df0(0x237)](_0x325df0(0x1c1))||_0x1a21dd[_0x325df0(0x29d)][_0x325df0(0x237)](_0x325df0(0x1bd));}(_0x9eeecb)||this[_0x2c3140(0x1be)](_0x9eeecb[_0x2c3140(0x29d)],_0x9eeecb);});},this[_0x500592(0x226)]));}[_0x871a24(0x244)](){return new Promise(_0x64d34c=>{const _0x34d51c=_0x716e;this['on'](_0x34d51c(0x1e2),()=>{_0x64d34c();});});}async[_0x871a24(0x27d)](){const _0x352496=_0x871a24,_0x421c4e=this[_0x352496(0x1ad)][_0x352496(0x1b6)][_0x352496(0x262)](_0x2ee7b8);if(this[_0x352496(0x27c)]()&&(_0x421c4e[_0x352496(0x22b)](),this[_0x352496(0x25b)]=!0x1),!this[_0x352496(0x1e1)]())return!0x0;const _0x5b48bc=[...this[_0x352496(0x20c)]];for(const _0x5736b1 of _0x5b48bc)_0x5736b1[_0x352496(0x1f3)]=this[_0x352496(0x1d2)][_0x352496(0x205)][_0x352496(0x28a)](_0x5736b1);const _0x2fc3f2=this[_0x352496(0x293)][_0x352496(0x1ca)](_0x5b48bc),_0x23bf65=G++,_0xd7365d=this[_0x352496(0x277)](_0x5b48bc),_0x16b9ce=await this[_0x352496(0x296)][_0x352496(0x2ac)](_0xd7365d,_0xd7365d[_0x352496(0x299)],_0x2fc3f2);try{return await this[_0x352496(0x20b)](_0x5b48bc,_0x16b9ce,_0x23bf65);}catch(_0x3ac05d){return this[_0x352496(0x1be)](_0x352496(0x275),_0x3ac05d);}}async[_0x871a24(0x20b)](_0x44d56e,_0x171e8d,_0x3a12d9){const _0x5c9808=_0x871a24;if(_0x5c9808(0x1c7)in _0x171e8d)throw _0x171e8d[_0x5c9808(0x1c7)];let _0x2ab5ea=!0x1;if(_0x171e8d[_0x5c9808(0x204)]){_0x171e8d[_0x5c9808(0x1c4)]&&(this[_0x5c9808(0x1f1)]=_0x171e8d[_0x5c9808(0x1c4)]),this[_0x5c9808(0x20c)]=this[_0x5c9808(0x20c)][_0x5c9808(0x251)](_0x4263f7=>!_0x44d56e[_0x5c9808(0x269)](_0x4263f7));for(const _0x595040 of _0x44d56e)_0x595040[_0x5c9808(0x26e)]=_0x5c9808(0x24c)in _0x171e8d&&_0x171e8d[_0x5c9808(0x24c)]||void 0x0;K(_0x44d56e,_0x171e8d[_0x5c9808(0x27e)]-_0x44d56e[_0x5c9808(0x233)]),this[_0x5c9808(0x23d)](_0x44d56e);const _0x5e23f0=_0x44d56e[_0x5c9808(0x251)](_0x47af75=>{const _0x3ab45f=_0x5c9808;if(!_0x47af75[_0x3ab45f(0x227)])return!0x1;const _0x37da29=this[_0x3ab45f(0x1db)](_0x47af75);return _0x37da29&&!this[_0x3ab45f(0x259)][_0x3ab45f(0x231)](_0x37da29);});K(_0x5e23f0,this[_0x5c9808(0x1d2)][_0x5c9808(0x27e)]),this[_0x5c9808(0x1e0)](_0x5e23f0),_0x2ab5ea=!0x0,this[_0x5c9808(0x226)]=this[_0x5c9808(0x258)];}else{const _0x1926cf=this[_0x5c9808(0x214)](_0x171e8d[_0x5c9808(0x222)],_0x171e8d[_0x5c9808(0x24d)])[_0x5c9808(0x251)](_0x12fe4f=>_0x12fe4f[_0x5c9808(0x299)]>=this[_0x5c9808(0x1c3)]);_0x1926cf[_0x5c9808(0x2ab)](_0x62a4ec=>this[_0x5c9808(0x1e7)](_0x62a4ec)),this[_0x5c9808(0x20c)]=this[_0x5c9808(0x20c)][_0x5c9808(0x251)](_0x328d22=>!_0x328d22[_0x5c9808(0x227)]||!this[_0x5c9808(0x259)][_0x5c9808(0x231)](this[_0x5c9808(0x1db)](_0x328d22))),this[_0x5c9808(0x20c)][_0x5c9808(0x233)]&&K(this[_0x5c9808(0x20c)],this[_0x5c9808(0x20c)][0x0][_0x5c9808(0x299)]),await this[_0x5c9808(0x1b9)](_0x1926cf),_0x2ab5ea=this[_0x5c9808(0x270)](_0x1926cf,_0x171e8d[_0x5c9808(0x27e)],_0x171e8d[_0x5c9808(0x1c4)]),this[_0x5c9808(0x226)]=Math[_0x5c9808(0x20d)](this[_0x5c9808(0x226)]/0x2);}return _0x2ab5ea?!this[_0x5c9808(0x1e1)]()||(this[_0x5c9808(0x1d3)](!0x0),!0x1):this[_0x5c9808(0x1be)](_0x5c9808(0x1f6));}[_0x871a24(0x270)](_0x5761b4,_0x43d1a1,_0x319e26){const _0x5a6bab=_0x871a24;try{const _0x444dff={'document':this[_0x5a6bab(0x1d2)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1f4bcd,operationsB:_0x5aa56f,originalOperations:_0x539b33}=_0x51d210(_0x5761b4,this[_0x5a6bab(0x20c)],_0x444dff);K(_0x1f4bcd,this[_0x5a6bab(0x1d2)][_0x5a6bab(0x27e)]),K(_0x5aa56f,_0x43d1a1);for(const _0x1b01b9 of _0x1f4bcd){const _0x5bc49f=_0x539b33[_0x5a6bab(0x262)](_0x1b01b9);_0x1b01b9[_0x5a6bab(0x286)]=_0x5bc49f?_0x5bc49f[_0x5a6bab(0x286)]:null;}_0x319e26&&(this[_0x5a6bab(0x293)][_0x5a6bab(0x2a6)](_0x5761b4,_0x319e26),this[_0x5a6bab(0x1f1)]=_0x319e26),this[_0x5a6bab(0x20c)]=[..._0x5aa56f],this[_0x5a6bab(0x1e0)](_0x1f4bcd),this[_0x5a6bab(0x23d)](_0x5761b4);}catch(_0x202d42){return console[_0x5a6bab(0x1c7)](_0x202d42),!0x1;}return!0x0;}[_0x871a24(0x1e0)](_0x5eb712,_0x577ba1=!0x1){const _0x3f738e=_0x871a24;this[_0x3f738e(0x1ad)][_0x3f738e(0x223)][_0x3f738e(0x2a4)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4a658b=>{const _0x2b8381=_0x3f738e;for(const _0x5baccf of _0x5eb712)this[_0x2b8381(0x225)][_0x2b8381(0x1ee)](_0x5baccf),this[_0x2b8381(0x1e7)](_0x5baccf),_0x4a658b[_0x2b8381(0x26f)][_0x2b8381(0x248)](_0x5baccf),this[_0x2b8381(0x1ad)][_0x2b8381(0x223)][_0x2b8381(0x257)](_0x5baccf);});}[_0x871a24(0x1e7)](_0x343543){const _0x563a96=_0x871a24,_0x437fd6=this[_0x563a96(0x1db)](_0x343543);_0x437fd6&&this[_0x563a96(0x259)][_0x563a96(0x1ee)](_0x437fd6);}[_0x871a24(0x1db)](_0x5edc9b){const _0x5b9151=_0x871a24;let _0x275801,_0x1e4a22;switch(_0x5edc9b[_0x5b9151(0x25a)]){case _0x5b9151(0x2a5):_0x275801=_0x5edc9b[_0x5b9151(0x21d)][_0x5b9151(0x1dd)];break;case _0x5b9151(0x216):if(_0x1e4a22=_0x5edc9b[_0x5b9151(0x1dc)],!_0x1e4a22)return null;_0x275801=_0x1e4a22[_0x5b9151(0x1dd)];break;case _0x5b9151(0x1e6):_0x275801=_0x5edc9b[_0x5b9151(0x1dd)];break;case _0x5b9151(0x215):_0x275801=_0x5edc9b[_0x5b9151(0x23b)];break;case _0x5b9151(0x272):_0x275801=_0x5edc9b[_0x5b9151(0x1b1)][_0x5b9151(0x1dd)];break;default:return null;}return _0x275801[_0x5b9151(0x245)];}[_0x871a24(0x23d)](_0xc6ce5e){const _0x215364=_0x871a24;_0xc6ce5e[_0x215364(0x2ab)](_0x45b376=>{const _0x2a70b6=_0x215364,_0x44b517=_0x45b376[_0x2a70b6(0x1e3)]();_0x44b517[_0x2a70b6(0x286)]=_0x45b376[_0x2a70b6(0x286)],_0x44b517[_0x2a70b6(0x227)]=!!_0x45b376[_0x2a70b6(0x227)],_0x44b517[_0x2a70b6(0x26e)]=_0x45b376[_0x2a70b6(0x26e)],_0x44b517[_0x2a70b6(0x299)]+=this[_0x2a70b6(0x2a9)],_0x45b376[_0x2a70b6(0x1b5)]&&this[_0x2a70b6(0x26b)][_0x2a70b6(0x1ee)](_0x44b517),this[_0x2a70b6(0x287)][_0x2a70b6(0x248)](_0x44b517);});}[_0x871a24(0x229)](_0xcceb8f){const _0x422d43=_0x871a24,_0x430cc1=this[_0x422d43(0x1ad)][_0x422d43(0x1b6)][_0x422d43(0x262)](_0x422d43(0x230)),_0x5a0ef8=this[_0x422d43(0x1ad)][_0x422d43(0x20e)];_0xcceb8f||(_0xcceb8f=_0x5efe23(_0x5a0ef8,_0x422d43(0x2a3))),_0x430cc1[_0x422d43(0x1e9)](_0xcceb8f,{'title':_0x5efe23(_0x5a0ef8,_0x422d43(0x283)),'namespace':_0x422d43(0x247)}),this[_0x422d43(0x1a9)]=!0x0,clearTimeout(this[_0x422d43(0x2a1)]),this[_0x422d43(0x20c)]=[],this[_0x422d43(0x1ad)][_0x422d43(0x1b6)][_0x422d43(0x262)](_0x534013)[_0x422d43(0x27a)]();}[_0x871a24(0x1b3)](){const _0x234cb8=_0x871a24;this[_0x234cb8(0x23e)]||(this[_0x234cb8(0x23e)]=this[_0x234cb8(0x1ad)][_0x234cb8(0x1b6)][_0x234cb8(0x262)](_0x5595c2)[_0x234cb8(0x1ee)](_0x5efe23(this[_0x234cb8(0x1ad)][_0x234cb8(0x20e)],_0x234cb8(0x1d0))));}[_0x871a24(0x1fb)](){const _0xef095=_0x871a24;this[_0xef095(0x23e)]&&(this[_0xef095(0x1ad)][_0xef095(0x1b6)][_0xef095(0x262)](_0x5595c2)[_0xef095(0x1c9)](this[_0xef095(0x23e)]),this[_0xef095(0x23e)]=null);}[_0x871a24(0x277)](_0x27225b){const _0x21d94a=_0x871a24,_0x39c0cb=_0x27225b[_0x21d94a(0x28f)](_0x7b9eef=>_0x7b9eef[_0x21d94a(0x1b4)]());return this[_0x21d94a(0x29f)][_0x21d94a(0x1cc)](_0x39c0cb);}[_0x871a24(0x214)](_0x38ee06,_0x4921bd){const _0x41e2e6=_0x871a24;return this[_0x41e2e6(0x29f)][_0x41e2e6(0x1bc)](_0x38ee06)[_0x41e2e6(0x28f)]((_0x20543d,_0x729e04)=>{const _0x158a69=_0x41e2e6,_0x5092d7=_0x158a69(0x1ce)==_0x4921bd[_0x729e04][_0x158a69(0x25a)];if(_0x158a69(0x1cd)==_0x20543d[_0x158a69(0x28e)]){const _0xa989f1=_0x20543d[_0x158a69(0x21d)][_0x158a69(0x1dd)];!this[_0x158a69(0x1d2)][_0x158a69(0x206)](_0xa989f1)&&(this[_0x158a69(0x1d2)][_0x158a69(0x1c0)](_0x158a69(0x22e),_0xa989f1)[_0x158a69(0x285)]=!0x1);}const _0x35517f=_0x1157e7[_0x158a69(0x261)](_0x20543d,this[_0x158a69(0x1d2)]);return _0x35517f[_0x158a69(0x1f3)]=_0x20543d[_0x158a69(0x1f3)],_0x35517f[_0x158a69(0x227)]=_0x5092d7,_0x35517f[_0x158a69(0x286)]=_0x5092d7?null:_0x4921bd[_0x729e04][_0x158a69(0x1ea)],_0x35517f[_0x158a69(0x1b5)]=_0x158a69(0x280)===_0x4921bd[_0x729e04][_0x158a69(0x25a)],_0x35517f[_0x158a69(0x26e)]=_0x4921bd[_0x729e04][_0x158a69(0x26e)],_0x35517f;});}[_0x871a24(0x1d9)](){const _0x456f57=_0x871a24;this[_0x456f57(0x25b)]=!0x0,this[_0x456f57(0x27c)]()?this[_0x456f57(0x1d3)]():this[_0x456f57(0x25b)]=!0x1;}[_0x871a24(0x27c)](){const _0x5052f8=_0x871a24,_0xcc60ae=this[_0x5052f8(0x1ad)][_0x5052f8(0x1b6)][_0x5052f8(0x262)](_0x4673cc)[_0x5052f8(0x265)][_0x5052f8(0x262)](this[_0x5052f8(0x1e8)]);return!this[_0x5052f8(0x1ad)][_0x5052f8(0x22f)]&&!!_0xcc60ae&&_0xcc60ae[_0x5052f8(0x233)]>0x1&&this[_0x5052f8(0x25b)];}[_0x871a24(0x1e1)](){const _0x16e58e=_0x871a24;return this[_0x16e58e(0x20c)][_0x16e58e(0x233)]>0x0||this[_0x16e58e(0x27c)]();}}class $ extends Error{}function K(_0x887b06,_0x1700bf){const _0x3ca6e0=_0x871a24;for(const _0x472910 of _0x887b06)_0x472910[_0x3ca6e0(0x299)]=_0x1700bf++;}class J{[_0x871a24(0x24b)];[_0x871a24(0x25e)];constructor(_0x49a08e){const _0x8e7baf=_0x871a24;this[_0x8e7baf(0x24b)]=_0x49a08e,this[_0x8e7baf(0x25e)]=new WeakMap();}[_0x871a24(0x1ca)](_0x523b23){const _0x4ba894=_0x871a24;let _0xf6893d=_0x523b23[_0x4ba894(0x233)];for(;_0xf6893d--;){const _0x1e5813=_0x523b23[_0xf6893d];if(!this[_0x4ba894(0x24b)][_0x4ba894(0x231)](_0x1e5813)){if(!this[_0x4ba894(0x25e)][_0x4ba894(0x231)](_0x1e5813)){const _0x4ada2c=_0x4c4926()[_0x4ba894(0x289)](0x1,0x12);this[_0x4ba894(0x25e)][_0x4ba894(0x239)](_0x1e5813,_0x4ada2c);}return this[_0x4ba894(0x25e)][_0x4ba894(0x262)](_0x1e5813);}}}[_0x871a24(0x2a6)](_0xa12be9,_0xab4bd4){const _0xac3fef=_0x871a24;if(!_0xab4bd4)return;let _0x52e902=_0xa12be9[_0xac3fef(0x233)];for(;_0x52e902--;){const _0x12e1d3=_0xa12be9[_0x52e902];this[_0xac3fef(0x24b)][_0xac3fef(0x231)](_0x12e1d3)||this[_0xac3fef(0x25e)][_0xac3fef(0x239)](_0x12e1d3,_0xab4bd4);}}}
23
+ const _0x590804=_0x3fe2;(function(_0x4a283a,_0x5b07c9){const _0x5b5650=_0x3fe2,_0x415190=_0x4a283a();while(!![]){try{const _0x3b7493=-parseInt(_0x5b5650(0x16b))/0x1+parseInt(_0x5b5650(0x1a3))/0x2+-parseInt(_0x5b5650(0x149))/0x3*(parseInt(_0x5b5650(0x1fc))/0x4)+-parseInt(_0x5b5650(0x144))/0x5+-parseInt(_0x5b5650(0x1ea))/0x6*(-parseInt(_0x5b5650(0x135))/0x7)+parseInt(_0x5b5650(0x1a9))/0x8+-parseInt(_0x5b5650(0x18e))/0x9*(-parseInt(_0x5b5650(0x1c5))/0xa);if(_0x3b7493===_0x5b07c9)break;else _0x415190['push'](_0x415190['shift']());}catch(_0x19c3aa){_0x415190['push'](_0x415190['shift']());}}}(_0x2b74,0x2a99a));import{Plugin as _0xae537,PendingActions as _0x49a0ed}from'ckeditor5/src/core.js';import{CKEditorError as _0x1bac0b,version as _0x389919,uid as _0x30271c}from'ckeditor5/src/utils.js';import{Notification as _0x2a6059}from'ckeditor5/src/ui.js';function _0x2b74(){const _0x3d92be=['_offset','addRoot','addToReconnectionStack','root','init','path','_isPendingUpdate','start','_shouldSendSelectionUpdate','createRoot','_sendBufferedOperations','isOfficialPlugin','createPositionFromPath','_crash','removeFromReconnectionStack','3260dpOaYU','lastDocumentSession','setIdForTheLastOperation','_addKnownRoot','fire','_fetchMissingUsers','cs:removeUser','connect','collaboration.channelId','locale','_operationIdentifier','realtimecollaborationclient-init-service-incorrect-server-operation','showWarning','permissions','__className','_updateServerHistory','config','_saveOperationInBuffer','model','directChange','_operationToId','affectedSelectable','createUserMarkerOperations','listenTo','_handleServerResponse','_disconnectionOperations','_sendBufferedOperationsDelayId','message','_ignoredOperations','includes','document','enableReadOnlyMode','connected','Permissions','isEnabled','getConnectedSessions','finally','111252FZhlXj','history','marker','getOperationAuthor','_bufferRootLoad','PENDING_ACTION_SENDING_DATA','lastOperationId','$root','markers','return','sessionId','_currentBufferDelay','lastOperationAcceptedAt','createdAt','then','applyOperation','_handleReconnectionResponse','move','2216zzMAss','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.','affectsData','addOperation','operationsReceived','keys','clone','map','offset','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_setUpDataInit','stopListening','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.','multi-root-editor-root-attributes-no-root','parse','enqueueChange','newRange','addUser','toJSON','realtimecollaborationclient-init-non-existent-root','off','string','get','round','_lastServerVersion','suppressErrorInCollaboration','apply','change:hasDomSelection','connection','batch','_refreshUserSelectionMarkers','InsertOperation','collaboration','_waitUntilSynced','pluginName','CommentsOnly','_handleInitialConnectionData','view','_handleReceivedOperations','_authorId','loadRoot','_lastSyncedOperationId','lastSyncVersion','_handleReconnectionError','push','rtc-offline','cloudServices.bundleVersion','editor','_isAttached','real-time-collaboration','realtimecollaborationclient-init-session-connection-error','getOperations','set','_getOperationsFromInitData','roots','size','reset','_bufferedOperations','_isEditingAllowed','realtimecollaborationclient-init-document-already-initialized','insert','createRange','getRoot','119TbhShY','requires','realtimecollaborationclient','slice','catch','state','Notification','_baseBufferDelay','addRootAttribute','_isConnected','wasUndone','length','baseVersion','realtimecollaborationclient-init-service-internal-error','document:write','1597805ZDPCqn','_isInit','_handleSendingSelectionMarkers','sendOperations','_service','840RbYBGo','_isLoaded','userId','fromJSON','_compressor','isDocumentOperation','channelSessions','_handleExternalOperations','unregister','getUser','createPositionAt','reconnect','_getAffectedRoot','_document','isPremiumPlugin','cloud-services-internal-error:\x20Not\x20connected.','_loadRoot','_knownRootNames','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','realtimecollaborationclient-handleserverresponse','_hasSynchronizationProblem','_shouldSendUpdate','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','plugins','_initSessionsHandling','forEach','reconnection:\x20flushed\x20session','RealTimeCollaborationClient','stop','_isDisconnection','cloudDocumentVersion','startsWith','metadata','serverHistory','340495UQXjXH','from','differ','realtimecollaborationclient-sendbufferedoperations','_pendingAction','filter','sessionCreatedAt','realtimecollaborationclient-error','has','bind','high','initData','mySessionId','add','realtimecollaborationclient-init-connection-failed','CollaborativeEditingService','error','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','editing','_clearPendingAction','_knownOperations','_initThrowingOnDataSet','selection','rootName','_connectService','compress','attributes','_decompressOperations','rootsAttributes','wereChangesApplied','_disconnectService','sessionAdd:','_connectAfterSessionHasBeenFlushed','disconnected','_compressOperations','7758cxKYWz','decompress','version','change:_isPendingUpdate','disableReadOnlyMode','409','register','change:range','change:_isEditingAllowed','_channelId','getMany','destroy','remove','currentDocumentSession','rtc-destroyed','_sendBufferedOperationsDelayed','type','setPermissions','disconnect','entries','ready','512086xOEEkw','_hasSelectionChanged','code','isUndoneOperation','data','cloud-services-internal-error:\x20Request\x20timeout.','1099176piBVFD','_setPendingAction','define','end','getDocumentDetails','collaboration-missing-channelid','_applyOperationsSet','getIdOfTheLastOperation','targetPosition','position','Synchronization\x20issue','isReadOnly','404'];_0x2b74=function(){return _0x3d92be;};return _0x2b74();}import{transformOperationSets as _0x35f1db,NoOperation as _0x1125de,InsertOperation as _0x4953d9,MarkerOperation as _0x4b8200,RootAttributeOperation as _0x17c96e,OperationFactory as _0x35c5f8,History as _0x32dcfb}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1edf6e}from'./websocketgateway.js';import{Sessions as _0xeca481}from'./sessions.js';import{UserMarkers as _0xa483d3}from'./usermarkers.js';import{getTranslation as _0x59d0a9}from'../common-translations.js';import{Compressor as _0x1cfd92}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2dabef}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2a10b0,CollaborativeEditingService as _0x692b6a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let $=0x1;function _0x3fe2(_0x1a4f8c,_0x3ba2fa){const _0x2b744f=_0x2b74();return _0x3fe2=function(_0x3fe283,_0x5d6bbf){_0x3fe283=_0x3fe283-0x102;let _0x169b62=_0x2b744f[_0x3fe283];return _0x169b62;},_0x3fe2(_0x1a4f8c,_0x3ba2fa);}export class RealTimeCollaborationClient extends _0xae537{static [_0x590804(0x17a)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x692b6a)());[_0x590804(0x1b6)];[_0x590804(0x1f4)];[_0x590804(0x16a)];[_0x590804(0x197)];[_0x590804(0x148)];[_0x590804(0x156)];[_0x590804(0x14d)];[_0x590804(0x12f)];[_0x590804(0x17f)];[_0x590804(0x15a)];[_0x590804(0x16f)];[_0x590804(0x1a4)];[_0x590804(0x1df)];[_0x590804(0x13c)];[_0x590804(0x1f5)];[_0x590804(0x11f)];[_0x590804(0x1de)];[_0x590804(0x1cf)];static get[_0x590804(0x136)](){return[_0x1edf6e,_0xeca481,_0xa483d3,_0x49a0ed,_0x2dabef,_0x2a6059];}static get[_0x590804(0x118)](){const _0x35e37c=_0x590804;return _0x35e37c(0x164);}static get[_0x590804(0x1c1)](){return!0x0;}static get[_0x590804(0x157)](){return!0x0;}get[_0x590804(0x167)](){const _0x19e900=_0x590804;return this[_0x19e900(0x10e)]+this[_0x19e900(0x1b6)];}get[_0x590804(0x10e)](){const _0x16732d=_0x590804;return this[_0x16732d(0x16a)][_0x16732d(0x190)]-this[_0x16732d(0x1b6)];}get[_0x590804(0x120)](){const _0x578248=_0x590804,_0x4a338a=this[_0x578248(0x16a)][_0x578248(0x129)]();for(let _0x2ce4ce=_0x4a338a[_0x578248(0x140)]-0x1;_0x2ce4ce>=0x0;_0x2ce4ce--){const _0x3fa6ef=_0x4a338a[_0x2ce4ce];if(!this[_0x578248(0x1de)][_0x578248(0x173)](_0x3fa6ef))return _0x3fa6ef[_0x578248(0x141)]+0x1-this[_0x578248(0x1b6)];}return 0x0;}constructor(_0x63c3ea){const _0x29a79a=_0x590804;if(super(_0x63c3ea),this[_0x29a79a(0x1b6)]=0x0,this[_0x29a79a(0x1f4)]=null,this[_0x29a79a(0x16a)]=new _0x32dcfb(),this[_0x29a79a(0x125)][_0x29a79a(0x1d5)][_0x29a79a(0x1ab)](_0x29a79a(0x116),{}),this[_0x29a79a(0x197)]=this[_0x29a79a(0x125)][_0x29a79a(0x1d5)][_0x29a79a(0x10c)](_0x29a79a(0x1cd)),!this[_0x29a79a(0x197)])throw new _0x1bac0b(_0x29a79a(0x1ae),this);const _0x56f147=_0x63c3ea[_0x29a79a(0x1d5)][_0x29a79a(0x10c)](_0x29a79a(0x124))||_0x389919;this[_0x29a79a(0x148)]=new RealTimeCollaborationClient[(_0x29a79a(0x17a))](_0x56f147,this[_0x29a79a(0x197)]),this[_0x29a79a(0x156)]=this[_0x29a79a(0x125)][_0x29a79a(0x1d7)][_0x29a79a(0x1e3)],this[_0x29a79a(0x14d)]=new _0x1cfd92(),this[_0x29a79a(0x12f)]=[],this[_0x29a79a(0x17f)]=new WeakSet(),this[_0x29a79a(0x15a)]=new Set(),this[_0x29a79a(0x12a)](_0x29a79a(0x1bc),!0x1),this[_0x29a79a(0x12a)](_0x29a79a(0x15d),!0x1),this[_0x29a79a(0x16f)]=null,this[_0x29a79a(0x1a4)]=!0x1,this[_0x29a79a(0x1df)]=null,this[_0x29a79a(0x13c)]=0x12c,this[_0x29a79a(0x1f5)]=this[_0x29a79a(0x13c)],this[_0x29a79a(0x11f)]=null,this[_0x29a79a(0x1de)]=new WeakSet(),this[_0x29a79a(0x1cf)]=new Q(this[_0x29a79a(0x1de)]);}[_0x590804(0x1ba)](){const _0x52a63f=_0x590804,_0x3b678e=this[_0x52a63f(0x125)],_0x43f254=_0x3b678e[_0x52a63f(0x160)][_0x52a63f(0x10c)](_0x2dabef),_0x5d74fb=_0x3b678e[_0x52a63f(0x160)][_0x52a63f(0x10c)](_0x1edf6e);this[_0x52a63f(0x1dc)](_0x43f254,_0x52a63f(0x1ed),(_0x5be822,_0x1dae5f)=>{const _0x399914=_0x52a63f,_0xe1ac98=_0x1dae5f[0x0];_0xe1ac98[_0x399914(0x11d)]&&(_0x5be822[_0x399914(0x1f3)]=_0x43f254[_0x399914(0x152)](_0xe1ac98[_0x399914(0x11d)]),_0x5be822[_0x399914(0x165)]()),null===_0xe1ac98[_0x399914(0x11d)]&&(_0x5be822[_0x399914(0x1f3)]=null,_0x5be822[_0x399914(0x165)]());},{'priority':_0x52a63f(0x175)}),this[_0x52a63f(0x1dc)](_0x3b678e[_0x52a63f(0x1d7)][_0x52a63f(0x1e3)][_0x52a63f(0x181)],_0x52a63f(0x195),(_0x2e9d0a,_0x4ebb8e)=>{const _0x48220d=_0x52a63f;_0x4ebb8e[_0x48220d(0x1d8)]&&this[_0x48220d(0x114)]();}),this[_0x52a63f(0x1dc)](_0x3b678e[_0x52a63f(0x17d)][_0x52a63f(0x11b)],_0x52a63f(0x111),()=>{const _0x284ed0=_0x52a63f;this[_0x284ed0(0x114)]();}),this[_0x52a63f(0x180)](),_0x3b678e[_0x52a63f(0x1d7)]['on'](_0x52a63f(0x1f9),(_0x19112d,_0x90da9)=>{const _0x186cf9=_0x52a63f,_0x2ee087=_0x90da9[0x0];_0x2ee087[_0x186cf9(0x14e)]&&(this[_0x186cf9(0x1d6)](_0x2ee087),this[_0x186cf9(0x15e)]()&&this[_0x186cf9(0x19d)]());}),this[_0x52a63f(0x206)](),this[_0x52a63f(0x174)](_0x52a63f(0x130))['to'](_0x5d74fb,_0x52a63f(0x13a),this,_0x52a63f(0x15d),(_0x14cb4b,_0x26928e)=>_0x52a63f(0x1e5)===_0x14cb4b&&!_0x26928e),this['on'](_0x52a63f(0x196),()=>{const _0xba03d7=_0x52a63f;this[_0xba03d7(0x130)]?_0x3b678e[_0xba03d7(0x192)](_0xba03d7(0x123)):_0x3b678e[_0xba03d7(0x1e4)](_0xba03d7(0x123));}),this[_0x52a63f(0x130)]?_0x3b678e[_0x52a63f(0x192)](_0x52a63f(0x123)):_0x3b678e[_0x52a63f(0x1e4)](_0x52a63f(0x123)),this[_0x52a63f(0x12a)](_0x52a63f(0x13e),!0x1);}async[_0x590804(0x154)](){const _0x3fc9b1=_0x590804,_0x7c0be7=this[_0x3fc9b1(0x125)][_0x3fc9b1(0x160)][_0x3fc9b1(0x10c)](_0xeca481),_0x24c73a=this[_0x3fc9b1(0x125)][_0x3fc9b1(0x160)][_0x3fc9b1(0x10c)](_0x1edf6e);try{this[_0x3fc9b1(0x1bc)]=!0x0,_0x7c0be7[_0x3fc9b1(0x151)](this[_0x3fc9b1(0x197)]);const _0x52e229=await this[_0x3fc9b1(0x148)][_0x3fc9b1(0x154)](_0x24c73a[_0x3fc9b1(0x112)],this[_0x3fc9b1(0x120)]);await this[_0x3fc9b1(0x1fa)](_0x52e229)&&(this[_0x3fc9b1(0x1bc)]=!0x1,this[_0x3fc9b1(0x17e)]());const _0x57b19a=await this[_0x3fc9b1(0x148)][_0x3fc9b1(0x1e8)]();_0x7c0be7[_0x3fc9b1(0x194)](this[_0x3fc9b1(0x197)],_0x57b19a),this[_0x3fc9b1(0x146)](),this[_0x3fc9b1(0x13e)]=!0x0;}catch(_0x269d1c){if(function(_0x430da0){const _0x419557=_0x3fc9b1;return _0x419557(0x1b5)===_0x430da0[_0x419557(0x1a5)];}(_0x269d1c)&&this[_0x3fc9b1(0x1f4)])await this[_0x3fc9b1(0x18b)]();else{if(function(_0x2dcbcb){const _0x341e28=_0x3fc9b1;return _0x341e28(0x193)===_0x2dcbcb[_0x341e28(0x1a5)];}(_0x269d1c)){const _0x4be191=_0x59d0a9(this[_0x3fc9b1(0x125)][_0x3fc9b1(0x1ce)],_0x3fc9b1(0x17c));this[_0x3fc9b1(0x121)](_0x4be191);}else{if(!(_0x269d1c instanceof K))throw _0x269d1c;this[_0x3fc9b1(0x121)]();}}}}[_0x590804(0x199)](){const _0x455d5d=_0x590804,_0x7e050c=this[_0x455d5d(0x125)][_0x455d5d(0x160)][_0x455d5d(0x10c)](_0x1edf6e),_0x892a5a=this[_0x455d5d(0x125)][_0x455d5d(0x160)][_0x455d5d(0x10c)](_0xeca481);this[_0x455d5d(0x125)][_0x455d5d(0x1e4)](_0x455d5d(0x19c)),_0x892a5a[_0x455d5d(0x14f)][_0x455d5d(0x173)](this[_0x455d5d(0x197)])&&_0x892a5a[_0x455d5d(0x151)](this[_0x455d5d(0x197)]),_0x7e050c[_0x455d5d(0x1c4)](this),this[_0x455d5d(0x189)](),super[_0x455d5d(0x199)]();}async[_0x590804(0x1fa)](_0x3958ee){const _0x49fdbb=_0x590804;if(this[_0x49fdbb(0x1f4)]!==_0x3958ee[_0x49fdbb(0x1f4)]&&this[_0x49fdbb(0x11f)]!==_0x3958ee[_0x49fdbb(0x1f0)])throw new K();return this[_0x49fdbb(0x1f4)]=_0x3958ee[_0x49fdbb(0x1f4)],this[_0x49fdbb(0x1dd)]([],{..._0x3958ee,'wereChangesApplied':!0x1,'data':_0x3958ee[_0x49fdbb(0x1a7)]},_0x49fdbb(0x154));}async[_0x590804(0x183)](_0x10d52f,_0x43c71e=!0x1){const _0x586869=_0x590804,{connection:_0x111a4c}=this[_0x586869(0x125)][_0x586869(0x160)][_0x586869(0x10c)](_0x1edf6e);RealTimeCollaborationClient[_0x586869(0x17a)][_0x586869(0x1e8)](_0x111a4c,this[_0x586869(0x197)])[_0x586869(0x1f8)](_0x3292b0=>this[_0x586869(0x161)](_0x3292b0))[_0x586869(0x139)](_0x495af1=>{const _0xc6a947=_0x586869;this[_0xc6a947(0x1c3)](_0xc6a947(0x128),_0x495af1);}),this[_0x586869(0x1dc)](this[_0x586869(0x148)],_0x586869(0x200),this[_0x586869(0x11c)][_0x586869(0x174)](this)),this[_0x586869(0x1dc)](this[_0x586869(0x148)],_0x586869(0x17b),(_0x2b87fe,_0x57eaa2)=>{const _0x26b1fd=_0x586869;this[_0x26b1fd(0x1c3)](_0x26b1fd(0x142),_0x57eaa2);}),this[_0x586869(0x1dc)](this[_0x586869(0x148)],_0x586869(0x18c),()=>{const _0x3a1bd5=_0x586869;this[_0x3a1bd5(0x13e)]=!0x1;});const _0x49af8f=this[_0x586869(0x1cf)][_0x586869(0x1b0)](_0x10d52f);this[_0x586869(0x1bc)]=!0x0;const _0x4cb415=await this[_0x586869(0x148)][_0x586869(0x1cc)](_0x111a4c,this[_0x586869(0x18d)](_0x10d52f),_0x49af8f);if(this[_0x586869(0x1f4)]=_0x4cb415[_0x586869(0x1f4)],_0x43c71e){if(!_0x4cb415[_0x586869(0x188)])return void this[_0x586869(0x121)]();this[_0x586869(0x1bc)]=!0x1,this[_0x586869(0x17e)](),this[_0x586869(0x16a)][_0x586869(0x12e)](),this[_0x586869(0x1b6)]=_0x4cb415[_0x586869(0x204)],this[_0x586869(0x16a)][_0x586869(0x190)]=this[_0x586869(0x1b6)],await this[_0x586869(0x1dd)](_0x10d52f,_0x4cb415,_0x586869(0x163));}else await this[_0x586869(0x11a)](_0x4cb415,_0x10d52f);this[_0x586869(0x146)](),this[_0x586869(0x13e)]=!0x0;}[_0x590804(0x146)](){const _0x2033e4=_0x590804,_0x5b7bae=this[_0x2033e4(0x125)][_0x2033e4(0x160)][_0x2033e4(0x10c)](_0xeca481),_0x2f5d78=this[_0x2033e4(0x125)][_0x2033e4(0x160)][_0x2033e4(0x10c)](_0xa483d3),_0x2ce7b7=_0x5b7bae[_0x2033e4(0x14f)][_0x2033e4(0x10c)](this[_0x2033e4(0x197)]);_0x2ce7b7&&_0x2ce7b7[_0x2033e4(0x140)]>0x1?_0x2f5d78[_0x2033e4(0x1db)]():this[_0x2033e4(0x1dc)](_0x5b7bae,_0x2033e4(0x18a)+this[_0x2033e4(0x197)],()=>{const _0x108c7d=_0x2033e4;0x2===_0x5b7bae[_0x108c7d(0x14f)][_0x108c7d(0x10c)](this[_0x108c7d(0x197)])[_0x108c7d(0x140)]&&_0x2f5d78[_0x108c7d(0x1db)]();});}async[_0x590804(0x11c)](_0x413075,_0x53f579,_0x7ce15b,_0x247496){const _0x571221=_0x590804;if(!this[_0x571221(0x1bc)]&&this[_0x571221(0x156)][_0x571221(0x190)]==_0x53f579){const _0x1fe920=this[_0x571221(0x186)](_0x7ce15b,_0x247496);await this[_0x571221(0x1ca)](_0x1fe920),this[_0x571221(0x150)](_0x1fe920,_0x53f579,_0x7ce15b[_0x571221(0x1f0)])||this[_0x571221(0x1c3)](_0x571221(0x1d0));}}async[_0x590804(0x18b)](){const _0x307ead=_0x590804;this[_0x307ead(0x189)]();const {locale:_0x10c35d}=this[_0x307ead(0x125)];let _0x58ef9f;try{_0x58ef9f=await this[_0x307ead(0x148)][_0x307ead(0x1ad)]();}catch{const _0x4f69dd=_0x59d0a9(_0x10c35d,_0x307ead(0x15f));return void this[_0x307ead(0x121)](_0x4f69dd);}const _0x580566=_0x58ef9f[_0x307ead(0x19b)]||_0x58ef9f[_0x307ead(0x1c6)];if(this[_0x307ead(0x11f)]!==_0x580566[_0x307ead(0x1f0)]){const _0x1bb0a0=_0x59d0a9(_0x10c35d,_0x307ead(0x102));return void this[_0x307ead(0x121)](_0x1bb0a0);}await this[_0x307ead(0x183)](this[_0x307ead(0x125)][_0x307ead(0x1d7)][_0x307ead(0x1e3)][_0x307ead(0x1eb)][_0x307ead(0x129)](),!0x0);}[_0x590804(0x189)](){const _0x162734=_0x590804;this[_0x162734(0x148)][_0x162734(0x1a0)](),this[_0x162734(0x12f)]=[],clearTimeout(this[_0x162734(0x1df)]),this[_0x162734(0x207)](this[_0x162734(0x148)]);}[_0x590804(0x161)](_0x5eec31){const _0x5bd437=_0x590804,_0x3e1180=this[_0x5bd437(0x125)][_0x5bd437(0x160)][_0x5bd437(0x10c)](_0xeca481);this[_0x5bd437(0x1dc)](_0x3e1180,_0x5bd437(0x18a)+this[_0x5bd437(0x197)],(_0x4c0dcd,{session:_0x411808})=>{const _0x164c15=_0x5bd437;if(_0x411808['id']===_0x3e1180[_0x164c15(0x177)]){_0x4c0dcd[_0x164c15(0x10a)]();const _0x3e8bd8=this[_0x164c15(0x125)][_0x164c15(0x160)][_0x164c15(0x173)](_0x164c15(0x119))&&this[_0x164c15(0x125)][_0x164c15(0x160)][_0x164c15(0x10c)](_0x164c15(0x119));let _0x34c421=_0x411808[_0x164c15(0x1d2)];_0x3e8bd8&&_0x3e8bd8[_0x164c15(0x1e7)]&&(_0x34c421=_0x34c421[_0x164c15(0x170)](_0x3a4e9c=>_0x164c15(0x143)!==_0x3a4e9c)),this[_0x164c15(0x125)][_0x164c15(0x160)][_0x164c15(0x10c)](_0x164c15(0x1e6))[_0x164c15(0x19f)](_0x34c421,this[_0x164c15(0x197)]);}}),_0x3e1180[_0x5bd437(0x194)](this[_0x5bd437(0x197)],_0x5eec31);}[_0x590804(0x180)](){const _0x20b12e=_0x590804,_0x4368db=this[_0x20b12e(0x125)][_0x20b12e(0x1a7)][_0x20b12e(0x12a)];this[_0x20b12e(0x125)][_0x20b12e(0x1a7)][_0x20b12e(0x12a)]=(..._0x3dd32e)=>{const _0x469f8f=_0x20b12e;if(!_0x3dd32e[_0x3dd32e[_0x469f8f(0x140)]-0x1][_0x469f8f(0x10f)])throw new _0x1bac0b(_0x469f8f(0x205),this);_0x4368db[_0x469f8f(0x110)](this[_0x469f8f(0x125)][_0x469f8f(0x1a7)],_0x3dd32e);};}[_0x590804(0x206)](){const _0x243d5b=_0x590804;this[_0x243d5b(0x125)][_0x243d5b(0x1a7)]['on'](_0x243d5b(0x1ba),(_0x2d3b7e,[_0x3a9ca4])=>{const _0x2586d6=_0x243d5b;if(this[_0x2586d6(0x156)][_0x2586d6(0x190)])throw new _0x1bac0b(_0x2586d6(0x131),this);_0x2d3b7e[_0x2586d6(0x165)](),this[_0x2586d6(0x1aa)]();const _0x4d79cc=this[_0x2586d6(0x125)][_0x2586d6(0x1d5)][_0x2586d6(0x10c)](_0x2586d6(0x187)),_0x513dbc=this[_0x2586d6(0x12b)](_0x3a9ca4,_0x4d79cc);0x0==_0x513dbc[_0x2586d6(0x140)]&&_0x513dbc[_0x2586d6(0x122)](new _0x1125de(0x0)),_0x2d3b7e[_0x2586d6(0x1f3)]=this[_0x2586d6(0x183)](_0x513dbc)[_0x2586d6(0x1f8)](()=>{const _0x50a469=_0x2586d6;this[_0x50a469(0x125)][_0x50a469(0x160)][_0x50a469(0x10c)](_0x1edf6e)[_0x50a469(0x1b8)](this),this[_0x50a469(0x125)][_0x50a469(0x1a7)][_0x50a469(0x1c9)](_0x50a469(0x1a2));})[_0x2586d6(0x139)](_0x2d28e9=>this[_0x2586d6(0x1c3)](_0x2586d6(0x179),_0x2d28e9))[_0x2586d6(0x1e9)](()=>this[_0x2586d6(0x17e)]());},{'priority':_0x243d5b(0x175)}),this[_0x243d5b(0x125)]['on'](_0x243d5b(0x11e),async(_0x39be0e,[_0x4d76a3,_0x229c46])=>{const _0x327ed7=_0x243d5b;_0x39be0e[_0x327ed7(0x165)]();const _0xf90078=this[_0x327ed7(0x125)][_0x327ed7(0x1d7)][_0x327ed7(0x1e3)][_0x327ed7(0x134)](_0x4d76a3);if(!this[_0x327ed7(0x15a)][_0x327ed7(0x173)](_0x4d76a3)){const _0x3bb19c=_0x229c46&&_0x229c46[_0x327ed7(0x1a7)]?_0x229c46[_0x327ed7(0x1a7)]:'',_0x319aac=_0x229c46&&_0x229c46[_0x327ed7(0x185)]?_0x229c46[_0x327ed7(0x185)]:{};await this[_0x327ed7(0x159)](_0x4d76a3,_0x3bb19c,_0x319aac);}this[_0x327ed7(0x125)][_0x327ed7(0x1d7)][_0x327ed7(0x105)]({'isUndoable':!0x1},()=>{const _0x449962=_0x327ed7;_0xf90078[_0x449962(0x14a)]=!0x0,this[_0x449962(0x125)][_0x449962(0x1d7)][_0x449962(0x1e3)][_0x449962(0x16d)][_0x449962(0x1ee)](_0xf90078);});},{'priority':_0x243d5b(0x175)});}async[_0x590804(0x1ca)](_0x49363c){const _0x1d8dbe=_0x590804,_0x5619c7=this[_0x1d8dbe(0x125)][_0x1d8dbe(0x160)][_0x1d8dbe(0x10c)](_0x2dabef),{connection:_0x43df5f}=this[_0x1d8dbe(0x125)][_0x1d8dbe(0x160)][_0x1d8dbe(0x10c)](_0x1edf6e),_0x4845cd=new Set();for(const _0x228f58 of _0x49363c){const _0x2685e1=_0x228f58[_0x1d8dbe(0x11d)];_0x2685e1&&!_0x5619c7[_0x1d8dbe(0x152)](_0x2685e1)&&_0x4845cd[_0x1d8dbe(0x178)](_0x2685e1);}if(0x0===_0x4845cd[_0x1d8dbe(0x12d)])return;const _0x2046ea=await _0x2a10b0[_0x1d8dbe(0x198)](_0x43df5f,Array[_0x1d8dbe(0x16c)](_0x4845cd));for(const _0x3b4458 of _0x2046ea)_0x5619c7[_0x1d8dbe(0x152)](_0x3b4458['id'])||_0x5619c7[_0x1d8dbe(0x107)](_0x3b4458);}[_0x590804(0x12b)](_0x51e2fa,_0x41fb50={}){const _0x243a7f=_0x590804,_0x36ef7a=this[_0x243a7f(0x125)][_0x243a7f(0x1d7)],_0x2520a1=[];let _0x4d8e74=0x0;const _0x4822eb=_0x243a7f(0x10b)==typeof _0x51e2fa?{'main':_0x51e2fa}:_0x51e2fa;for(const _0x4c410f of Object[_0x243a7f(0x201)](_0x4822eb)){if(!this[_0x243a7f(0x156)][_0x243a7f(0x12c)][_0x243a7f(0x173)](_0x4c410f))throw new _0x1bac0b(_0x243a7f(0x109),this);const _0x4d7b96=this[_0x243a7f(0x125)][_0x243a7f(0x1a7)][_0x243a7f(0x104)](_0x4822eb[_0x4c410f]),_0xdc51b4=this[_0x243a7f(0x156)][_0x243a7f(0x134)](_0x4c410f),_0x46c900=new _0x4953d9(_0x36ef7a[_0x243a7f(0x153)](_0xdc51b4,0x0),_0x4d7b96,_0x4d8e74++);_0x2520a1[_0x243a7f(0x122)](_0x46c900);for(const [_0x3c87eb,_0x3087cc]of _0x4d7b96[_0x243a7f(0x1f2)]){const _0xe84c6=_0x36ef7a[_0x243a7f(0x133)](_0x36ef7a[_0x243a7f(0x1c2)](_0xdc51b4,_0x3087cc[_0x243a7f(0x1bd)][_0x243a7f(0x1bb)][_0x243a7f(0x138)]()),_0x36ef7a[_0x243a7f(0x1c2)](_0xdc51b4,_0x3087cc[_0x243a7f(0x1ac)][_0x243a7f(0x1bb)][_0x243a7f(0x138)]())),_0x4a40db=new _0x4b8200(_0x3c87eb,null,_0xe84c6,_0x36ef7a[_0x243a7f(0x1f2)],!0x0,_0x4d8e74++);_0x2520a1[_0x243a7f(0x122)](_0x4a40db);}}if(_0x41fb50)for(const [_0x20b159,_0x3cb5bb]of Object[_0x243a7f(0x1a1)](_0x41fb50)){const _0x22ced9=_0x36ef7a[_0x243a7f(0x1e3)][_0x243a7f(0x134)](_0x20b159);if(!_0x22ced9)throw new _0x1bac0b(_0x243a7f(0x103),null);for(const [_0x1ca34b,_0x471cc3]of Object[_0x243a7f(0x1a1)](_0x3cb5bb))if(null!==_0x471cc3){const _0x5e75c1=new _0x17c96e(_0x22ced9,_0x1ca34b,null,_0x471cc3,_0x4d8e74++);_0x2520a1[_0x243a7f(0x122)](_0x5e75c1);}}return _0x2520a1;}async[_0x590804(0x159)](_0x26bcb3,_0x790fa3,_0x270499){const _0x4abf54=_0x590804;this[_0x4abf54(0x12b)]({[_0x26bcb3]:_0x790fa3},{[_0x26bcb3]:_0x270499})[_0x4abf54(0x162)]((_0x9d9c7c,_0x1ed303)=>{const _0x3cce17=_0x4abf54;_0x9d9c7c[_0x3cce17(0x141)]=this[_0x3cce17(0x156)][_0x3cce17(0x190)]+_0x1ed303,_0x9d9c7c[_0x3cce17(0x145)]=!0x0,this[_0x3cce17(0x1d6)](_0x9d9c7c);}),this[_0x4abf54(0x19d)](),await this[_0x4abf54(0x117)]();}async[_0x590804(0x11a)](_0x1351d9,_0x36efa){const _0x3984bb=_0x590804;let _0x4ff1af;this[_0x3984bb(0x1b6)]=_0x1351d9[_0x3984bb(0x204)];const _0x541d49=_0x1351d9[_0x3984bb(0x188)]&&!_0x1351d9[_0x3984bb(0x176)],_0xa966c0=_0x541d49?0x0:_0x1351d9[_0x3984bb(0x1a7)][_0x3984bb(0x141)];if(_0x36efa[_0x3984bb(0x162)](_0x4079e3=>{const _0x293d6c=_0x3984bb;_0x4079e3[_0x293d6c(0x145)]=!0x0,_0x4079e3[_0x293d6c(0x1f7)]=_0x1351d9[_0x293d6c(0x171)],_0x4079e3[_0x293d6c(0x11d)]=null;}),_0x541d49)_0x4ff1af=_0x36efa,this[_0x3984bb(0x1af)](_0x4ff1af,_0x541d49);else{if(_0x1351d9[_0x3984bb(0x176)]){const _0x326a00=this[_0x3984bb(0x12b)](_0x1351d9[_0x3984bb(0x176)]);this[_0x3984bb(0x156)][_0x3984bb(0x1eb)][_0x3984bb(0x190)]=-_0x326a00[_0x3984bb(0x140)],_0x326a00[_0x3984bb(0x162)](_0x4e1b6e=>{const _0x160efd=_0x3984bb;_0x4e1b6e[_0x160efd(0x141)]-=_0x326a00[_0x160efd(0x140)],_0x4e1b6e[_0x160efd(0x1f7)]=_0x1351d9[_0x160efd(0x171)],_0x4e1b6e[_0x160efd(0x145)]=!0x0,_0x4e1b6e[_0x160efd(0x11d)]=null;}),this[_0x3984bb(0x1af)](_0x326a00,!0x0),this[_0x3984bb(0x16a)][_0x3984bb(0x190)]=-_0x326a00[_0x3984bb(0x140)]+this[_0x3984bb(0x1b6)],this[_0x3984bb(0x1d4)](_0x326a00);}this[_0x3984bb(0x156)][_0x3984bb(0x1eb)][_0x3984bb(0x190)]=_0xa966c0,_0x4ff1af=this[_0x3984bb(0x186)](_0x1351d9[_0x3984bb(0x1a7)],_0x1351d9[_0x3984bb(0x169)]),await this[_0x3984bb(0x1ca)](_0x4ff1af),this[_0x3984bb(0x1af)](_0x4ff1af,_0x541d49);}_0x1351d9[_0x3984bb(0x1f0)]&&(this[_0x3984bb(0x1cf)][_0x3984bb(0x1c7)](_0x4ff1af,_0x1351d9[_0x3984bb(0x1f0)]),this[_0x3984bb(0x11f)]=_0x1351d9[_0x3984bb(0x1f0)]),this[_0x3984bb(0x16a)][_0x3984bb(0x190)]=_0xa966c0+this[_0x3984bb(0x1b6)],this[_0x3984bb(0x1d4)](_0x4ff1af),_0x36efa[_0x3984bb(0x170)](_0x2a00ab=>{const _0x11e6bd=_0x3984bb,_0x5b019b=this[_0x11e6bd(0x155)](_0x2a00ab);return _0x5b019b&&!this[_0x11e6bd(0x15a)][_0x11e6bd(0x173)](_0x5b019b);})[_0x3984bb(0x162)]((_0x3fddb1,_0x308d88)=>{const _0x2bf9a7=_0x3984bb;_0x3fddb1[_0x2bf9a7(0x141)]=this[_0x2bf9a7(0x156)][_0x2bf9a7(0x190)]+_0x308d88,this[_0x2bf9a7(0x1d6)](_0x3fddb1);}),this[_0x3984bb(0x15e)]()?(this[_0x3984bb(0x1f5)]=0x0,this[_0x3984bb(0x19d)](!0x0),await this[_0x3984bb(0x117)]()):(this[_0x3984bb(0x1bc)]=!0x1,this[_0x3984bb(0x17e)]());}[_0x590804(0x1c3)](_0x2d3598,_0x3fb864){const _0x5c552c=_0x590804,_0x332218=_0x3fb864&&_0x3fb864[_0x5c552c(0x1e0)];if(_0x332218&&_0x332218[_0x5c552c(0x168)](_0x5c552c(0x137)))throw _0x3fb864;const _0x2a7d02=this[_0x5c552c(0x125)][_0x5c552c(0x160)][_0x5c552c(0x10c)](_0x1edf6e);throw this[_0x5c552c(0x1bc)]=!0x0,_0x2a7d02[_0x5c552c(0x1a0)](),this[_0x5c552c(0x125)][_0x5c552c(0x1e4)](_0x5c552c(0x172)),new _0x1bac0b(_0x2d3598,this[_0x5c552c(0x125)],_0x332218?{'originalError':_0x332218}:void 0x0);}[_0x590804(0x1d6)](_0x4c4300){const _0x556e78=_0x590804;this[_0x556e78(0x17f)][_0x556e78(0x173)](_0x4c4300)||(this[_0x556e78(0x17f)][_0x556e78(0x178)](_0x4c4300),this[_0x556e78(0x12f)][_0x556e78(0x122)](_0x4c4300),this[_0x556e78(0x16f)]||_0x556e78(0x1ec)==_0x4c4300[_0x556e78(0x19e)]&&!_0x4c4300[_0x556e78(0x1fe)]||this[_0x556e78(0x1aa)]());}[_0x590804(0x19d)](_0x408bf6=!0x1){const _0x2804c4=_0x590804;!_0x408bf6&&this[_0x2804c4(0x1bc)]||(this[_0x2804c4(0x1bc)]=!0x0,clearTimeout(this[_0x2804c4(0x1df)]),this[_0x2804c4(0x1df)]=setTimeout(()=>{const _0x1646eb=_0x2804c4;this[_0x1646eb(0x1c0)]()[_0x1646eb(0x1f8)](_0x345538=>{const _0x2772f9=_0x1646eb;_0x345538&&(this[_0x2772f9(0x17e)](),this[_0x2772f9(0x1bc)]=!0x1);})[_0x1646eb(0x139)](_0x5b8c9e=>{const _0x46a333=_0x1646eb;this[_0x46a333(0x17e)](),this[_0x46a333(0x1bc)]=!0x1,function(_0x13be63){const _0x38909a=_0x46a333;return _0x13be63[_0x38909a(0x1e0)][_0x38909a(0x168)](_0x38909a(0x158))||_0x13be63[_0x38909a(0x1e0)][_0x38909a(0x168)](_0x38909a(0x15b))||_0x13be63[_0x38909a(0x1e0)][_0x38909a(0x168)](_0x38909a(0x1a8));}(_0x5b8c9e)||this[_0x46a333(0x1c3)](_0x5b8c9e[_0x46a333(0x1e0)],_0x5b8c9e);});},this[_0x2804c4(0x1f5)]));}[_0x590804(0x117)](){return new Promise(_0x35c8ca=>{const _0x57f25d=_0x3fe2;this['on'](_0x57f25d(0x191),()=>{_0x35c8ca();});});}async[_0x590804(0x1c0)](){const _0x1aef71=_0x590804,_0x17f0a5=this[_0x1aef71(0x125)][_0x1aef71(0x160)][_0x1aef71(0x10c)](_0xa483d3);if(this[_0x1aef71(0x1be)]()&&(_0x17f0a5[_0x1aef71(0x1db)](),this[_0x1aef71(0x1a4)]=!0x1),!this[_0x1aef71(0x15e)]())return!0x0;const _0x384823=[...this[_0x1aef71(0x12f)]];for(const _0x132f9f of _0x384823)_0x132f9f[_0x1aef71(0x13f)]=this[_0x1aef71(0x156)][_0x1aef71(0x1eb)][_0x1aef71(0x1a6)](_0x132f9f);const _0x50604d=this[_0x1aef71(0x1cf)][_0x1aef71(0x1b0)](_0x384823),_0x4de396=$++,_0x4208ab=this[_0x1aef71(0x18d)](_0x384823),_0x196efa=await this[_0x1aef71(0x148)][_0x1aef71(0x147)](_0x4208ab,_0x4208ab[_0x1aef71(0x141)],_0x50604d);try{return await this[_0x1aef71(0x1dd)](_0x384823,_0x196efa,_0x4de396);}catch(_0x448cf5){return this[_0x1aef71(0x1c3)](_0x1aef71(0x16e),_0x448cf5);}}async[_0x590804(0x1dd)](_0x585bee,_0x4d04f9,_0x220f92){const _0x502794=_0x590804;if(_0x502794(0x17b)in _0x4d04f9)throw _0x4d04f9[_0x502794(0x17b)];let _0x3bfcda=!0x1;if(_0x4d04f9[_0x502794(0x188)]){_0x4d04f9[_0x502794(0x1f0)]&&(this[_0x502794(0x11f)]=_0x4d04f9[_0x502794(0x1f0)]),this[_0x502794(0x12f)]=this[_0x502794(0x12f)][_0x502794(0x170)](_0x1acd1f=>!_0x585bee[_0x502794(0x1e2)](_0x1acd1f));for(const _0x3cfa10 of _0x585bee)_0x3cfa10[_0x502794(0x1f7)]=_0x502794(0x1f6)in _0x4d04f9&&_0x4d04f9[_0x502794(0x1f6)]||void 0x0;J(_0x585bee,_0x4d04f9[_0x502794(0x190)]-_0x585bee[_0x502794(0x140)]),this[_0x502794(0x1d4)](_0x585bee);const _0x1bd875=_0x585bee[_0x502794(0x170)](_0x31a70a=>{const _0x2ec47a=_0x502794;if(!_0x31a70a[_0x2ec47a(0x145)])return!0x1;const _0xd0ebd4=this[_0x2ec47a(0x155)](_0x31a70a);return _0xd0ebd4&&!this[_0x2ec47a(0x15a)][_0x2ec47a(0x173)](_0xd0ebd4);});J(_0x1bd875,this[_0x502794(0x156)][_0x502794(0x190)]),this[_0x502794(0x1af)](_0x1bd875),_0x3bfcda=!0x0,this[_0x502794(0x1f5)]=this[_0x502794(0x13c)];}else{const _0x2075ad=this[_0x502794(0x186)](_0x4d04f9[_0x502794(0x1a7)],_0x4d04f9[_0x502794(0x169)])[_0x502794(0x170)](_0x25946f=>_0x25946f[_0x502794(0x141)]>=this[_0x502794(0x10e)]);_0x2075ad[_0x502794(0x162)](_0xf44d43=>this[_0x502794(0x1c8)](_0xf44d43)),this[_0x502794(0x12f)]=this[_0x502794(0x12f)][_0x502794(0x170)](_0x415a0d=>!_0x415a0d[_0x502794(0x145)]||!this[_0x502794(0x15a)][_0x502794(0x173)](this[_0x502794(0x155)](_0x415a0d))),this[_0x502794(0x12f)][_0x502794(0x140)]&&J(this[_0x502794(0x12f)],this[_0x502794(0x12f)][0x0][_0x502794(0x141)]),await this[_0x502794(0x1ca)](_0x2075ad),_0x3bfcda=this[_0x502794(0x150)](_0x2075ad,_0x4d04f9[_0x502794(0x190)],_0x4d04f9[_0x502794(0x1f0)]),this[_0x502794(0x1f5)]=Math[_0x502794(0x10d)](this[_0x502794(0x1f5)]/0x2);}return _0x3bfcda?!this[_0x502794(0x15e)]()||(this[_0x502794(0x19d)](!0x0),!0x1):this[_0x502794(0x1c3)](_0x502794(0x15c));}[_0x590804(0x150)](_0x35079c,_0x4a4d3a,_0x4aaeb8){const _0x4f942a=_0x590804;try{const _0x2d32c5={'document':this[_0x4f942a(0x156)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1fc690,operationsB:_0x3c5b56,originalOperations:_0x219033}=_0x35f1db(_0x35079c,this[_0x4f942a(0x12f)],_0x2d32c5);J(_0x1fc690,this[_0x4f942a(0x156)][_0x4f942a(0x190)]),J(_0x3c5b56,_0x4a4d3a);for(const _0x179f61 of _0x1fc690){const _0x2e5f67=_0x219033[_0x4f942a(0x10c)](_0x179f61);_0x179f61[_0x4f942a(0x11d)]=_0x2e5f67?_0x2e5f67[_0x4f942a(0x11d)]:null;}_0x4aaeb8&&(this[_0x4f942a(0x1cf)][_0x4f942a(0x1c7)](_0x35079c,_0x4aaeb8),this[_0x4f942a(0x11f)]=_0x4aaeb8),this[_0x4f942a(0x12f)]=[..._0x3c5b56],this[_0x4f942a(0x1af)](_0x1fc690),this[_0x4f942a(0x1d4)](_0x35079c);}catch(_0x1eaaa0){return console[_0x4f942a(0x17b)](_0x1eaaa0),!0x1;}return!0x0;}[_0x590804(0x1af)](_0x361bbf,_0x54269b=!0x1){const _0x3f60e0=_0x590804;this[_0x3f60e0(0x125)][_0x3f60e0(0x1d7)][_0x3f60e0(0x105)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4178bf=>{const _0x4a0cec=_0x3f60e0;for(const _0x4b4f09 of _0x361bbf)this[_0x4a0cec(0x17f)][_0x4a0cec(0x178)](_0x4b4f09),this[_0x4a0cec(0x1c8)](_0x4b4f09),_0x4178bf[_0x4a0cec(0x113)][_0x4a0cec(0x1ff)](_0x4b4f09),this[_0x4a0cec(0x125)][_0x4a0cec(0x1d7)][_0x4a0cec(0x1f9)](_0x4b4f09);});}[_0x590804(0x1c8)](_0x5c343c){const _0xf5f52a=_0x590804,_0x40ccef=this[_0xf5f52a(0x155)](_0x5c343c);_0x40ccef&&this[_0xf5f52a(0x15a)][_0xf5f52a(0x178)](_0x40ccef);}[_0x590804(0x155)](_0x3d4936){const _0x336850=_0x590804;let _0x2e6372,_0x1a7c6b;switch(_0x3d4936[_0x336850(0x19e)]){case _0x336850(0x132):_0x2e6372=_0x3d4936[_0x336850(0x1b2)][_0x336850(0x1b9)];break;case _0x336850(0x1ec):if(_0x1a7c6b=_0x3d4936[_0x336850(0x106)],!_0x1a7c6b)return null;_0x2e6372=_0x1a7c6b[_0x336850(0x1b9)];break;case _0x336850(0x13d):_0x2e6372=_0x3d4936[_0x336850(0x1b9)];break;case _0x336850(0x1b7):_0x2e6372=_0x3d4936[_0x336850(0x1da)];break;case _0x336850(0x1fb):_0x2e6372=_0x3d4936[_0x336850(0x1b1)][_0x336850(0x1b9)];break;default:return null;}return _0x2e6372[_0x336850(0x182)];}[_0x590804(0x1d4)](_0x135b53){const _0x43842a=_0x590804;_0x135b53[_0x43842a(0x162)](_0x37db43=>{const _0xb1badd=_0x43842a,_0x42874d=_0x37db43[_0xb1badd(0x202)]();_0x42874d[_0xb1badd(0x11d)]=_0x37db43[_0xb1badd(0x11d)],_0x42874d[_0xb1badd(0x145)]=!!_0x37db43[_0xb1badd(0x145)],_0x42874d[_0xb1badd(0x1f7)]=_0x37db43[_0xb1badd(0x1f7)],_0x42874d[_0xb1badd(0x141)]+=this[_0xb1badd(0x1b6)],_0x37db43[_0xb1badd(0x166)]&&this[_0xb1badd(0x1de)][_0xb1badd(0x178)](_0x42874d),this[_0xb1badd(0x16a)][_0xb1badd(0x1ff)](_0x42874d);});}[_0x590804(0x121)](_0x4fa33a){const _0x24c35c=_0x590804,_0x2832d4=this[_0x24c35c(0x125)][_0x24c35c(0x160)][_0x24c35c(0x10c)](_0x24c35c(0x13b)),_0x5e119a=this[_0x24c35c(0x125)][_0x24c35c(0x1ce)];_0x4fa33a||(_0x4fa33a=_0x59d0a9(_0x5e119a,_0x24c35c(0x1fd))),_0x2832d4[_0x24c35c(0x1d1)](_0x4fa33a,{'title':_0x59d0a9(_0x5e119a,_0x24c35c(0x1b3)),'namespace':_0x24c35c(0x127)}),this[_0x24c35c(0x15d)]=!0x0,clearTimeout(this[_0x24c35c(0x1df)]),this[_0x24c35c(0x12f)]=[],this[_0x24c35c(0x125)][_0x24c35c(0x160)][_0x24c35c(0x10c)](_0x1edf6e)[_0x24c35c(0x1a0)]();}[_0x590804(0x1aa)](){const _0x95218f=_0x590804;this[_0x95218f(0x16f)]||(this[_0x95218f(0x16f)]=this[_0x95218f(0x125)][_0x95218f(0x160)][_0x95218f(0x10c)](_0x49a0ed)[_0x95218f(0x178)](_0x59d0a9(this[_0x95218f(0x125)][_0x95218f(0x1ce)],_0x95218f(0x1ef))));}[_0x590804(0x17e)](){const _0x90abae=_0x590804;this[_0x90abae(0x16f)]&&(this[_0x90abae(0x125)][_0x90abae(0x160)][_0x90abae(0x10c)](_0x49a0ed)[_0x90abae(0x19a)](this[_0x90abae(0x16f)]),this[_0x90abae(0x16f)]=null);}[_0x590804(0x18d)](_0x2eca0d){const _0x4da08e=_0x590804,_0x202ede=_0x2eca0d[_0x4da08e(0x203)](_0xc24c64=>_0xc24c64[_0x4da08e(0x108)]());return this[_0x4da08e(0x14d)][_0x4da08e(0x184)](_0x202ede);}[_0x590804(0x186)](_0x607a8e,_0x53d189){const _0x2e5641=_0x590804;return this[_0x2e5641(0x14d)][_0x2e5641(0x18f)](_0x607a8e)[_0x2e5641(0x203)]((_0x3144d0,_0x34b416)=>{const _0x2de2c2=_0x2e5641,_0x29657c=_0x2de2c2(0x1ba)==_0x53d189[_0x34b416][_0x2de2c2(0x19e)];if(_0x2de2c2(0x115)==_0x3144d0[_0x2de2c2(0x1d3)]){const _0x5430d3=_0x3144d0[_0x2de2c2(0x1b2)][_0x2de2c2(0x1b9)];!this[_0x2de2c2(0x156)][_0x2de2c2(0x134)](_0x5430d3)&&(this[_0x2de2c2(0x156)][_0x2de2c2(0x1bf)](_0x2de2c2(0x1f1),_0x5430d3)[_0x2de2c2(0x126)]=!0x1);}const _0x212347=_0x35c5f8[_0x2de2c2(0x14c)](_0x3144d0,this[_0x2de2c2(0x156)]);return _0x212347[_0x2de2c2(0x13f)]=_0x3144d0[_0x2de2c2(0x13f)],_0x212347[_0x2de2c2(0x145)]=_0x29657c,_0x212347[_0x2de2c2(0x11d)]=_0x29657c?null:_0x53d189[_0x34b416][_0x2de2c2(0x14b)],_0x212347[_0x2de2c2(0x166)]=_0x2de2c2(0x1cb)===_0x53d189[_0x34b416][_0x2de2c2(0x19e)],_0x212347[_0x2de2c2(0x1f7)]=_0x53d189[_0x34b416][_0x2de2c2(0x1f7)],_0x212347;});}[_0x590804(0x114)](){const _0x30414d=_0x590804;this[_0x30414d(0x1a4)]=!0x0,this[_0x30414d(0x1be)]()?this[_0x30414d(0x19d)]():this[_0x30414d(0x1a4)]=!0x1;}[_0x590804(0x1be)](){const _0x4fc48e=_0x590804,_0x42489e=this[_0x4fc48e(0x125)][_0x4fc48e(0x160)][_0x4fc48e(0x10c)](_0xeca481)[_0x4fc48e(0x14f)][_0x4fc48e(0x10c)](this[_0x4fc48e(0x197)]);return!this[_0x4fc48e(0x125)][_0x4fc48e(0x1b4)]&&!!_0x42489e&&_0x42489e[_0x4fc48e(0x140)]>0x1&&this[_0x4fc48e(0x1a4)];}[_0x590804(0x15e)](){const _0x1ebaae=_0x590804;return this[_0x1ebaae(0x12f)][_0x1ebaae(0x140)]>0x0||this[_0x1ebaae(0x1be)]();}}class K extends Error{}function J(_0x28d2b4,_0x109307){const _0x199eb9=_0x590804;for(const _0x40ddb8 of _0x28d2b4)_0x40ddb8[_0x199eb9(0x141)]=_0x109307++;}class Q{[_0x590804(0x1e1)];[_0x590804(0x1d9)];constructor(_0x5c6a5b){const _0x3182f6=_0x590804;this[_0x3182f6(0x1e1)]=_0x5c6a5b,this[_0x3182f6(0x1d9)]=new WeakMap();}[_0x590804(0x1b0)](_0x2e51cd){const _0x2e2c48=_0x590804;let _0xb58305=_0x2e51cd[_0x2e2c48(0x140)];for(;_0xb58305--;){const _0x4a9084=_0x2e51cd[_0xb58305];if(!this[_0x2e2c48(0x1e1)][_0x2e2c48(0x173)](_0x4a9084)){if(!this[_0x2e2c48(0x1d9)][_0x2e2c48(0x173)](_0x4a9084)){const _0x87685f=_0x30271c()[_0x2e2c48(0x138)](0x1,0x12);this[_0x2e2c48(0x1d9)][_0x2e2c48(0x12a)](_0x4a9084,_0x87685f);}return this[_0x2e2c48(0x1d9)][_0x2e2c48(0x10c)](_0x4a9084);}}}[_0x590804(0x1c7)](_0x242df5,_0x20834d){const _0x42549b=_0x590804;if(!_0x20834d)return;let _0x2f8167=_0x242df5[_0x42549b(0x140)];for(;_0x2f8167--;){const _0xb93ac8=_0x242df5[_0x2f8167];this[_0x42549b(0x1e1)][_0x42549b(0x173)](_0xb93ac8)||this[_0x42549b(0x1d9)][_0x42549b(0x12a)](_0xb93ac8,_0x20834d);}}}