@ckeditor/ckeditor5-real-time-collaboration 46.0.0-alpha.7 → 46.0.0-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-real-time-collaboration",
3
- "version": "46.0.0-alpha.7",
3
+ "version": "46.0.0-alpha.8",
4
4
  "description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -47,19 +47,19 @@
47
47
  ],
48
48
  "dependencies": {
49
49
  "@ckeditor/ckeditor-cloud-services-collaboration": "53.0.0",
50
- "@ckeditor/ckeditor5-cloud-services": "46.0.0-alpha.7",
51
- "@ckeditor/ckeditor5-comments": "46.0.0-alpha.7",
52
- "@ckeditor/ckeditor5-core": "46.0.0-alpha.7",
53
- "@ckeditor/ckeditor5-editor-multi-root": "46.0.0-alpha.7",
54
- "@ckeditor/ckeditor5-engine": "46.0.0-alpha.7",
55
- "@ckeditor/ckeditor5-operations-compressor": "46.0.0-alpha.7",
56
- "@ckeditor/ckeditor5-revision-history": "46.0.0-alpha.7",
57
- "@ckeditor/ckeditor5-theme-lark": "46.0.0-alpha.7",
58
- "@ckeditor/ckeditor5-track-changes": "46.0.0-alpha.7",
59
- "@ckeditor/ckeditor5-ui": "46.0.0-alpha.7",
60
- "@ckeditor/ckeditor5-utils": "46.0.0-alpha.7",
61
- "ckeditor5": "46.0.0-alpha.7",
62
- "ckeditor5-collaboration": "46.0.0-alpha.7",
50
+ "@ckeditor/ckeditor5-cloud-services": "46.0.0-alpha.8",
51
+ "@ckeditor/ckeditor5-comments": "46.0.0-alpha.8",
52
+ "@ckeditor/ckeditor5-core": "46.0.0-alpha.8",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "46.0.0-alpha.8",
54
+ "@ckeditor/ckeditor5-engine": "46.0.0-alpha.8",
55
+ "@ckeditor/ckeditor5-operations-compressor": "46.0.0-alpha.8",
56
+ "@ckeditor/ckeditor5-revision-history": "46.0.0-alpha.8",
57
+ "@ckeditor/ckeditor5-theme-lark": "46.0.0-alpha.8",
58
+ "@ckeditor/ckeditor5-track-changes": "46.0.0-alpha.8",
59
+ "@ckeditor/ckeditor5-ui": "46.0.0-alpha.8",
60
+ "@ckeditor/ckeditor5-utils": "46.0.0-alpha.8",
61
+ "ckeditor5": "46.0.0-alpha.8",
62
+ "ckeditor5-collaboration": "46.0.0-alpha.8",
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 _0x41333e=_0x170b;function _0x3c8b(){const _0x43c415=['tabIndex','number','ck\x20ck-presence-list__balloon','inlineListView','isOfficialPlugin','find','focus','join','presencelist-missing-container','showDropdown','pluginName','19370290XSXWYS','keystrokes','activeElement','presenceList','15915BJAprl','isVisible','_createView','offsetHeight','displayMe','destroy','[tabindex]','balloonPanelView','using','allConnectedUsers','button','listenTo','presencelist:show','config','textarea','Tab','Shift+Tab','isExpanded','3776856mLckdE','presencelist:hide','2987264EawUEG','execute','7005KMUsJu','isFocusable','filter','from','PresenceListUI','get','length','checkIfScrollable','presencelist-collapseat-invalid-format','pin','set','142gOSQVJ','appendChild','requires','min','9yMXTZX','1469409cuxjjk','offsetWidth','_allConnectedUsers','unpin','bindTo','usersCount','select','attachToDom','isRendered','add','init','1928EUrsXp','class','bind','counterView','locale','render','context','items','define','input','Esc','presenceList.collapseAt','onClick','isMe','querySelectorAll','Enter','currentDisplayedUsers','hideDropdown','detachFromDom','change:isFocused','sort',':not([disabled]):not([tabindex=\x22-1\x22])','presenceDropdownView','_handleUserAdd','[contenteditable]','_bodyCollection','body','isCollapsed','32028BTRpJH','isPremiumPlugin','focusTracker','content','element','plugins','view','remove','indexOf','_handleUserRemove','presenceList.container','map','reverse','presenceList.displayMe','hasTooltip'];_0x3c8b=function(){return _0x43c415;};return _0x3c8b();}(function(_0x5f597f,_0xc79373){const _0x127f57=_0x170b,_0x4640ec=_0x5f597f();while(!![]){try{const _0x50c395=parseInt(_0x127f57(0x15a))/0x1*(-parseInt(_0x127f57(0x110))/0x2)+parseInt(_0x127f57(0x115))/0x3+parseInt(_0x127f57(0x120))/0x4*(-parseInt(_0x127f57(0x105))/0x5)+-parseInt(_0x127f57(0x13c))/0x6+parseInt(_0x127f57(0x103))/0x7+-parseInt(_0x127f57(0x101))/0x8*(parseInt(_0x127f57(0x114))/0x9)+parseInt(_0x127f57(0x156))/0xa;if(_0x50c395===_0xc79373)break;else _0x4640ec['push'](_0x4640ec['shift']());}catch(_0x1c7d45){_0x4640ec['push'](_0x4640ec['shift']());}}}(_0x3c8b,0x8b60c));import{ContextPlugin as _0x3454c8}from'ckeditor5/src/core.js';import{CKEditorError as _0x1620eb,Collection as _0x506378}from'ckeditor5/src/utils.js';function _0x170b(_0x20ffe0,_0x513952){const _0x3c8b1f=_0x3c8b();return _0x170b=function(_0x170bb9,_0xd328f9){_0x170bb9=_0x170bb9-0xf9;let _0xf75622=_0x3c8b1f[_0x170bb9];return _0xf75622;},_0x170b(_0x20ffe0,_0x513952);}import{clickOutsideHandler as _0x12fb9d,BalloonPanelView as _0x10ad98,BodyCollection as _0x540f6d}from'ckeditor5/src/ui.js';import{isElement as _0x53c534}from'es-toolkit/compat';import{Sessions as _0x2eac15}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x2f6455}from'./view/presencelistview.js';import{PresenceCounterView as _0x4400f7}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x4cbf27}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x4061c1}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x46b668}from'./view/presenceinlinelistitemview.js';const x={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x3454c8{[_0x41333e(0x130)];[_0x41333e(0x161)];[_0x41333e(0x142)];[_0x41333e(0x136)];[_0x41333e(0x139)]=null;static get[_0x41333e(0x155)](){const _0x1f4f60=_0x41333e;return _0x1f4f60(0x109);}static get[_0x41333e(0x14f)](){return!0x0;}static get[_0x41333e(0x13d)](){return!0x0;}constructor(_0x35cdda){const _0xf0d546=_0x41333e;super(_0x35cdda),this[_0xf0d546(0x126)][_0xf0d546(0xfc)][_0xf0d546(0x128)](_0xf0d546(0x159),x);const _0x419ba3=_0x35cdda[_0xf0d546(0xfc)][_0xf0d546(0x10a)](_0xf0d546(0x12b));if(_0xf0d546(0x14c)!=typeof _0x419ba3)throw new _0x1620eb(_0xf0d546(0x10d),this);if(_0x419ba3<0x1)throw new _0x1620eb(_0xf0d546(0x10d),this);this[_0xf0d546(0x117)]=this[_0xf0d546(0x126)][_0xf0d546(0x141)][_0xf0d546(0x10a)](_0x2eac15)[_0xf0d546(0x163)],this[_0xf0d546(0x10f)](_0xf0d546(0x11a),0x0),this[_0xf0d546(0x130)]=new _0x506378(),this[_0xf0d546(0x161)]=new _0x10ad98(),this[_0xf0d546(0x161)][_0xf0d546(0x121)]=_0xf0d546(0x14d),this[_0xf0d546(0x142)]=this[_0xf0d546(0x15c)](),this[_0xf0d546(0x136)]=void 0x0;}static get[_0x41333e(0x112)](){return[_0x2eac15];}[_0x41333e(0x11f)](){const _0x402a68=_0x41333e;for(const _0x5f1e57 of this[_0x402a68(0x117)])this[_0x402a68(0x137)](_0x5f1e57);this[_0x402a68(0xfa)](this[_0x402a68(0x117)],_0x402a68(0x11e),(_0x135487,_0x225bc5)=>{const _0x55c1d3=_0x402a68;this[_0x55c1d3(0x137)](_0x225bc5);}),this[_0x402a68(0xfa)](this[_0x402a68(0x117)],_0x402a68(0x143),(_0x1d8336,_0x139cbe)=>{const _0x4e6b4e=_0x402a68;this[_0x4e6b4e(0x145)](_0x139cbe);});}[_0x41333e(0x15c)](){const _0x4f2e3b=_0x41333e,_0x534519=this[_0x4f2e3b(0x126)],_0x91acc3=new _0x2f6455(this[_0x4f2e3b(0x126)][_0x4f2e3b(0x124)],this[_0x4f2e3b(0x126)][_0x4f2e3b(0xfc)][_0x4f2e3b(0x10a)](_0x4f2e3b(0x12b))),_0xd89a91=this[_0x4f2e3b(0x161)];if(!_0x53c534(_0x534519[_0x4f2e3b(0xfc)][_0x4f2e3b(0x10a)](_0x4f2e3b(0x146))))throw new _0x1620eb(_0x4f2e3b(0x153),this);return _0x91acc3[_0x4f2e3b(0x123)][_0x4f2e3b(0x122)](_0x4f2e3b(0x11a))['to'](this),_0x91acc3[_0x4f2e3b(0x122)](_0x4f2e3b(0x13b))['to'](this,_0x4f2e3b(0x11a),_0x526fe0=>{const _0x49dff2=_0x4f2e3b,{collapseAt:_0x1ba79c}=_0x534519[_0x49dff2(0xfc)][_0x49dff2(0x10a)](_0x49dff2(0x159)),_0x5a7621=_0x526fe0>=_0x1ba79c;if(_0x5a7621&&!_0x91acc3[_0x49dff2(0x14e)][_0x49dff2(0x127)][_0x49dff2(0x150)](_0x23d62f=>_0x23d62f instanceof _0x4400f7)){const _0x5a8786=this[_0x49dff2(0x126)][_0x49dff2(0xfc)][_0x49dff2(0x10a)](_0x49dff2(0x12b))-0x1;this[_0x49dff2(0x130)][_0x49dff2(0x10b)]==_0x5a8786&&this[_0x49dff2(0x130)][_0x49dff2(0x10b)]>0x1&&this[_0x49dff2(0x130)][_0x49dff2(0x143)](this[_0x49dff2(0x130)][_0x49dff2(0x10b)]-0x1),_0x91acc3[_0x49dff2(0x14e)][_0x49dff2(0x127)][_0x49dff2(0x11e)](_0x91acc3[_0x49dff2(0x123)]);}return _0x5a7621||this[_0x49dff2(0x131)](),_0x5a7621;}),_0x91acc3[_0x4f2e3b(0x14e)][_0x4f2e3b(0x127)][_0x4f2e3b(0x119)](this[_0x4f2e3b(0x130)])[_0x4f2e3b(0x162)](_0x3a7b49=>{const _0x443139=_0x4f2e3b,_0xaa7d33=_0x534519[_0x443139(0xfc)][_0x443139(0x10a)](_0x443139(0x159)),_0x20c123=new _0x46b668(_0x534519[_0x443139(0x124)],_0x3a7b49,!!_0xaa7d33[_0x443139(0x12c)]);return _0x20c123[_0x443139(0x122)](_0x443139(0x14a))['to'](_0x91acc3,_0x443139(0x13b),_0x372552=>!_0x372552),_0x20c123[_0x443139(0x122)](_0x443139(0x106))['to'](_0x91acc3,_0x443139(0x13b),_0x1b12c7=>!_0x1b12c7),_0xaa7d33[_0x443139(0x12c)]&&this[_0x443139(0xfa)](_0x20c123,_0x443139(0x104),()=>{const _0x2728f9=_0x443139;this[_0x2728f9(0x142)][_0x2728f9(0x13b)]||_0xaa7d33[_0x2728f9(0x12c)](_0x3a7b49,_0x20c123[_0x2728f9(0x140)]);}),_0x20c123;}),this[_0x4f2e3b(0xfa)](_0x91acc3[_0x4f2e3b(0x14e)],_0x4f2e3b(0xfb),()=>{const _0x4b92ad=_0x4f2e3b;this[_0x4b92ad(0x142)][_0x4b92ad(0x13b)]&&this[_0x4b92ad(0x154)]();}),this[_0x4f2e3b(0xfa)](_0x91acc3[_0x4f2e3b(0x14e)],_0x4f2e3b(0x102),()=>{const _0x219e6a=_0x4f2e3b;this[_0x219e6a(0x136)]&&this[_0x219e6a(0x131)]();}),_0x91acc3[_0x4f2e3b(0x14e)][_0x4f2e3b(0x157)][_0x4f2e3b(0x10f)](_0x4f2e3b(0x12f),(_0x3ad1a8,_0x194386)=>{const _0xbf36e7=_0x4f2e3b;this[_0xbf36e7(0x142)][_0xbf36e7(0x13b)]&&(this[_0xbf36e7(0x154)](),_0x194386());}),_0x91acc3[_0x4f2e3b(0x125)](),_0xd89a91[_0x4f2e3b(0x125)](),_0x12fb9d({'emitter':_0x91acc3,'activator':()=>_0xd89a91[_0x4f2e3b(0x15b)],'contextElements':[_0xd89a91[_0x4f2e3b(0x140)],_0x91acc3[_0x4f2e3b(0x14e)][_0x4f2e3b(0x140)]],'callback':()=>this[_0x4f2e3b(0x131)]()}),_0x534519[_0x4f2e3b(0xfc)][_0x4f2e3b(0x10a)](_0x4f2e3b(0x146))[_0x4f2e3b(0x111)](_0x91acc3[_0x4f2e3b(0x140)]),this[_0x4f2e3b(0x139)]=new _0x540f6d(this[_0x4f2e3b(0x126)][_0x4f2e3b(0x124)]),this[_0x4f2e3b(0x139)][_0x4f2e3b(0x11c)](),this[_0x4f2e3b(0x139)][_0x4f2e3b(0x11e)](this[_0x4f2e3b(0x161)]),_0x91acc3;}[_0x41333e(0x137)](_0x78aeb3){const _0x5e6adc=_0x41333e;if(!this[_0x5e6adc(0x126)][_0x5e6adc(0xfc)][_0x5e6adc(0x10a)](_0x5e6adc(0x149))&&_0x78aeb3[_0x5e6adc(0x12d)])return;const _0x2702db=this[_0x5e6adc(0x126)][_0x5e6adc(0xfc)][_0x5e6adc(0x10a)](_0x5e6adc(0x12b))-0x1;for(this[_0x5e6adc(0x11a)]++;this[_0x5e6adc(0x130)][_0x5e6adc(0x10b)]>=_0x2702db-(this[_0x5e6adc(0x142)][_0x5e6adc(0x13b)]?0x1:0x0)&&this[_0x5e6adc(0x130)][_0x5e6adc(0x10b)]>0x1;)this[_0x5e6adc(0x130)][_0x5e6adc(0x143)](0x1);const _0x21c9b2=_0x78aeb3[_0x5e6adc(0x12d)]?0x0:this[_0x5e6adc(0x130)][_0x5e6adc(0x10b)];this[_0x5e6adc(0x130)][_0x5e6adc(0x11e)](_0x78aeb3,_0x21c9b2);}[_0x41333e(0x145)](_0x461800){const _0x250d26=_0x41333e;this[_0x250d26(0x11a)]--;const {collapseAt:_0x1ec2c6}=this[_0x250d26(0x126)][_0x250d26(0xfc)][_0x250d26(0x10a)](_0x250d26(0x159)),_0x2e0549=this[_0x250d26(0x11a)]>=_0x1ec2c6;if(this[_0x250d26(0x130)][_0x250d26(0x10a)](_0x461800['id']))this[_0x250d26(0x130)][_0x250d26(0x143)](_0x461800['id']);else{if(_0x2e0549&&this[_0x250d26(0x130)][_0x250d26(0x10b)]+0x1===_0x1ec2c6-0x1)return;}if(this[_0x250d26(0x130)][_0x250d26(0x10b)]+(_0x2e0549?0x1:0x0)<this[_0x250d26(0x11a)]){for(const _0x3bfad5 of Array[_0x250d26(0x108)](this[_0x250d26(0x117)])[_0x250d26(0x148)]())if(!this[_0x250d26(0x130)][_0x250d26(0x10a)](_0x3bfad5['id'])&&(this[_0x250d26(0x130)][_0x250d26(0x11e)](_0x3bfad5,Math[_0x250d26(0x113)](this[_0x250d26(0x130)][_0x250d26(0x10b)]-(_0x2e0549?0x1:0x0),0x1)),this[_0x250d26(0x130)][_0x250d26(0x10b)]+(_0x2e0549?0x1:0x0)===_0x1ec2c6-0x1))return;}}[_0x41333e(0x154)](){const _0x2ab623=_0x41333e;if(this[_0x2ab623(0x136)])return;const _0x2b7669=this[_0x2ab623(0x126)][_0x2ab623(0xfc)][_0x2ab623(0x10a)](_0x2ab623(0x159));this[_0x2ab623(0x136)]=new _0x4cbf27(this[_0x2ab623(0x126)][_0x2ab623(0x124)],!!_0x2b7669[_0x2ab623(0x12c)]),this[_0x2ab623(0x142)][_0x2ab623(0x14e)][_0x2ab623(0x100)]=!0x0,this[_0x2ab623(0xfa)](this[_0x2ab623(0x136)],_0x2ab623(0x102),()=>{const _0x883fbe=_0x2ab623;this[_0x883fbe(0x136)]&&this[_0x883fbe(0x131)]();});const {listWrapperView:_0xc783bf}=this[_0x2ab623(0x136)];_0xc783bf[_0x2ab623(0x127)][_0x2ab623(0x119)](this[_0x2ab623(0x117)])[_0x2ab623(0x162)](_0x50a286=>{const _0xc01ef6=_0x2ab623;if(!_0x2b7669[_0xc01ef6(0x15e)]&&_0x50a286[_0xc01ef6(0x12d)])return null;const _0x4f23dc=new _0x4061c1(this[_0xc01ef6(0x126)][_0xc01ef6(0x124)],_0x50a286,!!_0x2b7669[_0xc01ef6(0x12c)]);return _0x2b7669[_0xc01ef6(0x12c)]&&this[_0xc01ef6(0xfa)](_0x4f23dc,_0xc01ef6(0x104),()=>{const _0x39932b=_0xc01ef6;_0x2b7669[_0x39932b(0x12c)](_0x50a286,_0x4f23dc[_0x39932b(0x140)]);}),_0x4f23dc;}),this[_0x2ab623(0x161)][_0x2ab623(0x13f)][_0x2ab623(0x11e)](this[_0x2ab623(0x136)]),this[_0x2ab623(0x161)][_0x2ab623(0x10e)]({'target':this[_0x2ab623(0x142)][_0x2ab623(0x14e)][_0x2ab623(0x140)]}),_0xc783bf[_0x2ab623(0x151)](),_0xc783bf[_0x2ab623(0x10c)]();const _0xa80db0=(_0x924c1f,_0x2237d9)=>{const _0x285693=_0x2ab623;this[_0x285693(0x131)](),this[_0x285693(0x142)][_0x285693(0x14e)][_0x285693(0x151)](),_0x2237d9();};_0xc783bf[_0x2ab623(0x157)][_0x2ab623(0x10f)](_0x2ab623(0x12a),_0xa80db0),_0xc783bf[_0x2ab623(0x157)][_0x2ab623(0x10f)](_0x2ab623(0xff),_0xa80db0),_0xc783bf[_0x2ab623(0x157)][_0x2ab623(0x10f)](_0x2ab623(0xfe),(_0x1efee6,_0x2ed2b9)=>{const _0xbce7cf=_0x2ab623;!function(_0x5cc3f5){const _0x3d73dd=_0x170b,_0x399e03=['a',_0x3d73dd(0xf9),_0x3d73dd(0x129),_0x3d73dd(0x11b),_0x3d73dd(0xfd),_0x3d73dd(0x160),_0x3d73dd(0x138)][_0x3d73dd(0x147)](_0x1a7938=>_0x1a7938+_0x3d73dd(0x135))[_0x3d73dd(0x152)](','),_0xe763ea=[...document[_0x3d73dd(0x13a)][_0x3d73dd(0x12e)](_0x399e03)][_0x3d73dd(0x107)](_0x41105b=>_0x41105b===document[_0x3d73dd(0x158)]||_0x41105b[_0x3d73dd(0x116)]+_0x41105b[_0x3d73dd(0x15d)]>0x0)[_0x3d73dd(0x134)]((_0x9dcf2,_0x4dd276)=>(_0x9dcf2[_0x3d73dd(0x14b)]||0x0)-(_0x4dd276[_0x3d73dd(0x14b)]||0x0)),_0x4041e7=_0xe763ea[_0x3d73dd(0x144)](_0x5cc3f5),_0x33d172=_0xe763ea[(_0x4041e7+0x1)%_0xe763ea[_0x3d73dd(0x10b)]];_0x33d172&&_0x33d172[_0x3d73dd(0x151)]();}(this[_0xbce7cf(0x142)][_0xbce7cf(0x140)]),this[_0xbce7cf(0x131)](),_0x2ed2b9();}),_0xc783bf[_0x2ab623(0x13e)][_0x2ab623(0x11e)](this[_0x2ab623(0x142)][_0x2ab623(0x140)]),_0xc783bf[_0x2ab623(0x13e)]['on'](_0x2ab623(0x133),(_0xd1de80,_0x335981,_0xd4a2d2)=>{const _0x4cf425=_0x2ab623;_0xd4a2d2||this[_0x4cf425(0x131)]();});}[_0x41333e(0x131)](){const _0x5b37a0=_0x41333e;this[_0x5b37a0(0x136)]&&(this[_0x5b37a0(0x142)][_0x5b37a0(0x14e)][_0x5b37a0(0x100)]=!0x1,this[_0x5b37a0(0x161)][_0x5b37a0(0x118)](),this[_0x5b37a0(0x161)][_0x5b37a0(0x13f)][_0x5b37a0(0x143)](this[_0x5b37a0(0x136)]),this[_0x5b37a0(0x136)][_0x5b37a0(0x15f)](),this[_0x5b37a0(0x136)]=void 0x0);}[_0x41333e(0x15f)](){const _0x3e8b34=_0x41333e;super[_0x3e8b34(0x15f)](),this[_0x3e8b34(0x142)]&&this[_0x3e8b34(0x142)][_0x3e8b34(0x11d)]&&this[_0x3e8b34(0x142)][_0x3e8b34(0x15f)](),this[_0x3e8b34(0x139)]&&(this[_0x3e8b34(0x139)][_0x3e8b34(0x132)](),this[_0x3e8b34(0x139)][_0x3e8b34(0x15f)](),this[_0x3e8b34(0x139)]=null);}}
23
+ const _0x220ad4=_0x4e8d;(function(_0x50d119,_0x1506fb){const _0x198a40=_0x4e8d,_0x4b2ac4=_0x50d119();while(!![]){try{const _0x43919e=parseInt(_0x198a40(0x1a5))/0x1+-parseInt(_0x198a40(0x1a9))/0x2*(parseInt(_0x198a40(0x194))/0x3)+parseInt(_0x198a40(0x1b9))/0x4+parseInt(_0x198a40(0x1e1))/0x5*(parseInt(_0x198a40(0x1b6))/0x6)+parseInt(_0x198a40(0x198))/0x7+-parseInt(_0x198a40(0x196))/0x8+parseInt(_0x198a40(0x1c2))/0x9;if(_0x43919e===_0x1506fb)break;else _0x4b2ac4['push'](_0x4b2ac4['shift']());}catch(_0x5d39d7){_0x4b2ac4['push'](_0x4b2ac4['shift']());}}}(_0x2f88,0x2c0d1));import{ContextPlugin as _0x392e58}from'ckeditor5/src/core.js';function _0x4e8d(_0x513796,_0x131f89){const _0x2f8889=_0x2f88();return _0x4e8d=function(_0x4e8dc4,_0x3169f5){_0x4e8dc4=_0x4e8dc4-0x18a;let _0x29db9d=_0x2f8889[_0x4e8dc4];return _0x29db9d;},_0x4e8d(_0x513796,_0x131f89);}import{CKEditorError as _0x4aa0e,Collection as _0x4131e9}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0xd8a4ca,BalloonPanelView as _0x58da5b,BodyCollection as _0x551aed}from'ckeditor5/src/ui.js';import{isElement as _0xcd3e61}from'es-toolkit/compat';import{Sessions as _0x4e2db2}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x4b699e}from'./view/presencelistview.js';import{PresenceCounterView as _0x574e68}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x1edc9a}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x2f0a0d}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x16fb5a}from'./view/presenceinlinelistitemview.js';const U={'collapseAt':0x6,'displayMe':!0x0};function _0x2f88(){const _0x10344b=['isPremiumPlugin','length','counterView','set','ck\x20ck-presence-list__balloon','510687coiTjo','focus','querySelectorAll','detachFromDom','pluginName','onClick','presenceList','listenTo','inlineListView','tabIndex','checkIfScrollable','join','_handleUserRemove','isExpanded','PresenceListUI','input','map','isFocusable','[tabindex]','using','body','_bodyCollection','locale','requires','select','presenceList.container','[contenteditable]','button','find','Enter','textarea','665cdLSXa','remove','bindTo','presencelist:show','_allConnectedUsers','filter','showDropdown','define','render','bind','Tab','balloonPanelView','activeElement','unpin','number','isRendered','_createView','hasTooltip','displayMe','keystrokes','presenceList.displayMe','attachToDom','Esc','presencelist-missing-container','focusTracker','Shift+Tab','sort','isMe',':not([disabled]):not([tabindex=\x22-1\x22])','3djWqVM','get','1734400EFtUQH','items','546945ttMPhc','isOfficialPlugin','content','offsetHeight','isCollapsed','class','plugins','allConnectedUsers','context','presencelist-collapseat-invalid-format','currentDisplayedUsers','element','indexOf','123355eOaPlo','presencelist:hide','hideDropdown','config','120108GcjutG','reverse','offsetWidth','usersCount','view','init','destroy','presenceList.collapseAt','execute','pin','min','from','appendChild','5226lhdtAB','_handleUserAdd','presenceDropdownView','332844VbWRSQ','change:isFocused','isVisible','add'];_0x2f88=function(){return _0x10344b;};return _0x2f88();}export class PresenceListUI extends _0x392e58{[_0x220ad4(0x1a2)];[_0x220ad4(0x1ec)];[_0x220ad4(0x1ad)];[_0x220ad4(0x1b8)];[_0x220ad4(0x1d7)]=null;static get[_0x220ad4(0x1c6)](){const _0x4627f6=_0x220ad4;return _0x4627f6(0x1d0);}static get[_0x220ad4(0x199)](){return!0x0;}static get[_0x220ad4(0x1bd)](){return!0x0;}constructor(_0x394971){const _0x1d2417=_0x220ad4;super(_0x394971),this[_0x1d2417(0x1a0)][_0x1d2417(0x1a8)][_0x1d2417(0x1e8)](_0x1d2417(0x1c8),U);const _0x46ce49=_0x394971[_0x1d2417(0x1a8)][_0x1d2417(0x195)](_0x1d2417(0x1b0));if(_0x1d2417(0x1ef)!=typeof _0x46ce49)throw new _0x4aa0e(_0x1d2417(0x1a1),this);if(_0x46ce49<0x1)throw new _0x4aa0e(_0x1d2417(0x1a1),this);this[_0x1d2417(0x1e5)]=this[_0x1d2417(0x1a0)][_0x1d2417(0x19e)][_0x1d2417(0x195)](_0x4e2db2)[_0x1d2417(0x19f)],this[_0x1d2417(0x1c0)](_0x1d2417(0x1ac),0x0),this[_0x1d2417(0x1a2)]=new _0x4131e9(),this[_0x1d2417(0x1ec)]=new _0x58da5b(),this[_0x1d2417(0x1ec)][_0x1d2417(0x19d)]=_0x1d2417(0x1c1),this[_0x1d2417(0x1ad)]=this[_0x1d2417(0x1f1)](),this[_0x1d2417(0x1b8)]=void 0x0;}static get[_0x220ad4(0x1d9)](){return[_0x4e2db2];}[_0x220ad4(0x1ae)](){const _0x404439=_0x220ad4;for(const _0x874d38 of this[_0x404439(0x1e5)])this[_0x404439(0x1b7)](_0x874d38);this[_0x404439(0x1c9)](this[_0x404439(0x1e5)],_0x404439(0x1bc),(_0x33c76d,_0x157055)=>{const _0x1cd7ff=_0x404439;this[_0x1cd7ff(0x1b7)](_0x157055);}),this[_0x404439(0x1c9)](this[_0x404439(0x1e5)],_0x404439(0x1e2),(_0x49a0bf,_0x487614)=>{const _0x5b59fc=_0x404439;this[_0x5b59fc(0x1ce)](_0x487614);});}[_0x220ad4(0x1f1)](){const _0x552628=_0x220ad4,_0x20294b=this[_0x552628(0x1a0)],_0x55b2ba=new _0x4b699e(this[_0x552628(0x1a0)][_0x552628(0x1d8)],this[_0x552628(0x1a0)][_0x552628(0x1a8)][_0x552628(0x195)](_0x552628(0x1b0))),_0x152476=this[_0x552628(0x1ec)];if(!_0xcd3e61(_0x20294b[_0x552628(0x1a8)][_0x552628(0x195)](_0x552628(0x1db))))throw new _0x4aa0e(_0x552628(0x18e),this);return _0x55b2ba[_0x552628(0x1bf)][_0x552628(0x1ea)](_0x552628(0x1ac))['to'](this),_0x55b2ba[_0x552628(0x1ea)](_0x552628(0x19c))['to'](this,_0x552628(0x1ac),_0x4682c5=>{const _0x5501a8=_0x552628,{collapseAt:_0x23e2c1}=_0x20294b[_0x5501a8(0x1a8)][_0x5501a8(0x195)](_0x5501a8(0x1c8)),_0x37d9f6=_0x4682c5>=_0x23e2c1;if(_0x37d9f6&&!_0x55b2ba[_0x5501a8(0x1ca)][_0x5501a8(0x197)][_0x5501a8(0x1de)](_0x51d5e4=>_0x51d5e4 instanceof _0x574e68)){const _0x139adb=this[_0x5501a8(0x1a0)][_0x5501a8(0x1a8)][_0x5501a8(0x195)](_0x5501a8(0x1b0))-0x1;this[_0x5501a8(0x1a2)][_0x5501a8(0x1be)]==_0x139adb&&this[_0x5501a8(0x1a2)][_0x5501a8(0x1be)]>0x1&&this[_0x5501a8(0x1a2)][_0x5501a8(0x1e2)](this[_0x5501a8(0x1a2)][_0x5501a8(0x1be)]-0x1),_0x55b2ba[_0x5501a8(0x1ca)][_0x5501a8(0x197)][_0x5501a8(0x1bc)](_0x55b2ba[_0x5501a8(0x1bf)]);}return _0x37d9f6||this[_0x5501a8(0x1a7)](),_0x37d9f6;}),_0x55b2ba[_0x552628(0x1ca)][_0x552628(0x197)][_0x552628(0x1e3)](this[_0x552628(0x1a2)])[_0x552628(0x1d5)](_0xb7d800=>{const _0x1fecf4=_0x552628,_0x4bbcac=_0x20294b[_0x1fecf4(0x1a8)][_0x1fecf4(0x195)](_0x1fecf4(0x1c8)),_0x24a3ed=new _0x16fb5a(_0x20294b[_0x1fecf4(0x1d8)],_0xb7d800,!!_0x4bbcac[_0x1fecf4(0x1c7)]);return _0x24a3ed[_0x1fecf4(0x1ea)](_0x1fecf4(0x1f2))['to'](_0x55b2ba,_0x1fecf4(0x19c),_0x328030=>!_0x328030),_0x24a3ed[_0x1fecf4(0x1ea)](_0x1fecf4(0x1d3))['to'](_0x55b2ba,_0x1fecf4(0x19c),_0x361cf4=>!_0x361cf4),_0x4bbcac[_0x1fecf4(0x1c7)]&&this[_0x1fecf4(0x1c9)](_0x24a3ed,_0x1fecf4(0x1b1),()=>{const _0x23b2a9=_0x1fecf4;this[_0x23b2a9(0x1ad)][_0x23b2a9(0x19c)]||_0x4bbcac[_0x23b2a9(0x1c7)](_0xb7d800,_0x24a3ed[_0x23b2a9(0x1a3)]);}),_0x24a3ed;}),this[_0x552628(0x1c9)](_0x55b2ba[_0x552628(0x1ca)],_0x552628(0x1e4),()=>{const _0x18ecb6=_0x552628;this[_0x18ecb6(0x1ad)][_0x18ecb6(0x19c)]&&this[_0x18ecb6(0x1e7)]();}),this[_0x552628(0x1c9)](_0x55b2ba[_0x552628(0x1ca)],_0x552628(0x1a6),()=>{const _0x5dd6d1=_0x552628;this[_0x5dd6d1(0x1b8)]&&this[_0x5dd6d1(0x1a7)]();}),_0x55b2ba[_0x552628(0x1ca)][_0x552628(0x18a)][_0x552628(0x1c0)](_0x552628(0x1df),(_0xc3b371,_0x3a5d53)=>{const _0x47631b=_0x552628;this[_0x47631b(0x1ad)][_0x47631b(0x19c)]&&(this[_0x47631b(0x1e7)](),_0x3a5d53());}),_0x55b2ba[_0x552628(0x1e9)](),_0x152476[_0x552628(0x1e9)](),_0xd8a4ca({'emitter':_0x55b2ba,'activator':()=>_0x152476[_0x552628(0x1bb)],'contextElements':[_0x152476[_0x552628(0x1a3)],_0x55b2ba[_0x552628(0x1ca)][_0x552628(0x1a3)]],'callback':()=>this[_0x552628(0x1a7)]()}),_0x20294b[_0x552628(0x1a8)][_0x552628(0x195)](_0x552628(0x1db))[_0x552628(0x1b5)](_0x55b2ba[_0x552628(0x1a3)]),this[_0x552628(0x1d7)]=new _0x551aed(this[_0x552628(0x1a0)][_0x552628(0x1d8)]),this[_0x552628(0x1d7)][_0x552628(0x18c)](),this[_0x552628(0x1d7)][_0x552628(0x1bc)](this[_0x552628(0x1ec)]),_0x55b2ba;}[_0x220ad4(0x1b7)](_0x1979db){const _0x35b5c0=_0x220ad4;if(!this[_0x35b5c0(0x1a0)][_0x35b5c0(0x1a8)][_0x35b5c0(0x195)](_0x35b5c0(0x18b))&&_0x1979db[_0x35b5c0(0x192)])return;const _0x18cabe=this[_0x35b5c0(0x1a0)][_0x35b5c0(0x1a8)][_0x35b5c0(0x195)](_0x35b5c0(0x1b0))-0x1;for(this[_0x35b5c0(0x1ac)]++;this[_0x35b5c0(0x1a2)][_0x35b5c0(0x1be)]>=_0x18cabe-(this[_0x35b5c0(0x1ad)][_0x35b5c0(0x19c)]?0x1:0x0)&&this[_0x35b5c0(0x1a2)][_0x35b5c0(0x1be)]>0x1;)this[_0x35b5c0(0x1a2)][_0x35b5c0(0x1e2)](0x1);const _0x1090e4=_0x1979db[_0x35b5c0(0x192)]?0x0:this[_0x35b5c0(0x1a2)][_0x35b5c0(0x1be)];this[_0x35b5c0(0x1a2)][_0x35b5c0(0x1bc)](_0x1979db,_0x1090e4);}[_0x220ad4(0x1ce)](_0xc18588){const _0x2b9b83=_0x220ad4;this[_0x2b9b83(0x1ac)]--;const {collapseAt:_0x515af4}=this[_0x2b9b83(0x1a0)][_0x2b9b83(0x1a8)][_0x2b9b83(0x195)](_0x2b9b83(0x1c8)),_0x60de23=this[_0x2b9b83(0x1ac)]>=_0x515af4;if(this[_0x2b9b83(0x1a2)][_0x2b9b83(0x195)](_0xc18588['id']))this[_0x2b9b83(0x1a2)][_0x2b9b83(0x1e2)](_0xc18588['id']);else{if(_0x60de23&&this[_0x2b9b83(0x1a2)][_0x2b9b83(0x1be)]+0x1===_0x515af4-0x1)return;}if(this[_0x2b9b83(0x1a2)][_0x2b9b83(0x1be)]+(_0x60de23?0x1:0x0)<this[_0x2b9b83(0x1ac)]){for(const _0x5a55fe of Array[_0x2b9b83(0x1b4)](this[_0x2b9b83(0x1e5)])[_0x2b9b83(0x1aa)]())if(!this[_0x2b9b83(0x1a2)][_0x2b9b83(0x195)](_0x5a55fe['id'])&&(this[_0x2b9b83(0x1a2)][_0x2b9b83(0x1bc)](_0x5a55fe,Math[_0x2b9b83(0x1b3)](this[_0x2b9b83(0x1a2)][_0x2b9b83(0x1be)]-(_0x60de23?0x1:0x0),0x1)),this[_0x2b9b83(0x1a2)][_0x2b9b83(0x1be)]+(_0x60de23?0x1:0x0)===_0x515af4-0x1))return;}}[_0x220ad4(0x1e7)](){const _0x489eab=_0x220ad4;if(this[_0x489eab(0x1b8)])return;const _0x4fb305=this[_0x489eab(0x1a0)][_0x489eab(0x1a8)][_0x489eab(0x195)](_0x489eab(0x1c8));this[_0x489eab(0x1b8)]=new _0x1edc9a(this[_0x489eab(0x1a0)][_0x489eab(0x1d8)],!!_0x4fb305[_0x489eab(0x1c7)]),this[_0x489eab(0x1ad)][_0x489eab(0x1ca)][_0x489eab(0x1cf)]=!0x0,this[_0x489eab(0x1c9)](this[_0x489eab(0x1b8)],_0x489eab(0x1a6),()=>{const _0x1e97ee=_0x489eab;this[_0x1e97ee(0x1b8)]&&this[_0x1e97ee(0x1a7)]();});const {listWrapperView:_0x1c19b1}=this[_0x489eab(0x1b8)];_0x1c19b1[_0x489eab(0x197)][_0x489eab(0x1e3)](this[_0x489eab(0x1e5)])[_0x489eab(0x1d5)](_0x4abee3=>{const _0x39f635=_0x489eab;if(!_0x4fb305[_0x39f635(0x1f3)]&&_0x4abee3[_0x39f635(0x192)])return null;const _0xa3e020=new _0x2f0a0d(this[_0x39f635(0x1a0)][_0x39f635(0x1d8)],_0x4abee3,!!_0x4fb305[_0x39f635(0x1c7)]);return _0x4fb305[_0x39f635(0x1c7)]&&this[_0x39f635(0x1c9)](_0xa3e020,_0x39f635(0x1b1),()=>{const _0x337d3e=_0x39f635;_0x4fb305[_0x337d3e(0x1c7)](_0x4abee3,_0xa3e020[_0x337d3e(0x1a3)]);}),_0xa3e020;}),this[_0x489eab(0x1ec)][_0x489eab(0x19a)][_0x489eab(0x1bc)](this[_0x489eab(0x1b8)]),this[_0x489eab(0x1ec)][_0x489eab(0x1b2)]({'target':this[_0x489eab(0x1ad)][_0x489eab(0x1ca)][_0x489eab(0x1a3)]}),_0x1c19b1[_0x489eab(0x1c3)](),_0x1c19b1[_0x489eab(0x1cc)]();const _0x5d1e21=(_0x251518,_0x33b7a1)=>{const _0x368658=_0x489eab;this[_0x368658(0x1a7)](),this[_0x368658(0x1ad)][_0x368658(0x1ca)][_0x368658(0x1c3)](),_0x33b7a1();};_0x1c19b1[_0x489eab(0x18a)][_0x489eab(0x1c0)](_0x489eab(0x18d),_0x5d1e21),_0x1c19b1[_0x489eab(0x18a)][_0x489eab(0x1c0)](_0x489eab(0x190),_0x5d1e21),_0x1c19b1[_0x489eab(0x18a)][_0x489eab(0x1c0)](_0x489eab(0x1eb),(_0x29da11,_0x209384)=>{const _0xdc5288=_0x489eab;!function(_0x319414){const _0x157506=_0x4e8d,_0x32d90d=['a',_0x157506(0x1dd),_0x157506(0x1d1),_0x157506(0x1da),_0x157506(0x1e0),_0x157506(0x1d4),_0x157506(0x1dc)][_0x157506(0x1d2)](_0x1e9f56=>_0x1e9f56+_0x157506(0x193))[_0x157506(0x1cd)](','),_0x1a7ac4=[...document[_0x157506(0x1d6)][_0x157506(0x1c4)](_0x32d90d)][_0x157506(0x1e6)](_0xf539d4=>_0xf539d4===document[_0x157506(0x1ed)]||_0xf539d4[_0x157506(0x1ab)]+_0xf539d4[_0x157506(0x19b)]>0x0)[_0x157506(0x191)]((_0x315ce8,_0x32883a)=>(_0x315ce8[_0x157506(0x1cb)]||0x0)-(_0x32883a[_0x157506(0x1cb)]||0x0)),_0x27800a=_0x1a7ac4[_0x157506(0x1a4)](_0x319414),_0x375e0f=_0x1a7ac4[(_0x27800a+0x1)%_0x1a7ac4[_0x157506(0x1be)]];_0x375e0f&&_0x375e0f[_0x157506(0x1c3)]();}(this[_0xdc5288(0x1ad)][_0xdc5288(0x1a3)]),this[_0xdc5288(0x1a7)](),_0x209384();}),_0x1c19b1[_0x489eab(0x18f)][_0x489eab(0x1bc)](this[_0x489eab(0x1ad)][_0x489eab(0x1a3)]),_0x1c19b1[_0x489eab(0x18f)]['on'](_0x489eab(0x1ba),(_0x4d9e06,_0xa11d1f,_0x1e527d)=>{const _0x3feb78=_0x489eab;_0x1e527d||this[_0x3feb78(0x1a7)]();});}[_0x220ad4(0x1a7)](){const _0x4a4b1a=_0x220ad4;this[_0x4a4b1a(0x1b8)]&&(this[_0x4a4b1a(0x1ad)][_0x4a4b1a(0x1ca)][_0x4a4b1a(0x1cf)]=!0x1,this[_0x4a4b1a(0x1ec)][_0x4a4b1a(0x1ee)](),this[_0x4a4b1a(0x1ec)][_0x4a4b1a(0x19a)][_0x4a4b1a(0x1e2)](this[_0x4a4b1a(0x1b8)]),this[_0x4a4b1a(0x1b8)][_0x4a4b1a(0x1af)](),this[_0x4a4b1a(0x1b8)]=void 0x0);}[_0x220ad4(0x1af)](){const _0xede0dd=_0x220ad4;super[_0xede0dd(0x1af)](),this[_0xede0dd(0x1ad)]&&this[_0xede0dd(0x1ad)][_0xede0dd(0x1f0)]&&this[_0xede0dd(0x1ad)][_0xede0dd(0x1af)](),this[_0xede0dd(0x1d7)]&&(this[_0xede0dd(0x1d7)][_0xede0dd(0x1c5)](),this[_0xede0dd(0x1d7)][_0xede0dd(0x1af)](),this[_0xede0dd(0x1d7)]=null);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xf4c9(_0x3b6495,_0x32cadb){const _0x7c8ced=_0x7c8c();return _0xf4c9=function(_0xf4c9e4,_0x1ec289){_0xf4c9e4=_0xf4c9e4-0x1a4;let _0x7087e7=_0x7c8ced[_0xf4c9e4];return _0x7087e7;},_0xf4c9(_0x3b6495,_0x32cadb);}function _0x7c8c(){const _0x2d2f90=['9783pBFCtR','element','ariaLabelledBy','ck-list','listenTo','ck-presence-list__dropdown-list','Connected\x20users\x20list\x20dropdown\x20menu','4JdKBea','156DSLkmx','clientHeight','ck-reset','contains','.ck-balloon-panel_with-arrow','querySelector','max','10507336EFFjBZ','.ck-presence-list__list','listWrapperView','change','408121xPPcnj','div','resize','bindTemplate','role','_isScrollable','relatedTarget','innerHeight','ariaLabel','ck-presence-list__dropdown-list-wrapper_scrollable','presencelist:hide','ck-presence-list__dropdown-list-wrapper','141916vtPYdy','render','5442bvOEud','32599303KgpCbA','window','application','setTemplate','scrollHeight','checkIfScrollable','items','63520nvqWdm','fire','6570wwnUSa','8070AXJLQq','set'];_0x7c8c=function(){return _0x2d2f90;};return _0x7c8c();}const _0x43260b=_0xf4c9;(function(_0x1035b2,_0x2f0f95){const _0x500f06=_0xf4c9,_0x4cde3f=_0x1035b2();while(!![]){try{const _0x5b8a8c=parseInt(_0x500f06(0x1d0))/0x1*(-parseInt(_0x500f06(0x1c4))/0x2)+-parseInt(_0x500f06(0x1c5))/0x3*(parseInt(_0x500f06(0x1ae))/0x4)+-parseInt(_0x500f06(0x1bb))/0x5*(-parseInt(_0x500f06(0x1b0))/0x6)+-parseInt(_0x500f06(0x1cc))/0x7+parseInt(_0x500f06(0x1b8))/0x8+-parseInt(_0x500f06(0x1bd))/0x9*(-parseInt(_0x500f06(0x1ba))/0xa)+parseInt(_0x500f06(0x1b1))/0xb;if(_0x5b8a8c===_0x2f0f95)break;else _0x4cde3f['push'](_0x4cde3f['shift']());}catch(_0x13047d){_0x4cde3f['push'](_0x4cde3f['shift']());}}}(_0x7c8c,0xf10ec));import{ListView as _0x1ead08,View as _0x39946c}from'ckeditor5/src/ui.js';import{global as _0x4a4eff}from'ckeditor5/src/utils.js';import{getTranslation as _0x564fbd}from'../../common-translations.js';export class PresenceDropdownListView extends _0x39946c{[_0x43260b(0x1ce)];constructor(_0x5753d8,_0x2f5d43){const _0x2bb3d7=_0x43260b;super(_0x5753d8);const _0x2ea1a4=this[_0x2bb3d7(0x1a5)];this[_0x2bb3d7(0x1ce)]=new PresenceDropdownListWrapperView(_0x5753d8,_0x2f5d43),this[_0x2bb3d7(0x1b4)]({'tag':_0x2bb3d7(0x1d1),'attributes':{'tabindex':-0x1,'role':_0x2bb3d7(0x1b3),'class':['ck',_0x2bb3d7(0x1c2)],'aria-label':_0x564fbd(_0x5753d8,_0x2bb3d7(0x1c3))},'children':[this[_0x2bb3d7(0x1ce)]],'on':{'mouseleave':_0x2ea1a4['to'](_0x583e8b=>{const _0x3d98c0=_0x2bb3d7,_0x15880c=_0x583e8b,_0x3d9b2a=document[_0x3d98c0(0x1ca)](_0x3d98c0(0x1cd)),_0x32e814=document[_0x3d98c0(0x1ca)](_0x3d98c0(0x1c9));_0x3d9b2a?.[_0x3d98c0(0x1c8)](_0x15880c[_0x3d98c0(0x1a8)])||_0x32e814?.[_0x3d98c0(0x1c8)](_0x15880c[_0x3d98c0(0x1a8)])||this[_0x3d98c0(0x1b9)](_0x3d98c0(0x1ac));})}});}}export class PresenceDropdownListWrapperView extends _0x1ead08{constructor(_0x5d1aba,_0x52fa7f){const _0x2ba6c3=_0x43260b;super(_0x5d1aba);const _0x2d3daa=this[_0x2ba6c3(0x1a5)];this[_0x2ba6c3(0x1bc)](_0x2ba6c3(0x1a7),!0x1),this[_0x2ba6c3(0x1b4)]({'tag':_0x52fa7f?_0x2ba6c3(0x1d1):'ul','attributes':{'class':['ck',_0x2ba6c3(0x1c7),_0x2ba6c3(0x1c0),_0x2ba6c3(0x1ad),_0x2d3daa['if'](_0x2ba6c3(0x1a7),_0x2ba6c3(0x1ab))],'role':_0x2d3daa['to'](_0x2ba6c3(0x1a6)),'aria-label':_0x2d3daa['to'](_0x2ba6c3(0x1aa)),'aria-labelledby':_0x2d3daa['to'](_0x2ba6c3(0x1bf))},'children':this[_0x2ba6c3(0x1b7)]}),this[_0x2ba6c3(0x1c1)](_0x4a4eff[_0x2ba6c3(0x1b2)],_0x2ba6c3(0x1a4),()=>this[_0x2ba6c3(0x1b6)]()),this[_0x2ba6c3(0x1b7)]['on'](_0x2ba6c3(0x1cf),()=>this[_0x2ba6c3(0x1b6)]());}[_0x43260b(0x1af)](){const _0x3a55d8=_0x43260b;super[_0x3a55d8(0x1af)](),this[_0x3a55d8(0x1b6)]();}[_0x43260b(0x1b6)](){const _0x3117a9=_0x43260b,_0x18c611=this[_0x3117a9(0x1be)];_0x18c611&&(this[_0x3117a9(0x1a7)]=Math[_0x3117a9(0x1cb)](_0x18c611[_0x3117a9(0x1b5)],_0x18c611[_0x3117a9(0x1c6)])>0.8*window[_0x3117a9(0x1a9)]);}}
23
+ const _0x464f80=_0x119a;(function(_0x171cb3,_0x22f40d){const _0x2345b8=_0x119a,_0x440695=_0x171cb3();while(!![]){try{const _0x355155=-parseInt(_0x2345b8(0x1a3))/0x1+-parseInt(_0x2345b8(0x1c1))/0x2+parseInt(_0x2345b8(0x1c2))/0x3+-parseInt(_0x2345b8(0x1b2))/0x4*(-parseInt(_0x2345b8(0x1c0))/0x5)+parseInt(_0x2345b8(0x1b3))/0x6+-parseInt(_0x2345b8(0x1b8))/0x7*(parseInt(_0x2345b8(0x1a6))/0x8)+-parseInt(_0x2345b8(0x1a0))/0x9;if(_0x355155===_0x22f40d)break;else _0x440695['push'](_0x440695['shift']());}catch(_0x3ea83e){_0x440695['push'](_0x440695['shift']());}}}(_0x4242,0x8e408));import{ListView as _0x3fc47c,View as _0xa932fa}from'ckeditor5/src/ui.js';function _0x119a(_0x4242de,_0xbeb213){const _0x4242f1=_0x4242();return _0x119a=function(_0x119ab2,_0x707690){_0x119ab2=_0x119ab2-0x1a0;let _0x36888a=_0x4242f1[_0x119ab2];return _0x36888a;},_0x119a(_0x4242de,_0xbeb213);}import{global as _0x1ab330}from'ckeditor5/src/utils.js';import{getTranslation as _0x78f100}from'../../common-translations.js';export class PresenceDropdownListView extends _0xa932fa{[_0x464f80(0x1aa)];constructor(_0x262c10,_0x4b3236){const _0x2ceeb6=_0x464f80;super(_0x262c10);const _0x38007b=this[_0x2ceeb6(0x1b5)];this[_0x2ceeb6(0x1aa)]=new PresenceDropdownListWrapperView(_0x262c10,_0x4b3236),this[_0x2ceeb6(0x1b7)]({'tag':_0x2ceeb6(0x1ad),'attributes':{'tabindex':-0x1,'role':_0x2ceeb6(0x1af),'class':['ck',_0x2ceeb6(0x1c6)],'aria-label':_0x78f100(_0x262c10,_0x2ceeb6(0x1ac))},'children':[this[_0x2ceeb6(0x1aa)]],'on':{'mouseleave':_0x38007b['to'](_0x40d6b7=>{const _0x3038e7=_0x2ceeb6,_0x4d7ff6=_0x40d6b7,_0x799d29=document[_0x3038e7(0x1ae)](_0x3038e7(0x1a9)),_0x45fec0=document[_0x3038e7(0x1ae)](_0x3038e7(0x1b4));_0x799d29?.[_0x3038e7(0x1a1)](_0x4d7ff6[_0x3038e7(0x1be)])||_0x45fec0?.[_0x3038e7(0x1a1)](_0x4d7ff6[_0x3038e7(0x1be)])||this[_0x3038e7(0x1a8)](_0x3038e7(0x1bd));})}});}}export class PresenceDropdownListWrapperView extends _0x3fc47c{constructor(_0x2d07a4,_0x322c6f){const _0x442155=_0x464f80;super(_0x2d07a4);const _0x4a25e6=this[_0x442155(0x1b5)];this[_0x442155(0x1bc)](_0x442155(0x1bb),!0x1),this[_0x442155(0x1b7)]({'tag':_0x322c6f?_0x442155(0x1ad):'ul','attributes':{'class':['ck',_0x442155(0x1a2),_0x442155(0x1ab),_0x442155(0x1a7),_0x4a25e6['if'](_0x442155(0x1bb),_0x442155(0x1b1))],'role':_0x4a25e6['to'](_0x442155(0x1a4)),'aria-label':_0x4a25e6['to'](_0x442155(0x1c3)),'aria-labelledby':_0x4a25e6['to'](_0x442155(0x1b0))},'children':this[_0x442155(0x1c4)]}),this[_0x442155(0x1c7)](_0x1ab330[_0x442155(0x1ba)],_0x442155(0x1c8),()=>this[_0x442155(0x1b6)]()),this[_0x442155(0x1c4)]['on'](_0x442155(0x1b9),()=>this[_0x442155(0x1b6)]());}[_0x464f80(0x1bf)](){const _0x3ff062=_0x464f80;super[_0x3ff062(0x1bf)](),this[_0x3ff062(0x1b6)]();}[_0x464f80(0x1b6)](){const _0x29afcd=_0x464f80,_0x3e3bff=this[_0x29afcd(0x1c9)];_0x3e3bff&&(this[_0x29afcd(0x1bb)]=Math[_0x29afcd(0x1c5)](_0x3e3bff[_0x29afcd(0x1a5)],_0x3e3bff[_0x29afcd(0x1ca)])>0.8*window[_0x29afcd(0x1cb)]);}}function _0x4242(){const _0x597760=['.ck-presence-list__list','listWrapperView','ck-list','Connected\x20users\x20list\x20dropdown\x20menu','div','querySelector','application','ariaLabelledBy','ck-presence-list__dropdown-list-wrapper_scrollable','3227764Stqoly','5109222WFOKsT','.ck-balloon-panel_with-arrow','bindTemplate','checkIfScrollable','setTemplate','7YNFRZZ','change','window','_isScrollable','set','presencelist:hide','relatedTarget','render','5TWfHZd','639934kDqOgJ','1398705KEMgAJ','ariaLabel','items','max','ck-presence-list__dropdown-list','listenTo','resize','element','clientHeight','innerHeight','1168092udQRjM','contains','ck-reset','830140MyPzTk','role','scrollHeight','2097232jHAELJ','ck-presence-list__dropdown-list-wrapper','fire'];_0x4242=function(){return _0x597760;};return _0x4242();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xc137(){const _0x1d6bcb=['bindTemplate','color','span','ck-presence-list__list-item__tooltip','name','162670LmhsIz','ck-presence-list__list-item','161739zHQKaP','userView','80290wXTvDE','true','execute','set','getBackgroundColorClass','template','56CcfvKA','483005VBZTRW','div','12lDyZVI','231VoqgMG','button','isFocusable','tooltipPosition','345519ydbxzD','text','ck-presence-list__marker','listitem','533184JyMIjR','fire','tag','126mRbCPK','markerView','1187tTavuV','setTemplate','hasTooltip'];_0xc137=function(){return _0x1d6bcb;};return _0xc137();}const _0x14a4b3=_0x4849;(function(_0x3d466e,_0x34eb99){const _0x33d5b4=_0x4849,_0x2b7e08=_0x3d466e();while(!![]){try{const _0x1a9655=-parseInt(_0x33d5b4(0x9c))/0x1*(-parseInt(_0x33d5b4(0x9a))/0x2)+parseInt(_0x33d5b4(0xb6))/0x3*(-parseInt(_0x33d5b4(0xb1))/0x4)+-parseInt(_0x33d5b4(0xaf))/0x5+parseInt(_0x33d5b4(0x97))/0x6+-parseInt(_0x33d5b4(0xa8))/0x7+-parseInt(_0x33d5b4(0xae))/0x8*(-parseInt(_0x33d5b4(0xa6))/0x9)+parseInt(_0x33d5b4(0xa4))/0xa*(parseInt(_0x33d5b4(0xb2))/0xb);if(_0x1a9655===_0x34eb99)break;else _0x2b7e08['push'](_0x2b7e08['shift']());}catch(_0x29974f){_0x2b7e08['push'](_0x2b7e08['shift']());}}}(_0xc137,0x2b533));import{LabelView as _0x43860a,View as _0x58b0e1}from'ckeditor5/src/ui.js';import{UserView as _0x265979}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4849(_0x3eaf88,_0x1eac3d){const _0xc137dd=_0xc137();return _0x4849=function(_0x484975,_0x311c21){_0x484975=_0x484975-0x95;let _0x45c91b=_0xc137dd[_0x484975];return _0x45c91b;},_0x4849(_0x3eaf88,_0x1eac3d);}export class PresenceInlineListItemView extends _0x58b0e1{[_0x14a4b3(0xa7)];[_0x14a4b3(0x9b)];constructor(_0x3a214d,_0x425859,_0x5cda94){const _0x2333d7=_0x14a4b3;super(_0x3a214d);const _0x4ba96a=this[_0x2333d7(0x9f)];this[_0x2333d7(0xab)](_0x2333d7(0xb4),!0x1),this[_0x2333d7(0xab)](_0x2333d7(0x9e),!0x0),this[_0x2333d7(0xab)](_0x2333d7(0xb5),''),this[_0x2333d7(0xa7)]=new _0x265979(_0x3a214d,_0x425859),this[_0x2333d7(0x9b)]=new lt(_0x3a214d,_0x425859);const _0x3355a5=new _0x43860a(_0x3a214d);_0x3355a5[_0x2333d7(0xad)][_0x2333d7(0x99)]=_0x2333d7(0xa1),_0x3355a5[_0x2333d7(0xb7)]=_0x425859[_0x2333d7(0xa3)];const _0x22508e={'tag':_0x2333d7(0xb0),'attributes':{'class':['ck',_0x2333d7(0xa5)],'role':_0x2333d7(0x96),'tabindex':_0x4ba96a['to'](_0x2333d7(0xb4),_0xaa3664=>!!_0xaa3664&&0x0),'aria-labelledby':_0x3355a5['id'],'data-cke-tooltip-text':this[_0x2333d7(0xa7)][_0x2333d7(0xa3)],'data-cke-tooltip-position':_0x4ba96a['to'](_0x2333d7(0xb5)),'data-cke-tooltip-disabled':_0x4ba96a['to'](_0x2333d7(0x9e),_0xa9d74e=>!_0xa9d74e),'data-cke-tooltip-class':_0x2333d7(0xa2)},'children':[this[_0x2333d7(0xa7)],this[_0x2333d7(0x9b)],_0x3355a5]};_0x5cda94&&(_0x22508e[_0x2333d7(0x99)]=_0x2333d7(0xb3),_0x22508e['on']={'click':_0x4ba96a['to'](()=>this[_0x2333d7(0x98)](_0x2333d7(0xaa)))}),this[_0x2333d7(0x9d)](_0x22508e);}}class lt extends _0x58b0e1{constructor(_0x527da0,_0x42a60a){const _0x2b38ae=_0x14a4b3;super(_0x527da0),this[_0x2b38ae(0x9d)]({'tag':_0x2b38ae(0xa1),'attributes':{'class':['ck',_0x2b38ae(0x95),_0x42a60a[_0x2b38ae(0xa0)][_0x2b38ae(0xac)]()],'aria-hidden':_0x2b38ae(0xa9)}});}}
23
+ const _0x43b74e=_0x3a40;(function(_0xb2afde,_0x130f93){const _0x14688a=_0x3a40,_0x1246aa=_0xb2afde();while(!![]){try{const _0x3b9624=parseInt(_0x14688a(0xdb))/0x1*(-parseInt(_0x14688a(0xe0))/0x2)+-parseInt(_0x14688a(0xdf))/0x3+-parseInt(_0x14688a(0xd9))/0x4*(parseInt(_0x14688a(0xe9))/0x5)+-parseInt(_0x14688a(0xcd))/0x6+parseInt(_0x14688a(0xd5))/0x7+-parseInt(_0x14688a(0xca))/0x8*(parseInt(_0x14688a(0xe3))/0x9)+parseInt(_0x14688a(0xcf))/0xa;if(_0x3b9624===_0x130f93)break;else _0x1246aa['push'](_0x1246aa['shift']());}catch(_0x196987){_0x1246aa['push'](_0x1246aa['shift']());}}}(_0x296c,0x9885c));import{LabelView as _0x224f4d,View as _0x31b0fb}from'ckeditor5/src/ui.js';function _0x296c(){const _0x1315e7=['295461UkMArT','userView','getBackgroundColorClass','execute','2195625rYaJXn','2hzzmUn','ck-presence-list__list-item__tooltip','listitem','72QxmUAD','bindTemplate','tag','color','div','text','18070mjuxbE','button','ck-presence-list__marker','1186304MBWfjM','markerView','name','4724502cRjpgU','ck-presence-list__list-item','37846190zHoVul','fire','isFocusable','template','true','set','2354016EiQcyR','span','hasTooltip','tooltipPosition','548mrTHFX','setTemplate'];_0x296c=function(){return _0x1315e7;};return _0x296c();}import{UserView as _0x21e6d1}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3a40(_0x4fdfd2,_0x2768d6){const _0x296cb4=_0x296c();return _0x3a40=function(_0x3a400d,_0x4a991b){_0x3a400d=_0x3a400d-0xca;let _0x209cb9=_0x296cb4[_0x3a400d];return _0x209cb9;},_0x3a40(_0x4fdfd2,_0x2768d6);}export class PresenceInlineListItemView extends _0x31b0fb{[_0x43b74e(0xdc)];[_0x43b74e(0xcb)];constructor(_0x44486c,_0x9f2f55,_0x14976f){const _0x45bab4=_0x43b74e;super(_0x44486c);const _0x4ce117=this[_0x45bab4(0xe4)];this[_0x45bab4(0xd4)](_0x45bab4(0xd1),!0x1),this[_0x45bab4(0xd4)](_0x45bab4(0xd7),!0x0),this[_0x45bab4(0xd4)](_0x45bab4(0xd8),''),this[_0x45bab4(0xdc)]=new _0x21e6d1(_0x44486c,_0x9f2f55),this[_0x45bab4(0xcb)]=new at(_0x44486c,_0x9f2f55);const _0x4c07d4=new _0x224f4d(_0x44486c);_0x4c07d4[_0x45bab4(0xd2)][_0x45bab4(0xe5)]=_0x45bab4(0xd6),_0x4c07d4[_0x45bab4(0xe8)]=_0x9f2f55[_0x45bab4(0xcc)];const _0x105e01={'tag':_0x45bab4(0xe7),'attributes':{'class':['ck',_0x45bab4(0xce)],'role':_0x45bab4(0xe2),'tabindex':_0x4ce117['to'](_0x45bab4(0xd1),_0x3b525e=>!!_0x3b525e&&0x0),'aria-labelledby':_0x4c07d4['id'],'data-cke-tooltip-text':this[_0x45bab4(0xdc)][_0x45bab4(0xcc)],'data-cke-tooltip-position':_0x4ce117['to'](_0x45bab4(0xd8)),'data-cke-tooltip-disabled':_0x4ce117['to'](_0x45bab4(0xd7),_0x260b5b=>!_0x260b5b),'data-cke-tooltip-class':_0x45bab4(0xe1)},'children':[this[_0x45bab4(0xdc)],this[_0x45bab4(0xcb)],_0x4c07d4]};_0x14976f&&(_0x105e01[_0x45bab4(0xe5)]=_0x45bab4(0xea),_0x105e01['on']={'click':_0x4ce117['to'](()=>this[_0x45bab4(0xd0)](_0x45bab4(0xde)))}),this[_0x45bab4(0xda)](_0x105e01);}}class at extends _0x31b0fb{constructor(_0x20cbcd,_0x50007d){const _0x3b9171=_0x43b74e;super(_0x20cbcd),this[_0x3b9171(0xda)]({'tag':_0x3b9171(0xd6),'attributes':{'class':['ck',_0x3b9171(0xeb),_0x50007d[_0x3b9171(0xe6)][_0x3b9171(0xdd)]()],'aria-hidden':_0x3b9171(0xd3)}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x439f(){const _0xc71306=['listenTo','keystrokes','querySelector','change:hasPopup','set','items','6OgVVKw','element','focus','9Yukffw','list','setTemplate','2214666OkJRaV','aria-expanded','bindTemplate','671895eHUSmk','ck-presence-list__list','isExpanded','.ck-balloon-panel_with-arrow','886184ZzihoX','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','relatedTarget','.ck-presence-list__dropdown-list','hasPopup','Connected\x20users\x20list','6888eCkmVI','258409nnEFZq','2556870OxQcKy','render','17046zprSGU','div','presencelist:hide','fire','setAttribute','removeAttribute','createCollection','contains','presencelist:show'];_0x439f=function(){return _0xc71306;};return _0x439f();}const _0x99c326=_0xc51f;(function(_0x4a531c,_0x16c298){const _0x35155a=_0xc51f,_0x482137=_0x4a531c();while(!![]){try{const _0xca8773=-parseInt(_0x35155a(0xd4))/0x1+parseInt(_0x35155a(0xc0))/0x2*(-parseInt(_0x35155a(0xc3))/0x3)+-parseInt(_0x35155a(0xcd))/0x4+-parseInt(_0x35155a(0xd5))/0x5+-parseInt(_0x35155a(0xc6))/0x6+parseInt(_0x35155a(0xc9))/0x7+-parseInt(_0x35155a(0xd3))/0x8*(-parseInt(_0x35155a(0xd7))/0x9);if(_0xca8773===_0x16c298)break;else _0x482137['push'](_0x482137['shift']());}catch(_0x1c06de){_0x482137['push'](_0x482137['shift']());}}}(_0x439f,0x596be));import{View as _0x3959b7}from'ckeditor5/src/ui.js';function _0xc51f(_0x3e5049,_0x294460){const _0x439f1a=_0x439f();return _0xc51f=function(_0xc51f8d,_0x13f2f4){_0xc51f8d=_0xc51f8d-0xb9;let _0x1ec557=_0x439f1a[_0xc51f8d];return _0x1ec557;},_0xc51f(_0x3e5049,_0x294460);}import{KeystrokeHandler as _0x3bf4ca}from'ckeditor5/src/utils.js';import{getTranslation as _0x42437a}from'../../common-translations.js';export class PresenceInlineListView extends _0x3959b7{[_0x99c326(0xbf)];[_0x99c326(0xbb)];constructor(_0xac5146){const _0x47d968=_0x99c326;super(_0xac5146);const _0x5368a9=this[_0x47d968(0xc8)];this[_0x47d968(0xbf)]=this[_0x47d968(0xdd)](),this[_0x47d968(0xbb)]=new _0x3bf4ca(),this[_0x47d968(0xbe)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x47d968(0xc5)]({'tag':_0x47d968(0xd8),'attributes':{'aria-haspopup':_0x5368a9['if'](_0x47d968(0xd1)),'aria-expanded':_0x5368a9['to'](_0x47d968(0xcb),_0x4322db=>this[_0x47d968(0xd1)]&&String(_0x4322db)),'aria-label':_0x5368a9['to'](_0x47d968(0xd1),_0x1ba5e5=>_0x42437a(_0xac5146,_0x1ba5e5?_0x47d968(0xce):_0x47d968(0xd2))),'role':_0x47d968(0xc4),'tabindex':_0x5368a9['to'](_0x47d968(0xd1),_0x274216=>!!_0x274216&&0x0),'class':['ck',_0x47d968(0xca)]},'children':this[_0x47d968(0xbf)],'on':{'mouseenter':_0x5368a9['to'](()=>this[_0x47d968(0xda)](_0x47d968(0xb9))),'mouseleave':_0x5368a9['to'](_0xe1effc=>{const _0x39e984=_0x47d968,_0x4c60cf=_0xe1effc,_0x4e94af=document[_0x39e984(0xbc)](_0x39e984(0xd0)),_0x38b3be=document[_0x39e984(0xbc)](_0x39e984(0xcc));_0x4e94af?.[_0x39e984(0xde)](_0x4c60cf[_0x39e984(0xcf)])||_0x38b3be?.[_0x39e984(0xde)](_0x4c60cf[_0x39e984(0xcf)])||this[_0x39e984(0xda)](_0x39e984(0xd9));})}}),this['on'](_0x47d968(0xbd),(_0x28a709,_0x5ed99c,_0x54fd2d)=>{const _0x232a3d=_0x47d968;this[_0x232a3d(0xc1)]&&(_0x54fd2d?this[_0x232a3d(0xc1)][_0x232a3d(0xdb)](_0x232a3d(0xc7),String(this[_0x232a3d(0xcb)])):this[_0x232a3d(0xc1)][_0x232a3d(0xdc)](_0x232a3d(0xc7)));});}[_0x99c326(0xc2)](){const _0x58560f=_0x99c326;this[_0x58560f(0xc1)][_0x58560f(0xc2)]();}[_0x99c326(0xd6)](){const _0x1ae2ec=_0x99c326;super[_0x1ae2ec(0xd6)](),this[_0x1ae2ec(0xbb)][_0x1ae2ec(0xba)](this[_0x1ae2ec(0xc1)]);}}
23
+ const _0x4a09ab=_0x383e;(function(_0x353e5f,_0x366dd4){const _0x525c7b=_0x383e,_0x2da90e=_0x353e5f();while(!![]){try{const _0x1e16a1=-parseInt(_0x525c7b(0x1d3))/0x1*(parseInt(_0x525c7b(0x1d9))/0x2)+parseInt(_0x525c7b(0x1ee))/0x3+-parseInt(_0x525c7b(0x1cd))/0x4*(-parseInt(_0x525c7b(0x1e6))/0x5)+-parseInt(_0x525c7b(0x1f2))/0x6+-parseInt(_0x525c7b(0x1ea))/0x7*(parseInt(_0x525c7b(0x1db))/0x8)+-parseInt(_0x525c7b(0x1ef))/0x9*(-parseInt(_0x525c7b(0x1eb))/0xa)+-parseInt(_0x525c7b(0x1d4))/0xb;if(_0x1e16a1===_0x366dd4)break;else _0x2da90e['push'](_0x2da90e['shift']());}catch(_0x22960b){_0x2da90e['push'](_0x2da90e['shift']());}}}(_0x5667,0xdc7c1));function _0x5667(){const _0x2ab75f=['presencelist:hide','createCollection','render','listenTo','change:hasPopup','467265ZpvTPc','fire','bindTemplate','set','4042962KiqQWL','1588930ZrrMSV','removeAttribute','aria-expanded','4904151FDEVyj','63cxoqKl','element','querySelector','4200342RRLQec','keystrokes','hasPopup','72mGoHcy','setTemplate','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','Connected\x20users\x20list','items','relatedTarget','8TgcYTt','2236652DMSejo','isExpanded','focus','presencelist:show','setAttribute','366874rATTgx','.ck-balloon-panel_with-arrow','16BpSgHQ','div','contains','.ck-presence-list__dropdown-list','list','ck-presence-list__list'];_0x5667=function(){return _0x2ab75f;};return _0x5667();}import{View as _0x18bdb6}from'ckeditor5/src/ui.js';function _0x383e(_0x418ca0,_0x74ad55){const _0x5667c1=_0x5667();return _0x383e=function(_0x383e13,_0x293665){_0x383e13=_0x383e13-0x1cb;let _0x3dca2c=_0x5667c1[_0x383e13];return _0x3dca2c;},_0x383e(_0x418ca0,_0x74ad55);}import{KeystrokeHandler as _0x37f256}from'ckeditor5/src/utils.js';import{getTranslation as _0x1fd5d8}from'../../common-translations.js';export class PresenceInlineListView extends _0x18bdb6{[_0x4a09ab(0x1d1)];[_0x4a09ab(0x1cb)];constructor(_0x319477){const _0x47b88c=_0x4a09ab;super(_0x319477);const _0x28b454=this[_0x47b88c(0x1e8)];this[_0x47b88c(0x1d1)]=this[_0x47b88c(0x1e2)](),this[_0x47b88c(0x1cb)]=new _0x37f256(),this[_0x47b88c(0x1e9)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x47b88c(0x1ce)]({'tag':_0x47b88c(0x1dc),'attributes':{'aria-haspopup':_0x28b454['if'](_0x47b88c(0x1cc)),'aria-expanded':_0x28b454['to'](_0x47b88c(0x1d5),_0x372e31=>this[_0x47b88c(0x1cc)]&&String(_0x372e31)),'aria-label':_0x28b454['to'](_0x47b88c(0x1cc),_0x482c30=>_0x1fd5d8(_0x319477,_0x482c30?_0x47b88c(0x1cf):_0x47b88c(0x1d0))),'role':_0x47b88c(0x1df),'tabindex':_0x28b454['to'](_0x47b88c(0x1cc),_0x24665e=>!!_0x24665e&&0x0),'class':['ck',_0x47b88c(0x1e0)]},'children':this[_0x47b88c(0x1d1)],'on':{'mouseenter':_0x28b454['to'](()=>this[_0x47b88c(0x1e7)](_0x47b88c(0x1d7))),'mouseleave':_0x28b454['to'](_0x188ae2=>{const _0x4c1dd9=_0x47b88c,_0x409e30=_0x188ae2,_0x449d97=document[_0x4c1dd9(0x1f1)](_0x4c1dd9(0x1de)),_0x37ff5d=document[_0x4c1dd9(0x1f1)](_0x4c1dd9(0x1da));_0x449d97?.[_0x4c1dd9(0x1dd)](_0x409e30[_0x4c1dd9(0x1d2)])||_0x37ff5d?.[_0x4c1dd9(0x1dd)](_0x409e30[_0x4c1dd9(0x1d2)])||this[_0x4c1dd9(0x1e7)](_0x4c1dd9(0x1e1));})}}),this['on'](_0x47b88c(0x1e5),(_0x1ec724,_0x4997c9,_0x2bc879)=>{const _0xa6ade9=_0x47b88c;this[_0xa6ade9(0x1f0)]&&(_0x2bc879?this[_0xa6ade9(0x1f0)][_0xa6ade9(0x1d8)](_0xa6ade9(0x1ed),String(this[_0xa6ade9(0x1d5)])):this[_0xa6ade9(0x1f0)][_0xa6ade9(0x1ec)](_0xa6ade9(0x1ed)));});}[_0x4a09ab(0x1d6)](){const _0x50f77a=_0x4a09ab;this[_0x50f77a(0x1f0)][_0x50f77a(0x1d6)]();}[_0x4a09ab(0x1e3)](){const _0xfebf92=_0x4a09ab;super[_0xfebf92(0x1e3)](),this[_0xfebf92(0x1cb)][_0xfebf92(0x1e4)](this[_0xfebf92(0x1f0)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5655b4=_0x1dad;(function(_0x5d0882,_0x2b146f){const _0x368714=_0x1dad,_0x2c22c4=_0x5d0882();while(!![]){try{const _0x2fe1d6=parseInt(_0x368714(0x134))/0x1*(-parseInt(_0x368714(0x14c))/0x2)+-parseInt(_0x368714(0x147))/0x3+-parseInt(_0x368714(0x137))/0x4+parseInt(_0x368714(0x145))/0x5+parseInt(_0x368714(0x135))/0x6+-parseInt(_0x368714(0x13b))/0x7*(parseInt(_0x368714(0x13d))/0x8)+parseInt(_0x368714(0x14f))/0x9;if(_0x2fe1d6===_0x2b146f)break;else _0x2c22c4['push'](_0x2c22c4['shift']());}catch(_0x89d430){_0x2c22c4['push'](_0x2c22c4['shift']());}}}(_0x2734,0x6ad93));import{View as _0x6edf49}from'ckeditor5/src/ui.js';function _0x2734(){const _0x3ed53a=['bindTemplate','ck-presence-list--collapsed','165823iZcAAx','tooltipPosition','56JRojOO','locale','div','change','ck-rounded-corners','ck-presence-list','isCollapsed','items','4008585ByzcFx','first','896505jxiQTz','inlineListView','set','hasPopup','listenTo','3802vSRfbP','ck-reset','counterView','6087249IattXq','421mzFEhR','3965790NpMkqB','bind','1745652LykQNw','setTemplate'];_0x2734=function(){return _0x3ed53a;};return _0x2734();}import{PresenceCounterView as _0x5090a4}from'./presencecounterview.js';import{PresenceInlineListView as _0x5e4330}from'./presenceinlinelistview.js';function _0x1dad(_0x25f68a,_0x3f72ae){const _0x2734b3=_0x2734();return _0x1dad=function(_0x1dade6,_0x2c4844){_0x1dade6=_0x1dade6-0x134;let _0xc3d7bc=_0x2734b3[_0x1dade6];return _0xc3d7bc;},_0x1dad(_0x25f68a,_0x3f72ae);}import'../../../theme/presencelist.css';export class PresenceListView extends _0x6edf49{[_0x5655b4(0x14e)];[_0x5655b4(0x148)];constructor(_0x28c5e1,_0x143488=0x6){const _0xb0a489=_0x5655b4;super(_0x28c5e1);const _0x42e3b5=this[_0xb0a489(0x139)];this[_0xb0a489(0x149)](_0xb0a489(0x143),!0x0),this[_0xb0a489(0x14e)]=new _0x5090a4(this[_0xb0a489(0x13e)],_0x143488),this[_0xb0a489(0x148)]=new _0x5e4330(_0x28c5e1),this[_0xb0a489(0x148)][_0xb0a489(0x136)](_0xb0a489(0x14a))['to'](this,_0xb0a489(0x143)),this[_0xb0a489(0x14b)](this[_0xb0a489(0x148)][_0xb0a489(0x144)],_0xb0a489(0x140),()=>{const _0x375dff=_0xb0a489;for(const _0x2b69d1 of this[_0x375dff(0x148)][_0x375dff(0x144)])_0x2b69d1[_0x375dff(0x13c)]='s';this[_0x375dff(0x148)][_0x375dff(0x144)][_0x375dff(0x146)]&&(this[_0x375dff(0x148)][_0x375dff(0x144)][_0x375dff(0x146)][_0x375dff(0x13c)]='se');}),this[_0xb0a489(0x138)]({'tag':_0xb0a489(0x13f),'attributes':{'class':['ck',_0xb0a489(0x142),_0xb0a489(0x14d),_0xb0a489(0x141),_0x42e3b5['if'](_0xb0a489(0x143),_0xb0a489(0x13a))]},'children':[this[_0xb0a489(0x148)]]});}}
23
+ const _0x5a7c29=_0x5648;function _0x5648(_0x25b9a2,_0x12f0de){const _0x10dcee=_0x10dc();return _0x5648=function(_0x564859,_0x3c3f4a){_0x564859=_0x564859-0x92;let _0x52c5db=_0x10dcee[_0x564859];return _0x52c5db;},_0x5648(_0x25b9a2,_0x12f0de);}(function(_0x569a89,_0x14aea6){const _0x3e2ea1=_0x5648,_0xbab10d=_0x569a89();while(!![]){try{const _0x484758=parseInt(_0x3e2ea1(0xab))/0x1*(-parseInt(_0x3e2ea1(0xa8))/0x2)+parseInt(_0x3e2ea1(0x96))/0x3+parseInt(_0x3e2ea1(0x9b))/0x4+parseInt(_0x3e2ea1(0xac))/0x5+-parseInt(_0x3e2ea1(0xae))/0x6*(-parseInt(_0x3e2ea1(0xa9))/0x7)+-parseInt(_0x3e2ea1(0xa1))/0x8+parseInt(_0x3e2ea1(0xa0))/0x9*(parseInt(_0x3e2ea1(0x92))/0xa);if(_0x484758===_0x14aea6)break;else _0xbab10d['push'](_0xbab10d['shift']());}catch(_0x4e9a41){_0xbab10d['push'](_0xbab10d['shift']());}}}(_0x10dc,0xb2fcf));import{View as _0x39d19c}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x207363}from'./presencecounterview.js';import{PresenceInlineListView as _0x5408ec}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x39d19c{[_0x5a7c29(0x9e)];[_0x5a7c29(0x9f)];constructor(_0x4a2a8d,_0x14e4bc=0x6){const _0x4557af=_0x5a7c29;super(_0x4a2a8d);const _0x25f56d=this[_0x4557af(0xa4)];this[_0x4557af(0x9d)](_0x4557af(0x99),!0x0),this[_0x4557af(0x9e)]=new _0x207363(this[_0x4557af(0xad)],_0x14e4bc),this[_0x4557af(0x9f)]=new _0x5408ec(_0x4a2a8d),this[_0x4557af(0x9f)][_0x4557af(0x95)](_0x4557af(0xa6))['to'](this,_0x4557af(0x99)),this[_0x4557af(0x93)](this[_0x4557af(0x9f)][_0x4557af(0x97)],_0x4557af(0xa3),()=>{const _0x488b93=_0x4557af;for(const _0x4f5883 of this[_0x488b93(0x9f)][_0x488b93(0x97)])_0x4f5883[_0x488b93(0xa5)]='s';this[_0x488b93(0x9f)][_0x488b93(0x97)][_0x488b93(0x9c)]&&(this[_0x488b93(0x9f)][_0x488b93(0x97)][_0x488b93(0x9c)][_0x488b93(0xa5)]='se');}),this[_0x4557af(0xaa)]({'tag':_0x4557af(0xa2),'attributes':{'class':['ck',_0x4557af(0x98),_0x4557af(0x9a),_0x4557af(0x94),_0x25f56d['if'](_0x4557af(0x99),_0x4557af(0xa7))]},'children':[this[_0x4557af(0x9f)]]});}}function _0x10dc(){const _0x1a91d3=['change','bindTemplate','tooltipPosition','hasPopup','ck-presence-list--collapsed','102562RwxhSn','615398xsTWUc','setTemplate','14zNixoE','2781065NWiTGy','locale','42KTosiL','182510MwdTmF','listenTo','ck-rounded-corners','bind','31098dNlgtK','items','ck-presence-list','isCollapsed','ck-reset','2738476YEWrdb','first','set','counterView','inlineListView','81dpFDLN','4638288QEARZP','div'];_0x10dc=function(){return _0x1a91d3;};return _0x10dc();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xae2e3b=_0x12ef;(function(_0x2548ae,_0x26a5c3){const _0x1cf0cb=_0x12ef,_0x44faba=_0x2548ae();while(!![]){try{const _0x3c5e2d=parseInt(_0x1cf0cb(0x1a4))/0x1+-parseInt(_0x1cf0cb(0x188))/0x2*(parseInt(_0x1cf0cb(0x1aa))/0x3)+-parseInt(_0x1cf0cb(0x18a))/0x4+parseInt(_0x1cf0cb(0x1ba))/0x5+-parseInt(_0x1cf0cb(0x183))/0x6*(-parseInt(_0x1cf0cb(0x1e0))/0x7)+-parseInt(_0x1cf0cb(0x192))/0x8+parseInt(_0x1cf0cb(0x1bb))/0x9;if(_0x3c5e2d===_0x26a5c3)break;else _0x44faba['push'](_0x44faba['shift']());}catch(_0x3518b4){_0x44faba['push'](_0x44faba['shift']());}}}(_0x3f53,0x753f3));import{Context as _0x678aa8,ContextPlugin as _0x56cb30}from'ckeditor5/src/core.js';import{CKEditorError as _0x396057}from'ckeditor5/src/utils.js';import{Users as _0x40462a}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x3e0484,User as _0x473bc7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x2ac7b2}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x218873}from'../realtimecollaborativeediting/sessions.js';class s extends _0x56cb30{static [_0xae2e3b(0x1cb)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3e0484)());[_0xae2e3b(0x1b8)];static get[_0xae2e3b(0x1d2)](){const _0x29a3de=_0xae2e3b;return[_0x2ac7b2,_0x29a3de(0x1d1),_0x218873,_0x40462a];}static get[_0xae2e3b(0x1d9)](){const _0xcb4fd8=_0xae2e3b;return _0xcb4fd8(0x1c3);}static get[_0xae2e3b(0x1a9)](){return!0x0;}static get[_0xae2e3b(0x1d7)](){return!0x0;}constructor(_0x3cbee7){const _0x2253a7=_0xae2e3b;super(_0x3cbee7),this[_0x2253a7(0x1b8)]=new Map();}async[_0xae2e3b(0x1a2)](){const _0x69fe79=_0xae2e3b,_0x36b5cf=this[_0x69fe79(0x197)],_0x5443cb=_0x36b5cf[_0x69fe79(0x1ca)][_0x69fe79(0x1bd)](_0x69fe79(0x1d1));if(_0x36b5cf[_0x69fe79(0x1ca)][_0x69fe79(0x1bd)](_0x2ac7b2)[_0x69fe79(0x1c9)](this),_0x5443cb[_0x69fe79(0x1d3)]={'addCommentThread':async({channelId:_0x11973d,threadId:_0x9ee625,comments:_0x3a5b02,resolvedAt:_0x461d3e,resolvedBy:_0x453e74,context:_0x5e0894,attributes:_0x40d6f4})=>{const _0x2fbfdc=_0x69fe79,_0xecd61=await this[_0x2fbfdc(0x1b0)](_0x11973d)[_0x2fbfdc(0x180)]({'commentThreadId':_0x9ee625,'comments':_0x3a5b02[_0x2fbfdc(0x1b7)](_0x21085a=>function(_0x1993fe,_0x33d206,_0x432303){const _0x20fafb=_0x2fbfdc;return{'commentThreadId':_0x432303,'commentId':_0x1993fe[_0x20fafb(0x1c4)],'userId':_0x1993fe[_0x20fafb(0x198)],'content':_0x1993fe[_0x20fafb(0x17c)],'documentId':_0x33d206,'createdAt':_0x1993fe[_0x20fafb(0x1ad)],'attributes':_0x1993fe[_0x20fafb(0x1d6)]||{}};}(_0x21085a,_0x11973d,_0x9ee625)),'resolvedAt':_0x461d3e,'resolvedBy':_0x453e74,'context':_0x5e0894,'attributes':_0x40d6f4})[_0x2fbfdc(0x1ae)](nt);return{'threadId':_0xecd61[_0x2fbfdc(0x1bc)],'comments':_0xecd61[_0x2fbfdc(0x185)]};},'getCommentThread':async({channelId:_0x665bb2,threadId:_0xd275d3})=>{const _0x3a71e0=_0x69fe79,_0x3f317d=await this[_0x3a71e0(0x1b0)](_0x665bb2)[_0x3a71e0(0x1de)](_0xd275d3)[_0x3a71e0(0x1ae)](nt);return _0x3f317d[_0x3a71e0(0x1a1)]?null:(await this[_0x3a71e0(0x18e)]([_0x3f317d]),{'threadId':_0x3f317d[_0x3a71e0(0x1bc)],'comments':_0x3f317d[_0x3a71e0(0x185)][_0x3a71e0(0x1b7)](st),'context':_0x3f317d[_0x3a71e0(0x197)],'resolvedAt':_0x3f317d[_0x3a71e0(0x1dc)],'resolvedBy':_0x3f317d[_0x3a71e0(0x1a8)],'attributes':_0x3f317d[_0x3a71e0(0x1d6)]||{}});},'updateCommentThread':async({channelId:_0x43ea42,threadId:_0x57db95,context:_0x86518b,unlinkedAt:_0x1c5a9c,attributes:_0x5596e4})=>this[_0x69fe79(0x1b0)](_0x43ea42)[_0x69fe79(0x1b9)]({'commentThreadId':_0x57db95,'context':_0x86518b,'attributes':_0x5596e4,'unlinkedAt':_0x1c5a9c})[_0x69fe79(0x1ae)](ot)[_0x69fe79(0x1ae)](nt),'resolveCommentThread':async({channelId:_0x3ef3b8,threadId:_0x533986})=>{const _0x466171=_0x69fe79,_0x1ba8bb=await this[_0x466171(0x1b0)](_0x3ef3b8)[_0x466171(0x17d)](_0x533986)[_0x466171(0x1ae)](ot)[_0x466171(0x1ae)](nt);return{'threadId':_0x1ba8bb[_0x466171(0x1bc)],'resolvedAt':_0x1ba8bb[_0x466171(0x1dc)],'resolvedBy':_0x1ba8bb[_0x466171(0x1a8)]};},'reopenCommentThread':async({channelId:_0x1e9baa,threadId:_0x3d23c6})=>this[_0x69fe79(0x1b0)](_0x1e9baa)[_0x69fe79(0x18b)](_0x3d23c6)[_0x69fe79(0x1ae)](ot)[_0x69fe79(0x1ae)](nt),'removeCommentThread':({channelId:_0x1e7237,threadId:_0x19113c})=>this[_0x69fe79(0x1b0)](_0x1e7237)[_0x69fe79(0x1af)](_0x19113c)[_0x69fe79(0x1ae)](ot)[_0x69fe79(0x1ae)](nt),'addComment':({channelId:_0x16a6a8,threadId:_0x58be8c,commentId:_0xbe298f,content:_0x575cf1,attributes:_0x5b7ecc})=>this[_0x69fe79(0x1b0)](_0x16a6a8)[_0x69fe79(0x1ab)](_0x58be8c,_0xbe298f,_0x575cf1,_0x5b7ecc)[_0x69fe79(0x1ae)](nt),'updateComment':({channelId:_0x582ef5,threadId:_0x56dae4,commentId:_0x35c3e9,content:_0x2fcdf7,attributes:_0xe22c01})=>this[_0x69fe79(0x1b0)](_0x582ef5)[_0x69fe79(0x189)](_0x56dae4,_0x35c3e9,_0x2fcdf7,_0xe22c01)[_0x69fe79(0x1ae)](ot)[_0x69fe79(0x1ae)](nt),'removeComment':({channelId:_0x38b221,threadId:_0x17a75c,commentId:_0x534a4a})=>this[_0x69fe79(0x1b0)](_0x38b221)[_0x69fe79(0x1a5)](_0x17a75c,_0x534a4a)[_0x69fe79(0x1ae)](ot)[_0x69fe79(0x1ae)](nt)},_0x36b5cf instanceof _0x678aa8){const _0x2ca7c2=_0x36b5cf[_0x69fe79(0x187)][_0x69fe79(0x1bd)](_0x69fe79(0x1b5)),_0x17a26a=_0x36b5cf[_0x69fe79(0x1ca)][_0x69fe79(0x1bd)](_0x218873);await this[_0x69fe79(0x17f)](_0x2ca7c2);const _0x5f3c4b=await this[_0x69fe79(0x1b8)][_0x69fe79(0x1bd)](_0x2ca7c2)[_0x69fe79(0x182)]();this[_0x69fe79(0x1b2)](_0x17a26a,_0x69fe79(0x1d5)+_0x2ca7c2,(_0x3c5a6d,{session:_0xc271fb})=>{const _0x4aefa9=_0x69fe79;_0xc271fb['id']===_0x17a26a[_0x4aefa9(0x191)]&&(_0x3c5a6d[_0x4aefa9(0x1c0)](),this[_0x4aefa9(0x197)][_0x4aefa9(0x1ca)][_0x4aefa9(0x1bd)](_0x4aefa9(0x1cf))[_0x4aefa9(0x1c7)](_0xc271fb[_0x4aefa9(0x181)],_0x2ca7c2));}),_0x17a26a[_0x69fe79(0x1bf)](_0x2ca7c2,_0x5f3c4b);}}async[_0xae2e3b(0x17f)](_0x5e8db2){const _0x2e461c=_0xae2e3b;if(this[_0x2e461c(0x1b8)][_0x2e461c(0x195)](_0x5e8db2))throw new _0x396057(_0x2e461c(0x19c),null,{'channelId':_0x5e8db2});const _0x2b1e2e=this[_0x2e461c(0x197)][_0x2e461c(0x1ca)][_0x2e461c(0x1bd)](_0x2e461c(0x1d1)),_0x5e6d2c=new s[(_0x2e461c(0x1cb))](_0x5e8db2);this[_0x2e461c(0x1b8)][_0x2e461c(0x1c1)](_0x5e8db2,_0x5e6d2c),this[_0x2e461c(0x1b2)](_0x5e6d2c,_0x2e461c(0x1dd),(_0x4e83e5,_0x3efca0)=>{const _0x3052da=_0x2e461c,{commentThreadId:_0x178b01,documentId:_0x309b40,context:_0xa6abe9,attributes:_0x45fb47,resolvedAt:_0x4b1dd4,resolvedBy:_0x1baf62,comments:_0x3462aa}=_0x3efca0;_0x2b1e2e[_0x3052da(0x1de)](_0x178b01)||_0x2b1e2e[_0x3052da(0x180)]({'threadId':_0x178b01,'channelId':_0x309b40,'comments':_0x3462aa?_0x3462aa[_0x3052da(0x1b7)](st):[],'context':_0xa6abe9,'attributes':_0x45fb47,'resolvedAt':_0x4b1dd4,'resolvedBy':_0x1baf62,'isFromAdapter':!0x0});}),this[_0x2e461c(0x1b2)](_0x5e6d2c,_0x2e461c(0x194),(_0x6c9bf0,{commentThreadId:_0x3e93ba,documentId:_0xb6a962,context:_0x4ea4c4,unlinkedAt:_0x3fb2c3,attributes:_0x47c6ed})=>{const _0x32c604=_0x2e461c;_0x2b1e2e[_0x32c604(0x1de)](_0x3e93ba)&&_0x2b1e2e[_0x32c604(0x1b9)]({'threadId':_0x3e93ba,'channelId':_0xb6a962,'context':_0x4ea4c4,'unlinkedAt':_0x3fb2c3,'attributes':_0x47c6ed,'isFromAdapter':!0x0});}),this[_0x2e461c(0x1b2)](_0x5e6d2c,_0x2e461c(0x1ce),(_0x5053dc,{commentThreadId:_0x47a820,resolvedBy:_0x13cbd0,resolvedAt:_0x52b9de})=>{const _0x26c11b=_0x2e461c,_0x261e13=_0x2b1e2e[_0x26c11b(0x1de)](_0x47a820);_0x261e13&&_0x261e13[_0x26c11b(0x1d0)]({'resolvedBy':_0x13cbd0,'resolvedAt':_0x52b9de,'isFromAdapter':!0x0});}),this[_0x2e461c(0x1b2)](_0x5e6d2c,_0x2e461c(0x19d),(_0x184767,{commentThreadId:_0x435860})=>{const _0x506b64=_0x2e461c,_0x37f8df=_0x2b1e2e[_0x506b64(0x1de)](_0x435860);_0x37f8df&&_0x37f8df[_0x506b64(0x1b6)]({'isFromAdapter':!0x0});}),this[_0x2e461c(0x1b2)](_0x5e6d2c,_0x2e461c(0x19e),(_0x11df7a,{commentThreadId:_0x145291})=>{const _0x13de24=_0x2e461c,_0x3de85c=_0x2b1e2e[_0x13de24(0x1de)](_0x145291);_0x3de85c&&_0x3de85c[_0x13de24(0x1d8)]({'isFromAdapter':!0x0});}),this[_0x2e461c(0x1b2)](_0x5e6d2c,_0x2e461c(0x196),(_0x29e8b7,_0x38c4ef)=>{const _0x5111bd=_0x2e461c,_0x7ddfcb=_0x38c4ef[_0x5111bd(0x1bc)],_0x374731=_0x2b1e2e[_0x5111bd(0x1de)](_0x7ddfcb);_0x374731&&_0x374731[_0x5111bd(0x1ab)]({...st(_0x38c4ef),'isFromAdapter':!0x0});}),this[_0x2e461c(0x1b2)](_0x5e6d2c,_0x2e461c(0x190),(_0x5edb59,{commentThreadId:_0x2864a8,commentId:_0x41cdeb,content:_0x10163f,attributes:_0x4c2f01})=>{const _0x2643ce=_0x2e461c,_0x184bf6=_0x2b1e2e[_0x2643ce(0x1de)](_0x2864a8);if(_0x184bf6){const _0x1ad0eb=_0x184bf6[_0x2643ce(0x18c)](_0x41cdeb);_0x1ad0eb&&_0x1ad0eb[_0x2643ce(0x1cc)]({'content':_0x10163f,'attributes':_0x4c2f01,'isFromAdapter':!0x0});}}),this[_0x2e461c(0x1b2)](_0x5e6d2c,_0x2e461c(0x17e),(_0x183c8f,{commentThreadId:_0x273a1d,commentId:_0x555ad3})=>{const _0x20a485=_0x2e461c,_0xadab9d=_0x2b1e2e[_0x20a485(0x1de)](_0x273a1d);if(_0xadab9d){const _0x173d32=_0xadab9d[_0x20a485(0x18c)](_0x555ad3);_0x173d32&&_0x173d32[_0x20a485(0x1d8)]({'isFromAdapter':!0x0});}}),await this[_0x2e461c(0x19b)](_0x5e8db2);}[_0xae2e3b(0x1c6)](){const _0x109591=_0xae2e3b;if(this[_0x109591(0x197)]instanceof _0x678aa8){const _0x404507=this[_0x109591(0x197)][_0x109591(0x187)][_0x109591(0x1bd)](_0x109591(0x1b5));this[_0x109591(0x1a6)](_0x404507);}}[_0xae2e3b(0x1a6)](_0x25adb9){const _0x5b7d3f=_0xae2e3b;if(!this[_0x5b7d3f(0x1b8)][_0x5b7d3f(0x195)](_0x25adb9))throw new _0x396057(_0x5b7d3f(0x18f),null,{'channelId':_0x25adb9});this[_0x5b7d3f(0x1b0)](_0x25adb9)[_0x5b7d3f(0x1c5)](),this[_0x5b7d3f(0x1b8)][_0x5b7d3f(0x1b1)](_0x25adb9);}async[_0xae2e3b(0x1d4)](){const _0x46807b=_0xae2e3b;for(const _0x9a9af1 of this[_0x46807b(0x1b8)][_0x46807b(0x1a3)]())await this[_0x46807b(0x19b)](_0x9a9af1);if(this[_0x46807b(0x197)]instanceof _0x678aa8){const _0x230fd6=this[_0x46807b(0x197)][_0x46807b(0x187)][_0x46807b(0x1bd)](_0x46807b(0x1b5)),_0x286908=this[_0x46807b(0x197)][_0x46807b(0x1ca)][_0x46807b(0x1bd)](_0x218873);_0x286908[_0x46807b(0x1a0)](_0x230fd6);const _0x282a54=await this[_0x46807b(0x1b8)][_0x46807b(0x1bd)](_0x230fd6)[_0x46807b(0x182)]();_0x286908[_0x46807b(0x1bf)](_0x230fd6,_0x282a54);}}async[_0xae2e3b(0x19b)](_0xb66702){const _0x1b4854=_0xae2e3b,{connection:_0x43b2bc}=this[_0x1b4854(0x197)][_0x1b4854(0x1ca)][_0x1b4854(0x1bd)](_0x2ac7b2),_0x227104=this[_0x1b4854(0x197)][_0x1b4854(0x1ca)][_0x1b4854(0x1bd)](_0x1b4854(0x1d1)),_0x58c030=this[_0x1b4854(0x1b8)][_0x1b4854(0x1bd)](_0xb66702),_0x4082fe=await _0x58c030[_0x1b4854(0x186)](_0x43b2bc);await this[_0x1b4854(0x18e)](_0x4082fe);const _0x2ce0bf=new Set(Array[_0x1b4854(0x19a)](_0x227104[_0x1b4854(0x193)]({'channelId':_0xb66702}),_0x39e58f=>_0x39e58f['id']));for(const _0x251d9a of _0x4082fe)_0x251d9a[_0x1b4854(0x1a1)]||_0x2ce0bf[_0x1b4854(0x1b1)](_0x251d9a[_0x1b4854(0x1bc)]);for(const _0x21c478 of _0x2ce0bf)_0x227104[_0x1b4854(0x1de)](_0x21c478)[_0x1b4854(0x1d8)]({'isFromAdapter':!0x0});for(const _0x167e2b of _0x4082fe){let _0xe2439c=_0x227104[_0x1b4854(0x1de)](_0x167e2b[_0x1b4854(0x1bc)]);const {commentThreadId:_0x48d727,context:_0x45ba01,attributes:_0x3d3f0b,resolvedBy:_0x1ff502,resolvedAt:_0x117972,unlinkedAt:_0x3e79fa,deletedAt:_0x48f04b}=_0x167e2b;if(_0x48f04b)continue;_0xe2439c||(_0xe2439c=_0x227104[_0x1b4854(0x180)]({'channelId':_0xb66702,'threadId':_0x48d727,'context':_0x45ba01,'attributes':_0x3d3f0b||{},'resolvedBy':_0x1ff502,'resolvedAt':_0x117972,'unlinkedAt':_0x3e79fa,'isFromAdapter':!0x0}));const _0x5cdcdd=new Set(Array[_0x1b4854(0x19a)](_0xe2439c[_0x1b4854(0x185)],_0x36ee0b=>_0x36ee0b['id']));for(const _0x2f89e8 of _0x167e2b[_0x1b4854(0x185)])_0x5cdcdd[_0x1b4854(0x1b1)](_0x2f89e8[_0x1b4854(0x1c4)]);for(const _0x220ebb of _0x5cdcdd)_0xe2439c[_0x1b4854(0x18c)](_0x220ebb)[_0x1b4854(0x1d8)]({'isFromAdapter':!0x0});for(const _0x4ea2ed of _0x167e2b[_0x1b4854(0x185)]){const _0x1931d5=_0xe2439c[_0x1b4854(0x18c)](_0x4ea2ed[_0x1b4854(0x1c4)]);_0x1931d5?_0x1931d5[_0x1b4854(0x17c)]!==_0x4ea2ed[_0x1b4854(0x17c)]&&_0x1931d5[_0x1b4854(0x1cc)]({'content':_0x4ea2ed[_0x1b4854(0x17c)],'isFromAdapter':!0x0}):_0xe2439c[_0x1b4854(0x1ab)](Object[_0x1b4854(0x1cd)](st(_0x4ea2ed),{'isFromAdapter':!0x0}));}}}[_0xae2e3b(0x1b0)](_0x44d61b){const _0x12d6a0=_0xae2e3b;if(!this[_0x12d6a0(0x1b8)][_0x12d6a0(0x195)](_0x44d61b))throw new _0x396057(_0x12d6a0(0x1df),null,{'channelId':_0x44d61b});return this[_0x12d6a0(0x1b8)][_0x12d6a0(0x1bd)](_0x44d61b);}async[_0xae2e3b(0x18e)](_0x455146){const _0x23209b=_0xae2e3b,_0x19653d=this[_0x23209b(0x197)][_0x23209b(0x1ca)][_0x23209b(0x1bd)](_0x40462a),{connection:_0x34dd76}=this[_0x23209b(0x197)][_0x23209b(0x1ca)][_0x23209b(0x1bd)](_0x2ac7b2),_0x6c5329=new Set();for(const {resolvedBy:_0x12e247,comments:_0x39d18a}of _0x455146){_0x12e247&&!_0x19653d[_0x23209b(0x1b3)](_0x12e247)&&_0x6c5329[_0x23209b(0x1da)](_0x12e247);for(const {userId:_0x454eaf}of _0x39d18a)_0x19653d[_0x23209b(0x1b3)](_0x454eaf)||_0x6c5329[_0x23209b(0x1da)](_0x454eaf);}if(0x0===_0x6c5329[_0x23209b(0x1a7)])return;const _0x1bab44=await _0x473bc7[_0x23209b(0x1ac)](_0x34dd76,Array[_0x23209b(0x19a)](_0x6c5329));for(const _0xc5b2dd of _0x1bab44)_0x19653d[_0x23209b(0x1b3)](_0xc5b2dd['id'])||_0x19653d[_0x23209b(0x1be)](_0xc5b2dd);}}function _0x3f53(){const _0x3fa686=['CloudServicesCommentsAdapter','commentId','disconnect','destroy','setPermissions','404','addToReconnectionStack','plugins','CommentsService','update','assign','commentThreadResolved','Permissions','resolve','CommentsRepository','requires','adapter','reconnect','sessionAdd:','attributes','isPremiumPlugin','remove','pluginName','add','userId','resolvedAt','commentThreadAdded','getCommentThread','cloudservicescommentsadapter-service-not-exist','7YOxPwk','content','resolveCommentThread','commentRemoved','_setUpService','addCommentThread','permissions','getConnectedSessions','1391046QLARzX','startsWith','comments','connect','config','474262lBqUSP','updateComment','1586520AdlVnQ','reopenCommentThread','getComment','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','_fetchMissingUsersForThreads','cloudservicescommentsadapter-disconnect-not-exist','commentUpdated','mySessionId','429216HncCTo','getCommentThreads','commentThreadUpdated','has','commentAdded','context','authorId','message','from','_connectService','cloudservicescommentsadapter-connect-already-connected','commentThreadReopened','commentThreadRemoved','cloud-services-internal-error:\x20Not\x20connected.','unregister','deletedAt','init','keys','790721fKoCRu','removeComment','_terminateService','size','resolvedBy','isOfficialPlugin','12KrixlE','addComment','getMany','createdAt','catch','removeCommentThread','_getService','delete','listenTo','getUser','cloud-services-internal-error:\x20Request\x20timeout.','collaboration.channelId','reopen','map','_services','updateCommentThread','3916920Zhrmid','657927puXFnl','commentThreadId','get','addUser','register','off','set','code'];_0x3f53=function(){return _0x3fa686;};return _0x3f53();}export{s as CloudServicesCommentsAdapter};async function ot(_0x265abb){const _0x120d4f=_0xae2e3b;if(_0x120d4f(0x1c8)!==_0x265abb[_0x120d4f(0x1c2)])throw _0x265abb;}function _0x12ef(_0x83d0e7,_0x2452ab){const _0x3f5328=_0x3f53();return _0x12ef=function(_0x12ef06,_0x48edf2){_0x12ef06=_0x12ef06-0x17c;let _0x590a17=_0x3f5328[_0x12ef06];return _0x590a17;},_0x12ef(_0x83d0e7,_0x2452ab);}function nt(_0x4344f6){const _0x47a032=_0xae2e3b;if((_0x5de80f=_0x4344f6)[_0x47a032(0x199)][_0x47a032(0x184)](_0x47a032(0x18d))||_0x5de80f[_0x47a032(0x199)][_0x47a032(0x184)](_0x47a032(0x19f))||_0x5de80f[_0x47a032(0x199)][_0x47a032(0x184)](_0x47a032(0x1b4)))return new Promise(()=>{});var _0x5de80f;throw _0x4344f6;}function st(_0x4d9b6a){const _0x2a1809=_0xae2e3b;return{'threadId':_0x4d9b6a[_0x2a1809(0x1bc)],'commentId':_0x4d9b6a[_0x2a1809(0x1c4)],'content':_0x4d9b6a[_0x2a1809(0x17c)],'createdAt':_0x4d9b6a[_0x2a1809(0x1ad)],'authorId':_0x4d9b6a[_0x2a1809(0x1db)],'attributes':_0x4d9b6a[_0x2a1809(0x1d6)]||{}};}
23
+ const _0x40cabb=_0x2b10;(function(_0x3ea6f3,_0xd9b3d2){const _0x1200f7=_0x2b10,_0x5a3873=_0x3ea6f3();while(!![]){try{const _0x1858e6=-parseInt(_0x1200f7(0x1dd))/0x1*(parseInt(_0x1200f7(0x19c))/0x2)+-parseInt(_0x1200f7(0x1b8))/0x3+parseInt(_0x1200f7(0x1f2))/0x4+parseInt(_0x1200f7(0x1db))/0x5*(-parseInt(_0x1200f7(0x1c4))/0x6)+-parseInt(_0x1200f7(0x1bb))/0x7*(-parseInt(_0x1200f7(0x1c8))/0x8)+-parseInt(_0x1200f7(0x1cb))/0x9+-parseInt(_0x1200f7(0x200))/0xa*(-parseInt(_0x1200f7(0x1a9))/0xb);if(_0x1858e6===_0xd9b3d2)break;else _0x5a3873['push'](_0x5a3873['shift']());}catch(_0xcb480d){_0x5a3873['push'](_0x5a3873['shift']());}}}(_0x6057,0x65e24));function _0x2b10(_0x103917,_0x1dad93){const _0x6057c=_0x6057();return _0x2b10=function(_0x2b1087,_0x6ef38d){_0x2b1087=_0x2b1087-0x19c;let _0x174726=_0x6057c[_0x2b1087];return _0x174726;},_0x2b10(_0x103917,_0x1dad93);}import{Context as _0x338402,ContextPlugin as _0x1f48d1}from'ckeditor5/src/core.js';import{CKEditorError as _0x2a4f64}from'ckeditor5/src/utils.js';import{Users as _0x13861e}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5d09f2,User as _0x3e1cd6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x164178}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x3edf86}from'../realtimecollaborativeediting/sessions.js';class s extends _0x1f48d1{static [_0x40cabb(0x1b0)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5d09f2)());[_0x40cabb(0x1e1)];static get[_0x40cabb(0x1ce)](){const _0x53a62b=_0x40cabb;return[_0x164178,_0x53a62b(0x1ea),_0x3edf86,_0x13861e];}static get[_0x40cabb(0x1ac)](){const _0x499777=_0x40cabb;return _0x499777(0x1c9);}static get[_0x40cabb(0x1ed)](){return!0x0;}static get[_0x40cabb(0x1e5)](){return!0x0;}constructor(_0x2d6b32){const _0x118ed8=_0x40cabb;super(_0x2d6b32),this[_0x118ed8(0x1e1)]=new Map();}async[_0x40cabb(0x1d6)](){const _0x15c631=_0x40cabb,_0x218058=this[_0x15c631(0x1a6)],_0x3f6dbb=_0x218058[_0x15c631(0x1b3)][_0x15c631(0x1e2)](_0x15c631(0x1ea));if(_0x218058[_0x15c631(0x1b3)][_0x15c631(0x1e2)](_0x164178)[_0x15c631(0x1e3)](this),_0x3f6dbb[_0x15c631(0x1da)]={'addCommentThread':async({channelId:_0xc8321f,threadId:_0x591f67,comments:_0x5e12cf,resolvedAt:_0x13553c,resolvedBy:_0x462575,context:_0x60016a,attributes:_0x1362fa})=>{const _0x58d8e6=_0x15c631,_0x36df8f=await this[_0x58d8e6(0x1d4)](_0xc8321f)[_0x58d8e6(0x1a1)]({'commentThreadId':_0x591f67,'comments':_0x5e12cf[_0x58d8e6(0x1a5)](_0x41186e=>function(_0x578d62,_0x54f2c0,_0x30e0f4){const _0xc58010=_0x58d8e6;return{'commentThreadId':_0x30e0f4,'commentId':_0x578d62[_0xc58010(0x1e6)],'userId':_0x578d62[_0xc58010(0x1b1)],'content':_0x578d62[_0xc58010(0x1f4)],'documentId':_0x54f2c0,'createdAt':_0x578d62[_0xc58010(0x1a3)],'attributes':_0x578d62[_0xc58010(0x1ee)]||{}};}(_0x41186e,_0xc8321f,_0x591f67)),'resolvedAt':_0x13553c,'resolvedBy':_0x462575,'context':_0x60016a,'attributes':_0x1362fa})[_0x58d8e6(0x1fd)](A);return{'threadId':_0x36df8f[_0x58d8e6(0x1d3)],'comments':_0x36df8f[_0x58d8e6(0x1d0)]};},'getCommentThread':async({channelId:_0x585576,threadId:_0x430b86})=>{const _0x1ba292=_0x15c631,_0x79df8b=await this[_0x1ba292(0x1d4)](_0x585576)[_0x1ba292(0x1f7)](_0x430b86)[_0x1ba292(0x1fd)](A);return _0x79df8b[_0x1ba292(0x1f1)]?null:(await this[_0x1ba292(0x1c2)]([_0x79df8b]),{'threadId':_0x79df8b[_0x1ba292(0x1d3)],'comments':_0x79df8b[_0x1ba292(0x1d0)][_0x1ba292(0x1a5)](p),'context':_0x79df8b[_0x1ba292(0x1a6)],'resolvedAt':_0x79df8b[_0x1ba292(0x1ec)],'resolvedBy':_0x79df8b[_0x1ba292(0x1a0)],'attributes':_0x79df8b[_0x1ba292(0x1ee)]||{}});},'updateCommentThread':async({channelId:_0x4632e7,threadId:_0xde6741,context:_0x1b2919,unlinkedAt:_0x2a7fa4,attributes:_0x54c778})=>this[_0x15c631(0x1d4)](_0x4632e7)[_0x15c631(0x1e9)]({'commentThreadId':_0xde6741,'context':_0x1b2919,'attributes':_0x54c778,'unlinkedAt':_0x2a7fa4})[_0x15c631(0x1fd)](v)[_0x15c631(0x1fd)](A),'resolveCommentThread':async({channelId:_0x2c7f58,threadId:_0x31ab32})=>{const _0x410b7f=_0x15c631,_0x7dad3c=await this[_0x410b7f(0x1d4)](_0x2c7f58)[_0x410b7f(0x1bf)](_0x31ab32)[_0x410b7f(0x1fd)](v)[_0x410b7f(0x1fd)](A);return{'threadId':_0x7dad3c[_0x410b7f(0x1d3)],'resolvedAt':_0x7dad3c[_0x410b7f(0x1ec)],'resolvedBy':_0x7dad3c[_0x410b7f(0x1a0)]};},'reopenCommentThread':async({channelId:_0x43c17c,threadId:_0x326ed7})=>this[_0x15c631(0x1d4)](_0x43c17c)[_0x15c631(0x1ad)](_0x326ed7)[_0x15c631(0x1fd)](v)[_0x15c631(0x1fd)](A),'removeCommentThread':({channelId:_0x54a066,threadId:_0x15ce2e})=>this[_0x15c631(0x1d4)](_0x54a066)[_0x15c631(0x1b4)](_0x15ce2e)[_0x15c631(0x1fd)](v)[_0x15c631(0x1fd)](A),'addComment':({channelId:_0x4db9ff,threadId:_0x36db22,commentId:_0x45ff80,content:_0x2e7b45,attributes:_0x294379})=>this[_0x15c631(0x1d4)](_0x4db9ff)[_0x15c631(0x1c5)](_0x36db22,_0x45ff80,_0x2e7b45,_0x294379)[_0x15c631(0x1fd)](A),'updateComment':({channelId:_0x1c6e8c,threadId:_0x4203a0,commentId:_0x18b7cf,content:_0x41e7dc,attributes:_0x424d8f})=>this[_0x15c631(0x1d4)](_0x1c6e8c)[_0x15c631(0x19f)](_0x4203a0,_0x18b7cf,_0x41e7dc,_0x424d8f)[_0x15c631(0x1fd)](v)[_0x15c631(0x1fd)](A),'removeComment':({channelId:_0x3d5bcc,threadId:_0x3f7d99,commentId:_0x1f47a0})=>this[_0x15c631(0x1d4)](_0x3d5bcc)[_0x15c631(0x1af)](_0x3f7d99,_0x1f47a0)[_0x15c631(0x1fd)](v)[_0x15c631(0x1fd)](A)},_0x218058 instanceof _0x338402){const _0x12ef27=_0x218058[_0x15c631(0x1f5)][_0x15c631(0x1e2)](_0x15c631(0x1f0)),_0x504cd2=_0x218058[_0x15c631(0x1b3)][_0x15c631(0x1e2)](_0x3edf86);await this[_0x15c631(0x1d5)](_0x12ef27);const _0x2b7cab=await this[_0x15c631(0x1e1)][_0x15c631(0x1e2)](_0x12ef27)[_0x15c631(0x1ff)]();this[_0x15c631(0x1cd)](_0x504cd2,_0x15c631(0x1f8)+_0x12ef27,(_0xbd1491,{session:_0x6a611d})=>{const _0x53eb10=_0x15c631;_0x6a611d['id']===_0x504cd2[_0x53eb10(0x1b7)]&&(_0xbd1491[_0x53eb10(0x1d2)](),this[_0x53eb10(0x1a6)][_0x53eb10(0x1b3)][_0x53eb10(0x1e2)](_0x53eb10(0x1fa))[_0x53eb10(0x1b9)](_0x6a611d[_0x53eb10(0x1e7)],_0x12ef27));}),_0x504cd2[_0x15c631(0x1fb)](_0x12ef27,_0x2b7cab);}}async[_0x40cabb(0x1d5)](_0x5bc118){const _0x5e858c=_0x40cabb;if(this[_0x5e858c(0x1e1)][_0x5e858c(0x19e)](_0x5bc118))throw new _0x2a4f64(_0x5e858c(0x1a2),null,{'channelId':_0x5bc118});const _0x1fe016=this[_0x5e858c(0x1a6)][_0x5e858c(0x1b3)][_0x5e858c(0x1e2)](_0x5e858c(0x1ea)),_0x36d613=new s[(_0x5e858c(0x1b0))](_0x5bc118);this[_0x5e858c(0x1e1)][_0x5e858c(0x1e0)](_0x5bc118,_0x36d613),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1bd),(_0x6b3697,_0x480f3c)=>{const _0x35312b=_0x5e858c,{commentThreadId:_0x5d9b87,documentId:_0x36fa45,context:_0x23beda,attributes:_0x2d4052,resolvedAt:_0x160d5c,resolvedBy:_0x318b51,comments:_0x25c033}=_0x480f3c;_0x1fe016[_0x35312b(0x1f7)](_0x5d9b87)||_0x1fe016[_0x35312b(0x1a1)]({'threadId':_0x5d9b87,'channelId':_0x36fa45,'comments':_0x25c033?_0x25c033[_0x35312b(0x1a5)](p):[],'context':_0x23beda,'attributes':_0x2d4052,'resolvedAt':_0x160d5c,'resolvedBy':_0x318b51,'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1aa),(_0x3dd98d,{commentThreadId:_0x5db90f,documentId:_0x379943,context:_0x451ef9,unlinkedAt:_0x11c01b,attributes:_0x4dad95})=>{const _0x561735=_0x5e858c;_0x1fe016[_0x561735(0x1f7)](_0x5db90f)&&_0x1fe016[_0x561735(0x1e9)]({'threadId':_0x5db90f,'channelId':_0x379943,'context':_0x451ef9,'unlinkedAt':_0x11c01b,'attributes':_0x4dad95,'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1d1),(_0x2d77d6,{commentThreadId:_0x2135f5,resolvedBy:_0x4e1332,resolvedAt:_0x3f1846})=>{const _0x180b0a=_0x5e858c,_0x295d8f=_0x1fe016[_0x180b0a(0x1f7)](_0x2135f5);_0x295d8f&&_0x295d8f[_0x180b0a(0x1ba)]({'resolvedBy':_0x4e1332,'resolvedAt':_0x3f1846,'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1b2),(_0x27a645,{commentThreadId:_0x70fd20})=>{const _0x59dad7=_0x5e858c,_0x3e1e26=_0x1fe016[_0x59dad7(0x1f7)](_0x70fd20);_0x3e1e26&&_0x3e1e26[_0x59dad7(0x1eb)]({'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1c7),(_0x11f8f3,{commentThreadId:_0x1834b6})=>{const _0x18be86=_0x5e858c,_0x59f9e9=_0x1fe016[_0x18be86(0x1f7)](_0x1834b6);_0x59f9e9&&_0x59f9e9[_0x18be86(0x1a4)]({'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1f6),(_0x46f6f9,_0x4f8c2b)=>{const _0x34762f=_0x5e858c,_0x586632=_0x4f8c2b[_0x34762f(0x1d3)],_0x3bfae1=_0x1fe016[_0x34762f(0x1f7)](_0x586632);_0x3bfae1&&_0x3bfae1[_0x34762f(0x1c5)]({...p(_0x4f8c2b),'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1ab),(_0x572cf7,{commentThreadId:_0x585a13,commentId:_0x3cfef7,content:_0x5c5926,attributes:_0x414f72})=>{const _0x500a72=_0x5e858c,_0x182b0c=_0x1fe016[_0x500a72(0x1f7)](_0x585a13);if(_0x182b0c){const _0x4b55a5=_0x182b0c[_0x500a72(0x1dc)](_0x3cfef7);_0x4b55a5&&_0x4b55a5[_0x500a72(0x1ca)]({'content':_0x5c5926,'attributes':_0x414f72,'isFromAdapter':!0x0});}}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1cf),(_0x2d7247,{commentThreadId:_0x24cb81,commentId:_0x307bc3})=>{const _0xd11629=_0x5e858c,_0x1fa424=_0x1fe016[_0xd11629(0x1f7)](_0x24cb81);if(_0x1fa424){const _0x2ba3eb=_0x1fa424[_0xd11629(0x1dc)](_0x307bc3);_0x2ba3eb&&_0x2ba3eb[_0xd11629(0x1a4)]({'isFromAdapter':!0x0});}}),await this[_0x5e858c(0x201)](_0x5bc118);}[_0x40cabb(0x19d)](){const _0x133dc0=_0x40cabb;if(this[_0x133dc0(0x1a6)]instanceof _0x338402){const _0x5cbef3=this[_0x133dc0(0x1a6)][_0x133dc0(0x1f5)][_0x133dc0(0x1e2)](_0x133dc0(0x1f0));this[_0x133dc0(0x1f9)](_0x5cbef3);}}[_0x40cabb(0x1f9)](_0x2ddb48){const _0x5bccf8=_0x40cabb;if(!this[_0x5bccf8(0x1e1)][_0x5bccf8(0x19e)](_0x2ddb48))throw new _0x2a4f64(_0x5bccf8(0x1a7),null,{'channelId':_0x2ddb48});this[_0x5bccf8(0x1d4)](_0x2ddb48)[_0x5bccf8(0x1ef)](),this[_0x5bccf8(0x1e1)][_0x5bccf8(0x1fe)](_0x2ddb48);}async[_0x40cabb(0x1be)](){const _0x43fcc9=_0x40cabb;for(const _0x326bf1 of this[_0x43fcc9(0x1e1)][_0x43fcc9(0x1e4)]())await this[_0x43fcc9(0x201)](_0x326bf1);if(this[_0x43fcc9(0x1a6)]instanceof _0x338402){const _0x47a574=this[_0x43fcc9(0x1a6)][_0x43fcc9(0x1f5)][_0x43fcc9(0x1e2)](_0x43fcc9(0x1f0)),_0x14b1ed=this[_0x43fcc9(0x1a6)][_0x43fcc9(0x1b3)][_0x43fcc9(0x1e2)](_0x3edf86);_0x14b1ed[_0x43fcc9(0x1fc)](_0x47a574);const _0x3f8c7d=await this[_0x43fcc9(0x1e1)][_0x43fcc9(0x1e2)](_0x47a574)[_0x43fcc9(0x1ff)]();_0x14b1ed[_0x43fcc9(0x1fb)](_0x47a574,_0x3f8c7d);}}async[_0x40cabb(0x201)](_0x1247d2){const _0x3bb187=_0x40cabb,{connection:_0x2409c9}=this[_0x3bb187(0x1a6)][_0x3bb187(0x1b3)][_0x3bb187(0x1e2)](_0x164178),_0x32efed=this[_0x3bb187(0x1a6)][_0x3bb187(0x1b3)][_0x3bb187(0x1e2)](_0x3bb187(0x1ea)),_0x56b0eb=this[_0x3bb187(0x1e1)][_0x3bb187(0x1e2)](_0x1247d2),_0x1b5ddc=await _0x56b0eb[_0x3bb187(0x1c6)](_0x2409c9);await this[_0x3bb187(0x1c2)](_0x1b5ddc);const _0xb909b1=new Set(Array[_0x3bb187(0x1d8)](_0x32efed[_0x3bb187(0x1d7)]({'channelId':_0x1247d2}),_0x588d9c=>_0x588d9c['id']));for(const _0x31c18b of _0x1b5ddc)_0x31c18b[_0x3bb187(0x1f1)]||_0xb909b1[_0x3bb187(0x1fe)](_0x31c18b[_0x3bb187(0x1d3)]);for(const _0x3d9836 of _0xb909b1)_0x32efed[_0x3bb187(0x1f7)](_0x3d9836)[_0x3bb187(0x1a4)]({'isFromAdapter':!0x0});for(const _0x3134a2 of _0x1b5ddc){let _0x15e1d6=_0x32efed[_0x3bb187(0x1f7)](_0x3134a2[_0x3bb187(0x1d3)]);const {commentThreadId:_0xeb7682,context:_0x3affc6,attributes:_0x47b1f5,resolvedBy:_0x2c252b,resolvedAt:_0x45018b,unlinkedAt:_0x206ad8,deletedAt:_0x17e735}=_0x3134a2;if(_0x17e735)continue;_0x15e1d6||(_0x15e1d6=_0x32efed[_0x3bb187(0x1a1)]({'channelId':_0x1247d2,'threadId':_0xeb7682,'context':_0x3affc6,'attributes':_0x47b1f5||{},'resolvedBy':_0x2c252b,'resolvedAt':_0x45018b,'unlinkedAt':_0x206ad8,'isFromAdapter':!0x0}));const _0x512d9c=new Set(Array[_0x3bb187(0x1d8)](_0x15e1d6[_0x3bb187(0x1d0)],_0x9f8a93=>_0x9f8a93['id']));for(const _0x4ea6f9 of _0x3134a2[_0x3bb187(0x1d0)])_0x512d9c[_0x3bb187(0x1fe)](_0x4ea6f9[_0x3bb187(0x1e6)]);for(const _0x825bb8 of _0x512d9c)_0x15e1d6[_0x3bb187(0x1dc)](_0x825bb8)[_0x3bb187(0x1a4)]({'isFromAdapter':!0x0});for(const _0x5956e4 of _0x3134a2[_0x3bb187(0x1d0)]){const _0x481298=_0x15e1d6[_0x3bb187(0x1dc)](_0x5956e4[_0x3bb187(0x1e6)]);_0x481298?_0x481298[_0x3bb187(0x1f4)]!==_0x5956e4[_0x3bb187(0x1f4)]&&_0x481298[_0x3bb187(0x1ca)]({'content':_0x5956e4[_0x3bb187(0x1f4)],'isFromAdapter':!0x0}):_0x15e1d6[_0x3bb187(0x1c5)](Object[_0x3bb187(0x1bc)](p(_0x5956e4),{'isFromAdapter':!0x0}));}}}[_0x40cabb(0x1d4)](_0x5876d8){const _0x32b236=_0x40cabb;if(!this[_0x32b236(0x1e1)][_0x32b236(0x19e)](_0x5876d8))throw new _0x2a4f64(_0x32b236(0x1d9),null,{'channelId':_0x5876d8});return this[_0x32b236(0x1e1)][_0x32b236(0x1e2)](_0x5876d8);}async[_0x40cabb(0x1c2)](_0x37c6a2){const _0x32d084=_0x40cabb,_0x13b967=this[_0x32d084(0x1a6)][_0x32d084(0x1b3)][_0x32d084(0x1e2)](_0x13861e),{connection:_0x16e7dd}=this[_0x32d084(0x1a6)][_0x32d084(0x1b3)][_0x32d084(0x1e2)](_0x164178),_0x12a593=new Set();for(const {resolvedBy:_0x38d703,comments:_0x306db4}of _0x37c6a2){_0x38d703&&!_0x13b967[_0x32d084(0x202)](_0x38d703)&&_0x12a593[_0x32d084(0x1df)](_0x38d703);for(const {userId:_0x242363}of _0x306db4)_0x13b967[_0x32d084(0x202)](_0x242363)||_0x12a593[_0x32d084(0x1df)](_0x242363);}if(0x0===_0x12a593[_0x32d084(0x1cc)])return;const _0x2ac380=await _0x3e1cd6[_0x32d084(0x1c0)](_0x16e7dd,Array[_0x32d084(0x1d8)](_0x12a593));for(const _0x56c575 of _0x2ac380)_0x13b967[_0x32d084(0x202)](_0x56c575['id'])||_0x13b967[_0x32d084(0x1c3)](_0x56c575);}}export{s as CloudServicesCommentsAdapter};async function v(_0x39991c){const _0x4756a4=_0x40cabb;if(_0x4756a4(0x1b5)!==_0x39991c[_0x4756a4(0x1c1)])throw _0x39991c;}function A(_0x476d9d){const _0x1c5611=_0x40cabb;if((_0x30186c=_0x476d9d)[_0x1c5611(0x1f3)][_0x1c5611(0x1ae)](_0x1c5611(0x1de))||_0x30186c[_0x1c5611(0x1f3)][_0x1c5611(0x1ae)](_0x1c5611(0x1e8))||_0x30186c[_0x1c5611(0x1f3)][_0x1c5611(0x1ae)](_0x1c5611(0x1b6)))return new Promise(()=>{});var _0x30186c;throw _0x476d9d;}function p(_0x1fe630){const _0x201cac=_0x40cabb;return{'threadId':_0x1fe630[_0x201cac(0x1d3)],'commentId':_0x1fe630[_0x201cac(0x1e6)],'content':_0x1fe630[_0x201cac(0x1f4)],'createdAt':_0x1fe630[_0x201cac(0x1a3)],'authorId':_0x1fe630[_0x201cac(0x1a8)],'attributes':_0x1fe630[_0x201cac(0x1ee)]||{}};}function _0x6057(){const _0x51a3db=['resolvedAt','isOfficialPlugin','attributes','disconnect','collaboration.channelId','deletedAt','1508708eurNli','message','content','config','commentAdded','getCommentThread','sessionAdd:','_terminateService','Permissions','register','unregister','catch','delete','getConnectedSessions','20sjguSs','_connectService','getUser','31262BHeqio','destroy','has','updateComment','resolvedBy','addCommentThread','cloudservicescommentsadapter-connect-already-connected','createdAt','remove','map','context','cloudservicescommentsadapter-disconnect-not-exist','userId','8021651IDzjIX','commentThreadUpdated','commentUpdated','pluginName','reopenCommentThread','startsWith','removeComment','CommentsService','authorId','commentThreadReopened','plugins','removeCommentThread','404','cloud-services-internal-error:\x20Request\x20timeout.','mySessionId','1326654wNWTyq','setPermissions','resolve','17647LKtcnn','assign','commentThreadAdded','reconnect','resolveCommentThread','getMany','code','_fetchMissingUsersForThreads','addUser','990tximDF','addComment','connect','commentThreadRemoved','184nJnXnO','CloudServicesCommentsAdapter','update','5590512FWFuAu','size','listenTo','requires','commentRemoved','comments','commentThreadResolved','off','commentThreadId','_getService','_setUpService','init','getCommentThreads','from','cloudservicescommentsadapter-service-not-exist','adapter','10145hjGNph','getComment','5KRwmFr','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','add','set','_services','get','addToReconnectionStack','keys','isPremiumPlugin','commentId','permissions','cloud-services-internal-error:\x20Not\x20connected.','updateCommentThread','CommentsRepository','reopen'];_0x6057=function(){return _0x51a3db;};return _0x6057();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1758dd=_0x4d9c;function _0x4d9c(_0x4fe78b,_0x5d0264){const _0x186d90=_0x186d();return _0x4d9c=function(_0x4d9c64,_0x4670e6){_0x4d9c64=_0x4d9c64-0x1f0;let _0x3b434f=_0x186d90[_0x4d9c64];return _0x3b434f;},_0x4d9c(_0x4fe78b,_0x5d0264);}(function(_0x5d6162,_0x31d7f5){const _0x35657b=_0x4d9c,_0xd7db36=_0x5d6162();while(!![]){try{const _0x11c54c=parseInt(_0x35657b(0x2a8))/0x1+parseInt(_0x35657b(0x271))/0x2+parseInt(_0x35657b(0x223))/0x3*(-parseInt(_0x35657b(0x24c))/0x4)+-parseInt(_0x35657b(0x257))/0x5*(-parseInt(_0x35657b(0x2d8))/0x6)+-parseInt(_0x35657b(0x22e))/0x7*(parseInt(_0x35657b(0x26f))/0x8)+parseInt(_0x35657b(0x2b0))/0x9+parseInt(_0x35657b(0x2a4))/0xa*(-parseInt(_0x35657b(0x2c1))/0xb);if(_0x11c54c===_0x31d7f5)break;else _0xd7db36['push'](_0xd7db36['shift']());}catch(_0x898d96){_0xd7db36['push'](_0xd7db36['shift']());}}}(_0x186d,0xcc065));import{Plugin as _0x483a73,PendingActions as _0x4d1628}from'ckeditor5/src/core.js';import{CKEditorError as _0x4b2cc9,version as _0x210e6e,uid as _0x2334eb}from'ckeditor5/src/utils.js';import{Notification as _0x511de5}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x513267,NoOperation as _0x5a158f,InsertOperation as _0x305c33,MarkerOperation as _0xf8f9c0,RootAttributeOperation as _0x553c12,OperationFactory as _0x6399d7,History as _0x20b2da}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x272920}from'./websocketgateway.js';import{Sessions as _0x1db1fa}from'./sessions.js';import{UserMarkers as _0x138abb}from'./usermarkers.js';import{getTranslation as _0x2578e4}from'../common-translations.js';import{Compressor as _0x2cf428}from'@ckeditor/ckeditor5-operations-compressor';function _0x186d(){const _0x4ada0a=['realtimecollaborationclient-init-document-already-initialized','catch','getRoot','init','permissions','fromJSON','clone','cs:removeUser','_knownOperations','Permissions','_knownRootNames','bind','_shouldSendUpdate','_ignoredOperations','collaboration.channelId','_waitUntilSynced','connection','60xuioFA','model','connect','startsWith','601753RqMyXc','compress','loadRoot','channelSessions','_operationIdentifier','_setPendingAction','rootName','isDocumentOperation','3713733FuxkMf','getDocumentDetails','addUser','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','serverHistory','enqueueChange','realtimecollaborationclient-init-service-incorrect-server-operation','_connectAfterSessionHasBeenFlushed','addRootAttribute','batch','realtimecollaborationclient-init-service-internal-error','_operationToId','_handleInitialConnectionData','path','locale','sessionAdd:','_compressOperations','1724635oemaWu','getOperationAuthor','decompress','cloud-services-internal-error:\x20Not\x20connected.','insert','fire','_handleServerResponse','change:hasDomSelection','_addKnownRoot','parse','applyOperation','editing','_handleReconnectionResponse','isUndoneOperation','_compressor','newRange','unregister','slice','CollaborativeEditingService','_authorId','document:write','stop','disconnected','432378qkVhcD','_loadRoot','_disconnectionOperations','error','realtimecollaborationclient-init-session-connection-error','getIdOfTheLastOperation','isEnabled','InsertOperation','define','baseVersion','404','_getAffectedRoot','createRange','setIdForTheLastOperation','enableReadOnlyMode','affectsData','createdAt','Notification','_initSessionsHandling','targetPosition','history','_shouldSendSelectionUpdate','_updateServerHistory','Synchronization\x20issue','change:range','offset','_isPendingUpdate','filter','affectedSelectable','_hasSelectionChanged','_sendBufferedOperations','lastOperationAcceptedAt','_channelId','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','message','$root','currentDocumentSession','createUserMarkerOperations','operationsReceived','_saveOperationInBuffer','wereChangesApplied','code','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','RealTimeCollaborationClient','round','view','PENDING_ACTION_SENDING_DATA','config','409','move','_sendBufferedOperationsDelayId','initData','mySessionId','get','plugins','_decompressOperations','isReadOnly','pluginName','type','attributes','length','setPermissions','collaboration-missing-channelid','_baseBufferDelay','_sendBufferedOperationsDelayed','editor','_isLoaded','set','metadata','sessionId','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.','reconnection:\x20flushed\x20session','_bufferedOperations','_isConnected','end','reconnect','register','CommentsOnly','removeFromReconnectionStack','high','realtimecollaborationclient-error','off','2181VSIxUA','showWarning','markers','map','cloudServices.bundleVersion','_currentBufferDelay','disableReadOnlyMode','_offset','suppressErrorInCollaboration','getMany','requires','21vZpimU','isPremiumPlugin','_getOperationsFromInitData','from','_document','real-time-collaboration','_isDisconnection','disconnect','differ','data','_refreshUserSelectionMarkers','marker','version','then','getUser','createPositionFromPath','_isInit','_lastSyncedOperationId','finally','addRoot','_setUpDataInit','_service','realtimecollaborationclient-init-non-existent-root','keys','cloudDocumentVersion','__className','collaboration','createPositionAt','wasUndone','string','8572VneiDm','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_connectService','_clearPendingAction','getConnectedSessions','createRoot','_initThrowingOnDataSet','forEach','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.','connected','start','70MPWfoO','realtimecollaborationclient-sendbufferedoperations','_fetchMissingUsers','cloud-services-internal-error:\x20Request\x20timeout.','isOfficialPlugin','getOperations','add','stopListening','addOperation','realtimecollaborationclient-init-connection-failed','remove','realtimecollaborationclient-handleserverresponse','_pendingAction','rtc-destroyed','state','userId','rootsAttributes','addToReconnectionStack','lastSyncVersion','listenTo','_hasSynchronizationProblem','_isAttached','position','rtc-offline','668840uMYJMM','_handleExternalOperations','3123798WaSPIY','sendOperations','_lastServerVersion','entries','multi-root-editor-root-attributes-no-root','has','roots','selection','_handleReconnectionError','_crash','_applyOperationsSet','reset','document','lastOperationId','_isEditingAllowed','_bufferRootLoad','destroy','ready','realtimecollaborationclient','root','toJSON','change:_isEditingAllowed','_disconnectService','includes','push','return','sessionCreatedAt','change:_isPendingUpdate','directChange','size','_handleReceivedOperations','lastDocumentSession','apply','_handleSendingSelectionMarkers'];_0x186d=function(){return _0x4ada0a;};return _0x186d();}import{Users as _0x211fcc}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4ccef9,CollaborativeEditingService as _0x4f67a6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let q=0x1;class l extends _0x483a73{static [_0x1758dd(0x2d3)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x4f67a6)());[_0x1758dd(0x22a)];[_0x1758dd(0x216)];[_0x1758dd(0x2b4)];[_0x1758dd(0x1f1)];[_0x1758dd(0x243)];[_0x1758dd(0x232)];[_0x1758dd(0x2cf)];[_0x1758dd(0x219)];[_0x1758dd(0x29b)];[_0x1758dd(0x29d)];[_0x1758dd(0x263)];[_0x1758dd(0x2f5)];[_0x1758dd(0x203)];[_0x1758dd(0x210)];[_0x1758dd(0x228)];[_0x1758dd(0x23f)];[_0x1758dd(0x2da)];[_0x1758dd(0x2ac)];static get[_0x1758dd(0x22d)](){return[_0x272920,_0x1db1fa,_0x138abb,_0x4d1628,_0x211fcc,_0x511de5];}static get[_0x1758dd(0x20a)](){const _0x17e23d=_0x1758dd;return _0x17e23d(0x1fc);}static get[_0x1758dd(0x25b)](){return!0x0;}static get[_0x1758dd(0x22f)](){return!0x0;}get[_0x1758dd(0x246)](){const _0x47cef5=_0x1758dd;return this[_0x47cef5(0x273)]+this[_0x47cef5(0x22a)];}get[_0x1758dd(0x273)](){const _0x501096=_0x1758dd;return this[_0x501096(0x2b4)][_0x501096(0x23a)]-this[_0x501096(0x22a)];}get[_0x1758dd(0x269)](){const _0x26c3c6=_0x1758dd,_0x96d05c=this[_0x26c3c6(0x2b4)][_0x26c3c6(0x25c)]();for(let _0x5f28f4=_0x96d05c[_0x26c3c6(0x20d)]-0x1;_0x5f28f4>=0x0;_0x5f28f4--){const _0x4413ae=_0x96d05c[_0x5f28f4];if(!this[_0x26c3c6(0x2da)][_0x26c3c6(0x276)](_0x4413ae))return _0x4413ae[_0x26c3c6(0x2e1)]+0x1-this[_0x26c3c6(0x22a)];}return 0x0;}constructor(_0x1a204a){const _0x5ca7ce=_0x1758dd;if(super(_0x1a204a),this[_0x5ca7ce(0x22a)]=0x0,this[_0x5ca7ce(0x216)]=null,this[_0x5ca7ce(0x2b4)]=new _0x20b2da(),this[_0x5ca7ce(0x212)][_0x5ca7ce(0x200)][_0x5ca7ce(0x2e0)](_0x5ca7ce(0x248),{}),this[_0x5ca7ce(0x1f1)]=this[_0x5ca7ce(0x212)][_0x5ca7ce(0x200)][_0x5ca7ce(0x206)](_0x5ca7ce(0x2a1)),!this[_0x5ca7ce(0x1f1)])throw new _0x4b2cc9(_0x5ca7ce(0x20f),this);const _0x1cdfb6=_0x1a204a[_0x5ca7ce(0x200)][_0x5ca7ce(0x206)](_0x5ca7ce(0x227))||_0x210e6e;this[_0x5ca7ce(0x243)]=new l[(_0x5ca7ce(0x2d3))](_0x1cdfb6,this[_0x5ca7ce(0x1f1)]),this[_0x5ca7ce(0x232)]=this[_0x5ca7ce(0x212)][_0x5ca7ce(0x2a5)][_0x5ca7ce(0x27d)],this[_0x5ca7ce(0x2cf)]=new _0x2cf428(),this[_0x5ca7ce(0x219)]=[],this[_0x5ca7ce(0x29b)]=new WeakSet(),this[_0x5ca7ce(0x29d)]=new Set(),this[_0x5ca7ce(0x214)](_0x5ca7ce(0x2f2),!0x1),this[_0x5ca7ce(0x214)](_0x5ca7ce(0x26b),!0x1),this[_0x5ca7ce(0x263)]=null,this[_0x5ca7ce(0x2f5)]=!0x1,this[_0x5ca7ce(0x203)]=null,this[_0x5ca7ce(0x210)]=0x12c,this[_0x5ca7ce(0x228)]=this[_0x5ca7ce(0x210)],this[_0x5ca7ce(0x23f)]=null,this[_0x5ca7ce(0x2da)]=new WeakSet(),this[_0x5ca7ce(0x2ac)]=new K(this[_0x5ca7ce(0x2da)]);}[_0x1758dd(0x296)](){const _0x3aa47e=_0x1758dd,_0x1a09fd=this[_0x3aa47e(0x212)],_0x40a07a=_0x1a09fd[_0x3aa47e(0x207)][_0x3aa47e(0x206)](_0x211fcc),_0x530f0f=_0x1a09fd[_0x3aa47e(0x207)][_0x3aa47e(0x206)](_0x272920);this[_0x3aa47e(0x26a)](_0x40a07a,_0x3aa47e(0x2c2),(_0x29a2c0,_0x54168f)=>{const _0x50977b=_0x3aa47e,_0x5c8c20=_0x54168f[0x0];_0x5c8c20[_0x50977b(0x2d4)]&&(_0x29a2c0[_0x50977b(0x28a)]=_0x40a07a[_0x50977b(0x23c)](_0x5c8c20[_0x50977b(0x2d4)]),_0x29a2c0[_0x50977b(0x2d6)]()),null===_0x5c8c20[_0x50977b(0x2d4)]&&(_0x29a2c0[_0x50977b(0x28a)]=null,_0x29a2c0[_0x50977b(0x2d6)]());},{'priority':_0x3aa47e(0x220)}),this[_0x3aa47e(0x26a)](_0x1a09fd[_0x3aa47e(0x2a5)][_0x3aa47e(0x27d)][_0x3aa47e(0x278)],_0x3aa47e(0x2f0),(_0x388ca3,_0x2b2313)=>{const _0x126842=_0x3aa47e;_0x2b2313[_0x126842(0x28d)]&&this[_0x126842(0x238)]();}),this[_0x3aa47e(0x26a)](_0x1a09fd[_0x3aa47e(0x2cc)][_0x3aa47e(0x1fe)],_0x3aa47e(0x2c8),()=>{const _0x177af6=_0x3aa47e;this[_0x177af6(0x238)]();}),this[_0x3aa47e(0x252)](),_0x1a09fd[_0x3aa47e(0x2a5)]['on'](_0x3aa47e(0x2cb),(_0x35e669,_0x732e2d)=>{const _0x3f895b=_0x3aa47e,_0x8f12d1=_0x732e2d[0x0];_0x8f12d1[_0x3f895b(0x2af)]&&(this[_0x3f895b(0x1f8)](_0x8f12d1),this[_0x3f895b(0x29f)]()&&this[_0x3f895b(0x211)]());}),this[_0x3aa47e(0x242)](),this[_0x3aa47e(0x29e)](_0x3aa47e(0x27f))['to'](_0x530f0f,_0x3aa47e(0x265),this,_0x3aa47e(0x26b),(_0x597a93,_0x229b67)=>_0x3aa47e(0x255)===_0x597a93&&!_0x229b67),this['on'](_0x3aa47e(0x286),()=>{const _0x2b19ab=_0x3aa47e;this[_0x2b19ab(0x27f)]?_0x1a09fd[_0x2b19ab(0x229)](_0x2b19ab(0x26e)):_0x1a09fd[_0x2b19ab(0x2e6)](_0x2b19ab(0x26e));}),this[_0x3aa47e(0x27f)]?_0x1a09fd[_0x3aa47e(0x229)](_0x3aa47e(0x26e)):_0x1a09fd[_0x3aa47e(0x2e6)](_0x3aa47e(0x26e)),this[_0x3aa47e(0x214)](_0x3aa47e(0x21a),!0x1);}async[_0x1758dd(0x21c)](){const _0x4b799e=_0x1758dd,_0x34cd00=this[_0x4b799e(0x212)][_0x4b799e(0x207)][_0x4b799e(0x206)](_0x1db1fa),_0x4ce625=this[_0x4b799e(0x212)][_0x4b799e(0x207)][_0x4b799e(0x206)](_0x272920);try{this[_0x4b799e(0x2f2)]=!0x0,_0x34cd00[_0x4b799e(0x2d1)](this[_0x4b799e(0x1f1)]);const _0x4cc0cc=await this[_0x4b799e(0x243)][_0x4b799e(0x21c)](_0x4ce625[_0x4b799e(0x2a3)],this[_0x4b799e(0x269)]);await this[_0x4b799e(0x2cd)](_0x4cc0cc)&&(this[_0x4b799e(0x2f2)]=!0x1,this[_0x4b799e(0x24f)]());const _0x25c013=await this[_0x4b799e(0x243)][_0x4b799e(0x250)]();_0x34cd00[_0x4b799e(0x21d)](this[_0x4b799e(0x1f1)],_0x25c013),this[_0x4b799e(0x292)](),this[_0x4b799e(0x21a)]=!0x0;}catch(_0x17663c){if(function(_0x351d95){const _0xd9c56f=_0x4b799e;return _0xd9c56f(0x2e2)===_0x351d95[_0xd9c56f(0x1fa)];}(_0x17663c)&&this[_0x4b799e(0x216)])await this[_0x4b799e(0x2b7)]();else{if(function(_0x223108){const _0x4bd1df=_0x4b799e;return _0x4bd1df(0x201)===_0x223108[_0x4bd1df(0x1fa)];}(_0x17663c)){const _0x5bc948=_0x2578e4(this[_0x4b799e(0x212)][_0x4b799e(0x2be)],_0x4b799e(0x24d));this[_0x4b799e(0x279)](_0x5bc948);}else{if(!(_0x17663c instanceof G))throw _0x17663c;this[_0x4b799e(0x279)]();}}}}[_0x1758dd(0x281)](){const _0x54c191=_0x1758dd,_0x1f3358=this[_0x54c191(0x212)][_0x54c191(0x207)][_0x54c191(0x206)](_0x272920),_0x157b8e=this[_0x54c191(0x212)][_0x54c191(0x207)][_0x54c191(0x206)](_0x1db1fa);this[_0x54c191(0x212)][_0x54c191(0x2e6)](_0x54c191(0x264)),_0x157b8e[_0x54c191(0x2ab)][_0x54c191(0x276)](this[_0x54c191(0x1f1)])&&_0x157b8e[_0x54c191(0x2d1)](this[_0x54c191(0x1f1)]),_0x1f3358[_0x54c191(0x21f)](this),this[_0x54c191(0x287)](),super[_0x54c191(0x281)]();}async[_0x1758dd(0x2cd)](_0x571d33){const _0x1ed258=_0x1758dd;if(this[_0x1ed258(0x216)]!==_0x571d33[_0x1ed258(0x216)]&&this[_0x1ed258(0x23f)]!==_0x571d33[_0x1ed258(0x27e)])throw new G();return this[_0x1ed258(0x216)]=_0x571d33[_0x1ed258(0x216)],this[_0x1ed258(0x2c7)]([],{..._0x571d33,'wereChangesApplied':!0x1,'data':_0x571d33[_0x1ed258(0x237)]},_0x1ed258(0x21c));}async[_0x1758dd(0x24e)](_0x43f814,_0x3ee5ec=!0x1){const _0x152682=_0x1758dd,{connection:_0x24c414}=this[_0x152682(0x212)][_0x152682(0x207)][_0x152682(0x206)](_0x272920);l[_0x152682(0x2d3)][_0x152682(0x250)](_0x24c414,this[_0x152682(0x1f1)])[_0x152682(0x23b)](_0xb9f820=>this[_0x152682(0x2ea)](_0xb9f820))[_0x152682(0x294)](_0x123c41=>{const _0x4eb704=_0x152682;this[_0x4eb704(0x27a)](_0x4eb704(0x2dc),_0x123c41);}),this[_0x152682(0x26a)](this[_0x152682(0x243)],_0x152682(0x1f7),this[_0x152682(0x28f)][_0x152682(0x29e)](this)),this[_0x152682(0x26a)](this[_0x152682(0x243)],_0x152682(0x2db),(_0x31c375,_0x45f87f)=>{const _0x4fe5a9=_0x152682;this[_0x4fe5a9(0x27a)](_0x4fe5a9(0x2ba),_0x45f87f);}),this[_0x152682(0x26a)](this[_0x152682(0x243)],_0x152682(0x2d7),()=>{const _0x4e01df=_0x152682;this[_0x4e01df(0x21a)]=!0x1;});const _0x1af086=this[_0x152682(0x2ac)][_0x152682(0x2dd)](_0x43f814);this[_0x152682(0x2f2)]=!0x0;const _0x4a7674=await this[_0x152682(0x243)][_0x152682(0x2a6)](_0x24c414,this[_0x152682(0x2c0)](_0x43f814),_0x1af086);if(this[_0x152682(0x216)]=_0x4a7674[_0x152682(0x216)],_0x3ee5ec){if(!_0x4a7674[_0x152682(0x1f9)])return void this[_0x152682(0x279)]();this[_0x152682(0x2f2)]=!0x1,this[_0x152682(0x24f)](),this[_0x152682(0x2b4)][_0x152682(0x27c)](),this[_0x152682(0x22a)]=_0x4a7674[_0x152682(0x2f1)],this[_0x152682(0x2b4)][_0x152682(0x23a)]=this[_0x152682(0x22a)],await this[_0x152682(0x2c7)](_0x43f814,_0x4a7674,_0x152682(0x218));}else await this[_0x152682(0x2bc)](_0x4a7674,_0x43f814);this[_0x152682(0x292)](),this[_0x152682(0x21a)]=!0x0;}[_0x1758dd(0x292)](){const _0xe0c3cf=_0x1758dd,_0x2eef28=this[_0xe0c3cf(0x212)][_0xe0c3cf(0x207)][_0xe0c3cf(0x206)](_0x1db1fa),_0x4c98a4=this[_0xe0c3cf(0x212)][_0xe0c3cf(0x207)][_0xe0c3cf(0x206)](_0x138abb),_0x3eacf3=_0x2eef28[_0xe0c3cf(0x2ab)][_0xe0c3cf(0x206)](this[_0xe0c3cf(0x1f1)]);_0x3eacf3&&_0x3eacf3[_0xe0c3cf(0x20d)]>0x1?_0x4c98a4[_0xe0c3cf(0x1f6)]():this[_0xe0c3cf(0x26a)](_0x2eef28,_0xe0c3cf(0x2bf)+this[_0xe0c3cf(0x1f1)],()=>{const _0x5e0df9=_0xe0c3cf;0x2===_0x2eef28[_0x5e0df9(0x2ab)][_0x5e0df9(0x206)](this[_0x5e0df9(0x1f1)])[_0x5e0df9(0x20d)]&&_0x4c98a4[_0x5e0df9(0x1f6)]();});}async[_0x1758dd(0x28f)](_0x457545,_0x53dfeb,_0x2a2fb8,_0x3d46a1){const _0x1843f4=_0x1758dd;if(!this[_0x1843f4(0x2f2)]&&this[_0x1843f4(0x232)][_0x1843f4(0x23a)]==_0x53dfeb){const _0x2ba244=this[_0x1843f4(0x208)](_0x2a2fb8,_0x3d46a1);await this[_0x1843f4(0x259)](_0x2ba244),this[_0x1843f4(0x270)](_0x2ba244,_0x53dfeb,_0x2a2fb8[_0x1843f4(0x27e)])||this[_0x1843f4(0x27a)](_0x1843f4(0x2b6));}}async[_0x1758dd(0x2b7)](){const _0x470b10=_0x1758dd;this[_0x470b10(0x287)]();const {locale:_0x588a4e}=this[_0x470b10(0x212)];let _0x337616;try{_0x337616=await this[_0x470b10(0x243)][_0x470b10(0x2b1)]();}catch{const _0x34e91e=_0x2578e4(_0x588a4e,_0x470b10(0x2b3));return void this[_0x470b10(0x279)](_0x34e91e);}const _0x329844=_0x337616[_0x470b10(0x1f5)]||_0x337616[_0x470b10(0x290)];if(this[_0x470b10(0x23f)]!==_0x329844[_0x470b10(0x27e)]){const _0x35c5b6=_0x2578e4(_0x588a4e,_0x470b10(0x254));return void this[_0x470b10(0x279)](_0x35c5b6);}await this[_0x470b10(0x24e)](this[_0x470b10(0x212)][_0x470b10(0x2a5)][_0x470b10(0x27d)][_0x470b10(0x2ec)][_0x470b10(0x25c)](),!0x0);}[_0x1758dd(0x287)](){const _0x317732=_0x1758dd;this[_0x317732(0x243)][_0x317732(0x235)](),this[_0x317732(0x219)]=[],clearTimeout(this[_0x317732(0x203)]),this[_0x317732(0x25e)](this[_0x317732(0x243)]);}[_0x1758dd(0x2ea)](_0x309595){const _0x41d456=_0x1758dd,_0x630d91=this[_0x41d456(0x212)][_0x41d456(0x207)][_0x41d456(0x206)](_0x1db1fa);this[_0x41d456(0x26a)](_0x630d91,_0x41d456(0x2bf)+this[_0x41d456(0x1f1)],(_0x435f96,{session:_0x3990a9})=>{const _0x5243cd=_0x41d456;if(_0x3990a9['id']===_0x630d91[_0x5243cd(0x205)]){_0x435f96[_0x5243cd(0x222)]();const _0x333cd6=this[_0x5243cd(0x212)][_0x5243cd(0x207)][_0x5243cd(0x276)](_0x5243cd(0x21e))&&this[_0x5243cd(0x212)][_0x5243cd(0x207)][_0x5243cd(0x206)](_0x5243cd(0x21e));let _0x498702=_0x3990a9[_0x5243cd(0x297)];_0x333cd6&&_0x333cd6[_0x5243cd(0x2de)]&&(_0x498702=_0x498702[_0x5243cd(0x2f3)](_0x8d1143=>_0x5243cd(0x2d5)!==_0x8d1143)),this[_0x5243cd(0x212)][_0x5243cd(0x207)][_0x5243cd(0x206)](_0x5243cd(0x29c))[_0x5243cd(0x20e)](_0x498702,this[_0x5243cd(0x1f1)]);}}),_0x630d91[_0x41d456(0x21d)](this[_0x41d456(0x1f1)],_0x309595);}[_0x1758dd(0x252)](){const _0x24cb06=_0x1758dd,_0x353ba7=this[_0x24cb06(0x212)][_0x24cb06(0x237)][_0x24cb06(0x214)];this[_0x24cb06(0x212)][_0x24cb06(0x237)][_0x24cb06(0x214)]=(..._0x452ca6)=>{const _0x2c608f=_0x24cb06;if(!_0x452ca6[_0x452ca6[_0x2c608f(0x20d)]-0x1][_0x2c608f(0x22b)])throw new _0x4b2cc9(_0x2c608f(0x1f2),this);_0x353ba7[_0x2c608f(0x291)](this[_0x2c608f(0x212)][_0x2c608f(0x237)],_0x452ca6);};}[_0x1758dd(0x242)](){const _0x44da27=_0x1758dd;this[_0x44da27(0x212)][_0x44da27(0x237)]['on'](_0x44da27(0x296),(_0x467757,[_0x498a41])=>{const _0x179cca=_0x44da27;if(this[_0x179cca(0x232)][_0x179cca(0x23a)])throw new _0x4b2cc9(_0x179cca(0x293),this);_0x467757[_0x179cca(0x2d6)](),this[_0x179cca(0x2ad)]();const _0x1cbca6=this[_0x179cca(0x212)][_0x179cca(0x200)][_0x179cca(0x206)](_0x179cca(0x267)),_0x25632f=this[_0x179cca(0x230)](_0x498a41,_0x1cbca6);0x0==_0x25632f[_0x179cca(0x20d)]&&_0x25632f[_0x179cca(0x289)](new _0x5a158f(0x0)),_0x467757[_0x179cca(0x28a)]=this[_0x179cca(0x24e)](_0x25632f)[_0x179cca(0x23b)](()=>{const _0x1ecaf=_0x179cca;this[_0x1ecaf(0x212)][_0x1ecaf(0x207)][_0x1ecaf(0x206)](_0x272920)[_0x1ecaf(0x268)](this),this[_0x1ecaf(0x212)][_0x1ecaf(0x237)][_0x1ecaf(0x2c6)](_0x1ecaf(0x282));})[_0x179cca(0x294)](_0x107471=>this[_0x179cca(0x27a)](_0x179cca(0x260),_0x107471))[_0x179cca(0x240)](()=>this[_0x179cca(0x24f)]());},{'priority':_0x44da27(0x220)}),this[_0x44da27(0x212)]['on'](_0x44da27(0x2aa),async(_0x21d5a2,[_0x491eb1,_0x2976f4])=>{const _0x115f32=_0x44da27;_0x21d5a2[_0x115f32(0x2d6)]();const _0x5622a2=this[_0x115f32(0x212)][_0x115f32(0x2a5)][_0x115f32(0x27d)][_0x115f32(0x295)](_0x491eb1);if(!this[_0x115f32(0x29d)][_0x115f32(0x276)](_0x491eb1)){const _0x52dd65=_0x2976f4&&_0x2976f4[_0x115f32(0x237)]?_0x2976f4[_0x115f32(0x237)]:'',_0x469fcc=_0x2976f4&&_0x2976f4[_0x115f32(0x20c)]?_0x2976f4[_0x115f32(0x20c)]:{};await this[_0x115f32(0x2d9)](_0x491eb1,_0x52dd65,_0x469fcc);}this[_0x115f32(0x212)][_0x115f32(0x2a5)][_0x115f32(0x2b5)]({'isUndoable':!0x1},()=>{const _0x5c731a=_0x115f32;_0x5622a2[_0x5c731a(0x213)]=!0x0,this[_0x5c731a(0x212)][_0x5c731a(0x2a5)][_0x5c731a(0x27d)][_0x5c731a(0x236)][_0x5c731a(0x280)](_0x5622a2);});},{'priority':_0x44da27(0x220)});}async[_0x1758dd(0x259)](_0x1b770c){const _0x4b6bd4=_0x1758dd,_0x9f4791=this[_0x4b6bd4(0x212)][_0x4b6bd4(0x207)][_0x4b6bd4(0x206)](_0x211fcc),{connection:_0x1adb1a}=this[_0x4b6bd4(0x212)][_0x4b6bd4(0x207)][_0x4b6bd4(0x206)](_0x272920),_0x3e3bd9=new Set();for(const _0x49c9aa of _0x1b770c){const _0xacf031=_0x49c9aa[_0x4b6bd4(0x2d4)];_0xacf031&&!_0x9f4791[_0x4b6bd4(0x23c)](_0xacf031)&&_0x3e3bd9[_0x4b6bd4(0x25d)](_0xacf031);}if(0x0===_0x3e3bd9[_0x4b6bd4(0x28e)])return;const _0x4081b6=await _0x4ccef9[_0x4b6bd4(0x22c)](_0x1adb1a,Array[_0x4b6bd4(0x231)](_0x3e3bd9));for(const _0x153f7d of _0x4081b6)_0x9f4791[_0x4b6bd4(0x23c)](_0x153f7d['id'])||_0x9f4791[_0x4b6bd4(0x2b2)](_0x153f7d);}[_0x1758dd(0x230)](_0xeeb9b7,_0x3f21ff={}){const _0x409c1b=_0x1758dd,_0x2c15c6=this[_0x409c1b(0x212)][_0x409c1b(0x2a5)],_0x5a7ab4=[];let _0x3d4a5c=0x0;const _0x37408f=_0x409c1b(0x24b)==typeof _0xeeb9b7?{'main':_0xeeb9b7}:_0xeeb9b7;for(const _0x22ffce of Object[_0x409c1b(0x245)](_0x37408f)){if(!this[_0x409c1b(0x232)][_0x409c1b(0x277)][_0x409c1b(0x276)](_0x22ffce))throw new _0x4b2cc9(_0x409c1b(0x244),this);const _0x3757a0=this[_0x409c1b(0x212)][_0x409c1b(0x237)][_0x409c1b(0x2ca)](_0x37408f[_0x22ffce]),_0x5d232c=this[_0x409c1b(0x232)][_0x409c1b(0x295)](_0x22ffce),_0x3eab30=new _0x305c33(_0x2c15c6[_0x409c1b(0x249)](_0x5d232c,0x0),_0x3757a0,_0x3d4a5c++);_0x5a7ab4[_0x409c1b(0x289)](_0x3eab30);for(const [_0x167c95,_0x3519b9]of _0x3757a0[_0x409c1b(0x225)]){const _0x467a28=_0x2c15c6[_0x409c1b(0x2e4)](_0x2c15c6[_0x409c1b(0x23d)](_0x5d232c,_0x3519b9[_0x409c1b(0x256)][_0x409c1b(0x2bd)][_0x409c1b(0x2d2)]()),_0x2c15c6[_0x409c1b(0x23d)](_0x5d232c,_0x3519b9[_0x409c1b(0x21b)][_0x409c1b(0x2bd)][_0x409c1b(0x2d2)]())),_0x37b4f0=new _0xf8f9c0(_0x167c95,null,_0x467a28,_0x2c15c6[_0x409c1b(0x225)],!0x0,_0x3d4a5c++);_0x5a7ab4[_0x409c1b(0x289)](_0x37b4f0);}}if(_0x3f21ff)for(const [_0x4c33c5,_0x1891b5]of Object[_0x409c1b(0x274)](_0x3f21ff)){const _0x319f2c=_0x2c15c6[_0x409c1b(0x27d)][_0x409c1b(0x295)](_0x4c33c5);if(!_0x319f2c)throw new _0x4b2cc9(_0x409c1b(0x275),null);for(const [_0x331165,_0x3f4720]of Object[_0x409c1b(0x274)](_0x1891b5))if(null!==_0x3f4720){const _0x33db51=new _0x553c12(_0x319f2c,_0x331165,null,_0x3f4720,_0x3d4a5c++);_0x5a7ab4[_0x409c1b(0x289)](_0x33db51);}}return _0x5a7ab4;}async[_0x1758dd(0x2d9)](_0x2740c5,_0x20f13a,_0x11a3c6){const _0x3bece3=_0x1758dd;this[_0x3bece3(0x230)]({[_0x2740c5]:_0x20f13a},{[_0x2740c5]:_0x11a3c6})[_0x3bece3(0x253)]((_0x54081e,_0x3b4eab)=>{const _0x407ba7=_0x3bece3;_0x54081e[_0x407ba7(0x2e1)]=this[_0x407ba7(0x232)][_0x407ba7(0x23a)]+_0x3b4eab,_0x54081e[_0x407ba7(0x23e)]=!0x0,this[_0x407ba7(0x1f8)](_0x54081e);}),this[_0x3bece3(0x211)](),await this[_0x3bece3(0x2a2)]();}async[_0x1758dd(0x2bc)](_0x1658cf,_0x49c044){const _0x13fdcd=_0x1758dd;let _0x7dbb48;this[_0x13fdcd(0x22a)]=_0x1658cf[_0x13fdcd(0x2f1)];const _0x31d979=_0x1658cf[_0x13fdcd(0x1f9)]&&!_0x1658cf[_0x13fdcd(0x204)],_0xf08d6b=_0x31d979?0x0:_0x1658cf[_0x13fdcd(0x237)][_0x13fdcd(0x2e1)];if(_0x49c044[_0x13fdcd(0x253)](_0x5cb71f=>{const _0x19670b=_0x13fdcd;_0x5cb71f[_0x19670b(0x23e)]=!0x0,_0x5cb71f[_0x19670b(0x2e8)]=_0x1658cf[_0x19670b(0x28b)],_0x5cb71f[_0x19670b(0x2d4)]=null;}),_0x31d979)_0x7dbb48=_0x49c044,this[_0x13fdcd(0x27b)](_0x7dbb48,_0x31d979);else{if(_0x1658cf[_0x13fdcd(0x204)]){const _0x24b19a=this[_0x13fdcd(0x230)](_0x1658cf[_0x13fdcd(0x204)]);this[_0x13fdcd(0x232)][_0x13fdcd(0x2ec)][_0x13fdcd(0x23a)]=-_0x24b19a[_0x13fdcd(0x20d)],_0x24b19a[_0x13fdcd(0x253)](_0x5706a4=>{const _0x5ed7ea=_0x13fdcd;_0x5706a4[_0x5ed7ea(0x2e1)]-=_0x24b19a[_0x5ed7ea(0x20d)],_0x5706a4[_0x5ed7ea(0x2e8)]=_0x1658cf[_0x5ed7ea(0x28b)],_0x5706a4[_0x5ed7ea(0x23e)]=!0x0,_0x5706a4[_0x5ed7ea(0x2d4)]=null;}),this[_0x13fdcd(0x27b)](_0x24b19a,!0x0),this[_0x13fdcd(0x2b4)][_0x13fdcd(0x23a)]=-_0x24b19a[_0x13fdcd(0x20d)]+this[_0x13fdcd(0x22a)],this[_0x13fdcd(0x2ee)](_0x24b19a);}this[_0x13fdcd(0x232)][_0x13fdcd(0x2ec)][_0x13fdcd(0x23a)]=_0xf08d6b,_0x7dbb48=this[_0x13fdcd(0x208)](_0x1658cf[_0x13fdcd(0x237)],_0x1658cf[_0x13fdcd(0x215)]),await this[_0x13fdcd(0x259)](_0x7dbb48),this[_0x13fdcd(0x27b)](_0x7dbb48,_0x31d979);}_0x1658cf[_0x13fdcd(0x27e)]&&(this[_0x13fdcd(0x2ac)][_0x13fdcd(0x2e5)](_0x7dbb48,_0x1658cf[_0x13fdcd(0x27e)]),this[_0x13fdcd(0x23f)]=_0x1658cf[_0x13fdcd(0x27e)]),this[_0x13fdcd(0x2b4)][_0x13fdcd(0x23a)]=_0xf08d6b+this[_0x13fdcd(0x22a)],this[_0x13fdcd(0x2ee)](_0x7dbb48),_0x49c044[_0x13fdcd(0x2f3)](_0x5ac35f=>{const _0xb22c4f=_0x13fdcd,_0x350329=this[_0xb22c4f(0x2e3)](_0x5ac35f);return _0x350329&&!this[_0xb22c4f(0x29d)][_0xb22c4f(0x276)](_0x350329);})[_0x13fdcd(0x253)]((_0xeb013e,_0x1bbe7f)=>{const _0x1bc9b8=_0x13fdcd;_0xeb013e[_0x1bc9b8(0x2e1)]=this[_0x1bc9b8(0x232)][_0x1bc9b8(0x23a)]+_0x1bbe7f,this[_0x1bc9b8(0x1f8)](_0xeb013e);}),this[_0x13fdcd(0x29f)]()?(this[_0x13fdcd(0x228)]=0x0,this[_0x13fdcd(0x211)](!0x0),await this[_0x13fdcd(0x2a2)]()):(this[_0x13fdcd(0x2f2)]=!0x1,this[_0x13fdcd(0x24f)]());}[_0x1758dd(0x27a)](_0x4b78e6,_0x21cd4f){const _0x50a686=_0x1758dd,_0x438af9=_0x21cd4f&&_0x21cd4f[_0x50a686(0x1f3)];if(_0x438af9&&_0x438af9[_0x50a686(0x2a7)](_0x50a686(0x283)))throw _0x21cd4f;const _0x187a9f=this[_0x50a686(0x212)][_0x50a686(0x207)][_0x50a686(0x206)](_0x272920);throw this[_0x50a686(0x2f2)]=!0x0,_0x187a9f[_0x50a686(0x235)](),this[_0x50a686(0x212)][_0x50a686(0x2e6)](_0x50a686(0x221)),new _0x4b2cc9(_0x4b78e6,this[_0x50a686(0x212)],_0x438af9?{'originalError':_0x438af9}:void 0x0);}[_0x1758dd(0x1f8)](_0x1af42b){const _0x3f2741=_0x1758dd;this[_0x3f2741(0x29b)][_0x3f2741(0x276)](_0x1af42b)||(this[_0x3f2741(0x29b)][_0x3f2741(0x25d)](_0x1af42b),this[_0x3f2741(0x219)][_0x3f2741(0x289)](_0x1af42b),this[_0x3f2741(0x263)]||_0x3f2741(0x239)==_0x1af42b[_0x3f2741(0x20b)]&&!_0x1af42b[_0x3f2741(0x2e7)]||this[_0x3f2741(0x2ad)]());}[_0x1758dd(0x211)](_0x15b987=!0x1){const _0x457e59=_0x1758dd;!_0x15b987&&this[_0x457e59(0x2f2)]||(this[_0x457e59(0x2f2)]=!0x0,clearTimeout(this[_0x457e59(0x203)]),this[_0x457e59(0x203)]=setTimeout(()=>{const _0x42e1d2=_0x457e59;this[_0x42e1d2(0x2f6)]()[_0x42e1d2(0x23b)](_0x1993b3=>{const _0x11baad=_0x42e1d2;_0x1993b3&&(this[_0x11baad(0x24f)](),this[_0x11baad(0x2f2)]=!0x1);})[_0x42e1d2(0x294)](_0x1d4696=>{const _0x343f33=_0x42e1d2;this[_0x343f33(0x24f)](),this[_0x343f33(0x2f2)]=!0x1,function(_0x29b308){const _0x41705c=_0x343f33;return _0x29b308[_0x41705c(0x1f3)][_0x41705c(0x2a7)](_0x41705c(0x2c4))||_0x29b308[_0x41705c(0x1f3)][_0x41705c(0x2a7)](_0x41705c(0x1fb))||_0x29b308[_0x41705c(0x1f3)][_0x41705c(0x2a7)](_0x41705c(0x25a));}(_0x1d4696)||this[_0x343f33(0x27a)](_0x1d4696[_0x343f33(0x1f3)],_0x1d4696);});},this[_0x457e59(0x228)]));}[_0x1758dd(0x2a2)](){return new Promise(_0x565bed=>{const _0x5c2276=_0x4d9c;this['on'](_0x5c2276(0x28c),()=>{_0x565bed();});});}async[_0x1758dd(0x2f6)](){const _0x442a95=_0x1758dd,_0x193c2f=this[_0x442a95(0x212)][_0x442a95(0x207)][_0x442a95(0x206)](_0x138abb);if(this[_0x442a95(0x2ed)]()&&(_0x193c2f[_0x442a95(0x1f6)](),this[_0x442a95(0x2f5)]=!0x1),!this[_0x442a95(0x29f)]())return!0x0;const _0x56ea31=[...this[_0x442a95(0x219)]];for(const _0x4821ff of _0x56ea31)_0x4821ff[_0x442a95(0x24a)]=this[_0x442a95(0x232)][_0x442a95(0x2ec)][_0x442a95(0x2ce)](_0x4821ff);const _0x31f03e=this[_0x442a95(0x2ac)][_0x442a95(0x2dd)](_0x56ea31),_0x5830ed=q++,_0x3c6199=this[_0x442a95(0x2c0)](_0x56ea31),_0x21aa08=await this[_0x442a95(0x243)][_0x442a95(0x272)](_0x3c6199,_0x3c6199[_0x442a95(0x2e1)],_0x31f03e);try{return await this[_0x442a95(0x2c7)](_0x56ea31,_0x21aa08,_0x5830ed);}catch(_0x4680e1){return this[_0x442a95(0x27a)](_0x442a95(0x258),_0x4680e1);}}async[_0x1758dd(0x2c7)](_0x4436d5,_0xc73f16,_0x17f6fa){const _0x3e529a=_0x1758dd;if(_0x3e529a(0x2db)in _0xc73f16)throw _0xc73f16[_0x3e529a(0x2db)];let _0x56d66a=!0x1;if(_0xc73f16[_0x3e529a(0x1f9)]){_0xc73f16[_0x3e529a(0x27e)]&&(this[_0x3e529a(0x23f)]=_0xc73f16[_0x3e529a(0x27e)]),this[_0x3e529a(0x219)]=this[_0x3e529a(0x219)][_0x3e529a(0x2f3)](_0x3dcc92=>!_0x4436d5[_0x3e529a(0x288)](_0x3dcc92));for(const _0x229da6 of _0x4436d5)_0x229da6[_0x3e529a(0x2e8)]=_0x3e529a(0x1f0)in _0xc73f16&&_0xc73f16[_0x3e529a(0x1f0)]||void 0x0;$(_0x4436d5,_0xc73f16[_0x3e529a(0x23a)]-_0x4436d5[_0x3e529a(0x20d)]),this[_0x3e529a(0x2ee)](_0x4436d5);const _0xa5442b=_0x4436d5[_0x3e529a(0x2f3)](_0x2c54c8=>{const _0x3002a6=_0x3e529a;if(!_0x2c54c8[_0x3002a6(0x23e)])return!0x1;const _0x33c513=this[_0x3002a6(0x2e3)](_0x2c54c8);return _0x33c513&&!this[_0x3002a6(0x29d)][_0x3002a6(0x276)](_0x33c513);});$(_0xa5442b,this[_0x3e529a(0x232)][_0x3e529a(0x23a)]),this[_0x3e529a(0x27b)](_0xa5442b),_0x56d66a=!0x0,this[_0x3e529a(0x228)]=this[_0x3e529a(0x210)];}else{const _0x516cd4=this[_0x3e529a(0x208)](_0xc73f16[_0x3e529a(0x237)],_0xc73f16[_0x3e529a(0x215)])[_0x3e529a(0x2f3)](_0x24cdd7=>_0x24cdd7[_0x3e529a(0x2e1)]>=this[_0x3e529a(0x273)]);_0x516cd4[_0x3e529a(0x253)](_0x37eaef=>this[_0x3e529a(0x2c9)](_0x37eaef)),this[_0x3e529a(0x219)]=this[_0x3e529a(0x219)][_0x3e529a(0x2f3)](_0x301ae4=>!_0x301ae4[_0x3e529a(0x23e)]||!this[_0x3e529a(0x29d)][_0x3e529a(0x276)](this[_0x3e529a(0x2e3)](_0x301ae4))),this[_0x3e529a(0x219)][_0x3e529a(0x20d)]&&$(this[_0x3e529a(0x219)],this[_0x3e529a(0x219)][0x0][_0x3e529a(0x2e1)]),await this[_0x3e529a(0x259)](_0x516cd4),_0x56d66a=this[_0x3e529a(0x270)](_0x516cd4,_0xc73f16[_0x3e529a(0x23a)],_0xc73f16[_0x3e529a(0x27e)]),this[_0x3e529a(0x228)]=Math[_0x3e529a(0x1fd)](this[_0x3e529a(0x228)]/0x2);}return _0x56d66a?!this[_0x3e529a(0x29f)]()||(this[_0x3e529a(0x211)](!0x0),!0x1):this[_0x3e529a(0x27a)](_0x3e529a(0x262));}[_0x1758dd(0x270)](_0xb5f3ba,_0x75e62f,_0x1a8f3b){const _0x228f5d=_0x1758dd;try{const _0x328cbb={'document':this[_0x228f5d(0x232)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x49eae5,operationsB:_0x322ba8,originalOperations:_0x1866b7}=_0x513267(_0xb5f3ba,this[_0x228f5d(0x219)],_0x328cbb);$(_0x49eae5,this[_0x228f5d(0x232)][_0x228f5d(0x23a)]),$(_0x322ba8,_0x75e62f);for(const _0x2a8e7d of _0x49eae5){const _0x2996f2=_0x1866b7[_0x228f5d(0x206)](_0x2a8e7d);_0x2a8e7d[_0x228f5d(0x2d4)]=_0x2996f2?_0x2996f2[_0x228f5d(0x2d4)]:null;}_0x1a8f3b&&(this[_0x228f5d(0x2ac)][_0x228f5d(0x2e5)](_0xb5f3ba,_0x1a8f3b),this[_0x228f5d(0x23f)]=_0x1a8f3b),this[_0x228f5d(0x219)]=[..._0x322ba8],this[_0x228f5d(0x27b)](_0x49eae5),this[_0x228f5d(0x2ee)](_0xb5f3ba);}catch(_0x18b413){return console[_0x228f5d(0x2db)](_0x18b413),!0x1;}return!0x0;}[_0x1758dd(0x27b)](_0x40899e,_0x15d4a7=!0x1){const _0x1722dd=_0x1758dd;this[_0x1722dd(0x212)][_0x1722dd(0x2a5)][_0x1722dd(0x2b5)]({'isUndoable':!0x1,'isLocal':!0x1},_0x42f9aa=>{const _0x6b21de=_0x1722dd;for(const _0x26de86 of _0x40899e)this[_0x6b21de(0x29b)][_0x6b21de(0x25d)](_0x26de86),this[_0x6b21de(0x2c9)](_0x26de86),_0x42f9aa[_0x6b21de(0x2b9)][_0x6b21de(0x25f)](_0x26de86),this[_0x6b21de(0x212)][_0x6b21de(0x2a5)][_0x6b21de(0x2cb)](_0x26de86);});}[_0x1758dd(0x2c9)](_0x1906d5){const _0x13e6a2=_0x1758dd,_0x841f2e=this[_0x13e6a2(0x2e3)](_0x1906d5);_0x841f2e&&this[_0x13e6a2(0x29d)][_0x13e6a2(0x25d)](_0x841f2e);}[_0x1758dd(0x2e3)](_0x1384d2){const _0x5caccf=_0x1758dd;let _0x223f19,_0x3bfe3a;switch(_0x1384d2[_0x5caccf(0x20b)]){case _0x5caccf(0x2c5):_0x223f19=_0x1384d2[_0x5caccf(0x26d)][_0x5caccf(0x284)];break;case _0x5caccf(0x239):if(_0x3bfe3a=_0x1384d2[_0x5caccf(0x2d0)],!_0x3bfe3a)return null;_0x223f19=_0x3bfe3a[_0x5caccf(0x284)];break;case _0x5caccf(0x2b8):_0x223f19=_0x1384d2[_0x5caccf(0x284)];break;case _0x5caccf(0x241):_0x223f19=_0x1384d2[_0x5caccf(0x2f4)];break;case _0x5caccf(0x202):_0x223f19=_0x1384d2[_0x5caccf(0x2eb)][_0x5caccf(0x284)];break;default:return null;}return _0x223f19[_0x5caccf(0x2ae)];}[_0x1758dd(0x2ee)](_0x88337b){const _0x238c5d=_0x1758dd;_0x88337b[_0x238c5d(0x253)](_0x3bd1c3=>{const _0x176ad7=_0x238c5d,_0x4fdff7=_0x3bd1c3[_0x176ad7(0x299)]();_0x4fdff7[_0x176ad7(0x2d4)]=_0x3bd1c3[_0x176ad7(0x2d4)],_0x4fdff7[_0x176ad7(0x23e)]=!!_0x3bd1c3[_0x176ad7(0x23e)],_0x4fdff7[_0x176ad7(0x2e8)]=_0x3bd1c3[_0x176ad7(0x2e8)],_0x4fdff7[_0x176ad7(0x2e1)]+=this[_0x176ad7(0x22a)],_0x3bd1c3[_0x176ad7(0x234)]&&this[_0x176ad7(0x2da)][_0x176ad7(0x25d)](_0x4fdff7),this[_0x176ad7(0x2b4)][_0x176ad7(0x25f)](_0x4fdff7);});}[_0x1758dd(0x279)](_0x57e866){const _0x4fe1fd=_0x1758dd,_0x42e8cd=this[_0x4fe1fd(0x212)][_0x4fe1fd(0x207)][_0x4fe1fd(0x206)](_0x4fe1fd(0x2e9)),_0x5cd7ee=this[_0x4fe1fd(0x212)][_0x4fe1fd(0x2be)];_0x57e866||(_0x57e866=_0x2578e4(_0x5cd7ee,_0x4fe1fd(0x217))),_0x42e8cd[_0x4fe1fd(0x224)](_0x57e866,{'title':_0x2578e4(_0x5cd7ee,_0x4fe1fd(0x2ef)),'namespace':_0x4fe1fd(0x233)}),this[_0x4fe1fd(0x26b)]=!0x0,clearTimeout(this[_0x4fe1fd(0x203)]),this[_0x4fe1fd(0x219)]=[],this[_0x4fe1fd(0x212)][_0x4fe1fd(0x207)][_0x4fe1fd(0x206)](_0x272920)[_0x4fe1fd(0x235)]();}[_0x1758dd(0x2ad)](){const _0x34c3d2=_0x1758dd;this[_0x34c3d2(0x263)]||(this[_0x34c3d2(0x263)]=this[_0x34c3d2(0x212)][_0x34c3d2(0x207)][_0x34c3d2(0x206)](_0x4d1628)[_0x34c3d2(0x25d)](_0x2578e4(this[_0x34c3d2(0x212)][_0x34c3d2(0x2be)],_0x34c3d2(0x1ff))));}[_0x1758dd(0x24f)](){const _0x4b2e1b=_0x1758dd;this[_0x4b2e1b(0x263)]&&(this[_0x4b2e1b(0x212)][_0x4b2e1b(0x207)][_0x4b2e1b(0x206)](_0x4d1628)[_0x4b2e1b(0x261)](this[_0x4b2e1b(0x263)]),this[_0x4b2e1b(0x263)]=null);}[_0x1758dd(0x2c0)](_0x57f7f8){const _0x136ee7=_0x1758dd,_0x308e59=_0x57f7f8[_0x136ee7(0x226)](_0x293e28=>_0x293e28[_0x136ee7(0x285)]());return this[_0x136ee7(0x2cf)][_0x136ee7(0x2a9)](_0x308e59);}[_0x1758dd(0x208)](_0x4dda9e,_0x1f4a71){const _0x33ae17=_0x1758dd;return this[_0x33ae17(0x2cf)][_0x33ae17(0x2c3)](_0x4dda9e)[_0x33ae17(0x226)]((_0x52a837,_0x1e0208)=>{const _0x16559b=_0x33ae17,_0x2becb9=_0x16559b(0x296)==_0x1f4a71[_0x1e0208][_0x16559b(0x20b)];if(_0x16559b(0x2df)==_0x52a837[_0x16559b(0x247)]){const _0x43a1ab=_0x52a837[_0x16559b(0x26d)][_0x16559b(0x284)];!this[_0x16559b(0x232)][_0x16559b(0x295)](_0x43a1ab)&&(this[_0x16559b(0x232)][_0x16559b(0x251)](_0x16559b(0x1f4),_0x43a1ab)[_0x16559b(0x26c)]=!0x1);}const _0x393766=_0x6399d7[_0x16559b(0x298)](_0x52a837,this[_0x16559b(0x232)]);return _0x393766[_0x16559b(0x24a)]=_0x52a837[_0x16559b(0x24a)],_0x393766[_0x16559b(0x23e)]=_0x2becb9,_0x393766[_0x16559b(0x2d4)]=_0x2becb9?null:_0x1f4a71[_0x1e0208][_0x16559b(0x266)],_0x393766[_0x16559b(0x234)]=_0x16559b(0x29a)===_0x1f4a71[_0x1e0208][_0x16559b(0x20b)],_0x393766[_0x16559b(0x2e8)]=_0x1f4a71[_0x1e0208][_0x16559b(0x2e8)],_0x393766;});}[_0x1758dd(0x238)](){const _0x411323=_0x1758dd;this[_0x411323(0x2f5)]=!0x0,this[_0x411323(0x2ed)]()?this[_0x411323(0x211)]():this[_0x411323(0x2f5)]=!0x1;}[_0x1758dd(0x2ed)](){const _0x57f0b8=_0x1758dd,_0x2dea4a=this[_0x57f0b8(0x212)][_0x57f0b8(0x207)][_0x57f0b8(0x206)](_0x1db1fa)[_0x57f0b8(0x2ab)][_0x57f0b8(0x206)](this[_0x57f0b8(0x1f1)]);return!this[_0x57f0b8(0x212)][_0x57f0b8(0x209)]&&!!_0x2dea4a&&_0x2dea4a[_0x57f0b8(0x20d)]>0x1&&this[_0x57f0b8(0x2f5)];}[_0x1758dd(0x29f)](){const _0x2eed67=_0x1758dd;return this[_0x2eed67(0x219)][_0x2eed67(0x20d)]>0x0||this[_0x2eed67(0x2ed)]();}}export{l as RealTimeCollaborationClient};class G extends Error{}function $(_0x273989,_0x25cecb){const _0x274b37=_0x1758dd;for(const _0x32e505 of _0x273989)_0x32e505[_0x274b37(0x2e1)]=_0x25cecb++;}class K{[_0x1758dd(0x2a0)];[_0x1758dd(0x2bb)];constructor(_0x53e87d){const _0x5850fe=_0x1758dd;this[_0x5850fe(0x2a0)]=_0x53e87d,this[_0x5850fe(0x2bb)]=new WeakMap();}[_0x1758dd(0x2dd)](_0x3bd50e){const _0x54c502=_0x1758dd;let _0x23cf16=_0x3bd50e[_0x54c502(0x20d)];for(;_0x23cf16--;){const _0x2780b3=_0x3bd50e[_0x23cf16];if(!this[_0x54c502(0x2a0)][_0x54c502(0x276)](_0x2780b3)){if(!this[_0x54c502(0x2bb)][_0x54c502(0x276)](_0x2780b3)){const _0x1b3128=_0x2334eb()[_0x54c502(0x2d2)](0x1,0x12);this[_0x54c502(0x2bb)][_0x54c502(0x214)](_0x2780b3,_0x1b3128);}return this[_0x54c502(0x2bb)][_0x54c502(0x206)](_0x2780b3);}}}[_0x1758dd(0x2e5)](_0x2e2909,_0x4bc8d9){const _0x59659f=_0x1758dd;if(!_0x4bc8d9)return;let _0x56816b=_0x2e2909[_0x59659f(0x20d)];for(;_0x56816b--;){const _0x348f5d=_0x2e2909[_0x56816b];this[_0x59659f(0x2a0)][_0x59659f(0x276)](_0x348f5d)||this[_0x59659f(0x2bb)][_0x59659f(0x214)](_0x348f5d,_0x4bc8d9);}}}
23
+ const _0x5c6e6e=_0x11a5;(function(_0x3c8c25,_0x538b68){const _0x1a3c37=_0x11a5,_0x15eb96=_0x3c8c25();while(!![]){try{const _0x2ba4bb=parseInt(_0x1a3c37(0x1d4))/0x1+-parseInt(_0x1a3c37(0x18f))/0x2*(parseInt(_0x1a3c37(0x155))/0x3)+parseInt(_0x1a3c37(0x1f6))/0x4+parseInt(_0x1a3c37(0x11a))/0x5*(parseInt(_0x1a3c37(0x177))/0x6)+parseInt(_0x1a3c37(0x1d9))/0x7*(-parseInt(_0x1a3c37(0x171))/0x8)+parseInt(_0x1a3c37(0x18d))/0x9*(-parseInt(_0x1a3c37(0x211))/0xa)+parseInt(_0x1a3c37(0x1bf))/0xb*(parseInt(_0x1a3c37(0x162))/0xc);if(_0x2ba4bb===_0x538b68)break;else _0x15eb96['push'](_0x15eb96['shift']());}catch(_0x17844c){_0x15eb96['push'](_0x15eb96['shift']());}}}(_0x36cc,0xd5906));import{Plugin as _0x49dc6c,PendingActions as _0xbad72d}from'ckeditor5/src/core.js';import{CKEditorError as _0x485afc,version as _0x53fba9,uid as _0x44d963}from'ckeditor5/src/utils.js';import{Notification as _0x3f7127}from'ckeditor5/src/ui.js';import{transformOperationSets as _0xf34b17,NoOperation as _0x23c417,InsertOperation as _0x4397e8,MarkerOperation as _0x13c377,RootAttributeOperation as _0x96c981,OperationFactory as _0x4ae083,History as _0x419320}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1ceaf1}from'./websocketgateway.js';function _0x36cc(){const _0x564398=['listenTo','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','connected','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','add','isDocumentOperation','init','_operationIdentifier','decompress','_addKnownRoot','reconnect','collaboration-missing-channelid','__className','stop','_isEditingAllowed','message','filter','getRoot','sessionCreatedAt','realtimecollaborationclient-handleserverresponse','createPositionAt','4156912PtACCq','_refreshUserSelectionMarkers','connection','_handleReconnectionResponse','requires','cloudServices.bundleVersion','end','realtimecollaborationclient-init-connection-failed','_saveOperationInBuffer','PENDING_ACTION_SENDING_DATA','push','_handleServerResponse','register','startsWith','set','_connectService','position','applyOperation','offset','disconnected','slice','disconnect','_handleInitialConnectionData','cs:removeUser','cloud-services-internal-error:\x20Request\x20timeout.','newRange','_waitUntilSynced','7939790YmdAzm','createRange','map','_lastSyncedOperationId','apply','getConnectedSessions','CollaborativeEditingService','view','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.','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','rootName','_lastServerVersion','_handleSendingSelectionMarkers','move','RealTimeCollaborationClient','pluginName','operationsReceived','186385FRrZmD','_isLoaded','roots','Permissions','Synchronization\x20issue','_loadRoot','reconnection:\x20flushed\x20session','change:range','enableReadOnlyMode','initData','clone','404','model','code','_channelId','data','catch','realtimecollaborationclient-init-service-incorrect-server-operation','metadata','realtimecollaborationclient-sendbufferedoperations','_disconnectionOperations','return','getIdOfTheLastOperation','rtc-offline','keys','wasUndone','sendOperations','_compressor','409','rtc-destroyed','isOfficialPlugin','lastDocumentSession','_sendBufferedOperations','targetPosition','lastOperationAcceptedAt','_isPendingUpdate','_handleExternalOperations','size','realtimecollaborationclient-init-document-already-initialized','differ','high','_shouldSendUpdate','_fetchMissingUsers','type','_isDisconnection','Notification','length','_bufferRootLoad','_getOperationsFromInitData','userId','change:_isEditingAllowed','round','loadRoot','rootsAttributes','_setUpDataInit','reset','_connectAfterSessionHasBeenFlushed','fire','version','303iSkusQ','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.','from','sessionAdd:','collaboration','cloud-services-internal-error:\x20Not\x20connected.','_isAttached','currentDocumentSession','enqueueChange','_initSessionsHandling','state','locale','setPermissions','948lKfnpz','stopListening','collaboration.channelId','string','config','document','bind','lastSyncVersion','_updateServerHistory','_pendingAction','_isInit','_authorId','compress','addUser','_sendBufferedOperationsDelayId','28896QpRShq','change:hasDomSelection','_handleReceivedOperations','getDocumentDetails','change:_isPendingUpdate','_initThrowingOnDataSet','114wPviOR','isEnabled','has','_compressOperations','setIdForTheLastOperation','realtimecollaborationclient','_hasSynchronizationProblem','getUser','remove','addRoot','real-time-collaboration','includes','ready','createPositionFromPath','insert','get','define','suppressErrorInCollaboration','marker','$root','_shouldSendSelectionUpdate','unregister','9JJVkFh','toJSON','15686YHLVYM','_disconnectService','_knownOperations','connect','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isPremiumPlugin','_baseBufferDelay','affectsData','_ignoredOperations','_isConnected','_getAffectedRoot','_clearPendingAction','batch','realtimecollaborationclient-init-session-connection-error','parse','permissions','_bufferedOperations','document:write','disableReadOnlyMode','createUserMarkerOperations','mySessionId','_sendBufferedOperationsDelayed','lastOperationId','then','isUndoneOperation','baseVersion','path','_hasSelectionChanged','destroy','plugins','removeFromReconnectionStack','attributes','addRootAttribute','_crash','channelSessions','markers','_currentBufferDelay','_offset','root','createRoot','realtimecollaborationclient-init-non-existent-root','realtimecollaborationclient-init-service-internal-error','directChange','multi-root-editor-root-attributes-no-root','_handleReconnectionError','isReadOnly','addOperation','_decompressOperations','146377XwLtYk','realtimecollaborationclient-error','getOperationAuthor','_operationToId','finally','showWarning','history','_knownRootNames','fromJSON','affectedSelectable','forEach','editor','selection','createdAt','_applyOperationsSet','start','getOperations','serverHistory','CommentsOnly','off','entries','84740uMLTnN','addToReconnectionStack','_setPendingAction','InsertOperation','_service','819lTILzs','getMany','wereChangesApplied','_document','error','editing','sessionId','cloudDocumentVersion'];_0x36cc=function(){return _0x564398;};return _0x36cc();}import{Sessions as _0x588e59}from'./sessions.js';import{UserMarkers as _0x8e76f3}from'./usermarkers.js';import{getTranslation as _0x7aa812}from'../common-translations.js';import{Compressor as _0xe6d7d5}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1feb15}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x11a5(_0xa22d41,_0x585fd8){const _0x36cc1b=_0x36cc();return _0x11a5=function(_0x11a5e9,_0x5dc4d7){_0x11a5e9=_0x11a5e9-0x110;let _0x2def7d=_0x36cc1b[_0x11a5e9];return _0x2def7d;},_0x11a5(_0xa22d41,_0x585fd8);}import{User as _0x2abcd9,CollaborativeEditingService as _0xcaf64}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;class l extends _0x49dc6c{static [_0x5c6e6e(0x217)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0xcaf64)());[_0x5c6e6e(0x1b4)];[_0x5c6e6e(0x1df)];[_0x5c6e6e(0x1d0)];[_0x5c6e6e(0x128)];[_0x5c6e6e(0x1d8)];[_0x5c6e6e(0x1dc)];[_0x5c6e6e(0x135)];[_0x5c6e6e(0x19f)];[_0x5c6e6e(0x191)];[_0x5c6e6e(0x1c6)];[_0x5c6e6e(0x16b)];[_0x5c6e6e(0x1aa)];[_0x5c6e6e(0x170)];[_0x5c6e6e(0x195)];[_0x5c6e6e(0x1b3)];[_0x5c6e6e(0x214)];[_0x5c6e6e(0x12e)];[_0x5c6e6e(0x1e8)];static get[_0x5c6e6e(0x1fa)](){return[_0x1ceaf1,_0x588e59,_0x8e76f3,_0xbad72d,_0x1feb15,_0x3f7127];}static get[_0x5c6e6e(0x118)](){const _0x2ed39a=_0x5c6e6e;return _0x2ed39a(0x117);}static get[_0x5c6e6e(0x138)](){return!0x0;}static get[_0x5c6e6e(0x194)](){return!0x0;}get[_0x5c6e6e(0x1e0)](){const _0x4995b6=_0x5c6e6e;return this[_0x4995b6(0x114)]+this[_0x4995b6(0x1b4)];}get[_0x5c6e6e(0x114)](){const _0x1d0efa=_0x5c6e6e;return this[_0x1d0efa(0x1d0)][_0x1d0efa(0x154)]-this[_0x1d0efa(0x1b4)];}get[_0x5c6e6e(0x169)](){const _0x388451=_0x5c6e6e,_0x1faea4=this[_0x388451(0x1d0)][_0x388451(0x1cf)]();for(let _0x34b3aa=_0x1faea4[_0x388451(0x148)]-0x1;_0x34b3aa>=0x0;_0x34b3aa--){const _0x3f7be5=_0x1faea4[_0x34b3aa];if(!this[_0x388451(0x12e)][_0x388451(0x179)](_0x3f7be5))return _0x3f7be5[_0x388451(0x1a8)]+0x1-this[_0x388451(0x1b4)];}return 0x0;}constructor(_0x14680d){const _0x480000=_0x5c6e6e;if(super(_0x14680d),this[_0x480000(0x1b4)]=0x0,this[_0x480000(0x1df)]=null,this[_0x480000(0x1d0)]=new _0x419320(),this[_0x480000(0x1ca)][_0x480000(0x166)][_0x480000(0x187)](_0x480000(0x159),{}),this[_0x480000(0x128)]=this[_0x480000(0x1ca)][_0x480000(0x166)][_0x480000(0x186)](_0x480000(0x164)),!this[_0x480000(0x128)])throw new _0x485afc(_0x480000(0x1ec),this);const _0x2809ec=_0x14680d[_0x480000(0x166)][_0x480000(0x186)](_0x480000(0x1fb))||_0x53fba9;this[_0x480000(0x1d8)]=new l[(_0x480000(0x217))](_0x2809ec,this[_0x480000(0x128)]),this[_0x480000(0x1dc)]=this[_0x480000(0x1ca)][_0x480000(0x126)][_0x480000(0x167)],this[_0x480000(0x135)]=new _0xe6d7d5(),this[_0x480000(0x19f)]=[],this[_0x480000(0x191)]=new WeakSet(),this[_0x480000(0x1c6)]=new Set(),this[_0x480000(0x204)](_0x480000(0x13d),!0x1),this[_0x480000(0x204)](_0x480000(0x17d),!0x1),this[_0x480000(0x16b)]=null,this[_0x480000(0x1aa)]=!0x1,this[_0x480000(0x170)]=null,this[_0x480000(0x195)]=0x12c,this[_0x480000(0x1b3)]=this[_0x480000(0x195)],this[_0x480000(0x214)]=null,this[_0x480000(0x12e)]=new WeakSet(),this[_0x480000(0x1e8)]=new J(this[_0x480000(0x12e)]);}[_0x5c6e6e(0x1e7)](){const _0x2cb371=_0x5c6e6e,_0x555bd7=this[_0x2cb371(0x1ca)],_0x5bb1b2=_0x555bd7[_0x2cb371(0x1ac)][_0x2cb371(0x186)](_0x1feb15),_0x410b8c=_0x555bd7[_0x2cb371(0x1ac)][_0x2cb371(0x186)](_0x1ceaf1);this[_0x2cb371(0x1e1)](_0x5bb1b2,_0x2cb371(0x1c1),(_0x516806,_0x20e4ea)=>{const _0x2f0a38=_0x2cb371,_0x168fa8=_0x20e4ea[0x0];_0x168fa8[_0x2f0a38(0x16d)]&&(_0x516806[_0x2f0a38(0x12f)]=_0x5bb1b2[_0x2f0a38(0x17e)](_0x168fa8[_0x2f0a38(0x16d)]),_0x516806[_0x2f0a38(0x1ee)]()),null===_0x168fa8[_0x2f0a38(0x16d)]&&(_0x516806[_0x2f0a38(0x12f)]=null,_0x516806[_0x2f0a38(0x1ee)]());},{'priority':_0x2cb371(0x142)}),this[_0x2cb371(0x1e1)](_0x555bd7[_0x2cb371(0x126)][_0x2cb371(0x167)][_0x2cb371(0x1cb)],_0x2cb371(0x121),(_0x4a4344,_0x825af7)=>{const _0x4ec09c=_0x2cb371;_0x825af7[_0x4ec09c(0x1b9)]&&this[_0x4ec09c(0x1f7)]();}),this[_0x2cb371(0x1e1)](_0x555bd7[_0x2cb371(0x1de)][_0x2cb371(0x110)],_0x2cb371(0x172),()=>{const _0x5ce123=_0x2cb371;this[_0x5ce123(0x1f7)]();}),this[_0x2cb371(0x176)](),_0x555bd7[_0x2cb371(0x126)]['on'](_0x2cb371(0x207),(_0x3674e5,_0x15204c)=>{const _0x8ad7a2=_0x2cb371,_0x4ecf02=_0x15204c[0x0];_0x4ecf02[_0x8ad7a2(0x1e6)]&&(this[_0x8ad7a2(0x1fe)](_0x4ecf02),this[_0x8ad7a2(0x143)]()&&this[_0x8ad7a2(0x1a4)]());}),this[_0x2cb371(0x150)](),this[_0x2cb371(0x168)](_0x2cb371(0x1ef))['to'](_0x410b8c,_0x2cb371(0x15f),this,_0x2cb371(0x17d),(_0x9bb8d5,_0x1a4467)=>_0x2cb371(0x1e3)===_0x9bb8d5&&!_0x1a4467),this['on'](_0x2cb371(0x14c),()=>{const _0x4a7b89=_0x2cb371;this[_0x4a7b89(0x1ef)]?_0x555bd7[_0x4a7b89(0x1a1)](_0x4a7b89(0x131)):_0x555bd7[_0x4a7b89(0x122)](_0x4a7b89(0x131));}),this[_0x2cb371(0x1ef)]?_0x555bd7[_0x2cb371(0x1a1)](_0x2cb371(0x131)):_0x555bd7[_0x2cb371(0x122)](_0x2cb371(0x131)),this[_0x2cb371(0x204)](_0x2cb371(0x198),!0x1);}async[_0x5c6e6e(0x1eb)](){const _0x2a3eaf=_0x5c6e6e,_0xeea6e8=this[_0x2a3eaf(0x1ca)][_0x2a3eaf(0x1ac)][_0x2a3eaf(0x186)](_0x588e59),_0x30304d=this[_0x2a3eaf(0x1ca)][_0x2a3eaf(0x1ac)][_0x2a3eaf(0x186)](_0x1ceaf1);try{this[_0x2a3eaf(0x13d)]=!0x0,_0xeea6e8[_0x2a3eaf(0x18c)](this[_0x2a3eaf(0x128)]);const _0x15d62d=await this[_0x2a3eaf(0x1d8)][_0x2a3eaf(0x1eb)](_0x30304d[_0x2a3eaf(0x1f8)],this[_0x2a3eaf(0x169)]);await this[_0x2a3eaf(0x1f9)](_0x15d62d)&&(this[_0x2a3eaf(0x13d)]=!0x1,this[_0x2a3eaf(0x19a)]());const _0x2269e5=await this[_0x2a3eaf(0x1d8)][_0x2a3eaf(0x216)]();_0xeea6e8[_0x2a3eaf(0x202)](this[_0x2a3eaf(0x128)],_0x2269e5),this[_0x2a3eaf(0x115)](),this[_0x2a3eaf(0x198)]=!0x0;}catch(_0x150517){if(function(_0x50f1f0){const _0x13eb45=_0x2a3eaf;return _0x13eb45(0x125)===_0x50f1f0[_0x13eb45(0x127)];}(_0x150517)&&this[_0x2a3eaf(0x1df)])await this[_0x2a3eaf(0x152)]();else{if(function(_0x5858f8){const _0x248721=_0x2a3eaf;return _0x248721(0x136)===_0x5858f8[_0x248721(0x127)];}(_0x150517)){const _0x5557af=_0x7aa812(this[_0x2a3eaf(0x1ca)][_0x2a3eaf(0x160)],_0x2a3eaf(0x1e4));this[_0x2a3eaf(0x1bb)](_0x5557af);}else{if(!(_0x150517 instanceof $))throw _0x150517;this[_0x2a3eaf(0x1bb)]();}}}}[_0x5c6e6e(0x1ab)](){const _0x4d5a7b=_0x5c6e6e,_0x5b2ae1=this[_0x4d5a7b(0x1ca)][_0x4d5a7b(0x1ac)][_0x4d5a7b(0x186)](_0x1ceaf1),_0x6e3430=this[_0x4d5a7b(0x1ca)][_0x4d5a7b(0x1ac)][_0x4d5a7b(0x186)](_0x588e59);this[_0x4d5a7b(0x1ca)][_0x4d5a7b(0x122)](_0x4d5a7b(0x137)),_0x6e3430[_0x4d5a7b(0x1b1)][_0x4d5a7b(0x179)](this[_0x4d5a7b(0x128)])&&_0x6e3430[_0x4d5a7b(0x18c)](this[_0x4d5a7b(0x128)]),_0x5b2ae1[_0x4d5a7b(0x1ad)](this),this[_0x4d5a7b(0x190)](),super[_0x4d5a7b(0x1ab)]();}async[_0x5c6e6e(0x1f9)](_0x50a47f){const _0x900d39=_0x5c6e6e;if(this[_0x900d39(0x1df)]!==_0x50a47f[_0x900d39(0x1df)]&&this[_0x900d39(0x214)]!==_0x50a47f[_0x900d39(0x1a5)])throw new $();return this[_0x900d39(0x1df)]=_0x50a47f[_0x900d39(0x1df)],this[_0x900d39(0x201)]([],{..._0x50a47f,'wereChangesApplied':!0x1,'data':_0x50a47f[_0x900d39(0x129)]},_0x900d39(0x1eb));}async[_0x5c6e6e(0x205)](_0x1d63a0,_0x4f3965=!0x1){const _0x51365d=_0x5c6e6e,{connection:_0x6b0181}=this[_0x51365d(0x1ca)][_0x51365d(0x1ac)][_0x51365d(0x186)](_0x1ceaf1);l[_0x51365d(0x217)][_0x51365d(0x216)](_0x6b0181,this[_0x51365d(0x128)])[_0x51365d(0x1a6)](_0x583abd=>this[_0x51365d(0x15e)](_0x583abd))[_0x51365d(0x12a)](_0x87ceb5=>{const _0x17e4c6=_0x51365d;this[_0x17e4c6(0x1b0)](_0x17e4c6(0x19c),_0x87ceb5);}),this[_0x51365d(0x1e1)](this[_0x51365d(0x1d8)],_0x51365d(0x119),this[_0x51365d(0x173)][_0x51365d(0x168)](this)),this[_0x51365d(0x1e1)](this[_0x51365d(0x1d8)],_0x51365d(0x1dd),(_0x48430e,_0x4f5da1)=>{const _0x293ffc=_0x51365d;this[_0x293ffc(0x1b0)](_0x293ffc(0x1b8),_0x4f5da1);}),this[_0x51365d(0x1e1)](this[_0x51365d(0x1d8)],_0x51365d(0x209),()=>{const _0x46ab25=_0x51365d;this[_0x46ab25(0x198)]=!0x1;});const _0x533c7e=this[_0x51365d(0x1e8)][_0x51365d(0x130)](_0x1d63a0);this[_0x51365d(0x13d)]=!0x0;const _0x4a0b83=await this[_0x51365d(0x1d8)][_0x51365d(0x192)](_0x6b0181,this[_0x51365d(0x17a)](_0x1d63a0),_0x533c7e);if(this[_0x51365d(0x1df)]=_0x4a0b83[_0x51365d(0x1df)],_0x4f3965){if(!_0x4a0b83[_0x51365d(0x1db)])return void this[_0x51365d(0x1bb)]();this[_0x51365d(0x13d)]=!0x1,this[_0x51365d(0x19a)](),this[_0x51365d(0x1d0)][_0x51365d(0x151)](),this[_0x51365d(0x1b4)]=_0x4a0b83[_0x51365d(0x208)],this[_0x51365d(0x1d0)][_0x51365d(0x154)]=this[_0x51365d(0x1b4)],await this[_0x51365d(0x201)](_0x1d63a0,_0x4a0b83,_0x51365d(0x120));}else await this[_0x51365d(0x20c)](_0x4a0b83,_0x1d63a0);this[_0x51365d(0x115)](),this[_0x51365d(0x198)]=!0x0;}[_0x5c6e6e(0x115)](){const _0x69099b=_0x5c6e6e,_0x37c3e4=this[_0x69099b(0x1ca)][_0x69099b(0x1ac)][_0x69099b(0x186)](_0x588e59),_0x53cc8d=this[_0x69099b(0x1ca)][_0x69099b(0x1ac)][_0x69099b(0x186)](_0x8e76f3),_0x518797=_0x37c3e4[_0x69099b(0x1b1)][_0x69099b(0x186)](this[_0x69099b(0x128)]);_0x518797&&_0x518797[_0x69099b(0x148)]>0x1?_0x53cc8d[_0x69099b(0x1a2)]():this[_0x69099b(0x1e1)](_0x37c3e4,_0x69099b(0x158)+this[_0x69099b(0x128)],()=>{const _0x2c6f8f=_0x69099b;0x2===_0x37c3e4[_0x2c6f8f(0x1b1)][_0x2c6f8f(0x186)](this[_0x2c6f8f(0x128)])[_0x2c6f8f(0x148)]&&_0x53cc8d[_0x2c6f8f(0x1a2)]();});}async[_0x5c6e6e(0x173)](_0x100a61,_0xb6035c,_0x2d4d02,_0x1def25){const _0x3d187d=_0x5c6e6e;if(!this[_0x3d187d(0x13d)]&&this[_0x3d187d(0x1dc)][_0x3d187d(0x154)]==_0xb6035c){const _0x26d594=this[_0x3d187d(0x1be)](_0x2d4d02,_0x1def25);await this[_0x3d187d(0x144)](_0x26d594),this[_0x3d187d(0x13e)](_0x26d594,_0xb6035c,_0x2d4d02[_0x3d187d(0x1a5)])||this[_0x3d187d(0x1b0)](_0x3d187d(0x12b));}}async[_0x5c6e6e(0x152)](){const _0x411858=_0x5c6e6e;this[_0x411858(0x190)]();const {locale:_0x2a64d6}=this[_0x411858(0x1ca)];let _0x1f84b7;try{_0x1f84b7=await this[_0x411858(0x1d8)][_0x411858(0x174)]();}catch{const _0x5e04ae=_0x7aa812(_0x2a64d6,_0x411858(0x193));return void this[_0x411858(0x1bb)](_0x5e04ae);}const _0xfd8d0b=_0x1f84b7[_0x411858(0x15c)]||_0x1f84b7[_0x411858(0x139)];if(this[_0x411858(0x214)]!==_0xfd8d0b[_0x411858(0x1a5)]){const _0x478a37=_0x7aa812(_0x2a64d6,_0x411858(0x111));return void this[_0x411858(0x1bb)](_0x478a37);}await this[_0x411858(0x205)](this[_0x411858(0x1ca)][_0x411858(0x126)][_0x411858(0x167)][_0x411858(0x1c5)][_0x411858(0x1cf)](),!0x0);}[_0x5c6e6e(0x190)](){const _0x18530a=_0x5c6e6e;this[_0x18530a(0x1d8)][_0x18530a(0x20b)](),this[_0x18530a(0x19f)]=[],clearTimeout(this[_0x18530a(0x170)]),this[_0x18530a(0x163)](this[_0x18530a(0x1d8)]);}[_0x5c6e6e(0x15e)](_0x76cff5){const _0x154b1e=_0x5c6e6e,_0x4a5570=this[_0x154b1e(0x1ca)][_0x154b1e(0x1ac)][_0x154b1e(0x186)](_0x588e59);this[_0x154b1e(0x1e1)](_0x4a5570,_0x154b1e(0x158)+this[_0x154b1e(0x128)],(_0x1e0ad3,{session:_0x49d16c})=>{const _0x3150b9=_0x154b1e;if(_0x49d16c['id']===_0x4a5570[_0x3150b9(0x1a3)]){_0x1e0ad3[_0x3150b9(0x1d2)]();const _0xbc652c=this[_0x3150b9(0x1ca)][_0x3150b9(0x1ac)][_0x3150b9(0x179)](_0x3150b9(0x1d1))&&this[_0x3150b9(0x1ca)][_0x3150b9(0x1ac)][_0x3150b9(0x186)](_0x3150b9(0x1d1));let _0x194f40=_0x49d16c[_0x3150b9(0x19e)];_0xbc652c&&_0xbc652c[_0x3150b9(0x178)]&&(_0x194f40=_0x194f40[_0x3150b9(0x1f1)](_0x29a33f=>_0x3150b9(0x1a0)!==_0x29a33f)),this[_0x3150b9(0x1ca)][_0x3150b9(0x1ac)][_0x3150b9(0x186)](_0x3150b9(0x11d))[_0x3150b9(0x161)](_0x194f40,this[_0x3150b9(0x128)]);}}),_0x4a5570[_0x154b1e(0x202)](this[_0x154b1e(0x128)],_0x76cff5);}[_0x5c6e6e(0x176)](){const _0x1683f4=_0x5c6e6e,_0x5da799=this[_0x1683f4(0x1ca)][_0x1683f4(0x129)][_0x1683f4(0x204)];this[_0x1683f4(0x1ca)][_0x1683f4(0x129)][_0x1683f4(0x204)]=(..._0x766051)=>{const _0x51fe07=_0x1683f4;if(!_0x766051[_0x766051[_0x51fe07(0x148)]-0x1][_0x51fe07(0x188)])throw new _0x485afc(_0x51fe07(0x1e2),this);_0x5da799[_0x51fe07(0x215)](this[_0x51fe07(0x1ca)][_0x51fe07(0x129)],_0x766051);};}[_0x5c6e6e(0x150)](){const _0x3e03d9=_0x5c6e6e;this[_0x3e03d9(0x1ca)][_0x3e03d9(0x129)]['on'](_0x3e03d9(0x1e7),(_0x5b6bf5,[_0x16e527])=>{const _0x3c8566=_0x3e03d9;if(this[_0x3c8566(0x1dc)][_0x3c8566(0x154)])throw new _0x485afc(_0x3c8566(0x140),this);_0x5b6bf5[_0x3c8566(0x1ee)](),this[_0x3c8566(0x1d6)]();const _0x572ec9=this[_0x3c8566(0x1ca)][_0x3c8566(0x166)][_0x3c8566(0x186)](_0x3c8566(0x14f)),_0x101b45=this[_0x3c8566(0x14a)](_0x16e527,_0x572ec9);0x0==_0x101b45[_0x3c8566(0x148)]&&_0x101b45[_0x3c8566(0x200)](new _0x23c417(0x0)),_0x5b6bf5[_0x3c8566(0x12f)]=this[_0x3c8566(0x205)](_0x101b45)[_0x3c8566(0x1a6)](()=>{const _0x9c4676=_0x3c8566;this[_0x9c4676(0x1ca)][_0x9c4676(0x1ac)][_0x9c4676(0x186)](_0x1ceaf1)[_0x9c4676(0x1d5)](this),this[_0x9c4676(0x1ca)][_0x9c4676(0x129)][_0x9c4676(0x153)](_0x9c4676(0x183));})[_0x3c8566(0x12a)](_0x5ce398=>this[_0x3c8566(0x1b0)](_0x3c8566(0x1fd),_0x5ce398))[_0x3c8566(0x1c3)](()=>this[_0x3c8566(0x19a)]());},{'priority':_0x3e03d9(0x142)}),this[_0x3e03d9(0x1ca)]['on'](_0x3e03d9(0x14e),async(_0x37a341,[_0x318289,_0x106ef0])=>{const _0x22ddc9=_0x3e03d9;_0x37a341[_0x22ddc9(0x1ee)]();const _0x3c5007=this[_0x22ddc9(0x1ca)][_0x22ddc9(0x126)][_0x22ddc9(0x167)][_0x22ddc9(0x1f2)](_0x318289);if(!this[_0x22ddc9(0x1c6)][_0x22ddc9(0x179)](_0x318289)){const _0x48dd8f=_0x106ef0&&_0x106ef0[_0x22ddc9(0x129)]?_0x106ef0[_0x22ddc9(0x129)]:'',_0x20d374=_0x106ef0&&_0x106ef0[_0x22ddc9(0x1ae)]?_0x106ef0[_0x22ddc9(0x1ae)]:{};await this[_0x22ddc9(0x11f)](_0x318289,_0x48dd8f,_0x20d374);}this[_0x22ddc9(0x1ca)][_0x22ddc9(0x126)][_0x22ddc9(0x15d)]({'isUndoable':!0x1},()=>{const _0xf46223=_0x22ddc9;_0x3c5007[_0xf46223(0x11b)]=!0x0,this[_0xf46223(0x1ca)][_0xf46223(0x126)][_0xf46223(0x167)][_0xf46223(0x141)][_0xf46223(0x149)](_0x3c5007);});},{'priority':_0x3e03d9(0x142)});}async[_0x5c6e6e(0x144)](_0x10cb9e){const _0x313e5d=_0x5c6e6e,_0x1d00b8=this[_0x313e5d(0x1ca)][_0x313e5d(0x1ac)][_0x313e5d(0x186)](_0x1feb15),{connection:_0x1b2fd5}=this[_0x313e5d(0x1ca)][_0x313e5d(0x1ac)][_0x313e5d(0x186)](_0x1ceaf1),_0x2cf9ce=new Set();for(const _0x220e31 of _0x10cb9e){const _0x956bfd=_0x220e31[_0x313e5d(0x16d)];_0x956bfd&&!_0x1d00b8[_0x313e5d(0x17e)](_0x956bfd)&&_0x2cf9ce[_0x313e5d(0x1e5)](_0x956bfd);}if(0x0===_0x2cf9ce[_0x313e5d(0x13f)])return;const _0x3a18d5=await _0x2abcd9[_0x313e5d(0x1da)](_0x1b2fd5,Array[_0x313e5d(0x157)](_0x2cf9ce));for(const _0x4f7cea of _0x3a18d5)_0x1d00b8[_0x313e5d(0x17e)](_0x4f7cea['id'])||_0x1d00b8[_0x313e5d(0x16f)](_0x4f7cea);}[_0x5c6e6e(0x14a)](_0xb28c7e,_0x479081={}){const _0x58ad61=_0x5c6e6e,_0x4fef03=this[_0x58ad61(0x1ca)][_0x58ad61(0x126)],_0x48379d=[];let _0x457893=0x0;const _0x3bec1a=_0x58ad61(0x165)==typeof _0xb28c7e?{'main':_0xb28c7e}:_0xb28c7e;for(const _0x320304 of Object[_0x58ad61(0x132)](_0x3bec1a)){if(!this[_0x58ad61(0x1dc)][_0x58ad61(0x11c)][_0x58ad61(0x179)](_0x320304))throw new _0x485afc(_0x58ad61(0x1b7),this);const _0x1df2cb=this[_0x58ad61(0x1ca)][_0x58ad61(0x129)][_0x58ad61(0x19d)](_0x3bec1a[_0x320304]),_0x513cab=this[_0x58ad61(0x1dc)][_0x58ad61(0x1f2)](_0x320304),_0x5e70d4=new _0x4397e8(_0x4fef03[_0x58ad61(0x1f5)](_0x513cab,0x0),_0x1df2cb,_0x457893++);_0x48379d[_0x58ad61(0x200)](_0x5e70d4);for(const [_0x5d3d15,_0x13cdb1]of _0x1df2cb[_0x58ad61(0x1b2)]){const _0x27ed5f=_0x4fef03[_0x58ad61(0x212)](_0x4fef03[_0x58ad61(0x184)](_0x513cab,_0x13cdb1[_0x58ad61(0x1ce)][_0x58ad61(0x1a9)][_0x58ad61(0x20a)]()),_0x4fef03[_0x58ad61(0x184)](_0x513cab,_0x13cdb1[_0x58ad61(0x1fc)][_0x58ad61(0x1a9)][_0x58ad61(0x20a)]())),_0x93675=new _0x13c377(_0x5d3d15,null,_0x27ed5f,_0x4fef03[_0x58ad61(0x1b2)],!0x0,_0x457893++);_0x48379d[_0x58ad61(0x200)](_0x93675);}}if(_0x479081)for(const [_0x3d5410,_0xeb981a]of Object[_0x58ad61(0x1d3)](_0x479081)){const _0x4a59d1=_0x4fef03[_0x58ad61(0x167)][_0x58ad61(0x1f2)](_0x3d5410);if(!_0x4a59d1)throw new _0x485afc(_0x58ad61(0x1ba),null);for(const [_0x2ac55c,_0x2b6741]of Object[_0x58ad61(0x1d3)](_0xeb981a))if(null!==_0x2b6741){const _0x42b7dd=new _0x96c981(_0x4a59d1,_0x2ac55c,null,_0x2b6741,_0x457893++);_0x48379d[_0x58ad61(0x200)](_0x42b7dd);}}return _0x48379d;}async[_0x5c6e6e(0x11f)](_0x23cf90,_0x961e68,_0x538705){const _0x1a3e60=_0x5c6e6e;this[_0x1a3e60(0x14a)]({[_0x23cf90]:_0x961e68},{[_0x23cf90]:_0x538705})[_0x1a3e60(0x1c9)]((_0x4c9d43,_0x5baeaf)=>{const _0x4affd1=_0x1a3e60;_0x4c9d43[_0x4affd1(0x1a8)]=this[_0x4affd1(0x1dc)][_0x4affd1(0x154)]+_0x5baeaf,_0x4c9d43[_0x4affd1(0x16c)]=!0x0,this[_0x4affd1(0x1fe)](_0x4c9d43);}),this[_0x1a3e60(0x1a4)](),await this[_0x1a3e60(0x210)]();}async[_0x5c6e6e(0x20c)](_0x1da66a,_0x4e2718){const _0x423fcc=_0x5c6e6e;let _0xc7c133;this[_0x423fcc(0x1b4)]=_0x1da66a[_0x423fcc(0x208)];const _0x5f083=_0x1da66a[_0x423fcc(0x1db)]&&!_0x1da66a[_0x423fcc(0x123)],_0x96672b=_0x5f083?0x0:_0x1da66a[_0x423fcc(0x129)][_0x423fcc(0x1a8)];if(_0x4e2718[_0x423fcc(0x1c9)](_0xeb77a6=>{const _0x5b89af=_0x423fcc;_0xeb77a6[_0x5b89af(0x16c)]=!0x0,_0xeb77a6[_0x5b89af(0x1cc)]=_0x1da66a[_0x5b89af(0x1f3)],_0xeb77a6[_0x5b89af(0x16d)]=null;}),_0x5f083)_0xc7c133=_0x4e2718,this[_0x423fcc(0x1cd)](_0xc7c133,_0x5f083);else{if(_0x1da66a[_0x423fcc(0x123)]){const _0x7e8235=this[_0x423fcc(0x14a)](_0x1da66a[_0x423fcc(0x123)]);this[_0x423fcc(0x1dc)][_0x423fcc(0x1c5)][_0x423fcc(0x154)]=-_0x7e8235[_0x423fcc(0x148)],_0x7e8235[_0x423fcc(0x1c9)](_0x3a36b8=>{const _0x54f5e8=_0x423fcc;_0x3a36b8[_0x54f5e8(0x1a8)]-=_0x7e8235[_0x54f5e8(0x148)],_0x3a36b8[_0x54f5e8(0x1cc)]=_0x1da66a[_0x54f5e8(0x1f3)],_0x3a36b8[_0x54f5e8(0x16c)]=!0x0,_0x3a36b8[_0x54f5e8(0x16d)]=null;}),this[_0x423fcc(0x1cd)](_0x7e8235,!0x0),this[_0x423fcc(0x1d0)][_0x423fcc(0x154)]=-_0x7e8235[_0x423fcc(0x148)]+this[_0x423fcc(0x1b4)],this[_0x423fcc(0x16a)](_0x7e8235);}this[_0x423fcc(0x1dc)][_0x423fcc(0x1c5)][_0x423fcc(0x154)]=_0x96672b,_0xc7c133=this[_0x423fcc(0x1be)](_0x1da66a[_0x423fcc(0x129)],_0x1da66a[_0x423fcc(0x12c)]),await this[_0x423fcc(0x144)](_0xc7c133),this[_0x423fcc(0x1cd)](_0xc7c133,_0x5f083);}_0x1da66a[_0x423fcc(0x1a5)]&&(this[_0x423fcc(0x1e8)][_0x423fcc(0x17b)](_0xc7c133,_0x1da66a[_0x423fcc(0x1a5)]),this[_0x423fcc(0x214)]=_0x1da66a[_0x423fcc(0x1a5)]),this[_0x423fcc(0x1d0)][_0x423fcc(0x154)]=_0x96672b+this[_0x423fcc(0x1b4)],this[_0x423fcc(0x16a)](_0xc7c133),_0x4e2718[_0x423fcc(0x1f1)](_0x386fb6=>{const _0x376427=_0x423fcc,_0x333c4c=this[_0x376427(0x199)](_0x386fb6);return _0x333c4c&&!this[_0x376427(0x1c6)][_0x376427(0x179)](_0x333c4c);})[_0x423fcc(0x1c9)]((_0x4cc4c0,_0x5f5eae)=>{const _0x2aa659=_0x423fcc;_0x4cc4c0[_0x2aa659(0x1a8)]=this[_0x2aa659(0x1dc)][_0x2aa659(0x154)]+_0x5f5eae,this[_0x2aa659(0x1fe)](_0x4cc4c0);}),this[_0x423fcc(0x143)]()?(this[_0x423fcc(0x1b3)]=0x0,this[_0x423fcc(0x1a4)](!0x0),await this[_0x423fcc(0x210)]()):(this[_0x423fcc(0x13d)]=!0x1,this[_0x423fcc(0x19a)]());}[_0x5c6e6e(0x1b0)](_0x3e9d99,_0x191ef8){const _0x53ccb8=_0x5c6e6e,_0x278c3f=_0x191ef8&&_0x191ef8[_0x53ccb8(0x1f0)];if(_0x278c3f&&_0x278c3f[_0x53ccb8(0x203)](_0x53ccb8(0x17c)))throw _0x191ef8;const _0x5a1436=this[_0x53ccb8(0x1ca)][_0x53ccb8(0x1ac)][_0x53ccb8(0x186)](_0x1ceaf1);throw this[_0x53ccb8(0x13d)]=!0x0,_0x5a1436[_0x53ccb8(0x20b)](),this[_0x53ccb8(0x1ca)][_0x53ccb8(0x122)](_0x53ccb8(0x1c0)),new _0x485afc(_0x3e9d99,this[_0x53ccb8(0x1ca)],_0x278c3f?{'originalError':_0x278c3f}:void 0x0);}[_0x5c6e6e(0x1fe)](_0x3744b8){const _0x4f73bb=_0x5c6e6e;this[_0x4f73bb(0x191)][_0x4f73bb(0x179)](_0x3744b8)||(this[_0x4f73bb(0x191)][_0x4f73bb(0x1e5)](_0x3744b8),this[_0x4f73bb(0x19f)][_0x4f73bb(0x200)](_0x3744b8),this[_0x4f73bb(0x16b)]||_0x4f73bb(0x189)==_0x3744b8[_0x4f73bb(0x145)]&&!_0x3744b8[_0x4f73bb(0x196)]||this[_0x4f73bb(0x1d6)]());}[_0x5c6e6e(0x1a4)](_0x35cb4c=!0x1){const _0x232273=_0x5c6e6e;!_0x35cb4c&&this[_0x232273(0x13d)]||(this[_0x232273(0x13d)]=!0x0,clearTimeout(this[_0x232273(0x170)]),this[_0x232273(0x170)]=setTimeout(()=>{const _0x1f0389=_0x232273;this[_0x1f0389(0x13a)]()[_0x1f0389(0x1a6)](_0x454b92=>{const _0x21f58e=_0x1f0389;_0x454b92&&(this[_0x21f58e(0x19a)](),this[_0x21f58e(0x13d)]=!0x1);})[_0x1f0389(0x12a)](_0x57b1c2=>{const _0x223b1c=_0x1f0389;this[_0x223b1c(0x19a)](),this[_0x223b1c(0x13d)]=!0x1,function(_0x2e4c4f){const _0x3a92da=_0x223b1c;return _0x2e4c4f[_0x3a92da(0x1f0)][_0x3a92da(0x203)](_0x3a92da(0x15a))||_0x2e4c4f[_0x3a92da(0x1f0)][_0x3a92da(0x203)](_0x3a92da(0x112))||_0x2e4c4f[_0x3a92da(0x1f0)][_0x3a92da(0x203)](_0x3a92da(0x20e));}(_0x57b1c2)||this[_0x223b1c(0x1b0)](_0x57b1c2[_0x223b1c(0x1f0)],_0x57b1c2);});},this[_0x232273(0x1b3)]));}[_0x5c6e6e(0x210)](){return new Promise(_0x27484b=>{const _0x3f113a=_0x11a5;this['on'](_0x3f113a(0x175),()=>{_0x27484b();});});}async[_0x5c6e6e(0x13a)](){const _0x2d17b2=_0x5c6e6e,_0x1d8fc0=this[_0x2d17b2(0x1ca)][_0x2d17b2(0x1ac)][_0x2d17b2(0x186)](_0x8e76f3);if(this[_0x2d17b2(0x18b)]()&&(_0x1d8fc0[_0x2d17b2(0x1a2)](),this[_0x2d17b2(0x1aa)]=!0x1),!this[_0x2d17b2(0x143)]())return!0x0;const _0x2cbf36=[...this[_0x2d17b2(0x19f)]];for(const _0x17bd92 of _0x2cbf36)_0x17bd92[_0x2d17b2(0x133)]=this[_0x2d17b2(0x1dc)][_0x2d17b2(0x1c5)][_0x2d17b2(0x1a7)](_0x17bd92);const _0x4f6be1=this[_0x2d17b2(0x1e8)][_0x2d17b2(0x130)](_0x2cbf36),_0x5d940b=G++,_0x5c0e61=this[_0x2d17b2(0x17a)](_0x2cbf36),_0xabec56=await this[_0x2d17b2(0x1d8)][_0x2d17b2(0x134)](_0x5c0e61,_0x5c0e61[_0x2d17b2(0x1a8)],_0x4f6be1);try{return await this[_0x2d17b2(0x201)](_0x2cbf36,_0xabec56,_0x5d940b);}catch(_0x4c8824){return this[_0x2d17b2(0x1b0)](_0x2d17b2(0x12d),_0x4c8824);}}async[_0x5c6e6e(0x201)](_0x28819a,_0x1244b1,_0x25be87){const _0x4267dd=_0x5c6e6e;if(_0x4267dd(0x1dd)in _0x1244b1)throw _0x1244b1[_0x4267dd(0x1dd)];let _0x54a472=!0x1;if(_0x1244b1[_0x4267dd(0x1db)]){_0x1244b1[_0x4267dd(0x1a5)]&&(this[_0x4267dd(0x214)]=_0x1244b1[_0x4267dd(0x1a5)]),this[_0x4267dd(0x19f)]=this[_0x4267dd(0x19f)][_0x4267dd(0x1f1)](_0x5503ec=>!_0x28819a[_0x4267dd(0x182)](_0x5503ec));for(const _0x12e645 of _0x28819a)_0x12e645[_0x4267dd(0x1cc)]=_0x4267dd(0x13c)in _0x1244b1&&_0x1244b1[_0x4267dd(0x13c)]||void 0x0;K(_0x28819a,_0x1244b1[_0x4267dd(0x154)]-_0x28819a[_0x4267dd(0x148)]),this[_0x4267dd(0x16a)](_0x28819a);const _0x26aaad=_0x28819a[_0x4267dd(0x1f1)](_0x5eced0=>{const _0x37ec76=_0x4267dd;if(!_0x5eced0[_0x37ec76(0x16c)])return!0x1;const _0xcc8ec5=this[_0x37ec76(0x199)](_0x5eced0);return _0xcc8ec5&&!this[_0x37ec76(0x1c6)][_0x37ec76(0x179)](_0xcc8ec5);});K(_0x26aaad,this[_0x4267dd(0x1dc)][_0x4267dd(0x154)]),this[_0x4267dd(0x1cd)](_0x26aaad),_0x54a472=!0x0,this[_0x4267dd(0x1b3)]=this[_0x4267dd(0x195)];}else{const _0x3808f9=this[_0x4267dd(0x1be)](_0x1244b1[_0x4267dd(0x129)],_0x1244b1[_0x4267dd(0x12c)])[_0x4267dd(0x1f1)](_0x5dc1cf=>_0x5dc1cf[_0x4267dd(0x1a8)]>=this[_0x4267dd(0x114)]);_0x3808f9[_0x4267dd(0x1c9)](_0x1ee4b2=>this[_0x4267dd(0x1ea)](_0x1ee4b2)),this[_0x4267dd(0x19f)]=this[_0x4267dd(0x19f)][_0x4267dd(0x1f1)](_0x50514a=>!_0x50514a[_0x4267dd(0x16c)]||!this[_0x4267dd(0x1c6)][_0x4267dd(0x179)](this[_0x4267dd(0x199)](_0x50514a))),this[_0x4267dd(0x19f)][_0x4267dd(0x148)]&&K(this[_0x4267dd(0x19f)],this[_0x4267dd(0x19f)][0x0][_0x4267dd(0x1a8)]),await this[_0x4267dd(0x144)](_0x3808f9),_0x54a472=this[_0x4267dd(0x13e)](_0x3808f9,_0x1244b1[_0x4267dd(0x154)],_0x1244b1[_0x4267dd(0x1a5)]),this[_0x4267dd(0x1b3)]=Math[_0x4267dd(0x14d)](this[_0x4267dd(0x1b3)]/0x2);}return _0x54a472?!this[_0x4267dd(0x143)]()||(this[_0x4267dd(0x1a4)](!0x0),!0x1):this[_0x4267dd(0x1b0)](_0x4267dd(0x1f4));}[_0x5c6e6e(0x13e)](_0x354a95,_0x2f1682,_0x280516){const _0xfa2867=_0x5c6e6e;try{const _0x1182ff={'document':this[_0xfa2867(0x1dc)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5108db,operationsB:_0x4a7982,originalOperations:_0xa42101}=_0xf34b17(_0x354a95,this[_0xfa2867(0x19f)],_0x1182ff);K(_0x5108db,this[_0xfa2867(0x1dc)][_0xfa2867(0x154)]),K(_0x4a7982,_0x2f1682);for(const _0x24425e of _0x5108db){const _0x38e0ee=_0xa42101[_0xfa2867(0x186)](_0x24425e);_0x24425e[_0xfa2867(0x16d)]=_0x38e0ee?_0x38e0ee[_0xfa2867(0x16d)]:null;}_0x280516&&(this[_0xfa2867(0x1e8)][_0xfa2867(0x17b)](_0x354a95,_0x280516),this[_0xfa2867(0x214)]=_0x280516),this[_0xfa2867(0x19f)]=[..._0x4a7982],this[_0xfa2867(0x1cd)](_0x5108db),this[_0xfa2867(0x16a)](_0x354a95);}catch(_0x2567f0){return console[_0xfa2867(0x1dd)](_0x2567f0),!0x1;}return!0x0;}[_0x5c6e6e(0x1cd)](_0x39ab4e,_0x593ce7=!0x1){const _0x34827e=_0x5c6e6e;this[_0x34827e(0x1ca)][_0x34827e(0x126)][_0x34827e(0x15d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2540b6=>{const _0x58e696=_0x34827e;for(const _0x3e5a56 of _0x39ab4e)this[_0x58e696(0x191)][_0x58e696(0x1e5)](_0x3e5a56),this[_0x58e696(0x1ea)](_0x3e5a56),_0x2540b6[_0x58e696(0x19b)][_0x58e696(0x1bd)](_0x3e5a56),this[_0x58e696(0x1ca)][_0x58e696(0x126)][_0x58e696(0x207)](_0x3e5a56);});}[_0x5c6e6e(0x1ea)](_0x49d9ac){const _0x4f2a47=_0x5c6e6e,_0x3465dc=this[_0x4f2a47(0x199)](_0x49d9ac);_0x3465dc&&this[_0x4f2a47(0x1c6)][_0x4f2a47(0x1e5)](_0x3465dc);}[_0x5c6e6e(0x199)](_0x220c9a){const _0x1bfb56=_0x5c6e6e;let _0x1611a5,_0x48cdc5;switch(_0x220c9a[_0x1bfb56(0x145)]){case _0x1bfb56(0x185):_0x1611a5=_0x220c9a[_0x1bfb56(0x206)][_0x1bfb56(0x1b5)];break;case _0x1bfb56(0x189):if(_0x48cdc5=_0x220c9a[_0x1bfb56(0x20f)],!_0x48cdc5)return null;_0x1611a5=_0x48cdc5[_0x1bfb56(0x1b5)];break;case _0x1bfb56(0x1af):_0x1611a5=_0x220c9a[_0x1bfb56(0x1b5)];break;case _0x1bfb56(0x180):_0x1611a5=_0x220c9a[_0x1bfb56(0x1c8)];break;case _0x1bfb56(0x116):_0x1611a5=_0x220c9a[_0x1bfb56(0x13b)][_0x1bfb56(0x1b5)];break;default:return null;}return _0x1611a5[_0x1bfb56(0x113)];}[_0x5c6e6e(0x16a)](_0x5d23ad){const _0x225f8b=_0x5c6e6e;_0x5d23ad[_0x225f8b(0x1c9)](_0x5b1509=>{const _0x494699=_0x225f8b,_0x3dac89=_0x5b1509[_0x494699(0x124)]();_0x3dac89[_0x494699(0x16d)]=_0x5b1509[_0x494699(0x16d)],_0x3dac89[_0x494699(0x16c)]=!!_0x5b1509[_0x494699(0x16c)],_0x3dac89[_0x494699(0x1cc)]=_0x5b1509[_0x494699(0x1cc)],_0x3dac89[_0x494699(0x1a8)]+=this[_0x494699(0x1b4)],_0x5b1509[_0x494699(0x146)]&&this[_0x494699(0x12e)][_0x494699(0x1e5)](_0x3dac89),this[_0x494699(0x1d0)][_0x494699(0x1bd)](_0x3dac89);});}[_0x5c6e6e(0x1bb)](_0x40f924){const _0x7800db=_0x5c6e6e,_0x36d842=this[_0x7800db(0x1ca)][_0x7800db(0x1ac)][_0x7800db(0x186)](_0x7800db(0x147)),_0x367de5=this[_0x7800db(0x1ca)][_0x7800db(0x160)];_0x40f924||(_0x40f924=_0x7aa812(_0x367de5,_0x7800db(0x156))),_0x36d842[_0x7800db(0x1c4)](_0x40f924,{'title':_0x7aa812(_0x367de5,_0x7800db(0x11e)),'namespace':_0x7800db(0x181)}),this[_0x7800db(0x17d)]=!0x0,clearTimeout(this[_0x7800db(0x170)]),this[_0x7800db(0x19f)]=[],this[_0x7800db(0x1ca)][_0x7800db(0x1ac)][_0x7800db(0x186)](_0x1ceaf1)[_0x7800db(0x20b)]();}[_0x5c6e6e(0x1d6)](){const _0x4393f1=_0x5c6e6e;this[_0x4393f1(0x16b)]||(this[_0x4393f1(0x16b)]=this[_0x4393f1(0x1ca)][_0x4393f1(0x1ac)][_0x4393f1(0x186)](_0xbad72d)[_0x4393f1(0x1e5)](_0x7aa812(this[_0x4393f1(0x1ca)][_0x4393f1(0x160)],_0x4393f1(0x1ff))));}[_0x5c6e6e(0x19a)](){const _0x2f3626=_0x5c6e6e;this[_0x2f3626(0x16b)]&&(this[_0x2f3626(0x1ca)][_0x2f3626(0x1ac)][_0x2f3626(0x186)](_0xbad72d)[_0x2f3626(0x17f)](this[_0x2f3626(0x16b)]),this[_0x2f3626(0x16b)]=null);}[_0x5c6e6e(0x17a)](_0x5849f2){const _0x1e78e3=_0x5c6e6e,_0x2453a7=_0x5849f2[_0x1e78e3(0x213)](_0x9edceb=>_0x9edceb[_0x1e78e3(0x18e)]());return this[_0x1e78e3(0x135)][_0x1e78e3(0x16e)](_0x2453a7);}[_0x5c6e6e(0x1be)](_0xbce8bf,_0x22e7d1){const _0x6a64bd=_0x5c6e6e;return this[_0x6a64bd(0x135)][_0x6a64bd(0x1e9)](_0xbce8bf)[_0x6a64bd(0x213)]((_0x1d2e68,_0x1710e6)=>{const _0xbe5c91=_0x6a64bd,_0x7f8d9f=_0xbe5c91(0x1e7)==_0x22e7d1[_0x1710e6][_0xbe5c91(0x145)];if(_0xbe5c91(0x1d7)==_0x1d2e68[_0xbe5c91(0x1ed)]){const _0x311277=_0x1d2e68[_0xbe5c91(0x206)][_0xbe5c91(0x1b5)];!this[_0xbe5c91(0x1dc)][_0xbe5c91(0x1f2)](_0x311277)&&(this[_0xbe5c91(0x1dc)][_0xbe5c91(0x1b6)](_0xbe5c91(0x18a),_0x311277)[_0xbe5c91(0x15b)]=!0x1);}const _0x4ab232=_0x4ae083[_0xbe5c91(0x1c7)](_0x1d2e68,this[_0xbe5c91(0x1dc)]);return _0x4ab232[_0xbe5c91(0x133)]=_0x1d2e68[_0xbe5c91(0x133)],_0x4ab232[_0xbe5c91(0x16c)]=_0x7f8d9f,_0x4ab232[_0xbe5c91(0x16d)]=_0x7f8d9f?null:_0x22e7d1[_0x1710e6][_0xbe5c91(0x14b)],_0x4ab232[_0xbe5c91(0x146)]=_0xbe5c91(0x20d)===_0x22e7d1[_0x1710e6][_0xbe5c91(0x145)],_0x4ab232[_0xbe5c91(0x1cc)]=_0x22e7d1[_0x1710e6][_0xbe5c91(0x1cc)],_0x4ab232;});}[_0x5c6e6e(0x1f7)](){const _0x509e05=_0x5c6e6e;this[_0x509e05(0x1aa)]=!0x0,this[_0x509e05(0x18b)]()?this[_0x509e05(0x1a4)]():this[_0x509e05(0x1aa)]=!0x1;}[_0x5c6e6e(0x18b)](){const _0x451ce2=_0x5c6e6e,_0x329fd6=this[_0x451ce2(0x1ca)][_0x451ce2(0x1ac)][_0x451ce2(0x186)](_0x588e59)[_0x451ce2(0x1b1)][_0x451ce2(0x186)](this[_0x451ce2(0x128)]);return!this[_0x451ce2(0x1ca)][_0x451ce2(0x1bc)]&&!!_0x329fd6&&_0x329fd6[_0x451ce2(0x148)]>0x1&&this[_0x451ce2(0x1aa)];}[_0x5c6e6e(0x143)](){const _0x2892bd=_0x5c6e6e;return this[_0x2892bd(0x19f)][_0x2892bd(0x148)]>0x0||this[_0x2892bd(0x18b)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x5bb683,_0x4c163c){const _0x315027=_0x5c6e6e;for(const _0x4d134c of _0x5bb683)_0x4d134c[_0x315027(0x1a8)]=_0x4c163c++;}class J{[_0x5c6e6e(0x197)];[_0x5c6e6e(0x1c2)];constructor(_0x3cd041){const _0x2f427d=_0x5c6e6e;this[_0x2f427d(0x197)]=_0x3cd041,this[_0x2f427d(0x1c2)]=new WeakMap();}[_0x5c6e6e(0x130)](_0x277960){const _0x5540ab=_0x5c6e6e;let _0xc1457b=_0x277960[_0x5540ab(0x148)];for(;_0xc1457b--;){const _0x564aac=_0x277960[_0xc1457b];if(!this[_0x5540ab(0x197)][_0x5540ab(0x179)](_0x564aac)){if(!this[_0x5540ab(0x1c2)][_0x5540ab(0x179)](_0x564aac)){const _0x44d0a8=_0x44d963()[_0x5540ab(0x20a)](0x1,0x12);this[_0x5540ab(0x1c2)][_0x5540ab(0x204)](_0x564aac,_0x44d0a8);}return this[_0x5540ab(0x1c2)][_0x5540ab(0x186)](_0x564aac);}}}[_0x5c6e6e(0x17b)](_0x410695,_0x2515f3){const _0x1e3c46=_0x5c6e6e;if(!_0x2515f3)return;let _0x59f0f0=_0x410695[_0x1e3c46(0x148)];for(;_0x59f0f0--;){const _0x7ad912=_0x410695[_0x59f0f0];this[_0x1e3c46(0x197)][_0x1e3c46(0x179)](_0x7ad912)||this[_0x1e3c46(0x1c2)][_0x1e3c46(0x204)](_0x7ad912,_0x2515f3);}}}