@ckeditor/ckeditor5-real-time-collaboration 47.4.0-alpha.0 → 47.4.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-real-time-collaboration",
3
- "version": "47.4.0-alpha.0",
3
+ "version": "47.4.0-alpha.1",
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.2",
50
- "@ckeditor/ckeditor5-cloud-services": "47.4.0-alpha.0",
51
- "@ckeditor/ckeditor5-comments": "47.4.0-alpha.0",
52
- "@ckeditor/ckeditor5-core": "47.4.0-alpha.0",
53
- "@ckeditor/ckeditor5-editor-multi-root": "47.4.0-alpha.0",
54
- "@ckeditor/ckeditor5-engine": "47.4.0-alpha.0",
55
- "@ckeditor/ckeditor5-operations-compressor": "47.4.0-alpha.0",
56
- "@ckeditor/ckeditor5-revision-history": "47.4.0-alpha.0",
57
- "@ckeditor/ckeditor5-theme-lark": "47.4.0-alpha.0",
58
- "@ckeditor/ckeditor5-track-changes": "47.4.0-alpha.0",
59
- "@ckeditor/ckeditor5-ui": "47.4.0-alpha.0",
60
- "@ckeditor/ckeditor5-utils": "47.4.0-alpha.0",
61
- "ckeditor5": "47.4.0-alpha.0",
62
- "ckeditor5-collaboration": "47.4.0-alpha.0",
50
+ "@ckeditor/ckeditor5-cloud-services": "47.4.0-alpha.1",
51
+ "@ckeditor/ckeditor5-comments": "47.4.0-alpha.1",
52
+ "@ckeditor/ckeditor5-core": "47.4.0-alpha.1",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "47.4.0-alpha.1",
54
+ "@ckeditor/ckeditor5-engine": "47.4.0-alpha.1",
55
+ "@ckeditor/ckeditor5-operations-compressor": "47.4.0-alpha.1",
56
+ "@ckeditor/ckeditor5-revision-history": "47.4.0-alpha.1",
57
+ "@ckeditor/ckeditor5-theme-lark": "47.4.0-alpha.1",
58
+ "@ckeditor/ckeditor5-track-changes": "47.4.0-alpha.1",
59
+ "@ckeditor/ckeditor5-ui": "47.4.0-alpha.1",
60
+ "@ckeditor/ckeditor5-utils": "47.4.0-alpha.1",
61
+ "ckeditor5": "47.4.0-alpha.1",
62
+ "ckeditor5-collaboration": "47.4.0-alpha.1",
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 _0x511a80=_0x476d;function _0x476d(_0x3418b4,_0x282744){const _0x83769e=_0x8376();return _0x476d=function(_0x476d92,_0x263b33){_0x476d92=_0x476d92-0x1ca;let _0x127837=_0x83769e[_0x476d92];return _0x127837;},_0x476d(_0x3418b4,_0x282744);}(function(_0xf9b4ac,_0x27f463){const _0x1cd10d=_0x476d,_0x3b42a3=_0xf9b4ac();while(!![]){try{const _0x2c9ed1=-parseInt(_0x1cd10d(0x1f1))/0x1*(parseInt(_0x1cd10d(0x1ea))/0x2)+-parseInt(_0x1cd10d(0x1eb))/0x3*(-parseInt(_0x1cd10d(0x22a))/0x4)+-parseInt(_0x1cd10d(0x228))/0x5+parseInt(_0x1cd10d(0x1f5))/0x6*(-parseInt(_0x1cd10d(0x21b))/0x7)+parseInt(_0x1cd10d(0x233))/0x8+parseInt(_0x1cd10d(0x1e5))/0x9+-parseInt(_0x1cd10d(0x201))/0xa;if(_0x2c9ed1===_0x27f463)break;else _0x3b42a3['push'](_0x3b42a3['shift']());}catch(_0x2512c1){_0x3b42a3['push'](_0x3b42a3['shift']());}}}(_0x8376,0xcdae1));import{ContextPlugin as _0x3ac5c6}from'ckeditor5/src/core.js';import{CKEditorError as _0x3ed703,Collection as _0x184621}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x27ceb6,BalloonPanelView as _0x557910,BodyCollection as _0x2dcad7}from'ckeditor5/src/ui.js';import{isElement as _0xa48306}from'es-toolkit/compat';import{Sessions as _0x402d7f}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x470a41}from'./view/presencelistview.js';import{PresenceCounterView as _0x7da7b8}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x5b6830}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x9f1635}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x139b0d}from'./view/presenceinlinelistitemview.js';const U={'collapseAt':0x6,'displayMe':!0x0};function _0x8376(){const _0x85c43e=['isMe','inlineListView','_handleUserRemove','_bodyCollection','detachFromDom','reverse','presenceList.container','hasTooltip','map','presenceDropdownView','70gYatJj','presenceList','displayMe','length','find','onClick','pin','isPremiumPlugin','number','pluginName','tabIndex','Esc','_createView','1103450gNELZK','textarea','4GElBDh','indexOf','presencelist:hide','counterView','bindTo','presencelist-collapseat-invalid-format','isOfficialPlugin','querySelectorAll','from','4162272sGMcdv','isFocusable','presenceList.displayMe','Tab','button','checkIfScrollable','destroy','listenTo','isCollapsed','view','config','filter','Enter','hideDropdown','Shift+Tab','PresenceListUI','bind','presencelist:show',':not([disabled]):not([tabindex=\x22-1\x22])','_handleUserAdd','add','presenceList.collapseAt','select','offsetHeight','offsetWidth','element','focus','appendChild','context','8064972YnlxHz','usersCount','render','execute','input','114BBIetB','4657101VsIpjt','requires','_allConnectedUsers','locale','currentDisplayedUsers','isRendered','10237YpnlYc','remove','items','[contenteditable]','458796TRPguk','isVisible','plugins','isExpanded','attachToDom','init','ck\x20ck-presence-list__balloon','activeElement','sort','unpin','class','showDropdown','5574350fiKPKV','get','define','focusTracker','allConnectedUsers','presencelist-missing-container','using','content','join','min','keystrokes','balloonPanelView','[tabindex]','change:isFocused','set','body'];_0x8376=function(){return _0x85c43e;};return _0x8376();}export class PresenceListUI extends _0x3ac5c6{[_0x511a80(0x1ef)];[_0x511a80(0x20c)];[_0x511a80(0x1d1)];[_0x511a80(0x21a)];[_0x511a80(0x214)]=null;static get[_0x511a80(0x224)](){const _0x18cc05=_0x511a80;return _0x18cc05(0x1d7);}static get[_0x511a80(0x230)](){return!0x0;}static get[_0x511a80(0x222)](){return!0x0;}constructor(_0x908af4){const _0x2e8d10=_0x511a80;super(_0x908af4),this[_0x2e8d10(0x1e4)][_0x2e8d10(0x1d2)][_0x2e8d10(0x203)](_0x2e8d10(0x21c),U);const _0x2cdc84=_0x908af4[_0x2e8d10(0x1d2)][_0x2e8d10(0x202)](_0x2e8d10(0x1dd));if(_0x2e8d10(0x223)!=typeof _0x2cdc84)throw new _0x3ed703(_0x2e8d10(0x22f),this);if(_0x2cdc84<0x1)throw new _0x3ed703(_0x2e8d10(0x22f),this);this[_0x2e8d10(0x1ed)]=this[_0x2e8d10(0x1e4)][_0x2e8d10(0x1f7)][_0x2e8d10(0x202)](_0x402d7f)[_0x2e8d10(0x205)],this[_0x2e8d10(0x20f)](_0x2e8d10(0x1e6),0x0),this[_0x2e8d10(0x1ef)]=new _0x184621(),this[_0x2e8d10(0x20c)]=new _0x557910(),this[_0x2e8d10(0x20c)][_0x2e8d10(0x1ff)]=_0x2e8d10(0x1fb),this[_0x2e8d10(0x1d1)]=this[_0x2e8d10(0x227)](),this[_0x2e8d10(0x21a)]=void 0x0;}static get[_0x511a80(0x1ec)](){return[_0x402d7f];}[_0x511a80(0x1fa)](){const _0x19c9ec=_0x511a80;for(const _0x88e6a4 of this[_0x19c9ec(0x1ed)])this[_0x19c9ec(0x1db)](_0x88e6a4);this[_0x19c9ec(0x1cf)](this[_0x19c9ec(0x1ed)],_0x19c9ec(0x1dc),(_0x185380,_0x5d4f0b)=>{const _0x15c850=_0x19c9ec;this[_0x15c850(0x1db)](_0x5d4f0b);}),this[_0x19c9ec(0x1cf)](this[_0x19c9ec(0x1ed)],_0x19c9ec(0x1f2),(_0x53110f,_0x2ef550)=>{const _0x3b1b47=_0x19c9ec;this[_0x3b1b47(0x213)](_0x2ef550);});}[_0x511a80(0x227)](){const _0x5a5cae=_0x511a80,_0x255564=this[_0x5a5cae(0x1e4)],_0x22fbff=new _0x470a41(this[_0x5a5cae(0x1e4)][_0x5a5cae(0x1ee)],this[_0x5a5cae(0x1e4)][_0x5a5cae(0x1d2)][_0x5a5cae(0x202)](_0x5a5cae(0x1dd))),_0x8dfb9d=this[_0x5a5cae(0x20c)];if(!_0xa48306(_0x255564[_0x5a5cae(0x1d2)][_0x5a5cae(0x202)](_0x5a5cae(0x217))))throw new _0x3ed703(_0x5a5cae(0x206),this);return _0x22fbff[_0x5a5cae(0x22d)][_0x5a5cae(0x1d8)](_0x5a5cae(0x1e6))['to'](this),_0x22fbff[_0x5a5cae(0x1d8)](_0x5a5cae(0x1d0))['to'](this,_0x5a5cae(0x1e6),_0x3756e1=>{const _0x37d7c4=_0x5a5cae,{collapseAt:_0x1a5718}=_0x255564[_0x37d7c4(0x1d2)][_0x37d7c4(0x202)](_0x37d7c4(0x21c)),_0x2665a6=_0x3756e1>=_0x1a5718;if(_0x2665a6&&!_0x22fbff[_0x37d7c4(0x212)][_0x37d7c4(0x1f3)][_0x37d7c4(0x21f)](_0x45c9d1=>_0x45c9d1 instanceof _0x7da7b8)){const _0x46fefd=this[_0x37d7c4(0x1e4)][_0x37d7c4(0x1d2)][_0x37d7c4(0x202)](_0x37d7c4(0x1dd))-0x1;this[_0x37d7c4(0x1ef)][_0x37d7c4(0x21e)]==_0x46fefd&&this[_0x37d7c4(0x1ef)][_0x37d7c4(0x21e)]>0x1&&this[_0x37d7c4(0x1ef)][_0x37d7c4(0x1f2)](this[_0x37d7c4(0x1ef)][_0x37d7c4(0x21e)]-0x1),_0x22fbff[_0x37d7c4(0x212)][_0x37d7c4(0x1f3)][_0x37d7c4(0x1dc)](_0x22fbff[_0x37d7c4(0x22d)]);}return _0x2665a6||this[_0x37d7c4(0x1d5)](),_0x2665a6;}),_0x22fbff[_0x5a5cae(0x212)][_0x5a5cae(0x1f3)][_0x5a5cae(0x22e)](this[_0x5a5cae(0x1ef)])[_0x5a5cae(0x207)](_0x567007=>{const _0x1de467=_0x5a5cae,_0x383af6=_0x255564[_0x1de467(0x1d2)][_0x1de467(0x202)](_0x1de467(0x21c)),_0x1ab984=new _0x139b0d(_0x255564[_0x1de467(0x1ee)],_0x567007,!!_0x383af6[_0x1de467(0x220)]);return _0x1ab984[_0x1de467(0x1d8)](_0x1de467(0x218))['to'](_0x22fbff,_0x1de467(0x1d0),_0x452ade=>!_0x452ade),_0x1ab984[_0x1de467(0x1d8)](_0x1de467(0x234))['to'](_0x22fbff,_0x1de467(0x1d0),_0x1a2c71=>!_0x1a2c71),_0x383af6[_0x1de467(0x220)]&&this[_0x1de467(0x1cf)](_0x1ab984,_0x1de467(0x1e8),()=>{const _0x33a2e9=_0x1de467;this[_0x33a2e9(0x1d1)][_0x33a2e9(0x1d0)]||_0x383af6[_0x33a2e9(0x220)](_0x567007,_0x1ab984[_0x33a2e9(0x1e1)]);}),_0x1ab984;}),this[_0x5a5cae(0x1cf)](_0x22fbff[_0x5a5cae(0x212)],_0x5a5cae(0x1d9),()=>{const _0x3837b5=_0x5a5cae;this[_0x3837b5(0x1d1)][_0x3837b5(0x1d0)]&&this[_0x3837b5(0x200)]();}),this[_0x5a5cae(0x1cf)](_0x22fbff[_0x5a5cae(0x212)],_0x5a5cae(0x22c),()=>{const _0xa622a7=_0x5a5cae;this[_0xa622a7(0x21a)]&&this[_0xa622a7(0x1d5)]();}),_0x22fbff[_0x5a5cae(0x212)][_0x5a5cae(0x20b)][_0x5a5cae(0x20f)](_0x5a5cae(0x1d4),(_0x6ab28e,_0x374d44)=>{const _0x1738ed=_0x5a5cae;this[_0x1738ed(0x1d1)][_0x1738ed(0x1d0)]&&(this[_0x1738ed(0x200)](),_0x374d44());}),_0x22fbff[_0x5a5cae(0x1e7)](),_0x8dfb9d[_0x5a5cae(0x1e7)](),_0x27ceb6({'emitter':_0x22fbff,'activator':()=>_0x8dfb9d[_0x5a5cae(0x1f6)],'contextElements':[_0x8dfb9d[_0x5a5cae(0x1e1)],_0x22fbff[_0x5a5cae(0x212)][_0x5a5cae(0x1e1)]],'callback':()=>this[_0x5a5cae(0x1d5)]()}),_0x255564[_0x5a5cae(0x1d2)][_0x5a5cae(0x202)](_0x5a5cae(0x217))[_0x5a5cae(0x1e3)](_0x22fbff[_0x5a5cae(0x1e1)]),this[_0x5a5cae(0x214)]=new _0x2dcad7(this[_0x5a5cae(0x1e4)][_0x5a5cae(0x1ee)]),this[_0x5a5cae(0x214)][_0x5a5cae(0x1f9)](),this[_0x5a5cae(0x214)][_0x5a5cae(0x1dc)](this[_0x5a5cae(0x20c)]),_0x22fbff;}[_0x511a80(0x1db)](_0x1fbc33){const _0x33a16e=_0x511a80;if(!this[_0x33a16e(0x1e4)][_0x33a16e(0x1d2)][_0x33a16e(0x202)](_0x33a16e(0x1ca))&&_0x1fbc33[_0x33a16e(0x211)])return;const _0x10dc3b=this[_0x33a16e(0x1e4)][_0x33a16e(0x1d2)][_0x33a16e(0x202)](_0x33a16e(0x1dd))-0x1;for(this[_0x33a16e(0x1e6)]++;this[_0x33a16e(0x1ef)][_0x33a16e(0x21e)]>=_0x10dc3b-(this[_0x33a16e(0x1d1)][_0x33a16e(0x1d0)]?0x1:0x0)&&this[_0x33a16e(0x1ef)][_0x33a16e(0x21e)]>0x1;)this[_0x33a16e(0x1ef)][_0x33a16e(0x1f2)](0x1);const _0x10d29a=_0x1fbc33[_0x33a16e(0x211)]?0x0:this[_0x33a16e(0x1ef)][_0x33a16e(0x21e)];this[_0x33a16e(0x1ef)][_0x33a16e(0x1dc)](_0x1fbc33,_0x10d29a);}[_0x511a80(0x213)](_0x2ca5f9){const _0x1ef612=_0x511a80;this[_0x1ef612(0x1e6)]--;const {collapseAt:_0x4a6665}=this[_0x1ef612(0x1e4)][_0x1ef612(0x1d2)][_0x1ef612(0x202)](_0x1ef612(0x21c)),_0xf2bf32=this[_0x1ef612(0x1e6)]>=_0x4a6665;if(this[_0x1ef612(0x1ef)][_0x1ef612(0x202)](_0x2ca5f9['id']))this[_0x1ef612(0x1ef)][_0x1ef612(0x1f2)](_0x2ca5f9['id']);else{if(_0xf2bf32&&this[_0x1ef612(0x1ef)][_0x1ef612(0x21e)]+0x1===_0x4a6665-0x1)return;}if(this[_0x1ef612(0x1ef)][_0x1ef612(0x21e)]+(_0xf2bf32?0x1:0x0)<this[_0x1ef612(0x1e6)]){for(const _0x2521f2 of Array[_0x1ef612(0x232)](this[_0x1ef612(0x1ed)])[_0x1ef612(0x216)]())if(!this[_0x1ef612(0x1ef)][_0x1ef612(0x202)](_0x2521f2['id'])&&(this[_0x1ef612(0x1ef)][_0x1ef612(0x1dc)](_0x2521f2,Math[_0x1ef612(0x20a)](this[_0x1ef612(0x1ef)][_0x1ef612(0x21e)]-(_0xf2bf32?0x1:0x0),0x1)),this[_0x1ef612(0x1ef)][_0x1ef612(0x21e)]+(_0xf2bf32?0x1:0x0)===_0x4a6665-0x1))return;}}[_0x511a80(0x200)](){const _0x2f7fc1=_0x511a80;if(this[_0x2f7fc1(0x21a)])return;const _0x3f027f=this[_0x2f7fc1(0x1e4)][_0x2f7fc1(0x1d2)][_0x2f7fc1(0x202)](_0x2f7fc1(0x21c));this[_0x2f7fc1(0x21a)]=new _0x5b6830(this[_0x2f7fc1(0x1e4)][_0x2f7fc1(0x1ee)],!!_0x3f027f[_0x2f7fc1(0x220)]),this[_0x2f7fc1(0x1d1)][_0x2f7fc1(0x212)][_0x2f7fc1(0x1f8)]=!0x0,this[_0x2f7fc1(0x1cf)](this[_0x2f7fc1(0x21a)],_0x2f7fc1(0x22c),()=>{const _0x36992a=_0x2f7fc1;this[_0x36992a(0x21a)]&&this[_0x36992a(0x1d5)]();});const {listWrapperView:_0xd3c62e}=this[_0x2f7fc1(0x21a)];_0xd3c62e[_0x2f7fc1(0x1f3)][_0x2f7fc1(0x22e)](this[_0x2f7fc1(0x1ed)])[_0x2f7fc1(0x207)](_0x1e0a3e=>{const _0x31713a=_0x2f7fc1;if(!_0x3f027f[_0x31713a(0x21d)]&&_0x1e0a3e[_0x31713a(0x211)])return null;const _0x3be7e6=new _0x9f1635(this[_0x31713a(0x1e4)][_0x31713a(0x1ee)],_0x1e0a3e,!!_0x3f027f[_0x31713a(0x220)]);return _0x3f027f[_0x31713a(0x220)]&&this[_0x31713a(0x1cf)](_0x3be7e6,_0x31713a(0x1e8),()=>{const _0x57cb6b=_0x31713a;_0x3f027f[_0x57cb6b(0x220)](_0x1e0a3e,_0x3be7e6[_0x57cb6b(0x1e1)]);}),_0x3be7e6;}),this[_0x2f7fc1(0x20c)][_0x2f7fc1(0x208)][_0x2f7fc1(0x1dc)](this[_0x2f7fc1(0x21a)]),this[_0x2f7fc1(0x20c)][_0x2f7fc1(0x221)]({'target':this[_0x2f7fc1(0x1d1)][_0x2f7fc1(0x212)][_0x2f7fc1(0x1e1)]}),_0xd3c62e[_0x2f7fc1(0x1e2)](),_0xd3c62e[_0x2f7fc1(0x1cd)]();const _0x12d2a7=(_0x32f176,_0x1d0552)=>{const _0x2c5def=_0x2f7fc1;this[_0x2c5def(0x1d5)](),this[_0x2c5def(0x1d1)][_0x2c5def(0x212)][_0x2c5def(0x1e2)](),_0x1d0552();};_0xd3c62e[_0x2f7fc1(0x20b)][_0x2f7fc1(0x20f)](_0x2f7fc1(0x226),_0x12d2a7),_0xd3c62e[_0x2f7fc1(0x20b)][_0x2f7fc1(0x20f)](_0x2f7fc1(0x1d6),_0x12d2a7),_0xd3c62e[_0x2f7fc1(0x20b)][_0x2f7fc1(0x20f)](_0x2f7fc1(0x1cb),(_0x1bac57,_0x1de814)=>{const _0x2c76e7=_0x2f7fc1;!function(_0x233a7c){const _0x1466ee=_0x476d,_0x4c790e=['a',_0x1466ee(0x1cc),_0x1466ee(0x1e9),_0x1466ee(0x1de),_0x1466ee(0x229),_0x1466ee(0x20d),_0x1466ee(0x1f4)][_0x1466ee(0x219)](_0x2ef88b=>_0x2ef88b+_0x1466ee(0x1da))[_0x1466ee(0x209)](','),_0x525ac3=[...document[_0x1466ee(0x210)][_0x1466ee(0x231)](_0x4c790e)][_0x1466ee(0x1d3)](_0xc232c7=>_0xc232c7===document[_0x1466ee(0x1fc)]||_0xc232c7[_0x1466ee(0x1e0)]+_0xc232c7[_0x1466ee(0x1df)]>0x0)[_0x1466ee(0x1fd)]((_0x1823f6,_0x2ed745)=>(_0x1823f6[_0x1466ee(0x225)]||0x0)-(_0x2ed745[_0x1466ee(0x225)]||0x0)),_0x5330ee=_0x525ac3[_0x1466ee(0x22b)](_0x233a7c),_0x37310e=_0x525ac3[(_0x5330ee+0x1)%_0x525ac3[_0x1466ee(0x21e)]];_0x37310e&&_0x37310e[_0x1466ee(0x1e2)]();}(this[_0x2c76e7(0x1d1)][_0x2c76e7(0x1e1)]),this[_0x2c76e7(0x1d5)](),_0x1de814();}),_0xd3c62e[_0x2f7fc1(0x204)][_0x2f7fc1(0x1dc)](this[_0x2f7fc1(0x1d1)][_0x2f7fc1(0x1e1)]),_0xd3c62e[_0x2f7fc1(0x204)]['on'](_0x2f7fc1(0x20e),(_0x45b921,_0x5801fb,_0x2ffbef)=>{const _0x3df233=_0x2f7fc1;_0x2ffbef||this[_0x3df233(0x1d5)]();});}[_0x511a80(0x1d5)](){const _0x3516c8=_0x511a80;this[_0x3516c8(0x21a)]&&(this[_0x3516c8(0x1d1)][_0x3516c8(0x212)][_0x3516c8(0x1f8)]=!0x1,this[_0x3516c8(0x20c)][_0x3516c8(0x1fe)](),this[_0x3516c8(0x20c)][_0x3516c8(0x208)][_0x3516c8(0x1f2)](this[_0x3516c8(0x21a)]),this[_0x3516c8(0x21a)][_0x3516c8(0x1ce)](),this[_0x3516c8(0x21a)]=void 0x0);}[_0x511a80(0x1ce)](){const _0x3012c0=_0x511a80;super[_0x3012c0(0x1ce)](),this[_0x3012c0(0x1d1)]&&this[_0x3012c0(0x1d1)][_0x3012c0(0x1f0)]&&this[_0x3012c0(0x1d1)][_0x3012c0(0x1ce)](),this[_0x3012c0(0x214)]&&(this[_0x3012c0(0x214)][_0x3012c0(0x215)](),this[_0x3012c0(0x214)][_0x3012c0(0x1ce)](),this[_0x3012c0(0x214)]=null);}}
23
+ const _0x39bb82=_0x4331;(function(_0x488de3,_0xdf29e0){const _0x41f184=_0x4331,_0x19bcdd=_0x488de3();while(!![]){try{const _0x547ced=-parseInt(_0x41f184(0x112))/0x1+parseInt(_0x41f184(0x13d))/0x2*(parseInt(_0x41f184(0x100))/0x3)+-parseInt(_0x41f184(0x139))/0x4*(-parseInt(_0x41f184(0x133))/0x5)+parseInt(_0x41f184(0xfa))/0x6+-parseInt(_0x41f184(0x110))/0x7*(parseInt(_0x41f184(0x120))/0x8)+-parseInt(_0x41f184(0x13e))/0x9+-parseInt(_0x41f184(0x11f))/0xa;if(_0x547ced===_0xdf29e0)break;else _0x19bcdd['push'](_0x19bcdd['shift']());}catch(_0x4585c2){_0x19bcdd['push'](_0x19bcdd['shift']());}}}(_0x24f7,0x84a84));import{ContextPlugin as _0x4b03a1}from'ckeditor5/src/core.js';function _0x24f7(){const _0x37c40a=['plugins','isPremiumPlugin','select','body','keystrokes','remove','allConnectedUsers','presenceList.displayMe','balloonPanelView','hasTooltip','presencelist:show','view','presenceDropdownView','config','tabIndex','checkIfScrollable','467755slmCed','counterView','textarea','init','activeElement',':not([disabled]):not([tabindex=\x22-1\x22])','12EkDoFh','currentDisplayedUsers','locale','presenceList','80mAhIbx','2143809CZtZdH','pluginName','element','find','pin','isCollapsed','_handleUserAdd','attachToDom','inlineListView','isMe','focusTracker','requires','_bodyCollection','presenceList.container','sort','Tab','_handleUserRemove','button','class','join','Enter','[tabindex]','Esc','add','change:isFocused','map','focus','unpin','bind','usersCount','_allConnectedUsers','items','reverse','ck\x20ck-presence-list__balloon','isFocusable','bindTo','min','Shift+Tab','set','5666868jPGDvW','presenceList.collapseAt','indexOf','offsetHeight','presencelist-collapseat-invalid-format','execute','63498JHjDsn','filter','number','isOfficialPlugin','context','hideDropdown','_createView','isVisible','appendChild','presencelist:hide','get','isRendered','input','isExpanded','[contenteditable]','presencelist-missing-container','111643TrBxbI','querySelectorAll','381886jEuKmX','showDropdown','render','offsetWidth','PresenceListUI','listenTo','from','destroy','displayMe','onClick','using','detachFromDom','define','6850340XUPRfB','112iciMhi','length','content'];_0x24f7=function(){return _0x37c40a;};return _0x24f7();}import{CKEditorError as _0x2ed24a,Collection as _0x42d602}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x47186d,BalloonPanelView as _0x59fcdb,BodyCollection as _0xf0f32f}from'ckeditor5/src/ui.js';import{isElement as _0x584f8d}from'es-toolkit/compat';import{Sessions as _0x6021a}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x4c8b15}from'./view/presencelistview.js';function _0x4331(_0x53ab9f,_0x30b978){const _0x24f7f1=_0x24f7();return _0x4331=function(_0x4331a4,_0x95c72e){_0x4331a4=_0x4331a4-0xeb;let _0x336343=_0x24f7f1[_0x4331a4];return _0x336343;},_0x4331(_0x53ab9f,_0x30b978);}import{PresenceCounterView as _0x2458d0}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x343a6a}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x3f9700}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x38e74f}from'./view/presenceinlinelistitemview.js';const x={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x4b03a1{[_0x39bb82(0x13a)];[_0x39bb82(0x12b)];[_0x39bb82(0x12e)];[_0x39bb82(0x12f)];[_0x39bb82(0x14a)]=null;static get[_0x39bb82(0x13f)](){const _0x1e31ba=_0x39bb82;return _0x1e31ba(0x116);}static get[_0x39bb82(0x103)](){return!0x0;}static get[_0x39bb82(0x124)](){return!0x0;}constructor(_0x96c505){const _0x1c0fc8=_0x39bb82;super(_0x96c505),this[_0x1c0fc8(0x104)][_0x1c0fc8(0x130)][_0x1c0fc8(0x11e)](_0x1c0fc8(0x13c),x);const _0x574d90=_0x96c505[_0x1c0fc8(0x130)][_0x1c0fc8(0x10a)](_0x1c0fc8(0xfb));if(_0x1c0fc8(0x102)!=typeof _0x574d90)throw new _0x2ed24a(_0x1c0fc8(0xfe),this);if(_0x574d90<0x1)throw new _0x2ed24a(_0x1c0fc8(0xfe),this);this[_0x1c0fc8(0xf1)]=this[_0x1c0fc8(0x104)][_0x1c0fc8(0x123)][_0x1c0fc8(0x10a)](_0x6021a)[_0x1c0fc8(0x129)],this[_0x1c0fc8(0xf9)](_0x1c0fc8(0xf0),0x0),this[_0x1c0fc8(0x13a)]=new _0x42d602(),this[_0x1c0fc8(0x12b)]=new _0x59fcdb(),this[_0x1c0fc8(0x12b)][_0x1c0fc8(0x150)]=_0x1c0fc8(0xf4),this[_0x1c0fc8(0x12e)]=this[_0x1c0fc8(0x106)](),this[_0x1c0fc8(0x12f)]=void 0x0;}static get[_0x39bb82(0x149)](){return[_0x6021a];}[_0x39bb82(0x136)](){const _0x3c942b=_0x39bb82;for(const _0x3be9f0 of this[_0x3c942b(0xf1)])this[_0x3c942b(0x144)](_0x3be9f0);this[_0x3c942b(0x117)](this[_0x3c942b(0xf1)],_0x3c942b(0x155),(_0x2966ff,_0xbc6c01)=>{const _0x4e8b20=_0x3c942b;this[_0x4e8b20(0x144)](_0xbc6c01);}),this[_0x3c942b(0x117)](this[_0x3c942b(0xf1)],_0x3c942b(0x128),(_0x48e504,_0x4989b6)=>{const _0x4c0366=_0x3c942b;this[_0x4c0366(0x14e)](_0x4989b6);});}[_0x39bb82(0x106)](){const _0x122f6b=_0x39bb82,_0x7ae75=this[_0x122f6b(0x104)],_0x37d715=new _0x4c8b15(this[_0x122f6b(0x104)][_0x122f6b(0x13b)],this[_0x122f6b(0x104)][_0x122f6b(0x130)][_0x122f6b(0x10a)](_0x122f6b(0xfb))),_0x88dfce=this[_0x122f6b(0x12b)];if(!_0x584f8d(_0x7ae75[_0x122f6b(0x130)][_0x122f6b(0x10a)](_0x122f6b(0x14b))))throw new _0x2ed24a(_0x122f6b(0x10f),this);return _0x37d715[_0x122f6b(0x134)][_0x122f6b(0xef)](_0x122f6b(0xf0))['to'](this),_0x37d715[_0x122f6b(0xef)](_0x122f6b(0x143))['to'](this,_0x122f6b(0xf0),_0x1886d0=>{const _0x101628=_0x122f6b,{collapseAt:_0xa61ec9}=_0x7ae75[_0x101628(0x130)][_0x101628(0x10a)](_0x101628(0x13c)),_0x127cd4=_0x1886d0>=_0xa61ec9;if(_0x127cd4&&!_0x37d715[_0x101628(0x146)][_0x101628(0xf2)][_0x101628(0x141)](_0x29fc75=>_0x29fc75 instanceof _0x2458d0)){const _0x201689=this[_0x101628(0x104)][_0x101628(0x130)][_0x101628(0x10a)](_0x101628(0xfb))-0x1;this[_0x101628(0x13a)][_0x101628(0x121)]==_0x201689&&this[_0x101628(0x13a)][_0x101628(0x121)]>0x1&&this[_0x101628(0x13a)][_0x101628(0x128)](this[_0x101628(0x13a)][_0x101628(0x121)]-0x1),_0x37d715[_0x101628(0x146)][_0x101628(0xf2)][_0x101628(0x155)](_0x37d715[_0x101628(0x134)]);}return _0x127cd4||this[_0x101628(0x105)](),_0x127cd4;}),_0x37d715[_0x122f6b(0x146)][_0x122f6b(0xf2)][_0x122f6b(0xf6)](this[_0x122f6b(0x13a)])[_0x122f6b(0x11c)](_0x1e3359=>{const _0x455dfa=_0x122f6b,_0xfd8c5e=_0x7ae75[_0x455dfa(0x130)][_0x455dfa(0x10a)](_0x455dfa(0x13c)),_0xb17b61=new _0x38e74f(_0x7ae75[_0x455dfa(0x13b)],_0x1e3359,!!_0xfd8c5e[_0x455dfa(0x11b)]);return _0xb17b61[_0x455dfa(0xef)](_0x455dfa(0x12c))['to'](_0x37d715,_0x455dfa(0x143),_0x4b0b88=>!_0x4b0b88),_0xb17b61[_0x455dfa(0xef)](_0x455dfa(0xf5))['to'](_0x37d715,_0x455dfa(0x143),_0x26ff3b=>!_0x26ff3b),_0xfd8c5e[_0x455dfa(0x11b)]&&this[_0x455dfa(0x117)](_0xb17b61,_0x455dfa(0xff),()=>{const _0x36e3f8=_0x455dfa;this[_0x36e3f8(0x12e)][_0x36e3f8(0x143)]||_0xfd8c5e[_0x36e3f8(0x11b)](_0x1e3359,_0xb17b61[_0x36e3f8(0x140)]);}),_0xb17b61;}),this[_0x122f6b(0x117)](_0x37d715[_0x122f6b(0x146)],_0x122f6b(0x12d),()=>{const _0x455686=_0x122f6b;this[_0x455686(0x12e)][_0x455686(0x143)]&&this[_0x455686(0x113)]();}),this[_0x122f6b(0x117)](_0x37d715[_0x122f6b(0x146)],_0x122f6b(0x109),()=>{const _0x2fee19=_0x122f6b;this[_0x2fee19(0x12f)]&&this[_0x2fee19(0x105)]();}),_0x37d715[_0x122f6b(0x146)][_0x122f6b(0x127)][_0x122f6b(0xf9)](_0x122f6b(0x152),(_0x26dc88,_0x5e9ec7)=>{const _0x4fb4b3=_0x122f6b;this[_0x4fb4b3(0x12e)][_0x4fb4b3(0x143)]&&(this[_0x4fb4b3(0x113)](),_0x5e9ec7());}),_0x37d715[_0x122f6b(0x114)](),_0x88dfce[_0x122f6b(0x114)](),_0x47186d({'emitter':_0x37d715,'activator':()=>_0x88dfce[_0x122f6b(0x107)],'contextElements':[_0x88dfce[_0x122f6b(0x140)],_0x37d715[_0x122f6b(0x146)][_0x122f6b(0x140)]],'callback':()=>this[_0x122f6b(0x105)]()}),_0x7ae75[_0x122f6b(0x130)][_0x122f6b(0x10a)](_0x122f6b(0x14b))[_0x122f6b(0x108)](_0x37d715[_0x122f6b(0x140)]),this[_0x122f6b(0x14a)]=new _0xf0f32f(this[_0x122f6b(0x104)][_0x122f6b(0x13b)]),this[_0x122f6b(0x14a)][_0x122f6b(0x145)](),this[_0x122f6b(0x14a)][_0x122f6b(0x155)](this[_0x122f6b(0x12b)]),_0x37d715;}[_0x39bb82(0x144)](_0x18bdc8){const _0x127713=_0x39bb82;if(!this[_0x127713(0x104)][_0x127713(0x130)][_0x127713(0x10a)](_0x127713(0x12a))&&_0x18bdc8[_0x127713(0x147)])return;const _0x289058=this[_0x127713(0x104)][_0x127713(0x130)][_0x127713(0x10a)](_0x127713(0xfb))-0x1;for(this[_0x127713(0xf0)]++;this[_0x127713(0x13a)][_0x127713(0x121)]>=_0x289058-(this[_0x127713(0x12e)][_0x127713(0x143)]?0x1:0x0)&&this[_0x127713(0x13a)][_0x127713(0x121)]>0x1;)this[_0x127713(0x13a)][_0x127713(0x128)](0x1);const _0x3d345f=_0x18bdc8[_0x127713(0x147)]?0x0:this[_0x127713(0x13a)][_0x127713(0x121)];this[_0x127713(0x13a)][_0x127713(0x155)](_0x18bdc8,_0x3d345f);}[_0x39bb82(0x14e)](_0x247ddf){const _0x3e88ac=_0x39bb82;this[_0x3e88ac(0xf0)]--;const {collapseAt:_0x16dc8c}=this[_0x3e88ac(0x104)][_0x3e88ac(0x130)][_0x3e88ac(0x10a)](_0x3e88ac(0x13c)),_0x51f8bc=this[_0x3e88ac(0xf0)]>=_0x16dc8c;if(this[_0x3e88ac(0x13a)][_0x3e88ac(0x10a)](_0x247ddf['id']))this[_0x3e88ac(0x13a)][_0x3e88ac(0x128)](_0x247ddf['id']);else{if(_0x51f8bc&&this[_0x3e88ac(0x13a)][_0x3e88ac(0x121)]+0x1===_0x16dc8c-0x1)return;}if(this[_0x3e88ac(0x13a)][_0x3e88ac(0x121)]+(_0x51f8bc?0x1:0x0)<this[_0x3e88ac(0xf0)]){for(const _0x2a83c3 of Array[_0x3e88ac(0x118)](this[_0x3e88ac(0xf1)])[_0x3e88ac(0xf3)]())if(!this[_0x3e88ac(0x13a)][_0x3e88ac(0x10a)](_0x2a83c3['id'])&&(this[_0x3e88ac(0x13a)][_0x3e88ac(0x155)](_0x2a83c3,Math[_0x3e88ac(0xf7)](this[_0x3e88ac(0x13a)][_0x3e88ac(0x121)]-(_0x51f8bc?0x1:0x0),0x1)),this[_0x3e88ac(0x13a)][_0x3e88ac(0x121)]+(_0x51f8bc?0x1:0x0)===_0x16dc8c-0x1))return;}}[_0x39bb82(0x113)](){const _0x146bcf=_0x39bb82;if(this[_0x146bcf(0x12f)])return;const _0x51a39c=this[_0x146bcf(0x104)][_0x146bcf(0x130)][_0x146bcf(0x10a)](_0x146bcf(0x13c));this[_0x146bcf(0x12f)]=new _0x343a6a(this[_0x146bcf(0x104)][_0x146bcf(0x13b)],!!_0x51a39c[_0x146bcf(0x11b)]),this[_0x146bcf(0x12e)][_0x146bcf(0x146)][_0x146bcf(0x10d)]=!0x0,this[_0x146bcf(0x117)](this[_0x146bcf(0x12f)],_0x146bcf(0x109),()=>{const _0x8f17bc=_0x146bcf;this[_0x8f17bc(0x12f)]&&this[_0x8f17bc(0x105)]();});const {listWrapperView:_0x12ca98}=this[_0x146bcf(0x12f)];_0x12ca98[_0x146bcf(0xf2)][_0x146bcf(0xf6)](this[_0x146bcf(0xf1)])[_0x146bcf(0x11c)](_0x722fc=>{const _0x39ac74=_0x146bcf;if(!_0x51a39c[_0x39ac74(0x11a)]&&_0x722fc[_0x39ac74(0x147)])return null;const _0x3f96ce=new _0x3f9700(this[_0x39ac74(0x104)][_0x39ac74(0x13b)],_0x722fc,!!_0x51a39c[_0x39ac74(0x11b)]);return _0x51a39c[_0x39ac74(0x11b)]&&this[_0x39ac74(0x117)](_0x3f96ce,_0x39ac74(0xff),()=>{const _0x5893ed=_0x39ac74;_0x51a39c[_0x5893ed(0x11b)](_0x722fc,_0x3f96ce[_0x5893ed(0x140)]);}),_0x3f96ce;}),this[_0x146bcf(0x12b)][_0x146bcf(0x122)][_0x146bcf(0x155)](this[_0x146bcf(0x12f)]),this[_0x146bcf(0x12b)][_0x146bcf(0x142)]({'target':this[_0x146bcf(0x12e)][_0x146bcf(0x146)][_0x146bcf(0x140)]}),_0x12ca98[_0x146bcf(0xed)](),_0x12ca98[_0x146bcf(0x132)]();const _0x5861a0=(_0x49dcd0,_0x43dbf2)=>{const _0x1e57d0=_0x146bcf;this[_0x1e57d0(0x105)](),this[_0x1e57d0(0x12e)][_0x1e57d0(0x146)][_0x1e57d0(0xed)](),_0x43dbf2();};_0x12ca98[_0x146bcf(0x127)][_0x146bcf(0xf9)](_0x146bcf(0x154),_0x5861a0),_0x12ca98[_0x146bcf(0x127)][_0x146bcf(0xf9)](_0x146bcf(0xf8),_0x5861a0),_0x12ca98[_0x146bcf(0x127)][_0x146bcf(0xf9)](_0x146bcf(0x14d),(_0x20c26a,_0x58e219)=>{const _0x19a332=_0x146bcf;!function(_0x52b0a1){const _0x3ba5ff=_0x4331,_0x35c106=['a',_0x3ba5ff(0x14f),_0x3ba5ff(0x10c),_0x3ba5ff(0x125),_0x3ba5ff(0x135),_0x3ba5ff(0x153),_0x3ba5ff(0x10e)][_0x3ba5ff(0xec)](_0x1ac3ab=>_0x1ac3ab+_0x3ba5ff(0x138))[_0x3ba5ff(0x151)](','),_0xaded94=[...document[_0x3ba5ff(0x126)][_0x3ba5ff(0x111)](_0x35c106)][_0x3ba5ff(0x101)](_0x666baf=>_0x666baf===document[_0x3ba5ff(0x137)]||_0x666baf[_0x3ba5ff(0x115)]+_0x666baf[_0x3ba5ff(0xfd)]>0x0)[_0x3ba5ff(0x14c)]((_0x48cd60,_0x28d1a6)=>(_0x48cd60[_0x3ba5ff(0x131)]||0x0)-(_0x28d1a6[_0x3ba5ff(0x131)]||0x0)),_0x29ff83=_0xaded94[_0x3ba5ff(0xfc)](_0x52b0a1),_0x131a57=_0xaded94[(_0x29ff83+0x1)%_0xaded94[_0x3ba5ff(0x121)]];_0x131a57&&_0x131a57[_0x3ba5ff(0xed)]();}(this[_0x19a332(0x12e)][_0x19a332(0x140)]),this[_0x19a332(0x105)](),_0x58e219();}),_0x12ca98[_0x146bcf(0x148)][_0x146bcf(0x155)](this[_0x146bcf(0x12e)][_0x146bcf(0x140)]),_0x12ca98[_0x146bcf(0x148)]['on'](_0x146bcf(0xeb),(_0xa4c454,_0x582364,_0x2617bc)=>{const _0x25905a=_0x146bcf;_0x2617bc||this[_0x25905a(0x105)]();});}[_0x39bb82(0x105)](){const _0x3c9925=_0x39bb82;this[_0x3c9925(0x12f)]&&(this[_0x3c9925(0x12e)][_0x3c9925(0x146)][_0x3c9925(0x10d)]=!0x1,this[_0x3c9925(0x12b)][_0x3c9925(0xee)](),this[_0x3c9925(0x12b)][_0x3c9925(0x122)][_0x3c9925(0x128)](this[_0x3c9925(0x12f)]),this[_0x3c9925(0x12f)][_0x3c9925(0x119)](),this[_0x3c9925(0x12f)]=void 0x0);}[_0x39bb82(0x119)](){const _0x1ccd95=_0x39bb82;super[_0x1ccd95(0x119)](),this[_0x1ccd95(0x12e)]&&this[_0x1ccd95(0x12e)][_0x1ccd95(0x10b)]&&this[_0x1ccd95(0x12e)][_0x1ccd95(0x119)](),this[_0x1ccd95(0x14a)]&&(this[_0x1ccd95(0x14a)][_0x1ccd95(0x11d)](),this[_0x1ccd95(0x14a)][_0x1ccd95(0x119)](),this[_0x1ccd95(0x14a)]=null);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3488(_0x4b9810,_0x4a8399){const _0x588deb=_0x588d();return _0x3488=function(_0x348863,_0x34bc1c){_0x348863=_0x348863-0x12b;let _0x134e4e=_0x588deb[_0x348863];return _0x134e4e;},_0x3488(_0x4b9810,_0x4a8399);}const _0x153d15=_0x3488;(function(_0x5d37f8,_0x490eb3){const _0x4aa366=_0x3488,_0x1e3ab0=_0x5d37f8();while(!![]){try{const _0x42a411=parseInt(_0x4aa366(0x139))/0x1*(-parseInt(_0x4aa366(0x143))/0x2)+parseInt(_0x4aa366(0x135))/0x3+parseInt(_0x4aa366(0x137))/0x4*(parseInt(_0x4aa366(0x13c))/0x5)+parseInt(_0x4aa366(0x140))/0x6*(parseInt(_0x4aa366(0x138))/0x7)+parseInt(_0x4aa366(0x142))/0x8+-parseInt(_0x4aa366(0x133))/0x9*(parseInt(_0x4aa366(0x13d))/0xa)+parseInt(_0x4aa366(0x131))/0xb;if(_0x42a411===_0x490eb3)break;else _0x1e3ab0['push'](_0x1e3ab0['shift']());}catch(_0x6dbeb6){_0x1e3ab0['push'](_0x1e3ab0['shift']());}}}(_0x588d,0x627ed));import{ListItemView as _0x360fe4}from'ckeditor5/src/ui.js';import{UserView as _0x957fda}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x360fe4{[_0x153d15(0x145)];constructor(_0x43c2ba,_0x592e20,_0x37e1d3){const _0x507ce1=_0x153d15;super(_0x43c2ba);const _0x816574=this[_0x507ce1(0x146)];this[_0x507ce1(0x145)]=new _0x957fda(_0x43c2ba,_0x592e20);const _0x15b534={'tag':'li','attributes':{'class':['ck',_0x507ce1(0x13e)],'tabindex':-0x1,'role':_0x507ce1(0x13b),'aria-label':_0x592e20[_0x507ce1(0x12d)]},'children':[this[_0x507ce1(0x145)],{'tag':_0x507ce1(0x130),'attributes':{'class':['ck',_0x507ce1(0x12e)]},'children':[{'text':_0x592e20[_0x507ce1(0x12d)]}]},{'tag':_0x507ce1(0x130),'attributes':{'class':['ck',_0x507ce1(0x13f),_0x592e20[_0x507ce1(0x12b)][_0x507ce1(0x13a)]()],'aria-hidden':_0x507ce1(0x144)}}]};_0x37e1d3&&(_0x15b534[_0x507ce1(0x147)]=_0x507ce1(0x136),_0x15b534['on']={'click':_0x816574['to'](()=>this[_0x507ce1(0x12f)](_0x507ce1(0x134)))}),this[_0x507ce1(0x132)](_0x15b534);}[_0x153d15(0x12c)](){const _0x4bc5d4=_0x153d15;this[_0x4bc5d4(0x141)][_0x4bc5d4(0x12c)]();}}function _0x588d(){const _0x2e55d7=['bindTemplate','tag','color','focus','name','ck-user__full-name','fire','span','13060564mfKhbG','setTemplate','9cAGFAe','execute','98331tNXUXa','button','124alDggN','300881khHCnH','1eTTFqr','getBackgroundColorClass','presentation','34585GhTsVm','5805210THztrm','ck-presence-list__dropdown-list-item','ck-presence-list__marker','12JWVuUd','element','911192vkLZoT','1300870vfiydH','true','userView'];_0x588d=function(){return _0x2e55d7;};return _0x588d();}
23
+ const _0x74e094=_0x2574;(function(_0x5cf292,_0x322cbd){const _0x4c5fa2=_0x2574,_0x4b8adb=_0x5cf292();while(!![]){try{const _0x55e8cb=-parseInt(_0x4c5fa2(0x1d0))/0x1*(parseInt(_0x4c5fa2(0x1d2))/0x2)+parseInt(_0x4c5fa2(0x1cf))/0x3*(parseInt(_0x4c5fa2(0x1de))/0x4)+-parseInt(_0x4c5fa2(0x1da))/0x5+-parseInt(_0x4c5fa2(0x1c3))/0x6+parseInt(_0x4c5fa2(0x1c8))/0x7*(parseInt(_0x4c5fa2(0x1c4))/0x8)+parseInt(_0x4c5fa2(0x1db))/0x9+-parseInt(_0x4c5fa2(0x1c9))/0xa*(-parseInt(_0x4c5fa2(0x1c6))/0xb);if(_0x55e8cb===_0x322cbd)break;else _0x4b8adb['push'](_0x4b8adb['shift']());}catch(_0x4da78d){_0x4b8adb['push'](_0x4b8adb['shift']());}}}(_0x291e,0x8853b));function _0x2574(_0x4b2f56,_0x9f1a3e){const _0x291e08=_0x291e();return _0x2574=function(_0x257440,_0x3e3022){_0x257440=_0x257440-0x1c2;let _0x151825=_0x291e08[_0x257440];return _0x151825;},_0x2574(_0x4b2f56,_0x9f1a3e);}import{ListItemView as _0x55ae79}from'ckeditor5/src/ui.js';import{UserView as _0x2403ff}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x55ae79{[_0x74e094(0x1cc)];constructor(_0xe9b7e,_0x5e6c1c,_0x10e6d4){const _0x27e841=_0x74e094;super(_0xe9b7e);const _0x2a6414=this[_0x27e841(0x1d1)];this[_0x27e841(0x1cc)]=new _0x2403ff(_0xe9b7e,_0x5e6c1c);const _0x177f79={'tag':'li','attributes':{'class':['ck',_0x27e841(0x1d4)],'tabindex':-0x1,'role':_0x27e841(0x1dd),'aria-label':_0x5e6c1c[_0x27e841(0x1cb)]},'children':[this[_0x27e841(0x1cc)],{'tag':_0x27e841(0x1c7),'attributes':{'class':['ck',_0x27e841(0x1ca)]},'children':[{'text':_0x5e6c1c[_0x27e841(0x1cb)]}]},{'tag':_0x27e841(0x1c7),'attributes':{'class':['ck',_0x27e841(0x1cd),_0x5e6c1c[_0x27e841(0x1ce)][_0x27e841(0x1d7)]()],'aria-hidden':_0x27e841(0x1d8)}}]};_0x10e6d4&&(_0x177f79[_0x27e841(0x1d9)]=_0x27e841(0x1c2),_0x177f79['on']={'click':_0x2a6414['to'](()=>this[_0x27e841(0x1d5)](_0x27e841(0x1dc)))}),this[_0x27e841(0x1c5)](_0x177f79);}[_0x74e094(0x1d6)](){const _0x184acf=_0x74e094;this[_0x184acf(0x1d3)][_0x184acf(0x1d6)]();}}function _0x291e(){const _0x4843bc=['element','ck-presence-list__dropdown-list-item','fire','focus','getBackgroundColorClass','true','tag','210720IiMzDs','2371752lbTtnp','execute','presentation','81460MenCfH','button','3732090weXBWE','1744AIqtQF','setTemplate','11IXowJr','span','14UiOQEs','5076430KIOHuw','ck-user__full-name','name','userView','ck-presence-list__marker','color','159IcoyoA','729FWNdLp','bindTemplate','1724LEaFlu'];_0x291e=function(){return _0x4843bc;};return _0x291e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe3344f=_0x5ba8;(function(_0x45e04a,_0x23f968){const _0x3db8fc=_0x5ba8,_0x52d616=_0x45e04a();while(!![]){try{const _0x4758e2=parseInt(_0x3db8fc(0x1f0))/0x1+parseInt(_0x3db8fc(0x1df))/0x2*(parseInt(_0x3db8fc(0x1d5))/0x3)+parseInt(_0x3db8fc(0x1f2))/0x4+-parseInt(_0x3db8fc(0x1fe))/0x5*(-parseInt(_0x3db8fc(0x1fd))/0x6)+-parseInt(_0x3db8fc(0x1da))/0x7*(-parseInt(_0x3db8fc(0x1ea))/0x8)+parseInt(_0x3db8fc(0x1e3))/0x9*(-parseInt(_0x3db8fc(0x1e4))/0xa)+-parseInt(_0x3db8fc(0x1eb))/0xb*(parseInt(_0x3db8fc(0x1f5))/0xc);if(_0x4758e2===_0x23f968)break;else _0x52d616['push'](_0x52d616['shift']());}catch(_0x434e9f){_0x52d616['push'](_0x52d616['shift']());}}}(_0x30e3,0x65c81));import{ListView as _0x2ebf97,View as _0x10ae8f}from'ckeditor5/src/ui.js';import{global as _0x8e2726}from'ckeditor5/src/utils.js';function _0x5ba8(_0x35c275,_0x5a561d){const _0x30e3f8=_0x30e3();return _0x5ba8=function(_0x5ba8ae,_0x3667a0){_0x5ba8ae=_0x5ba8ae-0x1d3;let _0x1cd7d5=_0x30e3f8[_0x5ba8ae];return _0x1cd7d5;},_0x5ba8(_0x35c275,_0x5a561d);}import{getTranslation as _0xff6cdf}from'../../common-translations.js';export class PresenceDropdownListView extends _0x10ae8f{[_0xe3344f(0x1fc)];constructor(_0xc20da0,_0x31b13e){const _0x28c526=_0xe3344f;super(_0xc20da0);const _0xb8dba1=this[_0x28c526(0x1f9)];this[_0x28c526(0x1fc)]=new PresenceDropdownListWrapperView(_0xc20da0,_0x31b13e),this[_0x28c526(0x200)]({'tag':_0x28c526(0x1fb),'attributes':{'tabindex':-0x1,'role':_0x28c526(0x1d4),'class':['ck',_0x28c526(0x1ff)],'aria-label':_0xff6cdf(_0xc20da0,_0x28c526(0x1ef))},'children':[this[_0x28c526(0x1fc)]],'on':{'mouseleave':_0xb8dba1['to'](_0x5521fb=>{const _0x1ec30f=_0x28c526,_0xfdd19b=_0x5521fb,_0x12bafc=document[_0x1ec30f(0x1ed)](_0x1ec30f(0x1e1)),_0x449c14=document[_0x1ec30f(0x1ed)](_0x1ec30f(0x1f4));_0x12bafc?.[_0x1ec30f(0x1d7)](_0xfdd19b[_0x1ec30f(0x1e0)])||_0x449c14?.[_0x1ec30f(0x1d7)](_0xfdd19b[_0x1ec30f(0x1e0)])||this[_0x1ec30f(0x1ec)](_0x1ec30f(0x1d6));})}});}}export class PresenceDropdownListWrapperView extends _0x2ebf97{constructor(_0x54cb34,_0x14855d){const _0x59fea4=_0xe3344f;super(_0x54cb34);const _0x2cb683=this[_0x59fea4(0x1f9)];this[_0x59fea4(0x1f1)](_0x59fea4(0x1e8),!0x1),this[_0x59fea4(0x200)]({'tag':_0x14855d?_0x59fea4(0x1fb):'ul','attributes':{'class':['ck',_0x59fea4(0x1e9),_0x59fea4(0x1e5),_0x59fea4(0x1f8),_0x2cb683['if'](_0x59fea4(0x1e8),_0x59fea4(0x1f3))],'role':_0x2cb683['to'](_0x59fea4(0x1d9)),'aria-label':_0x2cb683['to'](_0x59fea4(0x1f6)),'aria-labelledby':_0x2cb683['to'](_0x59fea4(0x1ee))},'children':this[_0x59fea4(0x1dc)]}),this[_0x59fea4(0x1d3)](_0x8e2726[_0x59fea4(0x1e2)],_0x59fea4(0x1fa),()=>this[_0x59fea4(0x1d8)]()),this[_0x59fea4(0x1dc)]['on'](_0x59fea4(0x1de),()=>this[_0x59fea4(0x1d8)]());}[_0xe3344f(0x1e6)](){const _0x5cb51b=_0xe3344f;super[_0x5cb51b(0x1e6)](),this[_0x5cb51b(0x1d8)]();}[_0xe3344f(0x1d8)](){const _0x3dc1a7=_0xe3344f,_0x3589fb=this[_0x3dc1a7(0x1f7)];_0x3589fb&&(this[_0x3dc1a7(0x1e8)]=Math[_0x3dc1a7(0x1dd)](_0x3589fb[_0x3dc1a7(0x1db)],_0x3589fb[_0x3dc1a7(0x201)])>0.8*window[_0x3dc1a7(0x1e7)]);}}function _0x30e3(){const _0x3b4b51=['21rTdZBe','scrollHeight','items','max','change','802aFRcdx','relatedTarget','.ck-presence-list__list','window','108567mKYSHZ','20lJHIxI','ck-list','render','innerHeight','_isScrollable','ck-reset','1793936AHOqgT','8371iXnBrt','fire','querySelector','ariaLabelledBy','Connected\x20users\x20list\x20dropdown\x20menu','728391MRlKcG','set','1467920iqtTfe','ck-presence-list__dropdown-list-wrapper_scrollable','.ck-balloon-panel_with-arrow','33504ngaypy','ariaLabel','element','ck-presence-list__dropdown-list-wrapper','bindTemplate','resize','div','listWrapperView','24kqNXSH','613090cnQugL','ck-presence-list__dropdown-list','setTemplate','clientHeight','listenTo','application','2298iFwzYp','presencelist:hide','contains','checkIfScrollable','role'];_0x30e3=function(){return _0x3b4b51;};return _0x30e3();}
23
+ const _0x57bc20=_0x16a8;(function(_0xa5705d,_0x543752){const _0x48c626=_0x16a8,_0x2a1aa5=_0xa5705d();while(!![]){try{const _0x320d10=-parseInt(_0x48c626(0x1ef))/0x1*(-parseInt(_0x48c626(0x1d4))/0x2)+parseInt(_0x48c626(0x1d0))/0x3*(-parseInt(_0x48c626(0x1ea))/0x4)+-parseInt(_0x48c626(0x1e7))/0x5*(parseInt(_0x48c626(0x1dc))/0x6)+-parseInt(_0x48c626(0x1f3))/0x7*(parseInt(_0x48c626(0x1fc))/0x8)+parseInt(_0x48c626(0x1d2))/0x9*(parseInt(_0x48c626(0x1d1))/0xa)+-parseInt(_0x48c626(0x1da))/0xb*(parseInt(_0x48c626(0x1ed))/0xc)+-parseInt(_0x48c626(0x1df))/0xd*(-parseInt(_0x48c626(0x1f0))/0xe);if(_0x320d10===_0x543752)break;else _0x2a1aa5['push'](_0x2a1aa5['shift']());}catch(_0xa641f6){_0x2a1aa5['push'](_0x2a1aa5['shift']());}}}(_0xeb17,0x92cbd));import{ListView as _0x54bc23,View as _0x9e093d}from'ckeditor5/src/ui.js';import{global as _0x225f2c}from'ckeditor5/src/utils.js';import{getTranslation as _0x1273bf}from'../../common-translations.js';function _0x16a8(_0x1769fd,_0x52440f){const _0xeb17e0=_0xeb17();return _0x16a8=function(_0x16a899,_0x4e9248){_0x16a899=_0x16a899-0x1ce;let _0x5be24f=_0xeb17e0[_0x16a899];return _0x5be24f;},_0x16a8(_0x1769fd,_0x52440f);}function _0xeb17(){const _0x3b7317=['items','ck-reset','element','172968yvLwIK','ck-presence-list__dropdown-list','change','window','checkIfScrollable','2973eIiebd','7949730XGXCTH','9FQPeBS','div','6nwuRRM','querySelector','fire','_isScrollable','ck-presence-list__dropdown-list-wrapper','relatedTarget','18689hIxboi','Connected\x20users\x20list\x20dropdown\x20menu','306rAfxlJ','presencelist:hide','listWrapperView','143rfKvTL','.ck-balloon-panel_with-arrow','set','role','ariaLabelledBy','bindTemplate','ariaLabel','clientHeight','9805whTtDn','scrollHeight','contains','3044WuRABc','ck-presence-list__dropdown-list-wrapper_scrollable','innerHeight','3300ywzoRp','render','183575hSadHa','761838AIwtPb','listenTo','.ck-presence-list__list','7IHqytP','setTemplate','application','resize','max','ck-list'];_0xeb17=function(){return _0x3b7317;};return _0xeb17();}export class PresenceDropdownListView extends _0x9e093d{[_0x57bc20(0x1de)];constructor(_0x4da1aa,_0x2e4d92){const _0x1e5189=_0x57bc20;super(_0x4da1aa);const _0x5e0e57=this[_0x1e5189(0x1e4)];this[_0x1e5189(0x1de)]=new PresenceDropdownListWrapperView(_0x4da1aa,_0x2e4d92),this[_0x1e5189(0x1f4)]({'tag':_0x1e5189(0x1d3),'attributes':{'tabindex':-0x1,'role':_0x1e5189(0x1f5),'class':['ck',_0x1e5189(0x1fd)],'aria-label':_0x1273bf(_0x4da1aa,_0x1e5189(0x1db))},'children':[this[_0x1e5189(0x1de)]],'on':{'mouseleave':_0x5e0e57['to'](_0x41dfcb=>{const _0x305134=_0x1e5189,_0x1e52fe=_0x41dfcb,_0x47752c=document[_0x305134(0x1d5)](_0x305134(0x1f2)),_0x2a9a1d=document[_0x305134(0x1d5)](_0x305134(0x1e0));_0x47752c?.[_0x305134(0x1e9)](_0x1e52fe[_0x305134(0x1d9)])||_0x2a9a1d?.[_0x305134(0x1e9)](_0x1e52fe[_0x305134(0x1d9)])||this[_0x305134(0x1d6)](_0x305134(0x1dd));})}});}}export class PresenceDropdownListWrapperView extends _0x54bc23{constructor(_0x3905dc,_0x34e40c){const _0x515d3d=_0x57bc20;super(_0x3905dc);const _0x52db07=this[_0x515d3d(0x1e4)];this[_0x515d3d(0x1e1)](_0x515d3d(0x1d7),!0x1),this[_0x515d3d(0x1f4)]({'tag':_0x34e40c?_0x515d3d(0x1d3):'ul','attributes':{'class':['ck',_0x515d3d(0x1fa),_0x515d3d(0x1f8),_0x515d3d(0x1d8),_0x52db07['if'](_0x515d3d(0x1d7),_0x515d3d(0x1eb))],'role':_0x52db07['to'](_0x515d3d(0x1e2)),'aria-label':_0x52db07['to'](_0x515d3d(0x1e5)),'aria-labelledby':_0x52db07['to'](_0x515d3d(0x1e3))},'children':this[_0x515d3d(0x1f9)]}),this[_0x515d3d(0x1f1)](_0x225f2c[_0x515d3d(0x1ce)],_0x515d3d(0x1f6),()=>this[_0x515d3d(0x1cf)]()),this[_0x515d3d(0x1f9)]['on'](_0x515d3d(0x1fe),()=>this[_0x515d3d(0x1cf)]());}[_0x57bc20(0x1ee)](){const _0x2102c2=_0x57bc20;super[_0x2102c2(0x1ee)](),this[_0x2102c2(0x1cf)]();}[_0x57bc20(0x1cf)](){const _0x5af1eb=_0x57bc20,_0x3081b6=this[_0x5af1eb(0x1fb)];_0x3081b6&&(this[_0x5af1eb(0x1d7)]=Math[_0x5af1eb(0x1f7)](_0x3081b6[_0x5af1eb(0x1e8)],_0x3081b6[_0x5af1eb(0x1e6)])>0.8*window[_0x5af1eb(0x1ec)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1b07(){const _0x2917f4=['44tviCBN','execute','button','getBackgroundColorClass','ck-presence-list__list-item','171KQGoNd','13460FURlkF','markerView','listitem','ck-presence-list__marker','isFocusable','set','template','bindTemplate','7JdGQnG','9896046yvuNZA','2EnpkiR','name','span','1340448MoQDXO','3457386uyQvse','div','true','userView','fire','1035144vdYxiY','tag','tooltipPosition','5DDXooo','color','text','ck-presence-list__list-item__tooltip','setTemplate','hasTooltip','5743072rtohOf','893813OFiNPI'];_0x1b07=function(){return _0x2917f4;};return _0x1b07();}const _0x6ca003=_0x4398;(function(_0x1ea59d,_0x373f06){const _0x1efcba=_0x4398,_0x36f39e=_0x1ea59d();while(!![]){try{const _0x4bf223=-parseInt(_0x1efcba(0xaa))/0x1*(-parseInt(_0x1efcba(0x97))/0x2)+parseInt(_0x1efcba(0x9b))/0x3+parseInt(_0x1efcba(0xa0))/0x4+-parseInt(_0x1efcba(0xa3))/0x5*(parseInt(_0x1efcba(0x96))/0x6)+parseInt(_0x1efcba(0x95))/0x7*(parseInt(_0x1efcba(0xa9))/0x8)+-parseInt(_0x1efcba(0x8c))/0x9*(-parseInt(_0x1efcba(0x8d))/0xa)+-parseInt(_0x1efcba(0x87))/0xb*(parseInt(_0x1efcba(0x9a))/0xc);if(_0x4bf223===_0x373f06)break;else _0x36f39e['push'](_0x36f39e['shift']());}catch(_0x36d9a2){_0x36f39e['push'](_0x36f39e['shift']());}}}(_0x1b07,0xe882a));import{LabelView as _0x3d8240,View as _0x1c39d4}from'ckeditor5/src/ui.js';import{UserView as _0x53cc7c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4398(_0x3f94fe,_0x13b433){const _0x1b072f=_0x1b07();return _0x4398=function(_0x439855,_0x1b469a){_0x439855=_0x439855-0x87;let _0x77cd08=_0x1b072f[_0x439855];return _0x77cd08;},_0x4398(_0x3f94fe,_0x13b433);}export class PresenceInlineListItemView extends _0x1c39d4{[_0x6ca003(0x9e)];[_0x6ca003(0x8e)];constructor(_0x32402d,_0x3ebd92,_0x5c7d8a){const _0x36465e=_0x6ca003;super(_0x32402d);const _0x359bd4=this[_0x36465e(0x94)];this[_0x36465e(0x92)](_0x36465e(0x91),!0x1),this[_0x36465e(0x92)](_0x36465e(0xa8),!0x0),this[_0x36465e(0x92)](_0x36465e(0xa2),''),this[_0x36465e(0x9e)]=new _0x53cc7c(_0x32402d,_0x3ebd92),this[_0x36465e(0x8e)]=new at(_0x32402d,_0x3ebd92);const _0x5356f3=new _0x3d8240(_0x32402d);_0x5356f3[_0x36465e(0x93)][_0x36465e(0xa1)]=_0x36465e(0x99),_0x5356f3[_0x36465e(0xa5)]=_0x3ebd92[_0x36465e(0x98)];const _0x34dab7={'tag':_0x36465e(0x9c),'attributes':{'class':['ck',_0x36465e(0x8b)],'role':_0x36465e(0x8f),'tabindex':_0x359bd4['to'](_0x36465e(0x91),_0x394e14=>!!_0x394e14&&0x0),'aria-labelledby':_0x5356f3['id'],'data-cke-tooltip-text':this[_0x36465e(0x9e)][_0x36465e(0x98)],'data-cke-tooltip-position':_0x359bd4['to'](_0x36465e(0xa2)),'data-cke-tooltip-disabled':_0x359bd4['to'](_0x36465e(0xa8),_0x48de6b=>!_0x48de6b),'data-cke-tooltip-class':_0x36465e(0xa6)},'children':[this[_0x36465e(0x9e)],this[_0x36465e(0x8e)],_0x5356f3]};_0x5c7d8a&&(_0x34dab7[_0x36465e(0xa1)]=_0x36465e(0x89),_0x34dab7['on']={'click':_0x359bd4['to'](()=>this[_0x36465e(0x9f)](_0x36465e(0x88)))}),this[_0x36465e(0xa7)](_0x34dab7);}}class at extends _0x1c39d4{constructor(_0x24f840,_0x1231dc){const _0x11022b=_0x6ca003;super(_0x24f840),this[_0x11022b(0xa7)]({'tag':_0x11022b(0x99),'attributes':{'class':['ck',_0x11022b(0x90),_0x1231dc[_0x11022b(0xa4)][_0x11022b(0x8a)]()],'aria-hidden':_0x11022b(0x9d)}});}}
23
+ function _0x49ef(){const _0x5ce830=['setTemplate','232KKtwdm','name','template','listitem','true','tooltipPosition','12KvwudG','8608oSmmfq','291210vKegVv','6337232TnxnCj','1035ifHzPd','2252rhtVwU','isFocusable','span','12066560XXztaa','button','getBackgroundColorClass','ck-presence-list__list-item__tooltip','ck-presence-list__list-item','execute','color','9mqUBWL','5553121WQeNPQ','bindTemplate','set','div','tag','ck-presence-list__marker','userView','hasTooltip','text','815665Rslupt','markerView','fire'];_0x49ef=function(){return _0x5ce830;};return _0x49ef();}const _0x8fa43e=_0x57dc;function _0x57dc(_0x19fd3e,_0x456468){const _0x49ef74=_0x49ef();return _0x57dc=function(_0x57dc39,_0x17caa1){_0x57dc39=_0x57dc39-0xd8;let _0x1cb9d9=_0x49ef74[_0x57dc39];return _0x1cb9d9;},_0x57dc(_0x19fd3e,_0x456468);}(function(_0x2bdc09,_0x1a623d){const _0x513832=_0x57dc,_0x185c3f=_0x2bdc09();while(!![]){try{const _0x235aa8=-parseInt(_0x513832(0xe6))/0x1*(parseInt(_0x513832(0xf1))/0x2)+parseInt(_0x513832(0xf0))/0x3*(-parseInt(_0x513832(0xed))/0x4)+parseInt(_0x513832(0xe2))/0x5*(parseInt(_0x513832(0xec))/0x6)+-parseInt(_0x513832(0xd9))/0x7+parseInt(_0x513832(0xef))/0x8+-parseInt(_0x513832(0xd8))/0x9*(-parseInt(_0x513832(0xee))/0xa)+parseInt(_0x513832(0xf4))/0xb;if(_0x235aa8===_0x1a623d)break;else _0x185c3f['push'](_0x185c3f['shift']());}catch(_0x2b55ac){_0x185c3f['push'](_0x185c3f['shift']());}}}(_0x49ef,0x6d426));import{LabelView as _0x379333,View as _0x17edb5}from'ckeditor5/src/ui.js';import{UserView as _0x28780d}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x17edb5{[_0x8fa43e(0xdf)];[_0x8fa43e(0xe3)];constructor(_0x5ecc70,_0x5a283b,_0x554d3c){const _0x208045=_0x8fa43e;super(_0x5ecc70);const _0x461465=this[_0x208045(0xda)];this[_0x208045(0xdb)](_0x208045(0xf2),!0x1),this[_0x208045(0xdb)](_0x208045(0xe0),!0x0),this[_0x208045(0xdb)](_0x208045(0xeb),''),this[_0x208045(0xdf)]=new _0x28780d(_0x5ecc70,_0x5a283b),this[_0x208045(0xe3)]=new nt(_0x5ecc70,_0x5a283b);const _0x1b87e6=new _0x379333(_0x5ecc70);_0x1b87e6[_0x208045(0xe8)][_0x208045(0xdd)]=_0x208045(0xf3),_0x1b87e6[_0x208045(0xe1)]=_0x5a283b[_0x208045(0xe7)];const _0x5680ce={'tag':_0x208045(0xdc),'attributes':{'class':['ck',_0x208045(0xf8)],'role':_0x208045(0xe9),'tabindex':_0x461465['to'](_0x208045(0xf2),_0x346a93=>!!_0x346a93&&0x0),'aria-labelledby':_0x1b87e6['id'],'data-cke-tooltip-text':this[_0x208045(0xdf)][_0x208045(0xe7)],'data-cke-tooltip-position':_0x461465['to'](_0x208045(0xeb)),'data-cke-tooltip-disabled':_0x461465['to'](_0x208045(0xe0),_0x12f33a=>!_0x12f33a),'data-cke-tooltip-class':_0x208045(0xf7)},'children':[this[_0x208045(0xdf)],this[_0x208045(0xe3)],_0x1b87e6]};_0x554d3c&&(_0x5680ce[_0x208045(0xdd)]=_0x208045(0xf5),_0x5680ce['on']={'click':_0x461465['to'](()=>this[_0x208045(0xe4)](_0x208045(0xf9)))}),this[_0x208045(0xe5)](_0x5680ce);}}class nt extends _0x17edb5{constructor(_0x1fee0d,_0x24e944){const _0x378837=_0x8fa43e;super(_0x1fee0d),this[_0x378837(0xe5)]({'tag':_0x378837(0xf3),'attributes':{'class':['ck',_0x378837(0xde),_0x24e944[_0x378837(0xfa)][_0x378837(0xf6)]()],'aria-hidden':_0x378837(0xea)}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50c50c=_0x2663;(function(_0x447eab,_0x2121b4){const _0xe3d8fd=_0x2663,_0x439a46=_0x447eab();while(!![]){try{const _0x575d95=parseInt(_0xe3d8fd(0x76))/0x1*(parseInt(_0xe3d8fd(0x78))/0x2)+-parseInt(_0xe3d8fd(0x89))/0x3+-parseInt(_0xe3d8fd(0x6d))/0x4*(-parseInt(_0xe3d8fd(0x6b))/0x5)+parseInt(_0xe3d8fd(0x73))/0x6*(-parseInt(_0xe3d8fd(0x7c))/0x7)+parseInt(_0xe3d8fd(0x7b))/0x8+parseInt(_0xe3d8fd(0x7a))/0x9+-parseInt(_0xe3d8fd(0x81))/0xa;if(_0x575d95===_0x2121b4)break;else _0x439a46['push'](_0x439a46['shift']());}catch(_0x2602e1){_0x439a46['push'](_0x439a46['shift']());}}}(_0x50ac,0x22db1));import{View as _0x30181d}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0xb5135}from'ckeditor5/src/utils.js';import{getTranslation as _0xcc532d}from'../../common-translations.js';function _0x2663(_0x512d59,_0x12aa19){const _0x50ac1f=_0x50ac();return _0x2663=function(_0x26632d,_0x4611ea){_0x26632d=_0x26632d-0x69;let _0x4a9fab=_0x50ac1f[_0x26632d];return _0x4a9fab;},_0x2663(_0x512d59,_0x12aa19);}function _0x50ac(){const _0x403bef=['setAttribute','createCollection','presencelist:hide','set','644965OhRzFT','removeAttribute','4wODNXi','listenTo','bindTemplate','presencelist:show','change:hasPopup','relatedTarget','24blZYTw','hasPopup','isExpanded','229587QDZEUd','focus','2pkYFIN','keystrokes','138825uTQjFi','1562304wYUySA','274519OnyKRg','fire','setTemplate','element','querySelector','1867950oKAADd','div','Connected\x20users\x20list','render','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','.ck-presence-list__dropdown-list','.ck-balloon-panel_with-arrow','ck-presence-list__list','248583yDICsC','list','aria-expanded','contains','items'];_0x50ac=function(){return _0x403bef;};return _0x50ac();}export class PresenceInlineListView extends _0x30181d{[_0x50c50c(0x8d)];[_0x50c50c(0x79)];constructor(_0xd19399){const _0x18803e=_0x50c50c;super(_0xd19399);const _0x58d2a8=this[_0x18803e(0x6f)];this[_0x18803e(0x8d)]=this[_0x18803e(0x8f)](),this[_0x18803e(0x79)]=new _0xb5135(),this[_0x18803e(0x6a)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x18803e(0x7e)]({'tag':_0x18803e(0x82),'attributes':{'aria-haspopup':_0x58d2a8['if'](_0x18803e(0x74)),'aria-expanded':_0x58d2a8['to'](_0x18803e(0x75),_0x498ea7=>this[_0x18803e(0x74)]&&String(_0x498ea7)),'aria-label':_0x58d2a8['to'](_0x18803e(0x74),_0x3dd907=>_0xcc532d(_0xd19399,_0x3dd907?_0x18803e(0x85):_0x18803e(0x83))),'role':_0x18803e(0x8a),'tabindex':_0x58d2a8['to'](_0x18803e(0x74),_0x35841c=>!!_0x35841c&&0x0),'class':['ck',_0x18803e(0x88)]},'children':this[_0x18803e(0x8d)],'on':{'mouseenter':_0x58d2a8['to'](()=>this[_0x18803e(0x7d)](_0x18803e(0x70))),'mouseleave':_0x58d2a8['to'](_0xe6d068=>{const _0x5c4a47=_0x18803e,_0x3725f3=_0xe6d068,_0x27357b=document[_0x5c4a47(0x80)](_0x5c4a47(0x86)),_0x2655a3=document[_0x5c4a47(0x80)](_0x5c4a47(0x87));_0x27357b?.[_0x5c4a47(0x8c)](_0x3725f3[_0x5c4a47(0x72)])||_0x2655a3?.[_0x5c4a47(0x8c)](_0x3725f3[_0x5c4a47(0x72)])||this[_0x5c4a47(0x7d)](_0x5c4a47(0x69));})}}),this['on'](_0x18803e(0x71),(_0x486b20,_0x4e9817,_0x3f4cf6)=>{const _0x1044c9=_0x18803e;this[_0x1044c9(0x7f)]&&(_0x3f4cf6?this[_0x1044c9(0x7f)][_0x1044c9(0x8e)](_0x1044c9(0x8b),String(this[_0x1044c9(0x75)])):this[_0x1044c9(0x7f)][_0x1044c9(0x6c)](_0x1044c9(0x8b)));});}[_0x50c50c(0x77)](){const _0x5151f3=_0x50c50c;this[_0x5151f3(0x7f)][_0x5151f3(0x77)]();}[_0x50c50c(0x84)](){const _0x4d896b=_0x50c50c;super[_0x4d896b(0x84)](),this[_0x4d896b(0x79)][_0x4d896b(0x6e)](this[_0x4d896b(0x7f)]);}}
23
+ const _0x106fc3=_0x2dc2;function _0xbd4d(){const _0x442881=['keystrokes','items','1463110rdMxqR','hasPopup','div','.ck-balloon-panel_with-arrow','144YsONLY','focus','10helXSl','2762784QmVNVk','Connected\x20users\x20list','fire','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','change:hasPopup','aria-expanded','presencelist:hide','isExpanded','relatedTarget','954508DqpLGE','766088IVezqU','bindTemplate','.ck-presence-list__dropdown-list','setTemplate','3549UdhUsv','createCollection','25832thJotW','presencelist:show','setAttribute','querySelector','element','set','list','2901070mSUMMN','2492397WmveOL','contains','ck-presence-list__list','listenTo','render','removeAttribute'];_0xbd4d=function(){return _0x442881;};return _0xbd4d();}(function(_0x29dc4d,_0x2a9250){const _0xe43081=_0x2dc2,_0x428937=_0x29dc4d();while(!![]){try{const _0x2daaf5=-parseInt(_0xe43081(0x1a6))/0x1+-parseInt(_0xe43081(0x18c))/0x2+-parseInt(_0xe43081(0x18d))/0x3+parseInt(_0xe43081(0x1a5))/0x4*(-parseInt(_0xe43081(0x19b))/0x5)+parseInt(_0xe43081(0x19c))/0x6+parseInt(_0xe43081(0x1aa))/0x7*(parseInt(_0xe43081(0x1ac))/0x8)+-parseInt(_0xe43081(0x199))/0x9*(-parseInt(_0xe43081(0x195))/0xa);if(_0x2daaf5===_0x2a9250)break;else _0x428937['push'](_0x428937['shift']());}catch(_0x2cb599){_0x428937['push'](_0x428937['shift']());}}}(_0xbd4d,0xdf1cb));import{View as _0x4cb79f}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x410d71}from'ckeditor5/src/utils.js';function _0x2dc2(_0x443334,_0x485602){const _0xbd4d6d=_0xbd4d();return _0x2dc2=function(_0x2dc250,_0x30b80e){_0x2dc250=_0x2dc250-0x188;let _0x4301bb=_0xbd4d6d[_0x2dc250];return _0x4301bb;},_0x2dc2(_0x443334,_0x485602);}import{getTranslation as _0x3cd7d9}from'../../common-translations.js';export class PresenceInlineListView extends _0x4cb79f{[_0x106fc3(0x194)];[_0x106fc3(0x193)];constructor(_0x4b40c4){const _0x42ff34=_0x106fc3;super(_0x4b40c4);const _0x27bde6=this[_0x42ff34(0x1a7)];this[_0x42ff34(0x194)]=this[_0x42ff34(0x1ab)](),this[_0x42ff34(0x193)]=new _0x410d71(),this[_0x42ff34(0x18a)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x42ff34(0x1a9)]({'tag':_0x42ff34(0x197),'attributes':{'aria-haspopup':_0x27bde6['if'](_0x42ff34(0x196)),'aria-expanded':_0x27bde6['to'](_0x42ff34(0x1a3),_0x3883c6=>this[_0x42ff34(0x196)]&&String(_0x3883c6)),'aria-label':_0x27bde6['to'](_0x42ff34(0x196),_0x541f9c=>_0x3cd7d9(_0x4b40c4,_0x541f9c?_0x42ff34(0x19f):_0x42ff34(0x19d))),'role':_0x42ff34(0x18b),'tabindex':_0x27bde6['to'](_0x42ff34(0x196),_0x132061=>!!_0x132061&&0x0),'class':['ck',_0x42ff34(0x18f)]},'children':this[_0x42ff34(0x194)],'on':{'mouseenter':_0x27bde6['to'](()=>this[_0x42ff34(0x19e)](_0x42ff34(0x1ad))),'mouseleave':_0x27bde6['to'](_0x40a15d=>{const _0x5b1870=_0x42ff34,_0x2c210a=_0x40a15d,_0x309bbf=document[_0x5b1870(0x188)](_0x5b1870(0x1a8)),_0x32454c=document[_0x5b1870(0x188)](_0x5b1870(0x198));_0x309bbf?.[_0x5b1870(0x18e)](_0x2c210a[_0x5b1870(0x1a4)])||_0x32454c?.[_0x5b1870(0x18e)](_0x2c210a[_0x5b1870(0x1a4)])||this[_0x5b1870(0x19e)](_0x5b1870(0x1a2));})}}),this['on'](_0x42ff34(0x1a0),(_0x57801,_0x2cabc1,_0xde1e48)=>{const _0x68b548=_0x42ff34;this[_0x68b548(0x189)]&&(_0xde1e48?this[_0x68b548(0x189)][_0x68b548(0x1ae)](_0x68b548(0x1a1),String(this[_0x68b548(0x1a3)])):this[_0x68b548(0x189)][_0x68b548(0x192)](_0x68b548(0x1a1)));});}[_0x106fc3(0x19a)](){const _0x5b9e84=_0x106fc3;this[_0x5b9e84(0x189)][_0x5b9e84(0x19a)]();}[_0x106fc3(0x191)](){const _0x24ecae=_0x106fc3;super[_0x24ecae(0x191)](),this[_0x24ecae(0x193)][_0x24ecae(0x190)](this[_0x24ecae(0x189)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b8238=_0x29bc;(function(_0x5497d5,_0x141253){const _0x1f648d=_0x29bc,_0x1d8642=_0x5497d5();while(!![]){try{const _0x5dd274=-parseInt(_0x1f648d(0x1c9))/0x1*(parseInt(_0x1f648d(0x1ce))/0x2)+parseInt(_0x1f648d(0x1d5))/0x3*(-parseInt(_0x1f648d(0x1da))/0x4)+parseInt(_0x1f648d(0x1d1))/0x5*(parseInt(_0x1f648d(0x1d7))/0x6)+-parseInt(_0x1f648d(0x1de))/0x7*(-parseInt(_0x1f648d(0x1d3))/0x8)+parseInt(_0x1f648d(0x1dd))/0x9*(parseInt(_0x1f648d(0x1c8))/0xa)+-parseInt(_0x1f648d(0x1e5))/0xb*(parseInt(_0x1f648d(0x1d9))/0xc)+parseInt(_0x1f648d(0x1cd))/0xd*(parseInt(_0x1f648d(0x1e4))/0xe);if(_0x5dd274===_0x141253)break;else _0x1d8642['push'](_0x1d8642['shift']());}catch(_0x338eef){_0x1d8642['push'](_0x1d8642['shift']());}}}(_0x1515,0xce38c));import{View as _0x32f9c5}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0xc347e6}from'./presencecounterview.js';function _0x29bc(_0x384cda,_0x3a93d4){const _0x15153d=_0x1515();return _0x29bc=function(_0x29bcca,_0x52dd10){_0x29bcca=_0x29bcca-0x1c6;let _0xdab1a3=_0x15153d[_0x29bcca];return _0xdab1a3;},_0x29bc(_0x384cda,_0x3a93d4);}function _0x1515(){const _0x18584f=['8821992HeDCTY','192FpqqTk','bindTemplate','items','8217nHXAjN','210ZSAUIN','hasPopup','bind','tooltipPosition','ck-presence-list','first','7322DBpxxg','22TpHttd','ck-rounded-corners','listenTo','setTemplate','14970wKrKOB','2OAuLsP','inlineListView','ck-presence-list--collapsed','counterView','30355YTqnHN','905750sVNYPx','locale','isCollapsed','13010RaAUin','div','293168PXmiEP','set','67866gJaHiT','ck-reset','1428Jginkw','change'];_0x1515=function(){return _0x18584f;};return _0x1515();}import{PresenceInlineListView as _0xb3a0cc}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x32f9c5{[_0x2b8238(0x1cc)];[_0x2b8238(0x1ca)];constructor(_0x3c8f05,_0x4be9bb=0x6){const _0x36f941=_0x2b8238;super(_0x3c8f05);const _0x58d99b=this[_0x36f941(0x1db)];this[_0x36f941(0x1d4)](_0x36f941(0x1d0),!0x0),this[_0x36f941(0x1cc)]=new _0xc347e6(this[_0x36f941(0x1cf)],_0x4be9bb),this[_0x36f941(0x1ca)]=new _0xb3a0cc(_0x3c8f05),this[_0x36f941(0x1ca)][_0x36f941(0x1e0)](_0x36f941(0x1df))['to'](this,_0x36f941(0x1d0)),this[_0x36f941(0x1c6)](this[_0x36f941(0x1ca)][_0x36f941(0x1dc)],_0x36f941(0x1d8),()=>{const _0x192aec=_0x36f941;for(const _0x2a4ca3 of this[_0x192aec(0x1ca)][_0x192aec(0x1dc)])_0x2a4ca3[_0x192aec(0x1e1)]='s';this[_0x192aec(0x1ca)][_0x192aec(0x1dc)][_0x192aec(0x1e3)]&&(this[_0x192aec(0x1ca)][_0x192aec(0x1dc)][_0x192aec(0x1e3)][_0x192aec(0x1e1)]='se');}),this[_0x36f941(0x1c7)]({'tag':_0x36f941(0x1d2),'attributes':{'class':['ck',_0x36f941(0x1e2),_0x36f941(0x1d6),_0x36f941(0x1e6),_0x58d99b['if'](_0x36f941(0x1d0),_0x36f941(0x1cb))]},'children':[this[_0x36f941(0x1ca)]]});}}
23
+ const _0x33bf2f=_0x4909;(function(_0x1a4af3,_0x494d38){const _0xede353=_0x4909,_0x23eda7=_0x1a4af3();while(!![]){try{const _0x1ce7ae=parseInt(_0xede353(0x189))/0x1*(parseInt(_0xede353(0x178))/0x2)+-parseInt(_0xede353(0x17c))/0x3*(parseInt(_0xede353(0x184))/0x4)+-parseInt(_0xede353(0x187))/0x5*(-parseInt(_0xede353(0x176))/0x6)+-parseInt(_0xede353(0x18a))/0x7+-parseInt(_0xede353(0x18c))/0x8+parseInt(_0xede353(0x183))/0x9+parseInt(_0xede353(0x177))/0xa*(parseInt(_0xede353(0x190))/0xb);if(_0x1ce7ae===_0x494d38)break;else _0x23eda7['push'](_0x23eda7['shift']());}catch(_0x584d02){_0x23eda7['push'](_0x23eda7['shift']());}}}(_0x4ca9,0xb20f9));import{View as _0x5cb570}from'ckeditor5/src/ui.js';function _0x4909(_0x129e86,_0x34526a){const _0x4ca962=_0x4ca9();return _0x4909=function(_0x490962,_0x2933fd){_0x490962=_0x490962-0x173;let _0x3d2d96=_0x4ca962[_0x490962];return _0x3d2d96;},_0x4909(_0x129e86,_0x34526a);}import{PresenceCounterView as _0x591481}from'./presencecounterview.js';import{PresenceInlineListView as _0x5adf22}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x4ca9(){const _0x2b1595=['hasPopup','7980968cSyDVS','isCollapsed','ck-presence-list','div','209VjNQTW','change','listenTo','locale','12tbjuvj','1058410FrcldY','1198xwSXuq','set','bindTemplate','ck-presence-list--collapsed','3HgAOaS','tooltipPosition','items','counterView','setTemplate','inlineListView','bind','8024283woaUoq','4574748crdmBf','first','ck-reset','2068420moIBCJ','ck-rounded-corners','311GLaSlj','7319046pEpChS'];_0x4ca9=function(){return _0x2b1595;};return _0x4ca9();}export class PresenceListView extends _0x5cb570{[_0x33bf2f(0x17f)];[_0x33bf2f(0x181)];constructor(_0x34d05d,_0x16222f=0x6){const _0x3d4da6=_0x33bf2f;super(_0x34d05d);const _0x444156=this[_0x3d4da6(0x17a)];this[_0x3d4da6(0x179)](_0x3d4da6(0x18d),!0x0),this[_0x3d4da6(0x17f)]=new _0x591481(this[_0x3d4da6(0x175)],_0x16222f),this[_0x3d4da6(0x181)]=new _0x5adf22(_0x34d05d),this[_0x3d4da6(0x181)][_0x3d4da6(0x182)](_0x3d4da6(0x18b))['to'](this,_0x3d4da6(0x18d)),this[_0x3d4da6(0x174)](this[_0x3d4da6(0x181)][_0x3d4da6(0x17e)],_0x3d4da6(0x173),()=>{const _0x228487=_0x3d4da6;for(const _0xd88815 of this[_0x228487(0x181)][_0x228487(0x17e)])_0xd88815[_0x228487(0x17d)]='s';this[_0x228487(0x181)][_0x228487(0x17e)][_0x228487(0x185)]&&(this[_0x228487(0x181)][_0x228487(0x17e)][_0x228487(0x185)][_0x228487(0x17d)]='se');}),this[_0x3d4da6(0x180)]({'tag':_0x3d4da6(0x18f),'attributes':{'class':['ck',_0x3d4da6(0x18e),_0x3d4da6(0x186),_0x3d4da6(0x188),_0x444156['if'](_0x3d4da6(0x18d),_0x3d4da6(0x17b))]},'children':[this[_0x3d4da6(0x181)]]});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x465a59=_0x5535;(function(_0x57a0aa,_0x3fa301){const _0x1a8c8b=_0x5535,_0x1d4669=_0x57a0aa();while(!![]){try{const _0x5753b5=-parseInt(_0x1a8c8b(0xb2))/0x1+parseInt(_0x1a8c8b(0x8a))/0x2+-parseInt(_0x1a8c8b(0xce))/0x3+-parseInt(_0x1a8c8b(0x7f))/0x4*(-parseInt(_0x1a8c8b(0x8e))/0x5)+parseInt(_0x1a8c8b(0xc1))/0x6*(parseInt(_0x1a8c8b(0x91))/0x7)+parseInt(_0x1a8c8b(0xcd))/0x8*(parseInt(_0x1a8c8b(0xc7))/0x9)+parseInt(_0x1a8c8b(0xa6))/0xa*(-parseInt(_0x1a8c8b(0x98))/0xb);if(_0x5753b5===_0x3fa301)break;else _0x1d4669['push'](_0x1d4669['shift']());}catch(_0x47d081){_0x1d4669['push'](_0x1d4669['shift']());}}}(_0xe753,0x4c7cc));import{Context as _0x1e4948,ContextPlugin as _0x3974f8}from'ckeditor5/src/core.js';function _0x5535(_0xedcbec,_0x3eeec9){const _0xe753fa=_0xe753();return _0x5535=function(_0x5535d2,_0x3b20c8){_0x5535d2=_0x5535d2-0x6d;let _0x481cef=_0xe753fa[_0x5535d2];return _0x481cef;},_0x5535(_0xedcbec,_0x3eeec9);}import{CKEditorError as _0x2a734d}from'ckeditor5/src/utils.js';import{Users as _0x3709e9}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x2e4980,User as _0x47ed5c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x56feef}from'../realtimecollaborativeediting/websocketgateway.js';function _0xe753(){const _0x29186c=['map','disconnect','getCommentThreads','commentThreadUpdated','reopen','adapter','5190530yfRPgU','resolveCommentThread','sessionAdd:','updateCommentThread','CloudServicesCommentsAdapter','cloudservicescommentsadapter-service-not-exist','connect','commentThreadResolved','catch','addComment','code','cloudservicescommentsadapter-disconnect-not-exist','590817aIvNiQ','unregister','authorId','addUser','add','content','listenTo','pluginName','createdAt','startsWith','comments','resolvedBy','commentAdded','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','setPermissions','564CkasCT','_setUpService','_services','deletedAt','commentThreadId','resolve','9ogcDvK','getConnectedSessions','updateComment','commentId','commentThreadRemoved','message','3620600vfhmHG','310734xbEtDD','cloud-services-internal-error:\x20Not\x20connected.','CommentsRepository','from','context','_connectService','removeComment','isOfficialPlugin','has','commentRemoved','update','userId','isPremiumPlugin','init','addCommentThread','removeCommentThread','_fetchMissingUsersForThreads','reconnect','keys','getMany','_terminateService','commentThreadAdded','cloudservicescommentsadapter-connect-already-connected','delete','16zcxakA','Permissions','assign','cloud-services-internal-error:\x20Request\x20timeout.','plugins','off','CommentsService','collaboration.channelId','addToReconnectionStack','attributes','404','920362UumOpb','_getService','config','destroy','95145UqbKTC','permissions','size','40054Xyrhyb','mySessionId','commentUpdated','register','getCommentThread','remove','getUser','11MZOzth','set','getComment','resolvedAt','commentThreadReopened','reopenCommentThread','get','requires'];_0xe753=function(){return _0x29186c;};return _0xe753();}import{Sessions as _0x4e9630}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x3974f8{static [_0x465a59(0x85)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x2e4980)());[_0x465a59(0xc3)];static get[_0x465a59(0x9f)](){const _0x47caa0=_0x465a59;return[_0x56feef,_0x47caa0(0xd0),_0x4e9630,_0x3709e9];}static get[_0x465a59(0xb9)](){const _0x2fd92b=_0x465a59;return _0x2fd92b(0xaa);}static get[_0x465a59(0x6e)](){return!0x0;}static get[_0x465a59(0x73)](){return!0x0;}constructor(_0x1da8ff){const _0x3c06fc=_0x465a59;super(_0x1da8ff),this[_0x3c06fc(0xc3)]=new Map();}async[_0x465a59(0x74)](){const _0x1fa42f=_0x465a59,_0x41dd37=this[_0x1fa42f(0xd2)],_0x2cb0bc=_0x41dd37[_0x1fa42f(0x83)][_0x1fa42f(0x9e)](_0x1fa42f(0xd0));if(_0x41dd37[_0x1fa42f(0x83)][_0x1fa42f(0x9e)](_0x56feef)[_0x1fa42f(0x87)](this),_0x2cb0bc[_0x1fa42f(0xa5)]={'addCommentThread':async({channelId:_0x2097e4,threadId:_0x26f70b,comments:_0x262342,resolvedAt:_0x4353dc,resolvedBy:_0x240469,context:_0x5ee0c2,attributes:_0x531ad1})=>{const _0x27f6ce=_0x1fa42f,_0x278fea=await this[_0x27f6ce(0x8b)](_0x2097e4)[_0x27f6ce(0x75)]({'commentThreadId':_0x26f70b,'comments':_0x262342[_0x27f6ce(0xa0)](_0xb4b569=>function(_0xc104b7,_0x1b068d,_0x26f614){const _0x423b40=_0x27f6ce;return{'commentThreadId':_0x26f614,'commentId':_0xc104b7[_0x423b40(0xca)],'userId':_0xc104b7[_0x423b40(0xb4)],'content':_0xc104b7[_0x423b40(0xb7)],'documentId':_0x1b068d,'createdAt':_0xc104b7[_0x423b40(0xba)],'attributes':_0xc104b7[_0x423b40(0x88)]||{}};}(_0xb4b569,_0x2097e4,_0x26f70b)),'resolvedAt':_0x4353dc,'resolvedBy':_0x240469,'context':_0x5ee0c2,'attributes':_0x531ad1})[_0x27f6ce(0xae)](A);return{'threadId':_0x278fea[_0x27f6ce(0xc5)],'comments':_0x278fea[_0x27f6ce(0xbc)]};},'getCommentThread':async({channelId:_0x4baeaf,threadId:_0x439c8e})=>{const _0xe3933a=_0x1fa42f,_0x4223a6=await this[_0xe3933a(0x8b)](_0x4baeaf)[_0xe3933a(0x95)](_0x439c8e)[_0xe3933a(0xae)](f)[_0xe3933a(0xae)](A);return _0x4223a6?_0x4223a6[_0xe3933a(0xc4)]?null:(await this[_0xe3933a(0x77)]([_0x4223a6]),{'threadId':_0x4223a6[_0xe3933a(0xc5)],'comments':_0x4223a6[_0xe3933a(0xbc)][_0xe3933a(0xa0)](p),'context':_0x4223a6[_0xe3933a(0xd2)],'resolvedAt':_0x4223a6[_0xe3933a(0x9b)],'resolvedBy':_0x4223a6[_0xe3933a(0xbd)],'attributes':_0x4223a6[_0xe3933a(0x88)]||{}}):null;},'updateCommentThread':async({channelId:_0x34a930,threadId:_0x9e28ad,context:_0x3d9e6c,unlinkedAt:_0x20bc30,attributes:_0x1a0778})=>this[_0x1fa42f(0x8b)](_0x34a930)[_0x1fa42f(0xa9)]({'commentThreadId':_0x9e28ad,'context':_0x3d9e6c,'attributes':_0x1a0778,'unlinkedAt':_0x20bc30})[_0x1fa42f(0xae)](f)[_0x1fa42f(0xae)](A),'resolveCommentThread':async({channelId:_0x221bb8,threadId:_0x4f2cd4})=>{const _0x2c9333=_0x1fa42f,_0x4378a7=await this[_0x2c9333(0x8b)](_0x221bb8)[_0x2c9333(0xa7)](_0x4f2cd4)[_0x2c9333(0xae)](f)[_0x2c9333(0xae)](A);return{'threadId':_0x4378a7[_0x2c9333(0xc5)],'resolvedAt':_0x4378a7[_0x2c9333(0x9b)],'resolvedBy':_0x4378a7[_0x2c9333(0xbd)]};},'reopenCommentThread':async({channelId:_0x4b139c,threadId:_0x176ec8})=>this[_0x1fa42f(0x8b)](_0x4b139c)[_0x1fa42f(0x9d)](_0x176ec8)[_0x1fa42f(0xae)](f)[_0x1fa42f(0xae)](A),'removeCommentThread':({channelId:_0x3a4209,threadId:_0xbdd6d1})=>this[_0x1fa42f(0x8b)](_0x3a4209)[_0x1fa42f(0x76)](_0xbdd6d1)[_0x1fa42f(0xae)](f)[_0x1fa42f(0xae)](A),'addComment':({channelId:_0x5545e8,threadId:_0x3cf2c4,commentId:_0x47a48b,content:_0x101e06,attributes:_0x3fe203})=>this[_0x1fa42f(0x8b)](_0x5545e8)[_0x1fa42f(0xaf)](_0x3cf2c4,_0x47a48b,_0x101e06,_0x3fe203)[_0x1fa42f(0xae)](A),'updateComment':({channelId:_0x26d425,threadId:_0x5a8509,commentId:_0x4d425d,content:_0x17c76d,attributes:_0x16db85})=>this[_0x1fa42f(0x8b)](_0x26d425)[_0x1fa42f(0xc9)](_0x5a8509,_0x4d425d,_0x17c76d,_0x16db85)[_0x1fa42f(0xae)](f)[_0x1fa42f(0xae)](A),'removeComment':({channelId:_0x59c1df,threadId:_0x23a072,commentId:_0x5df625})=>this[_0x1fa42f(0x8b)](_0x59c1df)[_0x1fa42f(0x6d)](_0x23a072,_0x5df625)[_0x1fa42f(0xae)](f)[_0x1fa42f(0xae)](A)},_0x41dd37 instanceof _0x1e4948){const _0x5137e3=_0x41dd37[_0x1fa42f(0x8c)][_0x1fa42f(0x9e)](_0x1fa42f(0x86)),_0x3ddca1=_0x41dd37[_0x1fa42f(0x83)][_0x1fa42f(0x9e)](_0x4e9630);await this[_0x1fa42f(0xc2)](_0x5137e3);const _0x4aaf58=await this[_0x1fa42f(0xc3)][_0x1fa42f(0x9e)](_0x5137e3)[_0x1fa42f(0xc8)]();this[_0x1fa42f(0xb8)](_0x3ddca1,_0x1fa42f(0xa8)+_0x5137e3,(_0x39e415,{session:_0x2baa27})=>{const _0x631c4b=_0x1fa42f;_0x2baa27['id']===_0x3ddca1[_0x631c4b(0x92)]&&(_0x39e415[_0x631c4b(0x84)](),this[_0x631c4b(0xd2)][_0x631c4b(0x83)][_0x631c4b(0x9e)](_0x631c4b(0x80))[_0x631c4b(0xc0)](_0x2baa27[_0x631c4b(0x8f)],_0x5137e3));}),_0x3ddca1[_0x1fa42f(0x94)](_0x5137e3,_0x4aaf58);}}async[_0x465a59(0xc2)](_0x433e69){const _0x49606e=_0x465a59;if(this[_0x49606e(0xc3)][_0x49606e(0x6f)](_0x433e69))throw new _0x2a734d(_0x49606e(0x7d),null,{'channelId':_0x433e69});const _0x49d95a=this[_0x49606e(0xd2)][_0x49606e(0x83)][_0x49606e(0x9e)](_0x49606e(0xd0)),_0x2325a2=new CloudServicesCommentsAdapter[(_0x49606e(0x85))](_0x433e69);this[_0x49606e(0xc3)][_0x49606e(0x99)](_0x433e69,_0x2325a2),this[_0x49606e(0xb8)](_0x2325a2,_0x49606e(0x7c),(_0x4b7ff2,_0x31792d)=>{const _0x17294f=_0x49606e,{commentThreadId:_0x2a12f8,documentId:_0x562a44,context:_0x2b6a68,attributes:_0x1685a1,resolvedAt:_0x5ad2f3,resolvedBy:_0x36fd93,comments:_0x1f41d0}=_0x31792d;_0x49d95a[_0x17294f(0x95)](_0x2a12f8)||_0x49d95a[_0x17294f(0x75)]({'threadId':_0x2a12f8,'channelId':_0x562a44,'comments':_0x1f41d0?_0x1f41d0[_0x17294f(0xa0)](p):[],'context':_0x2b6a68,'attributes':_0x1685a1,'resolvedAt':_0x5ad2f3,'resolvedBy':_0x36fd93,'isFromAdapter':!0x0});}),this[_0x49606e(0xb8)](_0x2325a2,_0x49606e(0xa3),(_0x26bf3a,{commentThreadId:_0x76e089,documentId:_0xae778c,context:_0xdcf2f3,unlinkedAt:_0x2b344b,attributes:_0x2af240})=>{const _0x9dd2b9=_0x49606e;_0x49d95a[_0x9dd2b9(0x95)](_0x76e089)&&_0x49d95a[_0x9dd2b9(0xa9)]({'threadId':_0x76e089,'channelId':_0xae778c,'context':_0xdcf2f3,'unlinkedAt':_0x2b344b,'attributes':_0x2af240,'isFromAdapter':!0x0});}),this[_0x49606e(0xb8)](_0x2325a2,_0x49606e(0xad),(_0x34c0e9,{commentThreadId:_0x23350a,resolvedBy:_0x455e30,resolvedAt:_0x3c3b88})=>{const _0x7b9895=_0x49606e,_0x3d9955=_0x49d95a[_0x7b9895(0x95)](_0x23350a);_0x3d9955&&_0x3d9955[_0x7b9895(0xc6)]({'resolvedBy':_0x455e30,'resolvedAt':_0x3c3b88,'isFromAdapter':!0x0});}),this[_0x49606e(0xb8)](_0x2325a2,_0x49606e(0x9c),(_0x11019c,{commentThreadId:_0x5918a0})=>{const _0x23f4b6=_0x49606e,_0x3142c4=_0x49d95a[_0x23f4b6(0x95)](_0x5918a0);_0x3142c4&&_0x3142c4[_0x23f4b6(0xa4)]({'isFromAdapter':!0x0});}),this[_0x49606e(0xb8)](_0x2325a2,_0x49606e(0xcb),(_0x102715,{commentThreadId:_0x53989b})=>{const _0x766463=_0x49606e,_0x3b81a3=_0x49d95a[_0x766463(0x95)](_0x53989b);_0x3b81a3&&_0x3b81a3[_0x766463(0x96)]({'isFromAdapter':!0x0});}),this[_0x49606e(0xb8)](_0x2325a2,_0x49606e(0xbe),(_0x31213d,_0x144ee3)=>{const _0x5d4a79=_0x49606e,_0x3cfed3=_0x144ee3[_0x5d4a79(0xc5)],_0x544054=_0x49d95a[_0x5d4a79(0x95)](_0x3cfed3);_0x544054&&_0x544054[_0x5d4a79(0xaf)]({...p(_0x144ee3),'isFromAdapter':!0x0});}),this[_0x49606e(0xb8)](_0x2325a2,_0x49606e(0x93),(_0x390eda,{commentThreadId:_0x44b3df,commentId:_0x3276e3,content:_0x330dd2,attributes:_0x1d1125})=>{const _0x5c7ba5=_0x49606e,_0x2de620=_0x49d95a[_0x5c7ba5(0x95)](_0x44b3df);if(_0x2de620){const _0x5b5adb=_0x2de620[_0x5c7ba5(0x9a)](_0x3276e3);_0x5b5adb&&_0x5b5adb[_0x5c7ba5(0x71)]({'content':_0x330dd2,'attributes':_0x1d1125,'isFromAdapter':!0x0});}}),this[_0x49606e(0xb8)](_0x2325a2,_0x49606e(0x70),(_0x4c1aed,{commentThreadId:_0x3ff3c7,commentId:_0x23b883})=>{const _0x9481f8=_0x49606e,_0x3c150f=_0x49d95a[_0x9481f8(0x95)](_0x3ff3c7);if(_0x3c150f){const _0x26d15a=_0x3c150f[_0x9481f8(0x9a)](_0x23b883);_0x26d15a&&_0x26d15a[_0x9481f8(0x96)]({'isFromAdapter':!0x0});}}),await this[_0x49606e(0xd3)](_0x433e69);}[_0x465a59(0x8d)](){const _0x173edf=_0x465a59;if(this[_0x173edf(0xd2)]instanceof _0x1e4948){const _0x1e56c3=this[_0x173edf(0xd2)][_0x173edf(0x8c)][_0x173edf(0x9e)](_0x173edf(0x86));this[_0x173edf(0x7b)](_0x1e56c3);}}[_0x465a59(0x7b)](_0x22b19d){const _0x38c86d=_0x465a59;if(!this[_0x38c86d(0xc3)][_0x38c86d(0x6f)](_0x22b19d))throw new _0x2a734d(_0x38c86d(0xb1),null,{'channelId':_0x22b19d});this[_0x38c86d(0x8b)](_0x22b19d)[_0x38c86d(0xa1)](),this[_0x38c86d(0xc3)][_0x38c86d(0x7e)](_0x22b19d);}async[_0x465a59(0x78)](){const _0x669e58=_0x465a59;for(const _0x20a743 of this[_0x669e58(0xc3)][_0x669e58(0x79)]())await this[_0x669e58(0xd3)](_0x20a743);if(this[_0x669e58(0xd2)]instanceof _0x1e4948){const _0x32214a=this[_0x669e58(0xd2)][_0x669e58(0x8c)][_0x669e58(0x9e)](_0x669e58(0x86)),_0x3a8b76=this[_0x669e58(0xd2)][_0x669e58(0x83)][_0x669e58(0x9e)](_0x4e9630);_0x3a8b76[_0x669e58(0xb3)](_0x32214a);const _0x62ebc9=await this[_0x669e58(0xc3)][_0x669e58(0x9e)](_0x32214a)[_0x669e58(0xc8)]();_0x3a8b76[_0x669e58(0x94)](_0x32214a,_0x62ebc9);}}async[_0x465a59(0xd3)](_0x5bf774){const _0xde5fb8=_0x465a59,{connection:_0x4e10c9}=this[_0xde5fb8(0xd2)][_0xde5fb8(0x83)][_0xde5fb8(0x9e)](_0x56feef),_0x239db5=this[_0xde5fb8(0xd2)][_0xde5fb8(0x83)][_0xde5fb8(0x9e)](_0xde5fb8(0xd0)),_0x279b6c=this[_0xde5fb8(0xc3)][_0xde5fb8(0x9e)](_0x5bf774),_0x4b95dc=await _0x279b6c[_0xde5fb8(0xac)](_0x4e10c9);await this[_0xde5fb8(0x77)](_0x4b95dc);const _0xb1c109=new Set(Array[_0xde5fb8(0xd1)](_0x239db5[_0xde5fb8(0xa2)]({'channelId':_0x5bf774}),_0x1fb31a=>_0x1fb31a['id']));for(const _0xe66732 of _0x4b95dc)_0xe66732[_0xde5fb8(0xc4)]||_0xb1c109[_0xde5fb8(0x7e)](_0xe66732[_0xde5fb8(0xc5)]);for(const _0x30f91b of _0xb1c109)_0x239db5[_0xde5fb8(0x95)](_0x30f91b)[_0xde5fb8(0x96)]({'isFromAdapter':!0x0});for(const _0x78551c of _0x4b95dc){let _0x508c32=_0x239db5[_0xde5fb8(0x95)](_0x78551c[_0xde5fb8(0xc5)]);const {commentThreadId:_0x45269a,context:_0x3aabfc,attributes:_0x403f9a,resolvedBy:_0x2e73e8,resolvedAt:_0x14f76a,unlinkedAt:_0x52574f,deletedAt:_0x5a884f}=_0x78551c;if(_0x5a884f)continue;_0x508c32||(_0x508c32=_0x239db5[_0xde5fb8(0x75)]({'channelId':_0x5bf774,'threadId':_0x45269a,'context':_0x3aabfc,'attributes':_0x403f9a||{},'resolvedBy':_0x2e73e8,'resolvedAt':_0x14f76a,'unlinkedAt':_0x52574f,'isFromAdapter':!0x0}));const _0x2b5180=new Set(Array[_0xde5fb8(0xd1)](_0x508c32[_0xde5fb8(0xbc)],_0x19693c=>_0x19693c['id']));for(const _0x671f7b of _0x78551c[_0xde5fb8(0xbc)])_0x2b5180[_0xde5fb8(0x7e)](_0x671f7b[_0xde5fb8(0xca)]);for(const _0x2d6779 of _0x2b5180)_0x508c32[_0xde5fb8(0x9a)](_0x2d6779)[_0xde5fb8(0x96)]({'isFromAdapter':!0x0});for(const _0x51927a of _0x78551c[_0xde5fb8(0xbc)]){const _0x43bc09=_0x508c32[_0xde5fb8(0x9a)](_0x51927a[_0xde5fb8(0xca)]);_0x43bc09?_0x43bc09[_0xde5fb8(0xb7)]!==_0x51927a[_0xde5fb8(0xb7)]&&_0x43bc09[_0xde5fb8(0x71)]({'content':_0x51927a[_0xde5fb8(0xb7)],'isFromAdapter':!0x0}):_0x508c32[_0xde5fb8(0xaf)](Object[_0xde5fb8(0x81)](p(_0x51927a),{'isFromAdapter':!0x0}));}}}[_0x465a59(0x8b)](_0x17a88d){const _0x272888=_0x465a59;if(!this[_0x272888(0xc3)][_0x272888(0x6f)](_0x17a88d))throw new _0x2a734d(_0x272888(0xab),null,{'channelId':_0x17a88d});return this[_0x272888(0xc3)][_0x272888(0x9e)](_0x17a88d);}async[_0x465a59(0x77)](_0x6fec6d){const _0x3f21f2=_0x465a59,_0xd82c09=this[_0x3f21f2(0xd2)][_0x3f21f2(0x83)][_0x3f21f2(0x9e)](_0x3709e9),{connection:_0x1afcfb}=this[_0x3f21f2(0xd2)][_0x3f21f2(0x83)][_0x3f21f2(0x9e)](_0x56feef),_0x5edcda=new Set();for(const {resolvedBy:_0x27c4b4,comments:_0xc04a7d}of _0x6fec6d){_0x27c4b4&&!_0xd82c09[_0x3f21f2(0x97)](_0x27c4b4)&&_0x5edcda[_0x3f21f2(0xb6)](_0x27c4b4);for(const {userId:_0x31fda2}of _0xc04a7d)_0xd82c09[_0x3f21f2(0x97)](_0x31fda2)||_0x5edcda[_0x3f21f2(0xb6)](_0x31fda2);}if(0x0===_0x5edcda[_0x3f21f2(0x90)])return;const _0x39164d=await _0x47ed5c[_0x3f21f2(0x7a)](_0x1afcfb,Array[_0x3f21f2(0xd1)](_0x5edcda));for(const _0x245672 of _0x39164d)_0xd82c09[_0x3f21f2(0x97)](_0x245672['id'])||_0xd82c09[_0x3f21f2(0xb5)](_0x245672);}}async function f(_0x40627b){const _0x50e69e=_0x465a59;if(_0x50e69e(0x89)!==_0x40627b[_0x50e69e(0xb0)])throw _0x40627b;}function A(_0x2d34af){const _0x327e67=_0x465a59;if((_0x563d4b=_0x2d34af)[_0x327e67(0xcc)][_0x327e67(0xbb)](_0x327e67(0xbf))||_0x563d4b[_0x327e67(0xcc)][_0x327e67(0xbb)](_0x327e67(0xcf))||_0x563d4b[_0x327e67(0xcc)][_0x327e67(0xbb)](_0x327e67(0x82)))return new Promise(()=>{});var _0x563d4b;throw _0x2d34af;}function p(_0x3fbff0){const _0x234de5=_0x465a59;return{'threadId':_0x3fbff0[_0x234de5(0xc5)],'commentId':_0x3fbff0[_0x234de5(0xca)],'content':_0x3fbff0[_0x234de5(0xb7)],'createdAt':_0x3fbff0[_0x234de5(0xba)],'authorId':_0x3fbff0[_0x234de5(0x72)],'attributes':_0x3fbff0[_0x234de5(0x88)]||{}};}
23
+ const _0x11a11e=_0x51fe;(function(_0x564fce,_0x5c51c7){const _0x171e54=_0x51fe,_0x297145=_0x564fce();while(!![]){try{const _0x5e95d0=-parseInt(_0x171e54(0x11d))/0x1*(-parseInt(_0x171e54(0xf6))/0x2)+parseInt(_0x171e54(0xde))/0x3*(parseInt(_0x171e54(0x112))/0x4)+-parseInt(_0x171e54(0xf1))/0x5+-parseInt(_0x171e54(0x127))/0x6+-parseInt(_0x171e54(0x138))/0x7*(parseInt(_0x171e54(0xf4))/0x8)+parseInt(_0x171e54(0x119))/0x9*(parseInt(_0x171e54(0x109))/0xa)+-parseInt(_0x171e54(0x111))/0xb*(-parseInt(_0x171e54(0x104))/0xc);if(_0x5e95d0===_0x5c51c7)break;else _0x297145['push'](_0x297145['shift']());}catch(_0x363ffb){_0x297145['push'](_0x297145['shift']());}}}(_0x560d,0xc7341));import{Context as _0x41a3dc,ContextPlugin as _0x4e0408}from'ckeditor5/src/core.js';function _0x51fe(_0x5441da,_0x20bc8c){const _0x560d7c=_0x560d();return _0x51fe=function(_0x51fe52,_0x3227bb){_0x51fe52=_0x51fe52-0xd7;let _0x4e1927=_0x560d7c[_0x51fe52];return _0x4e1927;},_0x51fe(_0x5441da,_0x20bc8c);}import{CKEditorError as _0xb635eb}from'ckeditor5/src/utils.js';import{Users as _0x3b1230}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x57ed83,User as _0x8c0705}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x13780a}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5cb6b8}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x4e0408{static [_0x11a11e(0x118)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x57ed83)());[_0x11a11e(0xe8)];static get[_0x11a11e(0x13b)](){const _0x2e702b=_0x11a11e;return[_0x13780a,_0x2e702b(0xff),_0x5cb6b8,_0x3b1230];}static get[_0x11a11e(0x12a)](){const _0x242924=_0x11a11e;return _0x242924(0xee);}static get[_0x11a11e(0x10f)](){return!0x0;}static get[_0x11a11e(0x12c)](){return!0x0;}constructor(_0x3bd0b1){const _0x59f05d=_0x11a11e;super(_0x3bd0b1),this[_0x59f05d(0xe8)]=new Map();}async[_0x11a11e(0x120)](){const _0x37bd17=_0x11a11e,_0x4a1772=this[_0x37bd17(0x13e)],_0x231954=_0x4a1772[_0x37bd17(0x134)][_0x37bd17(0x10e)](_0x37bd17(0xff));if(_0x4a1772[_0x37bd17(0x134)][_0x37bd17(0x10e)](_0x13780a)[_0x37bd17(0xdc)](this),_0x231954[_0x37bd17(0xf3)]={'addCommentThread':async({channelId:_0x5eb27a,threadId:_0x314ba8,comments:_0x5fede1,resolvedAt:_0x1a9fd8,resolvedBy:_0x429251,context:_0x187079,attributes:_0x2202de})=>{const _0x2a2acb=_0x37bd17,_0x5bdb5a=await this[_0x2a2acb(0x12b)](_0x5eb27a)[_0x2a2acb(0x108)]({'commentThreadId':_0x314ba8,'comments':_0x5fede1[_0x2a2acb(0xf0)](_0x4d52c3=>function(_0x6f4f70,_0xe940f0,_0x3cde94){const _0x972f84=_0x2a2acb;return{'commentThreadId':_0x3cde94,'commentId':_0x6f4f70[_0x972f84(0x135)],'userId':_0x6f4f70[_0x972f84(0x126)],'content':_0x6f4f70[_0x972f84(0x114)],'documentId':_0xe940f0,'createdAt':_0x6f4f70[_0x972f84(0xdf)],'attributes':_0x6f4f70[_0x972f84(0x12f)]||{}};}(_0x4d52c3,_0x5eb27a,_0x314ba8)),'resolvedAt':_0x1a9fd8,'resolvedBy':_0x429251,'context':_0x187079,'attributes':_0x2202de})[_0x2a2acb(0x110)](tt);return{'threadId':_0x5bdb5a[_0x2a2acb(0xe4)],'comments':_0x5bdb5a[_0x2a2acb(0xeb)]};},'getCommentThread':async({channelId:_0x4f4a1b,threadId:_0x49a8a7})=>{const _0x51c3f6=_0x37bd17,_0x495ae6=await this[_0x51c3f6(0x12b)](_0x4f4a1b)[_0x51c3f6(0xd8)](_0x49a8a7)[_0x51c3f6(0x110)](Z)[_0x51c3f6(0x110)](tt);return _0x495ae6?_0x495ae6[_0x51c3f6(0x12e)]?null:(await this[_0x51c3f6(0x117)]([_0x495ae6]),{'threadId':_0x495ae6[_0x51c3f6(0xe4)],'comments':_0x495ae6[_0x51c3f6(0xeb)][_0x51c3f6(0xf0)](et),'context':_0x495ae6[_0x51c3f6(0x13e)],'resolvedAt':_0x495ae6[_0x51c3f6(0x11c)],'resolvedBy':_0x495ae6[_0x51c3f6(0x133)],'attributes':_0x495ae6[_0x51c3f6(0x12f)]||{}}):null;},'updateCommentThread':async({channelId:_0xc213ec,threadId:_0x561d79,context:_0x31f5f7,unlinkedAt:_0x2bf960,attributes:_0x5d580a})=>this[_0x37bd17(0x12b)](_0xc213ec)[_0x37bd17(0xfc)]({'commentThreadId':_0x561d79,'context':_0x31f5f7,'attributes':_0x5d580a,'unlinkedAt':_0x2bf960})[_0x37bd17(0x110)](Z)[_0x37bd17(0x110)](tt),'resolveCommentThread':async({channelId:_0x1693eb,threadId:_0x1239aa})=>{const _0x58a111=_0x37bd17,_0x4a746d=await this[_0x58a111(0x12b)](_0x1693eb)[_0x58a111(0x10d)](_0x1239aa)[_0x58a111(0x110)](Z)[_0x58a111(0x110)](tt);return{'threadId':_0x4a746d[_0x58a111(0xe4)],'resolvedAt':_0x4a746d[_0x58a111(0x11c)],'resolvedBy':_0x4a746d[_0x58a111(0x133)]};},'reopenCommentThread':async({channelId:_0x39cd1f,threadId:_0x15d6ac})=>this[_0x37bd17(0x12b)](_0x39cd1f)[_0x37bd17(0x125)](_0x15d6ac)[_0x37bd17(0x110)](Z)[_0x37bd17(0x110)](tt),'removeCommentThread':({channelId:_0x49d770,threadId:_0x498f47})=>this[_0x37bd17(0x12b)](_0x49d770)[_0x37bd17(0x128)](_0x498f47)[_0x37bd17(0x110)](Z)[_0x37bd17(0x110)](tt),'addComment':({channelId:_0x2fc721,threadId:_0x27ce13,commentId:_0x1af190,content:_0x13341e,attributes:_0x341b9c})=>this[_0x37bd17(0x12b)](_0x2fc721)[_0x37bd17(0x107)](_0x27ce13,_0x1af190,_0x13341e,_0x341b9c)[_0x37bd17(0x110)](tt),'updateComment':({channelId:_0x4df005,threadId:_0x31785a,commentId:_0x426312,content:_0x52d837,attributes:_0x42721b})=>this[_0x37bd17(0x12b)](_0x4df005)[_0x37bd17(0xd9)](_0x31785a,_0x426312,_0x52d837,_0x42721b)[_0x37bd17(0x110)](Z)[_0x37bd17(0x110)](tt),'removeComment':({channelId:_0x492c56,threadId:_0x21a577,commentId:_0x9aec72})=>this[_0x37bd17(0x12b)](_0x492c56)[_0x37bd17(0x11e)](_0x21a577,_0x9aec72)[_0x37bd17(0x110)](Z)[_0x37bd17(0x110)](tt)},_0x4a1772 instanceof _0x41a3dc){const _0xafaad3=_0x4a1772[_0x37bd17(0x113)][_0x37bd17(0x10e)](_0x37bd17(0x100)),_0x1186be=_0x4a1772[_0x37bd17(0x134)][_0x37bd17(0x10e)](_0x5cb6b8);await this[_0x37bd17(0x11a)](_0xafaad3);const _0xe97fb7=await this[_0x37bd17(0xe8)][_0x37bd17(0x10e)](_0xafaad3)[_0x37bd17(0xe9)]();this[_0x37bd17(0xe6)](_0x1186be,_0x37bd17(0x116)+_0xafaad3,(_0x422ac3,{session:_0x2f1e84})=>{const _0x46ab2a=_0x37bd17;_0x2f1e84['id']===_0x1186be[_0x46ab2a(0x137)]&&(_0x422ac3[_0x46ab2a(0xdd)](),this[_0x46ab2a(0x13e)][_0x46ab2a(0x134)][_0x46ab2a(0x10e)](_0x46ab2a(0xd7))[_0x46ab2a(0x103)](_0x2f1e84[_0x46ab2a(0x13a)],_0xafaad3));}),_0x1186be[_0x37bd17(0x11b)](_0xafaad3,_0xe97fb7);}}async[_0x11a11e(0x11a)](_0x38faff){const _0x23a6ad=_0x11a11e;if(this[_0x23a6ad(0xe8)][_0x23a6ad(0x139)](_0x38faff))throw new _0xb635eb(_0x23a6ad(0xed),null,{'channelId':_0x38faff});const _0x193354=this[_0x23a6ad(0x13e)][_0x23a6ad(0x134)][_0x23a6ad(0x10e)](_0x23a6ad(0xff)),_0x3242ea=new CloudServicesCommentsAdapter[(_0x23a6ad(0x118))](_0x38faff);this[_0x23a6ad(0xe8)][_0x23a6ad(0x121)](_0x38faff,_0x3242ea),this[_0x23a6ad(0xe6)](_0x3242ea,_0x23a6ad(0xdb),(_0x148560,_0x2a2ae8)=>{const _0x199cae=_0x23a6ad,{commentThreadId:_0x147ed2,documentId:_0x4ebd5f,context:_0x11f13d,attributes:_0x3a7578,resolvedAt:_0x19c8d1,resolvedBy:_0x4bf6b9,comments:_0x33b1a3}=_0x2a2ae8;_0x193354[_0x199cae(0xd8)](_0x147ed2)||_0x193354[_0x199cae(0x108)]({'threadId':_0x147ed2,'channelId':_0x4ebd5f,'comments':_0x33b1a3?_0x33b1a3[_0x199cae(0xf0)](et):[],'context':_0x11f13d,'attributes':_0x3a7578,'resolvedAt':_0x19c8d1,'resolvedBy':_0x4bf6b9,'isFromAdapter':!0x0});}),this[_0x23a6ad(0xe6)](_0x3242ea,_0x23a6ad(0x11f),(_0xcdf1d9,{commentThreadId:_0x46c432,documentId:_0x2a6561,context:_0x4aa5cd,unlinkedAt:_0x4e98bd,attributes:_0x50dd6c})=>{const _0x36a4a5=_0x23a6ad;_0x193354[_0x36a4a5(0xd8)](_0x46c432)&&_0x193354[_0x36a4a5(0xfc)]({'threadId':_0x46c432,'channelId':_0x2a6561,'context':_0x4aa5cd,'unlinkedAt':_0x4e98bd,'attributes':_0x50dd6c,'isFromAdapter':!0x0});}),this[_0x23a6ad(0xe6)](_0x3242ea,_0x23a6ad(0x106),(_0x4ce7d2,{commentThreadId:_0x4e3f0f,resolvedBy:_0x1aa16f,resolvedAt:_0x11f7ba})=>{const _0x4d2603=_0x23a6ad,_0x441818=_0x193354[_0x4d2603(0xd8)](_0x4e3f0f);_0x441818&&_0x441818[_0x4d2603(0x10c)]({'resolvedBy':_0x1aa16f,'resolvedAt':_0x11f7ba,'isFromAdapter':!0x0});}),this[_0x23a6ad(0xe6)](_0x3242ea,_0x23a6ad(0x136),(_0x434ea7,{commentThreadId:_0xdba482})=>{const _0x91aba3=_0x23a6ad,_0x4cad51=_0x193354[_0x91aba3(0xd8)](_0xdba482);_0x4cad51&&_0x4cad51[_0x91aba3(0xfa)]({'isFromAdapter':!0x0});}),this[_0x23a6ad(0xe6)](_0x3242ea,_0x23a6ad(0xe5),(_0xf62cc2,{commentThreadId:_0x4526ad})=>{const _0x485959=_0x23a6ad,_0x23594c=_0x193354[_0x485959(0xd8)](_0x4526ad);_0x23594c&&_0x23594c[_0x485959(0xef)]({'isFromAdapter':!0x0});}),this[_0x23a6ad(0xe6)](_0x3242ea,_0x23a6ad(0xea),(_0xbf047d,_0x571669)=>{const _0x502854=_0x23a6ad,_0x15a0b0=_0x571669[_0x502854(0xe4)],_0x165d3c=_0x193354[_0x502854(0xd8)](_0x15a0b0);_0x165d3c&&_0x165d3c[_0x502854(0x107)]({...et(_0x571669),'isFromAdapter':!0x0});}),this[_0x23a6ad(0xe6)](_0x3242ea,_0x23a6ad(0xf8),(_0x5f5494,{commentThreadId:_0x1635ee,commentId:_0x2681b9,content:_0x4ed1b1,attributes:_0x408955})=>{const _0x10ce9f=_0x23a6ad,_0x5b5064=_0x193354[_0x10ce9f(0xd8)](_0x1635ee);if(_0x5b5064){const _0x153b51=_0x5b5064[_0x10ce9f(0x124)](_0x2681b9);_0x153b51&&_0x153b51[_0x10ce9f(0x123)]({'content':_0x4ed1b1,'attributes':_0x408955,'isFromAdapter':!0x0});}}),this[_0x23a6ad(0xe6)](_0x3242ea,_0x23a6ad(0xf9),(_0x4c5a5e,{commentThreadId:_0x2d0241,commentId:_0x4cfd53})=>{const _0x90e657=_0x23a6ad,_0x3818dc=_0x193354[_0x90e657(0xd8)](_0x2d0241);if(_0x3818dc){const _0x5323ff=_0x3818dc[_0x90e657(0x124)](_0x4cfd53);_0x5323ff&&_0x5323ff[_0x90e657(0xef)]({'isFromAdapter':!0x0});}}),await this[_0x23a6ad(0x12d)](_0x38faff);}[_0x11a11e(0xec)](){const _0x315c8e=_0x11a11e;if(this[_0x315c8e(0x13e)]instanceof _0x41a3dc){const _0x1ee42b=this[_0x315c8e(0x13e)][_0x315c8e(0x113)][_0x315c8e(0x10e)](_0x315c8e(0x100));this[_0x315c8e(0xfd)](_0x1ee42b);}}[_0x11a11e(0xfd)](_0x30a073){const _0x9b6e70=_0x11a11e;if(!this[_0x9b6e70(0xe8)][_0x9b6e70(0x139)](_0x30a073))throw new _0xb635eb(_0x9b6e70(0xf2),null,{'channelId':_0x30a073});this[_0x9b6e70(0x12b)](_0x30a073)[_0x9b6e70(0xfe)](),this[_0x9b6e70(0xe8)][_0x9b6e70(0xe1)](_0x30a073);}async[_0x11a11e(0xf5)](){const _0x50508c=_0x11a11e;for(const _0x24d179 of this[_0x50508c(0xe8)][_0x50508c(0x102)]())await this[_0x50508c(0x12d)](_0x24d179);if(this[_0x50508c(0x13e)]instanceof _0x41a3dc){const _0x1ce0ce=this[_0x50508c(0x13e)][_0x50508c(0x113)][_0x50508c(0x10e)](_0x50508c(0x100)),_0x4e99a2=this[_0x50508c(0x13e)][_0x50508c(0x134)][_0x50508c(0x10e)](_0x5cb6b8);_0x4e99a2[_0x50508c(0x10a)](_0x1ce0ce);const _0x8081f5=await this[_0x50508c(0xe8)][_0x50508c(0x10e)](_0x1ce0ce)[_0x50508c(0xe9)]();_0x4e99a2[_0x50508c(0x11b)](_0x1ce0ce,_0x8081f5);}}async[_0x11a11e(0x12d)](_0x2f5fe5){const _0x5d093a=_0x11a11e,{connection:_0x5d78f8}=this[_0x5d093a(0x13e)][_0x5d093a(0x134)][_0x5d093a(0x10e)](_0x13780a),_0x5651c4=this[_0x5d093a(0x13e)][_0x5d093a(0x134)][_0x5d093a(0x10e)](_0x5d093a(0xff)),_0x1f2b30=this[_0x5d093a(0xe8)][_0x5d093a(0x10e)](_0x2f5fe5),_0x5f3e20=await _0x1f2b30[_0x5d093a(0x101)](_0x5d78f8);await this[_0x5d093a(0x117)](_0x5f3e20);const _0x59b1b4=new Set(Array[_0x5d093a(0xda)](_0x5651c4[_0x5d093a(0x130)]({'channelId':_0x2f5fe5}),_0x3ed7e0=>_0x3ed7e0['id']));for(const _0xe81526 of _0x5f3e20)_0xe81526[_0x5d093a(0x12e)]||_0x59b1b4[_0x5d093a(0xe1)](_0xe81526[_0x5d093a(0xe4)]);for(const _0x2422df of _0x59b1b4)_0x5651c4[_0x5d093a(0xd8)](_0x2422df)[_0x5d093a(0xef)]({'isFromAdapter':!0x0});for(const _0x34dd76 of _0x5f3e20){let _0x4dfc5f=_0x5651c4[_0x5d093a(0xd8)](_0x34dd76[_0x5d093a(0xe4)]);const {commentThreadId:_0x32e57d,context:_0xd84d9e,attributes:_0x251467,resolvedBy:_0x5c223,resolvedAt:_0x21c9ef,unlinkedAt:_0x1855d6,deletedAt:_0x387856}=_0x34dd76;if(_0x387856)continue;_0x4dfc5f||(_0x4dfc5f=_0x5651c4[_0x5d093a(0x108)]({'channelId':_0x2f5fe5,'threadId':_0x32e57d,'context':_0xd84d9e,'attributes':_0x251467||{},'resolvedBy':_0x5c223,'resolvedAt':_0x21c9ef,'unlinkedAt':_0x1855d6,'isFromAdapter':!0x0}));const _0x2d9290=new Set(Array[_0x5d093a(0xda)](_0x4dfc5f[_0x5d093a(0xeb)],_0x4de09c=>_0x4de09c['id']));for(const _0x23d715 of _0x34dd76[_0x5d093a(0xeb)])_0x2d9290[_0x5d093a(0xe1)](_0x23d715[_0x5d093a(0x135)]);for(const _0x421239 of _0x2d9290)_0x4dfc5f[_0x5d093a(0x124)](_0x421239)[_0x5d093a(0xef)]({'isFromAdapter':!0x0});for(const _0x412aaf of _0x34dd76[_0x5d093a(0xeb)]){const _0x36c585=_0x4dfc5f[_0x5d093a(0x124)](_0x412aaf[_0x5d093a(0x135)]);_0x36c585?_0x36c585[_0x5d093a(0x114)]!==_0x412aaf[_0x5d093a(0x114)]&&_0x36c585[_0x5d093a(0x123)]({'content':_0x412aaf[_0x5d093a(0x114)],'isFromAdapter':!0x0}):_0x4dfc5f[_0x5d093a(0x107)](Object[_0x5d093a(0x10b)](et(_0x412aaf),{'isFromAdapter':!0x0}));}}}[_0x11a11e(0x12b)](_0xb97239){const _0x53acf3=_0x11a11e;if(!this[_0x53acf3(0xe8)][_0x53acf3(0x139)](_0xb97239))throw new _0xb635eb(_0x53acf3(0x115),null,{'channelId':_0xb97239});return this[_0x53acf3(0xe8)][_0x53acf3(0x10e)](_0xb97239);}async[_0x11a11e(0x117)](_0x28a574){const _0x547a6b=_0x11a11e,_0x498458=this[_0x547a6b(0x13e)][_0x547a6b(0x134)][_0x547a6b(0x10e)](_0x3b1230),{connection:_0x7fddc6}=this[_0x547a6b(0x13e)][_0x547a6b(0x134)][_0x547a6b(0x10e)](_0x13780a),_0x31799b=new Set();for(const {resolvedBy:_0x57291e,comments:_0xbfd8c8}of _0x28a574){_0x57291e&&!_0x498458[_0x547a6b(0x132)](_0x57291e)&&_0x31799b[_0x547a6b(0x131)](_0x57291e);for(const {userId:_0x2b7c86}of _0xbfd8c8)_0x498458[_0x547a6b(0x132)](_0x2b7c86)||_0x31799b[_0x547a6b(0x131)](_0x2b7c86);}if(0x0===_0x31799b[_0x547a6b(0xe0)])return;const _0x5339ea=await _0x8c0705[_0x547a6b(0x129)](_0x7fddc6,Array[_0x547a6b(0xda)](_0x31799b));for(const _0x59aa7f of _0x5339ea)_0x498458[_0x547a6b(0x132)](_0x59aa7f['id'])||_0x498458[_0x547a6b(0x13c)](_0x59aa7f);}}function _0x560d(){const _0x14b984=['disconnect','CommentsRepository','collaboration.channelId','connect','keys','setPermissions','412812GwynzM','cloud-services-internal-error:\x20Not\x20connected.','commentThreadResolved','addComment','addCommentThread','378790NEiqpq','unregister','assign','resolve','resolveCommentThread','get','isOfficialPlugin','catch','308OVaBMK','114676GFTjiq','config','content','cloudservicescommentsadapter-service-not-exist','sessionAdd:','_fetchMissingUsersForThreads','CommentsService','117gTJILA','_setUpService','register','resolvedAt','104138MPkMDx','removeComment','commentThreadUpdated','init','set','code','update','getComment','reopenCommentThread','authorId','2322498wyKfSh','removeCommentThread','getMany','pluginName','_getService','isPremiumPlugin','_connectService','deletedAt','attributes','getCommentThreads','add','getUser','resolvedBy','plugins','commentId','commentThreadReopened','mySessionId','2605253qhzkiS','has','permissions','requires','addUser','message','context','Permissions','getCommentThread','updateComment','from','commentThreadAdded','addToReconnectionStack','off','3fJxOzv','createdAt','size','delete','userId','startsWith','commentThreadId','commentThreadRemoved','listenTo','404','_services','getConnectedSessions','commentAdded','comments','destroy','cloudservicescommentsadapter-connect-already-connected','CloudServicesCommentsAdapter','remove','map','1329560woFtCc','cloudservicescommentsadapter-disconnect-not-exist','adapter','16LtJwET','reconnect','14UrRCvi','cloud-services-internal-error:\x20Request\x20timeout.','commentUpdated','commentRemoved','reopen','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','updateCommentThread','_terminateService'];_0x560d=function(){return _0x14b984;};return _0x560d();}async function Z(_0x5a6de3){const _0x84cd11=_0x11a11e;if(_0x84cd11(0xe7)!==_0x5a6de3[_0x84cd11(0x122)])throw _0x5a6de3;}function tt(_0xbffcc7){const _0x420d60=_0x11a11e;if((_0x639e63=_0xbffcc7)[_0x420d60(0x13d)][_0x420d60(0xe3)](_0x420d60(0xfb))||_0x639e63[_0x420d60(0x13d)][_0x420d60(0xe3)](_0x420d60(0x105))||_0x639e63[_0x420d60(0x13d)][_0x420d60(0xe3)](_0x420d60(0xf7)))return new Promise(()=>{});var _0x639e63;throw _0xbffcc7;}function et(_0x1cce5d){const _0x1a02b3=_0x11a11e;return{'threadId':_0x1cce5d[_0x1a02b3(0xe4)],'commentId':_0x1cce5d[_0x1a02b3(0x135)],'content':_0x1cce5d[_0x1a02b3(0x114)],'createdAt':_0x1cce5d[_0x1a02b3(0xdf)],'authorId':_0x1cce5d[_0x1a02b3(0xe2)],'attributes':_0x1cce5d[_0x1a02b3(0x12f)]||{}};}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xc8cb(_0x1ec0dc,_0x171656){const _0x3e9053=_0x3e90();return _0xc8cb=function(_0xc8cb74,_0x10e33d){_0xc8cb74=_0xc8cb74-0x188;let _0x454d54=_0x3e9053[_0xc8cb74];return _0x454d54;},_0xc8cb(_0x1ec0dc,_0x171656);}const _0x4f492b=_0xc8cb;(function(_0x129539,_0x3a665c){const _0x3893c1=_0xc8cb,_0x4536f5=_0x129539();while(!![]){try{const _0x17779f=-parseInt(_0x3893c1(0x284))/0x1+parseInt(_0x3893c1(0x218))/0x2*(-parseInt(_0x3893c1(0x21d))/0x3)+parseInt(_0x3893c1(0x1cd))/0x4+-parseInt(_0x3893c1(0x219))/0x5*(-parseInt(_0x3893c1(0x1f6))/0x6)+parseInt(_0x3893c1(0x28c))/0x7+-parseInt(_0x3893c1(0x1a7))/0x8+parseInt(_0x3893c1(0x1e4))/0x9;if(_0x17779f===_0x3a665c)break;else _0x4536f5['push'](_0x4536f5['shift']());}catch(_0x716e28){_0x4536f5['push'](_0x4536f5['shift']());}}}(_0x3e90,0x7f002));import{Plugin as _0x562497,PendingActions as _0x1337dd}from'ckeditor5/src/core.js';import{CKEditorError as _0x1091d2,version as _0xccf417,uid as _0x244c95}from'ckeditor5/src/utils.js';import{Notification as _0x271aff}from'ckeditor5/src/ui.js';import{transformOperationSets as _0xdcce9a,NoOperation as _0x1ded9f,InsertOperation as _0x3b2724,MarkerOperation as _0x1aae9c,RootAttributeOperation as _0x5dfeeb,OperationFactory as _0x491e8f,History as _0x1f2242}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1022d2}from'./websocketgateway.js';import{Sessions as _0x409c07}from'./sessions.js';import{UserMarkers as _0x4cd1fe}from'./usermarkers.js';import{getTranslation as _0x8372f5}from'../common-translations.js';import{Compressor as _0x52aee0}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x28de5a}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x302cfb,CollaborativeEditingService as _0x439385}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x562497{static [_0x4f492b(0x1db)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x439385)());[_0x4f492b(0x242)];[_0x4f492b(0x1a6)];[_0x4f492b(0x202)];[_0x4f492b(0x259)];[_0x4f492b(0x193)];[_0x4f492b(0x1dd)];[_0x4f492b(0x20b)];[_0x4f492b(0x24c)];[_0x4f492b(0x25f)];[_0x4f492b(0x263)];[_0x4f492b(0x24d)];[_0x4f492b(0x227)];[_0x4f492b(0x252)];[_0x4f492b(0x249)];[_0x4f492b(0x1a8)];[_0x4f492b(0x1af)];[_0x4f492b(0x222)];[_0x4f492b(0x1bf)];static get[_0x4f492b(0x22b)](){return[_0x1022d2,_0x409c07,_0x4cd1fe,_0x1337dd,_0x28de5a,_0x271aff];}static get[_0x4f492b(0x18b)](){const _0x4ffffb=_0x4f492b;return _0x4ffffb(0x24a);}static get[_0x4f492b(0x1d2)](){return!0x0;}static get[_0x4f492b(0x1b2)](){return!0x0;}get[_0x4f492b(0x243)](){const _0x408473=_0x4f492b;return this[_0x408473(0x194)]+this[_0x408473(0x242)];}get[_0x4f492b(0x194)](){const _0x49b54c=_0x4f492b;return this[_0x49b54c(0x202)][_0x49b54c(0x203)]-this[_0x49b54c(0x242)];}get[_0x4f492b(0x1bc)](){const _0x285124=_0x4f492b,_0x4a348c=this[_0x285124(0x202)][_0x285124(0x23a)]();for(let _0x429d2d=_0x4a348c[_0x285124(0x234)]-0x1;_0x429d2d>=0x0;_0x429d2d--){const _0x53ab79=_0x4a348c[_0x429d2d];if(!this[_0x285124(0x222)][_0x285124(0x245)](_0x53ab79))return _0x53ab79[_0x285124(0x1c6)]+0x1-this[_0x285124(0x242)];}return 0x0;}constructor(_0x4253b4){const _0x4da259=_0x4f492b;if(super(_0x4253b4),this[_0x4da259(0x242)]=0x0,this[_0x4da259(0x1a6)]=null,this[_0x4da259(0x202)]=new _0x1f2242(),this[_0x4da259(0x26b)][_0x4da259(0x1f0)][_0x4da259(0x1fe)](_0x4da259(0x189),{}),this[_0x4da259(0x259)]=this[_0x4da259(0x26b)][_0x4da259(0x1f0)][_0x4da259(0x1ce)](_0x4da259(0x253)),!this[_0x4da259(0x259)])throw new _0x1091d2(_0x4da259(0x1bb),this);const _0x229db4=_0x4253b4[_0x4da259(0x1f0)][_0x4da259(0x1ce)](_0x4da259(0x198))||_0xccf417;this[_0x4da259(0x193)]=new RealTimeCollaborationClient[(_0x4da259(0x1db))](_0x229db4,this[_0x4da259(0x259)]),this[_0x4da259(0x1dd)]=this[_0x4da259(0x26b)][_0x4da259(0x1c4)][_0x4da259(0x207)],this[_0x4da259(0x20b)]=new _0x52aee0(),this[_0x4da259(0x24c)]=[],this[_0x4da259(0x25f)]=new WeakSet(),this[_0x4da259(0x263)]=new Set(),this[_0x4da259(0x1d4)](_0x4da259(0x26c),!0x1),this[_0x4da259(0x1d4)](_0x4da259(0x26e),!0x1),this[_0x4da259(0x24d)]=null,this[_0x4da259(0x227)]=!0x1,this[_0x4da259(0x252)]=null,this[_0x4da259(0x249)]=0x12c,this[_0x4da259(0x1a8)]=this[_0x4da259(0x249)],this[_0x4da259(0x1af)]=null,this[_0x4da259(0x222)]=new WeakSet(),this[_0x4da259(0x1bf)]=new J(this[_0x4da259(0x222)]);}[_0x4f492b(0x204)](){const _0x262f4a=_0x4f492b,_0x2c9c93=this[_0x262f4a(0x26b)],_0x10b4dd=_0x2c9c93[_0x262f4a(0x1b8)][_0x262f4a(0x1ce)](_0x28de5a),_0x184a46=_0x2c9c93[_0x262f4a(0x1b8)][_0x262f4a(0x1ce)](_0x1022d2);this[_0x262f4a(0x26d)](_0x10b4dd,_0x262f4a(0x1ca),(_0x51afa,_0x219ea4)=>{const _0x235cb5=_0x262f4a,_0x58d75c=_0x219ea4[0x0];_0x58d75c[_0x235cb5(0x1f3)]&&(_0x51afa[_0x235cb5(0x282)]=_0x10b4dd[_0x235cb5(0x1ed)](_0x58d75c[_0x235cb5(0x1f3)]),_0x51afa[_0x235cb5(0x265)]()),null===_0x58d75c[_0x235cb5(0x1f3)]&&(_0x51afa[_0x235cb5(0x282)]=null,_0x51afa[_0x235cb5(0x265)]());},{'priority':_0x262f4a(0x250)}),this[_0x262f4a(0x26d)](_0x2c9c93[_0x262f4a(0x1c4)][_0x262f4a(0x207)][_0x262f4a(0x271)],_0x262f4a(0x1e5),(_0x1b3c6d,_0x4a4b15)=>{const _0x166c2d=_0x262f4a;_0x4a4b15[_0x166c2d(0x1e9)]&&this[_0x166c2d(0x22c)]();}),this[_0x262f4a(0x26d)](_0x2c9c93[_0x262f4a(0x1b6)][_0x262f4a(0x1e3)],_0x262f4a(0x201),()=>{const _0x480cef=_0x262f4a;this[_0x480cef(0x22c)]();}),this[_0x262f4a(0x261)](),_0x2c9c93[_0x262f4a(0x1c4)]['on'](_0x262f4a(0x20d),(_0x11e405,_0x1f5114)=>{const _0x57f58f=_0x262f4a,_0x45ab90=_0x1f5114[0x0];_0x45ab90[_0x57f58f(0x1d7)]&&(this[_0x57f58f(0x257)](_0x45ab90),this[_0x57f58f(0x26a)]()&&this[_0x57f58f(0x248)]());}),this[_0x262f4a(0x18c)](),this[_0x262f4a(0x1d8)](_0x262f4a(0x1f2))['to'](_0x184a46,_0x262f4a(0x24b),this,_0x262f4a(0x26e),(_0x216355,_0x4fac7f)=>_0x262f4a(0x20c)===_0x216355&&!_0x4fac7f),this['on'](_0x262f4a(0x256),()=>{const _0x112f61=_0x262f4a;this[_0x112f61(0x1f2)]?_0x2c9c93[_0x112f61(0x244)](_0x112f61(0x1a1)):_0x2c9c93[_0x112f61(0x21a)](_0x112f61(0x1a1));}),this[_0x262f4a(0x1f2)]?_0x2c9c93[_0x262f4a(0x244)](_0x262f4a(0x1a1)):_0x2c9c93[_0x262f4a(0x21a)](_0x262f4a(0x1a1)),this[_0x262f4a(0x1d4)](_0x262f4a(0x237),!0x1);}async[_0x4f492b(0x1ec)](){const _0x428b16=_0x4f492b,_0x184cc8=this[_0x428b16(0x26b)][_0x428b16(0x1b8)][_0x428b16(0x1ce)](_0x409c07),_0x1df386=this[_0x428b16(0x26b)][_0x428b16(0x1b8)][_0x428b16(0x1ce)](_0x1022d2);try{this[_0x428b16(0x26c)]=!0x0,_0x184cc8[_0x428b16(0x278)](this[_0x428b16(0x259)]);const _0x75c9b3=await this[_0x428b16(0x193)][_0x428b16(0x1ec)](_0x1df386[_0x428b16(0x1b7)],this[_0x428b16(0x1bc)]);await this[_0x428b16(0x19e)](_0x75c9b3)&&(this[_0x428b16(0x26c)]=!0x1,this[_0x428b16(0x190)]());const _0x537690=await this[_0x428b16(0x193)][_0x428b16(0x1e7)]();_0x184cc8[_0x428b16(0x1b9)](this[_0x428b16(0x259)],_0x537690),this[_0x428b16(0x1ff)](),this[_0x428b16(0x237)]=!0x0;}catch(_0x1fd1e0){if(function(_0x238196){const _0x355685=_0x428b16;return _0x355685(0x22f)===_0x238196[_0x355685(0x1f8)];}(_0x1fd1e0)&&this[_0x428b16(0x1a6)])await this[_0x428b16(0x1e8)]();else{if(function(_0x325a03){const _0x27f7f8=_0x428b16;return _0x27f7f8(0x26f)===_0x325a03[_0x27f7f8(0x1f8)];}(_0x1fd1e0)){const _0x64b8b9=_0x8372f5(this[_0x428b16(0x26b)][_0x428b16(0x200)],_0x428b16(0x233));this[_0x428b16(0x1a5)](_0x64b8b9);}else{if(!(_0x1fd1e0 instanceof $))throw _0x1fd1e0;this[_0x428b16(0x1a5)]();}}}}[_0x4f492b(0x1a9)](){const _0x3ac602=_0x4f492b,_0x460094=this[_0x3ac602(0x26b)][_0x3ac602(0x1b8)][_0x3ac602(0x1ce)](_0x1022d2),_0x52bae3=this[_0x3ac602(0x26b)][_0x3ac602(0x1b8)][_0x3ac602(0x1ce)](_0x409c07);this[_0x3ac602(0x26b)][_0x3ac602(0x21a)](_0x3ac602(0x212)),_0x52bae3[_0x3ac602(0x21c)][_0x3ac602(0x245)](this[_0x3ac602(0x259)])&&_0x52bae3[_0x3ac602(0x278)](this[_0x3ac602(0x259)]),_0x460094[_0x3ac602(0x18e)](this),this[_0x3ac602(0x1f5)](),super[_0x3ac602(0x1a9)]();}async[_0x4f492b(0x19e)](_0x3d584c){const _0x3ee981=_0x4f492b;if(this[_0x3ee981(0x1a6)]!==_0x3d584c[_0x3ee981(0x1a6)]&&this[_0x3ee981(0x1af)]!==_0x3d584c[_0x3ee981(0x1d5)])throw new $();return this[_0x3ee981(0x1a6)]=_0x3d584c[_0x3ee981(0x1a6)],this[_0x3ee981(0x283)]([],{..._0x3d584c,'wereChangesApplied':!0x1,'data':_0x3d584c[_0x3ee981(0x1fd)]},_0x3ee981(0x1ec));}async[_0x4f492b(0x195)](_0xda8841,_0x3e342e=!0x1){const _0x524f70=_0x4f492b,{connection:_0xa978c8}=this[_0x524f70(0x26b)][_0x524f70(0x1b8)][_0x524f70(0x1ce)](_0x1022d2);RealTimeCollaborationClient[_0x524f70(0x1db)][_0x524f70(0x1e7)](_0xa978c8,this[_0x524f70(0x259)])[_0x524f70(0x25c)](_0x4f0a19=>this[_0x524f70(0x241)](_0x4f0a19))[_0x524f70(0x262)](_0x1c1947=>{const _0x329e41=_0x524f70;this[_0x329e41(0x208)](_0x329e41(0x287),_0x1c1947);}),this[_0x524f70(0x26d)](this[_0x524f70(0x193)],_0x524f70(0x1ee),this[_0x524f70(0x1d1)][_0x524f70(0x1d8)](this)),this[_0x524f70(0x26d)](this[_0x524f70(0x193)],_0x524f70(0x213),(_0x331c49,_0x180623)=>{const _0x2a54d0=_0x524f70;this[_0x2a54d0(0x208)](_0x2a54d0(0x1ef),_0x180623);}),this[_0x524f70(0x26d)](this[_0x524f70(0x193)],_0x524f70(0x1b5),()=>{const _0x479c47=_0x524f70;this[_0x479c47(0x237)]=!0x1;});const _0x5774e5=this[_0x524f70(0x1bf)][_0x524f70(0x264)](_0xda8841);this[_0x524f70(0x26c)]=!0x0;const _0x57e36c=await this[_0x524f70(0x193)][_0x524f70(0x192)](_0xa978c8,this[_0x524f70(0x228)](_0xda8841),_0x5774e5);if(this[_0x524f70(0x1a6)]=_0x57e36c[_0x524f70(0x1a6)],_0x3e342e){if(!_0x57e36c[_0x524f70(0x1e6)])return void this[_0x524f70(0x1a5)]();this[_0x524f70(0x26c)]=!0x1,this[_0x524f70(0x190)](),this[_0x524f70(0x202)][_0x524f70(0x22a)](),this[_0x524f70(0x242)]=_0x57e36c[_0x524f70(0x266)],this[_0x524f70(0x202)][_0x524f70(0x203)]=this[_0x524f70(0x242)],await this[_0x524f70(0x283)](_0xda8841,_0x57e36c,_0x524f70(0x214));}else await this[_0x524f70(0x1aa)](_0x57e36c,_0xda8841);this[_0x524f70(0x1ff)](),this[_0x524f70(0x237)]=!0x0;}[_0x4f492b(0x1ff)](){const _0x17ca0d=_0x4f492b,_0x5e0740=this[_0x17ca0d(0x26b)][_0x17ca0d(0x1b8)][_0x17ca0d(0x1ce)](_0x409c07),_0x15bdd1=this[_0x17ca0d(0x26b)][_0x17ca0d(0x1b8)][_0x17ca0d(0x1ce)](_0x4cd1fe),_0x52d6ce=_0x5e0740[_0x17ca0d(0x21c)][_0x17ca0d(0x1ce)](this[_0x17ca0d(0x259)]);_0x52d6ce&&_0x52d6ce[_0x17ca0d(0x234)]>0x1?_0x15bdd1[_0x17ca0d(0x1e2)]():this[_0x17ca0d(0x26d)](_0x5e0740,_0x17ca0d(0x254)+this[_0x17ca0d(0x259)],()=>{const _0x48ba22=_0x17ca0d;0x2===_0x5e0740[_0x48ba22(0x21c)][_0x48ba22(0x1ce)](this[_0x48ba22(0x259)])[_0x48ba22(0x234)]&&_0x15bdd1[_0x48ba22(0x1e2)]();});}async[_0x4f492b(0x1d1)](_0x373188,_0x5e0f39,_0x51e06e,_0x9aac74){const _0x23e765=_0x4f492b;if(!this[_0x23e765(0x26c)]&&this[_0x23e765(0x1dd)][_0x23e765(0x203)]==_0x5e0f39){const _0x59a081=this[_0x23e765(0x268)](_0x51e06e,_0x9aac74);await this[_0x23e765(0x211)](_0x59a081),this[_0x23e765(0x1c2)](_0x59a081,_0x5e0f39,_0x51e06e[_0x23e765(0x1d5)])||this[_0x23e765(0x208)](_0x23e765(0x1f7));}}async[_0x4f492b(0x1e8)](){const _0x2b1029=_0x4f492b;this[_0x2b1029(0x1f5)]();const {locale:_0x232114}=this[_0x2b1029(0x26b)];let _0x4a8c52;try{_0x4a8c52=await this[_0x2b1029(0x193)][_0x2b1029(0x276)]();}catch{const _0x4dd375=_0x8372f5(_0x232114,_0x2b1029(0x267));return void this[_0x2b1029(0x1a5)](_0x4dd375);}const _0x283e4c=_0x4a8c52[_0x2b1029(0x215)]||_0x4a8c52[_0x2b1029(0x225)];if(this[_0x2b1029(0x1af)]!==_0x283e4c[_0x2b1029(0x1d5)]){const _0x12298b=_0x8372f5(_0x232114,_0x2b1029(0x20f));return void this[_0x2b1029(0x1a5)](_0x12298b);}await this[_0x2b1029(0x195)](this[_0x2b1029(0x26b)][_0x2b1029(0x1c4)][_0x2b1029(0x207)][_0x2b1029(0x20a)][_0x2b1029(0x23a)](),!0x0);}[_0x4f492b(0x1f5)](){const _0x435abd=_0x4f492b;this[_0x435abd(0x193)][_0x435abd(0x1da)](),this[_0x435abd(0x24c)]=[],clearTimeout(this[_0x435abd(0x252)]),this[_0x435abd(0x28a)](this[_0x435abd(0x193)]);}[_0x4f492b(0x241)](_0x4e64e9){const _0x752cfc=_0x4f492b,_0x45c46e=this[_0x752cfc(0x26b)][_0x752cfc(0x1b8)][_0x752cfc(0x1ce)](_0x409c07);this[_0x752cfc(0x26d)](_0x45c46e,_0x752cfc(0x254)+this[_0x752cfc(0x259)],(_0x4fb453,{session:_0x35be5d})=>{const _0x7b77e=_0x752cfc;if(_0x35be5d['id']===_0x45c46e[_0x7b77e(0x1f9)]){_0x4fb453[_0x7b77e(0x23d)]();const _0xe3aaa3=this[_0x7b77e(0x26b)][_0x7b77e(0x1b8)][_0x7b77e(0x245)](_0x7b77e(0x1f4))&&this[_0x7b77e(0x26b)][_0x7b77e(0x1b8)][_0x7b77e(0x1ce)](_0x7b77e(0x1f4));let _0x4cb034=_0x35be5d[_0x7b77e(0x22d)];_0xe3aaa3&&_0xe3aaa3[_0x7b77e(0x1de)]&&(_0x4cb034=_0x4cb034[_0x7b77e(0x1a4)](_0x395d18=>_0x7b77e(0x1a0)!==_0x395d18)),this[_0x7b77e(0x26b)][_0x7b77e(0x1b8)][_0x7b77e(0x1ce)](_0x7b77e(0x275))[_0x7b77e(0x226)](_0x4cb034,this[_0x7b77e(0x259)]);}}),_0x45c46e[_0x752cfc(0x1b9)](this[_0x752cfc(0x259)],_0x4e64e9);}[_0x4f492b(0x261)](){const _0x5a1c8b=_0x4f492b,_0x22ef7a=this[_0x5a1c8b(0x26b)][_0x5a1c8b(0x1fd)][_0x5a1c8b(0x1d4)];this[_0x5a1c8b(0x26b)][_0x5a1c8b(0x1fd)][_0x5a1c8b(0x1d4)]=(..._0x2d39f7)=>{const _0x4fa6ce=_0x5a1c8b;if(!_0x2d39f7[_0x2d39f7[_0x4fa6ce(0x234)]-0x1][_0x4fa6ce(0x246)])throw new _0x1091d2(_0x4fa6ce(0x277),this);_0x22ef7a[_0x4fa6ce(0x19d)](this[_0x4fa6ce(0x26b)][_0x4fa6ce(0x1fd)],_0x2d39f7);};}[_0x4f492b(0x18c)](){const _0x4386f4=_0x4f492b;this[_0x4386f4(0x26b)][_0x4386f4(0x1fd)]['on'](_0x4386f4(0x204),(_0x358131,[_0x79ff24])=>{const _0x576c42=_0x4386f4;if(this[_0x576c42(0x1dd)][_0x576c42(0x203)])throw new _0x1091d2(_0x576c42(0x240),this);_0x358131[_0x576c42(0x265)](),this[_0x576c42(0x229)]();const _0x32be4e=this[_0x576c42(0x26b)][_0x576c42(0x1f0)][_0x576c42(0x1ce)](_0x576c42(0x1e0)),_0x4b96a1=this[_0x576c42(0x1fa)](_0x79ff24,_0x32be4e);0x0==_0x4b96a1[_0x576c42(0x234)]&&_0x4b96a1[_0x576c42(0x223)](new _0x1ded9f(0x0)),_0x358131[_0x576c42(0x282)]=this[_0x576c42(0x195)](_0x4b96a1)[_0x576c42(0x25c)](()=>{const _0x4486c9=_0x576c42;this[_0x4486c9(0x26b)][_0x4486c9(0x1b8)][_0x4486c9(0x1ce)](_0x1022d2)[_0x4486c9(0x191)](this),this[_0x4486c9(0x26b)][_0x4486c9(0x1fd)][_0x4486c9(0x209)](_0x4486c9(0x1d3));})[_0x576c42(0x262)](_0x4b4386=>this[_0x576c42(0x208)](_0x576c42(0x1ab),_0x4b4386))[_0x576c42(0x285)](()=>this[_0x576c42(0x190)]());},{'priority':_0x4386f4(0x250)}),this[_0x4386f4(0x26b)]['on'](_0x4386f4(0x1f1),async(_0x14a39c,[_0x550715,_0x59b725])=>{const _0x5e73b2=_0x4386f4;_0x14a39c[_0x5e73b2(0x265)]();const _0x53c1cb=this[_0x5e73b2(0x26b)][_0x5e73b2(0x1c4)][_0x5e73b2(0x207)][_0x5e73b2(0x205)](_0x550715);if(!this[_0x5e73b2(0x263)][_0x5e73b2(0x245)](_0x550715)){const _0x28444d=_0x59b725&&_0x59b725[_0x5e73b2(0x1fd)]?_0x59b725[_0x5e73b2(0x1fd)]:'',_0x22b903=_0x59b725&&_0x59b725[_0x5e73b2(0x270)]?_0x59b725[_0x5e73b2(0x270)]:{};await this[_0x5e73b2(0x23f)](_0x550715,_0x28444d,_0x22b903);}this[_0x5e73b2(0x26b)][_0x5e73b2(0x1c4)][_0x5e73b2(0x217)]({'isUndoable':!0x1},()=>{const _0x17275d=_0x5e73b2;_0x53c1cb[_0x17275d(0x22e)]=!0x0,this[_0x17275d(0x26b)][_0x17275d(0x1c4)][_0x17275d(0x207)][_0x17275d(0x251)][_0x17275d(0x1a2)](_0x53c1cb);});},{'priority':_0x4386f4(0x250)});}async[_0x4f492b(0x211)](_0x27d065){const _0x3c9f72=_0x4f492b,_0x21b869=this[_0x3c9f72(0x26b)][_0x3c9f72(0x1b8)][_0x3c9f72(0x1ce)](_0x28de5a),{connection:_0x4dda0d}=this[_0x3c9f72(0x26b)][_0x3c9f72(0x1b8)][_0x3c9f72(0x1ce)](_0x1022d2),_0x42c1a0=new Set();for(const _0x5dad41 of _0x27d065){const _0x6edb08=_0x5dad41[_0x3c9f72(0x1f3)];_0x6edb08&&!_0x21b869[_0x3c9f72(0x1ed)](_0x6edb08)&&_0x42c1a0[_0x3c9f72(0x199)](_0x6edb08);}if(0x0===_0x42c1a0[_0x3c9f72(0x21f)])return;const _0x4ec810=await _0x302cfb[_0x3c9f72(0x27c)](_0x4dda0d,Array[_0x3c9f72(0x27f)](_0x42c1a0));for(const _0x1156c4 of _0x4ec810)_0x21b869[_0x3c9f72(0x1ed)](_0x1156c4['id'])||_0x21b869[_0x3c9f72(0x274)](_0x1156c4);}[_0x4f492b(0x1fa)](_0x5e5517,_0x2eb836={}){const _0x661fff=_0x4f492b,_0x5b75b1=this[_0x661fff(0x26b)][_0x661fff(0x1c4)],_0x506844=[];let _0x275566=0x0;const _0x2eb950=_0x661fff(0x1c0)==typeof _0x5e5517?{'main':_0x5e5517}:_0x5e5517;for(const _0x443099 of Object[_0x661fff(0x23e)](_0x2eb950)){if(!this[_0x661fff(0x1dd)][_0x661fff(0x19b)][_0x661fff(0x245)](_0x443099))throw new _0x1091d2(_0x661fff(0x25d),this);const _0x583324=this[_0x661fff(0x26b)][_0x661fff(0x1fd)][_0x661fff(0x1c1)](_0x2eb950[_0x443099]),_0x255926=this[_0x661fff(0x1dd)][_0x661fff(0x205)](_0x443099),_0xe6f2f4=new _0x3b2724(_0x5b75b1[_0x661fff(0x197)](_0x255926,0x0),_0x583324,_0x275566++);_0x506844[_0x661fff(0x223)](_0xe6f2f4);for(const [_0x464bd8,_0x555959]of _0x583324[_0x661fff(0x1b1)]){const _0x618801=_0x5b75b1[_0x661fff(0x231)](_0x5b75b1[_0x661fff(0x18d)](_0x255926,_0x555959[_0x661fff(0x27e)][_0x661fff(0x279)][_0x661fff(0x1cb)]()),_0x5b75b1[_0x661fff(0x18d)](_0x255926,_0x555959[_0x661fff(0x224)][_0x661fff(0x279)][_0x661fff(0x1cb)]())),_0x5ea1b7=new _0x1aae9c(_0x464bd8,null,_0x618801,_0x5b75b1[_0x661fff(0x1b1)],!0x0,_0x275566++);_0x506844[_0x661fff(0x223)](_0x5ea1b7);}}if(_0x2eb836)for(const [_0x4e5a32,_0x97b9a3]of Object[_0x661fff(0x1ac)](_0x2eb836)){const _0x226cd5=_0x5b75b1[_0x661fff(0x207)][_0x661fff(0x205)](_0x4e5a32);if(!_0x226cd5)throw new _0x1091d2(_0x661fff(0x220),null);for(const [_0x38b161,_0x16a455]of Object[_0x661fff(0x1ac)](_0x97b9a3))if(null!==_0x16a455){const _0x5609f2=new _0x5dfeeb(_0x226cd5,_0x38b161,null,_0x16a455,_0x275566++);_0x506844[_0x661fff(0x223)](_0x5609f2);}}return _0x506844;}async[_0x4f492b(0x23f)](_0x3d52d6,_0x262089,_0x41c044){const _0x4f16a3=_0x4f492b;this[_0x4f16a3(0x1fa)]({[_0x3d52d6]:_0x262089},{[_0x3d52d6]:_0x41c044})[_0x4f16a3(0x25b)]((_0x2b84e3,_0x53c1be)=>{const _0x5f1584=_0x4f16a3;_0x2b84e3[_0x5f1584(0x1c6)]=this[_0x5f1584(0x1dd)][_0x5f1584(0x203)]+_0x53c1be,_0x2b84e3[_0x5f1584(0x27d)]=!0x0,this[_0x5f1584(0x257)](_0x2b84e3);}),this[_0x4f16a3(0x248)](),await this[_0x4f16a3(0x18a)]();}async[_0x4f492b(0x1aa)](_0x4130d0,_0x2393fb){const _0x531c7a=_0x4f492b;let _0x41a46c;this[_0x531c7a(0x242)]=_0x4130d0[_0x531c7a(0x266)];const _0x1d1028=_0x4130d0[_0x531c7a(0x1e6)]&&!_0x4130d0[_0x531c7a(0x23c)],_0x43b089=_0x1d1028?0x0:_0x4130d0[_0x531c7a(0x1fd)][_0x531c7a(0x1c6)];if(_0x2393fb[_0x531c7a(0x25b)](_0x147976=>{const _0x2a35e5=_0x531c7a;_0x147976[_0x2a35e5(0x27d)]=!0x0,_0x147976[_0x2a35e5(0x255)]=_0x4130d0[_0x2a35e5(0x1df)],_0x147976[_0x2a35e5(0x1f3)]=null;}),_0x1d1028)_0x41a46c=_0x2393fb,this[_0x531c7a(0x221)](_0x41a46c,_0x1d1028);else{if(_0x4130d0[_0x531c7a(0x23c)]){const _0x39cad1=this[_0x531c7a(0x1fa)](_0x4130d0[_0x531c7a(0x23c)]);this[_0x531c7a(0x1dd)][_0x531c7a(0x20a)][_0x531c7a(0x203)]=-_0x39cad1[_0x531c7a(0x234)],_0x39cad1[_0x531c7a(0x25b)](_0x2d4cd5=>{const _0x2cf5a0=_0x531c7a;_0x2d4cd5[_0x2cf5a0(0x1c6)]-=_0x39cad1[_0x2cf5a0(0x234)],_0x2d4cd5[_0x2cf5a0(0x255)]=_0x4130d0[_0x2cf5a0(0x1df)],_0x2d4cd5[_0x2cf5a0(0x27d)]=!0x0,_0x2d4cd5[_0x2cf5a0(0x1f3)]=null;}),this[_0x531c7a(0x221)](_0x39cad1,!0x0),this[_0x531c7a(0x202)][_0x531c7a(0x203)]=-_0x39cad1[_0x531c7a(0x234)]+this[_0x531c7a(0x242)],this[_0x531c7a(0x27a)](_0x39cad1);}this[_0x531c7a(0x1dd)][_0x531c7a(0x20a)][_0x531c7a(0x203)]=_0x43b089,_0x41a46c=this[_0x531c7a(0x268)](_0x4130d0[_0x531c7a(0x1fd)],_0x4130d0[_0x531c7a(0x1b4)]),await this[_0x531c7a(0x211)](_0x41a46c),this[_0x531c7a(0x221)](_0x41a46c,_0x1d1028);}_0x4130d0[_0x531c7a(0x1d5)]&&(this[_0x531c7a(0x1bf)][_0x531c7a(0x1e1)](_0x41a46c,_0x4130d0[_0x531c7a(0x1d5)]),this[_0x531c7a(0x1af)]=_0x4130d0[_0x531c7a(0x1d5)]),this[_0x531c7a(0x202)][_0x531c7a(0x203)]=_0x43b089+this[_0x531c7a(0x242)],this[_0x531c7a(0x27a)](_0x41a46c),_0x2393fb[_0x531c7a(0x1a4)](_0x51132c=>{const _0x28adcc=_0x531c7a,_0x2e9e50=this[_0x28adcc(0x288)](_0x51132c);return _0x2e9e50&&!this[_0x28adcc(0x263)][_0x28adcc(0x245)](_0x2e9e50);})[_0x531c7a(0x25b)]((_0x4133bb,_0x34737c)=>{const _0x31feb4=_0x531c7a;_0x4133bb[_0x31feb4(0x1c6)]=this[_0x31feb4(0x1dd)][_0x31feb4(0x203)]+_0x34737c,this[_0x31feb4(0x257)](_0x4133bb);}),this[_0x531c7a(0x26a)]()?(this[_0x531c7a(0x1a8)]=0x0,this[_0x531c7a(0x248)](!0x0),await this[_0x531c7a(0x18a)]()):(this[_0x531c7a(0x26c)]=!0x1,this[_0x531c7a(0x190)]());}[_0x4f492b(0x208)](_0x2d4089,_0x1daddd){const _0x136511=_0x4f492b,_0x1f8bdc=_0x1daddd&&_0x1daddd[_0x136511(0x236)];if(_0x1f8bdc&&_0x1f8bdc[_0x136511(0x19c)](_0x136511(0x18f)))throw _0x1daddd;const _0x342630=this[_0x136511(0x26b)][_0x136511(0x1b8)][_0x136511(0x1ce)](_0x1022d2);throw this[_0x136511(0x26c)]=!0x0,_0x342630[_0x136511(0x1da)](),this[_0x136511(0x26b)][_0x136511(0x21a)](_0x136511(0x1c9)),new _0x1091d2(_0x2d4089,this[_0x136511(0x26b)],_0x1f8bdc?{'originalError':_0x1f8bdc}:void 0x0);}[_0x4f492b(0x257)](_0x23df4e){const _0x27c9b6=_0x4f492b;this[_0x27c9b6(0x25f)][_0x27c9b6(0x245)](_0x23df4e)||(this[_0x27c9b6(0x25f)][_0x27c9b6(0x199)](_0x23df4e),this[_0x27c9b6(0x24c)][_0x27c9b6(0x223)](_0x23df4e),this[_0x27c9b6(0x24d)]||_0x27c9b6(0x1be)==_0x23df4e[_0x27c9b6(0x206)]&&!_0x23df4e[_0x27c9b6(0x1c7)]||this[_0x27c9b6(0x229)]());}[_0x4f492b(0x248)](_0x228938=!0x1){const _0x3eaf4d=_0x4f492b;!_0x228938&&this[_0x3eaf4d(0x26c)]||(this[_0x3eaf4d(0x26c)]=!0x0,clearTimeout(this[_0x3eaf4d(0x252)]),this[_0x3eaf4d(0x252)]=setTimeout(()=>{const _0x1d6eb7=_0x3eaf4d;this[_0x1d6eb7(0x1d9)]()[_0x1d6eb7(0x25c)](_0xa89597=>{const _0x4661d0=_0x1d6eb7;_0xa89597&&(this[_0x4661d0(0x190)](),this[_0x4661d0(0x26c)]=!0x1);})[_0x1d6eb7(0x262)](_0x22abd2=>{const _0xe9ba07=_0x1d6eb7;this[_0xe9ba07(0x190)](),this[_0xe9ba07(0x26c)]=!0x1,function(_0x1d434b){const _0x42a0aa=_0xe9ba07;return _0x1d434b[_0x42a0aa(0x236)][_0x42a0aa(0x19c)](_0x42a0aa(0x286))||_0x1d434b[_0x42a0aa(0x236)][_0x42a0aa(0x19c)](_0x42a0aa(0x1ea))||_0x1d434b[_0x42a0aa(0x236)][_0x42a0aa(0x19c)](_0x42a0aa(0x1fc));}(_0x22abd2)||this[_0xe9ba07(0x208)](_0x22abd2[_0xe9ba07(0x236)],_0x22abd2);});},this[_0x3eaf4d(0x1a8)]));}[_0x4f492b(0x18a)](){return new Promise(_0x120109=>{const _0x1f92ed=_0xc8cb;this['on'](_0x1f92ed(0x21b),()=>{_0x120109();});});}async[_0x4f492b(0x1d9)](){const _0x12e70b=_0x4f492b,_0x51fd44=this[_0x12e70b(0x26b)][_0x12e70b(0x1b8)][_0x12e70b(0x1ce)](_0x4cd1fe);if(this[_0x12e70b(0x269)]()&&(_0x51fd44[_0x12e70b(0x1e2)](),this[_0x12e70b(0x227)]=!0x1),!this[_0x12e70b(0x26a)]())return!0x0;const _0x526d7e=[...this[_0x12e70b(0x24c)]];for(const _0x38f9ef of _0x526d7e)_0x38f9ef[_0x12e70b(0x289)]=this[_0x12e70b(0x1dd)][_0x12e70b(0x20a)][_0x12e70b(0x235)](_0x38f9ef);const _0x1ef3e9=this[_0x12e70b(0x1bf)][_0x12e70b(0x264)](_0x526d7e),_0x3b9745=G++,_0xe1a165=this[_0x12e70b(0x228)](_0x526d7e),_0x59109e=await this[_0x12e70b(0x193)][_0x12e70b(0x1d6)](_0xe1a165,_0xe1a165[_0x12e70b(0x1c6)],_0x1ef3e9);try{return await this[_0x12e70b(0x283)](_0x526d7e,_0x59109e,_0x3b9745);}catch(_0x29afaa){return this[_0x12e70b(0x208)](_0x12e70b(0x1c8),_0x29afaa);}}async[_0x4f492b(0x283)](_0x5810c3,_0x24d0b7,_0x20cf69){const _0x40d878=_0x4f492b;if(_0x40d878(0x213)in _0x24d0b7)throw _0x24d0b7[_0x40d878(0x213)];let _0x2d1ace=!0x1;if(_0x24d0b7[_0x40d878(0x1e6)]){_0x24d0b7[_0x40d878(0x1d5)]&&(this[_0x40d878(0x1af)]=_0x24d0b7[_0x40d878(0x1d5)]),this[_0x40d878(0x24c)]=this[_0x40d878(0x24c)][_0x40d878(0x1a4)](_0x330056=>!_0x5810c3[_0x40d878(0x210)](_0x330056));for(const _0x35c258 of _0x5810c3)_0x35c258[_0x40d878(0x255)]=_0x40d878(0x1c5)in _0x24d0b7&&_0x24d0b7[_0x40d878(0x1c5)]||void 0x0;K(_0x5810c3,_0x24d0b7[_0x40d878(0x203)]-_0x5810c3[_0x40d878(0x234)]),this[_0x40d878(0x27a)](_0x5810c3);const _0x1edfb9=_0x5810c3[_0x40d878(0x1a4)](_0x5e3b89=>{const _0x14651a=_0x40d878;if(!_0x5e3b89[_0x14651a(0x27d)])return!0x1;const _0x4cf00e=this[_0x14651a(0x288)](_0x5e3b89);return _0x4cf00e&&!this[_0x14651a(0x263)][_0x14651a(0x245)](_0x4cf00e);});K(_0x1edfb9,this[_0x40d878(0x1dd)][_0x40d878(0x203)]),this[_0x40d878(0x221)](_0x1edfb9),_0x2d1ace=!0x0,this[_0x40d878(0x1a8)]=this[_0x40d878(0x249)];}else{const _0x719abd=this[_0x40d878(0x268)](_0x24d0b7[_0x40d878(0x1fd)],_0x24d0b7[_0x40d878(0x1b4)])[_0x40d878(0x1a4)](_0x444552=>_0x444552[_0x40d878(0x1c6)]>=this[_0x40d878(0x194)]);_0x719abd[_0x40d878(0x25b)](_0x6bde95=>this[_0x40d878(0x19a)](_0x6bde95)),this[_0x40d878(0x24c)]=this[_0x40d878(0x24c)][_0x40d878(0x1a4)](_0x51943c=>!_0x51943c[_0x40d878(0x27d)]||!this[_0x40d878(0x263)][_0x40d878(0x245)](this[_0x40d878(0x288)](_0x51943c))),this[_0x40d878(0x24c)][_0x40d878(0x234)]&&K(this[_0x40d878(0x24c)],this[_0x40d878(0x24c)][0x0][_0x40d878(0x1c6)]),await this[_0x40d878(0x211)](_0x719abd),_0x2d1ace=this[_0x40d878(0x1c2)](_0x719abd,_0x24d0b7[_0x40d878(0x203)],_0x24d0b7[_0x40d878(0x1d5)]),this[_0x40d878(0x1a8)]=Math[_0x40d878(0x216)](this[_0x40d878(0x1a8)]/0x2);}return _0x2d1ace?!this[_0x40d878(0x26a)]()||(this[_0x40d878(0x248)](!0x0),!0x1):this[_0x40d878(0x208)](_0x40d878(0x1ae));}[_0x4f492b(0x1c2)](_0x4d9cb9,_0x16993f,_0x212df3){const _0x506316=_0x4f492b;try{const _0x5eb8fb={'document':this[_0x506316(0x1dd)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x446059,operationsB:_0x377938,originalOperations:_0x335202}=_0xdcce9a(_0x4d9cb9,this[_0x506316(0x24c)],_0x5eb8fb);K(_0x446059,this[_0x506316(0x1dd)][_0x506316(0x203)]),K(_0x377938,_0x16993f);for(const _0x3819a7 of _0x446059){const _0x3d8624=_0x335202[_0x506316(0x1ce)](_0x3819a7);_0x3819a7[_0x506316(0x1f3)]=_0x3d8624?_0x3d8624[_0x506316(0x1f3)]:null;}_0x212df3&&(this[_0x506316(0x1bf)][_0x506316(0x1e1)](_0x4d9cb9,_0x212df3),this[_0x506316(0x1af)]=_0x212df3),this[_0x506316(0x24c)]=[..._0x377938],this[_0x506316(0x221)](_0x446059),this[_0x506316(0x27a)](_0x4d9cb9);}catch(_0x51d2d5){return console[_0x506316(0x213)](_0x51d2d5),!0x1;}return!0x0;}[_0x4f492b(0x221)](_0x32bf1a,_0x51e7ed=!0x1){const _0x458b03=_0x4f492b;this[_0x458b03(0x26b)][_0x458b03(0x1c4)][_0x458b03(0x217)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5aa922=>{const _0xede49c=_0x458b03;for(const _0x19a30a of _0x32bf1a)this[_0xede49c(0x25f)][_0xede49c(0x199)](_0x19a30a),this[_0xede49c(0x19a)](_0x19a30a),_0x5aa922[_0xede49c(0x1ad)][_0xede49c(0x188)](_0x19a30a),this[_0xede49c(0x26b)][_0xede49c(0x1c4)][_0xede49c(0x20d)](_0x19a30a);});}[_0x4f492b(0x19a)](_0x43942e){const _0xecc448=_0x4f492b,_0x5d0090=this[_0xecc448(0x288)](_0x43942e);_0x5d0090&&this[_0xecc448(0x263)][_0xecc448(0x199)](_0x5d0090);}[_0x4f492b(0x288)](_0x447837){const _0x34d100=_0x4f492b;let _0x5cbf49,_0x12a3e6;switch(_0x447837[_0x34d100(0x206)]){case _0x34d100(0x1fb):_0x5cbf49=_0x447837[_0x34d100(0x1b0)][_0x34d100(0x1a3)];break;case _0x34d100(0x1be):if(_0x12a3e6=_0x447837[_0x34d100(0x196)],!_0x12a3e6)return null;_0x5cbf49=_0x12a3e6[_0x34d100(0x1a3)];break;case _0x34d100(0x1b3):_0x5cbf49=_0x447837[_0x34d100(0x1a3)];break;case _0x34d100(0x1bd):_0x5cbf49=_0x447837[_0x34d100(0x258)];break;case _0x34d100(0x1cf):_0x5cbf49=_0x447837[_0x34d100(0x20e)][_0x34d100(0x1a3)];break;default:return null;}return _0x5cbf49[_0x34d100(0x280)];}[_0x4f492b(0x27a)](_0x635f51){const _0x1b3f1e=_0x4f492b;_0x635f51[_0x1b3f1e(0x25b)](_0x830e57=>{const _0x13e82f=_0x1b3f1e,_0x312af6=_0x830e57[_0x13e82f(0x1cc)]();_0x312af6[_0x13e82f(0x1f3)]=_0x830e57[_0x13e82f(0x1f3)],_0x312af6[_0x13e82f(0x27d)]=!!_0x830e57[_0x13e82f(0x27d)],_0x312af6[_0x13e82f(0x255)]=_0x830e57[_0x13e82f(0x255)],_0x312af6[_0x13e82f(0x1c6)]+=this[_0x13e82f(0x242)],_0x830e57[_0x13e82f(0x247)]&&this[_0x13e82f(0x222)][_0x13e82f(0x199)](_0x312af6),this[_0x13e82f(0x202)][_0x13e82f(0x188)](_0x312af6);});}[_0x4f492b(0x1a5)](_0x2d66f2){const _0x232c33=_0x4f492b,_0x38368d=this[_0x232c33(0x26b)][_0x232c33(0x1b8)][_0x232c33(0x1ce)](_0x232c33(0x19f)),_0x21ec1c=this[_0x232c33(0x26b)][_0x232c33(0x200)];_0x2d66f2||(_0x2d66f2=_0x8372f5(_0x21ec1c,_0x232c33(0x21e))),_0x38368d[_0x232c33(0x273)](_0x2d66f2,{'title':_0x8372f5(_0x21ec1c,_0x232c33(0x24e)),'namespace':_0x232c33(0x260)}),this[_0x232c33(0x26e)]=!0x0,clearTimeout(this[_0x232c33(0x252)]),this[_0x232c33(0x24c)]=[],this[_0x232c33(0x26b)][_0x232c33(0x1b8)][_0x232c33(0x1ce)](_0x1022d2)[_0x232c33(0x1da)]();}[_0x4f492b(0x229)](){const _0x572ce3=_0x4f492b;this[_0x572ce3(0x24d)]||(this[_0x572ce3(0x24d)]=this[_0x572ce3(0x26b)][_0x572ce3(0x1b8)][_0x572ce3(0x1ce)](_0x1337dd)[_0x572ce3(0x199)](_0x8372f5(this[_0x572ce3(0x26b)][_0x572ce3(0x200)],_0x572ce3(0x25a))));}[_0x4f492b(0x190)](){const _0x3691af=_0x4f492b;this[_0x3691af(0x24d)]&&(this[_0x3691af(0x26b)][_0x3691af(0x1b8)][_0x3691af(0x1ce)](_0x1337dd)[_0x3691af(0x238)](this[_0x3691af(0x24d)]),this[_0x3691af(0x24d)]=null);}[_0x4f492b(0x228)](_0x294562){const _0x3f6066=_0x4f492b,_0x3eb37c=_0x294562[_0x3f6066(0x232)](_0x40b1df=>_0x40b1df[_0x3f6066(0x27b)]());return this[_0x3f6066(0x20b)][_0x3f6066(0x1c3)](_0x3eb37c);}[_0x4f492b(0x268)](_0x3c1ed9,_0x5c0c04){const _0x4bd679=_0x4f492b;return this[_0x4bd679(0x20b)][_0x4bd679(0x1eb)](_0x3c1ed9)[_0x4bd679(0x232)]((_0x5863aa,_0x5c0fe3)=>{const _0x4c4f67=_0x4bd679,_0x2651a4=_0x4c4f67(0x204)==_0x5c0c04[_0x5c0fe3][_0x4c4f67(0x206)];if(_0x4c4f67(0x1ba)==_0x5863aa[_0x4c4f67(0x272)]){const _0x2fb6f6=_0x5863aa[_0x4c4f67(0x1b0)][_0x4c4f67(0x1a3)];!this[_0x4c4f67(0x1dd)][_0x4c4f67(0x205)](_0x2fb6f6)&&(this[_0x4c4f67(0x1dd)][_0x4c4f67(0x1dc)](_0x4c4f67(0x23b),_0x2fb6f6)[_0x4c4f67(0x28b)]=!0x1);}const _0x2f4c51=_0x491e8f[_0x4c4f67(0x281)](_0x5863aa,this[_0x4c4f67(0x1dd)]);return _0x2f4c51[_0x4c4f67(0x289)]=_0x5863aa[_0x4c4f67(0x289)],_0x2f4c51[_0x4c4f67(0x27d)]=_0x2651a4,_0x2f4c51[_0x4c4f67(0x1f3)]=_0x2651a4?null:_0x5c0c04[_0x5c0fe3][_0x4c4f67(0x230)],_0x2f4c51[_0x4c4f67(0x247)]=_0x4c4f67(0x239)===_0x5c0c04[_0x5c0fe3][_0x4c4f67(0x206)],_0x2f4c51[_0x4c4f67(0x255)]=_0x5c0c04[_0x5c0fe3][_0x4c4f67(0x255)],_0x2f4c51;});}[_0x4f492b(0x22c)](){const _0xa043c7=_0x4f492b;this[_0xa043c7(0x227)]=!0x0,this[_0xa043c7(0x269)]()?this[_0xa043c7(0x248)]():this[_0xa043c7(0x227)]=!0x1;}[_0x4f492b(0x269)](){const _0x5d8899=_0x4f492b,_0x34fec5=this[_0x5d8899(0x26b)][_0x5d8899(0x1b8)][_0x5d8899(0x1ce)](_0x409c07)[_0x5d8899(0x21c)][_0x5d8899(0x1ce)](this[_0x5d8899(0x259)]);return!this[_0x5d8899(0x26b)][_0x5d8899(0x24f)]&&!!_0x34fec5&&_0x34fec5[_0x5d8899(0x234)]>0x1&&this[_0x5d8899(0x227)];}[_0x4f492b(0x26a)](){const _0xb139c2=_0x4f492b;return this[_0xb139c2(0x24c)][_0xb139c2(0x234)]>0x0||this[_0xb139c2(0x269)]();}}class $ extends Error{}function K(_0x46176c,_0x512867){const _0x4e40e7=_0x4f492b;for(const _0x2094da of _0x46176c)_0x2094da[_0x4e40e7(0x1c6)]=_0x512867++;}class J{[_0x4f492b(0x25e)];[_0x4f492b(0x1d0)];constructor(_0x4131e8){const _0x127a81=_0x4f492b;this[_0x127a81(0x25e)]=_0x4131e8,this[_0x127a81(0x1d0)]=new WeakMap();}[_0x4f492b(0x264)](_0x5cf8eb){const _0x348f19=_0x4f492b;let _0x13b48f=_0x5cf8eb[_0x348f19(0x234)];for(;_0x13b48f--;){const _0x1dccc3=_0x5cf8eb[_0x13b48f];if(!this[_0x348f19(0x25e)][_0x348f19(0x245)](_0x1dccc3)){if(!this[_0x348f19(0x1d0)][_0x348f19(0x245)](_0x1dccc3)){const _0x1db567=_0x244c95()[_0x348f19(0x1cb)](0x1,0x12);this[_0x348f19(0x1d0)][_0x348f19(0x1d4)](_0x1dccc3,_0x1db567);}return this[_0x348f19(0x1d0)][_0x348f19(0x1ce)](_0x1dccc3);}}}[_0x4f492b(0x1e1)](_0x348097,_0x4ec7ae){const _0x2e8a70=_0x4f492b;if(!_0x4ec7ae)return;let _0x4f4588=_0x348097[_0x2e8a70(0x234)];for(;_0x4f4588--;){const _0xe23ac7=_0x348097[_0x4f4588];this[_0x2e8a70(0x25e)][_0x2e8a70(0x245)](_0xe23ac7)||this[_0x2e8a70(0x1d0)][_0x2e8a70(0x1d4)](_0xe23ac7,_0x4ec7ae);}}}function _0x3e90(){const _0x4bedad=['__className','showWarning','addUser','Permissions','getDocumentDetails','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','unregister','path','_updateServerHistory','toJSON','getMany','_isInit','start','from','rootName','fromJSON','return','_handleServerResponse','177003oiJENZ','finally','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-init-session-connection-error','_getAffectedRoot','wasUndone','stopListening','_isAttached','3401237xhGmnQ','addOperation','collaboration','_waitUntilSynced','pluginName','_setUpDataInit','createPositionFromPath','removeFromReconnectionStack','realtimecollaborationclient','_clearPendingAction','addToReconnectionStack','connect','_service','_lastServerVersion','_connectService','newRange','createPositionAt','cloudServices.bundleVersion','add','_addKnownRoot','roots','startsWith','apply','_handleReconnectionResponse','Notification','document:write','rtc-offline','_bufferRootLoad','root','filter','_handleReconnectionError','sessionId','6434672rjkDam','_currentBufferDelay','destroy','_handleInitialConnectionData','realtimecollaborationclient-init-connection-failed','entries','batch','realtimecollaborationclient-handleserverresponse','_lastSyncedOperationId','position','markers','isPremiumPlugin','addRootAttribute','metadata','disconnected','editing','connection','plugins','register','InsertOperation','collaboration-missing-channelid','lastSyncVersion','addRoot','marker','_operationIdentifier','string','parse','_handleExternalOperations','compress','model','lastOperationAcceptedAt','baseVersion','affectsData','realtimecollaborationclient-sendbufferedoperations','realtimecollaborationclient-error','getOperationAuthor','slice','clone','2036860JiOEpT','get','move','_operationToId','_handleReceivedOperations','isOfficialPlugin','ready','set','lastOperationId','sendOperations','isDocumentOperation','bind','_sendBufferedOperations','disconnect','CollaborativeEditingService','createRoot','_document','isEnabled','sessionCreatedAt','rootsAttributes','setIdForTheLastOperation','createUserMarkerOperations','view','5847354ezebYh','change:range','wereChangesApplied','getConnectedSessions','_connectAfterSessionHasBeenFlushed','directChange','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','decompress','reconnect','getUser','operationsReceived','realtimecollaborationclient-init-service-internal-error','config','loadRoot','_isEditingAllowed','_authorId','CommentsOnly','_disconnectService','6bsXbTG','realtimecollaborationclient-init-service-incorrect-server-operation','code','mySessionId','_getOperationsFromInitData','insert','cloud-services-internal-error:\x20Request\x20timeout.','data','define','_handleSendingSelectionMarkers','locale','change:hasDomSelection','serverHistory','version','init','getRoot','type','document','_crash','fire','history','_compressor','connected','applyOperation','targetPosition','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.','includes','_fetchMissingUsers','rtc-destroyed','error','reconnection:\x20flushed\x20session','currentDocumentSession','round','enqueueChange','47064CGXzeU','342535dhtcaN','enableReadOnlyMode','change:_isPendingUpdate','channelSessions','27hnSyUB','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.','size','multi-root-editor-root-attributes-no-root','_applyOperationsSet','_disconnectionOperations','push','end','lastDocumentSession','setPermissions','_hasSelectionChanged','_compressOperations','_setPendingAction','reset','requires','_refreshUserSelectionMarkers','permissions','_isLoaded','404','userId','createRange','map','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','length','isUndoneOperation','message','_isConnected','remove','cs:removeUser','getOperations','$root','initData','off','keys','_loadRoot','realtimecollaborationclient-init-document-already-initialized','_initSessionsHandling','_offset','cloudDocumentVersion','disableReadOnlyMode','has','suppressErrorInCollaboration','_isDisconnection','_sendBufferedOperationsDelayed','_baseBufferDelay','RealTimeCollaborationClient','state','_bufferedOperations','_pendingAction','Synchronization\x20issue','isReadOnly','high','differ','_sendBufferedOperationsDelayId','collaboration.channelId','sessionAdd:','createdAt','change:_isEditingAllowed','_saveOperationInBuffer','affectedSelectable','_channelId','PENDING_ACTION_SENDING_DATA','forEach','then','realtimecollaborationclient-init-non-existent-root','_ignoredOperations','_knownOperations','real-time-collaboration','_initThrowingOnDataSet','catch','_knownRootNames','getIdOfTheLastOperation','stop','offset','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_decompressOperations','_shouldSendSelectionUpdate','_shouldSendUpdate','editor','_isPendingUpdate','listenTo','_hasSynchronizationProblem','409','attributes','selection'];_0x3e90=function(){return _0x4bedad;};return _0x3e90();}
23
+ const _0x4106fb=_0x3c9d;(function(_0x17b42b,_0x294e3d){const _0x219f89=_0x3c9d,_0x565b30=_0x17b42b();while(!![]){try{const _0x2e6f62=-parseInt(_0x219f89(0x266))/0x1*(-parseInt(_0x219f89(0x251))/0x2)+-parseInt(_0x219f89(0x19a))/0x3*(-parseInt(_0x219f89(0x209))/0x4)+parseInt(_0x219f89(0x26a))/0x5*(-parseInt(_0x219f89(0x1c8))/0x6)+-parseInt(_0x219f89(0x222))/0x7*(-parseInt(_0x219f89(0x1af))/0x8)+parseInt(_0x219f89(0x1d8))/0x9+parseInt(_0x219f89(0x228))/0xa*(-parseInt(_0x219f89(0x20c))/0xb)+-parseInt(_0x219f89(0x1a8))/0xc*(parseInt(_0x219f89(0x24d))/0xd);if(_0x2e6f62===_0x294e3d)break;else _0x565b30['push'](_0x565b30['shift']());}catch(_0x160020){_0x565b30['push'](_0x565b30['shift']());}}}(_0xc6cf,0xce24e));function _0xc6cf(){const _0x182d3e=['real-time-collaboration','start','_handleSendingSelectionMarkers','$root','newRange','_initThrowingOnDataSet','_operationToId','lastSyncVersion','realtimecollaborationclient-init-service-incorrect-server-operation','batch','1236SflEij','model','CollaborativeEditingService','parse','isOfficialPlugin','data','bind','2528QLaVWP','decompress','keys','_handleReceivedOperations','realtimecollaborationclient-init-session-connection-error','_decompressOperations','permissions','removeFromReconnectionStack','rootsAttributes','register','history','isReadOnly','getMany','404','lastDocumentSession','rootName','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_handleInitialConnectionData','change:_isEditingAllowed','wasUndone','cs:removeUser','get','_connectAfterSessionHasBeenFlushed','_isEditingAllowed','_isInit','54sboZGW','reconnection:\x20flushed\x20session','toJSON','reset','_pendingAction','set','_disconnectService','finally','operationsReceived','affectsData','document:write','_fetchMissingUsers','getOperations','offset','_channelId','length','3016728QJSDbY','remove','differ','_sendBufferedOperationsDelayId','Permissions','getUser','forEach','createPositionAt','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.','_getAffectedRoot','state','_lastServerVersion','version','path','_sendBufferedOperations','_waitUntilSynced','realtimecollaborationclient-init-non-existent-root','affectedSelectable','marker','realtimecollaborationclient-init-service-internal-error','startsWith','createRange','unregister','enqueueChange','map','addRootAttribute','_knownRootNames','realtimecollaborationclient-init-document-already-initialized','editing','_loadRoot','_document','_initSessionsHandling','addRoot','type','_offset','_setUpDataInit','end','_operationIdentifier','channelSessions','_isDisconnection','getOperationAuthor','destroy','getIdOfTheLastOperation','listenTo','rtc-offline','_saveOperationInBuffer','loadRoot','suppressErrorInCollaboration','disconnected','4uvouwW','getRoot','createPositionFromPath','4841023IKfPHj','root','compress','config','fire','off','_ignoredOperations','_hasSynchronizationProblem','_handleReconnectionResponse','apply','high','connection','change:hasDomSelection','_baseBufferDelay','filter','_connectService','directChange','realtimecollaborationclient-error','from','catch','sessionId','cloudServices.bundleVersion','15841njJxvr','__className','createUserMarkerOperations','clone','lastOperationId','_handleReconnectionError','10VhIMas','getConnectedSessions','initData','attributes','then','init','collaboration','ready','markers','realtimecollaborationclient-handleserverresponse','size','collaboration-missing-channelid','addOperation','change:_isPendingUpdate','change:range','Synchronization\x20issue','409','_updateServerHistory','multi-root-editor-root-attributes-no-root','_knownOperations','insert','_bufferRootLoad','cloud-services-internal-error:\x20Request\x20timeout.','targetPosition','InsertOperation','_authorId','createdAt','_applyOperationsSet','move','code','baseVersion','document','round','metadata','_compressOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','define','119093wMMMMj','message','showWarning','_shouldSendUpdate','7394SsJnSG','_getOperationsFromInitData','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isAttached','_handleExternalOperations','isDocumentOperation','_currentBufferDelay','_sendBufferedOperationsDelayed','connected','RealTimeCollaborationClient','addUser','CommentsOnly','realtimecollaborationclient','view','isEnabled','isPremiumPlugin','applyOperation','setPermissions','rtc-destroyed','add','reconnect','173LYKhVj','disconnect','cloudDocumentVersion','wereChangesApplied','418885tbhIcs','realtimecollaborationclient-sendbufferedoperations','Notification','isUndoneOperation','addToReconnectionStack','_shouldSendSelectionUpdate','fromJSON','push','_clearPendingAction','userId','setIdForTheLastOperation','requires','enableReadOnlyMode','_isPendingUpdate','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.','plugins','connect','stop','_disconnectionOperations','_setPendingAction','_service','mySessionId','has','collaboration.channelId','locale','includes','slice','getDocumentDetails','return','entries','_bufferedOperations','sessionAdd:','position','string','disableReadOnlyMode','createRoot','currentDocumentSession','_lastSyncedOperationId','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','stopListening','PENDING_ACTION_SENDING_DATA','_isLoaded','sessionCreatedAt','_refreshUserSelectionMarkers','realtimecollaborationclient-init-connection-failed','sendOperations','roots','_addKnownRoot','error','_hasSelectionChanged','_compressor','selection','pluginName','_handleServerResponse','_isConnected','editor','cloud-services-internal-error:\x20Not\x20connected.','3876462ArGOdO','_crash','lastOperationAcceptedAt','serverHistory'];_0xc6cf=function(){return _0x182d3e;};return _0xc6cf();}import{Plugin as _0x408efc,PendingActions as _0x9e5b59}from'ckeditor5/src/core.js';import{CKEditorError as _0x513711,version as _0x5cb66f,uid as _0x3d9f4b}from'ckeditor5/src/utils.js';import{Notification as _0x4764ec}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x354d6c,NoOperation as _0x25b940,InsertOperation as _0x4d5b00,MarkerOperation as _0x32299d,RootAttributeOperation as _0x858a6a,OperationFactory as _0x347884,History as _0x54dbb1}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x22a6c4}from'./websocketgateway.js';import{Sessions as _0xad28a1}from'./sessions.js';import{UserMarkers as _0x14d685}from'./usermarkers.js';import{getTranslation as _0x1e43c8}from'../common-translations.js';import{Compressor as _0x5951ad}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x417b0d}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x561321,CollaborativeEditingService as _0x1ec07f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;export class RealTimeCollaborationClient extends _0x408efc{static [_0x4106fb(0x1aa)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1ec07f)());[_0x4106fb(0x1fa)];[_0x4106fb(0x220)];[_0x4106fb(0x19d)];[_0x4106fb(0x1d6)];[_0x4106fb(0x175)];[_0x4106fb(0x1f6)];[_0x4106fb(0x193)];[_0x4106fb(0x17f)];[_0x4106fb(0x23b)];[_0x4106fb(0x1f2)];[_0x4106fb(0x1cc)];[_0x4106fb(0x192)];[_0x4106fb(0x1db)];[_0x4106fb(0x219)];[_0x4106fb(0x257)];[_0x4106fb(0x186)];[_0x4106fb(0x173)];[_0x4106fb(0x1fd)];static get[_0x4106fb(0x16c)](){return[_0x22a6c4,_0xad28a1,_0x14d685,_0x9e5b59,_0x417b0d,_0x4764ec];}static get[_0x4106fb(0x195)](){const _0x34c3ea=_0x4106fb;return _0x34c3ea(0x25a);}static get[_0x4106fb(0x1ac)](){return!0x0;}static get[_0x4106fb(0x260)](){return!0x0;}get[_0x4106fb(0x268)](){const _0x463923=_0x4106fb;return this[_0x463923(0x1e3)]+this[_0x463923(0x1fa)];}get[_0x4106fb(0x1e3)](){const _0x4259d5=_0x4106fb;return this[_0x4259d5(0x19d)][_0x4259d5(0x1e4)]-this[_0x4259d5(0x1fa)];}get[_0x4106fb(0x1a5)](){const _0x4482f1=_0x4106fb,_0x4bc7cf=this[_0x4482f1(0x19d)][_0x4482f1(0x1d4)]();for(let _0x24c0e5=_0x4bc7cf[_0x4482f1(0x1d7)]-0x1;_0x24c0e5>=0x0;_0x24c0e5--){const _0x20f98b=_0x4bc7cf[_0x24c0e5];if(!this[_0x4482f1(0x173)][_0x4482f1(0x177)](_0x20f98b))return _0x20f98b[_0x4482f1(0x246)]+0x1-this[_0x4482f1(0x1fa)];}return 0x0;}constructor(_0x54d371){const _0x3d81c6=_0x4106fb;if(super(_0x54d371),this[_0x3d81c6(0x1fa)]=0x0,this[_0x3d81c6(0x220)]=null,this[_0x3d81c6(0x19d)]=new _0x54dbb1(),this[_0x3d81c6(0x198)][_0x3d81c6(0x20f)][_0x3d81c6(0x24c)](_0x3d81c6(0x22e),{}),this[_0x3d81c6(0x1d6)]=this[_0x3d81c6(0x198)][_0x3d81c6(0x20f)][_0x3d81c6(0x1c4)](_0x3d81c6(0x178)),!this[_0x3d81c6(0x1d6)])throw new _0x513711(_0x3d81c6(0x233),this);const _0x2f0664=_0x54d371[_0x3d81c6(0x20f)][_0x3d81c6(0x1c4)](_0x3d81c6(0x221))||_0x5cb66f;this[_0x3d81c6(0x175)]=new RealTimeCollaborationClient[(_0x3d81c6(0x1aa))](_0x2f0664,this[_0x3d81c6(0x1d6)]),this[_0x3d81c6(0x1f6)]=this[_0x3d81c6(0x198)][_0x3d81c6(0x1a9)][_0x3d81c6(0x247)],this[_0x3d81c6(0x193)]=new _0x5951ad(),this[_0x3d81c6(0x17f)]=[],this[_0x3d81c6(0x23b)]=new WeakSet(),this[_0x3d81c6(0x1f2)]=new Set(),this[_0x3d81c6(0x1cd)](_0x3d81c6(0x16e),!0x1),this[_0x3d81c6(0x1cd)](_0x3d81c6(0x213),!0x1),this[_0x3d81c6(0x1cc)]=null,this[_0x3d81c6(0x192)]=!0x1,this[_0x3d81c6(0x1db)]=null,this[_0x3d81c6(0x219)]=0x12c,this[_0x3d81c6(0x257)]=this[_0x3d81c6(0x219)],this[_0x3d81c6(0x186)]=null,this[_0x3d81c6(0x173)]=new WeakSet(),this[_0x3d81c6(0x1fd)]=new F(this[_0x3d81c6(0x173)]);}[_0x4106fb(0x22d)](){const _0x72feb8=_0x4106fb,_0x102a82=this[_0x72feb8(0x198)],_0x166745=_0x102a82[_0x72feb8(0x170)][_0x72feb8(0x1c4)](_0x417b0d),_0x40c2eb=_0x102a82[_0x72feb8(0x170)][_0x72feb8(0x1c4)](_0x22a6c4);this[_0x72feb8(0x203)](_0x166745,_0x72feb8(0x200),(_0x47d117,_0x5b2a95)=>{const _0xf3e88=_0x72feb8,_0x5108f5=_0x5b2a95[0x0];_0x5108f5[_0xf3e88(0x241)]&&(_0x47d117[_0xf3e88(0x17d)]=_0x166745[_0xf3e88(0x1dd)](_0x5108f5[_0xf3e88(0x241)]),_0x47d117[_0xf3e88(0x172)]()),null===_0x5108f5[_0xf3e88(0x241)]&&(_0x47d117[_0xf3e88(0x17d)]=null,_0x47d117[_0xf3e88(0x172)]());},{'priority':_0x72feb8(0x216)}),this[_0x72feb8(0x203)](_0x102a82[_0x72feb8(0x1a9)][_0x72feb8(0x247)][_0x72feb8(0x194)],_0x72feb8(0x236),(_0x2d4264,_0x41c052)=>{const _0x4fb7fb=_0x72feb8;_0x41c052[_0x4fb7fb(0x21c)]&&this[_0x4fb7fb(0x18c)]();}),this[_0x72feb8(0x203)](_0x102a82[_0x72feb8(0x1f4)][_0x72feb8(0x25e)],_0x72feb8(0x218),()=>{const _0x2aa43a=_0x72feb8;this[_0x2aa43a(0x18c)]();}),this[_0x72feb8(0x1a3)](),_0x102a82[_0x72feb8(0x1a9)]['on'](_0x72feb8(0x261),(_0x438462,_0x21cd42)=>{const _0x550fbc=_0x72feb8,_0x4e3a13=_0x21cd42[0x0];_0x4e3a13[_0x550fbc(0x256)]&&(this[_0x550fbc(0x205)](_0x4e3a13),this[_0x550fbc(0x250)]()&&this[_0x550fbc(0x258)]());}),this[_0x72feb8(0x1fb)](),this[_0x72feb8(0x1ae)](_0x72feb8(0x1c6))['to'](_0x40c2eb,_0x72feb8(0x1e2),this,_0x72feb8(0x213),(_0x6e67b7,_0x2e39e7)=>_0x72feb8(0x259)===_0x6e67b7&&!_0x2e39e7),this['on'](_0x72feb8(0x1c1),()=>{const _0x3640c2=_0x72feb8;this[_0x3640c2(0x1c6)]?_0x102a82[_0x3640c2(0x183)](_0x3640c2(0x204)):_0x102a82[_0x3640c2(0x16d)](_0x3640c2(0x204));}),this[_0x72feb8(0x1c6)]?_0x102a82[_0x72feb8(0x183)](_0x72feb8(0x204)):_0x102a82[_0x72feb8(0x16d)](_0x72feb8(0x204)),this[_0x72feb8(0x1cd)](_0x72feb8(0x197),!0x1);}async[_0x4106fb(0x265)](){const _0xd5053e=_0x4106fb,_0x4ab1fc=this[_0xd5053e(0x198)][_0xd5053e(0x170)][_0xd5053e(0x1c4)](_0xad28a1),_0x6fbe58=this[_0xd5053e(0x198)][_0xd5053e(0x170)][_0xd5053e(0x1c4)](_0x22a6c4);try{this[_0xd5053e(0x16e)]=!0x0,_0x4ab1fc[_0xd5053e(0x1ee)](this[_0xd5053e(0x1d6)]);const _0xd0310b=await this[_0xd5053e(0x175)][_0xd5053e(0x265)](_0x6fbe58[_0xd5053e(0x217)],this[_0xd5053e(0x1a5)]);await this[_0xd5053e(0x214)](_0xd0310b)&&(this[_0xd5053e(0x16e)]=!0x1,this[_0xd5053e(0x169)]());const _0x32cb68=await this[_0xd5053e(0x175)][_0xd5053e(0x229)]();_0x4ab1fc[_0xd5053e(0x1b8)](this[_0xd5053e(0x1d6)],_0x32cb68),this[_0xd5053e(0x1a0)](),this[_0xd5053e(0x197)]=!0x0;}catch(_0x4dc706){if(function(_0x5cc49b){const _0x2b21ca=_0xd5053e;return _0x2b21ca(0x1bc)===_0x5cc49b[_0x2b21ca(0x245)];}(_0x4dc706)&&this[_0xd5053e(0x220)])await this[_0xd5053e(0x1c5)]();else{if(function(_0x574d15){const _0x33fe25=_0xd5053e;return _0x33fe25(0x238)===_0x574d15[_0x33fe25(0x245)];}(_0x4dc706)){const _0x3feab8=_0x1e43c8(this[_0xd5053e(0x198)][_0xd5053e(0x179)],_0xd5053e(0x253));this[_0xd5053e(0x227)](_0x3feab8);}else{if(!(_0x4dc706 instanceof V))throw _0x4dc706;this[_0xd5053e(0x227)]();}}}}[_0x4106fb(0x201)](){const _0x499e87=_0x4106fb,_0x67d31f=this[_0x499e87(0x198)][_0x499e87(0x170)][_0x499e87(0x1c4)](_0x22a6c4),_0x239532=this[_0x499e87(0x198)][_0x499e87(0x170)][_0x499e87(0x1c4)](_0xad28a1);this[_0x499e87(0x198)][_0x499e87(0x16d)](_0x499e87(0x263)),_0x239532[_0x499e87(0x1fe)][_0x499e87(0x177)](this[_0x499e87(0x1d6)])&&_0x239532[_0x499e87(0x1ee)](this[_0x499e87(0x1d6)]),_0x67d31f[_0x499e87(0x1b6)](this),this[_0x499e87(0x1ce)](),super[_0x499e87(0x201)]();}async[_0x4106fb(0x214)](_0x4e285){const _0x2a082b=_0x4106fb;if(this[_0x2a082b(0x220)]!==_0x4e285[_0x2a082b(0x220)]&&this[_0x2a082b(0x186)]!==_0x4e285[_0x2a082b(0x226)])throw new V();return this[_0x2a082b(0x220)]=_0x4e285[_0x2a082b(0x220)],this[_0x2a082b(0x196)]([],{..._0x4e285,'wereChangesApplied':!0x1,'data':_0x4e285[_0x2a082b(0x1ad)]},_0x2a082b(0x265));}async[_0x4106fb(0x21b)](_0x175cc8,_0x2bfa69=!0x1){const _0x4222f2=_0x4106fb,{connection:_0x513ed5}=this[_0x4222f2(0x198)][_0x4222f2(0x170)][_0x4222f2(0x1c4)](_0x22a6c4);RealTimeCollaborationClient[_0x4222f2(0x1aa)][_0x4222f2(0x229)](_0x513ed5,this[_0x4222f2(0x1d6)])[_0x4222f2(0x22c)](_0x575734=>this[_0x4222f2(0x1f7)](_0x575734))[_0x4222f2(0x21f)](_0x20c653=>{const _0x4bcafa=_0x4222f2;this[_0x4bcafa(0x19b)](_0x4bcafa(0x1b3),_0x20c653);}),this[_0x4222f2(0x203)](this[_0x4222f2(0x175)],_0x4222f2(0x1d0),this[_0x4222f2(0x1b2)][_0x4222f2(0x1ae)](this)),this[_0x4222f2(0x203)](this[_0x4222f2(0x175)],_0x4222f2(0x191),(_0x3ee0f0,_0x25fd39)=>{const _0x45411a=_0x4222f2;this[_0x45411a(0x19b)](_0x45411a(0x1eb),_0x25fd39);}),this[_0x4222f2(0x203)](this[_0x4222f2(0x175)],_0x4222f2(0x208),()=>{const _0x432bc5=_0x4222f2;this[_0x432bc5(0x197)]=!0x1;});const _0x40ac00=this[_0x4222f2(0x1fd)][_0x4222f2(0x202)](_0x175cc8);this[_0x4222f2(0x16e)]=!0x0;const _0x506fcf=await this[_0x4222f2(0x175)][_0x4222f2(0x171)](_0x513ed5,this[_0x4222f2(0x24a)](_0x175cc8),_0x40ac00);if(this[_0x4222f2(0x220)]=_0x506fcf[_0x4222f2(0x220)],_0x2bfa69){if(!_0x506fcf[_0x4222f2(0x269)])return void this[_0x4222f2(0x227)]();this[_0x4222f2(0x16e)]=!0x1,this[_0x4222f2(0x169)](),this[_0x4222f2(0x19d)][_0x4222f2(0x1cb)](),this[_0x4222f2(0x1fa)]=_0x506fcf[_0x4222f2(0x1d5)],this[_0x4222f2(0x19d)][_0x4222f2(0x1e4)]=this[_0x4222f2(0x1fa)],await this[_0x4222f2(0x196)](_0x175cc8,_0x506fcf,_0x4222f2(0x1c9));}else await this[_0x4222f2(0x1c0)](_0x506fcf,_0x175cc8);this[_0x4222f2(0x1a0)](),this[_0x4222f2(0x197)]=!0x0;}[_0x4106fb(0x1a0)](){const _0x110650=_0x4106fb,_0x331ca2=this[_0x110650(0x198)][_0x110650(0x170)][_0x110650(0x1c4)](_0xad28a1),_0x843cbe=this[_0x110650(0x198)][_0x110650(0x170)][_0x110650(0x1c4)](_0x14d685),_0x22a597=_0x331ca2[_0x110650(0x1fe)][_0x110650(0x1c4)](this[_0x110650(0x1d6)]);_0x22a597&&_0x22a597[_0x110650(0x1d7)]>0x1?_0x843cbe[_0x110650(0x224)]():this[_0x110650(0x203)](_0x331ca2,_0x110650(0x180)+this[_0x110650(0x1d6)],()=>{const _0x3d697b=_0x110650;0x2===_0x331ca2[_0x3d697b(0x1fe)][_0x3d697b(0x1c4)](this[_0x3d697b(0x1d6)])[_0x3d697b(0x1d7)]&&_0x843cbe[_0x3d697b(0x224)]();});}async[_0x4106fb(0x1b2)](_0x2c4bcc,_0x474c7d,_0x39a768,_0x212b1d){const _0x5c4234=_0x4106fb;if(!this[_0x5c4234(0x16e)]&&this[_0x5c4234(0x1f6)][_0x5c4234(0x1e4)]==_0x474c7d){const _0x5c99db=this[_0x5c4234(0x1b4)](_0x39a768,_0x212b1d);await this[_0x5c4234(0x1d3)](_0x5c99db),this[_0x5c4234(0x255)](_0x5c99db,_0x474c7d,_0x39a768[_0x5c4234(0x226)])||this[_0x5c4234(0x19b)](_0x5c4234(0x1a6));}}async[_0x4106fb(0x1c5)](){const _0x29cc83=_0x4106fb;this[_0x29cc83(0x1ce)]();const {locale:_0x2edabf}=this[_0x29cc83(0x198)];let _0x12144f;try{_0x12144f=await this[_0x29cc83(0x175)][_0x29cc83(0x17c)]();}catch{const _0x9ea04d=_0x1e43c8(_0x2edabf,_0x29cc83(0x1bf));return void this[_0x29cc83(0x227)](_0x9ea04d);}const _0x29ef4b=_0x12144f[_0x29cc83(0x185)]||_0x12144f[_0x29cc83(0x1bd)];if(this[_0x29cc83(0x186)]!==_0x29ef4b[_0x29cc83(0x226)]){const _0x4f415d=_0x1e43c8(_0x2edabf,_0x29cc83(0x1e0));return void this[_0x29cc83(0x227)](_0x4f415d);}await this[_0x29cc83(0x21b)](this[_0x29cc83(0x198)][_0x29cc83(0x1a9)][_0x29cc83(0x247)][_0x29cc83(0x1b9)][_0x29cc83(0x1d4)](),!0x0);}[_0x4106fb(0x1ce)](){const _0x185a2f=_0x4106fb;this[_0x185a2f(0x175)][_0x185a2f(0x267)](),this[_0x185a2f(0x17f)]=[],clearTimeout(this[_0x185a2f(0x1db)]),this[_0x185a2f(0x188)](this[_0x185a2f(0x175)]);}[_0x4106fb(0x1f7)](_0x58e405){const _0x7dcc06=_0x4106fb,_0x829b9d=this[_0x7dcc06(0x198)][_0x7dcc06(0x170)][_0x7dcc06(0x1c4)](_0xad28a1);this[_0x7dcc06(0x203)](_0x829b9d,_0x7dcc06(0x180)+this[_0x7dcc06(0x1d6)],(_0x29661d,{session:_0x701e87})=>{const _0x1531f4=_0x7dcc06;if(_0x701e87['id']===_0x829b9d[_0x1531f4(0x176)]){_0x29661d[_0x1531f4(0x211)]();const _0x1aa8fd=this[_0x1531f4(0x198)][_0x1531f4(0x170)][_0x1531f4(0x177)](_0x1531f4(0x25c))&&this[_0x1531f4(0x198)][_0x1531f4(0x170)][_0x1531f4(0x1c4)](_0x1531f4(0x25c));let _0x180705=_0x701e87[_0x1531f4(0x1b5)];_0x1aa8fd&&_0x1aa8fd[_0x1531f4(0x25f)]&&(_0x180705=_0x180705[_0x1531f4(0x21a)](_0x3667a4=>_0x1531f4(0x1d2)!==_0x3667a4)),this[_0x1531f4(0x198)][_0x1531f4(0x170)][_0x1531f4(0x1c4)](_0x1531f4(0x1dc))[_0x1531f4(0x262)](_0x180705,this[_0x1531f4(0x1d6)]);}}),_0x829b9d[_0x7dcc06(0x1b8)](this[_0x7dcc06(0x1d6)],_0x58e405);}[_0x4106fb(0x1a3)](){const _0x2a119e=_0x4106fb,_0x2d344d=this[_0x2a119e(0x198)][_0x2a119e(0x1ad)][_0x2a119e(0x1cd)];this[_0x2a119e(0x198)][_0x2a119e(0x1ad)][_0x2a119e(0x1cd)]=(..._0xa71fca)=>{const _0x5ca0d7=_0x2a119e;if(!_0xa71fca[_0xa71fca[_0x5ca0d7(0x1d7)]-0x1][_0x5ca0d7(0x207)])throw new _0x513711(_0x5ca0d7(0x24b),this);_0x2d344d[_0x5ca0d7(0x215)](this[_0x5ca0d7(0x198)][_0x5ca0d7(0x1ad)],_0xa71fca);};}[_0x4106fb(0x1fb)](){const _0x58bc90=_0x4106fb;this[_0x58bc90(0x198)][_0x58bc90(0x1ad)]['on'](_0x58bc90(0x22d),(_0x3392d4,[_0x203674])=>{const _0x2075ff=_0x58bc90;if(this[_0x2075ff(0x1f6)][_0x2075ff(0x1e4)])throw new _0x513711(_0x2075ff(0x1f3),this);_0x3392d4[_0x2075ff(0x172)](),this[_0x2075ff(0x174)]();const _0x111535=this[_0x2075ff(0x198)][_0x2075ff(0x20f)][_0x2075ff(0x1c4)](_0x2075ff(0x1b7)),_0x4bfa6c=this[_0x2075ff(0x252)](_0x203674,_0x111535);0x0==_0x4bfa6c[_0x2075ff(0x1d7)]&&_0x4bfa6c[_0x2075ff(0x168)](new _0x25b940(0x0)),_0x3392d4[_0x2075ff(0x17d)]=this[_0x2075ff(0x21b)](_0x4bfa6c)[_0x2075ff(0x22c)](()=>{const _0x22ddab=_0x2075ff;this[_0x22ddab(0x198)][_0x22ddab(0x170)][_0x22ddab(0x1c4)](_0x22a6c4)[_0x22ddab(0x26e)](this),this[_0x22ddab(0x198)][_0x22ddab(0x1ad)][_0x22ddab(0x210)](_0x22ddab(0x22f));})[_0x2075ff(0x21f)](_0x5978c9=>this[_0x2075ff(0x19b)](_0x2075ff(0x18d),_0x5978c9))[_0x2075ff(0x1cf)](()=>this[_0x2075ff(0x169)]());},{'priority':_0x58bc90(0x216)}),this[_0x58bc90(0x198)]['on'](_0x58bc90(0x206),async(_0x288adc,[_0x451d97,_0x279a37])=>{const _0x327af1=_0x58bc90;_0x288adc[_0x327af1(0x172)]();const _0x42082a=this[_0x327af1(0x198)][_0x327af1(0x1a9)][_0x327af1(0x247)][_0x327af1(0x20a)](_0x451d97);if(!this[_0x327af1(0x1f2)][_0x327af1(0x177)](_0x451d97)){const _0x1b3d12=_0x279a37&&_0x279a37[_0x327af1(0x1ad)]?_0x279a37[_0x327af1(0x1ad)]:'',_0x471bef=_0x279a37&&_0x279a37[_0x327af1(0x22b)]?_0x279a37[_0x327af1(0x22b)]:{};await this[_0x327af1(0x1f5)](_0x451d97,_0x1b3d12,_0x471bef);}this[_0x327af1(0x198)][_0x327af1(0x1a9)][_0x327af1(0x1ef)]({'isUndoable':!0x1},()=>{const _0x515fd8=_0x327af1;_0x42082a[_0x515fd8(0x18a)]=!0x0,this[_0x515fd8(0x198)][_0x515fd8(0x1a9)][_0x515fd8(0x247)][_0x515fd8(0x1da)][_0x515fd8(0x23d)](_0x42082a);});},{'priority':_0x58bc90(0x216)});}async[_0x4106fb(0x1d3)](_0x5882e9){const _0x3190cd=_0x4106fb,_0x25003b=this[_0x3190cd(0x198)][_0x3190cd(0x170)][_0x3190cd(0x1c4)](_0x417b0d),{connection:_0x15da1d}=this[_0x3190cd(0x198)][_0x3190cd(0x170)][_0x3190cd(0x1c4)](_0x22a6c4),_0x1e6d3b=new Set();for(const _0xf9e80 of _0x5882e9){const _0x1797f2=_0xf9e80[_0x3190cd(0x241)];_0x1797f2&&!_0x25003b[_0x3190cd(0x1dd)](_0x1797f2)&&_0x1e6d3b[_0x3190cd(0x264)](_0x1797f2);}if(0x0===_0x1e6d3b[_0x3190cd(0x232)])return;const _0x55ae05=await _0x561321[_0x3190cd(0x1bb)](_0x15da1d,Array[_0x3190cd(0x21e)](_0x1e6d3b));for(const _0xd3cbf0 of _0x55ae05)_0x25003b[_0x3190cd(0x1dd)](_0xd3cbf0['id'])||_0x25003b[_0x3190cd(0x25b)](_0xd3cbf0);}[_0x4106fb(0x252)](_0x2b7adb,_0x5ef734={}){const _0x24d163=_0x4106fb,_0x5a0e34=this[_0x24d163(0x198)][_0x24d163(0x1a9)],_0x1db243=[];let _0x4ffe21=0x0;const _0x4083f4=_0x24d163(0x182)==typeof _0x2b7adb?{'main':_0x2b7adb}:_0x2b7adb;for(const _0x4ae121 of Object[_0x24d163(0x1b1)](_0x4083f4)){if(!this[_0x24d163(0x1f6)][_0x24d163(0x18f)][_0x24d163(0x177)](_0x4ae121))throw new _0x513711(_0x24d163(0x1e8),this);const _0x1929a7=this[_0x24d163(0x198)][_0x24d163(0x1ad)][_0x24d163(0x1ab)](_0x4083f4[_0x4ae121]),_0x221dba=this[_0x24d163(0x1f6)][_0x24d163(0x20a)](_0x4ae121),_0xb95223=new _0x4d5b00(_0x5a0e34[_0x24d163(0x1df)](_0x221dba,0x0),_0x1929a7,_0x4ffe21++);_0x1db243[_0x24d163(0x168)](_0xb95223);for(const [_0x5c724d,_0x6acd68]of _0x1929a7[_0x24d163(0x230)]){const _0x284b7f=_0x5a0e34[_0x24d163(0x1ed)](_0x5a0e34[_0x24d163(0x20b)](_0x221dba,_0x6acd68[_0x24d163(0x19f)][_0x24d163(0x1e5)][_0x24d163(0x17b)]()),_0x5a0e34[_0x24d163(0x20b)](_0x221dba,_0x6acd68[_0x24d163(0x1fc)][_0x24d163(0x1e5)][_0x24d163(0x17b)]())),_0x1f5e61=new _0x32299d(_0x5c724d,null,_0x284b7f,_0x5a0e34[_0x24d163(0x230)],!0x0,_0x4ffe21++);_0x1db243[_0x24d163(0x168)](_0x1f5e61);}}if(_0x5ef734)for(const [_0x137623,_0x45c2a2]of Object[_0x24d163(0x17e)](_0x5ef734)){const _0x507e2c=_0x5a0e34[_0x24d163(0x247)][_0x24d163(0x20a)](_0x137623);if(!_0x507e2c)throw new _0x513711(_0x24d163(0x23a),null);for(const [_0x8a6b2b,_0x180a29]of Object[_0x24d163(0x17e)](_0x45c2a2))if(null!==_0x180a29){const _0x262a86=new _0x858a6a(_0x507e2c,_0x8a6b2b,null,_0x180a29,_0x4ffe21++);_0x1db243[_0x24d163(0x168)](_0x262a86);}}return _0x1db243;}async[_0x4106fb(0x1f5)](_0x4a7f64,_0x2f8a17,_0x337fe8){const _0x56e8d2=_0x4106fb;this[_0x56e8d2(0x252)]({[_0x4a7f64]:_0x2f8a17},{[_0x4a7f64]:_0x337fe8})[_0x56e8d2(0x1de)]((_0x51b9b1,_0x4e0a06)=>{const _0x20a48d=_0x56e8d2;_0x51b9b1[_0x20a48d(0x246)]=this[_0x20a48d(0x1f6)][_0x20a48d(0x1e4)]+_0x4e0a06,_0x51b9b1[_0x20a48d(0x1c7)]=!0x0,this[_0x20a48d(0x205)](_0x51b9b1);}),this[_0x56e8d2(0x258)](),await this[_0x56e8d2(0x1e7)]();}async[_0x4106fb(0x1c0)](_0x4bc427,_0x4be5fb){const _0x37e3bc=_0x4106fb;let _0x4ef399;this[_0x37e3bc(0x1fa)]=_0x4bc427[_0x37e3bc(0x1d5)];const _0x1fb553=_0x4bc427[_0x37e3bc(0x269)]&&!_0x4bc427[_0x37e3bc(0x22a)],_0x39796f=_0x1fb553?0x0:_0x4bc427[_0x37e3bc(0x1ad)][_0x37e3bc(0x246)];if(_0x4be5fb[_0x37e3bc(0x1de)](_0x8c78cc=>{const _0x3e334b=_0x37e3bc;_0x8c78cc[_0x3e334b(0x1c7)]=!0x0,_0x8c78cc[_0x3e334b(0x242)]=_0x4bc427[_0x3e334b(0x18b)],_0x8c78cc[_0x3e334b(0x241)]=null;}),_0x1fb553)_0x4ef399=_0x4be5fb,this[_0x37e3bc(0x243)](_0x4ef399,_0x1fb553);else{if(_0x4bc427[_0x37e3bc(0x22a)]){const _0x388025=this[_0x37e3bc(0x252)](_0x4bc427[_0x37e3bc(0x22a)]);this[_0x37e3bc(0x1f6)][_0x37e3bc(0x1b9)][_0x37e3bc(0x1e4)]=-_0x388025[_0x37e3bc(0x1d7)],_0x388025[_0x37e3bc(0x1de)](_0x296ec4=>{const _0x2c0cad=_0x37e3bc;_0x296ec4[_0x2c0cad(0x246)]-=_0x388025[_0x2c0cad(0x1d7)],_0x296ec4[_0x2c0cad(0x242)]=_0x4bc427[_0x2c0cad(0x18b)],_0x296ec4[_0x2c0cad(0x1c7)]=!0x0,_0x296ec4[_0x2c0cad(0x241)]=null;}),this[_0x37e3bc(0x243)](_0x388025,!0x0),this[_0x37e3bc(0x19d)][_0x37e3bc(0x1e4)]=-_0x388025[_0x37e3bc(0x1d7)]+this[_0x37e3bc(0x1fa)],this[_0x37e3bc(0x239)](_0x388025);}this[_0x37e3bc(0x1f6)][_0x37e3bc(0x1b9)][_0x37e3bc(0x1e4)]=_0x39796f,_0x4ef399=this[_0x37e3bc(0x1b4)](_0x4bc427[_0x37e3bc(0x1ad)],_0x4bc427[_0x37e3bc(0x249)]),await this[_0x37e3bc(0x1d3)](_0x4ef399),this[_0x37e3bc(0x243)](_0x4ef399,_0x1fb553);}_0x4bc427[_0x37e3bc(0x226)]&&(this[_0x37e3bc(0x1fd)][_0x37e3bc(0x16b)](_0x4ef399,_0x4bc427[_0x37e3bc(0x226)]),this[_0x37e3bc(0x186)]=_0x4bc427[_0x37e3bc(0x226)]),this[_0x37e3bc(0x19d)][_0x37e3bc(0x1e4)]=_0x39796f+this[_0x37e3bc(0x1fa)],this[_0x37e3bc(0x239)](_0x4ef399),_0x4be5fb[_0x37e3bc(0x21a)](_0x1c90f0=>{const _0x386356=_0x37e3bc,_0x2b0728=this[_0x386356(0x1e1)](_0x1c90f0);return _0x2b0728&&!this[_0x386356(0x1f2)][_0x386356(0x177)](_0x2b0728);})[_0x37e3bc(0x1de)]((_0x547f8d,_0x33e727)=>{const _0x1f45e8=_0x37e3bc;_0x547f8d[_0x1f45e8(0x246)]=this[_0x1f45e8(0x1f6)][_0x1f45e8(0x1e4)]+_0x33e727,this[_0x1f45e8(0x205)](_0x547f8d);}),this[_0x37e3bc(0x250)]()?(this[_0x37e3bc(0x257)]=0x0,this[_0x37e3bc(0x258)](!0x0),await this[_0x37e3bc(0x1e7)]()):(this[_0x37e3bc(0x16e)]=!0x1,this[_0x37e3bc(0x169)]());}[_0x4106fb(0x19b)](_0x1732a4,_0x25d775){const _0x3a67ee=_0x4106fb,_0x3a0c06=_0x25d775&&_0x25d775[_0x3a67ee(0x24e)];if(_0x3a0c06&&_0x3a0c06[_0x3a67ee(0x1ec)](_0x3a67ee(0x25d)))throw _0x25d775;const _0x372a4b=this[_0x3a67ee(0x198)][_0x3a67ee(0x170)][_0x3a67ee(0x1c4)](_0x22a6c4);throw this[_0x3a67ee(0x16e)]=!0x0,_0x372a4b[_0x3a67ee(0x267)](),this[_0x3a67ee(0x198)][_0x3a67ee(0x16d)](_0x3a67ee(0x21d)),new _0x513711(_0x1732a4,this[_0x3a67ee(0x198)],_0x3a0c06?{'originalError':_0x3a0c06}:void 0x0);}[_0x4106fb(0x205)](_0x414bd5){const _0x5241fc=_0x4106fb;this[_0x5241fc(0x23b)][_0x5241fc(0x177)](_0x414bd5)||(this[_0x5241fc(0x23b)][_0x5241fc(0x264)](_0x414bd5),this[_0x5241fc(0x17f)][_0x5241fc(0x168)](_0x414bd5),this[_0x5241fc(0x1cc)]||_0x5241fc(0x1ea)==_0x414bd5[_0x5241fc(0x1f9)]&&!_0x414bd5[_0x5241fc(0x1d1)]||this[_0x5241fc(0x174)]());}[_0x4106fb(0x258)](_0x5beecd=!0x1){const _0x158b8e=_0x4106fb;!_0x5beecd&&this[_0x158b8e(0x16e)]||(this[_0x158b8e(0x16e)]=!0x0,clearTimeout(this[_0x158b8e(0x1db)]),this[_0x158b8e(0x1db)]=setTimeout(()=>{const _0x193591=_0x158b8e;this[_0x193591(0x1e6)]()[_0x193591(0x22c)](_0x22ec17=>{const _0x5887ec=_0x193591;_0x22ec17&&(this[_0x5887ec(0x169)](),this[_0x5887ec(0x16e)]=!0x1);})[_0x193591(0x21f)](_0x10ec1c=>{const _0x15a440=_0x193591;this[_0x15a440(0x169)](),this[_0x15a440(0x16e)]=!0x1,function(_0xc92201){const _0x117d9a=_0x15a440;return _0xc92201[_0x117d9a(0x24e)][_0x117d9a(0x1ec)](_0x117d9a(0x199))||_0xc92201[_0x117d9a(0x24e)][_0x117d9a(0x1ec)](_0x117d9a(0x187))||_0xc92201[_0x117d9a(0x24e)][_0x117d9a(0x1ec)](_0x117d9a(0x23e));}(_0x10ec1c)||this[_0x15a440(0x19b)](_0x10ec1c[_0x15a440(0x24e)],_0x10ec1c);});},this[_0x158b8e(0x257)]));}[_0x4106fb(0x1e7)](){return new Promise(_0x219816=>{const _0x1d47e8=_0x3c9d;this['on'](_0x1d47e8(0x235),()=>{_0x219816();});});}async[_0x4106fb(0x1e6)](){const _0x598350=_0x4106fb,_0x2128c9=this[_0x598350(0x198)][_0x598350(0x170)][_0x598350(0x1c4)](_0x14d685);if(this[_0x598350(0x26f)]()&&(_0x2128c9[_0x598350(0x224)](),this[_0x598350(0x192)]=!0x1),!this[_0x598350(0x250)]())return!0x0;const _0x31551e=[...this[_0x598350(0x17f)]];for(const _0x8328c0 of _0x31551e)_0x8328c0[_0x598350(0x1c2)]=this[_0x598350(0x1f6)][_0x598350(0x1b9)][_0x598350(0x26d)](_0x8328c0);const _0x39e2d2=this[_0x598350(0x1fd)][_0x598350(0x202)](_0x31551e),_0x478fd3=H++,_0x4fa804=this[_0x598350(0x24a)](_0x31551e),_0x11be0b=await this[_0x598350(0x175)][_0x598350(0x18e)](_0x4fa804,_0x4fa804[_0x598350(0x246)],_0x39e2d2);try{return await this[_0x598350(0x196)](_0x31551e,_0x11be0b,_0x478fd3);}catch(_0x3da1f2){return this[_0x598350(0x19b)](_0x598350(0x26b),_0x3da1f2);}}async[_0x4106fb(0x196)](_0x49020e,_0x59f576,_0x3558a3){const _0x54ec36=_0x4106fb;if(_0x54ec36(0x191)in _0x59f576)throw _0x59f576[_0x54ec36(0x191)];let _0x2e0b1f=!0x1;if(_0x59f576[_0x54ec36(0x269)]){_0x59f576[_0x54ec36(0x226)]&&(this[_0x54ec36(0x186)]=_0x59f576[_0x54ec36(0x226)]),this[_0x54ec36(0x17f)]=this[_0x54ec36(0x17f)][_0x54ec36(0x21a)](_0x2ec0a=>!_0x49020e[_0x54ec36(0x17a)](_0x2ec0a));for(const _0x11250c of _0x49020e)_0x11250c[_0x54ec36(0x242)]=_0x54ec36(0x19c)in _0x59f576&&_0x59f576[_0x54ec36(0x19c)]||void 0x0;W(_0x49020e,_0x59f576[_0x54ec36(0x1e4)]-_0x49020e[_0x54ec36(0x1d7)]),this[_0x54ec36(0x239)](_0x49020e);const _0x386d46=_0x49020e[_0x54ec36(0x21a)](_0x946a10=>{const _0x5ec7c6=_0x54ec36;if(!_0x946a10[_0x5ec7c6(0x1c7)])return!0x1;const _0x516ee5=this[_0x5ec7c6(0x1e1)](_0x946a10);return _0x516ee5&&!this[_0x5ec7c6(0x1f2)][_0x5ec7c6(0x177)](_0x516ee5);});W(_0x386d46,this[_0x54ec36(0x1f6)][_0x54ec36(0x1e4)]),this[_0x54ec36(0x243)](_0x386d46),_0x2e0b1f=!0x0,this[_0x54ec36(0x257)]=this[_0x54ec36(0x219)];}else{const _0x5f006c=this[_0x54ec36(0x1b4)](_0x59f576[_0x54ec36(0x1ad)],_0x59f576[_0x54ec36(0x249)])[_0x54ec36(0x21a)](_0x3b9381=>_0x3b9381[_0x54ec36(0x246)]>=this[_0x54ec36(0x1e3)]);_0x5f006c[_0x54ec36(0x1de)](_0x4d3624=>this[_0x54ec36(0x190)](_0x4d3624)),this[_0x54ec36(0x17f)]=this[_0x54ec36(0x17f)][_0x54ec36(0x21a)](_0x1a3c3d=>!_0x1a3c3d[_0x54ec36(0x1c7)]||!this[_0x54ec36(0x1f2)][_0x54ec36(0x177)](this[_0x54ec36(0x1e1)](_0x1a3c3d))),this[_0x54ec36(0x17f)][_0x54ec36(0x1d7)]&&W(this[_0x54ec36(0x17f)],this[_0x54ec36(0x17f)][0x0][_0x54ec36(0x246)]),await this[_0x54ec36(0x1d3)](_0x5f006c),_0x2e0b1f=this[_0x54ec36(0x255)](_0x5f006c,_0x59f576[_0x54ec36(0x1e4)],_0x59f576[_0x54ec36(0x226)]),this[_0x54ec36(0x257)]=Math[_0x54ec36(0x248)](this[_0x54ec36(0x257)]/0x2);}return _0x2e0b1f?!this[_0x54ec36(0x250)]()||(this[_0x54ec36(0x258)](!0x0),!0x1):this[_0x54ec36(0x19b)](_0x54ec36(0x231));}[_0x4106fb(0x255)](_0x2b1fc0,_0x3d6fe0,_0x4ecf9c){const _0x45f12c=_0x4106fb;try{const _0x37402c={'document':this[_0x45f12c(0x1f6)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x401373,operationsB:_0x24c202,originalOperations:_0x3882b0}=_0x354d6c(_0x2b1fc0,this[_0x45f12c(0x17f)],_0x37402c);W(_0x401373,this[_0x45f12c(0x1f6)][_0x45f12c(0x1e4)]),W(_0x24c202,_0x3d6fe0);for(const _0x167e43 of _0x401373){const _0x59f822=_0x3882b0[_0x45f12c(0x1c4)](_0x167e43);_0x167e43[_0x45f12c(0x241)]=_0x59f822?_0x59f822[_0x45f12c(0x241)]:null;}_0x4ecf9c&&(this[_0x45f12c(0x1fd)][_0x45f12c(0x16b)](_0x2b1fc0,_0x4ecf9c),this[_0x45f12c(0x186)]=_0x4ecf9c),this[_0x45f12c(0x17f)]=[..._0x24c202],this[_0x45f12c(0x243)](_0x401373),this[_0x45f12c(0x239)](_0x2b1fc0);}catch(_0x165ebd){return console[_0x45f12c(0x191)](_0x165ebd),!0x1;}return!0x0;}[_0x4106fb(0x243)](_0x2ec650,_0x1122b6=!0x1){const _0x40378f=_0x4106fb;this[_0x40378f(0x198)][_0x40378f(0x1a9)][_0x40378f(0x1ef)]({'isUndoable':!0x1,'isLocal':!0x1},_0x224d5d=>{const _0x5dc9fa=_0x40378f;for(const _0x341b05 of _0x2ec650)this[_0x5dc9fa(0x23b)][_0x5dc9fa(0x264)](_0x341b05),this[_0x5dc9fa(0x190)](_0x341b05),_0x224d5d[_0x5dc9fa(0x1a7)][_0x5dc9fa(0x234)](_0x341b05),this[_0x5dc9fa(0x198)][_0x5dc9fa(0x1a9)][_0x5dc9fa(0x261)](_0x341b05);});}[_0x4106fb(0x190)](_0x1758aa){const _0x2825b1=_0x4106fb,_0x2234d6=this[_0x2825b1(0x1e1)](_0x1758aa);_0x2234d6&&this[_0x2825b1(0x1f2)][_0x2825b1(0x264)](_0x2234d6);}[_0x4106fb(0x1e1)](_0xb8d301){const _0xd2eb28=_0x4106fb;let _0xb93039,_0x408940;switch(_0xb8d301[_0xd2eb28(0x1f9)]){case _0xd2eb28(0x23c):_0xb93039=_0xb8d301[_0xd2eb28(0x181)][_0xd2eb28(0x20d)];break;case _0xd2eb28(0x1ea):if(_0x408940=_0xb8d301[_0xd2eb28(0x1a2)],!_0x408940)return null;_0xb93039=_0x408940[_0xd2eb28(0x20d)];break;case _0xd2eb28(0x1f1):_0xb93039=_0xb8d301[_0xd2eb28(0x20d)];break;case _0xd2eb28(0x1f8):_0xb93039=_0xb8d301[_0xd2eb28(0x1e9)];break;case _0xd2eb28(0x244):_0xb93039=_0xb8d301[_0xd2eb28(0x23f)][_0xd2eb28(0x20d)];break;default:return null;}return _0xb93039[_0xd2eb28(0x1be)];}[_0x4106fb(0x239)](_0x5b9723){const _0xad01e4=_0x4106fb;_0x5b9723[_0xad01e4(0x1de)](_0x5f5b04=>{const _0x295d09=_0xad01e4,_0x5a5800=_0x5f5b04[_0x295d09(0x225)]();_0x5a5800[_0x295d09(0x241)]=_0x5f5b04[_0x295d09(0x241)],_0x5a5800[_0x295d09(0x1c7)]=!!_0x5f5b04[_0x295d09(0x1c7)],_0x5a5800[_0x295d09(0x242)]=_0x5f5b04[_0x295d09(0x242)],_0x5a5800[_0x295d09(0x246)]+=this[_0x295d09(0x1fa)],_0x5f5b04[_0x295d09(0x1ff)]&&this[_0x295d09(0x173)][_0x295d09(0x264)](_0x5a5800),this[_0x295d09(0x19d)][_0x295d09(0x234)](_0x5a5800);});}[_0x4106fb(0x227)](_0xe59f99){const _0x40e36c=_0x4106fb,_0x4de2c9=this[_0x40e36c(0x198)][_0x40e36c(0x170)][_0x40e36c(0x1c4)](_0x40e36c(0x26c)),_0xae8c5c=this[_0x40e36c(0x198)][_0x40e36c(0x179)];_0xe59f99||(_0xe59f99=_0x1e43c8(_0xae8c5c,_0x40e36c(0x16f))),_0x4de2c9[_0x40e36c(0x24f)](_0xe59f99,{'title':_0x1e43c8(_0xae8c5c,_0x40e36c(0x237)),'namespace':_0x40e36c(0x19e)}),this[_0x40e36c(0x213)]=!0x0,clearTimeout(this[_0x40e36c(0x1db)]),this[_0x40e36c(0x17f)]=[],this[_0x40e36c(0x198)][_0x40e36c(0x170)][_0x40e36c(0x1c4)](_0x22a6c4)[_0x40e36c(0x267)]();}[_0x4106fb(0x174)](){const _0x59a00c=_0x4106fb;this[_0x59a00c(0x1cc)]||(this[_0x59a00c(0x1cc)]=this[_0x59a00c(0x198)][_0x59a00c(0x170)][_0x59a00c(0x1c4)](_0x9e5b59)[_0x59a00c(0x264)](_0x1e43c8(this[_0x59a00c(0x198)][_0x59a00c(0x179)],_0x59a00c(0x189))));}[_0x4106fb(0x169)](){const _0x37fecc=_0x4106fb;this[_0x37fecc(0x1cc)]&&(this[_0x37fecc(0x198)][_0x37fecc(0x170)][_0x37fecc(0x1c4)](_0x9e5b59)[_0x37fecc(0x1d9)](this[_0x37fecc(0x1cc)]),this[_0x37fecc(0x1cc)]=null);}[_0x4106fb(0x24a)](_0x16ff75){const _0x2870c3=_0x4106fb,_0x51dbfe=_0x16ff75[_0x2870c3(0x1f0)](_0x543e7d=>_0x543e7d[_0x2870c3(0x1ca)]());return this[_0x2870c3(0x193)][_0x2870c3(0x20e)](_0x51dbfe);}[_0x4106fb(0x1b4)](_0x2ae8d8,_0x570bbb){const _0x601a17=_0x4106fb;return this[_0x601a17(0x193)][_0x601a17(0x1b0)](_0x2ae8d8)[_0x601a17(0x1f0)]((_0x55a09b,_0x1220d8)=>{const _0x26de58=_0x601a17,_0x5ac00c=_0x26de58(0x22d)==_0x570bbb[_0x1220d8][_0x26de58(0x1f9)];if(_0x26de58(0x240)==_0x55a09b[_0x26de58(0x223)]){const _0x382ff7=_0x55a09b[_0x26de58(0x181)][_0x26de58(0x20d)];!this[_0x26de58(0x1f6)][_0x26de58(0x20a)](_0x382ff7)&&(this[_0x26de58(0x1f6)][_0x26de58(0x184)](_0x26de58(0x1a1),_0x382ff7)[_0x26de58(0x254)]=!0x1);}const _0x1c479a=_0x347884[_0x26de58(0x270)](_0x55a09b,this[_0x26de58(0x1f6)]);return _0x1c479a[_0x26de58(0x1c2)]=_0x55a09b[_0x26de58(0x1c2)],_0x1c479a[_0x26de58(0x1c7)]=_0x5ac00c,_0x1c479a[_0x26de58(0x241)]=_0x5ac00c?null:_0x570bbb[_0x1220d8][_0x26de58(0x16a)],_0x1c479a[_0x26de58(0x1ff)]=_0x26de58(0x1c3)===_0x570bbb[_0x1220d8][_0x26de58(0x1f9)],_0x1c479a[_0x26de58(0x242)]=_0x570bbb[_0x1220d8][_0x26de58(0x242)],_0x1c479a;});}[_0x4106fb(0x18c)](){const _0xa1b8e1=_0x4106fb;this[_0xa1b8e1(0x192)]=!0x0,this[_0xa1b8e1(0x26f)]()?this[_0xa1b8e1(0x258)]():this[_0xa1b8e1(0x192)]=!0x1;}[_0x4106fb(0x26f)](){const _0xab3de7=_0x4106fb,_0x5282ba=this[_0xab3de7(0x198)][_0xab3de7(0x170)][_0xab3de7(0x1c4)](_0xad28a1)[_0xab3de7(0x1fe)][_0xab3de7(0x1c4)](this[_0xab3de7(0x1d6)]);return!this[_0xab3de7(0x198)][_0xab3de7(0x1ba)]&&!!_0x5282ba&&_0x5282ba[_0xab3de7(0x1d7)]>0x1&&this[_0xab3de7(0x192)];}[_0x4106fb(0x250)](){const _0x37e281=_0x4106fb;return this[_0x37e281(0x17f)][_0x37e281(0x1d7)]>0x0||this[_0x37e281(0x26f)]();}}class V extends Error{}function _0x3c9d(_0x3c1399,_0x135019){const _0xc6cf3=_0xc6cf();return _0x3c9d=function(_0x3c9d3e,_0xefd3e6){_0x3c9d3e=_0x3c9d3e-0x168;let _0x496b79=_0xc6cf3[_0x3c9d3e];return _0x496b79;},_0x3c9d(_0x3c1399,_0x135019);}function W(_0x2bc02a,_0x56856c){const _0xe807d3=_0x4106fb;for(const _0x272717 of _0x2bc02a)_0x272717[_0xe807d3(0x246)]=_0x56856c++;}class F{[_0x4106fb(0x212)];[_0x4106fb(0x1a4)];constructor(_0x379ce5){const _0x212434=_0x4106fb;this[_0x212434(0x212)]=_0x379ce5,this[_0x212434(0x1a4)]=new WeakMap();}[_0x4106fb(0x202)](_0x38f45f){const _0x350624=_0x4106fb;let _0xf0e1da=_0x38f45f[_0x350624(0x1d7)];for(;_0xf0e1da--;){const _0x10a4a2=_0x38f45f[_0xf0e1da];if(!this[_0x350624(0x212)][_0x350624(0x177)](_0x10a4a2)){if(!this[_0x350624(0x1a4)][_0x350624(0x177)](_0x10a4a2)){const _0x3d65e4=_0x3d9f4b()[_0x350624(0x17b)](0x1,0x12);this[_0x350624(0x1a4)][_0x350624(0x1cd)](_0x10a4a2,_0x3d65e4);}return this[_0x350624(0x1a4)][_0x350624(0x1c4)](_0x10a4a2);}}}[_0x4106fb(0x16b)](_0x2ba536,_0x168bf1){const _0x4fed42=_0x4106fb;if(!_0x168bf1)return;let _0x9e107c=_0x2ba536[_0x4fed42(0x1d7)];for(;_0x9e107c--;){const _0x26f35c=_0x2ba536[_0x9e107c];this[_0x4fed42(0x212)][_0x4fed42(0x177)](_0x26f35c)||this[_0x4fed42(0x1a4)][_0x4fed42(0x1cd)](_0x26f35c,_0x168bf1);}}}